@opendesign-plus-test/components 0.0.1-rc.281 → 0.0.1-rc.282
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 +3 -3
- package/dist/treeshaking/components/article/components/DocTitle.mjs +2 -2
- package/dist/treeshaking/components/article/components/DocTitle.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/dist/treeshaking/components/article/components/{DocTitle.vue_vue_type_style_index_0_scoped_4ead9b6d_lang.css → DocTitle.vue_vue_type_style_index_0_scoped_d75d1e94_lang.css} +50 -50
- package/package.json +1 -1
package/dist/components.es.js
CHANGED
|
@@ -29867,11 +29867,11 @@ var $C = {
|
|
|
29867
29867
|
},
|
|
29868
29868
|
emits: ["download", "collect"],
|
|
29869
29869
|
setup(t, { emit: n }) {
|
|
29870
|
-
ce((e) => ({
|
|
29870
|
+
ce((e) => ({ a4156b22: a.value }));
|
|
29871
29871
|
let r = t, i = n, a = l(() => {
|
|
29872
29872
|
let e = oe(r.bgImage);
|
|
29873
29873
|
return e ? `url(${e})` : "none";
|
|
29874
|
-
}), s = l(() => oe(r.sourceUrl)), c = l(() => oe(r.updateTime)), m = l(() => oe(r.enableDownload)), h = l(() => oe(r.enableStar)), v = l(() => oe(r.enableCopyLink)), y = l(() => s.value || c.value || m.value || h.value || v.value), b = l(() => s.value && (m.value || h.value)), x = l(() => [
|
|
29874
|
+
}), s = l(() => oe(r.sourceUrl)), c = l(() => oe(r.updateTime)), m = l(() => oe(r.enableDownload)), h = l(() => oe(r.enableStar)), v = l(() => oe(r.enableCopyLink)), y = l(() => s.value || c.value || m.value || h.value || v.value), b = l(() => s.value && (m.value || h.value || v.value)), x = l(() => [
|
|
29875
29875
|
m.value,
|
|
29876
29876
|
h.value,
|
|
29877
29877
|
v.value,
|
|
@@ -30008,7 +30008,7 @@ var $C = {
|
|
|
30008
30008
|
_: 1
|
|
30009
30009
|
}, 8, ["visible"])) : d("", !0)], 64));
|
|
30010
30010
|
}
|
|
30011
|
-
}), [["__scopeId", "data-v-
|
|
30011
|
+
}), [["__scopeId", "data-v-d75d1e94"]]), hw = /*#__PURE__*/ i(/* @__PURE__ */ v({
|
|
30012
30012
|
__name: "OArticle",
|
|
30013
30013
|
props: {
|
|
30014
30014
|
title: {},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
2
|
import DocTitle_vue_vue_type_script_setup_true_lang_default from "./DocTitle.vue_vue_type_script_setup_true_lang.mjs";
|
|
3
|
-
import './DocTitle.
|
|
3
|
+
import './DocTitle.vue_vue_type_style_index_0_scoped_d75d1e94_lang.css';
|
|
4
4
|
// src/components/article/components/DocTitle.vue
|
|
5
|
-
var DocTitle_default = /*#__PURE__*/ _plugin_vue_export_helper_default(DocTitle_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
5
|
+
var DocTitle_default = /*#__PURE__*/ _plugin_vue_export_helper_default(DocTitle_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-d75d1e94"]]);
|
|
6
6
|
export { DocTitle_default as default };
|
|
@@ -49,7 +49,7 @@ var DocTitle_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
49
49
|
},
|
|
50
50
|
emits: ["download", "collect"],
|
|
51
51
|
setup(__props, { emit: __emit }) {
|
|
52
|
-
useCssVars((_ctx) => ({ "
|
|
52
|
+
useCssVars((_ctx) => ({ "a4156b22": bgImage.value }));
|
|
53
53
|
const props = __props;
|
|
54
54
|
const emit = __emit;
|
|
55
55
|
const bgImage = computed(() => {
|
|
@@ -62,7 +62,7 @@ var DocTitle_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
62
62
|
const enableStar = computed(() => toValue(props.enableStar));
|
|
63
63
|
const enableCopyLink = computed(() => toValue(props.enableCopyLink));
|
|
64
64
|
const showActions = computed(() => sourceUrl.value || updateTime.value || enableDownload.value || enableStar.value || enableCopyLink.value);
|
|
65
|
-
const showDivider = computed(() => sourceUrl.value && (enableDownload.value || enableStar.value));
|
|
65
|
+
const showDivider = computed(() => sourceUrl.value && (enableDownload.value || enableStar.value || enableCopyLink.value));
|
|
66
66
|
const actionCount = computed(() => [
|
|
67
67
|
enableDownload.value,
|
|
68
68
|
enableStar.value,
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-d75d1e94] {
|
|
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-d75d1e94] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.o-doc-title[data-v-
|
|
9
|
+
.o-doc-title[data-v-d75d1e94] {
|
|
10
10
|
align-items: center;
|
|
11
11
|
justify-content: space-between;
|
|
12
12
|
gap: 12px;
|
|
13
13
|
padding: 16px;
|
|
14
14
|
border-radius: var(--o-radius-xs);
|
|
15
|
-
background-image: var(--
|
|
15
|
+
background-image: var(--a4156b22);
|
|
16
16
|
background-position: 100% 100%;
|
|
17
17
|
background-repeat: no-repeat;
|
|
18
18
|
background-size: cover;
|
|
19
19
|
}
|
|
20
20
|
@media (max-width: 1680px) {
|
|
21
|
-
.o-doc-title[data-v-
|
|
21
|
+
.o-doc-title[data-v-d75d1e94] {
|
|
22
22
|
gap: 8px;
|
|
23
23
|
padding: 12px;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
@media (max-width: 1200px) {
|
|
27
|
-
.o-doc-title[data-v-
|
|
27
|
+
.o-doc-title[data-v-d75d1e94] {
|
|
28
28
|
gap: 8px;
|
|
29
29
|
padding: 8px;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
@media (max-width: 840px) {
|
|
33
|
-
.o-doc-title[data-v-
|
|
33
|
+
.o-doc-title[data-v-d75d1e94] {
|
|
34
34
|
gap: 12px;
|
|
35
35
|
padding: 16px;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
.o-doc-title .o-doc-title-content[data-v-
|
|
38
|
+
.o-doc-title .o-doc-title-content[data-v-d75d1e94] {
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
gap: 8px;
|
|
42
42
|
min-width: 0;
|
|
43
43
|
}
|
|
44
|
-
.o-doc-title .o-doc-title-text[data-v-
|
|
44
|
+
.o-doc-title .o-doc-title-text[data-v-d75d1e94] h1 {
|
|
45
45
|
margin-top: 0;
|
|
46
46
|
margin-bottom: 0;
|
|
47
47
|
overflow-wrap: break-word;
|
|
@@ -51,192 +51,192 @@
|
|
|
51
51
|
line-height: 44px;
|
|
52
52
|
}
|
|
53
53
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
54
|
-
.o-doc-title .o-doc-title-text[data-v-
|
|
54
|
+
.o-doc-title .o-doc-title-text[data-v-d75d1e94] h1 {
|
|
55
55
|
font-size: 20px;
|
|
56
56
|
line-height: 28px;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
60
|
-
.o-doc-title .o-doc-title-text[data-v-
|
|
60
|
+
.o-doc-title .o-doc-title-text[data-v-d75d1e94] h1 {
|
|
61
61
|
font-size: 20px;
|
|
62
62
|
line-height: 28px;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
66
|
-
.o-doc-title .o-doc-title-text[data-v-
|
|
66
|
+
.o-doc-title .o-doc-title-text[data-v-d75d1e94] h1 {
|
|
67
67
|
font-size: 18px;
|
|
68
68
|
line-height: 26px;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
@media (max-width: 600px) {
|
|
72
|
-
.o-doc-title .o-doc-title-text[data-v-
|
|
72
|
+
.o-doc-title .o-doc-title-text[data-v-d75d1e94] h1 {
|
|
73
73
|
font-size: 16px;
|
|
74
74
|
line-height: 24px;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
.o-doc-title .o-doc-title-actions[data-v-
|
|
77
|
+
.o-doc-title .o-doc-title-actions[data-v-d75d1e94] {
|
|
78
78
|
display: flex;
|
|
79
79
|
align-items: center;
|
|
80
80
|
justify-content: space-between;
|
|
81
81
|
margin-top: 12px;
|
|
82
82
|
}
|
|
83
83
|
@media (max-width: 1680px) {
|
|
84
|
-
.o-doc-title .o-doc-title-actions[data-v-
|
|
84
|
+
.o-doc-title .o-doc-title-actions[data-v-d75d1e94] {
|
|
85
85
|
margin-top: 8px;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
@media (max-width: 840px) {
|
|
89
|
-
.o-doc-title .o-doc-title-actions[data-v-
|
|
89
|
+
.o-doc-title .o-doc-title-actions[data-v-d75d1e94] {
|
|
90
90
|
margin-top: 0;
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-more[data-v-
|
|
93
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-icon-more[data-v-d75d1e94] {
|
|
94
94
|
font-size: 24px;
|
|
95
95
|
color: var(--o-color-info2);
|
|
96
96
|
}
|
|
97
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-
|
|
97
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-d75d1e94] {
|
|
98
98
|
font-size: 16px;
|
|
99
99
|
line-height: 24px;
|
|
100
100
|
}
|
|
101
101
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
102
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-
|
|
102
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-d75d1e94] {
|
|
103
103
|
font-size: 14px;
|
|
104
104
|
line-height: 22px;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
108
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-
|
|
108
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-d75d1e94] {
|
|
109
109
|
font-size: 14px;
|
|
110
110
|
line-height: 22px;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
114
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-
|
|
114
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-d75d1e94] {
|
|
115
115
|
font-size: 14px;
|
|
116
116
|
line-height: 22px;
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
@media (max-width: 600px) {
|
|
120
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-
|
|
120
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-d75d1e94] {
|
|
121
121
|
font-size: 12px;
|
|
122
122
|
line-height: 18px;
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-
|
|
125
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-d75d1e94] .o-link-label {
|
|
126
126
|
display: flex;
|
|
127
127
|
align-items: center;
|
|
128
128
|
}
|
|
129
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-
|
|
129
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-d75d1e94] {
|
|
130
130
|
font-size: 22px;
|
|
131
131
|
line-height: 30px;
|
|
132
132
|
}
|
|
133
133
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
134
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-
|
|
134
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-d75d1e94] {
|
|
135
135
|
font-size: 18px;
|
|
136
136
|
line-height: 26px;
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
140
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-
|
|
140
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-d75d1e94] {
|
|
141
141
|
font-size: 16px;
|
|
142
142
|
line-height: 24px;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
146
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-
|
|
146
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-d75d1e94] {
|
|
147
147
|
font-size: 16px;
|
|
148
148
|
line-height: 24px;
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
@media (max-width: 600px) {
|
|
152
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-
|
|
152
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-d75d1e94] {
|
|
153
153
|
font-size: 16px;
|
|
154
154
|
line-height: 24px;
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-
|
|
157
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-d75d1e94] {
|
|
158
158
|
color: var(--o-color-info3);
|
|
159
159
|
font-size: 14px;
|
|
160
160
|
line-height: 22px;
|
|
161
161
|
}
|
|
162
162
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
163
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-
|
|
163
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-d75d1e94] {
|
|
164
164
|
font-size: 14px;
|
|
165
165
|
line-height: 18px;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
169
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-
|
|
169
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-d75d1e94] {
|
|
170
170
|
font-size: 12px;
|
|
171
171
|
line-height: 18px;
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
175
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-
|
|
175
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-d75d1e94] {
|
|
176
176
|
font-size: 12px;
|
|
177
177
|
line-height: 18px;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
@media (max-width: 600px) {
|
|
181
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-
|
|
181
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-d75d1e94] {
|
|
182
182
|
font-size: 12px;
|
|
183
183
|
line-height: 18px;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-actions-left[data-v-
|
|
186
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-actions-left[data-v-d75d1e94] {
|
|
187
187
|
display: flex;
|
|
188
188
|
align-items: center;
|
|
189
189
|
gap: 12px;
|
|
190
190
|
}
|
|
191
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-download[data-v-
|
|
192
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-star[data-v-
|
|
193
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-copy[data-v-
|
|
191
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-icon-download[data-v-d75d1e94],
|
|
192
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-icon-star[data-v-d75d1e94],
|
|
193
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-icon-copy[data-v-d75d1e94] {
|
|
194
194
|
font-size: 24px;
|
|
195
195
|
cursor: pointer;
|
|
196
196
|
}
|
|
197
197
|
@media (hover: hover) {
|
|
198
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-download[data-v-
|
|
199
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-star[data-v-
|
|
200
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-copy[data-v-
|
|
198
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-icon-download[data-v-d75d1e94]:hover,
|
|
199
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-icon-star[data-v-d75d1e94]:hover,
|
|
200
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-icon-copy[data-v-d75d1e94]:hover {
|
|
201
201
|
color: var(--o-color-info1);
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
@media (max-width: 1680px) {
|
|
205
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-download[data-v-
|
|
206
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-star[data-v-
|
|
207
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-copy[data-v-
|
|
205
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-icon-download[data-v-d75d1e94],
|
|
206
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-icon-star[data-v-d75d1e94],
|
|
207
|
+
.o-doc-title .o-doc-title-actions .o-doc-title-icon-copy[data-v-d75d1e94] {
|
|
208
208
|
font-size: 20px;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
.o-doc-title.is-simple[data-v-
|
|
211
|
+
.o-doc-title.is-simple[data-v-d75d1e94] {
|
|
212
212
|
padding: 0;
|
|
213
213
|
background-image: none;
|
|
214
214
|
background-color: var(--o-color-fill2);
|
|
215
215
|
}
|
|
216
216
|
@media (max-width: 840px) {
|
|
217
|
-
.o-doc-title.first-h1[data-v-
|
|
217
|
+
.o-doc-title.first-h1[data-v-d75d1e94] {
|
|
218
218
|
display: flex;
|
|
219
219
|
justify-content: space-between;
|
|
220
220
|
align-items: center;
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
.o-doc-title-dlg-action-box-container[data-v-
|
|
223
|
+
.o-doc-title-dlg-action-box-container[data-v-d75d1e94] {
|
|
224
224
|
display: flex;
|
|
225
225
|
flex-wrap: wrap;
|
|
226
226
|
justify-content: flex-start;
|
|
227
227
|
column-gap: 8px;
|
|
228
228
|
row-gap: 24px;
|
|
229
229
|
}
|
|
230
|
-
.o-doc-title-dlg-action-box-container.is-center[data-v-
|
|
230
|
+
.o-doc-title-dlg-action-box-container.is-center[data-v-d75d1e94] {
|
|
231
231
|
justify-content: center;
|
|
232
232
|
}
|
|
233
|
-
.o-doc-title-dlg-action-box-container .o-doc-title-dlg-action-box[data-v-
|
|
233
|
+
.o-doc-title-dlg-action-box-container .o-doc-title-dlg-action-box[data-v-d75d1e94] {
|
|
234
234
|
flex: 0 0 calc(33.333% - 8px);
|
|
235
235
|
align-items: center;
|
|
236
236
|
display: flex;
|
|
237
237
|
flex-direction: column;
|
|
238
238
|
}
|
|
239
|
-
.o-doc-title-dlg-action-box-container .o-doc-title-dlg-action-box-icon[data-v-
|
|
239
|
+
.o-doc-title-dlg-action-box-container .o-doc-title-dlg-action-box-icon[data-v-d75d1e94] {
|
|
240
240
|
display: flex;
|
|
241
241
|
justify-content: center;
|
|
242
242
|
align-items: center;
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
border-radius: 50%;
|
|
247
247
|
font-size: 24px;
|
|
248
248
|
}
|
|
249
|
-
.o-doc-title-dlg-action-box-container .o-doc-title-dlg-action-box-label[data-v-
|
|
249
|
+
.o-doc-title-dlg-action-box-container .o-doc-title-dlg-action-box-label[data-v-d75d1e94] {
|
|
250
250
|
margin-top: 8px;
|
|
251
251
|
color: var(--o-color-info1);
|
|
252
252
|
}
|