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

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 (96) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +1 -1
  3. package/README_EN.md +1 -1
  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_Table.base.css +166 -183
  8. package/dist/C_Table.css +166 -183
  9. package/dist/constants2.d.cts +3 -3
  10. package/dist/constants2.d.ts +3 -3
  11. package/dist/constants3.d.cts +4 -4
  12. package/dist/constants3.d.ts +4 -4
  13. package/dist/constants4.d.cts +3 -3
  14. package/dist/constants4.d.ts +3 -3
  15. package/dist/constants5.d.cts +2 -2
  16. package/dist/constants5.d.ts +2 -2
  17. package/dist/data.d.cts +8 -8
  18. package/dist/data.d.ts +8 -8
  19. package/dist/index.vue.d.cts +3 -3
  20. package/dist/index.vue.d.ts +3 -3
  21. package/dist/index10.vue.d.cts +3 -3
  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 +5 -5
  25. package/dist/index12.vue.d.cts +5 -5
  26. package/dist/index13.vue.d.ts +2 -2
  27. package/dist/index14.vue.d.cts +2 -2
  28. package/dist/index14.vue.d.ts +4 -4
  29. package/dist/index15.vue.d.cts +4 -4
  30. package/dist/index15.vue.d.ts +1 -1
  31. package/dist/index16.vue.d.cts +1 -1
  32. package/dist/index17.vue.d.ts +1 -1
  33. package/dist/index18.vue.d.cts +1 -1
  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 +1 -1
  37. package/dist/index2.vue.d.cts +2 -2
  38. package/dist/index2.vue.d.ts +2 -2
  39. package/dist/index21.vue.d.cts +2 -2
  40. package/dist/index21.vue.d.ts +2 -2
  41. package/dist/index23.vue.d.cts +2 -2
  42. package/dist/index23.vue.d.ts +2 -2
  43. package/dist/index25.vue.d.cts +1 -1
  44. package/dist/index25.vue.d.ts +1 -1
  45. package/dist/index27.vue.d.cts +1 -1
  46. package/dist/index27.vue.d.ts +1 -1
  47. package/dist/index28.vue.d.cts +1 -1
  48. package/dist/index28.vue.d.ts +1 -1
  49. package/dist/index3.vue.d.cts +3 -3
  50. package/dist/index3.vue.d.ts +3 -3
  51. package/dist/index4.vue.d.cts +1 -1
  52. package/dist/index6.vue.d.ts +3 -3
  53. package/dist/index7.vue.d.cts +3 -3
  54. package/dist/index8.vue.d.ts +3 -3
  55. package/dist/index9.vue.d.cts +3 -3
  56. package/dist/index9.vue.d.ts +3 -3
  57. package/dist/mapUtils.d.cts +1 -1
  58. package/dist/mapUtils.d.ts +1 -1
  59. package/dist/presets.d.cts +1 -1
  60. package/dist/presets.d.ts +1 -1
  61. package/dist/style.css +166 -183
  62. package/dist/useCalendarEvents.d.cts +1 -1
  63. package/dist/useCalendarEvents.d.ts +1 -1
  64. package/dist/useCollapsePanel.d.cts +2 -2
  65. package/dist/useCollapsePanel.d.ts +2 -2
  66. package/dist/useCropperCore.d.cts +7 -7
  67. package/dist/useCropperCore.d.ts +7 -7
  68. package/dist/useDraggableLayout.d.cts +6 -6
  69. package/dist/useDraggableLayout.d.ts +6 -6
  70. package/dist/useDynamicFormState.d.cts +2 -2
  71. package/dist/useDynamicFormState.d.ts +2 -2
  72. package/dist/useEdgeInteraction.d.cts +3 -3
  73. package/dist/useEdgeInteraction.d.ts +3 -3
  74. package/dist/useInfiniteScroll.d.cts +2 -2
  75. package/dist/useInfiniteScroll.d.ts +2 -2
  76. package/dist/useQRCode.d.cts +1 -1
  77. package/dist/useQRCode.d.ts +1 -1
  78. package/dist/useSearchState.d.cts +24 -24
  79. package/dist/useSearchState.d.ts +24 -24
  80. package/dist/useSignatureHistory.d.cts +4 -4
  81. package/dist/useSignatureHistory.d.ts +4 -4
  82. package/dist/useSplitResize.d.cts +1 -1
  83. package/dist/useSplitResize.d.ts +1 -1
  84. package/dist/useTableQuery.cjs +2 -2
  85. package/dist/useTableQuery.d.cts +7 -3
  86. package/dist/useTableQuery.d.ts +7 -3
  87. package/dist/useTableQuery.js +2 -2
  88. package/dist/useTimeSelection.d.cts +1 -1
  89. package/dist/useTimeSelection.d.ts +1 -1
  90. package/dist/useTreeOperations.d.cts +2 -2
  91. package/dist/useTreeOperations.d.ts +2 -2
  92. package/dist/useWorkflowValidation.d.cts +3 -3
  93. package/dist/useWorkflowValidation.d.ts +3 -3
  94. package/dist/verification.d.cts +1 -1
  95. package/dist/verification.d.ts +1 -1
  96. package/package.json +1 -1
@@ -34,9 +34,9 @@ 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";
38
+ strokeWidth: number;
39
+ time: number;
40
40
  percentage: number | number[];
41
41
  isAnimation: boolean;
42
42
  indicatorPlacement: "inside" | "outside";
@@ -34,9 +34,9 @@ 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";
38
+ strokeWidth: number;
39
+ time: number;
40
40
  percentage: number | number[];
41
41
  isAnimation: boolean;
