@cling-se/widget 0.15.1 → 0.15.3

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 (124) hide show
  1. package/dist/{AddClientCallout-XGs5vmVP.js → AddClientCallout-8s5a1_CZ.js} +3 -3
  2. package/dist/{AnswerModal-Djvpd4kg.js → AnswerModal-Cnp43tGo.js} +3 -3
  3. package/dist/{AttachmentItem-C_5E8Fa4.js → AttachmentItem-BP85gcjP.js} +6 -4
  4. package/dist/{BaseDatePicker-BpGzPBp_.js → BaseDatePicker-C27CsTzy.js} +486 -482
  5. package/dist/{BaseUpload-Dm5C-j0L.js → BaseUpload-DnhS3hGx.js} +2 -2
  6. package/dist/{BlockMedia-DbiVw803.js → BlockMedia-D4nhek2s.js} +1 -1
  7. package/dist/{CCallout-DL9smLC_.js → CCallout-CQjRcxpC.js} +1 -1
  8. package/dist/{CCurrencyDropdown--RshYh6V.js → CCurrencyDropdown-BT01qBGg.js} +24 -20
  9. package/dist/{CDropdownItem-Bzbrlurh.js → CDropdownItem-BSPNul90.js} +1 -1
  10. package/dist/{CFormField-DABM0TLB.js → CFormField-Cz_jNazS.js} +1 -1
  11. package/dist/{CPhoneFormat-BhzciB_P.js → CPhoneFormat-C017AoM0.js} +1 -1
  12. package/dist/{CPriceInput-DVZ4OVfI.js → CPriceInput-jktMjvwx.js} +20 -16
  13. package/dist/ClientAutocomplete-B3z6RPXr.js +82 -0
  14. package/dist/{ClientModal-BSUhx0YR.js → ClientModal-DLtFhJya.js} +31 -25
  15. package/dist/{ColorPicker-BpTmTnpR.js → ColorPicker-MQmVGbvm.js} +1 -1
  16. package/dist/{CompanyModal-C7LZybS4.js → CompanyModal-Qx5xMku0.js} +4 -4
  17. package/dist/{ContentWrapper-DlRJSB1H.js → ContentWrapper-B9NQqp2q.js} +63 -55
  18. package/dist/{CoverBlockSettings-Cxxex_lN.js → CoverBlockSettings-Bcz_W5I3.js} +5 -5
  19. package/dist/{DocAnswer-B-MxL_1t.js → DocAnswer-BlxFv_Gc.js} +2 -2
  20. package/dist/{DocDetails-DjBrxQ_R.js → DocDetails-dGcYGJpp.js} +42 -38
  21. package/dist/{DocForm-Beoj5wra.js → DocForm-C6o_XBcW.js} +915 -879
  22. package/dist/{DocFormSend-D_v5NC6u.js → DocFormSend-_prtxNIf.js} +11 -7
  23. package/dist/{DocLinks-CojBcyHP.js → DocLinks-Dp495SCS.js} +2 -2
  24. package/dist/{DocModalBase-BgduKHWe.js → DocModalBase-B0wYq3ft.js} +1 -1
  25. package/dist/{DocPrint-BCscbY6G.js → DocPrint-CURxofeU.js} +1 -1
  26. package/dist/{DocReceipt-Dxn5vcAc.js → DocReceipt-DgGcBRVH.js} +5 -3
  27. package/dist/{DocSendReminder-YpVUkgYH.js → DocSendReminder-CPty4svi.js} +1 -1
  28. package/dist/{DocTextEditor-In_CaKPA.js → DocTextEditor-BYsXFRLg.js} +67 -63
  29. package/dist/{DocTimeline-DU9nUQUH.js → DocTimeline-CHg1QykR.js} +7 -5
  30. package/dist/{DocumentClient-D5Eo9CcZ.js → DocumentClient-CZ6N73pQ.js} +5 -5
  31. package/dist/{DocumentLayout-BQ-wP5NB.js → DocumentLayout-CiszuoQc.js} +277 -271
  32. package/dist/{DocumentLogotype-CDG2k8N2.js → DocumentLogotype-BgFCWcwC.js} +17 -15
  33. package/dist/{DocumentVoided-B-bk6BHd.js → DocumentVoided-DT2hhHk2.js} +1 -1
  34. package/dist/{EmbedInput-8xfYdX6Q.js → EmbedInput-aLmvzK1I.js} +2 -2
  35. package/dist/{EmbedSettings-CzNKHRWA.js → EmbedSettings-BZipciy9.js} +2 -2
  36. package/dist/ErrorCallout-CNxSDsr_.js +27 -0
  37. package/dist/{FilePreviewModal-Dq8oaKBy.js → FilePreviewModal-DxdksQiy.js} +2 -2
  38. package/dist/{Flag-Fs-s9E60.js → Flag-3OyFDPsP.js} +1 -1
  39. package/dist/{HeaderSettings-DdmyTypr.js → HeaderSettings-DeoSRi6O.js} +18 -14
  40. package/dist/{ImageSelectModal-BXyTJKrO.js → ImageSelectModal-DvQz2VPi.js} +13 -11
  41. package/dist/{ImageUploadWrapper-B8D5l07p.js → ImageUploadWrapper-CNQRdHF9.js} +2 -2
  42. package/dist/{Index-BnCsHbZ1.js → Index-3bD76d9q.js} +6 -6
  43. package/dist/{Index-SkCtzHwt.js → Index-B0n1UOOA.js} +4 -4
  44. package/dist/{Index-BU8ft1y6.js → Index-B3Q09phm.js} +4 -4
  45. package/dist/{Index-V2Givdp2.js → Index-B9_POjpY.js} +5 -5
  46. package/dist/{Index-CgRP1XiQ.js → Index-BDCgilFk.js} +2 -2
  47. package/dist/{Index-Dl-EHPWj.js → Index-BEpKb8IR.js} +3 -3
  48. package/dist/{Index-YDDq9NSQ.js → Index-BIv8flFB.js} +8 -8
  49. package/dist/{Index-BcL9ebMW.js → Index-BNJ2KHKc.js} +2 -2
  50. package/dist/{Index-0aodZg_n.js → Index-BeMeWDIf.js} +5 -5
  51. package/dist/{Index-hz-7LKR4.js → Index-BglKAnNq.js} +21 -17
  52. package/dist/{Index-9uS4_N--.js → Index-BiVwDgqW.js} +2 -2
  53. package/dist/{Index-DmUOBV3i.js → Index-BjdxeF4C.js} +2 -2
  54. package/dist/{Index-BowtUux0.js → Index-C-CE21WK.js} +5 -5
  55. package/dist/{Index-B8_vIbXh.js → Index-CDKq7Fx6.js} +4 -4
  56. package/dist/{Index-CkqDhbLd.js → Index-CJeSVpRh.js} +2 -2
  57. package/dist/{Index-C8SV-RPw.js → Index-CPjAXBMU.js} +5 -5
  58. package/dist/{Index-BiApZ1Ic.js → Index-CTk6Nh-I.js} +7 -7
  59. package/dist/{Index-CqB099xV.js → Index-CTqdaykO.js} +3 -3
  60. package/dist/{Index-DPo796kj.js → Index-CWj2vDHc.js} +17 -15
  61. package/dist/{Index-NagcpUmI.js → Index-CXibuEkU.js} +1 -1
  62. package/dist/{Index-BMY2m8rD.js → Index-CePHdKi2.js} +4 -4
  63. package/dist/{Index-Db_zxCDU.js → Index-Cfc0Q0AG.js} +5 -5
  64. package/dist/Index-Ch5j2tqD.js +41 -0
  65. package/dist/{Index-DLSht_p3.js → Index-CjfCyQlB.js} +4 -4
  66. package/dist/{Index-BDA5wus0.js → Index-Cr6DlYGN.js} +2 -2
  67. package/dist/{Index-wpr5rBje.js → Index-CvRNeJ4U.js} +7 -7
  68. package/dist/{Index-B8XLiKic.js → Index-D-l3i9vY.js} +3 -3
  69. package/dist/{Index-C8Gsbm1Z.js → Index-D1NwTUs-.js} +5 -5
  70. package/dist/{Index-EGUIgf2A.js → Index-FC1UsElU.js} +4 -4
  71. package/dist/{Index-C2ZwmSbs.js → Index-PUFeH_1z.js} +4 -4
  72. package/dist/{Index-DcGgVbKe.js → Index-S3LqU0A0.js} +9 -7
  73. package/dist/{Index-C-OSub91.js → Index-jIIHHGh3.js} +376 -350
  74. package/dist/{Index-BYsgDllD.js → Index-q04Dwxrr.js} +17 -15
  75. package/dist/{Index-B68-YXDK.js → Index-w5DWfGOc.js} +4 -4
  76. package/dist/{InputToggleRow-J8fqDcd7.js → InputToggleRow-CvHvRdsn.js} +1 -1
  77. package/dist/{ManualPopover-BkAZ-cLE.js → ManualPopover-DxE-6-Sp.js} +13 -11
  78. package/dist/{MediaWrapper-BUQroqgd.js → MediaWrapper-DNi80fbw.js} +3 -3
  79. package/dist/{NotBindingText-DEjIIRIy.js → NotBindingText-D2rYFVxr.js} +2 -2
  80. package/dist/{PackageGroup-BXsk0x4O.js → PackageGroup-6ar8HjPo.js} +8 -8
  81. package/dist/{PdfTerms-vLidfDfk.js → PdfTerms-B-lbU_6H.js} +2 -2
  82. package/dist/{PdfViewer-Cyl_FcY1.js → PdfViewer-B5qbLLtd.js} +21 -21
  83. package/dist/PlainHtml-CIMtcn2F.js +27 -0
  84. package/dist/{PriceHeader-BV254rc3.js → PriceHeader-BSpj_-5M.js} +6 -6
  85. package/dist/{SearchApi-HLHEy8AM.js → SearchApi-Cwgf52EV.js} +2 -2
  86. package/dist/{Setup-DuCP6m5-.js → Setup-CRmiH9lD.js} +1 -1
  87. package/dist/{SmartList-C0IKb8qw.js → SmartList-D6AvxfSL.js} +1 -1
  88. package/dist/{TermsSettings-bHhM9dtD.js → TermsSettings-DEO1O460.js} +7 -5
  89. package/dist/{ThemeColorRow-MgU9X4Tj.js → ThemeColorRow-Cy1NKEIG.js} +14 -12
  90. package/dist/{ToggleBinding-gjKO_LN5.js → ToggleBinding-BvIUt1Jx.js} +8 -6
  91. package/dist/{UploadModal-QuXCJkzY.js → UploadModal-C1j-GeMD.js} +4 -4
  92. package/dist/{VideoPlayerInput-XebqdCEO.js → VideoPlayerInput-BmbrquN6.js} +3 -3
  93. package/dist/{VideoPlayerSettings-DMxguTAv.js → VideoPlayerSettings-B7HpBoWX.js} +2 -2
  94. package/dist/VideoSelectModal-CeaG2tME.js +104 -0
  95. package/dist/{answerDocumentMixin-BaVqM_ri.js → answerDocumentMixin-AcDG8Byi.js} +3 -3
  96. package/dist/{debounce-DUUqRe1d.js → debounce-HJoaSvIY.js} +1 -1
  97. package/dist/{focusDrawerMixin-BFQK8OUc.js → focusDrawerMixin-CBYjpEGL.js} +1 -1
  98. package/dist/{formComponentsInstall-qLhjQ7Rl.js → formComponentsInstall-DMoWrprH.js} +229 -223
  99. package/dist/{formDrawerState-BT31echi.js → formDrawerState-DYSBcjo4.js} +1 -1
  100. package/dist/{formValidationMixin-DWRJGUXb.js → formValidationMixin-Dqlhg0R2.js} +1 -1
  101. package/dist/{index-CLbtIs9u.js → index-CFe1BJZJ.js} +1 -1
  102. package/dist/{index-Dpx08x9s.js → index-CFwLDxbi.js} +5 -5
  103. package/dist/{index-BYMG8jiP.js → index-CFx0cpeM.js} +1 -1
  104. package/dist/{index-CO1KeOmj.js → index-CKZmpLr6.js} +69 -45
  105. package/dist/{index-Dsxyi-7P.js → index-CLOsPxCh.js} +14 -12
  106. package/dist/{index-DSOWfTTb.js → index-zzCfHTf8.js} +1 -1
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +142 -142
  109. package/dist/{main-CRQiO-g7.js → main-BIwKzAN8.js} +7329 -7275
  110. package/dist/{mapFormMixin-C9fs0AV5.js → mapFormMixin-e2PJ431T.js} +1 -1
  111. package/dist/{omit-tP4ZEy3Q.js → omit-CpamclWf.js} +3 -3
  112. package/dist/{publicSenderState-CApNsACD.js → publicSenderState-D-_7UwjT.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{throttle-B4S8Wjwz.js → throttle-B2yMLA5N.js} +2 -2
  115. package/dist/{tinycolor-PkULT0yA.js → tinycolor-vIxz4Xgi.js} +1 -1
  116. package/dist/{tippy.esm-C5HrjSHu.js → tippy.esm-DiOYviyf.js} +57 -53
  117. package/dist/{utils-j0eN0bhD.js → utils-CFXqaEy7.js} +1 -1
  118. package/dist/{vuedraggable.umd-BPB1Hmn2.js → vuedraggable.umd-DDT8qZBI.js} +1 -1
  119. package/package.json +1 -1
  120. package/dist/ClientAutocomplete-C9yyFzJ9.js +0 -78
  121. package/dist/ErrorCallout-Bh8OsLfY.js +0 -28
  122. package/dist/Index-CVSBD1f6.js +0 -31
  123. package/dist/PlainHtml-SVyW9vV2.js +0 -20
  124. package/dist/VideoSelectModal-B5AlGSUz.js +0 -100
@@ -1,17 +1,17 @@
1
- import { m } from "./mapFormMixin-C9fs0AV5.js";
2
- import { I as L, a as H, r as l } from "./index-CO1KeOmj.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-CRQiO-g7.js";
4
- import { B as M } from "./BaseDatePicker-BpGzPBp_.js";
5
- import { E as X } from "./ErrorCallout-Bh8OsLfY.js";
6
- import { s as U, F as Q } from "./Flag-Fs-s9E60.js";
7
- import { b as Y, m as g } from "./vuex.esm-DKGl8mcw.js";
8
- import G from "./AddClientCallout-XGs5vmVP.js";
9
- import J from "./ClientModal-BSUhx0YR.js";
10
- import { c as Z, r as ee, g as te, C as h, a as f, b as p } from "./CDropdownItem-Bzbrlurh.js";
1
+ import { m as p } from "./mapFormMixin-e2PJ431T.js";
2
+ import { I as L, a as H, r as l } from "./index-CKZmpLr6.js";
3
+ import { aD as y, h as q, n as o, b as c, aE as j, t as K, aF as B, aG as W, q as I, aH as T, F as X, X as U, T as m, ai as Q, f as P, aI as M, K as _ } from "./main-BIwKzAN8.js";
4
+ import { B as R } from "./BaseDatePicker-C27CsTzy.js";
5
+ import { E as Y } from "./ErrorCallout-CNxSDsr_.js";
6
+ import { s as G, F as J } from "./Flag-3OyFDPsP.js";
7
+ import { b as Z, m as v } from "./vuex.esm-DKGl8mcw.js";
8
+ import ee from "./AddClientCallout-8s5a1_CZ.js";
9
+ import te from "./ClientModal-DLtFhJya.js";
10
+ import { c as ie, r as se, g as ne, C as f, a as g, b as h } from "./CDropdownItem-BSPNul90.js";
11
11
  import "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js";
12
- import { C as _ } from "./CCallout-DL9smLC_.js";
13
- import { a as ie, C as se } from "./CFormField-DABM0TLB.js";
14
- import { S as ne } from "./SmartList-C0IKb8qw.js";
12
+ import { C as b } from "./CCallout-CQjRcxpC.js";
13
+ import { a as ae, C as re } from "./CFormField-Cz_jNazS.js";
14
+ import { S as oe } from "./SmartList-D6AvxfSL.js";
15
15
  function z(t, e) {
16
16
  const i = new Date(t.getTime());
17
17
  return i.setDate(
@@ -22,8 +22,8 @@ function E(t) {
22
22
  const e = new Date(t.getTime());
23
23
  return e.setDate(e.getDate() + 1), e.setHours(10, 0, 0, 0), e;
24
24
  }
25
- let b = E(/* @__PURE__ */ new Date()), C = z(/* @__PURE__ */ new Date(), 1);
26
- const ae = {
25
+ let C = E(/* @__PURE__ */ new Date()), w = z(/* @__PURE__ */ new Date(), 1);
26
+ const le = {
27
27
  name: "DocumentSendLater",
28
28
  i18nOptions: {
29
29
  namespaces: "documentSendLater",
@@ -49,7 +49,7 @@ const ae = {
49
49
  }
50
50
  },
51
51
  components: {
52
- BaseDatePicker: M
52
+ BaseDatePicker: R
53
53
  },
54
54
  props: {
55
55
  _document: {
@@ -71,7 +71,7 @@ const ae = {
71
71
  },
72
72
  data() {
73
73
  return {
74
- sendAt: v(/* @__PURE__ */ new Date(), 5).toISOString(),
74
+ sendAt: y(/* @__PURE__ */ new Date(), 5).toISOString(),
75
75
  showCustom: !1,
76
76
  backupSentFlag: !1
77
77
  // needed since doc/project flags not instant on double clicks
@@ -79,24 +79,24 @@ const ae = {
79
79
  },
80
80
  validations: {
81
81
  sendAt: {
82
- minValue: (t) => t > v(/* @__PURE__ */ new Date(), 2).toISOString()
82
+ minValue: (t) => t > y(/* @__PURE__ */ new Date(), 2).toISOString()
83
83
  // two minutes as safety
84
84
  }
85
85
  },
86
86
  computed: {
87
- ...Y("forms", {
87
+ ...Z("forms", {
88
88
  formData: (t) => t.document2.data
89
89
  }),
90
- ...g({
90
+ ...v({
91
91
  deliveryTypes: "forms/deliveryTypes",
92
92
  isPostingDocument: "documents2/isPosting",
93
93
  feature: "application/feature"
94
94
  }),
95
95
  tomorrowMorning() {
96
- return b.toISOString();
96
+ return C.toISOString();
97
97
  },
98
98
  mondayMorning() {
99
- return C.toISOString();
99
+ return w.toISOString();
100
100
  },
101
101
  reminderDeliveryTypes() {
102
102
  const t = ["email"];
@@ -107,7 +107,7 @@ const ae = {
107
107
  }
108
108
  },
109
109
  created() {
110
- b = E(/* @__PURE__ */ new Date()), C = z(/* @__PURE__ */ new Date(), 1);
110
+ C = E(/* @__PURE__ */ new Date()), w = z(/* @__PURE__ */ new Date(), 1);
111
111
  },
112
112
  methods: {
113
113
  setTime(t) {
@@ -142,7 +142,7 @@ const ae = {
142
142
  }
143
143
  }
144
144
  };
145
- var re = function() {
145
+ var de = function() {
146
146
  var e = this, i = e._self._c;
147
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([
148
148
  [e.tomorrowMorning, "tomorrowMorning"],
@@ -154,15 +154,15 @@ var re = function() {
154
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) {
155
155
  return e.onSendAt(e.sendAt);
156
156
  } } }, [e._v(" " + e._s(e.$t("_common:send")) + " " + e._s(e.$formatDate(e.sendAt, "d MMM - p")) + " ")])], 1)])], 1)]);
157
- }, oe = [], le = /* @__PURE__ */ o(
158
- ae,
159
- re,
160
- oe,
157
+ }, ce = [], ue = /* @__PURE__ */ o(
158
+ le,
159
+ de,
160
+ ce,
161
161
  !1,
162
162
  null,
163
163
  "dcfae061"
164
164
  );
165
- const de = le.exports, ce = {
165
+ const me = ue.exports, pe = {
166
166
  sv: {
167
167
  title: "Skicka dokument",
168
168
  nameLabel: "Dokumentnamn",
@@ -229,7 +229,7 @@ const de = le.exports, ce = {
229
229
  }
230
230
  }
231
231
  }
232
- }, ue = {
232
+ }, he = {
233
233
  sv: {
234
234
  addFirstButton: "Lägg till mottagare",
235
235
  addButton: "Lägg till mottagare",
@@ -246,7 +246,7 @@ const de = le.exports, ce = {
246
246
  tooltip: "Signing order lets you decide the order in which your recipients receive and sign your documents."
247
247
  }
248
248
  }
249
- }, me = {
249
+ }, fe = {
250
250
  name: "ClientSendListItem",
251
251
  props: {
252
252
  client: {
@@ -290,7 +290,7 @@ const de = le.exports, ce = {
290
290
  }
291
291
  }
292
292
  };
293
- var pe = function() {
293
+ var ge = function() {
294
294
  var s;
295
295
  var e = this, i = e._self._c;
296
296
  return i("div", { staticClass: "rc-card flex items-center", class: {
@@ -314,18 +314,20 @@ var pe = function() {
314
314
  e.isDropdownOpen = n;
315
315
  } }, nativeOn: { click: function(n) {
316
316
  n.stopPropagation();
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) {
317
+ } }, scopedSlots: e._u([{ key: "trigger", fn: function() {
318
+ return [i("CButton", { attrs: { circle: "", size: "small", type: "none", pattern: "secondary", raised: "", icon: "more-horizontal" } })];
319
+ }, proxy: !0 }], null, !1, 383536082) }, [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) {
318
320
  return n.stopPropagation(), e.$emit("remove");
319
321
  } } }) : e._e()] : e._e()], 2) : e._e()], 2);
320
- }, he = [], fe = /* @__PURE__ */ o(
321
- me,
322
- pe,
323
- he,
322
+ }, ve = [], ye = /* @__PURE__ */ o(
323
+ fe,
324
+ ge,
325
+ ve,
324
326
  !1,
325
327
  null,
326
- "47fa5bc0"
328
+ "cc1fbfb5"
327
329
  );
328
- const N = fe.exports, ge = {
330
+ const N = ye.exports, _e = {
329
331
  name: "SenderBlockItem",
330
332
  i18nOptions: {
331
333
  namespaces: "senderBlockItem",
@@ -348,7 +350,7 @@ const N = fe.exports, ge = {
348
350
  RecipientBlockItem: N
349
351
  },
350
352
  mixins: [
351
- m(["senderClient"], {
353
+ p(["senderClient"], {
352
354
  useEmit: !1,
353
355
  setFnName: "setFormValue"
354
356
  })
@@ -374,7 +376,7 @@ const N = fe.exports, ge = {
374
376
  };
375
377
  },
376
378
  computed: {
377
- ...g({
379
+ ...v({
378
380
  feature: "application/feature"
379
381
  })
380
382
  },
@@ -416,38 +418,40 @@ const N = fe.exports, ge = {
416
418
  }
417
419
  }
418
420
  };
419
- var ve = function() {
421
+ var be = function() {
420
422
  var e = this, i = e._self._c;
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([
422
- "login",
423
- "signature",
424
- ...e.feature("bankId") ? ["bankId"] : []
425
- ], function(s) {
426
- return i("CDropdownItem", { key: s, attrs: { "icon-right": e.get(e.senderClient, "answerMethod.accept") === s ? "check" : "" }, on: { click: function(n) {
427
- return e.setSenderMethod(s);
428
- } } }, [e._v(" " + e._s(e.$t(`_common:signMethod.${s}`)) + " ")]);
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();
430
- }, ye = [], _e = /* @__PURE__ */ o(
431
- ge,
432
- ve,
433
- ye,
423
+ 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 }, scopedSlots: e._u([{ key: "dropdownOptions", fn: function() {
424
+ return [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([
425
+ "login",
426
+ "signature",
427
+ ...e.feature("bankId") ? ["bankId"] : []
428
+ ], function(s) {
429
+ return i("CDropdownItem", { key: s, attrs: { "icon-right": e.get(e.senderClient, "answerMethod.accept") === s ? "check" : "" }, on: { click: function(n) {
430
+ return e.setSenderMethod(s);
431
+ } } }, [e._v(" " + e._s(e.$t(`_common:signMethod.${s}`)) + " ")]);
432
+ })] : 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")) + " ")])];
433
+ }, proxy: !0 }], null, !1, 407561968) }) : e._e();
434
+ }, Ce = [], we = /* @__PURE__ */ o(
435
+ _e,
436
+ be,
437
+ Ce,
434
438
  !1,
435
439
  null,
436
- "dad49914"
440
+ "2303d81a"
437
441
  );
438
- const be = _e.exports, Ce = {
442
+ const xe = we.exports, Se = {
439
443
  name: "RecipientBlock",
440
444
  i18nOptions: {
441
445
  namespaces: "recipientBlock",
442
- messages: ue
446
+ messages: he
443
447
  },
444
448
  components: {
445
- AddClientCallout: G,
449
+ AddClientCallout: ee,
446
450
  RecipientBlockItem: N,
447
- SenderBlockItem: be
451
+ SenderBlockItem: xe
448
452
  },
449
453
  mixins: [
450
- m(["clients"], {
454
+ p(["clients"], {
451
455
  useEmit: !1,
452
456
  setFnName: "setFormValue"
453
457
  })
@@ -522,7 +526,7 @@ const be = _e.exports, Ce = {
522
526
  openClientModal(t = 0) {
523
527
  var i;
524
528
  const e = c(this, `clients[${t}].signOrder`);
525
- this.$modal.show(J, {
529
+ this.$modal.show(te, {
526
530
  documentClientIndex: t,
527
531
  ...this.useSignOrder && {
528
532
  signOrder: W(e) === "number" ? e : this.maxSignOrder + 1
@@ -538,7 +542,7 @@ const be = _e.exports, Ce = {
538
542
  }
539
543
  }
540
544
  };
541
- var we = function() {
545
+ var ke = function() {
542
546
  var e = this, i = e._self._c;
543
547
  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) {
544
548
  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: {
@@ -567,15 +571,15 @@ var we = function() {
567
571
  } } }, [e._v(" " + e._s(e.$t("addFirstButton")) + " ")]) : !e.compact && e.allowEditClients ? i("AddClientCallout", { attrs: { compact: !0 }, on: { add: function(s) {
568
572
  return e.openClientModal(e.clients.length);
569
573
  }, setClient: e.setClient } }) : e._e()], 2);
570
- }, xe = [], Se = /* @__PURE__ */ o(
571
- Ce,
572
- we,
573
- xe,
574
+ }, $e = [], De = /* @__PURE__ */ o(
575
+ Se,
576
+ ke,
577
+ $e,
574
578
  !1,
575
579
  null,
576
580
  "51e072f2"
577
581
  );
578
- const $e = Se.exports, ke = {
582
+ const Ve = De.exports, Fe = {
579
583
  name: "DocumentSendReminderItem",
580
584
  props: {
581
585
  label: {
@@ -592,22 +596,22 @@ const $e = Se.exports, ke = {
592
596
  }
593
597
  }
594
598
  };
595
- var De = function() {
599
+ var Ae = function() {
596
600
  var e = this, i = e._self._c;
597
601
  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) {
598
602
  e.$emit("input", Math.max(e.value - 1, 0));
599
603
  } } }), 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) {
600
604
  return e.$emit("input", e.value + 1);
601
605
  } } })]], 2)]);
602
- }, Ve = [], Fe = /* @__PURE__ */ o(
603
- ke,
604
- De,
605
- Ve,
606
+ }, Oe = [], Be = /* @__PURE__ */ o(
607
+ Fe,
608
+ Ae,
609
+ Oe,
606
610
  !1,
607
611
  null,
608
612
  null
609
613
  );
610
- const Ae = Fe.exports, Oe = {
614
+ const Ie = Be.exports, Te = {
611
615
  name: "DocumentSendReminders",
612
616
  i18nOptions: {
613
617
  namespaces: "documentSendReminders",
@@ -627,9 +631,9 @@ const Ae = Fe.exports, Oe = {
627
631
  }
628
632
  },
629
633
  components: {
630
- DocumentSendReminderItem: Ae
634
+ DocumentSendReminderItem: Ie
631
635
  },
632
- mixins: [m()],
636
+ mixins: [p()],
633
637
  props: {
634
638
  setFormValue: {
635
639
  type: Function,
@@ -684,7 +688,7 @@ const Ae = Fe.exports, Oe = {
684
688
  }
685
689
  }
686
690
  };
687
- var Be = function() {
691
+ var Pe = function() {
688
692
  var e = this, i = e._self._c;
689
693
  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([
690
694
  { type: "notViewed", fallbackKey: "viewed" },
@@ -697,30 +701,30 @@ var Be = function() {
697
701
  }), 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) {
698
702
  return e.$emit("close");
699
703
  } } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 2);
700
- }, Ie = [], Pe = /* @__PURE__ */ o(
701
- Oe,
702
- Be,
703
- Ie,
704
+ }, Me = [], Re = /* @__PURE__ */ o(
705
+ Te,
706
+ Pe,
707
+ Me,
704
708
  !1,
705
709
  null,
706
710
  null
707
711
  );
708
- const Te = Pe.exports, Re = {
712
+ const ze = Re.exports, Ee = {
709
713
  name: "SendForm",
710
714
  i18nOptions: {
711
715
  namespaces: "sendForm",
712
- messages: ce
716
+ messages: pe
713
717
  },
714
718
  components: {
715
- Simplebar: U,
716
- BaseDatePicker: M,
717
- RecipientBlock: $e,
718
- ErrorCallout: X,
719
+ Simplebar: G,
720
+ BaseDatePicker: R,
721
+ RecipientBlock: Ve,
722
+ ErrorCallout: Y,
719
723
  IsPremiumPreStep: L,
720
724
  IsPremium: H
721
725
  },
722
726
  mixins: [
723
- m(
727
+ p(
724
728
  ["expiresAt", "clients", "defaultAnswerMethod", "reminders", "name"],
725
729
  {
726
730
  useEmit: !1,
@@ -773,7 +777,7 @@ const Te = Pe.exports, Re = {
773
777
  };
774
778
  },
775
779
  computed: {
776
- ...g({
780
+ ...v({
777
781
  deliveryTypes: "forms/deliveryTypes",
778
782
  isPostingDocument: "documents2/isPosting",
779
783
  documentSenderSign: "settings/documentSenderSign",
@@ -891,7 +895,7 @@ const Te = Pe.exports, Re = {
891
895
  },
892
896
  openReminders() {
893
897
  this.useSignOrder || this.$modal.show(
894
- Te,
898
+ ze,
895
899
  {
896
900
  _document: this._document,
897
901
  setFormValue: this.setFormValue,
@@ -907,7 +911,7 @@ const Te = Pe.exports, Re = {
907
911
  },
908
912
  openSendLater() {
909
913
  this.$v.$touch(), !this.$v.$invalid && this.$modal.show(
910
- de,
914
+ me,
911
915
  {
912
916
  _document: this._document,
913
917
  setFormValue: this.setFormValue,
@@ -933,7 +937,7 @@ const Te = Pe.exports, Re = {
933
937
  }
934
938
  }
935
939
  };
936
- var Me = function() {
940
+ var Ne = function() {
937
941
  var e = this, i = e._self._c;
938
942
  return i("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canUseBankId: s, canUseSms: n }) {
939
943
  var a;
@@ -951,7 +955,9 @@ var Me = function() {
951
955
  e.expiresAt = r;
952
956
  }, expression: "expiresAt" } }, [i("div", { staticClass: "psuedo-input-label" }, [e._v(e._s(e.$t("validityPeriod")))]), i("div", [e._v(" " + e._s(e.expiresAt ? e.$formatDate(e.expiresAt) : e.$t("_common:disabled").capitalize()) + " ")]), e.expiresAt ? i("CButton", { staticClass: "absolute right-3 top-3 z-10", attrs: { icon: "x", size: "small", type: "none", pattern: "secondary" }, on: { click: function(r) {
953
957
  r.preventDefault(), r.stopPropagation(), e.expiresAt = void 0, e._document.setDirty("expiresAt");
954
- } } }) : e._e()], 1)], 1), i("CDropdown", { staticStyle: { flex: "1 0 200px" }, attrs: { disabled: !e.clients.length, "mobile-label": e.$t("sendAs"), expanded: "" } }, [i("div", { staticClass: "psuedo-input", attrs: { slot: "trigger", tabindex: "0" }, slot: "trigger" }, [i("div", { staticClass: "psuedo-input-label" }, [e._v(e._s(e.$t("sendAs")))]), i("div", { domProps: { innerHTML: e._s(e.sendTypesText) } })]), i("CDropdownItem", { attrs: { value: e.emailActivated, "close-on-click": !1, toggle: "" }, on: { click: function(r) {
958
+ } } }) : e._e()], 1)], 1), i("CDropdown", { staticStyle: { flex: "1 0 200px" }, attrs: { disabled: !e.clients.length, "mobile-label": e.$t("sendAs"), expanded: "" }, scopedSlots: e._u([{ key: "trigger", fn: function() {
959
+ return [i("div", { staticClass: "psuedo-input", attrs: { tabindex: "0" } }, [i("div", { staticClass: "psuedo-input-label" }, [e._v(e._s(e.$t("sendAs")))]), i("div", { domProps: { innerHTML: e._s(e.sendTypesText) } })])];
960
+ }, proxy: !0 }], null, !0) }, [i("CDropdownItem", { attrs: { value: e.emailActivated, "close-on-click": !1, toggle: "" }, on: { click: function(r) {
955
961
  return e.setDeliveryMethod("email", !e.emailActivated);
956
962
  } } }, [e._v(" " + e._s(e.$t("_common:email").capitalize()) + " ")]), e.feature("sms") ? i("CDropdownItem", { attrs: { value: e.smsActivated, "close-on-click": !1, toggle: "" }, on: { click: function(r) {
957
963
  return e.setDeliveryMethod("sms", !e.smsActivated);
@@ -996,20 +1002,20 @@ var Me = function() {
996
1002
  } }], null, !0) })];
997
1003
  }), e._t("footer")], 2)], 1)];
998
1004
  } }], null, !0) });
999
- }, ze = [], Ee = /* @__PURE__ */ o(
1000
- Re,
1001
- Me,
1002
- ze,
1005
+ }, Le = [], He = /* @__PURE__ */ o(
1006
+ Ee,
1007
+ Ne,
1008
+ Le,
1003
1009
  !1,
1004
1010
  null,
1005
- "7ec7fd0b"
1011
+ "daaaa86f"
1006
1012
  );
