@robot-admin/naive-ui-components 0.41.0 → 0.41.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 (79) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/README_EN.md +1 -1
  4. package/dist/C_ActionBar.css +54 -54
  5. package/dist/C_ActionBar2.cjs +1 -1
  6. package/dist/C_ActionBar2.js +1 -1
  7. package/dist/C_FormModal.css +54 -54
  8. package/dist/C_FormModal2.cjs +1 -1
  9. package/dist/C_FormModal2.js +1 -1
  10. package/dist/C_Table.base.css +54 -54
  11. package/dist/C_Table.css +54 -54
  12. package/dist/C_Table2.cjs +3 -3
  13. package/dist/C_Table2.js +3 -3
  14. package/dist/constants4.d.cts +7 -7
  15. package/dist/constants4.d.ts +7 -7
  16. package/dist/constants5.d.cts +2 -2
  17. package/dist/constants5.d.ts +2 -2
  18. package/dist/data2.d.cts +3 -3
  19. package/dist/data2.d.ts +3 -3
  20. package/dist/editors.d.cts +8 -8
  21. package/dist/editors.d.ts +8 -8
  22. package/dist/index11.vue.d.ts +1 -1
  23. package/dist/index12.vue.d.cts +1 -1
  24. package/dist/index14.vue.d.ts +2 -2
  25. package/dist/index15.vue.d.cts +2 -2
  26. package/dist/index17.vue.d.ts +4 -4
  27. package/dist/index18.vue.d.cts +4 -4
  28. package/dist/index2.vue.d.cts +2 -2
  29. package/dist/index2.vue.d.ts +2 -2
  30. package/dist/index20.vue.d.ts +3 -3
  31. package/dist/index21.vue.d.cts +3 -3
  32. package/dist/index21.vue.d.ts +6 -6
  33. package/dist/index22.vue.d.cts +6 -6
  34. package/dist/index27.vue.d.ts +2 -2
  35. package/dist/index28.vue.d.cts +2 -2
  36. package/dist/index29.vue.d.cts +2 -2
  37. package/dist/index29.vue.d.ts +2 -2
  38. package/dist/index3.vue.d.cts +6 -6
  39. package/dist/index3.vue.d.ts +6 -6
  40. package/dist/index33.vue.d.cts +2 -2
  41. package/dist/index33.vue.d.ts +2 -2
  42. package/dist/index37.vue.d.cts +2 -2
  43. package/dist/index37.vue.d.ts +2 -2
  44. package/dist/index42.vue.d.cts +2 -2
  45. package/dist/index42.vue.d.ts +2 -2
  46. package/dist/index43.vue.d.cts +2 -2
  47. package/dist/index43.vue.d.ts +2 -2
  48. package/dist/index45.vue.d.cts +2 -2
  49. package/dist/index45.vue.d.ts +2 -2
  50. package/dist/index5.vue.d.cts +2 -2
  51. package/dist/index5.vue.d.ts +2 -2
  52. package/dist/index6.vue.d.cts +2 -2
  53. package/dist/index6.vue.d.ts +2 -2
  54. package/dist/mapUtils.d.cts +1 -1
  55. package/dist/mapUtils.d.ts +1 -1
  56. package/dist/style.css +54 -54
  57. package/dist/useCalendarEvents.d.cts +1 -1
  58. package/dist/useCalendarEvents.d.ts +1 -1
  59. package/dist/useCollapsePanel.d.cts +8 -8
  60. package/dist/useCollapsePanel.d.ts +8 -8
  61. package/dist/useCropperCore.d.cts +3 -3
  62. package/dist/useCropperCore.d.ts +3 -3
  63. package/dist/useDynamicFormState.d.cts +2 -2
  64. package/dist/useDynamicFormState.d.ts +2 -2
  65. package/dist/useEdgeInteraction.d.cts +1 -1
  66. package/dist/useEdgeInteraction.d.ts +1 -1
  67. package/dist/useFullscreen.d.cts +5 -5
  68. package/dist/useFullscreen.d.ts +5 -5
  69. package/dist/useQRCode.d.cts +2 -2
  70. package/dist/useQRCode.d.ts +2 -2
  71. package/dist/useSignatureHistory.d.cts +1 -1
  72. package/dist/useSignatureHistory.d.ts +1 -1
  73. package/dist/useSplitResize.d.cts +3 -3
  74. package/dist/useSplitResize.d.ts +3 -3
  75. package/dist/useWorkflowValidation.d.cts +106 -106
  76. package/dist/useWorkflowValidation.d.ts +106 -106
  77. package/dist/verification.d.cts +5 -5
  78. package/dist/verification.d.ts +5 -5
  79. package/package.json +1 -1
