clds-ui 0.3.6 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as o, computed as d, ref as f, onMounted as y, onUnmounted as b, watch as S, reactive as V } from "vue";
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";
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
- }, R = [], L = /* @__PURE__ */ i(
32
+ }, L = [], j = /* @__PURE__ */ i(
33
33
  P,
34
34
  F,
35
- R,
35
+ L,
36
36
  !1,
37
37
  null,
38
38
  "2b3665ef"
39
39
  );
40
- const j = L.exports, z = /* @__PURE__ */ o({
40
+ const z = j.exports, T = /* @__PURE__ */ o({
41
41
  __name: "CreatorsText",
42
42
  props: {
43
43
  variant: { default: "body-md" },
@@ -67,18 +67,18 @@ const j = L.exports, z = /* @__PURE__ */ o({
67
67
  return { __sfc: !0, props: t, defaultTags: e, resolvedTag: s };
68
68
  }
69
69
  });
70
- var T = function() {
70
+ var M = 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
- }, M = [], I = /* @__PURE__ */ i(
74
- z,
73
+ }, I = [], O = /* @__PURE__ */ i(
75
74
  T,
76
75
  M,
76
+ I,
77
77
  !1,
78
78
  null,
79
79
  "a993d82e"
80
80
  );
81
- const O = I.exports, D = /* @__PURE__ */ o({
81
+ const D = O.exports, E = /* @__PURE__ */ o({
82
82
  __name: "CreatorsAccordion",
83
83
  props: {
84
84
  items: null,
@@ -95,7 +95,7 @@ const O = I.exports, D = /* @__PURE__ */ o({
95
95
  return { __sfc: !0, props: e, emit: t, openIndex: s, toggle: l };
96
96
  }
97
97
  });
98
- var E = function() {
98
+ var W = 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 E = function() {
104
104
  return [t._v(t._s(l.content))];
105
105
  })], 2)])]);
106
106
  }), 0);
107
- }, W = [], A = /* @__PURE__ */ i(
108
- D,
107
+ }, A = [], q = /* @__PURE__ */ i(
109
108
  E,
110
109
  W,
110
+ A,
111
111
  !1,
112
112
  null,
113
113
  "cdacee19"
114
114
  );
