@cling-se/widget 0.9.27 → 0.9.30

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 (123) hide show
  1. package/dist/{AddClientCallout-dd99d0d5.js → AddClientCallout-e63b3bc8.js} +6 -12
  2. package/dist/{AnswerModal-6afa03a5.js → AnswerModal-0fc36a99.js} +37 -37
  3. package/dist/{AttachmentItem-f77592a9.js → AttachmentItem-7fcfe642.js} +3 -3
  4. package/dist/{BaseDatePicker-8a39d0c2.js → BaseDatePicker-3618f643.js} +654 -624
  5. package/dist/{BaseInput-dbd3178b.js → BaseInput-1e53b776.js} +1 -1
  6. package/dist/{BaseUpload-38ad6097.js → BaseUpload-2eea6112.js} +13 -13
  7. package/dist/{BlockMedia-843990e1.js → BlockMedia-4f30336b.js} +1 -1
  8. package/dist/{CCallout-c0f901a7.js → CCallout-3ea46d33.js} +2 -2
  9. package/dist/{CDropdownItem-fa88e012.js → CDropdownItem-301e3273.js} +18 -16
  10. package/dist/{CField-3a437b10.js → CField-25e8b388.js} +1 -1
  11. package/dist/{CPhoneFormat-a9139d94.js → CPhoneFormat-0eb4f8c1.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-76a4be84.js → CSlider.vue_vue_type_style_index_0_lang-8b316fae.js} +1 -1
  13. package/dist/{ClientAutocomplete-7cb8a2e1.js → ClientAutocomplete-35cada3c.js} +2 -2
  14. package/dist/{ClientModal-26774205.js → ClientModal-c11543c6.js} +116 -63
  15. package/dist/{ColorPicker-98baa7d4.js → ColorPicker-5ca79d5e.js} +1 -1
  16. package/dist/{CompanyModal-897f5534.js → CompanyModal-648fce86.js} +3 -3
  17. package/dist/{ContentWrapper-e1e093b7.js → ContentWrapper-70c4494a.js} +13 -13
  18. package/dist/{CoverBlockSettings-97d062e1.js → CoverBlockSettings-cfdb6528.js} +26 -36
  19. package/dist/{DocAnswer-a8c69056.js → DocAnswer-b03f11d8.js} +4 -4
  20. package/dist/{DocDetails-f092d872.js → DocDetails-ffbd78f5.js} +4 -4
  21. package/dist/{DocForm-889f2750.js → DocForm-0216b4bf.js} +202 -197
  22. package/dist/{DocFormSend-58b44424.js → DocFormSend-8d6e051b.js} +22 -23
  23. package/dist/{DocLinks-1bdb3110.js → DocLinks-8520a61d.js} +2 -2
  24. package/dist/{DocModalBase-afd069cd.js → DocModalBase-a61f7c10.js} +1 -1
  25. package/dist/{DocPrint-3ff914fd.js → DocPrint-3e8970bc.js} +1 -1
  26. package/dist/{DocReceipt-19de0274.js → DocReceipt-5da67daf.js} +2 -2
  27. package/dist/{DocSendReminder-23716d0b.js → DocSendReminder-b2e096d4.js} +1 -1
  28. package/dist/{DocTextEditor-6b614e43.js → DocTextEditor-1c8197e2.js} +8 -8
  29. package/dist/{DocTimeline-df7cb5f4.js → DocTimeline-1804ebb6.js} +5 -5
  30. package/dist/{DocumentClient-61d7e50f.js → DocumentClient-a0592efe.js} +7 -7
  31. package/dist/{DocumentLayout-86646c16.js → DocumentLayout-dd904f22.js} +143 -143
  32. package/dist/{DocumentLogotype-14929724.js → DocumentLogotype-59b1549a.js} +3 -3
  33. package/dist/{DocumentVoided-a9d41411.js → DocumentVoided-f6b8e4ff.js} +1 -1
  34. package/dist/{EmbedInput-71fd2f2a.js → EmbedInput-c1393639.js} +2 -2
  35. package/dist/{EmbedSettings-2254a7c3.js → EmbedSettings-f7451a3d.js} +3 -3
  36. package/dist/{ErrorCallout-b482d289.js → ErrorCallout-2973d65d.js} +1 -1
  37. package/dist/{FilePreviewModal-1802c766.js → FilePreviewModal-e8e3d042.js} +5 -5
  38. package/dist/Flag-c17cf658.js +116 -0
  39. package/dist/{HeaderSettings-10cfcc90.js → HeaderSettings-eb0a98b4.js} +26 -36
  40. package/dist/{ImageSelectModal-594227d6.js → ImageSelectModal-cab96401.js} +17 -18
  41. package/dist/{ImageUploadWrapper-452e463d.js → ImageUploadWrapper-38e2afa8.js} +2 -2
  42. package/dist/{Index-fe07902d.js → Index-07da4308.js} +4 -4
  43. package/dist/{Index-88854d18.js → Index-0bfac160.js} +18 -17
  44. package/dist/{Index-3ee432f2.js → Index-0e100224.js} +6 -6
  45. package/dist/{Index-dceaf93a.js → Index-0f08ced2.js} +4 -4
  46. package/dist/{Index-2e9bbe9d.js → Index-19f50205.js} +4 -4
  47. package/dist/{Index-c1d06810.js → Index-1d85df60.js} +7 -7
  48. package/dist/{Index-529ba57d.js → Index-28ec6148.js} +2 -2
  49. package/dist/{Index-83ef778b.js → Index-30c1d44e.js} +4 -4
  50. package/dist/{Index-d036b1fb.js → Index-46e59685.js} +2 -2
  51. package/dist/{Index-5736c4f7.js → Index-4e60e980.js} +22 -22
  52. package/dist/{Index-0f8c36f0.js → Index-5c3cb151.js} +2 -2
  53. package/dist/{Index-8fc860de.js → Index-6bb8e424.js} +6 -6
  54. package/dist/{Index-be92553f.js → Index-714600fc.js} +4 -4
  55. package/dist/{Index-a8206849.js → Index-8cc33cc7.js} +2 -2
  56. package/dist/{Index-a7b08aa1.js → Index-921eb9ba.js} +2 -2
  57. package/dist/{Index-354b4c80.js → Index-9c28cb53.js} +2 -2
  58. package/dist/{Index-d645b179.js → Index-a280b4b2.js} +4 -4
  59. package/dist/{Index-2131fa69.js → Index-a2dba1ec.js} +4 -4
  60. package/dist/{Index-f1afee11.js → Index-a3b1e7de.js} +7 -6
  61. package/dist/{Index-235cb5f0.js → Index-bc62c1f2.js} +9 -9
  62. package/dist/{Index-0966b580.js → Index-bf74adf8.js} +8 -8
  63. package/dist/{Index-780a5e8f.js → Index-c9b85813.js} +2 -2
  64. package/dist/{Index-ddfe7813.js → Index-ce33b807.js} +13 -15
  65. package/dist/{Index-5921d2de.js → Index-d01e898b.js} +7 -7
  66. package/dist/{Index-84a484ed.js → Index-d256a1d6.js} +9 -9
  67. package/dist/{Index-28ce2c21.js → Index-d2afa240.js} +3 -3
  68. package/dist/{Index-5d37606d.js → Index-d364dae0.js} +14 -14
  69. package/dist/{Index-17b82242.js → Index-d7bf1266.js} +16 -16
  70. package/dist/{Index-2621d373.js → Index-d9abc609.js} +4 -4
  71. package/dist/{Index-225e8cef.js → Index-da40e434.js} +10 -10
  72. package/dist/{Index-9fd01853.js → Index-e0c5772a.js} +4 -4
  73. package/dist/{Index-e361a308.js → Index-e1f464ef.js} +1 -1
  74. package/dist/{Index-2564d031.js → Index-f4b486da.js} +5 -5
  75. package/dist/{Index-098078af.js → Index-fcef00d7.js} +2 -2
  76. package/dist/{InputToggleRow-04cc08de.js → InputToggleRow-e28f45a0.js} +1 -1
  77. package/dist/{IsPremiumPreStep-94901e25.js → IsPremiumPreStep-e1d54d22.js} +30 -31
  78. package/dist/{ManualPopover-2fb96f78.js → ManualPopover-64b4c430.js} +1 -1
  79. package/dist/{MediaWrapper-abd398c1.js → MediaWrapper-240bb3b2.js} +3 -3
  80. package/dist/{NotBindingText-92aa597b.js → NotBindingText-2148a45c.js} +2 -2
  81. package/dist/{PackageGroup-ea7e992f.js → PackageGroup-92ec85c9.js} +15 -15
  82. package/dist/{PdfTerms-aa7ad8cd.js → PdfTerms-cf3e0ff3.js} +5 -5
  83. package/dist/{PdfViewer-a0c897a2.js → PdfViewer-f2af7ba4.js} +2 -2
  84. package/dist/{PlainHtml-234e0e43.js → PlainHtml-98d14d49.js} +1 -1
  85. package/dist/{PriceHeader-1b81d019.js → PriceHeader-2f97908c.js} +13 -13
  86. package/dist/{SearchApi-953a1b13.js → SearchApi-3f0ee279.js} +2 -2
  87. package/dist/{Setup-7928d952.js → Setup-6ca34742.js} +1 -1
  88. package/dist/{TermsSettings-d40ea3f3.js → TermsSettings-244144ce.js} +7 -7
  89. package/dist/{ThemeColorRow-0a8e8f1d.js → ThemeColorRow-8297bac6.js} +3 -3
  90. package/dist/{ToggleBinding-1d872e1c.js → ToggleBinding-801b881c.js} +3 -3
  91. package/dist/{UploadModal-006e32ff.js → UploadModal-143d3385.js} +3 -3
  92. package/dist/{VideoPlayerInput-d2418095.js → VideoPlayerInput-7cbe00d0.js} +3 -3
  93. package/dist/{VideoPlayerSettings-d1fa2cde.js → VideoPlayerSettings-055bfb63.js} +4 -4
  94. package/dist/{VideoSelectModal-84cc0824.js → VideoSelectModal-82769419.js} +24 -24
  95. package/dist/{answerDocumentMixin-a896581b.js → answerDocumentMixin-0eb824aa.js} +3 -3
  96. package/dist/{debounce-b30e6f76.js → debounce-35659385.js} +9 -9
  97. package/dist/{focusDrawerMixin-8b4c70e5.js → focusDrawerMixin-57a74f04.js} +1 -1
  98. package/dist/{formComponentsInstall-07c350b0.js → formComponentsInstall-53f4342a.js} +158 -200
  99. package/dist/{formDrawerState-e3da6074.js → formDrawerState-c089ffac.js} +1 -1
  100. package/dist/{formValidationMixin-05028cb3.js → formValidationMixin-08f0a439.js} +1 -1
  101. package/dist/{index-7300a7f5.js → index-17a2bb54.js} +1 -1
  102. package/dist/{index-a03d80b9.js → index-317dfeee.js} +9 -9
  103. package/dist/index-497ae925.js +14 -0
  104. package/dist/index-736d30ee.js +171 -0
  105. package/dist/{index-3197309d.js → index-a37004d7.js} +7 -8
  106. package/dist/{index-8a437f3d.js → index-e88b85e7.js} +44 -44
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +207 -213
  109. package/dist/{main-989855f4.js → main-40ffafe1.js} +10043 -9436
  110. package/dist/{mapFormMixin-e6b8b5ef.js → mapFormMixin-5472d70c.js} +1 -1
  111. package/dist/{publicSenderState-4d6c69b4.js → publicSenderState-7ee4c697.js} +1 -1
  112. package/dist/style.css +2 -2
  113. package/dist/{throttle-440ddd80.js → throttle-4a418273.js} +2 -2
  114. package/dist/{tinycolor-f6c2d00e.js → tinycolor-2370293d.js} +1 -1
  115. package/dist/{tippy.esm-75dfd42d.js → tippy.esm-f79d2d2e.js} +5 -5
  116. package/dist/{utils-e1c6e4eb.js → utils-c72c79a9.js} +1 -1
  117. package/dist/{vuedraggable.umd-909ba53a.js → vuedraggable.umd-8bca15d0.js} +1 -1
  118. package/package.json +1 -1
  119. package/dist/image-1b55e804.js +0 -18
  120. package/dist/index-71ec8e8e.js +0 -15
  121. package/dist/index-fe840ba4.js +0 -166
  122. package/dist/simplebar.min-1ce579b3.js +0 -71
  123. package/dist/template-641a5e0d.js +0 -535
