vue-business-kit 0.0.6 → 0.0.7

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.
package/dist/index.d.ts CHANGED
@@ -109,14 +109,14 @@ readonly autoInsertSpace: EpPropMergeType<BooleanConstructor, unknown, unknown>;
109
109
  readonly nativeType: EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
110
110
  readonly loadingIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
111
111
  }> & Omit<{
112
- readonly type: EpPropMergeType<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
112
+ readonly type: EpPropMergeType<StringConstructor, "" | "success" | "default" | "text" | "primary" | "warning" | "info" | "danger", unknown>;
113
+ readonly dark: boolean;
114
+ readonly link: boolean;
113
115
  readonly nativeType: EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
114
116
  readonly loading: boolean;
115
- readonly link: boolean;
116
117
  readonly bg: boolean;
117
118
  readonly autofocus: boolean;
118
119
  readonly circle: boolean;
119
- readonly dark: boolean;
120
120
  readonly tag: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
121
121
  readonly size?: EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
122
122
  readonly disabled?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
@@ -128,7 +128,7 @@ readonly round?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefin
128
128
  readonly color?: string | undefined;
129
129
  readonly autoInsertSpace?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
130
130
  onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
131
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "type" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "link" | "bg" | "autofocus" | "round" | "circle" | "dark" | "autoInsertSpace" | "tag">;
131
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "disabled" | "dark" | "link" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "bg" | "autofocus" | "round" | "circle" | "autoInsertSpace" | "tag">;
132
132
  $attrs: {
133
133
  [x: string]: unknown;
134
134
  };
@@ -265,7 +265,7 @@ readonly autoInsertSpace: EpPropFinalized<BooleanConstructor, unknown, unknown,
265
265
  readonly tag: EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown, "button", boolean>;
266
266
  }>> & {
267
267
  onClick?: ((evt: MouseEvent) => any) | undefined;
268
- }, "size" | "disabled" | "type" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "link" | "bg" | "autofocus" | "round" | "circle" | "dark" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & ShallowUnwrapRef< {
268
+ }, "size" | "type" | "disabled" | "dark" | "link" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "bg" | "autofocus" | "round" | "circle" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & ShallowUnwrapRef< {
269
269
  ref: Ref<HTMLButtonElement | undefined>;
270
270
  size: ComputedRef<"" | "small" | "default" | "large">;
271
271
  type: ComputedRef<string>;
@@ -297,14 +297,14 @@ readonly autoInsertSpace: EpPropMergeType<BooleanConstructor, unknown, unknown>;
297
297
  readonly nativeType: EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
298
298
  readonly loadingIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
299
299
  }> & Omit<{
300
- readonly type: EpPropMergeType<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
300
+ readonly type: EpPropMergeType<StringConstructor, "" | "success" | "default" | "text" | "primary" | "warning" | "info" | "danger", unknown>;
301
+ readonly dark: boolean;
302
+ readonly link: boolean;
301
303
  readonly nativeType: EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
302
304
  readonly loading: boolean;
303
- readonly link: boolean;
304
305
  readonly bg: boolean;
305
306
  readonly autofocus: boolean;
306
307
  readonly circle: boolean;
307
- readonly dark: boolean;
308
308
  readonly tag: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
309
309
  readonly size?: EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
310
310
  readonly disabled?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
@@ -316,7 +316,7 @@ readonly round?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefin
316
316
  readonly color?: string | undefined;
317
317
  readonly autoInsertSpace?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
318
318
  onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
319
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "type" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "link" | "bg" | "autofocus" | "round" | "circle" | "dark" | "autoInsertSpace" | "tag">;
319
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "disabled" | "dark" | "link" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "bg" | "autofocus" | "round" | "circle" | "autoInsertSpace" | "tag">;
320
320
  $attrs: {
321
321
  [x: string]: unknown;
322
322
  };
@@ -453,7 +453,7 @@ readonly autoInsertSpace: EpPropFinalized<BooleanConstructor, unknown, unknown,
453
453
  readonly tag: EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown, "button", boolean>;
454
454
  }>> & {
455
455
  onClick?: ((evt: MouseEvent) => any) | undefined;
456
- }, "size" | "disabled" | "type" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "link" | "bg" | "autofocus" | "round" | "circle" | "dark" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & ShallowUnwrapRef< {
456
+ }, "size" | "type" | "disabled" | "dark" | "link" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "bg" | "autofocus" | "round" | "circle" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & ShallowUnwrapRef< {
457
457
  ref: Ref<HTMLButtonElement | undefined>;
458
458
  size: ComputedRef<"" | "small" | "default" | "large">;
459
459
  type: ComputedRef<string>;
@@ -487,14 +487,14 @@ readonly autoInsertSpace: EpPropMergeType<BooleanConstructor, unknown, unknown>;
487
487
  readonly nativeType: EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
488
488
  readonly loadingIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
489
489
  }> & Omit<{
490
- readonly type: EpPropMergeType<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
490
+ readonly type: EpPropMergeType<StringConstructor, "" | "success" | "default" | "text" | "primary" | "warning" | "info" | "danger", unknown>;
491
+ readonly dark: boolean;
492
+ readonly link: boolean;
491
493
  readonly nativeType: EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
492
494
  readonly loading: boolean;
493
- readonly link: boolean;
494
495
  readonly bg: boolean;
495
496
  readonly autofocus: boolean;
496
497
  readonly circle: boolean;
497
- readonly dark: boolean;
498
498
  readonly tag: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
499
499
  readonly size?: EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
500
500
  readonly disabled?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
@@ -506,7 +506,7 @@ readonly round?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefin
506
506
  readonly color?: string | undefined;
507
507
  readonly autoInsertSpace?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
508
508
  onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
509
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "type" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "link" | "bg" | "autofocus" | "round" | "circle" | "dark" | "autoInsertSpace" | "tag">;
509
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "disabled" | "dark" | "link" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "bg" | "autofocus" | "round" | "circle" | "autoInsertSpace" | "tag">;
510
510
  $attrs: {
511
511
  [x: string]: unknown;
512
512
  };
@@ -643,7 +643,7 @@ readonly autoInsertSpace: EpPropFinalized<BooleanConstructor, unknown, unknown,
643
643
  readonly tag: EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown, "button", boolean>;
644
644
  }>> & {
645
645
  onClick?: ((evt: MouseEvent) => any) | undefined;
646
- }, "size" | "disabled" | "type" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "link" | "bg" | "autofocus" | "round" | "circle" | "dark" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & ShallowUnwrapRef< {
646
+ }, "size" | "type" | "disabled" | "dark" | "link" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "bg" | "autofocus" | "round" | "circle" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & ShallowUnwrapRef< {
647
647
  ref: Ref<HTMLButtonElement | undefined>;
648
648
  size: ComputedRef<"" | "small" | "default" | "large">;
649
649
  type: ComputedRef<string>;
@@ -677,7 +677,6 @@ readonly statusIcon: boolean;
677
677
  readonly hideRequiredAsterisk: boolean;
678
678
  readonly scrollToError: boolean;
679
679
  }> & Omit<{
680
- readonly disabled: boolean;
681
680
  readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
682
681
  readonly labelPosition: EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
683
682
  readonly inlineMessage: boolean;
@@ -690,11 +689,12 @@ readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unkn
690
689
  readonly hideRequiredAsterisk: boolean;
691
690
  readonly scrollToError: boolean;
692
691
  readonly scrollIntoViewOptions: EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
693
- readonly size?: EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown> | undefined;
692
+ readonly disabled: boolean;
694
693
  readonly rules?: Partial<Record<string, Arrayable<FormItemRule>>> | undefined;
694
+ readonly size?: EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown> | undefined;
695
695
  readonly model?: Record<string, any> | undefined;
696
696
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
697
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
697
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "disabled">;
698
698
  $attrs: {
699
699
  [x: string]: unknown;
700
700
  };
@@ -825,7 +825,7 @@ __epPropKey: true;
825
825
  readonly disabled: BooleanConstructor;
826
826
  }>> & {
827
827
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
828
- }, "disabled" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields"> & ShallowUnwrapRef< {
828
+ }, "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "disabled" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields"> & ShallowUnwrapRef< {
829
829
  validate: (callback?: FormValidateCallback) => FormValidationResult;
830
830
  validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
831
831
  resetFields: (props?: Arrayable<FormItemProp>) => void;
@@ -855,7 +855,6 @@ readonly statusIcon: boolean;
855
855
  readonly hideRequiredAsterisk: boolean;
856
856
  readonly scrollToError: boolean;
857
857
  }> & Omit<{
858
- readonly disabled: boolean;
859
858
  readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
860
859
  readonly labelPosition: EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
861
860
  readonly inlineMessage: boolean;
@@ -868,11 +867,12 @@ readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unkn
868
867
  readonly hideRequiredAsterisk: boolean;
869
868
  readonly scrollToError: boolean;
870
869
  readonly scrollIntoViewOptions: EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
871
- readonly size?: EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown> | undefined;
870
+ readonly disabled: boolean;
872
871
  readonly rules?: Partial<Record<string, Arrayable<FormItemRule>>> | undefined;
872
+ readonly size?: EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown> | undefined;
873
873
  readonly model?: Record<string, any> | undefined;
874
874
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
875
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
875
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "disabled">;
876
876
  $attrs: {
877
877
  [x: string]: unknown;
878
878
  };
@@ -1003,7 +1003,7 @@ __epPropKey: true;
1003
1003
  readonly disabled: BooleanConstructor;
1004
1004
  }>> & {
1005
1005
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
1006
- }, "disabled" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields"> & ShallowUnwrapRef< {
1006
+ }, "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "disabled" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields"> & ShallowUnwrapRef< {
1007
1007
  validate: (callback?: FormValidateCallback) => FormValidationResult;
1008
1008
  validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
1009
1009
  resetFields: (props?: Arrayable<FormItemProp>) => void;
@@ -1038,7 +1038,6 @@ readonly statusIcon: boolean;
1038
1038
  readonly hideRequiredAsterisk: boolean;
1039
1039
  readonly scrollToError: boolean;
1040
1040
  }> & Omit<{
1041
- readonly disabled: boolean;
1042
1041
  readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
1043
1042
  readonly labelPosition: EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
1044
1043
  readonly inlineMessage: boolean;
@@ -1051,11 +1050,12 @@ readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unkn
1051
1050
  readonly hideRequiredAsterisk: boolean;
1052
1051
  readonly scrollToError: boolean;
1053
1052
  readonly scrollIntoViewOptions: EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
1054
- readonly size?: EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown> | undefined;
1053
+ readonly disabled: boolean;
1055
1054
  readonly rules?: Partial<Record<string, Arrayable<FormItemRule>>> | undefined;
1055
+ readonly size?: EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown> | undefined;
1056
1056
  readonly model?: Record<string, any> | undefined;
1057
1057
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
1058
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
1058
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "disabled">;
1059
1059
  $attrs: {
1060
1060
  [x: string]: unknown;
1061
1061
  };
@@ -1186,7 +1186,7 @@ __epPropKey: true;
1186
1186
  readonly disabled: BooleanConstructor;
1187
1187
  }>> & {
1188
1188
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
1189
- }, "disabled" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields"> & ShallowUnwrapRef< {
1189
+ }, "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "disabled" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields"> & ShallowUnwrapRef< {
1190
1190
  validate: (callback?: FormValidateCallback) => FormValidationResult;
1191
1191
  validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
1192
1192
  resetFields: (props?: Arrayable<FormItemProp>) => void;
@@ -4361,6 +4361,10 @@ nativeScrollbar: boolean;
4361
4361
  preserveExpandedContent: boolean;
4362
4362
  }> | undefined>;
