@robot-admin/naive-ui-components 0.29.1 → 0.29.3

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 (102) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +1 -1
  3. package/README_EN.md +1 -1
  4. package/dist/C_ActionBar.css +49 -49
  5. package/dist/C_ActionBar2.cjs +1 -1
  6. package/dist/C_ActionBar2.js +1 -1
  7. package/dist/C_BatchResult.css +11 -7
  8. package/dist/C_BatchResult2.cjs +1 -1
  9. package/dist/C_BatchResult2.js +1 -1
  10. package/dist/C_DataPicker.css +29 -21
  11. package/dist/C_DataPicker.d.cts +2 -2
  12. package/dist/C_DataPicker.d.ts +2 -2
  13. package/dist/C_DataPicker2.cjs +1 -1
  14. package/dist/C_DataPicker2.js +1 -1
  15. package/dist/C_FormModal.css +49 -49
  16. package/dist/C_Table.base.css +49 -49
  17. package/dist/C_Table.css +49 -49
  18. package/dist/C_Table.d.cts +1 -1
  19. package/dist/C_Table.d.ts +1 -1
  20. package/dist/constants.d.cts +1 -1
  21. package/dist/constants.d.ts +1 -1
  22. package/dist/constants2.d.cts +1 -1
  23. package/dist/constants2.d.ts +1 -1
  24. package/dist/constants3.d.cts +3 -3
  25. package/dist/constants3.d.ts +3 -3
  26. package/dist/constants4.d.cts +10 -10
  27. package/dist/constants4.d.ts +10 -10
  28. package/dist/constants5.d.cts +2 -2
  29. package/dist/constants5.d.ts +2 -2
  30. package/dist/data2.d.cts +9 -9
  31. package/dist/data2.d.ts +9 -9
  32. package/dist/dateRange.d.cts +7 -2
  33. package/dist/dateRange.d.ts +7 -2
  34. package/dist/index.d.cts +2 -2
  35. package/dist/index.d.ts +2 -2
  36. package/dist/index.vue.d.cts +4 -4
  37. package/dist/index.vue.d.ts +4 -4
  38. package/dist/index10.vue.d.cts +4 -4
  39. package/dist/index10.vue.d.ts +4 -4
  40. package/dist/index11.vue.d.cts +4 -4
  41. package/dist/index11.vue.d.ts +9 -4
  42. package/dist/index12.vue.d.cts +9 -4
  43. package/dist/index13.vue.d.ts +3 -3
  44. package/dist/index14.vue.d.cts +3 -3
  45. package/dist/index16.vue.d.ts +1 -1
  46. package/dist/index17.vue.d.cts +1 -1
  47. package/dist/index17.vue.d.ts +6 -6
  48. package/dist/index18.vue.d.cts +6 -6
  49. package/dist/index2.vue.d.cts +2 -2
  50. package/dist/index2.vue.d.ts +2 -2
  51. package/dist/index20.vue.d.ts +1 -1
  52. package/dist/index21.vue.d.cts +1 -1
  53. package/dist/index21.vue.d.ts +2 -2
  54. package/dist/index22.vue.d.cts +2 -2
  55. package/dist/index22.vue.d.ts +2 -2
  56. package/dist/index23.vue.d.cts +1 -1
  57. package/dist/index23.vue.d.ts +1 -1
  58. package/dist/index24.vue.d.cts +1 -1
  59. package/dist/index24.vue.d.ts +1 -1
  60. package/dist/index26.vue.d.cts +2 -2
  61. package/dist/index26.vue.d.ts +2 -2
  62. package/dist/index27.vue.d.cts +1 -1
  63. package/dist/index27.vue.d.ts +1 -1
  64. package/dist/index3.vue.d.cts +4 -4
  65. package/dist/index3.vue.d.ts +4 -4
  66. package/dist/index30.vue.d.cts +2 -2
  67. package/dist/index30.vue.d.ts +2 -2
  68. package/dist/index31.vue.d.cts +2 -2
  69. package/dist/index31.vue.d.ts +2 -2
  70. package/dist/index5.vue.d.cts +2 -2
  71. package/dist/index9.vue.d.ts +4 -4
  72. package/dist/mapUtils.d.cts +2 -2
  73. package/dist/mapUtils.d.ts +2 -2
  74. package/dist/style.css +89 -77
  75. package/dist/useCalendarEvents.d.cts +1 -1
  76. package/dist/useCalendarEvents.d.ts +1 -1
  77. package/dist/useCollapsePanel.d.cts +3 -3
  78. package/dist/useCollapsePanel.d.ts +3 -3
  79. package/dist/useCropperCore.d.cts +7 -7
  80. package/dist/useCropperCore.d.ts +7 -7
  81. package/dist/useEdgeInteraction.d.cts +3 -3
  82. package/dist/useEdgeInteraction.d.ts +3 -3
  83. package/dist/useFullscreen.d.cts +2 -2
  84. package/dist/useFullscreen.d.ts +2 -2
  85. package/dist/useInfiniteScroll.d.cts +2 -2
  86. package/dist/useInfiniteScroll.d.ts +2 -2
  87. package/dist/useQRCode.d.cts +3 -3
  88. package/dist/useQRCode.d.ts +3 -3
  89. package/dist/useSignatureHistory.d.cts +5 -5
  90. package/dist/useSignatureHistory.d.ts +5 -5
  91. package/dist/useSplitResize.d.cts +7 -7
  92. package/dist/useSplitResize.d.ts +7 -7
  93. package/dist/useTableQuery.d.cts +12 -12
  94. package/dist/useTableQuery.d.ts +12 -12
  95. package/dist/useWorkflowValidation.d.cts +99 -99
  96. package/dist/useWorkflowValidation.d.ts +99 -99
  97. package/dist/verification.d.cts +5 -5
  98. package/dist/verification.d.ts +5 -5
  99. package/docs/guides/data-picker.md +8 -8
  100. package/docs/guides/usage.en.md +16 -15
  101. package/docs/guides/usage.md +16 -15
  102. package/package.json +1 -1
