@cling-se/widget 0.14.6 → 1.0.0-beta.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 (127) hide show
  1. package/.eslintrc.cjs +4 -4
  2. package/README.md +40 -40
  3. package/dist/{AddClientCallout-C7abPZ87.js → AddClientCallout-BWnvyBcK.js} +3 -3
  4. package/dist/{AnswerModal-CsA2pl2P.js → AnswerModal-CLGRdSnK.js} +7 -7
  5. package/dist/{AttachmentItem-Da1-7xwf.js → AttachmentItem-BPS0-wyc.js} +3 -3
  6. package/dist/{BaseDatePicker-k9zlSi5J.js → BaseDatePicker-BbmV_GdD.js} +2 -2
  7. package/dist/{BaseUpload-BUrXX3fT.js → BaseUpload-9gPgI7r6.js} +3 -3
  8. package/dist/{BlockMedia-CYI07qAn.js → BlockMedia-DkPFWiYL.js} +2 -2
  9. package/dist/{CCallout-Qwae66vo.js → CCallout-T26jwUby.js} +4 -4
  10. package/dist/{CCurrencyDropdown-Y_u0hgBx.js → CCurrencyDropdown-qH-3m2eP.js} +4 -4
  11. package/dist/{CDropdownItem-CXJ4xD8W.js → CDropdownItem-BE8BAMD1.js} +167 -69
  12. package/dist/{CFormField--m3PvQuT.js → CFormField-DECEfoVq.js} +1 -1
  13. package/dist/{CPhoneFormat-Qg6MkDVP.js → CPhoneFormat-CfQayFxw.js} +1 -1
  14. package/dist/{CPriceInput-Dlx44UrR.js → CPriceInput-C4SOB-P5.js} +2 -2
  15. package/dist/{ClientAutocomplete-BKKc_br6.js → ClientAutocomplete-DSebA1Mx.js} +3 -3
  16. package/dist/{ClientModal-CVZFb1Br.js → ClientModal-BXFYvYCF.js} +6 -6
  17. package/dist/{ColorPicker-Bo3s3Esp.js → ColorPicker-CZ_bJabP.js} +2 -2
  18. package/dist/{CompanyModal-DadjAioS.js → CompanyModal-CDr3t28n.js} +5 -5
  19. package/dist/{ContentWrapper-BC3ZBQW9.js → ContentWrapper-BwmMoe4W.js} +9 -9
  20. package/dist/{CoverBlockSettings-B484eE4g.js → CoverBlockSettings-_F11-DGc.js} +11 -11
  21. package/dist/{DocAnswer-CcYryOWI.js → DocAnswer-BR59xzkT.js} +2 -2
  22. package/dist/{DocDetails-BigsoEWL.js → DocDetails-D1qbCbps.js} +43 -30
  23. package/dist/{DocForm-DlN0eNWt.js → DocForm-DBc2a7z5.js} +91 -92
  24. package/dist/{DocFormSend-TqKo210I.js → DocFormSend-Casix-yG.js} +4 -3
  25. package/dist/{DocLinks-DSo54vDn.js → DocLinks-DGTaewyX.js} +2 -2
  26. package/dist/{DocModalBase-XlM1SThW.js → DocModalBase-BbS_qvSv.js} +2 -2
  27. package/dist/{DocPrint-tD0Vd9Sw.js → DocPrint-0PqX3mbJ.js} +2 -2
  28. package/dist/{DocReceipt-CDHPrhXM.js → DocReceipt-CU3VD5pt.js} +1 -1
  29. package/dist/{DocSendReminder-C62RhltH.js → DocSendReminder-CuycBspr.js} +1 -1
  30. package/dist/{DocTextEditor-VjhV9IRp.js → DocTextEditor-CntS2Bd-.js} +21 -22
  31. package/dist/{DocTimeline-LcW4z3nC.js → DocTimeline-DJuv3yBe.js} +1 -1
  32. package/dist/{DocumentClient-CqbTRdpB.js → DocumentClient-C25XXzz6.js} +5 -5
  33. package/dist/{DocumentLayout-Dbf8_01r.js → DocumentLayout-B7afHRMr.js} +6 -6
  34. package/dist/{DocumentLogotype-DXYnBedV.js → DocumentLogotype-sqI51wvM.js} +4 -4
  35. package/dist/{DocumentVoided-vH1Ti5lZ.js → DocumentVoided-TahdTSMn.js} +1 -1
  36. package/dist/{EmbedInput-D9qP8OnY.js → EmbedInput-BY-wHSfc.js} +2 -2
  37. package/dist/{EmbedSettings-DISuNqJT.js → EmbedSettings-8pfjk4NP.js} +3 -3
  38. package/dist/{ErrorCallout-CCtCVwSh.js → ErrorCallout-Dsr8PNsU.js} +5 -5
  39. package/dist/{FilePreviewModal-BjhNyb6L.js → FilePreviewModal-CcEinEFg.js} +3 -3
  40. package/dist/{Flag-Dhukv9_J.js → Flag-PJKrghi9.js} +1 -1
  41. package/dist/{HeaderSettings-CK4SkB1x.js → HeaderSettings-BqczIOsG.js} +9 -9
  42. package/dist/{ImageSelectModal-DnvPZzXx.js → ImageSelectModal-Cd-HhKnH.js} +4 -4
  43. package/dist/{ImageUploadWrapper-B7cNMu5a.js → ImageUploadWrapper-Dv43rGdb.js} +3 -3
  44. package/dist/{Index-CPJVx14x.js → Index--qPMWUMT.js} +4 -4
  45. package/dist/{Index-Bh0kMSsA.js → Index-6b5VBKE-.js} +5 -5
  46. package/dist/{Index-B3HoK_cZ.js → Index-B4pRJnbw.js} +9 -9
  47. package/dist/{Index-B9H5MMHb.js → Index-B69f8qgZ.js} +5 -5
  48. package/dist/{Index-dyWK9jgr.js → Index-B79YN9RO.js} +4 -4
  49. package/dist/{Index-Bs8wprXw.js → Index-BBrlPoe8.js} +4 -4
  50. package/dist/{Index-D6bc7lg4.js → Index-BXfWJCuq.js} +3 -3
  51. package/dist/{Index-DtSSgtxB.js → Index-Bd76vb37.js} +5 -5
  52. package/dist/{Index-lKk_XKJ3.js → Index-BmbtQO5F.js} +5 -5
  53. package/dist/{Index-CNvp5K3L.js → Index-Bu0MGrj6.js} +8 -8
  54. package/dist/{Index-DuTw9vhb.js → Index-ByV_kJaH.js} +15 -15
  55. package/dist/{Index-CWrDtcfT.js → Index-CDV5rhWS.js} +4 -4
  56. package/dist/{Index-BlQSM7tC.js → Index-CIx4OOK-.js} +9 -9
  57. package/dist/{Index-CyJnSvDR.js → Index-CL1OWLt6.js} +38 -38
  58. package/dist/{Index-Dw26jtGV.js → Index-Caow0eZu.js} +5 -5
  59. package/dist/{Index-S-FHG7_k.js → Index-Cd3-3PEK.js} +316 -316
  60. package/dist/{Index-BY1UKGEO.js → Index-CdpZBEKU.js} +7 -7
  61. package/dist/{Index-BAYdvT-t.js → Index-CmU3Sys-.js} +2 -2
  62. package/dist/{Index-OxN73_fO.js → Index-CtRtgnpm.js} +5 -5
  63. package/dist/{Index-CQ325eVT.js → Index-Cukkr33D.js} +4 -4
  64. package/dist/{Index-gb11ngPS.js → Index-Cuqw0ios.js} +3 -3
  65. package/dist/{Index-B3aucNji.js → Index-Czm_WdqC.js} +4 -4
  66. package/dist/{Index-Dm8xMFGg.js → Index-D4XgxmbD.js} +2 -2
  67. package/dist/{Index-D_rfst8y.js → Index-DIOiMm9f.js} +2 -2
  68. package/dist/{Index-DCR8ev4U.js → Index-DNdYXHgr.js} +4 -4
  69. package/dist/{Index-BLeQprjq.js → Index-DcQbh-z2.js} +2 -2
  70. package/dist/{Index-BpcJBGGd.js → Index-DcuBxutp.js} +59 -59
  71. package/dist/{Index-DXAvlq74.js → Index-DpWNWiyY.js} +13 -14
  72. package/dist/{Index-DGQSB9cH.js → Index-DzS1rZdF.js} +3 -3
  73. package/dist/{Index-CFo-3Y5Q.js → Index-N6s5pZxv.js} +7 -7
  74. package/dist/{Index-ZFkitzfq.js → Index-g_DNu4mt.js} +5 -5
  75. package/dist/{Index-BOyvQlng.js → Index-mJ8F41GY.js} +6 -6
  76. package/dist/{Index-BvZZAvFd.js → Index-q7W9KA8m.js} +2 -2
  77. package/dist/{Index-BVsw2tak.js → Index-rtzblZp4.js} +6 -6
  78. package/dist/{InputToggleRow-DSSvhPKA.js → InputToggleRow-CZjxsDOQ.js} +2 -2
  79. package/dist/{ManualPopover-lpJYSkw5.js → ManualPopover-CZrWiT-P.js} +1 -1
  80. package/dist/{MediaWrapper-BQ22FA2B.js → MediaWrapper-D37qK4KR.js} +3 -3
  81. package/dist/{NotBindingText-JxwzZLPP.js → NotBindingText-CNV2Wmdx.js} +2 -2
  82. package/dist/{PackageGroup-BLSMSUDz.js → PackageGroup-Heo_s8ct.js} +10 -10
  83. package/dist/{PdfTerms-DtutjM5Y.js → PdfTerms-AB9tXAtU.js} +3 -3
  84. package/dist/{PdfViewer-BsxcZI_x.js → PdfViewer-CIVkvOBr.js} +12 -13
  85. package/dist/{PlainHtml-BMPZs2fT.js → PlainHtml-CPmIebjY.js} +1 -1
  86. package/dist/{PriceHeader-BRYY01H2.js → PriceHeader-DhDAruwX.js} +13 -13
  87. package/dist/{SearchApi-6001iFxU.js → SearchApi-BMgdaI4s.js} +2 -2
  88. package/dist/{Setup-cw6jMI9M.js → Setup-VIaIV9uT.js} +1 -1
  89. package/dist/{SmartList-q6H-uLbm.js → SmartList-Qgu0rMrI.js} +1 -1
  90. package/dist/{TermsSettings-DWvaPneu.js → TermsSettings-CE3h_xkm.js} +4 -4
  91. package/dist/{ThemeColorRow-BXWnvfz-.js → ThemeColorRow-DYJNgk6S.js} +4 -4
  92. package/dist/{ToggleBinding-DydtwpNG.js → ToggleBinding-CuwCeYpO.js} +3 -3
  93. package/dist/{UploadModal-D_EDKHGD.js → UploadModal-BITcxG-J.js} +3 -3
  94. package/dist/{VideoPlayerInput-B9yzUeBW.js → VideoPlayerInput-8szEX_8L.js} +3 -3
  95. package/dist/{VideoPlayerSettings-Bvp9l0yj.js → VideoPlayerSettings-BIPytm6w.js} +3 -3
  96. package/dist/{VideoSelectModal-DY3N4JiS.js → VideoSelectModal-B-Pe34nb.js} +4 -4
  97. package/dist/{answerDocumentMixin-BYZPU_R-.js → answerDocumentMixin-W7vE1Gp4.js} +3 -3
  98. package/dist/{debounce-BPnlzNwd.js → debounce-C1AuSpOZ.js} +1 -1
  99. package/dist/{focusDrawerMixin-DC9Oa1i7.js → focusDrawerMixin-Be6BAK8-.js} +1 -1
  100. package/dist/{formComponentsInstall-CEW6TK6z.js → formComponentsInstall-Bm3VMOh6.js} +51 -43
  101. package/dist/{formDrawerState-CAzvSMiQ.js → formDrawerState-DRbg5rVI.js} +1 -1
  102. package/dist/{formValidationMixin-D7zXxCpC.js → formValidationMixin-COkY8COk.js} +2 -2
  103. package/dist/{index-BbscgdRg.js → index-BFvjENMH.js} +1 -1
  104. package/dist/{index-BDMI4NVY.js → index-BV2nGWay.js} +1 -1
  105. package/dist/{index-B9WDC3Xe.js → index-BgJ05dYc.js} +10 -11
  106. package/dist/{index-CLUljEDI.js → index-CMPAXxzs.js} +8 -8
  107. package/dist/{index-BCMaUC5r.js → index-DNDjI5uI.js} +7 -7
  108. package/dist/{index-SxyZvewN.js → index-aoff9oUi.js} +2 -2
  109. package/dist/index.es.js +3 -3
  110. package/dist/index.umd.js +106 -106
  111. package/dist/{main-CQBEuZk9.js → main-WKzC-Dnu.js} +879 -878
  112. package/dist/{mapFormMixin-DlFcgwhm.js → mapFormMixin-QbevCwJK.js} +1 -1
  113. package/dist/{omit-BWy0Zhd3.js → omit-CTp9CXoU.js} +1 -1
  114. package/dist/{publicSenderState-CvOcFv2U.js → publicSenderState-BujjYsZZ.js} +1 -1
  115. package/dist/style.css +2 -2
  116. package/dist/{throttle-BrC8eGjQ.js → throttle-CWPJmFid.js} +2 -2
  117. package/dist/{tinycolor-PhFP695w.js → tinycolor-kTl0yxzz.js} +1 -1
  118. package/dist/{tippy.esm-7dmKOUvu.js → tippy.esm-sS5koDSU.js} +6 -6
  119. package/dist/{utils-NBLgNGHR.js → utils-CA_Zy6u1.js} +1 -1
  120. package/dist/{vuedraggable.umd-ByfH7ZxC.js → vuedraggable.umd-BA3ZDRAp.js} +1 -1
  121. package/package.json +1 -1
  122. package/tsconfig.json +26 -26
  123. package/tsconfig.node.json +10 -10
  124. package/tsconfig.paths.json +17 -17
  125. package/vite.config.ts +60 -60
  126. package/dist/dom-CJxkno7i.js +0 -91
  127. /package/dist/{CTabs.vue_vue_type_style_index_0_scoped_b7262014_lang-l0sNRNKZ.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js} +0 -0
