@cling-se/widget 0.19.13 → 0.20.1

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 (128) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.internal.md +5 -5
  3. package/dist/{AddClientCallout-Da7NOVA5.js → AddClientCallout-DOzqL6Ei.js} +4 -4
  4. package/dist/{AnswerModal-B2ApEIfo.js → AnswerModal-aoQoCe3o.js} +679 -681
  5. package/dist/{AttachmentItem-BM_DzA34.js → AttachmentItem-DTqI5mwy.js} +4 -4
  6. package/dist/{BaseUpload-CGVbfe4H.js → BaseUpload-nxVqZX3O.js} +2 -2
  7. package/dist/{BlockMedia-Dza5TjFS.js → BlockMedia-BYVRSrze.js} +1 -1
  8. package/dist/{CCallout-BpHUnBsq.js → CCallout-Db9YEwws.js} +1 -1
  9. package/dist/{CCurrencyDropdown-Glt0CY7w.js → CCurrencyDropdown-sRqig-2P.js} +3 -3
  10. package/dist/{CDropdownItem-rpcdHW76.js → CDropdownItem-CZO28TQW.js} +96 -96
  11. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-vyObNdUP.js → CFormField.vue_vue_type_script_setup_true_lang-DoO3uBt-.js} +2 -2
  12. package/dist/{CPhoneFormat-uxMRSGaN.js → CPhoneFormat-CUtvNKnk.js} +1 -1
  13. package/dist/{CPhoneInput-DnigKWiR.js → CPhoneInput-kOcllgTr.js} +5 -5
  14. package/dist/{CPriceInput-BNVWpxMd.js → CPriceInput-3X1Et9ny.js} +2 -2
  15. package/dist/{CSelect-ioLMsxK3.js → CSelect-DVCPHAdo.js} +1 -1
  16. package/dist/{CSkeleton-BsApoNUe.js → CSkeleton-Bxdz5nlu.js} +1 -1
  17. package/dist/{ClientAutocomplete-Dof0Wnp9.js → ClientAutocomplete-DCphFPmv.js} +3 -3
  18. package/dist/{ClientModal-CVsZrXLV.js → ClientModal-oTn-trfu.js} +218 -248
  19. package/dist/{ColorPicker-Ca2a0Dib.js → ColorPicker-Bs_kXTFe.js} +1 -1
  20. package/dist/{CompanyModal-C6AUjpnI.js → CompanyModal-DzXAdbGd.js} +7 -7
  21. package/dist/{ContentWrapper-wTfXDKX-.js → ContentWrapper-2wh0OBB0.js} +6 -6
  22. package/dist/{CoverBlockSettings-BkWhPlN2.js → CoverBlockSettings-DSOoms9U.js} +7 -7
  23. package/dist/{DocAnswer-DoRmk17c.js → DocAnswer-B529e1E2.js} +2 -2
  24. package/dist/{DocDetails-D_E3lERC.js → DocDetails-BHqTgx1H.js} +4 -4
  25. package/dist/{DocForm-DbpjRBRm.js → DocForm-DOdyjHWA.js} +99 -97
  26. package/dist/{DocFormSend-DN2k9giy.js → DocFormSend-DfrWjvTy.js} +2 -2
  27. package/dist/{DocLinks-BvtcG9-D.js → DocLinks-BRJnZ1rA.js} +2 -2
  28. package/dist/{DocModalBase-D_LZXbIj.js → DocModalBase-Cf-C2hVQ.js} +1 -1
  29. package/dist/{DocPrint-BrjeZaPK.js → DocPrint-OVtsohie.js} +1 -1
  30. package/dist/{DocReceipt-BXAGCO6L.js → DocReceipt-tmBbom2x.js} +2 -2
  31. package/dist/{DocSendReminder-BtcutNHV.js → DocSendReminder-C6fGp2qu.js} +1 -1
  32. package/dist/{DocTextEditor-DYrnRt6O.js → DocTextEditor-D3EjoBGe.js} +171 -148
  33. package/dist/{DocTimeline-AZQVm00F.js → DocTimeline-CChHnG2Q.js} +2 -2
  34. package/dist/{DocumentClient-BTsdprjd.js → DocumentClient-kV1ps0P5.js} +5 -5
  35. package/dist/{DocumentLayout-DbXHslTY.js → DocumentLayout-B2vKSnWD.js} +21 -21
  36. package/dist/{DocumentLogotype-B6ENzX02.js → DocumentLogotype-BldUocoJ.js} +4 -4
  37. package/dist/{DocumentVoided-B9AHAIvl.js → DocumentVoided-rZxx0TDM.js} +1 -1
  38. package/dist/{EmbedInput-BN6DFeq0.js → EmbedInput-C-bORXEJ.js} +3 -3
  39. package/dist/{EmbedSettings-DD9uIXDi.js → EmbedSettings-CaRoWZzj.js} +3 -3
  40. package/dist/{ErrorCallout-BFezjCn3.js → ErrorCallout-BQkcHI49.js} +1 -1
  41. package/dist/{FilePreviewModal-CXE7RahY.js → FilePreviewModal-egIS6jnw.js} +2 -2
  42. package/dist/{Flag-BCe6xe-D.js → Flag-DUrDD56m.js} +1 -1
  43. package/dist/{HeaderSettings-Uyr0qhas.js → HeaderSettings-Cfql7vW5.js} +9 -9
  44. package/dist/{ImageSelectModal-CSW3shsb.js → ImageSelectModal-3U22LhEN.js} +3 -3
  45. package/dist/{ImageUploadWrapper-DyunQdxO.js → ImageUploadWrapper-DWmlB4Ha.js} +2 -2
  46. package/dist/{Index-BRhtJdqU.js → Index-38AEfgHb.js} +4 -4
  47. package/dist/{Index-DAnljErU.js → Index-7rnf6UDQ.js} +6 -6
  48. package/dist/{Index-BUwF7tDs.js → Index-BepK484N.js} +3 -3
  49. package/dist/{Index-r-bi4xvP.js → Index-BlBA6eMl.js} +4 -4
  50. package/dist/{Index-CdtKkfEh.js → Index-BuPSt_Hb.js} +8 -8
  51. package/dist/{Index-B8EGrohn.js → Index-C2jLt_-J.js} +4 -4
  52. package/dist/{Index-DRVJFBy_.js → Index-CKisxkqL.js} +3 -3
  53. package/dist/{Index-BcPpzfWP.js → Index-CN1flEMh.js} +1 -1
  54. package/dist/{Index-D91m2xKm.js → Index-CRAk8dmP.js} +26 -17
  55. package/dist/{Index-BieU1ZTV.js → Index-CZFXyZp-.js} +2 -2
  56. package/dist/{Index-BGVViv6b.js → Index-C_2Gf2Da.js} +46 -37
  57. package/dist/{Index-ziuExFyj.js → Index-CcOeCvOe.js} +5 -5
  58. package/dist/{Index-DI91U3g3.js → Index-CcSq7dWo.js} +1 -1
  59. package/dist/{Index-Ch2Y3XbD.js → Index-Ckr5i1Li.js} +258 -240
  60. package/dist/{Index-VRzwBnM4.js → Index-Cl7KBtZX.js} +4 -4
  61. package/dist/{Index-CpZWI-QN.js → Index-CyAAbl1D.js} +14 -14
  62. package/dist/{Index-DMDWW0zp.js → Index-CyYFJf0D.js} +5 -5
  63. package/dist/Index-D05o3s14.js +4 -0
  64. package/dist/{Index-jSpfKPKP.js → Index-D1PUyqFa.js} +8 -8
  65. package/dist/{Index-32_BJudF.js → Index-DAI1qHEl.js} +3 -3
  66. package/dist/{Index-DaXHQaxr.js → Index-DAcRb0rT.js} +4 -4
  67. package/dist/{Index-BGsQAzCd.js → Index-DCWl_6gz.js} +9 -9
  68. package/dist/{Index-DH5l8DHo.js → Index-DGq9TdPd.js} +4 -4
  69. package/dist/{Index-Bh5sjhBw.js → Index-DIlbkelD.js} +1 -1
  70. package/dist/{Index-wb02iXXO.js → Index-DR3O2rVd.js} +5 -5
  71. package/dist/{Index-CgdCQDsv.js → Index-DSTJ0ZME.js} +7 -7
  72. package/dist/{Index-BmoysUi1.js → Index-DUKDykzl.js} +2 -2
  73. package/dist/{Index-Dssz58AL.js → Index-DfMMDolH.js} +3 -3
  74. package/dist/{Index-C-rVXB4u.js → Index-DikWyKIw.js} +2 -2
  75. package/dist/{Index-CATlFu8B.js → Index-Dn_EZ_k2.js} +2 -2
  76. package/dist/{Index-CLdIolDF.js → Index-STi0ufm3.js} +2 -2
  77. package/dist/{Index-DBozFV2a.js → Index-l8RB4z_B.js} +4 -4
  78. package/dist/{Index-DKKc3zZQ.js → Index-phqgcko1.js} +6 -6
  79. package/dist/{Index-Cnnkb8ey.js → Index-xKr7qP9f.js} +4 -4
  80. package/dist/{Index.vue_vue_type_script_lang-CUl4C9jx.js → Index.vue_vue_type_script_lang-DsCnlKNn.js} +2 -2
  81. package/dist/{InputToggleRow-e1gC6XnA.js → InputToggleRow-BiyZz3ua.js} +1 -1
  82. package/dist/{ManualPopover-BbqVfuJE.js → ManualPopover-CFwiZHZw.js} +1 -1
  83. package/dist/{MediaWrapper-Bqy-cGev.js → MediaWrapper-B6flFwa-.js} +3 -3
  84. package/dist/{NotBindingText-_GKq6jSE.js → NotBindingText-CyfRBqiL.js} +2 -2
  85. package/dist/{PackageGroup-IiQ0mqWg.js → PackageGroup-DDgLD4Yb.js} +5 -5
  86. package/dist/{PdfTerms-CO7SxSke.js → PdfTerms-zEPJCgb-.js} +2 -2
  87. package/dist/{PdfViewer-apckUEAj.js → PdfViewer-BNFYiBMf.js} +2 -2
  88. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-gCh1Q-qi.js → PlainHtml.vue_vue_type_script_setup_true_lang-CPGJZjFh.js} +1 -1
  89. package/dist/{PriceHeader-CXP09nZ6.js → PriceHeader-B9Mk_GDV.js} +7 -7
  90. package/dist/{SearchApi-CQOtHW43.js → SearchApi-BsSeYGH9.js} +1 -1
  91. package/dist/{SendForm-C3v06Gwx.js → SendForm-Ci2s-FsJ.js} +8 -8
  92. package/dist/{Setup-Dr37DSNY.js → Setup-C5uQOyWH.js} +1 -1
  93. package/dist/{SmartList-Opr_24HD.js → SmartList-BglLgQmN.js} +1 -1
  94. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DtvYuVUg.js → Sortable.vue_vue_type_script_setup_true_lang-C-Uy1WwV.js} +1 -1
  95. package/dist/{TermsSettings-P8IWZn08.js → TermsSettings-BUXZ0GDb.js} +34 -32
  96. package/dist/{ThemeColorRow-BdXx5ClL.js → ThemeColorRow-EJd126k7.js} +3 -3
  97. package/dist/{ToggleBinding-BZyqWBnB.js → ToggleBinding-Bxx2OzYq.js} +4 -4
  98. package/dist/{UploadModal-6E9HzkQ0.js → UploadModal-BjrFM0lw.js} +13 -11
  99. package/dist/{VideoPlayerInput-DRcDC2q-.js → VideoPlayerInput-o2GX5-Ma.js} +4 -4
  100. package/dist/{VideoPlayerSettings-Dw7zEg1k.js → VideoPlayerSettings-DXSwsMJl.js} +2 -2
  101. package/dist/{VideoSelectModal-DIV9-62A.js → VideoSelectModal-BI0-L5dG.js} +3 -3
  102. package/dist/{focusDrawerMixin-CrKt75PZ.js → focusDrawerMixin-Dz9oC1MR.js} +1 -1
  103. package/dist/{formDrawerState-BesayjqS.js → formDrawerState-0vhg7tV-.js} +1 -1
  104. package/dist/fortnoxTheme-B0DA1l7P.js +8 -0
  105. package/dist/{helpers-DOdzW9pA.js → helpers-Dkn2xKzv.js} +1 -1
  106. package/dist/{index-DINik6UH.js → index-Bw8qzZRS.js} +1 -1
  107. package/dist/{index-DWwjiiMe.js → index-D-NDkjvk.js} +1 -1
  108. package/dist/{index-BHg-4y6B.js → index-DI9iTlQc.js} +8 -8
  109. package/dist/{index-DNQzIGHD.js → index-DNBN1EEl.js} +642 -565
  110. package/dist/{index-BnjVWyGe.js → index-Dkh_SXlu.js} +3 -3
  111. package/dist/{index-DDfG6A20.js → index-c4rO163H.js} +1 -1
  112. package/dist/{index-Cl5j-fNE.js → index-dqh4rth1.js} +1 -1
  113. package/dist/index.es.js +3 -33
  114. package/dist/index.umd.js +142 -142
  115. package/dist/{main-C18owm58.js → main-DAjWLLG0.js} +5116 -5085
  116. package/dist/{mapFormMixin-bA_KI0pt.js → mapFormMixin-CFaAoXxf.js} +4 -4
  117. package/dist/{omit-BVoDlsuC.js → omit-5nzNft5F.js} +2 -2
  118. package/dist/{publicSenderState-BR7541Fw.js → publicSenderState-BaH8Utk8.js} +1 -1
  119. package/dist/{splitpanes-OUpaQjCW.js → splitpanes-CxaAqPCT.js} +1 -1
  120. package/dist/{template-Y3wS95il.js → template-CHAQR6C-.js} +1 -1
  121. package/dist/{tippy.esm-CQD-ZLcV.js → tippy.esm-DYmyPdOc.js} +5 -5
  122. package/dist/{useTermsModal-DS9T_NyM.js → useTermsModal-aIBQHQEU.js} +4 -4
  123. package/dist/{utils-DwKlp8_z.js → utils-CiYKHNqS.js} +1 -1
  124. package/dist/{validation-b_jF-CIN.js → validation-BRPTZqtn.js} +2 -2
  125. package/dist/validations-ohsJ5nBz.js +34 -0
  126. package/dist/widget.css +1 -1
  127. package/package.json +1 -1
  128. package/dist/Index-DEBrME_f.js +0 -4