@@ -1,17 +1,17 @@
1
1
  import { b as H, m as g } from "./vuex.esm-4a0fff7c.js";
2
- import { s as q } from "./simplebar.min-1ce579b3.js";
3
- import { m } from "./mapFormMixin-e6b8b5ef.js";
4
- import { B as I } from "./BaseDatePicker-8a39d0c2.js";
5
- import { E as j } from "./ErrorCallout-b482d289.js";
6
- import { I as K, a as W, r as l } from "./IsPremiumPreStep-94901e25.js";
7
- import { n as o, as as O, at as v, h as X, b as c, au as U, o as Q, av as Y, aw as G, q as P, ax as T, ay as R, d as M, E as y } from "./main-989855f4.js";
8
- import J from "./AddClientCallout-dd99d0d5.js";
9
- import Z from "./ClientModal-26774205.js";
10
- import { c as ee, r as te, g as ie, C as h, a as f, b as p } from "./CDropdownItem-fa88e012.js";
11
- import { S as se } from "./CSlider.vue_vue_type_style_index_0_lang-76a4be84.js";
12
- import { C as _ } from "./CCallout-c0f901a7.js";
13
- import { C as z } from "./CField-3a437b10.js";
14
- const ne = {
2
+ import { s as q, F as j } from "./Flag-c17cf658.js";
3
+ import { m } from "./mapFormMixin-5472d70c.js";
4
+ import { B as I } from "./BaseDatePicker-3618f643.js";
5
+ import { E as K } from "./ErrorCallout-2973d65d.js";
6
+ import { I as W, a as X, r as l } from "./IsPremiumPreStep-e1d54d22.js";
7
+ import { n as o, ax as O, ay as v, h as U, b as c, az as Q, q as Y, aA as G, aB as J, s as T, aC as P, aD as R, d as M, F as y } from "./main-40ffafe1.js";
8
+ import Z from "./AddClientCallout-e63b3bc8.js";
9
+ import ee from "./ClientModal-c11543c6.js";
10
+ import { c as te, r as ie, g as se, C as h, a as f, b as p } from "./CDropdownItem-301e3273.js";
11
+ import { S as ne } from "./CSlider.vue_vue_type_style_index_0_lang-8b316fae.js";
12
+ import { C as _ } from "./CCallout-3ea46d33.js";
13
+ import { C as z } from "./CField-25e8b388.js";
14
+ const ae = {
15
15
  name: "DocumentSendReminderItem",
16
16
  props: {
17
17
  label: {
@@ -28,24 +28,24 @@ const ne = {
28
28
  }
29
29
  }
30
30
  };
31
- var ae = function() {
31
+ var re = function() {
32
32
  var e = this, i = e._self._c;
33
33
  return i("div", { staticClass: "flex items-center bg-gray-100 mb-4 rounded-md px-4 py-2 select-none text-sm font-medium min-h-[2.5em]" }, [i("div", { staticClass: "text-gray-700 flex-auto mr-6 select-none" }, [e._v(" " + e._s(e.label) + " ")]), i("div", { staticClass: "flex items-center justify-center flex-nowrap text-sm" }, [e.done ? i("span", { staticClass: "text-green-500" }, [i("BaseIcon", { attrs: { type: "check", size: "18" } }), e._v(" " + e._s(e.$t("sent")) + " ")], 1) : [i("CButton", { staticClass: "bg-white !h-6 !w-6", attrs: { icon: "minus", size: "small", circle: "", raised: "" }, on: { click: function(s) {
34
34
  e.$emit("input", Math.max(e.value - 1, 0));
35
35
  } } }), i("div", { staticClass: "py-4 text-gray-800 font-medium text-center min-w-[8ch] text-sm" }, [e.value ? [e._v(" " + e._s(e.$tc("day", { count: Number(e.value) })) + " ")] : i("span", { staticClass: "text-gray-500 text-xs" }, [e._v(" " + e._s(e.$t("disabled").capitalize()) + " ")])], 2), i("CButton", { staticClass: "bg-white !w-6 !h-6", attrs: { icon: "plus", size: "small", circle: "", raised: "" }, on: { click: function(s) {
36
36
  return e.$emit("input", e.value + 1);
37
37
  } } })]], 2)]);
38
- }, re = [], oe = /* @__PURE__ */ o(
39
- ne,
38
+ }, oe = [], le = /* @__PURE__ */ o(
40
39
  ae,
41
40
  re,
41
+ oe,
42
42
  !1,
43
43
  null,
44
44
  null,
45
45
  null,
46
46
  null
47
47
  );
48
- const le = oe.exports, de = {
48
+ const de = le.exports, ce = {
49
49
  name: "DocumentSendReminders",
50
50
  i18nOptions: {
51
51
  namespaces: "documentSendReminders",
@@ -65,7 +65,7 @@ const le = oe.exports, de = {
65
65
  }
66
66
  },
67
67
  components: {
68
- DocumentSendReminderItem: le
68
+ DocumentSendReminderItem: de
69
69
  },
70
70
  mixins: [m()],
71
71
  props: {
@@ -122,7 +122,7 @@ const le = oe.exports, de = {
122
122
  }
123
123
  }
124
124
  };
125
- var ce = function() {
125
+ var ue = function() {
126
126
  var e = this, i = e._self._c;
127
127
  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([
128
128
  { type: "notViewed", fallbackKey: "viewed" },
@@ -135,29 +135,29 @@ var ce = function() {
135
135
  }), i("div", { staticClass: "flex items-center justify-center w-full", staticStyle: { "margin-top": "calc(2.5 * var(--rem))" } }, [i("CButton", { attrs: { type: "secondary", expanded: "" }, on: { click: function(s) {
136
136
  return e.$emit("close");
137
137
  } } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 2);
138
- }, ue = [], me = /* @__PURE__ */ o(
139
- de,
138
+ }, me = [], pe = /* @__PURE__ */ o(
140
139
  ce,
141
140
  ue,
141
+ me,
142
142
  !1,
143
143
  null,
144
144
  null,
145
145
  null,
146
146
  null
147
147
  );
148
- const pe = me.exports;
149
- function E(t, e) {
148
+ const he = pe.exports;
149
+ function N(t, e) {
150
150
  const i = new Date(t.getTime());
151
151
  return i.setDate(
152
152
  t.getDate() + (7 + e - t.getDay() - 1) % 7 + 1
153
153
  ), i.setHours(8, 0, 0, 0), i;
154
154
  }
155
- function N(t) {
155
+ function E(t) {
156
156
  const e = new Date(t.getTime());
157
157
  return e.setDate(e.getDate() + 1), e.setHours(10, 0, 0, 0), e;
158
158
  }
159
- let b = N(/* @__PURE__ */ new Date()), C = E(/* @__PURE__ */ new Date(), 1);
160
- const he = {
159
+ let b = E(/* @__PURE__ */ new Date()), C = N(/* @__PURE__ */ new Date(), 1);
160
+ const fe = {
161
161
  name: "DocumentSendLater",
162
162
  i18nOptions: {
163
163
  namespaces: "documentSendLater",
@@ -205,7 +205,7 @@ const he = {
205
205
  },
206
206
  data() {
207
207
  return {
208
- sendAt: v(/* @__PURE__ */ new Date(), 5),
208
+ sendAt: v(/* @__PURE__ */ new Date(), 5).toISOString(),
209
209
  showCustom: !1,
210
210
  backupSentFlag: !1
211
211
  // needed since doc/project flags not instant on double clicks
@@ -241,7 +241,7 @@ const he = {
241
241
  }
242
242
  },
243
243
  created() {
244
- b = N(/* @__PURE__ */ new Date()), C = E(/* @__PURE__ */ new Date(), 1);
244
+ b = E(/* @__PURE__ */ new Date()), C = N(/* @__PURE__ */ new Date(), 1);
245
245
  },
246
246
  methods: {
247
247
  setTime(t) {
@@ -269,14 +269,14 @@ const he = {
269
269
  ), s = i >= 0 ? `data.reminders[${i}]` : "data.reminders";
270
270
  this.setFormValue({ key: s, value: e }), await this.onSaveDocument({ doSend: !0 }), this.backupSentFlag = !1;
271
271
  } catch (e) {
272
- X(e);
272
+ U(e);
273
273
  } finally {
274
274
  this.backupSentFlag = !1;
275
275
  }
276
276
  }
277
277
  }
278
278
  };
279
- var fe = function() {
279
+ var ge = function() {
280
280
  var e = this, i = e._self._c;
281
281
  return i("div", { staticClass: "bg-white rounded-xl overflow-hidden" }, [i("div", { staticClass: "px-6 pt-8 pb-3" }, [i("div", { staticClass: "text-md font-semibold text-center" }, [e._v(" " + e._s(e.$t("title")) + " ")]), i("div", { staticClass: "pt-8" }, e._l([
282
282
  [e.tomorrowMorning, "tomorrowMorning"],
@@ -285,21 +285,21 @@ var fe = function() {
285
285
  return i("div", { key: n, staticClass: "bg-gray-50 border border-gray-200 p-4 rounded-md mb-4 cursor-pointer flex items-center justify-between text-sm hover:bg-gray-100 hover:border-gray-300 active:bg-gray-200 active:border-gray-400 select-none", 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")) + " ")])]);
286
286
  }), 0)]), i("div", { staticClass: "px-8 py-6 bg-gray-100 border-t border-gray-200", class: e.showCustom ? "" : "cursor-pointer hover:bg-gray-200", on: { click: function(s) {
287
287
  e.showCustom = !0;
288
- } } }, [i("div", { staticClass: "flex items-center text-sm" }, [i("BaseIcon", { 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("BaseIcon", { staticClass: "mr-2 text-primary-500", 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 || e.isPostingProject, type: "secondary", wide: "" }, on: { click: function(s) {
288
+ } } }, [i("div", { staticClass: "flex items-center text-sm" }, [i("BaseIcon", { 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("BaseIcon", { staticClass: "mr-2 text-primary-500", 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) {
289
289
  return e.onSendAt(e.sendAt);
290
290
  } } }, [e._v(" " + e._s(e.$t("_common:send")) + " " + e._s(e.$formatDate(e.sendAt, "d MMM - p")) + " ")])], 1)])], 1)]);
291
- }, ge = [], ve = /* @__PURE__ */ o(
292
- he,
291
+ }, ve = [], ye = /* @__PURE__ */ o(
293
292
  fe,
294
293
  ge,
294
+ ve,
295
295
  !1,
296
296
  null,
297
- "2227cf72",
297
+ "ac103310",
298
298
  null,
299
299
  null
300
300
  );
301
- const ye = ve.exports;
302
- const _e = {
301
+ const _e = ye.exports;
302
+ const be = {
303
303
  name: "ClientSendListItem",
304
304
  props: {
305
305
  client: {
@@ -331,7 +331,7 @@ const _e = {
331
331
  };
332
332
  }
333
333
  };
334
- var be = function() {
334
+ var Ce = function() {
335
335
  var s;
336
336
  var e = this, i = e._self._c;
337
337
  return i("div", { staticClass: "flex items-center rc-card", class: {
@@ -352,26 +352,26 @@ var be = function() {
352
352
  } } }), i("CButton", { staticClass: "rc-order__button down", attrs: { type: "none", pattern: "primary", circle: "", raised: "", size: "small", icon: "plus" }, on: { click: function(n) {
353
353
  return n.preventDefault(), n.stopPropagation(), e.$emit("move", 1);
354
354
  } } }), i("div", { staticClass: "rc-order" }, [e._v(" " + e._s(e.client.signOrder) + " ")])], 1) : i("BaseIcon", { staticClass: "text-primary-500", staticStyle: { "margin-right": "8px", flex: "0 0 18px" }, attrs: { type: e.isSender ? "send" : ["signee", "approver"].includes(e.client.documentRole) ? "pen-tool" : "eye", size: "18" } })], 1), i("div", { staticClass: "rc-data truncate-text" }, [e.client.name || e.client.companyName ? i("div", { staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(e.client.name || e.client.companyName) + " ")]) : e.isSender ? i("div", { staticClass: "text-gray-500" }, [e._v(" " + e._s(e.$t("_common:empty", { thing: e.$t("_common:reference") })) + " ")]) : i("div", { staticClass: "text-gray-500" }, [e._v(" " + e._s(e.$t("_common:missing", { thing: e.$t("_common:name") })) + " ")]), i("div", { staticClass: "text-gray-700", staticStyle: { "font-size": "12px" } }, [e.isSender ? [e.isSender ? i("span", [e._v(" " + e._s(e.$t("_common:documentRole.sender.description")) + " ")]) : e._e(), e.client.documentRole === "signee" ? i("span", [e._v(" " + e._s(e.$t(`_common:documentRole.${e.client.documentRole}.description`)) + " ")]) : e._e()] : [((s = e.client.answerMethod) == null ? void 0 : s.accept) === "inPerson" ? i("span", { staticClass: "text-red-500" }, [e._v(" " + e._s(e.$t("_common:signMethod.title")) + ": "), i("span", [e._v(" " + e._s(e.$t("_common:signMethod.inPerson")) + " ")])]) : e._e(), e.client.documentRole ? i("span", [e._v(" " + e._s(e.$t(`_common:documentRole.${e.client.documentRole}.description`)) + " ")]) : e._e(), e.client.email ? i("span", [e._v(e._s(e.client.email))]) : e._e(), e.client.cellphone ? i("span", [e._v(e._s(e.client.cellphone))]) : e._e()]], 2)])], e.rightButton ? i("transition", { attrs: { name: "fade-100" } }, [e.isHover || e.isDropdownOpen ? [e.isSender ? i("CDropdown", { ref: "dropdown", staticStyle: { position: "absolute", right: "calc(0.5 * var(--rem))" }, attrs: { position: "is-bottom-left", "menu-styling": {
355
- width: "220px"
356
- } }, on: { "active-change": function(n) {
355
+ minWidth: "220px"
356
+ }, "append-to-body": "" }, on: { "active-change": function(n) {
357
357
  e.isDropdownOpen = n;
358
358
  } }, nativeOn: { click: function(n) {
359
359
  n.stopPropagation();
360
360
  } } }, [i("CButton", { attrs: { slot: "trigger", circle: "", size: "small", type: "none", pattern: "secondary", raised: "", icon: "more-horizontal" }, slot: "trigger" }), e._t("dropdownOptions")], 2) : 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) {
361
361
  return n.stopPropagation(), e.$emit("remove");
362
362
  } } })] : e._e()], 2) : e._e()], 2);
363
- }, Ce = [], we = /* @__PURE__ */ o(
364
- _e,
363
+ }, xe = [], we = /* @__PURE__ */ o(
365
364
  be,
366
365
  Ce,
366
+ xe,
367
367
  !1,
368
368
  null,
369
- "f79634fd",
369
+ "61843b60",
370
370
  null,
371
371
  null
372
372
  );
373
373
  const L = we.exports;
374
- const xe = {
374
+ const Se = {
375
375
  name: "SenderBlockItem",
376
376
  i18nOptions: {
377
377
  namespaces: "senderBlockItem",
@@ -435,7 +435,7 @@ const xe = {
435
435
  "data.defaultAnswerMethod"
436
436
  );
437
437
  this.senderClientData = {
438
- ...U(),
438
+ ...Q(),
439
439
  documentRole: "recipient",
440
440
  ...i && { answerMethod: i },
441
441
  ...this.senderClient,
@@ -462,7 +462,7 @@ const xe = {
462
462
  }
463
463
  }
464
464
  };
465
- var Se = function() {
465
+ var $e = function() {
466
466
  var e = this, i = e._self._c;
467
467
  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([
468
468
  "login",
@@ -473,17 +473,17 @@ var Se = function() {
473
473
  return e.setSenderMethod(s);
474
474
  } } }, [e._v(" " + e._s(e.$t(`_common:signMethod.${s}`)) + " ")]);
475
475
  })] : i("div", { staticClass: "text-gray-700 bg-gray-100", 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();
476
- }, $e = [], ke = /* @__PURE__ */ o(
477
- xe,
476
+ }, ke = [], De = /* @__PURE__ */ o(
478
477
  Se,
479
478
  $e,
479
+ ke,
480
480
  !1,
481
481
  null,
482
482
  "efe65a3e",
483
483
  null,
484
484
  null
485
485
  );
486
- const De = ke.exports, Ve = {
486
+ const Ve = De.exports, Fe = {
487
487
  sv: {
488
488
  title: "Skicka dokument",
489
489
  nameLabel: "Dokumentnamn",
@@ -550,7 +550,7 @@ const De = ke.exports, Ve = {
550
550
  }
551
551
  }
552
552
  }
553
- }, Fe = {
553
+ }, Ae = {
554
554
  sv: {
555
555
  addFirstButton: "Lägg till mottagare",
556
556
  addButton: "Lägg till mottagare",
@@ -568,16 +568,16 @@ const De = ke.exports, Ve = {
568
568
  }
569
569
  }
570
570
  };
571
- const Ae = {
571
+ const Be = {
572
572
  name: "RecipientBlock",
573
573
  i18nOptions: {
574
574
  namespaces: "recipientBlock",
575
- messages: Fe
575
+ messages: Ae
576
576
  },
577
577
  components: {
578
- AddClientCallout: J,
578
+ AddClientCallout: Z,
579
579
  RecipientBlockItem: L,
580
- SenderBlockItem: De
580
+ SenderBlockItem: Ve
581
581
  },
582
582
  mixins: [
583
583
  m(["clients"], {
@@ -623,7 +623,7 @@ const Ae = {
623
623
  },
624
624
  methods: {
625
625
  onMoveRecipient({ index: t, direction: e }) {
626
- this.clients = Q(this.clients).set(
626
+ this.clients = Y(this.clients).set(
627
627
  {
628
628
  ...this.clients[t],
629
629
  signOrder: Math.max(this.clients[t].signOrder + e, 0)
@@ -650,12 +650,13 @@ const Ae = {
650
650
  },
651
651
  openClientModal(t = 0) {
652
652
  const e = c(this, `clients[${t}].signOrder`);
653
- this.$modal.show(Z, {
653
+ this.$modal.show(ee, {
654
654
  documentClientIndex: t,
655
655
  ...this.useSignOrder && {
656
- signOrder: Y(e) === "number" ? e : this.maxSignOrder + 1
656
+ signOrder: G(e) === "number" ? e : this.maxSignOrder + 1
657
657
  },
658
658
  setFormValue: this.setFormValue,
659
+ removeFormValue: this.removeFormValue,
659
660
  isPublicForm: this.isPublicForm
660
661
  });
661
662
  },
@@ -664,7 +665,7 @@ const Ae = {
664
665
  }
665
666
  }
666
667
  };
667
- var Be = function() {
668
+ var Ie = function() {
668
669
  var e = this, i = e._self._c;
669
670
  return i("div", [e.compact ? e._e() : [i("div", { staticClass: "text-gray-900 text-xs font-medium pb-0.5" }, [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 text-gray-500 text-xs pb-0.5 pt-2", class: { "block-title__line": !e.compact } }, [e.compact ? e._e() : i("div", { staticClass: "text-gray-900 font-medium" }, [e._v(" " + e._s(e.$t("_common:to").capitalize()) + ": ")]), e.clients && e.clients.length ? i("div", { staticClass: "inline-flex items-center justify-end ml-auto" }, [i("BaseIcon", { 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: "font-medium mr-2" }, [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) {
670
671
  return [n > 0 && s.signOrder !== e.sortedClients[n - 1].signOrder ? i("div", { key: n, staticClass: "h-2 pl-6" }, [i("div", { staticClass: "h-full w-0.5 rounded-sm bg-primary-500" })]) : e._e(), i("div", { key: s._uniqueId, staticClass: "mt-px mb-0.5" }, [i("RecipientBlockItem", { class: {
@@ -693,30 +694,30 @@ var Be = function() {
693
694
  } } }, [e._v(" " + e._s(e.$t("addFirstButton")) + " ")]) : e.compact ? e._e() : i("AddClientCallout", { attrs: { compact: !0 }, on: { add: function(s) {
694
695
  return e.openClientModal(e.clients.length);
695
696
  }, setClient: e.setClient } })], 2);
696
- }, Ie = [], Oe = /* @__PURE__ */ o(
697
- Ae,
697
+ }, Oe = [], Te = /* @__PURE__ */ o(
698
698
  Be,
699
699
  Ie,
700
+ Oe,
700
701
  !1,
701
702
  null,
702
- "d0f5a170",
703
+ "5588557f",
703
704
  null,
704
705
  null
705
706
  );
706
- const Pe = Oe.exports;
707
- const Te = {
707
+ const Pe = Te.exports;
708
+ const Re = {
708
709
  name: "SendForm",
709
710
  i18nOptions: {
710
711
  namespaces: "sendForm",
711
- messages: Ve
712
+ messages: Fe
712
713
  },
713
714
  components: {
714
715
  Simplebar: q,
715
716
  BaseDatePicker: I,
716
717
  RecipientBlock: Pe,
717
- ErrorCallout: j,
718
- IsPremiumPreStep: K,
719
- IsPremium: W
718
+ ErrorCallout: K,
719
+ IsPremiumPreStep: W,
720
+ IsPremium: X
720
721
  },
721
722
  mixins: [
722
723
  m(
@@ -893,7 +894,7 @@ const Te = {
893
894
  },
894
895
  openReminders() {
895
896
  this.useSignOrder || this.$modal.show(
896
- pe,
897
+ he,
897
898
  {
898
899
  _document: this._document,
899
900
  setFormValue: this.setFormValue,
@@ -909,7 +910,7 @@ const Te = {
909
910
  },
910
911
  openSendLater() {
911
912
  this.$v.$touch(), !this.$v.$invalid && this.$modal.show(
912
- ye,
913
+ _e,
913
914
  {
914
915
  _document: this._document,
915
916
  setFormValue: this.setFormValue,
@@ -935,7 +936,7 @@ const Te = {
935
936
  }
936
937
  }
937
938
  };
938
- var Re = function() {
939
+ var Me = function() {
939
940
  var e = this, i = e._self._c;
940
941
  return i("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canUseBankId: s, canUseSms: n }) {
941
942
  var a;
@@ -951,7 +952,7 @@ var Re = function() {
951
952
  } } }, [i("CRadio", { staticClass: "mr-3 pointer-events-none sign-radio", attrs: { value: e.defaultAnswerMethod.accept, "native-value": r.value, type: "secondary", size: "small" } }), i("div", { staticClass: "flex-grow" }, [i("div", { staticClass: "cb-card-title flex items-center justify-between" }, [e._v(" " + e._s(r.title) + " "), r.value === "bankId" && !s ? i("div", { staticClass: "ml-2 text-[10px] font-semibold text-white py-1 px-1.5 leading-none rounded-full bg-primary-500" }, [e._v(" Pro ")]) : e._e()]), i("div", { directives: [{ name: "show", rawName: "v-show", value: e.defaultAnswerMethod.accept === r.value, expression: "defaultAnswerMethod.accept === signMethod.value" }], staticClass: "cb-card-body" }, [e._v(" " + e._s(r.content) + " ")])])], 1);
952
953
  }), 0)]) : e._e(), i("div", { staticClass: "grid items-center gap-2", staticStyle: { "grid-template-columns": "repeat(auto-fit, minmax(200px, 1fr))" } }, [i("div", [i("BaseDatePicker", { staticClass: "relative psuedo-input", attrs: { "custom-el": !0, direction: "end", tabindex: "0" }, model: { value: e.expiresAt, callback: function(r) {
953
954
  e.expiresAt = r;
954
- }, 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", attrs: { icon: "x", size: "small", type: "none", pattern: "secondary" }, on: { click: function(r) {
955
+ }, 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) {
955
956
  r.preventDefault(), r.stopPropagation(), e.expiresAt = void 0, e._document.setDirty("expiresAt");
956
957
  } } }) : 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) {
957
958
  return e.setDeliveryMethod("email", !e.emailActivated);
@@ -993,22 +994,22 @@ var Re = function() {
993
994
  } }], null, !0) })];
994
995
  }), e._t("footer")], 2)], 1)];
995
996
  } }], null, !0) });
996
- }, Me = [], ze = /* @__PURE__ */ o(
997
- Te,
997
+ }, ze = [], Ne = /* @__PURE__ */ o(
998
998
  Re,
999
999
  Me,
1000
+ ze,
1000
1001
  !1,
1001
1002
  null,
1002
- "2e84470c",
1003
+ "f0811c66",
1003
1004
  null,
1004
1005
  null
1005
1006
  );
1006
- const ci = ze.exports, Ee = {
1007
+ const ri = Ne.exports, Ee = {
1007
1008
  name: "CFormField",
1008
1009
  components: {
1009
1010
  CField: z
1010
1011
  },
1011
- extends: G,
1012
+ extends: J,
1012
1013
  computed: {
1013
1014
  type() {
1014
1015
  return this.hasErrors ? "is-danger" : this.isValid ? "is-success" : null;
@@ -1018,20 +1019,20 @@ const ci = ze.exports, Ee = {
1018
1019
  }
1019
1020
  }
1020
1021
  };
1021
- var Ne = function() {
1022
+ var Le = function() {
1022
1023
  var e = this, i = e._self._c;
1023
1024
  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);
1024
- }, Le = [], He = /* @__PURE__ */ o(
1025
+ }, He = [], qe = /* @__PURE__ */ o(
1025
1026
  Ee,
1026
- Ne,
1027
1027
  Le,
1028
+ He,
1028
1029
  !1,
1029
1030
  null,
1030
1031
  null,
1031
1032
  null,
1032
1033
  null
1033
1034
  );
1034
- const qe = He.exports, je = {
1035
+ const je = qe.exports, Ke = {
1035
1036
  name: "CSkeleton",
1036
1037
  functional: !0,
1037
1038
  props: {
@@ -1097,23 +1098,23 @@ const qe = He.exports, je = {
1097
1098
  i
1098
1099
  );
1099
1100
  }
1100
- }, Ke = null, We = null;
1101
- var Xe = /* @__PURE__ */ o(
1102
- je,
1101
+ }, We = null, Xe = null;
1102
+ var Ue = /* @__PURE__ */ o(
1103
1103
  Ke,
1104
1104
  We,
1105
+ Xe,
1105
1106
  !1,
1106
1107
  null,
1107
1108
  null,
1108
1109
  null,
1109
1110
  null
1110
1111
  );
1111
- const w = Xe.exports, Ue = {
1112
+ const x = Ue.exports, Qe = {
1112
1113
  name: "CAutocomplete",
1113
1114
  components: {
1114
- CInput: P
1115
+ CInput: T
1115
1116
  },
1116
- mixins: [T],
1117
+ mixins: [P],
1117
1118
  inheritAttrs: !1,
1118
1119
  props: {
1119
1120
  value: [Number, String],
@@ -1269,13 +1270,13 @@ const w = Xe.exports, Ue = {
1269
1270
  () => this.checkIfReachedTheEndOfScroll(t)
1270
1271
  );
1271
1272
  }
1272
- this.appendToBody && (this.$data._bodyEl = ee(this.$refs.dropdown), this.updateAppendToBody());
1273
+ this.appendToBody && (this.$data._bodyEl = te(this.$refs.dropdown), this.updateAppendToBody());
1273
1274
  },
1274
1275
  beforeDestroy() {
1275
1276
  typeof window < "u" && (document.removeEventListener("click", this.clickedOutside), this.dropdownPosition === "auto" && window.removeEventListener(
1276
1277
  "resize",
1277
1278
  this.calcDropdownInViewportVertical
1278
- )), this.checkInfiniteScroll && this.$refs.dropdown && this.$refs.dropdown.querySelector(".dropdown-content") && this.$refs.dropdown.querySelector(".dropdown-content").removeEventListener("scroll", this.checkIfReachedTheEndOfScroll), this.appendToBody && te(this.$data._bodyEl);
1279
+ )), 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);
1279
1280
  },
1280
1281
  methods: {
1281
1282
  /**
@@ -1334,7 +1335,7 @@ const w = Xe.exports, Ue = {
1334
1335
  */
1335
1336
  getValue(t) {
1336
1337
  if (t !== null)
1337
- return typeof this.customFormatter < "u" ? this.customFormatter(t) : typeof t == "object" ? ie(t, this.field) : t;
1338
+ return typeof this.customFormatter < "u" ? this.customFormatter(t) : typeof t == "object" ? se(t, this.field) : t;
1338
1339
  },
1339
1340
  /**
1340
1341
  * Check if the scroll list inside the dropdown
@@ -1419,7 +1420,7 @@ const w = Xe.exports, Ue = {
1419
1420
  }
1420
1421
  }
1421
1422
  };
1422
- var Qe = function() {
1423
+ var Ye = function() {
1423
1424
  var e = this, i = e._self._c;
1424
1425
  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) {
1425
1426
  if (!s.type.indexOf("key") && e._k(s.keyCode, "esc", 27, s.key, ["Esc", "Escape"]))
@@ -1440,21 +1441,21 @@ var Qe = function() {
1440
1441
  return e.setSelected(s, void 0, a);
1441
1442
  } } }, [e.hasDefaultSlot ? e._t("default", null, { option: s, index: n }) : i("span", [e._v(" " + e._s(e.getValue(s, !0)) + " ")])], 2);
1442
1443
  }), 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);
1443
- }, Ye = [], Ge = /* @__PURE__ */ o(
1444
- Ue,
1444
+ }, Ge = [], Je = /* @__PURE__ */ o(
1445
1445
  Qe,
1446
1446
  Ye,
1447
+ Ge,
1447
1448
  !1,
1448
1449
  null,
1449
1450
  null,
1450
1451
  null,
1451
1452
  null
1452
1453
  );
1453
- const Je = Ge.exports, Ze = {
1454
+ const Ze = Je.exports, et = {
1454
1455
  name: "CRadio",
1455
1456
  mixins: [R]
1456
1457
  };
1457
- var et = function() {
1458
+ var tt = function() {
1458
1459
  var e = this, i = e._self._c;
1459
1460
  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) {
1460
1461
  return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : (s.preventDefault(), e.$refs.label.click());
@@ -1463,17 +1464,17 @@ var et = function() {
1463
1464
  }, change: function(s) {
1464
1465
  e.computedValue = e.nativeValue;
1465
1466
  } } }), i("span", { staticClass: "check", class: `is-${e.type}` }), i("span", { staticClass: "control-label" }, [e._t("default")], 2)]);
1466
- }, tt = [], it = /* @__PURE__ */ o(
1467
- Ze,
1467
+ }, it = [], st = /* @__PURE__ */ o(
1468
1468
  et,
1469
1469
  tt,
1470
+ it,
1470
1471
  !1,
1471
1472
  null,
1472
1473
  null,
1473
1474
  null,
1474
1475
  null
1475
1476
  );
1476
- const x = it.exports, st = {
1477
+ const w = st.exports, nt = {
1477
1478
  name: "CRadioButton",
1478
1479
  mixins: [R],
1479
1480
  components: {
@@ -1492,7 +1493,7 @@ const x = it.exports, st = {
1492
1493
  };
1493
1494
  }
1494
1495
  };
1495
- var nt = function() {
1496
+ var at = function() {
1496
1497
  var e = this, i = e._self._c;
1497
1498
  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) {
1498
1499
  return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : (s.preventDefault(), e.$refs.$el.label.click());
@@ -1505,19 +1506,19 @@ var nt = function() {
1505
1506
  }, change: function(s) {
1506
1507
  e.computedValue = e.nativeValue;
1507
1508
  } } })], 2)], 1);
1508
- }, at = [], rt = /* @__PURE__ */ o(
1509
- st,
1509
+ }, rt = [], ot = /* @__PURE__ */ o(
1510
1510
  nt,
1511
1511
  at,
1512
+ rt,
1512
1513
  !1,
1513
1514
  null,
1514
1515
  null,
1515
1516
  null,
1516
1517
  null
1517
1518
  );
1518
- const S = rt.exports, ot = {
1519
+ const S = ot.exports, lt = {
1519
1520
  name: "CSelect",
1520
- mixins: [T],
1521
+ mixins: [P],
1521
1522
  inheritAttrs: !1,
1522
1523
  props: {
1523
1524
  value: {
@@ -1569,7 +1570,7 @@ const S = rt.exports, ot = {
1569
1570
  }
1570
1571
  }
1571
1572
  };
1572
- var lt = function() {
1573
+ var dt = function() {
1573
1574
  var e = this, i = e._self._c;
1574
1575
  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) {
1575
1576
  e.$emit("blur", s) && e.checkHtml5Validity();
@@ -1584,17 +1585,17 @@ var lt = function() {
1584
1585
  });
1585
1586
  e.computedValue = s.target.multiple ? n : n[0];
1586
1587
  } } }, "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)])]);
1587
- }, dt = [], ct = /* @__PURE__ */ o(
1588
- ot,
1588
+ }, ct = [], ut = /* @__PURE__ */ o(
1589
1589
  lt,
1590
1590
  dt,
1591
+ ct,
1591
1592
  !1,
1592
1593
  null,
1593
1594
  "e050ad8b",
1594
1595
  null,
1595
1596
  null
1596
1597
  );
1597
- const $ = ct.exports, ut = {
1598
+ const $ = ut.exports, mt = {
1598
1599
  name: "CSwitch",
1599
1600
  props: {
1600
1601
  value: [String, Number, Boolean, Function, Object, Array, Date],
@@ -1658,7 +1659,7 @@ const $ = ct.exports, ut = {
1658
1659
  }
1659
1660
  }
1660
1661
  };
1661
- var mt = function() {
1662
+ var pt = function() {
1662
1663
  var e = this, i = e._self._c;
1663
1664
  return i("label", { ref: "label", staticClass: "switch", class: e.newClass, attrs: { disabled: e.disabled }, on: { click: e.focus, keydown: function(s) {
1664
1665
  return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : (s.preventDefault(), e.$refs.label.click());
@@ -1672,17 +1673,17 @@ var mt = function() {
1672
1673
  } else
1673
1674
  e.computedValue = r;
1674
1675
  } } }), i("span", { staticClass: "check", class: [`is-${e.type}`] }), i("span", { staticClass: "control-label" }, [e._t("default")], 2)]);
1675
- }, pt = [], ht = /* @__PURE__ */ o(
1676
- ut,
1676
+ }, ht = [], ft = /* @__PURE__ */ o(
1677
1677
  mt,
1678
1678
  pt,
1679
+ ht,
1679
1680
  !1,
1680
1681
  null,
1681
1682
  "e8ba33eb",
1682
1683
  null,
1683
1684
  null
1684
1685
  );
1685
- const k = ht.exports, ft = {
1686
+ const k = ft.exports, gt = {
1686
1687
  name: "CSlotComponent",
1687
1688
  props: {
1688
1689
  component: {
@@ -1731,10 +1732,10 @@ const k = ht.exports, ft = {
1731
1732
  this.scoped ? this.component.$scopedSlots[this.name](this.props) : this.component.$slots[this.name]
1732
1733
  );
1733
1734
  }
1734
- }, gt = {
1735
+ }, vt = {
1735
1736
  name: "CTabs",
1736
1737
  components: {
1737
- CSlotComponent: ft
1738
+ CSlotComponent: gt
1738
1739
  },
1739
1740
  props: {
1740
1741
  value: [Number, String],
@@ -1847,7 +1848,7 @@ const k = ht.exports, ft = {
1847
1848
  }
1848
1849
  }
1849
1850
  };
1850
- var vt = function() {
1851
+ var yt = function() {
1851
1852
  var e = this, i = e._self._c;
1852
1853
  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) {
1853
1854
  return i("li", { directives: [{ name: "show", rawName: "v-show", value: s.visible, expression: "tabItem.visible" }], key: n, class: {
@@ -1859,17 +1860,17 @@ var vt = function() {
1859
1860
  return e.tabClick(n);
1860
1861
  } } }, [s.icon ? i("BaseIcon", { attrs: { size: e.size, type: s.icon } }) : e._e(), i("span", [e._v(e._s(s.label))])], 1)], 1);
1861
1862
  }), 0)]), i("section", { staticClass: "tab-content", class: { "is-transitioning": e.isTransitioning } }, [e._t("default")], 2)]);
1862
- }, yt = [], _t = /* @__PURE__ */ o(
1863
- gt,
1863
+ }, _t = [], bt = /* @__PURE__ */ o(
1864
1864
  vt,
1865
1865
  yt,
1866
+ _t,
1866
1867
  !1,
1867
1868
  null,
1868
1869
  "e8891cc0",
1869
1870
  null,
1870
1871
  null
1871
1872
  );
1872
- const D = _t.exports, bt = {
1873
+ const D = bt.exports, Ct = {
1873
1874
  name: "CTabItem",
1874
1875
  props: {
1875
1876
  label: String,
@@ -1947,10 +1948,10 @@ const D = _t.exports, bt = {
1947
1948
  [e]
1948
1949
  ) : e;
1949
1950
  }
1950
- }, Ct = null, wt = null;
1951
- var xt = /* @__PURE__ */ o(
1952
- bt,
1951
+ }, xt = null, wt = null;
1952
+ var St = /* @__PURE__ */ o(
1953
1953
  Ct,
1954
+ xt,
1954
1955
  wt,
1955
1956
  !1,
1956
1957
  null,
@@ -1958,7 +1959,7 @@ var xt = /* @__PURE__ */ o(
1958
1959
  null,
1959
1960
  null
1960
1961
  );
1961
- const V = xt.exports, St = {
1962
+ const V = St.exports, $t = {
1962
1963
  name: "CMessage",
1963
1964
  props: {
1964
1965
  type: {
@@ -1975,71 +1976,28 @@ const V = xt.exports, St = {
1975
1976
  }
1976
1977
  }
1977
1978
  };
1978
- var $t = function(e, i) {
1979
+ var kt = function(e, i) {
1979
1980
  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)]);
1980
- }, kt = [], Dt = /* @__PURE__ */ o(
1981
- St,
1981
+ }, Dt = [], Vt = /* @__PURE__ */ o(
1982
1982
  $t,
1983
1983
  kt,
1984
+ Dt,
1984
1985
  !0,
1985
1986
  null,
1986
1987
  "9be3b227",
1987
1988
  null,
1988
1989
  null
1989
1990
  );
1990
- const F = Dt.exports, Vt = {
1991
- name: "FlagIcon",
1992
- props: {
1993
- region: {
1994
- type: String,
1995
- default: null
1996
- },
1997
- title: {
1998
- type: String,
1999
- default: null
2000
- },
2001
- isSquared: {
2002
- type: Boolean,
2003
- default: !1
2004
- }
2005
- },
2006
- mounted() {
2007
- var a, r;
2008
- const t = "FLAG_ICONS", e = (r = (a = this.$el).getRootNode) == null ? void 0 : r.call(a), s = (e == null ? void 0 : e.toString()) === "[object ShadowRoot]" ? e : document.head;
2009
- if (s.querySelector(`#${t}`))
2010
- return;
2011
- const n = document.createElement("link");
2012
- n.id = t, n.rel = "stylesheet", n.type = "text/css", n.href = "https://www.unpkg.com/flag-icons@6.6.6/css/flag-icons.min.css", n.media = "all", s.appendChild(n);
2013
- }
2014
- };
2015
- var Ft = function() {
2016
- var e = this, i = e._self._c;
2017
- return e.region ? i("span", { staticClass: "fi", class: [
2018
- `fi-${this.region.toLowerCase()}`,
2019
- {
2020
- fis: this.isSquared
2021
- }
2022
- ], attrs: { title: e.title || e.region } }) : e._e();
2023
- }, At = [], Bt = /* @__PURE__ */ o(
2024
- Vt,
2025
- Ft,
2026
- At,
2027
- !1,
2028
- null,
2029
- null,
2030
- null,
2031
- null
2032
- );
2033
- const It = Bt.exports, Ot = {
1991
+ const F = Vt.exports, Ft = {
2034
1992
  name: "CPhoneInput",
2035
1993
  components: {
2036
- Flag: It,
2037
- CInput: P,
1994
+ Flag: j,
1995
+ CInput: T,
2038
1996
  CDropdown: h,
2039
1997
  CDropdownItem: f,
2040
1998
  CButton: M,
2041
1999
  CField: z,
2042
- SmartList: se
2000
+ SmartList: ne
2043
2001
  },
2044
2002
  props: {
2045
2003
  value: {
@@ -2131,7 +2089,7 @@ const It = Bt.exports, Ot = {
2131
2089
  }
2132
2090
  }
2133
2091
  };
2134
- var Pt = function() {
2092
+ var At = function() {
2135
2093
  var e = this, i = e._self._c;
2136
2094
  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 }) {
2137
2095
  return [i("CDropdown", { staticClass: "control", staticStyle: { height: "100%" }, attrs: { size: e.$attrs.size, disabled: e.$attrs.disabled, "menu-styling": {
@@ -2146,17 +2104,17 @@ var Pt = function() {
2146
2104
  } }]) })], 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) {
2147
2105
  e.phone = s;
2148
2106
  }, expression: "phone" } }, "CInput", { ...e.$attrs, ...e.$props }, !1))], 1)], 1);