@@ -72,22 +72,22 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
72
72
  };
73
73
  type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
74
74
  declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
75
- "update:activeKeys": (keys: string[]) => any;
76
- expand: (key: string) => any;
77
- collapse: (key: string) => any;
78
75
  change: (activeKeys: string[]) => any;
76
+ collapse: (key: string) => any;
77
+ expand: (key: string) => any;
78
+ "update:activeKeys": (keys: string[]) => any;
79
79
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
80
- "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
81
- onExpand?: ((key: string) => any) | undefined;
82
- onCollapse?: ((key: string) => any) | undefined;
83
80
  onChange?: ((activeKeys: string[]) => any) | undefined;
81
+ onCollapse?: ((key: string) => any) | undefined;
82
+ onExpand?: ((key: string) => any) | undefined;
83
+ "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
84
84
  }>, {
85
+ bordered: boolean;
86
+ accordion: boolean;
85
87
  activeKeys: string[];
86
88
  defaultActiveKeys: string[];
87
- accordion: boolean;
88
89
  variant: CollapsePanelVariant;
89
90
  expandIconPosition: ExpandIconPosition;
90
- bordered: boolean;
91
91
  persistKey: string;
92
92
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
93
93
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -53,19 +53,20 @@ interface ImageCropperEmits {
53
53
  declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
54
54
  error: (error: Error) => any;
55
55
  ready: () => any;
56
- confirm: (result: CropResult) => any;
57
56
  cancel: () => any;
57
+ confirm: (result: CropResult) => any;
58
58
  crop: (result: CropResult) => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
60
  onError?: ((error: Error) => any) | undefined;
61
61
  onReady?: (() => any) | undefined;
62
- onConfirm?: ((result: CropResult) => any) | undefined;
63
62
  onCancel?: (() => any) | undefined;
63
+ onConfirm?: ((result: CropResult) => any) | undefined;
64
64
  onCrop?: ((result: CropResult) => any) | undefined;
65
65
  }>, {
66
66
  disabled: boolean;
67
67
  height: string | number;
68
68
  showPreview: boolean;
69
+ modalTitle: string;
69
70
  showToolbar: boolean;
70
71
  modal: boolean;
71
72
  src: string;
@@ -75,7 +76,6 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
75
76
  maxOutputWidth: number;
76
77
  maxOutputHeight: number;
77
78
  circular: boolean;
78
- modalTitle: string;
79
79
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
80
80
  declare const _default: typeof __VLS_export;
81
81
  //#endregion
@@ -53,19 +53,20 @@ interface ImageCropperEmits {
53
53
  declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
54
54
  error: (error: Error) => any;
55
55
  ready: () => any;
56
- confirm: (result: CropResult) => any;
57
56
  cancel: () => any;
57
+ confirm: (result: CropResult) => any;
58
58
  crop: (result: CropResult) => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
60
  onError?: ((error: Error) => any) | undefined;
61
61
  onReady?: (() => any) | undefined;
62
- onConfirm?: ((result: CropResult) => any) | undefined;
63
62
  onCancel?: (() => any) | undefined;
63
+ onConfirm?: ((result: CropResult) => any) | undefined;
64
64
  onCrop?: ((result: CropResult) => any) | undefined;
65
65
  }>, {
66
66
  disabled: boolean;
67
67
  height: string | number;
68
68
  showPreview: boolean;
69
+ modalTitle: string;
69
70
  showToolbar: boolean;
70
71
  modal: boolean;
71
72
  src: string;
@@ -75,7 +76,6 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
75
76
  maxOutputWidth: number;
76
77
  maxOutputHeight: number;
77
78
  circular: boolean;
78
- modalTitle: string;
79
79
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
80
80
  declare const _default: typeof __VLS_export;
81
81
  //#endregion
@@ -16,9 +16,9 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
16
16
  renderers?: Record<string, FormRenderer>;
17
17
  } & {
18
18
  "onUpdate:modelValue"?: ((model: T) => any) | undefined;
19
+ "onValidate-error"?: ((errors: unknown) => any) | undefined;
19
20
  onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
20
21
  "onValidate-success"?: ((model: T) => any) | undefined;
21
- "onValidate-error"?: ((errors: unknown) => any) | undefined;
22
22
  }> & (typeof globalThis extends {
23
23
  __VLS_PROPS_FALLBACK: infer P;
24
24
  } ? P : {});
@@ -55,7 +55,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
55
55
  }>) => void;
