clds-ui 0.3.7 → 0.3.8

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,4 +1,4 @@
1
- import { defineComponent as o, computed as d, ref as f, onMounted as y, onUnmounted as $, resolveComponent as b, watch as V, reactive as R } from "vue";
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
2
  const P = /* @__PURE__ */ o({
3
3
  __name: "CreatorsButton",
4
4
  props: {
@@ -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
- }, L = [], j = /* @__PURE__ */ i(
32
+ }, R = [], L = /* @__PURE__ */ i(
33
33
  P,
34
34
  F,
35
- L,
35
+ R,
36
36
  !1,
37
37
  null,
38
38
  "2b3665ef"
39
39
  );
40
- const z = j.exports, T = /* @__PURE__ */ o({
40
+ const j = L.exports, z = /* @__PURE__ */ o({
41
41
  __name: "CreatorsText",
42
42
  props: {
43
43
  variant: { default: "body-md" },
@@ -67,18 +67,18 @@ const z = j.exports, T = /* @__PURE__ */ o({
67
67
  return { __sfc: !0, props: t, defaultTags: e, resolvedTag: s };
68
68
  }
69
69
  });
70
- var M = function() {
70
+ var T = function() {
71
71
  var t = this, e = t._self._c, s = t._self._setupProxy;
72
72
  return e(s.resolvedTag, { tag: "component", class: ["cl-text", `cl-text--${t.variant}`] }, [t._t("default")], 2);
73
- }, I = [], O = /* @__PURE__ */ i(
73
+ }, M = [], I = /* @__PURE__ */ i(
74
+ z,
74
75
  T,
75
76
  M,
76
- I,
77
77
  !1,
78
78
  null,
79
79
  "a993d82e"
80
80
  );
81
- const D = O.exports, E = /* @__PURE__ */ o({
81
+ const O = I.exports, D = /* @__PURE__ */ o({
82
82
  __name: "CreatorsAccordion",
83
83
  props: {
84
84
  items: null,
@@ -95,7 +95,7 @@ const D = O.exports, E = /* @__PURE__ */ o({
95
95
  return { __sfc: !0, props: e, emit: t, openIndex: s, toggle: l };
96
96
  }
97
97
  });
98
- var W = function() {
98
+ var E = function() {
99
99
  var t = this, e = t._self._c, s = t._self._setupProxy;
100
100
  return e("div", { staticClass: "cl-accordion" }, t._l(t.items, function(l, r) {
101
101
  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) {
@@ -104,15 +104,15 @@ var W = function() {
104
104
  return [t._v(t._s(l.content))];
105
105
  })], 2)])]);
106
106
  }), 0);
107
- }, A = [], q = /* @__PURE__ */ i(
107
+ }, W = [], A = /* @__PURE__ */ i(
108
+ D,
108
109
  E,
109
110
  W,
110
- A,
111
111
  !1,
112
112
  null,
113
113
  "cdacee19"
114
114
  );
115
- const K = q.exports, G = /* @__PURE__ */ o({
115
+ const q = A.exports, K = /* @__PURE__ */ o({
116
116
  __name: "CreatorsInput",
117
117
  props: {
118
118
  modelValue: null,
@@ -147,7 +147,7 @@ const K = q.exports, G = /* @__PURE__ */ o({
147
147
  return { __sfc: !0, emit: t, onInput: e, onEnter: s, onClear: l, onSearch: r };
148
148
  }
149
149
  });
150
- var N = function() {
150
+ var G = function() {
151
151
  var t = this, e = t._self._c, s = t._self._setupProxy;
152
152
  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() {
153
153
  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()];
@@ -158,15 +158,15 @@ var N = function() {
158
158
  }, blur: function(l) {
159
159
  return s.emit("blur", l);
160
160
  } } }, "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()]);
161
- }, U = [], X = /* @__PURE__ */ i(
161
+ }, N = [], U = /* @__PURE__ */ i(
162
+ K,
162
163
  G,
163
164
  N,
164
- U,
165
165
  !1,
166
166
  null,
167
167
  "8c08ffa2"
168
168
  );
169
- const H = X.exports, Y = /* @__PURE__ */ o({
169
+ const X = U.exports, H = /* @__PURE__ */ o({
170
170
  __name: "CreatorsInputSwitch",
171
171
  props: {
172
172
  modelValue: { type: Boolean, default: !1 },
@@ -182,21 +182,21 @@ const H = X.exports, Y = /* @__PURE__ */ o({
182
182
  return { __sfc: !0, emit: t, onChange: e };
183
183
  }
184
184
  });
185
- var J = function() {
185
+ var Y = function() {
186
186
  var t = this, e = t._self._c, s = t._self._setupProxy;
187
187
  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()]);
188
- }, Q = [function() {
188
+ }, J = [function() {
189
189
  var a = this, t = a._self._c;
190
190
  return a._self._setupProxy, t("span", { staticClass: "cl-switch__track" }, [t("span", { staticClass: "cl-switch__thumb" })]);
191
- }], Z = /* @__PURE__ */ i(
191
+ }], Q = /* @__PURE__ */ i(
192
+ H,
192
193
  Y,
193
194
  J,
194
- Q,
195
195
  !1,
196
196
  null,
197
197
  "3fb5090c"
198
198
  );
199
- const tt = Z.exports, et = /* @__PURE__ */ o({
199
+ const Z = Q.exports, tt = /* @__PURE__ */ o({
200
200
  __name: "CreatorsTextarea",
201
201
  props: {
202
202
  modelValue: null,
@@ -224,7 +224,7 @@ const tt = Z.exports, et = /* @__PURE__ */ o({
224
224
  return { __sfc: !0, props: e, emit: t, onInput: s, onEnter: l, isOver: r };
225
225
  }
226
226
  });
227
- var st = function() {
227
+ var et = function() {
228
228
  var t = this, e = t._self._c, s = t._self._setupProxy;
229
229
  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) {
230
230
  return !l.type.indexOf("key") && t._k(l.keyCode, "enter", 13, l.key, "Enter") || !l.ctrlKey ? null : s.onEnter.apply(null, arguments);
@@ -233,15 +233,15 @@ var st = function() {
233
233
  }, blur: function(l) {
234
234
  return s.emit("blur", l);
235
235
  } } }, "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()])]);
236
- }, lt = [], at = /* @__PURE__ */ i(
236
+ }, st = [], lt = /* @__PURE__ */ i(
237
+ tt,
237
238
  et,
238
239
  st,
239
- lt,
240
240
  !1,
241
241
  null,
242
242
  "b23cc99a"
243
243
  );
244
- const rt = at.exports, nt = /* @__PURE__ */ o({
244
+ const at = lt.exports, rt = /* @__PURE__ */ o({
245
245
  __name: "CreatorsSelect",
246
246
  props: {
247
247
  modelValue: null,
@@ -267,29 +267,29 @@ const rt = at.exports, nt = /* @__PURE__ */ o({
267
267
  function c(_) {
268
268
  l.value && !l.value.contains(_.target) && (s.value = !1);
269
269
  }
270
- return y(() => {
270
+ return k(() => {
271
271
  document.addEventListener("mousedown", c), document.addEventListener("touchstart", c);
272
- }), $(() => {
272
+ }), y(() => {
273
273
  document.removeEventListener("mousedown", c), document.removeEventListener("touchstart", c);
274
274
  }), { __sfc: !0, props: e, emit: t, isOpen: s, rootRef: l, selectedOption: r, toggle: n, select: u, onClickOutside: c };
275
275
  }
276
276
  });
277
- var ot = function() {
277
+ var nt = function() {
278
278
  var t = this, e = t._self._c, s = t._self._setupProxy;
279
279
  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) {
280
280
  return e("li", { key: l.value, class: ["cl-select__option", { "cl-select__option--selected": l.value === t.modelValue }], on: { click: function(r) {
281
281
  return s.select(l);
282
282
  } } }, [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()]);
283
283
  }), 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);
284
- }, it = [], ct = /* @__PURE__ */ i(
284
+ }, ot = [], it = /* @__PURE__ */ i(
285
+ rt,
285
286
  nt,
286
287
  ot,
287
- it,
288
288
  !1,
289
289
  null,
290
290
  "f07ac917"
291
291
  );
292
- const _t = ct.exports, dt = /* @__PURE__ */ o({
292
+ const ct = it.exports, _t = /* @__PURE__ */ o({
293
293
  __name: "CreatorsCheckbox",
294
294
  props: {
295
295
  modelValue: { type: Boolean, default: !1 },
@@ -304,18 +304,18 @@ const _t = ct.exports, dt = /* @__PURE__ */ o({
304
304
  return { __sfc: !0, emit: t, onChange: e };
305
305
  }
306
306
  });
307
- var ut = function() {
307
+ var dt = function() {
308
308
  var t = this, e = t._self._c, s = t._self._setupProxy;
309
309
  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()]);
310
- }, pt = [], ft = /* @__PURE__ */ i(
310
+ }, ut = [], pt = /* @__PURE__ */ i(
311
+ _t,
311
312
  dt,
312
313
  ut,
313
- pt,
314
314
  !1,
315
315
  null,
316
316
  "d1ad8f2e"
317
317
  );
318
- const vt = ft.exports, ht = /* @__PURE__ */ o({
318
+ const ft = pt.exports, vt = /* @__PURE__ */ o({
319
319
  __name: "CreatorsRadio",
320
320
  props: {
321
321
  modelValue: null,
@@ -328,20 +328,20 @@ const vt = ft.exports, ht = /* @__PURE__ */ o({
328
328
  return { __sfc: !0, emit: t };
329
329
  }
330
330
  });
331
- var mt = function() {
331
+ var ht = function() {
332
332
  var t = this, e = t._self._c, s = t._self._setupProxy;
333
333
  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) {
334
334
  return s.emit("update:modelValue", t.value);
335
335
  } } }), 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()]);
336
- }, gt = [], wt = /* @__PURE__ */ i(
336
+ }, mt = [], gt = /* @__PURE__ */ i(
337
+ vt,
337
338
  ht,
338
339
  mt,
339
- gt,
340
340
  !1,
341
341
  null,
342
342
  "242eedd7"
343
343
  );
344
- const Ct = wt.exports, xt = /* @__PURE__ */ o({
344
+ const wt = gt.exports, Ct = /* @__PURE__ */ o({
345
345
  __name: "CreatorsRating",
346
346
  props: {
347
347
  modelValue: null,
@@ -360,7 +360,7 @@ const Ct = wt.exports, xt = /* @__PURE__ */ o({
360
360
  return { __sfc: !0, props: e, emit: t, hovered: s, starSize: l, select: r };
361
361
  }
362
362
  });
363
- var bt = function() {
363
+ var xt = function() {
364
364
  var t = this, e = t._self._c, s = t._self._setupProxy;
365
365
  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) {
366
366
  return e("button", { key: l, staticClass: "cl-rating__star", class: {
@@ -373,15 +373,15 @@ var bt = function() {
373
373
  s.hovered = null;
374
374
  } } }, [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") } })])]);
375
375
  }), t.showValue ? e("span", { staticClass: "cl-rating__value" }, [t._v(t._s(t.modelValue ?? 0) + "/" + t._s(t.count))]) : t._e()], 2);
376
- }, kt = [], yt = /* @__PURE__ */ i(
376
+ }, bt = [], kt = /* @__PURE__ */ i(
377
+ Ct,
377
378
  xt,
378
379
  bt,
379
- kt,
380
380
  !1,
381
381
  null,
382
382
  "9b711643"
383
383
  );
384
- const $t = yt.exports, Bt = /* @__PURE__ */ o({
384
+ const yt = kt.exports, $t = /* @__PURE__ */ o({
385
385
  __name: "CreatorsDataTable",
386
386
  props: {
387
387
  columns: null,
@@ -398,12 +398,12 @@ const $t = yt.exports, Bt = /* @__PURE__ */ o({
398
398
  function n(p) {
399
399
  s.value === p ? l.value = l.value === "asc" ? "desc" : "asc" : (s.value = p, l.value = "asc"), t("sort", s.value, l.value);
400
400
  }
401
- const u = d(() => s.value ? [...e.rows].sort((p, S) => {
402
- const C = p[s.value], x = S[s.value];
401
+ const u = d(() => s.value ? [...e.rows].sort((p, B) => {
402
+ const C = p[s.value], x = B[s.value];
403
403
  if (C == null) return 1;
404
404
  if (x == null) return -1;
405
- const k = C < x ? -1 : C > x ? 1 : 0;
406
- return l.value === "asc" ? k : -k;
405
+ const b = C < x ? -1 : C > x ? 1 : 0;
406
+ return l.value === "asc" ? b : -b;
407
407
  }) : [...e.rows]), c = d(() => Math.max(1, Math.ceil(e.rows.length / e.pageSize))), _ = d(() => {
408
408
  if (!e.pagination) return u.value;
409
409
  const p = (r.value - 1) * e.pageSize;
@@ -412,7 +412,7 @@ const $t = yt.exports, Bt = /* @__PURE__ */ o({
412
412
  return { __sfc: !0, props: e, emit: t, sortKey: s, sortDir: l, page: r, toggleSort: n, sorted: u, totalPages: c, sortedRows: _, paginationStart: m, paginationEnd: w };
413
413
  }
414
414
  });
415
- var St = function() {
415
+ var Bt = function() {
416
416
  var t = this, e = t._self._c, s = t._self._setupProxy;
417
417
  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) {
418
418
  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) {
@@ -431,18 +431,18 @@ var St = function() {
431
431
  } } }, [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) {
432
432
  s.page++;
433
433
  } } }, [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()]);
434
- }, Vt = [function() {
434
+ }, St = [function() {
435
435
  var a = this, t = a._self._c;
436
436
  return a._self._setupProxy, t("div", { staticClass: "cl-table__loading" }, [t("span", { staticClass: "cl-table__spinner" }), t("span", [a._v("Carregando...")])]);
437
- }], Rt = /* @__PURE__ */ i(
437
+ }], Vt = /* @__PURE__ */ i(
438
+ $t,
438
439
  Bt,
439
440
  St,
440
- Vt,
441
441
  !1,
442
442
  null,
443
443
  "917ea8fe"
444
444
  );
445
- const Pt = Rt.exports, Ft = /* @__PURE__ */ o({
445
+ const Pt = Vt.exports, Ft = /* @__PURE__ */ o({
446
446
  __name: "CreatorsDivider",
447
447
  props: {
448
448
  label: null,
@@ -454,7 +454,7 @@ const Pt = Rt.exports, Ft = /* @__PURE__ */ o({
454
454
  return { __sfc: !0 };
455
455
  }
456
456
  });
457
- var Lt = function() {
457
+ var Rt = function() {
458
458
  var t = this, e = t._self._c;
459
459
  return t._self._setupProxy, e("div", { class: [
460
460
  "cl-divider",
@@ -462,15 +462,15 @@ var Lt = function() {
462
462
  { "cl-divider--dashed": t.dashed },
463
463
  t.label ? `cl-divider--label-${t.align}` : ""
464
464
  ], attrs: { role: "separator" } }, [t.label ? e("span", { staticClass: "cl-divider__label" }, [t._v(t._s(t.label))]) : t._e()]);
465
- }, jt = [], zt = /* @__PURE__ */ i(
465
+ }, Lt = [], jt = /* @__PURE__ */ i(
466
466
  Ft,
467
+ Rt,
467
468
  Lt,
468
- jt,
469
469
  !1,
470
470
  null,
471
471
  "31f5c2f9"
472
472
  );
473
- const Tt = zt.exports, Mt = /* @__PURE__ */ o({
473
+ const zt = jt.exports, Tt = /* @__PURE__ */ o({
474
474
  __name: "CreatorsTimeline",
475
475
  props: {
476
476
  items: null,
@@ -481,7 +481,7 @@ const Tt = zt.exports, Mt = /* @__PURE__ */ o({
481
481
  return { __sfc: !0 };
482
482
  }
483
483
  });
484
- var It = function() {
484
+ var Mt = function() {
485
485
  var t = this, e = t._self._c;
486
486
  return t._self._setupProxy, e("div", { class: ["cl-timeline", `cl-timeline--${t.align}`, `cl-timeline--${t.orientation}`] }, t._l(t.items, function(s, l) {
487
487
  return e("div", { key: l, class: [
@@ -499,15 +499,15 @@ var It = function() {
499
499
  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()])];
500
500
  })], 2)]], 2);
501
501
  }), 0);
502
- }, Ot = [], Dt = /* @__PURE__ */ i(
502
+ }, It = [], Ot = /* @__PURE__ */ i(
503
+ Tt,
503
504
  Mt,
504
505
  It,
505
- Ot,
506
506
  !1,
507
507
  null,
508
508
  "f802dc88"
509
509
  );
510
- const Et = Dt.exports, Wt = /* @__PURE__ */ o({
510
+ const Dt = Ot.exports, Et = /* @__PURE__ */ o({
511
511
  __name: "CreatorsBadge",
512
512
  props: {
513
513
  variant: { default: "default" },
@@ -518,18 +518,18 @@ const Et = Dt.exports, Wt = /* @__PURE__ */ o({
518
518
  return { __sfc: !0, props: t, statusIcon: e };
519
519
  }
520
520
  });
521
- var At = function() {
521
+ var Wt = function() {
522
522
  var t = this, e = t._self._c, s = t._self._setupProxy;
523
523
  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);
524
- }, qt = [], Kt = /* @__PURE__ */ i(
524
+ }, At = [], qt = /* @__PURE__ */ i(
525
+ Et,
525
526
  Wt,
526
527
  At,
527
- qt,
528
528
  !1,
529
529
  null,
530
530
  "36988d61"
531
531
  );
532
- const Gt = Kt.exports, Nt = /* @__PURE__ */ o({
532
+ const Kt = qt.exports, Gt = /* @__PURE__ */ o({
533
533
  __name: "CreatorsCard",
534
534
  props: {
535
535
  title: null,
@@ -542,11 +542,11 @@ const Gt = Kt.exports, Nt = /* @__PURE__ */ o({
542
542
  to: null
543
543
  },
544
544
  setup(a) {
545
- const t = a, e = d(() => t.to ? b("RouterLink") : "div");
545
+ const t = a, e = d(() => t.to ? "router-link" : "div");
546
546
  return { __sfc: !0, props: t, tag: e };
547
547
  }
548
548
  });
549
- var Ut = function() {
549
+ var Nt = function() {
550
550
  var t = this, e = t._self._c, s = t._self._setupProxy;
551
551
  return e(s.tag, { tag: "component", class: [
552
552
  "cl-card",
@@ -558,15 +558,15 @@ var Ut = function() {
558
558
  })], 2) : t._e(), t.description || t.$slots.description ? e("div", { staticClass: "cl-card__description" }, [t._t("description", function() {
559
559
  return [t._v(t._s(t.description))];
560
560
  })], 2) : t._e(), t._t("default")], 2), t.$slots.footer ? e("div", { staticClass: "cl-card__footer" }, [t._t("footer")], 2) : t._e()]);
561
- }, Xt = [], Ht = /* @__PURE__ */ i(
561
+ }, Ut = [], Xt = /* @__PURE__ */ i(
562
+ Gt,
562
563
  Nt,
563
564
  Ut,
564
- Xt,
565
565
  !1,
566
566
  null,
567
- "3b0ac58d"
567
+ "9d2598d2"
568
568
  );
569
- const Yt = Ht.exports, Jt = /* @__PURE__ */ o({
569
+ const Ht = Xt.exports, Yt = /* @__PURE__ */ o({
570
570
  __name: "CreatorsCardCampaign",
571
571
  props: {
572
572
  status: null,
@@ -582,22 +582,22 @@ const Yt = Ht.exports, Jt = /* @__PURE__ */ o({
582
582
  to: null
583
583
  },
584
584
  setup(a) {
585
- const t = a, e = d(() => t.to ? b("RouterLink") : "div"), s = d(() => (t.brandName ?? t.title).slice(0, 2).toUpperCase());
585
+ const t = a, e = d(() => t.to ? "router-link" : "div"), s = d(() => (t.brandName ?? t.title).slice(0, 2).toUpperCase());
586
586
  return { __sfc: !0, props: t, tag: e, brandInitials: s };
587
587
  }
588
588
  });
589
- var Qt = function() {
589
+ var Jt = function() {
590
590
  var t = this, e = t._self._c, s = t._self._setupProxy;
591
591
  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()])]);
592
- }, Zt = [], te = /* @__PURE__ */ i(
592
+ }, Qt = [], Zt = /* @__PURE__ */ i(
593
+ Yt,
593
594
  Jt,
594
595
  Qt,
595
- Zt,
596
596
  !1,
597
597
  null,
598
- "d401f2c4"
598
+ "40bccc0d"
599
599
  );
600
- const ee = te.exports, se = /* @__PURE__ */ o({
600
+ const te = Zt.exports, ee = /* @__PURE__ */ o({
601
601
  __name: "CreatorsCardShell",
602
602
  props: {
603
603
  padding: null,
@@ -606,22 +606,22 @@ const ee = te.exports, se = /* @__PURE__ */ o({
606
606
  to: null
607
607
  },
608
608
  setup(a) {
609
- const t = a, e = d(() => t.to ? b("RouterLink") : "div");
609
+ const t = a, e = d(() => t.to ? "router-link" : "div");
610
610
  return { __sfc: !0, props: t, tag: e };
611
611
  }
612
612
  });
613
- var le = function() {
613
+ var se = function() {
614
614
  var t = this, e = t._self._c, s = t._self._setupProxy;
615
615
  return e(s.tag, { tag: "component", class: ["cl-card-shell", { "cl-card-shell--hoverable": t.hoverable || !!t.to }], style: { ...t.padding ? { padding: t.padding } : {}, ...t.border ? { border: t.border } : {} }, attrs: { to: t.to ?? void 0 } }, [t._t("default")], 2);
616
- }, ae = [], re = /* @__PURE__ */ i(
616
+ }, le = [], ae = /* @__PURE__ */ i(
617
+ ee,
617
618
  se,
618
619
  le,
619
- ae,
620
620
  !1,
621
621
  null,
622
- "ba502d63"
622
+ "c039c43a"
623
623
  );
624
- const ne = re.exports, oe = /* @__PURE__ */ o({
624
+ const re = ae.exports, ne = /* @__PURE__ */ o({
625
625
  __name: "CreatorsModal",
626
626
  props: {
627
627
  modelValue: { type: Boolean },
@@ -643,58 +643,58 @@ const ne = re.exports, oe = /* @__PURE__ */ o({
643
643
  function r(n) {
644
644
  n.key === "Escape" && e.modelValue && !e.persistent && s();
645
645
  }
646
- return V(() => e.modelValue, (n) => {
646
+ return S(() => e.modelValue, (n) => {
647
647
  document.body.style.overflow = n ? "hidden" : "";
648
- }), y(() => window.addEventListener("keydown", r)), $(() => {
648
+ }), k(() => window.addEventListener("keydown", r)), y(() => {
649
649
  window.removeEventListener("keydown", r), document.body.style.overflow = "";
650
650
  }), { __sfc: !0, props: e, emit: t, close: s, onOverlayClick: l, onKeydown: r };
651
651
  }
652
652
  });
653
- var ie = function() {
653
+ var oe = function() {
654
654
  var t = this, e = t._self._c, s = t._self._setupProxy;
655
655
  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) {
656
656
  return l.target !== l.currentTarget ? null : s.onOverlayClick.apply(null, arguments);
657
657
  } } }, [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() {
658
658
  return [t.title ? e("span", { staticClass: "cl-modal__title", attrs: { id: "cl-modal-title" } }, [t._v(t._s(t.title))]) : t._e()];
659
659
  }), 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()]);
660
- }, ce = [], _e = /* @__PURE__ */ i(
660
+ }, ie = [], ce = /* @__PURE__ */ i(
661
+ ne,
661
662
  oe,
662
663
  ie,
663
- ce,
664
664
  !1,
665
665
  null,
666
666
  null
667
667
  );
668
- const de = _e.exports;
669
- let ue = 0;
670
- const v = R({ items: [] });
668
+ const _e = ce.exports;
669
+ let de = 0;
670
+ const v = V({ items: [] });
671
671
  function g(a, t = "info") {
672
- const e = ++ue, s = typeof a == "string" ? { id: e, type: t, title: a, duration: 4e3, position: "top-right" } : { id: e, ...a };
673
- return s.id = e, s.duration > 0 && (s._timer = setTimeout(() => B(e), s.duration)), v.items.push(s), e;
672
+ const e = ++de, s = typeof a == "string" ? { id: e, type: t, title: a, duration: 4e3, position: "top-right" } : { id: e, ...a };
673
+ return s.id = e, s.duration > 0 && (s._timer = setTimeout(() => $(e), s.duration)), v.items.push(s), e;
674
674
  }
675
- function B(a) {
675
+ function $(a) {
676
676
  const t = v.items.findIndex((e) => e.id === a);
677
677
  t !== -1 && (clearTimeout(v.items[t]._timer), v.items.splice(t, 1));
678
678
  }
679
- function pe() {
679
+ function ue() {
680
680
  v.items.forEach((a) => clearTimeout(a._timer)), v.items.splice(0);
681
681
  }
682
- function fe() {
682
+ function pe() {
683
683
  return {
684
684
  toasts: v.items,
685
685
  add: g,
686
- remove: B,
687
- clear: pe,
686
+ remove: $,
687
+ clear: ue,
688
688
  success: (a, t) => g({ title: a, type: "success", duration: 4e3, position: "top-right", ...t }),
689
689
  error: (a, t) => g({ title: a, type: "error", duration: 4e3, position: "top-right", ...t }),
690
690
  warning: (a, t) => g({ title: a, type: "warning", duration: 4e3, position: "top-right", ...t }),
691
691
  info: (a, t) => g({ title: a, type: "info", duration: 4e3, position: "top-right", ...t })
692
692
  };
693
693
  }
694
- const ve = /* @__PURE__ */ o({
694
+ const fe = /* @__PURE__ */ o({
695
695
  __name: "CreatorsToaster",
696
696
  setup(a) {
697
- const { toasts: t, remove: e } = fe(), s = [
697
+ const { toasts: t, remove: e } = pe(), s = [
698
698
  "top-left",
699
699
  "top-center",
700
700
  "top-right",
@@ -721,7 +721,7 @@ const ve = /* @__PURE__ */ o({
721
721
  return { __sfc: !0, toasts: t, remove: e, positions: s, byPosition: l, paused: r, pauseTimer: n, resumeTimer: u };
722
722
  }
723
723
  });
724
- var he = function() {
724
+ var ve = function() {
725
725
  var t = this, e = t._self._c, s = t._self._setupProxy;
726
726
  return e("div", { staticClass: "cl-toaster" }, t._l(s.positions, function(l) {
727
727
  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) {
@@ -734,15 +734,15 @@ var he = function() {
734
734
  } } }, [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()]);
735
735
  }), 0);
736
736
  }), 1);
737
- }, me = [], ge = /* @__PURE__ */ i(
737
+ }, he = [], me = /* @__PURE__ */ i(
738
+ fe,
738
739
  ve,
739
740
  he,
740
- me,
741
741
  !1,
742
742
  null,
743
743
  null
744
744
  );
745
- const we = ge.exports, Ce = /* @__PURE__ */ o({
745
+ const ge = me.exports, we = /* @__PURE__ */ o({
746
746
  __name: "CreatorsSkeleton",
747
747
  props: {
748
748
  loading: { type: Boolean, default: !0 },
@@ -757,7 +757,7 @@ const we = ge.exports, Ce = /* @__PURE__ */ o({
757
757
  return { __sfc: !0 };
758
758
  }
759
759
  });
760
- var xe = function() {
760
+ var Ce = function() {
761
761
  var t = this, e = t._self._c;
762
762
  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) {
763
763
  return e("div", { key: s, class: ["cl-skeleton", "cl-skeleton--rect", { "cl-skeleton--no-animation": !t.animated }], style: {
@@ -765,32 +765,32 @@ var xe = function() {
765
765
  width: s === t.lines && t.lines > 1 ? "65%" : t.width ?? "100%"
766
766
  } });
767
767
  }), 0)] : t._t("default");
768
- }, be = [], ke = /* @__PURE__ */ i(
768
+ }, xe = [], be = /* @__PURE__ */ i(
769
+ we,
769
770
  Ce,
770
771
  xe,
771
- be,
772
772
  !1,
773
773
  null,
774
774
  "3b626f1f"
775
775
  );
776
- const h = ke.exports, ye = /* @__PURE__ */ o({
776
+ const h = be.exports, ke = /* @__PURE__ */ o({
777
777
  __name: "CreatorsSkeletonCard",
778
778
  setup(a) {
779
779
  return { __sfc: !0, CreatorsSkeleton: h };
780
780
  }
781
781
  });
782
- var $e = function() {
782
+ var ye = function() {
783
783
  var t = this, e = t._self._c, s = t._self._setupProxy;
784
784
  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);
785
- }, Be = [], Se = /* @__PURE__ */ i(
785
+ }, $e = [], Be = /* @__PURE__ */ i(
786
+ ke,
786
787
  ye,
787
788
  $e,
788
- Be,
789
789
  !1,
790
790
  null,
791
791
  "00fa9654"
792
792
  );
793
- const Ve = Se.exports, Re = /* @__PURE__ */ o({
793
+ const Se = Be.exports, Ve = /* @__PURE__ */ o({
794
794
  __name: "CreatorsSkeletonList",
795
795
  props: {
796
796
  rows: { default: 5 },
@@ -807,15 +807,15 @@ var Pe = function() {
807
807
  return e("div", { staticClass: "cl-skeleton-list" }, t._l(t.rows, function(l) {
808
808
  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);
809
809
  }), 0);
810
- }, Fe = [], Le = /* @__PURE__ */ i(
811
- Re,
810
+ }, Fe = [], Re = /* @__PURE__ */ i(
811
+ Ve,
812
812
  Pe,
813
813
  Fe,
814
814
  !1,
815
815
  null,
816
816
  "295ec324"
817
817
  );
818
- const je = Le.exports, ze = /* @__PURE__ */ o({
818
+ const Le = Re.exports, je = /* @__PURE__ */ o({
819
819
  __name: "CreatorsSkeletonSimpleList",
820
820
  props: {
821
821
  loading: { type: Boolean, default: !0 },
@@ -826,20 +826,20 @@ const je = Le.exports, ze = /* @__PURE__ */ o({
826
826
  return { __sfc: !0, CreatorsSkeleton: h };
827
827
  }
828
828
  });
829
- var Te = function() {
829
+ var ze = function() {
830
830
  var t = this, e = t._self._c, s = t._self._setupProxy;
831
831
  return t.loading ? [e("div", { staticClass: "cl-skeleton-simple-list" }, t._l(t.rows, function(l) {
832
832
  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);
833
833
  }), 0)] : t._t("default");
834
- }, Me = [], Ie = /* @__PURE__ */ i(
834
+ }, Te = [], Me = /* @__PURE__ */ i(
835
+ je,
835
836
  ze,
836
837
  Te,
837
- Me,
838
838
  !1,
839
839
  null,
840
840
  "f47e1288"
841
841
  );
842
- const Oe = Ie.exports, De = /* @__PURE__ */ o({
842
+ const Ie = Me.exports, Oe = /* @__PURE__ */ o({
843
843
  __name: "CreatorsSkeletonProfile",
844
844
  props: {
845
845
  avatarSize: { default: "80px" }
@@ -848,20 +848,20 @@ const Oe = Ie.exports, De = /* @__PURE__ */ o({
848
848
  return { __sfc: !0, CreatorsSkeleton: h };
849
849
  }
850
850
  });
851
- var Ee = function() {
851
+ var De = function() {
852
852
  var t = this, e = t._self._c, s = t._self._setupProxy;
853
853
  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) {
854
854
  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);
855
855
  }), 0)], 1)], 1)], 1);
856
- }, We = [], Ae = /* @__PURE__ */ i(
856
+ }, Ee = [], We = /* @__PURE__ */ i(
857
+ Oe,
857
858
  De,
858
859
  Ee,
859
- We,
860
860
  !1,
861
861
  null,
862
862
  "a6635fb6"
863
863
  );
864
- const qe = Ae.exports, Ke = /* @__PURE__ */ o({
864
+ const Ae = We.exports, qe = /* @__PURE__ */ o({
865
865
  __name: "CreatorsSkeletonTable",
866
866
  props: {
867
867
  rows: { default: 5 },
@@ -871,7 +871,7 @@ const qe = Ae.exports, Ke = /* @__PURE__ */ o({
871
871
  return { __sfc: !0, CreatorsSkeleton: h };
872
872
  }
873
873
  });
874
- var Ge = function() {
874
+ var Ke = function() {
875
875
  var t = this, e = t._self._c, s = t._self._setupProxy;
876
876
  return e("div", { staticClass: "cl-skeleton-table" }, [e("div", { staticClass: "cl-skeleton-table__head" }, t._l(t.cols, function(l) {
877
877
  return e("div", { key: l, staticClass: "cl-skeleton-table__cell" }, [e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: "80px", height: "11px" } })], 1);
@@ -880,15 +880,15 @@ var Ge = function() {
880
880
  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);
881
881
  }), 0);
882
882
  })], 2);
883
- }, Ne = [], Ue = /* @__PURE__ */ i(
883
+ }, Ge = [], Ne = /* @__PURE__ */ i(
884
+ qe,
884
885
  Ke,
885
886
  Ge,
886
- Ne,
887
887
  !1,
888
888
  null,
889
889
  "175f116d"
890
890
  );
891
- const Xe = Ue.exports, He = /* @__PURE__ */ o({
891
+ const Ue = Ne.exports, Xe = /* @__PURE__ */ o({
892
892
  __name: "CreatorsRow",
893
893
  props: {
894
894
  align: null,
@@ -899,7 +899,7 @@ const Xe = Ue.exports, He = /* @__PURE__ */ o({
899
899
  return { __sfc: !0 };
900
900
  }
901
901
  });
902
- var Ye = function() {
902
+ var He = function() {
903
903
  var t = this, e = t._self._c;
904
904
  return t._self._setupProxy, e("div", { class: [
905
905
  "cl-row",
@@ -907,15 +907,15 @@ var Ye = function() {
907
907
  t.justify ? `cl-row--justify-${t.justify}` : "",
908
908
  t.noGutter ? "cl-row--no-gutter" : ""
909
909
  ] }, [t._t("default")], 2);
910
- }, Je = [], Qe = /* @__PURE__ */ i(
910
+ }, Ye = [], Je = /* @__PURE__ */ i(
911
+ Xe,
911
912
  He,
912
913
  Ye,
913
- Je,
914
914
  !1,
915
915
  null,
916
916
  null
917
917
  );
918
- const Ze = Qe.exports, ts = /* @__PURE__ */ o({
918
+ const Qe = Je.exports, Ze = /* @__PURE__ */ o({
919
919
  __name: "CreatorsCol",
920
920
  props: {
921
921
  cols: null,
@@ -937,18 +937,18 @@ const Ze = Qe.exports, ts = /* @__PURE__ */ o({
937
937
  return { __sfc: !0, props: t, classes: e };
938
938
  }
939
939
  });
940
- var es = function() {
940
+ var ts = function() {
941
941
  var t = this, e = t._self._c, s = t._self._setupProxy;
942
942
  return e("div", { class: s.classes }, [t._t("default")], 2);
943
- }, ss = [], ls = /* @__PURE__ */ i(
943
+ }, es = [], ss = /* @__PURE__ */ i(
944
+ Ze,
944
945
  ts,
945
946
  es,
946
- ss,
947
947
  !1,
948
948
  null,
949
949
  null
950
950
  );
951
- const as = ls.exports, rs = /* @__PURE__ */ o({
951
+ const ls = ss.exports, as = /* @__PURE__ */ o({
952
952
  __name: "CreatorsProgress",
953
953
  props: {
954
954
  value: { default: 0 },
@@ -961,81 +961,81 @@ const as = ls.exports, rs = /* @__PURE__ */ o({
961
961
  return { __sfc: !0, props: t, gradId: e, clamped: s, fillWidth: l };
962
962
  }
963
963
  });
964
- var ns = function() {
964
+ var rs = function() {
965
965
  var t = this, e = t._self._c, s = t._self._setupProxy;
966
966
  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)]);
967
- }, os = [], is = /* @__PURE__ */ i(
967
+ }, ns = [], os = /* @__PURE__ */ i(
968
+ as,
968
969
  rs,
969
970
  ns,
970
- os,
971
971
  !1,
972
972
  null,
973
973
  null
974
974
  );
975
- const cs = is.exports, _s = {
976
- CreatorsButton: z,
977
- CreatorsText: D,
978
- CreatorsAccordion: K,
979
- CreatorsInput: H,
980
- CreatorsInputSwitch: tt,
981
- CreatorsTextarea: rt,
982
- CreatorsSelect: _t,
983
- CreatorsCheckbox: vt,
984
- CreatorsRadio: Ct,
985
- CreatorsRating: $t,
975
+ const is = os.exports, cs = {
976
+ CreatorsButton: j,
977
+ CreatorsText: O,
978
+ CreatorsAccordion: q,
979
+ CreatorsInput: X,
980
+ CreatorsInputSwitch: Z,
981
+ CreatorsTextarea: at,
982
+ CreatorsSelect: ct,
983
+ CreatorsCheckbox: ft,
984
+ CreatorsRadio: wt,
985
+ CreatorsRating: yt,
986
986
  CreatorsDataTable: Pt,
987
- CreatorsDivider: Tt,
988
- CreatorsTimeline: Et,
989
- CreatorsBadge: Gt,
990
- CreatorsCard: Yt,
991
- CreatorsCardCampaign: ee,
992
- CreatorsCardShell: ne,
993
- CreatorsModal: de,
994
- CreatorsToaster: we,
987
+ CreatorsDivider: zt,
988
+ CreatorsTimeline: Dt,
989
+ CreatorsBadge: Kt,
990
+ CreatorsCard: Ht,
991
+ CreatorsCardCampaign: te,
992
+ CreatorsCardShell: re,
993
+ CreatorsModal: _e,
994
+ CreatorsToaster: ge,
995
995
  CreatorsSkeleton: h,
996
- CreatorsSkeletonCard: Ve,
997
- CreatorsSkeletonList: je,
998
- CreatorsSkeletonSimpleList: Oe,
999
- CreatorsSkeletonProfile: qe,
1000
- CreatorsSkeletonTable: Xe,
1001
- CreatorsRow: Ze,
1002
- CreatorsCol: as,
1003
- CreatorsProgress: cs
1004
- }, us = {
996
+ CreatorsSkeletonCard: Se,
997
+ CreatorsSkeletonList: Le,
998
+ CreatorsSkeletonSimpleList: Ie,
999
+ CreatorsSkeletonProfile: Ae,
1000
+ CreatorsSkeletonTable: Ue,
1001
+ CreatorsRow: Qe,
1002
+ CreatorsCol: ls,
1003
+ CreatorsProgress: is
1004
+ }, ds = {
1005
1005
  install(a) {
1006
- for (const [t, e] of Object.entries(_s))
1006
+ for (const [t, e] of Object.entries(cs))
1007
1007
  a.component(t, e);
1008
1008
  }
1009
1009
  };
1010
1010
  export {
1011
- K as CreatorsAccordion,
1012
- Gt as CreatorsBadge,
1013
- z as CreatorsButton,
1014
- Yt as CreatorsCard,
1015
- ee as CreatorsCardCampaign,
1016
- ne as CreatorsCardShell,
1017
- vt as CreatorsCheckbox,
1018
- as as CreatorsCol,
1011
+ q as CreatorsAccordion,
1012
+ Kt as CreatorsBadge,
1013
+ j as CreatorsButton,
1014
+ Ht as CreatorsCard,
1015
+ te as CreatorsCardCampaign,
1016
+ re as CreatorsCardShell,
1017
+ ft as CreatorsCheckbox,
1018
+ ls as CreatorsCol,
1019
1019
  Pt as CreatorsDataTable,
1020
- Tt as CreatorsDivider,
1021
- H as CreatorsInput,
1022
- tt as CreatorsInputSwitch,
1023
- us as CreatorsLibPlugin,
1024
- de as CreatorsModal,
1025
- cs as CreatorsProgress,
1026
- Ct as CreatorsRadio,
1027
- $t as CreatorsRating,
1028
- Ze as CreatorsRow,
1029
- _t as CreatorsSelect,
1020
+ zt as CreatorsDivider,
1021
+ X as CreatorsInput,
1022
+ Z as CreatorsInputSwitch,
1023
+ ds as CreatorsLibPlugin,
1024
+ _e as CreatorsModal,
1025
+ is as CreatorsProgress,
1026
+ wt as CreatorsRadio,
1027
+ yt as CreatorsRating,
1028
+ Qe as CreatorsRow,
1029
+ ct as CreatorsSelect,
1030
1030
  h as CreatorsSkeleton,
1031
- Ve as CreatorsSkeletonCard,
1032
- je as CreatorsSkeletonList,
1033
- qe as CreatorsSkeletonProfile,
1034
- Oe as CreatorsSkeletonSimpleList,
1035
- Xe as CreatorsSkeletonTable,
1036
- D as CreatorsText,
1037
- rt as CreatorsTextarea,
1038
- Et as CreatorsTimeline,
1039
- we as CreatorsToaster,
1040
- fe as useToast
1031
+ Se as CreatorsSkeletonCard,
1032
+ Le as CreatorsSkeletonList,
1033
+ Ae as CreatorsSkeletonProfile,
1034
+ Ie as CreatorsSkeletonSimpleList,
1035
+ Ue as CreatorsSkeletonTable,
1036
+ O as CreatorsText,
1037
+ at as CreatorsTextarea,
1038
+ Dt as CreatorsTimeline,
1039
+ ge as CreatorsToaster,
1040
+ pe as useToast
1041
1041
  };