@cling-se/widget 0.9.2 → 0.9.4

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-d472aa84.js +57 -0
  2. package/dist/{AnswerModal-8f918a49.js → AnswerModal-06487437.js} +7 -5
  3. package/dist/{AttachmentItem-79618446.js → AttachmentItem-d98488ee.js} +5 -7
  4. package/dist/BaseDatePicker-8c098701.js +3156 -0
  5. package/dist/{BaseInput-9f376e4e.js → BaseInput-2723d613.js} +4 -4
  6. package/dist/{BaseUpload-9a3d655d.js → BaseUpload-996d74b3.js} +27 -26
  7. package/dist/BlockMedia-00907fb6.js +72 -0
  8. package/dist/CCallout-ffa95028.js +52 -0
  9. package/dist/CDropdownItem-74672842.js +610 -0
  10. package/dist/CField-06dd50f1.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-f49d85e0.js +83 -0
  13. package/dist/ClientAutocomplete-f65643dd.js +80 -0
  14. package/dist/ClientModal-d276aabd.js +547 -0
  15. package/dist/ColorPicker-4f6b70af.js +2881 -0
  16. package/dist/{CompanyModal-5dfa4486.js → CompanyModal-30c54ce3.js} +12 -11
  17. package/dist/{ContentWrapper-3ac57cb2.js → ContentWrapper-d5653fef.js} +21 -14
  18. package/dist/{CoverBlockSettings-323ef519.js → CoverBlockSettings-2335f3a8.js} +7 -7
  19. package/dist/DocForm-9ca24de4.js +6772 -0
  20. package/dist/DocFormSend-d0c6fa1d.js +135 -0
  21. package/dist/{DocModalBase-4058a890.js → DocModalBase-f4915a62.js} +1 -1
  22. package/dist/{DocReceipt-390f75e3.js → DocReceipt-d192000e.js} +1 -1
  23. package/dist/{DocSendReminder-afc52d3d.js → DocSendReminder-06d5b34c.js} +1 -1
  24. package/dist/{DocTextEditor-0be1aea9.js → DocTextEditor-c6d1df3c.js} +16 -12
  25. package/dist/{DocTimeline-c421dead.js → DocTimeline-b4c20f93.js} +11 -11
  26. package/dist/DocumentClient-c2319f00.js +145 -0
  27. package/dist/{DocumentLogotype-5230c7bd.js → DocumentLogotype-1efd1ce9.js} +3 -3
  28. package/dist/{EmbedInput-8092d310.js → EmbedInput-654c0477.js} +10 -11
  29. package/dist/{EmbedSettings-bbea9894.js → EmbedSettings-b81ec734.js} +10 -11
  30. package/dist/ErrorCallout-60d0b3ab.js +30 -0
  31. package/dist/{FilePreviewModal-67088d0f.js → FilePreviewModal-895bd1bd.js} +6 -7
  32. package/dist/FormInputRow-9819eb71.js +2045 -0
  33. package/dist/{HeaderSettings-e02a5832.js → HeaderSettings-c6dac755.js} +23 -19
  34. package/dist/{ImageSelectModal-a9912356.js → ImageSelectModal-7cece54e.js} +20 -18
  35. package/dist/{ImageUploadWrapper-1310e96e.js → ImageUploadWrapper-53afd31d.js} +3 -3
  36. package/dist/{Index-f3eae2af.js → Index-01c63c88.js} +2 -2
  37. package/dist/{Index-90566113.js → Index-1a7e98d7.js} +8 -8
  38. package/dist/{Index-0ac00646.js → Index-1d361d01.js} +6 -7
  39. package/dist/{Index-9cd881f2.js → Index-2535f58f.js} +2 -2
  40. package/dist/{Index-f4bb1f71.js → Index-34c84bab.js} +8 -9
  41. package/dist/{Index-f03edd3d.js → Index-5cc51230.js} +7 -8
  42. package/dist/{Index-648a786a.js → Index-5e35f4a2.js} +3 -3
  43. package/dist/{Index-6df9883f.js → Index-60fc8a6e.js} +5 -6
  44. package/dist/{Index-de45c9c3.js → Index-61f7dc92.js} +2 -2
  45. package/dist/{Index-26f9a008.js → Index-63805642.js} +73 -118
  46. package/dist/{Index-ca8aedde.js → Index-66c8cbfa.js} +11 -12
  47. package/dist/{Index-a9ed7c39.js → Index-6ef78b7a.js} +4 -6
  48. package/dist/{Index-8a22c5cd.js → Index-701f0d05.js} +1 -1
  49. package/dist/{Index-6ee090c3.js → Index-7443e91c.js} +16 -17
  50. package/dist/{Index-1ae93acd.js → Index-82574a41.js} +6 -7
  51. package/dist/{Index-35f3bca9.js → Index-82b5de12.js} +6 -7
  52. package/dist/{Index-d02a530a.js → Index-8bca2d87.js} +8 -9
  53. package/dist/{Index-57ce8eee.js → Index-9233cc83.js} +22 -15
  54. package/dist/{Index-faeeff50.js → Index-98e8bb86.js} +21 -16
  55. package/dist/{Index-17e60907.js → Index-9aaf8b90.js} +33 -31
  56. package/dist/{Index-0d81bade.js → Index-b020a80c.js} +6 -7
  57. package/dist/{Index-28c78ddc.js → Index-b14d0f03.js} +6 -7
  58. package/dist/{Index-d3e59202.js → Index-b15cfd62.js} +10 -10
  59. package/dist/{Index-0a22673f.js → Index-c4de05aa.js} +7 -7
  60. package/dist/{Index-87497c7c.js → Index-c67218ce.js} +7 -7
  61. package/dist/{Index-2b684213.js → Index-c7e68382.js} +6 -7
  62. package/dist/{Index-e1bd4ea9.js → Index-caf5cf44.js} +54 -44
  63. package/dist/{Index-2d5fe047.js → Index-cd76b120.js} +6 -7
  64. package/dist/Index-d45a1eff.js +28 -0
  65. package/dist/{Index-876daf3e.js → Index-d8879ca9.js} +2 -2
  66. package/dist/{Index-1f966c82.js → Index-e45a0c32.js} +27 -20
  67. package/dist/{Index-d11146a6.js → Index-e749f6f1.js} +6 -6
  68. package/dist/{Index-15591118.js → Index-e80f5f9c.js} +11 -11
  69. package/dist/{Index-e30b3de9.js → Index-f935c492.js} +6 -7
  70. package/dist/{InputToggleRow-c58dde03.js → InputToggleRow-9d8a7da4.js} +1 -1
  71. package/dist/IsPremiumPreStep-3a087524.js +1919 -0
  72. package/dist/{MediaWrapper-afc29574.js → MediaWrapper-d4a4b66f.js} +4 -4
  73. package/dist/{NotBindingText-e3a49f8a.js → NotBindingText-b199006c.js} +2 -2
  74. package/dist/{PackageGroup-150a9942.js → PackageGroup-37ac99b1.js} +24 -17
  75. package/dist/{PdfTerms-fcc835f4.js → PdfTerms-8b52bb6e.js} +6 -7
  76. package/dist/{PdfViewer-b1118475.js → PdfViewer-38bd8439.js} +2 -2
  77. package/dist/{PlainHtml-47791667.js → PlainHtml-9174cbf6.js} +1 -1
  78. package/dist/PriceHeader-e357afe9.js +336 -0
  79. package/dist/SearchApi-2e286be6.js +148 -0
  80. package/dist/{TermsSettings-c97df867.js → TermsSettings-c74eec79.js} +6 -6
  81. package/dist/{ThemeColorRow-014a0526.js → ThemeColorRow-3558367b.js} +7 -6
  82. package/dist/{ToggleBinding-342beacc.js → ToggleBinding-6c9c1ac3.js} +8 -9
  83. package/dist/{UploadModal-aed5f8c9.js → UploadModal-6d0abd77.js} +21 -22
  84. package/dist/{VideoPlayerInput-7ebb49d7.js → VideoPlayerInput-77cd86aa.js} +5 -6
  85. package/dist/{VideoPlayerSettings-0a027a8e.js → VideoPlayerSettings-b7eb781c.js} +13 -14
  86. package/dist/{VideoSelectModal-5c1a8ddc.js → VideoSelectModal-d2299552.js} +10 -10
  87. package/dist/anime.es-e284c852.js +858 -0
  88. package/dist/answerDocumentMixin-66023e62.js +54 -0
  89. package/dist/color-71c20583.js +15 -0
  90. package/dist/{cssMode-b59b5164.js → cssMode-8552fc56.js} +15 -14
  91. package/dist/focusDrawerMixin-67462262.js +68 -0
  92. package/dist/formComponentsInstall-ad9c2a83.js +2491 -0
  93. package/dist/formValidationMixin-4920ab53.js +4984 -0
  94. package/dist/{freemarker2-5b426d60.js → freemarker2-7e10a65d.js} +19 -18
  95. package/dist/{handlebars-9a256dec.js → handlebars-8045bfa8.js} +18 -17
  96. package/dist/{html-4322f199.js → html-8afcb633.js} +14 -13
  97. package/dist/{htmlMode-d8a0ed16.js → htmlMode-1a2d1b48.js} +19 -18
  98. package/dist/index-3d6d7a03.js +490 -0
  99. package/dist/index-805c56e4.js +4 -0
  100. package/dist/{index-c2f8c4f3.js → index-bf93d7c2.js} +13 -12
  101. package/dist/index-c48c5eb4.js +14 -0
  102. package/dist/{index-7359c27c.js → index-f805bfce.js} +21 -15
  103. package/dist/index.es.js +3 -3
  104. package/dist/index.umd.js +713 -600
  105. package/dist/{javascript-7f9828c0.js → javascript-dad5561e.js} +11 -10
  106. package/dist/{jsonMode-e07cde60.js → jsonMode-ce09245f.js} +19 -18
  107. package/dist/{liquid-b47f65fb.js → liquid-05247459.js} +11 -10
  108. package/dist/{main-154fab72.js → main-04025a56.js} +19557 -20415
  109. package/dist/mapFormMixin-8d073f99.js +66 -0
  110. package/dist/{publicSenderState-51ca0439.js → publicSenderState-97108de1.js} +1 -1
  111. package/dist/{python-f3873309.js → python-3f3513c5.js} +11 -10
  112. package/dist/{razor-4071ec1b.js → razor-1f3e9c4e.js} +14 -13
  113. package/dist/regions-29ee6964.js +1250 -0
  114. package/dist/simplebar.min-3af55aab.js +2429 -0
  115. package/dist/style.css +4 -0
  116. package/dist/template-42a1d852.js +526 -0
  117. package/dist/throttle-a2c1f34d.js +18 -0
  118. package/dist/tinycolor-88fa380f.js +634 -0
  119. package/dist/{tsMode-71160e05.js → tsMode-4c026047.js} +15 -14
  120. package/dist/{typescript-80a61e6a.js → typescript-baf56f67.js} +11 -10
  121. package/dist/{utils-72915af5.js → utils-6670dea6.js} +5 -5
  122. package/dist/vuedraggable.umd-d7138234.js +3179 -0
  123. package/dist/{xml-021490f1.js → xml-ffc6146a.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,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-04025a56.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-8d073f99.js";
4
+ import { E as S } from "./ErrorCallout-60d0b3ab.js";
5
+ import { T as ae } from "./DocTextEditor-c6d1df3c.js";
6
+ import { o as P, d as ne } from "./vuedraggable.umd-d7138234.js";
7
+ import { W as re } from "./formValidationMixin-4920ab53.js";
8
+ import { C as oe } from "./FormInputRow-9819eb71.js";
9
+ import { v as le } from "./index-805c56e4.js";
10
+ import { S as ce } from "./SearchApi-2e286be6.js";
11
+ import { w as ue } from "./CDropdownItem-74672842.js";
12
+ import { B as V } from "./BaseInput-2723d613.js";
13
+ import "./CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js";
14
+ import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
15
+ import "./ColorPicker-4f6b70af.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: [
@@ -1209,7 +1219,7 @@ var ht = function() {
1209
1219
  e.updateArticle(Number.parseFloat(s), "quantity");
1210
1220
  } } })], 1), t("ArticleUnitSelect", { attrs: { value: e.article.unitType, "is-public-form": e.viewSettings.isPublicForm }, on: { input: function(s) {
1211
1221
  return e.updateArticle(s, "unitType");
1212
- } } }, [t("CButton", { staticClass: "select-css form-control form-control-right", staticStyle: { width: "8em", "box-shadow": "none" } }, [e._v(" " + e._s(e.articleUnitLabel(e.article.unitType, { count: e.article.quantity })) + " ")])], 1)], 1), e.hidePriceInput ? e._e() : [t("div", { staticClass: "flex", staticStyle: { "margin-bottom": "1.5em" } }, [t("CField", { staticClass: "flex-grow label-selector form-control form-control-left", staticStyle: { "margin-bottom": "0" }, attrs: { label: e.$t("price.price").capitalize(), "label-position": "inside" } }, [t("CPriceInput", { key: e.priceSuffix(e.article), ref: "priceInput", staticClass: "input-selector", attrs: { value: e.article.price, currency: e.article.currency, "is-inc-vat": e.article.priceType !== "markup" && e.setPricesIncVat, vat: e.article.vat, "price-type": e.article.priceType, "unit-label": e.articleUnitLabel(e.article.unitType) }, on: { input: function(s) {
1222
+ } } }, [t("CButton", { staticClass: "select-css form-control form-control-right", staticStyle: { width: "8em", "box-shadow": "none" } }, [e._v(" " + e._s(e.articleUnitLabel(e.article.unitType, { count: e.article.quantity })) + " ")])], 1)], 1), e.hidePriceInput ? e._e() : [t("div", { staticClass: "flex", staticStyle: { "margin-bottom": "1.5em" } }, [t("CField", { staticClass: "flex-1 label-selector form-control form-control-left", staticStyle: { "margin-bottom": "0" }, attrs: { label: e.$t("price.price").capitalize(), "label-position": "inside" } }, [t("CPriceInput", { key: e.priceSuffix(e.article), ref: "priceInput", staticClass: "input-selector", attrs: { value: e.article.price, currency: e.article.currency, "is-inc-vat": e.article.priceType !== "markup" && e.setPricesIncVat, vat: e.article.vat, "price-type": e.article.priceType, "unit-label": e.articleUnitLabel(e.article.unitType) }, on: { input: function(s) {
1213
1223
  return e.updateArticle(s, "price");
1214
1224
  }, "update:currency": function(s) {
1215
1225
  return e.$emit("update:currency", s);
@@ -1274,7 +1284,7 @@ var ht = function() {
1274
1284
  mt,
1275
1285
  !1,
1276
1286
  null,
1277
- "0e36778c",
1287
+ "69fbd9a6",
1278
1288
  null,
1279
1289
  null
1280
1290
  );
@@ -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
  };
@@ -1,8 +1,7 @@
1
- import { m as a } from "./formComponentsInstall-e33d6795.js";
2
- import { I as n } from "./InputToggleRow-c58dde03.js";
3
- import { B as o } from "./BaseInput-9f376e4e.js";
4
- import { n as c } from "./main-154fab72.js";
5
- import "./vuex.esm-4a0fff7c.js";
1
+ import { m as a } from "./mapFormMixin-8d073f99.js";
2
+ import { I as n } from "./InputToggleRow-9d8a7da4.js";
3
+ import { B as o } from "./BaseInput-2723d613.js";
4
+ import { n as c } from "./main-04025a56.js";
6
5
  const s = {
7
6
  i18nOptions: {
8
7
  namespaces: "ExtraWorkConstructionPricingListEdit",
@@ -57,7 +56,7 @@ var i = function() {
57
56
  null,
58
57
  null
59
58
  );
60
- const d = u.exports;
59
+ const k = u.exports;
61
60
  export {
62
- d as default
61
+ k as default
63
62
  };
@@ -0,0 +1,28 @@
1
+ import { m as _ } from "./mapFormMixin-8d073f99.js";
2
+ import { n as o } from "./main-04025a56.js";
3
+ const a = {
4
+ name: "NotBinding",
5
+ components: {
6
+ Edit: () => import("./ToggleBinding-6c9c1ac3.js"),
7
+ Read: () => import("./NotBindingText-b199006c.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,5 +1,5 @@
1
- import { P as r } from "./PlainHtml-47791667.js";
2
- import { n as o } from "./main-154fab72.js";
1
+ import { P as r } from "./PlainHtml-9174cbf6.js";
2
+ import { n as o } from "./main-04025a56.js";
3
3
  const s = {
4
4
  name: "ExtraWorkTimeImpactTextRead",
5
5
  props: {
@@ -1,8 +1,15 @@
1
- import { n as i, g as o, X as u, r as l, Y as d } from "./main-154fab72.js";
2
- import { w as m, c as _, m as g } from "./formComponentsInstall-e33d6795.js";
3
- import { m as f, a as v } from "./vuex.esm-4a0fff7c.js";
4
- import { T as h } from "./DocTextEditor-0be1aea9.js";
5
- import "./DocForm-5ff2cbbb.js";
1
+ import { n as i, g as o, H as u, b as l, ag as d } from "./main-04025a56.js";
2
+ import { m } from "./mapFormMixin-8d073f99.js";
3
+ import { w as _ } from "./CDropdownItem-74672842.js";
4
+ import { m as g, a as f } from "./vuex.esm-4a0fff7c.js";
5
+ import { T as v } from "./DocTextEditor-c6d1df3c.js";
6
+ import { C as h } from "./CCallout-ffa95028.js";
7
+ import "./FormInputRow-9819eb71.js";
8
+ import "./ColorPicker-4f6b70af.js";
9
+ import "./formValidationMixin-4920ab53.js";
10
+ import "./CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js";
11
+ import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
12
+ import "./color-71c20583.js";
6
13
  const y = {
7
14
  name: "ModalReference",
8
15
  props: {
@@ -26,7 +33,7 @@ const y = {
26
33
  required: !0
27
34
  }
28
35
  },
29
- mixins: [m],
36
+ mixins: [_],
30
37
  data() {
31
38
  return {
32
39
  currIndex: 0
@@ -185,7 +192,7 @@ const E = {
185
192
  },
186
193
  name: "DocPresentationMessageModal",
187
194
  components: {
188
- TextEditor: h
195
+ TextEditor: v
189
196
  },
190
197
  provide: () => ({ viewSettings: { canEdit: !0 } }),
191
198
  props: {
@@ -202,7 +209,7 @@ const E = {
202
209
  };
203
210
  },
204
211
  computed: {
205
- ...f({
212
+ ...g({
206
213
  isPostingDocument: "documents2/isPosting"
207
214
  })
208
215
  },
@@ -210,7 +217,7 @@ const E = {
210
217
  this.internalValue = this._document.personalMessage || "";
211
218
  },
212
219
  methods: {
213
- ...v({
220
+ ...f({
214
221
  setFormValue: o.SET_FORM_VALUE,
215
222
  removeFormValue: o.REMOVE_FORM_VALUE,
216
223
  saveDocument: o.DO_SAVE_DYNDOC,
@@ -268,8 +275,8 @@ const A = {
268
275
  name: "DocPresentationMessage",
269
276
  components: {
270
277
  AvatarContact: F,
271
- IsPremium: () => import("./index-51b2742c.js").then((s) => s.IsPremium),
272
- IsPremiumPreStep: () => import("./index-51b2742c.js").then((s) => s.IsPremiumPreStep)
278
+ IsPremium: () => import("./index-c48c5eb4.js").then((s) => s.IsPremium),
279
+ IsPremiumPreStep: () => import("./index-c48c5eb4.js").then((s) => s.IsPremiumPreStep)
273
280
  },
274
281
  props: {
275
282
  _document: {
@@ -386,10 +393,10 @@ var N = function() {
386
393
  null,
387
394
  null
388
395
  );
389
- const X = G.exports;
390
- const Y = {
396
+ const Q = G.exports;
397
+ const X = {
391
398
  components: {
392
- SocialMediaButton: X
399
+ SocialMediaButton: Q
393
400
  },
394
401
  props: {
395
402
  text: {
@@ -402,12 +409,12 @@ const Y = {
402
409
  }
403
410
  }
404
411
  };
405
- var Q = function() {
412
+ var Y = function() {
406
413
  var e = this, t = e._self._c;
407
414
  return t("div", [t("div", { staticClass: "quill-format", domProps: { innerHTML: e._s(e.text) } }), t("div", { staticClass: "website-wrapper" }, [e.websites.website ? t("SocialMediaButton", { attrs: { url: e.websites.website, type: "website" } }) : e._e(), e.websites.linkedin ? t("SocialMediaButton", { attrs: { url: e.websites.linkedin, type: "linkedin" } }) : e._e(), e.websites.facebook ? t("SocialMediaButton", { attrs: { url: e.websites.facebook, type: "facebook" } }) : e._e(), e.websites.instagram ? t("SocialMediaButton", { attrs: { url: e.websites.instagram, type: "instagram" } }) : e._e(), e.websites.google ? t("SocialMediaButton", { attrs: { url: e.websites.google, type: "google" } }) : e._e(), e.websites.reco ? t("SocialMediaButton", { attrs: { url: e.websites.reco, type: "reco" } }) : e._e()], 1)]);
408
415
  }, J = [], K = /* @__PURE__ */ i(
416
+ X,
409
417
  Y,
410
- Q,
411
418
  J,
412
419
  !1,
413
420
  null,
@@ -431,7 +438,7 @@ const ee = {
431
438
  },
432
439
  components: {
433
440
  Animation: u,
434
- CCallout: _
441
+ CCallout: h
435
442
  },
436
443
  props: {
437
444
  content: {
@@ -486,7 +493,7 @@ const ie = {
486
493
  DocPresentationAboutUs: Z,
487
494
  DocPresentationCertificates: ne
488
495
  },
489
- mixins: [g()],
496
+ mixins: [m()],
490
497
  inject: ["parentSize"],
491
498
  data() {
492
499
  return {
@@ -653,7 +660,7 @@ var re = function() {
653
660
  null,
654
661
  null
655
662
  );
656
- const _e = le.exports;
663
+ const we = le.exports;
657
664
  export {
658
- _e as default
665
+ we as default
659
666
  };
@@ -1,8 +1,8 @@
1
- import { m as n } from "./formComponentsInstall-e33d6795.js";
2
- import { D as o } from "./DocModalBase-4058a890.js";
3
- import { D as a } from "./DocForm-5ff2cbbb.js";
4
- import { n as l } from "./main-154fab72.js";
5
- import "./vuex.esm-4a0fff7c.js";
1
+ import { m as n } from "./mapFormMixin-8d073f99.js";
2
+ import { D as o } from "./DocModalBase-f4915a62.js";
3
+ import { a } from "./formValidationMixin-4920ab53.js";
4
+ import { n as l } from "./main-04025a56.js";
5
+ import "./CDropdownItem-74672842.js";
6
6
  const c = {
7
7
  name: "TermsModal",
8
8
  components: {
@@ -64,7 +64,7 @@ const p = {
64
64
  },
65
65
  computed: {
66
66
  printPdfTerms() {
67
- return this.isPdf ? () => import("./PdfTerms-fcc835f4.js") : void 0;
67
+ return this.isPdf ? () => import("./PdfTerms-8b52bb6e.js") : void 0;
68
68
  }
69
69
  },
70
70
  methods: {
@@ -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-04025a56.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,8 +1,7 @@
1
- import { m as o } from "./formComponentsInstall-e33d6795.js";
2
- import { I as i } from "./InputToggleRow-c58dde03.js";
3
- import { B as a } from "./BaseInput-9f376e4e.js";
4
- import { n as m } from "./main-154fab72.js";
5
- import "./vuex.esm-4a0fff7c.js";
1
+ import { m as o } from "./mapFormMixin-8d073f99.js";
2
+ import { I as i } from "./InputToggleRow-9d8a7da4.js";
3
+ import { B as a } from "./BaseInput-2723d613.js";
4
+ import { n as m } from "./main-04025a56.js";
6
5
  const l = {
7
6
  i18nOptions: {
8
7
  namespaces: "estimatedTimeToCompleteText",
@@ -51,7 +50,7 @@ var s = function() {
51
50
  null,
52
51
  null
53
52
  );
54
- const v = p.exports;
53
+ const T = p.exports;
55
54
  export {
56
- v as default
55
+ T as default
57
56
  };
@@ -1,4 +1,4 @@
1
- import { n as s } from "./main-154fab72.js";
1
+ import { n as s } from "./main-04025a56.js";
2
2
  const n = {
3
3
  name: "InputCompactRow",
4
4
  props: {