@uzum-tech/ui 2.3.2 → 2.3.4
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 +29612 -29062
- package/dist/index.mjs +29877 -29327
- 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 +5921 -2897
- package/es/chat/src/Chat.mjs +13 -240
- package/es/chat/src/ChatListItems.d.ts +1875 -30
- package/es/chat/src/ChatMainArea.d.ts +1925 -54
- package/es/chat/src/ChatMainArea.mjs +49 -3
- package/es/chat/src/ChatMessages.d.ts +1874 -29
- package/es/chat/src/ChatParts/Sidebar.d.ts +492 -0
- package/es/chat/src/interface.d.ts +2814 -2
- package/es/chat/src/interface.mjs +244 -1
- 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 +19428 -602
- 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/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/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/src/Upload.d.ts +3 -3
- package/es/upload/src/UploadFile.d.ts +1 -1
- 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 +5921 -2897
- package/lib/chat/src/Chat.js +15 -180
- package/lib/chat/src/ChatListItems.d.ts +1875 -30
- package/lib/chat/src/ChatMainArea.d.ts +1925 -54
- package/lib/chat/src/ChatMainArea.js +48 -3
- package/lib/chat/src/ChatMessages.d.ts +1874 -29
- package/lib/chat/src/ChatParts/Sidebar.d.ts +492 -0
- package/lib/chat/src/interface.d.ts +2814 -2
- package/lib/chat/src/interface.js +183 -1
- 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 +19428 -602
- 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/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/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/src/Upload.d.ts +3 -3
- package/lib/upload/src/UploadFile.d.ts +1 -1
- 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 +86 -3
|
@@ -8,6 +8,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
12
|
+
var t = {};
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
14
|
+
t[p] = s[p];
|
|
15
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
16
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
17
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
18
|
+
t[p[i]] = s[p[i]];
|
|
19
|
+
}
|
|
20
|
+
return t;
|
|
21
|
+
};
|
|
11
22
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
23
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
24
|
};
|
|
@@ -34,6 +45,9 @@ const SENDING_DELAY = 100;
|
|
|
34
45
|
exports.chatMainAreaProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { selectedChat: {
|
|
35
46
|
type: Object,
|
|
36
47
|
default: undefined
|
|
48
|
+
}, inputValue: {
|
|
49
|
+
type: String,
|
|
50
|
+
default: undefined
|
|
37
51
|
}, messages: {
|
|
38
52
|
type: Array,
|
|
39
53
|
default: () => []
|
|
@@ -121,6 +135,9 @@ exports.chatMainAreaProps = Object.assign(Object.assign({}, _mixins_1.useTheme.p
|
|
|
121
135
|
}, onFooterInputChange: {
|
|
122
136
|
type: Function,
|
|
123
137
|
default: undefined
|
|
138
|
+
}, 'onUpdate:inputValue': {
|
|
139
|
+
type: Function,
|
|
140
|
+
default: undefined
|
|
124
141
|
}, onChatClose: {
|
|
125
142
|
type: Function,
|
|
126
143
|
default: undefined
|
|
@@ -147,7 +164,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
147
164
|
name: 'ChatMainArea',
|
|
148
165
|
props: exports.chatMainAreaProps,
|
|
149
166
|
setup(props, { slots }) {
|
|
150
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16;
|
|
167
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18;
|
|
151
168
|
const UChat = (0, vue_1.inject)(interface_1.chatInjectionKey, null);
|
|
152
169
|
const isStandalone = !UChat;
|
|
153
170
|
const { mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
|
|
@@ -167,6 +184,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
167
184
|
const headerProfileIconPropsRef = (_o = UChat === null || UChat === void 0 ? void 0 : UChat.headerProfileIconPropsRef) !== null && _o !== void 0 ? _o : (0, vue_1.toRef)(props, 'headerProfileIconProps');
|
|
168
185
|
const messageUploadPropsRef = (_p = UChat === null || UChat === void 0 ? void 0 : UChat.messageUploadPropsRef) !== null && _p !== void 0 ? _p : (0, vue_1.toRef)(props, 'messageUploadProps');
|
|
169
186
|
const footerInputPropsRef = (_q = UChat === null || UChat === void 0 ? void 0 : UChat.footerInputPropsRef) !== null && _q !== void 0 ? _q : (0, vue_1.toRef)(props, 'footerInputProps');
|
|
187
|
+
const safeFooterInputPropsRef = (0, vue_1.computed)(() => {
|
|
188
|
+
var _a;
|
|
189
|
+
const _b = (_a = footerInputPropsRef.value) !== null && _a !== void 0 ? _a : {}, { value } = _b, rest = __rest(_b, ["value"]);
|
|
190
|
+
return rest;
|
|
191
|
+
});
|
|
170
192
|
const footerButtonPropsRef = (_r = UChat === null || UChat === void 0 ? void 0 : UChat.footerButtonPropsRef) !== null && _r !== void 0 ? _r : (0, vue_1.toRef)(props, 'footerButtonProps');
|
|
171
193
|
const footerUploadPropsRef = (_s = UChat === null || UChat === void 0 ? void 0 : UChat.footerUploadPropsRef) !== null && _s !== void 0 ? _s : (0, vue_1.toRef)(props, 'footerUploadProps');
|
|
172
194
|
const footerIconPropsRef = (_t = UChat === null || UChat === void 0 ? void 0 : UChat.footerIconPropsRef) !== null && _t !== void 0 ? _t : (0, vue_1.toRef)(props, 'footerIconProps');
|
|
@@ -237,7 +259,26 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
237
259
|
const themeClassHandle = (0, _mixins_1.useThemeClass)('chat-main-area', (0, vue_1.computed)(() => ''), cssVarsRef, props);
|
|
238
260
|
const messagesBodyRef = (0, vue_1.ref)();
|
|
239
261
|
const inputRef = (0, vue_1.ref)();
|
|
240
|
-
const
|
|
262
|
+
const uncontrolledInputValueRef = (0, vue_1.ref)((_17 = props.inputValue) !== null && _17 !== void 0 ? _17 : '');
|
|
263
|
+
const handleInputValueChange = (_18 = UChat === null || UChat === void 0 ? void 0 : UChat.handleInputValueChange) !== null && _18 !== void 0 ? _18 : ((value) => {
|
|
264
|
+
var _a;
|
|
265
|
+
uncontrolledInputValueRef.value = value;
|
|
266
|
+
(_a = props['onUpdate:inputValue']) === null || _a === void 0 ? void 0 : _a.call(props, value);
|
|
267
|
+
});
|
|
268
|
+
const inputValue = (0, vue_1.computed)({
|
|
269
|
+
get: () => {
|
|
270
|
+
var _a;
|
|
271
|
+
if (UChat) {
|
|
272
|
+
return (_a = UChat.inputValueRef.value) !== null && _a !== void 0 ? _a : '';
|
|
273
|
+
}
|
|
274
|
+
return props.inputValue !== undefined
|
|
275
|
+
? props.inputValue
|
|
276
|
+
: uncontrolledInputValueRef.value;
|
|
277
|
+
},
|
|
278
|
+
set: (value) => {
|
|
279
|
+
handleInputValueChange(value);
|
|
280
|
+
}
|
|
281
|
+
});
|
|
241
282
|
const attachmentFileList = (0, vue_1.ref)([]);
|
|
242
283
|
const uploadedAttachmentsMap = (0, vue_1.ref)(new Map());
|
|
243
284
|
const lastScrollTop = (0, vue_1.ref)(0);
|
|
@@ -634,12 +675,14 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
634
675
|
chatInputs.value[selectedChatRef.value.id] = value;
|
|
635
676
|
}
|
|
636
677
|
}, onKeydown: (e) => {
|
|
678
|
+
var _a, _b;
|
|
679
|
+
(_b = (_a = footerInputPropsRef.value) === null || _a === void 0 ? void 0 : _a.onKeydown) === null || _b === void 0 ? void 0 : _b.call(_a, e);
|
|
637
680
|
if (e.key === 'Enter' && !e.shiftKey) {
|
|
638
681
|
e.preventDefault();
|
|
639
682
|
e.stopPropagation();
|
|
640
683
|
void handleSendMessage();
|
|
641
684
|
}
|
|
642
|
-
} },
|
|
685
|
+
} }, safeFooterInputPropsRef.value), {
|
|
643
686
|
prefix: () => renderEditingBlock(),
|
|
644
687
|
suffix: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size: 24, class: `${mergedClsPrefixRef.value}-chat-main__input-suffix` }, footerSuffixIconPropsRef.value, { theme: mergedThemeRef.value.peers.FooterSuffixIcon, themeOverrides: mergedThemeRef.value.peerOverrides
|
|
645
688
|
.FooterSuffixIcon, onClick: () => {
|
|
@@ -658,6 +701,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
658
701
|
mergedClsPrefixRef,
|
|
659
702
|
mergedThemeRef,
|
|
660
703
|
selectedChatRef,
|
|
704
|
+
inputValueRef: inputValue,
|
|
705
|
+
handleInputValueChange,
|
|
661
706
|
messagesRef,
|
|
662
707
|
typingChatIdsRef,
|
|
663
708
|
messagesLoadingRef,
|