4363
4363
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4364
+ edit: (data: {
4365
+ action: "edit";
4366
+ data: any;
4367
+ }, row: any) => any;
4364
4368
  delete: (data: {
4365
4369
  action: "delete";
4366
4370
  data: any;
@@ -4369,19 +4373,19 @@ add: (data: {
4369
4373
  action: "add";
4370
4374
  data: any;
4371
4375
  }) => any;
4372
- search: (value: string, columns: string[]) => any;
4373
- edit: (data: {
4374
- action: "edit";
4375
- data: any;
4376
- }, row: any) => any;
4377
4376
  batch: (data: {
4378
4377
  action: "batch";
4379
4378
  data: any;
4380
4379
  }) => any;
4380
+ search: (value: string, columns: string[]) => any;
4381
4381
  refresh: () => any;
4382
4382
  export: (data: any[], columns: TableColumnCtx<DefaultRow>[]) => any;
4383
4383
  paginationChange: (page: number, size: number) => any;
4384
4384
  }, string, PublicProps, Readonly<TableInternalProps> & Readonly<{
4385
+ onEdit?: ((data: {
4386
+ action: "edit";
4387
+ data: any;
4388
+ }, row: any) => any) | undefined;
4385
4389
  onDelete?: ((data: {
4386
4390
  action: "delete";
4387
4391
  data: any;
@@ -4390,22 +4394,18 @@ onAdd?: ((data: {
4390
4394
  action: "add";
4391
4395
  data: any;
4392
4396
  }) => any) | undefined;
4393
- onSearch?: ((value: string, columns: string[]) => any) | undefined;
4394
- onEdit?: ((data: {
4395
- action: "edit";
4396
- data: any;
4397
- }, row: any) => any) | undefined;
4398
4397
  onBatch?: ((data: {
4399
4398
  action: "batch";
4400
4399
  data: any;
4401
4400
  }) => any) | undefined;
4401
+ onSearch?: ((value: string, columns: string[]) => any) | undefined;
4402
4402
  onRefresh?: (() => any) | undefined;
4403
4403
  onExport?: ((data: any[], columns: TableColumnCtx<DefaultRow>[]) => any) | undefined;
4404
4404
  onPaginationChange?: ((page: number, size: number) => any) | undefined;
4405
4405
  }>, {
4406
4406
  columns: TableColumnCtx[];
4407
4407
  numberFormat: boolean | FormatNumberOptions;
4408
- pagination: boolean | PaginationProps;
4408
+ pagination: boolean | Partial<PaginationProps>;
4409
4409
  rawData: any[];
4410
4410
  mergeColumns: string[];
4411
4411
  showSearch: boolean;
@@ -5919,14 +5919,14 @@ declare function __VLS_template(): {
5919
5919
  readonly nativeType: EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
5920
5920
  readonly loadingIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
5921
5921
  }> & Omit<{
5922
- readonly type: EpPropMergeType<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
5922
+ readonly type: EpPropMergeType<StringConstructor, "" | "success" | "default" | "text" | "primary" | "warning" | "info" | "danger", unknown>;
5923
+ readonly dark: boolean;
5924
+ readonly link: boolean;
5923
5925
  readonly nativeType: EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
5924
5926
  readonly loading: boolean;
5925
- readonly link: boolean;
5926
5927
  readonly bg: boolean;
5927
5928
  readonly autofocus: boolean;
5928
5929
  readonly circle: boolean;
5929
- readonly dark: boolean;
5930
5930
  readonly tag: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
5931
5931
  readonly size?: EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
5932
5932
  readonly disabled?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
@@ -5938,7 +5938,7 @@ declare function __VLS_template(): {
5938
5938
  readonly color?: string | undefined;
5939
5939
  readonly autoInsertSpace?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
5940
5940
  onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
5941
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "type" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "link" | "bg" | "autofocus" | "round" | "circle" | "dark" | "autoInsertSpace" | "tag">;
5941
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "disabled" | "dark" | "link" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "bg" | "autofocus" | "round" | "circle" | "autoInsertSpace" | "tag">;
5942
5942
  $attrs: {
5943
5943
  [x: string]: unknown;
5944
5944
  };
@@ -6075,7 +6075,7 @@ declare function __VLS_template(): {
6075
6075
  readonly tag: EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown, "button", boolean>;
6076
6076
  }>> & {
6077
6077
  onClick?: ((evt: MouseEvent) => any) | undefined;
6078
- }, "size" | "disabled" | "type" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "link" | "bg" | "autofocus" | "round" | "circle" | "dark" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & ShallowUnwrapRef< {
6078
+ }, "size" | "type" | "disabled" | "dark" | "link" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "bg" | "autofocus" | "round" | "circle" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & ShallowUnwrapRef< {
6079
6079
  ref: Ref<HTMLButtonElement | undefined>;
6080
6080
  size: ComputedRef<"" | "small" | "default" | "large">;
6081
6081
  type: ComputedRef<string>;
@@ -6116,7 +6116,6 @@ declare function __VLS_template_2(): {
6116
6116
  readonly hideRequiredAsterisk: boolean;
6117
6117
  readonly scrollToError: boolean;
6118
6118
  }> & Omit<{
6119
- readonly disabled: boolean;
6120
6119
  readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
6121
6120
  readonly labelPosition: EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
6122
6121
  readonly inlineMessage: boolean;
@@ -6129,11 +6128,12 @@ declare function __VLS_template_2(): {
6129
6128
  readonly hideRequiredAsterisk: boolean;
6130
6129
  readonly scrollToError: boolean;
6131
6130
  readonly scrollIntoViewOptions: EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
6132
- readonly size?: EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown> | undefined;
6131
+ readonly disabled: boolean;
6133
6132
  readonly rules?: Partial<Record<string, Arrayable<FormItemRule>>> | undefined;
6133
+ readonly size?: EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown> | undefined;
6134
6134
  readonly model?: Record<string, any> | undefined;
6135
6135
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
6136
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
6136
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "disabled">;
6137
6137
  $attrs: {
6138
6138
  [x: string]: unknown;
6139
6139
  };
@@ -6264,7 +6264,7 @@ declare function __VLS_template_2(): {
6264
6264
  readonly disabled: BooleanConstructor;
6265
6265
  }>> & {
6266
6266
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
6267
- }, "disabled" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields"> & ShallowUnwrapRef< {
6267
+ }, "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "disabled" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields"> & ShallowUnwrapRef< {
6268
6268
  validate: (callback?: FormValidateCallback) => FormValidationResult;
6269
6269
  validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
6270
6270
  resetFields: (props?: Arrayable<FormItemProp>) => void;
@@ -7947,8 +7947,10 @@ export declare const en: {
7947
7947
  operations: string;
7948
7948
  cancel: string;
7949
7949
  submit: string;
7950
+ confirm: string;
7950
7951
  upload: string;
7951
7952
  deleteItems: string;
7953
+ deleteConfirm: string;
7952
7954
  rowKeyWarning: string;
7953
7955
  };
7954
7956
  };
@@ -8272,7 +8274,7 @@ export declare interface TableInternalProps {
8272
8274
  searchColumns?: string[];
8273
8275
  showRefresh?: boolean;
8274
8276
  showExport?: boolean;
8275
- pagination?: boolean | PaginationProps;
8277
+ pagination?: boolean | Partial<PaginationProps>;
8276
8278
  numberFormat?: boolean | FormatNumberOptions;
8277
8279
  defaultSelection?: boolean | (string | number)[];
8278
8280
  disabledSelection?: boolean | (string | number)[];
@@ -8330,8 +8332,10 @@ export declare const zhCn: {
8330
8332
  operations: string;
8331
8333
  cancel: string;
8332
8334
  submit: string;
8335
+ confirm: string;
8333
8336
  upload: string;
8334
8337
  deleteItems: string;
8338
+ deleteConfirm: string;
8335
8339
  rowKeyWarning: string;
8336
8340
  };
8337
8341
  };