@robot-admin/naive-ui-components 0.23.3 → 0.24.0

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 (84) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +28 -1
  3. package/README_EN.md +7 -1
  4. package/dist/C_Table.base.css +108 -108
  5. package/dist/C_Table.css +108 -108
  6. package/dist/C_Table.d.cts +2 -2
  7. package/dist/C_Table.d.ts +2 -2
  8. package/dist/C_Table2.cjs +3 -3
  9. package/dist/C_Table2.js +3 -3
  10. package/dist/constants.d.cts +1 -1
  11. package/dist/constants.d.ts +1 -1
  12. package/dist/constants2.d.cts +5 -5
  13. package/dist/constants2.d.ts +5 -5
  14. package/dist/constants3.d.cts +2 -2
  15. package/dist/constants3.d.ts +2 -2
  16. package/dist/constants5.d.cts +2 -2
  17. package/dist/constants5.d.ts +2 -2
  18. package/dist/data2.d.cts +5 -5
  19. package/dist/data2.d.ts +5 -5
  20. package/dist/index.d.cts +2 -2
  21. package/dist/index.d.ts +2 -2
  22. package/dist/index.vue.d.cts +5 -5
  23. package/dist/index.vue.d.ts +5 -5
  24. package/dist/index10.vue.d.cts +2 -2
  25. package/dist/index11.vue.d.ts +12 -1
  26. package/dist/index12.vue.d.cts +12 -1
  27. package/dist/index13.vue.d.ts +1 -1
  28. package/dist/index14.vue.d.cts +1 -1
  29. package/dist/index15.vue.d.ts +4 -4
  30. package/dist/index16.vue.d.cts +4 -4
  31. package/dist/index18.vue.d.ts +1 -1
  32. package/dist/index19.vue.d.cts +1 -1
  33. package/dist/index19.vue.d.ts +1 -1
  34. package/dist/index2.vue.d.cts +2 -2
  35. package/dist/index2.vue.d.ts +2 -2
  36. package/dist/index20.vue.d.cts +1 -1
  37. package/dist/index22.vue.d.ts +1 -1
  38. package/dist/index23.vue.d.cts +1 -1
  39. package/dist/index24.vue.d.cts +1 -1
  40. package/dist/index24.vue.d.ts +1 -1
  41. package/dist/index25.vue.d.cts +1 -1
  42. package/dist/index25.vue.d.ts +1 -1
  43. package/dist/index26.vue.d.cts +1 -1
  44. package/dist/index26.vue.d.ts +1 -1
  45. package/dist/index28.vue.d.cts +1 -1
  46. package/dist/index28.vue.d.ts +1 -1
  47. package/dist/index29.vue.d.cts +2 -2
  48. package/dist/index29.vue.d.ts +2 -2
  49. package/dist/index3.vue.d.cts +2 -2
  50. package/dist/index3.vue.d.ts +2 -2
  51. package/dist/index7.vue.d.ts +1 -1
  52. package/dist/index8.vue.d.cts +1 -1
  53. package/dist/index9.vue.d.ts +2 -2
  54. package/dist/mapUtils.d.cts +4 -4
  55. package/dist/mapUtils.d.ts +4 -4
  56. package/dist/presets.d.cts +1 -1
  57. package/dist/presets.d.ts +1 -1
  58. package/dist/style.css +108 -108
  59. package/dist/useCalendarEvents.d.cts +2 -2
  60. package/dist/useCalendarEvents.d.ts +2 -2
  61. package/dist/useCollapsePanel.d.cts +3 -3
  62. package/dist/useCollapsePanel.d.ts +3 -3
  63. package/dist/useCropperCore.d.cts +9 -9
  64. package/dist/useCropperCore.d.ts +9 -9
  65. package/dist/useDynamicFormState.d.cts +15 -12
  66. package/dist/useDynamicFormState.d.ts +15 -12
  67. package/dist/useEdgeInteraction.d.cts +1 -1
  68. package/dist/useEdgeInteraction.d.ts +1 -1
  69. package/dist/useFullscreen.d.cts +3 -3
  70. package/dist/useFullscreen.d.ts +3 -3
  71. package/dist/useInfiniteScroll.d.cts +2 -2
  72. package/dist/useInfiniteScroll.d.ts +2 -2
  73. package/dist/useQRCode.d.cts +2 -2
  74. package/dist/useQRCode.d.ts +2 -2
  75. package/dist/useSignatureHistory.d.cts +5 -5
  76. package/dist/useSignatureHistory.d.ts +5 -5
  77. package/dist/useSplitResize.d.cts +5 -5
  78. package/dist/useSplitResize.d.ts +5 -5
  79. package/dist/useWorkflowValidation.d.cts +98 -98
  80. package/dist/useWorkflowValidation.d.ts +98 -98
  81. package/dist/verification.d.cts +2 -2
  82. package/dist/verification.d.ts +2 -2
  83. package/docs/guides/table-density.md +27 -0
  84. package/package.json +1 -1
@@ -94,8 +94,8 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
94
94
  size: "small" | "medium" | "large";
95
95
  items: TimelineItem[];
96
96
  mode: "vertical" | "horizontal";
97
- pending: boolean;
98
97
  labelPlacement: "left" | "right" | "alternate";
98
+ pending: boolean;
99
99
  lineType: "solid" | "dashed" | "dotted";
