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,430 @@
|
|
|
1
|
+
import type { FormActionType, FieldMapToTime, FormSchema, FormProps } from './types/form';
|
|
2
|
+
import { type CSSProperties, type PropType } from 'vue';
|
|
3
|
+
import type { ColEx } from './types';
|
|
4
|
+
import type { TableActionType as ShyTableActionType } from '../../ShyTable';
|
|
5
|
+
type SizeType = 'small' | 'middle' | 'large' | undefined;
|
|
6
|
+
type ButtonShape = 'default' | 'circle' | 'round';
|
|
7
|
+
type ButtonHTMLType = 'submit' | 'button' | 'reset';
|
|
8
|
+
type ButtonProps = {
|
|
9
|
+
htmlType?: ButtonHTMLType | undefined;
|
|
10
|
+
loading?: boolean | {
|
|
11
|
+
delay?: number | undefined;
|
|
12
|
+
} | undefined;
|
|
13
|
+
ghost?: boolean | undefined;
|
|
14
|
+
prefixCls?: string | undefined;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
block?: boolean;
|
|
17
|
+
danger: boolean;
|
|
18
|
+
icon: any;
|
|
19
|
+
href: string;
|
|
20
|
+
target: string;
|
|
21
|
+
title: string;
|
|
22
|
+
shape: ButtonShape;
|
|
23
|
+
size: SizeType;
|
|
24
|
+
onClick: (event: MouseEvent) => void;
|
|
25
|
+
onMousedown?: ((event: MouseEvent) => void) | undefined;
|
|
26
|
+
};
|
|
27
|
+
export declare const ROW_SLICE: number, RANGE_PICKER_COL: number, OTHER_COL: number, ACTION_COL: number;
|
|
28
|
+
export declare const tableSearchColRef: {
|
|
29
|
+
ROW_SLICE: number;
|
|
30
|
+
RANGE_PICKER_COL: number;
|
|
31
|
+
OTHER_COL: number;
|
|
32
|
+
ACTION_COL: number;
|
|
33
|
+
};
|
|
34
|
+
export declare const tableSearchColKeys: readonly ["ROW_SLICE", "RANGE_PICKER_COL", "OTHER_COL", "ACTION_COL"];
|
|
35
|
+
export declare const shyFormBasicProps: {
|
|
36
|
+
gap: {
|
|
37
|
+
type: NumberConstructor;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
formLabelInInput: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
model: {
|
|
45
|
+
type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
|
|
46
|
+
default: () => PropType<Recordable<any>>;
|
|
47
|
+
};
|
|
48
|
+
labelWidth: {
|
|
49
|
+
type: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
|
|
50
|
+
default: number;
|
|
51
|
+
};
|
|
52
|
+
fieldMapToTime: {
|
|
53
|
+
type: ((new (...args: any[]) => FieldMapToTime) | (() => FieldMapToTime)) | ((new (...args: any[]) => FieldMapToTime) | (() => FieldMapToTime))[];
|
|
54
|
+
default: () => PropType<FieldMapToTime>;
|
|
55
|
+
};
|
|
56
|
+
compact: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
};
|
|
59
|
+
schemas: {
|
|
60
|
+
type: ((new (...args: any[]) => FormSchema[]) | (() => FormSchema[])) | ((new (...args: any[]) => FormSchema[]) | (() => FormSchema[]))[];
|
|
61
|
+
default: () => PropType<FormSchema[]>;
|
|
62
|
+
};
|
|
63
|
+
mergeDynamicData: {
|
|
64
|
+
type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
|
|
65
|
+
default: any;
|
|
66
|
+
};
|
|
67
|
+
baseRowStyle: {
|
|
68
|
+
type: ((new (...args: any[]) => CSSProperties) | (() => CSSProperties)) | ((new (...args: any[]) => CSSProperties) | (() => CSSProperties))[];
|
|
69
|
+
};
|
|
70
|
+
baseColProps: {
|
|
71
|
+
type: ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>)) | ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>))[];
|
|
72
|
+
};
|
|
73
|
+
autoSetPlaceHolder: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
autoSubmitOnEnter: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
submitOnReset: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
};
|
|
84
|
+
submitOnChange: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
};
|
|
87
|
+
size: {
|
|
88
|
+
type: ((new (...args: any[]) => "small" | "large" | "middle") | (() => "small" | "large" | "middle")) | ((new (...args: any[]) => "small" | "large" | "middle") | (() => "small" | "large" | "middle"))[];
|
|
89
|
+
default: any;
|
|
90
|
+
};
|
|
91
|
+
disabled: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
};
|
|
94
|
+
emptySpan: {
|
|
95
|
+
type: ((new (...args: any[]) => number | Partial<ColEx>) | (() => number | Partial<ColEx>)) | ((new (...args: any[]) => number | Partial<ColEx>) | (() => number | Partial<ColEx>))[];
|
|
96
|
+
default: number;
|
|
97
|
+
};
|
|
98
|
+
showAdvancedButton: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
};
|
|
101
|
+
transformDateFunc: {
|
|
102
|
+
type: ((new (...args: any[]) => Fn<any, any>) | (() => Fn<any, any>) | {
|
|
103
|
+
(): Fn<any, any>;
|
|
104
|
+
new (): any;
|
|
105
|
+
readonly prototype: any;
|
|
106
|
+
}) | ((new (...args: any[]) => Fn<any, any>) | (() => Fn<any, any>) | {
|
|
107
|
+
(): Fn<any, any>;
|
|
108
|
+
new (): any;
|
|
109
|
+
readonly prototype: any;
|
|
110
|
+
})[];
|
|
111
|
+
default: (date: any) => any;
|
|
112
|
+
};
|
|
113
|
+
rulesMessageJoinLabel: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
autoAdvancedLine: {
|
|
118
|
+
type: NumberConstructor;
|
|
119
|
+
default: number;
|
|
120
|
+
};
|
|
121
|
+
alwaysShowLines: {
|
|
122
|
+
type: NumberConstructor;
|
|
123
|
+
default: number;
|
|
124
|
+
};
|
|
125
|
+
showActionButtonGroup: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
actionColOptions: {
|
|
130
|
+
type: ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>)) | ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>))[];
|
|
131
|
+
};
|
|
132
|
+
showResetButton: {
|
|
133
|
+
type: BooleanConstructor;
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
136
|
+
autoFocusFirstItem: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
};
|
|
139
|
+
resetButtonOptions: {
|
|
140
|
+
type: ((new (...args: any[]) => Partial<ButtonProps>) | (() => Partial<ButtonProps>)) | ((new (...args: any[]) => Partial<ButtonProps>) | (() => Partial<ButtonProps>))[];
|
|
141
|
+
};
|
|
142
|
+
showSubmitButton: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
submitButtonOptions: {
|
|
147
|
+
type: ((new (...args: any[]) => Partial<ButtonProps>) | (() => Partial<ButtonProps>)) | ((new (...args: any[]) => Partial<ButtonProps>) | (() => Partial<ButtonProps>))[];
|
|
148
|
+
};
|
|
149
|
+
resetFunc: {
|
|
150
|
+
type: ((new (...args: any[]) => () => Promise<void>) | (() => () => Promise<void>) | {
|
|
151
|
+
(): () => Promise<void>;
|
|
152
|
+
new (): any;
|
|
153
|
+
readonly prototype: any;
|
|
154
|
+
}) | ((new (...args: any[]) => () => Promise<void>) | (() => () => Promise<void>) | {
|
|
155
|
+
(): () => Promise<void>;
|
|
156
|
+
new (): any;
|
|
157
|
+
readonly prototype: any;
|
|
158
|
+
})[];
|
|
159
|
+
};
|
|
160
|
+
submitFunc: {
|
|
161
|
+
type: ((new (...args: any[]) => () => Promise<void>) | (() => () => Promise<void>) | {
|
|
162
|
+
(): () => Promise<void>;
|
|
163
|
+
new (): any;
|
|
164
|
+
readonly prototype: any;
|
|
165
|
+
}) | ((new (...args: any[]) => () => Promise<void>) | (() => () => Promise<void>) | {
|
|
166
|
+
(): () => Promise<void>;
|
|
167
|
+
new (): any;
|
|
168
|
+
readonly prototype: any;
|
|
169
|
+
})[];
|
|
170
|
+
};
|
|
171
|
+
hideRequiredMark: {
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
};
|
|
174
|
+
labelCol: {
|
|
175
|
+
type: ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>)) | ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>))[];
|
|
176
|
+
};
|
|
177
|
+
layout: {
|
|
178
|
+
type: ((new (...args: any[]) => "vertical" | "horizontal" | "inline") | (() => "vertical" | "horizontal" | "inline")) | ((new (...args: any[]) => "vertical" | "horizontal" | "inline") | (() => "vertical" | "horizontal" | "inline"))[];
|
|
179
|
+
default: string;
|
|
180
|
+
};
|
|
181
|
+
tableAction: {
|
|
182
|
+
type: ((new (...args: any[]) => ShyTableActionType) | (() => ShyTableActionType)) | ((new (...args: any[]) => ShyTableActionType) | (() => ShyTableActionType))[];
|
|
183
|
+
};
|
|
184
|
+
wrapperCol: {
|
|
185
|
+
type: ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>)) | ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>))[];
|
|
186
|
+
};
|
|
187
|
+
colon: {
|
|
188
|
+
type: BooleanConstructor;
|
|
189
|
+
};
|
|
190
|
+
labelAlign: {
|
|
191
|
+
type: ((new (...args: any[]) => "left" | "right") | (() => "left" | "right")) | ((new (...args: any[]) => "left" | "right") | (() => "left" | "right"))[];
|
|
192
|
+
};
|
|
193
|
+
rowProps: {
|
|
194
|
+
type: ((new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
195
|
+
align: {
|
|
196
|
+
type: PropType<"top" | "bottom" | "middle" | "stretch" | {
|
|
197
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
198
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
199
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
200
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
201
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
202
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
203
|
+
}>;
|
|
204
|
+
default: "top" | "bottom" | "middle" | "stretch" | {
|
|
205
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
206
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
207
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
208
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
209
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
210
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
justify: {
|
|
214
|
+
type: PropType<"start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
|
|
215
|
+
xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
216
|
+
xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
217
|
+
lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
218
|
+
md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
219
|
+
sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
220
|
+
xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
221
|
+
}>;
|
|
222
|
+
default: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
|
|
223
|
+
xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
224
|
+
xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
225
|
+
lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
226
|
+
md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
227
|
+
sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
228
|
+
xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
prefixCls: StringConstructor;
|
|
232
|
+
gutter: {
|
|
233
|
+
type: PropType<import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter]>;
|
|
234
|
+
default: import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter];
|
|
235
|
+
};
|
|
236
|
+
wrap: {
|
|
237
|
+
type: BooleanConstructor;
|
|
238
|
+
default: any;
|
|
239
|
+
};
|
|
240
|
+
}>>) | (() => Partial<import("vue").ExtractPropTypes<{
|
|
241
|
+
align: {
|
|
242
|
+
type: PropType<"top" | "bottom" | "middle" | "stretch" | {
|
|
243
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
244
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
245
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
246
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
247
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
248
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
249
|
+
}>;
|
|
250
|
+
default: "top" | "bottom" | "middle" | "stretch" | {
|
|
251
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
252
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
253
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
254
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
255
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
256
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
justify: {
|
|
260
|
+
type: PropType<"start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
|
|
261
|
+
xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
262
|
+
xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
263
|
+
lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
264
|
+
md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
265
|
+
sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
266
|
+
xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
267
|
+
}>;
|
|
268
|
+
default: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
|
|
269
|
+
xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
270
|
+
xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
271
|
+
lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
272
|
+
md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
273
|
+
sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
274
|
+
xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
prefixCls: StringConstructor;
|
|
278
|
+
gutter: {
|
|
279
|
+
type: PropType<import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter]>;
|
|
280
|
+
default: import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter];
|
|
281
|
+
};
|
|
282
|
+
wrap: {
|
|
283
|
+
type: BooleanConstructor;
|
|
284
|
+
default: any;
|
|
285
|
+
};
|
|
286
|
+
}>>)) | ((new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
287
|
+
align: {
|
|
288
|
+
type: PropType<"top" | "bottom" | "middle" | "stretch" | {
|
|
289
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
290
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
291
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
292
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
293
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
294
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
295
|
+
}>;
|
|
296
|
+
default: "top" | "bottom" | "middle" | "stretch" | {
|
|
297
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
298
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
299
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
300
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
301
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
302
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
justify: {
|
|
306
|
+
type: PropType<"start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
|
|
307
|
+
xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
308
|
+
xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
309
|
+
lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
310
|
+
md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
311
|
+
sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
312
|
+
xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
313
|
+
}>;
|
|
314
|
+
default: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
|
|
315
|
+
xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
316
|
+
xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
317
|
+
lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
318
|
+
md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
319
|
+
sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
320
|
+
xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
prefixCls: StringConstructor;
|
|
324
|
+
gutter: {
|
|
325
|
+
type: PropType<import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter]>;
|
|
326
|
+
default: import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter];
|
|
327
|
+
};
|
|
328
|
+
wrap: {
|
|
329
|
+
type: BooleanConstructor;
|
|
330
|
+
default: any;
|
|
331
|
+
};
|
|
332
|
+
}>>) | (() => Partial<import("vue").ExtractPropTypes<{
|
|
333
|
+
align: {
|
|
334
|
+
type: PropType<"top" | "bottom" | "middle" | "stretch" | {
|
|
335
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
336
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
337
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
338
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
339
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
340
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
341
|
+
}>;
|
|
342
|
+
default: "top" | "bottom" | "middle" | "stretch" | {
|
|
343
|
+
xxl?: "top" | "bottom" | "middle" | "stretch";
|
|
344
|
+
xl?: "top" | "bottom" | "middle" | "stretch";
|
|
345
|
+
lg?: "top" | "bottom" | "middle" | "stretch";
|
|
346
|
+
md?: "top" | "bottom" | "middle" | "stretch";
|
|
347
|
+
sm?: "top" | "bottom" | "middle" | "stretch";
|
|
348
|
+
xs?: "top" | "bottom" | "middle" | "stretch";
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
justify: {
|
|
352
|
+
type: PropType<"start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
|
|
353
|
+
xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
354
|
+
xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
355
|
+
lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
356
|
+
md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
357
|
+
sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
358
|
+
xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
359
|
+
}>;
|
|
360
|
+
default: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
|
|
361
|
+
xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
362
|
+
xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
363
|
+
lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
364
|
+
md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
365
|
+
sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
366
|
+
xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
prefixCls: StringConstructor;
|
|
370
|
+
gutter: {
|
|
371
|
+
type: PropType<import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter]>;
|
|
372
|
+
default: import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter];
|
|
373
|
+
};
|
|
374
|
+
wrap: {
|
|
375
|
+
type: BooleanConstructor;
|
|
376
|
+
default: any;
|
|
377
|
+
};
|
|
378
|
+
}>>))[];
|
|
379
|
+
};
|
|
380
|
+
rangePickerField: {
|
|
381
|
+
type: ArrayConstructor;
|
|
382
|
+
default: () => any[];
|
|
383
|
+
};
|
|
384
|
+
onFieldValueChange: {
|
|
385
|
+
type: ((new (...args: any[]) => (...args: any[]) => void) | (() => (...args: any[]) => void) | {
|
|
386
|
+
(): (...args: any[]) => void;
|
|
387
|
+
new (): any;
|
|
388
|
+
readonly prototype: any;
|
|
389
|
+
}) | ((new (...args: any[]) => (...args: any[]) => void) | (() => (...args: any[]) => void) | {
|
|
390
|
+
(): (...args: any[]) => void;
|
|
391
|
+
new (): any;
|
|
392
|
+
readonly prototype: any;
|
|
393
|
+
})[];
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
export declare const FormItemProps: {
|
|
397
|
+
schema: {
|
|
398
|
+
type: PropType<FormSchema>;
|
|
399
|
+
default: () => {};
|
|
400
|
+
};
|
|
401
|
+
formProps: {
|
|
402
|
+
type: PropType<FormProps>;
|
|
403
|
+
default: () => {};
|
|
404
|
+
};
|
|
405
|
+
allDefaultValues: {
|
|
406
|
+
type: PropType<Recordable<any>>;
|
|
407
|
+
default: () => {};
|
|
408
|
+
};
|
|
409
|
+
formModel: {
|
|
410
|
+
type: PropType<Recordable<any>>;
|
|
411
|
+
default: () => {};
|
|
412
|
+
};
|
|
413
|
+
setFormModel: {
|
|
414
|
+
type: PropType<(key: string, value: any) => void>;
|
|
415
|
+
default: any;
|
|
416
|
+
};
|
|
417
|
+
tableAction: {
|
|
418
|
+
type: PropType<ShyTableActionType>;
|
|
419
|
+
};
|
|
420
|
+
formActionType: {
|
|
421
|
+
type: PropType<FormActionType>;
|
|
422
|
+
};
|
|
423
|
+
isAdvanced: {
|
|
424
|
+
type: BooleanConstructor;
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
export declare const defaultAntConfig: {
|
|
428
|
+
layout: string;
|
|
429
|
+
};
|
|
430
|
+
export {};
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import type { NamePath, RuleObject } from 'ant-design-vue/lib/form/interface';
|
|
2
|
+
import type { JSXComponent, VNode } from 'vue';
|
|
3
|
+
import type { ButtonProps as AntdButtonProps } from '../../../Button';
|
|
4
|
+
import type { FormItem } from './formItem';
|
|
5
|
+
import type { ColEx, ComponentType } from './index';
|
|
6
|
+
import type { TableActionType as ShyTableActionType } from '../../../ShyTable';
|
|
7
|
+
import type { CSSProperties } from 'vue';
|
|
8
|
+
import type { RowProps } from 'ant-design-vue/lib/grid/Row';
|
|
9
|
+
import { TooltipProps } from 'ant-design-vue';
|
|
10
|
+
export type FieldMapToTime = [
|
|
11
|
+
string,
|
|
12
|
+
[
|
|
13
|
+
string,
|
|
14
|
+
string
|
|
15
|
+
],
|
|
16
|
+
(string | [string, string])?
|
|
17
|
+
][];
|
|
18
|
+
export type Rule = RuleObject & {
|
|
19
|
+
trigger?: 'blur' | 'change' | ['change', 'blur'];
|
|
20
|
+
};
|
|
21
|
+
export interface RenderCallbackParams {
|
|
22
|
+
schema: FormSchema;
|
|
23
|
+
values: Recordable;
|
|
24
|
+
model: Recordable;
|
|
25
|
+
field: string;
|
|
26
|
+
}
|
|
27
|
+
interface ButtonProps extends AntdButtonProps {
|
|
28
|
+
text?: string;
|
|
29
|
+
}
|
|
30
|
+
export type ComponentProps = ((opt: {
|
|
31
|
+
schema: FormSchema;
|
|
32
|
+
tableAction: ShyTableActionType | ShyTableActionType | undefined;
|
|
33
|
+
formActionType: FormActionType;
|
|
34
|
+
formModel: Recordable;
|
|
35
|
+
}) => Recordable) | Recordable;
|
|
36
|
+
export interface FormActionType {
|
|
37
|
+
submit: () => Promise<void>;
|
|
38
|
+
setFieldsValue: (values: Recordable) => Promise<void>;
|
|
39
|
+
resetFields: () => Promise<void>;
|
|
40
|
+
getFieldsValue: () => Recordable;
|
|
41
|
+
clearValidate: (name?: string | string[]) => Promise<void>;
|
|
42
|
+
updateSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => Promise<void>;
|
|
43
|
+
resetSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => Promise<void>;
|
|
44
|
+
setProps: (formProps: Partial<FormProps>) => Promise<void>;
|
|
45
|
+
removeSchemaByField: (field: string | string[]) => Promise<void>;
|
|
46
|
+
appendSchemaByField: (schema: FormSchema, prefixField: string | undefined, first?: boolean | undefined) => Promise<void>;
|
|
47
|
+
validateFields: (nameList?: NamePath[]) => Promise<any>;
|
|
48
|
+
validate: (nameList?: NamePath[]) => Promise<any>;
|
|
49
|
+
scrollToField: (name: NamePath, options?: ScrollOptions) => Promise<void>;
|
|
50
|
+
}
|
|
51
|
+
export type RegisterFormFn = (formInstance: FormActionType) => void;
|
|
52
|
+
export type UseFormReturnType = [RegisterFormFn, FormActionType];
|
|
53
|
+
export interface FormProps {
|
|
54
|
+
formLabelInInput?: boolean;
|
|
55
|
+
name?: string;
|
|
56
|
+
layout?: 'vertical' | 'inline' | 'horizontal';
|
|
57
|
+
model?: Recordable;
|
|
58
|
+
labelWidth?: number | string;
|
|
59
|
+
labelAlign?: 'left' | 'right';
|
|
60
|
+
rowProps?: RowProps;
|
|
61
|
+
submitOnReset?: boolean;
|
|
62
|
+
submitOnChange?: boolean;
|
|
63
|
+
labelCol?: Partial<ColEx>;
|
|
64
|
+
wrapperCol?: Partial<ColEx>;
|
|
65
|
+
baseRowStyle?: CSSProperties;
|
|
66
|
+
baseColProps?: Partial<ColEx>;
|
|
67
|
+
schemas?: FormSchema[];
|
|
68
|
+
mergeDynamicData?: Recordable;
|
|
69
|
+
compact?: boolean;
|
|
70
|
+
emptySpan?: number | Partial<ColEx>;
|
|
71
|
+
size?: 'middle' | 'small' | 'large' | undefined;
|
|
72
|
+
disabled?: boolean;
|
|
73
|
+
fieldMapToTime?: FieldMapToTime;
|
|
74
|
+
autoSetPlaceHolder?: boolean;
|
|
75
|
+
autoSubmitOnEnter?: boolean;
|
|
76
|
+
rulesMessageJoinLabel?: boolean;
|
|
77
|
+
showAdvancedButton?: boolean;
|
|
78
|
+
autoFocusFirstItem?: boolean;
|
|
79
|
+
autoAdvancedLine?: number;
|
|
80
|
+
alwaysShowLines?: number;
|
|
81
|
+
showActionButtonGroup?: boolean;
|
|
82
|
+
resetButtonOptions?: Partial<ButtonProps>;
|
|
83
|
+
submitButtonOptions?: Partial<ButtonProps>;
|
|
84
|
+
actionColOptions?: Partial<ColEx>;
|
|
85
|
+
showResetButton?: boolean;
|
|
86
|
+
showSubmitButton?: boolean;
|
|
87
|
+
resetFunc?: () => Promise<void>;
|
|
88
|
+
submitFunc?: () => Promise<void>;
|
|
89
|
+
transformDateFunc?: (date: any) => string;
|
|
90
|
+
colon?: boolean;
|
|
91
|
+
rangePickerField: any[];
|
|
92
|
+
onFieldValueChange?: (key: string, value: any) => void;
|
|
93
|
+
}
|
|
94
|
+
export interface FormSchema {
|
|
95
|
+
field: string;
|
|
96
|
+
changeEvent?: string;
|
|
97
|
+
valueField?: string;
|
|
98
|
+
label: string | VNode;
|
|
99
|
+
subLabel?: string;
|
|
100
|
+
helpMessage?: string | string[] | ((renderCallbackParams: RenderCallbackParams) => string | string[] | JSXComponent | JSX.Element);
|
|
101
|
+
helpComponentProps?: Partial<HelpComponentProps>;
|
|
102
|
+
labelWidth?: string | number;
|
|
103
|
+
disabledLabelWidth?: boolean;
|
|
104
|
+
component: ComponentType;
|
|
105
|
+
componentProps?: ComponentProps;
|
|
106
|
+
required?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
|
|
107
|
+
suffix?: string | number | ((values: RenderCallbackParams) => string | number);
|
|
108
|
+
rules?: Rule[];
|
|
109
|
+
rulesMessageJoinLabel?: boolean;
|
|
110
|
+
itemProps?: Partial<FormItem>;
|
|
111
|
+
colProps?: Partial<ColEx>;
|
|
112
|
+
defaultValue?: any;
|
|
113
|
+
isHandleDateDefaultValue?: boolean;
|
|
114
|
+
isAdvanced?: boolean;
|
|
115
|
+
span?: number;
|
|
116
|
+
ifShow?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
|
|
117
|
+
show?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
|
|
118
|
+
render?: (renderCallbackParams: RenderCallbackParams) => VNode | VNode[] | string;
|
|
119
|
+
renderColContent?: (renderCallbackParams: RenderCallbackParams) => VNode | VNode[] | string;
|
|
120
|
+
renderComponentContent?: ((renderCallbackParams: RenderCallbackParams) => any) | VNode | VNode[] | string;
|
|
121
|
+
slot?: string;
|
|
122
|
+
colSlot?: string;
|
|
123
|
+
dynamicDisabled?: boolean | ((renderCallbackParams: RenderCallbackParams, globDisabled?: boolean) => boolean);
|
|
124
|
+
dynamicRules?: (renderCallbackParams: RenderCallbackParams) => Rule[];
|
|
125
|
+
}
|
|
126
|
+
export type HelpComponentProps = TooltipProps;
|
|
127
|
+
export {};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { NamePath } from 'ant-design-vue/lib/form/interface';
|
|
2
|
+
import type { ColProps } from 'ant-design-vue/lib/grid/Col';
|
|
3
|
+
import type { HTMLAttributes, VNodeChild } from 'vue';
|
|
4
|
+
export interface FormItem {
|
|
5
|
+
/**
|
|
6
|
+
* Used with label, whether to display : after label text.
|
|
7
|
+
* @default true
|
|
8
|
+
* @type boolean
|
|
9
|
+
*/
|
|
10
|
+
colon?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The extra prompt message. It is similar to help. Usage example: to display error message and prompt message at the same time.
|
|
13
|
+
* @type any (string | slot)
|
|
14
|
+
*/
|
|
15
|
+
extra?: string | VNodeChild | JSX.Element;
|
|
16
|
+
/**
|
|
17
|
+
* Used with validateStatus, this option specifies the validation status icon. Recommended to be used only with Input.
|
|
18
|
+
* @default false
|
|
19
|
+
* @type boolean
|
|
20
|
+
*/
|
|
21
|
+
hasFeedback?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* The prompt message. If not provided, the prompt message will be generated by the validation rule.
|
|
24
|
+
* @type any (string | slot)
|
|
25
|
+
*/
|
|
26
|
+
help?: string | VNodeChild | JSX.Element;
|
|
27
|
+
/**
|
|
28
|
+
* Label test
|
|
29
|
+
* @type any (string | slot)
|
|
30
|
+
*/
|
|
31
|
+
label?: string | VNodeChild | JSX.Element;
|
|
32
|
+
/**
|
|
33
|
+
* The layout of label. You can set span offset to something like {span: 3, offset: 12} or sm: {span: 3, offset: 12} same as with <Col>
|
|
34
|
+
* @type Col
|
|
35
|
+
*/
|
|
36
|
+
labelCol?: ColProps & HTMLAttributes;
|
|
37
|
+
/**
|
|
38
|
+
* Whether provided or not, it will be generated by the validation rule.
|
|
39
|
+
* @default false
|
|
40
|
+
* @type boolean
|
|
41
|
+
*/
|
|
42
|
+
required?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The validation status. If not provided, it will be generated by validation rule. options: 'success' 'warning' 'error' 'validating'
|
|
45
|
+
* @type string
|
|
46
|
+
*/
|
|
47
|
+
validateStatus?: '' | 'success' | 'warning' | 'error' | 'validating';
|
|
48
|
+
/**
|
|
49
|
+
* The layout for input controls, same as labelCol
|
|
50
|
+
* @type Col
|
|
51
|
+
*/
|
|
52
|
+
wrapperCol?: ColProps;
|
|
53
|
+
/**
|
|
54
|
+
* Set sub label htmlFor.
|
|
55
|
+
*/
|
|
56
|
+
htmlFor?: string;
|
|
57
|
+
/**
|
|
58
|
+
* text align of label
|
|
59
|
+
*/
|
|
60
|
+
labelAlign?: 'left' | 'right';
|
|
61
|
+
/**
|
|
62
|
+
* a key of model. In the setting of validate and resetFields method, the attribute is required
|
|
63
|
+
*/
|
|
64
|
+
name?: NamePath;
|
|
65
|
+
/**
|
|
66
|
+
* validation rules of form
|
|
67
|
+
*/
|
|
68
|
+
rules?: object | object[];
|
|
69
|
+
/**
|
|
70
|
+
* Whether to automatically associate form fields. In most cases, you can setting automatic association.
|
|
71
|
+
* If the conditions for automatic association are not met, you can manually associate them. See the notes below.
|
|
72
|
+
*/
|
|
73
|
+
autoLink?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Whether stop validate on first rule of error for this field.
|
|
76
|
+
*/
|
|
77
|
+
validateFirst?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* When to validate the value of children node
|
|
80
|
+
*/
|
|
81
|
+
validateTrigger?: string | string[] | false;
|
|
82
|
+
}
|