@robot-admin/naive-ui-components 0.13.7 → 0.13.9

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 (123) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +23 -6
  3. package/README_EN.md +23 -6
  4. package/dist/C_Loading.css +54 -71
  5. package/dist/C_Loading2.cjs +1 -1
  6. package/dist/C_Loading2.js +1 -1
  7. package/dist/C_PageLoading.cjs +1 -0
  8. package/dist/C_PageLoading.css +152 -0
  9. package/dist/C_PageLoading.d.cts +2 -0
  10. package/dist/C_PageLoading.d.ts +2 -0
  11. package/dist/C_PageLoading.js +1 -0
  12. package/dist/C_Table.base.css +166 -183
  13. package/dist/C_Table.css +166 -183
  14. package/dist/constants.d.cts +1 -1
  15. package/dist/constants.d.ts +1 -1
  16. package/dist/constants2.d.cts +4 -4
  17. package/dist/constants2.d.ts +4 -4
  18. package/dist/constants3.d.cts +4 -4
  19. package/dist/constants3.d.ts +4 -4
  20. package/dist/constants4.d.cts +6 -6
  21. package/dist/constants4.d.ts +6 -6
  22. package/dist/constants5.d.cts +2 -2
  23. package/dist/constants5.d.ts +2 -2
  24. package/dist/createPageLoading.cjs +1 -0
  25. package/dist/createPageLoading.d.cts +32 -0
  26. package/dist/createPageLoading.d.ts +32 -0
  27. package/dist/createPageLoading.js +1 -0
  28. package/dist/data.d.cts +8 -8
  29. package/dist/data.d.ts +8 -8
  30. package/dist/index.cjs +1 -1
  31. package/dist/index.d.cts +22 -21
  32. package/dist/index.d.ts +22 -21
  33. package/dist/index.js +1 -1
  34. package/dist/index.vue.d.cts +5 -5
  35. package/dist/index.vue.d.ts +5 -5
  36. package/dist/index10.vue.d.cts +4 -4
  37. package/dist/index10.vue.d.ts +1 -1
  38. package/dist/index11.vue.d.cts +1 -1
  39. package/dist/index11.vue.d.ts +4 -4
  40. package/dist/index12.vue.d.cts +4 -4
  41. package/dist/index12.vue.d.ts +2 -2
  42. package/dist/index13.vue.d.cts +2 -2
  43. package/dist/index13.vue.d.ts +5 -5
  44. package/dist/index14.vue.d.cts +5 -5
  45. package/dist/index14.vue.d.ts +4 -4
  46. package/dist/index15.vue.d.cts +4 -4
  47. package/dist/index15.vue.d.ts +1 -1
  48. package/dist/index16.vue.d.cts +1 -1
  49. package/dist/index16.vue.d.ts +1 -1
  50. package/dist/index17.vue.d.cts +1 -1
  51. package/dist/index17.vue.d.ts +1 -1
  52. package/dist/index18.vue.d.cts +1 -1
  53. package/dist/index18.vue.d.ts +4 -4
  54. package/dist/index19.vue.d.cts +4 -4
  55. package/dist/index2.vue.d.cts +1 -1
  56. package/dist/index2.vue.d.ts +1 -1
  57. package/dist/index20.vue.d.cts +1 -1
  58. package/dist/index20.vue.d.ts +1 -1
  59. package/dist/index21.vue.d.cts +2 -2
  60. package/dist/index21.vue.d.ts +2 -2
  61. package/dist/index22.vue.d.cts +2 -2
  62. package/dist/index22.vue.d.ts +2 -2
  63. package/dist/index23.vue.d.cts +1 -1
  64. package/dist/index23.vue.d.ts +1 -1
  65. package/dist/index25.vue.d.cts +3 -3
  66. package/dist/index25.vue.d.ts +3 -3
  67. package/dist/index27.vue.d.cts +3 -3
  68. package/dist/index27.vue.d.ts +3 -3
  69. package/dist/index28.vue.d.cts +1 -1
  70. package/dist/index28.vue.d.ts +1 -1
  71. package/dist/index3.vue.d.cts +3 -3
  72. package/dist/index3.vue.d.ts +3 -3
  73. package/dist/index6.vue.d.ts +2 -2
  74. package/dist/index7.vue.d.cts +2 -2
  75. package/dist/index8.vue.d.ts +2 -2
  76. package/dist/index9.vue.d.cts +2 -2
  77. package/dist/index9.vue.d.ts +4 -4
  78. package/dist/mapUtils.d.cts +4 -4
  79. package/dist/mapUtils.d.ts +4 -4
  80. package/dist/presets.d.cts +1 -1
  81. package/dist/presets.d.ts +1 -1
  82. package/dist/resolver.cjs +1 -1
  83. package/dist/resolver.d.cts +1 -1
  84. package/dist/resolver.d.ts +1 -1
  85. package/dist/resolver.js +1 -1
  86. package/dist/style.css +321 -183
  87. package/dist/useCalendarEvents.d.cts +1 -1
  88. package/dist/useCalendarEvents.d.ts +1 -1
  89. package/dist/useCollapsePanel.d.cts +2 -2
  90. package/dist/useCollapsePanel.d.ts +2 -2
  91. package/dist/useCropperCore.d.cts +10 -10
  92. package/dist/useCropperCore.d.ts +10 -10
  93. package/dist/useDraggableLayout.d.cts +5 -5
  94. package/dist/useDraggableLayout.d.ts +5 -5
  95. package/dist/useDynamicFormState.d.cts +2 -2
  96. package/dist/useDynamicFormState.d.ts +2 -2
  97. package/dist/useEdgeInteraction.d.cts +3 -3
  98. package/dist/useEdgeInteraction.d.ts +3 -3
  99. package/dist/useFullscreen.d.cts +2 -2
  100. package/dist/useFullscreen.d.ts +2 -2
  101. package/dist/useInfiniteScroll.d.cts +2 -2
  102. package/dist/useInfiniteScroll.d.ts +2 -2
  103. package/dist/useQRCode.d.cts +4 -4
  104. package/dist/useQRCode.d.ts +4 -4
  105. package/dist/useSearchState.d.cts +22 -22
  106. package/dist/useSearchState.d.ts +22 -22
  107. package/dist/useSignatureHistory.d.cts +7 -7
  108. package/dist/useSignatureHistory.d.ts +7 -7
  109. package/dist/useSplitResize.d.cts +4 -4
  110. package/dist/useSplitResize.d.ts +4 -4
  111. package/dist/useTableQuery.cjs +2 -2
  112. package/dist/useTableQuery.d.cts +7 -3
  113. package/dist/useTableQuery.d.ts +7 -3
  114. package/dist/useTableQuery.js +2 -2
  115. package/dist/useTimeSelection.d.cts +2 -2
  116. package/dist/useTimeSelection.d.ts +2 -2
  117. package/dist/useTreeOperations.d.cts +2 -2
  118. package/dist/useTreeOperations.d.ts +2 -2
  119. package/dist/useWorkflowValidation.d.cts +5 -5
  120. package/dist/useWorkflowValidation.d.ts +5 -5
  121. package/dist/verification.d.cts +2 -2
  122. package/dist/verification.d.ts +2 -2
  123. package/package.json +1 -1
