@cling-se/widget 0.13.5 → 0.14.2

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 (125) hide show
  1. package/dist/{AddClientCallout-P8T0R-6B.js → AddClientCallout-BP2ip0A4.js} +3 -3
  2. package/dist/{AnswerModal-BF-ZUpQ9.js → AnswerModal-C8i3ldB_.js} +4 -4
  3. package/dist/{AttachmentItem-DEC6rjGE.js → AttachmentItem-BrvrAMae.js} +2 -2
  4. package/dist/{BaseDatePicker-2uhuySby.js → BaseDatePicker-BSkAllLg.js} +556 -556
  5. package/dist/{BaseUpload-D1OS-EZ-.js → BaseUpload-J2v3G0-q.js} +14 -14
  6. package/dist/{BlockMedia-BFBeRtJx.js → BlockMedia-CAgKbN_k.js} +21 -17
  7. package/dist/{CCallout-CsQMsFZO.js → CCallout-D5Nk5DgN.js} +2 -2
  8. package/dist/CCurrencyDropdown-CGYQfYSD.js +246 -0
  9. package/dist/{CDropdownItem-BeK9wNHJ.js → CDropdownItem-DGES8E6l.js} +7 -5
  10. package/dist/{CField-TsZhnNrK.js → CFormField-CE4rV3cr.js} +66 -39
  11. package/dist/{CPhoneFormat-DPYhElZw.js → CPhoneFormat-DXPrTit9.js} +1 -1
  12. package/dist/CPriceInput-CYsf1n6T.js +112 -0
  13. package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +1 -0
  14. package/dist/{ClientAutocomplete-Ch2Z-VNr.js → ClientAutocomplete-DPgOfPg1.js} +2 -2
  15. package/dist/{ClientModal-rdb9TsyH.js → ClientModal-Dznh8Vvn.js} +44 -36
  16. package/dist/{ColorPicker-2gfbU60o.js → ColorPicker-CWQEE8VR.js} +1 -1
  17. package/dist/{CompanyModal-CNeySxNi.js → CompanyModal-CeZ3GgLu.js} +4 -4
  18. package/dist/{ContentWrapper-D27J_sCS.js → ContentWrapper-DW7VHTdA.js} +8 -8
  19. package/dist/{CoverBlockSettings-BfdJKrsq.js → CoverBlockSettings-DNSdXFgF.js} +5 -5
  20. package/dist/{DocAnswer-CyHASkhm.js → DocAnswer-CPttkKAJ.js} +2 -2
  21. package/dist/{DocDetails-8bM9dBxm.js → DocDetails-BCwWW_kM.js} +7 -7
  22. package/dist/{DocForm-CumvOHwl.js → DocForm-BPjC08Ic.js} +41 -39
  23. package/dist/{DocFormSend-CdoZy_Q2.js → DocFormSend-BaC8IJCu.js} +2 -2
  24. package/dist/{DocLinks-BJPADuvd.js → DocLinks-DN-S8MY_.js} +2 -2
  25. package/dist/{DocModalBase-Cd3zXvH_.js → DocModalBase-bFJp0T2Y.js} +1 -1
  26. package/dist/{DocPrint-Be4l2pra.js → DocPrint-Ci7Jyh-C.js} +20 -19
  27. package/dist/{DocReceipt-DmFjo26V.js → DocReceipt-BYlXr6eS.js} +6 -6
  28. package/dist/{DocSendReminder-CVxh_c7u.js → DocSendReminder-DFx4934a.js} +1 -1
  29. package/dist/{DocTextEditor-2jhWmmN2.js → DocTextEditor-idQMnlIF.js} +1086 -1057
  30. package/dist/{DocTimeline-Dvn690cI.js → DocTimeline-ZmGSVRUB.js} +1 -1
  31. package/dist/{DocumentClient-D3ESmMk1.js → DocumentClient-DTRlyvLO.js} +5 -5
  32. package/dist/{DocumentLayout-0-y6ChW3.js → DocumentLayout-BJAyNjNa.js} +9 -5
  33. package/dist/{DocumentLogotype-CHWEVOFb.js → DocumentLogotype-pDJRc6Hj.js} +3 -3
  34. package/dist/{DocumentVoided-CoJ6YorU.js → DocumentVoided-DfKewfe4.js} +1 -1
  35. package/dist/{EmbedInput-CGQJdLBd.js → EmbedInput-7hLNsnEV.js} +2 -2
  36. package/dist/{EmbedSettings-DRfM7EkF.js → EmbedSettings-CpL24RhA.js} +2 -2
  37. package/dist/{ErrorCallout-pRwrsMwI.js → ErrorCallout-CdJCe67q.js} +1 -1
  38. package/dist/{FilePreviewModal-4hJnwqeM.js → FilePreviewModal-B7qT3I7F.js} +2 -2
  39. package/dist/{Flag-CH9jX9p6.js → Flag-DwW19zju.js} +1 -1
  40. package/dist/{HeaderSettings-DESkxus6.js → HeaderSettings-C8SuuAwv.js} +7 -7
  41. package/dist/{ImageSelectModal-BczBg7pO.js → ImageSelectModal-CAOh3YHc.js} +3 -3
  42. package/dist/{ImageUploadWrapper-B7F5UzSa.js → ImageUploadWrapper-21yldsj9.js} +2 -2
  43. package/dist/{Index-Dj7XQrCX.js → Index-B0BgYtWI.js} +5 -5
  44. package/dist/{Index-DLX_14JW.js → Index-BC1AhlQ9.js} +6 -6
  45. package/dist/{Index-B77mpvaJ.js → Index-BZi6r2UN.js} +8 -8
  46. package/dist/{Index-CPXWFvtI.js → Index-BsD09y_2.js} +6 -6
  47. package/dist/{Index-DpZ0FVkb.js → Index-Bu9SdKLP.js} +1 -1
  48. package/dist/{Index-DRdhlnQI.js → Index-BvsqZh2A.js} +4 -4
  49. package/dist/{Index-Cb7AYMdp.js → Index-Bz4qd9uO.js} +5 -5
  50. package/dist/{Index-BkDT09xK.js → Index-C--GiPc1.js} +5 -5
  51. package/dist/{Index-D_21EWlr.js → Index-CC7qF0br.js} +4 -4
  52. package/dist/{Index-CgugegyD.js → Index-CGxOvTF4.js} +590 -694
  53. package/dist/{Index-C8Eykyfr.js → Index-CI7_ktvb.js} +5 -5
  54. package/dist/{Index-D_XxQTHL.js → Index-COJZmxkX.js} +4 -4
  55. package/dist/{Index-BztAYqwZ.js → Index-CObEQ6G-.js} +3 -3
  56. package/dist/{Index-Lwrlj4Uo.js → Index-CP2bsXd-.js} +11 -13
  57. package/dist/{Index-DM8XS-Lc.js → Index-CSvZBLnp.js} +3 -3
  58. package/dist/{Index-xVss9bbv.js → Index-Ci-hGBbC.js} +4 -4
  59. package/dist/{Index-CUYcsakk.js → Index-Ckzq1cEJ.js} +22 -18
  60. package/dist/{Index-euXfMzGE.js → Index-CoIh5y2F.js} +4 -4
  61. package/dist/{Index-Cs1C7d8_.js → Index-Couda8BX.js} +2 -2
  62. package/dist/{Index-BSApSN3a.js → Index-CvXt3dm6.js} +24 -24
  63. package/dist/{Index-CwOwQrDd.js → Index-D95MNzAZ.js} +4 -4
  64. package/dist/{Index-CRjdza18.js → Index-DB5EG4EI.js} +32 -30
  65. package/dist/{Index-COFOq65C.js → Index-DDvRihXA.js} +3 -3
  66. package/dist/{Index-BOIBgNgp.js → Index-DIAntwBs.js} +2 -2
  67. package/dist/{Index-BCBBrdDY.js → Index-DUdJNcDT.js} +4 -4
  68. package/dist/{Index-DAuSARq4.js → Index-DfANvO5d.js} +5 -5
  69. package/dist/{Index-DLwJlsSV.js → Index-Ds1Jv5Mr.js} +6 -6
  70. package/dist/{Index-CBRWEkz3.js → Index-FIWsRGmh.js} +12 -7
  71. package/dist/{Index-DXovv3-e.js → Index-M3b7S4YX.js} +4 -4
  72. package/dist/{Index-McJQllNy.js → Index-NoN1_539.js} +7 -7
  73. package/dist/{Index-BBWCdaFx.js → Index-UGFm4yxI.js} +14 -32
  74. package/dist/{Index-Dk7qSZaZ.js → Index-aCBe0dXx.js} +2 -2
  75. package/dist/{Index-BSizncA1.js → Index-kJFtpJEP.js} +2 -2
  76. package/dist/{Index-DxT6UrU3.js → Index-rQKoLISX.js} +2 -2
  77. package/dist/{InputToggleRow-BjSD0lth.js → InputToggleRow-Ct8rvqAF.js} +1 -1
  78. package/dist/{ManualPopover-CIouE65j.js → ManualPopover-B0vp9ydC.js} +1 -1
  79. package/dist/{MediaWrapper-DK2fsQP7.js → MediaWrapper-hmofOPLv.js} +3 -3
  80. package/dist/{NotBindingText-D1IUYEiC.js → NotBindingText-COpJPwHe.js} +2 -2
  81. package/dist/{PackageGroup-BImsltc7.js → PackageGroup-BdtslJL-.js} +5 -5
  82. package/dist/{PdfTerms-BzBvvuT6.js → PdfTerms-EDStBDhn.js} +2 -2
  83. package/dist/PdfViewer-D1_Roqu2.js +374 -0
  84. package/dist/{PlainHtml-J_nR1ibV.js → PlainHtml-C3JPvt4o.js} +1 -1
  85. package/dist/{PriceHeader-BZeaKOTy.js → PriceHeader-BdfozyN8.js} +7 -7
  86. package/dist/{SearchApi-Du-Lqo7R.js → SearchApi-CQtYh98a.js} +2 -2
  87. package/dist/{Setup-CtSIo_xU.js → Setup-DHHMT6xu.js} +1 -1
  88. package/dist/{CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-B85IuuQS.js → SmartList-BXeRj5NC.js} +1 -1
  89. package/dist/{TermsSettings-DDHrUB_S.js → TermsSettings-D1tDAu-r.js} +3 -3
  90. package/dist/{ThemeColorRow-BiRPYyj_.js → ThemeColorRow-HUN-QPY_.js} +3 -3
  91. package/dist/{ToggleBinding-Cvd9I0Dw.js → ToggleBinding-CRoVM6Nw.js} +3 -3
  92. package/dist/{UploadModal-ByJeM98S.js → UploadModal-BD3pIiPT.js} +2 -2
  93. package/dist/{VideoPlayerInput-C1PiFaBo.js → VideoPlayerInput-QFJfPoCf.js} +3 -3
  94. package/dist/{VideoPlayerSettings-C9vt7Twd.js → VideoPlayerSettings-CGq--niu.js} +2 -2
  95. package/dist/{VideoSelectModal-cEDZv03c.js → VideoSelectModal-B61rBqdH.js} +3 -3
  96. package/dist/{answerDocumentMixin-QbMot2bf.js → answerDocumentMixin-DiONfM1s.js} +3 -3
  97. package/dist/{debounce-CaZBFRFZ.js → debounce-BIchuVwa.js} +11 -11
  98. package/dist/dom-CJxkno7i.js +91 -0
  99. package/dist/{focusDrawerMixin-D-mqPE02.js → focusDrawerMixin-CzvgKsOZ.js} +1 -1
  100. package/dist/{formComponentsInstall-BdhIOhq5.js → formComponentsInstall-EQLbqYqI.js} +201 -231
  101. package/dist/{formDrawerState-CcDRv2mi.js → formDrawerState-CiKGHdNH.js} +1 -1
  102. package/dist/{formValidationMixin-sp3Q6-ER.js → formValidationMixin-5BVcxu38.js} +2 -2
  103. package/dist/{index-CJTuXpCD.js → index-BYTRIZIz.js} +1 -1
  104. package/dist/{index-DEWMCZz4.js → index-Be__C37A.js} +1 -1
  105. package/dist/{index-DuCwf2mg.js → index-CUydiL8B.js} +16 -16
  106. package/dist/{index-BjZuADtN.js → index-DH6SCEKQ.js} +13 -13
  107. package/dist/{index-BWmMho6V.js → index-gtVGRKIX.js} +9 -9
  108. package/dist/{index-BABEaO8N.js → index-tNIrTnCx.js} +35 -35
  109. package/dist/index.es.js +3 -3
  110. package/dist/index.umd.js +134 -142
  111. package/dist/{main-DQ6SH_E_.js → main-Bp2qcma0.js} +4209 -4198
  112. package/dist/{mapFormMixin-2SoyKxW2.js → mapFormMixin-Ce3_WIKw.js} +1 -1
  113. package/dist/omit-21u5fFMx.js +31 -0
  114. package/dist/{publicSenderState-CKGe1ejF.js → publicSenderState-BcN9kJJr.js} +1 -1
  115. package/dist/style.css +2 -2
  116. package/dist/{throttle-BeZ_TpQb.js → throttle-CfPxqhW_.js} +2 -2
  117. package/dist/{tinycolor-C3JU9Hqu.js → tinycolor-DNK6zGoq.js} +1 -1
  118. package/dist/tippy.esm-B5TcTBWX.js +1799 -0
  119. package/dist/{utils-D2JfcR6v.js → utils-GzwJPAEe.js} +1 -1
  120. package/dist/{omit-BjdTqooP.js → vuedraggable.umd-2pmrPYml.js} +497 -525
  121. package/package.json +1 -1
  122. package/dist/BaseInput-BtgFVDxx.js +0 -364
  123. package/dist/PdfViewer-Dq0Mc-WC.js +0 -247
  124. package/dist/dom-CPYqHOIw.js +0 -69
  125. package/dist/tippy.esm-DowQrfWM.js +0 -2039
