@opendesign-plus-test/components 0.0.1-rc.121 → 0.0.1-rc.123

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 (61) hide show
  1. package/dist/components/header/OHeaderMobile.vue.d.ts +10 -7
  2. package/dist/components/header/index.d.ts +5 -0
  3. package/dist/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +9 -0
  4. package/dist/components/header-language-switcher/index.d.ts +15 -0
  5. package/dist/components/header-source-code/OHeaderSourceCode.vue.d.ts +2 -0
  6. package/dist/components/header-source-code/index.d.ts +3 -0
  7. package/dist/components/header-user/OHeaderUser.vue.d.ts +3 -0
  8. package/dist/components/header-user/index.d.ts +6 -0
  9. package/dist/components/meeting/OMeetingCalendar.vue.d.ts +2 -0
  10. package/dist/components/meeting/OMeetingSigCalendar.vue.d.ts +6 -2
  11. package/dist/components/meeting/index.d.ts +4 -1
  12. package/dist/components.cjs.js +37 -37
  13. package/dist/components.css +1 -1
  14. package/dist/components.es.js +9625 -9571
  15. package/dist/treeshaking/components/common/AppAvatar.css +5 -5
  16. package/dist/treeshaking/components/common/AppAvatar.vue.mjs +1 -1
  17. package/dist/treeshaking/components/common/AppAvatar.vue2.mjs +3 -3
  18. package/dist/treeshaking/components/common/TooltipText.vue.mjs +8 -0
  19. package/dist/treeshaking/components/events/OEventsList.css +5 -0
  20. package/dist/treeshaking/components/header/OHeader.css +15 -15
  21. package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
  22. package/dist/treeshaking/components/header/OHeader.vue2.mjs +17 -1
  23. package/dist/treeshaking/components/header/OHeaderMobile.css +19 -19
  24. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +10 -7
  25. package/dist/treeshaking/components/header/OHeaderMobile.vue.mjs +1 -1
  26. package/dist/treeshaking/components/header/OHeaderMobile.vue2.mjs +3 -2
  27. package/dist/treeshaking/components/header/components/HeaderContent.css +184 -184
  28. package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
  29. package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +9 -5
  30. package/dist/treeshaking/components/header/components/HeaderNav.css +49 -49
  31. package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
  32. package/dist/treeshaking/components/header/components/HeaderNav.vue2.mjs +11 -9
  33. package/dist/treeshaking/components/header/index.d.ts +5 -0
  34. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.css +27 -63
  35. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +9 -0
  36. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.mjs +1 -1
  37. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue2.mjs +8 -4
  38. package/dist/treeshaking/components/header-language-switcher/index.d.ts +15 -0
  39. package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.css +29 -41
  40. package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue.d.ts +2 -0
  41. package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue.mjs +1 -1
  42. package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue2.mjs +3 -3
  43. package/dist/treeshaking/components/header-source-code/index.d.ts +3 -0
  44. package/dist/treeshaking/components/header-user/OHeaderUser.css +55 -38
  45. package/dist/treeshaking/components/header-user/OHeaderUser.vue.d.ts +3 -0
  46. package/dist/treeshaking/components/header-user/OHeaderUser.vue.mjs +1 -1
  47. package/dist/treeshaking/components/header-user/OHeaderUser.vue2.mjs +7 -5
  48. package/dist/treeshaking/components/header-user/OHeaderUser2.css +0 -18
  49. package/dist/treeshaking/components/header-user/index.d.ts +6 -0
  50. package/dist/treeshaking/components/meeting/OMeetingCalendar.css +88 -0
  51. package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.d.ts +2 -0
  52. package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.mjs +60 -30
  53. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.css +6 -0
  54. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.d.ts +6 -2
  55. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +46 -17
  56. package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.css +28 -0
  57. package/dist/treeshaking/components/meeting/components/OMeetingDetail.css +38 -2
  58. package/dist/treeshaking/components/meeting/index.d.ts +4 -1
  59. package/dist/treeshaking/components/search/internal/SearchImageInput.css +48 -45
  60. package/dist/treeshaking/components/search/internal/SearchImageInput.vue.mjs +1 -1
  61. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./HeaderContent.vue2.mjs";
2
2
  import './HeaderContent.css';
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const HeaderContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2b5c5d7c"]]);
4
+ const HeaderContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6983462d"]]);
5
5
  export {
6
6
  HeaderContent as default
7
7
  };
