@dt-frames/ui 2.0.9 → 2.0.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 (60) hide show
  1. package/es/components/curd/index.js +6 -2973
  2. package/es/components/curd/src/components/Curd.d.ts +13 -881
  3. package/es/components/curd/src/hooks/useCurd.d.ts +3 -3
  4. package/es/components/curd/src/props.d.ts +3 -4
  5. package/es/components/curd/src/types/curd.type.d.ts +2 -2
  6. package/es/components/drawer/index.d.ts +9 -166
  7. package/es/components/drawer/index.js +20 -458
  8. package/es/components/drawer/src/components/DrawerFooter.d.ts +1 -84
  9. package/es/components/drawer/src/index.d.ts +9 -166
  10. package/es/components/drawer/src/types/index.type.d.ts +1 -1
  11. package/es/components/form/index.d.ts +5 -1
  12. package/es/components/form/index.js +97 -491
  13. package/es/components/form/index.less +18 -0
  14. package/es/components/form/src/components/FormButtons.d.ts +13 -3
  15. package/es/components/form/src/components/FormItem.d.ts +0 -1
  16. package/es/components/form/src/components/formIcon.d.ts +3 -3
  17. package/es/components/form/src/components/formInputUseDialog.d.ts +2 -2
  18. package/es/components/form/src/hooks/useLabelWidth.d.ts +2 -18
  19. package/es/components/form/src/props.d.ts +3 -4
  20. package/es/components/form/src/types/form.type.d.ts +5 -3
  21. package/es/components/form/src/types/items.type.d.ts +12 -5
  22. package/es/components/modal/index.d.ts +2 -1
  23. package/es/components/modal/index.js +19 -456
  24. package/es/components/modal/src/components/Modal.d.ts +2 -2
  25. package/es/components/modal/src/components/ModalFooter.d.ts +2 -85
  26. package/es/components/modal/src/components/ModalWrap.d.ts +1 -75
  27. package/es/components/modal/src/index.d.ts +14 -171
  28. package/es/components/modal/src/props.d.ts +2 -1
  29. package/es/components/table/index.js +47 -1849
  30. package/es/components/table/index.less +3 -3
  31. package/es/components/table/src/components/TableAction.d.ts +1 -1
  32. package/es/components/table/src/components/editTable/EditTableCell.d.ts +1 -1
  33. package/es/components/table/src/components/tableSetting/DownloadCtrl.d.ts +1 -867
  34. package/es/components/table/src/index.d.ts +10 -10
  35. package/es/components/tree/index.js +29 -39
  36. package/es/components/tree/src/components/TreeHeader.d.ts +1 -1
  37. package/es/components/tree/src/index.d.ts +2 -2
  38. package/es/components/upload/index.d.ts +2 -0
  39. package/es/components/upload/index.js +16 -0
  40. package/es/components/upload/index.less +0 -0
  41. package/es/components/upload/src/index.d.ts +2 -0
  42. package/es/theme/index.d.ts +2 -1
  43. package/es/theme/index.js +11 -4
  44. package/es/theme/index.less +1 -0
  45. package/es/theme/src/components/header/components/size.d.ts +5 -5
  46. package/es/theme/src/components/header/index.d.ts +5 -5
  47. package/es/theme/src/components/header/multiple-header.d.ts +5 -5
  48. package/es/theme/src/hooks/useMenu.d.ts +1 -1
  49. package/es/theme/src/index.d.ts +10 -10
  50. package/es/theme/transition.less +105 -0
  51. package/index.js +21 -1
  52. package/manualContentPath.js +110 -0
  53. package/package.json +5 -2
  54. package/vite.config.ts +16 -4
  55. package/vite.config.ts.timestamp-1678694558071.mjs +59 -0
  56. package/vite.config.ts.timestamp-1678700851971.mjs +61 -0
  57. package/es/components/form/src/index.d.ts +0 -2922
  58. package/es/components/table/src/components/TableHeader.d.ts +0 -1136
  59. package/es/components/table/src/components/tableSetting/Download.d.ts +0 -922
  60. package/es/components/table/src/components/tableSetting/index.d.ts +0 -1030
@@ -46,7 +46,7 @@ export declare function useCurd(curdOpt: Partial<ExtractPropTypes<typeof basicPr
46
46
  default: boolean;
47
47
  };
