@opendesign-plus-test/components 0.0.1-rc.243 → 0.0.1-rc.244

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 (113) hide show
  1. package/dist/components/activity/index.d.ts +9 -9
  2. package/dist/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
  3. package/dist/components/anchor-bar/index.d.ts +9 -9
  4. package/dist/components/article/OArticle.vue.d.ts +14 -196
  5. package/dist/components/article/index.d.ts +50 -151
  6. package/dist/components/article-anchor/index.d.ts +9 -9
  7. package/dist/components/article-pagination/index.d.ts +17 -17
  8. package/dist/components/banner/index.d.ts +6 -6
  9. package/dist/components/brand/index.d.ts +15 -15
  10. package/dist/components/events/index.d.ts +20 -20
  11. package/dist/components/footer/index.d.ts +3 -3
  12. package/dist/components/header/OHeaderMobile.vue.d.ts +8 -8
  13. package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  14. package/dist/components/header/index.d.ts +28 -28
  15. package/dist/components/header-search/index.d.ts +13 -13
  16. package/dist/components/logo-swiper/index.d.ts +11 -11
  17. package/dist/components/markdown/OMarkdown.vue.d.ts +16 -7
  18. package/dist/components/markdown/index.d.ts +45 -13
  19. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  20. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  21. package/dist/components/meeting/index.d.ts +51 -51
  22. package/dist/components/org/index.d.ts +9 -9
  23. package/dist/components/recursion-menu/index.d.ts +3 -3
  24. package/dist/components/search/index.d.ts +11 -11
  25. package/dist/components/search-doc-result/OSearchDocResult.vue.d.ts +3 -3
  26. package/dist/components/search-doc-result/index.d.ts +8 -8
  27. package/dist/components/search-result/OSearchResult.vue.d.ts +2 -2
  28. package/dist/components/search-result/OSearchResultHeader.vue.d.ts +24 -24
  29. package/dist/components/search-result/index.d.ts +31 -31
  30. package/dist/components/sig/index.d.ts +15 -15
  31. package/dist/components/summit/index.d.ts +12 -12
  32. package/dist/components/user-center/index.d.ts +18 -18
  33. package/dist/components/video/index.d.ts +3 -3
  34. package/dist/components.cjs.js +44 -44
  35. package/dist/components.css +1 -1
  36. package/dist/components.es.js +9808 -10037
  37. package/dist/index.d.ts +0 -1
  38. package/dist/treeshaking/_virtual/icon-tips.mjs +13 -2
  39. package/dist/treeshaking/_virtual/icon-tips2.mjs +2 -13
  40. package/dist/treeshaking/components/activity/index.d.ts +9 -9
  41. package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
  42. package/dist/treeshaking/components/anchor-bar/index.d.ts +9 -9
  43. package/dist/treeshaking/components/article/OArticle.css +124 -18
  44. package/dist/treeshaking/components/article/OArticle.vue.d.ts +14 -196
  45. package/dist/treeshaking/components/article/OArticle.vue.mjs +1 -1
  46. package/dist/treeshaking/components/article/OArticle.vue2.mjs +82 -48
  47. package/dist/treeshaking/components/article/index.d.ts +50 -151
  48. package/dist/treeshaking/components/article-anchor/OArticleAnchor.css +4 -4
  49. package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue.mjs +1 -1
  50. package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue2.mjs +5 -4
  51. package/dist/treeshaking/components/article-anchor/index.d.ts +9 -9
  52. package/dist/treeshaking/components/article-pagination/index.d.ts +17 -17
  53. package/dist/treeshaking/components/banner/index.d.ts +6 -6
  54. package/dist/treeshaking/components/brand/index.d.ts +15 -15
  55. package/dist/treeshaking/components/events/OEventsList.vue.mjs +1 -1
  56. package/dist/treeshaking/components/events/index.d.ts +20 -20
  57. package/dist/treeshaking/components/footer/index.d.ts +3 -3
  58. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +8 -8
  59. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  60. package/dist/treeshaking/components/header/index.d.ts +28 -28
  61. package/dist/treeshaking/components/header-search/index.d.ts +13 -13
  62. package/dist/treeshaking/components/logo-swiper/index.d.ts +11 -11
  63. package/dist/treeshaking/components/markdown/OMarkdown.vue.d.ts +16 -7
  64. package/dist/treeshaking/components/markdown/OMarkdown.vue.mjs +1 -1
  65. package/dist/treeshaking/components/markdown/OMarkdown.vue2.mjs +36 -47
  66. package/dist/treeshaking/components/markdown/OMarkdown2.css +3 -3
  67. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.css +261 -0
  68. package/dist/treeshaking/components/{article/components/DocTitle.vue.d.ts → markdown/components/MarkdownPageTitle.vue.d.ts} +5 -6
  69. package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue.mjs +7 -0
  70. package/dist/treeshaking/components/{article/components/DocTitle.vue2.mjs → markdown/components/MarkdownPageTitle.vue2.mjs} +80 -131
  71. package/dist/treeshaking/components/markdown/components/MarkdownTitle.css +22 -22
  72. package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue.mjs +1 -1
  73. package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue2.mjs +5 -11
  74. package/dist/treeshaking/components/markdown/index.d.ts +45 -13
  75. package/dist/treeshaking/components/markdown/replacer/h1.d.ts +11 -0
  76. package/dist/treeshaking/components/markdown/replacer/h1.mjs +29 -0
  77. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  78. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +1 -1
  79. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  80. package/dist/treeshaking/components/meeting/index.d.ts +51 -51
  81. package/dist/treeshaking/components/org/index.d.ts +9 -9
  82. package/dist/treeshaking/components/recursion-menu/ORecursionMenu.vue.mjs +1 -1
  83. package/dist/treeshaking/components/recursion-menu/index.d.ts +3 -3
  84. package/dist/treeshaking/components/search/index.d.ts +11 -11
  85. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +24 -24
  86. package/dist/treeshaking/components/search-result/index.d.ts +31 -31
  87. package/dist/treeshaking/components/sig/index.d.ts +15 -15
  88. package/dist/treeshaking/components/summit/index.d.ts +12 -12
  89. package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +1 -1
  90. package/dist/treeshaking/components/user-center/index.d.ts +18 -18
  91. package/dist/treeshaking/components/video/index.d.ts +3 -3
  92. package/dist/treeshaking/index.d.ts +0 -1
  93. package/dist/treeshaking/index.mjs +0 -2
  94. package/package.json +4 -4
  95. package/dist/components/article/components/ArticleTitle.vue.d.ts +0 -22
  96. package/dist/components/article/components/DocTitle.vue.d.ts +0 -24
  97. package/dist/components/doc-layout/ODocLayout.vue.d.ts +0 -38
  98. package/dist/components/doc-layout/index.d.ts +0 -59
  99. package/dist/components/doc-layout/types.d.ts +0 -23
  100. package/dist/treeshaking/_virtual/icon-menu-fold.mjs +0 -20
  101. package/dist/treeshaking/_virtual/icon-menu-unfold.mjs +0 -20
  102. package/dist/treeshaking/components/article/components/ArticleTitle.css +0 -123
  103. package/dist/treeshaking/components/article/components/ArticleTitle.vue.d.ts +0 -22
  104. package/dist/treeshaking/components/article/components/ArticleTitle.vue.mjs +0 -7
  105. package/dist/treeshaking/components/article/components/ArticleTitle.vue2.mjs +0 -97
  106. package/dist/treeshaking/components/article/components/DocTitle.css +0 -246
  107. package/dist/treeshaking/components/article/components/DocTitle.vue.mjs +0 -7
  108. package/dist/treeshaking/components/doc-layout/ODocLayout.css +0 -271
  109. package/dist/treeshaking/components/doc-layout/ODocLayout.vue.d.ts +0 -38
  110. package/dist/treeshaking/components/doc-layout/ODocLayout.vue.mjs +0 -7
  111. package/dist/treeshaking/components/doc-layout/ODocLayout.vue2.mjs +0 -165
  112. package/dist/treeshaking/components/doc-layout/index.d.ts +0 -59
  113. package/dist/treeshaking/components/doc-layout/index.mjs +0 -9
