@robot-admin/naive-ui-components 0.13.0 → 0.13.2

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 (103) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +37 -0
  3. package/README_EN.md +37 -0
  4. package/dist/C_Guide.css +123 -0
  5. package/dist/C_Guide.d.cts +2 -2
  6. package/dist/C_Guide.d.ts +2 -2
  7. package/dist/C_Guide2.cjs +1 -1
  8. package/dist/C_Guide2.js +1 -1
  9. package/dist/C_Login.css +76 -76
  10. package/dist/C_Login2.cjs +1 -1
  11. package/dist/C_Login2.js +1 -1
  12. package/dist/constants.d.cts +4 -4
  13. package/dist/constants.d.ts +4 -4
  14. package/dist/constants2.d.cts +4 -4
  15. package/dist/constants2.d.ts +4 -4
  16. package/dist/constants3.d.cts +3 -3
  17. package/dist/constants3.d.ts +3 -3
  18. package/dist/constants4.d.cts +4 -4
  19. package/dist/constants4.d.ts +4 -4
  20. package/dist/constants5.d.cts +2 -2
  21. package/dist/constants5.d.ts +2 -2
  22. package/dist/data.d.cts +8 -8
  23. package/dist/data.d.ts +8 -8
  24. package/dist/index.d.cts +2 -2
  25. package/dist/index.d.ts +2 -2
  26. package/dist/index.vue.d.cts +8 -8
  27. package/dist/index.vue.d.ts +8 -8
  28. package/dist/index10.vue.d.cts +6 -6
  29. package/dist/index10.vue.d.ts +3 -3
  30. package/dist/index11.vue.d.cts +3 -3
  31. package/dist/index11.vue.d.ts +3 -3
  32. package/dist/index12.vue.d.cts +3 -3
  33. package/dist/index13.vue.d.ts +33 -7
  34. package/dist/index14.vue.d.cts +33 -7
  35. package/dist/index14.vue.d.ts +5 -5
  36. package/dist/index15.vue.d.cts +5 -5
  37. package/dist/index15.vue.d.ts +3 -3
  38. package/dist/index16.vue.d.cts +3 -3
  39. package/dist/index16.vue.d.ts +10 -1
  40. package/dist/index17.vue.d.cts +10 -1
  41. package/dist/index17.vue.d.ts +4 -4
  42. package/dist/index18.vue.d.cts +4 -4
  43. package/dist/index19.vue.d.cts +1 -1
  44. package/dist/index19.vue.d.ts +1 -1
  45. package/dist/index2.vue.d.cts +3 -3
  46. package/dist/index2.vue.d.ts +3 -3
  47. package/dist/index20.vue.d.cts +1 -1
  48. package/dist/index20.vue.d.ts +1 -1
  49. package/dist/index21.vue.d.cts +2 -2
  50. package/dist/index21.vue.d.ts +2 -2
  51. package/dist/index24.vue.d.cts +4 -4
  52. package/dist/index24.vue.d.ts +4 -4
  53. package/dist/index25.vue.d.cts +1 -1
  54. package/dist/index25.vue.d.ts +1 -1
  55. package/dist/index26.vue.d.cts +2 -2
  56. package/dist/index26.vue.d.ts +2 -2
  57. package/dist/index27.vue.d.cts +3 -3
  58. package/dist/index27.vue.d.ts +3 -3
  59. package/dist/index3.vue.d.cts +6 -6
  60. package/dist/index3.vue.d.ts +6 -6
  61. package/dist/index5.vue.d.ts +2 -2
  62. package/dist/index6.vue.d.cts +2 -2
  63. package/dist/index7.vue.d.ts +2 -2
  64. package/dist/index8.vue.d.cts +2 -2
  65. package/dist/index8.vue.d.ts +1 -1
  66. package/dist/index9.vue.d.cts +1 -1
  67. package/dist/index9.vue.d.ts +6 -6
  68. package/dist/mapUtils.d.cts +2 -2
  69. package/dist/mapUtils.d.ts +2 -2
  70. package/dist/presets.d.cts +1 -1
  71. package/dist/presets.d.ts +1 -1
  72. package/dist/style.css +201 -76
  73. package/dist/useCalendarEvents.d.cts +1 -1
  74. package/dist/useCalendarEvents.d.ts +1 -1
  75. package/dist/useCollapsePanel.d.cts +3 -3
  76. package/dist/useCollapsePanel.d.ts +3 -3
  77. package/dist/useCropperCore.d.cts +3 -3
  78. package/dist/useCropperCore.d.ts +3 -3
  79. package/dist/useDraggableLayout.d.cts +4 -4
  80. package/dist/useDraggableLayout.d.ts +4 -4
  81. package/dist/useDynamicFormState.d.cts +2 -2
  82. package/dist/useDynamicFormState.d.ts +2 -2
  83. package/dist/useEdgeInteraction.d.cts +3 -3
  84. package/dist/useEdgeInteraction.d.ts +3 -3
  85. package/dist/useQRCode.d.cts +6 -6
  86. package/dist/useQRCode.d.ts +6 -6
  87. package/dist/useSearchState.d.cts +8 -8
  88. package/dist/useSearchState.d.ts +8 -8
  89. package/dist/useSignatureHistory.d.cts +6 -6
  90. package/dist/useSignatureHistory.d.ts +6 -6
  91. package/dist/useSplitResize.d.cts +5 -5
  92. package/dist/useSplitResize.d.ts +5 -5
  93. package/dist/useTableQuery.d.cts +1 -1
  94. package/dist/useTableQuery.d.ts +1 -1
  95. package/dist/useTimeSelection.d.cts +4 -4
  96. package/dist/useTimeSelection.d.ts +4 -4
  97. package/dist/useTreeOperations.d.cts +5 -5
  98. package/dist/useTreeOperations.d.ts +5 -5
  99. package/dist/useWorkflowValidation.d.cts +7 -7
  100. package/dist/useWorkflowValidation.d.ts +7 -7
  101. package/dist/verification.d.cts +3 -3
  102. package/dist/verification.d.ts +3 -3
  103. package/package.json +1 -1