@@ -1,5 +1,5 @@
1
- import { C as N } from "./CSkeleton-BsApoNUe.js";
2
- import { _ as b, b4 as D, b5 as S, b as y, a4 as O, d as l, o as a, j as o, x as u, c as w, e as _, F as k, f as v, q as B, t as h, u as q, a as A, T as j, n as F, af as V, aD as H, w as L } from "./main-C18owm58.js";
1
+ import { C as N } from "./CSkeleton-Bxdz5nlu.js";
2
+ import { _ as b, b4 as D, b5 as S, b as y, a4 as O, d as l, o as a, j as o, x as u, c as w, e as _, F as k, f as v, q as B, t as h, u as q, a as A, T as j, n as F, af as V, aD as H, w as L } from "./main-DAjWLLG0.js";
3
3
  const G = {
4
4
  name: "EventItem",
5
5
  components: {
@@ -1,8 +1,8 @@
1
- import { D as f } from "./DocumentLayout-DbXHslTY.js";
2
- import { _ as s, r as _, b as c, d as V, o, T as y, c as u } from "./main-C18owm58.js";
3
- import "./template-Y3wS95il.js";
4
- import { u as D } from "./validation-b_jF-CIN.js";
5
- import { D as F } from "./DocumentVoided-B9AHAIvl.js";
1
+ import { D as f } from "./DocumentLayout-B2vKSnWD.js";
2
+ import { _ as s, r as _, b as c, d as V, o, T as y, c as u } from "./main-DAjWLLG0.js";
3
+ import "./template-CHAQR6C-.js";
4
+ import { u as D } from "./validation-BRPTZqtn.js";
5
+ import { D as F } from "./DocumentVoided-rZxx0TDM.js";
6
6
  const r = _({
7
7
  canEdit: !1,
8
8
  isForm: !1,
@@ -1,7 +1,7 @@
1
- import { a7 as S, A as x, d as g, o as u, j as B, W as w, _ as I, p as X, J as N, b_ as Y, l as W, b$ as A, b, c as v, e as L, w as y, F, n as V, R as $, ap as O, i as Z, z as ee, a3 as te, D as R, I as k, q as P, t as p, r as oe, a5 as ne, az as ae, H as _, c0 as se, c1 as le, T as j, by as re, bz as ie, X as ce, a1 as ue, f as C, c2 as de, c3 as me, a2 as pe, x as fe } from "./main-C18owm58.js";
2
- import "./template-Y3wS95il.js";
3
- import { C as ye, a as he } from "./CDropdownItem-rpcdHW76.js";
4
- import "./helpers-DOdzW9pA.js";
1
+ import { a7 as S, A as x, d as g, o as u, j as B, W as w, _ as I, p as X, J as N, b_ as Y, l as W, b$ as A, b, c as v, e as L, w as y, F, n as V, R as $, ap as O, i as Z, z as ee, a3 as te, D as R, q as P, t as p, I as k, r as oe, a5 as ne, az as ae, H as _, c0 as se, bs as le, bt as re, c1 as ie, T as j, X as ce, a1 as ue, f as C, c2 as de, c3 as me, a2 as pe, x as fe } from "./main-DAjWLLG0.js";
2
+ import "./template-CHAQR6C-.js";
3
+ import { C as ye, a as he } from "./CDropdownItem-CZO28TQW.js";
4
+ import "./helpers-Dkn2xKzv.js";
5
5
  const ve = (e, t, o) => {
6
6
  const n = e[t];
7
7
  return n ? typeof n == "function" ? n() : Promise.resolve(n) : new Promise((s, a) => {
@@ -109,7 +109,7 @@ const Ce = {
109
109
  },
110
110
  computed: {
111
111
  loader() {
112
- return () => ve(/* @__PURE__ */ Object.assign({ "../blocks/answer/Index.vue": () => import("./Index-Ch2Y3XbD.js"), "../blocks/attachments/Index.vue": () => import("./Index-D91m2xKm.js"), "../blocks/coverBlock/Index.vue": () => import("./Index-CgdCQDsv.js"), "../blocks/custom/Index.vue": () => import("./Index-DRVJFBy_.js"), "../blocks/docChapter/Index.vue": () => import("./Index-CLdIolDF.js"), "../blocks/docChapterSub/Index.vue": () => import("./Index-BcPpzfWP.js"), "../blocks/docParties/Index.vue": () => import("./Index-CdtKkfEh.js"), "../blocks/embed/Index.vue": () => import("./Index-wb02iXXO.js"), "../blocks/estimatedTimeToCompleteText/Index.vue": () => import("./Index-r-bi4xvP.js"), "../blocks/estimatedWorkStartAndEndAtText/Index.vue": () => import("./Index-BRhtJdqU.js"), "../blocks/extraWorkConstructionPricingList/Index.vue": () => import("./Index-DBozFV2a.js"), "../blocks/extraWorkTimeImpactText/Index.vue": () => import("./Index-DH5l8DHo.js"), "../blocks/header/Index.vue": () => import("./Index-BGsQAzCd.js"), "../blocks/multiGroupPricing/Index.vue": () => import("./Index-DI91U3g3.js"), "../blocks/notBinding/Index.vue": () => import("./Index-DaXHQaxr.js"), "../blocks/packageGroup/Index.vue": () => import("./Index-ziuExFyj.js"), "../blocks/pdf/Index.vue": () => import("./Index-BGVViv6b.js"), "../blocks/presentation/Index.vue": () => import("./Index-jSpfKPKP.js"), "../blocks/terms/Index.vue": () => import("./Index-DMDWW0zp.js"), "../blocks/textContent/Index.vue": () => import("./Index-32_BJudF.js"), "../blocks/videoPlayer/Index.vue": () => import("./Index-DKKc3zZQ.js"), "../blocks/workAddressText/Index.vue": () => import("./Index-Dssz58AL.js") }), `../blocks/${this.componentName}/Index.vue`, 4);
112
+ return () => ve(/* @__PURE__ */ Object.assign({ "../blocks/answer/Index.vue": () => import("./Index-Ckr5i1Li.js"), "../blocks/attachments/Index.vue": () => import("./Index-CRAk8dmP.js"), "../blocks/coverBlock/Index.vue": () => import("./Index-DSTJ0ZME.js"), "../blocks/custom/Index.vue": () => import("./Index-CKisxkqL.js"), "../blocks/docChapter/Index.vue": () => import("./Index-STi0ufm3.js"), "../blocks/docChapterSub/Index.vue": () => import("./Index-CN1flEMh.js"), "../blocks/docParties/Index.vue": () => import("./Index-BuPSt_Hb.js"), "../blocks/embed/Index.vue": () => import("./Index-DR3O2rVd.js"), "../blocks/estimatedTimeToCompleteText/Index.vue": () => import("./Index-BlBA6eMl.js"), "../blocks/estimatedWorkStartAndEndAtText/Index.vue": () => import("./Index-38AEfgHb.js"), "../blocks/extraWorkConstructionPricingList/Index.vue": () => import("./Index-l8RB4z_B.js"), "../blocks/extraWorkTimeImpactText/Index.vue": () => import("./Index-DGq9TdPd.js"), "../blocks/header/Index.vue": () => import("./Index-DCWl_6gz.js"), "../blocks/multiGroupPricing/Index.vue": () => import("./Index-CcSq7dWo.js"), "../blocks/notBinding/Index.vue": () => import("./Index-DAcRb0rT.js"), "../blocks/packageGroup/Index.vue": () => import("./Index-CcOeCvOe.js"), "../blocks/pdf/Index.vue": () => import("./Index-C_2Gf2Da.js"), "../blocks/presentation/Index.vue": () => import("./Index-D1PUyqFa.js"), "../blocks/terms/Index.vue": () => import("./Index-CyYFJf0D.js"), "../blocks/textContent/Index.vue": () => import("./Index-DAI1qHEl.js"), "../blocks/videoPlayer/Index.vue": () => import("./Index-phqgcko1.js"), "../blocks/workAddressText/Index.vue": () => import("./Index-DfMMDolH.js") }), `../blocks/${this.componentName}/Index.vue`, 4);
113
113
  },
114
114
  isPdfPrintAndPdfBlock() {
115
115
  var e, t;
@@ -166,10 +166,10 @@ function Se(e, t, o, n, s, a) {
166
166
  _: 1
167
167
  }, 16, ["class", "enable-spacing-x", "pdf-spacing-x", "enable-spacing-y", "onInput", "onRemove"])) : L("", !0);
168
168
  }
169
- const z = /* @__PURE__ */ I(Ce, [["render", Se]]), Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
169
+ const G = /* @__PURE__ */ I(Ce, [["render", Se]]), Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
170
170
  __proto__: null,
171
- default: z
172
- }, Symbol.toStringTag, { value: "Module" })), G = "data-is-preview", De = Z.google.fontsKey, Be = "https://www.googleapis.com/webfonts/v1/webfonts", Le = "https://fonts.googleapis.com/css", M = {
171
+ default: G
172
+ }, Symbol.toStringTag, { value: "Module" })), Q = "data-is-preview", De = Z.google.fontsKey, Be = "https://www.googleapis.com/webfonts/v1/webfonts", Le = "https://fonts.googleapis.com/css", M = {
173
173
  100: { label: "Thin", value: "100" },
174
174
  200: { label: "Extra Light", value: "200" },
175
175
  300: { label: "Light", value: "300" },
@@ -179,12 +179,12 @@ const z = /* @__PURE__ */ I(Ce, [["render", Se]]), Pe = /* @__PURE__ */ Object.f
179
179
  700: { label: "Bold", value: "700" },
180
180
  800: { label: "Extra Bold", value: "800" },
181
181
  900: { label: "Black", value: "900" }
182
- }, Q = (e) => `font-${e.replace(/\s+/g, "-").toLowerCase()}`, Fe = (e, t = !1) => {
183
- const o = document.getElementById(Q(e));
184
- return o !== null && o.getAttribute(G) === t.toString();
182
+ }, z = (e) => `font-${e.replace(/\s+/g, "-").toLowerCase()}`, Fe = (e, t = !1) => {
183
+ const o = document.getElementById(z(e));
184
+ return o !== null && o.getAttribute(Q) === t.toString();
185
185
  }, Ve = (e, t = !1) => {
186
186
  const o = document.head || document.getElementsByTagName("head")[0], n = document.createElement("link");
187
- n.id = Q(e), n.setAttribute("rel", "stylesheet"), n.setAttribute(G, t.toString());
187
+ n.id = z(e), n.setAttribute("rel", "stylesheet"), n.setAttribute(Q, t.toString());
188
188
  let s = `${Le}?family=${e.replace(/\s/gi, "+")}`;
189
189
  return t ? s += `&text=${e}` : s += ":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic", s += "&display=swap", n.setAttribute("href", s), o.appendChild(n), n;
190
190
  }, U = (e, t = !1) => {
@@ -283,11 +283,11 @@ const J = (e = []) => (e || []).filter((t) => !!M[t]).map((t) => M[t]), ot = asy
283
283
  itemHeight: 35
284
284
  });
