@opendesign-plus-test/components 0.0.1-rc.281 → 0.0.1-rc.283

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 (116) hide show
  1. package/dist/chunk-element-plus.cjs.js +1 -1
  2. package/dist/chunk-element-plus.es.js +113 -99
  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/index.d.ts +25 -25
  7. package/dist/components/article-anchor/OArticleAnchor.vue.d.ts +0 -176
  8. package/dist/components/article-anchor/index.d.ts +9 -185
  9. package/dist/components/article-pagination/index.d.ts +17 -17
  10. package/dist/components/banner/index.d.ts +6 -6
  11. package/dist/components/brand/index.d.ts +15 -15
  12. package/dist/components/community-updates/OCommunityUpdates.vue.d.ts +1 -1
  13. package/dist/components/community-updates/index.d.ts +14 -14
  14. package/dist/components/cookie-notice/OCookieNotice.vue.d.ts +9 -3
  15. package/dist/components/cookie-notice/index.d.ts +15 -2
  16. package/dist/components/doc-layout/ODocLayout.vue.d.ts +2 -5
  17. package/dist/components/doc-layout/index.d.ts +0 -1
  18. package/dist/components/element-plus/OElCookieNotice.vue.d.ts +9 -3
  19. package/dist/components/events/index.d.ts +20 -20
  20. package/dist/components/footer/index.d.ts +3 -3
  21. package/dist/components/header/OHeaderMobile.vue.d.ts +8 -8
  22. package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  23. package/dist/components/header/index.d.ts +28 -28
  24. package/dist/components/header-search/index.d.ts +13 -13
  25. package/dist/components/html-viewer/utils.d.ts +1 -1
  26. package/dist/components/logo-swiper/index.d.ts +11 -11
  27. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  28. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  29. package/dist/components/meeting/index.d.ts +51 -51
  30. package/dist/components/org/index.d.ts +9 -9
  31. package/dist/components/recursion-menu/index.d.ts +3 -3
  32. package/dist/components/search/index.d.ts +11 -11
  33. package/dist/components/search-result/OSearchResultHeader.vue.d.ts +24 -24
  34. package/dist/components/search-result/index.d.ts +31 -31
  35. package/dist/components/sig/index.d.ts +15 -15
  36. package/dist/components/summit/index.d.ts +12 -12
  37. package/dist/components/user-center/index.d.ts +18 -18
  38. package/dist/components/video/index.d.ts +3 -3
  39. package/dist/components.cjs.js +4 -4
  40. package/dist/components.css +1 -1
  41. package/dist/components.es.js +1702 -1719
  42. package/dist/treeshaking/_virtual/~icons/components/icon-link.mjs +2 -0
  43. package/dist/treeshaking/components/activity/index.d.ts +9 -9
  44. package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
  45. package/dist/treeshaking/components/anchor-bar/index.d.ts +9 -9
  46. package/dist/treeshaking/components/article/index.d.ts +25 -25
  47. package/dist/treeshaking/components/article-anchor/OArticleAnchor.mjs +2 -2
  48. package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue.d.ts +0 -176
  49. package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue_vue_type_script_setup_true_lang.mjs +19 -46
  50. package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue_vue_type_style_index_0_scoped_dcc5e0d5_lang.css +18 -0
  51. package/dist/treeshaking/components/article-anchor/components/ArticleAnchorMobile.mjs +2 -2
  52. package/dist/treeshaking/components/article-anchor/components/ArticleAnchorMobile.vue_vue_type_script_setup_true_lang.mjs +1 -1
  53. package/dist/treeshaking/components/article-anchor/components/{ArticleAnchorMobile.vue_vue_type_style_index_0_scoped_3d9befab_lang.css → ArticleAnchorMobile.vue_vue_type_style_index_0_scoped_7fff2dcb_lang.css} +13 -10
  54. package/dist/treeshaking/components/article-anchor/components/ArticleAnchorPad.mjs +2 -2
  55. package/dist/treeshaking/components/article-anchor/components/ArticleAnchorPad.vue_vue_type_script_setup_true_lang.mjs +1 -1
  56. package/dist/treeshaking/components/article-anchor/components/{ArticleAnchorPad.vue_vue_type_style_index_0_scoped_06601233_lang.css → ArticleAnchorPad.vue_vue_type_style_index_0_scoped_c895f349_lang.css} +18 -12
  57. package/dist/treeshaking/components/article-anchor/components/ArticleAnchorPc.mjs +2 -2
  58. package/dist/treeshaking/components/article-anchor/components/ArticleAnchorPc.vue_vue_type_script_setup_true_lang.mjs +4 -4
  59. package/dist/treeshaking/components/article-anchor/components/{ArticleAnchorPc.vue_vue_type_style_index_0_scoped_2f93d5ed_lang.css → ArticleAnchorPc.vue_vue_type_style_index_0_scoped_a480e4e7_lang.css} +13 -13
  60. package/dist/treeshaking/components/article-anchor/index.d.ts +9 -185
  61. package/dist/treeshaking/components/article-pagination/index.d.ts +17 -17
  62. package/dist/treeshaking/components/banner/index.d.ts +6 -6
  63. package/dist/treeshaking/components/brand/index.d.ts +15 -15
  64. package/dist/treeshaking/components/community-updates/OCommunityUpdates.vue.d.ts +1 -1
  65. package/dist/treeshaking/components/community-updates/index.d.ts +14 -14
  66. package/dist/treeshaking/components/cookie-notice/OCookieNotice.mjs +2 -2
  67. package/dist/treeshaking/components/cookie-notice/OCookieNotice.vue.d.ts +9 -3
  68. package/dist/treeshaking/components/cookie-notice/OCookieNotice.vue_vue_type_script_setup_true_lang.mjs +43 -35
  69. package/dist/treeshaking/components/cookie-notice/{OCookieNotice.vue_vue_type_style_index_0_scoped_a7993ee9_lang.css → OCookieNotice.vue_vue_type_style_index_0_scoped_6f0c80fe_lang.css} +57 -57
  70. package/dist/treeshaking/components/cookie-notice/index.d.ts +15 -2
  71. package/dist/treeshaking/components/doc-layout/ODocLayout.mjs +2 -2
  72. package/dist/treeshaking/components/doc-layout/ODocLayout.vue.d.ts +2 -5
  73. package/dist/treeshaking/components/doc-layout/ODocLayout.vue_vue_type_script_setup_true_lang.mjs +7 -33
  74. package/dist/treeshaking/components/doc-layout/{ODocLayout.vue_vue_type_style_index_0_scoped_5403350d_lang.css → ODocLayout.vue_vue_type_style_index_0_scoped_b4aff4ce_lang.css} +51 -63
  75. package/dist/treeshaking/components/doc-layout/index.d.ts +0 -1
  76. package/dist/treeshaking/components/element-plus/OElCookieNotice.mjs +2 -2
  77. package/dist/treeshaking/components/element-plus/OElCookieNotice.vue.d.ts +9 -3
  78. package/dist/treeshaking/components/element-plus/OElCookieNotice.vue_vue_type_script_setup_true_lang.mjs +44 -27
  79. package/dist/treeshaking/components/element-plus/{OElCookieNotice.vue_vue_type_style_index_1_scoped_d9e2bcf9_lang.css → OElCookieNotice.vue_vue_type_style_index_1_scoped_5fa9f6f1_lang.css} +153 -153
  80. package/dist/treeshaking/components/events/index.d.ts +20 -20
  81. package/dist/treeshaking/components/footer/components/FooterList.mjs +2 -2
  82. package/dist/treeshaking/components/footer/components/FooterList.vue_vue_type_script_setup_true_lang.mjs +2 -1
  83. package/dist/treeshaking/components/footer/components/{FooterList.vue_vue_type_style_index_0_scoped_1d7a4555_lang.css → FooterList.vue_vue_type_style_index_0_scoped_0ed4bc5f_lang.css} +106 -106
  84. package/dist/treeshaking/components/footer/components/FooterSimple.mjs +2 -2
  85. package/dist/treeshaking/components/footer/components/FooterSimple.vue_vue_type_script_setup_true_lang.mjs +2 -1
  86. package/dist/treeshaking/components/footer/components/{FooterSimple.vue_vue_type_style_index_0_scoped_bb36ddad_lang.css → FooterSimple.vue_vue_type_style_index_0_scoped_42242446_lang.css} +25 -25
  87. package/dist/treeshaking/components/footer/index.d.ts +3 -3
  88. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +8 -8
  89. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  90. package/dist/treeshaking/components/header/index.d.ts +28 -28
  91. package/dist/treeshaking/components/header-search/index.d.ts +13 -13
  92. package/dist/treeshaking/components/html-viewer/OHtmlViewer.mjs +3 -2
  93. package/dist/treeshaking/components/html-viewer/OHtmlViewer.vue_vue_type_script_setup_true_lang.mjs +2 -2
  94. package/dist/treeshaking/components/html-viewer/OHtmlViewer.vue_vue_type_style_index_0_scoped_ba52bc9c_lang.css +318 -0
  95. package/dist/treeshaking/components/html-viewer/OHtmlViewer.vue_vue_type_style_index_1_lang.css +20 -0
  96. package/dist/treeshaking/components/html-viewer/utils.d.ts +1 -1
  97. package/dist/treeshaking/components/html-viewer/utils.mjs +22 -3
  98. package/dist/treeshaking/components/logo-swiper/index.d.ts +11 -11
  99. package/dist/treeshaking/components/markdown/components/MarkdownCode.mjs +2 -2
  100. package/dist/treeshaking/components/markdown/components/MarkdownCode.vue_vue_type_style_index_0_lang.css +0 -4
  101. package/dist/treeshaking/components/markdown/components/{MarkdownCode.vue_vue_type_style_index_1_scoped_e878a7c0_lang.css → MarkdownCode.vue_vue_type_style_index_1_scoped_a65c7007_lang.css} +56 -56
  102. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  103. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  104. package/dist/treeshaking/components/meeting/index.d.ts +51 -51
  105. package/dist/treeshaking/components/org/index.d.ts +9 -9
  106. package/dist/treeshaking/components/recursion-menu/index.d.ts +3 -3
  107. package/dist/treeshaking/components/search/index.d.ts +11 -11
  108. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +24 -24
  109. package/dist/treeshaking/components/search-result/index.d.ts +31 -31
  110. package/dist/treeshaking/components/sig/index.d.ts +15 -15
  111. package/dist/treeshaking/components/summit/index.d.ts +12 -12
  112. package/dist/treeshaking/components/user-center/index.d.ts +18 -18
  113. package/dist/treeshaking/components/video/index.d.ts +3 -3
  114. package/package.json +1 -1
  115. package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue_vue_type_style_index_0_scoped_4f5aa268_lang.css +0 -37
  116. package/dist/treeshaking/components/html-viewer/OHtmlViewer.vue_vue_type_style_index_0_scoped_2f5d08df_lang.css +0 -196
