naive-ui 2.35.0 → 2.36.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/README.md +2 -0
- package/README.zh-CN.md +1 -0
- package/dist/index.js +2433 -667
- package/dist/index.prod.js +2 -2
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +1 -0
- package/es/_internal/scrollbar/src/Scrollbar.js +11 -6
- package/es/_internal/select-menu/src/SelectMenu.d.ts +3 -3
- package/es/_internal/select-menu/src/SelectMenu.js +1 -0
- package/es/_internal/select-menu/src/styles/index.cssr.js +8 -0
- package/es/_internal/selection/src/Selection.d.ts +3 -1
- package/es/_internal/selection/src/Selection.js +4 -2
- package/es/_styles/common/_common.js +1 -1
- package/es/_styles/common/light.js +2 -2
- package/es/_utils/composable/use-collection.d.ts +1 -1
- package/es/_utils/composable/use-collection.js +2 -0
- package/es/_utils/css/color-to-class.js +1 -1
- package/es/affix/src/Affix.d.ts +2 -2
- package/es/affix/src/Affix.js +4 -2
- package/es/alert/src/Alert.js +3 -1
- package/es/anchor/src/AnchorAdapter.d.ts +1 -1
- package/es/auto-complete/src/AutoComplete.d.ts +1 -1
- package/es/button/src/Button.d.ts +1 -1
- package/es/button/src/Button.js +1 -1
- package/es/card/src/Card.d.ts +17 -1
- package/es/card/src/Card.js +12 -5
- package/es/carousel/src/Carousel.d.ts +5 -5
- package/es/carousel/src/Carousel.js +2 -1
- package/es/checkbox/src/Checkbox.d.ts +6 -6
- package/es/color-picker/src/ColorPickerSwatches.js +4 -3
- package/es/components.d.ts +3 -0
- package/es/components.js +3 -0
- package/es/config-provider/src/config.js +5 -5
- package/es/config-provider/src/internal-interface.d.ts +4 -0
- package/es/data-table/src/DataTable.d.ts +3 -3
- package/es/data-table/src/DataTable.js +1 -0
- package/es/data-table/src/MainTable.js +1 -0
- package/es/data-table/src/TableParts/Body.d.ts +3 -3
- package/es/data-table/src/TableParts/Body.js +5 -3
- package/es/data-table/src/interface.d.ts +1 -1
- package/es/date-picker/src/panel/date.d.ts +2 -2
- package/es/date-picker/src/panel/daterange.d.ts +2 -2
- package/es/date-picker/src/panel/datetime.d.ts +2 -2
- package/es/date-picker/src/panel/datetimerange.d.ts +2 -2
- package/es/date-picker/src/panel/month.d.ts +2 -2
- package/es/date-picker/src/panel/monthrange.d.ts +2 -2
- package/es/date-picker/src/panel/panelHeader.d.ts +720 -773
- package/es/date-picker/src/panel/use-calendar.d.ts +2 -2
- package/es/date-picker/src/panel/use-calendar.js +2 -2
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +2 -2
- package/es/date-picker/src/panel/use-dual-calendar.js +4 -4
- package/es/date-picker/src/utils.js +1 -6
- package/es/date-picker/styles/_common.js +1 -1
- package/es/descriptions/src/Descriptions.d.ts +6 -0
- package/es/descriptions/src/Descriptions.js +22 -7
- package/es/descriptions/src/DescriptionsItem.d.ts +6 -0
- package/es/descriptions/src/DescriptionsItem.js +2 -0
- package/es/dialog/src/Dialog.js +6 -2
- package/es/dialog/src/DialogEnvironment.d.ts +1 -1
- package/es/dialog/src/DialogProvider.d.ts +3 -3
- package/es/dialog/src/dialogProps.d.ts +1 -1
- package/es/dropdown/src/Dropdown.d.ts +18 -0
- package/es/dropdown/src/Dropdown.js +1 -1
- package/es/dropdown/src/DropdownMenu.js +4 -1
- package/es/dropdown/src/DropdownOption.d.ts +5 -4
- package/es/dropdown/src/DropdownOption.js +2 -4
- package/es/dynamic-input/src/DynamicInput.d.ts +3 -0
- package/es/dynamic-input/src/DynamicInput.js +3 -3
- package/es/dynamic-tags/src/DynamicTags.d.ts +6 -0
- package/es/dynamic-tags/src/DynamicTags.js +4 -4
- package/es/equation/index.d.ts +1 -0
- package/es/equation/src/Equation.d.ts +2 -0
- package/es/form/src/FormItem.d.ts +1 -1
- package/es/form/src/utils.d.ts +1 -1
- package/es/input/src/Input.d.ts +4 -4
- package/es/input/src/styles/input.cssr.js +1 -1
- package/es/layout/src/Layout.d.ts +6 -0
- package/es/layout/src/Layout.js +8 -1
- package/es/layout/src/LayoutContent.d.ts +2 -0
- package/es/layout/src/LayoutSider.d.ts +9 -0
- package/es/layout/src/LayoutSider.js +12 -3
- package/es/legacy-grid/src/styles/index.cssr.js +2 -3
- package/es/legacy-grid/src/styles/rtl.cssr.js +2 -3
- package/es/loading-bar/src/LoadingBar.d.ts +2 -0
- package/es/loading-bar/src/LoadingBar.js +3 -1
- package/es/loading-bar/src/LoadingBarProvider.d.ts +3 -0
- package/es/loading-bar/src/LoadingBarProvider.js +2 -2
- package/es/locales/common/frFR.js +1 -1
- package/es/log/src/Log.d.ts +3 -3
- package/es/mention/src/Mention.d.ts +1 -1
- package/es/mention/src/utils.js +4 -4
- package/es/menu/src/Menu.d.ts +30 -13
- package/es/menu/src/Menu.js +101 -7
- package/es/menu/src/MenuOptionContent.d.ts +3 -0
- package/es/menu/src/MenuOptionContent.js +7 -2
- package/es/menu/src/Submenu.d.ts +23 -12
- package/es/menu/src/Submenu.js +9 -8
- package/es/menu/src/interface.d.ts +1 -0
- package/es/menu/src/styles/index.cssr.js +8 -4
- package/es/menu/src/use-menu-child.js +5 -5
- package/es/message/src/Message.d.ts +1 -1
- package/es/message/src/MessageProvider.d.ts +7 -4
- package/es/message/src/MessageProvider.js +3 -2
- package/es/modal/src/BodyWrapper.d.ts +12 -4
- package/es/modal/src/Modal.d.ts +16 -4
- package/es/modal/src/presetProps.d.ts +5 -1
- package/es/notification/src/NotificationEnvironment.js +1 -1
- package/es/notification/src/NotificationProvider.d.ts +3 -0
- package/es/notification/src/NotificationProvider.js +2 -2
- package/es/popconfirm/src/Popconfirm.d.ts +18 -0
- package/es/popover/src/Popover.d.ts +24 -0
- package/es/popover/src/Popover.js +7 -0
- package/es/popover/src/PopoverBody.d.ts +22 -1
- package/es/popover/src/PopoverBody.js +26 -10
- package/es/popover/src/interface.d.ts +1 -1
- package/es/popselect/src/Popselect.d.ts +18 -0
- package/es/popselect/src/Popselect.js +2 -1
- package/es/popselect/src/PopselectPanel.js +1 -0
- package/es/progress/src/Progress.d.ts +1 -1
- package/es/qr-code/index.d.ts +2 -0
- package/es/qr-code/index.js +1 -0
- package/es/qr-code/src/QrCode.d.ts +154 -0
- package/es/qr-code/src/QrCode.js +146 -0
- package/es/qr-code/src/qrcodegen.d.ts +94 -0
- package/es/qr-code/src/qrcodegen.js +948 -0
- package/es/qr-code/src/styles/index.cssr.d.ts +2 -0
- package/es/qr-code/src/styles/index.cssr.js +8 -0
- package/es/qr-code/styles/dark.d.ts +3 -0
- package/es/qr-code/styles/dark.js +11 -0
- package/es/qr-code/styles/index.d.ts +3 -0
- package/es/qr-code/styles/index.js +2 -0
- package/es/qr-code/styles/light.d.ts +9 -0
- package/es/qr-code/styles/light.js +12 -0
- package/es/radio/src/RadioGroup.d.ts +1 -0
- package/es/radio/src/RadioGroup.js +2 -1
- package/es/radio/src/styles/radio-group.cssr.js +1 -0
- package/es/result/src/Result.d.ts +1 -1
- package/es/scrollbar/src/Scrollbar.js +2 -0
- package/es/select/src/Select.d.ts +1 -1
- package/es/skeleton/src/Skeleton.js +4 -7
- package/es/slider/src/Slider.d.ts +6 -0
- package/es/slider/src/Slider.js +10 -3
- package/es/slider/src/utils.d.ts +2 -2
- package/es/slider/src/utils.js +4 -4
- package/es/space/src/Space.d.ts +3 -0
- package/es/space/src/Space.js +3 -3
- package/es/spin/src/Spin.d.ts +7 -1
- package/es/spin/src/Spin.js +4 -3
- package/es/split/index.d.ts +2 -0
- package/es/split/index.js +1 -0
- package/es/split/src/Split.d.ts +135 -0
- package/es/split/src/Split.js +145 -0
- package/es/split/src/styles/index.cssr.d.ts +2 -0
- package/es/split/src/styles/index.cssr.js +25 -0
- package/es/split/styles/dark.d.ts +3 -0
- package/es/split/styles/dark.js +6 -0
- package/es/split/styles/index.d.ts +3 -0
- package/es/split/styles/index.js +2 -0
- package/es/split/styles/light.d.ts +9 -0
- package/es/split/styles/light.js +13 -0
- package/es/steps/src/Steps.d.ts +1 -1
- package/es/tabs/src/Tab.js +3 -1
- package/es/tabs/src/Tabs.d.ts +6 -6
- package/es/tabs/src/Tabs.js +2 -2
- package/es/tabs/src/styles/index.cssr.js +12 -2
- package/es/theme-editor/src/ThemeEditor.d.ts +2 -2
- package/es/themes/dark.js +5 -1
- package/es/themes/light.js +5 -1
- package/es/thing/src/Thing.d.ts +6 -0
- package/es/thing/src/Thing.js +13 -4
- package/es/tooltip/src/Tooltip.d.ts +18 -0
- package/es/tree/index.d.ts +1 -0
- package/es/tree/index.js +1 -0
- package/es/tree/src/Tree.d.ts +11 -0
- package/es/tree/src/Tree.js +6 -3
- package/es/tree/src/TreeNode.js +30 -19
- package/es/tree/src/TreeNodeCheckbox.d.ts +1 -0
- package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/es/tree/src/styles/index.cssr.js +4 -3
- package/es/tree/src/utils.d.ts +1 -0
- package/es/tree/src/utils.js +12 -0
- package/es/tree/styles/light.d.ts +2 -0
- package/es/tree/styles/light.js +3 -2
- package/es/tree-select/src/TreeSelect.d.ts +17 -10
- package/es/tree-select/src/TreeSelect.js +2 -2
- package/es/tree-select/styles/light.d.ts +1 -0
- package/es/upload/src/Upload.d.ts +6 -0
- package/es/upload/src/Upload.js +8 -3
- package/es/upload/src/UploadFileList.js +3 -2
- package/es/upload/src/UploadTrigger.js +3 -2
- package/es/upload/src/interface.d.ts +2 -0
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/virtual-list/index.d.ts +2 -0
- package/es/virtual-list/index.js +1 -0
- package/es/virtual-list/src/VirtualList.d.ts +146 -0
- package/es/virtual-list/src/VirtualList.js +102 -0
- package/es/watermark/src/Watermark.js +7 -0
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +1 -0
- package/lib/_internal/scrollbar/src/Scrollbar.js +11 -6
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +3 -3
- package/lib/_internal/select-menu/src/SelectMenu.js +1 -0
- package/lib/_internal/select-menu/src/styles/index.cssr.js +8 -0
- package/lib/_internal/selection/src/Selection.d.ts +3 -1
- package/lib/_internal/selection/src/Selection.js +4 -2
- package/lib/_styles/common/_common.js +1 -1
- package/lib/_styles/common/light.js +2 -2
- package/lib/_utils/composable/use-collection.d.ts +1 -1
- package/lib/_utils/composable/use-collection.js +2 -0
- package/lib/_utils/css/color-to-class.js +1 -1
- package/lib/affix/src/Affix.d.ts +2 -2
- package/lib/affix/src/Affix.js +4 -2
- package/lib/alert/src/Alert.js +3 -1
- package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
- package/lib/auto-complete/src/AutoComplete.d.ts +1 -1
- package/lib/button/src/Button.d.ts +1 -1
- package/lib/button/src/Button.js +1 -1
- package/lib/card/src/Card.d.ts +17 -1
- package/lib/card/src/Card.js +12 -5
- package/lib/carousel/src/Carousel.d.ts +5 -5
- package/lib/carousel/src/Carousel.js +2 -1
- package/lib/checkbox/src/Checkbox.d.ts +6 -6
- package/lib/color-picker/src/ColorPickerSwatches.js +4 -3
- package/lib/components.d.ts +3 -0
- package/lib/components.js +3 -0
- package/lib/config-provider/src/config.js +5 -5
- package/lib/config-provider/src/internal-interface.d.ts +4 -0
- package/lib/data-table/src/DataTable.d.ts +3 -3
- package/lib/data-table/src/DataTable.js +1 -0
- package/lib/data-table/src/MainTable.js +1 -0
- package/lib/data-table/src/TableParts/Body.d.ts +3 -3
- package/lib/data-table/src/TableParts/Body.js +5 -3
- package/lib/data-table/src/interface.d.ts +1 -1
- package/lib/date-picker/src/panel/date.d.ts +2 -2
- package/lib/date-picker/src/panel/daterange.d.ts +2 -2
- package/lib/date-picker/src/panel/datetime.d.ts +2 -2
- package/lib/date-picker/src/panel/datetimerange.d.ts +2 -2
- package/lib/date-picker/src/panel/month.d.ts +2 -2
- package/lib/date-picker/src/panel/monthrange.d.ts +2 -2
- package/lib/date-picker/src/panel/panelHeader.d.ts +720 -773
- package/lib/date-picker/src/panel/use-calendar.d.ts +2 -2
- package/lib/date-picker/src/panel/use-calendar.js +2 -2
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +2 -2
- package/lib/date-picker/src/panel/use-dual-calendar.js +4 -4
- package/lib/date-picker/src/utils.js +1 -6
- package/lib/date-picker/styles/_common.js +1 -1
- package/lib/descriptions/src/Descriptions.d.ts +6 -0
- package/lib/descriptions/src/Descriptions.js +22 -7
- package/lib/descriptions/src/DescriptionsItem.d.ts +6 -0
- package/lib/descriptions/src/DescriptionsItem.js +2 -0
- package/lib/dialog/src/Dialog.js +6 -2
- package/lib/dialog/src/DialogEnvironment.d.ts +1 -1
- package/lib/dialog/src/DialogProvider.d.ts +3 -3
- package/lib/dialog/src/dialogProps.d.ts +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +18 -0
- package/lib/dropdown/src/Dropdown.js +1 -1
- package/lib/dropdown/src/DropdownMenu.js +4 -1
- package/lib/dropdown/src/DropdownOption.d.ts +5 -4
- package/lib/dropdown/src/DropdownOption.js +2 -4
- package/lib/dynamic-input/src/DynamicInput.d.ts +3 -0
- package/lib/dynamic-input/src/DynamicInput.js +3 -3
- package/lib/dynamic-tags/src/DynamicTags.d.ts +6 -0
- package/lib/dynamic-tags/src/DynamicTags.js +4 -4
- package/lib/equation/index.d.ts +1 -0
- package/lib/equation/src/Equation.d.ts +2 -0
- package/lib/form/src/FormItem.d.ts +1 -1
- package/lib/form/src/utils.d.ts +1 -1
- package/lib/input/src/Input.d.ts +4 -4
- package/lib/input/src/styles/input.cssr.js +1 -1
- package/lib/layout/src/Layout.d.ts +6 -0
- package/lib/layout/src/Layout.js +8 -1
- package/lib/layout/src/LayoutContent.d.ts +2 -0
- package/lib/layout/src/LayoutSider.d.ts +9 -0
- package/lib/layout/src/LayoutSider.js +12 -3
- package/lib/legacy-grid/src/styles/index.cssr.js +2 -3
- package/lib/legacy-grid/src/styles/rtl.cssr.js +2 -3
- package/lib/loading-bar/src/LoadingBar.d.ts +2 -0
- package/lib/loading-bar/src/LoadingBar.js +3 -1
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +3 -0
- package/lib/loading-bar/src/LoadingBarProvider.js +2 -2
- package/lib/locales/common/frFR.js +1 -1
- package/lib/log/src/Log.d.ts +3 -3
- package/lib/mention/src/Mention.d.ts +1 -1
- package/lib/mention/src/utils.js +4 -4
- package/lib/menu/src/Menu.d.ts +30 -13
- package/lib/menu/src/Menu.js +101 -7
- package/lib/menu/src/MenuOptionContent.d.ts +3 -0
- package/lib/menu/src/MenuOptionContent.js +7 -2
- package/lib/menu/src/Submenu.d.ts +23 -12
- package/lib/menu/src/Submenu.js +9 -8
- package/lib/menu/src/interface.d.ts +1 -0
- package/lib/menu/src/styles/index.cssr.js +8 -4
- package/lib/menu/src/use-menu-child.js +5 -5
- package/lib/message/src/Message.d.ts +1 -1
- package/lib/message/src/MessageProvider.d.ts +7 -4
- package/lib/message/src/MessageProvider.js +3 -2
- package/lib/modal/src/BodyWrapper.d.ts +12 -4
- package/lib/modal/src/Modal.d.ts +16 -4
- package/lib/modal/src/presetProps.d.ts +5 -1
- package/lib/notification/src/NotificationEnvironment.js +1 -1
- package/lib/notification/src/NotificationProvider.d.ts +3 -0
- package/lib/notification/src/NotificationProvider.js +2 -2
- package/lib/popconfirm/src/Popconfirm.d.ts +18 -0
- package/lib/popover/src/Popover.d.ts +24 -0
- package/lib/popover/src/Popover.js +7 -0
- package/lib/popover/src/PopoverBody.d.ts +22 -1
- package/lib/popover/src/PopoverBody.js +26 -10
- package/lib/popover/src/interface.d.ts +1 -1
- package/lib/popselect/src/Popselect.d.ts +18 -0
- package/lib/popselect/src/Popselect.js +2 -1
- package/lib/popselect/src/PopselectPanel.js +1 -0
- package/lib/progress/src/Progress.d.ts +1 -1
- package/lib/qr-code/index.d.ts +2 -0
- package/lib/qr-code/index.js +9 -0
- package/lib/qr-code/src/QrCode.d.ts +154 -0
- package/lib/qr-code/src/QrCode.js +152 -0
- package/lib/qr-code/src/qrcodegen.d.ts +94 -0
- package/lib/qr-code/src/qrcodegen.js +949 -0
- package/lib/qr-code/src/styles/index.cssr.d.ts +2 -0
- package/lib/qr-code/src/styles/index.cssr.js +13 -0
- package/lib/qr-code/styles/dark.d.ts +3 -0
- package/lib/qr-code/styles/dark.js +13 -0
- package/lib/qr-code/styles/index.d.ts +3 -0
- package/lib/qr-code/styles/index.js +10 -0
- package/lib/qr-code/styles/light.d.ts +9 -0
- package/lib/qr-code/styles/light.js +14 -0
- package/lib/radio/src/RadioGroup.d.ts +1 -0
- package/lib/radio/src/RadioGroup.js +2 -1
- package/lib/radio/src/styles/radio-group.cssr.js +1 -0
- package/lib/result/src/Result.d.ts +1 -1
- package/lib/scrollbar/src/Scrollbar.js +2 -0
- package/lib/select/src/Select.d.ts +1 -1
- package/lib/skeleton/src/Skeleton.js +3 -6
- package/lib/slider/src/Slider.d.ts +6 -0
- package/lib/slider/src/Slider.js +10 -3
- package/lib/slider/src/utils.d.ts +2 -2
- package/lib/slider/src/utils.js +3 -3
- package/lib/space/src/Space.d.ts +3 -0
- package/lib/space/src/Space.js +3 -3
- package/lib/spin/src/Spin.d.ts +7 -1
- package/lib/spin/src/Spin.js +4 -3
- package/lib/split/index.d.ts +2 -0
- package/lib/split/index.js +9 -0
- package/lib/split/src/Split.d.ts +135 -0
- package/lib/split/src/Split.js +151 -0
- package/lib/split/src/styles/index.cssr.d.ts +2 -0
- package/lib/split/src/styles/index.cssr.js +30 -0
- package/lib/split/styles/dark.d.ts +3 -0
- package/lib/split/styles/dark.js +8 -0
- package/lib/split/styles/index.d.ts +3 -0
- package/lib/split/styles/index.js +10 -0
- package/lib/split/styles/light.d.ts +9 -0
- package/lib/split/styles/light.js +17 -0
- package/lib/steps/src/Steps.d.ts +1 -1
- package/lib/tabs/src/Tab.js +3 -1
- package/lib/tabs/src/Tabs.d.ts +6 -6
- package/lib/tabs/src/Tabs.js +2 -2
- package/lib/tabs/src/styles/index.cssr.js +12 -2
- package/lib/theme-editor/src/ThemeEditor.d.ts +2 -2
- package/lib/themes/dark.js +56 -52
- package/lib/themes/light.js +56 -52
- package/lib/thing/src/Thing.d.ts +6 -0
- package/lib/thing/src/Thing.js +13 -4
- package/lib/tooltip/src/Tooltip.d.ts +18 -0
- package/lib/tree/index.d.ts +1 -0
- package/lib/tree/index.js +3 -1
- package/lib/tree/src/Tree.d.ts +11 -0
- package/lib/tree/src/Tree.js +6 -3
- package/lib/tree/src/TreeNode.js +30 -19
- package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -0
- package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/lib/tree/src/styles/index.cssr.js +4 -3
- package/lib/tree/src/utils.d.ts +1 -0
- package/lib/tree/src/utils.js +14 -1
- package/lib/tree/styles/light.d.ts +2 -0
- package/lib/tree/styles/light.js +3 -2
- package/lib/tree-select/src/TreeSelect.d.ts +17 -10
- package/lib/tree-select/src/TreeSelect.js +2 -2
- package/lib/tree-select/styles/light.d.ts +1 -0
- package/lib/upload/src/Upload.d.ts +6 -0
- package/lib/upload/src/Upload.js +8 -3
- package/lib/upload/src/UploadFileList.js +3 -2
- package/lib/upload/src/UploadTrigger.js +3 -2
- package/lib/upload/src/interface.d.ts +2 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/index.d.ts +2 -0
- package/lib/virtual-list/index.js +9 -0
- package/lib/virtual-list/src/VirtualList.d.ts +146 -0
- package/lib/virtual-list/src/VirtualList.js +105 -0
- package/lib/watermark/src/Watermark.js +7 -0
- package/package.json +15 -15
- package/volar.d.ts +4 -0
- package/web-types.json +773 -18
package/lib/card/src/Card.js
CHANGED
|
@@ -14,9 +14,13 @@ const styles_1 = require("../styles");
|
|
|
14
14
|
const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
|
|
15
15
|
exports.cardBaseProps = {
|
|
16
16
|
title: String,
|
|
17
|
+
contentClass: String,
|
|
17
18
|
contentStyle: [Object, String],
|
|
19
|
+
headerClass: String,
|
|
18
20
|
headerStyle: [Object, String],
|
|
21
|
+
headerExtraClass: String,
|
|
19
22
|
headerExtraStyle: [Object, String],
|
|
23
|
+
footerClass: String,
|
|
20
24
|
footerStyle: [Object, String],
|
|
21
25
|
embedded: Boolean,
|
|
22
26
|
segmented: {
|
|
@@ -107,7 +111,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
107
111
|
};
|
|
108
112
|
},
|
|
109
113
|
render() {
|
|
110
|
-
const { segmented, bordered, hoverable, mergedClsPrefix, rtlEnabled, onRender, embedded, tag: Component, $slots } = this;
|
|
114
|
+
const { footerStyle, headerExtraClass, headerClass, contentClass, segmented, bordered, hoverable, mergedClsPrefix, rtlEnabled, onRender, embedded, tag: Component, $slots } = this;
|
|
111
115
|
onRender === null || onRender === void 0 ? void 0 : onRender();
|
|
112
116
|
return ((0, vue_1.h)(Component, { class: [
|
|
113
117
|
`${mergedClsPrefix}-card`,
|
|
@@ -128,14 +132,17 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
128
132
|
], style: this.cssVars, role: this.role },
|
|
129
133
|
(0, _utils_1.resolveWrappedSlot)($slots.cover, (children) => children && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-card-cover`, role: "none" }, children))),
|
|
130
134
|
(0, _utils_1.resolveWrappedSlot)($slots.header, (children) => {
|
|
131
|
-
return children || this.title || this.closable ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-card-header`, style: this.headerStyle },
|
|
135
|
+
return children || this.title || this.closable ? ((0, vue_1.h)("div", { class: [`${mergedClsPrefix}-card-header`, headerClass], style: this.headerStyle },
|
|
132
136
|
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-card-header__main`, role: "heading" }, children || this.title),
|
|
133
|
-
(0, _utils_1.resolveWrappedSlot)($slots['header-extra'], (children) => children && ((0, vue_1.h)("div", { class:
|
|
137
|
+
(0, _utils_1.resolveWrappedSlot)($slots['header-extra'], (children) => children && ((0, vue_1.h)("div", { class: [
|
|
138
|
+
`${mergedClsPrefix}-card-header__extra`,
|
|
139
|
+
headerExtraClass
|
|
140
|
+
], style: this.headerExtraStyle }, children))),
|
|
134
141
|
this.closable ? ((0, vue_1.h)(_internal_1.NBaseClose, { clsPrefix: mergedClsPrefix, class: `${mergedClsPrefix}-card-header__close`, onClick: this.handleCloseClick, absolute: true })) : null)) : null;
|
|
135
142
|
}),
|
|
136
|
-
(0, _utils_1.resolveWrappedSlot)($slots.default, (children) => children && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-card__content`, style: this.contentStyle, role: "none" }, children))),
|
|
143
|
+
(0, _utils_1.resolveWrappedSlot)($slots.default, (children) => children && ((0, vue_1.h)("div", { class: [`${mergedClsPrefix}-card__content`, contentClass], style: this.contentStyle, role: "none" }, children))),
|
|
137
144
|
(0, _utils_1.resolveWrappedSlot)($slots.footer, (children) => children && [
|
|
138
|
-
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-card__footer`, style: this.footerStyle, role: "none" }, children)
|
|
145
|
+
(0, vue_1.h)("div", { class: [`${mergedClsPrefix}-card__footer`, footerStyle], style: this.footerStyle, role: "none" }, children)
|
|
139
146
|
]),
|
|
140
147
|
(0, _utils_1.resolveWrappedSlot)($slots.action, (children) => children && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-card__action`, role: "none" }, children)))));
|
|
141
148
|
}
|
|
@@ -2,7 +2,7 @@ import type { CSSProperties, PropType, Ref, TransitionProps, VNode } from 'vue';
|
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
import type { ArrowScopedSlotProps, DotScopedSlotProps, Size } from './interface';
|
|
4
4
|
declare const transitionProperties: readonly ["transitionDuration", "transitionTimingFunction"];
|
|
5
|
-
type TransitionStyle = Partial<Pick<CSSProperties, typeof transitionProperties[number]>>;
|
|
5
|
+
type TransitionStyle = Partial<Pick<CSSProperties, (typeof transitionProperties)[number]>>;
|
|
6
6
|
export declare const carouselProps: {
|
|
7
7
|
defaultIndex: {
|
|
8
8
|
type: NumberConstructor;
|
|
@@ -15,7 +15,7 @@ export declare const carouselProps: {
|
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
17
|
dotPlacement: {
|
|
18
|
-
type: PropType<"left" | "right" | "
|
|
18
|
+
type: PropType<"left" | "right" | "top" | "bottom">;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
21
|
slidesPerView: {
|
|
@@ -109,7 +109,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
109
|
default: string;
|
|
110
110
|
};
|
|
111
111
|
dotPlacement: {
|
|
112
|
-
type: PropType<"left" | "right" | "
|
|
112
|
+
type: PropType<"left" | "right" | "top" | "bottom">;
|
|
113
113
|
default: string;
|
|
114
114
|
};
|
|
115
115
|
slidesPerView: {
|
|
@@ -246,7 +246,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
246
246
|
default: string;
|
|
247
247
|
};
|
|
248
248
|
dotPlacement: {
|
|
249
|
-
type: PropType<"left" | "right" | "
|
|
249
|
+
type: PropType<"left" | "right" | "top" | "bottom">;
|
|
250
250
|
default: string;
|
|
251
251
|
};
|
|
252
252
|
slidesPerView: {
|
|
@@ -336,7 +336,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
336
336
|
keyboard: boolean;
|
|
337
337
|
dotType: "dot" | "line";
|
|
338
338
|
defaultIndex: number;
|
|
339
|
-
dotPlacement: "left" | "right" | "
|
|
339
|
+
dotPlacement: "left" | "right" | "top" | "bottom";
|
|
340
340
|
slidesPerView: number | "auto";
|
|
341
341
|
spaceBetween: number;
|
|
342
342
|
centeredSlides: boolean;
|
|
@@ -27,6 +27,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.carouselProps = void 0;
|
|
30
|
+
/* eslint-disable @typescript-eslint/no-unsafe-argument */
|
|
30
31
|
const vue_1 = require("vue");
|
|
31
32
|
const vueuc_1 = require("vueuc");
|
|
32
33
|
const vooks_1 = require("vooks");
|
|
@@ -471,7 +472,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
471
472
|
dragStartX = touchEvent.clientX;
|
|
472
473
|
}
|
|
473
474
|
if (props.touchable) {
|
|
474
|
-
(0, evtd_1.on)('touchmove', document, handleTouchmove
|
|
475
|
+
(0, evtd_1.on)('touchmove', document, handleTouchmove);
|
|
475
476
|
(0, evtd_1.on)('touchend', document, handleTouchend);
|
|
476
477
|
(0, evtd_1.on)('touchcancel', document, handleTouchend);
|
|
477
478
|
}
|
|
@@ -23,11 +23,11 @@ export declare const checkboxProps: {
|
|
|
23
23
|
default: boolean;
|
|
24
24
|
};
|
|
25
25
|
checkedValue: {
|
|
26
|
-
type: (
|
|
26
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
27
27
|
default: boolean;
|
|
28
28
|
};
|
|
29
29
|
uncheckedValue: {
|
|
30
|
-
type: (
|
|
30
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
33
|
'onUpdate:checked': PropType<MaybeArray<OnUpdateChecked>>;
|
|
@@ -148,11 +148,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
148
148
|
default: boolean;
|
|
149
149
|
};
|
|
150
150
|
checkedValue: {
|
|
151
|
-
type: (
|
|
151
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
152
152
|
default: boolean;
|
|
153
153
|
};
|
|
154
154
|
uncheckedValue: {
|
|
155
|
-
type: (
|
|
155
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
156
156
|
default: boolean;
|
|
157
157
|
};
|
|
158
158
|
'onUpdate:checked': PropType<MaybeArray<OnUpdateChecked>>;
|
|
@@ -451,11 +451,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
451
451
|
default: boolean;
|
|
452
452
|
};
|
|
453
453
|
checkedValue: {
|
|
454
|
-
type: (
|
|
454
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
455
455
|
default: boolean;
|
|
456
456
|
};
|
|
457
457
|
uncheckedValue: {
|
|
458
|
-
type: (
|
|
458
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
459
459
|
default: boolean;
|
|
460
460
|
};
|
|
461
461
|
'onUpdate:checked': PropType<MaybeArray<OnUpdateChecked>>;
|
|
@@ -16,9 +16,10 @@ function normalizeColor(color, mode) {
|
|
|
16
16
|
return color;
|
|
17
17
|
}
|
|
18
18
|
function getHexFromName(color) {
|
|
19
|
-
const ctx = document
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
const ctx = document.createElement('canvas').getContext('2d');
|
|
20
|
+
if (!ctx) {
|
|
21
|
+
return '#000000';
|
|
22
|
+
}
|
|
22
23
|
ctx.fillStyle = color;
|
|
23
24
|
return ctx.fillStyle;
|
|
24
25
|
}
|
package/lib/components.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ export * from './popconfirm';
|
|
|
59
59
|
export * from './popover';
|
|
60
60
|
export * from './popselect';
|
|
61
61
|
export * from './progress';
|
|
62
|
+
export * from './qr-code';
|
|
62
63
|
export * from './radio';
|
|
63
64
|
export * from './rate';
|
|
64
65
|
export * from './result';
|
|
@@ -68,6 +69,7 @@ export * from './skeleton';
|
|
|
68
69
|
export * from './slider';
|
|
69
70
|
export * from './space';
|
|
70
71
|
export * from './spin';
|
|
72
|
+
export * from './split';
|
|
71
73
|
export * from './statistic';
|
|
72
74
|
export * from './steps';
|
|
73
75
|
export * from './switch';
|
|
@@ -84,6 +86,7 @@ export * from './tree';
|
|
|
84
86
|
export * from './tree-select';
|
|
85
87
|
export * from './typography';
|
|
86
88
|
export * from './upload';
|
|
89
|
+
export * from './virtual-list';
|
|
87
90
|
export * from './watermark';
|
|
88
91
|
export * from './discrete';
|
|
89
92
|
export * from './equation';
|
package/lib/components.js
CHANGED
|
@@ -75,6 +75,7 @@ __exportStar(require("./popconfirm"), exports);
|
|
|
75
75
|
__exportStar(require("./popover"), exports);
|
|
76
76
|
__exportStar(require("./popselect"), exports);
|
|
77
77
|
__exportStar(require("./progress"), exports);
|
|
78
|
+
__exportStar(require("./qr-code"), exports);
|
|
78
79
|
__exportStar(require("./radio"), exports);
|
|
79
80
|
__exportStar(require("./rate"), exports);
|
|
80
81
|
__exportStar(require("./result"), exports);
|
|
@@ -84,6 +85,7 @@ __exportStar(require("./skeleton"), exports);
|
|
|
84
85
|
__exportStar(require("./slider"), exports);
|
|
85
86
|
__exportStar(require("./space"), exports);
|
|
86
87
|
__exportStar(require("./spin"), exports);
|
|
88
|
+
__exportStar(require("./split"), exports);
|
|
87
89
|
__exportStar(require("./statistic"), exports);
|
|
88
90
|
__exportStar(require("./steps"), exports);
|
|
89
91
|
__exportStar(require("./switch"), exports);
|
|
@@ -100,6 +102,7 @@ __exportStar(require("./tree"), exports);
|
|
|
100
102
|
__exportStar(require("./tree-select"), exports);
|
|
101
103
|
__exportStar(require("./typography"), exports);
|
|
102
104
|
__exportStar(require("./upload"), exports);
|
|
105
|
+
__exportStar(require("./virtual-list"), exports);
|
|
103
106
|
__exportStar(require("./watermark"), exports);
|
|
104
107
|
__exportStar(require("./discrete"), exports);
|
|
105
108
|
__exportStar(require("./equation"), exports);
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultBreakpoints = void 0;
|
|
4
4
|
exports.defaultBreakpoints = {
|
|
5
|
-
xs: 0,
|
|
6
|
-
s: 640,
|
|
7
|
-
m: 1024,
|
|
8
|
-
l: 1280,
|
|
9
|
-
xl: 1536,
|
|
5
|
+
xs: 0, // mobile
|
|
6
|
+
s: 640, // tablet
|
|
7
|
+
m: 1024, // laptop s
|
|
8
|
+
l: 1280, // laptop
|
|
9
|
+
xl: 1536, // laptop l
|
|
10
10
|
xxl: 1920 // normal desktop display
|
|
11
11
|
};
|
|
@@ -53,6 +53,7 @@ import type { PopconfirmTheme } from '../../popconfirm/styles';
|
|
|
53
53
|
import type { PopoverTheme } from '../../popover/styles';
|
|
54
54
|
import type { PopselectTheme } from '../../popselect/styles';
|
|
55
55
|
import type { ProgressTheme } from '../../progress/styles';
|
|
56
|
+
import type { QrCodeTheme } from '../../qr-code/styles';
|
|
56
57
|
import type { RadioTheme } from '../../radio/styles';
|
|
57
58
|
import type { RateTheme } from '../../rate/styles';
|
|
58
59
|
import type { ResultTheme } from '../../result/styles';
|
|
@@ -94,6 +95,7 @@ import type { CollapseTransitionTheme } from '../../collapse-transition/styles';
|
|
|
94
95
|
import type { ButtonGroupTheme } from '../../button-group/styles/light';
|
|
95
96
|
import type { RowTheme } from '../../legacy-grid/styles';
|
|
96
97
|
import type { Katex } from './katex';
|
|
98
|
+
import type { SplitTheme } from '../../split/styles';
|
|
97
99
|
export interface GlobalThemeWithoutCommon {
|
|
98
100
|
Alert?: AlertTheme;
|
|
99
101
|
Anchor?: AnchorTheme;
|
|
@@ -150,6 +152,7 @@ export interface GlobalThemeWithoutCommon {
|
|
|
150
152
|
Popover?: PopoverTheme;
|
|
151
153
|
Popselect?: PopselectTheme;
|
|
152
154
|
Progress?: ProgressTheme;
|
|
155
|
+
QrCode?: QrCodeTheme;
|
|
153
156
|
Radio?: RadioTheme;
|
|
154
157
|
Rate?: RateTheme;
|
|
155
158
|
Result?: ResultTheme;
|
|
@@ -175,6 +178,7 @@ export interface GlobalThemeWithoutCommon {
|
|
|
175
178
|
Typography?: TypographyTheme;
|
|
176
179
|
Upload?: UploadTheme;
|
|
177
180
|
Watermark?: WatermarkTheme;
|
|
181
|
+
Split?: SplitTheme;
|
|
178
182
|
Row?: RowTheme;
|
|
179
183
|
InternalSelectMenu?: InternalSelectMenuTheme;
|
|
180
184
|
InternalSelection?: InternalSelectionTheme;
|
|
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
76
|
};
|
|
77
77
|
readonly flexHeight: BooleanConstructor;
|
|
78
78
|
readonly summaryPlacement: {
|
|
79
|
-
readonly type: import("vue").PropType<"
|
|
79
|
+
readonly type: import("vue").PropType<"top" | "bottom">;
|
|
80
80
|
readonly default: "bottom";
|
|
81
81
|
};
|
|
82
82
|
readonly paginationBehaviorOnFilter: {
|
|
@@ -3821,7 +3821,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3821
3821
|
};
|
|
3822
3822
|
readonly flexHeight: BooleanConstructor;
|
|
3823
3823
|
readonly summaryPlacement: {
|
|
3824
|
-
readonly type: import("vue").PropType<"
|
|
3824
|
+
readonly type: import("vue").PropType<"top" | "bottom">;
|
|
3825
3825
|
readonly default: "bottom";
|
|
3826
3826
|
};
|
|
3827
3827
|
readonly paginationBehaviorOnFilter: {
|
|
@@ -6221,7 +6221,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6221
6221
|
readonly childrenKey: string;
|
|
6222
6222
|
readonly indent: number;
|
|
6223
6223
|
readonly flexHeight: boolean;
|
|
6224
|
-
readonly summaryPlacement: "
|
|
6224
|
+
readonly summaryPlacement: "top" | "bottom";
|
|
6225
6225
|
readonly paginationBehaviorOnFilter: "first" | "current";
|
|
6226
6226
|
readonly spinProps: import("../../_internal").BaseLoadingExposedProps;
|
|
6227
6227
|
}, {}>;
|
|
@@ -179,6 +179,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
179
179
|
clearFilter,
|
|
180
180
|
scrollTo: (arg0, arg1) => {
|
|
181
181
|
var _a;
|
|
182
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
182
183
|
(_a = mainTableInstRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo(arg0, arg1);
|
|
183
184
|
}
|
|
184
185
|
};
|
|
@@ -50,6 +50,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
50
50
|
getHeaderElement,
|
|
51
51
|
scrollTo(arg0, arg1) {
|
|
52
52
|
var _a;
|
|
53
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
53
54
|
(_a = bodyInstRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo(arg0, arg1);
|
|
54
55
|
}
|
|
55
56
|
};
|
|
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
getScrollContainer: () => HTMLElement | null;
|
|
11
11
|
scrollTo: import("../../../scrollbar/src/Scrollbar").ScrollTo;
|
|
12
12
|
bodyWidth: import("vue").Ref<number | null>;
|
|
13
|
-
summaryPlacement: import("vue").Ref<"
|
|
13
|
+
summaryPlacement: import("vue").Ref<"top" | "bottom">;
|
|
14
14
|
dataTableSlots: Readonly<{
|
|
15
15
|
[name: string]: import("vue").Slot<any> | undefined;
|
|
16
16
|
}>;
|
|
@@ -1307,8 +1307,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1307
1307
|
handleVirtualListScroll: (e: Event) => void;
|
|
1308
1308
|
handleVirtualListResize: (e: ResizeObserverEntry) => void;
|
|
1309
1309
|
handleMouseleaveTable: () => void;
|
|
1310
|
-
virtualListContainer: () => HTMLElement;
|
|
1311
|
-
virtualListContent: () => HTMLElement;
|
|
1310
|
+
virtualListContainer: () => HTMLElement | null;
|
|
1311
|
+
virtualListContent: () => HTMLElement | null;
|
|
1312
1312
|
handleTableBodyScroll: (e: Event) => void;
|
|
1313
1313
|
handleCheckboxUpdateChecked: (tmNode: {
|
|
1314
1314
|
key: RowKey;
|
|
@@ -209,11 +209,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
209
209
|
}
|
|
210
210
|
function virtualListContainer() {
|
|
211
211
|
const { value } = virtualListRef;
|
|
212
|
-
return value === null || value === void 0 ? void 0 : value.listElRef;
|
|
212
|
+
return (value === null || value === void 0 ? void 0 : value.listElRef) || null;
|
|
213
213
|
}
|
|
214
214
|
function virtualListContent() {
|
|
215
215
|
const { value } = virtualListRef;
|
|
216
|
-
return value === null || value === void 0 ? void 0 : value.itemsElRef;
|
|
216
|
+
return (value === null || value === void 0 ? void 0 : value.itemsElRef) || null;
|
|
217
217
|
}
|
|
218
218
|
function handleVirtualListScroll(e) {
|
|
219
219
|
var _a;
|
|
@@ -232,9 +232,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
232
232
|
scrollTo(arg0, arg1) {
|
|
233
233
|
var _a, _b;
|
|
234
234
|
if (virtualScrollRef.value) {
|
|
235
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
235
236
|
(_a = virtualListRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo(arg0, arg1);
|
|
236
237
|
}
|
|
237
238
|
else {
|
|
239
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
238
240
|
(_b = scrollbarInstRef.value) === null || _b === void 0 ? void 0 : _b.scrollTo(arg0, arg1);
|
|
239
241
|
}
|
|
240
242
|
}
|
|
@@ -410,7 +412,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
410
412
|
(!expandable || expandable(rowInfo.tmNode.rawNode))) {
|
|
411
413
|
displayedData.push(rowInfo, {
|
|
412
414
|
isExpandedRow: true,
|
|
413
|
-
key: `${rowInfo.key}-expand`,
|
|
415
|
+
key: `${rowInfo.key}-expand`, // solve key repeat of the expanded row
|
|
414
416
|
tmNode: rowInfo.tmNode,
|
|
415
417
|
index: rowInfo.index
|
|
416
418
|
});
|
|
@@ -86,7 +86,7 @@ export declare const dataTableProps: {
|
|
|
86
86
|
};
|
|
87
87
|
readonly flexHeight: BooleanConstructor;
|
|
88
88
|
readonly summaryPlacement: {
|
|
89
|
-
readonly type: PropType<"
|
|
89
|
+
readonly type: PropType<"top" | "bottom">;
|
|
90
90
|
readonly default: "bottom";
|
|
91
91
|
};
|
|
92
92
|
readonly paginationBehaviorOnFilter: {
|
|
@@ -38,8 +38,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
handleDateInput: (value: string) => void;
|
|
39
39
|
handleTimePickerChange: (value: number | null) => void;
|
|
40
40
|
clearSelectedDateTime: () => void;
|
|
41
|
-
virtualListContainer: () => HTMLElement;
|
|
42
|
-
virtualListContent: () => HTMLElement;
|
|
41
|
+
virtualListContainer: () => HTMLElement | null;
|
|
42
|
+
virtualListContent: () => HTMLElement | null;
|
|
43
43
|
handleVirtualListScroll: (e: Event) => void;
|
|
44
44
|
timePickerSize: import("vue").Ref<"small" | "medium" | "large">;
|
|
45
45
|
dateInputValue: import("vue").Ref<string>;
|
|
@@ -54,8 +54,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
handleEndDateInputBlur: () => void;
|
|
55
55
|
handleStartYearVlScroll: () => void;
|
|
56
56
|
handleEndYearVlScroll: () => void;
|
|
57
|
-
virtualListContainer: (type: "start" | "end") => HTMLElement;
|
|
58
|
-
virtualListContent: (type: "start" | "end") => HTMLElement;
|
|
57
|
+
virtualListContainer: (type: "start" | "end") => HTMLElement | null;
|
|
58
|
+
virtualListContent: (type: "start" | "end") => HTMLElement | null;
|
|
59
59
|
onUpdateStartCalendarValue: (value: number) => void;
|
|
60
60
|
onUpdateEndCalendarValue: (value: number) => void;
|
|
61
61
|
startYearScrollbarRef: import("vue").Ref<import("../../../_internal").ScrollbarInst | null>;
|
|
@@ -38,8 +38,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
handleDateInput: (value: string) => void;
|
|
39
39
|
handleTimePickerChange: (value: number | null) => void;
|
|
40
40
|
clearSelectedDateTime: () => void;
|
|
41
|
-
virtualListContainer: () => HTMLElement;
|
|
42
|
-
virtualListContent: () => HTMLElement;
|
|
41
|
+
virtualListContainer: () => HTMLElement | null;
|
|
42
|
+
virtualListContent: () => HTMLElement | null;
|
|
43
43
|
handleVirtualListScroll: (e: Event) => void;
|
|
44
44
|
timePickerSize: import("vue").Ref<"small" | "medium" | "large">;
|
|
45
45
|
dateInputValue: import("vue").Ref<string>;
|
|
@@ -54,8 +54,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
handleEndDateInputBlur: () => void;
|
|
55
55
|
handleStartYearVlScroll: () => void;
|
|
56
56
|
handleEndYearVlScroll: () => void;
|
|
57
|
-
virtualListContainer: (type: "start" | "end") => HTMLElement;
|
|
58
|
-
virtualListContent: (type: "start" | "end") => HTMLElement;
|
|
57
|
+
virtualListContainer: (type: "start" | "end") => HTMLElement | null;
|
|
58
|
+
virtualListContent: (type: "start" | "end") => HTMLElement | null;
|
|
59
59
|
onUpdateStartCalendarValue: (value: number) => void;
|
|
60
60
|
onUpdateEndCalendarValue: (value: number) => void;
|
|
61
61
|
startYearScrollbarRef: import("vue").Ref<import("../../../_internal").ScrollbarInst | null>;
|
|
@@ -46,8 +46,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
46
|
handleDateInput: (value: string) => void;
|
|
47
47
|
handleTimePickerChange: (value: number | null) => void;
|
|
48
48
|
clearSelectedDateTime: () => void;
|
|
49
|
-
virtualListContainer: () => HTMLElement;
|
|
50
|
-
virtualListContent: () => HTMLElement;
|
|
49
|
+
virtualListContainer: () => HTMLElement | null;
|
|
50
|
+
virtualListContent: () => HTMLElement | null;
|
|
51
51
|
handleVirtualListScroll: (e: Event) => void;
|
|
52
52
|
timePickerSize: import("vue").Ref<"small" | "medium" | "large">;
|
|
53
53
|
dateInputValue: import("vue").Ref<string>;
|
|
@@ -61,8 +61,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
61
|
handleEndDateInputBlur: () => void;
|
|
62
62
|
handleStartYearVlScroll: () => void;
|
|
63
63
|
handleEndYearVlScroll: () => void;
|
|
64
|
-
virtualListContainer: (type: "start" | "end") => HTMLElement;
|
|
65
|
-
virtualListContent: (type: "start" | "end") => HTMLElement;
|
|
64
|
+
virtualListContainer: (type: "start" | "end") => HTMLElement | null;
|
|
65
|
+
virtualListContent: (type: "start" | "end") => HTMLElement | null;
|
|
66
66
|
onUpdateStartCalendarValue: (value: number) => void;
|
|
67
67
|
onUpdateEndCalendarValue: (value: number) => void;
|
|
68
68
|
startYearScrollbarRef: import("vue").Ref<import("../../../_internal").ScrollbarInst | null>;
|