285
285
  return (c, f) => (u(), g("div", $(k(i), { style: a.value }), [
286
- B("div", re(ie(k(r))), [
286
+ B("div", le(re(k(r))), [
287
287
  (u(!0), g(F, null, V(k(l), (d) => (u(), v(K, {
288
288
  key: d.index,
289
289
  source: d.data
290
- }, le({ _: 2 }, [
290
+ }, ie({ _: 2 }, [
291
291
  c.$slots.footer ? {
292
292
  name: "footer",
293
293
  fn: y(() => [
@@ -477,7 +477,7 @@ const Re = ({ json: e, prefix: t = "" } = {}) => Object.keys(e || {}).map((o) =>
477
477
  jsonToCss: Re
478
478
  }
479
479
  };
480
- function ze(e, t, o, n, s, a) {
480
+ function Ge(e, t, o, n, s, a) {
481
481
  return o.json ? (u(), v(O("style"), { key: 0 }, {
482
482
  default: y(() => [
483
483
  P(p(a.jsonToCss({ json: o.json, prefix: o.prefix })), 1)
@@ -485,7 +485,7 @@ function ze(e, t, o, n, s, a) {
485
485
  _: 1
486
486
  })) : L("", !0);
487
487
  }
488
- const Ge = /* @__PURE__ */ I(qe, [["render", ze]]), Qe = /* @__PURE__ */ S({
488
+ const Qe = /* @__PURE__ */ I(qe, [["render", Ge]]), ze = /* @__PURE__ */ S({
489
489
  __name: "DocumentStyleContainer",
490
490
  props: {
491
491
  inputStyle: {}
@@ -525,7 +525,7 @@ const Ge = /* @__PURE__ */ I(qe, [["render", ze]]), Qe = /* @__PURE__ */ S({
525
525
  ]),
526
526
  _: 1
527
527
  })),
528
- C(Ge, {
528
+ C(Qe, {
529
529
  json: h.inputStyle,
530
530
  prefix: `.${r.value}.${r.value}.${r.value} `
531
531
  }, null, 8, ["json", "prefix"]),
@@ -535,8 +535,8 @@ const Ge = /* @__PURE__ */ I(qe, [["render", ze]]), Qe = /* @__PURE__ */ S({
535
535
  }), Ue = {
536
536
  name: "DocumentLayout",
537
537
  components: {
538
- DynamicChapter: z,
539
- DocumentStyleContainer: Qe
538
+ DynamicChapter: G,
539
+ DocumentStyleContainer: ze
540
540
  },
541
541
  props: {
542
542
  document: {
@@ -585,8 +585,8 @@ const Je = /* @__PURE__ */ I(Ue, [["render", Ke]]), st = /* @__PURE__ */ Object.
585
585
  export {
586
586
  Je as D,
587
587
  nt as F,
588
- Qe as _,
589
- z as a,
588
+ ze as _,
589
+ G as a,
590
590
  st as b,
591
591
  ot as g,
592
592
  at as i,
@@ -1,13 +1,13 @@
1
- import { s as _ } from "./publicSenderState-BR7541Fw.js";
2
- import { C as w, a as C } from "./CDropdownItem-rpcdHW76.js";
3
- import { _ as v, m as b, a as k, l as L, b as d, d as p, e as u, o as i, f as n, w as s, q as r, t as m, F as D, c as I, j as g, W as P, g as V } from "./main-C18owm58.js";
1
+ import { s as _ } from "./publicSenderState-BaH8Utk8.js";
2
+ import { C as w, a as C } from "./CDropdownItem-CZO28TQW.js";
3
+ import { _ as v, m as b, a as k, l as L, b as d, d as p, e as u, o as i, f as n, w as s, q as r, t as m, F as D, c as I, j as g, W as P, g as V } from "./main-DAjWLLG0.js";
4
4
  const B = {
5
5
  name: "DocumentLogotype",
6
6
  components: {
7
7
  CDropdown: C,
8
8
  CDropdownItem: w,
9
9
  ImageUploadWrapper: L(
10
- () => import("./ImageUploadWrapper-DyunQdxO.js")
10
+ () => import("./ImageUploadWrapper-DWmlB4Ha.js")
11
11
  )
12
12
  },
13
13
  inject: {
@@ -1,4 +1,4 @@
1
- import { _ as c, b as s, d, o as i, j as t, f as a, t as o } from "./main-C18owm58.js";
1
+ import { _ as c, b as s, d, o as i, j as t, f as a, t as o } from "./main-DAjWLLG0.js";
2
2
  const r = {
3
3
  name: "DocumentVoided",
4
4
  props: {
@@ -1,6 +1,6 @@
1
- import { _ as p } from "./CFormField.vue_vue_type_script_setup_true_lang-vyObNdUP.js";
2
- import { u as f } from "./index-DWwjiiMe.js";
3
- import { af as h, _ as b, X as g, b as d, c as w, o as V, w as l, f as o, q as _, t as v, W as y } from "./main-C18owm58.js";
1
+ import { _ as p } from "./CFormField.vue_vue_type_script_setup_true_lang-DoO3uBt-.js";
2
+ import { u as f } from "./index-D-NDkjvk.js";
3
+ import { af as h, _ as b, X as g, b as d, c as w, o as V, w as l, f as o, q as _, t as v, W as y } from "./main-DAjWLLG0.js";
4
4
  const z = (e) => {
5
5
  const a = new DOMParser().parseFromString(e, "text/html"), [i] = h(a, "body.children") || [];
6
6
  return !i || i.tagName !== "IFRAME" ? {} : Array.from(i.attributes).reduce(
@@ -1,6 +1,6 @@
1
- import { b as h } from "./CDropdownItem-rpcdHW76.js";
2
- import z from "./EmbedInput-BN6DFeq0.js";
3
- import { _ as g, b as d, d as o, o as a, j as s, f as r, t as n, e as _, F as f, n as b, x as y } from "./main-C18owm58.js";
1
+ import { b as h } from "./CDropdownItem-CZO28TQW.js";
2
+ import z from "./EmbedInput-C-bORXEJ.js";
3
+ import { _ as g, b as d, d as o, o as a, j as s, f as r, t as n, e as _, F as f, n as b, x as y } from "./main-DAjWLLG0.js";
4
4
  const C = {
5
5
  i18nOptions: {
6
6
  namespaces: "embedSettings",
@@ -1,4 +1,4 @@
1
- import { a7 as n, az as i, H as a, b as m, d as p, o as d, j as t, f as _, t as u, x as r, W as v, _ as y } from "./main-C18owm58.js";
1
+ import { a7 as n, az as i, H as a, b as m, d as p, o as d, j as t, f as _, t as u, x as r, W as v, _ as y } from "./main-DAjWLLG0.js";
2
2
  const f = /* @__PURE__ */ n({
3
3
  __name: "ErrorCallout",
4
4
  props: {
@@ -1,5 +1,5 @@
1
- import { V as c } from "./PdfViewer-apckUEAj.js";
2
- import { _ as h, S as k, b as m, a4 as y, d as i, o, j as n, t as x, u as a, x as v, c as g, e as w, an as I } from "./main-C18owm58.js";
1
+ import { V as c } from "./PdfViewer-BNFYiBMf.js";
2
+ import { _ as h, S as k, b as m, a4 as y, d as i, o, j as n, t as x, u as a, x as v, c as g, e as w, an as I } from "./main-DAjWLLG0.js";
3
3
  const C = {
4
4
  name: "FilesPreviewModal",
5
5
  components: {
@@ -1,4 +1,4 @@
1
- import { _ as i, d as c, e as r, o as d, x as u } from "./main-C18owm58.js";
1
+ import { _ as i, d as c, e as r, o as d, x as u } from "./main-DAjWLLG0.js";
2
2
  const f = {
3
3
  name: "FlagIcon",
4
4
  props: {
@@ -1,12 +1,12 @@
1
- import { m as S } from "./mapFormMixin-bA_KI0pt.js";
2
- import { T as F } from "./ThemeColorRow-BdXx5ClL.js";
3
- import U from "./VideoPlayerInput-DRcDC2q-.js";
4
- import j from "./ImageUploadWrapper-DyunQdxO.js";
5
- import { B as P, a as H } from "./index-BnjVWyGe.js";
6
- import { _ as I, b as g, c as x, o as a, w as c, d as u, f as p, q as w, t as h, j as l, e as z, W as B, F as _, n as A, au as $, a5 as V, i as L, b6 as R, a0 as O, T as D, u as W, an as T, b7 as q, ai as N, x as M } from "./main-C18owm58.js";
7
- import { _ as E } from "./CFormField.vue_vue_type_script_setup_true_lang-vyObNdUP.js";
8
- import { b as K } from "./CDropdownItem-rpcdHW76.js";
9
- import { t as G } from "./template-Y3wS95il.js";
1
+ import { m as S } from "./mapFormMixin-CFaAoXxf.js";
2
+ import { T as F } from "./ThemeColorRow-EJd126k7.js";
3
+ import U from "./VideoPlayerInput-o2GX5-Ma.js";
4
+ import j from "./ImageUploadWrapper-DWmlB4Ha.js";
5
+ import { B as P, a as H } from "./index-Dkh_SXlu.js";
6
+ import { _ as I, b as g, c as x, o as a, w as c, d as u, f as p, q as w, t as h, j as l, e as z, W as B, F as _, n as A, au as $, a5 as V, i as L, b6 as R, a0 as O, T as D, u as W, an as T, b7 as q, ai as N, x as M } from "./main-DAjWLLG0.js";
7
+ import { _ as E } from "./CFormField.vue_vue_type_script_setup_true_lang-DoO3uBt-.js";
8
+ import { b as K } from "./CDropdownItem-CZO28TQW.js";
9
+ import { t as G } from "./template-CHAQR6C-.js";
10
10
  const J = {
11
11
  name: "MediaSelectModal",
12
12
  i18nOptions: {
@@ -1,6 +1,6 @@
1
- import _ from "./ImageUploadWrapper-DyunQdxO.js";
2
- import { B as I, a as B } from "./index-BnjVWyGe.js";
3
- import { _ as k, b as n, c as U, o as v, w as a, f as l, q as i, t as m, au as C, a5 as p, i as u } from "./main-C18owm58.js";
1
+ import _ from "./ImageUploadWrapper-DWmlB4Ha.js";
2
+ import { B as I, a as B } from "./index-Dkh_SXlu.js";
3
+ import { _ as k, b as n, c as U, o as v, w as a, f as l, q as i, t as m, au as C, a5 as p, i as u } from "./main-DAjWLLG0.js";
4
4
  const S = {
5
5
  name: "ImageSelectModal",
6
6
  i18nOptions: {
@@ -1,5 +1,5 @@
1
- import re from "./BaseUpload-CGVbfe4H.js";
2
- import { c as y, o as w, T as B, b as T, f as R, w as $, F as Et, n as Ct, ap as nt, u as Bt, v as Ut, R as st, e as ft, an as Rt, _ as kt, d as Ft, j as pt, q as ae, t as he, aB as ce } from "./main-C18owm58.js";
1
+ import re from "./BaseUpload-nxVqZX3O.js";
2
+ import { c as y, o as w, T as B, b as T, f as R, w as $, F as Et, n as Ct, ap as nt, u as Bt, v as Ut, R as st, e as ft, an as Rt, _ as kt, d as Ft, j as pt, q as ae, t as he, aB as ce } from "./main-DAjWLLG0.js";
3
3
  function Tt(t, e) {
4
4
  var i = Object.keys(t);
5
5
  if (Object.getOwnPropertySymbols) {
@@ -1,10 +1,10 @@
1
- import { m as i } from "./mapFormMixin-bA_KI0pt.js";
2
- import { _ as p, l as e, b as o, c as a, o as s } from "./main-C18owm58.js";
1
+ import { m as i } from "./mapFormMixin-CFaAoXxf.js";
2
+ import { _ as p, l as e, b as o, c as a, o as s } from "./main-DAjWLLG0.js";
3
3
  const u = {
4
4
  name: "EstimatedWorkStartAndEndAtText",
5
5
  components: {
6
- Read: e(() => import("./Index-CATlFu8B.js")),
7
- Edit: e(() => import("./Index-BUwF7tDs.js"))
6
+ Read: e(() => import("./Index-Dn_EZ_k2.js")),
7
+ Edit: e(() => import("./Index-BepK484N.js"))
8
8
  },
9
9
  emits: ["input"],
10
10
  mixins: [i(["startAt", "endAt"])]
@@ -1,9 +1,9 @@
1
- import { m as D } from "./mapFormMixin-bA_KI0pt.js";
2
- import { C as S } from "./CSelect-ioLMsxK3.js";
3
- import { b as A } from "./CDropdownItem-rpcdHW76.js";
4
- import { _ as U, b as v, d as u, o as p, f as h, e as f, j as i, q as l, t as n, w as k, F as V, n as y, aI as E } from "./main-C18owm58.js";
5
- import { u as O } from "./index-DWwjiiMe.js";
6
- import { a as d } from "./index-DINik6UH.js";
1
+ import { m as D } from "./mapFormMixin-CFaAoXxf.js";
2
+ import { C as S } from "./CSelect-DVCPHAdo.js";
3
+ import { b as A } from "./CDropdownItem-CZO28TQW.js";
4
+ import { _ as U, b as v, d as u, o as p, f as h, e as f, j as i, q as l, t as n, w as k, F as V, n as y, aI as E } from "./main-DAjWLLG0.js";
5
+ import { u as O } from "./index-D-NDkjvk.js";
6
+ import { a as d } from "./index-Bw8qzZRS.js";
7
7
  const $ = (t, e) => t ? E(e.workStartAt || /* @__PURE__ */ new Date(), t) >= 0 : !0, C = {
8
8
  name: "ExtraWorkTimeImpactTextEdit",
9
9
  i18nOptions: {
@@ -1,6 +1,6 @@
1
- import { m as o } from "./mapFormMixin-bA_KI0pt.js";
2
- import { I as d } from "./InputToggleRow-e1gC6XnA.js";
3
- import { _ as m, b as u, c as i, o as p, w as g, j as s } from "./main-C18owm58.js";
1
+ import { m as o } from "./mapFormMixin-CFaAoXxf.js";
2
+ import { I as d } from "./InputToggleRow-BiyZz3ua.js";
3
+ import { _ as m, b as u, c as i, o as p, w as g, j as s } from "./main-DAjWLLG0.js";
4
4
  const A = {
5
5
  i18nOptions: {
6
6
  namespaces: "estimatedTimeStartEnd",
@@ -1,10 +1,10 @@
1
- import { m as u } from "./mapFormMixin-bA_KI0pt.js";
2
- import { _ as r, l as t, b as o, c as i, o as m } from "./main-C18owm58.js";
1
+ import { m as u } from "./mapFormMixin-CFaAoXxf.js";
2
+ import { _ as r, l as t, b as o, c as i, o as m } from "./main-DAjWLLG0.js";
3
3
  const d = {
4
4
  name: "EstimatedTimeToComplete",
5
5
  components: {
6
- Read: t(() => import("./Index-C-rVXB4u.js")),
7
- Edit: t(() => import("./Index-B8EGrohn.js"))
6
+ Read: t(() => import("./Index-DikWyKIw.js")),
7
+ Edit: t(() => import("./Index-C2jLt_-J.js"))
8
8
  },
9
9
  emits: ["input"],
10
10
  mixins: [u(["noOfTimeUnits", "timeUnit"])]
@@ -1,8 +1,8 @@
1
- import { m as E } from "./mapFormMixin-bA_KI0pt.js";
2
- import { C as z } from "./CCallout-BpHUnBsq.js";
3
- import { C as K, a as B } from "./CDropdownItem-rpcdHW76.js";
4
- import { _ as A, b as v, d as c, o as n, j as g, t as u, c as f, F as C, q as b, x as V, l as M, e as y, w as h, f as w, n as I, af as N } from "./main-C18owm58.js";
5
- import { C as O } from "./CPhoneFormat-uxMRSGaN.js";
1
+ import { m as E } from "./mapFormMixin-CFaAoXxf.js";
2
+ import { C as z } from "./CCallout-Db9YEwws.js";
3
+ import { C as K, a as B } from "./CDropdownItem-CZO28TQW.js";
4
+ import { _ as A, b as v, d as c, o as n, j as g, t as u, c as f, F as C, q as b, x as V, l as M, e as y, w as h, f as w, n as I, af as N } from "./main-DAjWLLG0.js";
5
+ import { C as O } from "./CPhoneFormat-CUtvNKnk.js";
6
6
  const $ = {
7
7
  name: "DocPartiesItem",
8
8
  components: {
@@ -53,10 +53,10 @@ function L(e, o, t, i, s, l) {
53
53
  }
54
54
  const R = /* @__PURE__ */ A($, [["render", L], ["__scopeId", "data-v-5a104f72"]]), T = {
55
55
  client: M(
56
- () => import("./ClientModal-CVsZrXLV.js").then((e) => e.b)
56
+ () => import("./ClientModal-oTn-trfu.js").then((e) => e.b)
57
57
  ),
58
58
  company: M(
59
- () => import("./CompanyModal-C6AUjpnI.js")
59
+ () => import("./CompanyModal-DzXAdbGd.js")
60
60
  )
61
61
  }, G = {
62
62
  i18nOptions: {
@@ -69,7 +69,7 @@ const R = /* @__PURE__ */ A($, [["render", L], ["__scopeId", "data-v-5a104f72"]]
69
69
  CDropdown: B,
70
70
  CDropdownItem: K,
71
71
  AddClientCallout: M(
72
- () => import("./AddClientCallout-Da7NOVA5.js")
72
+ () => import("./AddClientCallout-DOzqL6Ei.js")
73
73
  )
74
74
  },
75
75
  emits: ["input"],
@@ -1,7 +1,7 @@
1
- import { m as s } from "./mapFormMixin-bA_KI0pt.js";
2
- import { I as u } from "./InputToggleRow-e1gC6XnA.js";
3
- import { C as f } from "./CSelect-ioLMsxK3.js";
4
- import { _ as h, b as m, c as T, o as c, w as l, f as a, j as n, t as i } from "./main-C18owm58.js";
1
+ import { m as s } from "./mapFormMixin-CFaAoXxf.js";
2
+ import { I as u } from "./InputToggleRow-BiyZz3ua.js";
3
+ import { C as f } from "./CSelect-DVCPHAdo.js";
4
+ import { _ as h, b as m, c as T, o as c, w as l, f as a, j as n, t as i } from "./main-DAjWLLG0.js";
5
5
  const U = {
6
6
  i18nOptions: {
7
7
  namespaces: "estimatedTimeToCompleteText",
@@ -1,6 +1,6 @@
1
- import { m as O } from "./mapFormMixin-bA_KI0pt.js";
2
- import { f as a, bn as C, af as k, aT as U, ah as v, u as $, I as B, be as N, d as u, o as d, X as A, _ as M, b as l, j as f, F as j, n as I, x as S, t as b, W as V, bo as P, c as L, w as p, an as R, e as y, q as F, bp as w, bq as x, br as J } from "./main-C18owm58.js";
3
- import { g as q, M as W } from "./splitpanes-OUpaQjCW.js";
1
+ import { m as O } from "./mapFormMixin-CFaAoXxf.js";
2
+ import { f as a, bn as C, af as k, aT as U, ah as v, u as $, I as B, be as N, d as u, o as d, X as A, _ as M, b as l, j as f, F as j, n as I, x as S, t as b, W as V, bo as P, c as L, w as p, an as R, e as y, q as F, bp as w, bq as x, br as J } from "./main-DAjWLLG0.js";
3
+ import { g as q, M as W } from "./splitpanes-CxaAqPCT.js";
4
4
  import { e as z } from "./dom-DOcGU3-g.js";
5
5
  const K = `
6
6
  /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}html{box-sizing:border-box;font-family:sans-serif}*,::after,::before{box-sizing:inherit}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,p,pre{margin:0}button{background:0 0;padding:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset{margin:0;padding:0}ol,ul{margin:0}*,::after,::before{border-width:0;border-style:solid;border-color:#dae1e7}img{border-style:solid}[type=button],[type=reset],[type=submit],button{border-radius:0}textarea{resize:vertical}img{max-width:100%;height:auto}button,input,optgroup,select,textarea{font-family:inherit}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:inherit;opacity:.5}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:inherit;opacity:.5}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:inherit;opacity:.5}input::placeholder,textarea::placeholder{color:inherit;opacity:.5}[role=button],button{cursor:pointer}table{border-collapse:collapse}
@@ -1,4 +1,4 @@
1
- import { a7 as f, J as h, H as n, b as k, d as r, e as d, o as c, j as i, c as y, ai as b, t as B, T as E, _ as g } from "./main-C18owm58.js";
1
+ import { a7 as f, J as h, H as n, b as k, d as r, e as d, o as c, j as i, c as y, ai as b, t as B, T as E, _ as g } from "./main-DAjWLLG0.js";
2
2
  const w = {
3
3
  key: 0,
4
4
  class: "sub-chapter"
@@ -1,6 +1,6 @@
1
- import { m as C } from "./mapFormMixin-bA_KI0pt.js";
2
- import k from "./FilePreviewModal-CXE7RahY.js";
3
- import { _ as F, T as S, ab as A, l as g, b as i, d as p, o as l, f as c, e as B, w, j as v, F as y, n as U, c as $, q as j, t as _, ac as z } from "./main-C18owm58.js";
1
+ import { m as C } from "./mapFormMixin-CFaAoXxf.js";
2
+ import k from "./FilePreviewModal-egIS6jnw.js";
3
+ import { _ as F, T as S, ab as A, l as g, b as i, d as p, o as l, f as c, e as B, w, j as v, F as y, n as U, c as $, q as j, t as _, ac as z } from "./main-DAjWLLG0.js";
4
4
  const M = {
5
5
  name: "FilePreviewWrapper",
6
6
  props: {
@@ -46,10 +46,10 @@ const M = {
46
46
  }
47
47
  }
48
48
  };
49
- function V(e, t, o, r, n, s) {
49
+ function V(e, t, o, r, a, s) {
50
50
  return S(e.$slots, "default", {
51
- openModal: (a) => s.FilePreviewModal(a),
52
- isImageOrPdf: (a) => s.isImage(a) || s.isPdf(a)
51
+ openModal: (n) => s.FilePreviewModal(n),
52
+ isImageOrPdf: (n) => s.isImage(n) || s.isPdf(n)
53
53
  });
54
54
  }
55
55
  const L = /* @__PURE__ */ F(M, [["render", V]]), N = {
@@ -57,9 +57,9 @@ const L = /* @__PURE__ */ F(M, [["render", V]]), N = {
57
57
  components: {
58
58
  FilePreviewWrapper: L,
59
59
  BaseUpload: g(
60
- () => import("./BaseUpload-CGVbfe4H.js")
60
+ () => import("./BaseUpload-nxVqZX3O.js")
61
61
  ),
62
- AttachmentItem: g(() => import("./AttachmentItem-BM_DzA34.js"))
62
+ AttachmentItem: g(() => import("./AttachmentItem-DTqI5mwy.js"))
63
63
  },
64
64
  mixins: [C(["attachments"])],
65
65
  data() {
@@ -94,15 +94,24 @@ const L = /* @__PURE__ */ F(M, [["render", V]]), N = {
94
94
  methods: {
95
95
  immutable: A,
96
96
  async onUploadSuccess(e) {
97
- const { id: t, displayName: o, url: r, mime: n } = e.response;
97
+ const {
98
+ id: t,
99
+ displayName: o,
100
+ url: r,
101
+ mime: a,
102
+ hash: s,
103
+ algorithm: n
104
+ } = e.response;
98
105
  if (!t) throw new Error("Could not read id from uploaded file");
99
106
  this.attachments = [
100
107
  ...this.attachments,
101
108
  {
102
109
  fileId: t,
103
110
  name: o,
104
- mime: n,
105
- url: r
111
+ mime: a,
112
+ url: r,
113
+ hash: s,
114
+ algorithm: n
106
115
  }
107
116
  ], this.$refs.uploader.remove(e);
108
117
  },
@@ -116,13 +125,13 @@ const L = /* @__PURE__ */ F(M, [["render", V]]), N = {
116
125
  key: 1,
117
126
  class: "flex items-center justify-center space-x-2 border border-gray-200 p-2 sm:p-4"
118
127
  }, R = { class: "text-gray-500" };
119
- function W(e, t, o, r, n, s) {
120
- const a = i("AttachmentItem"), x = i("FilePreviewWrapper"), P = i("BaseUpload"), I = i("CButton"), b = i("CIcon");
128
+ function W(e, t, o, r, a, s) {
129
+ const n = i("AttachmentItem"), x = i("FilePreviewWrapper"), P = i("BaseUpload"), I = i("CButton"), b = i("CIcon");
121
130
  return l(), p("div", E, [
122
131
  c(x, { list: s.cAttachments }, {
123
132
  default: w(({ openModal: u, isImageOrPdf: h }) => [
124
133
  v("div", null, [
125
- (l(!0), p(y, null, U(s.cAttachments, (m, d) => (l(), $(a, {
134
+ (l(!0), p(y, null, U(s.cAttachments, (m, d) => (l(), $(n, {
126
135
  key: d,
127
136
  "is-image-or-pdf": h(m.mime),
128
137
  attachment: m,
@@ -139,11 +148,11 @@ function W(e, t, o, r, n, s) {
139
148
  e.canEdit ? (l(), p(y, { key: 0 }, [
140
149
  c(P, {
141
150
  ref: "uploader",
142
- modelValue: n.newFiles,
143
- "onUpdate:modelValue": t[0] || (t[0] = (u) => n.newFiles = u),
151
+ modelValue: a.newFiles,
152
+ "onUpdate:modelValue": t[0] || (t[0] = (u) => a.newFiles = u),
144
153
  "recent-modal": s.showRecentModal,
145
154
  "autostart-upload": !0,
146
- "max-size": n.maxFileSize,
155
+ "max-size": a.maxFileSize,
147
156
  extensions: "png,gif,jpg,jpeg,svg,bmp,heic,heif,pdf,txt,odp,ods,odt,rtf,doc,docx,xls,xlsx,ppt,pptx,csv,ogv,mp4,webm,m4v,ogg,mp3,wav,zip,rar,json,7z,mpeg,oga,ogv,vsd,weba,webm,webp,xml,gz,tif,jfif,dwg,dwf,dwfx,dwt,msg,ai,psd,md,markdown,mdown,markdn",
148
157
  accept: "*",
149
158
  onUploadSuccess: s.onUploadSuccess
@@ -1,5 +1,5 @@
1
- import { _ as p } from "./PlainHtml.vue_vue_type_script_setup_true_lang-gCh1Q-qi.js";
2
- import { f as e, aH as c, s as u, q as d, _ as h } from "./main-C18owm58.js";
1
+ import { _ as p } from "./PlainHtml.vue_vue_type_script_setup_true_lang-CPGJZjFh.js";
2
+ import { f as e, aH as c, s as u, q as d, _ as h } from "./main-DAjWLLG0.js";
3
3
  import { s as g } from "./dom-DOcGU3-g.js";
4
4
  const f = {
5
5
  name: "ExtraWorkConstructionPricingListRead",