@dt-frames/ui 1.0.19 → 1.0.22

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 (33) hide show
  1. package/es/assets/imgs/table/empty.png +0 -0
  2. package/es/{style/components → components}/container/index.less +0 -0
  3. package/es/components/curd/src/components/dialog.d.ts +1 -0
  4. package/es/{style/components → components}/forms/index.less +0 -0
  5. package/es/components/forms/src/components/formIcon.d.ts +19 -19
  6. package/es/components/forms/src/components/formInputUseDialog.d.ts +16 -16
  7. package/es/{style/components → components}/icons/index.less +0 -0
  8. package/es/components/icons/src/pick-icon.d.ts +3 -3
  9. package/es/{style/components → components}/iframe/index.less +0 -0
  10. package/es/{style/components → components}/iframe/src/index.less +0 -0
  11. package/es/{style/components → components}/modal/index.less +0 -0
  12. package/es/components/source/src/hooks/useSource.d.ts +4 -4
  13. package/es/{style/components → components}/table/index.less +12 -0
  14. package/es/components/table/src/components/editable/EditTableCell.d.ts +3 -0
  15. package/es/components/table/src/hooks/useDataSource.d.ts +2 -0
  16. package/es/components/table/src/index.d.ts +9 -3
  17. package/es/components/table/src/props.d.ts +3 -1
  18. package/es/components/table/src/types/table.type.d.ts +2 -0
  19. package/es/{style/components → components}/tree/index.less +0 -0
  20. package/es/{style/components → components}/upload/index.less +0 -0
  21. package/es/components/upload/src/upload.d.ts +9 -3
  22. package/es/index.js +180 -344
  23. package/es/{style/theme → theme}/footer/index.less +0 -0
  24. package/es/{style/theme → theme}/header/index.less +0 -0
  25. package/es/{style/theme → theme}/header/set-theme.less +0 -0
  26. package/es/{style/theme → theme}/sider/index.less +0 -0
  27. package/es/{style/theme → theme}/tabs/index.less +0 -0
  28. package/es/{style/theme → theme}/theme.less +0 -0
  29. package/es/{style/theme → theme}/transition.less +0 -0
  30. package/index.html +13 -0
  31. package/package.json +2 -5
  32. package/es/style/assets/style/index.less +0 -10
  33. package/es/style/assets/style/reset.less +0 -17
Binary file
@@ -90,6 +90,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
90
90
  registerForm: (formInstance: import("../../../forms").FormActionType) => void;
91
91
  getFormValues: () => Recordable<any>;
92
92
  setFormValues: (values: Recordable<any>) => Promise<void>;
93
+ validate: (nameList?: (string | number)[]) => Promise<any>;
93
94
  handleSave: () => void;
94
95
  DtForm: import("vue").DefineComponent<{
95
96
  mode: {
@@ -68,7 +68,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
68
68
  hidden: boolean;
69
69
  disabled: boolean;
70
70
  value: string | number;
71
- type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
71
+ type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
72
72
  readonly: boolean;
73
73
  autofocus: boolean;
74
74
  loading: boolean;
@@ -89,7 +89,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
89
89
  };
90
90
  autocomplete: StringConstructor;
91
91
  type: {
92
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
92
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
93
93
  default: string;
94
94
  };
95
95
  name: StringConstructor;
@@ -171,7 +171,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
171
171
  };
172
172
  autocomplete: StringConstructor;
173
173
  type: {
174
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
174
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
175
175
  default: string;
176
176
  };
177
177
  name: StringConstructor;
@@ -229,7 +229,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
229
229
  hidden: boolean;
230
230
  disabled: boolean;
231
231
  value: string | number;
232
- type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
232
+ type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
233
233
  readonly: boolean;
234
234
  autofocus: boolean;
235
235
  loading: boolean;
@@ -270,7 +270,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
270
270
  };
271
271
  autocomplete: StringConstructor;
