@cling-se/widget 0.15.8 → 0.17.0

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 (130) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.internal.md +82 -0
  3. package/README.md +14 -43
  4. package/README.public.md +14 -0
  5. package/dist/{AddClientCallout-B3oHwM0w.js → AddClientCallout-BJzBdba1.js} +4 -4
  6. package/dist/{AnswerModal-BIY9m36m.js → AnswerModal-frHq1g4s.js} +7 -7
  7. package/dist/{AttachmentItem-CkenzhCJ.js → AttachmentItem-BaN0OrEV.js} +5 -5
  8. package/dist/{BaseDatePicker-CtqDVlHe.js → BaseDatePicker-B-AfdrSb.js} +2 -2
  9. package/dist/{BaseUpload-BeOrE1F0.js → BaseUpload-CY3lTcte.js} +3 -3
  10. package/dist/{BlockMedia-BWGMf5cf.js → BlockMedia-Bb5wQIDg.js} +2 -2
  11. package/dist/{CCallout-CB-vK9F0.js → CCallout-5quI6yyk.js} +2 -2
  12. package/dist/{CCurrencyDropdown-Dlj42evv.js → CCurrencyDropdown-C2rXt2cJ.js} +4 -4
  13. package/dist/{CDropdownItem-CRc4VSz5.js → CDropdownItem-CaoSQX6X.js} +2 -2
  14. package/dist/{CFormField-GIBoTVbZ.js → CFormField-Dd2Y71JG.js} +1 -1
  15. package/dist/{CPhoneFormat-Ca1ccVRu.js → CPhoneFormat-C8VPsiK6.js} +1 -1
  16. package/dist/{CPhoneInput-DZpyNBd0.js → CPhoneInput-BU1t6eo_.js} +5 -5
  17. package/dist/{CPriceInput-NXVAOnQP.js → CPriceInput-pv2aIVkH.js} +2 -2
  18. package/dist/{CSelect-BrHJKjec.js → CSelect-CrM45B7V.js} +5 -5
  19. package/dist/{CSkeleton-Dvy8uDVW.js → CSkeleton-BkvONMqL.js} +1 -1
  20. package/dist/{ClientAutocomplete-jfloTTJ2.js → ClientAutocomplete-BRXIKQSk.js} +6 -6
  21. package/dist/{ClientModal-DmjLYO4d.js → ClientModal-CvHAptV2.js} +14 -14
  22. package/dist/{ColorPicker-BH4PY9E2.js → ColorPicker-RgoXRrud.js} +2 -2
  23. package/dist/{CompanyModal-CAJqnGck.js → CompanyModal-OL4bD9Gk.js} +7 -7
  24. package/dist/{ContentWrapper-BI-9h6ov.js → ContentWrapper-8HduCnR4.js} +12 -13
  25. package/dist/{CoverBlockSettings-DdXMR8BZ.js → CoverBlockSettings-DUv8AcdX.js} +9 -9
  26. package/dist/{DocAnswer-Dt-bz92P.js → DocAnswer-DiyFfpT2.js} +2 -2
  27. package/dist/{DocDetails-D8QKEMLn.js → DocDetails-BxNRfBnK.js} +7 -7
  28. package/dist/{DocForm-CE9_l6w6.js → DocForm-MGp-o0pu.js} +1075 -3362
  29. package/dist/{DocFormSend-vTDflXXG.js → DocFormSend-q_QuVCqh.js} +2 -2
  30. package/dist/{DocLinks-BO9czwt7.js → DocLinks-DGDdp30U.js} +2 -2
  31. package/dist/{DocModalBase-0fsYtG6V.js → DocModalBase-qG4RqwBn.js} +2 -2
  32. package/dist/{DocPrint-xuxIQW8z.js → DocPrint-Cln3kt0g.js} +2 -2
  33. package/dist/{DocReceipt-BytYF4CL.js → DocReceipt-nbsJ-ukZ.js} +2 -2
  34. package/dist/{DocSendReminder-QvyimULH.js → DocSendReminder-B3qdqduf.js} +1 -1
  35. package/dist/{DocTextEditor-UEAnD9Ix.js → DocTextEditor-CQDnjnRY.js} +318 -308
  36. package/dist/{DocTimeline-fiAmLpmF.js → DocTimeline-CgKHoDcG.js} +2 -2
  37. package/dist/{DocumentClient-u93kv_ya.js → DocumentClient-UZlnIlz5.js} +5 -5
  38. package/dist/{DocumentLayout-BZeD_Gyt.js → DocumentLayout-Dvr4zgyF.js} +9 -8
  39. package/dist/{DocumentLogotype-byz8hCUp.js → DocumentLogotype-mAVgMRHr.js} +5 -5
  40. package/dist/{DocumentVoided-BsaIHjwB.js → DocumentVoided-BXYNrf_6.js} +1 -1
  41. package/dist/{EmbedInput-Ar_w6ypO.js → EmbedInput-YRUrw3c6.js} +3 -3
  42. package/dist/{EmbedSettings-BbBFqsyn.js → EmbedSettings-DvRreF7H.js} +4 -4
  43. package/dist/{ErrorCallout-BzYGsd1X.js → ErrorCallout-DVknpLVY.js} +4 -4
  44. package/dist/{FilePreviewModal-15Lqa5yi.js → FilePreviewModal-DC56FaGy.js} +3 -3
  45. package/dist/{Flag-Iuep7qsp.js → Flag-D5iZLESg.js} +1 -1
  46. package/dist/{HeaderSettings-CvzkxBdC.js → HeaderSettings-DXZnZL7A.js} +23 -24
  47. package/dist/{ImageSelectModal-DPE6h4RY.js → ImageSelectModal-Bu4_xZga.js} +6 -6
  48. package/dist/{ImageUploadWrapper-BLkn_myS.js → ImageUploadWrapper-CtZhkAm1.js} +3 -3
  49. package/dist/{Index-DgQ-y4d6.js → Index-B1dJO6Bk.js} +14 -17
  50. package/dist/{Index-TleoR19t.js → Index-B3pz1coY.js} +5 -5
  51. package/dist/{Index-BpVebMQy.js → Index-BHJGfHm9.js} +8 -8
  52. package/dist/{Index-DZqfg4MK.js → Index-BHgW8EHW.js} +55 -55
  53. package/dist/{Index-uUhpQoXx.js → Index-BNucs2O-.js} +6 -6
  54. package/dist/{Index-ToUQ0bbZ.js → Index-BPUYpfLJ.js} +4 -4
  55. package/dist/{Index-SPap79Kf.js → Index-BUK-1yVR.js} +2 -2
  56. package/dist/{Index-BxESK9aB.js → Index-BW-EtZ1z.js} +5 -5
  57. package/dist/{Index-DfwtlBQ3.js → Index-BioOegOO.js} +2 -2
  58. package/dist/{Index-CNH4JNBW.js → Index-BjKACpun.js} +13 -17
  59. package/dist/{Index-50TIN8HC.js → Index-C94BL4uU.js} +8 -8
  60. package/dist/{Index-kK3KdJTZ.js → Index-CB57haU8.js} +4 -4
  61. package/dist/{Index-fYzmWvd0.js → Index-CP17iXT6.js} +4 -4
  62. package/dist/{Index-CTGPvq-f.js → Index-CUSbvjoD.js} +5 -5
  63. package/dist/{Index-DMFdQHiN.js → Index-CVnD6jo5.js} +4 -4
  64. package/dist/{Index-LXkKYFjA.js → Index-Ci5zdPeT.js} +1 -1
  65. package/dist/{Index-5MnaOnb6.js → Index-CikqSMjb.js} +2 -2
  66. package/dist/{Index-BY06AGKE.js → Index-CxO4tJ3U.js} +7 -7
  67. package/dist/{Index-DL60EOXM.js → Index-D4J4BpHd.js} +10 -10
  68. package/dist/{Index-DYEEwHGV.js → Index-DAQQQlut.js} +2 -2
  69. package/dist/{Index-DY3zeep-.js → Index-DNxSR72J.js} +7 -7
  70. package/dist/{Index-CUqeHnaT.js → Index-DPuKRwmu.js} +13 -21
  71. package/dist/{Index-DQ75m466.js → Index-DSy8QG8T.js} +5 -5
  72. package/dist/{Index-CwSvxfJ5.js → Index-DX6_D-J-.js} +15 -15
  73. package/dist/{Index-D0RWB-gX.js → Index-Dk0KaIKg.js} +15 -15
  74. package/dist/{Index-Chm5-Du4.js → Index-Hkzoh9QR.js} +3 -3
  75. package/dist/{Index-7WHM8wRV.js → Index-KsHJxWAa.js} +14 -18
  76. package/dist/{Index-Zbf56tZX.js → Index-LzN6dktq.js} +2 -2
  77. package/dist/{Index-D99TWJd7.js → Index-TtItTuv6.js} +4 -4
  78. package/dist/{Index-DyjWjAAx.js → Index-YAD39Qvg.js} +9 -9
  79. package/dist/{Index-DoZ0cI55.js → Index-eh909lAz.js} +5 -5
  80. package/dist/{Index-Cax7Dsww.js → Index-otowKI_C.js} +4 -4
  81. package/dist/{Index-B6AG0SDV.js → Index-t_oVV8Rc.js} +28 -30
  82. package/dist/{Index-DMIHAmj8.js → Index-vG96oEXZ.js} +9 -9
  83. package/dist/{InputToggleRow-DNiafQW4.js → InputToggleRow-CcqJDguN.js} +2 -2
  84. package/dist/{ManualPopover-0DFFMWlf.js → ManualPopover-BE2IN-XU.js} +3 -3
  85. package/dist/{MediaWrapper-BSlTqnhh.js → MediaWrapper-lnGUFiyc.js} +3 -3
  86. package/dist/{NotBindingText-BfGCgcsR.js → NotBindingText-CM3FN0A6.js} +2 -2
  87. package/dist/{PackageGroup-DCTGA4Ro.js → PackageGroup-BsmxOMLW.js} +11 -12
  88. package/dist/{PdfTerms-CXrs6eMv.js → PdfTerms-BgYwZoAZ.js} +3 -3
  89. package/dist/{PdfViewer-DxzSft8L.js → PdfViewer-C0lDpjte.js} +38 -29
  90. package/dist/{PlainHtml-HRXr99JY.js → PlainHtml-5YwYVj1v.js} +1 -1
  91. package/dist/{PriceHeader-hXjfZxfH.js → PriceHeader-CxqhpGS-.js} +14 -15
  92. package/dist/{SearchApi-DW3HuCLP.js → SearchApi-BndaIbri.js} +2 -2
  93. package/dist/{SendForm-fONWRcc-.js → SendForm-D7U9fG-5.js} +15 -15
  94. package/dist/{Setup-Tt45041C.js → Setup-CmAK2_ZT.js} +1 -1
  95. package/dist/{SmartList-DBf6ys28.js → SmartList-DhhjSWLO.js} +1 -1
  96. package/dist/{TermsSettings-ucWr_Wwo.js → TermsSettings-BEQwmkFH.js} +6 -6
  97. package/dist/{ThemeColorRow-CF2NFLjN.js → ThemeColorRow-BlnhzebY.js} +4 -4
  98. package/dist/{ToggleBinding-DJIrPKnF.js → ToggleBinding-t_58JFya.js} +4 -4
  99. package/dist/{UploadModal-C6bdMw0O.js → UploadModal-T-WpYNsN.js} +3 -3
  100. package/dist/{VideoPlayerInput-DOZOevkX.js → VideoPlayerInput-DKHKjMgX.js} +4 -4
  101. package/dist/{VideoPlayerSettings-IMxM4ek4.js → VideoPlayerSettings-DDMlUvSt.js} +3 -3
  102. package/dist/{VideoSelectModal-siyVr32Q.js → VideoSelectModal-B9bbP0dd.js} +4 -4
  103. package/dist/{answerDocumentMixin-B39nx-g1.js → answerDocumentMixin-DXI_E5Kx.js} +3 -3
  104. package/dist/{debounce-CHDfr29z.js → debounce-D0hKNU85.js} +1 -1
  105. package/dist/dom-CWsqMElk.js +71 -0
  106. package/dist/{focusDrawerMixin-D9UjWglf.js → focusDrawerMixin-C_aTLmK0.js} +1 -1
  107. package/dist/{formDrawerState-ZuevS9li.js → formDrawerState-Da4mcbab.js} +1 -1
  108. package/dist/{formValidationMixin-Dm50vaeG.js → formValidationMixin-WZ2lGndu.js} +2 -2
  109. package/dist/{index-RCHnUQZg.js → index-B2l57ilt.js} +2 -2
  110. package/dist/{index-Dq-34h-w.js → index-COKDjmM2.js} +10 -10
  111. package/dist/{index-CUzKWi0i.js → index-HtKGcIng.js} +10 -10
  112. package/dist/{index-wO4GnKTd.js → index-LQ7NztTt.js} +1 -1
  113. package/dist/{index-BJGKN_Lo.js → index-fx5gR8fM.js} +9 -9
  114. package/dist/{index-DBKwhFmi.js → index-zXXJrTvv.js} +1 -1
  115. package/dist/index.es.js +3 -3
  116. package/dist/index.umd.js +1072 -1072
  117. package/dist/{main-DGbS8R6V.js → main-BgzLHIoo.js} +942 -1009
  118. package/dist/mapFormMixin-CQgSN7dv.js +3028 -0
  119. package/dist/{omit-BXSebC3v.js → omit-ScS7B6c5.js} +1 -1
  120. package/dist/{publicSenderState-CXESYkye.js → publicSenderState-DB4BHByV.js} +1 -1
  121. package/dist/{simplebar.min-5QX85rG2.js → simplebar.min-B0cB_p8g.js} +1 -1
  122. package/dist/style.css +2 -2
  123. package/dist/{throttle-CLeRwaqj.js → throttle-DT2UVOqm.js} +2 -2
  124. package/dist/{tippy.esm-B9UOKRIp.js → tippy.esm-CR89mtdY.js} +6 -6
  125. package/dist/{utils-ChpqjBlG.js → utils-nos8CB1L.js} +1 -1
  126. package/dist/{vuedraggable.umd-BDI5B15c.js → vuedraggable.umd-CkXXkt1b.js} +1 -1
  127. package/package.json +7 -1
  128. package/dist/dom-CJxkno7i.js +0 -91
  129. package/dist/mapFormMixin-CT5_px27.js +0 -72
  130. package/dist/tinycolor-BP1bAH70.js +0 -633
