@opendesign-plus/components 0.0.1-rc.47 → 0.0.1-rc.49
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/activity/index.d.ts +9 -9
- package/dist/components/banner/index.d.ts +6 -6
- package/dist/components/events/index.d.ts +20 -20
- package/dist/components/header/OHeaderMobile.vue.d.ts +18 -15
- package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
- package/dist/components/header/index.d.ts +28 -23
- package/dist/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +9 -0
- package/dist/components/header-language-switcher/index.d.ts +15 -0
- package/dist/components/header-search/index.d.ts +13 -13
- package/dist/components/header-source-code/OHeaderSourceCode.vue.d.ts +2 -0
- package/dist/components/header-source-code/index.d.ts +3 -0
- package/dist/components/header-user/OHeaderUser.vue.d.ts +3 -0
- package/dist/components/header-user/index.d.ts +6 -0
- package/dist/components/meeting/OMeetingCalendar.vue.d.ts +2 -0
- package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/components/meeting/OMeetingSigCalendar.vue.d.ts +6 -2
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/components/meeting/components/OMeetingSigAside.vue.d.ts +175 -1
- package/dist/components/meeting/index.d.ts +35 -32
- package/dist/components/search/index.d.ts +11 -11
- package/dist/components.cjs.js +37 -37
- package/dist/components.css +1 -1
- package/dist/components.es.js +8206 -8142
- package/dist/treeshaking/components/activity/index.d.ts +9 -9
- package/dist/treeshaking/components/banner/index.d.ts +6 -6
- package/dist/treeshaking/components/common/AppAvatar.css +5 -5
- package/dist/treeshaking/components/common/AppAvatar.vue.mjs +1 -1
- package/dist/treeshaking/components/common/AppAvatar.vue2.mjs +3 -3
- package/dist/treeshaking/components/events/OEventsCalendar.css +5 -0
- package/dist/treeshaking/components/events/OEventsList.css +10 -0
- package/dist/treeshaking/components/events/index.d.ts +20 -20
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.css +5 -5
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.mjs +1 -1
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue2.mjs +5 -5
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.css +26 -26
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue.mjs +1 -1
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue2.mjs +3 -3
- package/dist/treeshaking/components/header/OHeaderMobile.css +19 -19
- package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +18 -15
- package/dist/treeshaking/components/header/OHeaderMobile.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeaderMobile.vue2.mjs +3 -2
- package/dist/treeshaking/components/header/components/HeaderContent.css +184 -184
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +0 -2
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
- package/dist/treeshaking/components/header/index.d.ts +28 -23
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.css +27 -63
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +9 -0
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.mjs +1 -1
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue2.mjs +8 -4
- package/dist/treeshaking/components/header-language-switcher/index.d.ts +15 -0
- package/dist/treeshaking/components/header-search/index.d.ts +13 -13
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.css +29 -41
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue.d.ts +2 -0
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue.mjs +1 -1
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue2.mjs +3 -3
- package/dist/treeshaking/components/header-source-code/index.d.ts +3 -0
- package/dist/treeshaking/components/header-theme/OHeaderTheme.css +11 -11
- package/dist/treeshaking/components/header-theme/OHeaderTheme.vue.mjs +1 -1
- package/dist/treeshaking/components/header-theme/OHeaderTheme.vue2.mjs +2 -2
- package/dist/treeshaking/components/header-user/OHeaderUser.css +55 -38
- package/dist/treeshaking/components/header-user/OHeaderUser.vue.d.ts +3 -0
- package/dist/treeshaking/components/header-user/OHeaderUser.vue.mjs +1 -1
- package/dist/treeshaking/components/header-user/OHeaderUser.vue2.mjs +7 -5
- package/dist/treeshaking/components/header-user/OHeaderUser2.css +0 -18
- package/dist/treeshaking/components/header-user/index.d.ts +6 -0
- package/dist/treeshaking/components/meeting/OMeetingCalendar.css +74 -0
- package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.d.ts +2 -0
- package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.mjs +60 -30
- package/dist/treeshaking/components/meeting/OMeetingPlayback.css +5 -1
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.css +9 -0
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.d.ts +6 -2
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +46 -17
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.css +33 -1
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue.d.ts +175 -1
- package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue.mjs +33 -2
- package/dist/treeshaking/components/meeting/index.d.ts +35 -32
- package/dist/treeshaking/components/search/index.d.ts +11 -11
- package/dist/treeshaking/components/search/internal/SearchImageInput.css +48 -45
- package/dist/treeshaking/components/search/internal/SearchImageInput.vue.mjs +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
4
|
+
const HeaderContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f38c48e0"]]);
|
|
5
5
|
export {
|
|
6
6
|
HeaderContent as default
|
|
7
7
|
};
|
|
@@ -70,8 +70,6 @@ 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");
|
|
@@ -22,7 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<NavMobileItemT, {},
|
|
|
22
22
|
"onOn-click"?: (() => any) | undefined;
|
|
23
23
|
"onLang-click"?: ((val: LangItemT) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
|
-
navData: import('
|
|
25
|
+
navData: import('../../../index.ts').NavItemT[];
|
|
26
26
|
menuShow: boolean;
|
|
27
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
28
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
declare const OHeader: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').NavT> & Readonly<{
|
|
4
4
|
"onHandle-click"?: ((val: any) => any) | undefined;
|
|
5
5
|
"onNav-layout"?: ((val: any) => any) | undefined;
|
|
6
6
|
"onGo-home"?: (() => any) | undefined;
|
|
@@ -19,7 +19,7 @@ declare const OHeader: {
|
|
|
19
19
|
C: {};
|
|
20
20
|
M: {};
|
|
21
21
|
Defaults: {};
|
|
22
|
-
}, Readonly<import('
|
|
22
|
+
}, Readonly<import('../../index').NavT> & Readonly<{
|
|
23
23
|
"onHandle-click"?: ((val: any) => any) | undefined;
|
|
24
24
|
"onNav-layout"?: ((val: any) => any) | undefined;
|
|
25
25
|
"onGo-home"?: (() => any) | undefined;
|
|
@@ -29,7 +29,7 @@ declare const OHeader: {
|
|
|
29
29
|
__isFragment?: never;
|
|
30
30
|
__isTeleport?: never;
|
|
31
31
|
__isSuspense?: never;
|
|
32
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
|
32
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../../index').NavT> & Readonly<{
|
|
33
33
|
"onHandle-click"?: ((val: any) => any) | undefined;
|
|
34
34
|
"onNav-layout"?: ((val: any) => any) | undefined;
|
|
35
35
|
"onGo-home"?: (() => any) | undefined;
|
|
@@ -50,13 +50,15 @@ declare const OHeader: {
|
|
|
50
50
|
install(app: App): void;
|
|
51
51
|
};
|
|
52
52
|
declare const OHeaderMobile: {
|
|
53
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
53
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').NavT> & Readonly<{
|
|
54
|
+
"onHandle-click"?: ((val: import('../../index').NavItemT) => any) | undefined;
|
|
54
55
|
"onGo-home"?: (() => any) | undefined;
|
|
55
|
-
"onLang-click"?: ((val: import('
|
|
56
|
+
"onLang-click"?: ((val: import('../../index').LangItemT) => any) | undefined;
|
|
56
57
|
"onGo-back"?: (() => any) | undefined;
|
|
57
58
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
59
|
+
"handle-click": (val: import('../../index').NavItemT) => any;
|
|
58
60
|
"go-home": () => any;
|
|
59
|
-
"lang-click": (val: import('
|
|
61
|
+
"lang-click": (val: import('../../index').LangItemT) => any;
|
|
60
62
|
"go-back": () => any;
|
|
61
63
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
62
64
|
mobileNav: ({
|
|
@@ -64,14 +66,14 @@ declare const OHeaderMobile: {
|
|
|
64
66
|
$data: {};
|
|
65
67
|
$props: {
|
|
66
68
|
readonly menuShow: boolean;
|
|
67
|
-
readonly navData: import('
|
|
68
|
-
readonly codeData?: import('
|
|
69
|
-
readonly langData?: import('
|
|
69
|
+
readonly navData: import('../../index').NavItemT[];
|
|
70
|
+
readonly codeData?: import('../../index').CodeT | undefined;
|
|
71
|
+
readonly langData?: import('../../index').LangT | undefined;
|
|
70
72
|
readonly activeIndex: string | number;
|
|
71
73
|
readonly community?: string | undefined;
|
|
72
74
|
readonly "onHandle-click"?: ((val: any) => any) | undefined;
|
|
73
75
|
readonly "onOn-click"?: (() => any) | undefined;
|
|
74
|
-
readonly "onLang-click"?: ((val: import('
|
|
76
|
+
readonly "onLang-click"?: ((val: import('../../index').LangItemT) => any) | undefined;
|
|
75
77
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
76
78
|
$attrs: import('vue').Attrs;
|
|
77
79
|
$refs: {
|
|
@@ -83,18 +85,18 @@ declare const OHeaderMobile: {
|
|
|
83
85
|
$root: import('vue').ComponentPublicInstance | null;
|
|
84
86
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
85
87
|
$host: Element | null;
|
|
86
|
-
$emit: ((event: "handle-click", val: any) => void) & ((event: "on-click") => void) & ((event: "lang-click", val: import('
|
|
88
|
+
$emit: ((event: "handle-click", val: any) => void) & ((event: "on-click") => void) & ((event: "lang-click", val: import('../../index').LangItemT) => void);
|
|
87
89
|
$el: HTMLDivElement;
|
|
88
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('
|
|
90
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../../index').NavMobileItemT> & Readonly<{
|
|
89
91
|
"onHandle-click"?: ((val: any) => any) | undefined;
|
|
90
92
|
"onOn-click"?: (() => any) | undefined;
|
|
91
|
-
"onLang-click"?: ((val: import('
|
|
93
|
+
"onLang-click"?: ((val: import('../../index').LangItemT) => any) | undefined;
|
|
92
94
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
93
95
|
"handle-click": (val: any) => any;
|
|
94
96
|
"on-click": () => any;
|
|
95
|
-
"lang-click": (val: import('
|
|
97
|
+
"lang-click": (val: import('../../index').LangItemT) => any;
|
|
96
98
|
}, string, {
|
|
97
|
-
navData: import('
|
|
99
|
+
navData: import('../../index').NavItemT[];
|
|
98
100
|
menuShow: boolean;
|
|
99
101
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
100
102
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -117,12 +119,12 @@ declare const OHeaderMobile: {
|
|
|
117
119
|
$nextTick: typeof import('vue').nextTick;
|
|
118
120
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
119
121
|
} & Readonly<{
|
|
120
|
-
navData: import('
|
|
122
|
+
navData: import('../../index').NavItemT[];
|
|
121
123
|
menuShow: boolean;
|
|
122
|
-
}> & Omit<Readonly<import('
|
|
124
|
+
}> & Omit<Readonly<import('../../index').NavMobileItemT> & Readonly<{
|
|
123
125
|
"onHandle-click"?: ((val: any) => any) | undefined;
|
|
124
126
|
"onOn-click"?: (() => any) | undefined;
|
|
125
|
-
"onLang-click"?: ((val: import('
|
|
127
|
+
"onLang-click"?: ((val: import('../../index').LangItemT) => any) | undefined;
|
|
126
128
|
}>, "navData" | "menuShow"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
127
129
|
$slots: {
|
|
128
130
|
tool?(_: {}): any;
|
|
@@ -135,21 +137,24 @@ declare const OHeaderMobile: {
|
|
|
135
137
|
C: {};
|
|
136
138
|
M: {};
|
|
137
139
|
Defaults: {};
|
|
138
|
-
}, Readonly<import('
|
|
140
|
+
}, Readonly<import('../../index').NavT> & Readonly<{
|
|
141
|
+
"onHandle-click"?: ((val: import('../../index').NavItemT) => any) | undefined;
|
|
139
142
|
"onGo-home"?: (() => any) | undefined;
|
|
140
|
-
"onLang-click"?: ((val: import('
|
|
143
|
+
"onLang-click"?: ((val: import('../../index').LangItemT) => any) | undefined;
|
|
141
144
|
"onGo-back"?: (() => any) | undefined;
|
|
142
145
|
}>, {}, {}, {}, {}, {}>;
|
|
143
146
|
__isFragment?: never;
|
|
144
147
|
__isTeleport?: never;
|
|
145
148
|
__isSuspense?: never;
|
|
146
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
|
149
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../../index').NavT> & Readonly<{
|
|
150
|
+
"onHandle-click"?: ((val: import('../../index').NavItemT) => any) | undefined;
|
|
147
151
|
"onGo-home"?: (() => any) | undefined;
|
|
148
|
-
"onLang-click"?: ((val: import('
|
|
152
|
+
"onLang-click"?: ((val: import('../../index').LangItemT) => any) | undefined;
|
|
149
153
|
"onGo-back"?: (() => any) | undefined;
|
|
150
154
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
155
|
+
"handle-click": (val: import('../../index').NavItemT) => any;
|
|
151
156
|
"go-home": () => any;
|
|
152
|
-
"lang-click": (val: import('
|
|
157
|
+
"lang-click": (val: import('../../index').LangItemT) => any;
|
|
153
158
|
"go-back": () => any;
|
|
154
159
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
155
160
|
$slots: {
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
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-
|
|
5
|
+
.hover-icon-rotate:hover .o-icon[data-v-2620f484] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.hide-lang[data-v-
|
|
9
|
+
.hide-lang[data-v-2620f484] {
|
|
10
10
|
display: none;
|
|
11
11
|
}
|
|
12
|
-
.header-lang[data-v-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
66
|
+
.header-lang.is-disabled .info-wrap .o-icon[data-v-2620f484]:hover {
|
|
67
67
|
background-color: transparent;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
.
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
-
.
|
|
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-
|
|
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-
|
|
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:
|
|
122
|
-
line-height:
|
|
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-
|
|
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-
|
|
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-
|
|
121
|
+
.mobile-change-language.is-disabled span[data-v-2620f484]:hover {
|
|
158
122
|
color: var(--o-color-info4);
|
|
159
123
|
}
|
|
160
124
|
}
|
package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts
CHANGED
|
@@ -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;
|
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-2620f484"]]);
|
|
6
6
|
export {
|
|
7
7
|
_OHeaderLanguageSwitcher as default
|
|
8
8
|
};
|
package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue2.mjs
CHANGED
|
@@ -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(
|
|
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(() => [
|
|
@@ -21,6 +21,10 @@ declare const OHeaderLanguageSwitcher: {
|
|
|
21
21
|
type: BooleanConstructor;
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
24
|
+
itemRadius: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
24
28
|
}>> & Readonly<{
|
|
25
29
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
26
30
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -30,6 +34,7 @@ declare const OHeaderLanguageSwitcher: {
|
|
|
30
34
|
disabled: boolean;
|
|
31
35
|
auto: boolean;
|
|
32
36
|
options: import('./OHeaderLanguageSwitcher.vue').LanguageOptionT[];
|
|
37
|
+
itemRadius: number;
|
|
33
38
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
34
39
|
P: {};
|
|
35
40
|
B: {};
|
|
@@ -58,6 +63,10 @@ declare const OHeaderLanguageSwitcher: {
|
|
|
58
63
|
type: BooleanConstructor;
|
|
59
64
|
default: boolean;
|
|
60
65
|
};
|
|
66
|
+
itemRadius: {
|
|
67
|
+
type: NumberConstructor;
|
|
68
|
+
default: number;
|
|
69
|
+
};
|
|
61
70
|
}>> & Readonly<{
|
|
62
71
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
63
72
|
}>, {}, {}, {}, {}, {
|
|
@@ -65,6 +74,7 @@ declare const OHeaderLanguageSwitcher: {
|
|
|
65
74
|
disabled: boolean;
|
|
66
75
|
auto: boolean;
|
|
67
76
|
options: import('./OHeaderLanguageSwitcher.vue').LanguageOptionT[];
|
|
77
|
+
itemRadius: number;
|
|
68
78
|
}>;
|
|
69
79
|
__isFragment?: never;
|
|
70
80
|
__isTeleport?: never;
|
|
@@ -90,6 +100,10 @@ declare const OHeaderLanguageSwitcher: {
|
|
|
90
100
|
type: BooleanConstructor;
|
|
91
101
|
default: boolean;
|
|
92
102
|
};
|
|
103
|
+
itemRadius: {
|
|
104
|
+
type: NumberConstructor;
|
|
105
|
+
default: number;
|
|
106
|
+
};
|
|
93
107
|
}>> & Readonly<{
|
|
94
108
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
95
109
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -99,6 +113,7 @@ declare const OHeaderLanguageSwitcher: {
|
|
|
99
113
|
disabled: boolean;
|
|
100
114
|
auto: boolean;
|
|
101
115
|
options: import('./OHeaderLanguageSwitcher.vue').LanguageOptionT[];
|
|
116
|
+
itemRadius: number;
|
|
102
117
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
103
118
|
install(app: App): void;
|
|
104
119
|
};
|
|
@@ -20,8 +20,8 @@ declare const OHeaderSearch: {
|
|
|
20
20
|
imageUrl: string;
|
|
21
21
|
enableImageSearch: boolean;
|
|
22
22
|
maxImageSize: number;
|
|
23
|
-
onestepItems: import('
|
|
24
|
-
suggestItems: import('
|
|
23
|
+
onestepItems: import('../../index').OSearchRecommendItem[];
|
|
24
|
+
suggestItems: import('../../index').OSearchRecommendItem[];
|
|
25
25
|
recommendItems: string[];
|
|
26
26
|
historyItems: string[];
|
|
27
27
|
hotItems: string[];
|
|
@@ -46,7 +46,7 @@ declare const OHeaderSearch: {
|
|
|
46
46
|
readonly imagePlaceholder?: string | undefined;
|
|
47
47
|
readonly size?: "small" | "medium" | "large" | undefined;
|
|
48
48
|
readonly enableImageSearch?: boolean | undefined;
|
|
49
|
-
readonly uploadImage?: import('
|
|
49
|
+
readonly uploadImage?: import('../../index').OSearchUploadImageFn | undefined;
|
|
50
50
|
readonly maxImageSize?: number | undefined;
|
|
51
51
|
readonly imageUploadTooltip?: string | undefined;
|
|
52
52
|
readonly expanded?: boolean | undefined;
|
|
@@ -505,8 +505,8 @@ declare const OHeaderSearch: {
|
|
|
505
505
|
imageUrl: string;
|
|
506
506
|
enableImageSearch: boolean;
|
|
507
507
|
maxImageSize: number;
|
|
508
|
-
onestepItems: import('
|
|
509
|
-
suggestItems: import('
|
|
508
|
+
onestepItems: import('../../index').OSearchRecommendItem[];
|
|
509
|
+
suggestItems: import('../../index').OSearchRecommendItem[];
|
|
510
510
|
recommendItems: string[];
|
|
511
511
|
historyItems: string[];
|
|
512
512
|
hotItems: string[];
|
|
@@ -542,8 +542,8 @@ declare const OHeaderSearch: {
|
|
|
542
542
|
imageUrl: string;
|
|
543
543
|
enableImageSearch: boolean;
|
|
544
544
|
maxImageSize: number;
|
|
545
|
-
onestepItems: import('
|
|
546
|
-
suggestItems: import('
|
|
545
|
+
onestepItems: import('../../index').OSearchRecommendItem[];
|
|
546
|
+
suggestItems: import('../../index').OSearchRecommendItem[];
|
|
547
547
|
recommendItems: string[];
|
|
548
548
|
historyItems: string[];
|
|
549
549
|
hotItems: string[];
|
|
@@ -569,8 +569,8 @@ declare const OHeaderSearch: {
|
|
|
569
569
|
recommendItems: string[];
|
|
570
570
|
historyItems: string[];
|
|
571
571
|
hotItems: string[];
|
|
572
|
-
suggestItems: import('
|
|
573
|
-
onestepItems: import('
|
|
572
|
+
suggestItems: import('../../index').OSearchRecommendItem[];
|
|
573
|
+
onestepItems: import('../../index').OSearchRecommendItem[];
|
|
574
574
|
keyword: string;
|
|
575
575
|
}): any;
|
|
576
576
|
'recommend-header'?(_: {
|
|
@@ -580,17 +580,17 @@ declare const OHeaderSearch: {
|
|
|
580
580
|
items: string[];
|
|
581
581
|
}): any;
|
|
582
582
|
'onestep-header'?(_: {
|
|
583
|
-
items: import('
|
|
583
|
+
items: import('../../index').OSearchRecommendItem[];
|
|
584
584
|
}): any;
|
|
585
585
|
'onestep-content'?(_: {
|
|
586
|
-
items: import('
|
|
586
|
+
items: import('../../index').OSearchRecommendItem[];
|
|
587
587
|
keyword: string;
|
|
588
588
|
}): any;
|
|
589
589
|
'suggest-header'?(_: {
|
|
590
|
-
items: import('
|
|
590
|
+
items: import('../../index').OSearchRecommendItem[];
|
|
591
591
|
}): any;
|
|
592
592
|
'suggest-content'?(_: {
|
|
593
|
-
items: import('
|
|
593
|
+
items: import('../../index').OSearchRecommendItem[];
|
|
594
594
|
keyword: string;
|
|
595
595
|
}): any;
|
|
596
596
|
'history-header'?(_: {
|