@opendesign-plus/components 0.0.1-rc.94 → 0.0.1-rc.96

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.
Files changed (64) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +4 -2
  3. package/dist/components/article/OArticle.vue.d.ts +196 -14
  4. package/dist/components/article/components/ArticleTitle.vue.d.ts +22 -0
  5. package/dist/components/{markdown/components/MarkdownPageTitle.vue.d.ts → article/components/DocTitle.vue.d.ts} +6 -5
  6. package/dist/components/article/index.d.ts +126 -25
  7. package/dist/components/doc-layout/ODocLayout.vue.d.ts +38 -0
  8. package/dist/components/doc-layout/index.d.ts +59 -0
  9. package/dist/components/markdown/OMarkdown.vue.d.ts +7 -16
  10. package/dist/components/markdown/index.d.ts +13 -45
  11. package/dist/components.cjs.js +44 -44
  12. package/dist/components.css +1 -1
  13. package/dist/components.es.js +10081 -9852
  14. package/dist/index.d.ts +1 -0
  15. package/dist/treeshaking/_virtual/icon-menu-fold.mjs +20 -0
  16. package/dist/treeshaking/_virtual/icon-menu-unfold.mjs +20 -0
  17. package/dist/treeshaking/_virtual/icon-tips.mjs +13 -2
  18. package/dist/treeshaking/_virtual/icon-tips2.mjs +2 -13
  19. package/dist/treeshaking/components/article/OArticle.css +18 -124
  20. package/dist/treeshaking/components/article/OArticle.vue.d.ts +196 -14
  21. package/dist/treeshaking/components/article/OArticle.vue.mjs +1 -1
  22. package/dist/treeshaking/components/article/OArticle.vue2.mjs +48 -82
  23. package/dist/treeshaking/components/article/components/ArticleTitle.css +123 -0
  24. package/dist/treeshaking/components/article/components/ArticleTitle.vue.d.ts +22 -0
  25. package/dist/treeshaking/components/article/components/ArticleTitle.vue.mjs +7 -0
  26. package/dist/treeshaking/components/article/components/ArticleTitle.vue2.mjs +97 -0
  27. package/dist/treeshaking/components/article/components/DocTitle.css +246 -0
  28. package/dist/treeshaking/components/{markdown/components/MarkdownPageTitle.vue.d.ts → article/components/DocTitle.vue.d.ts} +6 -5
  29. package/dist/treeshaking/components/article/components/DocTitle.vue.mjs +7 -0
  30. package/dist/treeshaking/components/{markdown/components/MarkdownPageTitle.vue2.mjs → article/components/DocTitle.vue2.mjs} +131 -80
  31. package/dist/treeshaking/components/article/index.d.ts +126 -25
  32. package/dist/treeshaking/components/article-anchor/OArticleAnchor.css +4 -4
  33. package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue.mjs +1 -1
  34. package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue2.mjs +4 -5
  35. package/dist/treeshaking/components/doc-layout/ODocLayout.css +271 -0
  36. package/dist/treeshaking/components/doc-layout/ODocLayout.vue.d.ts +38 -0
  37. package/dist/treeshaking/components/doc-layout/ODocLayout.vue.mjs +7 -0
  38. package/dist/treeshaking/components/doc-layout/ODocLayout.vue2.mjs +165 -0
  39. package/dist/treeshaking/components/doc-layout/index.d.ts +59 -0
  40. package/dist/treeshaking/components/doc-layout/index.mjs +9 -0
  41. package/dist/treeshaking/components/markdown/OMarkdown.vue.d.ts +7 -16
  42. package/dist/treeshaking/components/markdown/OMarkdown.vue.mjs +1 -1
  43. package/dist/treeshaking/components/markdown/OMarkdown.vue2.mjs +47 -36
  44. package/dist/treeshaking/components/markdown/OMarkdown2.css +3 -3
  45. package/dist/treeshaking/components/markdown/components/MarkdownTitle.css +22 -22
  46. package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue.mjs +1 -1
  47. package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue2.mjs +11 -5
  48. package/dist/treeshaking/components/markdown/index.d.ts +13 -45
  49. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.mjs +5 -1
  50. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +1 -1
  51. package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +5 -1
  52. package/dist/treeshaking/components/recursion-menu/ORecursionMenu.vue.mjs +1 -1
  53. package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +1 -1
  54. package/dist/treeshaking/components/user-center/index.mjs +0 -2
  55. package/dist/treeshaking/i18n/en.mjs +2 -1
  56. package/dist/treeshaking/i18n/zh.mjs +2 -1
  57. package/dist/treeshaking/index.d.ts +1 -0
  58. package/dist/treeshaking/index.mjs +2 -0
  59. package/package.json +2 -2
  60. package/dist/components/markdown/replacer/h1.d.ts +0 -11
  61. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.css +0 -261
  62. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue.mjs +0 -7
  63. package/dist/treeshaking/components/markdown/replacer/h1.d.ts +0 -11
  64. package/dist/treeshaking/components/markdown/replacer/h1.mjs +0 -29
