@dt-frames/ui 1.0.51 → 2.0.0

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 (210) hide show
  1. package/README.md +18 -1
  2. package/package.json +62 -40
  3. package/es/assets/data/icons/actions.d.ts +0 -1
  4. package/es/assets/data/icons/actions.ts +0 -427
  5. package/es/assets/data/icons/code.d.ts +0 -1
  6. package/es/assets/data/icons/code.ts +0 -10
  7. package/es/assets/data/icons/commuticate.d.ts +0 -1
  8. package/es/assets/data/icons/commuticate.ts +0 -190
  9. package/es/assets/data/icons/currency.d.ts +0 -1
  10. package/es/assets/data/icons/currency.ts +0 -46
  11. package/es/assets/data/icons/devices.d.ts +0 -1
  12. package/es/assets/data/icons/devices.ts +0 -128
  13. package/es/assets/data/icons/edit.d.ts +0 -1
  14. package/es/assets/data/icons/edit.ts +0 -165
  15. package/es/assets/data/icons/file.d.ts +0 -1
  16. package/es/assets/data/icons/file.ts +0 -104
  17. package/es/assets/data/icons/math.d.ts +0 -1
  18. package/es/assets/data/icons/math.ts +0 -53
  19. package/es/assets/data/icons/message.d.ts +0 -1
  20. package/es/assets/data/icons/message.ts +0 -75
  21. package/es/assets/data/icons/navigate.d.ts +0 -1
  22. package/es/assets/data/icons/navigate.ts +0 -181
  23. package/es/assets/data/icons/other.d.ts +0 -1
  24. package/es/assets/data/icons/other.ts +0 -333
  25. package/es/assets/data/icons.d.ts +0 -4
  26. package/es/assets/data/icons.ts +0 -58
  27. package/es/assets/imgs/header/avatar.png +0 -0
  28. package/es/assets/imgs/logo/logo.png +0 -0
  29. package/es/assets/imgs/table/empty.png +0 -0
  30. package/es/assets/locales/en.json +0 -97
  31. package/es/assets/locales/zh.json +0 -100
  32. package/es/assets/style/index.less +0 -10
  33. package/es/assets/style/reset.less +0 -17
  34. package/es/components/container/index.d.ts +0 -3
  35. package/es/components/container/index.less +0 -85
  36. package/es/components/container/src/bar.d.ts +0 -14
  37. package/es/components/container/src/scroll-bar.d.ts +0 -93
  38. package/es/components/container/src/scroll-container.d.ts +0 -99
  39. package/es/components/curd/index.d.ts +0 -2
  40. package/es/components/curd/src/components/dialog.d.ts +0 -1505
  41. package/es/components/curd/src/components/props.d.ts +0 -34
  42. package/es/components/curd/src/hooks/useCurd.d.ts +0 -17
  43. package/es/components/curd/src/types/curd.type.d.ts +0 -22
  44. package/es/components/forms/index.d.ts +0 -5
  45. package/es/components/forms/index.less +0 -107
  46. package/es/components/forms/src/componentMap.d.ts +0 -4
  47. package/es/components/forms/src/components/formButton.d.ts +0 -83
  48. package/es/components/forms/src/components/formIcon.d.ts +0 -2866
  49. package/es/components/forms/src/components/formInputUseDialog.d.ts +0 -911
  50. package/es/components/forms/src/components/formItem.d.ts +0 -58
  51. package/es/components/forms/src/components/radioButton.d.ts +0 -33
  52. package/es/components/forms/src/const/form.const.d.ts +0 -7
  53. package/es/components/forms/src/hooks/helper.d.ts +0 -8
  54. package/es/components/forms/src/hooks/useForm.d.ts +0 -5
  55. package/es/components/forms/src/hooks/useFormActions.d.ts +0 -13
  56. package/es/components/forms/src/hooks/useFormEvents.d.ts +0 -26
  57. package/es/components/forms/src/hooks/useFormValue.d.ts +0 -3
  58. package/es/components/forms/src/hooks/useFormValues.d.ts +0 -14
  59. package/es/components/forms/src/hooks/useLabelWidth.d.ts +0 -35
  60. package/es/components/forms/src/index.d.ts +0 -182
  61. package/es/components/forms/src/prop.d.ts +0 -79
  62. package/es/components/forms/src/types/form.type.d.ts +0 -115
  63. package/es/components/icons/index.d.ts +0 -3
  64. package/es/components/icons/index.less +0 -109
  65. package/es/components/icons/src/pick-icon.d.ts +0 -441
  66. package/es/components/icons/src/svg-icon.d.ts +0 -44
  67. package/es/components/iframe/index.d.ts +0 -2
  68. package/es/components/iframe/index.less +0 -3
  69. package/es/components/iframe/src/index.d.ts +0 -967
  70. package/es/components/iframe/src/index.less +0 -3
  71. package/es/components/index.d.ts +0 -14
  72. package/es/components/modal/index.d.ts +0 -3
  73. package/es/components/modal/index.less +0 -60
  74. package/es/components/modal/src/components/close-icon.d.ts +0 -309
  75. package/es/components/modal/src/components/modal-wrap.d.ts +0 -237
  76. package/es/components/modal/src/components/modal.d.ts +0 -200
  77. package/es/components/modal/src/components/modalFooter.d.ts +0 -124
  78. package/es/components/modal/src/hooks/useDrag.d.ts +0 -7
  79. package/es/components/modal/src/hooks/useFullScreen.d.ts +0 -12
  80. package/es/components/modal/src/hooks/useModal.d.ts +0 -4
  81. package/es/components/modal/src/index.d.ts +0 -1190
  82. package/es/components/modal/src/props.d.ts +0 -93
  83. package/es/components/modal/src/types/modal.type.d.ts +0 -25
  84. package/es/components/router/base-router.d.ts +0 -2
  85. package/es/components/router/index.d.ts +0 -2
  86. package/es/components/source/index.d.ts +0 -1
  87. package/es/components/source/src/hooks/useDownload.d.ts +0 -8
  88. package/es/components/source/src/hooks/useFetch.d.ts +0 -4
  89. package/es/components/source/src/hooks/useSource.d.ts +0 -43
  90. package/es/components/source/src/index.d.ts +0 -2
  91. package/es/components/source/src/types/source.type.d.ts +0 -34
  92. package/es/components/source/src/types/table.type.d.ts +0 -7
  93. package/es/components/table/index.d.ts +0 -4
  94. package/es/components/table/index.less +0 -224
  95. package/es/components/table/src/components/TableActions.d.ts +0 -1280
  96. package/es/components/table/src/components/TableHeader.d.ts +0 -28
  97. package/es/components/table/src/components/TableRender.d.ts +0 -25
  98. package/es/components/table/src/components/editable/CellComponent.d.ts +0 -14
  99. package/es/components/table/src/components/editable/EditTableCell.d.ts +0 -88
  100. package/es/components/table/src/components/editable/componentMap.d.ts +0 -4
  101. package/es/components/table/src/components/editable/index.d.ts +0 -9
  102. package/es/components/table/src/components/setting/Column.d.ts +0 -1360
  103. package/es/components/table/src/components/setting/Download.d.ts +0 -3088
  104. package/es/components/table/src/components/setting/DownloadCtrl.d.ts +0 -1930
  105. package/es/components/table/src/components/setting/Fullscreen.d.ts +0 -280
  106. package/es/components/table/src/components/setting/index.d.ts +0 -26
  107. package/es/components/table/src/const.d.ts +0 -12
  108. package/es/components/table/src/hooks/useColumns.d.ts +0 -14
  109. package/es/components/table/src/hooks/useCustomRow.d.ts +0 -19
  110. package/es/components/table/src/hooks/useDataSource.d.ts +0 -16
  111. package/es/components/table/src/hooks/useHeaderCode.d.ts +0 -3
  112. package/es/components/table/src/hooks/useLoading.d.ts +0 -17
  113. package/es/components/table/src/hooks/usePagination.d.ts +0 -122
  114. package/es/components/table/src/hooks/useRowSelection.d.ts +0 -12
  115. package/es/components/table/src/hooks/useRows.d.ts +0 -5
  116. package/es/components/table/src/hooks/useTable.d.ts +0 -5
  117. package/es/components/table/src/hooks/useTableHeader.d.ts +0 -8
  118. package/es/components/table/src/hooks/useTableInstance.d.ts +0 -15
  119. package/es/components/table/src/hooks/useTableScroll.d.ts +0 -12
  120. package/es/components/table/src/index.d.ts +0 -719
  121. package/es/components/table/src/props.d.ts +0 -211
  122. package/es/components/table/src/types/table.type.d.ts +0 -111
  123. package/es/components/table/src/types/tableHeader.type.d.ts +0 -23
  124. package/es/components/tree/index.d.ts +0 -2
  125. package/es/components/tree/index.less +0 -53
  126. package/es/components/tree/src/hooks/useTree.d.ts +0 -14
  127. package/es/components/tree/src/props.d.ts +0 -108
  128. package/es/components/tree/src/type/tree.d.ts +0 -85
  129. package/es/components/tree/src/utils/tree.d.ts +0 -5
  130. package/es/components/upload/index.d.ts +0 -2
  131. package/es/components/upload/index.less +0 -37
  132. package/es/components/upload/src/helper.d.ts +0 -5
  133. package/es/components/upload/src/props.d.ts +0 -47
  134. package/es/components/upload/src/upload.d.ts +0 -1794
  135. package/es/directives/icon.d.ts +0 -2
  136. package/es/directives/index.d.ts +0 -6
  137. package/es/directives/permission.d.ts +0 -2
  138. package/es/global.d.ts +0 -8
  139. package/es/index.d.ts +0 -3
  140. package/es/index.js +0 -10436
  141. package/es/style/assets/style/index.less +0 -10
  142. package/es/style/assets/style/reset.less +0 -17
  143. package/es/style/components/container/index.less +0 -85
  144. package/es/style/components/forms/index.less +0 -107
  145. package/es/style/components/icons/index.less +0 -108
  146. package/es/style/components/iframe/index.less +0 -3
  147. package/es/style/components/iframe/src/index.less +0 -3
  148. package/es/style/components/modal/index.less +0 -60
  149. package/es/style/components/table/index.less +0 -217
  150. package/es/style/components/tree/index.less +0 -53
  151. package/es/style/theme/footer/index.less +0 -16
  152. package/es/style/theme/header/index.less +0 -451
  153. package/es/style/theme/header/set-theme.less +0 -68
  154. package/es/style/theme/sider/index.less +0 -212
  155. package/es/style/theme/tabs/index.less +0 -165
  156. package/es/style/theme/theme.less +0 -73
  157. package/es/style/theme/transition.less +0 -105
  158. package/es/theme/content/index.d.ts +0 -44
  159. package/es/theme/feature/back-top.d.ts +0 -105
  160. package/es/theme/feature/index.d.ts +0 -107
  161. package/es/theme/footer/index.d.ts +0 -30
  162. package/es/theme/footer/index.less +0 -16
  163. package/es/theme/header/components/bread-crumb.d.ts +0 -128
  164. package/es/theme/header/components/fullscreen.d.ts +0 -5
  165. package/es/theme/header/components/handler.d.ts +0 -2
  166. package/es/theme/header/components/index.d.ts +0 -11
  167. package/es/theme/header/components/lang-picker.d.ts +0 -291
  168. package/es/theme/header/components/logo.d.ts +0 -91
  169. package/es/theme/header/components/menu-search.d.ts +0 -284
  170. package/es/theme/header/components/notify.d.ts +0 -268
  171. package/es/theme/header/components/setting-theme.d.ts +0 -2604
  172. package/es/theme/header/components/size.d.ts +0 -282
  173. package/es/theme/header/components/theme-drawer/feature.d.ts +0 -1113
  174. package/es/theme/header/components/theme-drawer/index.d.ts +0 -3
  175. package/es/theme/header/components/theme-drawer/menu-type.d.ts +0 -273
  176. package/es/theme/header/components/theme-drawer/select-item.d.ts +0 -778
  177. package/es/theme/header/components/theme-drawer/switch-item.d.ts +0 -297
  178. package/es/theme/header/components/trigger.d.ts +0 -14
  179. package/es/theme/header/components/user-info.d.ts +0 -8318
  180. package/es/theme/header/const/index.d.ts +0 -20
  181. package/es/theme/header/helper/menu-tree.d.ts +0 -3
  182. package/es/theme/header/index.less +0 -458
  183. package/es/theme/header/set-theme.less +0 -68
  184. package/es/theme/index.d.ts +0 -2
  185. package/es/theme/sider/components/basic-menu/basic-menu-item.d.ts +0 -123
  186. package/es/theme/sider/components/basic-menu/basic-menu.d.ts +0 -756
  187. package/es/theme/sider/components/basic-menu/basic-sub-menu-item.d.ts +0 -254
  188. package/es/theme/sider/components/basic-menu/menu-item-content.d.ts +0 -36
  189. package/es/theme/sider/components/drag-bar.d.ts +0 -14
  190. package/es/theme/sider/components/layout-menu.d.ts +0 -22
  191. package/es/theme/sider/components/props.d.ts +0 -69
  192. package/es/theme/sider/components/sider-trigger.d.ts +0 -68
  193. package/es/theme/sider/helper/sider.d.ts +0 -12
  194. package/es/theme/sider/helper/split-menu.d.ts +0 -10
  195. package/es/theme/sider/hooks/useDragLine.d.ts +0 -2
  196. package/es/theme/sider/hooks/useOpenKeys.d.ts +0 -13
  197. package/es/theme/sider/index.d.ts +0 -152
  198. package/es/theme/sider/index.less +0 -212
  199. package/es/theme/tabs/components/TabContent.d.ts +0 -887
  200. package/es/theme/tabs/components/TabRedo.d.ts +0 -64
  201. package/es/theme/tabs/hooks/useMultifyTabs.d.ts +0 -7
  202. package/es/theme/tabs/hooks/useTabDropdown.d.ts +0 -6
  203. package/es/theme/tabs/index.d.ts +0 -1429
  204. package/es/theme/tabs/index.less +0 -165
  205. package/es/theme/tabs/types/tabs.type.d.ts +0 -7
  206. package/es/theme/theme.less +0 -73
  207. package/es/theme/transition.less +0 -105
  208. package/index.html +0 -13
  209. package/tsconfig.json +0 -28
  210. package/vite.config.js +0 -10
