@cling-se/widget 0.19.5 → 0.19.7

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 (128) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{AddClientCallout-B3NbV9vX.js → AddClientCallout-BdGevuQo.js} +6 -6
  3. package/dist/{AnswerModal-C_at-56v.js → AnswerModal-DfjF-RVP.js} +3 -3
  4. package/dist/{AttachmentItem-C4kyomn3.js → AttachmentItem-BEd3qVAo.js} +17 -17
  5. package/dist/{BaseUpload-Z3O2bebR.js → BaseUpload-Zm4EX8ir.js} +2 -2
  6. package/dist/{BlockMedia-BSGtFCsS.js → BlockMedia-ZHaA4OMV.js} +14 -14
  7. package/dist/CCallout-BlglVZrm.js +124 -0
  8. package/dist/{CCurrencyDropdown-CyFge_fD.js → CCurrencyDropdown-BzvKsm1N.js} +9 -9
  9. package/dist/{CDropdownItem-BWmAQwpG.js → CDropdownItem-B5rgSee7.js} +7 -7
  10. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-DzcNo15Q.js → CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js} +18 -18
  11. package/dist/{CPhoneFormat-D-BGsI3p.js → CPhoneFormat-DaDNMlmK.js} +1 -1
  12. package/dist/{CPhoneInput-Dl7BSG8y.js → CPhoneInput-BUogm59J.js} +18 -18
  13. package/dist/{CPriceInput-C8Os9b3V.js → CPriceInput-Cd5OHMJS.js} +11 -11
  14. package/dist/CSelect-CmoAbVkP.js +129 -0
  15. package/dist/CSkeleton-BF6EYj8H.js +47 -0
  16. package/dist/{ClientAutocomplete-0XPP0tZr.js → ClientAutocomplete-CHfp4YiV.js} +18 -18
  17. package/dist/{ClientModal-Ddv5YiOD.js → ClientModal-Com23Qgc.js} +31 -31
  18. package/dist/{ColorPicker-ClWlJZqh.js → ColorPicker-BzdHtZep.js} +26 -26
  19. package/dist/{CompanyModal-CdisHhTQ.js → CompanyModal-CGjSgTEJ.js} +16 -16
  20. package/dist/{ContentWrapper-BZ_ff5l9.js → ContentWrapper-CS-Bh4Bk.js} +21 -21
  21. package/dist/{CoverBlockSettings-C3F4jTwa.js → CoverBlockSettings-DDHQzLdc.js} +28 -28
  22. package/dist/{DocAnswer-BkbWkje5.js → DocAnswer-Cmdsw_CW.js} +2 -2
  23. package/dist/{DocDetails-DxUXsbDV.js → DocDetails-C5Vzh550.js} +28 -28
  24. package/dist/{DocForm-CABBteE8.js → DocForm-DEUVV11n.js} +994 -960
  25. package/dist/{DocFormSend-xGIxXjxv.js → DocFormSend-Dt7N3wCz.js} +2 -2
  26. package/dist/{DocLinks-D01zyA-z.js → DocLinks-C6-Er0rk.js} +2 -2
  27. package/dist/{DocModalBase-DfrPL4tZ.js → DocModalBase-DbuJwHXi.js} +1 -1
  28. package/dist/{DocPrint-BSKYDCQc.js → DocPrint-D_uxg7qD.js} +6 -6
  29. package/dist/{DocReceipt-D5Oqb1cC.js → DocReceipt-D6LP9UAa.js} +16 -16
  30. package/dist/{DocSendReminder-IbCLg9tW.js → DocSendReminder-DopLhyjz.js} +8 -8
  31. package/dist/{DocTextEditor-BVba4QPz.js → DocTextEditor-DeZtzbgm.js} +8 -8
  32. package/dist/{DocTimeline-CaX19zwg.js → DocTimeline-DAWZu_KT.js} +25 -25
  33. package/dist/{DocumentClient-DSQnO5KJ.js → DocumentClient-kxnT6k9s.js} +7 -7
  34. package/dist/{DocumentLayout-CkNcKcB_.js → DocumentLayout-DaVz9SGF.js} +68 -68
  35. package/dist/{DocumentLogotype-DAVtl6S_.js → DocumentLogotype-G-a7gBIC.js} +6 -6
  36. package/dist/{DocumentVoided-DZYqqkrE.js → DocumentVoided-SG_ShMmc.js} +5 -5
  37. package/dist/{EmbedInput-BpVkRhg5.js → EmbedInput-CJL5y3Zj.js} +9 -9
  38. package/dist/{EmbedSettings-BHjex6QD.js → EmbedSettings-B0X6A9Uy.js} +9 -9
  39. package/dist/{ErrorCallout-B9TlMH-g.js → ErrorCallout-xCSfpQWV.js} +7 -7
  40. package/dist/{FilePreviewModal-DP6yokyq.js → FilePreviewModal-Da_pMUoO.js} +6 -6
  41. package/dist/{Flag-D3GdVwWB.js → Flag-wXawyyMO.js} +1 -1
  42. package/dist/{HeaderSettings-sb4vPDsi.js → HeaderSettings-CD3y6-uY.js} +37 -37
  43. package/dist/{ImageSelectModal-CicYONc-.js → ImageSelectModal-DatnXHH1.js} +5 -5
  44. package/dist/{ImageUploadWrapper-CLq06imX.js → ImageUploadWrapper-CwKe3Iq7.js} +33 -33
  45. package/dist/{Index-2jg0DL-m.js → Index-1WPEpaVr.js} +4 -4
  46. package/dist/{Index-Dv0eryvg.js → Index-9ZFW8Ka7.js} +4 -4
  47. package/dist/{Index-Be0qeiZi.js → Index-B53eUt7Y.js} +10 -10
  48. package/dist/{Index-BrIFaQcB.js → Index-BJf4YdYB.js} +14 -14
  49. package/dist/{Index-AjcnSKQD.js → Index-BTDQax0X.js} +16 -16
  50. package/dist/{Index-SXJlaLRr.js → Index-Bb6JZC8l.js} +4 -4
  51. package/dist/{Index-DdlkzMzM.js → Index-BbVHxVFJ.js} +20 -20
  52. package/dist/{Index-CoadaoP0.js → Index-BlownK7_.js} +6 -6
  53. package/dist/{Index-BsM0XvZj.js → Index-BvAqglwa.js} +33 -33
  54. package/dist/{Index-CzqNrUn3.js → Index-C-EUJjuk.js} +2 -2
  55. package/dist/{Index-BpObvjSu.js → Index-C2-s62x7.js} +5 -5
  56. package/dist/{Index-DH9dMzsw.js → Index-COF0evH4.js} +10 -10
  57. package/dist/{Index-BtECdggQ.js → Index-CQboLS2e.js} +5 -5
  58. package/dist/{Index-CpGzRzMp.js → Index-CTrX3VRa.js} +5 -5
  59. package/dist/{Index-BU2qksFA.js → Index-CXjLkK_n.js} +13 -13
  60. package/dist/{Index-6H0VT88W.js → Index-Ciy9lnhS.js} +3 -3
  61. package/dist/{Index-BWTeXf8h.js → Index-Cjg3X74T.js} +4 -4
  62. package/dist/{Index-KZslz-16.js → Index-Ck-_9woY.js} +29 -29
  63. package/dist/{Index-DGLmjotr.js → Index-Ct735UtM.js} +2 -2
  64. package/dist/{Index-BePivEDQ.js → Index-D-gJQEAD.js} +3 -3
  65. package/dist/{Index-Bf3O-9-j.js → Index-DAkq_7Ws.js} +11 -11
  66. package/dist/{Index-szvZl8G-.js → Index-DOeHci16.js} +6 -6
  67. package/dist/{Index-BHvpY8xR.js → Index-DfuzxXzD.js} +2 -2
  68. package/dist/{Index-0JuAv1tp.js → Index-Dfy0PsiW.js} +25 -25
  69. package/dist/{Index-DO8qwrXi.js → Index-DjfbgA_7.js} +19 -19
  70. package/dist/{Index-CmDRJ5Xr.js → Index-DkQ8_VkX.js} +8 -8
  71. package/dist/{Index-DPF_0b3a.js → Index-Dxg4gEKd.js} +18 -18
  72. package/dist/{Index-DnnRIESN.js → Index-DzdEqsZB.js} +8 -8
  73. package/dist/{Index--erm1oIh.js → Index-GPliVrhC.js} +5 -5
  74. package/dist/{Index-RhHHrJtM.js → Index-NnBwJv9v.js} +6 -6
  75. package/dist/{Index-BIrwUJlj.js → Index-ezY0DbcB.js} +10 -10
  76. package/dist/Index-qFx0G3fC.js +4 -0
  77. package/dist/{Index-DijI5XXh.js → Index-yS5OPrJJ.js} +2 -2
  78. package/dist/{Index-0imHv6b4.js → Index-y_AJP61r.js} +12 -12
  79. package/dist/{Index.vue_vue_type_script_lang-CXjOi3FM.js → Index.vue_vue_type_script_lang-B3RoDZmC.js} +2 -2
  80. package/dist/{InputToggleRow-3992FkvA.js → InputToggleRow-D5rvQpAw.js} +11 -11
  81. package/dist/{ManualPopover-UiHhIKuw.js → ManualPopover-Bd-GsLGT.js} +6 -6
  82. package/dist/{MediaWrapper-BlaBWAWe.js → MediaWrapper-Ci0XPCcb.js} +3 -3
  83. package/dist/{NotBindingText-C14r7OLr.js → NotBindingText-DhndGZE3.js} +2 -2
  84. package/dist/{PackageGroup-ClZiyb95.js → PackageGroup-4Jt9ClVO.js} +17 -17
  85. package/dist/{PdfTerms-CbVKGNxc.js → PdfTerms-CGeJDJpQ.js} +5 -5
  86. package/dist/{PdfViewer-B_7DfQr7.js → PdfViewer-o2vb6Fya.js} +78 -78
  87. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BM9WSi7y.js → PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js} +1 -1
  88. package/dist/{PriceHeader-DRkCMuGD.js → PriceHeader-BsObxLHK.js} +31 -31
  89. package/dist/{SearchApi-6-uNsMl8.js → SearchApi-ZczKsBb7.js} +1 -1
  90. package/dist/{SendForm-DnwHPbWV.js → SendForm-D5jqkofo.js} +8 -8
  91. package/dist/{Setup-Dz3ZCvFw.js → Setup-CdZzn0qW.js} +1 -1
  92. package/dist/{SmartList-7RooD2fY.js → SmartList-B36ffGAZ.js} +1 -1
  93. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-cAzUeXVM.js → Sortable.vue_vue_type_script_setup_true_lang-Di1urzqu.js} +31 -31
  94. package/dist/{TermsSettings-BEB2t3Ut.js → TermsSettings-CmAHVOuX.js} +14 -14
  95. package/dist/{ThemeColorRow-XE9QcVAy.js → ThemeColorRow-CScTIcPB.js} +6 -6
  96. package/dist/{ToggleBinding-BeXQfpcK.js → ToggleBinding-CVZZlpBR.js} +4 -4
  97. package/dist/{UploadModal-pRlJXk-Y.js → UploadModal-2tXsmGMM.js} +4 -4
  98. package/dist/{VideoPlayerInput-qankN5Ed.js → VideoPlayerInput-BDzjZ2St.js} +9 -9
  99. package/dist/{VideoPlayerSettings-WijGYtE2.js → VideoPlayerSettings-BLAEZw4C.js} +6 -6
  100. package/dist/{VideoSelectModal-Dhb7CmVu.js → VideoSelectModal-iqgmg85K.js} +16 -16
  101. package/dist/{focusDrawerMixin-DELQ4Leq.js → focusDrawerMixin-BmyahQiE.js} +1 -1
  102. package/dist/{formDrawerState-D_OOByIg.js → formDrawerState-B7ASfNsk.js} +1 -1
  103. package/dist/{helpers-BnYWgq30.js → helpers-BVP2Pul1.js} +5 -5
  104. package/dist/{index-CFD_4fv_.js → index-B86TZXOh.js} +32 -32
  105. package/dist/{index-KcSRVleg.js → index-BDb4bM0D.js} +17 -17
  106. package/dist/{index-BIWUM14f.js → index-BH5vwOzR.js} +3 -3
  107. package/dist/{index-BGFTOrwb.js → index-Cd4S4J-L.js} +56 -56
  108. package/dist/{index-DRINkuNg.js → index-CsbYpQqP.js} +44 -43
  109. package/dist/{index-P4A85Ytd.js → index-D0Qee2OX.js} +34 -34
  110. package/dist/{index-6175cimw.js → index-DXNrJnEc.js} +7 -7
  111. package/dist/index.es.js +2 -2
  112. package/dist/index.umd.js +137 -137
  113. package/dist/{main-q_EWffDQ.js → main-C2Q8_T2Y.js} +11468 -11445
  114. package/dist/{mapFormMixin-DjPlsXfr.js → mapFormMixin-CjfqZnmd.js} +6 -6
  115. package/dist/{omit-DWur9Ujv.js → omit-DzlbtNCX.js} +4 -4
  116. package/dist/{publicSenderState-BkZVvtJm.js → publicSenderState-C3ELW8Cw.js} +3 -3
  117. package/dist/{splitpanes-BR5qxnsj.js → splitpanes-CuxtOZyV.js} +1 -1
  118. package/dist/{template-CQlJbqXR.js → template-DzrGrOEa.js} +1 -1
  119. package/dist/{tippy.esm-BABwSp3j.js → tippy.esm-Bf86qEue.js} +89 -89
  120. package/dist/{useTermsModal-Bj2B-TdQ.js → useTermsModal-Be4HLDDm.js} +6 -6
  121. package/dist/{utils-C53ntVIe.js → utils-a_Odlqb5.js} +1 -1
  122. package/dist/{validation-u_PNxOm8.js → validation-38muBV6x.js} +2 -2
  123. package/dist/widget.css +1 -1
  124. package/package.json +1 -1
  125. package/dist/CCallout-DRBCakh2.js +0 -104
  126. package/dist/CSelect-DXAAKhB6.js +0 -98
  127. package/dist/CSkeleton.vue_vue_type_script_setup_true_lang-D_ZP_7FL.js +0 -51
  128. package/dist/Index-B5zszB2v.js +0 -4