@@ -1,25 +1,24 @@
1
- import se from "./AnswerModal-CsA2pl2P.js";
2
- import { o as ne } from "./index-SxyZvewN.js";
3
- import { w as x } from "./CDropdownItem-CXJ4xD8W.js";
4
- import { aT as I, g as m, n as d, c as f, b as u, d as oe, aU as le, S as re, w as U, j as $, aA as ce, aN as y, a6 as p, O as H, h as D, ae as h, aV as de, aW as pe, aX as ue, aY as me, aZ as he, a_ as fe, V as A, aP as O, aQ as R, I as E, a$ as B, aR as ge, b0 as Ce, J as ve, b1 as ye, f as xe, k as G, b2 as we, b3 as be, F as ke, b4 as _e, C as W, b5 as Le, b6 as $e, N as q, b7 as Se, b8 as Te, aS as De, b9 as Ve, ba as Be, bb as Me, a3 as Ie, bc as Fe, m as He, a as Ae, bd as Pe } from "./main-CQBEuZk9.js";
1
+ import se from "./AnswerModal-CLGRdSnK.js";
2
+ import { o as ne } from "./index-aoff9oUi.js";
3
+ import { w as x, s as oe } from "./CDropdownItem-BE8BAMD1.js";
4
+ import { aT as I, g as m, n as d, c as f, b as u, d as le, aU as re, S as ce, w as U, j as $, aA as de, aN as y, a6 as p, O as H, h as D, ae as h, aV as pe, aW as ue, aX as me, aY as he, aZ as fe, a_ as ge, V as A, aP as O, aQ as R, I as E, a$ as B, aR as Ce, b0 as ve, J as ye, b1 as xe, f as we, k as G, b2 as be, b3 as ke, F as _e, b4 as Le, C as W, b5 as $e, b6 as Se, N as q, b7 as Te, b8 as De, aS as Ve, b9 as Be, ba as Me, bb as Ie, a3 as Fe, bc as He, m as Ae, a as Pe, bd as Ee } from "./main-WKzC-Dnu.js";
5
5
  import { a as w, m as g } from "./vuex.esm-DKGl8mcw.js";