272
272
  type: {
273
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
273
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
274
274
  default: string;
275
275
  };
276
276
  name: StringConstructor;
@@ -342,7 +342,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
342
342
  };
343
343
  autocomplete: StringConstructor;
344
344
  type: {
345
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
345
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
346
346
  default: string;
347
347
  };
348
348
  name: StringConstructor;
@@ -400,7 +400,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
400
400
  hidden: boolean;
401
401
  disabled: boolean;
402
402
  value: string | number;
403
- type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
403
+ type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
404
404
  readonly: boolean;
405
405
  autofocus: boolean;
406
406
  loading: boolean;
@@ -471,7 +471,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
471
471
  };
472
472
  autocomplete: StringConstructor;
473
473
  type: {
474
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
474
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
475
475
  default: string;
476
476
  };
477
477
  name: StringConstructor;
@@ -543,7 +543,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
543
543
  };
544
544
  autocomplete: StringConstructor;
545
545
  type: {
546
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
546
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
547
547
  default: string;
548
548
  };
549
549
  name: StringConstructor;
@@ -601,7 +601,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
601
601
  hidden: boolean;
602
602
  disabled: boolean;
603
603
  value: string | number;
604
- type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
604
+ type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
605
605
  readonly: boolean;
606
606
  autofocus: boolean;
607
607
  loading: boolean;
@@ -649,7 +649,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
649
649
  };
650
650
  name: StringConstructor;
651
651
  type: {
652
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
652
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
653
653
  default: string;
654
654
  };
655
655
  id: StringConstructor;
@@ -730,7 +730,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
730
730
  };
731
731
  name: StringConstructor;
732
732
  type: {
733
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
733
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
734
734
  default: string;
735
735
  };
736
736
  id: StringConstructor;
@@ -775,7 +775,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
775
775
  hidden: boolean;
776
776
  disabled: boolean;
777
777
  value: string | number;
778
- type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
778
+ type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
779
779
  readonly: boolean;
780
780
  autofocus: boolean;
781
781
  loading: boolean;
@@ -808,7 +808,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
808
808
  };
809
809
  autocomplete: StringConstructor;
810
810
  type: {
811
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
811
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
812
812
  default: string;
813
813
  };
814
814
  name: StringConstructor;
@@ -885,7 +885,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
885
885
  };
886
886
  autocomplete: StringConstructor;
887
887
  type: {
888
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
888
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
889
889
  default: string;
890
890
  };
891
891
  name: StringConstructor;
@@ -943,7 +943,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
943
943
  hidden: boolean;
944
944
  disabled: boolean;
945
945
  value: string | number;
946
- type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
946
+ type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
947
947
  action: string;
948
948
  readonly: boolean;
949
949
  autofocus: boolean;
@@ -1514,7 +1514,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
1514
1514
  };
1515
1515
  autocomplete: StringConstructor;
1516
1516
  type: {
1517
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
1517
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
1518
1518
  default: string;
1519
1519
  };
1520
1520
  name: StringConstructor;
@@ -1586,7 +1586,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
1586
1586
  };
1587
1587
  autocomplete: StringConstructor;
1588
1588
  type: {
1589
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
1589
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
1590
1590
  default: string;
1591
1591
  };
1592
1592
  name: StringConstructor;
@@ -1644,7 +1644,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
1644
1644
  hidden: boolean;
1645
1645
  disabled: boolean;
1646
1646
  value: string | number;
1647
- type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
1647
+ type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
1648
1648
  readonly: boolean;
1649
1649
  autofocus: boolean;
1650
1650
  loading: boolean;
@@ -13,7 +13,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
13
13
  hidden: boolean;
14
14
  disabled: boolean;
15
15
  value: string | number;
16
- type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
16
+ type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
17
17
  readonly: boolean;
18
18
  autofocus: boolean;
19
19
  loading: boolean;
@@ -34,7 +34,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
34
34
  };
35
35
  autocomplete: StringConstructor;
