clds-ui 0.3.5 → 0.3.6

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.
@@ -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
+ }, R = [], L = /* @__PURE__ */ i(
33
33
  P,
34
34
  F,
35
35
  R,
36
36
  !1,
37
37
  null,
38
- "bf5586f5"
38
+ "2b3665ef"
39
39
  );
40
- const z = j.exports, L = /* @__PURE__ */ o({
40
+ const j = L.exports, z = /* @__PURE__ */ o({
41
41
  __name: "CreatorsText",
42
42
  props: {
43
43
  variant: { default: "body-md" },
@@ -70,15 +70,15 @@ const z = j.exports, L = /* @__PURE__ */ o({
70
70
  var T = function() {
71
71
  var t = this, e = t._self._c, s = t._self._setupProxy;
72
72
  return e(s.resolvedTag, { tag: "component", class: ["cl-text", `cl-text--${t.variant}`] }, [t._t("default")], 2);
73
- }, M = [], O = /* @__PURE__ */ i(
74
- L,
73
+ }, M = [], I = /* @__PURE__ */ i(
74
+ z,
75
75
  T,
76
76
  M,
77
77
  !1,
78
78
  null,
79
79
  "a993d82e"
80
80
  );
81
- const I = O.exports, E = /* @__PURE__ */ o({
81
+ const O = I.exports, D = /* @__PURE__ */ o({
82
82
  __name: "CreatorsAccordion",
83
83
  props: {
84
84
  items: null,
@@ -95,7 +95,7 @@ const 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 E = function() {
99
99
  var t = this, e = t._self._c, s = t._self._setupProxy;
100
100
  return e("div", { staticClass: "cl-accordion" }, t._l(t.items, function(l, r) {
101
101
  return e("div", { key: r, staticClass: "cl-accordion__item", class: { "cl-accordion__item--open": s.openIndex === r } }, [e("button", { staticClass: "cl-accordion__trigger", on: { click: function(n) {
@@ -105,14 +105,14 @@ var D = function() {
105
105
  })], 2)])]);
106
106
  }), 0);
107
107
  }, W = [], A = /* @__PURE__ */ i(
108
- E,
109
108
  D,
109
+ E,
110
110
  W,
111
111
  !1,
112
112
  null,
113
113
  "cdacee19"
114
114
  );
115
- const K = A.exports, G = /* @__PURE__ */ o({
115
+ const q = A.exports, K = /* @__PURE__ */ o({
116
116
  __name: "CreatorsInput",
117
117
  props: {
118
118
  modelValue: null,
@@ -147,7 +147,7 @@ const K = 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 G = function() {
151
151
  var t = this, e = t._self._c, s = t._self._setupProxy;
152
152
  return e("div", { class: ["cl-input", `cl-input--${t.size}`, { "cl-input--error": t.error, "cl-input--disabled": t.disabled }] }, [t.label ? e("label", { staticClass: "cl-input__label", attrs: { for: t.id } }, [t._v(t._s(t.label))]) : t._e(), e("div", { staticClass: "cl-input__wrapper" }, [t.icon || t.$slots.prefix ? e("span", { staticClass: "cl-input__slot cl-input__slot--prefix" }, [t._t("prefix", function() {
153
153
  return [t.icon === "search" ? e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("circle", { attrs: { cx: "11", cy: "11", r: "8" } }), e("line", { attrs: { x1: "21", y1: "21", x2: "16.65", y2: "16.65" } })]) : t.icon === "mail" ? e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("path", { attrs: { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" } }), e("polyline", { attrs: { points: "22,6 12,13 2,6" } })]) : t.icon === "lock" ? e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("rect", { attrs: { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" } }), e("path", { attrs: { d: "M7 11V7a5 5 0 0 1 10 0v4" } })]) : t.icon === "user" ? e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("path", { attrs: { d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" } }), e("circle", { attrs: { cx: "12", cy: "7", r: "4" } })]) : t._e()];
@@ -158,15 +158,15 @@ var 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
+ }, N = [], U = /* @__PURE__ */ i(
162
+ K,
162
163
  G,
163
- U,
164
- X,
164
+ N,
165
165
  !1,
166
166
  null,
167
- "914bb790"
167
+ "8c08ffa2"
168
168
  );
169
- const q = H.exports, N = /* @__PURE__ */ o({
169
+ const X = U.exports, H = /* @__PURE__ */ o({
170
170
  __name: "CreatorsInputSwitch",
171
171
  props: {
172
172
  modelValue: { type: Boolean, default: !1 },
@@ -189,7 +189,7 @@ var Y = 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
191
  }], Q = /* @__PURE__ */ i(
192
- N,
192
+ H,
193
193
  Y,
194
194
  J,
195
195
  !1,
@@ -239,7 +239,7 @@ var et = function() {
239
239
  st,
240
240
  !1,
241
241
  null,
242
- "4d2b35a5"
242
+ "b23cc99a"
243
243
  );
244
244
  const at = lt.exports, rt = /* @__PURE__ */ o({
245
245
  __name: "CreatorsSelect",
@@ -267,7 +267,11 @@ 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
+ }), b(() => {
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
277
  var nt = function() {
@@ -283,7 +287,7 @@ var nt = function() {
283
287
  ot,
284
288
  !1,
285
289
  null,
286
- "06f181b3"
290
+ "f07ac917"
287
291
  );
288
292
  const ct = it.exports, _t = /* @__PURE__ */ o({
289
293
  __name: "CreatorsCheckbox",
@@ -375,7 +379,7 @@ var xt = function() {
375
379
  kt,
376
380
  !1,
377
381
  null,
378
- "e6a67dab"
382
+ "9b711643"
379
383
  );
380
384
  const bt = yt.exports, $t = /* @__PURE__ */ o({
381
385
  __name: "CreatorsDataTable",
@@ -436,7 +440,7 @@ var Bt = function() {
436
440
  St,
437
441
  !1,
438
442
  null,
439
- "7b8da436"
443
+ "917ea8fe"
440
444
  );
441
445
  const Pt = Vt.exports, Ft = /* @__PURE__ */ o({
442
446
  __name: "CreatorsDivider",
@@ -458,15 +462,15 @@ var Rt = function() {
458
462
  { "cl-divider--dashed": t.dashed },
459
463
  t.label ? `cl-divider--label-${t.align}` : ""
460
464
  ], attrs: { role: "separator" } }, [t.label ? e("span", { staticClass: "cl-divider__label" }, [t._v(t._s(t.label))]) : t._e()]);
461
- }, jt = [], zt = /* @__PURE__ */ i(
465
+ }, Lt = [], jt = /* @__PURE__ */ i(
462
466
  Ft,
463
467
  Rt,
464
- jt,
468
+ Lt,
465
469
  !1,
466
470
  null,
467
471
  "31f5c2f9"
468
472
  );
469
- const Lt = zt.exports, Tt = /* @__PURE__ */ o({
473
+ const zt = jt.exports, Tt = /* @__PURE__ */ o({
470
474
  __name: "CreatorsTimeline",
471
475
  props: {
472
476
  items: null,
@@ -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(
502
+ }, It = [], Ot = /* @__PURE__ */ i(
499
503
  Tt,
500
504
  Mt,
501
- Ot,
505
+ It,
502
506
  !1,
503
507
  null,
504
508
  "f802dc88"
505
509
  );
506
- const Et = It.exports, Dt = /* @__PURE__ */ o({
510
+ const Dt = Ot.exports, Et = /* @__PURE__ */ o({
507
511
  __name: "CreatorsBadge",
508
512
  props: {
509
513
  variant: { default: "default" },
@@ -517,15 +521,15 @@ const Et = It.exports, Dt = /* @__PURE__ */ o({
517
521
  var Wt = 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
+ }, At = [], qt = /* @__PURE__ */ i(
525
+ Et,
522
526
  Wt,
523
527
  At,
524
528
  !1,
525
529
  null,
526
530
  "36988d61"
527
531
  );
528
- const Gt = Kt.exports, Ut = /* @__PURE__ */ o({
532
+ const Kt = qt.exports, Gt = /* @__PURE__ */ o({
529
533
  __name: "CreatorsCard",
530
534
  props: {
531
535
  title: null,
@@ -539,7 +543,7 @@ const Gt = Kt.exports, Ut = /* @__PURE__ */ o({
539
543
  return { __sfc: !0 };
540
544
  }
541
545
  });
542
- var Xt = function() {
546
+ var Nt = function() {
543
547
  var t = this, e = t._self._c;
544
548
  return t._self._setupProxy, e("div", { class: [
545
549
  "cl-card",
@@ -551,15 +555,44 @@ var Xt = function() {
551
555
  })], 2) : t._e(), t.description || t.$slots.description ? e("div", { staticClass: "cl-card__description" }, [t._t("description", function() {
552
556
  return [t._v(t._s(t.description))];
553
557
  })], 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(
558
+ }, Ut = [], Xt = /* @__PURE__ */ i(
559
+ Gt,
560
+ Nt,
555
561
  Ut,
556
- Xt,
557
- Ht,
558
562
  !1,
559
563
  null,
560
564
  "152c5819"
561
565
  );
562
- const Nt = qt.exports, Yt = /* @__PURE__ */ o({
566
+ const Ht = Xt.exports, Yt = /* @__PURE__ */ o({
567
+ __name: "CreatorsCardCampaign",
568
+ props: {
569
+ status: null,
570
+ statusVariant: { default: "default" },
571
+ brandLogo: null,
572
+ brandName: null,
573
+ title: null,
574
+ publicationsCount: { default: "0" },
575
+ publicationsLabel: { default: "publicações" },
576
+ deliveryDate: null,
577
+ hoverable: { type: Boolean, default: !1 }
578
+ },
579
+ setup(a) {
580
+ const t = a, e = d(() => (t.brandName ?? t.title).slice(0, 2).toUpperCase());
581
+ return { __sfc: !0, props: t, brandInitials: e };
582
+ }
583
+ });
584
+ var Jt = function() {
585
+ 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,
589
+ Jt,
590
+ Qt,
591
+ !1,
592
+ null,
593
+ "9d670da9"
594
+ );
595
+ const te = Zt.exports, ee = /* @__PURE__ */ o({
563
596
  __name: "CreatorsModal",
564
597
  props: {
565
598
  modelValue: { type: Boolean },
@@ -588,51 +621,51 @@ const Nt = qt.exports, Yt = /* @__PURE__ */ o({
588
621
  }), { __sfc: !0, props: e, emit: t, close: s, onOverlayClick: l, onKeydown: r };
589
622
  }
590
623
  });
591
- var Jt = function() {
624
+ var se = function() {
592
625
  var t = this, e = t._self._c, s = t._self._setupProxy;
593
626
  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
627
  return l.target !== l.currentTarget ? null : s.onOverlayClick.apply(null, arguments);
595
628
  } } }, [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
629
  return [t.title ? e("span", { staticClass: "cl-modal__title", attrs: { id: "cl-modal-title" } }, [t._v(t._s(t.title))]) : t._e()];
597
630
  }), 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,
631
+ }, le = [], ae = /* @__PURE__ */ i(
632
+ ee,
633
+ se,
634
+ le,
602
635
  !1,
603
636
  null,
604
637
  null
605
638
  );
606
- const te = Zt.exports;
607
- let ee = 0;
639
+ const re = ae.exports;
640
+ let ne = 0;
608
641
  const v = V({ items: [] });
609
642
  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 };
643
+ const e = ++ne, s = typeof a == "string" ? { id: e, type: t, title: a, duration: 4e3, position: "top-right" } : { id: e, ...a };
611
644
  return s.id = e, s.duration > 0 && (s._timer = setTimeout(() => $(e), s.duration)), v.items.push(s), e;
612
645
  }
613
646
  function $(a) {
614
647
  const t = v.items.findIndex((e) => e.id === a);
615
648
  t !== -1 && (clearTimeout(v.items[t]._timer), v.items.splice(t, 1));
616
649
  }
617
- function se() {
650
+ function oe() {
618
651
  v.items.forEach((a) => clearTimeout(a._timer)), v.items.splice(0);
619
652
  }
620
- function le() {
653
+ function ie() {
621
654
  return {
622
655
  toasts: v.items,
623
656
  add: g,
624
657
  remove: $,
625
- clear: se,
658
+ clear: oe,
626
659
  success: (a, t) => g({ title: a, type: "success", duration: 4e3, position: "top-right", ...t }),
627
660
  error: (a, t) => g({ title: a, type: "error", duration: 4e3, position: "top-right", ...t }),
628
661
  warning: (a, t) => g({ title: a, type: "warning", duration: 4e3, position: "top-right", ...t }),
629
662
  info: (a, t) => g({ title: a, type: "info", duration: 4e3, position: "top-right", ...t })
630
663
  };
631
664
  }
632
- const ae = /* @__PURE__ */ o({
665
+ const ce = /* @__PURE__ */ o({
633
666
  __name: "CreatorsToaster",
634
667
  setup(a) {
635
- const { toasts: t, remove: e } = le(), s = [
668
+ const { toasts: t, remove: e } = ie(), s = [
636
669
  "top-left",
637
670
  "top-center",
638
671
  "top-right",
@@ -659,7 +692,7 @@ const ae = /* @__PURE__ */ o({
659
692
  return { __sfc: !0, toasts: t, remove: e, positions: s, byPosition: l, paused: r, pauseTimer: n, resumeTimer: u };
660
693
  }
661
694
  });
662
- var re = function() {
695
+ var _e = function() {
663
696
  var t = this, e = t._self._c, s = t._self._setupProxy;
664
697
  return e("div", { staticClass: "cl-toaster" }, t._l(s.positions, function(l) {
665
698
  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 +705,15 @@ var re = function() {
672
705
  } } }, [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
706
  }), 0);
674
707
  }), 1);
675
- }, ne = [], oe = /* @__PURE__ */ i(
676
- ae,
677
- re,
678
- ne,
708
+ }, de = [], ue = /* @__PURE__ */ i(
709
+ ce,
710
+ _e,
711
+ de,
679
712
  !1,
680
713
  null,
681
714
  null
682
715
  );
683
- const ie = oe.exports, ce = /* @__PURE__ */ o({
716
+ const pe = ue.exports, fe = /* @__PURE__ */ o({
684
717
  __name: "CreatorsSkeleton",
685
718
  props: {
686
719
  loading: { type: Boolean, default: !0 },
@@ -695,7 +728,7 @@ const ie = oe.exports, ce = /* @__PURE__ */ o({
695
728
  return { __sfc: !0 };
696
729
  }
697
730
  });
698
- var _e = function() {
731
+ var ve = function() {
699
732
  var t = this, e = t._self._c;
700
733
  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
734
  return e("div", { key: s, class: ["cl-skeleton", "cl-skeleton--rect", { "cl-skeleton--no-animation": !t.animated }], style: {
@@ -703,32 +736,32 @@ var _e = function() {
703
736
  width: s === t.lines && t.lines > 1 ? "65%" : t.width ?? "100%"
704
737
  } });
705
738
  }), 0)] : t._t("default");
706
- }, de = [], ue = /* @__PURE__ */ i(
707
- ce,
708
- _e,
709
- de,
739
+ }, he = [], me = /* @__PURE__ */ i(
740
+ fe,
741
+ ve,
742
+ he,
710
743
  !1,
711
744
  null,
712
745
  "3b626f1f"
713
746
  );
714
- const h = ue.exports, pe = /* @__PURE__ */ o({
747
+ const h = me.exports, ge = /* @__PURE__ */ o({
715
748
  __name: "CreatorsSkeletonCard",
716
749
  setup(a) {
717
750
  return { __sfc: !0, CreatorsSkeleton: h };
718
751
  }
719
752
  });
720
- var fe = function() {
753
+ var we = function() {
721
754
  var t = this, e = t._self._c, s = t._self._setupProxy;
722
755
  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,
756
+ }, Ce = [], xe = /* @__PURE__ */ i(
757
+ ge,
758
+ we,
759
+ Ce,
727
760
  !1,
728
761
  null,
729
762
  "00fa9654"
730
763
  );
731
- const me = he.exports, ge = /* @__PURE__ */ o({
764
+ const ke = xe.exports, ye = /* @__PURE__ */ o({
732
765
  __name: "CreatorsSkeletonList",
733
766
  props: {
734
767
  rows: { default: 5 },
@@ -740,20 +773,20 @@ const me = he.exports, ge = /* @__PURE__ */ o({
740
773
  return { __sfc: !0, titleWidths: ["60%", "75%", "50%", "80%", "65%"], subtitleWidths: ["40%", "55%", "35%", "50%", "45%"], CreatorsSkeleton: h };
741
774
  }
742
775
  });
743
- var we = function() {
776
+ var be = function() {
744
777
  var t = this, e = t._self._c, s = t._self._setupProxy;
745
778
  return e("div", { staticClass: "cl-skeleton-list" }, t._l(t.rows, function(l) {
746
779
  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
780
  }), 0);
748
- }, Ce = [], xe = /* @__PURE__ */ i(
749
- ge,
750
- we,
751
- Ce,
781
+ }, $e = [], Be = /* @__PURE__ */ i(
782
+ ye,
783
+ be,
784
+ $e,
752
785
  !1,
753
786
  null,
754
787
  "295ec324"
755
788
  );
756
- const ke = xe.exports, ye = /* @__PURE__ */ o({
789
+ const Se = Be.exports, Ve = /* @__PURE__ */ o({
757
790
  __name: "CreatorsSkeletonSimpleList",
758
791
  props: {
759
792
  loading: { type: Boolean, default: !0 },
@@ -764,20 +797,20 @@ const ke = xe.exports, ye = /* @__PURE__ */ o({
764
797
  return { __sfc: !0, CreatorsSkeleton: h };
765
798
  }
766
799
  });
767
- var be = function() {
800
+ var Pe = function() {
768
801
  var t = this, e = t._self._c, s = t._self._setupProxy;
769
802
  return t.loading ? [e("div", { staticClass: "cl-skeleton-simple-list" }, t._l(t.rows, function(l) {
770
803
  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
804
  }), 0)] : t._t("default");
772
- }, $e = [], Be = /* @__PURE__ */ i(
773
- ye,
774
- be,
775
- $e,
805
+ }, Fe = [], Re = /* @__PURE__ */ i(
806
+ Ve,
807
+ Pe,
808
+ Fe,
776
809
  !1,
777
810
  null,
778
811
  "f47e1288"
779
812
  );
780
- const Se = Be.exports, Ve = /* @__PURE__ */ o({
813
+ const Le = Re.exports, je = /* @__PURE__ */ o({
781
814
  __name: "CreatorsSkeletonProfile",
782
815
  props: {
783
816
  avatarSize: { default: "80px" }
@@ -786,20 +819,20 @@ const Se = Be.exports, Ve = /* @__PURE__ */ o({
786
819
  return { __sfc: !0, CreatorsSkeleton: h };
787
820
  }
788
821
  });
789
- var Pe = function() {
822
+ var ze = function() {
790
823
  var t = this, e = t._self._c, s = t._self._setupProxy;
791
824
  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
825
  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
826
  }), 0)], 1)], 1)], 1);
794
- }, Fe = [], Re = /* @__PURE__ */ i(
795
- Ve,
796
- Pe,
797
- Fe,
827
+ }, Te = [], Me = /* @__PURE__ */ i(
828
+ je,
829
+ ze,
830
+ Te,
798
831
  !1,
799
832
  null,
800
833
  "a6635fb6"
801
834
  );
802
- const je = Re.exports, ze = /* @__PURE__ */ o({
835
+ const Ie = Me.exports, Oe = /* @__PURE__ */ o({
803
836
  __name: "CreatorsSkeletonTable",
804
837
  props: {
805
838
  rows: { default: 5 },
@@ -809,7 +842,7 @@ const je = Re.exports, ze = /* @__PURE__ */ o({
809
842
  return { __sfc: !0, CreatorsSkeleton: h };
810
843
  }
811
844
  });
812
- var Le = function() {
845
+ var De = function() {
813
846
  var t = this, e = t._self._c, s = t._self._setupProxy;
814
847
  return e("div", { staticClass: "cl-skeleton-table" }, [e("div", { staticClass: "cl-skeleton-table__head" }, t._l(t.cols, function(l) {
815
848
  return e("div", { key: l, staticClass: "cl-skeleton-table__cell" }, [e(s.CreatorsSkeleton, { attrs: { variant: "rect", width: "80px", height: "11px" } })], 1);
@@ -818,15 +851,15 @@ var Le = function() {
818
851
  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
852
  }), 0);
820
853
  })], 2);
821
- }, Te = [], Me = /* @__PURE__ */ i(
822
- ze,
823
- Le,
824
- Te,
854
+ }, Ee = [], We = /* @__PURE__ */ i(
855
+ Oe,
856
+ De,
857
+ Ee,
825
858
  !1,
826
859
  null,
827
860
  "175f116d"
828
861
  );
829
- const Oe = Me.exports, Ie = /* @__PURE__ */ o({
862
+ const Ae = We.exports, qe = /* @__PURE__ */ o({
830
863
  __name: "CreatorsRow",
831
864
  props: {
832
865
  align: null,
@@ -837,7 +870,7 @@ const Oe = Me.exports, Ie = /* @__PURE__ */ o({
837
870
  return { __sfc: !0 };
838
871
  }
839
872
  });
840
- var Ee = function() {
873
+ var Ke = function() {
841
874
  var t = this, e = t._self._c;
842
875
  return t._self._setupProxy, e("div", { class: [
843
876
  "cl-row",
@@ -845,15 +878,15 @@ var Ee = function() {
845
878
  t.justify ? `cl-row--justify-${t.justify}` : "",
846
879
  t.noGutter ? "cl-row--no-gutter" : ""
847
880
  ] }, [t._t("default")], 2);
848
- }, De = [], We = /* @__PURE__ */ i(
849
- Ie,
850
- Ee,
851
- De,
881
+ }, Ge = [], Ne = /* @__PURE__ */ i(
882
+ qe,
883
+ Ke,
884
+ Ge,
852
885
  !1,
853
886
  null,
854
887
  null
855
888
  );
856
- const Ae = We.exports, Ke = /* @__PURE__ */ o({
889
+ const Ue = Ne.exports, Xe = /* @__PURE__ */ o({
857
890
  __name: "CreatorsCol",
858
891
  props: {
859
892
  cols: null,
@@ -875,18 +908,18 @@ const Ae = We.exports, Ke = /* @__PURE__ */ o({
875
908
  return { __sfc: !0, props: t, classes: e };
876
909
  }
877
910
  });
878
- var Ge = function() {
911
+ var He = function() {
879
912
  var t = this, e = t._self._c, s = t._self._setupProxy;
880
913
  return e("div", { class: s.classes }, [t._t("default")], 2);
881
- }, Ue = [], Xe = /* @__PURE__ */ i(
882
- Ke,
883
- Ge,
884
- Ue,
914
+ }, Ye = [], Je = /* @__PURE__ */ i(
915
+ Xe,
916
+ He,
917
+ Ye,
885
918
  !1,
886
919
  null,
887
920
  null
888
921
  );
889
- const He = Xe.exports, qe = /* @__PURE__ */ o({
922
+ const Qe = Je.exports, Ze = /* @__PURE__ */ o({
890
923
  __name: "CreatorsProgress",
891
924
  props: {
892
925
  value: { default: 0 },
@@ -899,22 +932,22 @@ const He = Xe.exports, qe = /* @__PURE__ */ o({
899
932
  return { __sfc: !0, props: t, gradId: e, clamped: s, fillWidth: l };
900
933
  }
901
934
  });
902
- var Ne = function() {
935
+ var ts = function() {
903
936
  var t = this, e = t._self._c, s = t._self._setupProxy;
904
937
  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,
938
+ }, es = [], ss = /* @__PURE__ */ i(
939
+ Ze,
940
+ ts,
941
+ es,
909
942
  !1,
910
943
  null,
911
944
  null
912
945
  );
913
- const Qe = Je.exports, Ze = {
914
- CreatorsButton: z,
915
- CreatorsText: I,
916
- CreatorsAccordion: K,
917
- CreatorsInput: q,
946
+ const ls = ss.exports, as = {
947
+ CreatorsButton: j,
948
+ CreatorsText: O,
949
+ CreatorsAccordion: q,
950
+ CreatorsInput: X,
918
951
  CreatorsInputSwitch: Z,
919
952
  CreatorsTextarea: at,
920
953
  CreatorsSelect: ct,
@@ -922,54 +955,56 @@ const Qe = Je.exports, Ze = {
922
955
  CreatorsRadio: wt,
923
956
  CreatorsRating: bt,
924
957
  CreatorsDataTable: Pt,
925
- CreatorsDivider: Lt,
926
- CreatorsTimeline: Et,
927
- CreatorsBadge: Gt,
928
- CreatorsCard: Nt,
929
- CreatorsModal: te,
930
- CreatorsToaster: ie,
958
+ CreatorsDivider: zt,
959
+ CreatorsTimeline: Dt,
960
+ CreatorsBadge: Kt,
961
+ CreatorsCard: Ht,
962
+ CreatorsCardCampaign: te,
963
+ CreatorsModal: re,
964
+ CreatorsToaster: pe,
931
965
  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 = {
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 = {
941
975
  install(a) {
942
- for (const [t, e] of Object.entries(Ze))
976
+ for (const [t, e] of Object.entries(as))
943
977
  a.component(t, e);
944
978
  }
945
979
  };
946
980
  export {
947
- K as CreatorsAccordion,
948
- Gt as CreatorsBadge,
949
- z as CreatorsButton,
950
- Nt as CreatorsCard,
981
+ q as CreatorsAccordion,
982
+ Kt as CreatorsBadge,
983
+ j as CreatorsButton,
984
+ Ht as CreatorsCard,
985
+ te as CreatorsCardCampaign,
951
986
  ft as CreatorsCheckbox,
952
- He as CreatorsCol,
987
+ Qe as CreatorsCol,
953
988
  Pt as CreatorsDataTable,
954
- Lt as CreatorsDivider,
955
- q as CreatorsInput,
989
+ zt as CreatorsDivider,
990
+ X as CreatorsInput,
956
991
  Z as CreatorsInputSwitch,
957
- es as CreatorsLibPlugin,
958
- te as CreatorsModal,
959
- Qe as CreatorsProgress,
992
+ ns as CreatorsLibPlugin,
993
+ re as CreatorsModal,
994
+ ls as CreatorsProgress,
960
995
  wt as CreatorsRadio,
961
996
  bt as CreatorsRating,
962
- Ae as CreatorsRow,
997
+ Ue as CreatorsRow,
963
998
  ct as CreatorsSelect,
964
999
  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,
1000
+ ke as CreatorsSkeletonCard,
1001
+ Se as CreatorsSkeletonList,
1002
+ Ie as CreatorsSkeletonProfile,
1003
+ Le as CreatorsSkeletonSimpleList,
1004
+ Ae as CreatorsSkeletonTable,
1005
+ O as CreatorsText,
971
1006
  at as CreatorsTextarea,
972
- Et as CreatorsTimeline,
973
- ie as CreatorsToaster,
974
- le as useToast
1007
+ Dt as CreatorsTimeline,
1008
+ pe as CreatorsToaster,
1009
+ ie as useToast
975
1010
  };