3h1-ui 3.0.0-next.22 → 3.0.0-next.221
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 +46415 -34901
- package/es/style.css +4530 -3609
- 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 +248 -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 +629 -0
- package/es/ui/src/Modal/src/BasicModal.vue.d.ts +282 -0
- package/es/ui/src/Modal/src/components/BasicTitle.vue.d.ts +126 -0
- package/es/ui/src/Modal/src/components/Modal.d.ts +260 -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 +264 -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 +157 -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 +2000 -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 +156 -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 +85 -0
- package/es/ui/src/ShyTag/src/props.d.ts +40 -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 +912 -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 +46715 -35201
- package/lib/style.css +4530 -3609
- 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 +248 -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 +629 -0
- package/lib/ui/src/Modal/src/BasicModal.vue.d.ts +282 -0
- package/lib/ui/src/Modal/src/components/BasicTitle.vue.d.ts +126 -0
- package/lib/ui/src/Modal/src/components/Modal.d.ts +260 -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 +264 -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 +157 -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 +2000 -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 +156 -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 +85 -0
- package/lib/ui/src/ShyTag/src/props.d.ts +40 -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 +912 -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,174 @@
|
|
|
1
|
+
import type { ButtonProps } from 'ant-design-vue/lib/button/buttonTypes';
|
|
2
|
+
import type { CSSProperties, VNodeChild, ComputedRef } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* @description: 弹窗对外暴露的方法
|
|
5
|
+
*/
|
|
6
|
+
export interface ModalMethods {
|
|
7
|
+
setModalProps: (props: Partial<ModalProps>) => void;
|
|
8
|
+
emitVisible?: (visible: boolean, uid: number) => void;
|
|
9
|
+
redoModalHeight?: () => void;
|
|
10
|
+
}
|
|
11
|
+
export type RegisterFn = (modalMethods: ModalMethods, uuid?: string) => void;
|
|
12
|
+
export interface ReturnMethods extends ModalMethods {
|
|
13
|
+
openModal: <T = any>(props?: boolean, data?: T, openOnSet?: boolean) => void;
|
|
14
|
+
closeModal: () => void;
|
|
15
|
+
getVisible?: ComputedRef<boolean>;
|
|
16
|
+
}
|
|
17
|
+
export type UseModalReturnType = [RegisterFn, ReturnMethods];
|
|
18
|
+
export interface ReturnInnerMethods extends ModalMethods {
|
|
19
|
+
closeModal: () => void;
|
|
20
|
+
changeLoading: (loading: boolean) => void;
|
|
21
|
+
changeOkLoading: (loading: boolean) => void;
|
|
22
|
+
getVisible?: ComputedRef<boolean>;
|
|
23
|
+
redoModalHeight: () => void;
|
|
24
|
+
}
|
|
25
|
+
export type UseModalInnerReturnType = [RegisterFn, ReturnInnerMethods];
|
|
26
|
+
export interface ModalProps {
|
|
27
|
+
minHeight?: number;
|
|
28
|
+
height?: number;
|
|
29
|
+
wrapperFooterOffset?: number;
|
|
30
|
+
draggable?: boolean;
|
|
31
|
+
scrollTop?: boolean;
|
|
32
|
+
canFullscreen?: boolean;
|
|
33
|
+
defaultFullscreen?: boolean;
|
|
34
|
+
visible?: boolean;
|
|
35
|
+
helpMessage: string | string[];
|
|
36
|
+
useWrapper: boolean;
|
|
37
|
+
loading: boolean;
|
|
38
|
+
loadingTip?: string;
|
|
39
|
+
wrapperProps: Omit<ModalWrapperProps, 'loading'>;
|
|
40
|
+
showOkBtn: boolean;
|
|
41
|
+
showCancelBtn: boolean;
|
|
42
|
+
closeFunc: () => Promise<any>;
|
|
43
|
+
/**
|
|
44
|
+
* Specify a function that will be called when modal is closed completely.
|
|
45
|
+
* @type Function
|
|
46
|
+
*/
|
|
47
|
+
afterClose?: () => any;
|
|
48
|
+
/**
|
|
49
|
+
* Body style for modal body element. Such as height, padding etc.
|
|
50
|
+
* @default {}
|
|
51
|
+
* @type object
|
|
52
|
+
*/
|
|
53
|
+
bodyStyle?: CSSProperties;
|
|
54
|
+
/**
|
|
55
|
+
* Text of the Cancel button
|
|
56
|
+
* @default 'cancel'
|
|
57
|
+
* @type string
|
|
58
|
+
*/
|
|
59
|
+
cancelText?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Centered Modal
|
|
62
|
+
* @default false
|
|
63
|
+
* @type boolean
|
|
64
|
+
*/
|
|
65
|
+
centered?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Whether a close (x) button is visible on top right of the modal dialog or not
|
|
68
|
+
* @default true
|
|
69
|
+
* @type boolean
|
|
70
|
+
*/
|
|
71
|
+
closable?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Whether a close (x) button is visible on top right of the modal dialog or not
|
|
74
|
+
*/
|
|
75
|
+
closeIcon?: VNodeChild | JSX.Element;
|
|
76
|
+
/**
|
|
77
|
+
* Whether to apply loading visual effect for OK button or not
|
|
78
|
+
* @default false
|
|
79
|
+
* @type boolean
|
|
80
|
+
*/
|
|
81
|
+
confirmLoading?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Whether to unmount child components on onClose
|
|
84
|
+
* @default false
|
|
85
|
+
* @type boolean
|
|
86
|
+
*/
|
|
87
|
+
destroyOnClose?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Footer content, set as :footer="null" when you don't need default buttons
|
|
90
|
+
* @default OK and Cancel buttons
|
|
91
|
+
* @type any (string | slot)
|
|
92
|
+
*/
|
|
93
|
+
footer?: VNodeChild | JSX.Element;
|
|
94
|
+
/**
|
|
95
|
+
* Return the mount node for Modal
|
|
96
|
+
* @default () => document.body
|
|
97
|
+
* @type Function
|
|
98
|
+
*/
|
|
99
|
+
getContainer?: (instance: any) => HTMLElement;
|
|
100
|
+
/**
|
|
101
|
+
* Whether show mask or not.
|
|
102
|
+
* @default true
|
|
103
|
+
* @type boolean
|
|
104
|
+
*/
|
|
105
|
+
mask?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Whether to close the modal dialog when the mask (area outside the modal) is clicked
|
|
108
|
+
* @default true
|
|
109
|
+
* @type boolean
|
|
110
|
+
*/
|
|
111
|
+
maskClosable?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Style for modal's mask element.
|
|
114
|
+
* @default {}
|
|
115
|
+
* @type object
|
|
116
|
+
*/
|
|
117
|
+
maskStyle?: CSSProperties;
|
|
118
|
+
/**
|
|
119
|
+
* Text of the OK button
|
|
120
|
+
* @default 'OK'
|
|
121
|
+
* @type string
|
|
122
|
+
*/
|
|
123
|
+
okText?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Button type of the OK button
|
|
126
|
+
* @default 'primary'
|
|
127
|
+
* @type string
|
|
128
|
+
*/
|
|
129
|
+
okType?: 'primary' | 'danger' | 'dashed' | 'ghost' | 'default';
|
|
130
|
+
/**
|
|
131
|
+
* The ok button props, follow jsx rules
|
|
132
|
+
* @type object
|
|
133
|
+
*/
|
|
134
|
+
okButtonProps?: ButtonProps;
|
|
135
|
+
/**
|
|
136
|
+
* The cancel button props, follow jsx rules
|
|
137
|
+
* @type object
|
|
138
|
+
*/
|
|
139
|
+
cancelButtonProps?: ButtonProps;
|
|
140
|
+
/**
|
|
141
|
+
* The modal dialog's title
|
|
142
|
+
* @type any (string | slot)
|
|
143
|
+
*/
|
|
144
|
+
title?: VNodeChild | JSX.Element;
|
|
145
|
+
/**
|
|
146
|
+
* Width of the modal dialog
|
|
147
|
+
* @default 520
|
|
148
|
+
* @type string | number
|
|
149
|
+
*/
|
|
150
|
+
width?: string | number;
|
|
151
|
+
/**
|
|
152
|
+
* The class name of the container of the modal dialog
|
|
153
|
+
* @type string
|
|
154
|
+
*/
|
|
155
|
+
wrapClassName?: string;
|
|
156
|
+
/**
|
|
157
|
+
* The z-index of the Modal
|
|
158
|
+
* @default 1000
|
|
159
|
+
* @type number
|
|
160
|
+
*/
|
|
161
|
+
zIndex?: number;
|
|
162
|
+
size: 'small' | 'default' | 'large';
|
|
163
|
+
}
|
|
164
|
+
export interface ModalWrapperProps {
|
|
165
|
+
footerOffset?: number;
|
|
166
|
+
loading: boolean;
|
|
167
|
+
modalHeaderHeight: number;
|
|
168
|
+
modalFooterHeight: number;
|
|
169
|
+
minHeight: number;
|
|
170
|
+
height: number;
|
|
171
|
+
visible: boolean;
|
|
172
|
+
fullScreen: boolean;
|
|
173
|
+
useWrapper: boolean;
|
|
174
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare function is(val: unknown, type: string): boolean;
|
|
2
|
+
export declare function isFunction(val: unknown): val is Function;
|
|
3
|
+
export declare function isObject(val: any): val is Record<any, any>;
|
|
4
|
+
export declare function isDef<T = unknown>(val?: T): val is T;
|
|
5
|
+
export declare function isUnDef<T = unknown>(val?: T): val is T;
|
|
6
|
+
/**
|
|
7
|
+
* @description: Is it a production mode
|
|
8
|
+
* @returns:
|
|
9
|
+
* @example:
|
|
10
|
+
*/
|
|
11
|
+
export declare function isProdMode(): boolean;
|
|
12
|
+
export declare function isString(val: unknown): val is string;
|
|
13
|
+
export declare function isArray(val: any): val is Array<any>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Slots } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* @description: Get slot to prevent empty error
|
|
4
|
+
*/
|
|
5
|
+
export declare function getSlot(slots: Slots, slot?: string, data?: any): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}>[];
|
|
8
|
+
/**
|
|
9
|
+
* extends slots
|
|
10
|
+
* @param slots
|
|
11
|
+
* @param excludeKeys
|
|
12
|
+
*/
|
|
13
|
+
export declare function extendSlots(slots: Slots, excludeKeys?: string[]): any;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
prefixCls: string;
|
|
3
|
+
getCalcContentWidth: string;
|
|
4
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
title: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: () => string;
|
|
5
|
+
};
|
|
6
|
+
isShowCancelButton: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: () => boolean;
|
|
9
|
+
};
|
|
10
|
+
isShowConfirmButton: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: () => boolean;
|
|
13
|
+
};
|
|
14
|
+
isShowFooter: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: () => boolean;
|
|
17
|
+
};
|
|
18
|
+
confirmButtonText: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: () => string;
|
|
21
|
+
};
|
|
22
|
+
cancelButtonText: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: () => string;
|
|
25
|
+
};
|
|
26
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "click-return" | "confirm")[], "cancel" | "click-return" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
title: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: () => string;
|
|
30
|
+
};
|
|
31
|
+
isShowCancelButton: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: () => boolean;
|
|
34
|
+
};
|
|
35
|
+
isShowConfirmButton: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: () => boolean;
|
|
38
|
+
};
|
|
39
|
+
isShowFooter: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: () => boolean;
|
|
42
|
+
};
|
|
43
|
+
confirmButtonText: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: () => string;
|
|
46
|
+
};
|
|
47
|
+
cancelButtonText: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: () => string;
|
|
50
|
+
};
|
|
51
|
+
}>> & {
|
|
52
|
+
onCancel?: (...args: any[]) => any;
|
|
53
|
+
onConfirm?: (...args: any[]) => any;
|
|
54
|
+
"onClick-return"?: (...args: any[]) => any;
|
|
55
|
+
}, {
|
|
56
|
+
title: string;
|
|
57
|
+
isShowFooter: boolean;
|
|
58
|
+
isShowCancelButton: boolean;
|
|
59
|
+
isShowConfirmButton: boolean;
|
|
60
|
+
confirmButtonText: string;
|
|
61
|
+
cancelButtonText: string;
|
|
62
|
+
}, {}>;
|
|
63
|
+
export default _default;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { CSSProperties, PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
title: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
};
|
|
6
|
+
dense: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
};
|
|
9
|
+
ghost: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
};
|
|
12
|
+
content: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
};
|
|
15
|
+
contentStyle: {
|
|
16
|
+
type: PropType<CSSProperties>;
|
|
17
|
+
};
|
|
18
|
+
contentBackground: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
};
|
|
21
|
+
contentFullHeight: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
};
|
|
24
|
+
contentClass: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
};
|
|
27
|
+
fixedHeight: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
};
|
|
30
|
+
upwardSpace: {
|
|
31
|
+
type: PropType<string | number>;
|
|
32
|
+
};
|
|
33
|
+
}, {
|
|
34
|
+
getContentStyle: import("vue").ComputedRef<CSSProperties>;
|
|
35
|
+
wrapperRef: import("vue").Ref<any>;
|
|
36
|
+
headerRef: import("vue").Ref<any>;
|
|
37
|
+
contentRef: import("vue").Ref<any>;
|
|
38
|
+
footerRef: import("vue").Ref<any>;
|
|
39
|
+
getClass: import("vue").ComputedRef<unknown[]>;
|
|
40
|
+
getHeaderSlots: import("vue").ComputedRef<string[]>;
|
|
41
|
+
prefixCls: string;
|
|
42
|
+
getShowHeader: import("vue").ComputedRef<string | number | import("vue").Slot<any>>;
|
|
43
|
+
getShowFooter: import("vue").ComputedRef<import("vue").Slot<any>>;
|
|
44
|
+
omit: any;
|
|
45
|
+
getContentClass: import("vue").ComputedRef<(string | {
|
|
46
|
+
[x: string]: boolean;
|
|
47
|
+
})[]>;
|
|
48
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
title: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
};
|
|
52
|
+
dense: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
};
|
|
55
|
+
ghost: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
};
|
|
58
|
+
content: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
};
|
|
61
|
+
contentStyle: {
|
|
62
|
+
type: PropType<CSSProperties>;
|
|
63
|
+
};
|
|
64
|
+
contentBackground: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
};
|
|
67
|
+
contentFullHeight: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
};
|
|
70
|
+
contentClass: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
};
|
|
73
|
+
fixedHeight: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
};
|
|
76
|
+
upwardSpace: {
|
|
77
|
+
type: PropType<string | number>;
|
|
78
|
+
};
|
|
79
|
+
}>>, {
|
|
80
|
+
ghost: boolean;
|
|
81
|
+
dense: boolean;
|
|
82
|
+
contentBackground: boolean;
|
|
83
|
+
contentFullHeight: boolean;
|
|
84
|
+
fixedHeight: boolean;
|
|
85
|
+
}, {}>;
|
|
86
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
declare const Process: import("vue").DefineComponent<{
|
|
2
|
+
title: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
data: {
|
|
7
|
+
type: PropType<Recordable<any>[]>;
|
|
8
|
+
default: () => any[];
|
|
9
|
+
};
|
|
10
|
+
options: {
|
|
11
|
+
type: PropType<Recordable<any>[]>;
|
|
12
|
+
default: () => any[];
|
|
13
|
+
};
|
|
14
|
+
fieldNames: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
default: () => {
|
|
17
|
+
key: string;
|
|
18
|
+
status: string;
|
|
19
|
+
title: string;
|
|
20
|
+
time: string;
|
|
21
|
+
children: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
labelWidth: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
columns: {
|
|
29
|
+
type: PropType<Recordable<any>[]>;
|
|
30
|
+
default: () => any[];
|
|
31
|
+
};
|
|
32
|
+
timeFormat: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
title: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
data: {
|
|
42
|
+
type: PropType<Recordable<any>[]>;
|
|
43
|
+
default: () => any[];
|
|
44
|
+
};
|
|
45
|
+
options: {
|
|
46
|
+
type: PropType<Recordable<any>[]>;
|
|
47
|
+
default: () => any[];
|
|
48
|
+
};
|
|
49
|
+
fieldNames: {
|
|
50
|
+
type: ObjectConstructor;
|
|
51
|
+
default: () => {
|
|
52
|
+
key: string;
|
|
53
|
+
status: string;
|
|
54
|
+
title: string;
|
|
55
|
+
time: string;
|
|
56
|
+
children: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
labelWidth: {
|
|
60
|
+
type: NumberConstructor;
|
|
61
|
+
default: number;
|
|
62
|
+
};
|
|
63
|
+
columns: {
|
|
64
|
+
type: PropType<Recordable<any>[]>;
|
|
65
|
+
default: () => any[];
|
|
66
|
+
};
|
|
67
|
+
timeFormat: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
}>>, {
|
|
72
|
+
data: Recordable<any>[];
|
|
73
|
+
title: string;
|
|
74
|
+
options: Recordable<any>[];
|
|
75
|
+
fieldNames: Record<string, any>;
|
|
76
|
+
labelWidth: number;
|
|
77
|
+
columns: Recordable<any>[];
|
|
78
|
+
timeFormat: string;
|
|
79
|
+
}, {}>;
|
|
80
|
+
export { Process };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
native: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
wrapStyle: {
|
|
7
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
wrapClass: {
|
|
11
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
viewClass: {
|
|
15
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
viewStyle: {
|
|
19
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
noresize: BooleanConstructor;
|
|
23
|
+
tag: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
moveX: import("vue").Ref<number>;
|
|
29
|
+
moveY: import("vue").Ref<number>;
|
|
30
|
+
sizeWidth: import("vue").Ref<string>;
|
|
31
|
+
sizeHeight: import("vue").Ref<string>;
|
|
32
|
+
style: import("vue").ComputedRef<string | Recordable<any>>;
|
|
33
|
+
wrap: import("vue").Ref<any>;
|
|
34
|
+
resize: import("vue").Ref<any>;
|
|
35
|
+
update: () => void;
|
|
36
|
+
handleScroll: () => void;
|
|
37
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
native: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
wrapStyle: {
|
|
43
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
wrapClass: {
|
|
47
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
viewClass: {
|
|
51
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
viewStyle: {
|
|
55
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
noresize: BooleanConstructor;
|
|
59
|
+
tag: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
}>>, {
|
|
64
|
+
native: boolean;
|
|
65
|
+
tag: string;
|
|
66
|
+
wrapStyle: string | unknown[];
|
|
67
|
+
wrapClass: string | unknown[];
|
|
68
|
+
viewClass: string | unknown[];
|
|
69
|
+
viewStyle: string | unknown[];
|
|
70
|
+
noresize: boolean;
|
|
71
|
+
}, {}>;
|
|
72
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
vertical: BooleanConstructor;
|
|
3
|
+
size: StringConstructor;
|
|
4
|
+
move: NumberConstructor;
|
|
5
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
vertical: BooleanConstructor;
|
|
9
|
+
size: StringConstructor;
|
|
10
|
+
move: NumberConstructor;
|
|
11
|
+
}>>, {
|
|
12
|
+
vertical: boolean;
|
|
13
|
+
}, {}>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface BarMapItem {
|
|
2
|
+
offset: string
|
|
3
|
+
scroll: string
|
|
4
|
+
scrollSize: string
|
|
5
|
+
size: string
|
|
6
|
+
key: string
|
|
7
|
+
axis: string
|
|
8
|
+
client: string
|
|
9
|
+
direction: string
|
|
10
|
+
}
|
|
11
|
+
export interface BarMap {
|
|
12
|
+
vertical: BarMapItem
|
|
13
|
+
horizontal: BarMapItem
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface ScrollbarType {
|
|
17
|
+
wrap: ElRef
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const ShyAdvancedSearch: import("vue").DefineComponent<{
|
|
2
|
+
onRegister: {
|
|
3
|
+
type: FunctionConstructor;
|
|
4
|
+
};
|
|
5
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "register")[], "reset" | "register", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6
|
+
onRegister: {
|
|
7
|
+
type: FunctionConstructor;
|
|
8
|
+
};
|
|
9
|
+
}>> & {
|
|
10
|
+
onReset?: (...args: any[]) => any;
|
|
11
|
+
onRegister?: (...args: any[]) => any;
|
|
12
|
+
}, {}, {}>;
|
|
13
|
+
export { ShyAdvancedSearch };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const ShyGlobalSearch: import("vue").DefineComponent<{
|
|
2
|
+
onRegister: {
|
|
3
|
+
type: FunctionConstructor;
|
|
4
|
+
};
|
|
5
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "register")[], "reset" | "register", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6
|
+
onRegister: {
|
|
7
|
+
type: FunctionConstructor;
|
|
8
|
+
};
|
|
9
|
+
}>> & {
|
|
10
|
+
onReset?: (...args: any[]) => any;
|
|
11
|
+
onRegister?: (...args: any[]) => any;
|
|
12
|
+
}, {}, {}>;
|
|
13
|
+
export { ShyGlobalSearch };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const ALL_OPERATOR_OPTION: readonly {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}[];
|
|
5
|
+
export declare const NUMBER_OPERATOR_OPTIONS: {
|
|
6
|
+
label: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}[];
|
|
9
|
+
export declare const STRING_OPERATOR_OPTIONS: {
|
|
10
|
+
label: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}[];
|
|
13
|
+
export declare const DATE_OPERATOR_OPTIONS: {
|
|
14
|
+
label: string;
|
|
15
|
+
value: string;
|
|
16
|
+
}[];
|
|
17
|
+
export declare const EQUAL_OPERATOR_OPTIONS: {
|
|
18
|
+
label: string;
|
|
19
|
+
value: string;
|
|
20
|
+
}[];
|
|
21
|
+
export declare const CONTAIN_OPERATOR_OPTIONS: {
|
|
22
|
+
label: string;
|
|
23
|
+
value: string;
|
|
24
|
+
}[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import type { SchemasAdvancedSearch } from '../types';
|
|
3
|
+
import { FormActionType, RegisterFormFn } from '../../../ShyForm';
|
|
4
|
+
export declare const useAdvancedSearch: (schemas: ComputedRef<SchemasAdvancedSearch[]>, formActionType: FormActionType) => [RegisterFormFn, FormActionType];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentProps, ComponentType } from "../../../ShyForm";
|
|
2
|
+
export type AdvancedSearchType = 'number' | 'string' | 'date' | 'equal' | 'contain';
|
|
3
|
+
export type SchemasAdvancedSearch = {
|
|
4
|
+
label: string;
|
|
5
|
+
field: string;
|
|
6
|
+
type: AdvancedSearchType;
|
|
7
|
+
component: ComponentType;
|
|
8
|
+
componentProps?: ComponentProps;
|
|
9
|
+
globalShow?: boolean;
|
|
10
|
+
advancedShow?: boolean;
|
|
11
|
+
};
|