@@ -1,261 +0,0 @@
1
- .hover-icon-rotate .o-icon[data-v-84f356a4] {
2
- transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
- }
4
- @media (hover: hover) {
5
- .hover-icon-rotate:hover .o-icon[data-v-84f356a4] {
6
- transform: rotate(-180deg);
7
- }
8
- }
9
- .o-md-page-title[data-v-84f356a4] {
10
- align-items: center;
11
- justify-content: space-between;
12
- gap: 12px;
13
- padding: 16px;
14
- margin-bottom: 32px;
15
- border-radius: var(--o-radius-xs);
16
- background-image: var(--v6981a063);
17
- background-position: 100% 100%;
18
- background-repeat: no-repeat;
19
- background-size: cover;
20
- }
21
- @media (max-width: 1680px) {
22
- .o-md-page-title[data-v-84f356a4] {
23
- gap: 8px;
24
- padding: 12px;
25
- margin-bottom: 24px;
26
- }
27
- }
28
- @media (max-width: 1200px) {
29
- .o-md-page-title[data-v-84f356a4] {
30
- gap: 8px;
31
- padding: 8px;
32
- margin-bottom: 16px;
33
- }
34
- }
35
- @media (max-width: 840px) {
36
- .o-md-page-title[data-v-84f356a4] {
37
- gap: 12px;
38
- padding: 16px;
39
- margin-bottom: 28px;
40
- }
41
- }
42
- .o-md-page-title .o-md-page-title-content[data-v-84f356a4] {
43
- display: flex;
44
- flex-direction: column;
45
- gap: 8px;
46
- min-width: 0;
47
- }
48
- .o-md-page-title .o-md-page-title-text[data-v-84f356a4] h1 {
49
- margin-top: 0;
50
- margin-bottom: 0;
51
- font-size: 32px;
52
- line-height: 44px;
53
- }
54
- @media (min-width: 1201px) and (max-width: 1680px) {
55
- .o-md-page-title .o-md-page-title-text[data-v-84f356a4] h1 {
56
- font-size: 20px;
57
- line-height: 28px;
58
- }
59
- }
60
- @media (min-width: 841px) and (max-width: 1200px) {
61
- .o-md-page-title .o-md-page-title-text[data-v-84f356a4] h1 {
62
- font-size: 20px;
63
- line-height: 28px;
64
- }
65
- }
66
- @media (min-width: 601px) and (max-width: 840px) {
67
- .o-md-page-title .o-md-page-title-text[data-v-84f356a4] h1 {
68
- font-size: 18px;
69
- line-height: 26px;
70
- }
71
- }
72
- @media (max-width: 600px) {
73
- .o-md-page-title .o-md-page-title-text[data-v-84f356a4] h1 {
74
- font-size: 16px;
75
- line-height: 24px;
76
- }
77
- }
78
- .o-md-page-title .o-md-page-title-actions[data-v-84f356a4] {
79
- display: flex;
80
- align-items: center;
81
- justify-content: space-between;
82
- margin-top: 12px;
83
- }
84
- @media (max-width: 1680px) {
85
- .o-md-page-title .o-md-page-title-actions[data-v-84f356a4] {
86
- margin-top: 8px;
87
- }
88
- }
89
- @media (max-width: 840px) {
90
- .o-md-page-title .o-md-page-title-actions[data-v-84f356a4] {
91
- margin-top: 0;
92
- }
93
- }
94
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-icon-more[data-v-84f356a4] {
95
- font-size: 24px;
96
- color: var(--o-color-info2);
97
- }
98
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-source-code[data-v-84f356a4] {
99
- font-size: 16px;
100
- line-height: 24px;
101
- }
102
- @media (min-width: 1201px) and (max-width: 1680px) {
103
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-source-code[data-v-84f356a4] {
104
- font-size: 14px;
105
- line-height: 22px;
106
- }
107
- }
108
- @media (min-width: 841px) and (max-width: 1200px) {
109
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-source-code[data-v-84f356a4] {
110
- font-size: 14px;
111
- line-height: 22px;
112
- }
113
- }
114
- @media (min-width: 601px) and (max-width: 840px) {
115
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-source-code[data-v-84f356a4] {
116
- font-size: 14px;
117
- line-height: 22px;
118
- }
119
- }
120
- @media (max-width: 600px) {
121
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-source-code[data-v-84f356a4] {
122
- font-size: 12px;
123
- line-height: 18px;
124
- }
125
- }
126
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-source-code[data-v-84f356a4] .o-link-label {
127
- display: flex;
128
- align-items: center;
129
- }
130
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-icon-outlink[data-v-84f356a4] {
131
- font-size: 22px;
132
- line-height: 30px;
133
- }
134
- @media (min-width: 1201px) and (max-width: 1680px) {
135
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-icon-outlink[data-v-84f356a4] {
136
- font-size: 18px;
137
- line-height: 26px;
138
- }
139
- }
140
- @media (min-width: 841px) and (max-width: 1200px) {
141
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-icon-outlink[data-v-84f356a4] {
142
- font-size: 16px;
143
- line-height: 24px;
144
- }
145
- }
146
- @media (min-width: 601px) and (max-width: 840px) {
147
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-icon-outlink[data-v-84f356a4] {
148
- font-size: 16px;
149
- line-height: 24px;
150
- }
151
- }
152
- @media (max-width: 600px) {
153
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-icon-outlink[data-v-84f356a4] {
154
- font-size: 16px;
155
- line-height: 24px;
156
- }
157
- }
158
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-update-time[data-v-84f356a4] {
159
- color: var(--o-color-info3);
160
- font-size: 14px;
161
- line-height: 22px;
162
- }
163
- @media (min-width: 1201px) and (max-width: 1680px) {
164
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-update-time[data-v-84f356a4] {
165
- font-size: 14px;
166
- line-height: 18px;
167
- }
168
- }
169
- @media (min-width: 841px) and (max-width: 1200px) {
170
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-update-time[data-v-84f356a4] {
171
- font-size: 12px;
172
- line-height: 18px;
173
- }
174
- }
175
- @media (min-width: 601px) and (max-width: 840px) {
176
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-update-time[data-v-84f356a4] {
177
- font-size: 12px;
178
- line-height: 18px;
179
- }
180
- }
181
- @media (max-width: 600px) {
182
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-update-time[data-v-84f356a4] {
183
- font-size: 12px;
184
- line-height: 18px;
185
- }
186
- }
187
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-actions-left[data-v-84f356a4] {
188
- display: flex;
189
- align-items: center;
190
- gap: 12px;
191
- }
192
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-icon-download[data-v-84f356a4],
193
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-icon-star[data-v-84f356a4] {
194
- font-size: 24px;
195
- cursor: pointer;
196
- }
197
- @media (hover: hover) {
198
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-icon-download[data-v-84f356a4]:hover,
199
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-icon-star[data-v-84f356a4]:hover {
200
- color: var(--o-color-info1);
201
- }
202
- }
203
- @media (max-width: 1680px) {
204
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-icon-download[data-v-84f356a4],
205
- .o-md-page-title .o-md-page-title-actions .o-md-page-title-icon-star[data-v-84f356a4] {
206
- font-size: 20px;
207
- }
208
- }
209
- .o-md-page-title.is-simple[data-v-84f356a4] {
210
- padding: 0;
211
- background-image: none;
212
- }
213
- @media (max-width: 840px) {
214
- .o-md-page-title.first-h1[data-v-84f356a4] {
215
- display: flex;
216
- justify-content: space-between;
217
- align-items: center;
218
- }
219
- }
220
- .o-md-page-title.more-h1[data-v-84f356a4] {
221
- margin-top: 32px;
222
- }
223
- @media (max-width: 1680px) {
224
- .o-md-page-title.more-h1[data-v-84f356a4] {
225
- margin-top: 24px;
226
- }
227
- }
228
- @media (max-width: 1200px) {
229
- .o-md-page-title.more-h1[data-v-84f356a4] {
230
- margin-top: 16px;
231
- }
232
- }
233
- @media (max-width: 840px) {
234
- .o-md-page-title.more-h1[data-v-84f356a4] {
235
- margin-top: 28px;
236
- }
237
- }
238
- .o-md-page-dlg-action-box-container[data-v-84f356a4] {
239
- display: flex;
240
- justify-content: space-around;
241
- }
242
- .o-md-page-dlg-action-box-container .o-md-page-dlg-action-box[data-v-84f356a4] {
243
- flex: 1;
244
- align-items: center;
245
- display: flex;
246
- flex-direction: column;
247
- }
248
- .o-md-page-dlg-action-box-container .o-md-page-dlg-action-box-icon[data-v-84f356a4] {
249
- display: flex;
250
- justify-content: center;
251
- align-items: center;
252
- width: 40px;
253
- height: 40px;
254
- background-color: var(--o-color-fill1);
255
- border-radius: 50%;
256
- font-size: 24px;
257
- }
258
- .o-md-page-dlg-action-box-container .o-md-page-dlg-action-box-label[data-v-84f356a4] {
259
- margin-top: 8px;
260
- color: var(--o-color-info1);
261
- }
@@ -1,7 +0,0 @@
1
- import _sfc_main from "./MarkdownPageTitle.vue2.mjs";
2
- import './MarkdownPageTitle.css';
3
- import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const MarkdownPageTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-84f356a4"]]);
5
- export {
6
- MarkdownPageTitle as default
7
- };
@@ -1,11 +0,0 @@
1
- import { AppContext, MaybeRefOrGetter } from 'vue';
2
- export interface MarkdownPageTitleProps {
3
- sourceUrl?: MaybeRefOrGetter<string | undefined>;
4
- updateTime?: MaybeRefOrGetter<string | undefined>;
5
- titleBg?: MaybeRefOrGetter<string | undefined>;
6
- enableDownload?: MaybeRefOrGetter<boolean | undefined>;
7
- enableStar?: MaybeRefOrGetter<boolean | undefined>;
8
- onDownload?: () => void;
9
- onCollect?: () => void;
10
- }
11
- export declare function mountMarkdownPageTitle(el: Element, context: AppContext, props?: MarkdownPageTitleProps): (() => void) | undefined;
@@ -1,29 +0,0 @@
1
- import { createVNode, render } from "vue";
2
- import MarkdownPageTitle from "../components/MarkdownPageTitle.vue.mjs";
3
- function mountMarkdownPageTitle(el, context, props) {
4
- var _a, _b, _c;
5
- if (((_a = el.className) == null ? void 0 : _a.includes("o-")) || ((_c = (_b = el.parentNode) == null ? void 0 : _b.className) == null ? void 0 : _c.includes("__mounted"))) {
6
- return;
7
- }
8
- let vnode = createVNode(MarkdownPageTitle, {
9
- el,
10
- sourceUrl: props == null ? void 0 : props.sourceUrl,
11
- updateTime: props == null ? void 0 : props.updateTime,
12
- bgImage: props == null ? void 0 : props.titleBg,
13
- enableDownload: props == null ? void 0 : props.enableDownload,
14
- enableStar: props == null ? void 0 : props.enableStar,
15
- onDownload: props == null ? void 0 : props.onDownload,
16
- onCollect: props == null ? void 0 : props.onCollect
17
- });
18
- vnode.appContext = context;
19
- let container = document.createElement("div");
20
- render(vnode, container);
21
- el.replaceWith(container.querySelector(".o-md-page-title"));
22
- return () => {
23
- vnode = null;
24
- container = null;
25
- };
26
- }
27
- export {
28
- mountMarkdownPageTitle
29
- };