@opendesign-plus-test/components 0.0.1-rc.227 → 0.0.1-rc.229

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.
Files changed (154) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +48 -74
  3. package/dist/components/activity/index.d.ts +9 -9
  4. package/dist/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
  5. package/dist/components/anchor-bar/index.d.ts +9 -9
  6. package/dist/components/article/index.d.ts +25 -25
  7. package/dist/components/article-anchor/index.d.ts +9 -9
  8. package/dist/components/article-pagination/index.d.ts +17 -17
  9. package/dist/components/banner/index.d.ts +6 -6
  10. package/dist/components/brand/index.d.ts +15 -15
  11. package/dist/components/config-provider/OPlusConfigProvider.vue.d.ts +0 -1
  12. package/dist/components/events/index.d.ts +20 -20
  13. package/dist/components/footer/index.d.ts +3 -3
  14. package/dist/components/header/OHeaderMobile.vue.d.ts +8 -8
  15. package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  16. package/dist/components/header/index.d.ts +28 -28
  17. package/dist/components/header/types.d.ts +0 -1
  18. package/dist/components/header-search/index.d.ts +13 -13
  19. package/dist/components/logo-swiper/index.d.ts +11 -11
  20. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +7 -8
  21. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  22. package/dist/components/meeting/index.d.ts +45 -48
  23. package/dist/components/meeting/types.d.ts +0 -2
  24. package/dist/components/org/index.d.ts +9 -9
  25. package/dist/components/recursion-menu/index.d.ts +3 -3
  26. package/dist/components/search/index.d.ts +11 -11
  27. package/dist/components/search/internal/SearchImageInput.vue.d.ts +2 -2
  28. package/dist/components/sig/index.d.ts +15 -15
  29. package/dist/components/summit/index.d.ts +12 -12
  30. package/dist/components/user-center/OAccountSetting.vue.d.ts +0 -1
  31. package/dist/components/user-center/index.d.ts +18 -21
  32. package/dist/components/user-center/internal/OAppDialog.vue.d.ts +0 -9
  33. package/dist/components/video/index.d.ts +3 -3
  34. package/dist/components.cjs.js +45 -45
  35. package/dist/components.css +2 -2
  36. package/dist/components.es.js +15310 -16028
  37. package/dist/index.d.ts +0 -1
  38. package/dist/treeshaking/_virtual/icon-tips.mjs +2 -13
  39. package/dist/treeshaking/_virtual/icon-tips2.mjs +13 -2
  40. package/dist/treeshaking/components/activity/index.d.ts +9 -9
  41. package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
  42. package/dist/treeshaking/components/anchor-bar/index.d.ts +9 -9
  43. package/dist/treeshaking/components/article/index.d.ts +25 -25
  44. package/dist/treeshaking/components/article-anchor/index.d.ts +9 -9
  45. package/dist/treeshaking/components/article-pagination/index.d.ts +17 -17
  46. package/dist/treeshaking/components/banner/index.d.ts +6 -6
  47. package/dist/treeshaking/components/brand/index.d.ts +15 -15
  48. package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue.d.ts +0 -1
  49. package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue.mjs +2 -4
  50. package/dist/treeshaking/components/empty/OEmpty.css +10 -10
  51. package/dist/treeshaking/components/empty/OEmpty.vue.mjs +1 -1
  52. package/dist/treeshaking/components/empty/OEmpty.vue2.mjs +2 -6
  53. package/dist/treeshaking/components/events/index.d.ts +20 -20
  54. package/dist/treeshaking/components/footer/components/FooterList.css +109 -149
  55. package/dist/treeshaking/components/footer/components/FooterList.vue.mjs +1 -1
  56. package/dist/treeshaking/components/footer/components/FooterList.vue2.mjs +60 -59
  57. package/dist/treeshaking/components/footer/index.d.ts +3 -3
  58. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +8 -8
  59. package/dist/treeshaking/components/header/components/HeaderContent.css +184 -208
  60. package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
  61. package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +5 -6
  62. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  63. package/dist/treeshaking/components/header/index.d.ts +28 -28
  64. package/dist/treeshaking/components/header/types.d.ts +0 -1
  65. package/dist/treeshaking/components/header-search/index.d.ts +13 -13
  66. package/dist/treeshaking/components/logo-swiper/index.d.ts +11 -11
  67. package/dist/treeshaking/components/meeting/OMeetingPlayback.css +0 -2
  68. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +7 -8
  69. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.mjs +4 -12
  70. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +1 -1
  71. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.css +0 -3
  72. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue.mjs +7 -15
  73. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  74. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.mjs +15 -13
  75. package/dist/treeshaking/components/meeting/index.d.ts +45 -48
  76. package/dist/treeshaking/components/meeting/types.d.ts +0 -2
  77. package/dist/treeshaking/components/org/index.d.ts +9 -9
  78. package/dist/treeshaking/components/recursion-menu/index.d.ts +3 -3
  79. package/dist/treeshaking/components/search/OSearchInput.css +34 -34
  80. package/dist/treeshaking/components/search/OSearchInput.vue.mjs +2 -2
  81. package/dist/treeshaking/components/search/index.d.ts +11 -11
  82. package/dist/treeshaking/components/search/index.mjs +3 -3
  83. package/dist/treeshaking/components/search/internal/SearchImageInput.css +50 -49
  84. package/dist/treeshaking/components/search/internal/SearchImageInput.vue.d.ts +2 -2
  85. package/dist/treeshaking/components/search/internal/SearchImageInput.vue.mjs +1 -1
  86. package/dist/treeshaking/components/search/internal/SearchPanel.css +117 -117
  87. package/dist/treeshaking/components/search/internal/SearchPanel.vue.mjs +1 -1
  88. package/dist/treeshaking/components/sig/index.d.ts +15 -15
  89. package/dist/treeshaking/components/summit/index.d.ts +12 -12
  90. package/dist/treeshaking/components/user-center/OAccountSetting.css +61 -61
  91. package/dist/treeshaking/components/user-center/OAccountSetting.vue.d.ts +0 -1
  92. package/dist/treeshaking/components/user-center/OAccountSetting.vue.mjs +1 -1
  93. package/dist/treeshaking/components/user-center/OAccountSetting.vue2.mjs +2 -4
  94. package/dist/treeshaking/components/user-center/OUserInfo.css +122 -102
  95. package/dist/treeshaking/components/user-center/OUserInfo.vue.mjs +1 -1
  96. package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +1 -1
  97. package/dist/treeshaking/components/user-center/OUserInfo3.css +4 -4
  98. package/dist/treeshaking/components/user-center/index.d.ts +18 -21
  99. package/dist/treeshaking/components/user-center/internal/OAppDialog.css +19 -19
  100. package/dist/treeshaking/components/user-center/internal/OAppDialog.vue.d.ts +0 -9
  101. package/dist/treeshaking/components/user-center/internal/OAppDialog.vue.mjs +1 -1
  102. package/dist/treeshaking/components/user-center/internal/OAppDialog.vue2.mjs +2 -9
  103. package/dist/treeshaking/components/video/index.d.ts +3 -3
  104. package/dist/treeshaking/i18n/en.mjs +0 -13
  105. package/dist/treeshaking/i18n/zh.mjs +0 -13
  106. package/dist/treeshaking/index.d.ts +0 -1
  107. package/dist/treeshaking/index.mjs +0 -4
  108. package/package.json +1 -1
  109. package/dist/components/search-result/OSearchResult.vue.d.ts +0 -55
  110. package/dist/components/search-result/OSearchResultHeader.vue.d.ts +0 -1296
  111. package/dist/components/search-result/OSearchResultItem.vue.d.ts +0 -34
  112. package/dist/components/search-result/components/OSearchResultEmpty.vue.d.ts +0 -2
  113. package/dist/components/search-result/components/OSearchResultFeedback.vue.d.ts +0 -8
  114. package/dist/components/search-result/components/OSearchResultFeedbackBanner.vue.d.ts +0 -8
  115. package/dist/components/search-result/components/OSearchResultRelative.vue.d.ts +0 -10
  116. package/dist/components/search-result/index.d.ts +0 -851
  117. package/dist/components/search-result/types.d.ts +0 -9
  118. package/dist/treeshaking/_virtual/icon-arrow-left.mjs +0 -20
  119. package/dist/treeshaking/_virtual/icon-edit.mjs +0 -38
  120. package/dist/treeshaking/_virtual/icon-like.mjs +0 -20
  121. package/dist/treeshaking/_virtual/icon-relative-search.mjs +0 -21
  122. package/dist/treeshaking/_virtual/icon-unlike.mjs +0 -20
  123. package/dist/treeshaking/assets/search/search-empty.png.mjs +0 -4
  124. package/dist/treeshaking/components/search-result/OSearchResult.css +0 -120
  125. package/dist/treeshaking/components/search-result/OSearchResult.vue.d.ts +0 -55
  126. package/dist/treeshaking/components/search-result/OSearchResult.vue.mjs +0 -7
  127. package/dist/treeshaking/components/search-result/OSearchResult.vue2.mjs +0 -120
  128. package/dist/treeshaking/components/search-result/OSearchResultHeader.css +0 -134
  129. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +0 -1296
  130. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.mjs +0 -7
  131. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue2.mjs +0 -104
  132. package/dist/treeshaking/components/search-result/OSearchResultItem.css +0 -196
  133. package/dist/treeshaking/components/search-result/OSearchResultItem.vue.d.ts +0 -34
  134. package/dist/treeshaking/components/search-result/OSearchResultItem.vue.mjs +0 -7
  135. package/dist/treeshaking/components/search-result/OSearchResultItem.vue2.mjs +0 -118
  136. package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.css +0 -52
  137. package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.vue.d.ts +0 -2
  138. package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.vue.mjs +0 -7
  139. package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.vue2.mjs +0 -29
  140. package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.css +0 -152
  141. package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.vue.d.ts +0 -8
  142. package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.vue.mjs +0 -7
  143. package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.vue2.mjs +0 -171
  144. package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.css +0 -192
  145. package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue.d.ts +0 -8
  146. package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue.mjs +0 -7
  147. package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue2.mjs +0 -185
  148. package/dist/treeshaking/components/search-result/components/OSearchResultRelative.css +0 -97
  149. package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue.d.ts +0 -10
  150. package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue.mjs +0 -7
  151. package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue2.mjs +0 -55
  152. package/dist/treeshaking/components/search-result/index.d.ts +0 -851
  153. package/dist/treeshaking/components/search-result/index.mjs +0 -23
  154. package/dist/treeshaking/components/search-result/types.d.ts +0 -9
