@codeandfunction/callaloo 3.22.0 → 3.23.0
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 +1 @@
|
|
|
1
|
-
.clll-carousel{position:relative;width:var(--
|
|
1
|
+
.clll-carousel{position:relative;width:var(--v3ba68b74)}.clll-carousel>:not([hidden])~:not([hidden]){margin-top:var(--clll-unit-2)}.clll-carousel{box-sizing:border-box}.clll-carousel .clll-carousel__slides{position:relative;width:100%}@media(min-width:640px){.clll-carousel .clll-carousel__slides{-ms-overflow-style:none;scrollbar-width:none}.clll-carousel .clll-carousel__slides::-webkit-scrollbar{width:0!important}}.clll-carousel .clll-carousel__slides>*{flex:none}.clll-carousel .clll-carousel__slides .clll-carousel__slide{width:var(--v1ab12a15)}.clll-carousel .clll-carousel__slide-controls{align-items:center;display:flex;min-height:32px}.clll-carousel .clll-carousel__slide-controls>:not([hidden])~:not([hidden]){margin-left:var(--clll-unit-2)}.clll-carousel .clll-carousel__slide-controls.clll-carousel__slide-controls--inline{position:absolute;top:50%;left:0;transform:translateY(-50%);width:100%;margin-top:0;pointer-events:none}.clll-carousel .clll-carousel__slide-controls.clll-carousel__slide-controls--inline .clll-carousel__navigation{width:100%}.clll-carousel .clll-carousel__slide-controls.clll-carousel__slide-controls--hascustomtitle .clll-carousel__custom-title{display:block}.clll-carousel .clll-carousel__slide-controls[hidden]{height:0}.clll-carousel .clll-carousel__slide-controls .clll-carousel__title{overflow:hidden;flex:1 1 0%}.clll-carousel .clll-carousel__slide-controls .clll-carousel__custom-title{display:none;flex:1 1 0%}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation{display:flex;align-items:center;height:2.25rem}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation>:not([hidden])~:not([hidden]){margin-left:var(--clll-unit-2)}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation.clll-carousel__navigation--after,.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation.clll-carousel__navigation--before{flex:1}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation.clll-carousel__navigation--left{justify-content:left}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation.clll-carousel__navigation--center{justify-content:center}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation.clll-carousel__navigation--right{justify-content:right}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__arrows-container{display:flex;align-items:center}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__arrows-container>:not([hidden])~:not([hidden]){margin-left:var(--clll-unit-2)}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__arrows-container .clll-carousel__prev-page,.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__arrows-container .clll-carousel__next-page{display:block}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__numbered-container{display:flex;align-items:center}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__numbered-container>:not([hidden])~:not([hidden]){margin-left:var(--clll-unit-2)}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__numbered-container .clll-carousel__page-indicator,.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__numbered-container .clll-carousel__prev-page,.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__numbered-container .clll-carousel__next-page{display:block}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__dots-container{display:flex;flex-direction:row;align-items:center}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__dots-container>:not([hidden])~:not([hidden]){margin-left:var(--clll-unit-2)}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__inline-container{display:flex;width:100%}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__inline-container .clll-carousel__prev-page,.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__inline-container .clll-carousel__next-page{position:relative;display:flex;flex:1 1 0%}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__inline-container .clll-carousel__prev-page .clll-button,.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__inline-container .clll-carousel__next-page .clll-button{pointer-events:all}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__inline-container .clll-carousel__prev-page{left:0}.clll-carousel .clll-carousel__slide-controls .clll-carousel__navigation .clll-carousel__inline-container .clll-carousel__next-page{right:0;justify-content:flex-end}.clll-carousel.clll-carousel--hastitle .clll-carousel__slide-controls--inline{margin-top:16px}.clll-carousel.clll-carousel--inline{padding-left:var(--clll-unit-10);padding-right:var(--clll-unit-10)}.clll-carousel.clll-carousel--enabled .clll-carousel__slides{display:flex;width:100%;overflow-x:scroll;white-space:nowrap;padding:var(--clll-unit-1) 0}@media(min-width:640px){.clll-carousel.clll-carousel--enabled .clll-carousel__slides{overflow-x:scroll}}.clll-carousel.clll-carousel--disabled .clll-carousel__slides{display:block}.clll-carousel.clll-carousel--disabled .clll-carousel__page-indicator,.clll-carousel.clll-carousel--disabled .clll-carousel__prev-page,.clll-carousel.clll-carousel--disabled .clll-carousel__next-page{display:none}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
2
|
import './CLCarousel.css';
|
|
3
|
-
import { defineComponent as xe, computed as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { CLPaginationType as
|
|
3
|
+
import { defineComponent as xe, computed as w, createElementBlock as h, openBlock as f, Fragment as te, createCommentVNode as P, unref as e, normalizeClass as r, renderList as ke, createBlock as ze, createElementVNode as x, createVNode as y, withCtx as de, createTextVNode as ue, toDisplayString as ee, useCssVars as Ie, ref as v, onMounted as Ee, nextTick as Y, onUnmounted as We, watch as Be, renderSlot as ve } from "vue";
|
|
4
|
+
import { _ as M } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-kYdsi6-T.js";
|
|
5
|
+
import { _ as Te } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-DVwTAVXM.js";
|
|
6
|
+
import { CLPaginationType as E, CLColorVariants as A, CLSizes as D, CLIconSizes as j, CLIconNames as q, CLTextTypes as Ne, CLAlign as Q, CLOrder as Z, CLColors as Me } from "../../../index.js";
|
|
7
7
|
import { i as _, d as Ae, e as Ve } from "../../../chunks/helper-BYpahJAh.js";
|
|
8
8
|
import { useHasSlotContent as Oe } from "../../../composables/useHasSlotContent.js";
|
|
9
9
|
const ce = /* @__PURE__ */ xe({
|
|
@@ -27,60 +27,62 @@ const ce = /* @__PURE__ */ xe({
|
|
|
27
27
|
variant: {}
|
|
28
28
|
},
|
|
29
29
|
setup(t) {
|
|
30
|
-
const l = t, n =
|
|
30
|
+
const l = t, n = w(() => [
|
|
31
31
|
`${l.prefix}__dots-container`
|
|
32
|
-
]),
|
|
32
|
+
]), V = w(() => [
|
|
33
|
+
`${l.prefix}__arrows-container`
|
|
34
|
+
]), B = w(() => [
|
|
33
35
|
`${l.prefix}__numbered-container`
|
|
34
|
-
]),
|
|
36
|
+
]), p = w(() => [
|
|
35
37
|
`${l.prefix}__inline-container`
|
|
36
|
-
]),
|
|
38
|
+
]), c = w(() => [
|
|
37
39
|
`${l.prefix}__prev-page`
|
|
38
|
-
]),
|
|
40
|
+
]), $ = w(() => [
|
|
39
41
|
`${l.prefix}__next-page`
|
|
40
|
-
]),
|
|
42
|
+
]), F = w(() => [
|
|
41
43
|
`${l.prefix}__page-indicator`
|
|
42
|
-
]),
|
|
44
|
+
]), W = w(() => [
|
|
43
45
|
`${l.prefix}__show-more`
|
|
44
|
-
]),
|
|
45
|
-
return (
|
|
46
|
-
t.paginationType === e(
|
|
46
|
+
]), L = (k) => l.currentPage === k, C = w(() => !l.enabled || !l.prevPageEnabled), m = w(() => !l.enabled || !l.nextPageEnabled);
|
|
47
|
+
return (k, R) => (f(), h(te, null, [
|
|
48
|
+
t.paginationType === e(E).Dots ? (f(), h("div", {
|
|
47
49
|
key: 0,
|
|
48
50
|
class: r(e(n))
|
|
49
51
|
}, [
|
|
50
|
-
(
|
|
51
|
-
key: `dot-${
|
|
52
|
-
"aria-label": `Show page ${
|
|
52
|
+
(f(!0), h(te, null, ke(t.totalPages, (b) => (f(), ze(e(M), {
|
|
53
|
+
key: `dot-${b}`,
|
|
54
|
+
"aria-label": `Show page ${b}`,
|
|
53
55
|
color: t.color,
|
|
54
|
-
disabled:
|
|
56
|
+
disabled: L(b),
|
|
55
57
|
height: "0.75rem",
|
|
56
|
-
"on-click": () => t.gotoPage(
|
|
58
|
+
"on-click": () => t.gotoPage(b),
|
|
57
59
|
width: "0.75rem",
|
|
58
|
-
variant:
|
|
60
|
+
variant: L(b) ? e(A).Outline : t.variant,
|
|
59
61
|
wrap: ""
|
|
60
62
|
}, null, 8, ["aria-label", "color", "disabled", "on-click", "variant"]))), 128))
|
|
61
|
-
], 2)) :
|
|
62
|
-
t.paginationType === e(
|
|
63
|
+
], 2)) : P("", !0),
|
|
64
|
+
t.paginationType === e(E).Numbered ? (f(), h("div", {
|
|
63
65
|
key: 1,
|
|
64
|
-
class: r(e(
|
|
66
|
+
class: r(e(B))
|
|
65
67
|
}, [
|
|
66
|
-
|
|
67
|
-
class: r(e(
|
|
68
|
+
x("div", {
|
|
69
|
+
class: r(e(c))
|
|
68
70
|
}, [
|
|
69
|
-
|
|
71
|
+
y(e(M), {
|
|
70
72
|
"aria-label": "Show previous page of slides",
|
|
71
73
|
color: t.color,
|
|
72
|
-
disabled: e(
|
|
73
|
-
"icon-before": e(
|
|
74
|
-
"icon-size": e(
|
|
75
|
-
size: e(
|
|
74
|
+
disabled: e(C),
|
|
75
|
+
"icon-before": e(q).ChevronLeft,
|
|
76
|
+
"icon-size": e(j).Tiny,
|
|
77
|
+
size: e(D).Tiny,
|
|
76
78
|
"on-click": t.showPrevItems,
|
|
77
|
-
variant: e(
|
|
79
|
+
variant: e(C) ? e(A).Text : t.variant
|
|
78
80
|
}, null, 8, ["color", "disabled", "icon-before", "icon-size", "size", "on-click", "variant"])
|
|
79
81
|
], 2),
|
|
80
|
-
|
|
81
|
-
class: r(e(
|
|
82
|
+
x("div", {
|
|
83
|
+
class: r(e(F))
|
|
82
84
|
}, [
|
|
83
|
-
|
|
85
|
+
y(e(Te), {
|
|
84
86
|
type: e(Ne).Small
|
|
85
87
|
}, {
|
|
86
88
|
default: de(() => [
|
|
@@ -89,28 +91,28 @@ const ce = /* @__PURE__ */ xe({
|
|
|
89
91
|
_: 1
|
|
90
92
|
}, 8, ["type"])
|
|
91
93
|
], 2),
|
|
92
|
-
|
|
93
|
-
class: r(e(
|
|
94
|
+
x("div", {
|
|
95
|
+
class: r(e($))
|
|
94
96
|
}, [
|
|
95
|
-
|
|
97
|
+
y(e(M), {
|
|
96
98
|
"aria-label": "Show next page of slides",
|
|
97
99
|
color: t.color,
|
|
98
|
-
disabled: e(
|
|
99
|
-
"icon-before": e(
|
|
100
|
-
"icon-size": e(
|
|
101
|
-
size: e(
|
|
100
|
+
disabled: e(m),
|
|
101
|
+
"icon-before": e(q).ChevronRight,
|
|
102
|
+
"icon-size": e(j).Tiny,
|
|
103
|
+
size: e(D).Tiny,
|
|
102
104
|
"on-click": t.showNextItems,
|
|
103
|
-
variant: e(
|
|
105
|
+
variant: e(m) ? e(A).Text : t.variant
|
|
104
106
|
}, null, 8, ["color", "disabled", "icon-before", "icon-size", "size", "on-click", "variant"])
|
|
105
107
|
], 2),
|
|
106
|
-
t.showMore ? (
|
|
108
|
+
t.showMore ? (f(), h("div", {
|
|
107
109
|
key: 0,
|
|
108
|
-
class: r(e(
|
|
110
|
+
class: r(e(W))
|
|
109
111
|
}, [
|
|
110
|
-
|
|
112
|
+
y(e(M), {
|
|
111
113
|
"aria-label": t.moreAriaLabel,
|
|
112
114
|
color: t.color,
|
|
113
|
-
size: e(
|
|
115
|
+
size: e(D).Small,
|
|
114
116
|
"on-click": t.showMore,
|
|
115
117
|
variant: t.variant
|
|
116
118
|
}, {
|
|
@@ -119,282 +121,315 @@ const ce = /* @__PURE__ */ xe({
|
|
|
119
121
|
]),
|
|
120
122
|
_: 1
|
|
121
123
|
}, 8, ["aria-label", "color", "size", "on-click", "variant"])
|
|
122
|
-
], 2)) :
|
|
123
|
-
], 2)) :
|
|
124
|
-
t.paginationType === e(
|
|
124
|
+
], 2)) : P("", !0)
|
|
125
|
+
], 2)) : P("", !0),
|
|
126
|
+
t.paginationType === e(E).Arrows ? (f(), h("div", {
|
|
125
127
|
key: 2,
|
|
126
|
-
class: r(e(
|
|
128
|
+
class: r(e(V))
|
|
129
|
+
}, [
|
|
130
|
+
x("div", {
|
|
131
|
+
class: r(e(c))
|
|
132
|
+
}, [
|
|
133
|
+
y(e(M), {
|
|
134
|
+
"aria-label": "Show previous page of slides",
|
|
135
|
+
color: t.color,
|
|
136
|
+
disabled: e(C),
|
|
137
|
+
"icon-before": e(q).ChevronLeft,
|
|
138
|
+
"icon-size": e(j).Tiny,
|
|
139
|
+
size: e(D).Tiny,
|
|
140
|
+
"on-click": t.showPrevItems,
|
|
141
|
+
variant: e(C) ? e(A).Text : t.variant
|
|
142
|
+
}, null, 8, ["color", "disabled", "icon-before", "icon-size", "size", "on-click", "variant"])
|
|
143
|
+
], 2),
|
|
144
|
+
x("div", {
|
|
145
|
+
class: r(e($))
|
|
146
|
+
}, [
|
|
147
|
+
y(e(M), {
|
|
148
|
+
"aria-label": "Show next page of slides",
|
|
149
|
+
color: t.color,
|
|
150
|
+
disabled: e(m),
|
|
151
|
+
"icon-before": e(q).ChevronRight,
|
|
152
|
+
"icon-size": e(j).Tiny,
|
|
153
|
+
size: e(D).Tiny,
|
|
154
|
+
"on-click": t.showNextItems,
|
|
155
|
+
variant: e(m) ? e(A).Text : t.variant
|
|
156
|
+
}, null, 8, ["color", "disabled", "icon-before", "icon-size", "size", "on-click", "variant"])
|
|
157
|
+
], 2)
|
|
158
|
+
], 2)) : P("", !0),
|
|
159
|
+
t.paginationType === e(E).Inline ? (f(), h("div", {
|
|
160
|
+
key: 3,
|
|
161
|
+
class: r(e(p))
|
|
127
162
|
}, [
|
|
128
|
-
|
|
129
|
-
class: r(e(
|
|
163
|
+
x("div", {
|
|
164
|
+
class: r(e(c))
|
|
130
165
|
}, [
|
|
131
|
-
|
|
166
|
+
y(e(M), {
|
|
132
167
|
"aria-label": "Show previous page of slides",
|
|
133
|
-
"align-content": e(
|
|
168
|
+
"align-content": e(Q).Center,
|
|
134
169
|
color: t.color,
|
|
135
|
-
disabled: e(
|
|
136
|
-
"icon-before": e(
|
|
137
|
-
"icon-size": e(
|
|
138
|
-
size: e(
|
|
170
|
+
disabled: e(C),
|
|
171
|
+
"icon-before": e(q).ChevronLeft,
|
|
172
|
+
"icon-size": e(j).Small,
|
|
173
|
+
size: e(D).Tiny,
|
|
139
174
|
"on-click": t.showPrevItems,
|
|
140
|
-
variant: e(
|
|
175
|
+
variant: e(C) ? e(A).Text : t.variant,
|
|
141
176
|
width: "30px",
|
|
142
177
|
height: "30px",
|
|
143
178
|
wrap: ""
|
|
144
179
|
}, null, 8, ["align-content", "color", "disabled", "icon-before", "icon-size", "size", "on-click", "variant"])
|
|
145
180
|
], 2),
|
|
146
|
-
|
|
147
|
-
class: r(e(
|
|
181
|
+
x("div", {
|
|
182
|
+
class: r(e($))
|
|
148
183
|
}, [
|
|
149
|
-
|
|
184
|
+
y(e(M), {
|
|
150
185
|
"aria-label": "Show next page of slides",
|
|
151
|
-
"align-content": e(
|
|
186
|
+
"align-content": e(Q).Center,
|
|
152
187
|
color: t.color,
|
|
153
|
-
disabled: e(
|
|
154
|
-
"icon-before": e(
|
|
155
|
-
"icon-size": e(
|
|
156
|
-
size: e(
|
|
188
|
+
disabled: e(m),
|
|
189
|
+
"icon-before": e(q).ChevronRight,
|
|
190
|
+
"icon-size": e(j).Small,
|
|
191
|
+
size: e(D).Tiny,
|
|
157
192
|
"on-click": t.showNextItems,
|
|
158
|
-
variant: e(
|
|
193
|
+
variant: e(m) ? e(A).Text : t.variant,
|
|
159
194
|
width: "30px",
|
|
160
195
|
height: "30px",
|
|
161
196
|
wrap: ""
|
|
162
197
|
}, null, 8, ["align-content", "color", "disabled", "icon-before", "icon-size", "size", "on-click", "variant"])
|
|
163
198
|
], 2)
|
|
164
|
-
], 2)) :
|
|
199
|
+
], 2)) : P("", !0)
|
|
165
200
|
], 64));
|
|
166
201
|
}
|
|
167
|
-
}), De = ["data-testid"],
|
|
202
|
+
}), De = ["data-testid"], Re = ["hidden"], He = /* @__PURE__ */ xe({
|
|
168
203
|
name: "CLCarousel",
|
|
169
204
|
__name: "CLCarousel",
|
|
170
205
|
props: {
|
|
171
206
|
color: { default: Me.Neutral },
|
|
172
|
-
controlAlign: { default:
|
|
207
|
+
controlAlign: { default: Q.Right },
|
|
173
208
|
controlPosition: { default: Z.Before },
|
|
174
209
|
enabled: { type: Boolean, default: !0 },
|
|
175
210
|
infinite: { type: Boolean, default: !1 },
|
|
176
211
|
moreLabel: { default: "More" },
|
|
177
212
|
onShowMore: {},
|
|
178
|
-
paginationType: { default:
|
|
213
|
+
paginationType: { default: E.Numbered },
|
|
179
214
|
perPage: { default: 3 },
|
|
180
215
|
perPageByBreakpoints: {},
|
|
181
216
|
testId: { default: "clll-carousel" },
|
|
182
217
|
title: {},
|
|
183
|
-
variant: { default:
|
|
218
|
+
variant: { default: A.Soft },
|
|
184
219
|
width: { default: "100%" }
|
|
185
220
|
},
|
|
186
221
|
setup(t) {
|
|
187
222
|
Ie((o) => ({
|
|
188
|
-
|
|
189
|
-
|
|
223
|
+
v3ba68b74: o.width,
|
|
224
|
+
v1ab12a15: e(oe)
|
|
190
225
|
}));
|
|
191
|
-
const l = "clll-carousel", n = t,
|
|
226
|
+
const l = "clll-carousel", n = t, V = v(), B = v(!1), p = v(1), c = v(n.perPage), $ = v(0), F = Oe("title"), W = v(!1), L = v(!1), C = v(!1), m = v(0), k = v(!1), R = v(), b = v(!1), z = v(), J = v(), oe = v("100%"), T = v(0), N = v(0), fe = () => {
|
|
192
227
|
if (n.perPageByBreakpoints?.length) {
|
|
193
228
|
c.value = n.perPage;
|
|
194
229
|
for (const [o, a] of n.perPageByBreakpoints)
|
|
195
230
|
window.matchMedia(`(min-width: ${o}px)`).matches && (c.value = a);
|
|
196
231
|
}
|
|
197
232
|
}, ge = () => {
|
|
198
|
-
if (
|
|
199
|
-
const a = Math.ceil(
|
|
200
|
-
|
|
233
|
+
if (z?.value && N.value) {
|
|
234
|
+
const a = Math.ceil(N.value / c.value);
|
|
235
|
+
T.value = a, n.infinite ? (L.value = !0, C.value = !0) : a > 1 && (L.value = !0);
|
|
201
236
|
}
|
|
202
|
-
},
|
|
203
|
-
|
|
237
|
+
}, Se = () => {
|
|
238
|
+
W.value || Y(() => {
|
|
204
239
|
let o, a;
|
|
205
|
-
const i =
|
|
240
|
+
const i = z?.value;
|
|
206
241
|
if (i) {
|
|
207
242
|
const s = i?.querySelectorAll(
|
|
208
243
|
`div[class="${l}__slides"] > *`
|
|
209
244
|
) ?? [];
|
|
210
|
-
if (n.infinite && n.enabled &&
|
|
211
|
-
const u = i.offsetWidth,
|
|
212
|
-
let
|
|
213
|
-
|
|
214
|
-
const
|
|
215
|
-
if (
|
|
216
|
-
if (d <
|
|
217
|
-
|
|
218
|
-
const
|
|
219
|
-
i.scrollTo({ left:
|
|
220
|
-
|
|
245
|
+
if (n.infinite && n.enabled && m.value > 0) {
|
|
246
|
+
const u = i.offsetWidth, g = u / c.value, d = i.scrollLeft, S = $.value / 2, I = g * S, O = g * m.value;
|
|
247
|
+
let U = d - I;
|
|
248
|
+
U < 0 && (U = O + U);
|
|
249
|
+
const G = Math.floor(U / u) + 1;
|
|
250
|
+
if (G < 1 ? p.value = T.value : G > T.value ? p.value = 1 : p.value = G, !W.value) {
|
|
251
|
+
if (d < I) {
|
|
252
|
+
W.value = !0;
|
|
253
|
+
const K = d + O;
|
|
254
|
+
i.scrollTo({ left: K, behavior: "auto" }), setTimeout(() => {
|
|
255
|
+
W.value = !1;
|
|
221
256
|
}, 50);
|
|
222
|
-
} else if (d >=
|
|
223
|
-
|
|
224
|
-
const
|
|
225
|
-
i.scrollTo({ left:
|
|
226
|
-
|
|
257
|
+
} else if (d >= I + O) {
|
|
258
|
+
W.value = !0;
|
|
259
|
+
const K = d - O;
|
|
260
|
+
i.scrollTo({ left: K, behavior: "auto" }), setTimeout(() => {
|
|
261
|
+
W.value = !1;
|
|
227
262
|
}, 50);
|
|
228
263
|
}
|
|
229
264
|
}
|
|
230
265
|
} else {
|
|
231
|
-
const u =
|
|
232
|
-
for (let
|
|
233
|
-
const d = c.value * (
|
|
234
|
-
Ve({ parent: i, child:
|
|
266
|
+
const u = N.value - 1;
|
|
267
|
+
for (let g = 0; g < T.value; g++) {
|
|
268
|
+
const d = c.value * (g + 1) - 1, S = d < u ? s[d] : s[u], I = d < u ? d : u;
|
|
269
|
+
Ve({ parent: i, child: S, leftOffset: 40, rightOffset: 40, threshold: 0.5 }) && (I === u ? (a = u, o = g + 1) : (a = I, o = g + 1));
|
|
235
270
|
}
|
|
236
|
-
a !== void 0 && a > -1 && o && (
|
|
271
|
+
a !== void 0 && a > -1 && o && (p.value = o, o > 1 && (C.value = !0), o === 1 && (C.value = !1), o < T.value && (L.value = !0), o === T.value && (L.value = !1));
|
|
237
272
|
}
|
|
238
273
|
}
|
|
239
274
|
});
|
|
240
275
|
}, he = (o) => {
|
|
241
|
-
|
|
242
|
-
const a = Ae(
|
|
243
|
-
!a && (o.title || o.controlPosition === Z.Before) ?
|
|
276
|
+
V.value && Y(() => {
|
|
277
|
+
const a = Ae(V.value) && !F.value;
|
|
278
|
+
!a && (o.title || o.controlPosition === Z.Before) ? B.value = !1 : B.value = a;
|
|
244
279
|
});
|
|
245
280
|
}, le = (o) => {
|
|
246
|
-
const a =
|
|
281
|
+
const a = z?.value, i = a.offsetWidth;
|
|
247
282
|
if (a && i)
|
|
248
|
-
if (n.infinite && n.enabled &&
|
|
249
|
-
const s = i / c.value, u =
|
|
250
|
-
a.scrollTo({ left:
|
|
283
|
+
if (n.infinite && n.enabled && m.value > 0) {
|
|
284
|
+
const s = i / c.value, u = $.value / 2, g = s * u, d = o - 1, S = g + i * d;
|
|
285
|
+
a.scrollTo({ left: S, behavior: "smooth" });
|
|
251
286
|
} else {
|
|
252
287
|
const s = o - 1, u = i * s;
|
|
253
288
|
a.scrollTo({ left: u, behavior: "smooth" });
|
|
254
289
|
}
|
|
255
290
|
}, me = () => {
|
|
256
|
-
|
|
291
|
+
k.value = !0;
|
|
257
292
|
const o = c.value;
|
|
258
|
-
fe(),
|
|
259
|
-
const a =
|
|
293
|
+
fe(), we(), ge();
|
|
294
|
+
const a = z?.value, i = a.offsetWidth;
|
|
260
295
|
if (a)
|
|
261
|
-
if (n.infinite && n.enabled &&
|
|
262
|
-
const s = i / c.value, u = i / o,
|
|
296
|
+
if (n.infinite && n.enabled && m.value > 0) {
|
|
297
|
+
const s = i / c.value, u = i / o, g = $.value / 2, d = u * g, I = a.scrollLeft - d;
|
|
263
298
|
if (o !== c.value) {
|
|
264
|
-
const
|
|
299
|
+
const K = a.querySelectorAll(
|
|
265
300
|
`div[class="${l}__slides"] > *`
|
|
266
|
-
), Ce = Array.from(
|
|
267
|
-
a.innerHTML = "",
|
|
268
|
-
const
|
|
269
|
-
|
|
301
|
+
), Ce = Array.from(K), H = Ce.slice(g, Ce.length - g);
|
|
302
|
+
a.innerHTML = "", H.forEach((ye) => a.appendChild(ye));
|
|
303
|
+
const X = Math.min(c.value, H.length);
|
|
304
|
+
X > 0 && H.length > 0 && (H.slice(-X).forEach((se) => {
|
|
270
305
|
const re = se.cloneNode(!0);
|
|
271
|
-
a.insertBefore(re,
|
|
272
|
-
}),
|
|
306
|
+
a.insertBefore(re, H[0]);
|
|
307
|
+
}), H.slice(0, X).forEach((se) => {
|
|
273
308
|
const re = se.cloneNode(!0);
|
|
274
309
|
a.appendChild(re);
|
|
275
|
-
}),
|
|
310
|
+
}), $.value = X * 2);
|
|
276
311
|
}
|
|
277
|
-
const
|
|
278
|
-
|
|
279
|
-
a.scrollLeft =
|
|
312
|
+
const O = $.value / 2, G = s * O + I;
|
|
313
|
+
Y(() => {
|
|
314
|
+
a.scrollLeft = G;
|
|
280
315
|
});
|
|
281
316
|
} else {
|
|
282
|
-
|
|
283
|
-
const s =
|
|
317
|
+
p.value = 1;
|
|
318
|
+
const s = p.value - 1, u = i * s;
|
|
284
319
|
a.scrollLeft = u;
|
|
285
320
|
}
|
|
286
|
-
_ &&
|
|
287
|
-
|
|
321
|
+
_ && k.value && (window.clearTimeout(R.value), R.value = window.setTimeout(() => {
|
|
322
|
+
k.value && (k.value = !1), window.clearTimeout(R.value);
|
|
288
323
|
}, 300));
|
|
289
324
|
}, be = () => {
|
|
290
|
-
|
|
291
|
-
|
|
325
|
+
k.value || (b.value = !0, _ && b.value && (window.clearTimeout(J.value), J.value = window.setTimeout(() => {
|
|
326
|
+
b.value && ae(), window.clearTimeout(J.value);
|
|
292
327
|
}, 200)));
|
|
293
328
|
}, ae = () => {
|
|
294
|
-
|
|
295
|
-
},
|
|
296
|
-
const o =
|
|
329
|
+
k.value || (b.value = !1, Se());
|
|
330
|
+
}, we = () => {
|
|
331
|
+
const o = z?.value;
|
|
297
332
|
if (o) {
|
|
298
333
|
const a = o.offsetWidth;
|
|
299
|
-
|
|
334
|
+
N.value >= c.value ? oe.value = `${a / c.value}px` : oe.value = `${a / N.value}px`;
|
|
300
335
|
}
|
|
301
336
|
}, ne = () => {
|
|
302
|
-
const o =
|
|
337
|
+
const o = z?.value, a = o.offsetWidth;
|
|
303
338
|
if (o && a)
|
|
304
|
-
if (n.infinite && n.enabled &&
|
|
339
|
+
if (n.infinite && n.enabled && m.value > 0) {
|
|
305
340
|
const s = o.scrollLeft + a;
|
|
306
341
|
o.scrollTo({ left: s, behavior: "smooth" });
|
|
307
342
|
} else {
|
|
308
|
-
const i =
|
|
343
|
+
const i = p.value, s = a * i;
|
|
309
344
|
o.scrollTo({ left: s, behavior: "smooth" });
|
|
310
345
|
}
|
|
311
346
|
}, ie = () => {
|
|
312
|
-
const o =
|
|
347
|
+
const o = z?.value, a = o.offsetWidth;
|
|
313
348
|
if (o && a)
|
|
314
|
-
if (n.infinite && n.enabled &&
|
|
349
|
+
if (n.infinite && n.enabled && m.value > 0) {
|
|
315
350
|
const s = o.scrollLeft - a;
|
|
316
351
|
o.scrollTo({ left: s, behavior: "smooth" });
|
|
317
352
|
} else {
|
|
318
|
-
const i =
|
|
353
|
+
const i = p.value - 1, s = a * (i - 1);
|
|
319
354
|
o.scrollTo({ left: s, behavior: "smooth" });
|
|
320
355
|
}
|
|
321
356
|
};
|
|
322
357
|
Ee(() => {
|
|
323
358
|
if (_) {
|
|
324
359
|
window.addEventListener("resize", me);
|
|
325
|
-
const o =
|
|
360
|
+
const o = z?.value;
|
|
326
361
|
if (o) {
|
|
327
362
|
const a = o?.querySelectorAll(
|
|
328
363
|
`div[class="${l}__slides"] > *`
|
|
329
364
|
) ?? [];
|
|
330
|
-
if (
|
|
365
|
+
if (m.value = a.length, N.value = a.length, n.infinite && n.enabled && a.length > 0) {
|
|
331
366
|
const i = Array.from(a), s = Math.min(c.value, i.length);
|
|
332
367
|
i.slice(-s).forEach((d) => {
|
|
333
|
-
const
|
|
334
|
-
o.insertBefore(
|
|
368
|
+
const S = d.cloneNode(!0);
|
|
369
|
+
o.insertBefore(S, i[0]);
|
|
335
370
|
}), i.slice(0, s).forEach((d) => {
|
|
336
|
-
const
|
|
337
|
-
o.appendChild(
|
|
338
|
-
}),
|
|
339
|
-
const
|
|
340
|
-
o.scrollLeft =
|
|
371
|
+
const S = d.cloneNode(!0);
|
|
372
|
+
o.appendChild(S);
|
|
373
|
+
}), $.value = s * 2, Y(() => {
|
|
374
|
+
const I = o.offsetWidth / c.value * s;
|
|
375
|
+
o.scrollLeft = I;
|
|
341
376
|
});
|
|
342
377
|
}
|
|
343
378
|
o.addEventListener("scroll", be), o.addEventListener("scrollend", ae);
|
|
344
379
|
}
|
|
345
|
-
he(n), fe(),
|
|
380
|
+
he(n), fe(), we(), ge();
|
|
346
381
|
}
|
|
347
382
|
}), We(() => {
|
|
348
383
|
if (_) {
|
|
349
|
-
window.removeEventListener("resize", me),
|
|
350
|
-
const o =
|
|
384
|
+
window.removeEventListener("resize", me), R.value && window.clearTimeout(R.value), J.value && window.clearTimeout(J.value);
|
|
385
|
+
const o = z?.value;
|
|
351
386
|
o && (o.removeEventListener("scroll", be), o.removeEventListener("scrollend", ae));
|
|
352
387
|
}
|
|
353
388
|
});
|
|
354
|
-
const
|
|
389
|
+
const Pe = w(() => [
|
|
355
390
|
l,
|
|
356
391
|
`${l}--${n.controlAlign}`,
|
|
357
392
|
`${l}--${n.controlPosition}`,
|
|
358
393
|
`${l}--${n.paginationType}`,
|
|
359
394
|
n.enabled ? `${l}--enabled` : `${l}--disabled`,
|
|
360
|
-
|
|
395
|
+
B.value ? "" : `${l}--hastitle`,
|
|
361
396
|
n.onShowMore ? `${l}--has-more` : ""
|
|
362
|
-
]), $e =
|
|
397
|
+
]), $e = w(() => [
|
|
363
398
|
`${l}__slide-controls`,
|
|
364
|
-
|
|
365
|
-
]), Le =
|
|
399
|
+
F.value ? `${l}__slide-controls--hascustomtitle` : ""
|
|
400
|
+
]), Le = w(() => [
|
|
366
401
|
`${l}__slides`,
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
]),
|
|
402
|
+
k.value ? `${l}__slides--resizing` : "",
|
|
403
|
+
b.value ? `${l}__slides--scrolling` : "",
|
|
404
|
+
W.value ? `${l}__slides--jumping` : ""
|
|
405
|
+
]), pe = w(() => [
|
|
371
406
|
`${l}__navigation`,
|
|
372
407
|
`${l}__navigation--${n.controlAlign}`,
|
|
373
408
|
`${l}__navigation--${n.controlPosition}`
|
|
374
409
|
]);
|
|
375
410
|
return Be(n, (o) => {
|
|
376
411
|
he(o);
|
|
377
|
-
}), (o, a) => (
|
|
378
|
-
class: r(e(
|
|
412
|
+
}), (o, a) => (f(), h("div", {
|
|
413
|
+
class: r(e(Pe)),
|
|
379
414
|
"data-testid": t.testId
|
|
380
415
|
}, [
|
|
381
|
-
|
|
416
|
+
x("div", {
|
|
382
417
|
ref_key: "beforeControls",
|
|
383
|
-
ref:
|
|
418
|
+
ref: V,
|
|
384
419
|
class: r(e($e)),
|
|
385
|
-
hidden: e(
|
|
420
|
+
hidden: e(B)
|
|
386
421
|
}, [
|
|
387
|
-
|
|
422
|
+
x("div", {
|
|
388
423
|
class: r(`${l}__custom-title`)
|
|
389
424
|
}, [
|
|
390
425
|
ve(o.$slots, "title")
|
|
391
426
|
], 2),
|
|
392
|
-
t.title ? (
|
|
427
|
+
t.title ? (f(), h("div", {
|
|
393
428
|
key: 0,
|
|
394
429
|
class: r(`${l}__title`)
|
|
395
430
|
}, [
|
|
396
|
-
|
|
397
|
-
align: e(
|
|
431
|
+
y(e(Te), {
|
|
432
|
+
align: e(F) ? e(Q).Center : e(Q).Left,
|
|
398
433
|
label: "",
|
|
399
434
|
truncate: ""
|
|
400
435
|
}, {
|
|
@@ -403,107 +438,107 @@ const ce = /* @__PURE__ */ xe({
|
|
|
403
438
|
]),
|
|
404
439
|
_: 1
|
|
405
440
|
}, 8, ["align"])
|
|
406
|
-
], 2)) :
|
|
407
|
-
t.controlPosition === e(Z).Before && ![e(
|
|
408
|
-
e(
|
|
441
|
+
], 2)) : P("", !0),
|
|
442
|
+
t.controlPosition === e(Z).Before && ![e(E).Inline, e(E).Hidden].includes(t.paginationType) ? (f(), h(te, { key: 1 }, [
|
|
443
|
+
e(T) && e(N) > e(c) ? (f(), h("div", {
|
|
409
444
|
key: 0,
|
|
410
|
-
class: r(e(
|
|
445
|
+
class: r(e(pe))
|
|
411
446
|
}, [
|
|
412
|
-
|
|
447
|
+
y(ce, {
|
|
413
448
|
color: t.color,
|
|
414
|
-
"current-page": e(
|
|
415
|
-
enabled: !e(
|
|
449
|
+
"current-page": e(p),
|
|
450
|
+
enabled: !e(b),
|
|
416
451
|
"goto-page": le,
|
|
417
452
|
"more-label": t.moreLabel,
|
|
418
|
-
"next-page-enabled": e(
|
|
453
|
+
"next-page-enabled": e(L),
|
|
419
454
|
"pagination-type": t.paginationType,
|
|
420
|
-
"prev-page-enabled": e(
|
|
455
|
+
"prev-page-enabled": e(C),
|
|
421
456
|
prefix: l,
|
|
422
457
|
"show-more": t.onShowMore,
|
|
423
458
|
"show-next-items": ne,
|
|
424
459
|
"show-prev-items": ie,
|
|
425
|
-
"total-pages": e(
|
|
460
|
+
"total-pages": e(T),
|
|
426
461
|
variant: t.variant
|
|
427
462
|
}, null, 8, ["color", "current-page", "enabled", "more-label", "next-page-enabled", "pagination-type", "prev-page-enabled", "show-more", "total-pages", "variant"])
|
|
428
|
-
], 2)) :
|
|
429
|
-
], 64)) :
|
|
430
|
-
], 10,
|
|
431
|
-
|
|
463
|
+
], 2)) : P("", !0)
|
|
464
|
+
], 64)) : P("", !0)
|
|
465
|
+
], 10, Re),
|
|
466
|
+
x("div", {
|
|
432
467
|
ref_key: "scrollContainer",
|
|
433
|
-
ref:
|
|
468
|
+
ref: z,
|
|
434
469
|
class: r(e(Le)),
|
|
435
470
|
tabindex: "0"
|
|
436
471
|
}, [
|
|
437
472
|
ve(o.$slots, "default")
|
|
438
473
|
], 2),
|
|
439
|
-
t.controlPosition === e(Z).After && ![e(
|
|
440
|
-
e(
|
|
474
|
+
t.controlPosition === e(Z).After && ![e(E).Inline, e(E).Hidden].includes(t.paginationType) ? (f(), h(te, { key: 0 }, [
|
|
475
|
+
e(T) && e(N) > e(c) ? (f(), h("div", {
|
|
441
476
|
key: 0,
|
|
442
477
|
class: r(`${l}__slide-controls`)
|
|
443
478
|
}, [
|
|
444
|
-
|
|
445
|
-
class: r(e(
|
|
479
|
+
x("div", {
|
|
480
|
+
class: r(e(pe))
|
|
446
481
|
}, [
|
|
447
|
-
|
|
482
|
+
y(ce, {
|
|
448
483
|
color: t.color,
|
|
449
|
-
"current-page": e(
|
|
450
|
-
enabled: !e(
|
|
484
|
+
"current-page": e(p),
|
|
485
|
+
enabled: !e(b),
|
|
451
486
|
"goto-page": le,
|
|
452
487
|
"more-label": t.moreLabel,
|
|
453
|
-
"next-page-enabled": e(
|
|
488
|
+
"next-page-enabled": e(L),
|
|
454
489
|
"pagination-type": t.paginationType,
|
|
455
490
|
prefix: l,
|
|
456
|
-
"prev-page-enabled": e(
|
|
491
|
+
"prev-page-enabled": e(C),
|
|
457
492
|
"show-more": t.onShowMore,
|
|
458
493
|
"show-next-items": ne,
|
|
459
494
|
"show-prev-items": ie,
|
|
460
|
-
"total-pages": e(
|
|
495
|
+
"total-pages": e(T),
|
|
461
496
|
variant: t.variant
|
|
462
497
|
}, null, 8, ["color", "current-page", "enabled", "more-label", "next-page-enabled", "pagination-type", "prev-page-enabled", "show-more", "total-pages", "variant"])
|
|
463
498
|
], 2)
|
|
464
|
-
], 2)) :
|
|
465
|
-
], 64)) :
|
|
466
|
-
t.paginationType === e(
|
|
499
|
+
], 2)) : P("", !0)
|
|
500
|
+
], 64)) : P("", !0),
|
|
501
|
+
t.paginationType === e(E).Inline ? (f(), h("div", {
|
|
467
502
|
key: 1,
|
|
468
503
|
class: r(`${l}__slide-controls ${l}__slide-controls--inline`)
|
|
469
504
|
}, [
|
|
470
|
-
|
|
505
|
+
x("div", {
|
|
471
506
|
class: r(`${l}__navigation`)
|
|
472
507
|
}, [
|
|
473
|
-
|
|
508
|
+
y(ce, {
|
|
474
509
|
color: t.color,
|
|
475
|
-
"current-page": e(
|
|
476
|
-
enabled: !e(
|
|
510
|
+
"current-page": e(p),
|
|
511
|
+
enabled: !e(b),
|
|
477
512
|
"goto-page": le,
|
|
478
513
|
"more-label": t.moreLabel,
|
|
479
|
-
"next-page-enabled": e(
|
|
514
|
+
"next-page-enabled": e(L),
|
|
480
515
|
"pagination-type": t.paginationType,
|
|
481
516
|
prefix: l,
|
|
482
|
-
"prev-page-enabled": e(
|
|
517
|
+
"prev-page-enabled": e(C),
|
|
483
518
|
"show-more": t.onShowMore,
|
|
484
519
|
"show-next-items": ne,
|
|
485
520
|
"show-prev-items": ie,
|
|
486
|
-
"total-pages": e(
|
|
521
|
+
"total-pages": e(T),
|
|
487
522
|
variant: t.variant
|
|
488
523
|
}, null, 8, ["color", "current-page", "enabled", "more-label", "next-page-enabled", "pagination-type", "prev-page-enabled", "show-more", "total-pages", "variant"])
|
|
489
524
|
], 2)
|
|
490
|
-
], 2)) :
|
|
525
|
+
], 2)) : P("", !0)
|
|
491
526
|
], 10, De));
|
|
492
527
|
}
|
|
493
528
|
}), je = (t, l) => {
|
|
494
529
|
const n = t.__vccOpts || t;
|
|
495
|
-
for (const [
|
|
496
|
-
n[
|
|
530
|
+
for (const [V, B] of l)
|
|
531
|
+
n[V] = B;
|
|
497
532
|
return n;
|
|
498
533
|
}, qe = {}, Fe = {
|
|
499
534
|
class: /* @__PURE__ */ r(["clll-carousel__slide"])
|
|
500
535
|
};
|
|
501
536
|
function Je(t, l) {
|
|
502
|
-
return
|
|
537
|
+
return f(), h("div", Fe, [
|
|
503
538
|
ve(t.$slots, "default")
|
|
504
539
|
]);
|
|
505
540
|
}
|
|
506
|
-
const Ue = /* @__PURE__ */ je(qe, [["render", Je]]), Ge =
|
|
541
|
+
const Ue = /* @__PURE__ */ je(qe, [["render", Je]]), Ge = He;
|
|
507
542
|
Ge.Slide = Ue;
|
|
508
543
|
export {
|
|
509
544
|
Ge as CLCarousel,
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var t = /* @__PURE__ */ ((r) => (r.Left = "left", r.Center = "center", r.Right = "right", r))(t || {}), l = /* @__PURE__ */ ((r) => (r.Full = "rounded-full", r.Large = "rounded-lg", r.Medium = "rounded-md", r.None = "rounded-none", r.Small = "rounded-sm", r.XL = "rounded-xl", r.XXL = "rounded-2xl", r.XXXL = "rounded-3xl", r.XS = "rounded-xs", r))(l || {}), e = /* @__PURE__ */ ((r) => (r.Button = "button", r.Submit = "submit", r))(e || {}), a = /* @__PURE__ */ ((r) => (r.Tiny = "tiny", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r))(a || {}), b = /* @__PURE__ */ ((r) => (r.Primary = "primary", r.Secondary = "secondary", r.Danger = "danger", r.Info = "info", r.Neutral = "neutral", r.Warning = "warning", r.Success = "success", r))(b || {}), i = /* @__PURE__ */ ((r) => (r.Contrast = "contrast", r.Ghost = "ghost", r.Outline = "outline", r.Soft = "soft", r.Solid = "solid", r.Text = "text", r))(i || {}), d = /* @__PURE__ */ ((r) => (r.Block = "block", r.Inline = "inline", r))(d || {}), u = /* @__PURE__ */ ((r) => (r.H1 = "h1", r.H2 = "h2", r.H3 = "h3", r.H4 = "h4", r.H5 = "h5", r.H6 = "h6", r))(u || {}), g = /* @__PURE__ */ ((r) => (r.Title = "title", r.PageTitle = "pagetitle", r.Section = "section", r.SubSection = "subsection", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r))(g || {}), o = /* @__PURE__ */ ((r) => (r.Tiny = "tiny", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r.XXL = "xxlarge", r.XXXL = "xxxlarge", r.XXXXL = "xxxxlarge", r))(o || {}), h = /* @__PURE__ */ ((r) => (r.Activity = "tabler:activity", r.AddressBook = "tabler:address-book", r.Adjustments = "tabler:adjustments", r.AdjustmentsHorizontal = "tabler:adjustments-horizontal", r.Ai = "tabler:ai", r.Alarm = "tabler:alarm", r.AlarmPlus = "tabler:alarm-plus", r.AlertSquare = "tabler:alert-square", r.AlertTriangle = "tabler:alert-triangle", r.AlignBoxLeftTop = "tabler:align-box-left-top", r.AlignBoxLeftMiddle = "tabler:align-box-left-middle", r.AlignBoxLeftBottom = "tabler:align-box-left-bottom", r.AlignBoxCenterTop = "tabler:align-box-center-top", r.AlignBoxCenterMiddle = "tabler:align-box-center-middle", r.AlignBoxCenterBottom = "tabler:align-box-center-bottom", r.AlignBoxRightTop = "tabler:align-box-right-top", r.AlignBoxRightMiddle = "tabler:align-box-right-middle", r.AlignBoxRightBottom = "tabler:align-box-right-bottom", r.AlignCenter = "tabler:align-center", r.AlignLeft = "tabler:align-left", r.AlignRight = "tabler:align-right", r.AlignJustified = "tabler:align-justified", r.Apps = "tabler:apps", r.Archive = "tabler:archive", r.ArrowBackUp = "tabler:arrow-back-up", r.ArrowForwardUp = "tabler:arrow-forward-up", r.ArrowBigUpLine = "tabler:arrow-big-up-line", r.ArrowBigDownLine = "tabler:arrow-big-down-line", r.ArrowBack = "tabler:arrow-back", r.ArrowDown = "tabler:arrow-down", r.ArrowForward = "tabler:arrow-forward", r.ArrowLeft = "tabler:arrow-left", r.ArrowRight = "tabler:arrow-right", r.ArrowUp = "tabler:arrow-up", r.ArrowNarrowDown = "tabler:arrow-narrow-down", r.ArrowNarrowLeft = "tabler:arrow-narrow-left", r.ArrowNarrowRight = "tabler:arrow-narrow-right", r.ArrowNarrowUp = "tabler:arrow-narrow-up", r.ArrowsDiagonal = "tabler:arrows-diagonal", r.ArrowsDiagonal2 = "tabler:arrows-diagonal-2", r.ArrowsDiagonalMinimize = "tabler:arrows-diagonal-minimize", r.ArrowsDiagonalMinimize2 = "tabler:arrows-diagonal-minimize-2", r.ArrowsMaximize = "tabler:arrows-maximize", r.ArrowsMinimize = "tabler:arrows-minimize", r.ArrowsMove = "tabler:arrows-move", r.ArrowsSort = "tabler:arrows-sort", r.AtSign = "tabler:at", r.Auth2fa = "tabler:auth-2fa", r.Backspace = "tabler:backspace", r.Bed = "tabler:bed", r.Bell = "tabler:bell", r.BellPlus = "tabler:bell-plus", r.Beach = "tabler:beach", r.Binoculars = "tabler:binoculars", r.Bike = "tabler:bike", r.Book = "tabler:book", r.Bookmark = "tabler:bookmark", r.BorderCorners = "tabler:border-corners", r.BoxMargin = "tabler:box-margin", r.Brush = "tabler:brush", r.BrandApple = "tabler:brand-apple", r.BrandAws = "tabler:brand-aws", r.BrandCloudflare = "tabler:brand-cloudflare", r.BrandFacebook = "tabler:brand-facebook-filled", r.BrandGitlab = "tabler:brand-gitlab", r.BrandGithub = "tabler:brand-github", r.BrandGoogle = "tabler:brand-google-filled", r.BrandInstagram = "tabler:brand-instagram", r.BrandLinkedIn = "tabler:brand-linkedin", r.BrandMastercard = "tabler:brand-mastercard", r.BrandNpm = "tabler:brand-npm", r.BrandNuxt = "tabler:brand-nuxt", r.BrandReact = "tabler:brand-react", r.BrandReactNative = "tabler:brand-react-native", r.BrandSpotify = "tabler:brand-spotify", r.BrandTidal = "tabler:brand-tidal", r.BrandTikTok = "tabler:brand-tiktok", r.BrandTwitter = "tabler:brand-twitter-filled", r.BrandVercel = "tabler:brand-vercel", r.BrandVisa = "tabler:brand-visa", r.BrandVue = "tabler:brand-vue", r.BrandWhatsApp = "tabler:brand-whatsapp", r.BrandX = "tabler:brand-x", r.BrandYouTube = "tabler:brand-youtube-filled", r.BrandWindows = "tabler:brand-windows", r.Briefcase = "tabler:briefcase", r.Briefcase2 = "tabler:briefcase-2", r.Broadcast = "tabler:broadcast", r.Browser = "tabler:browser", r.Building = "tabler:building", r.BuildingAirport = "tabler:building-airport", r.BuildingBank = "tabler:building-bank", r.BuildingCastle = "tabler:building-castle", r.BuildingCarousel = "tabler:building-carousel", r.BuildingChurch = "tabler:building-church", r.BuildingCommunity = "tabler:building-community", r.BuildingCottage = "tabler:building-cottage", r.BuildingStadium = "tabler:building-stadium", r.BuildingStore = "tabler:building-store", r.BuildingSkyscraper = "tabler:building-skyscraper", r.Bug = "tabler:bug", r.Bulb = "tabler:bulb", r.Bus = "tabler:bus", r.BusinessPlan = "tabler:businessplan", r.Calendar = "tabler:calendar", r.CalendarPlus = "tabler:calendar-plus", r.Calculator = "tabler:calculator", r.Camera = "tabler:camera", r.Camper = "tabler:camper", r.Car = "tabler:car", r.CaretDown = "tabler:caret-down", r.CaretLeft = "tabler:caret-left", r.CaretRight = "tabler:caret-right", r.CaretUp = "tabler:caret-up", r.CarouselHorizontal = "tabler:carousel-horizontal", r.ChartBar = "tabler:chart-bar", r.ChartPie = "tabler:chart-pie", r.Check = "tabler:check", r.ChefHat = "tabler:chef-hat", r.ChevronLeft = "tabler:chevron-left", r.ChevronsLeft = "tabler:chevrons-left", r.ChevronRight = "tabler:chevron-right", r.ChevronsRight = "tabler:chevrons-right", r.ChevronUp = "tabler:chevron-up", r.ChevronsUp = "tabler:chevrons-up", r.ChevronDown = "tabler:chevron-down", r.ChevronsDown = "tabler:chevrons-down", r.Circle = "tabler:circle", r.CircleCheck = "tabler:circle-check", r.CircleDot = "tabler:circle-dot", r.CircleMinus = "tabler:circle-minus", r.CircleNumber0 = "tabler:circle-number-0", r.CircleNumber1 = "tabler:circle-number-1", r.CircleNumber2 = "tabler:circle-number-2", r.CircleNumber3 = "tabler:circle-number-3", r.CircleNumber4 = "tabler:circle-number-4", r.CircleNumber5 = "tabler:circle-number-5", r.CircleNumber6 = "tabler:circle-number-6", r.CircleNumber7 = "tabler:circle-number-7", r.CircleNumber8 = "tabler:circle-number-8", r.CircleNumber9 = "tabler:circle-number-9", r.CirclePlus = "tabler:circle-plus", r.Click = "tabler:click", r.ClipboardCopy = "tabler:clipboard-copy", r.ClipboardText = "tabler:clipboard-text", r.Clock = "tabler:clock", r.Clock2 = "tabler:clock-2", r.Cloud = "tabler:cloud", r.CloudCheck = "tabler:cloud-check", r.CloudComputing = "tabler:cloud-computing", r.CloudDataConnection = "tabler:cloud-data-connection", r.CloudDown = "tabler:cloud-down", r.CloudDownload = "tabler:cloud-download", r.CloudUp = "tabler:cloud-up", r.CloudUpload = "tabler:cloud-upload", r.CloudX = "tabler:cloud-x", r.Code = "tabler:code", r.Coin = "tabler:coin", r.Coins = "tabler:coins", r.Columns1 = "tabler:columns-1", r.Columns2 = "tabler:columns-2", r.Columns3 = "tabler:columns-3", r.Command = "tabler:command", r.Components = "tabler:components", r.Confetti = "tabler:confetti", r.Contrast = "tabler:contrast", r.Copy = "tabler:copy", r.CreditCard = "tabler:credit-card", r.Dashboard = "tabler:dashboard", r.Database = "tabler:database", r.DatabaseExport = "tabler:database-export", r.Delete = "tabler:x", r.Devices = "tabler:devices", r.DevicesDollar = "tabler:devices-dollar", r.DeviceDesktop = "tabler:device-desktop", r.DeviceGamepad = "tabler:device-gamepad", r.DeviceMobile = "tabler:device-mobile", r.DeviceTablet = "tabler:device-tablet", r.DeviceTv = "tabler:device-tv", r.Dialpad = "tabler:dialpad", r.DirectionSign = "tabler:direction-sign", r.Download = "tabler:download", r.DragDrop = "tabler:drag-drop", r.EditItem = "tabler:edit-circle", r.EditPencil = "tabler:edit", r.Email = "tabler:mail", r.Equal = "tabler:equal", r.ExternalLink = "tabler:external-link", r.Eye = "tabler:eye", r.EyeOff = "tabler:eye-off", r.Error404 = "tabler:error-404", r.FaceId = "tabler:face-id", r.FileText = "tabler:file-text", r.FileTypeCss = "tabler:file-type-css", r.FileTypeCsv = "tabler:file-type-csv", r.FileTypeHtml = "tabler:file-type-html", r.FileTypePng = "tabler:file-type-png", r.FileTypeJpg = "tabler:file-type-jpg", r.FileTypeJs = "tabler:file-type-js", r.FileTypeJsx = "tabler:file-type-jsx", r.FileTypeSvg = "tabler:file-type-svg", r.FileTypeTs = "tabler:file-type-ts", r.FileTypeVue = "tabler:file-type-vue", r.Filter = "tabler:filter", r.Flag = "tabler:flag", r.Flag2 = "tabler:flag-2", r.Flag3 = "tabler:flag-3", r.Flame = "tabler:flame", r.Folder = "tabler:folder", r.Forms = "tabler:forms", r.Frame = "tabler:frame", r.Gps = "tabler:gps", r.Gift = "tabler:gift", r.Hanger = "tabler:hanger", r.HandStop = "tabler:hand-stop", r.Heading = "tabler:heading", r.Heart = "tabler:heart", r.HeartHandShake = "tabler:heart-handshake", r.Help = "tabler:help", r.HelpCircle = "tabler:help-circle", r.HelpSmall = "tabler:help-small", r.Home = "tabler:home", r.Html = "tabler:html", r.Image = "tabler:photo", r.Inbox = "tabler:inbox", r.InfoCircle = "tabler:info-circle", r.InfoSmall = "tabler:info-small", r.Grill = "tabler:grill", r.GripHorizontal = "tabler:grip-horizontal", r.GripVertical = "tabler:grip-vertical", r.Key = "tabler:key", r.Keyboard = "tabler:keyboard", r.Label = "tabler:label", r.Layers = "tabler:layers-subtract", r.Layout = "tabler:layout", r.LayoutBottomBar = "tabler:layout-bottombar", r.LayoutDashboard = "tabler:layout-dashboard", r.LayoutGrid = "tabler:layout-grid", r.LayoutList = "tabler:layout-list", r.LayoutNavbar = "tabler:layout-navbar", r.LayoutRows = "tabler:layout-rows", r.LayoutSidebar = "tabler:layout-sidebar", r.LayoutSidebarRight = "tabler:layout-sidebar-right", r.Link = "tabler:link", r.List = "tabler:list", r.ListNumbers = "tabler:list-numbers", r.ListTree = "tabler:list-tree", r.LoadBalancer = "tabler:load-balancer", r.Lock = "tabler:lock", r.Location = "tabler:location", r.LogIn = "tabler:login", r.LogOut = "tabler:logout", r.Logs = "tabler:logs", r.Luggage = "tabler:luggage", r.Map = "tabler:map", r.MapPin = "tabler:map-pin", r.MapPinPlus = "tabler:map-pin-plus", r.MapSearch = "tabler:map-search", r.Marquee = "tabler:marquee", r.MarqueeOff = "tabler:marquee-off", r.Mail = "tabler:mail", r.MailPlus = "tabler:mail-plus", r.Maximize = "tabler:maximize", r.Menu = "tabler:menu-2", r.Message = "tabler:message", r.Messages = "tabler:messages", r.MessageDots = "tabler:message-dots", r.MessageOff = "tabler:message-off", r.MessagePlus = "tabler:message-plus", r.MoneyBag = "tabler:moneybag", r.MoodDollar = "tabler:mood-dollar", r.MoodHeart = "tabler:mood-heart", r.MoodKid = "tabler:mood-kid", r.MoodNerd = "tabler:mood-nerd", r.MoodNeutral = "tabler:mood-neutral", r.MoodPuzzled = "tabler:mood-puzzled", r.MoodSadSquint = "tabler:mood-sad-squint", r.MoodSmile = "tabler:mood-smile", r.MoodTongue = "tabler:mood-tongue", r.MoodTongueWink = "tabler:mood-tongue-wink", r.MoodTongueWink2 = "tabler:mood-tongue-wink-2", r.MoodWink2 = "tabler:mood-wink-2", r.MoodWrrr = "tabler:mood-wrrr", r.Moon = "tabler:moon", r.Mouse = "tabler:mouse", r.MoreHorizontal = "tabler:dots", r.MoreVertical = "tabler:dots-vertical", r.Movie = "tabler:movie", r.Music = "tabler:music", r.Notes = "tabler:notes", r.NewSection = "tabler:new-section", r.Palette = "tabler:palette", r.Paint = "tabler:paint", r.Pencil = "tabler:pencil", r.Percentage = "tabler:percentage", r.Photo = "tabler:photo", r.PhotoPlus = "tabler:photo-plus", r.PhotoScan = "tabler:photo-scan", r.Phone = "tabler:phone", r.PigMoney = "tabler:pig-money", r.Pin = "tabler:pin", r.Pinned = "tabler:pinned", r.Plane = "tabler:plane", r.PlusCircle = "tabler:circle-plus", r.Plus = "tabler:plus", r.Pointer = "tabler:pointer", r.Printer = "tabler:printer", r.Progress = "tabler:progress", r.ProgressHelp = "tabler:progress-help", r.QuestionMark = "tabler:question-mark", r.Rectangle = "tabler:rectangle", r.Receipt = "tabler:receipt", r.Receipt2 = "tabler:receipt-2", r.Refresh = "tabler:refresh", r.Restore = "tabler:restore", r.Robot = "tabler:robot", r.RobotFace = "tabler:robot-face", r.Rocket = "tabler:rocket", r.RowInsertTop = "tabler:row-insert-top", r.RowInsertBottom = "tabler:row-insert-bottom", r.RowRemove = "tabler:row-remove", r.Rss = "tabler:rss", r.Run = "tabler:run", r.Sailboat = "tabler:sailboat", r.Scale = "tabler:scale", r.School = "tabler:school", r.Scissors = "tabler:scissors", r.Scoreboard = "tabler:scoreboard", r.Seo = "tabler:seo", r.ShoppingCart = "tabler:shopping-cart", r.ShieldCheck = "tabler:shield-check", r.Search = "tabler:search", r.Section = "tabler:section", r.Select = "tabler:select", r.Server = "tabler:server", r.Server2 = "tabler:server-2", r.Settings = "tabler:settings", r.Share = "tabler:share", r.Share2 = "tabler:share-2", r.Share3 = "tabler:share-3", r.Shirt = "tabler:shirt", r.Sliders = "tabler:adjustments", r.SpeedBoat = "tabler:speedboat", r.Square = "tabler:square", r.SquareCheck = "tabler:square-check", r.SquarePlus = "tabler:square-plus", r.Stack = "tabler:stack", r.Stack2 = "tabler:stack-2", r.Stack3 = "tabler:stack-3", r.Stethoscope = "tabler:stethoscope", r.Sun = "tabler:sun", r.Table = "tabler:table", r.Template = "tabler:template", r.Terminal = "tabler:terminal", r.Terminal2 = "tabler:terminal-2", r.TextSize = "tabler:text-size", r.Ticket = "tabler:ticket", r.Timeline = "tabler:timeline", r.TimelineEvent = "tabler:timeline-event", r.TipJar = "tabler:tip-jar", r.ToolsKitchen = "tabler:tools-kitchen", r.ToolsKitchen2 = "tabler:tools-kitchen-2", r.ToolsKitchen3 = "tabler:tools-kitchen-3", r.Train = "tabler:train", r.Trash = "tabler:trash", r.TrashCan = "tabler:trash", r.TrashOff = "tabler:trash-off", r.TrashX = "tabler:trash-x", r.Trekking = "tabler:trekking", r.Typography = "tabler:typography", r.Upload = "tabler:upload", r.Urgent = "tabler:urgent", r.User = "tabler:user", r.UserCancel = "tabler:user-cancel", r.UserCheck = "tabler:user-check", r.UserPlus = "tabler:user-plus", r.UserQuestion = "tabler:user-question", r.UserX = "tabler:user-x", r.Users = "tabler:users", r.UserCircle = "tabler:user-circle", r.UsersGroup = "tabler:users-group", r.UsersMinus = "tabler:users-minus", r.UsersPlus = "tabler:users-plus", r.UserSquareRounded = "tabler:user-square-rounded", r.Video = "tabler:video", r.Walk = "tabler:walk", r.Wallet = "tabler:wallet", r.Wifi = "tabler:wifi", r.WindowMaximize = "tabler:window-maximize", r.WindowMinimize = "tabler:window-minimize", r.WorldWww = "tabler:world-www", r))(h || {}), p = /* @__PURE__ */ ((r) => (r.Color = "color", r.Date = "date", r.DateTimeLocal = "datetime-local", r.Decimal = "decimal", r.Email = "email", r.Hidden = "hidden", r.File = "file", r.None = "none", r.Number = "number", r.Password = "password", r.Search = "search", r.Tel = "tel", r.Text = "text", r.Time = "time", r.Url = "url", r))(p || {}), w = /* @__PURE__ */ ((r) => (r.Eager = "eager", r.Lazy = "lazy", r))(w || {}), f = /* @__PURE__ */ ((r) => (r.Blank = "_blank", r.Self = "_self", r))(f || {}), k = /* @__PURE__ */ ((r) => (r.Danger = "danger", r.Default = "default", r.Success = "success", r.Warning = "warning", r))(k || {}), v = /* @__PURE__ */ ((r) => (r.Dark = "dark", r.Light = "light", r))(v || {}), B = /* @__PURE__ */ ((r) => (r.After = "after", r.Before = "before", r))(B || {}), x = /* @__PURE__ */ ((r) => (r.Horizontal = "horizontal", r.Vertical = "vertical", r))(x || {}), S = /* @__PURE__ */ ((r) => (r.Auto = "auto", r.Hidden = "hidden", r.Scroll = "scroll", r.Visible = "visible", r))(S || {}), M = /* @__PURE__ */ ((r) => (r.Dots = "dots", r.Hidden = "hidden", r.Inline = "inline", r.Numbered = "numbered", r))(M || {}), A = /* @__PURE__ */ ((r) => (r.Bottom = "bottom", r.BottomEnd = "bottom-end", r.BottomStart = "bottom-start", r.Left = "left", r.LeftEnd = "left-end", r.LeftStart = "left-start", r.Right = "right", r.RightEnd = "right-end", r.RightStart = "right-start", r.Top = "top", r.TopEnd = "top-end", r.TopStart = "top-start", r))(A || {}), n = /* @__PURE__ */ ((r) => (r.Absolute = "absolute", r.Relative = "relative", r))(n || {}), y = /* @__PURE__ */ ((r) => (r.Tiny = "tiny", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r))(y || {}), D = /* @__PURE__ */ ((r) => (r.Condensed = "condensed", r.Default = "default", r.Plain = "plain", r))(D || {}), R = /* @__PURE__ */ ((r) => (r.Body = "body", r.Summary = "summary", r.Tiny = "tiny", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r))(R || {}), F = /* @__PURE__ */ ((r) => (r.TopLeft = "top-left", r.TopCenter = "top-center", r.TopRight = "top-right", r.BottomLeft = "bottom-left", r.BottomCenter = "bottom-center", r.BottomRight = "bottom-right", r))(F || {});
|
|
1
|
+
var t = /* @__PURE__ */ ((r) => (r.Left = "left", r.Center = "center", r.Right = "right", r))(t || {}), l = /* @__PURE__ */ ((r) => (r.Full = "rounded-full", r.Large = "rounded-lg", r.Medium = "rounded-md", r.None = "rounded-none", r.Small = "rounded-sm", r.XL = "rounded-xl", r.XXL = "rounded-2xl", r.XXXL = "rounded-3xl", r.XS = "rounded-xs", r))(l || {}), e = /* @__PURE__ */ ((r) => (r.Button = "button", r.Submit = "submit", r))(e || {}), a = /* @__PURE__ */ ((r) => (r.Tiny = "tiny", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r))(a || {}), b = /* @__PURE__ */ ((r) => (r.Primary = "primary", r.Secondary = "secondary", r.Danger = "danger", r.Info = "info", r.Neutral = "neutral", r.Warning = "warning", r.Success = "success", r))(b || {}), i = /* @__PURE__ */ ((r) => (r.Contrast = "contrast", r.Ghost = "ghost", r.Outline = "outline", r.Soft = "soft", r.Solid = "solid", r.Text = "text", r))(i || {}), d = /* @__PURE__ */ ((r) => (r.Block = "block", r.Inline = "inline", r))(d || {}), u = /* @__PURE__ */ ((r) => (r.H1 = "h1", r.H2 = "h2", r.H3 = "h3", r.H4 = "h4", r.H5 = "h5", r.H6 = "h6", r))(u || {}), g = /* @__PURE__ */ ((r) => (r.Title = "title", r.PageTitle = "pagetitle", r.Section = "section", r.SubSection = "subsection", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r))(g || {}), o = /* @__PURE__ */ ((r) => (r.Tiny = "tiny", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r.XXL = "xxlarge", r.XXXL = "xxxlarge", r.XXXXL = "xxxxlarge", r))(o || {}), h = /* @__PURE__ */ ((r) => (r.Activity = "tabler:activity", r.AddressBook = "tabler:address-book", r.Adjustments = "tabler:adjustments", r.AdjustmentsHorizontal = "tabler:adjustments-horizontal", r.Ai = "tabler:ai", r.Alarm = "tabler:alarm", r.AlarmPlus = "tabler:alarm-plus", r.AlertSquare = "tabler:alert-square", r.AlertTriangle = "tabler:alert-triangle", r.AlignBoxLeftTop = "tabler:align-box-left-top", r.AlignBoxLeftMiddle = "tabler:align-box-left-middle", r.AlignBoxLeftBottom = "tabler:align-box-left-bottom", r.AlignBoxCenterTop = "tabler:align-box-center-top", r.AlignBoxCenterMiddle = "tabler:align-box-center-middle", r.AlignBoxCenterBottom = "tabler:align-box-center-bottom", r.AlignBoxRightTop = "tabler:align-box-right-top", r.AlignBoxRightMiddle = "tabler:align-box-right-middle", r.AlignBoxRightBottom = "tabler:align-box-right-bottom", r.AlignCenter = "tabler:align-center", r.AlignLeft = "tabler:align-left", r.AlignRight = "tabler:align-right", r.AlignJustified = "tabler:align-justified", r.Apps = "tabler:apps", r.Archive = "tabler:archive", r.ArrowBackUp = "tabler:arrow-back-up", r.ArrowForwardUp = "tabler:arrow-forward-up", r.ArrowBigUpLine = "tabler:arrow-big-up-line", r.ArrowBigDownLine = "tabler:arrow-big-down-line", r.ArrowBack = "tabler:arrow-back", r.ArrowDown = "tabler:arrow-down", r.ArrowForward = "tabler:arrow-forward", r.ArrowLeft = "tabler:arrow-left", r.ArrowRight = "tabler:arrow-right", r.ArrowUp = "tabler:arrow-up", r.ArrowNarrowDown = "tabler:arrow-narrow-down", r.ArrowNarrowLeft = "tabler:arrow-narrow-left", r.ArrowNarrowRight = "tabler:arrow-narrow-right", r.ArrowNarrowUp = "tabler:arrow-narrow-up", r.ArrowsDiagonal = "tabler:arrows-diagonal", r.ArrowsDiagonal2 = "tabler:arrows-diagonal-2", r.ArrowsDiagonalMinimize = "tabler:arrows-diagonal-minimize", r.ArrowsDiagonalMinimize2 = "tabler:arrows-diagonal-minimize-2", r.ArrowsMaximize = "tabler:arrows-maximize", r.ArrowsMinimize = "tabler:arrows-minimize", r.ArrowsMove = "tabler:arrows-move", r.ArrowsSort = "tabler:arrows-sort", r.AtSign = "tabler:at", r.Auth2fa = "tabler:auth-2fa", r.Backspace = "tabler:backspace", r.Bed = "tabler:bed", r.Bell = "tabler:bell", r.BellPlus = "tabler:bell-plus", r.Beach = "tabler:beach", r.Binoculars = "tabler:binoculars", r.Bike = "tabler:bike", r.Book = "tabler:book", r.Bookmark = "tabler:bookmark", r.BorderCorners = "tabler:border-corners", r.BoxMargin = "tabler:box-margin", r.Brush = "tabler:brush", r.BrandApple = "tabler:brand-apple", r.BrandAws = "tabler:brand-aws", r.BrandCloudflare = "tabler:brand-cloudflare", r.BrandFacebook = "tabler:brand-facebook-filled", r.BrandGitlab = "tabler:brand-gitlab", r.BrandGithub = "tabler:brand-github", r.BrandGoogle = "tabler:brand-google-filled", r.BrandInstagram = "tabler:brand-instagram", r.BrandLinkedIn = "tabler:brand-linkedin", r.BrandMastercard = "tabler:brand-mastercard", r.BrandNpm = "tabler:brand-npm", r.BrandNuxt = "tabler:brand-nuxt", r.BrandReact = "tabler:brand-react", r.BrandReactNative = "tabler:brand-react-native", r.BrandSpotify = "tabler:brand-spotify", r.BrandTidal = "tabler:brand-tidal", r.BrandTikTok = "tabler:brand-tiktok", r.BrandTwitter = "tabler:brand-twitter-filled", r.BrandVercel = "tabler:brand-vercel", r.BrandVisa = "tabler:brand-visa", r.BrandVue = "tabler:brand-vue", r.BrandWhatsApp = "tabler:brand-whatsapp", r.BrandX = "tabler:brand-x", r.BrandYouTube = "tabler:brand-youtube-filled", r.BrandWindows = "tabler:brand-windows", r.Briefcase = "tabler:briefcase", r.Briefcase2 = "tabler:briefcase-2", r.Broadcast = "tabler:broadcast", r.Browser = "tabler:browser", r.Building = "tabler:building", r.BuildingAirport = "tabler:building-airport", r.BuildingBank = "tabler:building-bank", r.BuildingCastle = "tabler:building-castle", r.BuildingCarousel = "tabler:building-carousel", r.BuildingChurch = "tabler:building-church", r.BuildingCommunity = "tabler:building-community", r.BuildingCottage = "tabler:building-cottage", r.BuildingStadium = "tabler:building-stadium", r.BuildingStore = "tabler:building-store", r.BuildingSkyscraper = "tabler:building-skyscraper", r.Bug = "tabler:bug", r.Bulb = "tabler:bulb", r.Bus = "tabler:bus", r.BusinessPlan = "tabler:businessplan", r.Calendar = "tabler:calendar", r.CalendarPlus = "tabler:calendar-plus", r.Calculator = "tabler:calculator", r.Camera = "tabler:camera", r.Camper = "tabler:camper", r.Car = "tabler:car", r.CaretDown = "tabler:caret-down", r.CaretLeft = "tabler:caret-left", r.CaretRight = "tabler:caret-right", r.CaretUp = "tabler:caret-up", r.CarouselHorizontal = "tabler:carousel-horizontal", r.ChartBar = "tabler:chart-bar", r.ChartPie = "tabler:chart-pie", r.Check = "tabler:check", r.ChefHat = "tabler:chef-hat", r.ChevronLeft = "tabler:chevron-left", r.ChevronsLeft = "tabler:chevrons-left", r.ChevronRight = "tabler:chevron-right", r.ChevronsRight = "tabler:chevrons-right", r.ChevronUp = "tabler:chevron-up", r.ChevronsUp = "tabler:chevrons-up", r.ChevronDown = "tabler:chevron-down", r.ChevronsDown = "tabler:chevrons-down", r.Circle = "tabler:circle", r.CircleCheck = "tabler:circle-check", r.CircleDot = "tabler:circle-dot", r.CircleMinus = "tabler:circle-minus", r.CircleNumber0 = "tabler:circle-number-0", r.CircleNumber1 = "tabler:circle-number-1", r.CircleNumber2 = "tabler:circle-number-2", r.CircleNumber3 = "tabler:circle-number-3", r.CircleNumber4 = "tabler:circle-number-4", r.CircleNumber5 = "tabler:circle-number-5", r.CircleNumber6 = "tabler:circle-number-6", r.CircleNumber7 = "tabler:circle-number-7", r.CircleNumber8 = "tabler:circle-number-8", r.CircleNumber9 = "tabler:circle-number-9", r.CirclePlus = "tabler:circle-plus", r.Click = "tabler:click", r.ClipboardCopy = "tabler:clipboard-copy", r.ClipboardText = "tabler:clipboard-text", r.Clock = "tabler:clock", r.Clock2 = "tabler:clock-2", r.Cloud = "tabler:cloud", r.CloudCheck = "tabler:cloud-check", r.CloudComputing = "tabler:cloud-computing", r.CloudDataConnection = "tabler:cloud-data-connection", r.CloudDown = "tabler:cloud-down", r.CloudDownload = "tabler:cloud-download", r.CloudUp = "tabler:cloud-up", r.CloudUpload = "tabler:cloud-upload", r.CloudX = "tabler:cloud-x", r.Code = "tabler:code", r.Coin = "tabler:coin", r.Coins = "tabler:coins", r.Columns1 = "tabler:columns-1", r.Columns2 = "tabler:columns-2", r.Columns3 = "tabler:columns-3", r.Command = "tabler:command", r.Components = "tabler:components", r.Confetti = "tabler:confetti", r.Contrast = "tabler:contrast", r.Copy = "tabler:copy", r.CreditCard = "tabler:credit-card", r.Dashboard = "tabler:dashboard", r.Database = "tabler:database", r.DatabaseExport = "tabler:database-export", r.Delete = "tabler:x", r.Devices = "tabler:devices", r.DevicesDollar = "tabler:devices-dollar", r.DeviceDesktop = "tabler:device-desktop", r.DeviceGamepad = "tabler:device-gamepad", r.DeviceMobile = "tabler:device-mobile", r.DeviceTablet = "tabler:device-tablet", r.DeviceTv = "tabler:device-tv", r.Dialpad = "tabler:dialpad", r.DirectionSign = "tabler:direction-sign", r.Download = "tabler:download", r.DragDrop = "tabler:drag-drop", r.EditItem = "tabler:edit-circle", r.EditPencil = "tabler:edit", r.Email = "tabler:mail", r.Equal = "tabler:equal", r.ExternalLink = "tabler:external-link", r.Eye = "tabler:eye", r.EyeOff = "tabler:eye-off", r.Error404 = "tabler:error-404", r.FaceId = "tabler:face-id", r.FileText = "tabler:file-text", r.FileTypeCss = "tabler:file-type-css", r.FileTypeCsv = "tabler:file-type-csv", r.FileTypeHtml = "tabler:file-type-html", r.FileTypePng = "tabler:file-type-png", r.FileTypeJpg = "tabler:file-type-jpg", r.FileTypeJs = "tabler:file-type-js", r.FileTypeJsx = "tabler:file-type-jsx", r.FileTypeSvg = "tabler:file-type-svg", r.FileTypeTs = "tabler:file-type-ts", r.FileTypeVue = "tabler:file-type-vue", r.Filter = "tabler:filter", r.Flag = "tabler:flag", r.Flag2 = "tabler:flag-2", r.Flag3 = "tabler:flag-3", r.Flame = "tabler:flame", r.Folder = "tabler:folder", r.Forms = "tabler:forms", r.Frame = "tabler:frame", r.Gps = "tabler:gps", r.Gift = "tabler:gift", r.Hanger = "tabler:hanger", r.HandStop = "tabler:hand-stop", r.Heading = "tabler:heading", r.Heart = "tabler:heart", r.HeartHandShake = "tabler:heart-handshake", r.Help = "tabler:help", r.HelpCircle = "tabler:help-circle", r.HelpSmall = "tabler:help-small", r.Home = "tabler:home", r.Html = "tabler:html", r.Image = "tabler:photo", r.Inbox = "tabler:inbox", r.InfoCircle = "tabler:info-circle", r.InfoSmall = "tabler:info-small", r.Grill = "tabler:grill", r.GripHorizontal = "tabler:grip-horizontal", r.GripVertical = "tabler:grip-vertical", r.Key = "tabler:key", r.Keyboard = "tabler:keyboard", r.Label = "tabler:label", r.Layers = "tabler:layers-subtract", r.Layout = "tabler:layout", r.LayoutBottomBar = "tabler:layout-bottombar", r.LayoutDashboard = "tabler:layout-dashboard", r.LayoutGrid = "tabler:layout-grid", r.LayoutList = "tabler:layout-list", r.LayoutNavbar = "tabler:layout-navbar", r.LayoutRows = "tabler:layout-rows", r.LayoutSidebar = "tabler:layout-sidebar", r.LayoutSidebarRight = "tabler:layout-sidebar-right", r.Link = "tabler:link", r.List = "tabler:list", r.ListNumbers = "tabler:list-numbers", r.ListTree = "tabler:list-tree", r.LoadBalancer = "tabler:load-balancer", r.Lock = "tabler:lock", r.Location = "tabler:location", r.LogIn = "tabler:login", r.LogOut = "tabler:logout", r.Logs = "tabler:logs", r.Luggage = "tabler:luggage", r.Map = "tabler:map", r.MapPin = "tabler:map-pin", r.MapPinPlus = "tabler:map-pin-plus", r.MapSearch = "tabler:map-search", r.Marquee = "tabler:marquee", r.MarqueeOff = "tabler:marquee-off", r.Mail = "tabler:mail", r.MailPlus = "tabler:mail-plus", r.Maximize = "tabler:maximize", r.Menu = "tabler:menu-2", r.Message = "tabler:message", r.Messages = "tabler:messages", r.MessageDots = "tabler:message-dots", r.MessageOff = "tabler:message-off", r.MessagePlus = "tabler:message-plus", r.MoneyBag = "tabler:moneybag", r.MoodDollar = "tabler:mood-dollar", r.MoodHeart = "tabler:mood-heart", r.MoodKid = "tabler:mood-kid", r.MoodNerd = "tabler:mood-nerd", r.MoodNeutral = "tabler:mood-neutral", r.MoodPuzzled = "tabler:mood-puzzled", r.MoodSadSquint = "tabler:mood-sad-squint", r.MoodSmile = "tabler:mood-smile", r.MoodTongue = "tabler:mood-tongue", r.MoodTongueWink = "tabler:mood-tongue-wink", r.MoodTongueWink2 = "tabler:mood-tongue-wink-2", r.MoodWink2 = "tabler:mood-wink-2", r.MoodWrrr = "tabler:mood-wrrr", r.Moon = "tabler:moon", r.Mouse = "tabler:mouse", r.MoreHorizontal = "tabler:dots", r.MoreVertical = "tabler:dots-vertical", r.Movie = "tabler:movie", r.Music = "tabler:music", r.Notes = "tabler:notes", r.NewSection = "tabler:new-section", r.Palette = "tabler:palette", r.Paint = "tabler:paint", r.Pencil = "tabler:pencil", r.Percentage = "tabler:percentage", r.Photo = "tabler:photo", r.PhotoPlus = "tabler:photo-plus", r.PhotoScan = "tabler:photo-scan", r.Phone = "tabler:phone", r.PigMoney = "tabler:pig-money", r.Pin = "tabler:pin", r.Pinned = "tabler:pinned", r.Plane = "tabler:plane", r.PlusCircle = "tabler:circle-plus", r.Plus = "tabler:plus", r.Pointer = "tabler:pointer", r.Printer = "tabler:printer", r.Progress = "tabler:progress", r.ProgressHelp = "tabler:progress-help", r.QuestionMark = "tabler:question-mark", r.Rectangle = "tabler:rectangle", r.Receipt = "tabler:receipt", r.Receipt2 = "tabler:receipt-2", r.Refresh = "tabler:refresh", r.Restore = "tabler:restore", r.Robot = "tabler:robot", r.RobotFace = "tabler:robot-face", r.Rocket = "tabler:rocket", r.RowInsertTop = "tabler:row-insert-top", r.RowInsertBottom = "tabler:row-insert-bottom", r.RowRemove = "tabler:row-remove", r.Rss = "tabler:rss", r.Run = "tabler:run", r.Sailboat = "tabler:sailboat", r.Scale = "tabler:scale", r.School = "tabler:school", r.Scissors = "tabler:scissors", r.Scoreboard = "tabler:scoreboard", r.Seo = "tabler:seo", r.ShoppingCart = "tabler:shopping-cart", r.ShieldCheck = "tabler:shield-check", r.Search = "tabler:search", r.Section = "tabler:section", r.Select = "tabler:select", r.Server = "tabler:server", r.Server2 = "tabler:server-2", r.Settings = "tabler:settings", r.Share = "tabler:share", r.Share2 = "tabler:share-2", r.Share3 = "tabler:share-3", r.Shirt = "tabler:shirt", r.Sliders = "tabler:adjustments", r.SpeedBoat = "tabler:speedboat", r.Square = "tabler:square", r.SquareCheck = "tabler:square-check", r.SquarePlus = "tabler:square-plus", r.Stack = "tabler:stack", r.Stack2 = "tabler:stack-2", r.Stack3 = "tabler:stack-3", r.Stethoscope = "tabler:stethoscope", r.Sun = "tabler:sun", r.Table = "tabler:table", r.Template = "tabler:template", r.Terminal = "tabler:terminal", r.Terminal2 = "tabler:terminal-2", r.TextSize = "tabler:text-size", r.Ticket = "tabler:ticket", r.Timeline = "tabler:timeline", r.TimelineEvent = "tabler:timeline-event", r.TipJar = "tabler:tip-jar", r.ToolsKitchen = "tabler:tools-kitchen", r.ToolsKitchen2 = "tabler:tools-kitchen-2", r.ToolsKitchen3 = "tabler:tools-kitchen-3", r.Train = "tabler:train", r.Trash = "tabler:trash", r.TrashCan = "tabler:trash", r.TrashOff = "tabler:trash-off", r.TrashX = "tabler:trash-x", r.Trekking = "tabler:trekking", r.Typography = "tabler:typography", r.Upload = "tabler:upload", r.Urgent = "tabler:urgent", r.User = "tabler:user", r.UserCancel = "tabler:user-cancel", r.UserCheck = "tabler:user-check", r.UserPlus = "tabler:user-plus", r.UserQuestion = "tabler:user-question", r.UserX = "tabler:user-x", r.Users = "tabler:users", r.UserCircle = "tabler:user-circle", r.UsersGroup = "tabler:users-group", r.UsersMinus = "tabler:users-minus", r.UsersPlus = "tabler:users-plus", r.UserSquareRounded = "tabler:user-square-rounded", r.Video = "tabler:video", r.Walk = "tabler:walk", r.Wallet = "tabler:wallet", r.Wifi = "tabler:wifi", r.WindowMaximize = "tabler:window-maximize", r.WindowMinimize = "tabler:window-minimize", r.WorldWww = "tabler:world-www", r))(h || {}), p = /* @__PURE__ */ ((r) => (r.Color = "color", r.Date = "date", r.DateTimeLocal = "datetime-local", r.Decimal = "decimal", r.Email = "email", r.Hidden = "hidden", r.File = "file", r.None = "none", r.Number = "number", r.Password = "password", r.Search = "search", r.Tel = "tel", r.Text = "text", r.Time = "time", r.Url = "url", r))(p || {}), w = /* @__PURE__ */ ((r) => (r.Eager = "eager", r.Lazy = "lazy", r))(w || {}), f = /* @__PURE__ */ ((r) => (r.Blank = "_blank", r.Self = "_self", r))(f || {}), k = /* @__PURE__ */ ((r) => (r.Danger = "danger", r.Default = "default", r.Success = "success", r.Warning = "warning", r))(k || {}), v = /* @__PURE__ */ ((r) => (r.Dark = "dark", r.Light = "light", r))(v || {}), B = /* @__PURE__ */ ((r) => (r.After = "after", r.Before = "before", r))(B || {}), x = /* @__PURE__ */ ((r) => (r.Horizontal = "horizontal", r.Vertical = "vertical", r))(x || {}), S = /* @__PURE__ */ ((r) => (r.Auto = "auto", r.Hidden = "hidden", r.Scroll = "scroll", r.Visible = "visible", r))(S || {}), A = /* @__PURE__ */ ((r) => (r.Arrows = "arrows", r.Dots = "dots", r.Hidden = "hidden", r.Inline = "inline", r.Numbered = "numbered", r))(A || {}), M = /* @__PURE__ */ ((r) => (r.Bottom = "bottom", r.BottomEnd = "bottom-end", r.BottomStart = "bottom-start", r.Left = "left", r.LeftEnd = "left-end", r.LeftStart = "left-start", r.Right = "right", r.RightEnd = "right-end", r.RightStart = "right-start", r.Top = "top", r.TopEnd = "top-end", r.TopStart = "top-start", r))(M || {}), n = /* @__PURE__ */ ((r) => (r.Absolute = "absolute", r.Relative = "relative", r))(n || {}), y = /* @__PURE__ */ ((r) => (r.Tiny = "tiny", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r))(y || {}), D = /* @__PURE__ */ ((r) => (r.Condensed = "condensed", r.Default = "default", r.Plain = "plain", r))(D || {}), R = /* @__PURE__ */ ((r) => (r.Body = "body", r.Summary = "summary", r.Tiny = "tiny", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r))(R || {}), F = /* @__PURE__ */ ((r) => (r.TopLeft = "top-left", r.TopCenter = "top-center", r.TopRight = "top-right", r.BottomLeft = "bottom-left", r.BottomCenter = "bottom-center", r.BottomRight = "bottom-right", r))(F || {});
|
|
2
2
|
export {
|
|
3
3
|
t as CLAlign,
|
|
4
4
|
l as CLBorderRadius,
|
|
@@ -19,8 +19,8 @@ export {
|
|
|
19
19
|
B as CLOrder,
|
|
20
20
|
x as CLOrientation,
|
|
21
21
|
S as CLOverflow,
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
A as CLPaginationType,
|
|
23
|
+
M as CLPlacement,
|
|
24
24
|
n as CLPosition,
|
|
25
25
|
y as CLSizes,
|
|
26
26
|
D as CLTableTypes,
|
package/dist/types.d.ts
CHANGED