naive-ui 2.18.1 → 2.19.2
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 +64 -56
- 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 -8
- package/es/_internal/selection/styles/_common.js +2 -9
- package/es/_internal/selection/styles/dark.js +10 -2
- package/es/_internal/selection/styles/light.d.ts +18 -16
- package/es/_internal/selection/styles/light.js +10 -2
- package/es/_mixins/use-rtl.js +1 -1
- package/es/_styles/common/light.js +1 -1
- package/es/_utils/naive/mutable.d.ts +2 -2
- package/es/alert/src/Alert.js +15 -16
- 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 +100 -80
- package/es/cascader/src/Cascader.js +28 -19
- package/es/cascader/src/CascaderMenu.js +17 -15
- package/es/cascader/src/CascaderOption.d.ts +10 -8
- package/es/cascader/src/CascaderSelectMenu.d.ts +10 -8
- package/es/cascader/src/CascaderSubmenu.d.ts +10 -8
- 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 +10 -8
- package/es/checkbox/src/Checkbox.d.ts +1 -0
- package/es/checkbox/src/Checkbox.js +5 -3
- package/es/checkbox/src/CheckboxGroup.js +1 -1
- 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 +110 -88
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +20 -16
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +20 -16
- package/es/data-table/src/TableParts/Body.d.ts +20 -16
- package/es/data-table/src/TableParts/Cell.d.ts +40 -32
- package/es/data-table/src/TableParts/Header.d.ts +20 -16
- package/es/data-table/styles/light.d.ts +10 -8
- 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/DialogProvider.d.ts +20 -20
- package/es/drawer/src/styles/index.cssr.js +2 -0
- 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/global-style/src/GlobalStyle.js +13 -3
- 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 +8 -3
- package/es/input-number/src/InputNumber.js +4 -4
- package/es/jest-setup.js +3 -1
- 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/ukUA.d.ts +3 -0
- package/es/locales/common/ukUA.js +92 -0
- package/es/locales/common/zhCN.js +1 -1
- package/es/locales/date/ukUA.d.ts +3 -0
- package/es/locales/date/ukUA.js +6 -0
- package/es/locales/index.d.ts +2 -0
- package/es/locales/index.js +2 -0
- 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 +5 -0
- package/es/modal/src/Modal.d.ts +36 -55
- package/es/modal/src/Modal.js +18 -39
- package/es/modal/src/presetProps.d.ts +2 -1
- 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 +111 -100
- package/es/pagination/styles/light.d.ts +10 -8
- 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 +111 -83
- package/es/select/src/Select.js +55 -56
- package/es/select/src/interface.d.ts +2 -2
- package/es/select/styles/light.d.ts +10 -8
- 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/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/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 +103 -81
- 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 +9 -8
- 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 +64 -56
- 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 -8
- package/lib/_internal/selection/styles/_common.js +2 -9
- package/lib/_internal/selection/styles/dark.js +10 -2
- package/lib/_internal/selection/styles/light.d.ts +18 -16
- package/lib/_internal/selection/styles/light.js +10 -2
- package/lib/_mixins/use-rtl.js +1 -1
- package/lib/_styles/common/light.js +1 -1
- package/lib/_utils/naive/mutable.d.ts +2 -2
- package/lib/alert/src/Alert.js +15 -16
- 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 +100 -80
- package/lib/cascader/src/Cascader.js +28 -19
- package/lib/cascader/src/CascaderMenu.js +16 -14
- package/lib/cascader/src/CascaderOption.d.ts +10 -8
- package/lib/cascader/src/CascaderSelectMenu.d.ts +10 -8
- package/lib/cascader/src/CascaderSubmenu.d.ts +10 -8
- 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 +10 -8
- package/lib/checkbox/src/Checkbox.d.ts +1 -0
- package/lib/checkbox/src/Checkbox.js +5 -3
- package/lib/checkbox/src/CheckboxGroup.js +1 -1
- 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 +110 -88
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +20 -16
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +20 -16
- package/lib/data-table/src/TableParts/Body.d.ts +20 -16
- package/lib/data-table/src/TableParts/Cell.d.ts +40 -32
- package/lib/data-table/src/TableParts/Header.d.ts +20 -16
- package/lib/data-table/styles/light.d.ts +10 -8
- 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/DialogProvider.d.ts +20 -20
- package/lib/drawer/src/styles/index.cssr.js +2 -0
- 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/global-style/src/GlobalStyle.js +13 -3
- 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 +8 -3
- package/lib/input-number/src/InputNumber.js +4 -4
- package/lib/jest-setup.js +3 -1
- 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/ukUA.d.ts +3 -0
- package/lib/locales/common/ukUA.js +94 -0
- package/lib/locales/common/zhCN.js +1 -1
- package/lib/locales/date/ukUA.d.ts +3 -0
- package/lib/locales/date/ukUA.js +8 -0
- package/lib/locales/index.d.ts +2 -0
- package/lib/locales/index.js +5 -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 +5 -0
- package/lib/modal/src/Modal.d.ts +36 -55
- package/lib/modal/src/Modal.js +17 -38
- package/lib/modal/src/presetProps.d.ts +2 -1
- 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 +111 -100
- package/lib/pagination/styles/light.d.ts +10 -8
- 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 +111 -83
- package/lib/select/src/Select.js +55 -56
- package/lib/select/src/interface.d.ts +2 -2
- package/lib/select/styles/light.d.ts +10 -8
- 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/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/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 +103 -81
- 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 +9 -8
- 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 +9 -7
- package/web-types.json +239 -13
|
@@ -68,6 +68,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
68
|
optionOpacityDisabled: string;
|
|
69
69
|
optionCheckColor: string;
|
|
70
70
|
optionColorPending: string;
|
|
71
|
+
optionColorActive: string;
|
|
71
72
|
actionTextColor: string;
|
|
72
73
|
loadingColor: string;
|
|
73
74
|
height: string;
|
|
@@ -119,6 +120,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
119
120
|
optionOpacityDisabled: string;
|
|
120
121
|
optionCheckColor: string;
|
|
121
122
|
optionColorPending: string;
|
|
123
|
+
optionColorActive: string;
|
|
122
124
|
actionTextColor: string;
|
|
123
125
|
loadingColor: string;
|
|
124
126
|
height: string;
|
|
@@ -170,6 +172,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
170
172
|
optionOpacityDisabled: string;
|
|
171
173
|
optionCheckColor: string;
|
|
172
174
|
optionColorPending: string;
|
|
175
|
+
optionColorActive: string;
|
|
173
176
|
actionTextColor: string;
|
|
174
177
|
loadingColor: string;
|
|
175
178
|
height: string;
|
|
@@ -206,6 +209,172 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
206
209
|
getPendingTmNode: () => TreeNode<SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>, SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>, SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>> | null;
|
|
207
210
|
prev: () => void;
|
|
208
211
|
next: () => void;
|
|
212
|
+
mergedTheme: import("vue").ComputedRef<{
|
|
213
|
+
common: {
|
|
214
|
+
baseColor: string;
|
|
215
|
+
primaryColor: string;
|
|
216
|
+
primaryColorHover: string;
|
|
217
|
+
primaryColorPressed: string;
|
|
218
|
+
primaryColorSuppl: string;
|
|
219
|
+
infoColor: string;
|
|
220
|
+
infoColorHover: string;
|
|
221
|
+
infoColorPressed: string;
|
|
222
|
+
infoColorSuppl: string;
|
|
223
|
+
successColor: string;
|
|
224
|
+
successColorHover: string;
|
|
225
|
+
successColorPressed: string;
|
|
226
|
+
successColorSuppl: string;
|
|
227
|
+
warningColor: string;
|
|
228
|
+
warningColorHover: string;
|
|
229
|
+
warningColorPressed: string;
|
|
230
|
+
warningColorSuppl: string;
|
|
231
|
+
errorColor: string;
|
|
232
|
+
errorColorHover: string;
|
|
233
|
+
errorColorPressed: string;
|
|
234
|
+
errorColorSuppl: string;
|
|
235
|
+
textColorBase: string;
|
|
236
|
+
textColor1: string;
|
|
237
|
+
textColor2: string;
|
|
238
|
+
textColor3: string;
|
|
239
|
+
textColorDisabled: string;
|
|
240
|
+
placeholderColor: string;
|
|
241
|
+
placeholderColorDisabled: string;
|
|
242
|
+
iconColor: string;
|
|
243
|
+
iconColorHover: string;
|
|
244
|
+
iconColorPressed: string;
|
|
245
|
+
iconColorDisabled: string;
|
|
246
|
+
opacity1: string;
|
|
247
|
+
opacity2: string;
|
|
248
|
+
opacity3: string;
|
|
249
|
+
opacity4: string;
|
|
250
|
+
opacity5: string;
|
|
251
|
+
dividerColor: string;
|
|
252
|
+
borderColor: string;
|
|
253
|
+
closeColor: string;
|
|
254
|
+
closeColorHover: string;
|
|
255
|
+
closeColorPressed: string;
|
|
256
|
+
closeColorDisabled: string;
|
|
257
|
+
clearColor: string;
|
|
258
|
+
clearColorHover: string;
|
|
259
|
+
clearColorPressed: string;
|
|
260
|
+
scrollbarColor: string;
|
|
261
|
+
scrollbarColorHover: string;
|
|
262
|
+
scrollbarWidth: string;
|
|
263
|
+
scrollbarHeight: string;
|
|
264
|
+
scrollbarBorderRadius: string;
|
|
265
|
+
progressRailColor: string;
|
|
266
|
+
railColor: string;
|
|
267
|
+
popoverColor: string;
|
|
268
|
+
tableColor: string;
|
|
269
|
+
cardColor: string;
|
|
270
|
+
modalColor: string;
|
|
271
|
+
bodyColor: string;
|
|
272
|
+
tagColor: string;
|
|
273
|
+
avatarColor: string;
|
|
274
|
+
invertedColor: string;
|
|
275
|
+
inputColor: string;
|
|
276
|
+
codeColor: string;
|
|
277
|
+
tabColor: string;
|
|
278
|
+
actionColor: string;
|
|
279
|
+
tableHeaderColor: string;
|
|
280
|
+
hoverColor: string;
|
|
281
|
+
tableColorHover: string;
|
|
282
|
+
pressedColor: string;
|
|
283
|
+
opacityDisabled: string;
|
|
284
|
+
inputColorDisabled: string;
|
|
285
|
+
boxShadow1: string;
|
|
286
|
+
boxShadow2: string;
|
|
287
|
+
boxShadow3: string;
|
|
288
|
+
fontFamily: string;
|
|
289
|
+
fontFamilyMono: string;
|
|
290
|
+
fontWeight: string;
|
|
291
|
+
fontWeightStrong: string;
|
|
292
|
+
cubicBezierEaseInOut: string;
|
|
293
|
+
cubicBezierEaseOut: string;
|
|
294
|
+
cubicBezierEaseIn: string;
|
|
295
|
+
borderRadius: string;
|
|
296
|
+
borderRadiusSmall: string;
|
|
297
|
+
fontSize: string;
|
|
298
|
+
fontSizeTiny: string;
|
|
299
|
+
fontSizeSmall: string;
|
|
300
|
+
fontSizeMedium: string;
|
|
301
|
+
fontSizeLarge: string;
|
|
302
|
+
fontSizeHuge: string;
|
|
303
|
+
lineHeight: string;
|
|
304
|
+
heightTiny: string;
|
|
305
|
+
heightSmall: string;
|
|
306
|
+
heightMedium: string;
|
|
307
|
+
heightLarge: string;
|
|
308
|
+
heightHuge: string;
|
|
309
|
+
transformDebounceScale: string;
|
|
310
|
+
name: "common";
|
|
311
|
+
};
|
|
312
|
+
self: {
|
|
313
|
+
optionFontSizeSmall: string;
|
|
314
|
+
optionFontSizeMedium: string;
|
|
315
|
+
optionFontSizeLarge: string;
|
|
316
|
+
optionFontSizeHuge: string;
|
|
317
|
+
optionHeightSmall: string;
|
|
318
|
+
optionHeightMedium: string;
|
|
319
|
+
optionHeightLarge: string;
|
|
320
|
+
optionHeightHuge: string;
|
|
321
|
+
borderRadius: string;
|
|
322
|
+
color: string;
|
|
323
|
+
groupHeaderTextColor: string;
|
|
324
|
+
actionDividerColor: string;
|
|
325
|
+
optionTextColor: string;
|
|
326
|
+
optionTextColorPressed: string;
|
|
327
|
+
optionTextColorDisabled: string;
|
|
328
|
+
optionTextColorActive: string;
|
|
329
|
+
optionOpacityDisabled: string;
|
|
330
|
+
optionCheckColor: string;
|
|
331
|
+
optionColorPending: string;
|
|
332
|
+
optionColorActive: string;
|
|
333
|
+
actionTextColor: string;
|
|
334
|
+
loadingColor: string;
|
|
335
|
+
height: string;
|
|
336
|
+
paddingSmall: string;
|
|
337
|
+
paddingMedium: string;
|
|
338
|
+
paddingLarge: string;
|
|
339
|
+
paddingHuge: string;
|
|
340
|
+
optionPaddingSmall: string;
|
|
341
|
+
optionPaddingMedium: string;
|
|
342
|
+
optionPaddingLarge: string;
|
|
343
|
+
optionPaddingHuge: string;
|
|
344
|
+
loadingSize: string;
|
|
345
|
+
};
|
|
346
|
+
peers: {
|
|
347
|
+
Scrollbar: import("../../../_mixins").Theme<"Scrollbar", {
|
|
348
|
+
color: string;
|
|
349
|
+
colorHover: string;
|
|
350
|
+
}, any>;
|
|
351
|
+
Empty: import("../../../_mixins").Theme<"Empty", {
|
|
352
|
+
fontSizeSmall: string;
|
|
353
|
+
fontSizeMedium: string;
|
|
354
|
+
fontSizeLarge: string;
|
|
355
|
+
fontSizeHuge: string;
|
|
356
|
+
textColor: string;
|
|
357
|
+
iconColor: string;
|
|
358
|
+
extraTextColor: string;
|
|
359
|
+
iconSizeSmall: string;
|
|
360
|
+
iconSizeMedium: string;
|
|
361
|
+
iconSizeLarge: string;
|
|
362
|
+
iconSizeHuge: string;
|
|
363
|
+
}, any>;
|
|
364
|
+
};
|
|
365
|
+
peerOverrides: {
|
|
366
|
+
Scrollbar?: {
|
|
367
|
+
peers?: {
|
|
368
|
+
[x: string]: any;
|
|
369
|
+
} | undefined;
|
|
370
|
+
} | undefined;
|
|
371
|
+
Empty?: {
|
|
372
|
+
peers?: {
|
|
373
|
+
[x: string]: any;
|
|
374
|
+
} | undefined;
|
|
375
|
+
} | undefined;
|
|
376
|
+
};
|
|
377
|
+
}>;
|
|
209
378
|
virtualListRef: import("vue").Ref<{
|
|
210
379
|
listElRef: HTMLElement;
|
|
211
380
|
itemsElRef: HTMLElement | null;
|
|
@@ -229,6 +398,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
229
398
|
'--group-header-text-color': string;
|
|
230
399
|
'--option-check-color': string;
|
|
231
400
|
'--option-color-pending': string;
|
|
401
|
+
'--option-color-active': string;
|
|
232
402
|
'--option-height': string;
|
|
233
403
|
'--option-opacity-disabled': string;
|
|
234
404
|
'--option-text-color': string;
|
|
@@ -326,6 +496,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
326
496
|
optionOpacityDisabled: string;
|
|
327
497
|
optionCheckColor: string;
|
|
328
498
|
optionColorPending: string;
|
|
499
|
+
optionColorActive: string;
|
|
329
500
|
actionTextColor: string;
|
|
330
501
|
loadingColor: string;
|
|
331
502
|
height: string;
|
|
@@ -377,6 +548,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
377
548
|
optionOpacityDisabled: string;
|
|
378
549
|
optionCheckColor: string;
|
|
379
550
|
optionColorPending: string;
|
|
551
|
+
optionColorActive: string;
|
|
380
552
|
actionTextColor: string;
|
|
381
553
|
loadingColor: string;
|
|
382
554
|
height: string;
|
|
@@ -428,6 +600,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
428
600
|
optionOpacityDisabled: string;
|
|
429
601
|
optionCheckColor: string;
|
|
430
602
|
optionColorPending: string;
|
|
603
|
+
optionColorActive: string;
|
|
431
604
|
actionTextColor: string;
|
|
432
605
|
loadingColor: string;
|
|
433
606
|
height: string;
|
|
@@ -222,7 +222,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
222
222
|
});
|
|
223
223
|
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
224
224
|
const { size } = props;
|
|
225
|
-
const { common: { cubicBezierEaseInOut }, self: { height, borderRadius, color, groupHeaderTextColor, actionDividerColor, optionTextColorPressed, optionTextColor, optionTextColorDisabled, optionTextColorActive, optionOpacityDisabled, optionCheckColor, actionTextColor, optionColorPending, loadingColor, loadingSize, [(0, cssr_1.createKey)('optionFontSize', size)]: fontSize, [(0, cssr_1.createKey)('optionHeight', size)]: optionHeight, [(0, cssr_1.createKey)('optionPadding', size)]: optionPadding } } = themeRef.value;
|
|
225
|
+
const { common: { cubicBezierEaseInOut }, self: { height, borderRadius, color, groupHeaderTextColor, actionDividerColor, optionTextColorPressed, optionTextColor, optionTextColorDisabled, optionTextColorActive, optionOpacityDisabled, optionCheckColor, actionTextColor, optionColorPending, optionColorActive, loadingColor, loadingSize, [(0, cssr_1.createKey)('optionFontSize', size)]: fontSize, [(0, cssr_1.createKey)('optionHeight', size)]: optionHeight, [(0, cssr_1.createKey)('optionPadding', size)]: optionPadding } } = themeRef.value;
|
|
226
226
|
return {
|
|
227
227
|
'--height': height,
|
|
228
228
|
'--action-divider-color': actionDividerColor,
|
|
@@ -234,6 +234,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
234
234
|
'--group-header-text-color': groupHeaderTextColor,
|
|
235
235
|
'--option-check-color': optionCheckColor,
|
|
236
236
|
'--option-color-pending': optionColorPending,
|
|
237
|
+
'--option-color-active': optionColorActive,
|
|
237
238
|
'--option-height': optionHeight,
|
|
238
239
|
'--option-opacity-disabled': optionOpacityDisabled,
|
|
239
240
|
'--option-text-color': optionTextColor,
|
|
@@ -252,7 +253,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
252
253
|
prev,
|
|
253
254
|
getPendingTmNode
|
|
254
255
|
};
|
|
255
|
-
return Object.assign({ virtualListRef,
|
|
256
|
+
return Object.assign({ mergedTheme: themeRef, virtualListRef,
|
|
256
257
|
scrollbarRef, style: styleRef, itemSize: itemSizeRef, padding: paddingRef, flattenedNodes: flattenedNodesRef, empty: emptyRef, virtualListContainer() {
|
|
257
258
|
const { value } = virtualListRef;
|
|
258
259
|
return value === null || value === void 0 ? void 0 : value.listElRef;
|
|
@@ -271,15 +272,15 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
271
272
|
handleVirtualListScroll }, exposedProps);
|
|
272
273
|
},
|
|
273
274
|
render() {
|
|
274
|
-
const { $slots, virtualScroll, clsPrefix } = this;
|
|
275
|
+
const { $slots, virtualScroll, clsPrefix, mergedTheme } = this;
|
|
275
276
|
return ((0, vue_1.h)("div", { ref: "selfRef", tabindex: this.focusable ? 0 : -1, class: [
|
|
276
277
|
`${clsPrefix}-base-select-menu`,
|
|
277
278
|
this.multiple && `${clsPrefix}-base-select-menu--multiple`
|
|
278
279
|
], style: this.style, onFocusin: this.handleFocusin, onFocusout: this.handleFocusout, onKeyup: this.handleKeyUp, onKeydown: this.handleKeyDown, onMousedown: this.handleMouseDown, onMouseenter: this.onMouseenter, onMouseleave: this.onMouseleave },
|
|
279
280
|
this.loading ? ((0, vue_1.h)("div", { class: `${clsPrefix}-base-select-menu__loading` },
|
|
280
|
-
(0, vue_1.h)(loading_1.default, { clsPrefix: clsPrefix, strokeWidth: 20 }))) : !this.empty ? ((0, vue_1.h)(scrollbar_1.NScrollbar, { ref: "scrollbarRef", scrollable: this.scrollable, container: virtualScroll ? this.virtualListContainer : undefined, content: virtualScroll ? this.virtualListContent : undefined, onScroll: virtualScroll ? undefined : this.doScroll }, {
|
|
281
|
+
(0, vue_1.h)(loading_1.default, { clsPrefix: clsPrefix, strokeWidth: 20 }))) : !this.empty ? ((0, vue_1.h)(scrollbar_1.NScrollbar, { ref: "scrollbarRef", theme: mergedTheme.peers.Scrollbar, themeOverrides: mergedTheme.peerOverrides.Scrollbar, scrollable: this.scrollable, container: virtualScroll ? this.virtualListContainer : undefined, content: virtualScroll ? this.virtualListContent : undefined, onScroll: virtualScroll ? undefined : this.doScroll }, {
|
|
281
282
|
default: () => {
|
|
282
|
-
return virtualScroll ? ((0, vue_1.h)(vueuc_1.VirtualList, { ref: "virtualListRef", class: `${clsPrefix}-virtual-list`, items: this.flattenedNodes, itemSize: this.itemSize, showScrollbar: false, paddingTop: this.padding.top, paddingBottom: this.padding.bottom, onResize: this.handleVirtualListResize, onScroll: this.handleVirtualListScroll }, {
|
|
283
|
+
return virtualScroll ? ((0, vue_1.h)(vueuc_1.VirtualList, { ref: "virtualListRef", class: `${clsPrefix}-virtual-list`, items: this.flattenedNodes, itemSize: this.itemSize, showScrollbar: false, paddingTop: this.padding.top, paddingBottom: this.padding.bottom, onResize: this.handleVirtualListResize, onScroll: this.handleVirtualListScroll, itemResizable: true }, {
|
|
283
284
|
default: ({ item: tmNode }) => {
|
|
284
285
|
return tmNode.isGroup ? ((0, vue_1.h)(SelectGroupHeader_1.default, { key: tmNode.key, clsPrefix: clsPrefix, tmNode: tmNode })) : tmNode.ignored ? null : ((0, vue_1.h)(SelectOption_1.default, { clsPrefix: clsPrefix, key: tmNode.key, tmNode: tmNode }));
|
|
285
286
|
}
|
|
@@ -288,7 +289,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
288
289
|
paddingBottom: this.padding.bottom
|
|
289
290
|
} }, this.flattenedNodes.map((tmNode) => tmNode.isGroup ? ((0, vue_1.h)(SelectGroupHeader_1.default, { key: tmNode.key, clsPrefix: clsPrefix, tmNode: tmNode })) : ((0, vue_1.h)(SelectOption_1.default, { clsPrefix: clsPrefix, key: tmNode.key, tmNode: tmNode })))));
|
|
290
291
|
}
|
|
291
|
-
})) : ((0, vue_1.h)("div", { class: `${clsPrefix}-base-select-menu__empty` }, (0, vue_1.renderSlot)($slots, 'empty', undefined, () => [
|
|
292
|
+
})) : ((0, vue_1.h)("div", { class: `${clsPrefix}-base-select-menu__empty` }, (0, vue_1.renderSlot)($slots, 'empty', undefined, () => [
|
|
293
|
+
(0, vue_1.h)(empty_1.NEmpty, { theme: mergedTheme.peers.Empty, themeOverrides: mergedTheme.peerOverrides.Empty })
|
|
294
|
+
]))),
|
|
292
295
|
$slots.action && ((0, vue_1.h)("div", { class: `${clsPrefix}-base-select-menu__action`, "data-action": true }, (0, vue_1.renderSlot)($slots, 'action'))),
|
|
293
296
|
$slots.action && (0, vue_1.h)(focus_detector_1.default, { onFocus: this.onTabOut })));
|
|
294
297
|
}
|
|
@@ -100,7 +100,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
100
100
|
[`${clsPrefix}-base-select-option--grouped`]: isGrouped,
|
|
101
101
|
[`${clsPrefix}-base-select-option--pending`]: isPending
|
|
102
102
|
}
|
|
103
|
-
], style: rawNode.style, onClick: handleClick, onMouseenter: handleMouseEnter, onMousemove: handleMouseMove },
|
|
103
|
+
], style: rawNode.style, onClick: handleClick, onMouseenter: handleMouseEnter, onMousemove: handleMouseMove },
|
|
104
|
+
(0, vue_1.h)("div", { class: `${clsPrefix}-base-select-option__content` }, children)));
|
|
104
105
|
return rawNode.render
|
|
105
106
|
? rawNode.render({ node, option: rawNode, selected: isSelected })
|
|
106
107
|
: renderOption
|
|
@@ -11,6 +11,7 @@ const fade_in_scale_up_cssr_1 = require("../../../../_styles/transitions/fade-in
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
exports.default = (0, cssr_1.cB)('base-select-menu', `
|
|
14
|
+
line-height: 1.5;
|
|
14
15
|
outline: none;
|
|
15
16
|
z-index: 0;
|
|
16
17
|
position: relative;
|
|
@@ -24,13 +25,19 @@ exports.default = (0, cssr_1.cB)('base-select-menu', `
|
|
|
24
25
|
`), (0, cssr_1.cB)('virtual-list', `
|
|
25
26
|
max-height: var(--height);
|
|
26
27
|
`), (0, cssr_1.cB)('base-select-option', `
|
|
27
|
-
height: var(--option-height);
|
|
28
|
-
line-height: var(--option-height);
|
|
28
|
+
min-height: var(--option-height);
|
|
29
29
|
font-size: var(--option-font-size);
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
`, [(0, cssr_1.cE)('content', `
|
|
33
|
+
white-space: nowrap;
|
|
34
|
+
text-overflow: ellipsis;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
`)]), (0, cssr_1.cB)('base-select-group-header', `
|
|
37
|
+
min-height: var(--option-height);
|
|
33
38
|
font-size: .93em;
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
34
41
|
`), (0, cssr_1.cB)('base-select-menu-option-wrapper', `
|
|
35
42
|
position: relative;
|
|
36
43
|
width: 100%;
|
|
@@ -59,40 +66,37 @@ exports.default = (0, cssr_1.cB)('base-select-menu', `
|
|
|
59
66
|
cursor: pointer;
|
|
60
67
|
position: relative;
|
|
61
68
|
padding: var(--option-padding);
|
|
62
|
-
white-space: nowrap;
|
|
63
69
|
transition:
|
|
64
70
|
background-color .3s var(--bezier),
|
|
65
71
|
color .3s var(--bezier),
|
|
66
72
|
opacity .3s var(--bezier);
|
|
67
|
-
text-overflow: ellipsis;
|
|
68
|
-
overflow: hidden;
|
|
69
73
|
box-sizing: border-box;
|
|
70
74
|
color: var(--option-text-color);
|
|
71
75
|
opacity: 1;
|
|
72
|
-
`, [(0, cssr_1.c)('&:active',
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
76
|
+
`, [(0, cssr_1.c)('&:active', `
|
|
77
|
+
color: var(--option-text-color-pressed);
|
|
78
|
+
`), (0, cssr_1.cM)('grouped', `
|
|
79
|
+
padding-left: calc(var(--option-padding-left) * 1.5);
|
|
80
|
+
`), (0, cssr_1.cM)('pending', `
|
|
81
|
+
background-color: var(--option-color-pending);
|
|
82
|
+
`), (0, cssr_1.cM)('selected', `
|
|
83
|
+
color: var(--option-text-color-active);
|
|
84
|
+
background-color: var(--option-color-active);
|
|
85
|
+
`), (0, cssr_1.cM)('disabled', `
|
|
86
|
+
cursor: not-allowed;
|
|
87
|
+
`, [(0, cssr_1.cNotM)('selected', `
|
|
88
|
+
color: var(--option-text-color-disabled);
|
|
89
|
+
`), (0, cssr_1.cM)('selected', `
|
|
90
|
+
opacity: var(--option-opacity-disabled);
|
|
91
|
+
`)]), (0, cssr_1.cE)('check', `
|
|
92
|
+
font-size: 16px;
|
|
88
93
|
position: absolute;
|
|
89
94
|
right: 8px;
|
|
90
|
-
top: calc(
|
|
95
|
+
top: calc(50% - 7px);
|
|
91
96
|
color: var(--option-check-color);
|
|
92
97
|
transition: color .3s var(--bezier);
|
|
93
98
|
`, [(0, fade_in_scale_up_cssr_1.default)({
|
|
94
99
|
enterScale: '0.5'
|
|
95
|
-
})])
|
|
96
|
-
position: relative;
|
|
100
|
+
})]), (0, cssr_1.cM)('multiple', [(0, cssr_1.cB)('base-select-option', `
|
|
97
101
|
padding-right: 28px;
|
|
98
|
-
`)])]);
|
|
102
|
+
`)])])]);
|
|
@@ -19,6 +19,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
19
19
|
optionOpacityDisabled: string;
|
|
20
20
|
optionCheckColor: string;
|
|
21
21
|
optionColorPending: string;
|
|
22
|
+
optionColorActive: string;
|
|
22
23
|
actionTextColor: string;
|
|
23
24
|
loadingColor: string;
|
|
24
25
|
height: string;
|
|
@@ -53,6 +54,7 @@ declare const internalSelectMenuLight: import("../../../_mixins").Theme<"Interna
|
|
|
53
54
|
optionOpacityDisabled: string;
|
|
54
55
|
optionCheckColor: string;
|
|
55
56
|
optionColorPending: string;
|
|
57
|
+
optionColorActive: string;
|
|
56
58
|
actionTextColor: string;
|
|
57
59
|
loadingColor: string;
|
|
58
60
|
height: string;
|
|
@@ -8,7 +8,7 @@ const _common_1 = require("./_common");
|
|
|
8
8
|
const _mixins_1 = require("../../../_mixins");
|
|
9
9
|
const self = (vars) => {
|
|
10
10
|
const { borderRadius, popoverColor, textColor3, dividerColor, textColor2, primaryColorPressed, textColorDisabled, primaryColor, opacityDisabled, hoverColor, fontSizeSmall, fontSizeMedium, fontSizeLarge, fontSizeHuge, heightSmall, heightMedium, heightLarge, heightHuge } = vars;
|
|
11
|
-
return Object.assign(Object.assign({}, _common_1.default), { optionFontSizeSmall: fontSizeSmall, optionFontSizeMedium: fontSizeMedium, optionFontSizeLarge: fontSizeLarge, optionFontSizeHuge: fontSizeHuge, optionHeightSmall: heightSmall, optionHeightMedium: heightMedium, optionHeightLarge: heightLarge, optionHeightHuge: heightHuge, borderRadius: borderRadius, color: popoverColor, groupHeaderTextColor: textColor3, actionDividerColor: dividerColor, optionTextColor: textColor2, optionTextColorPressed: primaryColorPressed, optionTextColorDisabled: textColorDisabled, optionTextColorActive: primaryColor, optionOpacityDisabled: opacityDisabled, optionCheckColor: primaryColor, optionColorPending: hoverColor, actionTextColor: textColor2, loadingColor: primaryColor });
|
|
11
|
+
return Object.assign(Object.assign({}, _common_1.default), { optionFontSizeSmall: fontSizeSmall, optionFontSizeMedium: fontSizeMedium, optionFontSizeLarge: fontSizeLarge, optionFontSizeHuge: fontSizeHuge, optionHeightSmall: heightSmall, optionHeightMedium: heightMedium, optionHeightLarge: heightLarge, optionHeightHuge: heightHuge, borderRadius: borderRadius, color: popoverColor, groupHeaderTextColor: textColor3, actionDividerColor: dividerColor, optionTextColor: textColor2, optionTextColorPressed: primaryColorPressed, optionTextColorDisabled: textColorDisabled, optionTextColorActive: primaryColor, optionOpacityDisabled: opacityDisabled, optionCheckColor: primaryColor, optionColorPending: hoverColor, optionColorActive: hoverColor, actionTextColor: textColor2, loadingColor: primaryColor });
|
|
12
12
|
};
|
|
13
13
|
exports.self = self;
|
|
14
14
|
const internalSelectMenuLight = (0, _mixins_1.createTheme)({
|
|
@@ -57,6 +57,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
onPatternInput: PropType<(e: InputEvent) => void>;
|
|
58
58
|
renderLabel: PropType<RenderLabel>;
|
|
59
59
|
theme: PropType<import("../../../_mixins").Theme<"InternalSelection", {
|
|
60
|
+
fontSizeTiny: string;
|
|
61
|
+
fontSizeSmall: string;
|
|
62
|
+
fontSizeMedium: string;
|
|
63
|
+
fontSizeLarge: string;
|
|
64
|
+
heightTiny: string;
|
|
65
|
+
heightSmall: string;
|
|
66
|
+
heightMedium: string;
|
|
67
|
+
heightLarge: string;
|
|
60
68
|
borderRadius: string;
|
|
61
69
|
textColor: string;
|
|
62
70
|
textColorDisabled: string;
|
|
@@ -97,16 +105,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
105
|
clearColor: string;
|
|
98
106
|
clearColorHover: string;
|
|
99
107
|
clearColorPressed: string;
|
|
100
|
-
heightTiny: string;
|
|
101
|
-
heightSmall: string;
|
|
102
|
-
heightMedium: string;
|
|
103
|
-
heightLarge: string;
|
|
104
|
-
fontSizeTiny: string;
|
|
105
|
-
fontSizeSmall: string;
|
|
106
|
-
fontSizeMedium: string;
|
|
107
|
-
fontSizeLarge: string;
|
|
108
108
|
paddingSingle: string;
|
|
109
109
|
clearSize: string;
|
|
110
|
+
arrowSize: string;
|
|
110
111
|
}, {
|
|
111
112
|
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
112
113
|
fontSize: string;
|
|
@@ -124,6 +125,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
124
125
|
}, any>;
|
|
125
126
|
}>>;
|
|
126
127
|
themeOverrides: PropType<import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"InternalSelection", {
|
|
128
|
+
fontSizeTiny: string;
|
|
129
|
+
fontSizeSmall: string;
|
|
130
|
+
fontSizeMedium: string;
|
|
131
|
+
fontSizeLarge: string;
|
|
132
|
+
heightTiny: string;
|
|
133
|
+
heightSmall: string;
|
|
134
|
+
heightMedium: string;
|
|
135
|
+
heightLarge: string;
|
|
127
136
|
borderRadius: string;
|
|
128
137
|
textColor: string;
|
|
129
138
|
textColorDisabled: string;
|
|
@@ -164,16 +173,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
164
173
|
clearColor: string;
|
|
165
174
|
clearColorHover: string;
|
|
166
175
|
clearColorPressed: string;
|
|
167
|
-
heightTiny: string;
|
|
168
|
-
heightSmall: string;
|
|
169
|
-
heightMedium: string;
|
|
170
|
-
heightLarge: string;
|
|
171
|
-
fontSizeTiny: string;
|
|
172
|
-
fontSizeSmall: string;
|
|
173
|
-
fontSizeMedium: string;
|
|
174
|
-
fontSizeLarge: string;
|
|
175
176
|
paddingSingle: string;
|
|
176
177
|
clearSize: string;
|
|
178
|
+
arrowSize: string;
|
|
177
179
|
}, {
|
|
178
180
|
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
179
181
|
fontSize: string;
|
|
@@ -191,6 +193,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
191
193
|
}, any>;
|
|
192
194
|
}>>>;
|
|
193
195
|
builtinThemeOverrides: PropType<import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"InternalSelection", {
|
|
196
|
+
fontSizeTiny: string;
|
|
197
|
+
fontSizeSmall: string;
|
|
198
|
+
fontSizeMedium: string;
|
|
199
|
+
fontSizeLarge: string;
|
|
200
|
+
heightTiny: string;
|
|
201
|
+
heightSmall: string;
|
|
202
|
+
heightMedium: string;
|
|
203
|
+
heightLarge: string;
|
|
194
204
|
borderRadius: string;
|
|
195
205
|
textColor: string;
|
|
196
206
|
textColorDisabled: string;
|
|
@@ -231,16 +241,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
231
241
|
clearColor: string;
|
|
232
242
|
clearColorHover: string;
|
|
233
243
|
clearColorPressed: string;
|
|
234
|
-
heightTiny: string;
|
|
235
|
-
heightSmall: string;
|
|
236
|
-
heightMedium: string;
|
|
237
|
-
heightLarge: string;
|
|
238
|
-
fontSizeTiny: string;
|
|
239
|
-
fontSizeSmall: string;
|
|
240
|
-
fontSizeMedium: string;
|
|
241
|
-
fontSizeLarge: string;
|
|
242
244
|
paddingSingle: string;
|
|
243
245
|
clearSize: string;
|
|
246
|
+
arrowSize: string;
|
|
244
247
|
}, {
|
|
245
248
|
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
246
249
|
fontSize: string;
|
|
@@ -359,6 +362,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
359
362
|
name: "common";
|
|
360
363
|
};
|
|
361
364
|
self: {
|
|
365
|
+
fontSizeTiny: string;
|
|
366
|
+
fontSizeSmall: string;
|
|
367
|
+
fontSizeMedium: string;
|
|
368
|
+
fontSizeLarge: string;
|
|
369
|
+
heightTiny: string;
|
|
370
|
+
heightSmall: string;
|
|
371
|
+
heightMedium: string;
|
|
372
|
+
heightLarge: string;
|
|
362
373
|
borderRadius: string;
|
|
363
374
|
textColor: string;
|
|
364
375
|
textColorDisabled: string;
|
|
@@ -399,16 +410,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
399
410
|
clearColor: string;
|
|
400
411
|
clearColorHover: string;
|
|
401
412
|
clearColorPressed: string;
|
|
402
|
-
heightTiny: string;
|
|
403
|
-
heightSmall: string;
|
|
404
|
-
heightMedium: string;
|
|
405
|
-
heightLarge: string;
|
|
406
|
-
fontSizeTiny: string;
|
|
407
|
-
fontSizeSmall: string;
|
|
408
|
-
fontSizeMedium: string;
|
|
409
|
-
fontSizeLarge: string;
|
|
410
413
|
paddingSingle: string;
|
|
411
414
|
clearSize: string;
|
|
415
|
+
arrowSize: string;
|
|
412
416
|
};
|
|
413
417
|
peers: {
|
|
414
418
|
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
@@ -523,6 +527,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
523
527
|
'--clear-color': string;
|
|
524
528
|
'--clear-color-hover': string;
|
|
525
529
|
'--clear-color-pressed': string;
|
|
530
|
+
'--arrow-size': string;
|
|
526
531
|
}>;
|
|
527
532
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
528
533
|
clsPrefix?: unknown;
|
|
@@ -578,6 +583,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
578
583
|
onClick?: ((e: MouseEvent) => void) | undefined;
|
|
579
584
|
placeholder?: string | undefined;
|
|
580
585
|
theme?: import("../../../_mixins").Theme<"InternalSelection", {
|
|
586
|
+
fontSizeTiny: string;
|
|
587
|
+
fontSizeSmall: string;
|
|
588
|
+
fontSizeMedium: string;
|
|
589
|
+
fontSizeLarge: string;
|
|
590
|
+
heightTiny: string;
|
|
591
|
+
heightSmall: string;
|
|
592
|
+
heightMedium: string;
|
|
593
|
+
heightLarge: string;
|
|
581
594
|
borderRadius: string;
|
|
582
595
|
textColor: string;
|
|
583
596
|
textColorDisabled: string;
|
|
@@ -618,16 +631,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
618
631
|
clearColor: string;
|
|
619
632
|
clearColorHover: string;
|
|
620
633
|
clearColorPressed: string;
|
|
621
|
-
heightTiny: string;
|
|
622
|
-
heightSmall: string;
|
|
623
|
-
heightMedium: string;
|
|
624
|
-
heightLarge: string;
|
|
625
|
-
fontSizeTiny: string;
|
|
626
|
-
fontSizeSmall: string;
|
|
627
|
-
fontSizeMedium: string;
|
|
628
|
-
fontSizeLarge: string;
|
|
629
634
|
paddingSingle: string;
|
|
630
635
|
clearSize: string;
|
|
636
|
+
arrowSize: string;
|
|
631
637
|
}, {
|
|
632
638
|
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
633
639
|
fontSize: string;
|
|
@@ -645,6 +651,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
645
651
|
}, any>;
|
|
646
652
|
}> | undefined;
|
|
647
653
|
themeOverrides?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"InternalSelection", {
|
|
654
|
+
fontSizeTiny: string;
|
|
655
|
+
fontSizeSmall: string;
|
|
656
|
+
fontSizeMedium: string;
|
|
657
|
+
fontSizeLarge: string;
|
|
658
|
+
heightTiny: string;
|
|
659
|
+
heightSmall: string;
|
|
660
|
+
heightMedium: string;
|
|
661
|
+
heightLarge: string;
|
|
648
662
|
borderRadius: string;
|
|
649
663
|
textColor: string;
|
|
650
664
|
textColorDisabled: string;
|
|
@@ -685,16 +699,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
685
699
|
clearColor: string;
|
|
686
700
|
clearColorHover: string;
|
|
687
701
|
clearColorPressed: string;
|
|
688
|
-
heightTiny: string;
|
|
689
|
-
heightSmall: string;
|
|
690
|
-
heightMedium: string;
|
|
691
|
-
heightLarge: string;
|
|
692
|
-
fontSizeTiny: string;
|
|
693
|
-
fontSizeSmall: string;
|
|
694
|
-
fontSizeMedium: string;
|
|
695
|
-
fontSizeLarge: string;
|
|
696
702
|
paddingSingle: string;
|
|
697
703
|
clearSize: string;
|
|
704
|
+
arrowSize: string;
|
|
698
705
|
}, {
|
|
699
706
|
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
700
707
|
fontSize: string;
|
|
@@ -712,6 +719,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
712
719
|
}, any>;
|
|
713
720
|
}>> | undefined;
|
|
714
721
|
builtinThemeOverrides?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"InternalSelection", {
|
|
722
|
+
fontSizeTiny: string;
|
|
723
|
+
fontSizeSmall: string;
|
|
724
|
+
fontSizeMedium: string;
|
|
725
|
+
fontSizeLarge: string;
|
|
726
|
+
heightTiny: string;
|
|
727
|
+
heightSmall: string;
|
|
728
|
+
heightMedium: string;
|
|
729
|
+
heightLarge: string;
|
|
715
730
|
borderRadius: string;
|
|
716
731
|
textColor: string;
|
|
717
732
|
textColorDisabled: string;
|
|
@@ -752,16 +767,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
752
767
|
clearColor: string;
|
|
753
768
|
clearColorHover: string;
|
|
754
769
|
clearColorPressed: string;
|
|
755
|
-
heightTiny: string;
|
|
756
|
-
heightSmall: string;
|
|
757
|
-
heightMedium: string;
|
|
758
|
-
heightLarge: string;
|
|
759
|
-
fontSizeTiny: string;
|
|
760
|
-
fontSizeSmall: string;
|
|
761
|
-
fontSizeMedium: string;
|
|
762
|
-
fontSizeLarge: string;
|
|
763
770
|
paddingSingle: string;
|
|
764
771
|
clearSize: string;
|
|
772
|
+
arrowSize: string;
|
|
765
773
|
}, {
|
|
766
774
|
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
767
775
|
fontSize: string;
|