@opendesign-plus-test/components 0.0.1-rc.230 → 0.0.1-rc.231

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.
@@ -51178,7 +51178,8 @@ const FR = { name: "components-icon-relative-search", render: VR }, NR = {
51178
51178
  relativeItems: {},
51179
51179
  total: { default: 0 },
51180
51180
  pageSizes: { default: () => [10, 20, 50] },
51181
- submitFeedback: {}
51181
+ submitFeedback: {},
51182
+ noMore: { type: Boolean }
51182
51183
  }, {
51183
51184
  version: {},
51184
51185
  versionModifiers: {},
@@ -51250,11 +51251,11 @@ const FR = { name: "components-icon-relative-search", render: VR }, NR = {
51250
51251
  class: "o-search-result-pagination"
51251
51252
  }, null, 8, ["page", "page-size", "total", "page-sizes"])) : ee("", !0),
51252
51253
  l(o) ? (g(), w("div", WR, [
51253
- !i.loading && s.value * n.value >= i.total ? (g(), w(pe, { key: 0 }, [
51254
+ i.noMore ? (g(), w(pe, { key: 0 }, [
51254
51255
  me(L(l(u)("search.reachBottom")), 1)
51255
- ], 64)) : !i.loading && s.value >= 1 ? (g(), w(pe, { key: 1 }, [
51256
+ ], 64)) : !i.loading && s.value >= 1 && i.items.length ? (g(), w(pe, { key: 1 }, [
51256
51257
  me(L(l(u)("search.loadMore")), 1)
51257
- ], 64)) : i.loading && s.value > 1 ? (g(), w(pe, { key: 2 }, [
51258
+ ], 64)) : i.loading && s.value > 1 && i.items.length ? (g(), w(pe, { key: 2 }, [
51258
51259
  me(L(l(u)("search.loading")), 1)
51259
51260
  ], 64)) : ee("", !0)
51260
51261
  ])) : ee("", !0)
@@ -51271,7 +51272,7 @@ const FR = { name: "components-icon-relative-search", render: VR }, NR = {
51271
51272
  ])
51272
51273
  ]));
51273
51274
  }
