naive-ui 2.24.6 → 2.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/_internal/clear/src/Clear.js +3 -2
- package/es/_internal/close/src/Close.js +1 -1
- package/es/_internal/icon/src/Icon.js +1 -1
- package/es/_internal/icons/ArrowUp.d.ts +2 -0
- package/es/_internal/icons/ArrowUp.js +9 -0
- package/es/_internal/icons/index.d.ts +1 -0
- package/es/_internal/icons/index.js +1 -0
- package/es/_internal/loading/src/Loading.js +1 -1
- package/es/_internal/menu-mask/src/MenuMask.js +1 -1
- package/es/_internal/scrollbar/src/ScrollBar.js +1 -1
- package/es/_internal/select-menu/src/SelectMenu.d.ts +11 -6
- package/es/_internal/select-menu/src/SelectMenu.js +49 -24
- package/es/_internal/selection/src/Selection.d.ts +42 -29
- package/es/_internal/selection/src/Selection.js +100 -93
- package/es/_internal/selection/src/interface.d.ts +2 -2
- package/es/_internal/selection/src/styles/index.cssr.js +16 -31
- package/es/_internal/selection/styles/dark.js +3 -3
- package/es/_internal/selection/styles/light.d.ts +6 -6
- package/es/_internal/selection/styles/light.js +3 -3
- package/es/_internal/slot-machine/src/SlotMachine.js +1 -1
- package/es/_internal/wave/src/Wave.js +1 -1
- package/es/_mixins/index.d.ts +1 -1
- package/es/_mixins/index.js +1 -1
- package/es/_mixins/use-config.js +1 -1
- package/es/_mixins/use-css-vars-class.d.ts +11 -2
- package/es/_mixins/use-css-vars-class.js +49 -18
- package/es/_mixins/use-form-item.d.ts +4 -0
- package/es/_mixins/use-form-item.js +7 -0
- package/es/_mixins/use-hljs.js +1 -1
- package/es/_mixins/use-locale.js +1 -1
- package/es/_mixins/use-style.js +1 -1
- package/es/_mixins/use-theme.d.ts +1 -1
- package/es/_mixins/use-theme.js +2 -2
- package/es/_utils/css/color-to-class.d.ts +1 -0
- package/es/_utils/css/color-to-class.js +3 -0
- package/es/_utils/css/format-length.d.ts +2 -2
- package/es/_utils/css/format-length.js +1 -2
- package/es/_utils/css/index.d.ts +2 -1
- package/es/_utils/css/index.js +2 -1
- package/es/_utils/cssr/index.d.ts +1 -2
- package/es/_utils/cssr/index.js +1 -14
- package/es/_utils/index.d.ts +2 -2
- package/es/_utils/index.js +2 -2
- package/es/_utils/vue/index.d.ts +1 -1
- package/es/_utils/vue/index.js +1 -1
- package/es/_utils/vue/resolve-slot.d.ts +8 -2
- package/es/_utils/vue/resolve-slot.js +17 -1
- package/es/affix/src/Affix.js +1 -1
- package/es/alert/src/Alert.js +1 -1
- package/es/anchor/src/AnchorAdapter.js +1 -1
- package/es/auto-complete/src/AutoComplete.d.ts +16 -1
- package/es/auto-complete/src/AutoComplete.js +9 -5
- package/es/avatar/src/Avatar.js +2 -2
- package/es/avatar/src/AvatarGroup.d.ts +0 -1
- package/es/avatar/src/AvatarGroup.js +2 -3
- package/es/avatar/src/context.d.ts +2 -0
- package/es/avatar/src/context.js +2 -0
- package/es/back-top/src/BackTop.js +1 -1
- package/es/badge/src/Badge.js +1 -1
- package/es/breadcrumb/src/Breadcrumb.js +1 -1
- package/es/button/src/Button.d.ts +4 -2
- package/es/button/src/Button.js +270 -245
- package/es/button/src/ButtonGroup.js +1 -1
- package/es/button/src/styles/button.cssr.js +1 -0
- package/es/button/styles/index.d.ts +1 -1
- package/es/button/styles/index.js +1 -1
- package/es/button/styles/rtl.d.ts +2 -5
- package/es/button/styles/rtl.js +1 -1
- package/es/calendar/src/Calendar.js +1 -1
- package/es/card/src/Card.d.ts +8 -2
- package/es/card/src/Card.js +44 -40
- package/es/card/styles/index.d.ts +1 -1
- package/es/card/styles/index.js +1 -1
- package/es/card/styles/rtl.d.ts +2 -5
- package/es/card/styles/rtl.js +1 -1
- package/es/carousel/src/Carousel.js +4 -1
- package/es/carousel/src/CarouselArrow.js +6 -9
- package/es/carousel/src/styles/index.cssr.js +59 -48
- package/es/carousel/styles/light.js +2 -2
- package/es/cascader/src/Cascader.d.ts +36 -34
- package/es/cascader/src/Cascader.js +6 -6
- package/es/cascader/src/CascaderMenu.d.ts +3 -3
- package/es/cascader/src/CascaderOption.d.ts +3 -3
- package/es/cascader/src/CascaderSelectMenu.d.ts +3 -3
- package/es/cascader/src/CascaderSubmenu.d.ts +3 -3
- package/es/cascader/styles/light.d.ts +3 -3
- package/es/checkbox/src/Checkbox.js +1 -1
- package/es/checkbox/src/styles/index.cssr.js +12 -12
- package/es/code/src/Code.js +1 -1
- package/es/collapse/src/Collapse.js +1 -1
- package/es/collapse-transition/src/CollapseTransition.js +1 -1
- package/es/color-picker/src/ColorInputUnit.js +1 -1
- package/es/color-picker/src/ColorPicker.d.ts +24 -17
- package/es/color-picker/src/ColorPicker.js +7 -4
- package/es/color-picker/src/ColorPickerTrigger.js +1 -1
- package/es/color-picker/src/context.d.ts +9 -0
- package/es/color-picker/src/context.js +2 -0
- package/es/color-picker/src/styles/index.cssr.js +1 -0
- package/es/components.d.ts +2 -1
- package/es/components.js +2 -1
- package/es/composables/use-theme-vars.js +1 -1
- package/es/config-provider/src/ConfigProvider.d.ts +15 -3
- package/es/config-provider/src/ConfigProvider.js +29 -3
- package/es/config-provider/src/context.d.ts +2 -0
- package/es/config-provider/src/context.js +2 -0
- package/es/config-provider/src/interface.d.ts +2 -1
- package/es/config-provider/src/internal-interface.d.ts +4 -0
- package/es/data-table/src/DataTable.d.ts +33 -33
- package/es/data-table/src/DataTable.js +1 -1
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +6 -6
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +6 -6
- package/es/data-table/src/TableParts/Body.d.ts +6 -6
- package/es/data-table/src/TableParts/Cell.d.ts +12 -12
- package/es/data-table/src/TableParts/Header.d.ts +6 -6
- package/es/data-table/src/interface.d.ts +2 -2
- package/es/data-table/src/use-check.d.ts +2 -2
- package/es/data-table/src/use-group-header.d.ts +1 -1
- package/es/data-table/src/use-scroll.d.ts +1 -1
- package/es/data-table/src/use-scroll.js +3 -3
- package/es/data-table/src/use-sorter.d.ts +1 -1
- package/es/data-table/src/use-table-data.d.ts +1 -1
- package/es/data-table/src/utils.d.ts +2 -1
- package/es/data-table/src/utils.js +13 -3
- package/es/data-table/styles/light.d.ts +3 -3
- package/es/date-picker/src/DatePicker.d.ts +2 -1
- package/es/date-picker/src/DatePicker.js +6 -6
- package/es/descriptions/src/Descriptions.d.ts +1 -1
- package/es/descriptions/src/Descriptions.js +1 -1
- package/es/dialog/index.d.ts +3 -3
- package/es/dialog/index.js +2 -2
- package/es/dialog/src/Dialog.d.ts +27 -60
- package/es/dialog/src/Dialog.js +4 -31
- package/es/dialog/src/DialogEnvironment.d.ts +8 -9
- package/es/dialog/src/DialogEnvironment.js +3 -2
- package/es/dialog/src/DialogProvider.d.ts +3 -5
- package/es/dialog/src/DialogProvider.js +5 -6
- package/es/dialog/src/context.d.ts +3 -0
- package/es/dialog/src/context.js +3 -0
- package/es/dialog/src/dialogProps.d.ts +32 -0
- package/es/dialog/src/dialogProps.js +29 -0
- package/es/dialog/src/use-dialog.js +1 -1
- package/es/divider/src/Divider.js +1 -1
- package/es/drawer/index.d.ts +1 -0
- package/es/drawer/src/Drawer.js +1 -1
- package/es/dropdown/src/Dropdown.d.ts +17 -5
- package/es/dropdown/src/Dropdown.js +6 -5
- package/es/dropdown/src/DropdownGroup.js +1 -0
- package/es/dropdown/src/DropdownGroupHeader.js +1 -2
- package/es/dropdown/src/DropdownMenu.d.ts +0 -1
- package/es/dropdown/src/DropdownMenu.js +4 -4
- package/es/dropdown/src/DropdownOption.d.ts +3 -0
- package/es/dropdown/src/DropdownOption.js +4 -4
- package/es/dropdown/src/context.d.ts +6 -0
- package/es/dropdown/src/context.js +4 -0
- package/es/dropdown/src/interface.d.ts +1 -1
- package/es/dynamic-input/src/DynamicInput.d.ts +10 -1
- package/es/dynamic-input/src/DynamicInput.js +61 -18
- package/es/dynamic-tags/src/DynamicTags.d.ts +7 -16
- package/es/dynamic-tags/src/DynamicTags.js +14 -16
- package/es/element/src/Element.js +1 -1
- package/es/ellipsis/src/Ellipsis.js +1 -1
- package/es/empty/src/Empty.js +2 -2
- package/es/form/src/Form.d.ts +1 -1
- package/es/form/src/Form.js +2 -2
- package/es/form/src/FormItem.d.ts +1 -1
- package/es/form/src/FormItem.js +3 -2
- package/es/form/src/FormItemCol.d.ts +1 -1
- package/es/form/src/FormItemGridItem.d.ts +1 -1
- package/es/form/src/context.d.ts +3 -0
- package/es/form/src/context.js +3 -0
- package/es/form/src/interface.d.ts +4 -3
- package/es/form/src/interface.js +1 -3
- package/es/form/src/styles/form-item.cssr.js +6 -5
- package/es/form/src/utils.js +1 -1
- package/es/global-style/src/GlobalStyle.js +1 -1
- package/es/gradient-text/src/GradientText.js +1 -1
- package/es/grid/src/Grid.d.ts +0 -1
- package/es/grid/src/Grid.js +2 -3
- package/es/grid/src/GridItem.js +1 -1
- package/es/grid/src/config.d.ts +3 -0
- package/es/grid/src/config.js +3 -0
- package/es/icon/index.d.ts +1 -1
- package/es/icon/index.js +1 -1
- package/es/icon/src/Icon.d.ts +1 -2
- package/es/icon/src/Icon.js +2 -2
- package/es/icon-wrapper/index.d.ts +1 -0
- package/es/icon-wrapper/index.js +1 -0
- package/es/icon-wrapper/src/IconWrapper.d.ts +50 -0
- package/es/icon-wrapper/src/IconWrapper.js +50 -0
- package/es/icon-wrapper/src/styles/index.cssr.d.ts +2 -0
- package/es/icon-wrapper/src/styles/index.cssr.js +16 -0
- package/es/icon-wrapper/styles/dark.d.ts +3 -0
- package/es/icon-wrapper/styles/dark.js +8 -0
- package/es/icon-wrapper/styles/index.d.ts +3 -0
- package/es/icon-wrapper/styles/index.js +2 -0
- package/es/icon-wrapper/styles/light.d.ts +10 -0
- package/es/icon-wrapper/styles/light.js +14 -0
- package/es/image/src/Image.d.ts +1 -1
- package/es/image/src/ImagePreview.js +1 -1
- package/es/input/src/Input.d.ts +6 -1
- package/es/input/src/Input.js +21 -17
- package/es/input/src/InputGroup.js +1 -1
- package/es/input/src/InputGroupLabel.js +1 -1
- package/es/input/src/WordCount.js +9 -8
- package/es/input/src/styles/input.cssr.js +5 -5
- package/es/input-number/src/InputNumber.d.ts +2 -1
- package/es/input-number/src/InputNumber.js +23 -21
- package/es/layout/src/Layout.js +1 -1
- package/es/layout/src/LayoutFooter.js +1 -1
- package/es/layout/src/LayoutHeader.js +1 -1
- package/es/layout/src/LayoutSider.js +1 -1
- package/es/legacy-grid/src/Col.js +0 -3
- package/es/legacy-grid/src/Row.js +1 -1
- package/es/list/src/List.js +1 -1
- package/es/loading-bar/src/LoadingBar.js +2 -2
- package/es/loading-bar/src/LoadingBarProvider.d.ts +3 -8
- package/es/loading-bar/src/LoadingBarProvider.js +1 -3
- package/es/loading-bar/src/context.d.ts +7 -0
- package/es/loading-bar/src/context.js +3 -0
- package/es/loading-bar/src/use-loading-bar.js +1 -1
- package/es/locales/common/deDE.js +13 -15
- package/es/locales/common/enGB.d.ts +109 -0
- package/es/locales/common/enGB.js +109 -0
- package/es/locales/common/eo.d.ts +109 -0
- package/es/locales/common/eo.js +109 -0
- package/es/locales/common/jaJP.js +12 -14
- package/es/locales/common/plPL.d.ts +3 -0
- package/es/locales/common/plPL.js +109 -0
- package/es/locales/date/enGB.d.ts +3 -0
- package/es/locales/date/enGB.js +6 -0
- package/es/locales/date/eo.d.ts +3 -0
- package/es/locales/date/eo.js +6 -0
- package/es/locales/date/plPL.d.ts +3 -0
- package/es/locales/date/plPL.js +6 -0
- package/es/locales/index.d.ts +6 -0
- package/es/locales/index.js +6 -0
- package/es/log/index.d.ts +1 -1
- package/es/log/src/Log.d.ts +17 -12
- package/es/log/src/Log.js +10 -17
- package/es/log/src/LogLine.js +1 -1
- package/es/log/src/context.d.ts +2 -0
- package/es/log/src/context.js +2 -0
- package/es/log/src/styles/index.cssr.js +2 -3
- package/es/mention/src/Mention.d.ts +16 -1
- package/es/mention/src/Mention.js +7 -3
- package/es/menu/src/Menu.d.ts +3 -5
- package/es/menu/src/Menu.js +3 -3
- package/es/menu/src/MenuDivider.js +1 -1
- package/es/menu/src/MenuOption.d.ts +1 -2
- package/es/menu/src/MenuOption.js +1 -1
- package/es/menu/src/MenuOptionContent.js +1 -1
- package/es/menu/src/MenuOptionGroup.d.ts +1 -4
- package/es/menu/src/MenuOptionGroup.js +4 -5
- package/es/menu/src/Submenu.d.ts +1 -4
- package/es/menu/src/Submenu.js +3 -4
- package/es/menu/src/context.d.ts +4 -0
- package/es/menu/src/context.js +4 -0
- package/es/menu/src/use-menu-child.js +1 -3
- package/es/menu/src/useCheckDeprecated.d.ts +1 -1
- package/es/menu/src/utils.d.ts +1 -1
- package/es/menu/src/utils.js +5 -3
- package/es/message/src/Message.d.ts +2 -158
- package/es/message/src/Message.js +2 -2
- package/es/message/src/MessageProvider.d.ts +4 -9
- package/es/message/src/MessageProvider.js +2 -3
- package/es/message/src/context.d.ts +7 -0
- package/es/message/src/context.js +3 -0
- package/es/message/src/types.d.ts +1 -1
- package/es/message/src/use-message.js +1 -1
- package/es/modal/src/BodyWrapper.d.ts +5 -3
- package/es/modal/src/BodyWrapper.js +2 -2
- package/es/modal/src/Modal.d.ts +7 -4
- package/es/modal/src/Modal.js +2 -2
- package/es/modal/src/presetProps.d.ts +2 -1
- package/es/modal/src/presetProps.js +1 -1
- package/es/notification/index.d.ts +1 -1
- package/es/notification/src/Notification.d.ts +1 -2
- package/es/notification/src/Notification.js +3 -5
- package/es/notification/src/NotificationContainer.d.ts +1 -2
- package/es/notification/src/NotificationContainer.js +2 -2
- package/es/notification/src/NotificationEnvironment.d.ts +3 -4
- package/es/notification/src/NotificationEnvironment.js +3 -3
- package/es/notification/src/NotificationProvider.d.ts +10 -6
- package/es/notification/src/NotificationProvider.js +6 -6
- package/es/notification/src/context.d.ts +2 -0
- package/es/notification/src/context.js +2 -0
- package/es/page-header/src/PageHeader.js +1 -1
- package/es/pagination/src/Pagination.d.ts +33 -33
- package/es/pagination/src/Pagination.js +1 -1
- package/es/pagination/styles/light.d.ts +3 -3
- package/es/popconfirm/src/Popconfirm.d.ts +21 -8
- package/es/popconfirm/src/Popconfirm.js +1 -1
- package/es/popover/index.d.ts +1 -0
- package/es/popover/src/Popover.d.ts +21 -4
- package/es/popover/src/Popover.js +9 -2
- package/es/popover/src/PopoverBody.d.ts +4 -0
- package/es/popover/src/PopoverBody.js +13 -11
- package/es/popover/src/styles/index.cssr.js +2 -2
- package/es/popselect/src/Popselect.d.ts +31 -8
- package/es/popselect/src/Popselect.js +8 -6
- package/es/popselect/src/PopselectPanel.d.ts +2 -5
- package/es/popselect/src/PopselectPanel.js +4 -2
- package/es/progress/src/Circle.d.ts +19 -3
- package/es/progress/src/Circle.js +41 -22
- package/es/progress/src/Progress.d.ts +15 -6
- package/es/progress/src/Progress.js +44 -30
- package/es/progress/src/styles/index.cssr.js +1 -1
- package/es/radio/src/Radio.js +1 -1
- package/es/radio/src/RadioGroup.js +1 -1
- package/es/rate/src/Rate.js +1 -1
- package/es/result/src/Result.js +1 -1
- package/es/select/index.d.ts +2 -0
- package/es/select/src/Select.d.ts +71 -54
- package/es/select/src/Select.js +82 -47
- package/es/select/src/interface.d.ts +2 -0
- package/es/select/styles/light.d.ts +3 -3
- package/es/skeleton/src/Skeleton.js +1 -1
- package/es/slider/src/Slider.js +1 -1
- package/es/space/src/Space.js +1 -1
- package/es/spin/src/Spin.js +1 -1
- package/es/statistic/src/Statistic.js +1 -1
- package/es/steps/src/Steps.js +1 -1
- package/es/switch/src/Switch.js +1 -1
- package/es/table/src/Table.js +1 -1
- package/es/tabs/src/Tabs.d.ts +7 -4
- package/es/tabs/src/Tabs.js +12 -4
- package/es/tag/src/Tag.d.ts +3 -1
- package/es/tag/src/Tag.js +61 -41
- package/es/tag/src/styles/index.cssr.js +5 -17
- package/es/tag/styles/index.d.ts +1 -1
- package/es/tag/styles/index.js +1 -1
- package/es/tag/styles/rtl.d.ts +2 -5
- package/es/tag/styles/rtl.js +1 -1
- package/es/themes/dark.js +3 -0
- package/es/themes/light.js +3 -0
- package/es/themes/utils.d.ts +2 -1
- package/es/themes/utils.js +16 -4
- package/es/thing/src/Thing.js +1 -1
- package/es/time-picker/src/TimePicker.d.ts +7 -5
- package/es/time-picker/src/TimePicker.js +5 -5
- package/es/timeline/src/Timeline.js +1 -1
- package/es/tooltip/src/Tooltip.d.ts +20 -7
- package/es/tooltip/src/Tooltip.js +1 -1
- package/es/transfer/src/Transfer.d.ts +1 -1
- package/es/transfer/src/Transfer.js +1 -1
- package/es/tree/src/Tree.d.ts +6 -2
- package/es/tree/src/Tree.js +15 -8
- package/es/tree/src/TreeNode.d.ts +2 -0
- package/es/tree/src/TreeNode.js +37 -10
- package/es/tree/src/TreeNodeContent.d.ts +3 -1
- package/es/tree/src/TreeNodeContent.js +4 -3
- package/es/tree/src/interface.d.ts +5 -1
- package/es/tree/src/utils.js +1 -1
- package/es/tree-select/src/TreeSelect.d.ts +46 -44
- package/es/tree-select/src/TreeSelect.js +8 -5
- package/es/tree-select/styles/light.d.ts +3 -3
- package/es/typography/src/a.js +1 -1
- package/es/typography/src/blockquote.js +1 -1
- package/es/typography/src/create-header.js +1 -1
- package/es/typography/src/hr.js +1 -1
- package/es/typography/src/ol.js +1 -1
- package/es/typography/src/p.js +1 -1
- package/es/typography/src/text.js +1 -1
- package/es/typography/src/ul.js +1 -1
- package/es/upload/src/Upload.js +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/clear/src/Clear.js +3 -2
- package/lib/_internal/close/src/Close.js +1 -1
- package/lib/_internal/icon/src/Icon.js +1 -1
- package/lib/_internal/icons/ArrowUp.d.ts +2 -0
- package/lib/_internal/icons/ArrowUp.js +11 -0
- package/lib/_internal/icons/index.d.ts +1 -0
- package/lib/_internal/icons/index.js +3 -1
- package/lib/_internal/loading/src/Loading.js +1 -1
- package/lib/_internal/menu-mask/src/MenuMask.js +1 -1
- package/lib/_internal/scrollbar/src/ScrollBar.js +1 -1
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +11 -6
- package/lib/_internal/select-menu/src/SelectMenu.js +47 -22
- package/lib/_internal/selection/src/Selection.d.ts +42 -29
- package/lib/_internal/selection/src/Selection.js +99 -92
- package/lib/_internal/selection/src/interface.d.ts +2 -2
- package/lib/_internal/selection/src/styles/index.cssr.js +15 -30
- package/lib/_internal/selection/styles/dark.js +3 -3
- package/lib/_internal/selection/styles/light.d.ts +6 -6
- package/lib/_internal/selection/styles/light.js +3 -3
- package/lib/_internal/slot-machine/src/SlotMachine.js +1 -1
- package/lib/_internal/wave/src/Wave.js +1 -1
- package/lib/_mixins/index.d.ts +1 -1
- package/lib/_mixins/index.js +3 -2
- package/lib/_mixins/use-config.js +2 -2
- package/lib/_mixins/use-css-vars-class.d.ts +11 -2
- package/lib/_mixins/use-css-vars-class.js +50 -22
- package/lib/_mixins/use-form-item.d.ts +4 -0
- package/lib/_mixins/use-form-item.js +7 -0
- package/lib/_mixins/use-hljs.js +2 -2
- package/lib/_mixins/use-locale.js +2 -2
- package/lib/_mixins/use-style.js +1 -1
- package/lib/_mixins/use-theme.d.ts +1 -1
- package/lib/_mixins/use-theme.js +3 -3
- package/lib/_utils/css/color-to-class.d.ts +1 -0
- package/lib/_utils/css/color-to-class.js +7 -0
- package/lib/_utils/css/format-length.d.ts +2 -2
- package/lib/_utils/css/format-length.js +2 -1
- package/lib/_utils/css/index.d.ts +2 -1
- package/lib/_utils/css/index.js +4 -5
- package/lib/_utils/cssr/index.d.ts +1 -2
- package/lib/_utils/cssr/index.js +1 -15
- package/lib/_utils/index.d.ts +2 -2
- package/lib/_utils/index.js +6 -1
- package/lib/_utils/vue/index.d.ts +1 -1
- package/lib/_utils/vue/index.js +4 -1
- package/lib/_utils/vue/resolve-slot.d.ts +8 -2
- package/lib/_utils/vue/resolve-slot.js +21 -2
- package/lib/affix/src/Affix.js +1 -1
- package/lib/alert/src/Alert.js +1 -1
- package/lib/anchor/src/AnchorAdapter.js +1 -1
- package/lib/auto-complete/src/AutoComplete.d.ts +16 -1
- package/lib/auto-complete/src/AutoComplete.js +9 -5
- package/lib/avatar/src/Avatar.js +3 -3
- package/lib/avatar/src/AvatarGroup.d.ts +0 -1
- package/lib/avatar/src/AvatarGroup.js +3 -5
- package/lib/avatar/src/context.d.ts +2 -0
- package/lib/avatar/src/context.js +5 -0
- package/lib/back-top/src/BackTop.js +1 -1
- package/lib/badge/src/Badge.js +1 -1
- package/lib/breadcrumb/src/Breadcrumb.js +1 -1
- package/lib/button/src/Button.d.ts +4 -2
- package/lib/button/src/Button.js +268 -243
- package/lib/button/src/ButtonGroup.js +1 -1
- package/lib/button/src/styles/button.cssr.js +1 -0
- package/lib/button/styles/index.d.ts +1 -1
- package/lib/button/styles/index.js +1 -1
- package/lib/button/styles/rtl.d.ts +2 -5
- package/lib/button/styles/rtl.js +2 -1
- package/lib/calendar/src/Calendar.js +1 -1
- package/lib/card/src/Card.d.ts +8 -2
- package/lib/card/src/Card.js +43 -39
- package/lib/card/styles/index.d.ts +1 -1
- package/lib/card/styles/index.js +1 -1
- package/lib/card/styles/rtl.d.ts +2 -5
- package/lib/card/styles/rtl.js +2 -1
- package/lib/carousel/src/Carousel.js +4 -1
- package/lib/carousel/src/CarouselArrow.js +5 -8
- package/lib/carousel/src/styles/index.cssr.js +59 -48
- package/lib/carousel/styles/light.js +2 -2
- package/lib/cascader/src/Cascader.d.ts +36 -34
- package/lib/cascader/src/Cascader.js +6 -6
- package/lib/cascader/src/CascaderMenu.d.ts +3 -3
- package/lib/cascader/src/CascaderOption.d.ts +3 -3
- package/lib/cascader/src/CascaderSelectMenu.d.ts +3 -3
- package/lib/cascader/src/CascaderSubmenu.d.ts +3 -3
- package/lib/cascader/styles/light.d.ts +3 -3
- package/lib/checkbox/src/Checkbox.js +1 -1
- package/lib/checkbox/src/styles/index.cssr.js +12 -12
- package/lib/code/src/Code.js +1 -1
- package/lib/collapse/src/Collapse.js +1 -1
- package/lib/collapse-transition/src/CollapseTransition.js +1 -1
- package/lib/color-picker/src/ColorInputUnit.js +2 -2
- package/lib/color-picker/src/ColorPicker.d.ts +24 -17
- package/lib/color-picker/src/ColorPicker.js +8 -5
- package/lib/color-picker/src/ColorPickerTrigger.js +2 -2
- package/lib/color-picker/src/context.d.ts +9 -0
- package/lib/color-picker/src/context.js +5 -0
- package/lib/color-picker/src/styles/index.cssr.js +1 -0
- package/lib/components.d.ts +2 -1
- package/lib/components.js +2 -1
- package/lib/composables/use-theme-vars.js +2 -2
- package/lib/config-provider/src/ConfigProvider.d.ts +15 -3
- package/lib/config-provider/src/ConfigProvider.js +31 -5
- package/lib/config-provider/src/context.d.ts +2 -0
- package/lib/config-provider/src/context.js +5 -0
- package/lib/config-provider/src/interface.d.ts +2 -1
- package/lib/config-provider/src/internal-interface.d.ts +4 -0
- package/lib/data-table/src/DataTable.d.ts +33 -33
- package/lib/data-table/src/DataTable.js +1 -1
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +6 -6
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +6 -6
- package/lib/data-table/src/TableParts/Body.d.ts +6 -6
- package/lib/data-table/src/TableParts/Cell.d.ts +12 -12
- package/lib/data-table/src/TableParts/Header.d.ts +6 -6
- package/lib/data-table/src/interface.d.ts +2 -2
- package/lib/data-table/src/use-check.d.ts +2 -2
- package/lib/data-table/src/use-group-header.d.ts +1 -1
- package/lib/data-table/src/use-scroll.d.ts +1 -1
- package/lib/data-table/src/use-scroll.js +2 -2
- package/lib/data-table/src/use-sorter.d.ts +1 -1
- package/lib/data-table/src/use-table-data.d.ts +1 -1
- package/lib/data-table/src/utils.d.ts +2 -1
- package/lib/data-table/src/utils.js +15 -4
- package/lib/data-table/styles/light.d.ts +3 -3
- package/lib/date-picker/src/DatePicker.d.ts +2 -1
- package/lib/date-picker/src/DatePicker.js +6 -6
- package/lib/descriptions/src/Descriptions.d.ts +1 -1
- package/lib/descriptions/src/Descriptions.js +1 -1
- package/lib/dialog/index.d.ts +3 -3
- package/lib/dialog/index.js +2 -5
- package/lib/dialog/src/Dialog.d.ts +27 -60
- package/lib/dialog/src/Dialog.js +5 -32
- package/lib/dialog/src/DialogEnvironment.d.ts +8 -9
- package/lib/dialog/src/DialogEnvironment.js +6 -24
- package/lib/dialog/src/DialogProvider.d.ts +3 -5
- package/lib/dialog/src/DialogProvider.js +8 -12
- package/lib/dialog/src/context.d.ts +3 -0
- package/lib/dialog/src/context.js +6 -0
- package/lib/dialog/src/dialogProps.d.ts +32 -0
- package/lib/dialog/src/dialogProps.js +32 -0
- package/lib/dialog/src/use-dialog.js +2 -2
- package/lib/divider/src/Divider.js +1 -1
- package/lib/drawer/index.d.ts +1 -0
- package/lib/drawer/src/Drawer.js +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +17 -5
- package/lib/dropdown/src/Dropdown.js +6 -6
- package/lib/dropdown/src/DropdownGroup.js +1 -0
- package/lib/dropdown/src/DropdownGroupHeader.js +3 -4
- package/lib/dropdown/src/DropdownMenu.d.ts +0 -1
- package/lib/dropdown/src/DropdownMenu.js +6 -7
- package/lib/dropdown/src/DropdownOption.d.ts +3 -0
- package/lib/dropdown/src/DropdownOption.js +9 -25
- package/lib/dropdown/src/context.d.ts +6 -0
- package/lib/dropdown/src/context.js +7 -0
- package/lib/dropdown/src/interface.d.ts +1 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +10 -1
- package/lib/dynamic-input/src/DynamicInput.js +59 -16
- package/lib/dynamic-tags/src/DynamicTags.d.ts +7 -16
- package/lib/dynamic-tags/src/DynamicTags.js +12 -14
- package/lib/element/src/Element.js +1 -1
- package/lib/ellipsis/src/Ellipsis.js +1 -1
- package/lib/empty/src/Empty.js +3 -3
- package/lib/form/src/Form.d.ts +1 -1
- package/lib/form/src/Form.js +4 -4
- package/lib/form/src/FormItem.d.ts +1 -1
- package/lib/form/src/FormItem.js +5 -4
- package/lib/form/src/FormItemCol.d.ts +1 -1
- package/lib/form/src/FormItemGridItem.d.ts +1 -1
- package/lib/form/src/context.d.ts +3 -0
- package/lib/form/src/context.js +6 -0
- package/lib/form/src/interface.d.ts +4 -3
- package/lib/form/src/interface.js +0 -4
- package/lib/form/src/styles/form-item.cssr.js +3 -2
- package/lib/form/src/utils.js +4 -4
- package/lib/global-style/src/GlobalStyle.js +2 -2
- package/lib/gradient-text/src/GradientText.js +1 -1
- package/lib/grid/src/Grid.d.ts +0 -1
- package/lib/grid/src/Grid.js +4 -6
- package/lib/grid/src/GridItem.js +2 -2
- package/lib/grid/src/config.d.ts +3 -0
- package/lib/grid/src/config.js +6 -0
- package/lib/icon/index.d.ts +1 -1
- package/lib/icon/index.js +1 -4
- package/lib/icon/src/Icon.d.ts +1 -2
- package/lib/icon/src/Icon.js +3 -2
- package/lib/icon-wrapper/index.d.ts +1 -0
- package/lib/icon-wrapper/index.js +5 -0
- package/lib/icon-wrapper/src/IconWrapper.d.ts +50 -0
- package/lib/icon-wrapper/src/IconWrapper.js +56 -0
- package/lib/icon-wrapper/src/styles/index.cssr.d.ts +2 -0
- package/lib/icon-wrapper/src/styles/index.cssr.js +23 -0
- package/lib/icon-wrapper/styles/dark.d.ts +3 -0
- package/lib/icon-wrapper/styles/dark.js +10 -0
- package/lib/icon-wrapper/styles/index.d.ts +3 -0
- package/lib/icon-wrapper/styles/index.js +10 -0
- package/lib/icon-wrapper/styles/light.d.ts +10 -0
- package/lib/icon-wrapper/styles/light.js +18 -0
- package/lib/image/src/Image.d.ts +1 -1
- package/lib/image/src/ImagePreview.js +1 -1
- package/lib/input/src/Input.d.ts +6 -1
- package/lib/input/src/Input.js +20 -16
- package/lib/input/src/InputGroup.js +1 -1
- package/lib/input/src/InputGroupLabel.js +1 -1
- package/lib/input/src/WordCount.js +9 -8
- package/lib/input/src/styles/input.cssr.js +4 -4
- package/lib/input-number/src/InputNumber.d.ts +2 -1
- package/lib/input-number/src/InputNumber.js +23 -21
- package/lib/layout/src/Layout.js +1 -1
- package/lib/layout/src/LayoutFooter.js +1 -1
- package/lib/layout/src/LayoutHeader.js +1 -1
- package/lib/layout/src/LayoutSider.js +1 -1
- package/lib/legacy-grid/src/Col.js +0 -6
- package/lib/legacy-grid/src/Row.js +1 -1
- package/lib/list/src/List.js +1 -1
- package/lib/loading-bar/src/LoadingBar.js +3 -3
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +3 -8
- package/lib/loading-bar/src/LoadingBarProvider.js +3 -6
- package/lib/loading-bar/src/context.d.ts +7 -0
- package/lib/loading-bar/src/context.js +6 -0
- package/lib/loading-bar/src/use-loading-bar.js +2 -2
- package/lib/locales/common/deDE.js +13 -15
- package/lib/locales/common/enGB.d.ts +109 -0
- package/lib/locales/common/enGB.js +111 -0
- package/lib/locales/common/eo.d.ts +109 -0
- package/lib/locales/common/eo.js +111 -0
- package/lib/locales/common/jaJP.js +12 -14
- package/lib/locales/common/plPL.d.ts +3 -0
- package/lib/locales/common/plPL.js +111 -0
- package/lib/locales/date/enGB.d.ts +3 -0
- package/lib/locales/date/enGB.js +11 -0
- package/lib/locales/date/eo.d.ts +3 -0
- package/lib/locales/date/eo.js +11 -0
- package/lib/locales/date/plPL.d.ts +3 -0
- package/lib/locales/date/plPL.js +11 -0
- package/lib/locales/index.d.ts +6 -0
- package/lib/locales/index.js +13 -1
- package/lib/log/index.d.ts +1 -1
- package/lib/log/src/Log.d.ts +17 -12
- package/lib/log/src/Log.js +10 -18
- package/lib/log/src/LogLine.js +2 -2
- package/lib/log/src/context.d.ts +2 -0
- package/lib/log/src/context.js +5 -0
- package/lib/log/src/styles/index.cssr.js +2 -3
- package/lib/mention/src/Mention.d.ts +16 -1
- package/lib/mention/src/Mention.js +7 -3
- package/lib/menu/src/Menu.d.ts +3 -5
- package/lib/menu/src/Menu.js +3 -4
- package/lib/menu/src/MenuDivider.js +2 -2
- package/lib/menu/src/MenuOption.d.ts +1 -2
- package/lib/menu/src/MenuOption.js +2 -2
- package/lib/menu/src/MenuOptionContent.js +2 -2
- package/lib/menu/src/MenuOptionGroup.d.ts +1 -4
- package/lib/menu/src/MenuOptionGroup.js +7 -8
- package/lib/menu/src/Submenu.d.ts +1 -4
- package/lib/menu/src/Submenu.js +6 -7
- package/lib/menu/src/context.d.ts +4 -0
- package/lib/menu/src/context.js +7 -0
- package/lib/menu/src/use-menu-child.js +4 -6
- package/lib/menu/src/useCheckDeprecated.d.ts +1 -1
- package/lib/menu/src/utils.d.ts +1 -1
- package/lib/menu/src/utils.js +8 -25
- package/lib/message/src/Message.d.ts +2 -158
- package/lib/message/src/Message.js +3 -3
- package/lib/message/src/MessageProvider.d.ts +4 -9
- package/lib/message/src/MessageProvider.js +3 -5
- package/lib/message/src/context.d.ts +7 -0
- package/lib/message/src/context.js +6 -0
- package/lib/message/src/types.d.ts +1 -1
- package/lib/message/src/use-message.js +2 -2
- package/lib/modal/src/BodyWrapper.d.ts +5 -3
- package/lib/modal/src/BodyWrapper.js +3 -3
- package/lib/modal/src/Modal.d.ts +7 -4
- package/lib/modal/src/Modal.js +3 -3
- package/lib/modal/src/presetProps.d.ts +2 -1
- package/lib/modal/src/presetProps.js +2 -2
- package/lib/notification/index.d.ts +1 -1
- package/lib/notification/src/Notification.d.ts +1 -2
- package/lib/notification/src/Notification.js +5 -7
- package/lib/notification/src/NotificationContainer.d.ts +1 -2
- package/lib/notification/src/NotificationContainer.js +4 -3
- package/lib/notification/src/NotificationEnvironment.d.ts +3 -4
- package/lib/notification/src/NotificationEnvironment.js +4 -23
- package/lib/notification/src/NotificationProvider.d.ts +10 -6
- package/lib/notification/src/NotificationProvider.js +9 -9
- package/lib/notification/src/context.d.ts +2 -0
- package/lib/notification/src/context.js +5 -0
- package/lib/page-header/src/PageHeader.js +1 -1
- package/lib/pagination/src/Pagination.d.ts +33 -33
- package/lib/pagination/src/Pagination.js +1 -1
- package/lib/pagination/styles/light.d.ts +3 -3
- package/lib/popconfirm/src/Popconfirm.d.ts +21 -8
- package/lib/popconfirm/src/Popconfirm.js +1 -1
- package/lib/popover/index.d.ts +1 -0
- package/lib/popover/src/Popover.d.ts +21 -4
- package/lib/popover/src/Popover.js +9 -2
- package/lib/popover/src/PopoverBody.d.ts +4 -0
- package/lib/popover/src/PopoverBody.js +11 -9
- package/lib/popover/src/styles/index.cssr.js +2 -2
- package/lib/popselect/src/Popselect.d.ts +31 -8
- package/lib/popselect/src/Popselect.js +8 -6
- package/lib/popselect/src/PopselectPanel.d.ts +2 -5
- package/lib/popselect/src/PopselectPanel.js +4 -2
- package/lib/progress/src/Circle.d.ts +19 -3
- package/lib/progress/src/Circle.js +40 -21
- package/lib/progress/src/Progress.d.ts +15 -6
- package/lib/progress/src/Progress.js +43 -29
- package/lib/progress/src/styles/index.cssr.js +1 -1
- package/lib/radio/src/Radio.js +1 -1
- package/lib/radio/src/RadioGroup.js +1 -1
- package/lib/rate/src/Rate.js +1 -1
- package/lib/result/src/Result.js +1 -1
- package/lib/select/index.d.ts +2 -0
- package/lib/select/src/Select.d.ts +71 -54
- package/lib/select/src/Select.js +82 -47
- package/lib/select/src/interface.d.ts +2 -0
- package/lib/select/styles/light.d.ts +3 -3
- package/lib/skeleton/src/Skeleton.js +1 -1
- package/lib/slider/src/Slider.js +1 -1
- package/lib/space/src/Space.js +1 -1
- package/lib/spin/src/Spin.js +1 -1
- package/lib/statistic/src/Statistic.js +1 -1
- package/lib/steps/src/Steps.js +1 -1
- package/lib/switch/src/Switch.js +1 -1
- package/lib/table/src/Table.js +1 -1
- package/lib/tabs/src/Tabs.d.ts +7 -4
- package/lib/tabs/src/Tabs.js +12 -4
- package/lib/tag/src/Tag.d.ts +3 -1
- package/lib/tag/src/Tag.js +59 -39
- package/lib/tag/src/styles/index.cssr.js +5 -17
- package/lib/tag/styles/index.d.ts +1 -1
- package/lib/tag/styles/index.js +1 -1
- package/lib/tag/styles/rtl.d.ts +2 -5
- package/lib/tag/styles/rtl.js +2 -1
- package/lib/themes/dark.js +87 -84
- package/lib/themes/light.js +87 -84
- package/lib/themes/utils.d.ts +2 -1
- package/lib/themes/utils.js +16 -4
- package/lib/thing/src/Thing.js +1 -1
- package/lib/time-picker/src/TimePicker.d.ts +7 -5
- package/lib/time-picker/src/TimePicker.js +5 -5
- package/lib/timeline/src/Timeline.js +1 -1
- package/lib/tooltip/src/Tooltip.d.ts +20 -7
- package/lib/tooltip/src/Tooltip.js +1 -1
- package/lib/transfer/src/Transfer.d.ts +1 -1
- package/lib/transfer/src/Transfer.js +1 -1
- package/lib/tree/src/Tree.d.ts +6 -2
- package/lib/tree/src/Tree.js +15 -8
- package/lib/tree/src/TreeNode.d.ts +2 -0
- package/lib/tree/src/TreeNode.js +37 -10
- package/lib/tree/src/TreeNodeContent.d.ts +3 -1
- package/lib/tree/src/TreeNodeContent.js +4 -3
- package/lib/tree/src/interface.d.ts +5 -1
- package/lib/tree/src/utils.js +1 -1
- package/lib/tree-select/src/TreeSelect.d.ts +46 -44
- package/lib/tree-select/src/TreeSelect.js +8 -5
- package/lib/tree-select/styles/light.d.ts +3 -3
- package/lib/typography/src/a.js +1 -1
- package/lib/typography/src/blockquote.js +1 -1
- package/lib/typography/src/create-header.js +1 -1
- package/lib/typography/src/hr.js +1 -1
- package/lib/typography/src/ol.js +1 -1
- package/lib/typography/src/p.js +1 -1
- package/lib/typography/src/text.js +1 -1
- package/lib/typography/src/ul.js +1 -1
- package/lib/upload/src/Upload.js +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +8 -9
- package/volar.d.ts +1 -0
- package/web-types.json +452 -220
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType, VNodeChild } from 'vue';
|
|
2
2
|
import { CheckStrategy } from 'treemate';
|
|
3
3
|
import { FollowerPlacement } from 'vueuc';
|
|
4
|
-
import { SelectBaseOption } from '../../select/src/interface';
|
|
4
|
+
import type { SelectBaseOption } from '../../select/src/interface';
|
|
5
5
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
6
6
|
import type { CascaderOption, ExpandTrigger, Filter, OnLoad, OnUpdateValue, Value } from './interface';
|
|
7
7
|
declare const cascaderProps: {
|
|
@@ -178,7 +178,7 @@ declare const cascaderProps: {
|
|
|
178
178
|
borderHover: string;
|
|
179
179
|
borderActive: string;
|
|
180
180
|
borderFocus: string;
|
|
181
|
-
boxShadowHover:
|
|
181
|
+
boxShadowHover: string;
|
|
182
182
|
boxShadowActive: string;
|
|
183
183
|
boxShadowFocus: string;
|
|
184
184
|
caretColor: string;
|
|
@@ -189,7 +189,7 @@ declare const cascaderProps: {
|
|
|
189
189
|
borderHoverWarning: string;
|
|
190
190
|
borderActiveWarning: string;
|
|
191
191
|
borderFocusWarning: string;
|
|
192
|
-
boxShadowHoverWarning:
|
|
192
|
+
boxShadowHoverWarning: string;
|
|
193
193
|
boxShadowActiveWarning: string;
|
|
194
194
|
boxShadowFocusWarning: string;
|
|
195
195
|
colorActiveWarning: string;
|
|
@@ -198,7 +198,7 @@ declare const cascaderProps: {
|
|
|
198
198
|
borderHoverError: string;
|
|
199
199
|
borderActiveError: string;
|
|
200
200
|
borderFocusError: string;
|
|
201
|
-
boxShadowHoverError:
|
|
201
|
+
boxShadowHoverError: string;
|
|
202
202
|
boxShadowActiveError: string;
|
|
203
203
|
boxShadowFocusError: string;
|
|
204
204
|
colorActiveError: string;
|
|
@@ -362,7 +362,7 @@ declare const cascaderProps: {
|
|
|
362
362
|
borderHover: string;
|
|
363
363
|
borderActive: string;
|
|
364
364
|
borderFocus: string;
|
|
365
|
-
boxShadowHover:
|
|
365
|
+
boxShadowHover: string;
|
|
366
366
|
boxShadowActive: string;
|
|
367
367
|
boxShadowFocus: string;
|
|
368
368
|
caretColor: string;
|
|
@@ -373,7 +373,7 @@ declare const cascaderProps: {
|
|
|
373
373
|
borderHoverWarning: string;
|
|
374
374
|
borderActiveWarning: string;
|
|
375
375
|
borderFocusWarning: string;
|
|
376
|
-
boxShadowHoverWarning:
|
|
376
|
+
boxShadowHoverWarning: string;
|
|
377
377
|
boxShadowActiveWarning: string;
|
|
378
378
|
boxShadowFocusWarning: string;
|
|
379
379
|
colorActiveWarning: string;
|
|
@@ -382,7 +382,7 @@ declare const cascaderProps: {
|
|
|
382
382
|
borderHoverError: string;
|
|
383
383
|
borderActiveError: string;
|
|
384
384
|
borderFocusError: string;
|
|
385
|
-
boxShadowHoverError:
|
|
385
|
+
boxShadowHoverError: string;
|
|
386
386
|
boxShadowActiveError: string;
|
|
387
387
|
boxShadowFocusError: string;
|
|
388
388
|
colorActiveError: string;
|
|
@@ -546,7 +546,7 @@ declare const cascaderProps: {
|
|
|
546
546
|
borderHover: string;
|
|
547
547
|
borderActive: string;
|
|
548
548
|
borderFocus: string;
|
|
549
|
-
boxShadowHover:
|
|
549
|
+
boxShadowHover: string;
|
|
550
550
|
boxShadowActive: string;
|
|
551
551
|
boxShadowFocus: string;
|
|
552
552
|
caretColor: string;
|
|
@@ -557,7 +557,7 @@ declare const cascaderProps: {
|
|
|
557
557
|
borderHoverWarning: string;
|
|
558
558
|
borderActiveWarning: string;
|
|
559
559
|
borderFocusWarning: string;
|
|
560
|
-
boxShadowHoverWarning:
|
|
560
|
+
boxShadowHoverWarning: string;
|
|
561
561
|
boxShadowActiveWarning: string;
|
|
562
562
|
boxShadowFocusWarning: string;
|
|
563
563
|
colorActiveWarning: string;
|
|
@@ -566,7 +566,7 @@ declare const cascaderProps: {
|
|
|
566
566
|
borderHoverError: string;
|
|
567
567
|
borderActiveError: string;
|
|
568
568
|
borderFocusError: string;
|
|
569
|
-
boxShadowHoverError:
|
|
569
|
+
boxShadowHoverError: string;
|
|
570
570
|
boxShadowActiveError: string;
|
|
571
571
|
boxShadowFocusError: string;
|
|
572
572
|
colorActiveError: string;
|
|
@@ -816,7 +816,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
816
816
|
borderHover: string;
|
|
817
817
|
borderActive: string;
|
|
818
818
|
borderFocus: string;
|
|
819
|
-
boxShadowHover:
|
|
819
|
+
boxShadowHover: string;
|
|
820
820
|
boxShadowActive: string;
|
|
821
821
|
boxShadowFocus: string;
|
|
822
822
|
caretColor: string;
|
|
@@ -827,7 +827,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
827
827
|
borderHoverWarning: string;
|
|
828
828
|
borderActiveWarning: string;
|
|
829
829
|
borderFocusWarning: string;
|
|
830
|
-
boxShadowHoverWarning:
|
|
830
|
+
boxShadowHoverWarning: string;
|
|
831
831
|
boxShadowActiveWarning: string;
|
|
832
832
|
boxShadowFocusWarning: string;
|
|
833
833
|
colorActiveWarning: string;
|
|
@@ -836,7 +836,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
836
836
|
borderHoverError: string;
|
|
837
837
|
borderActiveError: string;
|
|
838
838
|
borderFocusError: string;
|
|
839
|
-
boxShadowHoverError:
|
|
839
|
+
boxShadowHoverError: string;
|
|
840
840
|
boxShadowActiveError: string;
|
|
841
841
|
boxShadowFocusError: string;
|
|
842
842
|
colorActiveError: string;
|
|
@@ -1000,7 +1000,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1000
1000
|
borderHover: string;
|
|
1001
1001
|
borderActive: string;
|
|
1002
1002
|
borderFocus: string;
|
|
1003
|
-
boxShadowHover:
|
|
1003
|
+
boxShadowHover: string;
|
|
1004
1004
|
boxShadowActive: string;
|
|
1005
1005
|
boxShadowFocus: string;
|
|
1006
1006
|
caretColor: string;
|
|
@@ -1011,7 +1011,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1011
1011
|
borderHoverWarning: string;
|
|
1012
1012
|
borderActiveWarning: string;
|
|
1013
1013
|
borderFocusWarning: string;
|
|
1014
|
-
boxShadowHoverWarning:
|
|
1014
|
+
boxShadowHoverWarning: string;
|
|
1015
1015
|
boxShadowActiveWarning: string;
|
|
1016
1016
|
boxShadowFocusWarning: string;
|
|
1017
1017
|
colorActiveWarning: string;
|
|
@@ -1020,7 +1020,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1020
1020
|
borderHoverError: string;
|
|
1021
1021
|
borderActiveError: string;
|
|
1022
1022
|
borderFocusError: string;
|
|
1023
|
-
boxShadowHoverError:
|
|
1023
|
+
boxShadowHoverError: string;
|
|
1024
1024
|
boxShadowActiveError: string;
|
|
1025
1025
|
boxShadowFocusError: string;
|
|
1026
1026
|
colorActiveError: string;
|
|
@@ -1184,7 +1184,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1184
1184
|
borderHover: string;
|
|
1185
1185
|
borderActive: string;
|
|
1186
1186
|
borderFocus: string;
|
|
1187
|
-
boxShadowHover:
|
|
1187
|
+
boxShadowHover: string;
|
|
1188
1188
|
boxShadowActive: string;
|
|
1189
1189
|
boxShadowFocus: string;
|
|
1190
1190
|
caretColor: string;
|
|
@@ -1195,7 +1195,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1195
1195
|
borderHoverWarning: string;
|
|
1196
1196
|
borderActiveWarning: string;
|
|
1197
1197
|
borderFocusWarning: string;
|
|
1198
|
-
boxShadowHoverWarning:
|
|
1198
|
+
boxShadowHoverWarning: string;
|
|
1199
1199
|
boxShadowActiveWarning: string;
|
|
1200
1200
|
boxShadowFocusWarning: string;
|
|
1201
1201
|
colorActiveWarning: string;
|
|
@@ -1204,7 +1204,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1204
1204
|
borderHoverError: string;
|
|
1205
1205
|
borderActiveError: string;
|
|
1206
1206
|
borderFocusError: string;
|
|
1207
|
-
boxShadowHoverError:
|
|
1207
|
+
boxShadowHoverError: string;
|
|
1208
1208
|
boxShadowActiveError: string;
|
|
1209
1209
|
boxShadowFocusError: string;
|
|
1210
1210
|
colorActiveError: string;
|
|
@@ -1279,6 +1279,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1279
1279
|
}, any>;
|
|
1280
1280
|
}>>>;
|
|
1281
1281
|
}, {
|
|
1282
|
+
mergedStatus: import("vue").ComputedRef<import("../../form/src/interface").FormValidationStatus | undefined>;
|
|
1282
1283
|
selectMenuFollowerRef: import("vue").Ref<{
|
|
1283
1284
|
syncPosition: () => void;
|
|
1284
1285
|
} | null>;
|
|
@@ -1286,6 +1287,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1286
1287
|
syncPosition: () => void;
|
|
1287
1288
|
} | null>;
|
|
1288
1289
|
triggerInstRef: import("vue").Ref<{
|
|
1290
|
+
isCompositing: boolean;
|
|
1289
1291
|
focus: () => void;
|
|
1290
1292
|
focusInput: () => void;
|
|
1291
1293
|
blur: () => void;
|
|
@@ -1321,7 +1323,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1321
1323
|
value: import("treemate").Key;
|
|
1322
1324
|
}[]>;
|
|
1323
1325
|
adjustedTo: import("vue").ComputedRef<string | HTMLElement>;
|
|
1324
|
-
menuModel: import("vue").ComputedRef<
|
|
1326
|
+
menuModel: import("vue").ComputedRef<import("treemate").TreeNode<CascaderOption, CascaderOption, CascaderOption>[][]>;
|
|
1325
1327
|
handleMenuTabout: () => void;
|
|
1326
1328
|
handleMenuFocus: (e: FocusEvent) => void;
|
|
1327
1329
|
handleMenuBlur: (e: FocusEvent) => void;
|
|
@@ -1532,7 +1534,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1532
1534
|
borderHover: string;
|
|
1533
1535
|
borderActive: string;
|
|
1534
1536
|
borderFocus: string;
|
|
1535
|
-
boxShadowHover:
|
|
1537
|
+
boxShadowHover: string;
|
|
1536
1538
|
boxShadowActive: string;
|
|
1537
1539
|
boxShadowFocus: string;
|
|
1538
1540
|
caretColor: string;
|
|
@@ -1543,7 +1545,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1543
1545
|
borderHoverWarning: string;
|
|
1544
1546
|
borderActiveWarning: string;
|
|
1545
1547
|
borderFocusWarning: string;
|
|
1546
|
-
boxShadowHoverWarning:
|
|
1548
|
+
boxShadowHoverWarning: string;
|
|
1547
1549
|
boxShadowActiveWarning: string;
|
|
1548
1550
|
boxShadowFocusWarning: string;
|
|
1549
1551
|
colorActiveWarning: string;
|
|
@@ -1552,7 +1554,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1552
1554
|
borderHoverError: string;
|
|
1553
1555
|
borderActiveError: string;
|
|
1554
1556
|
borderFocusError: string;
|
|
1555
|
-
boxShadowHoverError:
|
|
1557
|
+
boxShadowHoverError: string;
|
|
1556
1558
|
boxShadowActiveError: string;
|
|
1557
1559
|
boxShadowFocusError: string;
|
|
1558
1560
|
colorActiveError: string;
|
|
@@ -1878,7 +1880,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1878
1880
|
borderHover: string;
|
|
1879
1881
|
borderActive: string;
|
|
1880
1882
|
borderFocus: string;
|
|
1881
|
-
boxShadowHover:
|
|
1883
|
+
boxShadowHover: string;
|
|
1882
1884
|
boxShadowActive: string;
|
|
1883
1885
|
boxShadowFocus: string;
|
|
1884
1886
|
caretColor: string;
|
|
@@ -1889,7 +1891,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1889
1891
|
borderHoverWarning: string;
|
|
1890
1892
|
borderActiveWarning: string;
|
|
1891
1893
|
borderFocusWarning: string;
|
|
1892
|
-
boxShadowHoverWarning:
|
|
1894
|
+
boxShadowHoverWarning: string;
|
|
1893
1895
|
boxShadowActiveWarning: string;
|
|
1894
1896
|
boxShadowFocusWarning: string;
|
|
1895
1897
|
colorActiveWarning: string;
|
|
@@ -1898,7 +1900,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1898
1900
|
borderHoverError: string;
|
|
1899
1901
|
borderActiveError: string;
|
|
1900
1902
|
borderFocusError: string;
|
|
1901
|
-
boxShadowHoverError:
|
|
1903
|
+
boxShadowHoverError: string;
|
|
1902
1904
|
boxShadowActiveError: string;
|
|
1903
1905
|
boxShadowFocusError: string;
|
|
1904
1906
|
colorActiveError: string;
|
|
@@ -2062,7 +2064,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2062
2064
|
borderHover: string;
|
|
2063
2065
|
borderActive: string;
|
|
2064
2066
|
borderFocus: string;
|
|
2065
|
-
boxShadowHover:
|
|
2067
|
+
boxShadowHover: string;
|
|
2066
2068
|
boxShadowActive: string;
|
|
2067
2069
|
boxShadowFocus: string;
|
|
2068
2070
|
caretColor: string;
|
|
@@ -2073,7 +2075,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2073
2075
|
borderHoverWarning: string;
|
|
2074
2076
|
borderActiveWarning: string;
|
|
2075
2077
|
borderFocusWarning: string;
|
|
2076
|
-
boxShadowHoverWarning:
|
|
2078
|
+
boxShadowHoverWarning: string;
|
|
2077
2079
|
boxShadowActiveWarning: string;
|
|
2078
2080
|
boxShadowFocusWarning: string;
|
|
2079
2081
|
colorActiveWarning: string;
|
|
@@ -2082,7 +2084,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2082
2084
|
borderHoverError: string;
|
|
2083
2085
|
borderActiveError: string;
|
|
2084
2086
|
borderFocusError: string;
|
|
2085
|
-
boxShadowHoverError:
|
|
2087
|
+
boxShadowHoverError: string;
|
|
2086
2088
|
boxShadowActiveError: string;
|
|
2087
2089
|
boxShadowFocusError: string;
|
|
2088
2090
|
colorActiveError: string;
|
|
@@ -2246,7 +2248,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2246
2248
|
borderHover: string;
|
|
2247
2249
|
borderActive: string;
|
|
2248
2250
|
borderFocus: string;
|
|
2249
|
-
boxShadowHover:
|
|
2251
|
+
boxShadowHover: string;
|
|
2250
2252
|
boxShadowActive: string;
|
|
2251
2253
|
boxShadowFocus: string;
|
|
2252
2254
|
caretColor: string;
|
|
@@ -2257,7 +2259,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2257
2259
|
borderHoverWarning: string;
|
|
2258
2260
|
borderActiveWarning: string;
|
|
2259
2261
|
borderFocusWarning: string;
|
|
2260
|
-
boxShadowHoverWarning:
|
|
2262
|
+
boxShadowHoverWarning: string;
|
|
2261
2263
|
boxShadowActiveWarning: string;
|
|
2262
2264
|
boxShadowFocusWarning: string;
|
|
2263
2265
|
colorActiveWarning: string;
|
|
@@ -2266,7 +2268,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2266
2268
|
borderHoverError: string;
|
|
2267
2269
|
borderActiveError: string;
|
|
2268
2270
|
borderFocusError: string;
|
|
2269
|
-
boxShadowHoverError:
|
|
2271
|
+
boxShadowHoverError: string;
|
|
2270
2272
|
boxShadowActiveError: string;
|
|
2271
2273
|
boxShadowFocusError: string;
|
|
2272
2274
|
colorActiveError: string;
|
|
@@ -2346,12 +2348,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2346
2348
|
multiple: boolean;
|
|
2347
2349
|
disabled: boolean | undefined;
|
|
2348
2350
|
to: string | boolean | HTMLElement;
|
|
2349
|
-
|
|
2351
|
+
options: CascaderOption[];
|
|
2350
2352
|
bordered: boolean | undefined;
|
|
2353
|
+
placement: FollowerPlacement;
|
|
2351
2354
|
virtualScroll: boolean;
|
|
2352
2355
|
filterable: boolean;
|
|
2353
2356
|
clearable: boolean;
|
|
2354
|
-
options: CascaderOption[];
|
|
2355
2357
|
defaultValue: Value | null;
|
|
2356
2358
|
remote: boolean;
|
|
2357
2359
|
expandTrigger: ExpandTrigger;
|
|
@@ -76,7 +76,7 @@ export default defineComponent({
|
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
const { mergedBorderedRef, mergedClsPrefixRef, namespaceRef } = useConfig(props);
|
|
79
|
-
const themeRef = useTheme('Cascader', '
|
|
79
|
+
const themeRef = useTheme('Cascader', '-cascader', style, cascaderLight, props, mergedClsPrefixRef);
|
|
80
80
|
const { localeRef } = useLocale('Cascader');
|
|
81
81
|
const uncontrolledValueRef = ref(props.defaultValue);
|
|
82
82
|
const controlledValueRef = computed(() => props.value);
|
|
@@ -86,7 +86,7 @@ export default defineComponent({
|
|
|
86
86
|
});
|
|
87
87
|
const patternRef = ref('');
|
|
88
88
|
const formItem = useFormItem(props);
|
|
89
|
-
const { mergedSizeRef, mergedDisabledRef } = formItem;
|
|
89
|
+
const { mergedSizeRef, mergedDisabledRef, mergedStatusRef } = formItem;
|
|
90
90
|
const cascaderMenuInstRef = ref(null);
|
|
91
91
|
const selectMenuInstRef = ref(null);
|
|
92
92
|
const triggerInstRef = ref(null);
|
|
@@ -676,7 +676,7 @@ export default defineComponent({
|
|
|
676
676
|
(_a = triggerInstRef.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
677
677
|
}
|
|
678
678
|
};
|
|
679
|
-
return Object.assign(Object.assign({}, exposedMethods), { selectMenuFollowerRef,
|
|
679
|
+
return Object.assign(Object.assign({}, exposedMethods), { mergedStatus: mergedStatusRef, selectMenuFollowerRef,
|
|
680
680
|
cascaderMenuFollowerRef,
|
|
681
681
|
triggerInstRef,
|
|
682
682
|
selectMenuInstRef,
|
|
@@ -721,12 +721,12 @@ export default defineComponent({
|
|
|
721
721
|
h(VBinder, null, {
|
|
722
722
|
default: () => [
|
|
723
723
|
h(VTarget, null, {
|
|
724
|
-
default: () => (h(NInternalSelection, { ref: "triggerInstRef", clsPrefix: mergedClsPrefix, maxTagCount: this.maxTagCount, bordered: this.mergedBordered, size: this.mergedSize, theme: this.mergedTheme.peers.InternalSelection, themeOverrides: this.mergedTheme.peerOverrides.InternalSelection, active: this.mergedShow, pattern: this.pattern, placeholder: this.localizedPlaceholder, selectedOption: this.selectedOption, selectedOptions: this.selectedOptions, multiple: this.multiple, filterable: this.filterable, clearable: this.clearable, disabled: this.mergedDisabled, focused: this.focused, onFocus: this.handleTriggerFocus, onBlur: this.handleTriggerBlur, onClick: this.handleTriggerClick, onClear: this.handleClear, onDeleteOption: this.handleDeleteOption, onPatternInput: this.handlePatternInput, onKeydown: this.handleKeyDown, onKeyup: this.handleKeyUp }))
|
|
724
|
+
default: () => (h(NInternalSelection, { ref: "triggerInstRef", status: this.mergedStatus, clsPrefix: mergedClsPrefix, maxTagCount: this.maxTagCount, bordered: this.mergedBordered, size: this.mergedSize, theme: this.mergedTheme.peers.InternalSelection, themeOverrides: this.mergedTheme.peerOverrides.InternalSelection, active: this.mergedShow, pattern: this.pattern, placeholder: this.localizedPlaceholder, selectedOption: this.selectedOption, selectedOptions: this.selectedOptions, multiple: this.multiple, filterable: this.filterable, clearable: this.clearable, disabled: this.mergedDisabled, focused: this.focused, onFocus: this.handleTriggerFocus, onBlur: this.handleTriggerBlur, onClick: this.handleTriggerClick, onClear: this.handleClear, onDeleteOption: this.handleDeleteOption, onPatternInput: this.handlePatternInput, onKeydown: this.handleKeyDown, onKeyup: this.handleKeyUp }))
|
|
725
725
|
}),
|
|
726
|
-
h(VFollower, { key: "cascaderMenu", ref: "cascaderMenuFollowerRef", show: this.mergedShow && !this.showSelectMenu, containerClass: this.namespace, placement:
|
|
726
|
+
h(VFollower, { key: "cascaderMenu", ref: "cascaderMenuFollowerRef", show: this.mergedShow && !this.showSelectMenu, containerClass: this.namespace, placement: this.placement, width: !this.options.length ? 'target' : undefined, teleportDisabled: this.adjustedTo === useAdjustedTo.tdkey, to: this.adjustedTo }, {
|
|
727
727
|
default: () => (h(CascaderMenu, { ref: "cascaderMenuInstRef", value: this.mergedValue, show: this.mergedShow && !this.showSelectMenu, menuModel: this.menuModel, style: this.cssVars, onFocus: this.handleMenuFocus, onBlur: this.handleMenuBlur, onKeyup: this.handleMenuKeyUp, onMousedown: this.handleMenuMousedown, onTabout: this.handleMenuTabout }, $slots))
|
|
728
728
|
}),
|
|
729
|
-
h(VFollower, { key: "selectMenu", ref: "selectMenuFollowerRef", show: this.mergedShow && this.showSelectMenu, containerClass: this.namespace, width: "target", placement:
|
|
729
|
+
h(VFollower, { key: "selectMenu", ref: "selectMenuFollowerRef", show: this.mergedShow && this.showSelectMenu, containerClass: this.namespace, width: "target", placement: this.placement, to: this.adjustedTo, teleportDisabled: this.adjustedTo === useAdjustedTo.tdkey }, {
|
|
730
730
|
default: () => (h(CascaderSelectMenu, { ref: "selectMenuInstRef", value: this.mergedValue, show: this.mergedShow && this.showSelectMenu, pattern: this.pattern, multiple: this.multiple, tmNodes: this.treeMate.treeNodes, filter: this.filter, labelField: this.labelField, separator: this.separator, style: this.cssVars }))
|
|
731
731
|
})
|
|
732
732
|
]
|
|
@@ -238,7 +238,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
238
238
|
borderHover: string;
|
|
239
239
|
borderActive: string;
|
|
240
240
|
borderFocus: string;
|
|
241
|
-
boxShadowHover:
|
|
241
|
+
boxShadowHover: string;
|
|
242
242
|
boxShadowActive: string;
|
|
243
243
|
boxShadowFocus: string;
|
|
244
244
|
caretColor: string;
|
|
@@ -249,7 +249,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
249
249
|
borderHoverWarning: string;
|
|
250
250
|
borderActiveWarning: string;
|
|
251
251
|
borderFocusWarning: string;
|
|
252
|
-
boxShadowHoverWarning:
|
|
252
|
+
boxShadowHoverWarning: string;
|
|
253
253
|
boxShadowActiveWarning: string;
|
|
254
254
|
boxShadowFocusWarning: string;
|
|
255
255
|
colorActiveWarning: string;
|
|
@@ -258,7 +258,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
258
258
|
borderHoverError: string;
|
|
259
259
|
borderActiveError: string;
|
|
260
260
|
borderFocusError: string;
|
|
261
|
-
boxShadowHoverError:
|
|
261
|
+
boxShadowHoverError: string;
|
|
262
262
|
boxShadowActiveError: string;
|
|
263
263
|
boxShadowFocusError: string;
|
|
264
264
|
colorActiveError: string;
|
|
@@ -214,7 +214,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
214
214
|
borderHover: string;
|
|
215
215
|
borderActive: string;
|
|
216
216
|
borderFocus: string;
|
|
217
|
-
boxShadowHover:
|
|
217
|
+
boxShadowHover: string;
|
|
218
218
|
boxShadowActive: string;
|
|
219
219
|
boxShadowFocus: string;
|
|
220
220
|
caretColor: string;
|
|
@@ -225,7 +225,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
225
225
|
borderHoverWarning: string;
|
|
226
226
|
borderActiveWarning: string;
|
|
227
227
|
borderFocusWarning: string;
|
|
228
|
-
boxShadowHoverWarning:
|
|
228
|
+
boxShadowHoverWarning: string;
|
|
229
229
|
boxShadowActiveWarning: string;
|
|
230
230
|
boxShadowFocusWarning: string;
|
|
231
231
|
colorActiveWarning: string;
|
|
@@ -234,7 +234,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
234
234
|
borderHoverError: string;
|
|
235
235
|
borderActiveError: string;
|
|
236
236
|
borderFocusError: string;
|
|
237
|
-
boxShadowHoverError:
|
|
237
|
+
boxShadowHoverError: string;
|
|
238
238
|
boxShadowActiveError: string;
|
|
239
239
|
boxShadowFocusError: string;
|
|
240
240
|
colorActiveError: string;
|
|
@@ -226,7 +226,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
226
226
|
borderHover: string;
|
|
227
227
|
borderActive: string;
|
|
228
228
|
borderFocus: string;
|
|
229
|
-
boxShadowHover:
|
|
229
|
+
boxShadowHover: string;
|
|
230
230
|
boxShadowActive: string;
|
|
231
231
|
boxShadowFocus: string;
|
|
232
232
|
caretColor: string;
|
|
@@ -237,7 +237,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
237
237
|
borderHoverWarning: string;
|
|
238
238
|
borderActiveWarning: string;
|
|
239
239
|
borderFocusWarning: string;
|
|
240
|
-
boxShadowHoverWarning:
|
|
240
|
+
boxShadowHoverWarning: string;
|
|
241
241
|
boxShadowActiveWarning: string;
|
|
242
242
|
boxShadowFocusWarning: string;
|
|
243
243
|
colorActiveWarning: string;
|
|
@@ -246,7 +246,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
246
246
|
borderHoverError: string;
|
|
247
247
|
borderActiveError: string;
|
|
248
248
|
borderFocusError: string;
|
|
249
|
-
boxShadowHoverError:
|
|
249
|
+
boxShadowHoverError: string;
|
|
250
250
|
boxShadowActiveError: string;
|
|
251
251
|
boxShadowFocusError: string;
|
|
252
252
|
colorActiveError: string;
|
|
@@ -207,7 +207,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
207
207
|
borderHover: string;
|
|
208
208
|
borderActive: string;
|
|
209
209
|
borderFocus: string;
|
|
210
|
-
boxShadowHover:
|
|
210
|
+
boxShadowHover: string;
|
|
211
211
|
boxShadowActive: string;
|
|
212
212
|
boxShadowFocus: string;
|
|
213
213
|
caretColor: string;
|
|
@@ -218,7 +218,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
218
218
|
borderHoverWarning: string;
|
|
219
219
|
borderActiveWarning: string;
|
|
220
220
|
borderFocusWarning: string;
|
|
221
|
-
boxShadowHoverWarning:
|
|
221
|
+
boxShadowHoverWarning: string;
|
|
222
222
|
boxShadowActiveWarning: string;
|
|
223
223
|
boxShadowFocusWarning: string;
|
|
224
224
|
colorActiveWarning: string;
|
|
@@ -227,7 +227,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
227
227
|
borderHoverError: string;
|
|
228
228
|
borderActiveError: string;
|
|
229
229
|
borderFocusError: string;
|
|
230
|
-
boxShadowHoverError:
|
|
230
|
+
boxShadowHoverError: string;
|
|
231
231
|
boxShadowActiveError: string;
|
|
232
232
|
boxShadowFocusError: string;
|
|
233
233
|
colorActiveError: string;
|
|
@@ -107,7 +107,7 @@ declare const cascaderLight: import("../../_mixins").Theme<"Cascader", {
|
|
|
107
107
|
borderHover: string;
|
|
108
108
|
borderActive: string;
|
|
109
109
|
borderFocus: string;
|
|
110
|
-
boxShadowHover:
|
|
110
|
+
boxShadowHover: string;
|
|
111
111
|
boxShadowActive: string;
|
|
112
112
|
boxShadowFocus: string;
|
|
113
113
|
caretColor: string;
|
|
@@ -118,7 +118,7 @@ declare const cascaderLight: import("../../_mixins").Theme<"Cascader", {
|
|
|
118
118
|
borderHoverWarning: string;
|
|
119
119
|
borderActiveWarning: string;
|
|
120
120
|
borderFocusWarning: string;
|
|
121
|
-
boxShadowHoverWarning:
|
|
121
|
+
boxShadowHoverWarning: string;
|
|
122
122
|
boxShadowActiveWarning: string;
|
|
123
123
|
boxShadowFocusWarning: string;
|
|
124
124
|
colorActiveWarning: string;
|
|
@@ -127,7 +127,7 @@ declare const cascaderLight: import("../../_mixins").Theme<"Cascader", {
|
|
|
127
127
|
borderHoverError: string;
|
|
128
128
|
borderActiveError: string;
|
|
129
129
|
borderFocusError: string;
|
|
130
|
-
boxShadowHoverError:
|
|
130
|
+
boxShadowHoverError: string;
|
|
131
131
|
boxShadowActiveError: string;
|
|
132
132
|
boxShadowFocusError: string;
|
|
133
133
|
colorActiveError: string;
|
|
@@ -107,7 +107,7 @@ export default defineComponent({
|
|
|
107
107
|
return mergedCheckedRef.value === props.checkedValue;
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
const themeRef = useTheme('Checkbox', '
|
|
110
|
+
const themeRef = useTheme('Checkbox', '-checkbox', style, checkboxLight, props, mergedClsPrefixRef);
|
|
111
111
|
function toggle(e) {
|
|
112
112
|
if (NCheckboxGroup && props.value !== undefined) {
|
|
113
113
|
NCheckboxGroup.toggleCheckbox(!renderedCheckedRef.value, props.value);
|
|
@@ -35,14 +35,14 @@ export default c([cB('checkbox', `
|
|
|
35
35
|
--n-merged-color-table-header: var(--n-color-table-header);
|
|
36
36
|
`, [c('&:hover', [cB('checkbox-box', [cE('border', {
|
|
37
37
|
border: 'var(--n-border-checked)'
|
|
38
|
-
})])]), c('&:focus:not(:active)', [cB('checkbox-box', [cE('border',
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
38
|
+
})])]), c('&:focus:not(:active)', [cB('checkbox-box', [cE('border', `
|
|
39
|
+
border: var(--n-border-focus);
|
|
40
|
+
box-shadow: var(--n-box-shadow-focus);
|
|
41
|
+
`)])]), cM('table-header', [cB('checkbox-box', `
|
|
42
|
+
background-color: var(--n-merged-color-table-header);
|
|
43
|
+
`)]), cM('checked', [cB('checkbox-box', `
|
|
44
|
+
background-color: var(--n-color-checked);
|
|
45
|
+
`, [cB('checkbox-icon', [// if not set width to 100%, safari & old chrome won't display the icon
|
|
46
46
|
c('.check-icon', `
|
|
47
47
|
opacity: 1;
|
|
48
48
|
transform: scale(1);
|
|
@@ -52,10 +52,10 @@ c('.check-icon', `
|
|
|
52
52
|
`), c('.line-icon', `
|
|
53
53
|
opacity: 1;
|
|
54
54
|
transform: scale(1);
|
|
55
|
-
`)])])]), cM('checked, indeterminate', [c('&:focus:not(:active)', [cB('checkbox-box', [cE('border',
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
`)])])]), cM('checked, indeterminate', [c('&:focus:not(:active)', [cB('checkbox-box', [cE('border', `
|
|
56
|
+
border: var(--n-border-checked);
|
|
57
|
+
box-shadow: var(--n-box-shadow-focus);
|
|
58
|
+
`)])]), cB('checkbox-box', `
|
|
59
59
|
background-color: var(--n-color-checked);
|
|
60
60
|
border-left: 0;
|
|
61
61
|
border-top: 0;
|
package/es/code/src/Code.js
CHANGED
|
@@ -68,7 +68,7 @@ export default defineComponent({
|
|
|
68
68
|
watch(toRef(props, 'code'), setCode);
|
|
69
69
|
if (!internalNoHighlight)
|
|
70
70
|
watch(hljsRef, setCode);
|
|
71
|
-
const themeRef = useTheme('Code', '
|
|
71
|
+
const themeRef = useTheme('Code', '-code', style, codeLight, props, mergedClsPrefixRef);
|
|
72
72
|
return {
|
|
73
73
|
mergedClsPrefix: mergedClsPrefixRef,
|
|
74
74
|
codeRef,
|
|
@@ -37,7 +37,7 @@ export default defineComponent({
|
|
|
37
37
|
const uncontrolledExpandedNamesRef = ref(props.defaultExpandedNames);
|
|
38
38
|
const controlledExpandedNamesRef = computed(() => props.expandedNames);
|
|
39
39
|
const mergedExpandedNamesRef = useMergedState(controlledExpandedNamesRef, uncontrolledExpandedNamesRef);
|
|
40
|
-
const themeRef = useTheme('Collapse', '
|
|
40
|
+
const themeRef = useTheme('Collapse', '-collapse', style, collapseLight, props, mergedClsPrefixRef);
|
|
41
41
|
function doUpdateExpandedNames(names) {
|
|
42
42
|
const { 'onUpdate:expandedNames': _onUpdateExpandedNames, onUpdateExpandedNames, onExpandedNamesChange } = props;
|
|
43
43
|
if (onUpdateExpandedNames) {
|
|
@@ -29,7 +29,7 @@ export default defineComponent({
|
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
const { mergedClsPrefixRef } = useConfig(props);
|
|
32
|
-
const mergedThemeRef = useTheme('CollapseTransition', '
|
|
32
|
+
const mergedThemeRef = useTheme('CollapseTransition', '-collapse-transition', style, collapseTransitionLight, props, mergedClsPrefixRef);
|
|
33
33
|
const mergedShowRef = computed(() => {
|
|
34
34
|
if (props.collapsed !== undefined) {
|
|
35
35
|
// No mistake, it's implemented with error at first, just keep it here
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, h, inject, ref, watchEffect } from 'vue';
|
|
2
2
|
import { NInput } from '../../input';
|
|
3
|
-
import { colorPickerInjectionKey } from './
|
|
3
|
+
import { colorPickerInjectionKey } from './context';
|
|
4
4
|
// 0 - 255
|
|
5
5
|
function normalizeRgbUnit(value) {
|
|
6
6
|
if (/^\d{1,3}\.?\d*$/.test(value.trim())) {
|