clds-ui 0.3.5 → 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 = [], j = /* @__PURE__ */ i(
32
+ }, L = [], j = /* @__PURE__ */ i(
33
33
  P,
34
34
  F,
35
- R,
35
+ L,
36
36
  !1,
37
37
  null,
38
- "bf5586f5"
38
+ "2b3665ef"
39
39
  );
40
- const z = j.exports, L = /* @__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 z = j.exports, L = /* @__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 = [], O = /* @__PURE__ */ i(
74
- L,
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 I = O.exports, E = /* @__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 I = O.exports, E = /* @__PURE__ */ o({
95
95
  return { __sfc: !0, props: e, emit: t, openIndex: s, toggle: l };
96
96
  }
97
97
  });
98
- var D = 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 D = function() {
104
104
  return [t._v(t._s(l.content))];
105
105
  })], 2)])]);
106
106
  }), 0);
107
- }, W = [], A = /* @__PURE__ */ i(
107
+ }, A = [], q = /* @__PURE__ */ i(
108
108
  E,
109
- D,
110
109
  W,
110
+ A,
111
111
  !1,
112
112
  null,
113
113
  "cdacee19"
114
114
  );
115
- const K = A.exports, G = /* @__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 K = A.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 U = 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 U = 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
- }, X = [], H = /* @__PURE__ */ i(
161
+ }, U = [], X = /* @__PURE__ */ i(
162
162
  G,
163
+ N,
163
164
  U,
164
- X,
165
165
  !1,
166
166
  null,
167
- "914bb790"
167
+ "8c08ffa2"
168
168
  );
169
- const q = H.exports, N = /* @__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 q = H.exports, N = /* @__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
- N,
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
- "4d2b35a5"
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,
@@ -267,25 +267,29 @@ const at = lt.exports, rt = /* @__PURE__ */ o({
267
267
  function c(_) {
268
268
  l.value && !l.value.contains(_.target) && (s.value = !1);
269
269
  }
270
- return y(() => document.addEventListener("mousedown", c)), b(() => document.removeEventListener("mousedown", c)), { __sfc: !0, props: e, emit: t, isOpen: s, rootRef: l, selectedOption: r, toggle: n, select: u, onClickOutside: c };
270
+ return y(() => {
271
+ document.addEventListener("mousedown", c), document.addEventListener("touchstart", c);
272
+ }), $(() => {
273
+ document.removeEventListener("mousedown", c), document.removeEventListener("touchstart", c);
274
+ }), { __sfc: !0, props: e, emit: t, isOpen: s, rootRef: l, selectedOption: r, toggle: n, select: u, onClickOutside: c };
271
275
  }
272
276
  });
