@opendesign-plus-test/components 0.0.1-rc.152 → 0.0.1-rc.154
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/chunk-OElCookieNotice.cjs.js +1 -1
- package/dist/chunk-OElCookieNotice.es.js +2 -2
- package/dist/components/meeting/OMeetingMinutes.vue.d.ts +2 -348
- package/dist/components/meeting/index.d.ts +1 -174
- package/dist/components/meeting/types.d.ts +0 -1
- package/dist/components/sig/OSigDetail.vue.d.ts +1 -1
- package/dist/components/sig/OSigList.vue.d.ts +2 -0
- package/dist/components/sig/components/OSigItem.vue.d.ts +4 -1
- package/dist/components.cjs.js +36 -36
- package/dist/components.css +1 -1
- package/dist/components.es.js +6081 -6068
- package/dist/treeshaking/components/activity/OActivityApproval.css +8 -8
- package/dist/treeshaking/components/footer/components/FooterList.css +109 -96
- package/dist/treeshaking/components/footer/components/FooterList.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeader.css +25 -15
- package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.css +185 -185
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderFlatten.css +74 -75
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/OMeetingMinutes.css +223 -176
- package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.d.ts +2 -348
- package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.mjs +6 -373
- package/dist/treeshaking/components/meeting/OMeetingMinutes.vue2.mjs +356 -0
- package/dist/treeshaking/components/meeting/OMeetingMinutes2.css +11 -0
- package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.css +53 -53
- package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/index.d.ts +1 -174
- package/dist/treeshaking/components/meeting/index.mjs +12 -13
- package/dist/treeshaking/components/meeting/types.d.ts +0 -1
- package/dist/treeshaking/components/sig/OSigDetail.css +7 -3
- package/dist/treeshaking/components/sig/OSigDetail.vue.d.ts +1 -1
- package/dist/treeshaking/components/sig/OSigDetail.vue.mjs +6 -3
- package/dist/treeshaking/components/sig/OSigList.css +165 -134
- package/dist/treeshaking/components/sig/OSigList.vue.d.ts +2 -0
- package/dist/treeshaking/components/sig/OSigList.vue.mjs +118 -103
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.css +1 -1
- package/dist/treeshaking/components/sig/components/OSigItem.css +31 -367
- package/dist/treeshaking/components/sig/components/OSigItem.vue.d.ts +4 -1
- package/dist/treeshaking/components/sig/components/OSigItem.vue.mjs +6 -4
- package/dist/treeshaking/components/sig/components/OSigMember.css +1 -1
- package/dist/treeshaking/components/sig/components/OSigRepo.css +15 -2
- package/dist/treeshaking/components/sig/components/OSigUserContribute.css +7 -0
- package/dist/treeshaking/components/video/OVideoDetail.css +7 -7
- package/dist/treeshaking/i18n/en.mjs +1 -1
- package/dist/treeshaking/i18n/zh.mjs +1 -1
- package/package.json +3 -3
- package/dist/treeshaking/components/meeting/OMeetingMinutes.vue3.mjs +0 -5
|
@@ -1,58 +1,53 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, watch,
|
|
1
|
+
import { defineComponent, computed, ref, watch, openBlock, createElementBlock, createElementVNode, normalizeClass, Fragment, unref, toDisplayString, createVNode, withCtx, renderList, createBlock, createTextVNode, createCommentVNode, withModifiers, withDirectives, nextTick } from "vue";
|
|
2
2
|
import { ElSelect, ElOption } from "element-plus";
|
|
3
3
|
import "element-plus/es/components/select/style/css";
|
|
4
4
|
import "element-plus/es/components/option/style/css";
|
|
5
|
-
import { useDebounceFn,
|
|
5
|
+
import { useDebounceFn, useIntersectionObserver } from "@vueuse/core";
|
|
6
6
|
import { useScreen } from "@opendesign-plus/composables";
|
|
7
7
|
import { useI18n } from "../../i18n/index.mjs";
|
|
8
|
-
import { ORadioGroup, ORadio, OToggle, ODivider, OSelect, OOption, OInput, OIcon, ORow, OCol, OPagination } from "@opensig/opendesign";
|
|
8
|
+
import { ORadioGroup, ORadio, OToggle, ODivider, OSelect, OOption, OInput, OIcon, OPopover, ORow, OCol, OPagination } from "@opensig/opendesign";
|
|
9
9
|
import OEmpty from "../empty/OEmpty.vue.mjs";
|
|
10
10
|
import _sfc_main$1 from "./components/OSigItem.vue.mjs";
|
|
11
11
|
import './components/OSigItem.css';
|
|
12
12
|
import IconSearch from "../../_virtual/icon-search.mjs";
|
|
13
13
|
import { buildVueDompurifyHTMLDirective } from "vue-dompurify-html";
|
|
14
|
-
const _hoisted_1 = {
|
|
15
|
-
const _hoisted_2 = {
|
|
14
|
+
const _hoisted_1 = {
|
|
16
15
|
key: 0,
|
|
17
16
|
class: "o-sig-filter-type"
|
|
18
17
|
};
|
|
19
|
-
const
|
|
20
|
-
const
|
|
18
|
+
const _hoisted_2 = { class: "o-sig-filter-title" };
|
|
19
|
+
const _hoisted_3 = {
|
|
21
20
|
key: 1,
|
|
22
21
|
class: "o-sig-filter-input"
|
|
23
22
|
};
|
|
24
|
-
const
|
|
25
|
-
const
|
|
23
|
+
const _hoisted_4 = { class: "o-sig-filter-select-box" };
|
|
24
|
+
const _hoisted_5 = {
|
|
26
25
|
key: 0,
|
|
27
|
-
class: "o-sig-search-
|
|
26
|
+
class: "o-sig-search-loading"
|
|
28
27
|
};
|
|
29
|
-
const
|
|
28
|
+
const _hoisted_6 = {
|
|
30
29
|
key: 0,
|
|
31
30
|
class: "o-sig-search-label"
|
|
32
31
|
};
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
const
|
|
32
|
+
const _hoisted_7 = ["onClick"];
|
|
33
|
+
const _hoisted_8 = ["title"];
|
|
34
|
+
const _hoisted_9 = {
|
|
36
35
|
key: 2,
|
|
37
36
|
class: "o-sig-no-result"
|
|
38
37
|
};
|
|
39
|
-
const
|
|
38
|
+
const _hoisted_10 = {
|
|
40
39
|
key: 0,
|
|
41
40
|
class: "o-sig-filter-result-tip"
|
|
42
41
|
};
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
const
|
|
42
|
+
const _hoisted_11 = { key: 0 };
|
|
43
|
+
const _hoisted_12 = { class: "o-sig-num" };
|
|
44
|
+
const _hoisted_13 = {
|
|
46
45
|
key: 0,
|
|
47
46
|
class: "o-sig-num"
|
|
48
47
|
};
|
|
49
|
-
const
|
|
50
|
-
const
|
|
51
|
-
const
|
|
52
|
-
key: 3,
|
|
53
|
-
class: "o-sig-loading"
|
|
54
|
-
};
|
|
55
|
-
const _hoisted_18 = {
|
|
48
|
+
const _hoisted_14 = { key: 1 };
|
|
49
|
+
const _hoisted_15 = { class: "o-sig-num" };
|
|
50
|
+
const _hoisted_16 = {
|
|
56
51
|
key: 4,
|
|
57
52
|
class: "o-sig-pagination"
|
|
58
53
|
};
|
|
@@ -136,6 +131,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
136
131
|
const v = String(val);
|
|
137
132
|
placeholderType.value = ((_a = sigOptions.find((e) => e.value === v)) == null ? void 0 : _a.placeholder) ?? "";
|
|
138
133
|
enterSearchType.value = v;
|
|
134
|
+
hasSearchData.value = [];
|
|
139
135
|
sigSearch();
|
|
140
136
|
};
|
|
141
137
|
const uniqueArray = (array) => {
|
|
@@ -146,6 +142,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
146
142
|
const sigInput = ref("");
|
|
147
143
|
const showPanel = ref(false);
|
|
148
144
|
const hasSearchData = ref([]);
|
|
145
|
+
const searching = ref(false);
|
|
149
146
|
const buildSearchGroups = (res, type) => {
|
|
150
147
|
const top3 = (arr) => uniqueArray(arr).sort((a, b) => b.socre - a.socre).slice(0, 3);
|
|
151
148
|
const all = [
|
|
@@ -157,7 +154,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
157
154
|
};
|
|
158
155
|
const sigSearch = () => {
|
|
159
156
|
if (!props.searchFn) return;
|
|
160
|
-
|
|
157
|
+
searching.value = true;
|
|
161
158
|
const params = {
|
|
162
159
|
keyword: sigInput.value,
|
|
163
160
|
keywordType: searchType.value
|
|
@@ -176,20 +173,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
176
173
|
}))
|
|
177
174
|
}));
|
|
178
175
|
}
|
|
176
|
+
searching.value = false;
|
|
179
177
|
}).catch(() => {
|
|
180
178
|
hasSearchData.value = buildSearchGroups({}, searchType.value);
|
|
179
|
+
searching.value = false;
|
|
181
180
|
});
|
|
182
181
|
};
|
|
183
|
-
const
|
|
184
|
-
sigInput.value = val;
|
|
182
|
+
const debouncedSearch = useDebounceFn(() => {
|
|
185
183
|
resetSigQuery();
|
|
186
184
|
sigSearch();
|
|
187
|
-
};
|
|
188
|
-
const debounceFn = useDebounceFn(updataSig, 300);
|
|
189
|
-
const debounceSig = computed({
|
|
190
|
-
get: () => sigInput.value.trim(),
|
|
191
|
-
set: (val) => debounceFn(val)
|
|
192
|
-
});
|
|
185
|
+
}, 300);
|
|
193
186
|
const enterSearchType = ref("all");
|
|
194
187
|
const enterSearchInput = ref("");
|
|
195
188
|
const changeSearchInput = () => {
|
|
@@ -201,29 +194,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
201
194
|
const stripHtml = (val) => (val == null ? void 0 : val.replace(/<[^>]+>/g, "")) ?? "";
|
|
202
195
|
const clickItem = (val) => {
|
|
203
196
|
sigInput.value = stripHtml(val);
|
|
204
|
-
showPanel.value = false;
|
|
205
197
|
enterSearchType.value = searchType.value;
|
|
206
198
|
enterSearchInput.value = sigInput.value;
|
|
199
|
+
nextTick(() => {
|
|
200
|
+
showPanel.value = false;
|
|
201
|
+
});
|
|
207
202
|
};
|
|
208
203
|
const clearInput = () => {
|
|
209
204
|
sigInput.value = "";
|
|
210
205
|
enterSearchInput.value = "";
|
|
211
206
|
};
|
|
207
|
+
const rootRef = ref();
|
|
212
208
|
const panelRef = ref();
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
209
|
+
const popoverVisible = computed(() => showPanel.value && !!sigInput.value);
|
|
210
|
+
const onPopoverVisibleChange = (val) => {
|
|
211
|
+
showPanel.value = val;
|
|
212
|
+
};
|
|
216
213
|
const toSigDetail = (sigName) => emit("to-sig-detail", sigName);
|
|
217
214
|
watch(
|
|
218
215
|
() => sigInput.value,
|
|
219
216
|
(val) => {
|
|
220
217
|
showPanel.value = !!val;
|
|
221
218
|
if (!val) enterSearchInput.value = val;
|
|
219
|
+
if (val) debouncedSearch();
|
|
222
220
|
}
|
|
223
221
|
);
|
|
224
222
|
const filterSigData = ref([]);
|
|
225
223
|
const filterSearchData = ref([]);
|
|
226
|
-
const filterDataMb = ref([]);
|
|
227
224
|
const featureType = ref("all");
|
|
228
225
|
const matchKw = (text, kw) => !!text && text.toLowerCase().includes(kw);
|
|
229
226
|
watch(
|
|
@@ -275,6 +272,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
275
272
|
if (lePadV.value) return "0 12px";
|
|
276
273
|
return "32px 32px";
|
|
277
274
|
});
|
|
275
|
+
watch(lePadV, () => {
|
|
276
|
+
sigQuery.value.page = 1;
|
|
277
|
+
});
|
|
278
278
|
const clearChecked = (val) => {
|
|
279
279
|
resetSigQuery();
|
|
280
280
|
if (val) {
|
|
@@ -283,43 +283,35 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
283
283
|
});
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
|
+
const loadingRef = ref(null);
|
|
286
287
|
const getMoreDataMo = () => {
|
|
287
|
-
filterDataMb.value = filterSearchData.value.slice(
|
|
288
|
-
0,
|
|
289
|
-
sigQuery.value.page * sigQuery.value.pageSize
|
|
290
|
-
);
|
|
291
288
|
sigQuery.value.page++;
|
|
292
289
|
};
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
var _a;
|
|
298
|
-
const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
|
|
299
|
-
const scrollHeight = document.body.scrollHeight;
|
|
300
|
-
const clientHeight = document.documentElement.clientHeight || document.body.clientHeight;
|
|
301
|
-
const footerHeight = ((_a = footer.value) == null ? void 0 : _a.clientHeight) ?? 0;
|
|
302
|
-
if (scrollTop + clientHeight + footerHeight >= scrollHeight && filterDataMb.value.length < filterSearchData.value.length) {
|
|
290
|
+
useIntersectionObserver(
|
|
291
|
+
loadingRef,
|
|
292
|
+
([entry]) => {
|
|
293
|
+
if ((entry == null ? void 0 : entry.isIntersecting) && filterSigData.value.length < filterSearchData.value.length) {
|
|
303
294
|
getMoreDataMo();
|
|
304
295
|
}
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
onMounted(() => {
|
|
309
|
-
footer.value = document.querySelector(props.footerSelector);
|
|
310
|
-
window.addEventListener("scroll", throttleEvent);
|
|
311
|
-
});
|
|
312
|
-
onUnmounted(() => {
|
|
313
|
-
window.removeEventListener("scroll", throttleEvent);
|
|
314
|
-
});
|
|
296
|
+
},
|
|
297
|
+
{ rootMargin: "200px" }
|
|
298
|
+
);
|
|
315
299
|
return (_ctx, _cache) => {
|
|
316
|
-
return openBlock(), createElementBlock("div",
|
|
300
|
+
return openBlock(), createElementBlock("div", {
|
|
301
|
+
ref_key: "rootRef",
|
|
302
|
+
ref: rootRef,
|
|
303
|
+
class: "o-sig-list"
|
|
304
|
+
}, [
|
|
317
305
|
createElementVNode("div", {
|
|
318
|
-
class: normalizeClass(
|
|
306
|
+
class: normalizeClass({
|
|
307
|
+
"o-sig-filter-box": true,
|
|
308
|
+
[`o-sig-filter-box-${locale.value}`]: true,
|
|
309
|
+
"o-sig-filter-box--no-filter-type": !featureArr.value.length
|
|
310
|
+
})
|
|
319
311
|
}, [
|
|
320
312
|
featureArr.value.length ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
321
|
-
!unref(isPhone) ? (openBlock(), createElementBlock("div",
|
|
322
|
-
createElementVNode("p",
|
|
313
|
+
!unref(isPhone) ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
314
|
+
createElementVNode("p", _hoisted_2, toDisplayString(unref(t)("sig.type")), 1),
|
|
323
315
|
createVNode(unref(ORadioGroup), {
|
|
324
316
|
modelValue: featureType.value,
|
|
325
317
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => featureType.value = $event)
|
|
@@ -349,7 +341,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
349
341
|
_: 1
|
|
350
342
|
}, 8, ["modelValue"])
|
|
351
343
|
])) : createCommentVNode("", true),
|
|
352
|
-
unref(isPhone) ? (openBlock(), createElementBlock("div",
|
|
344
|
+
unref(isPhone) ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
353
345
|
createVNode(unref(ElSelect), {
|
|
354
346
|
modelValue: featureType.value,
|
|
355
347
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => featureType.value = $event),
|
|
@@ -371,7 +363,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
371
363
|
])) : createCommentVNode("", true),
|
|
372
364
|
createVNode(unref(ODivider), { direction: "h" })
|
|
373
365
|
], 64)) : createCommentVNode("", true),
|
|
374
|
-
createElementVNode("div",
|
|
366
|
+
createElementVNode("div", _hoisted_4, [
|
|
375
367
|
createElementVNode("div", {
|
|
376
368
|
ref_key: "panelRef",
|
|
377
369
|
ref: panelRef,
|
|
@@ -397,8 +389,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
397
389
|
_: 1
|
|
398
390
|
}, 8, ["modelValue"]),
|
|
399
391
|
createVNode(unref(OInput), {
|
|
400
|
-
modelValue:
|
|
401
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) =>
|
|
392
|
+
modelValue: sigInput.value,
|
|
393
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => sigInput.value = $event),
|
|
402
394
|
size: "large",
|
|
403
395
|
clearable: "",
|
|
404
396
|
placeholder: placeholderType.value,
|
|
@@ -416,43 +408,60 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
416
408
|
]),
|
|
417
409
|
_: 1
|
|
418
410
|
}, 8, ["modelValue", "placeholder"]),
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
411
|
+
createVNode(unref(OPopover), {
|
|
412
|
+
target: panelRef.value,
|
|
413
|
+
wrapper: rootRef.value,
|
|
414
|
+
visible: popoverVisible.value,
|
|
415
|
+
disabled: !sigInput.value,
|
|
416
|
+
position: "br",
|
|
417
|
+
trigger: "click-outclick",
|
|
418
|
+
"adjust-min-width": false,
|
|
419
|
+
"adjust-width": false,
|
|
420
|
+
"onUpdate:visible": onPopoverVisibleChange
|
|
421
|
+
}, {
|
|
422
|
+
default: withCtx(() => [
|
|
423
|
+
createElementVNode("div", {
|
|
424
|
+
class: normalizeClass(["o-sig-search-data", `o-sig-search-data-${locale.value}`])
|
|
424
425
|
}, [
|
|
425
|
-
|
|
426
|
-
item.list.length ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(item.list, (it) => {
|
|
426
|
+
searching.value && !hasSearchData.value.length ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(unref(t)("sig.loading")), 1)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(hasSearchData.value, (item) => {
|
|
427
427
|
return openBlock(), createElementBlock("div", {
|
|
428
|
-
key:
|
|
429
|
-
class: "o-sig-search-
|
|
430
|
-
onClick: withModifiers(($event) => clickItem(it == null ? void 0 : it.name), ["stop"])
|
|
428
|
+
key: item.id,
|
|
429
|
+
class: "o-sig-search-group"
|
|
431
430
|
}, [
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
431
|
+
searchType.value === "all" ? (openBlock(), createElementBlock("p", _hoisted_6, toDisplayString(item.label), 1)) : createCommentVNode("", true),
|
|
432
|
+
item.list.length ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(item.list, (it) => {
|
|
433
|
+
return openBlock(), createElementBlock("div", {
|
|
434
|
+
key: it.name,
|
|
435
|
+
class: "o-sig-search-item",
|
|
436
|
+
onClick: withModifiers(($event) => clickItem(it == null ? void 0 : it.name), ["stop"])
|
|
437
|
+
}, [
|
|
438
|
+
withDirectives(createElementVNode("span", {
|
|
439
|
+
title: stripHtml(it == null ? void 0 : it.name),
|
|
440
|
+
class: "o-sig-search-title"
|
|
441
|
+
}, null, 8, _hoisted_8), [
|
|
442
|
+
[unref(vDompurifyHtml), it == null ? void 0 : it.name]
|
|
443
|
+
])
|
|
444
|
+
], 8, _hoisted_7);
|
|
445
|
+
}), 128)) : (openBlock(), createElementBlock("p", _hoisted_9, toDisplayString(unref(t)("sig.noResult")), 1))
|
|
446
|
+
]);
|
|
447
|
+
}), 128))
|
|
448
|
+
], 2)
|
|
449
|
+
]),
|
|
450
|
+
_: 1
|
|
451
|
+
}, 8, ["target", "wrapper", "visible", "disabled"])
|
|
443
452
|
], 2)
|
|
444
453
|
])
|
|
445
454
|
], 2),
|
|
446
|
-
featureType.value !== "all" || enterSearchInput.value ? (openBlock(), createElementBlock("div",
|
|
447
|
-
sigInput.value ? (openBlock(), createElementBlock("div",
|
|
455
|
+
featureType.value !== "all" || enterSearchInput.value ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
456
|
+
sigInput.value ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
448
457
|
createElementVNode("span", null, toDisplayString(unref(t)("sig.filterResultTip1")), 1),
|
|
449
|
-
createElementVNode("span",
|
|
458
|
+
createElementVNode("span", _hoisted_12, toDisplayString(filterSearchData.value.length), 1),
|
|
450
459
|
createElementVNode("span", null, toDisplayString(unref(t)("sig.filterResultTip2")), 1),
|
|
451
|
-
locale.value === "zh" ? (openBlock(), createElementBlock("span",
|
|
460
|
+
locale.value === "zh" ? (openBlock(), createElementBlock("span", _hoisted_13, toDisplayString(sigInput.value), 1)) : createCommentVNode("", true),
|
|
452
461
|
createElementVNode("span", null, toDisplayString(unref(t)("sig.filterResultTip3")), 1)
|
|
453
|
-
])) : (openBlock(), createElementBlock("div",
|
|
462
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_14, [
|
|
454
463
|
createElementVNode("span", null, toDisplayString(unref(t)("sig.filterResultTip4")), 1),
|
|
455
|
-
createElementVNode("span",
|
|
464
|
+
createElementVNode("span", _hoisted_15, toDisplayString(filterSearchData.value.length), 1),
|
|
456
465
|
createElementVNode("span", null, toDisplayString(unref(t)("sig.filterResultTip5")), 1)
|
|
457
466
|
]))
|
|
458
467
|
])) : createCommentVNode("", true),
|
|
@@ -471,8 +480,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
471
480
|
default: withCtx(() => [
|
|
472
481
|
createVNode(_sfc_main$1, {
|
|
473
482
|
sig,
|
|
474
|
-
onToSigDetail: toSigDetail
|
|
475
|
-
|
|
483
|
+
onToSigDetail: toSigDetail,
|
|
484
|
+
showFeature: __props.sigLandscape.length > 0
|
|
485
|
+
}, null, 8, ["sig", "showFeature"])
|
|
476
486
|
]),
|
|
477
487
|
_: 2
|
|
478
488
|
}, 1032, ["flex"]);
|
|
@@ -487,8 +497,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
487
497
|
"--result-image-height": "170px"
|
|
488
498
|
}
|
|
489
499
|
})),
|
|
490
|
-
unref(lePadV) &&
|
|
491
|
-
|
|
500
|
+
unref(lePadV) && filterSigData.value.length < filterSearchData.value.length ? (openBlock(), createElementBlock("p", {
|
|
501
|
+
key: 3,
|
|
502
|
+
ref_key: "loadingRef",
|
|
503
|
+
ref: loadingRef,
|
|
504
|
+
class: "o-sig-loading"
|
|
505
|
+
}, toDisplayString(unref(t)("sig.loading")), 513)) : createCommentVNode("", true),
|
|
506
|
+
filterSearchData.value.length > COUNT_PER_PAGE[0] ? (openBlock(), createElementBlock("div", _hoisted_16, [
|
|
492
507
|
createVNode(unref(OPagination), {
|
|
493
508
|
page: sigQuery.value.page,
|
|
494
509
|
"onUpdate:page": _cache[5] || (_cache[5] = ($event) => sigQuery.value.page = $event),
|
|
@@ -500,7 +515,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
500
515
|
"show-more": true
|
|
501
516
|
}, null, 8, ["page", "page-size", "total"])
|
|
502
517
|
])) : createCommentVNode("", true)
|
|
503
|
-
]);
|
|
518
|
+
], 512);
|
|
504
519
|
};
|
|
505
520
|
}
|
|
506
521
|
});
|