@opendesign-plus-test/components 0.0.1-rc.241 → 0.0.1-rc.242

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 (49) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +10 -0
  3. package/dist/components/search/internal/SearchImageInput.vue.d.ts +2 -2
  4. package/dist/components/search-doc-result/OSearchDocResult.vue.d.ts +56 -0
  5. package/dist/components/search-doc-result/index.d.ts +113 -0
  6. package/dist/components/search-result/OSearchResult.vue.d.ts +4 -2
  7. package/dist/components/search-result/OSearchResultHeader.vue.d.ts +5 -0
  8. package/dist/components/search-result/index.d.ts +25 -5
  9. package/dist/components.cjs.js +40 -40
  10. package/dist/components.css +1 -1
  11. package/dist/components.es.js +9174 -8989
  12. package/dist/index.d.ts +1 -0
  13. package/dist/treeshaking/_virtual/icon-email.mjs +8 -9
  14. package/dist/treeshaking/_virtual/icon-email2.mjs +9 -8
  15. package/dist/treeshaking/_virtual/icon-tips.mjs +13 -2
  16. package/dist/treeshaking/_virtual/icon-tips2.mjs +2 -13
  17. package/dist/treeshaking/components/markdown/OMarkdown.css +7 -0
  18. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +1 -1
  19. package/dist/treeshaking/components/org/OOrgMembers.vue2.mjs +1 -1
  20. package/dist/treeshaking/components/search/internal/SearchImageInput.css +48 -47
  21. package/dist/treeshaking/components/search/internal/SearchImageInput.vue.d.ts +2 -2
  22. package/dist/treeshaking/components/search/internal/SearchImageInput.vue.mjs +1 -1
  23. package/dist/treeshaking/components/search-doc-result/OSearchDocResult.css +156 -0
  24. package/dist/treeshaking/components/search-doc-result/OSearchDocResult.vue.d.ts +56 -0
  25. package/dist/treeshaking/components/search-doc-result/OSearchDocResult.vue.mjs +7 -0
  26. package/dist/treeshaking/components/search-doc-result/OSearchDocResult.vue2.mjs +214 -0
  27. package/dist/treeshaking/components/search-doc-result/index.d.ts +113 -0
  28. package/dist/treeshaking/components/search-doc-result/index.mjs +9 -0
  29. package/dist/treeshaking/components/search-result/OSearchResult.css +34 -29
  30. package/dist/treeshaking/components/search-result/OSearchResult.vue.d.ts +4 -2
  31. package/dist/treeshaking/components/search-result/OSearchResult.vue.mjs +1 -1
  32. package/dist/treeshaking/components/search-result/OSearchResult.vue2.mjs +18 -15
  33. package/dist/treeshaking/components/search-result/OSearchResultHeader.css +57 -38
  34. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +5 -0
  35. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.mjs +1 -1
  36. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue2.mjs +13 -7
  37. package/dist/treeshaking/components/search-result/index.d.ts +25 -5
  38. package/dist/treeshaking/components/user-center/OAccountSecurity.css +51 -51
  39. package/dist/treeshaking/components/user-center/OAccountSecurity.vue.mjs +1 -1
  40. package/dist/treeshaking/components/user-center/OAccountSecurity.vue2.mjs +24 -9
  41. package/dist/treeshaking/components/user-center/OAccountSetting.css +63 -61
  42. package/dist/treeshaking/components/user-center/OAccountSetting.vue.mjs +1 -1
  43. package/dist/treeshaking/components/user-center/OAccountSetting.vue2.mjs +1 -1
  44. package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +1 -1
  45. package/dist/treeshaking/i18n/en.mjs +5 -0
  46. package/dist/treeshaking/i18n/zh.mjs +5 -0
  47. package/dist/treeshaking/index.d.ts +1 -0
  48. package/dist/treeshaking/index.mjs +2 -0
  49. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { defineComponent, useModel, watch, onMounted, onUnmounted, 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, normalizeClass, createElementVNode, renderSlot, unref, createBlock, withCtx, Fragment, renderList, createCommentVNode, createVNode, createTextVNode, toDisplayString, mergeModels } from "vue";
