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.
- package/es/{ui/types/global.d.ts → global.d.ts} +102 -102
- package/es/{ui/types/index.d.ts → index.d.ts} +28 -28
- package/es/index.js +7751 -5410
- package/es/style.css +853 -625
- package/lib/global.d.ts +102 -0
- package/lib/index.d.ts +28 -0
- package/lib/index.js +7718 -5380
- package/package.json +8 -6
- package/es/ui/index.d.ts +0 -20
- package/es/ui/src/Basic/index.d.ts +0 -4
- package/es/ui/src/Basic/src/BasicHelp.vue.d.ts +0 -99
- package/es/ui/src/Basic/src/BasicTitle.vue.d.ts +0 -117
- package/es/ui/src/Button/index.d.ts +0 -5
- package/es/ui/src/Button/src/BasicButton.vue.d.ts +0 -2
- package/es/ui/src/Button/src/PopConfirmButton.vue.d.ts +0 -24
- package/es/ui/src/Button/src/props.d.ts +0 -37
- package/es/ui/src/ClickOutSide/index.d.ts +0 -2
- package/es/ui/src/ClickOutSide/src/ClickOutSide.vue.d.ts +0 -8
- package/es/ui/src/Container/index.d.ts +0 -5
- package/es/ui/src/Container/src/LazyContainer.vue.d.ts +0 -121
- package/es/ui/src/Container/src/ScrollContainer.vue.d.ts +0 -9
- package/es/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +0 -553
- package/es/ui/src/Container/src/collapse/CollapseHeader.vue.d.ts +0 -42
- package/es/ui/src/Container/src/typing.d.ts +0 -15
- package/es/ui/src/ContextMenu/index.d.ts +0 -3
- package/es/ui/src/ContextMenu/src/ContextMenu.vue.d.ts +0 -64
- package/es/ui/src/ContextMenu/src/createContextMenu.d.ts +0 -3
- package/es/ui/src/ContextMenu/src/typing.d.ts +0 -33
- package/es/ui/src/ContextMenu/src/useContextMenu.d.ts +0 -3
- package/es/ui/src/CountDown/index.d.ts +0 -3
- package/es/ui/src/CountDown/src/CountButton.vue.d.ts +0 -35
- package/es/ui/src/CountDown/src/CountdownInput.vue.d.ts +0 -41
- package/es/ui/src/CountDown/src/useCountdown.d.ts +0 -9
- package/es/ui/src/CountTo/index.d.ts +0 -2
- package/es/ui/src/CountTo/src/CountTo.vue.d.ts +0 -137
- package/es/ui/src/Cropper/index.d.ts +0 -4
- package/es/ui/src/Cropper/src/CopperModal.vue.d.ts +0 -39
- package/es/ui/src/Cropper/src/Cropper.vue.d.ts +0 -87
- package/es/ui/src/Cropper/src/CropperAvatar.vue.d.ts +0 -73
- package/es/ui/src/Cropper/src/typing.d.ts +0 -6
- package/es/ui/src/Description/index.d.ts +0 -4
- package/es/ui/src/Description/src/Description.vue.d.ts +0 -101
- package/es/ui/src/Description/src/typing.d.ts +0 -39
- package/es/ui/src/Description/src/useDescription.d.ts +0 -2
- package/es/ui/src/Drawer/index.d.ts +0 -3
- package/es/ui/src/Drawer/src/BasicDrawer.vue.d.ts +0 -170
- package/es/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +0 -95
- package/es/ui/src/Drawer/src/props.d.ts +0 -115
- package/es/ui/src/Drawer/src/typing.d.ts +0 -177
- package/es/ui/src/Drawer/src/useDrawer.d.ts +0 -6
- package/es/ui/src/Dropdown/index.d.ts +0 -3
- package/es/ui/src/Dropdown/src/typing.d.ts +0 -9
- package/es/ui/src/Form/index.d.ts +0 -13
- package/es/ui/src/Form/src/BasicForm.vue.d.ts +0 -2
- package/es/ui/src/Form/src/componentMap.d.ts +0 -6
- package/es/ui/src/Form/src/components/ApiCascader.vue.d.ts +0 -2
- package/es/ui/src/Form/src/components/ApiModalSelect/DeptTree.vue.d.ts +0 -130
- package/es/ui/src/Form/src/components/ApiModalSelect/Table.vue.d.ts +0 -11
- package/es/ui/src/Form/src/components/ApiRadioGroup.vue.d.ts +0 -2
- package/es/ui/src/Form/src/components/ApiSelect.vue.d.ts +0 -2
- package/es/ui/src/Form/src/components/ApiTransfer.vue.d.ts +0 -2
- package/es/ui/src/Form/src/components/ApiTree.vue.d.ts +0 -2
- package/es/ui/src/Form/src/components/ApiTreeSelect.vue.d.ts +0 -2
- package/es/ui/src/Form/src/components/FormAction.vue.d.ts +0 -2
- package/es/ui/src/Form/src/components/FormItem.vue.d.ts +0 -72
- package/es/ui/src/Form/src/components/RadioButtonGroup.vue.d.ts +0 -35
- package/es/ui/src/Form/src/helper.d.ts +0 -14
- package/es/ui/src/Form/src/hooks/useAutoFocus.d.ts +0 -10
- package/es/ui/src/Form/src/hooks/useComponentRegister.d.ts +0 -3
- package/es/ui/src/Form/src/hooks/useForm.d.ts +0 -10
- package/es/ui/src/Form/src/hooks/useFormContext.d.ts +0 -8
- package/es/ui/src/Form/src/hooks/useFormEvents.d.ts +0 -28
- package/es/ui/src/Form/src/hooks/useFormValues.d.ts +0 -13
- package/es/ui/src/Form/src/hooks/useLabelWidth.d.ts +0 -318
- package/es/ui/src/Form/src/props.d.ts +0 -2
- package/es/ui/src/Form/src/types/hooks.d.ts +0 -6
- package/es/ui/src/Icon/data/icons.data.d.ts +0 -2
- package/es/ui/src/Icon/index.d.ts +0 -5
- package/es/ui/src/Icon/src/SvgIcon.vue.d.ts +0 -45
- package/es/ui/src/Loading/index.d.ts +0 -4
- package/es/ui/src/Loading/src/Loading.vue.d.ts +0 -57
- package/es/ui/src/Loading/src/createLoading.d.ts +0 -13
- package/es/ui/src/Loading/src/typing.d.ts +0 -9
- package/es/ui/src/Loading/src/useLoading.d.ts +0 -11
- package/es/ui/src/Modal/index.d.ts +0 -4
- package/es/ui/src/Modal/src/components/BasicHelp.vue.d.ts +0 -99
- package/es/ui/src/Modal/src/components/BasicTitle.vue.d.ts +0 -117
- package/es/ui/src/Modal/src/components/Modal.d.ts +0 -10
- package/es/ui/src/Modal/src/components/ModalClose.vue.d.ts +0 -39
- package/es/ui/src/Modal/src/components/ModalFooter.vue.d.ts +0 -14
- package/es/ui/src/Modal/src/components/ModalHeader.vue.d.ts +0 -19
- package/es/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +0 -95
- package/es/ui/src/Modal/src/components/ScrollContainer.vue.d.ts +0 -9
- package/es/ui/src/Modal/src/hooks/useAttrs.d.ts +0 -9
- package/es/ui/src/Modal/src/hooks/useContext.d.ts +0 -10
- package/es/ui/src/Modal/src/hooks/useDesign.d.ts +0 -22
- package/es/ui/src/Modal/src/hooks/useI18n.d.ts +0 -15
- package/es/ui/src/Modal/src/hooks/useModal.d.ts +0 -6
- package/es/ui/src/Modal/src/hooks/useModalContext.d.ts +0 -7
- package/es/ui/src/Modal/src/hooks/useModalDrag.d.ts +0 -7
- package/es/ui/src/Modal/src/hooks/useModalFullScreen.d.ts +0 -11
- package/es/ui/src/Modal/src/hooks/useScrollTo.d.ts +0 -10
- package/es/ui/src/Modal/src/hooks/useTimeout.d.ts +0 -10
- package/es/ui/src/Modal/src/hooks/useWindowSizeFn.d.ts +0 -7
- package/es/ui/src/Modal/src/props.d.ts +0 -34
- package/es/ui/src/Modal/src/typing.d.ts +0 -173
- package/es/ui/src/Modal/src/utils/index.d.ts +0 -5
- package/es/ui/src/Modal/src/utils/is.d.ts +0 -13
- package/es/ui/src/Modal/src/utils/log.d.ts +0 -2
- package/es/ui/src/Modal/src/utils/tsxHelper.d.ts +0 -13
- package/es/ui/src/Page/index.d.ts +0 -4
- package/es/ui/src/Page/src/PageFooter.vue.d.ts +0 -5
- package/es/ui/src/Scrollbar/index.d.ts +0 -6
- package/es/ui/src/Scrollbar/src/Scrollbar.vue.d.ts +0 -72
- package/es/ui/src/Scrollbar/src/bar.d.ts +0 -14
- package/es/ui/src/Scrollbar/src/types.d.ts +0 -18
- package/es/ui/src/Scrollbar/src/util.d.ts +0 -8
- package/es/ui/src/StrengthMeter/index.d.ts +0 -2
- package/es/ui/src/Table/index.d.ts +0 -11
- package/es/ui/src/Table/src/BasicTable.vue.d.ts +0 -2
- package/es/ui/src/Table/src/componentMap.d.ts +0 -6
- package/es/ui/src/Table/src/components/EditTableHeaderIcon.vue.d.ts +0 -14
- package/es/ui/src/Table/src/components/HeaderCell.vue.d.ts +0 -21
- package/es/ui/src/Table/src/components/TableAction.vue.d.ts +0 -2
- package/es/ui/src/Table/src/components/TableHeader.vue.d.ts +0 -40
- package/es/ui/src/Table/src/components/editable/CellComponent.d.ts +0 -10
- package/es/ui/src/Table/src/components/editable/helper.d.ts +0 -5
- package/es/ui/src/Table/src/components/editable/index.d.ts +0 -22
- package/es/ui/src/Table/src/components/settings/ColumnSetting.vue.d.ts +0 -29
- package/es/ui/src/Table/src/components/settings/FullScreenSetting.vue.d.ts +0 -6
- package/es/ui/src/Table/src/components/settings/ShowSearchSetting.vue.d.ts +0 -5
- package/es/ui/src/Table/src/components/settings/SizeSetting.vue.d.ts +0 -11
- package/es/ui/src/Table/src/components/settings/index.vue.d.ts +0 -23
- package/es/ui/src/Table/src/const.d.ts +0 -22
- package/es/ui/src/Table/src/hooks/useCustomRow.d.ts +0 -19
- package/es/ui/src/Table/src/hooks/useDataSource.d.ts +0 -28
- package/es/ui/src/Table/src/hooks/useLoading.d.ts +0 -6
- package/es/ui/src/Table/src/hooks/usePagination.d.ts +0 -10
- package/es/ui/src/Table/src/hooks/useRowSelection.d.ts +0 -12
- package/es/ui/src/Table/src/hooks/useScrollTo.d.ts +0 -4
- package/es/ui/src/Table/src/hooks/useTable.d.ts +0 -17
- package/es/ui/src/Table/src/hooks/useTableContext.d.ts +0 -13
- package/es/ui/src/Table/src/hooks/useTableExpand.d.ts +0 -14
- package/es/ui/src/Table/src/hooks/useTableFooter.d.ts +0 -9
- package/es/ui/src/Table/src/hooks/useTableForm.d.ts +0 -8
- package/es/ui/src/Table/src/hooks/useTableHeader.d.ts +0 -5
- package/es/ui/src/Table/src/hooks/useTableScroll.d.ts +0 -10
- package/es/ui/src/Table/src/hooks/useTableStyle.d.ts +0 -5
- package/es/ui/src/Table/src/props.d.ts +0 -2
- package/es/ui/src/Table/src/types/componentType.d.ts +0 -1
- package/es/ui/src/Table/src/types/pagination.d.ts +0 -93
- package/es/ui/src/Table/src/types/table.d.ts +0 -372
- package/es/ui/src/Table/src/types/tableAction.d.ts +0 -28
- package/es/ui/src/Transition/index.d.ts +0 -368
- package/es/ui/src/Transition/src/CollapseTransition.vue.d.ts +0 -11
- package/es/ui/src/Transition/src/CreateTransition.d.ts +0 -47
- package/es/ui/src/Transition/src/ExpandTransition.d.ts +0 -23
- package/es/ui/src/Tree/index.d.ts +0 -12
- package/es/ui/src/Tree/src/BasicTree.vue.d.ts +0 -94
- package/es/ui/src/Tree/src/TreeIcon.d.ts +0 -2
- package/es/ui/src/Tree/src/hooks/useTree.d.ts +0 -14
- package/es/ui/src/Tree/src/types/tree.d.ts +0 -105
- package/es/ui/src/Tree/style/index.d.ts +0 -0
- package/es/ui/src/directives/clickOutside.d.ts +0 -3
- package/es/ui/src/directives/index.d.ts +0 -1
- 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 +0,0 @@
|
|
|
1
|
-
export { default as clickOutside } from './clickOutside';
|