@@ -61,22 +61,22 @@ declare const __VLS_export: vue.DefineComponent<Props, {
61
61
  "onAuto-save"?: ((text: string) => any) | undefined;
62
62
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
63
63
  }>, {
64
+ height: string | number;
64
65
  modelValue: string;
66
+ mode: "edit" | "editable" | "preview";
65
67
  disabled: boolean;
66
68
  placeholder: string;
67
- height: string | number;
68
- isDark: boolean;
69
- mode: "edit" | "editable" | "preview";
70
- maxLength: number;
71
69
  tocNavPosition: "left" | "right";
72
70
  defaultFullscreen: boolean;
73
71
  autofocus: boolean;
74
72
  includeLevel: number[];
75
73
  leftToolbar: string;
76
74
  rightToolbar: string;
75
+ maxLength: number;
77
76
  showWordCount: boolean;
78
77
  autoSave: boolean;
79
78
  autoSaveInterval: number;
79
+ isDark: boolean;
80
80
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
81
81
  declare const _default: typeof __VLS_export;
82
82
  //#endregion
@@ -72,10 +72,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
72
72
  onItemClick?: ((item: AvatarItem) => any) | undefined;
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
- max: number;
76
75
  size: number;
77
76
  direction: "ltr" | "rtl";
78
77
  clickable: boolean;
78
+ max: number;
79
79
  overlap: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
@@ -72,10 +72,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
72
72
  onItemClick?: ((item: AvatarItem) => any) | undefined;
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
- max: number;
76
75
  size: number;
77
76
  direction: "ltr" | "rtl";
78
77
  clickable: boolean;
78
+ max: number;
79
79
  overlap: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
@@ -78,7 +78,6 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
78
78
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
79
79
  }>, {
80
80
  direction: OrgChartDirection;
81
- collapsible: boolean;
82
81
  lineStyle: OrgChartLineStyle;
83
82
  lineColor: string;
84
83
  lineWidth: number;
@@ -89,6 +88,7 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
89
88
  initialZoom: number;
90
89
  minZoom: number;
91
90
  maxZoom: number;
91
+ collapsible: boolean;
92
92
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
93
93
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
94
94
  declare const _default: typeof __VLS_export;
@@ -78,7 +78,6 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
78
78
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
79
79
  }>, {
80
80
  direction: OrgChartDirection;
81
- collapsible: boolean;
82
81
  lineStyle: OrgChartLineStyle;
83
82
  lineColor: string;
84
83
  lineWidth: number;
@@ -89,6 +88,7 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
89
88
  initialZoom: number;
90
89
  minZoom: number;
91
90
  maxZoom: number;
91
+ collapsible: boolean;
92
92
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
93
93
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
94
94
  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
- time: number;
38
- strokeWidth: number;
39
37
  status: "default" | "success" | "error" | "warning" | "info";
40
38
  percentage: number | number[];
41
39
  isAnimation: boolean;
40
+ time: number;
42
41
  indicatorPlacement: "inside" | "outside";
43
42
  showIndicator: boolean;
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
- time: number;
38
- strokeWidth: number;
39
37
  status: "default" | "success" | "error" | "warning" | "info";
40
38
  percentage: number | number[];
41
39
  isAnimation: boolean;
40
+ time: number;
42
41
  indicatorPlacement: "inside" | "outside";
43
42
  showIndicator: boolean;
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
- loading: boolean;
90
89
  repeat: number;
91
90
  preset: SkeletonPreset;
92
- borderRadius: string;
91
+ loading: boolean;
93
92
  animation: SkeletonAnimation;
93
+ borderRadius: string;
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
- loading: boolean;
90
89
  repeat: number;
91
90
  preset: SkeletonPreset;
92
- borderRadius: string;
91
+ loading: boolean;
93
92
  animation: SkeletonAnimation;
93
+ borderRadius: string;
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;
@@ -35,10 +35,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
35
35
  onChange?: ((args_0: number) => any) | undefined;
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
+ connected: boolean;
38
39
  direction: "horizontal" | "vertical";
39
40
  current: number;
40
41
  clickable: boolean;
41
- connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -35,10 +35,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
35
35
  onChange?: ((args_0: number) => any) | undefined;
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
+ connected: boolean;
38
39
  direction: "horizontal" | "vertical";
39
40
  current: number;
40
41
  clickable: boolean;
41
- connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -647,13 +647,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
647
647
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
648
648
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
649
649
  }>, {
650
- theme: "light" | "dark";
651
650
  title: string;
652
- options: GanttOptions;
653
651
  data: GanttTask[];
654
652
  height: string | number;
655
- preset: GanttPreset;
656
653
  showToolbar: boolean;
654
+ theme: "light" | "dark";
655
+ preset: GanttPreset;
656
+ options: GanttOptions;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
659
659
  declare const _default: typeof __VLS_export;
@@ -647,13 +647,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
647
647
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
648
648
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
649
649
  }>, {
650
- theme: "light" | "dark";
651
650
  title: string;
652
- options: GanttOptions;
653
651
  data: GanttTask[];
654
652
  height: string | number;
655
- preset: GanttPreset;
656
653
  showToolbar: boolean;
654
+ theme: "light" | "dark";
655
+ preset: GanttPreset;
656
+ options: GanttOptions;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
659
659
  declare const _default: typeof __VLS_export;
@@ -84,16 +84,16 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- "item-click": (item: TimelineItem, index: number) => any;
88
87
  expand: (item: TimelineItem, expanded: boolean) => any;
88
+ "item-click": (item: TimelineItem, index: number) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
+ "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
93
  reverse: boolean;
94
94
  size: "small" | "medium" | "large";
95
- items: TimelineItem[];
96
95
  mode: "vertical" | "horizontal";
96
+ items: TimelineItem[];
97
97
  labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  pendingText: string;
@@ -84,16 +84,16 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- "item-click": (item: TimelineItem, index: number) => any;
88
87
  expand: (item: TimelineItem, expanded: boolean) => any;
88
+ "item-click": (item: TimelineItem, index: number) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
+ "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
93
  reverse: boolean;
94
94
  size: "small" | "medium" | "large";
95
- items: TimelineItem[];
96
95
  mode: "vertical" | "horizontal";
96
+ items: TimelineItem[];
97
97
  labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  pendingText: string;
@@ -67,13 +67,13 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
67
67
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
68
  onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
+ size: "small" | "medium" | "large";
70
71
  titles: [string, string];
71
72
  filterable: boolean;
72
73
  filterPlaceholder: string;
73
74
  showSelectAll: boolean;
74
75
  sourceEmptyText: string;
75
76
  targetEmptyText: string;
76
- size: "small" | "medium" | "large";
77
77
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
78
78
  declare const _default: typeof __VLS_export;
79
79
  //#endregion
@@ -67,13 +67,13 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
67
67
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
68
  onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
+ size: "small" | "medium" | "large";
70
71
  titles: [string, string];
71
72
  filterable: boolean;
72
73
  filterPlaceholder: string;
73
74
  showSelectAll: boolean;
74
75
  sourceEmptyText: string;
75
76
  targetEmptyText: string;
76
- size: "small" | "medium" | "large";
77
77
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
78
78
  declare const _default: typeof __VLS_export;
79
79
  //#endregion
@@ -20,14 +20,14 @@ 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
- height: number;
24
23
  label: string;
25
- width: number;
26
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
27
24
  lineColor: string;
25
+ width: number;
26
+ height: number;
28
27
  showBorder: boolean;
29
28
  showLabel: boolean;
30
29
  fontSize: number;
30
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
33
33
  background: string;
@@ -20,14 +20,14 @@ 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
- height: number;
24
23
  label: string;
25
- width: number;
26
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
27
24
  lineColor: string;
25
+ width: number;
26
+ height: number;
28
27
  showBorder: boolean;
29
28
  showLabel: boolean;
30
29
  fontSize: number;
30
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
33
33
  background: string;
@@ -86,18 +86,18 @@ type __VLS_Slots = {} & {
86
86
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
87
87
  scrollToBottom: () => void;
88
88
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
89
+ "load-more": () => any;
89
90
  send: (content: string) => any;
90
91
  "select-contact": (id: string) => any;
91
- "load-more": () => any;
92
92
  "image-preview": (url: string) => any;
93
93
  "file-click": (msg: ChatMessage) => any;
94
94
  "file-upload": () => any;
95
95
  "emoji-click": () => any;
96
96
  resend: (msg: ChatMessage) => any;
97
97
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
98
+ "onLoad-more"?: (() => any) | undefined;
98
99
  onSend?: ((content: string) => any) | undefined;
99
100
  "onSelect-contact"?: ((id: string) => any) | undefined;
100
- "onLoad-more"?: (() => any) | undefined;
101
101
  "onImage-preview"?: ((url: string) => any) | undefined;
102
102
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
103
103
  "onFile-upload"?: (() => any) | undefined;
@@ -86,18 +86,18 @@ type __VLS_Slots = {} & {
86
86
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
87
87
  scrollToBottom: () => void;
88
88
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
89
+ "load-more": () => any;
89
90
  send: (content: string) => any;
90
91
  "select-contact": (id: string) => any;
91
- "load-more": () => any;
92
92
  "image-preview": (url: string) => any;
93
93
  "file-click": (msg: ChatMessage) => any;
94
94
  "file-upload": () => any;
95
95
  "emoji-click": () => any;
96
96
  resend: (msg: ChatMessage) => any;
97
97
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
98
+ "onLoad-more"?: (() => any) | undefined;
98
99
  onSend?: ((content: string) => any) | undefined;
99
100
  "onSelect-contact"?: ((id: string) => any) | undefined;
100
- "onLoad-more"?: (() => any) | undefined;
101
101
  "onImage-preview"?: ((url: string) => any) | undefined;
102
102
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
103
103
  "onFile-upload"?: (() => any) | undefined;
@@ -26,12 +26,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
26
26
  toggleFullscreen: typeof toggleFullscreen;
27
27
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
28
28
  click: (event: MouseEvent) => any;
29
- copy: (code: string) => any;
30
29
  fullscreen: (isFullscreen: boolean) => any;
30
+ copy: (code: string) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
32
  onClick?: ((event: MouseEvent) => any) | undefined;
33
- onCopy?: ((code: string) => any) | undefined;
34
33
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
34
+ onCopy?: ((code: string) => any) | undefined;
35
35
  }>, {
36
36
  trim: boolean;
37
37
  code: string;
@@ -26,12 +26,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
26
26
  toggleFullscreen: typeof toggleFullscreen;
27
27
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
28
28
  click: (event: MouseEvent) => any;
29
- copy: (code: string) => any;
30
29
  fullscreen: (isFullscreen: boolean) => any;
30
+ copy: (code: string) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
32
  onClick?: ((event: MouseEvent) => any) | undefined;
33
- onCopy?: ((code: string) => any) | undefined;
34
33
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
34
+ onCopy?: ((code: string) => any) | undefined;
35
35
  }>, {
36
36
  trim: boolean;
37
37
  code: string;
@@ -61,19 +61,19 @@ 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;
66
64
  open: (position: {
67
65
  x: number;
68
66
  y: number;
69
67
  }) => 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;
73
71
  onOpen?: ((position: {
74
72
  x: number;
75
73
  y: number;
76
74
  }) => any) | undefined;
75
+ onClose?: (() => any) | undefined;
76
+ onSelect?: ((item: ContextMenuItem) => any) | undefined;
77
77
  }>, {
78
78
  disabled: boolean;
79
79
  items: ContextMenuItem[];
@@ -83,19 +83,19 @@ interface MapExpose {
83
83
  //#endregion
84
84
  //#region src/components/C_Map/index.vue.d.ts
85
85
  declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
86
- error: (error: Error) => any;
87
86
  ready: (map: MapInstance) => any;
87
+ error: (error: Error) => any;
88
88
  markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
89
89
  }, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
90
- onError?: ((error: Error) => any) | undefined;
91
90
  onReady?: ((map: MapInstance) => any) | undefined;
91
+ onError?: ((error: Error) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
+ zoom: number;
94
95
  height: string;
95
96
  center: MapCoordinate;
96
- ariaLabel: string;
97
- zoom: number;
98
97
  mapType: MapType;
98
+ ariaLabel: string;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;
@@ -83,19 +83,19 @@ interface MapExpose {
83
83
  //#endregion
84
84
  //#region src/components/C_Map/index.vue.d.ts
85
85
  declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
86
- error: (error: Error) => any;
87
86
  ready: (map: MapInstance) => any;
87
+ error: (error: Error) => any;
88
88
  markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
89
89
  }, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
90
- onError?: ((error: Error) => any) | undefined;
91
90
  onReady?: ((map: MapInstance) => any) | undefined;
91
+ onError?: ((error: Error) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
+ zoom: number;
94
95
  height: string;
95
96
  center: MapCoordinate;
96
- ariaLabel: string;
97
- zoom: number;
98
97
  mapType: MapType;
98
+ ariaLabel: string;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;
@@ -68,9 +68,9 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
68
68
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
69
69
  }>, {
70
70
  actions: ActionItem[];
71
+ config: ActionBarConfig;
71
72
  leftActions: ActionItem[];
72
73
  rightActions: ActionItem[];
73
- config: ActionBarConfig;
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
75
75
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
76
76
  declare const _default: typeof __VLS_export;
package/dist/presets.d.ts CHANGED
@@ -68,9 +68,9 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
68
68
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
69
69
  }>, {
70
70
  actions: ActionItem[];
71
+ config: ActionBarConfig;
71
72
  leftActions: ActionItem[];
72
73
  rightActions: ActionItem[];
73
- config: ActionBarConfig;
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
75
75
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
76
76
  declare const _default: typeof __VLS_export;
package/dist/resolver.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=`@robot-admin/naive-ui-components`,t=`C_ActionBar.C_AntV.C_AudioPlayer.C_AvatarGroup.C_Barcode.C_Breadcrumb.C_Captcha.C_Cascade.C_Chat.C_City.C_Code.C_CollapsePanel.C_ContextMenu.C_Cron.C_Date.C_Draggable.C_Editor.C_FilePreview.C_Form.C_FormModal.C_FormSearch.C_FormulaEditor.C_FullCalendar.C_GlobalSearch.C_Guide.C_Icon.C_ImageCropper.C_Language.C_Login.C_Loading.C_Map.C_Markdown.C_Menu.C_NotificationCenter.C_OrgChart.C_Progress.C_QRCode.C_Signature.C_Skeleton.C_SplitPane.C_Steps.C_Table.C_Tabs.C_TagsView.C_Theme.C_Time.C_Timeline.C_Transfer.C_Tree.C_Upload.C_VideoPlayer.C_VtableGantt.C_WaterFall.C_WorkFlow`.split(`.`),n=new Set(t);function r(t={}){let{importOnDemand:r=!0,importStyle:i=!1}=t;return{type:`component`,resolve:t=>{if(n.has(t)){let n=r?`${e}/${t}`:e,a=i===!0?`full`:i;return{name:t,from:n,sideEffects:r&&a?`${e}/${t}/${a===`base`&&(t===`C_Form`||t===`C_Table`)?`base.css`:`style.css`}`:void 0}}}}}exports.RobotNaiveUiResolver=r,exports.componentNames=t;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=`@robot-admin/naive-ui-components`,t=`C_ActionBar.C_AntV.C_AudioPlayer.C_AvatarGroup.C_Barcode.C_Breadcrumb.C_Captcha.C_Cascade.C_Chat.C_City.C_Code.C_CollapsePanel.C_ContextMenu.C_Cron.C_Date.C_Draggable.C_Editor.C_FilePreview.C_Form.C_FormModal.C_FormSearch.C_FormulaEditor.C_FullCalendar.C_GlobalSearch.C_Guide.C_Icon.C_ImageCropper.C_Language.C_Login.C_Loading.C_Map.C_Markdown.C_Menu.C_NotificationCenter.C_OrgChart.C_PageLoading.C_Progress.C_QRCode.C_Signature.C_Skeleton.C_SplitPane.C_Steps.C_Table.C_Tabs.C_TagsView.C_Theme.C_Time.C_Timeline.C_Transfer.C_Tree.C_Upload.C_VideoPlayer.C_VtableGantt.C_WaterFall.C_WorkFlow`.split(`.`),n=new Set(t);function r(t={}){let{importOnDemand:r=!0,importStyle:i=!1}=t;return{type:`component`,resolve:t=>{if(n.has(t)){let n=r?`${e}/${t}`:e,a=i===!0?`full`:i;return{name:t,from:n,sideEffects:r&&a?`${e}/${t}/${a===`base`&&(t===`C_Form`||t===`C_Table`)?`base.css`:`style.css`}`:void 0}}}}}exports.RobotNaiveUiResolver=r,exports.componentNames=t;
@@ -1,6 +1,6 @@
1
1
  //#region src/resolver.d.ts
2
2
  /** 组件库包含的所有组件名称 */
3
- declare const componentNames: readonly ["C_ActionBar", "C_AntV", "C_AudioPlayer", "C_AvatarGroup", "C_Barcode", "C_Breadcrumb", "C_Captcha", "C_Cascade", "C_Chat", "C_City", "C_Code", "C_CollapsePanel", "C_ContextMenu", "C_Cron", "C_Date", "C_Draggable", "C_Editor", "C_FilePreview", "C_Form", "C_FormModal", "C_FormSearch", "C_FormulaEditor", "C_FullCalendar", "C_GlobalSearch", "C_Guide", "C_Icon", "C_ImageCropper", "C_Language", "C_Login", "C_Loading", "C_Map", "C_Markdown", "C_Menu", "C_NotificationCenter", "C_OrgChart", "C_Progress", "C_QRCode", "C_Signature", "C_Skeleton", "C_SplitPane", "C_Steps", "C_Table", "C_Tabs", "C_TagsView", "C_Theme", "C_Time", "C_Timeline", "C_Transfer", "C_Tree", "C_Upload", "C_VideoPlayer", "C_VtableGantt", "C_WaterFall", "C_WorkFlow"];
3
+ declare const componentNames: readonly ["C_ActionBar", "C_AntV", "C_AudioPlayer", "C_AvatarGroup", "C_Barcode", "C_Breadcrumb", "C_Captcha", "C_Cascade", "C_Chat", "C_City", "C_Code", "C_CollapsePanel", "C_ContextMenu", "C_Cron", "C_Date", "C_Draggable", "C_Editor", "C_FilePreview", "C_Form", "C_FormModal", "C_FormSearch", "C_FormulaEditor", "C_FullCalendar", "C_GlobalSearch", "C_Guide", "C_Icon", "C_ImageCropper", "C_Language", "C_Login", "C_Loading", "C_Map", "C_Markdown", "C_Menu", "C_NotificationCenter", "C_OrgChart", "C_PageLoading", "C_Progress", "C_QRCode", "C_Signature", "C_Skeleton", "C_SplitPane", "C_Steps", "C_Table", "C_Tabs", "C_TagsView", "C_Theme", "C_Time", "C_Timeline", "C_Transfer", "C_Tree", "C_Upload", "C_VideoPlayer", "C_VtableGantt", "C_WaterFall", "C_WorkFlow"];
4
4
  /** 组件名称类型 */
5
5
  type ComponentName = (typeof componentNames)[number];
6
6
  /** Component style loading strategy. `true` is kept as an alias of `full`. */
@@ -1,6 +1,6 @@
1
1
  //#region src/resolver.d.ts
2
2
  /** 组件库包含的所有组件名称 */
3
- declare const componentNames: readonly ["C_ActionBar", "C_AntV", "C_AudioPlayer", "C_AvatarGroup", "C_Barcode", "C_Breadcrumb", "C_Captcha", "C_Cascade", "C_Chat", "C_City", "C_Code", "C_CollapsePanel", "C_ContextMenu", "C_Cron", "C_Date", "C_Draggable", "C_Editor", "C_FilePreview", "C_Form", "C_FormModal", "C_FormSearch", "C_FormulaEditor", "C_FullCalendar", "C_GlobalSearch", "C_Guide", "C_Icon", "C_ImageCropper", "C_Language", "C_Login", "C_Loading", "C_Map", "C_Markdown", "C_Menu", "C_NotificationCenter", "C_OrgChart", "C_Progress", "C_QRCode", "C_Signature", "C_Skeleton", "C_SplitPane", "C_Steps", "C_Table", "C_Tabs", "C_TagsView", "C_Theme", "C_Time", "C_Timeline", "C_Transfer", "C_Tree", "C_Upload", "C_VideoPlayer", "C_VtableGantt", "C_WaterFall", "C_WorkFlow"];
3
+ declare const componentNames: readonly ["C_ActionBar", "C_AntV", "C_AudioPlayer", "C_AvatarGroup", "C_Barcode", "C_Breadcrumb", "C_Captcha", "C_Cascade", "C_Chat", "C_City", "C_Code", "C_CollapsePanel", "C_ContextMenu", "C_Cron", "C_Date", "C_Draggable", "C_Editor", "C_FilePreview", "C_Form", "C_FormModal", "C_FormSearch", "C_FormulaEditor", "C_FullCalendar", "C_GlobalSearch", "C_Guide", "C_Icon", "C_ImageCropper", "C_Language", "C_Login", "C_Loading", "C_Map", "C_Markdown", "C_Menu", "C_NotificationCenter", "C_OrgChart", "C_PageLoading", "C_Progress", "C_QRCode", "C_Signature", "C_Skeleton", "C_SplitPane", "C_Steps", "C_Table", "C_Tabs", "C_TagsView", "C_Theme", "C_Time", "C_Timeline", "C_Transfer", "C_Tree", "C_Upload", "C_VideoPlayer", "C_VtableGantt", "C_WaterFall", "C_WorkFlow"];
4
4
  /** 组件名称类型 */
5
5
  type ComponentName = (typeof componentNames)[number];
6
6
  /** Component style loading strategy. `true` is kept as an alias of `full`. */
package/dist/resolver.js CHANGED
@@ -1 +1 @@
1
- const e=`@robot-admin/naive-ui-components`,t=`C_ActionBar.C_AntV.C_AudioPlayer.C_AvatarGroup.C_Barcode.C_Breadcrumb.C_Captcha.C_Cascade.C_Chat.C_City.C_Code.C_CollapsePanel.C_ContextMenu.C_Cron.C_Date.C_Draggable.C_Editor.C_FilePreview.C_Form.C_FormModal.C_FormSearch.C_FormulaEditor.C_FullCalendar.C_GlobalSearch.C_Guide.C_Icon.C_ImageCropper.C_Language.C_Login.C_Loading.C_Map.C_Markdown.C_Menu.C_NotificationCenter.C_OrgChart.C_Progress.C_QRCode.C_Signature.C_Skeleton.C_SplitPane.C_Steps.C_Table.C_Tabs.C_TagsView.C_Theme.C_Time.C_Timeline.C_Transfer.C_Tree.C_Upload.C_VideoPlayer.C_VtableGantt.C_WaterFall.C_WorkFlow`.split(`.`),n=new Set(t);function r(t={}){let{importOnDemand:r=!0,importStyle:i=!1}=t;return{type:`component`,resolve:t=>{if(n.has(t)){let n=r?`${e}/${t}`:e,a=i===!0?`full`:i;return{name:t,from:n,sideEffects:r&&a?`${e}/${t}/${a===`base`&&(t===`C_Form`||t===`C_Table`)?`base.css`:`style.css`}`:void 0}}}}}export{r as RobotNaiveUiResolver,t as componentNames};
1
+ const e=`@robot-admin/naive-ui-components`,t=`C_ActionBar.C_AntV.C_AudioPlayer.C_AvatarGroup.C_Barcode.C_Breadcrumb.C_Captcha.C_Cascade.C_Chat.C_City.C_Code.C_CollapsePanel.C_ContextMenu.C_Cron.C_Date.C_Draggable.C_Editor.C_FilePreview.C_Form.C_FormModal.C_FormSearch.C_FormulaEditor.C_FullCalendar.C_GlobalSearch.C_Guide.C_Icon.C_ImageCropper.C_Language.C_Login.C_Loading.C_Map.C_Markdown.C_Menu.C_NotificationCenter.C_OrgChart.C_PageLoading.C_Progress.C_QRCode.C_Signature.C_Skeleton.C_SplitPane.C_Steps.C_Table.C_Tabs.C_TagsView.C_Theme.C_Time.C_Timeline.C_Transfer.C_Tree.C_Upload.C_VideoPlayer.C_VtableGantt.C_WaterFall.C_WorkFlow`.split(`.`),n=new Set(t);function r(t={}){let{importOnDemand:r=!0,importStyle:i=!1}=t;return{type:`component`,resolve:t=>{if(n.has(t)){let n=r?`${e}/${t}`:e,a=i===!0?`full`:i;return{name:t,from:n,sideEffects:r&&a?`${e}/${t}/${a===`base`&&(t===`C_Form`||t===`C_Table`)?`base.css`:`style.css`}`:void 0}}}}}export{r as RobotNaiveUiResolver,t as componentNames};