@robot-admin/naive-ui-components 0.14.1 → 0.14.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 (111) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +22 -0
  3. package/README_EN.md +20 -0
  4. package/dist/C_AntV.css +54 -54
  5. package/dist/C_AudioPlayer.css +5 -6
  6. package/dist/C_Code.css +6 -7
  7. package/dist/C_CollapsePanel.css +6 -7
  8. package/dist/C_Cron.css +8 -8
  9. package/dist/C_FilePreview.css +86 -87
  10. package/dist/C_Form.base.css +60 -60
  11. package/dist/C_Form.css +60 -60
  12. package/dist/C_FormModal.css +10 -11
  13. package/dist/C_FormulaEditor.css +337 -257
  14. package/dist/C_FullCalendar.css +12 -12
  15. package/dist/C_ImageCropper.css +5 -6
  16. package/dist/C_NotificationCenter.css +76 -76
  17. package/dist/C_Skeleton.css +5 -6
  18. package/dist/C_Table.base.css +189 -173
  19. package/dist/C_Table.css +189 -173
  20. package/dist/C_Upload.css +5 -5
  21. package/dist/C_VideoPlayer.css +136 -137
  22. package/dist/C_WaterFall.css +16 -17
  23. package/dist/C_WorkFlow.css +28 -28
  24. package/dist/constants3.d.cts +2 -2
  25. package/dist/constants3.d.ts +2 -2
  26. package/dist/constants4.d.cts +7 -7
  27. package/dist/constants4.d.ts +7 -7
  28. package/dist/constants5.d.cts +2 -2
  29. package/dist/constants5.d.ts +2 -2
  30. package/dist/data.d.cts +10 -10
  31. package/dist/data.d.ts +10 -10
  32. package/dist/index.vue.d.cts +6 -6
  33. package/dist/index.vue.d.ts +6 -6
  34. package/dist/index10.vue.d.cts +4 -4
  35. package/dist/index10.vue.d.ts +3 -3
  36. package/dist/index11.vue.d.cts +3 -3
  37. package/dist/index11.vue.d.ts +5 -5
  38. package/dist/index12.vue.d.cts +5 -5
  39. package/dist/index13.vue.d.ts +5 -5
  40. package/dist/index14.vue.d.cts +5 -5
  41. package/dist/index14.vue.d.ts +4 -4
  42. package/dist/index15.vue.d.cts +4 -4
  43. package/dist/index15.vue.d.ts +1 -1
  44. package/dist/index16.vue.d.cts +1 -1
  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 +1 -1
  48. package/dist/index18.vue.d.cts +1 -1
  49. package/dist/index18.vue.d.ts +5 -5
  50. package/dist/index19.vue.d.cts +5 -5
  51. package/dist/index19.vue.d.ts +3 -3
  52. package/dist/index2.vue.d.cts +2 -2
  53. package/dist/index2.vue.d.ts +2 -2
  54. package/dist/index23.vue.d.cts +2 -2
  55. package/dist/index23.vue.d.ts +2 -2
  56. package/dist/index25.vue.d.cts +3 -3
  57. package/dist/index25.vue.d.ts +3 -3
  58. package/dist/index26.vue.d.cts +1 -1
  59. package/dist/index26.vue.d.ts +1 -1
  60. package/dist/index27.vue.d.cts +2 -2
  61. package/dist/index27.vue.d.ts +2 -2
  62. package/dist/index28.vue.d.cts +1 -1
  63. package/dist/index28.vue.d.ts +1 -1
  64. package/dist/index3.vue.d.cts +3 -3
  65. package/dist/index3.vue.d.ts +3 -3
  66. package/dist/index4.vue.d.cts +3 -3
  67. package/dist/index6.vue.d.ts +2 -2
  68. package/dist/index7.vue.d.cts +2 -2
  69. package/dist/index8.vue.d.ts +4 -4
  70. package/dist/index9.vue.d.cts +4 -4
  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/presets.d.cts +1 -1
  75. package/dist/presets.d.ts +1 -1
  76. package/dist/style.css +7037 -6941
  77. package/dist/useCalendarEvents.d.cts +1 -1
  78. package/dist/useCalendarEvents.d.ts +1 -1
  79. package/dist/useCollapsePanel.d.cts +3 -3
  80. package/dist/useCollapsePanel.d.ts +3 -3
  81. package/dist/useCropperCore.d.cts +8 -8
  82. package/dist/useCropperCore.d.ts +8 -8
  83. package/dist/useDraggableLayout.d.cts +7 -7
  84. package/dist/useDraggableLayout.d.ts +7 -7
  85. package/dist/useDynamicFormState.d.cts +2 -2
  86. package/dist/useDynamicFormState.d.ts +2 -2
  87. package/dist/useEdgeInteraction.d.cts +1 -1
  88. package/dist/useEdgeInteraction.d.ts +1 -1
  89. package/dist/useFormulaEvaluator.cjs +1 -1
  90. package/dist/useFormulaEvaluator.js +1 -1
  91. package/dist/useQRCode.d.cts +3 -3
  92. package/dist/useQRCode.d.ts +3 -3
  93. package/dist/useSearchState.d.cts +9 -9
  94. package/dist/useSearchState.d.ts +9 -9
  95. package/dist/useSignatureHistory.d.cts +6 -6
  96. package/dist/useSignatureHistory.d.ts +6 -6
  97. package/dist/useSplitResize.d.cts +4 -4
  98. package/dist/useSplitResize.d.ts +4 -4
  99. package/dist/useTableQuery.cjs +1 -1
  100. package/dist/useTableQuery.d.cts +8 -2
  101. package/dist/useTableQuery.d.ts +8 -2
  102. package/dist/useTableQuery.js +2 -2
  103. package/dist/useTimeSelection.d.cts +2 -2
  104. package/dist/useTimeSelection.d.ts +2 -2
  105. package/dist/useTreeOperations.d.cts +8 -8
  106. package/dist/useTreeOperations.d.ts +8 -8
  107. package/dist/useWorkflowValidation.d.cts +2 -2
  108. package/dist/useWorkflowValidation.d.ts +2 -2
  109. package/dist/verification.d.cts +3 -3
  110. package/dist/verification.d.ts +3 -3
  111. package/package.json +8 -3
