@robot-admin/naive-ui-components 0.17.4 → 0.17.5

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/CHANGELOG.md +9 -0
  2. package/dist/C_Form.cjs +1 -1
  3. package/dist/C_Form.js +1 -1
  4. package/dist/C_FormModal2.cjs +1 -1
  5. package/dist/C_FormModal2.js +1 -1
  6. package/dist/C_Table.base.css +108 -109
  7. package/dist/C_Table.css +108 -109
  8. package/dist/C_Time.css +4 -4
  9. package/dist/C_Time2.cjs +1 -1
  10. package/dist/C_Time2.js +1 -1
  11. package/dist/C_WorkFlow.css +39 -39
  12. package/dist/C_WorkFlow2.cjs +1 -1
  13. package/dist/C_WorkFlow2.js +1 -1
  14. package/dist/constants.d.cts +2 -2
  15. package/dist/constants.d.ts +2 -2
  16. package/dist/constants2.d.cts +2 -2
  17. package/dist/constants2.d.ts +2 -2
  18. package/dist/constants3.d.cts +3 -3
  19. package/dist/constants3.d.ts +3 -3
  20. package/dist/constants4.d.cts +5 -5
  21. package/dist/constants4.d.ts +5 -5
  22. package/dist/constants5.d.cts +2 -2
  23. package/dist/constants5.d.ts +2 -2
  24. package/dist/data.d.cts +9 -9
  25. package/dist/data.d.ts +9 -9
  26. package/dist/formValidation.cjs +1 -0
  27. package/dist/formValidation.js +1 -0
  28. package/dist/helpers.cjs +1 -1
  29. package/dist/helpers.js +1 -1
  30. package/dist/index.cjs +1 -1
  31. package/dist/index.js +1 -1
  32. package/dist/index.vue.d.cts +4 -4
  33. package/dist/index.vue.d.ts +4 -4
  34. package/dist/index10.vue.d.cts +5 -5
  35. package/dist/index10.vue.d.ts +2 -2
  36. package/dist/index11.vue.d.cts +2 -2
  37. package/dist/index11.vue.d.ts +4 -4
  38. package/dist/index12.vue.d.cts +4 -4
  39. package/dist/index12.vue.d.ts +2 -2
  40. package/dist/index13.vue.d.cts +2 -2
  41. package/dist/index13.vue.d.ts +3 -3
  42. package/dist/index14.vue.d.cts +3 -3
  43. package/dist/index14.vue.d.ts +5 -5
  44. package/dist/index15.vue.d.cts +5 -5
  45. package/dist/index15.vue.d.ts +3 -3
  46. package/dist/index16.vue.d.cts +3 -3
  47. package/dist/index17.vue.d.ts +1 -1
  48. package/dist/index18.vue.d.cts +1 -1
  49. package/dist/index18.vue.d.ts +5 -5
  50. package/dist/index19.vue.d.cts +5 -5
  51. package/dist/index19.vue.d.ts +2 -1
  52. package/dist/index2.vue.d.cts +2 -2
  53. package/dist/index2.vue.d.ts +2 -2
  54. package/dist/index20.vue.d.cts +2 -2
  55. package/dist/index20.vue.d.ts +2 -2
  56. package/dist/index21.vue.d.cts +3 -3
  57. package/dist/index21.vue.d.ts +3 -3
  58. package/dist/index22.vue.d.cts +3 -3
  59. package/dist/index22.vue.d.ts +3 -3
  60. package/dist/index23.vue.d.cts +1 -1
  61. package/dist/index23.vue.d.ts +1 -1
  62. package/dist/index25.vue.d.cts +4 -4
  63. package/dist/index25.vue.d.ts +4 -4
  64. package/dist/index26.vue.d.cts +1 -1
  65. package/dist/index26.vue.d.ts +1 -1
  66. package/dist/index27.vue.d.cts +4 -4
  67. package/dist/index27.vue.d.ts +4 -4
  68. package/dist/index28.vue.d.cts +4 -4
  69. package/dist/index28.vue.d.ts +4 -4
  70. package/dist/index3.vue.d.cts +5 -5
  71. package/dist/index3.vue.d.ts +5 -5
  72. package/dist/index4.vue.d.cts +2 -1
  73. package/dist/index5.vue.d.ts +2 -2
  74. package/dist/index6.vue.d.cts +2 -2
  75. package/dist/index6.vue.d.ts +1 -1
  76. package/dist/index7.vue.d.cts +1 -1
  77. package/dist/index7.vue.d.ts +2 -2
  78. package/dist/index8.vue.d.cts +2 -2
  79. package/dist/index8.vue.d.ts +3 -3
  80. package/dist/index9.vue.d.cts +3 -3
  81. package/dist/index9.vue.d.ts +5 -5
  82. package/dist/mapUtils.d.cts +2 -2
  83. package/dist/mapUtils.d.ts +2 -2
  84. package/dist/style.css +151 -152
  85. package/dist/useCalendarEvents.d.cts +1 -1
  86. package/dist/useCalendarEvents.d.ts +1 -1
  87. package/dist/useCollapsePanel.d.cts +4 -4
  88. package/dist/useCollapsePanel.d.ts +4 -4
  89. package/dist/useCropperCore.d.cts +8 -8
  90. package/dist/useCropperCore.d.ts +8 -8
  91. package/dist/useDraggableLayout.d.cts +6 -6
  92. package/dist/useDraggableLayout.d.ts +6 -6
  93. package/dist/useDynamicFormState.d.cts +2 -2
  94. package/dist/useDynamicFormState.d.ts +2 -2
  95. package/dist/useEdgeInteraction.d.cts +2 -2
  96. package/dist/useEdgeInteraction.d.ts +2 -2
  97. package/dist/useFullscreen.d.cts +3 -3
  98. package/dist/useFullscreen.d.ts +3 -3
  99. package/dist/useQRCode.d.cts +4 -4
  100. package/dist/useQRCode.d.ts +4 -4
  101. package/dist/useSearchState.d.cts +4 -4
  102. package/dist/useSearchState.d.ts +4 -4
  103. package/dist/useSignatureHistory.d.cts +2 -2
  104. package/dist/useSignatureHistory.d.ts +2 -2
  105. package/dist/useSplitResize.d.cts +10 -10
  106. package/dist/useSplitResize.d.ts +10 -10
  107. package/dist/useTableQuery.cjs +3 -3
  108. package/dist/useTableQuery.d.cts +11 -11
  109. package/dist/useTableQuery.d.ts +11 -11
  110. package/dist/useTableQuery.js +3 -3
  111. package/dist/useTimeSelection.d.cts +13 -8
  112. package/dist/useTimeSelection.d.ts +13 -8
  113. package/dist/useWorkflowValidation.d.cts +5 -5
  114. package/dist/useWorkflowValidation.d.ts +5 -5
  115. package/dist/verification.d.cts +8 -8
  116. package/dist/verification.d.ts +8 -8
  117. package/docs/guides/usage.en.md +8 -0
  118. package/docs/guides/usage.md +8 -0
  119. package/package.json +2 -1
