@codeandfunction/callaloo 3.15.3 → 3.16.0

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 (136) hide show
  1. package/README.md +7 -3
  2. package/dist/assets/CLFormCharCounter.css +1 -0
  3. package/dist/assets/CLInputMessages.css +1 -0
  4. package/dist/chunks/CLA11yButton.vue_vue_type_style_index_0_lang-COGwQtRU.js +45 -0
  5. package/dist/chunks/CLButton.vue_vue_type_style_index_0_lang-CqgySW52.js +128 -0
  6. package/dist/chunks/CLCard.vue_vue_type_style_index_0_lang-DSvubJfG.js +252 -0
  7. package/dist/chunks/CLFormCharCounter.vue_vue_type_style_index_0_lang-CJ4VrvmR.js +38 -0
  8. package/dist/chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-ORvye4vi.js +43 -0
  9. package/dist/chunks/CLHeading.vue_vue_type_style_index_0_lang-CbHdHW2E.js +50 -0
  10. package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang-zZ4zGuBt.js +83 -0
  11. package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-xm2qDJGJ.js +121 -0
  12. package/dist/chunks/CLLink.vue_vue_type_style_index_0_lang-D7BqWIqs.js +60 -0
  13. package/dist/chunks/CLNavLink.vue_vue_type_script_setup_true_lang-Dp3SsIfq.js +44 -0
  14. package/dist/chunks/CLPill.vue_vue_type_style_index_0_lang-BXGTb6A6.js +88 -0
  15. package/dist/chunks/CLProgress.vue_vue_type_style_index_0_lang-5-cwF-oh.js +65 -0
  16. package/dist/chunks/CLSkeleton.vue_vue_type_style_index_0_lang-D7_swcoA.js +33 -0
  17. package/dist/chunks/CLSpinner.vue_vue_type_style_index_0_lang-CLccujHE.js +53 -0
  18. package/dist/chunks/CLText.vue_vue_type_style_index_0_lang-CTc6UiQV.js +46 -0
  19. package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-BIiSNSlg.js +178 -0
  20. package/dist/chunks/base-theme-B89pbWnC.js +841 -0
  21. package/dist/chunks/useEsc-BGAp0d_1.js +19 -0
  22. package/dist/chunks/useHasSlotContent-DDqs5uK9.js +14 -0
  23. package/dist/chunks/utils-CFL9veAf.js +30 -0
  24. package/dist/chunks/utils-D2P_fCSp.js +73 -0
  25. package/dist/chunks/utils-DYzsHCvl.js +15 -0
  26. package/dist/chunks/utils-DaKwZixu.js +26 -0
  27. package/dist/chunks/utils-Dg9e9uLW.js +29 -0
  28. package/dist/chunks/utils-Dz_31dEE.js +387 -0
  29. package/dist/components/Buttons/CLA11yButton/CLA11yButton.css +1 -0
  30. package/dist/components/Buttons/CLA11yButton/CLA11yButton.js +6 -0
  31. package/dist/components/Buttons/CLA11yButton/CLA11yButton.vue.d.ts +2 -2
  32. package/dist/components/Buttons/CLButton/CLButton.css +1 -0
  33. package/dist/components/Buttons/CLButton/CLButton.js +6 -0
  34. package/dist/components/Buttons/CLButton/CLButton.vue.d.ts +7 -7
  35. package/dist/components/CLIcon/CLIcon.css +1 -0
  36. package/dist/components/CLIcon/CLIcon.js +6 -0
  37. package/dist/components/{Assets/CLIcon → CLIcon}/CLIcon.vue.d.ts +1 -1
  38. package/dist/components/CLTable/CLTable.css +1 -0
  39. package/dist/components/CLTable/CLTable.js +197 -0
  40. package/dist/components/{Table → CLTable}/index.d.ts +0 -7
  41. package/dist/components/Containers/CLCard/CLCard.css +1 -0
  42. package/dist/components/Containers/CLCard/CLCard.js +6 -0
  43. package/dist/components/Containers/CLCard/CLCard.vue.d.ts +6 -6
  44. package/dist/components/Containers/CLCarousel/CLCarousel.css +1 -0
  45. package/dist/components/Containers/CLCarousel/CLCarousel.js +436 -0
  46. package/dist/components/Containers/CLCarousel/CLCarousel.vue.d.ts +2 -2
  47. package/dist/components/Containers/CLCarousel/CLCarouselNavigation.vue.d.ts +1 -1
  48. package/dist/components/Containers/CLDisclosure/CLDisclosure.css +1 -0
  49. package/dist/components/Containers/CLDisclosure/CLDisclosure.js +137 -0
  50. package/dist/components/Containers/CLDisclosure/CLDisclosure.vue.d.ts +3 -3
  51. package/dist/components/Form/CLCheckbox/CLCheckbox.css +1 -0
  52. package/dist/components/Form/CLCheckbox/CLCheckbox.js +147 -0
  53. package/dist/components/Form/CLCheckbox/CLCheckbox.vue.d.ts +4 -4
  54. package/dist/components/Form/CLFormLabel/CLFormLabel.vue.d.ts +1 -1
  55. package/dist/components/Form/CLInput/CLInput.css +1 -0
  56. package/dist/components/Form/CLInput/CLInput.js +378 -0
  57. package/dist/components/Form/CLInput/CLInput.vue.d.ts +5 -5
  58. package/dist/components/Form/CLInput/CLInputPill.vue.d.ts +1 -1
  59. package/dist/components/Form/CLRadioButton/CLRadioButton.css +1 -0
  60. package/dist/components/Form/CLRadioButton/CLRadioButton.js +132 -0
  61. package/dist/components/Form/CLRadioButton/CLRadioButton.vue.d.ts +1 -1
  62. package/dist/components/Form/CLSelect/CLSelect.css +1 -0
  63. package/dist/components/Form/CLSelect/CLSelect.js +137 -0
  64. package/dist/components/Form/CLSelect/CLSelect.vue.d.ts +3 -3
  65. package/dist/components/Form/CLTextArea/CLTextArea.css +1 -0
  66. package/dist/components/Form/CLTextArea/CLTextArea.js +149 -0
  67. package/dist/components/Form/CLTextArea/CLTextArea.vue.d.ts +2 -2
  68. package/dist/components/Form/index.d.ts +5 -9
  69. package/dist/components/Indicators/CLBadge/CLBadge.css +1 -0
  70. package/dist/components/Indicators/CLBadge/CLBadge.js +40 -0
  71. package/dist/components/Indicators/CLBadge/CLBadge.vue.d.ts +1 -1
  72. package/dist/components/Indicators/CLBanner/CLBanner.css +1 -0
  73. package/dist/components/Indicators/CLBanner/CLBanner.js +147 -0
  74. package/dist/components/Indicators/CLBanner/CLBanner.vue.d.ts +3 -3
  75. package/dist/components/Indicators/CLPill/CLPill.css +1 -0
  76. package/dist/components/Indicators/CLPill/CLPill.js +6 -0
  77. package/dist/components/Indicators/CLPill/CLPill.vue.d.ts +3 -3
  78. package/dist/components/Indicators/CLProgress/CLProgress.css +1 -0
  79. package/dist/components/Indicators/CLProgress/CLProgress.js +6 -0
  80. package/dist/components/Indicators/CLProgress/CLProgress.vue.d.ts +2 -2
  81. package/dist/components/Loading/CLSkeleton/CLSkeleton.css +1 -0
  82. package/dist/components/Loading/CLSkeleton/CLSkeleton.js +6 -0
  83. package/dist/components/Loading/CLSkeleton/CLSkeleton.vue.d.ts +1 -1
  84. package/dist/components/Loading/CLSpinner/CLSpinner.css +1 -0
  85. package/dist/components/Loading/CLSpinner/CLSpinner.js +6 -0
  86. package/dist/components/Loading/CLSpinner/CLSpinner.vue.d.ts +1 -1
  87. package/dist/components/Modals/CLModal/CLModal.css +1 -0
  88. package/dist/components/Modals/CLModal/CLModal.js +175 -0
  89. package/dist/components/Modals/CLModal/CLModal.vue.d.ts +2 -2
  90. package/dist/components/Navigation/CLLink/CLLink.css +1 -0
  91. package/dist/components/Navigation/CLLink/CLLink.js +6 -0
  92. package/dist/components/Navigation/CLLink/CLLink.vue.d.ts +2 -2
  93. package/dist/components/Navigation/CLNavLink/CLNavLink.js +5 -0
  94. package/dist/components/Navigation/CLNavLink/CLNavLink.vue.d.ts +1 -1
  95. package/dist/components/Navigation/CLNavSection/CLNavSection.css +1 -0
  96. package/dist/components/Navigation/CLNavSection/CLNavSection.js +55 -0
  97. package/dist/components/Navigation/CLNavSection/CLNavSection.vue.d.ts +1 -1
  98. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.css +1 -0
  99. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.js +1233 -0
  100. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.vue.d.ts +29 -29
  101. package/dist/components/Popups/CLToast/CLToast.css +1 -0
  102. package/dist/components/Popups/CLToast/CLToast.js +6 -0
  103. package/dist/components/Popups/CLToast/CLToast.vue.d.ts +2 -2
  104. package/dist/components/Providers/CLThemeProvider/CLThemeProvider.js +42 -0
  105. package/dist/components/Providers/CLThemeProvider/CLThemeProvider.vue.d.ts +27 -0
  106. package/dist/components/Providers/CLThemeProvider/index.d.ts +4 -0
  107. package/dist/components/Providers/CLToastProvider/CLToastProvider.js +45 -0
  108. package/dist/components/Providers/{Toast → CLToastProvider}/CLToastProvider.vue.d.ts +1 -7
  109. package/dist/components/Providers/CLToastProvider/index.d.ts +4 -0
  110. package/dist/components/Providers/index.d.ts +2 -6
  111. package/dist/components/Typography/CLHeading/CLHeading.css +1 -0
  112. package/dist/components/Typography/CLHeading/CLHeading.js +6 -0
  113. package/dist/components/Typography/CLText/CLText.css +1 -0
  114. package/dist/components/Typography/CLText/CLText.js +6 -0
  115. package/dist/index.d.ts +0 -15
  116. package/dist/index.js +27 -5899
  117. package/package.json +121 -13
  118. package/dist/assets/styles.css +0 -1
  119. package/dist/components/Assets/index.d.ts +0 -2
  120. package/dist/components/Form/CLFormCharCounter/index.d.ts +0 -5
  121. package/dist/components/Form/CLFormLabel/index.d.ts +0 -5
  122. package/dist/components/Providers/Theme/CLThemeProvider.vue.d.ts +0 -26
  123. package/dist/constants.d.ts +0 -22
  124. package/dist/chunks/{icons.QRYZHNAf.js → icons-QRYZHNAf.js} +0 -0
  125. package/dist/components/{Assets/CLIcon → CLIcon}/index.d.ts +0 -0
  126. package/dist/components/{Assets → CLIcon}/utils.d.ts +0 -0
  127. package/dist/components/{Table → CLTable}/CLTable.vue.d.ts +1 -1
  128. /package/dist/components/{Table → CLTable}/CLTableBody.vue.d.ts +0 -0
  129. /package/dist/components/{Table → CLTable}/CLTableCell.vue.d.ts +0 -0
  130. /package/dist/components/{Table → CLTable}/CLTableFooter.vue.d.ts +0 -0
  131. /package/dist/components/{Table → CLTable}/CLTableHeader.vue.d.ts +0 -0
  132. /package/dist/components/{Table → CLTable}/CLTableNestedCell.vue.d.ts +0 -0
  133. /package/dist/components/{Table → CLTable}/CLTableRow.vue.d.ts +0 -0
  134. /package/dist/components/{Table → CLTable}/utils.d.ts +0 -0
  135. /package/dist/components/Providers/{Theme → CLThemeProvider}/base-theme.d.ts +0 -0
  136. /package/dist/components/Providers/{Theme → CLThemeProvider}/utils.d.ts +0 -0
