@opendesign-plus-test/components 0.0.1-rc.197 → 0.0.1-rc.199
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.es.js
CHANGED
|
@@ -49649,7 +49649,7 @@ const kI = { class: "o-html-viewer" }, DI = ["aria-label"], II = {
|
|
|
49649
49649
|
])) : te("", !0)
|
|
49650
49650
|
]));
|
|
49651
49651
|
}
|
|
49652
|
-
}), Hf = /* @__PURE__ */ st(MI, [["__scopeId", "data-v-
|
|
49652
|
+
}), Hf = /* @__PURE__ */ st(MI, [["__scopeId", "data-v-b2bd1f4a"]]), _B = Object.assign(Hf, {
|
|
49653
49653
|
install(i) {
|
|
49654
49654
|
i.component("OHtmlViewer", Hf);
|
|
49655
49655
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-b2bd1f4a] {
|
|
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-b2bd1f4a] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.o-html-viewer[data-v-
|
|
9
|
+
.o-html-viewer[data-v-b2bd1f4a] {
|
|
10
10
|
position: relative;
|
|
11
11
|
width: 100%;
|
|
12
12
|
}
|
|
13
|
-
.o-html-viewer__status[data-v-
|
|
13
|
+
.o-html-viewer__status[data-v-b2bd1f4a] {
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
justify-content: center;
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
line-height: 22px;
|
|
21
21
|
color: var(--o-color-info2);
|
|
22
22
|
}
|
|
23
|
-
.o-html-viewer__status.is-error[data-v-
|
|
23
|
+
.o-html-viewer__status.is-error[data-v-b2bd1f4a] {
|
|
24
24
|
color: var(--o-color-info3);
|
|
25
25
|
}
|
|
26
|
-
.o-html-viewer__body[data-v-
|
|
26
|
+
.o-html-viewer__body[data-v-b2bd1f4a] {
|
|
27
27
|
max-width: 1200px;
|
|
28
28
|
margin: 0 auto;
|
|
29
29
|
font-family: var(--doc-font-body, "SimSun", "宋体", "Times New Roman", serif);
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
word-wrap: break-word;
|
|
35
35
|
overflow-wrap: break-word;
|
|
36
36
|
}
|
|
37
|
-
.o-html-viewer__body[data-v-
|
|
37
|
+
.o-html-viewer__body[data-v-b2bd1f4a] .title_content {
|
|
38
38
|
color: var(--o-color-info1);
|
|
39
39
|
}
|
|
40
|
-
.o-html-viewer__body[data-v-
|
|
40
|
+
.o-html-viewer__body[data-v-b2bd1f4a] .body_content {
|
|
41
41
|
padding: 0;
|
|
42
42
|
}
|
|
43
|
-
.o-html-viewer__body[data-v-
|
|
43
|
+
.o-html-viewer__body[data-v-b2bd1f4a] .ropa_base_information .content {
|
|
44
44
|
padding-left: 0;
|
|
45
45
|
}
|
|
46
|
-
.o-html-viewer__body[data-v-
|
|
46
|
+
.o-html-viewer__body[data-v-b2bd1f4a] .ropa_base_information .content ul, .o-html-viewer__body[data-v-b2bd1f4a] .ropa_base_information .content ol {
|
|
47
47
|
padding-left: 0;
|
|
48
48
|
}
|
|
49
|
-
.o-html-viewer__body[data-v-
|
|
49
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(h1) {
|
|
50
50
|
font-family: var(--doc-font-heading, "SimHei", "黑体", "Arial", sans-serif);
|
|
51
51
|
font-size: 22px;
|
|
52
52
|
font-weight: bold;
|
|
@@ -56,17 +56,15 @@
|
|
|
56
56
|
border-bottom: 2px solid var(--o-color-primary1);
|
|
57
57
|
line-height: 1.4;
|
|
58
58
|
}
|
|
59
|
-
.o-html-viewer__body[data-v-
|
|
59
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(h2) {
|
|
60
60
|
font-family: var(--doc-font-heading, "SimHei", "黑体", "Arial", sans-serif);
|
|
61
61
|
font-size: 18px;
|
|
62
62
|
font-weight: bold;
|
|
63
63
|
color: var(--o-color-primary1);
|
|
64
|
-
margin: 2.2rem 0 1rem;
|
|
65
64
|
padding-bottom: 0.3rem;
|
|
66
|
-
border-bottom: 1px solid var(--o-color-control4);
|
|
67
65
|
line-height: 1.4;
|
|
68
66
|
}
|
|
69
|
-
.o-html-viewer__body[data-v-
|
|
67
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(h3) {
|
|
70
68
|
font-family: var(--doc-font-heading, "SimHei", "黑体", "Arial", sans-serif);
|
|
71
69
|
font-size: 16px;
|
|
72
70
|
font-weight: bold;
|
|
@@ -74,7 +72,7 @@
|
|
|
74
72
|
margin: 1.8rem 0 0.8rem;
|
|
75
73
|
line-height: 1.5;
|
|
76
74
|
}
|
|
77
|
-
.o-html-viewer__body[data-v-
|
|
75
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(h4) {
|
|
78
76
|
font-family: var(--doc-font-heading, "SimHei", "黑体", "Arial", sans-serif);
|
|
79
77
|
font-size: 15px;
|
|
80
78
|
font-weight: bold;
|
|
@@ -82,7 +80,7 @@
|
|
|
82
80
|
margin: 1.5rem 0 0.6rem;
|
|
83
81
|
line-height: 1.5;
|
|
84
82
|
}
|
|
85
|
-
.o-html-viewer__body[data-v-
|
|
83
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(h5) {
|
|
86
84
|
font-family: var(--doc-font-heading, "SimHei", "黑体", "Arial", sans-serif);
|
|
87
85
|
font-size: 14px;
|
|
88
86
|
font-weight: bold;
|
|
@@ -90,7 +88,7 @@
|
|
|
90
88
|
margin: 1.2rem 0 0.5rem;
|
|
91
89
|
line-height: 1.5;
|
|
92
90
|
}
|
|
93
|
-
.o-html-viewer__body[data-v-
|
|
91
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(h6) {
|
|
94
92
|
font-family: var(--doc-font-heading, "SimHei", "黑体", "Arial", sans-serif);
|
|
95
93
|
font-size: 14px;
|
|
96
94
|
font-weight: bold;
|
|
@@ -98,69 +96,69 @@
|
|
|
98
96
|
margin: 1rem 0 0.4rem;
|
|
99
97
|
line-height: 1.5;
|
|
100
98
|
}
|
|
101
|
-
.o-html-viewer__body[data-v-
|
|
99
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(p) {
|
|
102
100
|
margin: 0.4rem 0;
|
|
103
101
|
text-align: justify;
|
|
104
102
|
}
|
|
105
|
-
.o-html-viewer__body[data-v-
|
|
103
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(a) {
|
|
106
104
|
color: var(--o-color-primary1);
|
|
107
105
|
}
|
|
108
|
-
.o-html-viewer__body[data-v-
|
|
106
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p) {
|
|
109
107
|
text-indent: 0;
|
|
110
108
|
}
|
|
111
|
-
.o-html-viewer__body[data-v-
|
|
109
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(.table-wrap) {
|
|
112
110
|
overflow-x: auto;
|
|
113
111
|
margin: 1rem 0;
|
|
114
112
|
-webkit-overflow-scrolling: touch;
|
|
115
113
|
}
|
|
116
|
-
.o-html-viewer__body[data-v-
|
|
114
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(table) {
|
|
117
115
|
border-collapse: collapse;
|
|
118
116
|
width: 100%;
|
|
119
117
|
font-size: 13px;
|
|
120
118
|
}
|
|
121
|
-
.o-html-viewer__body[data-v-
|
|
119
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(th, td) {
|
|
122
120
|
border: 1px solid var(--o-color-control1);
|
|
123
121
|
padding: 6px 10px;
|
|
124
122
|
text-align: left;
|
|
125
123
|
vertical-align: top;
|
|
126
124
|
}
|
|
127
|
-
.o-html-viewer__body[data-v-
|
|
125
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(th) {
|
|
128
126
|
background-color: var(--o-color-fill2);
|
|
129
127
|
font-family: var(--doc-font-heading, "SimHei", "黑体", "Arial", sans-serif);
|
|
130
128
|
font-weight: bold;
|
|
131
129
|
text-align: center;
|
|
132
130
|
}
|
|
133
|
-
.o-html-viewer__body[data-v-
|
|
131
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(tr:nth-child(even)) {
|
|
134
132
|
background-color: var(--o-color-fill3);
|
|
135
133
|
}
|
|
136
|
-
.o-html-viewer__body[data-v-
|
|
134
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(td p, th p) {
|
|
137
135
|
text-indent: 0;
|
|
138
136
|
margin: 0.2rem 0;
|
|
139
137
|
}
|
|
140
|
-
.o-html-viewer__body[data-v-
|
|
138
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(ul, ol) {
|
|
141
139
|
padding-left: 2em;
|
|
142
140
|
margin: 0.5rem 0;
|
|
143
141
|
}
|
|
144
|
-
.o-html-viewer__body[data-v-
|
|
142
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(li) {
|
|
145
143
|
margin-bottom: 0.3rem;
|
|
146
144
|
}
|
|
147
|
-
.o-html-viewer__body[data-v-
|
|
145
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(li p) {
|
|
148
146
|
text-indent: 0;
|
|
149
147
|
}
|
|
150
|
-
.o-html-viewer__body[data-v-
|
|
148
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(img) {
|
|
151
149
|
max-width: 100%;
|
|
152
150
|
height: auto;
|
|
153
151
|
display: block;
|
|
154
152
|
margin: 1rem auto;
|
|
155
153
|
}
|
|
156
|
-
.o-html-viewer__body[data-v-
|
|
154
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(code) {
|
|
157
155
|
font-family: var(--doc-font-mono, "Consolas", "Courier New", monospace);
|
|
158
156
|
background: var(--o-color-fill3);
|
|
159
157
|
padding: 1px 4px;
|
|
160
158
|
border-radius: 2px;
|
|
161
159
|
font-size: 0.9em;
|
|
162
160
|
}
|
|
163
|
-
.o-html-viewer__body[data-v-
|
|
161
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(pre) {
|
|
164
162
|
font-family: var(--doc-font-mono, "Consolas", "Courier New", monospace);
|
|
165
163
|
background: var(--o-color-fill3);
|
|
166
164
|
padding: 12px 16px;
|
|
@@ -172,27 +170,27 @@
|
|
|
172
170
|
max-width: 100%;
|
|
173
171
|
-webkit-overflow-scrolling: touch;
|
|
174
172
|
}
|
|
175
|
-
.o-html-viewer__body[data-v-
|
|
173
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(pre code) {
|
|
176
174
|
background: none;
|
|
177
175
|
padding: 0;
|
|
178
176
|
}
|
|
179
|
-
.o-html-viewer__body[data-v-
|
|
177
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(blockquote) {
|
|
180
178
|
border-left: 3px solid var(--o-color-primary1);
|
|
181
179
|
margin: 0.8rem 0;
|
|
182
180
|
padding: 0.5rem 1rem;
|
|
183
181
|
color: var(--o-color-info2);
|
|
184
182
|
background: var(--o-color-fill2);
|
|
185
183
|
}
|
|
186
|
-
.o-html-viewer__body[data-v-
|
|
184
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(blockquote p) {
|
|
187
185
|
text-indent: 0;
|
|
188
186
|
}
|
|
189
|
-
.o-html-viewer__body[data-v-
|
|
187
|
+
.o-html-viewer__body[data-v-b2bd1f4a] :where(hr) {
|
|
190
188
|
border: none;
|
|
191
189
|
border-top: 1px solid var(--o-color-control4);
|
|
192
190
|
margin: 1.5rem 0;
|
|
193
191
|
}
|
|
194
192
|
@media (max-width: 840px) {
|
|
195
|
-
.o-html-viewer__body[data-v-
|
|
193
|
+
.o-html-viewer__body[data-v-b2bd1f4a] {
|
|
196
194
|
padding: 24px 16px;
|
|
197
195
|
}
|
|
198
196
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./OHtmlViewer.vue2.mjs";
|
|
2
2
|
import './OHtmlViewer.css';
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const _OHtmlViewer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const _OHtmlViewer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b2bd1f4a"]]);
|
|
5
5
|
export {
|
|
6
6
|
_OHtmlViewer as default
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendesign-plus-test/components",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.199",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"vue-dompurify-html": "^3.1.2",
|
|
46
46
|
"vue": "^3.5.13",
|
|
47
47
|
"element-plus": "2.13.1",
|
|
48
|
-
"@opendesign-plus/
|
|
49
|
-
"@opendesign-plus/
|
|
48
|
+
"@opendesign-plus/composables": "0.0.1-rc.10",
|
|
49
|
+
"@opendesign-plus/styles": "0.0.1-rc.3"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@vitejs/plugin-vue": "^5.2.1",
|