@cling-se/widget 0.9.2 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/dist/AddClientCallout-746899d9.js +57 -0
  2. package/dist/{AnswerModal-8f918a49.js → AnswerModal-fdfea0f8.js} +7 -5
  3. package/dist/{AttachmentItem-79618446.js → AttachmentItem-5671c64d.js} +5 -7
  4. package/dist/BaseDatePicker-a9240306.js +3156 -0
  5. package/dist/{BaseInput-9f376e4e.js → BaseInput-d3c3688b.js} +4 -4
  6. package/dist/{BaseUpload-9a3d655d.js → BaseUpload-8e7a2b72.js} +3 -3
  7. package/dist/BlockMedia-b613a2a4.js +72 -0
  8. package/dist/CCallout-e9ff903a.js +52 -0
  9. package/dist/CDropdownItem-05d84f95.js +610 -0
  10. package/dist/CField-cd4dcae9.js +183 -0
  11. package/dist/CField.vue_vue_type_style_index_0_lang-4ed993c7.js +1 -0
  12. package/dist/CSlider.vue_vue_type_style_index_0_lang-383db616.js +83 -0
  13. package/dist/ClientAutocomplete-421a2216.js +80 -0
  14. package/dist/ClientModal-11341b1c.js +547 -0
  15. package/dist/ColorPicker-f90939b5.js +2881 -0
  16. package/dist/{CompanyModal-5dfa4486.js → CompanyModal-2bfd21b8.js} +12 -11
  17. package/dist/{ContentWrapper-3ac57cb2.js → ContentWrapper-4aae35b2.js} +21 -14
  18. package/dist/{CoverBlockSettings-323ef519.js → CoverBlockSettings-1f917be3.js} +7 -7
  19. package/dist/DocForm-0891c6b2.js +6767 -0
  20. package/dist/DocFormSend-2b35999d.js +135 -0
  21. package/dist/{DocModalBase-4058a890.js → DocModalBase-225e2f2d.js} +1 -1
  22. package/dist/{DocReceipt-390f75e3.js → DocReceipt-1391c17a.js} +1 -1
  23. package/dist/{DocSendReminder-afc52d3d.js → DocSendReminder-c488842d.js} +1 -1
  24. package/dist/{DocTextEditor-0be1aea9.js → DocTextEditor-2538e1ab.js} +16 -12
  25. package/dist/{DocTimeline-c421dead.js → DocTimeline-69ada0de.js} +11 -11
  26. package/dist/DocumentClient-74b8f25b.js +145 -0
  27. package/dist/{DocumentLogotype-5230c7bd.js → DocumentLogotype-e89b53fb.js} +3 -3
  28. package/dist/{EmbedInput-8092d310.js → EmbedInput-b7fefe5e.js} +10 -11
  29. package/dist/{EmbedSettings-bbea9894.js → EmbedSettings-4957252f.js} +10 -11
  30. package/dist/ErrorCallout-42e45ec0.js +30 -0
  31. package/dist/{FilePreviewModal-67088d0f.js → FilePreviewModal-75693619.js} +6 -7
  32. package/dist/FormInputRow-09d450e3.js +2045 -0
  33. package/dist/{HeaderSettings-e02a5832.js → HeaderSettings-9b69eada.js} +23 -19
  34. package/dist/{ImageSelectModal-a9912356.js → ImageSelectModal-94d4dc7f.js} +20 -18
  35. package/dist/{ImageUploadWrapper-1310e96e.js → ImageUploadWrapper-a144b042.js} +2 -2
  36. package/dist/{Index-d3e59202.js → Index-00ef9241.js} +10 -10
  37. package/dist/{Index-e30b3de9.js → Index-023c3119.js} +6 -7
  38. package/dist/{Index-9cd881f2.js → Index-1bafafca.js} +2 -2
  39. package/dist/{Index-26f9a008.js → Index-2cb8fa22.js} +73 -118
  40. package/dist/{Index-faeeff50.js → Index-304c45be.js} +21 -16
  41. package/dist/{Index-e1bd4ea9.js → Index-35387450.js} +52 -42
  42. package/dist/Index-37a9183b.js +28 -0
  43. package/dist/{Index-0a22673f.js → Index-3dff19dd.js} +7 -7
  44. package/dist/{Index-f3eae2af.js → Index-3ee2e944.js} +2 -2
  45. package/dist/{Index-15591118.js → Index-42e26b46.js} +11 -11
  46. package/dist/{Index-2b684213.js → Index-4440fe3d.js} +6 -7
  47. package/dist/{Index-17e60907.js → Index-4563d3fa.js} +33 -31
  48. package/dist/{Index-648a786a.js → Index-53da7be8.js} +3 -3
  49. package/dist/{Index-6ee090c3.js → Index-62936c19.js} +16 -17
  50. package/dist/{Index-0ac00646.js → Index-693005f0.js} +6 -7
  51. package/dist/{Index-2d5fe047.js → Index-78f13416.js} +6 -7
  52. package/dist/{Index-6df9883f.js → Index-90492f19.js} +5 -6
  53. package/dist/{Index-28c78ddc.js → Index-96f39afc.js} +6 -7
  54. package/dist/{Index-90566113.js → Index-97d1f2f3.js} +8 -8
  55. package/dist/{Index-876daf3e.js → Index-9a243eb8.js} +2 -2
  56. package/dist/{Index-ca8aedde.js → Index-9ffe9766.js} +11 -12
  57. package/dist/{Index-8a22c5cd.js → Index-a37beb03.js} +1 -1
  58. package/dist/{Index-35f3bca9.js → Index-a554b58c.js} +6 -7
  59. package/dist/{Index-d02a530a.js → Index-a86ea774.js} +8 -9
  60. package/dist/{Index-d11146a6.js → Index-abb8c6e4.js} +6 -6
  61. package/dist/{Index-f4bb1f71.js → Index-b7def77a.js} +8 -9
  62. package/dist/{Index-f03edd3d.js → Index-bcc478b3.js} +7 -8
  63. package/dist/{Index-57ce8eee.js → Index-cec7d4f1.js} +22 -15
  64. package/dist/{Index-87497c7c.js → Index-d68a28da.js} +7 -7
  65. package/dist/{Index-de45c9c3.js → Index-dbe97658.js} +2 -2
  66. package/dist/{Index-a9ed7c39.js → Index-ec8d534f.js} +4 -6
  67. package/dist/{Index-0d81bade.js → Index-f2b66b79.js} +6 -7
  68. package/dist/{Index-1ae93acd.js → Index-f453850f.js} +6 -7
  69. package/dist/{Index-1f966c82.js → Index-f9b5f03c.js} +27 -20
  70. package/dist/{InputToggleRow-c58dde03.js → InputToggleRow-68320d9f.js} +1 -1
  71. package/dist/IsPremiumPreStep-0c7032a3.js +1919 -0
  72. package/dist/{MediaWrapper-afc29574.js → MediaWrapper-c50879c2.js} +4 -4
  73. package/dist/{NotBindingText-e3a49f8a.js → NotBindingText-8f2d9244.js} +2 -2
  74. package/dist/{PackageGroup-150a9942.js → PackageGroup-2c49e99b.js} +24 -17
  75. package/dist/{PdfTerms-fcc835f4.js → PdfTerms-94153a5f.js} +6 -7
  76. package/dist/{PdfViewer-b1118475.js → PdfViewer-701ad40e.js} +2 -2
  77. package/dist/{PlainHtml-47791667.js → PlainHtml-04a6d7f9.js} +1 -1
  78. package/dist/PriceHeader-7f92d5a7.js +336 -0
  79. package/dist/SearchApi-ffe5b697.js +148 -0
  80. package/dist/{TermsSettings-c97df867.js → TermsSettings-b1bf19e9.js} +6 -6
  81. package/dist/{ThemeColorRow-014a0526.js → ThemeColorRow-913497f6.js} +7 -6
  82. package/dist/{ToggleBinding-342beacc.js → ToggleBinding-6518935d.js} +8 -9
  83. package/dist/{UploadModal-aed5f8c9.js → UploadModal-3c399d25.js} +21 -22
  84. package/dist/{VideoPlayerInput-7ebb49d7.js → VideoPlayerInput-b54845a4.js} +5 -6
  85. package/dist/{VideoPlayerSettings-0a027a8e.js → VideoPlayerSettings-496e9e79.js} +13 -14
  86. package/dist/{VideoSelectModal-5c1a8ddc.js → VideoSelectModal-3a566398.js} +10 -10
  87. package/dist/anime.es-e284c852.js +858 -0
  88. package/dist/answerDocumentMixin-0e5e4dbb.js +54 -0
  89. package/dist/color-71c20583.js +15 -0
  90. package/dist/{cssMode-b59b5164.js → cssMode-c0865919.js} +15 -14
  91. package/dist/focusDrawerMixin-298861bc.js +68 -0
  92. package/dist/formComponentsInstall-1be6791d.js +2491 -0
  93. package/dist/formValidationMixin-df38771c.js +4984 -0
  94. package/dist/{freemarker2-5b426d60.js → freemarker2-85dde97c.js} +19 -18
  95. package/dist/{handlebars-9a256dec.js → handlebars-6aa1e52b.js} +18 -17
  96. package/dist/{html-4322f199.js → html-f0c735cd.js} +14 -13
  97. package/dist/{htmlMode-d8a0ed16.js → htmlMode-7b3bd7c9.js} +19 -18
  98. package/dist/{index-7359c27c.js → index-1ef6f423.js} +21 -15
  99. package/dist/index-30808a2c.js +490 -0
  100. package/dist/{index-c2f8c4f3.js → index-431938de.js} +13 -12
  101. package/dist/index-6d08eac3.js +14 -0
  102. package/dist/index-805c56e4.js +4 -0
  103. package/dist/index.es.js +3 -3
  104. package/dist/index.umd.js +713 -600
  105. package/dist/{javascript-7f9828c0.js → javascript-9c54ad9e.js} +11 -10
  106. package/dist/{jsonMode-e07cde60.js → jsonMode-1d1176fa.js} +19 -18
  107. package/dist/{liquid-b47f65fb.js → liquid-0738c73d.js} +11 -10
  108. package/dist/{main-154fab72.js → main-2d9b8259.js} +19557 -20415
  109. package/dist/mapFormMixin-308bbdab.js +66 -0
  110. package/dist/{publicSenderState-51ca0439.js → publicSenderState-9eecb11f.js} +1 -1
  111. package/dist/{python-f3873309.js → python-588c9e64.js} +11 -10
  112. package/dist/{razor-4071ec1b.js → razor-fbaa1d21.js} +14 -13
  113. package/dist/regions-29ee6964.js +1250 -0
  114. package/dist/simplebar.min-75960401.js +2429 -0
  115. package/dist/style.css +4 -0
  116. package/dist/template-b877debf.js +526 -0
  117. package/dist/throttle-d7bed81a.js +18 -0
  118. package/dist/tinycolor-ef496244.js +634 -0
  119. package/dist/{tsMode-71160e05.js → tsMode-c1de8e10.js} +15 -14
  120. package/dist/{typescript-80a61e6a.js → typescript-737827aa.js} +11 -10
  121. package/dist/{utils-72915af5.js → utils-69c41ae9.js} +5 -5
  122. package/dist/vuedraggable.umd-67b8cddf.js +3179 -0
  123. package/dist/{xml-021490f1.js → xml-30e811a1.js} +11 -10
  124. package/package.json +3 -2
  125. package/stats.html +1 -1
  126. package/dist/DocForm-5ff2cbbb.js +0 -22074
  127. package/dist/DocFormSend-06ffa19c.js +0 -113
  128. package/dist/Index-2b5c1367.js +0 -29
  129. package/dist/PriceHeader-1dfa95fd.js +0 -329
  130. package/dist/formComponentsInstall-e33d6795.js +0 -11121
  131. package/dist/index-51b2742c.js +0 -11
  132. package/dist/throttle-f479e1f1.js +0 -18