@@ -647,14 +647,14 @@ 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
- data: GanttTask[];
652
- height: string | number;
653
650
  title: string;
654
- showToolbar: boolean;
651
+ data: GanttTask[];
655
652
  options: GanttOptions;
656
653
  preset: GanttPreset;
654
+ height: string | number;
655
+ showToolbar: boolean;
657
656
  showFullscreenButton: boolean;
657
+ theme: "light" | "dark";
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
659
659
  declare const _default: typeof __VLS_export;
660
660
  //#endregion
@@ -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;
88
89
  homePath: string;
89
90
  homeTitle: string;
90
91
  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;
88
89
  homePath: string;
89
90
  homeTitle: string;
90
91
  homeIcon: string;
91
- persistKey: string;
92
92
  contextMenuLabels: LegacyContextMenuLabels;
93
93
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
94
94
  declare const _default: typeof __VLS_export;
@@ -90,12 +90,12 @@ 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
- mode: "vertical" | "horizontal";
94
93
  reverse: boolean;
95
- pending: boolean;
96
94
  size: "small" | "medium" | "large";
95
+ mode: "vertical" | "horizontal";
97
96
  items: TimelineItem[];
98
97
  labelPlacement: "left" | "right" | "alternate";
98
+ pending: boolean;
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
101
101
  showTime: boolean;
@@ -90,12 +90,12 @@ 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
- mode: "vertical" | "horizontal";
94
93
  reverse: boolean;
95
- pending: boolean;
96
94
  size: "small" | "medium" | "large";
95
+ mode: "vertical" | "horizontal";
97
96
  items: TimelineItem[];
98
97
  labelPlacement: "left" | "right" | "alternate";
98
+ pending: boolean;
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
101
101
  showTime: boolean;
@@ -61,13 +61,13 @@ type __VLS_Props = {
61
61
  size?: TransferProps['size'];
62
62
  };
63
63
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
+ change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
64
65
  "update:modelValue": (value: (string | number)[]) => any;
65
- change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
66
66
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
+ onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
67
68
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
- onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
- size: "medium" | "small" | "large";
70
+ size: "small" | "medium" | "large";
71
71
  filterable: boolean;
72
72
  titles: [string, string];
73
73
  filterPlaceholder: string;
@@ -61,13 +61,13 @@ type __VLS_Props = {
61
61
  size?: TransferProps['size'];
62
62
  };
63
63
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
+ change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
64
65
  "update:modelValue": (value: (string | number)[]) => any;
65
- change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
66
66
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
+ onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
67
68
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
- onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
- size: "medium" | "small" | "large";
70
+ size: "small" | "medium" | "large";
71
71
  filterable: boolean;
72
72
  titles: [string, string];
73
73
  filterPlaceholder: string;
@@ -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
- width: number;
24
- height: number;
23
+ showBorder: boolean;
25
24
  label: string;
