@cling-se/widget 0.9.3 → 0.9.5

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 (145) hide show
  1. package/dist/{AddClientCallout-746899d9.js → AddClientCallout-e4e9874f.js} +5 -5
  2. package/dist/{AnswerModal-fdfea0f8.js → AnswerModal-acd3b9c0.js} +248 -248
  3. package/dist/{AttachmentItem-5671c64d.js → AttachmentItem-34e91526.js} +8 -8
  4. package/dist/{BaseDatePicker-a9240306.js → BaseDatePicker-581297bc.js} +43 -43
  5. package/dist/{BaseInput-d3c3688b.js → BaseInput-29d88150.js} +1 -1
  6. package/dist/{BaseUpload-8e7a2b72.js → BaseUpload-84d3b68b.js} +27 -26
  7. package/dist/{BlockMedia-b613a2a4.js → BlockMedia-319932b8.js} +1 -1
  8. package/dist/{CCallout-e9ff903a.js → CCallout-88ae9c08.js} +6 -6
  9. package/dist/{CDropdownItem-05d84f95.js → CDropdownItem-d46bf062.js} +76 -75
  10. package/dist/{CField-cd4dcae9.js → CField-be05883b.js} +1 -1
  11. package/dist/{CSlider.vue_vue_type_style_index_0_lang-383db616.js → CSlider.vue_vue_type_style_index_0_lang-df4c839e.js} +1 -1
  12. package/dist/{ClientAutocomplete-421a2216.js → ClientAutocomplete-68f76bfc.js} +4 -4
  13. package/dist/{ClientModal-11341b1c.js → ClientModal-73086005.js} +16 -16
  14. package/dist/{ColorPicker-f90939b5.js → ColorPicker-11ee76f0.js} +2 -2
  15. package/dist/{CompanyModal-2bfd21b8.js → CompanyModal-0fec4480.js} +8 -8
  16. package/dist/{ContentWrapper-4aae35b2.js → ContentWrapper-fba78b6f.js} +19 -19
  17. package/dist/{CoverBlockSettings-1f917be3.js → CoverBlockSettings-7ffa15b1.js} +19 -19
  18. package/dist/{DocForm-0891c6b2.js → DocForm-e56b3a0c.js} +1208 -832
  19. package/dist/{DocFormSend-2b35999d.js → DocFormSend-cdc4eaf8.js} +14 -14
  20. package/dist/{DocModalBase-225e2f2d.js → DocModalBase-e473b946.js} +4 -4
  21. package/dist/DocPrint-6d8b1f14.js +222 -0
  22. package/dist/{DocReceipt-1391c17a.js → DocReceipt-c8a543f8.js} +1 -1
  23. package/dist/{DocSendReminder-c488842d.js → DocSendReminder-70effa09.js} +1 -1
  24. package/dist/{DocTextEditor-2538e1ab.js → DocTextEditor-cce51e7c.js} +19 -19
  25. package/dist/{DocTimeline-69ada0de.js → DocTimeline-c2cbd773.js} +11 -11
  26. package/dist/{DocumentClient-74b8f25b.js → DocumentClient-611c8c1c.js} +8 -6
  27. package/dist/{formValidationMixin-df38771c.js → DocumentLayout-86c367d1.js} +1617 -1709
  28. package/dist/{DocumentLogotype-e89b53fb.js → DocumentLogotype-441a9fdb.js} +3 -3
  29. package/dist/{EmbedInput-b7fefe5e.js → EmbedInput-a5938c25.js} +2 -2
  30. package/dist/{EmbedSettings-4957252f.js → EmbedSettings-141ab53c.js} +10 -10
  31. package/dist/ErrorCallout-7dea37df.js +30 -0
  32. package/dist/{FilePreviewModal-75693619.js → FilePreviewModal-875fd8c9.js} +8 -7
  33. package/dist/{HeaderSettings-9b69eada.js → HeaderSettings-0364b6df.js} +29 -29
  34. package/dist/{ImageSelectModal-94d4dc7f.js → ImageSelectModal-2d3a69db.js} +11 -11
  35. package/dist/{ImageUploadWrapper-a144b042.js → ImageUploadWrapper-7c70045f.js} +4 -4
  36. package/dist/{Index-023c3119.js → Index-006a27da.js} +10 -10
  37. package/dist/{Index-ec8d534f.js → Index-0313a553.js} +2 -2
  38. package/dist/{Index-4563d3fa.js → Index-06bd31c3.js} +26 -26
  39. package/dist/Index-07ae23ce.js +54 -0
  40. package/dist/{Index-62936c19.js → Index-0f4c9eb4.js} +34 -34
  41. package/dist/{Index-3dff19dd.js → Index-1e0cf88a.js} +10 -9
  42. package/dist/{Index-37a9183b.js → Index-1fc54467.js} +4 -4
  43. package/dist/{Index-abb8c6e4.js → Index-205dd368.js} +14 -14
  44. package/dist/{Index-b7def77a.js → Index-245f88ff.js} +10 -10
  45. package/dist/{Index-9a243eb8.js → Index-28bdb859.js} +2 -2
  46. package/dist/{Index-90492f19.js → Index-2a0c06b1.js} +3 -3
  47. package/dist/{Index-2cb8fa22.js → Index-3d84a32c.js} +9 -9
  48. package/dist/{Index-9ffe9766.js → Index-418c517f.js} +4 -4
  49. package/dist/{Index-f9b5f03c.js → Index-5196628a.js} +27 -27
  50. package/dist/{Index-dbe97658.js → Index-532b8844.js} +2 -2
  51. package/dist/{Index-96f39afc.js → Index-53348c92.js} +4 -4
  52. package/dist/{Index-cec7d4f1.js → Index-54962a1e.js} +15 -15
  53. package/dist/{Index-a37beb03.js → Index-5de564da.js} +2 -2
  54. package/dist/{Index-d68a28da.js → Index-6f957f7e.js} +15 -15
  55. package/dist/{Index-304c45be.js → Index-710d1132.js} +8 -8
  56. package/dist/{Index-a86ea774.js → Index-7a2f20fd.js} +9 -9
  57. package/dist/{Index-693005f0.js → Index-818ef607.js} +4 -4
  58. package/dist/Index-875e7805.js +79 -0
  59. package/dist/{Index-f453850f.js → Index-889b6a45.js} +18 -19
  60. package/dist/{Index-a554b58c.js → Index-8975cd1e.js} +4 -4
  61. package/dist/{Index-97d1f2f3.js → Index-affdb14c.js} +11 -10
  62. package/dist/{Index-3ee2e944.js → Index-b80ab22f.js} +2 -2
  63. package/dist/{Index-53da7be8.js → Index-ba48e68b.js} +8 -8
  64. package/dist/{Index-35387450.js → Index-beb43a1a.js} +95 -95
  65. package/dist/{Index-00ef9241.js → Index-c746dc64.js} +13 -13
  66. package/dist/{Index-1bafafca.js → Index-cf54ef50.js} +2 -2
  67. package/dist/{Index-4440fe3d.js → Index-dbf5c34c.js} +4 -4
  68. package/dist/{Index-bcc478b3.js → Index-fa01557d.js} +12 -12
  69. package/dist/{Index-78f13416.js → Index-ff60354c.js} +7 -7
  70. package/dist/{InputToggleRow-68320d9f.js → InputToggleRow-c520bed9.js} +5 -5
  71. package/dist/IsPremiumPreStep-d4739d6a.js +2443 -0
  72. package/dist/{MediaWrapper-c50879c2.js → MediaWrapper-722723f7.js} +3 -3
  73. package/dist/{NotBindingText-8f2d9244.js → NotBindingText-613399b6.js} +2 -2
  74. package/dist/{PackageGroup-2c49e99b.js → PackageGroup-1085c76c.js} +56 -56
  75. package/dist/{PdfTerms-94153a5f.js → PdfTerms-f98a6f75.js} +8 -7
  76. package/dist/{PdfViewer-701ad40e.js → PdfViewer-096bbf00.js} +5 -4
  77. package/dist/{PlainHtml-04a6d7f9.js → PlainHtml-752bc8d6.js} +1 -1
  78. package/dist/PriceHeader-e25df5eb.js +337 -0
  79. package/dist/{SearchApi-ffe5b697.js → SearchApi-20629627.js} +2 -2
  80. package/dist/{TermsSettings-b1bf19e9.js → TermsSettings-4cc4a9ee.js} +11 -11
  81. package/dist/{ThemeColorRow-913497f6.js → ThemeColorRow-c292abc6.js} +3 -3
  82. package/dist/{ToggleBinding-6518935d.js → ToggleBinding-406175fb.js} +3 -3
  83. package/dist/{UploadModal-3c399d25.js → UploadModal-0cbd0c8f.js} +16 -16
  84. package/dist/{VideoPlayerInput-b54845a4.js → VideoPlayerInput-d7b5fe4b.js} +3 -3
  85. package/dist/{VideoPlayerSettings-496e9e79.js → VideoPlayerSettings-51c75143.js} +12 -12
  86. package/dist/VideoSelectModal-e34cde4b.js +111 -0
  87. package/dist/{answerDocumentMixin-0e5e4dbb.js → answerDocumentMixin-574c5304.js} +3 -3
  88. package/dist/assets/article-options-10291.png +0 -0
  89. package/dist/assets/bg-base-13048.png +0 -0
  90. package/dist/assets/bg-pro-81076.png +0 -0
  91. package/dist/assets/bg-start-20630.png +0 -0
  92. package/dist/assets/blank-10674.png +0 -0
  93. package/dist/assets/block-options-17322.png +0 -0
  94. package/dist/assets/columnGallery.image-24825.png +0 -0
  95. package/dist/assets/doc-send-94456.png +0 -0
  96. package/dist/assets/drag-block-17194.png +0 -0
  97. package/dist/assets/headerCircularGradient.image-13878.png +0 -0
  98. package/dist/assets/roiCalculator.image-14704.png +0 -0
  99. package/dist/assets/text-bubble-53861.png +0 -0
  100. package/dist/{cssMode-c0865919.js → cssMode-eda08630.js} +19 -15
  101. package/dist/dom-068d1a7b.js +59 -0
  102. package/dist/{focusDrawerMixin-298861bc.js → focusDrawerMixin-72f8dd7a.js} +1 -1
  103. package/dist/{formComponentsInstall-1be6791d.js → formComponentsInstall-3f1c6477.js} +40 -40
  104. package/dist/formValidationMixin-d4e84872.js +49 -0
  105. package/dist/{freemarker2-85dde97c.js → freemarker2-42cdfba5.js} +23 -19
  106. package/dist/{handlebars-6aa1e52b.js → handlebars-b4515777.js} +15 -11
  107. package/dist/{html-f0c735cd.js → html-ea5d1845.js} +18 -14
  108. package/dist/{htmlMode-7b3bd7c9.js → htmlMode-1cc3531d.js} +23 -19
  109. package/dist/{index-1ef6f423.js → index-07377b76.js} +45 -45
  110. package/dist/index-676b9274.js +17 -0
  111. package/dist/{index-431938de.js → index-762349d7.js} +7 -7
  112. package/dist/{index-30808a2c.js → index-7adda710.js} +31 -31
  113. package/dist/index.es.js +8 -8
  114. package/dist/index.umd.js +537 -533
  115. package/dist/{javascript-9c54ad9e.js → javascript-185ef2e0.js} +15 -11
  116. package/dist/{jsonMode-1d1176fa.js → jsonMode-59ea4e99.js} +23 -19
  117. package/dist/{liquid-0738c73d.js → liquid-517f2a7c.js} +18 -14
  118. package/dist/{main-2d9b8259.js → main-95207159.js} +15376 -12887
  119. package/dist/{mapFormMixin-308bbdab.js → mapFormMixin-a245a297.js} +1 -1
  120. package/dist/{publicSenderState-9eecb11f.js → publicSenderState-bea5980b.js} +1 -1
  121. package/dist/{python-588c9e64.js → python-eb6703d8.js} +15 -11
  122. package/dist/{razor-fbaa1d21.js → razor-4c5b7deb.js} +22 -18
  123. package/dist/simplebar.min-97b539d6.js +71 -0
  124. package/dist/style.css +2 -2
  125. package/dist/template-b3af7583.js +528 -0
  126. package/dist/{throttle-d7bed81a.js → throttle-a0ce8f66.js} +2 -2
  127. package/dist/{tinycolor-ef496244.js → tinycolor-65e7dc2e.js} +1 -1
  128. package/dist/{FormInputRow-09d450e3.js → tippy.esm-3c111ba9.js} +285 -285
  129. package/dist/{tsMode-c1de8e10.js → tsMode-a4a0e653.js} +19 -15
  130. package/dist/{typescript-737827aa.js → typescript-aeab7849.js} +15 -11
  131. package/dist/{utils-69c41ae9.js → utils-580c7144.js} +1 -1
  132. package/dist/{vuedraggable.umd-67b8cddf.js → vuedraggable.umd-2c22e5f8.js} +41 -41
  133. package/dist/{xml-30e811a1.js → xml-098907e6.js} +18 -14
  134. package/package.json +3 -2
  135. package/stats.html +1 -1
  136. package/vite-plugin-library-asset-external/index.js +134 -0
  137. package/dist/ErrorCallout-42e45ec0.js +0 -30
  138. package/dist/Index-42e26b46.js +0 -79
  139. package/dist/Index-f2b66b79.js +0 -47
  140. package/dist/IsPremiumPreStep-0c7032a3.js +0 -1919
  141. package/dist/PriceHeader-7f92d5a7.js +0 -336
  142. package/dist/VideoSelectModal-3a566398.js +0 -111
  143. package/dist/index-6d08eac3.js +0 -14
  144. package/dist/simplebar.min-75960401.js +0 -2429
  145. package/dist/template-b877debf.js +0 -526