48
48
  title: {
49
- type: PropType<String | import("vue").ComputedRef<String>>;
49
+ type: PropType<String | import("vue").ComputedRef<String> | ((data: Recordable<any>) => String)>;
50
50
  };
51
51
  loading: {
52
52
  type: BooleanConstructor;
@@ -97,7 +97,7 @@ export declare function useCurd(curdOpt: Partial<ExtractPropTypes<typeof basicPr
97
97
  };
98
98
  maskStyle: PropType<import("vue").CSSProperties>;
99
99
  footer: {
100
- type: PropType<import("../../../form/src/types/form.type").ButtonProps[]>;
100
+ type: PropType<import('../../../form').ButtonProps[]>;
101
101
  };
102
102
  bodyStyle: PropType<import("vue").CSSProperties>;
103
103
  wrapperProps: ObjectConstructor;
@@ -105,7 +105,7 @@ export declare function useCurd(curdOpt: Partial<ExtractPropTypes<typeof basicPr
105
105
  closeFunc: PropType<() => Promise<boolean>>;
106
106
  afterClose: FunctionConstructor;
107
107
  }>>) => void;
108
- curdFormMethods: import("../../../form/src/types/actions.type").FormActionType;
108
+ curdFormMethods: import('../../../form').FormActionType;
109
109
  DtCurdModal: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
110
110
  [key: string]: any;
111
111
  }>;
@@ -42,7 +42,7 @@ export declare const basicProps: {
42
42
  default: () => {};
43
43
  };
44
44
  layout: {
45
- type: PropType<"vertical" | "horizontal" | "inline">;
45
+ type: PropType<"vertical" | "inline" | "horizontal">;
46
46
  default: string;
47
47
  };
