@wikicasa-dev/components 1.7.54 → 1.7.55
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
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/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}}
|
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
|
-
};
|