3h1-ui 1.2.6 → 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 (166) hide show
  1. package/es/{ui/types/global.d.ts → global.d.ts} +102 -102
  2. package/es/{ui/types/index.d.ts → index.d.ts} +28 -28
  3. package/es/index.js +7751 -5410
  4. package/es/style.css +853 -625
  5. package/lib/global.d.ts +102 -0
  6. package/lib/index.d.ts +28 -0
  7. package/lib/index.js +7718 -5380
  8. package/package.json +8 -6
  9. package/es/ui/index.d.ts +0 -20
  10. package/es/ui/src/Basic/index.d.ts +0 -4
  11. package/es/ui/src/Basic/src/BasicHelp.vue.d.ts +0 -99
  12. package/es/ui/src/Basic/src/BasicTitle.vue.d.ts +0 -117
  13. package/es/ui/src/Button/index.d.ts +0 -5
  14. package/es/ui/src/Button/src/BasicButton.vue.d.ts +0 -2
  15. package/es/ui/src/Button/src/PopConfirmButton.vue.d.ts +0 -24
  16. package/es/ui/src/Button/src/props.d.ts +0 -37
  17. package/es/ui/src/ClickOutSide/index.d.ts +0 -2
  18. package/es/ui/src/ClickOutSide/src/ClickOutSide.vue.d.ts +0 -8
  19. package/es/ui/src/Container/index.d.ts +0 -5
  20. package/es/ui/src/Container/src/LazyContainer.vue.d.ts +0 -121
  21. package/es/ui/src/Container/src/ScrollContainer.vue.d.ts +0 -9
  22. package/es/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +0 -553
  23. package/es/ui/src/Container/src/collapse/CollapseHeader.vue.d.ts +0 -42
  24. package/es/ui/src/Container/src/typing.d.ts +0 -15
  25. package/es/ui/src/ContextMenu/index.d.ts +0 -3
  26. package/es/ui/src/ContextMenu/src/ContextMenu.vue.d.ts +0 -64
  27. package/es/ui/src/ContextMenu/src/createContextMenu.d.ts +0 -3
  28. package/es/ui/src/ContextMenu/src/typing.d.ts +0 -33
  29. package/es/ui/src/ContextMenu/src/useContextMenu.d.ts +0 -3
  30. package/es/ui/src/CountDown/index.d.ts +0 -3
  31. package/es/ui/src/CountDown/src/CountButton.vue.d.ts +0 -35
  32. package/es/ui/src/CountDown/src/CountdownInput.vue.d.ts +0 -41
  33. package/es/ui/src/CountDown/src/useCountdown.d.ts +0 -9
  34. package/es/ui/src/CountTo/index.d.ts +0 -2
  35. package/es/ui/src/CountTo/src/CountTo.vue.d.ts +0 -137
  36. package/es/ui/src/Cropper/index.d.ts +0 -4
  37. package/es/ui/src/Cropper/src/CopperModal.vue.d.ts +0 -39
  38. package/es/ui/src/Cropper/src/Cropper.vue.d.ts +0 -87
  39. package/es/ui/src/Cropper/src/CropperAvatar.vue.d.ts +0 -73
  40. package/es/ui/src/Cropper/src/typing.d.ts +0 -6
  41. package/es/ui/src/Description/index.d.ts +0 -4
  42. package/es/ui/src/Description/src/Description.vue.d.ts +0 -101
  43. package/es/ui/src/Description/src/typing.d.ts +0 -39
  44. package/es/ui/src/Description/src/useDescription.d.ts +0 -2
  45. package/es/ui/src/Drawer/index.d.ts +0 -3
  46. package/es/ui/src/Drawer/src/BasicDrawer.vue.d.ts +0 -170
  47. package/es/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +0 -95
  48. package/es/ui/src/Drawer/src/props.d.ts +0 -115
  49. package/es/ui/src/Drawer/src/typing.d.ts +0 -177
  50. package/es/ui/src/Drawer/src/useDrawer.d.ts +0 -6
  51. package/es/ui/src/Dropdown/index.d.ts +0 -3
  52. package/es/ui/src/Dropdown/src/typing.d.ts +0 -9
  53. package/es/ui/src/Form/index.d.ts +0 -13
  54. package/es/ui/src/Form/src/BasicForm.vue.d.ts +0 -2
  55. package/es/ui/src/Form/src/componentMap.d.ts +0 -6
  56. package/es/ui/src/Form/src/components/ApiCascader.vue.d.ts +0 -2
  57. package/es/ui/src/Form/src/components/ApiModalSelect/DeptTree.vue.d.ts +0 -130
  58. package/es/ui/src/Form/src/components/ApiModalSelect/Table.vue.d.ts +0 -11
  59. package/es/ui/src/Form/src/components/ApiRadioGroup.vue.d.ts +0 -2
  60. package/es/ui/src/Form/src/components/ApiSelect.vue.d.ts +0 -2
  61. package/es/ui/src/Form/src/components/ApiTransfer.vue.d.ts +0 -2
  62. package/es/ui/src/Form/src/components/ApiTree.vue.d.ts +0 -2
  63. package/es/ui/src/Form/src/components/ApiTreeSelect.vue.d.ts +0 -2
  64. package/es/ui/src/Form/src/components/FormAction.vue.d.ts +0 -2
  65. package/es/ui/src/Form/src/components/FormItem.vue.d.ts +0 -72
  66. package/es/ui/src/Form/src/components/RadioButtonGroup.vue.d.ts +0 -35
  67. package/es/ui/src/Form/src/helper.d.ts +0 -14
  68. package/es/ui/src/Form/src/hooks/useAutoFocus.d.ts +0 -10
  69. package/es/ui/src/Form/src/hooks/useComponentRegister.d.ts +0 -3
  70. package/es/ui/src/Form/src/hooks/useForm.d.ts +0 -10
  71. package/es/ui/src/Form/src/hooks/useFormContext.d.ts +0 -8
  72. package/es/ui/src/Form/src/hooks/useFormEvents.d.ts +0 -28
  73. package/es/ui/src/Form/src/hooks/useFormValues.d.ts +0 -13
  74. package/es/ui/src/Form/src/hooks/useLabelWidth.d.ts +0 -318
  75. package/es/ui/src/Form/src/props.d.ts +0 -2
  76. package/es/ui/src/Form/src/types/hooks.d.ts +0 -6
  77. package/es/ui/src/Icon/data/icons.data.d.ts +0 -2
  78. package/es/ui/src/Icon/index.d.ts +0 -5
  79. package/es/ui/src/Icon/src/SvgIcon.vue.d.ts +0 -45
  80. package/es/ui/src/Loading/index.d.ts +0 -4
  81. package/es/ui/src/Loading/src/Loading.vue.d.ts +0 -57
  82. package/es/ui/src/Loading/src/createLoading.d.ts +0 -13
  83. package/es/ui/src/Loading/src/typing.d.ts +0 -9
  84. package/es/ui/src/Loading/src/useLoading.d.ts +0 -11
  85. package/es/ui/src/Modal/index.d.ts +0 -4
  86. package/es/ui/src/Modal/src/components/BasicHelp.vue.d.ts +0 -99
  87. package/es/ui/src/Modal/src/components/BasicTitle.vue.d.ts +0 -117
  88. package/es/ui/src/Modal/src/components/Modal.d.ts +0 -10
  89. package/es/ui/src/Modal/src/components/ModalClose.vue.d.ts +0 -39
  90. package/es/ui/src/Modal/src/components/ModalFooter.vue.d.ts +0 -14
  91. package/es/ui/src/Modal/src/components/ModalHeader.vue.d.ts +0 -19
  92. package/es/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +0 -95
  93. package/es/ui/src/Modal/src/components/ScrollContainer.vue.d.ts +0 -9
  94. package/es/ui/src/Modal/src/hooks/useAttrs.d.ts +0 -9
  95. package/es/ui/src/Modal/src/hooks/useContext.d.ts +0 -10
  96. package/es/ui/src/Modal/src/hooks/useDesign.d.ts +0 -22
  97. package/es/ui/src/Modal/src/hooks/useI18n.d.ts +0 -15
  98. package/es/ui/src/Modal/src/hooks/useModal.d.ts +0 -6
  99. package/es/ui/src/Modal/src/hooks/useModalContext.d.ts +0 -7
  100. package/es/ui/src/Modal/src/hooks/useModalDrag.d.ts +0 -7
  101. package/es/ui/src/Modal/src/hooks/useModalFullScreen.d.ts +0 -11
  102. package/es/ui/src/Modal/src/hooks/useScrollTo.d.ts +0 -10
  103. package/es/ui/src/Modal/src/hooks/useTimeout.d.ts +0 -10
  104. package/es/ui/src/Modal/src/hooks/useWindowSizeFn.d.ts +0 -7
  105. package/es/ui/src/Modal/src/props.d.ts +0 -34
  106. package/es/ui/src/Modal/src/typing.d.ts +0 -173
  107. package/es/ui/src/Modal/src/utils/index.d.ts +0 -5
  108. package/es/ui/src/Modal/src/utils/is.d.ts +0 -13
  109. package/es/ui/src/Modal/src/utils/log.d.ts +0 -2
  110. package/es/ui/src/Modal/src/utils/tsxHelper.d.ts +0 -13
  111. package/es/ui/src/Page/index.d.ts +0 -4
  112. package/es/ui/src/Page/src/PageFooter.vue.d.ts +0 -5
  113. package/es/ui/src/Scrollbar/index.d.ts +0 -6
  114. package/es/ui/src/Scrollbar/src/Scrollbar.vue.d.ts +0 -72
  115. package/es/ui/src/Scrollbar/src/bar.d.ts +0 -14
  116. package/es/ui/src/Scrollbar/src/types.d.ts +0 -18
  117. package/es/ui/src/Scrollbar/src/util.d.ts +0 -8
  118. package/es/ui/src/StrengthMeter/index.d.ts +0 -2
  119. package/es/ui/src/Table/index.d.ts +0 -11
  120. package/es/ui/src/Table/src/BasicTable.vue.d.ts +0 -2
  121. package/es/ui/src/Table/src/componentMap.d.ts +0 -6
  122. package/es/ui/src/Table/src/components/EditTableHeaderIcon.vue.d.ts +0 -14
  123. package/es/ui/src/Table/src/components/HeaderCell.vue.d.ts +0 -21
  124. package/es/ui/src/Table/src/components/TableAction.vue.d.ts +0 -2
  125. package/es/ui/src/Table/src/components/TableHeader.vue.d.ts +0 -40
  126. package/es/ui/src/Table/src/components/editable/CellComponent.d.ts +0 -10
  127. package/es/ui/src/Table/src/components/editable/helper.d.ts +0 -5
  128. package/es/ui/src/Table/src/components/editable/index.d.ts +0 -22
  129. package/es/ui/src/Table/src/components/settings/ColumnSetting.vue.d.ts +0 -29
  130. package/es/ui/src/Table/src/components/settings/FullScreenSetting.vue.d.ts +0 -6
  131. package/es/ui/src/Table/src/components/settings/ShowSearchSetting.vue.d.ts +0 -5
  132. package/es/ui/src/Table/src/components/settings/SizeSetting.vue.d.ts +0 -11
  133. package/es/ui/src/Table/src/components/settings/index.vue.d.ts +0 -23
  134. package/es/ui/src/Table/src/const.d.ts +0 -22
  135. package/es/ui/src/Table/src/hooks/useCustomRow.d.ts +0 -19
  136. package/es/ui/src/Table/src/hooks/useDataSource.d.ts +0 -28
  137. package/es/ui/src/Table/src/hooks/useLoading.d.ts +0 -6
  138. package/es/ui/src/Table/src/hooks/usePagination.d.ts +0 -10
  139. package/es/ui/src/Table/src/hooks/useRowSelection.d.ts +0 -12
  140. package/es/ui/src/Table/src/hooks/useScrollTo.d.ts +0 -4
  141. package/es/ui/src/Table/src/hooks/useTable.d.ts +0 -17
  142. package/es/ui/src/Table/src/hooks/useTableContext.d.ts +0 -13
  143. package/es/ui/src/Table/src/hooks/useTableExpand.d.ts +0 -14
  144. package/es/ui/src/Table/src/hooks/useTableFooter.d.ts +0 -9
  145. package/es/ui/src/Table/src/hooks/useTableForm.d.ts +0 -8
  146. package/es/ui/src/Table/src/hooks/useTableHeader.d.ts +0 -5
  147. package/es/ui/src/Table/src/hooks/useTableScroll.d.ts +0 -10
  148. package/es/ui/src/Table/src/hooks/useTableStyle.d.ts +0 -5
  149. package/es/ui/src/Table/src/props.d.ts +0 -2
  150. package/es/ui/src/Table/src/types/componentType.d.ts +0 -1
  151. package/es/ui/src/Table/src/types/pagination.d.ts +0 -93
  152. package/es/ui/src/Table/src/types/table.d.ts +0 -372
  153. package/es/ui/src/Table/src/types/tableAction.d.ts +0 -28
  154. package/es/ui/src/Transition/index.d.ts +0 -368
  155. package/es/ui/src/Transition/src/CollapseTransition.vue.d.ts +0 -11
  156. package/es/ui/src/Transition/src/CreateTransition.d.ts +0 -47
  157. package/es/ui/src/Transition/src/ExpandTransition.d.ts +0 -23
  158. package/es/ui/src/Tree/index.d.ts +0 -12
  159. package/es/ui/src/Tree/src/BasicTree.vue.d.ts +0 -94
  160. package/es/ui/src/Tree/src/TreeIcon.d.ts +0 -2
  161. package/es/ui/src/Tree/src/hooks/useTree.d.ts +0 -14
  162. package/es/ui/src/Tree/src/types/tree.d.ts +0 -105
  163. package/es/ui/src/Tree/style/index.d.ts +0 -0
  164. package/es/ui/src/directives/clickOutside.d.ts +0 -3
  165. package/es/ui/src/directives/index.d.ts +0 -1
  166. package/es/ui/src/enums/sizeEnum.d.ts +0 -11