100
100
  showTime: boolean;
101
101
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -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
+ animation: SkeletonAnimation;
89
90
  repeat: number;
90
91
  loading: boolean;
91
92
  borderRadius: string;
92
93
  preset: SkeletonPreset;
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
+ animation: SkeletonAnimation;
89
90
  repeat: number;
90
91
  loading: boolean;
91
92
  borderRadius: string;
92
93
  preset: SkeletonPreset;
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;
@@ -80,8 +80,9 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
80
80
  "onNode-expand"?: ((node: OrgChartNode) => any) | undefined;
81
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
82
82
  }>, {
83
- lineColor: string;
84
83
  direction: OrgChartDirection;
84
+ collapsible: boolean;
85
+ lineColor: string;
85
86
  lineStyle: OrgChartLineStyle;
86
87
  lineWidth: number;
87
88
  nodeSpacing: number;
@@ -92,7 +93,6 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
92
93
  fitOnInit: boolean;
93
94
  minZoom: number;
94
95
  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;
@@ -80,8 +80,9 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
80
80
  "onNode-expand"?: ((node: OrgChartNode) => any) | undefined;
81
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
82
82
  }>, {
83
- lineColor: string;
84
83
  direction: OrgChartDirection;
84
+ collapsible: boolean;
85
+ lineColor: string;
85
86
  lineStyle: OrgChartLineStyle;
86
87
  lineWidth: number;
87
88
  nodeSpacing: number;
@@ -92,7 +93,6 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
92
93
  fitOnInit: boolean;
93
94
  minZoom: number;
94
95
  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;
@@ -24,13 +24,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
24
24
  width: number;
25
25
  height: number;
26
26
  fontSize: number;
27
+ showBorder: boolean;
28
+ showLabel: boolean;
27
29
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
30
  showText: boolean;
29
31
  textPosition: "bottom" | "top";
30
32
  lineColor: string;
31
33
  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
@@ -24,13 +24,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
24
24
  width: number;
25
25
  height: number;
26
26
  fontSize: number;
27
+ showBorder: boolean;
28
+ showLabel: boolean;
27
29
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
30
  showText: boolean;
29
31
  textPosition: "bottom" | "top";
30
32
  lineColor: string;
31
33
  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
@@ -106,7 +106,6 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
106
106
  "onEmoji-click"?: (() => any) | undefined;
107
107
  onResend?: ((msg: ChatMessage) => any) | undefined;
108
108
  }>, {
109
- virtualScroll: boolean;
110
109
  showContacts: boolean;
111
110
  showTimestamp: boolean;
112
111
  showSendBtn: boolean;
@@ -116,6 +115,7 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
116
115
  currentContactId: string;
117
116
  selfAvatar: string;
118
117
  selfName: string;
118
+ virtualScroll: boolean;
119
119
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
120
120
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
121
121
  declare const _default: typeof __VLS_export;
@@ -106,7 +106,6 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
106
106
  "onEmoji-click"?: (() => any) | undefined;
107
107
  onResend?: ((msg: ChatMessage) => any) | undefined;
108
108
  }>, {
109
- virtualScroll: boolean;
110
109
  showContacts: boolean;
111
110
  showTimestamp: boolean;
112
111
  showSendBtn: boolean;
@@ -116,6 +115,7 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
116
115
  currentContactId: string;
117
116
  selfAvatar: string;
118
117
  selfName: string;
118
+ virtualScroll: boolean;
119
119
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
120
120
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
121
121
  declare const _default: typeof __VLS_export;
@@ -23,12 +23,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
23
23
  copyCode: typeof copyCode;
24
24
  toggleFullscreen: typeof toggleFullscreen;
25
25
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
26
- copy: (code: string) => any;
27
26
  click: (event: MouseEvent) => any;
27
+ copy: (code: string) => any;
28
28
  fullscreen: (isFullscreen: boolean) => any;
29
29
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
30
- onCopy?: ((code: string) => any) | undefined;
31
30
  onClick?: ((event: MouseEvent) => any) | undefined;
31
+ onCopy?: ((code: string) => any) | undefined;
32
32
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
33
33
  }>, {
34
34
  trim: boolean;
@@ -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
+ center: MapCoordinate;
94
95
  height: string;
96
+ ariaLabel: string;
95
97
  zoom: number;
96
- center: MapCoordinate;
97
98
  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
+ center: MapCoordinate;
94
95
  height: string;
96
+ ariaLabel: string;
95
97
  zoom: number;
96
- center: MapCoordinate;
97
98
  mapType: MapType;
98
- ariaLabel: string;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;
@@ -15,10 +15,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
15
15
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
16
16
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
17
17
  }>, {
18
- config: ActionBarConfig;
19
18
  actions: ActionItem[];
20
19
  leftActions: ActionItem[];
21
20
  rightActions: ActionItem[];
21
+ config: ActionBarConfig;
22
22
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
24
  declare const _default: typeof __VLS_export;
package/dist/presets.d.ts CHANGED
@@ -15,10 +15,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
15
15
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
16
16
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
17
17
  }>, {
18
- config: ActionBarConfig;
19
18
  actions: ActionItem[];
20
19
  leftActions: ActionItem[];
21
20
  rightActions: ActionItem[];
21
+ config: ActionBarConfig;
22
22
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
24
  declare const _default: typeof __VLS_export;