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

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 (82) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +28 -1
  3. package/README_EN.md +9 -1
  4. package/dist/C_Table.base.css +114 -108
  5. package/dist/C_Table.css +114 -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/constants2.d.cts +3 -3
  11. package/dist/constants2.d.ts +3 -3
  12. package/dist/constants3.d.cts +1 -1
  13. package/dist/constants3.d.ts +1 -1
  14. package/dist/constants5.d.cts +2 -2
  15. package/dist/constants5.d.ts +2 -2
  16. package/dist/data2.d.cts +6 -6
  17. package/dist/data2.d.ts +6 -6
  18. package/dist/index.d.cts +2 -2
  19. package/dist/index.d.ts +2 -2
  20. package/dist/index.vue.d.cts +1 -1
  21. package/dist/index.vue.d.ts +1 -1
  22. package/dist/index10.vue.d.ts +2 -2
  23. package/dist/index11.vue.d.cts +2 -2
  24. package/dist/index11.vue.d.ts +12 -1
  25. package/dist/index12.vue.d.cts +12 -1
  26. package/dist/index13.vue.d.ts +1 -1
  27. package/dist/index14.vue.d.cts +1 -1
  28. package/dist/index15.vue.d.ts +6 -6
  29. package/dist/index16.vue.d.cts +6 -6
  30. package/dist/index16.vue.d.ts +1 -1
  31. package/dist/index17.vue.d.cts +1 -1
  32. package/dist/index17.vue.d.ts +3 -3
  33. package/dist/index18.vue.d.cts +3 -3
  34. package/dist/index18.vue.d.ts +2 -2
  35. package/dist/index19.vue.d.cts +2 -2
  36. package/dist/index19.vue.d.ts +3 -3
  37. package/dist/index2.vue.d.cts +3 -3
  38. package/dist/index2.vue.d.ts +3 -3
  39. package/dist/index20.vue.d.cts +3 -3
  40. package/dist/index22.vue.d.ts +1 -1
  41. package/dist/index23.vue.d.cts +1 -1
  42. package/dist/index23.vue.d.ts +2 -2
  43. package/dist/index24.vue.d.cts +1 -1
  44. package/dist/index24.vue.d.ts +1 -1
  45. package/dist/index28.vue.d.cts +3 -3
  46. package/dist/index28.vue.d.ts +3 -3
  47. package/dist/index29.vue.d.cts +1 -1
  48. package/dist/index29.vue.d.ts +1 -1
  49. package/dist/index3.vue.d.cts +1 -1
  50. package/dist/index3.vue.d.ts +1 -1
  51. package/dist/index5.vue.d.cts +2 -2
  52. package/dist/index7.vue.d.ts +2 -2
  53. package/dist/index8.vue.d.cts +2 -2
  54. package/dist/mapUtils.d.cts +3 -3
  55. package/dist/mapUtils.d.ts +3 -3
  56. package/dist/presets.d.cts +1 -1
  57. package/dist/presets.d.ts +1 -1
  58. package/dist/style.css +114 -108
  59. package/dist/useCalendarEvents.d.cts +1 -1
  60. package/dist/useCalendarEvents.d.ts +1 -1
  61. package/dist/useCollapsePanel.d.cts +4 -4
  62. package/dist/useCollapsePanel.d.ts +4 -4
  63. package/dist/useDynamicFormState.d.cts +16 -13
  64. package/dist/useDynamicFormState.d.ts +16 -13
  65. package/dist/useFullscreen.d.cts +3 -3
  66. package/dist/useFullscreen.d.ts +3 -3
  67. package/dist/useGlobalSearch.d.cts +1 -1
  68. package/dist/useGlobalSearch.d.ts +1 -1
  69. package/dist/useInfiniteScroll.d.cts +1 -1
  70. package/dist/useInfiniteScroll.d.ts +1 -1
  71. package/dist/useQRCode.d.cts +3 -3
  72. package/dist/useQRCode.d.ts +3 -3
  73. package/dist/useSignatureHistory.d.cts +2 -2
  74. package/dist/useSignatureHistory.d.ts +2 -2
  75. package/dist/useSplitResize.d.cts +3 -3
  76. package/dist/useSplitResize.d.ts +3 -3
  77. package/dist/useWorkflowValidation.d.cts +4 -4
  78. package/dist/useWorkflowValidation.d.ts +4 -4
  79. package/dist/verification.d.cts +2 -2
  80. package/dist/verification.d.ts +2 -2
  81. package/docs/guides/table-density.md +27 -0
  82. package/package.json +1 -1
@@ -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;
@@ -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
- repeat: number;
90
- loading: boolean;
91
- borderRadius: string;
92
89
  preset: SkeletonPreset;
90
+ loading: boolean;
93
91
  animation: SkeletonAnimation;
92
+ repeat: number;
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
- repeat: number;
90
- loading: boolean;
91
- borderRadius: string;
92
89
  preset: SkeletonPreset;
90
+ loading: boolean;
93
91
  animation: SkeletonAnimation;
92
+ repeat: number;
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;
@@ -80,9 +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;
85
84
  lineStyle: OrgChartLineStyle;
85
+ lineColor: string;
86
86
  lineWidth: number;
87
87
  nodeSpacing: number;
88
88
  levelSpacing: number;
@@ -80,9 +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;
85
84
  lineStyle: OrgChartLineStyle;