1007
- const ii = Ee.exports, Ne = {
1013
+ const ri = He.exports, qe = {
1008
1014
  name: "CAutocomplete",
1009
1015
  components: {
1010
1016
  CInput: I
1011
1017
  },
1012
- mixins: [P],
1018
+ mixins: [T],
1013
1019
  inheritAttrs: !1,
1014
1020
  props: {
1015
1021
  value: {
@@ -1178,13 +1184,13 @@ const ii = Ee.exports, Ne = {
1178
1184
  () => this.checkIfReachedTheEndOfScroll(t)
1179
1185
  );
1180
1186
  }
1181
- this.appendToBody && (this.$data._bodyEl = Z(this.$refs.dropdown), this.updateAppendToBody());
1187
+ this.appendToBody && (this.$data._bodyEl = ie(this.$refs.dropdown), this.updateAppendToBody());
1182
1188
  },
1183
1189
  beforeDestroy() {
1184
1190
  typeof window < "u" && (document.removeEventListener("click", this.clickedOutside), this.dropdownPosition === "auto" && window.removeEventListener(
1185
1191
  "resize",
1186
1192
  this.calcDropdownInViewportVertical
1187
- )), 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);
1193
+ )), this.checkInfiniteScroll && this.$refs.dropdown && this.$refs.dropdown.querySelector(".dropdown-content") && this.$refs.dropdown.querySelector(".dropdown-content").removeEventListener("scroll", this.checkIfReachedTheEndOfScroll), this.appendToBody && se(this.$data._bodyEl);
1188
1194
  },
