naive-ui 2.34.2 → 2.34.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +11964 -9783
- package/dist/index.prod.js +3 -2
- package/es/_internal/loading/src/Loading.d.ts +1 -1
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +4 -4
- package/es/_internal/scrollbar/styles/light.d.ts +2 -2
- package/es/_internal/select-menu/src/interface.d.ts +7 -7
- package/es/_internal/select-menu/styles/light.d.ts +2 -2
- package/es/_internal/selection/src/interface.d.ts +1 -1
- package/es/_internal/selection/styles/light.d.ts +2 -2
- package/es/_mixins/use-config.d.ts +1 -1
- package/es/_mixins/use-form-item.d.ts +2 -2
- package/es/_mixins/use-theme.d.ts +6 -6
- package/es/_styles/common/light.d.ts +1 -1
- package/es/_utils/cssr/create-key.d.ts +3 -3
- package/es/_utils/env/is-native-lazy-load.d.ts +1 -1
- package/es/_utils/env/is-native-lazy-load.js +2 -3
- package/es/_utils/naive/extract-public-props.d.ts +4 -4
- package/es/_utils/naive/mutable.d.ts +1 -1
- package/es/_utils/naive/prop.d.ts +1 -1
- package/es/_utils/vue/call.d.ts +1 -1
- package/es/affix/src/Affix.d.ts +1 -1
- package/es/affix/src/utils.d.ts +1 -1
- package/es/alert/src/Alert.d.ts +1 -1
- package/es/alert/styles/light.d.ts +2 -2
- package/es/anchor/src/AnchorAdapter.d.ts +1 -1
- package/es/anchor/src/Link.d.ts +1 -1
- package/es/anchor/src/utils.d.ts +1 -1
- package/es/anchor/styles/light.d.ts +2 -2
- package/es/auto-complete/src/AutoComplete.d.ts +1 -1
- package/es/auto-complete/src/interface.d.ts +5 -5
- package/es/auto-complete/styles/light.d.ts +2 -2
- package/es/avatar/src/Avatar.d.ts +1 -1
- package/es/avatar/src/Avatar.js +7 -1
- package/es/avatar/src/interface.d.ts +2 -2
- package/es/avatar/styles/light.d.ts +3 -3
- package/es/avatar-group/src/AvatarGroup.d.ts +1 -1
- package/es/avatar-group/styles/light.d.ts +2 -2
- package/es/back-top/src/BackTop.d.ts +1 -1
- package/es/back-top/styles/light.d.ts +2 -2
- package/es/badge/src/Badge.d.ts +7 -1
- package/es/badge/src/Badge.js +15 -3
- package/es/badge/styles/light.d.ts +2 -2
- package/es/breadcrumb/src/Breadcrumb.d.ts +1 -1
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
- package/es/breadcrumb/styles/light.d.ts +2 -2
- package/es/button/src/Button.d.ts +4 -4
- package/es/button/src/interface.d.ts +2 -2
- package/es/button/styles/light.d.ts +2 -2
- package/es/button-group/src/ButtonGroup.d.ts +1 -1
- package/es/button-group/styles/light.d.ts +1 -1
- package/es/calendar/src/Calendar.d.ts +1 -1
- package/es/calendar/src/interface.d.ts +2 -2
- package/es/calendar/styles/light.d.ts +2 -2
- package/es/card/src/Card.d.ts +23 -18
- package/es/card/src/Card.js +8 -7
- package/es/card/styles/light.d.ts +2 -2
- package/es/carousel/src/Carousel.d.ts +2 -2
- package/es/carousel/src/CarouselDots.d.ts +1 -1
- package/es/carousel/styles/light.d.ts +2 -2
- package/es/cascader/src/Cascader.d.ts +11 -1
- package/es/cascader/src/CascaderMenu.d.ts +1 -0
- package/es/cascader/src/CascaderOption.d.ts +1 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +1 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +1 -0
- package/es/cascader/src/interface.d.ts +11 -11
- package/es/cascader/styles/light.d.ts +3 -2
- package/es/checkbox/src/Checkbox.d.ts +12 -1
- package/es/checkbox/src/Checkbox.js +2 -1
- package/es/checkbox/src/CheckboxGroup.d.ts +1 -1
- package/es/checkbox/src/interface.d.ts +2 -2
- package/es/checkbox/src/styles/index.cssr.js +1 -0
- package/es/checkbox/styles/_common.d.ts +1 -0
- package/es/checkbox/styles/_common.js +2 -1
- package/es/checkbox/styles/light.d.ts +3 -2
- package/es/code/src/Code.d.ts +1 -1
- package/es/code/styles/light.d.ts +2 -2
- package/es/collapse/src/Collapse.d.ts +1 -1
- package/es/collapse/src/CollapseItem.d.ts +1 -1
- package/es/collapse/src/interface.d.ts +4 -4
- package/es/collapse/styles/light.d.ts +2 -2
- package/es/collapse-transition/src/CollapseTransition.d.ts +1 -1
- package/es/collapse-transition/styles/light.d.ts +2 -2
- package/es/color-picker/src/ColorPicker.d.ts +1 -1
- package/es/color-picker/src/interface.d.ts +5 -5
- package/es/color-picker/src/utils.d.ts +2 -2
- package/es/color-picker/styles/light.d.ts +2 -2
- package/es/config-provider/src/ConfigProvider.d.ts +1 -1
- package/es/config-provider/src/interface.d.ts +1 -1
- package/es/config-provider/src/internal-interface.d.ts +3 -5
- package/es/config-provider/src/katex.d.ts +1 -1
- package/es/countdown/src/Countdown.d.ts +1 -1
- package/es/create.d.ts +1 -1
- package/es/data-table/src/DataTable.d.ts +14 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
- package/es/data-table/src/TableParts/Body.d.ts +2 -0
- package/es/data-table/src/TableParts/Cell.d.ts +4 -0
- package/es/data-table/src/TableParts/Header.d.ts +2 -0
- package/es/data-table/src/interface.d.ts +52 -52
- package/es/data-table/styles/light.d.ts +4 -2
- package/es/date-picker/src/DatePicker.d.ts +2 -2
- package/es/date-picker/src/DatePicker.js +2 -2
- package/es/date-picker/src/config.d.ts +1 -1
- package/es/date-picker/src/interface.d.ts +21 -21
- package/es/date-picker/src/panel/use-panel-common.d.ts +1 -1
- package/es/date-picker/styles/light.d.ts +2 -2
- package/es/descriptions/src/Descriptions.d.ts +2 -2
- package/es/descriptions/src/DescriptionsItem.d.ts +1 -1
- package/es/descriptions/styles/light.d.ts +2 -2
- package/es/dialog/src/DialogProvider.d.ts +5 -5
- package/es/dialog/src/dialogProps.d.ts +1 -1
- package/es/dialog/src/interface.d.ts +1 -1
- package/es/dialog/styles/light.d.ts +2 -2
- package/es/discrete/src/discreteApp.d.ts +2 -2
- package/es/discrete/src/interface.d.ts +3 -3
- package/es/divider/src/Divider.d.ts +1 -1
- package/es/divider/styles/light.d.ts +2 -2
- package/es/drawer/src/Drawer.d.ts +1 -1
- package/es/drawer/src/DrawerBodyWrapper.d.ts +1 -1
- package/es/drawer/src/DrawerContent.d.ts +1 -1
- package/es/drawer/src/interface.d.ts +1 -1
- package/es/drawer/styles/light.d.ts +2 -2
- package/es/dropdown/src/Dropdown.d.ts +1 -1
- package/es/dropdown/src/interface.d.ts +21 -21
- package/es/dropdown/styles/light.d.ts +2 -2
- package/es/dynamic-input/src/DynamicInput.d.ts +1 -1
- package/es/dynamic-input/src/interface.d.ts +1 -1
- package/es/dynamic-input/styles/light.d.ts +2 -2
- package/es/dynamic-tags/src/DynamicTags.d.ts +1 -1
- package/es/dynamic-tags/src/interface.d.ts +3 -3
- package/es/dynamic-tags/styles/light.d.ts +1 -1
- package/es/element/src/Element.d.ts +1 -1
- package/es/element/styles/light.d.ts +1 -1
- package/es/ellipsis/src/Ellipsis.d.ts +1 -1
- package/es/ellipsis/src/Ellipsis.js +7 -1
- package/es/ellipsis/styles/light.d.ts +1 -1
- package/es/empty/src/Empty.d.ts +1 -1
- package/es/empty/styles/light.d.ts +2 -2
- package/es/equation/styles/light.d.ts +2 -2
- package/es/form/src/Form.d.ts +11 -2
- package/es/form/src/FormItem.d.ts +14 -4
- package/es/form/src/FormItem.js +2 -1
- package/es/form/src/FormItemCol.d.ts +12 -3
- package/es/form/src/FormItemGridItem.d.ts +12 -3
- package/es/form/src/FormItemRow.d.ts +11 -2
- package/es/form/src/interface.d.ts +19 -19
- package/es/form/src/styles/form-item.cssr.js +1 -0
- package/es/form/styles/_common.d.ts +1 -0
- package/es/form/styles/_common.js +2 -1
- package/es/form/styles/light.d.ts +3 -2
- package/es/gradient-text/src/GradientText.d.ts +2 -2
- package/es/gradient-text/styles/light.d.ts +2 -2
- package/es/grid/src/Grid.d.ts +1 -1
- package/es/grid/src/GridItem.d.ts +1 -1
- package/es/icon/src/Icon.d.ts +2 -2
- package/es/icon/styles/light.d.ts +2 -2
- package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/es/icon-wrapper/styles/light.d.ts +2 -2
- package/es/image/src/Image.d.ts +1 -1
- package/es/image/src/Image.js +5 -1
- package/es/image/src/ImageGroup.d.ts +1 -1
- package/es/image/src/ImagePreview.js +5 -4
- package/es/image/src/utils.d.ts +1 -1
- package/es/image/styles/light.d.ts +2 -2
- package/es/input/src/Input.d.ts +1 -1
- package/es/input/src/InputGroup.d.ts +1 -1
- package/es/input/src/InputGroupLabel.d.ts +1 -1
- package/es/input/src/interface.d.ts +4 -4
- package/es/input/src/styles/input.cssr.js +1 -0
- package/es/input/styles/light.d.ts +2 -2
- package/es/input-number/src/InputNumber.d.ts +1 -1
- package/es/input-number/src/interface.d.ts +2 -2
- package/es/input-number/styles/light.d.ts +2 -2
- package/es/layout/src/Layout.d.ts +1 -1
- package/es/layout/src/LayoutFooter.d.ts +1 -1
- package/es/layout/src/LayoutHeader.d.ts +1 -1
- package/es/layout/src/LayoutSider.d.ts +1 -1
- package/es/layout/src/interface.d.ts +1 -1
- package/es/layout/styles/light.d.ts +2 -2
- package/es/legacy-grid/src/Col.d.ts +1 -1
- package/es/legacy-grid/src/Row.d.ts +1 -1
- package/es/legacy-grid/src/interface.d.ts +1 -1
- package/es/legacy-grid/styles/dark.d.ts +1 -1
- package/es/legacy-grid/styles/light.d.ts +1 -1
- package/es/legacy-transfer/src/Transfer.d.ts +11 -1
- package/es/legacy-transfer/src/TransferFilter.d.ts +1 -0
- package/es/legacy-transfer/src/TransferList.d.ts +1 -0
- package/es/legacy-transfer/src/TransferListItem.d.ts +1 -0
- package/es/legacy-transfer/src/interface.d.ts +3 -3
- package/es/legacy-transfer/styles/light.d.ts +3 -2
- package/es/list/src/List.d.ts +1 -1
- package/es/list/styles/light.d.ts +2 -2
- package/es/loading-bar/src/LoadingBarProvider.d.ts +4 -4
- package/es/loading-bar/styles/light.d.ts +2 -2
- package/es/locales/common/enUS.d.ts +1 -1
- package/es/locales/common/koKR.js +9 -9
- package/es/locales/utils/index.d.ts +1 -1
- package/es/log/src/Log.d.ts +1 -1
- package/es/log/styles/light.d.ts +2 -2
- package/es/mention/src/Mention.d.ts +1 -1
- package/es/mention/src/interface.d.ts +1 -1
- package/es/mention/styles/light.d.ts +2 -2
- package/es/menu/src/Menu.d.ts +2 -2
- package/es/menu/src/Submenu.js +2 -2
- package/es/menu/src/interface.d.ts +11 -11
- package/es/menu/src/use-menu-child-props.d.ts +1 -1
- package/es/menu/styles/light.d.ts +2 -2
- package/es/message/src/MessageProvider.d.ts +5 -7
- package/es/message/src/message-props.d.ts +2 -2
- package/es/message/src/types.d.ts +3 -3
- package/es/message/styles/light.d.ts +2 -2
- package/es/modal/src/BodyWrapper.d.ts +9 -0
- package/es/modal/src/Modal.d.ts +14 -1
- package/es/modal/src/interface.d.ts +1 -1
- package/es/modal/src/presetProps.d.ts +5 -1
- package/es/modal/styles/light.d.ts +2 -2
- package/es/notification/src/NotificationEnvironment.d.ts +1 -1
- package/es/notification/src/NotificationProvider.d.ts +7 -7
- package/es/notification/styles/light.d.ts +2 -2
- package/es/number-animation/src/NumberAnimation.d.ts +1 -1
- package/es/page-header/src/PageHeader.d.ts +1 -1
- package/es/page-header/styles/light.d.ts +2 -2
- package/es/pagination/src/Pagination.d.ts +9 -2
- package/es/pagination/src/Pagination.js +6 -4
- package/es/pagination/src/interface.d.ts +9 -8
- package/es/pagination/src/utils.d.ts +1 -1
- package/es/pagination/styles/light.d.ts +2 -2
- package/es/popconfirm/src/Popconfirm.d.ts +2 -2
- package/es/popconfirm/src/interface.d.ts +1 -1
- package/es/popconfirm/styles/light.d.ts +2 -2
- package/es/popover/src/Popover.d.ts +2 -2
- package/es/popover/src/interface.d.ts +3 -3
- package/es/popover/styles/light.d.ts +2 -2
- package/es/popselect/src/Popselect.d.ts +2 -2
- package/es/popselect/src/interface.d.ts +2 -2
- package/es/popselect/styles/light.d.ts +1 -1
- package/es/progress/src/Line.js +3 -1
- package/es/progress/src/Progress.d.ts +1 -1
- package/es/progress/src/interface.d.ts +1 -1
- package/es/progress/styles/light.d.ts +2 -2
- package/es/radio/src/Radio.d.ts +8 -1
- package/es/radio/src/Radio.js +2 -1
- package/es/radio/src/RadioButton.d.ts +1 -1
- package/es/radio/src/RadioGroup.d.ts +10 -1
- package/es/radio/src/interface.d.ts +2 -2
- package/es/radio/src/styles/radio.cssr.js +1 -0
- package/es/radio/src/use-radio.d.ts +1 -1
- package/es/radio/styles/_common.d.ts +1 -0
- package/es/radio/styles/_common.js +2 -1
- package/es/radio/styles/light.d.ts +3 -2
- package/es/rate/src/Rate.d.ts +1 -1
- package/es/rate/src/interface.d.ts +2 -2
- package/es/rate/styles/light.d.ts +2 -2
- package/es/result/src/Result.d.ts +1 -1
- package/es/result/styles/light.d.ts +2 -2
- package/es/scrollbar/src/Scrollbar.d.ts +2 -2
- package/es/select/src/Select.d.ts +5 -1
- package/es/select/src/Select.js +5 -2
- package/es/select/src/interface.d.ts +12 -12
- package/es/select/styles/light.d.ts +2 -2
- package/es/skeleton/src/Skeleton.d.ts +1 -1
- package/es/skeleton/styles/light.d.ts +2 -2
- package/es/slider/src/Slider.d.ts +1 -1
- package/es/slider/src/interface.d.ts +1 -1
- package/es/slider/src/utils.d.ts +3 -3
- package/es/slider/styles/light.d.ts +2 -2
- package/es/space/src/Space.d.ts +3 -3
- package/es/space/styles/light.d.ts +2 -2
- package/es/spin/src/Spin.d.ts +1 -1
- package/es/spin/styles/light.d.ts +2 -2
- package/es/statistic/src/Statistic.d.ts +1 -1
- package/es/statistic/styles/light.d.ts +2 -2
- package/es/steps/src/Step.d.ts +1 -1
- package/es/steps/src/Steps.d.ts +1 -1
- package/es/steps/styles/light.d.ts +2 -2
- package/es/switch/src/Switch.d.ts +1 -1
- package/es/switch/src/interface.d.ts +2 -2
- package/es/switch/styles/light.d.ts +2 -2
- package/es/table/src/Table.d.ts +1 -1
- package/es/table/styles/light.d.ts +2 -2
- package/es/tabs/src/Tab.d.ts +1 -1
- package/es/tabs/src/TabPane.d.ts +1 -1
- package/es/tabs/src/Tabs.d.ts +123 -1
- package/es/tabs/src/Tabs.js +83 -61
- package/es/tabs/src/interface.d.ts +8 -8
- package/es/tabs/src/styles/index.cssr.js +49 -2
- package/es/tabs/styles/_common.d.ts +12 -0
- package/es/tabs/styles/_common.js +12 -0
- package/es/tabs/styles/light.d.ts +14 -2
- package/es/tag/src/Tag.d.ts +1 -1
- package/es/tag/styles/light.d.ts +2 -2
- package/es/themes/interface.d.ts +1 -1
- package/es/themes/utils.d.ts +2 -2
- package/es/thing/src/Thing.d.ts +1 -1
- package/es/thing/styles/light.d.ts +2 -2
- package/es/time/src/Time.d.ts +1 -1
- package/es/time-picker/src/TimePicker.d.ts +1 -1
- package/es/time-picker/src/interface.d.ts +9 -9
- package/es/time-picker/styles/light.d.ts +2 -2
- package/es/timeline/src/Timeline.d.ts +1 -1
- package/es/timeline/src/TimelineItem.d.ts +1 -1
- package/es/timeline/styles/light.d.ts +2 -2
- package/es/tooltip/src/Tooltip.d.ts +2 -2
- package/es/tooltip/styles/light.d.ts +2 -2
- package/es/transfer/src/Transfer.d.ts +11 -1
- package/es/transfer/src/TransferFilter.d.ts +1 -0
- package/es/transfer/src/TransferList.d.ts +1 -0
- package/es/transfer/src/TransferListItem.d.ts +1 -0
- package/es/transfer/src/interface.d.ts +6 -6
- package/es/transfer/styles/light.d.ts +3 -2
- package/es/tree/src/Tree.d.ts +24 -12
- package/es/tree/src/Tree.js +36 -34
- package/es/tree/src/TreeNode.js +4 -2
- package/es/tree/src/TreeNodeCheckbox.d.ts +1 -0
- package/es/tree/src/interface.d.ts +16 -16
- package/es/tree/styles/light.d.ts +3 -2
- package/es/tree-select/src/TreeSelect.d.ts +22 -5
- package/es/tree-select/src/TreeSelect.js +1 -1
- package/es/tree-select/src/interface.d.ts +12 -12
- package/es/tree-select/styles/light.d.ts +3 -2
- package/es/typography/src/a.d.ts +1 -1
- package/es/typography/src/blockquote.d.ts +1 -1
- package/es/typography/src/create-header.d.ts +1 -1
- package/es/typography/src/ol.d.ts +1 -1
- package/es/typography/src/p.d.ts +1 -1
- package/es/typography/src/text.d.ts +1 -1
- package/es/typography/src/ul.d.ts +1 -1
- package/es/typography/styles/light.d.ts +2 -2
- package/es/upload/src/Upload.d.ts +1 -1
- package/es/upload/src/Upload.js +2 -4
- package/es/upload/src/interface.d.ts +16 -16
- package/es/upload/src/utils.js +7 -9
- package/es/upload/styles/light.d.ts +2 -2
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/watermark/src/Watermark.d.ts +1 -1
- package/es/watermark/styles/light.d.ts +1 -1
- package/lib/_internal/loading/src/Loading.d.ts +1 -1
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +4 -4
- package/lib/_internal/scrollbar/styles/light.d.ts +2 -2
- package/lib/_internal/select-menu/src/interface.d.ts +7 -7
- package/lib/_internal/select-menu/styles/light.d.ts +2 -2
- package/lib/_internal/selection/src/interface.d.ts +1 -1
- package/lib/_internal/selection/styles/light.d.ts +2 -2
- package/lib/_mixins/use-config.d.ts +1 -1
- package/lib/_mixins/use-form-item.d.ts +2 -2
- package/lib/_mixins/use-theme.d.ts +6 -6
- package/lib/_styles/common/light.d.ts +1 -1
- package/lib/_utils/cssr/create-key.d.ts +3 -3
- package/lib/_utils/env/is-native-lazy-load.d.ts +1 -1
- package/lib/_utils/env/is-native-lazy-load.js +2 -3
- package/lib/_utils/naive/extract-public-props.d.ts +4 -4
- package/lib/_utils/naive/mutable.d.ts +1 -1
- package/lib/_utils/naive/prop.d.ts +1 -1
- package/lib/_utils/vue/call.d.ts +1 -1
- package/lib/affix/src/Affix.d.ts +1 -1
- package/lib/affix/src/utils.d.ts +1 -1
- package/lib/alert/src/Alert.d.ts +1 -1
- package/lib/alert/styles/light.d.ts +2 -2
- package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
- package/lib/anchor/src/Link.d.ts +1 -1
- package/lib/anchor/src/utils.d.ts +1 -1
- package/lib/anchor/styles/light.d.ts +2 -2
- package/lib/auto-complete/src/AutoComplete.d.ts +1 -1
- package/lib/auto-complete/src/interface.d.ts +5 -5
- package/lib/auto-complete/styles/light.d.ts +2 -2
- package/lib/avatar/src/Avatar.d.ts +1 -1
- package/lib/avatar/src/Avatar.js +7 -1
- package/lib/avatar/src/interface.d.ts +2 -2
- package/lib/avatar/styles/light.d.ts +3 -3
- package/lib/avatar-group/src/AvatarGroup.d.ts +1 -1
- package/lib/avatar-group/styles/light.d.ts +2 -2
- package/lib/back-top/src/BackTop.d.ts +1 -1
- package/lib/back-top/styles/light.d.ts +2 -2
- package/lib/badge/src/Badge.d.ts +7 -1
- package/lib/badge/src/Badge.js +15 -3
- package/lib/badge/styles/light.d.ts +2 -2
- package/lib/breadcrumb/src/Breadcrumb.d.ts +1 -1
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
- package/lib/breadcrumb/styles/light.d.ts +2 -2
- package/lib/button/src/Button.d.ts +4 -4
- package/lib/button/src/interface.d.ts +2 -2
- package/lib/button/styles/light.d.ts +2 -2
- package/lib/button-group/src/ButtonGroup.d.ts +1 -1
- package/lib/button-group/styles/light.d.ts +1 -1
- package/lib/calendar/src/Calendar.d.ts +1 -1
- package/lib/calendar/src/interface.d.ts +2 -2
- package/lib/calendar/styles/light.d.ts +2 -2
- package/lib/card/src/Card.d.ts +23 -18
- package/lib/card/src/Card.js +8 -7
- package/lib/card/styles/light.d.ts +2 -2
- package/lib/carousel/src/Carousel.d.ts +2 -2
- package/lib/carousel/src/CarouselDots.d.ts +1 -1
- package/lib/carousel/styles/light.d.ts +2 -2
- package/lib/cascader/src/Cascader.d.ts +11 -1
- package/lib/cascader/src/CascaderMenu.d.ts +1 -0
- package/lib/cascader/src/CascaderOption.d.ts +1 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +1 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +1 -0
- package/lib/cascader/src/interface.d.ts +11 -11
- package/lib/cascader/styles/light.d.ts +3 -2
- package/lib/checkbox/src/Checkbox.d.ts +12 -1
- package/lib/checkbox/src/Checkbox.js +2 -1
- package/lib/checkbox/src/CheckboxGroup.d.ts +1 -1
- package/lib/checkbox/src/interface.d.ts +2 -2
- package/lib/checkbox/src/styles/index.cssr.js +1 -0
- package/lib/checkbox/styles/_common.d.ts +1 -0
- package/lib/checkbox/styles/_common.js +2 -1
- package/lib/checkbox/styles/light.d.ts +3 -2
- package/lib/code/src/Code.d.ts +1 -1
- package/lib/code/styles/light.d.ts +2 -2
- package/lib/collapse/src/Collapse.d.ts +1 -1
- package/lib/collapse/src/CollapseItem.d.ts +1 -1
- package/lib/collapse/src/interface.d.ts +4 -4
- package/lib/collapse/styles/light.d.ts +2 -2
- package/lib/collapse-transition/src/CollapseTransition.d.ts +1 -1
- package/lib/collapse-transition/styles/light.d.ts +2 -2
- package/lib/color-picker/src/ColorPicker.d.ts +1 -1
- package/lib/color-picker/src/interface.d.ts +5 -5
- package/lib/color-picker/src/utils.d.ts +2 -2
- package/lib/color-picker/styles/light.d.ts +2 -2
- package/lib/config-provider/src/ConfigProvider.d.ts +1 -1
- package/lib/config-provider/src/interface.d.ts +1 -1
- package/lib/config-provider/src/internal-interface.d.ts +3 -5
- package/lib/config-provider/src/katex.d.ts +1 -1
- package/lib/countdown/src/Countdown.d.ts +1 -1
- package/lib/create.d.ts +1 -1
- package/lib/data-table/src/DataTable.d.ts +14 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
- package/lib/data-table/src/TableParts/Body.d.ts +2 -0
- package/lib/data-table/src/TableParts/Cell.d.ts +4 -0
- package/lib/data-table/src/TableParts/Header.d.ts +2 -0
- package/lib/data-table/src/interface.d.ts +52 -52
- package/lib/data-table/styles/light.d.ts +4 -2
- package/lib/date-picker/src/DatePicker.d.ts +2 -2
- package/lib/date-picker/src/DatePicker.js +2 -2
- package/lib/date-picker/src/config.d.ts +1 -1
- package/lib/date-picker/src/interface.d.ts +21 -21
- package/lib/date-picker/src/panel/use-panel-common.d.ts +1 -1
- package/lib/date-picker/styles/light.d.ts +2 -2
- package/lib/descriptions/src/Descriptions.d.ts +2 -2
- package/lib/descriptions/src/DescriptionsItem.d.ts +1 -1
- package/lib/descriptions/styles/light.d.ts +2 -2
- package/lib/dialog/src/DialogProvider.d.ts +5 -5
- package/lib/dialog/src/dialogProps.d.ts +1 -1
- package/lib/dialog/src/interface.d.ts +1 -1
- package/lib/dialog/styles/light.d.ts +2 -2
- package/lib/discrete/src/discreteApp.d.ts +2 -2
- package/lib/discrete/src/interface.d.ts +3 -3
- package/lib/divider/src/Divider.d.ts +1 -1
- package/lib/divider/styles/light.d.ts +2 -2
- package/lib/drawer/src/Drawer.d.ts +1 -1
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +1 -1
- package/lib/drawer/src/DrawerContent.d.ts +1 -1
- package/lib/drawer/src/interface.d.ts +1 -1
- package/lib/drawer/styles/light.d.ts +2 -2
- package/lib/dropdown/src/Dropdown.d.ts +1 -1
- package/lib/dropdown/src/interface.d.ts +21 -21
- package/lib/dropdown/styles/light.d.ts +2 -2
- package/lib/dynamic-input/src/DynamicInput.d.ts +1 -1
- package/lib/dynamic-input/src/interface.d.ts +1 -1
- package/lib/dynamic-input/styles/light.d.ts +2 -2
- package/lib/dynamic-tags/src/DynamicTags.d.ts +1 -1
- package/lib/dynamic-tags/src/interface.d.ts +3 -3
- package/lib/dynamic-tags/styles/light.d.ts +1 -1
- package/lib/element/src/Element.d.ts +1 -1
- package/lib/element/styles/light.d.ts +1 -1
- package/lib/ellipsis/src/Ellipsis.d.ts +1 -1
- package/lib/ellipsis/src/Ellipsis.js +6 -0
- package/lib/ellipsis/styles/light.d.ts +1 -1
- package/lib/empty/src/Empty.d.ts +1 -1
- package/lib/empty/styles/light.d.ts +2 -2
- package/lib/equation/styles/light.d.ts +2 -2
- package/lib/form/src/Form.d.ts +11 -2
- package/lib/form/src/FormItem.d.ts +14 -4
- package/lib/form/src/FormItem.js +2 -1
- package/lib/form/src/FormItemCol.d.ts +12 -3
- package/lib/form/src/FormItemGridItem.d.ts +12 -3
- package/lib/form/src/FormItemRow.d.ts +11 -2
- package/lib/form/src/interface.d.ts +19 -19
- package/lib/form/src/styles/form-item.cssr.js +1 -0
- package/lib/form/styles/_common.d.ts +1 -0
- package/lib/form/styles/_common.js +2 -1
- package/lib/form/styles/light.d.ts +3 -2
- package/lib/gradient-text/src/GradientText.d.ts +2 -2
- package/lib/gradient-text/styles/light.d.ts +2 -2
- package/lib/grid/src/Grid.d.ts +1 -1
- package/lib/grid/src/GridItem.d.ts +1 -1
- package/lib/icon/src/Icon.d.ts +2 -2
- package/lib/icon/styles/light.d.ts +2 -2
- package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/lib/icon-wrapper/styles/light.d.ts +2 -2
- package/lib/image/src/Image.d.ts +1 -1
- package/lib/image/src/Image.js +5 -1
- package/lib/image/src/ImageGroup.d.ts +1 -1
- package/lib/image/src/ImagePreview.js +5 -4
- package/lib/image/src/utils.d.ts +1 -1
- package/lib/image/styles/light.d.ts +2 -2
- package/lib/input/src/Input.d.ts +1 -1
- package/lib/input/src/InputGroup.d.ts +1 -1
- package/lib/input/src/InputGroupLabel.d.ts +1 -1
- package/lib/input/src/interface.d.ts +4 -4
- package/lib/input/src/styles/input.cssr.js +1 -0
- package/lib/input/styles/light.d.ts +2 -2
- package/lib/input-number/src/InputNumber.d.ts +1 -1
- package/lib/input-number/src/interface.d.ts +2 -2
- package/lib/input-number/styles/light.d.ts +2 -2
- package/lib/layout/src/Layout.d.ts +1 -1
- package/lib/layout/src/LayoutFooter.d.ts +1 -1
- package/lib/layout/src/LayoutHeader.d.ts +1 -1
- package/lib/layout/src/LayoutSider.d.ts +1 -1
- package/lib/layout/src/interface.d.ts +1 -1
- package/lib/layout/styles/light.d.ts +2 -2
- package/lib/legacy-grid/src/Col.d.ts +1 -1
- package/lib/legacy-grid/src/Row.d.ts +1 -1
- package/lib/legacy-grid/src/interface.d.ts +1 -1
- package/lib/legacy-grid/styles/dark.d.ts +1 -1
- package/lib/legacy-grid/styles/light.d.ts +1 -1
- package/lib/legacy-transfer/src/Transfer.d.ts +11 -1
- package/lib/legacy-transfer/src/TransferFilter.d.ts +1 -0
- package/lib/legacy-transfer/src/TransferList.d.ts +1 -0
- package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -0
- package/lib/legacy-transfer/src/interface.d.ts +3 -3
- package/lib/legacy-transfer/styles/light.d.ts +3 -2
- package/lib/list/src/List.d.ts +1 -1
- package/lib/list/styles/light.d.ts +2 -2
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +4 -4
- package/lib/loading-bar/styles/light.d.ts +2 -2
- package/lib/locales/common/enUS.d.ts +1 -1
- package/lib/locales/common/koKR.js +9 -9
- package/lib/locales/utils/index.d.ts +1 -1
- package/lib/log/src/Log.d.ts +1 -1
- package/lib/log/styles/light.d.ts +2 -2
- package/lib/mention/src/Mention.d.ts +1 -1
- package/lib/mention/src/interface.d.ts +1 -1
- package/lib/mention/styles/light.d.ts +2 -2
- package/lib/menu/src/Menu.d.ts +2 -2
- package/lib/menu/src/Submenu.js +2 -2
- package/lib/menu/src/interface.d.ts +11 -11
- package/lib/menu/src/use-menu-child-props.d.ts +1 -1
- package/lib/menu/styles/light.d.ts +2 -2
- package/lib/message/src/MessageProvider.d.ts +5 -7
- package/lib/message/src/message-props.d.ts +2 -2
- package/lib/message/src/types.d.ts +3 -3
- package/lib/message/styles/light.d.ts +2 -2
- package/lib/modal/src/BodyWrapper.d.ts +9 -0
- package/lib/modal/src/Modal.d.ts +14 -1
- package/lib/modal/src/interface.d.ts +1 -1
- package/lib/modal/src/presetProps.d.ts +5 -1
- package/lib/modal/styles/light.d.ts +2 -2
- package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
- package/lib/notification/src/NotificationProvider.d.ts +7 -7
- package/lib/notification/styles/light.d.ts +2 -2
- package/lib/number-animation/src/NumberAnimation.d.ts +1 -1
- package/lib/page-header/src/PageHeader.d.ts +1 -1
- package/lib/page-header/styles/light.d.ts +2 -2
- package/lib/pagination/src/Pagination.d.ts +9 -2
- package/lib/pagination/src/Pagination.js +6 -4
- package/lib/pagination/src/interface.d.ts +9 -8
- package/lib/pagination/src/utils.d.ts +1 -1
- package/lib/pagination/styles/light.d.ts +2 -2
- package/lib/popconfirm/src/Popconfirm.d.ts +2 -2
- package/lib/popconfirm/src/interface.d.ts +1 -1
- package/lib/popconfirm/styles/light.d.ts +2 -2
- package/lib/popover/src/Popover.d.ts +2 -2
- package/lib/popover/src/interface.d.ts +3 -3
- package/lib/popover/styles/light.d.ts +2 -2
- package/lib/popselect/src/Popselect.d.ts +2 -2
- package/lib/popselect/src/interface.d.ts +2 -2
- package/lib/popselect/styles/light.d.ts +1 -1
- package/lib/progress/src/Line.js +3 -1
- package/lib/progress/src/Progress.d.ts +1 -1
- package/lib/progress/src/interface.d.ts +1 -1
- package/lib/progress/styles/light.d.ts +2 -2
- package/lib/radio/src/Radio.d.ts +8 -1
- package/lib/radio/src/Radio.js +2 -1
- package/lib/radio/src/RadioButton.d.ts +1 -1
- package/lib/radio/src/RadioGroup.d.ts +10 -1
- package/lib/radio/src/interface.d.ts +2 -2
- package/lib/radio/src/styles/radio.cssr.js +1 -0
- package/lib/radio/src/use-radio.d.ts +1 -1
- package/lib/radio/styles/_common.d.ts +1 -0
- package/lib/radio/styles/_common.js +2 -1
- package/lib/radio/styles/light.d.ts +3 -2
- package/lib/rate/src/Rate.d.ts +1 -1
- package/lib/rate/src/interface.d.ts +2 -2
- package/lib/rate/styles/light.d.ts +2 -2
- package/lib/result/src/Result.d.ts +1 -1
- package/lib/result/styles/light.d.ts +2 -2
- package/lib/scrollbar/src/Scrollbar.d.ts +2 -2
- package/lib/select/src/Select.d.ts +5 -1
- package/lib/select/src/Select.js +5 -2
- package/lib/select/src/interface.d.ts +12 -12
- package/lib/select/styles/light.d.ts +2 -2
- package/lib/skeleton/src/Skeleton.d.ts +1 -1
- package/lib/skeleton/styles/light.d.ts +2 -2
- package/lib/slider/src/Slider.d.ts +1 -1
- package/lib/slider/src/interface.d.ts +1 -1
- package/lib/slider/src/utils.d.ts +3 -3
- package/lib/slider/styles/light.d.ts +2 -2
- package/lib/space/src/Space.d.ts +3 -3
- package/lib/space/styles/light.d.ts +2 -2
- package/lib/spin/src/Spin.d.ts +1 -1
- package/lib/spin/styles/light.d.ts +2 -2
- package/lib/statistic/src/Statistic.d.ts +1 -1
- package/lib/statistic/styles/light.d.ts +2 -2
- package/lib/steps/src/Step.d.ts +1 -1
- package/lib/steps/src/Steps.d.ts +1 -1
- package/lib/steps/styles/light.d.ts +2 -2
- package/lib/switch/src/Switch.d.ts +1 -1
- package/lib/switch/src/interface.d.ts +2 -2
- package/lib/switch/styles/light.d.ts +2 -2
- package/lib/table/src/Table.d.ts +1 -1
- package/lib/table/styles/light.d.ts +2 -2
- package/lib/tabs/src/Tab.d.ts +1 -1
- package/lib/tabs/src/TabPane.d.ts +1 -1
- package/lib/tabs/src/Tabs.d.ts +123 -1
- package/lib/tabs/src/Tabs.js +83 -61
- package/lib/tabs/src/interface.d.ts +8 -8
- package/lib/tabs/src/styles/index.cssr.js +49 -2
- package/lib/tabs/styles/_common.d.ts +12 -0
- package/lib/tabs/styles/_common.js +12 -0
- package/lib/tabs/styles/light.d.ts +14 -2
- package/lib/tag/src/Tag.d.ts +1 -1
- package/lib/tag/styles/light.d.ts +2 -2
- package/lib/themes/interface.d.ts +1 -1
- package/lib/themes/utils.d.ts +2 -2
- package/lib/thing/src/Thing.d.ts +1 -1
- package/lib/thing/styles/light.d.ts +2 -2
- package/lib/time/src/Time.d.ts +1 -1
- package/lib/time-picker/src/TimePicker.d.ts +1 -1
- package/lib/time-picker/src/interface.d.ts +9 -9
- package/lib/time-picker/styles/light.d.ts +2 -2
- package/lib/timeline/src/Timeline.d.ts +1 -1
- package/lib/timeline/src/TimelineItem.d.ts +1 -1
- package/lib/timeline/styles/light.d.ts +2 -2
- package/lib/tooltip/src/Tooltip.d.ts +2 -2
- package/lib/tooltip/styles/light.d.ts +2 -2
- package/lib/transfer/src/Transfer.d.ts +11 -1
- package/lib/transfer/src/TransferFilter.d.ts +1 -0
- package/lib/transfer/src/TransferList.d.ts +1 -0
- package/lib/transfer/src/TransferListItem.d.ts +1 -0
- package/lib/transfer/src/interface.d.ts +6 -6
- package/lib/transfer/styles/light.d.ts +3 -2
- package/lib/tree/src/Tree.d.ts +24 -12
- package/lib/tree/src/Tree.js +36 -34
- package/lib/tree/src/TreeNode.js +4 -2
- package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -0
- package/lib/tree/src/interface.d.ts +16 -16
- package/lib/tree/styles/light.d.ts +3 -2
- package/lib/tree-select/src/TreeSelect.d.ts +22 -5
- package/lib/tree-select/src/TreeSelect.js +1 -1
- package/lib/tree-select/src/interface.d.ts +12 -12
- package/lib/tree-select/styles/light.d.ts +3 -2
- package/lib/typography/src/a.d.ts +1 -1
- package/lib/typography/src/blockquote.d.ts +1 -1
- package/lib/typography/src/create-header.d.ts +1 -1
- package/lib/typography/src/ol.d.ts +1 -1
- package/lib/typography/src/p.d.ts +1 -1
- package/lib/typography/src/text.d.ts +1 -1
- package/lib/typography/src/ul.d.ts +1 -1
- package/lib/typography/styles/light.d.ts +2 -2
- package/lib/upload/src/Upload.d.ts +1 -1
- package/lib/upload/src/Upload.js +2 -4
- package/lib/upload/src/interface.d.ts +16 -16
- package/lib/upload/src/utils.js +7 -9
- package/lib/upload/styles/light.d.ts +2 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/watermark/src/Watermark.d.ts +1 -1
- package/lib/watermark/styles/light.d.ts +1 -1
- package/package.json +13 -13
- package/web-types.json +80 -14
package/lib/card/src/Card.d.ts
CHANGED
|
@@ -24,15 +24,16 @@ export declare const cardBaseProps: {
|
|
|
24
24
|
readonly type: BooleanConstructor;
|
|
25
25
|
readonly default: boolean;
|
|
26
26
|
};
|
|
27
|
-
readonly closable:
|
|
28
|
-
readonly type: BooleanConstructor;
|
|
29
|
-
readonly default: boolean;
|
|
30
|
-
};
|
|
27
|
+
readonly closable: BooleanConstructor;
|
|
31
28
|
readonly hoverable: BooleanConstructor;
|
|
32
29
|
readonly role: StringConstructor;
|
|
33
30
|
readonly onClose: PropType<MaybeArray<() => void>>;
|
|
31
|
+
readonly tag: {
|
|
32
|
+
readonly type: PropType<keyof HTMLElementTagNameMap>;
|
|
33
|
+
readonly default: "div";
|
|
34
|
+
};
|
|
34
35
|
};
|
|
35
|
-
export declare const cardBasePropKeys: ("size" | "title" | "role" | "bordered" | "closable" | "contentStyle" | "onClose" | "headerStyle" | "footerStyle" | "hoverable" | "embedded" | "headerExtraStyle" | "segmented")[];
|
|
36
|
+
export declare const cardBasePropKeys: ("tag" | "size" | "title" | "role" | "bordered" | "closable" | "contentStyle" | "onClose" | "headerStyle" | "footerStyle" | "hoverable" | "embedded" | "headerExtraStyle" | "segmented")[];
|
|
36
37
|
export declare const cardProps: {
|
|
37
38
|
title: StringConstructor;
|
|
38
39
|
contentStyle: PropType<string | CSSProperties>;
|
|
@@ -52,13 +53,14 @@ export declare const cardProps: {
|
|
|
52
53
|
readonly type: BooleanConstructor;
|
|
53
54
|
readonly default: boolean;
|
|
54
55
|
};
|
|
55
|
-
closable:
|
|
56
|
-
readonly type: BooleanConstructor;
|
|
57
|
-
readonly default: boolean;
|
|
58
|
-
};
|
|
56
|
+
closable: BooleanConstructor;
|
|
59
57
|
hoverable: BooleanConstructor;
|
|
60
58
|
role: StringConstructor;
|
|
61
59
|
onClose: PropType<MaybeArray<() => void>>;
|
|
60
|
+
tag: {
|
|
61
|
+
readonly type: PropType<keyof HTMLElementTagNameMap>;
|
|
62
|
+
readonly default: "div";
|
|
63
|
+
};
|
|
62
64
|
theme: PropType<import("../../_mixins").Theme<"Card", {
|
|
63
65
|
lineHeight: string;
|
|
64
66
|
color: string;
|
|
@@ -171,7 +173,7 @@ export declare const cardProps: {
|
|
|
171
173
|
closeSize: string;
|
|
172
174
|
}, any>>>;
|
|
173
175
|
};
|
|
174
|
-
export
|
|
176
|
+
export type CardProps = ExtractPublicPropTypes<typeof cardProps>;
|
|
175
177
|
declare const _default: import("vue").DefineComponent<{
|
|
176
178
|
title: StringConstructor;
|
|
177
179
|
contentStyle: PropType<string | CSSProperties>;
|
|
@@ -191,13 +193,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
191
193
|
readonly type: BooleanConstructor;
|
|
192
194
|
readonly default: boolean;
|
|
193
195
|
};
|
|
194
|
-
closable:
|
|
195
|
-
readonly type: BooleanConstructor;
|
|
196
|
-
readonly default: boolean;
|
|
197
|
-
};
|
|
196
|
+
closable: BooleanConstructor;
|
|
198
197
|
hoverable: BooleanConstructor;
|
|
199
198
|
role: StringConstructor;
|
|
200
199
|
onClose: PropType<MaybeArray<() => void>>;
|
|
200
|
+
tag: {
|
|
201
|
+
readonly type: PropType<keyof HTMLElementTagNameMap>;
|
|
202
|
+
readonly default: "div";
|
|
203
|
+
};
|
|
201
204
|
theme: PropType<import("../../_mixins").Theme<"Card", {
|
|
202
205
|
lineHeight: string;
|
|
203
206
|
color: string;
|
|
@@ -513,13 +516,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
513
516
|
readonly type: BooleanConstructor;
|
|
514
517
|
readonly default: boolean;
|
|
515
518
|
};
|
|
516
|
-
closable:
|
|
517
|
-
readonly type: BooleanConstructor;
|
|
518
|
-
readonly default: boolean;
|
|
519
|
-
};
|
|
519
|
+
closable: BooleanConstructor;
|
|
520
520
|
hoverable: BooleanConstructor;
|
|
521
521
|
role: StringConstructor;
|
|
522
522
|
onClose: PropType<MaybeArray<() => void>>;
|
|
523
|
+
tag: {
|
|
524
|
+
readonly type: PropType<keyof HTMLElementTagNameMap>;
|
|
525
|
+
readonly default: "div";
|
|
526
|
+
};
|
|
523
527
|
theme: PropType<import("../../_mixins").Theme<"Card", {
|
|
524
528
|
lineHeight: string;
|
|
525
529
|
color: string;
|
|
@@ -632,6 +636,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
632
636
|
closeSize: string;
|
|
633
637
|
}, any>>>;
|
|
634
638
|
}>>, {
|
|
639
|
+
tag: keyof HTMLElementTagNameMap;
|
|
635
640
|
size: "small" | "medium" | "large" | "huge";
|
|
636
641
|
bordered: boolean;
|
|
637
642
|
closable: boolean;
|
package/lib/card/src/Card.js
CHANGED
|
@@ -31,13 +31,14 @@ exports.cardBaseProps = {
|
|
|
31
31
|
type: Boolean,
|
|
32
32
|
default: true
|
|
33
33
|
},
|
|
34
|
-
closable:
|
|
35
|
-
type: Boolean,
|
|
36
|
-
default: false
|
|
37
|
-
},
|
|
34
|
+
closable: Boolean,
|
|
38
35
|
hoverable: Boolean,
|
|
39
36
|
role: String,
|
|
40
|
-
onClose: [Function, Array]
|
|
37
|
+
onClose: [Function, Array],
|
|
38
|
+
tag: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: 'div'
|
|
41
|
+
}
|
|
41
42
|
};
|
|
42
43
|
exports.cardBasePropKeys = (0, _utils_1.keysOf)(exports.cardBaseProps);
|
|
43
44
|
exports.cardProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), exports.cardBaseProps);
|
|
@@ -106,9 +107,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
106
107
|
};
|
|
107
108
|
},
|
|
108
109
|
render() {
|
|
109
|
-
const { segmented, bordered, hoverable, mergedClsPrefix, rtlEnabled, onRender, embedded, $slots } = this;
|
|
110
|
+
const { segmented, bordered, hoverable, mergedClsPrefix, rtlEnabled, onRender, embedded, tag: Component, $slots } = this;
|
|
110
111
|
onRender === null || onRender === void 0 ? void 0 : onRender();
|
|
111
|
-
return ((0, vue_1.h)(
|
|
112
|
+
return ((0, vue_1.h)(Component, { class: [
|
|
112
113
|
`${mergedClsPrefix}-card`,
|
|
113
114
|
this.themeClass,
|
|
114
115
|
embedded && `${mergedClsPrefix}-card--embedded`,
|
|
@@ -37,7 +37,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
37
37
|
closeIconSize: string;
|
|
38
38
|
closeSize: string;
|
|
39
39
|
};
|
|
40
|
-
export
|
|
40
|
+
export type CardThemeVars = ReturnType<typeof self>;
|
|
41
41
|
declare const cardLight: Theme<'Card', CardThemeVars>;
|
|
42
42
|
export default cardLight;
|
|
43
|
-
export
|
|
43
|
+
export type CardTheme = typeof cardLight;
|
|
@@ -2,7 +2,7 @@ import type { CSSProperties, PropType, Ref, TransitionProps, VNode } from 'vue';
|
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
import type { ArrowScopedSlotProps, DotScopedSlotProps, Size } from './interface';
|
|
4
4
|
declare const transitionProperties: readonly ["transitionDuration", "transitionTimingFunction"];
|
|
5
|
-
|
|
5
|
+
type TransitionStyle = Partial<Pick<CSSProperties, typeof transitionProperties[number]>>;
|
|
6
6
|
export declare const carouselProps: {
|
|
7
7
|
defaultIndex: {
|
|
8
8
|
type: NumberConstructor;
|
|
@@ -96,7 +96,7 @@ export declare const carouselProps: {
|
|
|
96
96
|
arrowColor: string;
|
|
97
97
|
}, any>>>;
|
|
98
98
|
};
|
|
99
|
-
export
|
|
99
|
+
export type CarouselProps = ExtractPublicPropTypes<typeof carouselProps>;
|
|
100
100
|
declare const _default: import("vue").DefineComponent<{
|
|
101
101
|
defaultIndex: {
|
|
102
102
|
type: NumberConstructor;
|
|
@@ -19,7 +19,7 @@ declare const carouselDotsProps: {
|
|
|
19
19
|
};
|
|
20
20
|
keyboard: BooleanConstructor;
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export type CarouselDotsProps = ExtractPublicPropTypes<typeof carouselDotsProps>;
|
|
23
23
|
declare const _default: import("vue").DefineComponent<{
|
|
24
24
|
total: {
|
|
25
25
|
type: NumberConstructor;
|
|
@@ -9,7 +9,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
9
9
|
dotLineWidthActive: string;
|
|
10
10
|
arrowColor: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type CarouselThemeVars = ReturnType<typeof self>;
|
|
13
13
|
declare const carouselLight: Theme<'Carousel', CarouselThemeVars>;
|
|
14
14
|
export default carouselLight;
|
|
15
|
-
export
|
|
15
|
+
export type CarouselTheme = typeof carouselLight;
|
|
@@ -272,6 +272,7 @@ export declare const cascaderProps: {
|
|
|
272
272
|
sizeMedium: string;
|
|
273
273
|
sizeLarge: string;
|
|
274
274
|
labelPadding: string;
|
|
275
|
+
labelFontWeight: string;
|
|
275
276
|
}, any>;
|
|
276
277
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
277
278
|
fontSizeSmall: string;
|
|
@@ -458,6 +459,7 @@ export declare const cascaderProps: {
|
|
|
458
459
|
sizeMedium: string;
|
|
459
460
|
sizeLarge: string;
|
|
460
461
|
labelPadding: string;
|
|
462
|
+
labelFontWeight: string;
|
|
461
463
|
}, any>;
|
|
462
464
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
463
465
|
fontSizeSmall: string;
|
|
@@ -644,6 +646,7 @@ export declare const cascaderProps: {
|
|
|
644
646
|
sizeMedium: string;
|
|
645
647
|
sizeLarge: string;
|
|
646
648
|
labelPadding: string;
|
|
649
|
+
labelFontWeight: string;
|
|
647
650
|
}, any>;
|
|
648
651
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
649
652
|
fontSizeSmall: string;
|
|
@@ -660,7 +663,7 @@ export declare const cascaderProps: {
|
|
|
660
663
|
}, any>;
|
|
661
664
|
}>>>;
|
|
662
665
|
};
|
|
663
|
-
export
|
|
666
|
+
export type CascaderProps = ExtractPublicPropTypes<typeof cascaderProps>;
|
|
664
667
|
declare const _default: import("vue").DefineComponent<{
|
|
665
668
|
readonly allowCheckingNotLoaded: BooleanConstructor;
|
|
666
669
|
readonly to: {
|
|
@@ -928,6 +931,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
928
931
|
sizeMedium: string;
|
|
929
932
|
sizeLarge: string;
|
|
930
933
|
labelPadding: string;
|
|
934
|
+
labelFontWeight: string;
|
|
931
935
|
}, any>;
|
|
932
936
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
933
937
|
fontSizeSmall: string;
|
|
@@ -1114,6 +1118,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1114
1118
|
sizeMedium: string;
|
|
1115
1119
|
sizeLarge: string;
|
|
1116
1120
|
labelPadding: string;
|
|
1121
|
+
labelFontWeight: string;
|
|
1117
1122
|
}, any>;
|
|
1118
1123
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1119
1124
|
fontSizeSmall: string;
|
|
@@ -1300,6 +1305,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1300
1305
|
sizeMedium: string;
|
|
1301
1306
|
sizeLarge: string;
|
|
1302
1307
|
labelPadding: string;
|
|
1308
|
+
labelFontWeight: string;
|
|
1303
1309
|
}, any>;
|
|
1304
1310
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1305
1311
|
fontSizeSmall: string;
|
|
@@ -1654,6 +1660,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1654
1660
|
sizeMedium: string;
|
|
1655
1661
|
sizeLarge: string;
|
|
1656
1662
|
labelPadding: string;
|
|
1663
|
+
labelFontWeight: string;
|
|
1657
1664
|
}, any>;
|
|
1658
1665
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1659
1666
|
fontSizeSmall: string;
|
|
@@ -2024,6 +2031,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2024
2031
|
sizeMedium: string;
|
|
2025
2032
|
sizeLarge: string;
|
|
2026
2033
|
labelPadding: string;
|
|
2034
|
+
labelFontWeight: string;
|
|
2027
2035
|
}, any>;
|
|
2028
2036
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
2029
2037
|
fontSizeSmall: string;
|
|
@@ -2210,6 +2218,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2210
2218
|
sizeMedium: string;
|
|
2211
2219
|
sizeLarge: string;
|
|
2212
2220
|
labelPadding: string;
|
|
2221
|
+
labelFontWeight: string;
|
|
2213
2222
|
}, any>;
|
|
2214
2223
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
2215
2224
|
fontSizeSmall: string;
|
|
@@ -2396,6 +2405,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2396
2405
|
sizeMedium: string;
|
|
2397
2406
|
sizeLarge: string;
|
|
2398
2407
|
labelPadding: string;
|
|
2408
|
+
labelFontWeight: string;
|
|
2399
2409
|
}, any>;
|
|
2400
2410
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
2401
2411
|
fontSizeSmall: string;
|
|
@@ -3,9 +3,9 @@ import type { MergedTheme } from '../../_mixins';
|
|
|
3
3
|
import type { NLocale } from '../../locales';
|
|
4
4
|
import type { CascaderTheme } from '../styles';
|
|
5
5
|
import { Ref, Slots, VNodeChild } from 'vue';
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
6
|
+
export type ValueAtom = string | number;
|
|
7
|
+
export type Value = ValueAtom | ValueAtom[];
|
|
8
|
+
export type Key = ValueAtom;
|
|
9
9
|
export interface CascaderOption {
|
|
10
10
|
label?: string;
|
|
11
11
|
value?: ValueAtom;
|
|
@@ -13,13 +13,13 @@ export interface CascaderOption {
|
|
|
13
13
|
children?: CascaderOption[];
|
|
14
14
|
[key: string]: unknown;
|
|
15
15
|
}
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
16
|
+
export type ExpandTrigger = 'hover' | 'click';
|
|
17
|
+
export type TmNode = TreeNode<CascaderOption>;
|
|
18
|
+
export type Filter = (pattern: string, option: CascaderOption, path: CascaderOption[]) => boolean;
|
|
19
|
+
export type OnLoad = (option: CascaderOption) => Promise<void>;
|
|
20
|
+
export type OnUpdateValue = (value: string & number & string[] & number[] & Array<string | number> & (string | null) & (number | null) & (string[] | null) & (number[] | null) & (Array<string | number> | null), option: null & CascaderOption & CascaderOption[] & Array<CascaderOption | null>, path: null & CascaderOption[] & Array<CascaderOption[] | null>) => void;
|
|
21
|
+
export type OnUpdateValueImpl = (value: Value | null, option: CascaderOption | null | Array<CascaderOption | null>, path: Array<CascaderOption[] | null> | CascaderOption[] | null) => void;
|
|
22
|
+
export type MenuModel = TmNode[][];
|
|
23
23
|
export interface CascaderInjection {
|
|
24
24
|
slots: Slots;
|
|
25
25
|
mergedClsPrefixRef: Ref<string>;
|
|
@@ -64,7 +64,7 @@ export interface CascaderMenuExposedMethods {
|
|
|
64
64
|
scroll: (depth: number, index: number, elSize: number) => void;
|
|
65
65
|
showErrorMessage: (label: string) => void;
|
|
66
66
|
}
|
|
67
|
-
export
|
|
67
|
+
export type CascaderMenuInstance = {
|
|
68
68
|
$el: HTMLElement;
|
|
69
69
|
} & CascaderMenuExposedMethods;
|
|
70
70
|
export interface SelectMenuInstance {
|
|
@@ -16,7 +16,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
16
16
|
loadingColor: string;
|
|
17
17
|
columnWidth: string;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type CascaderThemeVars = ReturnType<typeof self>;
|
|
20
20
|
declare const cascaderLight: import("../../_mixins").Theme<"Cascader", {
|
|
21
21
|
menuBorderRadius: string;
|
|
22
22
|
menuColor: string;
|
|
@@ -188,6 +188,7 @@ declare const cascaderLight: import("../../_mixins").Theme<"Cascader", {
|
|
|
188
188
|
sizeMedium: string;
|
|
189
189
|
sizeLarge: string;
|
|
190
190
|
labelPadding: string;
|
|
191
|
+
labelFontWeight: string;
|
|
191
192
|
}, any>;
|
|
192
193
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
193
194
|
fontSizeSmall: string;
|
|
@@ -204,4 +205,4 @@ declare const cascaderLight: import("../../_mixins").Theme<"Cascader", {
|
|
|
204
205
|
}, any>;
|
|
205
206
|
}>;
|
|
206
207
|
export default cascaderLight;
|
|
207
|
-
export
|
|
208
|
+
export type CascaderTheme = typeof cascaderLight;
|
|
@@ -62,6 +62,7 @@ export declare const checkboxProps: {
|
|
|
62
62
|
sizeMedium: string;
|
|
63
63
|
sizeLarge: string;
|
|
64
64
|
labelPadding: string;
|
|
65
|
+
labelFontWeight: string;
|
|
65
66
|
}, any>>;
|
|
66
67
|
themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Checkbox", {
|
|
67
68
|
labelLineHeight: string;
|
|
@@ -91,6 +92,7 @@ export declare const checkboxProps: {
|
|
|
91
92
|
sizeMedium: string;
|
|
92
93
|
sizeLarge: string;
|
|
93
94
|
labelPadding: string;
|
|
95
|
+
labelFontWeight: string;
|
|
94
96
|
}, any>>>;
|
|
95
97
|
builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Checkbox", {
|
|
96
98
|
labelLineHeight: string;
|
|
@@ -120,9 +122,10 @@ export declare const checkboxProps: {
|
|
|
120
122
|
sizeMedium: string;
|
|
121
123
|
sizeLarge: string;
|
|
122
124
|
labelPadding: string;
|
|
125
|
+
labelFontWeight: string;
|
|
123
126
|
}, any>>>;
|
|
124
127
|
};
|
|
125
|
-
export
|
|
128
|
+
export type CheckboxProps = ExtractPublicPropTypes<typeof checkboxProps>;
|
|
126
129
|
declare const _default: import("vue").DefineComponent<{
|
|
127
130
|
size: PropType<"small" | "medium" | "large">;
|
|
128
131
|
checked: {
|
|
@@ -184,6 +187,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
184
187
|
sizeMedium: string;
|
|
185
188
|
sizeLarge: string;
|
|
186
189
|
labelPadding: string;
|
|
190
|
+
labelFontWeight: string;
|
|
187
191
|
}, any>>;
|
|
188
192
|
themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Checkbox", {
|
|
189
193
|
labelLineHeight: string;
|
|
@@ -213,6 +217,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
213
217
|
sizeMedium: string;
|
|
214
218
|
sizeLarge: string;
|
|
215
219
|
labelPadding: string;
|
|
220
|
+
labelFontWeight: string;
|
|
216
221
|
}, any>>>;
|
|
217
222
|
builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Checkbox", {
|
|
218
223
|
labelLineHeight: string;
|
|
@@ -242,6 +247,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
242
247
|
sizeMedium: string;
|
|
243
248
|
sizeLarge: string;
|
|
244
249
|
labelPadding: string;
|
|
250
|
+
labelFontWeight: string;
|
|
245
251
|
}, any>>>;
|
|
246
252
|
}, import("../../_mixins/use-form-item").UseFormItem<"small" | "medium" | "large"> & CheckboxInst & {
|
|
247
253
|
rtlEnabled: import("vue").Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
|
|
@@ -383,6 +389,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
383
389
|
sizeMedium: string;
|
|
384
390
|
sizeLarge: string;
|
|
385
391
|
labelPadding: string;
|
|
392
|
+
labelFontWeight: string;
|
|
386
393
|
};
|
|
387
394
|
peers: any;
|
|
388
395
|
peerOverrides: {
|
|
@@ -395,6 +402,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
395
402
|
handleKeyDown: (e: KeyboardEvent) => void;
|
|
396
403
|
cssVars: import("vue").ComputedRef<{
|
|
397
404
|
'--n-label-line-height': string;
|
|
405
|
+
'--n-label-font-weight': string;
|
|
398
406
|
'--n-size': string;
|
|
399
407
|
'--n-bezier': string;
|
|
400
408
|
'--n-border-radius': string;
|
|
@@ -482,6 +490,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
482
490
|
sizeMedium: string;
|
|
483
491
|
sizeLarge: string;
|
|
484
492
|
labelPadding: string;
|
|
493
|
+
labelFontWeight: string;
|
|
485
494
|
}, any>>;
|
|
486
495
|
themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Checkbox", {
|
|
487
496
|
labelLineHeight: string;
|
|
@@ -511,6 +520,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
511
520
|
sizeMedium: string;
|
|
512
521
|
sizeLarge: string;
|
|
513
522
|
labelPadding: string;
|
|
523
|
+
labelFontWeight: string;
|
|
514
524
|
}, any>>>;
|
|
515
525
|
builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Checkbox", {
|
|
516
526
|
labelLineHeight: string;
|
|
@@ -540,6 +550,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
540
550
|
sizeMedium: string;
|
|
541
551
|
sizeLarge: string;
|
|
542
552
|
labelPadding: string;
|
|
553
|
+
labelFontWeight: string;
|
|
543
554
|
}, any>>>;
|
|
544
555
|
}>>, {
|
|
545
556
|
disabled: boolean | undefined;
|
|
@@ -171,9 +171,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
171
171
|
const rtlEnabledRef = (0, use_rtl_1.useRtl)('Checkbox', mergedRtlRef, mergedClsPrefixRef);
|
|
172
172
|
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
173
173
|
const { value: mergedSize } = mergedSizeRef;
|
|
174
|
-
const { common: { cubicBezierEaseInOut }, self: { borderRadius, color, colorChecked, colorDisabled, colorTableHeader, colorTableHeaderModal, colorTableHeaderPopover, checkMarkColor, checkMarkColorDisabled, border, borderFocus, borderDisabled, borderChecked, boxShadowFocus, textColor, textColorDisabled, checkMarkColorDisabledChecked, colorDisabledChecked, borderDisabledChecked, labelPadding, labelLineHeight, [(0, _utils_1.createKey)('fontSize', mergedSize)]: fontSize, [(0, _utils_1.createKey)('size', mergedSize)]: size } } = themeRef.value;
|
|
174
|
+
const { common: { cubicBezierEaseInOut }, self: { borderRadius, color, colorChecked, colorDisabled, colorTableHeader, colorTableHeaderModal, colorTableHeaderPopover, checkMarkColor, checkMarkColorDisabled, border, borderFocus, borderDisabled, borderChecked, boxShadowFocus, textColor, textColorDisabled, checkMarkColorDisabledChecked, colorDisabledChecked, borderDisabledChecked, labelPadding, labelLineHeight, labelFontWeight, [(0, _utils_1.createKey)('fontSize', mergedSize)]: fontSize, [(0, _utils_1.createKey)('size', mergedSize)]: size } } = themeRef.value;
|
|
175
175
|
return {
|
|
176
176
|
'--n-label-line-height': labelLineHeight,
|
|
177
|
+
'--n-label-font-weight': labelFontWeight,
|
|
177
178
|
'--n-size': size,
|
|
178
179
|
'--n-bezier': cubicBezierEaseInOut,
|
|
179
180
|
'--n-border-radius': borderRadius,
|
|
@@ -34,7 +34,7 @@ export declare const checkboxGroupProps: {
|
|
|
34
34
|
}) => void>>;
|
|
35
35
|
readonly onChange: PropType<MaybeArray<(value: Array<string | number>) => void> | undefined>;
|
|
36
36
|
};
|
|
37
|
-
export
|
|
37
|
+
export type CheckboxGroupProps = ExtractPublicPropTypes<typeof checkboxGroupProps>;
|
|
38
38
|
declare const _default: import("vue").DefineComponent<{
|
|
39
39
|
readonly min: NumberConstructor;
|
|
40
40
|
readonly max: NumberConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type OnUpdateChecked = (value: string & number & boolean, e: MouseEvent | KeyboardEvent) => void;
|
|
2
|
+
export type OnUpdateCheckedImpl = (value: string | number | boolean, e: MouseEvent | KeyboardEvent) => void;
|
|
3
3
|
export interface CheckboxInst {
|
|
4
4
|
focus: () => void;
|
|
5
5
|
blur: () => void;
|
|
@@ -143,6 +143,7 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('checkbox', `
|
|
|
143
143
|
user-select: none;
|
|
144
144
|
-webkit-user-select: none;
|
|
145
145
|
padding: var(--n-label-padding);
|
|
146
|
+
font-weight: var(--n-label-font-weight);
|
|
146
147
|
`, [(0, cssr_1.c)('&:empty', {
|
|
147
148
|
display: 'none'
|
|
148
149
|
})])]),
|
|
@@ -28,8 +28,9 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
28
28
|
sizeMedium: string;
|
|
29
29
|
sizeLarge: string;
|
|
30
30
|
labelPadding: string;
|
|
31
|
+
labelFontWeight: string;
|
|
31
32
|
};
|
|
32
|
-
export
|
|
33
|
+
export type CheckboxThemeVars = ReturnType<typeof self>;
|
|
33
34
|
declare const checkboxLight: Theme<'Checkbox', CheckboxThemeVars>;
|
|
34
35
|
export default checkboxLight;
|
|
35
|
-
export
|
|
36
|
+
export type CheckboxTheme = typeof checkboxLight;
|
package/lib/code/src/Code.d.ts
CHANGED
|
@@ -64,7 +64,7 @@ export declare const codeProps: {
|
|
|
64
64
|
lineNumberTextColor: string;
|
|
65
65
|
}, any>>>;
|
|
66
66
|
};
|
|
67
|
-
export
|
|
67
|
+
export type CodeProps = ExtractPublicPropTypes<typeof codeProps>;
|
|
68
68
|
declare const _default: import("vue").DefineComponent<{
|
|
69
69
|
language: StringConstructor;
|
|
70
70
|
code: {
|
|
@@ -15,7 +15,7 @@ declare const self: (vars: ThemeCommonVars) => {
|
|
|
15
15
|
'hue-6-2': string;
|
|
16
16
|
lineNumberTextColor: string;
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type CodeThemeVars = ReturnType<typeof self>;
|
|
19
19
|
declare const codeLight: Theme<'Code', CodeThemeVars>;
|
|
20
20
|
export default codeLight;
|
|
21
|
-
export
|
|
21
|
+
export type CodeTheme = typeof codeLight;
|
|
@@ -65,7 +65,7 @@ export declare const collapseProps: {
|
|
|
65
65
|
itemMargin: string;
|
|
66
66
|
}, any>>>;
|
|
67
67
|
};
|
|
68
|
-
export
|
|
68
|
+
export type CollapseProps = ExtractPublicPropTypes<typeof collapseProps>;
|
|
69
69
|
export interface NCollapseInjection {
|
|
70
70
|
props: ExtractPropTypes<typeof collapseProps>;
|
|
71
71
|
expandedNamesRef: Ref<string | number | Array<string | number> | null>;
|
|
@@ -6,7 +6,7 @@ export declare const collapseItemProps: {
|
|
|
6
6
|
readonly disabled: BooleanConstructor;
|
|
7
7
|
readonly displayDirective: PropType<"show" | "if">;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type CollapseItemProps = ExtractPublicPropTypes<typeof collapseItemProps>;
|
|
10
10
|
declare const _default: import("vue").DefineComponent<{
|
|
11
11
|
readonly title: StringConstructor;
|
|
12
12
|
readonly name: PropType<string | number>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export type OnUpdateExpandedNames = <T extends string[] & number[] & Array<string | number> & (string | number | null) & (string | null) & (number | null)>(value: T) => void;
|
|
2
|
+
export type OnUpdateExpandedNamesImpl = <T extends string[] | number[] | Array<string | number> | (string | number | null) | (string | null) | (number | null)>(value: T) => void;
|
|
3
|
+
export type OnItemHeaderClick = <T extends string & number & (string | number)>(info: HeaderClickInfo<T>) => void;
|
|
4
|
+
export type OnItemHeaderClickImpl = <T extends string | number | (string | number)>(info: HeaderClickInfo<T>) => void;
|
|
5
5
|
export interface HeaderClickInfo<T> {
|
|
6
6
|
name: T;
|
|
7
7
|
expanded: boolean;
|
|
@@ -12,7 +12,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
12
12
|
arrowColorDisabled: string;
|
|
13
13
|
itemMargin: string;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type CollapseThemeVars = ReturnType<typeof self>;
|
|
16
16
|
declare const collapseLight: Theme<'Collapse', CollapseThemeVars>;
|
|
17
17
|
export default collapseLight;
|
|
18
|
-
export
|
|
18
|
+
export type CollapseTheme = typeof collapseLight;
|
|
@@ -21,7 +21,7 @@ export declare const collapseTransitionProps: {
|
|
|
21
21
|
bezier: string;
|
|
22
22
|
}, any>>>;
|
|
23
23
|
};
|
|
24
|
-
export
|
|
24
|
+
export type CollapseTransitionProps = ExtractPublicPropTypes<typeof collapseTransitionProps>;
|
|
25
25
|
declare const _default: import("vue").DefineComponent<{
|
|
26
26
|
readonly show: {
|
|
27
27
|
readonly type: BooleanConstructor;
|
|
@@ -3,7 +3,7 @@ import { Theme } from '../../_mixins/use-theme';
|
|
|
3
3
|
export declare const self: (vars: ThemeCommonVars) => {
|
|
4
4
|
bezier: string;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type CollapseTransitionThemeVars = ReturnType<typeof self>;
|
|
7
7
|
declare const collapseTransitionLight: Theme<'CollapseTransition', CollapseTransitionThemeVars>;
|
|
8
8
|
export default collapseTransitionLight;
|
|
9
|
-
export
|
|
9
|
+
export type CollapseTransitionTheme = typeof collapseTransitionLight;
|
|
@@ -891,7 +891,7 @@ export declare const colorPickerProps: {
|
|
|
891
891
|
}, any>;
|
|
892
892
|
}>>>;
|
|
893
893
|
};
|
|
894
|
-
export
|
|
894
|
+
export type ColorPickerProps = ExtractPublicPropTypes<typeof colorPickerProps>;
|
|
895
895
|
declare const _default: import("vue").DefineComponent<{
|
|
896
896
|
readonly value: PropType<string | null>;
|
|
897
897
|
readonly show: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VNodeChild } from 'vue';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
2
|
+
export type OnUpdateValue = (value: string & null) => void;
|
|
3
|
+
export type OnConfirm = OnUpdateValue;
|
|
4
|
+
export type OnUpdateValueImpl = (value: string | null) => void;
|
|
5
|
+
export type OnConfirmImpl = OnUpdateValueImpl;
|
|
6
|
+
export type RenderLabel = (value: string | null) => VNodeChild;
|