diff --git a/docs/icomoon.60c9ccf9.ttf b/docs/icomoon.60c9ccf9.ttf
new file mode 100644
index 0000000..3eda4df
Binary files /dev/null and b/docs/icomoon.60c9ccf9.ttf differ
diff --git a/docs/icomoon.88256042.woff b/docs/icomoon.88256042.woff
new file mode 100644
index 0000000..94a10be
Binary files /dev/null and b/docs/icomoon.88256042.woff differ
diff --git a/docs/icomoon.b906ef10.svg b/docs/icomoon.b906ef10.svg
new file mode 100644
index 0000000..08cb9da
--- /dev/null
+++ b/docs/icomoon.b906ef10.svg
@@ -0,0 +1,17 @@
+
+
+
\ No newline at end of file
diff --git a/docs/icomoon.d54e3674.eot b/docs/icomoon.d54e3674.eot
new file mode 100644
index 0000000..3cdb50b
Binary files /dev/null and b/docs/icomoon.d54e3674.eot differ
diff --git a/docs/index.html b/docs/index.html
new file mode 100644
index 0000000..b4f0e00
--- /dev/null
+++ b/docs/index.html
@@ -0,0 +1 @@
+
Job Estimate
Item | Description | Unity price | Quantity | Amount |
\ No newline at end of file
diff --git a/docs/src.17348f4b.css b/docs/src.17348f4b.css
new file mode 100644
index 0000000..11bf3e8
--- /dev/null
+++ b/docs/src.17348f4b.css
@@ -0,0 +1,4 @@
+@charset "UTF-8";
+/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */@import url("https://fonts.googleapis.com/css?family=Roboto");html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}@font-face{font-family:icomoon;src:url(icomoon.d54e3674.eot?w17k9d);src:url(icomoon.d54e3674.eot?w17k9d#iefix) format("embedded-opentype"),url(icomoon.60c9ccf9.ttf?w17k9d) format("truetype"),url(icomoon.88256042.woff?w17k9d) format("woff"),url(icomoon.b906ef10.svg?w17k9d#icomoon) format("svg");font-weight:400;font-style:normal}[class*=" icon-"],[class^=icon-]{font-family:icomoon!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-printer:before{content:""}.icon-plus:before{content:""}.icon-minus:before{content:""}.icon-cross:before{content:""}.icon-checkmark:before{content:""}.icon-circle-up:before{content:""}.icon-circle-down:before{content:""}body{font-size:15px;font-size:1.0714285714rem}.clearfix:after{content:"";display:table;clear:both}h3{margin:0}input:not(.table-field),textarea:not(.table-field){display:block;width:auto;padding:.375rem .75rem;line-height:1.5;color:#495057;background:#fff;background-clip:padding-box;border:1px solid #ced4da;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:15px;font-size:1.0714285714rem;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px}input:not(.table-field):focus,textarea:not(.table-field):focus{color:#495057;background:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.remove-wrapper{cursor:pointer;padding-left:10px}label{display:inline-block;margin-bottom:.5rem}textarea{resize:none}select{border-radius:0;border:1px solid #ced4da;padding:10px;background:#fff;cursor:pointer;font-size:14px;font-size:1rem}.hidden{display:none!important}.visible{display:block}.error{border:1px solid red!important;background-color:#ff9185!important}.bold{font-weight:600}.wrapper-fluid{width:100%}ul{list-style-type:none}button{display:inline-block;font-weight:400;color:#fff;cursor:pointer;text-align:center;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;user-select:none;border:1px solid transparent;padding:.375rem .75rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:15px;font-size:1.0714285714rem}button:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.estimate{background:#f6f7f7;font-family:Roboto,sans-serif;color:#333;max-width:1050px;min-width:940px;border:1px solid #cec6c6;margin:20px auto 110px;padding:0 20px 20px;min-height:800px;box-shadow:0 0 3px #ced4da}.estimate__title{margin-bottom:25px}.estimate__title h2{border-bottom:1px solid #ced4da}.estimate__company{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:240px}.estimate__company__logo{outline:2px dashed #92b0b3;outline-offset:-10px;-webkit-transition:outline-offset .15s ease-in-out,background-color .15s linear;transition:outline-offset .15s ease-in-out,background-color .15s linear;margin:25px 90px 60px 45px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}.estimate__company__logo canvas{max-width:200px;max-height:80px}.estimate__company__logo .x-logo-error{color:red;font-weight:600;position:absolute;bottom:20px}.estimate__company__logo input{display:block;position:absolute;top:40px;z-index:-5}.estimate__company__logo label{display:block;font-weight:600;cursor:pointer}.estimate__company__logo label:hover{text-decoration:underline}.estimate__company__logo span{font-size:14px;font-size:1rem}.estimate__company__references{text-align:right}.estimate__company__references label{display:block}.estimate__company__references textarea{margin-top:0;height:19px;-moz-transition:height .1s linear;-o-transition:height .1s linear;-webkit-transition:height .1s linear;transition:height .1s linear}.estimate__company__references textarea.expand{height:50px}.estimate__company__references input,.estimate__company__references textarea{width:60%;float:right;margin:5px 0;font-size:13px;font-size:.9285714286rem}.estimate__data{width:100%}.estimate__data,.estimate__data__date,.estimate__data__discount,.estimate__data__vat{display:inline-block}.estimate__data .datepicker{width:120px;margin-right:15px}.estimate__data__discount,.estimate__data__vat{position:relative}.estimate__data__discount input,.estimate__data__vat input{text-align:right;width:70px;padding-right:30px;margin-right:15px}.estimate__data__discount span,.estimate__data__vat span{position:absolute;top:37px;right:25px}.estimate__data__notes{float:right;width:500px}.estimate__data__notes textarea{width:478px;height:65px}.estimate__table{min-height:380px;position:relative;margin-top:30px;border-bottom:1px solid #ced4da}.estimate__table table{width:100%;margin-bottom:20px}.estimate__table th{background:#0b97c4;color:#fff;font-weight:600}.estimate__table th td{padding:10px 0 10px 10px}.estimate__table .row{height:0}.estimate__table .row .icon-minus{position:relative;top:13px;left:8px;border-radius:50%;border:1px solid;padding:5px;color:red;font-size:10px;cursor:pointer}.estimate__table .col{vertical-align:top}.estimate__table .col input,.estimate__table .col select{position:relative;margin:0}.estimate__table .col textarea{margin:0;resize:vertical;min-height:45px;max-height:60px}.estimate__table .col input,.estimate__table .col textarea{width:100%;box-sizing:border-box;height:45px;padding:6px;border:1px solid #ced4da}.estimate__table .col input{text-align:right;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0}.estimate__table .col select{width:100%;height:45px;padding:0 0 0 10px}.estimate__table .col.small{width:150px;position:relative}.estimate__table .col.small .select-icon{position:absolute;right:7px;top:15px;z-index:1}.estimate__table .col.small.amount-col .amount-euro{position:absolute;right:12px;top:13px;z-index:1;display:none}.estimate__table .col.small.amount-col .amount-euro:after{content:"€"}.estimate__table .col.small.amount-col.x-value input{width:100%;padding-right:25px}.estimate__table .col.small.amount-col.x-value .amount-euro{display:block}.estimate__footer{text-align:right;margin-top:20px}.estimate__footer__subtotal__description,.estimate__footer__total__description{display:inline-block;border:1px solid #ced4da;padding:10px;width:257px;border-right:0;height:36px}.estimate__footer__subtotal__description h4,.estimate__footer__total__description h4{margin:0}.estimate__footer__subtotal__description span,.estimate__footer__total__description span{font-size:13px;font-size:.9285714286rem}.estimate__footer__subtotal__value,.estimate__footer__total__value{float:right;border:1px solid #ced4da;text-align:right;padding:10px;width:150px;background:#fff;font-size:28px;font-size:2rem}.estimate__footer__subtotal{margin-bottom:10px}.estimate__footer__subtotal__description{height:26px;width:120px}.estimate__footer__subtotal__description h5{margin:0}.estimate__footer__subtotal__value{font-size:20px;font-size:1.4285714286rem}.actions{font-family:Roboto,sans-serif;padding:10px 0;text-align:center;position:fixed;bottom:0;height:65px;background:#f6f7f7;border-top:1px solid #ced4da;z-index:2}.actions .wrapper{width:1000px;display:grid;grid-template-columns:37% 35% 30%;grid-template-rows:65px;margin:0 auto}.actions__estimate button{margin:0 8px;position:relative;top:7px}.actions__estimate__print{background:#f3bf5f}.actions__estimate__print:hover{background:#eca115}.actions__estimate__add{background:#0b97c4}.actions__estimate__add:hover{background:#037297}.actions__estimate__preview{background:#6ed37b}.actions__estimate__tooltip{position:relative;display:none}.actions__estimate__tooltip.visible{display:block}.actions__estimate__tooltip__en,.actions__estimate__tooltip__it{width:120px;background-color:#000;color:#fff;text-align:center;padding:5px 0;border-radius:6px;position:absolute;z-index:1}.actions__estimate__tooltip__en{top:-80px}.actions__estimate__tooltip__it{top:-50px}.actions__version{float:right;margin-top:20px}.actions__github{display:inline-block}.actions__github span{margin-right:10px;display:inline-block;font-size:13px;font-size:.9285714286rem;line-height:20px;line-height:1.4285714286rem}.x-preview{
+ /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */@import url("https://fonts.googleapis.com/css?family=Roboto")}.x-preview .estimate{margin-bottom:110px!important}.x-preview .actions{display:block!important}.x-preview html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}.x-preview body{margin:0}.x-preview article,.x-preview aside,.x-preview footer,.x-preview header,.x-preview nav,.x-preview section{display:block}.x-preview h1{font-size:2em;margin:.67em 0}.x-preview figcaption,.x-preview figure,.x-preview main{display:block}.x-preview figure{margin:1em 40px}.x-preview hr{box-sizing:content-box;height:0;overflow:visible}.x-preview pre{font-family:monospace,monospace;font-size:1em}.x-preview a{background-color:transparent;-webkit-text-decoration-skip:objects}.x-preview abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}.x-preview b,.x-preview strong{font-weight:inherit;font-weight:bolder}.x-preview code,.x-preview kbd,.x-preview samp{font-family:monospace,monospace;font-size:1em}.x-preview dfn{font-style:italic}.x-preview mark{background-color:#ff0;color:#000}.x-preview small{font-size:80%}.x-preview sub,.x-preview sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.x-preview sub{bottom:-.25em}.x-preview sup{top:-.5em}.x-preview audio,.x-preview video{display:inline-block}.x-preview audio:not([controls]){display:none;height:0}.x-preview img{border-style:none}.x-preview svg:not(:root){overflow:hidden}.x-preview button,.x-preview input,.x-preview optgroup,.x-preview select,.x-preview textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}.x-preview button,.x-preview input{overflow:visible}.x-preview button,.x-preview select{text-transform:none}.x-preview [type=reset],.x-preview [type=submit],.x-preview button,.x-preview html [type=button]{-webkit-appearance:button}.x-preview [type=button]::-moz-focus-inner,.x-preview [type=reset]::-moz-focus-inner,.x-preview [type=submit]::-moz-focus-inner,.x-preview button::-moz-focus-inner{border-style:none;padding:0}.x-preview [type=button]:-moz-focusring,.x-preview [type=reset]:-moz-focusring,.x-preview [type=submit]:-moz-focusring,.x-preview button:-moz-focusring{outline:1px dotted ButtonText}.x-preview fieldset{padding:.35em .75em .625em}.x-preview legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}.x-preview progress{display:inline-block;vertical-align:baseline}.x-preview textarea{overflow:auto}.x-preview [type=checkbox],.x-preview [type=radio]{box-sizing:border-box;padding:0}.x-preview [type=number]::-webkit-inner-spin-button,.x-preview [type=number]::-webkit-outer-spin-button{height:auto}.x-preview [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.x-preview [type=search]::-webkit-search-cancel-button,.x-preview [type=search]::-webkit-search-decoration{-webkit-appearance:none}.x-preview ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.x-preview details,.x-preview menu{display:block}.x-preview summary{display:list-item}.x-preview canvas{display:inline-block}.x-preview [hidden],.x-preview template{display:none}@font-face{.x-preview{font-family:icomoon;src:url(icomoon.d54e3674.eot?w17k9d);src:url(icomoon.d54e3674.eot?w17k9d#iefix) format("embedded-opentype"),url(icomoon.60c9ccf9.ttf?w17k9d) format("truetype"),url(icomoon.88256042.woff?w17k9d) format("woff"),url(icomoon.b906ef10.svg?w17k9d#icomoon) format("svg");font-weight:400;font-style:normal}}.x-preview [class*=" icon-"],.x-preview [class^=icon-]{font-family:icomoon!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.x-preview .icon-printer:before{content:""}.x-preview .icon-plus:before{content:""}.x-preview .icon-minus:before{content:""}.x-preview .icon-cross:before{content:""}.x-preview .icon-checkmark:before{content:""}.x-preview .icon-circle-up:before{content:""}.x-preview .icon-circle-down:before{content:""}.x-preview h3{margin:0}.x-preview input,.x-preview textarea{display:block;width:auto;font-size:1rem;line-height:1.5;color:#495057;background:#fff;background-clip:padding-box}.x-preview label{display:inline-block}.x-preview input,.x-preview select,.x-preview textarea{border:0}.x-preview textarea{resize:none}.x-preview select{padding:10px}.x-preview ul{list-style-type:none}.x-preview .estimate{background:#fff;font-family:Roboto,sans-serif;color:#333;max-width:1000px;min-width:940px;border:0;margin:20px auto;padding:0;min-height:800px;box-shadow:none}.x-preview .estimate__title{display:none}.x-preview .estimate__company{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:240px}.x-preview .estimate__company__logo{outline:none}.x-preview .estimate__company__logo input,.x-preview .estimate__company__logo label,.x-preview .estimate__company__logo span{display:none}.x-preview .estimate__company__references{text-align:right}.x-preview .estimate__company__references:nth-child(2){margin-top:20px}.x-preview .estimate__company__references label{display:none}.x-preview .estimate__company__references textarea{margin-top:0;height:30px}.x-preview .estimate__company__references input,.x-preview .estimate__company__references textarea{width:60%;float:right;margin:5px 10px;font-size:13px;text-align:right;border:0}.x-preview .estimate__data{display:inline-block;width:100%}.x-preview .estimate__data__date,.x-preview .estimate__data__discount,.x-preview .estimate__data__vat{display:inline-block}.x-preview .estimate__data__date label,.x-preview .estimate__data__discount label,.x-preview .estimate__data__vat label{color:#a6aaaf;margin-top:6px;margin-right:6px}.x-preview .estimate__data__date input,.x-preview .estimate__data__discount input,.x-preview .estimate__data__vat input{line-height:0;border:0}.x-preview .estimate__data__date label{margin-right:10px}.x-preview .estimate__data__date .datepicker{width:120px;margin-right:15px}.x-preview .estimate__data__discount,.x-preview .estimate__data__vat{position:relative}.x-preview .estimate__data__discount input,.x-preview .estimate__data__vat input{text-align:right;width:70px;padding-right:30px;margin-right:15px}.x-preview .estimate__data__discount span,.x-preview .estimate__data__vat span{position:absolute;top:40px;right:25px}.x-preview .estimate__data__notes{width:500px}.x-preview .estimate__data__notes label{color:#a6aaaf}.x-preview .estimate__data__notes textarea{width:500px;height:65px;padding:0;border:0}.x-preview .estimate table input,.x-preview .estimate table textarea{border:0}.x-preview .estimate table select{width:100%;height:37px;padding:0 10px;-webkit-appearance:none}.x-preview .estimate table .icon{display:none}.x-preview .estimate__footer{text-align:right;margin-top:20px}.x-preview .estimate__footer__subtotal__description,.x-preview .estimate__footer__total__description{display:inline-block;border:0;padding:10px;width:257px;border-right:0;height:32px}.x-preview .estimate__footer__subtotal__description h4,.x-preview .estimate__footer__total__description h4{margin:0}.x-preview .estimate__footer__subtotal__description span,.x-preview .estimate__footer__total__description span{font-size:13px}.x-preview .estimate__footer__subtotal__value,.x-preview .estimate__footer__total__value{float:right;border:0;text-align:right;padding:10px;width:150px;font-size:28px;background:#fff}.x-preview .estimate__footer__subtotal{margin-bottom:10px}.x-preview .estimate__footer__subtotal__description{height:23px;width:120px}.x-preview .estimate__footer__subtotal__description h5{margin:0}.x-preview .estimate__footer__subtotal__value{font-size:20px}.x-preview .actions{display:none!important}@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:portrait) and (-webkit-min-device-pixel-ratio:1){.estimate{min-width:unset;padding:0 0 12px;margin:0 0 110px}.estimate__title{padding:0 20px}.estimate__company{grid-template-columns:50% 45%;grid-template-rows:auto}.estimate__company__logo{margin:0 50px 55px 25px}.estimate__company__logo input{left:-3px;top:62px}.estimate__data{text-align:center;margin-top:20px}.estimate__data__date,.estimate__data__discount,.estimate__data__notes,.estimate__data__vat{text-align:left}.estimate__data__notes{width:55%;float:none;margin:20px auto 0}.estimate__data__notes textarea{width:93%}.estimate__table .col.large{width:245px}.estimate__table .col.small{width:115px}.estimate__footer{margin:10px 10px 0 0}.actions{height:75px}.actions .wrapper{width:100%;grid-template-columns:47% 25% 25%}}@media print{
+ /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}@font-face{font-family:icomoon;src:url(icomoon.d54e3674.eot?w17k9d);src:url(icomoon.d54e3674.eot?w17k9d#iefix) format("embedded-opentype"),url(icomoon.60c9ccf9.ttf?w17k9d) format("truetype"),url(icomoon.88256042.woff?w17k9d) format("woff"),url(icomoon.b906ef10.svg?w17k9d#icomoon) format("svg");font-weight:400;font-style:normal}[class*=" icon-"],[class^=icon-]{font-family:icomoon!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-printer:before{content:""}.icon-plus:before{content:""}.icon-minus:before{content:""}.icon-cross:before{content:""}.icon-checkmark:before{content:""}.icon-circle-up:before{content:""}.icon-circle-down:before{content:""}@import url("https://fonts.googleapis.com/css?family=Roboto");h3{margin:0}input,textarea{display:block;width:auto;font-size:1rem;line-height:1.5;color:#495057;background:#fff;background-clip:padding-box}label{display:inline-block}input,select,textarea{border:0}textarea{resize:none}select{padding:10px}ul{list-style-type:none}.estimate{background:#fff;font-family:Roboto,sans-serif;color:#333;max-width:1000px;min-width:940px;border:0;margin:20px auto;padding:0;min-height:800px;box-shadow:none}.estimate__title{display:none}.estimate__company{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:240px}.estimate__company__logo{outline:none}.estimate__company__logo input,.estimate__company__logo label,.estimate__company__logo span{display:none}.estimate__company__references{text-align:right}.estimate__company__references:nth-child(2){margin-top:20px}.estimate__company__references label{display:none}.estimate__company__references textarea{margin-top:0;height:30px}.estimate__company__references input,.estimate__company__references textarea{width:60%;float:right;margin:5px 10px;font-size:13px;text-align:right;border:0}.estimate__data{width:100%}.estimate__data,.estimate__data__date,.estimate__data__discount,.estimate__data__vat{display:inline-block}.estimate__data__date label,.estimate__data__discount label,.estimate__data__vat label{color:#a6aaaf;margin-top:6px;margin-right:6px}.estimate__data__date input,.estimate__data__discount input,.estimate__data__vat input{line-height:0;border:0}.estimate__data__date label{margin-right:10px}.estimate__data__date .datepicker{width:120px;margin-right:15px}.estimate__data__discount,.estimate__data__vat{position:relative}.estimate__data__discount input,.estimate__data__vat input{text-align:right;width:70px;padding-right:30px;margin-right:15px}.estimate__data__discount span,.estimate__data__vat span{position:absolute;top:40px;right:25px}.estimate__data__notes{width:500px}.estimate__data__notes label{color:#a6aaaf}.estimate__data__notes textarea{width:500px;height:65px;padding:0;border:0}.estimate table input,.estimate table textarea{border:0}.estimate table select{width:100%;height:37px;padding:0 10px;-webkit-appearance:none}.estimate table .icon{display:none}.estimate__footer{text-align:right;margin-top:20px}.estimate__footer__subtotal__description,.estimate__footer__total__description{display:inline-block;border:0;padding:10px;width:257px;border-right:0;height:32px}.estimate__footer__subtotal__description h4,.estimate__footer__total__description h4{margin:0}.estimate__footer__subtotal__description span,.estimate__footer__total__description span{font-size:13px}.estimate__footer__subtotal__value,.estimate__footer__total__value{float:right;border:0;text-align:right;padding:10px;width:150px;font-size:28px;background:#fff}.estimate__footer__subtotal{margin-bottom:10px}.estimate__footer__subtotal__description{height:23px;width:120px}.estimate__footer__subtotal__description h5{margin:0}.estimate__footer__subtotal__value{font-size:20px}.actions{display:none!important}}
\ No newline at end of file
diff --git a/docs/src.1ad80a3d.js b/docs/src.1ad80a3d.js
new file mode 100644
index 0000000..2025c1a
--- /dev/null
+++ b/docs/src.1ad80a3d.js
@@ -0,0 +1,15 @@
+parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c\n\t\t\t\n\t\t\t\t\n\t\t\t | \n\t\t\t\n\t\t\t\t\n\t\t\t | \n\t\t\t\n\t\t\t\t\n\t\t\t | \n\t\t\t\n\t\t\t\t\n\t\t\t | \n\t\t\t\n\t\t\t\t\n\t\t\t | \n\t\t\t'+(0!==t?' | ':"")+"\n\t\t"},this.calculateSubtotal=function(){return t.displayValue(e.$subtotal,t.calculateSubtotal(document.querySelectorAll(".js-amount")).toFixed(2)+"€")},this.calculateTotal=function(){return t.displayValue(e.$total,t.calculateTotalAmount(document.querySelectorAll(".js-amount"),parseFloat(e.$vatField.value),parseFloat(e.$discountField.value)).toFixed(2)+"€")},this.addRowHandler=function(){i.isRowFilled()&&(i.id+=1,i.$tableBody.insertAdjacentHTML("beforeend",i.createRow(i.id)),i.calculateSubtotal(),i.calculateTotal())},this.removeRowHandler=function(){var e=t.$("#js-row-"+i.id);e.parentNode.removeChild(e),i.id-=1,i.calculateSubtotal(),i.calculateTotal()},this.$tableBody.innerHTML=this.createRow(this.id),t.$(this.selectorStringSelect+this.id);var l=t.$(this.selectorStringUnity+this.id);t.$(this.selectorStringQuantity+this.id),document.body.addEventListener("keyup",function(e){e.target.id==="js-quantity-"+i.id&&(t.$(i.selectorStringSelect+i.id),l=t.$(i.selectorStringUnity+i.id),t.$(i.selectorStringQuantity+i.id),i.onQuantityHandler(e,l))}),document.body.addEventListener("click",function(t){t.target.id==="js-delete-"+i.id&&i.removeRowHandler()})}}();exports.default=i;
+},{"../libs/utils":"KcC6","../components/Selectors":"C7ro"}],"z8PQ":[function(require,module,exports) {
+"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../libs/utils"),t=function(){return function(){var t=this;this.$imgBlank=e.$("#js-image-blank"),this.$logoImageField=e.$("#js-logo-image"),this.isLogoUploaded=!1,this.changeImageHandler=function(e){var a=t.getBase64Image(e);localStorage.setItem("imgData",String(a)),t.isLogoUploaded=!0},this.getBase64Image=function(e){var a=t.$imgBlank,i=a.getContext("2d"),g=new Image;return g.onload=function(){a.height=g.height>150?80:g.height,a.width=g.width,i.drawImage(g,0,0)},g.src=URL.createObjectURL(e.target.files[0]),a.classList.remove("hidden"),g},this.getImageFromStorage=function(){return localStorage.getItem("imgData")},this.setImage=function(){t.$imgBlank.src="data:image/png;base64,"+t.getImageFromStorage()},this.isImageUploaded=function(){return t.isLogoUploaded},this.$logoImageField.addEventListener("change",function(e){t.changeImageHandler(e)}),this.setImage()}}();exports.default=t;
+},{"../libs/utils":"KcC6"}],"z2pr":[function(require,module,exports) {
+"use strict";var e=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});var r=require("../libs/utils"),t=e(require("./ProductsTable")),i=e(require("./Image")),n=function(){function e(){var e=this;this.$addProductBtn=r.$("#js-add-btn"),this.$printBtn=r.$("#js-print-btn"),this.$previewBtn=r.$("#js-preview-btn");var n=new t.default,o=new i.default;this.$addProductBtn.addEventListener("click",function(){n.addRowHandler()}),this.$printBtn.addEventListener("click",function(){e.printHandler(o)}),this.$previewBtn.addEventListener("click",function(){e.previewHandler(o)})}return e.prototype.previewHandler=function(e){e.isImageUploaded()?r.$("body").classList.toggle("x-preview"):(r.$(".x-logo-error").classList.remove("hidden"),this.scrollToError())},e.prototype.printHandler=function(e){e.isImageUploaded()?window.print():(r.$(".x-logo-error").classList.remove("hidden"),this.scrollToError())},e.prototype.scrollToError=function(){return window.scroll(0,".x-logo-error")},e}();exports.default=n;
+},{"../libs/utils":"KcC6","./ProductsTable":"srYP","./Image":"z8PQ"}],"B6dB":[function(require,module,exports) {
+"use strict";var e=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t},t=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),require("./styles/main.scss");var a=require("./libs/utils"),r=e(require("./components/Selectors")),n=t(require("./components/ProductsTable")),u=t(require("./components/ActionBar")),i=t(require("./components/Image"));!function(){new i.default;var e=new n.default;new u.default,r.$addressInputField.addEventListener("focusin",function(e){e.target.classList.add("expand")}),r.$discountField.addEventListener("keyup",function(t){a.calculateDiscount(e.calculateSubtotal(),t.target.value),e.calculateTotal()}),r.$vatField.addEventListener("keyup",function(t){a.displayValue(r.$displayVatEl,t.target.value),e.calculateTotal()}),flatpickr(r.$datepicker,{dateFormat:"d-m-Y"})}();
+},{"./styles/main.scss":"ryFC","./libs/utils":"KcC6","./components/Selectors":"C7ro","./components/ProductsTable":"srYP","./components/ActionBar":"z2pr","./components/Image":"z8PQ"}]},{},["B6dB"], null)
\ No newline at end of file
diff --git a/package.json b/package.json
index 51c42c6..91844e6 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
"private": false,
"scripts": {
"serve": "parcel -p 8000 watch index.html --open",
- "build": "parcel build index.html --no-source-maps --public-url ./"
+ "build": "parcel build index.html --no-source-maps --out-dir docs/ --public-url ./"
},
"devDependencies": {
"babel-core": "^6.26.3",