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
|
@@ -2,10 +2,10 @@ import type { FormActionType, FieldMapToTime, FormSchema, FormProps } from './ty
|
|
|
2
2
|
import { type CSSProperties, type PropType } from 'vue';
|
|
3
3
|
import type { ColEx } from './types';
|
|
4
4
|
import type { TableActionType as ShyTableActionType } from '../../ShyTable';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
type SizeType = 'small' | 'middle' | 'large' | undefined;
|
|
6
|
+
type ButtonShape = 'default' | 'circle' | 'round';
|
|
7
|
+
type ButtonHTMLType = 'submit' | 'button' | 'reset';
|
|
8
|
+
type ButtonProps = {
|
|
9
9
|
htmlType?: ButtonHTMLType | undefined;
|
|
10
10
|
loading?: boolean | {
|
|
11
11
|
delay?: number | undefined;
|
|
@@ -193,21 +193,21 @@ export declare const shyFormBasicProps: {
|
|
|
193
193
|
rowProps: {
|
|
194
194
|
type: ((new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
195
195
|
align: {
|
|
196
|
-
type: PropType<"top" | "bottom" | "
|
|
197
|
-
xxl?: "top" | "bottom" | "
|
|
198
|
-
xl?: "top" | "bottom" | "
|
|
199
|
-
lg?: "top" | "bottom" | "
|
|
200
|
-
md?: "top" | "bottom" | "
|
|
201
|
-
sm?: "top" | "bottom" | "
|
|
202
|
-
xs?: "top" | "bottom" | "
|
|
196
|
+
type: PropType<"top" | "bottom" | "middle" | "stretch" | {
|
|
197
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
198
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
199
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
200
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
201
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
202
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
203
203
|
}>;
|
|
204
|
-
default: "top" | "bottom" | "
|
|
205
|
-
xxl?: "top" | "bottom" | "
|
|
206
|
-
xl?: "top" | "bottom" | "
|
|
207
|
-
lg?: "top" | "bottom" | "
|
|
208
|
-
md?: "top" | "bottom" | "
|
|
209
|
-
sm?: "top" | "bottom" | "
|
|
210
|
-
xs?: "top" | "bottom" | "
|
|
204
|
+
default: "top" | "bottom" | "middle" | "stretch" | {
|
|
205
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
206
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
207
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
208
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
209
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
210
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
211
211
|
};
|
|
212
212
|
};
|
|
213
213
|
justify: {
|
|
@@ -239,21 +239,21 @@ export declare const shyFormBasicProps: {
|
|
|
239
239
|
};
|
|
240
240
|
}>>) | (() => Partial<import("vue").ExtractPropTypes<{
|
|
241
241
|
align: {
|
|
242
|
-
type: PropType<"top" | "bottom" | "
|
|
243
|
-
xxl?: "top" | "bottom" | "
|
|
244
|
-
xl?: "top" | "bottom" | "
|
|
245
|
-
lg?: "top" | "bottom" | "
|
|
246
|
-
md?: "top" | "bottom" | "
|
|
247
|
-
sm?: "top" | "bottom" | "
|
|
248
|
-
xs?: "top" | "bottom" | "
|
|
242
|
+
type: PropType<"top" | "bottom" | "middle" | "stretch" | {
|
|
243
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
244
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
245
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
246
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
247
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
248
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
249
249
|
}>;
|
|
250
|
-
default: "top" | "bottom" | "
|
|
251
|
-
xxl?: "top" | "bottom" | "
|
|
252
|
-
xl?: "top" | "bottom" | "
|
|
253
|
-
lg?: "top" | "bottom" | "
|
|
254
|
-
md?: "top" | "bottom" | "
|
|
255
|
-
sm?: "top" | "bottom" | "
|
|
256
|
-
xs?: "top" | "bottom" | "
|
|
250
|
+
default: "top" | "bottom" | "middle" | "stretch" | {
|
|
251
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
252
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
253
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
254
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
255
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
256
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
257
257
|
};
|
|
258
258
|
};
|
|
259
259
|
justify: {
|
|
@@ -285,21 +285,21 @@ export declare const shyFormBasicProps: {
|
|
|
285
285
|
};
|
|
286
286
|
}>>)) | ((new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
287
287
|
align: {
|
|
288
|
-
type: PropType<"top" | "bottom" | "
|
|
289
|
-
xxl?: "top" | "bottom" | "
|
|
290
|
-
xl?: "top" | "bottom" | "
|
|
291
|
-
lg?: "top" | "bottom" | "
|
|
292
|
-
md?: "top" | "bottom" | "
|
|
293
|
-
sm?: "top" | "bottom" | "
|
|
294
|
-
xs?: "top" | "bottom" | "
|
|
288
|
+
type: PropType<"top" | "bottom" | "middle" | "stretch" | {
|
|
289
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
290
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
291
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
292
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
293
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
294
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
295
295
|
}>;
|
|
296
|
-
default: "top" | "bottom" | "
|
|
297
|
-
xxl?: "top" | "bottom" | "
|
|
298
|
-
xl?: "top" | "bottom" | "
|
|
299
|
-
lg?: "top" | "bottom" | "
|
|
300
|
-
md?: "top" | "bottom" | "
|
|
301
|
-
sm?: "top" | "bottom" | "
|
|
302
|
-
xs?: "top" | "bottom" | "
|
|
296
|
+
default: "top" | "bottom" | "middle" | "stretch" | {
|
|
297
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
298
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
299
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
300
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
301
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
302
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
303
303
|
};
|
|
304
304
|
};
|
|
305
305
|
justify: {
|
|
@@ -331,21 +331,21 @@ export declare const shyFormBasicProps: {
|
|
|
331
331
|
};
|
|
332
332
|
}>>) | (() => Partial<import("vue").ExtractPropTypes<{
|
|
333
333
|
align: {
|
|
334
|
-
type: PropType<"top" | "bottom" | "
|
|
335
|
-
xxl?: "top" | "bottom" | "
|
|
336
|
-
xl?: "top" | "bottom" | "
|
|
337
|
-
lg?: "top" | "bottom" | "
|
|
338
|
-
md?: "top" | "bottom" | "
|
|
339
|
-
sm?: "top" | "bottom" | "
|
|
340
|
-
xs?: "top" | "bottom" | "
|
|
334
|
+
type: PropType<"top" | "bottom" | "middle" | "stretch" | {
|
|
335
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
336
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
337
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
338
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
339
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
340
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
341
341
|
}>;
|
|
342
|
-
default: "top" | "bottom" | "
|
|
343
|
-
xxl?: "top" | "bottom" | "
|
|
344
|
-
xl?: "top" | "bottom" | "
|
|
345
|
-
lg?: "top" | "bottom" | "
|
|
346
|
-
md?: "top" | "bottom" | "
|
|
347
|
-
sm?: "top" | "bottom" | "
|
|
348
|
-
xs?: "top" | "bottom" | "
|
|
342
|
+
default: "top" | "bottom" | "middle" | "stretch" | {
|
|
343
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
344
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
345
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
346
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
347
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
348
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
349
349
|
};
|
|
350
350
|
};
|
|
351
351
|
justify: {
|
|
@@ -7,7 +7,7 @@ import type { TableActionType as ShyTableActionType } from '../../../ShyTable';
|
|
|
7
7
|
import type { CSSProperties } from 'vue';
|
|
8
8
|
import type { RowProps } from 'ant-design-vue/lib/grid/Row';
|
|
9
9
|
import { TooltipProps } from 'ant-design-vue';
|
|
10
|
-
export
|
|
10
|
+
export type FieldMapToTime = [
|
|
11
11
|
string,
|
|
12
12
|
[
|
|
13
13
|
string,
|
|
@@ -15,7 +15,7 @@ export declare type FieldMapToTime = [
|
|
|
15
15
|
],
|
|
16
16
|
(string | [string, string])?
|
|
17
17
|
][];
|
|
18
|
-
export
|
|
18
|
+
export type Rule = RuleObject & {
|
|
19
19
|
trigger?: 'blur' | 'change' | ['change', 'blur'];
|
|
20
20
|
};
|
|
21
21
|
export interface RenderCallbackParams {
|
|
@@ -27,7 +27,7 @@ export interface RenderCallbackParams {
|
|
|
27
27
|
interface ButtonProps extends AntdButtonProps {
|
|
28
28
|
text?: string;
|
|
29
29
|
}
|
|
30
|
-
export
|
|
30
|
+
export type ComponentProps = ((opt: {
|
|
31
31
|
schema: FormSchema;
|
|
32
32
|
tableAction: ShyTableActionType | ShyTableActionType | undefined;
|
|
33
33
|
formActionType: FormActionType;
|
|
@@ -48,8 +48,8 @@ export interface FormActionType {
|
|
|
48
48
|
validate: (nameList?: NamePath[]) => Promise<any>;
|
|
49
49
|
scrollToField: (name: NamePath, options?: ScrollOptions) => Promise<void>;
|
|
50
50
|
}
|
|
51
|
-
export
|
|
52
|
-
export
|
|
51
|
+
export type RegisterFormFn = (formInstance: FormActionType) => void;
|
|
52
|
+
export type UseFormReturnType = [RegisterFormFn, FormActionType];
|
|
53
53
|
export interface FormProps {
|
|
54
54
|
formLabelInInput?: boolean;
|
|
55
55
|
name?: string;
|
|
@@ -123,5 +123,5 @@ export interface FormSchema {
|
|
|
123
123
|
dynamicDisabled?: boolean | ((renderCallbackParams: RenderCallbackParams, globDisabled?: boolean) => boolean);
|
|
124
124
|
dynamicRules?: (renderCallbackParams: RenderCallbackParams) => Rule[];
|
|
125
125
|
}
|
|
126
|
-
export
|
|
126
|
+
export type HelpComponentProps = TooltipProps;
|
|
127
127
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type ColSpanType = number;
|
|
2
2
|
export interface ColEx {
|
|
3
3
|
style?: any;
|
|
4
4
|
/**
|
|
@@ -86,5 +86,5 @@ export interface ColEx {
|
|
|
86
86
|
offset: ColSpanType;
|
|
87
87
|
} | ColSpanType;
|
|
88
88
|
}
|
|
89
|
-
export
|
|
89
|
+
export type ComponentType = 'Input' | 'InputGroup' | 'InputPassword' | 'InputSearch' | 'InputTextArea' | 'InputNumber' | 'InputCountDown' | 'Select' | 'ApiSelect' | 'TreeSelect' | 'ApiTree' | 'ApiTreeSelect' | 'ApiRadioGroup' | 'RadioButtonGroup' | 'RadioGroup' | 'Checkbox' | 'CheckboxGroup' | 'AutoComplete' | 'ApiCascader' | 'Cascader' | 'DatePicker' | 'MonthPicker' | 'RangePicker' | 'WeekPicker' | 'TimePicker' | 'Switch' | 'StrengthMeter' | 'Upload' | 'IconPicker' | 'Render' | 'Slider' | 'Rate' | 'Divider' | 'ApiTransfer' | 'Table' | 'ApiModalSelect' | 'Tinymce' | 'ColorPicker' | 'Group';
|
|
90
90
|
export {};
|
|
@@ -37,7 +37,7 @@ declare const ShyLayoutContainer: import("vue").DefineComponent<{
|
|
|
37
37
|
type: ((new (...args: any[]) => number | number[]) | (() => import("./types").Gap)) | ((new (...args: any[]) => number | number[]) | (() => import("./types").Gap))[];
|
|
38
38
|
default: number;
|
|
39
39
|
};
|
|
40
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
40
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
41
|
gridLayouts: {
|
|
42
42
|
type: {
|
|
43
43
|
(arrayLength: number): import("./types").GridLayout[];
|
|
@@ -78,9 +78,9 @@ declare const ShyLayoutContainer: import("vue").DefineComponent<{
|
|
|
78
78
|
};
|
|
79
79
|
}>>, {
|
|
80
80
|
col: number;
|
|
81
|
-
gap: import("./types").Gap;
|
|
82
|
-
height: string | number;
|
|
83
81
|
width: string | number;
|
|
82
|
+
height: string | number;
|
|
83
|
+
gap: import("./types").Gap;
|
|
84
84
|
row: number;
|
|
85
85
|
gridLayouts: import("./types").GridLayout[];
|
|
86
86
|
}, {}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type GridLayout = [number, number, number, number];
|
|
2
|
+
export type Gap = number | number[];
|
|
@@ -557,7 +557,7 @@ declare const ShyTable: import("vue").DefineComponent<{
|
|
|
557
557
|
type: ((new (...args: any[]) => import("./types/table").InfoConfig) | (() => import("./types/table").InfoConfig)) | ((new (...args: any[]) => import("./types/table").InfoConfig) | (() => import("./types/table").InfoConfig))[];
|
|
558
558
|
default: () => {};
|
|
559
559
|
};
|
|
560
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "register" | "fetch-success" | "fetch-error" | "selection-change" | "row-click" | "row-dbClick" | "row-contextmenu" | "row-mouseenter" | "row-mouseleave" | "edit-end" | "edit-cancel" | "edit-row-end" | "edit-change" | "expanded-rows-change" | "columns-change" | "columns-reset")[], "
|
|
560
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "register" | "fetch-success" | "fetch-error" | "selection-change" | "row-click" | "row-dbClick" | "row-contextmenu" | "row-mouseenter" | "row-mouseleave" | "edit-end" | "edit-cancel" | "edit-row-end" | "edit-change" | "expanded-rows-change" | "columns-change" | "columns-reset")[], "change" | "register" | "fetch-success" | "fetch-error" | "selection-change" | "row-click" | "row-dbClick" | "row-contextmenu" | "row-mouseenter" | "row-mouseleave" | "edit-end" | "edit-cancel" | "edit-row-end" | "edit-change" | "expanded-rows-change" | "columns-change" | "columns-reset", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
561
561
|
inset: {
|
|
562
562
|
type: BooleanConstructor;
|
|
563
563
|
default: boolean;
|
|
@@ -1139,16 +1139,16 @@ declare const ShyTable: import("vue").DefineComponent<{
|
|
|
1139
1139
|
x: number | true;
|
|
1140
1140
|
y: number;
|
|
1141
1141
|
};
|
|
1142
|
-
columns: import("./types/table").ShyColumn[];
|
|
1143
|
-
inset: boolean;
|
|
1144
|
-
loading: boolean;
|
|
1145
1142
|
bordered: boolean;
|
|
1143
|
+
loading: boolean;
|
|
1146
1144
|
api: (...arg: any[]) => Promise<any>;
|
|
1147
1145
|
immediate: boolean;
|
|
1146
|
+
inset: boolean;
|
|
1148
1147
|
isShowHeader: boolean;
|
|
1149
1148
|
isShowFooter: boolean;
|
|
1150
1149
|
summaryPrecision: number;
|
|
1151
1150
|
summaryTotalFields: string[];
|
|
1151
|
+
columns: import("./types/table").ShyColumn[];
|
|
1152
1152
|
formLabelInInput: boolean;
|
|
1153
1153
|
resizable: boolean;
|
|
1154
1154
|
ellipsis: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Component } from 'vue';
|
|
2
2
|
import type { ComponentType } from './types/componentType';
|
|
3
|
-
declare const componentMap: Map<ComponentType, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
|
|
3
|
+
declare const componentMap: Map<ComponentType, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>>;
|
|
4
4
|
export declare function add(compName: ComponentType, component: Component): void;
|
|
5
5
|
export declare function del(compName: ComponentType): void;
|
|
6
6
|
export { componentMap };
|
|
@@ -3,7 +3,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
6
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
7
|
title: {
|
|
8
8
|
type: StringConstructor;
|
|
9
9
|
default: string;
|
|
@@ -31,13 +31,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
31
31
|
default: string;
|
|
32
32
|
};
|
|
33
33
|
text: {
|
|
34
|
-
type: import("vue").PropType<
|
|
34
|
+
type: import("vue").PropType<any>;
|
|
35
35
|
};
|
|
36
36
|
iconSize: {
|
|
37
37
|
type: StringConstructor;
|
|
38
38
|
default: string;
|
|
39
39
|
};
|
|
40
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
40
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
41
|
maxWidth: {
|
|
42
42
|
type: StringConstructor;
|
|
43
43
|
default: string;
|
|
@@ -58,18 +58,18 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
58
58
|
default: string;
|
|
59
59
|
};
|
|
60
60
|
text: {
|
|
61
|
-
type: import("vue").PropType<
|
|
61
|
+
type: import("vue").PropType<any>;
|
|
62
62
|
};
|
|
63
63
|
iconSize: {
|
|
64
64
|
type: StringConstructor;
|
|
65
65
|
default: string;
|
|
66
66
|
};
|
|
67
67
|
}>>, {
|
|
68
|
+
placement: import("ant-design-vue/es/tooltip").TooltipPlacement;
|
|
68
69
|
color: string;
|
|
69
|
-
fontSize: string;
|
|
70
70
|
maxWidth: string;
|
|
71
|
-
placement: import("ant-design-vue/es/tooltip").TooltipPlacement;
|
|
72
71
|
showIndex: boolean;
|
|
72
|
+
fontSize: string;
|
|
73
73
|
iconSize: string;
|
|
74
74
|
}, {}>;
|
|
75
75
|
EditTableHeaderCell: import("vue").DefineComponent<{
|
|
@@ -77,7 +77,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
77
77
|
type: StringConstructor;
|
|
78
78
|
default: string;
|
|
79
79
|
};
|
|
80
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
80
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
81
81
|
title: {
|
|
82
82
|
type: StringConstructor;
|
|
83
83
|
default: string;
|
|
@@ -85,7 +85,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
85
85
|
}>>, {
|
|
86
86
|
title: string;
|
|
87
87
|
}, {}>;
|
|
88
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
88
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
89
|
column: {
|
|
90
90
|
type: any;
|
|
91
91
|
required: true;
|
|
@@ -8,7 +8,7 @@ declare const ShyInfo: import("vue").DefineComponent<{
|
|
|
8
8
|
type: PropType<Recordable<any>>;
|
|
9
9
|
default: () => {};
|
|
10
10
|
};
|
|
11
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
11
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
12
|
schemas: {
|
|
13
13
|
type: PropType<InfoSchema[]>;
|
|
14
14
|
default: () => any[];
|
|
@@ -66,7 +66,7 @@ declare const ShyTableAction: import("vue").DefineComponent<{
|
|
|
66
66
|
iconDirection: {
|
|
67
67
|
type: StringConstructor;
|
|
68
68
|
};
|
|
69
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
69
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
70
|
type: {
|
|
71
71
|
type: ((new (...args: any[]) => "button" | "link") | (() => "button" | "link")) | ((new (...args: any[]) => "button" | "link") | (() => "button" | "link"))[];
|
|
72
72
|
default: string;
|
|
@@ -18,7 +18,7 @@ declare const ShyTableFooter: import("vue").DefineComponent<{
|
|
|
18
18
|
showQuickJumper: boolean;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "pageChange"[], "pageChange", import("vue").
|
|
21
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "pageChange"[], "pageChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
22
|
isShowFooterSettings: {
|
|
23
23
|
type: BooleanConstructor;
|
|
24
24
|
};
|
|
@@ -24,7 +24,7 @@ declare const ShyTableHeader: import("vue").DefineComponent<{
|
|
|
24
24
|
isShowTitle: {
|
|
25
25
|
type: BooleanConstructor;
|
|
26
26
|
};
|
|
27
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("columns-change" | "columns-reset")[], "columns-change" | "columns-reset", import("vue").
|
|
27
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("columns-change" | "columns-reset")[], "columns-change" | "columns-reset", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
28
|
title: {
|
|
29
29
|
type: PropType<VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
30
30
|
[key: string]: any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const ShyShowMore: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
declare const ShyShowMore: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export { ShyShowMore };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const ShyShowSearch: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
declare const ShyShowSearch: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export { ShyShowSearch };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const ShyTableAdvancedSearch: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "submit")[], "reset" | "submit", import("vue").
|
|
1
|
+
declare const ShyTableAdvancedSearch: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "submit")[], "reset" | "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
2
2
|
onReset?: (...args: any[]) => any;
|
|
3
3
|
onSubmit?: (...args: any[]) => any;
|
|
4
4
|
}, {}, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const ShyTableColumn: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("columns-change" | "columns-reset")[], "columns-change" | "columns-reset", import("vue").
|
|
1
|
+
declare const ShyTableColumn: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("columns-change" | "columns-reset")[], "columns-change" | "columns-reset", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
2
2
|
"onColumns-change"?: (...args: any[]) => any;
|
|
3
3
|
"onColumns-reset"?: (...args: any[]) => any;
|
|
4
4
|
}, {}, {}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const ShyTableFullScreen: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
declare const ShyTableFullScreen: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export { ShyTableFullScreen };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const ShyTableGlobalSearch: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "submit")[], "reset" | "submit", import("vue").
|
|
1
|
+
declare const ShyTableGlobalSearch: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "submit")[], "reset" | "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
2
2
|
onReset?: (...args: any[]) => any;
|
|
3
3
|
onSubmit?: (...args: any[]) => any;
|
|
4
4
|
}, {}, {}>;
|
|
@@ -2,7 +2,7 @@ declare const ShyTableSize: import("vue").DefineComponent<{
|
|
|
2
2
|
getPopupContainer: {
|
|
3
3
|
type: FunctionConstructor;
|
|
4
4
|
};
|
|
5
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
5
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6
6
|
getPopupContainer: {
|
|
7
7
|
type: FunctionConstructor;
|
|
8
8
|
};
|
|
@@ -42,7 +42,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
42
42
|
}, {
|
|
43
43
|
prefixCls: string;
|
|
44
44
|
getWrapStyle: import("vue").ComputedRef<CSSProperties>;
|
|
45
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
45
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
46
|
imgList: {
|
|
47
47
|
type: {
|
|
48
48
|
(arrayLength: number): string[];
|
|
@@ -47,7 +47,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
handleSubmitClick: () => void;
|
|
48
48
|
spinning: import("vue").Ref<boolean>;
|
|
49
49
|
getErrorClass: import("vue").ComputedRef<string>;
|
|
50
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
50
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
51
|
value: {
|
|
52
52
|
type: PropType<string | number | boolean | Record<string, any>>;
|
|
53
53
|
default: string;
|
|
@@ -6,10 +6,10 @@ interface Params {
|
|
|
6
6
|
index: number;
|
|
7
7
|
}
|
|
8
8
|
export declare function isNeedRefresh(): void;
|
|
9
|
-
export declare function renderEditCell(column: ShyColumn, tableAction: TableActionType): ({ text, record, index }: Params) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
9
|
+
export declare function renderEditCell(column: ShyColumn, tableAction: TableActionType): ({ text: value, record, index }: Params) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
10
10
|
[key: string]: any;
|
|
11
11
|
}>;
|
|
12
|
-
export
|
|
12
|
+
export type EditRecordRow<T = Recordable> = Partial<{
|
|
13
13
|
onEdit: (editable: boolean, submit?: boolean) => Promise<boolean>;
|
|
14
14
|
onValid: () => Promise<boolean>;
|
|
15
15
|
editable: boolean;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ShyTableProps, TableActionType } from '../types/table';
|
|
2
2
|
import type { FormActionType } from '../../../ShyForm';
|
|
3
3
|
import type { ComputedRef, Ref } from 'vue';
|
|
4
|
-
|
|
4
|
+
type DynamicProps<T> = {
|
|
5
5
|
[P in keyof T]: Ref<T[P]> | T[P] | ComputedRef<T[P]>;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
type Props = Partial<DynamicProps<ShyTableProps>>;
|
|
8
|
+
type UseTableMethod = TableActionType & {
|
|
9
9
|
getForm: () => FormActionType;
|
|
10
10
|
getAdvancedForm: () => FormActionType;
|
|
11
11
|
};
|
|
@@ -2,13 +2,13 @@ import type { Ref } from 'vue';
|
|
|
2
2
|
import type { ShyTableProps, TableActionType } from '../types/table';
|
|
3
3
|
import { ComputedRef } from 'vue';
|
|
4
4
|
import { FormActionType, RegisterFormFn } from '../../../ShyForm';
|
|
5
|
-
export
|
|
5
|
+
export type Instance = TableActionType & {
|
|
6
6
|
wrapRef: Ref<Nullable<HTMLElement>>;
|
|
7
7
|
getBindValues: ComputedRef<Recordable>;
|
|
8
8
|
registerAdvanced: RegisterFormFn;
|
|
9
9
|
advanceActions: FormActionType;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
type RetInstance = Omit<Instance, 'getBindValues'> & {
|
|
12
12
|
getBindValues: ComputedRef<ShyTableProps>;
|
|
13
13
|
};
|
|
14
14
|
export declare function createTableContext(instance: Instance): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Pagination from 'ant-design-vue/lib/pagination';
|
|
2
|
-
|
|
2
|
+
type PaginationPosition = 'topLeft' | 'topCenter' | 'topRight' | 'bottomLeft' | 'bottomCenter' | 'bottomRight';
|
|
3
3
|
export declare class PaginationConfig extends Pagination {
|
|
4
4
|
position?: PaginationPosition[];
|
|
5
5
|
}
|
|
@@ -64,7 +64,7 @@ export interface GetColumnsParams {
|
|
|
64
64
|
ignoreAction?: boolean;
|
|
65
65
|
sort?: boolean;
|
|
66
66
|
}
|
|
67
|
-
export
|
|
67
|
+
export type SizeType = 'default' | 'middle' | 'small' | 'large';
|
|
68
68
|
export interface TableActionType {
|
|
69
69
|
reload: (opt?: FetchParams) => Promise<Recordable<any>[] | undefined>;
|
|
70
70
|
setSelectedRows: (rows: Recordable[]) => void;
|
|
@@ -354,9 +354,9 @@ export interface ShyTableProps<T = any> {
|
|
|
354
354
|
onColumnsChange?: (data: (ColumnChangeParam | ShyColumn)[]) => void;
|
|
355
355
|
onColumnsReset?: () => void;
|
|
356
356
|
}
|
|
357
|
-
export
|
|
358
|
-
export
|
|
359
|
-
export
|
|
357
|
+
export type AlignType = 'left' | 'center' | 'right';
|
|
358
|
+
export type CellFormat = string | ((text: string, record: Recordable, index: number, tableAction: TableActionType) => string | number) | Map<string | number, any>;
|
|
359
|
+
export type ShyColumn = {
|
|
360
360
|
width?: number | undefined;
|
|
361
361
|
children?: ShyColumn[];
|
|
362
362
|
filters?: {
|
|
@@ -401,7 +401,7 @@ export declare type ShyColumn = {
|
|
|
401
401
|
}) => VNodeChild | JSX.Element;
|
|
402
402
|
editDynamicDisabled?: boolean | ((record: Recordable) => boolean);
|
|
403
403
|
} & ColumnProps<Recordable>;
|
|
404
|
-
export
|
|
404
|
+
export type ColumnChangeParam = {
|
|
405
405
|
title: string;
|
|
406
406
|
dataIndex: string;
|
|
407
407
|
width?: number | undefined;
|
|
@@ -412,11 +412,11 @@ export interface InnerHandlers {
|
|
|
412
412
|
onColumnsChange: (data: ColumnChangeParam[]) => void;
|
|
413
413
|
onColumnsReset: () => void;
|
|
414
414
|
}
|
|
415
|
-
export
|
|
415
|
+
export type InfoSchema = {
|
|
416
416
|
label: string;
|
|
417
417
|
field: string;
|
|
418
418
|
};
|
|
419
|
-
export
|
|
419
|
+
export type InfoConfig = {
|
|
420
420
|
schemas?: InfoSchema[];
|
|
421
421
|
infoData?: Recordable;
|
|
422
422
|
};
|
|
@@ -37,7 +37,7 @@ declare const ShyTag: import("vue").DefineComponent<{
|
|
|
37
37
|
}>))[];
|
|
38
38
|
default: () => {};
|
|
39
39
|
};
|
|
40
|
-
}, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
40
|
+
}, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
41
|
options: {
|
|
42
42
|
type: ((new (...args: any[]) => Recordable<any>[]) | (() => Recordable<any>[])) | ((new (...args: any[]) => Recordable<any>[]) | (() => Recordable<any>[]))[];
|
|
43
43
|
default: () => any[];
|
|
@@ -10,11 +10,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
10
10
|
type: BooleanConstructor;
|
|
11
11
|
};
|
|
12
12
|
}, {
|
|
13
|
-
getPasswordStrength: import("vue").ComputedRef
|
|
13
|
+
getPasswordStrength: import("vue").ComputedRef<-1 | import("@zxcvbn-ts/core/dist/types").Score>;
|
|
14
14
|
handleChange: (e: ChangeEvent) => void;
|
|
15
15
|
prefixCls: string;
|
|
16
16
|
innerValueRef: import("vue").Ref<string>;
|
|
17
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "score-change")[], "change" | "score-change", import("vue").
|
|
17
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "score-change")[], "change" | "score-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
value: {
|
|
19
19
|
type: StringConstructor;
|
|
20
20
|
};
|