@opendesign-plus-test/components 0.0.1-rc.96 → 0.0.1-rc.97
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/chunk-OElCookieNotice.cjs.js +1 -1
- package/dist/chunk-OElCookieNotice.es.js +1 -1
- package/dist/components/header/types.d.ts +2 -0
- package/dist/components/header-search/OHeaderSearch.vue.d.ts +2 -2
- package/dist/components.cjs.js +36 -36
- package/dist/components.css +1 -1
- package/dist/components.es.js +4155 -4106
- package/dist/treeshaking/_virtual/icon-avatar-line.mjs +1 -1
- package/dist/treeshaking/_virtual/icon-chevron-right.mjs +4 -1
- package/dist/treeshaking/components/element-plus/OElCookieNotice.vue.mjs +1 -1
- package/dist/treeshaking/components/element-plus/OElCookieNotice2.css +145 -145
- package/dist/treeshaking/components/header/OHeader.css +36 -11
- package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeader.vue2.mjs +35 -38
- package/dist/treeshaking/components/header/components/HeaderContent.css +312 -554
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +169 -136
- package/dist/treeshaking/components/header/components/HeaderNav.css +60 -30
- package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNav.vue2.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNavMobile.css +108 -130
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue2.mjs +126 -121
- package/dist/treeshaking/components/header/types.d.ts +2 -0
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.css +32 -32
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.mjs +1 -1
- package/dist/treeshaking/components/header-search/OHeaderSearch.css +42 -37
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +2 -2
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.mjs +1 -1
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue2.mjs +4 -1
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.css +57 -27
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue.mjs +1 -1
- package/dist/treeshaking/components/header-user/OHeaderUser.css +26 -26
- package/dist/treeshaking/components/header-user/OHeaderUser.vue.mjs +1 -1
- package/dist/treeshaking/components/header-user/OHeaderUser.vue2.mjs +32 -26
- package/package.json +1 -1
|
@@ -1,33 +1,36 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, toDisplayString, createBlock, unref, withCtx, resolveDynamicComponent,
|
|
1
|
+
import { defineComponent, ref, onMounted, 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" };
|
|
5
5
|
const _hoisted_2 = { class: "o-nav-list" };
|
|
6
6
|
const _hoisted_3 = ["onClick"];
|
|
7
|
-
const _hoisted_4 = { class: "
|
|
7
|
+
const _hoisted_4 = { class: "header-tool" };
|
|
8
8
|
const _hoisted_5 = {
|
|
9
|
+
key: 2,
|
|
10
|
+
class: "other-tool"
|
|
11
|
+
};
|
|
12
|
+
const _hoisted_6 = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "nav-aside"
|
|
15
|
+
};
|
|
16
|
+
const _hoisted_7 = {
|
|
9
17
|
key: 0,
|
|
10
18
|
class: "nav-aside-wrapper"
|
|
11
19
|
};
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
20
|
+
const _hoisted_8 = ["value"];
|
|
21
|
+
const _hoisted_9 = { class: "content-label" };
|
|
22
|
+
const _hoisted_10 = { class: "container-mobile" };
|
|
23
|
+
const _hoisted_11 = ["onClick"];
|
|
24
|
+
const _hoisted_12 = { class: "item-label" };
|
|
25
|
+
const _hoisted_13 = { class: "desc-container" };
|
|
26
|
+
const _hoisted_14 = { class: "item-desc" };
|
|
27
|
+
const _hoisted_15 = ["onClick"];
|
|
28
|
+
const _hoisted_16 = { class: "item-label" };
|
|
29
|
+
const _hoisted_17 = {
|
|
22
30
|
key: 1,
|
|
23
31
|
class: "nav-aside-wrapper"
|
|
24
32
|
};
|
|
25
|
-
const
|
|
26
|
-
const _hoisted_17 = { class: "header-tool" };
|
|
27
|
-
const _hoisted_18 = {
|
|
28
|
-
key: 2,
|
|
29
|
-
class: "other-tool"
|
|
30
|
-
};
|
|
33
|
+
const _hoisted_18 = ["onClick"];
|
|
31
34
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
32
35
|
__name: "HeaderNavMobile",
|
|
33
36
|
props: {
|
|
@@ -90,6 +93,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
93
|
}
|
|
91
94
|
);
|
|
92
95
|
return (_ctx, _cache) => {
|
|
96
|
+
var _a, _b;
|
|
93
97
|
return openBlock(), createElementBlock("div", {
|
|
94
98
|
class: normalizeClass(["header-nav", { active: __props.menuShow }])
|
|
95
99
|
}, [
|
|
@@ -103,123 +107,124 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
103
107
|
})
|
|
104
108
|
}, [
|
|
105
109
|
createElementVNode("span", {
|
|
110
|
+
class: "text-label",
|
|
106
111
|
onClick: ($event) => handleNavClick(item, "nav")
|
|
107
112
|
}, toDisplayString(item.label), 9, _hoisted_3)
|
|
108
113
|
], 2);
|
|
109
114
|
}), 128))
|
|
110
115
|
]),
|
|
111
116
|
createElementVNode("div", _hoisted_4, [
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
117
|
+
__props.codeData ? (openBlock(), createElementBlock("div", {
|
|
118
|
+
key: 0,
|
|
119
|
+
class: normalizeClass(["header-tool-item", {
|
|
120
|
+
active: navActive.value === "code"
|
|
121
|
+
}]),
|
|
122
|
+
onClick: _cache[0] || (_cache[0] = ($event) => handleNavClick(null, "code"))
|
|
123
|
+
}, toDisplayString(__props.codeData.label), 3)) : createCommentVNode("", true),
|
|
124
|
+
__props.langData ? (openBlock(), createElementBlock("div", {
|
|
125
|
+
key: 1,
|
|
126
|
+
class: normalizeClass(["header-tool-item", {
|
|
127
|
+
active: navActive.value === "lang"
|
|
128
|
+
}]),
|
|
129
|
+
onClick: _cache[1] || (_cache[1] = ($event) => handleNavClick(null, "lang"))
|
|
130
|
+
}, toDisplayString(__props.langData.label), 3)) : createCommentVNode("", true),
|
|
131
|
+
_ctx.$slots.tool ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
132
|
+
renderSlot(_ctx.$slots, "tool", {}, void 0, true)
|
|
133
|
+
])) : createCommentVNode("", true)
|
|
134
|
+
])
|
|
135
|
+
]),
|
|
136
|
+
((_b = (_a = navInfo.value) == null ? void 0 : _a.children) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
137
|
+
navActive.value !== "code" && navActive.value !== "lang" ? (openBlock(), createElementBlock("ul", _hoisted_7, [
|
|
138
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(navInfo.value.children, (item) => {
|
|
139
|
+
return openBlock(), createElementBlock("li", {
|
|
140
|
+
value: item.label,
|
|
141
|
+
key: item.label,
|
|
142
|
+
class: "nav-aside-content"
|
|
143
|
+
}, [
|
|
144
|
+
(item == null ? void 0 : item.children) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
145
|
+
createElementVNode("p", _hoisted_9, toDisplayString(item.label), 1),
|
|
146
|
+
createElementVNode("div", _hoisted_10, [
|
|
147
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item == null ? void 0 : item.children, (subItem) => {
|
|
148
|
+
return openBlock(), createElementBlock("div", {
|
|
149
|
+
key: subItem.label,
|
|
150
|
+
class: normalizeClass(["content-container-mobile", { "content-item-disabled": subItem == null ? void 0 : subItem.disabled }])
|
|
151
|
+
}, [
|
|
152
|
+
createElementVNode("a", {
|
|
153
|
+
onClick: ($event) => onClick(subItem.href, subItem == null ? void 0 : subItem.target),
|
|
154
|
+
rel: "noopener noreferrer",
|
|
155
|
+
class: "content-subtitle"
|
|
126
156
|
}, [
|
|
127
|
-
createElementVNode("
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
], 64)) : (openBlock(), createElementBlock("a", {
|
|
159
|
-
key: 1,
|
|
160
|
-
onClick: ($event) => onClick(item.href, item == null ? void 0 : item.target),
|
|
161
|
-
rel: "noopener noreferrer",
|
|
162
|
-
class: "content-subtitle item-not-children"
|
|
163
|
-
}, [
|
|
164
|
-
createElementVNode("span", _hoisted_14, toDisplayString(item.label), 1),
|
|
165
|
-
item.icon ? (openBlock(), createBlock(unref(OIcon), { key: 0 }, {
|
|
166
|
-
default: withCtx(() => [
|
|
167
|
-
(openBlock(), createBlock(resolveDynamicComponent(item.icon), { class: "icon" }))
|
|
168
|
-
]),
|
|
169
|
-
_: 2
|
|
170
|
-
}, 1024)) : createCommentVNode("", true),
|
|
171
|
-
item.tag ? (openBlock(), createBlock(unref(OTag), {
|
|
172
|
-
key: 1,
|
|
173
|
-
round: "pill",
|
|
174
|
-
color: "danger",
|
|
175
|
-
size: "small"
|
|
176
|
-
}, {
|
|
177
|
-
default: withCtx(() => [
|
|
178
|
-
createTextVNode(toDisplayString(item.tag), 1)
|
|
179
|
-
]),
|
|
180
|
-
_: 2
|
|
181
|
-
}, 1024)) : createCommentVNode("", true)
|
|
182
|
-
], 8, _hoisted_13))
|
|
183
|
-
], 8, _hoisted_6);
|
|
184
|
-
}), 128))
|
|
185
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_15, [
|
|
186
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(navInfo.value, (item) => {
|
|
187
|
-
return openBlock(), createElementBlock("a", {
|
|
188
|
-
key: item.label,
|
|
189
|
-
onClick: ($event) => onClickNav(item),
|
|
190
|
-
class: "source-code-item"
|
|
157
|
+
createElementVNode("span", _hoisted_12, toDisplayString(subItem.label), 1),
|
|
158
|
+
subItem.icon ? (openBlock(), createBlock(unref(OIcon), { key: 0 }, {
|
|
159
|
+
default: withCtx(() => [
|
|
160
|
+
(openBlock(), createBlock(resolveDynamicComponent(subItem.icon), { class: "icon" }))
|
|
161
|
+
]),
|
|
162
|
+
_: 2
|
|
163
|
+
}, 1024)) : createCommentVNode("", true),
|
|
164
|
+
subItem.tag ? (openBlock(), createBlock(unref(OTag), {
|
|
165
|
+
key: 1,
|
|
166
|
+
round: "pill",
|
|
167
|
+
color: "danger",
|
|
168
|
+
size: "small",
|
|
169
|
+
class: "content-tag"
|
|
170
|
+
}, {
|
|
171
|
+
default: withCtx(() => [
|
|
172
|
+
createTextVNode(toDisplayString(subItem.tag), 1)
|
|
173
|
+
]),
|
|
174
|
+
_: 2
|
|
175
|
+
}, 1024)) : createCommentVNode("", true)
|
|
176
|
+
], 8, _hoisted_11),
|
|
177
|
+
createElementVNode("div", _hoisted_13, [
|
|
178
|
+
createElementVNode("p", _hoisted_14, toDisplayString(subItem.description), 1)
|
|
179
|
+
])
|
|
180
|
+
], 2);
|
|
181
|
+
}), 128))
|
|
182
|
+
])
|
|
183
|
+
], 64)) : (openBlock(), createElementBlock("a", {
|
|
184
|
+
key: 1,
|
|
185
|
+
onClick: ($event) => onClick(item.href, item == null ? void 0 : item.target),
|
|
186
|
+
rel: "noopener noreferrer",
|
|
187
|
+
class: "content-subtitle item-not-children"
|
|
191
188
|
}, [
|
|
192
|
-
createElementVNode("span",
|
|
189
|
+
createElementVNode("span", _hoisted_16, toDisplayString(item.label), 1),
|
|
193
190
|
item.icon ? (openBlock(), createBlock(unref(OIcon), { key: 0 }, {
|
|
194
191
|
default: withCtx(() => [
|
|
195
192
|
(openBlock(), createBlock(resolveDynamicComponent(item.icon), { class: "icon" }))
|
|
196
193
|
]),
|
|
197
194
|
_: 2
|
|
195
|
+
}, 1024)) : createCommentVNode("", true),
|
|
196
|
+
item.tag ? (openBlock(), createBlock(unref(OTag), {
|
|
197
|
+
key: 1,
|
|
198
|
+
round: "pill",
|
|
199
|
+
color: "danger",
|
|
200
|
+
size: "small"
|
|
201
|
+
}, {
|
|
202
|
+
default: withCtx(() => [
|
|
203
|
+
createTextVNode(toDisplayString(item.tag), 1)
|
|
204
|
+
]),
|
|
205
|
+
_: 2
|
|
198
206
|
}, 1024)) : createCommentVNode("", true)
|
|
199
|
-
], 8,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
])
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
renderSlot(_ctx.$slots, "tool", {}, void 0, true)
|
|
221
|
-
])) : createCommentVNode("", true)
|
|
222
|
-
])
|
|
207
|
+
], 8, _hoisted_15))
|
|
208
|
+
], 8, _hoisted_8);
|
|
209
|
+
}), 128))
|
|
210
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_17, [
|
|
211
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(navInfo.value, (item) => {
|
|
212
|
+
return openBlock(), createElementBlock("a", {
|
|
213
|
+
key: item.label,
|
|
214
|
+
onClick: ($event) => onClickNav(item),
|
|
215
|
+
class: "source-code-item"
|
|
216
|
+
}, [
|
|
217
|
+
createElementVNode("span", null, toDisplayString(item.label), 1),
|
|
218
|
+
item.icon ? (openBlock(), createBlock(unref(OIcon), { key: 0 }, {
|
|
219
|
+
default: withCtx(() => [
|
|
220
|
+
(openBlock(), createBlock(resolveDynamicComponent(item.icon), { class: "icon" }))
|
|
221
|
+
]),
|
|
222
|
+
_: 2
|
|
223
|
+
}, 1024)) : createCommentVNode("", true)
|
|
224
|
+
], 8, _hoisted_18);
|
|
225
|
+
}), 128))
|
|
226
|
+
]))
|
|
227
|
+
])) : createCommentVNode("", true)
|
|
223
228
|
], 2);
|
|
224
229
|
};
|
|
225
230
|
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-549615dd] {
|
|
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-549615dd] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.hide-lang[data-v-
|
|
9
|
+
.hide-lang[data-v-549615dd] {
|
|
10
10
|
display: none;
|
|
11
11
|
}
|
|
12
|
-
.header-lang[data-v-
|
|
12
|
+
.header-lang[data-v-549615dd] {
|
|
13
13
|
height: calc(100% + 10px);
|
|
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-549615dd] {
|
|
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-549615dd] {
|
|
24
24
|
font-size: var(--o-icon_size_control-m);
|
|
25
25
|
position: relative;
|
|
26
26
|
color: var(--o-color-info1);
|
|
27
27
|
}
|
|
28
28
|
@media (hover: hover) {
|
|
29
|
-
.header-lang .info-wrap .icon[data-v-
|
|
29
|
+
.header-lang .info-wrap .icon[data-v-549615dd]:hover {
|
|
30
30
|
color: var(--o-color-primary1);
|
|
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-549615dd] {
|
|
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-549615dd] {
|
|
41
41
|
position: absolute;
|
|
42
42
|
font-size: 10px;
|
|
43
43
|
height: 12px;
|
|
@@ -49,37 +49,37 @@
|
|
|
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-549615dd] {
|
|
53
53
|
width: 16px;
|
|
54
54
|
}
|
|
55
|
-
.header-lang.is-disabled .info-wrap[data-v-
|
|
55
|
+
.header-lang.is-disabled .info-wrap[data-v-549615dd] {
|
|
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-549615dd]: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-549615dd] {
|
|
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-549615dd]:hover {
|
|
67
67
|
background-color: transparent;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
.header-lang .list[data-v-
|
|
71
|
-
background: var(--o-color-
|
|
70
|
+
.header-lang .list[data-v-549615dd] {
|
|
71
|
+
background: var(--o-color-control5-light);
|
|
72
72
|
cursor: pointer;
|
|
73
73
|
box-shadow: var(--o-shadow-1);
|
|
74
74
|
border-radius: var(--o-radius_control-xs);
|
|
75
75
|
padding: var(--o-gap-1);
|
|
76
76
|
width: 144px;
|
|
77
77
|
}
|
|
78
|
-
.o-dropdown[data-v-
|
|
78
|
+
.o-dropdown[data-v-549615dd] {
|
|
79
79
|
height: 100%;
|
|
80
80
|
}
|
|
81
|
-
.o-dropdown-item[data-v-
|
|
82
|
-
background: var(--o-color-
|
|
81
|
+
.o-dropdown-item[data-v-549615dd] {
|
|
82
|
+
background: var(--o-color-control5-light);
|
|
83
83
|
cursor: pointer;
|
|
84
84
|
border-radius: var(--o-radius_control-xs);
|
|
85
85
|
padding-left: var(--o-gap-3);
|
|
@@ -87,27 +87,27 @@
|
|
|
87
87
|
color: var(--o-color-info1);
|
|
88
88
|
}
|
|
89
89
|
@media (hover: hover) {
|
|
90
|
-
.o-dropdown-item[data-v-
|
|
90
|
+
.o-dropdown-item[data-v-549615dd]:hover {
|
|
91
91
|
background: var(--o-color-control2-light);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
.o-dropdown-item.is-active[data-v-
|
|
94
|
+
.o-dropdown-item.is-active[data-v-549615dd] {
|
|
95
95
|
color: var(--o-color-primary1);
|
|
96
96
|
background: var(--o-color-control3-light);
|
|
97
97
|
}
|
|
98
|
-
.dropdown[data-v-
|
|
98
|
+
.dropdown[data-v-549615dd] {
|
|
99
99
|
--dropdown-list-radius: var(--o-radius-xs);
|
|
100
100
|
}
|
|
101
|
-
.mobile-change-language[data-v-
|
|
101
|
+
.mobile-change-language[data-v-549615dd] {
|
|
102
102
|
display: flex;
|
|
103
103
|
align-items: center;
|
|
104
104
|
}
|
|
105
|
-
.mobile-change-language .o-divider[data-v-
|
|
105
|
+
.mobile-change-language .o-divider[data-v-549615dd] {
|
|
106
106
|
margin: 0;
|
|
107
107
|
height: 8px;
|
|
108
108
|
background-color: var(--o-color-control4);
|
|
109
109
|
}
|
|
110
|
-
.mobile-change-language span[data-v-
|
|
110
|
+
.mobile-change-language span[data-v-549615dd] {
|
|
111
111
|
color: var(--o-color-info1);
|
|
112
112
|
text-align: center;
|
|
113
113
|
cursor: pointer;
|
|
@@ -116,39 +116,39 @@
|
|
|
116
116
|
line-height: 24px;
|
|
117
117
|
}
|
|
118
118
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
119
|
-
.mobile-change-language span[data-v-
|
|
119
|
+
.mobile-change-language span[data-v-549615dd] {
|
|
120
120
|
font-size: 14px;
|
|
121
121
|
line-height: 22px;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
125
|
-
.mobile-change-language span[data-v-
|
|
125
|
+
.mobile-change-language span[data-v-549615dd] {
|
|
126
126
|
font-size: 14px;
|
|
127
127
|
line-height: 22px;
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
131
|
-
.mobile-change-language span[data-v-
|
|
131
|
+
.mobile-change-language span[data-v-549615dd] {
|
|
132
132
|
font-size: 14px;
|
|
133
133
|
line-height: 22px;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
@media (max-width: 600px) {
|
|
137
|
-
.mobile-change-language span[data-v-
|
|
137
|
+
.mobile-change-language span[data-v-549615dd] {
|
|
138
138
|
font-size: 12px;
|
|
139
139
|
line-height: 18px;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
.mobile-change-language span.active[data-v-
|
|
142
|
+
.mobile-change-language span.active[data-v-549615dd] {
|
|
143
143
|
color: var(--o-color-primary1);
|
|
144
144
|
font-weight: 500;
|
|
145
145
|
}
|
|
146
|
-
.mobile-change-language.is-disabled span[data-v-
|
|
146
|
+
.mobile-change-language.is-disabled span[data-v-549615dd] {
|
|
147
147
|
color: var(--o-color-info4);
|
|
148
148
|
cursor: not-allowed;
|
|
149
149
|
}
|
|
150
150
|
@media (hover: hover) {
|
|
151
|
-
.mobile-change-language.is-disabled span[data-v-
|
|
151
|
+
.mobile-change-language.is-disabled span[data-v-549615dd]:hover {
|
|
152
152
|
color: var(--o-color-info4);
|
|
153
153
|
}
|
|
154
154
|
}
|
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-549615dd"]]);
|
|
6
6
|
export {
|
|
7
7
|
_OHeaderLanguageSwitcher as default
|
|
8
8
|
};
|