@@ -1,12 +1,17 @@
1
- import { m as s } from "./formComponentsInstall-e33d6795.js";
2
- import { h as i, j as r, s as a, n as c } from "./main-154fab72.js";
3
- import { T as d } from "./DocTextEditor-0be1aea9.js";
4
- import "./vuex.esm-4a0fff7c.js";
5
- import "./DocForm-5ff2cbbb.js";
6
- const m = {
1
+ import { m as s } from "./mapFormMixin-308bbdab.js";
2
+ import { q as i, r, s as a, n as c } from "./main-2d9b8259.js";
3
+ import { T as m } from "./DocTextEditor-2538e1ab.js";
4
+ import "./FormInputRow-09d450e3.js";
5
+ import "./ColorPicker-f90939b5.js";
6
+ import "./formValidationMixin-df38771c.js";
7
+ import "./CDropdownItem-05d84f95.js";
8
+ import "./CSlider.vue_vue_type_style_index_0_lang-383db616.js";
9
+ import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
10
+ import "./color-71c20583.js";
11
+ const d = {
7
12
  name: "textContent",
8
13
  components: {
9
- TextEditor: d
14
+ TextEditor: m
10
15
  },
11
16
  mixins: [s(["content"])],
12
17
  computed: {
@@ -27,23 +32,23 @@ const m = {
27
32
  }
28
33
  };
29
34
  var l = function() {
30
- var t = this, n = t._self._c;
31
- return n("div", { staticClass: "quill-format", staticStyle: { "font-size": "16px" } }, [n("TextEditor", { ref: "textEditor", staticClass: "text-editor", staticStyle: { "margin-bottom": "1em" }, attrs: { placeholder: t.$t("components:account.documentForm.titleAndText.text"), mentions: () => t._document.textTemplateItems, snippets: !0, "is-absolute": !0 }, on: { "hook:mounted": function(o) {
35
+ var t = this, o = t._self._c;
36
+ return o("div", { staticClass: "quill-format", staticStyle: { "font-size": "16px" } }, [o("TextEditor", { ref: "textEditor", staticClass: "text-editor", staticStyle: { "margin-bottom": "1em" }, attrs: { placeholder: t.$t("components:account.documentForm.titleAndText.text"), mentions: () => t._document.textTemplateItems, snippets: !0, "is-absolute": !0 }, on: { "hook:mounted": function(n) {
32
37
  return t.$emit("triggerOnAdd");
33
- } }, model: { value: t.value, callback: function(o) {
34
- t.value = o;
38
+ } }, model: { value: t.value, callback: function(n) {
39
+ t.value = n;
35
40
  }, expression: "value" } })], 1);
36
- }, u = [], _ = /* @__PURE__ */ c(
37
- m,
41
+ }, u = [], p = /* @__PURE__ */ c(
42
+ d,
38
43
  l,
39
44
  u,
40
45
  !1,
41
46
  null,
42
- "f54d2ad4",
47
+ "57c9a614",
43
48
  null,
44
49
  null
45
50
  );
46
- const g = _.exports;
51
+ const y = p.exports;
47
52
  export {
48
- g as default
53
+ y as default
49
54
  };
@@ -1,9 +1,19 @@
1
- import { _ as B, Z as A, $ as E, a0 as z, a1 as W, a2 as F, b as j, a3 as N, r as o, n as c, f as H, a4 as x, a5 as q, a6 as w, a7 as U, M as f, H as G, g as p, p as k, a8 as K, N as Y, a9 as I, aa as Z, v as g, h as J, s as Q, ab as X, e as ee, x as te } from "./main-154fab72.js";
1
+ import { aw as B, ax as A, ay as E, az as z, aA as F, aB as W, f as j, aC as N, b as o, n as c, l as H, aD as x, ar as q, aE as w, aF as U, a5 as f, Y as G, g as p, o as k, aG as K, a6 as Y, aH as Z, aI as J, aJ as I, p as Q, A as g, q as X, s as ee, aK as te, k as ie, F as se } from "./main-2d9b8259.js";
2
2
  import { m as h, a as v } from "./vuex.esm-4a0fff7c.js";
3
- import { v as ie, e as se, m as y, E as S, w as ae } from "./formComponentsInstall-e33d6795.js";
4
- import { T as ne } from "./DocTextEditor-0be1aea9.js";
5
- import { j as re, o as P, k as oe, l as le, W as ce, m as ue } from "./DocForm-5ff2cbbb.js";
6
- import { B as V } from "./BaseInput-9f376e4e.js";
3
+ import { m as y } from "./mapFormMixin-308bbdab.js";
4
+ import { E as S } from "./ErrorCallout-42e45ec0.js";
5
+ import { T as ae } from "./DocTextEditor-2538e1ab.js";
6
+ import { o as P, d as ne } from "./vuedraggable.umd-67b8cddf.js";
7
+ import { W as re } from "./formValidationMixin-df38771c.js";
8
+ import { C as oe } from "./FormInputRow-09d450e3.js";
9
+ import { v as le } from "./index-805c56e4.js";
10
+ import { S as ce } from "./SearchApi-ffe5b697.js";
11
+ import { w as ue } from "./CDropdownItem-05d84f95.js";
12
+ import { B as V } from "./BaseInput-d3c3688b.js";
13
+ import "./CSlider.vue_vue_type_style_index_0_lang-383db616.js";
14
+ import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
15
+ import "./ColorPicker-f90939b5.js";
16
+ import "./color-71c20583.js";
7
17
  const de = [
8
18
  "unit",
9
19
  "m2",
@@ -25,8 +35,8 @@ function pe() {
25
35
  }
26
36
  var he = pe, b = B, me = he, fe = A, ve = 1 / 0, ge = b && 1 / fe(new b([, -0]))[1] == ve ? function(i) {
27
37
  return new b(i);
28
- } : me, ye = ge, _e = E, ke = z, $e = W, xe = F, be = ye, we = A, Ie = 200;
29
- function Te(i, e, t) {
38
+ } : me, ye = ge, _e = E, ke = z, $e = F, xe = W, be = ye, we = A, Ie = 200;
39
+ function Ce(i, e, t) {
30
40
  var s = -1, n = ke, a = i.length, r = !0, l = [], u = l;
31
41
  if (t)
32
42
  r = !1, n = $e;
@@ -41,8 +51,8 @@ function Te(i, e, t) {
41
51
  for (; ++s < a; ) {
42
52
  var d = i[s], m = e ? e(d) : d;
43
53
  if (d = t || d !== 0 ? d : 0, r && m === m) {
44
- for (var T = u.length; T--; )
45
- if (u[T] === m)
54
+ for (var C = u.length; C--; )
55
+ if (u[C] === m)
46
56
  continue e;
47
57
  e && u.push(m), l.push(d);
48
58
  } else
@@ -50,7 +60,7 @@ function Te(i, e, t) {
50
60
  }
51
61
  return l;
52
62
  }
53
- var Ce = Te, Ae = N, Se = Ce;
63
+ var Te = Ce, Ae = N, Se = Te;
54
64
  function Pe(i, e) {
55
65
  return i && i.length ? Se(i, Ae(e)) : [];
56
66
  }
@@ -106,7 +116,7 @@ const Be = {
106
116
  name: "CPriceInput",
107
117
  components: {
108
118
  CInput: H,
109
- CCurrencyDropdown: re
119
+ CCurrencyDropdown: oe
110
120
  },
111
121
  props: {
112
122
  value: {
@@ -200,7 +210,7 @@ var Ee = function() {
200
210
  } }], null, !1, 1723986040), model: { value: e.internalCurrency, callback: function(s) {
201
211
  e.internalCurrency = s;
202
212
  }, expression: "internalCurrency" } }) : t("div", [e._v(e._s(e.suffixValue))])], 1)], 2);
203
- }, ze = [], We = /* @__PURE__ */ c(
213
+ }, ze = [], Fe = /* @__PURE__ */ c(
204
214
  Be,
205
215
  Ee,
206
216
  ze,
@@ -210,7 +220,7 @@ var Ee = function() {
210
220
  null,
211
221
  null
212
222
  );
213
- const D = We.exports, C = {
223
+ const D = Fe.exports, T = {
214
224
  isDeductable: !1,
215
225
  isRut: !1,
216
226
  greenRot15: !1,
@@ -222,9 +232,9 @@ const D = We.exports, C = {
222
232
  updatedAt: (/* @__PURE__ */ new Date()).toISOString()
223
233
  // Trigger updatedAt as it us used to decide which houseWork to prioritize
224
234
  };
225
- return typeof t < "u" && (s[t] = e), Object.keys(C).includes(t) && e && (s = {
235
+ return typeof t < "u" && (s[t] = e), Object.keys(T).includes(t) && e && (s = {
226
236
  ...s,
227
- ...C,
237
+ ...T,
228
238
  [t]: !0
229
239
  }), q(s.quantity) !== "number" && (s.quantity = 0), w(s);
230
240
  }, R = ({ stored: i, current: e, hidePrice: t = !1, activeHouseWorkType: s }) => {
@@ -247,7 +257,7 @@ const D = We.exports, C = {
247
257
  l.some((u) => !!n[u]) && (n = { ...n, ...a(l) });
248
258
  }
249
259
  return n;
250
- }, Fe = (i, e = null) => {
260
+ }, We = (i, e = null) => {
251
261
  const t = x(i.currency, e);
252
262
  switch (i.priceType) {
253
263
  case "approx":
@@ -307,14 +317,14 @@ const D = We.exports, C = {
307
317
  }, M = {
308
318
  article: {
309
319
  name: {
310
- maxLength: ie.maxLength(255)
320
+ maxLength: le.maxLength(255)
311
321
  }
312
322
  }
313
323
  };
314
324
  const je = {
315
325
  name: "ArticleAutocomplete",
316
326
  components: {
317
- SearchApi: se
327
+ SearchApi: ce
318
328
  },
319
329
  mixins: [y([])],
320
330
  props: {
@@ -742,8 +752,8 @@ const it = {
742
752
  }
743
753
  },
744
754
  components: {
745
- DragList: oe,
746
- DragItem: le
755
+ DragList: Z,
756
+ DragItem: J
747
757
  },
748
758
  data() {
749
759
  return {
@@ -814,7 +824,7 @@ const it = {
814
824
  this.$emit("close");
815
825
  },
816
826
  async onDrop({ removedIndex: i, addedIndex: e }) {
817
- i === null && e === null || i !== e && (this.idList = I(this.idList, i, e), await Z("/unitType/setPositions", { ids: this.idList }, { invalidateCache: { type: "unitType" } }), this.reset(), await this.loadUnits());
827
+ i === null && e === null || i !== e && (this.idList = I(this.idList, i, e), await Q("/unitType/setPositions", { ids: this.idList }, { invalidateCache: { type: "unitType" } }), this.reset(), await this.loadUnits());
818
828
  }
819
829
  }
820
830
  };
@@ -843,7 +853,7 @@ var st = function() {
843
853
  at,
844
854
  !1,
845
855
  null,
846
- "c8d13c3a",
856
+ "fd1deb6d",
847
857
  null,
848
858
  null
849
859
  );
@@ -984,11 +994,11 @@ const pt = {
984
994
  })
985
995
  }
986
996
  },
987
- mixins: [ae],
997
+ mixins: [ue],
988
998
  validations: M,
989
999
  data() {
990
1000
  return {
991
- priceSuffix: Fe,
1001
+ priceSuffix: We,
992
1002
  updateData: $,
993
1003
  addSavedArticle: R,
994
1004
  vatOptions: [
@@ -1301,8 +1311,8 @@ const gt = {
1301
1311
  components: {
1302
1312
  Article: Ze,
1303
1313
  ArticleModal: vt,
1304
- WithDimensions: ce,
1305
- draggable: ue
1314
+ WithDimensions: re,
1315
+ draggable: ne
1306
1316
  },
1307
1317
  mixins: [y([])],
1308
1318
  props: {
@@ -1536,8 +1546,8 @@ var bt = function() {
1536
1546
  null,
1537
1547
  null
1538
1548
  );
1539
- const Tt = It.exports;
1540
- const Ct = {
1549
+ const Ct = It.exports;
1550
+ const Tt = {
1541
1551
  name: "MaxTotalInput",
1542
1552
  i18nOptions: {
1543
1553
  namespaces: "MaxTotalInput",
@@ -1590,7 +1600,7 @@ var At = function() {
1590
1600
  return e.$emit("input", s);
1591
1601
  } } }, [t("template", { slot: "prefix" }, [e._v(e._s(e.$t("price.maxPrice").capitalize()))]), t("template", { slot: "suffix" }, [e._v(e._s(e.getCurrencySymbol(e.currency)) + " " + e._s(e.$t(`vat.${e.isIncVat ? "incVat" : "exVat"}`, { thing: e.$t(`vat.${e.vatType}`) })))])], 2)], 1);
1592
1602
  }, St = [], Pt = /* @__PURE__ */ c(
1593
- Ct,
1603
+ Tt,
1594
1604
  At,
1595
1605
  St,
1596
1606
  !1,
@@ -1772,7 +1782,7 @@ var Et = function() {
1772
1782
  s.action && s.action();
1773
1783
  } } }, [t("svg", { attrs: { viewBox: "0 0 24 24", width: "15", height: "15", stroke: "currentColor", "stroke-width": "2.5", fill: "none", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" } }), t("path", { attrs: { d: "M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" } })])]) : e._e()]), t("div", { staticClass: "price-value" }, [e._v(" " + e._s(s.prefix) + " " + e._s(s.value) + " ")])]);
1774
1784
  }), 0)]);
1775
- }, zt = [], Wt = /* @__PURE__ */ c(
1785
+ }, zt = [], Ft = /* @__PURE__ */ c(
1776
1786
  Bt,
1777
1787
  Et,
1778
1788
  zt,
@@ -1782,7 +1792,7 @@ var Et = function() {
1782
1792
  null,
1783
1793
  null
1784
1794
  );
1785
- const Ft = Wt.exports;
1795
+ const Wt = Ft.exports;
1786
1796
  const jt = {
1787
1797
  name: "PackageItemEdit",
1788
1798
  i18nOptions: {
@@ -1812,10 +1822,10 @@ const jt = {
1812
1822
  },
1813
1823
  components: {
1814
1824
  ArticleList: $t,
1815
- PriceFormAlternatives: Tt,
1825
+ PriceFormAlternatives: Ct,
1816
1826
  MaxTotalInput: Vt,
1817
- Pricing: Ft,
1818
- TextEditor: ne
1827
+ Pricing: Wt,
1828
+ TextEditor: ae
1819
1829
  },
1820
1830
  mixins: [y([
1821
1831
  "isSelectedDefault",
@@ -1867,10 +1877,10 @@ const jt = {
1867
1877
  },
1868
1878
  internalDescription: {
1869
1879
  get() {
1870
- return J(this.description, this._document.textTemplateMap, this._document._doc);
1880
+ return X(this.description, this._document.textTemplateMap, this._document._doc);
1871
1881
  },
1872
1882
  set(i) {
1873
- this.description = Q(i);
1883
+ this.description = ee(i);
1874
1884
  }
1875
1885
  }
1876
1886
  },
@@ -1908,14 +1918,14 @@ const jt = {
1908
1918
  this.$emit("input", { key: "articles", value: [...this.articles, i] });
1909
1919
  },
1910
1920
  onArticleInput({ index: i, value: e }) {
1911
- const { i: t } = this.mappedPackageArticles[i], s = X(e, ["allowRot", "allowRut", "isIncVat", "rootPriceType", "hideControls"]);
1921
+ const { i: t } = this.mappedPackageArticles[i], s = te(e, ["allowRot", "allowRut", "isIncVat", "rootPriceType", "hideControls"]);
1912
1922
  s.currency = this.currency, this.$emit("input", { key: `articles[${[t]}]`, value: s });
1913
1923
  },
1914
1924
  onArticleAdd({ openModal: i = !1 } = {}) {
1915
1925
  this.createEmptyArticle(), i ? this.$refs.articleList.openLastArticle() : this.$refs.articleList.focusLastArticle();
1916
1926
  },
1917
1927
  onInsert({ index: i, value: e }) {
1918
- const t = ee(this.mappedPackageArticles).add({ ...e, packageId: this.packageId }, i);
1928
+ const t = ie(this.mappedPackageArticles).add({ ...e, packageId: this.packageId }, i);
1919
1929
  this.$emit("input", {
1920
1930
  key: "articles",
1921
1931
  value: [...this.articles.filter(({ packageId: s }) => s !== this.packageId), ...t]
@@ -1984,7 +1994,7 @@ var Nt = function() {
1984
1994
  Ht,
1985
1995
  !1,
1986
1996
  null,
1987
- "de85f858",
1997
+ "ff3ee09f",
1988
1998
  null,
1989
1999
  null
1990
2000
  );
@@ -2246,7 +2256,7 @@ const Qt = {
2246
2256
  this.$emit("input", { key: "articles", value: s }), this.$emit("input", { key: `${[this._value.packages]}`, value: e });
2247
2257
  },
2248
2258
  addPackage(i = {}) {
2249
- const e = te(), t = this.type === "checkbox" && this.packages.length ? this.packages[0].data.prices.type : "fixed", s = this.currency || this.defaultCurrency, n = {
2259
+ const e = se(), t = this.type === "checkbox" && this.packages.length ? this.packages[0].data.prices.type : "fixed", s = this.currency || this.defaultCurrency, n = {
2250
2260
  isSelected: this.type === "single",
2251
2261
  isSelectedDefault: this.type === "single",
2252
2262
  toggable: !0,
@@ -2372,7 +2382,7 @@ var Xt = function() {
2372
2382
  null,
2373
2383
  null
2374
2384
  );
2375
- const li = ti.exports;
2385
+ const yi = ti.exports;
2376
2386
  export {
2377
- li as default
2387
+ yi as default
2378
2388
  };
@@ -0,0 +1,28 @@
1
+ import { m as _ } from "./mapFormMixin-308bbdab.js";
2
+ import { n as o } from "./main-2d9b8259.js";
3
+ const a = {
4
+ name: "NotBinding",
5
+ components: {
6
+ Edit: () => import("./ToggleBinding-6518935d.js"),
7
+ Read: () => import("./NotBindingText-8f2d9244.js")
8
+ },
9
+ mixins: [_()]
10
+ };
11
+ var i = function() {
12
+ var t;
13
+ var n = this, e = n._self._c;
14
+ return n.canEdit ? e("Edit", n._g({ attrs: { _document: n._document, _value: { notBinding: "data.notBinding" } } }, n.$listeners)) : (t = n._document.data) != null && t.notBinding ? e("Read") : n._e();
15
+ }, r = [], d = /* @__PURE__ */ o(
16
+ a,
17
+ i,
18
+ r,
19
+ !1,
20
+ null,
21
+ "0648ef9a",
22
+ null,
23
+ null
24
+ );
25
+ const l = d.exports;
26
+ export {
27
+ l as default
28
+ };
@@ -1,8 +1,8 @@
1
- import { m as n } from "./formComponentsInstall-e33d6795.js";
2
- import { V as r } from "./PdfViewer-b1118475.js";
3
- import { n as l } from "./main-154fab72.js";
4
- import "./vuex.esm-4a0fff7c.js";
5
- import "./DocForm-5ff2cbbb.js";
1
+ import { m as n } from "./mapFormMixin-308bbdab.js";
2
+ import { V as r } from "./PdfViewer-701ad40e.js";
3
+ import { n as l } from "./main-2d9b8259.js";
4
+ import "./formValidationMixin-df38771c.js";
5
+ import "./CDropdownItem-05d84f95.js";
6
6
  const i = {
7
7
  i18nOptions: {
8
8
  namespaces: "pdfBlock",
@@ -23,8 +23,8 @@ const i = {
23
23
  name: "Pdf",
24
24
  components: {
25
25
  PdfViewer: r,
26
- FileIcon: () => import("./Index-a9ed7c39.js"),
27
- BaseUpload: () => import("./BaseUpload-9a3d655d.js")
26
+ FileIcon: () => import("./Index-ec8d534f.js"),
27
+ BaseUpload: () => import("./BaseUpload-8e7a2b72.js")
28
28
  },
29
29
  mixins: [
30
30
  n(["file"])
@@ -1,5 +1,5 @@
1
- import { P as e } from "./PlainHtml-47791667.js";
2
- import { n } from "./main-154fab72.js";
1
+ import { P as e } from "./PlainHtml-04a6d7f9.js";
2
+ import { n } from "./main-2d9b8259.js";
3
3
  const s = {
4
4
  name: "EstimatedWorkStartAndEndAtTextRead",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { n as c, p as l } from "./main-154fab72.js";
1
+ import { n as c, o as l } from "./main-2d9b8259.js";
2
2
  const d = {
3
3
  name: "MultiGroupPricing",
4
4
  props: {
@@ -9,7 +9,7 @@ const d = {
9
9
  },
10
10
  computed: {
11
11
  docPriceItems() {
12
- const { total: i, subTotal: t } = this._document.prices || {};
12
+ const { total: o, subTotal: t } = this._document.prices || {};
13
13
  return [
14
14
  {
15
15
  label: this._document.$t("price.net"),
@@ -17,17 +17,17 @@ const d = {
17
17
  },
18
18
  {
19
19
  label: this._document.$t("price.total"),
20
- value: this.priceFormat(i)
20
+ value: this.priceFormat(o)
21
21
  }
22
22
  ];
23
23
  },
24
24
  pkgGroups() {
25
25
  var t;
26
- return (((t = this._document.packageGroups) == null ? void 0 : t.groups) || []).map(({ title: e, prices: r, selectedPackages: o }) => {
26
+ return (((t = this._document.packageGroups) == null ? void 0 : t.groups) || []).map(({ title: e, prices: r, selectedPackages: i }) => {
27
27
  const { total: s, subTotal: n } = r || {};
28
28
  return {
29
29
  title: e,
30
- noOfSelectedPackages: o.length,
30
+ noOfSelectedPackages: i.length,
31
31
  priceItems: [
32
32
  {
33
33
  label: this._document.$t("price.net"),
@@ -43,8 +43,8 @@ const d = {
43
43
  }
44
44
  },
45
45
  methods: {
46
- priceFormat(i, t) {
47
- return l(i, {
46
+ priceFormat(o, t) {
47
+ return l(o, {
48
48
  currency: this._document.currency,
49
49
  showZero: !0,
50
50
  decimals: 2,
@@ -56,12 +56,12 @@ const d = {
56
56
  };
57
57
  var p = function() {
58
58
  var t = this, e = t._self._c;
59
- return e("div", [t._l(t.pkgGroups, function(r, o) {
60
- return e("div", { key: o, staticStyle: { padding: "0.5rem 0" } }, [e("div", { staticStyle: { display: "flex", "font-size": "1.1rem", "font-weight": "600", "padding-bottom": "3px", "border-bottom": "1px solid rgba(0, 0, 0, 0.2)" } }, [t._v(" " + t._s(r.title) + " "), e("span", { staticClass: "has-text-grey", staticStyle: { "margin-left": "auto", "font-size": "1rem" } }, [t._v(" " + t._s(r.noOfSelectedPackages) + " paket ")])]), t._l(r.priceItems, function({ label: s, value: n }, a) {
59
+ return e("div", [t._l(t.pkgGroups, function(r, i) {
60
+ return e("div", { key: i, staticStyle: { padding: "0.5rem 0" } }, [e("div", { staticStyle: { display: "flex", "font-size": "1.1rem", "font-weight": "600", "padding-bottom": "3px", "border-bottom": "1px solid rgba(0, 0, 0, 0.2)" } }, [t._v(" " + t._s(r.title) + " "), e("span", { staticClass: "has-text-grey", staticStyle: { "margin-left": "auto", "font-size": "1rem" } }, [t._v(" " + t._s(r.noOfSelectedPackages) + " paket ")])]), t._l(r.priceItems, function({ label: s, value: n }, a) {
61
61
  return e("div", { key: s + a, staticStyle: { display: "flex", "justify-content": "space-between", "font-size": "1rem" } }, [e("div", [t._v(t._s(s))]), e("div", [t._v(t._s(n))])]);
62
62
  })], 2);
63
- }), e("div", { staticStyle: { "margin-top": "1rem" } }, [e("div", { staticStyle: { "font-size": "1.1rem", "font-weight": "600", "padding-bottom": "3px", "border-bottom": "1px solid rgba(0, 0, 0, 0.2)" } }, [t._v("Doc summary")]), t._l(t.docPriceItems, function({ label: r, value: o }, s) {
64
- return e("div", { key: s + r, staticStyle: { display: "flex", "justify-content": "space-between", "font-size": "1rem" } }, [e("div", [t._v(t._s(r))]), e("div", [t._v(t._s(o))])]);
63
+ }), e("div", { staticStyle: { "margin-top": "1rem" } }, [e("div", { staticStyle: { "font-size": "1.1rem", "font-weight": "600", "padding-bottom": "3px", "border-bottom": "1px solid rgba(0, 0, 0, 0.2)" } }, [t._v("Doc summary")]), t._l(t.docPriceItems, function({ label: r, value: i }, s) {
64
+ return e("div", { key: s + r, staticStyle: { display: "flex", "justify-content": "space-between", "font-size": "1rem" } }, [e("div", [t._v(t._s(r))]), e("div", [t._v(t._s(i))])]);
65
65
  })], 2)], 2);
66
66
  }, u = [], _ = /* @__PURE__ */ c(
67
67
  d,
@@ -1,11 +1,10 @@
1
- import { m as e } from "./formComponentsInstall-e33d6795.js";
2
- import { n as i } from "./main-154fab72.js";
3
- import "./vuex.esm-4a0fff7c.js";
1
+ import { m as e } from "./mapFormMixin-308bbdab.js";
2
+ import { n as i } from "./main-2d9b8259.js";
4
3
  const m = {
5
4
  name: "EstimatedTimeToComplete",
6
5
  components: {
7
- Read: () => import("./Index-de45c9c3.js"),
8
- Edit: () => import("./Index-e30b3de9.js")
6
+ Read: () => import("./Index-dbe97658.js"),
7
+ Edit: () => import("./Index-023c3119.js")
9
8
  },
10
9
  mixins: [e(["noOfTimeUnits", "timeUnit"])]
11
10
  };
@@ -22,7 +21,7 @@ var o = function() {
22
21
  null,
23
22
  null
24
23
  );
25
- const d = s.exports;
24
+ const c = s.exports;
26
25
  export {
27
- d as default
26
+ c as default
28
27
  };