@@ -81,9 +81,9 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
81
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
82
82
  }>, {
83
83
  lineColor: string;
84
- lineWidth: number;
85
84
  direction: OrgChartDirection;
86
85
  collapsible: boolean;
86
+ lineWidth: number;
87
87
  lineStyle: OrgChartLineStyle;
88
88
  nodeSpacing: number;
89
89
  levelSpacing: number;
@@ -81,9 +81,9 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
81
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
82
82
  }>, {
83
83
  lineColor: string;
84
- lineWidth: number;
85
84
  direction: OrgChartDirection;
86
85
  collapsible: boolean;
86
+ lineWidth: number;
87
87
  lineStyle: OrgChartLineStyle;
88
88
  nodeSpacing: number;
89
89
  levelSpacing: number;
@@ -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
37
  strokeWidth: number;
39
38
  status: "default" | "success" | "error" | "warning" | "info";
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
37
  strokeWidth: number;
39
38
  status: "default" | "success" | "error" | "warning" | "info";
39
+ time: number;
40
40
  percentage: number | number[];
41
41
  isAnimation: boolean;
42
42
  indicatorPlacement: "inside" | "outside";
@@ -86,9 +86,9 @@ 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
- borderRadius: string;
91
89
  repeat: number;
90
+ borderRadius: string;
91
+ loading: boolean;
92
92
  preset: SkeletonPreset;
93
93
  animation: SkeletonAnimation;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -86,9 +86,9 @@ 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
- borderRadius: string;
91
89
  repeat: number;
90
+ borderRadius: string;
91
+ loading: boolean;
92
92
  preset: SkeletonPreset;
93
93
  animation: SkeletonAnimation;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -35,9 +35,9 @@ 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
- clickable: boolean;
39
38
  current: number;
40
39
  direction: "horizontal" | "vertical";
40
+ clickable: boolean;
41
41
  connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
@@ -35,9 +35,9 @@ 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
- clickable: boolean;
39
38
  current: number;
40
39
  direction: "horizontal" | "vertical";
40
+ clickable: boolean;
41
41
  connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
@@ -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
+ height: number;
23
24
  label: string;
24
25
  width: number;
25
- height: number;
26
26
  fontSize: number;
27
- lineColor: string;
28
- showBorder: boolean;
29
27
  background: string;
30
- showLabel: boolean;
31
28
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
32
29
  showText: boolean;
33
30
  textPosition: "bottom" | "top";
31
+ lineColor: 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
+ height: number;
23
24
  label: string;
24
25
  width: number;
25
- height: number;
26
26
  fontSize: number;
27
- lineColor: string;
28
- showBorder: boolean;
29
27
  background: string;
30
- showLabel: boolean;
31
28
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
32
29
  showText: boolean;
33
30
  textPosition: "bottom" | "top";
31
+ lineColor: 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
@@ -91,10 +91,10 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
91
91
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
93
  reverse: boolean;
94
- size: "small" | "medium" | "large";
95
- mode: "vertical" | "horizontal";
96
94
  items: TimelineItem[];
95
+ mode: "vertical" | "horizontal";
97
96
  labelPlacement: "left" | "right" | "alternate";
97
+ size: "small" | "medium" | "large";
98
98
  pending: boolean;
99
99
  lineType: "solid" | "dashed" | "dotted";
100
100
  showTime: boolean;
@@ -91,10 +91,10 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
91
91
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
93
  reverse: boolean;
94
- size: "small" | "medium" | "large";
95
- mode: "vertical" | "horizontal";
96
94
  items: TimelineItem[];
95
+ mode: "vertical" | "horizontal";
97
96
  labelPlacement: "left" | "right" | "alternate";
97
+ size: "small" | "medium" | "large";
98
98
  pending: boolean;
99
99
  lineType: "solid" | "dashed" | "dotted";
100
100
  showTime: boolean;
@@ -58,14 +58,14 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
58
58
  declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
59
59
  props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
60
60
  "onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
61
- onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
61
+ onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
62
62
  }> & (typeof globalThis extends {
63
63
  __VLS_PROPS_FALLBACK: infer P;
64
64
  } ? P : {});