2
2
  import { useThrottleFn } from "@vueuse/core";
3
3
  import { isArray, OSelect, OOption, OSkeleton, OSkeletonText, ODivider, OPagination } from "@opensig/opendesign";
4
4
  import { useScreen } from "@opendesign-plus/composables";
@@ -7,15 +7,14 @@ import OSearchResultEmpty from "./components/OSearchResultEmpty.vue.mjs";
7
7
  import OSearchResultFeedback from "./components/OSearchResultFeedback.vue.mjs";
8
8
  import OSearchResultFeedbackBanner from "./components/OSearchResultFeedbackBanner.vue.mjs";
9
9
  import OSearchResultRelative from "./components/OSearchResultRelative.vue.mjs";
10
- const _hoisted_1 = { class: "o-search-result" };
11
- const _hoisted_2 = { class: "o-search-result-content-wrap" };
12
- const _hoisted_3 = { class: "o-search-result-left-content" };
13
- const _hoisted_4 = { class: "o-search-result-content-skeleton-loading" };
14
- const _hoisted_5 = {
10
+ const _hoisted_1 = { class: "o-search-result-content-wrap" };
11
+ const _hoisted_2 = { class: "o-search-result-left-content" };
12
+ const _hoisted_3 = { class: "o-search-result-content-skeleton-loading" };
13
+ const _hoisted_4 = {
15
14
  key: 1,
16
15
  class: "o-search-result-mb-bottom-text"
17
16
  };
18
- const _hoisted_6 = { class: "o-search-result-right-content" };
17
+ const _hoisted_5 = { class: "o-search-result-right-content" };
19
18
  const _sfc_main = /* @__PURE__ */ defineComponent({
20
19
  __name: "OSearchResult",
21
20
  props: /* @__PURE__ */ mergeModels({
@@ -28,7 +27,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
27
  submitFeedback: {},
29
28
  noMore: { type: Boolean },
30
29
  scrollContainer: {},
31
- bottomOffset: { default: 30 }
30
+ bottomOffset: { default: 30 },
31
+ hideTabOnMobile: { type: Boolean, default: false }
32
32
  }, {
33
33
  "version": {},
34
34
  "versionModifiers": {},
@@ -88,9 +88,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
88
88
  onMounted(bindScroll);
89
89
  onUnmounted(unbindScroll);
90
90
  return (_ctx, _cache) => {
91
- return openBlock(), createElementBlock("div", _hoisted_1, [
92
- createElementVNode("div", _hoisted_2, [
93
- createElementVNode("div", _hoisted_3, [
91
+ return openBlock(), createElementBlock("div", {
92
+ class: normalizeClass(["o-search-result", { "is-hide-tab-mobile": __props.hideTabOnMobile }])
93
+ }, [
94
+ createElementVNode("div", _hoisted_1, [
95
+ createElementVNode("div", _hoisted_2, [
94
96
  renderSlot(_ctx.$slots, "content-header", {}, () => [
95
97
  unref(isArray)(__props.versions) && __props.versions.length ? (openBlock(), createBlock(unref(OSelect), {
96
98
  key: 0,
@@ -116,7 +118,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
116
118
  loading: __props.loading && (!unref(lePadV) || page.value === 1)
117
119
  }, {
118
120
  template: withCtx(() => [
119
- createElementVNode("div", _hoisted_4, [
121
+ createElementVNode("div", _hoisted_3, [
120
122
  (openBlock(), createElementBlock(Fragment, null, renderList(7, (_, i) => {
121
123
  return openBlock(), createElementBlock(Fragment, { key: i }, [
122
124
  createVNode(unref(OSkeletonText), { rows: 3 }),
@@ -151,9 +153,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
151
153
  "onUpdate:pageSize": _cache[2] || (_cache[2] = ($event) => pageSize.value = $event),
152
154
  total: __props.total,
153
155
  "page-sizes": __props.pageSizes,
156
+ layout: ["total", "pagesize", "pager", "jumper"],
154
157
  class: "o-search-result-pagination"
155
158
  }, null, 8, ["page", "page-size", "total", "page-sizes"])) : createCommentVNode("", true),
156
- unref(lePadV) ? (openBlock(), createElementBlock("div", _hoisted_5, [
159
+ unref(lePadV) ? (openBlock(), createElementBlock("div", _hoisted_4, [
157
160
  __props.noMore ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
158
161
  createTextVNode(toDisplayString(unref(t)("search.reachBottom")), 1)
159
162
  ], 64)) : !__props.loading && page.value >= 1 && __props.items.length ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
@@ -164,7 +167,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
164
167
  ])) : createCommentVNode("", true)
165
168
  ]),
166
169
  !unref(lePad) ? renderSlot(_ctx.$slots, "right", { key: 0 }, () => [
167
- createElementVNode("div", _hoisted_6, [
170
+ createElementVNode("div", _hoisted_5, [
168
171
  createVNode(OSearchResultRelative, {
169
172
  "relative-items": __props.relativeItems,
170
173
  onClickRelativeSearchItem: _cache[3] || (_cache[3] = ($event) => emit("click-relative-search-item", $event))
@@ -173,7 +176,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
173
176
  ])
174
177
  ], true) : createCommentVNode("", true)
175
178
  ])
176
- ]);
179
+ ], 2);
177
180
  };
178
181
  }
179
182
  });
@@ -1,33 +1,24 @@
1
- .hover-icon-rotate .o-icon[data-v-d28619d2] {
1
+ .hover-icon-rotate .o-icon[data-v-018008e1] {
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-d28619d2] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-018008e1] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .o-search-result-header[data-v-d28619d2] {
10
- background-image: var(--v6c29f598);
9
+ .o-search-result-header[data-v-018008e1] {
10
+ background-image: var(--v1c86e469);
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-d28619d2] {
16
+ .o-search-result-header[data-v-018008e1] {
17
17
  background-image: none;
18
18
  background-color: var(--o-color-fill2);
19
19
  }
20
20
  }
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] {
21
+ .o-search-result-header .o-search-result-header-content[data-v-018008e1] {
31
22
  position: relative;
32
23
  height: 280px;
33
24
  padding-top: 80px;
@@ -35,13 +26,13 @@
35
26
  margin: 0 auto;
36
27
  }
37
28
  @media (max-width: 1680px) {
38
- .o-search-result-header .o-search-result-header-content[data-v-d28619d2] {
29
+ .o-search-result-header .o-search-result-header-content[data-v-018008e1] {
39
30
  height: 220px;
40
31
  padding-top: 52px;
41
32
  }
42
33
  }
43
34
  @media (max-width: 1200px) {
44
- .o-search-result-header .o-search-result-header-content[data-v-d28619d2] {
35
+ .o-search-result-header .o-search-result-header-content[data-v-018008e1] {
45
36
  height: 180px;
46
37
  padding-top: 34px;
47
38
  padding-left: 32px;
@@ -49,68 +40,79 @@
49
40
  }
50
41
  }
51
42
  @media (max-width: 840px) {
52
- .o-search-result-header .o-search-result-header-content[data-v-d28619d2] {
43
+ .o-search-result-header .o-search-result-header-content[data-v-018008e1] {
53
44
  height: 90px;
54
45
  padding: 0;
55
46
  box-shadow: var(--o-shadow-2);
56
47
  }
57
48
  }
58
- .o-search-result-header .o-search-result-header-back[data-v-d28619d2] {
49
+ .o-search-result-header .o-search-result-header-back[data-v-018008e1] {
59
50
  display: none;
60
51
  }
61
- .o-search-result-header .o-search-result-header-search-btn[data-v-d28619d2] {
52
+ .o-search-result-header .o-search-result-header-search-btn[data-v-018008e1] {
62
53
  display: none;
63
54
  }
64
- .o-search-result-header .o-search-result-header-input[data-v-d28619d2] {
55
+ .o-search-result-header .o-search-result-header-input[data-v-018008e1] {
65
56
  max-width: var(--grid-15);
66
57
  background-color: transparent;
67
58
  }
68
- .o-search-result-header .o-search-result-header-input.is-focus[data-v-d28619d2] {
59
+ .o-search-result-header .o-search-result-header-input.is-focus[data-v-018008e1] {
69
60
  z-index: 100;
70
61
  }
71
62
  @media (min-width: ) {
72
- .o-search-result-header .o-search-result-header-input[data-v-d28619d2] {
63
+ .o-search-result-header .o-search-result-header-input[data-v-018008e1] {
73
64
  max-width: var(--grid-10);
74
65
  }
75
66
  }
76
- .o-search-result-header .o-search-result-header-input[data-v-d28619d2] .o-input.o_box-large {
77
- --_box-height: 40px ;
67
+ .o-search-result-header .o-search-result-header-input[data-v-018008e1] .o-input.o_box-large {
68
+ --_box-height: 40px;
78
69
  }
79
- .o-search-result-header .o-search-result-header-input[data-v-d28619d2] .o-search-image-input-icon {
70
+ .o-search-result-header .o-search-result-header-input[data-v-018008e1] .o-search-image-input-icon {
80
71
  font-size: 24px;
81
72
  }
82
- .o-search-result-header .o-search-result-header-tab-wrap[data-v-d28619d2] {
73
+ .o-search-result-header .o-search-result-header-input[data-v-018008e1] .o-search-image-input.is-expanded {
74
+ background-color: var(--o-color-fill2);
75
+ }
76
+ .o-search-result-header .o-search-result-header-tab-wrap[data-v-018008e1] {
83
77
  position: absolute;
84
78
  bottom: 0;
85
79
  width: 100%;
86
80
  }
87
81
  @media (max-width: 1200px) {
88
- .o-search-result-header .o-search-result-header-tab-wrap[data-v-d28619d2] {
82
+ .o-search-result-header .o-search-result-header-tab-wrap[data-v-018008e1] {
89
83
  width: calc(100% - 64px);
90
84
  }
91
85
  }
92
86
  @media (max-width: 840px) {
93
- .o-search-result-header .o-search-result-header-tab-wrap[data-v-d28619d2] {
87
+ .o-search-result-header .o-search-result-header-tab-wrap[data-v-018008e1] {
94
88
  width: 100%;
95
89
  padding: 0 32px;
96
90
  }
97
91
  }
98
92
  @media (max-width: 600px) {
99
- .o-search-result-header .o-search-result-header-tab-wrap[data-v-d28619d2] {
93
+ .o-search-result-header .o-search-result-header-tab-wrap[data-v-018008e1] {
100
94
  padding: 0 24px;
101
95
  }
102
96
  }
103
- .o-search-result-header .o-search-result-header-tab-wrap .o-search-result-header-tab[data-v-d28619d2] {
97
+ .o-search-result-header .o-search-result-header-tab-wrap .o-search-result-header-tab[data-v-018008e1] {
104
98
  --tab-nav-justify: start;
105
99
  }
100
+ .o-search-result-header .o-search-result-header-tab-wrap .o-search-result-header-tab[data-v-018008e1] .o-tab-nav-list {
101
+ --tab-nav-gap: 40px;
102
+ }
103
+ @media (max-width: 1680px) {
104
+ .o-search-result-header .o-search-result-header-tab-wrap .o-search-result-header-tab[data-v-018008e1] .o-tab-nav-list {
105
+ --tab-nav-gap: 16px;
106
+ }
107
+ }
106
108
  @media (max-width: 840px) {
107
- .o-search-result-header .o-search-result-header-input-row[data-v-d28619d2] {
109
+ .o-search-result-header .o-search-result-header-input-row[data-v-018008e1] {
108
110
  display: flex;
109
111
  align-items: center;
110
- gap: 24px;
112
+ gap: 16px;
111
113
  padding: 8px 32px;
112
114
  }
113
- .o-search-result-header .o-search-result-header-back[data-v-d28619d2] {
115
+ .o-search-result-header .o-search-result-header-back[data-v-018008e1] {
114
116
  display: flex;
115
117
  align-items: center;
116
118
  flex-shrink: 0;
@@ -119,15 +121,15 @@
119
121
  background: none;
120
122
  cursor: pointer;
121
123
  }
122
- .o-search-result-header .o-search-result-header-back .o-icon[data-v-d28619d2] {
124
+ .o-search-result-header .o-search-result-header-back .o-icon[data-v-018008e1] {
123
125
  font-size: 24px;
124
126
  }
125
- .o-search-result-header .o-search-result-header-input[data-v-d28619d2] {
127
+ .o-search-result-header .o-search-result-header-input[data-v-018008e1] {
126
128
  flex: 1;
127
129
  max-width: none;
128
130
  margin: 0;
129
131
  }
130
- .o-search-result-header .o-search-result-header-search-btn[data-v-d28619d2] {
132
+ .o-search-result-header .o-search-result-header-search-btn[data-v-018008e1] {
131
133
  display: block;
132
134
  flex-shrink: 0;
133
135
  font-size: 16px;
@@ -137,7 +139,24 @@
137
139
  }
138
140
  }
139
141
  @media (max-width: 600px) {
140
- .o-search-result-header .o-search-result-header-input-row[data-v-d28619d2] {
142
+ .o-search-result-header .o-search-result-header-input-row[data-v-018008e1] {
141
143
  padding: 8px 24px;
142
144
  }
145
+ }
146
+ @media (max-width: 840px) {
147
+ .o-search-result-header.is-responsive[data-v-018008e1] {
148
+ position: fixed;
149
+ left: 0;
150
+ top: 0;
151
+ right: 0;
152
+ z-index: 999;
153
+ }
154
+ }
155
+ @media (max-width: 840px) {
156
+ .o-search-result-header.is-hide-tab-mobile .o-search-result-header-content[data-v-018008e1] {
157
+ height: 56px;
158
+ }
159
+ .o-search-result-header.is-hide-tab-mobile .o-search-result-header-tab-wrap[data-v-018008e1] {
160
+ display: none;
161
+ }
143
162
  }
@@ -6,9 +6,11 @@ type __VLS_Props = {
6
6
  tabs?: OSearchItemT[];
7
7
  inputProps?: OSearchInputPropsT;
8
8
  responsive?: boolean;
9
+ hideTabOnMobile?: boolean;
9
10
  };
10
11
  type __VLS_PublicProps = {
11
12
  'searchInput'?: string;
13
+ 'imageUrl'?: string;
12
14
  'tab'?: string | number;
13
15
  } & __VLS_Props;
14
16
  declare function __VLS_template(): {
@@ -651,16 +653,19 @@ declare function __VLS_template(): {
651
653
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
652
654
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
653
655
  search: (payload: OSearchPayload) => any;
656
+ "update:imageUrl": (value: string) => any;
654
657
  back: () => any;
655
658
  "update:searchInput": (value: string) => any;
656
659
  "update:tab": (value: string | number) => any;
657
660
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
658
661
  onSearch?: ((payload: OSearchPayload) => any) | undefined;
662
+ "onUpdate:imageUrl"?: ((value: string) => any) | undefined;
659
663
  onBack?: (() => any) | undefined;
660
664
  "onUpdate:searchInput"?: ((value: string) => any) | undefined;
661
665
  "onUpdate:tab"?: ((value: string | number) => any) | undefined;
662
666
  }>, {
663
667
  responsive: boolean;
668
+ hideTabOnMobile: boolean;
664
669
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
665
670
  searchInputRef: ({
666
671
  $: import('vue').ComponentInternalInstance;
@@ -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-d28619d2"]]);
4
+ const _OSearchResultHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-018008e1"]]);
5
5
  export {
6
6
  _OSearchResultHeader as default
7
7
  };
@@ -16,21 +16,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16
16
  bg: {},
17
17
  tabs: {},
18
18
  inputProps: {},
19
- responsive: { type: Boolean, default: false }
19
+ responsive: { type: Boolean, default: false },
20
+ hideTabOnMobile: { type: Boolean, default: false }
20
21
  }, {
21
22
  "searchInput": {},
22
23
  "searchInputModifiers": {},
24
+ "imageUrl": {},
25
+ "imageUrlModifiers": {},
23
26
  "tab": {},
24
27
  "tabModifiers": {}
25
28
  }),
26
- emits: /* @__PURE__ */ mergeModels(["back", "search"], ["update:searchInput", "update:tab"]),
29
+ emits: /* @__PURE__ */ mergeModels(["back", "search"], ["update:searchInput", "update:imageUrl", "update:tab"]),
27
30
  setup(__props, { emit: __emit }) {
28
31
  useCssVars((_ctx) => ({
29
- "v6c29f598": bgStyle.value
32
+ "v1c86e469": bgStyle.value
30
33
  }));
31
34
  const props = __props;
32
35
  const emit = __emit;
33
36
  const searchInput = useModel(__props, "searchInput");
37
+ const imageUrl = useModel(__props, "imageUrl");
34
38
  const tabVal = useModel(__props, "tab");
35
39
  const { t } = useI18n();
36
40
  const searchInputRef = ref(null);
@@ -41,7 +45,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
45
  const bgStyle = computed(() => props.bg ? `url(${props.bg})` : "none");
42
46
  return (_ctx, _cache) => {
43
47
  return openBlock(), createElementBlock("div", {
44
- class: normalizeClass(["o-search-result-header", { "is-responsive": __props.responsive }])
48
+ class: normalizeClass(["o-search-result-header", { "is-responsive": __props.responsive, "is-hide-tab-mobile": __props.hideTabOnMobile }])
45
49
  }, [
46
50
  createElementVNode("div", _hoisted_1, [
47
51
  createElementVNode("div", _hoisted_2, [
@@ -65,9 +69,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
65
69
  }, __props.inputProps, {
66
70
  modelValue: searchInput.value,
67
71
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => searchInput.value = $event),
72
+ "image-url": imageUrl.value,
73
+ "onUpdate:imageUrl": _cache[2] || (_cache[2] = ($event) => imageUrl.value = $event),
68
74
  class: "o-search-result-header-input",
69
- onSearch: _cache[2] || (_cache[2] = (payload) => emit("search", payload))
70
- }), null, 16, ["modelValue"])
75
+ onSearch: _cache[3] || (_cache[3] = (payload) => emit("search", payload))
76
+ }), null, 16, ["modelValue", "image-url"])
71
77
  ], true),
72
78
  createElementVNode("div", {
73
79
  class: "o-search-result-header-search-btn",
@@ -78,7 +84,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
78
84
  unref(isArray)(__props.tabs) && __props.tabs.length ? (openBlock(), createElementBlock("div", _hoisted_4, [
79
85
  createVNode(unref(OTab), {
80
86
  modelValue: tabVal.value,
81
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => tabVal.value = $event),
87
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => tabVal.value = $event),
82
88
  class: "o-search-result-header-tab",
83
89
  line: false,
84
90
  size: "large"
@@ -18,23 +18,25 @@ declare const OSearchResult: {
18
18
  noMore: boolean;
19
19
  scrollContainer?: string | HTMLElement;
20
20
  bottomOffset?: number;
21
+ hideTabOnMobile?: boolean;
21
22
  }> & Readonly<{
22
23
  "onUpdate:pageSize"?: ((value: number) => any) | undefined;
23
24
  "onUpdate:page"?: ((value: number) => any) | undefined;
24
- "onClick-relative-search-item"?: ((item: import('./types').OSearchRelativeItemT) => any) | undefined;
25
25
  "onReach-bottom"?: (() => any) | undefined;
26
+ "onClick-relative-search-item"?: ((item: import('./types').OSearchRelativeItemT) => any) | undefined;
26
27
  "onUpdate:version"?: ((value: import('@opensig/opendesign').SelectValueT) => any) | undefined;
27
28
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
29
  "update:pageSize": (value: number) => any;
29
30
  "update:page": (value: number) => any;
30
31
  "update:version": (value: import('@opensig/opendesign').SelectValueT) => any;
31
32
  } & {
32
- "click-relative-search-item": (item: import('./types').OSearchRelativeItemT) => any;
33
33
  "reach-bottom": () => any;
34
+ "click-relative-search-item": (item: import('./types').OSearchRelativeItemT) => any;
34
35
  }, import('vue').PublicProps, {
35
36
  total: number;
36
37
  pageSizes: number[];
37
38
  bottomOffset: number;
39
+ hideTabOnMobile: boolean;
38
40
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
39
41
  P: {};
40
42
  B: {};
@@ -60,16 +62,18 @@ declare const OSearchResult: {
60
62
  noMore: boolean;
61
63
  scrollContainer?: string | HTMLElement;
62
64
  bottomOffset?: number;
65
+ hideTabOnMobile?: boolean;
63
66
  }> & Readonly<{
64
67
  "onUpdate:pageSize"?: ((value: number) => any) | undefined;
65
68
  "onUpdate:page"?: ((value: number) => any) | undefined;
66
- "onClick-relative-search-item"?: ((item: import('./types').OSearchRelativeItemT) => any) | undefined;
67
69
  "onReach-bottom"?: (() => any) | undefined;
70
+ "onClick-relative-search-item"?: ((item: import('./types').OSearchRelativeItemT) => any) | undefined;
68
71
  "onUpdate:version"?: ((value: import('@opensig/opendesign').SelectValueT) => any) | undefined;
69
72
  }>, {}, {}, {}, {}, {
70
73
  total: number;
71
74
  pageSizes: number[];
72
75
  bottomOffset: number;
76
+ hideTabOnMobile: boolean;
73
77
  }>;
74
78
  __isFragment?: never;
75
79
  __isTeleport?: never;
@@ -92,23 +96,25 @@ declare const OSearchResult: {
92
96
  noMore: boolean;
93
97
  scrollContainer?: string | HTMLElement;
94
98
  bottomOffset?: number;
99
+ hideTabOnMobile?: boolean;
95
100
  }> & Readonly<{
96
101
  "onUpdate:pageSize"?: ((value: number) => any) | undefined;
97
102
  "onUpdate:page"?: ((value: number) => any) | undefined;
98
- "onClick-relative-search-item"?: ((item: import('./types').OSearchRelativeItemT) => any) | undefined;
99
103
  "onReach-bottom"?: (() => any) | undefined;
104
+ "onClick-relative-search-item"?: ((item: import('./types').OSearchRelativeItemT) => any) | undefined;
100
105
  "onUpdate:version"?: ((value: import('@opensig/opendesign').SelectValueT) => any) | undefined;
101
106
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
102
107
  "update:pageSize": (value: number) => any;
103
108
  "update:page": (value: number) => any;
104
109
  "update:version": (value: import('@opensig/opendesign').SelectValueT) => any;
105
110
  } & {
106
- "click-relative-search-item": (item: import('./types').OSearchRelativeItemT) => any;
107
111
  "reach-bottom": () => any;
112
+ "click-relative-search-item": (item: import('./types').OSearchRelativeItemT) => any;
108
113
  }, string, {
109
114
  total: number;
110
115
  pageSizes: number[];
111
116
  bottomOffset: number;
117
+ hideTabOnMobile: boolean;
112
118
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
113
119
  $slots: {
114
120
  'content-header'?(_: {}): any;
@@ -124,24 +130,29 @@ declare const OSearchResult: {
124
130
  declare const OSearchResultHeader: {
125
131
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
126
132
  searchInput?: string;
133
+ imageUrl?: string;
127
134
  tab?: string | number;
128
135
  } & {
129
136
  bg?: string;
130
137
  tabs?: import('./types').OSearchItemT[];
131
138
  inputProps?: import('../search/OSearchInput.vue').OSearchInputPropsT;
132
139
  responsive?: boolean;
140
+ hideTabOnMobile?: boolean;
133
141
  }> & Readonly<{
134
142
  onSearch?: ((payload: import('../search').OSearchPayload) => any) | undefined;
143
+ "onUpdate:imageUrl"?: ((value: string) => any) | undefined;
135
144
  onBack?: (() => any) | undefined;
136
145
  "onUpdate:searchInput"?: ((value: string) => any) | undefined;
137
146
  "onUpdate:tab"?: ((value: string | number) => any) | undefined;
138
147
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
139
148
  search: (payload: import('../search').OSearchPayload) => any;
149
+ "update:imageUrl": (value: string) => any;
140
150
  back: () => any;
141
151
  "update:searchInput": (value: string) => any;
142
152
  "update:tab": (value: string | number) => any;
143
153
  }, import('vue').PublicProps, {
144
154
  responsive: boolean;
155
+ hideTabOnMobile: boolean;
145
156
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
146
157
  searchInputRef: ({
147
158
  $: import('vue').ComponentInternalInstance;
@@ -779,43 +790,52 @@ declare const OSearchResultHeader: {
779
790
  Defaults: {};
780
791
  }, Readonly<{
781
792
  searchInput?: string;
793
+ imageUrl?: string;
782
794
  tab?: string | number;
783
795
  } & {
784
796
  bg?: string;
785
797
  tabs?: import('./types').OSearchItemT[];
786
798
  inputProps?: import('../search/OSearchInput.vue').OSearchInputPropsT;
787
799
  responsive?: boolean;
800
+ hideTabOnMobile?: boolean;
788
801
  }> & Readonly<{
789
802
  onSearch?: ((payload: import('../search').OSearchPayload) => any) | undefined;
803
+ "onUpdate:imageUrl"?: ((value: string) => any) | undefined;
790
804
  onBack?: (() => any) | undefined;
791
805
  "onUpdate:searchInput"?: ((value: string) => any) | undefined;
792
806
  "onUpdate:tab"?: ((value: string | number) => any) | undefined;
793
807
  }>, {}, {}, {}, {}, {
794
808
  responsive: boolean;
809
+ hideTabOnMobile: boolean;
795
810
  }>;
796
811
  __isFragment?: never;
797
812
  __isTeleport?: never;
798
813
  __isSuspense?: never;
799
814
  } & import('vue').ComponentOptionsBase<Readonly<{
800
815
  searchInput?: string;
816
+ imageUrl?: string;
801
817
  tab?: string | number;
802
818
  } & {
803
819
  bg?: string;
804
820
  tabs?: import('./types').OSearchItemT[];
805
821
  inputProps?: import('../search/OSearchInput.vue').OSearchInputPropsT;
806
822
  responsive?: boolean;
823
+ hideTabOnMobile?: boolean;
807
824
  }> & Readonly<{
808
825
  onSearch?: ((payload: import('../search').OSearchPayload) => any) | undefined;
826
+ "onUpdate:imageUrl"?: ((value: string) => any) | undefined;
809
827
  onBack?: (() => any) | undefined;
810
828
  "onUpdate:searchInput"?: ((value: string) => any) | undefined;
811
829
  "onUpdate:tab"?: ((value: string | number) => any) | undefined;
812
830
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
813
831
  search: (payload: import('../search').OSearchPayload) => any;
832
+ "update:imageUrl": (value: string) => any;
814
833
  back: () => any;
815
834
  "update:searchInput": (value: string) => any;
816
835
  "update:tab": (value: string | number) => any;
817
836
  }, string, {
818
837
  responsive: boolean;
838
+ hideTabOnMobile: boolean;
819
839
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
820
840
  $slots: {
821
841
  input?(_: {}): any;