36
36
  type: {
37
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
37
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
38
38
  default: string;
39
39
  };
40
40
  name: StringConstructor;
@@ -116,7 +116,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
116
116
  };
117
117
  autocomplete: StringConstructor;
118
118
  type: {
119
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
119
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
120
120
  default: string;
121
121
  };
122
122
  name: StringConstructor;
@@ -174,7 +174,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
174
174
  hidden: boolean;
175
175
  disabled: boolean;
176
176
  value: string | number;
177
- type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
177
+ type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
178
178
  readonly: boolean;
179
179
  autofocus: boolean;
180
180
  loading: boolean;
@@ -215,7 +215,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
215
215
  };
216
216
  autocomplete: StringConstructor;
217
217
  type: {
218
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
218
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
219
219
  default: string;
220
220
  };
221
221
  name: StringConstructor;
@@ -287,7 +287,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
287
287
  };
288
288
  autocomplete: StringConstructor;
289
289
  type: {
290
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
290
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
291
291
  default: string;
292
292
  };
293
293
  name: StringConstructor;
@@ -345,7 +345,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
345
345
  hidden: boolean;
346
346
  disabled: boolean;
347
347
  value: string | number;
348
- type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
348
+ type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
349
349
  readonly: boolean;
350
350
  autofocus: boolean;
351
351
  loading: boolean;
@@ -416,7 +416,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
416
416
  };
417
417
  autocomplete: StringConstructor;
418
418
  type: {
419
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
419
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
420
420
  default: string;
421
421
  };
422
422
  name: StringConstructor;
@@ -488,7 +488,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
488
488
  };
489
489
  autocomplete: StringConstructor;
490
490
  type: {
491
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
491
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
492
492
  default: string;
493
493
  };
494
494
  name: StringConstructor;
@@ -546,7 +546,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
546
546
  hidden: boolean;
547
547
  disabled: boolean;
548
548
  value: string | number;
549
- type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
549
+ type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
550
550
  readonly: boolean;
551
551
  autofocus: boolean;
552
552
  loading: boolean;
@@ -594,7 +594,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
594
594
  };
595
595
  name: StringConstructor;
596
596
  type: {
597
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
597
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
598
598
  default: string;
599
599
  };
600
600
  id: StringConstructor;
@@ -675,7 +675,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
675
675
  };
676
676
  name: StringConstructor;
677
677
  type: {
678
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
678
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
679
679
  default: string;
680
680
  };
681
681
  id: StringConstructor;
@@ -720,7 +720,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
720
720
  hidden: boolean;
721
721
  disabled: boolean;
722
722
  value: string | number;
723
- type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
723
+ type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
724
724
  readonly: boolean;
725
725
  autofocus: boolean;
726
726
  loading: boolean;
@@ -753,7 +753,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
753
753
  };
754
754
  autocomplete: StringConstructor;
755
755
  type: {
756
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
756
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
757
757
  default: string;
758
758
  };
759
759
  name: StringConstructor;
@@ -830,7 +830,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
830
830
  };
831
831
  autocomplete: StringConstructor;
832
832
  type: {
833
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
833
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
834
834
  default: string;
835
835
  };
836
836
  name: StringConstructor;
@@ -888,7 +888,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
888
888
  hidden: boolean;
889
889
  disabled: boolean;
890
890
  value: string | number;
891
- type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
891
+ type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
892
892
  action: string;
893
893
  readonly: boolean;
894
894
  autofocus: boolean;
@@ -289,7 +289,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
289
289
  };
290
290
  autocomplete: StringConstructor;
291
291
  type: {
292
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
292
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
293
293
  default: string;
294
294
  };
295
295
  name: StringConstructor;
@@ -361,7 +361,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
361
361
  };
362
362
  autocomplete: StringConstructor;
363
363
  type: {
364
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
364
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>>;
365
365
  default: string;
366
366
  };
367
367
  name: StringConstructor;