@@ -68,8 +68,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
68
68
  onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
70
  size: "small" | "medium" | "large";
71
- filterable: boolean;
72
71
  titles: [string, string];
72
+ filterable: boolean;
73
73
  filterPlaceholder: string;
74
74
  showSelectAll: boolean;
75
75
  sourceEmptyText: string;
@@ -68,8 +68,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
68
68
  onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
70
  size: "small" | "medium" | "large";
71
- filterable: boolean;
72
71
  titles: [string, string];
72
+ filterable: boolean;
73
73
  filterPlaceholder: string;
74
74
  showSelectAll: boolean;
75
75
  sourceEmptyText: string;
@@ -21,13 +21,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  label: string;
24
+ lineColor: string;
25
+ fontSize: number;
24
26
  height: number;
27
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
25
28
  width: number;
26
- fontSize: number;
27
29
  showBorder: boolean;
28
30
  showLabel: boolean;
29
- lineColor: string;
30
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
33
33
  background: string;
@@ -21,13 +21,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  label: string;
24
+ lineColor: string;
25
+ fontSize: number;
24
26
  height: number;
27
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
25
28
  width: number;
26
- fontSize: number;
27
29
  showBorder: boolean;
28
30
  showLabel: boolean;
29
- lineColor: string;
30
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
33
33
  background: string;
@@ -110,21 +110,21 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
110
110
  deriveResponsiveState: () => void;
111
111
  } | null>;
112
112
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
113
- select: (key: string) => any;
114
113
  "update:modelValue": (key: MenuValue) => any;
114
+ select: (key: string) => any;
115
115
  intent: (key: string) => any;
116
116
  "update:value": (key: MenuValue) => any;
117
117
  "update:expandedKeys": (keys: string[]) => any;
118
118
  }, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
119
- onSelect?: ((key: string) => any) | undefined;
120
119
  "onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
120
+ onSelect?: ((key: string) => any) | undefined;
121
121
  onIntent?: ((key: string) => any) | undefined;
122
122
  "onUpdate:value"?: ((key: MenuValue) => any) | undefined;
123
123
  "onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
