naive-ui 2.41.1 → 2.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3349 -1068
- package/dist/index.mjs +3339 -1070
- package/dist/index.prod.js +1 -1
- package/dist/index.prod.mjs +1 -1
- package/es/_internal/icon/src/styles/index.cssr.mjs +0 -1
- package/es/_internal/icons/replaceable.mjs +1 -1
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +3 -3
- package/es/_internal/select-menu/src/SelectMenu.d.ts +4 -4
- package/es/_internal/selection/src/Selection.d.ts +115 -13
- package/es/_internal/selection/styles/light.d.ts +14 -1
- package/es/_mixins/use-theme.mjs +1 -1
- package/es/_utils/index.d.ts +1 -0
- package/es/_utils/naive/prop.d.ts +19 -10
- package/es/_utils/naive/prop.mjs +21 -21
- package/es/_utils/ts/ts.d.ts +3 -0
- package/es/alert/src/Alert.d.ts +2 -2
- package/es/anchor/index.d.ts +1 -0
- package/es/anchor/src/AnchorAdapter.d.ts +1 -1
- package/es/anchor/src/BaseAnchor.mjs +29 -5
- package/es/anchor/src/Link.d.ts +3 -2
- package/es/anchor/src/Link.mjs +5 -2
- package/es/anchor/src/public-types.d.ts +5 -0
- package/es/anchor/src/public-types.mjs +1 -0
- package/es/auto-complete/src/AutoComplete.d.ts +155 -14
- package/es/auto-complete/styles/light.d.ts +14 -1
- package/es/avatar-group/index.d.ts +3 -2
- package/es/avatar-group/src/AvatarGroup.d.ts +1 -4
- package/es/avatar-group/src/generic-public-types.d.ts +18 -0
- package/es/avatar-group/src/generic-public-types.mjs +1 -0
- package/es/avatar-group/src/public-types.d.ts +10 -0
- package/es/avatar-group/src/public-types.mjs +1 -0
- package/es/back-top/src/BackTop.d.ts +1 -1
- package/es/badge/src/Badge.d.ts +1 -1
- package/es/button/src/Button.d.ts +1 -1
- package/es/card/src/Card.d.ts +7 -2
- package/es/card/src/Card.mjs +3 -1
- package/es/carousel/src/Carousel.d.ts +4 -4
- package/es/carousel/src/Carousel.mjs +2 -2
- package/es/carousel/src/CarouselDots.d.ts +2 -2
- package/es/carousel/src/CarouselItem.mjs +1 -1
- package/es/cascader/src/Cascader.d.ts +163 -20
- package/es/cascader/src/CascaderMenu.d.ts +56 -4
- package/es/cascader/src/CascaderOption.d.ts +56 -4
- package/es/cascader/src/CascaderSelectMenu.d.ts +57 -5
- package/es/cascader/src/CascaderSubmenu.d.ts +56 -4
- package/es/cascader/styles/light.d.ts +14 -1
- package/es/color-picker/src/ColorInputUnit.d.ts +26 -2
- package/es/color-picker/src/ColorPicker.d.ts +128 -11
- package/es/color-picker/src/ColorPickerTrigger.mjs +2 -1
- package/es/color-picker/src/utils.d.ts +2 -0
- package/es/color-picker/src/utils.mjs +23 -0
- package/es/color-picker/styles/light.d.ts +17 -4
- package/es/components.d.ts +1 -0
- package/es/components.mjs +1 -0
- package/es/config-provider/src/ConfigProvider.d.ts +1 -1
- package/es/config-provider/src/ConfigProvider.mjs +1 -1
- package/es/config-provider/src/internal-interface.d.ts +2 -0
- package/es/data-table/src/DataTable.d.ts +690 -68
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +334 -26
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +332 -24
- package/es/data-table/src/TableParts/Body.d.ts +332 -24
- package/es/data-table/src/TableParts/Cell.mjs +1 -1
- package/es/data-table/src/TableParts/Header.d.ts +332 -24
- package/es/data-table/src/interface.d.ts +253 -18
- package/es/data-table/src/use-sorter.d.ts +2 -5
- package/es/data-table/src/use-table-data.d.ts +1 -4
- package/es/data-table/src/utils.mjs +4 -1
- package/es/data-table/styles/light.d.ts +84 -6
- package/es/date-picker/src/DatePicker.d.ts +229 -23
- package/es/date-picker/src/DatePicker.mjs +1 -1
- package/es/date-picker/src/panel/date.d.ts +110 -10
- package/es/date-picker/src/panel/daterange.d.ts +111 -11
- package/es/date-picker/src/panel/datetime.d.ts +111 -11
- package/es/date-picker/src/panel/datetime.mjs +1 -1
- package/es/date-picker/src/panel/datetimerange.d.ts +112 -12
- package/es/date-picker/src/panel/datetimerange.mjs +2 -2
- package/es/date-picker/src/panel/month.d.ts +110 -10
- package/es/date-picker/src/panel/monthrange.d.ts +111 -11
- package/es/date-picker/src/panel/panelHeader.d.ts +436 -36
- package/es/date-picker/src/panel/use-calendar.d.ts +109 -9
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +110 -10
- package/es/date-picker/src/panel/use-dual-calendar.mjs +3 -3
- package/es/date-picker/src/panel/use-panel-common.d.ts +109 -9
- package/es/date-picker/src/panel/use-panel-common.mjs +1 -1
- package/es/date-picker/src/props.d.ts +85 -7
- package/es/date-picker/src/props.mjs +1 -1
- package/es/date-picker/src/utils.d.ts +2 -1
- package/es/date-picker/src/utils.mjs +4 -1
- package/es/date-picker/styles/light.d.ts +28 -2
- package/es/dialog/src/Dialog.d.ts +9 -6
- package/es/dialog/src/Dialog.mjs +1 -0
- package/es/dialog/src/DialogEnvironment.d.ts +11 -4
- package/es/dialog/src/DialogEnvironment.mjs +3 -0
- package/es/dialog/src/DialogProvider.d.ts +38 -34
- package/es/dialog/src/dialogProps.d.ts +2 -1
- package/es/dialog/src/dialogProps.mjs +2 -1
- package/es/drawer/src/Drawer.d.ts +4 -4
- package/es/drawer/src/DrawerBodyWrapper.d.ts +1 -1
- package/es/dropdown/src/Dropdown.d.ts +165 -24
- package/es/dropdown/src/DropdownMenu.d.ts +2 -2
- package/es/dropdown/src/DropdownOption.d.ts +2 -2
- package/es/dropdown/styles/light.d.ts +16 -3
- package/es/dynamic-input/src/DynamicInput.d.ts +153 -12
- package/es/dynamic-input/src/InputPreset.d.ts +52 -4
- package/es/dynamic-input/src/PairPreset.d.ts +52 -4
- package/es/dynamic-input/styles/light.d.ts +14 -1
- package/es/dynamic-tags/src/DynamicTags.d.ts +153 -12
- package/es/dynamic-tags/styles/light.d.ts +14 -1
- package/es/element/src/Element.mjs +1 -1
- package/es/ellipsis/src/Ellipsis.d.ts +154 -11
- package/es/ellipsis/src/PerformantEllipsis.d.ts +84 -6
- package/es/ellipsis/styles/light.d.ts +14 -1
- package/es/empty/src/Empty.d.ts +1 -1
- package/es/form/src/FormItem.d.ts +8 -2
- package/es/form/src/FormItem.mjs +6 -3
- package/es/form/src/FormItemCol.d.ts +7 -1
- package/es/form/src/FormItemGridItem.d.ts +7 -1
- package/es/form/src/FormItemRow.d.ts +7 -1
- package/es/form/src/utils.d.ts +1 -1
- package/es/form/src/utils.mjs +1 -1
- package/es/global-style/src/GlobalStyle.mjs +1 -1
- package/es/gradient-text/src/GradientText.d.ts +2 -2
- package/es/grid/src/GridItem.d.ts +1 -1
- package/es/heatmap/index.d.ts +6 -0
- package/es/heatmap/index.mjs +4 -0
- package/es/heatmap/src/ColorIndicator.d.ts +25 -0
- package/es/heatmap/src/ColorIndicator.mjs +41 -0
- package/es/heatmap/src/Heatmap.d.ts +385 -0
- package/es/heatmap/src/Heatmap.mjs +333 -0
- package/es/heatmap/src/Rect.d.ts +57 -0
- package/es/heatmap/src/Rect.mjs +67 -0
- package/es/heatmap/src/animationStyle.d.ts +6 -0
- package/es/heatmap/src/animationStyle.mjs +51 -0
- package/es/heatmap/src/interface.d.ts +7 -0
- package/es/heatmap/src/interface.mjs +1 -0
- package/es/heatmap/src/public-types.d.ts +16 -0
- package/es/heatmap/src/public-types.mjs +1 -0
- package/es/heatmap/src/styles/index.cssr.d.ts +2 -0
- package/es/heatmap/src/styles/index.cssr.mjs +102 -0
- package/es/heatmap/src/styles/rtl.cssr.d.ts +2 -0
- package/es/heatmap/src/styles/rtl.cssr.mjs +4 -0
- package/es/heatmap/src/theme.d.ts +8 -0
- package/es/heatmap/src/theme.mjs +7 -0
- package/es/heatmap/src/utils/index.d.ts +32 -0
- package/es/heatmap/src/utils/index.mjs +148 -0
- package/es/heatmap/styles/dark.d.ts +3 -0
- package/es/heatmap/styles/dark.mjs +16 -0
- package/es/heatmap/styles/index.d.ts +3 -0
- package/es/heatmap/styles/index.mjs +2 -0
- package/es/heatmap/styles/light.d.ts +31 -0
- package/es/heatmap/styles/light.mjs +45 -0
- package/es/heatmap/styles/rtl.d.ts +2 -0
- package/es/heatmap/styles/rtl.mjs +5 -0
- package/es/highlight/src/utils.mjs +10 -10
- package/es/icon/src/styles/index.cssr.mjs +0 -1
- package/es/image/index.d.ts +3 -1
- package/es/image/index.mjs +2 -1
- package/es/image/src/Image.d.ts +133 -23
- package/es/image/src/Image.mjs +48 -23
- package/es/image/src/ImageGroup.d.ts +200 -35
- package/es/image/src/ImageGroup.mjs +130 -26
- package/es/image/src/ImagePreview.d.ts +258 -23
- package/es/image/src/ImagePreview.mjs +84 -42
- package/es/image/src/interface.d.ts +42 -3
- package/es/image/src/public-types.d.ts +14 -0
- package/es/image/styles/light.d.ts +14 -1
- package/es/input/src/Input.d.ts +146 -12
- package/es/input/src/Input.mjs +6 -4
- package/es/input/src/InputGroupLabel.d.ts +129 -22
- package/es/input/src/InputGroupLabel.mjs +14 -8
- package/es/input/styles/dark.d.ts +139 -2
- package/es/input/styles/dark.mjs +114 -108
- package/es/input/styles/light.d.ts +76 -3
- package/es/input/styles/light.mjs +7 -2
- package/es/input-number/src/InputNumber.d.ts +152 -11
- package/es/input-number/styles/light.d.ts +14 -1
- package/es/input-otp/src/InputOtp.d.ts +158 -12
- package/es/input-otp/src/InputOtp.mjs +12 -4
- package/es/input-otp/src/public-types.d.ts +1 -0
- package/es/input-otp/src/styles/index.cssr.mjs +12 -3
- package/es/input-otp/styles/dark.mjs +1 -1
- package/es/input-otp/styles/light.d.ts +14 -1
- package/es/layout/src/LayoutSider.d.ts +1 -1
- package/es/legacy-transfer/src/Transfer.d.ts +154 -13
- package/es/legacy-transfer/src/TransferFilter.d.ts +52 -4
- package/es/legacy-transfer/src/TransferList.d.ts +52 -4
- package/es/legacy-transfer/src/TransferListItem.d.ts +52 -4
- package/es/legacy-transfer/styles/light.d.ts +14 -1
- package/es/locales/common/arDZ.mjs +6 -0
- package/es/locales/common/azAZ.mjs +6 -0
- package/es/locales/common/csCZ.mjs +6 -0
- package/es/locales/common/daDK.d.ts +3 -0
- package/es/locales/common/daDK.mjs +130 -0
- package/es/locales/common/deDE.mjs +6 -0
- package/es/locales/common/enGB.mjs +6 -0
- package/es/locales/common/enUS.d.ts +6 -0
- package/es/locales/common/enUS.mjs +6 -0
- package/es/locales/common/eo.mjs +6 -0
- package/es/locales/common/esAR.mjs +6 -0
- package/es/locales/common/etEE.mjs +6 -0
- package/es/locales/common/faIR.mjs +6 -0
- package/es/locales/common/frFR.mjs +6 -0
- package/es/locales/common/idID.mjs +6 -0
- package/es/locales/common/itIT.mjs +6 -0
- package/es/locales/common/jaJP.mjs +6 -0
- package/es/locales/common/kmKH.mjs +6 -0
- package/es/locales/common/koKR.mjs +6 -0
- package/es/locales/common/nbNO.mjs +6 -0
- package/es/locales/common/nlNL.mjs +6 -0
- package/es/locales/common/plPL.mjs +6 -0
- package/es/locales/common/ptBR.mjs +6 -0
- package/es/locales/common/ruRU.mjs +6 -0
- package/es/locales/common/skSK.mjs +6 -0
- package/es/locales/common/svSE.mjs +8 -2
- package/es/locales/common/thTH.mjs +6 -0
- package/es/locales/common/trTR.mjs +6 -0
- package/es/locales/common/ugCN.mjs +6 -0
- package/es/locales/common/ukUA.mjs +6 -0
- package/es/locales/common/uzUZ.mjs +6 -0
- package/es/locales/common/viVN.mjs +6 -0
- package/es/locales/common/zhCN.mjs +6 -0
- package/es/locales/common/zhTW.mjs +6 -0
- package/es/locales/date/daDK.d.ts +3 -0
- package/es/locales/date/daDK.mjs +6 -0
- package/es/locales/index.d.ts +2 -0
- package/es/locales/index.mjs +2 -0
- package/es/locales/utils/index.mjs +1 -1
- package/es/log/src/Log.d.ts +1 -1
- package/es/log/src/Log.mjs +1 -1
- package/es/marquee/src/Marquee.mjs +12 -10
- package/es/mention/src/Mention.d.ts +155 -14
- package/es/mention/styles/light.d.ts +14 -1
- package/es/menu/src/Menu.d.ts +314 -28
- package/es/menu/src/MenuOption.d.ts +113 -9
- package/es/menu/src/MenuOption.mjs +4 -3
- package/es/menu/src/MenuOptionContent.d.ts +1 -1
- package/es/menu/src/MenuOptionGroup.d.ts +1 -1
- package/es/menu/src/MenuOptionGroup.mjs +11 -4
- package/es/menu/src/Submenu.d.ts +114 -10
- package/es/menu/src/use-menu-child.d.ts +2 -0
- package/es/menu/src/use-menu-child.mjs +2 -1
- package/es/menu/styles/light.d.ts +33 -7
- package/es/message/src/Message.d.ts +1 -0
- package/es/message/src/Message.mjs +3 -1
- package/es/message/src/MessageProvider.d.ts +10 -1
- package/es/message/src/styles/index.cssr.mjs +1 -0
- package/es/message/styles/light.d.ts +1 -0
- package/es/message/styles/light.mjs +2 -1
- package/es/modal/src/BodyWrapper.d.ts +13 -7
- package/es/modal/src/BodyWrapper.mjs +4 -3
- package/es/modal/src/Modal.d.ts +32 -15
- package/es/modal/src/Modal.mjs +14 -6
- package/es/modal/src/ModalEnvironment.d.ts +22 -10
- package/es/modal/src/ModalEnvironment.mjs +1 -1
- package/es/modal/src/ModalProvider.d.ts +2 -1
- package/es/modal/src/ModalProvider.mjs +4 -2
- package/es/modal/src/presetProps.d.ts +3 -2
- package/es/modal/src/styles/index.cssr.mjs +4 -2
- package/es/notification/src/Notification.d.ts +2 -2
- package/es/notification/src/NotificationEnvironment.d.ts +1 -1
- package/es/notification/src/NotificationProvider.d.ts +5 -5
- package/es/number-animation/src/NumberAnimation.mjs +1 -1
- package/es/pagination/src/Pagination.d.ts +460 -33
- package/es/pagination/styles/light.d.ts +42 -3
- package/es/popconfirm/src/Popconfirm.d.ts +163 -22
- package/es/popconfirm/src/Popconfirm.mjs +3 -3
- package/es/popconfirm/src/PopconfirmPanel.d.ts +3 -3
- package/es/popconfirm/styles/light.d.ts +14 -1
- package/es/popover/src/Popover.d.ts +133 -16
- package/es/popover/src/PopoverBody.d.ts +129 -12
- package/es/popover/src/PopoverBody.mjs +8 -4
- package/es/popover/src/styles/index.cssr.mjs +1 -1
- package/es/popover/src/styles/rtl.cssr.d.ts +2 -0
- package/es/popover/src/styles/rtl.cssr.mjs +5 -0
- package/es/popover/styles/dark.mjs +4 -0
- package/es/popover/styles/index.d.ts +1 -0
- package/es/popover/styles/index.mjs +2 -1
- package/es/popover/styles/light.d.ts +27 -2
- package/es/popover/styles/light.mjs +7 -2
- package/es/popover/styles/rtl.d.ts +2 -0
- package/es/popover/styles/rtl.mjs +7 -0
- package/es/popselect/src/Popselect.d.ts +217 -76
- package/es/popselect/src/PopselectPanel.d.ts +55 -7
- package/es/popselect/styles/light.d.ts +14 -1
- package/es/progress/src/Circle.d.ts +1 -1
- package/es/progress/src/Circle.mjs +14 -3
- package/es/progress/src/Progress.d.ts +1 -1
- package/es/radio/src/Radio.mjs +5 -5
- package/es/radio/src/RadioButton.d.ts +2 -2
- package/es/radio/src/styles/radio.cssr.mjs +3 -7
- package/es/rate/src/Rate.d.ts +1 -1
- package/es/result/src/Result.d.ts +1 -1
- package/es/select/src/Select.d.ts +164 -21
- package/es/select/styles/light.d.ts +14 -1
- package/es/styles.d.ts +3 -3
- package/es/styles.mjs +3 -3
- package/es/tabs/src/Tab.d.ts +3 -3
- package/es/tabs/src/Tabs.d.ts +1 -1
- package/es/tabs/src/Tabs.mjs +1 -1
- package/es/tabs/src/styles/index.cssr.mjs +4 -4
- package/es/tag/src/Tag.d.ts +1 -1
- package/es/theme-editor/src/ThemeEditor.mjs +1 -1
- package/es/themes/dark.mjs +2 -0
- package/es/themes/light.mjs +2 -0
- package/es/time-picker/src/Panel.d.ts +59 -11
- package/es/time-picker/src/TimePicker.d.ts +156 -15
- package/es/time-picker/styles/light.d.ts +14 -1
- package/es/timeline/src/TimelineItem.d.ts +1 -1
- package/es/tooltip/src/Tooltip.d.ts +166 -25
- package/es/tooltip/styles/light.d.ts +16 -3
- package/es/transfer/src/Transfer.d.ts +154 -13
- package/es/transfer/src/TransferFilter.d.ts +52 -4
- package/es/transfer/src/TransferList.d.ts +52 -4
- package/es/transfer/src/TransferListItem.d.ts +52 -4
- package/es/transfer/styles/light.d.ts +14 -1
- package/es/tree/src/Tree.d.ts +42 -38
- package/es/tree/src/Tree.mjs +3 -1
- package/es/tree/src/TreeNode.d.ts +2 -2
- package/es/tree/src/TreeNodeContent.d.ts +3 -3
- package/es/tree/src/styles/index.cssr.mjs +7 -2
- package/es/tree/styles/light.d.ts +4 -4
- package/es/tree-select/src/TreeSelect.d.ts +172 -29
- package/es/tree-select/styles/index.d.ts +1 -0
- package/es/tree-select/styles/index.mjs +2 -1
- package/es/tree-select/styles/light.d.ts +22 -9
- package/es/tree-select/styles/rtl.d.ts +2 -0
- package/es/tree-select/styles/rtl.mjs +11 -0
- package/es/typography/src/create-header.d.ts +1 -1
- package/es/typography/src/headers.d.ts +6 -6
- package/es/upload/src/Upload.d.ts +1 -0
- package/es/upload/src/Upload.mjs +6 -3
- package/es/upload/src/UploadFile.d.ts +8 -6
- package/es/upload/src/UploadFile.mjs +1 -1
- package/es/upload/src/icons.d.ts +2 -2
- package/es/upload/src/icons.mjs +22 -18
- package/es/upload/src/styles/rtl.cssr.d.ts +2 -0
- package/es/upload/src/styles/rtl.cssr.mjs +5 -0
- package/es/upload/styles/index.d.ts +1 -0
- package/es/upload/styles/index.mjs +2 -1
- package/es/upload/styles/rtl.d.ts +2 -0
- package/es/upload/styles/rtl.mjs +5 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/virtual-list/src/VirtualList.d.ts +1 -1
- package/generic/AvatarGroup.vue +26 -0
- package/generic/index.ts +1 -0
- package/lib/_internal/icon/src/styles/index.cssr.js +0 -1
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +3 -3
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +4 -4
- package/lib/_internal/selection/src/Selection.d.ts +115 -13
- package/lib/_internal/selection/styles/light.d.ts +14 -1
- package/lib/_utils/index.d.ts +1 -0
- package/lib/_utils/naive/prop.d.ts +19 -10
- package/lib/_utils/naive/prop.js +21 -21
- package/lib/_utils/ts/ts.d.ts +3 -0
- package/lib/alert/src/Alert.d.ts +2 -2
- package/lib/anchor/index.d.ts +1 -0
- package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
- package/lib/anchor/src/AnchorAdapter.js +17 -7
- package/lib/anchor/src/BaseAnchor.js +30 -5
- package/lib/anchor/src/Link.d.ts +3 -2
- package/lib/anchor/src/Link.js +4 -1
- package/lib/anchor/src/public-types.d.ts +5 -0
- package/lib/anchor/src/public-types.js +2 -0
- package/lib/auto-complete/src/AutoComplete.d.ts +155 -14
- package/lib/auto-complete/styles/light.d.ts +14 -1
- package/lib/avatar-group/index.d.ts +3 -2
- package/lib/avatar-group/src/AvatarGroup.d.ts +1 -4
- package/lib/avatar-group/src/generic-public-types.d.ts +18 -0
- package/lib/avatar-group/src/generic-public-types.js +2 -0
- package/lib/avatar-group/src/public-types.d.ts +10 -0
- package/lib/avatar-group/src/public-types.js +2 -0
- package/lib/back-top/src/BackTop.d.ts +1 -1
- package/lib/badge/src/Badge.d.ts +1 -1
- package/lib/button/src/Button.d.ts +1 -1
- package/lib/card/src/Card.d.ts +7 -2
- package/lib/card/src/Card.js +3 -2
- package/lib/carousel/src/Carousel.d.ts +4 -4
- package/lib/carousel/src/Carousel.js +19 -9
- package/lib/carousel/src/CarouselDots.d.ts +2 -2
- package/lib/cascader/src/Cascader.d.ts +163 -20
- package/lib/cascader/src/CascaderMenu.d.ts +56 -4
- package/lib/cascader/src/CascaderOption.d.ts +56 -4
- package/lib/cascader/src/CascaderSelectMenu.d.ts +57 -5
- package/lib/cascader/src/CascaderSubmenu.d.ts +56 -4
- package/lib/cascader/styles/light.d.ts +14 -1
- package/lib/color-picker/src/ColorInputUnit.d.ts +26 -2
- package/lib/color-picker/src/ColorPicker.d.ts +128 -11
- package/lib/color-picker/src/ColorPickerTrigger.js +2 -1
- package/lib/color-picker/src/utils.d.ts +2 -0
- package/lib/color-picker/src/utils.js +26 -0
- package/lib/color-picker/styles/light.d.ts +14 -1
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -0
- package/lib/config-provider/src/ConfigProvider.d.ts +1 -1
- package/lib/config-provider/src/internal-interface.d.ts +2 -0
- package/lib/data-table/src/DataTable.d.ts +674 -52
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +333 -25
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +332 -24
- package/lib/data-table/src/TableParts/Body.d.ts +332 -24
- package/lib/data-table/src/TableParts/Header.d.ts +332 -24
- package/lib/data-table/src/interface.d.ts +253 -18
- package/lib/data-table/src/use-sorter.d.ts +2 -5
- package/lib/data-table/src/use-table-data.d.ts +1 -4
- package/lib/data-table/src/utils.js +2 -1
- package/lib/data-table/styles/light.d.ts +84 -6
- package/lib/date-picker/src/DatePicker.d.ts +229 -23
- package/lib/date-picker/src/DatePicker.js +1 -1
- package/lib/date-picker/src/panel/date.d.ts +110 -10
- package/lib/date-picker/src/panel/daterange.d.ts +111 -11
- package/lib/date-picker/src/panel/datetime.d.ts +110 -10
- package/lib/date-picker/src/panel/datetime.js +1 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +111 -11
- package/lib/date-picker/src/panel/datetimerange.js +2 -2
- package/lib/date-picker/src/panel/month.d.ts +110 -10
- package/lib/date-picker/src/panel/monthrange.d.ts +111 -11
- package/lib/date-picker/src/panel/panelHeader.d.ts +436 -36
- package/lib/date-picker/src/panel/use-calendar.d.ts +109 -9
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +110 -10
- package/lib/date-picker/src/panel/use-dual-calendar.js +3 -3
- package/lib/date-picker/src/panel/use-panel-common.d.ts +109 -9
- package/lib/date-picker/src/panel/use-panel-common.js +1 -1
- package/lib/date-picker/src/props.d.ts +85 -7
- package/lib/date-picker/src/props.js +1 -1
- package/lib/date-picker/src/utils.d.ts +2 -1
- package/lib/date-picker/src/utils.js +5 -1
- package/lib/date-picker/styles/light.d.ts +28 -2
- package/lib/dialog/src/Dialog.d.ts +5 -2
- package/lib/dialog/src/Dialog.js +1 -1
- package/lib/dialog/src/DialogEnvironment.d.ts +11 -4
- package/lib/dialog/src/DialogEnvironment.js +3 -3
- package/lib/dialog/src/DialogProvider.d.ts +38 -34
- package/lib/dialog/src/dialogProps.d.ts +2 -1
- package/lib/dialog/src/dialogProps.js +2 -1
- package/lib/drawer/src/Drawer.d.ts +4 -4
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +162 -21
- package/lib/dropdown/src/DropdownMenu.d.ts +2 -2
- package/lib/dropdown/styles/light.d.ts +14 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +153 -12
- package/lib/dynamic-input/src/InputPreset.d.ts +52 -4
- package/lib/dynamic-input/src/PairPreset.d.ts +52 -4
- package/lib/dynamic-input/styles/light.d.ts +14 -1
- package/lib/dynamic-tags/src/DynamicTags.d.ts +153 -12
- package/lib/dynamic-tags/styles/light.d.ts +14 -1
- package/lib/ellipsis/src/Ellipsis.d.ts +154 -11
- package/lib/ellipsis/src/PerformantEllipsis.d.ts +84 -6
- package/lib/ellipsis/src/PerformantEllipsis.js +17 -7
- package/lib/ellipsis/styles/light.d.ts +14 -1
- package/lib/empty/src/Empty.d.ts +1 -1
- package/lib/form/src/FormItem.d.ts +8 -2
- package/lib/form/src/FormItem.js +3 -2
- package/lib/form/src/FormItemCol.d.ts +7 -1
- package/lib/form/src/FormItemCol.js +17 -7
- package/lib/form/src/FormItemGridItem.d.ts +7 -1
- package/lib/form/src/FormItemGridItem.js +17 -7
- package/lib/form/src/FormItemRow.d.ts +7 -1
- package/lib/form/src/FormItemRow.js +17 -7
- package/lib/form/src/utils.d.ts +1 -1
- package/lib/gradient-text/src/GradientText.d.ts +2 -2
- package/lib/grid/src/GridItem.d.ts +1 -1
- package/lib/heatmap/index.d.ts +6 -0
- package/lib/heatmap/index.js +27 -0
- package/lib/heatmap/src/ColorIndicator.d.ts +25 -0
- package/lib/heatmap/src/ColorIndicator.js +27 -0
- package/lib/heatmap/src/Heatmap.d.ts +385 -0
- package/lib/heatmap/src/Heatmap.js +248 -0
- package/lib/heatmap/src/Rect.d.ts +57 -0
- package/lib/heatmap/src/Rect.js +64 -0
- package/lib/heatmap/src/animationStyle.d.ts +6 -0
- package/lib/heatmap/src/animationStyle.js +52 -0
- package/lib/heatmap/src/interface.d.ts +7 -0
- package/lib/heatmap/src/interface.js +2 -0
- package/lib/heatmap/src/public-types.d.ts +16 -0
- package/lib/heatmap/src/public-types.js +2 -0
- package/lib/heatmap/src/styles/index.cssr.d.ts +2 -0
- package/lib/heatmap/src/styles/index.cssr.js +107 -0
- package/lib/heatmap/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/heatmap/src/styles/rtl.cssr.js +9 -0
- package/lib/heatmap/src/theme.d.ts +8 -0
- package/lib/heatmap/src/theme.js +10 -0
- package/lib/heatmap/src/utils/index.d.ts +32 -0
- package/lib/heatmap/src/utils/index.js +135 -0
- package/lib/heatmap/styles/dark.d.ts +3 -0
- package/lib/heatmap/styles/dark.js +13 -0
- package/lib/heatmap/styles/index.d.ts +3 -0
- package/lib/heatmap/styles/index.js +10 -0
- package/lib/heatmap/styles/light.d.ts +31 -0
- package/lib/heatmap/styles/light.js +39 -0
- package/lib/heatmap/styles/rtl.d.ts +2 -0
- package/lib/heatmap/styles/rtl.js +11 -0
- package/lib/highlight/src/utils.js +10 -21
- package/lib/icon/src/styles/index.cssr.js +0 -1
- package/lib/image/index.d.ts +3 -1
- package/lib/image/index.js +4 -1
- package/lib/image/src/Image.d.ts +133 -23
- package/lib/image/src/Image.js +43 -23
- package/lib/image/src/ImageGroup.d.ts +200 -35
- package/lib/image/src/ImageGroup.js +111 -26
- package/lib/image/src/ImagePreview.d.ts +258 -23
- package/lib/image/src/ImagePreview.js +60 -33
- package/lib/image/src/interface.d.ts +42 -3
- package/lib/image/src/public-types.d.ts +14 -0
- package/lib/image/styles/light.d.ts +14 -1
- package/lib/input/src/Input.d.ts +146 -12
- package/lib/input/src/Input.js +24 -12
- package/lib/input/src/InputGroupLabel.d.ts +129 -22
- package/lib/input/src/InputGroupLabel.js +8 -6
- package/lib/input/styles/dark.d.ts +139 -2
- package/lib/input/styles/dark.js +35 -29
- package/lib/input/styles/light.d.ts +76 -3
- package/lib/input/styles/light.js +7 -2
- package/lib/input-number/src/InputNumber.d.ts +152 -11
- package/lib/input-number/styles/light.d.ts +14 -1
- package/lib/input-otp/src/InputOtp.d.ts +158 -12
- package/lib/input-otp/src/InputOtp.js +12 -16
- package/lib/input-otp/src/public-types.d.ts +1 -0
- package/lib/input-otp/src/styles/index.cssr.js +11 -2
- package/lib/input-otp/styles/dark.js +1 -1
- package/lib/input-otp/styles/light.d.ts +14 -1
- package/lib/layout/src/LayoutSider.d.ts +1 -1
- package/lib/legacy-transfer/src/Transfer.d.ts +154 -13
- package/lib/legacy-transfer/src/TransferFilter.d.ts +52 -4
- package/lib/legacy-transfer/src/TransferList.d.ts +52 -4
- package/lib/legacy-transfer/src/TransferListItem.d.ts +52 -4
- package/lib/legacy-transfer/styles/light.d.ts +14 -1
- package/lib/locales/common/arDZ.js +6 -0
- package/lib/locales/common/azAZ.js +6 -0
- package/lib/locales/common/csCZ.js +6 -0
- package/lib/locales/common/daDK.d.ts +3 -0
- package/lib/locales/common/daDK.js +132 -0
- package/lib/locales/common/deDE.js +6 -0
- package/lib/locales/common/enGB.js +6 -0
- package/lib/locales/common/enUS.d.ts +6 -0
- package/lib/locales/common/enUS.js +6 -0
- package/lib/locales/common/eo.js +6 -0
- package/lib/locales/common/esAR.js +6 -0
- package/lib/locales/common/etEE.js +6 -0
- package/lib/locales/common/faIR.js +6 -0
- package/lib/locales/common/frFR.js +6 -0
- package/lib/locales/common/idID.js +6 -0
- package/lib/locales/common/itIT.js +6 -0
- package/lib/locales/common/jaJP.js +6 -0
- package/lib/locales/common/kmKH.js +6 -0
- package/lib/locales/common/koKR.js +6 -0
- package/lib/locales/common/nbNO.js +6 -0
- package/lib/locales/common/nlNL.js +6 -0
- package/lib/locales/common/plPL.js +6 -0
- package/lib/locales/common/ptBR.js +6 -0
- package/lib/locales/common/ruRU.js +6 -0
- package/lib/locales/common/skSK.js +6 -0
- package/lib/locales/common/svSE.js +8 -2
- package/lib/locales/common/thTH.js +6 -0
- package/lib/locales/common/trTR.js +6 -0
- package/lib/locales/common/ugCN.js +6 -0
- package/lib/locales/common/ukUA.js +6 -0
- package/lib/locales/common/uzUZ.js +6 -0
- package/lib/locales/common/viVN.js +6 -0
- package/lib/locales/common/zhCN.js +6 -0
- package/lib/locales/common/zhTW.js +6 -0
- package/lib/locales/date/daDK.d.ts +3 -0
- package/lib/locales/date/daDK.js +8 -0
- package/lib/locales/index.d.ts +2 -0
- package/lib/locales/index.js +6 -2
- package/lib/log/src/Log.d.ts +1 -1
- package/lib/marquee/src/Marquee.js +4 -3
- package/lib/mention/src/Mention.d.ts +155 -14
- package/lib/mention/styles/light.d.ts +14 -1
- package/lib/menu/src/Menu.d.ts +314 -28
- package/lib/menu/src/MenuOption.d.ts +113 -9
- package/lib/menu/src/MenuOption.js +6 -4
- package/lib/menu/src/MenuOptionContent.d.ts +1 -1
- package/lib/menu/src/MenuOptionGroup.d.ts +1 -1
- package/lib/menu/src/MenuOptionGroup.js +8 -2
- package/lib/menu/src/Submenu.d.ts +114 -10
- package/lib/menu/src/use-menu-child.d.ts +2 -0
- package/lib/menu/src/use-menu-child.js +2 -1
- package/lib/menu/styles/light.d.ts +28 -2
- package/lib/message/src/Message.d.ts +1 -0
- package/lib/message/src/Message.js +3 -2
- package/lib/message/src/MessageProvider.d.ts +10 -1
- package/lib/message/src/styles/index.cssr.js +1 -0
- package/lib/message/styles/light.d.ts +1 -0
- package/lib/message/styles/light.js +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +10 -4
- package/lib/modal/src/BodyWrapper.js +7 -3
- package/lib/modal/src/Modal.d.ts +28 -11
- package/lib/modal/src/Modal.js +10 -4
- package/lib/modal/src/ModalEnvironment.d.ts +22 -10
- package/lib/modal/src/ModalEnvironment.js +18 -8
- package/lib/modal/src/ModalProvider.d.ts +2 -1
- package/lib/modal/src/ModalProvider.js +4 -2
- package/lib/modal/src/presetProps.d.ts +2 -1
- package/lib/modal/src/styles/index.cssr.js +3 -1
- package/lib/notification/src/Notification.d.ts +2 -2
- package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
- package/lib/notification/src/NotificationProvider.d.ts +5 -5
- package/lib/pagination/src/Pagination.d.ts +460 -33
- package/lib/pagination/styles/light.d.ts +42 -3
- package/lib/popconfirm/src/Popconfirm.d.ts +159 -18
- package/lib/popconfirm/src/Popconfirm.js +20 -15
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/lib/popconfirm/styles/light.d.ts +14 -1
- package/lib/popover/src/Popover.d.ts +133 -16
- package/lib/popover/src/Popover.js +17 -7
- package/lib/popover/src/PopoverBody.d.ts +129 -12
- package/lib/popover/src/PopoverBody.js +5 -2
- package/lib/popover/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/popover/src/styles/rtl.cssr.js +10 -0
- package/lib/popover/styles/dark.js +4 -0
- package/lib/popover/styles/index.d.ts +1 -0
- package/lib/popover/styles/index.js +3 -1
- package/lib/popover/styles/light.d.ts +27 -2
- package/lib/popover/styles/light.js +7 -2
- package/lib/popover/styles/rtl.d.ts +2 -0
- package/lib/popover/styles/rtl.js +13 -0
- package/lib/popselect/src/Popselect.d.ts +213 -72
- package/lib/popselect/src/Popselect.js +17 -7
- package/lib/popselect/src/PopselectPanel.d.ts +55 -7
- package/lib/popselect/styles/light.d.ts +14 -1
- package/lib/preset.js +17 -7
- package/lib/progress/src/Circle.d.ts +1 -1
- package/lib/progress/src/Circle.js +11 -2
- package/lib/progress/src/Progress.d.ts +1 -1
- package/lib/radio/src/Radio.js +2 -2
- package/lib/radio/src/RadioButton.d.ts +2 -2
- package/lib/radio/src/styles/radio.cssr.js +3 -7
- package/lib/rate/src/Rate.d.ts +1 -1
- package/lib/result/src/Result.d.ts +1 -1
- package/lib/select/src/Select.d.ts +164 -21
- package/lib/select/styles/light.d.ts +14 -1
- package/lib/styles.d.ts +3 -3
- package/lib/styles.js +5 -2
- package/lib/tabs/src/Tab.d.ts +3 -3
- package/lib/tabs/src/Tabs.d.ts +1 -1
- package/lib/tabs/src/styles/index.cssr.js +4 -4
- package/lib/tag/src/Tag.d.ts +1 -1
- package/lib/themes/dark.js +103 -101
- package/lib/themes/light.js +102 -100
- package/lib/time-picker/src/Panel.d.ts +59 -11
- package/lib/time-picker/src/TimePicker.d.ts +156 -15
- package/lib/time-picker/styles/light.d.ts +14 -1
- package/lib/timeline/src/TimelineItem.d.ts +1 -1
- package/lib/tooltip/src/Tooltip.d.ts +159 -18
- package/lib/tooltip/styles/light.d.ts +14 -1
- package/lib/transfer/src/Transfer.d.ts +154 -13
- package/lib/transfer/src/TransferFilter.d.ts +52 -4
- package/lib/transfer/src/TransferList.d.ts +52 -4
- package/lib/transfer/src/TransferListItem.d.ts +52 -4
- package/lib/transfer/styles/light.d.ts +14 -1
- package/lib/tree/src/Tree.d.ts +42 -38
- package/lib/tree/src/Tree.js +4 -3
- package/lib/tree/src/TreeNode.d.ts +2 -2
- package/lib/tree/src/TreeNodeContent.d.ts +3 -3
- package/lib/tree/src/styles/index.cssr.js +7 -2
- package/lib/tree-select/src/TreeSelect.d.ts +169 -26
- package/lib/tree-select/styles/index.d.ts +1 -0
- package/lib/tree-select/styles/index.js +3 -1
- package/lib/tree-select/styles/light.d.ts +14 -1
- package/lib/tree-select/styles/rtl.d.ts +2 -0
- package/lib/tree-select/styles/rtl.js +20 -0
- package/lib/typography/src/create-header.d.ts +1 -1
- package/lib/typography/src/headers.d.ts +6 -6
- package/lib/upload/src/Upload.d.ts +1 -0
- package/lib/upload/src/Upload.js +4 -3
- package/lib/upload/src/UploadFile.d.ts +4 -2
- package/lib/upload/src/UploadFile.js +1 -1
- package/lib/upload/src/icons.d.ts +2 -2
- package/lib/upload/src/icons.js +12 -7
- package/lib/upload/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/upload/src/styles/rtl.cssr.js +10 -0
- package/lib/upload/styles/index.d.ts +1 -0
- package/lib/upload/styles/index.js +3 -1
- package/lib/upload/styles/rtl.d.ts +2 -0
- package/lib/upload/styles/rtl.js +11 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/src/VirtualList.d.ts +1 -1
- package/package.json +30 -19
- package/volar.d.ts +24 -22
- package/web-types.json +599 -61
- package/es/avatar-group/src/interface.d.ts +0 -8
- package/lib/avatar-group/src/interface.d.ts +0 -8
- /package/es/{avatar-group/src/interface.mjs → _utils/ts/ts.mjs} +0 -0
- /package/lib/{avatar-group/src/interface.js → _utils/ts/ts.js} +0 -0
package/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "naive-ui",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.43.0",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -282,13 +282,22 @@
|
|
|
282
282
|
"source": {
|
|
283
283
|
"symbol": "NAnchorLink"
|
|
284
284
|
},
|
|
285
|
-
"slots": [
|
|
285
|
+
"slots": [
|
|
286
|
+
{
|
|
287
|
+
"name": "title",
|
|
288
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/anchor",
|
|
289
|
+
"description": "The title of the link.",
|
|
290
|
+
"description-sections": {
|
|
291
|
+
"since": "2.42.0"
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
],
|
|
286
295
|
"attributes": [],
|
|
287
296
|
"props": [
|
|
288
297
|
{
|
|
289
298
|
"name": "title",
|
|
290
299
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/anchor",
|
|
291
|
-
"type": "
|
|
300
|
+
"type": "string",
|
|
292
301
|
"description": "The content of link",
|
|
293
302
|
"default": "undefined"
|
|
294
303
|
},
|
|
@@ -753,7 +762,7 @@
|
|
|
753
762
|
{
|
|
754
763
|
"name": "options",
|
|
755
764
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/avatar",
|
|
756
|
-
"type": "Array<
|
|
765
|
+
"type": "Array<T extends AvatarGroupOption = AvatarGroupOption>",
|
|
757
766
|
"description": "Avatar group options.",
|
|
758
767
|
"default": "[]"
|
|
759
768
|
},
|
|
@@ -777,7 +786,12 @@
|
|
|
777
786
|
{
|
|
778
787
|
"name": "size",
|
|
779
788
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/avatar",
|
|
780
|
-
"type": "
|
|
789
|
+
"type": "'small' | 'medium' | 'large' | number",
|
|
790
|
+
"description": "Avatar's size.",
|
|
791
|
+
"default": "'medium'",
|
|
792
|
+
"description-sections": {
|
|
793
|
+
"since": "2.43.0"
|
|
794
|
+
}
|
|
781
795
|
}
|
|
782
796
|
],
|
|
783
797
|
"js": {
|
|
@@ -1568,6 +1582,16 @@
|
|
|
1568
1582
|
"description-sections": {
|
|
1569
1583
|
"since": "2.38.2"
|
|
1570
1584
|
}
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
"name": "close-focusable",
|
|
1588
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/card",
|
|
1589
|
+
"type": "boolean",
|
|
1590
|
+
"description": "Whether the close button can be focused.",
|
|
1591
|
+
"default": "false",
|
|
1592
|
+
"description-sections": {
|
|
1593
|
+
"since": "2.43.0"
|
|
1594
|
+
}
|
|
1571
1595
|
}
|
|
1572
1596
|
],
|
|
1573
1597
|
"js": {
|
|
@@ -2452,7 +2476,7 @@
|
|
|
2452
2476
|
{
|
|
2453
2477
|
"name": "update:value",
|
|
2454
2478
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/checkbox",
|
|
2455
|
-
"type": "(value: string | number, meta: { actionType: 'check' | 'uncheck', value: string | number }) => void",
|
|
2479
|
+
"type": "(value: (string | number)[], meta: { actionType: 'check' | 'uncheck', value: string | number }) => void",
|
|
2456
2480
|
"description": "Callback when the checkbox group's value changes.",
|
|
2457
2481
|
"default": "undefined",
|
|
2458
2482
|
"description-sections": {
|
|
@@ -3889,7 +3913,7 @@
|
|
|
3889
3913
|
"type": "string"
|
|
3890
3914
|
},
|
|
3891
3915
|
{
|
|
3892
|
-
"name": "
|
|
3916
|
+
"name": "time-picker-format",
|
|
3893
3917
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/date-picker",
|
|
3894
3918
|
"type": "string"
|
|
3895
3919
|
},
|
|
@@ -4412,6 +4436,16 @@
|
|
|
4412
4436
|
"description-sections": {
|
|
4413
4437
|
"since": "2.38.2"
|
|
4414
4438
|
}
|
|
4439
|
+
},
|
|
4440
|
+
{
|
|
4441
|
+
"name": "close-focusable",
|
|
4442
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/dialog",
|
|
4443
|
+
"type": "boolean",
|
|
4444
|
+
"description": "Whether the close button is focusable.",
|
|
4445
|
+
"default": "false",
|
|
4446
|
+
"description-sections": {
|
|
4447
|
+
"since": "2.43.0"
|
|
4448
|
+
}
|
|
4415
4449
|
}
|
|
4416
4450
|
],
|
|
4417
4451
|
"js": {
|
|
@@ -5654,11 +5688,11 @@
|
|
|
5654
5688
|
}
|
|
5655
5689
|
},
|
|
5656
5690
|
{
|
|
5657
|
-
"name": "
|
|
5691
|
+
"name": "NEl",
|
|
5658
5692
|
"description": "Element has many theme variables provided by Naive UI.",
|
|
5659
5693
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/element",
|
|
5660
5694
|
"source": {
|
|
5661
|
-
"symbol": "
|
|
5695
|
+
"symbol": "NEl"
|
|
5662
5696
|
},
|
|
5663
5697
|
"slots": [
|
|
5664
5698
|
{
|
|
@@ -5682,11 +5716,11 @@
|
|
|
5682
5716
|
}
|
|
5683
5717
|
},
|
|
5684
5718
|
{
|
|
5685
|
-
"name": "
|
|
5719
|
+
"name": "NElement",
|
|
5686
5720
|
"description": "Element has many theme variables provided by Naive UI.",
|
|
5687
5721
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/element",
|
|
5688
5722
|
"source": {
|
|
5689
|
-
"symbol": "
|
|
5723
|
+
"symbol": "NElement"
|
|
5690
5724
|
},
|
|
5691
5725
|
"slots": [
|
|
5692
5726
|
{
|
|
@@ -6520,6 +6554,26 @@
|
|
|
6520
6554
|
"description-sections": {
|
|
6521
6555
|
"since": "2.24.0"
|
|
6522
6556
|
}
|
|
6557
|
+
},
|
|
6558
|
+
{
|
|
6559
|
+
"name": "content-class",
|
|
6560
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
6561
|
+
"type": "string",
|
|
6562
|
+
"description": "The class name of the content.",
|
|
6563
|
+
"default": "undefined",
|
|
6564
|
+
"description-sections": {
|
|
6565
|
+
"since": "2.43.0"
|
|
6566
|
+
}
|
|
6567
|
+
},
|
|
6568
|
+
{
|
|
6569
|
+
"name": "content-style",
|
|
6570
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
6571
|
+
"type": "string | object",
|
|
6572
|
+
"description": "The style of the content.",
|
|
6573
|
+
"default": "undefined",
|
|
6574
|
+
"description-sections": {
|
|
6575
|
+
"since": "2.43.0"
|
|
6576
|
+
}
|
|
6523
6577
|
}
|
|
6524
6578
|
],
|
|
6525
6579
|
"js": {
|
|
@@ -6659,6 +6713,16 @@
|
|
|
6659
6713
|
"name": "label-props",
|
|
6660
6714
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
6661
6715
|
"type": "object"
|
|
6716
|
+
},
|
|
6717
|
+
{
|
|
6718
|
+
"name": "content-class",
|
|
6719
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
6720
|
+
"type": "string"
|
|
6721
|
+
},
|
|
6722
|
+
{
|
|
6723
|
+
"name": "content-style",
|
|
6724
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
6725
|
+
"type": "string | object"
|
|
6662
6726
|
}
|
|
6663
6727
|
],
|
|
6664
6728
|
"js": {
|
|
@@ -6813,6 +6877,16 @@
|
|
|
6813
6877
|
"name": "label-props",
|
|
6814
6878
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
6815
6879
|
"type": "object"
|
|
6880
|
+
},
|
|
6881
|
+
{
|
|
6882
|
+
"name": "content-class",
|
|
6883
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
6884
|
+
"type": "string"
|
|
6885
|
+
},
|
|
6886
|
+
{
|
|
6887
|
+
"name": "content-style",
|
|
6888
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
6889
|
+
"type": "string | object"
|
|
6816
6890
|
}
|
|
6817
6891
|
],
|
|
6818
6892
|
"js": {
|
|
@@ -6967,6 +7041,16 @@
|
|
|
6967
7041
|
"name": "label-props",
|
|
6968
7042
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
6969
7043
|
"type": "object"
|
|
7044
|
+
},
|
|
7045
|
+
{
|
|
7046
|
+
"name": "content-class",
|
|
7047
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
7048
|
+
"type": "string"
|
|
7049
|
+
},
|
|
7050
|
+
{
|
|
7051
|
+
"name": "content-style",
|
|
7052
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
7053
|
+
"type": "string | object"
|
|
6970
7054
|
}
|
|
6971
7055
|
],
|
|
6972
7056
|
"js": {
|
|
@@ -7121,6 +7205,16 @@
|
|
|
7121
7205
|
"name": "label-props",
|
|
7122
7206
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
7123
7207
|
"type": "object"
|
|
7208
|
+
},
|
|
7209
|
+
{
|
|
7210
|
+
"name": "content-class",
|
|
7211
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
7212
|
+
"type": "string"
|
|
7213
|
+
},
|
|
7214
|
+
{
|
|
7215
|
+
"name": "content-style",
|
|
7216
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
7217
|
+
"type": "string | object"
|
|
7124
7218
|
}
|
|
7125
7219
|
],
|
|
7126
7220
|
"js": {
|
|
@@ -7191,6 +7285,68 @@
|
|
|
7191
7285
|
"events": []
|
|
7192
7286
|
}
|
|
7193
7287
|
},
|
|
7288
|
+
{
|
|
7289
|
+
"name": "NGi",
|
|
7290
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/grid",
|
|
7291
|
+
"source": {
|
|
7292
|
+
"symbol": "NGi"
|
|
7293
|
+
},
|
|
7294
|
+
"slots": [
|
|
7295
|
+
{
|
|
7296
|
+
"name": "default",
|
|
7297
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/grid",
|
|
7298
|
+
"type": "{ overflow: boolean }",
|
|
7299
|
+
"description": "Grid item content."
|
|
7300
|
+
}
|
|
7301
|
+
],
|
|
7302
|
+
"attributes": [],
|
|
7303
|
+
"props": [
|
|
7304
|
+
{
|
|
7305
|
+
"name": "span",
|
|
7306
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/grid",
|
|
7307
|
+
"type": "number | ResponsiveDescription",
|
|
7308
|
+
"description": "The number of columns occupied by the grid. The grid item would be hidden if it's 0.",
|
|
7309
|
+
"default": "1"
|
|
7310
|
+
},
|
|
7311
|
+
{
|
|
7312
|
+
"name": "offset",
|
|
7313
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/grid",
|
|
7314
|
+
"type": "number | ResponsiveDescription",
|
|
7315
|
+
"description": "The number of intervals to the left of the grid.",
|
|
7316
|
+
"default": "0"
|
|
7317
|
+
},
|
|
7318
|
+
{
|
|
7319
|
+
"name": "suffix",
|
|
7320
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/grid",
|
|
7321
|
+
"type": "boolean",
|
|
7322
|
+
"description": "Grid suffix.",
|
|
7323
|
+
"default": "false"
|
|
7324
|
+
},
|
|
7325
|
+
{
|
|
7326
|
+
"name": "private-offset",
|
|
7327
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/grid",
|
|
7328
|
+
"type": "number"
|
|
7329
|
+
},
|
|
7330
|
+
{
|
|
7331
|
+
"name": "private-span",
|
|
7332
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/grid",
|
|
7333
|
+
"type": "number"
|
|
7334
|
+
},
|
|
7335
|
+
{
|
|
7336
|
+
"name": "private-col-start",
|
|
7337
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/grid",
|
|
7338
|
+
"type": "number"
|
|
7339
|
+
},
|
|
7340
|
+
{
|
|
7341
|
+
"name": "private-show",
|
|
7342
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/grid",
|
|
7343
|
+
"type": "boolean"
|
|
7344
|
+
}
|
|
7345
|
+
],
|
|
7346
|
+
"js": {
|
|
7347
|
+
"events": []
|
|
7348
|
+
}
|
|
7349
|
+
},
|
|
7194
7350
|
{
|
|
7195
7351
|
"name": "NGrid",
|
|
7196
7352
|
"description": "<!--single-column-->\n\nBased on CSS Grid. Responsive. Keep away from IE.\n\n<n-alert type=\"warning\" title=\"Caveats\" :bordered=\"false\">\nDue to technical limitation, <n-text code>n-grid-item</n-text> can't be encapsulated in another component.\n</n-alert>",
|
|
@@ -7339,61 +7495,206 @@
|
|
|
7339
7495
|
}
|
|
7340
7496
|
},
|
|
7341
7497
|
{
|
|
7342
|
-
"name": "
|
|
7343
|
-
"
|
|
7498
|
+
"name": "NHeatmap",
|
|
7499
|
+
"description": "Digital workers have their own wall to paint.\n\nAvailable from `2.43.0`.\n\n<n-alert type=\"info\" title=\"Usage Prerequisites\" :bordered=\"false\">\n <n-text>\n Color-related properties <n-text code>active-colors</n-text> and <n-text code>minimum-color</n-text> have higher priority than <n-text code>color-theme</n-text>. If these three properties are set simultaneously, <n-text code>active-colors</n-text> and <n-text code>minimum-color</n-text> will be used. It is recommended not to set them at the same time.\n </n-text>\n <br />\n <n-text>\n When none are set, the default value built into Naive UI is used - a GitHub-style theme.\n </n-text>\n</n-alert>",
|
|
7500
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7344
7501
|
"source": {
|
|
7345
|
-
"symbol": "
|
|
7502
|
+
"symbol": "NHeatmap"
|
|
7346
7503
|
},
|
|
7347
7504
|
"slots": [
|
|
7348
7505
|
{
|
|
7349
|
-
"name": "
|
|
7350
|
-
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/
|
|
7351
|
-
"
|
|
7352
|
-
"description":
|
|
7506
|
+
"name": "footer",
|
|
7507
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7508
|
+
"description": "Left footer slot, aligned with the left side of heatmap table",
|
|
7509
|
+
"description-sections": {
|
|
7510
|
+
"since": "2.43.0"
|
|
7511
|
+
}
|
|
7512
|
+
},
|
|
7513
|
+
{
|
|
7514
|
+
"name": "indicator",
|
|
7515
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7516
|
+
"description": "Right footer indicator slot, aligned with the right side of heatmap table",
|
|
7517
|
+
"description-sections": {
|
|
7518
|
+
"since": "2.43.0"
|
|
7519
|
+
}
|
|
7520
|
+
},
|
|
7521
|
+
{
|
|
7522
|
+
"name": "indicator-leading-text",
|
|
7523
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7524
|
+
"description": "Leading text for the color level indicator",
|
|
7525
|
+
"description-sections": {
|
|
7526
|
+
"since": "2.43.0"
|
|
7527
|
+
}
|
|
7528
|
+
},
|
|
7529
|
+
{
|
|
7530
|
+
"name": "indicator-trailing-text",
|
|
7531
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7532
|
+
"description": "Trailing text for the color level indicator",
|
|
7533
|
+
"description-sections": {
|
|
7534
|
+
"since": "2.43.0"
|
|
7535
|
+
}
|
|
7536
|
+
},
|
|
7537
|
+
{
|
|
7538
|
+
"name": "tooltip",
|
|
7539
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7540
|
+
"type": "{ timestamp: number, value?: number | null }",
|
|
7541
|
+
"description": "Custom tooltip content",
|
|
7542
|
+
"description-sections": {
|
|
7543
|
+
"since": "2.43.0"
|
|
7544
|
+
}
|
|
7353
7545
|
}
|
|
7354
7546
|
],
|
|
7355
7547
|
"attributes": [],
|
|
7356
7548
|
"props": [
|
|
7357
7549
|
{
|
|
7358
|
-
"name": "
|
|
7359
|
-
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/
|
|
7360
|
-
"type": "
|
|
7361
|
-
"description": "
|
|
7362
|
-
"default": "
|
|
7550
|
+
"name": "active-colors",
|
|
7551
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7552
|
+
"type": "string[]",
|
|
7553
|
+
"description": "Color array arranged from light to dark, higher priority than `color-theme`.",
|
|
7554
|
+
"default": "undefined",
|
|
7555
|
+
"description-sections": {
|
|
7556
|
+
"since": "2.43.0"
|
|
7557
|
+
}
|
|
7363
7558
|
},
|
|
7364
7559
|
{
|
|
7365
|
-
"name": "
|
|
7366
|
-
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/
|
|
7367
|
-
"type": "
|
|
7368
|
-
"description": "
|
|
7369
|
-
"default": "
|
|
7560
|
+
"name": "color-theme",
|
|
7561
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7562
|
+
"type": "'green' | 'blue' | 'orange' | 'purple' | 'red'",
|
|
7563
|
+
"description": "Built-in color theme.",
|
|
7564
|
+
"default": "undefined",
|
|
7565
|
+
"description-sections": {
|
|
7566
|
+
"since": "2.43.0"
|
|
7567
|
+
}
|
|
7370
7568
|
},
|
|
7371
7569
|
{
|
|
7372
|
-
"name": "
|
|
7373
|
-
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/
|
|
7570
|
+
"name": "data",
|
|
7571
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7572
|
+
"type": "Array<{ timestamp: number, value?: number | null }>",
|
|
7573
|
+
"description": "Heatmap data containing timestamp and value.",
|
|
7574
|
+
"default": "[]",
|
|
7575
|
+
"description-sections": {
|
|
7576
|
+
"since": "2.43.0"
|
|
7577
|
+
}
|
|
7578
|
+
},
|
|
7579
|
+
{
|
|
7580
|
+
"name": "loading-data",
|
|
7581
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7582
|
+
"type": "Array<{ timestamp: number, value?: number | null }>",
|
|
7583
|
+
"description": "Data to display in loading status. If item's `value` is `null`, cell is hidden but will occupy place. If. item's `value` is anything but `null`, cell will show loading status.",
|
|
7584
|
+
"default": "undefined",
|
|
7585
|
+
"description-sections": {
|
|
7586
|
+
"since": "2.43.0"
|
|
7587
|
+
}
|
|
7588
|
+
},
|
|
7589
|
+
{
|
|
7590
|
+
"name": "fill-calendar-leading",
|
|
7591
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7374
7592
|
"type": "boolean",
|
|
7375
|
-
"description": "
|
|
7376
|
-
"default": "false"
|
|
7593
|
+
"description": "Whether to fill the leading of calendar grid, suitable for GitHub style recent year view.",
|
|
7594
|
+
"default": "false",
|
|
7595
|
+
"description-sections": {
|
|
7596
|
+
"since": "2.43.0"
|
|
7597
|
+
}
|
|
7377
7598
|
},
|
|
7378
7599
|
{
|
|
7379
|
-
"name": "
|
|
7380
|
-
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/
|
|
7381
|
-
"type": "
|
|
7600
|
+
"name": "first-day-of-week",
|
|
7601
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7602
|
+
"type": "0 | 1 | 2 | 3 | 4 | 5 | 6",
|
|
7603
|
+
"description": "Start day of the week, 0 for Monday, 6 for Sunday.",
|
|
7604
|
+
"default": "0",
|
|
7605
|
+
"description-sections": {
|
|
7606
|
+
"since": "2.43.0"
|
|
7607
|
+
}
|
|
7608
|
+
},
|
|
7609
|
+
{
|
|
7610
|
+
"name": "loading",
|
|
7611
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7612
|
+
"type": "boolean",
|
|
7613
|
+
"description": "Whether to show loading state.",
|
|
7614
|
+
"default": "false",
|
|
7615
|
+
"description-sections": {
|
|
7616
|
+
"since": "2.43.0"
|
|
7617
|
+
}
|
|
7618
|
+
},
|
|
7619
|
+
{
|
|
7620
|
+
"name": "minimum-color",
|
|
7621
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7622
|
+
"type": "string",
|
|
7623
|
+
"description": "Minimum color for the heatmap, defaults to the first color in `active-colors`.",
|
|
7624
|
+
"default": "undefined",
|
|
7625
|
+
"description-sections": {
|
|
7626
|
+
"since": "2.43.0"
|
|
7627
|
+
}
|
|
7628
|
+
},
|
|
7629
|
+
{
|
|
7630
|
+
"name": "show-color-indicator",
|
|
7631
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7632
|
+
"type": "boolean",
|
|
7633
|
+
"description": "Whether to show the color level indicator at the bottom",
|
|
7634
|
+
"default": "true",
|
|
7635
|
+
"description-sections": {
|
|
7636
|
+
"since": "2.43.0"
|
|
7637
|
+
}
|
|
7638
|
+
},
|
|
7639
|
+
{
|
|
7640
|
+
"name": "show-week-labels",
|
|
7641
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7642
|
+
"type": "boolean",
|
|
7643
|
+
"description": "Whether to show week labels.",
|
|
7644
|
+
"default": "true",
|
|
7645
|
+
"description-sections": {
|
|
7646
|
+
"since": "2.43.0"
|
|
7647
|
+
}
|
|
7648
|
+
},
|
|
7649
|
+
{
|
|
7650
|
+
"name": "show-month-labels",
|
|
7651
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7652
|
+
"type": "boolean",
|
|
7653
|
+
"description": "Whether to show month labels.",
|
|
7654
|
+
"default": "true",
|
|
7655
|
+
"description-sections": {
|
|
7656
|
+
"since": "2.43.0"
|
|
7657
|
+
}
|
|
7658
|
+
},
|
|
7659
|
+
{
|
|
7660
|
+
"name": "size",
|
|
7661
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7662
|
+
"type": "'small' | 'medium' | 'large'",
|
|
7663
|
+
"description": "Heatmap size.",
|
|
7664
|
+
"default": "'medium'",
|
|
7665
|
+
"description-sections": {
|
|
7666
|
+
"since": "2.43.0"
|
|
7667
|
+
}
|
|
7382
7668
|
},
|
|
7383
7669
|
{
|
|
7384
|
-
"name": "
|
|
7385
|
-
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/
|
|
7386
|
-
"type": "
|
|
7670
|
+
"name": "tooltip",
|
|
7671
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7672
|
+
"type": "boolean | TooltipProps",
|
|
7673
|
+
"description": "Tooltip configuration, `false` to disable, object for `TooltipProps`.",
|
|
7674
|
+
"default": "false",
|
|
7675
|
+
"description-sections": {
|
|
7676
|
+
"since": "2.43.0"
|
|
7677
|
+
}
|
|
7387
7678
|
},
|
|
7388
7679
|
{
|
|
7389
|
-
"name": "
|
|
7390
|
-
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/
|
|
7391
|
-
"type": "number"
|
|
7680
|
+
"name": "x-gap",
|
|
7681
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7682
|
+
"type": "number | string",
|
|
7683
|
+
"description": "Horizontal gap",
|
|
7684
|
+
"default": "undefined",
|
|
7685
|
+
"description-sections": {
|
|
7686
|
+
"since": "2.43.0"
|
|
7687
|
+
}
|
|
7392
7688
|
},
|
|
7393
7689
|
{
|
|
7394
|
-
"name": "
|
|
7395
|
-
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/
|
|
7396
|
-
"type": "
|
|
7690
|
+
"name": "y-gap",
|
|
7691
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/heatmap",
|
|
7692
|
+
"type": "number | string",
|
|
7693
|
+
"description": "Vertical gap",
|
|
7694
|
+
"default": "undefined",
|
|
7695
|
+
"description-sections": {
|
|
7696
|
+
"since": "2.43.0"
|
|
7697
|
+
}
|
|
7397
7698
|
}
|
|
7398
7699
|
],
|
|
7399
7700
|
"js": {
|
|
@@ -7605,19 +7906,19 @@
|
|
|
7605
7906
|
},
|
|
7606
7907
|
"slots": [
|
|
7607
7908
|
{
|
|
7608
|
-
"name": "
|
|
7909
|
+
"name": "error",
|
|
7609
7910
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
7610
|
-
"description": "
|
|
7911
|
+
"description": "The content when the image fails to load.",
|
|
7611
7912
|
"description-sections": {
|
|
7612
|
-
"since": "2.
|
|
7913
|
+
"since": "2.40.2"
|
|
7613
7914
|
}
|
|
7614
7915
|
},
|
|
7615
7916
|
{
|
|
7616
|
-
"name": "
|
|
7917
|
+
"name": "placeholder",
|
|
7617
7918
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
7618
|
-
"description": "
|
|
7919
|
+
"description": "Placeholder shown when image is not loaded.",
|
|
7619
7920
|
"description-sections": {
|
|
7620
|
-
"since": "2.
|
|
7921
|
+
"since": "2.30.5"
|
|
7621
7922
|
}
|
|
7622
7923
|
}
|
|
7623
7924
|
],
|
|
@@ -7659,7 +7960,10 @@
|
|
|
7659
7960
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
7660
7961
|
"type": "boolean",
|
|
7661
7962
|
"description": "Load image after it enters viewport. When used alone, it will be assigned the property value of [HTMLImageElement.loading](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/loading). Alternatively, it can be used in conjunction with the `intersection-observer-options` configuration to achieve lazy loading.",
|
|
7662
|
-
"default": "false"
|
|
7963
|
+
"default": "false",
|
|
7964
|
+
"description-sections": {
|
|
7965
|
+
"since": "2.30.5"
|
|
7966
|
+
}
|
|
7663
7967
|
},
|
|
7664
7968
|
{
|
|
7665
7969
|
"name": "intersection-observer-options",
|
|
@@ -7744,10 +8048,6 @@
|
|
|
7744
8048
|
"description-sections": {
|
|
7745
8049
|
"since": "`2.38.2`"
|
|
7746
8050
|
}
|
|
7747
|
-
},
|
|
7748
|
-
{
|
|
7749
|
-
"name": "2.30.5",
|
|
7750
|
-
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image"
|
|
7751
8051
|
}
|
|
7752
8052
|
],
|
|
7753
8053
|
"js": {
|
|
@@ -7818,6 +8118,56 @@
|
|
|
7818
8118
|
"description-sections": {
|
|
7819
8119
|
"since": "`2.38.2`"
|
|
7820
8120
|
}
|
|
8121
|
+
},
|
|
8122
|
+
{
|
|
8123
|
+
"name": "src-list",
|
|
8124
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8125
|
+
"type": "string[]",
|
|
8126
|
+
"description": "Picture src list.",
|
|
8127
|
+
"default": "undefined",
|
|
8128
|
+
"description-sections": {
|
|
8129
|
+
"since": "2.43.0"
|
|
8130
|
+
}
|
|
8131
|
+
},
|
|
8132
|
+
{
|
|
8133
|
+
"name": "current",
|
|
8134
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8135
|
+
"type": "number",
|
|
8136
|
+
"description": "The subscript of the currently displayed image.",
|
|
8137
|
+
"default": "undefined",
|
|
8138
|
+
"description-sections": {
|
|
8139
|
+
"since": "2.43.0"
|
|
8140
|
+
}
|
|
8141
|
+
},
|
|
8142
|
+
{
|
|
8143
|
+
"name": "default-current",
|
|
8144
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8145
|
+
"type": "number",
|
|
8146
|
+
"description": "The subscript of the default displayed image.",
|
|
8147
|
+
"default": "0",
|
|
8148
|
+
"description-sections": {
|
|
8149
|
+
"since": "2.43.0"
|
|
8150
|
+
}
|
|
8151
|
+
},
|
|
8152
|
+
{
|
|
8153
|
+
"name": "show",
|
|
8154
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8155
|
+
"type": "boolean",
|
|
8156
|
+
"description": "Whether to the show preview big image.",
|
|
8157
|
+
"default": "undefined",
|
|
8158
|
+
"description-sections": {
|
|
8159
|
+
"since": "2.43.0"
|
|
8160
|
+
}
|
|
8161
|
+
},
|
|
8162
|
+
{
|
|
8163
|
+
"name": "default-show",
|
|
8164
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8165
|
+
"type": "boolean",
|
|
8166
|
+
"description": "Whether to show the preview big image by default.",
|
|
8167
|
+
"default": "false",
|
|
8168
|
+
"description-sections": {
|
|
8169
|
+
"since": "2.43.0"
|
|
8170
|
+
}
|
|
7821
8171
|
}
|
|
7822
8172
|
],
|
|
7823
8173
|
"js": {
|
|
@@ -7826,15 +8176,170 @@
|
|
|
7826
8176
|
"name": "preview-prev",
|
|
7827
8177
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
7828
8178
|
"type": "() => void",
|
|
7829
|
-
"description": "Click the callback from the previous slide",
|
|
8179
|
+
"description": "Click the callback from the previous slide.",
|
|
7830
8180
|
"default": "undefined"
|
|
7831
8181
|
},
|
|
7832
8182
|
{
|
|
7833
8183
|
"name": "preview-next",
|
|
7834
8184
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
7835
8185
|
"type": "() => void",
|
|
7836
|
-
"description": "Click the callback on the next slide",
|
|
8186
|
+
"description": "Click the callback on the next slide.",
|
|
7837
8187
|
"default": "undefined"
|
|
8188
|
+
},
|
|
8189
|
+
{
|
|
8190
|
+
"name": "update-show",
|
|
8191
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image"
|
|
8192
|
+
},
|
|
8193
|
+
{
|
|
8194
|
+
"name": "update-show",
|
|
8195
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image"
|
|
8196
|
+
},
|
|
8197
|
+
{
|
|
8198
|
+
"name": "update-current",
|
|
8199
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image"
|
|
8200
|
+
},
|
|
8201
|
+
{
|
|
8202
|
+
"name": "update-current",
|
|
8203
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image"
|
|
8204
|
+
},
|
|
8205
|
+
{
|
|
8206
|
+
"name": "update:current",
|
|
8207
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8208
|
+
"type": "(value: number) => void",
|
|
8209
|
+
"description": "Callback on currently displayed image changes.",
|
|
8210
|
+
"default": "undefined",
|
|
8211
|
+
"description-sections": {
|
|
8212
|
+
"since": "2.43.0"
|
|
8213
|
+
}
|
|
8214
|
+
},
|
|
8215
|
+
{
|
|
8216
|
+
"name": "update:show",
|
|
8217
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8218
|
+
"type": "(value: boolean) => void",
|
|
8219
|
+
"description": "Callback on show status changes.",
|
|
8220
|
+
"default": "undefined",
|
|
8221
|
+
"description-sections": {
|
|
8222
|
+
"since": "2.43.0"
|
|
8223
|
+
}
|
|
8224
|
+
}
|
|
8225
|
+
]
|
|
8226
|
+
}
|
|
8227
|
+
},
|
|
8228
|
+
{
|
|
8229
|
+
"name": "NImagePreview",
|
|
8230
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8231
|
+
"source": {
|
|
8232
|
+
"symbol": "NImagePreview"
|
|
8233
|
+
},
|
|
8234
|
+
"slots": [],
|
|
8235
|
+
"attributes": [],
|
|
8236
|
+
"props": [
|
|
8237
|
+
{
|
|
8238
|
+
"name": "show-toolbar",
|
|
8239
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8240
|
+
"type": "boolean",
|
|
8241
|
+
"description": "Whether to show the bottom toolbar when the image enlarge.",
|
|
8242
|
+
"default": "true",
|
|
8243
|
+
"description-sections": {
|
|
8244
|
+
"since": "2.43.0"
|
|
8245
|
+
}
|
|
8246
|
+
},
|
|
8247
|
+
{
|
|
8248
|
+
"name": "show-toolbar-tooltip",
|
|
8249
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8250
|
+
"type": "boolean",
|
|
8251
|
+
"description": "Whether to show toolbar buttons' tooltip.",
|
|
8252
|
+
"default": "false",
|
|
8253
|
+
"description-sections": {
|
|
8254
|
+
"since": "2.43.0"
|
|
8255
|
+
}
|
|
8256
|
+
},
|
|
8257
|
+
{
|
|
8258
|
+
"name": "render-toolbar",
|
|
8259
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8260
|
+
"type": "(props: { nodes: { prev: VNode, next: VNode, rotateCounterclockwise: VNode, rotateClockwise: VNode, resizeToOriginalSize: VNode, zoomOut: VNode, zoomIn: VNode, download: VNode, close: VNode } }) => VNodeChild",
|
|
8261
|
+
"description": "Toolbar rendering function.",
|
|
8262
|
+
"default": "undefined",
|
|
8263
|
+
"description-sections": {
|
|
8264
|
+
"since": "2.43.0"
|
|
8265
|
+
}
|
|
8266
|
+
},
|
|
8267
|
+
{
|
|
8268
|
+
"name": "src",
|
|
8269
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8270
|
+
"type": "string",
|
|
8271
|
+
"description": "Image source.",
|
|
8272
|
+
"default": "undefined",
|
|
8273
|
+
"description-sections": {
|
|
8274
|
+
"since": "2.43.0"
|
|
8275
|
+
}
|
|
8276
|
+
},
|
|
8277
|
+
{
|
|
8278
|
+
"name": "show",
|
|
8279
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8280
|
+
"type": "boolean",
|
|
8281
|
+
"description": "Whether to the show preview big image.",
|
|
8282
|
+
"default": "undefined",
|
|
8283
|
+
"description-sections": {
|
|
8284
|
+
"since": "2.43.0"
|
|
8285
|
+
}
|
|
8286
|
+
},
|
|
8287
|
+
{
|
|
8288
|
+
"name": "default-show",
|
|
8289
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8290
|
+
"type": "boolean",
|
|
8291
|
+
"description": "Whether to show the preview big image by default.",
|
|
8292
|
+
"default": "false",
|
|
8293
|
+
"description-sections": {
|
|
8294
|
+
"since": "2.43.0"
|
|
8295
|
+
}
|
|
8296
|
+
}
|
|
8297
|
+
],
|
|
8298
|
+
"js": {
|
|
8299
|
+
"events": [
|
|
8300
|
+
{
|
|
8301
|
+
"name": "preview-prev",
|
|
8302
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image"
|
|
8303
|
+
},
|
|
8304
|
+
{
|
|
8305
|
+
"name": "preview-next",
|
|
8306
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image"
|
|
8307
|
+
},
|
|
8308
|
+
{
|
|
8309
|
+
"name": "update-show",
|
|
8310
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image"
|
|
8311
|
+
},
|
|
8312
|
+
{
|
|
8313
|
+
"name": "update-show",
|
|
8314
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image"
|
|
8315
|
+
},
|
|
8316
|
+
{
|
|
8317
|
+
"name": "next",
|
|
8318
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image"
|
|
8319
|
+
},
|
|
8320
|
+
{
|
|
8321
|
+
"name": "prev",
|
|
8322
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image"
|
|
8323
|
+
},
|
|
8324
|
+
{
|
|
8325
|
+
"name": "close",
|
|
8326
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8327
|
+
"type": "() => void",
|
|
8328
|
+
"description": "Callback when close the preview of the image.",
|
|
8329
|
+
"default": "undefined",
|
|
8330
|
+
"description-sections": {
|
|
8331
|
+
"since": "2.43.0"
|
|
8332
|
+
}
|
|
8333
|
+
},
|
|
8334
|
+
{
|
|
8335
|
+
"name": "update:show",
|
|
8336
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/image",
|
|
8337
|
+
"type": "(value: boolean) => void",
|
|
8338
|
+
"description": "Callback on show status changes.",
|
|
8339
|
+
"default": "undefined",
|
|
8340
|
+
"description-sections": {
|
|
8341
|
+
"since": "2.43.0"
|
|
8342
|
+
}
|
|
7838
8343
|
}
|
|
7839
8344
|
]
|
|
7840
8345
|
}
|
|
@@ -8584,6 +9089,11 @@
|
|
|
8584
9089
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
8585
9090
|
"type": "number"
|
|
8586
9091
|
},
|
|
9092
|
+
{
|
|
9093
|
+
"name": "block",
|
|
9094
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
9095
|
+
"type": "boolean"
|
|
9096
|
+
},
|
|
8587
9097
|
{
|
|
8588
9098
|
"name": "size",
|
|
8589
9099
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
@@ -10047,9 +10557,14 @@
|
|
|
10047
10557
|
"default": "false"
|
|
10048
10558
|
},
|
|
10049
10559
|
{
|
|
10050
|
-
"name": "
|
|
10560
|
+
"name": "show-mask",
|
|
10051
10561
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal",
|
|
10052
|
-
"type": "boolean"
|
|
10562
|
+
"type": "boolean",
|
|
10563
|
+
"description": "Whether to display the mask. If it's set to `false`, all mask-related APIs will be disabled, focus won't be limit inside modal (so keyboard event like Esc won't always work).",
|
|
10564
|
+
"default": "true",
|
|
10565
|
+
"description-sections": {
|
|
10566
|
+
"since": "2.43.0"
|
|
10567
|
+
}
|
|
10053
10568
|
},
|
|
10054
10569
|
{
|
|
10055
10570
|
"name": "mask-closable",
|
|
@@ -10246,6 +10761,11 @@
|
|
|
10246
10761
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal",
|
|
10247
10762
|
"type": "Function"
|
|
10248
10763
|
},
|
|
10764
|
+
{
|
|
10765
|
+
"name": "close-focusable",
|
|
10766
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal",
|
|
10767
|
+
"type": "boolean"
|
|
10768
|
+
},
|
|
10249
10769
|
{
|
|
10250
10770
|
"name": "icon",
|
|
10251
10771
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal",
|
|
@@ -10325,6 +10845,11 @@
|
|
|
10325
10845
|
"name": "overlay-style",
|
|
10326
10846
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal",
|
|
10327
10847
|
"type": "string | object"
|
|
10848
|
+
},
|
|
10849
|
+
{
|
|
10850
|
+
"name": "unstable-show-mask",
|
|
10851
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal",
|
|
10852
|
+
"type": "boolean"
|
|
10328
10853
|
}
|
|
10329
10854
|
],
|
|
10330
10855
|
"js": {
|
|
@@ -13401,7 +13926,7 @@
|
|
|
13401
13926
|
},
|
|
13402
13927
|
{
|
|
13403
13928
|
"name": "NSpace",
|
|
13404
|
-
"description": "A great invention (which is not invented by me).\n\nIf you don't have
|
|
13929
|
+
"description": "A great invention (which is not invented by me).\n\nIf you don't have compatibility issues for `gap` CSS property, it's suggested to use [Flex](flex).",
|
|
13405
13930
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/space",
|
|
13406
13931
|
"source": {
|
|
13407
13932
|
"symbol": "NSpace"
|
|
@@ -16129,6 +16654,16 @@
|
|
|
16129
16654
|
"since": "2.33.4"
|
|
16130
16655
|
}
|
|
16131
16656
|
},
|
|
16657
|
+
{
|
|
16658
|
+
"name": "ellipsis",
|
|
16659
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/tree",
|
|
16660
|
+
"type": "boolean",
|
|
16661
|
+
"description": "Whether to ellipsis the text that exceeds the width.",
|
|
16662
|
+
"default": "false",
|
|
16663
|
+
"description-sections": {
|
|
16664
|
+
"since": "2.43.0"
|
|
16665
|
+
}
|
|
16666
|
+
},
|
|
16132
16667
|
{
|
|
16133
16668
|
"name": "checkbox-placement",
|
|
16134
16669
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/tree",
|
|
@@ -16278,7 +16813,10 @@
|
|
|
16278
16813
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/tree",
|
|
16279
16814
|
"type": "number",
|
|
16280
16815
|
"description": "Indent of per level of the tree.",
|
|
16281
|
-
"default": "24"
|
|
16816
|
+
"default": "24",
|
|
16817
|
+
"description-sections": {
|
|
16818
|
+
"since": "2.9.0"
|
|
16819
|
+
}
|
|
16282
16820
|
},
|
|
16283
16821
|
{
|
|
16284
16822
|
"name": "indeterminate-keys",
|