@@ -419,7 +419,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
419
419
  hidden: boolean;
420
420
  disabled: boolean;
421
421
  value: string | number;
422
- type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "checkbox" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
422
+ type: import("ant-design-vue/lib/_util/type").LiteralUnion<"number" | "search" | "color" | "hidden" | "text" | "reset" | "checkbox" | "button" | "time" | "date" | "week" | "month" | "submit" | "image" | "radio" | "range" | "tel" | "url" | "email" | "datetime-local" | "file" | "password", string>;
423
423
  readonly: boolean;
424
424
  autofocus: boolean;
425
425
  loading: boolean;
@@ -25,18 +25,18 @@ export declare function useSource(opt: SourceType): {
25
25
  loading: Ref<boolean>;
26
26
  };
27
27
  curd: {
28
- onAdd: (model: Recordable) => Promise<void>;
28
+ onAdd: (model: Recordable) => Promise<unknown>;
29
29
  onQueryById: (id: string) => Promise<unknown>;
30
- onUpdate: (model: Recordable) => Promise<void>;
30
+ onUpdate: (model: Recordable) => Promise<unknown>;
31
31
  onDeletes: (ids: any) => void;
32
32
  };
33
33
  loading: {
34
34
  [key: string]: Ref<boolean>;
35
35
  };
36
- onAdd: (model: Recordable) => Promise<void>;
36
+ onAdd: (model: Recordable) => Promise<unknown>;
37
37
  onQueryById: (id: string) => Promise<unknown>;
38
38
  onDeletes: (ids: any) => void;
39
- onUpdate: (model: Recordable) => Promise<void>;
39
+ onUpdate: (model: Recordable) => Promise<unknown>;
40
40
  onTableChange: (params: TableParamsType, needSearch?: boolean) => void;
41
41
  onDownload: (excelData: DownloadType) => void;
42
42
  onSearch: (model?: Recordable) => void;
@@ -180,4 +180,16 @@
180
180
  padding: 4px 8px;
181
181
  color: #ed6f6f;
182
182
  border-radius: 2px;
183
+ }
184
+
185
+ .ant-table-empty{
186
+ border-bottom: 1px solid #f0f0f0;
187
+ .ant-table-tbody{
188
+ .ant-table-cell{
189
+ border-bottom: none;
190
+ img{
191
+ width: 280px;
192
+ }
193
+ }
194
+ }
183
195
  }
@@ -19,6 +19,7 @@ declare const _default: import("vue").DefineComponent<{
19
19
  editValueRefs: Recordable<import("vue").Ref<any>>;
20
20
  } & Recordable<any>>>;
21
21
  };
22
+ row: ObjectConstructor;
22
23
  column: {
23
24
  type: PropType<BasicColumn>;
24
25
  default: () => BasicColumn;
@@ -44,6 +45,7 @@ declare const _default: import("vue").DefineComponent<{
44
45
  editValueRefs: Recordable<import("vue").Ref<any>>;
45
46
  } & Recordable<any>>>;
46
47
  };
48
+ row: ObjectConstructor;
47
49
  column: {
48
50
  type: PropType<BasicColumn>;
49
51
  default: () => BasicColumn;
@@ -78,6 +80,7 @@ declare const _default: import("vue").DefineComponent<{
78
80
  editValueRefs: Recordable<import("vue").Ref<any>>;
79
81
  } & Recordable<any>>>;
80
82
  };
