@bobbykim/mcl-cards 0.10.3 → 0.10.4
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.
- package/dist/mcl-cards.js +233 -1463
- package/dist/mcl-cards.umd.cjs +1 -1
- package/package.json +2 -2
package/dist/mcl-cards.js
CHANGED
|
@@ -1,1241 +1,11 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.perspective[data-v-eac7e2f0]{-webkit-perspective:1800px;perspective:1800px}.card[data-v-eac7e2f0]{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform:rotateY(0deg);transform:rotateY(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.flip-card[data-v-eac7e2f0]{-webkit-transform:rotateY(360deg);transform:rotateY(360deg)}.card[data-v-8bf2cac0]{background-size:cover;background-position:center center;background-repeat:no-repeat;padding:var(--border-width);background:conic-gradient(from var(--border-angle, 0deg),var(--tw-gradient-from) var(--tw-gradient-from-position),var(--tw-gradient-via),var(--tw-gradient-to));animation:bg-spin-8bf2cac0 4s linear infinite}@keyframes bg-spin-8bf2cac0{0%{--border-angle: 0deg}to{--border-angle: 360deg}}.card[data-v-8bf2cac0]:hover{animation-play-state:paused}@property --border-angle{syntax: "<angle>"; inherits: false; initial-value: 0deg;}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { generateClass as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
if (typeof r == "string" || typeof r == "number") l += r;
|
|
7
|
-
else if (typeof r == "object") if (Array.isArray(r)) {
|
|
8
|
-
var x = r.length;
|
|
9
|
-
for (n = 0; n < x; n++) r[n] && (a = H(r[n])) && (l && (l += " "), l += a);
|
|
10
|
-
} else for (a in r) r[a] && (l && (l += " "), l += a);
|
|
11
|
-
return l;
|
|
12
|
-
}
|
|
13
|
-
function I() {
|
|
14
|
-
for (var r, n, a = 0, l = "", x = arguments.length; a < x; a++) (r = arguments[a]) && (n = H(r)) && (l && (l += " "), l += n);
|
|
15
|
-
return l;
|
|
16
|
-
}
|
|
17
|
-
const M = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, O = I, t = (r, n) => (a) => {
|
|
18
|
-
var l;
|
|
19
|
-
if (n?.variants == null) return O(r, a?.class, a?.className);
|
|
20
|
-
const { variants: x, defaultVariants: u } = n, v = Object.keys(x).map((c) => {
|
|
21
|
-
const e = a?.[c], o = u?.[c];
|
|
22
|
-
if (e === null) return null;
|
|
23
|
-
const i = M(e) || M(o);
|
|
24
|
-
return x[c][i];
|
|
25
|
-
}), w = a && Object.entries(a).reduce((c, e) => {
|
|
26
|
-
let [o, i] = e;
|
|
27
|
-
return i === void 0 || (c[o] = i), c;
|
|
28
|
-
}, {}), d = n == null || (l = n.compoundVariants) === null || l === void 0 ? void 0 : l.reduce((c, e) => {
|
|
29
|
-
let { class: o, className: i, ...s } = e;
|
|
30
|
-
return Object.entries(s).every((p) => {
|
|
31
|
-
let [m, C] = p;
|
|
32
|
-
return Array.isArray(C) ? C.includes({
|
|
33
|
-
...u,
|
|
34
|
-
...w
|
|
35
|
-
}[m]) : {
|
|
36
|
-
...u,
|
|
37
|
-
...w
|
|
38
|
-
}[m] === C;
|
|
39
|
-
}) ? [
|
|
40
|
-
...c,
|
|
41
|
-
o,
|
|
42
|
-
i
|
|
43
|
-
] : c;
|
|
44
|
-
}, []);
|
|
45
|
-
return O(r, v, d, a?.class, a?.className);
|
|
46
|
-
}, N = t("", {
|
|
47
|
-
variants: {
|
|
48
|
-
color: {
|
|
49
|
-
primary: "mcl-bg-primary",
|
|
50
|
-
secondary: "mcl-bg-secondary",
|
|
51
|
-
success: "mcl-bg-success",
|
|
52
|
-
danger: "mcl-bg-danger",
|
|
53
|
-
info: "mcl-bg-info",
|
|
54
|
-
warning: "mcl-bg-warning",
|
|
55
|
-
"light-1": "mcl-bg-light-1",
|
|
56
|
-
"light-2": "mcl-bg-light-2",
|
|
57
|
-
"light-3": "mcl-bg-light-3",
|
|
58
|
-
"light-4": "mcl-bg-light-4",
|
|
59
|
-
"dark-1": "mcl-bg-dark-1",
|
|
60
|
-
"dark-2": "mcl-bg-dark-2",
|
|
61
|
-
"dark-3": "mcl-bg-dark-3",
|
|
62
|
-
"dark-4": "mcl-bg-dark-4",
|
|
63
|
-
black: "mcl-bg-black",
|
|
64
|
-
white: "mcl-bg-white",
|
|
65
|
-
transparent: "mcl-bg-transparent"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}), X = t("", {
|
|
69
|
-
variants: {
|
|
70
|
-
color: {
|
|
71
|
-
primary: "hover:bg-primary",
|
|
72
|
-
secondary: "hover:bg-secondary",
|
|
73
|
-
success: "hover:bg-success",
|
|
74
|
-
danger: "hover:bg-danger",
|
|
75
|
-
info: "hover:bg-info",
|
|
76
|
-
warning: "hover:bg-warning",
|
|
77
|
-
"light-1": "hover:bg-light-1",
|
|
78
|
-
"light-2": "hover:bg-light-2",
|
|
79
|
-
"light-3": "hover:bg-light-3",
|
|
80
|
-
"light-4": "hover:bg-light-4",
|
|
81
|
-
"dark-1": "hover:bg-dark-1",
|
|
82
|
-
"dark-2": "hover:bg-dark-2",
|
|
83
|
-
"dark-3": "hover:bg-dark-3",
|
|
84
|
-
"dark-4": "hover:bg-dark-4",
|
|
85
|
-
black: "hover:bg-black",
|
|
86
|
-
white: "hover:bg-white",
|
|
87
|
-
transparent: "hover:bg-transparent"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}), Y = t("", {
|
|
91
|
-
variants: {
|
|
92
|
-
color: {
|
|
93
|
-
primary: "focus:bg-primary",
|
|
94
|
-
secondary: "focus:bg-secondary",
|
|
95
|
-
success: "focus:bg-success",
|
|
96
|
-
danger: "focus:bg-danger",
|
|
97
|
-
info: "focus:bg-info",
|
|
98
|
-
warning: "focus:bg-warning",
|
|
99
|
-
"light-1": "focus:bg-light-1",
|
|
100
|
-
"light-2": "focus:bg-light-2",
|
|
101
|
-
"light-3": "focus:bg-light-3",
|
|
102
|
-
"light-4": "focus:bg-light-4",
|
|
103
|
-
"dark-1": "focus:bg-dark-1",
|
|
104
|
-
"dark-2": "focus:bg-dark-2",
|
|
105
|
-
"dark-3": "focus:bg-dark-3",
|
|
106
|
-
"dark-4": "focus:bg-dark-4",
|
|
107
|
-
black: "focus:bg-black",
|
|
108
|
-
white: "focus:bg-white",
|
|
109
|
-
transparent: "focus:bg-transparent"
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}), F = t("", {
|
|
113
|
-
variants: {
|
|
114
|
-
color: {
|
|
115
|
-
primary: "before:bg-primary",
|
|
116
|
-
secondary: "before:bg-secondary",
|
|
117
|
-
success: "before:bg-success",
|
|
118
|
-
danger: "before:bg-danger",
|
|
119
|
-
info: "before:bg-info",
|
|
120
|
-
warning: "before:bg-warning",
|
|
121
|
-
"light-1": "before:bg-light-1",
|
|
122
|
-
"light-2": "before:bg-light-2",
|
|
123
|
-
"light-3": "before:bg-light-3",
|
|
124
|
-
"light-4": "before:bg-light-4",
|
|
125
|
-
"dark-1": "before:bg-dark-1",
|
|
126
|
-
"dark-2": "before:bg-dark-2",
|
|
127
|
-
"dark-3": "before:bg-dark-3",
|
|
128
|
-
"dark-4": "before:bg-dark-4",
|
|
129
|
-
black: "before:bg-black",
|
|
130
|
-
white: "before:bg-white",
|
|
131
|
-
transparent: "before:bg-transparent"
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}), q = t("", {
|
|
135
|
-
variants: {
|
|
136
|
-
color: {
|
|
137
|
-
primary: "after:bg-primary",
|
|
138
|
-
secondary: "after:bg-secondary",
|
|
139
|
-
success: "after:bg-success",
|
|
140
|
-
danger: "after:bg-danger",
|
|
141
|
-
info: "after:bg-info",
|
|
142
|
-
warning: "after:bg-warning",
|
|
143
|
-
"light-1": "after:bg-light-1",
|
|
144
|
-
"light-2": "after:bg-light-2",
|
|
145
|
-
"light-3": "after:bg-light-3",
|
|
146
|
-
"light-4": "after:bg-light-4",
|
|
147
|
-
"dark-1": "after:bg-dark-1",
|
|
148
|
-
"dark-2": "after:bg-dark-2",
|
|
149
|
-
"dark-3": "after:bg-dark-3",
|
|
150
|
-
"dark-4": "after:bg-dark-4",
|
|
151
|
-
black: "after:bg-black",
|
|
152
|
-
white: "after:bg-white",
|
|
153
|
-
transparent: "after:bg-transparent"
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}), G = t("", {
|
|
157
|
-
variants: {
|
|
158
|
-
color: {
|
|
159
|
-
primary: "active:bg-primary",
|
|
160
|
-
secondary: "active:bg-secondary",
|
|
161
|
-
success: "active:bg-success",
|
|
162
|
-
danger: "active:bg-danger",
|
|
163
|
-
info: "active:bg-info",
|
|
164
|
-
warning: "active:bg-warning",
|
|
165
|
-
"light-1": "active:bg-light-1",
|
|
166
|
-
"light-2": "active:bg-light-2",
|
|
167
|
-
"light-3": "active:bg-light-3",
|
|
168
|
-
"light-4": "active:bg-light-4",
|
|
169
|
-
"dark-1": "active:bg-dark-1",
|
|
170
|
-
"dark-2": "active:bg-dark-2",
|
|
171
|
-
"dark-3": "active:bg-dark-3",
|
|
172
|
-
"dark-4": "active:bg-dark-4",
|
|
173
|
-
black: "active:bg-black",
|
|
174
|
-
white: "active:bg-white",
|
|
175
|
-
transparent: "active:bg-transparent"
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}), P = t("", {
|
|
179
|
-
variants: {
|
|
180
|
-
color: {
|
|
181
|
-
primary: "text-primary",
|
|
182
|
-
secondary: "text-secondary",
|
|
183
|
-
success: "text-success",
|
|
184
|
-
danger: "text-danger",
|
|
185
|
-
info: "text-info",
|
|
186
|
-
warning: "text-warning",
|
|
187
|
-
"light-1": "text-light-1",
|
|
188
|
-
"light-2": "text-light-2",
|
|
189
|
-
"light-3": "text-light-3",
|
|
190
|
-
"light-4": "text-light-4",
|
|
191
|
-
"dark-1": "text-dark-1",
|
|
192
|
-
"dark-2": "text-dark-2",
|
|
193
|
-
"dark-3": "text-dark-3",
|
|
194
|
-
"dark-4": "text-dark-4",
|
|
195
|
-
black: "text-black",
|
|
196
|
-
white: "text-white",
|
|
197
|
-
transparent: "text-transparent"
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}), J = t("", {
|
|
201
|
-
variants: {
|
|
202
|
-
color: {
|
|
203
|
-
primary: "hover:text-primary",
|
|
204
|
-
secondary: "hover:text-secondary",
|
|
205
|
-
success: "hover:text-success",
|
|
206
|
-
danger: "hover:text-danger",
|
|
207
|
-
info: "hover:text-info",
|
|
208
|
-
warning: "hover:text-warning",
|
|
209
|
-
"light-1": "hover:text-light-1",
|
|
210
|
-
"light-2": "hover:text-light-2",
|
|
211
|
-
"light-3": "hover:text-light-3",
|
|
212
|
-
"light-4": "hover:text-light-4",
|
|
213
|
-
"dark-1": "hover:text-dark-1",
|
|
214
|
-
"dark-2": "hover:text-dark-2",
|
|
215
|
-
"dark-3": "hover:text-dark-3",
|
|
216
|
-
"dark-4": "hover:text-dark-4",
|
|
217
|
-
black: "hover:text-black",
|
|
218
|
-
white: "hover:text-white",
|
|
219
|
-
transparent: "hover:text-transparent"
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}), K = t("", {
|
|
223
|
-
variants: {
|
|
224
|
-
color: {
|
|
225
|
-
primary: "focus:text-primary",
|
|
226
|
-
secondary: "focus:text-secondary",
|
|
227
|
-
success: "focus:text-success",
|
|
228
|
-
danger: "focus:text-danger",
|
|
229
|
-
info: "focus:text-info",
|
|
230
|
-
warning: "focus:text-warning",
|
|
231
|
-
"light-1": "focus:text-light-1",
|
|
232
|
-
"light-2": "focus:text-light-2",
|
|
233
|
-
"light-3": "focus:text-light-3",
|
|
234
|
-
"light-4": "focus:text-light-4",
|
|
235
|
-
"dark-1": "focus:text-dark-1",
|
|
236
|
-
"dark-2": "focus:text-dark-2",
|
|
237
|
-
"dark-3": "focus:text-dark-3",
|
|
238
|
-
"dark-4": "focus:text-dark-4",
|
|
239
|
-
black: "focus:text-black",
|
|
240
|
-
white: "focus:text-white",
|
|
241
|
-
transparent: "focus:text-transparent"
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}), Q = t("", {
|
|
245
|
-
variants: {
|
|
246
|
-
color: {
|
|
247
|
-
primary: "disabled:text-primary",
|
|
248
|
-
secondary: "disabled:text-secondary",
|
|
249
|
-
success: "disabled:text-success",
|
|
250
|
-
danger: "disabled:text-danger",
|
|
251
|
-
info: "disabled:text-info",
|
|
252
|
-
warning: "disabled:text-warning",
|
|
253
|
-
"light-1": "disabled:text-light-1",
|
|
254
|
-
"light-2": "disabled:text-light-2",
|
|
255
|
-
"light-3": "disabled:text-light-3",
|
|
256
|
-
"light-4": "disabled:text-light-4",
|
|
257
|
-
"dark-1": "disabled:text-dark-1",
|
|
258
|
-
"dark-2": "disabled:text-dark-2",
|
|
259
|
-
"dark-3": "disabled:text-dark-3",
|
|
260
|
-
"dark-4": "disabled:text-dark-4",
|
|
261
|
-
black: "disabled:text-black",
|
|
262
|
-
white: "disabled:text-white",
|
|
263
|
-
transparent: "disabled:text-transparent"
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
}), U = t("", {
|
|
267
|
-
variants: {
|
|
268
|
-
color: {
|
|
269
|
-
primary: "fill-primary",
|
|
270
|
-
secondary: "fill-secondary",
|
|
271
|
-
success: "fill-success",
|
|
272
|
-
danger: "fill-danger",
|
|
273
|
-
info: "fill-info",
|
|
274
|
-
warning: "fill-warning",
|
|
275
|
-
"light-1": "fill-light-1",
|
|
276
|
-
"light-2": "fill-light-2",
|
|
277
|
-
"light-3": "fill-light-3",
|
|
278
|
-
"light-4": "fill-light-4",
|
|
279
|
-
"dark-1": "fill-dark-1",
|
|
280
|
-
"dark-2": "fill-dark-2",
|
|
281
|
-
"dark-3": "fill-dark-3",
|
|
282
|
-
"dark-4": "fill-dark-4",
|
|
283
|
-
black: "fill-black",
|
|
284
|
-
white: "fill-white",
|
|
285
|
-
transparent: "fill-transparent"
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
}), Z = t("", {
|
|
289
|
-
variants: {
|
|
290
|
-
color: {
|
|
291
|
-
primary: "ring-primary",
|
|
292
|
-
secondary: "ring-secondary",
|
|
293
|
-
success: "ring-success",
|
|
294
|
-
danger: "ring-danger",
|
|
295
|
-
info: "ring-info",
|
|
296
|
-
warning: "ring-warning",
|
|
297
|
-
"light-1": "ring-light-1",
|
|
298
|
-
"light-2": "ring-light-2",
|
|
299
|
-
"light-3": "ring-light-3",
|
|
300
|
-
"light-4": "ring-light-4",
|
|
301
|
-
"dark-1": "ring-dark-1",
|
|
302
|
-
"dark-2": "ring-dark-2",
|
|
303
|
-
"dark-3": "ring-dark-3",
|
|
304
|
-
"dark-4": "ring-dark-4",
|
|
305
|
-
black: "ring-black",
|
|
306
|
-
white: "ring-white",
|
|
307
|
-
transparent: "ring-transparent"
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
}), _ = t("", {
|
|
311
|
-
variants: {
|
|
312
|
-
color: {
|
|
313
|
-
primary: "focus:ring-primary",
|
|
314
|
-
secondary: "focus:ring-secondary",
|
|
315
|
-
success: "focus:ring-success",
|
|
316
|
-
danger: "focus:ring-danger",
|
|
317
|
-
info: "focus:ring-info",
|
|
318
|
-
warning: "focus:ring-warning",
|
|
319
|
-
"light-1": "focus:ring-light-1",
|
|
320
|
-
"light-2": "focus:ring-light-2",
|
|
321
|
-
"light-3": "focus:ring-light-3",
|
|
322
|
-
"light-4": "focus:ring-light-4",
|
|
323
|
-
"dark-1": "focus:ring-dark-1",
|
|
324
|
-
"dark-2": "focus:ring-dark-2",
|
|
325
|
-
"dark-3": "focus:ring-dark-3",
|
|
326
|
-
"dark-4": "focus:ring-dark-4",
|
|
327
|
-
black: "focus:ring-black",
|
|
328
|
-
white: "focus:ring-white",
|
|
329
|
-
transparent: "focus:ring-transparent"
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
}), rr = t("", {
|
|
333
|
-
variants: {
|
|
334
|
-
color: {
|
|
335
|
-
primary: "active:ring-primary",
|
|
336
|
-
secondary: "active:ring-secondary",
|
|
337
|
-
success: "active:ring-success",
|
|
338
|
-
danger: "active:ring-danger",
|
|
339
|
-
info: "active:ring-info",
|
|
340
|
-
warning: "active:ring-warning",
|
|
341
|
-
"light-1": "active:ring-light-1",
|
|
342
|
-
"light-2": "active:ring-light-2",
|
|
343
|
-
"light-3": "active:ring-light-3",
|
|
344
|
-
"light-4": "active:ring-light-4",
|
|
345
|
-
"dark-1": "active:ring-dark-1",
|
|
346
|
-
"dark-2": "active:ring-dark-2",
|
|
347
|
-
"dark-3": "active:ring-dark-3",
|
|
348
|
-
"dark-4": "active:ring-dark-4",
|
|
349
|
-
black: "active:ring-black",
|
|
350
|
-
white: "active:ring-white",
|
|
351
|
-
transparent: "active:ring-transparent"
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
}), tr = t("", {
|
|
355
|
-
variants: {
|
|
356
|
-
color: {
|
|
357
|
-
primary: "peer-checked:bg-primary",
|
|
358
|
-
secondary: "peer-checked:bg-secondary",
|
|
359
|
-
success: "peer-checked:bg-success",
|
|
360
|
-
danger: "peer-checked:bg-danger",
|
|
361
|
-
info: "peer-checked:bg-info",
|
|
362
|
-
warning: "peer-checked:bg-warning",
|
|
363
|
-
"light-1": "peer-checked:bg-light-1",
|
|
364
|
-
"light-2": "peer-checked:bg-light-2",
|
|
365
|
-
"light-3": "peer-checked:bg-light-3",
|
|
366
|
-
"light-4": "peer-checked:bg-light-4",
|
|
367
|
-
"dark-1": "peer-checked:bg-dark-1",
|
|
368
|
-
"dark-2": "peer-checked:bg-dark-2",
|
|
369
|
-
"dark-3": "peer-checked:bg-dark-3",
|
|
370
|
-
"dark-4": "peer-checked:bg-dark-4",
|
|
371
|
-
black: "peer-checked:bg-black",
|
|
372
|
-
white: "peer-checked:bg-white",
|
|
373
|
-
transparent: "peer-checked:bg-transparent"
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}), ar = t("", {
|
|
377
|
-
variants: {
|
|
378
|
-
color: {
|
|
379
|
-
primary: "peer-focus-visible:ring-primary",
|
|
380
|
-
secondary: "peer-focus-visible:ring-secondary",
|
|
381
|
-
success: "peer-focus-visible:ring-success",
|
|
382
|
-
danger: "peer-focus-visible:ring-danger",
|
|
383
|
-
info: "peer-focus-visible:ring-info",
|
|
384
|
-
warning: "peer-focus-visible:ring-warning",
|
|
385
|
-
"light-1": "peer-focus-visible:ring-light-1",
|
|
386
|
-
"light-2": "peer-focus-visible:ring-light-2",
|
|
387
|
-
"light-3": "peer-focus-visible:ring-light-3",
|
|
388
|
-
"light-4": "peer-focus-visible:ring-light-4",
|
|
389
|
-
"dark-1": "peer-focus-visible:ring-dark-1",
|
|
390
|
-
"dark-2": "peer-focus-visible:ring-dark-2",
|
|
391
|
-
"dark-3": "peer-focus-visible:ring-dark-3",
|
|
392
|
-
"dark-4": "peer-focus-visible:ring-dark-4",
|
|
393
|
-
black: "peer-focus-visible:ring-black",
|
|
394
|
-
white: "peer-focus-visible:ring-white",
|
|
395
|
-
transparent: "peer-focus-visible:ring-transparent"
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}), er = t("", {
|
|
399
|
-
variants: {
|
|
400
|
-
color: {
|
|
401
|
-
primary: "focus-visible:ring-primary",
|
|
402
|
-
secondary: "focus-visible:ring-secondary",
|
|
403
|
-
success: "focus-visible:ring-success",
|
|
404
|
-
danger: "focus-visible:ring-danger",
|
|
405
|
-
info: "focus-visible:ring-info",
|
|
406
|
-
warning: "focus-visible:ring-warning",
|
|
407
|
-
"light-1": "focus-visible:ring-light-1",
|
|
408
|
-
"light-2": "focus-visible:ring-light-2",
|
|
409
|
-
"light-3": "focus-visible:ring-light-3",
|
|
410
|
-
"light-4": "focus-visible:ring-light-4",
|
|
411
|
-
"dark-1": "focus-visible:ring-dark-1",
|
|
412
|
-
"dark-2": "focus-visible:ring-dark-2",
|
|
413
|
-
"dark-3": "focus-visible:ring-dark-3",
|
|
414
|
-
"dark-4": "focus-visible:ring-dark-4",
|
|
415
|
-
black: "focus-visible:ring-black",
|
|
416
|
-
white: "focus-visible:ring-white",
|
|
417
|
-
transparent: "focus-visible:ring-transparent"
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
}), ir = t("", {
|
|
421
|
-
variants: {
|
|
422
|
-
color: {
|
|
423
|
-
primary: "ring-offset-primary",
|
|
424
|
-
secondary: "ring-offset-secondary",
|
|
425
|
-
success: "ring-offset-success",
|
|
426
|
-
danger: "ring-offset-danger",
|
|
427
|
-
info: "ring-offset-info",
|
|
428
|
-
warning: "ring-offset-warning",
|
|
429
|
-
"light-1": "ring-offset-light-1",
|
|
430
|
-
"light-2": "ring-offset-light-2",
|
|
431
|
-
"light-3": "ring-offset-light-3",
|
|
432
|
-
"light-4": "ring-offset-light-4",
|
|
433
|
-
"dark-1": "ring-offset-dark-1",
|
|
434
|
-
"dark-2": "ring-offset-dark-2",
|
|
435
|
-
"dark-3": "ring-offset-dark-3",
|
|
436
|
-
"dark-4": "ring-offset-dark-4",
|
|
437
|
-
black: "ring-offset-black",
|
|
438
|
-
white: "ring-offset-white",
|
|
439
|
-
transparent: "ring-offset-transparent"
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
}), lr = t("", {
|
|
443
|
-
variants: {
|
|
444
|
-
color: {
|
|
445
|
-
primary: "mcl-outline-primary",
|
|
446
|
-
secondary: "mcl-outline-secondary",
|
|
447
|
-
success: "mcl-outline-success",
|
|
448
|
-
danger: "mcl-outline-danger",
|
|
449
|
-
info: "mcl-outline-info",
|
|
450
|
-
warning: "mcl-outline-warning",
|
|
451
|
-
"light-1": "mcl-outline-light-1",
|
|
452
|
-
"light-2": "mcl-outline-light-2",
|
|
453
|
-
"light-3": "mcl-outline-light-3",
|
|
454
|
-
"light-4": "mcl-outline-light-4",
|
|
455
|
-
"dark-1": "mcl-outline-dark-1",
|
|
456
|
-
"dark-2": "mcl-outline-dark-2",
|
|
457
|
-
"dark-3": "mcl-outline-dark-3",
|
|
458
|
-
"dark-4": "mcl-outline-dark-4",
|
|
459
|
-
black: "mcl-outline-black",
|
|
460
|
-
white: "mcl-outline-white",
|
|
461
|
-
transparent: "mcl-outline-transparent"
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
}), or = t("", {
|
|
465
|
-
variants: {
|
|
466
|
-
color: {
|
|
467
|
-
primary: "focus:mcl-outline-primary",
|
|
468
|
-
secondary: "focus:mcl-outline-secondary",
|
|
469
|
-
success: "focus:mcl-outline-success",
|
|
470
|
-
danger: "focus:mcl-outline-danger",
|
|
471
|
-
info: "focus:mcl-outline-info",
|
|
472
|
-
warning: "focus:mcl-outline-warning",
|
|
473
|
-
"light-1": "focus:mcl-outline-light-1",
|
|
474
|
-
"light-2": "focus:mcl-outline-light-2",
|
|
475
|
-
"light-3": "focus:mcl-outline-light-3",
|
|
476
|
-
"light-4": "focus:mcl-outline-light-4",
|
|
477
|
-
"dark-1": "focus:mcl-outline-dark-1",
|
|
478
|
-
"dark-2": "focus:mcl-outline-dark-2",
|
|
479
|
-
"dark-3": "focus:mcl-outline-dark-3",
|
|
480
|
-
"dark-4": "focus:mcl-outline-dark-4",
|
|
481
|
-
black: "focus:mcl-outline-black",
|
|
482
|
-
white: "focus:mcl-outline-white",
|
|
483
|
-
transparent: "focus:mcl-outline-transparent"
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
}), nr = t("", {
|
|
487
|
-
variants: {
|
|
488
|
-
color: {
|
|
489
|
-
primary: "active:mcl-outline-primary",
|
|
490
|
-
secondary: "active:mcl-outline-secondary",
|
|
491
|
-
success: "active:mcl-outline-success",
|
|
492
|
-
danger: "active:mcl-outline-danger",
|
|
493
|
-
info: "active:mcl-outline-info",
|
|
494
|
-
warning: "active:mcl-outline-warning",
|
|
495
|
-
"light-1": "active:mcl-outline-light-1",
|
|
496
|
-
"light-2": "active:mcl-outline-light-2",
|
|
497
|
-
"light-3": "active:mcl-outline-light-3",
|
|
498
|
-
"light-4": "active:mcl-outline-light-4",
|
|
499
|
-
"dark-1": "active:mcl-outline-dark-1",
|
|
500
|
-
"dark-2": "active:mcl-outline-dark-2",
|
|
501
|
-
"dark-3": "active:mcl-outline-dark-3",
|
|
502
|
-
"dark-4": "active:mcl-outline-dark-4",
|
|
503
|
-
black: "active:mcl-outline-black",
|
|
504
|
-
white: "active:mcl-outline-white",
|
|
505
|
-
transparent: "active:mcl-outline-transparent"
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
}), sr = t("", {
|
|
509
|
-
variants: {
|
|
510
|
-
color: {
|
|
511
|
-
primary: "btn-primary",
|
|
512
|
-
secondary: "btn-secondary",
|
|
513
|
-
success: "btn-success",
|
|
514
|
-
danger: "btn-danger",
|
|
515
|
-
info: "btn-info",
|
|
516
|
-
warning: "btn-warning",
|
|
517
|
-
"light-1": "btn-light-1",
|
|
518
|
-
"light-2": "btn-light-2",
|
|
519
|
-
"light-3": "btn-light-3",
|
|
520
|
-
"light-4": "btn-light-4",
|
|
521
|
-
"dark-1": "btn-dark-1",
|
|
522
|
-
"dark-2": "btn-dark-2",
|
|
523
|
-
"dark-3": "btn-dark-3",
|
|
524
|
-
"dark-4": "btn-dark-4",
|
|
525
|
-
black: "btn-black",
|
|
526
|
-
white: "btn-white",
|
|
527
|
-
transparent: "btn-transparent"
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
}), dr = t("", {
|
|
531
|
-
variants: {
|
|
532
|
-
color: {
|
|
533
|
-
primary: "mcl-list-primary",
|
|
534
|
-
secondary: "mcl-list-secondary",
|
|
535
|
-
success: "mcl-list-success",
|
|
536
|
-
danger: "mcl-list-danger",
|
|
537
|
-
info: "mcl-list-info",
|
|
538
|
-
warning: "mcl-list-warning",
|
|
539
|
-
"light-1": "mcl-list-light-1",
|
|
540
|
-
"light-2": "mcl-list-light-2",
|
|
541
|
-
"light-3": "mcl-list-light-3",
|
|
542
|
-
"light-4": "mcl-list-light-4",
|
|
543
|
-
"dark-1": "mcl-list-dark-1",
|
|
544
|
-
"dark-2": "mcl-list-dark-2",
|
|
545
|
-
"dark-3": "mcl-list-dark-3",
|
|
546
|
-
"dark-4": "mcl-list-dark-4",
|
|
547
|
-
black: "mcl-list-black",
|
|
548
|
-
white: "mcl-list-white",
|
|
549
|
-
transparent: "mcl-list-transparent"
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
}), cr = t("", {
|
|
553
|
-
variants: {
|
|
554
|
-
color: {
|
|
555
|
-
primary: "border-primary",
|
|
556
|
-
secondary: "border-secondary",
|
|
557
|
-
success: "border-success",
|
|
558
|
-
danger: "border-danger",
|
|
559
|
-
info: "border-info",
|
|
560
|
-
warning: "border-warning",
|
|
561
|
-
"light-1": "border-light-1",
|
|
562
|
-
"light-2": "border-light-2",
|
|
563
|
-
"light-3": "border-light-3",
|
|
564
|
-
"light-4": "border-light-4",
|
|
565
|
-
"dark-1": "border-dark-1",
|
|
566
|
-
"dark-2": "border-dark-2",
|
|
567
|
-
"dark-3": "border-dark-3",
|
|
568
|
-
"dark-4": "border-dark-4",
|
|
569
|
-
black: "border-black",
|
|
570
|
-
white: "border-white",
|
|
571
|
-
transparent: "border-transparent"
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
}), gr = t("", {
|
|
575
|
-
variants: {
|
|
576
|
-
color: {
|
|
577
|
-
primary: "border-x-primary",
|
|
578
|
-
secondary: "border-x-secondary",
|
|
579
|
-
success: "border-x-success",
|
|
580
|
-
danger: "border-x-danger",
|
|
581
|
-
info: "border-x-info",
|
|
582
|
-
warning: "border-x-warning",
|
|
583
|
-
"light-1": "border-x-light-1",
|
|
584
|
-
"light-2": "border-x-light-2",
|
|
585
|
-
"light-3": "border-x-light-3",
|
|
586
|
-
"light-4": "border-x-light-4",
|
|
587
|
-
"dark-1": "border-x-dark-1",
|
|
588
|
-
"dark-2": "border-x-dark-2",
|
|
589
|
-
"dark-3": "border-x-dark-3",
|
|
590
|
-
"dark-4": "border-x-dark-4",
|
|
591
|
-
black: "border-x-black",
|
|
592
|
-
white: "border-x-white",
|
|
593
|
-
transparent: "border-x-transparent"
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
}), br = t("", {
|
|
597
|
-
variants: {
|
|
598
|
-
color: {
|
|
599
|
-
primary: "border-y-primary",
|
|
600
|
-
secondary: "border-y-secondary",
|
|
601
|
-
success: "border-y-success",
|
|
602
|
-
danger: "border-y-danger",
|
|
603
|
-
info: "border-y-info",
|
|
604
|
-
warning: "border-y-warning",
|
|
605
|
-
"light-1": "border-y-light-1",
|
|
606
|
-
"light-2": "border-y-light-2",
|
|
607
|
-
"light-3": "border-y-light-3",
|
|
608
|
-
"light-4": "border-y-light-4",
|
|
609
|
-
"dark-1": "border-y-dark-1",
|
|
610
|
-
"dark-2": "border-y-dark-2",
|
|
611
|
-
"dark-3": "border-y-dark-3",
|
|
612
|
-
"dark-4": "border-y-dark-4",
|
|
613
|
-
black: "border-y-black",
|
|
614
|
-
white: "border-y-white",
|
|
615
|
-
transparent: "border-y-transparent"
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
}), hr = t("", {
|
|
619
|
-
variants: {
|
|
620
|
-
color: {
|
|
621
|
-
primary: "border-t-primary",
|
|
622
|
-
secondary: "border-t-secondary",
|
|
623
|
-
success: "border-t-success",
|
|
624
|
-
danger: "border-t-danger",
|
|
625
|
-
info: "border-t-info",
|
|
626
|
-
warning: "border-t-warning",
|
|
627
|
-
"light-1": "border-t-light-1",
|
|
628
|
-
"light-2": "border-t-light-2",
|
|
629
|
-
"light-3": "border-t-light-3",
|
|
630
|
-
"light-4": "border-t-light-4",
|
|
631
|
-
"dark-1": "border-t-dark-1",
|
|
632
|
-
"dark-2": "border-t-dark-2",
|
|
633
|
-
"dark-3": "border-t-dark-3",
|
|
634
|
-
"dark-4": "border-t-dark-4",
|
|
635
|
-
black: "border-t-black",
|
|
636
|
-
white: "border-t-white",
|
|
637
|
-
transparent: "border-t-transparent"
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
}), ur = t("", {
|
|
641
|
-
variants: {
|
|
642
|
-
color: {
|
|
643
|
-
primary: "border-b-primary",
|
|
644
|
-
secondary: "border-b-secondary",
|
|
645
|
-
success: "border-b-success",
|
|
646
|
-
danger: "border-b-danger",
|
|
647
|
-
info: "border-b-info",
|
|
648
|
-
warning: "border-b-warning",
|
|
649
|
-
"light-1": "border-b-light-1",
|
|
650
|
-
"light-2": "border-b-light-2",
|
|
651
|
-
"light-3": "border-b-light-3",
|
|
652
|
-
"light-4": "border-b-light-4",
|
|
653
|
-
"dark-1": "border-b-dark-1",
|
|
654
|
-
"dark-2": "border-b-dark-2",
|
|
655
|
-
"dark-3": "border-b-dark-3",
|
|
656
|
-
"dark-4": "border-b-dark-4",
|
|
657
|
-
black: "border-b-black",
|
|
658
|
-
white: "border-b-white",
|
|
659
|
-
transparent: "border-b-transparent"
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
}), xr = t("", {
|
|
663
|
-
variants: {
|
|
664
|
-
color: {
|
|
665
|
-
primary: "border-l-primary",
|
|
666
|
-
secondary: "border-l-secondary",
|
|
667
|
-
success: "border-l-success",
|
|
668
|
-
danger: "border-l-danger",
|
|
669
|
-
info: "border-l-info",
|
|
670
|
-
warning: "border-l-warning",
|
|
671
|
-
"light-1": "border-l-light-1",
|
|
672
|
-
"light-2": "border-l-light-2",
|
|
673
|
-
"light-3": "border-l-light-3",
|
|
674
|
-
"light-4": "border-l-light-4",
|
|
675
|
-
"dark-1": "border-l-dark-1",
|
|
676
|
-
"dark-2": "border-l-dark-2",
|
|
677
|
-
"dark-3": "border-l-dark-3",
|
|
678
|
-
"dark-4": "border-l-dark-4",
|
|
679
|
-
black: "border-l-black",
|
|
680
|
-
white: "border-l-white",
|
|
681
|
-
transparent: "border-l-transparent"
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
}), mr = t("", {
|
|
685
|
-
variants: {
|
|
686
|
-
color: {
|
|
687
|
-
primary: "border-r-primary",
|
|
688
|
-
secondary: "border-r-secondary",
|
|
689
|
-
success: "border-r-success",
|
|
690
|
-
danger: "border-r-danger",
|
|
691
|
-
info: "border-r-info",
|
|
692
|
-
warning: "border-r-warning",
|
|
693
|
-
"light-1": "border-r-light-1",
|
|
694
|
-
"light-2": "border-r-light-2",
|
|
695
|
-
"light-3": "border-r-light-3",
|
|
696
|
-
"light-4": "border-r-light-4",
|
|
697
|
-
"dark-1": "border-r-dark-1",
|
|
698
|
-
"dark-2": "border-r-dark-2",
|
|
699
|
-
"dark-3": "border-r-dark-3",
|
|
700
|
-
"dark-4": "border-r-dark-4",
|
|
701
|
-
black: "border-r-black",
|
|
702
|
-
white: "border-r-white",
|
|
703
|
-
transparent: "border-r-transparent"
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
}), pr = t("", {
|
|
707
|
-
variants: {
|
|
708
|
-
size: {
|
|
709
|
-
xs: "text-xs",
|
|
710
|
-
sm: "text-sm",
|
|
711
|
-
md: "text-md",
|
|
712
|
-
lg: "text-lg",
|
|
713
|
-
xl: "text-xl"
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
}), fr = t("", {
|
|
717
|
-
variants: {
|
|
718
|
-
weight: {
|
|
719
|
-
light: "font-light",
|
|
720
|
-
normal: "font-normal",
|
|
721
|
-
bold: "font-bold"
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
}), kr = t("", {
|
|
725
|
-
variants: {
|
|
726
|
-
align: {
|
|
727
|
-
left: "text-left",
|
|
728
|
-
center: "text-center",
|
|
729
|
-
right: "text-right"
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
}), yr = t("", {
|
|
733
|
-
variants: {
|
|
734
|
-
size: {
|
|
735
|
-
sm: "h1-sm",
|
|
736
|
-
md: "h1-md",
|
|
737
|
-
lg: "h1-lg",
|
|
738
|
-
xl: "h1-xl"
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
}), vr = t("", {
|
|
742
|
-
variants: {
|
|
743
|
-
size: {
|
|
744
|
-
sm: "h2-sm",
|
|
745
|
-
md: "h2-md",
|
|
746
|
-
lg: "h2-lg",
|
|
747
|
-
xl: "h2-xl"
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
}), wr = t("", {
|
|
751
|
-
variants: {
|
|
752
|
-
size: {
|
|
753
|
-
sm: "h3-sm",
|
|
754
|
-
md: "h3-md",
|
|
755
|
-
lg: "h3-lg",
|
|
756
|
-
xl: "h3-xl"
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
}), Cr = t("", {
|
|
760
|
-
variants: {
|
|
761
|
-
size: {
|
|
762
|
-
sm: "h4-sm",
|
|
763
|
-
md: "h4-md",
|
|
764
|
-
lg: "h4-lg",
|
|
765
|
-
xl: "h4-xl"
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
}), Vr = {
|
|
769
|
-
1: "border-[1px]",
|
|
770
|
-
2: "border-[2px]",
|
|
771
|
-
3: "border-[3px]",
|
|
772
|
-
4: "border-[4px]",
|
|
773
|
-
5: "border-[5px]",
|
|
774
|
-
6: "border-[6px]",
|
|
775
|
-
7: "border-[7px]",
|
|
776
|
-
8: "border-[8px]",
|
|
777
|
-
9: "border-[9px]",
|
|
778
|
-
10: "border-[10px]",
|
|
779
|
-
11: "border-[11px]",
|
|
780
|
-
12: "border-[12px]"
|
|
781
|
-
}, Br = {
|
|
782
|
-
1: "border-x-[1px]",
|
|
783
|
-
2: "border-x-[2px]",
|
|
784
|
-
3: "border-x-[3px]",
|
|
785
|
-
4: "border-x-[4px]",
|
|
786
|
-
5: "border-x-[5px]",
|
|
787
|
-
6: "border-x-[6px]",
|
|
788
|
-
7: "border-x-[7px]",
|
|
789
|
-
8: "border-x-[8px]",
|
|
790
|
-
9: "border-x-[9px]",
|
|
791
|
-
10: "border-x-[10px]",
|
|
792
|
-
11: "border-x-[11px]",
|
|
793
|
-
12: "border-x-[12px]"
|
|
794
|
-
}, Tr = {
|
|
795
|
-
1: "border-y-[1px]",
|
|
796
|
-
2: "border-y-[2px]",
|
|
797
|
-
3: "border-y-[3px]",
|
|
798
|
-
4: "border-y-[4px]",
|
|
799
|
-
5: "border-y-[5px]",
|
|
800
|
-
6: "border-y-[6px]",
|
|
801
|
-
7: "border-y-[7px]",
|
|
802
|
-
8: "border-y-[8px]",
|
|
803
|
-
9: "border-y-[9px]",
|
|
804
|
-
10: "border-y-[10px]",
|
|
805
|
-
11: "border-y-[11px]",
|
|
806
|
-
12: "border-y-[12px]"
|
|
807
|
-
}, Lr = {
|
|
808
|
-
1: "border-t-[1px]",
|
|
809
|
-
2: "border-t-[2px]",
|
|
810
|
-
3: "border-t-[3px]",
|
|
811
|
-
4: "border-t-[4px]",
|
|
812
|
-
5: "border-t-[5px]",
|
|
813
|
-
6: "border-t-[6px]",
|
|
814
|
-
7: "border-t-[7px]",
|
|
815
|
-
8: "border-t-[8px]",
|
|
816
|
-
9: "border-t-[9px]",
|
|
817
|
-
10: "border-t-[10px]",
|
|
818
|
-
11: "border-t-[11px]",
|
|
819
|
-
12: "border-t-[12px]"
|
|
820
|
-
}, Ar = {
|
|
821
|
-
1: "border-b-[1px]",
|
|
822
|
-
2: "border-b-[2px]",
|
|
823
|
-
3: "border-b-[3px]",
|
|
824
|
-
4: "border-b-[4px]",
|
|
825
|
-
5: "border-b-[5px]",
|
|
826
|
-
6: "border-b-[6px]",
|
|
827
|
-
7: "border-b-[7px]",
|
|
828
|
-
8: "border-b-[8px]",
|
|
829
|
-
9: "border-b-[9px]",
|
|
830
|
-
10: "border-b-[10px]",
|
|
831
|
-
11: "border-b-[11px]",
|
|
832
|
-
12: "border-b-[12px]"
|
|
833
|
-
}, jr = {
|
|
834
|
-
1: "border-l-[1px]",
|
|
835
|
-
2: "border-l-[2px]",
|
|
836
|
-
3: "border-l-[3px]",
|
|
837
|
-
4: "border-l-[4px]",
|
|
838
|
-
5: "border-l-[5px]",
|
|
839
|
-
6: "border-l-[6px]",
|
|
840
|
-
7: "border-l-[7px]",
|
|
841
|
-
8: "border-l-[8px]",
|
|
842
|
-
9: "border-l-[9px]",
|
|
843
|
-
10: "border-l-[10px]",
|
|
844
|
-
11: "border-l-[11px]",
|
|
845
|
-
12: "border-l-[12px]"
|
|
846
|
-
}, Sr = {
|
|
847
|
-
1: "border-r-[1px]",
|
|
848
|
-
2: "border-r-[2px]",
|
|
849
|
-
3: "border-r-[3px]",
|
|
850
|
-
4: "border-r-[4px]",
|
|
851
|
-
5: "border-r-[5px]",
|
|
852
|
-
6: "border-r-[6px]",
|
|
853
|
-
7: "border-r-[7px]",
|
|
854
|
-
8: "border-r-[8px]",
|
|
855
|
-
9: "border-r-[9px]",
|
|
856
|
-
10: "border-r-[10px]",
|
|
857
|
-
11: "border-r-[11px]",
|
|
858
|
-
12: "border-r-[12px]"
|
|
859
|
-
}, zr = (r) => Vr[r.width] ?? "", Mr = (r) => Br[r.width] ?? "", Or = (r) => Tr[r.width] ?? "", $r = (r) => Lr[r.width] ?? "", Hr = (r) => Ar[r.width] ?? "", Wr = (r) => jr[r.width] ?? "", Rr = (r) => Sr[r.width] ?? "", Er = {
|
|
860
|
-
10: "opacity-10",
|
|
861
|
-
20: "opacity-20",
|
|
862
|
-
30: "opacity-30",
|
|
863
|
-
40: "opacity-40",
|
|
864
|
-
50: "opacity-50",
|
|
865
|
-
60: "opacity-60",
|
|
866
|
-
70: "opacity-70",
|
|
867
|
-
80: "opacity-80",
|
|
868
|
-
90: "opacity-90",
|
|
869
|
-
100: "opacity-100"
|
|
870
|
-
}, Dr = {
|
|
871
|
-
10: "bg-opacity-10",
|
|
872
|
-
20: "bg-opacity-20",
|
|
873
|
-
30: "bg-opacity-30",
|
|
874
|
-
40: "bg-opacity-40",
|
|
875
|
-
50: "bg-opacity-50",
|
|
876
|
-
60: "bg-opacity-60",
|
|
877
|
-
70: "bg-opacity-70",
|
|
878
|
-
80: "bg-opacity-80",
|
|
879
|
-
90: "bg-opacity-90",
|
|
880
|
-
100: "bg-opacity-100"
|
|
881
|
-
}, Ir = {
|
|
882
|
-
10: "outline-opacity-10",
|
|
883
|
-
20: "outline-opacity-20",
|
|
884
|
-
30: "outline-opacity-30",
|
|
885
|
-
40: "outline-opacity-40",
|
|
886
|
-
50: "outline-opacity-50",
|
|
887
|
-
60: "outline-opacity-60",
|
|
888
|
-
70: "outline-opacity-70",
|
|
889
|
-
80: "outline-opacity-80",
|
|
890
|
-
90: "outline-opacity-90",
|
|
891
|
-
100: "outline-opacity-100"
|
|
892
|
-
}, Nr = (r) => Er[r.opacity] ?? "", Xr = (r) => Dr[r.opacity] ?? "", Yr = (r) => Ir[r.opacity] ?? "", Fr = t("", {
|
|
893
|
-
variants: {
|
|
894
|
-
spacing: {
|
|
895
|
-
0: "m-0",
|
|
896
|
-
"3xs": "m-3xs",
|
|
897
|
-
"2xs": "m-2xs",
|
|
898
|
-
xs: "m-xs",
|
|
899
|
-
sm: "m-sm",
|
|
900
|
-
md: "m-md",
|
|
901
|
-
lg: "m-lg",
|
|
902
|
-
xl: "m-xl",
|
|
903
|
-
"2xl": "m-2xl",
|
|
904
|
-
"3xl": "m-3xl"
|
|
905
|
-
}
|
|
906
|
-
}
|
|
907
|
-
}), qr = t("", {
|
|
908
|
-
variants: {
|
|
909
|
-
spacing: {
|
|
910
|
-
0: "mx-0",
|
|
911
|
-
"3xs": "mx-3xs",
|
|
912
|
-
"2xs": "mx-2xs",
|
|
913
|
-
xs: "mx-xs",
|
|
914
|
-
sm: "mx-sm",
|
|
915
|
-
md: "mx-md",
|
|
916
|
-
lg: "mx-lg",
|
|
917
|
-
xl: "mx-xl",
|
|
918
|
-
"2xl": "mx-2xl",
|
|
919
|
-
"3xl": "mx-3xl"
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
}), Gr = t("", {
|
|
923
|
-
variants: {
|
|
924
|
-
spacing: {
|
|
925
|
-
0: "my-0",
|
|
926
|
-
"3xs": "my-3xs",
|
|
927
|
-
"2xs": "my-2xs",
|
|
928
|
-
xs: "my-xs",
|
|
929
|
-
sm: "my-sm",
|
|
930
|
-
md: "my-md",
|
|
931
|
-
lg: "my-lg",
|
|
932
|
-
xl: "my-xl",
|
|
933
|
-
"2xl": "my-2xl",
|
|
934
|
-
"3xl": "my-3xl"
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
}), Pr = t("", {
|
|
938
|
-
variants: {
|
|
939
|
-
spacing: {
|
|
940
|
-
0: "mt-0",
|
|
941
|
-
"3xs": "mt-3xs",
|
|
942
|
-
"2xs": "mt-2xs",
|
|
943
|
-
xs: "mt-xs",
|
|
944
|
-
sm: "mt-sm",
|
|
945
|
-
md: "mt-md",
|
|
946
|
-
lg: "mt-lg",
|
|
947
|
-
xl: "mt-xl",
|
|
948
|
-
"2xl": "mt-2xl",
|
|
949
|
-
"3xl": "mt-3xl"
|
|
950
|
-
}
|
|
951
|
-
}
|
|
952
|
-
}), Jr = t("", {
|
|
953
|
-
variants: {
|
|
954
|
-
spacing: {
|
|
955
|
-
0: "mb-0",
|
|
956
|
-
"3xs": "mb-3xs",
|
|
957
|
-
"2xs": "mb-2xs",
|
|
958
|
-
xs: "mb-xs",
|
|
959
|
-
sm: "mb-sm",
|
|
960
|
-
md: "mb-md",
|
|
961
|
-
lg: "mb-lg",
|
|
962
|
-
xl: "mb-xl",
|
|
963
|
-
"2xl": "mb-2xl",
|
|
964
|
-
"3xl": "mb-3xl"
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
}), Kr = t("", {
|
|
968
|
-
variants: {
|
|
969
|
-
spacing: {
|
|
970
|
-
0: "ml-0",
|
|
971
|
-
"3xs": "ml-3xs",
|
|
972
|
-
"2xs": "ml-2xs",
|
|
973
|
-
xs: "ml-xs",
|
|
974
|
-
sm: "ml-sm",
|
|
975
|
-
md: "ml-md",
|
|
976
|
-
lg: "ml-lg",
|
|
977
|
-
xl: "ml-xl",
|
|
978
|
-
"2xl": "ml-2xl",
|
|
979
|
-
"3xl": "ml-3xl"
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
|
-
}), Qr = t("", {
|
|
983
|
-
variants: {
|
|
984
|
-
spacing: {
|
|
985
|
-
0: "mr-0",
|
|
986
|
-
"3xs": "mr-3xs",
|
|
987
|
-
"2xs": "mr-2xs",
|
|
988
|
-
xs: "mr-xs",
|
|
989
|
-
sm: "mr-sm",
|
|
990
|
-
md: "mr-md",
|
|
991
|
-
lg: "mr-lg",
|
|
992
|
-
xl: "mr-xl",
|
|
993
|
-
"2xl": "mr-2xl",
|
|
994
|
-
"3xl": "mr-3xl"
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
}), Ur = t("", {
|
|
998
|
-
variants: {
|
|
999
|
-
spacing: {
|
|
1000
|
-
0: "p-0",
|
|
1001
|
-
"3xs": "p-3xs",
|
|
1002
|
-
"2xs": "p-2xs",
|
|
1003
|
-
xs: "p-xs",
|
|
1004
|
-
sm: "p-sm",
|
|
1005
|
-
md: "p-md",
|
|
1006
|
-
lg: "p-lg",
|
|
1007
|
-
xl: "p-xl",
|
|
1008
|
-
"2xl": "p-2xl",
|
|
1009
|
-
"3xl": "p-3xl"
|
|
1010
|
-
}
|
|
1011
|
-
}
|
|
1012
|
-
}), Zr = t("", {
|
|
1013
|
-
variants: {
|
|
1014
|
-
spacing: {
|
|
1015
|
-
0: "px-0",
|
|
1016
|
-
"3xs": "px-3xs",
|
|
1017
|
-
"2xs": "px-2xs",
|
|
1018
|
-
xs: "px-xs",
|
|
1019
|
-
sm: "px-sm",
|
|
1020
|
-
md: "px-md",
|
|
1021
|
-
lg: "px-lg",
|
|
1022
|
-
xl: "px-xl",
|
|
1023
|
-
"2xl": "px-2xl",
|
|
1024
|
-
"3xl": "px-3xl"
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
}), _r = t("", {
|
|
1028
|
-
variants: {
|
|
1029
|
-
spacing: {
|
|
1030
|
-
0: "py-0",
|
|
1031
|
-
"3xs": "py-3xs",
|
|
1032
|
-
"2xs": "py-2xs",
|
|
1033
|
-
xs: "py-xs",
|
|
1034
|
-
sm: "py-sm",
|
|
1035
|
-
md: "py-md",
|
|
1036
|
-
lg: "py-lg",
|
|
1037
|
-
xl: "py-xl",
|
|
1038
|
-
"2xl": "py-2xl",
|
|
1039
|
-
"3xl": "py-3xl"
|
|
1040
|
-
}
|
|
1041
|
-
}
|
|
1042
|
-
}), rt = t("", {
|
|
1043
|
-
variants: {
|
|
1044
|
-
spacing: {
|
|
1045
|
-
0: "pt-0",
|
|
1046
|
-
"3xs": "pt-3xs",
|
|
1047
|
-
"2xs": "pt-2xs",
|
|
1048
|
-
xs: "pt-xs",
|
|
1049
|
-
sm: "pt-sm",
|
|
1050
|
-
md: "pt-md",
|
|
1051
|
-
lg: "pt-lg",
|
|
1052
|
-
xl: "pt-xl",
|
|
1053
|
-
"2xl": "pt-2xl",
|
|
1054
|
-
"3xl": "pt-3xl"
|
|
1055
|
-
}
|
|
1056
|
-
}
|
|
1057
|
-
}), tt = t("", {
|
|
1058
|
-
variants: {
|
|
1059
|
-
spacing: {
|
|
1060
|
-
0: "pb-0",
|
|
1061
|
-
"3xs": "pb-3xs",
|
|
1062
|
-
"2xs": "pb-2xs",
|
|
1063
|
-
xs: "pb-xs",
|
|
1064
|
-
sm: "pb-sm",
|
|
1065
|
-
md: "pb-md",
|
|
1066
|
-
lg: "pb-lg",
|
|
1067
|
-
xl: "pb-xl",
|
|
1068
|
-
"2xl": "pb-2xl",
|
|
1069
|
-
"3xl": "pb-3xl"
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
}), at = t("", {
|
|
1073
|
-
variants: {
|
|
1074
|
-
spacing: {
|
|
1075
|
-
0: "pl-0",
|
|
1076
|
-
"3xs": "pl-3xs",
|
|
1077
|
-
"2xs": "pl-2xs",
|
|
1078
|
-
xs: "pl-xs",
|
|
1079
|
-
sm: "pl-sm",
|
|
1080
|
-
md: "pl-md",
|
|
1081
|
-
lg: "pl-lg",
|
|
1082
|
-
xl: "pl-xl",
|
|
1083
|
-
"2xl": "pl-2xl",
|
|
1084
|
-
"3xl": "pl-3xl"
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
}), et = t("", {
|
|
1088
|
-
variants: {
|
|
1089
|
-
spacing: {
|
|
1090
|
-
0: "pr-0",
|
|
1091
|
-
"3xs": "pr-3xs",
|
|
1092
|
-
"2xs": "pr-2xs",
|
|
1093
|
-
xs: "pr-xs",
|
|
1094
|
-
sm: "pr-sm",
|
|
1095
|
-
md: "pr-md",
|
|
1096
|
-
lg: "pr-lg",
|
|
1097
|
-
xl: "pr-xl",
|
|
1098
|
-
"2xl": "pr-2xl",
|
|
1099
|
-
"3xl": "pr-3xl"
|
|
1100
|
-
}
|
|
1101
|
-
}
|
|
1102
|
-
}), it = t("", {
|
|
1103
|
-
variants: {
|
|
1104
|
-
spacing: {
|
|
1105
|
-
0: "gap-0",
|
|
1106
|
-
"3xs": "gap-3xs",
|
|
1107
|
-
"2xs": "gap-2xs",
|
|
1108
|
-
xs: "gap-xs",
|
|
1109
|
-
sm: "gap-sm",
|
|
1110
|
-
md: "gap-md",
|
|
1111
|
-
lg: "gap-lg",
|
|
1112
|
-
xl: "gap-xl",
|
|
1113
|
-
"2xl": "gap-2xl",
|
|
1114
|
-
"3xl": "gap-3xl"
|
|
1115
|
-
}
|
|
1116
|
-
}
|
|
1117
|
-
}), lt = {
|
|
1118
|
-
// color
|
|
1119
|
-
bgColorVariant: N,
|
|
1120
|
-
hoverBgColorVariant: X,
|
|
1121
|
-
focusBgColorVariant: Y,
|
|
1122
|
-
beforeBgColorVariant: F,
|
|
1123
|
-
afterBgColorVariant: q,
|
|
1124
|
-
activeBgColorVariant: G,
|
|
1125
|
-
textColorVariant: P,
|
|
1126
|
-
hoverTextColorVariant: J,
|
|
1127
|
-
focusTextColorVariant: K,
|
|
1128
|
-
disabledTextColorVariant: Q,
|
|
1129
|
-
svgFillColorVariant: U,
|
|
1130
|
-
ringColorVariant: Z,
|
|
1131
|
-
focusRingColorVariant: _,
|
|
1132
|
-
activeRingColorVariant: rr,
|
|
1133
|
-
peerCheckedBgColorVariant: tr,
|
|
1134
|
-
peerFocusVisibleRingColorVariant: ar,
|
|
1135
|
-
focusVisibleRingColorVariant: er,
|
|
1136
|
-
ringOffsetColorVariant: ir,
|
|
1137
|
-
outlineColorVariant: lr,
|
|
1138
|
-
focusOutlineColorVariant: or,
|
|
1139
|
-
activeOutlineColorVariant: nr,
|
|
1140
|
-
btnColorVariant: sr,
|
|
1141
|
-
listColorVariant: dr,
|
|
1142
|
-
borderColorVariant: cr,
|
|
1143
|
-
borderXColorVariant: gr,
|
|
1144
|
-
borderYColorVariant: br,
|
|
1145
|
-
borderTopColorVariant: hr,
|
|
1146
|
-
borderBottomColorVariant: ur,
|
|
1147
|
-
borderLeftColorVariant: xr,
|
|
1148
|
-
borderRightColorVariant: mr,
|
|
1149
|
-
// typography
|
|
1150
|
-
bodyTextVariant: pr,
|
|
1151
|
-
fontWeightVariant: fr,
|
|
1152
|
-
textAlignVariant: kr,
|
|
1153
|
-
h1Variant: yr,
|
|
1154
|
-
h2Variant: vr,
|
|
1155
|
-
h3Variant: wr,
|
|
1156
|
-
h4Variant: Cr,
|
|
1157
|
-
// border width
|
|
1158
|
-
borderWidthVariant: zr,
|
|
1159
|
-
borderXWidthVariant: Mr,
|
|
1160
|
-
borderYWidthVariant: Or,
|
|
1161
|
-
borderTopWidthVariant: $r,
|
|
1162
|
-
borderBottomWidthVariant: Hr,
|
|
1163
|
-
borderLeftWidthVariant: Wr,
|
|
1164
|
-
borderRightWidthVariant: Rr,
|
|
1165
|
-
// opacity
|
|
1166
|
-
opacityVariant: Nr,
|
|
1167
|
-
bgOpacityVariant: Xr,
|
|
1168
|
-
outlineOpacityVariant: Yr,
|
|
1169
|
-
// spacing
|
|
1170
|
-
marginVariant: Fr,
|
|
1171
|
-
marginXVariant: qr,
|
|
1172
|
-
marginYVariant: Gr,
|
|
1173
|
-
marginTopVariant: Pr,
|
|
1174
|
-
marginBottomVariant: Jr,
|
|
1175
|
-
marginLeftVariant: Kr,
|
|
1176
|
-
marginRightVariant: Qr,
|
|
1177
|
-
paddingVariant: Ur,
|
|
1178
|
-
paddingXVariant: Zr,
|
|
1179
|
-
paddingYVariant: _r,
|
|
1180
|
-
paddingTopVariant: rt,
|
|
1181
|
-
paddingBottomVariant: tt,
|
|
1182
|
-
paddingLeftVariant: at,
|
|
1183
|
-
paddingRightVariant: et,
|
|
1184
|
-
gapVariant: it
|
|
1185
|
-
};
|
|
1186
|
-
B({
|
|
1187
|
-
setup(r, { slots: n }) {
|
|
1188
|
-
const a = $(!1);
|
|
1189
|
-
return E(() => {
|
|
1190
|
-
a.value = !0;
|
|
1191
|
-
}), () => a.value && n.default ? n.default() : null;
|
|
1192
|
-
}
|
|
1193
|
-
});
|
|
1194
|
-
const ot = {
|
|
1195
|
-
xs: "backdrop-blur-xs",
|
|
1196
|
-
sm: "backdrop-blur-sm",
|
|
1197
|
-
md: "backdrop-blur-md",
|
|
1198
|
-
lg: "backdrop-blur-lg",
|
|
1199
|
-
xl: "backdrop-blur-xl"
|
|
1200
|
-
}, nt = {
|
|
1201
|
-
primary: "mcl-glass-primary",
|
|
1202
|
-
secondary: "mcl-glass-secondary",
|
|
1203
|
-
success: "mcl-glass-success",
|
|
1204
|
-
info: "mcl-glass-info",
|
|
1205
|
-
danger: "mcl-glass-danger",
|
|
1206
|
-
warning: "mcl-glass-warning",
|
|
1207
|
-
"light-1": "mcl-glass-light-1",
|
|
1208
|
-
"light-2": "mcl-glass-light-2",
|
|
1209
|
-
"light-3": "mcl-glass-light-3",
|
|
1210
|
-
"light-4": "mcl-glass-light-4",
|
|
1211
|
-
"dark-1": "mcl-glass-dark-1",
|
|
1212
|
-
"dark-2": "mcl-glass-dark-2",
|
|
1213
|
-
"dark-3": "mcl-glass-dark-3",
|
|
1214
|
-
"dark-4": "mcl-glass-dark-4",
|
|
1215
|
-
black: "mcl-glass-black",
|
|
1216
|
-
white: "mcl-glass-white",
|
|
1217
|
-
transparent: "mcl-glass-transparent"
|
|
1218
|
-
}, st = {
|
|
1219
|
-
10: "mcl-depth-10",
|
|
1220
|
-
20: "mcl-depth-20",
|
|
1221
|
-
30: "mcl-depth-30",
|
|
1222
|
-
40: "mcl-depth-40",
|
|
1223
|
-
50: "mcl-depth-50",
|
|
1224
|
-
60: "mcl-depth-60",
|
|
1225
|
-
70: "mcl-depth-70",
|
|
1226
|
-
80: "mcl-depth-80",
|
|
1227
|
-
90: "mcl-depth-90",
|
|
1228
|
-
100: "mcl-depth-100"
|
|
1229
|
-
}, dt = (r, n, a, l = 10) => [
|
|
1230
|
-
"mcl-glassmorphism",
|
|
1231
|
-
nt[r],
|
|
1232
|
-
ot[n],
|
|
1233
|
-
lt.bgOpacityVariant({ opacity: a }),
|
|
1234
|
-
st[l]
|
|
1235
|
-
].filter(Boolean).join(" "), ct = {
|
|
2
|
+
import { defineComponent as L, useSlots as T, computed as g, openBlock as m, createElementBlock as C, normalizeClass as c, createElementVNode as s, createCommentVNode as x, unref as S, withModifiers as j, renderSlot as A, toDisplayString as B, ref as z, normalizeStyle as $ } from "vue";
|
|
3
|
+
import { generateClass as i } from "@bobbykim/manguito-theme";
|
|
4
|
+
import { getGlassmorphismClass as E } from "@bobbykim/manguito-theme/util";
|
|
5
|
+
const O = {
|
|
1236
6
|
key: 0,
|
|
1237
7
|
class: "relative"
|
|
1238
|
-
},
|
|
8
|
+
}, D = ["src", "alt"], I = ["innerHTML"], W = { class: "flex h-full flex-col justify-between" }, G = { class: "flex-1 px-xs pt-sm" }, q = ["innerHTML"], N = ["innerHTML"], F = { class: "w-full px-xs" }, R = ["href", "target"], ot = /* @__PURE__ */ L({
|
|
1239
9
|
__name: "MclCardA",
|
|
1240
10
|
props: {
|
|
1241
11
|
title: {},
|
|
@@ -1267,123 +37,123 @@ const ot = {
|
|
|
1267
37
|
showShadow: { type: Boolean, default: !0 }
|
|
1268
38
|
},
|
|
1269
39
|
emits: ["card-click", "card-btn-click"],
|
|
1270
|
-
setup(
|
|
1271
|
-
const
|
|
1272
|
-
|
|
1273
|
-
const
|
|
40
|
+
setup(t, { emit: v }) {
|
|
41
|
+
const n = t;
|
|
42
|
+
T();
|
|
43
|
+
const u = v, b = g(() => {
|
|
1274
44
|
const {
|
|
1275
45
|
borderColor: e,
|
|
1276
|
-
bgColor:
|
|
1277
|
-
rounded:
|
|
1278
|
-
enlargeOnHover:
|
|
1279
|
-
showShadow:
|
|
1280
|
-
glass:
|
|
1281
|
-
glassBlur:
|
|
1282
|
-
glassOpacity:
|
|
1283
|
-
fullWidth:
|
|
1284
|
-
} =
|
|
46
|
+
bgColor: l,
|
|
47
|
+
rounded: a,
|
|
48
|
+
enlargeOnHover: o,
|
|
49
|
+
showShadow: k,
|
|
50
|
+
glass: f,
|
|
51
|
+
glassBlur: p,
|
|
52
|
+
glassOpacity: V,
|
|
53
|
+
fullWidth: M
|
|
54
|
+
} = n;
|
|
1285
55
|
return [
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
!
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
56
|
+
i.borderColorVariant({ color: e }),
|
|
57
|
+
i.bgColorVariant({ color: l }),
|
|
58
|
+
!M && "max-w-[450px] sm:max-w-[350px]",
|
|
59
|
+
a ? "rounded-lg" : "rounded-sm",
|
|
60
|
+
o && "hover:scale-105 transition ease-in duration-300",
|
|
61
|
+
k && "drop-shadow-md",
|
|
62
|
+
f && E(l, p, V)
|
|
1293
63
|
].filter(Boolean).join(" ");
|
|
1294
|
-
}),
|
|
1295
|
-
const { titleSize: e, titleColor:
|
|
64
|
+
}), h = g(() => {
|
|
65
|
+
const { titleSize: e, titleColor: l, showHighlight: a } = n;
|
|
1296
66
|
return [
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
67
|
+
i.h3Variant({ size: e }),
|
|
68
|
+
i.textColorVariant({ color: l }),
|
|
69
|
+
a ? "mb-2xs" : "mb-xs"
|
|
1300
70
|
].filter(Boolean).join(" ");
|
|
1301
|
-
}),
|
|
1302
|
-
const { labelTextColor: e, labelColor:
|
|
71
|
+
}), y = g(() => {
|
|
72
|
+
const { labelTextColor: e, labelColor: l } = n;
|
|
1303
73
|
return [
|
|
1304
|
-
|
|
1305
|
-
|
|
74
|
+
i.textColorVariant({ color: e }),
|
|
75
|
+
i.bgColorVariant({ color: l })
|
|
1306
76
|
].filter(Boolean).join(" ");
|
|
1307
|
-
}), w =
|
|
1308
|
-
const { ctaColor: e, rounded:
|
|
77
|
+
}), w = g(() => {
|
|
78
|
+
const { ctaColor: e, rounded: l } = n, a = ["light-1", "light-2", "light-3", "light-4"];
|
|
1309
79
|
return [
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
80
|
+
i.btnColorVariant({ color: e }),
|
|
81
|
+
a.includes(e) ? "text-black" : "text-white",
|
|
82
|
+
l && "btn-round"
|
|
1313
83
|
].filter(Boolean).join(" ");
|
|
1314
|
-
}),
|
|
1315
|
-
const { title:
|
|
1316
|
-
title:
|
|
1317
|
-
url:
|
|
1318
|
-
target:
|
|
84
|
+
}), r = (e) => {
|
|
85
|
+
const { title: l, ctaLink: a, ctaTarget: o, ctaAsLink: k } = n, f = {
|
|
86
|
+
title: l,
|
|
87
|
+
url: a,
|
|
88
|
+
target: o || "_self"
|
|
1319
89
|
};
|
|
1320
|
-
!
|
|
1321
|
-
},
|
|
1322
|
-
const { title:
|
|
1323
|
-
|
|
1324
|
-
title:
|
|
1325
|
-
url:
|
|
1326
|
-
target:
|
|
90
|
+
!k && e.preventDefault(), u("card-btn-click", e, f);
|
|
91
|
+
}, d = (e) => {
|
|
92
|
+
const { title: l, ctaLink: a, ctaTarget: o } = n;
|
|
93
|
+
u("card-click", e, {
|
|
94
|
+
title: l,
|
|
95
|
+
url: a,
|
|
96
|
+
target: o || "_self"
|
|
1327
97
|
});
|
|
1328
98
|
};
|
|
1329
|
-
return (e,
|
|
1330
|
-
class:
|
|
1331
|
-
onClick:
|
|
99
|
+
return (e, l) => (m(), C("div", {
|
|
100
|
+
class: c(["xs:w-auto flex w-full flex-shrink-0 flex-grow cursor-pointer flex-col overflow-hidden border", b.value]),
|
|
101
|
+
onClick: d
|
|
1332
102
|
}, [
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
src:
|
|
1336
|
-
alt:
|
|
103
|
+
t.showImage ? (m(), C("div", O, [
|
|
104
|
+
s("img", {
|
|
105
|
+
src: t.imageSource,
|
|
106
|
+
alt: t.imageAlt,
|
|
1337
107
|
class: "aspect-video min-w-full object-cover object-top"
|
|
1338
|
-
}, null, 8,
|
|
1339
|
-
|
|
108
|
+
}, null, 8, D),
|
|
109
|
+
t.showLabel ? (m(), C("span", {
|
|
1340
110
|
key: 0,
|
|
1341
|
-
class:
|
|
1342
|
-
innerHTML:
|
|
1343
|
-
}, null, 10,
|
|
1344
|
-
])) :
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
!
|
|
111
|
+
class: c(["absolute bottom-0 ml-xs inline-block translate-y-[50%] px-2xs py-3xs text-xs font-bold", y.value]),
|
|
112
|
+
innerHTML: t.labelText
|
|
113
|
+
}, null, 10, I)) : x("", !0)
|
|
114
|
+
])) : x("", !0),
|
|
115
|
+
s("div", W, [
|
|
116
|
+
s("div", G, [
|
|
117
|
+
!t.showImage && t.showLabel ? (m(), C("span", {
|
|
1348
118
|
key: 0,
|
|
1349
|
-
class:
|
|
1350
|
-
innerHTML:
|
|
1351
|
-
}, null, 10,
|
|
1352
|
-
|
|
1353
|
-
class: h
|
|
1354
|
-
innerHTML:
|
|
1355
|
-
}, null, 10,
|
|
1356
|
-
|
|
119
|
+
class: c(["mb-2xs inline-block px-2xs py-3xs text-xs font-bold", y.value]),
|
|
120
|
+
innerHTML: t.labelText
|
|
121
|
+
}, null, 10, q)) : x("", !0),
|
|
122
|
+
s("h3", {
|
|
123
|
+
class: c(h.value),
|
|
124
|
+
innerHTML: t.title
|
|
125
|
+
}, null, 10, N),
|
|
126
|
+
t.showHighlight ? (m(), C("div", {
|
|
1357
127
|
key: 1,
|
|
1358
|
-
class:
|
|
1359
|
-
}, null, 2)) :
|
|
1360
|
-
|
|
128
|
+
class: c(["mb-xs h-3xs w-md", S(i).bgColorVariant({ color: t.highlightColor })])
|
|
129
|
+
}, null, 2)) : x("", !0),
|
|
130
|
+
s("div", {
|
|
1361
131
|
class: "mb-sm cursor-default",
|
|
1362
|
-
onClick:
|
|
132
|
+
onClick: l[0] || (l[0] = j(() => {
|
|
1363
133
|
}, ["stop"]))
|
|
1364
134
|
}, [
|
|
1365
135
|
A(e.$slots, "default")
|
|
1366
136
|
])
|
|
1367
137
|
]),
|
|
1368
|
-
|
|
138
|
+
t.showCta ? (m(), C("div", {
|
|
1369
139
|
key: 0,
|
|
1370
140
|
class: "cursor-default border-0 pb-sm",
|
|
1371
|
-
onClick:
|
|
141
|
+
onClick: l[2] || (l[2] = j(() => {
|
|
1372
142
|
}, ["stop"]))
|
|
1373
143
|
}, [
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
href:
|
|
1377
|
-
target:
|
|
1378
|
-
class:
|
|
1379
|
-
onClick:
|
|
1380
|
-
},
|
|
144
|
+
s("div", F, [
|
|
145
|
+
s("a", {
|
|
146
|
+
href: t.ctaLink,
|
|
147
|
+
target: t.ctaTarget,
|
|
148
|
+
class: c(["btn btn-full", w.value]),
|
|
149
|
+
onClick: l[1] || (l[1] = (a) => r(a))
|
|
150
|
+
}, B(t.ctaText), 11, R)
|
|
1381
151
|
])
|
|
1382
|
-
])) :
|
|
152
|
+
])) : x("", !0)
|
|
1383
153
|
])
|
|
1384
154
|
], 2));
|
|
1385
155
|
}
|
|
1386
|
-
}),
|
|
156
|
+
}), J = ["href", "target"], K = { class: "peer absolute inset-0 z-15 flex flex-col items-start justify-end p-xs transition-opacity duration-200 hover:opacity-100 [@media(hover:hover)]:opacity-0" }, P = ["innerHTML"], Q = ["src", "alt"], rt = /* @__PURE__ */ L({
|
|
1387
157
|
__name: "MclCardB",
|
|
1388
158
|
props: {
|
|
1389
159
|
title: {},
|
|
@@ -1400,58 +170,58 @@ const ot = {
|
|
|
1400
170
|
rounded: { type: Boolean, default: !1 }
|
|
1401
171
|
},
|
|
1402
172
|
emits: ["card-click"],
|
|
1403
|
-
setup(
|
|
1404
|
-
const
|
|
1405
|
-
|
|
1406
|
-
const
|
|
1407
|
-
const { borderColor:
|
|
1408
|
-
|
|
173
|
+
setup(t, { emit: v }) {
|
|
174
|
+
const n = t;
|
|
175
|
+
T();
|
|
176
|
+
const u = v, b = g(() => {
|
|
177
|
+
const { borderColor: r, rounded: d } = n, e = [
|
|
178
|
+
i.borderColorVariant({ color: r })
|
|
1409
179
|
];
|
|
1410
|
-
return e.push(
|
|
1411
|
-
}),
|
|
1412
|
-
const { showGrayScale:
|
|
1413
|
-
return
|
|
1414
|
-
}),
|
|
1415
|
-
const { titleSize:
|
|
180
|
+
return e.push(d ? "rounded-md" : "rounded-sm"), e.join(" ");
|
|
181
|
+
}), h = g(() => {
|
|
182
|
+
const { showGrayScale: r } = n;
|
|
183
|
+
return r ? "[@media(hover:hover)]:grayscale peer-hover:grayscale-0" : "";
|
|
184
|
+
}), y = g(() => {
|
|
185
|
+
const { titleSize: r, titleColor: d, titleBlockColor: e } = n;
|
|
1416
186
|
return [
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
187
|
+
i.h3Variant({ size: r }),
|
|
188
|
+
i.textColorVariant({ color: d }),
|
|
189
|
+
i.bgColorVariant({ color: e })
|
|
1420
190
|
].join(" ");
|
|
1421
|
-
}), w = (
|
|
1422
|
-
const { title:
|
|
1423
|
-
!
|
|
1424
|
-
const
|
|
1425
|
-
title:
|
|
191
|
+
}), w = (r) => {
|
|
192
|
+
const { title: d, ctaLink: e, ctaTarget: l, ctaAsLink: a } = n;
|
|
193
|
+
!a && r.preventDefault();
|
|
194
|
+
const o = {
|
|
195
|
+
title: d,
|
|
1426
196
|
url: e,
|
|
1427
|
-
target:
|
|
197
|
+
target: l || "_self"
|
|
1428
198
|
};
|
|
1429
|
-
console.log(
|
|
199
|
+
console.log(o), u("card-click", r, o);
|
|
1430
200
|
};
|
|
1431
|
-
return (
|
|
1432
|
-
class:
|
|
201
|
+
return (r, d) => (m(), C("div", {
|
|
202
|
+
class: c(["xs:w-auto relative w-full max-w-112.5 shrink-0 grow cursor-pointer overflow-hidden border sm:max-w-87.5", b.value])
|
|
1433
203
|
}, [
|
|
1434
|
-
|
|
1435
|
-
href:
|
|
1436
|
-
target:
|
|
1437
|
-
onClick:
|
|
204
|
+
s("a", {
|
|
205
|
+
href: t.ctaLink,
|
|
206
|
+
target: t.ctaTarget,
|
|
207
|
+
onClick: d[0] || (d[0] = (e) => w(e))
|
|
1438
208
|
}, [
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
innerHTML:
|
|
1442
|
-
class:
|
|
1443
|
-
}, null, 10,
|
|
1444
|
-
A(
|
|
209
|
+
s("div", K, [
|
|
210
|
+
s("h3", {
|
|
211
|
+
innerHTML: t.title,
|
|
212
|
+
class: c(["pointer-events-none mb-2xs inline-block px-xs py-2xs tracking-wide", y.value])
|
|
213
|
+
}, null, 10, P),
|
|
214
|
+
A(r.$slots, "default")
|
|
1445
215
|
]),
|
|
1446
|
-
|
|
1447
|
-
src:
|
|
1448
|
-
alt:
|
|
1449
|
-
class:
|
|
1450
|
-
}, null, 10,
|
|
1451
|
-
], 8,
|
|
216
|
+
s("img", {
|
|
217
|
+
src: t.imageSource,
|
|
218
|
+
alt: t.imageAlt,
|
|
219
|
+
class: c(["relative z-10 aspect-3/4 h-full w-full object-cover object-center transition-all duration-200", h.value])
|
|
220
|
+
}, null, 10, Q)
|
|
221
|
+
], 8, J)
|
|
1452
222
|
], 2));
|
|
1453
223
|
}
|
|
1454
|
-
}),
|
|
224
|
+
}), U = ["src", "alt"], X = /* @__PURE__ */ L({
|
|
1455
225
|
__name: "MclCardC",
|
|
1456
226
|
props: {
|
|
1457
227
|
imageSource: {},
|
|
@@ -1466,65 +236,65 @@ const ot = {
|
|
|
1466
236
|
cardColor: { default: "primary" }
|
|
1467
237
|
},
|
|
1468
238
|
emits: ["card-click"],
|
|
1469
|
-
setup(
|
|
1470
|
-
const
|
|
1471
|
-
|
|
1472
|
-
const
|
|
1473
|
-
const
|
|
1474
|
-
|
|
239
|
+
setup(t, { emit: v }) {
|
|
240
|
+
const n = t;
|
|
241
|
+
T();
|
|
242
|
+
const u = z(!1), b = v, h = g(() => {
|
|
243
|
+
const r = [
|
|
244
|
+
i.bgColorVariant({ color: n.cardColor })
|
|
1475
245
|
];
|
|
1476
|
-
return
|
|
1477
|
-
}),
|
|
246
|
+
return u.value && r.push("flip-card"), r.join(" ");
|
|
247
|
+
}), y = g(() => {
|
|
1478
248
|
const {
|
|
1479
|
-
titleSize:
|
|
1480
|
-
titleColor:
|
|
249
|
+
titleSize: r,
|
|
250
|
+
titleColor: d,
|
|
1481
251
|
showHighlight: e,
|
|
1482
|
-
highlightColor:
|
|
1483
|
-
highlightOpacity:
|
|
1484
|
-
} =
|
|
1485
|
-
|
|
1486
|
-
|
|
252
|
+
highlightColor: l,
|
|
253
|
+
highlightOpacity: a
|
|
254
|
+
} = n, o = [
|
|
255
|
+
i.h3Variant({ size: r }),
|
|
256
|
+
i.textColorVariant({ color: d })
|
|
1487
257
|
];
|
|
1488
|
-
return e && (
|
|
1489
|
-
|
|
1490
|
-
)),
|
|
1491
|
-
}), w = (
|
|
1492
|
-
|
|
258
|
+
return e && (o.push("px-xs py-2xs mb-2xs rounded"), o.push(i.bgColorVariant({ color: l })), o.push(
|
|
259
|
+
i.bgOpacityVariant({ opacity: a })
|
|
260
|
+
)), o.join(" ");
|
|
261
|
+
}), w = (r) => {
|
|
262
|
+
r.preventDefault(), u.value && b("card-click", r), u.value = !0;
|
|
1493
263
|
};
|
|
1494
|
-
return (
|
|
1495
|
-
class:
|
|
264
|
+
return (r, d) => (m(), C("div", {
|
|
265
|
+
class: c(["card relative aspect-square max-h-100 overflow-hidden transition duration-1600", h.value]),
|
|
1496
266
|
onClick: w
|
|
1497
267
|
}, [
|
|
1498
|
-
|
|
1499
|
-
src:
|
|
1500
|
-
alt:
|
|
1501
|
-
class:
|
|
1502
|
-
|
|
268
|
+
s("img", {
|
|
269
|
+
src: t.imageSource,
|
|
270
|
+
alt: t.imageAlt,
|
|
271
|
+
class: c([
|
|
272
|
+
u.value ? "opacity-100" : "opacity-0",
|
|
1503
273
|
"absolute aspect-square h-full w-full object-cover object-center transition-opacity delay-500 duration-800"
|
|
1504
274
|
])
|
|
1505
|
-
}, null, 10,
|
|
1506
|
-
|
|
1507
|
-
class:
|
|
1508
|
-
|
|
275
|
+
}, null, 10, U),
|
|
276
|
+
s("div", {
|
|
277
|
+
class: c([
|
|
278
|
+
u.value ? "cursor-pointer opacity-100" : "opacity-0",
|
|
1509
279
|
"relative flex h-full flex-col justify-end p-sm transition delay-500 duration-800"
|
|
1510
280
|
])
|
|
1511
281
|
}, [
|
|
1512
|
-
|
|
282
|
+
t.showTitle ? (m(), C("h3", {
|
|
1513
283
|
key: 0,
|
|
1514
|
-
class:
|
|
284
|
+
class: c(["relative self-start", y.value])
|
|
1515
285
|
}, [
|
|
1516
|
-
|
|
1517
|
-
], 2)) :
|
|
1518
|
-
A(
|
|
286
|
+
s("span", null, B(t.title), 1)
|
|
287
|
+
], 2)) : x("", !0),
|
|
288
|
+
A(r.$slots, "card-body", {}, void 0, !0)
|
|
1519
289
|
], 2)
|
|
1520
290
|
], 2));
|
|
1521
291
|
}
|
|
1522
|
-
}),
|
|
1523
|
-
const
|
|
1524
|
-
for (const [
|
|
1525
|
-
|
|
1526
|
-
return
|
|
1527
|
-
},
|
|
292
|
+
}), H = (t, v) => {
|
|
293
|
+
const n = t.__vccOpts || t;
|
|
294
|
+
for (const [u, b] of v)
|
|
295
|
+
n[u] = b;
|
|
296
|
+
return n;
|
|
297
|
+
}, it = /* @__PURE__ */ H(X, [["__scopeId", "data-v-eac7e2f0"]]), Y = { class: "flex flex-col overflow-hidden rounded-md" }, Z = ["src", "alt"], _ = ["href", "target"], tt = /* @__PURE__ */ L({
|
|
1528
298
|
__name: "MclCardD",
|
|
1529
299
|
props: {
|
|
1530
300
|
showImage: { type: Boolean, default: !0 },
|
|
@@ -1550,8 +320,8 @@ const ot = {
|
|
|
1550
320
|
customColor: {}
|
|
1551
321
|
},
|
|
1552
322
|
emits: ["card-click"],
|
|
1553
|
-
setup(
|
|
1554
|
-
const
|
|
323
|
+
setup(t, { emit: v }) {
|
|
324
|
+
const n = {
|
|
1555
325
|
primary: "from-primary",
|
|
1556
326
|
secondary: "from-secondary",
|
|
1557
327
|
success: "from-success",
|
|
@@ -1569,7 +339,7 @@ const ot = {
|
|
|
1569
339
|
black: "from-black",
|
|
1570
340
|
white: "from-white",
|
|
1571
341
|
transparent: "from-transparent"
|
|
1572
|
-
},
|
|
342
|
+
}, u = {
|
|
1573
343
|
primary: "via-primary",
|
|
1574
344
|
secondary: "via-secondary",
|
|
1575
345
|
success: "via-success",
|
|
@@ -1587,7 +357,7 @@ const ot = {
|
|
|
1587
357
|
black: "via-black",
|
|
1588
358
|
white: "via-white",
|
|
1589
359
|
transparent: "via-transparent"
|
|
1590
|
-
},
|
|
360
|
+
}, b = {
|
|
1591
361
|
primary: "to-primary",
|
|
1592
362
|
secondary: "to-secondary",
|
|
1593
363
|
success: "to-success",
|
|
@@ -1605,80 +375,80 @@ const ot = {
|
|
|
1605
375
|
black: "to-black",
|
|
1606
376
|
white: "to-white",
|
|
1607
377
|
transparent: "to-transparent"
|
|
1608
|
-
},
|
|
1609
|
-
|
|
1610
|
-
const
|
|
1611
|
-
const { titleSize:
|
|
378
|
+
}, h = t;
|
|
379
|
+
T();
|
|
380
|
+
const y = v, w = g(() => {
|
|
381
|
+
const { titleSize: a, titleColor: o } = h;
|
|
1612
382
|
return [
|
|
1613
|
-
|
|
1614
|
-
|
|
383
|
+
i.h2Variant({ size: a }),
|
|
384
|
+
i.textColorVariant({ color: o })
|
|
1615
385
|
].join(" ");
|
|
1616
|
-
}),
|
|
1617
|
-
const { ctaButton:
|
|
1618
|
-
return
|
|
386
|
+
}), r = g(() => {
|
|
387
|
+
const { ctaButton: a, ctaButtonColor: o, ctaButtonBlock: k } = h, f = [], p = ["light-1", "light-2", "light-3", "light-4"];
|
|
388
|
+
return a ? f.push(
|
|
1619
389
|
"btn",
|
|
1620
|
-
|
|
1621
|
-
) :
|
|
1622
|
-
}),
|
|
1623
|
-
"--border-width": `${
|
|
1624
|
-
})), e =
|
|
1625
|
-
const
|
|
390
|
+
i.btnColorVariant({ color: o })
|
|
391
|
+
) : f.push("mcl-link"), a && k && f.push("btn-full"), a && !p.includes(o) && f.push("text-white"), f.join(" ");
|
|
392
|
+
}), d = g(() => ({
|
|
393
|
+
"--border-width": `${h.borderWidth}px`
|
|
394
|
+
})), e = g(() => {
|
|
395
|
+
const a = n[h.borderColor], o = u[h.gradient1], k = b[h.gradient2];
|
|
1626
396
|
return [
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
397
|
+
i.borderColorVariant({ color: h.borderColor }),
|
|
398
|
+
a,
|
|
399
|
+
o,
|
|
400
|
+
k
|
|
1631
401
|
].join(" ");
|
|
1632
|
-
}),
|
|
1633
|
-
const { title:
|
|
1634
|
-
title:
|
|
1635
|
-
url:
|
|
1636
|
-
target:
|
|
402
|
+
}), l = (a) => {
|
|
403
|
+
const { title: o, ctaLink: k, ctaLinkTarget: f, ctaAsLink: p } = h, V = {
|
|
404
|
+
title: o,
|
|
405
|
+
url: k,
|
|
406
|
+
target: f || "_self"
|
|
1637
407
|
};
|
|
1638
|
-
!
|
|
408
|
+
!p && a.preventDefault(), y("card-click", a, V);
|
|
1639
409
|
};
|
|
1640
|
-
return (
|
|
1641
|
-
class:
|
|
1642
|
-
style:
|
|
410
|
+
return (a, o) => (m(), C("div", {
|
|
411
|
+
class: c(["card xs:w-auto w-full max-w-112.5 shrink-0 grow overflow-hidden rounded-md border from-20% sm:max-w-87.5", e.value]),
|
|
412
|
+
style: $(d.value)
|
|
1643
413
|
}, [
|
|
1644
|
-
|
|
1645
|
-
|
|
414
|
+
s("div", Y, [
|
|
415
|
+
t.showImage ? (m(), C("img", {
|
|
1646
416
|
key: 0,
|
|
1647
|
-
src:
|
|
417
|
+
src: t.imageSource,
|
|
1648
418
|
class: "max-h-50 min-w-full object-cover object-top",
|
|
1649
|
-
alt:
|
|
1650
|
-
}, null, 8,
|
|
1651
|
-
|
|
1652
|
-
class:
|
|
419
|
+
alt: t.imageAlt
|
|
420
|
+
}, null, 8, Z)) : x("", !0),
|
|
421
|
+
s("div", {
|
|
422
|
+
class: c(["p-xs", S(i).bgColorVariant({ color: t.bgColor })])
|
|
1653
423
|
}, [
|
|
1654
|
-
|
|
1655
|
-
class:
|
|
1656
|
-
},
|
|
1657
|
-
|
|
424
|
+
s("h3", {
|
|
425
|
+
class: c(["mb-xs", w.value])
|
|
426
|
+
}, B(t.title), 3),
|
|
427
|
+
t.showHighlight ? (m(), C("div", {
|
|
1658
428
|
key: 0,
|
|
1659
|
-
class:
|
|
1660
|
-
}, null, 2)) :
|
|
1661
|
-
|
|
1662
|
-
A(
|
|
429
|
+
class: c(["mb-xs h-3xs w-md", S(i).bgColorVariant({ color: t.highlightColor })])
|
|
430
|
+
}, null, 2)) : x("", !0),
|
|
431
|
+
s("div", null, [
|
|
432
|
+
A(a.$slots, "default", {}, void 0, !0)
|
|
1663
433
|
]),
|
|
1664
|
-
|
|
1665
|
-
class:
|
|
434
|
+
s("div", {
|
|
435
|
+
class: c(["mt-xs", { "mb-2xs": !t.ctaButton }])
|
|
1666
436
|
}, [
|
|
1667
|
-
|
|
1668
|
-
href:
|
|
1669
|
-
target:
|
|
1670
|
-
class:
|
|
1671
|
-
onClick:
|
|
1672
|
-
},
|
|
437
|
+
s("a", {
|
|
438
|
+
href: t.ctaLink,
|
|
439
|
+
target: t.ctaLinkTarget,
|
|
440
|
+
class: c(r.value),
|
|
441
|
+
onClick: l
|
|
442
|
+
}, B(t.ctaText), 11, _)
|
|
1673
443
|
], 2)
|
|
1674
444
|
], 2)
|
|
1675
445
|
])
|
|
1676
446
|
], 6));
|
|
1677
447
|
}
|
|
1678
|
-
}),
|
|
448
|
+
}), st = /* @__PURE__ */ H(tt, [["__scopeId", "data-v-8bf2cac0"]]);
|
|
1679
449
|
export {
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
450
|
+
ot as MclCardA,
|
|
451
|
+
rt as MclCardB,
|
|
452
|
+
it as MclCardC,
|
|
453
|
+
st as MclCardD
|
|
1684
454
|
};
|