@robot-admin/naive-ui-components 0.13.6 → 0.13.8

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 (113) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +37 -2
  3. package/README_EN.md +37 -2
  4. package/dist/C_Form.base.css +174 -169
  5. package/dist/C_Form.cjs +1 -1
  6. package/dist/C_Form.css +174 -169
  7. package/dist/C_Form.d.cts +2 -2
  8. package/dist/C_Form.d.ts +2 -2
  9. package/dist/C_Form.js +1 -1
  10. package/dist/C_Form2.cjs +1 -1
  11. package/dist/C_Form2.js +1 -1
  12. package/dist/C_FormModal.css +15 -15
  13. package/dist/C_FormModal2.cjs +1 -1
  14. package/dist/C_FormModal2.js +1 -1
  15. package/dist/C_Loading.css +54 -71
  16. package/dist/C_Loading2.cjs +1 -1
  17. package/dist/C_Loading2.js +1 -1
  18. package/dist/C_Table.base.css +340 -352
  19. package/dist/C_Table.css +340 -352
  20. package/dist/constants.d.cts +1 -1
  21. package/dist/constants.d.ts +1 -1
  22. package/dist/constants2.d.cts +3 -3
  23. package/dist/constants2.d.ts +3 -3
  24. package/dist/constants3.d.cts +5 -5
  25. package/dist/constants3.d.ts +5 -5
  26. package/dist/constants4.d.cts +4 -4
  27. package/dist/constants4.d.ts +4 -4
  28. package/dist/constants5.d.cts +2 -2
  29. package/dist/constants5.d.ts +2 -2
  30. package/dist/data.d.cts +9 -9
  31. package/dist/data.d.ts +9 -9
  32. package/dist/index.cjs +1 -1
  33. package/dist/index.d.cts +2 -2
  34. package/dist/index.d.ts +2 -2
  35. package/dist/index.js +1 -1
  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 +2 -2
  40. package/dist/index11.vue.d.cts +2 -2
  41. package/dist/index11.vue.d.ts +5 -5
  42. package/dist/index12.vue.d.cts +5 -5
  43. package/dist/index12.vue.d.ts +1 -1
  44. package/dist/index13.vue.d.cts +1 -1
  45. package/dist/index13.vue.d.ts +3 -3
  46. package/dist/index14.vue.d.cts +3 -3
  47. package/dist/index14.vue.d.ts +3 -3
  48. package/dist/index15.vue.d.cts +3 -3
  49. package/dist/index17.vue.d.ts +1 -1
  50. package/dist/index18.vue.d.cts +1 -1
  51. package/dist/index18.vue.d.ts +3 -3
  52. package/dist/index19.vue.d.cts +3 -3
  53. package/dist/index19.vue.d.ts +1 -1
  54. package/dist/index2.vue.d.cts +1 -1
  55. package/dist/index2.vue.d.ts +1 -1
  56. package/dist/index20.vue.d.cts +1 -1
  57. package/dist/index20.vue.d.ts +1 -1
  58. package/dist/index21.vue.d.cts +3 -3
  59. package/dist/index21.vue.d.ts +3 -3
  60. package/dist/index22.vue.d.cts +2 -2
  61. package/dist/index22.vue.d.ts +2 -2
  62. package/dist/index23.vue.d.cts +2 -2
  63. package/dist/index23.vue.d.ts +2 -2
  64. package/dist/index25.vue.d.cts +2 -2
  65. package/dist/index25.vue.d.ts +2 -2
  66. package/dist/index27.vue.d.cts +3 -3
  67. package/dist/index27.vue.d.ts +3 -3
  68. package/dist/index28.vue.d.cts +3 -3
  69. package/dist/index28.vue.d.ts +3 -3
  70. package/dist/index3.vue.d.cts +3 -3
  71. package/dist/index3.vue.d.ts +3 -3
  72. package/dist/index4.vue.d.cts +1 -1
  73. package/dist/index6.vue.d.ts +3 -3
  74. package/dist/index7.vue.d.cts +3 -3
  75. package/dist/index8.vue.d.ts +3 -3
  76. package/dist/index9.vue.d.cts +3 -3
  77. package/dist/index9.vue.d.ts +4 -4
  78. package/dist/mapUtils.d.cts +1 -1
  79. package/dist/mapUtils.d.ts +1 -1
  80. package/dist/presets.d.cts +1 -1
  81. package/dist/presets.d.ts +1 -1
  82. package/dist/style.css +355 -367
  83. package/dist/useCollapsePanel.d.cts +2 -2
  84. package/dist/useCollapsePanel.d.ts +2 -2
  85. package/dist/useCropperCore.d.cts +9 -9
  86. package/dist/useCropperCore.d.ts +9 -9
  87. package/dist/useDraggableLayout.d.cts +8 -8
  88. package/dist/useDraggableLayout.d.ts +8 -8
  89. package/dist/useDynamicFormState.d.cts +25 -5
  90. package/dist/useDynamicFormState.d.ts +25 -5
  91. package/dist/useEdgeInteraction.d.cts +1 -1
  92. package/dist/useEdgeInteraction.d.ts +1 -1
  93. package/dist/useQRCode.d.cts +3 -3
  94. package/dist/useQRCode.d.ts +3 -3
  95. package/dist/useSearchState.d.cts +5 -5
  96. package/dist/useSearchState.d.ts +5 -5
  97. package/dist/useSignatureHistory.d.cts +4 -4
  98. package/dist/useSignatureHistory.d.ts +4 -4
  99. package/dist/useSplitResize.d.cts +3 -3
  100. package/dist/useSplitResize.d.ts +3 -3
  101. package/dist/useTableQuery.cjs +2 -2
  102. package/dist/useTableQuery.d.cts +6 -2
  103. package/dist/useTableQuery.d.ts +6 -2
  104. package/dist/useTableQuery.js +2 -2
  105. package/dist/useTimeSelection.d.cts +1 -1
  106. package/dist/useTimeSelection.d.ts +1 -1
  107. package/dist/useTreeOperations.d.cts +7 -7
  108. package/dist/useTreeOperations.d.ts +7 -7
  109. package/dist/useWorkflowValidation.d.cts +1 -1
  110. package/dist/useWorkflowValidation.d.ts +1 -1
  111. package/dist/verification.d.cts +3 -3
  112. package/dist/verification.d.ts +3 -3
  113. package/package.json +2 -1
