3h1-ui 3.0.0-next.22 → 3.0.0-next.220
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 +40999 -35857
- 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 +247 -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 +42 -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 +40993 -35851
- 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 +247 -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 +42 -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,41 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
formModel: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
};
|
|
5
|
+
formProps: {
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
};
|
|
8
|
+
setFormModel: {
|
|
9
|
+
type: FunctionConstructor;
|
|
10
|
+
default: () => void;
|
|
11
|
+
};
|
|
12
|
+
schema: {
|
|
13
|
+
type: ObjectConstructor;
|
|
14
|
+
};
|
|
15
|
+
formActionType: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
19
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
formModel: {
|
|
21
|
+
type: ObjectConstructor;
|
|
22
|
+
};
|
|
23
|
+
formProps: {
|
|
24
|
+
type: ObjectConstructor;
|
|
25
|
+
};
|
|
26
|
+
setFormModel: {
|
|
27
|
+
type: FunctionConstructor;
|
|
28
|
+
default: () => void;
|
|
29
|
+
};
|
|
30
|
+
schema: {
|
|
31
|
+
type: ObjectConstructor;
|
|
32
|
+
};
|
|
33
|
+
formActionType: {
|
|
34
|
+
type: ObjectConstructor;
|
|
35
|
+
default: () => {};
|
|
36
|
+
};
|
|
37
|
+
}>>, {
|
|
38
|
+
setFormModel: Function;
|
|
39
|
+
formActionType: Record<string, any>;
|
|
40
|
+
}, {}>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { CSSProperties } from 'vue';
|
|
2
|
+
export interface Schema {
|
|
3
|
+
label?: string;
|
|
4
|
+
field?: string;
|
|
5
|
+
colProps?: {
|
|
6
|
+
span: number;
|
|
7
|
+
};
|
|
8
|
+
component?: 'Divider' | 'Group';
|
|
9
|
+
isCopy?: boolean;
|
|
10
|
+
labelStyle?: CSSProperties;
|
|
11
|
+
contentStyle?: CSSProperties;
|
|
12
|
+
customRender?: any;
|
|
13
|
+
helpMessage: string;
|
|
14
|
+
ifShow?: (data: any) => boolean | boolean;
|
|
15
|
+
isForm?: boolean;
|
|
16
|
+
required?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const basicColProps = 24;
|
|
19
|
+
export declare const basicProps: {
|
|
20
|
+
schema: {
|
|
21
|
+
type: ((new (...args: any[]) => Schema[]) | (() => Schema[])) | ((new (...args: any[]) => Schema[]) | (() => Schema[]))[];
|
|
22
|
+
default: () => any[];
|
|
23
|
+
};
|
|
24
|
+
summaryPrecision: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
summaryTotalFields: {
|
|
29
|
+
type: ((new (...args: any[]) => string[]) | (() => string[])) | ((new (...args: any[]) => string[]) | (() => string[]))[];
|
|
30
|
+
default: () => any[];
|
|
31
|
+
};
|
|
32
|
+
labelAlign: {
|
|
33
|
+
type: ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center")) | ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center"))[];
|
|
34
|
+
default: () => "left";
|
|
35
|
+
};
|
|
36
|
+
labelWidth: {
|
|
37
|
+
type: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
|
|
38
|
+
default: () => 80;
|
|
39
|
+
};
|
|
40
|
+
isShowColon: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: () => false;
|
|
43
|
+
};
|
|
44
|
+
data: {
|
|
45
|
+
type: ObjectConstructor;
|
|
46
|
+
default: () => {};
|
|
47
|
+
};
|
|
48
|
+
bordered: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: () => false;
|
|
51
|
+
};
|
|
52
|
+
customRender: {
|
|
53
|
+
type: ObjectConstructor;
|
|
54
|
+
default: () => any;
|
|
55
|
+
};
|
|
56
|
+
mode: {
|
|
57
|
+
type: ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal")) | ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal"))[];
|
|
58
|
+
default: () => "horizontal";
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { CSSProperties } from 'vue';
|
|
2
|
+
export interface DescItem {
|
|
3
|
+
label?: string;
|
|
4
|
+
field?: string;
|
|
5
|
+
colProps?: {
|
|
6
|
+
span: number;
|
|
7
|
+
};
|
|
8
|
+
component?: 'Divider' | 'Group';
|
|
9
|
+
isCopy?: boolean;
|
|
10
|
+
labelStyle?: CSSProperties;
|
|
11
|
+
contentStyle?: CSSProperties;
|
|
12
|
+
helpMessage?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface DescriptionProps {
|
|
15
|
+
schema: DescItem[];
|
|
16
|
+
data: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
};
|
|
19
|
+
summaryPrecision: number;
|
|
20
|
+
summaryTotalFields: string[];
|
|
21
|
+
labelWidth?: number;
|
|
22
|
+
isShowColon?: boolean;
|
|
23
|
+
labelAlign?: 'left' | 'center' | 'right';
|
|
24
|
+
labelStyle?: CSSProperties;
|
|
25
|
+
contentStyle?: CSSProperties;
|
|
26
|
+
bordered?: boolean;
|
|
27
|
+
mode?: 'horizontal' | 'vertical';
|
|
28
|
+
}
|
|
29
|
+
export interface DescInstance {
|
|
30
|
+
setDescProps(descProps: Partial<DescriptionProps>): void;
|
|
31
|
+
getFieldsValue(): void;
|
|
32
|
+
setFieldsValue(form: any): void;
|
|
33
|
+
}
|
|
34
|
+
export type Register = (descInstance: DescInstance) => void;
|
|
35
|
+
/**
|
|
36
|
+
* @description:
|
|
37
|
+
*/
|
|
38
|
+
export type UseDescReturnType = [Register, DescInstance];
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import { useShyDescriptions } from './src/useShyDescriptions';
|
|
2
|
+
export declare const ShyDescriptions: {
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
schemas: {
|
|
5
|
+
type: ((new (...args: any[]) => import("./src/typing").DescItem[]) | (() => import("./src/typing").DescItem[])) | ((new (...args: any[]) => import("./src/typing").DescItem[]) | (() => import("./src/typing").DescItem[]))[];
|
|
6
|
+
default: () => any[];
|
|
7
|
+
};
|
|
8
|
+
summaryPrecision: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
summaryTotalFields: {
|
|
13
|
+
type: ((new (...args: any[]) => string[]) | (() => string[])) | ((new (...args: any[]) => string[]) | (() => string[]))[];
|
|
14
|
+
default: () => any[];
|
|
15
|
+
};
|
|
16
|
+
labelAlign: {
|
|
17
|
+
type: ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center")) | ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center"))[];
|
|
18
|
+
default: () => "left";
|
|
19
|
+
};
|
|
20
|
+
labelWidth: {
|
|
21
|
+
type: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
isShowColon: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: () => false;
|
|
27
|
+
};
|
|
28
|
+
data: {
|
|
29
|
+
type: ObjectConstructor;
|
|
30
|
+
default: () => {};
|
|
31
|
+
};
|
|
32
|
+
bordered: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: () => false;
|
|
35
|
+
};
|
|
36
|
+
render: {
|
|
37
|
+
type: ObjectConstructor;
|
|
38
|
+
default: () => any;
|
|
39
|
+
};
|
|
40
|
+
mode: {
|
|
41
|
+
type: ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal")) | ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal"))[];
|
|
42
|
+
default: () => "horizontal";
|
|
43
|
+
};
|
|
44
|
+
baseColProps: {
|
|
45
|
+
type: ObjectConstructor;
|
|
46
|
+
default: () => {
|
|
47
|
+
span: number;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}>> & {
|
|
51
|
+
onRegister?: (...args: any[]) => any;
|
|
52
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "register"[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
53
|
+
schemas: {
|
|
54
|
+
type: ((new (...args: any[]) => import("./src/typing").DescItem[]) | (() => import("./src/typing").DescItem[])) | ((new (...args: any[]) => import("./src/typing").DescItem[]) | (() => import("./src/typing").DescItem[]))[];
|
|
55
|
+
default: () => any[];
|
|
56
|
+
};
|
|
57
|
+
summaryPrecision: {
|
|
58
|
+
type: NumberConstructor;
|
|
59
|
+
default: number;
|
|
60
|
+
};
|
|
61
|
+
summaryTotalFields: {
|
|
62
|
+
type: ((new (...args: any[]) => string[]) | (() => string[])) | ((new (...args: any[]) => string[]) | (() => string[]))[];
|
|
63
|
+
default: () => any[];
|
|
64
|
+
};
|
|
65
|
+
labelAlign: {
|
|
66
|
+
type: ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center")) | ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center"))[];
|
|
67
|
+
default: () => "left";
|
|
68
|
+
};
|
|
69
|
+
labelWidth: {
|
|
70
|
+
type: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
|
|
71
|
+
default: number;
|
|
72
|
+
};
|
|
73
|
+
isShowColon: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: () => false;
|
|
76
|
+
};
|
|
77
|
+
data: {
|
|
78
|
+
type: ObjectConstructor;
|
|
79
|
+
default: () => {};
|
|
80
|
+
};
|
|
81
|
+
bordered: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: () => false;
|
|
84
|
+
};
|
|
85
|
+
render: {
|
|
86
|
+
type: ObjectConstructor;
|
|
87
|
+
default: () => any;
|
|
88
|
+
};
|
|
89
|
+
mode: {
|
|
90
|
+
type: ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal")) | ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal"))[];
|
|
91
|
+
default: () => "horizontal";
|
|
92
|
+
};
|
|
93
|
+
baseColProps: {
|
|
94
|
+
type: ObjectConstructor;
|
|
95
|
+
default: () => {
|
|
96
|
+
span: number;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}>> & {
|
|
100
|
+
onRegister?: (...args: any[]) => any;
|
|
101
|
+
}, {
|
|
102
|
+
data: Record<string, any>;
|
|
103
|
+
render: Record<string, any>;
|
|
104
|
+
schemas: import("./src/typing").DescItem[];
|
|
105
|
+
mode: "vertical| horizontal";
|
|
106
|
+
bordered: boolean;
|
|
107
|
+
summaryPrecision: number;
|
|
108
|
+
summaryTotalFields: string[];
|
|
109
|
+
labelAlign: "left" | "right" | "center";
|
|
110
|
+
labelWidth: string | number;
|
|
111
|
+
isShowColon: boolean;
|
|
112
|
+
baseColProps: Record<string, any>;
|
|
113
|
+
}, true, {}, {}, {
|
|
114
|
+
P: {};
|
|
115
|
+
B: {};
|
|
116
|
+
D: {};
|
|
117
|
+
C: {};
|
|
118
|
+
M: {};
|
|
119
|
+
Defaults: {};
|
|
120
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
121
|
+
schemas: {
|
|
122
|
+
type: ((new (...args: any[]) => import("./src/typing").DescItem[]) | (() => import("./src/typing").DescItem[])) | ((new (...args: any[]) => import("./src/typing").DescItem[]) | (() => import("./src/typing").DescItem[]))[];
|
|
123
|
+
default: () => any[];
|
|
124
|
+
};
|
|
125
|
+
summaryPrecision: {
|
|
126
|
+
type: NumberConstructor;
|
|
127
|
+
default: number;
|
|
128
|
+
};
|
|
129
|
+
summaryTotalFields: {
|
|
130
|
+
type: ((new (...args: any[]) => string[]) | (() => string[])) | ((new (...args: any[]) => string[]) | (() => string[]))[];
|
|
131
|
+
default: () => any[];
|
|
132
|
+
};
|
|
133
|
+
labelAlign: {
|
|
134
|
+
type: ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center")) | ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center"))[];
|
|
135
|
+
default: () => "left";
|
|
136
|
+
};
|
|
137
|
+
labelWidth: {
|
|
138
|
+
type: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
|
|
139
|
+
default: number;
|
|
140
|
+
};
|
|
141
|
+
isShowColon: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
default: () => false;
|
|
144
|
+
};
|
|
145
|
+
data: {
|
|
146
|
+
type: ObjectConstructor;
|
|
147
|
+
default: () => {};
|
|
148
|
+
};
|
|
149
|
+
bordered: {
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
default: () => false;
|
|
152
|
+
};
|
|
153
|
+
render: {
|
|
154
|
+
type: ObjectConstructor;
|
|
155
|
+
default: () => any;
|
|
156
|
+
};
|
|
157
|
+
mode: {
|
|
158
|
+
type: ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal")) | ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal"))[];
|
|
159
|
+
default: () => "horizontal";
|
|
160
|
+
};
|
|
161
|
+
baseColProps: {
|
|
162
|
+
type: ObjectConstructor;
|
|
163
|
+
default: () => {
|
|
164
|
+
span: number;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
}>> & {
|
|
168
|
+
onRegister?: (...args: any[]) => any;
|
|
169
|
+
}, () => JSX.Element, {}, {}, {}, {
|
|
170
|
+
data: Record<string, any>;
|
|
171
|
+
render: Record<string, any>;
|
|
172
|
+
schemas: import("./src/typing").DescItem[];
|
|
173
|
+
mode: "vertical| horizontal";
|
|
174
|
+
bordered: boolean;
|
|
175
|
+
summaryPrecision: number;
|
|
176
|
+
summaryTotalFields: string[];
|
|
177
|
+
labelAlign: "left" | "right" | "center";
|
|
178
|
+
labelWidth: string | number;
|
|
179
|
+
isShowColon: boolean;
|
|
180
|
+
baseColProps: Record<string, any>;
|
|
181
|
+
}>;
|
|
182
|
+
__isFragment?: never;
|
|
183
|
+
__isTeleport?: never;
|
|
184
|
+
__isSuspense?: never;
|
|
185
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
186
|
+
schemas: {
|
|
187
|
+
type: ((new (...args: any[]) => import("./src/typing").DescItem[]) | (() => import("./src/typing").DescItem[])) | ((new (...args: any[]) => import("./src/typing").DescItem[]) | (() => import("./src/typing").DescItem[]))[];
|
|
188
|
+
default: () => any[];
|
|
189
|
+
};
|
|
190
|
+
summaryPrecision: {
|
|
191
|
+
type: NumberConstructor;
|
|
192
|
+
default: number;
|
|
193
|
+
};
|
|
194
|
+
summaryTotalFields: {
|
|
195
|
+
type: ((new (...args: any[]) => string[]) | (() => string[])) | ((new (...args: any[]) => string[]) | (() => string[]))[];
|
|
196
|
+
default: () => any[];
|
|
197
|
+
};
|
|
198
|
+
labelAlign: {
|
|
199
|
+
type: ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center")) | ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center"))[];
|
|
200
|
+
default: () => "left";
|
|
201
|
+
};
|
|
202
|
+
labelWidth: {
|
|
203
|
+
type: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
|
|
204
|
+
default: number;
|
|
205
|
+
};
|
|
206
|
+
isShowColon: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: () => false;
|
|
209
|
+
};
|
|
210
|
+
data: {
|
|
211
|
+
type: ObjectConstructor;
|
|
212
|
+
default: () => {};
|
|
213
|
+
};
|
|
214
|
+
bordered: {
|
|
215
|
+
type: BooleanConstructor;
|
|
216
|
+
default: () => false;
|
|
217
|
+
};
|
|
218
|
+
render: {
|
|
219
|
+
type: ObjectConstructor;
|
|
220
|
+
default: () => any;
|
|
221
|
+
};
|
|
222
|
+
mode: {
|
|
223
|
+
type: ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal")) | ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal"))[];
|
|
224
|
+
default: () => "horizontal";
|
|
225
|
+
};
|
|
226
|
+
baseColProps: {
|
|
227
|
+
type: ObjectConstructor;
|
|
228
|
+
default: () => {
|
|
229
|
+
span: number;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
}>> & {
|
|
233
|
+
onRegister?: (...args: any[]) => any;
|
|
234
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "register"[], "register", {
|
|
235
|
+
data: Record<string, any>;
|
|
236
|
+
render: Record<string, any>;
|
|
237
|
+
schemas: import("./src/typing").DescItem[];
|
|
238
|
+
mode: "vertical| horizontal";
|
|
239
|
+
bordered: boolean;
|
|
240
|
+
summaryPrecision: number;
|
|
241
|
+
summaryTotalFields: string[];
|
|
242
|
+
labelAlign: "left" | "right" | "center";
|
|
243
|
+
labelWidth: string | number;
|
|
244
|
+
isShowColon: boolean;
|
|
245
|
+
baseColProps: Record<string, any>;
|
|
246
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
|
247
|
+
export { useShyDescriptions };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SlotsType } from 'vue';
|
|
2
|
+
declare const Descriptions: import("vue").DefineComponent<{
|
|
3
|
+
bordered: BooleanConstructor;
|
|
4
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
+
bordered: BooleanConstructor;
|
|
6
|
+
}>>, {
|
|
7
|
+
bordered: boolean;
|
|
8
|
+
}, SlotsType<{
|
|
9
|
+
default?: any;
|
|
10
|
+
}>>;
|
|
11
|
+
export default Descriptions;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { DescItem } from './typing';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
schemas: {
|
|
4
|
+
type: ((new (...args: any[]) => DescItem[]) | (() => DescItem[])) | ((new (...args: any[]) => DescItem[]) | (() => DescItem[]))[];
|
|
5
|
+
default: () => any[];
|
|
6
|
+
};
|
|
7
|
+
summaryPrecision: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
summaryTotalFields: {
|
|
12
|
+
type: ((new (...args: any[]) => string[]) | (() => string[])) | ((new (...args: any[]) => string[]) | (() => string[]))[];
|
|
13
|
+
default: () => any[];
|
|
14
|
+
};
|
|
15
|
+
labelAlign: {
|
|
16
|
+
type: ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center")) | ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center"))[];
|
|
17
|
+
default: () => "left";
|
|
18
|
+
};
|
|
19
|
+
labelWidth: {
|
|
20
|
+
type: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
isShowColon: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: () => false;
|
|
26
|
+
};
|
|
27
|
+
data: {
|
|
28
|
+
type: ObjectConstructor;
|
|
29
|
+
default: () => {};
|
|
30
|
+
};
|
|
31
|
+
bordered: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: () => false;
|
|
34
|
+
};
|
|
35
|
+
render: {
|
|
36
|
+
type: ObjectConstructor;
|
|
37
|
+
default: () => any;
|
|
38
|
+
};
|
|
39
|
+
mode: {
|
|
40
|
+
type: ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal")) | ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal"))[];
|
|
41
|
+
default: () => "horizontal";
|
|
42
|
+
};
|
|
43
|
+
baseColProps: {
|
|
44
|
+
type: ObjectConstructor;
|
|
45
|
+
default: () => {
|
|
46
|
+
span: number;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "register"[], "register", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
schemas: {
|
|
51
|
+
type: ((new (...args: any[]) => DescItem[]) | (() => DescItem[])) | ((new (...args: any[]) => DescItem[]) | (() => DescItem[]))[];
|
|
52
|
+
default: () => any[];
|
|
53
|
+
};
|
|
54
|
+
summaryPrecision: {
|
|
55
|
+
type: NumberConstructor;
|
|
56
|
+
default: number;
|
|
57
|
+
};
|
|
58
|
+
summaryTotalFields: {
|
|
59
|
+
type: ((new (...args: any[]) => string[]) | (() => string[])) | ((new (...args: any[]) => string[]) | (() => string[]))[];
|
|
60
|
+
default: () => any[];
|
|
61
|
+
};
|
|
62
|
+
labelAlign: {
|
|
63
|
+
type: ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center")) | ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center"))[];
|
|
64
|
+
default: () => "left";
|
|
65
|
+
};
|
|
66
|
+
labelWidth: {
|
|
67
|
+
type: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
|
|
68
|
+
default: number;
|
|
69
|
+
};
|
|
70
|
+
isShowColon: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: () => false;
|
|
73
|
+
};
|
|
74
|
+
data: {
|
|
75
|
+
type: ObjectConstructor;
|
|
76
|
+
default: () => {};
|
|
77
|
+
};
|
|
78
|
+
bordered: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: () => false;
|
|
81
|
+
};
|
|
82
|
+
render: {
|
|
83
|
+
type: ObjectConstructor;
|
|
84
|
+
default: () => any;
|
|
85
|
+
};
|
|
86
|
+
mode: {
|
|
87
|
+
type: ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal")) | ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal"))[];
|
|
88
|
+
default: () => "horizontal";
|
|
89
|
+
};
|
|
90
|
+
baseColProps: {
|
|
91
|
+
type: ObjectConstructor;
|
|
92
|
+
default: () => {
|
|
93
|
+
span: number;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}>> & {
|
|
97
|
+
onRegister?: (...args: any[]) => any;
|
|
98
|
+
}, {
|
|
99
|
+
data: Record<string, any>;
|
|
100
|
+
render: Record<string, any>;
|
|
101
|
+
schemas: DescItem[];
|
|
102
|
+
mode: "vertical| horizontal";
|
|
103
|
+
bordered: boolean;
|
|
104
|
+
summaryPrecision: number;
|
|
105
|
+
summaryTotalFields: string[];
|
|
106
|
+
labelAlign: "left" | "right" | "center";
|
|
107
|
+
labelWidth: string | number;
|
|
108
|
+
isShowColon: boolean;
|
|
109
|
+
baseColProps: Record<string, any>;
|
|
110
|
+
}, {}>;
|
|
111
|
+
export default _default;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { DescItem } from './typing';
|
|
2
|
+
export declare const basicColProps = 6;
|
|
3
|
+
export declare const basicRowProps = 24;
|
|
4
|
+
export declare const basicGap = 8;
|
|
5
|
+
export declare const basicProps: {
|
|
6
|
+
schemas: {
|
|
7
|
+
type: ((new (...args: any[]) => DescItem[]) | (() => DescItem[])) | ((new (...args: any[]) => DescItem[]) | (() => DescItem[]))[];
|
|
8
|
+
default: () => any[];
|
|
9
|
+
};
|
|
10
|
+
summaryPrecision: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
summaryTotalFields: {
|
|
15
|
+
type: ((new (...args: any[]) => string[]) | (() => string[])) | ((new (...args: any[]) => string[]) | (() => string[]))[];
|
|
16
|
+
default: () => any[];
|
|
17
|
+
};
|
|
18
|
+
labelAlign: {
|
|
19
|
+
type: ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center")) | ((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center"))[];
|
|
20
|
+
default: () => "left";
|
|
21
|
+
};
|
|
22
|
+
labelWidth: {
|
|
23
|
+
type: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
isShowColon: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: () => false;
|
|
29
|
+
};
|
|
30
|
+
data: {
|
|
31
|
+
type: ObjectConstructor;
|
|
32
|
+
default: () => {};
|
|
33
|
+
};
|
|
34
|
+
bordered: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: () => false;
|
|
37
|
+
};
|
|
38
|
+
render: {
|
|
39
|
+
type: ObjectConstructor;
|
|
40
|
+
default: () => any;
|
|
41
|
+
};
|
|
42
|
+
mode: {
|
|
43
|
+
type: ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal")) | ((new (...args: any[]) => "vertical| horizontal") | (() => "vertical| horizontal"))[];
|
|
44
|
+
default: () => "horizontal";
|
|
45
|
+
};
|
|
46
|
+
baseColProps: {
|
|
47
|
+
type: ObjectConstructor;
|
|
48
|
+
default: () => {
|
|
49
|
+
span: number;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { CSSProperties } from 'vue';
|
|
2
|
+
import { ComponentType } from '../../ShyForm';
|
|
3
|
+
export interface DescItem {
|
|
4
|
+
label: string;
|
|
5
|
+
field: string;
|
|
6
|
+
colProps?: {
|
|
7
|
+
span: number;
|
|
8
|
+
};
|
|
9
|
+
groupType?: 'Divider' | 'Group' | 'Custom' | 'Origin';
|
|
10
|
+
component?: ComponentType;
|
|
11
|
+
componentProps: Recordable;
|
|
12
|
+
isCopy?: boolean;
|
|
13
|
+
labelStyle?: CSSProperties;
|
|
14
|
+
contentStyle?: CSSProperties;
|
|
15
|
+
helpMessage?: string;
|
|
16
|
+
ifShow?: Function | boolean;
|
|
17
|
+
show?: boolean | Function;
|
|
18
|
+
}
|
|
19
|
+
export interface DescriptionProps {
|
|
20
|
+
schemas: DescItem[];
|
|
21
|
+
data: {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
};
|
|
24
|
+
summaryPrecision: number;
|
|
25
|
+
summaryTotalFields: string[];
|
|
26
|
+
labelWidth?: number;
|
|
27
|
+
isShowColon?: boolean;
|
|
28
|
+
labelAlign?: 'left' | 'center' | 'right';
|
|
29
|
+
labelStyle?: CSSProperties;
|
|
30
|
+
contentStyle?: CSSProperties;
|
|
31
|
+
bordered?: boolean;
|
|
32
|
+
mode?: 'horizontal' | 'vertical';
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}
|
|
35
|
+
export interface DescInstance {
|
|
36
|
+
setDescProps(descProps: Partial<DescriptionProps>): void;
|
|
37
|
+
}
|
|
38
|
+
export type Register = (descInstance: DescInstance) => void;
|
|
39
|
+
/**
|
|
40
|
+
* @description:
|
|
41
|
+
*/
|
|
42
|
+
export type UseDescReturnType = [Register, DescInstance];
|