@robot-admin/naive-ui-components 0.6.8 → 0.6.11

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 (177) hide show
  1. package/README.md +277 -261
  2. package/dist/C_AudioPlayer-DKRIGhi7.css.map +1 -0
  3. package/dist/C_AudioPlayer-DlB6eNsa.css.map +1 -0
  4. package/dist/C_AudioPlayer.cjs +1 -0
  5. package/dist/C_AudioPlayer.css +283 -0
  6. package/dist/C_AudioPlayer.d.cts +2 -0
  7. package/dist/C_AudioPlayer.d.ts +2 -0
  8. package/dist/C_AudioPlayer.js +1 -0
  9. package/dist/C_AudioPlayer.js.map +1 -0
  10. package/dist/C_AudioPlayer2.js +2 -0
  11. package/dist/C_AudioPlayer2.js.map +1 -0
  12. package/dist/C_AvatarGroup-D02zci-i.css.map +1 -0
  13. package/dist/C_AvatarGroup-DatHaUlY.css.map +1 -0
  14. package/dist/C_AvatarGroup.cjs +1 -0
  15. package/dist/C_AvatarGroup.css +107 -0
  16. package/dist/C_AvatarGroup.d.cts +2 -0
  17. package/dist/C_AvatarGroup.d.ts +2 -0
  18. package/dist/C_AvatarGroup.js +1 -0
  19. package/dist/C_AvatarGroup.js.map +1 -0
  20. package/dist/C_AvatarGroup2.js +2 -0
  21. package/dist/C_AvatarGroup2.js.map +1 -0
  22. package/dist/C_Barcode.d.cts +1 -1
  23. package/dist/C_Barcode.d.ts +1 -1
  24. package/dist/{C_Breadcrumb-B5PGpP5m.css.map → C_Breadcrumb-BiH0d9AI.css.map} +1 -1
  25. package/dist/{C_Breadcrumb-Cay7qluL.css.map → C_Breadcrumb-Bqqrl8nX.css.map} +1 -1
  26. package/dist/C_Breadcrumb.css +8 -2
  27. package/dist/C_Breadcrumb.d.cts +1 -1
  28. package/dist/C_Breadcrumb.d.ts +1 -1
  29. package/dist/C_Breadcrumb.js.map +1 -1
  30. package/dist/C_Breadcrumb2.js.map +1 -1
  31. package/dist/C_Captcha.d.cts +1 -1
  32. package/dist/C_Captcha.d.ts +1 -1
  33. package/dist/C_Cascade.d.cts +1 -1
  34. package/dist/C_Cascade.d.ts +1 -1
  35. package/dist/C_Chat-CcjZdAwu.css.map +1 -0
  36. package/dist/C_Chat-Diq7tyWU.css.map +1 -0
  37. package/dist/C_Chat.cjs +1 -0
  38. package/dist/C_Chat.css +395 -0
  39. package/dist/C_Chat.d.cts +2 -0
  40. package/dist/C_Chat.d.ts +2 -0
  41. package/dist/C_Chat.js +1 -0
  42. package/dist/C_Chat.js.map +1 -0
  43. package/dist/C_Chat2.js +2 -0
  44. package/dist/C_Chat2.js.map +1 -0
  45. package/dist/C_City.d.cts +1 -1
  46. package/dist/C_City.d.ts +1 -1
  47. package/dist/C_Code.d.cts +1 -1
  48. package/dist/C_Code.d.ts +1 -1
  49. package/dist/C_ContextMenu-B3Cgz_wJ.css.map +1 -0
  50. package/dist/C_ContextMenu-u1LixF3_.css.map +1 -0
  51. package/dist/C_ContextMenu.cjs +1 -0
  52. package/dist/C_ContextMenu.css +115 -0
  53. package/dist/C_ContextMenu.d.cts +2 -0
  54. package/dist/C_ContextMenu.d.ts +2 -0
  55. package/dist/C_ContextMenu.js +1 -0
  56. package/dist/C_ContextMenu.js.map +1 -0
  57. package/dist/C_ContextMenu2.js +2 -0
  58. package/dist/C_ContextMenu2.js.map +1 -0
  59. package/dist/C_Date.d.cts +1 -1
  60. package/dist/C_Date.d.ts +1 -1
  61. package/dist/C_Editor.d.cts +1 -1
  62. package/dist/C_Editor.d.ts +1 -1
  63. package/dist/C_Guide.d.cts +1 -1
  64. package/dist/C_Guide.d.ts +1 -1
  65. package/dist/C_Icon.d.cts +1 -1
  66. package/dist/C_Icon.d.ts +1 -1
  67. package/dist/C_Icon.js.map +1 -1
  68. package/dist/C_Icon2.js +1 -1
  69. package/dist/C_Icon2.js.map +1 -1
  70. package/dist/C_Language.d.cts +1 -1
  71. package/dist/C_Language.d.ts +1 -1
  72. package/dist/C_Language.js.map +1 -1
  73. package/dist/C_Language2.js +1 -1
  74. package/dist/C_Language2.js.map +1 -1
  75. package/dist/C_Login-BkdnkBKX.css.map +1 -0
  76. package/dist/C_Login-VkMM6OJ2.css.map +1 -0
  77. package/dist/C_Login.cjs +1 -0
  78. package/dist/C_Login.css +515 -0
  79. package/dist/C_Login.d.cts +2 -0
  80. package/dist/C_Login.d.ts +2 -0
  81. package/dist/C_Login.js +1 -0
  82. package/dist/C_Login.js.map +1 -0
  83. package/dist/C_Login2.js +2 -0
  84. package/dist/C_Login2.js.map +1 -0
  85. package/dist/C_Markdown.d.cts +1 -1
  86. package/dist/C_Markdown.d.ts +1 -1
  87. package/dist/C_Menu.d.cts +1 -1
  88. package/dist/C_Menu.d.ts +1 -1
  89. package/dist/C_Progress.d.cts +1 -1
  90. package/dist/C_Progress.d.ts +1 -1
  91. package/dist/C_Steps.d.cts +1 -1
  92. package/dist/C_Steps.d.ts +1 -1
  93. package/dist/C_TagsView.d.cts +1 -1
  94. package/dist/C_TagsView.d.ts +1 -1
  95. package/dist/C_Theme.d.cts +1 -1
  96. package/dist/C_Theme.d.ts +1 -1
  97. package/dist/C_Timeline-BIvw3f41.css.map +1 -0
  98. package/dist/C_Timeline-VsDfCv4Q.css.map +1 -0
  99. package/dist/C_Timeline.cjs +1 -0
  100. package/dist/C_Timeline.css +271 -0
  101. package/dist/C_Timeline.d.cts +2 -0
  102. package/dist/C_Timeline.d.ts +2 -0
  103. package/dist/C_Timeline.js +1 -0
  104. package/dist/C_Timeline.js.map +1 -0
  105. package/dist/C_Timeline2.js +2 -0
  106. package/dist/C_Timeline2.js.map +1 -0
  107. package/dist/C_Transfer-BOB6OBqS.css.map +1 -0
  108. package/dist/C_Transfer-Dpq7ezWC.css.map +1 -0
  109. package/dist/C_Transfer.cjs +1 -0
  110. package/dist/C_Transfer.css +193 -0
  111. package/dist/C_Transfer.d.cts +2 -0
  112. package/dist/C_Transfer.d.ts +2 -0
  113. package/dist/C_Transfer.js +1 -0
  114. package/dist/C_Transfer.js.map +1 -0
  115. package/dist/C_Transfer2.js +2 -0
  116. package/dist/C_Transfer2.js.map +1 -0
  117. package/dist/C_VtableGantt.d.cts +1 -1
  118. package/dist/C_VtableGantt.d.ts +1 -1
  119. package/dist/constants.d.ts +2 -2
  120. package/dist/constants2.d.ts +2 -2
  121. package/dist/constants4.d.ts +3 -3
  122. package/dist/constants5.d.ts +2 -2
  123. package/dist/data.d.ts +1 -1
  124. package/dist/index.cjs +1 -1
  125. package/dist/index.cjs.map +1 -1
  126. package/dist/index.d.cts +48 -41
  127. package/dist/index.d.ts +48 -41
  128. package/dist/index.js +1 -1
  129. package/dist/index.js.map +1 -1
  130. package/dist/index.vue.d.ts +1 -1
  131. package/dist/index10.vue.d.ts +41 -23
  132. package/dist/index11.vue.d.ts +80 -63
  133. package/dist/index12.vue.d.ts +48 -20
  134. package/dist/index13.vue.d.ts +23 -63
  135. package/dist/index14.vue.d.ts +21 -58
  136. package/dist/index15.vue.d.ts +65 -48
  137. package/dist/index16.vue.d.ts +16 -21
  138. package/dist/index17.vue.d.ts +106 -77
  139. package/dist/index18.vue.d.ts +74 -11
  140. package/dist/index19.vue.d.ts +58 -653
  141. package/dist/index2.vue.d.ts +75 -30
  142. package/dist/index20.vue.d.ts +55 -0
  143. package/dist/index21.vue.d.ts +33 -0
  144. package/dist/index22.vue.d.ts +88 -0
  145. package/dist/index23.vue.d.ts +18 -0
  146. package/dist/index24.vue.d.ts +112 -0
  147. package/dist/index25.vue.d.ts +81 -0
  148. package/dist/index26.vue.d.ts +662 -0
  149. package/dist/index3.vue.d.ts +77 -19
  150. package/dist/index4.vue.d.ts +29 -36
  151. package/dist/index5.vue.d.ts +19 -20
  152. package/dist/index6.vue.d.ts +36 -26
  153. package/dist/index7.vue.d.ts +23 -40
  154. package/dist/index8.vue.d.ts +117 -45
  155. package/dist/index9.vue.d.ts +19 -25
  156. package/dist/resolver.cjs +1 -1
  157. package/dist/resolver.cjs.map +1 -1
  158. package/dist/resolver.d.cts +1 -1
  159. package/dist/resolver.d.ts +1 -1
  160. package/dist/resolver.js +1 -1
  161. package/dist/resolver.js.map +1 -1
  162. package/dist/style.css +1920 -21
  163. package/dist/useCollapsePanel.d.ts +1 -1
  164. package/dist/useCropperCore.d.ts +4 -4
  165. package/dist/useDraggableLayout.d.ts +8 -8
  166. package/dist/useDynamicFormState.d.ts +10 -10
  167. package/dist/useEdgeInteraction.d.ts +1 -1
  168. package/dist/useInfiniteScroll.d.ts +2 -2
  169. package/dist/useModalEdit.d.ts +2 -2
  170. package/dist/useQRCode.d.ts +4 -4
  171. package/dist/useSearchState.d.ts +2 -2
  172. package/dist/useSignatureHistory.d.ts +1 -1
  173. package/dist/useSplitResize.d.ts +5 -5
  174. package/dist/useTimeSelection.d.ts +2 -2
  175. package/dist/useTreeOperations.d.ts +6 -6
  176. package/dist/useWorkflowValidation.d.ts +1 -1
  177. package/package.json +1 -1
