officialblock 2.1.1 → 2.1.2
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/{index-esMFQfpR.js → index-BX3wo2uq.js} +1 -1
- package/dist/{index-DwAYwP3K.mjs → index-Btjp_XdI.mjs} +1 -1
- package/dist/index-CClVOzrU.js +20 -0
- package/dist/index-C_3-HeV5.js +1 -0
- package/dist/index-Chue7s0-.mjs +31274 -0
- package/dist/index-CmerRdhn.mjs +4 -0
- package/dist/{index-D3X7jHwZ.mjs → index-Cn6a6HhI.mjs} +104 -93
- package/dist/index-Cu03Azf6.js +1 -0
- package/dist/index-DCXncMaQ.mjs +4 -0
- package/dist/{index-qybMHiY-.js → index-DPl0MPya.js} +1 -1
- package/dist/index-DRMApk01.js +1 -0
- package/dist/index-rYdlY3SQ.mjs +361 -0
- package/dist/official-block.cjs.js +1 -1
- package/dist/official-block.es.js +106 -99
- package/dist/official-block.umd.js +5 -5
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index-BI82VZ91.js +0 -1
- package/dist/index-B_6DwUvb.js +0 -1
- package/dist/index-B__52Adx.mjs +0 -4
- package/dist/index-BjgdPzqR.mjs +0 -349
- package/dist/index-BsZbx0rW.js +0 -1
- package/dist/index-CEHf6M6x.js +0 -1
- package/dist/index-CroTuaW_.mjs +0 -162
- package/dist/index-CvCNRVPY.js +0 -20
- package/dist/index-DwPHbe8R.mjs +0 -216
- package/dist/index-NTd6BVQQ.js +0 -1
- package/dist/index-QpRJyZ_6.mjs +0 -29116
- package/dist/index-ahwJ0pbt.mjs +0 -143
package/dist/index-ahwJ0pbt.mjs
DELETED
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { defineComponent as B, ref as v, computed as t, onMounted as E, createElementBlock as o, openBlock as a, normalizeStyle as F, normalizeClass as p, createCommentVNode as i, createElementVNode as n, createVNode as T, toDisplayString as r, Fragment as W, renderList as j } from "vue";
|
|
2
|
-
import { T as A } from "./index-QpRJyZ_6.mjs";
|
|
3
|
-
const O = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "card-list__filter"
|
|
6
|
-
}, U = {
|
|
7
|
-
key: 0,
|
|
8
|
-
class: "card-list__title"
|
|
9
|
-
}, q = ["id"], G = ["data-aos-delay", "data-aos-anchor"], H = { class: "card-circle" }, I = { class: "circle__head" }, J = { class: "circle__img img-fit" }, K = ["src", "alt"], Q = {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "circle__title mt-3"
|
|
12
|
-
}, R = {
|
|
13
|
-
key: 1,
|
|
14
|
-
class: "circle__subtitle"
|
|
15
|
-
}, X = {
|
|
16
|
-
key: 2,
|
|
17
|
-
class: "circle__subtitle"
|
|
18
|
-
}, Y = {
|
|
19
|
-
key: 3,
|
|
20
|
-
class: "circle__text mt-3"
|
|
21
|
-
}, Z = {
|
|
22
|
-
key: 1,
|
|
23
|
-
class: "d-flex justify-content-center mt-10"
|
|
24
|
-
}, ee = { class: "btn--udrline" }, oe = /* @__PURE__ */ B({
|
|
25
|
-
__name: "index",
|
|
26
|
-
props: {
|
|
27
|
-
componentProps: {
|
|
28
|
-
type: Object,
|
|
29
|
-
default: () => ({})
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
emits: ["showLightboxVideo"],
|
|
33
|
-
setup(L, { emit: te }) {
|
|
34
|
-
const l = L, m = v("all"), u = v(4), h = v(4), b = v(Date.now()), x = t(() => {
|
|
35
|
-
var e;
|
|
36
|
-
return ((e = l.componentProps) == null ? void 0 : e.classes) ?? null;
|
|
37
|
-
}), $ = t(() => {
|
|
38
|
-
var e;
|
|
39
|
-
return ((e = l.componentProps) == null ? void 0 : e.style) ?? null;
|
|
40
|
-
}), M = t(() => {
|
|
41
|
-
var e;
|
|
42
|
-
return ((e = l.componentProps) == null ? void 0 : e.width) ?? null;
|
|
43
|
-
}), C = t(() => {
|
|
44
|
-
var e;
|
|
45
|
-
return ((e = l.componentProps) == null ? void 0 : e.center) ?? !1;
|
|
46
|
-
}), N = t(() => {
|
|
47
|
-
var e;
|
|
48
|
-
return ((e = l.componentProps) == null ? void 0 : e.type) ?? "school";
|
|
49
|
-
}), w = t(() => {
|
|
50
|
-
var e;
|
|
51
|
-
return ((e = l.componentProps) == null ? void 0 : e.title) ?? null;
|
|
52
|
-
}), d = t(() => {
|
|
53
|
-
var e;
|
|
54
|
-
return ((e = l.componentProps) == null ? void 0 : e.filters) ?? [];
|
|
55
|
-
}), g = t(() => {
|
|
56
|
-
var e;
|
|
57
|
-
return ((e = l.componentProps) == null ? void 0 : e.list) ?? [];
|
|
58
|
-
}), _ = t(() => {
|
|
59
|
-
var e;
|
|
60
|
-
return ((e = l.componentProps) == null ? void 0 : e.colDesktop) ?? 3;
|
|
61
|
-
}), f = t(() => {
|
|
62
|
-
var e;
|
|
63
|
-
return ((e = l.componentProps) == null ? void 0 : e.colMobile) ?? 1;
|
|
64
|
-
}), k = t(() => {
|
|
65
|
-
var e;
|
|
66
|
-
return ((e = l.componentProps) == null ? void 0 : e.addShowMore) ?? !1;
|
|
67
|
-
}), y = t(() => m.value === "all" || Array.isArray(d.value) && d.value.length <= 0 ? g.value : g.value.filter((e) => {
|
|
68
|
-
var c;
|
|
69
|
-
return (c = e.filter) == null ? void 0 : c.includes(m.value);
|
|
70
|
-
})), D = t(() => k.value ? y.value.slice(0, u.value) : y.value), S = t(() => k.value ? u.value < y.value.length : !1), P = v(window.innerWidth), V = (e) => {
|
|
71
|
-
m.value = e;
|
|
72
|
-
};
|
|
73
|
-
return E(() => {
|
|
74
|
-
P.value >= 767.98 ? (u.value = _.value, h.value = _.value) : (u.value = f.value * 3, h.value = f.value * 3), window.addEventListener("resize", () => {
|
|
75
|
-
P.value = window.innerWidth;
|
|
76
|
-
});
|
|
77
|
-
}), (e, c) => (a(), o("div", {
|
|
78
|
-
class: p(["card-list", x.value]),
|
|
79
|
-
style: F($.value)
|
|
80
|
-
}, [
|
|
81
|
-
d.value && d.value.length > 0 ? (a(), o("div", O, [
|
|
82
|
-
T(A, {
|
|
83
|
-
tabList: d.value,
|
|
84
|
-
onUpdateFilter: V
|
|
85
|
-
}, null, 8, ["tabList"])
|
|
86
|
-
])) : i("", !0),
|
|
87
|
-
n("div", {
|
|
88
|
-
class: p(["card-list__wrapper", [M.value, { "text-center": C.value }]])
|
|
89
|
-
}, [
|
|
90
|
-
w.value ? (a(), o("h4", U, r(w.value), 1)) : i("", !0),
|
|
91
|
-
n("div", {
|
|
92
|
-
class: p(["row", [
|
|
93
|
-
`row-cols-${f.value}`,
|
|
94
|
-
`row-cols-md-${_.value}`,
|
|
95
|
-
{ "small-gap": _.value > 4 },
|
|
96
|
-
`cars-list-${N.value}`
|
|
97
|
-
]]),
|
|
98
|
-
id: `card-list-${b.value}`
|
|
99
|
-
}, [
|
|
100
|
-
(a(!0), o(W, null, j(D.value, (s, z) => (a(), o("div", {
|
|
101
|
-
class: "col",
|
|
102
|
-
key: s.key,
|
|
103
|
-
"data-aos": "fade-up",
|
|
104
|
-
"data-aos-delay": z * 100,
|
|
105
|
-
"data-aos-anchor": `#card-list-${b.value}`
|
|
106
|
-
}, [
|
|
107
|
-
n("div", H, [
|
|
108
|
-
n("div", I, [
|
|
109
|
-
n("div", J, [
|
|
110
|
-
n("img", {
|
|
111
|
-
src: s.image,
|
|
112
|
-
alt: s.alt
|
|
113
|
-
}, null, 8, K)
|
|
114
|
-
])
|
|
115
|
-
]),
|
|
116
|
-
n("div", {
|
|
117
|
-
class: p(["circle__body", { "is-single-column": e.singleColumn }])
|
|
118
|
-
}, [
|
|
119
|
-
s.title ? (a(), o("h4", Q, r(s.title), 1)) : i("", !0),
|
|
120
|
-
s.subtitle ? (a(), o("div", R, r(s.subtitle), 1)) : i("", !0),
|
|
121
|
-
s.subtitle2 ? (a(), o("div", X, r(s.subtitle2), 1)) : i("", !0),
|
|
122
|
-
s.text ? (a(), o("div", Y, r(s.text), 1)) : i("", !0)
|
|
123
|
-
], 2)
|
|
124
|
-
])
|
|
125
|
-
], 8, G))), 128))
|
|
126
|
-
], 10, q),
|
|
127
|
-
S.value ? (a(), o("div", Z, [
|
|
128
|
-
n("button", {
|
|
129
|
-
type: "button",
|
|
130
|
-
class: "btn btn__load-more",
|
|
131
|
-
onClick: c[0] || (c[0] = (s) => u.value += h.value)
|
|
132
|
-
}, [
|
|
133
|
-
n("div", ee, r(e.$t("btn.load_more")), 1),
|
|
134
|
-
c[1] || (c[1] = n("span", { class: "i i-load-more" }, null, -1))
|
|
135
|
-
])
|
|
136
|
-
])) : i("", !0)
|
|
137
|
-
], 2)
|
|
138
|
-
], 6));
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
export {
|
|
142
|
-
oe as default
|
|
143
|
-
};
|