@cling-se/widget 0.21.3 → 0.22.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 (129) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{AddClientCallout-CodlIQwE.js → AddClientCallout-CxbvK6ZG.js} +7 -7
  3. package/dist/{AnswerModal-J1UhMHpo.js → AnswerModal-vTetGwVn.js} +935 -651
  4. package/dist/{AttachmentItem-B0_8bPKy.js → AttachmentItem-DSHNRIq_.js} +9 -9
  5. package/dist/{BaseUpload-DuqbaH9l.js → BaseUpload-CWaM_bb7.js} +2 -2
  6. package/dist/{BlockMedia-Dy_--7Vj.js → BlockMedia-B1T85G4R.js} +9 -9
  7. package/dist/{CCallout-CmuwGNSi.js → CCallout-BieMmWa4.js} +5 -5
  8. package/dist/{CCurrencyDropdown-B8g2vrhq.js → CCurrencyDropdown-DKWtCUE_.js} +3 -3
  9. package/dist/{CDropdownItem-CM3Ir-XA.js → CDropdownItem-pNNH9fV3.js} +13 -13
  10. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-C1P9Y9Tg.js → CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js} +14 -14
  11. package/dist/{CPhoneFormat-C0kGNp6W.js → CPhoneFormat-CyrQRGmd.js} +1 -1
  12. package/dist/{CPhoneInput-BUgER0Oa.js → CPhoneInput-BQHgpUCY.js} +5 -5
  13. package/dist/{CPriceInput-BQF9nkwR.js → CPriceInput-DnFN-I6p.js} +2 -2
  14. package/dist/{CSelect-H8jAu9Ae.js → CSelect-DB4-JxH8.js} +5 -5
  15. package/dist/{CSkeleton-C0XDwN9S.js → CSkeleton-DpRDxR6D.js} +7 -7
  16. package/dist/{ClientAutocomplete-BoNP8_4h.js → ClientAutocomplete-BjwvkuJ-.js} +19 -19
  17. package/dist/{ClientModal-DWFXbAOk.js → ClientModal-oBN2VSio.js} +138 -130
  18. package/dist/{ColorPicker-Bdwc47q6.js → ColorPicker-B5rSvXLV.js} +21 -21
  19. package/dist/{CompanyModal-CD6ojsz7.js → CompanyModal-QrsUL6Et.js} +13 -13
  20. package/dist/{ContentWrapper-Do4aBTL8.js → ContentWrapper-Yx-KMsfH.js} +22 -22
  21. package/dist/{CoverBlockSettings-4MmtvSy8.js → CoverBlockSettings-C8giTiEZ.js} +19 -19
  22. package/dist/{DocAnswer-CjwxDT6u.js → DocAnswer-Djyhwfrp.js} +2 -2
  23. package/dist/{DocDetails-BxIsdfgP.js → DocDetails-Dv6noPvB.js} +100 -94
  24. package/dist/{DocForm-CS9PFRi-.js → DocForm-BFHchJ6w.js} +24 -24
  25. package/dist/{DocFormSend-wzBPrCIU.js → DocFormSend-K2rbjklj.js} +2 -2
  26. package/dist/{DocLinks-DExm1cq-.js → DocLinks-DpUl89XR.js} +2 -2
  27. package/dist/{DocModalBase-CTtPx1oT.js → DocModalBase-BlTZ8CY3.js} +1 -1
  28. package/dist/{DocPrint-BlnW2EcE.js → DocPrint-Bmfl4Abk.js} +9 -9
  29. package/dist/{DocReceipt-CDyPZK5d.js → DocReceipt-3wi5YXqR.js} +111 -81
  30. package/dist/{DocSendReminder-yIYfJPSd.js → DocSendReminder-CHqgC_wM.js} +1 -1
  31. package/dist/{DocTextEditor-i_xyQACD.js → DocTextEditor-BGzwRwjt.js} +8 -8
  32. package/dist/{DocTimeline-p1JDm9-T.js → DocTimeline-BG7ldFgR.js} +12 -12
  33. package/dist/{DocumentClient-D_DZDXb4.js → DocumentClient-CLCAh4lI.js} +5 -5
  34. package/dist/{DocumentLayout-Q5yx_Q6I.js → DocumentLayout-DHSEYClM.js} +32 -32
  35. package/dist/{DocumentLogotype-BTLs13IJ.js → DocumentLogotype-0jH2-sr7.js} +8 -8
  36. package/dist/{DocumentVoided-DQ_dMdFP.js → DocumentVoided-BAS8mATO.js} +1 -1
  37. package/dist/{EmbedInput-DaMyfqJY.js → EmbedInput-DnSz1tbL.js} +18 -18
  38. package/dist/{EmbedSettings-Bc1eYQT0.js → EmbedSettings-BQ1kKupC.js} +5 -5
  39. package/dist/{ErrorCallout-DlQuu1rj.js → ErrorCallout-XMtdcNvE.js} +4 -4
  40. package/dist/{FilePreviewModal-BU9Sbe30.js → FilePreviewModal-Bv28RVrN.js} +20 -20
  41. package/dist/{Flag-CO6k_SbL.js → Flag-CcF7qtHi.js} +1 -1
  42. package/dist/{HeaderSettings-Dc7tbdZd.js → HeaderSettings-SKEJyM9y.js} +20 -20
  43. package/dist/{ImageSelectModal-d2IEg740.js → ImageSelectModal-BNXs_Rfh.js} +3 -3
  44. package/dist/{ImageUploadWrapper-B6hVAJaZ.js → ImageUploadWrapper-BmlB0qHZ.js} +23 -23
  45. package/dist/{Index-B2xKlEgp.js → Index-B1mvOHsr.js} +5 -5
  46. package/dist/{Index-CXEmMsr7.js → Index-B4EqZ9op.js} +8 -8
  47. package/dist/{Index-BJFdGM64.js → Index-B8soD6pI.js} +2 -2
  48. package/dist/{Index-C51ttD-V.js → Index-BDW4tvrc.js} +2 -2
  49. package/dist/{Index-m4JD2kLy.js → Index-BLC_eYvf.js} +2 -2
  50. package/dist/{Index-C7lZs4w7.js → Index-BNetDL7G.js} +4 -4
  51. package/dist/{Index-Br1Beh1t.js → Index-BRIv1n05.js} +4 -4
  52. package/dist/{Index-vj_4fW0L.js → Index-BS-ERsZ7.js} +28 -28
  53. package/dist/{Index-hTFQZ8P4.js → Index-BS1J5b8c.js} +3 -3
  54. package/dist/{Index-CIhXv9Vl.js → Index-B_R1p7cp.js} +1 -1
  55. package/dist/{Index-OOuia-Qn.js → Index-BbEj20KG.js} +13 -13
  56. package/dist/{Index-CRyXpadf.js → Index-Bd3gjqXz.js} +6 -6
  57. package/dist/{Index-FOlkhY4l.js → Index-Bxi4pinD.js} +3 -3
  58. package/dist/{Index-C8Vaj5ox.js → Index-Bz6vrP4D.js} +4 -4
  59. package/dist/{Index-CgUYpoRx.js → Index-C2Jql1QC.js} +16 -16
  60. package/dist/{Index-lrMaEM_k.js → Index-C6r2p8Qd.js} +7 -7
  61. package/dist/{Index-CpSQ5aXa.js → Index-C9k2n-HK.js} +4 -4
  62. package/dist/{Index--oU_6qkg.js → Index-CDdxLKdQ.js} +4 -4
  63. package/dist/{Index-BDxHSXUe.js → Index-CQSkYi57.js} +6 -6
  64. package/dist/{Index-BFFBTLqx.js → Index-CVoJGfTj.js} +5 -5
  65. package/dist/{Index-xaM6i_Ur.js → Index-CYjEFdMF.js} +2 -2
  66. package/dist/{Index-DqyAAbPV.js → Index-Ca6-XJ1q.js} +23 -23
  67. package/dist/{Index-Cyg7Cxb6.js → Index-CfpNMWEI.js} +5 -5
  68. package/dist/{Index-DmCgJ6-P.js → Index-Coef67Wb.js} +8 -8
  69. package/dist/{Index-CTR16GFI.js → Index-DRadSzmh.js} +11 -11
  70. package/dist/{Index-BlwNDGUd.js → Index-DU19comM.js} +14 -14
  71. package/dist/{Index-nspOYYbJ.js → Index-DquGwrE6.js} +11 -11
  72. package/dist/{Index-zwGVqaGe.js → Index-Dz3beMLO.js} +5 -5
  73. package/dist/{Index-DQ67Jdhz.js → Index-GmMgg4ZI.js} +10 -10
  74. package/dist/{Index-Bmv9uPyM.js → Index-LNHTL5EH.js} +1 -1
  75. package/dist/Index-Ra_-tX11.js +106 -0
  76. package/dist/Index-aOBMRrRj.js +4 -0
  77. package/dist/{Index-CP9Mwo6E.js → Index-ec9osPpw.js} +4 -4
  78. package/dist/{Index-4N9vyKBQ.js → Index-mcDMCki9.js} +30 -30
  79. package/dist/{Index.vue_vue_type_script_lang-C5astrcb.js → Index.vue_vue_type_script_lang-DOtAXSQl.js} +2 -2
  80. package/dist/{InputToggleRow-BBWZeA_f.js → InputToggleRow-DH7USYPf.js} +9 -9
  81. package/dist/{ManualPopover-DTwmTCPu.js → ManualPopover-JDRhdC8G.js} +3 -3
  82. package/dist/{MediaWrapper-Y0DGv4f8.js → MediaWrapper-DdbmCwGw.js} +3 -3
  83. package/dist/{NotBindingText-FUapTBAD.js → NotBindingText-CwV-MkgL.js} +2 -2
  84. package/dist/{PackageGroup-ChiyEDwB.js → PackageGroup-CH-8hyAF.js} +10 -10
  85. package/dist/{PdfTerms-CuQguFsD.js → PdfTerms-BBeN_k6I.js} +4 -4
  86. package/dist/{PdfViewer-Brnjp6OZ.js → PdfViewer-Du_M79jv.js} +27 -27
  87. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-D5CY66LQ.js → PlainHtml.vue_vue_type_script_setup_true_lang-BKJdTPrg.js} +1 -1
  88. package/dist/{PriceHeader-DpCLCW93.js → PriceHeader-Be2QwWzs.js} +25 -25
  89. package/dist/{SearchApi-iBG9y8ZN.js → SearchApi-dNunyqch.js} +1 -1
  90. package/dist/{SendForm-CTd08c8d.js → SendForm-BIIwVZwY.js} +143 -130
  91. package/dist/{Setup-C2kYjDKF.js → Setup-DBbHXz4_.js} +1 -1
  92. package/dist/{SmartList-BBq3BgJi.js → SmartList-C2JUKK2W.js} +1 -1
  93. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DyiB_0J-.js → Sortable.vue_vue_type_script_setup_true_lang-CzrvSsIg.js} +35 -35
  94. package/dist/{TermsSettings-Dj6sTbrm.js → TermsSettings-BZBWd3c9.js} +11 -11
  95. package/dist/{ThemeColorRow-BiwW-diz.js → ThemeColorRow-7KF7icN8.js} +5 -5
  96. package/dist/{ToggleBinding-JP15-Wvc.js → ToggleBinding-w8lNunzO.js} +4 -4
  97. package/dist/{UploadModal-zYfzZsGt.js → UploadModal-BRdimOyC.js} +2 -2
  98. package/dist/{VideoPlayerInput-zU6Kw9cw.js → VideoPlayerInput-BHmr7HvX.js} +6 -6
  99. package/dist/{VideoPlayerSettings-D7cfFYht.js → VideoPlayerSettings-fI8gpjks.js} +6 -6
  100. package/dist/{VideoSelectModal-CjOlhyNV.js → VideoSelectModal-Beq5yE0M.js} +9 -9
  101. package/dist/{focusDrawerMixin-C0aQjH6-.js → focusDrawerMixin-vhY6JO7g.js} +1 -1
  102. package/dist/{formDrawerState-CyABAApS.js → formDrawerState-ChHVYfc3.js} +1 -1
  103. package/dist/{fortnoxTheme-DQVyPRLl.js → fortnoxTheme-BGyYnb8i.js} +1 -1
  104. package/dist/{helpers-H5tqC2mD.js → helpers-Dw4CluFv.js} +1 -1
  105. package/dist/{index-EUYwyBFe.js → index-BUPqyA87.js} +6 -6
  106. package/dist/{index-77ik5EB2.js → index-BcnDsk0Z.js} +1 -1
  107. package/dist/{index-JV3eF8nv.js → index-C-tsPusW.js} +7 -7
  108. package/dist/{index-Ze_XZYbW.js → index-CPfrJsi9.js} +13 -13
  109. package/dist/{index-z_Lljo35.js → index-DJYVhEQt.js} +22 -22
  110. package/dist/{index-Cp5KfNdY.js → index-DihGX5od.js} +30 -30
  111. package/dist/{index-6-kWjuuL.js → index-syUJ22zc.js} +25 -28
  112. package/dist/index.es.js +3 -3
  113. package/dist/index.umd.js +140 -138
  114. package/dist/{main-BN-1fMb8.js → main-BBhJGb7I.js} +4908 -4635
  115. package/dist/{mapFormMixin-CM1I_eW_.js → mapFormMixin-CCKubywa.js} +2 -2
  116. package/dist/omit-Cdd54eFA.js +56 -0
  117. package/dist/{publicSenderState-BbL_iSL_.js → publicSenderState-LkIY-kEl.js} +1 -1
  118. package/dist/{splitpanes--dOqXPIb.js → splitpanes-nCfEUpmu.js} +1 -1
  119. package/dist/{template-BwkDoewU.js → template-B-Ds8x_U.js} +1 -1
  120. package/dist/{tippy.esm-BDnfKmn9.js → tippy.esm-DdYqbHFh.js} +66 -66
  121. package/dist/{useTermsModal-CmEHVDST.js → useTermsModal-Z_pZQ4H2.js} +4 -4
  122. package/dist/{utils-BVo-Ajwa.js → utils-C3tvmZHk.js} +1 -1
  123. package/dist/validation-CWxbj-wT.js +40 -0
  124. package/dist/widget.css +1 -1
  125. package/package.json +1 -1
  126. package/dist/Index-C7fJuk6X.js +0 -4
  127. package/dist/Index-M2_bF0WP.js +0 -87
  128. package/dist/omit-D9nqAztq.js +0 -56
  129. package/dist/validation-BJw9_38H.js +0 -40