48
48
  labelWidth: {
@@ -86,8 +86,7 @@ export declare const basicProps: {
86
86
  default: () => {};
87
87
  };
88
88
  size: {
89
- type: PropType<"small" | "middle" | "large">;
90
- default: string;
89
+ type: PropType<"middle" | "small" | "large">;
91
90
  };
92
91
  disabled: {
93
92
  type: BooleanConstructor;
@@ -147,7 +146,7 @@ export declare const basicProps: {
147
146
  type: PropType<() => void>;
148
147
  };
149
148
  registerInstance: {
150
- type: PropType<(instance: import("../../form/src/types/actions.type").FormActionType) => void>;
149
+ type: PropType<(instance: import("../../form").FormActionType) => void>;
151
150
  };
152
151
  }>>>>;
153
152
  default: () => {};
@@ -1,5 +1,5 @@
1
- import { FormActionType } from '../../../form/src/types/actions.type';
2
- import { basicProps } from '../../../modal/src/props';
1
+ import { FormActionType } from '../../../form';
2
+ import { basicProps } from '../../../modal';
3
3
  import { Recordable } from "@dt-frames/core";
4
4
  import { ExtractPropTypes, PropType } from "vue";
5
5
  export declare type CurdActionType = {
@@ -57,7 +57,7 @@ declare const DtDrawer: import('../../utils/withInstall').SFCWithInstall<import(
57
57
  type: StringConstructor;
58
58
  };
59
59
  footer: {
60
- type: import("vue").PropType<import("../form/src/types/form.type").ButtonProps[]>;
60
+ type: import("vue").PropType<import("../form").ButtonProps[]>;
61
61
  };
62
62
  afterClose: FunctionConstructor;
63
63
  }, {
@@ -7711,7 +7711,7 @@ declare const DtDrawer: import('../../utils/withInstall').SFCWithInstall<import(
7711
7711
  t?: string;
7712
7712
  label: string;
7713
7713
  color?: "" | "error" | "warning" | "success";
7714
- type?: "default" | "link" | "dashed" | "text" | "primary" | "ghost";
7714
+ type?: "default" | "dashed" | "text" | "primary" | "ghost" | "link";
7715
7715
  class?: string;
7716
7716
  disabled?: boolean;
7717
7717
  show?: boolean;
@@ -7738,81 +7738,7 @@ declare const DtDrawer: import('../../utils/withInstall').SFCWithInstall<import(
7738
7738
  setDrawerProps: (props: Partial<import("./src/types/index.type").DrawerProps>) => void;
7739
7739
  drawerMethods: import("./src/types/index.type").DrawerMethods;
7740
7740
  instance: import("vue").ComponentInternalInstance;
7741
- readonly DtScrollContainer: import('../../utils/withInstall').SFCWithInstall<import("vue").DefineComponent<{}, {
7742
- scrollbarRef: any;
7743
- scrollTo: (to: number, duration?: number) => void;
7744
- getScrollWrap: () => any;
7745
- scrollBottom: () => void;
7746
- ScrollBar: import("vue").DefineComponent<{
7747
- wrapClass: {
7748
- type: (StringConstructor | ArrayConstructor)[];
7749
- default: string;
7750
- };
7751
- wrapStyle: ArrayConstructor;
7752
- viewClass: {
7753
- type: (StringConstructor | ArrayConstructor)[];
7754
- default: string;
7755
- };
7756
- viewStyle: {
7757
- type: (StringConstructor | ArrayConstructor)[];
7758
- default: string;
7759
- };
7760
- noresize: BooleanConstructor;
7761
- tag: {
7762
- type: StringConstructor;
7763
- default: string;
7764
- };
7765
- }, {
7766
- sizeWidth: import("vue").Ref<string>;
7767
- sizeHeight: import("vue").Ref<string>;
7768
- moveX: import("vue").Ref<number>;
7769
- moveY: import("vue").Ref<number>;
7770
- wrap: import("vue").Ref<any>;
7771
- resize: import("vue").Ref<any>;
7772
- props: any;
7773
- style: import("vue").ComputedRef<{}>;
7774
- handleScroll: () => void;
7775
- update: () => void;
7776
- readonly Bar: import("vue").DefineComponent<{
7777
- vertical: BooleanConstructor;
7778
- size: StringConstructor;
7779
- move: NumberConstructor;
7780
- }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
7781
- [key: string]: any;
7782
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7783
- vertical: BooleanConstructor;
7784
- size: StringConstructor;
7785
- move: NumberConstructor;
7786
- }>>, {
7787
- vertical: boolean;
7788
- }>;
7789
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7790
- wrapClass: {
7791
- type: (StringConstructor | ArrayConstructor)[];
7792
- default: string;
7793
- };
7794
- wrapStyle: ArrayConstructor;
7795
- viewClass: {
7796
- type: (StringConstructor | ArrayConstructor)[];
7797
- default: string;
7798
- };
7799
- viewStyle: {
7800
- type: (StringConstructor | ArrayConstructor)[];
7801
- default: string;
7802
- };
7803
- noresize: BooleanConstructor;
7804
- tag: {
7805
- type: StringConstructor;
7806
- default: string;
7807
- };
7808
- }>>, {
7809
- wrapClass: string | unknown[];
7810
- viewClass: string | unknown[];
7811
- viewStyle: string | unknown[];
7812
- noresize: boolean;
7813
- tag: string;
7814
- }>;
7815
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
7741
+ readonly DtScrollContainer: import('../../utils/withInstall').SFCWithInstall<import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
7816
7742
  DrawerHeader: import("vue").DefineComponent<{
7817
7743
  title: {
7818
7744
  type: import("vue").PropType<String | import("vue").ComputedRef<String>>;
@@ -7823,7 +7749,7 @@ declare const DtDrawer: import('../../utils/withInstall').SFCWithInstall<import(
7823
7749
  };
7824
7750
  }>>, {}>;
7825
7751
  DrawerFooter: import("vue").DefineComponent<{
7826
- buttons: import("vue").PropType<import("../form/src/types/form.type").ButtonProps[]>;
7752
+ buttons: import("vue").PropType<import("../form").ButtonProps[]>;
7827
7753
  showSave: {
7828
7754
  type: BooleanConstructor;
7829
7755
  default: boolean;
@@ -7849,94 +7775,11 @@ declare const DtDrawer: import('../../utils/withInstall').SFCWithInstall<import(
7849
7775
  };
7850
7776
  emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
7851
7777
  props: any;
7852
- buttonList: import("vue").ComputedRef<import("../form/src/types/form.type").ButtonProps[]>;
7853
- handleMethod: (item: import("../form/src/types/form.type").ButtonProps) => void;
7854
- DtFormButtons: import("vue").DefineComponent<{
7855
- mode: {
7856
- type: import("vue").PropType<"search" | "dialog">;
7857
- default: string;
7858
- };
7859
- show: {
7860
- type: BooleanConstructor;
7861
- default: boolean;
7862
- };
7863
- showAdvancedButton: {
7864
- type: BooleanConstructor;
7865
- default: boolean;
7866
- };
7867
- minShowColumn: {
7868
- type: NumberConstructor;
7869
- default: number;
7870
- };
7871
- buttonList: {
7872
- type: import("vue").PropType<import("../form/src/types/form.type").ButtonProps[]>;
7873
- default: any[];
7874
- };
7875
- isAdvanced: {
7876
- type: BooleanConstructor;
7877
- default: boolean;
7878
- };
7879
- }, {
7880
- props: any;
7881
- emits: (event: "handle-method", ...args: any[]) => void;
7882
- t: {
7883
- (key: string): string;
7884
- (key: string, locale: string): string;
7885
- (key: string, locale: string, list: unknown[]): string;
7886
- (key: string, locale: string, named: Record<string, unknown>): string;
7887
- (key: string, list: unknown[]): string;
7888
- (key: string, named: Record<string, unknown>): string;
7889
- };
7890
- advancedRef: import("vue").Ref<{
7891
- valueOf: () => boolean;
7892
- }>;
7893
- key: number;
7894
- showAdvanceRef: import("vue").ComputedRef<boolean>;
7895
- colOpt: import("vue").ComputedRef<{
7896
- style: import("@dt-frames/core").Recordable<any>;
7897
- }>;
7898
- getAdvanceClass: import("vue").ComputedRef<(string | {
7899
- 'basic-arrow--active': boolean;
7900
- })[]>;
7901
- toggleAdvanced: () => void;
7902
- handleBtnClick: (button: import("../form/src/types/form.type").ButtonProps) => void;
7903
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "handle-method"[], "handle-method", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7904
- mode: {
7905
- type: import("vue").PropType<"search" | "dialog">;
7906
- default: string;
7907
- };
7908
- show: {
7909
- type: BooleanConstructor;
7910
- default: boolean;
7911
- };
7912
- showAdvancedButton: {
7913
- type: BooleanConstructor;
7914
- default: boolean;
7915
- };
7916
- minShowColumn: {
7917
- type: NumberConstructor;
7918
- default: number;
7919
- };
7920
- buttonList: {
7921
- type: import("vue").PropType<import("../form/src/types/form.type").ButtonProps[]>;
7922
- default: any[];
7923
- };
7924
- isAdvanced: {
7925
- type: BooleanConstructor;
7926
- default: boolean;
7927
- };
7928
- }>> & {
7929
- "onHandle-method"?: (...args: any[]) => any;
7930
- }, {
7931
- mode: "search" | "dialog";
7932
- show: boolean;
7933
- showAdvancedButton: boolean;
7934
- minShowColumn: number;
7935
- buttonList: import("../form/src/types/form.type").ButtonProps[];
7936
- isAdvanced: boolean;
7937
- }>;
7778
+ buttonList: import("vue").ComputedRef<import("../form").ButtonProps[]>;
7779
+ handleMethod: (item: import("../form").ButtonProps) => void;
7780
+ readonly DtFormButtons: import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
7938
7781
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleSave" | "handleCancel")[], "handleSave" | "handleCancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7939
- buttons: import("vue").PropType<import("../form/src/types/form.type").ButtonProps[]>;
7782
+ buttons: import("vue").PropType<import("../form").ButtonProps[]>;
7940
7783
  showSave: {
7941
7784
  type: BooleanConstructor;
7942
7785
  default: boolean;
@@ -8016,7 +7859,7 @@ declare const DtDrawer: import('../../utils/withInstall').SFCWithInstall<import(
8016
7859
  type: StringConstructor;
8017
7860
  };
8018
7861
  footer: {
8019
- type: import("vue").PropType<import("../form/src/types/form.type").ButtonProps[]>;
7862
+ type: import("vue").PropType<import("../form").ButtonProps[]>;
8020
7863
  };
8021
7864
  afterClose: FunctionConstructor;
8022
7865
  }>> & {