42
42
  indicatorPlacement: "inside" | "outside";
@@ -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
- direction: "horizontal" | "vertical";
39
- current: number;
40
38
  clickable: boolean;
41
39
  connected: boolean;
40
+ current: number;
41
+ direction: "horizontal" | "vertical";
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
- direction: "horizontal" | "vertical";
39
- current: number;
40
38
  clickable: boolean;
41
39
  connected: boolean;
40
+ current: number;
41
+ direction: "horizontal" | "vertical";
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -647,11 +647,11 @@ 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
+ height: string | number;
650
651
  theme: "light" | "dark";
651
652
  title: string;
652
653
  options: GanttOptions;
653
654
  data: GanttTask[];
654
- height: string | number;
655
655
  preset: GanttPreset;
656
656
  showToolbar: boolean;
657
657
  showFullscreenButton: boolean;
@@ -647,11 +647,11 @@ 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
+ height: string | number;
650
651
  theme: "light" | "dark";
651
652
  title: string;
652
653
  options: GanttOptions;
653
654
  data: GanttTask[];
654
- height: string | number;
655
655
  preset: GanttPreset;
656
656
  showToolbar: boolean;
657
657
  showFullscreenButton: boolean;
@@ -90,8 +90,8 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
90
90
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
91
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
92
92
  }>, {
93
- reverse: boolean;
94
93
  size: "small" | "medium" | "large";
94
+ reverse: boolean;
95
95
  items: TimelineItem[];
96
96
  mode: "vertical" | "horizontal";
97
97
  labelPlacement: "left" | "right" | "alternate";
@@ -90,8 +90,8 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
90
90
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
91
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
92
92
  }>, {
93
- reverse: boolean;
94
93
  size: "small" | "medium" | "large";
94
+ reverse: boolean;
95
95
  items: TimelineItem[];
96
96
  mode: "vertical" | "horizontal";
97
97
  labelPlacement: "left" | "right" | "alternate";
@@ -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
@@ -23,11 +23,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
23
23
  height: number;
24
24
  label: string;
25
25
  width: number;
26
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
27
- lineColor: string;
26
+ fontSize: number;
28
27
  showBorder: boolean;
28
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
29
29
  showLabel: boolean;
30
- fontSize: number;
30
+ lineColor: string;
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
33
33
  background: string;
@@ -23,11 +23,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
23
23
  height: number;
24
24
  label: string;
25
25
  width: number;
26
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
27
- lineColor: string;
26
+ fontSize: number;
28
27
  showBorder: boolean;
28
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
29
29
  showLabel: boolean;
30
- fontSize: number;
30
+ lineColor: string;
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
33
33
  background: string;
@@ -124,11 +124,11 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
124
124
  }>, {
125
125
  mode: "vertical" | "horizontal";
126
126
  defaultExpandedKeys: string[];
127
+ indent: number;
127
128
  collapsed: boolean;
128
129
  collapsedWidth: number;
129
130
  collapsedIconSize: number;
130
131
  inverted: boolean;
131
- indent: number;
132
132
  rootIndent: number;
133
133
  dropdownProps: naive_ui0.DropdownProps;
134
134
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -86,26 +86,26 @@ 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;
104
104
  "onEmoji-click"?: (() => any) | undefined;
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
- title: string;
108
107
  placeholder: string;
108
+ title: string;
109
109
  messages: ChatMessage[];
110
110
  showContacts: boolean;
111
111
  showTimestamp: boolean;
@@ -86,26 +86,26 @@ 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;
104
104
  "onEmoji-click"?: (() => any) | undefined;
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
- title: string;
108
107
  placeholder: string;
108
+ title: string;
109
109
  messages: ChatMessage[];
110
110
  showContacts: boolean;
111
111
  showTimestamp: boolean;
@@ -26,16 +26,16 @@ 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
- code: string;
38
37
  language: string;
38
+ code: string;
39
39
  showHeader: boolean;
40
40
  showLineNumbers: boolean;
41
41
  wordWrap: boolean;
@@ -26,16 +26,16 @@ 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
- code: string;
38
37
  language: string;
38
+ code: string;
39
39
  showHeader: boolean;
40
40
  showLineNumbers: boolean;
41
41
  wordWrap: boolean;
@@ -62,24 +62,24 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
64
  close: () => any;
65
- select: (item: ContextMenuItem) => any;
66
65
  open: (position: {
67
66
  x: number;
68
67
  y: number;
69
68
  }) => any;
69
+ select: (item: ContextMenuItem) => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
71
  onClose?: (() => any) | undefined;
72
- onSelect?: ((item: ContextMenuItem) => any) | undefined;
73
72
  onOpen?: ((position: {
74
73
  x: number;
75
74
  y: number;
76
75
  }) => any) | undefined;
76
+ onSelect?: ((item: ContextMenuItem) => any) | undefined;
77
77
  }>, {
78
78
  disabled: boolean;
79
79
  items: ContextMenuItem[];
80
- zIndex: number;
81
80
  minWidth: number;
82
81
  maxWidth: number;
82
+ zIndex: number;
83
83
  subMenuPlacement: "right" | "left";
84
84
  autoClose: boolean;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -92,8 +92,8 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
94
  height: string;
95
- center: MapCoordinate;
96
95
  ariaLabel: string;
96
+ center: MapCoordinate;
97
97
  zoom: number;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
@@ -92,8 +92,8 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
94
  height: string;
95
- center: MapCoordinate;
96
95
  ariaLabel: string;
96
+ center: MapCoordinate;
97
97
  zoom: number;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
@@ -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;