@@ -1,5 +1,5 @@
1
- import { C as h } from "./CCurrencyDropdown-CyFge_fD.js";
2
- import { _ as C, I as V, al as I, e as o, o as s, c as l, w as i, b as u, K as p, f as g, d as w, H as k, v as d, L as _ } from "./main-q_EWffDQ.js";
1
+ import { C as h } from "./CCurrencyDropdown-BzvKsm1N.js";
2
+ import { _ as C, z as V, ak as g, e as o, o as s, c as l, w as i, b as u, B as p, f as k, d as w, x as I, t as d, D as _ } from "./main-C2Q8_T2Y.js";
3
3
  const $ = {
4
4
  name: "CPriceInput",
5
5
  inheritAttrs: !1,
@@ -65,7 +65,7 @@ const $ = {
65
65
  }
66
66
  },
67
67
  suffixValue() {
68
- const e = I(this.internalCurrency);
68
+ const e = g(this.internalCurrency);
69
69
  switch (this.priceType) {
70
70
  // case 'approx':
71
71
  // return `${this.$t('_common:approx')} ${currencyString}`;
@@ -86,8 +86,8 @@ const $ = {
86
86
  this.$refs.priceInput && typeof this.$refs.priceInput.focus == "function" && this.$refs.priceInput.focus();
87
87
  }
88
88
  }
89
- }, b = { key: 0 }, v = { key: 0 }, D = { key: 1 }, N = { key: 1 };
90
- function x(e, t, c, z, a, r) {
89
+ }, b = { key: 0 }, D = { key: 0 }, v = { key: 1 }, x = { key: 1 };
90
+ function z(e, t, c, N, a, r) {
91
91
  const f = o("CButton"), m = o("CCurrencyDropdown"), y = o("CInput");
92
92
  return s(), l(y, _({ ...e.$attrs, ...e.$props }, {
93
93
  ref: "priceInput",
@@ -103,12 +103,12 @@ function x(e, t, c, z, a, r) {
103
103
  prefix: i(() => [
104
104
  e.$slots.prefix ? (s(), u("div", b, [
105
105
  p(e.$slots, "prefix")
106
- ])) : g("", !0)
106
+ ])) : k("", !0)
107
107
  ]),
108
108
  suffix: i(() => [
109
- e.$slots.suffix ? (s(), u("div", v, [
109
+ e.$slots.suffix ? (s(), u("div", D, [
110
110
  p(e.$slots, "suffix")
111
- ])) : (s(), u("div", D, [
111
+ ])) : (s(), u("div", v, [
112
112
  r.showCurrencyDropdown ? (s(), l(m, {
113
113
  key: 0,
114
114
  modelValue: r.internalCurrency,
@@ -124,19 +124,19 @@ function x(e, t, c, z, a, r) {
124
124
  style: { "padding-left": "0.5em", "padding-right": "0.5em", "border-radius": "0.25em" }
125
125
  }, {
126
126
  default: i(() => [
127
- k(d(n), 1)
127
+ I(d(n), 1)
128
128
  ]),
129
129
  _: 2
130
130
  }, 1032, ["size"])
131
131
  ]),
132
132
  _: 1
133
- }, 8, ["modelValue"])) : (s(), u("div", N, d(r.suffixValue), 1))
133
+ }, 8, ["modelValue"])) : (s(), u("div", x, d(r.suffixValue), 1))
134
134
  ]))
135
135
  ]),
