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

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 (81) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +2 -4
  3. package/dist/components/activity/index.d.ts +9 -9
  4. package/dist/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
  5. package/dist/components/anchor-bar/index.d.ts +9 -9
  6. package/dist/components/article/OArticle.vue.d.ts +12 -2
  7. package/dist/components/article/index.d.ts +31 -26
  8. package/dist/components/article/types.d.ts +8 -2
  9. package/dist/components/article-anchor/index.d.ts +9 -9
  10. package/dist/components/article-pagination/index.d.ts +17 -17
  11. package/dist/components/banner/index.d.ts +6 -6
  12. package/dist/components/brand/index.d.ts +15 -15
  13. package/dist/components/events/index.d.ts +20 -20
  14. package/dist/components/footer/index.d.ts +3 -3
  15. package/dist/components/header/OHeaderMobile.vue.d.ts +8 -8
  16. package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  17. package/dist/components/header/index.d.ts +28 -28
  18. package/dist/components/header-search/index.d.ts +13 -13
  19. package/dist/components/logo-swiper/index.d.ts +11 -11
  20. package/dist/components/markdown/OMarkdown.vue.d.ts +2 -0
  21. package/dist/components/markdown/index.d.ts +6 -0
  22. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  23. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  24. package/dist/components/meeting/index.d.ts +51 -51
  25. package/dist/components/org/index.d.ts +9 -9
  26. package/dist/components/recursion-menu/index.d.ts +3 -3
  27. package/dist/components/search/index.d.ts +11 -11
  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 +35 -35
  35. package/dist/components.css +1 -1
  36. package/dist/components.es.js +6910 -6884
  37. package/dist/treeshaking/_virtual/icon-tips.mjs +2 -13
  38. package/dist/treeshaking/_virtual/icon-tips2.mjs +13 -2
  39. package/dist/treeshaking/components/activity/index.d.ts +9 -9
  40. package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
  41. package/dist/treeshaking/components/anchor-bar/index.d.ts +9 -9
  42. package/dist/treeshaking/components/article/OArticle.vue.d.ts +12 -2
  43. package/dist/treeshaking/components/article/OArticleList.css +7 -6
  44. package/dist/treeshaking/components/article/OArticleList.vue.mjs +48 -34
  45. package/dist/treeshaking/components/article/index.d.ts +31 -26
  46. package/dist/treeshaking/components/article/types.d.ts +8 -2
  47. package/dist/treeshaking/components/article-anchor/index.d.ts +9 -9
  48. package/dist/treeshaking/components/article-pagination/index.d.ts +17 -17
  49. package/dist/treeshaking/components/banner/index.d.ts +6 -6
  50. package/dist/treeshaking/components/brand/index.d.ts +15 -15
  51. package/dist/treeshaking/components/events/index.d.ts +20 -20
  52. package/dist/treeshaking/components/footer/index.d.ts +3 -3
  53. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +8 -8
  54. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  55. package/dist/treeshaking/components/header/index.d.ts +28 -28
  56. package/dist/treeshaking/components/header-search/index.d.ts +13 -13
  57. package/dist/treeshaking/components/logo-swiper/index.d.ts +11 -11
  58. package/dist/treeshaking/components/markdown/OMarkdown.vue.d.ts +2 -0
  59. package/dist/treeshaking/components/markdown/OMarkdown.vue.mjs +1 -1
  60. package/dist/treeshaking/components/markdown/OMarkdown.vue2.mjs +33 -12
  61. package/dist/treeshaking/components/markdown/OMarkdown2.css +3 -3
  62. package/dist/treeshaking/components/markdown/index.d.ts +6 -0
  63. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.mjs +1 -5
  64. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  65. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +1 -1
  66. package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +1 -5
  67. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  68. package/dist/treeshaking/components/meeting/index.d.ts +51 -51
  69. package/dist/treeshaking/components/org/index.d.ts +9 -9
  70. package/dist/treeshaking/components/recursion-menu/index.d.ts +3 -3
  71. package/dist/treeshaking/components/search/index.d.ts +11 -11
  72. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +24 -24
  73. package/dist/treeshaking/components/search-result/index.d.ts +31 -31
  74. package/dist/treeshaking/components/sig/index.d.ts +15 -15
  75. package/dist/treeshaking/components/summit/index.d.ts +12 -12
  76. package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +1 -1
  77. package/dist/treeshaking/components/user-center/index.d.ts +18 -18
  78. package/dist/treeshaking/components/video/index.d.ts +3 -3
  79. package/dist/treeshaking/i18n/en.mjs +1 -2
  80. package/dist/treeshaking/i18n/zh.mjs +1 -2
  81. package/package.json +2 -2
@@ -8,21 +8,10 @@ const _hoisted_1 = {
8
8
  };
