clds-ui 0.3.11 → 0.3.13

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.
@@ -1,5 +1,5 @@
1
- import { defineComponent as o, computed as d, ref as f, onMounted as k, onUnmounted as y, watch as S, reactive as V } from "vue";
2
- const P = /* @__PURE__ */ o({
1
+ import { defineComponent as o, computed as d, ref as f, onMounted as $, onUnmounted as S, watch as P, reactive as F } from "vue";
2
+ const R = /* @__PURE__ */ o({
3
3
  __name: "CreatorsButton",
4
4
  props: {
5
5
  variant: { default: "primary" },
@@ -19,7 +19,7 @@ function i(a, t, e, s, l, r, n, u) {
19
19
  options: c
20
20
  };
21
21
  }
22
- var F = function() {
22
+ var L = function() {
23
23
  var t = this, e = t._self._c, s = t._self._setupProxy;
24
24
  return e("button", t._b({ class: [
25
25
  "cl-btn",
@@ -29,15 +29,15 @@ var F = function() {
29
29
  ], attrs: { disabled: t.disabled || t.loading }, on: { click: function(l) {
30
30
  return s.emit("click", l);
31
31
  } } }, "button", t.$attrs, !1), [t.loading ? e("span", { staticClass: "cl-btn__spinner", attrs: { "aria-hidden": "true" } }) : t._e(), t._t("default")], 2);
32
- }, R = [], L = /* @__PURE__ */ i(
33
- P,
34
- F,
32
+ }, j = [], z = /* @__PURE__ */ i(
35
33
  R,
34
+ L,
35
+ j,
36
36
  !1,
37
37
  null,
38
38
  "2b3665ef"
39
39
  );
40
- const j = L.exports, z = /* @__PURE__ */ o({
40
+ const T = z.exports, M = /* @__PURE__ */ o({
41
41
  __name: "CreatorsText",
42
42
  props: {
43
43
  variant: { default: "body-md" },
@@ -68,18 +68,18 @@ const j = L.exports, z = /* @__PURE__ */ o({
68
68
  return { __sfc: !0, props: t, defaultTags: e, resolvedTag: s };
69
69
  }
70
70
  });
71
- var T = function() {
71
+ var I = function() {
72
72
  var t = this, e = t._self._c, s = t._self._setupProxy;
73
73
  return e(s.resolvedTag, { tag: "component", class: ["cl-text", `cl-text--${t.variant}`], style: t.weight ? { fontWeight: t.weight } : {} }, [t._t("default")], 2);
74
- }, M = [], I = /* @__PURE__ */ i(
75
- z,
76
- T,
74
+ }, O = [], D = /* @__PURE__ */ i(
77
75
  M,
76
+ I,
77
+ O,
78
78
  !1,
79
79
  null,
80
80
  "0956e087"
81
81
  );
82
- const O = I.exports, D = /* @__PURE__ */ o({
82
+ const E = D.exports, W = /* @__PURE__ */ o({
83
83
  __name: "CreatorsAccordion",
84
84
  props: {
85
85
  items: null,
@@ -96,7 +96,7 @@ const O = I.exports, D = /* @__PURE__ */ o({
96
96
  return { __sfc: !0, props: e, emit: t, openIndex: s, toggle: l };
97
97
  }
98
98
  });
99
- var E = function() {
99
+ var A = function() {
100
100
  var t = this, e = t._self._c, s = t._self._setupProxy;
101
101
  return e("div", { staticClass: "cl-accordion" }, t._l(t.items, function(l, r) {
102
102
  return e("div", { key: r, staticClass: "cl-accordion__item", class: { "cl-accordion__item--open": s.openIndex === r } }, [e("button", { staticClass: "cl-accordion__trigger", on: { click: function(n) {
@@ -105,15 +105,15 @@ var E = function() {
105
105
  return [t._v(t._s(l.content))];
106
106
  })], 2)])]);
107
107
  }), 0);
108
- }, W = [], A = /* @__PURE__ */ i(
109
- D,
110
- E,
108
+ }, q = [], K = /* @__PURE__ */ i(
111
109
  W,
110
+ A,
111
+ q,
112
112
  !1,
113
113
  null,
114
114
  "cdacee19"
115
115
  );
116
- const q = A.exports, K = /* @__PURE__ */ o({
116
+ const G = K.exports, N = /* @__PURE__ */ o({
117
117
  __name: "CreatorsInput",
118
118
  props: {
119
119
  modelValue: null,
@@ -148,7 +148,7 @@ const q = A.exports, K = /* @__PURE__ */ o({
148
148
  return { __sfc: !0, emit: t, onInput: e, onEnter: s, onClear: l, onSearch: r };
149
149
  }
150
150
  });
151
- var G = function() {
151
+ var U = function() {
152
152
  var t = this, e = t._self._c, s = t._self._setupProxy;
153
153
  return e("div", { class: ["cl-input", `cl-input--${t.size}`, { "cl-input--error": t.error, "cl-input--disabled": t.disabled }] }, [t.label ? e("label", { staticClass: "cl-input__label", attrs: { for: t.id } }, [t._v(t._s(t.label))]) : t._e(), e("div", { staticClass: "cl-input__wrapper" }, [t.icon || t.$slots.prefix ? e("span", { staticClass: "cl-input__slot cl-input__slot--prefix" }, [t._t("prefix", function() {
154
154
  return [t.icon === "search" ? e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("circle", { attrs: { cx: "11", cy: "11", r: "8" } }), e("line", { attrs: { x1: "21", y1: "21", x2: "16.65", y2: "16.65" } })]) : t.icon === "mail" ? e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("path", { attrs: { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" } }), e("polyline", { attrs: { points: "22,6 12,13 2,6" } })]) : t.icon === "lock" ? e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("rect", { attrs: { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" } }), e("path", { attrs: { d: "M7 11V7a5 5 0 0 1 10 0v4" } })]) : t.icon === "user" ? e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("path", { attrs: { d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" } }), e("circle", { attrs: { cx: "12", cy: "7", r: "4" } })]) : t._e()];
@@ -159,15 +159,15 @@ var G = function() {
159
159
  }, blur: function(l) {
160
160
  return s.emit("blur", l);
161
161
  } } }, "input", t.$attrs, !1)), e("span", { staticClass: "cl-input__slot cl-input__slot--suffix" }, [t.loading ? e("span", { staticClass: "cl-input__spinner" }) : t.modelValue && t.clearable ? e("button", { staticClass: "cl-input__action", attrs: { type: "button", "aria-label": "Limpar" }, on: { click: s.onClear } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("line", { attrs: { x1: "18", y1: "6", x2: "6", y2: "18" } }), e("line", { attrs: { x1: "6", y1: "6", x2: "18", y2: "18" } })])]) : t._e(), t.searchable && !t.loading ? e("button", { staticClass: "cl-input__action cl-input__action--search", attrs: { type: "button", "aria-label": "Pesquisar" }, on: { click: s.onSearch } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("circle", { attrs: { cx: "11", cy: "11", r: "8" } }), e("line", { attrs: { x1: "21", y1: "21", x2: "16.65", y2: "16.65" } })])]) : t._e(), t._t("suffix")], 2)]), t.hint || t.error ? e("span", { staticClass: "cl-input__hint", class: { "cl-input__hint--error": t.error } }, [t._v(" " + t._s(t.error || t.hint) + " ")]) : t._e()]);
162
- }, N = [], U = /* @__PURE__ */ i(
163
- K,
164
- G,
162
+ }, X = [], H = /* @__PURE__ */ i(
165
163
  N,
164
+ U,
165
+ X,
166
166
  !1,
167
167
  null,
168
168
  "8c08ffa2"
169
169
  );
170
- const X = U.exports, H = /* @__PURE__ */ o({
170
+ const Y = H.exports, J = /* @__PURE__ */ o({
171
171
  __name: "CreatorsInputSwitch",
172
172
  props: {
173
173
  modelValue: { type: Boolean, default: !1 },
@@ -183,21 +183,21 @@ const X = U.exports, H = /* @__PURE__ */ o({
183
183
  return { __sfc: !0, emit: t, onChange: e };
184
184
  }
185
185
  });
186
- var Y = function() {
186
+ var Q = function() {
187
187
  var t = this, e = t._self._c, s = t._self._setupProxy;
188
188
  return e("label", { class: ["cl-switch", `cl-switch--${t.size}`, { "cl-switch--checked": t.modelValue, "cl-switch--disabled": t.disabled }] }, [e("input", { staticClass: "cl-switch__input", attrs: { type: "checkbox", disabled: t.disabled }, domProps: { checked: t.modelValue }, on: { change: s.onChange } }), t._m(0), t.label ? e("span", { staticClass: "cl-switch__label" }, [t._v(t._s(t.label))]) : t._e()]);
189
- }, J = [function() {
189
+ }, Z = [function() {
190
190
  var a = this, t = a._self._c;
191
191
  return a._self._setupProxy, t("span", { staticClass: "cl-switch__track" }, [t("span", { staticClass: "cl-switch__thumb" })]);
192
- }], Q = /* @__PURE__ */ i(
193
- H,
194
- Y,
192
+ }], tt = /* @__PURE__ */ i(
195
193
  J,
194
+ Q,
195
+ Z,
196
196
  !1,
197
197
  null,
198
198
  "3fb5090c"
199
199
  );
200
- const Z = Q.exports, tt = /* @__PURE__ */ o({
200
+ const et = tt.exports, st = /* @__PURE__ */ o({
201
201
  __name: "CreatorsTextarea",
202
202
  props: {
203
203
  modelValue: null,
@@ -225,7 +225,7 @@ const Z = Q.exports, tt = /* @__PURE__ */ o({
225
225
  return { __sfc: !0, props: e, emit: t, onInput: s, onEnter: l, isOver: r };
226
226
  }
227
227
  });
228
- var et = function() {
228
+ var lt = function() {
229
229
  var t = this, e = t._self._c, s = t._self._setupProxy;
230
230
  return e("div", { class: ["cl-textarea", { "cl-textarea--error": t.error, "cl-textarea--disabled": t.disabled }] }, [t.label ? e("label", { staticClass: "cl-textarea__label", attrs: { for: t.id } }, [t._v(t._s(t.label))]) : t._e(), e("textarea", t._b({ staticClass: "cl-textarea__field", attrs: { id: t.id, placeholder: t.placeholder, disabled: t.disabled, rows: t.rows }, domProps: { value: t.modelValue }, on: { input: s.onInput, keydown: function(l) {
231
231
  return !l.type.indexOf("key") && t._k(l.keyCode, "enter", 13, l.key, "Enter") || !l.ctrlKey ? null : s.onEnter.apply(null, arguments);
@@ -234,15 +234,15 @@ var et = function() {
234
234
  }, blur: function(l) {
235
235
  return s.emit("blur", l);
236
236
  } } }, "textarea", t.$attrs, !1)), t._v(" "), e("div", { staticClass: "cl-textarea__footer" }, [t.hint || t.error ? e("span", { staticClass: "cl-textarea__hint", class: { "cl-textarea__hint--error": t.error } }, [t._v(" " + t._s(t.error || t.hint) + " ")]) : t._e(), t.maxlength ? e("span", { staticClass: "cl-textarea__count", class: { "cl-textarea__count--over": s.isOver } }, [t._v(" " + t._s((t.modelValue ?? "").length) + "/" + t._s(t.maxlength) + " ")]) : t._e()])]);
237
- }, st = [], lt = /* @__PURE__ */ i(
238
- tt,
239
- et,
237
+ }, at = [], rt = /* @__PURE__ */ i(
240
238
  st,
239
+ lt,
240
+ at,
241
241
  !1,
242
242
  null,
243
243
  "b23cc99a"
244
244
  );
245
- const at = lt.exports, rt = /* @__PURE__ */ o({
245
+ const nt = rt.exports, ot = /* @__PURE__ */ o({
246
246
  __name: "CreatorsSelect",
247
247
  props: {
248
248
  modelValue: null,
@@ -268,29 +268,29 @@ const at = lt.exports, rt = /* @__PURE__ */ o({
268
268
  function c(_) {
269
269
  l.value && !l.value.contains(_.target) && (s.value = !1);
270
270
  }
271
- return k(() => {
271
+ return $(() => {
272
272
  document.addEventListener("mousedown", c), document.addEventListener("touchstart", c);
273
- }), y(() => {
273
+ }), S(() => {
274
274
  document.removeEventListener("mousedown", c), document.removeEventListener("touchstart", c);
275
275
  }), { __sfc: !0, props: e, emit: t, isOpen: s, rootRef: l, selectedOption: r, toggle: n, select: u, onClickOutside: c };
276
276
  }
277
277
  });
278
- var nt = function() {
278
+ var it = function() {
279
279
  var t = this, e = t._self._c, s = t._self._setupProxy;
280
280
  return e("div", { ref: "rootRef", class: ["cl-select", `cl-select--${t.size}`, { "cl-select--open": s.isOpen, "cl-select--error": t.error, "cl-select--disabled": t.disabled }] }, [t.label ? e("label", { staticClass: "cl-select__label", on: { click: s.toggle } }, [t._v(t._s(t.label))]) : t._e(), e("button", { staticClass: "cl-select__trigger", attrs: { type: "button", disabled: t.disabled }, on: { click: s.toggle } }, [e("span", { class: ["cl-select__value", { "cl-select__value--placeholder": !s.selectedOption }] }, [t._v(" " + t._s(s.selectedOption ? s.selectedOption.label : t.placeholder) + " ")]), e("svg", { staticClass: "cl-select__chevron", attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("polyline", { attrs: { points: "6 9 12 15 18 9" } })])]), e("transition", { attrs: { name: "cl-select-dropdown" } }, [s.isOpen ? e("ul", { staticClass: "cl-select__dropdown" }, t._l(t.options, function(l) {
281
281
  return e("li", { key: l.value, class: ["cl-select__option", { "cl-select__option--selected": l.value === t.modelValue }], on: { click: function(r) {
282
282
  return s.select(l);
283
283
  } } }, [e("span", [t._v(t._s(l.label))]), l.value === t.modelValue ? e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("polyline", { attrs: { points: "20 6 9 17 4 12" } })]) : t._e()]);
284
284
  }), 0) : t._e()]), e("div", { staticClass: "cl-select__footer" }, [t.hint || t.error ? e("span", { staticClass: "cl-select__hint", class: { "cl-select__hint--error": t.error } }, [t._v(" " + t._s(t.error || t.hint) + " ")]) : t._e()])], 1);
285
- }, ot = [], it = /* @__PURE__ */ i(
286
- rt,
287
- nt,
285
+ }, ct = [], _t = /* @__PURE__ */ i(
288
286
  ot,
287
+ it,
288
+ ct,
289
289
  !1,
290
290
  null,
291
291
  "f07ac917"
292
292
  );
293
- const ct = it.exports, _t = /* @__PURE__ */ o({
293
+ const dt = _t.exports, ut = /* @__PURE__ */ o({
294
294
  __name: "CreatorsCheckbox",
295
295
  props: {
296
296
  modelValue: { type: Boolean, default: !1 },
@@ -305,18 +305,18 @@ const ct = it.exports, _t = /* @__PURE__ */ o({
305
305
  return { __sfc: !0, emit: t, onChange: e };
306
306
  }
307
307
  });
308
- var dt = function() {
308
+ var pt = function() {
309
309
  var t = this, e = t._self._c, s = t._self._setupProxy;
310
310
  return e("label", { class: ["cl-checkbox", { "cl-checkbox--checked": t.modelValue, "cl-checkbox--disabled": t.disabled }] }, [e("input", { staticClass: "cl-checkbox__input", attrs: { type: "checkbox", disabled: t.disabled }, domProps: { checked: t.modelValue }, on: { change: s.onChange } }), e("span", { staticClass: "cl-checkbox__box" }, [t.modelValue ? e("svg", { staticClass: "cl-checkbox__check", attrs: { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("polyline", { attrs: { points: "20 6 9 17 4 12" } })]) : t._e()]), t.label ? e("span", { staticClass: "cl-checkbox__label" }, [t._v(t._s(t.label))]) : t._e()]);
311
- }, ut = [], pt = /* @__PURE__ */ i(
312
- _t,
313
- dt,
311
+ }, ft = [], vt = /* @__PURE__ */ i(
314
312
  ut,
313
+ pt,
314
+ ft,
315
315
  !1,
316
316
  null,
317
317
  "d1ad8f2e"
318
318
  );
319
- const ft = pt.exports, vt = /* @__PURE__ */ o({
319
+ const ht = vt.exports, mt = /* @__PURE__ */ o({
320
320
  __name: "CreatorsRadio",
321
321
  props: {
322
322
  modelValue: null,
@@ -329,20 +329,20 @@ const ft = pt.exports, vt = /* @__PURE__ */ o({
329
329
  return { __sfc: !0, emit: t };
330
330
  }
331
331
  });
332
- var ht = function() {
332
+ var gt = function() {
333
333
  var t = this, e = t._self._c, s = t._self._setupProxy;
334
334
  return e("label", { class: ["cl-radio", { "cl-radio--checked": t.modelValue === t.value, "cl-radio--disabled": t.disabled }] }, [e("input", { staticClass: "cl-radio__input", attrs: { type: "radio", disabled: t.disabled }, domProps: { checked: t.modelValue === t.value }, on: { change: function(l) {
335
335
  return s.emit("update:modelValue", t.value);
336
336
  } } }), e("span", { staticClass: "cl-radio__circle" }, [t.modelValue === t.value ? e("span", { staticClass: "cl-radio__dot" }) : t._e()]), t.label ? e("span", { staticClass: "cl-radio__label" }, [t._v(t._s(t.label))]) : t._e()]);
337
- }, mt = [], gt = /* @__PURE__ */ i(
338
- vt,
339
- ht,
337
+ }, wt = [], Ct = /* @__PURE__ */ i(
340
338
  mt,
339
+ gt,
340
+ wt,
341
341
  !1,
342
342
  null,
343
343
  "242eedd7"
344
344
  );
345
- const wt = gt.exports, Ct = /* @__PURE__ */ o({
345
+ const bt = Ct.exports, xt = /* @__PURE__ */ o({
346
346
  __name: "CreatorsRating",
347
347
  props: {
348
348
  modelValue: null,
@@ -361,7 +361,7 @@ const wt = gt.exports, Ct = /* @__PURE__ */ o({
361
361
  return { __sfc: !0, props: e, emit: t, hovered: s, starSize: l, select: r };
362
362
  }
363
363
  });
364
- var bt = function() {
364
+ var kt = function() {
365
365
  var t = this, e = t._self._c, s = t._self._setupProxy;
366
366
  return e("div", { class: ["cl-rating", `cl-rating--${t.size}`, { "cl-rating--readonly": t.readonly, "cl-rating--disabled": t.disabled }] }, [e("svg", { staticStyle: { position: "absolute" }, attrs: { width: "0", height: "0" } }, [e("defs", [e("linearGradient", { attrs: { id: "cl-star-gradient", x1: "0%", y1: "0%", x2: "100%", y2: "0%" } }, [e("stop", { attrs: { offset: "0%", "stop-color": "#6C3AFF" } }), e("stop", { attrs: { offset: "77%", "stop-color": "#F564FF" } }), e("stop", { attrs: { offset: "100%", "stop-color": "#FF9864" } })], 1)], 1)]), t._l(t.count, function(l) {
367
367
  return e("button", { key: l, staticClass: "cl-rating__star", class: {
@@ -374,15 +374,15 @@ var bt = function() {
374
374
  s.hovered = null;
375
375
  } } }, [e("svg", { attrs: { width: s.starSize, height: s.starSize, viewBox: "0 0 24 24" } }, [e("path", { attrs: { d: "M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z", fill: l <= (s.hovered ?? t.modelValue ?? 0) ? "url(#cl-star-gradient)" : "currentColor", stroke: (l <= (s.hovered ?? t.modelValue ?? 0), "none") } })])]);
376
376
  }), t.showValue ? e("span", { staticClass: "cl-rating__value" }, [t._v(t._s(t.modelValue ?? 0) + "/" + t._s(t.count))]) : t._e()], 2);
377
- }, xt = [], kt = /* @__PURE__ */ i(
378
- Ct,
379
- bt,
377
+ }, yt = [], $t = /* @__PURE__ */ i(
380
378
  xt,
379
+ kt,
380
+ yt,
381
381
  !1,
382
382
  null,
383
383
  "9b711643"
384
384
  );
385
- const yt = kt.exports, $t = /* @__PURE__ */ o({
385
+ const St = $t.exports, Bt = /* @__PURE__ */ o({
386
386
  __name: "CreatorsDataTable",
387
387
  props: {
388
388
  columns: null,
@@ -399,21 +399,21 @@ const yt = kt.exports, $t = /* @__PURE__ */ o({
399
399
  function n(p) {
400
400
  s.value === p ? l.value = l.value === "asc" ? "desc" : "asc" : (s.value = p, l.value = "asc"), t("sort", s.value, l.value);
401
401
  }
402
- const u = d(() => s.value ? [...e.rows].sort((p, B) => {
403
- const C = p[s.value], b = B[s.value];
404
- if (C == null) return 1;
405
- if (b == null) return -1;
406
- const x = C < b ? -1 : C > b ? 1 : 0;
407
- return l.value === "asc" ? x : -x;
402
+ const u = d(() => s.value ? [...e.rows].sort((p, V) => {
403
+ const b = p[s.value], x = V[s.value];
404
+ if (b == null) return 1;
405
+ if (x == null) return -1;
406
+ const y = b < x ? -1 : b > x ? 1 : 0;
407
+ return l.value === "asc" ? y : -y;
408
408
  }) : [...e.rows]), c = d(() => Math.max(1, Math.ceil(e.rows.length / e.pageSize))), _ = d(() => {
409
409
  if (!e.pagination) return u.value;
410
410
  const p = (r.value - 1) * e.pageSize;
411
411
  return u.value.slice(p, p + e.pageSize);
412
- }), m = d(() => Math.min((r.value - 1) * e.pageSize + 1, e.rows.length)), w = d(() => Math.min(r.value * e.pageSize, e.rows.length));
413
- return { __sfc: !0, props: e, emit: t, sortKey: s, sortDir: l, page: r, toggleSort: n, sorted: u, totalPages: c, sortedRows: _, paginationStart: m, paginationEnd: w };
412
+ }), h = d(() => Math.min((r.value - 1) * e.pageSize + 1, e.rows.length)), C = d(() => Math.min(r.value * e.pageSize, e.rows.length));
413
+ return { __sfc: !0, props: e, emit: t, sortKey: s, sortDir: l, page: r, toggleSort: n, sorted: u, totalPages: c, sortedRows: _, paginationStart: h, paginationEnd: C };
414
414
  }
415
415
  });
416
- var Bt = function() {
416
+ var Vt = function() {
417
417
  var t = this, e = t._self._c, s = t._self._setupProxy;
418
418
  return e("div", { staticClass: "cl-table-wrapper" }, [e("table", { staticClass: "cl-table" }, [e("thead", { staticClass: "cl-table__head" }, [e("tr", t._l(t.columns, function(l) {
419
419
  return e("th", { key: l.key, staticClass: "cl-table__th", class: { "cl-table__th--sortable": l.sortable }, style: l.width ? { width: l.width } : {}, on: { click: function(r) {
@@ -432,18 +432,18 @@ var Bt = function() {
432
432
  } } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("polyline", { attrs: { points: "15 18 9 12 15 6" } })])]), e("span", { staticClass: "cl-table__page-current" }, [t._v(t._s(s.page) + " / " + t._s(s.totalPages))]), e("button", { staticClass: "cl-table__page-btn", attrs: { disabled: s.page === s.totalPages }, on: { click: function(l) {
433
433
  s.page++;
434
434
  } } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("polyline", { attrs: { points: "9 18 15 12 9 6" } })])])])]) : t._e()]);
435
- }, St = [function() {
435
+ }, Pt = [function() {
436
436
  var a = this, t = a._self._c;
437
437
  return a._self._setupProxy, t("div", { staticClass: "cl-table__loading" }, [t("span", { staticClass: "cl-table__spinner" }), t("span", [a._v("Carregando...")])]);
438
- }], Vt = /* @__PURE__ */ i(
439
- $t,
438
+ }], Ft = /* @__PURE__ */ i(
440
439
  Bt,
441
- St,
440
+ Vt,
441
+ Pt,
442
442
  !1,
443
443
  null,
444
444
  "917ea8fe"
445
445
  );
446
- const Pt = Vt.exports, Ft = /* @__PURE__ */ o({
446
+ const Rt = Ft.exports, Lt = /* @__PURE__ */ o({
447
447
  __name: "CreatorsDivider",
448
448
  props: {
449
449
  label: null,
@@ -455,7 +455,7 @@ const Pt = Vt.exports, Ft = /* @__PURE__ */ o({
455
455
  return { __sfc: !0 };
456
456
  }
457
457
  });
458
- var Rt = function() {
458
+ var jt = function() {
459
459
  var t = this, e = t._self._c;
460
460
  return t._self._setupProxy, e("div", { class: [
461
461
  "cl-divider",
@@ -463,15 +463,15 @@ var Rt = function() {
463
463
  { "cl-divider--dashed": t.dashed },
464
464
  t.label ? `cl-divider--label-${t.align}` : ""
465
465
  ], attrs: { role: "separator" } }, [t.label ? e("span", { staticClass: "cl-divider__label" }, [t._v(t._s(t.label))]) : t._e()]);
466
- }, Lt = [], jt = /* @__PURE__ */ i(
467
- Ft,
468
- Rt,
466
+ }, zt = [], Tt = /* @__PURE__ */ i(
469
467
  Lt,
468
+ jt,
469
+ zt,
470
470
  !1,
471
471
  null,
472
472
  "31f5c2f9"
473
473
  );
474
- const zt = jt.exports, Tt = /* @__PURE__ */ o({
474
+ const Mt = Tt.exports, It = /* @__PURE__ */ o({
475
475
  __name: "CreatorsTimeline",
476
476
  props: {
477
477
  items: null,
@@ -482,7 +482,7 @@ const zt = jt.exports, Tt = /* @__PURE__ */ o({
482
482
  return { __sfc: !0 };
483
483
  }
484
484
  });
485
- var Mt = function() {
485
+ var Ot = function() {
486
486
  var t = this, e = t._self._c;
487
487
  return t._self._setupProxy, e("div", { class: ["cl-timeline", `cl-timeline--${t.align}`, `cl-timeline--${t.orientation}`] }, t._l(t.items, function(s, l) {
488
488
  return e("div", { key: l, class: [
@@ -500,15 +500,15 @@ var Mt = function() {
500
500
  return [e("div", { staticClass: "cl-timeline__card" }, [e("div", { staticClass: "cl-timeline__card-header" }, [e("span", { staticClass: "cl-timeline__title" }, [t._v(t._s(s.title))]), s.time ? e("span", { staticClass: "cl-timeline__time" }, [t._v(t._s(s.time))]) : t._e()]), s.description ? e("p", { staticClass: "cl-timeline__desc" }, [t._v(t._s(s.description))]) : t._e(), s.tag ? e("div", { staticClass: "cl-timeline__tag" }, [t._v(t._s(s.tag))]) : t._e()])];
501
501
  })], 2)]], 2);
502
502
  }), 0);
503
- }, It = [], Ot = /* @__PURE__ */ i(
504
- Tt,
505
- Mt,
503
+ }, Dt = [], Et = /* @__PURE__ */ i(
506
504
  It,
505
+ Ot,
506
+ Dt,
507
507
  !1,
508
508
  null,
509
509
  "f802dc88"
510
510
  );
511
- const Dt = Ot.exports, Et = /* @__PURE__ */ o({
511
+ const Wt = Et.exports, At = /* @__PURE__ */ o({
512
512
  __name: "CreatorsBadge",
513
513
  props: {
514
514
  variant: { default: "default" },
@@ -519,18 +519,18 @@ const Dt = Ot.exports, Et = /* @__PURE__ */ o({
519
519
  return { __sfc: !0, props: t, statusIcon: e };
520
520
  }
521
521
  });
522
- var Wt = function() {
522
+ var qt = function() {
523
523
  var t = this, e = t._self._c, s = t._self._setupProxy;
524
524
  return e("span", { class: ["cl-badge", `cl-badge--${t.variant}`] }, [t.icon || s.statusIcon ? e("span", { staticClass: "cl-badge__icon", attrs: { "aria-hidden": "true" } }, [t.icon ? [t._v(t._s(t.icon))] : t.variant === "success" ? [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "11", height: "11", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2.8", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("polyline", { attrs: { points: "20 6 9 17 4 12" } })])] : t.variant === "warning" ? [t._v("⚠")] : t.variant === "error" ? [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "11", height: "11", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2.8", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("line", { attrs: { x1: "18", y1: "6", x2: "6", y2: "18" } }), e("line", { attrs: { x1: "6", y1: "6", x2: "18", y2: "18" } })])] : t.variant === "info" ? [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "11", height: "11", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2.8", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("circle", { attrs: { cx: "12", cy: "12", r: "10" } }), e("line", { attrs: { x1: "12", y1: "16", x2: "12", y2: "12" } }), e("line", { attrs: { x1: "12", y1: "8", x2: "12.01", y2: "8" } })])] : t._e()], 2) : t._e(), t._t("default")], 2);
525
- }, At = [], qt = /* @__PURE__ */ i(
526
- Et,
527
- Wt,
525
+ }, Kt = [], Gt = /* @__PURE__ */ i(
528
526
  At,
527
+ qt,
528
+ Kt,
529
529
  !1,
530
530
  null,
531
531
  "36988d61"
532
532
  );
533
- const Kt = qt.exports, Gt = /* @__PURE__ */ o({
533
+ const Nt = Gt.exports, Ut = /* @__PURE__ */ o({
534
534
  __name: "CreatorsCard",
535
535
  props: {
536
536
  title: null,
@@ -547,7 +547,7 @@ const Kt = qt.exports, Gt = /* @__PURE__ */ o({
547
547
  return { __sfc: !0, props: t, tag: e };
548
548
  }
549
549
  });
550
- var Nt = function() {
550
+ var Xt = function() {
551
551
  var t = this, e = t._self._c, s = t._self._setupProxy;
552
552
  return e(s.tag, { tag: "component", class: [
553
553
  "cl-card",
@@ -559,15 +559,15 @@ var Nt = function() {
559
559
  })], 2) : t._e(), t.description || t.$slots.description ? e("div", { staticClass: "cl-card__description" }, [t._t("description", function() {
560
560
  return [t._v(t._s(t.description))];
561
561
  })], 2) : t._e(), t._t("default")], 2), t.$slots.footer ? e("div", { staticClass: "cl-card__footer" }, [t._t("footer")], 2) : t._e()]);
562
- }, Ut = [], Xt = /* @__PURE__ */ i(
563
- Gt,
564
- Nt,
562
+ }, Ht = [], Yt = /* @__PURE__ */ i(
565
563
  Ut,
564
+ Xt,
565
+ Ht,
566
566
  !1,
567
567
  null,
568
568
  "9d2598d2"
569
569
  );
570
- const Ht = Xt.exports, Yt = /* @__PURE__ */ o({
570
+ const Jt = Yt.exports, Qt = /* @__PURE__ */ o({
571
571
  __name: "CreatorsCardCampaign",
572
572
  props: {
573
573
  status: null,
@@ -587,18 +587,18 @@ const Ht = Xt.exports, Yt = /* @__PURE__ */ o({
587
587
  return { __sfc: !0, props: t, tag: e, brandInitials: s };
588
588
  }
589
589
  });
590
- var Jt = function() {
590
+ var Zt = function() {
591
591
  var t = this, e = t._self._c, s = t._self._setupProxy;
592
592
  return e(s.tag, { tag: "component", class: ["cl-card-campaign", { "cl-card-campaign--hoverable": t.hoverable || !!t.to }], style: t.border ? { border: t.border } : {}, attrs: { to: t.to ?? void 0 } }, [e("div", { staticClass: "cl-card-campaign__top" }, [e("span", { class: ["cl-card-campaign__badge", `cl-card-campaign__badge--${t.statusVariant}`] }, [t._v(" " + t._s(t.status) + " ")])]), e("div", { staticClass: "cl-card-campaign__brand" }, [e("div", { staticClass: "cl-card-campaign__logo" }, [t.brandLogo ? e("img", { attrs: { src: t.brandLogo, alt: t.brandName ?? t.title } }) : e("span", { staticClass: "cl-card-campaign__logo-fallback" }, [t._v(" " + t._s(s.brandInitials) + " ")])]), e("span", { staticClass: "cl-card-campaign__title" }, [t._v(t._s(t.title))])]), e("div", { staticClass: "cl-card-campaign__divider" }), e("div", { staticClass: "cl-card-campaign__footer" }, [e("span", { staticClass: "cl-card-campaign__stat" }, [e("strong", [t._v(t._s(t.publicationsCount))]), e("span", { staticClass: "cl-card-campaign__stat-label" }, [t._v(t._s(t.publicationsLabel))])]), t.deliveryDate ? e("span", { staticClass: "cl-card-campaign__delivery" }, [e("span", { staticClass: "cl-card-campaign__stat-label" }, [t._v("entrega")]), e("strong", [t._v(t._s(t.deliveryDate))])]) : t._e()])]);
593
- }, Qt = [], Zt = /* @__PURE__ */ i(
594
- Yt,
595
- Jt,
593
+ }, te = [], ee = /* @__PURE__ */ i(
596
594
  Qt,
595
+ Zt,
596
+ te,
597
597
  !1,
598
598
  null,
599
599
  "40bccc0d"
600
600
  );
601
- const te = Zt.exports, ee = /* @__PURE__ */ o({
601
+ const se = ee.exports, le = /* @__PURE__ */ o({
602
602
  __name: "CreatorsCardShell",
603
603
  props: {
604
604
  padding: null,
@@ -612,22 +612,22 @@ const te = Zt.exports, ee = /* @__PURE__ */ o({
612
612
  return { __sfc: !0, props: t, tag: e };
613
613
  }
614
614
  });
615
- var se = function() {
615
+ var ae = function() {
616
616
  var t = this, e = t._self._c, s = t._self._setupProxy;
617
617
  return e(s.tag, { tag: "component", class: ["cl-card-shell", { "cl-card-shell--hoverable": t.hoverable || !!t.to }], style: {
618
618
  ...t.padding ? { padding: t.padding } : {},
619
619
  ...t.border ? { border: t.border } : {},
620
620
  ...t.background ? { background: t.background } : {}
621
621
  }, attrs: { to: t.to ?? void 0 } }, [t._t("default")], 2);
622
- }, le = [], ae = /* @__PURE__ */ i(
623
- ee,
624
- se,
622
+ }, re = [], ne = /* @__PURE__ */ i(
625
623
  le,
624
+ ae,
625
+ re,
626
626
  !1,
627
627
  null,
628
628
  "4e3b4fd5"
629
629
  );
630
- const re = ae.exports, ne = /* @__PURE__ */ o({
630
+ const oe = ne.exports, ie = /* @__PURE__ */ o({
631
631
  __name: "CreatorsModal",
632
632
  props: {
633
633
  modelValue: { type: Boolean },
@@ -649,66 +649,68 @@ const re = ae.exports, ne = /* @__PURE__ */ o({
649
649
  function r(n) {
650
650
  n.key === "Escape" && e.modelValue && !e.persistent && s();
651
651
  }
652
- return S(() => e.modelValue, (n) => {
652
+ return P(() => e.modelValue, (n) => {
653
653
  document.body.style.overflow = n ? "hidden" : "";
654
- }), k(() => window.addEventListener("keydown", r)), y(() => {
654
+ }), $(() => window.addEventListener("keydown", r)), S(() => {
655
655
  window.removeEventListener("keydown", r), document.body.style.overflow = "";
656
656
  }), { __sfc: !0, props: e, emit: t, close: s, onOverlayClick: l, onKeydown: r };
657
657
  }
658
658
  });
659
- var oe = function() {
659
+ var ce = function() {
660
660
  var t = this, e = t._self._c, s = t._self._setupProxy;
661
661
  return e("transition", { attrs: { name: "cl-modal" } }, [t.modelValue ? e("div", { staticClass: "cl-modal-overlay", class: { "cl-modal-overlay--blur": t.blur }, on: { mousedown: function(l) {
662
662
  return l.target !== l.currentTarget ? null : s.onOverlayClick.apply(null, arguments);
663
663
  } } }, [e("div", { class: ["cl-modal", `cl-modal--${t.size}`], attrs: { role: "dialog", "aria-modal": "true", "aria-labelledby": t.title ? "cl-modal-title" : void 0 } }, [t.title || t.$slots.header || !t.hideClose ? e("div", { staticClass: "cl-modal__header" }, [t._t("header", function() {
664
664
  return [t.title ? e("span", { staticClass: "cl-modal__title", attrs: { id: "cl-modal-title" } }, [t._v(t._s(t.title))]) : t._e()];
665
665
  }), t.hideClose ? t._e() : e("button", { staticClass: "cl-modal__close", attrs: { "aria-label": "Fechar" }, on: { click: s.close } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("line", { attrs: { x1: "18", y1: "6", x2: "6", y2: "18" } }), e("line", { attrs: { x1: "6", y1: "6", x2: "18", y2: "18" } })])])], 2) : t._e(), e("div", { staticClass: "cl-modal__body" }, [t._t("default")], 2), t.$slots.footer ? e("div", { staticClass: "cl-modal__footer" }, [t._t("footer")], 2) : t._e()])]) : t._e()]);
666
- }, ie = [], ce = /* @__PURE__ */ i(
667
- ne,
668
- oe,
666
+ }, _e = [], de = /* @__PURE__ */ i(
669
667
  ie,
668
+ ce,
669
+ _e,
670
670
  !1,
671
671
  null,
672
672
  null
673
673
  );
674
- const _e = ce.exports;
675
- let de = 0;
676
- function ue() {
677
- try {
678
- return V({ items: [] });
679
- } catch {
680
- const a = window.Vue;
681
- return a != null && a.observable ? a.observable({ items: [] }) : { items: [] };
682
- }
674
+ const ue = de.exports;
675
+ let pe = 0, g = null;
676
+ function fe(a) {
677
+ g = a;
678
+ }
679
+ function ve() {
680
+ return g != null && g.observable ? g.observable({ items: [] }) : F({ items: [] });
681
+ }
682
+ let k = null;
683
+ function w() {
684
+ return k || (k = ve()), k;
683
685
  }
684
- const v = ue();
685
- function g(a, t = "info") {
686
- const e = ++de, s = typeof a == "string" ? { id: e, type: t, title: a, duration: 4e3, position: "top-right" } : { id: e, ...a };
687
- return s.id = e, s.duration > 0 && (s._timer = setTimeout(() => $(e), s.duration)), v.items.push(s), e;
686
+ function m(a, t = "info") {
687
+ const e = w(), s = ++pe, l = typeof a == "string" ? { id: s, type: t, title: a, duration: 4e3, position: "top-right" } : { id: s, ...a };
688
+ return l.id = s, l.duration > 0 && (l._timer = setTimeout(() => B(s), l.duration)), e.items.push(l), s;
688
689
  }
689
- function $(a) {
690
- const t = v.items.findIndex((e) => e.id === a);
691
- t !== -1 && (clearTimeout(v.items[t]._timer), v.items.splice(t, 1));
690
+ function B(a) {
691
+ const t = w(), e = t.items.findIndex((s) => s.id === a);
692
+ e !== -1 && (clearTimeout(t.items[e]._timer), t.items.splice(e, 1));
692
693
  }
693
- function pe() {
694
- v.items.forEach((a) => clearTimeout(a._timer)), v.items.splice(0);
694
+ function he() {
695
+ const a = w();
696
+ a.items.forEach((t) => clearTimeout(t._timer)), a.items.splice(0);
695
697
  }
696
- function fe() {
698
+ function me() {
697
699
  return {
698
- toasts: v.items,
699
- add: g,
700
- remove: $,
701
- clear: pe,
702
- success: (a, t) => g({ title: a, type: "success", duration: 4e3, position: "top-right", ...t }),
703
- error: (a, t) => g({ title: a, type: "error", duration: 4e3, position: "top-right", ...t }),
704
- warning: (a, t) => g({ title: a, type: "warning", duration: 4e3, position: "top-right", ...t }),
705
- info: (a, t) => g({ title: a, type: "info", duration: 4e3, position: "top-right", ...t })
700
+ toasts: w().items,
701
+ add: m,
702
+ remove: B,
703
+ clear: he,
704
+ success: (t, e) => m({ title: t, type: "success", duration: 4e3, position: "top-right", ...e }),
705
+ error: (t, e) => m({ title: t, type: "error", duration: 4e3, position: "top-right", ...e }),
706
+ warning: (t, e) => m({ title: t, type: "warning", duration: 4e3, position: "top-right", ...e }),
707
+ info: (t, e) => m({ title: t, type: "info", duration: 4e3, position: "top-right", ...e })
706
708
  };
707
709
  }
708
- const ve = /* @__PURE__ */ o({
710
+ const ge = /* @__PURE__ */ o({
709
711
  __name: "CreatorsToaster",
710
712
  setup(a) {
711
- const { toasts: t, remove: e } = fe(), s = [
713
+ const { toasts: t, remove: e } = me(), s = [
712
714
  "top-left",
713
715
  "top-center",
714
716
  "top-right",
@@ -723,19 +725,19 @@ const ve = /* @__PURE__ */ o({
723
725
  function n(c) {
724
726
  if (c.duration <= 0) return;
725
727
  clearTimeout(c._timer);
726
- const _ = r.get(c.id), m = _ ? _.remaining : c.duration;
727
- r.set(c.id, { remaining: m, startedAt: Date.now() });
728
+ const _ = r.get(c.id), h = _ ? _.remaining : c.duration;
729
+ r.set(c.id, { remaining: h, startedAt: Date.now() });
728
730
  }
729
731
  function u(c) {
730
732
  const _ = r.get(c.id);
731
733
  if (!_) return;
732
- const m = Date.now() - _.startedAt, w = Math.max(_.remaining - m, 0);
733
- r.delete(c.id), c._timer = setTimeout(() => e(c.id), w);
734
+ const h = Date.now() - _.startedAt, C = Math.max(_.remaining - h, 0);
735
+ r.delete(c.id), c._timer = setTimeout(() => e(c.id), C);
734
736
  }
735
737
  return { __sfc: !0, toasts: t, remove: e, positions: s, byPosition: l, paused: r, pauseTimer: n, resumeTimer: u };
736
738
  }
737
739
  });
738
- var he = function() {
740
+ var we = function() {
739
741
  var t = this, e = t._self._c, s = t._self._setupProxy;
740
742
  return e("div", { staticClass: "cl-toaster" }, t._l(s.positions, function(l) {
741
743
  return e("transition-group", { key: l, class: ["cl-toast-group", `cl-toast-group--${l}`], attrs: { tag: "div", name: "cl-toast" } }, t._l(s.byPosition(l), function(r) {
@@ -748,15 +750,15 @@ var he = function() {
748
750
  } } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("line", { attrs: { x1: "18", y1: "6", x2: "6", y2: "18" } }), e("line", { attrs: { x1: "6", y1: "6", x2: "18", y2: "18" } })])]), r.duration > 0 ? e("div", { staticClass: "cl-toast__progress" }, [e("div", { staticClass: "cl-toast__progress-bar", style: { animationDuration: `${r.duration}ms` } })]) : t._e()]);
749
751
  }), 0);
750
752
  }), 1);
751
- }, me = [], ge = /* @__PURE__ */ i(
752
- ve,
753
- he,
754
- me,
753
+ }, Ce = [], be = /* @__PURE__ */ i(
754
+ ge,
755
+ we,
756
+ Ce,
755
757
  !1,
756
758
  null,
757
759
  null
758
760
  );
759
- const we = ge.exports, Ce = /* @__PURE__ */ o({
761
+ const xe = be.exports, ke = /* @__PURE__ */ o({
760
762
  __name: "CreatorsSkeleton",
761
763
  props: {
762
764
  loading: { type: Boolean, default: !0 },
@@ -771,7 +773,7 @@ const we = ge.exports, Ce = /* @__PURE__ */ o({
771
773
  return { __sfc: !0 };
772
774
  }
773
775
  });
774
- var be = function() {
776
+ var ye = function() {
775
777
  var t = this, e = t._self._c;
776
778
  return t._self._setupProxy, t.loading ? [t.variant !== "text" ? e("div", { class: ["cl-skeleton", `cl-skeleton--${t.variant}`, { "cl-skeleton--no-animation": !t.animated }], style: { width: t.width, height: t.height, borderRadius: t.radius } }) : e("div", { staticClass: "cl-skeleton-text" }, t._l(t.lines, function(s) {
777
779
  return e("div", { key: s, class: ["cl-skeleton", "cl-skeleton--rect", { "cl-skeleton--no-animation": !t.animated }], style: {
@@ -779,32 +781,32 @@ var be = function() {
779
781
  width: s === t.lines && t.lines > 1 ? "65%" : t.width ?? "100%"
780
782
  } });
781
783
  }), 0)] : t._t("default");
782
- }, xe = [], ke = /* @__PURE__ */ i(
783
- Ce,
784
- be,
785
- xe,
784
+ }, $e = [], Se = /* @__PURE__ */ i(
785
+ ke,
786
+ ye,
787
+ $e,
786
788
  !1,
787
789
  null,
788
790
  "3b626f1f"
789
791
  );
790
- const h = ke.exports, ye = /* @__PURE__ */ o({
792
+ const v = Se.exports, Be = /* @__PURE__ */ o({
791
793
  __name: "CreatorsSkeletonCard",
792
794
  setup(a) {
793
- return { __sfc: !0, CreatorsSkeleton: h };
795
+ return { __sfc: !0, CreatorsSkeleton: v };
794
796
  }
795
797
  });
796
- var $e = function() {
798
+ var Ve = function() {
797
799
  var t = this, e = t._self._c, s = t._self._setupProxy;
798
800
  return e("div", { staticClass: "cl-skeleton-card" }, [e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: "100%", height: "180px" } }), e("div", { staticClass: "cl-skeleton-card__body" }, [e("div", { staticClass: "cl-skeleton-card__header" }, [e(s.CreatorsSkeleton, { attrs: { variant: "circle", width: "40px", height: "40px" } }), e("div", { staticClass: "cl-skeleton-card__meta" }, [e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: "120px", height: "14px" } }), e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: "80px", height: "12px" } })], 1)], 1), e(s.CreatorsSkeleton, { attrs: { variant: "text", lines: 3 } }), e("div", { staticClass: "cl-skeleton-card__footer" }, [e(s.CreatorsSkeleton, { attrs: { variant: "pill", width: "72px", height: "28px" } }), e(s.CreatorsSkeleton, { attrs: { variant: "pill", width: "72px", height: "28px" } })], 1)], 1)], 1);
799
- }, Be = [], Se = /* @__PURE__ */ i(
800
- ye,
801
- $e,
801
+ }, Pe = [], Fe = /* @__PURE__ */ i(
802
802
  Be,
803
+ Ve,
804
+ Pe,
803
805
  !1,
804
806
  null,
805
807
  "00fa9654"
806
808
  );
807
- const Ve = Se.exports, Pe = /* @__PURE__ */ o({
809
+ const Re = Fe.exports, Le = /* @__PURE__ */ o({
808
810
  __name: "CreatorsSkeletonList",
809
811
  props: {
810
812
  rows: { default: 5 },
@@ -813,23 +815,23 @@ const Ve = Se.exports, Pe = /* @__PURE__ */ o({
813
815
  action: { type: Boolean, default: !1 }
814
816
  },
815
817
  setup(a) {
816
- return { __sfc: !0, titleWidths: ["60%", "75%", "50%", "80%", "65%"], subtitleWidths: ["40%", "55%", "35%", "50%", "45%"], CreatorsSkeleton: h };
818
+ return { __sfc: !0, titleWidths: ["60%", "75%", "50%", "80%", "65%"], subtitleWidths: ["40%", "55%", "35%", "50%", "45%"], CreatorsSkeleton: v };
817
819
  }
818
820
  });
819
- var Fe = function() {
821
+ var je = function() {
820
822
  var t = this, e = t._self._c, s = t._self._setupProxy;
821
823
  return e("div", { staticClass: "cl-skeleton-list" }, t._l(t.rows, function(l) {
822
824
  return e("div", { key: l, staticClass: "cl-skeleton-list__item" }, [t.avatar ? e(s.CreatorsSkeleton, { attrs: { variant: "circle", width: "44px", height: "44px" } }) : t._e(), e("div", { staticClass: "cl-skeleton-list__content" }, [e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: s.titleWidths[(l - 1) % s.titleWidths.length], height: "14px" } }), t.subtitle ? e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: s.subtitleWidths[(l - 1) % s.subtitleWidths.length], height: "12px" } }) : t._e()], 1), t.action ? e(s.CreatorsSkeleton, { attrs: { variant: "pill", width: "64px", height: "28px" } }) : t._e()], 1);
823
825
  }), 0);
824
- }, Re = [], Le = /* @__PURE__ */ i(
825
- Pe,
826
- Fe,
827
- Re,
826
+ }, ze = [], Te = /* @__PURE__ */ i(
827
+ Le,
828
+ je,
829
+ ze,
828
830
  !1,
829
831
  null,
830
832
  "295ec324"
831
833
  );
832
- const je = Le.exports, ze = /* @__PURE__ */ o({
834
+ const Me = Te.exports, Ie = /* @__PURE__ */ o({
833
835
  __name: "CreatorsSkeletonSimpleList",
834
836
  props: {
835
837
  loading: { type: Boolean, default: !0 },
@@ -837,55 +839,55 @@ const je = Le.exports, ze = /* @__PURE__ */ o({
837
839
  height: { default: "44px" }
838
840
  },
839
841
  setup(a) {
840
- return { __sfc: !0, CreatorsSkeleton: h };
842
+ return { __sfc: !0, CreatorsSkeleton: v };
841
843
  }
842
844
  });
843
- var Te = function() {
845
+ var Oe = function() {
844
846
  var t = this, e = t._self._c, s = t._self._setupProxy;
845
847
  return t.loading ? [e("div", { staticClass: "cl-skeleton-simple-list" }, t._l(t.rows, function(l) {
846
848
  return e("div", { key: l, staticClass: "cl-skeleton-simple-list__item" }, [e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: "100%", height: t.height, radius: "var(--cl-radius-lg, 12px)" } })], 1);
847
849
  }), 0)] : t._t("default");
848
- }, Me = [], Ie = /* @__PURE__ */ i(
849
- ze,
850
- Te,
851
- Me,
850
+ }, De = [], Ee = /* @__PURE__ */ i(
851
+ Ie,
852
+ Oe,
853
+ De,
852
854
  !1,
853
855
  null,
854
856
  "f47e1288"
855
857
  );
856
- const Oe = Ie.exports, De = /* @__PURE__ */ o({
858
+ const We = Ee.exports, Ae = /* @__PURE__ */ o({
857
859
  __name: "CreatorsSkeletonProfile",
858
860
  props: {
859
861
  avatarSize: { default: "80px" }
860
862
  },
861
863
  setup(a) {
862
- return { __sfc: !0, CreatorsSkeleton: h };
864
+ return { __sfc: !0, CreatorsSkeleton: v };
863
865
  }
864
866
  });
865
- var Ee = function() {
867
+ var qe = function() {
866
868
  var t = this, e = t._self._c, s = t._self._setupProxy;
867
869
  return e("div", { staticClass: "cl-skeleton-profile" }, [e(s.CreatorsSkeleton, { staticClass: "cl-skeleton-profile__cover", attrs: { variant: "rect", width: "100%", height: "120px" } }), e("div", { staticClass: "cl-skeleton-profile__body" }, [e(s.CreatorsSkeleton, { staticClass: "cl-skeleton-profile__avatar", attrs: { variant: "circle", width: t.avatarSize, height: t.avatarSize } }), e("div", { staticClass: "cl-skeleton-profile__info" }, [e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: "160px", height: "18px" } }), e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: "100px", height: "13px" } }), e(s.CreatorsSkeleton, { attrs: { variant: "text", lines: 2, width: "320px" } }), e("div", { staticClass: "cl-skeleton-profile__stats" }, t._l(3, function(l) {
868
870
  return e("div", { key: l, staticClass: "cl-skeleton-profile__stat" }, [e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: "48px", height: "18px" } }), e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: "56px", height: "12px" } })], 1);
869
871
  }), 0)], 1)], 1)], 1);
870
- }, We = [], Ae = /* @__PURE__ */ i(
871
- De,
872
- Ee,
873
- We,
872
+ }, Ke = [], Ge = /* @__PURE__ */ i(
873
+ Ae,
874
+ qe,
875
+ Ke,
874
876
  !1,
875
877
  null,
876
878
  "a6635fb6"
877
879
  );
878
- const qe = Ae.exports, Ke = /* @__PURE__ */ o({
880
+ const Ne = Ge.exports, Ue = /* @__PURE__ */ o({
879
881
  __name: "CreatorsSkeletonTable",
880
882
  props: {
881
883
  rows: { default: 5 },
882
884
  cols: { default: 4 }
883
885
  },
884
886
  setup(a) {
885
- return { __sfc: !0, CreatorsSkeleton: h };
887
+ return { __sfc: !0, CreatorsSkeleton: v };
886
888
  }
887
889
  });
888
- var Ge = function() {
890
+ var Xe = function() {
889
891
  var t = this, e = t._self._c, s = t._self._setupProxy;
890
892
  return e("div", { staticClass: "cl-skeleton-table" }, [e("div", { staticClass: "cl-skeleton-table__head" }, t._l(t.cols, function(l) {
891
893
  return e("div", { key: l, staticClass: "cl-skeleton-table__cell" }, [e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: "80px", height: "11px" } })], 1);
@@ -894,15 +896,15 @@ var Ge = function() {
894
896
  return e("div", { key: r, staticClass: "cl-skeleton-table__cell" }, [e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: r === 1 ? "140px" : r === t.cols ? "60px" : `${70 + (l + r) % 3 * 20}px`, height: "13px" } })], 1);
895
897
  }), 0);
896
898
  })], 2);
897
- }, Ne = [], Ue = /* @__PURE__ */ i(
898
- Ke,
899
- Ge,
900
- Ne,
899
+ }, He = [], Ye = /* @__PURE__ */ i(
900
+ Ue,
901
+ Xe,
902
+ He,
901
903
  !1,
902
904
  null,
903
905
  "175f116d"
904
906
  );
905
- const Xe = Ue.exports, He = /* @__PURE__ */ o({
907
+ const Je = Ye.exports, Qe = /* @__PURE__ */ o({
906
908
  __name: "CreatorsRow",
907
909
  props: {
908
910
  align: null,
@@ -913,7 +915,7 @@ const Xe = Ue.exports, He = /* @__PURE__ */ o({
913
915
  return { __sfc: !0 };
914
916
  }
915
917
  });
916
- var Ye = function() {
918
+ var Ze = function() {
917
919
  var t = this, e = t._self._c;
918
920
  return t._self._setupProxy, e("div", { class: [
919
921
  "cl-row",
@@ -921,15 +923,15 @@ var Ye = function() {
921
923
  t.justify ? `cl-row--justify-${t.justify}` : "",
922
924
  t.noGutter ? "cl-row--no-gutter" : ""
923
925
  ] }, [t._t("default")], 2);
924
- }, Je = [], Qe = /* @__PURE__ */ i(
925
- He,
926
- Ye,
927
- Je,
926
+ }, ts = [], es = /* @__PURE__ */ i(
927
+ Qe,
928
+ Ze,
929
+ ts,
928
930
  !1,
929
931
  null,
930
932
  null
931
933
  );
932
- const Ze = Qe.exports, ts = /* @__PURE__ */ o({
934
+ const ss = es.exports, ls = /* @__PURE__ */ o({
933
935
  __name: "CreatorsCol",
934
936
  props: {
935
937
  cols: null,
@@ -951,18 +953,18 @@ const Ze = Qe.exports, ts = /* @__PURE__ */ o({
951
953
  return { __sfc: !0, props: t, classes: e };
952
954
  }
953
955
  });
954
- var es = function() {
956
+ var as = function() {
955
957
  var t = this, e = t._self._c, s = t._self._setupProxy;
956
958
  return e("div", { class: s.classes }, [t._t("default")], 2);
957
- }, ss = [], ls = /* @__PURE__ */ i(
958
- ts,
959
- es,
960
- ss,
959
+ }, rs = [], ns = /* @__PURE__ */ i(
960
+ ls,
961
+ as,
962
+ rs,
961
963
  !1,
962
964
  null,
963
965
  null
964
966
  );
965
- const as = ls.exports, rs = /* @__PURE__ */ o({
967
+ const os = ns.exports, is = /* @__PURE__ */ o({
966
968
  __name: "CreatorsProgress",
967
969
  props: {
968
970
  value: { default: 0 },
@@ -975,81 +977,82 @@ const as = ls.exports, rs = /* @__PURE__ */ o({
975
977
  return { __sfc: !0, props: t, gradId: e, clamped: s, fillWidth: l };
976
978
  }
977
979
  });
978
- var ns = function() {
980
+ var cs = function() {
979
981
  var t = this, e = t._self._c, s = t._self._setupProxy;
980
982
  return e("svg", { staticClass: "cl-progress", attrs: { xmlns: "http://www.w3.org/2000/svg", width: t.width, height: t.height, viewBox: `0 0 ${t.width} ${t.height}`, fill: "none" } }, [e("rect", { attrs: { width: t.width, height: t.height, rx: t.height / 2, fill: t.trackColor } }), s.clamped > 0 ? e("rect", { attrs: { width: s.fillWidth, height: t.height, rx: t.height / 2, fill: `url(#${s.gradId})` } }) : t._e(), e("defs", [e("linearGradient", { attrs: { id: s.gradId, x1: 0, y1: 0, x2: t.width, y2: 0, gradientUnits: "userSpaceOnUse" } }, [e("stop", { attrs: { "stop-color": "#6C3AFF" } }), e("stop", { attrs: { offset: "0.656", "stop-color": "#F564FF" } }), e("stop", { attrs: { offset: "0.784", "stop-color": "#FF9864" } })], 1)], 1)]);
981
- }, os = [], is = /* @__PURE__ */ i(
982
- rs,
983
- ns,
984
- os,
983
+ }, _s = [], ds = /* @__PURE__ */ i(
984
+ is,
985
+ cs,
986
+ _s,
985
987
  !1,
986
988
  null,
987
989
  null
988
990
  );
989
- const cs = is.exports, _s = {
990
- CreatorsButton: j,
991
- CreatorsText: O,
992
- CreatorsAccordion: q,
993
- CreatorsInput: X,
994
- CreatorsInputSwitch: Z,
995
- CreatorsTextarea: at,
996
- CreatorsSelect: ct,
997
- CreatorsCheckbox: ft,
998
- CreatorsRadio: wt,
999
- CreatorsRating: yt,
1000
- CreatorsDataTable: Pt,
1001
- CreatorsDivider: zt,
1002
- CreatorsTimeline: Dt,
1003
- CreatorsBadge: Kt,
1004
- CreatorsCard: Ht,
1005
- CreatorsCardCampaign: te,
1006
- CreatorsCardShell: re,
1007
- CreatorsModal: _e,
1008
- CreatorsToaster: we,
1009
- CreatorsSkeleton: h,
1010
- CreatorsSkeletonCard: Ve,
1011
- CreatorsSkeletonList: je,
1012
- CreatorsSkeletonSimpleList: Oe,
1013
- CreatorsSkeletonProfile: qe,
1014
- CreatorsSkeletonTable: Xe,
1015
- CreatorsRow: Ze,
1016
- CreatorsCol: as,
1017
- CreatorsProgress: cs
1018
- }, us = {
991
+ const us = ds.exports, ps = {
992
+ CreatorsButton: T,
993
+ CreatorsText: E,
994
+ CreatorsAccordion: G,
995
+ CreatorsInput: Y,
996
+ CreatorsInputSwitch: et,
997
+ CreatorsTextarea: nt,
998
+ CreatorsSelect: dt,
999
+ CreatorsCheckbox: ht,
1000
+ CreatorsRadio: bt,
1001
+ CreatorsRating: St,
1002
+ CreatorsDataTable: Rt,
1003
+ CreatorsDivider: Mt,
1004
+ CreatorsTimeline: Wt,
1005
+ CreatorsBadge: Nt,
1006
+ CreatorsCard: Jt,
1007
+ CreatorsCardCampaign: se,
1008
+ CreatorsCardShell: oe,
1009
+ CreatorsModal: ue,
1010
+ CreatorsToaster: xe,
1011
+ CreatorsSkeleton: v,
1012
+ CreatorsSkeletonCard: Re,
1013
+ CreatorsSkeletonList: Me,
1014
+ CreatorsSkeletonSimpleList: We,
1015
+ CreatorsSkeletonProfile: Ne,
1016
+ CreatorsSkeletonTable: Je,
1017
+ CreatorsRow: ss,
1018
+ CreatorsCol: os,
1019
+ CreatorsProgress: us
1020
+ }, vs = {
1019
1021
  install(a) {
1020
- for (const [t, e] of Object.entries(_s))
1022
+ fe(a);
1023
+ for (const [t, e] of Object.entries(ps))
1021
1024
  a.component(t, e);
1022
1025
  }
1023
1026
  };
1024
1027
  export {
1025
- q as CreatorsAccordion,
1026
- Kt as CreatorsBadge,
1027
- j as CreatorsButton,
1028
- Ht as CreatorsCard,
1029
- te as CreatorsCardCampaign,
1030
- re as CreatorsCardShell,
1031
- ft as CreatorsCheckbox,
1032
- as as CreatorsCol,
1033
- Pt as CreatorsDataTable,
1034
- zt as CreatorsDivider,
1035
- X as CreatorsInput,
1036
- Z as CreatorsInputSwitch,
1037
- us as CreatorsLibPlugin,
1038
- _e as CreatorsModal,
1039
- cs as CreatorsProgress,
1040
- wt as CreatorsRadio,
1041
- yt as CreatorsRating,
1042
- Ze as CreatorsRow,
1043
- ct as CreatorsSelect,
1044
- h as CreatorsSkeleton,
1045
- Ve as CreatorsSkeletonCard,
1046
- je as CreatorsSkeletonList,
1047
- qe as CreatorsSkeletonProfile,
1048
- Oe as CreatorsSkeletonSimpleList,
1049
- Xe as CreatorsSkeletonTable,
1050
- O as CreatorsText,
1051
- at as CreatorsTextarea,
1052
- Dt as CreatorsTimeline,
1053
- we as CreatorsToaster,
1054
- fe as useToast
1028
+ G as CreatorsAccordion,
1029
+ Nt as CreatorsBadge,
1030
+ T as CreatorsButton,
1031
+ Jt as CreatorsCard,
1032
+ se as CreatorsCardCampaign,
1033
+ oe as CreatorsCardShell,
1034
+ ht as CreatorsCheckbox,
1035
+ os as CreatorsCol,
1036
+ Rt as CreatorsDataTable,
1037
+ Mt as CreatorsDivider,
1038
+ Y as CreatorsInput,
1039
+ et as CreatorsInputSwitch,
1040
+ vs as CreatorsLibPlugin,
1041
+ ue as CreatorsModal,
1042
+ us as CreatorsProgress,
1043
+ bt as CreatorsRadio,
1044
+ St as CreatorsRating,
1045
+ ss as CreatorsRow,
1046
+ dt as CreatorsSelect,
1047
+ v as CreatorsSkeleton,
1048
+ Re as CreatorsSkeletonCard,
1049
+ Me as CreatorsSkeletonList,
1050
+ Ne as CreatorsSkeletonProfile,
1051
+ We as CreatorsSkeletonSimpleList,
1052
+ Je as CreatorsSkeletonTable,
1053
+ E as CreatorsText,
1054
+ nt as CreatorsTextarea,
1055
+ Wt as CreatorsTimeline,
1056
+ xe as CreatorsToaster,
1057
+ me as useToast
1055
1058
  };