@opendesign-plus-test/components 0.0.1-rc.154 → 0.0.1-rc.156

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 (119) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +52 -40
  3. package/dist/components/activity/OActivityApproval.vue.d.ts +169 -19
  4. package/dist/components/activity/OActivityForm.vue.d.ts +169 -19
  5. package/dist/components/activity/OActivityMyCalendar.vue.d.ts +18 -10
  6. package/dist/components/activity/index.d.ts +356 -52
  7. package/dist/components/banner/index.d.ts +6 -6
  8. package/dist/components/events/index.d.ts +20 -20
  9. package/dist/components/footer/index.d.ts +3 -3
  10. package/dist/components/header/OHeaderMobile.vue.d.ts +8 -8
  11. package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  12. package/dist/components/header/index.d.ts +28 -28
  13. package/dist/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +1 -1
  14. package/dist/components/header-language-switcher/index.d.ts +3 -3
  15. package/dist/components/header-search/OHeaderSearch.vue.d.ts +43 -35
  16. package/dist/components/header-search/index.d.ts +37 -33
  17. package/dist/components/logo-swiper/index.d.ts +11 -11
  18. package/dist/components/markdown/MarkdownCode.vue.d.ts +25 -0
  19. package/dist/components/markdown/MarkdownImage.vue.d.ts +21 -0
  20. package/dist/components/markdown/MarkdownPageTitle.vue.d.ts +28 -0
  21. package/dist/components/markdown/MarkdownTable.vue.d.ts +21 -0
  22. package/dist/components/markdown/MarkdownTitle.vue.d.ts +33 -0
  23. package/dist/components/markdown/components/TableData.vue.d.ts +9 -0
  24. package/dist/components/markdown/components/TableExpand.vue.d.ts +12 -0
  25. package/dist/components/markdown/index.d.ts +163 -0
  26. package/dist/components/meeting/OMeetingForm.vue.d.ts +169 -19
  27. package/dist/components/meeting/OMeetingMyCalendar.vue.d.ts +18 -10
  28. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  29. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  30. package/dist/components/meeting/components/OMeetingSigAside.vue.d.ts +9 -5
  31. package/dist/components/meeting/composables/useMeetingConfig.d.ts +1 -1
  32. package/dist/components/meeting/index.d.ts +212 -58
  33. package/dist/components/search/OSearchInput.vue.d.ts +43 -35
  34. package/dist/components/search/index.d.ts +35 -31
  35. package/dist/components/search/internal/SearchImageInput.vue.d.ts +37 -29
  36. package/dist/components/sig/OSigList.vue.d.ts +0 -2
  37. package/dist/components/video/index.d.ts +3 -3
  38. package/dist/components.cjs.js +40 -40
  39. package/dist/components.css +1 -1
  40. package/dist/components.es.js +13714 -13111
  41. package/dist/index.d.ts +1 -0
  42. package/dist/treeshaking/_virtual/icon-copy2.mjs +20 -0
  43. package/dist/treeshaking/_virtual/icon-expand.mjs +21 -0
  44. package/dist/treeshaking/_virtual/icon-link.mjs +31 -0
  45. package/dist/treeshaking/_virtual/icon-more.mjs +19 -0
  46. package/dist/treeshaking/_virtual/icon-unexpand.mjs +22 -0
  47. package/dist/treeshaking/assets/markdown/md-title-bg.png.mjs +4 -0
  48. package/dist/treeshaking/assets/svg-icons/icon-zoom.svg.mjs +4 -0
  49. package/dist/treeshaking/components/activity/OActivityApproval.css +8 -8
  50. package/dist/treeshaking/components/activity/OActivityApproval.vue.d.ts +169 -19
  51. package/dist/treeshaking/components/activity/OActivityForm.vue.d.ts +169 -19
  52. package/dist/treeshaking/components/activity/OActivityMyCalendar.vue.d.ts +18 -10
  53. package/dist/treeshaking/components/activity/index.d.ts +356 -52
  54. package/dist/treeshaking/components/banner/index.d.ts +6 -6
  55. package/dist/treeshaking/components/events/index.d.ts +20 -20
  56. package/dist/treeshaking/components/footer/index.d.ts +3 -3
  57. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +8 -8
  58. package/dist/treeshaking/components/header/components/HeaderFlatten.css +55 -60
  59. package/dist/treeshaking/components/header/components/HeaderFlatten.vue.mjs +1 -1
  60. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  61. package/dist/treeshaking/components/header/index.d.ts +28 -28
  62. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +1 -1
  63. package/dist/treeshaking/components/header-language-switcher/index.d.ts +3 -3
  64. package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +43 -35
  65. package/dist/treeshaking/components/header-search/index.d.ts +37 -33
  66. package/dist/treeshaking/components/logo-swiper/index.d.ts +11 -11
  67. package/dist/treeshaking/components/markdown/MarkdownCode.css +116 -0
  68. package/dist/treeshaking/components/markdown/MarkdownCode.vue.d.ts +25 -0
  69. package/dist/treeshaking/components/markdown/MarkdownCode.vue.mjs +7 -0
  70. package/dist/treeshaking/components/markdown/MarkdownCode.vue2.mjs +121 -0
  71. package/dist/treeshaking/components/markdown/MarkdownImage.css +39 -0
  72. package/dist/treeshaking/components/markdown/MarkdownImage.vue.d.ts +21 -0
  73. package/dist/treeshaking/components/markdown/MarkdownImage.vue.mjs +7 -0
  74. package/dist/treeshaking/components/markdown/MarkdownImage.vue2.mjs +64 -0
  75. package/dist/treeshaking/components/markdown/MarkdownPageTitle.css +230 -0
  76. package/dist/treeshaking/components/markdown/MarkdownPageTitle.vue.d.ts +28 -0
  77. package/dist/treeshaking/components/markdown/MarkdownPageTitle.vue.mjs +7 -0
  78. package/dist/treeshaking/components/markdown/MarkdownPageTitle.vue2.mjs +127 -0
  79. package/dist/treeshaking/components/markdown/MarkdownTable.css +64 -0
  80. package/dist/treeshaking/components/markdown/MarkdownTable.vue.d.ts +21 -0
  81. package/dist/treeshaking/components/markdown/MarkdownTable.vue.mjs +7 -0
  82. package/dist/treeshaking/components/markdown/MarkdownTable.vue2.mjs +69 -0
  83. package/dist/treeshaking/components/markdown/MarkdownTitle.css +76 -0
  84. package/dist/treeshaking/components/markdown/MarkdownTitle.vue.d.ts +33 -0
  85. package/dist/treeshaking/components/markdown/MarkdownTitle.vue.mjs +7 -0
  86. package/dist/treeshaking/components/markdown/MarkdownTitle.vue2.mjs +66 -0
  87. package/dist/treeshaking/components/markdown/components/TableData.css +94 -0
  88. package/dist/treeshaking/components/markdown/components/TableData.vue.d.ts +9 -0
  89. package/dist/treeshaking/components/markdown/components/TableData.vue.mjs +7 -0
  90. package/dist/treeshaking/components/markdown/components/TableData.vue2.mjs +112 -0
  91. package/dist/treeshaking/components/markdown/components/TableExpand.css +66 -0
  92. package/dist/treeshaking/components/markdown/components/TableExpand.vue.d.ts +12 -0
  93. package/dist/treeshaking/components/markdown/components/TableExpand.vue.mjs +7 -0
  94. package/dist/treeshaking/components/markdown/components/TableExpand.vue2.mjs +89 -0
  95. package/dist/treeshaking/components/markdown/index.d.ts +163 -0
  96. package/dist/treeshaking/components/markdown/index.mjs +37 -0
  97. package/dist/treeshaking/components/meeting/OMeetingForm.vue.d.ts +169 -19
  98. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.d.ts +18 -10
  99. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  100. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  101. package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue.d.ts +9 -5
  102. package/dist/treeshaking/components/meeting/composables/useMeetingConfig.d.ts +1 -1
  103. package/dist/treeshaking/components/meeting/index.d.ts +212 -58
  104. package/dist/treeshaking/components/search/OSearchInput.vue.d.ts +43 -35
  105. package/dist/treeshaking/components/search/index.d.ts +35 -31
  106. package/dist/treeshaking/components/search/internal/SearchImageInput.vue.d.ts +37 -29
  107. package/dist/treeshaking/components/sig/OSigDetail.css +1 -1
  108. package/dist/treeshaking/components/sig/OSigList.css +130 -152
  109. package/dist/treeshaking/components/sig/OSigList.vue.d.ts +0 -2
  110. package/dist/treeshaking/components/sig/OSigList.vue.mjs +99 -107
  111. package/dist/treeshaking/components/sig/components/OSigItem.css +366 -30
  112. package/dist/treeshaking/components/video/OVideoDetail.css +7 -7
  113. package/dist/treeshaking/components/video/index.d.ts +3 -3
  114. package/dist/treeshaking/i18n/en.mjs +7 -1
  115. package/dist/treeshaking/i18n/zh.mjs +7 -1
  116. package/dist/treeshaking/index.d.ts +1 -0
  117. package/dist/treeshaking/index.mjs +6 -0
  118. package/dist/treeshaking/shared/theme.mjs +15 -3
  119. package/package.json +3 -3