@@ -1,18 +1,18 @@
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";
1
+ import { aH as B, aI as A, aJ as E, aK as z, aL as W, aM as F, f as j, aN as N, b as o, n as c, o as H, aO as x, aD as q, aP as w, aQ as U, aa as f, P as G, g as p, q as k, aR as K, ab as Y, aS as Z, aT as J, aU as C, p as Q, G as g, r as X, t as ee, aV as te, l as ie, L as se } from "./main-95207159.js";
2
2
  import { m as h, a as v } from "./vuex.esm-4a0fff7c.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";
3
+ import { m as y } from "./mapFormMixin-a245a297.js";
4
+ import { E as P } from "./ErrorCallout-7dea37df.js";
5
+ import { T as ae } from "./DocTextEditor-cce51e7c.js";
6
+ import { o as S, d as ne } from "./vuedraggable.umd-2c22e5f8.js";
7
+ import { W as re } from "./DocumentLayout-86c367d1.js";
8
+ import { C as oe } from "./tippy.esm-3c111ba9.js";
9
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";
10
+ import { S as ce } from "./SearchApi-20629627.js";
11
+ import { w as ue } from "./CDropdownItem-d46bf062.js";
12
+ import { B as V } from "./BaseInput-29d88150.js";
13
+ import "./CSlider.vue_vue_type_style_index_0_lang-df4c839e.js";
14
14
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
15
- import "./ColorPicker-f90939b5.js";
15
+ import "./ColorPicker-11ee76f0.js";
16
16
  import "./color-71c20583.js";