9
9
  function render(_ctx, _cache) {
10
10
  return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
11
- createElementVNode("path", {
12
- fill: "currentColor",
13
- d: "M12 8.15c0.418 0 0.763 0.31 0.817 0.713l0.008 0.112v8.8c0 0.456-0.369 0.825-0.825 0.825-0.418 0-0.763-0.31-0.817-0.713l-0.008-0.112v-8.8c0-0.456 0.369-0.825 0.825-0.825z"
14
- }, null, -1),
15
- createElementVNode("path", {
16
- fill: "currentColor",
17
- d: "M13.2 6.225c0 0.663-0.537 1.2-1.2 1.2s-1.2-0.537-1.2-1.2c0-0.663 0.537-1.2 1.2-1.2s1.2 0.537 1.2 1.2z"
18
- }, null, -1),
19
- createElementVNode("path", {
20
- fill: "currentColor",
21
- d: "M12 0.23c1.222 0 2.42 0.187 3.563 0.549 0.405 0.129 0.63 0.561 0.501 0.967s-0.561 0.63-0.967 0.501c-0.993-0.315-2.034-0.477-3.097-0.477-5.65 0-10.23 4.58-10.23 10.23s4.58 10.23 10.23 10.23c5.65 0 10.23-4.58 10.23-10.23 0-3.276-1.549-6.292-4.128-8.211-0.341-0.254-0.412-0.736-0.158-1.077s0.736-0.412 1.077-0.158c2.965 2.207 4.748 5.679 4.748 9.447 0 6.5-5.27 11.77-11.77 11.77s-11.77-5.27-11.77-11.77c0-6.5 5.27-11.77 11.77-11.77z"
22
- }, null, -1)
11
+ createElementVNode("path", { d: "M12.032 2.355c1.632 0 3.205 0.404 4.611 1.166 0.34 0.182 0.466 0.609 0.281 0.949s-0.609 0.463-0.949 0.281c-1.201-0.65-2.546-0.996-3.943-0.996-4.585 0-8.3 3.715-8.3 8.297 0 4.588 3.715 8.303 8.3 8.303s8.3-3.715 8.3-8.303c0-2.063-0.753-4.002-2.098-5.514-0.258-0.287-0.231-0.732 0.059-0.984 0.287-0.258 0.729-0.234 0.987 0.053 1.57 1.764 2.452 4.037 2.452 6.445 0 5.361-4.342 9.703-9.7 9.703s-9.7-4.342-9.7-9.703c0-5.355 4.342-9.697 9.7-9.697zM10.866 7.658c0-0.627 0.507-1.131 1.134-1.131s1.134 0.504 1.134 1.131c0 0.627-0.507 1.131-1.134 1.131s-1.134-0.504-1.134-1.131zM12.706 10.002c-0.044-0.346-0.337-0.609-0.691-0.609-0.387 0-0.7 0.311-0.703 0.697l-0.023 6.762 0.006 0.1c0.044 0.34 0.337 0.603 0.691 0.603 0.387 0.006 0.7-0.311 0.703-0.697l0.023-6.762-0.006-0.094z" }, null, -1)
23
12
  ])]);
24
13
  }
25
- const IconTips = { name: "user-center-icon-tips", render };
14
+ const IconTips = { name: "components-icon-tips", render };
26
15
  export {
27
16
  IconTips as default
28
17
  };
@@ -8,10 +8,21 @@ const _hoisted_1 = {
8
8
  };
9
9
  function render(_ctx, _cache) {
10
10
  return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
11
- createElementVNode("path", { d: "M12.032 2.355c1.632 0 3.205 0.404 4.611 1.166 0.34 0.182 0.466 0.609 0.281 0.949s-0.609 0.463-0.949 0.281c-1.201-0.65-2.546-0.996-3.943-0.996-4.585 0-8.3 3.715-8.3 8.297 0 4.588 3.715 8.303 8.3 8.303s8.3-3.715 8.3-8.303c0-2.063-0.753-4.002-2.098-5.514-0.258-0.287-0.231-0.732 0.059-0.984 0.287-0.258 0.729-0.234 0.987 0.053 1.57 1.764 2.452 4.037 2.452 6.445 0 5.361-4.342 9.703-9.7 9.703s-9.7-4.342-9.7-9.703c0-5.355 4.342-9.697 9.7-9.697zM10.866 7.658c0-0.627 0.507-1.131 1.134-1.131s1.134 0.504 1.134 1.131c0 0.627-0.507 1.131-1.134 1.131s-1.134-0.504-1.134-1.131zM12.706 10.002c-0.044-0.346-0.337-0.609-0.691-0.609-0.387 0-0.7 0.311-0.703 0.697l-0.023 6.762 0.006 0.1c0.044 0.34 0.337 0.603 0.691 0.603 0.387 0.006 0.7-0.311 0.703-0.697l0.023-6.762-0.006-0.094z" }, null, -1)
11
+ createElementVNode("path", {
12
+ fill: "currentColor",
13
+ d: "M12 8.15c0.418 0 0.763 0.31 0.817 0.713l0.008 0.112v8.8c0 0.456-0.369 0.825-0.825 0.825-0.418 0-0.763-0.31-0.817-0.713l-0.008-0.112v-8.8c0-0.456 0.369-0.825 0.825-0.825z"
14
+ }, null, -1),
15
+ createElementVNode("path", {
16
+ fill: "currentColor",
17
+ d: "M13.2 6.225c0 0.663-0.537 1.2-1.2 1.2s-1.2-0.537-1.2-1.2c0-0.663 0.537-1.2 1.2-1.2s1.2 0.537 1.2 1.2z"
18
+ }, null, -1),
19
+ createElementVNode("path", {
20
+ fill: "currentColor",
21
+ d: "M12 0.23c1.222 0 2.42 0.187 3.563 0.549 0.405 0.129 0.63 0.561 0.501 0.967s-0.561 0.63-0.967 0.501c-0.993-0.315-2.034-0.477-3.097-0.477-5.65 0-10.23 4.58-10.23 10.23s4.58 10.23 10.23 10.23c5.65 0 10.23-4.58 10.23-10.23 0-3.276-1.549-6.292-4.128-8.211-0.341-0.254-0.412-0.736-0.158-1.077s0.736-0.412 1.077-0.158c2.965 2.207 4.748 5.679 4.748 9.447 0 6.5-5.27 11.77-11.77 11.77s-11.77-5.27-11.77-11.77c0-6.5 5.27-11.77 11.77-11.77z"
22
+ }, null, -1)
12
23
  ])]);