1189
1195
  methods: {
1190
1196
  /**
@@ -1243,7 +1249,7 @@ const ii = Ee.exports, Ne = {
1243
1249
  */
1244
1250
  getValue(t) {
1245
1251
  if (t !== null)
1246
- return typeof this.customFormatter < "u" ? this.customFormatter(t) : typeof t == "object" ? te(t, this.field) : t;
1252
+ return typeof this.customFormatter < "u" ? this.customFormatter(t) : typeof t == "object" ? ne(t, this.field) : t;
1247
1253
  },
1248
1254
  /**
1249
1255
  * Check if the scroll list inside the dropdown
@@ -1328,7 +1334,7 @@ const ii = Ee.exports, Ne = {
1328
1334
  }
1329
1335
  }
1330
1336
  };
1331
- var Le = function() {
1337
+ var je = function() {
1332
1338
  var e = this, i = e._self._c;
1333
1339
  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) {
1334
1340
  if (!s.type.indexOf("key") && e._k(s.keyCode, "esc", 27, s.key, ["Esc", "Escape"]))
@@ -1349,51 +1355,47 @@ var Le = function() {
1349
1355
  return e.setSelected(s, void 0, a);
1350
1356
  } } }, [e.hasDefaultSlot ? e._t("default", null, { option: s, index: n }) : i("span", [e._v(" " + e._s(e.getValue(s, !0)) + " ")])], 2);
1351
1357
  }), 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);
1352
- }, He = [], qe = /* @__PURE__ */ o(
1353
- Ne,
1354
- Le,
1355
- He,
1358
+ }, Ke = [], We = /* @__PURE__ */ o(
1359
+ qe,
1360
+ je,
1361
+ Ke,
1356
1362
  !1,
1357
1363
  null,
1358
1364
  null
1359
1365
  );
1360
- const je = qe.exports, Ke = {
1361
- name: "CMessage",
1366
+ const Xe = We.exports, Ue = /* @__PURE__ */ X({
1367
+ __name: "CMessage",
1362
1368
  props: {
1363
- type: {
1364
- type: String,
1365
- default: "secondary"
1366
- },
1367
- badge: {
1368
- type: String,
1369
- default: ""
1370
- },
1371
- text: {
1372
- type: String,
1373
- default: ""
1374
- }
1369
+ type: { default: "secondary" },
1370
+ badge: { default: "" },
1371
+ text: { default: "" }
1372
+ },
1373
+ setup(t) {
1374
+ const e = U(), i = m(() => e.style), s = m(() => e.staticClass), n = m(() => e.class), a = m(() => Q.t("components:cling.message.tip"));
1375
+ return { __sfc: !0, attrs: e, staticStyle: i, staticClass: s, styleClass: n, messageTip: a };
1375
1376
  }
1376
- };
1377
- var We = function(e, i) {
1378
- 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)]);
1379
- }, Xe = [], Ue = /* @__PURE__ */ o(
1380
- Ke,
1381
- We,
1382
- Xe,
1383
- !0,
1377
+ });
1378
+ var Qe = function() {
1379
+ var e = this, i = e._self._c, s = e._self._setupProxy;
1380
+ return i("div", { class: [s.styleClass, s.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: [s.staticStyle] }, [i("div", { class: [`has-background-${e.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" } }, [e._v(" " + e._s(e.badge || s.messageTip) + " ")]), i("div", { staticStyle: { color: "hsl(0, 0%, 25%)" } }, [e.text ? [e._v(" " + e._s(e.text) + " ")] : e._e(), e._t("default")], 2)]);
1381
+ }, Ye = [], Ge = /* @__PURE__ */ o(
1382
+ Ue,
1383
+ Qe,
1384
+ Ye,
1385
+ !1,
1384
1386
  null,
1385
- "9be3b227"
1387
+ null
1386
1388
  );
1387
- const w = Ue.exports, Qe = {
1389
+ const Je = Ge.exports, Ze = {
1388
1390
  name: "CPhoneInput",
1389
1391
  components: {
1390
- Flag: Q,
1392
+ Flag: J,
1391
1393
  CInput: I,
1392
- CDropdown: h,
1393
- CDropdownItem: f,
1394
- CButton: T,
1395
- CField: ie,
1396
- SmartList: ne
1394
+ CDropdown: f,
1395
+ CDropdownItem: g,
1396
+ CButton: P,
1397
+ CField: ae,
1398
+ SmartList: oe
1397
1399
  },
1398
1400
  props: {
1399
1401
  value: {
@@ -1485,34 +1487,38 @@ const w = Ue.exports, Qe = {
1485
1487
  }
1486
1488
  }
1487
1489
  };
1488
- var Ye = function() {
1490
+ var et = function() {
1489
1491
  var e = this, i = e._self._c;
1490
1492
  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 }) {
1491
1493
  return [i("CDropdown", { staticClass: "control", staticStyle: { height: "100%" }, attrs: { size: e.$attrs.size, disabled: e.$attrs.disabled, "menu-styling": {
1492
1494
  maxWidth: "300px"
1493
- }, scrollable: !0, position: "is-bottom-right", "max-height": "240px" }, model: { value: e.internalRegion, callback: function(n) {
1495
+ }, scrollable: !0, position: "is-bottom-right", "max-height": "240px" }, scopedSlots: e._u([{ key: "trigger", fn: function() {
1496
+ return [i("CButton", { staticStyle: { height: "100%" }, attrs: { size: e.$attrs.size, type: "none", pattern: "secondary" } }, [i("Flag", { staticStyle: { "margin-right": "0.35em" }, attrs: { region: e.internalRegion } }), e._v(" " + e._s(e.prefix) + " ")], 1)];
1497
+ }, proxy: !0 }, { key: "header", fn: function() {
1498
+ return [i("CInput", { staticStyle: { "margin-bottom": "0.25em" }, attrs: { placeholder: e.$t("_common:search"), filled: "" }, model: { value: e.searchQuery, callback: function(n) {
1499
+ e.searchQuery = n;
1500
+ }, expression: "searchQuery" } })];
1501
+ }, proxy: !0 }], null, !0), model: { value: e.internalRegion, callback: function(n) {
1494
1502
  e.internalRegion = n;
1495
- }, expression: "internalRegion" } }, [i("CButton", { staticStyle: { height: "100%" }, attrs: { slot: "trigger", size: e.$attrs.size, type: "none", pattern: "secondary" }, slot: "trigger" }, [i("Flag", { staticStyle: { "margin-right": "0.35em" }, attrs: { region: e.internalRegion } }), e._v(" " + e._s(e.prefix) + " ")], 1), i("CInput", { staticStyle: { "margin-bottom": "0.25em" }, attrs: { slot: "header", placeholder: e.$t("_common:search"), filled: "" }, slot: "header", model: { value: e.searchQuery, callback: function(n) {
1496
- e.searchQuery = n;
1497
- }, expression: "searchQuery" } }), e._l(s, function({ key: n, title: a, callingCode: r }) {
1503
+ }, expression: "internalRegion" } }, e._l(s, function({ key: n, title: a, callingCode: r }) {
1498
1504
  return i("CDropdownItem", { key: n, staticClass: "truncate-text", attrs: { value: n } }, [i("Flag", { staticStyle: { "margin-right": "0.75em", flex: "0 0 auto" }, attrs: { region: n, title: a } }), i("span", { staticClass: "truncate-text" }, [e._v(" " + e._s(a) + " (" + e._s(r) + ") ")])], 1);
1499
- })], 2)];
1505
+ }), 1)];
1500
1506
  } }]) })], 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) {
1501
1507
  e.phone = s;
1502
1508
  }, expression: "phone" } }, "CInput", { ...e.$attrs, ...e.$props }, !1))], 1)], 1);
1503
- }, Ge = [], Je = /* @__PURE__ */ o(
1504
- Qe,
1505
- Ye,
1506
- Ge,
1509
+ }, tt = [], it = /* @__PURE__ */ o(
1510
+ Ze,
1511
+ et,
1512
+ tt,
1507
1513
  !1,
1508
1514
  null,
1509
1515
  null
1510
1516
  );
1511
- const x = Je.exports, Ze = {
1517
+ const x = it.exports, st = {
1512
1518
  name: "CRadio",
1513
- mixins: [R]
1519
+ mixins: [M]
1514
1520
  };
1515
- var et = function() {
1521
+ var nt = function() {
1516
1522
  var e = this, i = e._self._c;
1517
1523
  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) {
1518
1524
  return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : (s.preventDefault(), e.$refs.label.click());
@@ -1521,20 +1527,20 @@ var et = function() {
1521
1527
  }, change: function(s) {
1522
1528
  e.computedValue = e.nativeValue;
1523
1529
  } } }), i("span", { staticClass: "check", class: `is-${e.type}` }), i("span", { staticClass: "control-label" }, [e._t("default")], 2)]);
1524
- }, tt = [], it = /* @__PURE__ */ o(
1525
- Ze,
1526
- et,
1527
- tt,
1530
+ }, at = [], rt = /* @__PURE__ */ o(
1531
+ st,
1532
+ nt,
1533
+ at,
1528
1534
  !1,
1529
1535
  null,
1530
1536
  null
1531
1537
  );
1532
- const S = it.exports, st = {
1538
+ const S = rt.exports, ot = {
1533
1539
  name: "CRadioButton",
1534
1540
  components: {
1535
- CButton: T
1541
+ CButton: P
1536
1542
  },
1537
- mixins: [R],
1543
+ mixins: [M],
1538
1544
  props: {
1539
1545
  type: {
1540
1546
  type: String,
@@ -1548,7 +1554,7 @@ const S = it.exports, st = {
1548
1554
  };
1549
1555
  }
1550
1556
  };
1551
- var nt = function() {
1557
+ var lt = function() {
1552
1558
  var e = this, i = e._self._c;
1553
1559
  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) {
1554
1560
  return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : (s.preventDefault(), e.$refs.$el.label.click());
@@ -1561,17 +1567,17 @@ var nt = function() {
1561
1567
  }, change: function(s) {
1562
1568
  e.computedValue = e.nativeValue;
1563
1569
  } } })], 2)], 1);
1564
- }, at = [], rt = /* @__PURE__ */ o(
1565
- st,
1566
- nt,
1567
- at,
1570
+ }, dt = [], ct = /* @__PURE__ */ o(
1571
+ ot,
1572
+ lt,
1573
+ dt,
1568
1574
  !1,
1569
1575
  null,
1570
1576
  null
1571
1577
  );
1572
- const $ = rt.exports, ot = {
1578
+ const k = ct.exports, ut = {
1573
1579
  name: "CSelect",
1574
- mixins: [P],
1580
+ mixins: [T],
1575
1581
  inheritAttrs: !1,
1576
1582
  props: {
1577
1583
  value: {
@@ -1632,7 +1638,7 @@ const $ = rt.exports, ot = {
1632
1638
  }
1633
1639
  }
1634
1640
  };
1635
- var lt = function() {
1641
+ var mt = function() {
1636
1642
  var e = this, i = e._self._c;
1637
1643
  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) {
1638
1644
  e.$emit("blur", s) && e.checkHtml5Validity();
@@ -1647,15 +1653,15 @@ var lt = function() {
1647
1653
  });
1648
1654
  e.computedValue = s.target.multiple ? n : n[0];
1649
1655
  } } }, "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)])]);
1650
- }, dt = [], ct = /* @__PURE__ */ o(
1651
- ot,
1652
- lt,
1653
- dt,
1656
+ }, pt = [], ht = /* @__PURE__ */ o(
1657
+ ut,
1658
+ mt,
1659
+ pt,
1654
1660
  !1,
1655
1661
  null,
1656
1662
  "23e48013"
1657
1663
  );
1658
- const k = ct.exports, ut = {
1664
+ const $ = ht.exports, ft = {
1659
1665
  name: "CSkeleton",
1660
1666
  functional: !0,
1661
1667
  props: {
@@ -1721,16 +1727,16 @@ const k = ct.exports, ut = {
1721
1727
  i
1722
1728
  );
1723
1729
  }
1724
- }, mt = null, pt = null;
1725
- var ht = /* @__PURE__ */ o(
1726
- ut,
1727
- mt,
1728
- pt,
1730
+ }, gt = null, vt = null;
1731
+ var yt = /* @__PURE__ */ o(
1732
+ ft,
1733
+ gt,
1734
+ vt,
1729
1735
  !1,
1730
1736
  null,
1731
1737
  null
1732
1738
  );
1733
- const D = ht.exports, ft = {
1739
+ const D = yt.exports, _t = {
1734
1740
  name: "CSliderThumb",
1735
1741
  inheritAttrs: !1,
1736
1742
  props: {
@@ -1832,7 +1838,7 @@ const D = ht.exports, ft = {
1832
1838
  }
1833
1839
  }
1834
1840
  };
1835
- var gt = function() {
1841
+ var bt = function() {
1836
1842
  var e = this, i = e._self._c;
1837
1843
  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) {
1838
1844
  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));
@@ -1847,15 +1853,15 @@ var gt = function() {
1847
1853
  }, function(s) {
1848
1854
  return !s.type.indexOf("key") && e._k(s.keyCode, "end", void 0, s.key, void 0) ? null : (s.preventDefault(), e.onEndKeyDown.apply(null, arguments));
1849
1855
  }] } }, "div", e.$attrs, !1))]);
1850
- }, vt = [], yt = /* @__PURE__ */ o(
1851
- ft,
1852
- gt,
1853
- vt,
1856
+ }, Ct = [], wt = /* @__PURE__ */ o(
1857
+ _t,
1858
+ bt,
1859
+ Ct,
1854
1860
  !1,
1855
1861
  null,
1856
1862
  null
1857
1863
  );
1858
- const _t = yt.exports, bt = {
1864
+ const xt = wt.exports, St = {
1859
1865
  name: "CSliderTick",
1860
1866
  props: {
1861
1867
  value: {
@@ -1882,22 +1888,22 @@ const _t = yt.exports, bt = {
1882
1888
  }
1883
1889
  }
1884
1890
  };
1885
- var Ct = function() {
1891
+ var kt = function() {
1886
1892
  var e = this, i = e._self._c;
1887
1893
  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()]);
1888
- }, wt = [], xt = /* @__PURE__ */ o(
1889
- bt,
1890
- Ct,
1891
- wt,
1894
+ }, $t = [], Dt = /* @__PURE__ */ o(
1895
+ St,
1896
+ kt,
1897
+ $t,
1892
1898
  !1,
1893
1899
  null,
1894
1900
  null
1895
1901
  );
1896
- const St = xt.exports, $t = {
1902
+ const Vt = Dt.exports, Ft = {
1897
1903
  name: "CSlider",
1898
1904
  components: {
1899
- CSliderThumb: _t,
1900
- CSliderTick: St
1905
+ CSliderThumb: xt,
1906
+ CSliderTick: Vt
1901
1907
  },
1902
1908
  props: {
1903
1909
  value: {
@@ -2045,10 +2051,10 @@ const St = xt.exports, $t = {
2045
2051
  if (!(this.min > this.max))
2046
2052
  if (Array.isArray(t)) {
2047
2053
  this.isRange = !0;
2048
- const e = typeof t[0] != "number" || isNaN(t[0]) ? this.min : p(t[0], this.min, this.max), i = typeof t[1] != "number" || isNaN(t[1]) ? this.max : p(t[1], this.min, this.max);
2054
+ const e = typeof t[0] != "number" || isNaN(t[0]) ? this.min : h(t[0], this.min, this.max), i = typeof t[1] != "number" || isNaN(t[1]) ? this.max : h(t[1], this.min, this.max);
2049
2055
  this.value1 = this.isThumbReversed ? i : e, this.value2 = this.isThumbReversed ? e : i;
2050
2056
  } else
2051
- this.isRange = !1, this.value1 = isNaN(t) ? this.min : p(t, this.min, this.max), this.value2 = null;
2057
+ this.isRange = !1, this.value1 = isNaN(t) ? this.min : h(t, this.min, this.max), this.value2 = null;
2052
2058
  },
2053
2059
  onInternalValueUpdate() {
2054
2060
  this.isRange && (this.isThumbReversed = this.value1 > this.value2), (!this.lazy || !this.dragging) && this.emitValue("input"), this.dragging && this.emitValue("dragging");
@@ -2094,7 +2100,7 @@ const St = xt.exports, $t = {
2094
2100
  }
2095
2101
  }
2096
2102
  };
2097
- var kt = function() {
2103
+ var At = function() {
2098
2104
  var e = this, i = e._self._c;
2099
2105
  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) {
2100
2106
  return i("CSliderTick", { key: n, attrs: { value: s } });
@@ -2103,15 +2109,15 @@ var kt = function() {
2103
2109
  }, 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) {
2104
2110
  e.value2 = s;
2105
2111
  }, expression: "value2" } }) : e._e()], 2)]);
2106
- }, Dt = [], Vt = /* @__PURE__ */ o(
2107
- $t,
2108
- kt,
2109
- Dt,
2112
+ }, Ot = [], Bt = /* @__PURE__ */ o(
2113
+ Ft,
2114
+ At,
2115
+ Ot,
2110
2116
  !1,
2111
2117
  null,
2112
2118
  null
2113
2119
  );
2114
- const V = Vt.exports, Ft = {
2120
+ const V = Bt.exports, It = {
2115
2121
  name: "CSwitch",
2116
2122
  props: {
2117
2123
  value: {
@@ -2187,7 +2193,7 @@ const V = Vt.exports, Ft = {
2187
2193
  }
2188
2194
  }
2189
2195
  };
2190
- var At = function() {
2196
+ var Tt = function() {
2191
2197
  var e = this, i = e._self._c;
2192
2198
  return i("label", { ref: "label", staticClass: "switch", class: e.newClass, attrs: { disabled: e.disabled }, on: { click: e.focus, keydown: function(s) {
2193
2199
  return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : (s.preventDefault(), e.$refs.label.click());
@@ -2201,15 +2207,15 @@ var At = function() {
2201
2207
  } else
2202
2208
  e.computedValue = r;
2203
2209
  } } }), i("span", { staticClass: "check", class: [`is-${e.type}`] }), i("span", { staticClass: "control-label" }, [e._t("default")], 2)]);
2204
- }, Ot = [], Bt = /* @__PURE__ */ o(
2205
- Ft,
2206
- At,
2207
- Ot,
2210
+ }, Pt = [], Mt = /* @__PURE__ */ o(
2211
+ It,
2212
+ Tt,
2213
+ Pt,
2208
2214
  !1,
2209
2215
  null,
2210
2216
  "4cdd239d"
2211
2217
  );
2212
- const F = Bt.exports, It = {
2218
+ const F = Mt.exports, Rt = {
2213
2219
  name: "CTabItem",
2214
2220
  props: {
2215
2221
  label: String,
@@ -2287,16 +2293,16 @@ const F = Bt.exports, It = {
2287
2293
  [e]
2288
2294
  ) : e;
2289
2295
  }
2290
- }, Pt = null, Tt = null;
2291
- var Rt = /* @__PURE__ */ o(
2292
- It,
2293
- Pt,
2294
- Tt,
2296
+ }, zt = null, Et = null;
2297
+ var Nt = /* @__PURE__ */ o(
2298
+ Rt,
2299
+ zt,
2300
+ Et,
2295
2301
  !1,
2296
2302
  null,
2297
2303
  null
2298
2304
  );
2299
- const A = Rt.exports, Mt = {
2305
+ const A = Nt.exports, Lt = {
2300
2306
  name: "CSlotComponent",
2301
2307
  props: {
2302
2308
  component: {
@@ -2344,10 +2350,10 @@ const A = Rt.exports, Mt = {
2344
2350
  this.scoped ? this.component.$scopedSlots[this.name](this.props) : this.component.$slots[this.name]
2345
2351
  );
2346
2352
  }
2347
- }, zt = {
2353
+ }, Ht = {
2348
2354
  name: "CTabs",
2349
2355
  components: {
2350
- CSlotComponent: Mt
2356
+ CSlotComponent: Lt
2351
2357
  },
2352
2358
  props: {
2353
2359
  value: {
@@ -2469,7 +2475,7 @@ const A = Rt.exports, Mt = {
2469
2475
  }
2470
2476
  }
2471
2477
  };
2472
- var Et = function() {
2478
+ var qt = function() {
2473
2479
  var e = this, i = e._self._c;
2474
2480
  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) {
2475
2481
  return i("li", { directives: [{ name: "show", rawName: "v-show", value: s.visible, expression: "tabItem.visible" }], key: n, class: {
@@ -2481,19 +2487,19 @@ var Et = function() {
2481
2487
  return e.tabClick(n);
2482
2488
  } } }, [s.icon ? i("CIcon", { attrs: { size: e.size, type: s.icon } }) : e._e(), i("span", [e._v(e._s(s.label))])], 1)], 1);
2483
2489
  }), 0)]), i("section", { staticClass: "tab-content", class: { "is-transitioning": e.isTransitioning } }, [e._t("default")], 2)]);
2484
- }, Nt = [], Lt = /* @__PURE__ */ o(
2485
- zt,
2486
- Et,
2487
- Nt,
2490
+ }, jt = [], Kt = /* @__PURE__ */ o(
2491
+ Ht,
2492
+ qt,
2493
+ jt,
2488
2494
  !1,
2489
2495
  null,
2490
2496
  "e02a6440"
2491
2497
  );
2492
- const O = Lt.exports;
2493
- function si(t) {
2494
- 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);
2498
+ const O = Kt.exports;
2499
+ function oi(t) {
2500
+ t.component(D.name, D), t.component("CAutocomplete", Xe), t.component(_.name, _), t.component(S.name, S), t.component(k.name, k), t.component(f.name, f), t.component(g.name, g), t.component($.name, $), t.component(b.name, b), t.component(F.name, F), t.component(O.name, O), t.component(A.name, A), t.component("CField", re), t.component("CMessage", Je), t.component(x.name, x), t.component(V.name, V);
2495
2501
  }
2496
2502
  export {
2497
- ii as S,
2498
- si as i
2503
+ ri as S,
2504
+ oi as i
2499
2505
  };