@@ -177,7 +177,7 @@ declare const OAccountSetting: {
177
177
  };
178
178
  declare const OAppHeader: {
179
179
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
180
- navData: import('../../index').NavItemT[];
180
+ navData: import('../header').NavItemT[];
181
181
  logo: {
182
182
  zh: {
183
183
  light: string;
@@ -205,7 +205,7 @@ declare const OAppHeader: {
205
205
  onLogin?: () => void;
206
206
  onLogout?: () => void;
207
207
  langOptions?: import('./internal/OCommonHeader.vue').LanguageOptionT[];
208
- codeData?: import('../../index').CodeT;
208
+ codeData?: import('../header').CodeT;
209
209
  }> & Readonly<{
210
210
  onNavigate?: ((url: string) => any) | undefined;
211
211
  "onTheme-change"?: ((val: string) => any) | undefined;
@@ -228,7 +228,7 @@ declare const OAppHeader: {
228
228
  M: {};
229
229
  Defaults: {};
230
230
  }, Readonly<{
231
- navData: import('../../index').NavItemT[];
231
+ navData: import('../header').NavItemT[];
232
232
  logo: {
233
233
  zh: {
234
234
  light: string;
@@ -256,7 +256,7 @@ declare const OAppHeader: {
256
256
  onLogin?: () => void;
257
257
  onLogout?: () => void;
258
258
  langOptions?: import('./internal/OCommonHeader.vue').LanguageOptionT[];
259
- codeData?: import('../../index').CodeT;
259
+ codeData?: import('../header').CodeT;
260
260
  }> & Readonly<{
261
261
  onNavigate?: ((url: string) => any) | undefined;
262
262
  "onTheme-change"?: ((val: string) => any) | undefined;
@@ -273,7 +273,7 @@ declare const OAppHeader: {
273
273
  __isTeleport?: never;
274
274
  __isSuspense?: never;
275
275
  } & import('vue').ComponentOptionsBase<Readonly<{
276
- navData: import('../../index').NavItemT[];
276
+ navData: import('../header').NavItemT[];
277
277
  logo: {
278
278
  zh: {
279
279
  light: string;
@@ -301,7 +301,7 @@ declare const OAppHeader: {
301
301
  onLogin?: () => void;
302
302
  onLogout?: () => void;
303
303
  langOptions?: import('./internal/OCommonHeader.vue').LanguageOptionT[];
304
- codeData?: import('../../index').CodeT;
304
+ codeData?: import('../header').CodeT;
305
305
  }> & Readonly<{
306
306
  onNavigate?: ((url: string) => any) | undefined;
307
307
  "onTheme-change"?: ((val: string) => any) | undefined;
@@ -321,7 +321,7 @@ declare const OAppHeader: {
321
321
  };
322
322
  declare const OAsideBar: {
323
323
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
324
- menus?: import('../../index').AsideMenuItemT[];
324
+ menus?: import('.').AsideMenuItemT[];
325
325
  currentPath?: string;
326
326
  }> & Readonly<{
327
327
  onNavigate?: ((url: string) => any) | undefined;
@@ -335,7 +335,7 @@ declare const OAsideBar: {
335
335
  M: {};
336
336
  Defaults: {};
337
337
  }, Readonly<{
338
- menus?: import('../../index').AsideMenuItemT[];
338
+ menus?: import('.').AsideMenuItemT[];
339
339
  currentPath?: string;
340
340
  }> & Readonly<{
341
341
  onNavigate?: ((url: string) => any) | undefined;
@@ -344,7 +344,7 @@ declare const OAsideBar: {
344
344
  __isTeleport?: never;
345
345
  __isSuspense?: never;
346
346
  } & import('vue').ComponentOptionsBase<Readonly<{
347
- menus?: import('../../index').AsideMenuItemT[];
347
+ menus?: import('.').AsideMenuItemT[];
348
348
  currentPath?: string;
349
349
  }> & Readonly<{
350
350
  onNavigate?: ((url: string) => any) | undefined;
@@ -406,7 +406,7 @@ declare const OTheCreateMeeting: {
406
406
  getGroupInfosApi: () => Promise<any>;
407
407
  getMyMeetingDetailApi: (id: any) => Promise<any>;
408
408
  getPlatformsApi: () => Promise<any>;
409
- groupType?: import('../../index').MeetingGroupType;
409
+ groupType?: import('../meeting').MeetingGroupType;
410
410
  enablePrivate?: boolean;
411
411
  }> & Readonly<{
412
412
  onNavigate?: ((url: string) => any) | undefined;
@@ -427,7 +427,7 @@ declare const OTheCreateMeeting: {
427
427
  getGroupInfosApi: () => Promise<any>;
428
428
  getMyMeetingDetailApi: (id: any) => Promise<any>;
429
429
  getPlatformsApi: () => Promise<any>;
430
- groupType?: import('../../index').MeetingGroupType;
430
+ groupType?: import('../meeting').MeetingGroupType;
431
431
  enablePrivate?: boolean;
432
432
  }> & Readonly<{
433
433
  onNavigate?: ((url: string) => any) | undefined;
@@ -443,7 +443,7 @@ declare const OTheCreateMeeting: {
443
443
  getGroupInfosApi: () => Promise<any>;
444
444
  getMyMeetingDetailApi: (id: any) => Promise<any>;
445
445
  getPlatformsApi: () => Promise<any>;
446
- groupType?: import('../../index').MeetingGroupType;
446
+ groupType?: import('../meeting').MeetingGroupType;
447
447
  enablePrivate?: boolean;
448
448
  }> & Readonly<{
449
449
  onNavigate?: ((url: string) => any) | undefined;
@@ -458,14 +458,14 @@ declare const OTheMeeting: {
458
458
  cancelSubMeetingApi: (id: number | string, subId?: number | string) => Promise<any>;
459
459
  deleteMeetingApi: (id: number) => Promise<any>;
460
460
  username?: string;
461
- groupType?: import('../../index').MeetingGroupType;
461
+ groupType?: import('../meeting').MeetingGroupType;
462
462
  createVisible?: boolean;
463
463
  }> & Readonly<{
464
464
  onNavigate?: ((url: string) => any) | undefined;
465
465
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
466
466
  navigate: (url: string) => any;
467
467
  }, import('vue').PublicProps, {
468
- groupType: import('../../index').MeetingGroupType;
468
+ groupType: import('../meeting').MeetingGroupType;
469
469
  createVisible: boolean;
470
470
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
471
471
  P: {};
@@ -479,12 +479,12 @@ declare const OTheMeeting: {
479
479
  cancelSubMeetingApi: (id: number | string, subId?: number | string) => Promise<any>;
480
480
  deleteMeetingApi: (id: number) => Promise<any>;
481
481
  username?: string;
482
- groupType?: import('../../index').MeetingGroupType;
482
+ groupType?: import('../meeting').MeetingGroupType;
483
483
  createVisible?: boolean;
484
484
  }> & Readonly<{
485
485
  onNavigate?: ((url: string) => any) | undefined;
486
486
  }>, {}, {}, {}, {}, {
487
- groupType: import('../../index').MeetingGroupType;
487
+ groupType: import('../meeting').MeetingGroupType;
488
488
  createVisible: boolean;
489
489
  }>;
490
490
  __isFragment?: never;
@@ -495,14 +495,14 @@ declare const OTheMeeting: {
495
495
  cancelSubMeetingApi: (id: number | string, subId?: number | string) => Promise<any>;
496
496
  deleteMeetingApi: (id: number) => Promise<any>;
497
497
  username?: string;
498
- groupType?: import('../../index').MeetingGroupType;
498
+ groupType?: import('../meeting').MeetingGroupType;
499
499
  createVisible?: boolean;
500
500
  }> & Readonly<{
501
501
  onNavigate?: ((url: string) => any) | undefined;
502
502
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
503
503
  navigate: (url: string) => any;
504
504
  }, string, {
505
- groupType: import('../../index').MeetingGroupType;
505
+ groupType: import('../meeting').MeetingGroupType;
506
506
  createVisible: boolean;
507
507
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
508
508
  install(app: App): void;
@@ -1,7 +1,7 @@
1
1
  import { App } from 'vue';
2
2
  declare const OVideoDetail: {
3
3
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
4
- data: import('../../index').CourseCollectionT;
4
+ data: import('./types').CourseCollectionT;
5
5
  layout?: "horizontal" | "vertical";
6
6
  }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
7
7
  P: {};
@@ -11,14 +11,14 @@ declare const OVideoDetail: {
11
11
  M: {};
12
12
  Defaults: {};
13
13
  }, Readonly<{
14
- data: import('../../index').CourseCollectionT;
14
+ data: import('./types').CourseCollectionT;
15
15
  layout?: "horizontal" | "vertical";
16
16
  }> & Readonly<{}>, {}, {}, {}, {}, {}>;
17
17
  __isFragment?: never;
18
18
  __isTeleport?: never;
19
19
  __isSuspense?: never;
20
20
  } & import('vue').ComponentOptionsBase<Readonly<{
21
- data: import('../../index').CourseCollectionT;
21
+ data: import('./types').CourseCollectionT;
22
22
  layout?: "horizontal" | "vertical";
23
23
  }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
24
24
  install(app: App): void;
@@ -7,7 +7,6 @@ export * from './components/banner';
7
7
  export * from './components/brand';
8
8
  export * from './components/config-provider';
9
9
  export * from './components/cookie-notice';
10
- export * from './components/doc-layout';
11
10
  export * from './components/element-plus';
12
11
  export * from './components/empty';
13
12
  export * from './components/events';
@@ -7,7 +7,6 @@ import { OBanner, OBannerContent } from "./components/banner/index.mjs";
7
7
  import { OBrandFile, OBrandLogo, OBrandStandard } from "./components/brand/index.mjs";
8
8
  import { OPlusConfigProvider } from "./components/config-provider/index.mjs";
9
9
  import { OCookieNotice } from "./components/cookie-notice/index.mjs";
10
- import { ODocLayout } from "./components/doc-layout/index.mjs";
11
10
  import { OEmpty } from "./components/empty/index.mjs";
12
11
  import { OEventsApply, OEventsCalendar, OEventsList } from "./components/events/index.mjs";
13
12
  import { OFeedbackDoc, OFeedbackDocContent, OFeedbackDocDialog, OFeedbackDocPopup } from "./components/feedback-doc/index.mjs";
@@ -62,7 +61,6 @@ export {
62
61
  OBrandLogo,
63
62
  OBrandStandard,
64
63
  OCookieNotice,
65
- ODocLayout,
66
64
  default2 as OElCookieNotice,
67
65
  OEmpty,
68
66
  OEventsApply,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendesign-plus-test/components",
3
- "version": "0.0.1-rc.243",
3
+ "version": "0.0.1-rc.244",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -36,7 +36,7 @@
36
36
  "dist"
37
37
  ],
38
38
  "peerDependencies": {
39
- "@opensig/opendesign": "1.2.7-sp2",
39
+ "@opensig/opendesign": "1.2.7-sp1",
40
40
  "@vueuse/core": "^14.0.0",
41
41
  "@vueuse/shared": "^14.0.0",
42
42
  "aos": "^2.3.4",
@@ -46,8 +46,8 @@
46
46
  "vue-dompurify-html": "^3.1.2",
47
47
  "vue": "^3.5.13",
48
48
  "element-plus": "2.13.1",
49
- "@opendesign-plus/composables": "0.0.1-rc.10",
50
- "@opendesign-plus/styles": "0.0.1-rc.3"
49
+ "@opendesign-plus/styles": "0.0.1-rc.3",
50
+ "@opendesign-plus/composables": "0.0.1-rc.10"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@vitejs/plugin-vue": "^5.2.1",
@@ -1,22 +0,0 @@
1
- import { OMarkdownMaybeElementT } from '../../markdown/types';
2
- type __VLS_Props = {
3
- /** 文章标题(可选),未传时使用 el 渲染 */
4
- title?: string;
5
- /** 标题 DOM 元素(可选),title 未传时渲染 el 的 outerHTML */
6
- el?: OMarkdownMaybeElementT;
7
- /** 标题头部背景图地址(可选),未传时不显示背景图 */
8
- headerBg?: string;
9
- /** 标签列表(可选),渲染为标题下方的 OTag 标签 */
10
- tags?: string[];
11
- /** 所属社区(可选),渲染为标签并置于标签列表首位,用垂直分隔线与其余标签隔开 */
12
- community?: string;
13
- /** 标题头部展示的更新时间(可选),与标签两端对齐,文案前缀取 i18n `md.updateTime` */
14
- updateTime?: string;
15
- /** 圆角 */
16
- radius?: string;
17
- };
18
- declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
- tags: string[];
20
- radius: string;
21
- }, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLElement>;
22
- export default _default;
@@ -1,24 +0,0 @@
1
- import { MaybeRefOrGetter } from '../../../../vue/dist/vue.esm-bundler.js';
2
- import { OMarkdownMaybeElementT } from '../../markdown/types';
3
- type __VLS_Props = {
4
- el?: OMarkdownMaybeElementT;
5
- title?: string;
6
- bgImage?: MaybeRefOrGetter<string>;
7
- sourceUrl?: MaybeRefOrGetter<string>;
8
- updateTime?: MaybeRefOrGetter<string>;
9
- enableDownload?: MaybeRefOrGetter<boolean>;
10
- enableStar?: MaybeRefOrGetter<boolean>;
11
- enableCopyLink?: MaybeRefOrGetter<boolean>;
12
- };
13
- declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
14
- download: () => any;
15
- collect: () => any;
16
- }, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
- onDownload?: (() => any) | undefined;
18
- onCollect?: (() => any) | undefined;
19
- }>, {
20
- enableDownload: MaybeRefOrGetter<boolean>;
21
- enableStar: MaybeRefOrGetter<boolean>;
22
- enableCopyLink: MaybeRefOrGetter<boolean>;
23
- }, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, any>;
24
- export default _default;
@@ -1,38 +0,0 @@
1
- type __VLS_Props = {
2
- collapsed?: boolean;
3
- hasRight?: boolean;
4
- hasFloat?: boolean;
5
- };
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- 'header-title'?(_: {}): any;
10
- 'header-right'?(_: {}): any;
11
- left?(_: {}): any;
12
- content?(_: {}): any;
13
- right?(_: {}): any;
14
- float?(_: {}): any;
15
- };
16
- refs: {
17
- containerRef: HTMLDivElement;
18
- };
19
- rootEl: HTMLDivElement;
20
- };
21
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
- declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
23
- "update:collapsed": (value: boolean) => any;
24
- }, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
26
- }>, {
27
- hasRight: boolean;
28
- hasFloat: boolean;
29
- }, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {
30
- containerRef: HTMLDivElement;
31
- }, HTMLDivElement>;
32
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
- export default _default;
34
- type __VLS_WithTemplateSlots<T, S> = T & {
35
- new (): {
36
- $slots: S;
37
- };
38
- };
@@ -1,59 +0,0 @@
1
- import { App } from '../../../vue/dist/vue.esm-bundler.js';
2
- declare const ODocLayout: {
3
- new (...args: any[]): import('../../../vue/dist/vue.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Readonly<{
4
- collapsed?: boolean;
5
- hasRight?: boolean;
6
- hasFloat?: boolean;
7
- }> & Readonly<{
8
- "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
9
- }>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
10
- "update:collapsed": (value: boolean) => any;
11
- }, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, {
12
- hasRight: boolean;
13
- hasFloat: boolean;
14
- }, false, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, {
15
- containerRef: HTMLDivElement;
16
- }, HTMLDivElement, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, {
17
- P: {};
18
- B: {};
19
- D: {};
20
- C: {};
21
- M: {};
22
- Defaults: {};
23
- }, Readonly<{
24
- collapsed?: boolean;
25
- hasRight?: boolean;
26
- hasFloat?: boolean;
27
- }> & Readonly<{
28
- "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
29
- }>, {}, {}, {}, {}, {
30
- hasRight: boolean;
31
- hasFloat: boolean;
32
- }>;
33
- __isFragment?: never;
34
- __isTeleport?: never;
35
- __isSuspense?: never;
36
- } & import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<{
37
- collapsed?: boolean;
38
- hasRight?: boolean;
39
- hasFloat?: boolean;
40
- }> & Readonly<{
41
- "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
42
- }>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
43
- "update:collapsed": (value: boolean) => any;
44
- }, string, {
45
- hasRight: boolean;
46
- hasFloat: boolean;
47
- }, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps & (new () => {
48
- $slots: {
49
- 'header-title'?(_: {}): any;
50
- 'header-right'?(_: {}): any;
51
- left?(_: {}): any;
52
- content?(_: {}): any;
53
- right?(_: {}): any;
54
- float?(_: {}): any;
55
- };
56
- }) & {
57
- install(app: App): void;
58
- };
59
- export { ODocLayout };
@@ -1,23 +0,0 @@
1
- export type DocLayoutMenuModeT = 'aside' | 'drawer';
2
- export interface DocLayoutPropsT {
3
- /** 左侧目录模式:aside 常驻 / drawer 抽屉覆盖,pad 及以下自动转为 drawer */
4
- menuMode?: DocLayoutMenuModeT;
5
- /** 右侧锚点模式:aside 常驻 / drawer 抽屉覆盖,laptop 及以上默认 aside */
6
- anchorMode?: DocLayoutMenuModeT;
7
- /** 是否折叠左侧目录(v-model) */
8
- collapsed?: boolean;
9
- /** 初始折叠状态,仅不受控时生效 */
10
- defaultCollapsed?: boolean;
11
- /** 是否显示右侧锚点 */
12
- showAnchor?: boolean;
13
- /** 是否显示浮动按钮区 */
14
- showFloat?: boolean;
15
- /** 是否允许拖拽调整左侧目录宽度(仅桌面端生效) */
16
- resizable?: boolean;
17
- /** 左侧目录宽度(px,v-model)。不传时跟随断点默认值,拖拽后回传 */
18
- menuWidth?: number;
19
- /** 拖拽时左侧目录最小宽度 */
20
- minMenuWidth?: number;
21
- /** 拖拽时左侧目录最大宽度 */
22
- maxMenuWidth?: number;
23
- }
@@ -1,20 +0,0 @@
1
- import { openBlock, createElementBlock, createElementVNode } from "vue";
2
- const _hoisted_1 = {
3
- version: "1.1",
4
- xmlns: "http://www.w3.org/2000/svg",
5
- width: "24",
6
- height: "24",
7
- viewBox: "0 0 32 32"
8
- };
9
- function render(_ctx, _cache) {
10
- return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
11
- createElementVNode("path", {
12
- fill: "currentColor",
13
- d: "M4.026 6.040c0-0.516 0.418-0.934 0.933-0.934h22.074c0.515 0 0.933 0.418 0.933 0.934s-0.418 0.934-0.933 0.934h-22.074c-0.515 0-0.933-0.418-0.933-0.934zM27.507 16.596c0.365-0.365 0.365-0.956 0-1.32l-4-4c-0.364-0.365-0.955-0.365-1.32 0l-0.098 0.116c-0.263 0.365-0.23 0.876 0.098 1.204l3.341 3.34-3.341 3.34c-0.364 0.365-0.364 0.956 0 1.32s0.956 0.365 1.32 0l4-4zM4.96 11.773c-0.515 0-0.933 0.418-0.933 0.934s0.418 0.934 0.933 0.934h11.407c0.515 0 0.933-0.418 0.933-0.934s-0.418-0.934-0.933-0.934h-11.407zM4.026 19.374c0-0.516 0.418-0.934 0.933-0.934h11.407c0.515 0 0.933 0.418 0.933 0.934s-0.418 0.934-0.933 0.934h-11.407c-0.515 0-0.933-0.418-0.933-0.934zM4.96 25.107c-0.515 0-0.933 0.418-0.933 0.934s0.418 0.934 0.933 0.934h22.074c0.515 0 0.933-0.418 0.933-0.934s-0.418-0.934-0.933-0.934h-22.074z"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const IconMenuFold = { name: "components-icon-menu-fold", render };
18
- export {
19
- IconMenuFold as default
20
- };
@@ -1,20 +0,0 @@
1
- import { openBlock, createElementBlock, createElementVNode } from "vue";
2
- const _hoisted_1 = {
3
- version: "1.1",
4
- xmlns: "http://www.w3.org/2000/svg",
5
- width: "24",
6
- height: "24",
7
- viewBox: "0 0 32 32"
8
- };
9
- function render(_ctx, _cache) {
10
- return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
11
- createElementVNode("path", {
12
- fill: "currentColor",
13
- d: "M27.974 6.040c0-0.516-0.418-0.934-0.933-0.934h-22.074c-0.515 0-0.933 0.418-0.933 0.934s0.418 0.934 0.933 0.934h22.074c0.515 0 0.933-0.418 0.933-0.934zM4.493 16.596c-0.364-0.365-0.364-0.956 0-1.32l4-4c0.364-0.365 0.955-0.365 1.32 0l0.098 0.116c0.262 0.365 0.23 0.876-0.098 1.204l-3.341 3.34 3.341 3.34c0.364 0.365 0.364 0.956 0 1.32s-0.955 0.365-1.32 0l-4-4zM27.040 11.773c0.515 0 0.933 0.418 0.933 0.934s-0.418 0.934-0.933 0.934h-11.407c-0.515 0-0.933-0.418-0.933-0.934s0.418-0.934 0.933-0.934h11.407zM27.974 19.374c0-0.516-0.418-0.934-0.933-0.934h-11.407c-0.515 0-0.933 0.418-0.933 0.934s0.418 0.934 0.933 0.934h11.407c0.515 0 0.933-0.418 0.933-0.934zM27.040 25.107c0.515 0 0.933 0.418 0.933 0.934s-0.418 0.934-0.933 0.934h-22.074c-0.515 0-0.933-0.418-0.933-0.934s0.418-0.934 0.933-0.934h22.074z"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const IconMenuUnfold = { name: "components-icon-menu-unfold", render };
18
- export {
19
- IconMenuUnfold as default
20
- };
@@ -1,123 +0,0 @@
1
- .hover-icon-rotate .o-icon[data-v-b96d293f] {
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-b96d293f] {
6
- transform: rotate(-180deg);
7
- }
8
- }
9
- .o-article__header[data-v-b96d293f] {
10
- padding: 32px;
11
- border-radius: var(--o-article-radius) var(--o-article-radius) 0 0;
12
- background-image: var(--v5804c76a);
13
- background-position: 100% 100%;
14
- background-repeat: no-repeat;
15
- background-size: cover;
16
- }
17
- @media (max-width: 1680px) {
18
- .o-article__header[data-v-b96d293f] {
19
- padding: 24px;
20
- }
21
- }
22
- @media (max-width: 1200px) {
23
- .o-article__header[data-v-b96d293f] {
24
- padding: 16px;
25
- }
26
- }
27
- @media (max-width: 600px) {
28
- .o-article__header[data-v-b96d293f] {
29
- padding: 12px;
30
- }
31
- }
32
- .o-article__title[data-v-b96d293f] {
33
- margin: 0;
34
- color: var(--o-color-info1);
35
- font-weight: 600;
36
- font-size: 32px;
37
- line-height: 44px;
38
- }
39
- @media (min-width: 1201px) and (max-width: 1680px) {
40
- .o-article__title[data-v-b96d293f] {
41
- font-size: 20px;
42
- line-height: 28px;
43
- }
44
- }
45
- @media (min-width: 841px) and (max-width: 1200px) {
46
- .o-article__title[data-v-b96d293f] {
47
- font-size: 20px;
48
- line-height: 28px;
49
- }
50
- }
51
- @media (min-width: 601px) and (max-width: 840px) {
52
- .o-article__title[data-v-b96d293f] {
53
- font-size: 18px;
54
- line-height: 26px;
55
- }
56
- }
57
- @media (max-width: 600px) {
58
- .o-article__title[data-v-b96d293f] {
59
- font-size: 16px;
60
- line-height: 24px;
61
- }
62
- }
63
- .o-article__meta[data-v-b96d293f] {
64
- display: flex;
65
- flex-wrap: wrap;
66
- align-items: center;
67
- justify-content: space-between;
68
- column-gap: 16px;
69
- row-gap: 8px;
70
- margin-top: 8px;
71
- }
72
- .o-article__tags[data-v-b96d293f] {
73
- display: flex;
74
- flex-wrap: wrap;
75
- align-items: center;
76
- gap: 16px;
77
- min-width: fit-content;
78
- padding: 0;
79
- list-style: none;
80
- }
81
- .o-article__tags-divider[data-v-b96d293f] {
82
- --o-divider-label-gap: 0;
83
- height: 20px;
84
- }
85
- .o-article__update-time[data-v-b96d293f] {
86
- flex-shrink: 0;
87
- color: var(--o-color-info3);
88
- font-size: 14px;
89
- line-height: 22px;
90
- }
91
- @media (min-width: 1201px) and (max-width: 1680px) {
92
- .o-article__update-time[data-v-b96d293f] {
93
- font-size: 14px;
94
- line-height: 18px;
95
- }
96
- }
97
- @media (min-width: 841px) and (max-width: 1200px) {
98
- .o-article__update-time[data-v-b96d293f] {
99
- font-size: 12px;
100
- line-height: 18px;
101
- }
102
- }
103
- @media (min-width: 601px) and (max-width: 840px) {
104
- .o-article__update-time[data-v-b96d293f] {
105
- font-size: 12px;
106
- line-height: 18px;
107
- }
108
- }
109
- @media (max-width: 600px) {
110
- .o-article__update-time[data-v-b96d293f] {
111
- font-size: 12px;
112
- line-height: 18px;
113
- }
114
- }
115
- @media (max-width: 600px) {
116
- .o-article__update-time[data-v-b96d293f] {
117
- flex-basis: 100%;
118
- }
119
- }
120
- .o-article__tag[data-v-b96d293f] {
121
- --tag-height: 24px;
122
- --tag-padding: 0 11px;
123
- }
@@ -1,22 +0,0 @@
1
- import { OMarkdownMaybeElementT } from '../../markdown/types';
2
- type __VLS_Props = {
3
- /** 文章标题(可选),未传时使用 el 渲染 */
4
- title?: string;
5
- /** 标题 DOM 元素(可选),title 未传时渲染 el 的 outerHTML */
6
- el?: OMarkdownMaybeElementT;
7
- /** 标题头部背景图地址(可选),未传时不显示背景图 */
8
- headerBg?: string;
9
- /** 标签列表(可选),渲染为标题下方的 OTag 标签 */
10
- tags?: string[];
11
- /** 所属社区(可选),渲染为标签并置于标签列表首位,用垂直分隔线与其余标签隔开 */
12
- community?: string;
13
- /** 标题头部展示的更新时间(可选),与标签两端对齐,文案前缀取 i18n `md.updateTime` */
14
- updateTime?: string;
15
- /** 圆角 */
16
- radius?: string;
17
- };
18
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
- radius: string;
20
- tags: string[];
21
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
22
- export default _default;
@@ -1,7 +0,0 @@
1
- import _sfc_main from "./ArticleTitle.vue2.mjs";
2
- import './ArticleTitle.css';
3
- import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const ArticleTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b96d293f"]]);
5
- export {
6
- ArticleTitle as default
7
- };