@robot-admin/naive-ui-components 0.23.2 → 0.23.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 (87) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +2 -2
  3. package/README_EN.md +2 -2
  4. package/dist/C_Table.base.css +108 -130
  5. package/dist/C_Table.css +108 -130
  6. package/dist/C_Table2.cjs +2 -2
  7. package/dist/C_Table2.js +3 -3
  8. package/dist/constants.d.cts +1 -1
  9. package/dist/constants.d.ts +1 -1
  10. package/dist/constants2.d.cts +4 -4
  11. package/dist/constants2.d.ts +4 -4
  12. package/dist/constants3.d.cts +3 -3
  13. package/dist/constants3.d.ts +3 -3
  14. package/dist/constants4.d.cts +1 -1
  15. package/dist/constants4.d.ts +1 -1
  16. package/dist/constants5.d.cts +2 -2
  17. package/dist/constants5.d.ts +2 -2
  18. package/dist/data2.d.cts +8 -8
  19. package/dist/data2.d.ts +8 -8
  20. package/dist/index.vue.d.cts +5 -5
  21. package/dist/index.vue.d.ts +5 -5
  22. package/dist/index10.vue.d.cts +1 -1
  23. package/dist/index10.vue.d.ts +2 -2
  24. package/dist/index11.vue.d.cts +2 -2
  25. package/dist/index13.vue.d.ts +5 -5
  26. package/dist/index14.vue.d.cts +5 -5
  27. package/dist/index15.vue.d.ts +8 -8
  28. package/dist/index16.vue.d.cts +8 -8
  29. package/dist/index16.vue.d.ts +1 -1
  30. package/dist/index17.vue.d.cts +1 -1
  31. package/dist/index18.vue.d.ts +2 -2
  32. package/dist/index19.vue.d.cts +2 -2
  33. package/dist/index19.vue.d.ts +2 -2
  34. package/dist/index2.vue.d.cts +2 -2
  35. package/dist/index2.vue.d.ts +2 -2
  36. package/dist/index20.vue.d.cts +2 -2
  37. package/dist/index22.vue.d.ts +2 -2
  38. package/dist/index23.vue.d.cts +2 -2
  39. package/dist/index23.vue.d.ts +2 -2
  40. package/dist/index24.vue.d.cts +1 -1
  41. package/dist/index24.vue.d.ts +1 -1
  42. package/dist/index25.vue.d.cts +1 -1
  43. package/dist/index25.vue.d.ts +1 -1
  44. package/dist/index26.vue.d.cts +3 -3
  45. package/dist/index26.vue.d.ts +3 -3
  46. package/dist/index27.vue.d.cts +2 -2
  47. package/dist/index27.vue.d.ts +2 -2
  48. package/dist/index28.vue.d.cts +2 -2
  49. package/dist/index28.vue.d.ts +2 -2
  50. package/dist/index29.vue.d.cts +3 -3
  51. package/dist/index29.vue.d.ts +3 -3
  52. package/dist/index3.vue.d.cts +3 -3
  53. package/dist/index3.vue.d.ts +3 -3
  54. package/dist/index5.vue.d.cts +2 -2
  55. package/dist/index7.vue.d.ts +2 -2
  56. package/dist/index8.vue.d.cts +2 -2
  57. package/dist/index9.vue.d.ts +1 -1
  58. package/dist/mapUtils.d.cts +3 -3
  59. package/dist/mapUtils.d.ts +3 -3
  60. package/dist/style.css +108 -130
  61. package/dist/useCalendarEvents.d.cts +1 -1
  62. package/dist/useCalendarEvents.d.ts +1 -1
  63. package/dist/useCollapsePanel.d.cts +4 -4
  64. package/dist/useCollapsePanel.d.ts +4 -4
  65. package/dist/useComponentLocale.cjs +1 -1
  66. package/dist/useComponentLocale.js +1 -1
  67. package/dist/useCropperCore.d.cts +4 -4
  68. package/dist/useCropperCore.d.ts +4 -4
  69. package/dist/useDynamicFormState.d.cts +13 -13
  70. package/dist/useDynamicFormState.d.ts +13 -13
  71. package/dist/useEdgeInteraction.d.cts +2 -2
  72. package/dist/useEdgeInteraction.d.ts +2 -2
  73. package/dist/useGlobalSearch.d.cts +1 -1
  74. package/dist/useGlobalSearch.d.ts +1 -1
  75. package/dist/useInfiniteScroll.d.cts +2 -2
  76. package/dist/useInfiniteScroll.d.ts +2 -2
  77. package/dist/useQRCode.d.cts +2 -2
  78. package/dist/useQRCode.d.ts +2 -2
  79. package/dist/useSignatureHistory.d.cts +6 -6
  80. package/dist/useSignatureHistory.d.ts +6 -6
  81. package/dist/useSplitResize.d.cts +3 -3
  82. package/dist/useSplitResize.d.ts +3 -3
  83. package/dist/useWorkflowValidation.d.cts +2 -2
  84. package/dist/useWorkflowValidation.d.ts +2 -2
  85. package/dist/verification.d.cts +2 -2
  86. package/dist/verification.d.ts +2 -2
  87. package/package.json +1 -1
