@uzum-tech/ui 2.3.1 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +29698 -29160
- package/dist/index.mjs +29963 -29425
- package/dist/index.prod.js +2 -2
- package/dist/index.prod.mjs +2 -2
- package/es/_internal/checkbox/src/use-checkbox.d.ts +2 -2
- package/es/_internal/close/src/Close.d.ts +1 -1
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
- package/es/_internal/select-menu/src/SelectMenu.d.ts +1039 -169
- package/es/_internal/select-menu/src/SelectMenu.mjs +56 -204
- package/es/_internal/select-menu/src/SelectMenuParts/Action.d.ts +15 -0
- package/es/_internal/select-menu/src/SelectMenuParts/Action.mjs +28 -0
- package/es/_internal/select-menu/src/SelectMenuParts/Header.d.ts +12 -0
- package/es/_internal/select-menu/src/SelectMenuParts/Header.mjs +22 -0
- package/es/_internal/select-menu/src/SelectMenuParts/List.d.ts +129 -0
- package/es/_internal/select-menu/src/SelectMenuParts/List.mjs +196 -0
- package/es/_internal/select-menu/src/SelectMenuParts/Search.d.ts +90 -0
- package/es/_internal/select-menu/src/SelectMenuParts/Search.mjs +69 -0
- package/es/_internal/select-menu/src/SelectOption.d.ts +1 -0
- package/es/_internal/select-menu/src/SelectOption.mjs +17 -2
- package/es/_internal/select-menu/src/interface.d.ts +650 -2
- package/es/_internal/select-menu/src/interface.mjs +81 -0
- package/es/_internal/select-menu/src/styles/index.cssr.mjs +23 -1
- package/es/_internal/select-menu/styles/dark.mjs +5 -1
- package/es/_internal/select-menu/styles/light.d.ts +123 -0
- package/es/_internal/select-menu/styles/light.mjs +5 -1
- package/es/_internal/selection/src/Selection.d.ts +3 -3
- package/es/_internal/skeleton/src/Skeleton.d.ts +1 -1
- package/es/_internal/typography/src/text.d.ts +3 -3
- package/es/action-card/src/ActionCard.d.ts +2 -2
- package/es/affix/src/Affix.d.ts +1 -1
- package/es/alert/src/Alert.d.ts +1 -1
- package/es/anchor/src/AnchorAdapter.d.ts +1 -1
- package/es/anchor/src/BaseAnchor.d.ts +2 -2
- package/es/auto-complete/src/AutoComplete.d.ts +1386 -30
- package/es/auto-complete/styles/light.d.ts +123 -0
- package/es/avatar/src/Avatar.d.ts +1 -1
- package/es/avatar-group/src/AvatarGroup.d.ts +2 -2
- package/es/back-top/src/BackTop.d.ts +1 -1
- package/es/badge/src/Badge.d.ts +1 -1
- package/es/button/src/Button.d.ts +7 -7
- package/es/button-group/src/ButtonGroup.d.ts +1 -1
- package/es/card/src/Card.d.ts +1 -1
- package/es/card-list/src/CardListItem.d.ts +1 -1
- package/es/carousel/src/Carousel.d.ts +4 -4
- package/es/carousel/src/CarouselDots.d.ts +2 -2
- package/es/cascader/src/Cascader.d.ts +1404 -51
- package/es/cascader/src/CascaderMenu.d.ts +492 -0
- package/es/cascader/src/CascaderOption.d.ts +492 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +496 -1
- package/es/cascader/src/CascaderSubmenu.d.ts +492 -0
- package/es/cascader/styles/light.d.ts +123 -0
- package/es/chat/src/Chat.d.ts +5868 -87
- package/es/chat/src/ChatListItems.d.ts +1849 -4
- package/es/chat/src/ChatMainArea.d.ts +1849 -4
- package/es/chat/src/ChatMessages.d.ts +1849 -4
- package/es/chat/src/ChatParts/Sidebar.d.ts +492 -0
- package/es/chat/styles/dark.d.ts +123 -0
- package/es/chat/styles/light.d.ts +123 -0
- package/es/checkbox/src/Checkbox.d.ts +7 -7
- package/es/checkbox/src/CheckboxGroup.d.ts +1 -1
- package/es/code/src/Code.d.ts +2 -2
- package/es/color-picker/src/ColorPicker.d.ts +1 -1
- package/es/color-picker/src/ColorPickerTrigger.d.ts +1 -1
- package/es/components.d.ts +19186 -425
- package/es/config-provider/src/ConfigProvider.d.ts +1 -1
- package/es/config-provider/src/context.mjs +1 -1
- package/es/crop/src/Crop.d.ts +1 -1
- package/es/data-table/src/DataTable.d.ts +2087 -119
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +984 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +984 -0
- package/es/data-table/src/TableParts/Body.d.ts +985 -1
- package/es/data-table/src/TableParts/Header.d.ts +985 -1
- package/es/data-table/src/interface.d.ts +738 -0
- package/es/data-table/styles/light.d.ts +246 -0
- package/es/date-picker/src/DatePicker.d.ts +3 -3
- package/es/date-picker-v2/src/DatePickerV2.d.ts +2 -2
- package/es/descriptions/src/Descriptions.d.ts +2 -2
- package/es/dialog/src/Dialog.d.ts +1 -1
- package/es/dialog/src/DialogEnvironment.d.ts +1 -1
- package/es/dialog/src/DialogProvider.d.ts +52 -52
- package/es/dialog/src/dialogProps.d.ts +1 -1
- package/es/divider/src/Divider.d.ts +1 -1
- package/es/drawer/src/Drawer.d.ts +2 -2
- package/es/dropdown/src/Dropdown.d.ts +4 -4
- package/es/dynamic-input/src/DynamicInput.d.ts +2 -2
- package/es/dynamic-input/src/InputPreset.d.ts +1 -1
- package/es/dynamic-input/src/PairPreset.d.ts +1 -1
- package/es/dynamic-tags/src/DynamicTags.d.ts +2 -2
- package/es/empty/src/Empty.d.ts +1 -1
- package/es/flex/src/Flex.d.ts +1 -1
- package/es/float-button/src/FloatButton.d.ts +1 -1
- package/es/form/src/Form.d.ts +1 -1
- package/es/form/src/FormItem.d.ts +3 -3
- package/es/form/src/FormItemCol.d.ts +3 -3
- package/es/form/src/FormItemGridItem.d.ts +3 -3
- package/es/form/src/FormItemRow.d.ts +2 -2
- package/es/form/src/utils.d.ts +1 -1
- package/es/gradient-text/src/GradientText.d.ts +2 -2
- package/es/header/src/Header.d.ts +1 -1
- package/es/header/src/mobile/HeaderMobile.d.ts +1 -1
- package/es/heatmap/src/Heatmap.d.ts +1 -1
- package/es/icon-bar/src/IconBarItem.d.ts +4 -4
- package/es/icon-pack/src/IconPack.d.ts +2 -2
- package/es/image/src/Image.d.ts +1 -1
- package/es/image/src/ImagePreview.d.ts +1 -0
- package/es/image/src/ImagePreview.mjs +7 -35
- package/es/image/src/public-types.d.ts +4 -4
- package/es/input/src/Input.d.ts +7 -7
- package/es/input-number/src/InputNumber.d.ts +3 -3
- package/es/input-otp/src/InputOtp.d.ts +2 -2
- package/es/kanban/src/Kanban.d.ts +1 -1
- package/es/layout/src/LayoutSider.d.ts +1 -1
- package/es/legacy-transfer/src/Transfer.d.ts +2 -2
- package/es/list/src/List.d.ts +9 -9
- package/es/list/src/ListItem.d.ts +10 -10
- package/es/locales/common/enUS.d.ts +1 -0
- package/es/locales/common/enUS.mjs +2 -1
- package/es/locales/common/ruRU.mjs +2 -1
- package/es/locales/common/uzUZ.mjs +2 -1
- package/es/locales/common/zhCN.mjs +2 -1
- package/es/mention/src/Mention.d.ts +1388 -32
- package/es/mention/styles/light.d.ts +123 -0
- package/es/menu/src/Menu.d.ts +3 -3
- package/es/menu/src/MenuOption.d.ts +1 -1
- package/es/menu/src/MenuOptionContent.d.ts +2 -2
- package/es/menu/src/MenuOptionGroup.d.ts +1 -1
- package/es/menu/src/Submenu.d.ts +1 -1
- package/es/message-bubble/src/MessageBubble.d.ts +3 -3
- package/es/message-bubble/src/MessageBubble.mjs +10 -3
- package/es/modal/src/BodyWrapper.d.ts +2 -2
- package/es/modal/src/Modal.d.ts +4 -4
- package/es/modal/src/ModalEnvironment.d.ts +4 -4
- package/es/modal/src/presetProps.d.ts +1 -1
- package/es/modal-fullscreen/src/ModalFull.d.ts +1 -1
- package/es/notification/src/Notification.d.ts +2 -2
- package/es/notification/src/NotificationEnvironment.d.ts +1 -1
- package/es/notification/src/NotificationProvider.d.ts +12 -12
- package/es/number-animation/src/NumberAnimation.d.ts +1 -1
- package/es/pagination/src/Pagination.d.ts +1995 -27
- package/es/pagination/src/interface.d.ts +738 -0
- package/es/pagination/styles/light.d.ts +246 -0
- package/es/popconfirm/src/Popconfirm.d.ts +3 -3
- package/es/popover/src/Popover.d.ts +3 -3
- package/es/popover/src/PopoverBody.d.ts +1 -1
- package/es/popselect/src/Popselect.d.ts +1383 -30
- package/es/popselect/src/PopselectPanel.d.ts +494 -2
- package/es/popselect/styles/light.d.ts +123 -0
- package/es/qr-code/src/QrCode.d.ts +2 -2
- package/es/radio/src/Radio.d.ts +2 -2
- package/es/radio/src/RadioButton.d.ts +9 -9
- package/es/radio/src/RadioGroup.d.ts +1 -1
- package/es/rate/src/Rate.d.ts +1 -1
- package/es/result/src/Result.d.ts +1 -1
- package/es/select/index.d.ts +4 -3
- package/es/select/index.mjs +2 -1
- package/es/select/src/Select.d.ts +1127 -811
- package/es/select/src/Select.mjs +257 -226
- package/es/select/src/interface.d.ts +1140 -8
- package/es/select/src/interface.mjs +154 -1
- package/es/select/src/styles/index.cssr.mjs +16 -3
- package/es/select/src/utils.d.ts +3 -1
- package/es/select/src/utils.mjs +32 -0
- package/es/select/styles/light.d.ts +123 -0
- package/es/skeleton/src/Skeleton.d.ts +1 -1
- package/es/slider/src/Slider.d.ts +4 -4
- package/es/spin/src/Spin.d.ts +1 -1
- package/es/split/src/Split.d.ts +2 -2
- package/es/steps/src/Steps.d.ts +1 -1
- package/es/switch/src/Switch.d.ts +2 -2
- package/es/tabs/src/Tab.d.ts +8 -8
- package/es/tabs/src/TabPane.d.ts +1 -1
- package/es/tabs/src/Tabs.d.ts +1 -1
- package/es/tag/src/Tag.d.ts +4 -4
- package/es/tag/src/TagGroup.d.ts +2 -2
- package/es/time-picker/src/Panel.d.ts +1 -1
- package/es/time-picker/src/TimePicker.d.ts +3 -3
- package/es/timeline/src/Timeline.d.ts +1 -1
- package/es/timeline/src/TimelineItem.d.ts +1 -1
- package/es/toggle-button/src/ToggleButton.d.ts +8 -8
- package/es/tooltip/src/Tooltip.d.ts +3 -3
- package/es/transfer/src/Transfer.d.ts +2 -2
- package/es/tree/src/Tree.d.ts +2 -2
- package/es/tree/src/TreeNodeCheckbox.d.ts +1 -1
- package/es/tree/src/TreeNodeContent.d.ts +1 -1
- package/es/tree-select/src/TreeSelect.d.ts +4 -4
- package/es/typography/src/create-header.d.ts +1 -1
- package/es/typography/src/headers.d.ts +6 -6
- package/es/typography/src/text.d.ts +5 -5
- package/es/upload/index.d.ts +2 -1
- package/es/upload/index.mjs +2 -1
- package/es/upload/src/Upload.d.ts +75 -1009
- package/es/upload/src/Upload.mjs +43 -124
- package/es/upload/src/UploadFile.d.ts +2 -2
- package/es/upload/src/UploadFile.mjs +8 -2
- package/es/upload/src/UploadFileList.mjs +17 -2
- package/es/upload/src/UploadProgress.d.ts +3 -2
- package/es/upload/src/interface.d.ts +1086 -92
- package/es/upload/src/interface.mjs +117 -1
- package/es/upload/src/public-types.d.ts +17 -2
- package/es/upload/src/useUploadActionsRender.d.ts +2 -27
- package/es/upload/src/useUploadActionsRender.mjs +2 -2
- package/es/upload/src/useUploadInternals.d.ts +2 -25
- package/es/upload/src/utils.d.ts +2 -0
- package/es/upload/src/utils.mjs +7 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/virtual-list/src/VirtualList.d.ts +2 -2
- package/es/watermark/src/Watermark.d.ts +2 -2
- package/lib/_internal/checkbox/src/use-checkbox.d.ts +2 -2
- package/lib/_internal/close/src/Close.d.ts +1 -1
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +1039 -169
- package/lib/_internal/select-menu/src/SelectMenu.js +29 -109
- package/lib/_internal/select-menu/src/SelectMenuParts/Action.d.ts +15 -0
- package/lib/_internal/select-menu/src/SelectMenuParts/Action.js +25 -0
- package/lib/_internal/select-menu/src/SelectMenuParts/Header.d.ts +12 -0
- package/lib/_internal/select-menu/src/SelectMenuParts/Header.js +17 -0
- package/lib/_internal/select-menu/src/SelectMenuParts/List.d.ts +129 -0
- package/lib/_internal/select-menu/src/SelectMenuParts/List.js +134 -0
- package/lib/_internal/select-menu/src/SelectMenuParts/Search.d.ts +90 -0
- package/lib/_internal/select-menu/src/SelectMenuParts/Search.js +52 -0
- package/lib/_internal/select-menu/src/SelectOption.d.ts +1 -0
- package/lib/_internal/select-menu/src/SelectOption.js +13 -4
- package/lib/_internal/select-menu/src/interface.d.ts +650 -2
- package/lib/_internal/select-menu/src/interface.js +46 -1
- package/lib/_internal/select-menu/src/styles/index.cssr.js +23 -1
- package/lib/_internal/select-menu/styles/dark.js +8 -4
- package/lib/_internal/select-menu/styles/light.d.ts +123 -0
- package/lib/_internal/select-menu/styles/light.js +8 -4
- package/lib/_internal/selection/src/Selection.d.ts +3 -3
- package/lib/_internal/skeleton/src/Skeleton.d.ts +1 -1
- package/lib/_internal/typography/src/text.d.ts +3 -3
- package/lib/action-card/src/ActionCard.d.ts +2 -2
- package/lib/affix/src/Affix.d.ts +1 -1
- package/lib/alert/src/Alert.d.ts +1 -1
- package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
- package/lib/anchor/src/BaseAnchor.d.ts +2 -2
- package/lib/auto-complete/src/AutoComplete.d.ts +1386 -30
- package/lib/auto-complete/styles/light.d.ts +123 -0
- package/lib/avatar/src/Avatar.d.ts +1 -1
- package/lib/avatar-group/src/AvatarGroup.d.ts +2 -2
- package/lib/back-top/src/BackTop.d.ts +1 -1
- package/lib/badge/src/Badge.d.ts +1 -1
- package/lib/button/src/Button.d.ts +7 -7
- package/lib/button-group/src/ButtonGroup.d.ts +1 -1
- package/lib/card/src/Card.d.ts +1 -1
- package/lib/card-list/src/CardListItem.d.ts +1 -1
- package/lib/carousel/src/Carousel.d.ts +4 -4
- package/lib/carousel/src/CarouselDots.d.ts +2 -2
- package/lib/cascader/src/Cascader.d.ts +1404 -51
- package/lib/cascader/src/CascaderMenu.d.ts +492 -0
- package/lib/cascader/src/CascaderOption.d.ts +492 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +496 -1
- package/lib/cascader/src/CascaderSubmenu.d.ts +492 -0
- package/lib/cascader/styles/light.d.ts +123 -0
- package/lib/chat/src/Chat.d.ts +5868 -87
- package/lib/chat/src/ChatListItems.d.ts +1849 -4
- package/lib/chat/src/ChatMainArea.d.ts +1849 -4
- package/lib/chat/src/ChatMessages.d.ts +1849 -4
- package/lib/chat/src/ChatParts/Sidebar.d.ts +492 -0
- package/lib/chat/styles/dark.d.ts +123 -0
- package/lib/chat/styles/light.d.ts +123 -0
- package/lib/checkbox/src/Checkbox.d.ts +7 -7
- package/lib/checkbox/src/CheckboxGroup.d.ts +1 -1
- package/lib/code/src/Code.d.ts +2 -2
- package/lib/color-picker/src/ColorPicker.d.ts +1 -1
- package/lib/color-picker/src/ColorPickerTrigger.d.ts +1 -1
- package/lib/components.d.ts +19186 -425
- package/lib/config-provider/src/ConfigProvider.d.ts +1 -1
- package/lib/config-provider/src/context.js +2 -2
- package/lib/crop/src/Crop.d.ts +1 -1
- package/lib/data-table/src/DataTable.d.ts +2087 -119
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +984 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +984 -0
- package/lib/data-table/src/TableParts/Body.d.ts +985 -1
- package/lib/data-table/src/TableParts/Header.d.ts +985 -1
- package/lib/data-table/src/interface.d.ts +738 -0
- package/lib/data-table/styles/light.d.ts +246 -0
- package/lib/date-picker/src/DatePicker.d.ts +3 -3
- package/lib/date-picker-v2/src/DatePickerV2.d.ts +2 -2
- package/lib/descriptions/src/Descriptions.d.ts +2 -2
- package/lib/dialog/src/Dialog.d.ts +1 -1
- package/lib/dialog/src/DialogEnvironment.d.ts +1 -1
- package/lib/dialog/src/DialogProvider.d.ts +52 -52
- package/lib/dialog/src/dialogProps.d.ts +1 -1
- package/lib/divider/src/Divider.d.ts +1 -1
- package/lib/drawer/src/Drawer.d.ts +2 -2
- package/lib/dropdown/src/Dropdown.d.ts +4 -4
- package/lib/dynamic-input/src/DynamicInput.d.ts +2 -2
- package/lib/dynamic-input/src/InputPreset.d.ts +1 -1
- package/lib/dynamic-input/src/PairPreset.d.ts +1 -1
- package/lib/dynamic-tags/src/DynamicTags.d.ts +2 -2
- package/lib/empty/src/Empty.d.ts +1 -1
- package/lib/flex/src/Flex.d.ts +1 -1
- package/lib/float-button/src/FloatButton.d.ts +1 -1
- package/lib/form/src/Form.d.ts +1 -1
- package/lib/form/src/FormItem.d.ts +3 -3
- package/lib/form/src/FormItemCol.d.ts +3 -3
- package/lib/form/src/FormItemGridItem.d.ts +3 -3
- package/lib/form/src/FormItemRow.d.ts +2 -2
- package/lib/form/src/utils.d.ts +1 -1
- package/lib/gradient-text/src/GradientText.d.ts +2 -2
- package/lib/header/src/Header.d.ts +1 -1
- package/lib/header/src/mobile/HeaderMobile.d.ts +1 -1
- package/lib/heatmap/src/Heatmap.d.ts +1 -1
- package/lib/icon-bar/src/IconBarItem.d.ts +4 -4
- package/lib/icon-pack/src/IconPack.d.ts +2 -2
- package/lib/image/src/Image.d.ts +1 -1
- package/lib/image/src/ImagePreview.d.ts +1 -0
- package/lib/image/src/ImagePreview.js +3 -19
- package/lib/image/src/public-types.d.ts +4 -4
- package/lib/input/src/Input.d.ts +7 -7
- package/lib/input-number/src/InputNumber.d.ts +3 -3
- package/lib/input-otp/src/InputOtp.d.ts +2 -2
- package/lib/kanban/src/Kanban.d.ts +1 -1
- package/lib/layout/src/LayoutSider.d.ts +1 -1
- package/lib/legacy-transfer/src/Transfer.d.ts +2 -2
- package/lib/list/src/List.d.ts +9 -9
- package/lib/list/src/ListItem.d.ts +10 -10
- package/lib/locales/common/enUS.d.ts +1 -0
- package/lib/locales/common/enUS.js +2 -1
- package/lib/locales/common/ruRU.js +2 -1
- package/lib/locales/common/uzUZ.js +2 -1
- package/lib/locales/common/zhCN.js +2 -1
- package/lib/mention/src/Mention.d.ts +1388 -32
- package/lib/mention/styles/light.d.ts +123 -0
- package/lib/menu/src/Menu.d.ts +3 -3
- package/lib/menu/src/MenuOption.d.ts +1 -1
- package/lib/menu/src/MenuOptionContent.d.ts +2 -2
- package/lib/menu/src/MenuOptionGroup.d.ts +1 -1
- package/lib/menu/src/Submenu.d.ts +1 -1
- package/lib/message-bubble/src/MessageBubble.d.ts +3 -3
- package/lib/message-bubble/src/MessageBubble.js +10 -4
- package/lib/modal/src/BodyWrapper.d.ts +2 -2
- package/lib/modal/src/Modal.d.ts +4 -4
- package/lib/modal/src/ModalEnvironment.d.ts +4 -4
- package/lib/modal/src/presetProps.d.ts +1 -1
- package/lib/modal-fullscreen/src/ModalFull.d.ts +1 -1
- package/lib/notification/src/Notification.d.ts +2 -2
- package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
- package/lib/notification/src/NotificationProvider.d.ts +12 -12
- package/lib/number-animation/src/NumberAnimation.d.ts +1 -1
- package/lib/pagination/src/Pagination.d.ts +1995 -27
- package/lib/pagination/src/interface.d.ts +738 -0
- package/lib/pagination/styles/light.d.ts +246 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +3 -3
- package/lib/popover/src/Popover.d.ts +3 -3
- package/lib/popover/src/PopoverBody.d.ts +1 -1
- package/lib/popselect/src/Popselect.d.ts +1383 -30
- package/lib/popselect/src/PopselectPanel.d.ts +494 -2
- package/lib/popselect/styles/light.d.ts +123 -0
- package/lib/qr-code/src/QrCode.d.ts +2 -2
- package/lib/radio/src/Radio.d.ts +2 -2
- package/lib/radio/src/RadioButton.d.ts +9 -9
- package/lib/radio/src/RadioGroup.d.ts +1 -1
- package/lib/rate/src/Rate.d.ts +1 -1
- package/lib/result/src/Result.d.ts +1 -1
- package/lib/select/index.d.ts +4 -3
- package/lib/select/index.js +2 -1
- package/lib/select/src/Select.d.ts +1127 -811
- package/lib/select/src/Select.js +189 -108
- package/lib/select/src/interface.d.ts +1140 -8
- package/lib/select/src/interface.js +85 -0
- package/lib/select/src/styles/index.cssr.js +15 -2
- package/lib/select/src/utils.d.ts +3 -1
- package/lib/select/src/utils.js +38 -0
- package/lib/select/styles/light.d.ts +123 -0
- package/lib/skeleton/src/Skeleton.d.ts +1 -1
- package/lib/slider/src/Slider.d.ts +4 -4
- package/lib/spin/src/Spin.d.ts +1 -1
- package/lib/split/src/Split.d.ts +2 -2
- package/lib/steps/src/Steps.d.ts +1 -1
- package/lib/switch/src/Switch.d.ts +2 -2
- package/lib/tabs/src/Tab.d.ts +8 -8
- package/lib/tabs/src/TabPane.d.ts +1 -1
- package/lib/tabs/src/Tabs.d.ts +1 -1
- package/lib/tag/src/Tag.d.ts +4 -4
- package/lib/tag/src/TagGroup.d.ts +2 -2
- package/lib/time-picker/src/Panel.d.ts +1 -1
- package/lib/time-picker/src/TimePicker.d.ts +3 -3
- package/lib/timeline/src/Timeline.d.ts +1 -1
- package/lib/timeline/src/TimelineItem.d.ts +1 -1
- package/lib/toggle-button/src/ToggleButton.d.ts +8 -8
- package/lib/tooltip/src/Tooltip.d.ts +3 -3
- package/lib/transfer/src/Transfer.d.ts +2 -2
- package/lib/tree/src/Tree.d.ts +2 -2
- package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -1
- package/lib/tree/src/TreeNodeContent.d.ts +1 -1
- package/lib/tree-select/src/TreeSelect.d.ts +4 -4
- package/lib/typography/src/create-header.d.ts +1 -1
- package/lib/typography/src/headers.d.ts +6 -6
- package/lib/typography/src/text.d.ts +5 -5
- package/lib/upload/index.d.ts +2 -1
- package/lib/upload/index.js +2 -1
- package/lib/upload/src/Upload.d.ts +75 -1009
- package/lib/upload/src/Upload.js +40 -68
- package/lib/upload/src/UploadFile.d.ts +2 -2
- package/lib/upload/src/UploadFile.js +12 -4
- package/lib/upload/src/UploadFileList.js +8 -1
- package/lib/upload/src/UploadProgress.d.ts +3 -2
- package/lib/upload/src/interface.d.ts +1086 -92
- package/lib/upload/src/interface.js +59 -1
- package/lib/upload/src/public-types.d.ts +17 -2
- package/lib/upload/src/useUploadActionsRender.d.ts +2 -27
- package/lib/upload/src/useUploadActionsRender.js +2 -2
- package/lib/upload/src/useUploadInternals.d.ts +2 -25
- package/lib/upload/src/utils.d.ts +2 -0
- package/lib/upload/src/utils.js +10 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/src/VirtualList.d.ts +2 -2
- package/lib/watermark/src/Watermark.d.ts +2 -2
- package/package.json +1 -1
- package/web-types.json +181 -24
|
@@ -1,5 +1,63 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.uploadInjectionKey = void 0;
|
|
3
|
+
exports.uploadProps = exports.uploadInjectionKey = void 0;
|
|
4
|
+
const _mixins_1 = require("../../_mixins");
|
|
4
5
|
const _utils_1 = require("../../_utils");
|
|
6
|
+
const utils_1 = require("./utils");
|
|
5
7
|
exports.uploadInjectionKey = (0, _utils_1.createInjectionKey)('u-upload');
|
|
8
|
+
exports.uploadProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { name: {
|
|
9
|
+
type: String,
|
|
10
|
+
default: 'file'
|
|
11
|
+
}, accept: String, action: String, customRequest: Function, directory: Boolean, directoryDnd: { type: Boolean, default: undefined }, method: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: 'POST'
|
|
14
|
+
}, multiple: Boolean, showFileList: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: true
|
|
17
|
+
}, data: [Object, Function], headers: [Object, Function], withCredentials: Boolean, responseType: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: ''
|
|
20
|
+
}, disabled: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: undefined
|
|
23
|
+
}, vertical: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: false
|
|
26
|
+
}, icon: Object, onChange: Function, onRemove: Function, onFinish: Function, onError: Function, onRetry: Function, onBeforeUpload: Function, isErrorState: Function, onDownload: Function, defaultUpload: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: true
|
|
29
|
+
}, fileList: Array, 'onUpdate:fileList': [Function, Array], onUpdateFileList: [Function, Array], fileListClass: String, fileListStyle: [String, Object], defaultFileList: {
|
|
30
|
+
type: Array,
|
|
31
|
+
default: () => []
|
|
32
|
+
}, showCancelButton: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: true
|
|
35
|
+
}, showRemoveButton: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: true
|
|
38
|
+
}, showDownloadButton: Boolean, showRetryButton: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: true
|
|
41
|
+
}, customDownload: Function, showPreviewButton: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: true
|
|
44
|
+
}, listType: {
|
|
45
|
+
type: String,
|
|
46
|
+
default: 'text'
|
|
47
|
+
}, onPreview: Function, shouldUseThumbnailUrl: {
|
|
48
|
+
type: Function,
|
|
49
|
+
default: (file) => {
|
|
50
|
+
if (!utils_1.environmentSupportFile)
|
|
51
|
+
return false;
|
|
52
|
+
return (0, utils_1.isImageFile)(file);
|
|
53
|
+
}
|
|
54
|
+
}, createThumbnailUrl: Function, abstract: Boolean, max: Number, maxSize: Number, showTrigger: {
|
|
55
|
+
type: Boolean,
|
|
56
|
+
default: true
|
|
57
|
+
}, imageGroupProps: Object, inputProps: Object, triggerClass: String, triggerStyle: [String, Object], renderIcon: Function, label: String, size: {
|
|
58
|
+
type: String,
|
|
59
|
+
default: 'medium'
|
|
60
|
+
}, title: String, subtitle: String, noIcon: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
default: false
|
|
63
|
+
} });
|
|
@@ -1,13 +1,28 @@
|
|
|
1
|
-
import type { CustomRequestOptions, FileInfo, FuncOrRecordOrUndef, OnChange, OnDownload, OnFinish, OnRemove, OnRetry, SettledFileInfo, UploadInst as UploadInstInner } from './interface';
|
|
2
|
-
export type { UploadProps } from './
|
|
1
|
+
import type { CustomRequestOptions, FileInfo, FuncOrRecordOrUndef, IsErrorState, ListType, OnBeforeUpload, OnBeforeUploadPayload, OnChange, OnChangePayload, OnDownload, OnError, OnErrorPayload, OnFinish, OnFinishPayload, OnPreview, OnRemove, OnRemovePayload, OnRetry, OnRetryPayload, OnUpdateFileList, RenderIcon, SettledFileInfo, ShouldUseThumbnailUrl, SubmitOptions, UploadInst as UploadInstInner } from './interface';
|
|
2
|
+
export type { UploadLocale, UploadProps, UploadSize } from './interface';
|
|
3
3
|
export interface UploadInst extends UploadInstInner {
|
|
4
4
|
}
|
|
5
5
|
export type UploadFileInfo = FileInfo;
|
|
6
6
|
export type UploadCustomRequestOptions = CustomRequestOptions;
|
|
7
7
|
export type UploadSettledFileInfo = SettledFileInfo;
|
|
8
|
+
export type UploadListType = ListType;
|
|
9
|
+
export type UploadIsErrorState = IsErrorState;
|
|
10
|
+
export type UploadRenderIcon = RenderIcon;
|
|
11
|
+
export type UploadShouldUseThumbnailUrl = ShouldUseThumbnailUrl;
|
|
12
|
+
export type UploadSubmitOptions = SubmitOptions;
|
|
8
13
|
export type UploadOnChange = OnChange;
|
|
14
|
+
export type UploadOnChangePayload = OnChangePayload;
|
|
9
15
|
export type UploadOnFinish = OnFinish;
|
|
16
|
+
export type UploadOnFinishPayload = OnFinishPayload;
|
|
17
|
+
export type UploadOnError = OnError;
|
|
18
|
+
export type UploadOnErrorPayload = OnErrorPayload;
|
|
10
19
|
export type UploadOnRemove = OnRemove;
|
|
20
|
+
export type UploadOnRemovePayload = OnRemovePayload;
|
|
11
21
|
export type UploadOnDownload = OnDownload;
|
|
12
22
|
export type UploadOnRetry = OnRetry;
|
|
23
|
+
export type UploadOnRetryPayload = OnRetryPayload;
|
|
24
|
+
export type UploadOnPreview = OnPreview;
|
|
25
|
+
export type UploadOnBeforeUpload = OnBeforeUpload;
|
|
26
|
+
export type UploadOnBeforeUploadPayload = OnBeforeUploadPayload;
|
|
27
|
+
export type UploadOnUpdateFileList = OnUpdateFileList;
|
|
13
28
|
export type { FuncOrRecordOrUndef };
|
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
interface Options {
|
|
4
|
-
clsPrefix: string;
|
|
5
|
-
listType: ListType;
|
|
6
|
-
file: SettledFileInfo;
|
|
7
|
-
renderIcon?: RenderIcon;
|
|
8
|
-
showPreviewButton: string | boolean | null;
|
|
9
|
-
showRemoveButton: boolean;
|
|
10
|
-
showCancelButton: boolean;
|
|
11
|
-
showRetryButton: boolean;
|
|
12
|
-
showDownloadButton: boolean;
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
buttonType: string | undefined;
|
|
15
|
-
mergedTheme: any;
|
|
16
|
-
buttonThemeOverrides: any;
|
|
17
|
-
handlePreviewClick: () => void;
|
|
18
|
-
handleRemoveOrCancelClick: (e: MouseEvent) => void;
|
|
19
|
-
handleRetryClick: () => void;
|
|
20
|
-
handleDownloadClick: (e: MouseEvent) => void;
|
|
21
|
-
capitalizeFirstLetter: (text: string) => string;
|
|
22
|
-
}
|
|
23
|
-
export declare function useUploadActionsRender(opts: Options): {
|
|
24
|
-
actionsNode: VNode;
|
|
25
|
-
icon: VNode;
|
|
26
|
-
};
|
|
27
|
-
export {};
|
|
1
|
+
import type { UploadActionsRenderOptions, UploadActionsRenderReturn } from './interface';
|
|
2
|
+
export declare function useUploadActionsRender(options: UploadActionsRenderOptions): UploadActionsRenderReturn;
|
|
@@ -5,8 +5,8 @@ const vue_1 = require("vue");
|
|
|
5
5
|
const _internal_1 = require("../../_internal");
|
|
6
6
|
const icons_1 = require("../../_internal/icons");
|
|
7
7
|
const button_1 = require("../../button");
|
|
8
|
-
function useUploadActionsRender(
|
|
9
|
-
const { clsPrefix, listType, file, renderIcon, showPreviewButton, showRemoveButton, showCancelButton, showRetryButton, showDownloadButton, disabled, buttonType, mergedTheme, buttonThemeOverrides, handlePreviewClick, handleRemoveOrCancelClick, handleRetryClick, handleDownloadClick, capitalizeFirstLetter } =
|
|
8
|
+
function useUploadActionsRender(options) {
|
|
9
|
+
const { clsPrefix, listType, file, renderIcon, showPreviewButton, showRemoveButton, showCancelButton, showRetryButton, showDownloadButton, disabled, buttonType, mergedTheme, buttonThemeOverrides, handlePreviewClick, handleRemoveOrCancelClick, handleRetryClick, handleDownloadClick, capitalizeFirstLetter } = options;
|
|
10
10
|
const getExt = (name) => {
|
|
11
11
|
const i = name.lastIndexOf('.');
|
|
12
12
|
return i === -1 || i === name.length - 1 ? '' : name.slice(i + 1);
|
|
@@ -1,25 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
mergedClsPrefix: string;
|
|
4
|
-
accept?: string;
|
|
5
|
-
multiple?: boolean;
|
|
6
|
-
inputProps?: Record<string, any>;
|
|
7
|
-
directory?: boolean;
|
|
8
|
-
onChange?: (e: Event) => void;
|
|
9
|
-
label?: string;
|
|
10
|
-
title?: string;
|
|
11
|
-
subtitle?: string;
|
|
12
|
-
vertical?: boolean;
|
|
13
|
-
noIcon?: boolean;
|
|
14
|
-
icon?: any;
|
|
15
|
-
localeRef: {
|
|
16
|
-
title: string;
|
|
17
|
-
subtitle: string;
|
|
18
|
-
};
|
|
19
|
-
slots: Slots;
|
|
20
|
-
}
|
|
21
|
-
export declare function useUploadInternals(options: UseUploadInternalsOptions): {
|
|
22
|
-
inputNode: VNode;
|
|
23
|
-
renderDefaultTrigger: () => VNode[];
|
|
24
|
-
};
|
|
25
|
-
export {};
|
|
1
|
+
import type { UseUploadInternalsOptions, UseUploadInternalsReturn } from './interface';
|
|
2
|
+
export declare function useUploadInternals(options: UseUploadInternalsOptions): UseUploadInternalsReturn;
|
|
@@ -10,6 +10,8 @@ export declare const environmentSupportFile: false | {
|
|
|
10
10
|
export declare function isFileSystemDirectoryEntry(item: FileSystemEntry | FileSystemFileEntry | FileSystemDirectoryEntry): item is FileSystemDirectoryEntry;
|
|
11
11
|
export declare function isFileSystemFileEntry(item: FileSystemEntry | FileSystemFileEntry | FileSystemDirectoryEntry): item is FileSystemFileEntry;
|
|
12
12
|
export declare function getFilesFromEntries(entries: readonly FileSystemEntry[] | Array<FileSystemEntry | null>, directory: boolean): Promise<FileAndEntry[]>;
|
|
13
|
+
export declare function getFilePreviewSrc(file: SettledFileInfo): string | null;
|
|
14
|
+
export declare function isFileSizeExceeded(file: File | null | undefined, maxSize: number | undefined): boolean;
|
|
13
15
|
export declare function createSettledFileInfo(fileInfo: FileInfo): SettledFileInfo;
|
|
14
16
|
/**
|
|
15
17
|
* This is a rather simple version. I may fix it later to make it more accurate.
|
package/lib/upload/src/utils.js
CHANGED
|
@@ -16,6 +16,8 @@ exports.createImageDataUrl = createImageDataUrl;
|
|
|
16
16
|
exports.isFileSystemDirectoryEntry = isFileSystemDirectoryEntry;
|
|
17
17
|
exports.isFileSystemFileEntry = isFileSystemFileEntry;
|
|
18
18
|
exports.getFilesFromEntries = getFilesFromEntries;
|
|
19
|
+
exports.getFilePreviewSrc = getFilePreviewSrc;
|
|
20
|
+
exports.isFileSizeExceeded = isFileSizeExceeded;
|
|
19
21
|
exports.createSettledFileInfo = createSettledFileInfo;
|
|
20
22
|
exports.matchType = matchType;
|
|
21
23
|
exports.download = download;
|
|
@@ -118,6 +120,14 @@ function getFilesFromEntries(entries, directory) {
|
|
|
118
120
|
return fileAndEntries;
|
|
119
121
|
});
|
|
120
122
|
}
|
|
123
|
+
function getFilePreviewSrc(file) {
|
|
124
|
+
return file.url || file.thumbnailUrl || null;
|
|
125
|
+
}
|
|
126
|
+
function isFileSizeExceeded(file, maxSize) {
|
|
127
|
+
if (maxSize === undefined || !file)
|
|
128
|
+
return false;
|
|
129
|
+
return file.size > maxSize;
|
|
130
|
+
}
|
|
121
131
|
function createSettledFileInfo(fileInfo) {
|
|
122
132
|
const { id, name, percentage, status, url, file, thumbnailUrl, type, fullPath, batchId } = fileInfo;
|
|
123
133
|
return {
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "2.3.
|
|
1
|
+
declare const _default: "2.3.3";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
|
@@ -153,10 +153,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
153
153
|
}>> & Readonly<{}>, {
|
|
154
154
|
readonly items: VirtualListItemData[];
|
|
155
155
|
readonly keyField: string;
|
|
156
|
-
readonly paddingBottom: string | number;
|
|
157
|
-
readonly paddingTop: string | number;
|
|
158
156
|
readonly itemResizable: boolean;
|
|
159
157
|
readonly visibleItemsTag: string | object;
|
|
160
158
|
readonly ignoreItemResize: boolean;
|
|
159
|
+
readonly paddingTop: string | number;
|
|
160
|
+
readonly paddingBottom: string | number;
|
|
161
161
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
162
162
|
export default _default;
|
|
@@ -286,8 +286,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
286
286
|
}, unknown>>>;
|
|
287
287
|
}>> & Readonly<{}>, {
|
|
288
288
|
readonly fontWeight: number;
|
|
289
|
-
readonly width: number;
|
|
290
289
|
readonly height: number;
|
|
290
|
+
readonly width: number;
|
|
291
291
|
readonly zIndex: number;
|
|
292
292
|
readonly fontSize: number;
|
|
293
293
|
readonly lineHeight: number;
|
|
@@ -300,7 +300,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
300
300
|
readonly yGap: number;
|
|
301
301
|
readonly yOffset: number;
|
|
302
302
|
readonly xOffset: number;
|
|
303
|
-
readonly textAlign: "
|
|
303
|
+
readonly textAlign: "left" | "right" | "center";
|
|
304
304
|
readonly imageOpacity: number;
|
|
305
305
|
readonly fontStyle: `oblique ${number}deg` | "normal" | "italic" | "oblique";
|
|
306
306
|
readonly fontVariant: string;
|
package/package.json
CHANGED
package/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@uzum-tech/ui",
|
|
5
|
-
"version": "2.3.
|
|
5
|
+
"version": "2.3.3",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -2604,7 +2604,7 @@
|
|
|
2604
2604
|
"name": "message-upload-props",
|
|
2605
2605
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/chat",
|
|
2606
2606
|
"type": "Partial<UploadProps>",
|
|
2607
|
-
"description": "Props for upload display in messages.",
|
|
2607
|
+
"description": "Props for upload display in messages. Attachments are rendered with `list-type=\"preview-list\"`, so the ones with a `preview`/`thumbnail` image open in the built-in image preview; it can be overridden here.",
|
|
2608
2608
|
"default": "undefined"
|
|
2609
2609
|
}
|
|
2610
2610
|
],
|
|
@@ -10395,14 +10395,14 @@
|
|
|
10395
10395
|
"name": "attachments",
|
|
10396
10396
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/message-bubble",
|
|
10397
10397
|
"type": "MessageBubbleAttachment | MessageBubbleAttachment[]",
|
|
10398
|
-
"description": "Attachments rendered through upload file list UI.",
|
|
10398
|
+
"description": "Attachments rendered through upload file list UI. Attachments with a `preview` or `thumbnail` image can be opened in the built-in image preview.",
|
|
10399
10399
|
"default": "undefined"
|
|
10400
10400
|
},
|
|
10401
10401
|
{
|
|
10402
10402
|
"name": "upload-props",
|
|
10403
10403
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/message-bubble",
|
|
10404
10404
|
"type": "Partial<UploadProps>",
|
|
10405
|
-
"description": "Props passed to internal `UUpload`.",
|
|
10405
|
+
"description": "Props passed to internal `UUpload`. It's rendered with `list-type=\"preview-list\"` and a `should-use-thumbnail-url` that marks the attachments with an image as previewable, both can be overridden here.",
|
|
10406
10406
|
"default": "undefined"
|
|
10407
10407
|
},
|
|
10408
10408
|
{
|
|
@@ -12536,6 +12536,15 @@
|
|
|
12536
12536
|
"description-sections": {
|
|
12537
12537
|
"since": "2.24.2"
|
|
12538
12538
|
}
|
|
12539
|
+
},
|
|
12540
|
+
{
|
|
12541
|
+
"name": "trigger",
|
|
12542
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|
|
12543
|
+
"type": "{ open: () => void, close: () => void, toggle: () => void, show: boolean, disabled: boolean, value: Value | null, selectedOption: SelectOption | null, selectedOptions: SelectOption[] | null }",
|
|
12544
|
+
"description": "Fully replaces the default trigger element. `filterable` is only supported with this slot when `filter-placement` is `'dropdown'`.",
|
|
12545
|
+
"description-sections": {
|
|
12546
|
+
"since": "2.3.3"
|
|
12547
|
+
}
|
|
12539
12548
|
}
|
|
12540
12549
|
],
|
|
12541
12550
|
"attributes": [],
|
|
@@ -12595,6 +12604,26 @@
|
|
|
12595
12604
|
"since": "2.25.2"
|
|
12596
12605
|
}
|
|
12597
12606
|
},
|
|
12607
|
+
{
|
|
12608
|
+
"name": "close-on-select",
|
|
12609
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|
|
12610
|
+
"type": "boolean",
|
|
12611
|
+
"description": "Whether to close the menu after an option is selected. Defaults to closing in single mode and staying open in multiple mode, but can be overridden for either.",
|
|
12612
|
+
"default": "!multiple",
|
|
12613
|
+
"description-sections": {
|
|
12614
|
+
"since": "2.3.3"
|
|
12615
|
+
}
|
|
12616
|
+
},
|
|
12617
|
+
{
|
|
12618
|
+
"name": "default-options",
|
|
12619
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|
|
12620
|
+
"type": "Array<SelectOption | SelectGroupOption>",
|
|
12621
|
+
"description": "Options the select always knows about besides `options`. They are pinned to the head of the menu, keeping their own group if `type: 'group'`, and they resolve the label of the selected value. Options repeating a value already carried by `default-options` are dropped, so a paginated `options` list never produces a duplicate. Reads the same `label-field`, `value-field` and `children-field` as `options`.",
|
|
12622
|
+
"default": "[]",
|
|
12623
|
+
"description-sections": {
|
|
12624
|
+
"since": "2.4.0"
|
|
12625
|
+
}
|
|
12626
|
+
},
|
|
12598
12627
|
{
|
|
12599
12628
|
"name": "default-value",
|
|
12600
12629
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|
|
@@ -12644,6 +12673,16 @@
|
|
|
12644
12673
|
"description": "Filter function.",
|
|
12645
12674
|
"default": "String search method."
|
|
12646
12675
|
},
|
|
12676
|
+
{
|
|
12677
|
+
"name": "filter-placement",
|
|
12678
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|
|
12679
|
+
"type": "'default' | 'dropdown'",
|
|
12680
|
+
"description": "Where the search input lives when `filterable` is enabled. `'default'` keeps it inside the trigger. `'dropdown'` moves it into a fixed header at the top of the option menu (it won't scroll with the content), and the trigger becomes display-only.",
|
|
12681
|
+
"default": "'default'",
|
|
12682
|
+
"description-sections": {
|
|
12683
|
+
"since": "2.3.3"
|
|
12684
|
+
}
|
|
12685
|
+
},
|
|
12647
12686
|
{
|
|
12648
12687
|
"name": "ignore-composition",
|
|
12649
12688
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|
|
@@ -12695,6 +12734,16 @@
|
|
|
12695
12734
|
"description": "Whether to show skeleton loading state.",
|
|
12696
12735
|
"default": "false"
|
|
12697
12736
|
},
|
|
12737
|
+
{
|
|
12738
|
+
"name": "mark-type",
|
|
12739
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|
|
12740
|
+
"type": "'mark' | 'checkbox'",
|
|
12741
|
+
"description": "How a selected option is marked. `'mark'` shows a checkmark (current default look). `'checkbox'` renders a (non-interactive) checkbox for every selectable option instead — the whole row still toggles the selection. Works in both `single` and `multiple` mode.",
|
|
12742
|
+
"default": "'mark'",
|
|
12743
|
+
"description-sections": {
|
|
12744
|
+
"since": "2.3.3"
|
|
12745
|
+
}
|
|
12746
|
+
},
|
|
12698
12747
|
{
|
|
12699
12748
|
"name": "max-tag-count",
|
|
12700
12749
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|
|
@@ -12757,6 +12806,16 @@
|
|
|
12757
12806
|
"since": "2.25.0"
|
|
12758
12807
|
}
|
|
12759
12808
|
},
|
|
12809
|
+
{
|
|
12810
|
+
"name": "primary-button-props",
|
|
12811
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|
|
12812
|
+
"type": "SelectFooterButtonProps",
|
|
12813
|
+
"description": "Renders a ready-made primary button in the dropdown footer (right side). See SelectFooterButtonProps (below). The footer renders if at least one of `primary-button-props` / `secondary-button-props` is set, or the `action` slot is used (which takes precedence and fully replaces the buttons).",
|
|
12814
|
+
"default": "undefined",
|
|
12815
|
+
"description-sections": {
|
|
12816
|
+
"since": "2.3.3"
|
|
12817
|
+
}
|
|
12818
|
+
},
|
|
12760
12819
|
{
|
|
12761
12820
|
"name": "remote",
|
|
12762
12821
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|
|
@@ -12809,6 +12868,23 @@
|
|
|
12809
12868
|
"description": "See [Scrollbar props](scrollbar#Scrollbar-Props).",
|
|
12810
12869
|
"default": "undefined"
|
|
12811
12870
|
},
|
|
12871
|
+
{
|
|
12872
|
+
"name": "search-placeholder",
|
|
12873
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|
|
12874
|
+
"type": "string",
|
|
12875
|
+
"description": "Placeholder of the search input rendered when `filter-placement` is `'dropdown'`.",
|
|
12876
|
+
"default": "'Search' (i18n)"
|
|
12877
|
+
},
|
|
12878
|
+
{
|
|
12879
|
+
"name": "secondary-button-props",
|
|
12880
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|
|
12881
|
+
"type": "SelectFooterButtonProps",
|
|
12882
|
+
"description": "Renders a ready-made secondary button in the dropdown footer (left side). See SelectFooterButtonProps (below).",
|
|
12883
|
+
"default": "undefined",
|
|
12884
|
+
"description-sections": {
|
|
12885
|
+
"since": "2.3.3"
|
|
12886
|
+
}
|
|
12887
|
+
},
|
|
12812
12888
|
{
|
|
12813
12889
|
"name": "show",
|
|
12814
12890
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|
|
@@ -12827,7 +12903,7 @@
|
|
|
12827
12903
|
"name": "show-checkmark",
|
|
12828
12904
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|
|
12829
12905
|
"type": "boolean",
|
|
12830
|
-
"description": "Whether to show checkmark in multiple select mode.",
|
|
12906
|
+
"description": "Whether to show checkmark in multiple select mode. Set it to `false` to hide the marker regardless of `mark-type`.",
|
|
12831
12907
|
"default": "true",
|
|
12832
12908
|
"description-sections": {
|
|
12833
12909
|
"since": "2.33.4"
|
|
@@ -16619,6 +16695,28 @@
|
|
|
16619
16695
|
"name": "default",
|
|
16620
16696
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16621
16697
|
"description": "The content of the upload."
|
|
16698
|
+
},
|
|
16699
|
+
{
|
|
16700
|
+
"name": "title",
|
|
16701
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16702
|
+
"description": "Title of the default trigger. Overridden by the `title` prop."
|
|
16703
|
+
},
|
|
16704
|
+
{
|
|
16705
|
+
"name": "subtitle",
|
|
16706
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16707
|
+
"description": "Subtitle of the default trigger. Overridden by the `subtitle` prop."
|
|
16708
|
+
},
|
|
16709
|
+
{
|
|
16710
|
+
"name": "upload-file-title",
|
|
16711
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16712
|
+
"type": "{ file: UploadSettledFileInfo }",
|
|
16713
|
+
"description": "Title of a file item, the file name by default."
|
|
16714
|
+
},
|
|
16715
|
+
{
|
|
16716
|
+
"name": "upload-file-subtitle",
|
|
16717
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16718
|
+
"type": "{ file: UploadSettledFileInfo }",
|
|
16719
|
+
"description": "Subtitle of a file item, empty by default."
|
|
16622
16720
|
}
|
|
16623
16721
|
],
|
|
16624
16722
|
"attributes": [],
|
|
@@ -16750,6 +16848,13 @@
|
|
|
16750
16848
|
"description": "The additional HTTP Headers of request.",
|
|
16751
16849
|
"default": "undefined"
|
|
16752
16850
|
},
|
|
16851
|
+
{
|
|
16852
|
+
"name": "icon",
|
|
16853
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16854
|
+
"type": "VNodeChild",
|
|
16855
|
+
"description": "Icon of the default trigger.",
|
|
16856
|
+
"default": "undefined"
|
|
16857
|
+
},
|
|
16753
16858
|
{
|
|
16754
16859
|
"name": "input-props",
|
|
16755
16860
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
@@ -16764,7 +16869,7 @@
|
|
|
16764
16869
|
"name": "image-group-props",
|
|
16765
16870
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16766
16871
|
"type": "ImageGroupProps",
|
|
16767
|
-
"description": "Props of `u-image`
|
|
16872
|
+
"description": "Props of the `u-image-group` used for image preview. See [ImageGroup Props](image#ImageGroup-Props). With `list-type=\"preview-list\"` the `src-list`, `show` and `current` props of the group are managed by the component.",
|
|
16768
16873
|
"default": "undefined",
|
|
16769
16874
|
"description-sections": {
|
|
16770
16875
|
"since": "2.24.0"
|
|
@@ -16780,12 +16885,22 @@
|
|
|
16780
16885
|
"since": "2.29.1"
|
|
16781
16886
|
}
|
|
16782
16887
|
},
|
|
16888
|
+
{
|
|
16889
|
+
"name": "label",
|
|
16890
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16891
|
+
"type": "string",
|
|
16892
|
+
"description": "Text rendered above the default trigger.",
|
|
16893
|
+
"default": "undefined"
|
|
16894
|
+
},
|
|
16783
16895
|
{
|
|
16784
16896
|
"name": "list-type",
|
|
16785
16897
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16786
16898
|
"type": "string",
|
|
16787
|
-
"description": "Built-in styles for file lists, `text`, `image` and `image-
|
|
16788
|
-
"default": "'text'"
|
|
16899
|
+
"description": "Built-in styles for file lists, `text`, `image`, `image-card` and `preview-list`. `preview-list` looks exactly like `text`, but image files are opened in the built-in image preview.",
|
|
16900
|
+
"default": "'text'",
|
|
16901
|
+
"description-sections": {
|
|
16902
|
+
"since": "`preview-list` 2.3.2"
|
|
16903
|
+
}
|
|
16789
16904
|
},
|
|
16790
16905
|
{
|
|
16791
16906
|
"name": "max",
|
|
@@ -16794,6 +16909,16 @@
|
|
|
16794
16909
|
"description": "Uploaded files limit.",
|
|
16795
16910
|
"default": "undefined"
|
|
16796
16911
|
},
|
|
16912
|
+
{
|
|
16913
|
+
"name": "max-size",
|
|
16914
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16915
|
+
"type": "number",
|
|
16916
|
+
"description": "Max size of a single file in bytes. A file that exceeds it isn't uploaded — it's added to the file list with the `error` status.",
|
|
16917
|
+
"default": "undefined",
|
|
16918
|
+
"description-sections": {
|
|
16919
|
+
"since": "2.3.2"
|
|
16920
|
+
}
|
|
16921
|
+
},
|
|
16797
16922
|
{
|
|
16798
16923
|
"name": "method",
|
|
16799
16924
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
@@ -16815,11 +16940,18 @@
|
|
|
16815
16940
|
"description": "The field name for the file(s) in the HTTP request's form data.",
|
|
16816
16941
|
"default": "'file'"
|
|
16817
16942
|
},
|
|
16943
|
+
{
|
|
16944
|
+
"name": "no-icon",
|
|
16945
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16946
|
+
"type": "boolean",
|
|
16947
|
+
"description": "Whether to hide the icon of the default trigger.",
|
|
16948
|
+
"default": "false"
|
|
16949
|
+
},
|
|
16818
16950
|
{
|
|
16819
16951
|
"name": "render-icon",
|
|
16820
16952
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16821
16953
|
"type": "(file: UploadSettledFileInfo) => VNodeChild",
|
|
16822
|
-
"description": "Render function of file icon.
|
|
16954
|
+
"description": "Render function of file icon. Replaces the default icon of the file item for any `list-type`.",
|
|
16823
16955
|
"default": "undefined",
|
|
16824
16956
|
"description-sections": {
|
|
16825
16957
|
"since": "2.34.0"
|
|
@@ -16839,10 +16971,10 @@
|
|
|
16839
16971
|
"name": "should-use-thumbnail-url",
|
|
16840
16972
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16841
16973
|
"type": "(file: UploadSettledFileInfo) => boolean",
|
|
16842
|
-
"description": "A function that determines whether to show thumbnail for the file. It only works when `list-type=\"image\"` or `list-type=\"image-card\"`.",
|
|
16974
|
+
"description": "A function that determines whether to show thumbnail for the file. It only works when `list-type=\"image\"` or `list-type=\"image-card\"`. For `list-type=\"preview-list\"` it determines which files can be opened in the image preview.",
|
|
16843
16975
|
"default": "A function that only returns `true` for image typed file.",
|
|
16844
16976
|
"description-sections": {
|
|
16845
|
-
"since": "2.34.0"
|
|
16977
|
+
"since": "2.34.0, `preview-list` 2.3.2"
|
|
16846
16978
|
}
|
|
16847
16979
|
},
|
|
16848
16980
|
{
|
|
@@ -16870,8 +17002,11 @@
|
|
|
16870
17002
|
"name": "show-preview-button",
|
|
16871
17003
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16872
17004
|
"type": "boolean",
|
|
16873
|
-
"description": "Show a preview button (when `list-type` is `image-card`). Use the `on-preview` callback
|
|
16874
|
-
"default": "true"
|
|
17005
|
+
"description": "Show a preview button (when `list-type` is `image-card` or `preview-list`). Use the `on-preview` callback to replace the built-in preview.",
|
|
17006
|
+
"default": "true",
|
|
17007
|
+
"description-sections": {
|
|
17008
|
+
"since": "`preview-list` 2.3.2"
|
|
17009
|
+
}
|
|
16875
17010
|
},
|
|
16876
17011
|
{
|
|
16877
17012
|
"name": "show-remove-button",
|
|
@@ -16897,6 +17032,27 @@
|
|
|
16897
17032
|
"since": "2.21.5"
|
|
16898
17033
|
}
|
|
16899
17034
|
},
|
|
17035
|
+
{
|
|
17036
|
+
"name": "size",
|
|
17037
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
17038
|
+
"type": "'small' | 'medium' | 'large'",
|
|
17039
|
+
"description": "Size of the default trigger, it sets the dragger width from the theme (`small` — 140px, `medium` and `large` — auto). Falls back to the size of the parent form item.",
|
|
17040
|
+
"default": "'medium'"
|
|
17041
|
+
},
|
|
17042
|
+
{
|
|
17043
|
+
"name": "subtitle",
|
|
17044
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
17045
|
+
"type": "string",
|
|
17046
|
+
"description": "Subtitle of the default trigger. Falls back to the `subtitle` slot and then to the locale text.",
|
|
17047
|
+
"default": "undefined"
|
|
17048
|
+
},
|
|
17049
|
+
{
|
|
17050
|
+
"name": "title",
|
|
17051
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
17052
|
+
"type": "string",
|
|
17053
|
+
"description": "Title of the default trigger. Falls back to the `title` slot and then to the locale text.",
|
|
17054
|
+
"default": "undefined"
|
|
17055
|
+
},
|
|
16900
17056
|
{
|
|
16901
17057
|
"name": "trigger-class",
|
|
16902
17058
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
@@ -16917,6 +17073,13 @@
|
|
|
16917
17073
|
"since": "2.29.1"
|
|
16918
17074
|
}
|
|
16919
17075
|
},
|
|
17076
|
+
{
|
|
17077
|
+
"name": "vertical",
|
|
17078
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
17079
|
+
"type": "boolean",
|
|
17080
|
+
"description": "Stack the icon and the text of the default trigger vertically.",
|
|
17081
|
+
"default": "false"
|
|
17082
|
+
},
|
|
16920
17083
|
{
|
|
16921
17084
|
"name": "with-credentials",
|
|
16922
17085
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
@@ -16968,22 +17131,16 @@
|
|
|
16968
17131
|
{
|
|
16969
17132
|
"name": "preview",
|
|
16970
17133
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16971
|
-
"type": "(file:
|
|
16972
|
-
"description": "Callback for clicking file
|
|
16973
|
-
"default": "undefined"
|
|
16974
|
-
"description-sections": {
|
|
16975
|
-
"since": "`detail.event` 2.39.0"
|
|
16976
|
-
}
|
|
17134
|
+
"type": "(file: UploadFileInfo) => void",
|
|
17135
|
+
"description": "Callback for clicking a file name or a preview button. When it's set, it replaces the built-in preview.",
|
|
17136
|
+
"default": "undefined"
|
|
16977
17137
|
},
|
|
16978
17138
|
{
|
|
16979
17139
|
"name": "remove",
|
|
16980
17140
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
16981
|
-
"type": "(options: { file: UploadFileInfo, fileList: Array<UploadFileInfo
|
|
17141
|
+
"type": "(options: { file: UploadFileInfo, fileList: Array<UploadFileInfo> }) => Promise<boolean> | boolean | any",
|
|
16982
17142
|
"description": "File removed callback. Returning `false`, a promise resolved with `false`, or a rejected promise will cancel this removal.",
|
|
16983
|
-
"default": "() => true"
|
|
16984
|
-
"description-sections": {
|
|
16985
|
-
"since": "`index` 2.38.2"
|
|
16986
|
-
}
|
|
17143
|
+
"default": "() => true"
|
|
16987
17144
|
},
|
|
16988
17145
|
{
|
|
16989
17146
|
"name": "retry",
|