@@ -1,17 +1,17 @@
1
- import { m as y } from "./mapFormMixin-CT5_px27.js";
2
- import { C as W } from "./CCallout-CB-vK9F0.js";
3
- import { C as x, a as b, w as B } from "./CDropdownItem-CRc4VSz5.js";
4
- import { E as V } from "./ErrorCallout-BzYGsd1X.js";
5
- import { aL as F, aM as R, aN as j, aO as N, aP as H, aQ as q, l as U, aR as G, n as u, g as p, D as k, aE as K, aS as T, aT as Y, r as I, av as f, $ as Z, aU as J, aw as Q, aV as X, aW as ee, aX as A, p as te, b as o, v as ie, Z as g, H as se, K as ae, aY as ne, z as re, ae as oe } from "./main-DGbS8R6V.js";
1
+ import { m as y } from "./mapFormMixin-CQgSN7dv.js";
2
+ import { C as W } from "./CCallout-5quI6yyk.js";
3
+ import { C as x, a as b, w as B } from "./CDropdownItem-CaoSQX6X.js";
4
+ import { E as V } from "./ErrorCallout-DVknpLVY.js";
5
+ import { aS as F, aT as D, aU as j, aV as N, aW as H, aX as q, l as U, aY as G, n as u, g as p, D as k, aE as K, aZ as T, aL as Y, r as I, av as f, $ as Z, a_ as J, aw as X, a$ as Q, b0 as ee, b1 as A, p as te, b as o, v as ie, Z as g, H as se, K as ae, b2 as ne, z as re, ae as oe } from "./main-BgzLHIoo.js";
6
6
  import { m as h, a as v } from "./vuex.esm-DKGl8mcw.js";