51274
- }), Ep = /* @__PURE__ */ Xe(JR, [["__scopeId", "data-v-925295df"]]), ZR = {
51275
+ }), Ep = /* @__PURE__ */ Xe(JR, [["__scopeId", "data-v-83f81f5a"]]), ZR = {
51275
51276
  version: "1.1",
51276
51277
  xmlns: "http://www.w3.org/2000/svg",
51277
51278
  width: "24",
@@ -1,125 +1,126 @@
1
- .hover-icon-rotate .o-icon[data-v-925295df] {
1
+ .hover-icon-rotate .o-icon[data-v-83f81f5a] {
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-925295df] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-83f81f5a] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .o-search-result[data-v-925295df] {
9
+ .o-search-result[data-v-83f81f5a] {
10
10
  --o-search-result-radius: var(--o-radius-xs);
11
11
  background-color: var(--o-color-fill2);
12
12
  }
13
- .o-search-result .o-search-result-content-wrap[data-v-925295df] {
13
+ .o-search-result .o-search-result-content-wrap[data-v-83f81f5a] {
14
14
  display: flex;
15
15
  max-width: var(--grid-20);
16
16
  padding: 40px 0 72px;
17
17
  margin: 0 auto;
18
18
  }
19
19
  @media (max-width: 1680px) {
20
- .o-search-result .o-search-result-content-wrap[data-v-925295df] {
20
+ .o-search-result .o-search-result-content-wrap[data-v-83f81f5a] {
21
21
  padding: 24px 0 56px;
22
22
  }
23
23
  }
24
24
  @media (max-width: 1200px) {
25
- .o-search-result .o-search-result-content-wrap[data-v-925295df] {
25
+ .o-search-result .o-search-result-content-wrap[data-v-83f81f5a] {
26
26
  padding: 16px 32px 40px;
27
27
  }
28
28
  }
29
29
  @media (max-width: 840px) {
30
- .o-search-result .o-search-result-content-wrap[data-v-925295df] {
30
+ .o-search-result .o-search-result-content-wrap[data-v-83f81f5a] {
31
31
  padding: 24px 32px 40px;
32
32
  }
33
33
  }
34
34
  @media (max-width: 600px) {
35
- .o-search-result .o-search-result-content-wrap[data-v-925295df] {
35
+ .o-search-result .o-search-result-content-wrap[data-v-83f81f5a] {
36
36
  padding: 24px;
37
37
  padding-bottom: 32px;
38
38
  }
39
39
  }
40
- .o-search-result .o-search-result-content-wrap .o-search-result-left-content[data-v-925295df] {
40
+ .o-search-result .o-search-result-content-wrap .o-search-result-left-content[data-v-83f81f5a] {
41
41
  flex: 1;
42
42
  min-width: 0;
43
43
  padding-right: var(--grid-column-gutter);
44
44
  border-right: 1px solid var(--o-color-control4);
45
45
  }
46
46
  @media (max-width: 1200px) {
47
- .o-search-result .o-search-result-content-wrap .o-search-result-left-content[data-v-925295df] {
47
+ .o-search-result .o-search-result-content-wrap .o-search-result-left-content[data-v-83f81f5a] {
48
48
  border-right: none;
49
49
  padding-right: 0;
50
50
  }
51
51
  }
52
- .o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-925295df] {
52
+ .o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-83f81f5a] {
53
53
  width: var(--grid-5);
54
54
  padding-left: var(--grid-column-gutter);
55
55
  }
56
56
  @media (max-width: 1680px) {
57
- .o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-925295df] {
57
+ .o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-83f81f5a] {
58
58
  width: var(--grid-6);
59
59
  }
60
60
  }
61
- .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-925295df] {
61
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-83f81f5a] {
62
62
  margin-top: 24px;
63
63
  margin-bottom: 32px;
64
64
  }
65
- .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-925295df] .o-skeleton-item .o-skeleton-line:nth-child(1) {
65
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-83f81f5a] .o-skeleton-item .o-skeleton-line:nth-child(1) {
66
66
  width: 52%;
67
67
  height: 28px;
68
68
  }
69
- .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-925295df] .o-skeleton-item .o-skeleton-line:nth-child(2) {
69
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-83f81f5a] .o-skeleton-item .o-skeleton-line:nth-child(2) {
70
70
  height: 48px;
71
71
  }
72
- .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-925295df] .o-skeleton-item .o-skeleton-line:nth-child(3) {
72
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-83f81f5a] .o-skeleton-item .o-skeleton-line:nth-child(3) {
73
73
  width: 38%;
74
74
  height: 18px;
75
75
  }
76
- .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-divider[data-v-925295df] {
76
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-divider[data-v-83f81f5a] {
77
77
  margin: 16px 0;
78
78
  }
79
- .o-search-result .o-search-result-content-wrap .o-search-result-version-select[data-v-925295df] {
79
+ .o-search-result .o-search-result-content-wrap .o-search-result-version-select[data-v-83f81f5a] {
80
80
  width: 320px;
81
81
  }
82
- .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-925295df] {
82
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-83f81f5a] {
83
+ min-height: var(--o-search-result-content-min-height);
83
84
  padding: 24px 0;
84
85
  }
85
86
  @media (max-width: 1680px) {
86
- .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-925295df] {
87
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-83f81f5a] {
87
88
  padding: 16px 0;
88
89
  }
89
90
  }
90
- .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-925295df] > *:not(:first-child) {
91
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-83f81f5a] > *:not(:first-child) {
91
92
  padding-top: 16px;
92
93
  border-top: 1px solid var(--o-color-control4);
93
94
  }
94
95
  @media (max-width: 1680px) {
95
- .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-925295df] > *:not(:first-child) {
96
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-83f81f5a] > *:not(:first-child) {
96
97
  padding-top: 12px;
97
98
  }
98
99
  }
99
- .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-925295df] > *:not(:last-child) {
100
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-83f81f5a] > *:not(:last-child) {
100
101
  padding-bottom: 16px;
101
102
  }
102
103
  @media (max-width: 1680px) {
103
- .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-925295df] > *:not(:last-child) {
104
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-83f81f5a] > *:not(:last-child) {
104
105
  padding-bottom: 12px;
105
106
  }
106
107
  }
