@opendesign-plus/components 0.0.1-rc.46 → 0.0.1-rc.48
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 +18 -16
- 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-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/components/OMeetingSigAside.vue.d.ts +175 -1
- package/dist/components.cjs.js +36 -36
- package/dist/components.css +1 -1
- package/dist/components.es.js +5862 -5768
- package/dist/treeshaking/components/events/OEventsCalendar.css +5 -0
- package/dist/treeshaking/components/events/OEventsList.css +10 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.css +8 -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/components/HeaderContent.css +203 -184
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +87 -16
- package/dist/treeshaking/components/header/components/HeaderNav.css +49 -49
- package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.css +29 -41
- 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-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/OMeetingPlayback.css +5 -1
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.css +3 -0
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.css +33 -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/i18n/en.mjs +2 -1
- package/dist/treeshaking/i18n/zh.mjs +2 -1
- package/package.json +3 -3
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-aa8e9f71"]]);
|
|
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
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-4c72b8c0] {
|
|
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-4c72b8c0] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.source-code[data-v-
|
|
9
|
+
.source-code[data-v-4c72b8c0] {
|
|
10
10
|
height: 100%;
|
|
11
11
|
display: flex;
|
|
12
12
|
align-items: center;
|
|
13
13
|
}
|
|
14
|
-
.source-code .info-wrap[data-v-
|
|
14
|
+
.source-code .info-wrap[data-v-4c72b8c0] {
|
|
15
15
|
height: 100%;
|
|
16
16
|
display: flex;
|
|
17
17
|
align-items: center;
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
cursor: pointer;
|
|
20
20
|
}
|
|
21
21
|
@media (hover: hover) {
|
|
22
|
-
.source-code .info-wrap[data-v-
|
|
22
|
+
.source-code .info-wrap[data-v-4c72b8c0]:hover {
|
|
23
23
|
color: var(--o-color-primary1);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
.source-code .info-wrap .title[data-v-
|
|
26
|
+
.source-code .info-wrap .title[data-v-4c72b8c0] {
|
|
27
27
|
display: flex;
|
|
28
28
|
align-items: center;
|
|
29
29
|
cursor: pointer;
|
|
@@ -32,122 +32,113 @@
|
|
|
32
32
|
line-height: 22px;
|
|
33
33
|
}
|
|
34
34
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
35
|
-
.source-code .info-wrap .title[data-v-
|
|
35
|
+
.source-code .info-wrap .title[data-v-4c72b8c0] {
|
|
36
36
|
font-size: 12px;
|
|
37
37
|
line-height: 18px;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
41
|
-
.source-code .info-wrap .title[data-v-
|
|
41
|
+
.source-code .info-wrap .title[data-v-4c72b8c0] {
|
|
42
42
|
font-size: 12px;
|
|
43
43
|
line-height: 18px;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
47
|
-
.source-code .info-wrap .title[data-v-
|
|
47
|
+
.source-code .info-wrap .title[data-v-4c72b8c0] {
|
|
48
48
|
font-size: 12px;
|
|
49
49
|
line-height: 18px;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
@media (max-width: 600px) {
|
|
53
|
-
.source-code .info-wrap .title[data-v-
|
|
53
|
+
.source-code .info-wrap .title[data-v-4c72b8c0] {
|
|
54
54
|
font-size: 12px;
|
|
55
55
|
line-height: 18px;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
59
|
-
.source-code .info-wrap .title[data-v-
|
|
59
|
+
.source-code .info-wrap .title[data-v-4c72b8c0] {
|
|
60
60
|
font-size: 16px;
|
|
61
61
|
line-height: 24px;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
@media (min-width: 1201px) and (max-width: 1680px) and (min-width: 1201px) and (max-width: 1680px) {
|
|
65
|
-
.source-code .info-wrap .title[data-v-
|
|
65
|
+
.source-code .info-wrap .title[data-v-4c72b8c0] {
|
|
66
66
|
font-size: 14px;
|
|
67
67
|
line-height: 22px;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
@media (min-width: 1201px) and (max-width: 1680px) and (min-width: 841px) and (max-width: 1200px) {
|
|
71
|
-
.source-code .info-wrap .title[data-v-
|
|
71
|
+
.source-code .info-wrap .title[data-v-4c72b8c0] {
|
|
72
72
|
font-size: 14px;
|
|
73
73
|
line-height: 22px;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
@media (min-width: 1201px) and (max-width: 1680px) and (min-width: 601px) and (max-width: 840px) {
|
|
77
|
-
.source-code .info-wrap .title[data-v-
|
|
77
|
+
.source-code .info-wrap .title[data-v-4c72b8c0] {
|
|
78
78
|
font-size: 14px;
|
|
79
79
|
line-height: 22px;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
@media (min-width: 1201px) and (max-width: 1680px) and (max-width: 600px) {
|
|
83
|
-
.source-code .info-wrap .title[data-v-
|
|
83
|
+
.source-code .info-wrap .title[data-v-4c72b8c0] {
|
|
84
84
|
font-size: 12px;
|
|
85
85
|
line-height: 18px;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
@media (max-width: 1200px) {
|
|
89
|
-
.source-code .info-wrap .title[data-v-
|
|
89
|
+
.source-code .info-wrap .title[data-v-4c72b8c0] {
|
|
90
90
|
font-size: 18px;
|
|
91
91
|
line-height: 26px;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
@media (max-width: 1200px) and (min-width: 1201px) and (max-width: 1680px) {
|
|
95
|
-
.source-code .info-wrap .title[data-v-
|
|
95
|
+
.source-code .info-wrap .title[data-v-4c72b8c0] {
|
|
96
96
|
font-size: 16px;
|
|
97
97
|
line-height: 24px;
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
@media (max-width: 1200px) and (min-width: 841px) and (max-width: 1200px) {
|
|
101
|
-
.source-code .info-wrap .title[data-v-
|
|
101
|
+
.source-code .info-wrap .title[data-v-4c72b8c0] {
|
|
102
102
|
font-size: 14px;
|
|
103
103
|
line-height: 22px;
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
@media (max-width: 1200px) and (min-width: 601px) and (max-width: 840px) {
|
|
107
|
-
.source-code .info-wrap .title[data-v-
|
|
107
|
+
.source-code .info-wrap .title[data-v-4c72b8c0] {
|
|
108
108
|
font-size: 14px;
|
|
109
109
|
line-height: 22px;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
@media (max-width: 1200px) and (max-width: 600px) {
|
|
113
|
-
.source-code .info-wrap .title[data-v-
|
|
113
|
+
.source-code .info-wrap .title[data-v-4c72b8c0] {
|
|
114
114
|
font-size: 14px;
|
|
115
115
|
line-height: 22px;
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
.
|
|
119
|
-
background: var(--o-color-control5-light);
|
|
120
|
-
cursor: pointer;
|
|
121
|
-
box-shadow: var(--o-shadow-1);
|
|
122
|
-
border-radius: var(--o-radius_control-xs);
|
|
123
|
-
padding: var(--o-gap-1);
|
|
124
|
-
width: 144px;
|
|
125
|
-
}
|
|
126
|
-
.hover-icon-rotate .o-icon[data-v-b9f5940a] {
|
|
118
|
+
.hover-icon-rotate .o-icon[data-v-4c72b8c0] {
|
|
127
119
|
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
128
120
|
}
|
|
129
121
|
@media (hover: hover) {
|
|
130
|
-
.hover-icon-rotate:hover .o-icon[data-v-
|
|
122
|
+
.hover-icon-rotate:hover .o-icon[data-v-4c72b8c0] {
|
|
131
123
|
transform: rotate(-180deg);
|
|
132
124
|
}
|
|
133
125
|
}
|
|
134
|
-
.icon[data-v-
|
|
126
|
+
.icon[data-v-4c72b8c0] {
|
|
135
127
|
font-size: var(--o-icon_size_control-xs);
|
|
136
128
|
margin-left: var(--o-gap-1);
|
|
137
129
|
}
|
|
138
|
-
.o-dropdown[data-v-
|
|
130
|
+
.o-dropdown[data-v-4c72b8c0] {
|
|
139
131
|
height: 100%;
|
|
140
132
|
}
|
|
141
|
-
.dropdown-active .info-wrap[data-v-
|
|
133
|
+
.dropdown-active .info-wrap[data-v-4c72b8c0] {
|
|
142
134
|
color: var(--o-color-primary1);
|
|
143
135
|
}
|
|
144
|
-
.dropdown-active .o-icon[data-v-
|
|
136
|
+
.dropdown-active .o-icon[data-v-4c72b8c0] {
|
|
145
137
|
transform: rotate(-180deg);
|
|
146
138
|
}
|
|
147
|
-
.o-dropdown-item[data-v-
|
|
139
|
+
.o-dropdown-item[data-v-4c72b8c0] {
|
|
148
140
|
background: var(--o-color-control5-light);
|
|
149
141
|
cursor: pointer;
|
|
150
|
-
border-radius: var(--o-radius_control-xs);
|
|
151
142
|
padding: var(--o-gap-1) var(--o-gap-3);
|
|
152
143
|
height: 32px;
|
|
153
144
|
--dropdown-item-text-size: 14px;
|
|
@@ -155,15 +146,12 @@
|
|
|
155
146
|
--dropdown-item-color: var(--o-color-info2);
|
|
156
147
|
}
|
|
157
148
|
@media (hover: hover) {
|
|
158
|
-
.o-dropdown-item[data-v-
|
|
149
|
+
.o-dropdown-item[data-v-4c72b8c0]:hover {
|
|
159
150
|
background: var(--o-color-control2-light);
|
|
160
151
|
}
|
|
161
152
|
}
|
|
162
|
-
.o-dropdown-item[data-v-
|
|
153
|
+
.o-dropdown-item[data-v-4c72b8c0]:active {
|
|
163
154
|
color: var(--o-color-primary1);
|
|
164
155
|
background: var(--o-color-control3-light);
|
|
165
156
|
font-weight: 600;
|
|
166
|
-
}
|
|
167
|
-
.dropdown[data-v-b9f5940a] {
|
|
168
|
-
--dropdown-list-radius: var(--o-radius-xs);
|
|
169
157
|
}
|
|
@@ -11,8 +11,10 @@ export interface CodePropsT {
|
|
|
11
11
|
target?: string;
|
|
12
12
|
icon?: string;
|
|
13
13
|
justify?: string;
|
|
14
|
+
itemRadius?: number;
|
|
14
15
|
}
|
|
15
16
|
declare const _default: import('vue').DefineComponent<CodePropsT, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CodePropsT> & Readonly<{}>, {
|
|
16
17
|
justify: string;
|
|
18
|
+
itemRadius: number;
|
|
17
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
20
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./OHeaderSourceCode.vue2.mjs";
|
|
2
2
|
import './OHeaderSourceCode.css';
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const _OHeaderSourceCode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const _OHeaderSourceCode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4c72b8c0"]]);
|
|
5
5
|
export {
|
|
6
6
|
_OHeaderSourceCode as default
|
|
7
7
|
};
|
|
@@ -13,7 +13,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
href: {},
|
|
14
14
|
target: {},
|
|
15
15
|
icon: {},
|
|
16
|
-
justify: { default: "center" }
|
|
16
|
+
justify: { default: "center" },
|
|
17
|
+
itemRadius: { default: 4 }
|
|
17
18
|
},
|
|
18
19
|
setup(__props) {
|
|
19
20
|
const itemChange = (data) => {
|
|
@@ -51,8 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51
52
|
return openBlock(), createBlock(unref(ODropdownItem), {
|
|
52
53
|
onClick: ($event) => itemChange(item),
|
|
53
54
|
key: item.href,
|
|
54
|
-
|
|
55
|
-
style: normalizeStyle({ "--dropdown-item-justify": __props.justify })
|
|
55
|
+
style: normalizeStyle({ "--dropdown-item-justify": __props.justify, "--dropdown-item-radius": `${__props.itemRadius}px` })
|
|
56
56
|
}, {
|
|
57
57
|
default: withCtx(() => [
|
|
58
58
|
createTextVNode(toDisplayString(item.label) + " ", 1),
|
|
@@ -2,6 +2,7 @@ import { App } from 'vue';
|
|
|
2
2
|
declare const OHeaderSourceCode: {
|
|
3
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./OHeaderSourceCode.vue').CodePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
4
4
|
justify: string;
|
|
5
|
+
itemRadius: number;
|
|
5
6
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
6
7
|
P: {};
|
|
7
8
|
B: {};
|
|
@@ -11,12 +12,14 @@ declare const OHeaderSourceCode: {
|
|
|
11
12
|
Defaults: {};
|
|
12
13
|
}, Readonly<import('./OHeaderSourceCode.vue').CodePropsT> & Readonly<{}>, {}, {}, {}, {}, {
|
|
13
14
|
justify: string;
|
|
15
|
+
itemRadius: number;
|
|
14
16
|
}>;
|
|
15
17
|
__isFragment?: never;
|
|
16
18
|
__isTeleport?: never;
|
|
17
19
|
__isSuspense?: never;
|
|
18
20
|
} & import('vue').ComponentOptionsBase<Readonly<import('./OHeaderSourceCode.vue').CodePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
19
21
|
justify: string;
|
|
22
|
+
itemRadius: number;
|
|
20
23
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
21
24
|
install(app: App): void;
|
|
22
25
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-a8461f7a] {
|
|
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-a8461f7a] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.o-theme-switcher-common[data-v-
|
|
9
|
+
.o-theme-switcher-common[data-v-a8461f7a] {
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: center;
|
|
12
12
|
width: var(--o-icon_size-m);
|
|
@@ -14,35 +14,35 @@
|
|
|
14
14
|
font-size: var(--o-icon_size-m);
|
|
15
15
|
}
|
|
16
16
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
17
|
-
.o-theme-switcher-common[data-v-
|
|
17
|
+
.o-theme-switcher-common[data-v-a8461f7a] {
|
|
18
18
|
width: var(--o-icon_size-s);
|
|
19
19
|
height: var(--o-icon_size-s);
|
|
20
20
|
font-size: var(--o-icon_size-s);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
.o-theme-switcher-common[data-v-
|
|
23
|
+
.o-theme-switcher-common[data-v-a8461f7a]:not(.disabled) {
|
|
24
24
|
cursor: pointer;
|
|
25
25
|
}
|
|
26
|
-
.o-theme-switcher-common:not(.disabled) .o-theme-icon[data-v-
|
|
26
|
+
.o-theme-switcher-common:not(.disabled) .o-theme-icon[data-v-a8461f7a] {
|
|
27
27
|
color: var(--o-color-info2);
|
|
28
28
|
}
|
|
29
29
|
@media (hover: hover) {
|
|
30
|
-
.o-theme-switcher-common:not(.disabled) .o-theme-icon[data-v-
|
|
30
|
+
.o-theme-switcher-common:not(.disabled) .o-theme-icon[data-v-a8461f7a]:hover {
|
|
31
31
|
color: var(--o-color-primary2);
|
|
32
32
|
background-color: var(--o-color-control2-light);
|
|
33
33
|
border-radius: var(--o-radius-xs);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
.o-theme-switcher-common:not(.disabled) .o-theme-icon[data-v-
|
|
36
|
+
.o-theme-switcher-common:not(.disabled) .o-theme-icon[data-v-a8461f7a]:active {
|
|
37
37
|
color: var(--o-color-primary3);
|
|
38
38
|
}
|
|
39
|
-
.o-theme-switcher-common.disabled[data-v-
|
|
39
|
+
.o-theme-switcher-common.disabled[data-v-a8461f7a] {
|
|
40
40
|
cursor: not-allowed;
|
|
41
41
|
}
|
|
42
|
-
.o-theme-switcher-common.disabled .o-theme-icon[data-v-
|
|
42
|
+
.o-theme-switcher-common.disabled .o-theme-icon[data-v-a8461f7a] {
|
|
43
43
|
color: var(--o-color-info4);
|
|
44
44
|
}
|
|
45
|
-
.o-theme-switcher-mobile .o-theme-switch[data-v-
|
|
45
|
+
.o-theme-switcher-mobile .o-theme-switch[data-v-a8461f7a] {
|
|
46
46
|
--switch-handler-color: var(--o-color-white);
|
|
47
47
|
--switch-color: var(--o-color-info4);
|
|
48
48
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./OHeaderTheme.vue2.mjs";
|
|
2
2
|
import './OHeaderTheme.css';
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const _OHeaderTheme = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const _OHeaderTheme = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a8461f7a"]]);
|
|
5
5
|
export {
|
|
6
6
|
_OHeaderTheme as default
|
|
7
7
|
};
|
|
@@ -21,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
21
|
setup(__props, { emit: __emit }) {
|
|
22
22
|
const props = __props;
|
|
23
23
|
const emit = __emit;
|
|
24
|
-
const {
|
|
24
|
+
const { lePadV } = useScreen();
|
|
25
25
|
const switchVal = computed({
|
|
26
26
|
get() {
|
|
27
27
|
return props.theme;
|
|
@@ -32,7 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
const isCommon = computed(() => {
|
|
35
|
-
return props.type === "common" || props.type === "auto" &&
|
|
35
|
+
return props.type === "common" || props.type === "auto" && !lePadV.value;
|
|
36
36
|
});
|
|
37
37
|
const toggleTheme = () => {
|
|
38
38
|
if (props.disabled) {
|