@@ -1,55 +1,29 @@
1
- import { m } from "./mapFormMixin-2SoyKxW2.js";
2
- import { I as H, a as q, r as l } from "./index-DuCwf2mg.js";
3
- import { n as o, ay as j, az as v, h as K, b as c, aA as W, q as X, aB as I, aC as U, r as O, aD as T, f as P, aE as M, F as y } from "./main-DQ6SH_E_.js";
4
- import { B as R } from "./BaseDatePicker-2uhuySby.js";
5
- import { E as Q } from "./ErrorCallout-pRwrsMwI.js";
6
- import { s as Y, F as G } from "./Flag-CH9jX9p6.js";
7
- import { b as J, m as g } from "./vuex.esm-DKGl8mcw.js";
8
- import Z from "./AddClientCallout-P8T0R-6B.js";
9
- import ee from "./ClientModal-rdb9TsyH.js";
10
- import { c as te, r as ie, g as se, C as h, a as f, b as p } from "./CDropdownItem-BeK9wNHJ.js";
11
- import { S as ne } from "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-B85IuuQS.js";
12
- import { C as _ } from "./CCallout-CsQMsFZO.js";
13
- import { C as E } from "./CField-TsZhnNrK.js";
14
- const ae = {
15
- name: "CFormField",
16
- components: {
17
- CField: E
18
- },
19
- extends: j,
20
- computed: {
21
- type() {
22
- return this.hasErrors ? "is-danger" : this.isValid ? "is-success" : null;
23
- },
24
- customClass() {
25
- return this.hasErrors ? "text-red-500" : this.isValid ? "text-green-500" : null;
26
- }
27
- }
28
- };
29
- var re = function() {
30
- var e = this, i = e._self._c;
31
- return i("CField", e._b({ attrs: { label: e.label, "custom-class": e.customClass, type: e.type, message: e.firstErrorMessage } }, "CField", { ...e.$attrs, ...e.$props }, !1), [e._t("default")], 2);
32
- }, oe = [], le = /* @__PURE__ */ o(
33
- ae,
34
- re,
35
- oe,
36
- !1,
37
- null,
38
- null
39
- );
40
- const de = le.exports;
1
+ import { m } from "./mapFormMixin-Ce3_WIKw.js";
2
+ import { I as L, a as H, r as l } from "./index-CUydiL8B.js";
3
+ import { az as v, h as q, n as o, b as c, aA as j, t as K, aB as B, aC as W, q as I, aD as P, f as T, aE as R, J as y } from "./main-Bp2qcma0.js";
4
+ import { B as M } from "./BaseDatePicker-BSkAllLg.js";
5
+ import { E as X } from "./ErrorCallout-CdJCe67q.js";
6
+ import { s as U, F as Q } from "./Flag-DwW19zju.js";
7
+ import { b as Y, m as g } from "./vuex.esm-DKGl8mcw.js";
8
+ import G from "./AddClientCallout-BP2ip0A4.js";
9
+ import J from "./ClientModal-Dznh8Vvn.js";
10
+ import { c as Z, r as ee, g as te, C as h, a as f, b as p } from "./CDropdownItem-DGES8E6l.js";
11
+ import "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js";
12
+ import { C as _ } from "./CCallout-D5Nk5DgN.js";
13
+ import { a as ie, C as se } from "./CFormField-CE4rV3cr.js";
14
+ import { S as ne } from "./SmartList-BXeRj5NC.js";
41
15
  function z(t, e) {
42
16
  const i = new Date(t.getTime());
43
17
  return i.setDate(
44
18
  t.getDate() + (7 + e - t.getDay() - 1) % 7 + 1
45
19
  ), i.setHours(8, 0, 0, 0), i;
46
20
  }
