3h1-ui 3.0.0-next.23 → 3.0.0-next.231
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 +46574 -34994
- 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 +249 -0
- package/es/ui/src/Descriptions/src/Descriptions.d.ts +11 -0
- package/es/ui/src/Descriptions/src/ShyDescriptions.d.ts +111 -0
- package/es/ui/src/Descriptions/src/props.d.ts +52 -0
- package/es/ui/src/Descriptions/src/typing.d.ts +31 -0
- package/es/ui/src/Descriptions/src/useShyDescriptions.d.ts +2 -0
- package/es/ui/src/Drawer/index.d.ts +4 -0
- package/es/ui/src/Drawer/src/BasicDrawer.vue.d.ts +170 -0
- package/es/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +95 -0
- package/es/ui/src/Drawer/src/components/DrawerHeader.vue.d.ts +30 -0
- package/es/ui/src/Drawer/src/props.d.ts +115 -0
- package/es/ui/src/Drawer/src/typing.d.ts +177 -0
- package/es/ui/src/Drawer/src/useDrawer.d.ts +6 -0
- package/es/ui/src/Dropdown/index.d.ts +3 -0
- package/es/ui/src/Dropdown/src/typing.d.ts +9 -0
- package/es/ui/src/Icon/data/icons.data.tabler.d.ts +2 -0
- package/es/ui/src/Icon/index.d.ts +5 -0
- package/es/ui/src/Icon/src/Icon.vue.d.ts +51 -0
- package/es/ui/src/Icon/src/SvgIcon.vue.d.ts +45 -0
- package/es/ui/src/Label/index.d.ts +2 -0
- package/es/ui/src/Label/src/BasicLabel.vue.d.ts +32 -0
- package/es/ui/src/Label/src/props.d.ts +14 -0
- package/es/ui/src/Loading/index.d.ts +4 -0
- package/es/ui/src/Loading/src/Loading.vue.d.ts +57 -0
- package/es/ui/src/Loading/src/createLoading.d.ts +13 -0
- package/es/ui/src/Loading/src/typing.d.ts +9 -0
- package/es/ui/src/Loading/src/useLoading.d.ts +11 -0
- package/es/ui/src/Modal/index.d.ts +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 +271 -0
- package/es/ui/src/ShyForm/src/components/Tinymce.vue.d.ts +19 -0
- package/es/ui/src/ShyForm/src/helper.d.ts +14 -0
- package/es/ui/src/ShyForm/src/hooks/useAutoFocus.d.ts +10 -0
- package/es/ui/src/ShyForm/src/hooks/useComponentRegister.d.ts +3 -0
- package/es/ui/src/ShyForm/src/hooks/useFormContext.d.ts +10 -0
- package/es/ui/src/ShyForm/src/hooks/useFormEvents.d.ts +28 -0
- package/es/ui/src/ShyForm/src/hooks/useFormValues.d.ts +13 -0
- package/es/ui/src/ShyForm/src/hooks/useLabelWidth.d.ts +310 -0
- package/es/ui/src/ShyForm/src/hooks/useShyForm.d.ts +10 -0
- package/es/ui/src/ShyForm/src/props.d.ts +430 -0
- package/es/ui/src/ShyForm/src/types/form.d.ts +127 -0
- package/es/ui/src/ShyForm/src/types/formItem.d.ts +82 -0
- package/es/ui/src/ShyForm/src/types/hooks.d.ts +6 -0
- package/es/ui/src/ShyForm/src/types/index.d.ts +90 -0
- package/es/ui/src/ShyLayoutContainer/index.d.ts +2 -0
- package/es/ui/src/ShyLayoutContainer/src/ShyLayoutContainer.d.ts +87 -0
- package/es/ui/src/ShyLayoutContainer/src/props.d.ts +62 -0
- package/es/ui/src/ShyLayoutContainer/src/types.d.ts +2 -0
- package/es/ui/src/ShyTable/index.d.ts +10 -0
- package/es/ui/src/ShyTable/src/ShyTable.d.ts +1200 -0
- package/es/ui/src/ShyTable/src/componentMap.d.ts +6 -0
- package/es/ui/src/ShyTable/src/components/EditTableHeaderIcon.vue.d.ts +14 -0
- package/es/ui/src/ShyTable/src/components/HeaderCell.vue.d.ts +95 -0
- package/es/ui/src/ShyTable/src/components/ShyInfo.d.ts +24 -0
- package/es/ui/src/ShyTable/src/components/ShyTableAction.d.ts +109 -0
- package/es/ui/src/ShyTable/src/components/ShyTableFooter.d.ts +57 -0
- package/es/ui/src/ShyTable/src/components/ShyTableHeader.d.ts +63 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowMore.d.ts +2 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowSearch.d.ts +2 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableAdvancedSearch.d.ts +5 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableColumn.d.ts +5 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableFullScreen.d.ts +2 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableGlobalSearch.d.ts +5 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableSize.d.ts +10 -0
- package/es/ui/src/ShyTable/src/components/ShyTableSettings/index.d.ts +7 -0
- package/es/ui/src/ShyTable/src/components/TableImg.vue.d.ts +93 -0
- package/es/ui/src/ShyTable/src/components/editable/CellComponent.d.ts +10 -0
- package/es/ui/src/ShyTable/src/components/editable/EditableCell.d.ts +80 -0
- package/es/ui/src/ShyTable/src/components/editable/helper.d.ts +5 -0
- package/es/ui/src/ShyTable/src/components/editable/index.d.ts +23 -0
- package/es/ui/src/ShyTable/src/const.d.ts +25 -0
- package/es/ui/src/ShyTable/src/hooks/useColumns.d.ts +14 -0
- package/es/ui/src/ShyTable/src/hooks/useCustomRow.d.ts +19 -0
- package/es/ui/src/ShyTable/src/hooks/useDataSource.d.ts +29 -0
- package/es/ui/src/ShyTable/src/hooks/useLoading.d.ts +6 -0
- package/es/ui/src/ShyTable/src/hooks/usePagination.d.ts +10 -0
- package/es/ui/src/ShyTable/src/hooks/useRowSelection.d.ts +12 -0
- package/es/ui/src/ShyTable/src/hooks/useScrollTo.d.ts +4 -0
- package/es/ui/src/ShyTable/src/hooks/useShyTable.d.ts +16 -0
- package/es/ui/src/ShyTable/src/hooks/useShyTableContext.d.ts +16 -0
- package/es/ui/src/ShyTable/src/hooks/useShyTableForm.d.ts +9 -0
- package/es/ui/src/ShyTable/src/hooks/useTableExpand.d.ts +14 -0
- package/es/ui/src/ShyTable/src/hooks/useTableHeader.d.ts +5 -0
- package/es/ui/src/ShyTable/src/hooks/useTableScroll.d.ts +11 -0
- package/es/ui/src/ShyTable/src/hooks/useTableStyle.d.ts +5 -0
- package/es/ui/src/ShyTable/src/props.d.ts +577 -0
- package/es/ui/src/ShyTable/src/types/pagination.d.ts +93 -0
- package/es/ui/src/ShyTable/src/types/table.d.ts +422 -0
- package/es/ui/src/ShyTable/src/types/tableAction.d.ts +26 -0
- package/es/ui/src/ShyTag/index.d.ts +3 -0
- package/es/ui/src/ShyTag/src/ShyTag.d.ts +100 -0
- package/es/ui/src/ShyTag/src/props.d.ts +47 -0
- package/es/ui/src/StrengthMeter/index.d.ts +2 -0
- package/es/ui/src/StrengthMeter/src/StrengthMeter.vue.d.ts +35 -0
- package/es/ui/src/TablePlus/TableColGroup.vue.d.ts +52 -0
- package/es/ui/src/TablePlus/TablePlus.vue.d.ts +1977 -0
- package/es/ui/src/TablePlus/componentMap.d.ts +6 -0
- package/es/ui/src/TablePlus/components/ButtonGroupEdit.vue.d.ts +105 -0
- package/es/ui/src/TablePlus/components/Icon/Sort.vue.d.ts +28 -0
- package/es/ui/src/TablePlus/components/editable/CellComponent.d.ts +10 -0
- package/es/ui/src/TablePlus/hooks/index.d.ts +2 -0
- package/es/ui/src/TablePlus/hooks/useColumns.d.ts +8 -0
- package/es/ui/src/TablePlus/hooks/usePagination.d.ts +9 -0
- package/es/ui/src/TablePlus/hooks/useSort.d.ts +4 -0
- package/es/ui/src/TablePlus/hooks/useTableData.d.ts +11 -0
- package/es/ui/src/TablePlus/hooks/useTablePlus.d.ts +1 -0
- package/es/ui/src/TablePlus/index.d.ts +3 -0
- package/es/ui/src/TablePlus/props.d.ts +6 -0
- package/es/ui/src/TablePlus/types/componentType.d.ts +1 -0
- package/es/ui/src/Transition/index.d.ts +368 -0
- package/es/ui/src/Transition/src/CollapseTransition.vue.d.ts +11 -0
- package/es/ui/src/Transition/src/CreateTransition.d.ts +47 -0
- package/es/ui/src/Transition/src/ExpandTransition.d.ts +23 -0
- package/es/ui/src/Tree/index.d.ts +12 -0
- package/es/ui/src/Tree/src/BasicTree.d.ts +97 -0
- package/es/ui/src/Tree/src/TreeIcon.d.ts +2 -0
- package/es/ui/src/Tree/src/hooks/useTree.d.ts +14 -0
- package/es/ui/src/Tree/src/types/tree.d.ts +123 -0
- package/es/ui/src/Tree/style/index.d.ts +0 -0
- package/es/ui/src/Upload/src/components/FileList.d.ts +254 -0
- package/es/ui/src/Upload/src/components/UploadPreviewModal.vue.d.ts +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 +46739 -35159
- 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 +249 -0
- package/lib/ui/src/Descriptions/src/Descriptions.d.ts +11 -0
- package/lib/ui/src/Descriptions/src/ShyDescriptions.d.ts +111 -0
- package/lib/ui/src/Descriptions/src/props.d.ts +52 -0
- package/lib/ui/src/Descriptions/src/typing.d.ts +31 -0
- package/lib/ui/src/Descriptions/src/useShyDescriptions.d.ts +2 -0
- package/lib/ui/src/Drawer/index.d.ts +4 -0
- package/lib/ui/src/Drawer/src/BasicDrawer.vue.d.ts +170 -0
- package/lib/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +95 -0
- package/lib/ui/src/Drawer/src/components/DrawerHeader.vue.d.ts +30 -0
- package/lib/ui/src/Drawer/src/props.d.ts +115 -0
- package/lib/ui/src/Drawer/src/typing.d.ts +177 -0
- package/lib/ui/src/Drawer/src/useDrawer.d.ts +6 -0
- package/lib/ui/src/Dropdown/index.d.ts +3 -0
- package/lib/ui/src/Dropdown/src/typing.d.ts +9 -0
- package/lib/ui/src/Icon/data/icons.data.tabler.d.ts +2 -0
- package/lib/ui/src/Icon/index.d.ts +5 -0
- package/lib/ui/src/Icon/src/Icon.vue.d.ts +51 -0
- package/lib/ui/src/Icon/src/SvgIcon.vue.d.ts +45 -0
- package/lib/ui/src/Label/index.d.ts +2 -0
- package/lib/ui/src/Label/src/BasicLabel.vue.d.ts +32 -0
- package/lib/ui/src/Label/src/props.d.ts +14 -0
- package/lib/ui/src/Loading/index.d.ts +4 -0
- package/lib/ui/src/Loading/src/Loading.vue.d.ts +57 -0
- package/lib/ui/src/Loading/src/createLoading.d.ts +13 -0
- package/lib/ui/src/Loading/src/typing.d.ts +9 -0
- package/lib/ui/src/Loading/src/useLoading.d.ts +11 -0
- package/lib/ui/src/Modal/index.d.ts +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 +271 -0
- package/lib/ui/src/ShyForm/src/components/Tinymce.vue.d.ts +19 -0
- package/lib/ui/src/ShyForm/src/helper.d.ts +14 -0
- package/lib/ui/src/ShyForm/src/hooks/useAutoFocus.d.ts +10 -0
- package/lib/ui/src/ShyForm/src/hooks/useComponentRegister.d.ts +3 -0
- package/lib/ui/src/ShyForm/src/hooks/useFormContext.d.ts +10 -0
- package/lib/ui/src/ShyForm/src/hooks/useFormEvents.d.ts +28 -0
- package/lib/ui/src/ShyForm/src/hooks/useFormValues.d.ts +13 -0
- package/lib/ui/src/ShyForm/src/hooks/useLabelWidth.d.ts +310 -0
- package/lib/ui/src/ShyForm/src/hooks/useShyForm.d.ts +10 -0
- package/lib/ui/src/ShyForm/src/props.d.ts +430 -0
- package/lib/ui/src/ShyForm/src/types/form.d.ts +127 -0
- package/lib/ui/src/ShyForm/src/types/formItem.d.ts +82 -0
- package/lib/ui/src/ShyForm/src/types/hooks.d.ts +6 -0
- package/lib/ui/src/ShyForm/src/types/index.d.ts +90 -0
- package/lib/ui/src/ShyLayoutContainer/index.d.ts +2 -0
- package/lib/ui/src/ShyLayoutContainer/src/ShyLayoutContainer.d.ts +87 -0
- package/lib/ui/src/ShyLayoutContainer/src/props.d.ts +62 -0
- package/lib/ui/src/ShyLayoutContainer/src/types.d.ts +2 -0
- package/lib/ui/src/ShyTable/index.d.ts +10 -0
- package/lib/ui/src/ShyTable/src/ShyTable.d.ts +1200 -0
- package/lib/ui/src/ShyTable/src/componentMap.d.ts +6 -0
- package/lib/ui/src/ShyTable/src/components/EditTableHeaderIcon.vue.d.ts +14 -0
- package/lib/ui/src/ShyTable/src/components/HeaderCell.vue.d.ts +95 -0
- package/lib/ui/src/ShyTable/src/components/ShyInfo.d.ts +24 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableAction.d.ts +109 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableFooter.d.ts +57 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableHeader.d.ts +63 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowMore.d.ts +2 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowSearch.d.ts +2 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableAdvancedSearch.d.ts +5 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableColumn.d.ts +5 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableFullScreen.d.ts +2 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableGlobalSearch.d.ts +5 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableSize.d.ts +10 -0
- package/lib/ui/src/ShyTable/src/components/ShyTableSettings/index.d.ts +7 -0
- package/lib/ui/src/ShyTable/src/components/TableImg.vue.d.ts +93 -0
- package/lib/ui/src/ShyTable/src/components/editable/CellComponent.d.ts +10 -0
- package/lib/ui/src/ShyTable/src/components/editable/EditableCell.d.ts +80 -0
- package/lib/ui/src/ShyTable/src/components/editable/helper.d.ts +5 -0
- package/lib/ui/src/ShyTable/src/components/editable/index.d.ts +23 -0
- package/lib/ui/src/ShyTable/src/const.d.ts +25 -0
- package/lib/ui/src/ShyTable/src/hooks/useColumns.d.ts +14 -0
- package/lib/ui/src/ShyTable/src/hooks/useCustomRow.d.ts +19 -0
- package/lib/ui/src/ShyTable/src/hooks/useDataSource.d.ts +29 -0
- package/lib/ui/src/ShyTable/src/hooks/useLoading.d.ts +6 -0
- package/lib/ui/src/ShyTable/src/hooks/usePagination.d.ts +10 -0
- package/lib/ui/src/ShyTable/src/hooks/useRowSelection.d.ts +12 -0
- package/lib/ui/src/ShyTable/src/hooks/useScrollTo.d.ts +4 -0
- package/lib/ui/src/ShyTable/src/hooks/useShyTable.d.ts +16 -0
- package/lib/ui/src/ShyTable/src/hooks/useShyTableContext.d.ts +16 -0
- package/lib/ui/src/ShyTable/src/hooks/useShyTableForm.d.ts +9 -0
- package/lib/ui/src/ShyTable/src/hooks/useTableExpand.d.ts +14 -0
- package/lib/ui/src/ShyTable/src/hooks/useTableHeader.d.ts +5 -0
- package/lib/ui/src/ShyTable/src/hooks/useTableScroll.d.ts +11 -0
- package/lib/ui/src/ShyTable/src/hooks/useTableStyle.d.ts +5 -0
- package/lib/ui/src/ShyTable/src/props.d.ts +577 -0
- package/lib/ui/src/ShyTable/src/types/pagination.d.ts +93 -0
- package/lib/ui/src/ShyTable/src/types/table.d.ts +422 -0
- package/lib/ui/src/ShyTable/src/types/tableAction.d.ts +26 -0
- package/lib/ui/src/ShyTag/index.d.ts +3 -0
- package/lib/ui/src/ShyTag/src/ShyTag.d.ts +100 -0
- package/lib/ui/src/ShyTag/src/props.d.ts +47 -0
- package/lib/ui/src/StrengthMeter/index.d.ts +2 -0
- package/lib/ui/src/StrengthMeter/src/StrengthMeter.vue.d.ts +35 -0
- package/lib/ui/src/TablePlus/TableColGroup.vue.d.ts +52 -0
- package/lib/ui/src/TablePlus/TablePlus.vue.d.ts +1977 -0
- package/lib/ui/src/TablePlus/componentMap.d.ts +6 -0
- package/lib/ui/src/TablePlus/components/ButtonGroupEdit.vue.d.ts +105 -0
- package/lib/ui/src/TablePlus/components/Icon/Sort.vue.d.ts +28 -0
- package/lib/ui/src/TablePlus/components/editable/CellComponent.d.ts +10 -0
- package/lib/ui/src/TablePlus/hooks/index.d.ts +2 -0
- package/lib/ui/src/TablePlus/hooks/useColumns.d.ts +8 -0
- package/lib/ui/src/TablePlus/hooks/usePagination.d.ts +9 -0
- package/lib/ui/src/TablePlus/hooks/useSort.d.ts +4 -0
- package/lib/ui/src/TablePlus/hooks/useTableData.d.ts +11 -0
- package/lib/ui/src/TablePlus/hooks/useTablePlus.d.ts +1 -0
- package/lib/ui/src/TablePlus/index.d.ts +3 -0
- package/lib/ui/src/TablePlus/props.d.ts +6 -0
- package/lib/ui/src/TablePlus/types/componentType.d.ts +1 -0
- package/lib/ui/src/Transition/index.d.ts +368 -0
- package/lib/ui/src/Transition/src/CollapseTransition.vue.d.ts +11 -0
- package/lib/ui/src/Transition/src/CreateTransition.d.ts +47 -0
- package/lib/ui/src/Transition/src/ExpandTransition.d.ts +23 -0
- package/lib/ui/src/Tree/index.d.ts +12 -0
- package/lib/ui/src/Tree/src/BasicTree.d.ts +97 -0
- package/lib/ui/src/Tree/src/TreeIcon.d.ts +2 -0
- package/lib/ui/src/Tree/src/hooks/useTree.d.ts +14 -0
- package/lib/ui/src/Tree/src/types/tree.d.ts +123 -0
- package/lib/ui/src/Tree/style/index.d.ts +0 -0
- package/lib/ui/src/Upload/src/components/FileList.d.ts +254 -0
- package/lib/ui/src/Upload/src/components/UploadPreviewModal.vue.d.ts +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 +6 -5
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { HsvaColor } from '../../types';
|
|
3
|
+
export interface AlphaProps {
|
|
4
|
+
hsva: HsvaColor;
|
|
5
|
+
onChange: (newAlpha: {
|
|
6
|
+
a: number;
|
|
7
|
+
}) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const Alpha: import("vue").DefineComponent<{
|
|
10
|
+
hsva: {
|
|
11
|
+
type: PropType<HsvaColor>;
|
|
12
|
+
};
|
|
13
|
+
onChange: {
|
|
14
|
+
type: PropType<(newAlpha: {
|
|
15
|
+
a: number;
|
|
16
|
+
}) => void>;
|
|
17
|
+
};
|
|
18
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
hsva: {
|
|
20
|
+
type: PropType<HsvaColor>;
|
|
21
|
+
};
|
|
22
|
+
onChange: {
|
|
23
|
+
type: PropType<(newAlpha: {
|
|
24
|
+
a: number;
|
|
25
|
+
}) => void>;
|
|
26
|
+
};
|
|
27
|
+
}>>, {}, {}>;
|
package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/AlphaColorPicker.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { ColorModel, ColorPickerBaseProps, AnyColor } from '../../types';
|
|
3
|
+
export interface AlphaColorPickerProps<T extends AnyColor> extends Partial<ColorPickerBaseProps<T>> {
|
|
4
|
+
colorModel: ColorModel<T>;
|
|
5
|
+
}
|
|
6
|
+
export declare const AlphaColorPicker: import("vue").DefineComponent<{
|
|
7
|
+
colorModel: {
|
|
8
|
+
type: PropType<ColorModel<AnyColor>>;
|
|
9
|
+
};
|
|
10
|
+
color: {
|
|
11
|
+
type: PropType<AnyColor>;
|
|
12
|
+
};
|
|
13
|
+
onChange: {
|
|
14
|
+
type: PropType<(newColor: AnyColor) => void>;
|
|
15
|
+
};
|
|
16
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
colorModel: {
|
|
18
|
+
type: PropType<ColorModel<AnyColor>>;
|
|
19
|
+
};
|
|
20
|
+
color: {
|
|
21
|
+
type: PropType<AnyColor>;
|
|
22
|
+
};
|
|
23
|
+
onChange: {
|
|
24
|
+
type: PropType<(newColor: AnyColor) => void>;
|
|
25
|
+
};
|
|
26
|
+
}>>, {}, {}>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { ColorModel, ColorPickerBaseProps, AnyColor } from '../../types';
|
|
3
|
+
export interface ColorPickerProps<T extends AnyColor> extends Partial<ColorPickerBaseProps<T>> {
|
|
4
|
+
colorModel: ColorModel<T>;
|
|
5
|
+
}
|
|
6
|
+
export declare const ColorPicker: import("vue").DefineComponent<{
|
|
7
|
+
colorModel: {
|
|
8
|
+
type: PropType<ColorModel<AnyColor>>;
|
|
9
|
+
};
|
|
10
|
+
color: {
|
|
11
|
+
type: PropType<AnyColor>;
|
|
12
|
+
};
|
|
13
|
+
onChange: {
|
|
14
|
+
type: PropType<(newColor: AnyColor) => void>;
|
|
15
|
+
};
|
|
16
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
colorModel: {
|
|
18
|
+
type: PropType<ColorModel<AnyColor>>;
|
|
19
|
+
};
|
|
20
|
+
color: {
|
|
21
|
+
type: PropType<AnyColor>;
|
|
22
|
+
};
|
|
23
|
+
onChange: {
|
|
24
|
+
type: PropType<(newColor: AnyColor) => void>;
|
|
25
|
+
};
|
|
26
|
+
}>>, {}, {}>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
export interface Props {
|
|
3
|
+
className?: string;
|
|
4
|
+
hue: number;
|
|
5
|
+
onChange: (newHue: {
|
|
6
|
+
h: number;
|
|
7
|
+
}) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const Hue: import("vue").DefineComponent<{
|
|
10
|
+
hue: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
};
|
|
13
|
+
onChange: {
|
|
14
|
+
type: PropType<(newHue: {
|
|
15
|
+
h: number;
|
|
16
|
+
}) => void>;
|
|
17
|
+
};
|
|
18
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
hue: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
};
|
|
22
|
+
onChange: {
|
|
23
|
+
type: PropType<(newHue: {
|
|
24
|
+
h: number;
|
|
25
|
+
}) => void>;
|
|
26
|
+
};
|
|
27
|
+
}>>, {}, {}>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
export interface Interaction {
|
|
3
|
+
left: number;
|
|
4
|
+
top: number;
|
|
5
|
+
}
|
|
6
|
+
export interface InteractiveProps {
|
|
7
|
+
onMove: (interaction: Interaction) => void;
|
|
8
|
+
onKey: (offset: Interaction) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const Interactive: import("vue").DefineComponent<{
|
|
11
|
+
onMove: {
|
|
12
|
+
type: PropType<(interaction: Interaction) => void>;
|
|
13
|
+
};
|
|
14
|
+
onKey: {
|
|
15
|
+
type: PropType<(offset: Interaction) => void>;
|
|
16
|
+
};
|
|
17
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
onMove: {
|
|
19
|
+
type: PropType<(interaction: Interaction) => void>;
|
|
20
|
+
};
|
|
21
|
+
onKey: {
|
|
22
|
+
type: PropType<(offset: Interaction) => void>;
|
|
23
|
+
};
|
|
24
|
+
}>>, {}, {}>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface PointerProps {
|
|
2
|
+
top?: number;
|
|
3
|
+
left: number;
|
|
4
|
+
color: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const Pointer: import("vue").DefineComponent<{
|
|
7
|
+
top: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
left: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
};
|
|
14
|
+
color: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
};
|
|
17
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
top: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
left: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
};
|
|
25
|
+
color: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
};
|
|
28
|
+
}>>, {
|
|
29
|
+
top: number;
|
|
30
|
+
}, {}>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { HsvaColor } from '../../types';
|
|
3
|
+
export interface SaturationProps {
|
|
4
|
+
hsva: HsvaColor;
|
|
5
|
+
onChange: (newColor: {
|
|
6
|
+
s: number;
|
|
7
|
+
v: number;
|
|
8
|
+
}) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const Saturation: import("vue").DefineComponent<{
|
|
11
|
+
hsva: {
|
|
12
|
+
type: PropType<HsvaColor>;
|
|
13
|
+
};
|
|
14
|
+
onChange: {
|
|
15
|
+
type: PropType<(newColor: {
|
|
16
|
+
s: number;
|
|
17
|
+
v: number;
|
|
18
|
+
}) => void>;
|
|
19
|
+
};
|
|
20
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
hsva: {
|
|
22
|
+
type: PropType<HsvaColor>;
|
|
23
|
+
};
|
|
24
|
+
onChange: {
|
|
25
|
+
type: PropType<(newColor: {
|
|
26
|
+
s: number;
|
|
27
|
+
v: number;
|
|
28
|
+
}) => void>;
|
|
29
|
+
};
|
|
30
|
+
}>>, {}, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useEventCallback<T>(handler?: (value: T) => void): (value: T) => void;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { InputHTMLAttributes } from 'vue';
|
|
2
|
+
export interface RgbColor {
|
|
3
|
+
r: number;
|
|
4
|
+
g: number;
|
|
5
|
+
b: number;
|
|
6
|
+
}
|
|
7
|
+
export interface RgbaColor extends RgbColor {
|
|
8
|
+
a: number;
|
|
9
|
+
}
|
|
10
|
+
export interface HslColor {
|
|
11
|
+
h: number;
|
|
12
|
+
s: number;
|
|
13
|
+
l: number;
|
|
14
|
+
}
|
|
15
|
+
export interface HslaColor extends HslColor {
|
|
16
|
+
a: number;
|
|
17
|
+
}
|
|
18
|
+
export interface HsvColor {
|
|
19
|
+
h: number;
|
|
20
|
+
s: number;
|
|
21
|
+
v: number;
|
|
22
|
+
}
|
|
23
|
+
export interface HsvaColor extends HsvColor {
|
|
24
|
+
a: number;
|
|
25
|
+
}
|
|
26
|
+
export type ObjectColor = RgbColor | HslColor | HsvColor | RgbaColor | HslaColor | HsvaColor;
|
|
27
|
+
export type AnyColor = string | ObjectColor;
|
|
28
|
+
export interface ColorModel<T extends AnyColor> {
|
|
29
|
+
defaultColor: T;
|
|
30
|
+
toHsva: (defaultColor: T) => HsvaColor;
|
|
31
|
+
fromHsva: (hsva: HsvaColor) => T;
|
|
32
|
+
equal: (first: T, second: T) => boolean;
|
|
33
|
+
}
|
|
34
|
+
type ColorPickerHTMLAttributes = Omit<InputHTMLAttributes, 'color' | 'onChange' | 'onChangeCapture'>;
|
|
35
|
+
export interface ColorPickerBaseProps<T extends AnyColor> extends ColorPickerHTMLAttributes {
|
|
36
|
+
color: T;
|
|
37
|
+
onChange: (newColor: T) => void;
|
|
38
|
+
}
|
|
39
|
+
type ColorInputHTMLAttributes = Omit<InputHTMLAttributes, 'onChange' | 'value'>;
|
|
40
|
+
export interface ColorInputBaseProps extends ColorInputHTMLAttributes {
|
|
41
|
+
color?: string;
|
|
42
|
+
onChange?: (newColor: string) => void;
|
|
43
|
+
}
|
|
44
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const clamp: (number: number, min?: number, max?: number) => number;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ObjectColor } from '../types';
|
|
2
|
+
export declare const equalColorObjects: (first: ObjectColor, second: ObjectColor) => boolean;
|
|
3
|
+
export declare const equalColorString: (first: string, second: string) => boolean;
|
|
4
|
+
export declare const equalHex: (first: string, second: string) => boolean;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { RgbaColor, RgbColor, HslaColor, HslColor, HsvaColor, HsvColor } from '../types';
|
|
2
|
+
export declare const hexToHsva: (hex: string) => HsvaColor;
|
|
3
|
+
export declare const hexToRgba: (hex: string) => RgbaColor;
|
|
4
|
+
export declare const parseHue: (value: string, unit?: string) => number;
|
|
5
|
+
export declare const hslaStringToHsva: (hslString: string) => HsvaColor;
|
|
6
|
+
export declare const hslStringToHsva: (hslString: string) => HsvaColor;
|
|
7
|
+
export declare const hslaToHsva: ({ h, s, l, a }: HslaColor) => HsvaColor;
|
|
8
|
+
export declare const hsvaToHex: (hsva: HsvaColor) => string;
|
|
9
|
+
export declare const hsvaToHsla: ({ h, s, v, a }: HsvaColor) => HslaColor;
|
|
10
|
+
export declare const hsvaToHslString: (hsva: HsvaColor) => string;
|
|
11
|
+
export declare const hsvaToHsvString: (hsva: HsvaColor) => string;
|
|
12
|
+
export declare const hsvaToHsvaString: (hsva: HsvaColor) => string;
|
|
13
|
+
export declare const hsvaToHslaString: (hsva: HsvaColor) => string;
|
|
14
|
+
export declare const hsvaToRgba: ({ h, s, v, a }: HsvaColor) => RgbaColor;
|
|
15
|
+
export declare const hsvaToRgbString: (hsva: HsvaColor) => string;
|
|
16
|
+
export declare const hsvaToRgbaString: (hsva: HsvaColor) => string;
|
|
17
|
+
export declare const hsvaStringToHsva: (hsvString: string) => HsvaColor;
|
|
18
|
+
export declare const hsvStringToHsva: (hsvString: string) => HsvaColor;
|
|
19
|
+
export declare const rgbaStringToHsva: (rgbaString: string) => HsvaColor;
|
|
20
|
+
export declare const rgbStringToHsva: (rgbaString: string) => HsvaColor;
|
|
21
|
+
export declare const rgbaToHex: ({ r, g, b, a }: RgbaColor) => string;
|
|
22
|
+
export declare const rgbaToHsva: ({ r, g, b, a }: RgbaColor) => HsvaColor;
|
|
23
|
+
export declare const roundHsva: (hsva: HsvaColor) => HsvaColor;
|
|
24
|
+
export declare const rgbaToRgb: ({ r, g, b }: RgbaColor) => RgbColor;
|
|
25
|
+
export declare const hslaToHsl: ({ h, s, l }: HslaColor) => HslColor;
|
|
26
|
+
export declare const hsvaToHsv: (hsva: HsvaColor) => HsvColor;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const formatClassName: (names: unknown[]) => string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns a nonce hash included by Webpack or the one defined manually by developer.
|
|
3
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/nonce
|
|
4
|
+
* https://webpack.js.org/guides/csp/
|
|
5
|
+
*/
|
|
6
|
+
export declare const getNonce: () => string | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* Signs the style tag with a base64-encoded string (nonce) to conforms to Content Security Policies.
|
|
9
|
+
* This function has to be invoked before any picker is rendered if you aren't using Webpack for CSP.
|
|
10
|
+
*/
|
|
11
|
+
export declare const setNonce: (hash: string) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const round: (number: number, digits?: number, base?: number) => number;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import CollapseContainer from './src/collapse/CollapseContainer.vue';
|
|
2
|
+
import ScrollContainer from './src/ScrollContainer.vue';
|
|
3
|
+
import LazyContainer from './src/LazyContainer.vue';
|
|
4
|
+
export { LazyContainer, ScrollContainer, CollapseContainer };
|
|
5
|
+
export * from './src/typing';
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
/**
|
|
4
|
+
* Waiting time, if the time is specified, whether visible or not, it will be automatically loaded after the specified time
|
|
5
|
+
*/
|
|
6
|
+
timeout: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* The viewport where the component is located.
|
|
11
|
+
* If the component is scrolling in the page container, the viewport is the container
|
|
12
|
+
*/
|
|
13
|
+
viewport: {
|
|
14
|
+
type: PropType<HTMLElement>;
|
|
15
|
+
default: () => any;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Preload threshold, css unit
|
|
19
|
+
*/
|
|
20
|
+
threshold: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* The scroll direction of the viewport, vertical represents the vertical direction, horizontal represents the horizontal direction
|
|
26
|
+
*/
|
|
27
|
+
direction: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
validator: (v: any) => boolean;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* The label name of the outer container that wraps the component
|
|
34
|
+
*/
|
|
35
|
+
tag: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
maxWaitingTime: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* transition name
|
|
45
|
+
*/
|
|
46
|
+
transitionName: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
}, {
|
|
51
|
+
isInit: import("vue").Ref<boolean>;
|
|
52
|
+
loading: import("vue").Ref<boolean>;
|
|
53
|
+
intersectionObserverInstance: import("vue").Ref<{
|
|
54
|
+
readonly root: Document | Element;
|
|
55
|
+
readonly rootMargin: string;
|
|
56
|
+
readonly thresholds: readonly number[];
|
|
57
|
+
disconnect: () => void;
|
|
58
|
+
observe: (target: Element) => void;
|
|
59
|
+
takeRecords: () => IntersectionObserverEntry[];
|
|
60
|
+
unobserve: (target: Element) => void;
|
|
61
|
+
}>;
|
|
62
|
+
elRef: import("vue").Ref<any>;
|
|
63
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "init"[], "init", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
|
+
/**
|
|
65
|
+
* Waiting time, if the time is specified, whether visible or not, it will be automatically loaded after the specified time
|
|
66
|
+
*/
|
|
67
|
+
timeout: {
|
|
68
|
+
type: NumberConstructor;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* The viewport where the component is located.
|
|
72
|
+
* If the component is scrolling in the page container, the viewport is the container
|
|
73
|
+
*/
|
|
74
|
+
viewport: {
|
|
75
|
+
type: PropType<HTMLElement>;
|
|
76
|
+
default: () => any;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Preload threshold, css unit
|
|
80
|
+
*/
|
|
81
|
+
threshold: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* The scroll direction of the viewport, vertical represents the vertical direction, horizontal represents the horizontal direction
|
|
87
|
+
*/
|
|
88
|
+
direction: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
validator: (v: any) => boolean;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* The label name of the outer container that wraps the component
|
|
95
|
+
*/
|
|
96
|
+
tag: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
maxWaitingTime: {
|
|
101
|
+
type: NumberConstructor;
|
|
102
|
+
default: number;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* transition name
|
|
106
|
+
*/
|
|
107
|
+
transitionName: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
}>> & {
|
|
112
|
+
onInit?: (...args: any[]) => any;
|
|
113
|
+
}, {
|
|
114
|
+
threshold: string;
|
|
115
|
+
transitionName: string;
|
|
116
|
+
direction: string;
|
|
117
|
+
viewport: HTMLElement;
|
|
118
|
+
tag: string;
|
|
119
|
+
maxWaitingTime: number;
|
|
120
|
+
}, {}>;
|
|
121
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
scrollbarRef: import("vue").Ref<{
|
|
3
|
+
wrap: HTMLDivElement;
|
|
4
|
+
}>;
|
|
5
|
+
scrollTo: (to: number, duration?: number) => void;
|
|
6
|
+
scrollBottom: () => void;
|
|
7
|
+
getScrollWrap: () => HTMLDivElement;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
9
|
+
export default _sfc_main;
|