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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type ColorPickerMode = 'rgb' | 'hsl' | 'hsv' | 'hex';
|
|
2
|
+
export type ActionType = 'confirm' | 'clear';
|
|
3
3
|
export declare function deriveDefaultValue(modes: ColorPickerMode[], showAlpha: boolean): string;
|
|
4
4
|
export declare function getModeFromValue(color: string | null): ColorPickerMode | null;
|
|
5
5
|
export declare function floor(color: number[]): number[];
|
|
@@ -14,7 +14,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
14
14
|
fontSizeLarge: string;
|
|
15
15
|
dividerColor: string;
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type ColorPickerThemeVars = ReturnType<typeof self>;
|
|
18
18
|
declare const colorPickerLight: import("../../_mixins/use-theme").Theme<"ColorPicker", {
|
|
19
19
|
panelFontSize: string;
|
|
20
20
|
boxShadow: string;
|
|
@@ -297,4 +297,4 @@ declare const colorPickerLight: import("../../_mixins/use-theme").Theme<"ColorPi
|
|
|
297
297
|
}, any>;
|
|
298
298
|
}>;
|
|
299
299
|
export default colorPickerLight;
|
|
300
|
-
export
|
|
300
|
+
export type ColorPickerTheme = typeof colorPickerLight;
|
|
@@ -154,7 +154,7 @@ export declare const configProviderProps: {
|
|
|
154
154
|
readonly default: undefined;
|
|
155
155
|
};
|
|
156
156
|
};
|
|
157
|
-
export
|
|
157
|
+
export type ConfigProviderProps = Partial<ExtractPropTypes<typeof configProviderProps>>;
|
|
158
158
|
declare const _default: import("vue").DefineComponent<{
|
|
159
159
|
readonly abstract: BooleanConstructor;
|
|
160
160
|
readonly bordered: {
|
|
@@ -8,7 +8,7 @@ export interface GlobalTheme extends GlobalThemeWithoutCommon {
|
|
|
8
8
|
name: string;
|
|
9
9
|
common?: ThemeCommonVars;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type GlobalThemeOverrides = {
|
|
12
12
|
common?: Partial<ThemeCommonVars & CustomThemeCommonVars>;
|
|
13
13
|
} & {
|
|
14
14
|
[key in keyof GlobalThemeWithoutCommon]?: ExtractThemeOverrides<GlobalThemeWithoutCommon[key]>;
|
|
@@ -224,11 +224,9 @@ export interface RtlItem {
|
|
|
224
224
|
style: CNode;
|
|
225
225
|
peers?: RtlItem[];
|
|
226
226
|
}
|
|
227
|
-
export
|
|
228
|
-
export
|
|
229
|
-
export
|
|
230
|
-
[k: string]: number;
|
|
231
|
-
} | undefined;
|
|
227
|
+
export type RtlProp = RtlItem[];
|
|
228
|
+
export type RtlEnabledState = Partial<Record<keyof GlobalThemeWithoutCommon, RtlItem>>;
|
|
229
|
+
export type Breakpoints = Record<string, number> | undefined;
|
|
232
230
|
export interface ConfigProviderInjection {
|
|
233
231
|
mergedBreakpointsRef: Ref<Breakpoints | undefined>;
|
|
234
232
|
mergedClsPrefixRef: Ref<string | undefined>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import katex from 'katex';
|
|
2
|
-
export
|
|
2
|
+
export type Katex = typeof katex;
|
|
@@ -25,7 +25,7 @@ export declare const countdownProps: {
|
|
|
25
25
|
render: PropType<(props: CountdownTimeInfo) => VNodeChild>;
|
|
26
26
|
onFinish: PropType<() => void>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type CountdownProps = ExtractPublicPropTypes<typeof countdownProps>;
|
|
29
29
|
declare const _default: import("vue").DefineComponent<{
|
|
30
30
|
duration: {
|
|
31
31
|
type: NumberConstructor;
|
package/lib/create.d.ts
CHANGED
|
@@ -392,6 +392,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
392
392
|
sizeMedium: string;
|
|
393
393
|
sizeLarge: string;
|
|
394
394
|
labelPadding: string;
|
|
395
|
+
labelFontWeight: string;
|
|
395
396
|
}, any>;
|
|
396
397
|
Radio: import("../../_mixins").Theme<"Radio", {
|
|
397
398
|
labelLineHeight: string;
|
|
@@ -430,6 +431,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
430
431
|
radioSizeMedium: string;
|
|
431
432
|
radioSizeLarge: string;
|
|
432
433
|
labelPadding: string;
|
|
434
|
+
labelFontWeight: string;
|
|
433
435
|
}, any>;
|
|
434
436
|
Pagination: import("../../_mixins").Theme<"Pagination", {
|
|
435
437
|
buttonColor: string;
|
|
@@ -1171,6 +1173,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1171
1173
|
sizeMedium: string;
|
|
1172
1174
|
sizeLarge: string;
|
|
1173
1175
|
labelPadding: string;
|
|
1176
|
+
labelFontWeight: string;
|
|
1174
1177
|
}, any>;
|
|
1175
1178
|
Radio: import("../../_mixins").Theme<"Radio", {
|
|
1176
1179
|
labelLineHeight: string;
|
|
@@ -1209,6 +1212,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1209
1212
|
radioSizeMedium: string;
|
|
1210
1213
|
radioSizeLarge: string;
|
|
1211
1214
|
labelPadding: string;
|
|
1215
|
+
labelFontWeight: string;
|
|
1212
1216
|
}, any>;
|
|
1213
1217
|
Pagination: import("../../_mixins").Theme<"Pagination", {
|
|
1214
1218
|
buttonColor: string;
|
|
@@ -1950,6 +1954,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1950
1954
|
sizeMedium: string;
|
|
1951
1955
|
sizeLarge: string;
|
|
1952
1956
|
labelPadding: string;
|
|
1957
|
+
labelFontWeight: string;
|
|
1953
1958
|
}, any>;
|
|
1954
1959
|
Radio: import("../../_mixins").Theme<"Radio", {
|
|
1955
1960
|
labelLineHeight: string;
|
|
@@ -1988,6 +1993,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1988
1993
|
radioSizeMedium: string;
|
|
1989
1994
|
radioSizeLarge: string;
|
|
1990
1995
|
labelPadding: string;
|
|
1996
|
+
labelFontWeight: string;
|
|
1991
1997
|
}, any>;
|
|
1992
1998
|
Pagination: import("../../_mixins").Theme<"Pagination", {
|
|
1993
1999
|
buttonColor: string;
|
|
@@ -2851,6 +2857,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2851
2857
|
sizeMedium: string;
|
|
2852
2858
|
sizeLarge: string;
|
|
2853
2859
|
labelPadding: string;
|
|
2860
|
+
labelFontWeight: string;
|
|
2854
2861
|
}, any>;
|
|
2855
2862
|
Radio: import("../../_mixins").Theme<"Radio", {
|
|
2856
2863
|
labelLineHeight: string;
|
|
@@ -2889,6 +2896,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2889
2896
|
radioSizeMedium: string;
|
|
2890
2897
|
radioSizeLarge: string;
|
|
2891
2898
|
labelPadding: string;
|
|
2899
|
+
labelFontWeight: string;
|
|
2892
2900
|
}, any>;
|
|
2893
2901
|
Pagination: import("../../_mixins").Theme<"Pagination", {
|
|
2894
2902
|
buttonColor: string;
|
|
@@ -4129,6 +4137,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4129
4137
|
sizeMedium: string;
|
|
4130
4138
|
sizeLarge: string;
|
|
4131
4139
|
labelPadding: string;
|
|
4140
|
+
labelFontWeight: string;
|
|
4132
4141
|
}, any>;
|
|
4133
4142
|
Radio: import("../../_mixins").Theme<"Radio", {
|
|
4134
4143
|
labelLineHeight: string;
|
|
@@ -4167,6 +4176,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4167
4176
|
radioSizeMedium: string;
|
|
4168
4177
|
radioSizeLarge: string;
|
|
4169
4178
|
labelPadding: string;
|
|
4179
|
+
labelFontWeight: string;
|
|
4170
4180
|
}, any>;
|
|
4171
4181
|
Pagination: import("../../_mixins").Theme<"Pagination", {
|
|
4172
4182
|
buttonColor: string;
|
|
@@ -4908,6 +4918,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4908
4918
|
sizeMedium: string;
|
|
4909
4919
|
sizeLarge: string;
|
|
4910
4920
|
labelPadding: string;
|
|
4921
|
+
labelFontWeight: string;
|
|
4911
4922
|
}, any>;
|
|
4912
4923
|
Radio: import("../../_mixins").Theme<"Radio", {
|
|
4913
4924
|
labelLineHeight: string;
|
|
@@ -4946,6 +4957,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4946
4957
|
radioSizeMedium: string;
|
|
4947
4958
|
radioSizeLarge: string;
|
|
4948
4959
|
labelPadding: string;
|
|
4960
|
+
labelFontWeight: string;
|
|
4949
4961
|
}, any>;
|
|
4950
4962
|
Pagination: import("../../_mixins").Theme<"Pagination", {
|
|
4951
4963
|
buttonColor: string;
|
|
@@ -5687,6 +5699,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5687
5699
|
sizeMedium: string;
|
|
5688
5700
|
sizeLarge: string;
|
|
5689
5701
|
labelPadding: string;
|
|
5702
|
+
labelFontWeight: string;
|
|
5690
5703
|
}, any>;
|
|
5691
5704
|
Radio: import("../../_mixins").Theme<"Radio", {
|
|
5692
5705
|
labelLineHeight: string;
|
|
@@ -5725,6 +5738,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5725
5738
|
radioSizeMedium: string;
|
|
5726
5739
|
radioSizeLarge: string;
|
|
5727
5740
|
labelPadding: string;
|
|
5741
|
+
labelFontWeight: string;
|
|
5728
5742
|
}, any>;
|
|
5729
5743
|
Pagination: import("../../_mixins").Theme<"Pagination", {
|
|
5730
5744
|
buttonColor: string;
|
|
@@ -400,6 +400,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
400
400
|
sizeMedium: string;
|
|
401
401
|
sizeLarge: string;
|
|
402
402
|
labelPadding: string;
|
|
403
|
+
labelFontWeight: string;
|
|
403
404
|
}, any>;
|
|
404
405
|
Radio: import("../../../_mixins").Theme<"Radio", {
|
|
405
406
|
labelLineHeight: string;
|
|
@@ -438,6 +439,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
438
439
|
radioSizeMedium: string;
|
|
439
440
|
radioSizeLarge: string;
|
|
440
441
|
labelPadding: string;
|
|
442
|
+
labelFontWeight: string;
|
|
441
443
|
}, any>;
|
|
442
444
|
Pagination: import("../../../_mixins").Theme<"Pagination", {
|
|
443
445
|
buttonColor: string;
|
|
@@ -425,6 +425,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
425
425
|
sizeMedium: string;
|
|
426
426
|
sizeLarge: string;
|
|
427
427
|
labelPadding: string;
|
|
428
|
+
labelFontWeight: string;
|
|
428
429
|
}, any>;
|
|
429
430
|
Radio: import("../../../_mixins").Theme<"Radio", {
|
|
430
431
|
labelLineHeight: string;
|
|
@@ -463,6 +464,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
463
464
|
radioSizeMedium: string;
|
|
464
465
|
radioSizeLarge: string;
|
|
465
466
|
labelPadding: string;
|
|
467
|
+
labelFontWeight: string;
|
|
466
468
|
}, any>;
|
|
467
469
|
Pagination: import("../../../_mixins").Theme<"Pagination", {
|
|
468
470
|
buttonColor: string;
|
|
@@ -425,6 +425,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
425
425
|
sizeMedium: string;
|
|
426
426
|
sizeLarge: string;
|
|
427
427
|
labelPadding: string;
|
|
428
|
+
labelFontWeight: string;
|
|
428
429
|
}, any>;
|
|
429
430
|
Radio: import("../../../_mixins").Theme<"Radio", {
|
|
430
431
|
labelLineHeight: string;
|
|
@@ -463,6 +464,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
463
464
|
radioSizeMedium: string;
|
|
464
465
|
radioSizeLarge: string;
|
|
465
466
|
labelPadding: string;
|
|
467
|
+
labelFontWeight: string;
|
|
466
468
|
}, any>;
|
|
467
469
|
Pagination: import("../../../_mixins").Theme<"Pagination", {
|
|
468
470
|
buttonColor: string;
|
|
@@ -409,6 +409,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
409
409
|
sizeMedium: string;
|
|
410
410
|
sizeLarge: string;
|
|
411
411
|
labelPadding: string;
|
|
412
|
+
labelFontWeight: string;
|
|
412
413
|
}, any>;
|
|
413
414
|
Radio: import("../../../_mixins").Theme<"Radio", {
|
|
414
415
|
labelLineHeight: string;
|
|
@@ -447,6 +448,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
447
448
|
radioSizeMedium: string;
|
|
448
449
|
radioSizeLarge: string;
|
|
449
450
|
labelPadding: string;
|
|
451
|
+
labelFontWeight: string;
|
|
450
452
|
}, any>;
|
|
451
453
|
Pagination: import("../../../_mixins").Theme<"Pagination", {
|
|
452
454
|
buttonColor: string;
|
|
@@ -1656,6 +1658,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1656
1658
|
sizeMedium: string;
|
|
1657
1659
|
sizeLarge: string;
|
|
1658
1660
|
labelPadding: string;
|
|
1661
|
+
labelFontWeight: string;
|
|
1659
1662
|
}, any>;
|
|
1660
1663
|
Radio: import("../../../_mixins").Theme<"Radio", {
|
|
1661
1664
|
labelLineHeight: string;
|
|
@@ -1694,6 +1697,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1694
1697
|
radioSizeMedium: string;
|
|
1695
1698
|
radioSizeLarge: string;
|
|
1696
1699
|
labelPadding: string;
|
|
1700
|
+
labelFontWeight: string;
|
|
1697
1701
|
}, any>;
|
|
1698
1702
|
Pagination: import("../../../_mixins").Theme<"Pagination", {
|
|
1699
1703
|
buttonColor: string;
|
|
@@ -413,6 +413,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
413
413
|
sizeMedium: string;
|
|
414
414
|
sizeLarge: string;
|
|
415
415
|
labelPadding: string;
|
|
416
|
+
labelFontWeight: string;
|
|
416
417
|
}, any>;
|
|
417
418
|
Radio: import("../../../_mixins").Theme<"Radio", {
|
|
418
419
|
labelLineHeight: string;
|
|
@@ -451,6 +452,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
451
452
|
radioSizeMedium: string;
|
|
452
453
|
radioSizeLarge: string;
|
|
453
454
|
labelPadding: string;
|
|
455
|
+
labelFontWeight: string;
|
|
454
456
|
}, any>;
|
|
455
457
|
Pagination: import("../../../_mixins").Theme<"Pagination", {
|
|
456
458
|
buttonColor: string;
|
|
@@ -402,6 +402,7 @@ export declare const dataTableProps: {
|
|
|
402
402
|
sizeMedium: string;
|
|
403
403
|
sizeLarge: string;
|
|
404
404
|
labelPadding: string;
|
|
405
|
+
labelFontWeight: string;
|
|
405
406
|
}, any>;
|
|
406
407
|
Radio: import("../../_mixins").Theme<"Radio", {
|
|
407
408
|
labelLineHeight: string;
|
|
@@ -440,6 +441,7 @@ export declare const dataTableProps: {
|
|
|
440
441
|
radioSizeMedium: string;
|
|
441
442
|
radioSizeLarge: string;
|
|
442
443
|
labelPadding: string;
|
|
444
|
+
labelFontWeight: string;
|
|
443
445
|
}, any>;
|
|
444
446
|
Pagination: import("../../_mixins").Theme<"Pagination", {
|
|
445
447
|
buttonColor: string;
|
|
@@ -1181,6 +1183,7 @@ export declare const dataTableProps: {
|
|
|
1181
1183
|
sizeMedium: string;
|
|
1182
1184
|
sizeLarge: string;
|
|
1183
1185
|
labelPadding: string;
|
|
1186
|
+
labelFontWeight: string;
|
|
1184
1187
|
}, any>;
|
|
1185
1188
|
Radio: import("../../_mixins").Theme<"Radio", {
|
|
1186
1189
|
labelLineHeight: string;
|
|
@@ -1219,6 +1222,7 @@ export declare const dataTableProps: {
|
|
|
1219
1222
|
radioSizeMedium: string;
|
|
1220
1223
|
radioSizeLarge: string;
|
|
1221
1224
|
labelPadding: string;
|
|
1225
|
+
labelFontWeight: string;
|
|
1222
1226
|
}, any>;
|
|
1223
1227
|
Pagination: import("../../_mixins").Theme<"Pagination", {
|
|
1224
1228
|
buttonColor: string;
|
|
@@ -1960,6 +1964,7 @@ export declare const dataTableProps: {
|
|
|
1960
1964
|
sizeMedium: string;
|
|
1961
1965
|
sizeLarge: string;
|
|
1962
1966
|
labelPadding: string;
|
|
1967
|
+
labelFontWeight: string;
|
|
1963
1968
|
}, any>;
|
|
1964
1969
|
Radio: import("../../_mixins").Theme<"Radio", {
|
|
1965
1970
|
labelLineHeight: string;
|
|
@@ -1998,6 +2003,7 @@ export declare const dataTableProps: {
|
|
|
1998
2003
|
radioSizeMedium: string;
|
|
1999
2004
|
radioSizeLarge: string;
|
|
2000
2005
|
labelPadding: string;
|
|
2006
|
+
labelFontWeight: string;
|
|
2001
2007
|
}, any>;
|
|
2002
2008
|
Pagination: import("../../_mixins").Theme<"Pagination", {
|
|
2003
2009
|
buttonColor: string;
|
|
@@ -2457,32 +2463,30 @@ export declare const dataTableProps: {
|
|
|
2457
2463
|
}>;
|
|
2458
2464
|
}>>>;
|
|
2459
2465
|
};
|
|
2460
|
-
export
|
|
2461
|
-
export
|
|
2462
|
-
export
|
|
2463
|
-
export
|
|
2464
|
-
export
|
|
2465
|
-
export
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
export
|
|
2469
|
-
export
|
|
2470
|
-
export
|
|
2471
|
-
export
|
|
2472
|
-
export declare type CompareFn<T = InternalRowData> = (row1: T, row2: T) => number;
|
|
2473
|
-
export declare type Sorter<T = InternalRowData> = CompareFn<T> | SorterMultiple<T>;
|
|
2466
|
+
export type FilterOptionValue = string | number;
|
|
2467
|
+
export type ColumnKey = string | number;
|
|
2468
|
+
export type RowKey = string | number;
|
|
2469
|
+
export type SortOrderFlag = 1 | -1 | 0;
|
|
2470
|
+
export type RowData = Record<string, any>;
|
|
2471
|
+
export type InternalRowData = Record<string, unknown>;
|
|
2472
|
+
export type CreateRowKey<T = InternalRowData> = (row: T) => RowKey;
|
|
2473
|
+
export type CreateRowClassName<T = InternalRowData> = (row: T, index: number) => string;
|
|
2474
|
+
export type CreateRowProps<T = InternalRowData> = (row: T, index: number) => HTMLAttributes;
|
|
2475
|
+
export type CreateCellProps<T = InternalRowData> = (row: T, index: number) => HTMLAttributes;
|
|
2476
|
+
export type CompareFn<T = InternalRowData> = (row1: T, row2: T) => number;
|
|
2477
|
+
export type Sorter<T = InternalRowData> = CompareFn<T> | SorterMultiple<T>;
|
|
2474
2478
|
export interface SorterMultiple<T = InternalRowData> {
|
|
2475
2479
|
multiple: number;
|
|
2476
2480
|
compare?: CompareFn<T> | 'default';
|
|
2477
2481
|
}
|
|
2478
|
-
export
|
|
2482
|
+
export type Filter<T = InternalRowData> = (filterOptionValue: FilterOptionValue, row: T) => boolean;
|
|
2479
2483
|
export interface FilterOption {
|
|
2480
2484
|
label: string;
|
|
2481
2485
|
value: FilterOptionValue;
|
|
2482
2486
|
}
|
|
2483
|
-
export
|
|
2484
|
-
export
|
|
2485
|
-
export
|
|
2487
|
+
export type TmNode = TreeNode<InternalRowData>;
|
|
2488
|
+
export type SortOrder = 'ascend' | 'descend' | false;
|
|
2489
|
+
export type Ellipsis = boolean | (EllipsisProps & {
|
|
2486
2490
|
style?: CSSProperties;
|
|
2487
2491
|
});
|
|
2488
2492
|
export interface CommonColumnInfo<T = InternalRowData> {
|
|
@@ -2495,10 +2499,10 @@ export interface CommonColumnInfo<T = InternalRowData> {
|
|
|
2495
2499
|
ellipsis?: Ellipsis;
|
|
2496
2500
|
cellProps?: (rowData: T, rowIndex: number) => HTMLAttributes;
|
|
2497
2501
|
}
|
|
2498
|
-
export
|
|
2499
|
-
export
|
|
2500
|
-
export
|
|
2501
|
-
export
|
|
2502
|
+
export type TableColumnTitle = string | ((column: TableBaseColumn) => VNodeChild);
|
|
2503
|
+
export type TableExpandColumnTitle = string | ((column: TableExpandColumn) => VNodeChild);
|
|
2504
|
+
export type TableColumnGroupTitle = string | ((column: TableColumnGroup) => VNodeChild);
|
|
2505
|
+
export type TableColumnGroup<T = InternalRowData> = {
|
|
2502
2506
|
title?: TableColumnGroupTitle;
|
|
2503
2507
|
type?: never;
|
|
2504
2508
|
key: ColumnKey;
|
|
@@ -2506,7 +2510,7 @@ export declare type TableColumnGroup<T = InternalRowData> = {
|
|
|
2506
2510
|
resizable?: boolean;
|
|
2507
2511
|
filterOptions?: never;
|
|
2508
2512
|
} & CommonColumnInfo<T>;
|
|
2509
|
-
export
|
|
2513
|
+
export type TableBaseColumn<T = InternalRowData> = {
|
|
2510
2514
|
title?: TableColumnTitle;
|
|
2511
2515
|
titleColSpan?: number;
|
|
2512
2516
|
type?: never;
|
|
@@ -2535,7 +2539,7 @@ export declare type TableBaseColumn<T = InternalRowData> = {
|
|
|
2535
2539
|
colSpan?: (rowData: T, rowIndex: number) => number;
|
|
2536
2540
|
rowSpan?: (rowData: T, rowIndex: number) => number;
|
|
2537
2541
|
} & CommonColumnInfo<T>;
|
|
2538
|
-
export
|
|
2542
|
+
export type TableSelectionColumn<T = InternalRowData> = {
|
|
2539
2543
|
type: 'selection';
|
|
2540
2544
|
multiple?: boolean;
|
|
2541
2545
|
disabled?: (row: T) => boolean;
|
|
@@ -2549,17 +2553,17 @@ export declare type TableSelectionColumn<T = InternalRowData> = {
|
|
|
2549
2553
|
colSpan?: never;
|
|
2550
2554
|
rowSpan?: never;
|
|
2551
2555
|
} & CommonColumnInfo<T>;
|
|
2552
|
-
export
|
|
2553
|
-
export
|
|
2556
|
+
export type RenderExpand<T = InternalRowData> = (row: T, index: number) => VNodeChild;
|
|
2557
|
+
export type Expandable<T = InternalRowData> = (row: T) => boolean;
|
|
2554
2558
|
export interface TableExpandColumn<T = InternalRowData> extends Omit<TableSelectionColumn<T>, 'type'> {
|
|
2555
2559
|
type: 'expand';
|
|
2556
2560
|
title?: TableExpandColumnTitle;
|
|
2557
2561
|
renderExpand: RenderExpand<T>;
|
|
2558
2562
|
expandable?: Expandable<T>;
|
|
2559
2563
|
}
|
|
2560
|
-
export
|
|
2561
|
-
export
|
|
2562
|
-
export
|
|
2564
|
+
export type TableColumn<T = InternalRowData> = TableColumnGroup<T> | TableBaseColumn<T> | TableSelectionColumn<T> | TableExpandColumn<T>;
|
|
2565
|
+
export type TableColumns<T = InternalRowData> = Array<TableColumn<T>>;
|
|
2566
|
+
export type DataTableSelectionOptions<T = InternalRowData> = Array<DataTableSelectionOption | {
|
|
2563
2567
|
label: string;
|
|
2564
2568
|
key: string | number;
|
|
2565
2569
|
onSelect: (pageData: T[]) => void;
|
|
@@ -2650,34 +2654,32 @@ export interface MainTableInjection {
|
|
|
2650
2654
|
leftActiveFixedColKey: ColumnKey | null;
|
|
2651
2655
|
rightActiveFixedColKey: ColumnKey | null;
|
|
2652
2656
|
}
|
|
2653
|
-
export
|
|
2657
|
+
export type RenderFilter = (props: {
|
|
2654
2658
|
active: boolean;
|
|
2655
2659
|
show: boolean;
|
|
2656
2660
|
}) => VNodeChild;
|
|
2657
|
-
export
|
|
2658
|
-
export
|
|
2661
|
+
export type RenderFilterIcon = RenderFilter;
|
|
2662
|
+
export type RenderSorter = (props: {
|
|
2659
2663
|
order: SortOrder;
|
|
2660
2664
|
}) => VNodeChild;
|
|
2661
|
-
export
|
|
2662
|
-
export
|
|
2665
|
+
export type RenderSorterIcon = RenderSorter;
|
|
2666
|
+
export type RenderFilterMenu = (actions: {
|
|
2663
2667
|
hide: () => void;
|
|
2664
2668
|
}) => VNodeChild;
|
|
2665
|
-
export
|
|
2666
|
-
export
|
|
2669
|
+
export type OnUpdateExpandedRowKeys = (keys: RowKey[]) => void;
|
|
2670
|
+
export type OnUpdateCheckedRowKeys = (keys: RowKey[], rows: InternalRowData[], meta: {
|
|
2667
2671
|
row: InternalRowData | undefined;
|
|
2668
2672
|
action: 'check' | 'uncheck' | 'checkAll' | 'uncheckAll';
|
|
2669
2673
|
}) => void;
|
|
2670
|
-
export
|
|
2671
|
-
export
|
|
2672
|
-
export
|
|
2674
|
+
export type OnUpdateSorter = (sortState: SortState & SortState[] & null) => void;
|
|
2675
|
+
export type OnUpdateSorterImpl = (sortState: SortState | SortState[] | null) => void;
|
|
2676
|
+
export type OnUpdateFilters = (filterState: FilterState, sourceColumn: TableBaseColumn) => void;
|
|
2673
2677
|
export interface SortState {
|
|
2674
2678
|
columnKey: ColumnKey;
|
|
2675
2679
|
order: SortOrder;
|
|
2676
2680
|
sorter: Sorter | boolean | 'default';
|
|
2677
2681
|
}
|
|
2678
|
-
export
|
|
2679
|
-
[key: string]: FilterOptionValue[] | FilterOptionValue | null | undefined;
|
|
2680
|
-
}
|
|
2682
|
+
export type FilterState = Record<string, FilterOptionValue[] | FilterOptionValue | null | undefined>;
|
|
2681
2683
|
export interface MainTableRef {
|
|
2682
2684
|
getHeaderElement: () => HTMLElement | null;
|
|
2683
2685
|
getBodyElement: () => HTMLElement | null;
|
|
@@ -2690,8 +2692,8 @@ export interface MainTableBodyRef {
|
|
|
2690
2692
|
export interface MainTableHeaderRef {
|
|
2691
2693
|
$el: HTMLElement | null;
|
|
2692
2694
|
}
|
|
2693
|
-
export
|
|
2694
|
-
export
|
|
2695
|
+
export type OnFilterMenuChange = <T extends FilterOptionValue[] & (FilterOptionValue | null)>(value: T) => void;
|
|
2696
|
+
export type OnFilterMenuChangeImpl = (value: FilterOptionValue[] | FilterOptionValue | null) => void;
|
|
2695
2697
|
export interface DataTableInst {
|
|
2696
2698
|
filter: (filters: FilterState | null) => void;
|
|
2697
2699
|
filters: (filters: FilterState | null) => void;
|
|
@@ -2703,16 +2705,14 @@ export interface DataTableInst {
|
|
|
2703
2705
|
/** @deprecated it but just leave it here, it does no harm */
|
|
2704
2706
|
clearFilter: () => void;
|
|
2705
2707
|
}
|
|
2706
|
-
export
|
|
2708
|
+
export type CreateSummary<T = InternalRowData> = (pageData: T[]) => SummaryRowData | SummaryRowData[];
|
|
2707
2709
|
export interface SummaryCell {
|
|
2708
2710
|
value?: VNodeChild;
|
|
2709
2711
|
colSpan?: number;
|
|
2710
2712
|
rowSpan?: number;
|
|
2711
2713
|
}
|
|
2712
|
-
export
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
export
|
|
2716
|
-
export
|
|
2717
|
-
export declare type DataTableProps = ExtractPublicPropTypes<typeof dataTableProps>;
|
|
2718
|
-
export declare type DataTableSetupProps = ExtractPropTypes<typeof dataTableProps>;
|
|
2714
|
+
export type SummaryRowData = Record<string, SummaryCell>;
|
|
2715
|
+
export type DataTableOnLoad = (node: RowData) => Promise<void>;
|
|
2716
|
+
export type DataTableSelectionOption = 'all' | 'none';
|
|
2717
|
+
export type DataTableProps = ExtractPublicPropTypes<typeof dataTableProps>;
|
|
2718
|
+
export type DataTableSetupProps = ExtractPropTypes<typeof dataTableProps>;
|
|
@@ -50,7 +50,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
50
50
|
actionPadding: string;
|
|
51
51
|
actionButtonMargin: string;
|
|
52
52
|
};
|
|
53
|
-
export
|
|
53
|
+
export type DataTableThemeVars = ReturnType<typeof self>;
|
|
54
54
|
declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
55
55
|
actionDividerColor: string;
|
|
56
56
|
lineHeight: string;
|
|
@@ -334,6 +334,7 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
334
334
|
sizeMedium: string;
|
|
335
335
|
sizeLarge: string;
|
|
336
336
|
labelPadding: string;
|
|
337
|
+
labelFontWeight: string;
|
|
337
338
|
}, any>;
|
|
338
339
|
Radio: import("../../_mixins").Theme<"Radio", {
|
|
339
340
|
labelLineHeight: string;
|
|
@@ -372,6 +373,7 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
372
373
|
radioSizeMedium: string;
|
|
373
374
|
radioSizeLarge: string;
|
|
374
375
|
labelPadding: string;
|
|
376
|
+
labelFontWeight: string;
|
|
375
377
|
}, any>;
|
|
376
378
|
Pagination: import("../../_mixins").Theme<"Pagination", {
|
|
377
379
|
buttonColor: string;
|
|
@@ -831,4 +833,4 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
831
833
|
}>;
|
|
832
834
|
}>;
|
|
833
835
|
export default dataTableLight;
|
|
834
|
-
export
|
|
836
|
+
export type DataTableTheme = typeof dataTableLight;
|
|
@@ -1932,8 +1932,8 @@ export declare const datePickerProps: {
|
|
|
1932
1932
|
}, any>;
|
|
1933
1933
|
}>>>;
|
|
1934
1934
|
};
|
|
1935
|
-
export
|
|
1936
|
-
export
|
|
1935
|
+
export type DatePickerSetupProps = ExtractPropTypes<typeof datePickerProps>;
|
|
1936
|
+
export type DatePickerProps = ExtractPublicPropTypes<typeof datePickerProps>;
|
|
1937
1937
|
declare const _default: import("vue").DefineComponent<{
|
|
1938
1938
|
readonly to: {
|
|
1939
1939
|
type: PropType<string | boolean | HTMLElement>;
|
|
@@ -52,7 +52,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
52
52
|
if (process.env.NODE_ENV !== 'production') {
|
|
53
53
|
(0, vue_1.watchEffect)(() => {
|
|
54
54
|
if (props.onChange !== undefined) {
|
|
55
|
-
(0, _utils_1.warnOnce)('
|
|
55
|
+
(0, _utils_1.warnOnce)('date-picker', '`on-change` is deprecated, please use `on-update:value` instead.');
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
}
|
|
@@ -244,7 +244,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
244
244
|
return result;
|
|
245
245
|
}
|
|
246
246
|
default: {
|
|
247
|
-
(0, _utils_1.warn)('
|
|
247
|
+
(0, _utils_1.warn)('date-picker', "The type is wrong, n-date-picker's type only supports `date`, `datetime`, `daterange` and `datetimerange`.");
|
|
248
248
|
break;
|
|
249
249
|
}
|
|
250
250
|
}
|
|
@@ -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';
|