naive-ui 2.40.3 → 2.40.4
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/dist/index.js +452 -386
- package/dist/index.mjs +452 -386
- package/dist/index.prod.js +1 -1
- package/dist/index.prod.mjs +1 -1
- package/es/_internal/clear/src/Clear.d.ts +5 -5
- package/es/_internal/close/src/Close.d.ts +5 -5
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +6 -6
- package/es/_internal/focus-detector/src/FocusDetector.d.ts +3 -3
- package/es/_internal/icon/src/Icon.d.ts +4 -4
- package/es/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
- package/es/_internal/icons/Add.d.ts +1 -1
- package/es/_internal/icons/ArrowBack.d.ts +1 -1
- package/es/_internal/icons/ArrowDown.d.ts +1 -1
- package/es/_internal/icons/ArrowUp.d.ts +1 -1
- package/es/_internal/icons/Attach.d.ts +1 -1
- package/es/_internal/icons/Attach.mjs +1 -1
- package/es/_internal/icons/Backward.d.ts +1 -1
- package/es/_internal/icons/Cancel.d.ts +1 -1
- package/es/_internal/icons/Cancel.mjs +1 -1
- package/es/_internal/icons/Checkmark.d.ts +1 -1
- package/es/_internal/icons/ChevronDown.d.ts +1 -1
- package/es/_internal/icons/ChevronDownFilled.d.ts +1 -1
- package/es/_internal/icons/ChevronLeft.d.ts +1 -1
- package/es/_internal/icons/ChevronRight.d.ts +1 -1
- package/es/_internal/icons/Clear.d.ts +1 -1
- package/es/_internal/icons/Clear.mjs +1 -1
- package/es/_internal/icons/Close.d.ts +1 -1
- package/es/_internal/icons/Close.mjs +1 -1
- package/es/_internal/icons/Date.d.ts +1 -1
- package/es/_internal/icons/Date.mjs +1 -1
- package/es/_internal/icons/Download.d.ts +1 -1
- package/es/_internal/icons/Download.mjs +1 -1
- package/es/_internal/icons/Empty.d.ts +1 -1
- package/es/_internal/icons/Error.d.ts +1 -1
- package/es/_internal/icons/Error.mjs +1 -1
- package/es/_internal/icons/Eye.d.ts +1 -1
- package/es/_internal/icons/EyeOff.d.ts +1 -1
- package/es/_internal/icons/FastBackward.d.ts +1 -1
- package/es/_internal/icons/FastForward.d.ts +1 -1
- package/es/_internal/icons/File.d.ts +1 -1
- package/es/_internal/icons/Filter.d.ts +1 -1
- package/es/_internal/icons/Forward.d.ts +1 -1
- package/es/_internal/icons/Info.d.ts +1 -1
- package/es/_internal/icons/Info.mjs +1 -1
- package/es/_internal/icons/More.d.ts +1 -1
- package/es/_internal/icons/Photo.d.ts +1 -1
- package/es/_internal/icons/Remove.d.ts +1 -1
- package/es/_internal/icons/ResizeSmall.d.ts +1 -1
- package/es/_internal/icons/Retry.d.ts +1 -1
- package/es/_internal/icons/Retry.mjs +1 -1
- package/es/_internal/icons/RotateClockwise.d.ts +1 -1
- package/es/_internal/icons/RotateClockwise.mjs +1 -1
- package/es/_internal/icons/RotateCounterclockwise.d.ts +1 -1
- package/es/_internal/icons/RotateCounterclockwise.mjs +1 -1
- package/es/_internal/icons/Search.d.ts +1 -1
- package/es/_internal/icons/Success.d.ts +1 -1
- package/es/_internal/icons/Success.mjs +1 -1
- package/es/_internal/icons/Switcher.d.ts +1 -1
- package/es/_internal/icons/Time.d.ts +1 -1
- package/es/_internal/icons/Time.mjs +1 -1
- package/es/_internal/icons/To.d.ts +1 -1
- package/es/_internal/icons/To.mjs +1 -1
- package/es/_internal/icons/Trash.d.ts +1 -1
- package/es/_internal/icons/Trash.mjs +1 -1
- package/es/_internal/icons/Warning.d.ts +1 -1
- package/es/_internal/icons/Warning.mjs +1 -1
- package/es/_internal/icons/ZoomIn.d.ts +1 -1
- package/es/_internal/icons/ZoomIn.mjs +1 -1
- package/es/_internal/icons/ZoomOut.d.ts +1 -1
- package/es/_internal/icons/ZoomOut.mjs +1 -1
- package/es/_internal/icons/replaceable.d.ts +2 -1
- package/es/_internal/icons/replaceable.mjs +7 -2
- package/es/_internal/loading/src/Loading.d.ts +4 -4
- package/es/_internal/menu-mask/src/MenuMask.d.ts +6 -6
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +30 -18
- package/es/_internal/scrollbar/src/Scrollbar.mjs +41 -5
- package/es/_internal/scrollbar/src/styles/index.cssr.mjs +16 -4
- package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +6 -6
- package/es/_internal/select-menu/src/SelectMenu.d.ts +25 -8
- package/es/_internal/select-menu/src/SelectOption.d.ts +8 -8
- package/es/_internal/select-menu/src/interface.d.ts +1 -1
- package/es/_internal/selection/src/Selection.d.ts +31 -22
- package/es/_internal/slot-machine/src/SlotMachine.d.ts +4 -4
- package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +4 -4
- package/es/_internal/suffix/src/Suffix.d.ts +4 -4
- package/es/_internal/wave/src/Wave.d.ts +6 -6
- package/es/_utils/composable/use-lock-html-scroll.d.ts +1 -1
- package/es/_utils/composable/use-resize.mjs +9 -1
- package/es/_utils/css/rtl-inset.mjs +1 -1
- package/es/_utils/vue/wrapper.d.ts +1 -1
- package/es/affix/src/Affix.d.ts +7 -7
- package/es/alert/src/Alert.d.ts +9 -9
- package/es/anchor/src/AnchorAdapter.d.ts +5 -5
- package/es/anchor/src/BaseAnchor.d.ts +9 -9
- package/es/anchor/src/Link.d.ts +3 -3
- package/es/auto-complete/src/AutoComplete.d.ts +45 -11
- package/es/avatar/src/Avatar.d.ts +13 -13
- package/es/avatar-group/src/AvatarGroup.d.ts +7 -7
- package/es/back-top/src/BackTop.d.ts +14 -14
- package/es/back-top/src/BackTop.mjs +2 -2
- package/es/back-top/src/BackTopIcon.d.ts +1 -1
- package/es/back-top/src/BackTopIcon.mjs +1 -1
- package/es/badge/src/Badge.d.ts +9 -9
- package/es/breadcrumb/src/Breadcrumb.d.ts +7 -7
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +4 -4
- package/es/button/src/Button.d.ts +14 -11
- package/es/button-group/src/ButtonGroup.d.ts +7 -7
- package/es/calendar/src/Calendar.d.ts +39 -9
- package/es/card/src/Card.d.ts +9 -9
- package/es/carousel/src/Carousel.d.ts +11 -11
- package/es/carousel/src/CarouselArrow.d.ts +2 -2
- package/es/carousel/src/CarouselArrow.mjs +24 -20
- package/es/carousel/src/CarouselDots.d.ts +7 -7
- package/es/carousel/src/CarouselItem.d.ts +3 -3
- package/es/cascader/src/Cascader.d.ts +34 -14
- package/es/cascader/src/CascaderMenu.d.ts +294 -8
- package/es/cascader/src/CascaderOption.d.ts +299 -10
- package/es/cascader/src/CascaderSelectMenu.d.ts +298 -7
- package/es/cascader/src/CascaderSubmenu.d.ts +304 -6
- package/es/checkbox/src/CheckMark.d.ts +2 -1
- package/es/checkbox/src/CheckMark.mjs +1 -1
- package/es/checkbox/src/Checkbox.d.ts +15 -15
- package/es/checkbox/src/Checkbox.mjs +4 -4
- package/es/checkbox/src/CheckboxGroup.d.ts +6 -6
- package/es/checkbox/src/LineMark.d.ts +2 -1
- package/es/checkbox/src/LineMark.mjs +1 -1
- package/es/code/src/Code.d.ts +8 -8
- package/es/collapse/src/Collapse.d.ts +8 -8
- package/es/collapse/src/CollapseItem.d.ts +8 -8
- package/es/collapse/src/CollapseItemContent.d.ts +6 -6
- package/es/collapse-transition/src/CollapseTransition.d.ts +9 -9
- package/es/color-picker/src/AlphaSlider.d.ts +6 -6
- package/es/color-picker/src/ColorInput.d.ts +5 -5
- package/es/color-picker/src/ColorInputUnit.d.ts +6 -6
- package/es/color-picker/src/ColorPicker.d.ts +11 -11
- package/es/color-picker/src/ColorPickerSwatches.d.ts +4 -4
- package/es/color-picker/src/ColorPickerTrigger.d.ts +4 -4
- package/es/color-picker/src/ColorPreview.d.ts +5 -5
- package/es/color-picker/src/HueSlider.d.ts +5 -5
- package/es/color-picker/src/Pallete.d.ts +6 -6
- package/es/config-provider/src/ConfigProvider.d.ts +5 -5
- package/es/countdown/src/Countdown.d.ts +6 -6
- package/es/data-table/src/DataTable.d.ts +13 -9
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +1207 -9
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +1210 -7
- package/es/data-table/src/HeaderButton/RenderFilter.d.ts +4 -4
- package/es/data-table/src/HeaderButton/RenderSorter.d.ts +4 -4
- package/es/data-table/src/HeaderButton/ResizeButton.d.ts +6 -6
- package/es/data-table/src/HeaderButton/SortButton.d.ts +5 -5
- package/es/data-table/src/MainTable.d.ts +12 -5
- package/es/data-table/src/TableParts/Body.d.ts +1255 -34
- package/es/data-table/src/TableParts/BodyCheckbox.d.ts +3 -3
- package/es/data-table/src/TableParts/BodyRadio.d.ts +3 -3
- package/es/data-table/src/TableParts/Cell.d.ts +4 -4
- package/es/data-table/src/TableParts/ExpandTrigger.d.ts +4 -4
- package/es/data-table/src/TableParts/Header.d.ts +1224 -20
- package/es/data-table/src/TableParts/SelectionMenu.d.ts +3 -3
- package/es/data-table/src/use-expand.d.ts +1 -1
- package/es/data-table/src/use-scroll.d.ts +4 -4
- package/es/data-table/src/use-table-data.d.ts +1 -1
- package/es/date-picker/src/DatePicker.d.ts +131 -18
- package/es/date-picker/src/panel/date.d.ts +985 -13
- package/es/date-picker/src/panel/daterange.d.ts +991 -19
- package/es/date-picker/src/panel/datetime.d.ts +985 -13
- package/es/date-picker/src/panel/datetimerange.d.ts +991 -19
- package/es/date-picker/src/panel/month.d.ts +985 -13
- package/es/date-picker/src/panel/monthrange.d.ts +991 -19
- package/es/date-picker/src/panel/panelHeader.d.ts +6130 -78
- package/es/date-picker/src/panel/use-calendar.d.ts +980 -8
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +986 -14
- package/es/date-picker/src/panel/use-panel-common.d.ts +977 -5
- package/es/descriptions/src/Descriptions.d.ts +7 -7
- package/es/descriptions/src/DescriptionsItem.d.ts +4 -4
- package/es/dialog/src/Dialog.d.ts +8 -8
- package/es/dialog/src/DialogEnvironment.d.ts +6 -6
- package/es/dialog/src/DialogProvider.d.ts +5505 -9
- package/es/dialog/src/dialogProps.d.ts +1 -1
- package/es/discrete/src/InjectionExtractor.d.ts +4 -4
- package/es/divider/src/Divider.d.ts +7 -7
- package/es/drawer/src/Drawer.d.ts +9 -9
- package/es/drawer/src/DrawerBodyWrapper.d.ts +60 -13
- package/es/drawer/src/DrawerBodyWrapper.mjs +1 -1
- package/es/drawer/src/DrawerContent.d.ts +53 -6
- package/es/dropdown/src/Dropdown.d.ts +9 -9
- package/es/dropdown/src/DropdownDivider.d.ts +3 -3
- package/es/dropdown/src/DropdownGroup.d.ts +4 -4
- package/es/dropdown/src/DropdownGroupHeader.d.ts +10 -10
- package/es/dropdown/src/DropdownMenu.d.ts +6 -6
- package/es/dropdown/src/DropdownOption.d.ts +15 -15
- package/es/dropdown/src/DropdownRenderOption.d.ts +3 -3
- package/es/dynamic-input/src/DynamicInput.d.ts +11 -9
- package/es/dynamic-input/src/InputPreset.d.ts +292 -6
- package/es/dynamic-input/src/PairPreset.d.ts +293 -7
- package/es/dynamic-tags/src/DynamicTags.d.ts +36 -12
- package/es/element/src/Element.d.ts +7 -7
- package/es/ellipsis/src/Ellipsis.d.ts +10 -7
- package/es/ellipsis/src/PerformantEllipsis.d.ts +6 -6
- package/es/empty/src/Empty.d.ts +7 -7
- package/es/equation/src/Equation.d.ts +4 -4
- package/es/flex/src/Flex.d.ts +7 -7
- package/es/float-button/src/FloatButton.d.ts +8 -8
- package/es/float-button/src/styles/index.cssr.mjs +8 -2
- package/es/float-button-group/src/FloatButtonGroup.d.ts +7 -7
- package/es/float-button-group/src/styles/index.cssr.mjs +7 -1
- package/es/form/src/Form.d.ts +6 -6
- package/es/form/src/FormItem.d.ts +17 -11
- package/es/form/src/FormItemCol.d.ts +11 -5
- package/es/form/src/FormItemGridItem.d.ts +11 -5
- package/es/form/src/FormItemRow.d.ts +10 -5
- package/es/form/src/utils.d.ts +2 -2
- package/es/global-style/src/GlobalStyle.d.ts +1 -1
- package/es/gradient-text/src/GradientText.d.ts +7 -7
- package/es/grid/src/Grid.d.ts +8 -8
- package/es/grid/src/GridItem.d.ts +8 -8
- package/es/highlight/src/Highlight.d.ts +6 -6
- package/es/icon/src/Icon.d.ts +6 -6
- package/es/icon-wrapper/src/IconWrapper.d.ts +4 -4
- package/es/image/src/Image.d.ts +16 -11
- package/es/image/src/ImageGroup.d.ts +10 -6
- package/es/image/src/ImagePreview.d.ts +13 -13
- package/es/image/src/ImagePreview.mjs +4 -4
- package/es/image/src/icons.d.ts +3 -3
- package/es/image/src/icons.mjs +30 -24
- package/es/infinite-scroll/src/InfiniteScroll.d.ts +17 -5
- package/es/input/src/Input.d.ts +39 -23
- package/es/input/src/InputGroup.d.ts +3 -11
- package/es/input/src/InputGroupLabel.d.ts +7 -7
- package/es/input/src/WordCount.d.ts +1 -1
- package/es/input-number/src/InputNumber.d.ts +42 -10
- package/es/layout/src/Layout.d.ts +39 -17
- package/es/layout/src/LayoutContent.d.ts +19 -8
- package/es/layout/src/LayoutFooter.d.ts +7 -7
- package/es/layout/src/LayoutHeader.d.ts +7 -7
- package/es/layout/src/LayoutSider.d.ts +20 -9
- package/es/layout/src/ToggleBar.d.ts +3 -3
- package/es/layout/src/ToggleButton.d.ts +3 -3
- package/es/legacy-grid/src/Col.d.ts +7 -7
- package/es/legacy-grid/src/Row.d.ts +7 -7
- package/es/legacy-transfer/src/Transfer.d.ts +13 -10
- package/es/legacy-transfer/src/TransferFilter.d.ts +384 -6
- package/es/legacy-transfer/src/TransferHeader.d.ts +4 -4
- package/es/legacy-transfer/src/TransferList.d.ts +401 -6
- package/es/legacy-transfer/src/TransferListItem.d.ts +384 -6
- package/es/legacy-transfer/src/use-transfer-data.d.ts +6 -6
- package/es/list/src/List.d.ts +8 -8
- package/es/list/src/ListItem.d.ts +3 -3
- package/es/loading-bar/src/LoadingBar.d.ts +11 -11
- package/es/loading-bar/src/LoadingBarProvider.d.ts +9 -5
- package/es/log/src/Log.d.ts +19 -7
- package/es/log/src/LogLine.d.ts +7 -7
- package/es/log/src/LogLoader.d.ts +6 -4
- package/es/marquee/src/Marquee.d.ts +7 -7
- package/es/mention/src/Mention.d.ts +50 -14
- package/es/menu/src/Menu.d.ts +16 -12
- package/es/menu/src/MenuDivider.d.ts +1 -1
- package/es/menu/src/MenuOption.d.ts +222 -7
- package/es/menu/src/MenuOptionContent.d.ts +5 -5
- package/es/menu/src/MenuOptionGroup.d.ts +4 -4
- package/es/menu/src/Submenu.d.ts +226 -11
- package/es/message/src/Message.d.ts +8 -8
- package/es/message/src/MessageEnvironment.d.ts +6 -6
- package/es/message/src/MessageProvider.d.ts +21 -7
- package/es/modal/src/BodyWrapper.d.ts +540 -11
- package/es/modal/src/Modal.d.ts +10 -10
- package/es/modal/src/ModalEnvironment.d.ts +7 -7
- package/es/modal/src/presetProps.d.ts +1 -1
- package/es/notification/src/Notification.d.ts +9 -9
- package/es/notification/src/NotificationContainer.d.ts +61 -7
- package/es/notification/src/NotificationEnvironment.d.ts +6 -6
- package/es/notification/src/NotificationProvider.d.ts +31 -7
- package/es/number-animation/src/NumberAnimation.d.ts +6 -6
- package/es/page-header/src/PageHeader.d.ts +7 -7
- package/es/pagination/src/Pagination.d.ts +18 -15
- package/es/popconfirm/src/Popconfirm.d.ts +12 -7
- package/es/popconfirm/src/PopconfirmPanel.d.ts +12 -9
- package/es/popover/src/Popover.d.ts +11 -9
- package/es/popover/src/Popover.mjs +4 -1
- package/es/popover/src/PopoverBody.d.ts +13 -11
- package/es/popselect/src/Popselect.d.ts +26 -23
- package/es/popselect/src/PopselectPanel.d.ts +133 -7
- package/es/progress/src/Circle.d.ts +4 -4
- package/es/progress/src/Line.d.ts +4 -4
- package/es/progress/src/MultipleCircle.d.ts +4 -4
- package/es/progress/src/Progress.d.ts +7 -7
- package/es/qr-code/src/QrCode.d.ts +8 -8
- package/es/radio/src/Radio.d.ts +7 -7
- package/es/radio/src/RadioButton.d.ts +23 -47
- package/es/radio/src/RadioGroup.d.ts +9 -9
- package/es/rate/src/Rate.d.ts +8 -8
- package/es/rate/src/Rate.mjs +2 -2
- package/es/rate/src/StarIcon.d.ts +1 -1
- package/es/rate/src/StarIcon.mjs +1 -1
- package/es/result/src/403.d.ts +1 -2
- package/es/result/src/403.mjs +12 -10
- package/es/result/src/404.d.ts +1 -2
- package/es/result/src/404.mjs +32 -30
- package/es/result/src/418.d.ts +1 -2
- package/es/result/src/418.mjs +33 -31
- package/es/result/src/500.d.ts +1 -2
- package/es/result/src/500.mjs +18 -16
- package/es/result/src/Result.d.ts +7 -7
- package/es/result/src/Result.mjs +8 -8
- package/es/scrollbar/src/Scrollbar.d.ts +17 -5
- package/es/select/src/Select.d.ts +37 -17
- package/es/skeleton/src/Skeleton.d.ts +6 -6
- package/es/slider/src/Slider.d.ts +17 -17
- package/es/space/src/Space.d.ts +7 -7
- package/es/spin/src/Spin.d.ts +8 -8
- package/es/split/src/Split.d.ts +10 -10
- package/es/statistic/src/Statistic.d.ts +8 -8
- package/es/steps/src/Step.d.ts +7 -7
- package/es/steps/src/Steps.d.ts +7 -7
- package/es/switch/src/Switch.d.ts +9 -9
- package/es/table/src/Table.d.ts +8 -8
- package/es/table/src/Tbody.d.ts +1 -1
- package/es/table/src/Td.d.ts +1 -1
- package/es/table/src/Th.d.ts +1 -1
- package/es/table/src/Thead.d.ts +1 -1
- package/es/table/src/Tr.d.ts +1 -1
- package/es/tabs/src/Tab.d.ts +16 -16
- package/es/tabs/src/TabPane.d.ts +8 -8
- package/es/tabs/src/Tabs.d.ts +58 -19
- package/es/tag/src/Tag.d.ts +10 -10
- package/es/theme-editor/src/MaximizeIcon.d.ts +1 -1
- package/es/theme-editor/src/MinimizeIcon.d.ts +1 -1
- package/es/theme-editor/src/ThemeEditor.d.ts +19 -10
- package/es/theme-editor/src/ThemeEditor.mjs +25 -23
- package/es/thing/src/Thing.d.ts +4 -4
- package/es/time/src/Time.d.ts +6 -6
- package/es/time-picker/src/Panel.d.ts +326 -10
- package/es/time-picker/src/PanelCol.d.ts +4 -4
- package/es/time-picker/src/TimePicker.d.ts +89 -15
- package/es/timeline/src/Timeline.d.ts +4 -4
- package/es/timeline/src/TimelineItem.d.ts +7 -7
- package/es/tooltip/src/Tooltip.d.ts +10 -7
- package/es/transfer/src/Transfer.d.ts +9 -9
- package/es/transfer/src/TransferFilter.d.ts +397 -6
- package/es/transfer/src/TransferHeader.d.ts +4 -4
- package/es/transfer/src/TransferList.d.ts +414 -6
- package/es/transfer/src/TransferListItem.d.ts +400 -9
- package/es/transfer/src/use-transfer-data.d.ts +3 -3
- package/es/tree/src/MotionWrapper.d.ts +3 -3
- package/es/tree/src/Tree.d.ts +28 -11
- package/es/tree/src/TreeNode.d.ts +14 -14
- package/es/tree/src/TreeNodeCheckbox.d.ts +99 -5
- package/es/tree/src/TreeNodeContent.d.ts +10 -10
- package/es/tree/src/TreeNodeSwitcher.d.ts +4 -4
- package/es/tree-select/src/TreeSelect.d.ts +30 -16
- package/es/typography/src/a.d.ts +6 -6
- package/es/typography/src/blockquote.d.ts +7 -7
- package/es/typography/src/create-header.d.ts +7 -7
- package/es/typography/src/headers.d.ts +42 -42
- package/es/typography/src/hr.d.ts +6 -6
- package/es/typography/src/li.d.ts +1 -1
- package/es/typography/src/ol.d.ts +7 -7
- package/es/typography/src/p.d.ts +6 -6
- package/es/typography/src/text.d.ts +7 -7
- package/es/typography/src/ul.d.ts +7 -7
- package/es/upload/src/Upload.d.ts +10 -10
- package/es/upload/src/UploadDragger.d.ts +1 -1
- package/es/upload/src/UploadFile.d.ts +270 -7
- package/es/upload/src/UploadFile.mjs +3 -3
- package/es/upload/src/UploadFileList.d.ts +1 -1
- package/es/upload/src/UploadProgress.d.ts +265 -5
- package/es/upload/src/UploadTrigger.d.ts +5 -5
- package/es/upload/src/icons.d.ts +2 -2
- package/es/upload/src/icons.mjs +2 -2
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/virtual-list/src/VirtualList.d.ts +22 -6
- package/es/watermark/src/Watermark.d.ts +4 -4
- package/lib/_internal/clear/src/Clear.d.ts +5 -5
- package/lib/_internal/close/src/Close.d.ts +5 -5
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +6 -6
- package/lib/_internal/focus-detector/src/FocusDetector.d.ts +3 -3
- package/lib/_internal/icon/src/Icon.d.ts +4 -4
- package/lib/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
- package/lib/_internal/icons/Add.d.ts +1 -1
- package/lib/_internal/icons/ArrowBack.d.ts +1 -1
- package/lib/_internal/icons/ArrowDown.d.ts +1 -1
- package/lib/_internal/icons/ArrowUp.d.ts +1 -1
- package/lib/_internal/icons/Attach.d.ts +1 -1
- package/lib/_internal/icons/Attach.js +2 -2
- package/lib/_internal/icons/Backward.d.ts +1 -1
- package/lib/_internal/icons/Cancel.d.ts +1 -1
- package/lib/_internal/icons/Cancel.js +2 -2
- package/lib/_internal/icons/Checkmark.d.ts +1 -1
- package/lib/_internal/icons/ChevronDown.d.ts +1 -1
- package/lib/_internal/icons/ChevronDownFilled.d.ts +1 -1
- package/lib/_internal/icons/ChevronLeft.d.ts +1 -1
- package/lib/_internal/icons/ChevronRight.d.ts +1 -1
- package/lib/_internal/icons/Clear.d.ts +1 -1
- package/lib/_internal/icons/Clear.js +2 -2
- package/lib/_internal/icons/Close.d.ts +1 -1
- package/lib/_internal/icons/Close.js +2 -2
- package/lib/_internal/icons/Date.d.ts +1 -1
- package/lib/_internal/icons/Date.js +2 -2
- package/lib/_internal/icons/Download.d.ts +1 -1
- package/lib/_internal/icons/Download.js +2 -2
- package/lib/_internal/icons/Empty.d.ts +1 -1
- package/lib/_internal/icons/Error.d.ts +1 -1
- package/lib/_internal/icons/Error.js +2 -2
- package/lib/_internal/icons/Eye.d.ts +1 -1
- package/lib/_internal/icons/EyeOff.d.ts +1 -1
- package/lib/_internal/icons/FastBackward.d.ts +1 -1
- package/lib/_internal/icons/FastForward.d.ts +1 -1
- package/lib/_internal/icons/File.d.ts +1 -1
- package/lib/_internal/icons/Filter.d.ts +1 -1
- package/lib/_internal/icons/Forward.d.ts +1 -1
- package/lib/_internal/icons/Info.d.ts +1 -1
- package/lib/_internal/icons/Info.js +2 -2
- package/lib/_internal/icons/More.d.ts +1 -1
- package/lib/_internal/icons/Photo.d.ts +1 -1
- package/lib/_internal/icons/Remove.d.ts +1 -1
- package/lib/_internal/icons/ResizeSmall.d.ts +1 -1
- package/lib/_internal/icons/Retry.d.ts +1 -1
- package/lib/_internal/icons/Retry.js +2 -2
- package/lib/_internal/icons/RotateClockwise.d.ts +1 -1
- package/lib/_internal/icons/RotateClockwise.js +2 -2
- package/lib/_internal/icons/RotateCounterclockwise.d.ts +1 -1
- package/lib/_internal/icons/RotateCounterclockwise.js +2 -2
- package/lib/_internal/icons/Search.d.ts +1 -1
- package/lib/_internal/icons/Success.d.ts +1 -1
- package/lib/_internal/icons/Success.js +2 -2
- package/lib/_internal/icons/Switcher.d.ts +1 -1
- package/lib/_internal/icons/Time.d.ts +1 -1
- package/lib/_internal/icons/Time.js +2 -2
- package/lib/_internal/icons/To.d.ts +1 -1
- package/lib/_internal/icons/To.js +2 -2
- package/lib/_internal/icons/Trash.d.ts +1 -1
- package/lib/_internal/icons/Trash.js +2 -2
- package/lib/_internal/icons/Warning.d.ts +1 -1
- package/lib/_internal/icons/Warning.js +2 -2
- package/lib/_internal/icons/ZoomIn.d.ts +1 -1
- package/lib/_internal/icons/ZoomIn.js +2 -2
- package/lib/_internal/icons/ZoomOut.d.ts +1 -1
- package/lib/_internal/icons/ZoomOut.js +2 -2
- package/lib/_internal/icons/replaceable.d.ts +2 -1
- package/lib/_internal/icons/replaceable.js +6 -1
- package/lib/_internal/loading/src/Loading.d.ts +4 -4
- package/lib/_internal/menu-mask/src/MenuMask.d.ts +6 -6
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +30 -18
- package/lib/_internal/scrollbar/src/Scrollbar.js +24 -8
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +16 -4
- package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +6 -6
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +25 -8
- package/lib/_internal/select-menu/src/SelectOption.d.ts +8 -8
- package/lib/_internal/select-menu/src/interface.d.ts +1 -1
- package/lib/_internal/selection/src/Selection.d.ts +31 -22
- package/lib/_internal/slot-machine/src/SlotMachine.d.ts +4 -4
- package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +4 -4
- package/lib/_internal/suffix/src/Suffix.d.ts +4 -4
- package/lib/_internal/wave/src/Wave.d.ts +6 -6
- package/lib/_utils/composable/use-lock-html-scroll.d.ts +1 -1
- package/lib/_utils/composable/use-resize.js +8 -0
- package/lib/_utils/css/rtl-inset.js +1 -1
- package/lib/_utils/vue/wrapper.d.ts +1 -1
- package/lib/affix/src/Affix.d.ts +7 -7
- package/lib/alert/src/Alert.d.ts +9 -9
- package/lib/anchor/src/AnchorAdapter.d.ts +5 -5
- package/lib/anchor/src/BaseAnchor.d.ts +9 -9
- package/lib/anchor/src/Link.d.ts +3 -3
- package/lib/auto-complete/src/AutoComplete.d.ts +45 -11
- package/lib/avatar/src/Avatar.d.ts +13 -13
- package/lib/avatar-group/src/AvatarGroup.d.ts +7 -7
- package/lib/back-top/src/BackTop.d.ts +14 -14
- package/lib/back-top/src/BackTop.js +1 -1
- package/lib/back-top/src/BackTopIcon.d.ts +1 -1
- package/lib/back-top/src/BackTopIcon.js +1 -1
- package/lib/badge/src/Badge.d.ts +9 -9
- package/lib/breadcrumb/src/Breadcrumb.d.ts +7 -7
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +4 -4
- package/lib/button/src/Button.d.ts +14 -11
- package/lib/button-group/src/ButtonGroup.d.ts +7 -7
- package/lib/calendar/src/Calendar.d.ts +39 -9
- package/lib/card/src/Card.d.ts +9 -9
- package/lib/carousel/src/Carousel.d.ts +11 -11
- package/lib/carousel/src/CarouselArrow.d.ts +2 -2
- package/lib/carousel/src/CarouselArrow.js +12 -8
- package/lib/carousel/src/CarouselDots.d.ts +7 -7
- package/lib/carousel/src/CarouselItem.d.ts +3 -3
- package/lib/cascader/src/Cascader.d.ts +34 -14
- package/lib/cascader/src/CascaderMenu.d.ts +294 -8
- package/lib/cascader/src/CascaderOption.d.ts +299 -10
- package/lib/cascader/src/CascaderSelectMenu.d.ts +298 -7
- package/lib/cascader/src/CascaderSubmenu.d.ts +304 -6
- package/lib/checkbox/src/CheckMark.d.ts +2 -1
- package/lib/checkbox/src/CheckMark.js +1 -1
- package/lib/checkbox/src/Checkbox.d.ts +15 -15
- package/lib/checkbox/src/Checkbox.js +1 -1
- package/lib/checkbox/src/CheckboxGroup.d.ts +6 -6
- package/lib/checkbox/src/LineMark.d.ts +2 -1
- package/lib/checkbox/src/LineMark.js +1 -1
- package/lib/code/src/Code.d.ts +8 -8
- package/lib/collapse/src/Collapse.d.ts +8 -8
- package/lib/collapse/src/CollapseItem.d.ts +8 -8
- package/lib/collapse/src/CollapseItemContent.d.ts +6 -6
- package/lib/collapse-transition/src/CollapseTransition.d.ts +9 -9
- package/lib/color-picker/src/AlphaSlider.d.ts +6 -6
- package/lib/color-picker/src/ColorInput.d.ts +5 -5
- package/lib/color-picker/src/ColorInputUnit.d.ts +6 -6
- package/lib/color-picker/src/ColorPicker.d.ts +11 -11
- package/lib/color-picker/src/ColorPickerSwatches.d.ts +4 -4
- package/lib/color-picker/src/ColorPickerTrigger.d.ts +4 -4
- package/lib/color-picker/src/ColorPreview.d.ts +5 -5
- package/lib/color-picker/src/HueSlider.d.ts +5 -5
- package/lib/color-picker/src/Pallete.d.ts +6 -6
- package/lib/config-provider/src/ConfigProvider.d.ts +5 -5
- package/lib/countdown/src/Countdown.d.ts +6 -6
- package/lib/data-table/src/DataTable.d.ts +13 -9
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +1207 -9
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +1210 -7
- package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +4 -4
- package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +4 -4
- package/lib/data-table/src/HeaderButton/ResizeButton.d.ts +6 -6
- package/lib/data-table/src/HeaderButton/SortButton.d.ts +5 -5
- package/lib/data-table/src/MainTable.d.ts +12 -5
- package/lib/data-table/src/TableParts/Body.d.ts +1255 -34
- package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +3 -3
- package/lib/data-table/src/TableParts/BodyRadio.d.ts +3 -3
- package/lib/data-table/src/TableParts/Cell.d.ts +4 -4
- package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +4 -4
- package/lib/data-table/src/TableParts/Header.d.ts +1224 -20
- package/lib/data-table/src/TableParts/SelectionMenu.d.ts +3 -3
- package/lib/data-table/src/use-expand.d.ts +1 -1
- package/lib/data-table/src/use-scroll.d.ts +4 -4
- package/lib/data-table/src/use-table-data.d.ts +1 -1
- package/lib/date-picker/src/DatePicker.d.ts +131 -18
- package/lib/date-picker/src/panel/date.d.ts +985 -13
- package/lib/date-picker/src/panel/daterange.d.ts +991 -19
- package/lib/date-picker/src/panel/datetime.d.ts +985 -13
- package/lib/date-picker/src/panel/datetimerange.d.ts +991 -19
- package/lib/date-picker/src/panel/month.d.ts +985 -13
- package/lib/date-picker/src/panel/monthrange.d.ts +991 -19
- package/lib/date-picker/src/panel/panelHeader.d.ts +6130 -78
- package/lib/date-picker/src/panel/use-calendar.d.ts +980 -8
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +986 -14
- package/lib/date-picker/src/panel/use-panel-common.d.ts +977 -5
- package/lib/descriptions/src/Descriptions.d.ts +7 -7
- package/lib/descriptions/src/DescriptionsItem.d.ts +4 -4
- package/lib/dialog/src/Dialog.d.ts +8 -8
- package/lib/dialog/src/DialogEnvironment.d.ts +6 -6
- package/lib/dialog/src/DialogProvider.d.ts +5505 -9
- package/lib/dialog/src/dialogProps.d.ts +1 -1
- package/lib/discrete/src/InjectionExtractor.d.ts +4 -4
- package/lib/divider/src/Divider.d.ts +7 -7
- package/lib/drawer/src/Drawer.d.ts +9 -9
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +60 -13
- package/lib/drawer/src/DrawerBodyWrapper.js +1 -1
- package/lib/drawer/src/DrawerContent.d.ts +53 -6
- package/lib/dropdown/src/Dropdown.d.ts +9 -9
- package/lib/dropdown/src/DropdownDivider.d.ts +3 -3
- package/lib/dropdown/src/DropdownGroup.d.ts +4 -4
- package/lib/dropdown/src/DropdownGroupHeader.d.ts +10 -10
- package/lib/dropdown/src/DropdownMenu.d.ts +6 -6
- package/lib/dropdown/src/DropdownOption.d.ts +15 -15
- package/lib/dropdown/src/DropdownRenderOption.d.ts +3 -3
- package/lib/dynamic-input/src/DynamicInput.d.ts +11 -9
- package/lib/dynamic-input/src/InputPreset.d.ts +292 -6
- package/lib/dynamic-input/src/PairPreset.d.ts +293 -7
- package/lib/dynamic-tags/src/DynamicTags.d.ts +36 -12
- package/lib/element/src/Element.d.ts +7 -7
- package/lib/ellipsis/src/Ellipsis.d.ts +10 -7
- package/lib/ellipsis/src/PerformantEllipsis.d.ts +6 -6
- package/lib/empty/src/Empty.d.ts +7 -7
- package/lib/equation/src/Equation.d.ts +4 -4
- package/lib/flex/src/Flex.d.ts +7 -7
- package/lib/float-button/src/FloatButton.d.ts +8 -8
- package/lib/float-button/src/styles/index.cssr.js +8 -2
- package/lib/float-button-group/src/FloatButtonGroup.d.ts +7 -7
- package/lib/float-button-group/src/styles/index.cssr.js +7 -1
- package/lib/form/src/Form.d.ts +6 -6
- package/lib/form/src/FormItem.d.ts +17 -11
- package/lib/form/src/FormItemCol.d.ts +11 -5
- package/lib/form/src/FormItemGridItem.d.ts +11 -5
- package/lib/form/src/FormItemRow.d.ts +10 -5
- package/lib/form/src/utils.d.ts +2 -2
- package/lib/global-style/src/GlobalStyle.d.ts +1 -1
- package/lib/gradient-text/src/GradientText.d.ts +7 -7
- package/lib/grid/src/Grid.d.ts +8 -8
- package/lib/grid/src/GridItem.d.ts +8 -8
- package/lib/highlight/src/Highlight.d.ts +6 -6
- package/lib/icon/src/Icon.d.ts +6 -6
- package/lib/icon-wrapper/src/IconWrapper.d.ts +4 -4
- package/lib/image/src/Image.d.ts +16 -11
- package/lib/image/src/ImageGroup.d.ts +10 -6
- package/lib/image/src/ImagePreview.d.ts +13 -13
- package/lib/image/src/ImagePreview.js +3 -3
- package/lib/image/src/icons.d.ts +3 -3
- package/lib/image/src/icons.js +15 -7
- package/lib/infinite-scroll/src/InfiniteScroll.d.ts +17 -5
- package/lib/input/src/Input.d.ts +39 -23
- package/lib/input/src/InputGroup.d.ts +3 -11
- package/lib/input/src/InputGroupLabel.d.ts +7 -7
- package/lib/input/src/WordCount.d.ts +1 -1
- package/lib/input-number/src/InputNumber.d.ts +42 -10
- package/lib/layout/src/Layout.d.ts +39 -17
- package/lib/layout/src/LayoutContent.d.ts +19 -8
- package/lib/layout/src/LayoutFooter.d.ts +7 -7
- package/lib/layout/src/LayoutHeader.d.ts +7 -7
- package/lib/layout/src/LayoutSider.d.ts +20 -9
- package/lib/layout/src/ToggleBar.d.ts +3 -3
- package/lib/layout/src/ToggleButton.d.ts +3 -3
- package/lib/legacy-grid/src/Col.d.ts +7 -7
- package/lib/legacy-grid/src/Row.d.ts +7 -7
- package/lib/legacy-transfer/src/Transfer.d.ts +13 -10
- package/lib/legacy-transfer/src/TransferFilter.d.ts +384 -6
- package/lib/legacy-transfer/src/TransferHeader.d.ts +4 -4
- package/lib/legacy-transfer/src/TransferList.d.ts +401 -6
- package/lib/legacy-transfer/src/TransferListItem.d.ts +384 -6
- package/lib/legacy-transfer/src/use-transfer-data.d.ts +6 -6
- package/lib/list/src/List.d.ts +8 -8
- package/lib/list/src/ListItem.d.ts +3 -3
- package/lib/loading-bar/src/LoadingBar.d.ts +11 -11
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +9 -5
- package/lib/log/src/Log.d.ts +19 -7
- package/lib/log/src/LogLine.d.ts +7 -7
- package/lib/log/src/LogLoader.d.ts +6 -4
- package/lib/marquee/src/Marquee.d.ts +7 -7
- package/lib/mention/src/Mention.d.ts +50 -14
- package/lib/menu/src/Menu.d.ts +16 -12
- package/lib/menu/src/MenuDivider.d.ts +1 -1
- package/lib/menu/src/MenuOption.d.ts +222 -7
- package/lib/menu/src/MenuOptionContent.d.ts +5 -5
- package/lib/menu/src/MenuOptionGroup.d.ts +4 -4
- package/lib/menu/src/Submenu.d.ts +226 -11
- package/lib/message/src/Message.d.ts +8 -8
- package/lib/message/src/MessageEnvironment.d.ts +6 -6
- package/lib/message/src/MessageProvider.d.ts +21 -7
- package/lib/modal/src/BodyWrapper.d.ts +540 -11
- package/lib/modal/src/Modal.d.ts +10 -10
- package/lib/modal/src/ModalEnvironment.d.ts +7 -7
- package/lib/modal/src/presetProps.d.ts +1 -1
- package/lib/notification/src/Notification.d.ts +9 -9
- package/lib/notification/src/NotificationContainer.d.ts +61 -7
- package/lib/notification/src/NotificationEnvironment.d.ts +6 -6
- package/lib/notification/src/NotificationProvider.d.ts +31 -7
- package/lib/number-animation/src/NumberAnimation.d.ts +6 -6
- package/lib/page-header/src/PageHeader.d.ts +7 -7
- package/lib/pagination/src/Pagination.d.ts +18 -15
- package/lib/popconfirm/src/Popconfirm.d.ts +12 -7
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +12 -9
- package/lib/popover/src/Popover.d.ts +11 -9
- package/lib/popover/src/Popover.js +7 -1
- package/lib/popover/src/PopoverBody.d.ts +13 -11
- package/lib/popselect/src/Popselect.d.ts +26 -23
- package/lib/popselect/src/PopselectPanel.d.ts +133 -7
- package/lib/progress/src/Circle.d.ts +4 -4
- package/lib/progress/src/Line.d.ts +4 -4
- package/lib/progress/src/MultipleCircle.d.ts +4 -4
- package/lib/progress/src/Progress.d.ts +7 -7
- package/lib/qr-code/src/QrCode.d.ts +8 -8
- package/lib/radio/src/Radio.d.ts +7 -7
- package/lib/radio/src/RadioButton.d.ts +23 -47
- package/lib/radio/src/RadioGroup.d.ts +9 -9
- package/lib/rate/src/Rate.d.ts +8 -8
- package/lib/rate/src/Rate.js +1 -1
- package/lib/rate/src/StarIcon.d.ts +1 -1
- package/lib/rate/src/StarIcon.js +1 -1
- package/lib/result/src/403.d.ts +1 -2
- package/lib/result/src/403.js +6 -3
- package/lib/result/src/404.d.ts +1 -2
- package/lib/result/src/404.js +10 -7
- package/lib/result/src/418.d.ts +1 -2
- package/lib/result/src/418.js +10 -7
- package/lib/result/src/500.d.ts +1 -2
- package/lib/result/src/500.js +7 -4
- package/lib/result/src/Result.d.ts +7 -7
- package/lib/result/src/Result.js +8 -8
- package/lib/scrollbar/src/Scrollbar.d.ts +17 -5
- package/lib/select/src/Select.d.ts +37 -17
- package/lib/skeleton/src/Skeleton.d.ts +6 -6
- package/lib/slider/src/Slider.d.ts +17 -17
- package/lib/space/src/Space.d.ts +7 -7
- package/lib/spin/src/Spin.d.ts +8 -8
- package/lib/split/src/Split.d.ts +10 -10
- package/lib/statistic/src/Statistic.d.ts +8 -8
- package/lib/steps/src/Step.d.ts +7 -7
- package/lib/steps/src/Steps.d.ts +7 -7
- package/lib/switch/src/Switch.d.ts +9 -9
- package/lib/table/src/Table.d.ts +8 -8
- package/lib/table/src/Tbody.d.ts +1 -1
- package/lib/table/src/Td.d.ts +1 -1
- package/lib/table/src/Th.d.ts +1 -1
- package/lib/table/src/Thead.d.ts +1 -1
- package/lib/table/src/Tr.d.ts +1 -1
- package/lib/tabs/src/Tab.d.ts +16 -16
- package/lib/tabs/src/TabPane.d.ts +8 -8
- package/lib/tabs/src/Tabs.d.ts +58 -19
- package/lib/tag/src/Tag.d.ts +10 -10
- package/lib/theme-editor/src/MaximizeIcon.d.ts +1 -1
- package/lib/theme-editor/src/MinimizeIcon.d.ts +1 -1
- package/lib/theme-editor/src/ThemeEditor.d.ts +19 -10
- package/lib/theme-editor/src/ThemeEditor.js +8 -6
- package/lib/thing/src/Thing.d.ts +4 -4
- package/lib/time/src/Time.d.ts +6 -6
- package/lib/time-picker/src/Panel.d.ts +326 -10
- package/lib/time-picker/src/PanelCol.d.ts +4 -4
- package/lib/time-picker/src/TimePicker.d.ts +89 -15
- package/lib/timeline/src/Timeline.d.ts +4 -4
- package/lib/timeline/src/TimelineItem.d.ts +7 -7
- package/lib/tooltip/src/Tooltip.d.ts +10 -7
- package/lib/transfer/src/Transfer.d.ts +9 -9
- package/lib/transfer/src/TransferFilter.d.ts +397 -6
- package/lib/transfer/src/TransferHeader.d.ts +4 -4
- package/lib/transfer/src/TransferList.d.ts +414 -6
- package/lib/transfer/src/TransferListItem.d.ts +400 -9
- package/lib/transfer/src/use-transfer-data.d.ts +3 -3
- package/lib/tree/src/MotionWrapper.d.ts +3 -3
- package/lib/tree/src/Tree.d.ts +28 -11
- package/lib/tree/src/TreeNode.d.ts +14 -14
- package/lib/tree/src/TreeNodeCheckbox.d.ts +99 -5
- package/lib/tree/src/TreeNodeContent.d.ts +10 -10
- package/lib/tree/src/TreeNodeSwitcher.d.ts +4 -4
- package/lib/tree-select/src/TreeSelect.d.ts +30 -16
- package/lib/typography/src/a.d.ts +6 -6
- package/lib/typography/src/blockquote.d.ts +7 -7
- package/lib/typography/src/create-header.d.ts +7 -7
- package/lib/typography/src/headers.d.ts +42 -42
- package/lib/typography/src/hr.d.ts +6 -6
- package/lib/typography/src/li.d.ts +1 -1
- package/lib/typography/src/ol.d.ts +7 -7
- package/lib/typography/src/p.d.ts +6 -6
- package/lib/typography/src/text.d.ts +7 -7
- package/lib/typography/src/ul.d.ts +7 -7
- package/lib/upload/src/Upload.d.ts +10 -10
- package/lib/upload/src/UploadDragger.d.ts +1 -1
- package/lib/upload/src/UploadFile.d.ts +270 -7
- package/lib/upload/src/UploadFile.js +1 -1
- package/lib/upload/src/UploadFileList.d.ts +1 -1
- package/lib/upload/src/UploadProgress.d.ts +265 -5
- package/lib/upload/src/UploadTrigger.d.ts +5 -5
- package/lib/upload/src/icons.d.ts +2 -2
- package/lib/upload/src/icons.js +3 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/src/VirtualList.d.ts +22 -6
- package/lib/watermark/src/Watermark.d.ts +4 -4
- package/package.json +4 -4
- package/web-types.json +1 -1
|
@@ -24,7 +24,7 @@ export declare const iconWrapperProps: {
|
|
|
24
24
|
}, any>>>;
|
|
25
25
|
};
|
|
26
26
|
export type IconWrapperProps = ExtractPublicPropTypes<typeof iconWrapperProps>;
|
|
27
|
-
export declare const NIconWrapper: import("vue").DefineComponent<{
|
|
27
|
+
export declare const NIconWrapper: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
28
28
|
readonly size: {
|
|
29
29
|
readonly type: NumberConstructor;
|
|
30
30
|
readonly default: 24;
|
|
@@ -47,7 +47,7 @@ export declare const NIconWrapper: import("vue").DefineComponent<{
|
|
|
47
47
|
color: string;
|
|
48
48
|
iconColor: string;
|
|
49
49
|
}, any>>>;
|
|
50
|
-
}
|
|
50
|
+
}>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
51
|
readonly size: {
|
|
52
52
|
readonly type: NumberConstructor;
|
|
53
53
|
readonly default: 24;
|
|
@@ -70,7 +70,7 @@ export declare const NIconWrapper: import("vue").DefineComponent<{
|
|
|
70
70
|
color: string;
|
|
71
71
|
iconColor: string;
|
|
72
72
|
}, any>>>;
|
|
73
|
-
}
|
|
73
|
+
}>> & Readonly<{}>, {
|
|
74
74
|
readonly size: number;
|
|
75
75
|
readonly borderRadius: number;
|
|
76
|
-
}, {}>;
|
|
76
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/lib/image/src/Image.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ImagePreviewInst } from './ImagePreview';
|
|
1
2
|
import type { IntersectionObserverOptions } from './utils';
|
|
2
3
|
import { type ImgHTMLAttributes, type PropType } from 'vue';
|
|
3
4
|
import { type ExtractPublicPropTypes } from '../../_utils';
|
|
@@ -120,7 +121,7 @@ export declare const imageProps: {
|
|
|
120
121
|
onLoad: PropType<(e: Event) => void>;
|
|
121
122
|
};
|
|
122
123
|
export type ImageProps = ExtractPublicPropTypes<typeof imageProps>;
|
|
123
|
-
declare const _default: import("vue").DefineComponent<{
|
|
124
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
124
125
|
onPreviewPrev: PropType<() => void>;
|
|
125
126
|
onPreviewNext: PropType<() => void>;
|
|
126
127
|
showToolbar: {
|
|
@@ -234,23 +235,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
234
235
|
loadDescription: StringConstructor;
|
|
235
236
|
onError: PropType<(e: Event) => void>;
|
|
236
237
|
onLoad: PropType<(e: Event) => void>;
|
|
237
|
-
}
|
|
238
|
+
}>, {
|
|
238
239
|
click: () => void;
|
|
239
|
-
mergedClsPrefix: import("vue").Ref<string>;
|
|
240
|
+
mergedClsPrefix: import("vue").Ref<string, string>;
|
|
240
241
|
groupId: string | undefined;
|
|
241
242
|
previewInstRef: import("vue").Ref<{
|
|
242
243
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
243
244
|
setPreviewSrc: (src?: string) => void;
|
|
244
245
|
toggleShow: () => void;
|
|
246
|
+
} | null, ImagePreviewInst | {
|
|
247
|
+
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
248
|
+
setPreviewSrc: (src?: string) => void;
|
|
249
|
+
toggleShow: () => void;
|
|
245
250
|
} | null>;
|
|
246
|
-
imageRef: import("vue").Ref<HTMLImageElement | null>;
|
|
247
|
-
showError: import("vue").Ref<boolean>;
|
|
248
|
-
shouldStartLoading: import("vue").Ref<boolean>;
|
|
249
|
-
loaded: import("vue").Ref<boolean>;
|
|
251
|
+
imageRef: import("vue").Ref<HTMLImageElement | null, HTMLImageElement | null>;
|
|
252
|
+
showError: import("vue").Ref<boolean, boolean>;
|
|
253
|
+
shouldStartLoading: import("vue").Ref<boolean, boolean>;
|
|
254
|
+
loaded: import("vue").Ref<boolean, boolean>;
|
|
250
255
|
mergedOnClick: (e: MouseEvent) => void;
|
|
251
256
|
mergedOnError: (e: Event) => void;
|
|
252
257
|
mergedOnLoad: (e: Event) => void;
|
|
253
|
-
},
|
|
258
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
254
259
|
onPreviewPrev: PropType<() => void>;
|
|
255
260
|
onPreviewNext: PropType<() => void>;
|
|
256
261
|
showToolbar: {
|
|
@@ -364,11 +369,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
364
369
|
loadDescription: StringConstructor;
|
|
365
370
|
onError: PropType<(e: Event) => void>;
|
|
366
371
|
onLoad: PropType<(e: Event) => void>;
|
|
367
|
-
}
|
|
368
|
-
lazy: boolean;
|
|
372
|
+
}>> & Readonly<{}>, {
|
|
369
373
|
objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
|
|
374
|
+
lazy: boolean;
|
|
370
375
|
showToolbar: boolean;
|
|
371
376
|
showToolbarTooltip: boolean;
|
|
372
377
|
previewDisabled: boolean;
|
|
373
|
-
}, {}>;
|
|
378
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
374
379
|
export default _default;
|
|
@@ -105,7 +105,7 @@ export declare const imageGroupProps: {
|
|
|
105
105
|
}>>>;
|
|
106
106
|
};
|
|
107
107
|
export type ImageGroupProps = ExtractPublicPropTypes<typeof imageGroupProps>;
|
|
108
|
-
declare const _default: import("vue").DefineComponent<{
|
|
108
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
109
109
|
onPreviewPrev: import("vue").PropType<() => void>;
|
|
110
110
|
onPreviewNext: import("vue").PropType<() => void>;
|
|
111
111
|
showToolbar: {
|
|
@@ -201,16 +201,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
201
201
|
}, any>;
|
|
202
202
|
}>;
|
|
203
203
|
}>>>;
|
|
204
|
-
}
|
|
205
|
-
mergedClsPrefix: Ref<string>;
|
|
204
|
+
}>, {
|
|
205
|
+
mergedClsPrefix: Ref<string, string>;
|
|
206
206
|
previewInstRef: Ref<{
|
|
207
207
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
208
208
|
setPreviewSrc: (src?: string) => void;
|
|
209
209
|
toggleShow: () => void;
|
|
210
|
+
} | null, ImagePreviewInst | {
|
|
211
|
+
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
212
|
+
setPreviewSrc: (src?: string) => void;
|
|
213
|
+
toggleShow: () => void;
|
|
210
214
|
} | null>;
|
|
211
215
|
next: () => void;
|
|
212
216
|
prev: () => void;
|
|
213
|
-
},
|
|
217
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
214
218
|
onPreviewPrev: import("vue").PropType<() => void>;
|
|
215
219
|
onPreviewNext: import("vue").PropType<() => void>;
|
|
216
220
|
showToolbar: {
|
|
@@ -306,8 +310,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
306
310
|
}, any>;
|
|
307
311
|
}>;
|
|
308
312
|
}>>>;
|
|
309
|
-
}
|
|
313
|
+
}>> & Readonly<{}>, {
|
|
310
314
|
showToolbar: boolean;
|
|
311
315
|
showToolbarTooltip: boolean;
|
|
312
|
-
}, {}>;
|
|
316
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
313
317
|
export default _default;
|
|
@@ -4,7 +4,7 @@ export interface ImagePreviewInst {
|
|
|
4
4
|
setPreviewSrc: (src?: string) => void;
|
|
5
5
|
toggleShow: () => void;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: import("vue").DefineComponent<{
|
|
7
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
onNext: PropType<() => void>;
|
|
9
9
|
onPrev: PropType<() => void>;
|
|
10
10
|
clsPrefix: {
|
|
@@ -106,17 +106,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
106
106
|
}, any>;
|
|
107
107
|
}>;
|
|
108
108
|
}>>>;
|
|
109
|
-
}
|
|
109
|
+
}>, {
|
|
110
110
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
111
111
|
setPreviewSrc: (src?: string) => void;
|
|
112
112
|
toggleShow: () => void;
|
|
113
|
-
previewRef: import("vue").Ref<HTMLImageElement | null>;
|
|
114
|
-
previewWrapperRef: import("vue").Ref<HTMLDivElement | null>;
|
|
115
|
-
previewSrc: import("vue").Ref<string | undefined>;
|
|
116
|
-
show: import("vue").Ref<boolean>;
|
|
117
|
-
appear: Readonly<import("vue").Ref<boolean>>;
|
|
118
|
-
displayed: import("vue").Ref<boolean>;
|
|
119
|
-
previewedImgProps: import("vue").Ref<import("vue").ImgHTMLAttributes | undefined> | undefined;
|
|
113
|
+
previewRef: import("vue").Ref<HTMLImageElement | null, HTMLImageElement | null>;
|
|
114
|
+
previewWrapperRef: import("vue").Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
115
|
+
previewSrc: import("vue").Ref<string | undefined, string | undefined>;
|
|
116
|
+
show: import("vue").Ref<boolean, boolean>;
|
|
117
|
+
appear: Readonly<import("vue").Ref<boolean, boolean>>;
|
|
118
|
+
displayed: import("vue").Ref<boolean, boolean>;
|
|
119
|
+
previewedImgProps: import("vue").Ref<import("vue").ImgHTMLAttributes | undefined, import("vue").ImgHTMLAttributes | undefined> | undefined;
|
|
120
120
|
handleWheel(e: WheelEvent): void;
|
|
121
121
|
handlePreviewMousedown: (e: MouseEvent) => void;
|
|
122
122
|
handlePreviewDblclick: (e: MouseEvent) => void;
|
|
@@ -139,9 +139,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
139
139
|
'--n-toolbar-border-radius': string;
|
|
140
140
|
'--n-toolbar-box-shadow': string;
|
|
141
141
|
}> | undefined;
|
|
142
|
-
themeClass: import("vue").Ref<string> | undefined;
|
|
142
|
+
themeClass: import("vue").Ref<string, string> | undefined;
|
|
143
143
|
onRender: (() => void) | undefined;
|
|
144
|
-
},
|
|
144
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
145
145
|
onNext: PropType<() => void>;
|
|
146
146
|
onPrev: PropType<() => void>;
|
|
147
147
|
clsPrefix: {
|
|
@@ -243,8 +243,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
243
243
|
}, any>;
|
|
244
244
|
}>;
|
|
245
245
|
}>>>;
|
|
246
|
-
}
|
|
246
|
+
}>> & Readonly<{}>, {
|
|
247
247
|
showToolbar: boolean;
|
|
248
248
|
showToolbarTooltip: boolean;
|
|
249
|
-
}, {}>;
|
|
249
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
250
250
|
export default _default;
|
|
@@ -367,8 +367,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
367
367
|
render() {
|
|
368
368
|
var _a, _b;
|
|
369
369
|
const { clsPrefix, renderToolbar, withTooltip } = this;
|
|
370
|
-
const prevNode = withTooltip((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: clsPrefix, onClick: this.handleSwitchPrev }, { default:
|
|
371
|
-
const nextNode = withTooltip((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: clsPrefix, onClick: this.handleSwitchNext }, { default:
|
|
370
|
+
const prevNode = withTooltip((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: clsPrefix, onClick: this.handleSwitchPrev }, { default: icons_2.renderPrevIcon }), 'tipPrevious');
|
|
371
|
+
const nextNode = withTooltip((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: clsPrefix, onClick: this.handleSwitchNext }, { default: icons_2.renderNextIcon }), 'tipNext');
|
|
372
372
|
const rotateCounterclockwiseNode = withTooltip((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: clsPrefix, onClick: this.rotateCounterclockwise }, {
|
|
373
373
|
default: () => (0, vue_1.h)(icons_1.RotateCounterclockwiseIcon, null)
|
|
374
374
|
}), 'tipCounterclockwise');
|
|
@@ -382,7 +382,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
382
382
|
}), 'tipOriginalSize');
|
|
383
383
|
const zoomOutNode = withTooltip((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: clsPrefix, onClick: this.zoomOut }, { default: () => (0, vue_1.h)(icons_1.ZoomOutIcon, null) }), 'tipZoomOut');
|
|
384
384
|
const downloadNode = withTooltip((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: clsPrefix, onClick: this.handleDownloadClick }, { default: () => (0, vue_1.h)(icons_1.DownloadIcon, null) }), 'tipDownload');
|
|
385
|
-
const closeNode = withTooltip((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: clsPrefix, onClick: this.toggleShow }, { default:
|
|
385
|
+
const closeNode = withTooltip((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: clsPrefix, onClick: this.toggleShow }, { default: icons_2.renderCloseIcon }), 'tipClose');
|
|
386
386
|
const zoomInNode = withTooltip((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: clsPrefix, onClick: this.zoomIn }, { default: () => (0, vue_1.h)(icons_1.ZoomInIcon, null) }), 'tipZoomIn');
|
|
387
387
|
return ((0, vue_1.h)(vue_1.Fragment, null, (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 :
|
|
388
388
|
_b.call(_a),
|
package/lib/image/src/icons.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
export declare
|
|
3
|
-
export declare
|
|
1
|
+
export declare function renderPrevIcon(): JSX.Element;
|
|
2
|
+
export declare function renderNextIcon(): JSX.Element;
|
|
3
|
+
export declare function renderCloseIcon(): JSX.Element;
|
package/lib/image/src/icons.js
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.renderPrevIcon = renderPrevIcon;
|
|
4
|
+
exports.renderNextIcon = renderNextIcon;
|
|
5
|
+
exports.renderCloseIcon = renderCloseIcon;
|
|
4
6
|
const vue_1 = require("vue");
|
|
5
|
-
|
|
6
|
-
(0, vue_1.h)("
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
(0, vue_1.h)("
|
|
7
|
+
function renderPrevIcon() {
|
|
8
|
+
return ((0, vue_1.h)("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
9
|
+
(0, vue_1.h)("path", { d: "M6 5C5.75454 5 5.55039 5.17688 5.50806 5.41012L5.5 5.5V14.5C5.5 14.7761 5.72386 15 6 15C6.24546 15 6.44961 14.8231 6.49194 14.5899L6.5 14.5V5.5C6.5 5.22386 6.27614 5 6 5ZM13.8536 5.14645C13.68 4.97288 13.4106 4.9536 13.2157 5.08859L13.1464 5.14645L8.64645 9.64645C8.47288 9.82001 8.4536 10.0894 8.58859 10.2843L8.64645 10.3536L13.1464 14.8536C13.3417 15.0488 13.6583 15.0488 13.8536 14.8536C14.0271 14.68 14.0464 14.4106 13.9114 14.2157L13.8536 14.1464L9.70711 10L13.8536 5.85355C14.0488 5.65829 14.0488 5.34171 13.8536 5.14645Z", fill: "currentColor" })));
|
|
10
|
+
}
|
|
11
|
+
function renderNextIcon() {
|
|
12
|
+
return ((0, vue_1.h)("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
13
|
+
(0, vue_1.h)("path", { d: "M13.5 5C13.7455 5 13.9496 5.17688 13.9919 5.41012L14 5.5V14.5C14 14.7761 13.7761 15 13.5 15C13.2545 15 13.0504 14.8231 13.0081 14.5899L13 14.5V5.5C13 5.22386 13.2239 5 13.5 5ZM5.64645 5.14645C5.82001 4.97288 6.08944 4.9536 6.28431 5.08859L6.35355 5.14645L10.8536 9.64645C11.0271 9.82001 11.0464 10.0894 10.9114 10.2843L10.8536 10.3536L6.35355 14.8536C6.15829 15.0488 5.84171 15.0488 5.64645 14.8536C5.47288 14.68 5.4536 14.4106 5.58859 14.2157L5.64645 14.1464L9.79289 10L5.64645 5.85355C5.45118 5.65829 5.45118 5.34171 5.64645 5.14645Z", fill: "currentColor" })));
|
|
14
|
+
}
|
|
15
|
+
function renderCloseIcon() {
|
|
16
|
+
return ((0, vue_1.h)("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
17
|
+
(0, vue_1.h)("path", { d: "M4.089 4.216l.057-.07a.5.5 0 0 1 .638-.057l.07.057L10 9.293l5.146-5.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 .057.638l-.057.07L10.707 10l5.147 5.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.638.057l-.07-.057L10 10.707l-5.146 5.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1-.057-.638l.057-.07L9.293 10L4.146 4.854a.5.5 0 0 1-.057-.638l.057-.07l-.057.07z", fill: "currentColor" })));
|
|
18
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
2
|
import type { ScrollbarProps } from '../../scrollbar/src/Scrollbar';
|
|
3
3
|
import { type PropType } from 'vue';
|
|
4
|
+
import { type ScrollbarInst } from '../../_internal';
|
|
4
5
|
export declare const infiniteScrollProps: {
|
|
5
6
|
readonly distance: {
|
|
6
7
|
readonly type: NumberConstructor;
|
|
@@ -10,14 +11,14 @@ export declare const infiniteScrollProps: {
|
|
|
10
11
|
readonly scrollbarProps: PropType<ScrollbarProps>;
|
|
11
12
|
};
|
|
12
13
|
export type InfiniteScrollProps = ExtractPublicPropTypes<typeof infiniteScrollProps>;
|
|
13
|
-
declare const _default: import("vue").DefineComponent<{
|
|
14
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
15
|
readonly distance: {
|
|
15
16
|
readonly type: NumberConstructor;
|
|
16
17
|
readonly default: 0;
|
|
17
18
|
};
|
|
18
19
|
readonly onLoad: PropType<() => Promise<void> | void>;
|
|
19
20
|
readonly scrollbarProps: PropType<ScrollbarProps>;
|
|
20
|
-
}
|
|
21
|
+
}>, {
|
|
21
22
|
scrollbarInstRef: import("vue").Ref<{
|
|
22
23
|
$el: HTMLElement;
|
|
23
24
|
containerRef: HTMLElement | null;
|
|
@@ -29,17 +30,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
30
|
sync: () => void;
|
|
30
31
|
handleMouseEnterWrapper: () => void;
|
|
31
32
|
handleMouseLeaveWrapper: () => void;
|
|
33
|
+
} | null, ScrollbarInst | {
|
|
34
|
+
$el: HTMLElement;
|
|
35
|
+
containerRef: HTMLElement | null;
|
|
36
|
+
contentRef: HTMLElement | null;
|
|
37
|
+
containerScrollTop: number;
|
|
38
|
+
syncUnifiedContainer: () => void;
|
|
39
|
+
scrollTo: import("../../_internal/scrollbar/src/Scrollbar").ScrollTo;
|
|
40
|
+
scrollBy: import("../../_internal/scrollbar/src/Scrollbar").ScrollBy;
|
|
41
|
+
sync: () => void;
|
|
42
|
+
handleMouseEnterWrapper: () => void;
|
|
43
|
+
handleMouseLeaveWrapper: () => void;
|
|
32
44
|
} | null>;
|
|
33
45
|
handleScroll: () => void;
|
|
34
46
|
handleWheel: (e: WheelEvent) => void;
|
|
35
|
-
},
|
|
47
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
48
|
readonly distance: {
|
|
37
49
|
readonly type: NumberConstructor;
|
|
38
50
|
readonly default: 0;
|
|
39
51
|
};
|
|
40
52
|
readonly onLoad: PropType<() => Promise<void> | void>;
|
|
41
53
|
readonly scrollbarProps: PropType<ScrollbarProps>;
|
|
42
|
-
}
|
|
54
|
+
}>> & Readonly<{}>, {
|
|
43
55
|
readonly distance: number;
|
|
44
|
-
}, {}>;
|
|
56
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
57
|
export default _default;
|
package/lib/input/src/Input.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { FormValidationStatus } from '../../form/src/interface';
|
|
2
2
|
import type { OnUpdateValue, Size } from './interface';
|
|
3
3
|
import { type InputHTMLAttributes, type PropType, type TextareaHTMLAttributes, type VNodeChild } from 'vue';
|
|
4
|
+
import { type ScrollbarInst } from '../../_internal';
|
|
4
5
|
import { type ExtractPublicPropTypes, type MaybeArray } from '../../_utils';
|
|
5
6
|
export declare const inputProps: {
|
|
6
7
|
bordered: {
|
|
@@ -40,7 +41,7 @@ export declare const inputProps: {
|
|
|
40
41
|
pair: BooleanConstructor;
|
|
41
42
|
separator: StringConstructor;
|
|
42
43
|
readonly: {
|
|
43
|
-
type: (
|
|
44
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
44
45
|
default: boolean;
|
|
45
46
|
};
|
|
46
47
|
passivelyActivated: BooleanConstructor;
|
|
@@ -285,7 +286,7 @@ export declare const inputProps: {
|
|
|
285
286
|
}, any>>>;
|
|
286
287
|
};
|
|
287
288
|
export type InputProps = ExtractPublicPropTypes<typeof inputProps>;
|
|
288
|
-
declare const _default: import("vue").DefineComponent<{
|
|
289
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
289
290
|
bordered: {
|
|
290
291
|
type: PropType<boolean | undefined>;
|
|
291
292
|
default: undefined;
|
|
@@ -323,7 +324,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
323
324
|
pair: BooleanConstructor;
|
|
324
325
|
separator: StringConstructor;
|
|
325
326
|
readonly: {
|
|
326
|
-
type: (
|
|
327
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
327
328
|
default: boolean;
|
|
328
329
|
};
|
|
329
330
|
passivelyActivated: BooleanConstructor;
|
|
@@ -566,13 +567,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
566
567
|
paddingLarge: string;
|
|
567
568
|
clearSize: string;
|
|
568
569
|
}, any>>>;
|
|
569
|
-
}
|
|
570
|
-
wrapperElRef: import("vue").Ref<HTMLElement | null>;
|
|
571
|
-
inputElRef: import("vue").Ref<HTMLInputElement | null>;
|
|
572
|
-
inputMirrorElRef: import("vue").Ref<HTMLElement | null>;
|
|
573
|
-
inputEl2Ref: import("vue").Ref<HTMLInputElement | null>;
|
|
574
|
-
textareaElRef: import("vue").Ref<HTMLTextAreaElement | null>;
|
|
575
|
-
textareaMirrorElRef: import("vue").Ref<HTMLElement | null>;
|
|
570
|
+
}>, {
|
|
571
|
+
wrapperElRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
572
|
+
inputElRef: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
573
|
+
inputMirrorElRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
574
|
+
inputEl2Ref: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
575
|
+
textareaElRef: import("vue").Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
|
|
576
|
+
textareaMirrorElRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
576
577
|
textareaScrollbarInstRef: import("vue").Ref<{
|
|
577
578
|
$el: HTMLElement;
|
|
578
579
|
containerRef: HTMLElement | null;
|
|
@@ -584,31 +585,46 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
584
585
|
sync: () => void;
|
|
585
586
|
handleMouseEnterWrapper: () => void;
|
|
586
587
|
handleMouseLeaveWrapper: () => void;
|
|
588
|
+
} | null, ScrollbarInst | {
|
|
589
|
+
$el: HTMLElement;
|
|
590
|
+
containerRef: HTMLElement | null;
|
|
591
|
+
contentRef: HTMLElement | null;
|
|
592
|
+
containerScrollTop: number;
|
|
593
|
+
syncUnifiedContainer: () => void;
|
|
594
|
+
scrollTo: import("../../_internal/scrollbar/src/Scrollbar").ScrollTo;
|
|
595
|
+
scrollBy: import("../../_internal/scrollbar/src/Scrollbar").ScrollBy;
|
|
596
|
+
sync: () => void;
|
|
597
|
+
handleMouseEnterWrapper: () => void;
|
|
598
|
+
handleMouseLeaveWrapper: () => void;
|
|
587
599
|
} | null>;
|
|
588
|
-
rtlEnabled: import("vue").Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
|
|
589
|
-
uncontrolledValue: import("vue").Ref<string | [string, string] | null>;
|
|
600
|
+
rtlEnabled: import("vue").Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined, import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
|
|
601
|
+
uncontrolledValue: import("vue").Ref<string | [string, string] | null, string | [string, string] | null>;
|
|
590
602
|
mergedValue: import("vue").ComputedRef<string | [string, string] | null>;
|
|
591
|
-
passwordVisible: import("vue").Ref<boolean>;
|
|
603
|
+
passwordVisible: import("vue").Ref<boolean, boolean>;
|
|
592
604
|
mergedPlaceholder: import("vue").ComputedRef<[string] | [string, string]>;
|
|
593
605
|
showPlaceholder1: import("vue").ComputedRef<string | false>;
|
|
594
606
|
showPlaceholder2: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
595
607
|
mergedFocus: import("vue").ComputedRef<boolean>;
|
|
596
|
-
isComposing: import("vue").Ref<boolean>;
|
|
597
|
-
activated: import("vue").Ref<boolean>;
|
|
608
|
+
isComposing: import("vue").Ref<boolean, boolean>;
|
|
609
|
+
activated: import("vue").Ref<boolean, boolean>;
|
|
598
610
|
showClearButton: import("vue").ComputedRef<boolean>;
|
|
599
611
|
mergedSize: import("vue").ComputedRef<"small" | "medium" | "large" | "tiny">;
|
|
600
612
|
mergedDisabled: import("vue").ComputedRef<boolean>;
|
|
601
613
|
textDecorationStyle: import("vue").ComputedRef<string[] | {
|
|
602
614
|
textDecoration: string;
|
|
603
615
|
}[]>;
|
|
604
|
-
mergedClsPrefix: import("vue").Ref<string>;
|
|
616
|
+
mergedClsPrefix: import("vue").Ref<string, string>;
|
|
605
617
|
mergedBordered: import("vue").ComputedRef<boolean>;
|
|
606
618
|
mergedShowPasswordOn: import("vue").ComputedRef<"click" | "mousedown" | undefined>;
|
|
607
619
|
placeholderStyle: import("vue").Ref<{
|
|
608
620
|
top: string;
|
|
621
|
+
}, {
|
|
622
|
+
top: string;
|
|
623
|
+
} | {
|
|
624
|
+
top: string;
|
|
609
625
|
}>;
|
|
610
626
|
mergedStatus: import("vue").ComputedRef<FormValidationStatus | undefined>;
|
|
611
|
-
textAreaScrollContainerWidth: import("vue").Ref<number | undefined>;
|
|
627
|
+
textAreaScrollContainerWidth: import("vue").Ref<number | undefined, number | undefined>;
|
|
612
628
|
handleTextAreaScroll: (e: Event) => void;
|
|
613
629
|
handleCompositionStart: () => void;
|
|
614
630
|
handleCompositionEnd: (e: CompositionEvent) => void;
|
|
@@ -749,7 +765,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
749
765
|
'--n-icon-color-disabled': string;
|
|
750
766
|
'--n-suffix-text-color': string;
|
|
751
767
|
}> | undefined;
|
|
752
|
-
themeClass: import("vue").Ref<string> | undefined;
|
|
768
|
+
themeClass: import("vue").Ref<string, string> | undefined;
|
|
753
769
|
onRender: (() => void) | undefined;
|
|
754
770
|
isCompositing: import("vue").Ref<boolean>;
|
|
755
771
|
blur: () => void;
|
|
@@ -759,7 +775,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
759
775
|
activate: () => void;
|
|
760
776
|
deactivate: () => void;
|
|
761
777
|
scrollTo: (options: ScrollToOptions) => void;
|
|
762
|
-
},
|
|
778
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
763
779
|
bordered: {
|
|
764
780
|
type: PropType<boolean | undefined>;
|
|
765
781
|
default: undefined;
|
|
@@ -797,7 +813,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
797
813
|
pair: BooleanConstructor;
|
|
798
814
|
separator: StringConstructor;
|
|
799
815
|
readonly: {
|
|
800
|
-
type: (
|
|
816
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
801
817
|
default: boolean;
|
|
802
818
|
};
|
|
803
819
|
passivelyActivated: BooleanConstructor;
|
|
@@ -1040,11 +1056,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1040
1056
|
paddingLarge: string;
|
|
1041
1057
|
clearSize: string;
|
|
1042
1058
|
}, any>>>;
|
|
1043
|
-
}
|
|
1059
|
+
}>> & Readonly<{}>, {
|
|
1044
1060
|
type: "textarea" | "text" | "password";
|
|
1045
1061
|
readonly: string | boolean;
|
|
1046
|
-
round: boolean;
|
|
1047
1062
|
disabled: boolean | undefined;
|
|
1063
|
+
round: boolean;
|
|
1048
1064
|
autofocus: boolean;
|
|
1049
1065
|
loading: boolean;
|
|
1050
1066
|
autosize: boolean | {
|
|
@@ -1065,5 +1081,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1065
1081
|
internalForceFocus: boolean;
|
|
1066
1082
|
internalLoadingBeforeSuffix: boolean;
|
|
1067
1083
|
showPasswordToggle: boolean;
|
|
1068
|
-
}, {}>;
|
|
1084
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1069
1085
|
export default _default;
|
|
@@ -3,15 +3,7 @@ export declare const inputGroupProps: {
|
|
|
3
3
|
[key in any]: never;
|
|
4
4
|
};
|
|
5
5
|
export type InputGroupProps = ExtractPublicPropTypes<typeof inputGroupProps>;
|
|
6
|
-
declare const _default: import("vue").DefineComponent<{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
[x: symbol]: never;
|
|
10
|
-
}, {
|
|
11
|
-
mergedClsPrefix: import("vue").Ref<string>;
|
|
12
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
[x: string]: never;
|
|
14
|
-
[x: number]: never;
|
|
15
|
-
[x: symbol]: never;
|
|
16
|
-
}>>, {}, {}>;
|
|
6
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
7
|
+
mergedClsPrefix: import("vue").Ref<string, string>;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
9
|
export default _default;
|
|
@@ -198,7 +198,7 @@ export declare const inputGroupLabelProps: {
|
|
|
198
198
|
}, any>>>;
|
|
199
199
|
};
|
|
200
200
|
export type InputGroupLabelProps = ExtractPublicPropTypes<typeof inputGroupLabelProps>;
|
|
201
|
-
declare const _default: import("vue").DefineComponent<{
|
|
201
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
202
202
|
readonly size: {
|
|
203
203
|
readonly type: PropType<Size>;
|
|
204
204
|
readonly default: "medium";
|
|
@@ -393,8 +393,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
393
393
|
paddingLarge: string;
|
|
394
394
|
clearSize: string;
|
|
395
395
|
}, any>>>;
|
|
396
|
-
}
|
|
397
|
-
mergedClsPrefix: import("vue").Ref<string>;
|
|
396
|
+
}>, {
|
|
397
|
+
mergedClsPrefix: import("vue").Ref<string, string>;
|
|
398
398
|
mergedBordered: import("vue").ComputedRef<boolean>;
|
|
399
399
|
cssVars: import("vue").ComputedRef<{
|
|
400
400
|
'--n-bezier': string;
|
|
@@ -406,9 +406,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
406
406
|
'--n-line-height': string;
|
|
407
407
|
'--n-height': string;
|
|
408
408
|
}> | undefined;
|
|
409
|
-
themeClass: import("vue").Ref<string> | undefined;
|
|
409
|
+
themeClass: import("vue").Ref<string, string> | undefined;
|
|
410
410
|
onRender: (() => void) | undefined;
|
|
411
|
-
},
|
|
411
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
412
412
|
readonly size: {
|
|
413
413
|
readonly type: PropType<Size>;
|
|
414
414
|
readonly default: "medium";
|
|
@@ -603,8 +603,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
603
603
|
paddingLarge: string;
|
|
604
604
|
clearSize: string;
|
|
605
605
|
}, any>>>;
|
|
606
|
-
}
|
|
606
|
+
}>> & Readonly<{}>, {
|
|
607
607
|
readonly size: Size;
|
|
608
608
|
readonly bordered: boolean | undefined;
|
|
609
|
-
}, {}>;
|
|
609
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
610
610
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|