naive-ui 2.34.4 → 2.36.0
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/README.md +2 -0
- package/README.zh-CN.md +2 -0
- package/dist/index.js +47537 -44859
- package/dist/index.prod.js +2 -2
- package/es/_internal/clear/src/Clear.d.ts +1 -1
- package/es/_internal/clear/src/Clear.js +2 -0
- package/es/_internal/close/src/Close.d.ts +1 -1
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +1 -0
- package/es/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
- package/es/_internal/icon/src/Icon.d.ts +1 -1
- 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/Backward.d.ts +1 -1
- package/es/_internal/icons/Cancel.d.ts +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/Close.d.ts +1 -1
- package/es/_internal/icons/Date.d.ts +1 -1
- package/es/_internal/icons/Download.d.ts +1 -1
- package/es/_internal/icons/Empty.d.ts +1 -1
- package/es/_internal/icons/Error.d.ts +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/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/RotateClockwise.d.ts +1 -1
- package/es/_internal/icons/RotateCounterclockwise.d.ts +1 -1
- package/es/_internal/icons/Search.d.ts +1 -1
- package/es/_internal/icons/Success.d.ts +1 -1
- package/es/_internal/icons/Switcher.d.ts +1 -1
- package/es/_internal/icons/Time.d.ts +1 -1
- package/es/_internal/icons/To.d.ts +1 -1
- package/es/_internal/icons/Trash.d.ts +1 -1
- package/es/_internal/icons/Warning.d.ts +1 -1
- package/es/_internal/icons/ZoomIn.d.ts +1 -1
- package/es/_internal/icons/ZoomOut.d.ts +1 -1
- package/es/_internal/icons/replaceable.d.ts +1 -1
- package/es/_internal/loading/src/Loading.d.ts +1 -1
- package/es/_internal/menu-mask/src/MenuMask.d.ts +1 -1
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +2 -2
- package/es/_internal/scrollbar/src/Scrollbar.js +11 -6
- package/es/_internal/scrollbar/src/styles/index.cssr.js +1 -0
- package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +1 -1
- package/es/_internal/select-menu/src/SelectMenu.d.ts +4 -4
- package/es/_internal/select-menu/src/SelectMenu.js +2 -1
- package/es/_internal/select-menu/src/SelectOption.d.ts +1 -1
- package/es/_internal/select-menu/src/styles/index.cssr.js +8 -0
- package/es/_internal/selection/src/Selection.d.ts +5 -2
- package/es/_internal/selection/src/Selection.js +17 -7
- package/es/_internal/slot-machine/src/SlotMachine.d.ts +1 -1
- package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
- package/es/_internal/suffix/src/Suffix.d.ts +1 -1
- package/es/_internal/wave/src/Wave.d.ts +1 -1
- package/es/_mixins/use-config.d.ts +2 -1
- package/es/_mixins/use-config.js +10 -5
- package/es/_mixins/use-form-item.d.ts +1 -1
- package/es/_mixins/use-style.d.ts +1 -1
- package/es/_mixins/use-style.js +1 -1
- package/es/_styles/common/_common.js +1 -1
- package/es/_styles/common/light.js +2 -2
- package/es/_utils/composable/use-collection.d.ts +1 -1
- package/es/_utils/composable/use-collection.js +2 -0
- package/es/_utils/css/color-to-class.js +1 -1
- package/es/_utils/cssr/index.d.ts +1 -1
- package/es/_utils/vue/wrapper.d.ts +1 -1
- package/es/affix/src/Affix.d.ts +4 -4
- package/es/affix/src/Affix.js +4 -2
- package/es/alert/src/Alert.d.ts +2 -2
- package/es/alert/src/Alert.js +7 -1
- package/es/alert/src/styles/index.cssr.js +4 -0
- package/es/anchor/src/AnchorAdapter.d.ts +2 -2
- package/es/anchor/src/BaseAnchor.d.ts +1 -1
- package/es/anchor/src/BaseAnchor.js +3 -1
- package/es/anchor/src/Link.d.ts +1 -1
- package/es/auto-complete/src/AutoComplete.d.ts +3 -3
- package/es/auto-complete/src/interface.d.ts +2 -1
- package/es/avatar/src/Avatar.d.ts +2 -2
- package/es/avatar-group/src/AvatarGroup.d.ts +2 -2
- package/es/back-top/src/BackTop.d.ts +2 -2
- package/es/badge/src/Badge.d.ts +2 -2
- package/es/breadcrumb/src/Breadcrumb.d.ts +2 -2
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
- package/es/button/src/Button.d.ts +3 -3
- package/es/button/src/Button.js +2 -2
- package/es/button-group/src/ButtonGroup.d.ts +2 -2
- package/es/calendar/src/Calendar.d.ts +2 -2
- package/es/card/src/Card.d.ts +23 -7
- package/es/card/src/Card.js +12 -5
- package/es/carousel/src/Carousel.d.ts +7 -7
- package/es/carousel/src/Carousel.js +8 -3
- package/es/carousel/src/CarouselArrow.d.ts +2 -2
- package/es/carousel/src/CarouselContext.js +3 -1
- package/es/carousel/src/CarouselDots.d.ts +2 -2
- package/es/carousel/src/CarouselDots.js +7 -1
- package/es/carousel/src/CarouselItem.d.ts +2 -2
- package/es/cascader/src/Cascader.d.ts +3 -2
- package/es/cascader/src/CascaderMenu.d.ts +1 -1
- package/es/cascader/src/CascaderOption.d.ts +1 -1
- package/es/cascader/src/CascaderSelectMenu.d.ts +2 -2
- package/es/cascader/src/CascaderSubmenu.d.ts +1 -1
- package/es/checkbox/src/Checkbox.d.ts +8 -8
- package/es/checkbox/src/Checkbox.js +10 -3
- package/es/checkbox/src/CheckboxGroup.d.ts +2 -2
- package/es/checkbox/src/styles/index.cssr.js +9 -11
- package/es/code/src/Code.d.ts +2 -2
- package/es/collapse/src/Collapse.d.ts +2 -2
- package/es/collapse/src/CollapseItem.d.ts +2 -2
- package/es/collapse/src/CollapseItemContent.d.ts +1 -1
- package/es/collapse-transition/src/CollapseTransition.d.ts +2 -2
- package/es/color-picker/src/AlphaSlider.d.ts +1 -1
- package/es/color-picker/src/ColorInput.d.ts +1 -1
- package/es/color-picker/src/ColorInputUnit.d.ts +1 -1
- package/es/color-picker/src/ColorPicker.d.ts +2 -2
- package/es/color-picker/src/ColorPicker.js +6 -2
- package/es/color-picker/src/ColorPickerSwatches.d.ts +1 -1
- package/es/color-picker/src/ColorPickerSwatches.js +9 -4
- package/es/color-picker/src/ColorPickerTrigger.d.ts +1 -1
- package/es/color-picker/src/ColorPreview.d.ts +1 -1
- package/es/color-picker/src/HueSlider.d.ts +1 -1
- package/es/color-picker/src/Pallete.d.ts +1 -1
- package/es/components.d.ts +3 -0
- package/es/components.js +3 -0
- package/es/config-provider/src/ConfigProvider.d.ts +21 -8
- package/es/config-provider/src/ConfigProvider.js +4 -2
- package/es/config-provider/src/config.js +5 -5
- package/es/config-provider/src/internal-interface.d.ts +5 -1
- package/es/countdown/src/Countdown.d.ts +1 -1
- package/es/data-table/index.d.ts +1 -1
- package/es/data-table/src/DataTable.d.ts +5 -5
- package/es/data-table/src/DataTable.js +2 -7
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +1 -1
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +1 -1
- package/es/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
- package/es/data-table/src/HeaderButton/RenderSorter.d.ts +1 -1
- package/es/data-table/src/HeaderButton/ResizeButton.d.ts +1 -1
- package/es/data-table/src/HeaderButton/ResizeButton.js +1 -0
- package/es/data-table/src/HeaderButton/SortButton.d.ts +1 -1
- package/es/data-table/src/MainTable.d.ts +1 -1
- package/es/data-table/src/MainTable.js +1 -0
- package/es/data-table/src/TableParts/Body.d.ts +5 -6
- package/es/data-table/src/TableParts/Body.js +22 -15
- package/es/data-table/src/TableParts/BodyCheckbox.d.ts +1 -1
- package/es/data-table/src/TableParts/BodyRadio.d.ts +1 -1
- package/es/data-table/src/TableParts/Cell.d.ts +1 -1
- package/es/data-table/src/TableParts/Cell.js +5 -1
- package/es/data-table/src/TableParts/ExpandTrigger.d.ts +1 -1
- package/es/data-table/src/TableParts/ExpandTrigger.js +3 -1
- package/es/data-table/src/TableParts/Header.d.ts +1 -3
- package/es/data-table/src/TableParts/Header.js +6 -12
- package/es/data-table/src/TableParts/SelectionMenu.d.ts +1 -1
- package/es/data-table/src/interface.d.ts +3 -5
- package/es/data-table/src/styles/index.cssr.js +2 -0
- package/es/data-table/src/use-scroll.d.ts +1 -2
- package/es/data-table/src/use-scroll.js +21 -13
- package/es/date-picker/src/DatePicker.d.ts +2 -2
- package/es/date-picker/src/panel/date.d.ts +4 -4
- package/es/date-picker/src/panel/date.js +3 -1
- package/es/date-picker/src/panel/daterange.d.ts +4 -4
- package/es/date-picker/src/panel/daterange.js +10 -2
- package/es/date-picker/src/panel/datetime.d.ts +4 -4
- package/es/date-picker/src/panel/datetime.js +3 -1
- package/es/date-picker/src/panel/datetimerange.d.ts +4 -4
- package/es/date-picker/src/panel/datetimerange.js +16 -4
- package/es/date-picker/src/panel/month.d.ts +4 -4
- package/es/date-picker/src/panel/month.js +4 -1
- package/es/date-picker/src/panel/monthrange.d.ts +4 -4
- package/es/date-picker/src/panel/panelHeader.d.ts +722 -752
- package/es/date-picker/src/panel/use-calendar.d.ts +3 -3
- package/es/date-picker/src/panel/use-calendar.js +2 -2
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +3 -3
- package/es/date-picker/src/panel/use-dual-calendar.js +4 -4
- package/es/date-picker/src/styles/index.cssr.js +1 -0
- package/es/date-picker/src/utils.js +1 -6
- package/es/date-picker/styles/_common.js +1 -1
- package/es/descriptions/src/Descriptions.d.ts +8 -2
- package/es/descriptions/src/Descriptions.js +28 -8
- package/es/descriptions/src/DescriptionsItem.d.ts +7 -1
- package/es/descriptions/src/DescriptionsItem.js +2 -0
- package/es/dialog/src/Dialog.d.ts +2 -2
- package/es/dialog/src/Dialog.js +6 -2
- package/es/dialog/src/DialogEnvironment.d.ts +2 -2
- package/es/dialog/src/DialogProvider.d.ts +4 -4
- package/es/dialog/src/DialogProvider.js +3 -1
- package/es/dialog/src/dialogProps.d.ts +1 -1
- package/es/discrete/src/InjectionExtractor.d.ts +1 -1
- package/es/divider/src/Divider.d.ts +2 -2
- package/es/drawer/src/Drawer.d.ts +15 -2
- package/es/drawer/src/Drawer.js +2 -2
- package/es/drawer/src/DrawerBodyWrapper.d.ts +9 -1
- package/es/drawer/src/DrawerBodyWrapper.js +25 -1
- package/es/drawer/src/DrawerContent.d.ts +1 -1
- package/es/dropdown/src/Dropdown.d.ts +20 -2
- package/es/dropdown/src/Dropdown.js +1 -1
- package/es/dropdown/src/DropdownDivider.d.ts +1 -1
- package/es/dropdown/src/DropdownGroup.d.ts +1 -1
- package/es/dropdown/src/DropdownGroupHeader.d.ts +1 -1
- package/es/dropdown/src/DropdownMenu.d.ts +1 -1
- package/es/dropdown/src/DropdownMenu.js +4 -1
- package/es/dropdown/src/DropdownOption.d.ts +6 -5
- package/es/dropdown/src/DropdownOption.js +2 -4
- package/es/dropdown/src/DropdownRenderOption.d.ts +1 -1
- package/es/dynamic-input/src/DynamicInput.d.ts +5 -2
- package/es/dynamic-input/src/DynamicInput.js +21 -9
- package/es/dynamic-input/src/InputPreset.d.ts +1 -1
- package/es/dynamic-input/src/PairPreset.d.ts +1 -1
- package/es/dynamic-tags/src/DynamicTags.d.ts +8 -2
- package/es/dynamic-tags/src/DynamicTags.js +6 -4
- package/es/element/src/Element.d.ts +2 -2
- package/es/ellipsis/index.d.ts +1 -0
- package/es/ellipsis/index.js +1 -0
- package/es/ellipsis/src/Ellipsis.d.ts +3 -1
- package/es/ellipsis/src/Ellipsis.js +5 -4
- package/es/ellipsis/src/PerformantEllipsis.d.ts +164 -0
- package/es/ellipsis/src/PerformantEllipsis.js +52 -0
- package/es/empty/src/Empty.d.ts +2 -2
- package/es/equation/index.d.ts +1 -0
- package/es/equation/src/Equation.d.ts +6 -4
- package/es/form/src/Form.d.ts +2 -2
- package/es/form/src/Form.js +3 -1
- package/es/form/src/FormItem.d.ts +3 -3
- package/es/form/src/FormItemCol.d.ts +1 -1
- package/es/form/src/FormItemGridItem.d.ts +1 -1
- package/es/form/src/FormItemRow.d.ts +1 -1
- package/es/form/src/utils.d.ts +1 -1
- package/es/global-style/src/GlobalStyle.d.ts +1 -1
- package/es/gradient-text/src/GradientText.d.ts +2 -2
- package/es/grid/src/Grid.d.ts +2 -2
- package/es/grid/src/Grid.js +6 -3
- package/es/grid/src/GridItem.d.ts +1 -1
- package/es/icon/src/Icon.d.ts +2 -2
- package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/es/image/src/Image.d.ts +8 -2
- package/es/image/src/ImageGroup.d.ts +8 -2
- package/es/image/src/ImageGroup.js +8 -2
- package/es/image/src/ImagePreview.d.ts +8 -3
- package/es/image/src/ImagePreview.js +10 -1
- package/es/image/src/icons.d.ts +1 -0
- package/es/image/src/icons.js +2 -0
- package/es/image/src/interface.d.ts +7 -5
- package/es/image/src/interface.js +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/input/src/Input.d.ts +19 -9
- package/es/input/src/Input.js +30 -8
- package/es/input/src/InputGroup.d.ts +2 -2
- package/es/input/src/InputGroupLabel.d.ts +2 -2
- package/es/input/src/WordCount.d.ts +1 -1
- package/es/input/src/styles/input.cssr.js +2 -1
- package/es/input-number/src/InputNumber.d.ts +3 -2
- package/es/input-number/src/InputNumber.js +2 -1
- package/es/input-number/src/interface.d.ts +1 -0
- package/es/layout/src/Layout.d.ts +10 -4
- package/es/layout/src/Layout.js +8 -1
- package/es/layout/src/LayoutContent.d.ts +4 -2
- package/es/layout/src/LayoutFooter.d.ts +2 -2
- package/es/layout/src/LayoutHeader.d.ts +2 -2
- package/es/layout/src/LayoutSider.d.ts +11 -2
- package/es/layout/src/LayoutSider.js +12 -3
- package/es/layout/src/ToggleBar.d.ts +1 -1
- package/es/layout/src/ToggleButton.d.ts +1 -1
- package/es/legacy-grid/src/Col.d.ts +1 -1
- package/es/legacy-grid/src/Row.d.ts +2 -2
- package/es/legacy-grid/src/styles/index.cssr.js +2 -3
- package/es/legacy-grid/src/styles/rtl.cssr.js +2 -3
- package/es/legacy-transfer/src/Transfer.d.ts +2 -2
- package/es/legacy-transfer/src/TransferFilter.d.ts +1 -1
- package/es/legacy-transfer/src/TransferHeader.d.ts +1 -1
- package/es/legacy-transfer/src/TransferList.d.ts +1 -1
- package/es/legacy-transfer/src/TransferListItem.d.ts +1 -1
- package/es/list/src/List.d.ts +2 -2
- package/es/list/src/ListItem.d.ts +1 -1
- package/es/loading-bar/src/LoadingBar.d.ts +4 -2
- package/es/loading-bar/src/LoadingBar.js +21 -12
- package/es/loading-bar/src/LoadingBarProvider.d.ts +4 -1
- package/es/loading-bar/src/LoadingBarProvider.js +2 -2
- package/es/locales/common/arDZ.js +1 -0
- package/es/locales/common/deDE.js +1 -0
- package/es/locales/common/enGB.js +1 -0
- package/es/locales/common/enUS.d.ts +1 -0
- package/es/locales/common/enUS.js +1 -0
- package/es/locales/common/eo.js +1 -0
- package/es/locales/common/esAR.js +1 -0
- package/es/locales/common/faIR.js +1 -0
- package/es/locales/common/frFR.js +2 -1
- package/es/locales/common/idID.js +1 -0
- package/es/locales/common/itIT.js +1 -0
- package/es/locales/common/jaJP.js +1 -0
- package/es/locales/common/koKR.js +1 -0
- package/es/locales/common/nbNO.js +1 -0
- package/es/locales/common/nlNL.js +1 -0
- package/es/locales/common/plPL.js +1 -0
- package/es/locales/common/ptBR.js +15 -17
- package/es/locales/common/ruRU.js +1 -0
- package/es/locales/common/skSK.js +1 -0
- package/es/locales/common/svSE.d.ts +3 -0
- package/es/locales/common/svSE.js +121 -0
- package/es/locales/common/thTH.js +1 -0
- package/es/locales/common/trTR.js +1 -0
- package/es/locales/common/ukUA.js +1 -0
- package/es/locales/common/viVN.js +1 -0
- package/es/locales/common/zhCN.js +1 -0
- package/es/locales/common/zhTW.js +18 -17
- package/es/locales/date/svSE.d.ts +3 -0
- package/es/locales/date/svSE.js +6 -0
- package/es/locales/index.d.ts +2 -0
- package/es/locales/index.js +2 -0
- package/es/log/src/Log.d.ts +11 -11
- package/es/log/src/Log.js +12 -12
- package/es/log/src/LogLine.d.ts +1 -1
- package/es/log/src/LogLoader.d.ts +1 -1
- package/es/mention/src/Mention.d.ts +4 -4
- package/es/mention/src/utils.js +4 -4
- package/es/menu/src/Menu.d.ts +32 -15
- package/es/menu/src/Menu.js +101 -7
- package/es/menu/src/MenuDivider.d.ts +1 -1
- package/es/menu/src/MenuOption.d.ts +1 -1
- package/es/menu/src/MenuOptionContent.d.ts +4 -1
- package/es/menu/src/MenuOptionContent.js +7 -2
- package/es/menu/src/MenuOptionGroup.d.ts +1 -1
- package/es/menu/src/Submenu.d.ts +24 -13
- package/es/menu/src/Submenu.js +9 -8
- package/es/menu/src/context.d.ts +2 -2
- package/es/menu/src/interface.d.ts +1 -0
- package/es/menu/src/styles/index.cssr.js +8 -4
- package/es/menu/src/use-menu-child.js +5 -5
- package/es/message/src/Message.d.ts +2 -2
- package/es/message/src/MessageEnvironment.d.ts +1 -1
- package/es/message/src/MessageProvider.d.ts +9 -6
- package/es/message/src/MessageProvider.js +3 -2
- package/es/modal/src/BodyWrapper.d.ts +12 -4
- package/es/modal/src/Modal.d.ts +18 -6
- package/es/modal/src/presetProps.d.ts +5 -1
- package/es/notification/src/Notification.d.ts +1 -1
- package/es/notification/src/NotificationContainer.d.ts +1 -1
- package/es/notification/src/NotificationEnvironment.d.ts +1 -1
- package/es/notification/src/NotificationEnvironment.js +1 -1
- package/es/notification/src/NotificationProvider.d.ts +5 -2
- package/es/notification/src/NotificationProvider.js +2 -2
- package/es/number-animation/src/NumberAnimation.d.ts +1 -1
- package/es/page-header/src/PageHeader.d.ts +2 -2
- package/es/pagination/src/Pagination.d.ts +2 -2
- package/es/pagination/src/Pagination.js +3 -1
- package/es/popconfirm/src/Popconfirm.d.ts +22 -3
- package/es/popconfirm/src/Popconfirm.js +13 -5
- package/es/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/es/popover/src/Popover.d.ts +25 -1
- package/es/popover/src/Popover.js +10 -4
- package/es/popover/src/PopoverBody.d.ts +23 -2
- package/es/popover/src/PopoverBody.js +26 -10
- package/es/popover/src/interface.d.ts +4 -1
- package/es/popselect/src/Popselect.d.ts +19 -1
- package/es/popselect/src/Popselect.js +2 -1
- package/es/popselect/src/PopselectPanel.d.ts +2 -2
- package/es/popselect/src/PopselectPanel.js +1 -0
- package/es/progress/src/Circle.d.ts +1 -1
- package/es/progress/src/Line.d.ts +1 -1
- package/es/progress/src/Line.js +1 -3
- package/es/progress/src/MultipleCircle.d.ts +1 -1
- package/es/progress/src/Progress.d.ts +3 -3
- package/es/qr-code/index.d.ts +2 -0
- package/es/qr-code/index.js +1 -0
- package/es/qr-code/src/QrCode.d.ts +154 -0
- package/es/qr-code/src/QrCode.js +146 -0
- package/es/qr-code/src/qrcodegen.d.ts +94 -0
- package/es/qr-code/src/qrcodegen.js +948 -0
- package/es/qr-code/src/styles/index.cssr.d.ts +2 -0
- package/es/qr-code/src/styles/index.cssr.js +8 -0
- package/es/qr-code/styles/dark.d.ts +3 -0
- package/es/qr-code/styles/dark.js +11 -0
- package/es/qr-code/styles/index.d.ts +3 -0
- package/es/qr-code/styles/index.js +2 -0
- package/es/qr-code/styles/light.d.ts +9 -0
- package/es/qr-code/styles/light.js +12 -0
- package/es/radio/src/Radio.d.ts +173 -34
- package/es/radio/src/Radio.js +3 -3
- package/es/radio/src/RadioButton.d.ts +3 -3
- package/es/radio/src/RadioButton.js +3 -3
- package/es/radio/src/RadioGroup.d.ts +3 -2
- package/es/radio/src/RadioGroup.js +2 -1
- package/es/radio/src/styles/radio-group.cssr.js +1 -0
- package/es/radio/src/use-radio.d.ts +3 -3
- package/es/radio/src/use-radio.js +1 -1
- package/es/rate/src/Rate.d.ts +2 -2
- package/es/result/src/Result.d.ts +3 -3
- package/es/scrollbar/src/Scrollbar.d.ts +1 -1
- package/es/scrollbar/src/Scrollbar.js +2 -0
- package/es/select/src/Select.d.ts +7 -4
- package/es/select/src/Select.js +17 -3
- package/es/select/src/interface.d.ts +2 -0
- package/es/skeleton/src/Skeleton.d.ts +2 -2
- package/es/skeleton/src/Skeleton.js +4 -7
- package/es/slider/src/Slider.d.ts +8 -2
- package/es/slider/src/Slider.js +19 -4
- package/es/slider/src/utils.d.ts +2 -2
- package/es/slider/src/utils.js +6 -4
- package/es/space/src/Space.d.ts +5 -2
- package/es/space/src/Space.js +3 -3
- package/es/spin/src/Spin.d.ts +13 -4
- package/es/spin/src/Spin.js +26 -7
- package/es/split/index.d.ts +2 -0
- package/es/split/index.js +1 -0
- package/es/split/src/Split.d.ts +135 -0
- package/es/split/src/Split.js +145 -0
- package/es/split/src/styles/index.cssr.d.ts +2 -0
- package/es/split/src/styles/index.cssr.js +25 -0
- package/es/split/styles/dark.d.ts +3 -0
- package/es/split/styles/dark.js +6 -0
- package/es/split/styles/index.d.ts +3 -0
- package/es/split/styles/index.js +2 -0
- package/es/split/styles/light.d.ts +9 -0
- package/es/split/styles/light.js +13 -0
- package/es/statistic/src/Statistic.d.ts +2 -2
- package/es/steps/src/Step.d.ts +2 -2
- package/es/steps/src/Steps.d.ts +3 -3
- package/es/steps/src/styles/index.cssr.js +1 -0
- package/es/switch/src/Switch.d.ts +2 -2
- package/es/table/src/Table.d.ts +2 -2
- 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 +1 -1
- package/es/tabs/src/Tab.js +3 -1
- package/es/tabs/src/TabPane.d.ts +1 -1
- package/es/tabs/src/Tabs.d.ts +13 -13
- package/es/tabs/src/Tabs.js +15 -2
- package/es/tabs/src/styles/index.cssr.js +12 -2
- package/es/tag/src/Tag.d.ts +2 -2
- 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 +3 -3
- package/es/themes/dark.js +5 -1
- package/es/themes/light.js +5 -1
- package/es/thing/src/Thing.d.ts +7 -1
- package/es/thing/src/Thing.js +13 -4
- package/es/time/src/Time.d.ts +1 -1
- package/es/time/src/Time.js +1 -1
- package/es/time-picker/src/Panel.d.ts +1 -1
- package/es/time-picker/src/PanelCol.d.ts +1 -1
- package/es/time-picker/src/PanelCol.js +5 -1
- package/es/time-picker/src/TimePicker.d.ts +2 -2
- package/es/time-picker/src/TimePicker.js +1 -1
- package/es/timeline/src/Timeline.d.ts +1 -1
- package/es/timeline/src/TimelineItem.d.ts +1 -1
- package/es/tooltip/src/Tooltip.d.ts +19 -1
- package/es/transfer/src/Transfer.d.ts +8 -2
- package/es/transfer/src/Transfer.js +2 -2
- package/es/transfer/src/TransferFilter.d.ts +1 -1
- package/es/transfer/src/TransferHeader.d.ts +5 -1
- package/es/transfer/src/TransferHeader.js +6 -2
- package/es/transfer/src/TransferList.d.ts +1 -1
- package/es/transfer/src/TransferListItem.d.ts +1 -1
- package/es/tree/index.d.ts +1 -0
- package/es/tree/index.js +1 -0
- package/es/tree/src/MotionWrapper.d.ts +1 -1
- package/es/tree/src/Tree.d.ts +59 -5
- package/es/tree/src/Tree.js +32 -19
- package/es/tree/src/TreeNode.d.ts +6 -2
- package/es/tree/src/TreeNode.js +72 -25
- package/es/tree/src/TreeNodeCheckbox.d.ts +13 -1
- package/es/tree/src/TreeNodeCheckbox.js +9 -8
- package/es/tree/src/TreeNodeContent.d.ts +1 -1
- package/es/tree/src/TreeNodeSwitcher.d.ts +19 -2
- package/es/tree/src/TreeNodeSwitcher.js +12 -6
- package/es/tree/src/interface.d.ts +2 -0
- package/es/tree/src/styles/index.cssr.js +47 -51
- package/es/tree/src/utils.d.ts +1 -0
- package/es/tree/src/utils.js +12 -0
- package/es/tree/styles/light.d.ts +8 -0
- package/es/tree/styles/light.js +6 -2
- package/es/tree-select/src/TreeSelect.d.ts +49 -3
- package/es/tree-select/src/TreeSelect.js +5 -3
- package/es/tree-select/src/interface.d.ts +2 -0
- package/es/tree-select/styles/light.d.ts +4 -0
- package/es/typography/src/a.d.ts +2 -2
- package/es/typography/src/blockquote.d.ts +2 -2
- package/es/typography/src/create-header.d.ts +2 -2
- package/es/typography/src/headers.d.ts +12 -12
- package/es/typography/src/hr.d.ts +2 -2
- package/es/typography/src/li.d.ts +1 -1
- package/es/typography/src/ol.d.ts +2 -2
- package/es/typography/src/p.d.ts +2 -2
- package/es/typography/src/text.d.ts +2 -2
- package/es/typography/src/ul.d.ts +2 -2
- package/es/upload/src/Upload.d.ts +11 -5
- package/es/upload/src/Upload.js +8 -3
- package/es/upload/src/UploadDragger.d.ts +1 -1
- package/es/upload/src/UploadFile.d.ts +2 -2
- package/es/upload/src/UploadFileList.d.ts +1 -1
- package/es/upload/src/UploadFileList.js +3 -2
- package/es/upload/src/UploadProgress.d.ts +1 -1
- package/es/upload/src/UploadTrigger.d.ts +1 -1
- package/es/upload/src/UploadTrigger.js +3 -2
- package/es/upload/src/interface.d.ts +5 -3
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/virtual-list/index.d.ts +2 -0
- package/es/virtual-list/index.js +1 -0
- package/es/virtual-list/src/VirtualList.d.ts +146 -0
- package/es/virtual-list/src/VirtualList.js +102 -0
- package/es/watermark/src/Watermark.d.ts +1 -1
- package/es/watermark/src/Watermark.js +7 -0
- package/lib/_internal/clear/src/Clear.d.ts +1 -1
- package/lib/_internal/clear/src/Clear.js +2 -0
- package/lib/_internal/close/src/Close.d.ts +1 -1
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +1 -0
- package/lib/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
- package/lib/_internal/icon/src/Icon.d.ts +1 -1
- 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/Backward.d.ts +1 -1
- package/lib/_internal/icons/Cancel.d.ts +1 -1
- 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/Close.d.ts +1 -1
- package/lib/_internal/icons/Date.d.ts +1 -1
- package/lib/_internal/icons/Download.d.ts +1 -1
- package/lib/_internal/icons/Empty.d.ts +1 -1
- package/lib/_internal/icons/Error.d.ts +1 -1
- 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/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/RotateClockwise.d.ts +1 -1
- package/lib/_internal/icons/RotateCounterclockwise.d.ts +1 -1
- package/lib/_internal/icons/Search.d.ts +1 -1
- package/lib/_internal/icons/Success.d.ts +1 -1
- package/lib/_internal/icons/Switcher.d.ts +1 -1
- package/lib/_internal/icons/Time.d.ts +1 -1
- package/lib/_internal/icons/To.d.ts +1 -1
- package/lib/_internal/icons/Trash.d.ts +1 -1
- package/lib/_internal/icons/Warning.d.ts +1 -1
- package/lib/_internal/icons/ZoomIn.d.ts +1 -1
- package/lib/_internal/icons/ZoomOut.d.ts +1 -1
- package/lib/_internal/icons/replaceable.d.ts +1 -1
- package/lib/_internal/loading/src/Loading.d.ts +1 -1
- package/lib/_internal/menu-mask/src/MenuMask.d.ts +1 -1
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +2 -2
- package/lib/_internal/scrollbar/src/Scrollbar.js +11 -6
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +1 -0
- package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +1 -1
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +4 -4
- package/lib/_internal/select-menu/src/SelectMenu.js +2 -1
- package/lib/_internal/select-menu/src/SelectOption.d.ts +1 -1
- package/lib/_internal/select-menu/src/styles/index.cssr.js +8 -0
- package/lib/_internal/selection/src/Selection.d.ts +5 -2
- package/lib/_internal/selection/src/Selection.js +17 -7
- package/lib/_internal/slot-machine/src/SlotMachine.d.ts +1 -1
- package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
- package/lib/_internal/suffix/src/Suffix.d.ts +1 -1
- package/lib/_internal/wave/src/Wave.d.ts +1 -1
- package/lib/_mixins/use-config.d.ts +2 -1
- package/lib/_mixins/use-config.js +11 -5
- package/lib/_mixins/use-form-item.d.ts +1 -1
- package/lib/_mixins/use-style.d.ts +1 -1
- package/lib/_mixins/use-style.js +1 -1
- package/lib/_styles/common/_common.js +1 -1
- package/lib/_styles/common/light.js +2 -2
- package/lib/_utils/composable/use-collection.d.ts +1 -1
- package/lib/_utils/composable/use-collection.js +2 -0
- package/lib/_utils/css/color-to-class.js +1 -1
- package/lib/_utils/cssr/index.d.ts +1 -1
- package/lib/_utils/vue/wrapper.d.ts +1 -1
- package/lib/affix/src/Affix.d.ts +4 -4
- package/lib/affix/src/Affix.js +4 -2
- package/lib/alert/src/Alert.d.ts +2 -2
- package/lib/alert/src/Alert.js +7 -1
- package/lib/alert/src/styles/index.cssr.js +4 -0
- package/lib/anchor/src/AnchorAdapter.d.ts +2 -2
- package/lib/anchor/src/BaseAnchor.d.ts +1 -1
- package/lib/anchor/src/BaseAnchor.js +3 -1
- package/lib/anchor/src/Link.d.ts +1 -1
- package/lib/auto-complete/src/AutoComplete.d.ts +3 -3
- package/lib/auto-complete/src/interface.d.ts +2 -1
- package/lib/avatar/src/Avatar.d.ts +2 -2
- package/lib/avatar-group/src/AvatarGroup.d.ts +2 -2
- package/lib/back-top/src/BackTop.d.ts +2 -2
- package/lib/badge/src/Badge.d.ts +2 -2
- package/lib/breadcrumb/src/Breadcrumb.d.ts +2 -2
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
- package/lib/button/src/Button.d.ts +3 -3
- package/lib/button/src/Button.js +2 -2
- package/lib/button-group/src/ButtonGroup.d.ts +2 -2
- package/lib/calendar/src/Calendar.d.ts +2 -2
- package/lib/card/src/Card.d.ts +23 -7
- package/lib/card/src/Card.js +12 -5
- package/lib/carousel/src/Carousel.d.ts +7 -7
- package/lib/carousel/src/Carousel.js +8 -3
- package/lib/carousel/src/CarouselArrow.d.ts +2 -2
- package/lib/carousel/src/CarouselContext.js +3 -1
- package/lib/carousel/src/CarouselDots.d.ts +2 -2
- package/lib/carousel/src/CarouselDots.js +7 -1
- package/lib/carousel/src/CarouselItem.d.ts +2 -2
- package/lib/cascader/src/Cascader.d.ts +3 -2
- package/lib/cascader/src/CascaderMenu.d.ts +1 -1
- package/lib/cascader/src/CascaderOption.d.ts +1 -1
- package/lib/cascader/src/CascaderSelectMenu.d.ts +2 -2
- package/lib/cascader/src/CascaderSubmenu.d.ts +1 -1
- package/lib/checkbox/src/Checkbox.d.ts +8 -8
- package/lib/checkbox/src/Checkbox.js +9 -2
- package/lib/checkbox/src/CheckboxGroup.d.ts +2 -2
- package/lib/checkbox/src/styles/index.cssr.js +9 -11
- package/lib/code/src/Code.d.ts +2 -2
- package/lib/collapse/src/Collapse.d.ts +2 -2
- package/lib/collapse/src/CollapseItem.d.ts +2 -2
- package/lib/collapse/src/CollapseItemContent.d.ts +1 -1
- package/lib/collapse-transition/src/CollapseTransition.d.ts +2 -2
- package/lib/color-picker/src/AlphaSlider.d.ts +1 -1
- package/lib/color-picker/src/ColorInput.d.ts +1 -1
- package/lib/color-picker/src/ColorInputUnit.d.ts +1 -1
- package/lib/color-picker/src/ColorPicker.d.ts +2 -2
- package/lib/color-picker/src/ColorPicker.js +6 -2
- package/lib/color-picker/src/ColorPickerSwatches.d.ts +1 -1
- package/lib/color-picker/src/ColorPickerSwatches.js +9 -4
- package/lib/color-picker/src/ColorPickerTrigger.d.ts +1 -1
- package/lib/color-picker/src/ColorPreview.d.ts +1 -1
- package/lib/color-picker/src/HueSlider.d.ts +1 -1
- package/lib/color-picker/src/Pallete.d.ts +1 -1
- package/lib/components.d.ts +3 -0
- package/lib/components.js +3 -0
- package/lib/config-provider/src/ConfigProvider.d.ts +21 -8
- package/lib/config-provider/src/ConfigProvider.js +4 -2
- package/lib/config-provider/src/config.js +5 -5
- package/lib/config-provider/src/internal-interface.d.ts +5 -1
- package/lib/countdown/src/Countdown.d.ts +1 -1
- package/lib/data-table/index.d.ts +1 -1
- package/lib/data-table/src/DataTable.d.ts +5 -5
- package/lib/data-table/src/DataTable.js +1 -6
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +1 -1
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +1 -1
- package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
- package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +1 -1
- package/lib/data-table/src/HeaderButton/ResizeButton.d.ts +1 -1
- package/lib/data-table/src/HeaderButton/ResizeButton.js +1 -0
- package/lib/data-table/src/HeaderButton/SortButton.d.ts +1 -1
- package/lib/data-table/src/MainTable.d.ts +1 -1
- package/lib/data-table/src/MainTable.js +1 -0
- package/lib/data-table/src/TableParts/Body.d.ts +5 -6
- package/lib/data-table/src/TableParts/Body.js +22 -15
- package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +1 -1
- package/lib/data-table/src/TableParts/BodyRadio.d.ts +1 -1
- package/lib/data-table/src/TableParts/Cell.d.ts +1 -1
- package/lib/data-table/src/TableParts/Cell.js +9 -2
- package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +1 -1
- package/lib/data-table/src/TableParts/ExpandTrigger.js +3 -1
- package/lib/data-table/src/TableParts/Header.d.ts +1 -3
- package/lib/data-table/src/TableParts/Header.js +6 -12
- package/lib/data-table/src/TableParts/SelectionMenu.d.ts +1 -1
- package/lib/data-table/src/interface.d.ts +3 -5
- package/lib/data-table/src/styles/index.cssr.js +2 -0
- package/lib/data-table/src/use-scroll.d.ts +1 -2
- package/lib/data-table/src/use-scroll.js +21 -13
- package/lib/date-picker/src/DatePicker.d.ts +2 -2
- package/lib/date-picker/src/panel/date.d.ts +4 -4
- package/lib/date-picker/src/panel/date.js +3 -1
- package/lib/date-picker/src/panel/daterange.d.ts +4 -4
- package/lib/date-picker/src/panel/daterange.js +10 -2
- package/lib/date-picker/src/panel/datetime.d.ts +4 -4
- package/lib/date-picker/src/panel/datetime.js +3 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +4 -4
- package/lib/date-picker/src/panel/datetimerange.js +16 -4
- package/lib/date-picker/src/panel/month.d.ts +4 -4
- package/lib/date-picker/src/panel/month.js +4 -1
- package/lib/date-picker/src/panel/monthrange.d.ts +4 -4
- package/lib/date-picker/src/panel/panelHeader.d.ts +722 -752
- package/lib/date-picker/src/panel/use-calendar.d.ts +3 -3
- package/lib/date-picker/src/panel/use-calendar.js +2 -2
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +3 -3
- package/lib/date-picker/src/panel/use-dual-calendar.js +4 -4
- package/lib/date-picker/src/styles/index.cssr.js +1 -0
- package/lib/date-picker/src/utils.js +1 -6
- package/lib/date-picker/styles/_common.js +1 -1
- package/lib/descriptions/src/Descriptions.d.ts +8 -2
- package/lib/descriptions/src/Descriptions.js +28 -8
- package/lib/descriptions/src/DescriptionsItem.d.ts +7 -1
- package/lib/descriptions/src/DescriptionsItem.js +2 -0
- package/lib/dialog/src/Dialog.d.ts +2 -2
- package/lib/dialog/src/Dialog.js +6 -2
- package/lib/dialog/src/DialogEnvironment.d.ts +2 -2
- package/lib/dialog/src/DialogProvider.d.ts +4 -4
- package/lib/dialog/src/DialogProvider.js +3 -1
- package/lib/dialog/src/dialogProps.d.ts +1 -1
- package/lib/discrete/src/InjectionExtractor.d.ts +1 -1
- package/lib/divider/src/Divider.d.ts +2 -2
- package/lib/drawer/src/Drawer.d.ts +15 -2
- package/lib/drawer/src/Drawer.js +2 -2
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +9 -1
- package/lib/drawer/src/DrawerBodyWrapper.js +25 -1
- package/lib/drawer/src/DrawerContent.d.ts +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +20 -2
- package/lib/dropdown/src/Dropdown.js +1 -1
- package/lib/dropdown/src/DropdownDivider.d.ts +1 -1
- package/lib/dropdown/src/DropdownGroup.d.ts +1 -1
- package/lib/dropdown/src/DropdownGroupHeader.d.ts +1 -1
- package/lib/dropdown/src/DropdownMenu.d.ts +1 -1
- package/lib/dropdown/src/DropdownMenu.js +4 -1
- package/lib/dropdown/src/DropdownOption.d.ts +6 -5
- package/lib/dropdown/src/DropdownOption.js +2 -4
- package/lib/dropdown/src/DropdownRenderOption.d.ts +1 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +5 -2
- package/lib/dynamic-input/src/DynamicInput.js +21 -9
- package/lib/dynamic-input/src/InputPreset.d.ts +1 -1
- package/lib/dynamic-input/src/PairPreset.d.ts +1 -1
- package/lib/dynamic-tags/src/DynamicTags.d.ts +8 -2
- package/lib/dynamic-tags/src/DynamicTags.js +6 -4
- package/lib/element/src/Element.d.ts +2 -2
- package/lib/ellipsis/index.d.ts +1 -0
- package/lib/ellipsis/index.js +3 -1
- package/lib/ellipsis/src/Ellipsis.d.ts +3 -1
- package/lib/ellipsis/src/Ellipsis.js +5 -2
- package/lib/ellipsis/src/PerformantEllipsis.d.ts +164 -0
- package/lib/ellipsis/src/PerformantEllipsis.js +81 -0
- package/lib/empty/src/Empty.d.ts +2 -2
- package/lib/equation/index.d.ts +1 -0
- package/lib/equation/src/Equation.d.ts +6 -4
- package/lib/form/src/Form.d.ts +2 -2
- package/lib/form/src/Form.js +3 -1
- package/lib/form/src/FormItem.d.ts +3 -3
- package/lib/form/src/FormItemCol.d.ts +1 -1
- package/lib/form/src/FormItemGridItem.d.ts +1 -1
- package/lib/form/src/FormItemRow.d.ts +1 -1
- package/lib/form/src/utils.d.ts +1 -1
- package/lib/global-style/src/GlobalStyle.d.ts +1 -1
- package/lib/gradient-text/src/GradientText.d.ts +2 -2
- package/lib/grid/src/Grid.d.ts +2 -2
- package/lib/grid/src/Grid.js +6 -3
- package/lib/grid/src/GridItem.d.ts +1 -1
- package/lib/icon/src/Icon.d.ts +2 -2
- package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/lib/image/src/Image.d.ts +8 -2
- package/lib/image/src/ImageGroup.d.ts +8 -2
- package/lib/image/src/ImageGroup.js +8 -2
- package/lib/image/src/ImagePreview.d.ts +8 -3
- package/lib/image/src/ImagePreview.js +9 -0
- package/lib/image/src/icons.d.ts +1 -0
- package/lib/image/src/icons.js +3 -1
- package/lib/image/src/interface.d.ts +7 -5
- package/lib/image/src/interface.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -1
- package/lib/input/src/Input.d.ts +19 -9
- package/lib/input/src/Input.js +30 -8
- package/lib/input/src/InputGroup.d.ts +2 -2
- package/lib/input/src/InputGroupLabel.d.ts +2 -2
- package/lib/input/src/WordCount.d.ts +1 -1
- package/lib/input/src/styles/input.cssr.js +2 -1
- package/lib/input-number/src/InputNumber.d.ts +3 -2
- package/lib/input-number/src/InputNumber.js +2 -1
- package/lib/input-number/src/interface.d.ts +1 -0
- package/lib/layout/src/Layout.d.ts +10 -4
- package/lib/layout/src/Layout.js +8 -1
- package/lib/layout/src/LayoutContent.d.ts +4 -2
- package/lib/layout/src/LayoutFooter.d.ts +2 -2
- package/lib/layout/src/LayoutHeader.d.ts +2 -2
- package/lib/layout/src/LayoutSider.d.ts +11 -2
- package/lib/layout/src/LayoutSider.js +12 -3
- package/lib/layout/src/ToggleBar.d.ts +1 -1
- package/lib/layout/src/ToggleButton.d.ts +1 -1
- package/lib/legacy-grid/src/Col.d.ts +1 -1
- package/lib/legacy-grid/src/Row.d.ts +2 -2
- package/lib/legacy-grid/src/styles/index.cssr.js +2 -3
- package/lib/legacy-grid/src/styles/rtl.cssr.js +2 -3
- package/lib/legacy-transfer/src/Transfer.d.ts +2 -2
- package/lib/legacy-transfer/src/TransferFilter.d.ts +1 -1
- package/lib/legacy-transfer/src/TransferHeader.d.ts +1 -1
- package/lib/legacy-transfer/src/TransferList.d.ts +1 -1
- package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -1
- package/lib/list/src/List.d.ts +2 -2
- package/lib/list/src/ListItem.d.ts +1 -1
- package/lib/loading-bar/src/LoadingBar.d.ts +4 -2
- package/lib/loading-bar/src/LoadingBar.js +21 -12
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +4 -1
- package/lib/loading-bar/src/LoadingBarProvider.js +2 -2
- package/lib/locales/common/arDZ.js +1 -0
- package/lib/locales/common/deDE.js +1 -0
- package/lib/locales/common/enGB.js +1 -0
- package/lib/locales/common/enUS.d.ts +1 -0
- package/lib/locales/common/enUS.js +1 -0
- package/lib/locales/common/eo.js +1 -0
- package/lib/locales/common/esAR.js +1 -0
- package/lib/locales/common/faIR.js +1 -0
- package/lib/locales/common/frFR.js +2 -1
- package/lib/locales/common/idID.js +1 -0
- package/lib/locales/common/itIT.js +1 -0
- package/lib/locales/common/jaJP.js +1 -0
- package/lib/locales/common/koKR.js +1 -0
- package/lib/locales/common/nbNO.js +1 -0
- package/lib/locales/common/nlNL.js +1 -0
- package/lib/locales/common/plPL.js +1 -0
- package/lib/locales/common/ptBR.js +15 -17
- package/lib/locales/common/ruRU.js +1 -0
- package/lib/locales/common/skSK.js +1 -0
- package/lib/locales/common/svSE.d.ts +3 -0
- package/lib/locales/common/svSE.js +123 -0
- package/lib/locales/common/thTH.js +1 -0
- package/lib/locales/common/trTR.js +1 -0
- package/lib/locales/common/ukUA.js +1 -0
- package/lib/locales/common/viVN.js +1 -0
- package/lib/locales/common/zhCN.js +1 -0
- package/lib/locales/common/zhTW.js +18 -17
- package/lib/locales/date/svSE.d.ts +3 -0
- package/lib/locales/date/svSE.js +11 -0
- package/lib/locales/index.d.ts +2 -0
- package/lib/locales/index.js +6 -1
- package/lib/log/src/Log.d.ts +11 -11
- package/lib/log/src/Log.js +12 -12
- package/lib/log/src/LogLine.d.ts +1 -1
- package/lib/log/src/LogLoader.d.ts +1 -1
- package/lib/mention/src/Mention.d.ts +4 -4
- package/lib/mention/src/utils.js +4 -4
- package/lib/menu/src/Menu.d.ts +32 -15
- package/lib/menu/src/Menu.js +101 -7
- package/lib/menu/src/MenuDivider.d.ts +1 -1
- package/lib/menu/src/MenuOption.d.ts +1 -1
- package/lib/menu/src/MenuOptionContent.d.ts +4 -1
- package/lib/menu/src/MenuOptionContent.js +7 -2
- package/lib/menu/src/MenuOptionGroup.d.ts +1 -1
- package/lib/menu/src/Submenu.d.ts +24 -13
- package/lib/menu/src/Submenu.js +9 -8
- package/lib/menu/src/context.d.ts +2 -2
- package/lib/menu/src/interface.d.ts +1 -0
- package/lib/menu/src/styles/index.cssr.js +8 -4
- package/lib/menu/src/use-menu-child.js +5 -5
- package/lib/message/src/Message.d.ts +2 -2
- package/lib/message/src/MessageEnvironment.d.ts +1 -1
- package/lib/message/src/MessageProvider.d.ts +9 -6
- package/lib/message/src/MessageProvider.js +3 -2
- package/lib/modal/src/BodyWrapper.d.ts +12 -4
- package/lib/modal/src/Modal.d.ts +18 -6
- package/lib/modal/src/presetProps.d.ts +5 -1
- package/lib/notification/src/Notification.d.ts +1 -1
- package/lib/notification/src/NotificationContainer.d.ts +1 -1
- package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
- package/lib/notification/src/NotificationEnvironment.js +1 -1
- package/lib/notification/src/NotificationProvider.d.ts +5 -2
- package/lib/notification/src/NotificationProvider.js +2 -2
- package/lib/number-animation/src/NumberAnimation.d.ts +1 -1
- package/lib/page-header/src/PageHeader.d.ts +2 -2
- package/lib/pagination/src/Pagination.d.ts +2 -2
- package/lib/pagination/src/Pagination.js +3 -1
- package/lib/popconfirm/src/Popconfirm.d.ts +22 -3
- package/lib/popconfirm/src/Popconfirm.js +13 -5
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/lib/popover/src/Popover.d.ts +25 -1
- package/lib/popover/src/Popover.js +10 -4
- package/lib/popover/src/PopoverBody.d.ts +23 -2
- package/lib/popover/src/PopoverBody.js +26 -10
- package/lib/popover/src/interface.d.ts +4 -1
- package/lib/popselect/src/Popselect.d.ts +19 -1
- package/lib/popselect/src/Popselect.js +2 -1
- package/lib/popselect/src/PopselectPanel.d.ts +2 -2
- package/lib/popselect/src/PopselectPanel.js +1 -0
- package/lib/progress/src/Circle.d.ts +1 -1
- package/lib/progress/src/Line.d.ts +1 -1
- package/lib/progress/src/Line.js +1 -3
- package/lib/progress/src/MultipleCircle.d.ts +1 -1
- package/lib/progress/src/Progress.d.ts +3 -3
- package/lib/qr-code/index.d.ts +2 -0
- package/lib/qr-code/index.js +9 -0
- package/lib/qr-code/src/QrCode.d.ts +154 -0
- package/lib/qr-code/src/QrCode.js +152 -0
- package/lib/qr-code/src/qrcodegen.d.ts +94 -0
- package/lib/qr-code/src/qrcodegen.js +949 -0
- package/lib/qr-code/src/styles/index.cssr.d.ts +2 -0
- package/lib/qr-code/src/styles/index.cssr.js +13 -0
- package/lib/qr-code/styles/dark.d.ts +3 -0
- package/lib/qr-code/styles/dark.js +13 -0
- package/lib/qr-code/styles/index.d.ts +3 -0
- package/lib/qr-code/styles/index.js +10 -0
- package/lib/qr-code/styles/light.d.ts +9 -0
- package/lib/qr-code/styles/light.js +14 -0
- package/lib/radio/src/Radio.d.ts +173 -34
- package/lib/radio/src/Radio.js +2 -2
- package/lib/radio/src/RadioButton.d.ts +3 -3
- package/lib/radio/src/RadioButton.js +2 -2
- package/lib/radio/src/RadioGroup.d.ts +3 -2
- package/lib/radio/src/RadioGroup.js +2 -1
- package/lib/radio/src/styles/radio-group.cssr.js +1 -0
- package/lib/radio/src/use-radio.d.ts +3 -3
- package/lib/radio/src/use-radio.js +2 -2
- package/lib/rate/src/Rate.d.ts +2 -2
- package/lib/result/src/Result.d.ts +3 -3
- package/lib/scrollbar/src/Scrollbar.d.ts +1 -1
- package/lib/scrollbar/src/Scrollbar.js +2 -0
- package/lib/select/src/Select.d.ts +7 -4
- package/lib/select/src/Select.js +17 -3
- package/lib/select/src/interface.d.ts +2 -0
- package/lib/skeleton/src/Skeleton.d.ts +2 -2
- package/lib/skeleton/src/Skeleton.js +3 -6
- package/lib/slider/src/Slider.d.ts +8 -2
- package/lib/slider/src/Slider.js +19 -4
- package/lib/slider/src/utils.d.ts +2 -2
- package/lib/slider/src/utils.js +5 -3
- package/lib/space/src/Space.d.ts +5 -2
- package/lib/space/src/Space.js +3 -3
- package/lib/spin/src/Spin.d.ts +13 -4
- package/lib/spin/src/Spin.js +25 -6
- package/lib/split/index.d.ts +2 -0
- package/lib/split/index.js +9 -0
- package/lib/split/src/Split.d.ts +135 -0
- package/lib/split/src/Split.js +151 -0
- package/lib/split/src/styles/index.cssr.d.ts +2 -0
- package/lib/split/src/styles/index.cssr.js +30 -0
- package/lib/split/styles/dark.d.ts +3 -0
- package/lib/split/styles/dark.js +8 -0
- package/lib/split/styles/index.d.ts +3 -0
- package/lib/split/styles/index.js +10 -0
- package/lib/split/styles/light.d.ts +9 -0
- package/lib/split/styles/light.js +17 -0
- package/lib/statistic/src/Statistic.d.ts +2 -2
- package/lib/steps/src/Step.d.ts +2 -2
- package/lib/steps/src/Steps.d.ts +3 -3
- package/lib/steps/src/styles/index.cssr.js +1 -0
- package/lib/switch/src/Switch.d.ts +2 -2
- package/lib/table/src/Table.d.ts +2 -2
- 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 +1 -1
- package/lib/tabs/src/Tab.js +3 -1
- package/lib/tabs/src/TabPane.d.ts +1 -1
- package/lib/tabs/src/Tabs.d.ts +13 -13
- package/lib/tabs/src/Tabs.js +15 -2
- package/lib/tabs/src/styles/index.cssr.js +12 -2
- package/lib/tag/src/Tag.d.ts +2 -2
- 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 +3 -3
- package/lib/themes/dark.js +56 -52
- package/lib/themes/light.js +56 -52
- package/lib/thing/src/Thing.d.ts +7 -1
- package/lib/thing/src/Thing.js +13 -4
- package/lib/time/src/Time.d.ts +1 -1
- package/lib/time/src/Time.js +1 -1
- package/lib/time-picker/src/Panel.d.ts +1 -1
- package/lib/time-picker/src/PanelCol.d.ts +1 -1
- package/lib/time-picker/src/PanelCol.js +5 -1
- package/lib/time-picker/src/TimePicker.d.ts +2 -2
- package/lib/time-picker/src/TimePicker.js +1 -1
- package/lib/timeline/src/Timeline.d.ts +1 -1
- package/lib/timeline/src/TimelineItem.d.ts +1 -1
- package/lib/tooltip/src/Tooltip.d.ts +19 -1
- package/lib/transfer/src/Transfer.d.ts +8 -2
- package/lib/transfer/src/Transfer.js +2 -2
- package/lib/transfer/src/TransferFilter.d.ts +1 -1
- package/lib/transfer/src/TransferHeader.d.ts +5 -1
- package/lib/transfer/src/TransferHeader.js +6 -2
- package/lib/transfer/src/TransferList.d.ts +1 -1
- package/lib/transfer/src/TransferListItem.d.ts +1 -1
- package/lib/tree/index.d.ts +1 -0
- package/lib/tree/index.js +3 -1
- package/lib/tree/src/MotionWrapper.d.ts +1 -1
- package/lib/tree/src/Tree.d.ts +59 -5
- package/lib/tree/src/Tree.js +31 -18
- package/lib/tree/src/TreeNode.d.ts +6 -2
- package/lib/tree/src/TreeNode.js +72 -25
- package/lib/tree/src/TreeNodeCheckbox.d.ts +13 -1
- package/lib/tree/src/TreeNodeCheckbox.js +9 -8
- package/lib/tree/src/TreeNodeContent.d.ts +1 -1
- package/lib/tree/src/TreeNodeSwitcher.d.ts +19 -2
- package/lib/tree/src/TreeNodeSwitcher.js +12 -6
- package/lib/tree/src/interface.d.ts +2 -0
- package/lib/tree/src/styles/index.cssr.js +47 -51
- package/lib/tree/src/utils.d.ts +1 -0
- package/lib/tree/src/utils.js +15 -1
- package/lib/tree/styles/light.d.ts +8 -0
- package/lib/tree/styles/light.js +6 -2
- package/lib/tree-select/src/TreeSelect.d.ts +49 -3
- package/lib/tree-select/src/TreeSelect.js +5 -3
- package/lib/tree-select/src/interface.d.ts +2 -0
- package/lib/tree-select/styles/light.d.ts +4 -0
- package/lib/typography/src/a.d.ts +2 -2
- package/lib/typography/src/blockquote.d.ts +2 -2
- package/lib/typography/src/create-header.d.ts +2 -2
- package/lib/typography/src/headers.d.ts +12 -12
- package/lib/typography/src/hr.d.ts +2 -2
- package/lib/typography/src/li.d.ts +1 -1
- package/lib/typography/src/ol.d.ts +2 -2
- package/lib/typography/src/p.d.ts +2 -2
- package/lib/typography/src/text.d.ts +2 -2
- package/lib/typography/src/ul.d.ts +2 -2
- package/lib/upload/src/Upload.d.ts +11 -5
- package/lib/upload/src/Upload.js +8 -3
- package/lib/upload/src/UploadDragger.d.ts +1 -1
- package/lib/upload/src/UploadFile.d.ts +2 -2
- package/lib/upload/src/UploadFileList.d.ts +1 -1
- package/lib/upload/src/UploadFileList.js +3 -2
- package/lib/upload/src/UploadProgress.d.ts +1 -1
- package/lib/upload/src/UploadTrigger.d.ts +1 -1
- package/lib/upload/src/UploadTrigger.js +3 -2
- package/lib/upload/src/interface.d.ts +5 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/index.d.ts +2 -0
- package/lib/virtual-list/index.js +9 -0
- package/lib/virtual-list/src/VirtualList.d.ts +146 -0
- package/lib/virtual-list/src/VirtualList.js +105 -0
- package/lib/watermark/src/Watermark.d.ts +1 -1
- package/lib/watermark/src/Watermark.js +7 -0
- package/package.json +69 -69
- package/volar.d.ts +5 -0
- package/web-types.json +917 -32
|
@@ -47,9 +47,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
loading: BooleanConstructor;
|
|
48
48
|
bordered: BooleanConstructor;
|
|
49
49
|
iconPlacement: PropType<import("../../dialog/src/interface").IconPlacement>;
|
|
50
|
+
contentClass: StringConstructor;
|
|
50
51
|
contentStyle: PropType<string | import("vue").CSSProperties>;
|
|
52
|
+
headerClass: StringConstructor;
|
|
51
53
|
headerStyle: PropType<string | import("vue").CSSProperties>;
|
|
54
|
+
headerExtraClass: StringConstructor;
|
|
52
55
|
headerExtraStyle: PropType<string | import("vue").CSSProperties>;
|
|
56
|
+
footerClass: StringConstructor;
|
|
53
57
|
footerStyle: PropType<string | import("vue").CSSProperties>;
|
|
54
58
|
embedded: BooleanConstructor;
|
|
55
59
|
segmented: {
|
|
@@ -70,7 +74,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
74
|
type: BooleanConstructor;
|
|
71
75
|
required: true;
|
|
72
76
|
};
|
|
73
|
-
preset: PropType<"
|
|
77
|
+
preset: PropType<"confirm" | "dialog" | "card">;
|
|
74
78
|
displayDirective: {
|
|
75
79
|
type: PropType<"show" | "if">;
|
|
76
80
|
required: true;
|
|
@@ -771,9 +775,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
771
775
|
loading: BooleanConstructor;
|
|
772
776
|
bordered: BooleanConstructor;
|
|
773
777
|
iconPlacement: PropType<import("../../dialog/src/interface").IconPlacement>;
|
|
778
|
+
contentClass: StringConstructor;
|
|
774
779
|
contentStyle: PropType<string | import("vue").CSSProperties>;
|
|
780
|
+
headerClass: StringConstructor;
|
|
775
781
|
headerStyle: PropType<string | import("vue").CSSProperties>;
|
|
782
|
+
headerExtraClass: StringConstructor;
|
|
776
783
|
headerExtraStyle: PropType<string | import("vue").CSSProperties>;
|
|
784
|
+
footerClass: StringConstructor;
|
|
777
785
|
footerStyle: PropType<string | import("vue").CSSProperties>;
|
|
778
786
|
embedded: BooleanConstructor;
|
|
779
787
|
segmented: {
|
|
@@ -794,7 +802,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
794
802
|
type: BooleanConstructor;
|
|
795
803
|
required: true;
|
|
796
804
|
};
|
|
797
|
-
preset: PropType<"
|
|
805
|
+
preset: PropType<"confirm" | "dialog" | "card">;
|
|
798
806
|
displayDirective: {
|
|
799
807
|
type: PropType<"show" | "if">;
|
|
800
808
|
required: true;
|
|
@@ -812,8 +820,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
812
820
|
type: "default" | "error" | "info" | "success" | "warning";
|
|
813
821
|
tag: keyof HTMLElementTagNameMap;
|
|
814
822
|
size: "small" | "medium" | "large" | "huge";
|
|
815
|
-
autoFocus: boolean;
|
|
816
823
|
loading: boolean;
|
|
824
|
+
autoFocus: boolean;
|
|
817
825
|
bordered: boolean;
|
|
818
826
|
showIcon: boolean;
|
|
819
827
|
closable: boolean;
|
|
@@ -822,5 +830,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
822
830
|
segmented: boolean | import("../../card").CardSegmented;
|
|
823
831
|
trapFocus: boolean;
|
|
824
832
|
blockScroll: boolean;
|
|
825
|
-
}>;
|
|
833
|
+
}, {}>;
|
|
826
834
|
export default _default;
|
package/lib/modal/src/Modal.d.ts
CHANGED
|
@@ -43,9 +43,13 @@ export declare const modalProps: {
|
|
|
43
43
|
loading: BooleanConstructor;
|
|
44
44
|
bordered: BooleanConstructor;
|
|
45
45
|
iconPlacement: PropType<import("../../dialog/src/interface").IconPlacement>;
|
|
46
|
+
contentClass: StringConstructor;
|
|
46
47
|
contentStyle: PropType<string | CSSProperties>;
|
|
48
|
+
headerClass: StringConstructor;
|
|
47
49
|
headerStyle: PropType<string | CSSProperties>;
|
|
50
|
+
headerExtraClass: StringConstructor;
|
|
48
51
|
headerExtraStyle: PropType<string | CSSProperties>;
|
|
52
|
+
footerClass: StringConstructor;
|
|
49
53
|
footerStyle: PropType<string | CSSProperties>;
|
|
50
54
|
embedded: BooleanConstructor;
|
|
51
55
|
segmented: {
|
|
@@ -71,7 +75,7 @@ export declare const modalProps: {
|
|
|
71
75
|
type: BooleanConstructor;
|
|
72
76
|
default: boolean;
|
|
73
77
|
};
|
|
74
|
-
preset: PropType<"
|
|
78
|
+
preset: PropType<"confirm" | "dialog" | "card">;
|
|
75
79
|
to: PropType<string | HTMLElement>;
|
|
76
80
|
displayDirective: {
|
|
77
81
|
type: PropType<"show" | "if">;
|
|
@@ -995,9 +999,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
995
999
|
loading: BooleanConstructor;
|
|
996
1000
|
bordered: BooleanConstructor;
|
|
997
1001
|
iconPlacement: PropType<import("../../dialog/src/interface").IconPlacement>;
|
|
1002
|
+
contentClass: StringConstructor;
|
|
998
1003
|
contentStyle: PropType<string | CSSProperties>;
|
|
1004
|
+
headerClass: StringConstructor;
|
|
999
1005
|
headerStyle: PropType<string | CSSProperties>;
|
|
1006
|
+
headerExtraClass: StringConstructor;
|
|
1000
1007
|
headerExtraStyle: PropType<string | CSSProperties>;
|
|
1008
|
+
footerClass: StringConstructor;
|
|
1001
1009
|
footerStyle: PropType<string | CSSProperties>;
|
|
1002
1010
|
embedded: BooleanConstructor;
|
|
1003
1011
|
segmented: {
|
|
@@ -1023,7 +1031,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1023
1031
|
type: BooleanConstructor;
|
|
1024
1032
|
default: boolean;
|
|
1025
1033
|
};
|
|
1026
|
-
preset: PropType<"
|
|
1034
|
+
preset: PropType<"confirm" | "dialog" | "card">;
|
|
1027
1035
|
to: PropType<string | HTMLElement>;
|
|
1028
1036
|
displayDirective: {
|
|
1029
1037
|
type: PropType<"show" | "if">;
|
|
@@ -1903,7 +1911,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1903
1911
|
}, any>;
|
|
1904
1912
|
}>>>;
|
|
1905
1913
|
}, {
|
|
1906
|
-
mergedClsPrefix: import("vue").
|
|
1914
|
+
mergedClsPrefix: import("vue").Ref<string>;
|
|
1907
1915
|
namespace: import("vue").ComputedRef<string | undefined>;
|
|
1908
1916
|
isMounted: Readonly<import("vue").Ref<boolean>>;
|
|
1909
1917
|
containerRef: import("vue").Ref<HTMLElement | null>;
|
|
@@ -1967,9 +1975,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1967
1975
|
loading: BooleanConstructor;
|
|
1968
1976
|
bordered: BooleanConstructor;
|
|
1969
1977
|
iconPlacement: PropType<import("../../dialog/src/interface").IconPlacement>;
|
|
1978
|
+
contentClass: StringConstructor;
|
|
1970
1979
|
contentStyle: PropType<string | CSSProperties>;
|
|
1980
|
+
headerClass: StringConstructor;
|
|
1971
1981
|
headerStyle: PropType<string | CSSProperties>;
|
|
1982
|
+
headerExtraClass: StringConstructor;
|
|
1972
1983
|
headerExtraStyle: PropType<string | CSSProperties>;
|
|
1984
|
+
footerClass: StringConstructor;
|
|
1973
1985
|
footerStyle: PropType<string | CSSProperties>;
|
|
1974
1986
|
embedded: BooleanConstructor;
|
|
1975
1987
|
segmented: {
|
|
@@ -1995,7 +2007,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1995
2007
|
type: BooleanConstructor;
|
|
1996
2008
|
default: boolean;
|
|
1997
2009
|
};
|
|
1998
|
-
preset: PropType<"
|
|
2010
|
+
preset: PropType<"confirm" | "dialog" | "card">;
|
|
1999
2011
|
to: PropType<string | HTMLElement>;
|
|
2000
2012
|
displayDirective: {
|
|
2001
2013
|
type: PropType<"show" | "if">;
|
|
@@ -2880,8 +2892,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2880
2892
|
size: "small" | "medium" | "large" | "huge";
|
|
2881
2893
|
show: boolean;
|
|
2882
2894
|
transformOrigin: "center" | "mouse";
|
|
2883
|
-
autoFocus: boolean;
|
|
2884
2895
|
loading: boolean;
|
|
2896
|
+
autoFocus: boolean;
|
|
2885
2897
|
bordered: boolean;
|
|
2886
2898
|
showIcon: boolean;
|
|
2887
2899
|
closable: boolean;
|
|
@@ -2896,5 +2908,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2896
2908
|
unstableShowMask: boolean;
|
|
2897
2909
|
maskClosable: boolean;
|
|
2898
2910
|
closeOnEsc: boolean;
|
|
2899
|
-
}>;
|
|
2911
|
+
}, {}>;
|
|
2900
2912
|
export default _default;
|
|
@@ -25,9 +25,13 @@ declare const presetProps: {
|
|
|
25
25
|
onPositiveClick: import("vue").PropType<(e: MouseEvent) => void>;
|
|
26
26
|
onNegativeClick: import("vue").PropType<(e: MouseEvent) => void>;
|
|
27
27
|
onClose: import("vue").PropType<() => void>;
|
|
28
|
+
contentClass: StringConstructor;
|
|
28
29
|
contentStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
30
|
+
headerClass: StringConstructor;
|
|
29
31
|
headerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
32
|
+
headerExtraClass: StringConstructor;
|
|
30
33
|
headerExtraStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
34
|
+
footerClass: StringConstructor;
|
|
31
35
|
footerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
32
36
|
embedded: BooleanConstructor;
|
|
33
37
|
segmented: {
|
|
@@ -45,5 +49,5 @@ declare const presetProps: {
|
|
|
45
49
|
readonly default: "div";
|
|
46
50
|
};
|
|
47
51
|
};
|
|
48
|
-
declare const presetPropsKeys: ("type" | "tag" | "content" | "size" | "icon" | "title" | "role" | "action" | "
|
|
52
|
+
declare const presetPropsKeys: ("type" | "tag" | "content" | "size" | "icon" | "title" | "role" | "action" | "loading" | "positiveText" | "negativeText" | "bordered" | "showIcon" | "closable" | "contentClass" | "contentStyle" | "onClose" | "headerClass" | "headerStyle" | "footerClass" | "footerStyle" | "iconPlacement" | "hoverable" | "embedded" | "headerExtraClass" | "headerExtraStyle" | "segmented" | "positiveButtonProps" | "negativeButtonProps" | "onPositiveClick" | "onNegativeClick")[];
|
|
49
53
|
export { presetProps, presetPropsKeys };
|
|
@@ -132,7 +132,7 @@ exports.NotificationEnvironment = (0, vue_1.defineComponent)({
|
|
|
132
132
|
},
|
|
133
133
|
render() {
|
|
134
134
|
return ((0, vue_1.h)(vue_1.Transition, { name: "notification-transition", appear: true,
|
|
135
|
-
// convert to any since Element is not
|
|
135
|
+
// convert to any since Element is not compatible with HTMLElement
|
|
136
136
|
onBeforeEnter: this.handleBeforeEnter, onAfterEnter: this.handleAfterEnter, onBeforeLeave: this.handleBeforeLeave, onLeave: this.handleLeave, onAfterLeave: this.handleAfterLeave }, {
|
|
137
137
|
default: () => {
|
|
138
138
|
return this.show ? ((0, vue_1.h)(Notification_1.Notification, Object.assign({}, (0, _utils_1.keep)(this.$props, Notification_1.notificationPropKeys), { onClose: this.handleClose, onMouseenter: this.duration && this.keepAliveOnHover
|
|
@@ -37,6 +37,7 @@ interface NotificationRef {
|
|
|
37
37
|
hide: () => void;
|
|
38
38
|
}
|
|
39
39
|
export declare const notificationProviderProps: {
|
|
40
|
+
containerClass: StringConstructor;
|
|
40
41
|
containerStyle: PropType<string | CSSProperties>;
|
|
41
42
|
to: PropType<string | HTMLElement>;
|
|
42
43
|
scrollable: {
|
|
@@ -160,6 +161,7 @@ export declare const notificationProviderProps: {
|
|
|
160
161
|
};
|
|
161
162
|
export type NotificationProviderProps = ExtractPublicPropTypes<typeof notificationProviderProps>;
|
|
162
163
|
declare const _default: import("vue").DefineComponent<{
|
|
164
|
+
containerClass: StringConstructor;
|
|
163
165
|
containerStyle: PropType<string | CSSProperties>;
|
|
164
166
|
to: PropType<string | HTMLElement>;
|
|
165
167
|
scrollable: {
|
|
@@ -281,7 +283,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
281
283
|
}, any>;
|
|
282
284
|
}>>>;
|
|
283
285
|
}, {
|
|
284
|
-
mergedClsPrefix:
|
|
286
|
+
mergedClsPrefix: Ref<string>;
|
|
285
287
|
notificationList: Ref<{
|
|
286
288
|
readonly key: string;
|
|
287
289
|
readonly destroy: () => void;
|
|
@@ -318,6 +320,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
318
320
|
open: (options: NotificationOptions) => NotificationReactive;
|
|
319
321
|
destroyAll: () => void;
|
|
320
322
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
323
|
+
containerClass: StringConstructor;
|
|
321
324
|
containerStyle: PropType<string | CSSProperties>;
|
|
322
325
|
to: PropType<string | HTMLElement>;
|
|
323
326
|
scrollable: {
|
|
@@ -442,5 +445,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
442
445
|
placement: NotificationPlacement;
|
|
443
446
|
scrollable: boolean;
|
|
444
447
|
keepAliveOnHover: boolean;
|
|
445
|
-
}>;
|
|
448
|
+
}, {}>;
|
|
446
449
|
export default _default;
|
|
@@ -15,7 +15,7 @@ const NotificationEnvironment_1 = require("./NotificationEnvironment");
|
|
|
15
15
|
const context_1 = require("./context");
|
|
16
16
|
const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
|
|
17
17
|
exports.notificationApiInjectionKey = (0, _utils_1.createInjectionKey)('n-notification-api');
|
|
18
|
-
exports.notificationProviderProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { containerStyle: [String, Object], to: [String, Object], scrollable: {
|
|
18
|
+
exports.notificationProviderProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { containerClass: String, containerStyle: [String, Object], to: [String, Object], scrollable: {
|
|
19
19
|
type: Boolean,
|
|
20
20
|
default: true
|
|
21
21
|
}, max: Number, placement: {
|
|
@@ -109,7 +109,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
109
109
|
return ((0, vue_1.h)(vue_1.Fragment, null, (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 :
|
|
110
110
|
_b.call(_a),
|
|
111
111
|
this.notificationList.length ? ((0, vue_1.h)(vue_1.Teleport, { to: (_c = this.to) !== null && _c !== void 0 ? _c : 'body' },
|
|
112
|
-
(0, vue_1.h)(NotificationContainer_1.NotificationContainer, { style: this.containerStyle, scrollable: this.scrollable && placement !== 'top' && placement !== 'bottom', placement: placement }, {
|
|
112
|
+
(0, vue_1.h)(NotificationContainer_1.NotificationContainer, { class: this.containerClass, style: this.containerStyle, scrollable: this.scrollable && placement !== 'top' && placement !== 'bottom', placement: placement }, {
|
|
113
113
|
default: () => {
|
|
114
114
|
return this.notificationList.map((notification) => {
|
|
115
115
|
return ((0, vue_1.h)(NotificationEnvironment_1.NotificationEnvironment, Object.assign({ ref: ((inst) => {
|
|
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
80
|
}, unknown>>>;
|
|
81
81
|
}, {
|
|
82
82
|
rtlEnabled: import("vue").Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
|
|
83
|
-
mergedClsPrefix: import("vue").
|
|
83
|
+
mergedClsPrefix: import("vue").Ref<string>;
|
|
84
84
|
cssVars: import("vue").ComputedRef<{
|
|
85
85
|
'--n-title-text-color': string;
|
|
86
86
|
'--n-title-font-size': string;
|
|
@@ -133,5 +133,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
133
133
|
titleFontSize: string;
|
|
134
134
|
backSize: string;
|
|
135
135
|
}, unknown>>>;
|
|
136
|
-
}>>, {}>;
|
|
136
|
+
}>>, {}, {}>;
|
|
137
137
|
export default _default;
|
|
@@ -2101,7 +2101,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2101
2101
|
}>>>;
|
|
2102
2102
|
}, {
|
|
2103
2103
|
rtlEnabled: import("vue").Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
|
|
2104
|
-
mergedClsPrefix: import("vue").
|
|
2104
|
+
mergedClsPrefix: import("vue").Ref<string>;
|
|
2105
2105
|
locale: import("vue").Ref<{
|
|
2106
2106
|
goto: string;
|
|
2107
2107
|
selectionSuffix: string;
|
|
@@ -3881,5 +3881,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3881
3881
|
readonly showQuickJumper: boolean;
|
|
3882
3882
|
readonly pageSlot: number;
|
|
3883
3883
|
readonly displayOrder: ("pages" | "size-picker" | "quick-jumper")[];
|
|
3884
|
-
}>;
|
|
3884
|
+
}, {}>;
|
|
3885
3885
|
export default _default;
|
|
@@ -499,7 +499,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
499
499
|
`${mergedClsPrefix}-pagination-item--disabled`,
|
|
500
500
|
type === 'page' &&
|
|
501
501
|
`${mergedClsPrefix}-pagination-item--clickable`
|
|
502
|
-
], onClick: () => {
|
|
502
|
+
], onClick: () => {
|
|
503
|
+
handlePageItemClick(pageItem);
|
|
504
|
+
}, onMouseenter: onMouseenter, onMouseleave: onMouseleave }, contentNode));
|
|
503
505
|
if (type === 'page' &&
|
|
504
506
|
!pageItem.mayBeFastBackward &&
|
|
505
507
|
!pageItem.mayBeFastForward) {
|
|
@@ -48,7 +48,10 @@ export declare const popconfirmProps: {
|
|
|
48
48
|
type: PropType<"show" | "if">;
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
51
|
+
arrowClass: StringConstructor;
|
|
51
52
|
arrowStyle: PropType<string | import("vue").CSSProperties>;
|
|
53
|
+
arrowWrapperClass: StringConstructor;
|
|
54
|
+
arrowWrapperStyle: PropType<string | import("vue").CSSProperties>;
|
|
52
55
|
flip: {
|
|
53
56
|
type: BooleanConstructor;
|
|
54
57
|
default: boolean;
|
|
@@ -72,8 +75,11 @@ export declare const popconfirmProps: {
|
|
|
72
75
|
default: undefined;
|
|
73
76
|
};
|
|
74
77
|
scrollable: BooleanConstructor;
|
|
78
|
+
contentClass: StringConstructor;
|
|
75
79
|
contentStyle: PropType<string | import("vue").CSSProperties>;
|
|
80
|
+
headerClass: StringConstructor;
|
|
76
81
|
headerStyle: PropType<string | import("vue").CSSProperties>;
|
|
82
|
+
footerClass: StringConstructor;
|
|
77
83
|
footerStyle: PropType<string | import("vue").CSSProperties>;
|
|
78
84
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
79
85
|
'onUpdate:show': PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
@@ -818,7 +824,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
818
824
|
type: PropType<"show" | "if">;
|
|
819
825
|
default: string;
|
|
820
826
|
};
|
|
827
|
+
arrowClass: StringConstructor;
|
|
821
828
|
arrowStyle: PropType<string | import("vue").CSSProperties>;
|
|
829
|
+
arrowWrapperClass: StringConstructor;
|
|
830
|
+
arrowWrapperStyle: PropType<string | import("vue").CSSProperties>;
|
|
822
831
|
flip: {
|
|
823
832
|
type: BooleanConstructor;
|
|
824
833
|
default: boolean;
|
|
@@ -842,8 +851,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
842
851
|
default: undefined;
|
|
843
852
|
};
|
|
844
853
|
scrollable: BooleanConstructor;
|
|
854
|
+
contentClass: StringConstructor;
|
|
845
855
|
contentStyle: PropType<string | import("vue").CSSProperties>;
|
|
856
|
+
headerClass: StringConstructor;
|
|
846
857
|
headerStyle: PropType<string | import("vue").CSSProperties>;
|
|
858
|
+
footerClass: StringConstructor;
|
|
847
859
|
footerStyle: PropType<string | import("vue").CSSProperties>;
|
|
848
860
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
849
861
|
'onUpdate:show': PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
@@ -1540,6 +1552,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1540
1552
|
}, any>;
|
|
1541
1553
|
}>>>;
|
|
1542
1554
|
}, {
|
|
1555
|
+
setShow(value: boolean): void;
|
|
1556
|
+
syncPosition(): void;
|
|
1543
1557
|
mergedTheme: import("vue").ComputedRef<{
|
|
1544
1558
|
common: {
|
|
1545
1559
|
baseColor: string;
|
|
@@ -1887,11 +1901,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1887
1901
|
popoverInstRef: import("vue").Ref<{
|
|
1888
1902
|
syncPosition: () => void;
|
|
1889
1903
|
setShow: (value: boolean) => void;
|
|
1904
|
+
getMergedShow: () => boolean;
|
|
1890
1905
|
} | null>;
|
|
1891
1906
|
handlePositiveClick: (e: MouseEvent) => void;
|
|
1892
1907
|
handleNegativeClick: (e: MouseEvent) => void;
|
|
1893
|
-
syncPosition: () => void;
|
|
1894
|
-
setShow: (value: boolean) => void;
|
|
1895
1908
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
1896
1909
|
positiveText: PropType<string | null>;
|
|
1897
1910
|
negativeText: PropType<string | null>;
|
|
@@ -1938,7 +1951,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1938
1951
|
type: PropType<"show" | "if">;
|
|
1939
1952
|
default: string;
|
|
1940
1953
|
};
|
|
1954
|
+
arrowClass: StringConstructor;
|
|
1941
1955
|
arrowStyle: PropType<string | import("vue").CSSProperties>;
|
|
1956
|
+
arrowWrapperClass: StringConstructor;
|
|
1957
|
+
arrowWrapperStyle: PropType<string | import("vue").CSSProperties>;
|
|
1942
1958
|
flip: {
|
|
1943
1959
|
type: BooleanConstructor;
|
|
1944
1960
|
default: boolean;
|
|
@@ -1962,8 +1978,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1962
1978
|
default: undefined;
|
|
1963
1979
|
};
|
|
1964
1980
|
scrollable: BooleanConstructor;
|
|
1981
|
+
contentClass: StringConstructor;
|
|
1965
1982
|
contentStyle: PropType<string | import("vue").CSSProperties>;
|
|
1983
|
+
headerClass: StringConstructor;
|
|
1966
1984
|
headerStyle: PropType<string | import("vue").CSSProperties>;
|
|
1985
|
+
footerClass: StringConstructor;
|
|
1967
1986
|
footerStyle: PropType<string | import("vue").CSSProperties>;
|
|
1968
1987
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
1969
1988
|
'onUpdate:show': PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
@@ -2685,5 +2704,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2685
2704
|
internalInheritedEventHandlers: import("../../popover/src/Popover").TriggerEventHandlers[];
|
|
2686
2705
|
internalExtraClass: string[];
|
|
2687
2706
|
arrow: boolean | undefined;
|
|
2688
|
-
}>;
|
|
2707
|
+
}, {}>;
|
|
2689
2708
|
export default _default;
|
|
@@ -52,6 +52,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
52
52
|
const themeRef = (0, _mixins_1.useTheme)('Popconfirm', '-popconfirm', index_cssr_1.default, styles_1.popconfirmLight, props, mergedClsPrefixRef);
|
|
53
53
|
const popoverInstRef = (0, vue_1.ref)(null);
|
|
54
54
|
function handlePositiveClick(e) {
|
|
55
|
+
var _a;
|
|
56
|
+
if (!((_a = popoverInstRef.value) === null || _a === void 0 ? void 0 : _a.getMergedShow()))
|
|
57
|
+
return;
|
|
55
58
|
const { onPositiveClick, 'onUpdate:show': onUpdateShow } = props;
|
|
56
59
|
void Promise.resolve(onPositiveClick ? onPositiveClick(e) : true).then((value) => {
|
|
57
60
|
var _a;
|
|
@@ -63,6 +66,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
63
66
|
});
|
|
64
67
|
}
|
|
65
68
|
function handleNegativeClick(e) {
|
|
69
|
+
var _a;
|
|
70
|
+
if (!((_a = popoverInstRef.value) === null || _a === void 0 ? void 0 : _a.getMergedShow()))
|
|
71
|
+
return;
|
|
66
72
|
const { onNegativeClick, 'onUpdate:show': onUpdateShow } = props;
|
|
67
73
|
void Promise.resolve(onNegativeClick ? onNegativeClick(e) : true).then((value) => {
|
|
68
74
|
var _a;
|
|
@@ -78,7 +84,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
78
84
|
mergedClsPrefixRef,
|
|
79
85
|
props
|
|
80
86
|
});
|
|
81
|
-
const
|
|
87
|
+
const returned = {
|
|
82
88
|
setShow(value) {
|
|
83
89
|
var _a;
|
|
84
90
|
(_a = popoverInstRef.value) === null || _a === void 0 ? void 0 : _a.setShow(value);
|
|
@@ -86,11 +92,13 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
86
92
|
syncPosition() {
|
|
87
93
|
var _a;
|
|
88
94
|
(_a = popoverInstRef.value) === null || _a === void 0 ? void 0 : _a.syncPosition();
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
|
|
95
|
+
},
|
|
96
|
+
mergedTheme: themeRef,
|
|
97
|
+
popoverInstRef,
|
|
92
98
|
handlePositiveClick,
|
|
93
|
-
handleNegativeClick
|
|
99
|
+
handleNegativeClick
|
|
100
|
+
};
|
|
101
|
+
return returned;
|
|
94
102
|
},
|
|
95
103
|
render() {
|
|
96
104
|
const { $slots: slots, $props: props, mergedTheme } = this;
|
|
@@ -63,7 +63,10 @@ export declare const popoverBaseProps: {
|
|
|
63
63
|
type: PropType<"show" | "if">;
|
|
64
64
|
default: string;
|
|
65
65
|
};
|
|
66
|
+
arrowClass: StringConstructor;
|
|
66
67
|
arrowStyle: PropType<string | CSSProperties>;
|
|
68
|
+
arrowWrapperClass: StringConstructor;
|
|
69
|
+
arrowWrapperStyle: PropType<string | CSSProperties>;
|
|
67
70
|
flip: {
|
|
68
71
|
type: BooleanConstructor;
|
|
69
72
|
default: boolean;
|
|
@@ -87,8 +90,11 @@ export declare const popoverBaseProps: {
|
|
|
87
90
|
default: undefined;
|
|
88
91
|
};
|
|
89
92
|
scrollable: BooleanConstructor;
|
|
93
|
+
contentClass: StringConstructor;
|
|
90
94
|
contentStyle: PropType<string | CSSProperties>;
|
|
95
|
+
headerClass: StringConstructor;
|
|
91
96
|
headerStyle: PropType<string | CSSProperties>;
|
|
97
|
+
footerClass: StringConstructor;
|
|
92
98
|
footerStyle: PropType<string | CSSProperties>;
|
|
93
99
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
94
100
|
'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
|
|
@@ -151,7 +157,10 @@ export declare const popoverProps: {
|
|
|
151
157
|
type: PropType<"show" | "if">;
|
|
152
158
|
default: string;
|
|
153
159
|
};
|
|
160
|
+
arrowClass: StringConstructor;
|
|
154
161
|
arrowStyle: PropType<string | CSSProperties>;
|
|
162
|
+
arrowWrapperClass: StringConstructor;
|
|
163
|
+
arrowWrapperStyle: PropType<string | CSSProperties>;
|
|
155
164
|
flip: {
|
|
156
165
|
type: BooleanConstructor;
|
|
157
166
|
default: boolean;
|
|
@@ -175,8 +184,11 @@ export declare const popoverProps: {
|
|
|
175
184
|
default: undefined;
|
|
176
185
|
};
|
|
177
186
|
scrollable: BooleanConstructor;
|
|
187
|
+
contentClass: StringConstructor;
|
|
178
188
|
contentStyle: PropType<string | CSSProperties>;
|
|
189
|
+
headerClass: StringConstructor;
|
|
179
190
|
headerStyle: PropType<string | CSSProperties>;
|
|
191
|
+
footerClass: StringConstructor;
|
|
180
192
|
footerStyle: PropType<string | CSSProperties>;
|
|
181
193
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
182
194
|
'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
|
|
@@ -283,7 +295,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
283
295
|
type: PropType<"show" | "if">;
|
|
284
296
|
default: string;
|
|
285
297
|
};
|
|
298
|
+
arrowClass: StringConstructor;
|
|
286
299
|
arrowStyle: PropType<string | CSSProperties>;
|
|
300
|
+
arrowWrapperClass: StringConstructor;
|
|
301
|
+
arrowWrapperStyle: PropType<string | CSSProperties>;
|
|
287
302
|
flip: {
|
|
288
303
|
type: BooleanConstructor;
|
|
289
304
|
default: boolean;
|
|
@@ -307,8 +322,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
307
322
|
default: undefined;
|
|
308
323
|
};
|
|
309
324
|
scrollable: BooleanConstructor;
|
|
325
|
+
contentClass: StringConstructor;
|
|
310
326
|
contentStyle: PropType<string | CSSProperties>;
|
|
327
|
+
headerClass: StringConstructor;
|
|
311
328
|
headerStyle: PropType<string | CSSProperties>;
|
|
329
|
+
footerClass: StringConstructor;
|
|
312
330
|
footerStyle: PropType<string | CSSProperties>;
|
|
313
331
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
314
332
|
'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
|
|
@@ -428,7 +446,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
428
446
|
type: PropType<"show" | "if">;
|
|
429
447
|
default: string;
|
|
430
448
|
};
|
|
449
|
+
arrowClass: StringConstructor;
|
|
431
450
|
arrowStyle: PropType<string | CSSProperties>;
|
|
451
|
+
arrowWrapperClass: StringConstructor;
|
|
452
|
+
arrowWrapperStyle: PropType<string | CSSProperties>;
|
|
432
453
|
flip: {
|
|
433
454
|
type: BooleanConstructor;
|
|
434
455
|
default: boolean;
|
|
@@ -452,8 +473,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
452
473
|
default: undefined;
|
|
453
474
|
};
|
|
454
475
|
scrollable: BooleanConstructor;
|
|
476
|
+
contentClass: StringConstructor;
|
|
455
477
|
contentStyle: PropType<string | CSSProperties>;
|
|
478
|
+
headerClass: StringConstructor;
|
|
456
479
|
headerStyle: PropType<string | CSSProperties>;
|
|
480
|
+
footerClass: StringConstructor;
|
|
457
481
|
footerStyle: PropType<string | CSSProperties>;
|
|
458
482
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
459
483
|
'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
|
|
@@ -544,5 +568,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
544
568
|
internalInheritedEventHandlers: TriggerEventHandlers[];
|
|
545
569
|
internalExtraClass: string[];
|
|
546
570
|
arrow: boolean | undefined;
|
|
547
|
-
}>;
|
|
571
|
+
}, {}>;
|
|
548
572
|
export default _default;
|
|
@@ -94,7 +94,10 @@ exports.popoverBaseProps = {
|
|
|
94
94
|
type: String,
|
|
95
95
|
default: 'if'
|
|
96
96
|
},
|
|
97
|
+
arrowClass: String,
|
|
97
98
|
arrowStyle: [String, Object],
|
|
99
|
+
arrowWrapperClass: String,
|
|
100
|
+
arrowWrapperStyle: [String, Object],
|
|
98
101
|
flip: {
|
|
99
102
|
type: Boolean,
|
|
100
103
|
default: true
|
|
@@ -115,8 +118,11 @@ exports.popoverBaseProps = {
|
|
|
115
118
|
zIndex: Number,
|
|
116
119
|
to: _utils_1.useAdjustedTo.propTo,
|
|
117
120
|
scrollable: Boolean,
|
|
121
|
+
contentClass: String,
|
|
118
122
|
contentStyle: [Object, String],
|
|
123
|
+
headerClass: String,
|
|
119
124
|
headerStyle: [Object, String],
|
|
125
|
+
footerClass: String,
|
|
120
126
|
footerStyle: [Object, String],
|
|
121
127
|
// events
|
|
122
128
|
onClickoutside: Function,
|
|
@@ -340,6 +346,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
340
346
|
}
|
|
341
347
|
function getTriggerElement() {
|
|
342
348
|
var _a;
|
|
349
|
+
// eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
|
|
343
350
|
return (_a = binderInstRef.value) === null || _a === void 0 ? void 0 : _a.targetRef;
|
|
344
351
|
}
|
|
345
352
|
function setBodyInstance(value) {
|
|
@@ -364,7 +371,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
364
371
|
doUpdateShow(false);
|
|
365
372
|
}
|
|
366
373
|
});
|
|
367
|
-
|
|
374
|
+
const returned = {
|
|
368
375
|
binderInstRef,
|
|
369
376
|
positionManually: positionManuallyRef,
|
|
370
377
|
mergedShowConsideringDisabledProp: mergedShowConsideringDisabledPropRef,
|
|
@@ -380,6 +387,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
380
387
|
handleBlur,
|
|
381
388
|
syncPosition
|
|
382
389
|
};
|
|
390
|
+
return returned;
|
|
383
391
|
},
|
|
384
392
|
render() {
|
|
385
393
|
var _a;
|
|
@@ -396,9 +404,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
396
404
|
if (triggerVNode) {
|
|
397
405
|
triggerVNode = (0, vue_1.cloneVNode)(triggerVNode);
|
|
398
406
|
triggerVNode =
|
|
399
|
-
triggerVNode.type === vue_1.Text
|
|
400
|
-
? (0, vue_1.h)('span', [triggerVNode])
|
|
401
|
-
: triggerVNode;
|
|
407
|
+
triggerVNode.type === vue_1.Text ? (0, vue_1.h)('span', [triggerVNode]) : triggerVNode;
|
|
402
408
|
const handlers = {
|
|
403
409
|
onClick: this.handleClick,
|
|
404
410
|
onMouseenter: this.handleMouseEnter,
|