@@ -13,15 +13,15 @@ declare const OHeaderSearch: {
13
13
  } & {
14
14
  [x: string]: any;
15
15
  }, import('vue').PublicProps, {
16
- modelValue: string;
17
16
  clearable: boolean;
17
+ modelValue: string;
18
18
  debounce: number;
19
19
  simple: boolean;
20
20
  imageUrl: string;
21
21
  enableImageSearch: boolean;
22
22
  maxImageSize: number;
23
- onestepItems: import('../search').OSearchRecommendItem[];
24
- suggestItems: import('../search').OSearchRecommendItem[];
23
+ onestepItems: import('../../index').OSearchRecommendItem[];
24
+ suggestItems: import('../../index').OSearchRecommendItem[];
25
25
  recommendItems: string[];
26
26
  historyItems: string[];
27
27
  hotItems: string[];
@@ -46,7 +46,7 @@ declare const OHeaderSearch: {
46
46
  readonly imagePlaceholder?: string | undefined;
47
47
  readonly size?: "small" | "medium" | "large" | undefined;
48
48
  readonly enableImageSearch?: boolean | undefined;
49
- readonly uploadImage?: import('../search').OSearchUploadImageFn | undefined;
49
+ readonly uploadImage?: import('../../index').OSearchUploadImageFn | undefined;
50
50
  readonly maxImageSize?: number | undefined;
51
51
  readonly imageUploadTooltip?: string | undefined;
52
52
  readonly expanded?: boolean | undefined;
@@ -67,9 +67,9 @@ declare const OHeaderSearch: {
67
67
  $props: Partial<{
68
68
  color: "normal" | "primary" | "success" | "warning" | "danger";
69
69
  type: "text" | "password";
70
- disabled: boolean;
70
+ disabled: boolean | undefined;
71
71
  variant: "solid" | "outline" | "text";
72
- clearable: boolean;
72
+ clearable: boolean | undefined;
73
73
  readonly: boolean;
74
74
  noKeyboard: boolean;
75
75
  showLength: "auto" | "always" | "never";
@@ -82,10 +82,8 @@ declare const OHeaderSearch: {
82
82
  readonly type: "text" | "password";
83
83
  readonly color: "danger" | "warning" | "success" | "primary" | "normal";
84
84
  readonly variant: "solid" | "outline" | "text";
85
- readonly disabled: boolean;
86
85
  readonly readonly: boolean;
87
86
  readonly noKeyboard: boolean;
88
- readonly clearable: boolean;
89
87
  readonly showLength: "auto" | "always" | "never";
90
88
  readonly inputOnOutlimit: boolean;
91
89
  readonly showPasswordEvent: "click" | "pointerdown";
@@ -94,6 +92,8 @@ declare const OHeaderSearch: {
94
92
  readonly onlyNumericInput: boolean;
95
93
  readonly size?: "small" | "large" | "medium" | undefined;
96
94
  readonly round?: import('@opensig/opendesign').RoundT | undefined;
95
+ readonly disabled?: boolean | undefined;
96
+ readonly clearable?: boolean | undefined;
97
97
  readonly modelValue?: string | number | undefined;
98
98
  readonly defaultValue?: string | number | undefined;
99
99
  readonly placeholder?: string | undefined;
@@ -111,7 +111,7 @@ declare const OHeaderSearch: {
111
111
  readonly onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
112
112
  readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
113
113
  readonly onPressEnter?: ((evt: KeyboardEvent) => any) | undefined | undefined;
114
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "color" | "variant" | "disabled" | "readonly" | "noKeyboard" | "clearable" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput">;
114
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "color" | "variant" | "disabled" | "clearable" | "readonly" | "noKeyboard" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput">;
115
115
  $attrs: import('vue').Attrs;
116
116
  $refs: {
117
117
  [x: string]: unknown;
@@ -156,7 +156,8 @@ declare const OHeaderSearch: {
156
156
  type: StringConstructor;
157
157
  };
158
158
  disabled: {
159
- type: BooleanConstructor;
159
+ type: import('vue').PropType<boolean | undefined>;
160
+ default: undefined;
160
161
  };
161
162
  readonly: {
162
163
  type: BooleanConstructor;
@@ -165,7 +166,8 @@ declare const OHeaderSearch: {
165
166
  type: BooleanConstructor;
166
167
  };
167
168
  clearable: {
168
- type: BooleanConstructor;
169
+ type: import('vue').PropType<boolean | undefined>;
170
+ default: undefined;
169
171
  };
170
172
  minLength: {
171
173
  type: NumberConstructor;
@@ -232,9 +234,9 @@ declare const OHeaderSearch: {
232
234
  }, string, {
233
235
  color: "normal" | "primary" | "success" | "warning" | "danger";
234
236
  type: "text" | "password";
235
- disabled: boolean;
237
+ disabled: boolean | undefined;
236
238
  variant: "solid" | "outline" | "text";
237
- clearable: boolean;
239
+ clearable: boolean | undefined;
238
240
  readonly: boolean;
239
241
  noKeyboard: boolean;
240
242
  showLength: "auto" | "always" | "never";
@@ -266,9 +268,9 @@ declare const OHeaderSearch: {
266
268
  } & Readonly<{
267
269
  color: "normal" | "primary" | "success" | "warning" | "danger";
268
270
  type: "text" | "password";
269
- disabled: boolean;
271
+ disabled: boolean | undefined;
270
272
  variant: "solid" | "outline" | "text";
271
- clearable: boolean;
273
+ clearable: boolean | undefined;
272
274
  readonly: boolean;
273
275
  noKeyboard: boolean;
274
276
  showLength: "auto" | "always" | "never";
@@ -309,7 +311,8 @@ declare const OHeaderSearch: {
309
311
  type: StringConstructor;
310
312
  };
311
313
  disabled: {
312
- type: BooleanConstructor;
314
+ type: import('vue').PropType<boolean | undefined>;
315
+ default: undefined;
313
316
  };
314
317
  readonly: {
315
318
  type: BooleanConstructor;
@@ -318,7 +321,8 @@ declare const OHeaderSearch: {
318
321
  type: BooleanConstructor;
319
322
  };
320
323
  clearable: {
321
- type: BooleanConstructor;
324
+ type: import('vue').PropType<boolean | undefined>;
325
+ default: undefined;
322
326
  };
323
327
  minLength: {
324
328
  type: NumberConstructor;
@@ -368,7 +372,7 @@ declare const OHeaderSearch: {
368
372
  onFocus?: ((evt: FocusEvent) => any) | undefined;
369
373
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
370
374
  onPressEnter?: ((evt: KeyboardEvent) => any) | undefined;
371
- }>, "blur" | "focus" | "type" | "color" | "variant" | "disabled" | "clear" | "readonly" | "noKeyboard" | "clearable" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput" | "inputEl" | "togglePassword"> & {
375
+ }>, "blur" | "focus" | "type" | "color" | "variant" | "disabled" | "clear" | "clearable" | "readonly" | "noKeyboard" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput" | "inputEl" | "togglePassword"> & {
372
376
  focus: () => void | undefined;
373
377
  blur: () => void | undefined;
374
378
  clear: () => void | undefined;
@@ -418,8 +422,8 @@ declare const OHeaderSearch: {
418
422
  }, string, {
419
423
  size: "small" | "medium" | "large";
420
424
  disabled: boolean;
421
- modelValue: string;
422
425
  clearable: boolean;
426
+ modelValue: string;
423
427
  preview: boolean;
424
428
  expanded: boolean;
425
429
  imageUrl: string;
@@ -451,8 +455,8 @@ declare const OHeaderSearch: {
451
455
  } & Readonly<{
452
456
  size: "small" | "medium" | "large";
453
457
  disabled: boolean;
454
- modelValue: string;
455
458
  clearable: boolean;
459
+ modelValue: string;
456
460
  preview: boolean;
457
461
  expanded: boolean;
458
462
  imageUrl: string;
@@ -463,7 +467,7 @@ declare const OHeaderSearch: {
463
467
  allowedImageTypes: string[];
464
468
  }> & Omit<Readonly<import('../search/internal/SearchImageInput.vue').SearchImageInputPropsT> & Readonly<{
465
469
  [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
466
- }>, "blur" | "focus" | "awaitUpload" | "getUploadedUrl" | "getIsUploading" | "resetImage" | ("size" | "disabled" | "modelValue" | "clearable" | "preview" | "expanded" | "imageUrl" | "enableImageSearch" | "maxImageSize" | "showSuffix" | "inlineThumbnail" | "allowedImageTypes")> & {
470
+ }>, "blur" | "focus" | "awaitUpload" | "getUploadedUrl" | "getIsUploading" | "resetImage" | ("size" | "disabled" | "clearable" | "modelValue" | "preview" | "expanded" | "imageUrl" | "enableImageSearch" | "maxImageSize" | "showSuffix" | "inlineThumbnail" | "allowedImageTypes")> & {
467
471
  focus: () => void | undefined;
468
472
  blur: () => void | undefined;
469
473
  awaitUpload: () => Promise<void>;
@@ -498,15 +502,15 @@ declare const OHeaderSearch: {
498
502
  close: () => void;
499
503
  search: (overrideKeyword?: string) => Promise<void>;
500
504
  }, {}, {}, {}, {
501
- modelValue: string;
502
505
  clearable: boolean;
506
+ modelValue: string;
503
507
  debounce: number;
504
508
  simple: boolean;
505
509
  imageUrl: string;
506
510
  enableImageSearch: boolean;
507
511
  maxImageSize: number;
508
- onestepItems: import('../search').OSearchRecommendItem[];
509
- suggestItems: import('../search').OSearchRecommendItem[];
512
+ onestepItems: import('../../index').OSearchRecommendItem[];
513
+ suggestItems: import('../../index').OSearchRecommendItem[];
510
514
  recommendItems: string[];
511
515
  historyItems: string[];
512
516
  hotItems: string[];
@@ -535,15 +539,15 @@ declare const OHeaderSearch: {
535
539
  } & {
536
540
  [x: string]: any;
537
541
  }, string, {
538
- modelValue: string;
539
542
  clearable: boolean;
543
+ modelValue: string;
540
544
  debounce: number;
541
545
  simple: boolean;
542
546
  imageUrl: string;
543
547
  enableImageSearch: boolean;
544
548
  maxImageSize: number;
545
- onestepItems: import('../search').OSearchRecommendItem[];
546
- suggestItems: import('../search').OSearchRecommendItem[];
549
+ onestepItems: import('../../index').OSearchRecommendItem[];
550
+ suggestItems: import('../../index').OSearchRecommendItem[];
547
551
  recommendItems: string[];
548
552
  historyItems: string[];
549
553
  hotItems: string[];
@@ -569,8 +573,8 @@ declare const OHeaderSearch: {
569
573
  recommendItems: string[];
570
574
  historyItems: string[];
571
575
  hotItems: string[];
572
- suggestItems: import('../search').OSearchRecommendItem[];
573
- onestepItems: import('../search').OSearchRecommendItem[];
576
+ suggestItems: import('../../index').OSearchRecommendItem[];
577
+ onestepItems: import('../../index').OSearchRecommendItem[];
574
578
  keyword: string;
575
579
  }): any;
576
580
  'recommend-header'?(_: {
@@ -580,17 +584,17 @@ declare const OHeaderSearch: {
580
584
  items: string[];
581
585
  }): any;
582
586
  'onestep-header'?(_: {
583
- items: import('../search').OSearchRecommendItem[];
587
+ items: import('../../index').OSearchRecommendItem[];
584
588
  }): any;
585
589
  'onestep-content'?(_: {
586
- items: import('../search').OSearchRecommendItem[];
590
+ items: import('../../index').OSearchRecommendItem[];
587
591
  keyword: string;
588
592
  }): any;
589
593
  'suggest-header'?(_: {
590
- items: import('../search').OSearchRecommendItem[];
594
+ items: import('../../index').OSearchRecommendItem[];
591
595
  }): any;
592
596
  'suggest-content'?(_: {
593
- items: import('../search').OSearchRecommendItem[];
597
+ items: import('../../index').OSearchRecommendItem[];
594
598
  keyword: string;
595
599
  }): any;
596
600
  'history-header'?(_: {
@@ -20,13 +20,13 @@ declare const OLogoSwiper: {
20
20
  install(app: App): void;
21
21
  };
22
22
  declare const OLogoSwiperItems: {
23
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').OLogoSwiperItemsPropsT> & Readonly<{
24
- onClick?: ((item: import('./types').OLogoSwiperItemT) => any) | undefined;
23
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').OLogoSwiperItemsPropsT> & Readonly<{
24
+ onClick?: ((item: import('../../index').OLogoSwiperItemT) => any) | undefined;
25
25
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
26
- click: (item: import('./types').OLogoSwiperItemT) => any;
26
+ click: (item: import('../../index').OLogoSwiperItemT) => any;
27
27
  }, import('vue').PublicProps, {
28
28
  reverse: boolean;
29
- data: import('./types').OLogoSwiperItemT[];
29
+ data: import('../../index').OLogoSwiperItemT[];
30
30
  target: "_blank" | "_parent" | "_self" | "_top";
31
31
  duration: number;
32
32
  fit: "cover" | "contain" | "fill" | "none" | "scale-down";
@@ -42,11 +42,11 @@ declare const OLogoSwiperItems: {
42
42
  C: {};
43
43
  M: {};
44
44
  Defaults: {};
45
- }, Readonly<import('./types').OLogoSwiperItemsPropsT> & Readonly<{
46
- onClick?: ((item: import('./types').OLogoSwiperItemT) => any) | undefined;
45
+ }, Readonly<import('../../index').OLogoSwiperItemsPropsT> & Readonly<{
46
+ onClick?: ((item: import('../../index').OLogoSwiperItemT) => any) | undefined;
47
47
  }>, {}, {}, {}, {}, {
48
48
  reverse: boolean;
49
- data: import('./types').OLogoSwiperItemT[];
49
+ data: import('../../index').OLogoSwiperItemT[];
50
50
  target: "_blank" | "_parent" | "_self" | "_top";
51
51
  duration: number;
52
52
  fit: "cover" | "contain" | "fill" | "none" | "scale-down";
@@ -57,13 +57,13 @@ declare const OLogoSwiperItems: {
57
57
  __isFragment?: never;
58
58
  __isTeleport?: never;
59
59
  __isSuspense?: never;
60
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').OLogoSwiperItemsPropsT> & Readonly<{
61
- onClick?: ((item: import('./types').OLogoSwiperItemT) => any) | undefined;
60
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').OLogoSwiperItemsPropsT> & Readonly<{
61
+ onClick?: ((item: import('../../index').OLogoSwiperItemT) => any) | undefined;
62
62
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
63
- click: (item: import('./types').OLogoSwiperItemT) => any;
63
+ click: (item: import('../../index').OLogoSwiperItemT) => any;
64
64
  }, string, {
65
65
  reverse: boolean;
66
- data: import('./types').OLogoSwiperItemT[];
66
+ data: import('../../index').OLogoSwiperItemT[];
67
67
  target: "_blank" | "_parent" | "_self" | "_top";
68
68
  duration: number;
69
69
  fit: "cover" | "contain" | "fill" | "none" | "scale-down";
@@ -0,0 +1,116 @@
1
+ .hover-icon-rotate .o-icon[data-v-3956975e] {
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-3956975e] {
6
+ transform: rotate(-180deg);
7
+ }
8
+ }
9
+ .o-md-code[data-v-3956975e] {
10
+ position: relative;
11
+ margin-bottom: var(--o-gap-2, 8px);
12
+ }
13
+ .o-md-code[data-v-3956975e] .o-scroller,
14
+ .o-md-code[data-v-3956975e] .o-scroller-container,
15
+ .o-md-code[data-v-3956975e] .o-scrollbar,
16
+ .o-md-code[data-v-3956975e] .o-scrollbar-rail,
17
+ .o-md-code[data-v-3956975e] .o-scrollbar-thumb,
18
+ .o-md-code[data-v-3956975e] .o-scrollbar-track {
19
+ margin-bottom: 0;
20
+ }
21
+ .o-md-code[data-v-3956975e] .o-scrollbar-x {
22
+ --scrollbar-height: 97%;
23
+ }
24
+ .o-md-code[data-v-3956975e] .o-scroller-container * {
25
+ margin-bottom: 0;
26
+ }
27
+ .o-md-code[data-v-3956975e] .o-scrollbar-thumb .o-scrollbar-x-thumb-bar {
28
+ margin-top: auto !important;
29
+ }
30
+ .o-md-code .o-md-code-tools[data-v-3956975e] {
31
+ position: absolute;
32
+ top: var(--o-gap-3);
33
+ right: var(--o-gap-4);
34
+ z-index: 3;
35
+ display: flex;
36
+ justify-content: right;
37
+ align-self: center;
38
+ color: var(--o-color-info2);
39
+ font-size: 16px;
40
+ }
41
+ @media (max-width: 840px) {
42
+ .o-md-code .o-md-code-tools[data-v-3956975e] {
43
+ right: var(--o-gap-3);
44
+ }
45
+ }
46
+ .o-md-code .o-md-code-icon-theme[data-v-3956975e],
47
+ .o-md-code .o-md-code-icon-copy[data-v-3956975e] {
48
+ cursor: pointer;
49
+ }
50
+ @media (hover: hover) {
51
+ .o-md-code .o-md-code-icon-theme[data-v-3956975e]:hover,
52
+ .o-md-code .o-md-code-icon-copy[data-v-3956975e]:hover {
53
+ color: var(--o-color-info1);
54
+ }
55
+ }
56
+ .o-md-code .o-md-code-icon-copy[data-v-3956975e] {
57
+ margin-left: 12px;
58
+ }
59
+ .o-md-code.is-light .o-md-code-icon-copy[data-v-3956975e],
60
+ .o-md-code.is-light .o-md-code-icon-theme[data-v-3956975e] {
61
+ color: rgba(0, 0, 0, 0.8);
62
+ }
63
+ @media (hover: hover) {
64
+ .o-md-code.is-light .o-md-code-icon-copy[data-v-3956975e]:hover,
65
+ .o-md-code.is-light .o-md-code-icon-theme[data-v-3956975e]:hover {
66
+ color: rgb(0, 0, 0);
67
+ }
68
+ }
69
+ .o-md-code.is-dark .o-md-code-icon-copy[data-v-3956975e],
70
+ .o-md-code.is-dark .o-md-code-icon-theme[data-v-3956975e] {
71
+ color: rgba(255, 255, 255, 0.8);
72
+ }
73
+ @media (hover: hover) {
74
+ .o-md-code.is-dark .o-md-code-icon-copy[data-v-3956975e]:hover,
75
+ .o-md-code.is-dark .o-md-code-icon-theme[data-v-3956975e]:hover {
76
+ color: rgb(255, 255, 255);
77
+ }
78
+ }
79
+ .markdown-body.is-light[data-v-3956975e] {
80
+ --o-md-code-bg-color: #f6f7f8;
81
+ }
82
+ .markdown-body.is-light[data-v-3956975e] code span {
83
+ color: var(--shiki-light, inherit) !important;
84
+ }
85
+ .markdown-body.is-dark[data-v-3956975e] {
86
+ --o-md-code-bg-color: #212327;
87
+ }
88
+ .markdown-body.is-dark[data-v-3956975e] code span {
89
+ color: var(--shiki-dark, inherit) !important;
90
+ }
91
+ .markdown-body.is-dark .o-md-code-icon-copy[data-v-3956975e],
92
+ .markdown-body.is-dark .o-md-code-icon-theme[data-v-3956975e] {
93
+ color: rgba(255, 255, 255, 0.8);
94
+ }
95
+ @media (hover: hover) {
96
+ .markdown-body.is-dark .o-md-code-icon-copy[data-v-3956975e]:hover,
97
+ .markdown-body.is-dark .o-md-code-icon-theme[data-v-3956975e]:hover {
98
+ color: rgb(255, 255, 255);
99
+ }
100
+ }
101
+ .markdown-body[data-v-3956975e] .copy {
102
+ display: none;
103
+ }
104
+ .markdown-body[data-v-3956975e] pre {
105
+ overflow: visible;
106
+ overflow-x: visible;
107
+ background-color: transparent;
108
+ }
109
+ .markdown-body[data-v-3956975e] pre code {
110
+ background-color: var(--o-md-code-bg-color);
111
+ }
112
+ @media (max-width: 840px) {
113
+ .markdown-body[data-v-3956975e] pre code {
114
+ padding-top: 28px;
115
+ }
116
+ }
@@ -0,0 +1,25 @@
1
+ type __VLS_Props = {
2
+ lang?: string;
3
+ code?: string;
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {
11
+ mdCodeRef: HTMLDivElement;
12
+ };
13
+ rootEl: HTMLDivElement;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
17
+ mdCodeRef: HTMLDivElement;
18
+ }, HTMLDivElement>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
+ export default _default;
21
+ type __VLS_WithTemplateSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,7 @@
1
+ import _sfc_main from "./MarkdownCode.vue2.mjs";
2
+ import './MarkdownCode.css';
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const _MarkdownCode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3956975e"]]);
5
+ export {
6
+ _MarkdownCode as default
7
+ };
@@ -0,0 +1,121 @@
1
+ import { defineComponent, computed, ref, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, createBlock, withCtx, toDisplayString, createVNode, createCommentVNode, renderSlot } from "vue";
2
+ import { useMessage, OPopover, OIcon, OScroller } from "@opensig/opendesign";
3
+ import { useScreen, useClipboard } from "@opendesign-plus/composables";
4
+ import { useI18n } from "../../i18n/index.mjs";
5
+ import { useTheme } from "../../shared/theme.mjs";
6
+ import IconCopy from "../../_virtual/icon-copy2.mjs";
7
+ import IconMoon from "../../_virtual/icon-moon.mjs";
8
+ import IconSun from "../../_virtual/icon-sun.mjs";
9
+ const _hoisted_1 = { class: "o-md-code-tools" };
10
+ const _sfc_main = /* @__PURE__ */ defineComponent({
11
+ __name: "MarkdownCode",
12
+ props: {
13
+ lang: {},
14
+ code: {}
15
+ },
16
+ setup(__props) {
17
+ const props = __props;
18
+ const message = useMessage();
19
+ const { t } = useI18n();
20
+ const { lePadV } = useScreen();
21
+ const { theme, codeTheme, toggleCodeTheme } = useTheme();
22
+ const isDark = computed(() => codeTheme.value === "dark");
23
+ const isHover = ref(false);
24
+ const mdCodeRef = ref();
25
+ const onClickCopy = async () => {
26
+ var _a;
27
+ let text = props.code || "";
28
+ if (!text) {
29
+ const codeEl = (_a = mdCodeRef.value) == null ? void 0 : _a.querySelector("code");
30
+ text = (codeEl == null ? void 0 : codeEl.textContent) || "";
31
+ }
32
+ if (await useClipboard(text)) {
33
+ message.success({
34
+ content: t("common.copySuccess")
35
+ });
36
+ }
37
+ };
38
+ const onClickChangeTheme = () => {
39
+ toggleCodeTheme();
40
+ };
41
+ return (_ctx, _cache) => {
42
+ return openBlock(), createElementBlock("div", {
43
+ ref_key: "mdCodeRef",
44
+ ref: mdCodeRef,
45
+ class: normalizeClass(["o-md-code", {
46
+ "is-dark": isDark.value && unref(codeTheme) != unref(theme),
47
+ "is-light": !isDark.value && unref(codeTheme) != unref(theme)
48
+ }]),
49
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => isHover.value = true),
50
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => isHover.value = false)
51
+ }, [
52
+ createElementVNode("div", _hoisted_1, [
53
+ unref(lePadV) || isHover.value ? (openBlock(), createBlock(unref(OPopover), {
54
+ key: 0,
55
+ position: "top",
56
+ trigger: "hover",
57
+ offset: 12
58
+ }, {
59
+ target: withCtx(() => [
60
+ createVNode(unref(OIcon), {
61
+ class: "o-md-code-icon-theme",
62
+ onClick: onClickChangeTheme
63
+ }, {
64
+ default: withCtx(() => [
65
+ isDark.value ? (openBlock(), createBlock(unref(IconSun), { key: 0 })) : (openBlock(), createBlock(unref(IconMoon), { key: 1 }))
66
+ ]),
67
+ _: 1
68
+ })
69
+ ]),
70
+ default: withCtx(() => [
71
+ createElementVNode("span", null, toDisplayString(unref(codeTheme) === "light" ? unref(t)("md.darkTheme") : unref(t)("md.lightTheme")), 1)
72
+ ]),
73
+ _: 1
74
+ })) : createCommentVNode("", true),
75
+ unref(lePadV) || isHover.value ? (openBlock(), createBlock(unref(OPopover), {
76
+ key: 1,
77
+ position: "top",
78
+ trigger: "hover",
79
+ offset: 12
80
+ }, {
81
+ target: withCtx(() => [
82
+ createVNode(unref(OIcon), {
83
+ class: "o-md-code-icon-copy",
84
+ onClick: onClickCopy
85
+ }, {
86
+ default: withCtx(() => [
87
+ createVNode(unref(IconCopy))
88
+ ]),
89
+ _: 1
90
+ })
91
+ ]),
92
+ default: withCtx(() => [
93
+ createElementVNode("span", null, toDisplayString(unref(t)("common.copy")), 1)
94
+ ]),
95
+ _: 1
96
+ })) : createCommentVNode("", true)
97
+ ]),
98
+ createVNode(unref(OScroller), {
99
+ size: "small",
100
+ "show-type": "always",
101
+ "disabled-y": ""
102
+ }, {
103
+ default: withCtx(() => [
104
+ createElementVNode("div", {
105
+ class: normalizeClass(["markdown-body", {
106
+ "is-dark": isDark.value && unref(codeTheme) != unref(theme),
107
+ "is-light": !isDark.value && unref(codeTheme) != unref(theme)
108
+ }])
109
+ }, [
110
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
111
+ ], 2)
112
+ ]),
113
+ _: 3
114
+ })
115
+ ], 34);
116
+ };
117
+ }
118
+ });
119
+ export {
120
+ _sfc_main as default
121
+ };
@@ -0,0 +1,39 @@
1
+ .hover-icon-rotate .o-icon[data-v-c6621e3d] {
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-c6621e3d] {
6
+ transform: rotate(-180deg);
7
+ }
8
+ }
9
+ .o-md-img[data-v-c6621e3d] {
10
+ width: auto;
11
+ max-width: 100%;
12
+ position: relative;
13
+ display: inline-block;
14
+ padding: var(--o-gap-2);
15
+ margin-bottom: var(--o-gap-2, 8px);
16
+ border: 1px solid var(--o-color-control4);
17
+ border-radius: var(--o-radius-m);
18
+ cursor: zoom-in;
19
+ }
20
+ .o-md-img[data-v-c6621e3d] img {
21
+ max-width: 100%;
22
+ }
23
+ .o-md-img .o-md-img-icon-zoom[data-v-c6621e3d] {
24
+ position: absolute;
25
+ z-index: 10;
26
+ top: 50%;
27
+ right: 50%;
28
+ transform: translate(-50%, -50%);
29
+ font-size: 32px;
30
+ }
31
+ .o-md-img.unexpand[data-v-c6621e3d] {
32
+ padding: 0 var(--o-gap-2);
33
+ border: none;
34
+ border-radius: unset;
35
+ cursor: default;
36
+ }
37
+ .o-md-img.in-paragraph[data-v-c6621e3d] {
38
+ margin-bottom: 0;
39
+ }
@@ -0,0 +1,21 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {
7
+ containerRef: HTMLSpanElement;
8
+ };
9
+ rootEl: HTMLSpanElement;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
13
+ containerRef: HTMLSpanElement;
14
+ }, HTMLSpanElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,7 @@
1
+ import _sfc_main from "./MarkdownImage.vue2.mjs";
2
+ import './MarkdownImage.css';
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const _MarkdownImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c6621e3d"]]);
5
+ export {
6
+ _MarkdownImage as default
7
+ };