@opendesign-plus-test/components 0.0.1-rc.134 → 0.0.1-rc.135
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/components.es.js
CHANGED
|
@@ -47966,7 +47966,7 @@ const rw = { name: "sig-icon-filter", render: nw }, aw = { class: "o-sig-list" }
|
|
|
47966
47966
|
key: 2,
|
|
47967
47967
|
class: "o-sig-no-result"
|
|
47968
47968
|
}, gw = {
|
|
47969
|
-
key:
|
|
47969
|
+
key: 1,
|
|
47970
47970
|
class: "o-sig-filter-btn"
|
|
47971
47971
|
}, mw = { class: "o-sig-filter-text" }, vw = {
|
|
47972
47972
|
key: 0,
|
|
@@ -47993,6 +47993,10 @@ const rw = { name: "sig-icon-filter", render: nw }, aw = { class: "o-sig-list" }
|
|
|
47993
47993
|
const t = ma(), { locale: i, t: n } = Bt(), r = xe(() => i.value), { isLaptop: a, isPadH: o, lePadV: u } = Kt(), d = [10, 20, 30], g = s, m = e, E = ae({ pageSize: nf, page: 1 }), T = () => {
|
|
47994
47994
|
E.value.page = 1, E.value.pageSize = nf;
|
|
47995
47995
|
}, O = ae([]), v = ae(""), A = ae([]), w = ae([]), P = ae([]), M = () => {
|
|
47996
|
+
if (!g.sigLandscape.length) {
|
|
47997
|
+
w.value = [];
|
|
47998
|
+
return;
|
|
47999
|
+
}
|
|
47996
48000
|
A.value = g.sigLandscape.map(({ created_at: ge, ...De }) => De);
|
|
47997
48001
|
const Ve = /* @__PURE__ */ new Set(), fe = [];
|
|
47998
48002
|
for (const ge of A.value)
|
|
@@ -48127,41 +48131,43 @@ const rw = { name: "sig-icon-filter", render: nw }, aw = { class: "o-sig-list" }
|
|
|
48127
48131
|
}), (Ve, fe) => (y(), I(we, null, [
|
|
48128
48132
|
_("div", aw, [
|
|
48129
48133
|
_("div", {
|
|
48130
|
-
class: Me(["o-sig-filter-box", `o-sig-filter-box-${r.value}`])
|
|
48134
|
+
class: Me(["o-sig-filter-box", `o-sig-filter-box-${r.value} ${w.value.length ? "" : "o-sig-filter-box--no-filter-type"}`])
|
|
48131
48135
|
}, [
|
|
48132
|
-
|
|
48133
|
-
|
|
48134
|
-
|
|
48135
|
-
|
|
48136
|
-
|
|
48137
|
-
|
|
48138
|
-
|
|
48139
|
-
|
|
48140
|
-
|
|
48141
|
-
|
|
48142
|
-
|
|
48143
|
-
|
|
48144
|
-
|
|
48145
|
-
|
|
48146
|
-
|
|
48147
|
-
|
|
48148
|
-
|
|
48149
|
-
|
|
48150
|
-
|
|
48151
|
-
|
|
48152
|
-
|
|
48153
|
-
|
|
48154
|
-
|
|
48155
|
-
|
|
48156
|
-
|
|
48157
|
-
|
|
48158
|
-
|
|
48159
|
-
|
|
48160
|
-
|
|
48161
|
-
|
|
48162
|
-
|
|
48163
|
-
|
|
48164
|
-
|
|
48136
|
+
w.value.length ? (y(), I(we, { key: 0 }, [
|
|
48137
|
+
c(u) ? le("", !0) : (y(), I("div", ow, [
|
|
48138
|
+
_("p", lw, L(c(n)("sig.type")), 1),
|
|
48139
|
+
D(c(Hs), {
|
|
48140
|
+
modelValue: $e.value,
|
|
48141
|
+
"onUpdate:modelValue": fe[0] || (fe[0] = (ge) => $e.value = ge)
|
|
48142
|
+
}, {
|
|
48143
|
+
default: x(() => [
|
|
48144
|
+
(y(!0), I(we, null, qe(w.value, (ge) => (y(), he(c(fs), {
|
|
48145
|
+
key: ge.value,
|
|
48146
|
+
value: ge.value
|
|
48147
|
+
}, {
|
|
48148
|
+
radio: x(({ checked: De }) => [
|
|
48149
|
+
D(c(ho), {
|
|
48150
|
+
class: Me(["o-sig-tag-normal", { active: De }]),
|
|
48151
|
+
checked: De,
|
|
48152
|
+
onClick: (_e) => ht(De)
|
|
48153
|
+
}, {
|
|
48154
|
+
default: x(() => [
|
|
48155
|
+
ke(L(ge.label[r.value]), 1)
|
|
48156
|
+
]),
|
|
48157
|
+
_: 2
|
|
48158
|
+
}, 1032, ["class", "checked", "onClick"])
|
|
48159
|
+
]),
|
|
48160
|
+
_: 2
|
|
48161
|
+
}, 1032, ["value"]))), 128))
|
|
48162
|
+
]),
|
|
48163
|
+
_: 1
|
|
48164
|
+
}, 8, ["modelValue"])
|
|
48165
|
+
])),
|
|
48166
|
+
c(u) ? le("", !0) : (y(), he(c(ni), {
|
|
48167
|
+
key: 1,
|
|
48168
|
+
direction: "h"
|
|
48169
|
+
}))
|
|
48170
|
+
], 64)) : le("", !0),
|
|
48165
48171
|
_("div", uw, [
|
|
48166
48172
|
_("div", {
|
|
48167
48173
|
ref_key: "panelRef",
|
|
@@ -48227,7 +48233,7 @@ const rw = { name: "sig-icon-filter", render: nw }, aw = { class: "o-sig-list" }
|
|
|
48227
48233
|
])) : le("", !0)
|
|
48228
48234
|
], 2)
|
|
48229
48235
|
]),
|
|
48230
|
-
c(u) ? (y(), I("div", gw, [
|
|
48236
|
+
c(u) && w.value.length ? (y(), I("div", gw, [
|
|
48231
48237
|
D(c(Et), {
|
|
48232
48238
|
variant: "text",
|
|
48233
48239
|
color: "normal",
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
padding: var(--o-gap-3);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
+
.o-sig-list .o-sig-filter-box.o-sig-filter-box--no-filter-type .o-sig-filter-select-box {
|
|
25
|
+
justify-content: flex-end;
|
|
26
|
+
}
|
|
24
27
|
.o-sig-list .o-sig-filter-box .o-sig-filter-type {
|
|
25
28
|
display: flex;
|
|
26
29
|
align-items: flex-start;
|
|
@@ -169,6 +172,11 @@
|
|
|
169
172
|
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-input {
|
|
170
173
|
width: 320px;
|
|
171
174
|
}
|
|
175
|
+
@media (max-width: 840px) {
|
|
176
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-input {
|
|
177
|
+
flex: 1;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
172
180
|
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-input .o_box-main {
|
|
173
181
|
border: none;
|
|
174
182
|
}
|
|
@@ -31,7 +31,7 @@ const _hoisted_9 = {
|
|
|
31
31
|
class: "o-sig-no-result"
|
|
32
32
|
};
|
|
33
33
|
const _hoisted_10 = {
|
|
34
|
-
key:
|
|
34
|
+
key: 1,
|
|
35
35
|
class: "o-sig-filter-btn"
|
|
36
36
|
};
|
|
37
37
|
const _hoisted_11 = { class: "o-sig-filter-text" };
|
|
@@ -88,6 +88,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
88
88
|
const featureArr = ref([]);
|
|
89
89
|
const mergedSigList = ref([]);
|
|
90
90
|
const constructLandscapeMap = () => {
|
|
91
|
+
if (!props.sigLandscape.length) {
|
|
92
|
+
featureArr.value = [];
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
91
95
|
landscapeList.value = props.sigLandscape.map(({ created_at: _created, ...rest }) => rest);
|
|
92
96
|
const seen = /* @__PURE__ */ new Set();
|
|
93
97
|
const features = [];
|
|
@@ -322,43 +326,45 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
322
326
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
323
327
|
createElementVNode("div", _hoisted_1, [
|
|
324
328
|
createElementVNode("div", {
|
|
325
|
-
class: normalizeClass(["o-sig-filter-box", `o-sig-filter-box-${locale.value}`])
|
|
329
|
+
class: normalizeClass(["o-sig-filter-box", `o-sig-filter-box-${locale.value} ${featureArr.value.length ? "" : "o-sig-filter-box--no-filter-type"}`])
|
|
326
330
|
}, [
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
331
|
+
featureArr.value.length ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
332
|
+
!unref(lePadV) ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
333
|
+
createElementVNode("p", _hoisted_3, toDisplayString(unref(t)("sig.type")), 1),
|
|
334
|
+
createVNode(unref(ORadioGroup), {
|
|
335
|
+
modelValue: featureType.value,
|
|
336
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => featureType.value = $event)
|
|
337
|
+
}, {
|
|
338
|
+
default: withCtx(() => [
|
|
339
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(featureArr.value, (option) => {
|
|
340
|
+
return openBlock(), createBlock(unref(ORadio), {
|
|
341
|
+
key: option.value,
|
|
342
|
+
value: option.value
|
|
343
|
+
}, {
|
|
344
|
+
radio: withCtx(({ checked }) => [
|
|
345
|
+
createVNode(unref(OToggle), {
|
|
346
|
+
class: normalizeClass(["o-sig-tag-normal", { active: checked }]),
|
|
347
|
+
checked,
|
|
348
|
+
onClick: ($event) => clearChecked(checked)
|
|
349
|
+
}, {
|
|
350
|
+
default: withCtx(() => [
|
|
351
|
+
createTextVNode(toDisplayString(option.label[locale.value]), 1)
|
|
352
|
+
]),
|
|
353
|
+
_: 2
|
|
354
|
+
}, 1032, ["class", "checked", "onClick"])
|
|
355
|
+
]),
|
|
356
|
+
_: 2
|
|
357
|
+
}, 1032, ["value"]);
|
|
358
|
+
}), 128))
|
|
359
|
+
]),
|
|
360
|
+
_: 1
|
|
361
|
+
}, 8, ["modelValue"])
|
|
362
|
+
])) : createCommentVNode("", true),
|
|
363
|
+
!unref(lePadV) ? (openBlock(), createBlock(unref(ODivider), {
|
|
364
|
+
key: 1,
|
|
365
|
+
direction: "h"
|
|
366
|
+
})) : createCommentVNode("", true)
|
|
367
|
+
], 64)) : createCommentVNode("", true),
|
|
362
368
|
createElementVNode("div", _hoisted_4, [
|
|
363
369
|
createElementVNode("div", {
|
|
364
370
|
ref_key: "panelRef",
|
|
@@ -430,7 +436,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
430
436
|
])) : createCommentVNode("", true)
|
|
431
437
|
], 2)
|
|
432
438
|
]),
|
|
433
|
-
unref(lePadV) ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
439
|
+
unref(lePadV) && featureArr.value.length ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
434
440
|
createVNode(unref(OButton), {
|
|
435
441
|
variant: "text",
|
|
436
442
|
color: "normal",
|