3h1-ui 1.0.121 → 1.1.121
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/index.d.ts +20 -0
- package/es/ui/src/Basic/index.d.ts +4 -0
- package/es/ui/src/Basic/src/BasicHelp.vue.d.ts +99 -0
- package/es/ui/src/Basic/src/BasicTitle.vue.d.ts +117 -0
- package/es/ui/src/Button/index.d.ts +51 -0
- package/es/ui/src/Button/src/BasicButton.vue.d.ts +2 -0
- package/es/ui/src/Button/src/PopConfirmButton.vue.d.ts +24 -0
- package/es/ui/src/Button/src/props.d.ts +37 -0
- package/es/ui/src/ClickOutSide/index.d.ts +2 -0
- package/es/ui/src/ClickOutSide/src/ClickOutSide.vue.d.ts +8 -0
- package/es/ui/src/Container/index.d.ts +5 -0
- package/es/ui/src/Container/src/LazyContainer.vue.d.ts +121 -0
- package/es/ui/src/Container/src/ScrollContainer.vue.d.ts +9 -0
- package/es/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +553 -0
- package/es/ui/src/Container/src/collapse/CollapseHeader.vue.d.ts +42 -0
- package/es/ui/src/Container/src/typing.d.ts +15 -0
- package/es/ui/src/ContextMenu/index.d.ts +3 -0
- package/es/ui/src/ContextMenu/src/ContextMenu.vue.d.ts +64 -0
- package/es/ui/src/ContextMenu/src/createContextMenu.d.ts +3 -0
- package/es/ui/src/ContextMenu/src/typing.d.ts +33 -0
- package/es/ui/src/ContextMenu/src/useContextMenu.d.ts +3 -0
- package/es/ui/src/CountDown/index.d.ts +3 -0
- package/es/ui/src/CountDown/src/CountButton.vue.d.ts +35 -0
- package/es/ui/src/CountDown/src/CountdownInput.vue.d.ts +41 -0
- package/es/ui/src/CountDown/src/useCountdown.d.ts +9 -0
- package/es/ui/src/CountTo/index.d.ts +2 -0
- package/es/ui/src/CountTo/src/CountTo.vue.d.ts +137 -0
- package/es/ui/src/Cropper/index.d.ts +4 -0
- package/es/ui/src/Cropper/src/CopperModal.vue.d.ts +39 -0
- package/es/ui/src/Cropper/src/Cropper.vue.d.ts +87 -0
- package/es/ui/src/Cropper/src/CropperAvatar.vue.d.ts +125 -0
- package/es/ui/src/Cropper/src/typing.d.ts +6 -0
- package/es/ui/src/Description/index.d.ts +4 -0
- package/es/ui/src/Description/src/Description.vue.d.ts +101 -0
- package/es/ui/src/Description/src/typing.d.ts +39 -0
- package/es/ui/src/Description/src/useDescription.d.ts +2 -0
- package/es/ui/src/Drawer/index.d.ts +4 -0
- package/es/ui/src/Drawer/src/BasicDrawer.vue.d.ts +170 -0
- package/es/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +95 -0
- package/es/ui/src/Drawer/src/props.d.ts +115 -0
- package/es/ui/src/Drawer/src/typing.d.ts +177 -0
- package/es/ui/src/Drawer/src/useDrawer.d.ts +6 -0
- package/es/ui/src/Dropdown/index.d.ts +3 -0
- package/es/ui/src/Dropdown/src/typing.d.ts +9 -0
- package/es/ui/src/Icon/data/icons.data.d.ts +2 -0
- package/es/ui/src/Icon/index.d.ts +5 -0
- package/es/ui/src/Icon/src/SvgIcon.vue.d.ts +45 -0
- package/es/ui/src/Loading/index.d.ts +4 -0
- package/es/ui/src/Loading/src/Loading.vue.d.ts +57 -0
- package/es/ui/src/Loading/src/createLoading.d.ts +13 -0
- package/es/ui/src/Loading/src/typing.d.ts +9 -0
- package/es/ui/src/Loading/src/useLoading.d.ts +11 -0
- package/es/ui/src/Modal/src/components/BasicHelp.vue.d.ts +99 -0
- package/es/ui/src/Modal/src/components/BasicTitle.vue.d.ts +117 -0
- package/es/ui/src/Modal/src/components/ModalClose.vue.d.ts +39 -0
- package/es/ui/src/Modal/src/components/ModalHeader.vue.d.ts +19 -0
- package/es/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +95 -0
- package/es/ui/src/Modal/src/components/ScrollContainer.vue.d.ts +9 -0
- package/es/ui/src/Modal/src/hooks/useAttrs.d.ts +9 -0
- package/es/ui/src/Modal/src/hooks/useContext.d.ts +10 -0
- package/es/ui/src/Modal/src/hooks/useDesign.d.ts +22 -0
- package/es/ui/src/Modal/src/hooks/useI18n.d.ts +15 -0
- package/es/ui/src/Modal/src/hooks/useModal.d.ts +6 -0
- package/es/ui/src/Modal/src/hooks/useModalContext.d.ts +7 -0
- package/es/ui/src/Modal/src/hooks/useModalDrag.d.ts +7 -0
- package/es/ui/src/Modal/src/hooks/useModalFullScreen.d.ts +11 -0
- package/es/ui/src/Modal/src/hooks/useScrollTo.d.ts +10 -0
- package/es/ui/src/Modal/src/hooks/useTimeout.d.ts +10 -0
- package/es/ui/src/Modal/src/hooks/useWindowSizeFn.d.ts +7 -0
- package/es/ui/src/Modal/src/typing.d.ts +173 -0
- package/es/ui/src/Modal/src/utils/index.d.ts +5 -0
- package/es/ui/src/Modal/src/utils/is.d.ts +13 -0
- package/es/ui/src/Modal/src/utils/log.d.ts +2 -0
- package/es/ui/src/Modal/src/utils/tsxHelper.d.ts +13 -0
- package/es/ui/src/Page/index.d.ts +4 -0
- package/es/ui/src/Page/src/PageFooter.vue.d.ts +5 -0
- package/es/ui/src/Scrollbar/index.d.ts +6 -0
- package/es/ui/src/Scrollbar/src/Scrollbar.vue.d.ts +72 -0
- package/es/ui/src/Scrollbar/src/bar.d.ts +14 -0
- package/es/ui/src/Scrollbar/src/types.d.ts +18 -0
- package/es/ui/src/Scrollbar/src/util.d.ts +8 -0
- package/es/ui/src/StrengthMeter/index.d.ts +2 -0
- package/es/ui/src/Table/index.d.ts +11 -0
- package/es/ui/src/Table/src/componentMap.d.ts +6 -0
- package/es/ui/src/Table/src/components/EditTableHeaderIcon.vue.d.ts +14 -0
- package/es/ui/src/Table/src/components/HeaderCell.vue.d.ts +21 -0
- package/es/ui/src/Table/src/components/TableHeader.vue.d.ts +40 -0
- package/es/ui/src/Table/src/components/editable/CellComponent.d.ts +10 -0
- package/es/ui/src/Table/src/components/editable/helper.d.ts +5 -0
- package/es/ui/src/Table/src/components/editable/index.d.ts +22 -0
- package/es/ui/src/Table/src/components/settings/ColumnSetting.vue.d.ts +29 -0
- package/es/ui/src/Table/src/components/settings/FullScreenSetting.vue.d.ts +6 -0
- package/es/ui/src/Table/src/components/settings/ShowSearchSetting.vue.d.ts +5 -0
- package/es/ui/src/Table/src/components/settings/SizeSetting.vue.d.ts +11 -0
- package/es/ui/src/Table/src/components/settings/index.vue.d.ts +23 -0
- package/es/ui/src/Table/src/const.d.ts +22 -0
- package/es/ui/src/Table/src/hooks/useCustomRow.d.ts +19 -0
- package/es/ui/src/Table/src/hooks/useDataSource.d.ts +28 -0
- package/es/ui/src/Table/src/hooks/useLoading.d.ts +6 -0
- package/es/ui/src/Table/src/hooks/usePagination.d.ts +10 -0
- package/es/ui/src/Table/src/hooks/useRowSelection.d.ts +12 -0
- package/es/ui/src/Table/src/hooks/useScrollTo.d.ts +4 -0
- package/es/ui/src/Table/src/hooks/useTable.d.ts +17 -0
- package/es/ui/src/Table/src/hooks/useTableContext.d.ts +13 -0
- package/es/ui/src/Table/src/hooks/useTableExpand.d.ts +14 -0
- package/es/ui/src/Table/src/hooks/useTableFooter.d.ts +9 -0
- package/es/ui/src/Table/src/hooks/useTableForm.d.ts +9 -0
- package/es/ui/src/Table/src/hooks/useTableHeader.d.ts +5 -0
- package/es/ui/src/Table/src/hooks/useTableScroll.d.ts +10 -0
- package/es/ui/src/Table/src/hooks/useTableStyle.d.ts +5 -0
- package/es/ui/src/Table/src/types/componentType.d.ts +1 -0
- package/es/ui/src/Table/src/types/pagination.d.ts +93 -0
- package/es/ui/src/Table/src/types/table.d.ts +372 -0
- package/es/ui/src/Table/src/types/tableAction.d.ts +28 -0
- package/es/ui/src/Transition/index.d.ts +368 -0
- package/es/ui/src/Transition/src/CollapseTransition.vue.d.ts +11 -0
- package/es/ui/src/Transition/src/CreateTransition.d.ts +47 -0
- package/es/ui/src/Transition/src/ExpandTransition.d.ts +23 -0
- package/es/ui/src/Tree/index.d.ts +12 -0
- package/es/ui/src/Tree/src/BasicTree.vue.d.ts +94 -0
- package/es/ui/src/Tree/src/TreeIcon.d.ts +2 -0
- package/es/ui/src/Tree/src/hooks/useTree.d.ts +14 -0
- package/es/ui/src/Tree/src/types/tree.d.ts +105 -0
- package/es/ui/src/Tree/style/index.d.ts +0 -0
- package/es/ui/src/directives/clickOutside.d.ts +3 -0
- package/es/ui/src/directives/index.d.ts +1 -0
- package/es/ui/src/enums/sizeEnum.d.ts +11 -0
- package/lib/ui/index.d.ts +20 -0
- package/lib/ui/src/Basic/index.d.ts +4 -0
- package/lib/ui/src/Basic/src/BasicHelp.vue.d.ts +99 -0
- package/lib/ui/src/Basic/src/BasicTitle.vue.d.ts +117 -0
- package/lib/ui/src/Button/index.d.ts +51 -0
- package/lib/ui/src/Button/src/BasicButton.vue.d.ts +2 -0
- package/lib/ui/src/Button/src/PopConfirmButton.vue.d.ts +24 -0
- package/lib/ui/src/Button/src/props.d.ts +37 -0
- package/lib/ui/src/ClickOutSide/index.d.ts +2 -0
- package/lib/ui/src/ClickOutSide/src/ClickOutSide.vue.d.ts +8 -0
- package/lib/ui/src/Container/index.d.ts +5 -0
- package/lib/ui/src/Container/src/LazyContainer.vue.d.ts +121 -0
- package/lib/ui/src/Container/src/ScrollContainer.vue.d.ts +9 -0
- package/lib/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +553 -0
- package/lib/ui/src/Container/src/collapse/CollapseHeader.vue.d.ts +42 -0
- package/lib/ui/src/Container/src/typing.d.ts +15 -0
- package/lib/ui/src/ContextMenu/index.d.ts +3 -0
- package/lib/ui/src/ContextMenu/src/ContextMenu.vue.d.ts +64 -0
- package/lib/ui/src/ContextMenu/src/createContextMenu.d.ts +3 -0
- package/lib/ui/src/ContextMenu/src/typing.d.ts +33 -0
- package/lib/ui/src/ContextMenu/src/useContextMenu.d.ts +3 -0
- package/lib/ui/src/CountDown/index.d.ts +3 -0
- package/lib/ui/src/CountDown/src/CountButton.vue.d.ts +35 -0
- package/lib/ui/src/CountDown/src/CountdownInput.vue.d.ts +41 -0
- package/lib/ui/src/CountDown/src/useCountdown.d.ts +9 -0
- package/lib/ui/src/CountTo/index.d.ts +2 -0
- package/lib/ui/src/CountTo/src/CountTo.vue.d.ts +137 -0
- package/lib/ui/src/Cropper/index.d.ts +4 -0
- package/lib/ui/src/Cropper/src/CopperModal.vue.d.ts +39 -0
- package/lib/ui/src/Cropper/src/Cropper.vue.d.ts +87 -0
- package/lib/ui/src/Cropper/src/CropperAvatar.vue.d.ts +125 -0
- package/lib/ui/src/Cropper/src/typing.d.ts +6 -0
- package/lib/ui/src/Description/index.d.ts +4 -0
- package/lib/ui/src/Description/src/Description.vue.d.ts +101 -0
- package/lib/ui/src/Description/src/typing.d.ts +39 -0
- package/lib/ui/src/Description/src/useDescription.d.ts +2 -0
- package/lib/ui/src/Drawer/index.d.ts +4 -0
- package/lib/ui/src/Drawer/src/BasicDrawer.vue.d.ts +170 -0
- package/lib/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +95 -0
- package/lib/ui/src/Drawer/src/props.d.ts +115 -0
- package/lib/ui/src/Drawer/src/typing.d.ts +177 -0
- package/lib/ui/src/Drawer/src/useDrawer.d.ts +6 -0
- package/lib/ui/src/Dropdown/index.d.ts +3 -0
- package/lib/ui/src/Dropdown/src/typing.d.ts +9 -0
- package/lib/ui/src/Icon/data/icons.data.d.ts +2 -0
- package/lib/ui/src/Icon/index.d.ts +5 -0
- package/lib/ui/src/Icon/src/SvgIcon.vue.d.ts +45 -0
- package/lib/ui/src/Loading/index.d.ts +4 -0
- package/lib/ui/src/Loading/src/Loading.vue.d.ts +57 -0
- package/lib/ui/src/Loading/src/createLoading.d.ts +13 -0
- package/lib/ui/src/Loading/src/typing.d.ts +9 -0
- package/lib/ui/src/Loading/src/useLoading.d.ts +11 -0
- package/lib/ui/src/Modal/src/components/BasicHelp.vue.d.ts +99 -0
- package/lib/ui/src/Modal/src/components/BasicTitle.vue.d.ts +117 -0
- package/lib/ui/src/Modal/src/components/ModalClose.vue.d.ts +39 -0
- package/lib/ui/src/Modal/src/components/ModalHeader.vue.d.ts +19 -0
- package/lib/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +95 -0
- package/lib/ui/src/Modal/src/components/ScrollContainer.vue.d.ts +9 -0
- package/lib/ui/src/Modal/src/hooks/useAttrs.d.ts +9 -0
- package/lib/ui/src/Modal/src/hooks/useContext.d.ts +10 -0
- package/lib/ui/src/Modal/src/hooks/useDesign.d.ts +22 -0
- package/lib/ui/src/Modal/src/hooks/useI18n.d.ts +15 -0
- package/lib/ui/src/Modal/src/hooks/useModal.d.ts +6 -0
- package/lib/ui/src/Modal/src/hooks/useModalContext.d.ts +7 -0
- package/lib/ui/src/Modal/src/hooks/useModalDrag.d.ts +7 -0
- package/lib/ui/src/Modal/src/hooks/useModalFullScreen.d.ts +11 -0
- package/lib/ui/src/Modal/src/hooks/useScrollTo.d.ts +10 -0
- package/lib/ui/src/Modal/src/hooks/useTimeout.d.ts +10 -0
- package/lib/ui/src/Modal/src/hooks/useWindowSizeFn.d.ts +7 -0
- package/lib/ui/src/Modal/src/typing.d.ts +173 -0
- package/lib/ui/src/Modal/src/utils/index.d.ts +5 -0
- package/lib/ui/src/Modal/src/utils/is.d.ts +13 -0
- package/lib/ui/src/Modal/src/utils/log.d.ts +2 -0
- package/lib/ui/src/Modal/src/utils/tsxHelper.d.ts +13 -0
- package/lib/ui/src/Page/index.d.ts +4 -0
- package/lib/ui/src/Page/src/PageFooter.vue.d.ts +5 -0
- package/lib/ui/src/Scrollbar/index.d.ts +6 -0
- package/lib/ui/src/Scrollbar/src/Scrollbar.vue.d.ts +72 -0
- package/lib/ui/src/Scrollbar/src/bar.d.ts +14 -0
- package/lib/ui/src/Scrollbar/src/types.d.ts +18 -0
- package/lib/ui/src/Scrollbar/src/util.d.ts +8 -0
- package/lib/ui/src/StrengthMeter/index.d.ts +2 -0
- package/lib/ui/src/Table/index.d.ts +11 -0
- package/lib/ui/src/Table/src/componentMap.d.ts +6 -0
- package/lib/ui/src/Table/src/components/EditTableHeaderIcon.vue.d.ts +14 -0
- package/lib/ui/src/Table/src/components/HeaderCell.vue.d.ts +21 -0
- package/lib/ui/src/Table/src/components/TableHeader.vue.d.ts +40 -0
- package/lib/ui/src/Table/src/components/editable/CellComponent.d.ts +10 -0
- package/lib/ui/src/Table/src/components/editable/helper.d.ts +5 -0
- package/lib/ui/src/Table/src/components/editable/index.d.ts +22 -0
- package/lib/ui/src/Table/src/components/settings/ColumnSetting.vue.d.ts +29 -0
- package/lib/ui/src/Table/src/components/settings/FullScreenSetting.vue.d.ts +6 -0
- package/lib/ui/src/Table/src/components/settings/ShowSearchSetting.vue.d.ts +5 -0
- package/lib/ui/src/Table/src/components/settings/SizeSetting.vue.d.ts +11 -0
- package/lib/ui/src/Table/src/components/settings/index.vue.d.ts +23 -0
- package/lib/ui/src/Table/src/const.d.ts +22 -0
- package/lib/ui/src/Table/src/hooks/useCustomRow.d.ts +19 -0
- package/lib/ui/src/Table/src/hooks/useDataSource.d.ts +28 -0
- package/lib/ui/src/Table/src/hooks/useLoading.d.ts +6 -0
- package/lib/ui/src/Table/src/hooks/usePagination.d.ts +10 -0
- package/lib/ui/src/Table/src/hooks/useRowSelection.d.ts +12 -0
- package/lib/ui/src/Table/src/hooks/useScrollTo.d.ts +4 -0
- package/lib/ui/src/Table/src/hooks/useTable.d.ts +17 -0
- package/lib/ui/src/Table/src/hooks/useTableContext.d.ts +13 -0
- package/lib/ui/src/Table/src/hooks/useTableExpand.d.ts +14 -0
- package/lib/ui/src/Table/src/hooks/useTableFooter.d.ts +9 -0
- package/lib/ui/src/Table/src/hooks/useTableForm.d.ts +9 -0
- package/lib/ui/src/Table/src/hooks/useTableHeader.d.ts +5 -0
- package/lib/ui/src/Table/src/hooks/useTableScroll.d.ts +10 -0
- package/lib/ui/src/Table/src/hooks/useTableStyle.d.ts +5 -0
- package/lib/ui/src/Table/src/types/componentType.d.ts +1 -0
- package/lib/ui/src/Table/src/types/pagination.d.ts +93 -0
- package/lib/ui/src/Table/src/types/table.d.ts +372 -0
- package/lib/ui/src/Table/src/types/tableAction.d.ts +28 -0
- package/lib/ui/src/Transition/index.d.ts +368 -0
- package/lib/ui/src/Transition/src/CollapseTransition.vue.d.ts +11 -0
- package/lib/ui/src/Transition/src/CreateTransition.d.ts +47 -0
- package/lib/ui/src/Transition/src/ExpandTransition.d.ts +23 -0
- package/lib/ui/src/Tree/index.d.ts +12 -0
- package/lib/ui/src/Tree/src/BasicTree.vue.d.ts +94 -0
- package/lib/ui/src/Tree/src/TreeIcon.d.ts +2 -0
- package/lib/ui/src/Tree/src/hooks/useTree.d.ts +14 -0
- package/lib/ui/src/Tree/src/types/tree.d.ts +105 -0
- package/lib/ui/src/Tree/style/index.d.ts +0 -0
- package/lib/ui/src/directives/clickOutside.d.ts +3 -0
- package/lib/ui/src/directives/index.d.ts +1 -0
- package/lib/ui/src/enums/sizeEnum.d.ts +11 -0
- package/package.json +1 -1
- /package/es/{global.d.ts → ui/types/global.d.ts} +0 -0
- /package/es/{index.d.ts → ui/types/index.d.ts} +0 -0
- /package/lib/{global.d.ts → ui/types/global.d.ts} +0 -0
- /package/lib/{index.d.ts → ui/types/index.d.ts} +0 -0
package/es/ui/index.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export * from './src/Form';
|
|
2
|
+
export * from './src/Container';
|
|
3
|
+
export * from './src/Table';
|
|
4
|
+
export * from './src/Modal';
|
|
5
|
+
export * from './src/Page';
|
|
6
|
+
export * from './src/Description';
|
|
7
|
+
export * from './src/Scrollbar';
|
|
8
|
+
export * from './src/Dropdown';
|
|
9
|
+
export * from './src/Drawer';
|
|
10
|
+
export * from './src/Cropper';
|
|
11
|
+
export * from './src/CountTo';
|
|
12
|
+
export * from './src/CountDown';
|
|
13
|
+
export * from './src/Container';
|
|
14
|
+
export * from './src/ClickOutSide';
|
|
15
|
+
export * from './src/Button';
|
|
16
|
+
export * from './src/Basic';
|
|
17
|
+
export * from './src/Tree';
|
|
18
|
+
export * from './src/Icon';
|
|
19
|
+
export * from './src/Loading';
|
|
20
|
+
export * from './src/StrengthMeter';
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
/**
|
|
4
|
+
* Help text max-width
|
|
5
|
+
* @default: 600px
|
|
6
|
+
*/
|
|
7
|
+
maxWidth: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Whether to display the serial number
|
|
13
|
+
* @default: false
|
|
14
|
+
*/
|
|
15
|
+
showIndex: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Help text font color
|
|
20
|
+
* @default: #ffffff
|
|
21
|
+
*/
|
|
22
|
+
color: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Help text font size
|
|
28
|
+
* @default: 14px
|
|
29
|
+
*/
|
|
30
|
+
fontSize: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Help text list
|
|
36
|
+
*/
|
|
37
|
+
placement: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Help text list
|
|
43
|
+
*/
|
|
44
|
+
text: {
|
|
45
|
+
type: PropType<string | string[]>;
|
|
46
|
+
};
|
|
47
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
/**
|
|
49
|
+
* Help text max-width
|
|
50
|
+
* @default: 600px
|
|
51
|
+
*/
|
|
52
|
+
maxWidth: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Whether to display the serial number
|
|
58
|
+
* @default: false
|
|
59
|
+
*/
|
|
60
|
+
showIndex: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Help text font color
|
|
65
|
+
* @default: #ffffff
|
|
66
|
+
*/
|
|
67
|
+
color: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Help text font size
|
|
73
|
+
* @default: 14px
|
|
74
|
+
*/
|
|
75
|
+
fontSize: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Help text list
|
|
81
|
+
*/
|
|
82
|
+
placement: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Help text list
|
|
88
|
+
*/
|
|
89
|
+
text: {
|
|
90
|
+
type: PropType<string | string[]>;
|
|
91
|
+
};
|
|
92
|
+
}>>, {
|
|
93
|
+
placement: string;
|
|
94
|
+
color: string;
|
|
95
|
+
maxWidth: string;
|
|
96
|
+
showIndex: boolean;
|
|
97
|
+
fontSize: string;
|
|
98
|
+
}>;
|
|
99
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
/**
|
|
4
|
+
* Help text list or string
|
|
5
|
+
* @default: ''
|
|
6
|
+
*/
|
|
7
|
+
helpMessage: {
|
|
8
|
+
type: PropType<string | string[]>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Whether the color block on the left side of the title
|
|
13
|
+
* @default: false
|
|
14
|
+
*/
|
|
15
|
+
span: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Whether to default the text, that is, not bold
|
|
20
|
+
* @default: false
|
|
21
|
+
*/
|
|
22
|
+
normal: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
};
|
|
25
|
+
}, {
|
|
26
|
+
props: any;
|
|
27
|
+
prefixCls: string;
|
|
28
|
+
slots: Readonly<{
|
|
29
|
+
[name: string]: import("vue").Slot;
|
|
30
|
+
}>;
|
|
31
|
+
getClass: import("vue").ComputedRef<(string | {
|
|
32
|
+
[x: string]: import("vue").Slot;
|
|
33
|
+
} | {
|
|
34
|
+
[x: string]: boolean;
|
|
35
|
+
})[]>;
|
|
36
|
+
BasicHelp: import("vue").DefineComponent<{
|
|
37
|
+
maxWidth: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
showIndex: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
};
|
|
44
|
+
color: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
fontSize: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
placement: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
text: {
|
|
57
|
+
type: PropType<string | string[]>;
|
|
58
|
+
};
|
|
59
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
|
+
maxWidth: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
showIndex: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
};
|
|
67
|
+
color: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
fontSize: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
placement: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
text: {
|
|
80
|
+
type: PropType<string | string[]>;
|
|
81
|
+
};
|
|
82
|
+
}>>, {
|
|
83
|
+
placement: string;
|
|
84
|
+
color: string;
|
|
85
|
+
maxWidth: string;
|
|
86
|
+
showIndex: boolean;
|
|
87
|
+
fontSize: string;
|
|
88
|
+
}>;
|
|
89
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
90
|
+
/**
|
|
91
|
+
* Help text list or string
|
|
92
|
+
* @default: ''
|
|
93
|
+
*/
|
|
94
|
+
helpMessage: {
|
|
95
|
+
type: PropType<string | string[]>;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Whether the color block on the left side of the title
|
|
100
|
+
* @default: false
|
|
101
|
+
*/
|
|
102
|
+
span: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Whether to default the text, that is, not bold
|
|
107
|
+
* @default: false
|
|
108
|
+
*/
|
|
109
|
+
normal: {
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
};
|
|
112
|
+
}>>, {
|
|
113
|
+
span: boolean;
|
|
114
|
+
helpMessage: string | string[];
|
|
115
|
+
normal: boolean;
|
|
116
|
+
}>;
|
|
117
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
import BasicButton from './src/BasicButton.vue';
|
|
3
|
+
import PopConfirmButton from './src/PopConfirmButton.vue';
|
|
4
|
+
import { buttonProps } from './src/props';
|
|
5
|
+
export declare const Button: {
|
|
6
|
+
new (...args: any[]): {
|
|
7
|
+
$: import("vue").ComponentInternalInstance;
|
|
8
|
+
$data: {};
|
|
9
|
+
$props: Partial<{}> & Omit<Readonly<unknown> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
10
|
+
$attrs: {
|
|
11
|
+
[x: string]: unknown;
|
|
12
|
+
};
|
|
13
|
+
$refs: {
|
|
14
|
+
[x: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
$slots: Readonly<{
|
|
17
|
+
[name: string]: import("vue").Slot;
|
|
18
|
+
}>;
|
|
19
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
20
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
21
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
22
|
+
$el: any;
|
|
23
|
+
$options: import("vue").ComponentOptionsBase<Readonly<unknown>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
24
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
25
|
+
created?: (() => void) | (() => void)[];
|
|
26
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
27
|
+
mounted?: (() => void) | (() => void)[];
|
|
28
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
29
|
+
updated?: (() => void) | (() => void)[];
|
|
30
|
+
activated?: (() => void) | (() => void)[];
|
|
31
|
+
deactivated?: (() => void) | (() => void)[];
|
|
32
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
33
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
34
|
+
destroyed?: (() => void) | (() => void)[];
|
|
35
|
+
unmounted?: (() => void) | (() => void)[];
|
|
36
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
37
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
38
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
|
|
39
|
+
};
|
|
40
|
+
$forceUpdate: () => void;
|
|
41
|
+
$nextTick: typeof import("vue").nextTick;
|
|
42
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
43
|
+
} & Readonly<unknown> & object & {
|
|
44
|
+
[x: string]: never;
|
|
45
|
+
} & import("vue").MethodOptions & import("vue").ComponentCustomProperties & {};
|
|
46
|
+
__isFragment?: never;
|
|
47
|
+
__isTeleport?: never;
|
|
48
|
+
__isSuspense?: never;
|
|
49
|
+
} & import("vue").ComponentOptionsBase<Readonly<unknown>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
50
|
+
export { BasicButton, PopConfirmButton };
|
|
51
|
+
export declare type ButtonProps = Partial<ExtractPropTypes<typeof buttonProps>>;
|
|
@@ -0,0 +1,2 @@
|
|
|
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;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* Whether to enable the drop-down menu
|
|
4
|
+
* @default: true
|
|
5
|
+
*/
|
|
6
|
+
enable: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
/**
|
|
14
|
+
* Whether to enable the drop-down menu
|
|
15
|
+
* @default: true
|
|
16
|
+
*/
|
|
17
|
+
enable: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
enable: boolean;
|
|
23
|
+
}>;
|
|
24
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const buttonProps: {
|
|
2
|
+
color: {
|
|
3
|
+
type: PropType<"" | "success" | "error" | "warning">;
|
|
4
|
+
validator: (v: any) => boolean;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
loading: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
};
|
|
10
|
+
disabled: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Text before icon.
|
|
15
|
+
*/
|
|
16
|
+
preIcon: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Text after icon.
|
|
21
|
+
*/
|
|
22
|
+
postIcon: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* preIcon and postIcon icon size.
|
|
27
|
+
* @default: 14
|
|
28
|
+
*/
|
|
29
|
+
iconSize: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
onClick: {
|
|
34
|
+
type: PropType<(...args: any[]) => any>;
|
|
35
|
+
default: any;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
emit: (event: "mounted" | "clickOutside", ...args: any[]) => void;
|
|
3
|
+
wrap: import("vue").Ref<HTMLDivElement>;
|
|
4
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("mounted" | "clickOutside")[], "mounted" | "clickOutside", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
5
|
+
onMounted?: (...args: any[]) => any;
|
|
6
|
+
onClickOutside?: (...args: any[]) => any;
|
|
7
|
+
}, {}>;
|
|
8
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import CollapseContainer from './src/collapse/CollapseContainer.vue';
|
|
2
|
+
import ScrollContainer from './src/ScrollContainer.vue';
|
|
3
|
+
import LazyContainer from './src/LazyContainer.vue';
|
|
4
|
+
export { LazyContainer, ScrollContainer, CollapseContainer };
|
|
5
|
+
export * from './src/typing';
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
/**
|
|
4
|
+
* Waiting time, if the time is specified, whether visible or not, it will be automatically loaded after the specified time
|
|
5
|
+
*/
|
|
6
|
+
timeout: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* The viewport where the component is located.
|
|
11
|
+
* If the component is scrolling in the page container, the viewport is the container
|
|
12
|
+
*/
|
|
13
|
+
viewport: {
|
|
14
|
+
type: PropType<HTMLElement>;
|
|
15
|
+
default: () => any;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Preload threshold, css unit
|
|
19
|
+
*/
|
|
20
|
+
threshold: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* The scroll direction of the viewport, vertical represents the vertical direction, horizontal represents the horizontal direction
|
|
26
|
+
*/
|
|
27
|
+
direction: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
validator: (v: any) => boolean;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* The label name of the outer container that wraps the component
|
|
34
|
+
*/
|
|
35
|
+
tag: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
maxWaitingTime: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* transition name
|
|
45
|
+
*/
|
|
46
|
+
transitionName: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
}, {
|
|
51
|
+
isInit: import("vue").Ref<boolean>;
|
|
52
|
+
loading: import("vue").Ref<boolean>;
|
|
53
|
+
intersectionObserverInstance: import("vue").Ref<{
|
|
54
|
+
readonly root: Document | Element;
|
|
55
|
+
readonly rootMargin: string;
|
|
56
|
+
readonly thresholds: readonly number[];
|
|
57
|
+
disconnect: () => void;
|
|
58
|
+
observe: (target: Element) => void;
|
|
59
|
+
takeRecords: () => IntersectionObserverEntry[];
|
|
60
|
+
unobserve: (target: Element) => void;
|
|
61
|
+
}>;
|
|
62
|
+
elRef: import("vue").Ref<any>;
|
|
63
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "init"[], "init", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
|
+
/**
|
|
65
|
+
* Waiting time, if the time is specified, whether visible or not, it will be automatically loaded after the specified time
|
|
66
|
+
*/
|
|
67
|
+
timeout: {
|
|
68
|
+
type: NumberConstructor;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* The viewport where the component is located.
|
|
72
|
+
* If the component is scrolling in the page container, the viewport is the container
|
|
73
|
+
*/
|
|
74
|
+
viewport: {
|
|
75
|
+
type: PropType<HTMLElement>;
|
|
76
|
+
default: () => any;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Preload threshold, css unit
|
|
80
|
+
*/
|
|
81
|
+
threshold: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* The scroll direction of the viewport, vertical represents the vertical direction, horizontal represents the horizontal direction
|
|
87
|
+
*/
|
|
88
|
+
direction: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
validator: (v: any) => boolean;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* The label name of the outer container that wraps the component
|
|
95
|
+
*/
|
|
96
|
+
tag: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
maxWaitingTime: {
|
|
101
|
+
type: NumberConstructor;
|
|
102
|
+
default: number;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* transition name
|
|
106
|
+
*/
|
|
107
|
+
transitionName: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
}>> & {
|
|
112
|
+
onInit?: (...args: any[]) => any;
|
|
113
|
+
}, {
|
|
114
|
+
threshold: string;
|
|
115
|
+
transitionName: string;
|
|
116
|
+
direction: string;
|
|
117
|
+
viewport: HTMLElement;
|
|
118
|
+
tag: string;
|
|
119
|
+
maxWaitingTime: number;
|
|
120
|
+
}>;
|
|
121
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
scrollbarRef: import("vue").Ref<{
|
|
3
|
+
wrap: HTMLDivElement;
|
|
4
|
+
}>;
|
|
5
|
+
scrollTo: (to: number, duration?: number) => void;
|
|
6
|
+
scrollBottom: () => void;
|
|
7
|
+
getScrollWrap: () => HTMLDivElement;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
9
|
+
export default _sfc_main;
|