47
- function N(t) {
21
+ function E(t) {
48
22
  const e = new Date(t.getTime());
49
23
  return e.setDate(e.getDate() + 1), e.setHours(10, 0, 0, 0), e;
50
24
  }
51
- let b = N(/* @__PURE__ */ new Date()), C = z(/* @__PURE__ */ new Date(), 1);
52
- const ce = {
25
+ let b = E(/* @__PURE__ */ new Date()), C = z(/* @__PURE__ */ new Date(), 1);
26
+ const ae = {
53
27
  name: "DocumentSendLater",
54
28
  i18nOptions: {
55
29
  namespaces: "documentSendLater",
@@ -75,7 +49,7 @@ const ce = {
75
49
  }
76
50
  },
77
51
  components: {
78
- BaseDatePicker: R
52
+ BaseDatePicker: M
79
53
  },
80
54
  props: {
81
55
  _document: {
@@ -110,7 +84,7 @@ const ce = {
110
84
  }
111
85
  },
112
86
  computed: {
113
- ...J("forms", {
87
+ ...Y("forms", {
114
88
  formData: (t) => t.document2.data
115
89
  }),
116
90
  ...g({
@@ -133,7 +107,7 @@ const ce = {
133
107
  }
134
108
  },
135
109
  created() {
136
- b = N(/* @__PURE__ */ new Date()), C = z(/* @__PURE__ */ new Date(), 1);
110
+ b = E(/* @__PURE__ */ new Date()), C = z(/* @__PURE__ */ new Date(), 1);
137
111
  },
138
112
  methods: {
139
113
  setTime(t) {
@@ -161,14 +135,14 @@ const ce = {
161
135
  ), s = i >= 0 ? `data.reminders[${i}]` : "data.reminders";
162
136
  this.setFormValue({ key: s, value: e }), await this.onSaveDocument({ doSend: !0 }), this.backupSentFlag = !1;
163
137
  } catch (e) {
164
- K(e);
138
+ q(e);
165
139
  } finally {
166
140
  this.backupSentFlag = !1;
167
141
  }
168
142
  }
169
143
  }
170
144
  };
171
- var ue = function() {
145
+ var re = function() {
172
146
  var e = this, i = e._self._c;
173
147
  return i("div", { staticClass: "overflow-hidden rounded-xl bg-white" }, [i("div", { staticClass: "px-6 pb-3 pt-8" }, [i("div", { staticClass: "text-md text-center font-semibold" }, [e._v(" " + e._s(e.$t("title")) + " ")]), i("div", { staticClass: "pt-8" }, e._l([
174
148
  [e.tomorrowMorning, "tomorrowMorning"],
@@ -177,18 +151,18 @@ var ue = function() {
177
151
  return i("div", { key: n, staticClass: "mb-4 flex cursor-pointer select-none items-center justify-between rounded-md border border-gray-200 bg-gray-50 p-4 text-sm hover:border-gray-300 hover:bg-gray-100 active:border-gray-400 active:bg-gray-200", on: { click: () => e.onSendAt(s[0]) } }, [i("div", { staticClass: "font-medium" }, [e._v(e._s(e.$t(s[1])))]), i("div", { staticClass: "text-gray-500" }, [e._v(" " + e._s(e.$formatDate(s[0], "p, d MMM")) + " ")])]);
178
152
  }), 0)]), i("div", { staticClass: "border-t border-gray-200 bg-gray-100 px-8 py-6", class: e.showCustom ? "" : "cursor-pointer hover:bg-gray-200", on: { click: function(s) {
179
153
  e.showCustom = !0;
180
- } } }, [i("div", { staticClass: "flex items-center text-sm" }, [i("CIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar", size: "18" } }), i("div", { staticClass: "font-medium", domProps: { textContent: e._s(e.$t("custom.title")) } })], 1), i("Animation", [i("div", { directives: [{ name: "show", rawName: "v-show", value: e.showCustom, expression: "showCustom" }], staticClass: "mt-4" }, [i("div", { staticClass: "grid grid-cols-2 gap-4" }, [i("BaseDatePicker", { attrs: { value: e.sendAt }, on: { input: e.setDate } }), i("CInput", { attrs: { value: e.$formatDate(e.sendAt, "HH:mm"), clearable: !1, type: "time" }, on: { input: e.setTime } })], 1), e.$v.$invalid ? i("div", { staticClass: "error-wrapper" }, [i("CIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar" } }), e._v(" " + e._s(e.$t("custom.invalid")) + " ")], 1) : e._e(), i("CButton", { staticStyle: { "margin-top": "calc(1.5 * var(--rem))" }, attrs: { loading: e.isPostingDocument, type: "secondary", wide: "" }, on: { click: function(s) {
154
+ } } }, [i("div", { staticClass: "flex items-center text-sm" }, [i("CIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar", size: "18" } }), i("div", { staticClass: "font-medium", domProps: { textContent: e._s(e.$t("custom.title")) } })], 1), i("Animation", [i("div", { directives: [{ name: "show", rawName: "v-show", value: e.showCustom, expression: "showCustom" }], staticClass: "mt-4" }, [i("div", { staticClass: "grid grid-cols-2 gap-4" }, [i("BaseDatePicker", { attrs: { value: e.sendAt }, on: { input: e.setDate } }), i("CInput", { attrs: { value: e.$formatDate(e.sendAt, "HH:mm"), type: "time" }, on: { input: e.setTime } })], 1), e.$v.$invalid ? i("div", { staticClass: "error-wrapper" }, [i("CIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar" } }), e._v(" " + e._s(e.$t("custom.invalid")) + " ")], 1) : e._e(), i("CButton", { staticStyle: { "margin-top": "calc(1.5 * var(--rem))" }, attrs: { loading: e.isPostingDocument, type: "secondary", wide: "" }, on: { click: function(s) {
181
155
  return e.onSendAt(e.sendAt);
182
156
  } } }, [e._v(" " + e._s(e.$t("_common:send")) + " " + e._s(e.$formatDate(e.sendAt, "d MMM - p")) + " ")])], 1)])], 1)]);
183
- }, me = [], pe = /* @__PURE__ */ o(
184
- ce,
185
- ue,
186
- me,
157
+ }, oe = [], le = /* @__PURE__ */ o(
158
+ ae,
159
+ re,
160
+ oe,
187
161
  !1,
188
162
  null,
189
- "799363f2"
163
+ "dcfae061"
190
164
  );
191
- const he = pe.exports, fe = {
165
+ const de = le.exports, ce = {
192
166
  sv: {
193
167
  title: "Skicka dokument",
194
168
  nameLabel: "Dokumentnamn",
@@ -255,7 +229,7 @@ const he = pe.exports, fe = {
255
229
  }
256
230
  }
257
231
  }
258
- }, ge = {
232
+ }, ue = {
259
233
  sv: {
260
234
  addFirstButton: "Lägg till mottagare",
261
235
  addButton: "Lägg till mottagare",
@@ -272,7 +246,7 @@ const he = pe.exports, fe = {
272
246
  tooltip: "Signing order lets you decide the order in which your recipients receive and sign your documents."
273
247
  }
274
248
  }
275
- }, ve = {
249
+ }, me = {
276
250
  name: "ClientSendListItem",
277
251
  props: {
278
252
  client: {
@@ -316,7 +290,7 @@ const he = pe.exports, fe = {
316
290
  }
317
291
  }
318
292
  };
319
- var ye = function() {
293
+ var pe = function() {
320
294
  var s;
321
295
  var e = this, i = e._self._c;
322
296
  return i("div", { staticClass: "rc-card flex items-center", class: {
@@ -343,15 +317,15 @@ var ye = function() {
343
317
  } } }, [i("CButton", { attrs: { slot: "trigger", circle: "", size: "small", type: "none", pattern: "secondary", raised: "", icon: "more-horizontal" }, slot: "trigger" }), e._t("dropdownOptions")], 2) : e.allowEditClients ? i("CButton", { staticStyle: { position: "absolute", right: "calc(0.5 * var(--rem))" }, attrs: { circle: "", size: "small", icon: "x", type: "none", pattern: "secondary", raised: "" }, on: { click: function(n) {
344
318
  return n.stopPropagation(), e.$emit("remove");
345
319
  } } }) : e._e()] : e._e()], 2) : e._e()], 2);
346
- }, _e = [], be = /* @__PURE__ */ o(
347
- ve,
348
- ye,
349
- _e,
320
+ }, he = [], fe = /* @__PURE__ */ o(
321
+ me,
322
+ pe,
323
+ he,
350
324
  !1,
351
325
  null,
352
326
  "47fa5bc0"
353
327
  );
354
- const L = be.exports, Ce = {
328
+ const N = fe.exports, ge = {
355
329
  name: "SenderBlockItem",
356
330
  i18nOptions: {
357
331
  namespaces: "senderBlockItem",
@@ -371,7 +345,7 @@ const L = be.exports, Ce = {
371
345
  }
372
346
  },
373
347
  components: {
374
- RecipientBlockItem: L
348
+ RecipientBlockItem: N
375
349
  },
376
350
  mixins: [
377
351
  m(["senderClient"], {
@@ -415,7 +389,7 @@ const L = be.exports, Ce = {
415
389
  "data.defaultAnswerMethod"
416
390
  );
417
391
  this.senderClientData = {
418
- ...W(),
392
+ ...j(),
419
393
  documentRole: "recipient",
420
394
  ...i && { answerMethod: i },
421
395
  ...this.senderClient,
@@ -442,7 +416,7 @@ const L = be.exports, Ce = {
442
416
  }
443
417
  }
444
418
  };
445
- var we = function() {
419
+ var ve = function() {
446
420
  var e = this, i = e._self._c;
447
421
  return e.senderClientData ? i("RecipientBlockItem", { staticClass: "first-of-group last-of-group", staticStyle: { display: "inline-flex", width: "auto", "padding-right": "2em", "min-width": "220px" }, attrs: { client: e.senderClientData, "right-button": e.allowSenderSign, "is-sender": !0 } }, [i("template", { slot: "dropdownOptions" }, [i("CDropdownItem", { attrs: { value: !!e.senderClient, "close-on-click": !1, toggle: "" }, on: { input: e.toggleSenderSign } }, [e._v(" " + e._s(e.$t("toggle.label")) + " ")]), e.senderClient ? [i("CDropdownItem", { attrs: { separator: "" } }), i("div", { staticClass: "text-gray-400", staticStyle: { "font-size": "13px", padding: "calc(0.5 * var(--rem)) 0 calc(0.25 * var(--rem))", "font-weight": "500" } }, [e._v(" " + e._s(e.$t("_common:signMethod.title")) + " ")]), e._l([
448
422
  "login",
@@ -453,24 +427,24 @@ var we = function() {
453
427
  return e.setSenderMethod(s);
454
428
  } } }, [e._v(" " + e._s(e.$t(`_common:signMethod.${s}`)) + " ")]);
455
429
  })] : i("div", { staticClass: "bg-gray-100 text-gray-700", staticStyle: { padding: "calc(0.5 * var(--rem))", margin: "calc(0.5 * var(--rem))", "font-size": "13px", "border-radius": "4px", "line-height": "1.25", "font-weight": "500" } }, [e._v(" " + e._s(e.$t("toggle.description")) + " ")])], 2)], 2) : e._e();
456
- }, xe = [], Se = /* @__PURE__ */ o(
457
- Ce,
458
- we,
459
- xe,
430
+ }, ye = [], _e = /* @__PURE__ */ o(
431
+ ge,
432
+ ve,
433
+ ye,
460
434
  !1,
461
435
  null,
462
436
  "dad49914"
463
437
  );
464
- const $e = Se.exports, ke = {
438
+ const be = _e.exports, Ce = {
465
439
  name: "RecipientBlock",
466
440
  i18nOptions: {
467
441
  namespaces: "recipientBlock",
468
- messages: ge
442
+ messages: ue
469
443
  },
470
444
  components: {
471
- AddClientCallout: Z,
472
- RecipientBlockItem: L,
473
- SenderBlockItem: $e
445
+ AddClientCallout: G,
446
+ RecipientBlockItem: N,
447
+ SenderBlockItem: be
474
448
  },
475
449
  mixins: [
476
450
  m(["clients"], {
@@ -520,7 +494,7 @@ const $e = Se.exports, ke = {
520
494
  },
521
495
  methods: {
522
496
  onMoveRecipient({ index: t, direction: e }) {
523
- this.clients = X(this.clients).set(
497
+ this.clients = K(this.clients).set(
524
498
  {
525
499
  ...this.clients[t],
526
500
  signOrder: Math.max(this.clients[t].signOrder + e, 0)
@@ -539,19 +513,21 @@ const $e = Se.exports, ke = {
539
513
  signOrder: i ? s.signOrder : n + 1
540
514
  }));
541
515
  } else
542
- e = c(this._document, "template.reminders", []), e.length || (e = I.default);
516
+ e = c(this._document, "template.reminders", []), e.length || (e = B.default);
543
517
  this.setFormValue({ key: "data.reminders", value: e }), this.setFormValue({ key: "useSignOrder", value: t });
544
518
  },
545
519
  removeClient(t) {
546
520
  this.removeFormValue(`clients[${t}]`);
547
521
  },
548
522
  openClientModal(t = 0) {
523
+ var i;
549
524
  const e = c(this, `clients[${t}].signOrder`);
550
- this.$modal.show(ee, {
525
+ this.$modal.show(J, {
551
526
  documentClientIndex: t,
552
527
  ...this.useSignOrder && {
553
- signOrder: U(e) === "number" ? e : this.maxSignOrder + 1
528
+ signOrder: W(e) === "number" ? e : this.maxSignOrder + 1
554
529
  },
530
+ signOptions: (i = this._document) == null ? void 0 : i.signOptions,
555
531
  setFormValue: this.setFormValue,
556
532
  removeFormValue: this.removeFormValue,
557
533
  isPublicForm: this.isPublicForm
@@ -562,7 +538,7 @@ const $e = Se.exports, ke = {
562
538
  }
563
539
  }
564
540
  };
565
- var De = function() {
541
+ var we = function() {
566
542
  var e = this, i = e._self._c;
567
543
  return i("div", [e.compact ? e._e() : [i("div", { staticClass: "pb-0.5 text-xs font-medium text-gray-900" }, [e._v(" " + e._s(e.$t("_common:from").capitalize()) + ": ")]), i("SenderBlockItem", { attrs: { _document: e._document, _value: { senderClient: "senderClient" }, "set-form-value": e.setFormValue, "default-add-sender-client": e.defaultAddSenderClient } })], i("div", { staticClass: "block-title flex pb-0.5 pt-2 text-xs text-gray-500", class: { "block-title__line": !e.compact } }, [e.compact ? e._e() : i("div", { staticClass: "font-medium text-gray-900" }, [e._v(" " + e._s(e.$t("_common:to").capitalize()) + ": ")]), e.clients && e.clients.length ? i("div", { staticClass: "ml-auto inline-flex items-center justify-end" }, [i("CIcon", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("signOrder.tooltip"), expression: "$t('signOrder.tooltip')" }], staticClass: "mr-1", attrs: { type: "info", size: "14" } }), i("div", { staticClass: "mr-2 font-medium" }, [e._v(" " + e._s(e.$t("signOrder.label")) + " ")]), i("CSwitch", { staticClass: "!mr-0", attrs: { value: e.useSignOrder, size: "tiny", type: "success" }, on: { input: e.toggleSignOrder } })], 1) : e._e()]), e.clients && e.clients.length ? [e.useSignOrder ? i("transition-group", { staticClass: "list-move", attrs: { name: "list-move" } }, [e._l(e.sortedClients, function(s, n) {
568
544
  return [n > 0 && s.signOrder !== e.sortedClients[n - 1].signOrder ? i("div", { key: n, staticClass: "h-2 pl-6" }, [i("div", { staticClass: "bg-primary-500 h-full w-0.5 rounded-sm" })]) : e._e(), i("div", { key: s._uniqueId, staticClass: "mb-0.5 mt-px" }, [i("RecipientBlockItem", { class: {
@@ -591,15 +567,15 @@ var De = function() {
591
567
  } } }, [e._v(" " + e._s(e.$t("addFirstButton")) + " ")]) : !e.compact && e.allowEditClients ? i("AddClientCallout", { attrs: { compact: !0 }, on: { add: function(s) {
592
568
  return e.openClientModal(e.clients.length);
593
569
  }, setClient: e.setClient } }) : e._e()], 2);
594
- }, Ve = [], Fe = /* @__PURE__ */ o(
595
- ke,
596
- De,
597
- Ve,
570
+ }, xe = [], Se = /* @__PURE__ */ o(
571
+ Ce,
572
+ we,
573
+ xe,
598
574
  !1,
599
575
  null,
600
- "d0782eac"
576
+ "51e072f2"
601
577
  );
602
- const Ae = Fe.exports, Be = {
578
+ const $e = Se.exports, ke = {
603
579
  name: "DocumentSendReminderItem",
604
580
  props: {
605
581
  label: {
@@ -616,22 +592,22 @@ const Ae = Fe.exports, Be = {
616
592
  }
617
593
  }
618
594
  };
619
- var Ie = function() {
595
+ var De = function() {
620
596
  var e = this, i = e._self._c;
621
597
  return i("div", { staticClass: "mb-4 flex min-h-[2.5em] select-none items-center rounded-md bg-gray-100 px-4 py-2 text-sm font-medium" }, [i("div", { staticClass: "mr-6 flex-auto select-none text-gray-700" }, [e._v(" " + e._s(e.label) + " ")]), i("div", { staticClass: "flex flex-nowrap items-center justify-center text-sm" }, [e.done ? i("span", { staticClass: "text-green-500" }, [i("CIcon", { attrs: { type: "check", size: "18" } }), e._v(" " + e._s(e.$t("sent")) + " ")], 1) : [i("CButton", { staticClass: "!h-6 !w-6 bg-white", attrs: { icon: "minus", size: "small", circle: "", raised: "" }, on: { click: function(s) {
622
598
  e.$emit("input", Math.max(e.value - 1, 0));
623
599
  } } }), i("div", { staticClass: "min-w-[8ch] py-4 text-center text-sm font-medium text-gray-800" }, [e.value ? [e._v(" " + e._s(e.$tc("day", { count: Number(e.value) })) + " ")] : i("span", { staticClass: "text-xs text-gray-500" }, [e._v(" " + e._s(e.$t("disabled").capitalize()) + " ")])], 2), i("CButton", { staticClass: "!h-6 !w-6 bg-white", attrs: { icon: "plus", size: "small", circle: "", raised: "" }, on: { click: function(s) {
624
600
  return e.$emit("input", e.value + 1);
625
601
  } } })]], 2)]);
626
- }, Oe = [], Te = /* @__PURE__ */ o(
627
- Be,
628
- Ie,
629
- Oe,
602
+ }, Ve = [], Fe = /* @__PURE__ */ o(
603
+ ke,
604
+ De,
605
+ Ve,
630
606
  !1,
631
607
  null,
632
608
  null
633
609
  );
634
- const Pe = Te.exports, Me = {
610
+ const Ae = Fe.exports, Oe = {
635
611
  name: "DocumentSendReminders",
636
612
  i18nOptions: {
637
613
  namespaces: "documentSendReminders",
@@ -651,7 +627,7 @@ const Pe = Te.exports, Me = {
651
627
  }
652
628
  },
653
629
  components: {
654
- DocumentSendReminderItem: Pe
630
+ DocumentSendReminderItem: Ae
655
631
  },
656
632
  mixins: [m()],
657
633
  props: {
@@ -696,7 +672,7 @@ const Pe = Te.exports, Me = {
696
672
  let s = this.getDefaultReminders().find(
697
673
  (n) => n.type === t
698
674
  );
699
- if (s || (s = I.default.find((n) => n.type === t)), !s)
675
+ if (s || (s = B.default.find((n) => n.type === t)), !s)
700
676
  throw new Error("Could not find default reminder");
701
677
  s[i] = e, this.setFormValue({ key: "data.reminders", value: s });
702
678
  return;
@@ -708,7 +684,7 @@ const Pe = Te.exports, Me = {
708
684
  }
709
685
  }
710
686
  };
711
- var Re = function() {
687
+ var Be = function() {
712
688
  var e = this, i = e._self._c;
713
689
  return i("div", { staticStyle: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(2 * var(--rem))", "font-size": "16px" } }, [i("div", { staticStyle: { "font-size": "1.25em", "font-weight": "700", "margin-bottom": "0.25em", "text-align": "center" } }, [e._v(" " + e._s(e.$t("_common:reminder_plural").capitalize()) + " ")]), i("div", { staticClass: "text-center text-gray-600", staticStyle: { "max-width": "calc(20 * var(--rem))", margin: "0 auto calc(2 * var(--rem)) auto" } }, [e._v(" " + e._s(e.$t("description")) + " ")]), e._l([
714
690
  { type: "notViewed", fallbackKey: "viewed" },
@@ -721,27 +697,27 @@ var Re = function() {
721
697
  }), i("div", { staticClass: "flex w-full items-center justify-center", staticStyle: { "margin-top": "calc(2.5 * var(--rem))" } }, [i("CButton", { attrs: { type: "secondary", expanded: "" }, on: { click: function(s) {
722
698
  return e.$emit("close");
723
699
  } } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 2);
724
- }, Ee = [], ze = /* @__PURE__ */ o(
725
- Me,
726
- Re,
727
- Ee,
700
+ }, Ie = [], Pe = /* @__PURE__ */ o(
701
+ Oe,
702
+ Be,
703
+ Ie,
728
704
  !1,
729
705
  null,
730
706
  null
731
707
  );
732
- const Ne = ze.exports, Le = {
708
+ const Te = Pe.exports, Re = {
733
709
  name: "SendForm",
734
710
  i18nOptions: {
735
711
  namespaces: "sendForm",
736
- messages: fe
712
+ messages: ce
737
713
  },
738
714
  components: {
739
- Simplebar: Y,
740
- BaseDatePicker: R,
741
- RecipientBlock: Ae,
742
- ErrorCallout: Q,
743
- IsPremiumPreStep: H,
744
- IsPremium: q
715
+ Simplebar: U,
716
+ BaseDatePicker: M,
717
+ RecipientBlock: $e,
718
+ ErrorCallout: X,
719
+ IsPremiumPreStep: L,
720
+ IsPremium: H
745
721
  },
746
722
  mixins: [
747
723
  m(
@@ -840,20 +816,12 @@ const Ne = ze.exports, Le = {
840
816
  return this.isManualDelivery ? !1 : this.clients.some((t) => !(t.email || t.cellphone));
841
817
  },
842
818
  signMethods() {
843
- return [
844
- ...this.feature("bankId") ? [
845
- {
846
- value: "bankId",
847
- title: this.$t("signMethod.bankId.title"),
848
- content: this.$t("signMethod.bankId.content")
849
- }
850
- ] : [],
851
- {
852
- value: "signature",
853
- title: this.$t("signMethod.signature.title"),
854
- content: this.$t("signMethod.signature.content")
855
- }
856
- ];
819
+ var t, e;
820
+ return ((e = (t = this._document.signOptions) == null ? void 0 : t.filter((i) => i !== "inPerson")) == null ? void 0 : e.map((i) => ({
821
+ value: i,
822
+ title: this.$t(`signMethod.${i}.title`),
823
+ content: this.$t(`signMethod.${i}.content`)
824
+ }))) || [];
857
825
  }
858
826
  },
859
827
  created() {
@@ -869,7 +837,10 @@ const Ne = ze.exports, Le = {
869
837
  });
870
838
  }
871
839
  }
872
- ((t = this.defaultAnswerMethod) == null ? void 0 : t.accept) === "button" && this.setAnswerMethod("signature", { ignoreChanges: !0 });
840
+ if (((t = this.defaultAnswerMethod) == null ? void 0 : t.accept) === "button") {
841
+ const [e] = this._document.signOptions || ["signature"];
842
+ this.setAnswerMethod(e, { ignoreChanges: !0 });
843
+ }
873
844
  },
874
845
  validations() {
875
846
  const t = {
@@ -920,7 +891,7 @@ const Ne = ze.exports, Le = {
920
891
  },
921
892
  openReminders() {
922
893
  this.useSignOrder || this.$modal.show(
923
- Ne,
894
+ Te,
924
895
  {
925
896
  _document: this._document,
926
897
  setFormValue: this.setFormValue,
@@ -936,7 +907,7 @@ const Ne = ze.exports, Le = {
936
907
  },
937
908
  openSendLater() {
938
909
  this.$v.$touch(), !this.$v.$invalid && this.$modal.show(
939
- he,
910
+ de,
940
911
  {
941
912
  _document: this._document,
942
913
  setFormValue: this.setFormValue,
@@ -962,7 +933,7 @@ const Ne = ze.exports, Le = {
962
933
  }
963
934
  }
964
935
  };
965
- var He = function() {
936
+ var Me = function() {
966
937
  var e = this, i = e._self._c;
967
938
  return i("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canUseBankId: s, canUseSms: n }) {
968
939
  var a;
@@ -1020,20 +991,20 @@ var He = function() {
1020
991
  } }], null, !0) })];
1021
992
  }), e._t("footer")], 2)], 1)];
1022
993
  } }], null, !0) });
1023
- }, qe = [], je = /* @__PURE__ */ o(
1024
- Le,
1025
- He,
1026
- qe,
994
+ }, ze = [], Ee = /* @__PURE__ */ o(
995
+ Re,
996
+ Me,
997
+ ze,
1027
998
  !1,
1028
999
  null,
1029
- "a160ead7"
1000
+ "8a4ea99d"
1030
1001
  );
1031
- const ri = je.exports, Ke = {
1002
+ const ii = Ee.exports, Ne = {
1032
1003
  name: "CAutocomplete",
1033
1004
  components: {
1034
- CInput: O
1005
+ CInput: I
1035
1006
  },
1036
- mixins: [T],
1007
+ mixins: [P],
1037
1008
  inheritAttrs: !1,
1038
1009
  props: {
1039
1010
  value: {
@@ -1202,13 +1173,13 @@ const ri = je.exports, Ke = {
1202
1173
  () => this.checkIfReachedTheEndOfScroll(t)
1203
1174
  );
1204
1175
  }
1205
- this.appendToBody && (this.$data._bodyEl = te(this.$refs.dropdown), this.updateAppendToBody());
1176
+ this.appendToBody && (this.$data._bodyEl = Z(this.$refs.dropdown), this.updateAppendToBody());
1206
1177
  },
1207
1178
  beforeDestroy() {
1208
1179
  typeof window < "u" && (document.removeEventListener("click", this.clickedOutside), this.dropdownPosition === "auto" && window.removeEventListener(
1209
1180
  "resize",
1210
1181
  this.calcDropdownInViewportVertical
1211
- )), this.checkInfiniteScroll && this.$refs.dropdown && this.$refs.dropdown.querySelector(".dropdown-content") && this.$refs.dropdown.querySelector(".dropdown-content").removeEventListener("scroll", this.checkIfReachedTheEndOfScroll), this.appendToBody && ie(this.$data._bodyEl);
1182
+ )), this.checkInfiniteScroll && this.$refs.dropdown && this.$refs.dropdown.querySelector(".dropdown-content") && this.$refs.dropdown.querySelector(".dropdown-content").removeEventListener("scroll", this.checkIfReachedTheEndOfScroll), this.appendToBody && ee(this.$data._bodyEl);
1212
1183
  },
1213
1184
  methods: {
1214
1185
  /**
@@ -1267,7 +1238,7 @@ const ri = je.exports, Ke = {
1267
1238
  */
1268
1239
  getValue(t) {
1269
1240
  if (t !== null)
1270
- return typeof this.customFormatter < "u" ? this.customFormatter(t) : typeof t == "object" ? se(t, this.field) : t;
1241
+ return typeof this.customFormatter < "u" ? this.customFormatter(t) : typeof t == "object" ? te(t, this.field) : t;
1271
1242
  },
1272
1243
  /**
1273
1244
  * Check if the scroll list inside the dropdown
@@ -1352,7 +1323,7 @@ const ri = je.exports, Ke = {
1352
1323
  }
1353
1324
  }
1354
1325
  };
1355
- var We = function() {
1326
+ var Le = function() {
1356
1327
  var e = this, i = e._self._c;
1357
1328
  return i("div", { staticClass: "autocomplete control", class: { "is-expanded": e.expanded } }, [i("CInput", e._b({ ref: "input", attrs: { size: e.size, loading: e.loading, rounded: e.rounded, icon: e.icon, "icon-right": e.newIconRight, "icon-right-clickable": e.newIconRightClickable, "icon-pack": e.iconPack, maxlength: e.maxlength, autocomplete: e.newAutocomplete, "use-html5-validation": !1, type: "text" }, on: { input: e.onInput, focus: e.focused, blur: e.onBlur, "icon-right-click": e.rightIconClick, "icon-click": (s) => e.$emit("icon-click", s) }, nativeOn: { keyup: function(s) {
1358
1329
  if (!s.type.indexOf("key") && e._k(s.keyCode, "esc", 27, s.key, ["Esc", "Escape"]))
@@ -1373,15 +1344,15 @@ var We = function() {
1373
1344
  return e.setSelected(s, void 0, a);
1374
1345
  } } }, [e.hasDefaultSlot ? e._t("default", null, { option: s, index: n }) : i("span", [e._v(" " + e._s(e.getValue(s, !0)) + " ")])], 2);
1375
1346
  }), e.data.length === 0 && e.hasEmptySlot ? i("div", { staticClass: "dropdown-item is-disabled" }, [e._t("empty")], 2) : e._e(), e.hasFooterSlot ? i("div", { staticClass: "dropdown-item" }, [e._t("footer")], 2) : e._e()], 2)])])], 1);
1376
- }, Xe = [], Ue = /* @__PURE__ */ o(
1377
- Ke,
1378
- We,
1379
- Xe,
1347
+ }, He = [], qe = /* @__PURE__ */ o(
1348
+ Ne,
1349
+ Le,
1350
+ He,
1380
1351
  !1,
1381
1352
  null,
1382
1353
  null
1383
1354
  );
1384
- const Qe = Ue.exports, Ye = {
1355
+ const je = qe.exports, Ke = {
1385
1356
  name: "CMessage",
1386
1357
  props: {
1387
1358
  type: {
@@ -1398,25 +1369,25 @@ const Qe = Ue.exports, Ye = {
1398
1369
  }
1399
1370
  }
1400
1371
  };
1401
- var Ge = function(e, i) {
1372
+ var We = function(e, i) {
1402
1373
  return e("div", { class: [i.data.class, i.data.staticClass], staticStyle: { padding: "0.75em 1em", display: "flex", "align-items": "flex-start", "border-radius": "0.6em", "background-color": "hsl(var(--gray-color-100) / 1)" }, style: { ...i.data.staticStyle } }, [e("div", { class: [`has-background-${i.props.type}`], staticStyle: { display: "inline-block", padding: "0.5em", "border-radius": "0.45em", "font-weight": "700", color: "white", "line-height": "1", "font-size": "12px", "margin-right": "1.25em" } }, [i._v(" " + i._s(i.props.badge || i.parent.$t("components:cling.message.tip")) + " ")]), e("div", { staticStyle: { color: "hsl(0, 0%, 25%)" } }, [i.props.text ? [i._v(" " + i._s(i.props.text) + " ")] : i._e(), i._t("default")], 2)]);
1403
- }, Je = [], Ze = /* @__PURE__ */ o(
1404
- Ye,
1405
- Ge,
1406
- Je,
1374
+ }, Xe = [], Ue = /* @__PURE__ */ o(
1375
+ Ke,
1376
+ We,
1377
+ Xe,
1407
1378
  !0,
1408
1379
  null,
1409
1380
  "9be3b227"
1410
1381
  );
1411
- const w = Ze.exports, et = {
1382
+ const w = Ue.exports, Qe = {
1412
1383
  name: "CPhoneInput",
1413
1384
  components: {
1414
- Flag: G,
1415
- CInput: O,
1385
+ Flag: Q,
1386
+ CInput: I,
1416
1387
  CDropdown: h,
1417
1388
  CDropdownItem: f,
1418
- CButton: P,
1419
- CField: E,
1389
+ CButton: T,
1390
+ CField: ie,
1420
1391
  SmartList: ne
1421
1392
  },
1422
1393
  props: {
@@ -1509,7 +1480,7 @@ const w = Ze.exports, et = {
1509
1480
  }
1510
1481
  }
1511
1482
  };
1512
- var tt = function() {
1483
+ var Ye = function() {
1513
1484
  var e = this, i = e._self._c;
1514
1485
  return i("CField", { staticClass: "has-addons", attrs: { expanded: "" } }, [i("div", { staticClass: "control" }, [i("SmartList", { attrs: { query: e.searchQuery, items: e.sortedRegions }, scopedSlots: e._u([{ key: "default", fn: function({ items: s }) {
1515
1486
  return [i("CDropdown", { staticClass: "control", staticStyle: { height: "100%" }, attrs: { size: e.$attrs.size, disabled: e.$attrs.disabled, "menu-styling": {
@@ -1524,19 +1495,19 @@ var tt = function() {
1524
1495
  } }]) })], 1), i("CField", { staticClass: "control", attrs: { label: e.label, "label-position": e.labelPosition, expanded: "" } }, [i("CInput", e._b({ attrs: { size: e.$attrs.size, placeholder: e.$attrs.placeholder, type: "tel" }, model: { value: e.phone, callback: function(s) {
1525
1496
  e.phone = s;
1526
1497
  }, expression: "phone" } }, "CInput", { ...e.$attrs, ...e.$props }, !1))], 1)], 1);
1527
- }, it = [], st = /* @__PURE__ */ o(
1528
- et,
1529
- tt,
1530
- it,
1498
+ }, Ge = [], Je = /* @__PURE__ */ o(
1499
+ Qe,
1500
+ Ye,
1501
+ Ge,
1531
1502
  !1,
1532
1503
  null,
1533
1504
  null
1534
1505
  );
1535
- const x = st.exports, nt = {
1506
+ const x = Je.exports, Ze = {
1536
1507
  name: "CRadio",
1537
- mixins: [M]
1508
+ mixins: [R]
1538
1509
  };
1539
- var at = function() {
1510
+ var et = function() {
1540
1511
  var e = this, i = e._self._c;
1541
1512
  return i("label", { ref: "label", staticClass: "b-radio radio", class: [`is-${e.size}`, { "is-disabled": e.disabled }], attrs: { disabled: e.disabled }, on: { click: e.focus, keydown: function(s) {
1542
1513
  return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : (s.preventDefault(), e.$refs.label.click());
@@ -1545,20 +1516,20 @@ var at = function() {
1545
1516
  }, change: function(s) {
1546
1517
  e.computedValue = e.nativeValue;
1547
1518
  } } }), i("span", { staticClass: "check", class: `is-${e.type}` }), i("span", { staticClass: "control-label" }, [e._t("default")], 2)]);
1548
- }, rt = [], ot = /* @__PURE__ */ o(
1549
- nt,
1550
- at,
1551
- rt,
1519
+ }, tt = [], it = /* @__PURE__ */ o(
1520
+ Ze,
1521
+ et,
1522
+ tt,
1552
1523
  !1,
1553
1524
  null,
1554
1525
  null
1555
1526
  );
1556
- const S = ot.exports, lt = {
1527
+ const S = it.exports, st = {
1557
1528
  name: "CRadioButton",
1558
1529
  components: {
1559
- CButton: P
1530
+ CButton: T
1560
1531
  },
1561
- mixins: [M],
1532
+ mixins: [R],
1562
1533
  props: {
1563
1534
  type: {
1564
1535
  type: String,
@@ -1572,7 +1543,7 @@ const S = ot.exports, lt = {
1572
1543
  };
1573
1544
  }
1574
1545
  };
1575
- var dt = function() {
1546
+ var nt = function() {
1576
1547
  var e = this, i = e._self._c;
1577
1548
  return i("div", { staticClass: "control", class: { "is-expanded": e.expanded } }, [i("CButton", { ref: "label", staticClass: "c-radio radio button", class: [{ "is-disabled": e.disabled, "is-focused": e.isFocused }], attrs: { tag: "label", type: e.newValue === e.nativeValue ? e.type : null, size: e.size, disabled: e.disabled }, on: { click: e.focus, keydown: function(s) {
1578
1549
  return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : (s.preventDefault(), e.$refs.$el.label.click());
@@ -1585,17 +1556,17 @@ var dt = function() {
1585
1556
  }, change: function(s) {
1586
1557
  e.computedValue = e.nativeValue;
1587
1558
  } } })], 2)], 1);
1588
- }, ct = [], ut = /* @__PURE__ */ o(
1589
- lt,
1590
- dt,
1591
- ct,
1559
+ }, at = [], rt = /* @__PURE__ */ o(
1560
+ st,
1561
+ nt,
1562
+ at,
1592
1563
  !1,
1593
1564
  null,
1594
1565
  null
1595
1566
  );
1596
- const $ = ut.exports, mt = {
1567
+ const $ = rt.exports, ot = {
1597
1568
  name: "CSelect",
1598
- mixins: [T],
1569
+ mixins: [P],
1599
1570
  inheritAttrs: !1,
1600
1571
  props: {
1601
1572
  value: {
@@ -1656,7 +1627,7 @@ const $ = ut.exports, mt = {
1656
1627
  }
1657
1628
  }
1658
1629
  };
1659
- var pt = function() {
1630
+ var lt = function() {
1660
1631
  var e = this, i = e._self._c;
1661
1632
  return i("div", { staticClass: "control", class: { "is-expanded": e.expanded, "has-icons-left": e.icon } }, [i("span", { staticClass: "select", class: e.spanClasses }, [i("select", e._b({ directives: [{ name: "model", rawName: "v-model", value: e.computedValue, expression: "computedValue" }], ref: "select", class: e.selectClass, attrs: { multiple: e.multiple, size: e.nativeSize }, on: { blur: function(s) {
1662
1633
  e.$emit("blur", s) && e.checkHtml5Validity();
@@ -1671,15 +1642,15 @@ var pt = function() {
1671
1642
  });
1672
1643
  e.computedValue = s.target.multiple ? n : n[0];
1673
1644
  } } }, "select", e.$attrs, !1), [e.placeholder && e.computedValue == null ? i("option", { attrs: { disabled: "", hidden: "" }, domProps: { value: null } }, [e._v(" " + e._s(e.placeholder) + " ")]) : e._e(), e._t("default")], 2)])]);
1674
- }, ht = [], ft = /* @__PURE__ */ o(
1675
- mt,
1676
- pt,
1677
- ht,
1645
+ }, dt = [], ct = /* @__PURE__ */ o(
1646
+ ot,
1647
+ lt,
1648
+ dt,
1678
1649
  !1,
1679
1650
  null,
1680
1651
  "23e48013"
1681
1652
  );
1682
- const k = ft.exports, gt = {
1653
+ const k = ct.exports, ut = {
1683
1654
  name: "CSkeleton",
1684
1655
  functional: !0,
1685
1656
  props: {
@@ -1745,16 +1716,16 @@ const k = ft.exports, gt = {
1745
1716
  i
1746
1717
  );
1747
1718
  }
1748
- }, vt = null, yt = null;
1749
- var _t = /* @__PURE__ */ o(
1750
- gt,
1751
- vt,
1752
- yt,
1719
+ }, mt = null, pt = null;
1720
+ var ht = /* @__PURE__ */ o(
1721
+ ut,
1722
+ mt,
1723
+ pt,
1753
1724
  !1,
1754
1725
  null,
1755
1726
  null
1756
1727
  );
1757
- const D = _t.exports, bt = {
1728
+ const D = ht.exports, ft = {
1758
1729
  name: "CSliderThumb",
1759
1730
  inheritAttrs: !1,
1760
1731
  props: {
@@ -1856,7 +1827,7 @@ const D = _t.exports, bt = {
1856
1827
  }
1857
1828
  }
1858
1829
  };
1859
- var Ct = function() {
1830
+ var gt = function() {
1860
1831
  var e = this, i = e._self._c;
1861
1832
  return i("div", { staticClass: "c-slider-thumb-wrapper", class: { "is-dragging": e.dragging }, style: e.wrapperStyle }, [i("div", e._b({ staticClass: "c-slider-thumb", attrs: { tabindex: e.disabled ? !1 : 0 }, on: { mousedown: e.onButtonDown, touchstart: e.onButtonDown, focus: e.onFocus, blur: e.onBlur, keydown: [function(s) {
1862
1833
  return !s.type.indexOf("key") && e._k(s.keyCode, "left", 37, s.key, ["Left", "ArrowLeft"]) || "button" in s && s.button !== 0 ? null : (s.preventDefault(), e.onLeftKeyDown.apply(null, arguments));
@@ -1871,15 +1842,15 @@ var Ct = function() {
1871
1842
  }, function(s) {
1872
1843
  return !s.type.indexOf("key") && e._k(s.keyCode, "end", void 0, s.key, void 0) ? null : (s.preventDefault(), e.onEndKeyDown.apply(null, arguments));
1873
1844
  }] } }, "div", e.$attrs, !1))]);
1874
- }, wt = [], xt = /* @__PURE__ */ o(
1875
- bt,
1876
- Ct,
1877
- wt,
1845
+ }, vt = [], yt = /* @__PURE__ */ o(
1846
+ ft,
1847
+ gt,
1848
+ vt,
1878
1849
  !1,
1879
1850
  null,
1880
1851
  null
1881
1852
  );
1882
- const St = xt.exports, $t = {
1853
+ const _t = yt.exports, bt = {
1883
1854
  name: "CSliderTick",
1884
1855
  props: {
1885
1856
  value: {
@@ -1906,22 +1877,22 @@ const St = xt.exports, $t = {
1906
1877
  }
1907
1878
  }
1908
1879
  };
1909
- var kt = function() {
1880
+ var Ct = function() {
1910
1881
  var e = this, i = e._self._c;
1911
1882
  return i("div", { staticClass: "c-slider-tick", class: { "is-tick-hidden": e.hidden }, style: e.getTickStyle(e.position) }, [e.$slots.default ? i("span", { staticClass: "c-slider-tick-label" }, [e._t("default")], 2) : e._e()]);
1912
- }, Dt = [], Vt = /* @__PURE__ */ o(
1913
- $t,
1914
- kt,
1915
- Dt,
1883
+ }, wt = [], xt = /* @__PURE__ */ o(
1884
+ bt,
1885
+ Ct,
1886
+ wt,
1916
1887
  !1,
1917
1888
  null,
1918
1889
  null
1919
1890
  );
1920
- const Ft = Vt.exports, At = {
1891
+ const St = xt.exports, $t = {
1921
1892
  name: "CSlider",
1922
1893
  components: {
1923
- CSliderThumb: St,
1924
- CSliderTick: Ft
1894
+ CSliderThumb: _t,
1895
+ CSliderTick: St
1925
1896
  },
1926
1897
  props: {
1927
1898
  value: {
@@ -2118,7 +2089,7 @@ const Ft = Vt.exports, At = {
2118
2089
  }
2119
2090
  }
2120
2091
  };
2121
- var Bt = function() {
2092
+ var kt = function() {
2122
2093
  var e = this, i = e._self._c;
2123
2094
  return i("div", { staticClass: "c-slider", class: [`is-${e.size}`, `is-${e.type}`, e.rootClasses], on: { click: e.onSliderClick } }, [i("div", { ref: "slider", staticClass: "c-slider-track" }, [i("div", { staticClass: "c-slider-fill", style: e.barStyle }), e.ticks ? e._l(e.tickValues, function(s, n) {
2124
2095
  return i("CSliderTick", { key: n, attrs: { value: s } });
@@ -2127,15 +2098,15 @@ var Bt = function() {
2127
2098
  }, expression: "value1" } }), e.isRange ? i("CSliderThumb", { ref: "button2", attrs: { type: e.newTooltipType, tooltip: e.tooltip, "custom-formatter": e.customFormatter, "aria-valuenow": e.value2, "aria-valuemin": e.min, "aria-valuemax": e.max, "aria-label": Array.isArray(e.ariaLabel) ? e.ariaLabel[1] : "", "aria-disabled": e.disabled, role: "slider", "aria-orientation": "horizontal" }, on: { dragstart: e.onDragStart, dragend: e.onDragEnd }, model: { value: e.value2, callback: function(s) {
2128
2099
  e.value2 = s;
2129
2100
  }, expression: "value2" } }) : e._e()], 2)]);
2130
- }, It = [], Ot = /* @__PURE__ */ o(
2131
- At,
2132
- Bt,
2133
- It,
2101
+ }, Dt = [], Vt = /* @__PURE__ */ o(
2102
+ $t,
2103
+ kt,
2104
+ Dt,
2134
2105
  !1,
2135
2106
  null,
2136
2107
  null
2137
2108
  );
2138
- const V = Ot.exports, Tt = {
2109
+ const V = Vt.exports, Ft = {
2139
2110
  name: "CSwitch",
2140
2111
  props: {
2141
2112
  value: {
@@ -2211,7 +2182,7 @@ const V = Ot.exports, Tt = {
2211
2182
  }
2212
2183
  }
2213
2184
  };
2214
- var Pt = function() {
2185
+ var At = function() {
2215
2186
  var e = this, i = e._self._c;
2216
2187
  return i("label", { ref: "label", staticClass: "switch", class: e.newClass, attrs: { disabled: e.disabled }, on: { click: e.focus, keydown: function(s) {
2217
2188
  return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : (s.preventDefault(), e.$refs.label.click());
@@ -2225,15 +2196,15 @@ var Pt = function() {
2225
2196
  } else
2226
2197
  e.computedValue = r;
2227
2198
  } } }), i("span", { staticClass: "check", class: [`is-${e.type}`] }), i("span", { staticClass: "control-label" }, [e._t("default")], 2)]);
2228
- }, Mt = [], Rt = /* @__PURE__ */ o(
2229
- Tt,
2230
- Pt,
2231
- Mt,
2199
+ }, Ot = [], Bt = /* @__PURE__ */ o(
2200
+ Ft,
2201
+ At,
2202
+ Ot,
2232
2203
  !1,
2233
2204
  null,
2234
2205
  "4cdd239d"
2235
2206
  );
2236
- const F = Rt.exports, Et = {
2207
+ const F = Bt.exports, It = {
2237
2208
  name: "CTabItem",
2238
2209
  props: {
2239
2210
  label: String,
@@ -2311,16 +2282,16 @@ const F = Rt.exports, Et = {
2311
2282
  [e]
2312
2283
  ) : e;
2313
2284
  }
2314
- }, zt = null, Nt = null;
2315
- var Lt = /* @__PURE__ */ o(
2316
- Et,
2317
- zt,
2318
- Nt,
2285
+ }, Pt = null, Tt = null;
2286
+ var Rt = /* @__PURE__ */ o(
2287
+ It,
2288
+ Pt,
2289
+ Tt,
2319
2290
  !1,
2320
2291
  null,
2321
2292
  null
2322
2293
  );
2323
- const A = Lt.exports, Ht = {
2294
+ const A = Rt.exports, Mt = {
2324
2295
  name: "CSlotComponent",
2325
2296
  props: {
2326
2297
  component: {
@@ -2368,10 +2339,10 @@ const A = Lt.exports, Ht = {
2368
2339
  this.scoped ? this.component.$scopedSlots[this.name](this.props) : this.component.$slots[this.name]
2369
2340
  );
2370
2341
  }
2371
- }, qt = {
2342
+ }, zt = {
2372
2343
  name: "CTabs",
2373
2344
  components: {
2374
- CSlotComponent: Ht
2345
+ CSlotComponent: Mt
2375
2346
  },
2376
2347
  props: {
2377
2348
  value: {
@@ -2493,7 +2464,7 @@ const A = Lt.exports, Ht = {
2493
2464
  }
2494
2465
  }
2495
2466
  };
2496
- var jt = function() {
2467
+ var Et = function() {
2497
2468
  var e = this, i = e._self._c;
2498
2469
  return i("div", { staticClass: "c-tabs", class: e.mainClasses }, [i("nav", { staticClass: "tabs", class: e.navClasses }, [i("ul", e._l(e.tabItems, function(s, n) {
2499
2470
  return i("li", { directives: [{ name: "show", rawName: "v-show", value: s.visible, expression: "tabItem.visible" }], key: n, class: {
@@ -2505,20 +2476,19 @@ var jt = function() {
2505
2476
  return e.tabClick(n);
2506
2477
  } } }, [s.icon ? i("CIcon", { attrs: { size: e.size, type: s.icon } }) : e._e(), i("span", [e._v(e._s(s.label))])], 1)], 1);
2507
2478
  }), 0)]), i("section", { staticClass: "tab-content", class: { "is-transitioning": e.isTransitioning } }, [e._t("default")], 2)]);
2508
- }, Kt = [], Wt = /* @__PURE__ */ o(
2509
- qt,
2510
- jt,
2511
- Kt,
2479
+ }, Nt = [], Lt = /* @__PURE__ */ o(
2480
+ zt,
2481
+ Et,
2482
+ Nt,
2512
2483
  !1,
2513
2484
  null,
2514
2485
  "e02a6440"
2515
2486
  );
2516
- const B = Wt.exports;
2517
- function oi(t) {
2518
- t.component(D.name, D), t.component("CAutocomplete", Qe), t.component(y.name, y), t.component(S.name, S), t.component($.name, $), t.component(h.name, h), t.component(f.name, f), t.component(k.name, k), t.component(_.name, _), t.component(F.name, F), t.component(B.name, B), t.component(A.name, A), t.component("CField", de), t.component(w.name, w), t.component(x.name, x), t.component(V.name, V);
2487
+ const O = Lt.exports;
2488
+ function si(t) {
2489
+ t.component(D.name, D), t.component("CAutocomplete", je), t.component(y.name, y), t.component(S.name, S), t.component($.name, $), t.component(h.name, h), t.component(f.name, f), t.component(k.name, k), t.component(_.name, _), t.component(F.name, F), t.component(O.name, O), t.component(A.name, A), t.component("CField", se), t.component(w.name, w), t.component(x.name, x), t.component(V.name, V);
2519
2490
  }
2520
2491
  export {
2521
- de as C,
2522
- ri as S,
2523
- oi as i
2492
+ ii as S,
2493
+ si as i
2524
2494
  };