3h1-ui 3.0.0-next.24 → 3.0.0-next.241
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 +46649 -35051
- package/es/style.css +1933 -2633
- package/es/ui/config/index.d.ts +5 -0
- package/es/ui/index.d.ts +34 -0
- package/es/ui/src/AdvancedSearch/index.d.ts +3 -0
- package/es/ui/src/AdvancedSearch/src/data.d.ts +27 -0
- package/es/ui/src/Basic/index.d.ts +4 -0
- package/es/ui/src/Basic/src/BasicArrow.vue.d.ts +114 -0
- package/es/ui/src/Basic/src/BasicHelp.d.ts +117 -0
- package/es/ui/src/Basic/src/BasicTitle.vue.d.ts +115 -0
- package/es/ui/src/BasicContainer/index.d.ts +3 -0
- package/es/ui/src/BasicContainer/src/BasicContainer.vue.d.ts +212 -0
- package/es/ui/src/BasicContainer/src/props.d.ts +94 -0
- package/es/ui/src/BasicResizeWrapper/index.d.ts +2 -0
- package/es/ui/src/BasicResizeWrapper/src/BasicResizeWrapper.vue.d.ts +31 -0
- package/es/ui/src/BasicResizeWrapper/src/props.d.ts +11 -0
- package/es/ui/src/Button/index.d.ts +235 -0
- package/es/ui/src/Button/src/BasicButton.d.ts +105 -0
- package/es/ui/src/Button/src/PopConfirmButton.d.ts +14 -0
- package/es/ui/src/Button/src/props.d.ts +48 -0
- package/es/ui/src/ClickOutSide/index.d.ts +2 -0
- package/es/ui/src/ClickOutSide/src/ClickOutSide.vue.d.ts +8 -0
- package/es/ui/src/ColorPickerPopover/index.d.ts +2 -0
- package/es/ui/src/ColorPickerPopover/src/ColorPickerPopover.d.ts +38 -0
- package/es/ui/src/ColorPickerPopover/src/hooks/useColorManipulation.d.ts +3 -0
- package/es/ui/src/ColorPickerPopover/src/utils/makeStyle.d.ts +7 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/HexColorPicker.d.ts +23 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/RgbaColorPicker.d.ts +23 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Alpha.d.ts +27 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/AlphaColorPicker.d.ts +26 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/ColorPicker.d.ts +26 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Hue.d.ts +27 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Interactive.d.ts +24 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Pointer.d.ts +30 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Saturation.d.ts +30 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/css/styles.css.d.ts +2 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/hooks/useEventCallback.d.ts +1 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/hooks/useStyleSheet.d.ts +5 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/index.d.ts +2 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/types.d.ts +44 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/utils/clamp.d.ts +1 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/utils/compare.d.ts +4 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/utils/convert.d.ts +26 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/utils/format.d.ts +1 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/utils/nonce.d.ts +11 -0
- package/es/ui/src/ColorPickerPopover/src/vue-colorful/utils/round.d.ts +1 -0
- package/es/ui/src/Container/index.d.ts +5 -0
- package/es/ui/src/Container/src/LazyContainer.vue.d.ts +121 -0
- package/es/ui/src/Container/src/ScrollContainer.vue.d.ts +9 -0
- package/es/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +525 -0
- package/es/ui/src/Container/src/collapse/CollapseHeader.vue.d.ts +42 -0
- package/es/ui/src/Container/src/typing.d.ts +15 -0
- package/es/ui/src/ContextMenu/index.d.ts +3 -0
- package/es/ui/src/ContextMenu/src/ContextMenu.d.ts +64 -0
- package/es/ui/src/ContextMenu/src/createContextMenu.d.ts +3 -0
- package/es/ui/src/ContextMenu/src/typing.d.ts +33 -0
- package/es/ui/src/ContextMenu/src/useContextMenu.d.ts +3 -0
- package/es/ui/src/CountDown/index.d.ts +3 -0
- package/es/ui/src/CountDown/src/CountButton.vue.d.ts +35 -0
- package/es/ui/src/CountDown/src/CountdownInput.vue.d.ts +41 -0
- package/es/ui/src/CountDown/src/useCountdown.d.ts +9 -0
- package/es/ui/src/CountTo/index.d.ts +2 -0
- package/es/ui/src/CountTo/src/CountTo.vue.d.ts +137 -0
- package/es/ui/src/Cropper/index.d.ts +4 -0
- package/es/ui/src/Cropper/src/CopperModal.vue.d.ts +40 -0
- package/es/ui/src/Cropper/src/Cropper.vue.d.ts +87 -0
- package/es/ui/src/Cropper/src/CropperAvatar.vue.d.ts +173 -0
- package/es/ui/src/Cropper/src/typing.d.ts +6 -0
- package/es/ui/src/Description/index.d.ts +6 -0
- package/es/ui/src/Description/src/Description.d.ts +98 -0
- package/es/ui/src/Description/src/DescriptionGroup.d.ts +14 -0
- package/es/ui/src/Description/src/ShyComponentMap.d.ts +6 -0
- package/es/ui/src/Description/src/components/formItem.d.ts +41 -0
- package/es/ui/src/Description/src/props.d.ts +60 -0
- package/es/ui/src/Description/src/typing.d.ts +38 -0
- package/es/ui/src/Description/src/useDescription.d.ts +2 -0
- package/es/ui/src/Descriptions/index.d.ts +249 -0
- package/es/ui/src/Descriptions/src/Descriptions.d.ts +11 -0
- package/es/ui/src/Descriptions/src/ShyDescriptions.d.ts +111 -0
- package/es/ui/src/Descriptions/src/props.d.ts +52 -0
- package/es/ui/src/Descriptions/src/typing.d.ts +31 -0
- package/es/ui/src/Descriptions/src/useShyDescriptions.d.ts +2 -0
- package/es/ui/src/Drawer/index.d.ts +4 -0
- package/es/ui/src/Drawer/src/BasicDrawer.vue.d.ts +170 -0
- package/es/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +95 -0
- package/es/ui/src/Drawer/src/components/DrawerHeader.vue.d.ts +30 -0
- package/es/ui/src/Drawer/src/props.d.ts +115 -0
- package/es/ui/src/Drawer/src/typing.d.ts +177 -0
- package/es/ui/src/Drawer/src/useDrawer.d.ts +6 -0
- package/es/ui/src/Dropdown/index.d.ts +3 -0
- package/es/ui/src/Dropdown/src/typing.d.ts +9 -0
- package/es/ui/src/Icon/data/icons.data.tabler.d.ts +2 -0
- package/es/ui/src/Icon/index.d.ts +5 -0
- package/es/ui/src/Icon/src/Icon.vue.d.ts +51 -0
- package/es/ui/src/Icon/src/SvgIcon.vue.d.ts +45 -0
- package/es/ui/src/Label/index.d.ts +2 -0
- package/es/ui/src/Label/src/BasicLabel.vue.d.ts +32 -0
- package/es/ui/src/Label/src/props.d.ts +14 -0
- package/es/ui/src/Loading/index.d.ts +4 -0
- package/es/ui/src/Loading/src/Loading.vue.d.ts +57 -0
- package/es/ui/src/Loading/src/createLoading.d.ts +13 -0
- package/es/ui/src/Loading/src/typing.d.ts +9 -0
- package/es/ui/src/Loading/src/useLoading.d.ts +11 -0
- package/es/ui/src/Modal/index.d.ts +710 -0
- package/es/ui/src/Modal/src/BasicModal.vue.d.ts +322 -0
- package/es/ui/src/Modal/src/components/BasicTitle.vue.d.ts +126 -0
- package/es/ui/src/Modal/src/components/Modal.d.ts +300 -0
- package/es/ui/src/Modal/src/components/ModalClose.vue.d.ts +39 -0
- package/es/ui/src/Modal/src/components/ModalFooter.vue.d.ts +304 -0
- package/es/ui/src/Modal/src/components/ModalHeader.vue.d.ts +19 -0
- package/es/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +97 -0
- package/es/ui/src/Modal/src/components/ScrollContainer.vue.d.ts +2 -0
- package/es/ui/src/Modal/src/hooks/useAttrs.d.ts +9 -0
- package/es/ui/src/Modal/src/hooks/useContext.d.ts +10 -0
- package/es/ui/src/Modal/src/hooks/useI18n.d.ts +15 -0
- package/es/ui/src/Modal/src/hooks/useModal.d.ts +6 -0
- package/es/ui/src/Modal/src/hooks/useModalContext.d.ts +7 -0
- package/es/ui/src/Modal/src/hooks/useModalDrag.d.ts +7 -0
- package/es/ui/src/Modal/src/hooks/useModalFullScreen.d.ts +11 -0
- package/es/ui/src/Modal/src/hooks/useScrollTo.d.ts +10 -0
- package/es/ui/src/Modal/src/hooks/useTimeout.d.ts +10 -0
- package/es/ui/src/Modal/src/hooks/useWindowSizeFn.d.ts +7 -0
- package/es/ui/src/Modal/src/props.d.ts +171 -0
- package/es/ui/src/Modal/src/typing.d.ts +174 -0
- package/es/ui/src/Modal/src/utils/index.d.ts +5 -0
- package/es/ui/src/Modal/src/utils/is.d.ts +13 -0
- package/es/ui/src/Modal/src/utils/log.d.ts +2 -0
- package/es/ui/src/Modal/src/utils/tsxHelper.d.ts +13 -0
- package/es/ui/src/Page/index.d.ts +5 -0
- package/es/ui/src/Page/src/PageFooter.vue.d.ts +5 -0
- package/es/ui/src/Page/src/PageSecond.d.ts +63 -0
- package/es/ui/src/Page/src/PageWrapper.vue.d.ts +86 -0
- package/es/ui/src/Process/index.d.ts +2 -0
- package/es/ui/src/Process/src/Process.d.ts +80 -0
- package/es/ui/src/Scrollbar/index.d.ts +6 -0
- package/es/ui/src/Scrollbar/src/Scrollbar.vue.d.ts +72 -0
- package/es/ui/src/Scrollbar/src/bar.d.ts +14 -0
- package/es/ui/src/Scrollbar/src/types.d.ts +18 -0
- package/es/ui/src/Scrollbar/src/util.d.ts +8 -0
- package/es/ui/src/ShyAdvancedSearch/index.d.ts +3 -0
- package/es/ui/src/ShyAdvancedSearch/src/ShyAdvancedSearch.d.ts +13 -0
- package/es/ui/src/ShyAdvancedSearch/src/ShyGlobalSearch.d.ts +13 -0
- package/es/ui/src/ShyAdvancedSearch/src/constant.d.ts +24 -0
- package/es/ui/src/ShyAdvancedSearch/src/hooks/useAdvancedSearch.d.ts +4 -0
- package/es/ui/src/ShyAdvancedSearch/src/types/index.d.ts +11 -0
- package/es/ui/src/ShyContainer/index.d.ts +3 -0
- package/es/ui/src/ShyContainer/src/ShyContainer.d.ts +217 -0
- package/es/ui/src/ShyContainer/src/props.d.ts +98 -0
- package/es/ui/src/ShyForm/index.d.ts +21 -0
- package/es/ui/src/ShyForm/src/ShyComponentMap.d.ts +6 -0
- package/es/ui/src/ShyForm/src/ShyForm.d.ts +1046 -0
- package/es/ui/src/ShyForm/src/components/ApiCascader.vue.d.ts +141 -0
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/DeptTree.vue.d.ts +134 -0
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/Modal.vue.d.ts +2080 -0
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/Table.vue.d.ts +1213 -0
- package/es/ui/src/ShyForm/src/components/ApiSelect.vue.d.ts +102 -0
- package/es/ui/src/ShyForm/src/components/ApiTransfer.vue.d.ts +144 -0
- package/es/ui/src/ShyForm/src/components/ApiTree.vue.d.ts +50 -0
- package/es/ui/src/ShyForm/src/components/ApiTreeSelect.vue.d.ts +43 -0
- package/es/ui/src/ShyForm/src/components/FormAction.vue.d.ts +111 -0
- package/es/ui/src/ShyForm/src/components/FormItem.d.ts +70 -0
- package/es/ui/src/ShyForm/src/components/FormWrapper.vue.d.ts +18 -0
- package/es/ui/src/ShyForm/src/components/Group.d.ts +125 -0
- package/es/ui/src/ShyForm/src/components/RadioButtonGroup.vue.d.ts +35 -0
- package/es/ui/src/ShyForm/src/components/Table.d.ts +271 -0
- package/es/ui/src/ShyForm/src/components/Tinymce.vue.d.ts +19 -0
- package/es/ui/src/ShyForm/src/helper.d.ts +14 -0
- package/es/ui/src/ShyForm/src/hooks/useAutoFocus.d.ts +10 -0
- package/es/ui/src/ShyForm/src/hooks/useComponentRegister.d.ts +3 -0
- package/es/ui/src/ShyForm/src/hooks/useFormContext.d.ts +10 -0
- package/es/ui/src/ShyForm/src/hooks/useFormEvents.d.ts +28 -0
- package/es/ui/src/ShyForm/src/hooks/useFormValues.d.ts +13 -0
- package/es/ui/src/ShyForm/src/hooks/useLabelWidth.d.ts +310 -0
- package/es/ui/src/ShyForm/src/hooks/useShyForm.d.ts +10 -0
- package/es/ui/src/ShyForm/src/props.d.ts +430 -0
- package/es/ui/src/ShyForm/src/types/form.d.ts +127 -0
- package/es/ui/src/ShyForm/src/types/formItem.d.ts +82 -0
- package/es/ui/src/ShyForm/src/types/hooks.d.ts +6 -0
- package/es/ui/src/ShyForm/src/types/index.d.ts +90 -0
- package/es/ui/src/ShyLayoutContainer/index.d.ts +2 -0
- package/es/ui/src/ShyLayoutContainer/src/ShyLayoutContainer.d.ts +87 -0
- package/es/ui/src/ShyLayoutContainer/src/props.d.ts +62 -0
- package/es/ui/src/ShyLayoutContainer/src/types.d.ts +2 -0
- package/es/ui/src/ShyTable/index.d.ts +10 -0
- package/es/ui/src/ShyTable/src/ShyTable.d.ts +1200 -0
- package/es/ui/src/ShyTable/src/componentMap.d.ts +6 -0
- package/es/ui/src/ShyTable/src/components/EditTableHeaderIcon.vue.d.ts +14 -0
- package/es/ui/src/ShyTable/src/components/HeaderCell.vue.d.ts +95 -0
- package/es/ui/src/ShyTable/src/components/ShyInfo.d.ts +24 -0
- package/es/ui/src/ShyTable/src/components/ShyTableAction.d.ts +109 -0
- package/es/ui/src/ShyTable/src/components/ShyTableFooter.d.ts +57 -0
- package/es/ui/src/ShyTable/src/components/ShyTableHeader.d.ts +63 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowMore.d.ts +2 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowSearch.d.ts +2 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableAdvancedSearch.d.ts +5 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableColumn.d.ts +5 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableFullScreen.d.ts +2 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableGlobalSearch.d.ts +5 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableSize.d.ts +10 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/index.d.ts +7 -0
- package/es/ui/src/ShyTable/src/components/TableImg.vue.d.ts +93 -0
- package/es/ui/src/ShyTable/src/components/editable/CellComponent.d.ts +10 -0
- package/es/ui/src/ShyTable/src/components/editable/EditableCell.d.ts +80 -0
- package/es/ui/src/ShyTable/src/components/editable/helper.d.ts +5 -0
- package/es/ui/src/ShyTable/src/components/editable/index.d.ts +23 -0
- package/es/ui/src/ShyTable/src/const.d.ts +25 -0
- package/es/ui/src/ShyTable/src/hooks/useColumns.d.ts +14 -0
- package/es/ui/src/ShyTable/src/hooks/useCustomRow.d.ts +19 -0
- package/es/ui/src/ShyTable/src/hooks/useDataSource.d.ts +29 -0
- package/es/ui/src/ShyTable/src/hooks/useLoading.d.ts +6 -0
- package/es/ui/src/ShyTable/src/hooks/usePagination.d.ts +10 -0
- package/es/ui/src/ShyTable/src/hooks/useRowSelection.d.ts +12 -0
- package/es/ui/src/ShyTable/src/hooks/useScrollTo.d.ts +4 -0
- package/es/ui/src/ShyTable/src/hooks/useShyTable.d.ts +16 -0
- package/es/ui/src/ShyTable/src/hooks/useShyTableContext.d.ts +16 -0
- package/es/ui/src/ShyTable/src/hooks/useShyTableForm.d.ts +9 -0
- package/es/ui/src/ShyTable/src/hooks/useTableExpand.d.ts +14 -0
- package/es/ui/src/ShyTable/src/hooks/useTableHeader.d.ts +5 -0
- package/es/ui/src/ShyTable/src/hooks/useTableScroll.d.ts +11 -0
- package/es/ui/src/ShyTable/src/hooks/useTableStyle.d.ts +5 -0
- package/es/ui/src/ShyTable/src/props.d.ts +577 -0
- package/es/ui/src/ShyTable/src/types/pagination.d.ts +93 -0
- package/es/ui/src/ShyTable/src/types/table.d.ts +422 -0
- package/es/ui/src/ShyTable/src/types/tableAction.d.ts +26 -0
- package/es/ui/src/ShyTag/index.d.ts +3 -0
- package/es/ui/src/ShyTag/src/ShyTag.d.ts +100 -0
- package/es/ui/src/ShyTag/src/props.d.ts +47 -0
- package/es/ui/src/StrengthMeter/index.d.ts +2 -0
- package/es/ui/src/StrengthMeter/src/StrengthMeter.vue.d.ts +35 -0
- package/es/ui/src/TablePlus/TableColGroup.vue.d.ts +52 -0
- package/es/ui/src/TablePlus/TablePlus.vue.d.ts +1977 -0
- package/es/ui/src/TablePlus/componentMap.d.ts +6 -0
- package/es/ui/src/TablePlus/components/ButtonGroupEdit.vue.d.ts +105 -0
- package/es/ui/src/TablePlus/components/Icon/Sort.vue.d.ts +28 -0
- package/es/ui/src/TablePlus/components/editable/CellComponent.d.ts +10 -0
- package/es/ui/src/TablePlus/hooks/index.d.ts +2 -0
- package/es/ui/src/TablePlus/hooks/useColumns.d.ts +8 -0
- package/es/ui/src/TablePlus/hooks/usePagination.d.ts +9 -0
- package/es/ui/src/TablePlus/hooks/useSort.d.ts +4 -0
- package/es/ui/src/TablePlus/hooks/useTableData.d.ts +11 -0
- package/es/ui/src/TablePlus/hooks/useTablePlus.d.ts +1 -0
- package/es/ui/src/TablePlus/index.d.ts +3 -0
- package/es/ui/src/TablePlus/props.d.ts +6 -0
- package/es/ui/src/TablePlus/types/componentType.d.ts +1 -0
- package/es/ui/src/Transition/index.d.ts +368 -0
- package/es/ui/src/Transition/src/CollapseTransition.vue.d.ts +11 -0
- package/es/ui/src/Transition/src/CreateTransition.d.ts +47 -0
- package/es/ui/src/Transition/src/ExpandTransition.d.ts +23 -0
- package/es/ui/src/Tree/index.d.ts +12 -0
- package/es/ui/src/Tree/src/BasicTree.d.ts +97 -0
- package/es/ui/src/Tree/src/TreeIcon.d.ts +2 -0
- package/es/ui/src/Tree/src/hooks/useTree.d.ts +14 -0
- package/es/ui/src/Tree/src/types/tree.d.ts +123 -0
- package/es/ui/src/Tree/style/index.d.ts +0 -0
- package/es/ui/src/Upload/src/components/FileList.d.ts +254 -0
- package/es/ui/src/Upload/src/components/UploadPreviewModal.vue.d.ts +992 -0
- package/es/ui/src/Upload/src/components/data.d.ts +9 -0
- package/es/ui/src/Upload/src/helper.d.ts +7 -0
- package/es/ui/src/Upload/src/hooks/useUpload.d.ts +11 -0
- package/es/ui/src/Upload/src/props.d.ts +153 -0
- package/es/ui/src/Upload/src/types/typing.d.ts +45 -0
- package/es/ui/src/directives/clickOutside.d.ts +3 -0
- package/es/ui/src/directives/index.d.ts +1 -0
- package/es/ui/src/enums/sizeEnum.d.ts +11 -0
- package/es/ui/types/global.d.ts +102 -0
- package/es/ui/types/index.d.ts +36 -0
- package/lib/index.js +46623 -35025
- package/lib/style.css +1933 -2633
- package/lib/ui/config/index.d.ts +5 -0
- package/lib/ui/index.d.ts +34 -0
- package/lib/ui/src/AdvancedSearch/index.d.ts +3 -0
- package/lib/ui/src/AdvancedSearch/src/data.d.ts +27 -0
- package/lib/ui/src/Basic/index.d.ts +4 -0
- package/lib/ui/src/Basic/src/BasicArrow.vue.d.ts +114 -0
- package/lib/ui/src/Basic/src/BasicHelp.d.ts +117 -0
- package/lib/ui/src/Basic/src/BasicTitle.vue.d.ts +115 -0
- package/lib/ui/src/BasicContainer/index.d.ts +3 -0
- package/lib/ui/src/BasicContainer/src/BasicContainer.vue.d.ts +212 -0
- package/lib/ui/src/BasicContainer/src/props.d.ts +94 -0
- package/lib/ui/src/BasicResizeWrapper/index.d.ts +2 -0
- package/lib/ui/src/BasicResizeWrapper/src/BasicResizeWrapper.vue.d.ts +31 -0
- package/lib/ui/src/BasicResizeWrapper/src/props.d.ts +11 -0
- package/lib/ui/src/Button/index.d.ts +235 -0
- package/lib/ui/src/Button/src/BasicButton.d.ts +105 -0
- package/lib/ui/src/Button/src/PopConfirmButton.d.ts +14 -0
- package/lib/ui/src/Button/src/props.d.ts +48 -0
- package/lib/ui/src/ClickOutSide/index.d.ts +2 -0
- package/lib/ui/src/ClickOutSide/src/ClickOutSide.vue.d.ts +8 -0
- package/lib/ui/src/ColorPickerPopover/index.d.ts +2 -0
- package/lib/ui/src/ColorPickerPopover/src/ColorPickerPopover.d.ts +38 -0
- package/lib/ui/src/ColorPickerPopover/src/hooks/useColorManipulation.d.ts +3 -0
- package/lib/ui/src/ColorPickerPopover/src/utils/makeStyle.d.ts +7 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/HexColorPicker.d.ts +23 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/RgbaColorPicker.d.ts +23 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Alpha.d.ts +27 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/AlphaColorPicker.d.ts +26 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/ColorPicker.d.ts +26 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Hue.d.ts +27 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Interactive.d.ts +24 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Pointer.d.ts +30 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Saturation.d.ts +30 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/css/styles.css.d.ts +2 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/hooks/useEventCallback.d.ts +1 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/hooks/useStyleSheet.d.ts +5 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/index.d.ts +2 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/types.d.ts +44 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/utils/clamp.d.ts +1 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/utils/compare.d.ts +4 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/utils/convert.d.ts +26 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/utils/format.d.ts +1 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/utils/nonce.d.ts +11 -0
- package/lib/ui/src/ColorPickerPopover/src/vue-colorful/utils/round.d.ts +1 -0
- package/lib/ui/src/Container/index.d.ts +5 -0
- package/lib/ui/src/Container/src/LazyContainer.vue.d.ts +121 -0
- package/lib/ui/src/Container/src/ScrollContainer.vue.d.ts +9 -0
- package/lib/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +525 -0
- package/lib/ui/src/Container/src/collapse/CollapseHeader.vue.d.ts +42 -0
- package/lib/ui/src/Container/src/typing.d.ts +15 -0
- package/lib/ui/src/ContextMenu/index.d.ts +3 -0
- package/lib/ui/src/ContextMenu/src/ContextMenu.d.ts +64 -0
- package/lib/ui/src/ContextMenu/src/createContextMenu.d.ts +3 -0
- package/lib/ui/src/ContextMenu/src/typing.d.ts +33 -0
- package/lib/ui/src/ContextMenu/src/useContextMenu.d.ts +3 -0
- package/lib/ui/src/CountDown/index.d.ts +3 -0
- package/lib/ui/src/CountDown/src/CountButton.vue.d.ts +35 -0
- package/lib/ui/src/CountDown/src/CountdownInput.vue.d.ts +41 -0
- package/lib/ui/src/CountDown/src/useCountdown.d.ts +9 -0
- package/lib/ui/src/CountTo/index.d.ts +2 -0
- package/lib/ui/src/CountTo/src/CountTo.vue.d.ts +137 -0
- package/lib/ui/src/Cropper/index.d.ts +4 -0
- package/lib/ui/src/Cropper/src/CopperModal.vue.d.ts +40 -0
- package/lib/ui/src/Cropper/src/Cropper.vue.d.ts +87 -0
- package/lib/ui/src/Cropper/src/CropperAvatar.vue.d.ts +173 -0
- package/lib/ui/src/Cropper/src/typing.d.ts +6 -0
- package/lib/ui/src/Description/index.d.ts +6 -0
- package/lib/ui/src/Description/src/Description.d.ts +98 -0
- package/lib/ui/src/Description/src/DescriptionGroup.d.ts +14 -0
- package/lib/ui/src/Description/src/ShyComponentMap.d.ts +6 -0
- package/lib/ui/src/Description/src/components/formItem.d.ts +41 -0
- package/lib/ui/src/Description/src/props.d.ts +60 -0
- package/lib/ui/src/Description/src/typing.d.ts +38 -0
- package/lib/ui/src/Description/src/useDescription.d.ts +2 -0
- package/lib/ui/src/Descriptions/index.d.ts +249 -0
- package/lib/ui/src/Descriptions/src/Descriptions.d.ts +11 -0
- package/lib/ui/src/Descriptions/src/ShyDescriptions.d.ts +111 -0
- package/lib/ui/src/Descriptions/src/props.d.ts +52 -0
- package/lib/ui/src/Descriptions/src/typing.d.ts +31 -0
- package/lib/ui/src/Descriptions/src/useShyDescriptions.d.ts +2 -0
- package/lib/ui/src/Drawer/index.d.ts +4 -0
- package/lib/ui/src/Drawer/src/BasicDrawer.vue.d.ts +170 -0
- package/lib/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +95 -0
- package/lib/ui/src/Drawer/src/components/DrawerHeader.vue.d.ts +30 -0
- package/lib/ui/src/Drawer/src/props.d.ts +115 -0
- package/lib/ui/src/Drawer/src/typing.d.ts +177 -0
- package/lib/ui/src/Drawer/src/useDrawer.d.ts +6 -0
- package/lib/ui/src/Dropdown/index.d.ts +3 -0
- package/lib/ui/src/Dropdown/src/typing.d.ts +9 -0
- package/lib/ui/src/Icon/data/icons.data.tabler.d.ts +2 -0
- package/lib/ui/src/Icon/index.d.ts +5 -0
- package/lib/ui/src/Icon/src/Icon.vue.d.ts +51 -0
- package/lib/ui/src/Icon/src/SvgIcon.vue.d.ts +45 -0
- package/lib/ui/src/Label/index.d.ts +2 -0
- package/lib/ui/src/Label/src/BasicLabel.vue.d.ts +32 -0
- package/lib/ui/src/Label/src/props.d.ts +14 -0
- package/lib/ui/src/Loading/index.d.ts +4 -0
- package/lib/ui/src/Loading/src/Loading.vue.d.ts +57 -0
- package/lib/ui/src/Loading/src/createLoading.d.ts +13 -0
- package/lib/ui/src/Loading/src/typing.d.ts +9 -0
- package/lib/ui/src/Loading/src/useLoading.d.ts +11 -0
- package/lib/ui/src/Modal/index.d.ts +710 -0
- package/lib/ui/src/Modal/src/BasicModal.vue.d.ts +322 -0
- package/lib/ui/src/Modal/src/components/BasicTitle.vue.d.ts +126 -0
- package/lib/ui/src/Modal/src/components/Modal.d.ts +300 -0
- package/lib/ui/src/Modal/src/components/ModalClose.vue.d.ts +39 -0
- package/lib/ui/src/Modal/src/components/ModalFooter.vue.d.ts +304 -0
- package/lib/ui/src/Modal/src/components/ModalHeader.vue.d.ts +19 -0
- package/lib/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +97 -0
- package/lib/ui/src/Modal/src/components/ScrollContainer.vue.d.ts +2 -0
- package/lib/ui/src/Modal/src/hooks/useAttrs.d.ts +9 -0
- package/lib/ui/src/Modal/src/hooks/useContext.d.ts +10 -0
- package/lib/ui/src/Modal/src/hooks/useI18n.d.ts +15 -0
- package/lib/ui/src/Modal/src/hooks/useModal.d.ts +6 -0
- package/lib/ui/src/Modal/src/hooks/useModalContext.d.ts +7 -0
- package/lib/ui/src/Modal/src/hooks/useModalDrag.d.ts +7 -0
- package/lib/ui/src/Modal/src/hooks/useModalFullScreen.d.ts +11 -0
- package/lib/ui/src/Modal/src/hooks/useScrollTo.d.ts +10 -0
- package/lib/ui/src/Modal/src/hooks/useTimeout.d.ts +10 -0
- package/lib/ui/src/Modal/src/hooks/useWindowSizeFn.d.ts +7 -0
- package/lib/ui/src/Modal/src/props.d.ts +171 -0
- package/lib/ui/src/Modal/src/typing.d.ts +174 -0
- package/lib/ui/src/Modal/src/utils/index.d.ts +5 -0
- package/lib/ui/src/Modal/src/utils/is.d.ts +13 -0
- package/lib/ui/src/Modal/src/utils/log.d.ts +2 -0
- package/lib/ui/src/Modal/src/utils/tsxHelper.d.ts +13 -0
- package/lib/ui/src/Page/index.d.ts +5 -0
- package/lib/ui/src/Page/src/PageFooter.vue.d.ts +5 -0
- package/lib/ui/src/Page/src/PageSecond.d.ts +63 -0
- package/lib/ui/src/Page/src/PageWrapper.vue.d.ts +86 -0
- package/lib/ui/src/Process/index.d.ts +2 -0
- package/lib/ui/src/Process/src/Process.d.ts +80 -0
- package/lib/ui/src/Scrollbar/index.d.ts +6 -0
- package/lib/ui/src/Scrollbar/src/Scrollbar.vue.d.ts +72 -0
- package/lib/ui/src/Scrollbar/src/bar.d.ts +14 -0
- package/lib/ui/src/Scrollbar/src/types.d.ts +18 -0
- package/lib/ui/src/Scrollbar/src/util.d.ts +8 -0
- package/lib/ui/src/ShyAdvancedSearch/index.d.ts +3 -0
- package/lib/ui/src/ShyAdvancedSearch/src/ShyAdvancedSearch.d.ts +13 -0
- package/lib/ui/src/ShyAdvancedSearch/src/ShyGlobalSearch.d.ts +13 -0
- package/lib/ui/src/ShyAdvancedSearch/src/constant.d.ts +24 -0
- package/lib/ui/src/ShyAdvancedSearch/src/hooks/useAdvancedSearch.d.ts +4 -0
- package/lib/ui/src/ShyAdvancedSearch/src/types/index.d.ts +11 -0
- package/lib/ui/src/ShyContainer/index.d.ts +3 -0
- package/lib/ui/src/ShyContainer/src/ShyContainer.d.ts +217 -0
- package/lib/ui/src/ShyContainer/src/props.d.ts +98 -0
- package/lib/ui/src/ShyForm/index.d.ts +21 -0
- package/lib/ui/src/ShyForm/src/ShyComponentMap.d.ts +6 -0
- package/lib/ui/src/ShyForm/src/ShyForm.d.ts +1046 -0
- package/lib/ui/src/ShyForm/src/components/ApiCascader.vue.d.ts +141 -0
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/DeptTree.vue.d.ts +134 -0
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/Modal.vue.d.ts +2080 -0
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/Table.vue.d.ts +1213 -0
- package/lib/ui/src/ShyForm/src/components/ApiSelect.vue.d.ts +102 -0
- package/lib/ui/src/ShyForm/src/components/ApiTransfer.vue.d.ts +144 -0
- package/lib/ui/src/ShyForm/src/components/ApiTree.vue.d.ts +50 -0
- package/lib/ui/src/ShyForm/src/components/ApiTreeSelect.vue.d.ts +43 -0
- package/lib/ui/src/ShyForm/src/components/FormAction.vue.d.ts +111 -0
- package/lib/ui/src/ShyForm/src/components/FormItem.d.ts +70 -0
- package/lib/ui/src/ShyForm/src/components/FormWrapper.vue.d.ts +18 -0
- package/lib/ui/src/ShyForm/src/components/Group.d.ts +125 -0
- package/lib/ui/src/ShyForm/src/components/RadioButtonGroup.vue.d.ts +35 -0
- package/lib/ui/src/ShyForm/src/components/Table.d.ts +271 -0
- package/lib/ui/src/ShyForm/src/components/Tinymce.vue.d.ts +19 -0
- package/lib/ui/src/ShyForm/src/helper.d.ts +14 -0
- package/lib/ui/src/ShyForm/src/hooks/useAutoFocus.d.ts +10 -0
- package/lib/ui/src/ShyForm/src/hooks/useComponentRegister.d.ts +3 -0
- package/lib/ui/src/ShyForm/src/hooks/useFormContext.d.ts +10 -0
- package/lib/ui/src/ShyForm/src/hooks/useFormEvents.d.ts +28 -0
- package/lib/ui/src/ShyForm/src/hooks/useFormValues.d.ts +13 -0
- package/lib/ui/src/ShyForm/src/hooks/useLabelWidth.d.ts +310 -0
- package/lib/ui/src/ShyForm/src/hooks/useShyForm.d.ts +10 -0
- package/lib/ui/src/ShyForm/src/props.d.ts +430 -0
- package/lib/ui/src/ShyForm/src/types/form.d.ts +127 -0
- package/lib/ui/src/ShyForm/src/types/formItem.d.ts +82 -0
- package/lib/ui/src/ShyForm/src/types/hooks.d.ts +6 -0
- package/lib/ui/src/ShyForm/src/types/index.d.ts +90 -0
- package/lib/ui/src/ShyLayoutContainer/index.d.ts +2 -0
- package/lib/ui/src/ShyLayoutContainer/src/ShyLayoutContainer.d.ts +87 -0
- package/lib/ui/src/ShyLayoutContainer/src/props.d.ts +62 -0
- package/lib/ui/src/ShyLayoutContainer/src/types.d.ts +2 -0
- package/lib/ui/src/ShyTable/index.d.ts +10 -0
- package/lib/ui/src/ShyTable/src/ShyTable.d.ts +1200 -0
- package/lib/ui/src/ShyTable/src/componentMap.d.ts +6 -0
- package/lib/ui/src/ShyTable/src/components/EditTableHeaderIcon.vue.d.ts +14 -0
- package/lib/ui/src/ShyTable/src/components/HeaderCell.vue.d.ts +95 -0
- package/lib/ui/src/ShyTable/src/components/ShyInfo.d.ts +24 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableAction.d.ts +109 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableFooter.d.ts +57 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableHeader.d.ts +63 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowMore.d.ts +2 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowSearch.d.ts +2 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableAdvancedSearch.d.ts +5 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableColumn.d.ts +5 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableFullScreen.d.ts +2 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableGlobalSearch.d.ts +5 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableSize.d.ts +10 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/index.d.ts +7 -0
- package/lib/ui/src/ShyTable/src/components/TableImg.vue.d.ts +93 -0
- package/lib/ui/src/ShyTable/src/components/editable/CellComponent.d.ts +10 -0
- package/lib/ui/src/ShyTable/src/components/editable/EditableCell.d.ts +80 -0
- package/lib/ui/src/ShyTable/src/components/editable/helper.d.ts +5 -0
- package/lib/ui/src/ShyTable/src/components/editable/index.d.ts +23 -0
- package/lib/ui/src/ShyTable/src/const.d.ts +25 -0
- package/lib/ui/src/ShyTable/src/hooks/useColumns.d.ts +14 -0
- package/lib/ui/src/ShyTable/src/hooks/useCustomRow.d.ts +19 -0
- package/lib/ui/src/ShyTable/src/hooks/useDataSource.d.ts +29 -0
- package/lib/ui/src/ShyTable/src/hooks/useLoading.d.ts +6 -0
- package/lib/ui/src/ShyTable/src/hooks/usePagination.d.ts +10 -0
- package/lib/ui/src/ShyTable/src/hooks/useRowSelection.d.ts +12 -0
- package/lib/ui/src/ShyTable/src/hooks/useScrollTo.d.ts +4 -0
- package/lib/ui/src/ShyTable/src/hooks/useShyTable.d.ts +16 -0
- package/lib/ui/src/ShyTable/src/hooks/useShyTableContext.d.ts +16 -0
- package/lib/ui/src/ShyTable/src/hooks/useShyTableForm.d.ts +9 -0
- package/lib/ui/src/ShyTable/src/hooks/useTableExpand.d.ts +14 -0
- package/lib/ui/src/ShyTable/src/hooks/useTableHeader.d.ts +5 -0
- package/lib/ui/src/ShyTable/src/hooks/useTableScroll.d.ts +11 -0
- package/lib/ui/src/ShyTable/src/hooks/useTableStyle.d.ts +5 -0
- package/lib/ui/src/ShyTable/src/props.d.ts +577 -0
- package/lib/ui/src/ShyTable/src/types/pagination.d.ts +93 -0
- package/lib/ui/src/ShyTable/src/types/table.d.ts +422 -0
- package/lib/ui/src/ShyTable/src/types/tableAction.d.ts +26 -0
- package/lib/ui/src/ShyTag/index.d.ts +3 -0
- package/lib/ui/src/ShyTag/src/ShyTag.d.ts +100 -0
- package/lib/ui/src/ShyTag/src/props.d.ts +47 -0
- package/lib/ui/src/StrengthMeter/index.d.ts +2 -0
- package/lib/ui/src/StrengthMeter/src/StrengthMeter.vue.d.ts +35 -0
- package/lib/ui/src/TablePlus/TableColGroup.vue.d.ts +52 -0
- package/lib/ui/src/TablePlus/TablePlus.vue.d.ts +1977 -0
- package/lib/ui/src/TablePlus/componentMap.d.ts +6 -0
- package/lib/ui/src/TablePlus/components/ButtonGroupEdit.vue.d.ts +105 -0
- package/lib/ui/src/TablePlus/components/Icon/Sort.vue.d.ts +28 -0
- package/lib/ui/src/TablePlus/components/editable/CellComponent.d.ts +10 -0
- package/lib/ui/src/TablePlus/hooks/index.d.ts +2 -0
- package/lib/ui/src/TablePlus/hooks/useColumns.d.ts +8 -0
- package/lib/ui/src/TablePlus/hooks/usePagination.d.ts +9 -0
- package/lib/ui/src/TablePlus/hooks/useSort.d.ts +4 -0
- package/lib/ui/src/TablePlus/hooks/useTableData.d.ts +11 -0
- package/lib/ui/src/TablePlus/hooks/useTablePlus.d.ts +1 -0
- package/lib/ui/src/TablePlus/index.d.ts +3 -0
- package/lib/ui/src/TablePlus/props.d.ts +6 -0
- package/lib/ui/src/TablePlus/types/componentType.d.ts +1 -0
- package/lib/ui/src/Transition/index.d.ts +368 -0
- package/lib/ui/src/Transition/src/CollapseTransition.vue.d.ts +11 -0
- package/lib/ui/src/Transition/src/CreateTransition.d.ts +47 -0
- package/lib/ui/src/Transition/src/ExpandTransition.d.ts +23 -0
- package/lib/ui/src/Tree/index.d.ts +12 -0
- package/lib/ui/src/Tree/src/BasicTree.d.ts +97 -0
- package/lib/ui/src/Tree/src/TreeIcon.d.ts +2 -0
- package/lib/ui/src/Tree/src/hooks/useTree.d.ts +14 -0
- package/lib/ui/src/Tree/src/types/tree.d.ts +123 -0
- package/lib/ui/src/Tree/style/index.d.ts +0 -0
- package/lib/ui/src/Upload/src/components/FileList.d.ts +254 -0
- package/lib/ui/src/Upload/src/components/UploadPreviewModal.vue.d.ts +992 -0
- package/lib/ui/src/Upload/src/components/data.d.ts +9 -0
- package/lib/ui/src/Upload/src/helper.d.ts +7 -0
- package/lib/ui/src/Upload/src/hooks/useUpload.d.ts +11 -0
- package/lib/ui/src/Upload/src/props.d.ts +153 -0
- package/lib/ui/src/Upload/src/types/typing.d.ts +45 -0
- package/lib/ui/src/directives/clickOutside.d.ts +3 -0
- package/lib/ui/src/directives/index.d.ts +1 -0
- package/lib/ui/src/enums/sizeEnum.d.ts +11 -0
- package/lib/ui/types/global.d.ts +102 -0
- package/lib/ui/types/index.d.ts +36 -0
- package/package.json +7 -6
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ShyColumn } from '../../../ShyTable';
|
|
2
|
+
import { FileBasicColumn } from '../types/typing';
|
|
3
|
+
export declare function createTableColumns(): FileBasicColumn[];
|
|
4
|
+
export declare function createActionColumn(handleRemove: Function): FileBasicColumn;
|
|
5
|
+
export declare function createPreviewColumns(): ShyColumn[];
|
|
6
|
+
export declare function createPreviewActionColumn({ handleRemove, handleDownload }: {
|
|
7
|
+
handleRemove: Fn;
|
|
8
|
+
handleDownload: Fn;
|
|
9
|
+
}): ShyColumn;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function checkFileType(file: File, accepts: string[]): boolean;
|
|
2
|
+
export declare function checkImgType(file: File): boolean;
|
|
3
|
+
export declare function isImgTypeByName(name: string): boolean;
|
|
4
|
+
export declare function getBase64WithFile(file: File): Promise<{
|
|
5
|
+
result: string;
|
|
6
|
+
file: File;
|
|
7
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export declare function useUploadType({ acceptRef, helpTextRef, maxNumberRef, maxSizeRef }: {
|
|
3
|
+
acceptRef: Ref<string[]>;
|
|
4
|
+
helpTextRef: Ref<string>;
|
|
5
|
+
maxNumberRef: Ref<number>;
|
|
6
|
+
maxSizeRef: Ref<number>;
|
|
7
|
+
}): {
|
|
8
|
+
getAccept: import("vue").ComputedRef<string[]>;
|
|
9
|
+
getStringAccept: import("vue").ComputedRef<string>;
|
|
10
|
+
getHelpText: import("vue").ComputedRef<string>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import { FileBasicColumn } from './types/typing';
|
|
3
|
+
import type { Options } from 'sortablejs';
|
|
4
|
+
export type Merge<O extends object, T extends object> = {
|
|
5
|
+
[K in keyof O | keyof T]: K extends keyof T ? T[K] : K extends keyof O ? O[K] : never;
|
|
6
|
+
};
|
|
7
|
+
type SortableOptions = Merge<Omit<Options, 'onEnd'>, {
|
|
8
|
+
onAfterEnd?: <T = any, R = any>(params: T) => R;
|
|
9
|
+
}>;
|
|
10
|
+
type ListType = 'text' | 'picture' | 'picture-card';
|
|
11
|
+
export declare const basicProps: {
|
|
12
|
+
listType: {
|
|
13
|
+
type: PropType<ListType>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
helpText: {
|
|
17
|
+
type: PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
maxSize: {
|
|
21
|
+
type: PropType<number>;
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
maxNumber: {
|
|
25
|
+
type: PropType<number>;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
accept: {
|
|
29
|
+
type: PropType<string[]>;
|
|
30
|
+
default: () => any[];
|
|
31
|
+
};
|
|
32
|
+
multiple: {
|
|
33
|
+
type: PropType<boolean>;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
uploadParams: {
|
|
37
|
+
type: PropType<any>;
|
|
38
|
+
default: () => {};
|
|
39
|
+
};
|
|
40
|
+
api: {
|
|
41
|
+
type: PropType<PromiseFn<any, any>>;
|
|
42
|
+
default: any;
|
|
43
|
+
required: boolean;
|
|
44
|
+
};
|
|
45
|
+
name: {
|
|
46
|
+
type: PropType<string>;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
filename: {
|
|
50
|
+
type: PropType<string>;
|
|
51
|
+
default: any;
|
|
52
|
+
};
|
|
53
|
+
fileListOpenDrag: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
fileListDragOptions: {
|
|
58
|
+
type: PropType<SortableOptions>;
|
|
59
|
+
default: () => {};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export declare const uploadContainerProps: {
|
|
63
|
+
showPreviewNumber: {
|
|
64
|
+
type: PropType<boolean>;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
emptyHidePreview: {
|
|
68
|
+
type: PropType<boolean>;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
listType: {
|
|
72
|
+
type: PropType<ListType>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
helpText: {
|
|
76
|
+
type: PropType<string>;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
maxSize: {
|
|
80
|
+
type: PropType<number>;
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
maxNumber: {
|
|
84
|
+
type: PropType<number>;
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
87
|
+
accept: {
|
|
88
|
+
type: PropType<string[]>;
|
|
89
|
+
default: () => any[];
|
|
90
|
+
};
|
|
91
|
+
multiple: {
|
|
92
|
+
type: PropType<boolean>;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
uploadParams: {
|
|
96
|
+
type: PropType<any>;
|
|
97
|
+
default: () => {};
|
|
98
|
+
};
|
|
99
|
+
api: {
|
|
100
|
+
type: PropType<PromiseFn<any, any>>;
|
|
101
|
+
default: any;
|
|
102
|
+
required: boolean;
|
|
103
|
+
};
|
|
104
|
+
name: {
|
|
105
|
+
type: PropType<string>;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
filename: {
|
|
109
|
+
type: PropType<string>;
|
|
110
|
+
default: any;
|
|
111
|
+
};
|
|
112
|
+
fileListOpenDrag: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
fileListDragOptions: {
|
|
117
|
+
type: PropType<SortableOptions>;
|
|
118
|
+
default: () => {};
|
|
119
|
+
};
|
|
120
|
+
value: {
|
|
121
|
+
type: PropType<string[]>;
|
|
122
|
+
default: () => any[];
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
export declare const previewProps: {
|
|
126
|
+
value: {
|
|
127
|
+
type: PropType<string[]>;
|
|
128
|
+
default: () => any[];
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
export declare const fileListProps: {
|
|
132
|
+
columns: {
|
|
133
|
+
type: PropType<FileBasicColumn[]>;
|
|
134
|
+
default: any;
|
|
135
|
+
};
|
|
136
|
+
actionColumn: {
|
|
137
|
+
type: PropType<FileBasicColumn>;
|
|
138
|
+
default: any;
|
|
139
|
+
};
|
|
140
|
+
dataSource: {
|
|
141
|
+
type: PropType<any[]>;
|
|
142
|
+
default: any;
|
|
143
|
+
};
|
|
144
|
+
openDrag: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
148
|
+
dragOptions: {
|
|
149
|
+
type: PropType<SortableOptions>;
|
|
150
|
+
default: () => {};
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { BasicColumn } from '../../../Table';
|
|
2
|
+
export interface UploadApiResult {
|
|
3
|
+
message: string;
|
|
4
|
+
code: number;
|
|
5
|
+
url: string;
|
|
6
|
+
}
|
|
7
|
+
export declare enum UploadResultStatus {
|
|
8
|
+
DONE = "done",
|
|
9
|
+
SUCCESS = "success",
|
|
10
|
+
ERROR = "error",
|
|
11
|
+
UPLOADING = "uploading"
|
|
12
|
+
}
|
|
13
|
+
export interface FileItem {
|
|
14
|
+
thumbUrl?: string;
|
|
15
|
+
name: string;
|
|
16
|
+
size: string | number;
|
|
17
|
+
type?: string;
|
|
18
|
+
percent: number;
|
|
19
|
+
file: File;
|
|
20
|
+
status?: UploadResultStatus;
|
|
21
|
+
response?: UploadApiResult;
|
|
22
|
+
uuid: string;
|
|
23
|
+
}
|
|
24
|
+
export interface PreviewFileItem {
|
|
25
|
+
url: string;
|
|
26
|
+
name: string;
|
|
27
|
+
type: string;
|
|
28
|
+
}
|
|
29
|
+
export interface FileBasicColumn extends Omit<BasicColumn, 'customRender'> {
|
|
30
|
+
/**
|
|
31
|
+
* Renderer of the table cell. The return value should be a VNode, or an object for colSpan/rowSpan config
|
|
32
|
+
* @type Function | ScopedSlot
|
|
33
|
+
*/
|
|
34
|
+
customRender?: Function;
|
|
35
|
+
/**
|
|
36
|
+
* Title of this column
|
|
37
|
+
* @type any (string | slot)
|
|
38
|
+
*/
|
|
39
|
+
title: string;
|
|
40
|
+
/**
|
|
41
|
+
* Display field of the data record, could be set like a.b.c
|
|
42
|
+
* @type string
|
|
43
|
+
*/
|
|
44
|
+
dataIndex: string;
|
|
45
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as clickOutside } from './clickOutside';
|
|
@@ -0,0 +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
|
+
}
|
|
@@ -0,0 +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
|
+
// }
|