1
0
mirror of synced 2024-10-04 20:26:07 +00:00
CuttingBoard/docs/js/app.112e05e3.js

2 lines
23 KiB
JavaScript
Raw Normal View History

2020-12-28 21:05:27 +00:00
(function(t){function e(e){for(var n,i,s=e[0],c=e[1],l=e[2],u=0,h=[];u<s.length;u++)i=s[u],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&h.push(o[i][0]),o[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(t[n]=c[n]);d&&d(e);while(h.length)h.shift()();return a.push.apply(a,l||[]),r()}function r(){for(var t,e=0;e<a.length;e++){for(var r=a[e],n=!0,s=1;s<r.length;s++){var c=r[s];0!==o[c]&&(n=!1)}n&&(a.splice(e--,1),t=i(i.s=r[0]))}return t}var n={},o={app:0},a=[];function i(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=t,i.c=n,i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(r,n,function(e){return t[e]}.bind(null,n));return r},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],c=s.push.bind(s);s.push=e,s=s.slice();for(var l=0;l<s.length;l++)e(s[l]);var d=c;a.push([0,"chunk-vendors"]),r()})({0:function(t,e,r){t.exports=r("56d7")},"4c86":function(t,e,r){},"56d7":function(t,e,r){"use strict";r.r(e);r("e260"),r("e6cf"),r("cca6"),r("a79d");var n=r("7a23"),o={class:"app-settings"},a=Object(n["f"])("h1",null,"Settings",-1),i=Object(n["f"])("h1",null,"Layers",-1),s=Object(n["f"])("h1",null,"Wood types",-1),c=Object(n["f"])("h1",null,"Save / load",-1),l={class:"loadSave block"},d=Object(n["f"])("p",null," Below you can download the current settings or load them again from a file. You can also bookmark the current page or copy the URL from the address bar instead, as it is automatically updated whenever you change anything. ",-1),u={type:"file",ref:"loadFile",accept:".json"},h=Object(n["f"])("h1",null,"About / feedback",-1),f=Object(n["f"])("div",{class:"about block"},[Object(n["f"])("p",null,[Object(n["e"])(" Created by Mark van Renswoude. Open-source and available under the Unlicense to the public domain on "),Object(n["f"])("a",{href:"https://github.com/MvRens/CuttingBoard",target:"_blank"},"Github"),Object(n["e"])(", where feedback is welcome under Issues. ")]),Object(n["f"])("p",null,[Object(n["e"])(" Heavily inspired by "),Object(n["f"])("a",{href:"http://www.lastalias.com/cbdesigner/"},"CBdesigner"),Object(n["e"])(". ")])],-1),b={class:"app-preview"},g=Object(n["f"])("h1",null,"Edge grain",-1),p=Object(n["f"])("h1",null,"End grain",-1);function m(t,e,r,m,v,O){var j=Object(n["m"])("Settings"),y=Object(n["m"])("Layers"),w=Object(n["m"])("Wood"),x=Object(n["m"])("EdgeGrainPreview"),P=Object(n["m"])("EndGrainPreview");return Object(n["h"])(),Object(n["c"])(n["a"],null,[Object(n["f"])("div",o,[a,Object(n["f"])(j,{class:"block"}),i,Object(n["f"])(y,{class:"block"}),s,Object(n["f"])(w,{class:"block"}),c,Object(n["f"])("div",l,[d,Object(n["f"])("p",null,[Object(n["r"])(Object(n["f"])("input",{type:"text","onUpdate:modelValue":e[1]||(e[1]=function(t){return v.saveFilename=t})},null,512),[[n["p"],v.saveFilename]]),Object(n["f"])("button",{onClick:e[2]||(e[2]=function(t){return O.save()})},"Save")]),Object(n["f"])("p",null,[Object(n["f"])("input",u,null,512),Object(n["f"])("button",{onClick:e[3]||(e[3]=function(t){return O.load()})},"Load")])]),h,f]),Object(n["f"])("div",b,[g,Object(n["f"])(x,{scale:1}),p,Object(n["f"])(P,{scale:1})])],64)}r("b0c0"),r("8a79");var v=Object(n["t"])("data-v-7f9fc5e0");Object(n["j"])("data-v-7f9fc5e0");var O={class:"settings"},j=Object(n["f"])("h2",null,"Designer",-1),y=Object(n["f"])("label",{for:"units"},"Units",-1),w=Object(n["f"])("option",{value:"mm"},"Millimeters",-1),x=Object(n["f"
//# sourceMappingURL=app.112e05e3.js.map