@@ -79,12 +79,12 @@ declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}
79
79
  "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
80
80
  }>, {
81
81
  bordered: boolean;
82
- persistKey: string;
83
82
  activeKeys: string[];
84
83
  defaultActiveKeys: string[];
85
84
  accordion: boolean;
86
85
  variant: CollapsePanelVariant;
87
86
  expandIconPosition: ExpandIconPosition;
87
+ persistKey: string;
88
88
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
89
89
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
90
90
  declare const _default: typeof __VLS_export;
@@ -51,28 +51,28 @@ interface ImageCropperEmits {
51
51
  //#endregion
52
52
  //#region src/components/C_ImageCropper/index.vue.d.ts
53
53
  declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
54
- error: (error: Event) => any;
55
54
  ready: () => any;
55
+ error: (error: Event) => any;
56
56
  cancel: () => any;
57
57
  crop: (result: any) => any;
58
58
  confirm: (result: any) => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
- onError?: ((error: Event) => any) | undefined;
61
60
  onReady?: (() => any) | undefined;
61
+ onError?: ((error: Event) => any) | undefined;
62
62
  onCancel?: (() => any) | undefined;
63
63
  onCrop?: ((result: any) => any) | undefined;
64
64
  onConfirm?: ((result: any) => any) | undefined;
65
65
  }>, {
66
- disabled: boolean;
67
66
  height: string | number;
68
67
  showToolbar: boolean;
68
+ disabled: boolean;
69
+ showPreview: boolean;
69
70
  aspectRatio: number;
70
71
  src: string;
71
72
  outputFormat: CropOutputFormat;
72
73
  outputQuality: number;
73
74
  maxOutputWidth: number;
74
75
  maxOutputHeight: number;
75
- showPreview: boolean;
76
76
  circular: boolean;
77
77
  modal: boolean;
78
78
  modalTitle: string;
@@ -119,9 +119,16 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
119
119
  modelValue: DraggableItem[];
120
120
  sort: boolean;
121
121
  disabled: boolean;
122
- delay: number;
122
+ direction: "vertical" | "horizontal";
123
+ layout: LayoutMode;
124
+ itemClass: string;
123
125
  group: string | GroupOptions;
126
+ alignItems: AlignItems;
127
+ flexWrap: boolean;
128
+ justifyContent: JustifyContent;
124
129
  animation: number;
130
+ gap: string | number;
131
+ delay: number;
125
132
  handle: string;
126
133
  showHandle: boolean;
127
134
  ghostClass: string;
@@ -129,19 +136,12 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
129
136
  dragClass: string;
130
137
  wrapperClass: string;
131
138
  listClass: string;
132
- itemClass: string;
133
139
  showEmptyState: boolean;
134
140
  emptyText: string;
135
141
  swapThreshold: number;
136
142
  invertSwap: boolean;
137
- direction: "vertical" | "horizontal";
138
- layout: LayoutMode;
139
143
  gridColumns: number;
140
144
  gridRows: number;
141
- gap: string | number;
142
- flexWrap: boolean;
143
- justifyContent: JustifyContent;
144
- alignItems: AlignItems;
145
145
  customStyles: Record<string, string | number>;
146
146
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
147
147
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1295,6 +1295,7 @@ declare const useDynamicFormState: () => {
1295
1295
  readonly placeholder?: string | undefined;
1296
1296
  readonly rules?: readonly {
1297
1297
  readonly type?: RuleType | undefined;
1298
+ readonly required?: boolean | undefined;
1298
1299
  readonly options?: {
1299
1300
  readonly suppressWarning?: boolean | undefined;
1300
1301
  readonly suppressValidatorError?: boolean | undefined;
@@ -1350,12 +1351,8 @@ declare const useDynamicFormState: () => {
1350
1351
  readonly keys?: readonly string[] | undefined;
1351
1352
  readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
1352
1353
  } | undefined;
1353
- readonly trigger?: string | readonly string[] | undefined;
1354
- readonly pattern?: (RegExp | string) | undefined;
1355
- readonly key?: string | undefined;
1356
- readonly required?: boolean | undefined;
1357
- readonly level?: "warning" | "error" | undefined;
1358
1354
  readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
1355
+ readonly pattern?: (RegExp | string) | undefined;
1359
1356
  readonly min?: number | undefined;
1360
1357
  readonly max?: number | undefined;
1361
1358
  readonly len?: number | undefined;
@@ -1931,7 +1928,10 @@ declare const useDynamicFormState: () => {
1931
1928
  }[] | undefined;
1932
1929
  readonly transform?: ((value: Value) => Value) | undefined;
1933
1930
  readonly message?: string | ((a?: string) => string) | undefined;
1931
+ readonly key?: string | undefined;
1932
+ readonly trigger?: string | readonly string[] | undefined;
1934
1933
  readonly renderMessage?: (() => vue.VNodeChild) | undefined;
1934
+ readonly level?: "warning" | "error" | undefined;
1935
1935
  readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
1936
1936
  }[] | undefined;
1937
1937
  readonly attrs?: {
@@ -3572,6 +3572,7 @@ declare const useDynamicFormState: () => {
3572
3572
  } | undefined;
3573
3573
  readonly rules?: readonly {
3574
3574
  readonly type?: RuleType | undefined;
3575
+ readonly required?: boolean | undefined;
3575
3576
  readonly options?: {
3576
3577
  readonly suppressWarning?: boolean | undefined;
3577
3578
  readonly suppressValidatorError?: boolean | undefined;
@@ -3627,12 +3628,8 @@ declare const useDynamicFormState: () => {
3627
3628
  readonly keys?: readonly string[] | undefined;
3628
3629
  readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
3629
3630
  } | undefined;
3630
- readonly trigger?: string | readonly string[] | undefined;
3631
- readonly pattern?: (RegExp | string) | undefined;
3632
- readonly key?: string | undefined;
3633
- readonly required?: boolean | undefined;
3634
- readonly level?: "warning" | "error" | undefined;
3635
3631
  readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
3632
+ readonly pattern?: (RegExp | string) | undefined;
3636
3633
  readonly min?: number | undefined;
3637
3634
  readonly max?: number | undefined;
3638
3635
  readonly len?: number | undefined;
@@ -4208,7 +4205,10 @@ declare const useDynamicFormState: () => {
4208
4205
  }[] | undefined;
4209
4206
  readonly transform?: ((value: Value) => Value) | undefined;
4210
4207
  readonly message?: string | ((a?: string) => string) | undefined;
4208
+ readonly key?: string | undefined;
4209
+ readonly trigger?: string | readonly string[] | undefined;
4211
4210
  readonly renderMessage?: (() => vue.VNodeChild) | undefined;
4211
+ readonly level?: "warning" | "error" | undefined;
4212
4212
  readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
4213
4213
  }[] | undefined;
4214
4214
  }[];
@@ -259,11 +259,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
259
259
  onReady?: ((graph: any) => any) | undefined;
260
260
  "onData-change"?: ((data: DiagramData) => any) | undefined;
261
261
  }>, {
262
- theme: "light" | "dark";
263
262
  width: string | number;
264
263
  height: string | number;
265
264
  readonly: boolean;
266
265
  showToolbar: boolean;
266
+ theme: "light" | "dark";
267
267
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
268
268
  declare const _default: typeof __VLS_export;
269
269
  //#endregion
@@ -90,9 +90,9 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
90
90
  "onImage-error"?: ((item: WaterFallItem) => any) | undefined;
91
91
  }>, {
92
92
  loading: boolean;
93
- gap: number;
94
- columns: number;
95
93
  animationDuration: number;
94
+ columns: number;
95
+ gap: number;
96
96
  infinite: boolean;
97
97
  lazy: boolean;
98
98
  skeleton: boolean;
@@ -591,6 +591,7 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
591
591
  };
592
592
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
593
593
  cancel: (rowData: DataRecord, rowIndex: number) => any;
594
+ save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
594
595
  "pagination-change": (...args: unknown[]) => any;
595
596
  "row-delete": (...args: unknown[]) => any;
596
597
  "expand-change": (expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any;
@@ -598,7 +599,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
598
599
  "child-selection-change": (parentKey: DataTableRowKey$1, childKeys: DataTableRowKey$1[], childRows: any[]) => any;
599
600
  "parent-child-link-change": (parentKey: DataTableRowKey$1, shouldSelect: boolean) => any;
600
601
  "update:data": (data: DataRecord[]) => any;
601
- save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
602
602
  "row-add": (newRow: DataRecord) => any;
603
603
  "row-copy": (originalRow: DataRecord, newRow: DataRecord) => any;
604
604
  "row-move": (row: DataRecord, fromIndex: number, toIndex: number) => any;
@@ -607,6 +607,7 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
607
607
  "column-change": (columns: TableColumn[]) => any;
608
608
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
609
609
  onCancel?: ((rowData: DataRecord, rowIndex: number) => any) | undefined;
610
+ onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
610
611
  "onPagination-change"?: ((...args: unknown[]) => any) | undefined;
611
612
  "onRow-delete"?: ((...args: unknown[]) => any) | undefined;
612
613
  "onExpand-change"?: ((expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any) | undefined;
@@ -614,7 +615,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
614
615
  "onChild-selection-change"?: ((parentKey: DataTableRowKey$1, childKeys: DataTableRowKey$1[], childRows: any[]) => any) | undefined;
615
616
  "onParent-child-link-change"?: ((parentKey: DataTableRowKey$1, shouldSelect: boolean) => any) | undefined;
616
617
  "onUpdate:data"?: ((data: DataRecord[]) => any) | undefined;
617
- onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
618
618
  "onRow-add"?: ((newRow: DataRecord) => any) | undefined;
619
619
  "onRow-copy"?: ((originalRow: DataRecord, newRow: DataRecord) => any) | undefined;
620
620
  "onRow-move"?: ((row: DataRecord, fromIndex: number, toIndex: number) => any) | undefined;
@@ -50,13 +50,13 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
50
50
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
51
51
  onError?: ((error: Error) => any) | undefined;
52
52
  }>, {
53
- label: string;
54
- size: number;
55
53
  color: string;
54
+ size: number;
55
+ mode: RenderMode;
56
+ label: string;
56
57
  showBorder: boolean;
57
- showLabel: boolean;
58
58
  margin: number;
59
- mode: RenderMode;
59
+ showLabel: boolean;
60
60
  bgColor: string;
61
61
  errorCorrectionLevel: ErrorCorrectionLevel;
62
62
  logo: LogoOptions;
@@ -55,12 +55,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
55
55
  cleanFn: () => void;
56
56
  changeFoldState: () => void;
57
57
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
58
- search: (params: SearchFormParams) => any;
59
58
  reset: () => any;
59
+ search: (params: SearchFormParams) => any;
60
60
  "change-params": (params: SearchFormParams) => any;
61
61
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
62
- onSearch?: ((params: SearchFormParams) => any) | undefined;
63
62
  onReset?: (() => any) | undefined;
63
+ onSearch?: ((params: SearchFormParams) => any) | undefined;
64
64
  "onChange-params"?: ((params: SearchFormParams) => any) | undefined;
65
65
  }>, {
66
66
  size: "small" | "medium" | "large";
@@ -107,11 +107,11 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
107
107
  onUndo?: (() => any) | undefined;
108
108
  onRedo?: (() => any) | undefined;
109
109
  }>, {
110
- disabled: boolean;
111
110
  width: number | string;
112
111
  height: number | string;
113
112
  readonly: boolean;
114
113
  showToolbar: boolean;
114
+ disabled: boolean;
115
115
  maxHistory: number;
116
116
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
117
117
  declare const _default: typeof __VLS_export;
@@ -66,21 +66,21 @@ type __VLS_Slots = {} & {
66
66
  second?: (props: typeof __VLS_13) => any;
67
67
  };
68
68
  declare const __VLS_base: vue.DefineComponent<Props, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
69
- "drag-start": (size: number) => any;
70
- "drag-end": (size: number) => any;
71
69
  resize: (firstSize: number, secondSize: number) => any;
72
70
  collapse: (target: CollapseTarget) => any;
71
+ "drag-start": (size: number) => any;
72
+ "drag-end": (size: number) => any;
73
73
  expand: (target: CollapseTarget) => any;
74
74
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
75
- "onDrag-start"?: ((size: number) => any) | undefined;
76
- "onDrag-end"?: ((size: number) => any) | undefined;
77
75
  onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
78
76
  onCollapse?: ((target: CollapseTarget) => any) | undefined;
77
+ "onDrag-start"?: ((size: number) => any) | undefined;
78
+ "onDrag-end"?: ((size: number) => any) | undefined;
79
79
  onExpand?: ((target: CollapseTarget) => any) | undefined;
80
80
  }>, {
81
81
  disabled: boolean;
82
- direction: SplitDirection;
83
82
  step: number;
83
+ direction: SplitDirection;
84
84
  defaultSize: number;
85
85
  minSize: number;
86
86
  maxSize: number;
@@ -49,9 +49,9 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
49
49
  "onChange-end"?: ((time: number | null) => any) | undefined;
50
50
  }>, {
51
51
  placeholder: string;
52
- format: string;
53
- attrs: Record<string, any>;
54
52
  mode: TimeMode;
53
+ attrs: Record<string, any>;
54
+ format: string;
55
55
  startPlaceholder: string;
56
56
  endPlaceholder: string;
57
57
  useHours: boolean;
@@ -91,24 +91,23 @@ type __VLS_Slots = {} & {
91
91
  };
92
92
  declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
93
93
  add: (parentNode?: TreeNodeData | undefined) => any;
94
+ refresh: () => any;
94
95
  "node-select": (node: TreeNodeData | null, selectedKeys: (string | number)[]) => any;
95
96
  "node-action": (action: string, node: TreeNodeData) => any;
96
97
  "node-drop": (info: DropInfo) => any;
97
- refresh: () => any;
98
98
  }, string, vue.PublicProps, Readonly<TreeProps> & Readonly<{
99
99
  onAdd?: ((parentNode?: TreeNodeData | undefined) => any) | undefined;
100
+ onRefresh?: (() => any) | undefined;
100
101
  "onNode-select"?: ((node: TreeNodeData | null, selectedKeys: (string | number)[]) => any) | undefined;
101
102
  "onNode-action"?: ((action: string, node: TreeNodeData) => any) | undefined;
102
103
  "onNode-drop"?: ((info: DropInfo) => any) | undefined;
103
- onRefresh?: (() => any) | undefined;
104
104
  }>, {
105
- labelField: string;
106
- childrenField: string;
107
- draggable: boolean;
108
- actions: ActionConfig[];
109
105
  showToolbar: boolean;
110
106
  mode: TreeMode;
107
+ draggable: boolean;
111
108
  keyField: string;
109
+ labelField: string;
110
+ childrenField: string;
112
111
  searchPattern: string;
113
112
  searchable: boolean;
114
113
  searchPlaceholder: string;
@@ -119,6 +118,7 @@ declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {},
119
118
  iconField: string;
120
119
  iconConfig: IconConfig;
121
120
  statusConfigs: StatusConfig[];
121
+ actions: ActionConfig[];
122
122
  defaultExpandAll: boolean;
123
123
  defaultExpandedKeys: (string | number)[];
124
124
  defaultSelectedKeys: (string | number)[];
@@ -251,8 +251,8 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
251
251
  "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
252
252
  "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
253
253
  }>, {
254
- theme: "light" | "dark";
255
254
  readonly: boolean;
255
+ theme: "light" | "dark";
256
256
  users: User[];
257
257
  roles: Role[];
258
258
  departments: Department[];
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.6.8",
6
+ "version": "0.6.11",
7
7
  "description": "基于 Naive UI 的 Vue 3 组件库",
8
8
  "type": "module",
9
9
  "main": "dist/index.cjs",