6
- import { s as k } from "./Flag-Dhukv9_J.js";
7
- import { l as Ee, g as ze, W as Ze, b as Ue, a as Oe, D as Re } from "./DocumentLayout-Dbf8_01r.js";
8
- import { F as N, d as Ge } from "./tippy.esm-7dmKOUvu.js";
9
- import { m as S } from "./mapFormMixin-DlFcgwhm.js";
10
- import { d as P, t as We } from "./debounce-BPnlzNwd.js";
11
- import { d as qe } from "./vuedraggable.umd-ByfH7ZxC.js";
12
- import { C as Ne, I as _, a as L, s as je } from "./index-BCMaUC5r.js";
13
- import { C as j } from "./CFormField--m3PvQuT.js";
14
- import { S as Ke } from "./SmartList-q6H-uLbm.js";
15
- import { o as Ye, _ as Qe } from "./omit-BWy0Zhd3.js";
16
- import { v as F } from "./index-BDMI4NVY.js";
17
- import { t as Je } from "./tinycolor-PhFP695w.js";
18
- import { s as v } from "./formDrawerState-CAzvSMiQ.js";
19
- import { s as Xe } from "./dom-CJxkno7i.js";
20
- import { S as et, i as tt } from "./formComponentsInstall-CEW6TK6z.js";
21
- import { f as it } from "./formValidationMixin-D7zXxCpC.js";
22
- import { B as at } from "./BlockMedia-CYI07qAn.js";
6
+ import { s as k } from "./Flag-PJKrghi9.js";
7
+ import { l as ze, g as Ze, W as Ue, b as Oe, a as Re, D as Ge } from "./DocumentLayout-B7afHRMr.js";
8
+ import { F as N, d as We } from "./tippy.esm-sS5koDSU.js";
9
+ import { m as S } from "./mapFormMixin-QbevCwJK.js";
10
+ import { d as P, t as qe } from "./debounce-C1AuSpOZ.js";
11
+ import { d as Ne } from "./vuedraggable.umd-BA3ZDRAp.js";
12
+ import { C as je, I as _, a as L, s as Ke } from "./index-DNDjI5uI.js";
13
+ import { C as j } from "./CFormField-DECEfoVq.js";
14
+ import { S as Ye } from "./SmartList-Qgu0rMrI.js";
15
+ import { o as Qe, _ as Je } from "./omit-CTp9CXoU.js";
16
+ import { v as F } from "./index-BV2nGWay.js";
17
+ import { t as Xe } from "./tinycolor-kTl0yxzz.js";
18
+ import { s as v } from "./formDrawerState-DRbg5rVI.js";
19
+ import { S as et, i as tt } from "./formComponentsInstall-Bm3VMOh6.js";
20
+ import { f as it } from "./formValidationMixin-COkY8COk.js";
21
+ import { B as at } from "./BlockMedia-DkPFWiYL.js";
23
22
  const st = {
24
23
  name: "DocumentPostSendStep",
25
24
  mixins: [x],
@@ -149,7 +148,7 @@ var nt = function() {
149
148
  ot,
150
149
  !1,
151
150
  null,
152
- "206151b7"
151
+ "736a58ea"
153
152
  );
154
153
  const rt = lt.exports, ct = {
155
154
  name: "Drawer",
@@ -216,7 +215,7 @@ var dt = function() {
216
215
  pt,
217
216
  !1,
218
217
  null,
219
- "694ad3af"
218
+ "b9ff8f27"
220
219
  );
221
220
  const K = ut.exports, mt = {
222
221
  name: "DocumentDrawer",
@@ -262,7 +261,7 @@ var ht = function() {
262
261
  ft,
263
262
  !1,
264
263
  null,
265
- "f53cf4f0"
264
+ "4daaea05"
266
265
  );
267
266
  const Ct = gt.exports, vt = {
268
267
  name: "DocumentFormNav"
@@ -359,7 +358,7 @@ var Dt = function() {
359
358
  Vt,
360
359
  !1,
361
360
  null,
362
- "5cce694c"
361
+ "bfd61212"
363
362
  );
364
363
  const Mt = Bt.exports, It = {
365
364
  name: "DynamicBlock",
@@ -454,7 +453,7 @@ var Ft = function() {
454
453
  Ht,
455
454
  !1,
456
455
  null,
457
- "129778b8"
456
+ "ba9843e6"
458
457
  );
459
458
  const Pt = At.exports, Et = {
460
459
  name: "LogoBanner",
@@ -569,7 +568,7 @@ var Kt = function() {
569
568
  Yt,
570
569
  !1,
571
570
  null,
572
- "cd750940"
571
+ "8029d5ea"
573
572
  );
574
573
  const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, b = (i) => (i || "").match(Jt), Xt = {
575
574
  i18nOptions: {
@@ -659,7 +658,7 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, b = (i) => (i || "").match(Jt), Xt =
659
658
  }
660
659
  },
661
660
  onInput: ({ family: a, weight: s, options: n = [] }) => {
662
- this.update(i, a), Ee(a), t != s && this.update("fontWeight", s), this.fontWeightOptions = n;
661
+ this.update(i, a), ze(a), t != s && this.update("fontWeight", s), this.fontWeightOptions = n;
663
662
  }
664
663
  }
665
664
  ]
@@ -1125,7 +1124,7 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, b = (i) => (i || "").match(Jt), Xt =
1125
1124
  watch: {
1126
1125
  async activeItem(i) {
1127
1126
  const e = u(i, "style.fontFamily");
1128
- e && (this.fontWeightOptions = await ze(e));
1127
+ e && (this.fontWeightOptions = await Ze(e));
1129
1128
  }
1130
1129
  },
1131
1130
  methods: {
@@ -1162,7 +1161,7 @@ var e1 = function() {
1162
1161
  t1,
1163
1162
  !1,
1164
1163
  null,
1165
- "0f6ab0af"
1164
+ "83027693"
1166
1165
  );
1167
1166
  const a1 = i1.exports, s1 = {
1168
1167
  i18nOptions: {
@@ -1294,7 +1293,7 @@ const a1 = i1.exports, s1 = {
1294
1293
  vatTypes() {
1295
1294
  var e;
1296
1295
  const i = ["vat"];
1297
- return ((e = oe[f.brand]) == null ? void 0 : e.defaultRegion) === "US" && i.push("tax"), i;
1296
+ return ((e = le[f.brand]) == null ? void 0 : e.defaultRegion) === "US" && i.push("tax"), i;
1298
1297
  },
1299
1298
  options() {
1300
1299
  return [
@@ -1325,7 +1324,7 @@ const a1 = i1.exports, s1 = {
1325
1324
  component: "select",
1326
1325
  props: {
1327
1326
  value: this.language,
1328
- options: le.map((i) => ({
1327
+ options: re.map((i) => ({
1329
1328
  value: i,
1330
1329
  label: this.$t(`iso:language.${i}`)
1331
1330
  })).sort((i, e) => i.label.localeCompare(e.label))
@@ -1513,7 +1512,7 @@ var n1 = function() {
1513
1512
  o1,
1514
1513
  !1,
1515
1514
  null,
1516
- "76507ccf"
1515
+ "0bd59952"
1517
1516
  );
1518
1517
  const r1 = l1.exports, c1 = {
1519
1518
  i18nOptions: {
@@ -1558,8 +1557,8 @@ const r1 = l1.exports, c1 = {
1558
1557
  },
1559
1558
  name: "ExtensionTab",
1560
1559
  components: {
1561
- draggable: qe,
1562
- Spinner: re
1560
+ draggable: Ne,
1561
+ Spinner: ce
1563
1562
  },
1564
1563
  mixins: [S(["externalReferences", "clients", "articles"])],
1565
1564
  data() {
@@ -1690,7 +1689,7 @@ const r1 = l1.exports, c1 = {
1690
1689
  });
1691
1690
  if (Array.isArray(a) && a.length) {
1692
1691
  const n = (s = this._document) == null ? void 0 : s.defaultAnswerMethod, o = a.map((l) => ({
1693
- ...ce(),
1692
+ ...de(),
1694
1693
  ...n && { answerMethod: n },
1695
1694
  ...l
1696
1695
  }));
@@ -1769,7 +1768,7 @@ var d1 = function() {
1769
1768
  p1,
1770
1769
  !1,
1771
1770
  null,
1772
- "20b36129"
1771
+ "1f5d45eb"
1773
1772
  );
1774
1773
  const m1 = u1.exports, h1 = {
1775
1774
  name: "FieldsModal",
@@ -1881,7 +1880,7 @@ const m1 = u1.exports, h1 = {
1881
1880
  remove() {
1882
1881
  if (!this.existingFieldId)
1883
1882
  return;
1884
- const i = Ye(this.document.fields, [this.existingFieldId]);
1883
+ const i = Qe(this.document.fields, [this.existingFieldId]);
1885
1884
  this.set({ key: "data.fields", value: i }), this.$emit("close");
1886
1885
  }
1887
1886
  }
@@ -1903,7 +1902,7 @@ var f1 = function() {
1903
1902
  g1,
1904
1903
  !1,
1905
1904
  null,
1906
- "424477dd"
1905
+ "455b4cda"
1907
1906
  );
1908
1907
  const v1 = C1.exports, y1 = {
1909
1908
  i18nOptions: {
@@ -1929,8 +1928,8 @@ const v1 = C1.exports, y1 = {
1929
1928
  },
1930
1929
  name: "DocumentFormFields",
1931
1930
  components: {
1932
- SmartList: Ke,
1933
- CAccordion: Ne,
1931
+ SmartList: Ye,
1932
+ CAccordion: je,
1934
1933
  CField: j
1935
1934
  },
1936
1935
  mixins: [S()],
@@ -2092,7 +2091,7 @@ var x1 = function() {
2092
2091
  w1,
2093
2092
  !1,
2094
2093
  null,
2095
- "d01ecc17"
2094
+ "0d2bdff3"
2096
2095
  );
2097
2096
  const k1 = b1.exports, _1 = (i) => {
2098
2097
  const e = Array(2).fill().map(() => p());
@@ -3040,7 +3039,7 @@ const Z1 = ({ language: i = "en" } = {}) => [
3040
3039
  background: o,
3041
3040
  priceSummaryBackground: l,
3042
3041
  backgroundFilter: r
3043
- } = s || {}, c = l || "hsl(228, 52%, 18%)", C = Je.readability(c, "#fff") < 1.8 ? "#111111" : "#FFFFFF";
3042
+ } = s || {}, c = l || "hsl(228, 52%, 18%)", C = Xe.readability(c, "#fff") < 1.8 ? "#111111" : "#FFFFFF";
3044
3043
  return [
3045
3044
  {
3046
3045
  key: `header-${i}`,
@@ -4357,17 +4356,17 @@ const f2 = ({
4357
4356
  ], z = {
4358
4357
  titleAndText2: _2,
4359
4358
  attachments2: $1,
4360
- pdf: pe,
4359
+ pdf: ue,
4361
4360
  packageGroup: h2,
4362
4361
  multiGroupPricing: l2,
4363
4362
  coverBlock: V1,
4364
4363
  videoPlayer: T2,
4365
4364
  embed: z1,
4366
4365
  header: a2,
4367
- answer: ue,
4366
+ answer: me,
4368
4367
  terms: x2,
4369
4368
  parties: H1,
4370
- custom: me,
4369
+ custom: he,
4371
4370
  // legacy
4372
4371
  presentation: C2,
4373
4372
  estimatedTimeCompleted: G1,
@@ -4381,7 +4380,7 @@ const f2 = ({
4381
4380
  packageGroup: f2,
4382
4381
  embed: Z1,
4383
4382
  videoPlayer: D2,
4384
- custom: de
4383
+ custom: pe
4385
4384
  }, V2 = {
4386
4385
  name: "AddBlock",
4387
4386
  props: {
@@ -4396,14 +4395,14 @@ const f2 = ({
4396
4395
  },
4397
4396
  render() {
4398
4397
  return this.$scopedSlots.default({
4399
- addBlock: (i) => he({
4398
+ addBlock: (i) => fe({
4400
4399
  ...i,
4401
4400
  set: this.set,
4402
4401
  tplGenerators: z,
4403
4402
  includeMockData: this.includeMockData,
4404
4403
  emit: (...e) => this.$emit(...e)
4405
4404
  }),
4406
- getBlockPayload: (i) => fe(
4405
+ getBlockPayload: (i) => ge(
4407
4406
  i,
4408
4407
  this.set,
4409
4408
  z,
@@ -4916,7 +4915,7 @@ const E2 = P2.exports, z2 = A.component("ProBadge", {
4916
4915
  if (this.mq === "sm")
4917
4916
  return;
4918
4917
  const { tooltips: i } = this, e = (n = (s = this.$el).getRootNode) == null ? void 0 : n.call(s), a = (e == null ? void 0 : e.toString()) === "[object ShadowRoot]" ? e : document.body;
4919
- this.tippyInstances = Ge(this.$el, {
4918
+ this.tippyInstances = We(this.$el, {
4920
4919
  target: "[data-tooltip-key]",
4921
4920
  allowHTML: !0,
4922
4921
  duration: [150, 0],
@@ -5033,7 +5032,7 @@ var U2 = function() {
5033
5032
  O2,
5034
5033
  !1,
5035
5034
  null,
5036
- "27720fc4"
5035
+ "6dba95f7"
5037
5036
  );
5038
5037
  const G2 = R2.exports, W2 = {
5039
5038
  name: "DocumentFormMenu",
@@ -5055,7 +5054,7 @@ const G2 = R2.exports, W2 = {
5055
5054
  Fields: k1,
5056
5055
  ExtensionTab: m1,
5057
5056
  DocumentGeneralSettings: r1,
5058
- DocumentGuide: () => import("./index-BbscgdRg.js"),
5057
+ DocumentGuide: () => import("./index-BFvjENMH.js"),
5059
5058
  MenuBlocks: G2,
5060
5059
  Simplebar: k
5061
5060
  },
@@ -5176,7 +5175,7 @@ var q2 = function() {
5176
5175
  N2,
5177
5176
  !1,
5178
5177
  null,
5179
- "12ee1d81"
5178
+ "a591711d"
5180
5179
  );
5181
5180
  const K2 = j2.exports, J = (i, e, t = "$children") => {
5182
5181
  if (!i)
@@ -5200,16 +5199,16 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
5200
5199
  },
5201
5200
  name: "DocumentFormContainer",
5202
5201
  components: {
5203
- WithDimensions: Ze,
5202
+ WithDimensions: Ue,
5204
5203
  DragList: O,
5205
5204
  DragItem: R,
5206
- DynamicChapter: Ue,
5205
+ DynamicChapter: Oe,
5207
5206
  DocumentFormMenu: K2,
5208
5207
  DynamicBlock: Pt,
5209
5208
  DocumentFormViewRadio: St,
5210
5209
  DocumentFormNav: bt,
5211
5210
  DocumentDrawer: Ct,
5212
- DocumentStyleContainer: Oe,
5211
+ DocumentStyleContainer: Re,
5213
5212
  simplebar: k,
5214
5213
  LogoBanner: Ot,
5215
5214
  IsPremium: L
@@ -5347,7 +5346,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
5347
5346
  },
5348
5347
  methods: {
5349
5348
  onAddBlockMount(i, e) {
5350
- !this.onAddRedis[i] || !e || (e.$el && this.$nextTick(() => Xe(e.$el, { offset: 100 })), typeof e[this.onAddRedis[i]] == "function" && e[this.onAddRedis[i]](), delete this.onAddRedis[i]);
5349
+ !this.onAddRedis[i] || !e || (e.$el && this.$nextTick(() => oe(e.$el, { offset: 100 })), typeof e[this.onAddRedis[i]] == "function" && e[this.onAddRedis[i]](), delete this.onAddRedis[i]);
5351
5350
  },
5352
5351
  onBlockToggleVisible(i, e) {
5353
5352
  const a = [...this.readLayout].findIndex(
@@ -5411,7 +5410,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
5411
5410
  if (e !== null && t !== null) {
5412
5411
  if (e === t)
5413
5412
  return;
5414
- const s = ge(
5413
+ const s = Ce(
5415
5414
  this.nestedReadLayout,
5416
5415
  e,
5417
5416
  t
@@ -5432,7 +5431,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
5432
5431
  contentData: l
5433
5432
  });
5434
5433
  o({ validation: c, data: C });
5435
- const te = Ce({ tree: r }), ie = [
5434
+ const te = ve({ tree: r }), ie = [
5436
5435
  ...this.nestedReadLayout.slice(0, t),
5437
5436
  ...te,
5438
5437
  ...this.nestedReadLayout.slice(t)
@@ -5532,7 +5531,7 @@ var Q2 = function() {
5532
5531
  J2,
5533
5532
  !1,
5534
5533
  null,
5535
- "946ca38a"
5534
+ "3168d720"
5536
5535
  );
5537
5536
  const ei = X2.exports, ti = {
5538
5537
  name: "DocumentSend",
@@ -5561,9 +5560,9 @@ const ei = X2.exports, ti = {
5561
5560
  AddBlock: Q,
5562
5561
  Drawer: K,
5563
5562
  SendForm: et,
5564
- CCheckbox: ve,
5565
- CIcon: ye,
5566
- CButton: xe,
5563
+ CCheckbox: ye,
5564
+ CIcon: xe,
5565
+ CButton: we,
5567
5566
  IsPremium: L,
5568
5567
  IsPremiumPreStep: _
5569
5568
  },
@@ -5684,7 +5683,7 @@ var ii = function() {
5684
5683
  ai,
5685
5684
  !1,
5686
5685
  null,
5687
- "ec106516"
5686
+ "ded1afc1"
5688
5687
  );
5689
5688
  const ni = si.exports, oi = {
5690
5689
  i18nOptions: {
@@ -5844,13 +5843,13 @@ var li = function() {
5844
5843
  ri,
5845
5844
  !1,
5846
5845
  null,
5847
- "f7a5bf2b"
5846
+ "ea90dfe8"
5848
5847
  );
5849
5848
  const X = ci.exports;
5850
5849
  function di(i, e, t) {
5851
5850
  return i === i && (t !== void 0 && (i = i <= t ? i : t), e !== void 0 && (i = i >= e ? i : e)), i;
5852
5851
  }
5853
- var pi = di, ui = pi, M = We;
5852
+ var pi = di, ui = pi, M = qe;
5854
5853
  function mi(i, e, t) {
5855
5854
  return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = M(t), t = t === t ? t : 0), e !== void 0 && (e = M(e), e = e === e ? e : 0), ui(M(i), e, t);
5856
5855
  }
@@ -5908,7 +5907,7 @@ var Ci = function() {
5908
5907
  vi,
5909
5908
  !1,
5910
5909
  null,
5911
- "baa71464"
5910
+ "748c3983"
5912
5911
  );
5913
5912
  const xi = yi.exports, T = A.observable({
5914
5913
  canEdit: !1,
@@ -6113,7 +6112,7 @@ const Li = _i.exports, $i = {
6113
6112
  async fetchDocuments(i) {
6114
6113
  const e = this.query ? 180 : 90, t = {
6115
6114
  createdAt: {
6116
- $gte: this.$formatDate(we(/* @__PURE__ */ new Date(), e), "yyyy-MM-dd")
6115
+ $gte: this.$formatDate(be(/* @__PURE__ */ new Date(), e), "yyyy-MM-dd")
6117
6116
  },
6118
6117
  // Only provide or if there is a search query to filter on
6119
6118
  ...this.query && {
@@ -6130,7 +6129,7 @@ const Li = _i.exports, $i = {
6130
6129
  }
6131
6130
  ]
6132
6131
  }
6133
- }, { data: a } = await be.getAll({
6132
+ }, { data: a } = await ke.getAll({
6134
6133
  lean: !0,
6135
6134
  filter: encodeURIComponent(JSON.stringify(t)),
6136
6135
  fields: "clients,data.name,createdAt",
@@ -6188,11 +6187,11 @@ var Si = function() {
6188
6187
  Ti,
6189
6188
  !1,
6190
6189
  null,
6191
- "901ca3c2"
6190
+ "9c78dbb6"
6192
6191
  );
6193
6192
  const Vi = Di.exports, Bi = {
6194
6193
  name: "DocumentIcon",
6195
- truncate: ke,
6194
+ truncate: _e,
6196
6195
  inject: {
6197
6196
  components: {
6198
6197
  default: {
@@ -6223,7 +6222,7 @@ var Mi = function(e, t) {
6223
6222
  Ii,
6224
6223
  !0,
6225
6224
  null,
6226
- "11e80442"
6225
+ "c3016d8f"
6227
6226
  );
6228
6227
  const Hi = Fi.exports, Ai = {
6229
6228
  name: "HorizontalScroll",
@@ -6299,7 +6298,7 @@ var Pi = function() {
6299
6298
  Ei,
6300
6299
  !1,
6301
6300
  null,
6302
- "94f802b3"
6301
+ "31e10485"
6303
6302
  );
6304
6303
  const Zi = zi.exports;
6305
6304
  function Ui(i, { availableProducts: e }) {
@@ -6318,7 +6317,7 @@ function Ui(i, { availableProducts: e }) {
6318
6317
  async function Oi(i) {
6319
6318
  if (!i)
6320
6319
  throw new Error("Missing argument stripeProduct");
6321
- const e = i == null ? void 0 : i.prices[0], { data: t } = await _e.createCheckoutSession({
6320
+ const e = i == null ? void 0 : i.prices[0], { data: t } = await Le.createCheckoutSession({
6322
6321
  items: [
6323
6322
  {
6324
6323
  stripePriceStripeId: e.stripeId,
@@ -6348,7 +6347,7 @@ const Ri = {
6348
6347
  name: "GalleryTemplateModal",
6349
6348
  components: {
6350
6349
  simplebar: k,
6351
- DocumentLayout: Re,
6350
+ DocumentLayout: Ge,
6352
6351
  IsPremium: L,
6353
6352
  IsPremiumPreStep: _
6354
6353
  },
@@ -6434,7 +6433,7 @@ const Ri = {
6434
6433
  }
6435
6434
  },
6436
6435
  created() {
6437
- this.privateProduct = this.product, this.loadTemplateStat(), this.product && (this.socketUnsubscribeFn = Le.on(
6436
+ this.privateProduct = this.product, this.loadTemplateStat(), this.product && (this.socketUnsubscribeFn = $e.on(
6438
6437
  "event",
6439
6438
  async ({ type: i, action: e, data: t }) => {
6440
6439
  var a;
@@ -6463,7 +6462,7 @@ const Ri = {
6463
6462
  const i = this.template.id;
6464
6463
  i || (this.templateStat = null);
6465
6464
  try {
6466
- const { data: e } = await $e.get(i);
6465
+ const { data: e } = await Se.get(i);
6467
6466
  this.templateStat = e;
6468
6467
  } catch {
6469
6468
  this.templateStat = null;
@@ -6513,7 +6512,7 @@ var Gi = function() {
6513
6512
  Wi,
6514
6513
  !1,
6515
6514
  null,
6516
- "bf9bb994"
6515
+ "a4cb4a3f"
6517
6516
  );
6518
6517
  const Ni = qi.exports, ji = {
6519
6518
  name: "GalleryLogic",
@@ -6640,7 +6639,7 @@ const Ni = qi.exports, ji = {
6640
6639
  }
6641
6640
  },
6642
6641
  beforeCreate() {
6643
- this.$store.hasModule("stripe") || this.$store.registerModuleState("stripe", je);
6642
+ this.$store.hasModule("stripe") || this.$store.registerModuleState("stripe", Ke);
6644
6643
  },
6645
6644
  async created() {
6646
6645
  var t, a, s, n;
@@ -6699,7 +6698,7 @@ const Ni = qi.exports, ji = {
6699
6698
  isVisibleApp: !0,
6700
6699
  includePurchaseInfo: !0
6701
6700
  }, t = await this.fetchGallery(e), a = (n = t == null ? void 0 : t[0]) == null ? void 0 : n.templateId;
6702
- return a ? (Se(a), new Te(a)) : null;
6701
+ return a ? (Te(a), new De(a)) : null;
6703
6702
  },
6704
6703
  onUseTemplate(i) {
6705
6704
  if (!i)
@@ -6954,7 +6953,7 @@ const Ji = Qi.exports, Xi = {
6954
6953
  },
6955
6954
  async saveTemplate(i) {
6956
6955
  try {
6957
- const { data: e } = i, t = De(e, [
6956
+ const { data: e } = i, t = Ve(e, [
6958
6957
  "_id",
6959
6958
  "id",
6960
6959
  "companyId",
@@ -6985,7 +6984,7 @@ const Ji = Qi.exports, Xi = {
6985
6984
  );
6986
6985
  },
6987
6986
  async fetchGallery(i = {}) {
6988
- const { data: e } = await Ve.get(i);
6987
+ const { data: e } = await Be.get(i);
6989
6988
  return e;
6990
6989
  },
6991
6990
  canUseTemplate(i) {
@@ -7050,10 +7049,10 @@ var ea = function() {
7050
7049
  ta,
7051
7050
  !1,
7052
7051
  null,
7053
- "6cc4f09a"
7052
+ "5c1a776a"
7054
7053
  );
7055
7054
  const aa = ia.exports;
7056
- var sa = Be, na = Me, oa = Ie;
7055
+ var sa = Me, na = Ie, oa = Fe;
7057
7056
  function la(i, e, t) {
7058
7057
  for (var a = -1, s = e.length, n = {}; ++a < s; ) {
7059
7058
  var o = e[a], l = sa(i, o);
@@ -7061,13 +7060,13 @@ function la(i, e, t) {
7061
7060
  }
7062
7061
  return n;
7063
7062
  }
7064
- var ra = la, ca = ra, da = Fe;
7063
+ var ra = la, ca = ra, da = He;
7065
7064
  function pa(i, e) {
7066
7065
  return ca(i, e, function(t, a) {
7067
7066
  return da(i, a);
7068
7067
  });
7069
7068
  }
7070
- var ua = pa, ma = ua, ha = Qe, fa = ha(function(i, e) {
7069
+ var ua = pa, ma = ua, ha = Je, fa = ha(function(i, e) {
7071
7070
  return i == null ? {} : ma(i, e);
7072
7071
  }), ga = fa;
7073
7072
  const Ca = /* @__PURE__ */ G(ga);
@@ -7151,7 +7150,7 @@ const va = {
7151
7150
  };
7152
7151
  },
7153
7152
  computed: {
7154
- ...He({
7153
+ ...Ae({
7155
7154
  company: "application/company",
7156
7155
  feature: "application/feature",
7157
7156
  can: "application/can",
@@ -7184,7 +7183,7 @@ const va = {
7184
7183
  (!this.rawDoc || (i = this.rawDoc) != null && i.__isNew) && (this.view = "templateSelect");
7185
7184
  },
7186
7185
  methods: {
7187
- ...Ae({
7186
+ ...Pe({
7188
7187
  removeFormKeyValue: m.REMOVE_FORM_KEY_VALUE,
7189
7188
  loadDocumentForm: m.LOAD_DOCUMENT2_FORM,
7190
7189
  duplicateDocumentForm: m.LOAD_DUPLICATE_DOCUMENT2_FORM,
@@ -7216,7 +7215,7 @@ const va = {
7216
7215
  _formData: a
7217
7216
  }) : await this.loadDocumentForm({
7218
7217
  templateId: i,
7219
- formData: t ? Pe(t, a) : null,
7218
+ formData: t ? Ee(t, a) : null,
7220
7219
  _formData: a
7221
7220
  }), (s = a == null ? void 0 : a.data) != null && s.name && this.setDocValue({ key: "data.name", value: a.data.name }), await this.initDoc(), this.view = "editor";
7222
7221
  },
@@ -7265,9 +7264,9 @@ var ya = function() {
7265
7264
  xa,
7266
7265
  !1,
7267
7266
  null,
7268
- "b98b471a"
7267
+ "2c3d4461"
7269
7268
  );
7270
- const Ga = wa.exports;
7269
+ const Ra = wa.exports;
7271
7270
  export {
7272
- Ga as default
7271
+ Ra as default
7273
7272
  };
@@ -1,5 +1,5 @@
1
- import { i as s, S as l } from "./formComponentsInstall-CEW6TK6z.js";
2
- import { V as n, m as r, a as i, g as u, C as c, n as m } from "./main-CQBEuZk9.js";
1
+ import { i as s, S as l } from "./formComponentsInstall-Bm3VMOh6.js";
2
+ import { V as n, m as r, a as i, g as u, C as c, n as m } from "./main-WKzC-Dnu.js";
3
3
  n.use(s);
4
4
  const a = n.observable({
5
5
  canEdit: !1,
@@ -115,7 +115,8 @@ const a = n.observable({
115
115
  typeof this.beforeSave == "function" && (e = await this.beforeSave(this.document)), t && typeof this.beforeSend == "function" && (e = await this.beforeSend(this.document)), !(e || !await this.saveDocument({ doSend: t })) && this.close();
116
116
  },
117
117
  close() {
118
- this.closeFunc();
118
+ var t;
119
+ (t = this.closeFunc) == null || t.call(this);
119
120
  }
120
121
  }
121
122
  };
@@ -1,5 +1,5 @@
1
- import { C as o } from "./index-SxyZvewN.js";
2
- import { n as s } from "./main-CQBEuZk9.js";
1
+ import { C as o } from "./index-aoff9oUi.js";
2
+ import { n as s } from "./main-WKzC-Dnu.js";
3
3
  const t = {
4
4
  name: "DocLinks",
5
5
  components: {
@@ -1,4 +1,4 @@
1
- import { n as o } from "./main-CQBEuZk9.js";
1
+ import { n as o } from "./main-WKzC-Dnu.js";
2
2
  const s = {
3
3
  name: "DocModalBase",
4
4
  components: {},
@@ -20,7 +20,7 @@ var a = function() {
20
20
  n,
21
21
  !1,
22
22
  null,
23
- "76fb32f6"
23
+ "14171006"
24
24
  );
25
25
  const i = r.exports;
26
26
  export {
@@ -1,4 +1,4 @@
1
- import { n as d, J as h, c, I as l, K as p, L as a, M as m } from "./main-CQBEuZk9.js";
1
+ import { n as d, J as h, c, I as l, K as p, L as a, M as m } from "./main-WKzC-Dnu.js";
2
2
  const u = {
3
3
  i18nOptions: {
4
4
  namespaces: "documentPrint",
@@ -207,7 +207,7 @@ var f = function() {
207
207
  g,
208
208
  !1,
209
209
  null,
210
- "46bff44c"
210
+ "c95522c4"
211
211
  );
212
212
  const b = v.exports, w = {
213
213
  name: "DocPrint",
@@ -1,4 +1,4 @@
1
- import { g as p, n as u } from "./main-CQBEuZk9.js";
1
+ import { g as p, n as u } from "./main-WKzC-Dnu.js";
2
2
  import { m as g, a as _ } from "./vuex.esm-DKGl8mcw.js";
3
3
  const f = {
4
4
  sv: {
@@ -1,4 +1,4 @@
1
- import { g as m, n as a } from "./main-CQBEuZk9.js";
1
+ import { g as m, n as a } from "./main-WKzC-Dnu.js";
2
2
  import { m as c, a as d } from "./vuex.esm-DKGl8mcw.js";
3
3
  const l = {
4
4
  name: "DocumentSendReminderModal",