56
56
  attrs: any;
57
57
  slots: FormSlots<T>;
58
- emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void) & ((evt: "validate-error", errors: unknown) => void);
58
+ emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "validate-error", errors: unknown) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void);
59
59
  }>) => vue.VNode & {
60
60
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
61
61
  };
@@ -16,9 +16,9 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
16
16
  renderers?: Record<string, FormRenderer>;
17
17
  } & {
18
18
  "onUpdate:modelValue"?: ((model: T) => any) | undefined;
19
+ "onValidate-error"?: ((errors: unknown) => any) | undefined;
19
20
  onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
20
21
  "onValidate-success"?: ((model: T) => any) | undefined;
21
- "onValidate-error"?: ((errors: unknown) => any) | undefined;
22
22
  }> & (typeof globalThis extends {
23
23
  __VLS_PROPS_FALLBACK: infer P;
24
24
  } ? P : {});
@@ -55,7 +55,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
55
55
  }>) => void;
56
56
  attrs: any;
57
57
  slots: FormSlots<T>;
58
- emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void) & ((evt: "validate-error", errors: unknown) => void);
58
+ emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "validate-error", errors: unknown) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void);
59
59
  }>) => vue.VNode & {
60
60
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
61
61
  };
@@ -264,8 +264,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
264
264
  onReady?: ((graph: Graph) => any) | undefined;
265
265
  "onData-change"?: ((data: DiagramData) => any) | undefined;
266
266
  }>, {
267
- readonly: boolean;
268
267
  width: string | number;
268
+ readonly: boolean;
269
269
  height: string | number;
270
270
  showToolbar: boolean;
271
271
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -264,8 +264,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
264
264
  onReady?: ((graph: Graph) => any) | undefined;
265
265
  "onData-change"?: ((data: DiagramData) => any) | undefined;
266
266
  }>, {
267
- readonly: boolean;
268
267
  width: string | number;
268
+ readonly: boolean;
269
269
  height: string | number;
270
270
  showToolbar: boolean;
271
271
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -4,18 +4,18 @@ import { Ref } from "vue";
4
4
 
5
5
  //#region src/components/C_FilePreview/index.vue.d.ts
6
6
  declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
7
- "update:show": (show: boolean) => any;
8
- download: (file: string | File) => any;
9
7
  preview: (file: string | File) => any;
8
+ download: (file: string | File) => any;
9
+ "update:show": (show: boolean) => any;
10
10
  }, string, vue.PublicProps, Readonly<FilePreviewProps> & Readonly<{
11
- "onUpdate:show"?: ((show: boolean) => any) | undefined;
12
- onDownload?: ((file: string | File) => any) | undefined;
13
11
  onPreview?: ((file: string | File) => any) | undefined;
12
+ onDownload?: ((file: string | File) => any) | undefined;
13
+ "onUpdate:show"?: ((show: boolean) => any) | undefined;
14
14
  }>, {
15
- inline: boolean;
16
15
  show: boolean;
17
16
  fileName: string;
18
17
  autoPreview: boolean;
18
+ inline: boolean;
19
19
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
20
20
  declare const _default: typeof __VLS_export;
21
21
  //#endregion
@@ -4,18 +4,18 @@ import { Ref } from "vue";
4
4
 
5
5
  //#region src/components/C_FilePreview/index.vue.d.ts
6
6
  declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
7
- "update:show": (show: boolean) => any;
8
- download: (file: string | File) => any;
9
7
  preview: (file: string | File) => any;
8
+ download: (file: string | File) => any;
9
+ "update:show": (show: boolean) => any;
10
10
  }, string, vue.PublicProps, Readonly<FilePreviewProps> & Readonly<{
11
- "onUpdate:show"?: ((show: boolean) => any) | undefined;
12
- onDownload?: ((file: string | File) => any) | undefined;
13
11
  onPreview?: ((file: string | File) => any) | undefined;
12
+ onDownload?: ((file: string | File) => any) | undefined;
13
+ "onUpdate:show"?: ((show: boolean) => any) | undefined;
14
14
  }>, {
15
- inline: boolean;
16
15
  show: boolean;
17
16
  fileName: string;
18
17
  autoPreview: boolean;
18
+ inline: boolean;
19
19
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
20
20
  declare const _default: typeof __VLS_export;
21
21
  //#endregion
@@ -51,11 +51,11 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
51
51
  onError?: ((error: Error) => any) | undefined;
52
52
  }>, {
53
53
  size: number;
54
- color: string;
55
54
  label: string;
55
+ mode: RenderMode;
56
+ color: string;
56
57
  showBorder: boolean;
57
58
  showLabel: boolean;
58
- mode: RenderMode;
59
59
  margin: number;
60
60
  bgColor: string;
61
61
  errorCorrectionLevel: ErrorCorrectionLevel;
@@ -51,11 +51,11 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
51
51
  onError?: ((error: Error) => any) | undefined;
52
52
  }>, {
53
53
  size: number;
54
- color: string;
55
54
  label: string;
55
+ mode: RenderMode;
56
+ color: string;
56
57
  showBorder: boolean;
57
58
  showLabel: boolean;
58
- mode: RenderMode;
59
59
  margin: number;
60
60
  bgColor: string;
61
61
  errorCorrectionLevel: ErrorCorrectionLevel;
@@ -113,8 +113,8 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
113
113
  onRedo?: (() => any) | undefined;
114
114
  }>, {
115
115
  disabled: boolean;
116
- readonly: boolean;
117
116
  width: number | string;
117
+ readonly: boolean;
118
118
  height: number | string;
119
119
  showToolbar: boolean;
120
120
  maxHistory: number;
@@ -113,8 +113,8 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
113
113
  onRedo?: (() => any) | undefined;
114
114
  }>, {
115
115
  disabled: boolean;
116
- readonly: boolean;
117
116
  width: number | string;
117
+ readonly: boolean;
118
118
  height: number | string;
119
119
  showToolbar: boolean;
120
120
  maxHistory: number;
@@ -55,16 +55,16 @@ type __VLS_Slots = {
55
55
  second(props: PanelInfo): unknown;
56
56
  };
57
57
  declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
58
- expand: (target: CollapseTarget) => any;
59
58
  collapse: (target: CollapseTarget) => any;
60
59
  resize: (firstSize: number, secondSize: number) => any;
60
+ expand: (target: CollapseTarget) => any;
61
61
  "update:size": (size: number) => any;
62
62
  "drag-start": (size: number) => any;
63
63
  "drag-end": (size: number) => any;
64
64
  }, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
