@opendesign-plus/components 0.0.1-rc.40 → 0.0.1-rc.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/header/OHeaderMobile.vue.d.ts +4 -0
- package/dist/components/header/index.d.ts +2 -0
- package/dist/components/header/types.d.ts +7 -4
- package/dist/components.cjs.js +35 -35
- package/dist/components.css +1 -1
- package/dist/components.es.js +6153 -6121
- package/dist/treeshaking/components/header/OHeader.css +15 -15
- package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeader.vue2.mjs +2 -1
- package/dist/treeshaking/components/header/OHeaderMobile.css +19 -19
- package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +4 -0
- package/dist/treeshaking/components/header/OHeaderMobile.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeaderMobile.vue2.mjs +3 -1
- package/dist/treeshaking/components/header/components/HeaderContent.css +204 -169
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +22 -15
- package/dist/treeshaking/components/header/components/HeaderFlatten.css +49 -51
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue2.mjs +21 -20
- package/dist/treeshaking/components/header/components/HeaderNav.css +54 -39
- package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNav.vue2.mjs +11 -8
- package/dist/treeshaking/components/header/components/HeaderNavMobile.css +110 -73
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue2.mjs +66 -56
- package/dist/treeshaking/components/header/index.d.ts +2 -0
- package/dist/treeshaking/components/header/types.d.ts +7 -4
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.css +32 -33
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/config.mjs +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref,
|
|
1
|
+
import { defineComponent, ref, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, toDisplayString, createCommentVNode, renderSlot, createBlock, unref, withCtx, resolveDynamicComponent, createTextVNode } from "vue";
|
|
2
2
|
import { OIcon, OTag } from "@opensig/opendesign";
|
|
3
3
|
import { NavType } from "../types.mjs";
|
|
4
4
|
const _hoisted_1 = { class: "o-nav" };
|
|
@@ -10,41 +10,39 @@ const _hoisted_5 = {
|
|
|
10
10
|
class: "other-tool"
|
|
11
11
|
};
|
|
12
12
|
const _hoisted_6 = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "nav-aside"
|
|
15
|
-
};
|
|
16
|
-
const _hoisted_7 = {
|
|
17
13
|
key: 0,
|
|
18
14
|
class: "nav-aside-wrapper"
|
|
19
15
|
};
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
const
|
|
16
|
+
const _hoisted_7 = ["value"];
|
|
17
|
+
const _hoisted_8 = { class: "content-label" };
|
|
18
|
+
const _hoisted_9 = { class: "container-mobile" };
|
|
19
|
+
const _hoisted_10 = ["onClick"];
|
|
20
|
+
const _hoisted_11 = { class: "item-label" };
|
|
21
|
+
const _hoisted_12 = { class: "desc-container" };
|
|
22
|
+
const _hoisted_13 = { class: "item-desc" };
|
|
23
|
+
const _hoisted_14 = ["onClick"];
|
|
24
|
+
const _hoisted_15 = { class: "item-label" };
|
|
25
|
+
const _hoisted_16 = {
|
|
30
26
|
key: 1,
|
|
31
27
|
class: "nav-aside-wrapper"
|
|
32
28
|
};
|
|
33
|
-
const
|
|
29
|
+
const _hoisted_17 = ["onClick"];
|
|
34
30
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
35
31
|
__name: "HeaderNavMobile",
|
|
36
32
|
props: {
|
|
37
33
|
menuShow: { type: Boolean, default: false },
|
|
38
34
|
navData: { default: () => [] },
|
|
39
35
|
codeData: {},
|
|
40
|
-
langData: {}
|
|
36
|
+
langData: {},
|
|
37
|
+
activeIndex: {},
|
|
38
|
+
community: {}
|
|
41
39
|
},
|
|
42
40
|
emits: ["on-click", "lang-click", "handle-click"],
|
|
43
41
|
setup(__props, { emit: __emit }) {
|
|
44
42
|
const emit = __emit;
|
|
45
43
|
const props = __props;
|
|
46
44
|
const navActive = ref("");
|
|
47
|
-
const navInfo = ref(
|
|
45
|
+
const navInfo = ref();
|
|
48
46
|
const handleNavClick = (item, val) => {
|
|
49
47
|
var _a;
|
|
50
48
|
if (val === NavType.NAV) {
|
|
@@ -56,10 +54,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
56
54
|
}
|
|
57
55
|
} else if (val === NavType.CODE) {
|
|
58
56
|
navActive.value = val;
|
|
59
|
-
navInfo.value = props.codeData
|
|
57
|
+
navInfo.value = props.codeData;
|
|
60
58
|
} else if (val === NavType.LANG) {
|
|
61
59
|
navActive.value = val;
|
|
62
|
-
navInfo.value = props.langData
|
|
60
|
+
navInfo.value = props.langData;
|
|
63
61
|
}
|
|
64
62
|
};
|
|
65
63
|
const onClick = (url, target) => {
|
|
@@ -73,27 +71,34 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
73
71
|
emit("lang-click", val);
|
|
74
72
|
}
|
|
75
73
|
};
|
|
76
|
-
onMounted(() => {
|
|
77
|
-
navActive.value = props.navData[0].id;
|
|
78
|
-
navInfo.value = props.navData[0];
|
|
79
|
-
});
|
|
80
74
|
watch(
|
|
81
|
-
() => props.
|
|
75
|
+
() => props.activeIndex,
|
|
76
|
+
(newVal) => {
|
|
77
|
+
var _a;
|
|
78
|
+
const activeItem = props.navData.find((item, index) => item.id === newVal || index === newVal);
|
|
79
|
+
navActive.value = activeItem ? activeItem.id : (_a = props.navData[0]) == null ? void 0 : _a.id;
|
|
80
|
+
navInfo.value = activeItem || props.navData[0];
|
|
81
|
+
},
|
|
82
|
+
{ immediate: true }
|
|
83
|
+
);
|
|
84
|
+
watch(
|
|
85
|
+
() => [props.navData, props.codeData, props.langData],
|
|
82
86
|
() => {
|
|
87
|
+
var _a;
|
|
83
88
|
if (navActive.value === NavType.CODE) {
|
|
84
|
-
navInfo.value = props.codeData
|
|
89
|
+
navInfo.value = props.codeData;
|
|
85
90
|
} else if (navActive.value === NavType.LANG) {
|
|
86
|
-
navInfo.value = props.langData
|
|
91
|
+
navInfo.value = props.langData;
|
|
87
92
|
} else {
|
|
88
|
-
|
|
93
|
+
const activeItem = props.navData.find((item, index) => item.id === props.activeIndex || index === props.activeIndex);
|
|
94
|
+
navActive.value = activeItem ? activeItem.id : (_a = props.navData[0]) == null ? void 0 : _a.id;
|
|
95
|
+
navInfo.value = activeItem || props.navData[0];
|
|
89
96
|
}
|
|
90
97
|
},
|
|
91
|
-
{
|
|
92
|
-
deep: true
|
|
93
|
-
}
|
|
98
|
+
{ deep: true }
|
|
94
99
|
);
|
|
95
100
|
return (_ctx, _cache) => {
|
|
96
|
-
var _a, _b;
|
|
101
|
+
var _a, _b, _c, _d, _e;
|
|
97
102
|
return openBlock(), createElementBlock("div", {
|
|
98
103
|
class: normalizeClass(["header-nav", { active: __props.menuShow }])
|
|
99
104
|
}, [
|
|
@@ -103,7 +108,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
103
108
|
return openBlock(), createElementBlock("li", {
|
|
104
109
|
key: item.id,
|
|
105
110
|
class: normalizeClass({
|
|
106
|
-
active: navActive.value === item.id
|
|
111
|
+
active: navActive.value === item.id,
|
|
112
|
+
"is-disabled": item == null ? void 0 : item.disabled
|
|
107
113
|
})
|
|
108
114
|
}, [
|
|
109
115
|
createElementVNode("span", {
|
|
@@ -114,14 +120,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
114
120
|
}), 128))
|
|
115
121
|
]),
|
|
116
122
|
createElementVNode("div", _hoisted_4, [
|
|
117
|
-
__props.codeData ? (openBlock(), createElementBlock("div", {
|
|
123
|
+
((_a = __props.codeData) == null ? void 0 : _a.label) ? (openBlock(), createElementBlock("div", {
|
|
118
124
|
key: 0,
|
|
119
125
|
class: normalizeClass(["header-tool-item", {
|
|
120
126
|
active: navActive.value === "code"
|
|
121
127
|
}]),
|
|
122
128
|
onClick: _cache[0] || (_cache[0] = ($event) => handleNavClick(null, "code"))
|
|
123
129
|
}, toDisplayString(__props.codeData.label), 3)) : createCommentVNode("", true),
|
|
124
|
-
__props.langData ? (openBlock(), createElementBlock("div", {
|
|
130
|
+
((_b = __props.langData) == null ? void 0 : _b.label) ? (openBlock(), createElementBlock("div", {
|
|
125
131
|
key: 1,
|
|
126
132
|
class: normalizeClass(["header-tool-item", {
|
|
127
133
|
active: navActive.value === "lang"
|
|
@@ -133,18 +139,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
133
139
|
])) : createCommentVNode("", true)
|
|
134
140
|
])
|
|
135
141
|
]),
|
|
136
|
-
((
|
|
137
|
-
|
|
142
|
+
((_d = (_c = navInfo.value) == null ? void 0 : _c.children) == null ? void 0 : _d.length) ? (openBlock(), createElementBlock("div", {
|
|
143
|
+
key: 0,
|
|
144
|
+
class: normalizeClass(["nav-aside", [(_e = props.community) == null ? void 0 : _e.toLowerCase()]])
|
|
145
|
+
}, [
|
|
146
|
+
navActive.value !== "code" && navActive.value !== "lang" ? (openBlock(), createElementBlock("ul", _hoisted_6, [
|
|
138
147
|
(openBlock(true), createElementBlock(Fragment, null, renderList(navInfo.value.children, (item) => {
|
|
148
|
+
var _a2;
|
|
139
149
|
return openBlock(), createElementBlock("li", {
|
|
140
150
|
value: item.label,
|
|
141
151
|
key: item.label,
|
|
142
152
|
class: "nav-aside-content"
|
|
143
153
|
}, [
|
|
144
154
|
(item == null ? void 0 : item.children) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
145
|
-
createElementVNode("p",
|
|
146
|
-
createElementVNode("div",
|
|
155
|
+
createElementVNode("p", _hoisted_8, toDisplayString(item.label), 1),
|
|
156
|
+
createElementVNode("div", _hoisted_9, [
|
|
147
157
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item == null ? void 0 : item.children, (subItem) => {
|
|
158
|
+
var _a3;
|
|
148
159
|
return openBlock(), createElementBlock("div", {
|
|
149
160
|
key: subItem.label,
|
|
150
161
|
class: normalizeClass(["content-container-mobile", { "content-item-disabled": subItem == null ? void 0 : subItem.disabled }])
|
|
@@ -154,7 +165,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
154
165
|
rel: "noopener noreferrer",
|
|
155
166
|
class: "content-subtitle"
|
|
156
167
|
}, [
|
|
157
|
-
createElementVNode("span",
|
|
168
|
+
createElementVNode("span", _hoisted_11, toDisplayString(subItem.label), 1),
|
|
158
169
|
subItem.icon ? (openBlock(), createBlock(unref(OIcon), { key: 0 }, {
|
|
159
170
|
default: withCtx(() => [
|
|
160
171
|
(openBlock(), createBlock(resolveDynamicComponent(subItem.icon), { class: "icon" }))
|
|
@@ -163,19 +174,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
163
174
|
}, 1024)) : createCommentVNode("", true),
|
|
164
175
|
subItem.tag ? (openBlock(), createBlock(unref(OTag), {
|
|
165
176
|
key: 1,
|
|
166
|
-
round: "pill",
|
|
167
177
|
color: "danger",
|
|
168
178
|
size: "small",
|
|
169
|
-
class: "content-tag"
|
|
179
|
+
class: normalizeClass(["content-tag", `tag-${(_a3 = subItem == null ? void 0 : subItem.tag) == null ? void 0 : _a3.toLowerCase()}`])
|
|
170
180
|
}, {
|
|
171
181
|
default: withCtx(() => [
|
|
172
182
|
createTextVNode(toDisplayString(subItem.tag), 1)
|
|
173
183
|
]),
|
|
174
184
|
_: 2
|
|
175
|
-
},
|
|
176
|
-
], 8,
|
|
177
|
-
createElementVNode("div",
|
|
178
|
-
createElementVNode("p",
|
|
185
|
+
}, 1032, ["class"])) : createCommentVNode("", true)
|
|
186
|
+
], 8, _hoisted_10),
|
|
187
|
+
createElementVNode("div", _hoisted_12, [
|
|
188
|
+
createElementVNode("p", _hoisted_13, toDisplayString(subItem.description), 1)
|
|
179
189
|
])
|
|
180
190
|
], 2);
|
|
181
191
|
}), 128))
|
|
@@ -186,7 +196,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
186
196
|
rel: "noopener noreferrer",
|
|
187
197
|
class: "content-subtitle item-not-children"
|
|
188
198
|
}, [
|
|
189
|
-
createElementVNode("span",
|
|
199
|
+
createElementVNode("span", _hoisted_15, toDisplayString(item.label), 1),
|
|
190
200
|
item.icon ? (openBlock(), createBlock(unref(OIcon), { key: 0 }, {
|
|
191
201
|
default: withCtx(() => [
|
|
192
202
|
(openBlock(), createBlock(resolveDynamicComponent(item.icon), { class: "icon" }))
|
|
@@ -195,20 +205,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
195
205
|
}, 1024)) : createCommentVNode("", true),
|
|
196
206
|
item.tag ? (openBlock(), createBlock(unref(OTag), {
|
|
197
207
|
key: 1,
|
|
198
|
-
round: "pill",
|
|
199
208
|
color: "danger",
|
|
200
|
-
size: "small"
|
|
209
|
+
size: "small",
|
|
210
|
+
class: normalizeClass(`tag-${(_a2 = item == null ? void 0 : item.tag) == null ? void 0 : _a2.toLowerCase()}`)
|
|
201
211
|
}, {
|
|
202
212
|
default: withCtx(() => [
|
|
203
213
|
createTextVNode(toDisplayString(item.tag), 1)
|
|
204
214
|
]),
|
|
205
215
|
_: 2
|
|
206
|
-
},
|
|
207
|
-
], 8,
|
|
208
|
-
], 8,
|
|
216
|
+
}, 1032, ["class"])) : createCommentVNode("", true)
|
|
217
|
+
], 8, _hoisted_14))
|
|
218
|
+
], 8, _hoisted_7);
|
|
209
219
|
}), 128))
|
|
210
|
-
])) : (openBlock(), createElementBlock("div",
|
|
211
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(navInfo.value, (item) => {
|
|
220
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_16, [
|
|
221
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(navInfo.value.children, (item) => {
|
|
212
222
|
return openBlock(), createElementBlock("a", {
|
|
213
223
|
key: item.label,
|
|
214
224
|
onClick: ($event) => onClickNav(item),
|
|
@@ -221,10 +231,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
221
231
|
]),
|
|
222
232
|
_: 2
|
|
223
233
|
}, 1024)) : createCommentVNode("", true)
|
|
224
|
-
], 8,
|
|
234
|
+
], 8, _hoisted_17);
|
|
225
235
|
}), 128))
|
|
226
236
|
]))
|
|
227
|
-
])) : createCommentVNode("", true)
|
|
237
|
+
], 2)) : createCommentVNode("", true)
|
|
228
238
|
], 2);
|
|
229
239
|
};
|
|
230
240
|
}
|
|
@@ -67,6 +67,8 @@ declare const OHeaderMobile: {
|
|
|
67
67
|
readonly navData: import('./types').NavItemT[];
|
|
68
68
|
readonly codeData?: import('./types').CodeT | undefined;
|
|
69
69
|
readonly langData?: import('./types').LangT | undefined;
|
|
70
|
+
readonly activeIndex: string | number;
|
|
71
|
+
readonly community?: string | undefined;
|
|
70
72
|
readonly "onHandle-click"?: ((val: any) => any) | undefined;
|
|
71
73
|
readonly "onOn-click"?: (() => any) | undefined;
|
|
72
74
|
readonly "onLang-click"?: ((val: import('./types').LangItemT) => any) | undefined;
|
|
@@ -48,15 +48,15 @@ export interface LangItemT {
|
|
|
48
48
|
}
|
|
49
49
|
export interface CodeT {
|
|
50
50
|
label: string;
|
|
51
|
-
|
|
51
|
+
children: CodeItemT[];
|
|
52
52
|
}
|
|
53
53
|
export interface LangT {
|
|
54
54
|
label: string;
|
|
55
|
-
|
|
55
|
+
children: LangItemT[];
|
|
56
56
|
}
|
|
57
57
|
export interface NavT {
|
|
58
58
|
logo: string;
|
|
59
|
-
community
|
|
59
|
+
community?: string;
|
|
60
60
|
navData: NavItemT[];
|
|
61
61
|
bgLeft?: string;
|
|
62
62
|
bgRight?: string;
|
|
@@ -69,13 +69,14 @@ export interface NavT {
|
|
|
69
69
|
}
|
|
70
70
|
export interface NavLiT {
|
|
71
71
|
navData: NavItemT[];
|
|
72
|
+
community?: string;
|
|
72
73
|
activeIndex: string | number;
|
|
73
74
|
hoverId: string | number;
|
|
74
75
|
}
|
|
75
76
|
export interface NavLiItemT {
|
|
76
77
|
itemData: NavItemT;
|
|
77
78
|
itemVisible: boolean;
|
|
78
|
-
community
|
|
79
|
+
community?: string;
|
|
79
80
|
bgLeft?: string;
|
|
80
81
|
bgRight?: string;
|
|
81
82
|
hoverIndex: string | number;
|
|
@@ -85,5 +86,7 @@ export interface NavMobileItemT {
|
|
|
85
86
|
navData: NavItemT[];
|
|
86
87
|
codeData?: CodeT;
|
|
87
88
|
langData?: LangT;
|
|
89
|
+
activeIndex: string | number;
|
|
90
|
+
community?: string;
|
|
88
91
|
}
|
|
89
92
|
export {};
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-5909852f] {
|
|
2
2
|
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
3
|
}
|
|
4
4
|
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-
|
|
5
|
+
.hover-icon-rotate:hover .o-icon[data-v-5909852f] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.hide-lang[data-v-
|
|
9
|
+
.hide-lang[data-v-5909852f] {
|
|
10
10
|
display: none;
|
|
11
11
|
}
|
|
12
|
-
.header-lang[data-v-
|
|
12
|
+
.header-lang[data-v-5909852f] {
|
|
13
13
|
height: 100%;
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
}
|
|
17
|
-
.header-lang .info-wrap[data-v-
|
|
17
|
+
.header-lang .info-wrap[data-v-5909852f] {
|
|
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-
|
|
23
|
+
.header-lang .info-wrap .icon[data-v-5909852f] {
|
|
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-
|
|
29
|
+
.header-lang .info-wrap .icon[data-v-5909852f]: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-
|
|
36
|
+
.header-lang .info-wrap .icon[data-v-5909852f] {
|
|
37
37
|
font-size: var(--o-icon_size_control-s);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
.header-lang .info-wrap .locale-tag[data-v-
|
|
40
|
+
.header-lang .info-wrap .locale-tag[data-v-5909852f] {
|
|
41
41
|
position: absolute;
|
|
42
42
|
font-size: 10px;
|
|
43
43
|
height: 12px;
|
|
@@ -49,25 +49,25 @@
|
|
|
49
49
|
left: 12px;
|
|
50
50
|
top: 11px;
|
|
51
51
|
}
|
|
52
|
-
.header-lang .info-wrap .locale-tag.is-en[data-v-
|
|
52
|
+
.header-lang .info-wrap .locale-tag.is-en[data-v-5909852f] {
|
|
53
53
|
width: 16px;
|
|
54
54
|
}
|
|
55
|
-
.header-lang.is-disabled .info-wrap[data-v-
|
|
55
|
+
.header-lang.is-disabled .info-wrap[data-v-5909852f] {
|
|
56
56
|
color: var(--o-color-info4);
|
|
57
57
|
cursor: not-allowed;
|
|
58
58
|
}
|
|
59
|
-
.header-lang.is-disabled .info-wrap[data-v-
|
|
59
|
+
.header-lang.is-disabled .info-wrap[data-v-5909852f]:hover {
|
|
60
60
|
color: var(--o-color-info4);
|
|
61
61
|
}
|
|
62
|
-
.header-lang.is-disabled .info-wrap .o-icon[data-v-
|
|
62
|
+
.header-lang.is-disabled .info-wrap .o-icon[data-v-5909852f] {
|
|
63
63
|
color: inherit;
|
|
64
64
|
}
|
|
65
65
|
@media (hover: hover) {
|
|
66
|
-
.header-lang.is-disabled .info-wrap .o-icon[data-v-
|
|
66
|
+
.header-lang.is-disabled .info-wrap .o-icon[data-v-5909852f]:hover {
|
|
67
67
|
background-color: transparent;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
.header-lang .list[data-v-
|
|
70
|
+
.header-lang .list[data-v-5909852f] {
|
|
71
71
|
background: var(--o-color-control5-light);
|
|
72
72
|
cursor: pointer;
|
|
73
73
|
box-shadow: var(--o-shadow-1);
|
|
@@ -75,10 +75,10 @@
|
|
|
75
75
|
padding: var(--o-gap-1);
|
|
76
76
|
width: 144px;
|
|
77
77
|
}
|
|
78
|
-
.o-dropdown[data-v-
|
|
78
|
+
.o-dropdown[data-v-5909852f] {
|
|
79
79
|
height: 100%;
|
|
80
80
|
}
|
|
81
|
-
.o-dropdown-item[data-v-
|
|
81
|
+
.o-dropdown-item[data-v-5909852f] {
|
|
82
82
|
background: var(--o-color-control5-light);
|
|
83
83
|
cursor: pointer;
|
|
84
84
|
border-radius: var(--o-radius_control-xs);
|
|
@@ -89,73 +89,72 @@
|
|
|
89
89
|
--dropdown-item-text-height: 22px;
|
|
90
90
|
}
|
|
91
91
|
@media (hover: hover) {
|
|
92
|
-
.o-dropdown-item[data-v-
|
|
92
|
+
.o-dropdown-item[data-v-5909852f]:hover {
|
|
93
93
|
background: var(--o-color-control2-light);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
.o-dropdown-item[data-v-
|
|
96
|
+
.o-dropdown-item[data-v-5909852f]:active {
|
|
97
97
|
color: var(--o-color-primary1);
|
|
98
98
|
background: var(--o-color-control3-light);
|
|
99
99
|
font-weight: 600;
|
|
100
100
|
}
|
|
101
|
-
.o-dropdown-item.is-active[data-v-
|
|
101
|
+
.o-dropdown-item.is-active[data-v-5909852f] {
|
|
102
102
|
color: var(--o-color-primary1);
|
|
103
103
|
background: var(--o-color-control3-light);
|
|
104
104
|
}
|
|
105
|
-
.dropdown[data-v-
|
|
105
|
+
.dropdown[data-v-5909852f] {
|
|
106
106
|
--dropdown-list-radius: var(--o-radius-xs);
|
|
107
107
|
}
|
|
108
|
-
.mobile-change-language[data-v-
|
|
108
|
+
.mobile-change-language[data-v-5909852f] {
|
|
109
109
|
display: flex;
|
|
110
110
|
align-items: center;
|
|
111
111
|
}
|
|
112
|
-
.mobile-change-language .o-divider[data-v-
|
|
113
|
-
margin: 0;
|
|
112
|
+
.mobile-change-language .o-divider[data-v-5909852f] {
|
|
113
|
+
margin: 0 var(--o-gap-2);
|
|
114
114
|
height: 8px;
|
|
115
115
|
background-color: var(--o-color-control4);
|
|
116
116
|
}
|
|
117
|
-
.mobile-change-language span[data-v-
|
|
117
|
+
.mobile-change-language span[data-v-5909852f] {
|
|
118
118
|
color: var(--o-color-info1);
|
|
119
119
|
text-align: center;
|
|
120
120
|
cursor: pointer;
|
|
121
|
-
padding: 0 var(--o-gap-2);
|
|
122
121
|
font-size: 16px;
|
|
123
122
|
line-height: 24px;
|
|
124
123
|
}
|
|
125
124
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
126
|
-
.mobile-change-language span[data-v-
|
|
125
|
+
.mobile-change-language span[data-v-5909852f] {
|
|
127
126
|
font-size: 14px;
|
|
128
127
|
line-height: 22px;
|
|
129
128
|
}
|
|
130
129
|
}
|
|
131
130
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
132
|
-
.mobile-change-language span[data-v-
|
|
131
|
+
.mobile-change-language span[data-v-5909852f] {
|
|
133
132
|
font-size: 14px;
|
|
134
133
|
line-height: 22px;
|
|
135
134
|
}
|
|
136
135
|
}
|
|
137
136
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
138
|
-
.mobile-change-language span[data-v-
|
|
137
|
+
.mobile-change-language span[data-v-5909852f] {
|
|
139
138
|
font-size: 14px;
|
|
140
139
|
line-height: 22px;
|
|
141
140
|
}
|
|
142
141
|
}
|
|
143
142
|
@media (max-width: 600px) {
|
|
144
|
-
.mobile-change-language span[data-v-
|
|
143
|
+
.mobile-change-language span[data-v-5909852f] {
|
|
145
144
|
font-size: 12px;
|
|
146
145
|
line-height: 18px;
|
|
147
146
|
}
|
|
148
147
|
}
|
|
149
|
-
.mobile-change-language span.active[data-v-
|
|
148
|
+
.mobile-change-language span.active[data-v-5909852f] {
|
|
150
149
|
color: var(--o-color-primary1);
|
|
151
150
|
font-weight: 500;
|
|
152
151
|
}
|
|
153
|
-
.mobile-change-language.is-disabled span[data-v-
|
|
152
|
+
.mobile-change-language.is-disabled span[data-v-5909852f] {
|
|
154
153
|
color: var(--o-color-info4);
|
|
155
154
|
cursor: not-allowed;
|
|
156
155
|
}
|
|
157
156
|
@media (hover: hover) {
|
|
158
|
-
.mobile-change-language.is-disabled span[data-v-
|
|
157
|
+
.mobile-change-language.is-disabled span[data-v-5909852f]:hover {
|
|
159
158
|
color: var(--o-color-info4);
|
|
160
159
|
}
|
|
161
160
|
}
|
package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.mjs
CHANGED
|
@@ -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-
|
|
5
|
+
const _OHeaderLanguageSwitcher = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5909852f"]]);
|
|
6
6
|
export {
|
|
7
7
|
_OHeaderLanguageSwitcher as default
|
|
8
8
|
};
|
|
@@ -8,7 +8,7 @@ const INTERVAL_DAY = 0;
|
|
|
8
8
|
const INTERVAL_WEEK = 1;
|
|
9
9
|
const INTERVAL_MONTH = 2;
|
|
10
10
|
const EMAIL_REGEX = /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
|
|
11
|
-
const PROGRESS_COLORS = ["var(--o-color-
|
|
11
|
+
const PROGRESS_COLORS = ["var(--o-color-auxiliary5)", "var(--o-color-auxiliary6)", "var(--o-color-auxiliary7)", "var(--o-color-auxiliary8)", "var(--o-color-auxiliary1)", "var(--o-color-auxiliary2)"];
|
|
12
12
|
export {
|
|
13
13
|
EMAIL_REGEX,
|
|
14
14
|
INTERVAL_DAY,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendesign-plus/components",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.42",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"vue-dompurify-html": "^3.1.2",
|
|
45
45
|
"vue": "^3.5.13",
|
|
46
46
|
"element-plus": "2.13.1",
|
|
47
|
-
"@opendesign-plus/
|
|
48
|
-
"@opendesign-plus/
|
|
47
|
+
"@opendesign-plus/styles": "0.0.1-rc.2",
|
|
48
|
+
"@opendesign-plus/composables": "0.0.1-rc.10"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@vitejs/plugin-vue": "^5.2.1",
|