@@ -1,6 +1,6 @@
1
- import { a7 as H, A as h, a2 as K, D, a3 as Q, G as O, d as v, o as m, T as X, e as j, j as u, u as Y, x as z, I as C, be as _, _ as W, b as G, f as P, ai as M, t as L, w as J, an as V, al as ee, J as R, bf as te, i as E, M as U, q as S, F as q, c as A, n as ae, R as ne, aB as oe } from "./main-BN-1fMb8.js";
2
- import { e as $ } from "./dom-DOcGU3-g.js";
3
- import { w as se } from "./CDropdownItem-CM3Ir-XA.js";
1
+ import { a8 as H, B as h, a3 as K, E as N, a4 as Q, H as O, d as v, o as m, U as X, e as j, j as u, v as Y, y as z, J as C, bf as _, _ as W, b as G, f as P, aj as M, t as L, w as J, ao as V, am as ee, k as U, bg as te, i as Z, M as R, s as S, F as q, c as $, q as ae, T as ne, aC as oe } from "./main-BBhJGb7I.js";
2
+ import { e as A } from "./dom-DOcGU3-g.js";
3
+ import { w as se } from "./CDropdownItem-pNNH9fV3.js";
4
4
  const re = { class: "w-full" }, le = /* @__PURE__ */ H({
5
5
  __name: "PdfPage",
6
6
  props: {
@@ -17,12 +17,12 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ H({
17
17
  setup(t, { emit: e }) {
18
18
  let s, r, f, d, n;
19
19
  const l = e, w = h(!0), b = K("container"), y = h(!1), p = h(null);
20
- D(
20
+ N(
21
21
  () => t.scale,
22
22
  (a) => {
23
23
  x(a);
24
24
  }
25
- ), D(
25
+ ), N(
26
26
  () => t.rotate,
27
27
  (a) => {
28
28
  n && (n.update({ scale: t.scale, rotation: a }), n.draw());
@@ -56,7 +56,7 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ H({
56
56
  annotationMode: t.annotation ? 1 : 0
57
57
  }), n.setPdfPage(g);
58
58
  const T = {
59
- scrollPageIntoView: (Z) => l("link-clicked", Z)
59
+ scrollPageIntoView: (E) => l("link-clicked", E)
60
60
  };
61
61
  return o.setDocument(t.pdf), o.setViewer(T), c.setDocument(t.pdf), x(t.scale);
62
62
  }).catch((g) => {
@@ -66,7 +66,7 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ H({
66
66
  function k(a = -1, o = -1) {
67
67
  return n.update({ scale: 1, rotation: t.rotate }), a === -1 && o === -1 && (a = b.value.offsetWidth), a / n.viewport.width;
68
68
  }
69
- function N() {
69
+ function B() {
70
70
  var c;
71
71
  n.update({ scale: 1, rotation: t.rotate });
72
72
  const a = b.value.offsetHeight, o = (c = b.value.parentElement) == null ? void 0 : c.parentElement;
@@ -78,10 +78,10 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ H({
78
78
  p.value = () => x(a);
79
79
  return;
80
80
  }
81
- y.value = !0, a === "page-width" ? (a = k(), l("update:scale", a)) : a === "page-height" && (a = N(), l("update:scale", a)), n.update({ scale: a, rotation: t.rotate }), await n.draw(), w.value = !1, y.value = !1;
81
+ y.value = !0, a === "page-width" ? (a = k(), l("update:scale", a)) : a === "page-height" && (a = B(), l("update:scale", a)), n.update({ scale: a, rotation: t.rotate }), await n.draw(), w.value = !1, y.value = !1;
82
82
  }
83
83
  }
84
- function B() {
84
+ function D() {
85
85
  t.resize && !w.value && x("page-width");
86
86
  }
87
87
  return (a, o) => (m(), v("div", null, [
@@ -92,7 +92,7 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ H({
92
92
  class: z([a.containerClass, "pdfViewer tracking-normal"])
93
93
  }, null, 2),
94
94
  Y(u("div", re, null, 512), [
95
- [C(_), B]
95
+ [C(_), D]
96
96
  ])
97
97
  ]));
98
98
  }
@@ -266,38 +266,38 @@ const ye = { key: 0 }, Pe = {
266
266
  emits: ["numPages", "rendered"],
267
267
  setup(t, { emit: e }) {
268
268
  let s = !1, r = null;
269
- const f = e, d = R("isPdf", !1), n = R("fallbackMode", !1), l = te(null), w = h(!1), b = K("pageComponents"), y = h("page-width"), p = h(!0), F = h(1), k = h(void 0);
270
- D(
269
+ const f = e, d = U("isPdf", !1), n = U("fallbackMode", !1), l = te(null), w = h(!1), b = K("pageComponents"), y = h("page-width"), p = h(!0), F = h(1), k = h(void 0);
270
+ N(
271
271
  () => n,
272
272
  (a) => {
273
273
  a && (y.value = 0.9);
274
274
  },
275
275
  { immediate: !0 }
276
- ), D(
276
+ ), N(
277
277
  () => t.src,
278
278
  async (a) => {
279
- s || (await $(
280
- `${E.api.baseUrl}/js/pdfjs-dist@${I}/build/pdf.min.mjs`
281
- ), await $(
282
- `${E.api.baseUrl}/js/pdfjs-dist@${I}/web/pdf_viewer.mjs`
283
- ), window.pdfjsLib.GlobalWorkerOptions.workerSrc = `${E.api.baseUrl}/js/pdfjs-dist@${I}/build/pdf.worker.min.mjs`, s = !0), N(a);
279
+ s || (await A(
280
+ `${Z.api.baseUrl}/js/pdfjs-dist@${I}/build/pdf.min.mjs`
281
+ ), await A(
282
+ `${Z.api.baseUrl}/js/pdfjs-dist@${I}/web/pdf_viewer.mjs`
283
+ ), window.pdfjsLib.GlobalWorkerOptions.workerSrc = `${Z.api.baseUrl}/js/pdfjs-dist@${I}/build/pdf.worker.min.mjs`, s = !0), B(a);
284
284
  },
285
285
  { immediate: !0 }
286
286
  ), O(() => {
287
287
  r && (r.disconnect(), r = null);
288
288
  });
289
- const N = async (a) => {
289
+ const B = async (a) => {
290
290
  if (!a) return;
291
291
  w.value = !0;
292
292
  const o = be(a);
293
- await U(), o.promise.then((c) => {
293
+ await R(), o.promise.then((c) => {
294
294
  l.value = c, w.value = !1, k.value = c.numPages, f("numPages", c.numPages), f("rendered"), t.toolbar && (k.value ?? 0) > 1 && (r = new IntersectionObserver(
295
295
  (i) => {
296
296
  i.forEach((g) => {
297
297
  var T;
298
298
  if (g.isIntersecting) {
299
- const Z = Number((T = g.target) == null ? void 0 : T.getAttribute("data-page"));
300
- F.value = Z;
299
+ const E = Number((T = g.target) == null ? void 0 : T.getAttribute("data-page"));
300
+ F.value = E;
301
301
  }
302
302
  });
303
303
  },
@@ -305,7 +305,7 @@ const ye = { key: 0 }, Pe = {
305
305
  rootMargin: "0px",
306
306
  threshold: 0.5
307
307
  }
308
- ), U(() => {
308
+ ), R(() => {
309
309
  var i;
310
310
  (i = b.value) == null || i.forEach(
311
311
  (g) => r.observe(g.$el)
@@ -318,7 +318,7 @@ const ye = { key: 0 }, Pe = {
318
318
  behavior: "instant",
319
319
  block: "start"
320
320
  });
321
- }, B = async () => {
321
+ }, D = async () => {
322
322
  l.value && l.value.getData().then((a) => {
323
323
  const o = new Blob([a], { type: "application/pdf" }), c = URL.createObjectURL(o), i = document.createElement("a");
324
324
  i.href = c, i.setAttribute("download", "document.pdf"), i.click();
@@ -337,7 +337,7 @@ const ye = { key: 0 }, Pe = {
337
337
  o[3] || (o[3] = S(`
338
338
  `))
339
339
  ])) : (m(), v(q, { key: 1 }, [
340
- a.toolbar && !C(n) && !w.value ? (m(), A(we, {
340
+ a.toolbar && !C(n) && !w.value ? (m(), $(we, {
341
341
  key: 0,
342
342
  scale: y.value,
343
343
  "onUpdate:scale": o[0] || (o[0] = (i) => y.value = i),
@@ -345,7 +345,7 @@ const ye = { key: 0 }, Pe = {
345
345
  "onUpdate:autoZoom": o[1] || (o[1] = (i) => p.value = i),
346
346
  "current-page": F.value,
347
347
  "num-pages": k.value,
348
- onDownload: B,
348
+ onDownload: D,
349
349
  onNavigateToPage: x
350
350
  }, null, 8, ["scale", "auto-zoom", "current-page", "num-pages"])) : j("", !0),
351
351
  u("div", {
@@ -361,7 +361,7 @@ const ye = { key: 0 }, Pe = {
361
361
  u("div", {
362
362
  class: z({ "overflow-x-auto": !p.value })
363
363
  }, [
364
- (m(!0), v(q, null, ae(k.value, (i) => (m(), A(le, ne({ ref_for: !0 }, a.$attrs, {
364
+ (m(!0), v(q, null, ae(k.value, (i) => (m(), $(le, ne({ ref_for: !0 }, a.$attrs, {
365
365
  ref_for: !0,
366
366
  ref_key: "pageComponents",
367
367
  ref: b,
@@ -1,4 +1,4 @@
1
- import { a7 as n, d as t, o, T as s, j as a } from "./main-BN-1fMb8.js";
1
+ import { a8 as n, d as t, o, U as s, j as a } from "./main-BBhJGb7I.js";
2
2
  const r = { class: "quill-format" }, l = ["innerHTML"], d = /* @__PURE__ */ n({
3
3
  __name: "PlainHtml",
4
4
  props: {
@@ -1,10 +1,10 @@
1
- import { m as v } from "./mapFormMixin-CM1I_eW_.js";
2
- import { B as A } from "./BlockMedia-Dy_--7Vj.js";
3
- import { _ as b, s as C, af as u, d as s, o as n, j as a, x as f, e as l, W as w, t as r, q as T, l as N, b as h, c as _, F as V, f as x, R as F, b3 as P } from "./main-BN-1fMb8.js";
4
- import { u as B } from "./DocumentLayout-Q5yx_Q6I.js";
5
- import { t as D } from "./template-BwkDoewU.js";
1
+ import { m as v } from "./mapFormMixin-CCKubywa.js";
2
+ import { B as A } from "./BlockMedia-B1T85G4R.js";
3
+ import { _ as b, u as C, ag as u, d as s, o as n, j as a, y as f, e as l, X as w, t as r, s as T, n as N, b as h, c as _, F as V, f as x, T as F, b4 as P } from "./main-BBhJGb7I.js";
4
+ import { u as B } from "./DocumentLayout-DHSEYClM.js";
5
+ import { t as D } from "./template-B-Ds8x_U.js";
6
6
  import { s as L } from "./dom-DOcGU3-g.js";
7
- import { T as j } from "./DocTextEditor-i_xyQACD.js";
7
+ import { T as j } from "./DocTextEditor-BGzwRwjt.js";
8
8
  import { i as M } from "./i18nMessages-Chz_lxGG.js";
9
9
  const z = {
10
10
  name: "SummaryBottom",
@@ -106,7 +106,7 @@ const z = {
106
106
  e && L(e);
107
107
  }
108
108
  }
109
- }, W = { class: "summary-bottom-root" }, I = { class: "price-type-string data-text" }, H = {
109
+ }, I = { class: "summary-bottom-root" }, W = { class: "price-type-string data-text" }, H = {
110
110
  key: 0,
111
111
  class: "price-deduction-text"
112
112
  }, E = {
@@ -115,26 +115,26 @@ const z = {
115
115
  }, $ = {
116
116
  key: 0,
117
117
  class: "open-acc-item"
118
- }, q = { class: "open-acc-link" }, O = {
118
+ }, O = { class: "open-acc-link" }, U = {
119
119
  class: "data-text",
120
120
  style: { "font-size": "calc(2 * var(--rem))", "font-weight": "900", "letter-spacing": "1px", "line-height": "1", "padding-bottom": "calc(0.3 * var(--rem))" }
121
- }, U = {
121
+ }, q = {
122
122
  key: 2,
123
123
  class: "label-text caps price-deduction-text",
124
124
  style: { "margin-top": "4px" }
125
- }, R = {
125
+ }, Z = {
126
126
  key: 1,
127
127
  class: "flex w-full items-center justify-end",
128
128
  style: { height: "108px" }
129
- }, Z = { style: { "text-align": "right", padding: "calc(2 * var(--rem))" } }, G = { style: { "font-size": "calc(1.5 * var(--rem))", "font-weight": "900" } }, J = { style: { "background-color": "hsla(0, 0%, 0%, 0.15)", paadding: "calc(1 * var(--rem)) calc(2 * var(--rem))", height: "100%", display: "inline-flex" } }, K = {
129
+ }, R = { style: { "text-align": "right", padding: "calc(2 * var(--rem))" } }, G = { style: { "font-size": "calc(1.5 * var(--rem))", "font-weight": "900" } }, X = { style: { "background-color": "hsla(0, 0%, 0%, 0.15)", paadding: "calc(1 * var(--rem)) calc(2 * var(--rem))", height: "100%", display: "inline-flex" } }, J = {
130
130
  key: 0,
131
131
  style: { padding: "calc(2 * var(--rem))", display: "inline-flex", "align-items": "center", "justify-content": "center", "font-weight": "900", "font-size": "calc(2.5 * var(--rem))" }
132
- }, Q = {
132
+ }, K = {
133
133
  key: 1,
134
134
  style: { display: "flex", "flex-direction": "column", "align-items": "flex-start", "justify-content": "center", padding: "calc(1 * var(--rem)) calc(1 * var(--rem))", "text-align": "left" }
135
- }, X = { style: { "font-weight": "900", "font-size": "calc(1.5 * var(--rem))" } };
135
+ }, Q = { style: { "font-weight": "900", "font-size": "calc(1.5 * var(--rem))" } };
136
136
  function Y(e, o, t, c, d, i) {
137
- return n(), s("section", W, [
137
+ return n(), s("section", I, [
138
138
  a("div", {
139
139
  style: w([
140
140
  {
@@ -148,20 +148,20 @@ function Y(e, o, t, c, d, i) {
148
148
  ]),
149
149
  class: "summary-bottom"
150
150
  }, [
151
- t.options.length ? (n(), s("div", R, [
152
- a("div", Z, [
151
+ t.options.length ? (n(), s("div", Z, [
152
+ a("div", R, [
153
153
  a("div", G, r(e._document.$t("price.proposal")), 1),
154
154
  a("div", null, r(e._document.$t("summaryBottom.chooseFrom")), 1)
155
155
  ]),
156
- a("div", J, [
157
- t.base ? (n(), s("div", Q, [
158
- a("div", X, r(i.priceFormat(t.base.prices.total, {
156
+ a("div", X, [
157
+ t.base ? (n(), s("div", K, [
158
+ a("div", Q, r(i.priceFormat(t.base.prices.total, {
159
159
  currency: i.currency,
160
160
  decimals: 2,
161
161
  hideZeroDecimals: !0
162
162
  })), 1),
163
163
  a("div", null, " + " + r(e._document.$tc("summaryBottom.option", { count: t.options.length })), 1)
164
- ])) : (n(), s("div", K, r(e._document.$t("summaryBottom.noOfOptions", {
164
+ ])) : (n(), s("div", J, r(e._document.$t("summaryBottom.noOfOptions", {
165
165
  count: t.options.length
166
166
  })), 1))
167
167
  ]),
@@ -180,7 +180,7 @@ function Y(e, o, t, c, d, i) {
180
180
  class: f(["flex w-full flex-col", [{ "fixed-price-type-string": i.isSmallScreen }]]),
181
181
  style: w([{ "background-color": "hsl(224, 57%, 39%)" }, [i.backgroundSecondary]])
182
182
  }, [
183
- a("div", I, r(i.priceTypeString), 1),
183
+ a("div", W, r(i.priceTypeString), 1),
184
184
  i.isSmallScreen ? l("", !0) : (n(), s("div", H, r(i.priceDeductionVatString), 1))
185
185
  ], 6),
186
186
  i.priceType.some((m) => ["openAcc", "openAccMaxPrice"].includes(m)) ? (n(), s("div", E, [
@@ -190,7 +190,7 @@ function Y(e, o, t, c, d, i) {
190
190
  })) + ": ", 1),
191
191
  a("div", null, r(i.priceFormat(i.openAccMaxPrice, { currency: i.currency })), 1)
192
192
  ])) : l("", !0),
193
- a("div", q, [
193
+ a("div", O, [
194
194
  T(r(e._document.$t("see").capitalize()) + " ", 1),
195
195
  a("span", {
196
196
  style: { color: "inherit", cursor: "pointer" },
@@ -204,13 +204,13 @@ function Y(e, o, t, c, d, i) {
204
204
  key: 1,
205
205
  class: f([[{ "justify-end": !i.isSmallScreen }], "flex w-full items-center"])
206
206
  }, [
207
- a("div", O, r(i.priceType.includes("approx") ? e._document.$t("approx").capitalize() : "") + " " + r(i.priceFormat(i.priceTotal, {
207
+ a("div", U, r(i.priceType.includes("approx") ? e._document.$t("approx").capitalize() : "") + " " + r(i.priceFormat(i.priceTotal, {
208
208
  currency: i.currency,
209
209
  decimals: 2,
210
210
  hideZeroDecimals: !0
211
211
  })), 1)
212
212
  ], 2)),
213
- i.isSmallScreen ? (n(), s("div", U, r(i.priceDeductionVatString), 1)) : l("", !0)
213
+ i.isSmallScreen ? (n(), s("div", q, r(i.priceDeductionVatString), 1)) : l("", !0)
214
214
  ], 2))
215
215
  ], 4)
216
216
  ]);
@@ -224,7 +224,7 @@ const ee = /* @__PURE__ */ b(z, [["render", Y], ["__scopeId", "data-v-7b484c4b"]
224
224
  components: {
225
225
  TextEditor: j,
226
226
  DocumentLogotype: N(
227
- () => import("./DocumentLogotype-BTLs13IJ.js")
227
+ () => import("./DocumentLogotype-0jH2-sr7.js")
228
228
  )
229
229
  },
230
230
  emits: ["update:logotype", "update:doc-name"],
@@ -1,4 +1,4 @@
1
- import { _ as u, X as h, a as f, Y as d, Z as p, $ as m, T as y } from "./main-BN-1fMb8.js";
1
+ import { _ as u, Y as h, a as f, Z as d, $ as p, a0 as m, U as y } from "./main-BBhJGb7I.js";
2
2
  const g = {
3
3
  name: "SearchApi",
4
4
  props: {