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,105 +0,0 @@
1
- import type { ExtractPropTypes } from 'vue';
2
- import type { TreeDataItem } from 'ant-design-vue/es/tree/Tree';
3
- export declare enum ToolbarEnum {
4
- SELECT_ALL = 0,
5
- UN_SELECT_ALL = 1,
6
- EXPAND_ALL = 2,
7
- UN_EXPAND_ALL = 3,
8
- CHECK_STRICTLY = 4,
9
- CHECK_UN_STRICTLY = 5
10
- }
11
- export declare const treeEmits: string[];
12
- export interface TreeState {
13
- expandedKeys: KeyType[];
14
- selectedKeys: KeyType[];
15
- checkedKeys: CheckKeys;
16
- checkStrictly: boolean;
17
- }
18
- export interface FieldNames {
19
- children?: string;
20
- title?: string;
21
- key?: string;
22
- }
23
- export declare type KeyType = string | number;
24
- export declare type CheckKeys = KeyType[] | {
25
- checked: string[] | number[];
26
- halfChecked: string[] | number[];
27
- };
28
- export declare const treeProps: {
29
- value: import("@shy-plugins/utils").BuildPropReturn<PropType<KeyType[] | CheckKeys>, (() => KeyType[]) | (() => KeyType[]) | (() => {
30
- checked: string[] | number[];
31
- halfChecked: string[] | number[];
32
- }), unknown, unknown, unknown>;
33
- renderIcon: import("@shy-plugins/utils").BuildPropReturn<PropType<(params: Recordable) => string>, ((params: Recordable) => string) | (() => (params: Recordable) => string), unknown, unknown, unknown>;
34
- helpMessage: import("@shy-plugins/utils").BuildPropReturn<PropType<string | string[]>, string | (() => string), unknown, unknown, unknown>;
35
- title: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
36
- toolbar: BooleanConstructor;
37
- search: BooleanConstructor;
38
- searchValue: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
39
- checkStrictly: BooleanConstructor;
40
- clickRowToExpand: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
41
- checkable: BooleanConstructor;
42
- defaultExpandLevel: import("@shy-plugins/utils").BuildPropReturn<PropType<string | number>, string | (() => string), unknown, unknown, unknown>;
43
- defaultExpandAll: BooleanConstructor;
44
- fieldNames: import("@shy-plugins/utils").BuildPropReturn<PropType<FieldNames>, unknown, unknown, unknown, unknown>;
45
- 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>;
46
- actionList: import("@shy-plugins/utils").BuildPropReturn<PropType<TreeActionItem[]>, () => any[], unknown, unknown, unknown>;
47
- expandedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<KeyType[]>, () => any[], unknown, unknown, unknown>;
48
- selectedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<KeyType[]>, () => any[], unknown, unknown, unknown>;
49
- checkedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<CheckKeys>, () => any[], unknown, unknown, unknown>;
50
- beforeRightClick: import("@shy-plugins/utils").BuildPropReturn<PropType<(...arg: any) => ContextMenuItem[] | ContextMenuOptions>, any, unknown, unknown, unknown>;
51
- rightMenuList: import("@shy-plugins/utils").BuildPropReturn<PropType<ContextMenuItem[]>, () => ContextMenuItem[], unknown, unknown, unknown>;
52
- filterFn: import("@shy-plugins/utils").BuildPropReturn<PropType<(searchValue: any, node: TreeItem, fieldNames: FieldNames) => boolean>, any, unknown, unknown, unknown>;
53
- highlight: import("@shy-plugins/utils").BuildPropReturn<PropType<String | Boolean>, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
54
- expandOnSearch: BooleanConstructor;
55
- checkOnSearch: BooleanConstructor;
56
- selectedOnSearch: BooleanConstructor;
57
- loading: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
58
- treeWrapperClassName: StringConstructor;
59
- };
60
- export declare type TreeProps = ExtractPropTypes<typeof treeProps>;
61
- export interface ContextMenuItem {
62
- label: string;
63
- icon?: string;
64
- hidden?: boolean;
65
- disabled?: boolean;
66
- handler?: Fn;
67
- divider?: boolean;
68
- children?: ContextMenuItem[];
69
- }
70
- export interface ContextMenuOptions {
71
- icon?: string;
72
- styles?: any;
73
- items?: ContextMenuItem[];
74
- }
75
- export interface TreeItem extends TreeDataItem {
76
- icon?: any;
77
- }
78
- export interface TreeActionItem {
79
- render: (record: Recordable) => any;
80
- show?: boolean | ((record: Recordable) => boolean);
81
- }
82
- export interface InsertNodeParams {
83
- parentKey: string | null;
84
- node: TreeDataItem;
85
- list?: TreeDataItem[];
86
- push?: 'push' | 'unshift';
87
- }
88
- export interface TreeActionType {
89
- checkAll: (checkAll: boolean) => void;
90
- expandAll: (expandAll: boolean) => void;
91
- setExpandedKeys: (keys: KeyType[]) => void;
92
- getExpandedKeys: () => KeyType[];
93
- setSelectedKeys: (keys: KeyType[]) => void;
94
- getSelectedKeys: () => KeyType[];
95
- setCheckedKeys: (keys: CheckKeys) => void;
96
- getCheckedKeys: () => CheckKeys;
97
- filterByLevel: (level: number) => void;
98
- insertNodeByKey: (opt: InsertNodeParams) => void;
99
- insertNodesByKey: (opt: InsertNodeParams) => void;
100
- deleteNodeByKey: (key: string) => void;
101
- updateNodeByKey: (key: string, node: Omit<TreeDataItem, 'key'>) => void;
102
- setSearchValue: (value: string) => void;
103
- getSearchValue: () => string;
104
- getSelectedNode: (key: KeyType, treeList?: TreeItem[], selectNode?: TreeItem | null) => TreeItem | null;
105
- }
File without changes
@@ -1,3 +0,0 @@
1
- import type { ObjectDirective } from 'vue';
2
- declare const ClickOutside: ObjectDirective;
3
- export default ClickOutside;
@@ -1 +0,0 @@
1
- export { default as clickOutside } from './clickOutside';
@@ -1,11 +0,0 @@
1
- export declare enum SizeEnum {
2
- DEFAULT = "default",
3
- SMALL = "small",
4
- LARGE = "large"
5
- }
6
- export declare enum SizeNumberEnum {
7
- DEFAULT = 48,
8
- SMALL = 16,
9
- LARGE = 64
10
- }
11
- export declare const sizeMap: Map<SizeEnum, SizeNumberEnum>;