@@ -70,11 +70,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
70
70
  return;
71
71
  }
72
72
  const target = e.target;
73
- console.log(target.clientHeight);
74
- console.log(target.scrollHeight);
75
73
  showTitle.value = target.clientHeight < target.scrollHeight;
76
74
  };
77
75
  const hoveringNavLiName = inject("hoveringNavLiName");
76
+ const navFirstHoverTime = inject("navFirstHoverTime");
77
+ const navStepCount = inject("navStepCount");
78
78
  const onClickNavHref = (item, sub) => {
79
79
  const res = {
80
80
  properties: {
@@ -83,7 +83,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
83
83
  level2: item.label,
84
84
  level3: sub.label,
85
85
  target: sub.label,
86
- url: item.href
86
+ url: item.href,
87
+ ...navStepCount && { steps: navStepCount.value },
88
+ ...(navFirstHoverTime == null ? void 0 : navFirstHoverTime.value) && { duration: Date.now() - navFirstHoverTime.value }
87
89
  }
88
90
  };
89
91
  return res;
@@ -93,10 +95,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
93
95
  properties: {
94
96
  module: "navigation",
95
97
  level1: (hoveringNavLiName == null ? void 0 : hoveringNavLiName.value) ?? "",
96
- level2: locale.value === t("header.quickLink"),
98
+ level2: t("header.quickLink"),
97
99
  level3: item.label,
98
100
  target: item.label,
99
- url: item.href
101
+ url: item.href,
102
+ ...navStepCount && { steps: navStepCount.value },
103
+ ...(navFirstHoverTime == null ? void 0 : navFirstHoverTime.value) && { duration: Date.now() - navFirstHoverTime.value }
100
104
  }
101
105
  };
102
106
  return res;