2149
- }, Tt = [], Rt = /* @__PURE__ */ o(
2150
- Ot,
2151
- Pt,
2152
- Tt,
2107
+ }, Bt = [], It = /* @__PURE__ */ o(
2108
+ Ft,
2109
+ At,
2110
+ Bt,
2153
2111
  !1,
2154
2112
  null,
2155
2113
  null,
2156
2114
  null,
2157
2115
  null
2158
2116
  );
2159
- const A = Rt.exports, Mt = {
2117
+ const A = It.exports, Ot = {
2160
2118
  name: "CSliderThumb",
2161
2119
  inheritAttrs: !1,
2162
2120
  props: {
@@ -2255,7 +2213,7 @@ const A = Rt.exports, Mt = {
2255
2213
  }
2256
2214
  }
2257
2215
  };
2258
- var zt = function() {
2216
+ var Tt = function() {
2259
2217
  var e = this, i = e._self._c;
2260
2218
  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) {
2261
2219
  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));
@@ -2270,17 +2228,17 @@ var zt = function() {
2270
2228
  }, function(s) {
2271
2229
  return !s.type.indexOf("key") && e._k(s.keyCode, "end", void 0, s.key, void 0) ? null : (s.preventDefault(), e.onEndKeyDown.apply(null, arguments));
2272
2230
  }] } }, "div", e.$attrs, !1))]);