83
+ row: ObjectConstructor;
81
84
  column: {
82
85
  type: PropType<BasicColumn>;
83
86
  default: () => BasicColumn;
@@ -10,5 +10,7 @@ declare type ActionsType = {
10
10
  export declare function useDataSource(propsRef: ComputedRef<BasicTableProps>, { getPaginationInfo, setPagination, clearSelectedRowKeys, }: ActionsType, emit: any): {
11
11
  getDataSourceRef: ComputedRef<Recordable<any>[]>;
12
12
  handleTableChange: (pagination: PaginationProps, filters: Partial<Recordable<string[]>>, sorter: SorterResult) => any;
13
+ updateTableDataRecord: (rowKey: string | number, record: Recordable) => Recordable | undefined;
14
+ findTableDataRecord: (rowKey: string | number) => any;
13
15
  };
14
16
  export {};
@@ -169,7 +169,9 @@ declare const _default: import("vue").DefineComponent<{
169
169
  };
170
170
  rowSelection: {
171
171
  type: import("vue").PropType<import("ant-design-vue/lib/table/interface").TableRowSelection<any>>;
172
- default: any;
172
+ default: {
173
+ type: string;
174
+ };
173
175
  };
174
176
  customRow: {
175
177
  type: import("vue").PropType<(record: any, index: any) => void>;
@@ -534,7 +536,9 @@ declare const _default: import("vue").DefineComponent<{
534
536
  };
535
537
  rowSelection: {
536
538
  type: import("vue").PropType<import("ant-design-vue/lib/table/interface").TableRowSelection<any>>;
537
- default: any;
539
+ default: {
540
+ type: string;
541
+ };
538
542
  };
539
543
  customRow: {
540
544
  type: import("vue").PropType<(record: any, index: any) => void>;
@@ -585,7 +589,9 @@ declare const _default: import("vue").DefineComponent<{
585
589
  childrenColumnName: string;
586
590
  dataSource: Recordable<any>[];
587
591
  pagination: {};
588
- rowSelection: any;
592
+ rowSelection: {
593
+ type: string;
594
+ };
589
595
  clickRowSelect: boolean;
590
596
  tableSetting: {};
591
597
  clickToRowSelect: boolean;
@@ -171,7 +171,9 @@ export declare const TableProps: {
171
171
  };
172
172
  rowSelection: {
173
173
  type: PropType<TableRowSelection<any>>;
174
- default: any;
174
+ default: {
175
+ type: string;
176
+ };
175
177
  };
176
178
  customRow: {
177
179
  type: PropType<(record: any, index: any) => void>;
@@ -103,5 +103,7 @@ export declare type TableActionType = {
103
103
  setCacheColumnsByField?: (dataIndex: string | undefined, value: BasicColumn) => void;
104
104
  getSelectRows: () => Recordable[];
105
105
  getSelectRowKeys: () => string[];
106
+ updateTableDataRecord: (rowKey: string | number, record: Recordable) => Recordable | undefined;
107
+ findTableDataRecord: (rowKey: string | number) => void;
106
108
  emit?: any;
107
109
  };
@@ -1185,7 +1185,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
1185
1185
  };
1186
1186
  rowSelection: {
1187
1187
  type: import("vue").PropType<import("ant-design-vue/lib/table/interface").TableRowSelection<any>>;
1188
- default: any;
1188
+ default: {
1189
+ type: string;
1190
+ };
1189
1191
  };
1190
1192
  customRow: {
1191
1193
  type: import("vue").PropType<(record: any, index: any) => void>;
@@ -1550,7 +1552,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
1550
1552
  };
1551
1553
  rowSelection: {
1552
1554
  type: import("vue").PropType<import("ant-design-vue/lib/table/interface").TableRowSelection<any>>;
1553
- default: any;
1555
+ default: {
1556
+ type: string;
1557
+ };
1554
1558
  };
1555
1559
  customRow: {
1556
1560
  type: import("vue").PropType<(record: any, index: any) => void>;
@@ -1601,7 +1605,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
1601
1605
  childrenColumnName: string;
1602
1606
  dataSource: import("@dt-frames/core").Recordable<any>[];
1603
1607
  pagination: {};
1604
- rowSelection: any;
1608
+ rowSelection: {
1609
+ type: string;
1610
+ };
1605
1611
  clickRowSelect: boolean;
1606
1612
  tableSetting: {};
1607
1613
  clickToRowSelect: boolean;