@dazhicheng/ui 1.5.34 → 1.5.36

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 (36) hide show
  1. package/dist/components/tt-drawer/index.d.ts +80 -80
  2. package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +45 -45
  3. package/dist/components/tt-form/index.d.ts +4 -2
  4. package/dist/components/tt-form/src/form-render/dependencies.d.ts +4 -4
  5. package/dist/components/tt-form/src/form-render/form.vue.d.ts +4 -1
  6. package/dist/components/tt-form/src/group-form/FieldRenderer.d.ts +81 -0
  7. package/dist/components/tt-form/src/group-form/GroupForm.vue.d.ts +49 -0
  8. package/dist/components/tt-form/src/group-form/GroupSection.vue.d.ts +25 -0
  9. package/dist/components/tt-form/src/group-form/LazyFormField.vue.d.ts +13 -0
  10. package/dist/components/tt-form/src/group-form/index.d.ts +3 -0
  11. package/dist/components/tt-form/src/group-form/lazyContext.d.ts +37 -0
  12. package/dist/components/tt-form/src/group-form/types.d.ts +147 -0
  13. package/dist/components/tt-form/src/group-form/useGroupForm.d.ts +5 -0
  14. package/dist/components/tt-form/src/group-form/utils.d.ts +93 -0
  15. package/dist/components/tt-form/src/types.d.ts +72 -5
  16. package/dist/components/tt-icon/components/AddIcon.vue.d.ts +7 -0
  17. package/dist/components/tt-icon/components/SubIcon.vue.d.ts +7 -0
  18. package/dist/components/tt-icon/index.d.ts +48 -0
  19. package/dist/components/tt-modal/index.d.ts +18 -18
  20. package/dist/components/tt-modal/src/RenderModal.vue.d.ts +13 -13
  21. package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +1 -1
  22. package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +3 -3
  23. package/dist/components/tt-nav-anchor/index.d.ts +19 -0
  24. package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue.d.ts +19 -0
  25. package/dist/components/tt-nav-anchor/src/types.d.ts +29 -0
  26. package/dist/components/tt-select/src/Select.vue.d.ts +12 -12
  27. package/dist/components/tt-select/src/components/SelectTable.vue.d.ts +1 -1
  28. package/dist/components/tt-select/src/components/Table.vue.d.ts +1 -1
  29. package/dist/components/tt-table/src/Table.vue.d.ts +46 -46
  30. package/dist/components/tt-table/src/hooks/useLeftRightSlot.d.ts +40 -40
  31. package/dist/components/tt-table/src/props.d.ts +4 -8
  32. package/dist/components/tt-table/src/types/table.d.ts +4 -8
  33. package/dist/index.d.ts +1 -0
  34. package/dist/index.js +11128 -10227
  35. package/dist/style.css +1 -1
  36. package/package.json +3 -3
@@ -58,7 +58,7 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
58
58
  scrollLeft: number;
59
59
  }) => any) | undefined | undefined;
60
60
  "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
61
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "height" | "tag" | "tabindex" | "maxHeight" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize">;
61
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "height" | "tabindex" | "tag" | "maxHeight" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize">;
62
62
  $attrs: {
63
63
  [x: string]: unknown;
64
64
  };
@@ -90,14 +90,14 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
90
90
  type: import('vue').PropType<string | number>;
91
91
  default: string;
92
92
  };
93
- tag: {
94
- type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
95
- default: string;
96
- };
97
93
  tabindex: {
98
94
  type: import('vue').PropType<string | number>;
99
95
  default: undefined;
100
96
  };
97
+ tag: {
98
+ type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
99
+ default: string;
100
+ };
101
101
  maxHeight: {
102
102
  type: import('vue').PropType<string | number>;
103
103
  default: string;
@@ -216,14 +216,14 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
216
216
  type: import('vue').PropType<string | number>;
217
217
  default: string;
218
218
  };
219
- tag: {
220
- type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
221
- default: string;
222
- };
223
219
  tabindex: {
224
220
  type: import('vue').PropType<string | number>;
225
221
  default: undefined;
226
222
  };
223
+ tag: {
224
+ type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
225
+ default: string;
226
+ };
227
227
  maxHeight: {
228
228
  type: import('vue').PropType<string | number>;
229
229
  default: string;
@@ -270,7 +270,7 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
270
270
  scrollLeft: number;
271
271
  }) => any) | undefined;
272
272
  "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
273
- }, "height" | "tag" | "tabindex" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & import('vue').ShallowUnwrapRef<{
273
+ }, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & import('vue').ShallowUnwrapRef<{
274
274
  wrapRef: import('vue').Ref<HTMLDivElement | undefined>;
275
275
  update: () => void;
276
276
  scrollTo: {
@@ -321,7 +321,7 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
321
321
  scrollLeft: number;
322
322
  }) => any) | undefined | undefined;