7
- import { T as ce } from "./DocTextEditor-UEAnD9Ix.js";
8
- import { W as le } from "./DocumentLayout-BZeD_Gyt.js";
9
- import { o as D } from "./omit-BXSebC3v.js";
10
- import { d as ue } from "./vuedraggable.umd-BDI5B15c.js";
11
- import { C as w } from "./CPriceInput-NXVAOnQP.js";
12
- import { S as de } from "./SearchApi-DW3HuCLP.js";
13
- import { v as pe } from "./index-DBKwhFmi.js";
14
- import { C as O } from "./CFormField-GIBoTVbZ.js";
7
+ import { T as ce } from "./DocTextEditor-CQDnjnRY.js";
8
+ import { W as le } from "./DocumentLayout-Dvr4zgyF.js";
9
+ import { o as R } from "./omit-ScS7B6c5.js";
10
+ import { d as ue } from "./vuedraggable.umd-CkXXkt1b.js";
11
+ import { C as w } from "./CPriceInput-pv2aIVkH.js";
12
+ import { S as de } from "./SearchApi-BndaIbri.js";
13
+ import { v as pe } from "./index-zXXJrTvv.js";
14
+ import { C as O } from "./CFormField-Dd2Y71JG.js";
15
15
  const he = [
16
16
  "unit",
17
17
  "m2",
@@ -31,9 +31,9 @@ const he = [
31
31
  ];
32
32
  function me() {
33
33
  }
34
- var fe = me, C = F, ve = fe, ge = R, ye = 1 / 0, _e = C && 1 / ge(new C([, -0]))[1] == ye ? function(s) {
34
+ var fe = me, C = F, ve = fe, ge = D, ye = 1 / 0, _e = C && 1 / ge(new C([, -0]))[1] == ye ? function(s) {
35
35
  return new C(s);
36
- } : ve, ke = _e, $e = j, xe = N, be = H, we = q, Ce = ke, Te = R, Ie = 200;
36
+ } : ve, ke = _e, $e = j, xe = N, be = H, we = q, Ce = ke, Te = D, Ie = 200;
37
37
  function Ae(s, e, t) {
38
38
  var i = -1, n = xe, a = s.length, r = !0, c = [], l = c;
39
39
  if (t)
@@ -59,11 +59,11 @@ function Ae(s, e, t) {
59
59
  return c;
60
60
  }
61
61
  var Se = Ae, Pe = G, Ve = Se;
62
- function Re(s, e) {
62
+ function De(s, e) {
63
63
  return s && s.length ? Ve(s, Pe(e)) : [];
64
64
  }
65
- var De = Re;
66
- const Oe = /* @__PURE__ */ U(De), Me = {
65
+ var Re = De;
66
+ const Oe = /* @__PURE__ */ U(Re), Le = {
67
67
  name: "PackageGroupSelect",
68
68
  i18nOptions: {
69
69
  namespaces: "PackageGroupSelect",
@@ -130,7 +130,7 @@ const Oe = /* @__PURE__ */ U(De), Me = {
130
130
  };
131
131
  }
132
132
  };
133
- var Le = function() {
133
+ var Me = function() {
134
134
  var e = this, t = e._self._c;
135
135
  return t("div", { staticClass: "font-inter", staticStyle: { padding: "calc(2 * var(--rem)) 0 calc(1 * var(--rem)) 0", color: "#111" } }, [t("div", { staticStyle: { "font-size": "18px", "font-weight": "600", "text-align": "center", "margin-bottom": "calc(1.5 * var(--rem))" } }, [e._v(" " + e._s(e.$t("title")) + " ")]), t("div", [t("div", { staticClass: "options", class: { "is-700-or-less": e.parentSize.width <= 700 } }, e._l(e.options, function(i, n) {
136
136
  return t("div", { key: n, staticClass: "package-group-option", style: { backgroundColor: i.background }, on: { click: function(a) {
@@ -154,12 +154,12 @@ var Le = function() {
154
154
  var s = this, e = s._self._c;
155
155
  return e("div", { staticStyle: { flex: "1 1 auto" } }, [e("div", { staticClass: "bg-gray-100", staticStyle: { width: "40%", height: "10px", "margin-bottom": "8px" } }), e("div", { staticClass: "bg-gray-100", staticStyle: { width: "80%", height: "10px" } })]);
156
156
  }], ze = /* @__PURE__ */ u(
157
- Me,
158
157
  Le,
158
+ Me,
159
159
  Ee,
160
160
  !1,
161
161
  null,
162
- "38a3147b"
162
+ "b67c5afd"
163
163
  );
164
164
  const We = ze.exports, Be = {
165
165
  name: "ArticleAutocomplete",
@@ -318,9 +318,9 @@ var Fe = function() {
318
318
  je,
319
319
  !1,
320
320
  null,
321
- "ac5122d0"
321
+ "aa485cb9"
322
322
  );
323
- const M = Ne.exports, P = {
323
+ const L = Ne.exports, P = {
324
324
  isDeductable: !1,
325
325
  isRut: !1,
326
326
  greenRot15: !1,
@@ -337,7 +337,7 @@ const M = Ne.exports, P = {
337
337
  ...P,
338
338
  [t]: !0
339
339
  }), K(i.quantity) !== "number" && (i.quantity = 0), T(i);
340
- }, L = ({
340
+ }, M = ({
341
341
  stored: s,
342
342
  current: e,
343
343
  hidePrice: t = !1,
@@ -353,7 +353,7 @@ const M = Ne.exports, P = {
353
353
  });
354
354
  if (i) {
355
355
  const a = (l = []) => l.reduce((_, d) => ({ ..._, [d]: !1 }), {}), c = Object.values(
356
- D({
356
+ R({
357
357
  rot: "isDeductable",
358
358
  rut: "isRut",
359
359
  greenRot15: "greenRot15",
@@ -436,7 +436,7 @@ const M = Ne.exports, P = {
436
436
  },
437
437
  components: {
438
438
  ErrorCallout: V,
439
- ArticleAutocomplete: M,
439
+ ArticleAutocomplete: L,
440
440
  CPriceInput: w
441
441
  },
442
442
  props: {
@@ -484,7 +484,7 @@ const M = Ne.exports, P = {
484
484
  data() {
485
485
  return {
486
486
  updateData: $,
487
- addSavedArticle: L,
487
+ addSavedArticle: M,
488
488
  articleUnitLabel: f,
489
489
  widthCompact: 580,
490
490
  visualDisable: !1
@@ -510,7 +510,7 @@ const M = Ne.exports, P = {
510
510
  discountType: c
511
511
  } = this.article;
512
512
  if (e !== "fixed" && s.push({ title: this.$t(`priceTypeShort.${e}`) }), J(this.article)) {
513
- const l = Q(this.article);
513
+ const l = X(this.article);
514
514
  s.push({
515
515
  title: this.$t(`_common:deduction.${l}_percentage`)
516
516
  });
@@ -607,7 +607,7 @@ var Ue = function() {
607
607
  Ge,
608
608
  !1,
609
609
  null,
610
- "1da5cd26"
610
+ "417bbfef"
611
611
  );
612
612
  const Ye = Ke.exports, Ze = {
613
613
  props: {
@@ -687,15 +687,15 @@ var Je = function() {
687
687
  } } }, [t("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "35", height: "35", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M15 18l-6-6 6-6" } })])]), t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.getNavTooltip(1), expression: "getNavTooltip(1)" }], staticClass: "l-button", class: { disabled: !e.canForward }, staticStyle: { right: "calc(-4 * var(--rem))" }, on: { click: function(i) {
688
688
  return e.$emit("go", 1);
689
689
  } } }, [t("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "35", height: "35", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M9 18l6-6-6-6" } })])])]);
690
- }, Qe = [], Xe = /* @__PURE__ */ u(
690
+ }, Xe = [], Qe = /* @__PURE__ */ u(
691
691
  Ze,
692
692
  Je,
693
- Qe,
693
+ Xe,
694
694
  !1,
695
695
  null,
696
- "5985de8a"
696
+ "226f5608"
697
697
  );
698
- const et = Xe.exports, tt = {
698
+ const et = Qe.exports, tt = {
699
699
  name: "ArticleUnitEditModal",
700
700
  i18nOptions: {
701
701
  namespaces: "ArticleUnitEditModal",
@@ -723,7 +723,7 @@ const et = Xe.exports, tt = {
723
723
  }
724
724
  },
725
725
  components: {
726
- DragList: X,
726
+ DragList: Q,
727
727
  DragItem: ee,
728
728
  CField: O
729
729
  },
@@ -831,7 +831,7 @@ var it = function() {
831
831
  st,
832
832
  !1,
833
833
  null,
834
- "7a4d1468"
834
+ "ae81b7f5"
835
835
  );
836
836
  const nt = at.exports, rt = {
837
837
  name: "ArticleUnitSelect",
@@ -906,7 +906,7 @@ var ot = function() {
906
906
  ct,
907
907
  !1,
908
908
  null,
909
- "ab757fc1"
909
+ "70333fd5"
910
910
  );
911
911
  const ut = lt.exports, dt = {
912
912
  name: "ArticleModal",
@@ -915,7 +915,7 @@ const ut = lt.exports, dt = {
915
915
  messages: E
916
916
  },
917
917
  components: {
918
- ArticleAutocomplete: M,
918
+ ArticleAutocomplete: L,
919
919
  ArticleUnitSelect: ut,
920
920
  ListModalButtons: et,
921
921
  CPriceInput: w,
@@ -981,7 +981,7 @@ const ut = lt.exports, dt = {
981
981
  return {
982
982
  priceSuffix: He,
983
983
  updateData: $,
984
- addSavedArticle: L,
984
+ addSavedArticle: M,
985
985
  vatOptions: [
986
986
  { value: 25, translation: "25%" },
987
987
  { value: 12, translation: "12%" },
@@ -1293,7 +1293,7 @@ var pt = function() {
1293
1293
  ht,
1294
1294
  !1,
1295
1295
  null,
1296
- "5d132488"
1296
+ "87105822"
1297
1297
  );
1298
1298
  const ft = mt.exports, vt = {
1299
1299
  i18nOptions: {
@@ -1455,7 +1455,7 @@ const ft = mt.exports, vt = {
1455
1455
  greenRot50: "greenRot50"
1456
1456
  }, t = (i = []) => i.reduce((n, a) => ({ ...n, [a]: !1 }), {});
1457
1457
  e[s] ? this.articles.forEach((i, n) => {
1458
- const a = Object.values(D(e, [s]));
1458
+ const a = Object.values(R(e, [s]));
1459
1459
  if (a.some((r) => !!i[r])) {
1460
1460
  const r = { ...i, ...t(a) };
1461
1461
  this.$emit("input", { index: n, value: r });
@@ -1531,7 +1531,7 @@ var gt = function() {
1531
1531
  yt,
1532
1532
  !1,
1533
1533
  null,
1534
- "6cdba96e"
1534
+ "ca68ac6a"
1535
1535
  );
1536
1536
  const kt = _t.exports, $t = {
1537
1537
  name: "MaxTotalInput",
@@ -1629,7 +1629,7 @@ var It = function() {
1629
1629
  At,
1630
1630
  !1,
1631
1631
  null,
1632
- "5e314414"
1632
+ "06e47e62"
1633
1633
  );
1634
1634
  const Pt = St.exports, Vt = {
1635
1635
  name: "EditDeduction",
@@ -1675,7 +1675,7 @@ const Pt = St.exports, Vt = {
1675
1675
  }
1676
1676
  }
1677
1677
  };
1678
- var Rt = function() {
1678
+ var Dt = function() {
1679
1679
  var e = this, t = e._self._c;
1680
1680
  return t("div", [t("modal", e._b({ attrs: { name: `deduction-modal-${e._uid}` } }, "modal", {
1681
1681
  adaptive: !0,
@@ -1708,18 +1708,18 @@ var Rt = function() {
1708
1708
  } } }, [e._v(" " + e._s(e.$t("reset")) + " ")])], 1)]), e.houseWorkManualAmount ? t("portal", { attrs: { order: 2, to: "document-nav-bottom" } }, [t("div", { staticClass: "housework-manual-nav", on: { click: function(i) {
1709
1709
  return e.$modal.show(`deduction-modal-${e._uid}`);
1710
1710
  } } }, [t("svg", { staticClass: "css-i6dzq1", staticStyle: { "margin-right": "0.5em" }, attrs: { viewBox: "0 0 24 24", width: "12", height: "12", stroke: "currentColor", "stroke-width": "2", fill: "none", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" } }), t("line", { attrs: { x1: "12", y1: "9", x2: "12", y2: "13" } }), t("line", { attrs: { x1: "12", y1: "17", x2: "12.01", y2: "17" } })]), e._v(" " + e._s(e.$t("deduction.manualType", { type: e.$t(`deduction.${e.houseWorkType}`) })) + " " + e._s(e.$t("using")) + " ")])]) : e._e()], 1);
1711
- }, Dt = [], Ot = /* @__PURE__ */ u(
1711
+ }, Rt = [], Ot = /* @__PURE__ */ u(
1712
1712
  Vt,
1713
- Rt,
1714
1713
  Dt,
1714
+ Rt,
1715
1715
  !1,
1716
1716
  null,
1717
- "1e846fc7"
1717
+ "cff30915"
1718
1718
  );
1719
- const Mt = Ot.exports, Lt = {
1719
+ const Lt = Ot.exports, Mt = {
1720
1720
  name: "Pricing",
1721
1721
  components: {
1722
- EditDeduction: Mt
1722
+ EditDeduction: Lt
1723
1723
  },
1724
1724
  props: {
1725
1725
  _document: {
@@ -1827,12 +1827,12 @@ var Et = function() {
1827
1827
  } } }, [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(i.prefix) + " " + e._s(i.value) + " ")])]);
1828
1828
  }), 0)]);
1829
1829
  }, zt = [], Wt = /* @__PURE__ */ u(
1830
- Lt,
1830
+ Mt,
1831
1831
  Et,
1832
1832
  zt,
1833
1833
  !1,
1834
1834
  null,
1835
- "8a96a1f0"
1835
+ "b501fae0"
1836
1836
  );
1837
1837
  const Bt = Wt.exports, Ft = {
1838
1838
  name: "PackageItemEdit",
@@ -2072,7 +2072,7 @@ var jt = function() {
2072
2072
  Nt,
2073
2073
  !1,
2074
2074
  null,
2075
- "51ec9229"
2075
+ "8c34e2f0"
2076
2076
  );
2077
2077
  const qt = Ht.exports, Ut = (s) => (s || []).slice(0, 1).map((e) => ({
2078
2078
  ...e,
@@ -2432,15 +2432,15 @@ var Jt = function() {
2432
2432
  } } }, [e._v(" " + e._s(e.$t("add")) + " ")])], 1)], 1) : e._e()] : t("div", [t("PackageGroupSelect", { on: { input: function(i) {
2433
2433
  return e.onSelectType(i);
2434
2434
  } } }), e.validator.$invalid && e.validator.$dirty ? t("ErrorCallout", { staticStyle: { "padding-bottom": "calc(1.5 * var(--rem))" }, attrs: { message: e.$t("error.selectType") } }) : e._e()], 1)], 2);
2435
- }, Qt = [], Xt = /* @__PURE__ */ u(
2435
+ }, Xt = [], Qt = /* @__PURE__ */ u(
2436
2436
  Zt,
2437
2437
  Jt,
2438
- Qt,
2438
+ Xt,
2439
2439
  !1,
2440
2440
  null,
2441
- "c254d910"
2441
+ "2a8fb7bc"
2442
2442
  );
2443
- const mi = Xt.exports;
2443
+ const mi = Qt.exports;
2444
2444
  export {
2445
2445
  mi as default
2446
2446
  };
@@ -1,7 +1,7 @@
1
- import { m as n } from "./mapFormMixin-CT5_px27.js";
2
- import { D as l } from "./DocModalBase-0fsYtG6V.js";
3
- import { a as o } from "./DocumentLayout-BZeD_Gyt.js";
4
- import { n as a } from "./main-DGbS8R6V.js";
1
+ import { m as n } from "./mapFormMixin-CQgSN7dv.js";
2
+ import { D as l } from "./DocModalBase-qG4RqwBn.js";
3
+ import { a as o } from "./DocumentLayout-Dvr4zgyF.js";
4
+ import { n as a } from "./main-BgzLHIoo.js";
5
5
  const c = {
6
6
  name: "TermsModal",
7
7
  components: {
@@ -66,7 +66,7 @@ const p = f.exports, u = {
66
66
  },
67
67
  computed: {
68
68
  printPdfTerms() {
69
- return this.isPdf ? () => import("./PdfTerms-CXrs6eMv.js") : void 0;
69
+ return this.isPdf ? () => import("./PdfTerms-BgYwZoAZ.js") : void 0;
70
70
  }
71
71
  },
72
72
  methods: {
@@ -146,7 +146,7 @@ var v = /* @__PURE__ */ a(
146
146
  _,
147
147
  !1,
148
148
  null,
149
- "1909510f"
149
+ "7623e4d6"
150
150
  );
151
151
  const k = v.exports;
152
152
  export {
@@ -1,6 +1,6 @@
1
- import { P as m } from "./PlainHtml-HRXr99JY.js";
2
- import { Z as c, D as u, n as p } from "./main-DGbS8R6V.js";
3
- import { s as g } from "./dom-CJxkno7i.js";
1
+ import { P as m } from "./PlainHtml-5YwYVj1v.js";
2
+ import { Z as c, D as u, n as p } from "./main-BgzLHIoo.js";
3
+ import { s as g } from "./dom-CWsqMElk.js";
4
4
  const h = {
5
5
  name: "ExtraWorkConstructionPricingListRead",
6
6
  props: {
@@ -163,7 +163,7 @@ var k = /* @__PURE__ */ p(
163
163
  b,
164
164
  !1,
165
165
  null,
166
- "fae3b360"
166
+ "1142813c"
167
167
  );
168
168
  const y = k.exports;
169
169
  export {
@@ -1,5 +1,5 @@
1
- import { P as e } from "./PlainHtml-HRXr99JY.js";
2
- import { n } from "./main-DGbS8R6V.js";
1
+ import { P as e } from "./PlainHtml-5YwYVj1v.js";
2
+ import { n } from "./main-BgzLHIoo.js";
3
3
  const s = {
4
4
  name: "EstimatedWorkStartAndEndAtTextRead",
5
5
  props: {
@@ -1,6 +1,6 @@
1
- import { m as n } from "./mapFormMixin-CT5_px27.js";
2
- import { f as o } from "./focusDrawerMixin-D9UjWglf.js";
3
- import { n as i } from "./main-DGbS8R6V.js";
1
+ import { m as n } from "./mapFormMixin-CQgSN7dv.js";
2
+ import { f as o } from "./focusDrawerMixin-C_aTLmK0.js";
3
+ import { n as i } from "./main-BgzLHIoo.js";
4
4
  const a = {
5
5
  name: "Terms",
6
6
  i18nOptions: {
@@ -15,8 +15,8 @@ const a = {
15
15
  }
16
16
  },
17
17
  components: {
18
- Read: () => import("./Index-uUhpQoXx.js"),
19
- TermsSettings: () => import("./TermsSettings-ucWr_Wwo.js")
18
+ Read: () => import("./Index-BNucs2O-.js"),
19
+ TermsSettings: () => import("./TermsSettings-BEQwmkFH.js")
20
20
  },
21
21
  mixins: [
22
22
  n(["href", "termType", "file", "text"]),
@@ -1,5 +1,5 @@
1
- import { P as r } from "./PlainHtml-HRXr99JY.js";
2
- import { n as o } from "./main-DGbS8R6V.js";
1
+ import { P as r } from "./PlainHtml-5YwYVj1v.js";
2
+ import { n as o } from "./main-BgzLHIoo.js";
3
3
  const s = {
4
4
  name: "ExtraWorkTimeImpactTextRead",
5
5
  props: {
@@ -1,7 +1,7 @@
1
- import { m as i } from "./mapFormMixin-CT5_px27.js";
2
- import { S as o, n as a } from "./main-DGbS8R6V.js";
3
- import { f as r } from "./focusDrawerMixin-D9UjWglf.js";
4
- const d = {
1
+ import { m as o } from "./mapFormMixin-CQgSN7dv.js";
2
+ import { S as i, n as a } from "./main-BgzLHIoo.js";
3
+ import { f as d } from "./focusDrawerMixin-C_aTLmK0.js";
4
+ const r = {
5
5
  // eslint-disable-next-line vue/no-reserved-component-names
6
6
  name: "Embed",
7
7
  i18nOptions: {
@@ -16,11 +16,11 @@ const d = {
16
16
  }
17
17
  },
18
18
  components: {
19
- EmbedSettings: () => import("./EmbedSettings-BbBFqsyn.js"),
20
- EmbedInput: () => import("./EmbedInput-Ar_w6ypO.js"),
21
- Spinner: o
19
+ EmbedSettings: () => import("./EmbedSettings-DvRreF7H.js"),
20
+ EmbedInput: () => import("./EmbedInput-YRUrw3c6.js"),
21
+ Spinner: i
22
22
  },
23
- mixins: [i(["embed", "size"]), r],
23
+ mixins: [o(["embed", "size"]), d],
24
24
  data() {
25
25
  return {
26
26
  showControls: !1,
@@ -29,10 +29,8 @@ const d = {
29
29
  },
30
30
  methods: {
31
31
  onAdd() {
32
- const n = () => {
33
- this.$refs.input.focus();
34
- };
35
- this.$refs.input ? n() : this.$once("triggerOnAdd", n);
32
+ var n;
33
+ this._isNodeRecentlyAdded() && ((n = this.$refs.input) == null || n.focus());
36
34
  }
37
35
  }
38
36
  };
@@ -45,9 +43,7 @@ var m = function() {
45
43
  } } }, [s("div", { staticClass: "no-drag", class: [
46
44
  (e.size || !(e.embed && e.embed.src)) && "auto-size",
47
45
  `embed-is-${e.size}`
48
- ] }, [e.embed ? s("div", { staticClass: "embed-container" }, [!e.embed.src && e.canEdit ? s("div", { staticClass: "embed-element" }, [s("div", { staticClass: "is-placeholder" }, [s("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), s("EmbedInput", { ref: "input", staticStyle: { "padding-top": "1em" }, on: { "hook:mounted": function(t) {
49
- return e.$emit("triggerOnAdd");
50
- } }, model: { value: e.embed, callback: function(t) {
46
+ ] }, [e.embed ? s("div", { staticClass: "embed-container" }, [!e.embed.src && e.canEdit ? s("div", { staticClass: "embed-element" }, [s("div", { staticClass: "is-placeholder" }, [s("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), s("EmbedInput", { ref: "input", staticStyle: { "padding-top": "1em" }, on: { "hook:mounted": e.onAdd }, model: { value: e.embed, callback: function(t) {
51
47
  e.embed = t;
52
48
  }, expression: "embed" } })], 1)]) : e.embed.src ? s("iframe", e._b({ ref: "iframe", staticClass: "embed-element", on: { load: function(t) {
53
49
  e.isLoading = !1;
@@ -57,12 +53,12 @@ var m = function() {
57
53
  e.embed = t;
58
54
  }, expression: "embed" } })], 1) : e._e()] : e._e()], 2);
59
55
  }, l = [], c = /* @__PURE__ */ a(
60
- d,
56
+ r,
61
57
  m,
62
58
  l,
63
59
  !1,
64
60
  null,
65
- "f12f277e"
61
+ "34433ee5"
66
62
  );
67
63
  const p = c.exports;
68
64
  export {
@@ -1,11 +1,11 @@
1
- import { w as c } from "./CDropdownItem-CRc4VSz5.js";
2
- import { g as a, h as m, n as d, b as l, e as u } from "./main-DGbS8R6V.js";
3
- import { s as p, i as v } from "./dom-CJxkno7i.js";
4
- import { D as _ } from "./DocModalBase-0fsYtG6V.js";
5
- import { C as g } from "./CFormField-GIBoTVbZ.js";
6
- import { v as n } from "./index-DBKwhFmi.js";
1
+ import { w as c } from "./CDropdownItem-CaoSQX6X.js";
2
+ import { g as a, h as m, n as d, b as l, e as u } from "./main-BgzLHIoo.js";
3
+ import { s as p, i as v } from "./dom-CWsqMElk.js";
4
+ import { D as _ } from "./DocModalBase-qG4RqwBn.js";
5
+ import { C as g } from "./CFormField-Dd2Y71JG.js";
6
+ import { v as n } from "./index-zXXJrTvv.js";
7
7
  import { a as h } from "./vuex.esm-DKGl8mcw.js";
8
- import { a as C } from "./answerDocumentMixin-B39nx-g1.js";
8
+ import { a as C } from "./answerDocumentMixin-DXI_E5Kx.js";
9
9
  const w = {
10
10
  i18nOptions: {
11
11
  namespaces: "components",
@@ -286,7 +286,7 @@ var H = function() {
286
286
  D,
287
287
  !1,
288
288
  null,
289
- "1a7731c6"
289
+ "a09f8d01"
290
290
  );
291
291
  const B = I.exports;
292
292
  export {
@@ -1,7 +1,7 @@
1
- import { m as r } from "./mapFormMixin-CT5_px27.js";
2
- import { I as n } from "./InputToggleRow-DNiafQW4.js";
3
- import { B as s } from "./BaseDatePicker-CtqDVlHe.js";
4
- import { n as l } from "./main-DGbS8R6V.js";
1
+ import { m as r } from "./mapFormMixin-CQgSN7dv.js";
2
+ import { I as n } from "./InputToggleRow-CcqJDguN.js";
3
+ import { B as s } from "./BaseDatePicker-B-AfdrSb.js";
4
+ import { n as l } from "./main-BgzLHIoo.js";
5
5
  const c = {
6
6
  i18nOptions: {
7
7
  namespaces: "estimatedTimeStartEnd",
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-CT5_px27.js";
2
- import { n as r } from "./main-DGbS8R6V.js";
1
+ import { m as e } from "./mapFormMixin-CQgSN7dv.js";
2
+ import { n as r } from "./main-BgzLHIoo.js";
3
3
  const a = {
4
4
  name: "EstimatedWorkStartAndEndAtText",
5
5
  components: {
6
- Read: () => import("./Index-SPap79Kf.js"),
7
- Edit: () => import("./Index-kK3KdJTZ.js")
6
+ Read: () => import("./Index-BUK-1yVR.js"),
7
+ Edit: () => import("./Index-CB57haU8.js")
8
8
  },
9
9
  mixins: [e(["startAt", "endAt"])]
10
10
  };
@@ -1,10 +1,10 @@
1
- import { m as o } from "./mapFormMixin-CT5_px27.js";
2
- import { n as s } from "./main-DGbS8R6V.js";
1
+ import { m as o } from "./mapFormMixin-CQgSN7dv.js";
2
+ import { n as s } from "./main-BgzLHIoo.js";
3
3
  const i = {
4
4
  name: "PackageGroupBlock",
5
5
  components: {
6
- PackageGroupRead: () => import("./PackageGroup-DCTGA4Ro.js"),
7
- PackageGroupEdit: () => import("./Index-DZqfg4MK.js")
6
+ PackageGroupRead: () => import("./PackageGroup-BsmxOMLW.js"),
7
+ PackageGroupEdit: () => import("./Index-BHgW8EHW.js")
8
8
  },
9
9
  mixins: [o(["type", "packages"])],
10
10
  data() {
@@ -54,7 +54,7 @@ var p = function() {
54
54
  u,
55
55
  !1,
56
56
  null,
57
- "a80b0d65"
57
+ "7cd7cb23"
58
58
  );
59
59
  const _ = n.exports;
60
60
  export {
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-CT5_px27.js";
2
- import { n as i } from "./main-DGbS8R6V.js";
1
+ import { m as e } from "./mapFormMixin-CQgSN7dv.js";
2
+ import { n as i } from "./main-BgzLHIoo.js";
3
3
  const m = {
4
4
  name: "EstimatedTimeToComplete",
5
5
  components: {
6
- Read: () => import("./Index-Zbf56tZX.js"),
7
- Edit: () => import("./Index-Cax7Dsww.js")
6
+ Read: () => import("./Index-LzN6dktq.js"),
7
+ Edit: () => import("./Index-otowKI_C.js")
8
8
  },
9
9
  mixins: [e(["noOfTimeUnits", "timeUnit"])]
10
10
  };
@@ -1,4 +1,4 @@
1
- import { u as t, x as o, n as _ } from "./main-DGbS8R6V.js";
1
+ import { u as t, x as o, n as _ } from "./main-BgzLHIoo.js";
2
2
  const p = /* @__PURE__ */ t({
3
3
  __name: "Index",
4
4
  props: {
@@ -1,4 +1,4 @@
1
- import { u, Y as d, x as l, n as _ } from "./main-DGbS8R6V.js";
1
+ import { u, Y as d, x as l, n as _ } from "./main-BgzLHIoo.js";
2
2
  const p = /* @__PURE__ */ u({
3
3
  __name: "Index",
4
4
  props: {
@@ -33,7 +33,7 @@ var f = function() {
33
33
  m,
34
34
  !1,
35
35
  null,
36
- "566e86c8"
36
+ "5ec34827"
37
37
  );
38
38
  const C = v.exports;
39
39
  export {
@@ -1,10 +1,10 @@
1
- import { m as o } from "./mapFormMixin-CT5_px27.js";
2
- import { n as i } from "./main-DGbS8R6V.js";
1
+ import { m as o } from "./mapFormMixin-CQgSN7dv.js";
2
+ import { n as i } from "./main-BgzLHIoo.js";
3
3
  const a = {
4
4
  name: "NotBinding",
5
5
  components: {
6
- Edit: () => import("./ToggleBinding-DJIrPKnF.js"),
7
- Read: () => import("./NotBindingText-BfGCgcsR.js")
6
+ Edit: () => import("./ToggleBinding-t_58JFya.js"),
7
+ Read: () => import("./NotBindingText-CM3FN0A6.js")
8
8
  },
9
9
  mixins: [o()]
10
10
  };
@@ -18,9 +18,9 @@ var r = function() {
18
18
  m,
19
19
  !1,
20
20
  null,
21
- "8587fb62"
21
+ "a3b56101"
22
22
  );
23
- const f = _.exports;
23
+ const p = _.exports;
24
24
  export {
25
- f as default
25
+ p as default
26
26
  };