@@ -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
  };
@@ -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
- loading: boolean;
90
- animation: SkeletonAnimation;
91
89
  repeat: number;
90
+ loading: boolean;
92
91
  borderRadius: string;
93
92
  preset: SkeletonPreset;
93
+ animation: SkeletonAnimation;
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
- loading: boolean;
90
- animation: SkeletonAnimation;
91
89
  repeat: number;
90
+ loading: boolean;
92
91
  borderRadius: string;
93
92
  preset: SkeletonPreset;
93
+ animation: SkeletonAnimation;
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,11 +80,10 @@ 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
- direction: OrgChartDirection;
84
83
  lineColor: string;
85
- lineWidth: number;
86
- collapsible: boolean;
84
+ direction: OrgChartDirection;
87
85
  lineStyle: OrgChartLineStyle;
86
+ lineWidth: number;
88
87
  nodeSpacing: number;
89
88
  levelSpacing: number;
90
89
  zoomable: boolean;
@@ -93,6 +92,7 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
93
92
  fitOnInit: boolean;
94
93
  minZoom: number;
95
94
  maxZoom: number;
95
+ collapsible: boolean;
96
96
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
97
97
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
98
98
  declare const _default: typeof __VLS_export;
@@ -80,11 +80,10 @@ 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
- direction: OrgChartDirection;
84
83
  lineColor: string;
85
- lineWidth: number;
86
- collapsible: boolean;
84
+ direction: OrgChartDirection;
87
85
  lineStyle: OrgChartLineStyle;
86
+ lineWidth: number;
88
87
  nodeSpacing: number;
89
88
  levelSpacing: number;
90
89
  zoomable: boolean;
@@ -93,6 +92,7 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
93
92
  fitOnInit: boolean;
94
93
  minZoom: number;
95
94
  maxZoom: number;
95
+ collapsible: boolean;
96
96
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
97
97
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
98
98
  declare const _default: typeof __VLS_export;
@@ -20,16 +20,16 @@ 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
+ label: string;
23
24
  width: number;
24
25
  height: number;
25
26
  fontSize: number;
26
- showBorder: boolean;
27
- label: string;
28
- lineColor: string;
29
27
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
30
28
  showText: boolean;
31
29
  textPosition: "bottom" | "top";
30
+ lineColor: string;
32
31
  background: string;
32
+ showBorder: boolean;
33
33
  showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
@@ -20,16 +20,16 @@ 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
+ label: string;
23
24
  width: number;
24
25
  height: number;
25
26
  fontSize: number;
26
- showBorder: boolean;
27
- label: string;
28
- lineColor: string;
29
27
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
30
28
  showText: boolean;
31
29
  textPosition: "bottom" | "top";
30
+ lineColor: string;
32
31
  background: string;
32
+ showBorder: boolean;
33
33
  showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
@@ -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
  };
@@ -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;
92
91
  send: (content: string) => any;
93
92
  "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;
101
100
  onSend?: ((content: string) => any) | undefined;
102
101
  "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;
92
91
  send: (content: string) => any;
93
92
  "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;
101
100
  onSend?: ((content: string) => any) | undefined;
102
101
  "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;
@@ -31,12 +31,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
31
31
  onClick?: ((event: MouseEvent) => any) | undefined;
32
32
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
33
33
  }>, {
34
+ trim: boolean;
34
35
  code: string;
35
36
  language: string;
36
37
  showHeader: boolean;
37
38
  showLineNumbers: boolean;
38
39
  wordWrap: boolean;
39
- trim: boolean;
40
40
  showFullscreen: boolean;
41
41
  autoLoadLanguage: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -83,19 +83,19 @@ interface MapExpose {
83
83
  //#endregion
84
84
  //#region src/components/C_Map/index.vue.d.ts
85
85
  declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
86
- ready: (map: MapInstance) => any;
87
86
  error: (error: Error) => any;
87
+ ready: (map: MapInstance) => any;
88
88
  markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
89
89
  }, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
90
- onReady?: ((map: MapInstance) => any) | undefined;
91
90
  onError?: ((error: Error) => any) | undefined;
91
+ onReady?: ((map: MapInstance) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
94
  height: string;
95
95
  zoom: number;
96
- ariaLabel: string;
97
96
  center: MapCoordinate;
98
97
  mapType: MapType;
98
+ ariaLabel: string;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;
@@ -83,19 +83,19 @@ interface MapExpose {
83
83
  //#endregion
84
84
  //#region src/components/C_Map/index.vue.d.ts
85
85
  declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
86
- ready: (map: MapInstance) => any;
87
86
  error: (error: Error) => any;
87
+ ready: (map: MapInstance) => any;
88
88
  markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
89
89
  }, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
90
- onReady?: ((map: MapInstance) => any) | undefined;
91
90
  onError?: ((error: Error) => any) | undefined;
91
+ onReady?: ((map: MapInstance) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
94
  height: string;
95
95
  zoom: number;
96
- ariaLabel: string;
97
96
  center: MapCoordinate;
98
97
  mapType: MapType;
98
+ ariaLabel: string;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;