323
323
  "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
324
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "height" | "tag" | "tabindex" | "maxHeight" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize">;
324
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "height" | "tabindex" | "tag" | "maxHeight" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize">;
325
325
  $attrs: {
326
326
  [x: string]: unknown;
327
327
  };
@@ -353,14 +353,14 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
353
353
  type: import('vue').PropType<string | number>;
354
354
  default: string;
355
355
  };
356
- tag: {
357
- type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
358
- default: string;
359
- };
360
356
  tabindex: {
361
357
  type: import('vue').PropType<string | number>;
362
358
  default: undefined;
363
359
  };
360
+ tag: {
361
+ type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
362
+ default: string;
363
+ };
364
364
  maxHeight: {
365
365
  type: import('vue').PropType<string | number>;
366
366
  default: string;
@@ -479,14 +479,14 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
479
479
  type: import('vue').PropType<string | number>;
480
480
  default: string;
481
481
  };
482
- tag: {
483
- type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
484
- default: string;
485
- };
486
482
  tabindex: {
487
483
  type: import('vue').PropType<string | number>;
488
484
  default: undefined;
489
485
  };
486
+ tag: {
487
+ type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
488
+ default: string;
489
+ };
490
490
  maxHeight: {
491
491
  type: import('vue').PropType<string | number>;
492
492
  default: string;
@@ -533,7 +533,7 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
533
533
  scrollLeft: number;
534
534
  }) => any) | undefined;
535
535
  "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
536
- }, "height" | "tag" | "tabindex" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & import('vue').ShallowUnwrapRef<{
536
+ }, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & import('vue').ShallowUnwrapRef<{
537
537
  wrapRef: import('vue').Ref<HTMLDivElement | undefined>;
538
538
  update: () => void;
539
539
  scrollTo: {
@@ -585,7 +585,7 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
585
585
  scrollLeft: number;
586
586
  }) => any) | undefined | undefined;
587
587
  "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
588
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "height" | "tag" | "tabindex" | "maxHeight" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize">;
588
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "height" | "tabindex" | "tag" | "maxHeight" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize">;
589
589
  $attrs: {
590
590
  [x: string]: unknown;
591
591
  };
@@ -617,14 +617,14 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
617
617
  type: import('vue').PropType<string | number>;
618
618
  default: string;
619
619
  };
620
- tag: {
621
- type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
622
- default: string;
623
- };
624
620
  tabindex: {
625
621
  type: import('vue').PropType<string | number>;
626
622
  default: undefined;
627
623
  };
624
+ tag: {
625
+ type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
626
+ default: string;
627
+ };
628
628
  maxHeight: {
629
629
  type: import('vue').PropType<string | number>;
630
630
  default: string;
@@ -743,14 +743,14 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
743
743
  type: import('vue').PropType<string | number>;
744
744
  default: string;
745
745
  };
746
- tag: {
747
- type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
748
- default: string;
749
- };
750
746
  tabindex: {
751
747
  type: import('vue').PropType<string | number>;
752
748
  default: undefined;
753
749
  };
750
+ tag: {
751
+ type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
752
+ default: string;
753
+ };
754
754
  maxHeight: {
755
755
  type: import('vue').PropType<string | number>;
756
756
  default: string;
@@ -797,7 +797,7 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
797
797
  scrollLeft: number;
798
798
  }) => any) | undefined;
799
799
  "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
800
- }, "height" | "tag" | "tabindex" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & import('vue').ShallowUnwrapRef<{
800
+ }, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & import('vue').ShallowUnwrapRef<{
801
801
  wrapRef: import('vue').Ref<HTMLDivElement | undefined>;
802
802
  update: () => void;
803
803
  scrollTo: {
@@ -848,7 +848,7 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
848
848
  scrollLeft: number;
849
849
  }) => any) | undefined | undefined;
850
850
  "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
851
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "height" | "tag" | "tabindex" | "maxHeight" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize">;
851
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "height" | "tabindex" | "tag" | "maxHeight" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize">;
852
852
  $attrs: {
853
853
  [x: string]: unknown;
854
854
  };
@@ -880,14 +880,14 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
880
880
  type: import('vue').PropType<string | number>;
881
881
  default: string;
882
882
  };
883
- tag: {
884
- type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
885
- default: string;
886
- };
887
883
  tabindex: {
888
884
  type: import('vue').PropType<string | number>;
889
885
  default: undefined;
890
886
  };
887
+ tag: {
888
+ type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
889
+ default: string;
890
+ };
891
891
  maxHeight: {
892
892
  type: import('vue').PropType<string | number>;
893
893
  default: string;
@@ -1006,14 +1006,14 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
1006
1006
  type: import('vue').PropType<string | number>;
1007
1007
  default: string;
1008
1008
  };
