clds-ui 0.3.7 → 0.3.9

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,
@@ -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(
377
- xt,
376
+ }, xt = [], kt = /* @__PURE__ */ i(
377
+ Ct,
378
378
  bt,
379
- kt,
379
+ xt,
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], b = B[s.value];
403
403
  if (C == null) return 1;
404
- if (x == null) return -1;
405
- const k = C < x ? -1 : C > x ? 1 : 0;
406
- return l.value === "asc" ? k : -k;
404
+ if (b == null) return -1;
405
+ const x = C < b ? -1 : C > b ? 1 : 0;
406
+ return l.value === "asc" ? x : -x;
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,46 +582,51 @@ 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,
604
604
  border: null,
605
+ background: null,
605
606
  hoverable: { type: Boolean, default: !1 },
606
607
  to: null
607
608
  },
608
609
  setup(a) {
609
- const t = a, e = d(() => t.to ? b("RouterLink") : "div");
610
+ const t = a, e = d(() => t.to ? "router-link" : "div");
610
611
  return { __sfc: !0, props: t, tag: e };
611
612
  }
612
613
  });
613
- var le = function() {
614
+ var se = function() {
614
615
  var t = this, e = t._self._c, s = t._self._setupProxy;
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
+ return e(s.tag, { tag: "component", class: ["cl-card-shell", { "cl-card-shell--hoverable": t.hoverable || !!t.to }], style: {
617
+ ...t.padding ? { padding: t.padding } : {},
618
+ ...t.border ? { border: t.border } : {},
619
+ ...t.background ? { background: t.background } : {}
620
+ }, attrs: { to: t.to ?? void 0 } }, [t._t("default")], 2);
621
+ }, le = [], ae = /* @__PURE__ */ i(
622
+ ee,
617
623
  se,
618
624
  le,
619
- ae,
620
625
  !1,
621
626
  null,
622
- "ba502d63"
627
+ "4e3b4fd5"
623
628
  );
624
- const ne = re.exports, oe = /* @__PURE__ */ o({
629
+ const re = ae.exports, ne = /* @__PURE__ */ o({
625
630
  __name: "CreatorsModal",
626
631
  props: {
627
632
  modelValue: { type: Boolean },
@@ -643,58 +648,58 @@ const ne = re.exports, oe = /* @__PURE__ */ o({
643
648
  function r(n) {
644
649
  n.key === "Escape" && e.modelValue && !e.persistent && s();
645
650
  }
646
- return V(() => e.modelValue, (n) => {
651
+ return S(() => e.modelValue, (n) => {
647
652
  document.body.style.overflow = n ? "hidden" : "";
648
- }), y(() => window.addEventListener("keydown", r)), $(() => {
653
+ }), k(() => window.addEventListener("keydown", r)), y(() => {
649
654
  window.removeEventListener("keydown", r), document.body.style.overflow = "";
650
655
  }), { __sfc: !0, props: e, emit: t, close: s, onOverlayClick: l, onKeydown: r };
651
656
  }
652
657
  });
653
- var ie = function() {
658
+ var oe = function() {
654
659
  var t = this, e = t._self._c, s = t._self._setupProxy;
655
660
  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
661
  return l.target !== l.currentTarget ? null : s.onOverlayClick.apply(null, arguments);
657
662
  } } }, [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
663
  return [t.title ? e("span", { staticClass: "cl-modal__title", attrs: { id: "cl-modal-title" } }, [t._v(t._s(t.title))]) : t._e()];
659
664
  }), 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(
665
+ }, ie = [], ce = /* @__PURE__ */ i(
666
+ ne,
661
667
  oe,
662
668
  ie,
663
- ce,
664
669
  !1,
665
670
  null,
666
671
  null
667
672
  );
668
- const de = _e.exports;
669
- let ue = 0;
670
- const v = R({ items: [] });
673
+ const _e = ce.exports;
674
+ let de = 0;
675
+ const v = V({ items: [] });
671
676
  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;
677
+ const e = ++de, s = typeof a == "string" ? { id: e, type: t, title: a, duration: 4e3, position: "top-right" } : { id: e, ...a };
678
+ return s.id = e, s.duration > 0 && (s._timer = setTimeout(() => $(e), s.duration)), v.items.push(s), e;
674
679
  }
675
- function B(a) {
680
+ function $(a) {
676
681
  const t = v.items.findIndex((e) => e.id === a);
677
682
  t !== -1 && (clearTimeout(v.items[t]._timer), v.items.splice(t, 1));
678
683
  }
679
- function pe() {
684
+ function ue() {
680
685
  v.items.forEach((a) => clearTimeout(a._timer)), v.items.splice(0);
681
686
  }
682
- function fe() {
687
+ function pe() {
683
688
  return {
684
689
  toasts: v.items,
685
690
  add: g,
686
- remove: B,
687
- clear: pe,
691
+ remove: $,
692
+ clear: ue,
688
693
  success: (a, t) => g({ title: a, type: "success", duration: 4e3, position: "top-right", ...t }),
689
694
  error: (a, t) => g({ title: a, type: "error", duration: 4e3, position: "top-right", ...t }),
690
695
  warning: (a, t) => g({ title: a, type: "warning", duration: 4e3, position: "top-right", ...t }),
691
696
  info: (a, t) => g({ title: a, type: "info", duration: 4e3, position: "top-right", ...t })
692
697
  };
693
698
  }
694
- const ve = /* @__PURE__ */ o({
699
+ const fe = /* @__PURE__ */ o({
695
700
  __name: "CreatorsToaster",
696
701
  setup(a) {
697
- const { toasts: t, remove: e } = fe(), s = [
702
+ const { toasts: t, remove: e } = pe(), s = [
698
703
  "top-left",
699
704
  "top-center",
700
705
  "top-right",
@@ -721,7 +726,7 @@ const ve = /* @__PURE__ */ o({
721
726
  return { __sfc: !0, toasts: t, remove: e, positions: s, byPosition: l, paused: r, pauseTimer: n, resumeTimer: u };
722
727
  }
723
728
  });
724
- var he = function() {
729
+ var ve = function() {
725
730
  var t = this, e = t._self._c, s = t._self._setupProxy;
726
731
  return e("div", { staticClass: "cl-toaster" }, t._l(s.positions, function(l) {
727
732
  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 +739,15 @@ var he = function() {
734
739
  } } }, [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
740
  }), 0);
736
741
  }), 1);
737
- }, me = [], ge = /* @__PURE__ */ i(
742
+ }, he = [], me = /* @__PURE__ */ i(
743
+ fe,
738
744
  ve,
739
745
  he,
740
- me,
741
746
  !1,
742
747
  null,
743
748
  null
744
749
  );
745
- const we = ge.exports, Ce = /* @__PURE__ */ o({
750
+ const ge = me.exports, we = /* @__PURE__ */ o({
746
751
  __name: "CreatorsSkeleton",
747
752
  props: {
748
753
  loading: { type: Boolean, default: !0 },
@@ -757,7 +762,7 @@ const we = ge.exports, Ce = /* @__PURE__ */ o({
757
762
  return { __sfc: !0 };
758
763
  }
759
764
  });
760
- var xe = function() {
765
+ var Ce = function() {
761
766
  var t = this, e = t._self._c;
762
767
  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
768
  return e("div", { key: s, class: ["cl-skeleton", "cl-skeleton--rect", { "cl-skeleton--no-animation": !t.animated }], style: {
@@ -765,32 +770,32 @@ var xe = function() {
765
770
  width: s === t.lines && t.lines > 1 ? "65%" : t.width ?? "100%"
766
771
  } });
767
772
  }), 0)] : t._t("default");
768
- }, be = [], ke = /* @__PURE__ */ i(
773
+ }, be = [], xe = /* @__PURE__ */ i(
774
+ we,
769
775
  Ce,
770
- xe,
771
776
  be,
772
777
  !1,
773
778
  null,
774
779
  "3b626f1f"
775
780
  );
776
- const h = ke.exports, ye = /* @__PURE__ */ o({
781
+ const h = xe.exports, ke = /* @__PURE__ */ o({
777
782
  __name: "CreatorsSkeletonCard",
778
783
  setup(a) {
779
784
  return { __sfc: !0, CreatorsSkeleton: h };
780
785
  }
781
786
  });
782
- var $e = function() {
787
+ var ye = function() {
783
788
  var t = this, e = t._self._c, s = t._self._setupProxy;
784
789
  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(
790
+ }, $e = [], Be = /* @__PURE__ */ i(
791
+ ke,
786
792
  ye,
787
793
  $e,
788
- Be,
789
794
  !1,
790
795
  null,
791
796
  "00fa9654"
792
797
  );
793
- const Ve = Se.exports, Re = /* @__PURE__ */ o({
798
+ const Se = Be.exports, Ve = /* @__PURE__ */ o({
794
799
  __name: "CreatorsSkeletonList",
795
800
  props: {
796
801
  rows: { default: 5 },
@@ -807,15 +812,15 @@ var Pe = function() {
807
812
  return e("div", { staticClass: "cl-skeleton-list" }, t._l(t.rows, function(l) {
808
813
  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
814
  }), 0);
810
- }, Fe = [], Le = /* @__PURE__ */ i(
811
- Re,
815
+ }, Fe = [], Re = /* @__PURE__ */ i(
816
+ Ve,
812
817
  Pe,
813
818
  Fe,
814
819
  !1,
815
820
  null,
816
821
  "295ec324"
817
822
  );
818
- const je = Le.exports, ze = /* @__PURE__ */ o({
823
+ const Le = Re.exports, je = /* @__PURE__ */ o({
819
824
  __name: "CreatorsSkeletonSimpleList",
820
825
  props: {
821
826
  loading: { type: Boolean, default: !0 },
@@ -826,20 +831,20 @@ const je = Le.exports, ze = /* @__PURE__ */ o({
826
831
  return { __sfc: !0, CreatorsSkeleton: h };
827
832
  }
828
833
  });
829
- var Te = function() {
834
+ var ze = function() {
830
835
  var t = this, e = t._self._c, s = t._self._setupProxy;
831
836
  return t.loading ? [e("div", { staticClass: "cl-skeleton-simple-list" }, t._l(t.rows, function(l) {
832
837
  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
838
  }), 0)] : t._t("default");
834
- }, Me = [], Ie = /* @__PURE__ */ i(
839
+ }, Te = [], Me = /* @__PURE__ */ i(
840
+ je,
835
841
  ze,
836
842
  Te,
837
- Me,
838
843
  !1,
839
844
  null,
840
845
  "f47e1288"
841
846
  );
842
- const Oe = Ie.exports, De = /* @__PURE__ */ o({
847
+ const Ie = Me.exports, Oe = /* @__PURE__ */ o({
843
848
  __name: "CreatorsSkeletonProfile",
844
849
  props: {
845
850
  avatarSize: { default: "80px" }
@@ -848,20 +853,20 @@ const Oe = Ie.exports, De = /* @__PURE__ */ o({
848
853
  return { __sfc: !0, CreatorsSkeleton: h };
849
854
  }
850
855
  });
851
- var Ee = function() {
856
+ var De = function() {
852
857
  var t = this, e = t._self._c, s = t._self._setupProxy;
853
858
  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
859
  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
860
  }), 0)], 1)], 1)], 1);
856
- }, We = [], Ae = /* @__PURE__ */ i(
861
+ }, Ee = [], We = /* @__PURE__ */ i(
862
+ Oe,
857
863
  De,
858
864
  Ee,
859
- We,
860
865
  !1,
861
866
  null,
862
867
  "a6635fb6"
863
868
  );
864
- const qe = Ae.exports, Ke = /* @__PURE__ */ o({
869
+ const Ae = We.exports, qe = /* @__PURE__ */ o({
865
870
  __name: "CreatorsSkeletonTable",
866
871
  props: {
867
872
  rows: { default: 5 },
@@ -871,7 +876,7 @@ const qe = Ae.exports, Ke = /* @__PURE__ */ o({
871
876
  return { __sfc: !0, CreatorsSkeleton: h };
872
877
  }
873
878
  });
874
- var Ge = function() {
879
+ var Ke = function() {
875
880
  var t = this, e = t._self._c, s = t._self._setupProxy;
876
881
  return e("div", { staticClass: "cl-skeleton-table" }, [e("div", { staticClass: "cl-skeleton-table__head" }, t._l(t.cols, function(l) {
877
882
  return e("div", { key: l, staticClass: "cl-skeleton-table__cell" }, [e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: "80px", height: "11px" } })], 1);
@@ -880,15 +885,15 @@ var Ge = function() {
880
885
  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
886
  }), 0);
882
887
  })], 2);
883
- }, Ne = [], Ue = /* @__PURE__ */ i(
888
+ }, Ge = [], Ne = /* @__PURE__ */ i(
889
+ qe,
884
890
  Ke,
885
891
  Ge,
886
- Ne,
887
892
  !1,
888
893
  null,
889
894
  "175f116d"
890
895
  );
891
- const Xe = Ue.exports, He = /* @__PURE__ */ o({
896
+ const Ue = Ne.exports, Xe = /* @__PURE__ */ o({
892
897
  __name: "CreatorsRow",
893
898
  props: {
894
899
  align: null,
@@ -899,7 +904,7 @@ const Xe = Ue.exports, He = /* @__PURE__ */ o({
899
904
  return { __sfc: !0 };
900
905
  }
901
906
  });
902
- var Ye = function() {
907
+ var He = function() {
903
908
  var t = this, e = t._self._c;
904
909
  return t._self._setupProxy, e("div", { class: [
905
910
  "cl-row",
@@ -907,15 +912,15 @@ var Ye = function() {
907
912
  t.justify ? `cl-row--justify-${t.justify}` : "",
908
913
  t.noGutter ? "cl-row--no-gutter" : ""
909
914
  ] }, [t._t("default")], 2);
910
- }, Je = [], Qe = /* @__PURE__ */ i(
915
+ }, Ye = [], Je = /* @__PURE__ */ i(
916
+ Xe,
911
917
  He,
912
918
  Ye,
913
- Je,
914
919
  !1,
915
920
  null,
916
921
  null
917
922
  );
918
- const Ze = Qe.exports, ts = /* @__PURE__ */ o({
923
+ const Qe = Je.exports, Ze = /* @__PURE__ */ o({
919
924
  __name: "CreatorsCol",
920
925
  props: {
921
926
  cols: null,
@@ -937,18 +942,18 @@ const Ze = Qe.exports, ts = /* @__PURE__ */ o({
937
942
  return { __sfc: !0, props: t, classes: e };
938
943
  }
939
944
  });
940
- var es = function() {
945
+ var ts = function() {
941
946
  var t = this, e = t._self._c, s = t._self._setupProxy;
942
947
  return e("div", { class: s.classes }, [t._t("default")], 2);
943
- }, ss = [], ls = /* @__PURE__ */ i(
948
+ }, es = [], ss = /* @__PURE__ */ i(
949
+ Ze,
944
950
  ts,
945
951
  es,
946
- ss,
947
952
  !1,
948
953
  null,
949
954
  null
950
955
  );
951
- const as = ls.exports, rs = /* @__PURE__ */ o({
956
+ const ls = ss.exports, as = /* @__PURE__ */ o({
952
957
  __name: "CreatorsProgress",
953
958
  props: {
954
959
  value: { default: 0 },
@@ -961,81 +966,81 @@ const as = ls.exports, rs = /* @__PURE__ */ o({
961
966
  return { __sfc: !0, props: t, gradId: e, clamped: s, fillWidth: l };
962
967
  }
963
968
  });
964
- var ns = function() {
969
+ var rs = function() {
965
970
  var t = this, e = t._self._c, s = t._self._setupProxy;
966
971
  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(
972
+ }, ns = [], os = /* @__PURE__ */ i(
973
+ as,
968
974
  rs,
969
975
  ns,
970
- os,
971
976
  !1,
972
977
  null,
973
978
  null
974
979
  );
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,
980
+ const is = os.exports, cs = {
981
+ CreatorsButton: j,
982
+ CreatorsText: O,
983
+ CreatorsAccordion: q,
984
+ CreatorsInput: X,
985
+ CreatorsInputSwitch: Z,
986
+ CreatorsTextarea: at,
987
+ CreatorsSelect: ct,
988
+ CreatorsCheckbox: ft,
989
+ CreatorsRadio: wt,
990
+ CreatorsRating: yt,
986
991
  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,
992
+ CreatorsDivider: zt,
993
+ CreatorsTimeline: Dt,
994
+ CreatorsBadge: Kt,
995
+ CreatorsCard: Ht,
996
+ CreatorsCardCampaign: te,
997
+ CreatorsCardShell: re,
998
+ CreatorsModal: _e,
999
+ CreatorsToaster: ge,
995
1000
  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 = {
1001
+ CreatorsSkeletonCard: Se,
1002
+ CreatorsSkeletonList: Le,
1003
+ CreatorsSkeletonSimpleList: Ie,
1004
+ CreatorsSkeletonProfile: Ae,
1005
+ CreatorsSkeletonTable: Ue,
1006
+ CreatorsRow: Qe,
1007
+ CreatorsCol: ls,
1008
+ CreatorsProgress: is
1009
+ }, ds = {
1005
1010
  install(a) {
1006
- for (const [t, e] of Object.entries(_s))
1011
+ for (const [t, e] of Object.entries(cs))
1007
1012
  a.component(t, e);
1008
1013
  }
1009
1014
  };
1010
1015
  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,
1016
+ q as CreatorsAccordion,
1017
+ Kt as CreatorsBadge,
1018
+ j as CreatorsButton,
1019
+ Ht as CreatorsCard,
1020
+ te as CreatorsCardCampaign,
1021
+ re as CreatorsCardShell,
1022
+ ft as CreatorsCheckbox,
1023
+ ls as CreatorsCol,
1019
1024
  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,
1025
+ zt as CreatorsDivider,
1026
+ X as CreatorsInput,
1027
+ Z as CreatorsInputSwitch,
1028
+ ds as CreatorsLibPlugin,
1029
+ _e as CreatorsModal,
1030
+ is as CreatorsProgress,
1031
+ wt as CreatorsRadio,
1032
+ yt as CreatorsRating,
1033
+ Qe as CreatorsRow,
1034
+ ct as CreatorsSelect,
1030
1035
  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
1036
+ Se as CreatorsSkeletonCard,
1037
+ Le as CreatorsSkeletonList,
1038
+ Ae as CreatorsSkeletonProfile,
1039
+ Ie as CreatorsSkeletonSimpleList,
1040
+ Ue as CreatorsSkeletonTable,
1041
+ O as CreatorsText,
1042
+ at as CreatorsTextarea,
1043
+ Dt as CreatorsTimeline,
1044
+ ge as CreatorsToaster,
1045
+ pe as useToast
1041
1046
  };