@@ -1,47 +1,47 @@
1
- .hover-icon-rotate .o-icon[data-v-11427217] {
1
+ .hover-icon-rotate .o-icon[data-v-00cffd0d] {
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-11427217] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-00cffd0d] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .header-nav-wrap[data-v-11427217] {
9
+ .header-nav-wrap[data-v-00cffd0d] {
10
10
  height: 100%;
11
11
  --nav-right: 64px;
12
12
  }
13
13
  @media (min-width: 1201px) and (max-width: 1680px) {
14
- .header-nav-wrap[data-v-11427217] {
14
+ .header-nav-wrap[data-v-00cffd0d] {
15
15
  --nav-right: 48px;
16
16
  }
17
17
  }
18
18
  @media (max-width: 1200px) {
19
- .header-nav-wrap[data-v-11427217] {
19
+ .header-nav-wrap[data-v-00cffd0d] {
20
20
  --nav-right: 32px;
21
21
  }
22
22
  }
23
- .header-nav-wrap .header-nav[data-v-11427217] {
23
+ .header-nav-wrap .header-nav[data-v-00cffd0d] {
24
24
  height: 100%;
25
25
  display: flex;
26
26
  justify-content: space-between;
27
27
  width: calc(100% - var(--nav-right));
28
28
  align-items: center;
29
29
  }
30
- .header-nav-wrap .header-nav-scroll[data-v-11427217] {
30
+ .header-nav-wrap .header-nav-scroll[data-v-00cffd0d] {
31
31
  width: calc(100% - var(--nav-right) - 24px);
32
32
  }
33
- .o-nav[data-v-11427217] {
33
+ .o-nav[data-v-00cffd0d] {
34
34
  height: 100%;
35
35
  position: relative;
36
36
  overflow-y: hidden;
37
37
  overflow-x: auto;
38
38
  z-index: 8;
39
39
  }
40
- .o-nav[data-v-11427217]::-webkit-scrollbar {
40
+ .o-nav[data-v-00cffd0d]::-webkit-scrollbar {
41
41
  display: none;
42
42
  }
43
- .left-icon[data-v-11427217],
44
- .right-icon[data-v-11427217] {
43
+ .left-icon[data-v-00cffd0d],
44
+ .right-icon[data-v-00cffd0d] {
45
45
  display: flex;
46
46
  align-items: center;
47
47
  cursor: pointer;
@@ -50,24 +50,24 @@
50
50
  height: 16px;
51
51
  border-radius: var(--o-radius-xs);
52
52
  }
53
- .left-icon .o-icon[data-v-11427217],
54
- .right-icon .o-icon[data-v-11427217] {
53
+ .left-icon .o-icon[data-v-00cffd0d],
54
+ .right-icon .o-icon[data-v-00cffd0d] {
55
55
  --icon-size: 16px;
56
56
  position: relative;
57
57
  z-index: 11;
58
58
  }
59
59
  @media (hover: hover) {
60
- .left-icon[data-v-11427217]:hover,
61
- .right-icon[data-v-11427217]:hover {
60
+ .left-icon[data-v-00cffd0d]:hover,
61
+ .right-icon[data-v-00cffd0d]:hover {
62
62
  background-color: var(--o-color-control2-light);
63
63
  color: var(--o-color-link2);
64
64
  }
65
65
  }
66
- .left-icon[data-v-11427217]:active,
67
- .right-icon[data-v-11427217]:active {
66
+ .left-icon[data-v-00cffd0d]:active,
67
+ .right-icon[data-v-00cffd0d]:active {
68
68
  color: var(--o-color-link3);
69
69
  }
70
- .left-icon[data-v-11427217]::before {
70
+ .left-icon[data-v-00cffd0d]::before {
71
71
  content: "";
72
72
  position: absolute;
73
73
  width: 50px;
@@ -79,16 +79,16 @@
79
79
  cursor: default;
80
80
  }
81
81
  @media (min-width: 1201px) and (max-width: 1680px) {
82
- .left-icon[data-v-11427217]::before {
82
+ .left-icon[data-v-00cffd0d]::before {
83
83
  top: -24px;
84
84
  }
85
85
  }
86
86
  @media (max-width: 1200px) {
87
- .left-icon[data-v-11427217]::before {
87
+ .left-icon[data-v-00cffd0d]::before {
88
88
  top: -20px;
89
89
  }
90
90
  }
91
- .right-icon[data-v-11427217]::before {
91
+ .right-icon[data-v-00cffd0d]::before {
92
92
  content: "";
93
93
  position: absolute;
94
94
  width: 50px;
@@ -100,25 +100,25 @@
100
100
  cursor: default;
101
101
  }
102
102
  @media (min-width: 1201px) and (max-width: 1680px) {
103
- .right-icon[data-v-11427217]::before {
103
+ .right-icon[data-v-00cffd0d]::before {
104
104
  top: -24px;
105
105
  }
106
106
  }
107
107
  @media (max-width: 1200px) {
108
- .right-icon[data-v-11427217]::before {
108
+ .right-icon[data-v-00cffd0d]::before {
109
109
  top: -20px;
110
110
  }
111
111
  }
112
- [data-o-theme*=dark] .left-icon[data-v-11427217]::before {
112
+ [data-o-theme*=dark] .left-icon[data-v-00cffd0d]::before {
113
113
  background-image: linear-gradient(90deg, rgba(var(--o-grey-4), 1) 0%, rgba(var(--o-grey-4), 0) 100%);
114
114
  }
115
- [data-o-theme*=dark] .right-icon[data-v-11427217]::before {
115
+ [data-o-theme*=dark] .right-icon[data-v-00cffd0d]::before {
116
116
  background-image: linear-gradient(90deg, rgba(var(--o-grey-4), 0) 0%, rgba(var(--o-grey-4), 1) 100%);
117
117
  }
118
- .o-nav-scroll[data-v-11427217]::after {
118
+ .o-nav-scroll[data-v-00cffd0d]::after {
119
119
  display: none;
120
120
  }
121
- .o-nav-list[data-v-11427217] {
121
+ .o-nav-list[data-v-00cffd0d] {
122
122
  display: flex;
123
123
  height: 100%;
124
124
  width: fit-content;
@@ -127,7 +127,7 @@
127
127
  padding: 0;
128
128
  margin: 0;
129
129
  }
130
- .o-nav-list li[data-v-11427217] {
130
+ .o-nav-list li[data-v-00cffd0d] {
131
131
  position: relative;
132
132
  display: flex;
133
133
  align-items: center;
@@ -135,10 +135,10 @@
135
135
  color: var(--o-color-info1);
136
136
  transition: all var(--o-duration-s) var(--o-easing-standard);
137
137
  }
138
- .o-nav-list li .nav-text[data-v-11427217] {
138
+ .o-nav-list li .nav-text[data-v-00cffd0d] {
139
139
  position: relative;
140
140
  }
141
- .o-nav-list li .nav-text[data-v-11427217]::after {
141
+ .o-nav-list li .nav-text[data-v-00cffd0d]::after {
142
142
  content: "";
143
143
  position: absolute;
144
144
  left: 0;
@@ -151,32 +151,32 @@
151
151
  transition: all var(--o-duration-s) var(--o-easing-standard);
152
152
  }
153
153
  @media (max-width: 1440px) {
154
- .o-nav-list li .nav-text[data-v-11427217]::after {
154
+ .o-nav-list li .nav-text[data-v-00cffd0d]::after {
155
155
  bottom: -21px;
156
156
  }
157
157
  }
158
158
  @media (max-width: 1200px) {
159
- .o-nav-list li .nav-text[data-v-11427217]::after {
159
+ .o-nav-list li .nav-text[data-v-00cffd0d]::after {
160
160
  bottom: -17px;
161
161
  }
162
162
  }
163
- .o-nav-list li.is-selected .nav-text[data-v-11427217] {
163
+ .o-nav-list li.is-selected .nav-text[data-v-00cffd0d] {
164
164
  color: var(--o-color-primary2);
165
165
  }
166
- .o-nav-list li.is-active .nav-text[data-v-11427217] {
166
+ .o-nav-list li.is-active .nav-text[data-v-00cffd0d] {
167
167
  color: var(--o-color-primary1);
168
168
  z-index: 99;
169
169
  font-weight: 600;
170
170
  }
171
- .o-nav-list li.is-active .nav-text[data-v-11427217]::after {
171
+ .o-nav-list li.is-active .nav-text[data-v-00cffd0d]::after {
172
172
  content: "";
173
173
  opacity: 1;
174
174
  }
175
- .o-nav-list li.is-disabled[data-v-11427217] {
175
+ .o-nav-list li.is-disabled[data-v-00cffd0d] {
176
176
  color: var(--o-color-info4);
177
177
  pointer-events: none;
178
178
  }
179
- .o-nav-list .nav-item[data-v-11427217] {
179
+ .o-nav-list .nav-item[data-v-00cffd0d] {
180
180
  cursor: default;
181
181
  display: flex;
182
182
  align-items: center;
@@ -185,60 +185,60 @@
185
185
  line-height: 24px;
186
186
  }
187
187
  @media (min-width: 1201px) and (max-width: 1680px) {
188
- .o-nav-list .nav-item[data-v-11427217] {
188
+ .o-nav-list .nav-item[data-v-00cffd0d] {
189
189
  font-size: 14px;
190
190
  line-height: 22px;
191
191
  }
192
192
  }
193
193
  @media (min-width: 841px) and (max-width: 1200px) {
194
- .o-nav-list .nav-item[data-v-11427217] {
194
+ .o-nav-list .nav-item[data-v-00cffd0d] {
195
195
  font-size: 14px;
196
196
  line-height: 22px;
197
197
  }
198
198
  }
199
199
  @media (min-width: 601px) and (max-width: 840px) {
200
- .o-nav-list .nav-item[data-v-11427217] {
200
+ .o-nav-list .nav-item[data-v-00cffd0d] {
201
201
  font-size: 14px;
202
202
  line-height: 22px;
203
203
  }
204
204
  }
205
205
  @media (max-width: 600px) {
206
- .o-nav-list .nav-item[data-v-11427217] {
206
+ .o-nav-list .nav-item[data-v-00cffd0d] {
207
207
  font-size: 12px;
208
208
  line-height: 18px;
209
209
  }
210
210
  }
211
211
  @media (max-width: 1440px) {
212
- .o-nav-list .nav-item[data-v-11427217] {
212
+ .o-nav-list .nav-item[data-v-00cffd0d] {
213
213
  padding: 18px 12px;
214
214
  }
215
215
  }
216
216
  @media (min-width: 841px) and (max-width: 1200px) {
217
- .o-nav-list .nav-item[data-v-11427217] {
217
+ .o-nav-list .nav-item[data-v-00cffd0d] {
218
218
  padding: 14px 8px;
219
219
  }
220
220
  }
221
221
  @media (min-width: 841px) and (max-width: 1000px) {
222
- .o-nav-list .nav-item.en[data-v-11427217] {
222
+ .o-nav-list .nav-item.en[data-v-00cffd0d] {
223
223
  padding: var(--o-gap-2);
224
224
  }
225
225
  }
226
- .o-nav-list .item-other[data-v-11427217] {
226
+ .o-nav-list .item-other[data-v-00cffd0d] {
227
227
  cursor: pointer;
228
228
  }
229
- .o-nav-list .item-other .content-tag[data-v-11427217] {
229
+ .o-nav-list .item-other .content-tag[data-v-00cffd0d] {
230
230
  margin-left: var(--o-gap-2);
231
231
  --layout-pkg-radius: var(--o-radius-xs);
232
232
  }
233
- .o-nav-list .item-other:active .nav-text[data-v-11427217] {
233
+ .o-nav-list .item-other:active .nav-text[data-v-00cffd0d] {
234
234
  color: var(--o-color-primary1);
235
235
  z-index: 99;
236
236
  font-weight: 600;
237
237
  }
238
- .o-nav-list .item-other:active .nav-text[data-v-11427217]::after {
238
+ .o-nav-list .item-other:active .nav-text[data-v-00cffd0d]::after {
239
239
  content: "";
240
240
  opacity: 1;
241
241
  }
242
- .mindspore .item-other .content-tag[data-v-11427217] {
242
+ .mindspore .item-other .content-tag[data-v-00cffd0d] {
243
243
  --layout-pkg-radius: 100vh;
244
244
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./HeaderNav.vue2.mjs";
2
2
  import './HeaderNav.css';
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const HeaderNav = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-11427217"]]);
4
+ const HeaderNav = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-00cffd0d"]]);
5
5
  export {
6
6
  HeaderNav as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, onMounted, nextTick, onUnmounted, resolveDirective, openBlock, createElementBlock, createElementVNode, normalizeClass, createVNode, unref, withCtx, createCommentVNode, Fragment, renderList, withDirectives, toDisplayString, createBlock, createTextVNode } from "vue";
1
+ import { defineComponent, ref, inject, onMounted, nextTick, onUnmounted, resolveDirective, openBlock, createElementBlock, createElementVNode, normalizeClass, createVNode, unref, withCtx, createCommentVNode, Fragment, renderList, withDirectives, toDisplayString, createBlock, createTextVNode } from "vue";
2
2
  import { OIcon, OTag } from "@opensig/opendesign";
3
3
  import IconCaretLeft from "../../../_virtual/icon-caret-left.mjs";
4
4
  import IconCaretRight from "../../../_virtual/icon-caret-right.mjs";
@@ -82,13 +82,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
82
82
  }, 200);
83
83
  }
84
84
  };
85
- let hoverTime = 0;
86
- let steps = 0;
87
- const onHoverHeader = () => steps = 0;
85
+ const navFirstHoverTime = inject("navFirstHoverTime");
86
+ const navStepCount = inject("navStepCount");
87
+ const increNavStepCount = inject("increNavStepCount");
88
+ const updateNavFirstHoverTime = inject("updateNavFirstHoverTime");
89
+ const clearNavHandleTrace = inject("clearNavHandleTrace");
90
+ const onHoverHeader = () => clearNavHandleTrace == null ? void 0 : clearNavHandleTrace();
88
91
  const onHoverNav = (name) => {
89
- if (steps > 0) return void steps++;
90
- steps++;
91
- hoverTime = Date.now();
92
+ updateNavFirstHoverTime == null ? void 0 : updateNavFirstHoverTime();
93
+ increNavStepCount == null ? void 0 : increNavStepCount();
92
94
  return {
93
95
  event: "hover",
94
96
  properties: {
@@ -104,9 +106,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
104
106
  module: "navigation",
105
107
  level1: item.label,
106
108
  target: item.label,
107
- steps,
109
+ ...navStepCount && { steps: navStepCount.value },
108
110
  url: item.href,
109
- duration: Date.now() - hoverTime
111
+ ...(navFirstHoverTime == null ? void 0 : navFirstHoverTime.value) && { duration: Date.now() - navFirstHoverTime.value }
110
112
  }
111
113
  };
112
114
  return res;
@@ -51,10 +51,12 @@ declare const OHeader: {
51
51
  };
52
52
  declare const OHeaderMobile: {
53
53
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').NavT> & Readonly<{
54
+ "onHandle-click"?: ((val: import('./types').NavItemT) => any) | undefined;
54
55
  "onGo-home"?: (() => any) | undefined;
55
56
  "onLang-click"?: ((val: import('./types').LangItemT) => any) | undefined;
56
57
  "onGo-back"?: (() => any) | undefined;
57
58
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
59
+ "handle-click": (val: import('./types').NavItemT) => any;
58
60
  "go-home": () => any;
59
61
  "lang-click": (val: import('./types').LangItemT) => any;
60
62
  "go-back": () => any;
@@ -136,6 +138,7 @@ declare const OHeaderMobile: {
136
138
  M: {};
137
139
  Defaults: {};
138
140
  }, Readonly<import('./types').NavT> & Readonly<{
141
+ "onHandle-click"?: ((val: import('./types').NavItemT) => any) | undefined;
139
142
  "onGo-home"?: (() => any) | undefined;
140
143
  "onLang-click"?: ((val: import('./types').LangItemT) => any) | undefined;
141
144
  "onGo-back"?: (() => any) | undefined;
@@ -144,10 +147,12 @@ declare const OHeaderMobile: {
144
147
  __isTeleport?: never;
145
148
  __isSuspense?: never;
146
149
  } & import('vue').ComponentOptionsBase<Readonly<import('./types').NavT> & Readonly<{
150
+ "onHandle-click"?: ((val: import('./types').NavItemT) => any) | undefined;
147
151
  "onGo-home"?: (() => any) | undefined;
148
152
  "onLang-click"?: ((val: import('./types').LangItemT) => any) | undefined;
149
153
  "onGo-back"?: (() => any) | undefined;
150
154
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
155
+ "handle-click": (val: import('./types').NavItemT) => any;
151
156
  "go-home": () => any;
152
157
  "lang-click": (val: import('./types').LangItemT) => any;
153
158
  "go-back": () => any;
@@ -1,43 +1,43 @@
1
- .hover-icon-rotate .o-icon[data-v-5909852f] {
1
+ .hover-icon-rotate .o-icon[data-v-2620f484] {
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-5909852f] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-2620f484] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .hide-lang[data-v-5909852f] {
9
+ .hide-lang[data-v-2620f484] {
10
10
  display: none;
11
11
  }
12
- .header-lang[data-v-5909852f] {
12
+ .header-lang[data-v-2620f484] {
13
13
  height: 100%;
14
14
  display: flex;
15
15
  align-items: center;
16
16
  }
17
- .header-lang .info-wrap[data-v-5909852f] {
17
+ .header-lang .info-wrap[data-v-2620f484] {
18
18
  height: 100%;
19
19
  display: flex;
20
20
  align-items: center;
21
21
  cursor: pointer;
22
22
  }
23
- .header-lang .info-wrap .icon[data-v-5909852f] {
23
+ .header-lang .info-wrap .icon[data-v-2620f484] {
24
24
  font-size: var(--o-icon_size_control-m);
25
25
  position: relative;
26
26
  color: var(--o-color-info2);
27
27
  }
28
28
  @media (hover: hover) {
29
- .header-lang .info-wrap .icon[data-v-5909852f]:hover {
29
+ .header-lang .info-wrap .icon[data-v-2620f484]:hover {
30
30
  color: var(--o-color-primary2);
31
31
  background-color: var(--o-color-control2-light);
32
32
  border-radius: var(--o-radius-xs);
33
33
  }
34
34
  }
35
35
  @media (max-width: 1200px) {
36
- .header-lang .info-wrap .icon[data-v-5909852f] {
36
+ .header-lang .info-wrap .icon[data-v-2620f484] {
37
37
  font-size: var(--o-icon_size_control-s);
38
38
  }
39
39
  }
40
- .header-lang .info-wrap .locale-tag[data-v-5909852f] {
40
+ .header-lang .info-wrap .locale-tag[data-v-2620f484] {
41
41
  position: absolute;
42
42
  font-size: 10px;
43
43
  height: 12px;
@@ -49,39 +49,30 @@
49
49
  left: 12px;
50
50
  top: 11px;
51
51
  }
52
- .header-lang .info-wrap .locale-tag.is-en[data-v-5909852f] {
52
+ .header-lang .info-wrap .locale-tag.is-en[data-v-2620f484] {
53
53
  width: 16px;
54
54
  }
55
- .header-lang.is-disabled .info-wrap[data-v-5909852f] {
55
+ .header-lang.is-disabled .info-wrap[data-v-2620f484] {
56
56
  color: var(--o-color-info4);
57
57
  cursor: not-allowed;
58
58
  }
59
- .header-lang.is-disabled .info-wrap[data-v-5909852f]:hover {
59
+ .header-lang.is-disabled .info-wrap[data-v-2620f484]:hover {
60
60
  color: var(--o-color-info4);
61
61
  }
62
- .header-lang.is-disabled .info-wrap .o-icon[data-v-5909852f] {
62
+ .header-lang.is-disabled .info-wrap .o-icon[data-v-2620f484] {
63
63
  color: inherit;
64
64
  }
65
65
  @media (hover: hover) {
66
- .header-lang.is-disabled .info-wrap .o-icon[data-v-5909852f]:hover {
66
+ .header-lang.is-disabled .info-wrap .o-icon[data-v-2620f484]:hover {
67
67
  background-color: transparent;
68
68
  }
69
69
  }
70
- .header-lang .list[data-v-5909852f] {
71
- background: var(--o-color-control5-light);
72
- cursor: pointer;
73
- box-shadow: var(--o-shadow-1);
74
- border-radius: var(--o-radius_control-xs);
75
- padding: var(--o-gap-1);
76
- width: 144px;
77
- }
78
- .o-dropdown[data-v-5909852f] {
70
+ .o-dropdown[data-v-2620f484] {
79
71
  height: 100%;
80
72
  }
81
- .o-dropdown-item[data-v-5909852f] {
73
+ .o-dropdown-item[data-v-2620f484] {
82
74
  background: var(--o-color-control5-light);
83
75
  cursor: pointer;
84
- border-radius: var(--o-radius_control-xs);
85
76
  --dropdown-item-color: var(--o-color-info2);
86
77
  padding: var(--o-gap-1) var(--o-gap-3);
87
78
  height: 32px;
@@ -89,72 +80,45 @@
89
80
  --dropdown-item-text-height: 22px;
90
81
  }
91
82
  @media (hover: hover) {
92
- .o-dropdown-item[data-v-5909852f]:hover {
83
+ .o-dropdown-item[data-v-2620f484]:hover {
93
84
  background: var(--o-color-control2-light);
94
85
  }
95
86
  }
96
- .o-dropdown-item[data-v-5909852f]:active {
87
+ .o-dropdown-item[data-v-2620f484]:active {
97
88
  color: var(--o-color-primary1);
98
89
  background: var(--o-color-control3-light);
99
90
  font-weight: 600;
100
91
  }
101
- .o-dropdown-item.is-active[data-v-5909852f] {
92
+ .o-dropdown-item.is-active[data-v-2620f484] {
102
93
  color: var(--o-color-primary1);
103
94
  background: var(--o-color-control3-light);
104
95
  }
105
- .dropdown[data-v-5909852f] {
106
- --dropdown-list-radius: var(--o-radius-xs);
107
- }
108
- .mobile-change-language[data-v-5909852f] {
96
+ .mobile-change-language[data-v-2620f484] {
109
97
  display: flex;
110
98
  align-items: center;
111
99
  }
112
- .mobile-change-language .o-divider[data-v-5909852f] {
100
+ .mobile-change-language .o-divider[data-v-2620f484] {
113
101
  margin: 0 var(--o-gap-2);
114
102
  height: 8px;
115
103
  background-color: var(--o-color-control4);
116
104
  }
117
- .mobile-change-language span[data-v-5909852f] {
105
+ .mobile-change-language span[data-v-2620f484] {
118
106
  color: var(--o-color-info1);
119
107
  text-align: center;
120
108
  cursor: pointer;
121
- font-size: 16px;
122
- line-height: 24px;
123
- }
124
- @media (min-width: 1201px) and (max-width: 1680px) {
125
- .mobile-change-language span[data-v-5909852f] {
126
- font-size: 14px;
127
- line-height: 22px;
128
- }
129
- }
130
- @media (min-width: 841px) and (max-width: 1200px) {
131
- .mobile-change-language span[data-v-5909852f] {
132
- font-size: 14px;
133
- line-height: 22px;
134
- }
135
- }
136
- @media (min-width: 601px) and (max-width: 840px) {
137
- .mobile-change-language span[data-v-5909852f] {
138
- font-size: 14px;
139
- line-height: 22px;
140
- }
141
- }
142
- @media (max-width: 600px) {
143
- .mobile-change-language span[data-v-5909852f] {
144
- font-size: 12px;
145
- line-height: 18px;
146
- }
109
+ font-size: 14px;
110
+ line-height: 22px;
147
111
  }
148
- .mobile-change-language span.active[data-v-5909852f] {
112
+ .mobile-change-language span.active[data-v-2620f484] {
149
113
  color: var(--o-color-primary1);
150
114
  font-weight: 500;
151
115
  }
152
- .mobile-change-language.is-disabled span[data-v-5909852f] {
116
+ .mobile-change-language.is-disabled span[data-v-2620f484] {
153
117
  color: var(--o-color-info4);
154
118
  cursor: not-allowed;
155
119
  }
156
120
  @media (hover: hover) {
157
- .mobile-change-language.is-disabled span[data-v-5909852f]:hover {
121
+ .mobile-change-language.is-disabled span[data-v-2620f484]:hover {
158
122
  color: var(--o-color-info4);
159
123
  }
160
124
  }
@@ -24,6 +24,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
24
24
  type: BooleanConstructor;
25
25
  default: boolean;
26
26
  };
27
+ itemRadius: {
28
+ type: NumberConstructor;
29
+ default: number;
30
+ };
27
31
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
32
  change: (...args: any[]) => void;
29
33
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -47,6 +51,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
47
51
  type: BooleanConstructor;
48
52
  default: boolean;
49
53
  };
54
+ itemRadius: {
55
+ type: NumberConstructor;
56
+ default: number;
57
+ };
50
58
  }>> & Readonly<{
51
59
  onChange?: ((...args: any[]) => any) | undefined;
52
60
  }>, {
@@ -54,5 +62,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
54
62
  disabled: boolean;
55
63
  auto: boolean;
56
64
  options: LanguageOptionT[];
65
+ itemRadius: number;
57
66
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
58
67
  export default _default;
@@ -2,7 +2,7 @@ import _sfc_main from "./OHeaderLanguageSwitcher.vue2.mjs";
2
2
  import './OHeaderLanguageSwitcher.css';
3
3
  import './OHeaderLanguageSwitcher2.css';
4
4
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
5
- const _OHeaderLanguageSwitcher = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5909852f"]]);
5
+ const _OHeaderLanguageSwitcher = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2620f484"]]);
6
6
  export {
7
7
  _OHeaderLanguageSwitcher as default
8
8
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, createVNode, unref, withCtx, createElementVNode, toDisplayString, Fragment, renderList, createBlock, createTextVNode, createCommentVNode, withModifiers } from "vue";
1
+ import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, createVNode, unref, withCtx, createElementVNode, toDisplayString, Fragment, renderList, createBlock, normalizeStyle, createTextVNode, createCommentVNode, withModifiers } from "vue";
2
2
  import { useLocale, useScreen } from "@opendesign-plus/composables";
3
3
  import { ODropdown, OIcon, ODropdownItem, ODivider } from "@opensig/opendesign";
4
4
  import IconLocale from "../../_virtual/icon-locale.mjs";
@@ -27,6 +27,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
27
  disabled: {
28
28
  type: Boolean,
29
29
  default: false
30
+ },
31
+ itemRadius: {
32
+ type: Number,
33
+ default: 4
30
34
  }
31
35
  },
32
36
  emits: ["change"],
@@ -65,7 +69,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
65
69
  optionPosition: "bottom",
66
70
  "option-width-mode": "auto",
67
71
  optionWrapClass: {
68
- dropdown: true,
69
72
  "is-disabled": __props.disabled
70
73
  }
71
74
  }, {
@@ -74,13 +77,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
74
77
  return openBlock(), createBlock(unref(ODropdownItem), {
75
78
  onClick: ($event) => changeLanguage(item),
76
79
  key: item.id,
77
- class: normalizeClass(["list", { "is-active": lang.value === item.id }])
80
+ class: normalizeClass({ "is-active": lang.value === item.id }),
81
+ style: normalizeStyle({ "--dropdown-item-radius": `${__props.itemRadius}px` })
78
82
  }, {
79
83
  default: withCtx(() => [
80
84
  createTextVNode(toDisplayString(getLang(item.id)), 1)
81
85
  ]),
82
86
  _: 2
83
- }, 1032, ["onClick", "class"]);
87
+ }, 1032, ["onClick", "class", "style"]);
84
88
  }), 128))
85
89
  ]),
86
90
  default: withCtx(() => [