@opens/ui 1.0.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.
- package/README.md +62 -0
- package/dist/buttons/button-primary.vue.d.ts +4 -0
- package/dist/buttons/button-primary.vue.d.ts.map +1 -0
- package/dist/buttons/button-secondary.vue.d.ts +4 -0
- package/dist/buttons/button-secondary.vue.d.ts.map +1 -0
- package/dist/cards/list-card.vue.d.ts +3 -0
- package/dist/cards/list-card.vue.d.ts.map +1 -0
- package/dist/cards/stat-card.vue.d.ts +4 -0
- package/dist/cards/stat-card.vue.d.ts.map +1 -0
- package/dist/dropdowns/select-dropdown.vue.d.ts +4 -0
- package/dist/dropdowns/select-dropdown.vue.d.ts.map +1 -0
- package/dist/dropdowns/simple-dropdown.vue.d.ts +4 -0
- package/dist/dropdowns/simple-dropdown.vue.d.ts.map +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/inputs/icon-text-input.vue.d.ts +4 -0
- package/dist/inputs/icon-text-input.vue.d.ts.map +1 -0
- package/dist/inputs/switch-checkbox.vue.d.ts +4 -0
- package/dist/inputs/switch-checkbox.vue.d.ts.map +1 -0
- package/dist/inputs/text-input.vue.d.ts +4 -0
- package/dist/inputs/text-input.vue.d.ts.map +1 -0
- package/dist/main.d.ts +3 -0
- package/dist/simple-dropdown-item.vue.d.ts +3 -0
- package/dist/simple-dropdown-item.vue.d.ts.map +1 -0
- package/dist/src/components/buttons/button-primary.vue.d.ts +50 -0
- package/dist/src/components/buttons/button-secondary.vue.d.ts +50 -0
- package/dist/src/components/cards/list-card.vue.d.ts +2 -0
- package/dist/src/components/cards/stat-card.vue.d.ts +50 -0
- package/dist/src/components/dropdowns/select-dropdown.vue.d.ts +26 -0
- package/dist/src/components/dropdowns/simple-dropdown-item.vue.d.ts +2 -0
- package/dist/src/components/dropdowns/simple-dropdown.vue.d.ts +23 -0
- package/dist/src/components/inputs/icon-text-input.vue.d.ts +85 -0
- package/dist/src/components/inputs/switch-checkbox.vue.d.ts +33 -0
- package/dist/src/components/inputs/text-input.vue.d.ts +41 -0
- package/dist/src/main.d.ts +16 -0
- package/dist/yunique-ui.cjs.js +1 -0
- package/dist/yunique-ui.css +1 -0
- package/dist/yunique-ui.es.js +373 -0
- package/dist/yunique-ui.umd.js +2 -0
- package/package.json +69 -0
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
import { defineComponent as v, ref as i, watch as $, openBlock as p, createElementBlock as f, createElementVNode as t, toDisplayString as c, normalizeClass as y, withDirectives as b, withKeys as _, vModelDynamic as C, vModelText as V, renderSlot as g, vShow as h, createVNode as w, withCtx as D, vModelCheckbox as I, createTextVNode as T } from "vue";
|
|
2
|
+
const N = { class: "simple-input" }, P = { class: "yu-flex yu-h-full yu-pl-2" }, E = { class: "material-icons yu-text-gray-700 yu-my-auto" }, K = ["placeholder", "type", "maxlength"], M = /* @__PURE__ */ v({
|
|
3
|
+
__name: "icon-text-input",
|
|
4
|
+
props: {
|
|
5
|
+
value: null,
|
|
6
|
+
label: null,
|
|
7
|
+
icon: null,
|
|
8
|
+
placeholder: null,
|
|
9
|
+
type: null,
|
|
10
|
+
tooltip: null,
|
|
11
|
+
caract: null,
|
|
12
|
+
invalid: { type: Boolean }
|
|
13
|
+
},
|
|
14
|
+
emits: ["blur", "focus", "input"],
|
|
15
|
+
setup(e, { emit: u }) {
|
|
16
|
+
const n = e;
|
|
17
|
+
i(!1);
|
|
18
|
+
const l = i(n.value);
|
|
19
|
+
i(!1);
|
|
20
|
+
const a = i(n.type), s = i(!1);
|
|
21
|
+
$(s, (d) => {
|
|
22
|
+
if (!d) {
|
|
23
|
+
u("blur");
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
u("focus");
|
|
27
|
+
});
|
|
28
|
+
function r() {
|
|
29
|
+
return !(s.value || l.value);
|
|
30
|
+
}
|
|
31
|
+
function x(d) {
|
|
32
|
+
u("input", d.target.value);
|
|
33
|
+
}
|
|
34
|
+
return (d, o) => (p(), f("div", N, [
|
|
35
|
+
t("div", P, [
|
|
36
|
+
t("i", E, c(e.icon), 1),
|
|
37
|
+
t("p", {
|
|
38
|
+
class: y(["yu-text-gray-500 yu-font-plus yu-font-medium yu-p-1 yu-px-2 yu-transition", { "yu-translate-y-2 yu-text-sm": r(), "yu-translate-y-0 yu-text-xs": !r() }])
|
|
39
|
+
}, c(e.label), 3)
|
|
40
|
+
]),
|
|
41
|
+
b(t("input", {
|
|
42
|
+
class: "yu-pl-8 yu-absolute yu-w-full yu-h-full yu-outline-none yu-bg-transparent yu-appearence-none yu-indent-2 yu-pt-3 yu-font-plus yu-font-semibold yu-text-gray-800",
|
|
43
|
+
placeholder: e.placeholder,
|
|
44
|
+
onInput: x,
|
|
45
|
+
onFocus: o[0] || (o[0] = (m) => s.value = !0),
|
|
46
|
+
onBlur: o[1] || (o[1] = (m) => s.value = !1),
|
|
47
|
+
"onUpdate:modelValue": o[2] || (o[2] = (m) => l.value = m),
|
|
48
|
+
type: a.value || e.type,
|
|
49
|
+
onKeyup: o[3] || (o[3] = _((m) => d.$emit("keyup-enter"), ["enter"])),
|
|
50
|
+
maxlength: e.caract
|
|
51
|
+
}, null, 40, K), [
|
|
52
|
+
[C, l.value]
|
|
53
|
+
])
|
|
54
|
+
]));
|
|
55
|
+
}
|
|
56
|
+
}), U = ["disabled"], k = /* @__PURE__ */ v({
|
|
57
|
+
__name: "text-input",
|
|
58
|
+
props: {
|
|
59
|
+
modelValue: null,
|
|
60
|
+
label: null,
|
|
61
|
+
invalid: { type: Boolean },
|
|
62
|
+
disabled: { type: Boolean }
|
|
63
|
+
},
|
|
64
|
+
emits: ["update:model-value", "blur", "press-enter"],
|
|
65
|
+
setup(e, { emit: u }) {
|
|
66
|
+
const l = i(e.modelValue), a = i(!1);
|
|
67
|
+
function s() {
|
|
68
|
+
return !(a.value || l.value);
|
|
69
|
+
}
|
|
70
|
+
function r(d) {
|
|
71
|
+
u(d);
|
|
72
|
+
}
|
|
73
|
+
function x(d) {
|
|
74
|
+
const o = d.target;
|
|
75
|
+
u("update:model-value", o.value);
|
|
76
|
+
}
|
|
77
|
+
return (d, o) => (p(), f("div", {
|
|
78
|
+
class: y(["simple-input", { "yu-border-red-500": e.invalid }])
|
|
79
|
+
}, [
|
|
80
|
+
t("p", {
|
|
81
|
+
class: y(["yu-text-gray-500 yu-font-plus yu-font-medium yu-p-1 yu-px-2 yu-transition", { "yu-translate-y-1/4 yu-text-sm": s(), "yu-translate-x-0 yu-text-xs": !s() }])
|
|
82
|
+
}, c(e.label), 3),
|
|
83
|
+
b(t("input", {
|
|
84
|
+
class: "yu-absolute yu-w-full yu-h-full yu-outline-none yu-bg-transparent yu-appearence-none yu-indent-2 yu-pt-3 yu-font-plus yu-font-semibold yu-text-gray-800 dark:yu-text-gray-200",
|
|
85
|
+
"onUpdate:modelValue": o[0] || (o[0] = (m) => l.value = m),
|
|
86
|
+
type: "text",
|
|
87
|
+
disabled: e.disabled,
|
|
88
|
+
onInput: x,
|
|
89
|
+
onKeyup: o[1] || (o[1] = _((m) => r("press-enter"), ["enter"])),
|
|
90
|
+
onFocus: o[2] || (o[2] = (m) => a.value = !0),
|
|
91
|
+
onBlur: o[3] || (o[3] = (m) => a.value = !1)
|
|
92
|
+
}, null, 40, U), [
|
|
93
|
+
[V, l.value]
|
|
94
|
+
])
|
|
95
|
+
], 2));
|
|
96
|
+
}
|
|
97
|
+
}), F = ["checked"], L = /* @__PURE__ */ v({
|
|
98
|
+
__name: "switch-checkbox",
|
|
99
|
+
props: {
|
|
100
|
+
modelValue: { type: Boolean },
|
|
101
|
+
invalid: { type: Boolean },
|
|
102
|
+
disabled: { type: Boolean }
|
|
103
|
+
},
|
|
104
|
+
emits: ["update:modelValue", "change", "input"],
|
|
105
|
+
setup(e, { emit: u }) {
|
|
106
|
+
const l = i(e.modelValue);
|
|
107
|
+
return i(!1), $(l, (a) => {
|
|
108
|
+
u("update:modelValue", a);
|
|
109
|
+
}), (a, s) => (p(), f("div", {
|
|
110
|
+
class: "yu-relative yu-inline-block yu-w-10 yu-align-middle yu-select-none yu-transition yu-duration-200 yu-ease-in",
|
|
111
|
+
onClick: s[0] || (s[0] = (r) => l.value = !l.value)
|
|
112
|
+
}, [
|
|
113
|
+
t("input", {
|
|
114
|
+
class: "yu-absolute yu-block yu-w-6 yu-h-6 yu-bg-white yu-border-4 yu-rounded-full yu-appearance-none yu-cursor-pointer toggle-checkbox checked:yu-right-0 checked:yu-border-primary-500",
|
|
115
|
+
type: "checkbox",
|
|
116
|
+
checked: l.value
|
|
117
|
+
}, null, 8, F),
|
|
118
|
+
t("label", {
|
|
119
|
+
class: y(["yu-block yu-h-6 yu-overflow-hidden yu-bg-gray-300 yu-rounded-full yu-cursor-pointer yu-toggle-label", { "yu-bg-primary-500": l.value }]),
|
|
120
|
+
for: "toggle"
|
|
121
|
+
}, null, 2)
|
|
122
|
+
]));
|
|
123
|
+
}
|
|
124
|
+
}), j = /* @__PURE__ */ v({
|
|
125
|
+
__name: "button-primary",
|
|
126
|
+
props: {
|
|
127
|
+
large: {
|
|
128
|
+
type: Boolean,
|
|
129
|
+
default: !1
|
|
130
|
+
},
|
|
131
|
+
small: {
|
|
132
|
+
type: Boolean,
|
|
133
|
+
default: !1
|
|
134
|
+
},
|
|
135
|
+
warning: {
|
|
136
|
+
type: Boolean,
|
|
137
|
+
default: !1
|
|
138
|
+
},
|
|
139
|
+
alert: {
|
|
140
|
+
type: Boolean,
|
|
141
|
+
default: !1
|
|
142
|
+
},
|
|
143
|
+
success: {
|
|
144
|
+
type: Boolean,
|
|
145
|
+
default: !1
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
setup(e) {
|
|
149
|
+
return (u, n) => (p(), f("button", {
|
|
150
|
+
class: y(["yu-bg-primary yu-px-5 yu-p-2 yu-w-fit yu-text-base yu-text-white yu-rounded-md yu-transition-all yu-font-plus yu-font-bold yu-truncate hover:yu-brightness-90 active:yu-scale-95", { "!yu-px-7 !yu-p-4": e.large, "!yu-px-3 !yu-p-1": e.small, "!yu-bg-red-500": e.warning, "!yu-bg-yellow-400": e.alert, "!yu-bg-green-400": e.success }])
|
|
151
|
+
}, [
|
|
152
|
+
g(u.$slots, "default")
|
|
153
|
+
], 2));
|
|
154
|
+
}
|
|
155
|
+
}), q = /* @__PURE__ */ v({
|
|
156
|
+
__name: "button-secondary",
|
|
157
|
+
props: {
|
|
158
|
+
large: {
|
|
159
|
+
type: Boolean,
|
|
160
|
+
default: !1
|
|
161
|
+
},
|
|
162
|
+
small: {
|
|
163
|
+
type: Boolean,
|
|
164
|
+
default: !1
|
|
165
|
+
},
|
|
166
|
+
warning: {
|
|
167
|
+
type: Boolean,
|
|
168
|
+
default: !1
|
|
169
|
+
},
|
|
170
|
+
alert: {
|
|
171
|
+
type: Boolean,
|
|
172
|
+
default: !1
|
|
173
|
+
},
|
|
174
|
+
success: {
|
|
175
|
+
type: Boolean,
|
|
176
|
+
default: !1
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
setup(e) {
|
|
180
|
+
return (u, n) => (p(), f("button", {
|
|
181
|
+
class: y(["yu-text-primary yu-bg-primary yu-text-base yu-w-fit yu-px-5 yu-p-2 yu-rounded-md yu-transition-all yu-font-plus yu-font-bold yu-truncate !yu-bg-opacity-5 group hover:!yu-bg-opacity-10 active:yu-scale-95 active:!yu-bg-opacity-20", { "!yu-text-lg": e.large, "!yu-text-sm": e.small, "!yu-text-red-500 !yu-bg-red-500": e.warning, "!yu-text-yellow-400 !yu-bg-yellow-400": e.alert, "!yu-text-green-400 !yu-bg-green-400": e.success }])
|
|
182
|
+
}, [
|
|
183
|
+
g(u.$slots, "default")
|
|
184
|
+
], 2));
|
|
185
|
+
}
|
|
186
|
+
}), z = { class: "yu-transition yu-text-gray-900 yu-font-plus yu-text-sm yu-p-2 yu-font-semibold yu-rounded-md yu-cursor-pointer yu-flex yu-items-center active:yu-scale-95 hover:yu-bg-primary-500 hover:!yu-bg-opacity-10 hover:yu-text-primary-400" };
|
|
187
|
+
function A(e, u) {
|
|
188
|
+
return p(), f("div", z, [
|
|
189
|
+
g(e.$slots, "default")
|
|
190
|
+
]);
|
|
191
|
+
}
|
|
192
|
+
const B = (e, u) => {
|
|
193
|
+
const n = e.__vccOpts || e;
|
|
194
|
+
for (const [l, a] of u)
|
|
195
|
+
n[l] = a;
|
|
196
|
+
return n;
|
|
197
|
+
};
|
|
198
|
+
var O = {};
|
|
199
|
+
const S = /* @__PURE__ */ B(O, [["render", A]]), G = { class: "yu-relative yu-w-full" }, H = { class: "yu-text-gray-700 yu-font-plus yu-font-medium yu-text-base yu-mr-2" }, J = { class: "yu-mt-2 yu-w-full yu-bg-white yu-rounded-md yu-flex yu-flex-col yu-gap-1 yu-shadow-md yu-absolute" }, Q = /* @__PURE__ */ v({
|
|
200
|
+
__name: "simple-dropdown",
|
|
201
|
+
props: {
|
|
202
|
+
label: {
|
|
203
|
+
type: String,
|
|
204
|
+
default: "Dropdown"
|
|
205
|
+
},
|
|
206
|
+
icon: {
|
|
207
|
+
type: String,
|
|
208
|
+
default: null
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
setup(e) {
|
|
212
|
+
const u = i(!1);
|
|
213
|
+
return (n, l) => (p(), f("div", null, [
|
|
214
|
+
t("div", G, [
|
|
215
|
+
t("button", {
|
|
216
|
+
class: y(["yu-ml-auto yu-bg-gray-700 yu-bg-opacity-0 yu-px-3 yu-p-2 yu-rounded-md yu-flex yu-gap-1 yu-transition hover:yu-bg-opacity-10 yu-group active:yu-bg-primary-500 active:!yu-bg-opacity-10 active:yu-scale-95", { "!yu-bg-primary-500 !yu-bg-opacity-10": u.value }]),
|
|
217
|
+
onClick: l[0] || (l[0] = (a) => u.value = !u.value)
|
|
218
|
+
}, [
|
|
219
|
+
b(t("i", {
|
|
220
|
+
class: y(["material-icons yu-text-gray-700 yu-h-fit", { "yu-text-primary-500": u.value }])
|
|
221
|
+
}, c(e.icon), 3), [
|
|
222
|
+
[h, e.icon]
|
|
223
|
+
]),
|
|
224
|
+
t("div", H, c(e.label), 1),
|
|
225
|
+
t("i", {
|
|
226
|
+
class: y(["material-icons yu-text-gray-700 yu-h-fit yu-ml-auto", { "yu-text-primary-500 yu-rotate-180": u.value }])
|
|
227
|
+
}, " keyboard_arrow_down", 2)
|
|
228
|
+
], 2),
|
|
229
|
+
b(t("div", J, [
|
|
230
|
+
t("div", {
|
|
231
|
+
class: "yu-w-full yu-rounded-md yu-p-2",
|
|
232
|
+
onClick: l[1] || (l[1] = (a) => u.value = !1)
|
|
233
|
+
}, [
|
|
234
|
+
g(n.$slots, "default")
|
|
235
|
+
])
|
|
236
|
+
], 512), [
|
|
237
|
+
[h, u.value]
|
|
238
|
+
])
|
|
239
|
+
])
|
|
240
|
+
]));
|
|
241
|
+
}
|
|
242
|
+
}), R = { class: "yu-w-fit" }, W = { class: "yu-text-gray-700 yu-font-plus yu-font-medium yu-text-base yu-mr-2" }, X = { class: "yu-mt-2 yu-w-full yu-bg-white yu-rounded-md yu-shadow-md" }, Y = { class: "yu-w-full yu-rounded-md yu-p-2 yu-flex yu-flex-col yu-gap-1" }, Z = /* @__PURE__ */ t("div", { class: "yu-text-gray-700 yu-text-xs" }, "Selecionar todos", -1), ee = /* @__PURE__ */ v({
|
|
243
|
+
__name: "select-dropdown",
|
|
244
|
+
props: {
|
|
245
|
+
label: {
|
|
246
|
+
type: String,
|
|
247
|
+
default: "Dropdown"
|
|
248
|
+
},
|
|
249
|
+
icon: {
|
|
250
|
+
type: String,
|
|
251
|
+
default: "input"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
emits: ["select-all", "deselect-all"],
|
|
255
|
+
setup(e, { emit: u }) {
|
|
256
|
+
const n = i(!1), l = i(!1), a = () => {
|
|
257
|
+
if (l.value = !l.value, l.value) {
|
|
258
|
+
u("select-all");
|
|
259
|
+
return;
|
|
260
|
+
}
|
|
261
|
+
u("deselect-all");
|
|
262
|
+
};
|
|
263
|
+
return (s, r) => (p(), f("div", R, [
|
|
264
|
+
t("button", {
|
|
265
|
+
class: y(["yu-bg-gray-700 yu-bg-opacity-0 yu-px-3 yu-p-2 yu-rounded-md yu-flex yu-gap-1 yu-transition hover:yu-bg-opacity-10 yu-group active:yu-bg-primary-500 active:!yu-bg-opacity-10 active:yu-scale-95", { "!yu-bg-primary-500 !yu-bg-opacity-10": n.value }]),
|
|
266
|
+
onClick: r[0] || (r[0] = (x) => n.value = !n.value)
|
|
267
|
+
}, [
|
|
268
|
+
t("i", {
|
|
269
|
+
class: y(["material-icons yu-text-gray-700 yu-h-fit", { "yu-text-primary-500": n.value }])
|
|
270
|
+
}, c(e.icon), 3),
|
|
271
|
+
t("div", W, c(e.label), 1),
|
|
272
|
+
t("i", {
|
|
273
|
+
class: y(["material-icons yu-text-gray-700 yu-h-fit yu-ml-auto", { "yu-text-primary-500 yu-rotate-180": n.value }])
|
|
274
|
+
}, " keyboard_arrow_down", 2)
|
|
275
|
+
], 2),
|
|
276
|
+
b(t("div", X, [
|
|
277
|
+
t("div", Y, [
|
|
278
|
+
w(k, { label: "Dropdown" }),
|
|
279
|
+
w(S, {
|
|
280
|
+
onClick: r[2] || (r[2] = (x) => a())
|
|
281
|
+
}, {
|
|
282
|
+
default: D(() => [
|
|
283
|
+
Z,
|
|
284
|
+
b(t("input", {
|
|
285
|
+
class: "yu-ml-auto yu-accent-primary-500 yu-border-2 yu-cursor-pointer",
|
|
286
|
+
type: "checkbox",
|
|
287
|
+
"onUpdate:modelValue": r[1] || (r[1] = (x) => l.value = x)
|
|
288
|
+
}, null, 512), [
|
|
289
|
+
[I, l.value]
|
|
290
|
+
])
|
|
291
|
+
]),
|
|
292
|
+
_: 1
|
|
293
|
+
}),
|
|
294
|
+
g(s.$slots, "default")
|
|
295
|
+
])
|
|
296
|
+
], 512), [
|
|
297
|
+
[h, n.value]
|
|
298
|
+
])
|
|
299
|
+
]));
|
|
300
|
+
}
|
|
301
|
+
}), te = { class: "yu-border yu-border-gray-100 yu-rounded-md yu-py-4 yu-px-3 yu-bg-white yu-flex yu-flex-col yu-justify-center yu-shadow-2xl yu-shadow-gray-100" }, ue = { class: "yu-flex yu-gap-5 yu-px-2" }, le = { class: "yu-flex yu-flex-col" }, ne = { class: "yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center" }, oe = { class: "yu-font-plus yu-text-xs yu-text-gray-400" }, ae = { class: "yu-font-plus yu-text-gray-400 yu-font-medium yu-text-sm" }, ye = /* @__PURE__ */ v({
|
|
302
|
+
__name: "stat-card",
|
|
303
|
+
props: {
|
|
304
|
+
icon: {
|
|
305
|
+
type: String,
|
|
306
|
+
default: "assignment"
|
|
307
|
+
},
|
|
308
|
+
bad: {
|
|
309
|
+
type: Boolean,
|
|
310
|
+
default: !1
|
|
311
|
+
},
|
|
312
|
+
good: {
|
|
313
|
+
type: Boolean,
|
|
314
|
+
default: !1
|
|
315
|
+
},
|
|
316
|
+
comparison: {
|
|
317
|
+
type: Number,
|
|
318
|
+
default: 0
|
|
319
|
+
},
|
|
320
|
+
total: {
|
|
321
|
+
type: Number,
|
|
322
|
+
default: 100
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
setup(e) {
|
|
326
|
+
return (u, n) => (p(), f("div", te, [
|
|
327
|
+
t("div", ue, [
|
|
328
|
+
t("i", {
|
|
329
|
+
class: y(["yu-aspect-square material-icons yu-bg-yellow-100 yu-text-yellow-500 yu-h-14 yu-w-14 yu-place-items-center yu-rounded-full !yu-text-1xl !yu-grid", { "!yu-text-red-500 !yu-bg-red-100": e.bad, "!yu-text-green-500 !yu-bg-green-100": e.good }])
|
|
330
|
+
}, c(e.icon), 3),
|
|
331
|
+
t("div", le, [
|
|
332
|
+
t("div", ne, [
|
|
333
|
+
T(c(e.comparison), 1),
|
|
334
|
+
t("span", oe, "/" + c(e.total), 1)
|
|
335
|
+
]),
|
|
336
|
+
t("p", ae, [
|
|
337
|
+
g(u.$slots, "default")
|
|
338
|
+
])
|
|
339
|
+
])
|
|
340
|
+
])
|
|
341
|
+
]));
|
|
342
|
+
}
|
|
343
|
+
}), se = { class: "yu-border yu-border-gray-100 yu-rounded-md yu-py-5 yu-px-5 yu-bg-white yu-shadow-md yu-shadow-gray-100" }, re = { class: "yu-font-plus yu-text-gray-800 yu-font-semibold yu-text-lg" }, ie = { class: "yu-mt-2 yu-flex yu-flex-col" };
|
|
344
|
+
function de(e, u) {
|
|
345
|
+
return p(), f("div", se, [
|
|
346
|
+
t("div", re, [
|
|
347
|
+
g(e.$slots, "heading")
|
|
348
|
+
]),
|
|
349
|
+
t("div", ie, [
|
|
350
|
+
g(e.$slots, "list")
|
|
351
|
+
])
|
|
352
|
+
]);
|
|
353
|
+
}
|
|
354
|
+
var ce = {};
|
|
355
|
+
const pe = /* @__PURE__ */ B(ce, [["render", de]]);
|
|
356
|
+
const me = {
|
|
357
|
+
install: (e) => {
|
|
358
|
+
e.component("TextInput", k), e.component("IconTextInput", M), e.component("SwitchCheckbox", L), e.component("ButtonPrimary", j), e.component("ButtonSecondary", q), e.component("SimpleDropdown", Q), e.component("SelectDropdown", ee), e.component("SimpleDropdownItem", S), e.component("StatCard", ye), e.component("ListCard", pe);
|
|
359
|
+
}
|
|
360
|
+
};
|
|
361
|
+
export {
|
|
362
|
+
j as ButtonPrimary,
|
|
363
|
+
q as ButtonSecondary,
|
|
364
|
+
M as IconTextInput,
|
|
365
|
+
pe as ListCard,
|
|
366
|
+
ee as SelectDropdown,
|
|
367
|
+
Q as SimpleDropdown,
|
|
368
|
+
S as SimpleDropdownItem,
|
|
369
|
+
ye as StatCard,
|
|
370
|
+
L as SwitchCheckbox,
|
|
371
|
+
k as TextInput,
|
|
372
|
+
me as default
|
|
373
|
+
};
|