@wikicasa-dev/components 1.7.54 → 1.8.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/dist/BaseCard.js +36 -2
- package/dist/BaseInput.js +53 -52
- package/dist/UIKit/BaseInput.vue.d.ts +2 -0
- package/dist/assets/BaseCard.css +1 -1
- package/dist/assets/BaseInput.css +1 -1
- package/dist/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunks/BaseCard.vue_vue_type_style_index_0_lang.CHBFU8rV.js +0 -37
package/dist/BaseCard.js
CHANGED
|
@@ -1,4 +1,38 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent as p, computed as t, openBlock as C, createBlock as u, resolveDynamicComponent as f, normalizeClass as a, withCtx as v, createElementVNode as r, renderSlot as d } from "vue";
|
|
2
|
+
import { _ as y } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
3
|
+
import './assets/BaseCard.css';const g = /* @__PURE__ */ p({
|
|
4
|
+
__name: "BaseCard",
|
|
5
|
+
props: {
|
|
6
|
+
type: { default: "" },
|
|
7
|
+
rootComponent: { default: "div" },
|
|
8
|
+
cardImgClasses: { default: "" },
|
|
9
|
+
cardBodyClasses: { default: "" }
|
|
10
|
+
},
|
|
11
|
+
emits: ["click"],
|
|
12
|
+
setup(c, { emit: l }) {
|
|
13
|
+
const n = l, s = c, i = t(
|
|
14
|
+
() => s.type === "news" ? "news-card" : s.type
|
|
15
|
+
), m = t(() => s.type ? `${s.type}-img` : "");
|
|
16
|
+
return (e, o) => (C(), u(f(e.rootComponent), {
|
|
17
|
+
class: a(["card", [i.value]]),
|
|
18
|
+
onClick: o[0] || (o[0] = (B) => n("click"))
|
|
19
|
+
}, {
|
|
20
|
+
default: v(() => [
|
|
21
|
+
r("div", {
|
|
22
|
+
class: a(["card-img", [m.value, e.cardImgClasses]])
|
|
23
|
+
}, [
|
|
24
|
+
d(e.$slots, "card-image", {}, void 0, !0)
|
|
25
|
+
], 2),
|
|
26
|
+
r("div", {
|
|
27
|
+
class: a(["card-body", [e.cardBodyClasses]])
|
|
28
|
+
}, [
|
|
29
|
+
d(e.$slots, "card-description", {}, void 0, !0)
|
|
30
|
+
], 2)
|
|
31
|
+
]),
|
|
32
|
+
_: 3
|
|
33
|
+
}, 8, ["class"]));
|
|
34
|
+
}
|
|
35
|
+
}), I = /* @__PURE__ */ y(g, [["__scopeId", "data-v-245e50e1"]]);
|
|
2
36
|
export {
|
|
3
|
-
|
|
37
|
+
I as default
|
|
4
38
|
};
|
package/dist/BaseInput.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as N, mergeModels as M, useModel as O, ref as p, watch as
|
|
1
|
+
import { defineComponent as N, mergeModels as M, useModel as O, ref as p, watch as c, useAttrs as j, openBlock as s, createElementBlock as d, normalizeClass as m, unref as o, renderSlot as v, createElementVNode as h, withModifiers as g, withKeys as D, createBlock as G, createCommentVNode as w, Fragment as C, renderList as B } from "vue";
|
|
2
2
|
import J from "./BaseFloatingLabel.js";
|
|
3
3
|
import { useFloatingLabel as Q } from "./useFloatingLabel.js";
|
|
4
4
|
import { _ as R } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
@@ -19,66 +19,66 @@ import './assets/BaseInput.css';const W = ["id", "data-cy", "name", "autocomplet
|
|
|
19
19
|
modelValue: { default: "" },
|
|
20
20
|
modelModifiers: {}
|
|
21
21
|
}),
|
|
22
|
-
emits: /* @__PURE__ */ M(["click", "keydownEnterPressed", "focusin", "focusout", "keydown"], ["update:modelValue"]),
|
|
22
|
+
emits: /* @__PURE__ */ M(["click", "keydownEnterPressed", "focusin", "focusout", "keydown", "keyup"], ["update:modelValue"]),
|
|
23
23
|
setup(y, { expose: E, emit: H }) {
|
|
24
|
-
const
|
|
25
|
-
labelState:
|
|
24
|
+
const a = y, u = O(y, "modelValue"), l = p(""), k = H, {
|
|
25
|
+
labelState: r,
|
|
26
26
|
handleFocusIn: P,
|
|
27
27
|
handleFocusOut: V,
|
|
28
28
|
setInlineLabel: F,
|
|
29
29
|
setFloatingLabel: L
|
|
30
|
-
} = Q(
|
|
31
|
-
|
|
30
|
+
} = Q(k), n = p("text"), f = p({}), b = p(null), q = () => {
|
|
31
|
+
a.feedback && (f.value = a.feedback, a.feedback.valid && typeof a.feedback.valid == "string" && (f.value.valid = [a.feedback.valid]), a.feedback.invalid && typeof a.feedback.invalid == "string" && (f.value.invalid = [a.feedback.invalid]));
|
|
32
32
|
}, T = (e, i) => {
|
|
33
|
-
if (!
|
|
33
|
+
if (!a.formatter || !a.formatter.formatFn)
|
|
34
34
|
return l.value = e, "";
|
|
35
|
-
const
|
|
36
|
-
return i && (i.value =
|
|
35
|
+
const t = e.length ? a.formatter.formatFn(e) : e;
|
|
36
|
+
return i && (i.value = t), l.value = t, t;
|
|
37
37
|
}, I = (e, i = !0) => {
|
|
38
|
-
if (i && (!
|
|
39
|
-
return
|
|
40
|
-
if (!i || !
|
|
38
|
+
if (i && (!a.formatter || !a.formatter.unFormatFn))
|
|
39
|
+
return u.value = e, "";
|
|
40
|
+
if (!i || !a.formatter || !a.formatter.unFormatFn)
|
|
41
41
|
return;
|
|
42
|
-
const
|
|
43
|
-
return
|
|
42
|
+
const t = a.formatter.unFormatFn(e);
|
|
43
|
+
return u.value = t ?? "", t;
|
|
44
44
|
}, z = ({ target: e }) => {
|
|
45
|
-
const i = e,
|
|
45
|
+
const i = e, t = I(i.value);
|
|
46
46
|
T(
|
|
47
|
-
`${
|
|
48
|
-
|
|
47
|
+
`${t}`,
|
|
48
|
+
t === u.value ? i : void 0
|
|
49
49
|
);
|
|
50
|
+
}, K = () => {
|
|
51
|
+
u.value = "", F();
|
|
50
52
|
}, S = () => {
|
|
51
|
-
r.value = "", F();
|
|
52
|
-
}, A = () => {
|
|
53
53
|
n.value === "password" ? n.value = "text" : n.value === "text" && (n.value = "password");
|
|
54
54
|
};
|
|
55
|
-
|
|
56
|
-
() =>
|
|
55
|
+
c(
|
|
56
|
+
() => a.feedback,
|
|
57
57
|
() => {
|
|
58
58
|
q();
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
immediate: !0
|
|
62
62
|
}
|
|
63
|
-
),
|
|
64
|
-
|
|
63
|
+
), c(
|
|
64
|
+
u,
|
|
65
65
|
(e) => {
|
|
66
66
|
T(
|
|
67
67
|
`${e}`,
|
|
68
68
|
I(`${e}`, !1) === e ? b.value : void 0
|
|
69
|
-
), l.value != null && l.value.length > 0 &&
|
|
69
|
+
), l.value != null && l.value.length > 0 && r.value !== "floating-label" ? L() : !l.value && document && document.activeElement !== b.value && F();
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
immediate: !0
|
|
73
73
|
}
|
|
74
|
-
),
|
|
75
|
-
() =>
|
|
74
|
+
), c(
|
|
75
|
+
() => a.keepFloatingLabel,
|
|
76
76
|
(e) => {
|
|
77
|
-
e ? L() : V(
|
|
77
|
+
e ? L() : V(u.value);
|
|
78
78
|
}
|
|
79
79
|
);
|
|
80
|
-
const
|
|
81
|
-
return n.value =
|
|
80
|
+
const A = j();
|
|
81
|
+
return n.value = A.type || "text", E({
|
|
82
82
|
select: () => {
|
|
83
83
|
b.value?.select();
|
|
84
84
|
}
|
|
@@ -87,7 +87,7 @@ import './assets/BaseInput.css';const W = ["id", "data-cy", "name", "autocomplet
|
|
|
87
87
|
e.$attrs.class,
|
|
88
88
|
{ "uikit-h-12": e.labelText },
|
|
89
89
|
{ "floating-label": e.labelText },
|
|
90
|
-
o(
|
|
90
|
+
o(r) === "floating-label" ? "floating-state" : "inline-state",
|
|
91
91
|
{
|
|
92
92
|
"has-right-icon": e.$attrs["with-right-icon"] !== void 0 ? e.$attrs["with-right-icon"] : !!e.$slots.righticon
|
|
93
93
|
},
|
|
@@ -99,11 +99,11 @@ import './assets/BaseInput.css';const W = ["id", "data-cy", "name", "autocomplet
|
|
|
99
99
|
}, [
|
|
100
100
|
v(e.$slots, "leftIcon", {}, void 0, !0),
|
|
101
101
|
v(e.$slots, "righticon", {
|
|
102
|
-
handleClean:
|
|
103
|
-
handleShowPasswd:
|
|
102
|
+
handleClean: K,
|
|
103
|
+
handleShowPasswd: S,
|
|
104
104
|
curType: n.value
|
|
105
105
|
}, void 0, !0),
|
|
106
|
-
|
|
106
|
+
h("input", {
|
|
107
107
|
id: e.$attrs.id,
|
|
108
108
|
ref_key: "baseInputEl",
|
|
109
109
|
ref: b,
|
|
@@ -134,17 +134,18 @@ import './assets/BaseInput.css';const W = ["id", "data-cy", "name", "autocomplet
|
|
|
134
134
|
maxlength: e.$attrs.maxlength,
|
|
135
135
|
inputmode: e.$attrs.inputmode,
|
|
136
136
|
placeholder: e.$attrs.placeholder,
|
|
137
|
-
onClick: i[0] || (i[0] = (
|
|
137
|
+
onClick: i[0] || (i[0] = (t) => k("click", t)),
|
|
138
138
|
onFocusin: i[1] || (i[1] = g(() => e.labelText && o(P)(), ["stop"])),
|
|
139
|
-
onFocusout: i[2] || (i[2] = g((
|
|
139
|
+
onFocusout: i[2] || (i[2] = g((t) => e.labelText && !e.keepFloatingLabel && o(V)(l.value), ["stop"])),
|
|
140
140
|
onInput: g(z, ["stop"]),
|
|
141
141
|
value: l.value,
|
|
142
142
|
onKeydown: [
|
|
143
|
-
i[3] || (i[3] = D(() =>
|
|
144
|
-
i[4] || (i[4] = (
|
|
145
|
-
]
|
|
143
|
+
i[3] || (i[3] = D(() => k("keydownEnterPressed"), ["enter"])),
|
|
144
|
+
i[4] || (i[4] = (t) => k("keydown", t))
|
|
145
|
+
],
|
|
146
|
+
onKeyup: i[5] || (i[5] = (t) => k("keyup", t))
|
|
146
147
|
}, null, 42, W),
|
|
147
|
-
|
|
148
|
+
h("fieldset", {
|
|
148
149
|
class: m(["uikit-pointer-events-none uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-m-0 uikit-box-border uikit-h-12 uikit-overflow-hidden uikit-rounded-xs uikit-border uikit-border-solid uikit-px-2 uikit-py-0 uikit-text-left uikit-transition-[border] uikit-duration-100 uikit-ease-out peer-focus:uikit-border-2 peer-focus:uikit-border-w-primary peer-focus:[&.is-invalid]:uikit-border-w-danger", [
|
|
149
150
|
e.$attrs.disabled ? "uikit-bg-w-cultured" : "uikit-bg-white",
|
|
150
151
|
{
|
|
@@ -156,15 +157,15 @@ import './assets/BaseInput.css';const W = ["id", "data-cy", "name", "autocomplet
|
|
|
156
157
|
e.$attrs["fieldset-classes"]
|
|
157
158
|
]])
|
|
158
159
|
}, [
|
|
159
|
-
|
|
160
|
-
|
|
160
|
+
h("legend", X, [
|
|
161
|
+
h("span", {
|
|
161
162
|
class: m(["visible-label uikit-opacity-0", [
|
|
162
163
|
{ "uikit-mx-5px": e.labelText },
|
|
163
164
|
{
|
|
164
|
-
"uikit-visible uikit-inline-block": o(
|
|
165
|
+
"uikit-visible uikit-inline-block": o(r) === "floating-label"
|
|
165
166
|
},
|
|
166
167
|
{
|
|
167
|
-
"uikit-invisible uikit-hidden": o(
|
|
168
|
+
"uikit-invisible uikit-hidden": o(r) === "inline-label"
|
|
168
169
|
}
|
|
169
170
|
]]),
|
|
170
171
|
innerHTML: e.labelText
|
|
@@ -175,24 +176,24 @@ import './assets/BaseInput.css';const W = ["id", "data-cy", "name", "autocomplet
|
|
|
175
176
|
key: 0,
|
|
176
177
|
for: e.$attrs.id,
|
|
177
178
|
"label-text": e.labelText,
|
|
178
|
-
"label-state": o(
|
|
179
|
+
"label-state": o(r),
|
|
179
180
|
"is-valid": e.isValid,
|
|
180
181
|
required: e.$attrs.required,
|
|
181
182
|
disabled: e.$attrs.disabled,
|
|
182
183
|
"label-classes": [
|
|
183
|
-
o(
|
|
184
|
+
o(r) === "floating-label" ? "!-uikit-top-1" : "!uikit-top-4",
|
|
184
185
|
e.$attrs["label-classes"]
|
|
185
186
|
]
|
|
186
187
|
}, null, 8, ["for", "label-text", "label-state", "is-valid", "required", "disabled", "label-classes"])) : w("", !0),
|
|
187
188
|
v(e.$slots, "feedback", {}, () => [
|
|
188
|
-
e.isValid === !1 ? (s(!0), d(C, { key: 0 }, B(
|
|
189
|
-
key: `${e.$attrs.id}_invalid_${
|
|
189
|
+
e.isValid === !1 ? (s(!0), d(C, { key: 0 }, B(f.value.invalid, (t, $) => (s(), d("div", {
|
|
190
|
+
key: `${e.$attrs.id}_invalid_${$}`,
|
|
190
191
|
class: "uikit-mt-1 uikit-text-12 uikit-text-w-danger",
|
|
191
|
-
innerHTML:
|
|
192
|
-
}, null, 8, Z))), 128)) : e.isValid === !0 ? (s(!0), d(C, { key: 1 }, B(
|
|
193
|
-
key: `${e.$attrs.id}_valid_${
|
|
192
|
+
innerHTML: t
|
|
193
|
+
}, null, 8, Z))), 128)) : e.isValid === !0 ? (s(!0), d(C, { key: 1 }, B(f.value.valid, (t, $) => (s(), d("div", {
|
|
194
|
+
key: `${e.$attrs.id}_valid_${$}`,
|
|
194
195
|
class: "uikit-mt-1 uikit-text-12 uikit-text-w-primary",
|
|
195
|
-
innerHTML:
|
|
196
|
+
innerHTML: t
|
|
196
197
|
}, null, 8, U))), 128)) : w("", !0)
|
|
197
198
|
], !0),
|
|
198
199
|
e.$slots["under-label"] ? (s(), d("div", x, [
|
|
@@ -200,7 +201,7 @@ import './assets/BaseInput.css';const W = ["id", "data-cy", "name", "autocomplet
|
|
|
200
201
|
])) : w("", !0)
|
|
201
202
|
], 2));
|
|
202
203
|
}
|
|
203
|
-
}), ne = /* @__PURE__ */ R(_, [["__scopeId", "data-v-
|
|
204
|
+
}), ne = /* @__PURE__ */ R(_, [["__scopeId", "data-v-190ac5fd"]]);
|
|
204
205
|
export {
|
|
205
206
|
ne as default
|
|
206
207
|
};
|
|
@@ -45,6 +45,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
45
45
|
focusin: () => void;
|
|
46
46
|
focusout: () => void;
|
|
47
47
|
keydown: (args_0: KeyboardEvent) => void;
|
|
48
|
+
keyup: (args_0: KeyboardEvent) => void;
|
|
48
49
|
keydownEnterPressed: () => void;
|
|
49
50
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
50
51
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
@@ -78,6 +79,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
78
79
|
onFocusin?: (() => any) | undefined;
|
|
79
80
|
onFocusout?: (() => any) | undefined;
|
|
80
81
|
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
82
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
81
83
|
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
82
84
|
onKeydownEnterPressed?: (() => any) | undefined;
|
|
83
85
|
}, {
|
package/dist/assets/BaseCard.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.card{position:relative;z-index:0;display:flex;max-width:930px;overflow:hidden;border-radius:20px;border-width:1px}@media (min-width: 576px){.card{height:230px}}.card .card-body{width:100%;padding:10px 15px}.card .card-img{width:100%;max-width:none}@media (min-width: 576px){.card .card-img{height:100%;max-width:300px}}@media not all and (min-width: 576px){.card .card-body,.card .card-img{height:200px}}.card.vertical{height:370px;flex-direction:column}@media not all and (min-width: 576px){.card.vertical{min-height:100px;min-width:335px}}.card.vertical .card-img{height:200px;min-height:100px;width:100%;max-width:100%}@media not all and (min-width: 576px){.card.vertical .card-img{max-width:100%}}.map-card{max-height:100px;max-width:370px}.map-card-img{max-height:110px;max-width:120px}.card.news-card{flex-direction:row}@media not all and (min-width: 576px){.card.news-card{width:320px;flex-direction:column}}
|
|
1
|
+
.card[data-v-245e50e1]{position:relative;z-index:0;display:flex;max-width:930px;overflow:hidden;border-radius:20px;border-width:1px}@media (min-width: 576px){.card[data-v-245e50e1]{height:230px}}.card .card-body[data-v-245e50e1]{width:100%;padding:10px 15px}.card .card-img[data-v-245e50e1]{width:100%;max-width:none}@media (min-width: 576px){.card .card-img[data-v-245e50e1]{height:100%;max-width:300px}}@media not all and (min-width: 576px){.card .card-body[data-v-245e50e1],.card .card-img[data-v-245e50e1]{height:200px}}.card.vertical[data-v-245e50e1]{height:370px;flex-direction:column}@media not all and (min-width: 576px){.card.vertical[data-v-245e50e1]{min-height:100px;min-width:335px}}.card.vertical .card-img[data-v-245e50e1]{height:200px;min-height:100px;width:100%;max-width:100%}@media not all and (min-width: 576px){.card.vertical .card-img[data-v-245e50e1]{max-width:100%}}.map-card[data-v-245e50e1]{max-height:100px;max-width:370px}.map-card-img[data-v-245e50e1]{max-height:110px;max-width:120px}.card.news-card[data-v-245e50e1]{flex-direction:row}@media not all and (min-width: 576px){.card.news-card[data-v-245e50e1]{width:320px;flex-direction:column}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.input-wrapper[data-v-
|
|
1
|
+
.input-wrapper[data-v-190ac5fd]{--icon-default-size: 44px}.invalid-bg[data-v-190ac5fd]{--invalid-img: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMicgaGVpZ2h0PScxMicgZmlsbD0nbm9uZScgc3Ryb2tlPScjRkE0RjY0Jz48Y2lyY2xlIGN4PSc2JyBjeT0nNicgcj0nNC41Jy8+PHBhdGggc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcgZD0nTTUuOCAzLjZoLjRMNiA2LjV6Jy8+PGNpcmNsZSBjeD0nNicgY3k9JzguMicgcj0nLjYnIGZpbGw9JyNGQTRGNjQnIHN0cm9rZT0nbm9uZScvPjwvc3ZnPg==);background-image:var(--invalid-img)}.valid-bg[data-v-190ac5fd]{--valid-img: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA4IDgnPjxwYXRoIGZpbGw9JyMyQjVERkYnIGQ9J00yLjMgNi43My42IDQuNTNjLS40LTEuMDQuNDYtMS40IDEuMS0uOGwxLjEgMS40IDMuNC0zLjhjLjYtLjYzIDEuNi0uMjcgMS4yLjdsLTQgNC42Yy0uNDMuNS0uOC40LTEuMS4xeicvPjwvc3ZnPg==);background-image:var(--valid-img)}.invalid-bg[data-v-190ac5fd],.valid-bg[data-v-190ac5fd]{background-position:top 17px right 12px;background-size:20px}.has-right-icon[data-v-190ac5fd]>label.inline-label{right:var(--icon-default-size)}.has-left-icon[data-v-190ac5fd]>label.inline-label{left:var(--icon-default-size)}[data-v-190ac5fd] .text-input-icon{position:absolute;z-index:20;box-sizing:border-box;--icon-size-sm: 16px;--icon-size-md: 20px;--icon-size-lg: 25px}[data-v-190ac5fd] .text-input-icon.left{left:5px}[data-v-190ac5fd] .text-input-icon.right{right:5px}[data-v-190ac5fd] .text-input-icon{--icon-top: 5px;--icon-size: var(--icon-size-sm);width:var(--icon-default-size);height:var(--icon-default-size);padding:calc((var(--icon-default-size) - var(--icon-size)) / 2);top:var(--icon-top)}[data-v-190ac5fd] .text-input-icon.md{--icon-size: var(--icon-size-md)}[data-v-190ac5fd] .text-input-icon.lg{--icon-top: 0;--icon-size: var(--icon-size-lg)}.under-label[data-v-190ac5fd]{left:4px;font-style:italic}
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { _ as f } from "./chunks/BaseAccordionContent.vue_vue_type_script_setup_
|
|
|
4
4
|
import { _ as m } from "./chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.6bQhmpuN.js";
|
|
5
5
|
import { _ as l } from "./chunks/SelectItem.vue_vue_type_script_setup_true_lang.Colhxc7n.js";
|
|
6
6
|
import { default as d } from "./CheckboxBtn.js";
|
|
7
|
-
import { _ as
|
|
7
|
+
import { _ as u } from "./chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.Bn9HoCj4.js";
|
|
8
8
|
import { _ } from "./chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js";
|
|
9
9
|
import { _ as S } from "./chunks/BaseTabView.vue_vue_type_script_setup_true_lang.Cs-5T5J3.js";
|
|
10
10
|
import { _ as g } from "./chunks/RadioButton.vue_vue_type_script_setup_true_lang.DR6a7QAi.js";
|
|
@@ -14,7 +14,7 @@ import { _ as w } from "./chunks/BaseAlert.vue_vue_type_style_index_0_lang.BtqP_
|
|
|
14
14
|
import { _ as k } from "./chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.D_AZtW3a.js";
|
|
15
15
|
import { _ as D } from "./chunks/BaseBadge.vue_vue_type_style_index_0_lang.BOA1gBKu.js";
|
|
16
16
|
import { _ as G } from "./chunks/BaseButton.vue_vue_type_script_setup_true_lang.dlLTK59i.js";
|
|
17
|
-
import {
|
|
17
|
+
import { default as O } from "./BaseCard.js";
|
|
18
18
|
import { default as R } from "./BaseComplexToggle.js";
|
|
19
19
|
import { _ as N } from "./chunks/BaseDropDown.vue_vue_type_script_setup_true_lang.CLzTJaGp.js";
|
|
20
20
|
import { default as j } from "./BaseFloatingLabel.js";
|
|
@@ -31,7 +31,7 @@ import { _ as fe } from "./chunks/BaseUploadFile.vue_vue_type_script_setup_true_
|
|
|
31
31
|
import { _ as me } from "./chunks/BaseModal.vue_vue_type_style_index_0_lang.DRnvHI35.js";
|
|
32
32
|
import { default as le } from "./BaseSnackbar.js";
|
|
33
33
|
import { default as de } from "./StaticSpinner.js";
|
|
34
|
-
import { default as
|
|
34
|
+
import { default as ue } from "./BaseShimmerLoader.js";
|
|
35
35
|
import { _ as _e } from "./chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DuLXZx8X.js";
|
|
36
36
|
import { _ as Se } from "./chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.C4QPaUsI.js";
|
|
37
37
|
import { _ as ge } from "./chunks/LineChart.vue_vue_type_script_setup_true_lang.CNkvmtfq.js";
|
|
@@ -60,7 +60,7 @@ import './assets/index.css';export {
|
|
|
60
60
|
J as BaseNavItem,
|
|
61
61
|
Q as BasePagination,
|
|
62
62
|
X as BasePaper,
|
|
63
|
-
|
|
63
|
+
ue as BaseShimmerLoader,
|
|
64
64
|
Z as BaseSlider,
|
|
65
65
|
le as BaseSnackbar,
|
|
66
66
|
_ as BaseTab,
|
|
@@ -70,7 +70,7 @@ import './assets/index.css';export {
|
|
|
70
70
|
te as BaseTooltip,
|
|
71
71
|
fe as BaseUploadFile,
|
|
72
72
|
d as CheckboxBtn,
|
|
73
|
-
|
|
73
|
+
u as CheckboxGroup,
|
|
74
74
|
Se as DoughnutChart,
|
|
75
75
|
he as IntersectionObservable,
|
|
76
76
|
Ie as IntersectionObserver,
|
package/package.json
CHANGED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { defineComponent as p, computed as t, openBlock as C, createBlock as u, resolveDynamicComponent as y, normalizeClass as a, withCtx as f, createElementVNode as r, renderSlot as d } from "vue";
|
|
2
|
-
import '../assets/BaseCard.css';const k = /* @__PURE__ */ p({
|
|
3
|
-
__name: "BaseCard",
|
|
4
|
-
props: {
|
|
5
|
-
type: { default: "" },
|
|
6
|
-
rootComponent: { default: "div" },
|
|
7
|
-
cardImgClasses: { default: "" },
|
|
8
|
-
cardBodyClasses: { default: "" }
|
|
9
|
-
},
|
|
10
|
-
emits: ["click"],
|
|
11
|
-
setup(l, { emit: c }) {
|
|
12
|
-
const n = c, s = l, m = t(
|
|
13
|
-
() => s.type === "news" ? "news-card" : s.type
|
|
14
|
-
), i = t(() => s.type ? `${s.type}-img` : "");
|
|
15
|
-
return (e, o) => (C(), u(y(e.rootComponent), {
|
|
16
|
-
class: a(["card", [m.value]]),
|
|
17
|
-
onClick: o[0] || (o[0] = (v) => n("click"))
|
|
18
|
-
}, {
|
|
19
|
-
default: f(() => [
|
|
20
|
-
r("div", {
|
|
21
|
-
class: a(["card-img", [i.value, e.cardImgClasses]])
|
|
22
|
-
}, [
|
|
23
|
-
d(e.$slots, "card-image")
|
|
24
|
-
], 2),
|
|
25
|
-
r("div", {
|
|
26
|
-
class: a(["card-body", [e.cardBodyClasses]])
|
|
27
|
-
}, [
|
|
28
|
-
d(e.$slots, "card-description")
|
|
29
|
-
], 2)
|
|
30
|
-
]),
|
|
31
|
-
_: 3
|
|
32
|
-
}, 8, ["class"]));
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
export {
|
|
36
|
-
k as _
|
|
37
|
-
};
|