65
- onExpand?: ((target: CollapseTarget) => any) | undefined;
66
65
  onCollapse?: ((target: CollapseTarget) => any) | undefined;
67
66
  onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
67
+ onExpand?: ((target: CollapseTarget) => any) | undefined;
68
68
  "onUpdate:size"?: ((size: number) => any) | undefined;
69
69
  "onDrag-start"?: ((size: number) => any) | undefined;
70
70
  "onDrag-end"?: ((size: number) => any) | undefined;
@@ -72,8 +72,8 @@ declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {
72
72
  direction: SplitDirection;
73
73
  collapsible: boolean;
74
74
  disabled: boolean;
75
- maxSize: number;
76
75
  step: number;
76
+ maxSize: number;
77
77
  defaultSize: number;
78
78
  minSize: number;
79
79
  minFirstSize: number;
@@ -55,16 +55,16 @@ type __VLS_Slots = {
55
55
  second(props: PanelInfo): unknown;
56
56
  };
57
57
  declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
58
- expand: (target: CollapseTarget) => any;
59
58
  collapse: (target: CollapseTarget) => any;
60
59
  resize: (firstSize: number, secondSize: number) => any;
60
+ expand: (target: CollapseTarget) => any;
61
61
  "update:size": (size: number) => any;
62
62
  "drag-start": (size: number) => any;
63
63
  "drag-end": (size: number) => any;
64
64
  }, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
65
- onExpand?: ((target: CollapseTarget) => any) | undefined;
66
65
  onCollapse?: ((target: CollapseTarget) => any) | undefined;
67
66
  onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
67
+ onExpand?: ((target: CollapseTarget) => any) | undefined;
68
68
  "onUpdate:size"?: ((size: number) => any) | undefined;
69
69
  "onDrag-start"?: ((size: number) => any) | undefined;
70
70
  "onDrag-end"?: ((size: number) => any) | undefined;
@@ -72,8 +72,8 @@ declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {
72
72
  direction: SplitDirection;
73
73
  collapsible: boolean;
74
74
  disabled: boolean;
75
- maxSize: number;
76
75
  step: number;
76
+ maxSize: number;
77
77
  defaultSize: number;
78
78
  minSize: number;
79
79
  minFirstSize: number;