@@ -1,7 +1,7 @@
1
1
  import { App } from 'vue';
2
2
  declare const OBrandLogo: {
3
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').BrandLogoPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
4
- list: import('../../index').BrandLogoItemT[];
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').BrandLogoPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
4
+ list: import('./types').BrandLogoItemT[];
5
5
  formats: string[];
6
6
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
7
7
  P: {};
@@ -10,22 +10,22 @@ declare const OBrandLogo: {
10
10
  C: {};
11
11
  M: {};
12
12
  Defaults: {};
13
- }, Readonly<import('../../index').BrandLogoPropsT> & Readonly<{}>, {}, {}, {}, {}, {
14
- list: import('../../index').BrandLogoItemT[];
13
+ }, Readonly<import('./types').BrandLogoPropsT> & Readonly<{}>, {}, {}, {}, {}, {
14
+ list: import('./types').BrandLogoItemT[];
15
15
  formats: string[];
16
16
  }>;
17
17
  __isFragment?: never;
18
18
  __isTeleport?: never;
19
19
  __isSuspense?: never;
20
- } & import('vue').ComponentOptionsBase<Readonly<import('../../index').BrandLogoPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
21
- list: import('../../index').BrandLogoItemT[];
20
+ } & import('vue').ComponentOptionsBase<Readonly<import('./types').BrandLogoPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
21
+ list: import('./types').BrandLogoItemT[];
22
22
  formats: string[];