@@ -1,130 +0,0 @@
1
- import { TreeItem } from '../../../../Tree';
2
- declare const _sfc_main: import("vue").DefineComponent<{
3
- api: {
4
- default: () => () => Promise<unknown>;
5
- };
6
- fieldNames: {
7
- default: () => {
8
- label: string;
9
- value: string;
10
- };
11
- };
12
- }, {
13
- treeData: any;
14
- searchToolbar: import("vue").Ref<boolean>;
15
- emit: (event: "select", ...args: any[]) => void;
16
- props: any;
17
- fetch: () => Promise<void>;
18
- handleSelect: (keys: string) => void;
19
- readonly BasicTree: import("vue").DefineComponent<{
20
- value: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[] | import("../../../../Tree").CheckKeys>, (() => import("../../../../Tree").KeyType[]) | (() => import("../../../../Tree").KeyType[]) | (() => {
21
- checked: string[] | number[];
22
- halfChecked: string[] | number[];
23
- }), unknown, unknown, unknown>;
24
- renderIcon: import("@shy-plugins/utils").BuildPropReturn<PropType<(params: Recordable<any>) => string>, ((params: Recordable<any>) => string) | (() => (params: Recordable<any>) => string), unknown, unknown, unknown>;
25
- helpMessage: import("@shy-plugins/utils").BuildPropReturn<PropType<string | string[]>, string | (() => string), unknown, unknown, unknown>;
26
- title: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
27
- toolbar: BooleanConstructor;
28
- search: BooleanConstructor;
29
- searchValue: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
30
- checkStrictly: BooleanConstructor;
31
- clickRowToExpand: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
32
- checkable: BooleanConstructor;
33
- defaultExpandLevel: import("@shy-plugins/utils").BuildPropReturn<PropType<string | number>, string | (() => string), unknown, unknown, unknown>;
34
- defaultExpandAll: BooleanConstructor;
35
- fieldNames: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").FieldNames>, unknown, unknown, unknown, unknown>;
36
- treeData: import("@shy-plugins/utils").BuildPropReturn<PropType<import("ant-design-vue/es/vc-tree/interface").DataNode[]>, () => import("ant-design-vue/es/vc-tree/interface").DataNode[], unknown, unknown, unknown>;
37
- actionList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").TreeActionItem[]>, () => any[], unknown, unknown, unknown>;
38
- expandedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[]>, () => any[], unknown, unknown, unknown>;
39
- selectedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[]>, () => any[], unknown, unknown, unknown>;
40
- checkedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").CheckKeys>, () => any[], unknown, unknown, unknown>;
41
- beforeRightClick: import("@shy-plugins/utils").BuildPropReturn<PropType<(...arg: any) => import("../../../../Tree").ContextMenuOptions | import("../../../../Tree/src/types/tree").ContextMenuItem[]>, any, unknown, unknown, unknown>;
42
- rightMenuList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree/src/types/tree").ContextMenuItem[]>, () => import("../../../../Tree/src/types/tree").ContextMenuItem[], unknown, unknown, unknown>;
43
- filterFn: import("@shy-plugins/utils").BuildPropReturn<PropType<(searchValue: any, node: TreeItem, fieldNames: import("../../../../Tree").FieldNames) => boolean>, any, unknown, unknown, unknown>;
44
- highlight: import("@shy-plugins/utils").BuildPropReturn<PropType<String | Boolean>, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
45
- expandOnSearch: BooleanConstructor;
46
- checkOnSearch: BooleanConstructor;
47
- selectedOnSearch: BooleanConstructor;
48
- loading: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
49
- treeWrapperClassName: StringConstructor;
50
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
- value: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[] | import("../../../../Tree").CheckKeys>, (() => import("../../../../Tree").KeyType[]) | (() => import("../../../../Tree").KeyType[]) | (() => {
52
- checked: string[] | number[];
53
- halfChecked: string[] | number[];
54
- }), unknown, unknown, unknown>;
55
- renderIcon: import("@shy-plugins/utils").BuildPropReturn<PropType<(params: Recordable<any>) => string>, ((params: Recordable<any>) => string) | (() => (params: Recordable<any>) => string), unknown, unknown, unknown>;
56
- helpMessage: import("@shy-plugins/utils").BuildPropReturn<PropType<string | string[]>, string | (() => string), unknown, unknown, unknown>;
57
- title: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
58
- toolbar: BooleanConstructor;
59
- search: BooleanConstructor;
60
- searchValue: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
61
- checkStrictly: BooleanConstructor;
62
- clickRowToExpand: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
63
- checkable: BooleanConstructor;
64
- defaultExpandLevel: import("@shy-plugins/utils").BuildPropReturn<PropType<string | number>, string | (() => string), unknown, unknown, unknown>;
65
- defaultExpandAll: BooleanConstructor;
66
- fieldNames: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").FieldNames>, unknown, unknown, unknown, unknown>;
67
- treeData: import("@shy-plugins/utils").BuildPropReturn<PropType<import("ant-design-vue/es/vc-tree/interface").DataNode[]>, () => import("ant-design-vue/es/vc-tree/interface").DataNode[], unknown, unknown, unknown>;
68
- actionList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").TreeActionItem[]>, () => any[], unknown, unknown, unknown>;
69
- expandedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[]>, () => any[], unknown, unknown, unknown>;
70
- selectedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[]>, () => any[], unknown, unknown, unknown>;
71
- checkedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").CheckKeys>, () => any[], unknown, unknown, unknown>;
72
- beforeRightClick: import("@shy-plugins/utils").BuildPropReturn<PropType<(...arg: any) => import("../../../../Tree").ContextMenuOptions | import("../../../../Tree/src/types/tree").ContextMenuItem[]>, any, unknown, unknown, unknown>;
73
- rightMenuList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree/src/types/tree").ContextMenuItem[]>, () => import("../../../../Tree/src/types/tree").ContextMenuItem[], unknown, unknown, unknown>;
74
- filterFn: import("@shy-plugins/utils").BuildPropReturn<PropType<(searchValue: any, node: TreeItem, fieldNames: import("../../../../Tree").FieldNames) => boolean>, any, unknown, unknown, unknown>;
75
- highlight: import("@shy-plugins/utils").BuildPropReturn<PropType<String | Boolean>, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
76
- expandOnSearch: BooleanConstructor;
77
- checkOnSearch: BooleanConstructor;
78
- selectedOnSearch: BooleanConstructor;
79
- loading: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
80
- treeWrapperClassName: StringConstructor;
81
- }>> & {
82
- [x: `on${Capitalize<string>}`]: (...args: any[]) => any;
83
- }, {
84
- title: string;
85
- loading: import("@shy-plugins/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
86
- value: import("@shy-plugins/utils").BuildPropType<PropType<import("../../../../Tree").KeyType[] | import("../../../../Tree").CheckKeys>, unknown, unknown>;
87
- helpMessage: import("@shy-plugins/utils").BuildPropType<PropType<string | string[]>, unknown, unknown>;
88
- search: boolean;
89
- selectedKeys: import("../../../../Tree").KeyType[];
90
- fieldNames: undefined;
91
- searchValue: string;
92
- treeData: import("ant-design-vue/es/vc-tree/interface").DataNode[];
93
- checkStrictly: boolean;
94
- checkable: boolean;
95
- defaultExpandAll: boolean;
96
- expandedKeys: import("../../../../Tree").KeyType[];
97
- checkedKeys: import("../../../../Tree").CheckKeys;
98
- renderIcon: (params: Recordable<any>) => string;
99
- toolbar: boolean;
100
- clickRowToExpand: import("@shy-plugins/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
101
- defaultExpandLevel: import("@shy-plugins/utils").BuildPropType<PropType<string | number>, unknown, unknown>;
102
- actionList: import("../../../../Tree").TreeActionItem[];
103
- beforeRightClick: (...arg: any) => import("../../../../Tree").ContextMenuOptions | import("../../../../Tree/src/types/tree").ContextMenuItem[];
104
- rightMenuList: import("../../../../Tree/src/types/tree").ContextMenuItem[];
105
- filterFn: (searchValue: any, node: TreeItem, fieldNames: import("../../../../Tree").FieldNames) => boolean;
106
- highlight: import("@shy-plugins/utils").BuildPropType<PropType<String | Boolean>, unknown, unknown>;
107
- expandOnSearch: boolean;
108
- checkOnSearch: boolean;
109
- selectedOnSearch: boolean;
110
- }>;
111
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
112
- api: {
113
- default: () => () => Promise<unknown>;
114
- };
115
- fieldNames: {
116
- default: () => {
117
- label: string;
118
- value: string;
119
- };
120
- };
121
- }>> & {
122
- onSelect?: (...args: any[]) => any;
123
- }, {
124
- fieldNames: {
125
- label: string;
126
- value: string;
127
- };
128
- api: () => Promise<unknown>;
129
- }>;
130
- export default _sfc_main;
@@ -1,11 +0,0 @@
1
- declare const _sfc_main: import("vue").DefineComponent<{}, {
2
- getTableProps: any;
3
- registerTable: (instance: import("../../../../Table").TableActionType, formInstance: import("../../../../Table").TableActionType & {
4
- getForm: () => import("../../../../form/src/types/form").FormActionType;
5
- }) => void;
6
- tableAction: import("../../../../Table").TableActionType & {
7
- getForm: () => import("../../../../form/src/types/form").FormActionType;
8
- };
9
- readonly BasicTable: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
10
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
11
- export default _sfc_main;
@@ -1,2 +0,0 @@
1
- declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
- export default _sfc_main;
@@ -1,2 +0,0 @@
1
- declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
- export default _sfc_main;
@@ -1,2 +0,0 @@
1
- declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
- export default _sfc_main;
@@ -1,2 +0,0 @@
1
- declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
- export default _sfc_main;
@@ -1,2 +0,0 @@
1
- declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
- export default _sfc_main;
@@ -1,2 +0,0 @@
1
- declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
- export default _sfc_main;
@@ -1,72 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import type { FormActionType, FormProps, FormSchema } from '../types/form';
3
- import type { TableActionType } from '../../../Table';
4
- declare const _sfc_main: import("vue").DefineComponent<{
5
- schema: {
6
- type: PropType<FormSchema>;
7
- default: () => {};
8
- };
9
- formProps: {
10
- type: PropType<FormProps>;
11
- default: () => {};
12
- };
13
- allDefaultValues: {
14
- type: PropType<Recordable<any>>;
15
- default: () => {};
16
- };
17
- formModel: {
18
- type: PropType<Recordable<any>>;
19
- default: () => {};
20
- };
21
- setFormModel: {
22
- type: PropType<(key: string, value: any) => void>;
23
- default: any;
24
- };
25
- tableAction: {
26
- type: PropType<TableActionType>;
27
- };
28
- formActionType: {
29
- type: PropType<FormActionType>;
30
- };
31
- isAdvanced: {
32
- type: BooleanConstructor;
33
- };
34
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
- schema: {
36
- type: PropType<FormSchema>;
37
- default: () => {};
38
- };
39
- formProps: {
40
- type: PropType<FormProps>;
41
- default: () => {};
42
- };
43
- allDefaultValues: {
44
- type: PropType<Recordable<any>>;
45
- default: () => {};
46
- };
47
- formModel: {
48
- type: PropType<Recordable<any>>;
49
- default: () => {};
50
- };
51
- setFormModel: {
52
- type: PropType<(key: string, value: any) => void>;
53
- default: any;
54
- };
55
- tableAction: {
56
- type: PropType<TableActionType>;
57
- };
58
- formActionType: {
59
- type: PropType<FormActionType>;
60
- };
61
- isAdvanced: {
62
- type: BooleanConstructor;
63
- };
64
- }>>, {
65
- schema: FormSchema;
66
- formProps: {};
67
- allDefaultValues: {};
68
- formModel: {};
69
- setFormModel: (key: string, value: any) => void;
70
- isAdvanced: boolean;
71
- }>;
72
- export default _sfc_main;
@@ -1,35 +0,0 @@
1
- import { PropType } from 'vue';
2
- declare type OptionsItem = {
3
- label: string;
4
- value: string | number | boolean;
5
- disabled?: boolean;
6
- };
7
- declare type RadioItem = string | OptionsItem;
8
- declare const _sfc_main: import("vue").DefineComponent<{
9
- value: {
10
- type: PropType<string | number | boolean>;
11
- };
12
- options: {
13
- type: PropType<RadioItem[]>;
14
- default: () => any[];
15
- };
16
- }, {
17
- state: import("vue").WritableComputedRef<string | number | boolean | (string | {
18
- label: string;
19
- value: string | number | boolean;
20
- disabled?: boolean;
21
- })[]>;
22
- getOptions: import("vue").ComputedRef<OptionsItem[]>;
23
- attrs: {} | import("vue").Ref<Recordable<any>>;
24
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
- value: {
26
- type: PropType<string | number | boolean>;
27
- };
28
- options: {
29
- type: PropType<RadioItem[]>;
30
- default: () => any[];
31
- };
32
- }>>, {
33
- options: RadioItem[];
34
- }>;
35
- export default _sfc_main;
@@ -1,14 +0,0 @@
1
- import type { ValidationRule } from 'ant-design-vue/lib/form/Form';
2
- import type { ComponentType } from './types/index';
3
- /**
4
- * @description: 生成placeholder
5
- */
6
- export declare function createPlaceholderMessage(component: ComponentType): "" | "请输入" | "请选择";
7
- export declare function setComponentRuleType(rule: ValidationRule, component: ComponentType, valueFormat: string): void;
8
- export declare function processDateValue(attr: Recordable, component: string): void;
9
- export declare function handleInputNumberValue(component?: ComponentType, val?: any): any;
10
- /**
11
- * 时间字段
12
- */
13
- export declare const dateItemType: string[];
14
- export declare const defaultValueComponents: string[];
@@ -1,10 +0,0 @@
1
- import type { ComputedRef, Ref } from 'vue';
2
- import type { FormSchema, FormActionType, FormProps } from '../types/form';
3
- interface UseAutoFocusContext {
4
- getSchema: ComputedRef<FormSchema[]>;
5
- getProps: ComputedRef<FormProps>;
6
- isInitedDefault: Ref<boolean>;
7
- formElRef: Ref<FormActionType>;
8
- }
9
- export declare function useAutoFocus({ getSchema, getProps, formElRef, isInitedDefault }: UseAutoFocusContext): Promise<void>;
10
- export {};
@@ -1,3 +0,0 @@
1
- import type { ComponentType } from '../types';
2
- import type { Component } from 'vue';
3
- export declare function useComponentRegister(compName: ComponentType, comp: Component): void;
@@ -1,10 +0,0 @@
1
- import type { FormProps, UseFormReturnType } from '../types/form';
2
- import type { NamePath } from 'ant-design-vue/lib/form/interface';
3
- import { Ref, ComputedRef } from 'vue';
4
- export declare type DynamicProps<T> = {
5
- [P in keyof T]: Ref<T[P]> | T[P] | ComputedRef<T[P]>;
6
- };
7
- export declare type ValidateFields = (nameList?: NamePath[]) => Promise<Recordable>;
8
- declare type Props = Partial<DynamicProps<FormProps>>;
9
- export declare function useForm(props?: Props): UseFormReturnType;
10
- export {};
@@ -1,8 +0,0 @@
1
- export interface FormContextProps {
2
- resetAction: () => Promise<void>;
3
- submitAction: () => Promise<void>;
4
- }
5
- export declare function createFormContext(context: FormContextProps): {
6
- state: any;
7
- };
8
- export declare function useFormContext(): FormContextProps;
@@ -1,28 +0,0 @@
1
- import type { ComputedRef, Ref } from 'vue';
2
- import type { FormProps, FormSchema, FormActionType } from '../types/form';
3
- import type { NamePath } from 'ant-design-vue/lib/form/interface';
4
- interface UseFormActionContext {
5
- emit: EmitType;
6
- getProps: ComputedRef<FormProps>;
7
- getSchema: ComputedRef<FormSchema[]>;
8
- formModel: Recordable;
9
- defaultValueRef: Ref<Recordable>;
10
- formElRef: Ref<FormActionType>;
11
- schemaRef: Ref<FormSchema[]>;
12
- handleFormValues: Fn;
13
- }
14
- export declare function useFormEvents({ emit, getProps, formModel, getSchema, defaultValueRef, formElRef, schemaRef, handleFormValues }: UseFormActionContext): {
15
- handleSubmit: (e?: Event) => Promise<void>;
16
- clearValidate: (name?: string | string[]) => Promise<void>;
17
- validate: (nameList?: NamePath[] | undefined) => Promise<any>;
18
- validateFields: (nameList?: NamePath[] | undefined) => Promise<any>;
19
- getFieldsValue: () => Recordable;
20
- updateSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => Promise<void>;
21
- resetSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => Promise<void>;
22
- appendSchemaByField: (schema: FormSchema, prefixField?: string, first?: boolean) => Promise<void>;
23
- removeSchemaByField: (fields: string | string[]) => Promise<void>;
24
- resetFields: () => Promise<void>;
25
- setFieldsValue: (values: Recordable) => Promise<void>;
26
- scrollToField: (name: NamePath, options?: ScrollOptions | undefined) => Promise<void>;
27
- };
28
- export {};
@@ -1,13 +0,0 @@
1
- import type { Ref, ComputedRef } from 'vue';
2
- import type { FormProps, FormSchema } from '../types/form';
3
- interface UseFormValuesContext {
4
- defaultValueRef: Ref<any>;
5
- getSchema: ComputedRef<FormSchema[]>;
6
- getProps: ComputedRef<FormProps>;
7
- formModel: Recordable;
8
- }
9
- export declare function useFormValues({ defaultValueRef, getSchema, formModel, getProps }: UseFormValuesContext): {
10
- handleFormValues: (values: Recordable) => Recordable<any>;
11
- initDefault: () => void;
12
- };
13
- export {};