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
package/lib/themes/dark.js
CHANGED
|
@@ -57,32 +57,34 @@ const styles_52 = require("../popconfirm/styles");
|
|
|
57
57
|
const styles_53 = require("../popover/styles");
|
|
58
58
|
const styles_54 = require("../popselect/styles");
|
|
59
59
|
const styles_55 = require("../progress/styles");
|
|
60
|
-
const styles_56 = require("../
|
|
61
|
-
const styles_57 = require("../
|
|
62
|
-
const styles_58 = require("../
|
|
63
|
-
const styles_59 = require("../
|
|
64
|
-
const styles_60 = require("../
|
|
65
|
-
const styles_61 = require("../
|
|
66
|
-
const styles_62 = require("../
|
|
67
|
-
const styles_63 = require("../
|
|
68
|
-
const styles_64 = require("../
|
|
69
|
-
const styles_65 = require("../
|
|
70
|
-
const styles_66 = require("../
|
|
71
|
-
const styles_67 = require("../
|
|
72
|
-
const styles_68 = require("../
|
|
73
|
-
const styles_69 = require("../
|
|
74
|
-
const styles_70 = require("../
|
|
75
|
-
const styles_71 = require("../
|
|
76
|
-
const styles_72 = require("../
|
|
77
|
-
const styles_73 = require("../
|
|
78
|
-
const styles_74 = require("../
|
|
79
|
-
const styles_75 = require("../
|
|
80
|
-
const styles_76 = require("../
|
|
81
|
-
const styles_77 = require("../
|
|
82
|
-
const styles_78 = require("../
|
|
83
|
-
const styles_79 = require("../
|
|
84
|
-
const styles_80 = require("../
|
|
85
|
-
const styles_81 = require("../
|
|
60
|
+
const styles_56 = require("../qr-code/styles");
|
|
61
|
+
const styles_57 = require("../radio/styles");
|
|
62
|
+
const styles_58 = require("../rate/styles");
|
|
63
|
+
const styles_59 = require("../result/styles");
|
|
64
|
+
const styles_60 = require("../legacy-grid/styles");
|
|
65
|
+
const styles_61 = require("../_internal/scrollbar/styles");
|
|
66
|
+
const styles_62 = require("../select/styles");
|
|
67
|
+
const styles_63 = require("../skeleton/styles");
|
|
68
|
+
const styles_64 = require("../slider/styles");
|
|
69
|
+
const styles_65 = require("../space/styles");
|
|
70
|
+
const styles_66 = require("../spin/styles");
|
|
71
|
+
const styles_67 = require("../statistic/styles");
|
|
72
|
+
const styles_68 = require("../steps/styles");
|
|
73
|
+
const styles_69 = require("../switch/styles");
|
|
74
|
+
const styles_70 = require("../table/styles");
|
|
75
|
+
const styles_71 = require("../tabs/styles");
|
|
76
|
+
const styles_72 = require("../tag/styles");
|
|
77
|
+
const styles_73 = require("../thing/styles");
|
|
78
|
+
const styles_74 = require("../time-picker/styles");
|
|
79
|
+
const styles_75 = require("../timeline/styles");
|
|
80
|
+
const styles_76 = require("../tooltip/styles");
|
|
81
|
+
const styles_77 = require("../transfer/styles");
|
|
82
|
+
const styles_78 = require("../tree-select/styles");
|
|
83
|
+
const styles_79 = require("../typography/styles");
|
|
84
|
+
const styles_80 = require("../tree/styles");
|
|
85
|
+
const styles_81 = require("../upload/styles");
|
|
86
|
+
const styles_82 = require("../watermark/styles");
|
|
87
|
+
const styles_83 = require("../split/styles");
|
|
86
88
|
exports.darkTheme = {
|
|
87
89
|
name: 'dark',
|
|
88
90
|
common: common_1.commonDark,
|
|
@@ -141,30 +143,32 @@ exports.darkTheme = {
|
|
|
141
143
|
Popover: styles_53.popoverDark,
|
|
142
144
|
Popselect: styles_54.popselectDark,
|
|
143
145
|
Progress: styles_55.progressDark,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
146
|
+
QrCode: styles_56.qrcodeDark,
|
|
147
|
+
Radio: styles_57.radioDark,
|
|
148
|
+
Rate: styles_58.rateDark,
|
|
149
|
+
Result: styles_59.resultDark,
|
|
150
|
+
Row: styles_60.rowDark,
|
|
151
|
+
Scrollbar: styles_61.scrollbarDark,
|
|
152
|
+
Select: styles_62.selectDark,
|
|
153
|
+
Skeleton: styles_63.skeletonDark,
|
|
154
|
+
Slider: styles_64.sliderDark,
|
|
155
|
+
Space: styles_65.spaceDark,
|
|
156
|
+
Spin: styles_66.spinDark,
|
|
157
|
+
Statistic: styles_67.statisticDark,
|
|
158
|
+
Steps: styles_68.stepsDark,
|
|
159
|
+
Switch: styles_69.switchDark,
|
|
160
|
+
Table: styles_70.tableDark,
|
|
161
|
+
Tabs: styles_71.tabsDark,
|
|
162
|
+
Tag: styles_72.tagDark,
|
|
163
|
+
Thing: styles_73.thingDark,
|
|
164
|
+
TimePicker: styles_74.timePickerDark,
|
|
165
|
+
Timeline: styles_75.timelineDark,
|
|
166
|
+
Tooltip: styles_76.tooltipDark,
|
|
167
|
+
Transfer: styles_77.transferDark,
|
|
168
|
+
Tree: styles_80.treeDark,
|
|
169
|
+
TreeSelect: styles_78.treeSelectDark,
|
|
170
|
+
Typography: styles_79.typographyDark,
|
|
171
|
+
Upload: styles_81.uploadDark,
|
|
172
|
+
Watermark: styles_82.watermarkDark,
|
|
173
|
+
Split: styles_83.splitDark
|
|
170
174
|
};
|
package/lib/themes/light.js
CHANGED
|
@@ -59,32 +59,34 @@ const styles_52 = require("../popconfirm/styles");
|
|
|
59
59
|
const styles_53 = require("../popover/styles");
|
|
60
60
|
const styles_54 = require("../popselect/styles");
|
|
61
61
|
const styles_55 = require("../progress/styles");
|
|
62
|
-
const styles_56 = require("../
|
|
63
|
-
const styles_57 = require("../
|
|
64
|
-
const styles_58 = require("../
|
|
65
|
-
const styles_59 = require("../
|
|
66
|
-
const styles_60 = require("../
|
|
67
|
-
const styles_61 = require("../
|
|
68
|
-
const styles_62 = require("../
|
|
69
|
-
const styles_63 = require("../
|
|
70
|
-
const styles_64 = require("../
|
|
71
|
-
const styles_65 = require("../
|
|
72
|
-
const styles_66 = require("../
|
|
73
|
-
const styles_67 = require("../
|
|
74
|
-
const styles_68 = require("../
|
|
75
|
-
const styles_69 = require("../
|
|
76
|
-
const styles_70 = require("../
|
|
77
|
-
const styles_71 = require("../
|
|
78
|
-
const styles_72 = require("../
|
|
79
|
-
const styles_73 = require("../
|
|
80
|
-
const styles_74 = require("../
|
|
81
|
-
const styles_75 = require("../
|
|
82
|
-
const styles_76 = require("../
|
|
83
|
-
const styles_77 = require("../
|
|
84
|
-
const styles_78 = require("../
|
|
85
|
-
const styles_79 = require("../tree
|
|
86
|
-
const styles_80 = require("../
|
|
87
|
-
const styles_81 = require("../
|
|
62
|
+
const styles_56 = require("../qr-code/styles");
|
|
63
|
+
const styles_57 = require("../radio/styles");
|
|
64
|
+
const styles_58 = require("../rate/styles");
|
|
65
|
+
const styles_59 = require("../result/styles");
|
|
66
|
+
const styles_60 = require("../legacy-grid/styles");
|
|
67
|
+
const styles_61 = require("../_internal/scrollbar/styles");
|
|
68
|
+
const styles_62 = require("../select/styles");
|
|
69
|
+
const styles_63 = require("../skeleton/styles");
|
|
70
|
+
const styles_64 = require("../slider/styles");
|
|
71
|
+
const styles_65 = require("../space/styles");
|
|
72
|
+
const styles_66 = require("../spin/styles");
|
|
73
|
+
const styles_67 = require("../statistic/styles");
|
|
74
|
+
const styles_68 = require("../steps/styles");
|
|
75
|
+
const styles_69 = require("../switch/styles");
|
|
76
|
+
const styles_70 = require("../table/styles");
|
|
77
|
+
const styles_71 = require("../tabs/styles");
|
|
78
|
+
const styles_72 = require("../tag/styles");
|
|
79
|
+
const styles_73 = require("../thing/styles");
|
|
80
|
+
const styles_74 = require("../time-picker/styles");
|
|
81
|
+
const styles_75 = require("../timeline/styles");
|
|
82
|
+
const styles_76 = require("../tooltip/styles");
|
|
83
|
+
const styles_77 = require("../transfer/styles");
|
|
84
|
+
const styles_78 = require("../typography/styles");
|
|
85
|
+
const styles_79 = require("../tree/styles");
|
|
86
|
+
const styles_80 = require("../tree-select/styles");
|
|
87
|
+
const styles_81 = require("../upload/styles");
|
|
88
|
+
const styles_82 = require("../watermark/styles");
|
|
89
|
+
const styles_83 = require("../split/styles");
|
|
88
90
|
exports.lightTheme = {
|
|
89
91
|
name: 'light',
|
|
90
92
|
common: common_1.commonLight,
|
|
@@ -143,30 +145,32 @@ exports.lightTheme = {
|
|
|
143
145
|
Popover: styles_53.popoverLight,
|
|
144
146
|
Popselect: styles_54.popselectLight,
|
|
145
147
|
Progress: styles_55.progressLight,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
148
|
+
QrCode: styles_56.qrcodeLight,
|
|
149
|
+
Radio: styles_57.radioLight,
|
|
150
|
+
Rate: styles_58.rateLight,
|
|
151
|
+
Row: styles_60.rowLight,
|
|
152
|
+
Result: styles_59.resultLight,
|
|
153
|
+
Scrollbar: styles_61.scrollbarLight,
|
|
154
|
+
Skeleton: styles_63.skeletonLight,
|
|
155
|
+
Select: styles_62.selectLight,
|
|
156
|
+
Slider: styles_64.sliderLight,
|
|
157
|
+
Space: styles_65.spaceLight,
|
|
158
|
+
Spin: styles_66.spinLight,
|
|
159
|
+
Statistic: styles_67.statisticLight,
|
|
160
|
+
Steps: styles_68.stepsLight,
|
|
161
|
+
Switch: styles_69.switchLight,
|
|
162
|
+
Table: styles_70.tableLight,
|
|
163
|
+
Tabs: styles_71.tabsLight,
|
|
164
|
+
Tag: styles_72.tagLight,
|
|
165
|
+
Thing: styles_73.thingLight,
|
|
166
|
+
TimePicker: styles_74.timePickerLight,
|
|
167
|
+
Timeline: styles_75.timelineLight,
|
|
168
|
+
Tooltip: styles_76.tooltipLight,
|
|
169
|
+
Transfer: styles_77.transferLight,
|
|
170
|
+
Tree: styles_79.treeLight,
|
|
171
|
+
TreeSelect: styles_80.treeSelectLight,
|
|
172
|
+
Typography: styles_78.typographyLight,
|
|
173
|
+
Upload: styles_81.uploadLight,
|
|
174
|
+
Watermark: styles_82.watermarkLight,
|
|
175
|
+
Split: styles_83.splitLight
|
|
172
176
|
};
|
package/lib/thing/src/Thing.d.ts
CHANGED
|
@@ -4,8 +4,10 @@ export declare const thingProps: {
|
|
|
4
4
|
title: StringConstructor;
|
|
5
5
|
titleExtra: StringConstructor;
|
|
6
6
|
description: StringConstructor;
|
|
7
|
+
descriptionClass: StringConstructor;
|
|
7
8
|
descriptionStyle: PropType<string | CSSProperties>;
|
|
8
9
|
content: StringConstructor;
|
|
10
|
+
contentClass: StringConstructor;
|
|
9
11
|
contentStyle: PropType<string | CSSProperties>;
|
|
10
12
|
contentIndented: BooleanConstructor;
|
|
11
13
|
theme: PropType<import("../../_mixins").Theme<"Thing", {
|
|
@@ -32,8 +34,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
34
|
title: StringConstructor;
|
|
33
35
|
titleExtra: StringConstructor;
|
|
34
36
|
description: StringConstructor;
|
|
37
|
+
descriptionClass: StringConstructor;
|
|
35
38
|
descriptionStyle: PropType<string | CSSProperties>;
|
|
36
39
|
content: StringConstructor;
|
|
40
|
+
contentClass: StringConstructor;
|
|
37
41
|
contentStyle: PropType<string | CSSProperties>;
|
|
38
42
|
contentIndented: BooleanConstructor;
|
|
39
43
|
theme: PropType<import("../../_mixins").Theme<"Thing", {
|
|
@@ -58,8 +62,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
62
|
title: StringConstructor;
|
|
59
63
|
titleExtra: StringConstructor;
|
|
60
64
|
description: StringConstructor;
|
|
65
|
+
descriptionClass: StringConstructor;
|
|
61
66
|
descriptionStyle: PropType<string | CSSProperties>;
|
|
62
67
|
content: StringConstructor;
|
|
68
|
+
contentClass: StringConstructor;
|
|
63
69
|
contentStyle: PropType<string | CSSProperties>;
|
|
64
70
|
contentIndented: BooleanConstructor;
|
|
65
71
|
theme: PropType<import("../../_mixins").Theme<"Thing", {
|
|
@@ -82,5 +88,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
88
|
}, any>>>;
|
|
83
89
|
}>>, {
|
|
84
90
|
contentIndented: boolean;
|
|
85
|
-
}>;
|
|
91
|
+
}, {}>;
|
|
86
92
|
export default _default;
|
package/lib/thing/src/Thing.js
CHANGED
|
@@ -8,7 +8,7 @@ const vue_1 = require("vue");
|
|
|
8
8
|
const _mixins_1 = require("../../_mixins");
|
|
9
9
|
const styles_1 = require("../styles");
|
|
10
10
|
const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
|
|
11
|
-
exports.thingProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { title: String, titleExtra: String, description: String, descriptionStyle: [String, Object], content: String, contentStyle: [String, Object], contentIndented: Boolean });
|
|
11
|
+
exports.thingProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { title: String, titleExtra: String, description: String, descriptionClass: String, descriptionStyle: [String, Object], content: String, contentClass: String, contentStyle: [String, Object], contentIndented: Boolean });
|
|
12
12
|
exports.default = (0, vue_1.defineComponent)({
|
|
13
13
|
name: 'Thing',
|
|
14
14
|
props: exports.thingProps,
|
|
@@ -59,7 +59,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
59
59
|
slots['header-extra'] || props.titleExtra ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-thing-header__extra` }, slots['header-extra']
|
|
60
60
|
? slots['header-extra']()
|
|
61
61
|
: props.titleExtra)) : null),
|
|
62
|
-
slots.description || props.description ? ((0, vue_1.h)("div", { class:
|
|
62
|
+
slots.description || props.description ? ((0, vue_1.h)("div", { class: [
|
|
63
|
+
`${mergedClsPrefix}-thing-main__description`,
|
|
64
|
+
props.descriptionClass
|
|
65
|
+
], style: props.descriptionStyle }, slots.description
|
|
63
66
|
? slots.description()
|
|
64
67
|
: props.description)) : null)) : null)) : ((0, vue_1.h)(vue_1.Fragment, null,
|
|
65
68
|
slots.header ||
|
|
@@ -70,10 +73,16 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
70
73
|
slots['header-extra'] || props.titleExtra ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-thing-header__extra` }, slots['header-extra']
|
|
71
74
|
? slots['header-extra']()
|
|
72
75
|
: props.titleExtra)) : null)) : null,
|
|
73
|
-
slots.description || props.description ? ((0, vue_1.h)("div", { class:
|
|
76
|
+
slots.description || props.description ? ((0, vue_1.h)("div", { class: [
|
|
77
|
+
`${mergedClsPrefix}-thing-main__description`,
|
|
78
|
+
props.descriptionClass
|
|
79
|
+
], style: props.descriptionStyle }, slots.description
|
|
74
80
|
? slots.description()
|
|
75
81
|
: props.description)) : null)),
|
|
76
|
-
slots.default || props.content ? ((0, vue_1.h)("div", { class:
|
|
82
|
+
slots.default || props.content ? ((0, vue_1.h)("div", { class: [
|
|
83
|
+
`${mergedClsPrefix}-thing-main__content`,
|
|
84
|
+
props.contentClass
|
|
85
|
+
], style: props.contentStyle }, slots.default ? slots.default() : props.content)) : null,
|
|
77
86
|
slots.footer ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-thing-main__footer` }, slots.footer())) : null,
|
|
78
87
|
slots.action ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-thing-main__action` }, slots.action())) : null)));
|
|
79
88
|
};
|
package/lib/time/src/Time.d.ts
CHANGED
package/lib/time/src/Time.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.timeProps = void 0;
|
|
7
7
|
const vue_1 = require("vue");
|
|
8
8
|
const date_fns_1 = require("date-fns"); //
|
|
9
|
-
const formatInTimeZone_1 = __importDefault(require("date-fns-tz/formatInTimeZone"));
|
|
9
|
+
const formatInTimeZone_1 = __importDefault(require("date-fns-tz/formatInTimeZone"));
|
|
10
10
|
const _mixins_1 = require("../../_mixins");
|
|
11
11
|
exports.timeProps = {
|
|
12
12
|
time: {
|
|
@@ -28,7 +28,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
28
28
|
`${clsPrefix}-time-picker-col__item`,
|
|
29
29
|
active && `${clsPrefix}-time-picker-col__item--active`,
|
|
30
30
|
disabled && `${clsPrefix}-time-picker-col__item--disabled`
|
|
31
|
-
], onClick: onItemClick && !disabled
|
|
31
|
+
], onClick: onItemClick && !disabled
|
|
32
|
+
? () => {
|
|
33
|
+
onItemClick(value);
|
|
34
|
+
}
|
|
35
|
+
: undefined }, label));
|
|
32
36
|
});
|
|
33
37
|
}
|
|
34
38
|
});
|
|
@@ -1882,7 +1882,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1882
1882
|
blur: () => void;
|
|
1883
1883
|
mergedStatus: import("vue").ComputedRef<FormValidationStatus | undefined>;
|
|
1884
1884
|
mergedBordered: import("vue").ComputedRef<boolean>;
|
|
1885
|
-
mergedClsPrefix: import("vue").
|
|
1885
|
+
mergedClsPrefix: import("vue").Ref<string>;
|
|
1886
1886
|
namespace: import("vue").ComputedRef<string | undefined>;
|
|
1887
1887
|
uncontrolledValue: import("vue").Ref<number | null>;
|
|
1888
1888
|
mergedValue: import("vue").ComputedRef<number | null>;
|
|
@@ -3377,5 +3377,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3377
3377
|
stateful: boolean;
|
|
3378
3378
|
use12Hours: boolean;
|
|
3379
3379
|
inputReadonly: boolean;
|
|
3380
|
-
}>;
|
|
3380
|
+
}, {}>;
|
|
3381
3381
|
export default _default;
|
|
@@ -10,7 +10,7 @@ const vueuc_1 = require("vueuc");
|
|
|
10
10
|
const vdirs_1 = require("vdirs");
|
|
11
11
|
const seemly_1 = require("seemly");
|
|
12
12
|
const date_fns_1 = require("date-fns"); //
|
|
13
|
-
const formatInTimeZone_1 = __importDefault(require("date-fns-tz/formatInTimeZone"));
|
|
13
|
+
const formatInTimeZone_1 = __importDefault(require("date-fns-tz/formatInTimeZone"));
|
|
14
14
|
const utils_1 = require("../../date-picker/src/utils");
|
|
15
15
|
const icons_1 = require("../../_internal/icons");
|
|
16
16
|
const input_1 = require("../../input");
|
|
@@ -103,7 +103,10 @@ export declare const tooltipProps: {
|
|
|
103
103
|
type: import("vue").PropType<"show" | "if">;
|
|
104
104
|
default: string;
|
|
105
105
|
};
|
|
106
|
+
arrowClass: StringConstructor;
|
|
106
107
|
arrowStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
108
|
+
arrowWrapperClass: StringConstructor;
|
|
109
|
+
arrowWrapperStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
107
110
|
flip: {
|
|
108
111
|
type: BooleanConstructor;
|
|
109
112
|
default: boolean;
|
|
@@ -127,8 +130,11 @@ export declare const tooltipProps: {
|
|
|
127
130
|
default: undefined;
|
|
128
131
|
};
|
|
129
132
|
scrollable: BooleanConstructor;
|
|
133
|
+
contentClass: StringConstructor;
|
|
130
134
|
contentStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
135
|
+
headerClass: StringConstructor;
|
|
131
136
|
headerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
137
|
+
footerClass: StringConstructor;
|
|
132
138
|
footerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
133
139
|
onClickoutside: import("vue").PropType<(e: MouseEvent) => void>;
|
|
134
140
|
'onUpdate:show': import("vue").PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
@@ -256,7 +262,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
256
262
|
type: import("vue").PropType<"show" | "if">;
|
|
257
263
|
default: string;
|
|
258
264
|
};
|
|
265
|
+
arrowClass: StringConstructor;
|
|
259
266
|
arrowStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
267
|
+
arrowWrapperClass: StringConstructor;
|
|
268
|
+
arrowWrapperStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
260
269
|
flip: {
|
|
261
270
|
type: BooleanConstructor;
|
|
262
271
|
default: boolean;
|
|
@@ -280,8 +289,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
280
289
|
default: undefined;
|
|
281
290
|
};
|
|
282
291
|
scrollable: BooleanConstructor;
|
|
292
|
+
contentClass: StringConstructor;
|
|
283
293
|
contentStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
294
|
+
headerClass: StringConstructor;
|
|
284
295
|
headerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
296
|
+
footerClass: StringConstructor;
|
|
285
297
|
footerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
286
298
|
onClickoutside: import("vue").PropType<(e: MouseEvent) => void>;
|
|
287
299
|
'onUpdate:show': import("vue").PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
@@ -558,7 +570,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
558
570
|
type: import("vue").PropType<"show" | "if">;
|
|
559
571
|
default: string;
|
|
560
572
|
};
|
|
573
|
+
arrowClass: StringConstructor;
|
|
561
574
|
arrowStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
575
|
+
arrowWrapperClass: StringConstructor;
|
|
576
|
+
arrowWrapperStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
562
577
|
flip: {
|
|
563
578
|
type: BooleanConstructor;
|
|
564
579
|
default: boolean;
|
|
@@ -582,8 +597,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
582
597
|
default: undefined;
|
|
583
598
|
};
|
|
584
599
|
scrollable: BooleanConstructor;
|
|
600
|
+
contentClass: StringConstructor;
|
|
585
601
|
contentStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
602
|
+
headerClass: StringConstructor;
|
|
586
603
|
headerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
604
|
+
footerClass: StringConstructor;
|
|
587
605
|
footerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
588
606
|
onClickoutside: import("vue").PropType<(e: MouseEvent) => void>;
|
|
589
607
|
'onUpdate:show': import("vue").PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
@@ -632,5 +650,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
632
650
|
internalInheritedEventHandlers: import("../../popover/src/Popover").TriggerEventHandlers[];
|
|
633
651
|
internalExtraClass: string[];
|
|
634
652
|
arrow: boolean | undefined;
|
|
635
|
-
}>;
|
|
653
|
+
}, {}>;
|
|
636
654
|
export default _default;
|
|
@@ -17,6 +17,8 @@ export declare const transferProps: {
|
|
|
17
17
|
};
|
|
18
18
|
readonly virtualScroll: BooleanConstructor;
|
|
19
19
|
readonly sourceTitle: StringConstructor;
|
|
20
|
+
readonly selectAllText: StringConstructor;
|
|
21
|
+
readonly clearText: StringConstructor;
|
|
20
22
|
readonly targetTitle: StringConstructor;
|
|
21
23
|
readonly filterable: {
|
|
22
24
|
readonly type: BooleanConstructor;
|
|
@@ -1110,6 +1112,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1110
1112
|
};
|
|
1111
1113
|
readonly virtualScroll: BooleanConstructor;
|
|
1112
1114
|
readonly sourceTitle: StringConstructor;
|
|
1115
|
+
readonly selectAllText: StringConstructor;
|
|
1116
|
+
readonly clearText: StringConstructor;
|
|
1113
1117
|
readonly targetTitle: StringConstructor;
|
|
1114
1118
|
readonly filterable: {
|
|
1115
1119
|
readonly type: BooleanConstructor;
|
|
@@ -2186,7 +2190,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2186
2190
|
}, any>;
|
|
2187
2191
|
}>>>;
|
|
2188
2192
|
}, {
|
|
2189
|
-
mergedClsPrefix: import("vue").
|
|
2193
|
+
mergedClsPrefix: import("vue").Ref<string>;
|
|
2190
2194
|
mergedDisabled: import("vue").ComputedRef<boolean>;
|
|
2191
2195
|
itemSize: import("vue").ComputedRef<number>;
|
|
2192
2196
|
isMounted: Readonly<import("vue").Ref<boolean>>;
|
|
@@ -2731,6 +2735,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2731
2735
|
};
|
|
2732
2736
|
readonly virtualScroll: BooleanConstructor;
|
|
2733
2737
|
readonly sourceTitle: StringConstructor;
|
|
2738
|
+
readonly selectAllText: StringConstructor;
|
|
2739
|
+
readonly clearText: StringConstructor;
|
|
2734
2740
|
readonly targetTitle: StringConstructor;
|
|
2735
2741
|
readonly filterable: {
|
|
2736
2742
|
readonly type: BooleanConstructor;
|
|
@@ -3816,5 +3822,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3816
3822
|
readonly showSelected: boolean;
|
|
3817
3823
|
readonly sourceFilterable: boolean;
|
|
3818
3824
|
readonly targetFilterable: boolean;
|
|
3819
|
-
}>;
|
|
3825
|
+
}, {}>;
|
|
3820
3826
|
export default _default;
|
|
@@ -27,7 +27,7 @@ exports.transferProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props
|
|
|
27
27
|
}, disabled: {
|
|
28
28
|
type: Boolean,
|
|
29
29
|
default: undefined
|
|
30
|
-
}, virtualScroll: Boolean, sourceTitle: String, targetTitle: String, filterable: {
|
|
30
|
+
}, virtualScroll: Boolean, sourceTitle: String, selectAllText: String, clearText: String, targetTitle: String, filterable: {
|
|
31
31
|
type: Boolean,
|
|
32
32
|
default: undefined
|
|
33
33
|
}, sourceFilterable: Boolean, targetFilterable: Boolean, showSelected: {
|
|
@@ -174,7 +174,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
174
174
|
this.mergedDisabled && `${mergedClsPrefix}-transfer--disabled`
|
|
175
175
|
], style: this.cssVars },
|
|
176
176
|
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-transfer-list ${mergedClsPrefix}-transfer-list--source` },
|
|
177
|
-
(0, vue_1.h)(TransferHeader_1.default, { source: true, title: this.sourceTitle, onCheckedAll: this.handleSourceCheckAll, onClearAll: this.handleSourceUncheckAll, size: this.mergedSize }),
|
|
177
|
+
(0, vue_1.h)(TransferHeader_1.default, { source: true, selectAllText: this.selectAllText, clearText: this.clearText, title: this.sourceTitle, onCheckedAll: this.handleSourceCheckAll, onClearAll: this.handleSourceUncheckAll, size: this.mergedSize }),
|
|
178
178
|
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-transfer-list-body` },
|
|
179
179
|
mergedSrcFilterable ? ((0, vue_1.h)(TransferFilter_1.default, { onUpdateValue: this.handleSrcFilterUpdateValue, value: this.srcPattern, disabled: this.mergedDisabled, placeholder: this.sourceFilterPlaceholder })) : null,
|
|
180
180
|
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-transfer-list-flex-container` }, renderSourceList ? ((0, vue_1.h)(_internal_1.NScrollbar, { theme: mergedTheme.peers.Scrollbar, themeOverrides: mergedTheme.peerOverrides.Scrollbar }, {
|
|
@@ -4,6 +4,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
type: PropType<"small" | "medium" | "large">;
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
|
+
selectAllText: StringConstructor;
|
|
8
|
+
clearText: StringConstructor;
|
|
7
9
|
source: BooleanConstructor;
|
|
8
10
|
onCheckedAll: PropType<() => void>;
|
|
9
11
|
onClearAll: PropType<() => void>;
|
|
@@ -13,11 +15,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
15
|
type: PropType<"small" | "medium" | "large">;
|
|
14
16
|
required: true;
|
|
15
17
|
};
|
|
18
|
+
selectAllText: StringConstructor;
|
|
19
|
+
clearText: StringConstructor;
|
|
16
20
|
source: BooleanConstructor;
|
|
17
21
|
onCheckedAll: PropType<() => void>;
|
|
18
22
|
onClearAll: PropType<() => void>;
|
|
19
23
|
title: StringConstructor;
|
|
20
24
|
}>>, {
|
|
21
25
|
source: boolean;
|
|
22
|
-
}>;
|
|
26
|
+
}, {}>;
|
|
23
27
|
export default _default;
|
|
@@ -11,6 +11,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
11
11
|
type: String,
|
|
12
12
|
required: true
|
|
13
13
|
},
|
|
14
|
+
selectAllText: String,
|
|
15
|
+
clearText: String,
|
|
14
16
|
source: Boolean,
|
|
15
17
|
onCheckedAll: Function,
|
|
16
18
|
onClearAll: Function,
|
|
@@ -22,7 +24,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
22
24
|
} = (0, vue_1.inject)(interface_1.transferInjectionKey);
|
|
23
25
|
const { localeRef } = (0, _mixins_1.useLocale)('Transfer');
|
|
24
26
|
return () => {
|
|
25
|
-
const { source, onClearAll, onCheckedAll } = props;
|
|
27
|
+
const { source, onClearAll, onCheckedAll, selectAllText, clearText } = props;
|
|
26
28
|
const { value: mergedTheme } = mergedThemeRef;
|
|
27
29
|
const { value: mergedClsPrefix } = mergedClsPrefixRef;
|
|
28
30
|
const { value: locale } = localeRef;
|
|
@@ -31,7 +33,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
31
33
|
return ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-transfer-list-header` },
|
|
32
34
|
title && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-transfer-list-header__title` }, title)),
|
|
33
35
|
source && ((0, vue_1.h)(button_1.NButton, { class: `${mergedClsPrefix}-transfer-list-header__button`, theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button, size: buttonSize, tertiary: true, onClick: allCheckedRef.value ? onClearAll : onCheckedAll, disabled: canNotSelectAnythingRef.value || disabledRef.value }, {
|
|
34
|
-
default: () => allCheckedRef.value
|
|
36
|
+
default: () => allCheckedRef.value
|
|
37
|
+
? clearText || locale.unselectAll
|
|
38
|
+
: selectAllText || locale.selectAll
|
|
35
39
|
})),
|
|
36
40
|
!source && canBeClearedRef.value && ((0, vue_1.h)(button_1.NButton, { class: `${mergedClsPrefix}-transfer-list-header__button`, theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button, size: buttonSize, tertiary: true, onClick: onClearAll, disabled: disabledRef.value }, {
|
|
37
41
|
default: () => locale.clearAll
|