17
17
  const de = [
18
18
  "unit",
@@ -35,12 +35,12 @@ function pe() {
35
35
  }
36
36
  var he = pe, b = B, me = he, fe = A, ve = 1 / 0, ge = b && 1 / fe(new b([, -0]))[1] == ve ? function(i) {
37
37
  return new b(i);
38
- } : me, ye = ge, _e = E, ke = z, $e = F, xe = W, be = ye, we = A, Ie = 200;
39
- function Ce(i, e, t) {
38
+ } : me, ye = ge, _e = E, ke = z, $e = W, xe = F, be = ye, we = A, Ce = 200;
39
+ function Ie(i, e, t) {
40
40
  var s = -1, n = ke, a = i.length, r = !0, l = [], u = l;
41
41
  if (t)
42
42
  r = !1, n = $e;
43
- else if (a >= Ie) {
43
+ else if (a >= Ce) {
44
44
  var _ = e ? null : be(i);
45
45
  if (_)
46
46
  return we(_);
@@ -51,8 +51,8 @@ function Ce(i, e, t) {
51
51
  for (; ++s < a; ) {
52
52
  var d = i[s], m = e ? e(d) : d;
53
53
  if (d = t || d !== 0 ? d : 0, r && m === m) {
54
- for (var C = u.length; C--; )
55
- if (u[C] === m)
54
+ for (var I = u.length; I--; )
55
+ if (u[I] === m)
56
56
  continue e;
57
57
  e && u.push(m), l.push(d);
58
58
  } else
@@ -60,11 +60,11 @@ function Ce(i, e, t) {
60
60
  }
61
61
  return l;
62
62
  }
63
- var Te = Ce, Ae = N, Se = Te;
64
- function Pe(i, e) {
65
- return i && i.length ? Se(i, Ae(e)) : [];
63
+ var Te = Ie, Ae = N, Pe = Te;
64
+ function Se(i, e) {
65
+ return i && i.length ? Pe(i, Ae(e)) : [];
66
66
  }
67
- var Ve = Pe;
67
+ var Ve = Se;
68
68
  const De = /* @__PURE__ */ j(Ve), Re = (i) => (i || []).slice(0, 1).map((e) => ({
69
69
  ...e,
70
70
  isSelected: !0,
@@ -88,7 +88,7 @@ const De = /* @__PURE__ */ j(Ve), Re = (i) => (i || []).slice(0, 1).map((e) => (
88
88
  }
89
89
  }
90
90
  }));
91
- }, Me = (i = []) => {
91
+ }, Le = (i = []) => {
92
92
  let e = !1;
93
93
  return i.map((t) => {
94
94
  const s = {
@@ -103,13 +103,13 @@ const De = /* @__PURE__ */ j(Ve), Re = (i) => (i || []).slice(0, 1).map((e) => (
103
103
  return (s.isSelected || s.isSelectedDefault) && (e = !0), s;
104
104
  }, []);
105
105
  };
106
- function Le(i, ...e) {
106
+ function Me(i, ...e) {
107
107
  if (i === "single")
108
108
  return Re(...e);
109
109
  if (i === "checkbox")
110
110
  return Oe(...e);
111
111
  if (i === "radio")
112
- return Me(...e);
112
+ return Le(...e);
113
113
  throw new Error(`Package filter type '${i}' is not implemented`);
114
114
  }
115
115
  const Be = {
@@ -210,7 +210,7 @@ var Ee = function() {
210
210
  } }], null, !1, 1723986040), model: { value: e.internalCurrency, callback: function(s) {
211
211
  e.internalCurrency = s;
212
212
  }, expression: "internalCurrency" } }) : t("div", [e._v(e._s(e.suffixValue))])], 1)], 2);
213
- }, ze = [], Fe = /* @__PURE__ */ c(
213
+ }, ze = [], We = /* @__PURE__ */ c(
214
214
  Be,
215
215
  Ee,
216
216
  ze,
@@ -220,7 +220,7 @@ var Ee = function() {
220
220
  null,
221
221
  null
222
222
  );
223
- const D = Fe.exports, T = {
223
+ const D = We.exports, T = {
224
224
  isDeductable: !1,
225
225
  isRut: !1,
226
226
  greenRot15: !1,
@@ -247,7 +247,7 @@ const D = Fe.exports, T = {
247
247
  packageId: e.packageId
248
248
  });
249
249
  if (s) {
250
- const a = (u = []) => u.reduce((_, d) => ({ ..._, [d]: !1 }), {}), l = Object.values(P({
250
+ const a = (u = []) => u.reduce((_, d) => ({ ..._, [d]: !1 }), {}), l = Object.values(S({
251
251
  rot: "isDeductable",
252
252
  rut: "isRut",
253
253
  greenRot15: "greenRot15",
@@ -257,7 +257,7 @@ const D = Fe.exports, T = {
257
257
  l.some((u) => !!n[u]) && (n = { ...n, ...a(l) });
258
258
  }
259
259
  return n;
260
- }, We = (i, e = null) => {
260
+ }, Fe = (i, e = null) => {
261
261
  const t = x(i.currency, e);
262
262
  switch (i.priceType) {
263
263
  case "approx":
@@ -314,7 +314,7 @@ const D = Fe.exports, T = {
314
314
  }
315
315
  }
316
316
  }
317
- }, M = {
317
+ }, L = {
318
318
  article: {
319
319
  name: {
320
320
  maxLength: le.maxLength(255)
@@ -462,11 +462,11 @@ var Ne = function() {
462
462
  He,
463
463
  !1,
464
464
  null,
465
- "6d86175a",
465
+ "e45af1ec",
466
466
  null,
467
467
  null
468
468
  );
469
- const L = qe.exports;
469
+ const M = qe.exports;
470
470
  const Ue = {
471
471
  name: "Article",
472
472
  i18nOptions: {
@@ -474,8 +474,8 @@ const Ue = {
474
474
  messages: O
475
475
  },
476
476
  components: {
477
- ErrorCallout: S,
478
- ArticleAutocomplete: L,
477
+ ErrorCallout: P,
478
+ ArticleAutocomplete: M,
479
479
  CPriceInput: D
480
480
  },
481
481
  props: {
@@ -519,7 +519,7 @@ const Ue = {
519
519
  default: null
520
520
  }
521
521
  },
522
- validations: M,
522
+ validations: L,
523
523
  data() {
524
524
  return {
525
525
  updateData: $,
@@ -630,7 +630,7 @@ var Ge = function() {
630
630
  Ke,
631
631
  !1,
632
632
  null,
633
- "38d3c478",
633
+ "faf5856d",
634
634
  null,
635
635
  null
636
636
  );
@@ -708,9 +708,9 @@ const Je = {
708
708
  };
709
709
  var Qe = function() {
710
710
  var e = this, t = e._self._c;
711
- return t("div", { staticClass: "l-root" }, [t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.getNavTooltip(-1), expression: "getNavTooltip(-1)" }], staticClass: "l-button", class: { disabled: !e.canBackward }, staticStyle: { left: "-4rem" }, on: { click: function(s) {
711
+ return t("div", { staticClass: "l-root" }, [t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.getNavTooltip(-1), expression: "getNavTooltip(-1)" }], staticClass: "l-button", class: { disabled: !e.canBackward }, staticStyle: { left: "calc(-4 * var(--rem))" }, on: { click: function(s) {
712
712
  return e.$emit("go", -1);
713
- } } }, [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: "-4rem" }, on: { click: function(s) {
713
+ } } }, [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(s) {
714
714
  return e.$emit("go", 1);
715
715
  } } }, [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" } })])])]);
716
716
  }, Xe = [], et = /* @__PURE__ */ c(
@@ -719,7 +719,7 @@ var Qe = function() {
719
719
  Xe,
720
720
  !1,
721
721
  null,
722
- "d6feebb7",
722
+ "9a0caf80",
723
723
  null,
724
724
  null
725
725
  );
@@ -824,7 +824,7 @@ const it = {
824
824
  this.$emit("close");
825
825
  },
826
826
  async onDrop({ removedIndex: i, addedIndex: e }) {
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());
827
+ i === null && e === null || i !== e && (this.idList = C(this.idList, i, e), await Q("/unitType/setPositions", { ids: this.idList }, { invalidateCache: { type: "unitType" } }), this.reset(), await this.loadUnits());
828
828
  }
829
829
  }
830
830
  };
@@ -832,16 +832,16 @@ var st = function() {
832
832
  var e = this, t = e._self._c;
833
833
  return t("div", { staticClass: "modal-overlay font-inter", on: { "&click": function(s) {
834
834
  return s.target !== s.currentTarget ? null : e.close.apply(null, arguments);
835
- } } }, [t("div", { staticClass: "unit-modal-root font-inter", staticStyle: { position: "relative" } }, [t("div", { staticStyle: { padding: "1.5rem" } }, [t("div", { staticStyle: { "font-weight": "600", "font-size": "18px", "margin-bottom": "1.5rem" } }, [t("span", [e._v(e._s(e.$t("_common:add", { thing: e.$t("_common:unitType.unitType_plural") })))]), t("BaseIcon", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: { content: e.$t("tooltip"), html: !0 }, expression: "{ content: $t('tooltip'), html: true }" }], staticClass: "has-text-grey", staticStyle: { "margin-left": "0.5em" }, attrs: { type: "info", size: "15" } })], 1), t("CField", { staticStyle: { margin: "0" }, attrs: { grouped: "" } }, [t("CInput", { ref: "unitInput", staticClass: "unit-input", attrs: { placeholder: e.$t("_common:name").capitalize(), expanded: "", filled: "" }, model: { value: e.selectedValue.value, callback: function(s) {
835
+ } } }, [t("div", { staticClass: "unit-modal-root font-inter", staticStyle: { position: "relative" } }, [t("div", { staticStyle: { padding: "calc(1.5 * var(--rem))" } }, [t("div", { staticStyle: { "font-weight": "600", "font-size": "18px", "margin-bottom": "calc(1.5 * var(--rem))" } }, [t("span", [e._v(e._s(e.$t("_common:add", { thing: e.$t("_common:unitType.unitType_plural") })))]), t("BaseIcon", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: { content: e.$t("tooltip"), html: !0 }, expression: "{ content: $t('tooltip'), html: true }" }], staticClass: "text-gray-400", staticStyle: { "margin-left": "0.5em" }, attrs: { type: "info", size: "15" } })], 1), t("CField", { staticStyle: { margin: "0" }, attrs: { grouped: "" } }, [t("CInput", { ref: "unitInput", staticClass: "unit-input", attrs: { placeholder: e.$t("_common:name").capitalize(), expanded: "", filled: "" }, model: { value: e.selectedValue.value, callback: function(s) {
836
836
  e.$set(e.selectedValue, "value", typeof s == "string" ? s.trim() : s);
837
- }, expression: "selectedValue.value" } }, [e.selectedValue.id ? t("template", { slot: "suffix" }, [t("CButton", { staticStyle: { "border-radius": "4px" }, attrs: { icon: "x", type: "none", pattern: "tertiary", size: "small" }, on: { click: e.reset } })], 1) : e._e()], 2), t("div", { staticClass: "control" }, [t("CButton", { attrs: { loading: e.isPosting, disabled: !e.selectedValue.value, type: "secondary" }, on: { click: e.submit } }, [e._v(" " + e._s(e.selectedValue.id ? e.$t("_common:save") : e.$t("_common:add")) + " ")])], 1)], 1)], 1), t("div", { staticStyle: { "border-top": "1px solid hsl(0, 0%, 88%)", overflow: "auto", "max-height": "360px" } }, [t("div", { staticClass: "has-text-grey", staticStyle: { "font-size": "14px", padding: "1rem 1.5rem 0", "font-weight": "500" } }, [e._v(" " + e._s(e.$t("_common:unit_plural").capitalize()) + " ")]), t("div", { staticClass: "unit-modal-list" }, [e.unitItems.length ? e._e() : t("div", { staticClass: "unit-modal-list-empty" }, [e._v(" " + e._s(e.$t("_common:add", { thing: e.$t("_common:unit_plural") })) + " ")]), t("DragList", { attrs: { "drop-placeholder": { className: "drag-drop-placeholder" }, "drag-class": "is-dragged", "lock-axis": "y", "drag-handle-selector": ".drag-handle" }, on: { drop: e.onDrop } }, e._l(e.unitItems, function(s, n) {
837
+ }, expression: "selectedValue.value" } }, [e.selectedValue.id ? t("template", { slot: "suffix" }, [t("CButton", { staticStyle: { "border-radius": "4px" }, attrs: { icon: "x", type: "none", pattern: "tertiary", size: "small" }, on: { click: e.reset } })], 1) : e._e()], 2), t("div", { staticClass: "control" }, [t("CButton", { attrs: { loading: e.isPosting, disabled: !e.selectedValue.value, type: "secondary" }, on: { click: e.submit } }, [e._v(" " + e._s(e.selectedValue.id ? e.$t("_common:save") : e.$t("_common:add")) + " ")])], 1)], 1)], 1), t("div", { staticStyle: { "border-top": "1px solid hsl(0, 0%, 88%)", overflow: "auto", "max-height": "360px" } }, [t("div", { staticClass: "text-gray-400", staticStyle: { "font-size": "14px", padding: "calc(1 * var(--rem)) calc(1.5 * var(--rem)) 0", "font-weight": "500" } }, [e._v(" " + e._s(e.$t("_common:unit_plural").capitalize()) + " ")]), t("div", { staticClass: "unit-modal-list" }, [e.unitItems.length ? e._e() : t("div", { staticClass: "unit-modal-list-empty" }, [e._v(" " + e._s(e.$t("_common:add", { thing: e.$t("_common:unit_plural") })) + " ")]), t("DragList", { attrs: { "drop-placeholder": { className: "drag-drop-placeholder" }, "drag-class": "is-dragged", "lock-axis": "y", "drag-handle-selector": ".drag-handle" }, on: { drop: e.onDrop } }, e._l(e.unitItems, function(s, n) {
838
838
  return t("DragItem", { key: s.id }, [t("div", { staticClass: "unit-modal-list-item", class: { "is-editing": e.selectedValue.id === s.id }, on: { "&mouseover": function(a) {
839
839
  e.hoverIndex = n;
840
840
  }, "&mouseleave": function(a) {
841
841
  e.hoverIndex = null;
842
842
  }, click: function(a) {
843
843
  return e.onEdit(s);
844
- } } }, [t("div", { staticClass: "drag-handle" }, [t("BaseIcon", { staticClass: "has-text-grey-light", attrs: { type: "handle", size: "16" } })], 1), t("div", { staticStyle: { "padding-left": "0.5em" } }, [e._v(" " + e._s(s.label) + " ")]), t("span", { directives: [{ name: "show", rawName: "v-show", value: e.removeConfirmIndex === n, expression: "removeConfirmIndex === i" }], staticClass: "delete-confirm" }, [e._v(" " + e._s(e.$t("_common:remove")) + "? ")]), t("div", { staticClass: "unittype-buttons" }, [e.hoverIndex === n || e.removeConfirmIndex === n ? t("CButton", { attrs: { type: e.removeConfirmIndex === n ? "danger" : "none", pattern: e.removeConfirmIndex === n ? "primary" : "tertiary", circle: "", icon: "x", size: "small" }, on: { click: function(a) {
844
+ } } }, [t("div", { staticClass: "drag-handle" }, [t("BaseIcon", { staticClass: "text-gray-300", attrs: { type: "handle", size: "16" } })], 1), t("div", { staticStyle: { "padding-left": "0.5em" } }, [e._v(" " + e._s(s.label) + " ")]), t("span", { directives: [{ name: "show", rawName: "v-show", value: e.removeConfirmIndex === n, expression: "removeConfirmIndex === i" }], staticClass: "delete-confirm" }, [e._v(" " + e._s(e.$t("_common:remove")) + "? ")]), t("div", { staticClass: "unittype-buttons" }, [e.hoverIndex === n || e.removeConfirmIndex === n ? t("CButton", { attrs: { type: e.removeConfirmIndex === n ? "danger" : "none", pattern: e.removeConfirmIndex === n ? "primary" : "tertiary", circle: "", icon: "x", size: "small" }, on: { click: function(a) {
845
845
  return a.stopPropagation(), a.preventDefault(), e.remove(s.id, n);
846
846
  }, blur: function(a) {
847
847
  e.removeConfirmIndex = null;
@@ -853,7 +853,7 @@ var st = function() {
853
853
  at,
854
854
  !1,
855
855
  null,
856
- "fd1deb6d",
856
+ "a4a478a1",
857
857
  null,
858
858
  null
859
859
  );
@@ -935,7 +935,7 @@ const pt = {
935
935
  messages: O
936
936
  },
937
937
  components: {
938
- ArticleAutocomplete: L,
938
+ ArticleAutocomplete: M,
939
939
  ArticleUnitSelect: dt,
940
940
  ListModalButtons: tt,
941
941
  CPriceInput: D
@@ -995,10 +995,10 @@ const pt = {
995
995
  }
996
996
  },
997
997
  mixins: [ue],
998
- validations: M,
998
+ validations: L,
999
999
  data() {
1000
1000
  return {
1001
- priceSuffix: We,
1001
+ priceSuffix: Fe,
1002
1002
  updateData: $,
1003
1003
  addSavedArticle: R,
1004
1004
  vatOptions: [
@@ -1219,7 +1219,7 @@ var ht = function() {
1219
1219
  e.updateArticle(Number.parseFloat(s), "quantity");
1220
1220
  } } })], 1), t("ArticleUnitSelect", { attrs: { value: e.article.unitType, "is-public-form": e.viewSettings.isPublicForm }, on: { input: function(s) {
1221
1221
  return e.updateArticle(s, "unitType");
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-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) {
1223
1223
  return e.updateArticle(s, "price");
1224
1224
  }, "update:currency": function(s) {
1225
1225
  return e.$emit("update:currency", s);
@@ -1231,11 +1231,11 @@ var ht = function() {
1231
1231
  e.updateArticle(Math.abs(s), "discount");
1232
1232
  } } }, [e.article.discountType === "fixed" ? t("template", { slot: "suffix" }, [e._v(" " + e._s(e._document.$t(`vat.${e.setPricesIncVat ? "incVat" : "exVat"}`)) + " ")]) : t("template", { slot: "suffix" }, [e._v(" " + e._s(e.getCurrencySymbol(e.article.currency)) + " ")])], 2)], 1), t("div", { staticClass: "select-css form-control form-control-right", staticStyle: { width: "5em" }, on: { click: function(s) {
1233
1233
  return e.updateArticle(e.article.discountType === "percentage" ? "fixed" : "percentage", "discountType");
1234
- } } }, [e._v(" " + e._s(e.article.discountType === "percentage" ? "%" : e.getCurrencySymbol(e.article.currency)) + " ")])], 1) : e._e()], t("div", { staticStyle: { margin: "1rem -0.5rem" } }, [e.useVat ? [e.feature("regionSE") && Number.isInteger(e.article.vat) ? t("select", { staticClass: "select-css tag-item no-chevron", staticStyle: { display: "inline", "min-height": "initial", background: "hsl(0, 0%, 94%)", "border-color": "hsl(0, 0%, 94%)", color: "hsl(0, 0%, 30%)" }, domProps: { value: e.article.vat }, on: { input: function(s) {
1234
+ } } }, [e._v(" " + e._s(e.article.discountType === "percentage" ? "%" : e.getCurrencySymbol(e.article.currency)) + " ")])], 1) : e._e()], t("div", { staticStyle: { margin: "calc(1 * var(--rem)) calc(-0.5 * var(--rem))" } }, [e.useVat ? [e.feature("regionSE") && Number.isInteger(e.article.vat) ? t("select", { staticClass: "select-css tag-item no-chevron", staticStyle: { display: "inline", "min-height": "initial", background: "hsl(0, 0%, 94%)", "border-color": "hsl(0, 0%, 94%)", color: "hsl(0, 0%, 30%)" }, domProps: { value: e.article.vat }, on: { input: function(s) {
1235
1235
  e.updateArticle(Number.parseFloat(s.target.value), "vat");
1236
1236
  } } }, e._l(e.vatOptions, function({ translation: s, value: n }, a) {
1237
1237
  return t("option", { key: a, domProps: { value: n } }, [e._v(" " + e._s(e.$t(`vat.${e.vatType}`)) + " " + e._s(s) + " ")]);
1238
- }), 0) : t("span", { staticClass: "select-css tag-item no-chevron", staticStyle: { display: "inline", "min-height": "initial", background: "hsl(0, 0%, 94%)", "border-color": "hsl(0, 0%, 94%)", color: "hsl(0, 0%, 30%)" } }, [e._v(" " + e._s(e._document.$t("vat").capitalize()) + " "), t("input", { staticStyle: { width: "2.5rem", display: "inline", background: "hsl(0, 0%, 94%)", "border-color": "hsl(0, 0%, 94%)", color: "hsl(0, 0%, 30%)" }, attrs: { type: "number" }, domProps: { value: e.article.vat || 0 }, on: { blur: e.onCustomVatBlur, input: e.onCustomVatInput } }), e._v(" % ")])] : e._e(), e.priceTypeOptions.length ? t("div", { staticClass: "tag-group", staticStyle: { display: "flex", "flex-direction": "row", "flex-wrap": "wrap", "margin-top": "1em" } }, e._l(e.priceTypeOptions, function({ label: s, value: n, onClick: a, tooltip: r }, l) {
1238
+ }), 0) : t("span", { staticClass: "select-css tag-item no-chevron", staticStyle: { display: "inline", "min-height": "initial", background: "hsl(0, 0%, 94%)", "border-color": "hsl(0, 0%, 94%)", color: "hsl(0, 0%, 30%)" } }, [e._v(" " + e._s(e._document.$t("vat").capitalize()) + " "), t("input", { staticStyle: { width: "calc(2.5 * var(--rem))", display: "inline", background: "hsl(0, 0%, 94%)", "border-color": "hsl(0, 0%, 94%)", color: "hsl(0, 0%, 30%)" }, attrs: { type: "number" }, domProps: { value: e.article.vat || 0 }, on: { blur: e.onCustomVatBlur, input: e.onCustomVatInput } }), e._v(" % ")])] : e._e(), e.priceTypeOptions.length ? t("div", { staticClass: "tag-group", staticStyle: { display: "flex", "flex-direction": "row", "flex-wrap": "wrap", "margin-top": "1em" } }, e._l(e.priceTypeOptions, function({ label: s, value: n, onClick: a, tooltip: r }, l) {
1239
1239
  return t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
1240
1240
  content: r,
1241
1241
  delay: { show: 300, hide: 0 }
@@ -1284,7 +1284,7 @@ var ht = function() {
1284
1284
  mt,
1285
1285
  !1,
1286
1286
  null,
1287
- "0e36778c",
1287
+ "0852370a",
1288
1288
  null,
1289
1289
  null
1290
1290
  );
@@ -1434,7 +1434,7 @@ const gt = {
1434
1434
  greenRot50: "greenRot50"
1435
1435
  }, t = (s = []) => s.reduce((n, a) => ({ ...n, [a]: !1 }), {});
1436
1436
  e[i] ? this.articles.forEach((s, n) => {
1437
- const a = Object.values(P(e, [i]));
1437
+ const a = Object.values(S(e, [i]));
1438
1438
  if (a.some((r) => !!s[r])) {
1439
1439
  const r = { ...s, ...t(a) };
1440
1440
  this.$emit("input", { index: n, value: r });
@@ -1453,7 +1453,7 @@ const gt = {
1453
1453
  const { newIndex: n, element: a } = e;
1454
1454
  this.$emit("insert", { index: n, value: a });
1455
1455
  } else if (t) {
1456
- const n = I(this.articles, t.oldIndex, t.newIndex);
1456
+ const n = C(this.articles, t.oldIndex, t.newIndex);
1457
1457
  this.$emit("move", n);
1458
1458
  } else if (s) {
1459
1459
  const { oldIndex: n } = s;
@@ -1467,7 +1467,7 @@ var yt = function() {
1467
1467
  return t("div", [e.showVatToggle ? t("div", { staticClass: "label-text" }, [e._v(" " + e._s(e.$t("vatOption.label")) + " "), t("span", { on: { click: function(s) {
1468
1468
  return e.changeVat();
1469
1469
  } } }, [e._v(" " + e._s(e._document.$t(`vat.${e.setPricesIncVat ? "incVat" : "exVat"}`)) + " ")])]) : e._e(), t("WithDimensions", { scopedSlots: e._u([{ key: "default", fn: function({ width: s }) {
1470
- return [t("draggable", e._b({ staticStyle: { "min-height": "3rem" }, attrs: { value: e.articles, group: "articles" }, on: { change: e.onChange } }, "draggable", {
1470
+ return [t("draggable", e._b({ staticStyle: { "min-height": "calc(3 * var(--rem))" }, attrs: { value: e.articles, group: "articles" }, on: { change: e.onChange } }, "draggable", {
1471
1471
  sort: !0,
1472
1472
  animation: 150,
1473
1473
  ghostClass: "article-ghost",
@@ -1506,7 +1506,7 @@ var yt = function() {
1506
1506
  _t,
1507
1507
  !1,
1508
1508
  null,
1509
- "ba70d71e",
1509
+ "8e5494e8",
1510
1510
  null,
1511
1511
  null
1512
1512
  );
@@ -1536,17 +1536,17 @@ var bt = function() {
1536
1536
  return e.$emit("input", s);
1537
1537
  } } }, [e._v(" " + e._s(e.$t(`price.${s}`)) + " ")]);
1538
1538
  })], 2)], 1);
1539
- }, wt = [], It = /* @__PURE__ */ c(
1539
+ }, wt = [], Ct = /* @__PURE__ */ c(
1540
1540
  xt,
1541
1541
  bt,
1542
1542
  wt,
1543
1543
  !1,
1544
1544
  null,
1545
- "e26837b3",
1545
+ "43eaaee7",
1546
1546
  null,
1547
1547
  null
1548
1548
  );
1549
- const Ct = It.exports;
1549
+ const It = Ct.exports;
1550
1550
  const Tt = {
1551
1551
  name: "MaxTotalInput",
1552
1552
  i18nOptions: {
@@ -1596,20 +1596,20 @@ const Tt = {
1596
1596
  };
1597
1597
  var At = function() {
1598
1598
  var e = this, t = e._self._c;
1599
- return t("div", { staticClass: "flex justify-end w-full" }, [t("BaseInput", { staticStyle: { "max-width": "275px", "margin-top": "1rem" }, attrs: { value: e.value, "is-price": !0, "is-inc-vat": e.isIncVat, vat: 25, placeholder: e.$t("maxTotalLabel") }, on: { input: function(s) {
1599
+ return t("div", { staticClass: "flex justify-end w-full" }, [t("BaseInput", { staticStyle: { "max-width": "275px", "margin-top": "calc(1 * var(--rem))" }, attrs: { value: e.value, "is-price": !0, "is-inc-vat": e.isIncVat, vat: 25, placeholder: e.$t("maxTotalLabel") }, on: { input: function(s) {
1600
1600
  return e.$emit("input", s);
1601
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);
1602
- }, St = [], Pt = /* @__PURE__ */ c(
1602
+ }, Pt = [], St = /* @__PURE__ */ c(
1603
1603
  Tt,
1604
1604
  At,
1605
- St,
1605
+ Pt,
1606
1606
  !1,
1607
1607
  null,
1608
- "e0a38fd1",
1608
+ "096eca10",
1609
1609
  null,
1610
1610
  null
1611
1611
  );
1612
- const Vt = Pt.exports;
1612
+ const Vt = St.exports;
1613
1613
  const Dt = {
1614
1614
  name: "EditDeduction",
1615
1615
  components: {
@@ -1662,7 +1662,7 @@ var Rt = function() {
1662
1662
  width: "90%",
1663
1663
  maxWidth: 420,
1664
1664
  classes: "primary"
1665
- }, !1), [t("div", { staticClass: "flex flex-col items-center justify-between w-full deduction-modal" }, [t("div", { staticStyle: { "font-size": "calc(1rem + 2px)", "font-weight": "800", "text-align": "center", "margin-bottom": "1.5rem" } }, [e._v(" " + e._s(e.$t("deduction.manualType", { type: e.houseWorkType })) + " ")]), t("div", { staticStyle: { "margin-bottom": "1rem", width: "100%" } }, [t("BaseInput", { attrs: { "is-price": e.amountUnit === "fixed", placeholder: e.$t("enterThing", { thing: e.$t("deduction.deduction") }), type: "number", autofocus: "", size: "large" }, model: { value: e.internalValue, callback: function(s) {
1665
+ }, !1), [t("div", { staticClass: "flex flex-col items-center justify-between w-full deduction-modal" }, [t("div", { staticStyle: { "font-size": "calc(calc(1 * var(--rem)) + 2px)", "font-weight": "800", "text-align": "center", "margin-bottom": "calc(1.5 * var(--rem))" } }, [e._v(" " + e._s(e.$t("deduction.manualType", { type: e.houseWorkType })) + " ")]), t("div", { staticStyle: { "margin-bottom": "calc(1 * var(--rem))", width: "100%" } }, [t("BaseInput", { attrs: { "is-price": e.amountUnit === "fixed", placeholder: e.$t("enterThing", { thing: e.$t("deduction.deduction") }), type: "number", autofocus: "", size: "large" }, model: { value: e.internalValue, callback: function(s) {
1666
1666
  e.internalValue = s;
1667
1667
  }, expression: "internalValue" } }, [t("template", { slot: "suffix" }, [e._v(e._s(e.$t("currency.SEK")))])], 2)], 1), t("div", { staticClass: "flex w-full" }, e._l([
1668
1668
  { v: 0.09, l: "9%" },
@@ -1683,21 +1683,21 @@ var Rt = function() {
1683
1683
  } } }, [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(s) {
1684
1684
  return e.$modal.show(`deduction-modal-${e._uid}`);
1685
1685
  } } }, [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.houseWorkType })) + " " + e._s(e.$t("using")) + " ")])]) : e._e()], 1);
1686
- }, Ot = [], Mt = /* @__PURE__ */ c(
1686
+ }, Ot = [], Lt = /* @__PURE__ */ c(
1687
1687
  Dt,
1688
1688
  Rt,
1689
1689
  Ot,
1690
1690
  !1,
1691
1691
  null,
1692
- "45a66d3c",
1692
+ "d2df9b4c",
1693
1693
  null,
1694
1694
  null
1695
1695
  );
1696
- const Lt = Mt.exports;
1696
+ const Mt = Lt.exports;
1697
1697
  const Bt = {
1698
1698
  name: "Pricing",
1699
1699
  components: {
1700
- EditDeduction: Lt
1700
+ EditDeduction: Mt
1701
1701
  },
1702
1702
  props: {
1703
1703
  _document: {
@@ -1782,17 +1782,17 @@ var Et = function() {
1782
1782
  s.action && s.action();
1783
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) + " ")])]);
1784
1784
  }), 0)]);
1785
- }, zt = [], Ft = /* @__PURE__ */ c(
1785
+ }, zt = [], Wt = /* @__PURE__ */ c(
1786
1786
  Bt,
1787
1787
  Et,
1788
1788
  zt,
1789
1789
  !1,
1790
1790
  null,
1791
- "83730621",
1791
+ "99d833c2",
1792
1792
  null,
1793
1793
  null
1794
1794
  );
1795
- const Wt = Ft.exports;
1795
+ const Ft = Wt.exports;
1796
1796
  const jt = {
1797
1797
  name: "PackageItemEdit",
1798
1798
  i18nOptions: {
@@ -1822,9 +1822,9 @@ const jt = {
1822
1822
  },
1823
1823
  components: {
1824
1824
  ArticleList: $t,
1825
- PriceFormAlternatives: Ct,
1825
+ PriceFormAlternatives: It,
1826
1826
  MaxTotalInput: Vt,
1827
- Pricing: Wt,
1827
+ Pricing: Ft,
1828
1828
  TextEditor: ae
1829
1829
  },
1830
1830
  mixins: [y([
@@ -1945,7 +1945,7 @@ const jt = {
1945
1945
  };
1946
1946
  var Nt = function() {
1947
1947
  var e = this, t = e._self._c;
1948
- return t("div", { staticClass: "package-root" }, [t("div", { staticClass: "flex items-center justify-between w-full has-background-grey-lightest-2 has-text-grey-dark", staticStyle: { "font-size": "14px", "font-weight": "500", padding: "4px 4px 4px 1rem" } }, [t("div", [e._v(" " + e._s(e.type === "single" ? e.$t("single") : e.type === "radio" || e.toggable ? e.$t("option") : e.$t("base")) + " ")]), e.type !== "single" ? t("CDropdown", { staticStyle: { "margin-left": "1rem" } }, [t("CButton", { staticClass: "is-thinner", staticStyle: { opacity: "0.7" }, attrs: { slot: "trigger", size: "small", type: "text", pattern: "secondary" }, slot: "trigger" }, [e._v(" " + e._s(e.$t("_common:change")) + " ")]), e.toggable ? [t("CDropdownItem", { attrs: { value: e.isSelectedDefault, toggle: !0, "close-on-click": !1 }, on: { click: function(s) {
1948
+ return t("div", { staticClass: "min-h-0 text-black bg-white border border-gray-200 rounded-md" }, [t("div", { staticClass: "flex items-center justify-between w-full py-1 pl-4 pr-1 text-sm font-medium text-gray-600 bg-gray-100" }, [t("div", [e._v(" " + e._s(e.type === "single" ? e.$t("single") : e.type === "radio" || e.toggable ? e.$t("option") : e.$t("base")) + " ")]), e.type !== "single" ? t("CDropdown", { staticClass: "ml-4" }, [t("CButton", { staticClass: "is-thinner opacity-70", attrs: { slot: "trigger", size: "small", type: "text", pattern: "secondary" }, slot: "trigger" }, [e._v(" " + e._s(e.$t("_common:change")) + " ")]), e.toggable ? [t("CDropdownItem", { attrs: { value: e.isSelectedDefault, toggle: !0, "close-on-click": !1 }, on: { click: function(s) {
1949
1949
  return e.$emit("update:isSelectedDefault", !e.isSelectedDefault);
1950
1950
  } } }, [e._v(" " + e._s(e.$t("selected")) + " ")]), t("CDropdownItem", { attrs: { separator: "" } })] : e._e(), t("CDropdownItem", { attrs: { "icon-left": "arrow-up", disabled: !e.moveOptions.up }, on: { click: function(s) {
1951
1951
  return e.$emit("move", -1);
@@ -1953,11 +1953,11 @@ var Nt = function() {
1953
1953
  return e.$emit("move", 1);
1954
1954
  } } }, [e._v(" " + e._s(e.$t("_common:move", { thing: e.$t("_common:down") })) + " ")]), t("CDropdownItem", { attrs: { "icon-props": {
1955
1955
  stroke: "red"
1956
- }, "icon-left": "trash" }, on: { click: e.onRemove } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")])], 2) : e._e()], 1), t("div", { staticStyle: { padding: "1rem" } }, [t("div", { staticClass: "flex items-center", staticStyle: { "margin-bottom": "2px" } }, [t("input", { directives: [{ name: "model", rawName: "v-model", value: e.name, expression: "name" }], staticClass: "input-title", attrs: { id: `package-name-${e.packageId}`, placeholder: e.$t("namePlaceholder") }, domProps: { value: e.name }, on: { keyup: function(s) {
1956
+ }, "icon-left": "trash" }, on: { click: e.onRemove } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")])], 2) : e._e()], 1), t("div", { staticClass: "p-4" }, [t("div", { staticClass: "flex items-center mb-0.5" }, [t("input", { directives: [{ name: "model", rawName: "v-model", value: e.name, expression: "name" }], staticClass: "block w-full p-0 text-xl font-bold leading-loose rounded-lg placeholder:text-gray-400", attrs: { id: `package-name-${e.packageId}`, placeholder: e.$t("namePlaceholder") }, domProps: { value: e.name }, on: { keyup: function(s) {
1957
1957
  return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.$refs.editor.focus();
1958
1958
  }, input: function(s) {
1959
1959
  s.target.composing || (e.name = s.target.value);
1960
- } } })]), t("TextEditor", { ref: "editor", staticClass: "text-editor", staticStyle: { "margin-bottom": "1em" }, attrs: { placeholder: e.$t("textPlaceholder"), mentions: () => e._document.textTemplateItems, snippets: !0 }, model: { value: e.internalDescription, callback: function(s) {
1960
+ } } })]), t("TextEditor", { ref: "editor", staticClass: "mb-4 text-editor", attrs: { placeholder: e.$t("textPlaceholder"), mentions: () => e._document.textTemplateItems, snippets: !0 }, model: { value: e.internalDescription, callback: function(s) {
1961
1961
  e.internalDescription = s;
1962
1962
  }, expression: "internalDescription" } }), t("div", { directives: [{ name: "click-outside", rawName: "v-click-outside", value: () => {
1963
1963
  e.isFocus = !1, e.isHover = !1;
@@ -1965,7 +1965,7 @@ var Nt = function() {
1965
1965
  e.isHover = !0;
1966
1966
  }, "&mouseleave": function(s) {
1967
1967
  e.isHover = !1;
1968
- } } }, [e.priceType === "openAccMaxPrice" ? t("MaxTotalInput", { staticStyle: { "margin-bottom": "1rem" }, attrs: { currency: e.currency, "vat-type": e._document.vatType }, model: { value: e.maxTotal, callback: function(s) {
1968
+ } } }, [e.priceType === "openAccMaxPrice" ? t("MaxTotalInput", { staticClass: "mb-4", attrs: { currency: e.currency, "vat-type": e._document.vatType }, model: { value: e.maxTotal, callback: function(s) {
1969
1969
  e.maxTotal = s;
1970
1970
  }, expression: "maxTotal" } }) : e._e(), t("PriceFormAlternatives", { on: { input: function(s) {
1971
1971
  return e.$emit("update:priceType", s);
@@ -1977,15 +1977,15 @@ var Nt = function() {
1977
1977
  return e.$emit("update:currency", s);
1978
1978
  }, move: e.onArticleMove, remove: e.onArticleRemove, add: e.onArticleAdd, focus: function(s) {
1979
1979
  e.isFocus = !0;
1980
- }, insert: e.onInsert } }), t("div", { staticClass: "flex", staticStyle: { "margin-top": "0.5em" } }, [t("div", { staticClass: "a-button", on: { click: function(s) {
1980
+ }, insert: e.onInsert } }), t("div", { staticClass: "flex gap-2 mt-2" }, [t("div", { staticClass: "text-gray-500 bg-gray-100 border border-gray-200 p-2.5 text-center text-sm font-medium leading-none rounded-md cursor-pointer transition-colors hover:border-gray-400 hover:bg-gray-500 hover:text-white", on: { click: function(s) {
1981
1981
  return e.onArticleAdd();
1982
- } } }, [t("BaseIcon", { staticStyle: { "margin-right": "0.5em" }, attrs: { type: "plus", size: "16", "stroke-width": "3" } }), e._v(" " + e._s(e.$t("addButton")) + " ")], 1), t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
1982
+ } } }, [t("BaseIcon", { staticClass: "mr-1", attrs: { type: "plus", size: "16", "stroke-width": "3" } }), e._v(" " + e._s(e.$t("addButton")) + " ")], 1), t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
1983
1983
  content: e.$t("advancedButtonTooltip"),
1984
1984
  offset: 6
1985
1985
  }, expression: `{
1986
1986
  content: $t('advancedButtonTooltip'),
1987
1987
  offset: 6,
1988
- }` }], staticClass: "a-button", on: { click: function(s) {
1988
+ }` }], staticClass: "text-gray-500 bg-gray-100 border border-gray-200 p-2.5 text-center text-sm font-medium leading-none rounded-md cursor-pointer transition-colors hover:border-gray-400 hover:bg-gray-500 hover:text-white", on: { click: function(s) {
1989
1989
  return e.onArticleAdd({ openModal: !0 });
1990
1990
  } } }, [t("BaseIcon", { attrs: { type: "zap", size: "16", "stroke-width": "2.5" } })], 1)]), t("Pricing", e._g({ attrs: { _document: e._document, "base-path": `${e._value.basePath}`, "package-id": e.packageId } }, e.$listeners))], 1)], 1)]);
1991
1991
  }, Ht = [], qt = /* @__PURE__ */ c(
@@ -1994,7 +1994,7 @@ var Nt = function() {
1994
1994
  Ht,
1995
1995
  !1,
1996
1996
  null,
1997
- "ff3ee09f",
1997
+ "b5ac9679",
1998
1998
  null,
1999
1999
  null
2000
2000
  );
@@ -2068,7 +2068,7 @@ const Gt = {
2068
2068
  };
2069
2069
  var Kt = function() {
2070
2070
  var e = this, t = e._self._c;
2071
- return t("div", { staticClass: "font-inter", staticStyle: { padding: "2rem 0 1rem 0", color: "#111" } }, [t("div", { staticStyle: { "font-size": "18px", "font-weight": "600", "text-align": "center", "margin-bottom": "1.5rem" } }, [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(s, n) {
2071
+ 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(s, n) {
2072
2072
  return t("div", { key: n, staticClass: "package-group-option", style: { backgroundColor: s.background }, on: { click: function(a) {
2073
2073
  return e.$emit("input", s.value);
2074
2074
  } } }, [t("div", { staticClass: "package-group-option__illustration" }, [s.value === "single" ? t("div", { staticClass: "package-group-option__illustration-card animate" }, [e._m(0, !0)]) : e._e(), s.value === "radio" ? e._l(3, function(a) {
@@ -2079,20 +2079,20 @@ var Kt = function() {
2079
2079
  }), 0)])]);
2080
2080
  }, Yt = [function() {
2081
2081
  var i = this, e = i._self._c;
2082
- return e("div", { staticStyle: { flex: "1 1 auto" } }, [e("div", { staticClass: "has-background-grey-lightest", staticStyle: { width: "40%", height: "10px", "margin-bottom": "8px" } }), e("div", { staticClass: "has-background-grey-lightest", staticStyle: { width: "80%", height: "10px" } })]);
2082
+ 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" } })]);
2083
2083
  }, function() {
2084
2084
  var i = this, e = i._self._c;
2085
- return e("div", { staticStyle: { flex: "1 1 auto" } }, [e("div", { staticClass: "has-background-grey-lightest", staticStyle: { width: "40%", height: "10px", "margin-bottom": "8px" } }), e("div", { staticClass: "has-background-grey-lightest", staticStyle: { width: "80%", height: "10px" } })]);
2085
+ 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" } })]);
2086
2086
  }, function() {
2087
2087
  var i = this, e = i._self._c;
2088
- return e("div", { staticStyle: { flex: "1 1 auto" } }, [e("div", { staticClass: "has-background-grey-lightest", staticStyle: { width: "40%", height: "10px", "margin-bottom": "8px" } }), e("div", { staticClass: "has-background-grey-lightest", staticStyle: { width: "80%", height: "10px" } })]);
2088
+ 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" } })]);
2089
2089
  }], Zt = /* @__PURE__ */ c(
2090
2090
  Gt,
2091
2091
  Kt,
2092
2092
  Yt,
2093
2093
  !1,
2094
2094
  null,
2095
- "ec5ecd3c",
2095
+ "ac7ba955",
2096
2096
  null,
2097
2097
  null
2098
2098
  );
@@ -2135,7 +2135,7 @@ const Qt = {
2135
2135
  }
2136
2136
  },
2137
2137
  components: {
2138
- ErrorCallout: S,
2138
+ ErrorCallout: P,
2139
2139
  PackageItem: Ut,
2140
2140
  PackageGroupSelect: Jt
2141
2141
  },
@@ -2245,7 +2245,7 @@ const Qt = {
2245
2245
  } = this.persistedGroup;
2246
2246
  if (!e.length)
2247
2247
  return;
2248
- if (i !== this.persistedGroup.type && (e = Le(i, e)), i === "single" && t.length) {
2248
+ if (i !== this.persistedGroup.type && (e = Me(i, e)), i === "single" && t.length) {
2249
2249
  const [{ packageId: n }] = e;
2250
2250
  t = t.filter((a) => a.packageId === n);
2251
2251
  }
@@ -2310,7 +2310,7 @@ const Qt = {
2310
2310
  return i > 0 && (t.up = !0), i < e - 1 && (t.down = !0), t;
2311
2311
  },
2312
2312
  moveItem(i, e) {
2313
- const t = I(this.packages, i, e);
2313
+ const t = C(this.packages, i, e);
2314
2314
  this.$emit("input", { key: this._value.packages, value: t });
2315
2315
  }
2316
2316
  }
@@ -2319,10 +2319,10 @@ var Xt = function() {
2319
2319
  var e = this, t = e._self._c;
2320
2320
  return t("div", { staticClass: "package-group-root font-inter" }, [e.type ? [t("div", { staticStyle: { position: "absolute", right: "0", top: "-10px", transform: "translateY(-100%)", "z-index": "2" } }, [t("CDropdown", [t("CButton", { attrs: { slot: "trigger", type: "none", size: "normal", pattern: "secondary", icon: "more-horizontal", circle: "" }, slot: "trigger" }), t("CDropdownItem", { on: { click: e.onResetType } }, [e._v(e._s(e.$t("_common:change", { thing: e.$t("_common:price.proposal").toLowerCase() })))]), t("CDropdownItem", { attrs: { value: !!e.hideGroupPrice, "close-on-click": !1, toggle: "" }, on: { input: function(s) {
2321
2321
  e.hideGroupPrice = s;
2322
- } } }, [e._v(" " + e._s(e.$t("hideGroupPrice")) + " ")])], 1)], 1), e.type === "checkbox" && !e.internalPackages.find((s) => s.toggable === !1) ? t("CCallout", { staticStyle: { width: "100%" }, attrs: { title: e.$t("base") } }, [t("div", { staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("basePlaceholder")) + " ")]), t("CButton", { staticStyle: { "font-weight": "600" }, attrs: { type: "secondary", size: "small" }, on: { click: function(s) {
2322
+ } } }, [e._v(" " + e._s(e.$t("hideGroupPrice")) + " ")])], 1)], 1), e.type === "checkbox" && !e.internalPackages.find((s) => s.toggable === !1) ? t("CCallout", { staticClass: "w-full", attrs: { title: e.$t("base") } }, [t("div", { staticClass: "pb-4" }, [e._v(" " + e._s(e.$t("basePlaceholder")) + " ")]), t("CButton", { staticStyle: { "font-weight": "600" }, attrs: { type: "secondary", size: "small" }, on: { click: function(s) {
2323
2323
  return e.addPackage({ isSelected: !0, isSelectedDefault: !0, toggable: !1 });
2324
2324
  } } }, [e._v(" " + e._s(e.$t("_common:add", { thing: e.$t("base").toLowerCase() })) + " ")])], 1) : t("transition-group", { attrs: { name: "section-list", tag: "div" } }, e._l(e.topRowPackages, function(s, n) {
2325
- return t("div", { key: s.packageId, staticClass: "section-item", staticStyle: { "padding-bottom": "1rem" } }, [t("PackageItem", { attrs: { _document: e._document, _value: {
2325
+ return t("div", { key: s.packageId, staticClass: "pb-4 section-item" }, [t("PackageItem", { attrs: { _document: e._document, _value: {
2326
2326
  isSelectedDefault: `${e._value.packages}[${s.index}].isSelectedDefault`,
2327
2327
  isSelected: `${e._value.packages}[${s.index}].isSelected`,
2328
2328
  name: `${e._value.packages}[${s.index}].data.name`,
@@ -2344,8 +2344,8 @@ var Xt = function() {
2344
2344
  }, move: function(a) {
2345
2345
  return e.moveItem(s.index, e.topRowPackages[n + a].index);
2346
2346
  } } })], 1);
2347
- }), 0), e.type === "checkbox" && e.topRowPackages.length && e.bottomRowPackages.length ? t("div", { staticStyle: { width: "5rem", height: "1px", "margin-left": "calc(50% - 2.5rem)", "border-top": "2px dashed hsl(0, 0%, 85%)" } }) : e._e(), e.type === "checkbox" ? [t("transition-group", { staticStyle: { "margin-bottom": "1rem" }, attrs: { name: "section-list", tag: "div" } }, e._l(e.bottomRowPackages, function(s, n) {
2348
- return t("div", { key: s.packageId, staticClass: "section-item", staticStyle: { padding: "1rem 0" } }, [t("PackageItem", { staticClass: "package-item", attrs: { _document: e._document, _value: {
2347
+ }), 0), e.type === "checkbox" && e.topRowPackages.length && e.bottomRowPackages.length ? t("div", { staticStyle: { width: "calc(5 * var(--rem))", height: "1px", "margin-left": "calc(50% - calc(2.5 * var(--rem)))", "border-top": "2px dashed hsl(0, 0%, 85%)" } }) : e._e(), e.type === "checkbox" ? [t("transition-group", { staticStyle: { "margin-bottom": "calc(1 * var(--rem))" }, attrs: { name: "section-list", tag: "div" } }, e._l(e.bottomRowPackages, function(s, n) {
2348
+ return t("div", { key: s.packageId, staticClass: "section-item", staticStyle: { padding: "calc(1 * var(--rem)) 0" } }, [t("PackageItem", { staticClass: "package-item", attrs: { _document: e._document, _value: {
2349
2349
  isSelectedDefault: `${e._value.packages}[${s.index}].isSelectedDefault`,
2350
2350
  isSelected: `${e._value.packages}[${s.index}].isSelected`,
2351
2351
  name: `${e._value.packages}[${s.index}].data.name`,
@@ -2367,18 +2367,18 @@ var Xt = function() {
2367
2367
  }, move: function(a) {
2368
2368
  return e.moveItem(s.index, e.bottomRowPackages[n + a].index);
2369
2369
  } } })], 1);
2370
- }), 0)] : e._e(), e.type !== "single" || !e.packages.length ? t("div", { staticClass: "flex flex-col items-center justify-center w-full" }, [t("div", { staticStyle: { width: "100%" } }, [e.type === "radio" && !e.packages.length ? t("div", { staticClass: "package-placeholder has-background-grey-lightest-2", staticStyle: { color: "hsl(0, 0%, 24%)", "font-weight": "500" } }, [t("svg", { staticStyle: { "vertical-align": "text-bottom", "margin-right": "3px" }, attrs: { width: "16", height: "16", viewBox: "0 0 18 14", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M8.03.22c.3.3.3.77 0 1.06L5.56 3.75h6.88L9.97 1.28A.75.75 0 1111.03.21l3.53 3.54h2.69a.75.75 0 010 1.5h-.12l-1.17 6.4a2.25 2.25 0 01-2.21 1.85h-9.5a2.25 2.25 0 01-2.21-1.84L.87 5.26H.75a.75.75 0 010-1.5h2.69L6.97.21c.3-.3.77-.3 1.06 0zM2.4 5.25L3.5 11.4c.07.35.38.61.74.61h9.5c.36 0 .67-.26.74-.61l1.11-6.14H2.4zm3.1 1.5c.41-.06.8.22.86.63l.38 2.25a.75.75 0 11-1.48.24l-.37-2.25c-.07-.4.2-.8.61-.86zm7 0c.4.08.68.47.61.87l-.37 2.25a.75.75 0 11-1.48-.24l.38-2.25a.75.75 0 01.86-.62zm-3.5 0c.41 0 .75.34.75.75v2.25a.75.75 0 01-1.5 0V7.5c0-.41.34-.75.75-.75z", fill: "#000", "fill-rule": "evenodd" } })]), e._v(" " + e._s(e.$t("selectablePlaceholder")) + " ")]) : e._e()]), e.validator.$invalid && e.validator.$dirty ? t("ErrorCallout", { staticStyle: { margin: "1rem 0 1rem 0" }, attrs: { message: e.$t("error.minOnePackage") } }) : e._e(), t("div", { staticClass: "flex w-full" }, [t("CButton", { staticStyle: { "border-color": "hsl(0, 0%, 82%)" }, attrs: { type: "secondary", outlined: "", "icon-left": "plus" }, on: { click: function(s) {
2370
+ }), 0)] : e._e(), e.type !== "single" || !e.packages.length ? t("div", { staticClass: "flex flex-col items-center justify-center w-full" }, [t("div", { staticStyle: { width: "100%" } }, [e.type === "radio" && !e.packages.length ? t("div", { staticClass: "bg-gray-100 package-placeholder", staticStyle: { color: "hsl(0, 0%, 24%)", "font-weight": "500" } }, [t("svg", { staticStyle: { "vertical-align": "text-bottom", "margin-right": "3px" }, attrs: { width: "16", height: "16", viewBox: "0 0 18 14", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M8.03.22c.3.3.3.77 0 1.06L5.56 3.75h6.88L9.97 1.28A.75.75 0 1111.03.21l3.53 3.54h2.69a.75.75 0 010 1.5h-.12l-1.17 6.4a2.25 2.25 0 01-2.21 1.85h-9.5a2.25 2.25 0 01-2.21-1.84L.87 5.26H.75a.75.75 0 010-1.5h2.69L6.97.21c.3-.3.77-.3 1.06 0zM2.4 5.25L3.5 11.4c.07.35.38.61.74.61h9.5c.36 0 .67-.26.74-.61l1.11-6.14H2.4zm3.1 1.5c.41-.06.8.22.86.63l.38 2.25a.75.75 0 11-1.48.24l-.37-2.25c-.07-.4.2-.8.61-.86zm7 0c.4.08.68.47.61.87l-.37 2.25a.75.75 0 11-1.48-.24l.38-2.25a.75.75 0 01.86-.62zm-3.5 0c.41 0 .75.34.75.75v2.25a.75.75 0 01-1.5 0V7.5c0-.41.34-.75.75-.75z", fill: "#000", "fill-rule": "evenodd" } })]), e._v(" " + e._s(e.$t("selectablePlaceholder")) + " ")]) : e._e()]), e.validator.$invalid && e.validator.$dirty ? t("ErrorCallout", { staticStyle: { margin: "calc(1 * var(--rem)) 0 calc(1 * var(--rem)) 0" }, attrs: { message: e.$t("error.minOnePackage") } }) : e._e(), t("div", { staticClass: "flex w-full" }, [t("CButton", { staticStyle: { "border-color": "hsl(0, 0%, 82%)" }, attrs: { type: "secondary", outlined: "", "icon-left": "plus" }, on: { click: function(s) {
2371
2371
  return e.addPackage();
2372
2372
  } } }, [e._v(" " + e._s(e.$t("add")) + " ")])], 1)], 1) : e._e()] : t("div", [t("PackageGroupSelect", { on: { input: function(s) {
2373
2373
  return e.onSelectType(s);
2374
- } } }), e.validator.$invalid && e.validator.$dirty ? t("ErrorCallout", { staticStyle: { "padding-bottom": "1.5rem" }, attrs: { message: e.$t("error.selectType") } }) : e._e()], 1)], 2);
2374
+ } } }), 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);
2375
2375
  }, ei = [], ti = /* @__PURE__ */ c(
2376
2376
  Qt,
2377
2377
  Xt,
2378
2378
  ei,
2379
2379
  !1,
2380
2380
  null,
2381
- "1f5c0731",
2381
+ "b0860d65",
2382
2382
  null,
2383
2383
  null
2384
2384
  );