@opendesign-plus-test/components 0.0.1-rc.120 → 0.0.1-rc.121
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.cjs.js +1 -1
- package/dist/components.css +1 -1
- package/dist/components.es.js +7 -7
- 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 +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-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/package.json +1 -1
package/dist/components.es.js
CHANGED
|
@@ -43770,7 +43770,7 @@ const f9 = { name: "events-icon-checked", render: h9 }, p9 = { class: "o-events-
|
|
|
43770
43770
|
}),
|
|
43771
43771
|
emits: /* @__PURE__ */ En(["change", "close", "submit"], ["update:efficiency", "update:accuracy", "update:completeness", "update:usability", "update:feedback"]),
|
|
43772
43772
|
setup(s, { emit: e }) {
|
|
43773
|
-
const t = An(null), {
|
|
43773
|
+
const t = An(null), { lePadV: i } = gi(), { locale: n, t: r } = ti(), a = s, o = Xt(s, "efficiency"), u = Xt(s, "accuracy"), c = Xt(s, "completeness"), m = Xt(s, "usability"), g = Xt(s, "feedback"), C = e, T = Nu([
|
|
43774
43774
|
{
|
|
43775
43775
|
key: "efficiency",
|
|
43776
43776
|
name: {
|
|
@@ -43969,7 +43969,7 @@ const f9 = { name: "events-icon-checked", render: h9 }, p9 = { class: "o-events-
|
|
|
43969
43969
|
]))
|
|
43970
43970
|
]));
|
|
43971
43971
|
}
|
|
43972
|
-
}), Do = /* @__PURE__ */ Pt(L9, [["__scopeId", "data-v-
|
|
43972
|
+
}), Do = /* @__PURE__ */ Pt(L9, [["__scopeId", "data-v-28bdd67f"]]), V9 = /* @__PURE__ */ lt({
|
|
43973
43973
|
__name: "OFeedbackDocPopup",
|
|
43974
43974
|
props: /* @__PURE__ */ En({
|
|
43975
43975
|
visible: { type: Boolean, default: !1 },
|
|
@@ -44164,7 +44164,7 @@ const N9 = { name: "components-icon-smile", render: q9 }, B9 = /* @__PURE__ */ l
|
|
|
44164
44164
|
}),
|
|
44165
44165
|
emits: ["update:efficiency", "update:accuracy", "update:completeness", "update:usability", "update:feedback"],
|
|
44166
44166
|
setup(s) {
|
|
44167
|
-
const e = Xt(s, "efficiency"), t = Xt(s, "accuracy"), i = Xt(s, "completeness"), n = Xt(s, "usability"), r = Xt(s, "feedback"), {
|
|
44167
|
+
const e = Xt(s, "efficiency"), t = Xt(s, "accuracy"), i = Xt(s, "completeness"), n = Xt(s, "usability"), r = Xt(s, "feedback"), { lePadV: a } = gi(), o = le(), u = le(!1), c = le(!1), m = le(!0);
|
|
44168
44168
|
let g;
|
|
44169
44169
|
const C = () => {
|
|
44170
44170
|
a.value || (clearTimeout(g), c.value = !0);
|
|
@@ -44243,7 +44243,7 @@ const N9 = { name: "components-icon-smile", render: q9 }, B9 = /* @__PURE__ */ l
|
|
|
44243
44243
|
}, null, 8, ["efficiency", "accuracy", "completeness", "usability", "feedback", "visible", "target", "auto-hide", "wrapper", "position", "disable-tip", "offset", "submit-data", "submit-issue"]))
|
|
44244
44244
|
], 32));
|
|
44245
44245
|
}
|
|
44246
|
-
}), O0 = /* @__PURE__ */ Pt(B9, [["__scopeId", "data-v-
|
|
44246
|
+
}), O0 = /* @__PURE__ */ Pt(B9, [["__scopeId", "data-v-12fab110"]]), Lk = Object.assign(O0, {
|
|
44247
44247
|
install(s) {
|
|
44248
44248
|
s.component("OFeedbackDoc", O0);
|
|
44249
44249
|
}
|
|
@@ -46965,14 +46965,14 @@ const qE = { name: "components-icon-moon", render: RE }, NE = { class: "o-theme-
|
|
|
46965
46965
|
},
|
|
46966
46966
|
emits: ["update:theme", "change"],
|
|
46967
46967
|
setup(s, { emit: e }) {
|
|
46968
|
-
const t = s, i = e, {
|
|
46968
|
+
const t = s, i = e, { lePadV: n } = gi(), r = De({
|
|
46969
46969
|
get() {
|
|
46970
46970
|
return t.theme;
|
|
46971
46971
|
},
|
|
46972
46972
|
set(u) {
|
|
46973
46973
|
i("update:theme", u), i("change", u);
|
|
46974
46974
|
}
|
|
46975
|
-
}), a = De(() => t.type === "common" || t.type === "auto" && n.value), o = () => {
|
|
46975
|
+
}), a = De(() => t.type === "common" || t.type === "auto" && !n.value), o = () => {
|
|
46976
46976
|
t.disabled || (r.value = r.value === t.lightValue ? t.darkValue : t.lightValue);
|
|
46977
46977
|
};
|
|
46978
46978
|
return (u, c) => (b(), O("div", NE, [
|
|
@@ -47013,7 +47013,7 @@ const qE = { name: "components-icon-moon", render: RE }, NE = { class: "o-theme-
|
|
|
47013
47013
|
]))
|
|
47014
47014
|
]));
|
|
47015
47015
|
}
|
|
47016
|
-
}), U0 = /* @__PURE__ */ Pt(FE, [["__scopeId", "data-v-
|
|
47016
|
+
}), U0 = /* @__PURE__ */ Pt(FE, [["__scopeId", "data-v-a8461f7a"]]), zk = Object.assign(U0, {
|
|
47017
47017
|
install(s) {
|
|
47018
47018
|
s.component("OHeaderTheme", U0);
|
|
47019
47019
|
}
|
|
@@ -84,6 +84,11 @@
|
|
|
84
84
|
justify-content: space-between;
|
|
85
85
|
margin-right: var(--o-gap-4);
|
|
86
86
|
}
|
|
87
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
88
|
+
.o-events-calendar .collapse-header {
|
|
89
|
+
margin-right: var(--o-gap-3);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
87
92
|
@media (max-width: 840px) {
|
|
88
93
|
.o-events-calendar .collapse-header {
|
|
89
94
|
flex-direction: column;
|
|
@@ -257,6 +257,9 @@
|
|
|
257
257
|
--tag-color: rgb(var(--o-white));
|
|
258
258
|
--tag-bg-color: rgba(var(--o-black), 0.25);
|
|
259
259
|
--tag-padding: var(--o-gap-1) var(--o-gap-3);
|
|
260
|
+
--tag-text-size: 12px;
|
|
261
|
+
--tag-text-height: 18px;
|
|
262
|
+
--tag-height: 24px;
|
|
260
263
|
border: none;
|
|
261
264
|
border-radius: var(--events-tag-radius);
|
|
262
265
|
}
|
|
@@ -265,6 +268,13 @@
|
|
|
265
268
|
--tag-padding: var(--o-gap-1);
|
|
266
269
|
}
|
|
267
270
|
}
|
|
271
|
+
.o-events-list .list-content .o-card .o-card-content .tags-wrapper .o-tag .o-tag-icon {
|
|
272
|
+
height: 16px;
|
|
273
|
+
}
|
|
274
|
+
.o-events-list .list-content .o-card .o-card-content .tags-wrapper .o-tag .o-tag-icon svg {
|
|
275
|
+
width: 16px;
|
|
276
|
+
height: 16px;
|
|
277
|
+
}
|
|
268
278
|
.o-events-list .list-content .o-card .o-card-content .event-name {
|
|
269
279
|
font-weight: 500;
|
|
270
280
|
text-align: center;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-12fab110] {
|
|
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-12fab110] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.o-feedback-doc-wrap[data-v-
|
|
9
|
+
.o-feedback-doc-wrap[data-v-12fab110] {
|
|
10
10
|
display: inline-flex;
|
|
11
11
|
align-items: center;
|
|
12
12
|
justify-content: center;
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
cursor: pointer;
|
|
15
15
|
}
|
|
16
16
|
@media (hover: hover) {
|
|
17
|
-
.o-feedback-doc-wrap[data-v-
|
|
17
|
+
.o-feedback-doc-wrap[data-v-12fab110]:hover {
|
|
18
18
|
color: var(--o-color-primary1);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
.o-feedback-doc-wrap .o-feedback-icon-smile[data-v-
|
|
21
|
+
.o-feedback-doc-wrap .o-feedback-icon-smile[data-v-12fab110] {
|
|
22
22
|
font-size: 24px;
|
|
23
23
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./OFeedbackDoc.vue2.mjs";
|
|
2
2
|
import './OFeedbackDoc.css';
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const _OFeedbackDoc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const _OFeedbackDoc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-12fab110"]]);
|
|
5
5
|
export {
|
|
6
6
|
_OFeedbackDoc as default
|
|
7
7
|
};
|
|
@@ -43,21 +43,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
43
|
const completenessRate = useModel(__props, "completeness");
|
|
44
44
|
const usabilityRate = useModel(__props, "usability");
|
|
45
45
|
const feedback = useModel(__props, "feedback");
|
|
46
|
-
const {
|
|
46
|
+
const { lePadV } = useScreen();
|
|
47
47
|
const feedbackRef = ref();
|
|
48
48
|
const showDlg = ref(false);
|
|
49
49
|
const showPopup = ref(false);
|
|
50
50
|
const autoHide = ref(true);
|
|
51
51
|
let timer;
|
|
52
52
|
const onMouseEnter = () => {
|
|
53
|
-
if (
|
|
53
|
+
if (lePadV.value) {
|
|
54
54
|
return;
|
|
55
55
|
}
|
|
56
56
|
clearTimeout(timer);
|
|
57
57
|
showPopup.value = true;
|
|
58
58
|
};
|
|
59
59
|
const onMouseLeave = () => {
|
|
60
|
-
if (
|
|
60
|
+
if (lePadV.value) {
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
63
|
if (!autoHide.value) {
|
|
@@ -82,7 +82,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82
82
|
autoHide.value = false;
|
|
83
83
|
};
|
|
84
84
|
const onClick = () => {
|
|
85
|
-
if (!
|
|
85
|
+
if (!lePadV.value) {
|
|
86
86
|
return;
|
|
87
87
|
}
|
|
88
88
|
showDlg.value = true;
|
|
@@ -107,7 +107,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
107
107
|
_: 1
|
|
108
108
|
}, 512)
|
|
109
109
|
], true),
|
|
110
|
-
unref(
|
|
110
|
+
unref(lePadV) ? (openBlock(), createBlock(_sfc_main$1, {
|
|
111
111
|
key: 0,
|
|
112
112
|
visible: showDlg.value,
|
|
113
113
|
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => showDlg.value = $event),
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-28bdd67f] {
|
|
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-28bdd67f] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.o-feedback-doc[data-v-
|
|
9
|
+
.o-feedback-doc[data-v-28bdd67f] {
|
|
10
10
|
position: relative;
|
|
11
11
|
color: var(--o-color-info1);
|
|
12
12
|
text-align: center;
|
|
13
13
|
}
|
|
14
|
-
.o-feedback-doc .o-feedback-icon-close[data-v-
|
|
14
|
+
.o-feedback-doc .o-feedback-icon-close[data-v-28bdd67f] {
|
|
15
15
|
position: absolute;
|
|
16
16
|
top: -8px;
|
|
17
17
|
right: -6px;
|
|
@@ -21,70 +21,70 @@
|
|
|
21
21
|
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
22
22
|
}
|
|
23
23
|
@media (hover: hover) {
|
|
24
|
-
.o-feedback-doc .o-feedback-icon-close[data-v-
|
|
24
|
+
.o-feedback-doc .o-feedback-icon-close[data-v-28bdd67f]:hover {
|
|
25
25
|
transform: rotate(180deg);
|
|
26
26
|
color: var(--o-color-primary1);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
.o-feedback-doc .o-feedback-title[data-v-
|
|
29
|
+
.o-feedback-doc .o-feedback-title[data-v-28bdd67f] {
|
|
30
30
|
font-size: 14px;
|
|
31
31
|
line-height: 22px;
|
|
32
32
|
font-weight: 600;
|
|
33
33
|
margin-bottom: 12px;
|
|
34
34
|
}
|
|
35
|
-
@media (max-width:
|
|
36
|
-
.o-feedback-doc .o-feedback-title[data-v-
|
|
35
|
+
@media (max-width: 840px) {
|
|
36
|
+
.o-feedback-doc .o-feedback-title[data-v-28bdd67f] {
|
|
37
37
|
font-size: 18px;
|
|
38
38
|
line-height: 26px;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
.o-feedback-doc .o-feedback-star-wrap[data-v-
|
|
41
|
+
.o-feedback-doc .o-feedback-star-wrap[data-v-28bdd67f] {
|
|
42
42
|
padding: 0 16px;
|
|
43
43
|
}
|
|
44
|
-
@media (max-width:
|
|
45
|
-
.o-feedback-doc .o-feedback-star-wrap[data-v-
|
|
44
|
+
@media (max-width: 840px) {
|
|
45
|
+
.o-feedback-doc .o-feedback-star-wrap[data-v-28bdd67f] {
|
|
46
46
|
padding: 0 24px;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
.o-feedback-doc .o-feedback-doc-title[data-v-
|
|
49
|
+
.o-feedback-doc .o-feedback-doc-title[data-v-28bdd67f] {
|
|
50
50
|
margin-right: 16px;
|
|
51
51
|
font-size: 12px;
|
|
52
52
|
line-height: 18px;
|
|
53
53
|
color: var(--o-color-info2);
|
|
54
54
|
text-align: left;
|
|
55
55
|
}
|
|
56
|
-
@media (max-width:
|
|
57
|
-
.o-feedback-doc .o-feedback-doc-title[data-v-
|
|
56
|
+
@media (max-width: 840px) {
|
|
57
|
+
.o-feedback-doc .o-feedback-doc-title[data-v-28bdd67f] {
|
|
58
58
|
font-size: 14px;
|
|
59
59
|
line-height: 22px;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
.o-feedback-doc .o-feedback-star-line[data-v-
|
|
62
|
+
.o-feedback-doc .o-feedback-star-line[data-v-28bdd67f] {
|
|
63
63
|
display: flex;
|
|
64
64
|
align-items: center;
|
|
65
65
|
justify-content: space-between;
|
|
66
66
|
margin-top: 12px;
|
|
67
67
|
}
|
|
68
|
-
.o-feedback-doc .o-feedback-doc-rate[data-v-
|
|
68
|
+
.o-feedback-doc .o-feedback-doc-rate[data-v-28bdd67f] {
|
|
69
69
|
--rate-size: 16px;
|
|
70
70
|
}
|
|
71
|
-
@media (max-width:
|
|
72
|
-
.o-feedback-doc .o-feedback-doc-rate[data-v-
|
|
71
|
+
@media (max-width: 840px) {
|
|
72
|
+
.o-feedback-doc .o-feedback-doc-rate[data-v-28bdd67f] {
|
|
73
73
|
--rate-size: 32px;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
.o-feedback-doc .o-feedback-input-wrap[data-v-
|
|
76
|
+
.o-feedback-doc .o-feedback-input-wrap[data-v-28bdd67f] {
|
|
77
77
|
margin-top: 12px;
|
|
78
78
|
}
|
|
79
|
-
@media (max-width:
|
|
80
|
-
.o-feedback-doc .o-feedback-input-wrap[data-v-
|
|
79
|
+
@media (max-width: 840px) {
|
|
80
|
+
.o-feedback-doc .o-feedback-input-wrap[data-v-28bdd67f] {
|
|
81
81
|
padding: 0 8px;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
.o-feedback-doc .o-feedback-input[data-v-
|
|
84
|
+
.o-feedback-doc .o-feedback-input[data-v-28bdd67f] {
|
|
85
85
|
width: 100%;
|
|
86
86
|
}
|
|
87
|
-
.o-feedback-doc .o-feedback-doc-submit[data-v-
|
|
87
|
+
.o-feedback-doc .o-feedback-doc-submit[data-v-28bdd67f] {
|
|
88
88
|
display: flex;
|
|
89
89
|
justify-content: center;
|
|
90
90
|
align-items: center;
|
|
@@ -94,13 +94,13 @@
|
|
|
94
94
|
font-size: 14px;
|
|
95
95
|
line-height: 22px;
|
|
96
96
|
}
|
|
97
|
-
.o-feedback-doc-btn-box[data-v-
|
|
97
|
+
.o-feedback-doc-btn-box[data-v-28bdd67f] {
|
|
98
98
|
display: flex;
|
|
99
99
|
align-items: center;
|
|
100
100
|
justify-content: space-around;
|
|
101
101
|
margin-top: 16px;
|
|
102
102
|
}
|
|
103
|
-
.o-feedback-doc-btn-box .o-btn[data-v-
|
|
103
|
+
.o-feedback-doc-btn-box .o-btn[data-v-28bdd67f] {
|
|
104
104
|
flex: 1;
|
|
105
105
|
padding: 2px 0;
|
|
106
106
|
font-size: 16px;
|
|
@@ -110,6 +110,6 @@
|
|
|
110
110
|
--btn-padding: 0 50px;
|
|
111
111
|
--btn-color: var(--o-color-info1);
|
|
112
112
|
}
|
|
113
|
-
.o-feedback-doc-btn-box .divider-btn[data-v-
|
|
113
|
+
.o-feedback-doc-btn-box .divider-btn[data-v-28bdd67f] {
|
|
114
114
|
height: 24px;
|
|
115
115
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./OFeedbackDocContent.vue2.mjs";
|
|
2
2
|
import './OFeedbackDocContent.css';
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const _OFeedbackDocContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const _OFeedbackDocContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-28bdd67f"]]);
|
|
5
5
|
export {
|
|
6
6
|
_OFeedbackDocContent as default
|
|
7
7
|
};
|
|
@@ -51,7 +51,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51
51
|
emits: /* @__PURE__ */ mergeModels(["change", "close", "submit"], ["update:efficiency", "update:accuracy", "update:completeness", "update:usability", "update:feedback"]),
|
|
52
52
|
setup(__props, { emit: __emit }) {
|
|
53
53
|
const message = useMessage(null);
|
|
54
|
-
const {
|
|
54
|
+
const { lePadV } = useScreen();
|
|
55
55
|
const { locale, t } = useI18n();
|
|
56
56
|
const props = __props;
|
|
57
57
|
const efficiencyRate = useModel(__props, "efficiency");
|
|
@@ -184,7 +184,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
184
184
|
modelValue: item.value,
|
|
185
185
|
"onUpdate:modelValue": ($event) => item.value = $event,
|
|
186
186
|
class: "o-feedback-doc-rate",
|
|
187
|
-
size: unref(
|
|
187
|
+
size: unref(lePadV) ? "large" : "medium",
|
|
188
188
|
count: 5,
|
|
189
189
|
color: "primary",
|
|
190
190
|
onChange: ($event) => onRateChange(item)
|
|
@@ -202,7 +202,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
202
202
|
placeholder: unref(t)("feedback.placeholder")
|
|
203
203
|
}, null, 8, ["modelValue", "placeholder"])
|
|
204
204
|
])) : createCommentVNode("", true),
|
|
205
|
-
unref(
|
|
205
|
+
unref(lePadV) ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
206
206
|
showInput.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
207
207
|
createVNode(unref(OButton), {
|
|
208
208
|
color: "normal",
|
|
@@ -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) {
|