2273
- }, Et = [], Nt = /* @__PURE__ */ o(
2274
- Mt,
2275
- zt,
2276
- Et,
2231
+ }, Pt = [], Rt = /* @__PURE__ */ o(
2232
+ Ot,
2233
+ Tt,
2234
+ Pt,
2277
2235
  !1,
2278
2236
  null,
2279
2237
  null,
2280
2238
  null,
2281
2239
  null
2282
2240
  );
2283
- const Lt = Nt.exports, Ht = {
2241
+ const Mt = Rt.exports, zt = {
2284
2242
  name: "CSliderTick",
2285
2243
  props: {
2286
2244
  value: {
@@ -2307,24 +2265,24 @@ const Lt = Nt.exports, Ht = {
2307
2265
  }
2308
2266
  }
2309
2267
  };
2310
- var qt = function() {
2268
+ var Nt = function() {
2311
2269
  var e = this, i = e._self._c;
2312
2270
  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()]);
2313
- }, jt = [], Kt = /* @__PURE__ */ o(
2314
- Ht,
2315
- qt,
2316
- jt,
2271
+ }, Et = [], Lt = /* @__PURE__ */ o(
2272
+ zt,
2273
+ Nt,
2274
+ Et,
2317
2275
  !1,
2318
2276
  null,
2319
2277
  null,
2320
2278
  null,
2321
2279
  null
2322
2280
  );
2323
- const Wt = Kt.exports, Xt = {
2281
+ const Ht = Lt.exports, qt = {
2324
2282
  name: "CSlider",
2325
2283
  components: {
2326
- CSliderThumb: Lt,
2327
- CSliderTick: Wt
2284
+ CSliderThumb: Mt,
2285
+ CSliderTick: Ht
2328
2286
  },
2329
2287
  props: {
2330
2288
  value: {
@@ -2509,7 +2467,7 @@ const Wt = Kt.exports, Xt = {
2509
2467
  }
2510
2468
  }
2511
2469
  };
2512
- var Ut = function() {
2470
+ var jt = function() {
2513
2471
  var e = this, i = e._self._c;
2514
2472
  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) {
2515
2473
  return i("CSliderTick", { key: n, attrs: { value: s } });
@@ -2518,22 +2476,22 @@ var Ut = function() {
2518
2476
  }, 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) {
2519
2477
  e.value2 = s;
2520
2478
  }, expression: "value2" } }) : e._e()], 2)]);