136
136
  _: 3
137
137
  }, 16, ["modelValue", "size", "placeholder", "style"]);
138
138
  }
139
- const T = /* @__PURE__ */ C($, [["render", x]]);
139
+ const T = /* @__PURE__ */ C($, [["render", z]]);
140
140
  export {
141
141
  T as C
142
142
  };
@@ -0,0 +1,129 @@
1
+ import { _ as y, $ as f, a0 as g, S as b, a1 as i, o as r, b as n, j as d, I as V, a2 as C, D as u, t as S, f as o, B as v, c, y as k, e as m } from "./main-C2Q8_T2Y.js";
2
+ const w = {
3
+ name: "CSelect",
4
+ mixins: [f, g],
5
+ inheritAttrs: !1,
6
+ components: {
7
+ Spinner: b
8
+ },
9
+ props: {
10
+ modelValue: {
11
+ type: [String, Number, Boolean, Object, Array, Function],
12
+ default: null
13
+ },
14
+ placeholder: {
15
+ type: String,
16
+ default: ""
17
+ },
18
+ multiple: Boolean,
19
+ selectClass: {
20
+ type: [String, Object, Array],
21
+ default: ""
22
+ },
23
+ nativeSize: {
24
+ type: [String, Number],
25
+ default: null
26
+ },
27
+ filled: {
28
+ type: Boolean,
29
+ default: !1
30
+ }
31
+ },
32
+ emits: ["blur", "focus", "update:modelValue"],
33
+ data() {
34
+ return {
35
+ selected: this.modelValue,
36
+ _elementRef: "select"
37
+ };
38
+ },
39
+ computed: {
40
+ computedValue: {
41
+ get() {
42
+ return this.selected;
43
+ },
44
+ set(e) {
45
+ this.selected = e, this.$emit("update:modelValue", e), !this.isValid && this.checkHtml5Validity();
46
+ }
47
+ },
48
+ spanClasses() {
49
+ return i(
50
+ "flex items-center justify-start",
51
+ this.size,
52
+ this.statusType,
53
+ this.expanded && "w-full",
54
+ this.multiple && "pr-10",
55
+ this.selected == null && "text-gray-400"
56
+ );
57
+ },
58
+ selectClasses() {
59
+ return i([
60
+ "block max-w-full text-base cursor-pointer text-gray-400",
61
+ "appearance-none border outline-none rounded-md",
62
+ "hover:border-gray-500 focus:border-blue-500 disabled:hover:border-gray-200 border-gray-300 bg-white",
63
+ "pl-3 pr-10 h-12 py-2",
64
+ this.expanded && "w-full",
65
+ this.filled && "bg-gray-100 hover:border-gray-300 focus:border-gray-300 border-gray-200",
66
+ this.multiple && "h-auto py-2 px-4 space-y-2",
67
+ this.rounded && "rounded-l-none rounded-r-full",
68
+ this.selected && "text-gray-900",
69
+ this.selectClass
70
+ ]);
71
+ }
72
+ },
73
+ watch: {
74
+ /**
75
+ * When v-model is changed:
76
+ * 1. Set the selected option.
77
+ * 2. If it's invalid, validate again.
78
+ */
79
+ modelValue(e) {
80
+ this.selected = e, !this.isValid && this.checkHtml5Validity();
81
+ }
82
+ }
83
+ }, x = ["multiple", "size"], B = {
84
+ key: 0,
85
+ value: null,
86
+ disabled: "",
87
+ hidden: ""
88
+ };
89
+ function z(e, t, l, A, j, s) {
90
+ const p = m("CIcon"), h = m("Spinner");
91
+ return r(), n("div", u({
92
+ class: [{ "w-full": e.expanded, "has-icons-left": e.icon }, "relative clear-both box-border cursor-pointer text-left"]
93
+ }, e.rootAttrs), [
94
+ d("span", {
95
+ class: k(s.spanClasses)
96
+ }, [
97
+ V(d("select", u(e.fallthroughAttrs, {
98
+ ref: "select",
99
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => s.computedValue = a),
100
+ multiple: l.multiple,
101
+ size: l.nativeSize,
102
+ class: s.selectClasses,
103
+ onBlur: t[1] || (t[1] = (a) => e.$emit("blur", a) && e.checkHtml5Validity()),
104
+ onFocus: t[2] || (t[2] = (a) => e.$emit("focus", a))
105
+ }), [
106
+ l.placeholder && s.computedValue == null ? (r(), n("option", B, S(l.placeholder), 1)) : o("", !0),
107
+ v(e.$slots, "default")
108
+ ], 16, x), [
109
+ [C, s.computedValue]
110
+ ]),
111
+ !l.multiple && !e.loading ? (r(), c(p, {
112
+ key: 0,
113
+ type: "chevron-down",
114
+ size: "14",
115
+ class: "relative -ml-6 text-gray-900 opacity-75"
116
+ })) : o("", !0),
117
+ e.loading ? (r(), c(h, {
118
+ key: 1,
119
+ size: "16",
120
+ color: "grey",
121
+ class: "-ml-6"
122
+ })) : o("", !0)
123
+ ], 2)
124
+ ], 16);
125
+ }
126
+ const M = /* @__PURE__ */ y(w, [["render", z]]);
127
+ export {
128
+ M as C
129
+ };
@@ -0,0 +1,47 @@
1
+ import { aj as B, as as C, Q as l, at as N, U as e, o as n, b as s, F as w, G as x, y as d, Y as r, f as S, _ as z } from "./main-C2Q8_T2Y.js";
2
+ const F = /* @__PURE__ */ B({
3
+ __name: "CSkeleton",
4
+ props: {
5
+ active: { type: Boolean, default: !0 },
6
+ animated: { type: Boolean, default: !1 },
7
+ width: { default: "" },
8
+ height: { default: "" },
9
+ circle: { type: Boolean, default: !1 },
10
+ rounded: { type: Boolean, default: !0 },
11
+ count: { default: 1 },
12
+ hidden: { type: Boolean, default: !1 },
13
+ color: { default: "" }
14
+ },
15
+ setup(i) {
16
+ const c = i, {
17
+ active: f,
18
+ animated: m,
19
+ width: a,
20
+ height: t,
21
+ circle: v,
22
+ rounded: p,
23
+ count: y,
24
+ hidden: h,
25
+ color: o
26
+ } = C(c), _ = l(() => ({
27
+ height: t.value === void 0 ? void 0 : isNaN(Number(t.value)) ? t.value : `${t.value}px`,
28
+ width: a.value === void 0 ? void 0 : isNaN(Number(a.value)) ? a.value : `${a.value}px`,
29
+ borderRadius: v.value ? "50%" : void 0,
30
+ background: o.value ? o.value : void 0
31
+ })), u = N(), g = l(() => u.style), b = l(() => u.class);
32
+ return (R, $) => e(f) ? (n(), s("div", {
33
+ key: 0,
34
+ class: d(["w-full", { invisible: e(h) }, b.value]),
35
+ style: r(g.value)
36
+ }, [
37
+ (n(!0), s(w, null, x(e(y), (k) => (n(), s("div", {
38
+ key: k,
39
+ class: d(["mt-2 w-full bg-gray-100 bg-[length:400%_100%] leading-none after:content-['\\00a0']", { "rounded-sm": e(p), "animate-skeleton": e(m) }]),
40
+ style: r(_.value)
41
+ }, null, 6))), 128))
42
+ ], 6)) : S("", !0);
43
+ }
44
+ }), A = /* @__PURE__ */ z(F, [["__scopeId", "data-v-700c0d24"]]);
45
+ export {
46
+ A as C
47
+ };
@@ -1,12 +1,12 @@
1
- import { S as O } from "./SearchApi-6-uNsMl8.js";
2
- import { _ as b, I as H, a2 as E, a3 as F, o as d, b as c, d as V, L as S, J as m, ad as v, w as p, O as $, P as T, s as w, l as C, K as y, f, F as x, k as L, n as A, a1 as _, e as g, v as h, aH as D, c as I, H as R } from "./main-q_EWffDQ.js";
3
- import { c as P, r as z, g as N } from "./helpers-BnYWgq30.js";
1
+ import { S as O } from "./SearchApi-ZczKsBb7.js";
2
+ import { _ as b, z as E, $ as H, a0 as F, o as d, b as c, d as V, D as S, A as m, ab as v, w as p, I as $, J as T, j as w, Y as A, B as y, f, F as x, G as _, y as C, Z as L, e as g, t as h, aI as D, c as I, x as R } from "./main-C2Q8_T2Y.js";
3
+ import { c as P, r as z, g as N } from "./helpers-BVP2Pul1.js";
4
4
  const q = {
5
5
  name: "CAutocomplete",
6
6
  components: {
7
- CInput: H
7
+ CInput: E
8
8
  },
9
- mixins: [E, F],
9
+ mixins: [H, F],
10
10
  props: {
11
11
  modelValue: {
12
12
  type: [Number, String],
@@ -382,23 +382,23 @@ function j(e, t, i, l, s, o) {
382
382
  onIconRightClick: o.rightIconClick,
383
383
  onIconClick: t[4] || (t[4] = (n) => e.$emit("icon-click", n))
384
384
  }), null, 16, ["modelValue", "size", "loading", "rounded", "icon", "icon-right", "icon-right-clickable", "icon-pack", "maxlength", "autocomplete", "onUpdate:modelValue", "onFocus", "onBlur", "onKeydown", "onIconRightClick"]),
385
- V(_, { name: "fade" }, {
385
+ V(L, { name: "fade" }, {
386
386
  default: p(() => [
387
387
  $(w("div", {
388
388
  ref: "dropdown",
389
- class: A([{ "is-opened-top": o.isOpenedTop && !i.appendToBody }, "dropdown-menu"]),
390
- style: C(s.style)
389
+ class: C([{ "is-opened-top": o.isOpenedTop && !i.appendToBody }, "dropdown-menu"]),
390
+ style: A(s.style)
391
391
  }, [
392
392
  $(w("div", {
393
- style: C(o.contentStyle),
393
+ style: A(o.contentStyle),
394
394
  class: "dropdown-content"
395
395
  }, [
396
396
  o.hasHeaderSlot ? (d(), c("div", M, [
397
397
  y(e.$slots, "header")
398
398
  ])) : f("", !0),
399
- (d(!0), c(x, null, L(i.data, (n, u) => (d(), c("a", {
399
+ (d(!0), c(x, null, _(i.data, (n, u) => (d(), c("a", {
400
400
  key: u,
401
- class: A([{ "is-hovered": n === s.hovered }, "dropdown-item"]),
401
+ class: C([{ "is-hovered": n === s.hovered }, "dropdown-item"]),
402
402
  onClick: (k) => o.setSelected(n, void 0, k)
403
403
  }, [
404
404
  o.hasDefaultSlot ? y(e.$slots, "default", {
@@ -424,7 +424,7 @@ function j(e, t, i, l, s, o) {
424
424
  })
425
425
  ], 16);
426
426
  }
427
- const J = /* @__PURE__ */ b(q, [["render", j]]), X = {
427
+ const Y = /* @__PURE__ */ b(q, [["render", j]]), G = {
428
428
  i18nOptions: {
429
429
  namespaces: "components",
430
430
  keyPrefix: "account.documentForm.clients"
@@ -432,7 +432,7 @@ const J = /* @__PURE__ */ b(q, [["render", j]]), X = {
432
432
  name: "ClientAutocomplete",
433
433
  components: {
434
434
  SearchApi: O,
435
- CAutocomplete: J
435
+ CAutocomplete: Y
436
436
  },
437
437
  props: {
438
438
  searchEnabled: {
@@ -472,7 +472,7 @@ const J = /* @__PURE__ */ b(q, [["render", j]]), X = {
472
472
  }));
473
473
  }
474
474
  }
475
- }, Y = { style: { "line-height": "1.5" } }, G = { style: { "font-weight": "500" } }, Z = {
475
+ }, J = { style: { "line-height": "1.5" } }, X = { style: { "font-weight": "500" } }, Z = {
476
476
  class: "text-gray-600",
477
477
  style: { "font-size": "14px" }
478
478
  }, ee = { key: 0 }, te = { key: 0 };
@@ -494,8 +494,8 @@ function ie(e, t, i, l, s, o) {
494
494
  onSelect: t[1] || (t[1] = (r) => e.$emit("setClient", s.convertToNewClient(r)))
495
495
  }), {
496
496
  default: p(({ option: r }) => [
497
- w("div", Y, [
498
- w("div", G, h(r.name || r.email), 1),
497
+ w("div", J, [
498
+ w("div", X, h(r.name || r.email), 1),
499
499
  w("div", Z, h(r.reference ? `${r.reference} · ` : "") + " " + h(r.workStreet || r.street || " "), 1)
500
500
  ])
501
501
  ]),
@@ -525,8 +525,8 @@ function ie(e, t, i, l, s, o) {
525
525
  _: 1
526
526
  });
527
527
  }
528
- const le = /* @__PURE__ */ b(X, [["render", ie]]);
528
+ const le = /* @__PURE__ */ b(G, [["render", ie]]);
529
529
  export {
530
530
  le as C,
531
- J as a
531
+ Y as a
532
532
  };
@@ -1,11 +1,11 @@
1
- import { C as L } from "./ClientAutocomplete-0XPP0tZr.js";
2
- import { _ as z, aU as j, o as f, b as h, O as Z, aV as H, s as i, ad as N, n as y, K as Y, J as G, ai as B, ap as K, m as P, ak as J, v as r, d as n, w as a, c as b, f as v, F as O, k as F, H as C, e as g, A as k, aj as Q, N as X, p as _, a as x, g as q, be as ee, aH as te } from "./main-q_EWffDQ.js";
3
- import { C as oe, a as ne, w as E } from "./CDropdownItem-BWmAQwpG.js";
4
- import { _ as le } from "./CFormField.vue_vue_type_script_setup_true_lang-DzcNo15Q.js";
5
- import { C as ae } from "./CPhoneInput-Dl7BSG8y.js";
6
- import { u as ie } from "./index-CFD_4fv_.js";
7
- import { r as se, a as $, e as re } from "./index-BIWUM14f.js";
8
- import { o as de } from "./omit-DWur9Ujv.js";
1
+ import { C as L } from "./ClientAutocomplete-CHfp4YiV.js";
2
+ import { _ as z, aV as j, o as f, b as h, I as Z, aW as G, j as i, ab as N, y, B as Y, A as H, ag as B, ao as K, m as P, ai as J, t as r, d as n, w as a, c as b, f as v, F as O, G as F, x as C, e as g, n as k, ah as Q, H as X, h as _, a as x, g as q, bf as ee, aI as te } from "./main-C2Q8_T2Y.js";
3
+ import { C as oe, a as ne, w as E } from "./CDropdownItem-B5rgSee7.js";
4
+ import { _ as le } from "./CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js";
5
+ import { C as ae } from "./CPhoneInput-BUogm59J.js";
6
+ import { u as ie } from "./index-B86TZXOh.js";
7
+ import { r as se, a as $, e as re } from "./index-BH5vwOzR.js";
8
+ import { o as de } from "./omit-DzlbtNCX.js";
9
9
  const me = {
10
10
  name: "CRadio",
11
11
  mixins: [j]
@@ -16,7 +16,7 @@ function fe(e, t, s, d, u, l) {
16
16
  class: y([[`is-${e.size}`, { "is-disabled": e.disabled }], "b-radio radio"]),
17
17
  disabled: e.disabledOrUndefined,
18
18
  onClick: t[2] || (t[2] = (...c) => e.focus && e.focus(...c)),
19
- onKeydown: t[3] || (t[3] = G(N((c) => e.$refs.label.click(), ["prevent"]), ["enter"]))
19
+ onKeydown: t[3] || (t[3] = H(N((c) => e.$refs.label.click(), ["prevent"]), ["enter"]))
20
20
  }, [
21
21
  Z(i("input", {
22
22
  ref: "input",
@@ -29,7 +29,7 @@ function fe(e, t, s, d, u, l) {
29
29
  onClick: t[1] || (t[1] = N(() => {
30
30
  }, ["stop"]))
31
31
  }, null, 8, pe), [
32
- [H, e.computedValue]
32
+ [G, e.computedValue]
33
33
  ]),
34
34
  i("span", {
35
35
  class: y([`is-${e.type}`, "check"])
@@ -40,7 +40,7 @@ function fe(e, t, s, d, u, l) {
40
40
  ], 42, ue);
41
41
  }
42
42
  const ge = /* @__PURE__ */ z(me, [["render", fe]]);
43
- function T(e) {
43
+ function W(e) {
44
44
  if (typeof e > "u") throw Error("Missing param inputParam");
45
45
  let t = e;
46
46
  Number.isInteger(t) && (t = t.toString());
@@ -53,7 +53,7 @@ function T(e) {
53
53
  }
54
54
  function A(e) {
55
55
  let t = e.replace(/ /g, "");
56
- return t = t.replace(/-/g, ""), !T(t) || (t = [t.slice(0, 6), "-", t.slice(6)].join(""), !t.match(/^(\d{6})-(\d{4})$/)) ? !1 : t;
56
+ return t = t.replace(/-/g, ""), !W(t) || (t = [t.slice(0, 6), "-", t.slice(6)].join(""), !t.match(/^(\d{6})-(\d{4})$/)) ? !1 : t;
57
57
  }
58
58
  function V(e) {
59
59
  if (typeof e > "u" || e === null || e === "")
@@ -68,7 +68,7 @@ function V(e) {
68
68
  );
69
69
  parseInt(u, 10) === 19 || parseInt(u, 10) === 20 || (parseInt(u, 10) >= 0 && parseInt(u, 10) <= c ? t = `20${t}` : t = `19${t}`);
70
70
  }
71
- return (/* @__PURE__ */ new Date()).getFullYear() - parseInt(t.substring(0, 4), 10) < 16 ? !1 : T(t.substring(2)) ? t : !1;
71
+ return (/* @__PURE__ */ new Date()).getFullYear() - parseInt(t.substring(0, 4), 10) < 16 ? !1 : W(t.substring(2)) ? t : !1;
72
72
  }
73
73
  const he = {
74
74
  sv: {
@@ -369,7 +369,7 @@ const he = {
369
369
  }, be = { class: "form-client" }, Ce = { class: "space-between flex flex-wrap items-center pb-6" }, we = {
370
370
  class: "flex-grow",
371
371
  style: { "font-weight": "600", "font-size": "20px" }
372
- }, ke = { class: "type-toggle" }, $e = { style: { "line-height": "1.25", padding: "4px 0" } }, Ve = { style: { "font-size": "12px", opacity: "0.7" } }, Ne = { style: { "line-height": "1.25", padding: "4px 0" } }, Se = { style: { "font-size": "12px", opacity: "0.7" } }, Ie = {
372
+ }, ke = { class: "type-toggle" }, $e = { style: { "line-height": "1.25", padding: "4px 0" } }, Ve = { style: { "font-size": "12px", opacity: "0.7" } }, Ne = { style: { "line-height": "1.25", padding: "4px 0" } }, Ie = { style: { "font-size": "12px", opacity: "0.7" } }, Se = {
373
373
  class: "flex items-center justify-center",
374
374
  style: { "margin-bottom": "calc(2.5 * var(--rem))" }
375
375
  }, Me = { class: "type-toggle" }, Oe = { key: 0 }, Fe = {
@@ -378,12 +378,12 @@ const he = {
378
378
  }, ze = { class: "my-1 text-sm text-gray-600" }, Re = { class: "py-1 leading-5" }, De = { class: "text-xs opacity-70" }, Ue = { style: { "line-height": "1.25", padding: "4px 0" } }, qe = { style: { "font-size": "12px", opacity: "0.7" } }, Ae = {
379
379
  key: 1,
380
380
  class: "dropdown-field-wrapper flex min-w-0 flex-col"
381
- }, Be = { class: "my-1 text-sm text-gray-600" }, Pe = { class: "max-w-[calc(16_*_var(--rem))] py-1 leading-5" }, Ee = { class: "truncate text-xs opacity-70" }, Te = { style: { "line-height": "1.25", padding: "4px 0" } }, We = {
381
+ }, Be = { class: "my-1 text-sm text-gray-600" }, Pe = { class: "max-w-[calc(16_*_var(--rem))] py-1 leading-5" }, Ee = { class: "truncate text-xs opacity-70" }, We = { style: { "line-height": "1.25", padding: "4px 0" } }, Te = {
382
382
  class: "max-w-[calc(12_*_var(--rem))] truncate",
383
383
  style: { "font-size": "12px", opacity: "0.7", "text-wrap": "wrap" }
384
384
  }, Le = { style: { "margin-top": "calc(3 * var(--rem))" } };
385
385
  function je(e, t, s, d, u, l) {
386
- const c = g("ClientAutocomplete"), m = g("CField"), p = g("CInput"), S = g("Animation"), R = g("CPhoneInput"), w = g("CButton"), I = g("CDropdownItem"), M = g("CDropdown"), W = g("CCheckbox"), D = g("CRadio");
386
+ const c = g("ClientAutocomplete"), m = g("CField"), p = g("CInput"), I = g("Animation"), R = g("CPhoneInput"), w = g("CButton"), S = g("CDropdownItem"), M = g("CDropdown"), T = g("CCheckbox"), D = g("CRadio");
387
387
  return f(), h("div", be, [
388
388
  s.simpleForm ? (f(), h("form", {
389
389
  key: 0,
@@ -422,7 +422,7 @@ function je(e, t, s, d, u, l) {
422
422
  ]),
423
423
  _: 1
424
424
  }, 8, ["label", "validator", "messages"]),
425
- n(S, null, {
425
+ n(I, null, {
426
426
  default: a(() => [
427
427
  l.isIndivid ? v("", !0) : (f(), b(m, {
428
428
  key: 0,
@@ -501,7 +501,7 @@ function je(e, t, s, d, u, l) {
501
501
  }, 8, ["icon-left"])
502
502
  ]),
503
503
  default: a(() => [
504
- (f(), h(O, null, F(["signee", "recipient", "approver"], (o) => n(I, {
504
+ (f(), h(O, null, F(["signee", "recipient", "approver"], (o) => n(S, {
505
505
  key: o,
506
506
  "icon-left": o === "signee" ? "pen-tool" : "eye",
507
507
  "icon-props": {
@@ -512,7 +512,7 @@ function je(e, t, s, d, u, l) {
512
512
  default: a(() => [
513
513
  i("div", Ne, [
514
514
  i("div", null, r(e.$t(`_common:documentRole.${o}.description`)), 1),
515
- i("div", Se, r(e.$t(`_common:documentRole.${o}.label`)), 1)
515
+ i("div", Ie, r(e.$t(`_common:documentRole.${o}.label`)), 1)
516
516
  ])
517
517
  ]),
518
518
  _: 2
@@ -550,7 +550,7 @@ function je(e, t, s, d, u, l) {
550
550
  key: 1,
551
551
  class: y({ "column-only": e.windowWidth <= 600 })
552
552
  }, [
553
- i("div", Ie, [
553
+ i("div", Se, [
554
554
  i("div", Me, [
555
555
  i("div", {
556
556
  class: y([{ active: e.type === "individual" }, "type-toggle-button"]),
@@ -607,7 +607,7 @@ function je(e, t, s, d, u, l) {
607
607
  ]),
608
608
  _: 1
609
609
  }),
610
- n(S, null, {
610
+ n(I, null, {
611
611
  default: a(() => [
612
612
  e.type && !l.isIndivid ? (f(), b(m, {
613
613
  key: 0,
@@ -632,7 +632,7 @@ function je(e, t, s, d, u, l) {
632
632
  style: { "padding-left": "0.5em", "margin-bottom": "calc(2 * var(--rem))" }
633
633
  }, {
634
634
  default: a(() => [
635
- n(W, {
635
+ n(T, {
636
636
  modelValue: e.reverseVat,
637
637
  "onUpdate:modelValue": t[16] || (t[16] = (o) => e.reverseVat = o),
638
638
  size: "normal"
@@ -761,7 +761,7 @@ function je(e, t, s, d, u, l) {
761
761
  ]),
762
762
  _: 1
763
763
  }),
764
- n(S, null, {
764
+ n(I, null, {
765
765
  default: a(() => [
766
766
  e.type && e.separateWorkAddress ? (f(), h("div", Oe, [
767
767
  n(m, {
@@ -847,7 +847,7 @@ function je(e, t, s, d, u, l) {
847
847
  }, 8, ["icon-left"])
848
848
  ]),
849
849
  default: a(() => [
850
- (f(), h(O, null, F(["signee", "recipient", "approver"], (o) => n(I, {
850
+ (f(), h(O, null, F(["signee", "recipient", "approver"], (o) => n(S, {
851
851
  key: o,
852
852
  "icon-left": o === "signee" ? "pen-tool" : "eye",
853
853
  "icon-props": {
@@ -891,7 +891,7 @@ function je(e, t, s, d, u, l) {
891
891
  })
892
892
  ]),
893
893
  default: a(() => [
894
- (f(!0), h(O, null, F(s.signOptions, (o) => (f(), b(I, {
894
+ (f(!0), h(O, null, F(s.signOptions, (o) => (f(), b(S, {
895
895
  key: o,
896
896
  onClick: (U) => e.$emit("update:answer-method", {
897
897
  ...s.answerMethod,
@@ -899,9 +899,9 @@ function je(e, t, s, d, u, l) {
899
899
  })
900
900
  }, {
901
901
  default: a(() => [
902
- i("div", Te, [
902
+ i("div", We, [
903
903
  i("div", null, r(e.$t(`signMethod.${o}.title`)), 1),
904
- i("div", We, r(e.$t(`signMethod.${o}.content`)), 1)
904
+ i("div", Te, r(e.$t(`signMethod.${o}.content`)), 1)
905
905
  ])
906
906
  ]),
907
907
  _: 2
@@ -930,7 +930,7 @@ function je(e, t, s, d, u, l) {
930
930
  ], 2))
931
931
  ]);
932
932
  }
933
- const Ze = /* @__PURE__ */ z(ye, [["render", je], ["__scopeId", "data-v-a49b2cec"]]), { mapFields: He } = B({
933
+ const Ze = /* @__PURE__ */ z(ye, [["render", je], ["__scopeId", "data-v-a49b2cec"]]), { mapFields: Ge } = B({
934
934
  getterType: "forms/getField",
935
935
  mutationType: "forms/updateField"
936
936
  }), Ye = {
@@ -1017,7 +1017,7 @@ const Ze = /* @__PURE__ */ z(ye, [["render", je], ["__scopeId", "data-v-a49b2cec
1017
1017
  };
1018
1018
  },
1019
1019
  computed: {
1020
- ...He({
1020
+ ...Ge({
1021
1021
  endCustomer: "endCustomer"
1022
1022
  }),
1023
1023
  ...Q("forms", {
@@ -1128,14 +1128,14 @@ const Ze = /* @__PURE__ */ z(ye, [["render", je], ["__scopeId", "data-v-a49b2cec
1128
1128
  });
1129
1129
  }
1130
1130
  }
1131
- }, Ge = { class: "max-sm:h-initial relative mx-auto flex flex-col items-center rounded-xl bg-white p-10 text-lg max-sm:min-h-full max-sm:w-full max-sm:rounded-none max-sm:pt-16" };
1131
+ }, He = { class: "max-sm:h-initial relative mx-auto flex flex-col items-center rounded-xl bg-white p-10 text-lg max-sm:min-h-full max-sm:w-full max-sm:rounded-none max-sm:pt-16" };
1132
1132
  function Ke(e, t, s, d, u, l) {
1133
1133
  const c = g("CButton"), m = g("FormClient");
1134
1134
  return f(), h("div", {
1135
1135
  class: "font-primary fixed inset-0 z-[1000] grid place-items-center overflow-auto bg-black bg-opacity-10 max-sm:block max-sm:min-h-full max-sm:w-full max-sm:overflow-auto sm:py-4",
1136
1136
  onClickPassive: t[4] || (t[4] = N((...p) => l.close && l.close(...p), ["self"]))
1137
1137
  }, [
1138
- i("div", Ge, [
1138
+ i("div", He, [
1139
1139
  n(c, {
1140
1140
  class: y([u.showMore ? "" : "sm:!hidden", "z-2 absolute right-4 top-4"]),
1141
1141
  pattern: "tertiary",