@opendesign-plus-test/components 0.0.1-rc.233 → 0.0.1-rc.235
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/search-result/OSearchResult.vue.d.ts +5 -0
- package/dist/components/search-result/OSearchResultHeader.vue.d.ts +4 -1
- package/dist/components/search-result/index.d.ts +26 -3
- package/dist/components.cjs.js +27 -27
- package/dist/components.css +1 -1
- package/dist/components.es.js +3983 -3964
- package/dist/treeshaking/_virtual/icon-email.mjs +8 -9
- package/dist/treeshaking/_virtual/icon-email2.mjs +9 -8
- package/dist/treeshaking/_virtual/icon-tips.mjs +2 -13
- package/dist/treeshaking/_virtual/icon-tips2.mjs +13 -2
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +1 -1
- package/dist/treeshaking/components/org/OOrgMembers.vue2.mjs +1 -1
- package/dist/treeshaking/components/search-result/OSearchResult.css +33 -33
- package/dist/treeshaking/components/search-result/OSearchResult.vue.d.ts +5 -0
- package/dist/treeshaking/components/search-result/OSearchResult.vue.mjs +1 -1
- package/dist/treeshaking/components/search-result/OSearchResult.vue2.mjs +49 -4
- package/dist/treeshaking/components/search-result/OSearchResultHeader.css +36 -27
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +4 -1
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue2.mjs +16 -14
- package/dist/treeshaking/components/search-result/index.d.ts +26 -3
- package/dist/treeshaking/components/user-center/OAccountSetting.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
|
2
2
|
const _hoisted_1 = {
|
|
3
|
-
width: "24px",
|
|
4
|
-
height: "24px",
|
|
5
|
-
viewBox: "0 0 24 24",
|
|
6
3
|
version: "1.1",
|
|
7
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
-
|
|
5
|
+
width: "32",
|
|
6
|
+
height: "32",
|
|
7
|
+
viewBox: "0 0 32 32"
|
|
9
8
|
};
|
|
10
9
|
function render(_ctx, _cache) {
|
|
11
10
|
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
12
11
|
createElementVNode("path", {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
opacity: "0.8",
|
|
13
|
+
fill: "#000",
|
|
14
|
+
d: "M26.307 5.012c1.473 0 2.667 1.193 2.667 2.667v7.32c0 0.516-0.417 0.933-0.933 0.933s-0.933-0.417-0.933-0.933l-0.001-6.997-9.461 7.828c-0.999 0.825-2.445 0.815-3.431-0.025l-9.465-8.075v16.671c0 0.441 0.359 0.8 0.8 0.8h20.759c0.441 0 0.8-0.359 0.8-0.8v-5.395c0-0.516 0.417-0.933 0.933-0.933s0.933 0.417 0.933 0.933v5.395c0 1.473-1.193 2.667-2.667 2.667h-20.759c-1.473 0-2.667-1.193-2.667-2.667v-16.721c0-1.473 1.193-2.667 2.667-2.667h20.759zM25.533 6.879h-18.907l8.799 7.505c0.296 0.252 0.729 0.256 1.029 0.008l9.079-7.513z"
|
|
16
15
|
}, null, -1)
|
|
17
16
|
])]);
|
|
18
17
|
}
|
|
19
|
-
const
|
|
18
|
+
const IconEmail = { name: "components-icon-email", render };
|
|
20
19
|
export {
|
|
21
|
-
|
|
20
|
+
IconEmail as default
|
|
22
21
|
};
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
|
2
2
|
const _hoisted_1 = {
|
|
3
|
+
width: "24px",
|
|
4
|
+
height: "24px",
|
|
5
|
+
viewBox: "0 0 24 24",
|
|
3
6
|
version: "1.1",
|
|
4
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
|
|
6
|
-
height: "32",
|
|
7
|
-
viewBox: "0 0 32 32"
|
|
8
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
8
9
|
};
|
|
9
10
|
function render(_ctx, _cache) {
|
|
10
11
|
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
11
12
|
createElementVNode("path", {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
d: "M19.7302143,3.7590332 C20.8347769,3.7590332 21.7302074,4.65446353 21.7302074,5.7590332 L21.7302074,11.2494191 C21.7302074,11.6360247 21.4168126,11.9494212 21.0302108,11.9494212 C20.643609,11.9494212 20.3302142,11.6360247 20.3302142,11.2494191 L20.3304289,6.00074187 C19.2986037,6.85443694 16.9329556,8.81168905 13.2334847,11.8724982 C12.4849639,12.4917966 11.399646,12.4836263 10.6605433,11.853125 C10.6605433,11.853125 8.29408169,9.83438585 3.56115837,5.79690763 L3.56137022,18.2997234 C3.56137022,18.6310996 3.83001113,18.8997205 4.16137695,18.8997205 L19.7302143,18.8997205 C20.0615733,18.8997205 20.3302142,18.6310996 20.3302142,18.2997234 L20.3302142,14.2535395 C20.3302142,13.8669339 20.643609,13.5535374 21.0302108,13.5535374 C21.4168126,13.5535374 21.7302074,13.8669339 21.7302074,14.2535395 L21.7302074,18.2997234 C21.7302074,19.4042943 20.8347769,20.2997246 19.7302143,20.2997246 L4.16137695,20.2997246 C3.0568075,20.2997246 2.16137695,19.4042943 2.16137695,18.2997234 L2.16137695,5.7590332 C2.16137695,4.65446353 3.0568075,3.7590332 4.16137695,3.7590332 L19.7302143,3.7590332 Z M19.1508914,5.15959067 L4.97116245,5.15953281 C6.08234646,6.10744194 8.28167148,7.9836031 11.5691375,10.7880163 C11.7908756,10.9771675 12.1164692,10.9796194 12.3410309,10.7938315 C12.3410309,10.7938315 14.6109844,8.91575122 19.1508914,5.15959067 Z",
|
|
14
|
+
id: "形状结合",
|
|
15
|
+
fill: "currentColor"
|
|
15
16
|
}, null, -1)
|
|
16
17
|
])]);
|
|
17
18
|
}
|
|
18
|
-
const
|
|
19
|
+
const IconMail = { name: "user-center-icon-email", render };
|
|
19
20
|
export {
|
|
20
|
-
|
|
21
|
+
IconMail as default
|
|
21
22
|
};
|
|
@@ -8,21 +8,10 @@ const _hoisted_1 = {
|
|
|
8
8
|
};
|
|
9
9
|
function render(_ctx, _cache) {
|
|
10
10
|
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
11
|
-
createElementVNode("path", {
|
|
12
|
-
fill: "currentColor",
|
|
13
|
-
d: "M12 8.15c0.418 0 0.763 0.31 0.817 0.713l0.008 0.112v8.8c0 0.456-0.369 0.825-0.825 0.825-0.418 0-0.763-0.31-0.817-0.713l-0.008-0.112v-8.8c0-0.456 0.369-0.825 0.825-0.825z"
|
|
14
|
-
}, null, -1),
|
|
15
|
-
createElementVNode("path", {
|
|
16
|
-
fill: "currentColor",
|
|
17
|
-
d: "M13.2 6.225c0 0.663-0.537 1.2-1.2 1.2s-1.2-0.537-1.2-1.2c0-0.663 0.537-1.2 1.2-1.2s1.2 0.537 1.2 1.2z"
|
|
18
|
-
}, null, -1),
|
|
19
|
-
createElementVNode("path", {
|
|
20
|
-
fill: "currentColor",
|
|
21
|
-
d: "M12 0.23c1.222 0 2.42 0.187 3.563 0.549 0.405 0.129 0.63 0.561 0.501 0.967s-0.561 0.63-0.967 0.501c-0.993-0.315-2.034-0.477-3.097-0.477-5.65 0-10.23 4.58-10.23 10.23s4.58 10.23 10.23 10.23c5.65 0 10.23-4.58 10.23-10.23 0-3.276-1.549-6.292-4.128-8.211-0.341-0.254-0.412-0.736-0.158-1.077s0.736-0.412 1.077-0.158c2.965 2.207 4.748 5.679 4.748 9.447 0 6.5-5.27 11.77-11.77 11.77s-11.77-5.27-11.77-11.77c0-6.5 5.27-11.77 11.77-11.77z"
|
|
22
|
-
}, null, -1)
|
|
11
|
+
createElementVNode("path", { d: "M12.032 2.355c1.632 0 3.205 0.404 4.611 1.166 0.34 0.182 0.466 0.609 0.281 0.949s-0.609 0.463-0.949 0.281c-1.201-0.65-2.546-0.996-3.943-0.996-4.585 0-8.3 3.715-8.3 8.297 0 4.588 3.715 8.303 8.3 8.303s8.3-3.715 8.3-8.303c0-2.063-0.753-4.002-2.098-5.514-0.258-0.287-0.231-0.732 0.059-0.984 0.287-0.258 0.729-0.234 0.987 0.053 1.57 1.764 2.452 4.037 2.452 6.445 0 5.361-4.342 9.703-9.7 9.703s-9.7-4.342-9.7-9.703c0-5.355 4.342-9.697 9.7-9.697zM10.866 7.658c0-0.627 0.507-1.131 1.134-1.131s1.134 0.504 1.134 1.131c0 0.627-0.507 1.131-1.134 1.131s-1.134-0.504-1.134-1.131zM12.706 10.002c-0.044-0.346-0.337-0.609-0.691-0.609-0.387 0-0.7 0.311-0.703 0.697l-0.023 6.762 0.006 0.1c0.044 0.34 0.337 0.603 0.691 0.603 0.387 0.006 0.7-0.311 0.703-0.697l0.023-6.762-0.006-0.094z" }, null, -1)
|
|
23
12
|
])]);
|
|
24
13
|
}
|
|
25
|
-
const IconTips = { name: "
|
|
14
|
+
const IconTips = { name: "components-icon-tips", render };
|
|
26
15
|
export {
|
|
27
16
|
IconTips as default
|
|
28
17
|
};
|
|
@@ -8,10 +8,21 @@ const _hoisted_1 = {
|
|
|
8
8
|
};
|
|
9
9
|
function render(_ctx, _cache) {
|
|
10
10
|
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
11
|
-
createElementVNode("path", {
|
|
11
|
+
createElementVNode("path", {
|
|
12
|
+
fill: "currentColor",
|
|
13
|
+
d: "M12 8.15c0.418 0 0.763 0.31 0.817 0.713l0.008 0.112v8.8c0 0.456-0.369 0.825-0.825 0.825-0.418 0-0.763-0.31-0.817-0.713l-0.008-0.112v-8.8c0-0.456 0.369-0.825 0.825-0.825z"
|
|
14
|
+
}, null, -1),
|
|
15
|
+
createElementVNode("path", {
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
d: "M13.2 6.225c0 0.663-0.537 1.2-1.2 1.2s-1.2-0.537-1.2-1.2c0-0.663 0.537-1.2 1.2-1.2s1.2 0.537 1.2 1.2z"
|
|
18
|
+
}, null, -1),
|
|
19
|
+
createElementVNode("path", {
|
|
20
|
+
fill: "currentColor",
|
|
21
|
+
d: "M12 0.23c1.222 0 2.42 0.187 3.563 0.549 0.405 0.129 0.63 0.561 0.501 0.967s-0.561 0.63-0.967 0.501c-0.993-0.315-2.034-0.477-3.097-0.477-5.65 0-10.23 4.58-10.23 10.23s4.58 10.23 10.23 10.23c5.65 0 10.23-4.58 10.23-10.23 0-3.276-1.549-6.292-4.128-8.211-0.341-0.254-0.412-0.736-0.158-1.077s0.736-0.412 1.077-0.158c2.965 2.207 4.748 5.679 4.748 9.447 0 6.5-5.27 11.77-11.77 11.77s-11.77-5.27-11.77-11.77c0-6.5 5.27-11.77 11.77-11.77z"
|
|
22
|
+
}, null, -1)
|
|
12
23
|
])]);
|
|
13
24
|
}
|
|
14
|
-
const IconTips = { name: "
|
|
25
|
+
const IconTips = { name: "user-center-icon-tips", render };
|
|
15
26
|
export {
|
|
16
27
|
IconTips as default
|
|
17
28
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch, nextTick, onMounted, onBeforeUnmount, openBlock, createElementBlock, unref, createElementVNode, toDisplayString, createVNode, withCtx, createCommentVNode, normalizeClass, Fragment, renderList, createBlock, resolveDynamicComponent, createTextVNode, renderSlot } from "vue";
|
|
2
2
|
import { isClient, OPopover, OIcon, OTab, OTabPane, OSelect, OOption, ODivider, OScroller, OResult, OFigure } from "@opensig/opendesign";
|
|
3
3
|
import dayjs from "dayjs";
|
|
4
|
-
import IconTips from "../../_virtual/icon-
|
|
4
|
+
import IconTips from "../../_virtual/icon-tips.mjs";
|
|
5
5
|
import _sfc_main$1 from "./components/OMeetingSigAside.vue.mjs";
|
|
6
6
|
import './components/OMeetingSigAside.css';
|
|
7
7
|
import { CalendarDataType } from "./types.mjs";
|
|
@@ -2,7 +2,7 @@ import { defineComponent, computed, ref, openBlock, createElementBlock, Fragment
|
|
|
2
2
|
import { OLink, OButton, OIcon, OIconChevronUp, OIconChevronDown } from "@opensig/opendesign";
|
|
3
3
|
import { useScreen } from "@opendesign-plus/composables";
|
|
4
4
|
import { useI18n } from "../../i18n/index.mjs";
|
|
5
|
-
import IconEmail from "../../_virtual/icon-
|
|
5
|
+
import IconEmail from "../../_virtual/icon-email.mjs";
|
|
6
6
|
const _hoisted_1 = { class: "o-org-members" };
|
|
7
7
|
const _hoisted_2 = ["src", "alt"];
|
|
8
8
|
const _hoisted_3 = { class: "o-org-members-title" };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-58ec4d79] {
|
|
2
2
|
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
3
|
}
|
|
4
4
|
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-
|
|
5
|
+
.hover-icon-rotate:hover .o-icon[data-v-58ec4d79] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.o-search-result[data-v-
|
|
10
|
-
--o-search-result-page-header-hight:
|
|
11
|
-
--o-search-result-page-footer-hight:
|
|
9
|
+
.o-search-result[data-v-58ec4d79] {
|
|
10
|
+
--o-search-result-page-header-hight: 0px;
|
|
11
|
+
--o-search-result-page-footer-hight: 0px;
|
|
12
12
|
--o-search-result-radius: var(--o-radius-xs);
|
|
13
13
|
--o-search-result-header-height: 280px;
|
|
14
14
|
--o-search-content-padding-top: 40px;
|
|
15
15
|
--o-search-content-padding-bottom: 72px;
|
|
16
|
-
--o-search-content-padding-left:
|
|
17
|
-
--o-search-content-padding-right:
|
|
16
|
+
--o-search-content-padding-left: 0px;
|
|
17
|
+
--o-search-content-padding-right: 0px;
|
|
18
18
|
--o-search-content-min-height: calc(
|
|
19
19
|
100vh - var(--o-search-result-page-header-hight) - var(--o-search-result-page-footer-hight) - var(--o-search-result-header-height) - var(
|
|
20
20
|
--o-search-content-padding-top
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
background-color: var(--o-color-fill2);
|
|
24
24
|
}
|
|
25
25
|
@media (max-width: 1680px) {
|
|
26
|
-
.o-search-result[data-v-
|
|
26
|
+
.o-search-result[data-v-58ec4d79] {
|
|
27
27
|
--o-search-result-header-height: 220px;
|
|
28
28
|
--o-search-content-padding-top: 24px;
|
|
29
29
|
--o-search-content-padding-bottom: 56px;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
@media (max-width: 1200px) {
|
|
33
|
-
.o-search-result[data-v-
|
|
33
|
+
.o-search-result[data-v-58ec4d79] {
|
|
34
34
|
--o-search-result-header-height: 180px;
|
|
35
35
|
--o-search-content-padding-top: 16px;
|
|
36
36
|
--o-search-content-padding-bottom: 40px;
|
|
@@ -39,28 +39,28 @@
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
@media (max-width: 840px) {
|
|
42
|
-
.o-search-result[data-v-
|
|
42
|
+
.o-search-result[data-v-58ec4d79] {
|
|
43
43
|
--o-search-result-header-height: 90px;
|
|
44
44
|
--o-search-content-padding-top: 24px;
|
|
45
45
|
--o-search-content-padding-bottom: 40px;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
@media (max-width: 600px) {
|
|
49
|
-
.o-search-result[data-v-
|
|
49
|
+
.o-search-result[data-v-58ec4d79] {
|
|
50
50
|
--o-search-content-padding-top: 24px;
|
|
51
51
|
--o-search-content-padding-bottom: 32px;
|
|
52
52
|
--o-search-content-padding-left: 24px;
|
|
53
53
|
--o-search-content-padding-right: 24px;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
.o-search-result .o-search-result-content-wrap[data-v-
|
|
56
|
+
.o-search-result .o-search-result-content-wrap[data-v-58ec4d79] {
|
|
57
57
|
display: flex;
|
|
58
58
|
max-width: var(--grid-20);
|
|
59
59
|
min-height: var(--o-search-content-min-height);
|
|
60
60
|
padding: var(--o-search-content-padding-top) var(--o-search-content-padding-right) var(--o-search-content-padding-bottom) var(--o-search-content-padding-left);
|
|
61
61
|
margin: 0 auto;
|
|
62
62
|
}
|
|
63
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-left-content[data-v-
|
|
63
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-left-content[data-v-58ec4d79] {
|
|
64
64
|
flex: 1;
|
|
65
65
|
display: flex;
|
|
66
66
|
flex-direction: column;
|
|
@@ -70,88 +70,88 @@
|
|
|
70
70
|
border-right: 1px solid var(--o-color-control4);
|
|
71
71
|
}
|
|
72
72
|
@media (max-width: 1200px) {
|
|
73
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-left-content[data-v-
|
|
73
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-left-content[data-v-58ec4d79] {
|
|
74
74
|
border-right: none;
|
|
75
75
|
padding-right: 0;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-
|
|
78
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-58ec4d79] {
|
|
79
79
|
width: var(--grid-5);
|
|
80
80
|
padding-left: var(--grid-column-gutter);
|
|
81
81
|
}
|
|
82
82
|
@media (max-width: 1680px) {
|
|
83
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-
|
|
83
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-58ec4d79] {
|
|
84
84
|
width: var(--grid-6);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-
|
|
87
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-58ec4d79] {
|
|
88
88
|
margin-top: 24px;
|
|
89
89
|
margin-bottom: 32px;
|
|
90
90
|
}
|
|
91
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-
|
|
91
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-58ec4d79] .o-skeleton-item .o-skeleton-line:nth-child(1) {
|
|
92
92
|
width: 52%;
|
|
93
93
|
height: 28px;
|
|
94
94
|
}
|
|
95
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-
|
|
95
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-58ec4d79] .o-skeleton-item .o-skeleton-line:nth-child(2) {
|
|
96
96
|
height: 48px;
|
|
97
97
|
}
|
|
98
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-
|
|
98
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-58ec4d79] .o-skeleton-item .o-skeleton-line:nth-child(3) {
|
|
99
99
|
width: 38%;
|
|
100
100
|
height: 18px;
|
|
101
101
|
}
|
|
102
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-divider[data-v-
|
|
102
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-divider[data-v-58ec4d79] {
|
|
103
103
|
margin: 16px 0;
|
|
104
104
|
}
|
|
105
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-version-select[data-v-
|
|
105
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-version-select[data-v-58ec4d79] {
|
|
106
106
|
width: 320px;
|
|
107
107
|
}
|
|
108
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-
|
|
108
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-58ec4d79] {
|
|
109
109
|
flex: 1;
|
|
110
110
|
padding: 24px 0;
|
|
111
111
|
}
|
|
112
112
|
@media (max-width: 1680px) {
|
|
113
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-
|
|
113
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-58ec4d79] {
|
|
114
114
|
padding: 16px 0;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-
|
|
117
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-58ec4d79] > *:not(:first-child) {
|
|
118
118
|
padding-top: 16px;
|
|
119
119
|
border-top: 1px solid var(--o-color-control4);
|
|
120
120
|
}
|
|
121
121
|
@media (max-width: 1680px) {
|
|
122
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-
|
|
122
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-58ec4d79] > *:not(:first-child) {
|
|
123
123
|
padding-top: 12px;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-
|
|
126
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-58ec4d79] > *:not(:last-child) {
|
|
127
127
|
padding-bottom: 16px;
|
|
128
128
|
}
|
|
129
129
|
@media (max-width: 1680px) {
|
|
130
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-
|
|
130
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-58ec4d79] > *:not(:last-child) {
|
|
131
131
|
padding-bottom: 12px;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-content.is-empty[data-v-
|
|
134
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-content.is-empty[data-v-58ec4d79] {
|
|
135
135
|
display: flex;
|
|
136
136
|
justify-content: center;
|
|
137
137
|
align-items: center;
|
|
138
138
|
}
|
|
139
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-
|
|
139
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-58ec4d79] {
|
|
140
140
|
display: flex;
|
|
141
141
|
justify-content: flex-end;
|
|
142
142
|
margin-top: 32px;
|
|
143
143
|
}
|
|
144
144
|
@media (max-width: 1680px) {
|
|
145
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-
|
|
145
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-58ec4d79] {
|
|
146
146
|
margin-top: 24px;
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
@media (max-width: 1200px) {
|
|
150
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-
|
|
150
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-58ec4d79] {
|
|
151
151
|
margin-top: 16px;
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
.o-search-result .o-search-result-content-wrap .o-search-result-mb-bottom-text[data-v-
|
|
154
|
+
.o-search-result .o-search-result-content-wrap .o-search-result-mb-bottom-text[data-v-58ec4d79] {
|
|
155
155
|
margin-top: 16px;
|
|
156
156
|
color: var(--o-color-info3);
|
|
157
157
|
text-align: center;
|
|
@@ -12,6 +12,8 @@ type __VLS_Props = {
|
|
|
12
12
|
feedbackText: string;
|
|
13
13
|
}) => Promise<boolean>;
|
|
14
14
|
noMore: boolean;
|
|
15
|
+
scrollContainer?: string | HTMLElement;
|
|
16
|
+
bottomOffset?: number;
|
|
15
17
|
};
|
|
16
18
|
type __VLS_PublicProps = {
|
|
17
19
|
'version'?: SelectValueT;
|
|
@@ -38,14 +40,17 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
38
40
|
"update:version": (value: SelectValueT) => any;
|
|
39
41
|
} & {
|
|
40
42
|
"click-relative-search-item": (item: OSearchRelativeItemT) => any;
|
|
43
|
+
"reach-bottom": () => any;
|
|
41
44
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
42
45
|
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
43
46
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
44
47
|
"onClick-relative-search-item"?: ((item: OSearchRelativeItemT) => any) | undefined;
|
|
48
|
+
"onReach-bottom"?: (() => any) | undefined;
|
|
45
49
|
"onUpdate:version"?: ((value: SelectValueT) => any) | undefined;
|
|
46
50
|
}>, {
|
|
47
51
|
total: number;
|
|
48
52
|
pageSizes: number[];
|
|
53
|
+
bottomOffset: number;
|
|
49
54
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
50
55
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
51
56
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./OSearchResult.vue2.mjs";
|
|
2
2
|
import './OSearchResult.css';
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const _OSearchResult = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const _OSearchResult = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-58ec4d79"]]);
|
|
5
5
|
export {
|
|
6
6
|
_OSearchResult as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { defineComponent, useModel, openBlock, createElementBlock, createElementVNode, renderSlot, unref, createBlock, withCtx, Fragment, renderList, createCommentVNode, createVNode, normalizeClass, createTextVNode, toDisplayString, mergeModels } from "vue";
|
|
1
|
+
import { defineComponent, useModel, watch, onMounted, onUnmounted, openBlock, createElementBlock, createElementVNode, renderSlot, unref, createBlock, withCtx, Fragment, renderList, createCommentVNode, createVNode, normalizeClass, createTextVNode, toDisplayString, mergeModels } from "vue";
|
|
2
|
+
import { useThrottleFn } from "@vueuse/core";
|
|
2
3
|
import { isArray, OSelect, OOption, OSkeleton, OSkeletonText, ODivider, OPagination } from "@opensig/opendesign";
|
|
3
4
|
import { useScreen } from "@opendesign-plus/composables";
|
|
4
5
|
import { useI18n } from "../../i18n/index.mjs";
|
|
@@ -25,7 +26,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
26
|
total: { default: 0 },
|
|
26
27
|
pageSizes: { default: () => [10, 20, 50] },
|
|
27
28
|
submitFeedback: {},
|
|
28
|
-
noMore: { type: Boolean }
|
|
29
|
+
noMore: { type: Boolean },
|
|
30
|
+
scrollContainer: {},
|
|
31
|
+
bottomOffset: { default: 30 }
|
|
29
32
|
}, {
|
|
30
33
|
"version": {},
|
|
31
34
|
"versionModifiers": {},
|
|
@@ -34,14 +37,56 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
37
|
"pageSize": { default: 10 },
|
|
35
38
|
"pageSizeModifiers": {}
|
|
36
39
|
}),
|
|
37
|
-
emits: /* @__PURE__ */ mergeModels(["click-relative-search-item"], ["update:version", "update:page", "update:pageSize"]),
|
|
40
|
+
emits: /* @__PURE__ */ mergeModels(["click-relative-search-item", "reach-bottom"], ["update:version", "update:page", "update:pageSize"]),
|
|
38
41
|
setup(__props, { emit: __emit }) {
|
|
42
|
+
const props = __props;
|
|
39
43
|
const versionVal = useModel(__props, "version");
|
|
40
44
|
const page = useModel(__props, "page");
|
|
41
45
|
const pageSize = useModel(__props, "pageSize");
|
|
42
46
|
const emit = __emit;
|
|
43
47
|
const { lePad, lePadV } = useScreen();
|
|
44
48
|
const { t } = useI18n();
|
|
49
|
+
let scrollEl = null;
|
|
50
|
+
const getScrollEl = () => {
|
|
51
|
+
if (!props.scrollContainer) {
|
|
52
|
+
return window;
|
|
53
|
+
}
|
|
54
|
+
if (typeof props.scrollContainer === "string") {
|
|
55
|
+
return document.querySelector(props.scrollContainer) ?? window;
|
|
56
|
+
}
|
|
57
|
+
return props.scrollContainer;
|
|
58
|
+
};
|
|
59
|
+
const onScroll = useThrottleFn(() => {
|
|
60
|
+
if (!lePadV.value || props.loading || props.noMore) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
const el = scrollEl;
|
|
64
|
+
if (!el) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
const isWin = el === window;
|
|
68
|
+
const scrollTop = isWin ? window.scrollY : el.scrollTop;
|
|
69
|
+
const clientHeight = isWin ? window.innerHeight : el.clientHeight;
|
|
70
|
+
const scrollHeight = isWin ? document.documentElement.scrollHeight : el.scrollHeight;
|
|
71
|
+
if (scrollTop + clientHeight >= scrollHeight - props.bottomOffset) {
|
|
72
|
+
emit("reach-bottom");
|
|
73
|
+
}
|
|
74
|
+
}, 200);
|
|
75
|
+
const bindScroll = () => {
|
|
76
|
+
unbindScroll();
|
|
77
|
+
if (!props.scrollContainer) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
scrollEl = getScrollEl();
|
|
81
|
+
scrollEl.addEventListener("scroll", onScroll, { passive: true });
|
|
82
|
+
};
|
|
83
|
+
const unbindScroll = () => {
|
|
84
|
+
scrollEl == null ? void 0 : scrollEl.removeEventListener("scroll", onScroll);
|
|
85
|
+
scrollEl = null;
|
|
86
|
+
};
|
|
87
|
+
watch(() => props.scrollContainer, bindScroll);
|
|
88
|
+
onMounted(bindScroll);
|
|
89
|
+
onUnmounted(unbindScroll);
|
|
45
90
|
return (_ctx, _cache) => {
|
|
46
91
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
47
92
|
createElementVNode("div", _hoisted_2, [
|
|
@@ -68,7 +113,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
68
113
|
], true),
|
|
69
114
|
createVNode(unref(OSkeleton), {
|
|
70
115
|
animation: "",
|
|
71
|
-
loading: __props.loading
|
|
116
|
+
loading: __props.loading && (!unref(lePadV) || page.value === 1)
|
|
72
117
|
}, {
|
|
73
118
|
template: withCtx(() => [
|
|
74
119
|
createElementVNode("div", _hoisted_4, [
|
|
@@ -1,24 +1,33 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-d28619d2] {
|
|
2
2
|
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
3
|
}
|
|
4
4
|
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-
|
|
5
|
+
.hover-icon-rotate:hover .o-icon[data-v-d28619d2] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.o-search-result-header[data-v-
|
|
10
|
-
background-image: var(--
|
|
9
|
+
.o-search-result-header[data-v-d28619d2] {
|
|
10
|
+
background-image: var(--v6c29f598);
|
|
11
11
|
background-position: 100% 100%;
|
|
12
12
|
background-repeat: no-repeat;
|
|
13
13
|
background-size: cover;
|
|
14
14
|
}
|
|
15
15
|
@media (max-width: 840px) {
|
|
16
|
-
.o-search-result-header[data-v-
|
|
16
|
+
.o-search-result-header[data-v-d28619d2] {
|
|
17
17
|
background-image: none;
|
|
18
18
|
background-color: var(--o-color-fill2);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
@media (max-width: 840px) {
|
|
22
|
+
.o-search-result-header.is-responsive[data-v-d28619d2] {
|
|
23
|
+
position: fixed;
|
|
24
|
+
left: 0;
|
|
25
|
+
top: 0;
|
|
26
|
+
right: 0;
|
|
27
|
+
z-index: 999;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.o-search-result-header .o-search-result-header-content[data-v-d28619d2] {
|
|
22
31
|
position: relative;
|
|
23
32
|
height: 280px;
|
|
24
33
|
padding-top: 80px;
|
|
@@ -26,13 +35,13 @@
|
|
|
26
35
|
margin: 0 auto;
|
|
27
36
|
}
|
|
28
37
|
@media (max-width: 1680px) {
|
|
29
|
-
.o-search-result-header .o-search-result-header-content[data-v-
|
|
38
|
+
.o-search-result-header .o-search-result-header-content[data-v-d28619d2] {
|
|
30
39
|
height: 220px;
|
|
31
40
|
padding-top: 52px;
|
|
32
41
|
}
|
|
33
42
|
}
|
|
34
43
|
@media (max-width: 1200px) {
|
|
35
|
-
.o-search-result-header .o-search-result-header-content[data-v-
|
|
44
|
+
.o-search-result-header .o-search-result-header-content[data-v-d28619d2] {
|
|
36
45
|
height: 180px;
|
|
37
46
|
padding-top: 34px;
|
|
38
47
|
padding-left: 32px;
|
|
@@ -40,68 +49,68 @@
|
|
|
40
49
|
}
|
|
41
50
|
}
|
|
42
51
|
@media (max-width: 840px) {
|
|
43
|
-
.o-search-result-header .o-search-result-header-content[data-v-
|
|
52
|
+
.o-search-result-header .o-search-result-header-content[data-v-d28619d2] {
|
|
44
53
|
height: 90px;
|
|
45
54
|
padding: 0;
|
|
46
55
|
box-shadow: var(--o-shadow-2);
|
|
47
56
|
}
|
|
48
57
|
}
|
|
49
|
-
.o-search-result-header .o-search-result-header-back[data-v-
|
|
58
|
+
.o-search-result-header .o-search-result-header-back[data-v-d28619d2] {
|
|
50
59
|
display: none;
|
|
51
60
|
}
|
|
52
|
-
.o-search-result-header .o-search-result-header-search-btn[data-v-
|
|
61
|
+
.o-search-result-header .o-search-result-header-search-btn[data-v-d28619d2] {
|
|
53
62
|
display: none;
|
|
54
63
|
}
|
|
55
|
-
.o-search-result-header .o-search-result-header-input[data-v-
|
|
64
|
+
.o-search-result-header .o-search-result-header-input[data-v-d28619d2] {
|
|
56
65
|
max-width: var(--grid-15);
|
|
57
66
|
background-color: transparent;
|
|
58
67
|
}
|
|
59
|
-
.o-search-result-header .o-search-result-header-input.is-focus[data-v-
|
|
68
|
+
.o-search-result-header .o-search-result-header-input.is-focus[data-v-d28619d2] {
|
|
60
69
|
z-index: 100;
|
|
61
70
|
}
|
|
62
71
|
@media (min-width: ) {
|
|
63
|
-
.o-search-result-header .o-search-result-header-input[data-v-
|
|
72
|
+
.o-search-result-header .o-search-result-header-input[data-v-d28619d2] {
|
|
64
73
|
max-width: var(--grid-10);
|
|
65
74
|
}
|
|
66
75
|
}
|
|
67
|
-
.o-search-result-header .o-search-result-header-input[data-v-
|
|
76
|
+
.o-search-result-header .o-search-result-header-input[data-v-d28619d2] .o-input.o_box-large {
|
|
68
77
|
--_box-height: 40px ;
|
|
69
78
|
}
|
|
70
|
-
.o-search-result-header .o-search-result-header-input[data-v-
|
|
79
|
+
.o-search-result-header .o-search-result-header-input[data-v-d28619d2] .o-search-image-input-icon {
|
|
71
80
|
font-size: 24px;
|
|
72
81
|
}
|
|
73
|
-
.o-search-result-header .o-search-result-header-tab-wrap[data-v-
|
|
82
|
+
.o-search-result-header .o-search-result-header-tab-wrap[data-v-d28619d2] {
|
|
74
83
|
position: absolute;
|
|
75
84
|
bottom: 0;
|
|
76
85
|
width: 100%;
|
|
77
86
|
}
|
|
78
87
|
@media (max-width: 1200px) {
|
|
79
|
-
.o-search-result-header .o-search-result-header-tab-wrap[data-v-
|
|
88
|
+
.o-search-result-header .o-search-result-header-tab-wrap[data-v-d28619d2] {
|
|
80
89
|
width: calc(100% - 64px);
|
|
81
90
|
}
|
|
82
91
|
}
|
|
83
92
|
@media (max-width: 840px) {
|
|
84
|
-
.o-search-result-header .o-search-result-header-tab-wrap[data-v-
|
|
93
|
+
.o-search-result-header .o-search-result-header-tab-wrap[data-v-d28619d2] {
|
|
85
94
|
width: 100%;
|
|
86
95
|
padding: 0 32px;
|
|
87
96
|
}
|
|
88
97
|
}
|
|
89
98
|
@media (max-width: 600px) {
|
|
90
|
-
.o-search-result-header .o-search-result-header-tab-wrap[data-v-
|
|
99
|
+
.o-search-result-header .o-search-result-header-tab-wrap[data-v-d28619d2] {
|
|
91
100
|
padding: 0 24px;
|
|
92
101
|
}
|
|
93
102
|
}
|
|
94
|
-
.o-search-result-header .o-search-result-header-tab-wrap .o-search-result-header-tab[data-v-
|
|
103
|
+
.o-search-result-header .o-search-result-header-tab-wrap .o-search-result-header-tab[data-v-d28619d2] {
|
|
95
104
|
--tab-nav-justify: start;
|
|
96
105
|
}
|
|
97
106
|
@media (max-width: 840px) {
|
|
98
|
-
.o-search-result-header .o-search-result-header-input-row[data-v-
|
|
107
|
+
.o-search-result-header .o-search-result-header-input-row[data-v-d28619d2] {
|
|
99
108
|
display: flex;
|
|
100
109
|
align-items: center;
|
|
101
110
|
gap: 24px;
|
|
102
111
|
padding: 8px 32px;
|
|
103
112
|
}
|
|
104
|
-
.o-search-result-header .o-search-result-header-back[data-v-
|
|
113
|
+
.o-search-result-header .o-search-result-header-back[data-v-d28619d2] {
|
|
105
114
|
display: flex;
|
|
106
115
|
align-items: center;
|
|
107
116
|
flex-shrink: 0;
|
|
@@ -110,15 +119,15 @@
|
|
|
110
119
|
background: none;
|
|
111
120
|
cursor: pointer;
|
|
112
121
|
}
|
|
113
|
-
.o-search-result-header .o-search-result-header-back .o-icon[data-v-
|
|
122
|
+
.o-search-result-header .o-search-result-header-back .o-icon[data-v-d28619d2] {
|
|
114
123
|
font-size: 24px;
|
|
115
124
|
}
|
|
116
|
-
.o-search-result-header .o-search-result-header-input[data-v-
|
|
125
|
+
.o-search-result-header .o-search-result-header-input[data-v-d28619d2] {
|
|
117
126
|
flex: 1;
|
|
118
127
|
max-width: none;
|
|
119
128
|
margin: 0;
|
|
120
129
|
}
|
|
121
|
-
.o-search-result-header .o-search-result-header-search-btn[data-v-
|
|
130
|
+
.o-search-result-header .o-search-result-header-search-btn[data-v-d28619d2] {
|
|
122
131
|
display: block;
|
|
123
132
|
flex-shrink: 0;
|
|
124
133
|
font-size: 16px;
|
|
@@ -128,7 +137,7 @@
|
|
|
128
137
|
}
|
|
129
138
|
}
|
|
130
139
|
@media (max-width: 600px) {
|
|
131
|
-
.o-search-result-header .o-search-result-header-input-row[data-v-
|
|
140
|
+
.o-search-result-header .o-search-result-header-input-row[data-v-d28619d2] {
|
|
132
141
|
padding: 8px 24px;
|
|
133
142
|
}
|
|
134
143
|
}
|
|
@@ -5,6 +5,7 @@ type __VLS_Props = {
|
|
|
5
5
|
bg?: string;
|
|
6
6
|
tabs?: OSearchItemT[];
|
|
7
7
|
inputProps?: OSearchInputPropsT;
|
|
8
|
+
responsive?: boolean;
|
|
8
9
|
};
|
|
9
10
|
type __VLS_PublicProps = {
|
|
10
11
|
'searchInput'?: string;
|
|
@@ -658,7 +659,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
658
659
|
onBack?: (() => any) | undefined;
|
|
659
660
|
"onUpdate:searchInput"?: ((value: string) => any) | undefined;
|
|
660
661
|
"onUpdate:tab"?: ((value: string | number) => any) | undefined;
|
|
661
|
-
}>, {
|
|
662
|
+
}>, {
|
|
663
|
+
responsive: boolean;
|
|
664
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
662
665
|
searchInputRef: ({
|
|
663
666
|
$: import('vue').ComponentInternalInstance;
|
|
664
667
|
$data: {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./OSearchResultHeader.vue2.mjs";
|
|
2
2
|
import './OSearchResultHeader.css';
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const _OSearchResultHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const _OSearchResultHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d28619d2"]]);
|
|
5
5
|
export {
|
|
6
6
|
_OSearchResultHeader as default
|
|
7
7
|
};
|