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
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { DayRect } from '../interface';
|
|
2
|
+
import type { HeatmapData, HeatmapDataItem, HeatmapFirstDayOfWeek } from '../public-types';
|
|
3
|
+
/** get color by value/maxValue */
|
|
4
|
+
export declare function calcColorByValue(colors: string[], value: number | null | undefined, maxValue: number): string;
|
|
5
|
+
/**
|
|
6
|
+
* fill gaps for the given data
|
|
7
|
+
*
|
|
8
|
+
* fill gaps `[firstDate,lastDate]` with value `0`
|
|
9
|
+
*
|
|
10
|
+
* fill `[firstCalendarDate,firstDate]` and `[lastDate,lastCalendarDate]` with value `null` by default
|
|
11
|
+
*
|
|
12
|
+
* fill `[firstCalendarDate,firstDate]` with value `0` when `fillCalendarLeading` is `true`
|
|
13
|
+
*/
|
|
14
|
+
export declare function completeDataGaps(data: HeatmapData, firstDayOfWeek: HeatmapFirstDayOfWeek, fillCalendarLeading: boolean): HeatmapData;
|
|
15
|
+
/**
|
|
16
|
+
* Create a DayRect object with position information
|
|
17
|
+
*/
|
|
18
|
+
export declare function createDayRect(item: HeatmapDataItem, calendarStartDate: number, weekStartOn: number, colors: string[], maxValue: number): DayRect;
|
|
19
|
+
/**
|
|
20
|
+
* Create a sparse matrix from items with position information
|
|
21
|
+
*/
|
|
22
|
+
export declare function createSparseMatrix<T>(rows: number, items: T[], getRowIndex: (item: T) => number, getColIndex: (item: T) => number): T[][];
|
|
23
|
+
/**
|
|
24
|
+
* This creates a 7x53 matrix (typical year layout) filled with loading cells
|
|
25
|
+
*/
|
|
26
|
+
export declare function createLoadingMatrix(firstDayOfWeek: HeatmapFirstDayOfWeek): DayRect[][];
|
|
27
|
+
/**
|
|
28
|
+
* Generate heatmap data for mock purposes.
|
|
29
|
+
* This function generates random data and the result is not stable.
|
|
30
|
+
* @param range - 'recent' for last year, or a specific year number
|
|
31
|
+
*/
|
|
32
|
+
export declare function heatmapMockData(year?: 'recent' | number): HeatmapData;
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { differenceInCalendarDays, eachDayOfInterval, endOfWeek, endOfYear, getDay, isWithinInterval, startOfDay, startOfWeek, startOfYear, subYears } from 'date-fns';
|
|
2
|
+
import { groupBy } from 'lodash';
|
|
3
|
+
/** get color by value/maxValue */
|
|
4
|
+
export function calcColorByValue(colors, value, maxValue) {
|
|
5
|
+
if (maxValue === 0 || value === null || value === undefined || value <= 0) {
|
|
6
|
+
return colors[0];
|
|
7
|
+
}
|
|
8
|
+
const ratio = Math.min(value / maxValue, 1);
|
|
9
|
+
const maxLevel = colors.length - 1;
|
|
10
|
+
const level = Math.min(Math.ceil(ratio * maxLevel), maxLevel);
|
|
11
|
+
return colors[level];
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* fill gaps for the given data
|
|
15
|
+
*
|
|
16
|
+
* fill gaps `[firstDate,lastDate]` with value `0`
|
|
17
|
+
*
|
|
18
|
+
* fill `[firstCalendarDate,firstDate]` and `[lastDate,lastCalendarDate]` with value `null` by default
|
|
19
|
+
*
|
|
20
|
+
* fill `[firstCalendarDate,firstDate]` with value `0` when `fillCalendarLeading` is `true`
|
|
21
|
+
*/
|
|
22
|
+
export function completeDataGaps(data, firstDayOfWeek, fillCalendarLeading) {
|
|
23
|
+
const sortedData = [...data].sort((a, b) => a.timestamp - b.timestamp);
|
|
24
|
+
const firstDate = sortedData[0].timestamp;
|
|
25
|
+
const lastDate = sortedData[sortedData.length - 1].timestamp;
|
|
26
|
+
const firstCalendarDate = startOfWeek(firstDate, {
|
|
27
|
+
weekStartsOn: firstDayOfWeek
|
|
28
|
+
});
|
|
29
|
+
const lastCalendarEndDate = endOfWeek(lastDate, {
|
|
30
|
+
weekStartsOn: firstDayOfWeek
|
|
31
|
+
});
|
|
32
|
+
const dataMap = new Map(sortedData.map(d => [startOfDay(d.timestamp).getTime(), d]));
|
|
33
|
+
const allCalendarDates = eachDayOfInterval({
|
|
34
|
+
start: firstCalendarDate,
|
|
35
|
+
end: lastCalendarEndDate
|
|
36
|
+
});
|
|
37
|
+
const startDate = fillCalendarLeading ? firstCalendarDate : firstDate;
|
|
38
|
+
return allCalendarDates.map(date => {
|
|
39
|
+
const key = startOfDay(date).getTime();
|
|
40
|
+
const dateValue = dataMap.get(key);
|
|
41
|
+
if (dateValue) {
|
|
42
|
+
return dateValue;
|
|
43
|
+
}
|
|
44
|
+
const value = isWithinInterval(date, {
|
|
45
|
+
start: startDate,
|
|
46
|
+
end: lastDate
|
|
47
|
+
}) ? 0 : null;
|
|
48
|
+
return {
|
|
49
|
+
timestamp: date.getTime(),
|
|
50
|
+
value
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Create a DayRect object with position information
|
|
56
|
+
*/
|
|
57
|
+
export function createDayRect(item, calendarStartDate, weekStartOn, colors, maxValue) {
|
|
58
|
+
const daysFromGridStart = differenceInCalendarDays(item.timestamp, calendarStartDate);
|
|
59
|
+
const colIndex = Math.floor(daysFromGridStart / 7);
|
|
60
|
+
const dayOfWeek = getDay(item.timestamp);
|
|
61
|
+
const rowIndex = (dayOfWeek - weekStartOn + 7) % 7;
|
|
62
|
+
return {
|
|
63
|
+
timestamp: item.timestamp,
|
|
64
|
+
value: item.value,
|
|
65
|
+
color: calcColorByValue(colors, item.value, maxValue),
|
|
66
|
+
dayOfWeek,
|
|
67
|
+
rowIndex,
|
|
68
|
+
colIndex
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Create a sparse matrix from items with position information
|
|
73
|
+
*/
|
|
74
|
+
export function createSparseMatrix(rows, items, getRowIndex, getColIndex) {
|
|
75
|
+
const groupedByRow = groupBy(items, getRowIndex);
|
|
76
|
+
return Array.from({
|
|
77
|
+
length: rows
|
|
78
|
+
}, (_, rowIndex) => {
|
|
79
|
+
const rowData = groupedByRow[rowIndex] || [];
|
|
80
|
+
const row = [];
|
|
81
|
+
rowData.forEach(item => {
|
|
82
|
+
row[getColIndex(item)] = item;
|
|
83
|
+
});
|
|
84
|
+
return row;
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* This creates a 7x53 matrix (typical year layout) filled with loading cells
|
|
89
|
+
*/
|
|
90
|
+
export function createLoadingMatrix(firstDayOfWeek) {
|
|
91
|
+
const rows = 7;
|
|
92
|
+
const cols = 53;
|
|
93
|
+
const currentTimestamp = Date.now();
|
|
94
|
+
return Array.from({
|
|
95
|
+
length: rows
|
|
96
|
+
}, (_, row) => Array.from({
|
|
97
|
+
length: cols
|
|
98
|
+
}, (_, col) => ({
|
|
99
|
+
timestamp: currentTimestamp,
|
|
100
|
+
value: 0,
|
|
101
|
+
color: '#000000',
|
|
102
|
+
dayOfWeek: (firstDayOfWeek + row) % 7,
|
|
103
|
+
rowIndex: row,
|
|
104
|
+
colIndex: col
|
|
105
|
+
})));
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Generate heatmap data for mock purposes.
|
|
109
|
+
* This function generates random data and the result is not stable.
|
|
110
|
+
* @param range - 'recent' for last year, or a specific year number
|
|
111
|
+
*/
|
|
112
|
+
export function heatmapMockData(year) {
|
|
113
|
+
let start;
|
|
114
|
+
let end;
|
|
115
|
+
if (year === undefined || year === 'recent') {
|
|
116
|
+
end = new Date();
|
|
117
|
+
start = subYears(end, 1);
|
|
118
|
+
} else {
|
|
119
|
+
const _year = Number(year);
|
|
120
|
+
start = startOfYear(new Date(_year, 0, 1));
|
|
121
|
+
end = endOfYear(new Date(_year, 11, 31));
|
|
122
|
+
}
|
|
123
|
+
const allDays = eachDayOfInterval({
|
|
124
|
+
start,
|
|
125
|
+
end
|
|
126
|
+
});
|
|
127
|
+
return allDays.map(day => {
|
|
128
|
+
const dayOfWeek = day.getDay();
|
|
129
|
+
const isWeekend = dayOfWeek === 0 || dayOfWeek === 6;
|
|
130
|
+
if (isWeekend && Math.random() < 0.7) {
|
|
131
|
+
return {
|
|
132
|
+
timestamp: day.getTime(),
|
|
133
|
+
value: 0
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
if (!isWeekend && Math.random() < 0.15) {
|
|
137
|
+
return {
|
|
138
|
+
timestamp: day.getTime(),
|
|
139
|
+
value: 0
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
const value = Math.floor(Math.pow(Math.random(), 2) * 40) + 1;
|
|
143
|
+
return {
|
|
144
|
+
timestamp: day.getTime(),
|
|
145
|
+
value
|
|
146
|
+
};
|
|
147
|
+
});
|
|
148
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { commonDark } from "../../_styles/common/index.mjs";
|
|
2
|
+
import { self } from "./light.mjs";
|
|
3
|
+
const HeatmapDark = {
|
|
4
|
+
name: 'Heatmap',
|
|
5
|
+
common: commonDark,
|
|
6
|
+
self(vars) {
|
|
7
|
+
const lightSelf = self(vars);
|
|
8
|
+
return Object.assign(Object.assign({}, lightSelf), {
|
|
9
|
+
activeColors: ['#0d4429', '#006d32', '#26a641', '#39d353'],
|
|
10
|
+
mininumColor: 'rgba(255, 255, 255, 0.1)',
|
|
11
|
+
loadingColorStart: 'rgba(255, 255, 255, 0.12)',
|
|
12
|
+
loadingColorEnd: 'rgba(255, 255, 255, 0.18)'
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
export default HeatmapDark;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ThemeCommonVars } from '../../_styles/common';
|
|
2
|
+
import { type Theme } from '../../_mixins';
|
|
3
|
+
export declare function self(vars: ThemeCommonVars): {
|
|
4
|
+
activeColors: string[];
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
borderColor: string;
|
|
7
|
+
textColor: string;
|
|
8
|
+
mininumColor: string;
|
|
9
|
+
fontWeight: string;
|
|
10
|
+
loadingColorStart: string;
|
|
11
|
+
loadingColorEnd: string;
|
|
12
|
+
rectSizeSmall: string;
|
|
13
|
+
rectSizeMedium: string;
|
|
14
|
+
rectSizeLarge: string;
|
|
15
|
+
borderRadiusSmall: string;
|
|
16
|
+
borderRadiusMedium: string;
|
|
17
|
+
borderRadiusLarge: string;
|
|
18
|
+
xGapSmall: string;
|
|
19
|
+
xGapMedium: string;
|
|
20
|
+
xGapLarge: string;
|
|
21
|
+
yGapSmall: string;
|
|
22
|
+
yGapMedium: string;
|
|
23
|
+
yGapLarge: string;
|
|
24
|
+
fontSizeSmall: string;
|
|
25
|
+
fontSizeMedium: string;
|
|
26
|
+
fontSizeLarge: string;
|
|
27
|
+
};
|
|
28
|
+
export type HeatmapThemeVars = ReturnType<typeof self>;
|
|
29
|
+
declare const heatmapLight: Theme<'Heatmap', HeatmapThemeVars>;
|
|
30
|
+
export default heatmapLight;
|
|
31
|
+
export type HeatmapTheme = typeof heatmapLight;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { createTheme } from "../../_mixins/index.mjs";
|
|
2
|
+
import { commonLight } from "../../_styles/common/index.mjs";
|
|
3
|
+
export function self(vars) {
|
|
4
|
+
const {
|
|
5
|
+
borderRadius,
|
|
6
|
+
fontSizeMini,
|
|
7
|
+
fontSizeTiny,
|
|
8
|
+
fontSizeSmall,
|
|
9
|
+
fontWeight,
|
|
10
|
+
textColor2,
|
|
11
|
+
cardColor,
|
|
12
|
+
buttonColor2Hover
|
|
13
|
+
} = vars;
|
|
14
|
+
return {
|
|
15
|
+
activeColors: ['#9be9a8', '#40c463', '#30a14e', '#216e39'],
|
|
16
|
+
borderRadius,
|
|
17
|
+
borderColor: cardColor,
|
|
18
|
+
textColor: textColor2,
|
|
19
|
+
mininumColor: buttonColor2Hover,
|
|
20
|
+
fontWeight,
|
|
21
|
+
loadingColorStart: 'rgba(0, 0, 0, 0.06)',
|
|
22
|
+
loadingColorEnd: 'rgba(0, 0, 0, 0.12)',
|
|
23
|
+
rectSizeSmall: '10px',
|
|
24
|
+
rectSizeMedium: '11px',
|
|
25
|
+
rectSizeLarge: '12px',
|
|
26
|
+
borderRadiusSmall: '2px',
|
|
27
|
+
borderRadiusMedium: '2px',
|
|
28
|
+
borderRadiusLarge: '2px',
|
|
29
|
+
xGapSmall: '2px',
|
|
30
|
+
xGapMedium: '3px',
|
|
31
|
+
xGapLarge: '3px',
|
|
32
|
+
yGapSmall: '2px',
|
|
33
|
+
yGapMedium: '3px',
|
|
34
|
+
yGapLarge: '3px',
|
|
35
|
+
fontSizeSmall: fontSizeTiny,
|
|
36
|
+
fontSizeMedium: fontSizeMini,
|
|
37
|
+
fontSizeLarge: fontSizeSmall
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const heatmapLight = createTheme({
|
|
41
|
+
name: 'Heatmap',
|
|
42
|
+
common: commonLight,
|
|
43
|
+
self
|
|
44
|
+
});
|
|
45
|
+
export default heatmapLight;
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
// Generated by ChatGPT
|
|
2
1
|
export function splitAndMarkByRegex(str, regex) {
|
|
2
|
+
if (!regex.global) {
|
|
3
|
+
throw new Error('splitAndMarkByRegex requires a global regex (with "g" flag)');
|
|
4
|
+
}
|
|
3
5
|
const result = [];
|
|
4
6
|
let lastIndex = 0;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
for (const match of str.matchAll(regex)) {
|
|
8
|
+
const {
|
|
9
|
+
index
|
|
10
|
+
} = match;
|
|
11
|
+
if (index > lastIndex) {
|
|
9
12
|
result.push({
|
|
10
|
-
text: str.slice(lastIndex,
|
|
13
|
+
text: str.slice(lastIndex, index),
|
|
11
14
|
isMatch: false
|
|
12
15
|
});
|
|
13
16
|
}
|
|
@@ -15,10 +18,7 @@ export function splitAndMarkByRegex(str, regex) {
|
|
|
15
18
|
text: match[0],
|
|
16
19
|
isMatch: true
|
|
17
20
|
});
|
|
18
|
-
lastIndex =
|
|
19
|
-
if (!regex.global) {
|
|
20
|
-
break;
|
|
21
|
-
}
|
|
21
|
+
lastIndex = index + match[0].length;
|
|
22
22
|
}
|
|
23
23
|
if (lastIndex < str.length) {
|
|
24
24
|
result.push({
|
package/es/image/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { imageProps, default as NImage } from './src/Image';
|
|
2
|
-
export type { ImageProps
|
|
2
|
+
export type { ImageProps } from './src/Image';
|
|
3
3
|
export { imageGroupProps, default as NImageGroup } from './src/ImageGroup';
|
|
4
4
|
export type { ImageGroupProps } from './src/ImageGroup';
|
|
5
|
+
export { imagePreviewProps, default as NImagePreview } from './src/ImagePreview';
|
|
6
|
+
export type { ImagePreviewProps } from './src/ImagePreview';
|
|
5
7
|
export type * from './src/public-types';
|
package/es/image/index.mjs
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export { imageProps, default as NImage } from "./src/Image.mjs";
|
|
2
|
-
export { imageGroupProps, default as NImageGroup } from "./src/ImageGroup.mjs";
|
|
2
|
+
export { imageGroupProps, default as NImageGroup } from "./src/ImageGroup.mjs";
|
|
3
|
+
export { imagePreviewProps, default as NImagePreview } from "./src/ImagePreview.mjs";
|
package/es/image/src/Image.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import type { ImagePreviewInst } from './
|
|
1
|
+
import type { ImagePreviewInst, ImageSlots } from './public-types';
|
|
2
2
|
import type { IntersectionObserverOptions } from './utils';
|
|
3
|
-
import { type ImgHTMLAttributes, type PropType, type SlotsType
|
|
3
|
+
import { type ImgHTMLAttributes, type PropType, type SlotsType } from 'vue';
|
|
4
4
|
import { type ExtractPublicPropTypes } from '../../_utils';
|
|
5
|
-
export interface ImageInst {
|
|
6
|
-
click: () => void;
|
|
7
|
-
}
|
|
8
5
|
export declare const imageProps: {
|
|
9
6
|
onPreviewPrev: PropType<() => void>;
|
|
10
7
|
onPreviewNext: PropType<() => void>;
|
|
@@ -40,7 +37,20 @@ export declare const imageProps: {
|
|
|
40
37
|
arrowOffsetVertical: string;
|
|
41
38
|
arrowHeight: string;
|
|
42
39
|
padding: string;
|
|
43
|
-
},
|
|
40
|
+
}, {
|
|
41
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
42
|
+
height: string;
|
|
43
|
+
width: string;
|
|
44
|
+
borderRadius: string;
|
|
45
|
+
color: string;
|
|
46
|
+
colorHover: string;
|
|
47
|
+
railInsetHorizontalBottom: string;
|
|
48
|
+
railInsetHorizontalTop: string;
|
|
49
|
+
railInsetVerticalRight: string;
|
|
50
|
+
railInsetVerticalLeft: string;
|
|
51
|
+
railColor: string;
|
|
52
|
+
}, any>;
|
|
53
|
+
}>;
|
|
44
54
|
}>;
|
|
45
55
|
}>>;
|
|
46
56
|
themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
@@ -69,7 +79,20 @@ export declare const imageProps: {
|
|
|
69
79
|
arrowOffsetVertical: string;
|
|
70
80
|
arrowHeight: string;
|
|
71
81
|
padding: string;
|
|
72
|
-
},
|
|
82
|
+
}, {
|
|
83
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
84
|
+
height: string;
|
|
85
|
+
width: string;
|
|
86
|
+
borderRadius: string;
|
|
87
|
+
color: string;
|
|
88
|
+
colorHover: string;
|
|
89
|
+
railInsetHorizontalBottom: string;
|
|
90
|
+
railInsetHorizontalTop: string;
|
|
91
|
+
railInsetVerticalRight: string;
|
|
92
|
+
railInsetVerticalLeft: string;
|
|
93
|
+
railColor: string;
|
|
94
|
+
}, any>;
|
|
95
|
+
}>;
|
|
73
96
|
}>;
|
|
74
97
|
}>>>;
|
|
75
98
|
builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
@@ -98,7 +121,20 @@ export declare const imageProps: {
|
|
|
98
121
|
arrowOffsetVertical: string;
|
|
99
122
|
arrowHeight: string;
|
|
100
123
|
padding: string;
|
|
101
|
-
},
|
|
124
|
+
}, {
|
|
125
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
126
|
+
height: string;
|
|
127
|
+
width: string;
|
|
128
|
+
borderRadius: string;
|
|
129
|
+
color: string;
|
|
130
|
+
colorHover: string;
|
|
131
|
+
railInsetHorizontalBottom: string;
|
|
132
|
+
railInsetHorizontalTop: string;
|
|
133
|
+
railInsetVerticalRight: string;
|
|
134
|
+
railInsetVerticalLeft: string;
|
|
135
|
+
railColor: string;
|
|
136
|
+
}, any>;
|
|
137
|
+
}>;
|
|
102
138
|
}>;
|
|
103
139
|
}>>>;
|
|
104
140
|
alt: StringConstructor;
|
|
@@ -121,10 +157,6 @@ export declare const imageProps: {
|
|
|
121
157
|
onLoad: PropType<(e: Event) => void>;
|
|
122
158
|
};
|
|
123
159
|
export type ImageProps = ExtractPublicPropTypes<typeof imageProps>;
|
|
124
|
-
export interface ImageSlots {
|
|
125
|
-
placeholder?: () => VNode[];
|
|
126
|
-
error?: () => VNode[];
|
|
127
|
-
}
|
|
128
160
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
129
161
|
onPreviewPrev: PropType<() => void>;
|
|
130
162
|
onPreviewNext: PropType<() => void>;
|
|
@@ -160,7 +192,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
160
192
|
arrowOffsetVertical: string;
|
|
161
193
|
arrowHeight: string;
|
|
162
194
|
padding: string;
|
|
163
|
-
},
|
|
195
|
+
}, {
|
|
196
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
197
|
+
height: string;
|
|
198
|
+
width: string;
|
|
199
|
+
borderRadius: string;
|
|
200
|
+
color: string;
|
|
201
|
+
colorHover: string;
|
|
202
|
+
railInsetHorizontalBottom: string;
|
|
203
|
+
railInsetHorizontalTop: string;
|
|
204
|
+
railInsetVerticalRight: string;
|
|
205
|
+
railInsetVerticalLeft: string;
|
|
206
|
+
railColor: string;
|
|
207
|
+
}, any>;
|
|
208
|
+
}>;
|
|
164
209
|
}>;
|
|
165
210
|
}>>;
|
|
166
211
|
themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
@@ -189,7 +234,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
189
234
|
arrowOffsetVertical: string;
|
|
190
235
|
arrowHeight: string;
|
|
191
236
|
padding: string;
|
|
192
|
-
},
|
|
237
|
+
}, {
|
|
238
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
239
|
+
height: string;
|
|
240
|
+
width: string;
|
|
241
|
+
borderRadius: string;
|
|
242
|
+
color: string;
|
|
243
|
+
colorHover: string;
|
|
244
|
+
railInsetHorizontalBottom: string;
|
|
245
|
+
railInsetHorizontalTop: string;
|
|
246
|
+
railInsetVerticalRight: string;
|
|
247
|
+
railInsetVerticalLeft: string;
|
|
248
|
+
railColor: string;
|
|
249
|
+
}, any>;
|
|
250
|
+
}>;
|
|
193
251
|
}>;
|
|
194
252
|
}>>>;
|
|
195
253
|
builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
@@ -218,7 +276,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
218
276
|
arrowOffsetVertical: string;
|
|
219
277
|
arrowHeight: string;
|
|
220
278
|
padding: string;
|
|
221
|
-
},
|
|
279
|
+
}, {
|
|
280
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
281
|
+
height: string;
|
|
282
|
+
width: string;
|
|
283
|
+
borderRadius: string;
|
|
284
|
+
color: string;
|
|
285
|
+
colorHover: string;
|
|
286
|
+
railInsetHorizontalBottom: string;
|
|
287
|
+
railInsetHorizontalTop: string;
|
|
288
|
+
railInsetVerticalRight: string;
|
|
289
|
+
railInsetVerticalLeft: string;
|
|
290
|
+
railColor: string;
|
|
291
|
+
}, any>;
|
|
292
|
+
}>;
|
|
222
293
|
}>;
|
|
223
294
|
}>>>;
|
|
224
295
|
alt: StringConstructor;
|
|
@@ -241,24 +312,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
241
312
|
onLoad: PropType<(e: Event) => void>;
|
|
242
313
|
}>, {
|
|
243
314
|
click: () => void;
|
|
315
|
+
showPreview: () => void;
|
|
244
316
|
mergedClsPrefix: import("vue").Ref<string, string>;
|
|
245
317
|
groupId: string | undefined;
|
|
246
318
|
previewInstRef: import("vue").Ref<{
|
|
247
319
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
248
|
-
setPreviewSrc: (src?: string) => void;
|
|
249
|
-
toggleShow: () => void;
|
|
250
320
|
} | null, ImagePreviewInst | {
|
|
251
321
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
252
|
-
setPreviewSrc: (src?: string) => void;
|
|
253
|
-
toggleShow: () => void;
|
|
254
322
|
} | null>;
|
|
255
323
|
imageRef: import("vue").Ref<HTMLImageElement | null, HTMLImageElement | null>;
|
|
324
|
+
mergedPreviewSrc: import("vue").ComputedRef<string | undefined>;
|
|
256
325
|
showError: import("vue").Ref<boolean, boolean>;
|
|
257
326
|
shouldStartLoading: import("vue").Ref<boolean, boolean>;
|
|
258
327
|
loaded: import("vue").Ref<boolean, boolean>;
|
|
259
|
-
mergedOnClick: (e:
|
|
328
|
+
mergedOnClick: (e: PointerEvent) => void;
|
|
329
|
+
onPreviewClose: () => void;
|
|
260
330
|
mergedOnError: (e: Event) => void;
|
|
261
331
|
mergedOnLoad: (e: Event) => void;
|
|
332
|
+
previewShow: import("vue").Ref<boolean, boolean>;
|
|
262
333
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
263
334
|
onPreviewPrev: PropType<() => void>;
|
|
264
335
|
onPreviewNext: PropType<() => void>;
|
|
@@ -294,7 +365,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
294
365
|
arrowOffsetVertical: string;
|
|
295
366
|
arrowHeight: string;
|
|
296
367
|
padding: string;
|
|
297
|
-
},
|
|
368
|
+
}, {
|
|
369
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
370
|
+
height: string;
|
|
371
|
+
width: string;
|
|
372
|
+
borderRadius: string;
|
|
373
|
+
color: string;
|
|
374
|
+
colorHover: string;
|
|
375
|
+
railInsetHorizontalBottom: string;
|
|
376
|
+
railInsetHorizontalTop: string;
|
|
377
|
+
railInsetVerticalRight: string;
|
|
378
|
+
railInsetVerticalLeft: string;
|
|
379
|
+
railColor: string;
|
|
380
|
+
}, any>;
|
|
381
|
+
}>;
|
|
298
382
|
}>;
|
|
299
383
|
}>>;
|
|
300
384
|
themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
@@ -323,7 +407,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
323
407
|
arrowOffsetVertical: string;
|
|
324
408
|
arrowHeight: string;
|
|
325
409
|
padding: string;
|
|
326
|
-
},
|
|
410
|
+
}, {
|
|
411
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
412
|
+
height: string;
|
|
413
|
+
width: string;
|
|
414
|
+
borderRadius: string;
|
|
415
|
+
color: string;
|
|
416
|
+
colorHover: string;
|
|
417
|
+
railInsetHorizontalBottom: string;
|
|
418
|
+
railInsetHorizontalTop: string;
|
|
419
|
+
railInsetVerticalRight: string;
|
|
420
|
+
railInsetVerticalLeft: string;
|
|
421
|
+
railColor: string;
|
|
422
|
+
}, any>;
|
|
423
|
+
}>;
|
|
327
424
|
}>;
|
|
328
425
|
}>>>;
|
|
329
426
|
builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
@@ -352,7 +449,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
352
449
|
arrowOffsetVertical: string;
|
|
353
450
|
arrowHeight: string;
|
|
354
451
|
padding: string;
|
|
355
|
-
},
|
|
452
|
+
}, {
|
|
453
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
454
|
+
height: string;
|
|
455
|
+
width: string;
|
|
456
|
+
borderRadius: string;
|
|
457
|
+
color: string;
|
|
458
|
+
colorHover: string;
|
|
459
|
+
railInsetHorizontalBottom: string;
|
|
460
|
+
railInsetHorizontalTop: string;
|
|
461
|
+
railInsetVerticalRight: string;
|
|
462
|
+
railInsetVerticalLeft: string;
|
|
463
|
+
railColor: string;
|
|
464
|
+
}, any>;
|
|
465
|
+
}>;
|
|
356
466
|
}>;
|
|
357
467
|
}>>>;
|
|
358
468
|
alt: StringConstructor;
|