@@ -1,7 +0,0 @@
1
- import _sfc_main from "./OSearchResultHeader.vue2.mjs";
2
- import './OSearchResultHeader.css';
3
- import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const _OSearchResultHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e236684c"]]);
5
- export {
6
- _OSearchResultHeader as default
7
- };
@@ -1,104 +0,0 @@
1
- import { defineComponent, useCssVars, useModel, ref, computed, openBlock, createElementBlock, createElementVNode, unref, createVNode, withCtx, renderSlot, mergeProps, toDisplayString, Fragment, renderList, createBlock, createCommentVNode, mergeModels } from "vue";
2
- import { OIcon, isArray, OTab, OTabPane } from "@opensig/opendesign";
3
- import IconArrowLeft from "../../_virtual/icon-arrow-left.mjs";
4
- import OSearchInput from "../search/OSearchInput.vue.mjs";
5
- import { useI18n } from "../../i18n/index.mjs";
6
- const _hoisted_1 = { class: "o-search-result-header" };
7
- const _hoisted_2 = { class: "o-search-result-header-content" };
8
- const _hoisted_3 = { class: "o-search-result-header-input-row" };
9
- const _hoisted_4 = ["aria-label"];
10
- const _hoisted_5 = {
11
- key: 0,
12
- class: "o-search-result-header-tab-wrap"
13
- };
14
- const _sfc_main = /* @__PURE__ */ defineComponent({
15
- __name: "OSearchResultHeader",
16
- props: /* @__PURE__ */ mergeModels({
17
- bg: {},
18
- tabs: {},
19
- inputProps: {}
20
- }, {
21
- "searchInput": {},
22
- "searchInputModifiers": {},
23
- "tab": {},
24
- "tabModifiers": {}
25
- }),
26
- emits: /* @__PURE__ */ mergeModels(["back", "search"], ["update:searchInput", "update:tab"]),
27
- setup(__props, { emit: __emit }) {
28
- useCssVars((_ctx) => ({
29
- "f6abbbd6": bgStyle.value
30
- }));
31
- const props = __props;
32
- const emit = __emit;
33
- const searchInput = useModel(__props, "searchInput");
34
- const tabVal = useModel(__props, "tab");
35
- const { t } = useI18n();
36
- const searchInputRef = ref(null);
37
- const handleSearch = () => {
38
- var _a;
39
- (_a = searchInputRef.value) == null ? void 0 : _a.search();
40
- };
41
- const bgStyle = computed(() => props.bg ? `url(${props.bg})` : "none");
42
- return (_ctx, _cache) => {
43
- return openBlock(), createElementBlock("div", _hoisted_1, [
44
- createElementVNode("div", _hoisted_2, [
45
- createElementVNode("div", _hoisted_3, [
46
- createElementVNode("button", {
47
- type: "button",
48
- class: "o-search-result-header-back",
49
- "aria-label": unref(t)("search.back"),
50
- onClick: _cache[0] || (_cache[0] = ($event) => emit("back"))
51
- }, [
52
- createVNode(unref(OIcon), null, {
53
- default: withCtx(() => [
54
- createVNode(unref(IconArrowLeft))
55
- ]),
56
- _: 1
57
- })
58
- ], 8, _hoisted_4),
59
- renderSlot(_ctx.$slots, "input", {}, () => [
60
- createVNode(OSearchInput, mergeProps({
61
- ref_key: "searchInputRef",
62
- ref: searchInputRef
63
- }, __props.inputProps, {
64
- modelValue: searchInput.value,
65
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => searchInput.value = $event),
66
- class: "o-search-result-header-input",
67
- onSearch: _cache[2] || (_cache[2] = (payload) => emit("search", payload))
68
- }), null, 16, ["modelValue"])
69
- ], true),
70
- createElementVNode("div", {
71
- class: "o-search-result-header-search-btn",
72
- onClick: handleSearch
73
- }, toDisplayString(unref(t)("search")), 1)
74
- ]),
75
- renderSlot(_ctx.$slots, "tab", {}, () => [
76
- unref(isArray)(__props.tabs) && __props.tabs.length ? (openBlock(), createElementBlock("div", _hoisted_5, [
77
- createVNode(unref(OTab), {
78
- modelValue: tabVal.value,
79
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => tabVal.value = $event),
80
- class: "o-search-result-header-tab",
81
- line: false,
82
- size: "large"
83
- }, {
84
- default: withCtx(() => [
85
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.tabs, (item) => {
86
- return openBlock(), createBlock(unref(OTabPane), {
87
- key: item.value,
88
- value: item.value,
89
- label: item.label
90
- }, null, 8, ["value", "label"]);
91
- }), 128))
92
- ]),
93
- _: 1
94
- }, 8, ["modelValue"])
95
- ])) : createCommentVNode("", true)
96
- ], true)
97
- ])
98
- ]);
99
- };
100
- }
101
- });
102
- export {
103
- _sfc_main as default
104
- };
@@ -1,196 +0,0 @@
1
- .hover-icon-rotate .o-icon[data-v-479ac4d6] {
2
- transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
- }
4
- @media (hover: hover) {
5
- .hover-icon-rotate:hover .o-icon[data-v-479ac4d6] {
6
- transform: rotate(-180deg);
7
- }
8
- }
9
- .o-search-result-item[data-v-479ac4d6] {
10
- --o-search-result-item-radius: var(--o-search-result-radius, var(--o-radius-xs));
11
- display: flex;
12
- align-items: center;
13
- gap: 24px;
14
- }
15
- @media (max-width: 1680px) {
16
- .o-search-result-item[data-v-479ac4d6] {
17
- gap: 16px;
18
- }
19
- }
20
- @media (max-width: 1200px) {
21
- .o-search-result-item[data-v-479ac4d6] {
22
- gap: 12px;
23
- }
24
- }
25
- @media (max-width: 840px) {
26
- .o-search-result-item[data-v-479ac4d6] {
27
- padding: 12px 16px;
28
- background-color: var(--o-color-fill2);
29
- border-radius: var(--o-radius-xs);
30
- }
31
- }
32
- @media (max-width: 600px) {
33
- .o-search-result-item[data-v-479ac4d6] {
34
- flex-direction: column;
35
- align-items: stretch;
36
- gap: 0;
37
- }
38
- }
39
- .o-search-result-item .o-search-result-item-body[data-v-479ac4d6] {
40
- flex: 1;
41
- min-width: 0;
42
- }
43
- .o-search-result-item .o-search-result-item-img[data-v-479ac4d6] {
44
- flex-shrink: 0;
45
- width: 108px;
46
- height: 108px;
47
- border-radius: var(--o-search-result-item-radius);
48
- }
49
- @media (max-width: 1680px) {
50
- .o-search-result-item .o-search-result-item-img[data-v-479ac4d6] {
51
- width: 96px;
52
- height: 96px;
53
- }
54
- }
55
- @media (max-width: 1200px) {
56
- .o-search-result-item .o-search-result-item-img[data-v-479ac4d6] {
57
- width: 72px;
58
- height: 72px;
59
- }
60
- }
61
- @media (max-width: 600px) {
62
- .o-search-result-item .o-search-result-item-img[data-v-479ac4d6] {
63
- margin-top: 8px;
64
- }
65
- }
66
- .o-search-result-item .o-search-result-item-title[data-v-479ac4d6] {
67
- font-weight: 600;
68
- color: var(--o-color-info1);
69
- font-size: 20px;
70
- line-height: 28px;
71
- }
72
- @media (min-width: 1201px) and (max-width: 1680px) {
73
- .o-search-result-item .o-search-result-item-title[data-v-479ac4d6] {
74
- font-size: 18px;
75
- line-height: 26px;
76
- }
77
- }
78
- @media (min-width: 841px) and (max-width: 1200px) {
79
- .o-search-result-item .o-search-result-item-title[data-v-479ac4d6] {
80
- font-size: 16px;
81
- line-height: 24px;
82
- }
83
- }
84
- @media (min-width: 601px) and (max-width: 840px) {
85
- .o-search-result-item .o-search-result-item-title[data-v-479ac4d6] {
86
- font-size: 16px;
87
- line-height: 24px;
88
- }
89
- }
90
- @media (max-width: 600px) {
91
- .o-search-result-item .o-search-result-item-title[data-v-479ac4d6] {
92
- font-size: 14px;
93
- line-height: 22px;
94
- }
95
- }
96
- @media (hover: hover) {
97
- .o-search-result-item .o-search-result-item-title[data-v-479ac4d6]:hover {
98
- color: var(--o-color-primary1);
99
- }
100
- }
101
- .o-search-result-item .o-search-result-item-title .o-search-result-item-title-link[data-v-479ac4d6] {
102
- color: inherit;
103
- text-decoration: none;
104
- }
105
- .o-search-result-item .o-search-result-item-title .o-search-result-item-title-link[data-v-479ac4d6] span,
106
- .o-search-result-item .o-search-result-item-title .o-search-result-item-title-content[data-v-479ac4d6] span {
107
- color: var(--o-color-primary1);
108
- }
109
- .o-search-result-item .o-search-result-item-detail[data-v-479ac4d6] {
110
- display: -webkit-box;
111
- margin-top: 8px;
112
- overflow: hidden;
113
- color: var(--o-color-info1);
114
- text-overflow: ellipsis;
115
- overflow-wrap: break-word;
116
- -webkit-box-orient: vertical;
117
- -webkit-line-clamp: 2;
118
- font-size: 16px;
119
- line-height: 24px;
120
- }
121
- @media (min-width: 1201px) and (max-width: 1680px) {
122
- .o-search-result-item .o-search-result-item-detail[data-v-479ac4d6] {
123
- font-size: 14px;
124
- line-height: 22px;
125
- }
126
- }
127
- @media (min-width: 841px) and (max-width: 1200px) {
128
- .o-search-result-item .o-search-result-item-detail[data-v-479ac4d6] {
129
- font-size: 14px;
130
- line-height: 22px;
131
- }
132
- }
133
- @media (min-width: 601px) and (max-width: 840px) {
134
- .o-search-result-item .o-search-result-item-detail[data-v-479ac4d6] {
135
- font-size: 14px;
136
- line-height: 22px;
137
- }
138
- }
139
- @media (max-width: 600px) {
140
- .o-search-result-item .o-search-result-item-detail[data-v-479ac4d6] {
141
- font-size: 12px;
142
- line-height: 18px;
143
- }
144
- }
145
- .o-search-result-item .o-search-result-item-detail[data-v-479ac4d6] span {
146
- color: var(--o-color-primary1);
147
- }
148
- .o-search-result-item .o-search-result-item-footer[data-v-479ac4d6] {
149
- display: flex;
150
- flex-wrap: wrap;
151
- align-items: center;
152
- row-gap: 4px;
153
- margin-top: 8px;
154
- font-size: 12px;
155
- line-height: 18px;
156
- color: var(--o-color-info3);
157
- }
158
- @media (max-width: 600px) {
159
- .o-search-result-item .o-search-result-item-footer[data-v-479ac4d6] {
160
- font-size: 10px;
161
- line-height: 16px;
162
- }
163
- .o-search-result-item .o-search-result-item-footer .o-search-result-item-version[data-v-479ac4d6] {
164
- width: 100%;
165
- }
166
- .o-search-result-item .o-search-result-item-footer .o-search-result-item-version-divider[data-v-479ac4d6] {
167
- display: none;
168
- }
169
- }
170
- .o-search-result-item .o-search-result-item-footer .o-search-result-item-breadcrumb[data-v-479ac4d6] {
171
- display: flex;
172
- flex-wrap: wrap;
173
- align-items: center;
174
- row-gap: 4px;
175
- }
176
- .o-search-result-item .o-search-result-item-footer .o-search-result-item-breadcrumb-icon[data-v-479ac4d6] {
177
- margin: 0 4px;
178
- font-size: 12px;
179
- }
180
- .o-search-result-item .o-search-result-item-footer .o-search-result-item-version[data-v-479ac4d6] {
181
- display: inline-flex;
182
- align-items: center;
183
- }
184
- .o-search-result-item .o-search-result-item-footer .o-search-result-item-version-divider[data-v-479ac4d6] {
185
- margin: 0 16px;
186
- }
187
- @media (max-width: 1680px) {
188
- .o-search-result-item .o-search-result-item-footer .o-search-result-item-version-divider[data-v-479ac4d6] {
189
- margin: 0 12px;
190
- }
191
- }
192
- @media (max-width: 1200px) {
193
- .o-search-result-item .o-search-result-item-footer .o-search-result-item-version-divider[data-v-479ac4d6] {
194
- margin: 0 8px;
195
- }
196
- }
@@ -1,34 +0,0 @@
1
- type __VLS_Props = {
2
- title: string;
3
- detail: string;
4
- href?: string;
5
- img?: string;
6
- from?: string[];
7
- version?: string;
8
- };
9
- declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: {
12
- title?(_: {
13
- title: string;
14
- }): any;
15
- detail?(_: {
16
- detail: string;
17
- }): any;
18
- footer?(_: {
19
- from: string[] | undefined;
20
- version: string | undefined;
21
- }): any;
22
- };
23
- refs: {};
24
- rootEl: HTMLDivElement;
25
- };
26
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
28
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
- export default _default;
30
- type __VLS_WithTemplateSlots<T, S> = T & {
31
- new (): {
32
- $slots: S;
33
- };
34
- };
@@ -1,7 +0,0 @@
1
- import _sfc_main from "./OSearchResultItem.vue2.mjs";
2
- import './OSearchResultItem.css';
3
- import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const _OSearchResultItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-479ac4d6"]]);
5
- export {
6
- _OSearchResultItem as default
7
- };
@@ -1,118 +0,0 @@
1
- import { defineComponent, openBlock, createElementBlock, createElementVNode, renderSlot, withDirectives, unref, createCommentVNode, toDisplayString, Fragment, renderList, createBlock, withCtx, createVNode } from "vue";
2
- import { isArray, OIcon, ODivider } from "@opensig/opendesign";
3
- import { buildVueDompurifyHTMLDirective } from "vue-dompurify-html";
4
- import IconRight from "../../_virtual/icon-chevron-right.mjs";
5
- import { useI18n } from "../../i18n/index.mjs";
6
- const _hoisted_1 = { class: "o-search-result-item" };
7
- const _hoisted_2 = { class: "o-search-result-item-body" };
8
- const _hoisted_3 = {
9
- key: 0,
10
- class: "o-search-result-item-title"
11
- };
12
- const _hoisted_4 = ["href"];
13
- const _hoisted_5 = {
14
- key: 1,
15
- class: "o-search-result-item-title-content"
16
- };
17
- const _hoisted_6 = {
18
- key: 0,
19
- class: "o-search-result-item-detail"
20
- };
21
- const _hoisted_7 = {
22
- key: 0,
23
- class: "o-search-result-item-footer"
24
- };
25
- const _hoisted_8 = { key: 0 };
26
- const _hoisted_9 = {
27
- key: 1,
28
- class: "o-search-result-item-breadcrumb"
29
- };
30
- const _hoisted_10 = { class: "o-search-result-item-breadcrumb-item" };
31
- const _hoisted_11 = {
32
- key: 2,
33
- class: "o-search-result-item-version"
34
- };
35
- const _hoisted_12 = ["src", "alt"];
36
- const _sfc_main = /* @__PURE__ */ defineComponent({
37
- __name: "OSearchResultItem",
38
- props: {
39
- title: {},
40
- detail: {},
41
- href: {},
42
- img: {},
43
- from: {},
44
- version: {}
45
- },
46
- setup(__props) {
47
- const { t } = useI18n();
48
- const vDompurifyHtml = buildVueDompurifyHTMLDirective();
49
- return (_ctx, _cache) => {
50
- return openBlock(), createElementBlock("div", _hoisted_1, [
51
- createElementVNode("div", _hoisted_2, [
52
- renderSlot(_ctx.$slots, "title", { title: __props.title }, () => [
53
- __props.title ? (openBlock(), createElementBlock("div", _hoisted_3, [
54
- __props.href ? withDirectives((openBlock(), createElementBlock("a", {
55
- key: 0,
56
- class: "o-search-result-item-title-link",
57
- href: __props.href,
58
- target: "_blank",
59
- rel: "noopener noreferrer"
60
- }, null, 8, _hoisted_4)), [
61
- [unref(vDompurifyHtml), __props.title]
62
- ]) : withDirectives((openBlock(), createElementBlock("span", _hoisted_5, null, 512)), [
63
- [unref(vDompurifyHtml), __props.title]
64
- ])
65
- ])) : createCommentVNode("", true)
66
- ], true),
67
- renderSlot(_ctx.$slots, "detail", { detail: __props.detail }, () => [
68
- __props.detail ? withDirectives((openBlock(), createElementBlock("div", _hoisted_6, null, 512)), [
69
- [unref(vDompurifyHtml), __props.detail]
70
- ]) : createCommentVNode("", true)
71
- ], true),
72
- renderSlot(_ctx.$slots, "footer", {
73
- from: __props.from,
74
- version: __props.version
75
- }, () => [
76
- unref(isArray)(__props.from) && __props.from.length || __props.version ? (openBlock(), createElementBlock("div", _hoisted_7, [
77
- unref(isArray)(__props.from) && __props.from.length ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(unref(t)("search.from")), 1)) : createCommentVNode("", true),
78
- unref(isArray)(__props.from) && __props.from.length ? (openBlock(), createElementBlock("div", _hoisted_9, [
79
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.from ?? [], (item, i) => {
80
- var _a;
81
- return openBlock(), createElementBlock(Fragment, { key: i }, [
82
- createElementVNode("span", _hoisted_10, toDisplayString(item), 1),
83
- i !== (((_a = __props.from) == null ? void 0 : _a.length) ?? 0) - 1 ? (openBlock(), createBlock(unref(OIcon), {
84
- key: 0,
85
- class: "o-search-result-item-breadcrumb-icon"
86
- }, {
87
- default: withCtx(() => [
88
- createVNode(unref(IconRight))
89
- ]),
90
- _: 1
91
- })) : createCommentVNode("", true)
92
- ], 64);
93
- }), 128))
94
- ])) : createCommentVNode("", true),
95
- __props.version ? (openBlock(), createElementBlock("div", _hoisted_11, [
96
- unref(isArray)(__props.from) && __props.from.length ? (openBlock(), createBlock(unref(ODivider), {
97
- key: 0,
98
- direction: "v",
99
- class: "o-search-result-item-version-divider"
100
- })) : createCommentVNode("", true),
101
- createElementVNode("span", null, toDisplayString(unref(t)("search.version")) + toDisplayString(__props.version), 1)
102
- ])) : createCommentVNode("", true)
103
- ])) : createCommentVNode("", true)
104
- ], true)
105
- ]),
106
- __props.img ? (openBlock(), createElementBlock("img", {
107
- key: 0,
108
- class: "o-search-result-item-img",
109
- src: __props.img,
110
- alt: __props.title
111
- }, null, 8, _hoisted_12)) : createCommentVNode("", true)
112
- ]);
113
- };
114
- }
115
- });
116
- export {
117
- _sfc_main as default
118
- };
@@ -1,52 +0,0 @@
1
- .hover-icon-rotate .o-icon[data-v-da22a823] {
2
- transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
- }
4
- @media (hover: hover) {
5
- .hover-icon-rotate:hover .o-icon[data-v-da22a823] {
6
- transform: rotate(-180deg);
7
- }
8
- }
9
- .o-search-result-empty[data-v-da22a823] {
10
- display: flex;
11
- justify-content: center;
12
- align-items: center;
13
- flex-direction: column;
14
- padding: 54px 0;
15
- }
16
- .o-search-result-empty .o-search-result-empty-img[data-v-da22a823] {
17
- height: 300px;
18
- }
19
- @media (max-width: 600px) {
20
- .o-search-result-empty .o-search-result-empty-img[data-v-da22a823] {
21
- height: 232px;
22
- }
23
- }
24
- .o-search-result-empty .o-search-result-empty-tip[data-v-da22a823] {
25
- margin-top: 16px;
26
- font-size: 18px;
27
- line-height: 26px;
28
- }
29
- @media (min-width: 1201px) and (max-width: 1680px) {
30
- .o-search-result-empty .o-search-result-empty-tip[data-v-da22a823] {
31
- font-size: 16px;
32
- line-height: 24px;
33
- }
34
- }
35
- @media (min-width: 841px) and (max-width: 1200px) {
36
- .o-search-result-empty .o-search-result-empty-tip[data-v-da22a823] {
37
- font-size: 14px;
38
- line-height: 22px;
39
- }
40
- }
41
- @media (min-width: 601px) and (max-width: 840px) {
42
- .o-search-result-empty .o-search-result-empty-tip[data-v-da22a823] {
43
- font-size: 14px;
44
- line-height: 22px;
45
- }
46
- }
47
- @media (max-width: 600px) {
48
- .o-search-result-empty .o-search-result-empty-tip[data-v-da22a823] {
49
- font-size: 14px;
50
- line-height: 22px;
51
- }
52
- }
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
- export default _default;
@@ -1,7 +0,0 @@
1
- import _sfc_main from "./OSearchResultEmpty.vue2.mjs";
2
- import './OSearchResultEmpty.css';
3
- import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const OSearchResultEmpty = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-da22a823"]]);
5
- export {
6
- OSearchResultEmpty as default
7
- };
@@ -1,29 +0,0 @@
1
- import { defineComponent, inject, computed, openBlock, createElementBlock, createElementVNode, toDisplayString, unref } from "vue";
2
- import { useI18n } from "../../../i18n/index.mjs";
3
- import { configProviderInjectKey } from "../../../shared/provide.mjs";
4
- import searchEmptyImg from "../../../assets/search/search-empty.png.mjs";
5
- const _hoisted_1 = { class: "o-search-result-empty" };
6
- const _hoisted_2 = ["src"];
7
- const _hoisted_3 = { class: "o-search-result-empty-tip" };
8
- const _sfc_main = /* @__PURE__ */ defineComponent({
9
- __name: "OSearchResultEmpty",
10
- setup(__props) {
11
- const { t } = useI18n();
12
- const configProvider = inject(configProviderInjectKey);
13
- const emptyImage = computed(() => {
14
- return (configProvider == null ? void 0 : configProvider.emptyImg.value) || searchEmptyImg;
15
- });
16
- return (_ctx, _cache) => {
17
- return openBlock(), createElementBlock("div", _hoisted_1, [
18
- createElementVNode("img", {
19
- class: "o-search-result-empty-img",
20
- src: emptyImage.value
21
- }, null, 8, _hoisted_2),
22
- createElementVNode("div", _hoisted_3, toDisplayString(unref(t)("search.notFoundTip")), 1)
23
- ]);
24
- };
25
- }
26
- });
27
- export {
28
- _sfc_main as default
29
- };