3h1-ui 3.0.0-next.212 → 3.0.0-next.214
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/index.js +270 -182
- package/es/style.css +3209 -1584
- package/es/ui/src/Basic/src/BasicArrow.vue.d.ts +3 -3
- package/es/ui/src/Basic/src/BasicHelp.d.ts +6 -6
- package/es/ui/src/Basic/src/BasicTitle.vue.d.ts +6 -6
- package/es/ui/src/BasicContainer/src/BasicContainer.vue.d.ts +2 -2
- package/es/ui/src/BasicResizeWrapper/src/BasicResizeWrapper.vue.d.ts +1 -1
- package/es/ui/src/Button/index.d.ts +13 -13
- package/es/ui/src/Button/src/BasicButton.d.ts +6 -6
- package/es/ui/src/Button/src/PopConfirmButton.d.ts +1 -1
- package/es/ui/src/Button/src/props.d.ts +1 -1
- package/es/ui/src/ClickOutSide/src/ClickOutSide.vue.d.ts +8 -0
- package/es/ui/src/ColorPickerPopover/src/ColorPickerPopover.d.ts +5 -5
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/HexColorPicker.d.ts +1 -1
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/RgbaColorPicker.d.ts +1 -1
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Alpha.d.ts +1 -1
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/AlphaColorPicker.d.ts +1 -1
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/ColorPicker.d.ts +1 -1
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Hue.d.ts +1 -1
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Interactive.d.ts +1 -1
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Pointer.d.ts +1 -1
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Saturation.d.ts +1 -1
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/css/styles.css.d.ts +2 -2
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/types.d.ts +4 -4
- 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 +83 -11
- package/es/ui/src/Container/src/collapse/CollapseHeader.vue.d.ts +1 -1
- package/es/ui/src/Container/src/typing.d.ts +2 -2
- package/es/ui/src/ContextMenu/src/ContextMenu.d.ts +1 -1
- package/es/ui/src/CountDown/src/CountButton.vue.d.ts +3 -3
- package/es/ui/src/CountDown/src/CountdownInput.vue.d.ts +1 -1
- package/es/ui/src/CountTo/src/CountTo.vue.d.ts +3 -3
- package/es/ui/src/Cropper/src/CopperModal.vue.d.ts +3 -3
- package/es/ui/src/Cropper/src/Cropper.vue.d.ts +3 -3
- package/es/ui/src/Cropper/src/CropperAvatar.vue.d.ts +3 -3
- package/es/ui/src/Description/src/Description.d.ts +1 -1
- package/es/ui/src/Description/src/DescriptionGroup.d.ts +1 -1
- package/es/ui/src/Description/src/ShyComponentMap.d.ts +1 -1
- package/es/ui/src/Description/src/components/formItem.d.ts +1 -1
- package/es/ui/src/Description/src/typing.d.ts +2 -2
- package/es/ui/src/Descriptions/index.d.ts +3 -3
- package/es/ui/src/Descriptions/src/Descriptions.d.ts +1 -1
- package/es/ui/src/Descriptions/src/ShyDescriptions.d.ts +2 -2
- package/es/ui/src/Descriptions/src/typing.d.ts +2 -2
- package/es/ui/src/Drawer/src/BasicDrawer.vue.d.ts +3 -3
- package/es/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +2 -2
- package/es/ui/src/Drawer/src/components/DrawerHeader.vue.d.ts +1 -1
- package/es/ui/src/Drawer/src/typing.d.ts +3 -3
- package/es/ui/src/Icon/src/Icon.vue.d.ts +1 -1
- package/es/ui/src/Icon/src/SvgIcon.vue.d.ts +1 -1
- package/es/ui/src/Label/src/BasicLabel.vue.d.ts +1 -1
- package/es/ui/src/Loading/src/Loading.vue.d.ts +1 -1
- package/es/ui/src/Modal/index.d.ts +10 -10
- package/es/ui/src/Modal/src/BasicModal.vue.d.ts +4 -4
- package/es/ui/src/Modal/src/components/BasicTitle.vue.d.ts +6 -6
- package/es/ui/src/Modal/src/components/Modal.d.ts +4 -4
- package/es/ui/src/Modal/src/components/ModalClose.vue.d.ts +1 -1
- package/es/ui/src/Modal/src/components/ModalFooter.vue.d.ts +4 -4
- package/es/ui/src/Modal/src/components/ModalHeader.vue.d.ts +1 -1
- package/es/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +3 -3
- package/es/ui/src/Modal/src/hooks/useI18n.d.ts +1 -1
- package/es/ui/src/Modal/src/typing.d.ts +3 -3
- package/es/ui/src/Page/src/PageFooter.vue.d.ts +1 -1
- package/es/ui/src/Page/src/PageSecond.d.ts +1 -1
- package/es/ui/src/Page/src/PageWrapper.vue.d.ts +1 -1
- package/es/ui/src/Process/src/Process.d.ts +2 -2
- package/es/ui/src/Scrollbar/src/Scrollbar.vue.d.ts +9 -9
- package/es/ui/src/Scrollbar/src/bar.d.ts +1 -1
- package/es/ui/src/Scrollbar/src/types.d.ts +18 -18
- package/es/ui/src/ShyAdvancedSearch/src/ShyAdvancedSearch.d.ts +1 -1
- package/es/ui/src/ShyAdvancedSearch/src/ShyGlobalSearch.d.ts +1 -1
- package/es/ui/src/ShyAdvancedSearch/src/types/index.d.ts +2 -2
- package/es/ui/src/ShyContainer/src/ShyContainer.d.ts +1 -1
- package/es/ui/src/ShyForm/src/ShyComponentMap.d.ts +1 -1
- package/es/ui/src/ShyForm/src/ShyForm.d.ts +132 -132
- package/es/ui/src/ShyForm/src/components/ApiCascader.vue.d.ts +1 -1
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/DeptTree.vue.d.ts +4 -4
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/Modal.vue.d.ts +20 -20
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/Table.vue.d.ts +5 -5
- package/es/ui/src/ShyForm/src/components/ApiSelect.vue.d.ts +4 -4
- package/es/ui/src/ShyForm/src/components/ApiTransfer.vue.d.ts +1 -1
- package/es/ui/src/ShyForm/src/components/ApiTree.vue.d.ts +1 -1
- package/es/ui/src/ShyForm/src/components/ApiTreeSelect.vue.d.ts +1 -1
- package/es/ui/src/ShyForm/src/components/FormAction.vue.d.ts +4 -4
- package/es/ui/src/ShyForm/src/components/FormItem.d.ts +1 -1
- package/es/ui/src/ShyForm/src/components/FormWrapper.vue.d.ts +1 -1
- package/es/ui/src/ShyForm/src/components/Group.d.ts +5 -6
- package/es/ui/src/ShyForm/src/components/RadioButtonGroup.vue.d.ts +3 -3
- package/es/ui/src/ShyForm/src/components/Table.d.ts +11 -2
- package/es/ui/src/ShyForm/src/components/Tinymce.vue.d.ts +1 -1
- package/es/ui/src/ShyForm/src/hooks/useLabelWidth.d.ts +13 -12
- package/es/ui/src/ShyForm/src/hooks/useShyForm.d.ts +2 -2
- package/es/ui/src/ShyForm/src/props.d.ts +60 -60
- package/es/ui/src/ShyForm/src/types/form.d.ts +6 -6
- package/es/ui/src/ShyForm/src/types/index.d.ts +2 -2
- package/es/ui/src/ShyLayoutContainer/src/ShyLayoutContainer.d.ts +3 -3
- package/es/ui/src/ShyLayoutContainer/src/types.d.ts +2 -2
- package/es/ui/src/ShyTable/src/ShyTable.d.ts +4 -4
- package/es/ui/src/ShyTable/src/componentMap.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/EditTableHeaderIcon.vue.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/HeaderCell.vue.d.ts +7 -7
- package/es/ui/src/ShyTable/src/components/ShyInfo.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/ShyTableAction.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/ShyTableFooter.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/ShyTableHeader.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowMore.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowSearch.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableAdvancedSearch.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableColumn.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableFullScreen.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableGlobalSearch.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableSize.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/TableImg.vue.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/editable/EditableCell.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/editable/index.d.ts +2 -2
- package/es/ui/src/ShyTable/src/hooks/useShyTable.d.ts +3 -3
- package/es/ui/src/ShyTable/src/hooks/useShyTableContext.d.ts +2 -2
- package/es/ui/src/ShyTable/src/types/pagination.d.ts +1 -1
- package/es/ui/src/ShyTable/src/types/table.d.ts +7 -7
- package/es/ui/src/ShyTag/src/ShyTag.d.ts +1 -1
- package/es/ui/src/StrengthMeter/src/StrengthMeter.vue.d.ts +2 -2
- package/es/ui/src/TablePlus/TableColGroup.vue.d.ts +5 -5
- package/es/ui/src/TablePlus/TablePlus.vue.d.ts +150 -150
- package/es/ui/src/TablePlus/componentMap.d.ts +1 -1
- package/es/ui/src/TablePlus/components/ButtonGroupEdit.vue.d.ts +2 -2
- package/es/ui/src/TablePlus/components/Icon/Sort.vue.d.ts +1 -1
- package/es/ui/src/TablePlus/types/componentType.d.ts +1 -1
- package/es/ui/src/Transition/index.d.ts +24 -24
- package/es/ui/src/Transition/src/CollapseTransition.vue.d.ts +1 -1
- package/es/ui/src/Transition/src/CreateTransition.d.ts +4 -4
- package/es/ui/src/Tree/src/BasicTree.d.ts +3 -3
- package/es/ui/src/Tree/src/types/tree.d.ts +3 -3
- package/es/ui/src/Upload/src/components/FileList.d.ts +37 -34
- package/es/ui/src/Upload/src/components/UploadPreviewModal.vue.d.ts +49 -46
- package/es/ui/src/Upload/src/props.d.ts +3 -3
- package/es/ui/types/global.d.ts +102 -102
- package/es/ui/types/index.d.ts +36 -36
- package/lib/index.js +269 -181
- package/lib/style.css +10176 -0
- package/lib/ui/src/Basic/src/BasicArrow.vue.d.ts +3 -3
- package/lib/ui/src/Basic/src/BasicHelp.d.ts +6 -6
- package/lib/ui/src/Basic/src/BasicTitle.vue.d.ts +6 -6
- package/lib/ui/src/BasicContainer/src/BasicContainer.vue.d.ts +2 -2
- package/lib/ui/src/BasicResizeWrapper/src/BasicResizeWrapper.vue.d.ts +1 -1
- package/lib/ui/src/Button/index.d.ts +13 -13
- package/lib/ui/src/Button/src/BasicButton.d.ts +6 -6
- package/lib/ui/src/Button/src/PopConfirmButton.d.ts +1 -1
- package/lib/ui/src/Button/src/props.d.ts +1 -1
- package/lib/ui/src/ClickOutSide/src/ClickOutSide.vue.d.ts +8 -0
- package/lib/ui/src/ColorPickerPopover/src/ColorPickerPopover.d.ts +5 -5
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/HexColorPicker.d.ts +1 -1
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/RgbaColorPicker.d.ts +1 -1
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Alpha.d.ts +1 -1
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/AlphaColorPicker.d.ts +1 -1
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/ColorPicker.d.ts +1 -1
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Hue.d.ts +1 -1
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Interactive.d.ts +1 -1
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Pointer.d.ts +1 -1
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Saturation.d.ts +1 -1
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/css/styles.css.d.ts +2 -2
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/types.d.ts +4 -4
- 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 +83 -11
- package/lib/ui/src/Container/src/collapse/CollapseHeader.vue.d.ts +1 -1
- package/lib/ui/src/Container/src/typing.d.ts +2 -2
- package/lib/ui/src/ContextMenu/src/ContextMenu.d.ts +1 -1
- package/lib/ui/src/CountDown/src/CountButton.vue.d.ts +3 -3
- package/lib/ui/src/CountDown/src/CountdownInput.vue.d.ts +1 -1
- package/lib/ui/src/CountTo/src/CountTo.vue.d.ts +3 -3
- package/lib/ui/src/Cropper/src/CopperModal.vue.d.ts +3 -3
- package/lib/ui/src/Cropper/src/Cropper.vue.d.ts +3 -3
- package/lib/ui/src/Cropper/src/CropperAvatar.vue.d.ts +3 -3
- package/lib/ui/src/Description/src/Description.d.ts +1 -1
- package/lib/ui/src/Description/src/DescriptionGroup.d.ts +1 -1
- package/lib/ui/src/Description/src/ShyComponentMap.d.ts +1 -1
- package/lib/ui/src/Description/src/components/formItem.d.ts +1 -1
- package/lib/ui/src/Description/src/typing.d.ts +2 -2
- package/lib/ui/src/Descriptions/index.d.ts +3 -3
- package/lib/ui/src/Descriptions/src/Descriptions.d.ts +1 -1
- package/lib/ui/src/Descriptions/src/ShyDescriptions.d.ts +2 -2
- package/lib/ui/src/Descriptions/src/typing.d.ts +2 -2
- package/lib/ui/src/Drawer/src/BasicDrawer.vue.d.ts +3 -3
- package/lib/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +2 -2
- package/lib/ui/src/Drawer/src/components/DrawerHeader.vue.d.ts +1 -1
- package/lib/ui/src/Drawer/src/typing.d.ts +3 -3
- package/lib/ui/src/Icon/src/Icon.vue.d.ts +1 -1
- package/lib/ui/src/Icon/src/SvgIcon.vue.d.ts +1 -1
- package/lib/ui/src/Label/src/BasicLabel.vue.d.ts +1 -1
- package/lib/ui/src/Loading/src/Loading.vue.d.ts +1 -1
- package/lib/ui/src/Modal/index.d.ts +10 -10
- package/lib/ui/src/Modal/src/BasicModal.vue.d.ts +4 -4
- package/lib/ui/src/Modal/src/components/BasicTitle.vue.d.ts +6 -6
- package/lib/ui/src/Modal/src/components/Modal.d.ts +4 -4
- package/lib/ui/src/Modal/src/components/ModalClose.vue.d.ts +1 -1
- package/lib/ui/src/Modal/src/components/ModalFooter.vue.d.ts +4 -4
- package/lib/ui/src/Modal/src/components/ModalHeader.vue.d.ts +1 -1
- package/lib/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +3 -3
- package/lib/ui/src/Modal/src/hooks/useI18n.d.ts +1 -1
- package/lib/ui/src/Modal/src/typing.d.ts +3 -3
- package/lib/ui/src/Page/src/PageFooter.vue.d.ts +1 -1
- package/lib/ui/src/Page/src/PageSecond.d.ts +1 -1
- package/lib/ui/src/Page/src/PageWrapper.vue.d.ts +1 -1
- package/lib/ui/src/Process/src/Process.d.ts +2 -2
- package/lib/ui/src/Scrollbar/src/Scrollbar.vue.d.ts +9 -9
- package/lib/ui/src/Scrollbar/src/bar.d.ts +1 -1
- package/lib/ui/src/Scrollbar/src/types.d.ts +18 -18
- package/lib/ui/src/ShyAdvancedSearch/src/ShyAdvancedSearch.d.ts +1 -1
- package/lib/ui/src/ShyAdvancedSearch/src/ShyGlobalSearch.d.ts +1 -1
- package/lib/ui/src/ShyAdvancedSearch/src/types/index.d.ts +2 -2
- package/lib/ui/src/ShyContainer/src/ShyContainer.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/ShyComponentMap.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/ShyForm.d.ts +132 -132
- package/lib/ui/src/ShyForm/src/components/ApiCascader.vue.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/DeptTree.vue.d.ts +4 -4
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/Modal.vue.d.ts +20 -20
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/Table.vue.d.ts +5 -5
- package/lib/ui/src/ShyForm/src/components/ApiSelect.vue.d.ts +4 -4
- package/lib/ui/src/ShyForm/src/components/ApiTransfer.vue.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/components/ApiTree.vue.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/components/ApiTreeSelect.vue.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/components/FormAction.vue.d.ts +4 -4
- package/lib/ui/src/ShyForm/src/components/FormItem.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/components/FormWrapper.vue.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/components/Group.d.ts +5 -6
- package/lib/ui/src/ShyForm/src/components/RadioButtonGroup.vue.d.ts +3 -3
- package/lib/ui/src/ShyForm/src/components/Table.d.ts +11 -2
- package/lib/ui/src/ShyForm/src/components/Tinymce.vue.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/hooks/useLabelWidth.d.ts +13 -12
- package/lib/ui/src/ShyForm/src/hooks/useShyForm.d.ts +2 -2
- package/lib/ui/src/ShyForm/src/props.d.ts +60 -60
- package/lib/ui/src/ShyForm/src/types/form.d.ts +6 -6
- package/lib/ui/src/ShyForm/src/types/index.d.ts +2 -2
- package/lib/ui/src/ShyLayoutContainer/src/ShyLayoutContainer.d.ts +3 -3
- package/lib/ui/src/ShyLayoutContainer/src/types.d.ts +2 -2
- package/lib/ui/src/ShyTable/src/ShyTable.d.ts +4 -4
- package/lib/ui/src/ShyTable/src/componentMap.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/EditTableHeaderIcon.vue.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/HeaderCell.vue.d.ts +7 -7
- package/lib/ui/src/ShyTable/src/components/ShyInfo.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/ShyTableAction.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/ShyTableFooter.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/ShyTableHeader.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowMore.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowSearch.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableAdvancedSearch.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableColumn.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableFullScreen.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableGlobalSearch.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableSize.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/TableImg.vue.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/editable/EditableCell.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/editable/index.d.ts +2 -2
- package/lib/ui/src/ShyTable/src/hooks/useShyTable.d.ts +3 -3
- package/lib/ui/src/ShyTable/src/hooks/useShyTableContext.d.ts +2 -2
- package/lib/ui/src/ShyTable/src/types/pagination.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/types/table.d.ts +7 -7
- package/lib/ui/src/ShyTag/src/ShyTag.d.ts +1 -1
- package/lib/ui/src/StrengthMeter/src/StrengthMeter.vue.d.ts +2 -2
- package/lib/ui/src/TablePlus/TableColGroup.vue.d.ts +5 -5
- package/lib/ui/src/TablePlus/TablePlus.vue.d.ts +150 -150
- package/lib/ui/src/TablePlus/componentMap.d.ts +1 -1
- package/lib/ui/src/TablePlus/components/ButtonGroupEdit.vue.d.ts +2 -2
- package/lib/ui/src/TablePlus/components/Icon/Sort.vue.d.ts +1 -1
- package/lib/ui/src/TablePlus/types/componentType.d.ts +1 -1
- package/lib/ui/src/Transition/index.d.ts +24 -24
- package/lib/ui/src/Transition/src/CollapseTransition.vue.d.ts +1 -1
- package/lib/ui/src/Transition/src/CreateTransition.d.ts +4 -4
- package/lib/ui/src/Tree/src/BasicTree.d.ts +3 -3
- package/lib/ui/src/Tree/src/types/tree.d.ts +3 -3
- package/lib/ui/src/Upload/src/components/FileList.d.ts +37 -34
- package/lib/ui/src/Upload/src/components/UploadPreviewModal.vue.d.ts +49 -46
- package/lib/ui/src/Upload/src/props.d.ts +3 -3
- package/lib/ui/types/global.d.ts +102 -102
- package/lib/ui/types/index.d.ts +36 -36
- package/package.json +2 -2
- package/es/ui/src/Upload/src/components/ThumbUrl.vue.d.ts +0 -107
- package/lib/ui/src/Upload/src/components/ThumbUrl.vue.d.ts +0 -107
|
@@ -6,7 +6,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
6
6
|
};
|
|
7
7
|
}, {
|
|
8
8
|
props: any;
|
|
9
|
-
emit: (event: "
|
|
9
|
+
emit: (event: "delete" | "register" | "list-change", ...args: any[]) => void;
|
|
10
10
|
columns: any[];
|
|
11
11
|
actionColumn: any;
|
|
12
12
|
register: import("../../../Modal").RegisterFn;
|
|
@@ -38,23 +38,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
38
38
|
dragOptions: {
|
|
39
39
|
type: import("vue").PropType<{
|
|
40
40
|
scroll: boolean | HTMLElement;
|
|
41
|
-
draggable: string;
|
|
42
|
-
animation: number;
|
|
43
|
-
direction: ((evt: import("sortablejs").SortableEvent, target: HTMLElement, dragEl: HTMLElement) => import("sortablejs").Direction) | import("sortablejs").Direction;
|
|
44
41
|
filter: string | ((this: import("sortablejs"), event: Event | TouchEvent, target: HTMLElement, sortable: import("sortablejs")) => boolean);
|
|
45
|
-
disabled: boolean;
|
|
46
42
|
sort: boolean;
|
|
47
|
-
store: {
|
|
48
|
-
get: (sortable: import("sortablejs")) => string[];
|
|
49
|
-
set: (sortable: import("sortablejs")) => void;
|
|
50
|
-
};
|
|
51
|
-
group: string | import("sortablejs").GroupOptions;
|
|
52
|
-
delay: number;
|
|
53
43
|
onChange: (evt: import("sortablejs").SortableEvent) => void;
|
|
54
44
|
onSelect: (event: import("sortablejs").SortableEvent) => void;
|
|
45
|
+
animation: number;
|
|
46
|
+
direction: ((evt: import("sortablejs").SortableEvent, target: HTMLElement, dragEl: HTMLElement) => import("sortablejs").Direction) | import("sortablejs").Direction;
|
|
47
|
+
disabled: boolean;
|
|
55
48
|
onDeselect: (event: import("sortablejs").SortableEvent) => void;
|
|
49
|
+
draggable: string;
|
|
56
50
|
onRemove: (event: import("sortablejs").SortableEvent) => void;
|
|
57
51
|
handle: string;
|
|
52
|
+
delay: number;
|
|
53
|
+
group: string | import("sortablejs").GroupOptions;
|
|
58
54
|
chosenClass: string;
|
|
59
55
|
dataIdAttr: string;
|
|
60
56
|
delayOnTouchOnly: boolean;
|
|
@@ -77,6 +73,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
77
73
|
invertedSwapThreshold: number;
|
|
78
74
|
preventOnFilter: boolean;
|
|
79
75
|
removeCloneOnHide: boolean;
|
|
76
|
+
store: {
|
|
77
|
+
get: (sortable: import("sortablejs")) => string[];
|
|
78
|
+
set: (sortable: import("sortablejs")) => void;
|
|
79
|
+
};
|
|
80
80
|
swapThreshold: number;
|
|
81
81
|
touchStartThreshold: number;
|
|
82
82
|
setData: (dataTransfer: DataTransfer, draggedElement: HTMLElement) => void;
|
|
@@ -89,13 +89,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
89
89
|
onSort: (event: import("sortablejs").SortableEvent) => void;
|
|
90
90
|
onFilter: (event: import("sortablejs").SortableEvent) => void;
|
|
91
91
|
onMove: (evt: import("sortablejs").MoveEvent, originalEvent: Event) => boolean | void | 1 | -1;
|
|
92
|
+
forceAutoScrollFallback: boolean;
|
|
92
93
|
scrollFn: (this: import("sortablejs"), offsetX: number, offsetY: number, originalEvent: Event, touchEvt: TouchEvent, hoverTargetEl: HTMLElement) => void | "continue";
|
|
93
94
|
scrollSensitivity: number;
|
|
94
95
|
scrollSpeed: number;
|
|
95
96
|
bubbleScroll: boolean;
|
|
96
97
|
multiDrag: boolean;
|
|
97
98
|
selectedClass: string;
|
|
98
|
-
multiDragKey:
|
|
99
|
+
multiDragKey: string;
|
|
99
100
|
avoidImplicitDeselect: boolean;
|
|
100
101
|
revertOnSpill: boolean;
|
|
101
102
|
removeOnSpill: boolean;
|
|
@@ -106,7 +107,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
106
107
|
}>;
|
|
107
108
|
default: () => {};
|
|
108
109
|
};
|
|
109
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
110
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
110
111
|
columns: {
|
|
111
112
|
type: import("vue").PropType<import("../types/typing").FileBasicColumn[]>;
|
|
112
113
|
default: any;
|
|
@@ -126,23 +127,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
126
127
|
dragOptions: {
|
|
127
128
|
type: import("vue").PropType<{
|
|
128
129
|
scroll: boolean | HTMLElement;
|
|
129
|
-
draggable: string;
|
|
130
|
-
animation: number;
|
|
131
|
-
direction: ((evt: import("sortablejs").SortableEvent, target: HTMLElement, dragEl: HTMLElement) => import("sortablejs").Direction) | import("sortablejs").Direction;
|
|
132
130
|
filter: string | ((this: import("sortablejs"), event: Event | TouchEvent, target: HTMLElement, sortable: import("sortablejs")) => boolean);
|
|
133
|
-
disabled: boolean;
|
|
134
131
|
sort: boolean;
|
|
135
|
-
store: {
|
|
136
|
-
get: (sortable: import("sortablejs")) => string[];
|
|
137
|
-
set: (sortable: import("sortablejs")) => void;
|
|
138
|
-
};
|
|
139
|
-
group: string | import("sortablejs").GroupOptions;
|
|
140
|
-
delay: number;
|
|
141
132
|
onChange: (evt: import("sortablejs").SortableEvent) => void;
|
|
142
133
|
onSelect: (event: import("sortablejs").SortableEvent) => void;
|
|
134
|
+
animation: number;
|
|
135
|
+
direction: ((evt: import("sortablejs").SortableEvent, target: HTMLElement, dragEl: HTMLElement) => import("sortablejs").Direction) | import("sortablejs").Direction;
|
|
136
|
+
disabled: boolean;
|
|
143
137
|
onDeselect: (event: import("sortablejs").SortableEvent) => void;
|
|
138
|
+
draggable: string;
|
|
144
139
|
onRemove: (event: import("sortablejs").SortableEvent) => void;
|
|
145
140
|
handle: string;
|
|
141
|
+
delay: number;
|
|
142
|
+
group: string | import("sortablejs").GroupOptions;
|
|
146
143
|
chosenClass: string;
|
|
147
144
|
dataIdAttr: string;
|
|
148
145
|
delayOnTouchOnly: boolean;
|
|
@@ -165,6 +162,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
165
162
|
invertedSwapThreshold: number;
|
|
166
163
|
preventOnFilter: boolean;
|
|
167
164
|
removeCloneOnHide: boolean;
|
|
165
|
+
store: {
|
|
166
|
+
get: (sortable: import("sortablejs")) => string[];
|
|
167
|
+
set: (sortable: import("sortablejs")) => void;
|
|
168
|
+
};
|
|
168
169
|
swapThreshold: number;
|
|
169
170
|
touchStartThreshold: number;
|
|
170
171
|
setData: (dataTransfer: DataTransfer, draggedElement: HTMLElement) => void;
|
|
@@ -177,13 +178,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
177
178
|
onSort: (event: import("sortablejs").SortableEvent) => void;
|
|
178
179
|
onFilter: (event: import("sortablejs").SortableEvent) => void;
|
|
179
180
|
onMove: (evt: import("sortablejs").MoveEvent, originalEvent: Event) => boolean | void | 1 | -1;
|
|
181
|
+
forceAutoScrollFallback: boolean;
|
|
180
182
|
scrollFn: (this: import("sortablejs"), offsetX: number, offsetY: number, originalEvent: Event, touchEvt: TouchEvent, hoverTargetEl: HTMLElement) => void | "continue";
|
|
181
183
|
scrollSensitivity: number;
|
|
182
184
|
scrollSpeed: number;
|
|
183
185
|
bubbleScroll: boolean;
|
|
184
186
|
multiDrag: boolean;
|
|
185
187
|
selectedClass: string;
|
|
186
|
-
multiDragKey:
|
|
188
|
+
multiDragKey: string;
|
|
187
189
|
avoidImplicitDeselect: boolean;
|
|
188
190
|
revertOnSpill: boolean;
|
|
189
191
|
removeOnSpill: boolean;
|
|
@@ -201,23 +203,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
201
203
|
openDrag: boolean;
|
|
202
204
|
dragOptions: {
|
|
203
205
|
scroll: boolean | HTMLElement;
|
|
204
|
-
draggable: string;
|
|
205
|
-
animation: number;
|
|
206
|
-
direction: ((evt: import("sortablejs").SortableEvent, target: HTMLElement, dragEl: HTMLElement) => import("sortablejs").Direction) | import("sortablejs").Direction;
|
|
207
206
|
filter: string | ((this: import("sortablejs"), event: Event | TouchEvent, target: HTMLElement, sortable: import("sortablejs")) => boolean);
|
|
208
|
-
disabled: boolean;
|
|
209
207
|
sort: boolean;
|
|
210
|
-
store: {
|
|
211
|
-
get: (sortable: import("sortablejs")) => string[];
|
|
212
|
-
set: (sortable: import("sortablejs")) => void;
|
|
213
|
-
};
|
|
214
|
-
group: string | import("sortablejs").GroupOptions;
|
|
215
|
-
delay: number;
|
|
216
208
|
onChange: (evt: import("sortablejs").SortableEvent) => void;
|
|
217
209
|
onSelect: (event: import("sortablejs").SortableEvent) => void;
|
|
210
|
+
animation: number;
|
|
211
|
+
direction: ((evt: import("sortablejs").SortableEvent, target: HTMLElement, dragEl: HTMLElement) => import("sortablejs").Direction) | import("sortablejs").Direction;
|
|
212
|
+
disabled: boolean;
|
|
218
213
|
onDeselect: (event: import("sortablejs").SortableEvent) => void;
|
|
214
|
+
draggable: string;
|
|
219
215
|
onRemove: (event: import("sortablejs").SortableEvent) => void;
|
|
220
216
|
handle: string;
|
|
217
|
+
delay: number;
|
|
218
|
+
group: string | import("sortablejs").GroupOptions;
|
|
221
219
|
chosenClass: string;
|
|
222
220
|
dataIdAttr: string;
|
|
223
221
|
delayOnTouchOnly: boolean;
|
|
@@ -240,6 +238,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
240
238
|
invertedSwapThreshold: number;
|
|
241
239
|
preventOnFilter: boolean;
|
|
242
240
|
removeCloneOnHide: boolean;
|
|
241
|
+
store: {
|
|
242
|
+
get: (sortable: import("sortablejs")) => string[];
|
|
243
|
+
set: (sortable: import("sortablejs")) => void;
|
|
244
|
+
};
|
|
243
245
|
swapThreshold: number;
|
|
244
246
|
touchStartThreshold: number;
|
|
245
247
|
setData: (dataTransfer: DataTransfer, draggedElement: HTMLElement) => void;
|
|
@@ -252,13 +254,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
252
254
|
onSort: (event: import("sortablejs").SortableEvent) => void;
|
|
253
255
|
onFilter: (event: import("sortablejs").SortableEvent) => void;
|
|
254
256
|
onMove: (evt: import("sortablejs").MoveEvent, originalEvent: Event) => boolean | void | 1 | -1;
|
|
257
|
+
forceAutoScrollFallback: boolean;
|
|
255
258
|
scrollFn: (this: import("sortablejs"), offsetX: number, offsetY: number, originalEvent: Event, touchEvt: TouchEvent, hoverTargetEl: HTMLElement) => void | "continue";
|
|
256
259
|
scrollSensitivity: number;
|
|
257
260
|
scrollSpeed: number;
|
|
258
261
|
bubbleScroll: boolean;
|
|
259
262
|
multiDrag: boolean;
|
|
260
263
|
selectedClass: string;
|
|
261
|
-
multiDragKey:
|
|
264
|
+
multiDragKey: string;
|
|
262
265
|
avoidImplicitDeselect: boolean;
|
|
263
266
|
revertOnSpill: boolean;
|
|
264
267
|
removeOnSpill: boolean;
|
|
@@ -536,11 +539,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
536
539
|
onRegister?: (...args: any[]) => any;
|
|
537
540
|
}, {
|
|
538
541
|
size: "small" | "default" | "large";
|
|
539
|
-
scrollTop: boolean;
|
|
540
|
-
draggable: boolean;
|
|
541
542
|
mask: boolean;
|
|
542
|
-
visible: boolean;
|
|
543
543
|
loading: boolean;
|
|
544
|
+
visible: boolean;
|
|
544
545
|
defaultFullscreen: boolean;
|
|
545
546
|
canFullscreen: boolean;
|
|
546
547
|
wrapperFooterOffset: number;
|
|
@@ -553,6 +554,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
553
554
|
maskClosable: boolean;
|
|
554
555
|
keyboard: boolean;
|
|
555
556
|
okType: string;
|
|
557
|
+
scrollTop: boolean;
|
|
558
|
+
draggable: boolean;
|
|
556
559
|
centered: boolean;
|
|
557
560
|
cancelText: string;
|
|
558
561
|
okText: string;
|
|
@@ -706,11 +709,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
706
709
|
getWrapperHeight: import("vue").ComputedRef<any>;
|
|
707
710
|
}, {}, {}, {}, {
|
|
708
711
|
size: "small" | "default" | "large";
|
|
709
|
-
scrollTop: boolean;
|
|
710
|
-
draggable: boolean;
|
|
711
712
|
mask: boolean;
|
|
712
|
-
visible: boolean;
|
|
713
713
|
loading: boolean;
|
|
714
|
+
visible: boolean;
|
|
714
715
|
defaultFullscreen: boolean;
|
|
715
716
|
canFullscreen: boolean;
|
|
716
717
|
wrapperFooterOffset: number;
|
|
@@ -723,6 +724,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
723
724
|
maskClosable: boolean;
|
|
724
725
|
keyboard: boolean;
|
|
725
726
|
okType: string;
|
|
727
|
+
scrollTop: boolean;
|
|
728
|
+
draggable: boolean;
|
|
726
729
|
centered: boolean;
|
|
727
730
|
cancelText: string;
|
|
728
731
|
okText: string;
|
|
@@ -871,13 +874,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
871
874
|
handleHeightChange: (height: string) => void;
|
|
872
875
|
handleTitleDbClick: (e: Event) => void;
|
|
873
876
|
getWrapperHeight: import("vue").ComputedRef<any>;
|
|
874
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "height-change" | "ok" | "visible-change" | "register" | "update:visible")[], "
|
|
877
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "height-change" | "ok" | "visible-change" | "register" | "update:visible")[], "cancel" | "height-change" | "ok" | "visible-change" | "register" | "update:visible", {
|
|
875
878
|
size: "small" | "default" | "large";
|
|
876
|
-
scrollTop: boolean;
|
|
877
|
-
draggable: boolean;
|
|
878
879
|
mask: boolean;
|
|
879
|
-
visible: boolean;
|
|
880
880
|
loading: boolean;
|
|
881
|
+
visible: boolean;
|
|
881
882
|
defaultFullscreen: boolean;
|
|
882
883
|
canFullscreen: boolean;
|
|
883
884
|
wrapperFooterOffset: number;
|
|
@@ -890,11 +891,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
890
891
|
maskClosable: boolean;
|
|
891
892
|
keyboard: boolean;
|
|
892
893
|
okType: string;
|
|
894
|
+
scrollTop: boolean;
|
|
895
|
+
draggable: boolean;
|
|
893
896
|
centered: boolean;
|
|
894
897
|
cancelText: string;
|
|
895
898
|
okText: string;
|
|
896
899
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
|
897
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
900
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "register" | "list-change")[], "delete" | "register" | "list-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
898
901
|
value: {
|
|
899
902
|
type: import("vue").PropType<string[]>;
|
|
900
903
|
default: () => any[];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import { FileBasicColumn } from './types/typing';
|
|
3
3
|
import type { Options } from 'sortablejs';
|
|
4
|
-
export
|
|
4
|
+
export type Merge<O extends object, T extends object> = {
|
|
5
5
|
[K in keyof O | keyof T]: K extends keyof T ? T[K] : K extends keyof O ? O[K] : never;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
type SortableOptions = Merge<Omit<Options, 'onEnd'>, {
|
|
8
8
|
onAfterEnd?: <T = any, R = any>(params: T) => R;
|
|
9
9
|
}>;
|
|
10
|
-
|
|
10
|
+
type ListType = 'text' | 'picture' | 'picture-card';
|
|
11
11
|
export declare const basicProps: {
|
|
12
12
|
listType: {
|
|
13
13
|
type: PropType<ListType>;
|
package/es/ui/types/global.d.ts
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentRenderProxy,
|
|
3
|
-
VNode,
|
|
4
|
-
VNodeChild,
|
|
5
|
-
ComponentPublicInstance,
|
|
6
|
-
FunctionalComponent,
|
|
7
|
-
PropType as VuePropType
|
|
8
|
-
} from 'vue'
|
|
9
|
-
|
|
10
|
-
declare global {
|
|
11
|
-
const __APP_INFO__: {
|
|
12
|
-
pkg: {
|
|
13
|
-
name: string
|
|
14
|
-
version: string
|
|
15
|
-
dependencies: Recordable<string>
|
|
16
|
-
devDependencies: Recordable<string>
|
|
17
|
-
}
|
|
18
|
-
lastBuildTime: string
|
|
19
|
-
}
|
|
20
|
-
// declare interface Window {
|
|
21
|
-
// // Global vue app instance
|
|
22
|
-
// __APP__: App<Element>;
|
|
23
|
-
// }
|
|
24
|
-
|
|
25
|
-
// vue
|
|
26
|
-
declare type PropType<T> = VuePropType<T>
|
|
27
|
-
declare type VueNode = VNodeChild | JSX.Element
|
|
28
|
-
|
|
29
|
-
export type Writable<T> = {
|
|
30
|
-
-readonly [P in keyof T]: T[P]
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
declare type Nullable<T> = T | null
|
|
34
|
-
declare type NonNullable<T> = T extends null | undefined ? never : T
|
|
35
|
-
declare type Recordable<T = any> = Record<string, T>
|
|
36
|
-
declare type ReadonlyRecordable<T = any> = {
|
|
37
|
-
readonly [key: string]: T
|
|
38
|
-
}
|
|
39
|
-
declare type Indexable<T = any> = {
|
|
40
|
-
[key: string]: T
|
|
41
|
-
}
|
|
42
|
-
declare type DeepPartial<T> = {
|
|
43
|
-
[P in keyof T]?: DeepPartial<T[P]>
|
|
44
|
-
}
|
|
45
|
-
declare type TimeoutHandle = ReturnType<typeof setTimeout>
|
|
46
|
-
declare type IntervalHandle = ReturnType<typeof setInterval>
|
|
47
|
-
|
|
48
|
-
declare interface ChangeEvent extends Event {
|
|
49
|
-
target: HTMLInputElement
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
declare interface WheelEvent {
|
|
53
|
-
path?: EventTarget[]
|
|
54
|
-
}
|
|
55
|
-
interface ImportMetaEnv extends ViteEnv {
|
|
56
|
-
__: unknown
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
declare interface ViteEnv {
|
|
60
|
-
VITE_PORT: number
|
|
61
|
-
VITE_USE_MOCK: boolean
|
|
62
|
-
VITE_USE_PWA: boolean
|
|
63
|
-
VITE_PUBLIC_PATH: string
|
|
64
|
-
VITE_PROXY: [string, string][]
|
|
65
|
-
VITE_GLOB_APP_TITLE: string
|
|
66
|
-
VITE_GLOB_APP_SHORT_NAME: string
|
|
67
|
-
VITE_GLOB_COPY_RIGHT: string
|
|
68
|
-
VITE_USE_CDN: boolean
|
|
69
|
-
VITE_DROP_CONSOLE: boolean
|
|
70
|
-
VITE_BUILD_COMPRESS: 'gzip' | 'brotli' | 'none'
|
|
71
|
-
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE: boolean
|
|
72
|
-
VITE_LEGACY: boolean
|
|
73
|
-
VITE_USE_IMAGEMIN: boolean
|
|
74
|
-
VITE_GENERATE_UI: string
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
declare function parseInt(s: string | number, radix?: number): number
|
|
78
|
-
|
|
79
|
-
declare function parseFloat(string: string | number): number
|
|
80
|
-
|
|
81
|
-
namespace JSX {
|
|
82
|
-
// tslint:disable no-empty-interface
|
|
83
|
-
type Element = VNode
|
|
84
|
-
// tslint:disable no-empty-interface
|
|
85
|
-
type ElementClass = ComponentRenderProxy
|
|
86
|
-
interface ElementAttributesProperty {
|
|
87
|
-
$props: any
|
|
88
|
-
}
|
|
89
|
-
interface IntrinsicElements {
|
|
90
|
-
[elem: string]: any
|
|
91
|
-
}
|
|
92
|
-
interface IntrinsicAttributes {
|
|
93
|
-
[elem: string]: any
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
declare module 'vue' {
|
|
99
|
-
export type JSXComponent<Props = any> =
|
|
100
|
-
| { new (): ComponentPublicInstance<Props> }
|
|
101
|
-
| FunctionalComponent<Props>
|
|
102
|
-
}
|
|
1
|
+
import type {
|
|
2
|
+
ComponentRenderProxy,
|
|
3
|
+
VNode,
|
|
4
|
+
VNodeChild,
|
|
5
|
+
ComponentPublicInstance,
|
|
6
|
+
FunctionalComponent,
|
|
7
|
+
PropType as VuePropType
|
|
8
|
+
} from 'vue'
|
|
9
|
+
|
|
10
|
+
declare global {
|
|
11
|
+
const __APP_INFO__: {
|
|
12
|
+
pkg: {
|
|
13
|
+
name: string
|
|
14
|
+
version: string
|
|
15
|
+
dependencies: Recordable<string>
|
|
16
|
+
devDependencies: Recordable<string>
|
|
17
|
+
}
|
|
18
|
+
lastBuildTime: string
|
|
19
|
+
}
|
|
20
|
+
// declare interface Window {
|
|
21
|
+
// // Global vue app instance
|
|
22
|
+
// __APP__: App<Element>;
|
|
23
|
+
// }
|
|
24
|
+
|
|
25
|
+
// vue
|
|
26
|
+
declare type PropType<T> = VuePropType<T>
|
|
27
|
+
declare type VueNode = VNodeChild | JSX.Element
|
|
28
|
+
|
|
29
|
+
export type Writable<T> = {
|
|
30
|
+
-readonly [P in keyof T]: T[P]
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare type Nullable<T> = T | null
|
|
34
|
+
declare type NonNullable<T> = T extends null | undefined ? never : T
|
|
35
|
+
declare type Recordable<T = any> = Record<string, T>
|
|
36
|
+
declare type ReadonlyRecordable<T = any> = {
|
|
37
|
+
readonly [key: string]: T
|
|
38
|
+
}
|
|
39
|
+
declare type Indexable<T = any> = {
|
|
40
|
+
[key: string]: T
|
|
41
|
+
}
|
|
42
|
+
declare type DeepPartial<T> = {
|
|
43
|
+
[P in keyof T]?: DeepPartial<T[P]>
|
|
44
|
+
}
|
|
45
|
+
declare type TimeoutHandle = ReturnType<typeof setTimeout>
|
|
46
|
+
declare type IntervalHandle = ReturnType<typeof setInterval>
|
|
47
|
+
|
|
48
|
+
declare interface ChangeEvent extends Event {
|
|
49
|
+
target: HTMLInputElement
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
declare interface WheelEvent {
|
|
53
|
+
path?: EventTarget[]
|
|
54
|
+
}
|
|
55
|
+
interface ImportMetaEnv extends ViteEnv {
|
|
56
|
+
__: unknown
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare interface ViteEnv {
|
|
60
|
+
VITE_PORT: number
|
|
61
|
+
VITE_USE_MOCK: boolean
|
|
62
|
+
VITE_USE_PWA: boolean
|
|
63
|
+
VITE_PUBLIC_PATH: string
|
|
64
|
+
VITE_PROXY: [string, string][]
|
|
65
|
+
VITE_GLOB_APP_TITLE: string
|
|
66
|
+
VITE_GLOB_APP_SHORT_NAME: string
|
|
67
|
+
VITE_GLOB_COPY_RIGHT: string
|
|
68
|
+
VITE_USE_CDN: boolean
|
|
69
|
+
VITE_DROP_CONSOLE: boolean
|
|
70
|
+
VITE_BUILD_COMPRESS: 'gzip' | 'brotli' | 'none'
|
|
71
|
+
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE: boolean
|
|
72
|
+
VITE_LEGACY: boolean
|
|
73
|
+
VITE_USE_IMAGEMIN: boolean
|
|
74
|
+
VITE_GENERATE_UI: string
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
declare function parseInt(s: string | number, radix?: number): number
|
|
78
|
+
|
|
79
|
+
declare function parseFloat(string: string | number): number
|
|
80
|
+
|
|
81
|
+
namespace JSX {
|
|
82
|
+
// tslint:disable no-empty-interface
|
|
83
|
+
type Element = VNode
|
|
84
|
+
// tslint:disable no-empty-interface
|
|
85
|
+
type ElementClass = ComponentRenderProxy
|
|
86
|
+
interface ElementAttributesProperty {
|
|
87
|
+
$props: any
|
|
88
|
+
}
|
|
89
|
+
interface IntrinsicElements {
|
|
90
|
+
[elem: string]: any
|
|
91
|
+
}
|
|
92
|
+
interface IntrinsicAttributes {
|
|
93
|
+
[elem: string]: any
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
declare module 'vue' {
|
|
99
|
+
export type JSXComponent<Props = any> =
|
|
100
|
+
| { new (): ComponentPublicInstance<Props> }
|
|
101
|
+
| FunctionalComponent<Props>
|
|
102
|
+
}
|
package/es/ui/types/index.d.ts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
type Nullable<T> = T | null
|
|
2
|
-
|
|
3
|
-
declare interface Fn<T = any, R = T> {
|
|
4
|
-
(...arg: T[]): R
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
declare interface PromiseFn<T = any, R = T> {
|
|
8
|
-
(...arg: T[]): Promise<R>
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
declare type RefType<T> = T | null
|
|
12
|
-
|
|
13
|
-
declare type LabelValueOptions = {
|
|
14
|
-
label: string
|
|
15
|
-
value: any
|
|
16
|
-
[key: string]: string | number | boolean
|
|
17
|
-
}[]
|
|
18
|
-
|
|
19
|
-
declare type EmitType = (event: any, ...args: any[]) => void
|
|
20
|
-
|
|
21
|
-
declare type TargetContext = '_self' | '_blank'
|
|
22
|
-
|
|
23
|
-
declare interface ComponentElRef<T extends HTMLElement = HTMLDivElement> {
|
|
24
|
-
$el: T
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
declare type ComponentRef<T extends HTMLElement = HTMLDivElement> =
|
|
28
|
-
ComponentElRef<T> | null
|
|
29
|
-
|
|
30
|
-
declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>
|
|
31
|
-
|
|
32
|
-
declare type Recordable<T = any> = { [key: string]: T }
|
|
33
|
-
|
|
34
|
-
// declare module 'vue-types' {
|
|
35
|
-
// // 这里添加 vue-types 模块的类型声明
|
|
36
|
-
// }
|
|
1
|
+
type Nullable<T> = T | null
|
|
2
|
+
|
|
3
|
+
declare interface Fn<T = any, R = T> {
|
|
4
|
+
(...arg: T[]): R
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
declare interface PromiseFn<T = any, R = T> {
|
|
8
|
+
(...arg: T[]): Promise<R>
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare type RefType<T> = T | null
|
|
12
|
+
|
|
13
|
+
declare type LabelValueOptions = {
|
|
14
|
+
label: string
|
|
15
|
+
value: any
|
|
16
|
+
[key: string]: string | number | boolean
|
|
17
|
+
}[]
|
|
18
|
+
|
|
19
|
+
declare type EmitType = (event: any, ...args: any[]) => void
|
|
20
|
+
|
|
21
|
+
declare type TargetContext = '_self' | '_blank'
|
|
22
|
+
|
|
23
|
+
declare interface ComponentElRef<T extends HTMLElement = HTMLDivElement> {
|
|
24
|
+
$el: T
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare type ComponentRef<T extends HTMLElement = HTMLDivElement> =
|
|
28
|
+
ComponentElRef<T> | null
|
|
29
|
+
|
|
30
|
+
declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>
|
|
31
|
+
|
|
32
|
+
declare type Recordable<T = any> = { [key: string]: T }
|
|
33
|
+
|
|
34
|
+
// declare module 'vue-types' {
|
|
35
|
+
// // 这里添加 vue-types 模块的类型声明
|
|
36
|
+
// }
|