@@ -21,13 +21,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  height: number;
24
- fontSize: number;
25
24
  label: string;
26
25
  width: number;
27
- lineColor: string;
26
+ fontSize: number;
28
27
  showBorder: boolean;
29
- showLabel: boolean;
30
28
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
29
+ showLabel: boolean;
30
+ lineColor: string;
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
  height: number;
24
- fontSize: number;
25
24
  label: string;
26
25
  width: number;
27
- lineColor: string;
26
+ fontSize: number;
28
27
  showBorder: boolean;
29
- showLabel: boolean;
30
28
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
29
+ showLabel: boolean;
30
+ lineColor: string;
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
33
33
  background: string;
@@ -124,11 +124,11 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
124
124
  }>, {
125
125
  mode: "vertical" | "horizontal";
126
126
  defaultExpandedKeys: string[];
127
+ indent: number;
127
128
  collapsed: boolean;
128
129
  collapsedWidth: number;
129
130
  collapsedIconSize: number;
130
131
  inverted: boolean;
131
- indent: number;
132
132
  rootIndent: number;
133
133
  dropdownProps: naive_ui0.DropdownProps;
134
134
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -86,18 +86,18 @@ type __VLS_Slots = {} & {
86
86
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
87
87
  scrollToBottom: () => void;
88
88
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
89
+ "load-more": () => any;
89
90
  send: (content: string) => any;
90
91
  "select-contact": (id: string) => any;
91
- "load-more": () => any;
92
92
  "image-preview": (url: string) => any;
93
93
  "file-click": (msg: ChatMessage) => any;
94
94
  "file-upload": () => any;
95
95
  "emoji-click": () => any;
96
96
  resend: (msg: ChatMessage) => any;
97
97
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
98
+ "onLoad-more"?: (() => any) | undefined;
98
99
  onSend?: ((content: string) => any) | undefined;
99
100
  "onSelect-contact"?: ((id: string) => any) | undefined;
100
- "onLoad-more"?: (() => any) | undefined;
101
101
  "onImage-preview"?: ((url: string) => any) | undefined;
102
102
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
103
103
  "onFile-upload"?: (() => any) | undefined;
@@ -106,12 +106,12 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
106
106
  }>, {
107
107
  placeholder: string;
108
108
  title: 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;
@@ -86,18 +86,18 @@ type __VLS_Slots = {} & {
86
86
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
87
87
  scrollToBottom: () => void;
88
88
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
89
+ "load-more": () => any;
89
90
  send: (content: string) => any;
90
91
  "select-contact": (id: string) => any;
91
- "load-more": () => any;
92
92
  "image-preview": (url: string) => any;
93
93
  "file-click": (msg: ChatMessage) => any;
94
94
  "file-upload": () => any;
95
95
  "emoji-click": () => any;
96
96
  resend: (msg: ChatMessage) => any;
97
97
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
98
+ "onLoad-more"?: (() => any) | undefined;
98
99
  onSend?: ((content: string) => any) | undefined;
99
100
  "onSelect-contact"?: ((id: string) => any) | undefined;
100
- "onLoad-more"?: (() => any) | undefined;
101
101
  "onImage-preview"?: ((url: string) => any) | undefined;
102
102
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
103
103
  "onFile-upload"?: (() => any) | undefined;
@@ -106,12 +106,12 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
106
106
  }>, {
107
107
  placeholder: string;
108
108
  title: 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;
@@ -26,16 +26,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {
26
26
  toggleFullscreen: typeof toggleFullscreen;
27
27
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
28
28
  click: (event: MouseEvent) => any;
29
- copy: (code: string) => any;
30
29
  fullscreen: (isFullscreen: boolean) => any;
30
+ copy: (code: string) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
32
  onClick?: ((event: MouseEvent) => any) | undefined;
33
- onCopy?: ((code: string) => any) | undefined;
34
33
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
34
+ onCopy?: ((code: string) => any) | undefined;
35
35
  }>, {
36
36
  trim: boolean;
37
- code: string;
38
37
  language: string;
38
+ code: string;
39
39
  showHeader: boolean;
40
40
  showLineNumbers: boolean;
41
41
  wordWrap: boolean;
@@ -26,16 +26,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {
26
26
  toggleFullscreen: typeof toggleFullscreen;
27
27
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
28
28
  click: (event: MouseEvent) => any;
29
- copy: (code: string) => any;
30
29
  fullscreen: (isFullscreen: boolean) => any;
30
+ copy: (code: string) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
32
  onClick?: ((event: MouseEvent) => any) | undefined;
33
- onCopy?: ((code: string) => any) | undefined;
34
33
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
34
+ onCopy?: ((code: string) => any) | undefined;
35
35
  }>, {
36
36
  trim: boolean;
37
- code: string;
38
37
  language: string;
38
+ code: string;
39
39
  showHeader: boolean;
40
40
  showLineNumbers: boolean;
41
41
  wordWrap: boolean;
@@ -62,24 +62,24 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
64
  close: () => any;
65
- select: (item: ContextMenuItem) => any;
66
65
  open: (position: {
67
66
  x: number;
68
67
  y: number;
69
68
  }) => any;
69
+ select: (item: ContextMenuItem) => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
71
  onClose?: (() => any) | undefined;
72
- onSelect?: ((item: ContextMenuItem) => any) | undefined;
73
72
  onOpen?: ((position: {
74
73
  x: number;
75
74
  y: number;
76
75
  }) => any) | undefined;
76
+ onSelect?: ((item: ContextMenuItem) => any) | undefined;
77
77
  }>, {
78
- items: ContextMenuItem[];
79
78
  disabled: boolean;
80
- zIndex: number;
79
+ items: ContextMenuItem[];
81
80
  minWidth: number;
82
81
  maxWidth: number;
82
+ zIndex: number;
83
83
  subMenuPlacement: "right" | "left";
84
84
  autoClose: boolean;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -92,8 +92,8 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
94
  height: string;
95
- center: MapCoordinate;
96
95
  ariaLabel: string;
96
+ center: MapCoordinate;
97
97
  zoom: number;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
@@ -92,8 +92,8 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
94
  height: string;
95
- center: MapCoordinate;
96
95
  ariaLabel: string;
96
+ center: MapCoordinate;
97
97
  zoom: number;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
@@ -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>;