65
65
  expose: (exposed: {}) => void;
66
66
  attrs: any;
67
67
  slots: {};
68
- emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void);
68
+ emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
69
69
  }>) => vue.VNode & {
70
70
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
71
71
  };
@@ -58,14 +58,14 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
58
58
  declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
59
59
  props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
60
60
  "onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
61
- onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
61
+ onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
62
62
  }> & (typeof globalThis extends {
63
63
  __VLS_PROPS_FALLBACK: infer P;
64
64
  } ? P : {});
65
65
  expose: (exposed: {}) => void;
66
66
  attrs: any;
67
67
  slots: {};
68
- emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void);
68
+ emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
69
69
  }>) => vue.VNode & {
70
70
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
71
71
  };
@@ -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;
117
116
  onIntent?: ((key: MenuSelectionKey<Options>) => any) | undefined;
118
117
  "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: "update:expandedKeys", keys: MenuSelectionKey<Options>[]) => void) & ((evt: "intent", key: MenuSelectionKey<Options>) => void) & ((evt: "update:value", key: MenuSelectionKey<Options> | null) => void);
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);
129
129
  }>) => vue.VNode & {
130
130
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
131
131
  };
@@ -23,18 +23,18 @@ declare const __VLS_export: vue.DefineComponent<Props, {
23
23
  copyCode: typeof copyCode;
24
24
  toggleFullscreen: typeof toggleFullscreen;
25
25
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
26
- fullscreen: (isFullscreen: boolean) => any;
27
26
  click: (event: MouseEvent) => any;
27
+ fullscreen: (isFullscreen: boolean) => any;
28
28
  copy: (code: string) => any;
29
29
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
30
- onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
31
30
  onClick?: ((event: MouseEvent) => any) | undefined;
31
+ onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
32
32
  onCopy?: ((code: string) => any) | undefined;
33
33
  }>, {
34
- language: string;
35
- code: string;
36
34
  trim: boolean;
35
+ code: string;
37
36
  showHeader: boolean;
37
+ language: string;
38
38
  showLineNumbers: boolean;
39
39
  wordWrap: boolean;
40
40
  showFullscreen: boolean;
@@ -91,10 +91,10 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
91
91
  onError?: ((error: Error) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
- height: string;
95
94
  ariaLabel: string;
96
- center: MapCoordinate;
95
+ height: string;
97
96
  zoom: number;
97
+ center: MapCoordinate;
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
  onError?: ((error: Error) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
- height: string;
95
94
  ariaLabel: string;
96
- center: MapCoordinate;
95
+ height: string;
97
96
  zoom: number;
97
+ center: MapCoordinate;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;