273
- var nt = function() {
277
+ var ot = function() {
274
278
  var t = this, e = t._self._c, s = t._self._setupProxy;
275
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) {
276
280
  return e("li", { key: l.value, class: ["cl-select__option", { "cl-select__option--selected": l.value === t.modelValue }], on: { click: function(r) {
277
281
  return s.select(l);
278
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()]);
279
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);
280
- }, ot = [], it = /* @__PURE__ */ i(
281
- rt,
284
+ }, it = [], ct = /* @__PURE__ */ i(
282
285
  nt,
283
286
  ot,
287
+ it,
284
288
  !1,
285
289
  null,
286
- "06f181b3"
290
+ "f07ac917"
287
291
  );
288
- const ct = it.exports, _t = /* @__PURE__ */ o({
292
+ const _t = ct.exports, dt = /* @__PURE__ */ o({
289
293
  __name: "CreatorsCheckbox",
290
294
  props: {
291
295
  modelValue: { type: Boolean, default: !1 },
@@ -300,18 +304,18 @@ const ct = it.exports, _t = /* @__PURE__ */ o({
300
304
  return { __sfc: !0, emit: t, onChange: e };
301
305
  }
302
306
  });
303
- var dt = function() {
307
+ var ut = function() {
304
308
  var t = this, e = t._self._c, s = t._self._setupProxy;
305
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()]);
306
- }, ut = [], pt = /* @__PURE__ */ i(
307
- _t,
310
+ }, pt = [], ft = /* @__PURE__ */ i(
308
311
  dt,
309
312
  ut,
313
+ pt,
310
314
  !1,
311
315
  null,
312
316
  "d1ad8f2e"
313
317
  );
314
- const ft = pt.exports, vt = /* @__PURE__ */ o({
318
+ const vt = ft.exports, ht = /* @__PURE__ */ o({
315
319
  __name: "CreatorsRadio",
316
320
  props: {
317
321
  modelValue: null,
@@ -324,20 +328,20 @@ const ft = pt.exports, vt = /* @__PURE__ */ o({
324
328
  return { __sfc: !0, emit: t };
325
329
  }
326
330
  });
327
- var ht = function() {
331
+ var mt = function() {
328
332
  var t = this, e = t._self._c, s = t._self._setupProxy;
329
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) {
330
334
  return s.emit("update:modelValue", t.value);
331
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()]);
332
- }, mt = [], gt = /* @__PURE__ */ i(
333
- vt,
336
+ }, gt = [], wt = /* @__PURE__ */ i(
334
337
  ht,
335
338
  mt,
339
+ gt,
336
340
  !1,
337
341
  null,
338
342
  "242eedd7"
339
343
  );
340
- const wt = gt.exports, Ct = /* @__PURE__ */ o({
344
+ const Ct = wt.exports, xt = /* @__PURE__ */ o({
341
345
  __name: "CreatorsRating",
342
346
  props: {
343
347
  modelValue: null,
@@ -356,7 +360,7 @@ const wt = gt.exports, Ct = /* @__PURE__ */ o({
356
360
  return { __sfc: !0, props: e, emit: t, hovered: s, starSize: l, select: r };
357
361
  }
358
362
  });
359
- var xt = function() {
363
+ var bt = function() {
360
364
  var t = this, e = t._self._c, s = t._self._setupProxy;
361
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) {
362
366
  return e("button", { key: l, staticClass: "cl-rating__star", class: {
@@ -370,14 +374,14 @@ var xt = function() {
370
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") } })])]);
371
375
  }), t.showValue ? e("span", { staticClass: "cl-rating__value" }, [t._v(t._s(t.modelValue ?? 0) + "/" + t._s(t.count))]) : t._e()], 2);
372
376
  }, kt = [], yt = /* @__PURE__ */ i(
373
- Ct,
374
377
  xt,
378
+ bt,
375
379
  kt,
376
380
  !1,
377
381
  null,
378
- "e6a67dab"
382
+ "9b711643"
379
383
  );
380
- const bt = yt.exports, $t = /* @__PURE__ */ o({
384
+ const $t = yt.exports, Bt = /* @__PURE__ */ o({
381
385
  __name: "CreatorsDataTable",
382
386
  props: {
383
387
  columns: null,
@@ -394,8 +398,8 @@ const bt = yt.exports, $t = /* @__PURE__ */ o({
394
398
  function n(p) {
395
399
  s.value === p ? l.value = l.value === "asc" ? "desc" : "asc" : (s.value = p, l.value = "asc"), t("sort", s.value, l.value);
396
400
  }
397
- const u = d(() => s.value ? [...e.rows].sort((p, B) => {
398
- 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];
399
403
  if (C == null) return 1;
400
404
  if (x == null) return -1;
401
405
  const k = C < x ? -1 : C > x ? 1 : 0;
@@ -408,7 +412,7 @@ const bt = yt.exports, $t = /* @__PURE__ */ o({
408
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 };
409
413
  }
410
414
  });
411
- var Bt = function() {
415
+ var St = function() {
412
416
  var t = this, e = t._self._c, s = t._self._setupProxy;
413
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) {
414
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) {
@@ -427,18 +431,18 @@ var Bt = function() {
427
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) {
428
432
  s.page++;
429
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()]);
430
- }, St = [function() {
434
+ }, Vt = [function() {
431
435
  var a = this, t = a._self._c;
432
436
  return a._self._setupProxy, t("div", { staticClass: "cl-table__loading" }, [t("span", { staticClass: "cl-table__spinner" }), t("span", [a._v("Carregando...")])]);
433
- }], Vt = /* @__PURE__ */ i(
434
- $t,
437
+ }], Rt = /* @__PURE__ */ i(
435
438
  Bt,
436
439
  St,
440
+ Vt,
437
441
  !1,
438
442
  null,
439
- "7b8da436"
443
+ "917ea8fe"
440
444
  );
441
- const Pt = Vt.exports, Ft = /* @__PURE__ */ o({
445
+ const Pt = Rt.exports, Ft = /* @__PURE__ */ o({
442
446
  __name: "CreatorsDivider",
443
447
  props: {
444
448
  label: null,
@@ -450,7 +454,7 @@ const Pt = Vt.exports, Ft = /* @__PURE__ */ o({
450
454
  return { __sfc: !0 };
451
455
  }
452
456
  });
453
- var Rt = function() {
457
+ var Lt = function() {
454
458
  var t = this, e = t._self._c;
455
459
  return t._self._setupProxy, e("div", { class: [
456
460
  "cl-divider",
@@ -460,13 +464,13 @@ var Rt = function() {
460
464
  ], attrs: { role: "separator" } }, [t.label ? e("span", { staticClass: "cl-divider__label" }, [t._v(t._s(t.label))]) : t._e()]);
461
465
  }, jt = [], zt = /* @__PURE__ */ i(
462
466
  Ft,
463
- Rt,
467
+ Lt,
464
468
  jt,
465
469
  !1,
466
470
  null,
467
471
  "31f5c2f9"
468
472
  );
469
- const Lt = zt.exports, Tt = /* @__PURE__ */ o({
473
+ const Tt = zt.exports, Mt = /* @__PURE__ */ o({
470
474
  __name: "CreatorsTimeline",
471
475
  props: {
472
476
  items: null,
@@ -477,7 +481,7 @@ const Lt = zt.exports, Tt = /* @__PURE__ */ o({
477
481
  return { __sfc: !0 };
478
482
  }
479
483
  });
480
- var Mt = function() {
484
+ var It = function() {
481
485
  var t = this, e = t._self._c;
482
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) {
483
487
  return e("div", { key: l, class: [
@@ -495,15 +499,15 @@ var Mt = function() {
495
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()])];
496
500
  })], 2)]], 2);
497
501
  }), 0);
498
- }, Ot = [], It = /* @__PURE__ */ i(
499
- Tt,
502
+ }, Ot = [], Dt = /* @__PURE__ */ i(
500
503
  Mt,
504
+ It,
501
505
  Ot,
502
506
  !1,
503
507
  null,
504
508
  "f802dc88"
505
509
  );
506
- const Et = It.exports, Dt = /* @__PURE__ */ o({
510
+ const Et = Dt.exports, Wt = /* @__PURE__ */ o({
507
511
  __name: "CreatorsBadge",
508
512
  props: {
509
513
  variant: { default: "default" },
@@ -514,18 +518,18 @@ const Et = It.exports, Dt = /* @__PURE__ */ o({
514
518
  return { __sfc: !0, props: t, statusIcon: e };
515
519
  }
516
520
  });
517
- var Wt = function() {
521
+ var At = function() {
518
522
  var t = this, e = t._self._c, s = t._self._setupProxy;
519
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);
520
- }, At = [], Kt = /* @__PURE__ */ i(
521
- Dt,
524
+ }, qt = [], Kt = /* @__PURE__ */ i(
522
525
  Wt,
523
526
  At,
527
+ qt,
524
528
  !1,
525
529
  null,
526
530
  "36988d61"
527
531
  );
528
- const Gt = Kt.exports, Ut = /* @__PURE__ */ o({
532
+ const Gt = Kt.exports, Nt = /* @__PURE__ */ o({
529
533
  __name: "CreatorsCard",
530
534
  props: {
531
535
  title: null,
@@ -533,33 +537,91 @@ const Gt = Kt.exports, Ut = /* @__PURE__ */ o({
533
537
  label: null,
534
538
  variant: { default: "default" },
535
539
  hoverable: { type: Boolean, default: !1 },
536
- flush: { type: Boolean, default: !1 }
540
+ flush: { type: Boolean, default: !1 },
541
+ border: null,
542
+ to: null
537
543
  },
538
544
  setup(a) {
539
- return { __sfc: !0 };
545
+ const t = a, e = d(() => t.to ? b("RouterLink") : "div");
546
+ return { __sfc: !0, props: t, tag: e };
540
547
  }
541
548
  });
542
- var Xt = function() {
543
- var t = this, e = t._self._c;
544
- 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: [
545
552
  "cl-card",
546
553
  `cl-card--${t.variant}`,
547
- { "cl-card--hoverable": t.hoverable },
554
+ { "cl-card--hoverable": t.hoverable || !!t.to },
548
555
  { "cl-card--flush": t.flush }
549
- ] }, [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() {
550
557
  return [t._v(t._s(t.title))];
551
558
  })], 2) : t._e(), t.description || t.$slots.description ? e("div", { staticClass: "cl-card__description" }, [t._t("description", function() {
552
559
  return [t._v(t._s(t.description))];
553
560
  })], 2) : t._e(), t._t("default")], 2), t.$slots.footer ? e("div", { staticClass: "cl-card__footer" }, [t._t("footer")], 2) : t._e()]);
554
- }, Ht = [], qt = /* @__PURE__ */ i(
561
+ }, Xt = [], Ht = /* @__PURE__ */ i(
562
+ Nt,
555
563
  Ut,
556
564
  Xt,
557
- Ht,
558
565
  !1,
559
566
  null,
560
- "152c5819"
567
+ "3b0ac58d"
561
568
  );
562
- const Nt = qt.exports, Yt = /* @__PURE__ */ o({
569
+ const Yt = Ht.exports, Jt = /* @__PURE__ */ o({
570
+ __name: "CreatorsCardCampaign",
571
+ props: {
572
+ status: null,
573
+ statusVariant: { default: "default" },
574
+ brandLogo: null,
575
+ brandName: null,
576
+ title: null,
577
+ publicationsCount: { default: "0" },
578
+ publicationsLabel: { default: "publicações" },
579
+ deliveryDate: null,
580
+ hoverable: { type: Boolean, default: !1 },
581
+ border: null,
582
+ to: null
583
+ },
584
+ setup(a) {
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 };
587
+ }
588
+ });
589
+ var Qt = function() {
590
+ var t = this, e = t._self._c, s = t._self._setupProxy;
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(
593
+ Jt,
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,
620
+ !1,
621
+ null,
622
+ "ba502d63"
623
+ );
624
+ const ne = re.exports, oe = /* @__PURE__ */ o({
563
625
  __name: "CreatorsModal",
564
626
  props: {
565
627
  modelValue: { type: Boolean },
@@ -581,58 +643,58 @@ const Nt = qt.exports, Yt = /* @__PURE__ */ o({
581
643
  function r(n) {
582
644
  n.key === "Escape" && e.modelValue && !e.persistent && s();
583
645
  }
584
- return S(() => e.modelValue, (n) => {
646
+ return V(() => e.modelValue, (n) => {
585
647
  document.body.style.overflow = n ? "hidden" : "";
586
- }), y(() => window.addEventListener("keydown", r)), b(() => {
648
+ }), y(() => window.addEventListener("keydown", r)), $(() => {
587
649
  window.removeEventListener("keydown", r), document.body.style.overflow = "";
588
650
  }), { __sfc: !0, props: e, emit: t, close: s, onOverlayClick: l, onKeydown: r };
589
651
  }
590
652
  });
591
- var Jt = function() {
653
+ var ie = function() {
592
654
  var t = this, e = t._self._c, s = t._self._setupProxy;
593
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) {
594
656
  return l.target !== l.currentTarget ? null : s.onOverlayClick.apply(null, arguments);
595
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() {
596
658
  return [t.title ? e("span", { staticClass: "cl-modal__title", attrs: { id: "cl-modal-title" } }, [t._v(t._s(t.title))]) : t._e()];
597
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()]);
598
- }, Qt = [], Zt = /* @__PURE__ */ i(
599
- Yt,
600
- Jt,
601
- Qt,
660
+ }, ce = [], _e = /* @__PURE__ */ i(
661
+ oe,
662
+ ie,
663
+ ce,
602
664
  !1,
603
665
  null,
604
666
  null
605
667
  );
606
- const te = Zt.exports;
607
- let ee = 0;
608
- const v = V({ items: [] });
668
+ const de = _e.exports;
669
+ let ue = 0;
670
+ const v = R({ items: [] });
609
671
  function g(a, t = "info") {
610
- const e = ++ee, s = typeof a == "string" ? { id: e, type: t, title: a, duration: 4e3, position: "top-right" } : { id: e, ...a };
611
- 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;
612
674
  }
613
- function $(a) {
675
+ function B(a) {
614
676
  const t = v.items.findIndex((e) => e.id === a);
615
677
  t !== -1 && (clearTimeout(v.items[t]._timer), v.items.splice(t, 1));
616
678
  }
617
- function se() {
679
+ function pe() {
618
680
  v.items.forEach((a) => clearTimeout(a._timer)), v.items.splice(0);
619
681
  }
620
- function le() {
682
+ function fe() {
621
683
  return {
622
684
  toasts: v.items,
623
685
  add: g,
624
- remove: $,
625
- clear: se,
686
+ remove: B,
687
+ clear: pe,
626
688
  success: (a, t) => g({ title: a, type: "success", duration: 4e3, position: "top-right", ...t }),
627
689
  error: (a, t) => g({ title: a, type: "error", duration: 4e3, position: "top-right", ...t }),
628
690
  warning: (a, t) => g({ title: a, type: "warning", duration: 4e3, position: "top-right", ...t }),
629
691
  info: (a, t) => g({ title: a, type: "info", duration: 4e3, position: "top-right", ...t })
630
692
  };
631
693
  }
632
- const ae = /* @__PURE__ */ o({
694
+ const ve = /* @__PURE__ */ o({
633
695
  __name: "CreatorsToaster",
634
696
  setup(a) {
635
- const { toasts: t, remove: e } = le(), s = [
697
+ const { toasts: t, remove: e } = fe(), s = [
636
698
  "top-left",
637
699
  "top-center",
638
700
  "top-right",
@@ -659,7 +721,7 @@ const ae = /* @__PURE__ */ o({
659
721
  return { __sfc: !0, toasts: t, remove: e, positions: s, byPosition: l, paused: r, pauseTimer: n, resumeTimer: u };
660
722
  }
661
723
  });
662
- var re = function() {
724
+ var he = function() {
663
725
  var t = this, e = t._self._c, s = t._self._setupProxy;
664
726
  return e("div", { staticClass: "cl-toaster" }, t._l(s.positions, function(l) {
665
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) {
@@ -672,15 +734,15 @@ var re = function() {
672
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()]);
673
735
  }), 0);
674
736
  }), 1);
675
- }, ne = [], oe = /* @__PURE__ */ i(
676
- ae,
677
- re,
678
- ne,
737
+ }, me = [], ge = /* @__PURE__ */ i(
738
+ ve,
739
+ he,
740
+ me,
679
741
  !1,
680
742
  null,
681
743
  null
682
744
  );
683
- const ie = oe.exports, ce = /* @__PURE__ */ o({
745
+ const we = ge.exports, Ce = /* @__PURE__ */ o({
684
746
  __name: "CreatorsSkeleton",
685
747
  props: {
686
748
  loading: { type: Boolean, default: !0 },
@@ -695,7 +757,7 @@ const ie = oe.exports, ce = /* @__PURE__ */ o({
695
757
  return { __sfc: !0 };
696
758
  }
697
759
  });
698
- var _e = function() {
760
+ var xe = function() {
699
761
  var t = this, e = t._self._c;
700
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) {
701
763
  return e("div", { key: s, class: ["cl-skeleton", "cl-skeleton--rect", { "cl-skeleton--no-animation": !t.animated }], style: {
@@ -703,32 +765,32 @@ var _e = function() {
703
765
  width: s === t.lines && t.lines > 1 ? "65%" : t.width ?? "100%"
704
766
  } });
705
767
  }), 0)] : t._t("default");
706
- }, de = [], ue = /* @__PURE__ */ i(
707
- ce,
708
- _e,
709
- de,
768
+ }, be = [], ke = /* @__PURE__ */ i(
769
+ Ce,
770
+ xe,
771
+ be,
710
772
  !1,
711
773
  null,
712
774
  "3b626f1f"
713
775
  );
714
- const h = ue.exports, pe = /* @__PURE__ */ o({
776
+ const h = ke.exports, ye = /* @__PURE__ */ o({
715
777
  __name: "CreatorsSkeletonCard",
716
778
  setup(a) {
717
779
  return { __sfc: !0, CreatorsSkeleton: h };
718
780
  }
719
781
  });
720
- var fe = function() {
782
+ var $e = function() {
721
783
  var t = this, e = t._self._c, s = t._self._setupProxy;
722
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);
723
- }, ve = [], he = /* @__PURE__ */ i(
724
- pe,
725
- fe,
726
- ve,
785
+ }, Be = [], Se = /* @__PURE__ */ i(
786
+ ye,
787
+ $e,
788
+ Be,
727
789
  !1,
728
790
  null,
729
791
  "00fa9654"
730
792
  );
731
- const me = he.exports, ge = /* @__PURE__ */ o({
793
+ const Ve = Se.exports, Re = /* @__PURE__ */ o({
732
794
  __name: "CreatorsSkeletonList",
733
795
  props: {
734
796
  rows: { default: 5 },
@@ -740,20 +802,20 @@ const me = he.exports, ge = /* @__PURE__ */ o({
740
802
  return { __sfc: !0, titleWidths: ["60%", "75%", "50%", "80%", "65%"], subtitleWidths: ["40%", "55%", "35%", "50%", "45%"], CreatorsSkeleton: h };
741
803
  }
742
804
  });
743
- var we = function() {
805
+ var Pe = function() {
744
806
  var t = this, e = t._self._c, s = t._self._setupProxy;
745
807
  return e("div", { staticClass: "cl-skeleton-list" }, t._l(t.rows, function(l) {
746
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);
747
809
  }), 0);
748
- }, Ce = [], xe = /* @__PURE__ */ i(
749
- ge,
750
- we,
751
- Ce,
810
+ }, Fe = [], Le = /* @__PURE__ */ i(
811
+ Re,
812
+ Pe,
813
+ Fe,
752
814
  !1,
753
815
  null,
754
816
  "295ec324"
755
817
  );
756
- const ke = xe.exports, ye = /* @__PURE__ */ o({
818
+ const je = Le.exports, ze = /* @__PURE__ */ o({
757
819
  __name: "CreatorsSkeletonSimpleList",
758
820
  props: {
759
821
  loading: { type: Boolean, default: !0 },
@@ -764,20 +826,20 @@ const ke = xe.exports, ye = /* @__PURE__ */ o({
764
826
  return { __sfc: !0, CreatorsSkeleton: h };
765
827
  }
766
828
  });
767
- var be = function() {
829
+ var Te = function() {
768
830
  var t = this, e = t._self._c, s = t._self._setupProxy;
769
831
  return t.loading ? [e("div", { staticClass: "cl-skeleton-simple-list" }, t._l(t.rows, function(l) {
770
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);
771
833
  }), 0)] : t._t("default");
772
- }, $e = [], Be = /* @__PURE__ */ i(
773
- ye,
774
- be,
775
- $e,
834
+ }, Me = [], Ie = /* @__PURE__ */ i(
835
+ ze,
836
+ Te,
837
+ Me,
776
838
  !1,
777
839
  null,
778
840
  "f47e1288"
779
841
  );
780
- const Se = Be.exports, Ve = /* @__PURE__ */ o({
842
+ const Oe = Ie.exports, De = /* @__PURE__ */ o({
781
843
  __name: "CreatorsSkeletonProfile",
782
844
  props: {
783
845
  avatarSize: { default: "80px" }
@@ -786,20 +848,20 @@ const Se = Be.exports, Ve = /* @__PURE__ */ o({
786
848
  return { __sfc: !0, CreatorsSkeleton: h };
787
849
  }
788
850
  });
789
- var Pe = function() {
851
+ var Ee = function() {
790
852
  var t = this, e = t._self._c, s = t._self._setupProxy;
791
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) {
792
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);
793
855
  }), 0)], 1)], 1)], 1);
794
- }, Fe = [], Re = /* @__PURE__ */ i(
795
- Ve,
796
- Pe,
797
- Fe,
856
+ }, We = [], Ae = /* @__PURE__ */ i(
857
+ De,
858
+ Ee,
859
+ We,
798
860
  !1,
799
861
  null,
800
862
  "a6635fb6"
801
863
  );
802
- const je = Re.exports, ze = /* @__PURE__ */ o({
864
+ const qe = Ae.exports, Ke = /* @__PURE__ */ o({
803
865
  __name: "CreatorsSkeletonTable",
804
866
  props: {
805
867
  rows: { default: 5 },
@@ -809,7 +871,7 @@ const je = Re.exports, ze = /* @__PURE__ */ o({
809
871
  return { __sfc: !0, CreatorsSkeleton: h };
810
872
  }
811
873
  });
812
- var Le = function() {
874
+ var Ge = function() {
813
875
  var t = this, e = t._self._c, s = t._self._setupProxy;
814
876
  return e("div", { staticClass: "cl-skeleton-table" }, [e("div", { staticClass: "cl-skeleton-table__head" }, t._l(t.cols, function(l) {
815
877
  return e("div", { key: l, staticClass: "cl-skeleton-table__cell" }, [e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: "80px", height: "11px" } })], 1);
@@ -818,15 +880,15 @@ var Le = function() {
818
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);
819
881
  }), 0);
820
882
  })], 2);
821
- }, Te = [], Me = /* @__PURE__ */ i(
822
- ze,
823
- Le,
824
- Te,
883
+ }, Ne = [], Ue = /* @__PURE__ */ i(
884
+ Ke,
885
+ Ge,
886
+ Ne,
825
887
  !1,
826
888
  null,
827
889
  "175f116d"
828
890
  );
829
- const Oe = Me.exports, Ie = /* @__PURE__ */ o({
891
+ const Xe = Ue.exports, He = /* @__PURE__ */ o({
830
892
  __name: "CreatorsRow",
831
893
  props: {
832
894
  align: null,
@@ -837,7 +899,7 @@ const Oe = Me.exports, Ie = /* @__PURE__ */ o({
837
899
  return { __sfc: !0 };
838
900
  }
839
901
  });
840
- var Ee = function() {
902
+ var Ye = function() {
841
903
  var t = this, e = t._self._c;
842
904
  return t._self._setupProxy, e("div", { class: [
843
905
  "cl-row",
@@ -845,15 +907,15 @@ var Ee = function() {
845
907
  t.justify ? `cl-row--justify-${t.justify}` : "",
846
908
  t.noGutter ? "cl-row--no-gutter" : ""
847
909
  ] }, [t._t("default")], 2);
848
- }, De = [], We = /* @__PURE__ */ i(
849
- Ie,
850
- Ee,
851
- De,
910
+ }, Je = [], Qe = /* @__PURE__ */ i(
911
+ He,
912
+ Ye,
913
+ Je,
852
914
  !1,
853
915
  null,
854
916
  null
855
917
  );
856
- const Ae = We.exports, Ke = /* @__PURE__ */ o({
918
+ const Ze = Qe.exports, ts = /* @__PURE__ */ o({
857
919
  __name: "CreatorsCol",
858
920
  props: {
859
921
  cols: null,
@@ -875,18 +937,18 @@ const Ae = We.exports, Ke = /* @__PURE__ */ o({
875
937
  return { __sfc: !0, props: t, classes: e };
876
938
  }
877
939
  });
878
- var Ge = function() {
940
+ var es = function() {
879
941
  var t = this, e = t._self._c, s = t._self._setupProxy;
880
942
  return e("div", { class: s.classes }, [t._t("default")], 2);
881
- }, Ue = [], Xe = /* @__PURE__ */ i(
882
- Ke,
883
- Ge,
884
- Ue,
943
+ }, ss = [], ls = /* @__PURE__ */ i(
944
+ ts,
945
+ es,
946
+ ss,
885
947
  !1,
886
948
  null,
887
949
  null
888
950
  );
889
- const He = Xe.exports, qe = /* @__PURE__ */ o({
951
+ const as = ls.exports, rs = /* @__PURE__ */ o({
890
952
  __name: "CreatorsProgress",
891
953
  props: {
892
954
  value: { default: 0 },
@@ -899,47 +961,49 @@ const He = Xe.exports, qe = /* @__PURE__ */ o({
899
961
  return { __sfc: !0, props: t, gradId: e, clamped: s, fillWidth: l };
900
962
  }
901
963
  });
902
- var Ne = function() {
964
+ var ns = function() {
903
965
  var t = this, e = t._self._c, s = t._self._setupProxy;
904
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)]);
905
- }, Ye = [], Je = /* @__PURE__ */ i(
906
- qe,
907
- Ne,
908
- Ye,
967
+ }, os = [], is = /* @__PURE__ */ i(
968
+ rs,
969
+ ns,
970
+ os,
909
971
  !1,
910
972
  null,
911
973
  null
912
974
  );
913
- const Qe = Je.exports, Ze = {
975
+ const cs = is.exports, _s = {
914
976
  CreatorsButton: z,
915
- CreatorsText: I,
977
+ CreatorsText: D,
916
978
  CreatorsAccordion: K,
917
- CreatorsInput: q,
918
- CreatorsInputSwitch: Z,
919
- CreatorsTextarea: at,
920
- CreatorsSelect: ct,
921
- CreatorsCheckbox: ft,
922
- CreatorsRadio: wt,
923
- CreatorsRating: bt,
979
+ CreatorsInput: H,
980
+ CreatorsInputSwitch: tt,
981
+ CreatorsTextarea: rt,
982
+ CreatorsSelect: _t,
983
+ CreatorsCheckbox: vt,
984
+ CreatorsRadio: Ct,
985
+ CreatorsRating: $t,
924
986
  CreatorsDataTable: Pt,
925
- CreatorsDivider: Lt,
987
+ CreatorsDivider: Tt,
926
988
  CreatorsTimeline: Et,
927
989
  CreatorsBadge: Gt,
928
- CreatorsCard: Nt,
929
- CreatorsModal: te,
930
- CreatorsToaster: ie,
990
+ CreatorsCard: Yt,
991
+ CreatorsCardCampaign: ee,
992
+ CreatorsCardShell: ne,
993
+ CreatorsModal: de,
994
+ CreatorsToaster: we,
931
995
  CreatorsSkeleton: h,
932
- CreatorsSkeletonCard: me,
933
- CreatorsSkeletonList: ke,
934
- CreatorsSkeletonSimpleList: Se,
935
- CreatorsSkeletonProfile: je,
936
- CreatorsSkeletonTable: Oe,
937
- CreatorsRow: Ae,
938
- CreatorsCol: He,
939
- CreatorsProgress: Qe
940
- }, es = {
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 = {
941
1005
  install(a) {
942
- for (const [t, e] of Object.entries(Ze))
1006
+ for (const [t, e] of Object.entries(_s))
943
1007
  a.component(t, e);
944
1008
  }
945
1009
  };
@@ -947,29 +1011,31 @@ export {
947
1011
  K as CreatorsAccordion,
948
1012
  Gt as CreatorsBadge,
949
1013
  z as CreatorsButton,
950
- Nt as CreatorsCard,
951
- ft as CreatorsCheckbox,
952
- He as CreatorsCol,
1014
+ Yt as CreatorsCard,
1015
+ ee as CreatorsCardCampaign,
1016
+ ne as CreatorsCardShell,
1017
+ vt as CreatorsCheckbox,
1018
+ as as CreatorsCol,
953
1019
  Pt as CreatorsDataTable,
954
- Lt as CreatorsDivider,
955
- q as CreatorsInput,
956
- Z as CreatorsInputSwitch,
957
- es as CreatorsLibPlugin,
958
- te as CreatorsModal,
959
- Qe as CreatorsProgress,
960
- wt as CreatorsRadio,
961
- bt as CreatorsRating,
962
- Ae as CreatorsRow,
963
- 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,
964
1030
  h as CreatorsSkeleton,
965
- me as CreatorsSkeletonCard,
966
- ke as CreatorsSkeletonList,
967
- je as CreatorsSkeletonProfile,
968
- Se as CreatorsSkeletonSimpleList,
969
- Oe as CreatorsSkeletonTable,
970
- I as CreatorsText,
971
- at as CreatorsTextarea,
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,
972
1038
  Et as CreatorsTimeline,
973
- ie as CreatorsToaster,
974
- le as useToast
1039
+ we as CreatorsToaster,
1040
+ fe as useToast
975
1041
  };