13
24
  }
14
- const IconTips = { name: "components-icon-tips", render };
25
+ const IconTips = { name: "user-center-icon-tips", render };
15
26
  export {
16
27
  IconTips as default
17
28
  };
@@ -1,6 +1,6 @@
1
1
  import { App } from 'vue';
2
2
  declare const OActivityForm: {
3
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').ActivityFormPropsT> & Readonly<{
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').ActivityFormPropsT> & Readonly<{
4
4
  onConfirm?: ((...args: any[]) => any) | undefined;
5
5
  onClose?: ((...args: any[]) => any) | undefined;
6
6
  }>, {
@@ -292,7 +292,7 @@ declare const OActivityForm: {
292
292
  C: {};
293
293
  M: {};
294
294
  Defaults: {};
295
- }, Readonly<import('./types').ActivityFormPropsT> & Readonly<{
295
+ }, Readonly<import('../../index').ActivityFormPropsT> & Readonly<{
296
296
  onConfirm?: ((...args: any[]) => any) | undefined;
297
297
  onClose?: ((...args: any[]) => any) | undefined;
298
298
  }>, {
@@ -301,7 +301,7 @@ declare const OActivityForm: {
301
301
  __isFragment?: never;
302
302
  __isTeleport?: never;
303
303
  __isSuspense?: never;
304
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').ActivityFormPropsT> & Readonly<{
304
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').ActivityFormPropsT> & Readonly<{
305
305
  onConfirm?: ((...args: any[]) => any) | undefined;
306
306
  onClose?: ((...args: any[]) => any) | undefined;
307
307
  }>, {
@@ -313,7 +313,7 @@ declare const OActivityForm: {
313
313
  install(app: App): void;
314
314
  };
315
315
  declare const OActivityApproval: {
316
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
316
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
317
317
  formRef: ({
318
318
  $: import('vue').ComponentInternalInstance;
319
319
  $data: {};
@@ -597,15 +597,15 @@ declare const OActivityApproval: {
597
597
  C: {};
598
598
  M: {};
599
599
  Defaults: {};
600
- }, Readonly<import('./types').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
600
+ }, Readonly<import('../../index').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
601
601
  __isFragment?: never;
602
602
  __isTeleport?: never;
603
603
  __isSuspense?: never;
604
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').ActivityTablePropsT> & 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 & {
604
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').ActivityTablePropsT> & 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 & {
605
605
  install(app: App): void;
606
606
  };
607
607
  declare const OActivityMyCalendar: {
608
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').MyActivityCalendarPropsT> & Readonly<{
608
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').MyActivityCalendarPropsT> & Readonly<{
609
609
  onEdit?: ((...args: any[]) => any) | undefined;
610
610
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
611
611
  edit: (...args: any[]) => void;
@@ -926,13 +926,13 @@ declare const OActivityMyCalendar: {
926
926
  C: {};
927
927
  M: {};
928
928
  Defaults: {};
929
- }, Readonly<import('./types').MyActivityCalendarPropsT> & Readonly<{
929
+ }, Readonly<import('../../index').MyActivityCalendarPropsT> & Readonly<{
930
930
  onEdit?: ((...args: any[]) => any) | undefined;
931
931
  }>, {}, {}, {}, {}, {}>;
932
932
  __isFragment?: never;
933
933
  __isTeleport?: never;
934
934
  __isSuspense?: never;
935
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').MyActivityCalendarPropsT> & Readonly<{
935
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').MyActivityCalendarPropsT> & Readonly<{
936
936
  onEdit?: ((...args: any[]) => any) | undefined;
937
937
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
938
938
  edit: (...args: any[]) => void;
@@ -13,9 +13,9 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
13
  declare const __VLS_component: import('vue').DefineComponent<AnchorBarPropsT, {
14
14
  isSticky: import('vue').Ref<boolean, boolean>;
15
15
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AnchorBarPropsT> & Readonly<{}>, {
16
- mode: import('./types').AnchorBarModeT;
16
+ mode: import('../../index').AnchorBarModeT;
17
17
  mobileFixed: boolean;
18
- items: import('./types').AnchorBarItemT[];
18
+ items: import('../../index').AnchorBarItemT[];
19
19
  targetOffset: number;
20
20
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
21
21
  sentinelRef: HTMLDivElement;
@@ -1,11 +1,11 @@
1
1
  import { App } from 'vue';
2
2
  declare const OAnchorBar: {
3
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').AnchorBarPropsT> & Readonly<{}>, {
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').AnchorBarPropsT> & Readonly<{}>, {
4
4
  isSticky: import('vue').Ref<boolean, boolean>;
5
5
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
6
- mode: import('./types').AnchorBarModeT;
6
+ mode: import('../../index').AnchorBarModeT;
7
7
  mobileFixed: boolean;
8
- items: import('./types').AnchorBarItemT[];
8
+ items: import('../../index').AnchorBarItemT[];
9
9
  targetOffset: number;
10
10
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
11
11
  sentinelRef: HTMLDivElement;
@@ -16,23 +16,23 @@ declare const OAnchorBar: {
16
16
  C: {};
17
17
  M: {};
18
18
  Defaults: {};
19
- }, Readonly<import('./types').AnchorBarPropsT> & Readonly<{}>, {
19
+ }, Readonly<import('../../index').AnchorBarPropsT> & Readonly<{}>, {
20
20
  isSticky: import('vue').Ref<boolean, boolean>;
21
21
  }, {}, {}, {}, {
22
- mode: import('./types').AnchorBarModeT;
22
+ mode: import('../../index').AnchorBarModeT;
23
23
  mobileFixed: boolean;
24
- items: import('./types').AnchorBarItemT[];
24
+ items: import('../../index').AnchorBarItemT[];
25
25
  targetOffset: number;
26
26
  }>;
27
27
  __isFragment?: never;
28
28
  __isTeleport?: never;
29
29
  __isSuspense?: never;
30
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').AnchorBarPropsT> & Readonly<{}>, {
30
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').AnchorBarPropsT> & Readonly<{}>, {
31
31
  isSticky: import('vue').Ref<boolean, boolean>;
32
32
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
33
- mode: import('./types').AnchorBarModeT;
33
+ mode: import('../../index').AnchorBarModeT;
34
34
  mobileFixed: boolean;
35
- items: import('./types').AnchorBarItemT[];
35
+ items: import('../../index').AnchorBarItemT[];
36
36
  targetOffset: number;
37
37
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
38
38
  $slots: {
@@ -56,6 +56,7 @@ declare function __VLS_template(): {
56
56
  readonly disableChangeCodeTheme?: boolean | undefined;
57
57
  readonly markdownBodyClass?: string | undefined;
58
58
  readonly hideFirstH1?: boolean | undefined;
59
+ readonly hideFirstElementMarginTop?: boolean | undefined;
59
60
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
60
61
  $attrs: import('vue').Attrs;
61
62
  $refs: {
@@ -79,6 +80,7 @@ declare function __VLS_template(): {
79
80
  disableChangeCodeTheme?: boolean;
80
81
  markdownBodyClass?: string;
81
82
  hideFirstH1?: boolean;
83
+ hideFirstElementMarginTop?: boolean;
82
84
  }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
83
85
  disableChangeCodeTheme: boolean;
84
86
  disableH2: boolean;
@@ -87,6 +89,7 @@ declare function __VLS_template(): {
87
89
  disableCode: boolean;
88
90
  markdownBodyClass: string;
89
91
  hideFirstH1: boolean;
92
+ hideFirstElementMarginTop: boolean;
90
93
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
91
94
  beforeCreate?: (() => void) | (() => void)[];
92
95
  created?: (() => void) | (() => void)[];
@@ -115,6 +118,7 @@ declare function __VLS_template(): {
115
118
  disableCode: boolean;
116
119
  markdownBodyClass: string;
117
120
  hideFirstH1: boolean;
121
+ hideFirstElementMarginTop: boolean;
118
122
  }> & Omit<Readonly<{
119
123
  disableH2?: boolean;
120
124
  disableTable?: boolean;
@@ -123,7 +127,8 @@ declare function __VLS_template(): {
123
127
  disableChangeCodeTheme?: boolean;
124
128
  markdownBodyClass?: string;
125
129
  hideFirstH1?: boolean;
126
- }> & Readonly<{}>, "disableChangeCodeTheme" | "disableH2" | "disableTable" | "disableImg" | "disableCode" | "markdownBodyClass" | "hideFirstH1"> & {} & import('vue').ComponentCustomProperties & {} & {
130
+ hideFirstElementMarginTop?: boolean;
131
+ }> & Readonly<{}>, "disableChangeCodeTheme" | "disableH2" | "disableTable" | "disableImg" | "disableCode" | "markdownBodyClass" | "hideFirstH1" | "hideFirstElementMarginTop"> & {} & import('vue').ComponentCustomProperties & {} & {
127
132
  $slots: {
128
133
  header?(_: {
129
134
  h1: HTMLElement | undefined;
@@ -169,6 +174,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
169
174
  readonly disableChangeCodeTheme?: boolean | undefined;
170
175
  readonly markdownBodyClass?: string | undefined;
171
176
  readonly hideFirstH1?: boolean | undefined;
177
+ readonly hideFirstElementMarginTop?: boolean | undefined;
172
178
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
173
179
  $attrs: import('vue').Attrs;
174
180
  $refs: {
@@ -192,6 +198,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
192
198
  disableChangeCodeTheme?: boolean;
193
199
  markdownBodyClass?: string;
194
200
  hideFirstH1?: boolean;
201
+ hideFirstElementMarginTop?: boolean;
195
202
  }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
196
203
  disableChangeCodeTheme: boolean;
197
204
  disableH2: boolean;
@@ -200,6 +207,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
200
207
  disableCode: boolean;
201
208
  markdownBodyClass: string;
202
209
  hideFirstH1: boolean;
210
+ hideFirstElementMarginTop: boolean;
203
211
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
204
212
  beforeCreate?: (() => void) | (() => void)[];
205
213
  created?: (() => void) | (() => void)[];
@@ -228,6 +236,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
228
236
  disableCode: boolean;
229
237
  markdownBodyClass: string;
230
238
  hideFirstH1: boolean;
239
+ hideFirstElementMarginTop: boolean;
231
240
  }> & Omit<Readonly<{
232
241
  disableH2?: boolean;
233
242
  disableTable?: boolean;
@@ -236,7 +245,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
236
245
  disableChangeCodeTheme?: boolean;
237
246
  markdownBodyClass?: string;
238
247
  hideFirstH1?: boolean;
239
- }> & Readonly<{}>, "disableChangeCodeTheme" | "disableH2" | "disableTable" | "disableImg" | "disableCode" | "markdownBodyClass" | "hideFirstH1"> & {} & import('vue').ComponentCustomProperties & {} & {
248
+ hideFirstElementMarginTop?: boolean;
249
+ }> & Readonly<{}>, "disableChangeCodeTheme" | "disableH2" | "disableTable" | "disableImg" | "disableCode" | "markdownBodyClass" | "hideFirstH1" | "hideFirstElementMarginTop"> & {} & import('vue').ComponentCustomProperties & {} & {
240
250
  $slots: {
241
251
  header?(_: {
242
252
  h1: HTMLElement | undefined;
@@ -107,15 +107,16 @@
107
107
  flex-wrap: wrap;
108
108
  gap: var(--o-gap-1);
109
109
  }
110
- .o-article-list .article-content .o-card .o-card-detail .item-type {
111
- display: inline-flex;
110
+ .o-article-list .article-content .o-card .o-card-detail .item-tags {
111
+ display: flex;
112
+ flex-wrap: wrap; /* 换行时上下间距同为 --o-gap-2 */
112
113
  align-items: center;
113
- padding: var(--o-gap-1);
114
+ gap: var(--o-gap-2);
114
115
  }
115
- .o-article-list .article-content .o-card .o-card-detail .item-type.empty-tag {
116
- border-color: transparent;
116
+ .o-article-list .article-content .o-card .o-card-detail .item-tags .item-tag {
117
+ padding: var(--o-gap-1);
117
118
  }
118
- .o-article-list .article-content .o-card .o-card-detail .item-type .o-tag-icon {
119
+ .o-article-list .article-content .o-card .o-card-detail .item-tags .item-tag .o-tag-icon {
119
120
  display: flex;
120
121
  align-items: center;
121
122
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent, useSlots, ref, computed, watch, openBlock, createElementBlock, unref, renderSlot, createCommentVNode, createElementVNode, createBlock, withCtx, Fragment, renderList, createVNode, createSlots, normalizeClass, toDisplayString, resolveDynamicComponent, createTextVNode } from "vue";
1
+ import { defineComponent, useSlots, ref, computed, watch, openBlock, createElementBlock, unref, renderSlot, createCommentVNode, createElementVNode, createBlock, withCtx, Fragment, renderList, createVNode, createSlots, toDisplayString, resolveDynamicComponent, createTextVNode } from "vue";
2
2
  import { ORow, OCol, OCard, OTag, OIcon, OPagination } from "@opensig/opendesign";
3
3
  import { useScreen } from "@opendesign-plus/composables";
4
4
  import OEmpty from "../empty/OEmpty.vue.mjs";
@@ -11,14 +11,18 @@ const _hoisted_2 = {
11
11
  };
12
12
  const _hoisted_3 = { class: "article-content" };
13
13
  const _hoisted_4 = {
14
+ key: 0,
15
+ class: "item-tags"
16
+ };
17
+ const _hoisted_5 = {
14
18
  key: 1,
15
19
  class: "item-desc"
16
20
  };
17
- const _hoisted_5 = { class: "item-info" };
18
- const _hoisted_6 = { key: 0 };
19
- const _hoisted_7 = { key: 1 };
20
- const _hoisted_8 = { key: 2 };
21
- const _hoisted_9 = {
21
+ const _hoisted_6 = { class: "item-info" };
22
+ const _hoisted_7 = { key: 0 };
23
+ const _hoisted_8 = { key: 1 };
24
+ const _hoisted_9 = { key: 2 };
25
+ const _hoisted_10 = {
22
26
  key: 1,
23
27
  class: "article-pagination"
24
28
  };
@@ -107,39 +111,49 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
107
111
  href: item.href,
108
112
  layout: unref(lePadV) ? __props.mobileLayout : "v"
109
113
  }, createSlots({
110
- detail: withCtx(() => [
111
- item.tag ? (openBlock(), createBlock(unref(OTag), {
112
- key: 0,
113
- variant: "outline",
114
- class: normalizeClass(["item-type", !item.tag.label && "empty-tag"])
115
- }, createSlots({
116
- default: withCtx(() => [
117
- createElementVNode("span", null, toDisplayString(item.tag.label), 1)
118
- ]),
119
- _: 2
120
- }, [
121
- item.tag.icon ? {
122
- name: "icon",
123
- fn: withCtx(() => [
124
- createVNode(unref(OIcon), null, {
114
+ detail: withCtx(() => {
115
+ var _a;
116
+ return [
117
+ ((_a = item.tags) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_4, [
118
+ (openBlock(true), createElementBlock(Fragment, null, renderList(item.tags, (tag, idx) => {
119
+ return openBlock(), createBlock(unref(OTag), {
120
+ key: idx,
121
+ class: "item-tag",
122
+ color: tag.color,
123
+ variant: tag.variant ?? "outline",
124
+ size: tag.size,
125
+ round: tag.round
126
+ }, createSlots({
125
127
  default: withCtx(() => [
126
- (openBlock(), createBlock(resolveDynamicComponent(item.tag.icon)))
128
+ createElementVNode("span", null, toDisplayString(tag.label), 1)
127
129
  ]),
128
130
  _: 2
129
- }, 1024)
130
- ]),
131
- key: "0"
132
- } : void 0
133
- ]), 1032, ["class"])) : createCommentVNode("", true),
134
- item.description ? (openBlock(), createElementBlock("div", _hoisted_4, toDisplayString(item.description), 1)) : createCommentVNode("", true)
135
- ]),
131
+ }, [
132
+ tag.icon ? {
133
+ name: "icon",
134
+ fn: withCtx(() => [
135
+ createVNode(unref(OIcon), null, {
136
+ default: withCtx(() => [
137
+ (openBlock(), createBlock(resolveDynamicComponent(tag.icon)))
138
+ ]),
139
+ _: 2
140
+ }, 1024)
141
+ ]),
142
+ key: "0"
143
+ } : void 0
144
+ ]), 1032, ["color", "variant", "size", "round"]);
145
+ }), 128))
146
+ ])) : createCommentVNode("", true),
147
+ item.description ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(item.description), 1)) : createCommentVNode("", true)
148
+ ];
149
+ }),
136
150
  _: 2
137
151
  }, [
138
152
  item.date || item.author || item.location ? {
139
153
  name: "footer",
140
154
  fn: withCtx(() => [
141
- createElementVNode("div", _hoisted_5, [
142
- item.date ? (openBlock(), createElementBlock("span", _hoisted_6, [
155
+ createElementVNode("div", _hoisted_6, [
156
+ item.date ? (openBlock(), createElementBlock("span", _hoisted_7, [
143
157
  createVNode(unref(OIcon), null, {
144
158
  default: withCtx(() => [
145
159
  createVNode(unref(IconTime))
@@ -148,7 +162,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
148
162
  }),
149
163
  createTextVNode(" " + toDisplayString(item.date), 1)
150
164
  ])) : createCommentVNode("", true),
151
- item.author ? (openBlock(), createElementBlock("span", _hoisted_7, [
165
+ item.author ? (openBlock(), createElementBlock("span", _hoisted_8, [
152
166
  createVNode(unref(OIcon), null, {
153
167
  default: withCtx(() => [
154
168
  createVNode(unref(IconAvatar))
@@ -157,7 +171,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
157
171
  }),
158
172
  createTextVNode(" " + toDisplayString(authorText(item.author)), 1)
159
173
  ])) : createCommentVNode("", true),
160
- item.location ? (openBlock(), createElementBlock("span", _hoisted_8, [
174
+ item.location ? (openBlock(), createElementBlock("span", _hoisted_9, [
161
175
  createVNode(unref(OIcon), null, {
162
176
  default: withCtx(() => [
163
177
  createVNode(unref(IconAvatar))
@@ -185,7 +199,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
185
199
  }, null, 8, ["img"])
186
200
  ])
187
201
  ]),
188
- showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_9, [
202
+ showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_10, [
189
203
  createVNode(unref(OPagination), {
190
204
  page: current.value,
191
205
  simple: unref(lePadV),
@@ -5,8 +5,8 @@ declare const OArticle: {
5
5
  headerBg?: string;
6
6
  tags?: string[];
7
7
  community?: string;
8
- prev?: import('../article-pagination').OArticlePaginationItemT | null;
9
- next?: import('../article-pagination').OArticlePaginationItemT | null;
8
+ prev?: import('../../index').OArticlePaginationItemT | null;
9
+ next?: import('../../index').OArticlePaginationItemT | null;
10
10
  type?: "article" | "doc";
11
11
  disableH2?: boolean;
12
12
  disableTable?: boolean;
@@ -21,11 +21,11 @@ declare const OArticle: {
21
21
  nextLabel?: string;
22
22
  radius?: string;
23
23
  }> & Readonly<{
24
- onNavigate?: ((type: "prev" | "next", item: import('../article-pagination').OArticlePaginationItemT) => any) | undefined;
24
+ onNavigate?: ((type: "prev" | "next", item: import('../../index').OArticlePaginationItemT) => any) | undefined;
25
25
  onDownload?: (() => any) | undefined;
26
26
  onCollect?: (() => any) | undefined;
27
27
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
- navigate: (type: "prev" | "next", item: import('../article-pagination').OArticlePaginationItemT) => any;
28
+ navigate: (type: "prev" | "next", item: import('../../index').OArticlePaginationItemT) => any;
29
29
  download: () => any;
30
30
  collect: () => any;
31
31
  }, import('vue').PublicProps, {
@@ -34,8 +34,8 @@ declare const OArticle: {
34
34
  disableTable: boolean;
35
35
  disableImg: boolean;
36
36
  disableCode: boolean;
37
- prev: import('../article-pagination').OArticlePaginationItemT | null;
38
- next: import('../article-pagination').OArticlePaginationItemT | null;
37
+ prev: import('../../index').OArticlePaginationItemT | null;
38
+ next: import('../../index').OArticlePaginationItemT | null;
39
39
  radius: string;
40
40
  tags: string[];
41
41
  enableDownload: boolean;
@@ -53,6 +53,7 @@ declare const OArticle: {
53
53
  readonly disableChangeCodeTheme?: boolean | undefined;
54
54
  readonly markdownBodyClass?: string | undefined;
55
55
  readonly hideFirstH1?: boolean | undefined;
56
+ readonly hideFirstElementMarginTop?: boolean | undefined;
56
57
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
57
58
  $attrs: import('vue').Attrs;
58
59
  $refs: {
@@ -76,6 +77,7 @@ declare const OArticle: {
76
77
  disableChangeCodeTheme?: boolean;
77
78
  markdownBodyClass?: string;
78
79
  hideFirstH1?: boolean;
80
+ hideFirstElementMarginTop?: boolean;
79
81
  }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
80
82
  disableChangeCodeTheme: boolean;
81
83
  disableH2: boolean;
@@ -84,6 +86,7 @@ declare const OArticle: {
84
86
  disableCode: boolean;
85
87
  markdownBodyClass: string;
86
88
  hideFirstH1: boolean;
89
+ hideFirstElementMarginTop: boolean;
87
90
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
88
91
  beforeCreate?: (() => void) | (() => void)[];
89
92
  created?: (() => void) | (() => void)[];
@@ -112,6 +115,7 @@ declare const OArticle: {
112
115
  disableCode: boolean;
113
116
  markdownBodyClass: string;
114
117
  hideFirstH1: boolean;
118
+ hideFirstElementMarginTop: boolean;
115
119
  }> & Omit<Readonly<{
116
120
  disableH2?: boolean;
117
121
  disableTable?: boolean;
@@ -120,7 +124,8 @@ declare const OArticle: {
120
124
  disableChangeCodeTheme?: boolean;
121
125
  markdownBodyClass?: string;
122
126
  hideFirstH1?: boolean;
123
- }> & Readonly<{}>, "disableChangeCodeTheme" | "disableH2" | "disableTable" | "disableImg" | "disableCode" | "markdownBodyClass" | "hideFirstH1"> & {} & import('vue').ComponentCustomProperties & {} & {
127
+ hideFirstElementMarginTop?: boolean;
128
+ }> & Readonly<{}>, "disableChangeCodeTheme" | "disableH2" | "disableTable" | "disableImg" | "disableCode" | "markdownBodyClass" | "hideFirstH1" | "hideFirstElementMarginTop"> & {} & import('vue').ComponentCustomProperties & {} & {
124
129
  $slots: {
125
130
  header?(_: {
126
131
  h1: HTMLElement | undefined;
@@ -141,8 +146,8 @@ declare const OArticle: {
141
146
  headerBg?: string;
142
147
  tags?: string[];
143
148
  community?: string;
144
- prev?: import('../article-pagination').OArticlePaginationItemT | null;
145
- next?: import('../article-pagination').OArticlePaginationItemT | null;
149
+ prev?: import('../../index').OArticlePaginationItemT | null;
150
+ next?: import('../../index').OArticlePaginationItemT | null;
146
151
  type?: "article" | "doc";
147
152
  disableH2?: boolean;
148
153
  disableTable?: boolean;
@@ -157,7 +162,7 @@ declare const OArticle: {
157
162
  nextLabel?: string;
158
163
  radius?: string;
159
164
  }> & Readonly<{
160
- onNavigate?: ((type: "prev" | "next", item: import('../article-pagination').OArticlePaginationItemT) => any) | undefined;
165
+ onNavigate?: ((type: "prev" | "next", item: import('../../index').OArticlePaginationItemT) => any) | undefined;
161
166
  onDownload?: (() => any) | undefined;
162
167
  onCollect?: (() => any) | undefined;
163
168
  }>, {}, {}, {}, {}, {
@@ -166,8 +171,8 @@ declare const OArticle: {
166
171
  disableTable: boolean;
167
172
  disableImg: boolean;
168
173
  disableCode: boolean;
169
- prev: import('../article-pagination').OArticlePaginationItemT | null;
170
- next: import('../article-pagination').OArticlePaginationItemT | null;
174
+ prev: import('../../index').OArticlePaginationItemT | null;
175
+ next: import('../../index').OArticlePaginationItemT | null;
171
176
  radius: string;
172
177
  tags: string[];
173
178
  enableDownload: boolean;
@@ -182,8 +187,8 @@ declare const OArticle: {
182
187
  headerBg?: string;
183
188
  tags?: string[];
184
189
  community?: string;
185
- prev?: import('../article-pagination').OArticlePaginationItemT | null;
186
- next?: import('../article-pagination').OArticlePaginationItemT | null;
190
+ prev?: import('../../index').OArticlePaginationItemT | null;
191
+ next?: import('../../index').OArticlePaginationItemT | null;
187
192
  type?: "article" | "doc";
188
193
  disableH2?: boolean;
189
194
  disableTable?: boolean;
@@ -198,11 +203,11 @@ declare const OArticle: {
198
203
  nextLabel?: string;
199
204
  radius?: string;
200
205
  }> & Readonly<{
201
- onNavigate?: ((type: "prev" | "next", item: import('../article-pagination').OArticlePaginationItemT) => any) | undefined;
206
+ onNavigate?: ((type: "prev" | "next", item: import('../../index').OArticlePaginationItemT) => any) | undefined;
202
207
  onDownload?: (() => any) | undefined;
203
208
  onCollect?: (() => any) | undefined;
204
209
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
205
- navigate: (type: "prev" | "next", item: import('../article-pagination').OArticlePaginationItemT) => any;
210
+ navigate: (type: "prev" | "next", item: import('../../index').OArticlePaginationItemT) => any;
206
211
  download: () => any;
207
212
  collect: () => any;
208
213
  }, string, {
@@ -211,8 +216,8 @@ declare const OArticle: {
211
216
  disableTable: boolean;
212
217
  disableImg: boolean;
213
218
  disableCode: boolean;
214
- prev: import('../article-pagination').OArticlePaginationItemT | null;
215
- next: import('../article-pagination').OArticlePaginationItemT | null;
219
+ prev: import('../../index').OArticlePaginationItemT | null;
220
+ next: import('../../index').OArticlePaginationItemT | null;
216
221
  radius: string;
217
222
  tags: string[];
218
223
  enableDownload: boolean;
@@ -226,7 +231,7 @@ declare const OArticle: {
226
231
  install(app: App): void;
227
232
  };
228
233
  declare const OArticleList: {
229
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').ArticleListPropsT> & Readonly<{
234
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').ArticleListPropsT> & Readonly<{
230
235
  "onPage-change"?: ((value: {
231
236
  page: number;
232
237
  pageSize: number;
@@ -237,7 +242,7 @@ declare const OArticleList: {
237
242
  pageSize: number;
238
243
  }) => any;
239
244
  }, import('vue').PublicProps, {
240
- data: import('./types').ArticleItemT[];
245
+ data: import('../../index').ArticleItemT[];
241
246
  pageSizes: number[];
242
247
  pageSize: number;
243
248
  defaultCovers: string[];
@@ -249,13 +254,13 @@ declare const OArticleList: {
249
254
  C: {};
250
255
  M: {};
251
256
  Defaults: {};
252
- }, Readonly<import('./types').ArticleListPropsT> & Readonly<{
257
+ }, Readonly<import('../../index').ArticleListPropsT> & Readonly<{
253
258
  "onPage-change"?: ((value: {
254
259
  page: number;
255
260
  pageSize: number;
256
261
  }) => any) | undefined;
257
262
  }>, {}, {}, {}, {}, {
258
- data: import('./types').ArticleItemT[];
263
+ data: import('../../index').ArticleItemT[];
259
264
  pageSizes: number[];
260
265
  pageSize: number;
261
266
  defaultCovers: string[];
@@ -264,7 +269,7 @@ declare const OArticleList: {
264
269
  __isFragment?: never;
265
270
  __isTeleport?: never;
266
271
  __isSuspense?: never;
267
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').ArticleListPropsT> & Readonly<{
272
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').ArticleListPropsT> & Readonly<{
268
273
  "onPage-change"?: ((value: {
269
274
  page: number;
270
275
  pageSize: number;
@@ -275,7 +280,7 @@ declare const OArticleList: {
275
280
  pageSize: number;
276
281
  }) => any;
277
282
  }, string, {
278
- data: import('./types').ArticleItemT[];
283
+ data: import('../../index').ArticleItemT[];
279
284
  pageSizes: number[];
280
285
  pageSize: number;
281
286
  defaultCovers: string[];
@@ -284,7 +289,7 @@ declare const OArticleList: {
284
289
  $slots: Readonly<{
285
290
  filter?: () => any;
286
291
  card?: (props: {
287
- item: import('./types').ArticleItemT;
292
+ item: import('../../index').ArticleItemT;
288
293
  index: number;
289
294
  cover?: string;
290
295
  }) => any;
@@ -292,7 +297,7 @@ declare const OArticleList: {
292
297
  }> & {
293
298
  filter?: () => any;
294
299
  card?: (props: {
295
- item: import('./types').ArticleItemT;
300
+ item: import('../../index').ArticleItemT;
296
301
  index: number;
297
302
  cover?: string;
298
303
  }) => any;