@@ -81,9 +81,8 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
81
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
82
82
  }>, {
83
83
  direction: OrgChartDirection;
84
- collapsible: boolean;
85
- lineStyle: OrgChartLineStyle;
86
84
  lineColor: string;
85
+ lineStyle: OrgChartLineStyle;
87
86
  lineWidth: number;
88
87
  nodeSpacing: number;
89
88
  levelSpacing: number;
@@ -93,6 +92,7 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
93
92
  fitOnInit: boolean;
94
93
  minZoom: number;
95
94
  maxZoom: number;
95
+ collapsible: boolean;
96
96
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
97
97
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
98
98
  declare const _default: typeof __VLS_export;
@@ -34,13 +34,13 @@ type __VLS_Slots = {} & {
34
34
  indicator?: (props: typeof __VLS_9) => any;
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
+ strokeWidth: number;
38
+ status: "default" | "success" | "error" | "warning" | "info";
39
+ time: number;
37
40
  percentage: number | number[];
38
41
  isAnimation: boolean;
39
- time: number;
40
42
  indicatorPlacement: "inside" | "outside";
41
43
  showIndicator: boolean;
42
- status: "default" | "success" | "error" | "warning" | "info";
43
- strokeWidth: number;
44
44
  unit: string;
45
45
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
46
46
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -34,13 +34,13 @@ type __VLS_Slots = {} & {
34
34
  indicator?: (props: typeof __VLS_9) => any;
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
+ strokeWidth: number;
38
+ status: "default" | "success" | "error" | "warning" | "info";
39
+ time: number;
37
40
  percentage: number | number[];
38
41
  isAnimation: boolean;
39
- time: number;
40
42
  indicatorPlacement: "inside" | "outside";
41
43
  showIndicator: boolean;
42
- status: "default" | "success" | "error" | "warning" | "info";
43
- strokeWidth: number;
44
44
  unit: string;
45
45
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
46
46
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -86,11 +86,11 @@ type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_1) => any;
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
- preset: SkeletonPreset;
90
- loading: boolean;
91
- animation: SkeletonAnimation;
92
89
  repeat: number;
90
+ loading: boolean;
91
+ preset: SkeletonPreset;
93
92
  borderRadius: string;
93
+ animation: SkeletonAnimation;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
96
96
  declare const _default: typeof __VLS_export;
@@ -86,11 +86,11 @@ type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_1) => any;
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
- preset: SkeletonPreset;
90
- loading: boolean;
91
- animation: SkeletonAnimation;
92
89
  repeat: number;
90
+ loading: boolean;
91
+ preset: SkeletonPreset;
93
92
  borderRadius: string;
93
+ animation: SkeletonAnimation;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
96
96
  declare const _default: typeof __VLS_export;
@@ -36,9 +36,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
38
  direction: "horizontal" | "vertical";
39
- current: number;
40
39
  clickable: boolean;
41
40
  connected: boolean;
41
+ current: number;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -36,9 +36,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
38
  direction: "horizontal" | "vertical";
39
- current: number;
40
39
  clickable: boolean;
41
40
  connected: boolean;
41
+ current: number;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -652,13 +652,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
652
652
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
653
653
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
654
654
  }>, {
655
- theme: "light" | "dark";
655
+ options: GanttOptions;
656
+ title: string;
656
657
  preset: GanttPreset;
658
+ theme: "light" | "dark";
657
659
  height: string | number;
658
- showToolbar: boolean;
659
660
  data: GanttTask[];
660
- title: string;
661
- options: GanttOptions;
661
+ showToolbar: boolean;
662
662
  showFullscreenButton: boolean;
663
663
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
664
664
  declare const _default: typeof __VLS_export;
@@ -652,13 +652,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
652
652
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
653
653
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
654
654
  }>, {
655
- theme: "light" | "dark";
655
+ options: GanttOptions;
656
+ title: string;
656
657
  preset: GanttPreset;
658
+ theme: "light" | "dark";
657
659
  height: string | number;
658
- showToolbar: boolean;
659
660
  data: GanttTask[];
660
- title: string;
661
- options: GanttOptions;
661
+ showToolbar: boolean;
662
662
  showFullscreenButton: boolean;
663
663
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
664
664
  declare const _default: typeof __VLS_export;
@@ -85,10 +85,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
85
85
  onClose?: ((fallbackPath: string) => any) | undefined;
86
86
  onCloseAll?: (() => any) | undefined;
87
87
  }>, {
88
- persistKey: string;
89
88
  homePath: string;
90
89
  homeTitle: string;
91
90
  homeIcon: string;
91
+ persistKey: string;
92
92
  contextMenuLabels: LegacyContextMenuLabels;
93
93
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
94
94
  declare const _default: typeof __VLS_export;
@@ -85,10 +85,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
85
85
  onClose?: ((fallbackPath: string) => any) | undefined;
86
86
  onCloseAll?: (() => any) | undefined;
87
87
  }>, {
88
- persistKey: string;
89
88
  homePath: string;
90
89
  homeTitle: string;
91
90
  homeIcon: string;
91
+ persistKey: string;
92
92
  contextMenuLabels: LegacyContextMenuLabels;
93
93
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
94
94
  declare const _default: typeof __VLS_export;
@@ -84,17 +84,17 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- expand: (item: TimelineItem, expanded: boolean) => any;
88
87
  "item-click": (item: TimelineItem, index: number) => any;
88
+ expand: (item: TimelineItem, expanded: boolean) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
90
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
+ onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
92
92
  }>, {
93
- reverse: boolean;
94
93
  size: "small" | "medium" | "large";
94
+ labelPlacement: "left" | "right" | "alternate";
95
95
  mode: "vertical" | "horizontal";
96
+ reverse: boolean;
96
97
  items: TimelineItem[];
97
- labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
@@ -84,17 +84,17 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- expand: (item: TimelineItem, expanded: boolean) => any;
88
87
  "item-click": (item: TimelineItem, index: number) => any;
88
+ expand: (item: TimelineItem, expanded: boolean) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
90
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
+ onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
92
92
  }>, {
93
- reverse: boolean;
94
93
  size: "small" | "medium" | "large";
94
+ labelPlacement: "left" | "right" | "alternate";
95
95
  mode: "vertical" | "horizontal";
96
+ reverse: boolean;
96
97
  items: TimelineItem[];
97
- labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
@@ -64,20 +64,20 @@ type __VLS_Props = {
64
64
  virtualScroll?: boolean;
65
65
  };
66
66
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
67
- change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
68
67
  "update:modelValue": (value: (string | number)[]) => any;
68
+ change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
69
69
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
70
- onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
71
70
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
71
+ onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
72
72
  }>, {
73
73
  size: "small" | "medium" | "large";
74
- titles: [string, string];
75
74
  filterable: boolean;
75
+ virtualScroll: boolean;
76
+ titles: [string, string];
76
77
  filterPlaceholder: string;
77
78
  showSelectAll: boolean;
78
79
  sourceEmptyText: string;
79
80
  targetEmptyText: string;
80
- virtualScroll: boolean;
81
81
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
82
82
  declare const _default: typeof __VLS_export;
83
83
  //#endregion
@@ -64,20 +64,20 @@ type __VLS_Props = {
64
64
  virtualScroll?: boolean;
65
65
  };
66
66
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
67
- change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
68
67
  "update:modelValue": (value: (string | number)[]) => any;
68
+ change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
69
69
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
70
- onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
71
70
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
71
+ onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
72
72
  }>, {
73
73
  size: "small" | "medium" | "large";
74
- titles: [string, string];
75
74
  filterable: boolean;
75
+ virtualScroll: boolean;
76
+ titles: [string, string];
76
77
  filterPlaceholder: string;
77
78
  showSelectAll: boolean;
78
79
  sourceEmptyText: string;
79
80
  targetEmptyText: string;
80
- virtualScroll: boolean;
81
81
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
82
82
  declare const _default: typeof __VLS_export;
83
83
  //#endregion
@@ -20,17 +20,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
20
20
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
- showBorder: boolean;
23
+ width: number;
24
24
  label: string;
25
- showLabel: boolean;
26
25
  height: number;
27
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
- width: number;
29
26
  fontSize: number;
30
- lineColor: string;
27
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
28
  showText: boolean;
32
29
  textPosition: "bottom" | "top";
30
+ lineColor: string;
33
31
  background: string;
32
+ showBorder: boolean;
33
+ showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -20,17 +20,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
20
20
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
- showBorder: boolean;
23
+ width: number;
24
24
  label: string;
25
- showLabel: boolean;
26
25
  height: number;
27
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
- width: number;
29
26
  fontSize: number;
30
- lineColor: string;
27
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
28
  showText: boolean;
32
29
  textPosition: "bottom" | "top";
30
+ lineColor: string;
33
31
  background: string;
32
+ showBorder: boolean;
33
+ showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -95,7 +95,8 @@ interface MenuEmits {
95
95
  }
96
96
  interface MenuExpose {
97
97
  showOption: (key: string) => void;
98
- menuRef: Ref<MenuInst | null>;
98
+ /** Vue 公开实例会解包顶层 Ref。 */
99
+ menuRef: MenuInst | null;
99
100
  }
100
101
  //#endregion
101
102
  //#region src/components/C_Menu/index.vue.d.ts
@@ -19,11 +19,11 @@ type __VLS_Props = {
19
19
  modelValue?: CascadeValue;
20
20
  };
21
21
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
22
- change: (value: CascadeValue) => any;
23
22
  "update:modelValue": (value: CascadeValue) => any;
23
+ change: (value: CascadeValue) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onChange?: ((value: CascadeValue) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
26
+ onChange?: ((value: CascadeValue) => any) | undefined;
27
27
  }>, {
28
28
  placeholders: string[];
29
29
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -19,11 +19,11 @@ type __VLS_Props = {
19
19
  modelValue?: CascadeValue;
20
20
  };
21
21
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
22
- change: (value: CascadeValue) => any;
23
22
  "update:modelValue": (value: CascadeValue) => any;
23
+ change: (value: CascadeValue) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onChange?: ((value: CascadeValue) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
26
+ onChange?: ((value: CascadeValue) => any) | undefined;
27
27
  }>, {
28
28
  placeholders: string[];
29
29
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -106,8 +106,8 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
106
106
  "onEmoji-click"?: (() => any) | undefined;
107
107
  onResend?: ((msg: ChatMessage) => any) | undefined;
108
108
  }>, {
109
- placeholder: string;
110
109
  title: string;
110
+ placeholder: string;
111
111
  virtualScroll: boolean;
112
112
  showContacts: boolean;
113
113
  showTimestamp: boolean;
@@ -106,8 +106,8 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
106
106
  "onEmoji-click"?: (() => any) | undefined;
107
107
  onResend?: ((msg: ChatMessage) => any) | undefined;
108
108
  }>, {
109
- placeholder: string;
110
109
  title: string;
110
+ placeholder: string;
111
111
  virtualScroll: boolean;
112
112
  showContacts: boolean;
113
113
  showTimestamp: boolean;
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
14
14
  trigger?: (props: typeof __VLS_9) => any;
15
15
  };
16
16
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
17
- change: (value: string) => any;
18
17
  "update:modelValue": (value: string) => any;
18
+ change: (value: string) => any;
19
19
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
20
- onChange?: ((value: string) => any) | undefined;
21
20
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
+ onChange?: ((value: string) => any) | undefined;
22
22
  }>, {
23
23
  placeholder: string;
24
24
  showLetters: boolean;
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
14
14
  trigger?: (props: typeof __VLS_9) => any;
15
15
  };
16
16
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
17
- change: (value: string) => any;
18
17
  "update:modelValue": (value: string) => any;
18
+ change: (value: string) => any;
19
19
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
20
- onChange?: ((value: string) => any) | undefined;
21
20
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
+ onChange?: ((value: string) => any) | undefined;
22
22
  }>, {
23
23
  placeholder: string;
24
24
  showLetters: boolean;
@@ -24,16 +24,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {
24
24
  toggleFullscreen: typeof toggleFullscreen;
25
25
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
26
26
  click: (event: MouseEvent) => any;
27
- fullscreen: (isFullscreen: boolean) => any;
28
27
  copy: (code: string) => any;
28
+ fullscreen: (isFullscreen: boolean) => any;
29
29
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
30
30
  onClick?: ((event: MouseEvent) => any) | undefined;
31
- onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
32
31
  onCopy?: ((code: string) => any) | undefined;
32
+ onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
33
33
  }>, {
34
34
  trim: boolean;
35
- language: string;
36
35
  code: string;
36
+ language: string;
37
37
  showHeader: boolean;
38
38
  showLineNumbers: boolean;
39
39
  wordWrap: boolean;
@@ -24,16 +24,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {
24
24
  toggleFullscreen: typeof toggleFullscreen;
25
25
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
26
26
  click: (event: MouseEvent) => any;
27
- fullscreen: (isFullscreen: boolean) => any;
28
27
  copy: (code: string) => any;
28
+ fullscreen: (isFullscreen: boolean) => any;
29
29
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
30
30
  onClick?: ((event: MouseEvent) => any) | undefined;
31
- onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
32
31
  onCopy?: ((code: string) => any) | undefined;
32
+ onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
33
33
  }>, {
34
34
  trim: boolean;
35
- language: string;
36
35
  code: string;
36
+ language: string;
37
37
  showHeader: boolean;
38
38
  showLineNumbers: boolean;
39
39
  wordWrap: boolean;
@@ -61,23 +61,23 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
61
61
  close: () => void; /** 当前是否可见 */
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
+ close: () => any;
65
+ select: (item: ContextMenuItem) => any;
64
66
  open: (position: {
65
67
  x: number;
66
68
  y: number;
67
69
  }) => any;
68
- close: () => any;
69
- select: (item: ContextMenuItem) => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
+ onClose?: (() => any) | undefined;
72
+ onSelect?: ((item: ContextMenuItem) => any) | undefined;
71
73
  onOpen?: ((position: {
72
74
  x: number;
73
75
  y: number;
74
76
  }) => any) | undefined;
75
- onClose?: (() => any) | undefined;
76
- onSelect?: ((item: ContextMenuItem) => any) | undefined;
77
77
  }>, {
78
78
  disabled: boolean;
79
- items: ContextMenuItem[];
80
79
  zIndex: number;
80
+ items: ContextMenuItem[];
81
81
  minWidth: number;
82
82
  maxWidth: number;
83
83
  subMenuPlacement: "right" | "left";
@@ -92,10 +92,10 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
94
  height: string;
95
- ariaLabel: string;
96
- zoom: number;
97
95
  center: MapCoordinate;
96
+ zoom: number;
98
97
  mapType: MapType;
98
+ ariaLabel: string;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;
@@ -92,10 +92,10 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
94
  height: string;
95
- ariaLabel: string;
96
- zoom: number;
97
95
  center: MapCoordinate;
96
+ zoom: number;
98
97
  mapType: MapType;
98
+ ariaLabel: string;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;