25
+ showLabel: boolean;
26
+ lineColor: string;
27
+ height: number;
28
+ width: number;
29
+ fontSize: number;
26
30
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
27
31
  showText: boolean;
28
- fontSize: number;
29
32
  textPosition: "bottom" | "top";
30
- 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
@@ -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
- width: number;
24
- height: number;
23
+ showBorder: boolean;
25
24
  label: string;
25
+ showLabel: boolean;
26
+ lineColor: string;
27
+ height: number;
28
+ width: number;
29
+ fontSize: number;
26
30
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
27
31
  showText: boolean;
28
- fontSize: number;
29
32
  textPosition: "bottom" | "top";
30
- 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
@@ -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
- "update:modelValue": (value: CascadeValue) => any;
23
22
  change: (value: CascadeValue) => any;
23
+ "update:modelValue": (value: CascadeValue) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
26
25
  onChange?: ((value: CascadeValue) => any) | undefined;
26
+ "onUpdate:modelValue"?: ((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
- "update:modelValue": (value: CascadeValue) => any;
23
22
  change: (value: CascadeValue) => any;
23
+ "update:modelValue": (value: CascadeValue) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
26
25
  onChange?: ((value: CascadeValue) => any) | undefined;
26
+ "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
27
27
  }>, {
28
28
  placeholders: string[];
29
29
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -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
- "update:modelValue": (value: string) => any;
18
17
  change: (value: string) => any;
18
+ "update:modelValue": (value: string) => any;
19
19
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
20
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
20
  onChange?: ((value: string) => any) | undefined;
21
+ "onUpdate:modelValue"?: ((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
- "update:modelValue": (value: string) => any;
18
17
  change: (value: string) => any;
18
+ "update:modelValue": (value: string) => any;
19
19
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
20
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
20
  onChange?: ((value: string) => any) | undefined;
21
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
22
22
  }>, {
23
23
  placeholder: string;
24
24
  showLetters: boolean;
@@ -33,12 +33,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
33
33
  onClick?: ((event: MouseEvent) => any) | undefined;
34
34
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
35
  }>, {
36
- trim: boolean;
37
36
  code: string;
38
37
  language: string;
39
38
  showHeader: boolean;
40
39
  showLineNumbers: boolean;
41
40
  wordWrap: boolean;
41
+ trim: boolean;
42
42
  showFullscreen: boolean;
43
43
  autoLoadLanguage: boolean;
44
44
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -33,12 +33,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
33
33
  onClick?: ((event: MouseEvent) => any) | undefined;
34
34
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
35
  }>, {
36
- trim: boolean;
37
36
  code: string;
38
37
  language: string;
39
38
  showHeader: boolean;
40
39
  showLineNumbers: boolean;
41
40
  wordWrap: boolean;
41
+ trim: boolean;
42
42
  showFullscreen: boolean;
43
43
  autoLoadLanguage: boolean;
44
44
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -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
- select: (item: ContextMenuItem) => any;
65
- close: () => 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
- onSelect?: ((item: ContextMenuItem) => any) | undefined;
72
- onClose?: (() => 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
- zIndex: number;
79
- items: ContextMenuItem[];
80
78
  disabled: boolean;
79
+ items: ContextMenuItem[];
80
+ zIndex: number;
81
81
  minWidth: number;
82
82
  maxWidth: number;
83
83
  subMenuPlacement: "right" | "left";
@@ -91,10 +91,10 @@ 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
94
  ariaLabel: string;
96
- center: MapCoordinate;
97
95
  zoom: number;
96
+ center: MapCoordinate;
97
+ height: string;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
@@ -91,10 +91,10 @@ 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
94
  ariaLabel: string;
96
- center: MapCoordinate;
97
95
  zoom: number;
96
+ center: MapCoordinate;
97
+ height: string;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
@@ -67,8 +67,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
67
67
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
68
68
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
69
69
  }>, {
70
- config: ActionBarConfig;
71
70
  actions: ActionItem[];
71
+ config: ActionBarConfig;
72
72
  leftActions: ActionItem[];
73
73
  rightActions: ActionItem[];
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
package/dist/presets.d.ts CHANGED
@@ -67,8 +67,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
67
67
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
68
68
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
69
69
  }>, {
70
- config: ActionBarConfig;
71
70
  actions: ActionItem[];
71
+ config: ActionBarConfig;
72
72
  leftActions: ActionItem[];
73
73
  rightActions: ActionItem[];
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;