@@ -1,280 +0,0 @@
1
- declare const _sfc_main: import("vue").DefineComponent<{}, {
2
- t: {
3
- (key: string): string;
4
- (key: string, locale: string): string;
5
- (key: string, locale: string, list: unknown[]): string;
6
- (key: string, locale: string, named: Record<string, unknown>): string;
7
- (key: string, list: unknown[]): string;
8
- (key: string, named: Record<string, unknown>): string;
9
- };
10
- table: Omit<import("../../types/table.type").TableActionType & {
11
- tableElRef: import("vue").Ref<HTMLElement>;
12
- getBind: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
13
- getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
14
- }, "getBind"> & {
15
- getBind: import("vue").ComputedRef<import("../../types/table.type").BasicTableProps>;
16
- getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
17
- };
18
- wrapEl: any;
19
- toggle: () => Promise<void>;
20
- isFullscreen: import("vue").Ref<boolean>;
21
- Tooltip: {
22
- new (...args: any[]): {
23
- $: import("vue").ComponentInternalInstance;
24
- $data: {};
25
- $props: Partial<{
26
- visible: boolean;
27
- align: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
28
- builtinPlacements: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
29
- defaultVisible: boolean;
30
- overlayStyle: import("vue").CSSProperties;
31
- destroyTooltipOnHide: boolean;
32
- autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
33
- arrowPointAtCenter: boolean;
34
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
35
- title: import("vue-types").VueTypeValidableDef<any>;
36
- trigger: import("vue").PropType<import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType | import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType[]>;
37
- visible: {
38
- type: BooleanConstructor;
39
- default: any;
40
- };
41
- defaultVisible: {
42
- type: BooleanConstructor;
43
- default: any;
44
- };
45
- placement: import("vue").PropType<import("ant-design-vue/lib/tooltip").TooltipPlacement>;
46
- color: StringConstructor;
47
- transitionName: StringConstructor;
48
- overlayStyle: {
49
- type: import("vue").PropType<import("vue").CSSProperties>;
50
- default: import("vue").CSSProperties;
51
- };
52
- overlayClassName: StringConstructor;
53
- openClassName: StringConstructor;
54
- prefixCls: StringConstructor;
55
- mouseEnterDelay: NumberConstructor;
56
- mouseLeaveDelay: NumberConstructor;
57
- getPopupContainer: import("vue").PropType<(triggerNode: HTMLElement) => HTMLElement>;
58
- arrowPointAtCenter: {
59
- type: BooleanConstructor;
60
- default: any;
61
- };
62
- autoAdjustOverflow: {
63
- type: import("vue").PropType<boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow>;
64
- default: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
65
- };
66
- destroyTooltipOnHide: {
67
- type: BooleanConstructor;
68
- default: any;
69
- };
70
- align: {
71
- type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").AlignType>;
72
- default: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
73
- };
74
- builtinPlacements: {
75
- type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements>;
76
- default: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
77
- };
78
- children: ArrayConstructor;
79
- onVisibleChange: import("vue").PropType<(vis: boolean) => void>;
80
- 'onUpdate:visible': import("vue").PropType<(vis: boolean) => void>;
81
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "defaultVisible" | "overlayStyle" | "arrowPointAtCenter" | "autoAdjustOverflow" | "destroyTooltipOnHide" | "align" | "builtinPlacements">;
82
- $attrs: {
83
- [x: string]: unknown;
84
- };
85
- $refs: {
86
- [x: string]: unknown;
87
- };
88
- $slots: Readonly<{
89
- [name: string]: import("vue").Slot;
90
- }>;
91
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
92
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
93
- $emit: (event: string, ...args: any[]) => void;
94
- $el: any;
95
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
96
- title: import("vue-types").VueTypeValidableDef<any>;
97
- trigger: import("vue").PropType<import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType | import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType[]>;
98
- visible: {
99
- type: BooleanConstructor;
100
- default: any;
101
- };
102
- defaultVisible: {
103
- type: BooleanConstructor;
104
- default: any;
105
- };
106
- placement: import("vue").PropType<import("ant-design-vue/lib/tooltip").TooltipPlacement>;
107
- color: StringConstructor;
108
- transitionName: StringConstructor;
109
- overlayStyle: {
110
- type: import("vue").PropType<import("vue").CSSProperties>;
111
- default: import("vue").CSSProperties;
112
- };
113
- overlayClassName: StringConstructor;
114
- openClassName: StringConstructor;
115
- prefixCls: StringConstructor;
116
- mouseEnterDelay: NumberConstructor;
117
- mouseLeaveDelay: NumberConstructor;
118
- getPopupContainer: import("vue").PropType<(triggerNode: HTMLElement) => HTMLElement>;
119
- arrowPointAtCenter: {
120
- type: BooleanConstructor;
121
- default: any;
122
- };
123
- autoAdjustOverflow: {
124
- type: import("vue").PropType<boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow>;
125
- default: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
126
- };
127
- destroyTooltipOnHide: {
128
- type: BooleanConstructor;
129
- default: any;
130
- };
131
- align: {
132
- type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").AlignType>;
133
- default: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
134
- };
135
- builtinPlacements: {
136
- type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements>;
137
- default: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
138
- };
139
- children: ArrayConstructor;
140
- onVisibleChange: import("vue").PropType<(vis: boolean) => void>;
141
- 'onUpdate:visible': import("vue").PropType<(vis: boolean) => void>;
142
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
143
- visible: boolean;
144
- align: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
145
- builtinPlacements: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
146
- defaultVisible: boolean;
147
- overlayStyle: import("vue").CSSProperties;
148
- destroyTooltipOnHide: boolean;
149
- autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
150
- arrowPointAtCenter: boolean;
151
- }> & {
152
- beforeCreate?: (() => void) | (() => void)[];
153
- created?: (() => void) | (() => void)[];
154
- beforeMount?: (() => void) | (() => void)[];
155
- mounted?: (() => void) | (() => void)[];
156
- beforeUpdate?: (() => void) | (() => void)[];
157
- updated?: (() => void) | (() => void)[];
158
- activated?: (() => void) | (() => void)[];
159
- deactivated?: (() => void) | (() => void)[];
160
- beforeDestroy?: (() => void) | (() => void)[];
161
- beforeUnmount?: (() => void) | (() => void)[];
162
- destroyed?: (() => void) | (() => void)[];
163
- unmounted?: (() => void) | (() => void)[];
164
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
165
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
166
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
167
- };
168
- $forceUpdate: () => void;
169
- $nextTick: typeof import("vue").nextTick;
170
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
171
- } & Readonly<import("vue").ExtractPropTypes<{
172
- title: import("vue-types").VueTypeValidableDef<any>;
173
- trigger: import("vue").PropType<import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType | import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType[]>;
174
- visible: {
175
- type: BooleanConstructor;
176
- default: any;
177
- };
178
- defaultVisible: {
179
- type: BooleanConstructor;
180
- default: any;
181
- };
182
- placement: import("vue").PropType<import("ant-design-vue/lib/tooltip").TooltipPlacement>;
183
- color: StringConstructor;
184
- transitionName: StringConstructor;
185
- overlayStyle: {
186
- type: import("vue").PropType<import("vue").CSSProperties>;
187
- default: import("vue").CSSProperties;
188
- };
189
- overlayClassName: StringConstructor;
190
- openClassName: StringConstructor;
191
- prefixCls: StringConstructor;
192
- mouseEnterDelay: NumberConstructor;
193
- mouseLeaveDelay: NumberConstructor;
194
- getPopupContainer: import("vue").PropType<(triggerNode: HTMLElement) => HTMLElement>;
195
- arrowPointAtCenter: {
196
- type: BooleanConstructor;
197
- default: any;
198
- };
199
- autoAdjustOverflow: {
200
- type: import("vue").PropType<boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow>;
201
- default: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
202
- };
203
- destroyTooltipOnHide: {
204
- type: BooleanConstructor;
205
- default: any;
206
- };
207
- align: {
208
- type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").AlignType>;
209
- default: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
210
- };
211
- builtinPlacements: {
212
- type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements>;
213
- default: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
214
- };
215
- children: ArrayConstructor;
216
- onVisibleChange: import("vue").PropType<(vis: boolean) => void>;
217
- 'onUpdate:visible': import("vue").PropType<(vis: boolean) => void>;
218
- }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & import("vue").ComponentCustomProperties;
219
- __isFragment?: never;
220
- __isTeleport?: never;
221
- __isSuspense?: never;
222
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
223
- title: import("vue-types").VueTypeValidableDef<any>;
224
- trigger: import("vue").PropType<import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType | import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType[]>;
225
- visible: {
226
- type: BooleanConstructor;
227
- default: any;
228
- };
229
- defaultVisible: {
230
- type: BooleanConstructor;
231
- default: any;
232
- };
233
- placement: import("vue").PropType<import("ant-design-vue/lib/tooltip").TooltipPlacement>;
234
- color: StringConstructor;
235
- transitionName: StringConstructor;
236
- overlayStyle: {
237
- type: import("vue").PropType<import("vue").CSSProperties>;
238
- default: import("vue").CSSProperties;
239
- };
240
- overlayClassName: StringConstructor;
241
- openClassName: StringConstructor;
242
- prefixCls: StringConstructor;
243
- mouseEnterDelay: NumberConstructor;
244
- mouseLeaveDelay: NumberConstructor;
245
- getPopupContainer: import("vue").PropType<(triggerNode: HTMLElement) => HTMLElement>;
246
- arrowPointAtCenter: {
247
- type: BooleanConstructor;
248
- default: any;
249
- };
250
- autoAdjustOverflow: {
251
- type: import("vue").PropType<boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow>;
252
- default: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
253
- };
254
- destroyTooltipOnHide: {
255
- type: BooleanConstructor;
256
- default: any;
257
- };
258
- align: {
259
- type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").AlignType>;
260
- default: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
261
- };
262
- builtinPlacements: {
263
- type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements>;
264
- default: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
265
- };
266
- children: ArrayConstructor;
267
- onVisibleChange: import("vue").PropType<(vis: boolean) => void>;
268
- 'onUpdate:visible': import("vue").PropType<(vis: boolean) => void>;
269
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
270
- visible: boolean;
271
- align: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
272
- builtinPlacements: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
273
- defaultVisible: boolean;
274
- overlayStyle: import("vue").CSSProperties;
275
- destroyTooltipOnHide: boolean;
276
- autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
277
- arrowPointAtCenter: boolean;
278
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
279
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
280
- export default _sfc_main;
@@ -1,26 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import { TableSetting } from "../../types/table.type";
3
- declare type ColumnChangeParam = {
4
- dataIndex: string;
5
- fixed: boolean | 'left' | 'right' | undefined;
6
- visible: boolean;
7
- };
8
- declare const _default: import("vue").DefineComponent<{
9
- setting: {
10
- type: PropType<TableSetting>;
11
- default: () => {};
12
- };
13
- }, {
14
- getSetting: import("vue").ComputedRef<TableSetting>;
15
- handleColumnChange: (data: ColumnChangeParam[]) => void;
16
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "columns-change"[], "columns-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
- setting: {
18
- type: PropType<TableSetting>;
19
- default: () => {};
20
- };
21
- }>> & {
22
- "onColumns-change"?: (...args: any[]) => any;
23
- }, {
24
- setting: {};
25
- }>;
26
- export default _default;
@@ -1,12 +0,0 @@
1
- export declare const DEFAULT_SORT_FN: (sortInfo: any) => {
2
- field: any;
3
- order: any;
4
- } | {
5
- field?: undefined;
6
- order?: undefined;
7
- };
8
- export declare const TABLE_SIZE_HEIGHT: {
9
- default: number;
10
- middle: number;
11
- small: number;
12
- };
@@ -1,14 +0,0 @@
1
- import type { PaginationProps } from 'ant-design-vue/lib/pagination';
2
- import { ComputedRef, Ref } from "vue";
3
- import { BasicColumn, BasicTableProps } from "../types/table.type";
4
- import { SetColumnsParams } from '../types/tableHeader.type';
5
- export declare function useColumns(propsRef: ComputedRef<BasicTableProps>, getPaginationRef: ComputedRef<boolean | PaginationProps>, tableElRef: Ref<HTMLDivElement & {
6
- $el: any;
7
- } | null>): {
8
- getViewColumns: ComputedRef<BasicColumn[]>;
9
- getColumnsRef: ComputedRef<BasicColumn[]>;
10
- getColumns: (opt?: SetColumnsParams) => BasicColumn[];
11
- setColumns: (columnList?: Partial<BasicColumn>[] | string[]) => void;
12
- setCacheColumnsByField: (dataIndex: string | undefined, value: Partial<BasicColumn>) => void;
13
- getCacheColumns: () => BasicColumn[];
14
- };
@@ -1,19 +0,0 @@
1
- import { Recordable } from "@dt-frames/core";
2
- import { ComputedRef } from "vue";
3
- import { BasicTableProps } from "../types/table.type";
4
- interface Options {
5
- setSelectedRowKeys: (keys: string[]) => void;
6
- getSelectRowKeys: () => string[];
7
- clearSelectedRowKeys: () => void;
8
- emit: any;
9
- }
10
- export declare function useCustomRow(propsRef: ComputedRef<BasicTableProps>, { setSelectedRowKeys, getSelectRowKeys, clearSelectedRowKeys, emit }: Options): {
11
- customRow: (record: Recordable, index: number) => {
12
- onClick: (e: any) => void;
13
- onDblclick: (event: Event) => void;
14
- onContextmenu: (event: Event) => void;
15
- onMouseenter: (event: Event) => void;
16
- onMouseleave: (event: Event) => void;
17
- };
18
- };
19
- export {};
@@ -1,16 +0,0 @@
1
- import { ComputedRef } from "vue";
2
- import type { PaginationProps } from 'ant-design-vue/lib/pagination';
3
- import { BasicTableProps, SorterResult } from "../types/table.type";
4
- import { Recordable } from "@dt-frames/core";
5
- declare type ActionsType = {
6
- getPaginationInfo: ComputedRef<boolean | PaginationProps>;
7
- setPagination: (info: Partial<PaginationProps>) => void;
8
- clearSelectedRowKeys: () => void;
9
- };
10
- export declare function useDataSource(propsRef: ComputedRef<BasicTableProps>, { getPaginationInfo, setPagination, clearSelectedRowKeys, }: ActionsType, emit: any): {
11
- getDataSourceRef: ComputedRef<Recordable<any>[]>;
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;
15
- };
16
- export {};
@@ -1,3 +0,0 @@
1
- import { Recordable } from "@dt-frames/core";
2
- import { BasicColumn } from "../types/table.type";
3
- export declare function useHeaderCode(code: string, templates: Recordable, changeColumns: (rows: BasicColumn[]) => void): void;
@@ -1,17 +0,0 @@
1
- import { ComputedRef } from "vue";
2
- import { BasicTableProps } from "../types/table.type";
3
- export declare function useLoading(props: ComputedRef<BasicTableProps>): {
4
- getLoading: ComputedRef<(boolean | Partial<import("vue").ExtractPropTypes<{
5
- prefixCls: StringConstructor;
6
- spinning: {
7
- type: BooleanConstructor;
8
- default: any;
9
- };
10
- size: import("vue").PropType<import("ant-design-vue/lib/spin/Spin").SpinSize>;
11
- wrapperClassName: StringConstructor;
12
- tip: import("vue-types").VueTypeValidableDef<any>;
13
- delay: NumberConstructor;
14
- indicator: import("vue-types").VueTypeValidableDef<any>;
15
- }>>) & boolean>;
16
- setLoading: (loading: boolean) => void;
17
- };
@@ -1,122 +0,0 @@
1
- import { ComputedRef } from "vue";
2
- import type { PaginationProps } from 'ant-design-vue/lib/pagination';
3
- import { BasicTableProps } from "../types/table.type";
4
- export declare function usePagination(props: ComputedRef<BasicTableProps>): {
5
- getPaginationInfo: ComputedRef<boolean | Partial<import("vue").ExtractPropTypes<{
6
- total: NumberConstructor;
7
- defaultCurrent: NumberConstructor;
8
- disabled: {
9
- type: BooleanConstructor;
10
- default: any;
11
- };
12
- current: NumberConstructor;
13
- defaultPageSize: NumberConstructor;
14
- pageSize: NumberConstructor;
15
- hideOnSinglePage: {
16
- type: BooleanConstructor;
17
- default: any;
18
- };
19
- showSizeChanger: {
20
- type: BooleanConstructor;
21
- default: any;
22
- };
23
- pageSizeOptions: import("vue").PropType<(string | number)[]>;
24
- buildOptionText: import("vue").PropType<(opt: {
25
- value: any;
26
- }) => any>;
27
- showQuickJumper: {
28
- type: import("vue").PropType<boolean | {
29
- goButton?: any;
30
- }>;
31
- default: boolean | {
32
- goButton?: any;
33
- };
34
- };
35
- showTotal: import("vue").PropType<(total: number, range: [number, number]) => any>;
36
- size: import("vue").PropType<"small" | "default">;
37
- simple: {
38
- type: BooleanConstructor;
39
- default: any;
40
- };
41
- locale: ObjectConstructor;
42
- prefixCls: StringConstructor;
43
- selectPrefixCls: StringConstructor;
44
- totalBoundaryShowSizeChanger: NumberConstructor;
45
- selectComponentClass: StringConstructor;
46
- itemRender: import("vue").PropType<(opt: {
47
- page: number;
48
- type: "page" | "prev" | "next" | "jump-prev" | "jump-next";
49
- originalElement: any;
50
- }) => any>;
51
- role: StringConstructor;
52
- responsive: BooleanConstructor;
53
- showLessItems: {
54
- type: BooleanConstructor;
55
- default: any;
56
- };
57
- onChange: import("vue").PropType<(page: number, pageSize: number) => void>;
58
- onShowSizeChange: import("vue").PropType<(current: number, size: number) => void>;
59
- 'onUpdate:current': import("vue").PropType<(current: number) => void>;
60
- 'onUpdate:pageSize': import("vue").PropType<(size: number) => void>;
61
- }>>>;
62
- setPagination: (info: Partial<PaginationProps>) => void;
63
- getPagination: () => boolean | Partial<import("vue").ExtractPropTypes<{
64
- total: NumberConstructor;
65
- defaultCurrent: NumberConstructor;
66
- disabled: {
67
- type: BooleanConstructor;
68
- default: any;
69
- };
70
- current: NumberConstructor;
71
- defaultPageSize: NumberConstructor;
72
- pageSize: NumberConstructor;
73
- hideOnSinglePage: {
74
- type: BooleanConstructor;
75
- default: any;
76
- };
77
- showSizeChanger: {
78
- type: BooleanConstructor;
79
- default: any;
80
- };
81
- pageSizeOptions: import("vue").PropType<(string | number)[]>;
82
- buildOptionText: import("vue").PropType<(opt: {
83
- value: any;
84
- }) => any>;
85
- showQuickJumper: {
86
- type: import("vue").PropType<boolean | {
87
- goButton?: any;
88
- }>;
89
- default: boolean | {
90
- goButton?: any;
91
- };
92
- };
93
- showTotal: import("vue").PropType<(total: number, range: [number, number]) => any>;
94
- size: import("vue").PropType<"small" | "default">;
95
- simple: {
96
- type: BooleanConstructor;
97
- default: any;
98
- };
99
- locale: ObjectConstructor;
100
- prefixCls: StringConstructor;
101
- selectPrefixCls: StringConstructor;
102
- totalBoundaryShowSizeChanger: NumberConstructor;
103
- selectComponentClass: StringConstructor;
104
- itemRender: import("vue").PropType<(opt: {
105
- page: number;
106
- type: "page" | "prev" | "next" | "jump-prev" | "jump-next";
107
- originalElement: any;
108
- }) => any>;
109
- role: StringConstructor;
110
- responsive: BooleanConstructor;
111
- showLessItems: {
112
- type: BooleanConstructor;
113
- default: any;
114
- };
115
- onChange: import("vue").PropType<(page: number, pageSize: number) => void>;
116
- onShowSizeChange: import("vue").PropType<(current: number, size: number) => void>;
117
- 'onUpdate:current': import("vue").PropType<(current: number) => void>;
118
- 'onUpdate:pageSize': import("vue").PropType<(size: number) => void>;
119
- }>>;
120
- getShowPagination: () => boolean;
121
- setShowPagination: (flag: boolean) => Promise<void>;
122
- };
@@ -1,12 +0,0 @@
1
- import { Recordable } from "@dt-frames/core";
2
- import type { TableRowSelection } from 'ant-design-vue/lib/table/interface';
3
- import { ComputedRef } from "vue";
4
- import { BasicTableProps } from "../types/table.type";
5
- export declare function useRowSelection(propsRef: ComputedRef<BasicTableProps>, emit: any): {
6
- getRowSelectionRef: ComputedRef<TableRowSelection<any>>;
7
- clearSelectedRowKeys: () => void;
8
- getRowSelection: () => TableRowSelection<any>;
9
- getSelectRowKeys: () => string[];
10
- getSelectRows: () => Recordable<any>[];
11
- setSelectedRowKeys: (rowKeys: string[]) => void;
12
- };
@@ -1,5 +0,0 @@
1
- import { ComputedRef } from "vue";
2
- import { BasicTableProps } from "../types/table.type";
3
- export declare function useRows(propsRef: ComputedRef<BasicTableProps>): {
4
- getRowClassName: (record: any, index: number) => string;
5
- };
@@ -1,5 +0,0 @@
1
- import { DynamicProps } from '@dt-frames/core';
2
- import { BasicTableProps, TableActionType } from '../types/table.type';
3
- declare type Props = Partial<DynamicProps<BasicTableProps>>;
4
- export declare function useTable(tableProps?: Props): [registerTable: (...args: any) => void, methods: TableActionType];
5
- export {};
@@ -1,8 +0,0 @@
1
- import { Recordable } from "@dt-frames/core";
2
- import { ComputedRef, Slots } from "vue";
3
- import { BasicTableProps, ColumnChangeParam } from "../types/table.type";
4
- export declare function useTableHeader(propsRef: ComputedRef<BasicTableProps>, slots: Slots, handlers: {
5
- onColumnsChange: (data: ColumnChangeParam[]) => void;
6
- }): {
7
- getHeaderProps: ComputedRef<Recordable<any>>;
8
- };
@@ -1,15 +0,0 @@
1
- import { Nullable, Recordable } from "@dt-frames/core";
2
- import { ComputedRef, Ref } from "vue";
3
- import { BasicTableProps, TableActionType } from "../types/table.type";
4
- declare type Instance = TableActionType & {
5
- tableElRef: Ref<Nullable<HTMLElement>>;
6
- getBind: ComputedRef<Recordable>;
7
- getProps: ComputedRef<Recordable>;
8
- };
9
- declare type RetInstance = Omit<Instance, 'getBind'> & {
10
- getBind: ComputedRef<BasicTableProps>;
11
- getProps: ComputedRef<Recordable>;
12
- };
13
- export declare function createTableInstance(instance: Instance): void;
14
- export declare function getTableInstance(): RetInstance;
15
- export {};
@@ -1,12 +0,0 @@
1
- import { ComputedRef, Ref } from "vue";
2
- import { BasicColumn, BasicTableProps, TableRowSelection } from "../types/table.type";
3
- export declare function useTableScroll(propsRef: ComputedRef<BasicTableProps>, tableElRef: Ref<HTMLDivElement & {
4
- $el: any;
5
- } | null>, columnsRef: ComputedRef<BasicColumn[]>, rowSelectionRef: ComputedRef<TableRowSelection | null>): {
6
- getScrollRef: ComputedRef<{
7
- x: string | number | true;
8
- y: string | number;
9
- scrollToFirstRowOnChange: boolean;
10
- }>;
11
- filterSource: Ref<any[]>;
12
- };