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
|
@@ -46,7 +46,7 @@ export default defineComponent({
|
|
|
46
46
|
if (process.env.NODE_ENV !== 'production') {
|
|
47
47
|
watchEffect(() => {
|
|
48
48
|
if (props.onChange !== undefined) {
|
|
49
|
-
warnOnce('
|
|
49
|
+
warnOnce('date-picker', '`on-change` is deprecated, please use `on-update:value` instead.');
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
52
|
}
|
|
@@ -238,7 +238,7 @@ export default defineComponent({
|
|
|
238
238
|
return result;
|
|
239
239
|
}
|
|
240
240
|
default: {
|
|
241
|
-
warn('
|
|
241
|
+
warn('date-picker', "The type is wrong, n-date-picker's type only supports `date`, `datetime`, `daterange` and `datetimerange`.");
|
|
242
242
|
break;
|
|
243
243
|
}
|
|
244
244
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const START_YEAR = 1901;
|
|
2
2
|
export declare const MONTH_ITEM_HEIGHT = 40;
|
|
3
|
-
export
|
|
3
|
+
export type DatePickerType = 'date' | 'datetime' | 'daterange' | 'datetimerange' | 'month' | 'year' | 'quarter' | 'monthrange' | 'quarterrange' | 'yearrange';
|
|
@@ -7,34 +7,34 @@ import type { TimePickerProps } from '../../time-picker/src/TimePicker';
|
|
|
7
7
|
import type { MergedTheme } from '../../_mixins';
|
|
8
8
|
import type { DatePickerTheme } from '../styles/light';
|
|
9
9
|
import { uniCalendarValidation, dualCalendarValidation } from './validation-utils';
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
10
|
+
export type Value = number | [number, number];
|
|
11
|
+
export type DefaultTime = string | [string | undefined, string | undefined];
|
|
12
|
+
export type FormattedValue = string | [string, string];
|
|
13
|
+
export type Shortcuts = Record<string, number | (() => number)> | Record<string, [number, number] | readonly [number, number] | (() => [number, number] | readonly [number, number])>;
|
|
14
|
+
export type OnUpdateValue = (value: number & (number | null) & [
|
|
15
15
|
number,
|
|
16
16
|
number
|
|
17
17
|
] & ([number, number] | null), formattedValue: string & (string | null) & [
|
|
18
18
|
string,
|
|
19
19
|
string
|
|
20
20
|
] & ([string, string] | null)) => void;
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
21
|
+
export type OnConfirm = OnUpdateValue;
|
|
22
|
+
export type OnConfirmImpl = OnUpdateValueImpl;
|
|
23
|
+
export type OnUpdateFormattedValue = (value: string & (string | null) & [
|
|
24
24
|
string,
|
|
25
25
|
string
|
|
26
26
|
] & ([string, string] | null), timestampValue: number & (number | null) & [
|
|
27
27
|
number,
|
|
28
28
|
number
|
|
29
29
|
] & ([number, number] | null)) => void;
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
30
|
+
export type OnUpdateFormattedValueImpl = (value: string | [string, string] | null, timestampValue: number | [number, number] | null) => void;
|
|
31
|
+
export type OnUpdateValueImpl = (value: Value | null, formattedValue: string | [string, string] | null) => void;
|
|
32
|
+
export type OnPanelUpdateValue = (value: number & (number | null) & [
|
|
33
33
|
number,
|
|
34
34
|
number
|
|
35
35
|
] & ([number, number] | null), doUpdate: boolean) => void;
|
|
36
|
-
export
|
|
37
|
-
export
|
|
36
|
+
export type OnPanelUpdateValueImpl = (value: Value | null, doUpdate: boolean) => void;
|
|
37
|
+
export type OnClose = (disableUpdateOnClose: boolean) => void;
|
|
38
38
|
export interface RangePanelChildComponentRefs {
|
|
39
39
|
startYearScrollbarRef: Ref<ScrollbarInst | null>;
|
|
40
40
|
endYearScrollbarRef: Ref<ScrollbarInst | null>;
|
|
@@ -51,8 +51,8 @@ export interface PanelChildComponentRefs {
|
|
|
51
51
|
export interface PanelRef extends Partial<UnwrapNestedRefs<PanelChildComponentRefs & RangePanelChildComponentRefs>> {
|
|
52
52
|
$el: HTMLElement;
|
|
53
53
|
}
|
|
54
|
-
export
|
|
55
|
-
export
|
|
54
|
+
export type FirstDayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
55
|
+
export type DatePickerInjection = {
|
|
56
56
|
mergedClsPrefixRef: Ref<string>;
|
|
57
57
|
mergedThemeRef: Ref<MergedTheme<DatePickerTheme>>;
|
|
58
58
|
timePickerSizeRef: Ref<'small' | 'medium' | 'large'>;
|
|
@@ -67,17 +67,17 @@ export declare type DatePickerInjection = {
|
|
|
67
67
|
datePickerSlots: Slots;
|
|
68
68
|
} & ReturnType<typeof uniCalendarValidation> & ReturnType<typeof dualCalendarValidation>;
|
|
69
69
|
export declare const datePickerInjectionKey: import("vue").InjectionKey<DatePickerInjection>;
|
|
70
|
-
export
|
|
71
|
-
export
|
|
72
|
-
export
|
|
70
|
+
export type IsDateDisabled = IsSingleDateDisabled | IsRangeDateDisabled;
|
|
71
|
+
export type IsSingleDateDisabled = (date: number) => boolean;
|
|
72
|
+
export type IsRangeDateDisabled = (date: number, position: 'start' | 'end', value: [number, number] | null) => boolean;
|
|
73
73
|
export interface TimeValidator {
|
|
74
74
|
isHourDisabled?: IsHourDisabled;
|
|
75
75
|
isMinuteDisabled?: IsMinuteDisabled;
|
|
76
76
|
isSecondDisabled?: IsSecondDisabled;
|
|
77
77
|
}
|
|
78
|
-
export
|
|
79
|
-
export
|
|
80
|
-
export
|
|
78
|
+
export type IsTimeDisabled = IsSingleTimeDisabled | IsRangeTimeDisabled;
|
|
79
|
+
export type IsSingleTimeDisabled = (date: number) => TimeValidator;
|
|
80
|
+
export type IsRangeTimeDisabled = (date: number, position: 'start' | 'end', value: [number, number]) => TimeValidator;
|
|
81
81
|
export interface DatePickerInst {
|
|
82
82
|
focus: () => void;
|
|
83
83
|
blur: () => void;
|
|
@@ -25,7 +25,7 @@ declare const usePanelCommonProps: {
|
|
|
25
25
|
readonly onRender: PropType<(() => void) | undefined>;
|
|
26
26
|
readonly panel: BooleanConstructor;
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
type UsePanelCommonProps = ExtractPropTypes<typeof usePanelCommonProps>;
|
|
29
29
|
declare function usePanelCommon(props: UsePanelCommonProps): {
|
|
30
30
|
mergedTheme: import("vue").Ref<{
|
|
31
31
|
common: {
|
|
@@ -62,7 +62,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
62
62
|
calendarRightPaddingQuarterrange: string;
|
|
63
63
|
calendarRightPaddingYearrange: string;
|
|
64
64
|
};
|
|
65
|
-
export
|
|
65
|
+
export type DatePickerThemeVars = ReturnType<typeof self>;
|
|
66
66
|
declare const datePickerLight: import("../../_mixins").Theme<"DatePicker", {
|
|
67
67
|
itemFontSize: string;
|
|
68
68
|
calendarDaysFontSize: string;
|
|
@@ -684,4 +684,4 @@ declare const datePickerLight: import("../../_mixins").Theme<"DatePicker", {
|
|
|
684
684
|
}, any>;
|
|
685
685
|
}>;
|
|
686
686
|
export default datePickerLight;
|
|
687
|
-
export
|
|
687
|
+
export type DatePickerTheme = typeof datePickerLight;
|
|
@@ -123,9 +123,9 @@ export declare const descriptionsProps: {
|
|
|
123
123
|
tdPaddingLarge: string;
|
|
124
124
|
}, any>>>;
|
|
125
125
|
};
|
|
126
|
-
export
|
|
126
|
+
export type DescriptionsProps = ExtractPublicPropTypes<typeof descriptionsProps>;
|
|
127
127
|
/** @deprecated You should use `DescriptionsProps` */
|
|
128
|
-
export
|
|
128
|
+
export type DescriptionProps = DescriptionsProps;
|
|
129
129
|
declare const _default: import("vue").DefineComponent<{
|
|
130
130
|
readonly title: StringConstructor;
|
|
131
131
|
readonly column: {
|
|
@@ -9,7 +9,7 @@ export declare const descriptionsItemProps: {
|
|
|
9
9
|
readonly labelStyle: PropType<string | CSSProperties>;
|
|
10
10
|
readonly contentStyle: PropType<string | CSSProperties>;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type DescriptionItemProps = ExtractPublicPropTypes<typeof descriptionsItemProps>;
|
|
13
13
|
declare const _default: import("vue").DefineComponent<{
|
|
14
14
|
readonly label: StringConstructor;
|
|
15
15
|
readonly span: {
|
|
@@ -32,7 +32,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
32
32
|
tdPaddingMedium: string;
|
|
33
33
|
tdPaddingLarge: string;
|
|
34
34
|
};
|
|
35
|
-
export
|
|
35
|
+
export type DescriptionsThemeVars = ReturnType<typeof self>;
|
|
36
36
|
declare const descriptionsLight: Theme<'Descriptions', DescriptionsThemeVars>;
|
|
37
37
|
export default descriptionsLight;
|
|
38
|
-
export
|
|
38
|
+
export type DescriptionsTheme = typeof descriptionsLight;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType, Ref, CSSProperties } from 'vue';
|
|
2
2
|
import type { ExtractPublicPropTypes, Mutable } from '../../_utils';
|
|
3
3
|
import { exposedDialogEnvProps } from './DialogEnvironment';
|
|
4
|
-
export
|
|
4
|
+
export type DialogOptions = Mutable<Omit<Partial<ExtractPropTypes<typeof exposedDialogEnvProps>>, 'internalStyle'> & {
|
|
5
5
|
class?: any;
|
|
6
6
|
style?: string | CSSProperties;
|
|
7
7
|
}>;
|
|
8
|
-
export
|
|
8
|
+
export type DialogReactive = {
|
|
9
9
|
readonly key: string;
|
|
10
10
|
readonly destroy: () => void;
|
|
11
11
|
} & DialogOptions;
|
|
@@ -24,16 +24,16 @@ export interface DialogProviderInjection {
|
|
|
24
24
|
y: number;
|
|
25
25
|
} | null>;
|
|
26
26
|
}
|
|
27
|
-
export
|
|
27
|
+
export type DialogReactiveListInjection = Ref<DialogReactive[]>;
|
|
28
28
|
interface DialogInst {
|
|
29
29
|
hide: () => void;
|
|
30
30
|
}
|
|
31
|
-
export
|
|
31
|
+
export type DialogProviderInst = DialogApiInjection;
|
|
32
32
|
export declare const dialogProviderProps: {
|
|
33
33
|
injectionKey: StringConstructor;
|
|
34
34
|
to: PropType<string | HTMLElement>;
|
|
35
35
|
};
|
|
36
|
-
export
|
|
36
|
+
export type DialogProviderProps = ExtractPublicPropTypes<typeof dialogProviderProps>;
|
|
37
37
|
export declare const NDialogProvider: import("vue").DefineComponent<{
|
|
38
38
|
injectionKey: StringConstructor;
|
|
39
39
|
to: PropType<string | HTMLElement>;
|
|
@@ -30,6 +30,6 @@ declare const dialogProps: {
|
|
|
30
30
|
readonly onNegativeClick: PropType<(e: MouseEvent) => void>;
|
|
31
31
|
readonly onClose: PropType<() => void>;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type DialogProps = ExtractPublicPropTypes<typeof dialogProps>;
|
|
34
34
|
export { dialogProps };
|
|
35
35
|
export declare const dialogPropKeys: ("type" | "content" | "icon" | "title" | "action" | "positiveText" | "negativeText" | "loading" | "bordered" | "showIcon" | "closable" | "onClose" | "iconPlacement" | "positiveButtonProps" | "negativeButtonProps" | "onPositiveClick" | "onNegativeClick")[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type IconPlacement = 'left' | 'top';
|
|
@@ -31,7 +31,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
31
31
|
closeMargin: string;
|
|
32
32
|
closeMarginIconTop: string;
|
|
33
33
|
};
|
|
34
|
-
export
|
|
34
|
+
export type DialogThemeVars = ReturnType<typeof self>;
|
|
35
35
|
declare const dialogLight: import("../../_mixins").Theme<"Dialog", {
|
|
36
36
|
fontSize: string;
|
|
37
37
|
lineHeight: string;
|
|
@@ -270,4 +270,4 @@ declare const dialogLight: import("../../_mixins").Theme<"Dialog", {
|
|
|
270
270
|
}, any>;
|
|
271
271
|
}>;
|
|
272
272
|
export default dialogLight;
|
|
273
|
-
export
|
|
273
|
+
export type DialogTheme = typeof dialogLight;
|
|
@@ -5,10 +5,10 @@ import { LoadingBarApi } from '../../loading-bar';
|
|
|
5
5
|
import { MessageApi } from '../../message';
|
|
6
6
|
import { NotificationApi } from '../../notification';
|
|
7
7
|
import { DiscreteApiType, MaybeRef } from './interface';
|
|
8
|
-
export
|
|
8
|
+
export type Provider<P = any> = new (...args: any[]) => {
|
|
9
9
|
$props: P;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type ProviderProps<C> = C extends Provider<infer P> ? P : unknown;
|
|
12
12
|
export interface DiscreteAppOptions {
|
|
13
13
|
providersAndProps: Array<{
|
|
14
14
|
type: DiscreteApiType;
|
|
@@ -4,7 +4,7 @@ import { DialogApi, DialogProviderProps } from '../../dialog';
|
|
|
4
4
|
import { LoadingBarApi, LoadingBarProviderProps } from '../../loading-bar';
|
|
5
5
|
import { MessageApi, MessageProviderProps } from '../../message';
|
|
6
6
|
import { NotificationApi, NotificationProviderProps } from '../../notification';
|
|
7
|
-
export
|
|
7
|
+
export type MaybeRef<T> = Ref<T> | T;
|
|
8
8
|
export interface DiscreteApiOptions {
|
|
9
9
|
configProviderProps?: MaybeRef<ConfigProviderProps>;
|
|
10
10
|
messageProviderProps?: MaybeRef<MessageProviderProps>;
|
|
@@ -12,8 +12,8 @@ export interface DiscreteApiOptions {
|
|
|
12
12
|
notificationProviderProps?: MaybeRef<NotificationProviderProps>;
|
|
13
13
|
loadingBarProviderProps?: MaybeRef<LoadingBarProviderProps>;
|
|
14
14
|
}
|
|
15
|
-
export
|
|
16
|
-
export
|
|
15
|
+
export type DiscreteApiType = 'message' | 'notification' | 'loadingBar' | 'dialog';
|
|
16
|
+
export type DiscreteApi<T extends DiscreteApiType = DiscreteApiType> = {
|
|
17
17
|
unmount: () => void;
|
|
18
18
|
app: App;
|
|
19
19
|
} & ('message' extends T ? {
|
|
@@ -23,7 +23,7 @@ export declare const dividerProps: {
|
|
|
23
23
|
fontWeight: string;
|
|
24
24
|
}, any>>>;
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export type DividerProps = ExtractPublicPropTypes<typeof dividerProps>;
|
|
27
27
|
declare const _default: import("vue").DefineComponent<{
|
|
28
28
|
readonly titlePlacement: {
|
|
29
29
|
readonly type: PropType<"left" | "right" | "center">;
|
|
@@ -5,7 +5,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
5
5
|
color: string;
|
|
6
6
|
fontWeight: string;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type DividerThemeVars = ReturnType<typeof self>;
|
|
9
9
|
declare const dividerLight: Theme<'Divider', DividerThemeVars>;
|
|
10
10
|
export default dividerLight;
|
|
11
|
-
export
|
|
11
|
+
export type DividerTheme = typeof dividerLight;
|
|
@@ -156,7 +156,7 @@ export declare const drawerProps: {
|
|
|
156
156
|
}, any>;
|
|
157
157
|
}>>>;
|
|
158
158
|
};
|
|
159
|
-
export
|
|
159
|
+
export type DrawerProps = ExtractPublicPropTypes<typeof drawerProps>;
|
|
160
160
|
declare const _default: import("vue").DefineComponent<{
|
|
161
161
|
readonly show: BooleanConstructor;
|
|
162
162
|
readonly width: PropType<string | number>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType, CSSProperties, DirectiveArguments } from 'vue';
|
|
2
2
|
import type { ScrollbarProps } from '../../_internal';
|
|
3
|
-
export
|
|
3
|
+
export type Placement = 'left' | 'right' | 'top' | 'bottom';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
blockScroll: BooleanConstructor;
|
|
6
6
|
show: {
|
|
@@ -16,7 +16,7 @@ export declare const drawerContentProps: {
|
|
|
16
16
|
scrollbarProps: PropType<ScrollbarProps>;
|
|
17
17
|
closable: BooleanConstructor;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type DrawerContentProps = ExtractPublicPropTypes<typeof drawerContentProps>;
|
|
20
20
|
declare const _default: import("vue").DefineComponent<{
|
|
21
21
|
title: {
|
|
22
22
|
type: StringConstructor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import type { MergedTheme } from '../../_mixins';
|
|
3
3
|
import type { DrawerTheme } from '../styles';
|
|
4
|
-
export
|
|
4
|
+
export type DrawerBodyInjection = Ref<HTMLElement | null> | null;
|
|
5
5
|
export declare const drawerBodyInjectionKey: import("vue").InjectionKey<DrawerBodyInjection>;
|
|
6
6
|
export interface DrawerInjection {
|
|
7
7
|
isMountedRef: Ref<boolean>;
|
|
@@ -22,7 +22,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
22
22
|
closeBorderRadius: string;
|
|
23
23
|
resizableTriggerColorHover: string;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type DrawerThemeVars = ReturnType<typeof self>;
|
|
26
26
|
declare const drawerLight: import("../../_mixins").Theme<"Drawer", {
|
|
27
27
|
bodyPadding: string;
|
|
28
28
|
headerPadding: string;
|
|
@@ -52,4 +52,4 @@ declare const drawerLight: import("../../_mixins").Theme<"Drawer", {
|
|
|
52
52
|
}, any>;
|
|
53
53
|
}>;
|
|
54
54
|
export default drawerLight;
|
|
55
|
-
export
|
|
55
|
+
export type DrawerTheme = typeof drawerLight;
|
|
@@ -346,7 +346,7 @@ export declare const dropdownProps: {
|
|
|
346
346
|
readonly minWidth: NumberConstructor;
|
|
347
347
|
readonly maxWidth: NumberConstructor;
|
|
348
348
|
};
|
|
349
|
-
export
|
|
349
|
+
export type DropdownProps = ExtractPublicPropTypes<typeof dropdownProps>;
|
|
350
350
|
declare const _default: import("vue").DefineComponent<{
|
|
351
351
|
readonly theme: PropType<import("../../_mixins").Theme<"Dropdown", {
|
|
352
352
|
optionHeightSmall: string;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { TreeNode } from 'treemate';
|
|
2
2
|
import { HTMLAttributes, VNode, VNodeChild } from 'vue';
|
|
3
3
|
import type { MenuOption, MenuGroupOption, MenuDividerOption, MenuIgnoredOption, MenuRenderOption, MenuNodeProps } from '../../menu/src/interface';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
4
|
+
export type Key = string | number;
|
|
5
|
+
export type DropdownOption = MenuOption;
|
|
6
|
+
export type DropdownGroupOption = MenuGroupOption;
|
|
7
|
+
export type DropdownDividerOption = MenuDividerOption;
|
|
8
|
+
export type DropdownRenderOption = MenuRenderOption;
|
|
9
|
+
export type DropdownMixedOption = DropdownOption | DropdownGroupOption | DropdownDividerOption | DropdownRenderOption;
|
|
10
|
+
export type DropdownIgnoredOption = MenuIgnoredOption;
|
|
11
|
+
export type DropdownIntersectionOption = DropdownOption & DropdownGroupOption;
|
|
12
|
+
export type TmNode = TreeNode<DropdownOption, DropdownGroupOption, DropdownIgnoredOption>;
|
|
13
|
+
export type OnUpdateValue = <T extends string & number & (string | number)>(value: T, option: DropdownOption) => void;
|
|
14
|
+
export type OnUpdateKeys = <T extends string[] & number[] & Array<string | number>>(keys: T) => void;
|
|
15
|
+
export type OnUpdateValueImpl = <T extends string | number | (string | number)>(value: T, option: DropdownOption) => void;
|
|
16
|
+
export type OnUpdateKeysImpl = <T extends string[] | number[] | Array<string | number>>(keys: T) => void;
|
|
17
|
+
export type RenderLabelImpl = (option: DropdownMixedOption) => VNodeChild;
|
|
18
|
+
export type RenderLabel = (option: DropdownIntersectionOption) => VNodeChild;
|
|
19
|
+
export type RenderIconImpl = (option: DropdownMixedOption) => VNodeChild;
|
|
20
|
+
export type RenderIcon = (option: DropdownIntersectionOption) => VNodeChild;
|
|
21
|
+
export type RenderOption = (info: {
|
|
22
22
|
node: VNode;
|
|
23
23
|
option: DropdownOption & DropdownGroupOption;
|
|
24
24
|
}) => VNodeChild;
|
|
25
|
-
export
|
|
25
|
+
export type RenderOptionImpl = (info: {
|
|
26
26
|
node: VNode;
|
|
27
27
|
option: DropdownOption | DropdownGroupOption;
|
|
28
28
|
}) => VNodeChild;
|
|
29
|
-
export
|
|
30
|
-
export
|
|
29
|
+
export type NodeProps = MenuNodeProps;
|
|
30
|
+
export type DropdownMenuProps = (option: DropdownOption | undefined, options: Array<DropdownOption | DropdownGroupOption>) => HTMLAttributes & Record<string, string | number | undefined>;
|
|
@@ -54,7 +54,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
54
54
|
optionIconPrefixWidthLarge: string;
|
|
55
55
|
optionIconPrefixWidthHuge: string;
|
|
56
56
|
};
|
|
57
|
-
export
|
|
57
|
+
export type DropdownThemeVars = ReturnType<typeof self>;
|
|
58
58
|
declare const dropdownLight: import("../../_mixins/use-theme").Theme<"Dropdown", {
|
|
59
59
|
optionHeightSmall: string;
|
|
60
60
|
optionHeightMedium: string;
|
|
@@ -125,5 +125,5 @@ declare const dropdownLight: import("../../_mixins/use-theme").Theme<"Dropdown",
|
|
|
125
125
|
padding: string;
|
|
126
126
|
}, any>;
|
|
127
127
|
}>;
|
|
128
|
-
export
|
|
128
|
+
export type DropdownTheme = typeof dropdownLight;
|
|
129
129
|
export default dropdownLight;
|
|
@@ -850,7 +850,7 @@ export declare const dynamicInputProps: {
|
|
|
850
850
|
}, any>;
|
|
851
851
|
}>>>;
|
|
852
852
|
};
|
|
853
|
-
export
|
|
853
|
+
export type DynamicInputProps = ExtractPublicPropTypes<typeof dynamicInputProps>;
|
|
854
854
|
declare const _default: import("vue").DefineComponent<{
|
|
855
855
|
readonly max: NumberConstructor;
|
|
856
856
|
readonly min: {
|
|
@@ -8,4 +8,4 @@ export interface DynamicInputInjection {
|
|
|
8
8
|
placeholderRef: Ref<string | undefined>;
|
|
9
9
|
}
|
|
10
10
|
export declare const dynamicInputInjectionKey: import("vue").InjectionKey<DynamicInputInjection>;
|
|
11
|
-
export
|
|
11
|
+
export type OnUpdateValue = <T>(value: T[]) => void;
|
|
@@ -2,7 +2,7 @@ declare const self: () => {
|
|
|
2
2
|
actionMargin: string;
|
|
3
3
|
actionMarginRtl: string;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type DynamicInputThemeVars = ReturnType<typeof self>;
|
|
6
6
|
declare const dynamicInputLight: import("../../_mixins").Theme<"DynamicInput", {
|
|
7
7
|
actionMargin: string;
|
|
8
8
|
actionMarginRtl: string;
|
|
@@ -274,4 +274,4 @@ declare const dynamicInputLight: import("../../_mixins").Theme<"DynamicInput", {
|
|
|
274
274
|
}, any>;
|
|
275
275
|
}>;
|
|
276
276
|
export default dynamicInputLight;
|
|
277
|
-
export
|
|
277
|
+
export type DynamicInputTheme = typeof dynamicInputLight;
|
|
@@ -1128,7 +1128,7 @@ export declare const dynamicTagsProps: {
|
|
|
1128
1128
|
}, any>;
|
|
1129
1129
|
}>>>;
|
|
1130
1130
|
};
|
|
1131
|
-
export
|
|
1131
|
+
export type DynamicTagsProps = ExtractPublicPropTypes<typeof dynamicTagsProps>;
|
|
1132
1132
|
declare const _default: import("vue").DefineComponent<{
|
|
1133
1133
|
size: {
|
|
1134
1134
|
type: PropType<"small" | "medium" | "large">;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export type OnUpdateValue = ((value: string[]) => void) | ((value: DynamicTagsOption[]) => void);
|
|
2
|
+
export type OnUpdateValueImpl = (value: Array<string | DynamicTagsOption>) => void;
|
|
3
|
+
export type OnCreate = (label: string) => {
|
|
4
4
|
label: string;
|
|
5
5
|
value: string;
|
|
6
6
|
} | string;
|
|
@@ -364,4 +364,4 @@ declare const dynamicTagsLight: import("../../_mixins").Theme<"DynamicTags", {
|
|
|
364
364
|
export default dynamicTagsLight;
|
|
365
365
|
export interface DynamicTagsThemeVars {
|
|
366
366
|
}
|
|
367
|
-
export
|
|
367
|
+
export type DynamicTagsTheme = typeof dynamicTagsLight;
|
|
@@ -8,7 +8,7 @@ export declare const elementProps: {
|
|
|
8
8
|
readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Element", {}, any>>>;
|
|
9
9
|
readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Element", {}, any>>>;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type ElementProps = ExtractPublicPropTypes<typeof elementProps>;
|
|
12
12
|
declare const _default: import("vue").DefineComponent<{
|
|
13
13
|
readonly tag: {
|
|
14
14
|
readonly type: StringConstructor;
|
|
@@ -81,7 +81,7 @@ export declare const ellipsisProps: {
|
|
|
81
81
|
}>;
|
|
82
82
|
}>>>;
|
|
83
83
|
};
|
|
84
|
-
export
|
|
84
|
+
export type EllipsisProps = ExtractPublicPropTypes<typeof ellipsisProps>;
|
|
85
85
|
declare const _default: import("vue").DefineComponent<{
|
|
86
86
|
readonly expandTrigger: PropType<"click">;
|
|
87
87
|
readonly lineClamp: PropType<string | number>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, h, ref, computed, mergeProps } from 'vue';
|
|
1
|
+
import { defineComponent, h, ref, computed, mergeProps, onDeactivated } from 'vue';
|
|
2
2
|
import { NTooltip } from '../../tooltip';
|
|
3
3
|
import { useConfig, useTheme } from '../../_mixins';
|
|
4
4
|
import { ellipsisLight } from '../styles';
|
|
@@ -78,6 +78,12 @@ export default defineComponent({
|
|
|
78
78
|
}
|
|
79
79
|
: undefined;
|
|
80
80
|
});
|
|
81
|
+
onDeactivated(() => {
|
|
82
|
+
var _a;
|
|
83
|
+
if (props.tooltip) {
|
|
84
|
+
(_a = tooltipRef.value) === null || _a === void 0 ? void 0 : _a.setShow(false);
|
|
85
|
+
}
|
|
86
|
+
});
|
|
81
87
|
const renderTrigger = () => (h("span", Object.assign({}, mergeProps(attrs, {
|
|
82
88
|
class: [
|
|
83
89
|
`${mergedClsPrefixRef.value}-ellipsis`,
|
package/es/empty/src/Empty.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export declare const emptyProps: {
|
|
|
55
55
|
iconSizeHuge: string;
|
|
56
56
|
}, any>>>;
|
|
57
57
|
};
|
|
58
|
-
export
|
|
58
|
+
export type EmptyProps = ExtractPublicPropTypes<typeof emptyProps>;
|
|
59
59
|
declare const _default: import("vue").DefineComponent<{
|
|
60
60
|
description: StringConstructor;
|
|
61
61
|
showDescription: {
|
|
@@ -13,7 +13,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
13
13
|
iconSizeLarge: string;
|
|
14
14
|
iconSizeHuge: string;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type EmptyThemeVars = ReturnType<typeof self>;
|
|
17
17
|
declare const emptyLight: Theme<'Empty', EmptyThemeVars>;
|
|
18
18
|
export default emptyLight;
|
|
19
|
-
export
|
|
19
|
+
export type EmptyTheme = typeof emptyLight;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Theme } from '../../_mixins';
|
|
2
2
|
export declare const self: () => {};
|
|
3
|
-
export
|
|
3
|
+
export type EquationThemeVars = ReturnType<typeof self>;
|
|
4
4
|
declare const equationLight: Theme<'Equation', EquationThemeVars>;
|
|
5
5
|
export default equationLight;
|
|
6
|
-
export
|
|
6
|
+
export type EquationTheme = typeof equationLight;
|