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,422 @@
|
|
|
1
|
+
import type { VNodeChild } from 'vue';
|
|
2
|
+
import type { PaginationProps } from './pagination';
|
|
3
|
+
import type { ComponentProps, ComponentType, FormProps } from '../../../ShyForm';
|
|
4
|
+
import type { TableRowSelection as ITableRowSelection } from 'ant-design-vue/lib/table/interface';
|
|
5
|
+
import type { ColumnProps } from 'ant-design-vue/lib/table';
|
|
6
|
+
import { VueNode } from '@shy-plugins/utils';
|
|
7
|
+
import { AdvancedSearchType } from '../../../ShyAdvancedSearch';
|
|
8
|
+
export declare enum RoleEnum {
|
|
9
|
+
SUPER = "super",
|
|
10
|
+
TEST = "test"
|
|
11
|
+
}
|
|
12
|
+
export declare type SortOrder = 'ascend' | 'descend';
|
|
13
|
+
export interface TableCurrentDataSource<T = Recordable> {
|
|
14
|
+
currentDataSource: T[];
|
|
15
|
+
}
|
|
16
|
+
export interface TableRowSelection<T = any> extends ITableRowSelection {
|
|
17
|
+
/**
|
|
18
|
+
* Callback executed when selected rows change
|
|
19
|
+
* @type Function
|
|
20
|
+
*/
|
|
21
|
+
onChange?: (selectedRowKeys: Array<string | number>, selectedRows: T[]) => any;
|
|
22
|
+
/**
|
|
23
|
+
* Callback executed when select/deselect one row
|
|
24
|
+
* @type Function
|
|
25
|
+
*/
|
|
26
|
+
onSelect?: (record: T, selected: boolean, selectedRows: Object[], nativeEvent: Event) => any;
|
|
27
|
+
/**
|
|
28
|
+
* Callback executed when select/deselect all rows
|
|
29
|
+
* @type Function
|
|
30
|
+
*/
|
|
31
|
+
onSelectAll?: (selected: boolean, selectedRows: T[], changeRows: T[]) => any;
|
|
32
|
+
/**
|
|
33
|
+
* Callback executed when row selection is inverted
|
|
34
|
+
* @type Function
|
|
35
|
+
*/
|
|
36
|
+
onSelectInvert?: (selectedRows: Array<string | number>) => any;
|
|
37
|
+
}
|
|
38
|
+
export interface TableCustomRecord<T> {
|
|
39
|
+
record?: T;
|
|
40
|
+
index?: number;
|
|
41
|
+
}
|
|
42
|
+
export interface ExpandedRowRenderRecord<T> extends TableCustomRecord<T> {
|
|
43
|
+
indent?: number;
|
|
44
|
+
expanded?: boolean;
|
|
45
|
+
}
|
|
46
|
+
export interface TableCustomRecord<T = Recordable> {
|
|
47
|
+
record?: T;
|
|
48
|
+
index?: number;
|
|
49
|
+
}
|
|
50
|
+
export interface SorterResult {
|
|
51
|
+
column: ColumnProps;
|
|
52
|
+
order: SortOrder;
|
|
53
|
+
field: string;
|
|
54
|
+
columnKey: string;
|
|
55
|
+
}
|
|
56
|
+
export interface FetchParams {
|
|
57
|
+
searchInfo?: Recordable;
|
|
58
|
+
page?: number;
|
|
59
|
+
sortInfo?: Recordable;
|
|
60
|
+
filterInfo?: Recordable;
|
|
61
|
+
}
|
|
62
|
+
export interface GetColumnsParams {
|
|
63
|
+
ignoreIndex?: boolean;
|
|
64
|
+
ignoreAction?: boolean;
|
|
65
|
+
sort?: boolean;
|
|
66
|
+
}
|
|
67
|
+
export type SizeType = 'default' | 'middle' | 'small' | 'large';
|
|
68
|
+
export interface TableActionType {
|
|
69
|
+
reload: (opt?: FetchParams) => Promise<Recordable<any>[] | undefined>;
|
|
70
|
+
setSelectedRows: (rows: Recordable[]) => void;
|
|
71
|
+
getSelectRows: <T = Recordable>() => T[] | undefined;
|
|
72
|
+
clearSelectedRowKeys: () => void;
|
|
73
|
+
expandAll: () => void;
|
|
74
|
+
expandRows: (keys: string[]) => void;
|
|
75
|
+
collapseAll: () => void;
|
|
76
|
+
scrollTo: (pos: string) => void;
|
|
77
|
+
getSelectRowKeys: () => string[] | undefined;
|
|
78
|
+
deleteSelectRowByKey: (key: string) => void;
|
|
79
|
+
setPagination: (info: Partial<PaginationProps>) => void;
|
|
80
|
+
setTableData: (values: Recordable[]) => void;
|
|
81
|
+
updateTableDataRecord: (rowKey: string, record: Recordable) => Recordable | void;
|
|
82
|
+
deleteTableDataRecord: (rowKey: string | number | string[] | number[]) => void;
|
|
83
|
+
insertTableDataRecord: (record: Recordable, index: number) => Recordable<any> | undefined;
|
|
84
|
+
findTableDataRecord: (rowKey: string | number) => Recordable | void;
|
|
85
|
+
getColumns: (opt?: GetColumnsParams) => ShyColumn[];
|
|
86
|
+
setColumns: (columns: ShyColumn[] | string[]) => void;
|
|
87
|
+
getDataSource: () => Recordable[] | undefined;
|
|
88
|
+
getRawDataSource: () => Recordable;
|
|
89
|
+
setLoading: (loading: boolean) => void;
|
|
90
|
+
setProps: (props: Partial<ShyTableProps>) => void;
|
|
91
|
+
redoHeight: () => void;
|
|
92
|
+
setSelectedRowKeys: (rowKeys: string[]) => void;
|
|
93
|
+
getPaginationRef: () => PaginationProps | boolean | undefined;
|
|
94
|
+
getSize: () => SizeType | undefined;
|
|
95
|
+
getRowSelection: () => TableRowSelection<Recordable> | undefined;
|
|
96
|
+
getCacheColumns: () => ShyColumn[] | undefined;
|
|
97
|
+
emit?: EmitType;
|
|
98
|
+
updateTableData: (index: number, key: string, value: any) => Recordable | undefined;
|
|
99
|
+
setShowPagination: (show: boolean) => Promise<void>;
|
|
100
|
+
getShowPagination: () => boolean | undefined;
|
|
101
|
+
setCacheColumnsByField?: (dataIndex: string | undefined, value: ShyColumn) => void;
|
|
102
|
+
showAll: () => void;
|
|
103
|
+
setEditByRow?: any;
|
|
104
|
+
cancelEditByRow?: any;
|
|
105
|
+
getTableData?: any;
|
|
106
|
+
getTreeExpandRecords?: any;
|
|
107
|
+
setAllTreeExpand?: any;
|
|
108
|
+
clearTreeExpand?: any;
|
|
109
|
+
setTreeExpand?: any;
|
|
110
|
+
setSelectRowByKeys?: any;
|
|
111
|
+
getProps?: any;
|
|
112
|
+
hideColumn?: any;
|
|
113
|
+
showColumn?: any;
|
|
114
|
+
resetColumn?: any;
|
|
115
|
+
refreshColumn?: any;
|
|
116
|
+
addTableData?: any;
|
|
117
|
+
}
|
|
118
|
+
export interface FetchSetting {
|
|
119
|
+
pageField: string;
|
|
120
|
+
sizeField: string;
|
|
121
|
+
listField: string;
|
|
122
|
+
totalField: string;
|
|
123
|
+
}
|
|
124
|
+
export interface TableSetting {
|
|
125
|
+
redo?: boolean;
|
|
126
|
+
size?: boolean;
|
|
127
|
+
setting?: boolean;
|
|
128
|
+
fullScreen?: boolean;
|
|
129
|
+
advancedSearch?: boolean;
|
|
130
|
+
globalSearch?: boolean;
|
|
131
|
+
showMore?: boolean;
|
|
132
|
+
}
|
|
133
|
+
export interface ShyTableProps<T = any> {
|
|
134
|
+
useInfo: boolean;
|
|
135
|
+
infoConfig: InfoConfig;
|
|
136
|
+
formLayout?: 'horizontal' | 'vertical' | 'inline';
|
|
137
|
+
formLabelInInput?: boolean;
|
|
138
|
+
actionColWidth: number;
|
|
139
|
+
summaryPrecision: number;
|
|
140
|
+
isShowTitle: boolean;
|
|
141
|
+
headerAlign: 'left' | 'right';
|
|
142
|
+
isShowHeader: boolean;
|
|
143
|
+
isShowFooter: boolean;
|
|
144
|
+
isShowFooterSettings: boolean;
|
|
145
|
+
isShowPagination: boolean;
|
|
146
|
+
resizable: boolean;
|
|
147
|
+
clickToRowSelect?: boolean;
|
|
148
|
+
isTreeTable?: boolean;
|
|
149
|
+
sortFn?: (sortInfo: SorterResult) => any;
|
|
150
|
+
isSortFetch?: boolean;
|
|
151
|
+
filterFn?: (data: Partial<Recordable<string[]>>) => any;
|
|
152
|
+
inset?: boolean;
|
|
153
|
+
showTableSetting?: boolean;
|
|
154
|
+
tableSetting?: TableSetting;
|
|
155
|
+
striped?: boolean;
|
|
156
|
+
autoCreateKey?: boolean;
|
|
157
|
+
summaryFunc?: (...arg: any) => Recordable[];
|
|
158
|
+
summaryData?: Recordable[];
|
|
159
|
+
summaryTotalFields?: string[];
|
|
160
|
+
showSummary?: boolean;
|
|
161
|
+
showSummaryTotal: boolean;
|
|
162
|
+
canColDrag?: boolean;
|
|
163
|
+
api?: (...arg: any) => Promise<any>;
|
|
164
|
+
beforeFetch?: Fn;
|
|
165
|
+
afterFetch?: Fn;
|
|
166
|
+
handleSearchInfoFn?: Fn;
|
|
167
|
+
fetchSetting?: Partial<FetchSetting>;
|
|
168
|
+
immediate?: boolean;
|
|
169
|
+
emptyDataIsShowTable?: boolean;
|
|
170
|
+
searchInfo?: Recordable;
|
|
171
|
+
defSort?: Recordable;
|
|
172
|
+
useSearchForm?: boolean;
|
|
173
|
+
formConfig?: Partial<FormProps>;
|
|
174
|
+
columns: ShyColumn[];
|
|
175
|
+
showIndexColumn?: boolean;
|
|
176
|
+
indexColumnProps?: ShyColumn;
|
|
177
|
+
actionColumn?: ShyColumn;
|
|
178
|
+
ellipsis?: boolean;
|
|
179
|
+
isCanResizeParent?: boolean;
|
|
180
|
+
canResize?: boolean;
|
|
181
|
+
resizeHeightOffset?: number;
|
|
182
|
+
clearSelectOnPageChange?: boolean;
|
|
183
|
+
rowKey?: string | ((record: Recordable) => string);
|
|
184
|
+
dataSource?: Recordable[];
|
|
185
|
+
titleHelpMessage?: string | string[];
|
|
186
|
+
maxHeight?: number;
|
|
187
|
+
bordered?: boolean;
|
|
188
|
+
pagination?: PaginationProps;
|
|
189
|
+
loading?: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* The column contains children to display
|
|
192
|
+
* @default 'children'
|
|
193
|
+
* @type string | string[]
|
|
194
|
+
*/
|
|
195
|
+
childrenColumnName?: string;
|
|
196
|
+
/**
|
|
197
|
+
* Override default table elements
|
|
198
|
+
* @type object
|
|
199
|
+
*/
|
|
200
|
+
components?: object;
|
|
201
|
+
/**
|
|
202
|
+
* Expand all rows initially
|
|
203
|
+
* @default false
|
|
204
|
+
* @type boolean
|
|
205
|
+
*/
|
|
206
|
+
defaultExpandAllRows?: boolean;
|
|
207
|
+
/**
|
|
208
|
+
* Initial expanded row keys
|
|
209
|
+
* @type string[]
|
|
210
|
+
*/
|
|
211
|
+
defaultExpandedRowKeys?: string[];
|
|
212
|
+
/**
|
|
213
|
+
* Current expanded row keys
|
|
214
|
+
* @type string[]
|
|
215
|
+
*/
|
|
216
|
+
expandedRowKeys?: string[];
|
|
217
|
+
/**
|
|
218
|
+
* Expanded container render for each row
|
|
219
|
+
* @type Function
|
|
220
|
+
*/
|
|
221
|
+
expandedRowRender?: (record?: ExpandedRowRenderRecord<T>) => VNodeChild | JSX.Element;
|
|
222
|
+
/**
|
|
223
|
+
* Customize row expand Icon.
|
|
224
|
+
* @type Function | VNodeChild
|
|
225
|
+
*/
|
|
226
|
+
expandIcon?: Function | VNodeChild | JSX.Element;
|
|
227
|
+
/**
|
|
228
|
+
* Whether to expand row by clicking anywhere in the whole row
|
|
229
|
+
* @default false
|
|
230
|
+
* @type boolean
|
|
231
|
+
*/
|
|
232
|
+
expandRowByClick?: boolean;
|
|
233
|
+
/**
|
|
234
|
+
* The index of `expandIcon` which column will be inserted when `expandIconAsCell` is false. default 0
|
|
235
|
+
*/
|
|
236
|
+
expandIconColumnIndex?: number;
|
|
237
|
+
/**
|
|
238
|
+
* Table footer renderer
|
|
239
|
+
* @type Function | VNodeChild
|
|
240
|
+
*/
|
|
241
|
+
footer?: Function | VNodeChild | JSX.Element;
|
|
242
|
+
/**
|
|
243
|
+
* Indent size in pixels of tree data
|
|
244
|
+
* @default 15
|
|
245
|
+
* @type number
|
|
246
|
+
*/
|
|
247
|
+
indentSize?: number;
|
|
248
|
+
/**
|
|
249
|
+
* i18n text including filter, sort, empty text, etc
|
|
250
|
+
* @default { filterConfirm: 'Ok', filterReset: 'Reset', emptyText: 'No Data' }
|
|
251
|
+
* @type object
|
|
252
|
+
*/
|
|
253
|
+
locale?: object;
|
|
254
|
+
/**
|
|
255
|
+
* Row's className
|
|
256
|
+
* @type Function
|
|
257
|
+
*/
|
|
258
|
+
rowClassName?: (record: TableCustomRecord<T>, index: number) => string;
|
|
259
|
+
/**
|
|
260
|
+
* Row selection config
|
|
261
|
+
* @type object
|
|
262
|
+
*/
|
|
263
|
+
rowSelection?: TableRowSelection;
|
|
264
|
+
/**
|
|
265
|
+
* Set horizontal or vertical scrolling, can also be used to specify the width and height of the scroll area.
|
|
266
|
+
* It is recommended to set a number for x, if you want to set it to true,
|
|
267
|
+
* you need to add style .ant-table td { white-space: nowrap; }.
|
|
268
|
+
* @type object
|
|
269
|
+
*/
|
|
270
|
+
scroll?: {
|
|
271
|
+
x?: number | true;
|
|
272
|
+
y?: number;
|
|
273
|
+
};
|
|
274
|
+
/**
|
|
275
|
+
* Whether to show table header
|
|
276
|
+
* @default true
|
|
277
|
+
* @type boolean
|
|
278
|
+
*/
|
|
279
|
+
showHeader?: boolean;
|
|
280
|
+
/**
|
|
281
|
+
* Size of table
|
|
282
|
+
* @default 'default'
|
|
283
|
+
* @type string
|
|
284
|
+
*/
|
|
285
|
+
size?: SizeType;
|
|
286
|
+
/**
|
|
287
|
+
* Table title renderer
|
|
288
|
+
* @type Function | ScopedSlot
|
|
289
|
+
*/
|
|
290
|
+
title?: VNodeChild | JSX.Element | string | ((data: Recordable) => string);
|
|
291
|
+
/**
|
|
292
|
+
* Set props on per header row
|
|
293
|
+
* @type Function
|
|
294
|
+
*/
|
|
295
|
+
customHeaderRow?: (column: ColumnProps, index: number) => object;
|
|
296
|
+
/**
|
|
297
|
+
* Set props on per row
|
|
298
|
+
* @type Function
|
|
299
|
+
*/
|
|
300
|
+
customRow?: (record: T, index: number) => object;
|
|
301
|
+
/**
|
|
302
|
+
* `table-layout` attribute of table element
|
|
303
|
+
* `fixed` when header/columns are fixed, or using `column.ellipsis`
|
|
304
|
+
*
|
|
305
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout
|
|
306
|
+
* @version 1.5.0
|
|
307
|
+
*/
|
|
308
|
+
tableLayout?: 'auto' | 'fixed' | string;
|
|
309
|
+
/**
|
|
310
|
+
* the render container of dropdowns in table
|
|
311
|
+
* @param triggerNode
|
|
312
|
+
* @version 1.5.0
|
|
313
|
+
*/
|
|
314
|
+
getPopupContainer?: (triggerNode?: HTMLElement) => HTMLElement;
|
|
315
|
+
/**
|
|
316
|
+
* Data can be changed again before rendering.
|
|
317
|
+
* The default configuration of general user empty data.
|
|
318
|
+
* You can configured globally through [ConfigProvider](https://antdv.com/components/config-provider-cn/)
|
|
319
|
+
*
|
|
320
|
+
* @version 1.5.4
|
|
321
|
+
*/
|
|
322
|
+
transformCellText?: Function;
|
|
323
|
+
/**
|
|
324
|
+
* Callback executed before editable cell submit value, not for row-editor
|
|
325
|
+
*
|
|
326
|
+
* The cell will not submit data while callback return false
|
|
327
|
+
*/
|
|
328
|
+
beforeEditSubmit?: (data: {
|
|
329
|
+
record: Recordable;
|
|
330
|
+
index: number;
|
|
331
|
+
key: string | number;
|
|
332
|
+
value: any;
|
|
333
|
+
}) => Promise<any>;
|
|
334
|
+
/**
|
|
335
|
+
* Callback executed when pagination, filters or sorter is changed
|
|
336
|
+
* @param pagination
|
|
337
|
+
* @param filters
|
|
338
|
+
* @param sorter
|
|
339
|
+
* @param currentDataSource
|
|
340
|
+
*/
|
|
341
|
+
onChange?: (pagination: any, filters: any, sorter: any, extra: any) => void;
|
|
342
|
+
/**
|
|
343
|
+
* Callback executed when the row expand icon is clicked
|
|
344
|
+
*
|
|
345
|
+
* @param expanded
|
|
346
|
+
* @param record
|
|
347
|
+
*/
|
|
348
|
+
onExpand?: (expanded: boolean, record: T) => void;
|
|
349
|
+
/**
|
|
350
|
+
* Callback executed when the expanded rows change
|
|
351
|
+
* @param expandedRows
|
|
352
|
+
*/
|
|
353
|
+
onExpandedRowsChange?: (expandedRows: string[] | number[]) => void;
|
|
354
|
+
onColumnsChange?: (data: (ColumnChangeParam | ShyColumn)[]) => void;
|
|
355
|
+
onColumnsReset?: () => void;
|
|
356
|
+
}
|
|
357
|
+
export type AlignType = 'left' | 'center' | 'right';
|
|
358
|
+
export type CellFormat = string | ((text: string, record: Recordable, index: number, tableAction: TableActionType) => string | number) | Map<string | number, any>;
|
|
359
|
+
export type ShyColumn = {
|
|
360
|
+
width?: number | undefined;
|
|
361
|
+
children?: ShyColumn[];
|
|
362
|
+
filters?: {
|
|
363
|
+
text: string;
|
|
364
|
+
value: string;
|
|
365
|
+
children?: unknown[] | (((props: Record<string, unknown>) => unknown[]) & (() => unknown[]) & (() => unknown[]));
|
|
366
|
+
}[];
|
|
367
|
+
flag?: 'INDEX' | 'DEFAULT' | 'CHECKBOX' | 'RADIO' | 'ACTION';
|
|
368
|
+
customTitle?: VueNode;
|
|
369
|
+
slots?: Recordable;
|
|
370
|
+
advancedType?: AdvancedSearchType;
|
|
371
|
+
advancedComponent?: ComponentType;
|
|
372
|
+
advancedComponentProps?: ComponentProps;
|
|
373
|
+
globalShow?: boolean;
|
|
374
|
+
advancedShow?: boolean;
|
|
375
|
+
defaultHidden?: boolean;
|
|
376
|
+
helpMessage?: string | string[];
|
|
377
|
+
format?: CellFormat;
|
|
378
|
+
tag?: boolean;
|
|
379
|
+
options?: Recordable[];
|
|
380
|
+
edit?: boolean;
|
|
381
|
+
editRow?: boolean;
|
|
382
|
+
editable?: boolean;
|
|
383
|
+
editComponent?: ComponentType;
|
|
384
|
+
editComponentProps?: ((opt: {
|
|
385
|
+
text: string | number | boolean | Recordable;
|
|
386
|
+
record: Recordable;
|
|
387
|
+
column: ShyColumn;
|
|
388
|
+
index: number;
|
|
389
|
+
typeAction: TableActionType;
|
|
390
|
+
}) => Recordable) | Recordable;
|
|
391
|
+
editRule?: boolean | ((text: string, record: Recordable) => Promise<string>);
|
|
392
|
+
editValueMap?: (value: any) => string;
|
|
393
|
+
onEditRow?: () => void;
|
|
394
|
+
auth?: RoleEnum | RoleEnum[] | string | string[];
|
|
395
|
+
ifShow?: boolean | ((column: ShyColumn) => boolean);
|
|
396
|
+
editRender?: (opt: {
|
|
397
|
+
text: string | number | boolean | Recordable;
|
|
398
|
+
record: Recordable;
|
|
399
|
+
column: ShyColumn;
|
|
400
|
+
index: number;
|
|
401
|
+
}) => VNodeChild | JSX.Element;
|
|
402
|
+
editDynamicDisabled?: boolean | ((record: Recordable) => boolean);
|
|
403
|
+
} & ColumnProps<Recordable>;
|
|
404
|
+
export type ColumnChangeParam = {
|
|
405
|
+
title: string;
|
|
406
|
+
dataIndex: string;
|
|
407
|
+
width?: number | undefined;
|
|
408
|
+
fixed?: boolean | 'left' | 'right';
|
|
409
|
+
defaultHidden?: boolean;
|
|
410
|
+
};
|
|
411
|
+
export interface InnerHandlers {
|
|
412
|
+
onColumnsChange: (data: ColumnChangeParam[]) => void;
|
|
413
|
+
onColumnsReset: () => void;
|
|
414
|
+
}
|
|
415
|
+
export type InfoSchema = {
|
|
416
|
+
label: string;
|
|
417
|
+
field: string;
|
|
418
|
+
};
|
|
419
|
+
export type InfoConfig = {
|
|
420
|
+
schemas?: InfoSchema[];
|
|
421
|
+
infoData?: Recordable;
|
|
422
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ButtonProps } from 'ant-design-vue/es/button/buttonTypes';
|
|
2
|
+
import { TooltipProps } from 'ant-design-vue/es/tooltip/Tooltip';
|
|
3
|
+
import { RoleEnum } from './table';
|
|
4
|
+
export interface ActionItem extends Omit<ButtonProps, 'type'> {
|
|
5
|
+
onClick?: Fn;
|
|
6
|
+
label?: string;
|
|
7
|
+
color?: 'success' | 'error' | 'warning';
|
|
8
|
+
icon?: string;
|
|
9
|
+
popConfirm?: PopConfirm;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
divider?: boolean;
|
|
12
|
+
auth?: RoleEnum | RoleEnum[] | string | string[];
|
|
13
|
+
ifShow?: boolean | ((action: ActionItem) => boolean);
|
|
14
|
+
tooltip?: string | TooltipProps;
|
|
15
|
+
type?: 'primary' | 'ghost' | 'dashed' | 'link' | 'text' | 'default' | 'danger' | 'waring' | 'success' | 'message';
|
|
16
|
+
}
|
|
17
|
+
interface PopConfirm {
|
|
18
|
+
title: string;
|
|
19
|
+
okText?: string;
|
|
20
|
+
cancelText?: string;
|
|
21
|
+
confirm: Fn;
|
|
22
|
+
cancel?: Fn;
|
|
23
|
+
icon?: string;
|
|
24
|
+
placement?: 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom' | 'bottomLeft' | 'bottomRight';
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
declare const ShyTag: import("vue").DefineComponent<{
|
|
2
|
+
options: {
|
|
3
|
+
type: ((new (...args: any[]) => Recordable<any>[]) | (() => Recordable<any>[])) | ((new (...args: any[]) => Recordable<any>[]) | (() => Recordable<any>[]))[];
|
|
4
|
+
default: () => any[];
|
|
5
|
+
};
|
|
6
|
+
value: {
|
|
7
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
8
|
+
};
|
|
9
|
+
isTag: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
};
|
|
12
|
+
tagMode: {
|
|
13
|
+
type: ((new (...args: any[]) => "text" | "tag" | "point") | (() => "text" | "tag" | "point")) | ((new (...args: any[]) => "text" | "tag" | "point") | (() => "text" | "tag" | "point"))[];
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
fieldNames: {
|
|
17
|
+
type: ((new (...args: any[]) => Partial<{
|
|
18
|
+
label: string;
|
|
19
|
+
value: string;
|
|
20
|
+
color: string;
|
|
21
|
+
css: string;
|
|
22
|
+
}>) | (() => Partial<{
|
|
23
|
+
label: string;
|
|
24
|
+
value: string;
|
|
25
|
+
color: string;
|
|
26
|
+
css: string;
|
|
27
|
+
}>)) | ((new (...args: any[]) => Partial<{
|
|
28
|
+
label: string;
|
|
29
|
+
value: string;
|
|
30
|
+
color: string;
|
|
31
|
+
css: string;
|
|
32
|
+
}>) | (() => Partial<{
|
|
33
|
+
label: string;
|
|
34
|
+
value: string;
|
|
35
|
+
color: string;
|
|
36
|
+
css: string;
|
|
37
|
+
}>))[];
|
|
38
|
+
default: () => {};
|
|
39
|
+
};
|
|
40
|
+
}, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
+
options: {
|
|
42
|
+
type: ((new (...args: any[]) => Recordable<any>[]) | (() => Recordable<any>[])) | ((new (...args: any[]) => Recordable<any>[]) | (() => Recordable<any>[]))[];
|
|
43
|
+
default: () => any[];
|
|
44
|
+
};
|
|
45
|
+
value: {
|
|
46
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
47
|
+
};
|
|
48
|
+
isTag: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
};
|
|
51
|
+
tagMode: {
|
|
52
|
+
type: ((new (...args: any[]) => "text" | "tag" | "point") | (() => "text" | "tag" | "point")) | ((new (...args: any[]) => "text" | "tag" | "point") | (() => "text" | "tag" | "point"))[];
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
fieldNames: {
|
|
56
|
+
type: ((new (...args: any[]) => Partial<{
|
|
57
|
+
label: string;
|
|
58
|
+
value: string;
|
|
59
|
+
color: string;
|
|
60
|
+
css: string;
|
|
61
|
+
}>) | (() => Partial<{
|
|
62
|
+
label: string;
|
|
63
|
+
value: string;
|
|
64
|
+
color: string;
|
|
65
|
+
css: string;
|
|
66
|
+
}>)) | ((new (...args: any[]) => Partial<{
|
|
67
|
+
label: string;
|
|
68
|
+
value: string;
|
|
69
|
+
color: string;
|
|
70
|
+
css: string;
|
|
71
|
+
}>) | (() => Partial<{
|
|
72
|
+
label: string;
|
|
73
|
+
value: string;
|
|
74
|
+
color: string;
|
|
75
|
+
css: string;
|
|
76
|
+
}>))[];
|
|
77
|
+
default: () => {};
|
|
78
|
+
};
|
|
79
|
+
}>>, {
|
|
80
|
+
options: Recordable<any>[];
|
|
81
|
+
fieldNames: {};
|
|
82
|
+
isTag: boolean;
|
|
83
|
+
tagMode: "text" | "tag" | "point";
|
|
84
|
+
}, {}>;
|
|
85
|
+
export { ShyTag };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const shyTagBasicProps: {
|
|
2
|
+
options: {
|
|
3
|
+
type: ((new (...args: any[]) => Recordable<any>[]) | (() => Recordable<any>[])) | ((new (...args: any[]) => Recordable<any>[]) | (() => Recordable<any>[]))[];
|
|
4
|
+
default: () => any[];
|
|
5
|
+
};
|
|
6
|
+
value: {
|
|
7
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
8
|
+
};
|
|
9
|
+
isTag: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
};
|
|
12
|
+
tagMode: {
|
|
13
|
+
type: ((new (...args: any[]) => "text" | "tag" | "point") | (() => "text" | "tag" | "point")) | ((new (...args: any[]) => "text" | "tag" | "point") | (() => "text" | "tag" | "point"))[];
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
fieldNames: {
|
|
17
|
+
type: ((new (...args: any[]) => Partial<{
|
|
18
|
+
label: string;
|
|
19
|
+
value: string;
|
|
20
|
+
color: string;
|
|
21
|
+
css: string;
|
|
22
|
+
}>) | (() => Partial<{
|
|
23
|
+
label: string;
|
|
24
|
+
value: string;
|
|
25
|
+
color: string;
|
|
26
|
+
css: string;
|
|
27
|
+
}>)) | ((new (...args: any[]) => Partial<{
|
|
28
|
+
label: string;
|
|
29
|
+
value: string;
|
|
30
|
+
color: string;
|
|
31
|
+
css: string;
|
|
32
|
+
}>) | (() => Partial<{
|
|
33
|
+
label: string;
|
|
34
|
+
value: string;
|
|
35
|
+
color: string;
|
|
36
|
+
css: string;
|
|
37
|
+
}>))[];
|
|
38
|
+
default: () => {};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
value: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
};
|
|
5
|
+
showInput: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
disabled: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
};
|
|
12
|
+
}, {
|
|
13
|
+
getPasswordStrength: import("vue").ComputedRef<-1 | import("@zxcvbn-ts/core/dist/types").Score>;
|
|
14
|
+
handleChange: (e: ChangeEvent) => void;
|
|
15
|
+
prefixCls: string;
|
|
16
|
+
innerValueRef: import("vue").Ref<string>;
|
|
17
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "score-change")[], "change" | "score-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
value: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
};
|
|
21
|
+
showInput: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
};
|
|
28
|
+
}>> & {
|
|
29
|
+
onChange?: (...args: any[]) => any;
|
|
30
|
+
"onScore-change"?: (...args: any[]) => any;
|
|
31
|
+
}, {
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
showInput: boolean;
|
|
34
|
+
}, {}>;
|
|
35
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
column: {
|
|
3
|
+
type: any;
|
|
4
|
+
required: false;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
emits: (event: "handleSortChange", ...args: any[]) => void;
|
|
8
|
+
getSwitchShowText: (column: any, row: any) => any;
|
|
9
|
+
handleSortChange: (field: any, type: any) => void;
|
|
10
|
+
filterColumn: (column: any) => any;
|
|
11
|
+
readonly VxeColumn: import("vxe-table").VXEComponent<import("vxe-table").VxeColumnProps<any>, import("vxe-table").VxeColumnEventProps, import("vxe-table").VxeColumnSlots<any>>;
|
|
12
|
+
readonly VxeColgroup: import("vxe-table").VXEComponent<import("vxe-table").VxeColgroupProps, import("vxe-table").VxeColgroupEventProps, import("vxe-table").VxeColgroupSlots<any>>;
|
|
13
|
+
readonly CellComponent: import("vue").FunctionalComponent<{}, {}, any, {}>;
|
|
14
|
+
IconSort: import("vue").DefineComponent<{}, {
|
|
15
|
+
basStyle: {
|
|
16
|
+
display: string;
|
|
17
|
+
color: string;
|
|
18
|
+
fontSize: string;
|
|
19
|
+
};
|
|
20
|
+
emits: (event: "change", ...args: any[]) => void;
|
|
21
|
+
curPicker: import("vue").Ref<number>;
|
|
22
|
+
handleUpClick: () => void;
|
|
23
|
+
handleDownClick: () => void;
|
|
24
|
+
getStyleUp: import("vue").ComputedRef<{
|
|
25
|
+
transform: string;
|
|
26
|
+
color: string;
|
|
27
|
+
display: string;
|
|
28
|
+
fontSize: string;
|
|
29
|
+
}>;
|
|
30
|
+
getStyleDown: import("vue").ComputedRef<{
|
|
31
|
+
transform: string;
|
|
32
|
+
color: string;
|
|
33
|
+
display: string;
|
|
34
|
+
fontSize: string;
|
|
35
|
+
}>;
|
|
36
|
+
readonly CaretUpOutlined: import("@ant-design/icons-vue/lib/icons/CaretUpOutlined").CaretUpOutlinedIconType;
|
|
37
|
+
readonly CaretDownOutlined: import("@ant-design/icons-vue/lib/icons/CaretDownOutlined").CaretDownOutlinedIconType;
|
|
38
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
39
|
+
onChange?: (...args: any[]) => any;
|
|
40
|
+
}, {}, {}>;
|
|
41
|
+
readonly BasicHelp: any;
|
|
42
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "handleSortChange"[], "handleSortChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
column: {
|
|
44
|
+
type: any;
|
|
45
|
+
required: false;
|
|
46
|
+
};
|
|
47
|
+
}>> & {
|
|
48
|
+
onHandleSortChange?: (...args: any[]) => any;
|
|
49
|
+
}, {
|
|
50
|
+
column: any;
|
|
51
|
+
}, {}>;
|
|
52
|
+
export default _sfc_main;
|