2521
- }, Qt = [], Yt = /* @__PURE__ */ o(
2522
- Xt,
2523
- Ut,
2524
- Qt,
2479
+ }, Kt = [], Wt = /* @__PURE__ */ o(
2480
+ qt,
2481
+ jt,
2482
+ Kt,
2525
2483
  !1,
2526
2484
  null,
2527
2485
  null,
2528
2486
  null,
2529
2487
  null
2530
2488
  );
2531
- const B = Yt.exports;
2532
- function ui(t) {
2533
- t.component(w.name, w), t.component("CAutocomplete", Je), t.component(y.name, y), t.component(x.name, x), t.component(S.name, S), t.component(h.name, h), t.component(f.name, f), t.component($.name, $), t.component(_.name, _), t.component(k.name, k), t.component(D.name, D), t.component(V.name, V), t.component("CField", qe), t.component(F.name, F), t.component(A.name, A), t.component(B.name, B);
2489
+ const B = Wt.exports;
2490
+ function oi(t) {
2491
+ t.component(x.name, x), t.component("CAutocomplete", Ze), t.component(y.name, y), t.component(w.name, w), t.component(S.name, S), t.component(h.name, h), t.component(f.name, f), t.component($.name, $), t.component(_.name, _), t.component(k.name, k), t.component(D.name, D), t.component(V.name, V), t.component("CField", je), t.component(F.name, F), t.component(A.name, A), t.component(B.name, B);
2534
2492
  }
2535
2493
  export {
2536
- qe as C,
2537
- ci as S,
2538
- ui as i
2494
+ je as C,
2495
+ ri as S,
2496
+ oi as i
2539
2497
  };