@opendesign-plus/components 0.0.1-rc.90 → 0.0.1-rc.91
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 +41 -25
- package/dist/components/logo-swiper/types.d.ts +1 -0
- package/dist/components/search-doc-result/OSearchDocResult.vue.d.ts +56 -0
- package/dist/components/search-doc-result/index.d.ts +113 -0
- package/dist/components/search-result/OSearchResult.vue.d.ts +11 -0
- package/dist/components/search-result/OSearchResultHeader.vue.d.ts +9 -1
- package/dist/components/search-result/components/OSearchResultRelative.vue.d.ts +5 -1
- package/dist/components/search-result/index.d.ts +56 -3
- package/dist/components.cjs.js +40 -40
- package/dist/components.css +1 -1
- package/dist/components.es.js +10867 -10651
- package/dist/index.d.ts +1 -0
- package/dist/treeshaking/components/header/components/HeaderContent.css +184 -184
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +2 -1
- package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.css +19 -19
- package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue.mjs +1 -1
- package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue2.mjs +4 -2
- package/dist/treeshaking/components/logo-swiper/types.d.ts +1 -0
- package/dist/treeshaking/components/markdown/OMarkdown.css +7 -0
- package/dist/treeshaking/components/search/OSearchInput.css +37 -34
- package/dist/treeshaking/components/search/OSearchInput.vue.mjs +1 -1
- package/dist/treeshaking/components/search/internal/SearchImageInput.css +49 -47
- package/dist/treeshaking/components/search/internal/SearchImageInput.vue.mjs +1 -1
- package/dist/treeshaking/components/search/internal/SearchPanel.css +117 -117
- package/dist/treeshaking/components/search/internal/SearchPanel.vue.mjs +1 -1
- package/dist/treeshaking/components/search-doc-result/OSearchDocResult.css +156 -0
- package/dist/treeshaking/components/search-doc-result/OSearchDocResult.vue.d.ts +56 -0
- package/dist/treeshaking/components/search-doc-result/OSearchDocResult.vue.mjs +7 -0
- package/dist/treeshaking/components/search-doc-result/OSearchDocResult.vue2.mjs +214 -0
- package/dist/treeshaking/components/search-doc-result/index.d.ts +113 -0
- package/dist/treeshaking/components/search-doc-result/index.mjs +9 -0
- package/dist/treeshaking/components/search-result/OSearchResult.css +97 -33
- package/dist/treeshaking/components/search-result/OSearchResult.vue.d.ts +11 -0
- package/dist/treeshaking/components/search-result/OSearchResult.vue.mjs +1 -1
- package/dist/treeshaking/components/search-result/OSearchResult.vue2.mjs +90 -21
- package/dist/treeshaking/components/search-result/OSearchResultHeader.css +78 -41
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +9 -1
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue2.mjs +26 -18
- package/dist/treeshaking/components/search-result/OSearchResultItem.css +42 -54
- package/dist/treeshaking/components/search-result/OSearchResultItem.vue.mjs +1 -1
- package/dist/treeshaking/components/search-result/OSearchResultItem.vue2.mjs +2 -1
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.css +34 -36
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.vue.mjs +1 -1
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.css +41 -37
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue.mjs +1 -1
- package/dist/treeshaking/components/search-result/components/OSearchResultRelative.css +19 -19
- package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue.d.ts +5 -1
- package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue.mjs +1 -1
- package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue2.mjs +6 -3
- package/dist/treeshaking/components/search-result/index.d.ts +56 -3
- package/dist/treeshaking/i18n/en.mjs +9 -1
- package/dist/treeshaking/i18n/zh.mjs +8 -0
- package/dist/treeshaking/index.d.ts +1 -0
- package/dist/treeshaking/index.mjs +2 -0
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getCurrentInstance as X, inject as Q, computed as L, ref as C, defineComponent as z, onMounted as K, renderSlot as $, createCommentVNode as O, watch as ee, openBlock as u, createBlock as H, withCtx as a, Teleport as te, unref as e, createElementBlock as I, createElementVNode as t, normalizeClass as Y, Fragment as G, createVNode as c, createTextVNode as E, toDisplayString as o, nextTick as ie } from "vue";
|
|
2
2
|
import { useScreen as ne } from "@opendesign-plus/composables";
|
|
3
3
|
import { isUndefined as oe, isString as me } from "@opensig/opendesign";
|
|
4
|
-
import { ElIcon as W, ElButton as
|
|
4
|
+
import { ElIcon as W, ElButton as T, ElDialog as ae, ElSwitch as se, ElDivider as ce } from "element-plus";
|
|
5
5
|
import { useVModel as re } from "@vueuse/core";
|
|
6
6
|
const ge = {
|
|
7
7
|
"md.lightTheme": "浅色代码主题",
|
|
@@ -40,6 +40,14 @@ const ge = {
|
|
|
40
40
|
"search.from": "来自:",
|
|
41
41
|
"search.version": "版本:",
|
|
42
42
|
"search.back": "返回",
|
|
43
|
+
"search.reachBottom": "已经到底了!",
|
|
44
|
+
"search.loadMore": "加载更多...",
|
|
45
|
+
"search.loading": "加载中...",
|
|
46
|
+
"search.result": "搜索结果",
|
|
47
|
+
"search.findCount": "找到“{0}”个结果",
|
|
48
|
+
"search.sortByRelevance": "最相关降序排列",
|
|
49
|
+
"search.sortByLatest": "最新时间降序排列",
|
|
50
|
+
"search.backToPreviousPage": "返回原页面",
|
|
43
51
|
"meeting.audioToText": "语音转文字",
|
|
44
52
|
"meeting.item1": "发起人:",
|
|
45
53
|
"meeting.item2": "SIG组:",
|
|
@@ -632,6 +640,14 @@ const ge = {
|
|
|
632
640
|
"search.from": "From: ",
|
|
633
641
|
"search.version": "Version: ",
|
|
634
642
|
"search.back": "Back",
|
|
643
|
+
"search.reachBottom": "It's already at the bottom!",
|
|
644
|
+
"search.loadMore": "Load more...",
|
|
645
|
+
"search.loading": "Loading...",
|
|
646
|
+
"search.result": "Search Result",
|
|
647
|
+
"search.findCount": "Search results: {0}",
|
|
648
|
+
"search.sortByRelevance": "Sort by Relevance",
|
|
649
|
+
"search.sortByLatest": "Sort by Latest",
|
|
650
|
+
"search.backToPreviousPage": "Back to previous page",
|
|
635
651
|
"meeting.audioToText": "Speech to Text",
|
|
636
652
|
"meeting.item1": "Convener: ",
|
|
637
653
|
"meeting.item2": "SIG: ",
|
|
@@ -1106,7 +1122,7 @@ const ge = {
|
|
|
1106
1122
|
"common.MEETING_ALL": "All",
|
|
1107
1123
|
"common.MEETING_FILTER": "Filter",
|
|
1108
1124
|
"common.MEETING_MY_BOOKED": "My Booked",
|
|
1109
|
-
"common.MEETING_RECORD": "
|
|
1125
|
+
"common.MEETING_RECORD": "Recording",
|
|
1110
1126
|
"common.MODIFY": "Change",
|
|
1111
1127
|
"common.MODIFY_PASSWORD_NEW": "Change Password",
|
|
1112
1128
|
"common.MODIFY_PWD_TIP": "Verify your mobile number or email to reset your password. You will need to sign in again after the reset.",
|
|
@@ -1200,9 +1216,9 @@ function pe() {
|
|
|
1200
1216
|
if (g.length > 0 && me(i)) {
|
|
1201
1217
|
if (g.length === 1 && typeof g[0] == "object" && g[0] !== null) {
|
|
1202
1218
|
const l = g[0];
|
|
1203
|
-
return i.replace(/{(\w+)}/g, (
|
|
1219
|
+
return i.replace(/{(\w+)}/g, (h, M) => l[M] ?? h);
|
|
1204
1220
|
}
|
|
1205
|
-
return i.replace(/{(\d+)}/g, (l,
|
|
1221
|
+
return i.replace(/{(\d+)}/g, (l, h) => g[h] ?? l);
|
|
1206
1222
|
}
|
|
1207
1223
|
return i;
|
|
1208
1224
|
}
|
|
@@ -1221,14 +1237,14 @@ const ye = (m, r) => {
|
|
|
1221
1237
|
r.value = !0;
|
|
1222
1238
|
}), (p, y) => r.value ? $(p.$slots, "default", { key: 0 }) : O("", !0);
|
|
1223
1239
|
}
|
|
1224
|
-
}), Ie = { class: "cookie-notice-content" }, Se = ["type"],
|
|
1240
|
+
}), Ie = { class: "cookie-notice-content" }, Se = ["type"], he = { class: "cookie-title" }, Ae = {
|
|
1225
1241
|
style: { width: "1em", height: "1em" },
|
|
1226
1242
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1227
1243
|
version: "1.1",
|
|
1228
1244
|
width: "24",
|
|
1229
1245
|
height: "24",
|
|
1230
1246
|
viewBox: "0 0 24 24"
|
|
1231
|
-
},
|
|
1247
|
+
}, Te = {
|
|
1232
1248
|
class: "cookie-zh-title",
|
|
1233
1249
|
style: { "margin-top": "0" }
|
|
1234
1250
|
}, Ne = ["href"], _e = {
|
|
@@ -1248,7 +1264,7 @@ const ye = (m, r) => {
|
|
|
1248
1264
|
},
|
|
1249
1265
|
emits: ["update:visible"],
|
|
1250
1266
|
setup(m, { expose: r, emit: p }) {
|
|
1251
|
-
const y = m, S = p, { lePadV: g } = ne(), { locale: b, t: i } = pe(), l = L(() => b.value === "zh"),
|
|
1267
|
+
const y = m, S = p, { lePadV: g } = ne(), { locale: b, t: i } = pe(), l = L(() => b.value === "zh"), h = C(), M = L(() => h.value ? !!getComputedStyle(h.value).getPropertyValue("--grid-content-width") : !1), v = L(() => l.value ? Ye : We), A = C(!1), N = re(y, "visible", S, { defaultValue: !1 }), f = (s) => {
|
|
1252
1268
|
const n = document.cookie.split(";").find((d) => d.split("=")[0].trim() === encodeURIComponent(s));
|
|
1253
1269
|
return n ? decodeURIComponent(n.split("=")[1]) : null;
|
|
1254
1270
|
}, k = (s, n, d, J) => {
|
|
@@ -1267,15 +1283,15 @@ const ye = (m, r) => {
|
|
|
1267
1283
|
_(U());
|
|
1268
1284
|
});
|
|
1269
1285
|
const w = () => {
|
|
1270
|
-
|
|
1286
|
+
A.value = !0, k(v.value, j, 180, y.cookieDomain ?? location.hostname), _(!1);
|
|
1271
1287
|
}, x = () => {
|
|
1272
|
-
|
|
1288
|
+
A.value = !1, k(v.value, He, 180, y.cookieDomain ?? location.hostname), _(!1);
|
|
1273
1289
|
}, F = () => {
|
|
1274
|
-
|
|
1290
|
+
A.value ? w() : x(), P(!1);
|
|
1275
1291
|
}, V = () => {
|
|
1276
|
-
|
|
1292
|
+
A.value = !0, w(), P(!1);
|
|
1277
1293
|
}, q = () => {
|
|
1278
|
-
|
|
1294
|
+
A.value = B();
|
|
1279
1295
|
};
|
|
1280
1296
|
return r({
|
|
1281
1297
|
check() {
|
|
@@ -1289,7 +1305,7 @@ const ye = (m, r) => {
|
|
|
1289
1305
|
e(N) ? (u(), I("div", {
|
|
1290
1306
|
key: 0,
|
|
1291
1307
|
ref_key: "cookieNoticeRef",
|
|
1292
|
-
ref:
|
|
1308
|
+
ref: h,
|
|
1293
1309
|
class: "cookie-notice"
|
|
1294
1310
|
}, [
|
|
1295
1311
|
t("div", Ie, [
|
|
@@ -1297,11 +1313,11 @@ const ye = (m, r) => {
|
|
|
1297
1313
|
type: e(b),
|
|
1298
1314
|
class: Y({ "cookie-notice-wrap-grid": M.value, "cookie-notice-wrap": !M.value })
|
|
1299
1315
|
}, [
|
|
1300
|
-
t("div",
|
|
1316
|
+
t("div", he, [
|
|
1301
1317
|
l.value ? (u(), I(G, { key: 0 }, [
|
|
1302
1318
|
c(e(W), { style: { transform: "rotate(180deg)", "font-size": "24px", "margin-right": "4px" } }, {
|
|
1303
1319
|
default: a(() => [
|
|
1304
|
-
(u(), I("svg",
|
|
1320
|
+
(u(), I("svg", Ae, [...n[5] || (n[5] = [
|
|
1305
1321
|
t("path", {
|
|
1306
1322
|
fill: "#002fa7",
|
|
1307
1323
|
d: "M21 12c0 4.971-4.029 9-9 9s-9-4.029-9-9c0-4.971 4.029-9 9-9s9 4.029 9 9z"
|
|
@@ -1314,7 +1330,7 @@ const ye = (m, r) => {
|
|
|
1314
1330
|
]),
|
|
1315
1331
|
_: 1
|
|
1316
1332
|
}),
|
|
1317
|
-
t("p",
|
|
1333
|
+
t("p", Te, [
|
|
1318
1334
|
E(o(e(i)("cookie.desc")) + " ", 1),
|
|
1319
1335
|
t("a", {
|
|
1320
1336
|
href: m.detailUrl,
|
|
@@ -1354,7 +1370,7 @@ const ye = (m, r) => {
|
|
|
1354
1370
|
n[7] || (n[7] = E(". ", -1))
|
|
1355
1371
|
]),
|
|
1356
1372
|
t("div", Ce, [
|
|
1357
|
-
c(e(
|
|
1373
|
+
c(e(T), {
|
|
1358
1374
|
round: "",
|
|
1359
1375
|
type: "primary",
|
|
1360
1376
|
onClick: w
|
|
@@ -1364,7 +1380,7 @@ const ye = (m, r) => {
|
|
|
1364
1380
|
]),
|
|
1365
1381
|
_: 1
|
|
1366
1382
|
}),
|
|
1367
|
-
c(e(
|
|
1383
|
+
c(e(T), {
|
|
1368
1384
|
round: "",
|
|
1369
1385
|
type: "primary",
|
|
1370
1386
|
onClick: x
|
|
@@ -1374,7 +1390,7 @@ const ye = (m, r) => {
|
|
|
1374
1390
|
]),
|
|
1375
1391
|
_: 1
|
|
1376
1392
|
}),
|
|
1377
|
-
c(e(
|
|
1393
|
+
c(e(T), {
|
|
1378
1394
|
round: "",
|
|
1379
1395
|
type: "primary",
|
|
1380
1396
|
onClick: n[1] || (n[1] = (d) => P(!0))
|
|
@@ -1416,7 +1432,7 @@ const ye = (m, r) => {
|
|
|
1416
1432
|
]),
|
|
1417
1433
|
footer: a(() => [
|
|
1418
1434
|
e(g) ? (u(), I(G, { key: 0 }, [
|
|
1419
|
-
c(e(
|
|
1435
|
+
c(e(T), {
|
|
1420
1436
|
type: "text",
|
|
1421
1437
|
onClick: F
|
|
1422
1438
|
}, {
|
|
@@ -1429,7 +1445,7 @@ const ye = (m, r) => {
|
|
|
1429
1445
|
direction: "vertical",
|
|
1430
1446
|
style: { margin: "0 24px" }
|
|
1431
1447
|
}),
|
|
1432
|
-
c(e(
|
|
1448
|
+
c(e(T), {
|
|
1433
1449
|
type: "text",
|
|
1434
1450
|
onClick: V
|
|
1435
1451
|
}, {
|
|
@@ -1439,7 +1455,7 @@ const ye = (m, r) => {
|
|
|
1439
1455
|
_: 1
|
|
1440
1456
|
})
|
|
1441
1457
|
], 64)) : (u(), I(G, { key: 1 }, [
|
|
1442
|
-
c(e(
|
|
1458
|
+
c(e(T), {
|
|
1443
1459
|
round: "",
|
|
1444
1460
|
type: "primary",
|
|
1445
1461
|
onClick: F
|
|
@@ -1449,7 +1465,7 @@ const ye = (m, r) => {
|
|
|
1449
1465
|
]),
|
|
1450
1466
|
_: 1
|
|
1451
1467
|
}),
|
|
1452
|
-
c(e(
|
|
1468
|
+
c(e(T), {
|
|
1453
1469
|
round: "",
|
|
1454
1470
|
type: "primary",
|
|
1455
1471
|
onClick: V
|
|
@@ -1475,8 +1491,8 @@ const ye = (m, r) => {
|
|
|
1475
1491
|
t("span", Be, o(e(i)("cookie.analyticalCookie")), 1),
|
|
1476
1492
|
t("span", xe, [
|
|
1477
1493
|
c(e(se), {
|
|
1478
|
-
modelValue:
|
|
1479
|
-
"onUpdate:modelValue": n[3] || (n[3] = (d) =>
|
|
1494
|
+
modelValue: A.value,
|
|
1495
|
+
"onUpdate:modelValue": n[3] || (n[3] = (d) => A.value = d)
|
|
1480
1496
|
}, null, 8, ["modelValue"])
|
|
1481
1497
|
])
|
|
1482
1498
|
]),
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
items: any[];
|
|
3
|
+
loading: boolean;
|
|
4
|
+
total?: number;
|
|
5
|
+
pageSizes?: number[];
|
|
6
|
+
noMore: boolean;
|
|
7
|
+
scrollContainer?: string | HTMLElement;
|
|
8
|
+
bottomOffset?: number;
|
|
9
|
+
hideSort?: boolean;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_PublicProps = {
|
|
12
|
+
'page'?: number;
|
|
13
|
+
'pageSize'?: number;
|
|
14
|
+
'sortValue'?: string;
|
|
15
|
+
} & __VLS_Props;
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
attrs: Partial<{}>;
|
|
18
|
+
slots: {
|
|
19
|
+
'header-title'?(_: {}): any;
|
|
20
|
+
'header-desc'?(_: {}): any;
|
|
21
|
+
'header-sort-options'?(_: {}): any;
|
|
22
|
+
empty?(_: {}): any;
|
|
23
|
+
list?(_: {
|
|
24
|
+
items: any[];
|
|
25
|
+
}): any;
|
|
26
|
+
};
|
|
27
|
+
refs: {};
|
|
28
|
+
rootEl: HTMLDivElement;
|
|
29
|
+
};
|
|
30
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
|
+
declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
32
|
+
"update:pageSize": (value: number) => any;
|
|
33
|
+
"update:page": (value: number) => any;
|
|
34
|
+
"update:sortValue": (value: string) => any;
|
|
35
|
+
} & {
|
|
36
|
+
"reach-bottom": () => any;
|
|
37
|
+
back: () => any;
|
|
38
|
+
}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
39
|
+
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
40
|
+
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
41
|
+
"onReach-bottom"?: (() => any) | undefined;
|
|
42
|
+
onBack?: (() => any) | undefined;
|
|
43
|
+
"onUpdate:sortValue"?: ((value: string) => any) | undefined;
|
|
44
|
+
}>, {
|
|
45
|
+
total: number;
|
|
46
|
+
pageSizes: number[];
|
|
47
|
+
bottomOffset: number;
|
|
48
|
+
hideSort: boolean;
|
|
49
|
+
}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
50
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { App } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
declare const OSearchDocResult: {
|
|
3
|
+
new (...args: any[]): import('../../../vue/dist/vue.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
|
+
page?: number;
|
|
5
|
+
pageSize?: number;
|
|
6
|
+
sortValue?: string;
|
|
7
|
+
} & {
|
|
8
|
+
items: any[];
|
|
9
|
+
loading: boolean;
|
|
10
|
+
total?: number;
|
|
11
|
+
pageSizes?: number[];
|
|
12
|
+
noMore: boolean;
|
|
13
|
+
scrollContainer?: string | HTMLElement;
|
|
14
|
+
bottomOffset?: number;
|
|
15
|
+
hideSort?: boolean;
|
|
16
|
+
}> & Readonly<{
|
|
17
|
+
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
18
|
+
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
19
|
+
"onReach-bottom"?: (() => any) | undefined;
|
|
20
|
+
onBack?: (() => any) | undefined;
|
|
21
|
+
"onUpdate:sortValue"?: ((value: string) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
23
|
+
"update:pageSize": (value: number) => any;
|
|
24
|
+
"update:page": (value: number) => any;
|
|
25
|
+
"update:sortValue": (value: string) => any;
|
|
26
|
+
} & {
|
|
27
|
+
"reach-bottom": () => any;
|
|
28
|
+
back: () => any;
|
|
29
|
+
}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, {
|
|
30
|
+
total: number;
|
|
31
|
+
pageSizes: number[];
|
|
32
|
+
bottomOffset: number;
|
|
33
|
+
hideSort: boolean;
|
|
34
|
+
}, false, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, {}, HTMLDivElement, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, {
|
|
35
|
+
P: {};
|
|
36
|
+
B: {};
|
|
37
|
+
D: {};
|
|
38
|
+
C: {};
|
|
39
|
+
M: {};
|
|
40
|
+
Defaults: {};
|
|
41
|
+
}, Readonly<{
|
|
42
|
+
page?: number;
|
|
43
|
+
pageSize?: number;
|
|
44
|
+
sortValue?: string;
|
|
45
|
+
} & {
|
|
46
|
+
items: any[];
|
|
47
|
+
loading: boolean;
|
|
48
|
+
total?: number;
|
|
49
|
+
pageSizes?: number[];
|
|
50
|
+
noMore: boolean;
|
|
51
|
+
scrollContainer?: string | HTMLElement;
|
|
52
|
+
bottomOffset?: number;
|
|
53
|
+
hideSort?: boolean;
|
|
54
|
+
}> & Readonly<{
|
|
55
|
+
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
56
|
+
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
57
|
+
"onReach-bottom"?: (() => any) | undefined;
|
|
58
|
+
onBack?: (() => any) | undefined;
|
|
59
|
+
"onUpdate:sortValue"?: ((value: string) => any) | undefined;
|
|
60
|
+
}>, {}, {}, {}, {}, {
|
|
61
|
+
total: number;
|
|
62
|
+
pageSizes: number[];
|
|
63
|
+
bottomOffset: number;
|
|
64
|
+
hideSort: boolean;
|
|
65
|
+
}>;
|
|
66
|
+
__isFragment?: never;
|
|
67
|
+
__isTeleport?: never;
|
|
68
|
+
__isSuspense?: never;
|
|
69
|
+
} & import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<{
|
|
70
|
+
page?: number;
|
|
71
|
+
pageSize?: number;
|
|
72
|
+
sortValue?: string;
|
|
73
|
+
} & {
|
|
74
|
+
items: any[];
|
|
75
|
+
loading: boolean;
|
|
76
|
+
total?: number;
|
|
77
|
+
pageSizes?: number[];
|
|
78
|
+
noMore: boolean;
|
|
79
|
+
scrollContainer?: string | HTMLElement;
|
|
80
|
+
bottomOffset?: number;
|
|
81
|
+
hideSort?: boolean;
|
|
82
|
+
}> & Readonly<{
|
|
83
|
+
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
84
|
+
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
85
|
+
"onReach-bottom"?: (() => any) | undefined;
|
|
86
|
+
onBack?: (() => any) | undefined;
|
|
87
|
+
"onUpdate:sortValue"?: ((value: string) => any) | undefined;
|
|
88
|
+
}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
89
|
+
"update:pageSize": (value: number) => any;
|
|
90
|
+
"update:page": (value: number) => any;
|
|
91
|
+
"update:sortValue": (value: string) => any;
|
|
92
|
+
} & {
|
|
93
|
+
"reach-bottom": () => any;
|
|
94
|
+
back: () => any;
|
|
95
|
+
}, string, {
|
|
96
|
+
total: number;
|
|
97
|
+
pageSizes: number[];
|
|
98
|
+
bottomOffset: number;
|
|
99
|
+
hideSort: boolean;
|
|
100
|
+
}, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps & (new () => {
|
|
101
|
+
$slots: {
|
|
102
|
+
'header-title'?(_: {}): any;
|
|
103
|
+
'header-desc'?(_: {}): any;
|
|
104
|
+
'header-sort-options'?(_: {}): any;
|
|
105
|
+
empty?(_: {}): any;
|
|
106
|
+
list?(_: {
|
|
107
|
+
items: any[];
|
|
108
|
+
}): any;
|
|
109
|
+
};
|
|
110
|
+
}) & {
|
|
111
|
+
install(app: App): void;
|
|
112
|
+
};
|
|
113
|
+
export { OSearchDocResult };
|
|
@@ -11,6 +11,10 @@ type __VLS_Props = {
|
|
|
11
11
|
searchFlag: boolean;
|
|
12
12
|
feedbackText: string;
|
|
13
13
|
}) => Promise<boolean>;
|
|
14
|
+
noMore: boolean;
|
|
15
|
+
scrollContainer?: string | HTMLElement;
|
|
16
|
+
bottomOffset?: number;
|
|
17
|
+
hideTabOnMobile?: boolean;
|
|
14
18
|
};
|
|
15
19
|
type __VLS_PublicProps = {
|
|
16
20
|
'version'?: SelectValueT;
|
|
@@ -35,13 +39,20 @@ declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').De
|
|
|
35
39
|
"update:pageSize": (value: number) => any;
|
|
36
40
|
"update:page": (value: number) => any;
|
|
37
41
|
"update:version": (value: SelectValueT) => any;
|
|
42
|
+
} & {
|
|
43
|
+
"reach-bottom": () => any;
|
|
44
|
+
"click-relative-search-item": (item: OSearchRelativeItemT) => any;
|
|
38
45
|
}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
39
46
|
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
40
47
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
48
|
+
"onReach-bottom"?: (() => any) | undefined;
|
|
49
|
+
"onClick-relative-search-item"?: ((item: OSearchRelativeItemT) => any) | undefined;
|
|
41
50
|
"onUpdate:version"?: ((value: SelectValueT) => any) | undefined;
|
|
42
51
|
}>, {
|
|
43
52
|
total: number;
|
|
44
53
|
pageSizes: number[];
|
|
54
|
+
bottomOffset: number;
|
|
55
|
+
hideTabOnMobile: boolean;
|
|
45
56
|
}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
46
57
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
47
58
|
export default _default;
|
|
@@ -5,9 +5,12 @@ type __VLS_Props = {
|
|
|
5
5
|
bg?: string;
|
|
6
6
|
tabs?: OSearchItemT[];
|
|
7
7
|
inputProps?: OSearchInputPropsT;
|
|
8
|
+
responsive?: boolean;
|
|
9
|
+
hideTabOnMobile?: boolean;
|
|
8
10
|
};
|
|
9
11
|
type __VLS_PublicProps = {
|
|
10
12
|
'searchInput'?: string;
|
|
13
|
+
'imageUrl'?: string;
|
|
11
14
|
'tab'?: string | number;
|
|
12
15
|
} & __VLS_Props;
|
|
13
16
|
declare function __VLS_template(): {
|
|
@@ -650,15 +653,20 @@ declare function __VLS_template(): {
|
|
|
650
653
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
651
654
|
declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
652
655
|
search: (payload: OSearchPayload) => any;
|
|
656
|
+
"update:imageUrl": (value: string) => any;
|
|
653
657
|
back: () => any;
|
|
654
658
|
"update:searchInput": (value: string) => any;
|
|
655
659
|
"update:tab": (value: string | number) => any;
|
|
656
660
|
}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
657
661
|
onSearch?: ((payload: OSearchPayload) => any) | undefined;
|
|
662
|
+
"onUpdate:imageUrl"?: ((value: string) => any) | undefined;
|
|
658
663
|
onBack?: (() => any) | undefined;
|
|
659
664
|
"onUpdate:searchInput"?: ((value: string) => any) | undefined;
|
|
660
665
|
"onUpdate:tab"?: ((value: string | number) => any) | undefined;
|
|
661
|
-
}>, {
|
|
666
|
+
}>, {
|
|
667
|
+
responsive: boolean;
|
|
668
|
+
hideTabOnMobile: boolean;
|
|
669
|
+
}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {
|
|
662
670
|
searchInputRef: ({
|
|
663
671
|
$: import('../../../vue/dist/vue.esm-bundler.js').ComponentInternalInstance;
|
|
664
672
|
$data: {};
|
|
@@ -2,5 +2,9 @@ import { OSearchRelativeItemT } from '../types';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
relativeItems: OSearchRelativeItemT[];
|
|
4
4
|
};
|
|
5
|
-
declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}
|
|
5
|
+
declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
6
|
+
"click-relative-search-item": (item: OSearchRelativeItemT) => any;
|
|
7
|
+
}, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
"onClick-relative-search-item"?: ((item: OSearchRelativeItemT) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, any>;
|
|
6
10
|
export default _default;
|
|
@@ -15,17 +15,28 @@ declare const OSearchResult: {
|
|
|
15
15
|
searchFlag: boolean;
|
|
16
16
|
feedbackText: string;
|
|
17
17
|
}) => Promise<boolean>;
|
|
18
|
+
noMore: boolean;
|
|
19
|
+
scrollContainer?: string | HTMLElement;
|
|
20
|
+
bottomOffset?: number;
|
|
21
|
+
hideTabOnMobile?: boolean;
|
|
18
22
|
}> & Readonly<{
|
|
19
23
|
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
20
24
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
25
|
+
"onReach-bottom"?: (() => any) | undefined;
|
|
26
|
+
"onClick-relative-search-item"?: ((item: import('./types').OSearchRelativeItemT) => any) | undefined;
|
|
21
27
|
"onUpdate:version"?: ((value: import('@opensig/opendesign').SelectValueT) => any) | undefined;
|
|
22
28
|
}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
23
29
|
"update:pageSize": (value: number) => any;
|
|
24
30
|
"update:page": (value: number) => any;
|
|
25
31
|
"update:version": (value: import('@opensig/opendesign').SelectValueT) => any;
|
|
32
|
+
} & {
|
|
33
|
+
"reach-bottom": () => any;
|
|
34
|
+
"click-relative-search-item": (item: import('./types').OSearchRelativeItemT) => any;
|
|
26
35
|
}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, {
|
|
27
36
|
total: number;
|
|
28
37
|
pageSizes: number[];
|
|
38
|
+
bottomOffset: number;
|
|
39
|
+
hideTabOnMobile: boolean;
|
|
29
40
|
}, false, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, {}, HTMLDivElement, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, {
|
|
30
41
|
P: {};
|
|
31
42
|
B: {};
|
|
@@ -48,13 +59,21 @@ declare const OSearchResult: {
|
|
|
48
59
|
searchFlag: boolean;
|
|
49
60
|
feedbackText: string;
|
|
50
61
|
}) => Promise<boolean>;
|
|
62
|
+
noMore: boolean;
|
|
63
|
+
scrollContainer?: string | HTMLElement;
|
|
64
|
+
bottomOffset?: number;
|
|
65
|
+
hideTabOnMobile?: boolean;
|
|
51
66
|
}> & Readonly<{
|
|
52
67
|
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
53
68
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
69
|
+
"onReach-bottom"?: (() => any) | undefined;
|
|
70
|
+
"onClick-relative-search-item"?: ((item: import('./types').OSearchRelativeItemT) => any) | undefined;
|
|
54
71
|
"onUpdate:version"?: ((value: import('@opensig/opendesign').SelectValueT) => any) | undefined;
|
|
55
72
|
}>, {}, {}, {}, {}, {
|
|
56
73
|
total: number;
|
|
57
74
|
pageSizes: number[];
|
|
75
|
+
bottomOffset: number;
|
|
76
|
+
hideTabOnMobile: boolean;
|
|
58
77
|
}>;
|
|
59
78
|
__isFragment?: never;
|
|
60
79
|
__isTeleport?: never;
|
|
@@ -74,17 +93,28 @@ declare const OSearchResult: {
|
|
|
74
93
|
searchFlag: boolean;
|
|
75
94
|
feedbackText: string;
|
|
76
95
|
}) => Promise<boolean>;
|
|
96
|
+
noMore: boolean;
|
|
97
|
+
scrollContainer?: string | HTMLElement;
|
|
98
|
+
bottomOffset?: number;
|
|
99
|
+
hideTabOnMobile?: boolean;
|
|
77
100
|
}> & Readonly<{
|
|
78
101
|
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
79
102
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
103
|
+
"onReach-bottom"?: (() => any) | undefined;
|
|
104
|
+
"onClick-relative-search-item"?: ((item: import('./types').OSearchRelativeItemT) => any) | undefined;
|
|
80
105
|
"onUpdate:version"?: ((value: import('@opensig/opendesign').SelectValueT) => any) | undefined;
|
|
81
106
|
}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
82
107
|
"update:pageSize": (value: number) => any;
|
|
83
108
|
"update:page": (value: number) => any;
|
|
84
109
|
"update:version": (value: import('@opensig/opendesign').SelectValueT) => any;
|
|
110
|
+
} & {
|
|
111
|
+
"reach-bottom": () => any;
|
|
112
|
+
"click-relative-search-item": (item: import('./types').OSearchRelativeItemT) => any;
|
|
85
113
|
}, string, {
|
|
86
114
|
total: number;
|
|
87
115
|
pageSizes: number[];
|
|
116
|
+
bottomOffset: number;
|
|
117
|
+
hideTabOnMobile: boolean;
|
|
88
118
|
}, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps & (new () => {
|
|
89
119
|
$slots: {
|
|
90
120
|
'content-header'?(_: {}): any;
|
|
@@ -100,22 +130,30 @@ declare const OSearchResult: {
|
|
|
100
130
|
declare const OSearchResultHeader: {
|
|
101
131
|
new (...args: any[]): import('../../../vue/dist/vue.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
102
132
|
searchInput?: string;
|
|
133
|
+
imageUrl?: string;
|
|
103
134
|
tab?: string | number;
|
|
104
135
|
} & {
|
|
105
136
|
bg?: string;
|
|
106
137
|
tabs?: import('./types').OSearchItemT[];
|
|
107
138
|
inputProps?: import('../search/OSearchInput.vue').OSearchInputPropsT;
|
|
139
|
+
responsive?: boolean;
|
|
140
|
+
hideTabOnMobile?: boolean;
|
|
108
141
|
}> & Readonly<{
|
|
109
142
|
onSearch?: ((payload: import('../search').OSearchPayload) => any) | undefined;
|
|
143
|
+
"onUpdate:imageUrl"?: ((value: string) => any) | undefined;
|
|
110
144
|
onBack?: (() => any) | undefined;
|
|
111
145
|
"onUpdate:searchInput"?: ((value: string) => any) | undefined;
|
|
112
146
|
"onUpdate:tab"?: ((value: string | number) => any) | undefined;
|
|
113
147
|
}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
114
148
|
search: (payload: import('../search').OSearchPayload) => any;
|
|
149
|
+
"update:imageUrl": (value: string) => any;
|
|
115
150
|
back: () => any;
|
|
116
151
|
"update:searchInput": (value: string) => any;
|
|
117
152
|
"update:tab": (value: string | number) => any;
|
|
118
|
-
}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, {
|
|
153
|
+
}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, {
|
|
154
|
+
responsive: boolean;
|
|
155
|
+
hideTabOnMobile: boolean;
|
|
156
|
+
}, false, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, {
|
|
119
157
|
searchInputRef: ({
|
|
120
158
|
$: import('../../../vue/dist/vue.esm-bundler.js').ComponentInternalInstance;
|
|
121
159
|
$data: {};
|
|
@@ -752,38 +790,53 @@ declare const OSearchResultHeader: {
|
|
|
752
790
|
Defaults: {};
|
|
753
791
|
}, Readonly<{
|
|
754
792
|
searchInput?: string;
|
|
793
|
+
imageUrl?: string;
|
|
755
794
|
tab?: string | number;
|
|
756
795
|
} & {
|
|
757
796
|
bg?: string;
|
|
758
797
|
tabs?: import('./types').OSearchItemT[];
|
|
759
798
|
inputProps?: import('../search/OSearchInput.vue').OSearchInputPropsT;
|
|
799
|
+
responsive?: boolean;
|
|
800
|
+
hideTabOnMobile?: boolean;
|
|
760
801
|
}> & Readonly<{
|
|
761
802
|
onSearch?: ((payload: import('../search').OSearchPayload) => any) | undefined;
|
|
803
|
+
"onUpdate:imageUrl"?: ((value: string) => any) | undefined;
|
|
762
804
|
onBack?: (() => any) | undefined;
|
|
763
805
|
"onUpdate:searchInput"?: ((value: string) => any) | undefined;
|
|
764
806
|
"onUpdate:tab"?: ((value: string | number) => any) | undefined;
|
|
765
|
-
}>, {}, {}, {}, {}, {
|
|
807
|
+
}>, {}, {}, {}, {}, {
|
|
808
|
+
responsive: boolean;
|
|
809
|
+
hideTabOnMobile: boolean;
|
|
810
|
+
}>;
|
|
766
811
|
__isFragment?: never;
|
|
767
812
|
__isTeleport?: never;
|
|
768
813
|
__isSuspense?: never;
|
|
769
814
|
} & import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<{
|
|
770
815
|
searchInput?: string;
|
|
816
|
+
imageUrl?: string;
|
|
771
817
|
tab?: string | number;
|
|
772
818
|
} & {
|
|
773
819
|
bg?: string;
|
|
774
820
|
tabs?: import('./types').OSearchItemT[];
|
|
775
821
|
inputProps?: import('../search/OSearchInput.vue').OSearchInputPropsT;
|
|
822
|
+
responsive?: boolean;
|
|
823
|
+
hideTabOnMobile?: boolean;
|
|
776
824
|
}> & Readonly<{
|
|
777
825
|
onSearch?: ((payload: import('../search').OSearchPayload) => any) | undefined;
|
|
826
|
+
"onUpdate:imageUrl"?: ((value: string) => any) | undefined;
|
|
778
827
|
onBack?: (() => any) | undefined;
|
|
779
828
|
"onUpdate:searchInput"?: ((value: string) => any) | undefined;
|
|
780
829
|
"onUpdate:tab"?: ((value: string | number) => any) | undefined;
|
|
781
830
|
}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
782
831
|
search: (payload: import('../search').OSearchPayload) => any;
|
|
832
|
+
"update:imageUrl": (value: string) => any;
|
|
783
833
|
back: () => any;
|
|
784
834
|
"update:searchInput": (value: string) => any;
|
|
785
835
|
"update:tab": (value: string | number) => any;
|
|
786
|
-
}, string, {
|
|
836
|
+
}, string, {
|
|
837
|
+
responsive: boolean;
|
|
838
|
+
hideTabOnMobile: boolean;
|
|
839
|
+
}, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps & (new () => {
|
|
787
840
|
$slots: {
|
|
788
841
|
input?(_: {}): any;
|
|
789
842
|
tab?(_: {}): any;
|