23
23
  }, {}, 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;
25
25
  };
26
26
  declare const OBrandFile: {
27
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').BrandFilePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
28
- list: import('../../index').BrandFileItemT[];
27
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').BrandFilePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
28
+ list: import('./types').BrandFileItemT[];
29
29
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
30
30
  P: {};
31
31
  B: {};
@@ -33,30 +33,30 @@ declare const OBrandFile: {
33
33
  C: {};
34
34
  M: {};
35
35
  Defaults: {};
36
- }, Readonly<import('../../index').BrandFilePropsT> & Readonly<{}>, {}, {}, {}, {}, {
37
- list: import('../../index').BrandFileItemT[];
36
+ }, Readonly<import('./types').BrandFilePropsT> & Readonly<{}>, {}, {}, {}, {}, {
37
+ list: import('./types').BrandFileItemT[];
38
38
  }>;
39
39
  __isFragment?: never;
40
40
  __isTeleport?: never;
41
41
  __isSuspense?: never;
42
- } & import('vue').ComponentOptionsBase<Readonly<import('../../index').BrandFilePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
43
- list: import('../../index').BrandFileItemT[];
42
+ } & import('vue').ComponentOptionsBase<Readonly<import('./types').BrandFilePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
43
+ list: import('./types').BrandFileItemT[];
44
44
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
45
45
  install(app: App): void;