124
124
  }>, {
125
125
  mode: "vertical" | "horizontal";
126
- indent: number;
127
126
  defaultExpandedKeys: string[];
127
+ indent: number;
128
128
  collapsed: boolean;
129
129
  collapsedWidth: number;
130
130
  collapsedIconSize: number;
@@ -104,14 +104,14 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
104
104
  "onEmoji-click"?: (() => any) | undefined;
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
- placeholder: string;
108
107
  title: string;
108
+ placeholder: string;
109
+ messages: ChatMessage[];
109
110
  showContacts: boolean;
110
111
  showTimestamp: boolean;
111
112
  showSendBtn: boolean;
112
113
  loadingHistory: boolean;
113
114
  contacts: ChatContact[];
114
- messages: ChatMessage[];
115
115
  currentContactId: string;
116
116
  selfAvatar: string;
117
117
  selfName: string;
@@ -104,14 +104,14 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
104
104
  "onEmoji-click"?: (() => any) | undefined;
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
- placeholder: string;
108
107
  title: string;
108
+ placeholder: string;
109
+ messages: ChatMessage[];
109
110
  showContacts: boolean;
110
111
  showTimestamp: boolean;
111
112
  showSendBtn: boolean;
112
113
  loadingHistory: boolean;
113
114
  contacts: ChatContact[];
114
- messages: ChatMessage[];
115
115
  currentContactId: string;
116
116
  selfAvatar: string;
117
117
  selfName: string;
@@ -25,17 +25,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {
25
25
  copyCode: typeof copyCode;
26
26
  toggleFullscreen: typeof toggleFullscreen;
27
27
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
28
- fullscreen: (isFullscreen: boolean) => any;
29
28
  click: (event: MouseEvent) => any;
30
29
  copy: (code: string) => any;
30
+ fullscreen: (isFullscreen: boolean) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
- onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
33
32
  onClick?: ((event: MouseEvent) => any) | undefined;
34
33
  onCopy?: ((code: string) => any) | undefined;
34
+ onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
35
  }>, {
36
- language: string;
37
- trim: boolean;
38
36
  code: string;
37
+ trim: boolean;
38
+ language: string;
39
39
  showHeader: boolean;
40
40
  showLineNumbers: boolean;
41
41
  wordWrap: boolean;
@@ -25,17 +25,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {
25
25
  copyCode: typeof copyCode;
26
26
  toggleFullscreen: typeof toggleFullscreen;
27
27
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
28
- fullscreen: (isFullscreen: boolean) => any;
29
28
  click: (event: MouseEvent) => any;
30
29
  copy: (code: string) => any;
30
+ fullscreen: (isFullscreen: boolean) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
- onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
33
32
  onClick?: ((event: MouseEvent) => any) | undefined;
34
33
  onCopy?: ((code: string) => any) | undefined;
34
+ onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
35
  }>, {
36
- language: string;
37
- trim: boolean;
38
36
  code: string;
37
+ trim: boolean;
38
+ language: string;
39
39
  showHeader: boolean;
40
40
  showLineNumbers: boolean;
41
41
  wordWrap: boolean;
@@ -61,27 +61,27 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
61
61
  close: () => void; /** 当前是否可见 */
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
- close: () => any;
65
64
  select: (item: ContextMenuItem) => any;
65
+ close: () => any;
66
66
  open: (position: {
67
67
  x: number;
68
68
  y: number;
69
69
  }) => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
- onClose?: (() => any) | undefined;
72
71
  onSelect?: ((item: ContextMenuItem) => any) | undefined;
72
+ onClose?: (() => any) | undefined;
73
73
  onOpen?: ((position: {
74
74
  x: number;
75
75
  y: number;
76
76
  }) => any) | undefined;
77
77
  }>, {
78
+ disabled: boolean;
78
79
  items: ContextMenuItem[];
79
80
  minWidth: number;
80
81
  maxWidth: number;
82
+ zIndex: number;
81
83
  subMenuPlacement: "right" | "left";
82
84
  autoClose: boolean;
83
- disabled: boolean;
84
- zIndex: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const _default: typeof __VLS_export;
87
87
  //#endregion
@@ -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
- zoom: number;
97
95
  center: MapCoordinate;
96
+ zoom: number;
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
- zoom: number;
97
95
  center: MapCoordinate;
96
+ zoom: number;
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>;