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
|
@@ -6,8 +6,8 @@ export declare type TreeSelectOption = Omit<TreeOptionBase, 'checkboxDisabled' |
|
|
|
6
6
|
[k: string]: unknown;
|
|
7
7
|
};
|
|
8
8
|
export declare type TreeSelectTmNode = TreeNode<TreeSelectOption>;
|
|
9
|
-
export declare type OnUpdateValue = (value: string & number & (string | number) & string[] & number[] & Array<string | number> & null) => void;
|
|
10
|
-
export declare type OnUpdateValueImpl = (value: string | number | (string | number) | string[] | number[] | Array<string | number> | null) => void;
|
|
9
|
+
export declare type OnUpdateValue = (value: string & number & (string | number) & string[] & number[] & Array<string | number> & null, option: TreeSelectOption & null & TreeSelectOption[] & Array<TreeSelectOption | null>) => void;
|
|
10
|
+
export declare type OnUpdateValueImpl = (value: string | number | (string | number) | string[] | number[] | Array<string | number> | null, option: TreeSelectOption | null | Array<TreeSelectOption | null>) => void;
|
|
11
11
|
export declare type Value = string | number | Array<string | number> | null;
|
|
12
12
|
export interface TreeSelectInjection {
|
|
13
13
|
pendingNodeKeyRef: Ref<string | number | null>;
|
|
@@ -73,6 +73,14 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
73
73
|
iconSizeHuge: string;
|
|
74
74
|
}, any>;
|
|
75
75
|
InternalSelection: import("../../_mixins/use-theme").Theme<"InternalSelection", {
|
|
76
|
+
fontSizeTiny: string;
|
|
77
|
+
fontSizeSmall: string;
|
|
78
|
+
fontSizeMedium: string;
|
|
79
|
+
fontSizeLarge: string;
|
|
80
|
+
heightTiny: string;
|
|
81
|
+
heightSmall: string;
|
|
82
|
+
heightMedium: string;
|
|
83
|
+
heightLarge: string;
|
|
76
84
|
borderRadius: string;
|
|
77
85
|
textColor: string;
|
|
78
86
|
textColorDisabled: string;
|
|
@@ -113,16 +121,9 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
113
121
|
clearColor: string;
|
|
114
122
|
clearColorHover: string;
|
|
115
123
|
clearColorPressed: string;
|
|
116
|
-
heightTiny: string;
|
|
117
|
-
heightSmall: string;
|
|
118
|
-
heightMedium: string;
|
|
119
|
-
heightLarge: string;
|
|
120
|
-
fontSizeTiny: string;
|
|
121
|
-
fontSizeSmall: string;
|
|
122
|
-
fontSizeMedium: string;
|
|
123
|
-
fontSizeLarge: string;
|
|
124
124
|
paddingSingle: string;
|
|
125
125
|
clearSize: string;
|
|
126
|
+
arrowSize: string;
|
|
126
127
|
}, {
|
|
127
128
|
Popover: import("../../_mixins/use-theme").Theme<"Popover", {
|
|
128
129
|
fontSize: string;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
2
|
declare const blockquoteProps: {
|
|
3
|
-
readonly alignText:
|
|
4
|
-
readonly type: BooleanConstructor;
|
|
5
|
-
readonly default: false;
|
|
6
|
-
};
|
|
3
|
+
readonly alignText: BooleanConstructor;
|
|
7
4
|
readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Typography", {
|
|
8
5
|
aTextColor: string;
|
|
9
6
|
blockquoteTextColor: string;
|
|
@@ -205,10 +202,7 @@ declare const blockquoteProps: {
|
|
|
205
202
|
};
|
|
206
203
|
export declare type BlockquoteProps = ExtractPublicPropTypes<typeof blockquoteProps>;
|
|
207
204
|
declare const _default: import("vue").DefineComponent<{
|
|
208
|
-
readonly alignText:
|
|
209
|
-
readonly type: BooleanConstructor;
|
|
210
|
-
readonly default: false;
|
|
211
|
-
};
|
|
205
|
+
readonly alignText: BooleanConstructor;
|
|
212
206
|
readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Typography", {
|
|
213
207
|
aTextColor: string;
|
|
214
208
|
blockquoteTextColor: string;
|
|
@@ -4,10 +4,7 @@ const vue_1 = require("vue");
|
|
|
4
4
|
const _mixins_1 = require("../../_mixins");
|
|
5
5
|
const blockquote_cssr_1 = require("./styles/blockquote.cssr");
|
|
6
6
|
const styles_1 = require("../styles");
|
|
7
|
-
const blockquoteProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { alignText:
|
|
8
|
-
type: Boolean,
|
|
9
|
-
default: false
|
|
10
|
-
} });
|
|
7
|
+
const blockquoteProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { alignText: Boolean });
|
|
11
8
|
exports.default = (0, vue_1.defineComponent)({
|
|
12
9
|
name: 'Blockquote',
|
|
13
10
|
props: blockquoteProps,
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
2
|
declare const olProps: {
|
|
3
|
-
alignText:
|
|
4
|
-
type: BooleanConstructor;
|
|
5
|
-
default: boolean;
|
|
6
|
-
};
|
|
3
|
+
alignText: BooleanConstructor;
|
|
7
4
|
theme: import("vue").PropType<import("../../_mixins").Theme<"Typography", {
|
|
8
5
|
aTextColor: string;
|
|
9
6
|
blockquoteTextColor: string;
|
|
@@ -205,10 +202,7 @@ declare const olProps: {
|
|
|
205
202
|
};
|
|
206
203
|
export declare type OlProps = ExtractPublicPropTypes<typeof olProps>;
|
|
207
204
|
declare const _default: import("vue").DefineComponent<{
|
|
208
|
-
alignText:
|
|
209
|
-
type: BooleanConstructor;
|
|
210
|
-
default: boolean;
|
|
211
|
-
};
|
|
205
|
+
alignText: BooleanConstructor;
|
|
212
206
|
theme: import("vue").PropType<import("../../_mixins").Theme<"Typography", {
|
|
213
207
|
aTextColor: string;
|
|
214
208
|
blockquoteTextColor: string;
|
package/lib/typography/src/ol.js
CHANGED
|
@@ -4,10 +4,7 @@ const vue_1 = require("vue");
|
|
|
4
4
|
const _mixins_1 = require("../../_mixins");
|
|
5
5
|
const styles_1 = require("../styles");
|
|
6
6
|
const list_cssr_1 = require("./styles/list.cssr");
|
|
7
|
-
const olProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { alignText:
|
|
8
|
-
type: Boolean,
|
|
9
|
-
default: false
|
|
10
|
-
} });
|
|
7
|
+
const olProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { alignText: Boolean });
|
|
11
8
|
exports.default = (0, vue_1.defineComponent)({
|
|
12
9
|
name: 'Ol',
|
|
13
10
|
props: olProps,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
declare const pProps: {
|
|
4
|
-
depth: PropType<2 | 1 | 3 | "1" | "2" | "3"
|
|
4
|
+
depth: PropType<2 | 1 | 3 | "1" | "2" | "3">;
|
|
5
5
|
theme: PropType<import("../../_mixins").Theme<"Typography", {
|
|
6
6
|
aTextColor: string;
|
|
7
7
|
blockquoteTextColor: string;
|
|
@@ -203,7 +203,7 @@ declare const pProps: {
|
|
|
203
203
|
};
|
|
204
204
|
export declare type PProps = ExtractPublicPropTypes<typeof pProps>;
|
|
205
205
|
declare const _default: import("vue").DefineComponent<{
|
|
206
|
-
depth: PropType<2 | 1 | 3 | "1" | "2" | "3"
|
|
206
|
+
depth: PropType<2 | 1 | 3 | "1" | "2" | "3">;
|
|
207
207
|
theme: PropType<import("../../_mixins").Theme<"Typography", {
|
|
208
208
|
aTextColor: string;
|
|
209
209
|
blockquoteTextColor: string;
|
package/lib/typography/src/p.js
CHANGED
|
@@ -4,7 +4,7 @@ const vue_1 = require("vue");
|
|
|
4
4
|
const _mixins_1 = require("../../_mixins");
|
|
5
5
|
const styles_1 = require("../styles");
|
|
6
6
|
const p_cssr_1 = require("./styles/p.cssr");
|
|
7
|
-
const pProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { depth: String });
|
|
7
|
+
const pProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { depth: [String, Number] });
|
|
8
8
|
exports.default = (0, vue_1.defineComponent)({
|
|
9
9
|
name: 'P',
|
|
10
10
|
props: pProps,
|
|
@@ -1,38 +1,17 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
declare const textProps: {
|
|
4
|
-
readonly code:
|
|
5
|
-
readonly type: BooleanConstructor;
|
|
6
|
-
readonly default: false;
|
|
7
|
-
};
|
|
4
|
+
readonly code: BooleanConstructor;
|
|
8
5
|
readonly type: {
|
|
9
6
|
readonly type: StringConstructor;
|
|
10
7
|
readonly default: "default";
|
|
11
8
|
};
|
|
12
|
-
readonly delete:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
readonly
|
|
17
|
-
|
|
18
|
-
readonly default: false;
|
|
19
|
-
};
|
|
20
|
-
readonly italic: {
|
|
21
|
-
readonly type: BooleanConstructor;
|
|
22
|
-
readonly default: false;
|
|
23
|
-
};
|
|
24
|
-
readonly underline: {
|
|
25
|
-
readonly type: BooleanConstructor;
|
|
26
|
-
readonly default: false;
|
|
27
|
-
};
|
|
28
|
-
readonly depth: {
|
|
29
|
-
readonly type: PropType<2 | 1 | 3 | "1" | "2" | "3" | undefined>;
|
|
30
|
-
readonly default: undefined;
|
|
31
|
-
};
|
|
32
|
-
readonly tag: {
|
|
33
|
-
readonly type: StringConstructor;
|
|
34
|
-
readonly default: undefined;
|
|
35
|
-
};
|
|
9
|
+
readonly delete: BooleanConstructor;
|
|
10
|
+
readonly strong: BooleanConstructor;
|
|
11
|
+
readonly italic: BooleanConstructor;
|
|
12
|
+
readonly underline: BooleanConstructor;
|
|
13
|
+
readonly depth: PropType<2 | 1 | 3 | "1" | "2" | "3">;
|
|
14
|
+
readonly tag: StringConstructor;
|
|
36
15
|
readonly as: {
|
|
37
16
|
readonly type: StringConstructor;
|
|
38
17
|
readonly validator: () => boolean;
|
|
@@ -239,38 +218,17 @@ declare const textProps: {
|
|
|
239
218
|
};
|
|
240
219
|
export declare type TextProps = ExtractPublicPropTypes<typeof textProps>;
|
|
241
220
|
declare const _default: import("vue").DefineComponent<{
|
|
242
|
-
readonly code:
|
|
243
|
-
readonly type: BooleanConstructor;
|
|
244
|
-
readonly default: false;
|
|
245
|
-
};
|
|
221
|
+
readonly code: BooleanConstructor;
|
|
246
222
|
readonly type: {
|
|
247
223
|
readonly type: StringConstructor;
|
|
248
224
|
readonly default: "default";
|
|
249
225
|
};
|
|
250
|
-
readonly delete:
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
readonly
|
|
255
|
-
|
|
256
|
-
readonly default: false;
|
|
257
|
-
};
|
|
258
|
-
readonly italic: {
|
|
259
|
-
readonly type: BooleanConstructor;
|
|
260
|
-
readonly default: false;
|
|
261
|
-
};
|
|
262
|
-
readonly underline: {
|
|
263
|
-
readonly type: BooleanConstructor;
|
|
264
|
-
readonly default: false;
|
|
265
|
-
};
|
|
266
|
-
readonly depth: {
|
|
267
|
-
readonly type: PropType<2 | 1 | 3 | "1" | "2" | "3" | undefined>;
|
|
268
|
-
readonly default: undefined;
|
|
269
|
-
};
|
|
270
|
-
readonly tag: {
|
|
271
|
-
readonly type: StringConstructor;
|
|
272
|
-
readonly default: undefined;
|
|
273
|
-
};
|
|
226
|
+
readonly delete: BooleanConstructor;
|
|
227
|
+
readonly strong: BooleanConstructor;
|
|
228
|
+
readonly italic: BooleanConstructor;
|
|
229
|
+
readonly underline: BooleanConstructor;
|
|
230
|
+
readonly depth: PropType<2 | 1 | 3 | "1" | "2" | "3">;
|
|
231
|
+
readonly tag: StringConstructor;
|
|
274
232
|
readonly as: {
|
|
275
233
|
readonly type: StringConstructor;
|
|
276
234
|
readonly validator: () => boolean;
|
|
@@ -711,12 +669,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
711
669
|
}>, {
|
|
712
670
|
type: string;
|
|
713
671
|
delete: boolean;
|
|
714
|
-
tag: string;
|
|
715
672
|
italic: boolean;
|
|
716
673
|
underline: boolean;
|
|
717
674
|
as: string;
|
|
718
675
|
code: boolean;
|
|
719
676
|
strong: boolean;
|
|
720
|
-
depth: 2 | 1 | 3 | "1" | "2" | "3" | undefined;
|
|
721
677
|
}>;
|
|
722
678
|
export default _default;
|
|
@@ -6,31 +6,10 @@ const _mixins_1 = require("../../_mixins");
|
|
|
6
6
|
const _utils_1 = require("../../_utils");
|
|
7
7
|
const styles_1 = require("../styles");
|
|
8
8
|
const text_cssr_1 = require("./styles/text.cssr");
|
|
9
|
-
const textProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { code: {
|
|
10
|
-
type: Boolean,
|
|
11
|
-
default: false
|
|
12
|
-
}, type: {
|
|
9
|
+
const textProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { code: Boolean, type: {
|
|
13
10
|
type: String,
|
|
14
11
|
default: 'default'
|
|
15
|
-
}, delete:
|
|
16
|
-
type: Boolean,
|
|
17
|
-
default: false
|
|
18
|
-
}, strong: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: false
|
|
21
|
-
}, italic: {
|
|
22
|
-
type: Boolean,
|
|
23
|
-
default: false
|
|
24
|
-
}, underline: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: false
|
|
27
|
-
}, depth: {
|
|
28
|
-
type: [String, Number],
|
|
29
|
-
default: undefined
|
|
30
|
-
}, tag: {
|
|
31
|
-
type: String,
|
|
32
|
-
default: undefined
|
|
33
|
-
},
|
|
12
|
+
}, delete: Boolean, strong: Boolean, italic: Boolean, underline: Boolean, depth: [String, Number], tag: String,
|
|
34
13
|
// deprecated
|
|
35
14
|
as: {
|
|
36
15
|
type: String,
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
2
|
declare const ulProps: {
|
|
3
|
-
readonly alignText:
|
|
4
|
-
readonly type: BooleanConstructor;
|
|
5
|
-
readonly default: false;
|
|
6
|
-
};
|
|
3
|
+
readonly alignText: BooleanConstructor;
|
|
7
4
|
readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Typography", {
|
|
8
5
|
aTextColor: string;
|
|
9
6
|
blockquoteTextColor: string;
|
|
@@ -205,10 +202,7 @@ declare const ulProps: {
|
|
|
205
202
|
};
|
|
206
203
|
export declare type UlProps = ExtractPublicPropTypes<typeof ulProps>;
|
|
207
204
|
declare const _default: import("vue").DefineComponent<{
|
|
208
|
-
readonly alignText:
|
|
209
|
-
readonly type: BooleanConstructor;
|
|
210
|
-
readonly default: false;
|
|
211
|
-
};
|
|
205
|
+
readonly alignText: BooleanConstructor;
|
|
212
206
|
readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Typography", {
|
|
213
207
|
aTextColor: string;
|
|
214
208
|
blockquoteTextColor: string;
|
package/lib/typography/src/ul.js
CHANGED
|
@@ -4,10 +4,7 @@ const vue_1 = require("vue");
|
|
|
4
4
|
const _mixins_1 = require("../../_mixins");
|
|
5
5
|
const styles_1 = require("../styles");
|
|
6
6
|
const list_cssr_1 = require("./styles/list.cssr");
|
|
7
|
-
const ulProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { alignText:
|
|
8
|
-
type: Boolean,
|
|
9
|
-
default: false
|
|
10
|
-
} });
|
|
7
|
+
const ulProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { alignText: Boolean });
|
|
11
8
|
exports.default = (0, vue_1.defineComponent)({
|
|
12
9
|
name: 'Ul',
|
|
13
10
|
props: ulProps,
|
package/lib/upload/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { default as NUpload } from './src/Upload';
|
|
2
2
|
export { default as NUploadDragger } from './src/UploadDragger';
|
|
3
|
+
export { default as NUploadTrigger } from './src/UploadTrigger';
|
|
4
|
+
export { default as NUploadFileList } from './src/UploadFileList';
|
|
3
5
|
export type { UploadProps } from './src/Upload';
|
|
4
6
|
export type { uploadDraggerKey } from './src/UploadDragger';
|
|
5
7
|
export type { UploadInst, FileInfo as UploadFileInfo } from './src/interface';
|
package/lib/upload/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NUploadDragger = exports.NUpload = void 0;
|
|
3
|
+
exports.NUploadFileList = exports.NUploadTrigger = exports.NUploadDragger = exports.NUpload = void 0;
|
|
4
4
|
var Upload_1 = require("./src/Upload");
|
|
5
5
|
Object.defineProperty(exports, "NUpload", { enumerable: true, get: function () { return Upload_1.default; } });
|
|
6
6
|
var UploadDragger_1 = require("./src/UploadDragger");
|
|
7
7
|
Object.defineProperty(exports, "NUploadDragger", { enumerable: true, get: function () { return UploadDragger_1.default; } });
|
|
8
|
+
var UploadTrigger_1 = require("./src/UploadTrigger");
|
|
9
|
+
Object.defineProperty(exports, "NUploadTrigger", { enumerable: true, get: function () { return UploadTrigger_1.default; } });
|
|
10
|
+
var UploadFileList_1 = require("./src/UploadFileList");
|
|
11
|
+
Object.defineProperty(exports, "NUploadFileList", { enumerable: true, get: function () { return UploadFileList_1.default; } });
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { PropType, CSSProperties } from 'vue';
|
|
3
2
|
import { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
4
3
|
import { FileInfo, FuncOrRecordOrUndef, OnFinish, OnRemove, OnDownload, OnChange, OnUpdateFileList, OnBeforeUpload, listType, OnPreview, CreateThumbnailUrl } from './interface';
|
|
@@ -69,6 +68,7 @@ declare const uploadProps: {
|
|
|
69
68
|
};
|
|
70
69
|
readonly onPreview: PropType<OnPreview>;
|
|
71
70
|
readonly createThumbnailUrl: PropType<CreateThumbnailUrl>;
|
|
71
|
+
readonly abstract: BooleanConstructor;
|
|
72
72
|
readonly theme: PropType<import("../../_mixins").Theme<"Upload", {
|
|
73
73
|
fontSize: string;
|
|
74
74
|
lineHeight: string;
|
|
@@ -192,7 +192,7 @@ declare const uploadProps: {
|
|
|
192
192
|
textColorFocusSuccess: string;
|
|
193
193
|
textColorDisabledSuccess: string;
|
|
194
194
|
textColorTextSuccess: string;
|
|
195
|
-
textColorTextHoverSuccess: string;
|
|
195
|
+
textColorTextHoverSuccess: string; /** currently of no usage */
|
|
196
196
|
textColorTextPressedSuccess: string;
|
|
197
197
|
textColorTextFocusSuccess: string;
|
|
198
198
|
textColorTextDisabledSuccess: string;
|
|
@@ -428,7 +428,7 @@ declare const uploadProps: {
|
|
|
428
428
|
textColorFocusSuccess: string;
|
|
429
429
|
textColorDisabledSuccess: string;
|
|
430
430
|
textColorTextSuccess: string;
|
|
431
|
-
textColorTextHoverSuccess: string;
|
|
431
|
+
textColorTextHoverSuccess: string; /** currently of no usage */
|
|
432
432
|
textColorTextPressedSuccess: string;
|
|
433
433
|
textColorTextFocusSuccess: string;
|
|
434
434
|
textColorTextDisabledSuccess: string;
|
|
@@ -664,7 +664,7 @@ declare const uploadProps: {
|
|
|
664
664
|
textColorFocusSuccess: string;
|
|
665
665
|
textColorDisabledSuccess: string;
|
|
666
666
|
textColorTextSuccess: string;
|
|
667
|
-
textColorTextHoverSuccess: string;
|
|
667
|
+
textColorTextHoverSuccess: string; /** currently of no usage */
|
|
668
668
|
textColorTextPressedSuccess: string;
|
|
669
669
|
textColorTextFocusSuccess: string;
|
|
670
670
|
textColorTextDisabledSuccess: string;
|
|
@@ -846,6 +846,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
846
846
|
};
|
|
847
847
|
readonly onPreview: PropType<OnPreview>;
|
|
848
848
|
readonly createThumbnailUrl: PropType<CreateThumbnailUrl>;
|
|
849
|
+
readonly abstract: BooleanConstructor;
|
|
849
850
|
readonly theme: PropType<import("../../_mixins").Theme<"Upload", {
|
|
850
851
|
fontSize: string;
|
|
851
852
|
lineHeight: string;
|
|
@@ -969,7 +970,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
969
970
|
textColorFocusSuccess: string;
|
|
970
971
|
textColorDisabledSuccess: string;
|
|
971
972
|
textColorTextSuccess: string;
|
|
972
|
-
textColorTextHoverSuccess: string;
|
|
973
|
+
textColorTextHoverSuccess: string; /** currently of no usage */
|
|
973
974
|
textColorTextPressedSuccess: string;
|
|
974
975
|
textColorTextFocusSuccess: string;
|
|
975
976
|
textColorTextDisabledSuccess: string;
|
|
@@ -1205,7 +1206,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1205
1206
|
textColorFocusSuccess: string;
|
|
1206
1207
|
textColorDisabledSuccess: string;
|
|
1207
1208
|
textColorTextSuccess: string;
|
|
1208
|
-
textColorTextHoverSuccess: string;
|
|
1209
|
+
textColorTextHoverSuccess: string; /** currently of no usage */
|
|
1209
1210
|
textColorTextPressedSuccess: string;
|
|
1210
1211
|
textColorTextFocusSuccess: string;
|
|
1211
1212
|
textColorTextDisabledSuccess: string;
|
|
@@ -1441,7 +1442,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1441
1442
|
textColorFocusSuccess: string;
|
|
1442
1443
|
textColorDisabledSuccess: string;
|
|
1443
1444
|
textColorTextSuccess: string;
|
|
1444
|
-
textColorTextHoverSuccess: string;
|
|
1445
|
+
textColorTextHoverSuccess: string; /** currently of no usage */
|
|
1445
1446
|
textColorTextPressedSuccess: string;
|
|
1446
1447
|
textColorTextFocusSuccess: string;
|
|
1447
1448
|
textColorTextDisabledSuccess: string;
|
|
@@ -1560,39 +1561,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1560
1561
|
value: boolean;
|
|
1561
1562
|
};
|
|
1562
1563
|
inputElRef: import("vue").Ref<HTMLInputElement | null>;
|
|
1563
|
-
mergedFileList: import("vue").ComputedRef<{
|
|
1564
|
-
id: string;
|
|
1565
|
-
name: string;
|
|
1566
|
-
percentage: number;
|
|
1567
|
-
status: "error" | "pending" | "uploading" | "finished" | "removed";
|
|
1568
|
-
url?: string | null | undefined;
|
|
1569
|
-
file?: {
|
|
1570
|
-
readonly lastModified: number;
|
|
1571
|
-
readonly name: string;
|
|
1572
|
-
readonly webkitRelativePath: string;
|
|
1573
|
-
readonly size: number;
|
|
1574
|
-
readonly type: string;
|
|
1575
|
-
arrayBuffer: {
|
|
1576
|
-
(): Promise<ArrayBuffer>;
|
|
1577
|
-
(): Promise<ArrayBuffer>;
|
|
1578
|
-
};
|
|
1579
|
-
slice: {
|
|
1580
|
-
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
|
|
1581
|
-
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
|
|
1582
|
-
};
|
|
1583
|
-
stream: {
|
|
1584
|
-
(): ReadableStream<any>;
|
|
1585
|
-
(): NodeJS.ReadableStream;
|
|
1586
|
-
};
|
|
1587
|
-
text: {
|
|
1588
|
-
(): Promise<string>;
|
|
1589
|
-
(): Promise<string>;
|
|
1590
|
-
};
|
|
1591
|
-
} | null | undefined;
|
|
1592
|
-
thumbnailUrl?: string | null | undefined;
|
|
1593
|
-
type?: string | null | undefined;
|
|
1594
|
-
}[]>;
|
|
1595
|
-
mergedDisabled: import("vue").ComputedRef<boolean>;
|
|
1596
1564
|
mergedTheme: import("vue").ComputedRef<{
|
|
1597
1565
|
common: {
|
|
1598
1566
|
baseColor: string;
|
|
@@ -1817,7 +1785,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1817
1785
|
textColorFocusSuccess: string;
|
|
1818
1786
|
textColorDisabledSuccess: string;
|
|
1819
1787
|
textColorTextSuccess: string;
|
|
1820
|
-
textColorTextHoverSuccess: string;
|
|
1788
|
+
textColorTextHoverSuccess: string; /** currently of no usage */
|
|
1821
1789
|
textColorTextPressedSuccess: string;
|
|
1822
1790
|
textColorTextFocusSuccess: string;
|
|
1823
1791
|
textColorTextDisabledSuccess: string;
|
|
@@ -1944,32 +1912,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1944
1912
|
};
|
|
1945
1913
|
}>;
|
|
1946
1914
|
dragOver: import("vue").Ref<boolean>;
|
|
1947
|
-
handleTriggerDrop: (e: DragEvent) => void;
|
|
1948
|
-
handleTriggerDragLeave: (e: DragEvent) => void;
|
|
1949
|
-
handleTriggerDragEnter: (e: DragEvent) => void;
|
|
1950
|
-
handleTriggerDragOver: (e: DragEvent) => void;
|
|
1951
|
-
handleTriggerClick: () => void;
|
|
1952
1915
|
handleFileInputChange: (e: Event) => void;
|
|
1953
1916
|
submit: (fileId?: string | undefined) => void;
|
|
1954
|
-
|
|
1955
|
-
cssVars: import("vue").ComputedRef<{
|
|
1956
|
-
'--bezier': string;
|
|
1957
|
-
'--border-radius': string;
|
|
1958
|
-
'--dragger-border': string;
|
|
1959
|
-
'--dragger-border-hover': string;
|
|
1960
|
-
'--dragger-color': string;
|
|
1961
|
-
'--font-size': string;
|
|
1962
|
-
'--item-color-hover': string;
|
|
1963
|
-
'--item-color-hover-error': string;
|
|
1964
|
-
'--item-disabled-opacity': string;
|
|
1965
|
-
'--item-icon-color': string;
|
|
1966
|
-
'--item-text-color': string;
|
|
1967
|
-
'--item-text-color-error': string;
|
|
1968
|
-
'--item-text-color-success': string;
|
|
1969
|
-
'--line-height': string;
|
|
1970
|
-
'--item-border-image-card-error': string;
|
|
1971
|
-
'--item-border-image-card': string;
|
|
1972
|
-
}>;
|
|
1917
|
+
cssVars: import("vue").ComputedRef<any>;
|
|
1973
1918
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
1974
1919
|
readonly name?: unknown;
|
|
1975
1920
|
readonly accept?: unknown;
|
|
@@ -2000,11 +1945,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2000
1945
|
readonly listType?: unknown;
|
|
2001
1946
|
readonly onPreview?: unknown;
|
|
2002
1947
|
readonly createThumbnailUrl?: unknown;
|
|
1948
|
+
readonly abstract?: unknown;
|
|
2003
1949
|
readonly theme?: unknown;
|
|
2004
1950
|
readonly themeOverrides?: unknown;
|
|
2005
1951
|
readonly builtinThemeOverrides?: unknown;
|
|
2006
1952
|
} & {
|
|
2007
1953
|
method: string;
|
|
1954
|
+
abstract: boolean;
|
|
2008
1955
|
name: string;
|
|
2009
1956
|
multiple: boolean;
|
|
2010
1957
|
listType: listType;
|
|
@@ -2147,7 +2094,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2147
2094
|
textColorFocusSuccess: string;
|
|
2148
2095
|
textColorDisabledSuccess: string;
|
|
2149
2096
|
textColorTextSuccess: string;
|
|
2150
|
-
textColorTextHoverSuccess: string;
|
|
2097
|
+
textColorTextHoverSuccess: string; /** currently of no usage */
|
|
2151
2098
|
textColorTextPressedSuccess: string;
|
|
2152
2099
|
textColorTextFocusSuccess: string;
|
|
2153
2100
|
textColorTextDisabledSuccess: string;
|
|
@@ -2383,7 +2330,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2383
2330
|
textColorFocusSuccess: string;
|
|
2384
2331
|
textColorDisabledSuccess: string;
|
|
2385
2332
|
textColorTextSuccess: string;
|
|
2386
|
-
textColorTextHoverSuccess: string;
|
|
2333
|
+
textColorTextHoverSuccess: string; /** currently of no usage */
|
|
2387
2334
|
textColorTextPressedSuccess: string;
|
|
2388
2335
|
textColorTextFocusSuccess: string;
|
|
2389
2336
|
textColorTextDisabledSuccess: string;
|
|
@@ -2619,7 +2566,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2619
2566
|
textColorFocusSuccess: string;
|
|
2620
2567
|
textColorDisabledSuccess: string;
|
|
2621
2568
|
textColorTextSuccess: string;
|
|
2622
|
-
textColorTextHoverSuccess: string;
|
|
2569
|
+
textColorTextHoverSuccess: string; /** currently of no usage */
|
|
2623
2570
|
textColorTextPressedSuccess: string;
|
|
2624
2571
|
textColorTextFocusSuccess: string;
|
|
2625
2572
|
textColorTextDisabledSuccess: string;
|
|
@@ -2744,6 +2691,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2744
2691
|
createThumbnailUrl?: CreateThumbnailUrl | undefined;
|
|
2745
2692
|
}>, {
|
|
2746
2693
|
method: string;
|
|
2694
|
+
abstract: boolean;
|
|
2747
2695
|
name: string;
|
|
2748
2696
|
multiple: boolean;
|
|
2749
2697
|
disabled: boolean | undefined;
|