107
- .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-925295df] {
108
+ .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-83f81f5a] {
108
109
  display: flex;
109
110
  justify-content: flex-end;
110
111
  margin-top: 32px;
111
112
  }
112
113
  @media (max-width: 1680px) {
113
- .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-925295df] {
114
+ .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-83f81f5a] {
114
115
  margin-top: 24px;
115
116
  }
116
117
  }
117
118
  @media (max-width: 1200px) {
118
- .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-925295df] {
119
+ .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-83f81f5a] {
119
120
  margin-top: 16px;
120
121
  }
121
122
  }
122
- .o-search-result .o-search-result-content-wrap .o-search-result-mb-bottom-text[data-v-925295df] {
123
+ .o-search-result .o-search-result-content-wrap .o-search-result-mb-bottom-text[data-v-83f81f5a] {
123
124
  margin-top: 16px;
124
125
  color: var(--o-color-info3);
125
126
  text-align: center;
@@ -11,6 +11,7 @@ type __VLS_Props = {
11
11
  searchFlag: boolean;
12
12
  feedbackText: string;
13
13
  }) => Promise<boolean>;
14
+ noMore: boolean;
14
15
  };
15
16
  type __VLS_PublicProps = {
16
17
  'version'?: SelectValueT;
@@ -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-925295df"]]);
4
+ const _OSearchResult = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-83f81f5a"]]);
5
5
  export {
6
6
  _OSearchResult as default
7
7
  };
@@ -25,7 +25,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25
25
  relativeItems: {},
26
26
  total: { default: 0 },
27
27
  pageSizes: { default: () => [10, 20, 50] },
28
- submitFeedback: {}
28
+ submitFeedback: {},
29
+ noMore: { type: Boolean }
29
30
  }, {
30
31
  "version": {},
31
32
  "versionModifiers": {},
@@ -107,11 +108,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
107
108
  class: "o-search-result-pagination"
108
109
  }, null, 8, ["page", "page-size", "total", "page-sizes"])) : createCommentVNode("", true),
109
110
  unref(lePadV) ? (openBlock(), createElementBlock("div", _hoisted_6, [
110
- !__props.loading && page.value * pageSize.value >= __props.total ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
111
+ __props.noMore ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
111
112
  createTextVNode(toDisplayString(unref(t)("search.reachBottom")), 1)
112
- ], 64)) : !__props.loading && page.value >= 1 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
113
+ ], 64)) : !__props.loading && page.value >= 1 && __props.items.length ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
113
114
  createTextVNode(toDisplayString(unref(t)("search.loadMore")), 1)
114
- ], 64)) : __props.loading && page.value > 1 ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
115
+ ], 64)) : __props.loading && page.value > 1 && __props.items.length ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
115
116
  createTextVNode(toDisplayString(unref(t)("search.loading")), 1)
116
117
  ], 64)) : createCommentVNode("", true)
117
118
  ])) : createCommentVNode("", true)
@@ -15,6 +15,7 @@ declare const OSearchResult: {
15
15
  searchFlag: boolean;
16
16
  feedbackText: string;
17
17
  }) => Promise<boolean>;
18
+ noMore: boolean;
18
19
  }> & Readonly<{
19
20
  "onUpdate:pageSize"?: ((value: number) => any) | undefined;
20
21
  "onUpdate:page"?: ((value: number) => any) | undefined;
@@ -51,6 +52,7 @@ declare const OSearchResult: {
51
52
  searchFlag: boolean;
52
53
  feedbackText: string;
53
54
  }) => Promise<boolean>;
55
+ noMore: boolean;
54
56
  }> & Readonly<{
55
57
  "onUpdate:pageSize"?: ((value: number) => any) | undefined;
56
58
  "onUpdate:page"?: ((value: number) => any) | undefined;
@@ -78,6 +80,7 @@ declare const OSearchResult: {
78
80
  searchFlag: boolean;
79
81
  feedbackText: string;
80
82
  }) => Promise<boolean>;
83
+ noMore: boolean;
81
84
  }> & Readonly<{
82
85
  "onUpdate:pageSize"?: ((value: number) => any) | undefined;
83
86
  "onUpdate:page"?: ((value: number) => any) | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendesign-plus-test/components",
3
- "version": "0.0.1-rc.230",
3
+ "version": "0.0.1-rc.231",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",