1009
- tag: {
1010
- type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
1011
- default: string;
1012
- };
1013
1009
  tabindex: {
1014
1010
  type: import('vue').PropType<string | number>;
1015
1011
  default: undefined;
1016
1012
  };
1013
+ tag: {
1014
+ type: import('vue').PropType<keyof HTMLElementTagNameMap | (string & {})>;
1015
+ default: string;
1016
+ };
1017
1017
  maxHeight: {
1018
1018
  type: import('vue').PropType<string | number>;
1019
1019
  default: string;
@@ -1060,7 +1060,7 @@ export declare function useLeftRightSlot(propsRef: ComputedRef<TtTableProps>, xG
1060
1060
  scrollLeft: number;
1061
1061
  }) => any) | undefined;
1062
1062
  "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
1063
- }, "height" | "tag" | "tabindex" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & import('vue').ShallowUnwrapRef<{
1063
+ }, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & import('vue').ShallowUnwrapRef<{
1064
1064
  wrapRef: import('vue').Ref<HTMLDivElement | undefined>;
1065
1065
  update: () => void;
1066
1066
  scrollTo: {
@@ -87,6 +87,8 @@ export declare const tableProps: {
87
87
  showCheckbox: any;
88
88
  /** 是否显示单选框 */
89
89
  showRadio: any;
90
+ /** 是否显示展开列 */
91
+ showExpand: any;
90
92
  /** 是否显示序号 */
91
93
  showIndex: any;
92
94
  /** 是否需要列拖拽 */
@@ -125,8 +127,8 @@ export declare const tableProps: {
125
127
  type: PropType<VxeTableDefines.ColumnOptions>;
126
128
  default: () => {};
127
129
  };
128
- /** 拖拽 */
129
- rowDragColumnProps: {
130
+ /** 展开行props */
131
+ expandColumnProps: {
130
132
  type: PropType<VxeTableDefines.ColumnOptions>;
131
133
  default: () => {};
132
134
  };
@@ -226,12 +228,6 @@ export declare const tableProps: {
226
228
  type: PropType<string[]>;
227
229
  default: () => string[] | undefined;
228
230
  };
229
- /**
230
- * 是否需要行拖拽
231
- * @deprecated 请使用 row-config drag 配合row-drag-config配置 支持的版本看官方文档,后续不在维护行拖拽
232
- * @default false
233
- */
234
- isRowDrag: any;
235
231
  /**
236
232
  * 是否需要行拖拽-树形表格
237
233
  * @deprecated 请使用 row-config drag 配合row-drag-config配置 支持的版本看官方文档,后续不在维护行拖拽
@@ -19,6 +19,8 @@ export type TtTablePagerProps = {
19
19
  export type TtTableColumnsProps = {
20
20
  /** 是否显示复选框 */
21
21
  showCheckbox?: boolean;
22
+ /** 是否显示展开列 */
23
+ showExpand?: boolean;
22
24
  /** 是否显示单选框 */
23
25
  showRadio?: boolean;
24
26
  /** 是否显示序号 */
@@ -54,18 +56,12 @@ export type TtTableColumnsProps = {
54
56
  indexColumnProps?: VxeTableDefines.ColumnOptions;
55
57
  /** 复选框列Props */
56
58
  checkboxColumnProps?: VxeTableDefines.ColumnOptions;
57
- /** 拖拽 */
58
- rowDragColumnProps?: VxeTableDefines.ColumnOptions;
59
+ /** 展开行props */
60
+ expandColumnProps?: VxeTableDefines.ColumnOptions;
59
61
  /** 单选框列Props */
60
62
  radioColumnProps?: VxeTableDefines.ColumnOptions;
61
63
  /** 表格行id */
62
64
  tableRowId?: string;
63
- /**
64
- * 是否需要行拖拽
65
- * @deprecated 请使用 row-config drag 配合row-drag-config配置 支持的版本看官方文档,后续不在维护行拖拽
66
- * @default false
67
- */
68
- isRowDrag?: boolean;
69
65
  /**
70
66
  * 是否需要行拖拽-树形表格
71
67
  * @deprecated 请使用 row-config drag 配合row-drag-config配置 支持的版本看官方文档,后续不在维护行拖拽
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ export * from './components/tt-image';
17
17
  export * from './components/tt-loading';
18
18
  export * from './components/tt-table';
19
19
  export * from './components/tt-upload';
20
+ export * from './components/tt-nav-anchor';
20
21
  export { useFormat } from './hooks/useFormat';
21
22
  export { useLoading } from './hooks/useLoading';
22
23
  /**