naive-ui 2.18.0 → 2.19.1
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/es/_internal/clear/src/Clear.d.ts +1 -4
- package/es/_internal/clear/src/Clear.js +1 -4
- package/es/_internal/icons/Checkmark.js +3 -2
- package/es/_internal/select-menu/src/SelectMenu.d.ts +173 -0
- package/es/_internal/select-menu/src/SelectMenu.js +9 -6
- package/es/_internal/select-menu/src/SelectOption.js +2 -1
- package/es/_internal/select-menu/src/styles/index.cssr.js +32 -28
- package/es/_internal/select-menu/styles/light.d.ts +2 -0
- package/es/_internal/select-menu/styles/light.js +1 -1
- package/es/_internal/selection/src/Selection.d.ts +8 -0
- package/es/_internal/selection/src/Selection.js +34 -14
- package/es/_internal/selection/src/styles/index.cssr.js +16 -14
- package/es/_internal/selection/styles/_common.d.ts +1 -0
- package/es/_internal/selection/styles/_common.js +2 -1
- package/es/_internal/selection/styles/light.d.ts +2 -0
- package/es/_styles/common/light.js +1 -1
- package/es/_utils/naive/mutable.d.ts +2 -2
- package/es/anchor/src/AnchorAdapter.d.ts +13 -8
- package/es/anchor/src/AnchorAdapter.js +3 -5
- package/es/anchor/src/BaseAnchor.d.ts +14 -1
- package/es/anchor/src/BaseAnchor.js +20 -7
- package/es/anchor/src/Link.js +5 -5
- package/es/anchor/src/styles/index.cssr.js +25 -16
- package/es/auto-complete/index.d.ts +1 -0
- package/es/auto-complete/src/AutoComplete.d.ts +10 -0
- package/es/auto-complete/src/interface.d.ts +1 -1
- package/es/auto-complete/styles/light.d.ts +1 -0
- package/es/badge/src/styles/index.cssr.js +1 -0
- package/es/card/src/Card.d.ts +17 -1
- package/es/card/src/Card.js +3 -2
- package/es/card/styles/dark.js +6 -1
- package/es/card/styles/light.d.ts +1 -0
- package/es/card/styles/light.js +2 -2
- package/es/cascader/src/Cascader.d.ts +20 -0
- package/es/cascader/src/Cascader.js +28 -19
- package/es/cascader/src/CascaderMenu.js +17 -15
- package/es/cascader/src/CascaderOption.d.ts +2 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +2 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +2 -0
- package/es/cascader/src/interface.d.ts +2 -2
- package/es/cascader/src/styles/index.cssr.js +6 -1
- package/es/cascader/styles/light.d.ts +2 -0
- package/es/composables/use-theme-vars.js +5 -5
- package/es/config-provider/src/internal-interface.d.ts +2 -0
- package/es/data-table/src/DataTable.d.ts +22 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +4 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +4 -0
- package/es/data-table/src/TableParts/Body.d.ts +4 -0
- package/es/data-table/src/TableParts/Cell.d.ts +8 -0
- package/es/data-table/src/TableParts/Header.d.ts +4 -0
- package/es/data-table/styles/light.d.ts +2 -0
- package/es/date-picker/src/DatePicker.d.ts +8 -3
- package/es/date-picker/src/DatePicker.js +2 -2
- package/es/date-picker/src/panel/date.d.ts +3 -3
- package/es/date-picker/src/panel/date.js +10 -1
- package/es/date-picker/src/panel/daterange.js +10 -1
- package/es/date-picker/src/panel/datetimerange.js +10 -1
- package/es/descriptions/src/Descriptions.d.ts +4 -17
- package/es/descriptions/src/Descriptions.js +2 -8
- package/es/dialog/src/Dialog.d.ts +4 -16
- package/es/dialog/src/Dialog.js +2 -8
- package/es/dialog/src/DialogEnvironment.d.ts +28 -36
- package/es/dialog/src/DialogEnvironment.js +2 -2
- package/es/dialog/src/DialogProvider.d.ts +18 -15
- package/es/dialog/src/DialogProvider.js +2 -1
- package/es/dropdown/src/Dropdown.d.ts +9 -23
- package/es/dynamic-tags/src/DynamicTags.js +2 -1
- package/es/empty/src/Empty.d.ts +6 -1
- package/es/empty/src/Empty.js +16 -4
- package/es/form/src/FormItemGridItem.d.ts +1 -1
- package/es/form/src/FormItemGridItem.js +2 -2
- package/es/grid/src/GridItem.d.ts +2 -2
- package/es/grid/src/GridItem.js +1 -1
- package/es/input-number/src/InputNumber.d.ts +5 -0
- package/es/input-number/src/InputNumber.js +9 -8
- package/es/layout/src/Layout.d.ts +18 -4
- package/es/layout/src/LayoutContent.d.ts +9 -2
- package/es/layout/src/LayoutFooter.d.ts +9 -0
- package/es/layout/src/LayoutHeader.d.ts +6 -0
- package/es/layout/src/LayoutSider.d.ts +11 -0
- package/es/layout/src/LayoutSider.js +4 -2
- package/es/layout/src/ToggleButton.js +7 -3
- package/es/layout/src/styles/layout-sider.cssr.js +31 -15
- package/es/layout/styles/dark.js +3 -2
- package/es/layout/styles/light.d.ts +2 -0
- package/es/layout/styles/light.js +3 -2
- package/es/locales/common/enUS.js +1 -1
- package/es/locales/common/ruRU.js +1 -1
- package/es/locales/common/zhCN.js +1 -1
- package/es/mention/src/Mention.d.ts +10 -0
- package/es/mention/styles/light.d.ts +1 -0
- package/es/menu/src/Menu.d.ts +6 -1
- package/es/menu/src/Menu.js +10 -1
- package/es/menu/src/MenuOption.d.ts +3 -1
- package/es/menu/src/MenuOptionContent.d.ts +3 -1
- package/es/menu/src/Submenu.d.ts +3 -1
- package/es/modal/src/BodyWrapper.d.ts +7 -8
- package/es/modal/src/Modal.d.ts +40 -71
- package/es/modal/src/Modal.js +18 -39
- package/es/modal/src/presetProps.d.ts +4 -9
- package/es/modal/styles/light.d.ts +1 -0
- package/es/notification/src/Notification.d.ts +1 -1
- package/es/notification/src/NotificationEnvironment.d.ts +1 -1
- package/es/notification/src/NotificationProvider.d.ts +16 -16
- package/es/page-header/src/PageHeader.d.ts +1 -0
- package/es/page-header/src/PageHeader.js +8 -2
- package/es/page-header/src/styles/rtl.cssr.d.ts +2 -0
- package/es/page-header/src/styles/rtl.cssr.js +19 -0
- package/es/page-header/styles/index.d.ts +1 -0
- package/es/page-header/styles/index.js +1 -0
- package/es/page-header/styles/rtl.d.ts +5 -0
- package/es/page-header/styles/rtl.js +5 -0
- package/es/pagination/src/Pagination.d.ts +23 -1
- package/es/pagination/styles/light.d.ts +2 -0
- package/es/popconfirm/src/Popconfirm.d.ts +8 -22
- package/es/popover/src/Popover.d.ts +12 -32
- package/es/popover/src/Popover.js +25 -18
- package/es/popover/src/PopoverBody.d.ts +2 -2
- package/es/popover/src/PopoverBody.js +4 -2
- package/es/popselect/src/Popselect.d.ts +18 -22
- package/es/popselect/src/PopselectPanel.d.ts +1 -0
- package/es/popselect/src/PopselectPanel.js +38 -19
- package/es/popselect/styles/light.d.ts +1 -0
- package/es/select/src/Select.d.ts +31 -3
- package/es/select/src/Select.js +55 -56
- package/es/select/src/interface.d.ts +2 -2
- package/es/select/styles/light.d.ts +2 -0
- package/es/spin/src/Spin.d.ts +34 -25
- package/es/spin/src/Spin.js +27 -20
- package/es/spin/src/styles/index.cssr.js +23 -9
- package/es/spin/styles/light.d.ts +2 -0
- package/es/spin/styles/light.js +3 -1
- package/es/steps/src/Steps.js +2 -2
- package/es/styles.d.ts +1 -0
- package/es/styles.js +1 -0
- package/es/tabs/src/Tab.d.ts +1 -1
- package/es/tabs/src/Tab.js +4 -6
- package/es/tabs/src/Tabs.d.ts +133 -42
- package/es/tabs/src/Tabs.js +37 -38
- package/es/tabs/src/interface.d.ts +2 -1
- package/es/tabs/src/styles/index.cssr.js +34 -10
- package/es/tabs/styles/_common.d.ts +6 -0
- package/es/tabs/styles/_common.js +6 -0
- package/es/tabs/styles/dark.js +7 -1
- package/es/tabs/styles/light.d.ts +13 -0
- package/es/tabs/styles/light.js +3 -3
- package/es/tag/src/styles/index.cssr.js +1 -1
- package/es/time/src/Time.d.ts +14 -22
- package/es/time/src/Time.js +32 -18
- package/es/time-picker/src/TimePicker.d.ts +5 -0
- package/es/time-picker/src/TimePicker.js +2 -2
- package/es/timeline/src/Timeline.d.ts +67 -0
- package/es/timeline/src/Timeline.js +1 -1
- package/es/timeline/src/TimelineItem.d.ts +2 -0
- package/es/timeline/src/TimelineItem.js +11 -11
- package/es/timeline/src/styles/index.cssr.js +26 -17
- package/es/timeline/styles/_common.d.ts +2 -0
- package/es/timeline/styles/_common.js +3 -1
- package/es/timeline/styles/dark.js +1 -1
- package/es/timeline/styles/light.d.ts +7 -0
- package/es/timeline/styles/light.js +1 -1
- package/es/tooltip/src/Tooltip.d.ts +8 -22
- package/es/transfer/src/TransferList.d.ts +1 -1
- package/es/tree/src/Tree.d.ts +25 -10
- package/es/tree/src/Tree.js +34 -11
- package/es/tree/src/TreeNode.js +5 -2
- package/es/tree/src/interface.d.ts +2 -2
- package/es/tree-select/src/TreeSelect.d.ts +23 -1
- package/es/tree-select/src/TreeSelect.js +36 -40
- package/es/tree-select/src/interface.d.ts +2 -2
- package/es/tree-select/styles/light.d.ts +1 -0
- package/es/typography/src/blockquote.d.ts +2 -8
- package/es/typography/src/blockquote.js +1 -4
- package/es/typography/src/ol.d.ts +2 -8
- package/es/typography/src/ol.js +1 -4
- package/es/typography/src/p.d.ts +2 -2
- package/es/typography/src/p.js +1 -1
- package/es/typography/src/text.d.ts +14 -58
- package/es/typography/src/text.js +2 -23
- package/es/typography/src/ul.d.ts +2 -8
- package/es/typography/src/ul.js +1 -4
- package/es/upload/index.d.ts +2 -0
- package/es/upload/index.js +2 -0
- package/es/upload/src/Upload.d.ts +16 -68
- package/es/upload/src/Upload.js +71 -98
- package/es/upload/src/UploadDragger.js +7 -1
- package/es/upload/src/UploadFileList.d.ts +2 -0
- package/es/upload/src/UploadFileList.js +34 -0
- package/es/upload/src/UploadProgress.d.ts +0 -7
- package/es/upload/src/UploadProgress.js +1 -5
- package/es/upload/src/UploadTrigger.d.ts +12 -0
- package/es/upload/src/UploadTrigger.js +63 -0
- package/es/upload/src/interface.d.ts +13 -2
- package/es/upload/src/styles/index.cssr.js +40 -32
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/clear/src/Clear.d.ts +1 -4
- package/lib/_internal/clear/src/Clear.js +1 -4
- package/lib/_internal/icons/Checkmark.js +3 -2
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +173 -0
- package/lib/_internal/select-menu/src/SelectMenu.js +9 -6
- package/lib/_internal/select-menu/src/SelectOption.js +2 -1
- package/lib/_internal/select-menu/src/styles/index.cssr.js +32 -28
- package/lib/_internal/select-menu/styles/light.d.ts +2 -0
- package/lib/_internal/select-menu/styles/light.js +1 -1
- package/lib/_internal/selection/src/Selection.d.ts +8 -0
- package/lib/_internal/selection/src/Selection.js +34 -14
- package/lib/_internal/selection/src/styles/index.cssr.js +16 -14
- package/lib/_internal/selection/styles/_common.d.ts +1 -0
- package/lib/_internal/selection/styles/_common.js +2 -1
- package/lib/_internal/selection/styles/light.d.ts +2 -0
- package/lib/_styles/common/light.js +1 -1
- package/lib/_utils/naive/mutable.d.ts +2 -2
- package/lib/anchor/src/AnchorAdapter.d.ts +13 -8
- package/lib/anchor/src/AnchorAdapter.js +3 -5
- package/lib/anchor/src/BaseAnchor.d.ts +14 -1
- package/lib/anchor/src/BaseAnchor.js +19 -6
- package/lib/anchor/src/Link.js +5 -5
- package/lib/anchor/src/styles/index.cssr.js +25 -16
- package/lib/auto-complete/index.d.ts +1 -0
- package/lib/auto-complete/src/AutoComplete.d.ts +10 -0
- package/lib/auto-complete/src/interface.d.ts +1 -1
- package/lib/auto-complete/styles/light.d.ts +1 -0
- package/lib/badge/src/styles/index.cssr.js +1 -0
- package/lib/card/src/Card.d.ts +17 -1
- package/lib/card/src/Card.js +3 -2
- package/lib/card/styles/dark.js +6 -1
- package/lib/card/styles/light.d.ts +1 -0
- package/lib/card/styles/light.js +2 -2
- package/lib/cascader/src/Cascader.d.ts +20 -0
- package/lib/cascader/src/Cascader.js +28 -19
- package/lib/cascader/src/CascaderMenu.js +16 -14
- package/lib/cascader/src/CascaderOption.d.ts +2 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +2 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +2 -0
- package/lib/cascader/src/interface.d.ts +2 -2
- package/lib/cascader/src/styles/index.cssr.js +6 -1
- package/lib/cascader/styles/light.d.ts +2 -0
- package/lib/composables/use-theme-vars.js +5 -5
- package/lib/config-provider/src/internal-interface.d.ts +2 -0
- package/lib/data-table/src/DataTable.d.ts +22 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +4 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +4 -0
- package/lib/data-table/src/TableParts/Body.d.ts +4 -0
- package/lib/data-table/src/TableParts/Cell.d.ts +8 -0
- package/lib/data-table/src/TableParts/Header.d.ts +4 -0
- package/lib/data-table/styles/light.d.ts +2 -0
- package/lib/date-picker/src/DatePicker.d.ts +8 -3
- package/lib/date-picker/src/DatePicker.js +2 -2
- package/lib/date-picker/src/panel/date.d.ts +3 -3
- package/lib/date-picker/src/panel/date.js +9 -0
- package/lib/date-picker/src/panel/daterange.js +9 -0
- package/lib/date-picker/src/panel/datetimerange.js +9 -0
- package/lib/descriptions/src/Descriptions.d.ts +4 -17
- package/lib/descriptions/src/Descriptions.js +2 -8
- package/lib/dialog/src/Dialog.d.ts +4 -16
- package/lib/dialog/src/Dialog.js +2 -8
- package/lib/dialog/src/DialogEnvironment.d.ts +28 -36
- package/lib/dialog/src/DialogEnvironment.js +2 -2
- package/lib/dialog/src/DialogProvider.d.ts +18 -15
- package/lib/dialog/src/DialogProvider.js +2 -1
- package/lib/dropdown/src/Dropdown.d.ts +9 -23
- package/lib/dynamic-tags/src/DynamicTags.js +2 -1
- package/lib/empty/src/Empty.d.ts +6 -1
- package/lib/empty/src/Empty.js +15 -3
- package/lib/form/src/FormItemGridItem.d.ts +1 -1
- package/lib/form/src/FormItemGridItem.js +2 -2
- package/lib/grid/src/GridItem.d.ts +2 -2
- package/lib/grid/src/GridItem.js +1 -1
- package/lib/input-number/src/InputNumber.d.ts +5 -0
- package/lib/input-number/src/InputNumber.js +9 -8
- package/lib/layout/src/Layout.d.ts +18 -4
- package/lib/layout/src/LayoutContent.d.ts +9 -2
- package/lib/layout/src/LayoutFooter.d.ts +9 -0
- package/lib/layout/src/LayoutHeader.d.ts +6 -0
- package/lib/layout/src/LayoutSider.d.ts +11 -0
- package/lib/layout/src/LayoutSider.js +4 -2
- package/lib/layout/src/ToggleButton.js +7 -3
- package/lib/layout/src/styles/layout-sider.cssr.js +31 -15
- package/lib/layout/styles/dark.js +3 -2
- package/lib/layout/styles/light.d.ts +2 -0
- package/lib/layout/styles/light.js +3 -2
- package/lib/locales/common/enUS.js +1 -1
- package/lib/locales/common/ruRU.js +1 -1
- package/lib/locales/common/zhCN.js +1 -1
- package/lib/mention/src/Mention.d.ts +10 -0
- package/lib/mention/styles/light.d.ts +1 -0
- package/lib/menu/src/Menu.d.ts +6 -1
- package/lib/menu/src/Menu.js +10 -1
- package/lib/menu/src/MenuOption.d.ts +3 -1
- package/lib/menu/src/MenuOptionContent.d.ts +3 -1
- package/lib/menu/src/Submenu.d.ts +3 -1
- package/lib/modal/src/BodyWrapper.d.ts +7 -8
- package/lib/modal/src/Modal.d.ts +40 -71
- package/lib/modal/src/Modal.js +17 -38
- package/lib/modal/src/presetProps.d.ts +4 -9
- package/lib/modal/styles/light.d.ts +1 -0
- package/lib/notification/src/Notification.d.ts +1 -1
- package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
- package/lib/notification/src/NotificationProvider.d.ts +16 -16
- package/lib/page-header/src/PageHeader.d.ts +1 -0
- package/lib/page-header/src/PageHeader.js +8 -2
- package/lib/page-header/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/page-header/src/styles/rtl.cssr.js +26 -0
- package/lib/page-header/styles/index.d.ts +1 -0
- package/lib/page-header/styles/index.js +3 -1
- package/lib/page-header/styles/rtl.d.ts +5 -0
- package/lib/page-header/styles/rtl.js +7 -0
- package/lib/pagination/src/Pagination.d.ts +23 -1
- package/lib/pagination/styles/light.d.ts +2 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +8 -22
- package/lib/popover/src/Popover.d.ts +12 -32
- package/lib/popover/src/Popover.js +23 -16
- package/lib/popover/src/PopoverBody.d.ts +2 -2
- package/lib/popover/src/PopoverBody.js +4 -2
- package/lib/popselect/src/Popselect.d.ts +18 -22
- package/lib/popselect/src/PopselectPanel.d.ts +1 -0
- package/lib/popselect/src/PopselectPanel.js +38 -19
- package/lib/popselect/styles/light.d.ts +1 -0
- package/lib/select/src/Select.d.ts +31 -3
- package/lib/select/src/Select.js +55 -56
- package/lib/select/src/interface.d.ts +2 -2
- package/lib/select/styles/light.d.ts +2 -0
- package/lib/spin/src/Spin.d.ts +34 -25
- package/lib/spin/src/Spin.js +25 -18
- package/lib/spin/src/styles/index.cssr.js +23 -9
- package/lib/spin/styles/light.d.ts +2 -0
- package/lib/spin/styles/light.js +3 -1
- package/lib/steps/src/Steps.js +1 -1
- package/lib/styles.d.ts +1 -0
- package/lib/styles.js +63 -61
- package/lib/tabs/src/Tab.d.ts +1 -1
- package/lib/tabs/src/Tab.js +4 -6
- package/lib/tabs/src/Tabs.d.ts +133 -42
- package/lib/tabs/src/Tabs.js +36 -37
- package/lib/tabs/src/interface.d.ts +2 -1
- package/lib/tabs/src/styles/index.cssr.js +34 -10
- package/lib/tabs/styles/_common.d.ts +6 -0
- package/lib/tabs/styles/_common.js +6 -0
- package/lib/tabs/styles/dark.js +7 -1
- package/lib/tabs/styles/light.d.ts +13 -0
- package/lib/tabs/styles/light.js +3 -3
- package/lib/tag/src/styles/index.cssr.js +1 -1
- package/lib/time/src/Time.d.ts +14 -22
- package/lib/time/src/Time.js +31 -17
- package/lib/time-picker/src/TimePicker.d.ts +5 -0
- package/lib/time-picker/src/TimePicker.js +2 -2
- package/lib/timeline/src/Timeline.d.ts +67 -0
- package/lib/timeline/src/Timeline.js +1 -1
- package/lib/timeline/src/TimelineItem.d.ts +2 -0
- package/lib/timeline/src/TimelineItem.js +10 -10
- package/lib/timeline/src/styles/index.cssr.js +27 -18
- package/lib/timeline/styles/_common.d.ts +2 -0
- package/lib/timeline/styles/_common.js +3 -1
- package/lib/timeline/styles/dark.js +1 -1
- package/lib/timeline/styles/light.d.ts +7 -0
- package/lib/timeline/styles/light.js +1 -1
- package/lib/tooltip/src/Tooltip.d.ts +8 -22
- package/lib/transfer/src/TransferList.d.ts +1 -1
- package/lib/tree/src/Tree.d.ts +25 -10
- package/lib/tree/src/Tree.js +34 -11
- package/lib/tree/src/TreeNode.js +5 -2
- package/lib/tree/src/interface.d.ts +2 -2
- package/lib/tree-select/src/TreeSelect.d.ts +23 -1
- package/lib/tree-select/src/TreeSelect.js +36 -40
- package/lib/tree-select/src/interface.d.ts +2 -2
- package/lib/tree-select/styles/light.d.ts +1 -0
- package/lib/typography/src/blockquote.d.ts +2 -8
- package/lib/typography/src/blockquote.js +1 -4
- package/lib/typography/src/ol.d.ts +2 -8
- package/lib/typography/src/ol.js +1 -4
- package/lib/typography/src/p.d.ts +2 -2
- package/lib/typography/src/p.js +1 -1
- package/lib/typography/src/text.d.ts +14 -58
- package/lib/typography/src/text.js +2 -23
- package/lib/typography/src/ul.d.ts +2 -8
- package/lib/typography/src/ul.js +1 -4
- package/lib/upload/index.d.ts +2 -0
- package/lib/upload/index.js +5 -1
- package/lib/upload/src/Upload.d.ts +16 -68
- package/lib/upload/src/Upload.js +68 -95
- package/lib/upload/src/UploadDragger.js +7 -1
- package/lib/upload/src/UploadFileList.d.ts +2 -0
- package/lib/upload/src/UploadFileList.js +36 -0
- package/lib/upload/src/UploadProgress.d.ts +0 -7
- package/lib/upload/src/UploadProgress.js +1 -5
- package/lib/upload/src/UploadTrigger.d.ts +12 -0
- package/lib/upload/src/UploadTrigger.js +65 -0
- package/lib/upload/src/interface.d.ts +13 -2
- package/lib/upload/src/styles/index.cssr.js +40 -32
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +8 -6
- package/web-types.json +248 -13
|
@@ -183,7 +183,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
183
183
|
}
|
|
184
184
|
return {
|
|
185
185
|
namespace: namespaceRef,
|
|
186
|
-
NPopover,
|
|
186
|
+
isMounted: NPopover.isMountedRef,
|
|
187
|
+
zIndex: NPopover.zIndexRef,
|
|
187
188
|
followerRef,
|
|
188
189
|
adjustedTo: (0, _utils_1.useAdjustedTo)(props),
|
|
189
190
|
followerEnabled: followerEnabledRef,
|
|
@@ -192,6 +193,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
192
193
|
},
|
|
193
194
|
render() {
|
|
194
195
|
return (0, vue_1.h)(vueuc_1.VFollower, {
|
|
196
|
+
zIndex: this.zIndex,
|
|
195
197
|
show: this.show,
|
|
196
198
|
enabled: this.followerEnabled,
|
|
197
199
|
to: this.adjustedTo,
|
|
@@ -208,7 +210,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
208
210
|
return this.animated
|
|
209
211
|
? (0, vue_1.h)(vue_1.Transition, {
|
|
210
212
|
name: 'popover-transition',
|
|
211
|
-
appear: this.
|
|
213
|
+
appear: this.isMounted,
|
|
212
214
|
// Don't use watch to enable follower, since the transition may
|
|
213
215
|
// make position sync timing very subtle and buggy.
|
|
214
216
|
onEnter: () => {
|
|
@@ -76,16 +76,9 @@ declare const popselectProps: {
|
|
|
76
76
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
77
77
|
'onUpdate:show': PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
78
78
|
onUpdateShow: PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
default: undefined;
|
|
83
|
-
};
|
|
84
|
-
onHide: {
|
|
85
|
-
type: PropType<import("../../_utils").MaybeArray<(value: boolean) => void> | undefined>;
|
|
86
|
-
validator: () => boolean;
|
|
87
|
-
default: undefined;
|
|
88
|
-
};
|
|
79
|
+
zIndex: NumberConstructor;
|
|
80
|
+
onShow: PropType<import("../../_utils").MaybeArray<(value: boolean) => void> | undefined>;
|
|
81
|
+
onHide: PropType<import("../../_utils").MaybeArray<(value: boolean) => void> | undefined>;
|
|
89
82
|
arrow: {
|
|
90
83
|
type: PropType<boolean | undefined>;
|
|
91
84
|
default: undefined;
|
|
@@ -127,6 +120,7 @@ declare const popselectProps: {
|
|
|
127
120
|
optionOpacityDisabled: string;
|
|
128
121
|
optionCheckColor: string;
|
|
129
122
|
optionColorPending: string;
|
|
123
|
+
optionColorActive: string;
|
|
130
124
|
actionTextColor: string;
|
|
131
125
|
loadingColor: string;
|
|
132
126
|
height: string;
|
|
@@ -194,6 +188,7 @@ declare const popselectProps: {
|
|
|
194
188
|
optionOpacityDisabled: string;
|
|
195
189
|
optionCheckColor: string;
|
|
196
190
|
optionColorPending: string;
|
|
191
|
+
optionColorActive: string;
|
|
197
192
|
actionTextColor: string;
|
|
198
193
|
loadingColor: string;
|
|
199
194
|
height: string;
|
|
@@ -261,6 +256,7 @@ declare const popselectProps: {
|
|
|
261
256
|
optionOpacityDisabled: string;
|
|
262
257
|
optionCheckColor: string;
|
|
263
258
|
optionColorPending: string;
|
|
259
|
+
optionColorActive: string;
|
|
264
260
|
actionTextColor: string;
|
|
265
261
|
loadingColor: string;
|
|
266
262
|
height: string;
|
|
@@ -370,16 +366,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
370
366
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
371
367
|
'onUpdate:show': PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
372
368
|
onUpdateShow: PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
default: undefined;
|
|
377
|
-
};
|
|
378
|
-
onHide: {
|
|
379
|
-
type: PropType<import("../../_utils").MaybeArray<(value: boolean) => void> | undefined>;
|
|
380
|
-
validator: () => boolean;
|
|
381
|
-
default: undefined;
|
|
382
|
-
};
|
|
369
|
+
zIndex: NumberConstructor;
|
|
370
|
+
onShow: PropType<import("../../_utils").MaybeArray<(value: boolean) => void> | undefined>;
|
|
371
|
+
onHide: PropType<import("../../_utils").MaybeArray<(value: boolean) => void> | undefined>;
|
|
383
372
|
arrow: {
|
|
384
373
|
type: PropType<boolean | undefined>;
|
|
385
374
|
default: undefined;
|
|
@@ -421,6 +410,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
421
410
|
optionOpacityDisabled: string;
|
|
422
411
|
optionCheckColor: string;
|
|
423
412
|
optionColorPending: string;
|
|
413
|
+
optionColorActive: string;
|
|
424
414
|
actionTextColor: string;
|
|
425
415
|
loadingColor: string;
|
|
426
416
|
height: string;
|
|
@@ -488,6 +478,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
488
478
|
optionOpacityDisabled: string;
|
|
489
479
|
optionCheckColor: string;
|
|
490
480
|
optionColorPending: string;
|
|
481
|
+
optionColorActive: string;
|
|
491
482
|
actionTextColor: string;
|
|
492
483
|
loadingColor: string;
|
|
493
484
|
height: string;
|
|
@@ -555,6 +546,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
555
546
|
optionOpacityDisabled: string;
|
|
556
547
|
optionCheckColor: string;
|
|
557
548
|
optionColorPending: string;
|
|
549
|
+
optionColorActive: string;
|
|
558
550
|
actionTextColor: string;
|
|
559
551
|
loadingColor: string;
|
|
560
552
|
height: string;
|
|
@@ -728,6 +720,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
728
720
|
optionOpacityDisabled: string;
|
|
729
721
|
optionCheckColor: string;
|
|
730
722
|
optionColorPending: string;
|
|
723
|
+
optionColorActive: string;
|
|
731
724
|
actionTextColor: string;
|
|
732
725
|
loadingColor: string;
|
|
733
726
|
height: string;
|
|
@@ -824,6 +817,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
824
817
|
onClickoutside?: unknown;
|
|
825
818
|
'onUpdate:show'?: unknown;
|
|
826
819
|
onUpdateShow?: unknown;
|
|
820
|
+
zIndex?: unknown;
|
|
827
821
|
onShow?: unknown;
|
|
828
822
|
onHide?: unknown;
|
|
829
823
|
arrow?: unknown;
|
|
@@ -859,6 +853,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
859
853
|
maxWidth?: number | undefined;
|
|
860
854
|
minWidth?: number | undefined;
|
|
861
855
|
width?: string | number | undefined;
|
|
856
|
+
zIndex?: number | undefined;
|
|
862
857
|
onChange?: import("../../_utils").MaybeArray<import("../../select/src/interface").OnUpdateValue> | undefined;
|
|
863
858
|
onMouseenter?: ((e: MouseEvent) => void) | undefined;
|
|
864
859
|
onMouseleave?: ((e: MouseEvent) => void) | undefined;
|
|
@@ -897,6 +892,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
897
892
|
optionOpacityDisabled: string;
|
|
898
893
|
optionCheckColor: string;
|
|
899
894
|
optionColorPending: string;
|
|
895
|
+
optionColorActive: string;
|
|
900
896
|
actionTextColor: string;
|
|
901
897
|
loadingColor: string;
|
|
902
898
|
height: string;
|
|
@@ -964,6 +960,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
964
960
|
optionOpacityDisabled: string;
|
|
965
961
|
optionCheckColor: string;
|
|
966
962
|
optionColorPending: string;
|
|
963
|
+
optionColorActive: string;
|
|
967
964
|
actionTextColor: string;
|
|
968
965
|
loadingColor: string;
|
|
969
966
|
height: string;
|
|
@@ -1031,6 +1028,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1031
1028
|
optionOpacityDisabled: string;
|
|
1032
1029
|
optionCheckColor: string;
|
|
1033
1030
|
optionColorPending: string;
|
|
1031
|
+
optionColorActive: string;
|
|
1034
1032
|
actionTextColor: string;
|
|
1035
1033
|
loadingColor: string;
|
|
1036
1034
|
height: string;
|
|
@@ -1094,8 +1092,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1094
1092
|
animated: boolean;
|
|
1095
1093
|
defaultShow: boolean;
|
|
1096
1094
|
internalExtraClass: string[];
|
|
1097
|
-
onShow: import("../../_utils").MaybeArray<(value: boolean) => void> | undefined;
|
|
1098
|
-
onHide: import("../../_utils").MaybeArray<(value: boolean) => void> | undefined;
|
|
1099
1095
|
arrow: boolean | undefined;
|
|
1100
1096
|
options: import("../../select/src/interface").SelectMixedOption[];
|
|
1101
1097
|
cancelable: boolean;
|
|
@@ -197,6 +197,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
197
197
|
optionOpacityDisabled: string;
|
|
198
198
|
optionCheckColor: string;
|
|
199
199
|
optionColorPending: string;
|
|
200
|
+
optionColorActive: string;
|
|
200
201
|
actionTextColor: string;
|
|
201
202
|
loadingColor: string;
|
|
202
203
|
height: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.panelPropKeys = exports.panelProps = void 0;
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-non-null-assertion */
|
|
4
5
|
const vue_1 = require("vue");
|
|
5
6
|
const treemate_1 = require("treemate");
|
|
6
7
|
const utils_1 = require("../../select/src/utils");
|
|
@@ -48,42 +49,62 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
48
49
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
49
50
|
const NPopselect = (0, vue_1.inject)(interface_1.popselectInjectionKey);
|
|
50
51
|
const { mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
|
|
51
|
-
|
|
52
|
+
const treeMateRef = (0, vue_1.computed)(() => {
|
|
53
|
+
return (0, treemate_1.createTreeMate)(props.options, utils_1.tmOptions);
|
|
54
|
+
});
|
|
55
|
+
function doUpdateValue(value, option) {
|
|
52
56
|
const { onUpdateValue, 'onUpdate:value': _onUpdateValue, onChange } = props;
|
|
53
57
|
if (onUpdateValue)
|
|
54
|
-
(0, _utils_1.call)(onUpdateValue, value);
|
|
55
|
-
if (_onUpdateValue)
|
|
56
|
-
(0, _utils_1.call)(_onUpdateValue, value);
|
|
58
|
+
(0, _utils_1.call)(onUpdateValue, value, option);
|
|
59
|
+
if (_onUpdateValue) {
|
|
60
|
+
(0, _utils_1.call)(_onUpdateValue, value, option);
|
|
61
|
+
}
|
|
57
62
|
if (onChange)
|
|
58
|
-
(0, _utils_1.call)(onChange, value);
|
|
63
|
+
(0, _utils_1.call)(onChange, value, option);
|
|
59
64
|
}
|
|
60
65
|
function handleToggle(tmNode) {
|
|
61
66
|
toggle(tmNode.key);
|
|
62
67
|
}
|
|
63
68
|
function toggle(value) {
|
|
69
|
+
const { value: { getNode } } = treeMateRef;
|
|
64
70
|
if (props.multiple) {
|
|
65
71
|
if (Array.isArray(props.value)) {
|
|
66
|
-
const
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
const newValue = [];
|
|
73
|
+
const newOptions = [];
|
|
74
|
+
let shouldAddValue = true;
|
|
75
|
+
props.value.forEach((v) => {
|
|
76
|
+
if (v === value) {
|
|
77
|
+
shouldAddValue = false;
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
const tmNode = getNode(v);
|
|
81
|
+
if (tmNode) {
|
|
82
|
+
newValue.push(tmNode.key);
|
|
83
|
+
newOptions.push(tmNode.rawNode);
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
if (shouldAddValue) {
|
|
73
87
|
newValue.push(value);
|
|
88
|
+
newOptions.push(getNode(value).rawNode);
|
|
74
89
|
}
|
|
75
|
-
doUpdateValue(newValue);
|
|
90
|
+
doUpdateValue(newValue, newOptions);
|
|
76
91
|
}
|
|
77
92
|
else {
|
|
78
|
-
|
|
93
|
+
const tmNode = getNode(value);
|
|
94
|
+
if (tmNode) {
|
|
95
|
+
doUpdateValue([value], [tmNode.rawNode]);
|
|
96
|
+
}
|
|
79
97
|
}
|
|
80
98
|
}
|
|
81
99
|
else {
|
|
82
100
|
if (props.value === value && props.cancelable) {
|
|
83
|
-
doUpdateValue(null);
|
|
101
|
+
doUpdateValue(null, null);
|
|
84
102
|
}
|
|
85
103
|
else {
|
|
86
|
-
|
|
104
|
+
const tmNode = getNode(value);
|
|
105
|
+
if (tmNode) {
|
|
106
|
+
doUpdateValue(value, tmNode.rawNode);
|
|
107
|
+
}
|
|
87
108
|
NPopselect.setShow(false);
|
|
88
109
|
}
|
|
89
110
|
}
|
|
@@ -99,9 +120,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
99
120
|
return {
|
|
100
121
|
mergedTheme: NPopselect.mergedThemeRef,
|
|
101
122
|
mergedClsPrefix: mergedClsPrefixRef,
|
|
102
|
-
treeMate:
|
|
103
|
-
return (0, treemate_1.createTreeMate)(props.options, utils_1.tmOptions);
|
|
104
|
-
}),
|
|
123
|
+
treeMate: treeMateRef,
|
|
105
124
|
handleToggle
|
|
106
125
|
};
|
|
107
126
|
},
|
|
@@ -33,6 +33,7 @@ declare const popselectLight: import("../../_mixins").Theme<"Popselect", unknown
|
|
|
33
33
|
optionOpacityDisabled: string;
|
|
34
34
|
optionCheckColor: string;
|
|
35
35
|
optionColorPending: string;
|
|
36
|
+
optionColorActive: string;
|
|
36
37
|
actionTextColor: string;
|
|
37
38
|
loadingColor: string;
|
|
38
39
|
height: string;
|
|
@@ -6,7 +6,7 @@ import { RenderTag } from '../../_internal/selection/src/interface';
|
|
|
6
6
|
import { ExtractPublicPropTypes } from '../../_utils';
|
|
7
7
|
import type { MaybeArray } from '../../_utils';
|
|
8
8
|
import { defaultFilter } from './utils';
|
|
9
|
-
import type { SelectMixedOption, SelectBaseOption, SelectGroupOption, SelectIgnoredOption, OnUpdateValue, Value, Size } from './interface';
|
|
9
|
+
import type { SelectMixedOption, SelectBaseOption, SelectGroupOption, SelectIgnoredOption, OnUpdateValue, Value, Size, ValueAtom } from './interface';
|
|
10
10
|
declare const selectProps: {
|
|
11
11
|
readonly to: {
|
|
12
12
|
type: PropType<string | boolean | HTMLElement>;
|
|
@@ -90,6 +90,8 @@ declare const selectProps: {
|
|
|
90
90
|
readonly onFocus: PropType<MaybeArray<(e: FocusEvent) => void> | undefined>;
|
|
91
91
|
readonly onScroll: PropType<MaybeArray<(e: Event) => void> | undefined>;
|
|
92
92
|
readonly onSearch: PropType<MaybeArray<(value: string) => void> | undefined>;
|
|
93
|
+
readonly onUpdateShow: PropType<MaybeArray<(value: boolean) => void>>;
|
|
94
|
+
readonly 'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
|
|
93
95
|
/** deprecated */
|
|
94
96
|
readonly onChange: {
|
|
95
97
|
readonly type: PropType<MaybeArray<OnUpdateValue> | undefined>;
|
|
@@ -159,6 +161,7 @@ declare const selectProps: {
|
|
|
159
161
|
fontSizeLarge: string;
|
|
160
162
|
paddingSingle: string;
|
|
161
163
|
clearSize: string;
|
|
164
|
+
arrowSize: string;
|
|
162
165
|
}, {
|
|
163
166
|
Popover: import("../../_mixins").Theme<"Popover", {
|
|
164
167
|
fontSize: string;
|
|
@@ -195,6 +198,7 @@ declare const selectProps: {
|
|
|
195
198
|
optionOpacityDisabled: string;
|
|
196
199
|
optionCheckColor: string;
|
|
197
200
|
optionColorPending: string;
|
|
201
|
+
optionColorActive: string;
|
|
198
202
|
actionTextColor: string;
|
|
199
203
|
loadingColor: string;
|
|
200
204
|
height: string;
|
|
@@ -281,6 +285,7 @@ declare const selectProps: {
|
|
|
281
285
|
fontSizeLarge: string;
|
|
282
286
|
paddingSingle: string;
|
|
283
287
|
clearSize: string;
|
|
288
|
+
arrowSize: string;
|
|
284
289
|
}, {
|
|
285
290
|
Popover: import("../../_mixins").Theme<"Popover", {
|
|
286
291
|
fontSize: string;
|
|
@@ -317,6 +322,7 @@ declare const selectProps: {
|
|
|
317
322
|
optionOpacityDisabled: string;
|
|
318
323
|
optionCheckColor: string;
|
|
319
324
|
optionColorPending: string;
|
|
325
|
+
optionColorActive: string;
|
|
320
326
|
actionTextColor: string;
|
|
321
327
|
loadingColor: string;
|
|
322
328
|
height: string;
|
|
@@ -403,6 +409,7 @@ declare const selectProps: {
|
|
|
403
409
|
fontSizeLarge: string;
|
|
404
410
|
paddingSingle: string;
|
|
405
411
|
clearSize: string;
|
|
412
|
+
arrowSize: string;
|
|
406
413
|
}, {
|
|
407
414
|
Popover: import("../../_mixins").Theme<"Popover", {
|
|
408
415
|
fontSize: string;
|
|
@@ -439,6 +446,7 @@ declare const selectProps: {
|
|
|
439
446
|
optionOpacityDisabled: string;
|
|
440
447
|
optionCheckColor: string;
|
|
441
448
|
optionColorPending: string;
|
|
449
|
+
optionColorActive: string;
|
|
442
450
|
actionTextColor: string;
|
|
443
451
|
loadingColor: string;
|
|
444
452
|
height: string;
|
|
@@ -556,6 +564,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
556
564
|
readonly onFocus: PropType<MaybeArray<(e: FocusEvent) => void> | undefined>;
|
|
557
565
|
readonly onScroll: PropType<MaybeArray<(e: Event) => void> | undefined>;
|
|
558
566
|
readonly onSearch: PropType<MaybeArray<(value: string) => void> | undefined>;
|
|
567
|
+
readonly onUpdateShow: PropType<MaybeArray<(value: boolean) => void>>;
|
|
568
|
+
readonly 'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
|
|
559
569
|
/** deprecated */
|
|
560
570
|
readonly onChange: {
|
|
561
571
|
readonly type: PropType<MaybeArray<OnUpdateValue> | undefined>;
|
|
@@ -625,6 +635,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
625
635
|
fontSizeLarge: string;
|
|
626
636
|
paddingSingle: string;
|
|
627
637
|
clearSize: string;
|
|
638
|
+
arrowSize: string;
|
|
628
639
|
}, {
|
|
629
640
|
Popover: import("../../_mixins").Theme<"Popover", {
|
|
630
641
|
fontSize: string;
|
|
@@ -661,6 +672,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
661
672
|
optionOpacityDisabled: string;
|
|
662
673
|
optionCheckColor: string;
|
|
663
674
|
optionColorPending: string;
|
|
675
|
+
optionColorActive: string;
|
|
664
676
|
actionTextColor: string;
|
|
665
677
|
loadingColor: string;
|
|
666
678
|
height: string;
|
|
@@ -747,6 +759,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
747
759
|
fontSizeLarge: string;
|
|
748
760
|
paddingSingle: string;
|
|
749
761
|
clearSize: string;
|
|
762
|
+
arrowSize: string;
|
|
750
763
|
}, {
|
|
751
764
|
Popover: import("../../_mixins").Theme<"Popover", {
|
|
752
765
|
fontSize: string;
|
|
@@ -783,6 +796,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
783
796
|
optionOpacityDisabled: string;
|
|
784
797
|
optionCheckColor: string;
|
|
785
798
|
optionColorPending: string;
|
|
799
|
+
optionColorActive: string;
|
|
786
800
|
actionTextColor: string;
|
|
787
801
|
loadingColor: string;
|
|
788
802
|
height: string;
|
|
@@ -869,6 +883,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
869
883
|
fontSizeLarge: string;
|
|
870
884
|
paddingSingle: string;
|
|
871
885
|
clearSize: string;
|
|
886
|
+
arrowSize: string;
|
|
872
887
|
}, {
|
|
873
888
|
Popover: import("../../_mixins").Theme<"Popover", {
|
|
874
889
|
fontSize: string;
|
|
@@ -905,6 +920,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
905
920
|
optionOpacityDisabled: string;
|
|
906
921
|
optionCheckColor: string;
|
|
907
922
|
optionColorPending: string;
|
|
923
|
+
optionColorActive: string;
|
|
908
924
|
actionTextColor: string;
|
|
909
925
|
loadingColor: string;
|
|
910
926
|
height: string;
|
|
@@ -958,8 +974,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
958
974
|
uncontrolledShow: import("vue").Ref<boolean>;
|
|
959
975
|
mergedShow: import("vue").ComputedRef<boolean>;
|
|
960
976
|
adjustedTo: import("vue").ComputedRef<string | HTMLElement>;
|
|
961
|
-
uncontrolledValue: import("vue").Ref<string[] | number[] |
|
|
962
|
-
mergedValue: import("vue").ComputedRef<string[] | number[] |
|
|
977
|
+
uncontrolledValue: import("vue").Ref<string[] | number[] | ValueAtom | ValueAtom[] | null>;
|
|
978
|
+
mergedValue: import("vue").ComputedRef<string[] | number[] | ValueAtom | ValueAtom[] | null>;
|
|
963
979
|
followerRef: import("vue").Ref<{
|
|
964
980
|
syncPosition: () => void;
|
|
965
981
|
} | null>;
|
|
@@ -1143,6 +1159,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1143
1159
|
fontSizeLarge: string;
|
|
1144
1160
|
paddingSingle: string;
|
|
1145
1161
|
clearSize: string;
|
|
1162
|
+
arrowSize: string;
|
|
1146
1163
|
}, {
|
|
1147
1164
|
Popover: import("../../_mixins").Theme<"Popover", {
|
|
1148
1165
|
fontSize: string;
|
|
@@ -1179,6 +1196,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1179
1196
|
optionOpacityDisabled: string;
|
|
1180
1197
|
optionCheckColor: string;
|
|
1181
1198
|
optionColorPending: string;
|
|
1199
|
+
optionColorActive: string;
|
|
1182
1200
|
actionTextColor: string;
|
|
1183
1201
|
loadingColor: string;
|
|
1184
1202
|
height: string;
|
|
@@ -1291,6 +1309,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1291
1309
|
readonly onFocus?: unknown;
|
|
1292
1310
|
readonly onScroll?: unknown;
|
|
1293
1311
|
readonly onSearch?: unknown;
|
|
1312
|
+
readonly onUpdateShow?: unknown;
|
|
1313
|
+
readonly 'onUpdate:show'?: unknown;
|
|
1294
1314
|
readonly onChange?: unknown;
|
|
1295
1315
|
readonly items?: unknown;
|
|
1296
1316
|
readonly displayDirective?: unknown;
|
|
@@ -1380,6 +1400,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1380
1400
|
fontSizeLarge: string;
|
|
1381
1401
|
paddingSingle: string;
|
|
1382
1402
|
clearSize: string;
|
|
1403
|
+
arrowSize: string;
|
|
1383
1404
|
}, {
|
|
1384
1405
|
Popover: import("../../_mixins").Theme<"Popover", {
|
|
1385
1406
|
fontSize: string;
|
|
@@ -1416,6 +1437,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1416
1437
|
optionOpacityDisabled: string;
|
|
1417
1438
|
optionCheckColor: string;
|
|
1418
1439
|
optionColorPending: string;
|
|
1440
|
+
optionColorActive: string;
|
|
1419
1441
|
actionTextColor: string;
|
|
1420
1442
|
loadingColor: string;
|
|
1421
1443
|
height: string;
|
|
@@ -1502,6 +1524,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1502
1524
|
fontSizeLarge: string;
|
|
1503
1525
|
paddingSingle: string;
|
|
1504
1526
|
clearSize: string;
|
|
1527
|
+
arrowSize: string;
|
|
1505
1528
|
}, {
|
|
1506
1529
|
Popover: import("../../_mixins").Theme<"Popover", {
|
|
1507
1530
|
fontSize: string;
|
|
@@ -1538,6 +1561,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1538
1561
|
optionOpacityDisabled: string;
|
|
1539
1562
|
optionCheckColor: string;
|
|
1540
1563
|
optionColorPending: string;
|
|
1564
|
+
optionColorActive: string;
|
|
1541
1565
|
actionTextColor: string;
|
|
1542
1566
|
loadingColor: string;
|
|
1543
1567
|
height: string;
|
|
@@ -1624,6 +1648,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1624
1648
|
fontSizeLarge: string;
|
|
1625
1649
|
paddingSingle: string;
|
|
1626
1650
|
clearSize: string;
|
|
1651
|
+
arrowSize: string;
|
|
1627
1652
|
}, {
|
|
1628
1653
|
Popover: import("../../_mixins").Theme<"Popover", {
|
|
1629
1654
|
fontSize: string;
|
|
@@ -1660,6 +1685,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1660
1685
|
optionOpacityDisabled: string;
|
|
1661
1686
|
optionCheckColor: string;
|
|
1662
1687
|
optionColorPending: string;
|
|
1688
|
+
optionColorActive: string;
|
|
1663
1689
|
actionTextColor: string;
|
|
1664
1690
|
loadingColor: string;
|
|
1665
1691
|
height: string;
|
|
@@ -1696,6 +1722,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1696
1722
|
bordered?: boolean | undefined;
|
|
1697
1723
|
renderLabel?: RenderLabel | undefined;
|
|
1698
1724
|
renderOption?: RenderOption | undefined;
|
|
1725
|
+
"onUpdate:show"?: MaybeArray<(value: boolean) => void> | undefined;
|
|
1726
|
+
onUpdateShow?: MaybeArray<(value: boolean) => void> | undefined;
|
|
1699
1727
|
onClear?: MaybeArray<() => void> | undefined;
|
|
1700
1728
|
renderTag?: RenderTag | undefined;
|
|
1701
1729
|
maxTagCount?: number | "responsive" | undefined;
|