85
+ lineColor: string;
86
86
  lineWidth: number;
87
87
  nodeSpacing: number;
88
88
  levelSpacing: number;
@@ -20,6 +20,7 @@ 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
+ lineColor: string;
23
24
  label: string;
24
25
  width: number;
25
26
  height: number;
@@ -27,7 +28,6 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
27
28
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
29
  showText: boolean;
29
30
  textPosition: "bottom" | "top";
30
- lineColor: string;
31
31
  background: string;
32
32
  showBorder: boolean;
33
33
  showLabel: boolean;
@@ -20,6 +20,7 @@ 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
+ lineColor: string;
23
24
  label: string;
24
25
  width: number;
25
26
  height: number;
@@ -27,7 +28,6 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
27
28
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
29
  showText: boolean;
29
30
  textPosition: "bottom" | "top";
30
- lineColor: string;
31
31
  background: string;
32
32
  showBorder: boolean;
33
33
  showLabel: boolean;
@@ -113,9 +113,9 @@ declare const __VLS_export: <Options extends MenuOption[] | undefined = undefine
113
113
  props: vue.PublicProps & __VLS_PrettifyLocal<MenuProps<Options> & {
114
114
  "onUpdate:modelValue"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
115
115
  onSelect?: ((key: MenuSelectionKey<Options>) => any) | undefined;
116
+ "onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
116
117
  onIntent?: ((key: MenuSelectionKey<Options>) => any) | undefined;
117
118
  "onUpdate:value"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
118
- "onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
119
119
  }> & (typeof globalThis extends {
120
120
  __VLS_PROPS_FALLBACK: infer P;
121
121
  } ? P : {});
@@ -125,7 +125,7 @@ declare const __VLS_export: <Options extends MenuOption[] | undefined = undefine
125
125
  }>) => void;
126
126
  attrs: any;
127
127
  slots: {};
128
- emit: ((evt: "update:modelValue", key: MenuSelectionKey<Options> | null) => void) & ((evt: "select", key: MenuSelectionKey<Options>) => void) & ((evt: "intent", key: MenuSelectionKey<Options>) => void) & ((evt: "update:value", key: MenuSelectionKey<Options> | null) => void) & ((evt: "update:expandedKeys", keys: MenuSelectionKey<Options>[]) => void);
128
+ emit: ((evt: "update:modelValue", key: MenuSelectionKey<Options> | null) => void) & ((evt: "select", key: MenuSelectionKey<Options>) => void) & ((evt: "update:expandedKeys", keys: MenuSelectionKey<Options>[]) => void) & ((evt: "intent", key: MenuSelectionKey<Options>) => void) & ((evt: "update:value", key: MenuSelectionKey<Options> | null) => void);
129
129
  }>) => vue.VNode & {
130
130
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
131
131
  };
@@ -88,18 +88,18 @@ type __VLS_Slots = {} & {
88
88
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
89
89
  scrollToBottom: () => void;
90
90
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
91
+ "load-more": () => any;
91
92
  send: (content: string) => any;
92
93
  "select-contact": (id: string) => any;
93
- "load-more": () => any;
94
94
  "image-preview": (url: string) => any;
95
95
  "file-click": (msg: ChatMessage) => any;
96
96
  "file-upload": () => any;
97
97
  "emoji-click": () => any;
98
98
  resend: (msg: ChatMessage) => any;
99
99
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
100
+ "onLoad-more"?: (() => any) | undefined;
100
101
  onSend?: ((content: string) => any) | undefined;
101
102
  "onSelect-contact"?: ((id: string) => any) | undefined;
102
- "onLoad-more"?: (() => any) | undefined;
103
103
  "onImage-preview"?: ((url: string) => any) | undefined;
104
104
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
105
105
  "onFile-upload"?: (() => any) | undefined;
@@ -88,18 +88,18 @@ type __VLS_Slots = {} & {
88
88
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
89
89
  scrollToBottom: () => void;
90
90
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
91
+ "load-more": () => any;
91
92
  send: (content: string) => any;
92
93
  "select-contact": (id: string) => any;
93
- "load-more": () => any;
94
94
  "image-preview": (url: string) => any;
95
95
  "file-click": (msg: ChatMessage) => any;
96
96
  "file-upload": () => any;
97
97
  "emoji-click": () => any;
98
98
  resend: (msg: ChatMessage) => any;
99
99
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
100
+ "onLoad-more"?: (() => any) | undefined;
100
101
  onSend?: ((content: string) => any) | undefined;
101
102
  "onSelect-contact"?: ((id: string) => any) | undefined;
102
- "onLoad-more"?: (() => any) | undefined;
103
103
  "onImage-preview"?: ((url: string) => any) | undefined;
104
104
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
105
105
  "onFile-upload"?: (() => any) | undefined;
@@ -91,11 +91,11 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
91
91
  onReady?: ((map: MapInstance) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
- height: string;
95
- zoom: number;
96
94
  center: MapCoordinate;
97
- mapType: MapType;
95
+ zoom: number;
98
96
  ariaLabel: string;
97
+ height: string;
98
+ mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;
@@ -91,11 +91,11 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
91
91
  onReady?: ((map: MapInstance) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
- height: string;
95
- zoom: number;
96
94
  center: MapCoordinate;
97
- mapType: MapType;
95
+ zoom: number;
98
96
  ariaLabel: string;
97
+ height: string;
98
+ mapType: MapType;
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;