46
46
  };
47
47
  declare const OBrandStandard: {
48
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').BrandStandardPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
48
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').BrandStandardPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
49
49
  P: {};
50
50
  B: {};
51
51
  D: {};
52
52
  C: {};
53
53
  M: {};
54
54
  Defaults: {};
55
- }, Readonly<import('../../index').BrandStandardPropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
55
+ }, Readonly<import('./types').BrandStandardPropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
56
56
  __isFragment?: never;
57
57
  __isTeleport?: never;
58
58
  __isSuspense?: never;
59
- } & import('vue').ComponentOptionsBase<Readonly<import('../../index').BrandStandardPropsT> & 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 & {
59
+ } & import('vue').ComponentOptionsBase<Readonly<import('./types').BrandStandardPropsT> & 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 & {
60
60
  install(app: App): void;
61
61
  };
62
62
  export { OBrandLogo, OBrandFile, OBrandStandard };
@@ -33,7 +33,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
33
33
  "onUpdate:activeTab"?: ((value: string) => any) | undefined;
34
34
  }>, {
35
35
  data: CommunityUpdatesItemT[] | Record<string, CommunityUpdatesItemT[]>;
36
- tabs: import('../../index').CommunityUpdatesTabT[];
36
+ tabs: import('./types').CommunityUpdatesTabT[];
37
37
  moreHref: string;
38
38
  moreText: string;
39
39
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -2,7 +2,7 @@ import { App } from 'vue';
2
2
  declare const OCommunityUpdates: {
3
3
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
4
4
  activeTab?: string;
5
- } & import('../../index').CommunityUpdatesPropsT> & Readonly<{
5
+ } & import('./types').CommunityUpdatesPropsT> & Readonly<{
6
6
  "onTab-change"?: ((value: string) => any) | undefined;
7
7
  "onUpdate:activeTab"?: ((value: string) => any) | undefined;
8
8
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -10,8 +10,8 @@ declare const OCommunityUpdates: {
10
10
  } & {
11
11
  "tab-change": (value: string) => any;
12
12
  }, import('vue').PublicProps, {
13
- data: import('../../index').CommunityUpdatesItemT[] | Record<string, import('../../index').CommunityUpdatesItemT[]>;
14
- tabs: import('../../index').CommunityUpdatesTabT[];
13
+ data: import('./types').CommunityUpdatesItemT[] | Record<string, import('./types').CommunityUpdatesItemT[]>;
14
+ tabs: import('./types').CommunityUpdatesTabT[];
15
15
  moreHref: string;
16
16
  moreText: string;
17
17
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
@@ -23,12 +23,12 @@ declare const OCommunityUpdates: {
23
23
  Defaults: {};
24
24
  }, Readonly<{
25
25
  activeTab?: string;
26
- } & import('../../index').CommunityUpdatesPropsT> & Readonly<{
26
+ } & import('./types').CommunityUpdatesPropsT> & Readonly<{
27
27
  "onTab-change"?: ((value: string) => any) | undefined;
28
28
  "onUpdate:activeTab"?: ((value: string) => any) | undefined;
29
29
  }>, {}, {}, {}, {}, {
30
- data: import('../../index').CommunityUpdatesItemT[] | Record<string, import('../../index').CommunityUpdatesItemT[]>;
31
- tabs: import('../../index').CommunityUpdatesTabT[];
30
+ data: import('./types').CommunityUpdatesItemT[] | Record<string, import('./types').CommunityUpdatesItemT[]>;
31
+ tabs: import('./types').CommunityUpdatesTabT[];
32
32
  moreHref: string;
33
33
  moreText: string;
34
34
  }>;
@@ -37,7 +37,7 @@ declare const OCommunityUpdates: {
37
37
  __isSuspense?: never;
38
38
  } & import('vue').ComponentOptionsBase<Readonly<{
39
39
  activeTab?: string;
40
- } & import('../../index').CommunityUpdatesPropsT> & Readonly<{
40
+ } & import('./types').CommunityUpdatesPropsT> & Readonly<{
41
41
  "onTab-change"?: ((value: string) => any) | undefined;
42
42
  "onUpdate:activeTab"?: ((value: string) => any) | undefined;
43
43
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -45,20 +45,20 @@ declare const OCommunityUpdates: {
45
45
  } & {
46
46
  "tab-change": (value: string) => any;
47
47
  }, string, {
48
- data: import('../../index').CommunityUpdatesItemT[] | Record<string, import('../../index').CommunityUpdatesItemT[]>;
49
- tabs: import('../../index').CommunityUpdatesTabT[];
48
+ data: import('./types').CommunityUpdatesItemT[] | Record<string, import('./types').CommunityUpdatesItemT[]>;
49
+ tabs: import('./types').CommunityUpdatesTabT[];
50
50
  moreHref: string;
51
51
  moreText: string;
52
52
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
53
53
  $slots: Readonly<{
54
54
  card?: (props: {
55
- item: import('../../index').CommunityUpdatesItemT;
55
+ item: import('./types').CommunityUpdatesItemT;
56
56
  index: number;
57
57
  tab: string;
58
58
  }) => any;
59
59
  }> & {
60
60
  card?: (props: {
61
- item: import('../../index').CommunityUpdatesItemT;
61
+ item: import('./types').CommunityUpdatesItemT;
62
62
  index: number;
63
63
  tab: string;
64
64
  }) => any;
@@ -68,7 +68,7 @@ declare const OCommunityUpdates: {
68
68
  };
69
69
  declare const OCommunityUpdatesCard: {
70
70
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
71
- item: import('../../index').CommunityUpdatesItemT;
71
+ item: import('./types').CommunityUpdatesItemT;
72
72
  }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
73
73
  P: {};
74
74
  B: {};
@@ -77,13 +77,13 @@ declare const OCommunityUpdatesCard: {
77
77
  M: {};
78
78
  Defaults: {};
79
79
  }, Readonly<{
80
- item: import('../../index').CommunityUpdatesItemT;
80
+ item: import('./types').CommunityUpdatesItemT;
81
81
  }> & Readonly<{}>, {}, {}, {}, {}, {}>;
82
82
  __isFragment?: never;
83
83
  __isTeleport?: never;
84
84
  __isSuspense?: never;
85
85
  } & import('vue').ComponentOptionsBase<Readonly<{
86
- item: import('../../index').CommunityUpdatesItemT;
86
+ item: import('./types').CommunityUpdatesItemT;
87
87
  }> & 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 & {
88
88
  install(app: App): void;
89
89
  };
@@ -1,6 +1,6 @@
1
1
  import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
2
2
  import OCookieNotice_vue_vue_type_script_setup_true_lang_default from "./OCookieNotice.vue_vue_type_script_setup_true_lang.mjs";
3
- import './OCookieNotice.vue_vue_type_style_index_0_scoped_a7993ee9_lang.css';
3
+ import './OCookieNotice.vue_vue_type_style_index_0_scoped_6f0c80fe_lang.css';
4
4
  // src/components/cookie-notice/OCookieNotice.vue
5
- var OCookieNotice_default = /*#__PURE__*/ _plugin_vue_export_helper_default(OCookieNotice_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-a7993ee9"]]);
5
+ var OCookieNotice_default = /*#__PURE__*/ _plugin_vue_export_helper_default(OCookieNotice_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-6f0c80fe"]]);
6
6
  export { OCookieNotice_default as default };
@@ -5,12 +5,18 @@ type __VLS_Props = {
5
5
  wrapper?: string | HTMLElement;
6
6
  cookieDomain: string;
7
7
  };
8
- declare const _default: import('vue').DefineComponent<__VLS_Props, {
8
+ type __VLS_PublicProps = {
9
+ 'analysisAllowed'?: boolean;
10
+ } & __VLS_Props;
11
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
9
12
  check(): void;
10
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
13
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ "update:analysisAllowed": (value: boolean) => any;
15
+ } & {
11
16
  "update:visible": (value: boolean) => any;
12
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
18
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
19
+ "onUpdate:analysisAllowed"?: ((value: boolean) => any) | undefined;
14
20
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
21
  cookieNoticeRef: HTMLDivElement;
16
22
  }, any>;
@@ -1,6 +1,6 @@
1
1
  import { useI18n } from "../../i18n/index.mjs";
2
2
  import ClientOnly_default from "../common/ClientOnly.mjs";
3
- import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, nextTick, normalizeClass, onMounted, openBlock, ref, toDisplayString, unref, watch, withCtx } from "vue";
3
+ import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, nextTick, normalizeClass, onMounted, openBlock, ref, toDisplayString, unref, useModel, watch, withCtx } from "vue";
4
4
  import { OButton, ODialog, OIcon, OIconClose, OSwitch } from "@opensig/opendesign";
5
5
  import { useScreen } from "@opendesign-plus/composables";
6
6
  import { useVModel } from "@vueuse/core";
@@ -52,14 +52,20 @@ var COOKIE_KEY_ZH = "agreed-cookiepolicy-zh";
52
52
  var COOKIE_KEY_EN = "agreed-cookiepolicy-en";
53
53
  var OCookieNotice_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
54
54
  __name: "OCookieNotice",
55
- props: {
55
+ props: /*@__PURE__*/ mergeModels({
56
56
  visible: { type: Boolean },
57
57
  community: {},
58
58
  detailUrl: {},
59
59
  wrapper: {},
60
60
  cookieDomain: {}
61
- },
62
- emits: ["update:visible"],
61
+ }, {
62
+ "analysisAllowed": {
63
+ type: Boolean,
64
+ default: false
65
+ },
66
+ "analysisAllowedModifiers": {}
67
+ }),
68
+ emits: /*@__PURE__*/ mergeModels(["update:visible"], ["update:analysisAllowed"]),
63
69
  setup(__props, { expose: __expose, emit: __emit }) {
64
70
  const props = __props;
65
71
  const emit = __emit;
@@ -75,7 +81,8 @@ var OCookieNotice_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
75
81
  return false;
76
82
  });
77
83
  const cookieKey = computed(() => isZh.value ? COOKIE_KEY_ZH : COOKIE_KEY_EN);
78
- const analysisAllowed = ref(false);
84
+ const analysisAllowed = useModel(__props, "analysisAllowed");
85
+ let syncingAnalysisAllowed = false;
79
86
  const visibleVmodel = useVModel(props, "visible", emit, { defaultValue: false });
80
87
  const getCookie = (key) => {
81
88
  const cookie = document.cookie.split(";").find((row) => row.split("=")[0].trim() === encodeURIComponent(key));
@@ -109,43 +116,52 @@ var OCookieNotice_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
109
116
  if (isZh.value) return getCookie(cookieKey.value) === NOT_SHOW_BUT_AGREED;
110
117
  return getCookie(cookieKey.value) === ALL_AGREED;
111
118
  };
119
+ const syncAnalysisAllowed = () => {
120
+ syncingAnalysisAllowed = true;
121
+ analysisAllowed.value = isAllAgreed();
122
+ syncingAnalysisAllowed = false;
123
+ };
112
124
  onMounted(() => {
125
+ syncAnalysisAllowed();
113
126
  if (isNotSigned()) toggleNoticeVisible(true);
114
127
  });
115
128
  watch(locale, () => {
116
129
  toggleNoticeVisible(isNotSigned());
117
130
  });
118
131
  const acceptAll = () => {
119
- analysisAllowed.value = true;
120
132
  removeCookie(cookieKey.value, props.cookieDomain ?? location.hostname);
121
133
  setCookie(cookieKey.value, ALL_AGREED, 180, props.cookieDomain ?? location.hostname);
134
+ toggleDlgVisible(false);
122
135
  toggleNoticeVisible(false);
123
136
  };
124
137
  const rejectAll = () => {
125
- analysisAllowed.value = false;
126
138
  removeCookie(cookieKey.value, props.cookieDomain ?? location.hostname);
127
139
  setCookie(cookieKey.value, NECCESSARY_AGREED, 180, props.cookieDomain ?? location.hostname);
140
+ toggleDlgVisible(false);
128
141
  toggleNoticeVisible(false);
129
142
  };
143
+ const applyConsent = (val) => {
144
+ if (val) acceptAll();
145
+ else rejectAll();
146
+ };
147
+ const setAnalysisAllowed = (val) => {
148
+ if (analysisAllowed.value === val) applyConsent(val);
149
+ else analysisAllowed.value = val;
150
+ };
151
+ watch(analysisAllowed, (val) => {
152
+ if (!syncingAnalysisAllowed) applyConsent(val);
153
+ }, { flush: "sync" });
130
154
  const dlgActions = computed(() => {
131
155
  if (isPhone.value) return [{
132
156
  id: "save",
133
157
  label: t("cookie.saveSetting"),
134
158
  variant: "text",
135
- onClick: () => {
136
- if (analysisAllowed.value) acceptAll();
137
- else rejectAll();
138
- toggleDlgVisible(false);
139
- }
159
+ onClick: () => applyConsent(analysisAllowed.value)
140
160
  }, {
141
161
  id: "allowAll",
142
162
  label: t("cookie.acceptAll"),
143
163
  variant: "text",
144
- onClick: () => {
145
- analysisAllowed.value = true;
146
- acceptAll();
147
- toggleDlgVisible(false);
148
- }
164
+ onClick: () => setAnalysisAllowed(true)
149
165
  }];
150
166
  return [{
151
167
  id: "save",
@@ -154,11 +170,7 @@ var OCookieNotice_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
154
170
  variant: "outline",
155
171
  size: "medium",
156
172
  round: "pill",
157
- onClick: () => {
158
- if (analysisAllowed.value) acceptAll();
159
- else rejectAll();
160
- toggleDlgVisible(false);
161
- }
173
+ onClick: () => applyConsent(analysisAllowed.value)
162
174
  }, {
163
175
  id: "allowAll",
164
176
  color: "primary",
@@ -166,15 +178,11 @@ var OCookieNotice_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
166
178
  variant: "outline",
167
179
  size: "medium",
168
180
  round: "pill",
169
- onClick: () => {
170
- analysisAllowed.value = true;
171
- acceptAll();
172
- toggleDlgVisible(false);
173
- }
181
+ onClick: () => setAnalysisAllowed(true)
174
182
  }];
175
183
  });
176
184
  const onDlgChange = (val) => {
177
- if (val) analysisAllowed.value = isAllAgreed();
185
+ if (val) syncAnalysisAllowed();
178
186
  };
179
187
  __expose({ check() {
180
188
  if (isAllAgreed() === visibleVmodel.value) toggleNoticeVisible();
@@ -197,7 +205,7 @@ var OCookieNotice_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
197
205
  "font-size": "24px",
198
206
  "margin-right": "4px"
199
207
  } }, {
200
- default: withCtx(() => [(openBlock(), createElementBlock("svg", _hoisted_4, [..._cache[4] || (_cache[4] = [createElementVNode("path", {
208
+ default: withCtx(() => [(openBlock(), createElementBlock("svg", _hoisted_4, [..._cache[6] || (_cache[6] = [createElementVNode("path", {
201
209
  fill: "var(--o-color-primary1)",
202
210
  d: "M21 12c0 4.971-4.029 9-9 9s-9-4.029-9-9c0-4.971 4.029-9 9-9s9 4.029 9 9z"
203
211
  }, null, -1), createElementVNode("path", {
@@ -222,13 +230,13 @@ var OCookieNotice_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
222
230
  target: "_blank",
223
231
  rel: "noopener noreferrer"
224
232
  }, toDisplayString(unref(t)("cookie.about")), 9, _hoisted_10),
225
- _cache[5] || (_cache[5] = createTextVNode(". ", -1))
233
+ _cache[7] || (_cache[7] = createTextVNode(". ", -1))
226
234
  ]), createElementVNode("div", _hoisted_11, [
227
235
  createVNode(unref(OButton), {
228
236
  round: "pill",
229
237
  variant: "outline",
230
238
  color: "primary",
231
- onClick: acceptAll
239
+ onClick: _cache[1] || (_cache[1] = ($event) => setAnalysisAllowed(true))
232
240
  }, {
233
241
  default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("cookie.acceptAll")), 1)]),
234
242
  _: 1
@@ -237,7 +245,7 @@ var OCookieNotice_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
237
245
  round: "pill",
238
246
  variant: "outline",
239
247
  color: "primary",
240
- onClick: rejectAll
248
+ onClick: _cache[2] || (_cache[2] = ($event) => setAnalysisAllowed(false))
241
249
  }, {
242
250
  default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("cookie.rejectAll")), 1)]),
243
251
  _: 1
@@ -246,14 +254,14 @@ var OCookieNotice_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
246
254
  round: "pill",
247
255
  variant: "outline",
248
256
  color: "primary",
249
- onClick: _cache[1] || (_cache[1] = ($event) => toggleDlgVisible(true))
257
+ onClick: _cache[3] || (_cache[3] = ($event) => toggleDlgVisible(true))
250
258
  }, {
251
259
  default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("cookie.manage")), 1)]),
252
260
  _: 1
253
261
  })
254
262
  ])])) : createCommentVNode("", true)], 10, _hoisted_2)]), createVNode(unref(ODialog), {
255
263
  visible: isDlgVisible.value,
256
- "onUpdate:visible": _cache[3] || (_cache[3] = ($event) => isDlgVisible.value = $event),
264
+ "onUpdate:visible": _cache[5] || (_cache[5] = ($event) => isDlgVisible.value = $event),
257
265
  size: unref(leLaptop) ? "medium" : "large",
258
266
  "phone-half-full": unref(lePadV),
259
267
  "main-class": enableGrid.value ? "o-cookie-notice-dlg-main" : "",
@@ -265,7 +273,7 @@ var OCookieNotice_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
265
273
  header: withCtx(() => [createElementVNode("span", _hoisted_12, toDisplayString(unref(t)("cookie.manage")), 1)]),
266
274
  default: withCtx(() => [createElementVNode("div", _hoisted_13, [createElementVNode("div", _hoisted_14, [createElementVNode("div", _hoisted_15, [createElementVNode("span", _hoisted_16, toDisplayString(unref(t)("cookie.necessaryCookie")), 1), createElementVNode("span", _hoisted_17, toDisplayString(unref(t)("cookie.alwaysOn")), 1)]), createElementVNode("div", _hoisted_18, toDisplayString(unref(t)("cookie.necessaryCookieDetail")), 1)]), createElementVNode("div", _hoisted_19, [createElementVNode("div", _hoisted_20, [createElementVNode("span", _hoisted_21, toDisplayString(unref(t)("cookie.analyticalCookie")), 1), createElementVNode("span", _hoisted_22, [createVNode(unref(OSwitch), {
267
275
  modelValue: analysisAllowed.value,
268
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => analysisAllowed.value = $event)
276
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => analysisAllowed.value = $event)
269
277
  }, null, 8, ["modelValue"])])]), createElementVNode("div", _hoisted_23, toDisplayString(unref(t)("cookie.analyticalCookieDetail")), 1)])])]),
270
278
  _: 1
271
279
  }, 8, [