@@ -0,0 +1,841 @@
1
+ import { inject as Ie, ref as h, provide as Re } from "vue";
2
+ import { CLMode as l } from "../index.js";
3
+ var pe = typeof global == "object" && global && global.Object === Object && global, Me = typeof self == "object" && self && self.Object === Object && self, y = pe || Me || Function("return this")(), S = y.Symbol, he = Object.prototype, He = he.hasOwnProperty, Ne = he.toString, w = S ? S.toStringTag : void 0;
4
+ function ze(e) {
5
+ var t = He.call(e, w), r = e[w];
6
+ try {
7
+ e[w] = void 0;
8
+ var n = !0;
9
+ } catch {
10
+ }
11
+ var o = Ne.call(e);
12
+ return n && (t ? e[w] = r : delete e[w]), o;
13
+ }
14
+ var Le = Object.prototype, Ue = Le.toString;
15
+ function Ge(e) {
16
+ return Ue.call(e);
17
+ }
18
+ var qe = "[object Null]", Ke = "[object Undefined]", te = S ? S.toStringTag : void 0;
19
+ function $(e) {
20
+ return e == null ? e === void 0 ? Ke : qe : te && te in Object(e) ? ze(e) : Ge(e);
21
+ }
22
+ function A(e) {
23
+ return e != null && typeof e == "object";
24
+ }
25
+ var H = Array.isArray;
26
+ function v(e) {
27
+ var t = typeof e;
28
+ return e != null && (t == "object" || t == "function");
29
+ }
30
+ function be(e) {
31
+ return e;
32
+ }
33
+ var Ve = "[object AsyncFunction]", We = "[object Function]", Xe = "[object GeneratorFunction]", Ze = "[object Proxy]";
34
+ function V(e) {
35
+ if (!v(e))
36
+ return !1;
37
+ var t = $(e);
38
+ return t == We || t == Xe || t == Ve || t == Ze;
39
+ }
40
+ var R = y["__core-js_shared__"], re = (function() {
41
+ var e = /[^.]+$/.exec(R && R.keys && R.keys.IE_PROTO || "");
42
+ return e ? "Symbol(src)_1." + e : "";
43
+ })();
44
+ function Je(e) {
45
+ return !!re && re in e;
46
+ }
47
+ var Ye = Function.prototype, Qe = Ye.toString;
48
+ function ke(e) {
49
+ if (e != null) {
50
+ try {
51
+ return Qe.call(e);
52
+ } catch {
53
+ }
54
+ try {
55
+ return e + "";
56
+ } catch {
57
+ }
58
+ }
59
+ return "";
60
+ }
61
+ var et = /[\\^$.*+?()[\]{}|]/g, tt = /^\[object .+?Constructor\]$/, rt = Function.prototype, nt = Object.prototype, ot = rt.toString, at = nt.hasOwnProperty, it = RegExp(
62
+ "^" + ot.call(at).replace(et, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
63
+ );
64
+ function st(e) {
65
+ if (!v(e) || Je(e))
66
+ return !1;
67
+ var t = V(e) ? it : tt;
68
+ return t.test(ke(e));
69
+ }
70
+ function ft(e, t) {
71
+ return e?.[t];
72
+ }
73
+ function W(e, t) {
74
+ var r = ft(e, t);
75
+ return st(r) ? r : void 0;
76
+ }
77
+ var ne = Object.create, ut = /* @__PURE__ */ (function() {
78
+ function e() {
79
+ }
80
+ return function(t) {
81
+ if (!v(t))
82
+ return {};
83
+ if (ne)
84
+ return ne(t);
85
+ e.prototype = t;
86
+ var r = new e();
87
+ return e.prototype = void 0, r;
88
+ };
89
+ })();
90
+ function ct(e, t, r) {
91
+ switch (r.length) {
92
+ case 0:
93
+ return e.call(t);
94
+ case 1:
95
+ return e.call(t, r[0]);
96
+ case 2:
97
+ return e.call(t, r[0], r[1]);
98
+ case 3:
99
+ return e.call(t, r[0], r[1], r[2]);
100
+ }
101
+ return e.apply(t, r);
102
+ }
103
+ function dt(e, t) {
104
+ var r = -1, n = e.length;
105
+ for (t || (t = Array(n)); ++r < n; )
106
+ t[r] = e[r];
107
+ return t;
108
+ }
109
+ var lt = 800, pt = 16, ht = Date.now;
110
+ function bt(e) {
111
+ var t = 0, r = 0;
112
+ return function() {
113
+ var n = ht(), o = pt - (n - r);
114
+ if (r = n, o > 0) {
115
+ if (++t >= lt)
116
+ return arguments[0];
117
+ } else
118
+ t = 0;
119
+ return e.apply(void 0, arguments);
120
+ };
121
+ }
122
+ function gt(e) {
123
+ return function() {
124
+ return e;
125
+ };
126
+ }
127
+ var C = (function() {
128
+ try {
129
+ var e = W(Object, "defineProperty");
130
+ return e({}, "", {}), e;
131
+ } catch {
132
+ }
133
+ })(), vt = C ? function(e, t) {
134
+ return C(e, "toString", {
135
+ configurable: !0,
136
+ enumerable: !1,
137
+ value: gt(t),
138
+ writable: !0
139
+ });
140
+ } : be, yt = bt(vt), _t = 9007199254740991, mt = /^(?:0|[1-9]\d*)$/;
141
+ function ge(e, t) {
142
+ var r = typeof e;
143
+ return t = t ?? _t, !!t && (r == "number" || r != "symbol" && mt.test(e)) && e > -1 && e % 1 == 0 && e < t;
144
+ }
145
+ function X(e, t, r) {
146
+ t == "__proto__" && C ? C(e, t, {
147
+ configurable: !0,
148
+ enumerable: !0,
149
+ value: r,
150
+ writable: !0
151
+ }) : e[t] = r;
152
+ }
153
+ function F(e, t) {
154
+ return e === t || e !== e && t !== t;
155
+ }
156
+ var xt = Object.prototype, Tt = xt.hasOwnProperty;
157
+ function wt(e, t, r) {
158
+ var n = e[t];
159
+ (!(Tt.call(e, t) && F(n, r)) || r === void 0 && !(t in e)) && X(e, t, r);
160
+ }
161
+ function jt(e, t, r, n) {
162
+ var o = !r;
163
+ r || (r = {});
164
+ for (var s = -1, f = t.length; ++s < f; ) {
165
+ var a = t[s], i = void 0;
166
+ i === void 0 && (i = e[a]), o ? X(r, a, i) : wt(r, a, i);
167
+ }
168
+ return r;
169
+ }
170
+ var oe = Math.max;
171
+ function Ot(e, t, r) {
172
+ return t = oe(t === void 0 ? e.length - 1 : t, 0), function() {
173
+ for (var n = arguments, o = -1, s = oe(n.length - t, 0), f = Array(s); ++o < s; )
174
+ f[o] = n[t + o];
175
+ o = -1;
176
+ for (var a = Array(t + 1); ++o < t; )
177
+ a[o] = n[o];
178
+ return a[t] = r(f), ct(e, this, a);
179
+ };
180
+ }
181
+ function At(e, t) {
182
+ return yt(Ot(e, t, be), e + "");
183
+ }
184
+ var Dt = 9007199254740991;
185
+ function ve(e) {
186
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Dt;
187
+ }
188
+ function Z(e) {
189
+ return e != null && ve(e.length) && !V(e);
190
+ }
191
+ function Et(e, t, r) {
192
+ if (!v(r))
193
+ return !1;
194
+ var n = typeof t;
195
+ return (n == "number" ? Z(r) && ge(t, r.length) : n == "string" && t in r) ? F(r[t], e) : !1;
196
+ }
197
+ function St(e) {
198
+ return At(function(t, r) {
199
+ var n = -1, o = r.length, s = o > 1 ? r[o - 1] : void 0, f = o > 2 ? r[2] : void 0;
200
+ for (s = e.length > 3 && typeof s == "function" ? (o--, s) : void 0, f && Et(r[0], r[1], f) && (s = o < 3 ? void 0 : s, o = 1), t = Object(t); ++n < o; ) {
201
+ var a = r[n];
202
+ a && e(t, a, n, s);
203
+ }
204
+ return t;
205
+ });
206
+ }
207
+ var Ct = Object.prototype;
208
+ function ye(e) {
209
+ var t = e && e.constructor, r = typeof t == "function" && t.prototype || Ct;
210
+ return e === r;
211
+ }
212
+ function Pt(e, t) {
213
+ for (var r = -1, n = Array(e); ++r < e; )
214
+ n[r] = t(r);
215
+ return n;
216
+ }
217
+ var $t = "[object Arguments]";
218
+ function ae(e) {
219
+ return A(e) && $(e) == $t;
220
+ }
221
+ var _e = Object.prototype, Ft = _e.hasOwnProperty, Bt = _e.propertyIsEnumerable, N = ae(/* @__PURE__ */ (function() {
222
+ return arguments;
223
+ })()) ? ae : function(e) {
224
+ return A(e) && Ft.call(e, "callee") && !Bt.call(e, "callee");
225
+ };
226
+ function It() {
227
+ return !1;
228
+ }
229
+ var me = typeof exports == "object" && exports && !exports.nodeType && exports, ie = me && typeof module == "object" && module && !module.nodeType && module, Rt = ie && ie.exports === me, se = Rt ? y.Buffer : void 0, Mt = se ? se.isBuffer : void 0, xe = Mt || It, Ht = "[object Arguments]", Nt = "[object Array]", zt = "[object Boolean]", Lt = "[object Date]", Ut = "[object Error]", Gt = "[object Function]", qt = "[object Map]", Kt = "[object Number]", Vt = "[object Object]", Wt = "[object RegExp]", Xt = "[object Set]", Zt = "[object String]", Jt = "[object WeakMap]", Yt = "[object ArrayBuffer]", Qt = "[object DataView]", kt = "[object Float32Array]", er = "[object Float64Array]", tr = "[object Int8Array]", rr = "[object Int16Array]", nr = "[object Int32Array]", or = "[object Uint8Array]", ar = "[object Uint8ClampedArray]", ir = "[object Uint16Array]", sr = "[object Uint32Array]", u = {};
230
+ u[kt] = u[er] = u[tr] = u[rr] = u[nr] = u[or] = u[ar] = u[ir] = u[sr] = !0;
231
+ u[Ht] = u[Nt] = u[Yt] = u[zt] = u[Qt] = u[Lt] = u[Ut] = u[Gt] = u[qt] = u[Kt] = u[Vt] = u[Wt] = u[Xt] = u[Zt] = u[Jt] = !1;
232
+ function fr(e) {
233
+ return A(e) && ve(e.length) && !!u[$(e)];
234
+ }
235
+ function ur(e) {
236
+ return function(t) {
237
+ return e(t);
238
+ };
239
+ }
240
+ var Te = typeof exports == "object" && exports && !exports.nodeType && exports, j = Te && typeof module == "object" && module && !module.nodeType && module, cr = j && j.exports === Te, M = cr && pe.process, fe = (function() {
241
+ try {
242
+ var e = j && j.require && j.require("util").types;
243
+ return e || M && M.binding && M.binding("util");
244
+ } catch {
245
+ }
246
+ })(), ue = fe && fe.isTypedArray, we = ue ? ur(ue) : fr;
247
+ function dr(e, t) {
248
+ var r = H(e), n = !r && N(e), o = !r && !n && xe(e), s = !r && !n && !o && we(e), f = r || n || o || s, a = f ? Pt(e.length, String) : [], i = a.length;
249
+ for (var c in e)
250
+ f && // Safari 9 has enumerable `arguments.length` in strict mode.
251
+ (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
252
+ o && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
253
+ s && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
254
+ ge(c, i)) || a.push(c);
255
+ return a;
256
+ }
257
+ function lr(e, t) {
258
+ return function(r) {
259
+ return e(t(r));
260
+ };
261
+ }
262
+ function pr(e) {
263
+ var t = [];
264
+ if (e != null)
265
+ for (var r in Object(e))
266
+ t.push(r);
267
+ return t;
268
+ }
269
+ var hr = Object.prototype, br = hr.hasOwnProperty;
270
+ function gr(e) {
271
+ if (!v(e))
272
+ return pr(e);
273
+ var t = ye(e), r = [];
274
+ for (var n in e)
275
+ n == "constructor" && (t || !br.call(e, n)) || r.push(n);
276
+ return r;
277
+ }
278
+ function je(e) {
279
+ return Z(e) ? dr(e) : gr(e);
280
+ }
281
+ var O = W(Object, "create");
282
+ function vr() {
283
+ this.__data__ = O ? O(null) : {}, this.size = 0;
284
+ }
285
+ function yr(e) {
286
+ var t = this.has(e) && delete this.__data__[e];
287
+ return this.size -= t ? 1 : 0, t;
288
+ }
289
+ var _r = "__lodash_hash_undefined__", mr = Object.prototype, xr = mr.hasOwnProperty;
290
+ function Tr(e) {
291
+ var t = this.__data__;
292
+ if (O) {
293
+ var r = t[e];
294
+ return r === _r ? void 0 : r;
295
+ }
296
+ return xr.call(t, e) ? t[e] : void 0;
297
+ }
298
+ var wr = Object.prototype, jr = wr.hasOwnProperty;
299
+ function Or(e) {
300
+ var t = this.__data__;
301
+ return O ? t[e] !== void 0 : jr.call(t, e);
302
+ }
303
+ var Ar = "__lodash_hash_undefined__";
304
+ function Dr(e, t) {
305
+ var r = this.__data__;
306
+ return this.size += this.has(e) ? 0 : 1, r[e] = O && t === void 0 ? Ar : t, this;
307
+ }
308
+ function g(e) {
309
+ var t = -1, r = e == null ? 0 : e.length;
310
+ for (this.clear(); ++t < r; ) {
311
+ var n = e[t];
312
+ this.set(n[0], n[1]);
313
+ }
314
+ }
315
+ g.prototype.clear = vr;
316
+ g.prototype.delete = yr;
317
+ g.prototype.get = Tr;
318
+ g.prototype.has = Or;
319
+ g.prototype.set = Dr;
320
+ function Er() {
321
+ this.__data__ = [], this.size = 0;
322
+ }
323
+ function B(e, t) {
324
+ for (var r = e.length; r--; )
325
+ if (F(e[r][0], t))
326
+ return r;
327
+ return -1;
328
+ }
329
+ var Sr = Array.prototype, Cr = Sr.splice;
330
+ function Pr(e) {
331
+ var t = this.__data__, r = B(t, e);
332
+ if (r < 0)
333
+ return !1;
334
+ var n = t.length - 1;
335
+ return r == n ? t.pop() : Cr.call(t, r, 1), --this.size, !0;
336
+ }
337
+ function $r(e) {
338
+ var t = this.__data__, r = B(t, e);
339
+ return r < 0 ? void 0 : t[r][1];
340
+ }
341
+ function Fr(e) {
342
+ return B(this.__data__, e) > -1;
343
+ }
344
+ function Br(e, t) {
345
+ var r = this.__data__, n = B(r, e);
346
+ return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
347
+ }
348
+ function p(e) {
349
+ var t = -1, r = e == null ? 0 : e.length;
350
+ for (this.clear(); ++t < r; ) {
351
+ var n = e[t];
352
+ this.set(n[0], n[1]);
353
+ }
354
+ }
355
+ p.prototype.clear = Er;
356
+ p.prototype.delete = Pr;
357
+ p.prototype.get = $r;
358
+ p.prototype.has = Fr;
359
+ p.prototype.set = Br;
360
+ var Oe = W(y, "Map");
361
+ function Ir() {
362
+ this.size = 0, this.__data__ = {
363
+ hash: new g(),
364
+ map: new (Oe || p)(),
365
+ string: new g()
366
+ };
367
+ }
368
+ function Rr(e) {
369
+ var t = typeof e;
370
+ return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
371
+ }
372
+ function I(e, t) {
373
+ var r = e.__data__;
374
+ return Rr(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
375
+ }
376
+ function Mr(e) {
377
+ var t = I(this, e).delete(e);
378
+ return this.size -= t ? 1 : 0, t;
379
+ }
380
+ function Hr(e) {
381
+ return I(this, e).get(e);
382
+ }
383
+ function Nr(e) {
384
+ return I(this, e).has(e);
385
+ }
386
+ function zr(e, t) {
387
+ var r = I(this, e), n = r.size;
388
+ return r.set(e, t), this.size += r.size == n ? 0 : 1, this;
389
+ }
390
+ function _(e) {
391
+ var t = -1, r = e == null ? 0 : e.length;
392
+ for (this.clear(); ++t < r; ) {
393
+ var n = e[t];
394
+ this.set(n[0], n[1]);
395
+ }
396
+ }
397
+ _.prototype.clear = Ir;
398
+ _.prototype.delete = Mr;
399
+ _.prototype.get = Hr;
400
+ _.prototype.has = Nr;
401
+ _.prototype.set = zr;
402
+ var Ae = lr(Object.getPrototypeOf, Object), Lr = "[object Object]", Ur = Function.prototype, Gr = Object.prototype, De = Ur.toString, qr = Gr.hasOwnProperty, Kr = De.call(Object);
403
+ function Vr(e) {
404
+ if (!A(e) || $(e) != Lr)
405
+ return !1;
406
+ var t = Ae(e);
407
+ if (t === null)
408
+ return !0;
409
+ var r = qr.call(t, "constructor") && t.constructor;
410
+ return typeof r == "function" && r instanceof r && De.call(r) == Kr;
411
+ }
412
+ function Wr() {
413
+ this.__data__ = new p(), this.size = 0;
414
+ }
415
+ function Xr(e) {
416
+ var t = this.__data__, r = t.delete(e);
417
+ return this.size = t.size, r;
418
+ }
419
+ function Zr(e) {
420
+ return this.__data__.get(e);
421
+ }
422
+ function Jr(e) {
423
+ return this.__data__.has(e);
424
+ }
425
+ var Yr = 200;
426
+ function Qr(e, t) {
427
+ var r = this.__data__;
428
+ if (r instanceof p) {
429
+ var n = r.__data__;
430
+ if (!Oe || n.length < Yr - 1)
431
+ return n.push([e, t]), this.size = ++r.size, this;
432
+ r = this.__data__ = new _(n);
433
+ }
434
+ return r.set(e, t), this.size = r.size, this;
435
+ }
436
+ function m(e) {
437
+ var t = this.__data__ = new p(e);
438
+ this.size = t.size;
439
+ }
440
+ m.prototype.clear = Wr;
441
+ m.prototype.delete = Xr;
442
+ m.prototype.get = Zr;
443
+ m.prototype.has = Jr;
444
+ m.prototype.set = Qr;
445
+ var Ee = typeof exports == "object" && exports && !exports.nodeType && exports, ce = Ee && typeof module == "object" && module && !module.nodeType && module, kr = ce && ce.exports === Ee, de = kr ? y.Buffer : void 0;
446
+ de && de.allocUnsafe;
447
+ function en(e, t) {
448
+ return e.slice();
449
+ }
450
+ var le = y.Uint8Array;
451
+ function tn(e) {
452
+ var t = new e.constructor(e.byteLength);
453
+ return new le(t).set(new le(e)), t;
454
+ }
455
+ function rn(e, t) {
456
+ var r = tn(e.buffer);
457
+ return new e.constructor(r, e.byteOffset, e.length);
458
+ }
459
+ function nn(e) {
460
+ return typeof e.constructor == "function" && !ye(e) ? ut(Ae(e)) : {};
461
+ }
462
+ function on(e) {
463
+ return function(t, r, n) {
464
+ for (var o = -1, s = Object(t), f = n(t), a = f.length; a--; ) {
465
+ var i = f[++o];
466
+ if (r(s[i], i, s) === !1)
467
+ break;
468
+ }
469
+ return t;
470
+ };
471
+ }
472
+ var an = on();
473
+ function z(e, t, r) {
474
+ (r !== void 0 && !F(e[t], r) || r === void 0 && !(t in e)) && X(e, t, r);
475
+ }
476
+ function sn(e) {
477
+ return A(e) && Z(e);
478
+ }
479
+ function L(e, t) {
480
+ if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
481
+ return e[t];
482
+ }
483
+ function fn(e) {
484
+ return jt(e, je(e));
485
+ }
486
+ function un(e, t, r, n, o, s, f) {
487
+ var a = L(e, r), i = L(t, r), c = f.get(i);
488
+ if (c) {
489
+ z(e, r, c);
490
+ return;
491
+ }
492
+ var d = s ? s(a, i, r + "", e, t, f) : void 0, b = d === void 0;
493
+ if (b) {
494
+ var x = H(i), T = !x && xe(i), D = !x && !T && we(i);
495
+ d = i, x || T || D ? H(a) ? d = a : sn(a) ? d = dt(a) : T ? (b = !1, d = en(i)) : D ? (b = !1, d = rn(i)) : d = [] : Vr(i) || N(i) ? (d = a, N(a) ? d = fn(a) : (!v(a) || V(a)) && (d = nn(i))) : b = !1;
496
+ }
497
+ b && (f.set(i, d), o(d, i, n, s, f), f.delete(i)), z(e, r, d);
498
+ }
499
+ function Se(e, t, r, n, o) {
500
+ e !== t && an(t, function(s, f) {
501
+ if (o || (o = new m()), v(s))
502
+ un(e, t, f, r, Se, n, o);
503
+ else {
504
+ var a = n ? n(L(e, f), s, f + "", e, t, o) : void 0;
505
+ a === void 0 && (a = s), z(e, f, a);
506
+ }
507
+ }, je);
508
+ }
509
+ var cn = St(function(e, t, r) {
510
+ Se(e, t, r);
511
+ });
512
+ const pn = () => {
513
+ let e, t, r, n = !1, o, s;
514
+ const f = (i) => {
515
+ if (n) return;
516
+ t === void 0 && (t = i);
517
+ const c = i - t;
518
+ r !== i && s?.(c), o && c < o && (r = i, n || (e = window.requestAnimationFrame(f)));
519
+ }, a = () => {
520
+ e = void 0, t = void 0, r = void 0, n = !1, o = void 0;
521
+ };
522
+ return {
523
+ start: (i, c) => {
524
+ s = c, o = i, e = window.requestAnimationFrame(f);
525
+ },
526
+ stop: () => {
527
+ n = !0, e && window.cancelAnimationFrame(e), a();
528
+ }
529
+ };
530
+ }, hn = ({
531
+ parent: e,
532
+ child: t,
533
+ threshold: r = 0.1,
534
+ leftOffset: n = 0,
535
+ rightOffset: o = 0
536
+ }) => {
537
+ const {
538
+ top: s,
539
+ left: f,
540
+ bottom: a,
541
+ right: i,
542
+ width: c,
543
+ height: d
544
+ } = e?.getBoundingClientRect() || {}, {
545
+ top: b,
546
+ left: x,
547
+ bottom: T,
548
+ right: D
549
+ } = t.getBoundingClientRect() || {};
550
+ let Pe = f + n, $e = i - o, Fe = c - (n + o), k = 0, ee = 0;
551
+ return x <= $e && (k = (D - Pe) / Fe * 100 / 100), b <= a && (ee = (T - s) / d * 100 / 100), k > r && ee > r;
552
+ }, bn = () => Ce ? Math.max(
553
+ ...Array.from(
554
+ document?.querySelectorAll("body *"),
555
+ (e) => parseFloat(window?.getComputedStyle(e).zIndex)
556
+ ).filter((e) => !Number.isNaN(e)),
557
+ 0
558
+ ) : 0, Ce = typeof document < "u", gn = (e) => e != null && typeof e.valueOf() == "string", vn = (e) => {
559
+ if (!e) return !0;
560
+ let t = 0;
561
+ const r = ["#comment"];
562
+ return e.childNodes.forEach((n) => {
563
+ !r.includes(n.nodeName) && n.childNodes.length && t++;
564
+ }), t === 0;
565
+ }, E = {
566
+ borderRadius: void 0,
567
+ colors: {
568
+ primary: {
569
+ 0: "#ffffff",
570
+ 100: "#def5ff",
571
+ 200: "#b6eeff",
572
+ 300: "#75e3ff",
573
+ 400: "#2cd6ff",
574
+ 500: "#00c8ff",
575
+ 600: "#009cd4",
576
+ 700: "#007cab",
577
+ 800: "#00688d",
578
+ 900: "#065674"
579
+ },
580
+ secondary: {
581
+ 0: "#ffffff",
582
+ 100: "#DEE2E8",
583
+ 200: "#BFC7D4",
584
+ 300: "#9EAABD",
585
+ 400: "#8090A8",
586
+ 500: "#61738E",
587
+ 600: "#4F5D73",
588
+ 700: "#3A4555",
589
+ 800: "#272F3A",
590
+ 900: "#13161B"
591
+ },
592
+ neutral: {
593
+ 0: "#ffffff",
594
+ 100: "#F7F7F7",
595
+ 200: "#F2F2F2",
596
+ 300: "#EBEBEB",
597
+ 400: "#E6E6E6",
598
+ 500: "#DEDEDE",
599
+ 600: "#B3B3B3",
600
+ 700: "#858585",
601
+ 800: "#595959",
602
+ 900: "#2B2B2B"
603
+ },
604
+ danger: {
605
+ 0: "#ffffff",
606
+ 100: "#ffd3ce",
607
+ 200: "#ffb2ac",
608
+ 300: "#ff8e88",
609
+ 400: "#fe6561",
610
+ 500: "#e74c4c",
611
+ 600: "#d20e27",
612
+ 700: "#9b0018",
613
+ 800: "#63000c",
614
+ 900: "#360003"
615
+ },
616
+ warning: {
617
+ 0: "#ffffff",
618
+ 100: "#ffeaba",
619
+ 200: "#ffdf95",
620
+ 300: "#ffd36a",
621
+ 400: "#fdc836",
622
+ 500: "#f5be1a",
623
+ 600: "#c79800",
624
+ 700: "#8a6900",
625
+ 800: "#4f3b00",
626
+ 900: "#211700"
627
+ },
628
+ success: {
629
+ 0: "#ffffff",
630
+ 100: "#9effb2",
631
+ 200: "#69f68d",
632
+ 300: "#56e57e",
633
+ 400: "#41d56e",
634
+ 500: "#22c55d",
635
+ 600: "#00a147",
636
+ 700: "#007230",
637
+ 800: "#00441a",
638
+ 900: "#001f08"
639
+ },
640
+ info: {
641
+ 0: "#ffffff",
642
+ 100: "#cfe2ff",
643
+ 200: "#afceff",
644
+ 300: "#8eb9ff",
645
+ 400: "#6ca4ff",
646
+ 500: "#4e8ff8",
647
+ 600: "#2470e7",
648
+ 700: "#004cb5",
649
+ 800: "#002e73",
650
+ 900: "#00153e"
651
+ }
652
+ },
653
+ darkMode: !1,
654
+ fontFamily: "ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'"
655
+ }, yn = {
656
+ contrast: {
657
+ [l.Light]: {
658
+ border: 900,
659
+ borderHover: 700,
660
+ bg: 900,
661
+ disabled: 500,
662
+ focus: 900,
663
+ hover: 800,
664
+ shadow: 900,
665
+ text: 0,
666
+ textDisabled: 800
667
+ },
668
+ [l.Dark]: {
669
+ border: 400,
670
+ borderHover: 700,
671
+ bg: 100,
672
+ disabled: 500,
673
+ focus: 400,
674
+ hover: 200,
675
+ shadow: 400,
676
+ text: 900,
677
+ textDisabled: 500
678
+ }
679
+ },
680
+ ghost: {
681
+ [l.Light]: {
682
+ disabled: 100,
683
+ focus: 700,
684
+ text: 800,
685
+ textDisabled: 800
686
+ },
687
+ [l.Dark]: {
688
+ disabled: 700,
689
+ focus: 300,
690
+ text: 300,
691
+ textDisabled: 700
692
+ }
693
+ },
694
+ outline: {
695
+ [l.Light]: {
696
+ border: 300,
697
+ borderHover: 700,
698
+ disabled: 400,
699
+ focus: 700,
700
+ hover: 100,
701
+ text: 900,
702
+ textBody: 700,
703
+ textDisabled: 800
704
+ },
705
+ [l.Dark]: {
706
+ border: 500,
707
+ borderHover: 500,
708
+ disabled: 800,
709
+ focus: 300,
710
+ hover: 900,
711
+ text: 300,
712
+ textBody: 300,
713
+ textDisabled: 700
714
+ }
715
+ },
716
+ soft: {
717
+ [l.Light]: {
718
+ bg: 100,
719
+ border: 300,
720
+ borderHover: 700,
721
+ disabled: 100,
722
+ focus: 400,
723
+ hover: 200,
724
+ shadow: 200,
725
+ text: 900,
726
+ textDisabled: 800
727
+ },
728
+ [l.Dark]: {
729
+ bg: 900,
730
+ border: 100,
731
+ borderHover: 300,
732
+ disabled: 800,
733
+ focus: 100,
734
+ hover: 800,
735
+ shadow: 800,
736
+ text: 300,
737
+ textDisabled: 500
738
+ }
739
+ },
740
+ solid: {
741
+ [l.Light]: {
742
+ bg: 600,
743
+ border: 700,
744
+ borderHover: 900,
745
+ disabled: 500,
746
+ focus: 700,
747
+ hover: 500,
748
+ shadow: 700,
749
+ text: 0,
750
+ textDisabled: 100
751
+ },
752
+ [l.Dark]: {
753
+ bg: 400,
754
+ border: 100,
755
+ borderHover: 300,
756
+ disabled: 600,
757
+ focus: 100,
758
+ hover: 500,
759
+ shadow: 100,
760
+ text: 900,
761
+ textDisabled: 800
762
+ }
763
+ },
764
+ text: {
765
+ [l.Light]: {
766
+ border: 100,
767
+ borderHover: 300,
768
+ disabled: 100,
769
+ focus: 800,
770
+ hover: 200,
771
+ text: 800,
772
+ textBody: 300,
773
+ textDisabled: 700
774
+ },
775
+ [l.Dark]: {
776
+ border: 300,
777
+ borderHover: 500,
778
+ disabled: 800,
779
+ focus: 300,
780
+ hover: 900,
781
+ text: 300,
782
+ textBody: 800,
783
+ textDisabled: 500
784
+ }
785
+ }
786
+ }, J = h(), Y = h(), Q = h(), P = h({
787
+ primary: {},
788
+ secondary: {},
789
+ neutral: {},
790
+ danger: {},
791
+ warning: {},
792
+ success: {},
793
+ info: {}
794
+ }), U = (e) => {
795
+ J.value = e;
796
+ }, G = (e) => {
797
+ P.value = { ...P.value, ...e };
798
+ }, q = (e) => {
799
+ Y.value = e;
800
+ }, K = (e) => {
801
+ Q.value = e, Ce && e && window?.document.documentElement.style.setProperty(
802
+ "--clll-font-family",
803
+ e
804
+ );
805
+ }, _n = (e) => {
806
+ const t = e?.borderRadius || E.borderRadius, r = h(t), n = cn(E.colors, e?.colors), o = h(n), s = e?.darkMode || E.darkMode, f = h(s ?? !1), a = e?.fontFamily || E.fontFamily, i = h(a);
807
+ o.value && G(o.value), U(r.value), q(f.value), K(i.value), Re("clll-theme", {
808
+ borderRadius: J,
809
+ colors: P,
810
+ darkMode: Y,
811
+ fontFamily: Q,
812
+ setBorderRadius: U,
813
+ setColors: G,
814
+ setDarkMode: q,
815
+ setFontFamily: K
816
+ });
817
+ }, mn = () => Ie("clll-theme", {
818
+ borderRadius: J,
819
+ colors: P,
820
+ darkMode: Y,
821
+ fontFamily: Q,
822
+ setBorderRadius: U,
823
+ setColors: G,
824
+ setDarkMode: q,
825
+ setFontFamily: K
826
+ });
827
+ export {
828
+ yn as C,
829
+ U as a,
830
+ G as b,
831
+ q as c,
832
+ K as d,
833
+ pn as e,
834
+ gn as f,
835
+ bn as g,
836
+ vn as h,
837
+ Ce as i,
838
+ hn as j,
839
+ _n as s,
840
+ mn as u
841
+ };