115
- const q = A.exports, K = /* @__PURE__ */ o({
115
+ const K = q.exports, G = /* @__PURE__ */ o({
116
116
  __name: "CreatorsInput",
117
117
  props: {
118
118
  modelValue: null,
@@ -147,7 +147,7 @@ const q = A.exports, K = /* @__PURE__ */ o({
147
147
  return { __sfc: !0, emit: t, onInput: e, onEnter: s, onClear: l, onSearch: r };
148
148
  }
149
149
  });
150
- var G = function() {
150
+ var N = 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 G = 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
- }, N = [], U = /* @__PURE__ */ i(
162
- K,
161
+ }, U = [], X = /* @__PURE__ */ i(
163
162
  G,
164
163
  N,
164
+ U,
165
165
  !1,
166
166
  null,
167
167
  "8c08ffa2"
168
168
  );
169
- const X = U.exports, H = /* @__PURE__ */ o({
169
+ const H = X.exports, Y = /* @__PURE__ */ o({
170
170
  __name: "CreatorsInputSwitch",
171
171
  props: {
172
172
  modelValue: { type: Boolean, default: !1 },
@@ -182,21 +182,21 @@ const X = U.exports, H = /* @__PURE__ */ o({
182
182
  return { __sfc: !0, emit: t, onChange: e };
183
183
  }
184
184
  });
185
- var Y = function() {
185
+ var J = 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
- }, J = [function() {
188
+ }, Q = [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
- }], Q = /* @__PURE__ */ i(
192
- H,
191
+ }], Z = /* @__PURE__ */ i(
193
192
  Y,
194
193
  J,
194
+ Q,
195
195
  !1,
196
196
  null,
197
197
  "3fb5090c"
198
198
  );
199
- const Z = Q.exports, tt = /* @__PURE__ */ o({
199
+ const tt = Z.exports, et = /* @__PURE__ */ o({
200
200
  __name: "CreatorsTextarea",
201
201
  props: {
202
202
  modelValue: null,
@@ -224,7 +224,7 @@ const Z = Q.exports, tt = /* @__PURE__ */ o({
224
224
  return { __sfc: !0, props: e, emit: t, onInput: s, onEnter: l, isOver: r };
225
225
  }
226
226
  });
227
- var et = function() {
227
+ var st = 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 et = 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
- }, st = [], lt = /* @__PURE__ */ i(
237
- tt,
236
+ }, lt = [], at = /* @__PURE__ */ i(
238
237
  et,
239
238
  st,
239
+ lt,
240
240
  !1,
241
241
  null,
242
242
  "b23cc99a"
243
243
  );
244
- const at = lt.exports, rt = /* @__PURE__ */ o({
244
+ const rt = at.exports, nt = /* @__PURE__ */ o({
245
245
  __name: "CreatorsSelect",
246
246
  props: {
247
247
  modelValue: null,
@@ -269,27 +269,27 @@ const at = lt.exports, rt = /* @__PURE__ */ o({
269
269
  }
270
270
  return y(() => {
271
271
  document.addEventListener("mousedown", c), document.addEventListener("touchstart", c);
272
- }), b(() => {
272
+ }), $(() => {
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 nt = function() {
277
+ var ot = 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
- }, ot = [], it = /* @__PURE__ */ i(
285
- rt,
284
+ }, it = [], ct = /* @__PURE__ */ i(
286
285
  nt,
287
286
  ot,
287
+ it,
288
288
  !1,
289
289
  null,
290
290
  "f07ac917"
291
291
  );
292
- const ct = it.exports, _t = /* @__PURE__ */ o({
292
+ const _t = ct.exports, dt = /* @__PURE__ */ o({
293
293
  __name: "CreatorsCheckbox",
294
294
  props: {
295
295
  modelValue: { type: Boolean, default: !1 },
@@ -304,18 +304,18 @@ const ct = it.exports, _t = /* @__PURE__ */ o({
304
304
  return { __sfc: !0, emit: t, onChange: e };
305
305
  }
306
306
  });
307
- var dt = function() {
307
+ var ut = 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
- }, ut = [], pt = /* @__PURE__ */ i(
311
- _t,
310
+ }, pt = [], ft = /* @__PURE__ */ i(
312
311
  dt,
313
312
  ut,
313
+ pt,
314
314
  !1,
315
315
  null,
316
316
  "d1ad8f2e"
317
317
  );
318
- const ft = pt.exports, vt = /* @__PURE__ */ o({
318
+ const vt = ft.exports, ht = /* @__PURE__ */ o({
319
319
  __name: "CreatorsRadio",
320
320
  props: {
321
321
  modelValue: null,
@@ -328,20 +328,20 @@ const ft = pt.exports, vt = /* @__PURE__ */ o({
328
328
  return { __sfc: !0, emit: t };
329
329
  }
330
330
  });
331
- var ht = function() {
331
+ var mt = 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
- }, mt = [], gt = /* @__PURE__ */ i(
337
- vt,
336
+ }, gt = [], wt = /* @__PURE__ */ i(
338
337
  ht,
339
338
  mt,
339
+ gt,
340
340
  !1,
341
341
  null,
342
342
  "242eedd7"
343
343
  );
344
- const wt = gt.exports, Ct = /* @__PURE__ */ o({
344
+ const Ct = wt.exports, xt = /* @__PURE__ */ o({
345
345
  __name: "CreatorsRating",
346
346
  props: {
347
347
  modelValue: null,
@@ -360,7 +360,7 @@ const wt = gt.exports, Ct = /* @__PURE__ */ o({
360
360
  return { __sfc: !0, props: e, emit: t, hovered: s, starSize: l, select: r };
361
361
  }
362
362
  });
363
- var xt = function() {
363
+ var bt = 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: {
@@ -374,14 +374,14 @@ var xt = function() {
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
376
  }, kt = [], yt = /* @__PURE__ */ i(
377
- Ct,
378
377
  xt,
378
+ bt,
379
379
  kt,
380
380
  !1,
381
381
  null,
382
382
  "9b711643"
383
383
  );
384
- const bt = yt.exports, $t = /* @__PURE__ */ o({
384
+ const $t = yt.exports, Bt = /* @__PURE__ */ o({
385
385
  __name: "CreatorsDataTable",
386
386
  props: {
387
387
  columns: null,
@@ -398,8 +398,8 @@ const bt = yt.exports, $t = /* @__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, B) => {
402
- const C = p[s.value], x = B[s.value];
401
+ const u = d(() => s.value ? [...e.rows].sort((p, S) => {
402
+ const C = p[s.value], x = S[s.value];
403
403
  if (C == null) return 1;
404
404
  if (x == null) return -1;
405
405
  const k = C < x ? -1 : C > x ? 1 : 0;
@@ -412,7 +412,7 @@ const bt = yt.exports, $t = /* @__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 Bt = function() {
415
+ var St = 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 Bt = 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
- }, St = [function() {
434
+ }, Vt = [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
- }], Vt = /* @__PURE__ */ i(
438
- $t,
437
+ }], Rt = /* @__PURE__ */ i(
439
438
  Bt,
440
439
  St,
440
+ Vt,
441
441
  !1,
442
442
  null,
443
443
  "917ea8fe"
444
444
  );
445
- const Pt = Vt.exports, Ft = /* @__PURE__ */ o({
445
+ const Pt = Rt.exports, Ft = /* @__PURE__ */ o({
446
446
  __name: "CreatorsDivider",
447
447
  props: {
448
448
  label: null,
@@ -454,7 +454,7 @@ const Pt = Vt.exports, Ft = /* @__PURE__ */ o({
454
454
  return { __sfc: !0 };
455
455
  }
456
456
  });
457
- var Rt = function() {
457
+ var Lt = 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 Rt = 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
- }, Lt = [], jt = /* @__PURE__ */ i(
465
+ }, jt = [], zt = /* @__PURE__ */ i(
466
466
  Ft,
467
- Rt,
468
467
  Lt,
468
+ jt,
469
469
  !1,
470
470
  null,
471
471
  "31f5c2f9"
472
472
  );
473
- const zt = jt.exports, Tt = /* @__PURE__ */ o({
473
+ const Tt = zt.exports, Mt = /* @__PURE__ */ o({
474
474
  __name: "CreatorsTimeline",
475
475
  props: {
476
476
  items: null,
@@ -481,7 +481,7 @@ const zt = jt.exports, Tt = /* @__PURE__ */ o({
481
481
  return { __sfc: !0 };
482
482
  }
483
483
  });
484
- var Mt = function() {
484
+ var It = 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 Mt = 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
- }, It = [], Ot = /* @__PURE__ */ i(
503
- Tt,
502
+ }, Ot = [], Dt = /* @__PURE__ */ i(
504
503
  Mt,
505
504
  It,
505
+ Ot,
506
506
  !1,
507
507
  null,
508
508
  "f802dc88"
509
509
  );
510
- const Dt = Ot.exports, Et = /* @__PURE__ */ o({
510
+ const Et = Dt.exports, Wt = /* @__PURE__ */ o({
511
511
  __name: "CreatorsBadge",
512
512
  props: {
513
513
  variant: { default: "default" },
@@ -518,18 +518,18 @@ const Dt = Ot.exports, Et = /* @__PURE__ */ o({
518
518
  return { __sfc: !0, props: t, statusIcon: e };
519
519
  }
520
520
  });
521
- var Wt = function() {
521
+ var At = 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
- }, At = [], qt = /* @__PURE__ */ i(
525
- Et,
524
+ }, qt = [], Kt = /* @__PURE__ */ i(
526
525
  Wt,
527
526
  At,
527
+ qt,
528
528
  !1,
529
529
  null,
530
530
  "36988d61"
531
531
  );
532
- const Kt = qt.exports, Gt = /* @__PURE__ */ o({
532
+ const Gt = Kt.exports, Nt = /* @__PURE__ */ o({
533
533
  __name: "CreatorsCard",
534
534
  props: {
535
535
  title: null,
@@ -537,33 +537,36 @@ const Kt = qt.exports, Gt = /* @__PURE__ */ o({
537
537
  label: null,
538
538
  variant: { default: "default" },
539
539
  hoverable: { type: Boolean, default: !1 },
540
- flush: { type: Boolean, default: !1 }
540
+ flush: { type: Boolean, default: !1 },
541
+ border: null,
542
+ to: null
541
543
  },
542
544
  setup(a) {
543
- return { __sfc: !0 };
545
+ const t = a, e = d(() => t.to ? b("RouterLink") : "div");
546
+ return { __sfc: !0, props: t, tag: e };
544
547
  }
545
548
  });
546
- var Nt = function() {
547
- var t = this, e = t._self._c;
548
- return t._self._setupProxy, e("div", { class: [
549
+ var Ut = function() {
550
+ var t = this, e = t._self._c, s = t._self._setupProxy;
551
+ return e(s.tag, { tag: "component", class: [
549
552
  "cl-card",
550
553
  `cl-card--${t.variant}`,
551
- { "cl-card--hoverable": t.hoverable },
554
+ { "cl-card--hoverable": t.hoverable || !!t.to },
552
555
  { "cl-card--flush": t.flush }
553
- ] }, [t.$slots.media ? e("div", { staticClass: "cl-card__media" }, [t._t("media")], 2) : t._e(), e("div", { staticClass: "cl-card__body" }, [t.label ? e("div", { staticClass: "cl-card__label" }, [t._v(t._s(t.label))]) : t._e(), t.title || t.$slots.title ? e("div", { staticClass: "cl-card__title" }, [t._t("title", function() {
556
+ ], style: t.border ? { border: t.border } : {}, attrs: { to: t.to ?? void 0 } }, [t.$slots.media ? e("div", { staticClass: "cl-card__media" }, [t._t("media")], 2) : t._e(), e("div", { staticClass: "cl-card__body" }, [t.label ? e("div", { staticClass: "cl-card__label" }, [t._v(t._s(t.label))]) : t._e(), t.title || t.$slots.title ? e("div", { staticClass: "cl-card__title" }, [t._t("title", function() {
554
557
  return [t._v(t._s(t.title))];
555
558
  })], 2) : t._e(), t.description || t.$slots.description ? e("div", { staticClass: "cl-card__description" }, [t._t("description", function() {
556
559
  return [t._v(t._s(t.description))];
557
560
  })], 2) : t._e(), t._t("default")], 2), t.$slots.footer ? e("div", { staticClass: "cl-card__footer" }, [t._t("footer")], 2) : t._e()]);
558
- }, Ut = [], Xt = /* @__PURE__ */ i(
559
- Gt,
561
+ }, Xt = [], Ht = /* @__PURE__ */ i(
560
562
  Nt,
561
563
  Ut,
564
+ Xt,
562
565
  !1,
563
566
  null,
564
- "152c5819"
567
+ "3b0ac58d"
565
568
  );
566
- const Ht = Xt.exports, Yt = /* @__PURE__ */ o({
569
+ const Yt = Ht.exports, Jt = /* @__PURE__ */ o({
567
570
  __name: "CreatorsCardCampaign",
568
571
  props: {
569
572
  status: null,
@@ -574,25 +577,51 @@ const Ht = Xt.exports, Yt = /* @__PURE__ */ o({
574
577
  publicationsCount: { default: "0" },
575
578
  publicationsLabel: { default: "publicações" },
576
579
  deliveryDate: null,
577
- hoverable: { type: Boolean, default: !1 }
580
+ hoverable: { type: Boolean, default: !1 },
581
+ border: null,
582
+ to: null
578
583
  },
579
584
  setup(a) {
580
- const t = a, e = d(() => (t.brandName ?? t.title).slice(0, 2).toUpperCase());
581
- return { __sfc: !0, props: t, brandInitials: e };
585
+ const t = a, e = d(() => t.to ? b("RouterLink") : "div"), s = d(() => (t.brandName ?? t.title).slice(0, 2).toUpperCase());
586
+ return { __sfc: !0, props: t, tag: e, brandInitials: s };
582
587
  }
583
588
  });
584
- var Jt = function() {
589
+ var Qt = function() {
585
590
  var t = this, e = t._self._c, s = t._self._setupProxy;
586
- return e("div", { class: ["cl-card-campaign", { "cl-card-campaign--hoverable": t.hoverable }] }, [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()])]);
587
- }, Qt = [], Zt = /* @__PURE__ */ i(
588
- Yt,
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(
589
593
  Jt,
590
594
  Qt,
595
+ Zt,
596
+ !1,
597
+ null,
598
+ "d401f2c4"
599
+ );
600
+ const ee = te.exports, se = /* @__PURE__ */ o({
601
+ __name: "CreatorsCardShell",
602
+ props: {
603
+ padding: null,
604
+ border: null,
605
+ hoverable: { type: Boolean, default: !1 },
606
+ to: null
607
+ },
608
+ setup(a) {
609
+ const t = a, e = d(() => t.to ? b("RouterLink") : "div");
610
+ return { __sfc: !0, props: t, tag: e };
611
+ }
612
+ });
613
+ var le = function() {
614
+ 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(
617
+ se,
618
+ le,
619
+ ae,
591
620
  !1,
592
621
  null,
593
- "9d670da9"
622
+ "ba502d63"
594
623
  );
595
- const te = Zt.exports, ee = /* @__PURE__ */ o({
624
+ const ne = re.exports, oe = /* @__PURE__ */ o({
596
625
  __name: "CreatorsModal",
597
626
  props: {
598
627
  modelValue: { type: Boolean },
@@ -614,58 +643,58 @@ const te = Zt.exports, ee = /* @__PURE__ */ o({
614
643
  function r(n) {
615
644
  n.key === "Escape" && e.modelValue && !e.persistent && s();
616
645
  }
617
- return S(() => e.modelValue, (n) => {
646
+ return V(() => e.modelValue, (n) => {
618
647
  document.body.style.overflow = n ? "hidden" : "";
619
- }), y(() => window.addEventListener("keydown", r)), b(() => {
648
+ }), y(() => window.addEventListener("keydown", r)), $(() => {
620
649
  window.removeEventListener("keydown", r), document.body.style.overflow = "";
621
650
  }), { __sfc: !0, props: e, emit: t, close: s, onOverlayClick: l, onKeydown: r };
622
651
  }
623
652
  });
624
- var se = function() {
653
+ var ie = function() {
625
654
  var t = this, e = t._self._c, s = t._self._setupProxy;
626
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) {
627
656
  return l.target !== l.currentTarget ? null : s.onOverlayClick.apply(null, arguments);
628
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() {
629
658
  return [t.title ? e("span", { staticClass: "cl-modal__title", attrs: { id: "cl-modal-title" } }, [t._v(t._s(t.title))]) : t._e()];
630
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()]);
631
- }, le = [], ae = /* @__PURE__ */ i(
632
- ee,
633
- se,
634
- le,
660
+ }, ce = [], _e = /* @__PURE__ */ i(
661
+ oe,
662
+ ie,
663
+ ce,
635
664
  !1,
636
665
  null,
637
666
  null
638
667
  );
639
- const re = ae.exports;
640
- let ne = 0;
641
- const v = V({ items: [] });
668
+ const de = _e.exports;
669
+ let ue = 0;
670
+ const v = R({ items: [] });
642
671
  function g(a, t = "info") {
643
- const e = ++ne, s = typeof a == "string" ? { id: e, type: t, title: a, duration: 4e3, position: "top-right" } : { id: e, ...a };
644
- return s.id = e, s.duration > 0 && (s._timer = setTimeout(() => $(e), s.duration)), v.items.push(s), e;
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;
645
674
  }
646
- function $(a) {
675
+ function B(a) {
647
676
  const t = v.items.findIndex((e) => e.id === a);
648
677
  t !== -1 && (clearTimeout(v.items[t]._timer), v.items.splice(t, 1));
649
678
  }
650
- function oe() {
679
+ function pe() {
651
680
  v.items.forEach((a) => clearTimeout(a._timer)), v.items.splice(0);
652
681
  }
653
- function ie() {
682
+ function fe() {
654
683
  return {
655
684
  toasts: v.items,
656
685
  add: g,
657
- remove: $,
658
- clear: oe,
686
+ remove: B,
687
+ clear: pe,
659
688
  success: (a, t) => g({ title: a, type: "success", duration: 4e3, position: "top-right", ...t }),
660
689
  error: (a, t) => g({ title: a, type: "error", duration: 4e3, position: "top-right", ...t }),
661
690
  warning: (a, t) => g({ title: a, type: "warning", duration: 4e3, position: "top-right", ...t }),
662
691
  info: (a, t) => g({ title: a, type: "info", duration: 4e3, position: "top-right", ...t })
663
692
  };
664
693
  }
665
- const ce = /* @__PURE__ */ o({
694
+ const ve = /* @__PURE__ */ o({
666
695
  __name: "CreatorsToaster",
667
696
  setup(a) {
668
- const { toasts: t, remove: e } = ie(), s = [
697
+ const { toasts: t, remove: e } = fe(), s = [
669
698
  "top-left",
670
699
  "top-center",
671
700
  "top-right",
@@ -692,7 +721,7 @@ const ce = /* @__PURE__ */ o({
692
721
  return { __sfc: !0, toasts: t, remove: e, positions: s, byPosition: l, paused: r, pauseTimer: n, resumeTimer: u };
693
722
  }
694
723
  });
695
- var _e = function() {
724
+ var he = function() {
696
725
  var t = this, e = t._self._c, s = t._self._setupProxy;
697
726
  return e("div", { staticClass: "cl-toaster" }, t._l(s.positions, function(l) {
698
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) {
@@ -705,15 +734,15 @@ var _e = function() {
705
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()]);
706
735
  }), 0);
707
736
  }), 1);
708
- }, de = [], ue = /* @__PURE__ */ i(
709
- ce,
710
- _e,
711
- de,
737
+ }, me = [], ge = /* @__PURE__ */ i(
738
+ ve,
739
+ he,
740
+ me,
712
741
  !1,
713
742
  null,
714
743
  null
715
744
  );
716
- const pe = ue.exports, fe = /* @__PURE__ */ o({
745
+ const we = ge.exports, Ce = /* @__PURE__ */ o({
717
746
  __name: "CreatorsSkeleton",
718
747
  props: {
719
748
  loading: { type: Boolean, default: !0 },
@@ -728,7 +757,7 @@ const pe = ue.exports, fe = /* @__PURE__ */ o({
728
757
  return { __sfc: !0 };
729
758
  }
730
759
  });
731
- var ve = function() {
760
+ var xe = function() {
732
761
  var t = this, e = t._self._c;
733
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) {
734
763
  return e("div", { key: s, class: ["cl-skeleton", "cl-skeleton--rect", { "cl-skeleton--no-animation": !t.animated }], style: {
@@ -736,32 +765,32 @@ var ve = function() {
736
765
  width: s === t.lines && t.lines > 1 ? "65%" : t.width ?? "100%"
737
766
  } });
738
767
  }), 0)] : t._t("default");
739
- }, he = [], me = /* @__PURE__ */ i(
740
- fe,
741
- ve,
742
- he,
768
+ }, be = [], ke = /* @__PURE__ */ i(
769
+ Ce,
770
+ xe,
771
+ be,
743
772
  !1,
744
773
  null,
745
774
  "3b626f1f"
746
775
  );
747
- const h = me.exports, ge = /* @__PURE__ */ o({
776
+ const h = ke.exports, ye = /* @__PURE__ */ o({
748
777
  __name: "CreatorsSkeletonCard",
749
778
  setup(a) {
750
779
  return { __sfc: !0, CreatorsSkeleton: h };
751
780
  }
752
781
  });
753
- var we = function() {
782
+ var $e = function() {
754
783
  var t = this, e = t._self._c, s = t._self._setupProxy;
755
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);
756
- }, Ce = [], xe = /* @__PURE__ */ i(
757
- ge,
758
- we,
759
- Ce,
785
+ }, Be = [], Se = /* @__PURE__ */ i(
786
+ ye,
787
+ $e,
788
+ Be,
760
789
  !1,
761
790
  null,
762
791
  "00fa9654"
763
792
  );
764
- const ke = xe.exports, ye = /* @__PURE__ */ o({
793
+ const Ve = Se.exports, Re = /* @__PURE__ */ o({
765
794
  __name: "CreatorsSkeletonList",
766
795
  props: {
767
796
  rows: { default: 5 },
@@ -773,20 +802,20 @@ const ke = xe.exports, ye = /* @__PURE__ */ o({
773
802
  return { __sfc: !0, titleWidths: ["60%", "75%", "50%", "80%", "65%"], subtitleWidths: ["40%", "55%", "35%", "50%", "45%"], CreatorsSkeleton: h };
774
803
  }
775
804
  });
776
- var be = function() {
805
+ var Pe = function() {
777
806
  var t = this, e = t._self._c, s = t._self._setupProxy;
778
807
  return e("div", { staticClass: "cl-skeleton-list" }, t._l(t.rows, function(l) {
779
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);
780
809
  }), 0);
781
- }, $e = [], Be = /* @__PURE__ */ i(
782
- ye,
783
- be,
784
- $e,
810
+ }, Fe = [], Le = /* @__PURE__ */ i(
811
+ Re,
812
+ Pe,
813
+ Fe,
785
814
  !1,
786
815
  null,
787
816
  "295ec324"
788
817
  );
789
- const Se = Be.exports, Ve = /* @__PURE__ */ o({
818
+ const je = Le.exports, ze = /* @__PURE__ */ o({
790
819
  __name: "CreatorsSkeletonSimpleList",
791
820
  props: {
792
821
  loading: { type: Boolean, default: !0 },
@@ -797,20 +826,20 @@ const Se = Be.exports, Ve = /* @__PURE__ */ o({
797
826
  return { __sfc: !0, CreatorsSkeleton: h };
798
827
  }
799
828
  });
800
- var Pe = function() {
829
+ var Te = function() {
801
830
  var t = this, e = t._self._c, s = t._self._setupProxy;
802
831
  return t.loading ? [e("div", { staticClass: "cl-skeleton-simple-list" }, t._l(t.rows, function(l) {
803
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);
804
833
  }), 0)] : t._t("default");
805
- }, Fe = [], Re = /* @__PURE__ */ i(
806
- Ve,
807
- Pe,
808
- Fe,
834
+ }, Me = [], Ie = /* @__PURE__ */ i(
835
+ ze,
836
+ Te,
837
+ Me,
809
838
  !1,
810
839
  null,
811
840
  "f47e1288"
812
841
  );
813
- const Le = Re.exports, je = /* @__PURE__ */ o({
842
+ const Oe = Ie.exports, De = /* @__PURE__ */ o({
814
843
  __name: "CreatorsSkeletonProfile",
815
844
  props: {
816
845
  avatarSize: { default: "80px" }
@@ -819,20 +848,20 @@ const Le = Re.exports, je = /* @__PURE__ */ o({
819
848
  return { __sfc: !0, CreatorsSkeleton: h };
820
849
  }
821
850
  });
822
- var ze = function() {
851
+ var Ee = function() {
823
852
  var t = this, e = t._self._c, s = t._self._setupProxy;
824
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) {
825
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);
826
855
  }), 0)], 1)], 1)], 1);
827
- }, Te = [], Me = /* @__PURE__ */ i(
828
- je,
829
- ze,
830
- Te,
856
+ }, We = [], Ae = /* @__PURE__ */ i(
857
+ De,
858
+ Ee,
859
+ We,
831
860
  !1,
832
861
  null,
833
862
  "a6635fb6"
834
863
  );
835
- const Ie = Me.exports, Oe = /* @__PURE__ */ o({
864
+ const qe = Ae.exports, Ke = /* @__PURE__ */ o({
836
865
  __name: "CreatorsSkeletonTable",
837
866
  props: {
838
867
  rows: { default: 5 },
@@ -842,7 +871,7 @@ const Ie = Me.exports, Oe = /* @__PURE__ */ o({
842
871
  return { __sfc: !0, CreatorsSkeleton: h };
843
872
  }
844
873
  });
845
- var De = function() {
874
+ var Ge = function() {
846
875
  var t = this, e = t._self._c, s = t._self._setupProxy;
847
876
  return e("div", { staticClass: "cl-skeleton-table" }, [e("div", { staticClass: "cl-skeleton-table__head" }, t._l(t.cols, function(l) {
848
877
  return e("div", { key: l, staticClass: "cl-skeleton-table__cell" }, [e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: "80px", height: "11px" } })], 1);
@@ -851,15 +880,15 @@ var De = function() {
851
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);
852
881
  }), 0);
853
882
  })], 2);
854
- }, Ee = [], We = /* @__PURE__ */ i(
855
- Oe,
856
- De,
857
- Ee,
883
+ }, Ne = [], Ue = /* @__PURE__ */ i(
884
+ Ke,
885
+ Ge,
886
+ Ne,
858
887
  !1,
859
888
  null,
860
889
  "175f116d"
861
890
  );
862
- const Ae = We.exports, qe = /* @__PURE__ */ o({
891
+ const Xe = Ue.exports, He = /* @__PURE__ */ o({
863
892
  __name: "CreatorsRow",
864
893
  props: {
865
894
  align: null,
@@ -870,7 +899,7 @@ const Ae = We.exports, qe = /* @__PURE__ */ o({
870
899
  return { __sfc: !0 };
871
900
  }
872
901
  });
873
- var Ke = function() {
902
+ var Ye = function() {
874
903
  var t = this, e = t._self._c;
875
904
  return t._self._setupProxy, e("div", { class: [
876
905
  "cl-row",
@@ -878,15 +907,15 @@ var Ke = function() {
878
907
  t.justify ? `cl-row--justify-${t.justify}` : "",
879
908
  t.noGutter ? "cl-row--no-gutter" : ""
880
909
  ] }, [t._t("default")], 2);
881
- }, Ge = [], Ne = /* @__PURE__ */ i(
882
- qe,
883
- Ke,
884
- Ge,
910
+ }, Je = [], Qe = /* @__PURE__ */ i(
911
+ He,
912
+ Ye,
913
+ Je,
885
914
  !1,
886
915
  null,
887
916
  null
888
917
  );
889
- const Ue = Ne.exports, Xe = /* @__PURE__ */ o({
918
+ const Ze = Qe.exports, ts = /* @__PURE__ */ o({
890
919
  __name: "CreatorsCol",
891
920
  props: {
892
921
  cols: null,
@@ -908,18 +937,18 @@ const Ue = Ne.exports, Xe = /* @__PURE__ */ o({
908
937
  return { __sfc: !0, props: t, classes: e };
909
938
  }
910
939
  });
911
- var He = function() {
940
+ var es = function() {
912
941
  var t = this, e = t._self._c, s = t._self._setupProxy;
913
942
  return e("div", { class: s.classes }, [t._t("default")], 2);
914
- }, Ye = [], Je = /* @__PURE__ */ i(
915
- Xe,
916
- He,
917
- Ye,
943
+ }, ss = [], ls = /* @__PURE__ */ i(
944
+ ts,
945
+ es,
946
+ ss,
918
947
  !1,
919
948
  null,
920
949
  null
921
950
  );
922
- const Qe = Je.exports, Ze = /* @__PURE__ */ o({
951
+ const as = ls.exports, rs = /* @__PURE__ */ o({
923
952
  __name: "CreatorsProgress",
924
953
  props: {
925
954
  value: { default: 0 },
@@ -932,79 +961,81 @@ const Qe = Je.exports, Ze = /* @__PURE__ */ o({
932
961
  return { __sfc: !0, props: t, gradId: e, clamped: s, fillWidth: l };
933
962
  }
934
963
  });
935
- var ts = function() {
964
+ var ns = function() {
936
965
  var t = this, e = t._self._c, s = t._self._setupProxy;
937
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)]);
938
- }, es = [], ss = /* @__PURE__ */ i(
939
- Ze,
940
- ts,
941
- es,
967
+ }, os = [], is = /* @__PURE__ */ i(
968
+ rs,
969
+ ns,
970
+ os,
942
971
  !1,
943
972
  null,
944
973
  null
945
974
  );
946
- const ls = ss.exports, as = {
947
- CreatorsButton: j,
948
- CreatorsText: O,
949
- CreatorsAccordion: q,
950
- CreatorsInput: X,
951
- CreatorsInputSwitch: Z,
952
- CreatorsTextarea: at,
953
- CreatorsSelect: ct,
954
- CreatorsCheckbox: ft,
955
- CreatorsRadio: wt,
956
- CreatorsRating: bt,
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,
957
986
  CreatorsDataTable: Pt,
958
- CreatorsDivider: zt,
959
- CreatorsTimeline: Dt,
960
- CreatorsBadge: Kt,
961
- CreatorsCard: Ht,
962
- CreatorsCardCampaign: te,
963
- CreatorsModal: re,
964
- CreatorsToaster: pe,
987
+ CreatorsDivider: Tt,
988
+ CreatorsTimeline: Et,
989
+ CreatorsBadge: Gt,
990
+ CreatorsCard: Yt,
991
+ CreatorsCardCampaign: ee,
992
+ CreatorsCardShell: ne,
993
+ CreatorsModal: de,
994
+ CreatorsToaster: we,
965
995
  CreatorsSkeleton: h,
966
- CreatorsSkeletonCard: ke,
967
- CreatorsSkeletonList: Se,
968
- CreatorsSkeletonSimpleList: Le,
969
- CreatorsSkeletonProfile: Ie,
970
- CreatorsSkeletonTable: Ae,
971
- CreatorsRow: Ue,
972
- CreatorsCol: Qe,
973
- CreatorsProgress: ls
974
- }, ns = {
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 = {
975
1005
  install(a) {
976
- for (const [t, e] of Object.entries(as))
1006
+ for (const [t, e] of Object.entries(_s))
977
1007
  a.component(t, e);
978
1008
  }
979
1009
  };
980
1010
  export {
981
- q as CreatorsAccordion,
982
- Kt as CreatorsBadge,
983
- j as CreatorsButton,
984
- Ht as CreatorsCard,
985
- te as CreatorsCardCampaign,
986
- ft as CreatorsCheckbox,
987
- Qe as CreatorsCol,
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,
988
1019
  Pt as CreatorsDataTable,
989
- zt as CreatorsDivider,
990
- X as CreatorsInput,
991
- Z as CreatorsInputSwitch,
992
- ns as CreatorsLibPlugin,
993
- re as CreatorsModal,
994
- ls as CreatorsProgress,
995
- wt as CreatorsRadio,
996
- bt as CreatorsRating,
997
- Ue as CreatorsRow,
998
- ct as CreatorsSelect,
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,
999
1030
  h as CreatorsSkeleton,
1000
- ke as CreatorsSkeletonCard,
1001
- Se as CreatorsSkeletonList,
1002
- Ie as CreatorsSkeletonProfile,
1003
- Le as CreatorsSkeletonSimpleList,
1004
- Ae as CreatorsSkeletonTable,
1005
- O as CreatorsText,
1006
- at as CreatorsTextarea,
1007
- Dt as CreatorsTimeline,
1008
- pe as CreatorsToaster,
1009
- ie as useToast
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
1010
1041
  };