{"version":3,"sources":["webpack:///src/components/Invoices/Editor/InvoiceEditorFooter.vue","webpack:///./src/components/Invoices/Editor/InvoiceEditorFooter.vue","webpack:///./src/components/Invoices/Editor/InvoiceEditorFooter.vue?2c73","webpack:///./src/components/Invoices/Editor/InvoiceEditorFooter.vue?4703","webpack:///./src/components/Invoices/Editor/InvoiceEditorFooter.vue?c11e"],"names":["props","invoice","type","Object","required","data","saveTimer","beforeDestroy","clearTimeout","methods","onInput","value","_this","Footer","setTimeout","$emit","render","_vm","_c","_self","staticClass","_v","_s","$t","attrs","configType","on","input","staticRenderFns","_withStripped"],"mappings":";;;;;;;;;;;AAce;EACfA,KAAA;IACAC,OAAA;MACAC,IAAA,EAAAC,MAAA;MACAC,QAAA;IACA;EACA;EAEAC,IAAA,WAAAA,KAAA;IACA;MACAC,SAAA;IACA;EACA;EAEAC,aAAA,WAAAA,cAAA;IACA,SAAAD,SAAA;MACAE,YAAA,MAAAF,SAAA;IACA;EACA;EAEAG,OAAA;IACAC,OAAA,WAAAA,QAAAC,KAAA;MAAA,IAAAC,KAAA;MACA,KAAAX,OAAA,CAAAY,MAAA,GAAAF,KAAA;MACA;MACA;MACA,SAAAL,SAAA;QACAE,YAAA,MAAAF,SAAA;MACA;MACA,KAAAA,SAAA,GAAAQ,UAAA;QACAF,KAAA,CAAAG,KAAA;MACA;IACA;EACA;AACA,CAAC,E;;;;;;;;;;;;;AC/CD;AAAA;AAAA,IAAIC,MAAM,GAAG,SAASA,MAAMA,CAAA,EAAG;EAC7B,IAAIC,GAAG,GAAG,IAAI;IACZC,EAAE,GAAGD,GAAG,CAACE,KAAK,CAACD,EAAE;EACnB,OAAOA,EAAE,CACP,KAAK,EACL;IAAEE,WAAW,EAAE;EAAM,CAAC,EACtB,CACEF,EAAE,CAAC,IAAI,EAAE;IAAEE,WAAW,EAAE;EAAqB,CAAC,EAAE,CAC9CH,GAAG,CAACI,EAAE,CACJ,GAAG,GACDJ,GAAG,CAACK,EAAE,CAACL,GAAG,CAACM,EAAE,CAAC,gDAAgD,CAAC,CAAC,GAChE,GACJ,CAAC,CACF,CAAC,EACFL,EAAE,CAAC,gBAAgB,EAAE;IACnBM,KAAK,EAAE;MAAEb,KAAK,EAAEM,GAAG,CAAChB,OAAO,CAACY,MAAM;MAAEY,UAAU,EAAE;IAAW,CAAC;IAC5DC,EAAE,EAAE;MAAEC,KAAK,EAAEV,GAAG,CAACP;IAAQ;EAC3B,CAAC,CAAC,CACH,EACD,CACF,CAAC;AACH,CAAC;AACD,IAAIkB,eAAe,GAAG,EAAE;AACxBZ,MAAM,CAACa,aAAa,GAAG,IAAI;;;;;;;;;;;;;;ACvB3B;AAAA;AAAA;AAAA;AAAiG;AAC3B;AACL;;;AAGjE;AACgG;AAChG,gBAAgB,mHAAU;AAC1B,EAAE,gGAAM;AACR,EAAE,qGAAM;AACR,EAAE,8GAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;;ACtCf;AAAuT,CAAgB,qVAAG,EAAC,C;;;;;;;;;;;;;ACA3U;AAAA;AAAA;AAAA;AAAA","file":"js/363.js?id=4876d7fcd45a4cc8975b","sourcesContent":["<template>\n  <div class=\"box\">\n    <h2 class=\"subtitle is-5 mb-4\">\n      {{ $t('Components.Invoices.InvoiceEditor.Title_Footer') }}\n    </h2>\n    <ui-text-editor\n      :value=\"invoice.Footer\"\n      configType=\"standard\"\n      @input=\"onInput\"\n    />\n  </div>\n</template>\n\n<script>\nexport default {\n  props: {\n    invoice: {\n      type: Object,\n      required: true,\n    },\n  },\n\n  data() {\n    return {\n      saveTimer: null,\n    }\n  },\n\n  beforeDestroy() {\n    if (this.saveTimer) {\n      clearTimeout(this.saveTimer)\n    }\n  },\n\n  methods: {\n    onInput(value) {\n      this.invoice.Footer = value\n      // The rich-text editor emits on every keystroke; debounce so the footer\n      // persists shortly after the user stops typing rather than per character.\n      if (this.saveTimer) {\n        clearTimeout(this.saveTimer)\n      }\n      this.saveTimer = setTimeout(() => {\n        this.$emit('save')\n      }, 1000)\n    },\n  },\n}\n</script>\n","var render = function render() {\n  var _vm = this,\n    _c = _vm._self._c\n  return _c(\n    \"div\",\n    { staticClass: \"box\" },\n    [\n      _c(\"h2\", { staticClass: \"subtitle is-5 mb-4\" }, [\n        _vm._v(\n          \" \" +\n            _vm._s(_vm.$t(\"Components.Invoices.InvoiceEditor.Title_Footer\")) +\n            \" \"\n        ),\n      ]),\n      _c(\"ui-text-editor\", {\n        attrs: { value: _vm.invoice.Footer, configType: \"standard\" },\n        on: { input: _vm.onInput },\n      }),\n    ],\n    1\n  )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./InvoiceEditorFooter.vue?vue&type=template&id=d0c4ab48\"\nimport script from \"./InvoiceEditorFooter.vue?vue&type=script&lang=js\"\nexport * from \"./InvoiceEditorFooter.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\n/* hot reload */\nif (module.hot) {\n  var api = require(\"/github/workspace/node_modules/vue-hot-reload-api/dist/index.js\")\n  api.install(require('vue'))\n  if (api.compatible) {\n    module.hot.accept()\n    if (!api.isRecorded('d0c4ab48')) {\n      api.createRecord('d0c4ab48', component.options)\n    } else {\n      api.reload('d0c4ab48', component.options)\n    }\n    module.hot.accept(\"./InvoiceEditorFooter.vue?vue&type=template&id=d0c4ab48\", function () {\n      api.rerender('d0c4ab48', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"src/components/Invoices/Editor/InvoiceEditorFooter.vue\"\nexport default component.exports","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceEditorFooter.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceEditorFooter.vue?vue&type=script&lang=js\"","export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"381a4baa-vue-loader-template\\\"}!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceEditorFooter.vue?vue&type=template&id=d0c4ab48\""],"sourceRoot":""}