@cling-se/widget 0.9.24 → 0.9.26

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 (120) hide show
  1. package/dist/{AddClientCallout-4afb07ff.js → AddClientCallout-1d22cff1.js} +5 -5
  2. package/dist/{AnswerModal-2b11381b.js → AnswerModal-7d4a4ad6.js} +82 -70
  3. package/dist/{AttachmentItem-c666fb74.js → AttachmentItem-fa4a7b2f.js} +3 -3
  4. package/dist/{BaseDatePicker-e1efcf48.js → BaseDatePicker-bb3c9290.js} +1 -1
  5. package/dist/{BaseInput-44c3af54.js → BaseInput-d46c6aab.js} +1 -1
  6. package/dist/{BaseUpload-740b1f88.js → BaseUpload-61a6ae84.js} +2 -2
  7. package/dist/{BlockMedia-f5086397.js → BlockMedia-c0765d5f.js} +1 -1
  8. package/dist/{CCallout-1a1feea0.js → CCallout-e9eb8421.js} +2 -2
  9. package/dist/{CDropdownItem-cc274799.js → CDropdownItem-0c39e15e.js} +1 -1
  10. package/dist/{CField-372bd9c7.js → CField-9a36ccbe.js} +1 -1
  11. package/dist/{CPhoneFormat-b273a499.js → CPhoneFormat-14fb2bfe.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js → CSlider.vue_vue_type_style_index_0_lang-473e3473.js} +1 -1
  13. package/dist/{ClientAutocomplete-0f51c1cd.js → ClientAutocomplete-ea948de7.js} +2 -2
  14. package/dist/{ClientModal-1bec5a45.js → ClientModal-03f9a7ad.js} +8 -8
  15. package/dist/{ColorPicker-43c741fb.js → ColorPicker-9d6e8692.js} +38 -38
  16. package/dist/{CompanyModal-adec1d7e.js → CompanyModal-9a2797e4.js} +3 -3
  17. package/dist/{ContentWrapper-48e69342.js → ContentWrapper-cd0abb46.js} +13 -13
  18. package/dist/{CoverBlockSettings-c0a57bee.js → CoverBlockSettings-9e6926e5.js} +8 -8
  19. package/dist/{DocAnswer-f0f7d55d.js → DocAnswer-760aca52.js} +4 -4
  20. package/dist/{DocDetails-0e25552f.js → DocDetails-a49d9706.js} +4 -4
  21. package/dist/{DocForm-2ab0c521.js → DocForm-9296137d.js} +508 -487
  22. package/dist/{DocFormSend-e60808ca.js → DocFormSend-d53627b6.js} +18 -18
  23. package/dist/{DocLinks-20719644.js → DocLinks-ebb434cf.js} +2 -2
  24. package/dist/{DocModalBase-039f53c2.js → DocModalBase-788ecca2.js} +1 -1
  25. package/dist/{DocPrint-aafc72e2.js → DocPrint-76494770.js} +4 -2
  26. package/dist/{DocReceipt-641b141c.js → DocReceipt-91a22031.js} +1 -1
  27. package/dist/{DocSendReminder-aabc0994.js → DocSendReminder-8fb4f42a.js} +1 -1
  28. package/dist/{DocTextEditor-3eb97671.js → DocTextEditor-718701da.js} +8 -8
  29. package/dist/{DocTimeline-9d765ded.js → DocTimeline-745f11ca.js} +3 -3
  30. package/dist/{DocumentClient-8d59d823.js → DocumentClient-9484dac6.js} +7 -7
  31. package/dist/{DocumentLayout-a659ce2a.js → DocumentLayout-b35834b7.js} +143 -143
  32. package/dist/{DocumentLogotype-393d1610.js → DocumentLogotype-ac609ac3.js} +3 -3
  33. package/dist/{DocumentVoided-9294f5d4.js → DocumentVoided-35a08aae.js} +1 -1
  34. package/dist/{EmbedInput-e6a9ee21.js → EmbedInput-b4e82feb.js} +2 -2
  35. package/dist/{EmbedSettings-e31ccfdc.js → EmbedSettings-e1a34a42.js} +3 -3
  36. package/dist/{ErrorCallout-d6c77efa.js → ErrorCallout-028c5129.js} +1 -1
  37. package/dist/{FilePreviewModal-84d6ab65.js → FilePreviewModal-317d0164.js} +5 -5
  38. package/dist/{HeaderSettings-51d44d2d.js → HeaderSettings-6b47fc81.js} +16 -16
  39. package/dist/{ImageSelectModal-051e0929.js → ImageSelectModal-844c6bc3.js} +9 -9
  40. package/dist/{ImageUploadWrapper-dcceec48.js → ImageUploadWrapper-50277abb.js} +12 -12
  41. package/dist/{Index-c2008029.js → Index-05284370.js} +2 -2
  42. package/dist/{Index-c8ded03a.js → Index-150fb782.js} +2 -2
  43. package/dist/{Index-d77ba606.js → Index-15208945.js} +16 -16
  44. package/dist/{Index-c1aa1453.js → Index-19a722f7.js} +2 -2
  45. package/dist/{Index-fd6da129.js → Index-2167f5b1.js} +7 -7
  46. package/dist/{Index-5def7508.js → Index-2d053662.js} +4 -4
  47. package/dist/{Index-36ba2c7c.js → Index-2d8c6cb4.js} +10 -10
  48. package/dist/{Index-494c3112.js → Index-3149ec57.js} +39 -39
  49. package/dist/{Index-3cb4cf49.js → Index-3806962a.js} +4 -4
  50. package/dist/{Index-fdb53118.js → Index-3dab1bc2.js} +4 -4
  51. package/dist/{Index-51ceb867.js → Index-4372b425.js} +14 -14
  52. package/dist/{Index-9a162ce6.js → Index-577f50c3.js} +1 -1
  53. package/dist/{Index-e8a3b12b.js → Index-6cf07e69.js} +4 -4
  54. package/dist/{Index-b33109a3.js → Index-7088fac5.js} +7 -7
  55. package/dist/{Index-3571dbbe.js → Index-7746750d.js} +2 -2
  56. package/dist/{Index-39d0e781.js → Index-7dc7112d.js} +9 -9
  57. package/dist/{Index-5ead0dc5.js → Index-80b0143a.js} +2 -2
  58. package/dist/{Index-c4942c4e.js → Index-891aef3c.js} +9 -9
  59. package/dist/{Index-c5983b2b.js → Index-95d81511.js} +8 -8
  60. package/dist/{Index-42639492.js → Index-9a60040d.js} +4 -4
  61. package/dist/{Index-5b2c568a.js → Index-9db11c22.js} +4 -4
  62. package/dist/{Index-d7a7de69.js → Index-a07fdebf.js} +5 -5
  63. package/dist/{Index-a94f257f.js → Index-b2aac451.js} +6 -6
  64. package/dist/{Index-54695ef1.js → Index-baae6f49.js} +4 -4
  65. package/dist/{Index-75922cfc.js → Index-bbf0ffc1.js} +2 -2
  66. package/dist/{Index-cc56dad6.js → Index-bd96ee96.js} +6 -6
  67. package/dist/{Index-20c0168b.js → Index-c17f0725.js} +1 -1
  68. package/dist/{Index-652a82d0.js → Index-c4573294.js} +6 -6
  69. package/dist/{Index-e9da5a9c.js → Index-d7279e3d.js} +2 -2
  70. package/dist/{Index-a98c290d.js → Index-de524825.js} +8 -8
  71. package/dist/{Index-06045b22.js → Index-e30aeae7.js} +4 -4
  72. package/dist/{Index-f36accd7.js → Index-e3a4b413.js} +4 -4
  73. package/dist/{Index-0932b744.js → Index-ede7b036.js} +2 -2
  74. package/dist/{Index-3bdfc806.js → Index-f87f5334.js} +3 -3
  75. package/dist/{InputToggleRow-79bbd6c6.js → InputToggleRow-88c816d8.js} +1 -1
  76. package/dist/{IsPremiumPreStep-f0524e76.js → IsPremiumPreStep-3665f985.js} +17 -17
  77. package/dist/{ManualPopover-8a1e53a5.js → ManualPopover-db213d5f.js} +1 -1
  78. package/dist/{MediaWrapper-b128c707.js → MediaWrapper-fd7c4863.js} +3 -3
  79. package/dist/{NotBindingText-561df6d3.js → NotBindingText-c2e4a00c.js} +2 -2
  80. package/dist/{PackageGroup-3eaff6a7.js → PackageGroup-d8077d12.js} +12 -12
  81. package/dist/{PdfTerms-27d7ea41.js → PdfTerms-ca12cb7a.js} +5 -5
  82. package/dist/{PdfViewer-5b2bcbb5.js → PdfViewer-0bd06c00.js} +2 -2
  83. package/dist/{PlainHtml-c743e90e.js → PlainHtml-9326653d.js} +1 -1
  84. package/dist/{PriceHeader-287b8219.js → PriceHeader-b8225846.js} +13 -13
  85. package/dist/{SearchApi-1cd32dd3.js → SearchApi-2070fc66.js} +2 -2
  86. package/dist/{Setup-647c8d19.js → Setup-112a316f.js} +1 -1
  87. package/dist/{TermsSettings-28e00bdf.js → TermsSettings-181622d1.js} +7 -7
  88. package/dist/{ThemeColorRow-87aad7e1.js → ThemeColorRow-7dd6979b.js} +3 -3
  89. package/dist/{ToggleBinding-86912659.js → ToggleBinding-482c9df9.js} +3 -3
  90. package/dist/{UploadModal-4065d410.js → UploadModal-fc9b0c7b.js} +3 -3
  91. package/dist/{VideoPlayerInput-1b402e91.js → VideoPlayerInput-c1465b51.js} +3 -3
  92. package/dist/{VideoPlayerSettings-4dcca863.js → VideoPlayerSettings-a3e8a905.js} +4 -4
  93. package/dist/{VideoSelectModal-4f9def15.js → VideoSelectModal-0834b28c.js} +8 -8
  94. package/dist/{answerDocumentMixin-6b6cfdb6.js → answerDocumentMixin-77a657f2.js} +3 -3
  95. package/dist/{debounce-97bb38ac.js → debounce-7a30cd28.js} +13 -13
  96. package/dist/{focusDrawerMixin-0d00dfeb.js → focusDrawerMixin-4b8dc020.js} +1 -1
  97. package/dist/{formComponentsInstall-0e28cca8.js → formComponentsInstall-b7ccf504.js} +12 -12
  98. package/dist/{formDrawerState-68670778.js → formDrawerState-66870f5d.js} +1 -1
  99. package/dist/{formValidationMixin-cb6f10e2.js → formValidationMixin-00449d9c.js} +1 -1
  100. package/dist/{image-456aa00c.js → image-025ccec3.js} +1 -1
  101. package/dist/{index-b8207e2a.js → index-26b885b0.js} +42 -42
  102. package/dist/{index-63ab2d14.js → index-47104181.js} +9 -9
  103. package/dist/{index-1f6e36c5.js → index-75dcd2c7.js} +4 -4
  104. package/dist/{index-e4f936ec.js → index-86143b34.js} +2 -2
  105. package/dist/{index-2710ab1c.js → index-9ed00aac.js} +26 -21
  106. package/dist/{index-ea1c7f84.js → index-c2b908d6.js} +5 -5
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +139 -139
  109. package/dist/{main-b5eb6366.js → main-046afb6a.js} +186 -152
  110. package/dist/{mapFormMixin-e0c45bbd.js → mapFormMixin-55374367.js} +1 -1
  111. package/dist/{publicSenderState-4163b1b6.js → publicSenderState-6a3c9ab7.js} +1 -1
  112. package/dist/{simplebar.min-147772cd.js → simplebar.min-536ba2c3.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{template-6e93622c.js → template-b0d55fd8.js} +2 -2
  115. package/dist/{throttle-7a7a1299.js → throttle-c63892db.js} +2 -2
  116. package/dist/{tinycolor-bb8652ea.js → tinycolor-acb2af47.js} +1 -1
  117. package/dist/{tippy.esm-f533f77b.js → tippy.esm-33ba8b66.js} +45 -45
  118. package/dist/{utils-066c47a5.js → utils-0876161d.js} +1 -1
  119. package/dist/{vuedraggable.umd-76911d11.js → vuedraggable.umd-b517a242.js} +63 -63
  120. package/package.json +1 -1
@@ -5914,6 +5914,7 @@ const Gp = ["start", "base", "pro"], cr = {
5914
5914
  disabled: "avstängd",
5915
5915
  block: "block",
5916
5916
  block_plural: "block",
5917
+ copy: "Kopiera{{thing,inlineSpace}}",
5917
5918
  copyMessage: "Kopierat till urklipp",
5918
5919
  category: "kategori",
5919
5920
  setup: "ställ in",
@@ -8768,6 +8769,7 @@ För att underlätta din ansökan om avdrag så behöver {{company.name}} din fa
8768
8769
  disabled: "disabled",
8769
8770
  block: "block",
8770
8771
  block_plural: "blocks",
8772
+ copy: "Copy{{thing,inlineSpace}}",
8771
8773
  copyMessage: "Copied to clipboard",
8772
8774
  category: "category",
8773
8775
  setup: "setup",
@@ -17193,6 +17195,21 @@ const sC = (e, t = "") => {
17193
17195
  const i = e[n], a = t ? `${t}.${n}` : n;
17194
17196
  typeof i == "object" && !Array.isArray(i) ? Object.assign(r, sC(i, a)) : r[a] = i;
17195
17197
  }), r;
17198
+ }, xRe = async (e) => {
17199
+ if (!e)
17200
+ throw new Error("Missing param string to copy");
17201
+ if (typeof e != "string")
17202
+ throw new Error("Param string must be a string to copy");
17203
+ if (!navigator.clipboard) {
17204
+ console.log("old");
17205
+ const t = document.createElement("textarea");
17206
+ return document.body.appendChild(t), t.value = e, t.select(), document.execCommand("copy", !1), document.body.removeChild(t), !0;
17207
+ }
17208
+ try {
17209
+ return await navigator.clipboard.writeText(e), !0;
17210
+ } catch (t) {
17211
+ return console.error(t), !1;
17212
+ }
17196
17213
  }, RW = cr[Te.brand], PW = {
17197
17214
  brand: RW,
17198
17215
  sign: "signera",
@@ -20371,7 +20388,7 @@ $t(documentTemplateView.smsContent) $t(documentTemplateView.readMore)
20371
20388
  "fr",
20372
20389
  "es",
20373
20390
  "nl"
20374
- ], xRe = {
20391
+ ], kRe = {
20375
20392
  en: "English",
20376
20393
  sv: "Svenska",
20377
20394
  fi: "Suomi",
@@ -27564,7 +27581,7 @@ const HQ = [
27564
27581
  {
27565
27582
  name: "form",
27566
27583
  path: "/form",
27567
- component: () => import("./DocForm-2ab0c521.js"),
27584
+ component: () => import("./DocForm-9296137d.js"),
27568
27585
  props: !0,
27569
27586
  meta: {
27570
27587
  mode: "modal",
@@ -27576,7 +27593,7 @@ const HQ = [
27576
27593
  {
27577
27594
  name: "document",
27578
27595
  path: "/document",
27579
- component: () => import("./DocumentLayout-a659ce2a.js").then((e) => e.c),
27596
+ component: () => import("./DocumentLayout-b35834b7.js").then((e) => e.c),
27580
27597
  props: !0,
27581
27598
  meta: {
27582
27599
  mode: "modal",
@@ -27589,7 +27606,7 @@ const HQ = [
27589
27606
  {
27590
27607
  name: "send",
27591
27608
  path: "/send",
27592
- component: () => import("./DocFormSend-e60808ca.js"),
27609
+ component: () => import("./DocFormSend-d53627b6.js"),
27593
27610
  props: !0,
27594
27611
  meta: {
27595
27612
  mode: "drawer",
@@ -27601,7 +27618,7 @@ const HQ = [
27601
27618
  {
27602
27619
  name: "print",
27603
27620
  path: "/print",
27604
- component: () => import("./DocPrint-aafc72e2.js"),
27621
+ component: () => import("./DocPrint-76494770.js"),
27605
27622
  props: !0,
27606
27623
  meta: {
27607
27624
  mode: "modal",
@@ -27612,7 +27629,7 @@ const HQ = [
27612
27629
  {
27613
27630
  name: "sendReminder",
27614
27631
  path: "/sendReminder",
27615
- component: () => import("./DocSendReminder-aabc0994.js"),
27632
+ component: () => import("./DocSendReminder-8fb4f42a.js"),
27616
27633
  props: !0,
27617
27634
  meta: {
27618
27635
  mode: "modal",
@@ -27623,7 +27640,7 @@ const HQ = [
27623
27640
  {
27624
27641
  name: "timeline",
27625
27642
  path: "/timeline",
27626
- component: () => import("./DocTimeline-9d765ded.js"),
27643
+ component: () => import("./DocTimeline-745f11ca.js"),
27627
27644
  props: !0,
27628
27645
  meta: {
27629
27646
  mode: "modal",
@@ -27633,7 +27650,7 @@ const HQ = [
27633
27650
  {
27634
27651
  name: "receipt",
27635
27652
  path: "/receipt",
27636
- component: () => import("./DocReceipt-641b141c.js"),
27653
+ component: () => import("./DocReceipt-91a22031.js"),
27637
27654
  props: !0,
27638
27655
  meta: {
27639
27656
  mode: "modal",
@@ -27643,7 +27660,7 @@ const HQ = [
27643
27660
  {
27644
27661
  name: "clientLinks",
27645
27662
  path: "/clientLinks",
27646
- component: () => import("./DocLinks-20719644.js"),
27663
+ component: () => import("./DocLinks-ebb434cf.js"),
27647
27664
  props: !0,
27648
27665
  meta: {
27649
27666
  mode: "modal",
@@ -27653,7 +27670,7 @@ const HQ = [
27653
27670
  {
27654
27671
  name: "documentClient",
27655
27672
  path: "/documentClient",
27656
- component: () => import("./DocumentClient-8d59d823.js"),
27673
+ component: () => import("./DocumentClient-9484dac6.js"),
27657
27674
  props: !0,
27658
27675
  meta: {
27659
27676
  mode: "modal",
@@ -27665,7 +27682,7 @@ const HQ = [
27665
27682
  {
27666
27683
  name: "setup",
27667
27684
  path: "/setup",
27668
- component: () => import("./Setup-647c8d19.js"),
27685
+ component: () => import("./Setup-112a316f.js"),
27669
27686
  props: !0,
27670
27687
  meta: {
27671
27688
  mode: "modal",
@@ -27677,7 +27694,7 @@ const HQ = [
27677
27694
  {
27678
27695
  name: "docAnswer",
27679
27696
  path: "/docAnswer",
27680
- component: () => import("./DocAnswer-f0f7d55d.js"),
27697
+ component: () => import("./DocAnswer-760aca52.js"),
27681
27698
  props: !0,
27682
27699
  meta: {
27683
27700
  mode: "modal",
@@ -27688,7 +27705,7 @@ const HQ = [
27688
27705
  {
27689
27706
  name: "docDetails",
27690
27707
  path: "/docDetails",
27691
- component: () => import("./DocDetails-0e25552f.js"),
27708
+ component: () => import("./DocDetails-a49d9706.js"),
27692
27709
  props: !0,
27693
27710
  meta: {
27694
27711
  mode: "drawer",
@@ -27744,13 +27761,12 @@ const _n = new vt({
27744
27761
  this._openViews.push(i), Vt.trigger("ui:open", { key: e, view: t, mode: r });
27745
27762
  },
27746
27763
  removeView({ key: e, view: t, mode: r }) {
27747
- var i;
27748
27764
  const n = this._openViews.findIndex(
27749
- (a) => a.key === e && a.mode === r && a.view === t
27765
+ (i) => i.key === e && i.mode === r && i.view === t
27750
27766
  );
27751
27767
  if (r === "mount") {
27752
- const a = this._openViews[n], o = document.getElementById((i = a == null ? void 0 : a.viewOpts) == null ? void 0 : i.key);
27753
- o && (o.textContent = "");
27768
+ const i = document.getElementById(`${e}-${r}-${t}`);
27769
+ i && (i.textContent = "");
27754
27770
  }
27755
27771
  n > -1 && this._openViews.splice(n, 1), ["modal", "drawer"].includes(r) && _n.push("/"), Vt.trigger("ui:close", { key: e, mode: r, view: t });
27756
27772
  },
@@ -28230,7 +28246,7 @@ const Gte = (e, { renewToken: t }) => {
28230
28246
  // allow API to store cookie
28231
28247
  paramsSerializer: (d) => Hte(d)
28232
28248
  });
28233
- n.defaults.headers["X-CLIENT"] = "widget", n.defaults.headers["X-CLIENT-VERSION"] = "0.9.24";
28249
+ n.defaults.headers["X-CLIENT"] = "widget", n.defaults.headers["X-CLIENT-VERSION"] = "0.9.26";
28234
28250
  const i = async (d, p, h = null, f = {}) => {
28235
28251
  const m = p.startsWith("/public/"), g = Ce.getItem("token");
28236
28252
  switch (g && !m && (n.defaults.headers["X-TOKEN"] = g), d) {
@@ -28290,7 +28306,7 @@ const Qte = async (e) => {
28290
28306
  }, zi = {
28291
28307
  withCredentials: !0,
28292
28308
  baseUrl: Te.api.baseUrl
28293
- }, { get: _e, post: Fe, put: kt, patch: on, del: qt, instance: kRe, renewToken: ere } = Zte({
28309
+ }, { get: _e, post: Fe, put: kt, patch: on, del: qt, instance: SRe, renewToken: ere } = Zte({
28294
28310
  withCredentials: zi.withCredentials,
28295
28311
  baseUrl: zi.baseUrl,
28296
28312
  cache: Qte
@@ -28316,7 +28332,7 @@ const tre = async (e, t = {}) => _e("/project", e, { params: t }), rre = async (
28316
28332
  getConnectedUserAuth: async (e, t = {}) => _e(`/companyUser/self/connectedUsers/${e}/auth`, { params: t }),
28317
28333
  setConnectedUserDefault: async (e, t = {}) => kt(`/companyUser/self/connectedUsers/${e}/setDefaultAuth`, { params: t }),
28318
28334
  verifyEmail: async (e, t = {}) => Fe("/public/verifyEmail/companyUser", e, { params: t })
28319
- }, Jre = async (e, t = null, r = {}) => kt(`/companyAccount/accountType/${e}`, t, { params: r }), SRe = async (e = {}) => _e("/companyAccount/getNumberOfManagers", { params: e }), ORe = async (e = {}) => Fe("/companyAccount/addUserLicenseInvoice", {}, { params: e }), CRe = async (e, t = {}) => _e(`/promotionCode/${e}/canUse`, { params: t }), ARe = async (e, t = {}) => _e("/promotionCode/inUse", { params: t }), $Re = {
28335
+ }, Jre = async (e, t = null, r = {}) => kt(`/companyAccount/accountType/${e}`, t, { params: r }), ORe = async (e = {}) => _e("/companyAccount/getNumberOfManagers", { params: e }), CRe = async (e = {}) => Fe("/companyAccount/addUserLicenseInvoice", {}, { params: e }), ARe = async (e, t = {}) => _e(`/promotionCode/${e}/canUse`, { params: t }), $Re = async (e, t = {}) => _e("/promotionCode/inUse", { params: t }), IRe = {
28320
28336
  product: async (e, t = {}) => Fe("/companyAccount/product", e, { params: t }),
28321
28337
  cancelAll: async (e = {}) => qt("/companyAccount/subscription", { params: e }),
28322
28338
  getPrices: async (e = {}) => _e("/companyAccount/price", { params: e }),
@@ -28346,16 +28362,16 @@ const tre = async (e, t = {}) => _e("/project", e, { params: t }), rre = async (
28346
28362
  put: async (e, t, r = {}) => kt(`/template/${e}`, t, { params: r }),
28347
28363
  delete: async (e, t = {}) => qt(`/template/${e}`, { params: t }),
28348
28364
  patch: async (e, t = {}) => on(`/template/${e}`, { params: t })
28349
- }, IRe = {
28350
- get: async (e = {}) => _e("/templateGallery", { params: e })
28351
28365
  }, RRe = {
28366
+ get: async (e = {}) => _e("/templateGallery", { params: e })
28367
+ }, PRe = {
28352
28368
  get: async (e, t = {}) => _e(`/public/templateStat/${e}`, { params: t })
28353
28369
  }, Bs = {
28354
28370
  get: async (e, t = {}) => _e(`/public/document/${e}`, { params: t }),
28355
28371
  put: async (e, t, r = {}) => kt(`/public/document/${e}`, t, { headers: r }),
28356
28372
  answer: async (e, t, r = {}, n = {}) => Fe(`/public/document/${e}/answer`, t, { params: r, headers: n }),
28357
28373
  feedback: async (e, t, r = {}) => Fe(`/public/document/${e}/feedback`, t, { params: r })
28358
- }, PRe = {
28374
+ }, MRe = {
28359
28375
  get: async (e, t = {}) => _e(`/public/pdfJob/${e}`, { params: t }),
28360
28376
  addDocument: async (e, t = {}) => _e(`/public/document/${e}/pdfJob/start`, { params: t })
28361
28377
  }, df = {
@@ -28372,9 +28388,9 @@ const tre = async (e, t = {}) => _e("/project", e, { params: t }), rre = async (
28372
28388
  get: async (e, t = {}) => _e(`/public/company/${e}`, { params: t }),
28373
28389
  getCertificates: async (e, t = {}) => _e(`/public/company/${e}/certificates`, { params: t }),
28374
28390
  getReferences: async (e, t = {}) => _e(`/public/company/${e}/references`, { params: t })
28375
- }, MRe = {
28376
- get: async (e, t = {}) => _e(`${zi.baseUrl}/public/signature/${e}`, { params: t })
28377
28391
  }, DRe = {
28392
+ get: async (e, t = {}) => _e(`${zi.baseUrl}/public/signature/${e}`, { params: t })
28393
+ }, NRe = {
28378
28394
  post: async (e, t = {}) => Fe("/voucher", e, { params: t }),
28379
28395
  canUse: async (e, t = {}) => _e(`/voucher/${e}/canUse`, { params: t })
28380
28396
  }, n$ = {
@@ -30685,7 +30701,7 @@ const a$ = Te.rollbar.clientToken, iy = new ine({
30685
30701
  client: {
30686
30702
  javascript: {
30687
30703
  // eslint-disable-next-line
30688
- code_version: "0.9.24",
30704
+ code_version: "0.9.26",
30689
30705
  // Git SHA of the deployed code (from webpack plugin)
30690
30706
  source_map_enabled: !0,
30691
30707
  guess_uncaught_frames: !0
@@ -30863,7 +30879,7 @@ const E_ = new hne(), o$ = E_.handleError.bind(E_), Yr = te.observable({
30863
30879
  });
30864
30880
  const d = Yr.messages.slice(-1)[0];
30865
30881
  Yr.actions[d._uniqueId] = l;
30866
- }, NRe = (e, t) => l$({ type: e, message: t }), T_ = Yr;
30882
+ }, LRe = (e, t) => l$({ type: e, message: t }), T_ = Yr;
30867
30883
  function Kt(e, t, r, n, i, a, o, s) {
30868
30884
  var l = typeof e == "function" ? e.options : e;
30869
30885
  t && (l.render = t, l.staticRenderFns = r, l._compiled = !0), n && (l.functional = !0), a && (l._scopeId = "data-v-" + a);
@@ -34641,7 +34657,7 @@ function ege(e, t) {
34641
34657
  var eh = function(e) {
34642
34658
  var t = Object.assign({}, e.$props, e.$listeners);
34643
34659
  return ege(t, e);
34644
- }, LRe = {
34660
+ }, jRe = {
34645
34661
  name: "Container",
34646
34662
  mounted: function() {
34647
34663
  this.containerElement = this.$refs.container || this.$el, this.container = co.smoothDnD(this.containerElement, eh(this));
@@ -34700,7 +34716,7 @@ var eh = function(e) {
34700
34716
  Object.assign({}, r.props),
34701
34717
  t.$slots.default
34702
34718
  );
34703
- }, jRe = {
34719
+ }, FRe = {
34704
34720
  name: "Draggable",
34705
34721
  props: {
34706
34722
  tag: {
@@ -34885,7 +34901,7 @@ const hge = fge.exports, mge = {
34885
34901
  var gge = function() {
34886
34902
  var t = this, r = t._self._c;
34887
34903
  return r("div", t._l(t.mountingContainers, function(n) {
34888
- return r("MountingPortal", { key: n.key, attrs: { "mount-to": n.viewOpts.targetElement, name: n.viewOpts.name, append: !0 } }, [r("ShadowComponent", { attrs: { "slot-class": "Cling-shadow-component", id: n.key, "style-vars": t.styleVars } }, [r("ShadowStyle"), t.isProduction ? t._e() : r("link", { tag: "component", attrs: { rel: "stylesheet", href: "/dist/style.css" } }), r(n.viewOpts.component, t._b({ tag: "component", attrs: { "view-type": "mount" } }, "component", n.viewOpts.props, !1))], 1)], 1);
34904
+ return r("MountingPortal", { key: `${n.key}-${n.mode}-${n.view}`, attrs: { "mount-to": n.viewOpts.targetElement, name: n.viewOpts.name, append: !0 } }, [r("ShadowComponent", { attrs: { "slot-class": "Cling-shadow-component", id: `${n.key}-${n.mode}-${n.view}`, "style-vars": t.styleVars } }, [r("ShadowStyle"), t.isProduction ? t._e() : r("link", { tag: "component", attrs: { rel: "stylesheet", href: "/dist/style.css" } }), r(n.viewOpts.component, t._b({ tag: "component", attrs: { "view-type": "mount" } }, "component", n.viewOpts.props, !1))], 1)], 1);
34889
34905
  }), 1);
34890
34906
  }, vge = [], yge = /* @__PURE__ */ Kt(
34891
34907
  mge,
@@ -36844,7 +36860,7 @@ var Wve = wd(function(e, t, r, n) {
36844
36860
  }
36845
36861
  }, a;
36846
36862
  }, {});
36847
- }), FRe = function(t) {
36863
+ }), URe = function(t) {
36848
36864
  var r, n = t.getterType, i = t.mutationType;
36849
36865
  return r = {}, Sc(r, n, Nl), Sc(r, i, Uo), Sc(r, "mapFields", wd(function(a, o) {
36850
36866
  return Wve(a, o, n, i);
@@ -37918,7 +37934,7 @@ const Sye = new be.Entity("propertyDesignations");
37918
37934
  new be.Array(Sye);
37919
37935
  const Oye = new be.Entity("templateMessages");
37920
37936
  new be.Array(Oye);
37921
- const ms = "companies", { LOAD_FILE: URe, FORM_RESET_OLD: MT } = Ae, { SET_FORM: th } = Ee.forms, {
37937
+ const ms = "companies", { LOAD_FILE: VRe, FORM_RESET_OLD: MT } = Ae, { SET_FORM: th } = Ee.forms, {
37922
37938
  DO_LOAD_CURRENT_COMPANY: Oc,
37923
37939
  DO_NORMALIZE_COMPANIES: DT,
37924
37940
  DO_UPDATE_CURRENT_COMPANY: NT,
@@ -43775,7 +43791,7 @@ Sp.registerFilter("priceFormat", function(e) {
43775
43791
  const t = this.context.environments, { currency: r } = ((n = t == null ? void 0 : t.data) == null ? void 0 : n.prices) || {};
43776
43792
  return SW(e, { currency: r });
43777
43793
  });
43778
- const zRe = (e, t = {}, r = {}, n = {}) => {
43794
+ const HRe = (e, t = {}, r = {}, n = {}) => {
43779
43795
  const {
43780
43796
  prefix: i = "{{",
43781
43797
  suffix: a = "}}",
@@ -43791,7 +43807,7 @@ const zRe = (e, t = {}, r = {}, n = {}) => {
43791
43807
  return `<span class="mention" data-mention-id="${c}" data-tooltip="${d}">${u}</span>`;
43792
43808
  }
43793
43809
  ) : "";
43794
- }, HRe = (e) => typeof e != "string" ? "" : e.replace(
43810
+ }, WRe = (e) => typeof e != "string" ? "" : e.replace(
43795
43811
  new RegExp('<span class=("|"([^"]*))mention("|([^"]*)")(.*?)([^<]+).*?</span>', "g"),
43796
43812
  (t) => {
43797
43813
  let r = null;
@@ -43799,7 +43815,7 @@ const zRe = (e, t = {}, r = {}, n = {}) => {
43799
43815
  r = i;
43800
43816
  }), r ? `{{${r}}}` : t;
43801
43817
  }
43802
- ), WRe = (e, t, r = {}) => typeof e != "string" ? e : Sp.parseAndRenderSync(e, t), Q_e = (e, t = {}) => {
43818
+ ), GRe = (e, t, r = {}) => typeof e != "string" ? e : Sp.parseAndRenderSync(e, t), Q_e = (e, t = {}) => {
43803
43819
  if (typeof e != "string")
43804
43820
  return [];
43805
43821
  const {
@@ -52538,7 +52554,8 @@ const y2 = {
52538
52554
  statusArchive: '<path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M15 11l-3 3l-3 -3"></path><path d="M20 6.667v10.666a2.667 2.667 0 0 1 -2.667 2.667h-10.666a2.667 2.667 0 0 1 -2.667 -2.667v-10.666a2.667 2.667 0 0 1 2.667 -2.667h10.666a2.667 2.667 0 0 1 2.667 2.667z"></path>',
52539
52555
  statusExpired: '<path d="M12 21C14.3869 21 16.6761 20.0518 18.364 18.364C20.0518 16.6761 21 14.3869 21 12C21 9.61305 20.0518 7.32387 18.364 5.63604C16.6761 3.94821 14.3869 3 12 3C9.61305 3 7.32387 3.94821 5.63604 5.63604C3.94821 7.32387 3 9.61305 3 12C3 14.3869 3.94821 16.6761 5.63604 18.364C7.32387 20.0518 9.61305 21 12 21V21Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path stroke="none" d="M18 12.5405C17.8949 13.6778 17.4681 14.7615 16.7696 15.665C16.071 16.5685 15.1296 17.2544 14.0554 17.6424C12.9813 18.0304 11.8189 18.1044 10.7042 17.8559C9.5895 17.6073 8.56866 17.0465 7.7611 16.2389C6.95354 15.4313 6.39267 14.4105 6.14412 13.2958C5.89557 12.1811 5.96962 11.0187 6.35761 9.94457C6.74559 8.87043 7.43147 7.929 8.33497 7.23045C9.23848 6.53189 10.3222 6.10509 11.4595 6C10.7937 6.90076 10.4733 8.01056 10.5566 9.12758C10.6399 10.2446 11.1213 11.2946 11.9134 12.0866C12.7054 12.8787 13.7554 13.3601 14.8724 13.4434C15.9894 13.5267 17.0992 13.2063 18 12.5405Z" fill="currentColor"/>',
52540
52556
  statusVoided: '<path fill-rule="evenodd" clip-rule="evenodd" d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM6 11C5.44772 11 5 11.4477 5 12C5 12.5523 5.44772 13 6 13H18C18.5523 13 19 12.5523 19 12C19 11.4477 18.5523 11 18 11H6Z" fill="currentColor"/>',
52541
- moon: '<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>'
52557
+ moon: '<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>',
52558
+ admin: '<path d="M15 6.99989086C16.1045695 6.99989086 17 7.89532136 17 8.99989086L17 16.458686C17 17.1113133 16.6815784 17.722892 16.1469254 18.0971494L12 21 7.85307456 18.0971494C7.31842164 17.722892 7 17.1113133 7 16.458686L7 8.99989086C7 7.89532136 7.8954305 6.99989086 9 6.99989086 9.00005899 5.34308677 10.3431821 4 12 4 13.6568179 4 14.999941 5.34308677 15 6.99989086zM4 13L7 13"></path><polyline points="3 7 5 9 7 9"></polyline><polyline points="21 7 19 9 17 9"></polyline><polyline points="3 19 5 17 7 17"></polyline><polyline points="17 17 19 17 21 19 21 19"></polyline><path d="M17,13 L20,13"></path>'
52542
52559
  };
52543
52560
  const POe = {
52544
52561
  name: "BaseIcon",
@@ -56920,7 +56937,7 @@ const pP = ({
56920
56937
  ...u && { $ref: u }
56921
56938
  }
56922
56939
  });
56923
- }, fP = ({ set: e, validation: t, data: r = {} }) => t.forEach((n) => O5e({ ...n, data: r, set: e })), KRe = (e, t, r, n = !1) => {
56940
+ }, fP = ({ set: e, validation: t, data: r = {} }) => t.forEach((n) => O5e({ ...n, data: r, set: e })), YRe = (e, t, r, n = !1) => {
56924
56941
  if (!t)
56925
56942
  throw new Error("Missing param set");
56926
56943
  if (!e)
@@ -57928,7 +57945,7 @@ class aRe extends dP {
57928
57945
  },
57929
57946
  on: Be.on
57930
57947
  });
57931
- r && (this._document = r), Ve.state.publicDocuments || Ve.registerModule("publicDocuments", nRe);
57948
+ r && (this._document = r, this._unregisterListeners = {}), Ve.state.publicDocuments || Ve.registerModule("publicDocuments", nRe);
57932
57949
  }
57933
57950
  get storeMap() {
57934
57951
  return {
@@ -57944,6 +57961,22 @@ class aRe extends dP {
57944
57961
  if (this._document)
57945
57962
  return k5e(this._document._doc, r, n);
57946
57963
  }
57964
+ on(r, n) {
57965
+ if (!["answer"].includes(r))
57966
+ throw new Error(`Event ${r} not supported`);
57967
+ const i = super.on(`document:${r}`, (a, ...o) => {
57968
+ this.getProperty("id") === a.id && n(a, ...o);
57969
+ });
57970
+ return this._addUnregisterListener(r, i), i;
57971
+ }
57972
+ _addUnregisterListener(r, n) {
57973
+ this._unregisterListeners[r] = this._unregisterListeners[r] || [], this._unregisterListeners[r].push(n);
57974
+ }
57975
+ removeAllListeners() {
57976
+ Object.keys(this._unregisterListeners || {}).forEach((r) => {
57977
+ this._unregisterListeners[r].forEach((n) => n()), delete this._unregisterListeners[r];
57978
+ });
57979
+ }
57947
57980
  }
57948
57981
  class oRe {
57949
57982
  constructor() {
@@ -58045,134 +58078,135 @@ const sRe = {
58045
58078
  },
58046
58079
  ui: Be,
58047
58080
  ...sRe
58048
- }, JRe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
58081
+ }, ZRe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
58049
58082
  __proto__: null,
58050
58083
  default: lRe
58051
58084
  }, Symbol.toStringTag, { value: "Module" }));
58052
58085
  export {
58053
- VA as $,
58054
- FRe as A,
58086
+ Nte as $,
58087
+ URe as A,
58055
58088
  hRe as B,
58056
58089
  Ll as C,
58057
58090
  kt as D,
58058
58091
  k2 as E,
58059
- PRe as F,
58092
+ MRe as F,
58060
58093
  l$ as G,
58061
58094
  gRe as H,
58062
58095
  Ce as I,
58063
- NRe as J,
58064
- Mt as K,
58065
- k6 as L,
58066
- dRe as M,
58067
- JW as N,
58068
- oa as O,
58069
- vRe as P,
58070
- Qv as Q,
58071
- S2 as R,
58096
+ xRe as J,
58097
+ LRe as K,
58098
+ Mt as L,
58099
+ k6 as M,
58100
+ dRe as N,
58101
+ JW as O,
58102
+ oa as P,
58103
+ vRe as Q,
58104
+ Qv as R,
58072
58105
  wne as S,
58073
- cr as T,
58074
- px as U,
58106
+ S2 as T,
58107
+ cr as U,
58075
58108
  te as V,
58076
- Ze as W,
58077
- ne as X,
58078
- Gbe as Y,
58079
- Nte as Z,
58109
+ px as W,
58110
+ Ze as X,
58111
+ ne as Y,
58112
+ Gbe as Z,
58080
58113
  nn as _,
58081
58114
  v5 as a,
58082
- TRe as a$,
58083
- F0e as a0,
58084
- Hd as a1,
58085
- kB as a2,
58086
- nC as a3,
58087
- $l as a4,
58088
- L4 as a5,
58089
- mRe as a6,
58090
- Gu as a7,
58091
- Cs as a8,
58092
- hW as a9,
58093
- CRe as aA,
58094
- Cn as aB,
58095
- yr as aC,
58096
- ir as aD,
58097
- Xn as aE,
58098
- Eve as aF,
58099
- ARe as aG,
58100
- Ar as aH,
58101
- YW as aI,
58102
- SRe as aJ,
58103
- iye as aK,
58104
- Gp as aL,
58105
- DRe as aM,
58106
- ORe as aN,
58107
- LB as aO,
58108
- HTe as aP,
58109
- $R as aQ,
58110
- wTe as aR,
58111
- ETe as aS,
58112
- IR as aT,
58113
- gke as aU,
58114
- wRe as aV,
58115
- ta as aW,
58116
- aC as aX,
58117
- Nm as aY,
58118
- LRe as aZ,
58115
+ FRe as a$,
58116
+ VA as a0,
58117
+ F0e as a1,
58118
+ Hd as a2,
58119
+ kB as a3,
58120
+ nC as a4,
58121
+ $l as a5,
58122
+ L4 as a6,
58123
+ mRe as a7,
58124
+ Gu as a8,
58125
+ Cs as a9,
58126
+ IRe as aA,
58127
+ ARe as aB,
58128
+ Cn as aC,
58129
+ yr as aD,
58130
+ ir as aE,
58131
+ Xn as aF,
58132
+ Eve as aG,
58133
+ $Re as aH,
58134
+ Ar as aI,
58135
+ YW as aJ,
58136
+ ORe as aK,
58137
+ iye as aL,
58138
+ Gp as aM,
58139
+ NRe as aN,
58140
+ CRe as aO,
58141
+ LB as aP,
58142
+ HTe as aQ,
58143
+ $R as aR,
58144
+ wTe as aS,
58145
+ ETe as aT,
58146
+ IR as aU,
58147
+ gke as aV,
58148
+ wRe as aW,
58149
+ ta as aX,
58150
+ aC as aY,
58151
+ Nm as aZ,
58119
58152
  jRe as a_,
58120
- Rm as aa,
58121
- Bt as ab,
58122
- kw as ac,
58123
- GW as ad,
58124
- xRe as ae,
58125
- N4 as af,
58126
- bRe as ag,
58127
- Ya as ah,
58128
- yRe as ai,
58129
- oC as aj,
58130
- Q_e as ak,
58131
- Bs as al,
58132
- OW as am,
58133
- MRe as an,
58134
- ot as ao,
58135
- _Re as ap,
58136
- rne as aq,
58137
- Cb as ar,
58138
- pRe as as,
58139
- sb as at,
58140
- ze as au,
58141
- Gv as av,
58142
- dCe as aw,
58143
- gCe as ax,
58144
- Ci as ay,
58145
- $Re as az,
58153
+ hW as aa,
58154
+ Rm as ab,
58155
+ Bt as ac,
58156
+ kw as ad,
58157
+ GW as ae,
58158
+ kRe as af,
58159
+ N4 as ag,
58160
+ bRe as ah,
58161
+ Ya as ai,
58162
+ yRe as aj,
58163
+ oC as ak,
58164
+ Q_e as al,
58165
+ Bs as am,
58166
+ OW as an,
58167
+ DRe as ao,
58168
+ ot as ap,
58169
+ _Re as aq,
58170
+ rne as ar,
58171
+ Cb as as,
58172
+ pRe as at,
58173
+ sb as au,
58174
+ ze as av,
58175
+ Gv as aw,
58176
+ dCe as ax,
58177
+ gCe as ay,
58178
+ Ci as az,
58146
58179
  re as b,
58147
- Zn as b0,
58148
- ZIe as b1,
58149
- _5e as b2,
58150
- cP as b3,
58151
- aP as b4,
58152
- XCe as b5,
58153
- zb as b6,
58154
- m5e as b7,
58155
- uP as b8,
58156
- Wb as b9,
58157
- n5e as ba,
58158
- Es as bb,
58159
- RRe as bc,
58160
- Pm as bd,
58161
- ti as be,
58162
- fRe as bf,
58163
- er as bg,
58164
- IRe as bh,
58165
- I5e as bi,
58166
- D5e as bj,
58167
- C5e as bk,
58168
- KRe as bl,
58169
- Cd as bm,
58170
- KW as bn,
58171
- Ig as bo,
58172
- iEe as bp,
58173
- PEe as bq,
58174
- nu as br,
58175
- JRe as bs,
58180
+ TRe as b0,
58181
+ Zn as b1,
58182
+ ZIe as b2,
58183
+ _5e as b3,
58184
+ cP as b4,
58185
+ aP as b5,
58186
+ XCe as b6,
58187
+ zb as b7,
58188
+ m5e as b8,
58189
+ uP as b9,
58190
+ Wb as ba,
58191
+ n5e as bb,
58192
+ Es as bc,
58193
+ PRe as bd,
58194
+ Pm as be,
58195
+ ti as bf,
58196
+ fRe as bg,
58197
+ er as bh,
58198
+ RRe as bi,
58199
+ I5e as bj,
58200
+ D5e as bk,
58201
+ C5e as bl,
58202
+ YRe as bm,
58203
+ Cd as bn,
58204
+ KW as bo,
58205
+ Ig as bp,
58206
+ iEe as bq,
58207
+ PEe as br,
58208
+ nu as bs,
58209
+ ZRe as bt,
58176
58210
  Te as c,
58177
58211
  T2 as d,
58178
58212
  Vt as e,
@@ -58194,7 +58228,7 @@ export {
58194
58228
  SW as u,
58195
58229
  gt as v,
58196
58230
  Xbe as w,
58197
- zRe as x,
58198
- WRe as y,
58199
- HRe as z
58231
+ HRe as x,
58232
+ GRe as y,
58233
+ WRe as z
58200
58234
  };
@@ -1,4 +1,4 @@
1
- import { b as r } from "./main-b5eb6366.js";
1
+ import { b as r } from "./main-046afb6a.js";
2
2
  const f = (a = [], { event: o = "input", type: c = void 0, useEmit: d = !0, setFnName: l } = {}) => ({
3
3
  inheritAttrs: !1,
4
4
  props: {
@@ -1,4 +1,4 @@
1
- import { I as a, V as c } from "./main-b5eb6366.js";
1
+ import { I as a, V as c } from "./main-046afb6a.js";
2
2
  const e = JSON.parse(a.getItem("publicSender")), s = c.observable({
3
3
  company: {
4
4
  name: "",
@@ -1,4 +1,4 @@
1
- import { v as i } from "./main-b5eb6366.js";
1
+ import { v as i } from "./main-046afb6a.js";
2
2
  var _ = {
3
3
  name: "simplebar-vue",
4
4
  mounted: function() {