@cling-se/widget 0.9.25 → 0.9.27

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-b8390699.js → AddClientCallout-dd99d0d5.js} +5 -5
  2. package/dist/{AnswerModal-87be4c0b.js → AnswerModal-6afa03a5.js} +82 -70
  3. package/dist/{AttachmentItem-24ad77d3.js → AttachmentItem-f77592a9.js} +3 -3
  4. package/dist/{BaseDatePicker-5a89a264.js → BaseDatePicker-8a39d0c2.js} +1 -1
  5. package/dist/{BaseInput-f180db14.js → BaseInput-dbd3178b.js} +1 -1
  6. package/dist/{BaseUpload-529d21bb.js → BaseUpload-38ad6097.js} +2 -2
  7. package/dist/{BlockMedia-93ee8699.js → BlockMedia-843990e1.js} +1 -1
  8. package/dist/{CCallout-1c3a4b40.js → CCallout-c0f901a7.js} +2 -2
  9. package/dist/{CDropdownItem-109be2e2.js → CDropdownItem-fa88e012.js} +1 -1
  10. package/dist/{CField-d2390b15.js → CField-3a437b10.js} +1 -1
  11. package/dist/{CPhoneFormat-570a91d9.js → CPhoneFormat-a9139d94.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-49fcd521.js → CSlider.vue_vue_type_style_index_0_lang-76a4be84.js} +1 -1
  13. package/dist/{ClientAutocomplete-ee0b54d5.js → ClientAutocomplete-7cb8a2e1.js} +2 -2
  14. package/dist/{ClientModal-dc178083.js → ClientModal-26774205.js} +8 -8
  15. package/dist/{ColorPicker-94e3b1d4.js → ColorPicker-98baa7d4.js} +38 -38
  16. package/dist/{CompanyModal-6ef7dcdc.js → CompanyModal-897f5534.js} +3 -3
  17. package/dist/{ContentWrapper-95159ca6.js → ContentWrapper-e1e093b7.js} +13 -13
  18. package/dist/{CoverBlockSettings-647e6b18.js → CoverBlockSettings-97d062e1.js} +8 -8
  19. package/dist/{DocAnswer-299edc71.js → DocAnswer-a8c69056.js} +4 -4
  20. package/dist/{DocDetails-c740d0a6.js → DocDetails-f092d872.js} +4 -4
  21. package/dist/{DocForm-42c0c67c.js → DocForm-889f2750.js} +508 -487
  22. package/dist/{DocFormSend-1f9c446f.js → DocFormSend-58b44424.js} +18 -18
  23. package/dist/{DocLinks-2c63c0dc.js → DocLinks-1bdb3110.js} +2 -2
  24. package/dist/{DocModalBase-62c42e04.js → DocModalBase-afd069cd.js} +1 -1
  25. package/dist/{DocPrint-cea9de40.js → DocPrint-3ff914fd.js} +4 -2
  26. package/dist/{DocReceipt-61b17b52.js → DocReceipt-19de0274.js} +1 -1
  27. package/dist/{DocSendReminder-d69f4a3f.js → DocSendReminder-23716d0b.js} +1 -1
  28. package/dist/{DocTextEditor-e6008feb.js → DocTextEditor-6b614e43.js} +8 -8
  29. package/dist/{DocTimeline-480b7adf.js → DocTimeline-df7cb5f4.js} +3 -3
  30. package/dist/{DocumentClient-6e36a622.js → DocumentClient-61d7e50f.js} +7 -7
  31. package/dist/{DocumentLayout-81ae175c.js → DocumentLayout-86646c16.js} +143 -143
  32. package/dist/{DocumentLogotype-dea21bad.js → DocumentLogotype-14929724.js} +3 -3
  33. package/dist/{DocumentVoided-1b3a2ab5.js → DocumentVoided-a9d41411.js} +1 -1
  34. package/dist/{EmbedInput-fbbf12f1.js → EmbedInput-71fd2f2a.js} +2 -2
  35. package/dist/{EmbedSettings-1063c1e4.js → EmbedSettings-2254a7c3.js} +3 -3
  36. package/dist/{ErrorCallout-82e50910.js → ErrorCallout-b482d289.js} +1 -1
  37. package/dist/{FilePreviewModal-dc188de1.js → FilePreviewModal-1802c766.js} +5 -5
  38. package/dist/{HeaderSettings-663e5b4f.js → HeaderSettings-10cfcc90.js} +16 -16
  39. package/dist/{ImageSelectModal-a76f7e4b.js → ImageSelectModal-594227d6.js} +9 -9
  40. package/dist/{ImageUploadWrapper-1c6f0ae4.js → ImageUploadWrapper-452e463d.js} +12 -12
  41. package/dist/{Index-e63f7ce8.js → Index-0966b580.js} +8 -8
  42. package/dist/{Index-b1f07b87.js → Index-098078af.js} +2 -2
  43. package/dist/{Index-0428c10a.js → Index-0f8c36f0.js} +2 -2
  44. package/dist/{Index-0a6802ca.js → Index-17b82242.js} +16 -16
  45. package/dist/{Index-ad36c47b.js → Index-2131fa69.js} +4 -4
  46. package/dist/{Index-2c3b5b59.js → Index-225e8cef.js} +10 -10
  47. package/dist/{Index-f05733c2.js → Index-235cb5f0.js} +9 -9
  48. package/dist/{Index-12f4ded1.js → Index-2564d031.js} +5 -5
  49. package/dist/{Index-6fe85402.js → Index-2621d373.js} +4 -4
  50. package/dist/{Index-58ee00b1.js → Index-28ce2c21.js} +3 -3
  51. package/dist/{Index-ca9d1747.js → Index-2e9bbe9d.js} +4 -4
  52. package/dist/{Index-c0dd3309.js → Index-354b4c80.js} +2 -2
  53. package/dist/{Index-18c5bc6b.js → Index-3ee432f2.js} +6 -6
  54. package/dist/{Index-cb5b055d.js → Index-529ba57d.js} +2 -2
  55. package/dist/{Index-5fc2d521.js → Index-5736c4f7.js} +39 -39
  56. package/dist/{Index-4b1074d0.js → Index-5921d2de.js} +7 -7
  57. package/dist/{Index-3f3c03a0.js → Index-5d37606d.js} +14 -14
  58. package/dist/{Index-a7e8812e.js → Index-780a5e8f.js} +2 -2
  59. package/dist/{Index-cea034a9.js → Index-83ef778b.js} +4 -4
  60. package/dist/{Index-b457cd00.js → Index-84a484ed.js} +9 -9
  61. package/dist/{Index-c1b73537.js → Index-88854d18.js} +6 -6
  62. package/dist/{Index-f62acccc.js → Index-8fc860de.js} +6 -6
  63. package/dist/{Index-7c14fd96.js → Index-9fd01853.js} +4 -4
  64. package/dist/{Index-1914be9d.js → Index-a7b08aa1.js} +2 -2
  65. package/dist/{Index-5a61849b.js → Index-a8206849.js} +2 -2
  66. package/dist/{Index-98237ab3.js → Index-be92553f.js} +4 -4
  67. package/dist/{Index-90cc1544.js → Index-c1d06810.js} +7 -7
  68. package/dist/{Index-aea14240.js → Index-d036b1fb.js} +2 -2
  69. package/dist/{Index-ffedf35a.js → Index-d645b179.js} +4 -4
  70. package/dist/{Index-c2ded827.js → Index-dceaf93a.js} +4 -4
  71. package/dist/{Index-c1b546ad.js → Index-ddfe7813.js} +8 -8
  72. package/dist/{Index-f9bbee77.js → Index-e361a308.js} +1 -1
  73. package/dist/{Index-81c49dd8.js → Index-f1afee11.js} +4 -4
  74. package/dist/{Index-0078c287.js → Index-fe07902d.js} +1 -1
  75. package/dist/{InputToggleRow-176f3685.js → InputToggleRow-04cc08de.js} +1 -1
  76. package/dist/{IsPremiumPreStep-f3040c7a.js → IsPremiumPreStep-94901e25.js} +17 -17
  77. package/dist/{ManualPopover-b7c65a0c.js → ManualPopover-2fb96f78.js} +1 -1
  78. package/dist/{MediaWrapper-d1f91245.js → MediaWrapper-abd398c1.js} +3 -3
  79. package/dist/{NotBindingText-00d1b175.js → NotBindingText-92aa597b.js} +2 -2
  80. package/dist/{PackageGroup-89033998.js → PackageGroup-ea7e992f.js} +12 -12
  81. package/dist/{PdfTerms-0e214875.js → PdfTerms-aa7ad8cd.js} +5 -5
  82. package/dist/{PdfViewer-00d4de8d.js → PdfViewer-a0c897a2.js} +2 -2
  83. package/dist/{PlainHtml-00ce6fd0.js → PlainHtml-234e0e43.js} +1 -1
  84. package/dist/{PriceHeader-553f4ff0.js → PriceHeader-1b81d019.js} +13 -13
  85. package/dist/{SearchApi-e5cde5cf.js → SearchApi-953a1b13.js} +2 -2
  86. package/dist/{Setup-7f309cf0.js → Setup-7928d952.js} +1 -1
  87. package/dist/{TermsSettings-74d7c2d9.js → TermsSettings-d40ea3f3.js} +7 -7
  88. package/dist/{ThemeColorRow-0b7ad102.js → ThemeColorRow-0a8e8f1d.js} +3 -3
  89. package/dist/{ToggleBinding-33b62557.js → ToggleBinding-1d872e1c.js} +3 -3
  90. package/dist/{UploadModal-6f43c373.js → UploadModal-006e32ff.js} +3 -3
  91. package/dist/{VideoPlayerInput-81e64059.js → VideoPlayerInput-d2418095.js} +3 -3
  92. package/dist/{VideoPlayerSettings-f3445401.js → VideoPlayerSettings-d1fa2cde.js} +4 -4
  93. package/dist/{VideoSelectModal-736176ac.js → VideoSelectModal-84cc0824.js} +8 -8
  94. package/dist/{answerDocumentMixin-0b94b90e.js → answerDocumentMixin-a896581b.js} +3 -3
  95. package/dist/{debounce-9410d5d6.js → debounce-b30e6f76.js} +13 -13
  96. package/dist/{focusDrawerMixin-14a97cd3.js → focusDrawerMixin-8b4c70e5.js} +1 -1
  97. package/dist/{formComponentsInstall-6a61db21.js → formComponentsInstall-07c350b0.js} +12 -12
  98. package/dist/{formDrawerState-b23639bd.js → formDrawerState-e3da6074.js} +1 -1
  99. package/dist/{formValidationMixin-047668c3.js → formValidationMixin-05028cb3.js} +1 -1
  100. package/dist/{image-cd324ded.js → image-1b55e804.js} +1 -1
  101. package/dist/{index-22c9f370.js → index-3197309d.js} +2 -2
  102. package/dist/{index-3003bff6.js → index-71ec8e8e.js} +4 -4
  103. package/dist/{index-569793de.js → index-7300a7f5.js} +26 -21
  104. package/dist/{index-ad0c2be7.js → index-8a437f3d.js} +42 -42
  105. package/dist/{index-b937c6d2.js → index-a03d80b9.js} +9 -9
  106. package/dist/{index-a62beb97.js → index-fe840ba4.js} +5 -5
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +139 -139
  109. package/dist/{main-4f27b552.js → main-989855f4.js} +188 -149
  110. package/dist/{mapFormMixin-9f326a09.js → mapFormMixin-e6b8b5ef.js} +1 -1
  111. package/dist/{publicSenderState-ec8a9ad6.js → publicSenderState-4d6c69b4.js} +1 -1
  112. package/dist/{simplebar.min-c555666e.js → simplebar.min-1ce579b3.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{template-70f4518f.js → template-641a5e0d.js} +2 -2
  115. package/dist/{throttle-a0a6c1c7.js → throttle-440ddd80.js} +2 -2
  116. package/dist/{tinycolor-2fdfb0b3.js → tinycolor-f6c2d00e.js} +1 -1
  117. package/dist/{tippy.esm-e8cf7685.js → tippy.esm-75dfd42d.js} +45 -45
  118. package/dist/{utils-805171cf.js → utils-e1c6e4eb.js} +1 -1
  119. package/dist/{vuedraggable.umd-79e4b33e.js → vuedraggable.umd-909ba53a.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-42c0c67c.js"),
27584
+ component: () => import("./DocForm-889f2750.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-81ae175c.js").then((e) => e.c),
27596
+ component: () => import("./DocumentLayout-86646c16.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-1f9c446f.js"),
27609
+ component: () => import("./DocFormSend-58b44424.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-cea9de40.js"),
27621
+ component: () => import("./DocPrint-3ff914fd.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-d69f4a3f.js"),
27632
+ component: () => import("./DocSendReminder-23716d0b.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-480b7adf.js"),
27643
+ component: () => import("./DocTimeline-df7cb5f4.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-61b17b52.js"),
27653
+ component: () => import("./DocReceipt-19de0274.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-2c63c0dc.js"),
27663
+ component: () => import("./DocLinks-1bdb3110.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-6e36a622.js"),
27673
+ component: () => import("./DocumentClient-61d7e50f.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-7f309cf0.js"),
27685
+ component: () => import("./Setup-7928d952.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-299edc71.js"),
27697
+ component: () => import("./DocAnswer-a8c69056.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-c740d0a6.js"),
27708
+ component: () => import("./DocDetails-f092d872.js"),
27692
27709
  props: !0,
27693
27710
  meta: {
27694
27711
  mode: "drawer",
@@ -28229,7 +28246,7 @@ const Gte = (e, { renewToken: t }) => {
28229
28246
  // allow API to store cookie
28230
28247
  paramsSerializer: (d) => Hte(d)
28231
28248
  });
28232
- n.defaults.headers["X-CLIENT"] = "widget", n.defaults.headers["X-CLIENT-VERSION"] = "0.9.25";
28249
+ n.defaults.headers["X-CLIENT"] = "widget", n.defaults.headers["X-CLIENT-VERSION"] = "0.9.27";
28233
28250
  const i = async (d, p, h = null, f = {}) => {
28234
28251
  const m = p.startsWith("/public/"), g = Ce.getItem("token");
28235
28252
  switch (g && !m && (n.defaults.headers["X-TOKEN"] = g), d) {
@@ -28289,7 +28306,7 @@ const Qte = async (e) => {
28289
28306
  }, zi = {
28290
28307
  withCredentials: !0,
28291
28308
  baseUrl: Te.api.baseUrl
28292
- }, { 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({
28293
28310
  withCredentials: zi.withCredentials,
28294
28311
  baseUrl: zi.baseUrl,
28295
28312
  cache: Qte
@@ -28315,7 +28332,7 @@ const tre = async (e, t = {}) => _e("/project", e, { params: t }), rre = async (
28315
28332
  getConnectedUserAuth: async (e, t = {}) => _e(`/companyUser/self/connectedUsers/${e}/auth`, { params: t }),
28316
28333
  setConnectedUserDefault: async (e, t = {}) => kt(`/companyUser/self/connectedUsers/${e}/setDefaultAuth`, { params: t }),
28317
28334
  verifyEmail: async (e, t = {}) => Fe("/public/verifyEmail/companyUser", e, { params: t })
28318
- }, 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 = {
28319
28336
  product: async (e, t = {}) => Fe("/companyAccount/product", e, { params: t }),
28320
28337
  cancelAll: async (e = {}) => qt("/companyAccount/subscription", { params: e }),
28321
28338
  getPrices: async (e = {}) => _e("/companyAccount/price", { params: e }),
@@ -28345,16 +28362,16 @@ const tre = async (e, t = {}) => _e("/project", e, { params: t }), rre = async (
28345
28362
  put: async (e, t, r = {}) => kt(`/template/${e}`, t, { params: r }),
28346
28363
  delete: async (e, t = {}) => qt(`/template/${e}`, { params: t }),
28347
28364
  patch: async (e, t = {}) => on(`/template/${e}`, { params: t })
28348
- }, IRe = {
28349
- get: async (e = {}) => _e("/templateGallery", { params: e })
28350
28365
  }, RRe = {
28366
+ get: async (e = {}) => _e("/templateGallery", { params: e })
28367
+ }, PRe = {
28351
28368
  get: async (e, t = {}) => _e(`/public/templateStat/${e}`, { params: t })
28352
28369
  }, Bs = {
28353
28370
  get: async (e, t = {}) => _e(`/public/document/${e}`, { params: t }),
28354
28371
  put: async (e, t, r = {}) => kt(`/public/document/${e}`, t, { headers: r }),
28355
28372
  answer: async (e, t, r = {}, n = {}) => Fe(`/public/document/${e}/answer`, t, { params: r, headers: n }),
28356
28373
  feedback: async (e, t, r = {}) => Fe(`/public/document/${e}/feedback`, t, { params: r })
28357
- }, PRe = {
28374
+ }, MRe = {
28358
28375
  get: async (e, t = {}) => _e(`/public/pdfJob/${e}`, { params: t }),
28359
28376
  addDocument: async (e, t = {}) => _e(`/public/document/${e}/pdfJob/start`, { params: t })
28360
28377
  }, df = {
@@ -28371,9 +28388,9 @@ const tre = async (e, t = {}) => _e("/project", e, { params: t }), rre = async (
28371
28388
  get: async (e, t = {}) => _e(`/public/company/${e}`, { params: t }),
28372
28389
  getCertificates: async (e, t = {}) => _e(`/public/company/${e}/certificates`, { params: t }),
28373
28390
  getReferences: async (e, t = {}) => _e(`/public/company/${e}/references`, { params: t })
28374
- }, MRe = {
28375
- get: async (e, t = {}) => _e(`${zi.baseUrl}/public/signature/${e}`, { params: t })
28376
28391
  }, DRe = {
28392
+ get: async (e, t = {}) => _e(`${zi.baseUrl}/public/signature/${e}`, { params: t })
28393
+ }, NRe = {
28377
28394
  post: async (e, t = {}) => Fe("/voucher", e, { params: t }),
28378
28395
  canUse: async (e, t = {}) => _e(`/voucher/${e}/canUse`, { params: t })
28379
28396
  }, n$ = {
@@ -30684,7 +30701,7 @@ const a$ = Te.rollbar.clientToken, iy = new ine({
30684
30701
  client: {
30685
30702
  javascript: {
30686
30703
  // eslint-disable-next-line
30687
- code_version: "0.9.25",
30704
+ code_version: "0.9.27",
30688
30705
  // Git SHA of the deployed code (from webpack plugin)
30689
30706
  source_map_enabled: !0,
30690
30707
  guess_uncaught_frames: !0
@@ -30862,7 +30879,7 @@ const E_ = new hne(), o$ = E_.handleError.bind(E_), Yr = te.observable({
30862
30879
  });
30863
30880
  const d = Yr.messages.slice(-1)[0];
30864
30881
  Yr.actions[d._uniqueId] = l;
30865
- }, NRe = (e, t) => l$({ type: e, message: t }), T_ = Yr;
30882
+ }, LRe = (e, t) => l$({ type: e, message: t }), T_ = Yr;
30866
30883
  function Kt(e, t, r, n, i, a, o, s) {
30867
30884
  var l = typeof e == "function" ? e.options : e;
30868
30885
  t && (l.render = t, l.staticRenderFns = r, l._compiled = !0), n && (l.functional = !0), a && (l._scopeId = "data-v-" + a);
@@ -34640,7 +34657,7 @@ function ege(e, t) {
34640
34657
  var eh = function(e) {
34641
34658
  var t = Object.assign({}, e.$props, e.$listeners);
34642
34659
  return ege(t, e);
34643
- }, LRe = {
34660
+ }, jRe = {
34644
34661
  name: "Container",
34645
34662
  mounted: function() {
34646
34663
  this.containerElement = this.$refs.container || this.$el, this.container = co.smoothDnD(this.containerElement, eh(this));
@@ -34699,7 +34716,7 @@ var eh = function(e) {
34699
34716
  Object.assign({}, r.props),
34700
34717
  t.$slots.default
34701
34718
  );
34702
- }, jRe = {
34719
+ }, FRe = {
34703
34720
  name: "Draggable",
34704
34721
  props: {
34705
34722
  tag: {
@@ -36843,7 +36860,7 @@ var Wve = wd(function(e, t, r, n) {
36843
36860
  }
36844
36861
  }, a;
36845
36862
  }, {});
36846
- }), FRe = function(t) {
36863
+ }), URe = function(t) {
36847
36864
  var r, n = t.getterType, i = t.mutationType;
36848
36865
  return r = {}, Sc(r, n, Nl), Sc(r, i, Uo), Sc(r, "mapFields", wd(function(a, o) {
36849
36866
  return Wve(a, o, n, i);
@@ -37917,7 +37934,7 @@ const Sye = new be.Entity("propertyDesignations");
37917
37934
  new be.Array(Sye);
37918
37935
  const Oye = new be.Entity("templateMessages");
37919
37936
  new be.Array(Oye);
37920
- 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, {
37921
37938
  DO_LOAD_CURRENT_COMPANY: Oc,
37922
37939
  DO_NORMALIZE_COMPANIES: DT,
37923
37940
  DO_UPDATE_CURRENT_COMPANY: NT,
@@ -43774,7 +43791,7 @@ Sp.registerFilter("priceFormat", function(e) {
43774
43791
  const t = this.context.environments, { currency: r } = ((n = t == null ? void 0 : t.data) == null ? void 0 : n.prices) || {};
43775
43792
  return SW(e, { currency: r });
43776
43793
  });
43777
- const zRe = (e, t = {}, r = {}, n = {}) => {
43794
+ const HRe = (e, t = {}, r = {}, n = {}) => {
43778
43795
  const {
43779
43796
  prefix: i = "{{",
43780
43797
  suffix: a = "}}",
@@ -43790,7 +43807,7 @@ const zRe = (e, t = {}, r = {}, n = {}) => {
43790
43807
  return `<span class="mention" data-mention-id="${c}" data-tooltip="${d}">${u}</span>`;
43791
43808
  }
43792
43809
  ) : "";
43793
- }, HRe = (e) => typeof e != "string" ? "" : e.replace(
43810
+ }, WRe = (e) => typeof e != "string" ? "" : e.replace(
43794
43811
  new RegExp('<span class=("|"([^"]*))mention("|([^"]*)")(.*?)([^<]+).*?</span>', "g"),
43795
43812
  (t) => {
43796
43813
  let r = null;
@@ -43798,7 +43815,7 @@ const zRe = (e, t = {}, r = {}, n = {}) => {
43798
43815
  r = i;
43799
43816
  }), r ? `{{${r}}}` : t;
43800
43817
  }
43801
- ), 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 = {}) => {
43802
43819
  if (typeof e != "string")
43803
43820
  return [];
43804
43821
  const {
@@ -44949,7 +44966,7 @@ let Rg = class {
44949
44966
  */
44950
44967
  duplicate() {
44951
44968
  const t = this.clone();
44952
- return t.id = null, t._doc._id = null, t.deleteProperty("data.expiresAt"), t.deleteProperty("data.rejectReasons"), t.deleteProperty("company"), t.deleteProperty("companyUser"), t.deleteProperty("senderClient"), t.clients = t.clients.map((r) => Zn(r, ["id", "_id", "publicDocumentId", "answer"])), t.allArticles = t.allArticles.map((r) => Zn(r, ["id", "_id", "createdAt", "updatedAt", "deletedAt"])), t.resetReminders(), t.resetDefaultSelected(), t;
44969
+ return t.id = null, t._doc._id = null, t.deleteProperty("externalReferences"), t.deleteProperty("data.expiresAt"), t.deleteProperty("data.rejectReasons"), t.deleteProperty("company"), t.deleteProperty("companyUser"), t.deleteProperty("senderClient"), t.clients = t.clients.map((r) => Zn(r, ["id", "_id", "publicDocumentId", "answer"])), t.allArticles = t.allArticles.map((r) => Zn(r, ["id", "_id", "createdAt", "updatedAt", "deletedAt"])), t.resetReminders(), t.resetDefaultSelected(), t;
44953
44970
  }
44954
44971
  copyTemplateDocDefault({ keepClients: t = !1 } = {}) {
44955
44972
  const {
@@ -45520,7 +45537,11 @@ const TEe = {
45520
45537
  };
45521
45538
  } else if (o) {
45522
45539
  let y = ["default", "empty"].includes(o) ? new ti(Nx[o](f.language)) : this.getters["templates/byId"](o);
45523
- if (["offertaPdfTemplate", "onboardingTemplate"].includes(o)) {
45540
+ if ([
45541
+ "offertaSuggestionTemplate",
45542
+ "offertaPdfTemplate",
45543
+ "onboardingTemplate"
45544
+ ].includes(o)) {
45524
45545
  const { data: b } = await Ai.get(o);
45525
45546
  y = new ti(b);
45526
45547
  }
@@ -52537,7 +52558,8 @@ const y2 = {
52537
52558
  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>',
52538
52559
  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"/>',
52539
52560
  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"/>',
52540
- moon: '<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>'
52561
+ moon: '<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>',
52562
+ 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>'
52541
52563
  };
52542
52564
  const POe = {
52543
52565
  name: "BaseIcon",
@@ -56919,7 +56941,7 @@ const pP = ({
56919
56941
  ...u && { $ref: u }
56920
56942
  }
56921
56943
  });
56922
- }, fP = ({ set: e, validation: t, data: r = {} }) => t.forEach((n) => O5e({ ...n, data: r, set: e })), KRe = (e, t, r, n = !1) => {
56944
+ }, fP = ({ set: e, validation: t, data: r = {} }) => t.forEach((n) => O5e({ ...n, data: r, set: e })), YRe = (e, t, r, n = !1) => {
56923
56945
  if (!t)
56924
56946
  throw new Error("Missing param set");
56925
56947
  if (!e)
@@ -57927,7 +57949,7 @@ class aRe extends dP {
57927
57949
  },
57928
57950
  on: Be.on
57929
57951
  });
57930
- r && (this._document = r), Ve.state.publicDocuments || Ve.registerModule("publicDocuments", nRe);
57952
+ r && (this._document = r, this._unregisterListeners = {}), Ve.state.publicDocuments || Ve.registerModule("publicDocuments", nRe);
57931
57953
  }
57932
57954
  get storeMap() {
57933
57955
  return {
@@ -57943,6 +57965,22 @@ class aRe extends dP {
57943
57965
  if (this._document)
57944
57966
  return k5e(this._document._doc, r, n);
57945
57967
  }
57968
+ on(r, n) {
57969
+ if (!["answer"].includes(r))
57970
+ throw new Error(`Event ${r} not supported`);
57971
+ const i = super.on(`document:${r}`, (a, ...o) => {
57972
+ this.getProperty("id") === a.id && n(a, ...o);
57973
+ });
57974
+ return this._addUnregisterListener(r, i), i;
57975
+ }
57976
+ _addUnregisterListener(r, n) {
57977
+ this._unregisterListeners[r] = this._unregisterListeners[r] || [], this._unregisterListeners[r].push(n);
57978
+ }
57979
+ removeAllListeners() {
57980
+ Object.keys(this._unregisterListeners || {}).forEach((r) => {
57981
+ this._unregisterListeners[r].forEach((n) => n()), delete this._unregisterListeners[r];
57982
+ });
57983
+ }
57946
57984
  }
57947
57985
  class oRe {
57948
57986
  constructor() {
@@ -58044,134 +58082,135 @@ const sRe = {
58044
58082
  },
58045
58083
  ui: Be,
58046
58084
  ...sRe
58047
- }, JRe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
58085
+ }, ZRe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
58048
58086
  __proto__: null,
58049
58087
  default: lRe
58050
58088
  }, Symbol.toStringTag, { value: "Module" }));
58051
58089
  export {
58052
- VA as $,
58053
- FRe as A,
58090
+ Nte as $,
58091
+ URe as A,
58054
58092
  hRe as B,
58055
58093
  Ll as C,
58056
58094
  kt as D,
58057
58095
  k2 as E,
58058
- PRe as F,
58096
+ MRe as F,
58059
58097
  l$ as G,
58060
58098
  gRe as H,
58061
58099
  Ce as I,
58062
- NRe as J,
58063
- Mt as K,
58064
- k6 as L,
58065
- dRe as M,
58066
- JW as N,
58067
- oa as O,
58068
- vRe as P,
58069
- Qv as Q,
58070
- S2 as R,
58100
+ xRe as J,
58101
+ LRe as K,
58102
+ Mt as L,
58103
+ k6 as M,
58104
+ dRe as N,
58105
+ JW as O,
58106
+ oa as P,
58107
+ vRe as Q,
58108
+ Qv as R,
58071
58109
  wne as S,
58072
- cr as T,
58073
- px as U,
58110
+ S2 as T,
58111
+ cr as U,
58074
58112
  te as V,
58075
- Ze as W,
58076
- ne as X,
58077
- Gbe as Y,
58078
- Nte as Z,
58113
+ px as W,
58114
+ Ze as X,
58115
+ ne as Y,
58116
+ Gbe as Z,
58079
58117
  nn as _,
58080
58118
  v5 as a,
58081
- TRe as a$,
58082
- F0e as a0,
58083
- Hd as a1,
58084
- kB as a2,
58085
- nC as a3,
58086
- $l as a4,
58087
- L4 as a5,
58088
- mRe as a6,
58089
- Gu as a7,
58090
- Cs as a8,
58091
- hW as a9,
58092
- CRe as aA,
58093
- Cn as aB,
58094
- yr as aC,
58095
- ir as aD,
58096
- Xn as aE,
58097
- Eve as aF,
58098
- ARe as aG,
58099
- Ar as aH,
58100
- YW as aI,
58101
- SRe as aJ,
58102
- iye as aK,
58103
- Gp as aL,
58104
- DRe as aM,
58105
- ORe as aN,
58106
- LB as aO,
58107
- HTe as aP,
58108
- $R as aQ,
58109
- wTe as aR,
58110
- ETe as aS,
58111
- IR as aT,
58112
- gke as aU,
58113
- wRe as aV,
58114
- ta as aW,
58115
- aC as aX,
58116
- Nm as aY,
58117
- LRe as aZ,
58119
+ FRe as a$,
58120
+ VA as a0,
58121
+ F0e as a1,
58122
+ Hd as a2,
58123
+ kB as a3,
58124
+ nC as a4,
58125
+ $l as a5,
58126
+ L4 as a6,
58127
+ mRe as a7,
58128
+ Gu as a8,
58129
+ Cs as a9,
58130
+ IRe as aA,
58131
+ ARe as aB,
58132
+ Cn as aC,
58133
+ yr as aD,
58134
+ ir as aE,
58135
+ Xn as aF,
58136
+ Eve as aG,
58137
+ $Re as aH,
58138
+ Ar as aI,
58139
+ YW as aJ,
58140
+ ORe as aK,
58141
+ iye as aL,
58142
+ Gp as aM,
58143
+ NRe as aN,
58144
+ CRe as aO,
58145
+ LB as aP,
58146
+ HTe as aQ,
58147
+ $R as aR,
58148
+ wTe as aS,
58149
+ ETe as aT,
58150
+ IR as aU,
58151
+ gke as aV,
58152
+ wRe as aW,
58153
+ ta as aX,
58154
+ aC as aY,
58155
+ Nm as aZ,
58118
58156
  jRe as a_,
58119
- Rm as aa,
58120
- Bt as ab,
58121
- kw as ac,
58122
- GW as ad,
58123
- xRe as ae,
58124
- N4 as af,
58125
- bRe as ag,
58126
- Ya as ah,
58127
- yRe as ai,
58128
- oC as aj,
58129
- Q_e as ak,
58130
- Bs as al,
58131
- OW as am,
58132
- MRe as an,
58133
- ot as ao,
58134
- _Re as ap,
58135
- rne as aq,
58136
- Cb as ar,
58137
- pRe as as,
58138
- sb as at,
58139
- ze as au,
58140
- Gv as av,
58141
- dCe as aw,
58142
- gCe as ax,
58143
- Ci as ay,
58144
- $Re as az,
58157
+ hW as aa,
58158
+ Rm as ab,
58159
+ Bt as ac,
58160
+ kw as ad,
58161
+ GW as ae,
58162
+ kRe as af,
58163
+ N4 as ag,
58164
+ bRe as ah,
58165
+ Ya as ai,
58166
+ yRe as aj,
58167
+ oC as ak,
58168
+ Q_e as al,
58169
+ Bs as am,
58170
+ OW as an,
58171
+ DRe as ao,
58172
+ ot as ap,
58173
+ _Re as aq,
58174
+ rne as ar,
58175
+ Cb as as,
58176
+ pRe as at,
58177
+ sb as au,
58178
+ ze as av,
58179
+ Gv as aw,
58180
+ dCe as ax,
58181
+ gCe as ay,
58182
+ Ci as az,
58145
58183
  re as b,
58146
- Zn as b0,
58147
- ZIe as b1,
58148
- _5e as b2,
58149
- cP as b3,
58150
- aP as b4,
58151
- XCe as b5,
58152
- zb as b6,
58153
- m5e as b7,
58154
- uP as b8,
58155
- Wb as b9,
58156
- n5e as ba,
58157
- Es as bb,
58158
- RRe as bc,
58159
- Pm as bd,
58160
- ti as be,
58161
- fRe as bf,
58162
- er as bg,
58163
- IRe as bh,
58164
- I5e as bi,
58165
- D5e as bj,
58166
- C5e as bk,
58167
- KRe as bl,
58168
- Cd as bm,
58169
- KW as bn,
58170
- Ig as bo,
58171
- iEe as bp,
58172
- PEe as bq,
58173
- nu as br,
58174
- JRe as bs,
58184
+ TRe as b0,
58185
+ Zn as b1,
58186
+ ZIe as b2,
58187
+ _5e as b3,
58188
+ cP as b4,
58189
+ aP as b5,
58190
+ XCe as b6,
58191
+ zb as b7,
58192
+ m5e as b8,
58193
+ uP as b9,
58194
+ Wb as ba,
58195
+ n5e as bb,
58196
+ Es as bc,
58197
+ PRe as bd,
58198
+ Pm as be,
58199
+ ti as bf,
58200
+ fRe as bg,
58201
+ er as bh,
58202
+ RRe as bi,
58203
+ I5e as bj,
58204
+ D5e as bk,
58205
+ C5e as bl,
58206
+ YRe as bm,
58207
+ Cd as bn,
58208
+ KW as bo,
58209
+ Ig as bp,
58210
+ iEe as bq,
58211
+ PEe as br,
58212
+ nu as bs,
58213
+ ZRe as bt,
58175
58214
  Te as c,
58176
58215
  T2 as d,
58177
58216
  Vt as e,
@@ -58193,7 +58232,7 @@ export {
58193
58232
  SW as u,
58194
58233
  gt as v,
58195
58234
  Xbe as w,
58196
- zRe as x,
58197
- WRe as y,
58198
- HRe as z
58235
+ HRe as x,
58236
+ GRe as y,
58237
+ WRe as z
58199
58238
  };
@@ -1,4 +1,4 @@
1
- import { b as r } from "./main-4f27b552.js";
1
+ import { b as r } from "./main-989855f4.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-4f27b552.js";
1
+ import { I as a, V as c } from "./main-989855f4.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-4f27b552.js";
1
+ import { v as i } from "./main-989855f4.js";
2
2
  var _ = {
3
3
  name: "simplebar-vue",
4
4
  mounted: function() {