@duskmoon-dev/components 0.6.3 → 2.0.0-rc.0
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/{chunk-rd10x4gc.js → chunk-kpm1rq54.js} +9 -9
- package/dist/{chunk-fwjzvsrx.js → chunk-q5qdwm90.js} +4 -4
- package/dist/{chunk-kg46s2vk.js → chunk-yxp9gq2h.js} +11 -4
- package/dist/classes/alert.d.ts +1 -1
- package/dist/classes/auto-complete.d.ts +1 -1
- package/dist/classes/avatar.d.ts +1 -1
- package/dist/classes/badge.d.ts +1 -1
- package/dist/classes/button.d.ts +1 -1
- package/dist/classes/calendar.d.ts +1 -1
- package/dist/classes/card.d.ts +1 -1
- package/dist/classes/carousel.d.ts +1 -1
- package/dist/classes/cascader.d.ts +1 -1
- package/dist/classes/chat.d.ts +1 -1
- package/dist/classes/checkbox.d.ts +1 -1
- package/dist/classes/collapse.d.ts +1 -1
- package/dist/classes/color-picker.d.ts +1 -1
- package/dist/classes/date-picker.d.ts +1 -1
- package/dist/classes/descriptions.d.ts +1 -1
- package/dist/classes/divider.d.ts +1 -1
- package/dist/classes/dm-query.d.ts +1 -1
- package/dist/classes/dm-splitter.d.ts +1 -1
- package/dist/classes/dm-status.d.ts +1 -1
- package/dist/classes/dm-tabs.d.ts +1 -1
- package/dist/classes/drawer.d.ts +1 -1
- package/dist/classes/dropdown.d.ts +1 -1
- package/dist/classes/float-button.d.ts +1 -1
- package/dist/classes/index.d.ts +99 -99
- package/dist/classes/index.js +182 -182
- package/dist/classes/input-number.d.ts +1 -1
- package/dist/classes/input.d.ts +1 -1
- package/dist/classes/list.d.ts +1 -1
- package/dist/classes/mentions.d.ts +1 -1
- package/dist/classes/menu.d.ts +1 -1
- package/dist/classes/message.d.ts +1 -1
- package/dist/classes/notification.d.ts +1 -1
- package/dist/classes/otp-input.d.ts +1 -1
- package/dist/classes/pagination.d.ts +1 -1
- package/dist/classes/popconfirm.d.ts +1 -1
- package/dist/classes/popover.d.ts +1 -1
- package/dist/classes/progress.d.ts +1 -1
- package/dist/classes/qr-code.d.ts +1 -1
- package/dist/classes/radio.d.ts +1 -1
- package/dist/classes/rate.d.ts +1 -1
- package/dist/classes/result.d.ts +1 -1
- package/dist/classes/row.d.ts +1 -1
- package/dist/classes/segmented.d.ts +1 -1
- package/dist/classes/select.d.ts +1 -1
- package/dist/classes/skeleton.d.ts +1 -1
- package/dist/classes/slider.d.ts +1 -1
- package/dist/classes/space.d.ts +1 -1
- package/dist/classes/spin.d.ts +1 -1
- package/dist/classes/splitter.d.ts +1 -1
- package/dist/classes/steps.d.ts +1 -1
- package/dist/classes/switch.d.ts +1 -1
- package/dist/classes/tabs.d.ts +1 -1
- package/dist/classes/tag.d.ts +1 -1
- package/dist/classes/time-picker.d.ts +1 -1
- package/dist/classes/timeline.d.ts +1 -1
- package/dist/classes/tooltip.d.ts +1 -1
- package/dist/classes/tour.d.ts +1 -1
- package/dist/classes/typography.d.ts +1 -1
- package/dist/classes/upload.d.ts +1 -1
- package/dist/components/affix/Affix.d.ts +1 -1
- package/dist/components/affix/index.d.ts +2 -2
- package/dist/components/affix/index.js +1 -1
- package/dist/components/alert/Alert.d.ts +1 -1
- package/dist/components/alert/index.d.ts +2 -2
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anchor/Anchor.d.ts +1 -1
- package/dist/components/anchor/index.d.ts +2 -2
- package/dist/components/anchor/index.js +1 -1
- package/dist/components/app/App.d.ts +2 -2
- package/dist/components/app/App.types.d.ts +3 -3
- package/dist/components/app/index.d.ts +2 -2
- package/dist/components/app/index.js +82 -82
- package/dist/components/auto-complete/AutoComplete.d.ts +1 -1
- package/dist/components/auto-complete/index.d.ts +2 -2
- package/dist/components/auto-complete/index.js +1 -1
- package/dist/components/avatar/Avatar.d.ts +1 -1
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/back-top/BackTop.d.ts +1 -1
- package/dist/components/back-top/index.d.ts +2 -2
- package/dist/components/back-top/index.js +1 -1
- package/dist/components/badge/Badge.d.ts +1 -1
- package/dist/components/badge/index.d.ts +2 -2
- package/dist/components/badge/index.js +1 -1
- package/dist/components/breadcrumb/Breadcrumb.d.ts +1 -1
- package/dist/components/breadcrumb/index.d.ts +2 -2
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/button/Button.d.ts +1 -1
- package/dist/components/button/index.d.ts +2 -2
- package/dist/components/button/index.js +1 -1
- package/dist/components/calendar/Calendar.d.ts +1 -1
- package/dist/components/calendar/index.d.ts +2 -2
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/card/Card.d.ts +1 -1
- package/dist/components/card/index.d.ts +2 -2
- package/dist/components/card/index.js +1 -1
- package/dist/components/carousel/Carousel.d.ts +1 -1
- package/dist/components/carousel/index.d.ts +2 -2
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/cascader/Cascader.d.ts +1 -1
- package/dist/components/cascader/index.d.ts +2 -2
- package/dist/components/cascader/index.js +3 -3
- package/dist/components/chat/Chat.d.ts +1 -1
- package/dist/components/chat/Chat.types.d.ts +5 -5
- package/dist/components/chat/ChatAuthoritativeQueue.d.ts +1 -1
- package/dist/components/chat/ChatComposer.d.ts +1 -1
- package/dist/components/chat/ChatPrimitives.d.ts +1 -1
- package/dist/components/chat/ChatSessionComposer.d.ts +2 -2
- package/dist/components/chat/ChatSessionComposer.types.d.ts +6 -6
- package/dist/components/chat/ComposerAttachment.types.d.ts +1 -1
- package/dist/components/chat/ComposerDraft.types.d.ts +1 -1
- package/dist/components/chat/ComposerProvider.types.d.ts +1 -1
- package/dist/components/chat/ComposerQueue.types.d.ts +1 -1
- package/dist/components/chat/ComposerSession.types.d.ts +1 -1
- package/dist/components/chat/ComposerSettings.d.ts +1 -1
- package/dist/components/chat/ComposerSettingsMenus.d.ts +1 -1
- package/dist/components/chat/composer/CompletionList.d.ts +1 -1
- package/dist/components/chat/composer/ComposerShell.d.ts +2 -2
- package/dist/components/chat/composer/DraftLifecycle.d.ts +3 -3
- package/dist/components/chat/composer/EditorAdapter.types.d.ts +2 -2
- package/dist/components/chat/composer/PlainEditor.d.ts +1 -1
- package/dist/components/chat/composer/PlainSemanticEditor.d.ts +2 -2
- package/dist/components/chat/composer/SemanticComposer.d.ts +2 -2
- package/dist/components/chat/composer/attachments.d.ts +1 -1
- package/dist/components/chat/composer/compatibility.types.d.ts +2 -2
- package/dist/components/chat/composer/document.d.ts +1 -1
- package/dist/components/chat/composer/drafts.d.ts +1 -1
- package/dist/components/chat/composer/legacy.d.ts +1 -1
- package/dist/components/chat/composer/providers.d.ts +2 -2
- package/dist/components/chat/composer/session.d.ts +2 -2
- package/dist/components/chat/composer/useComposerAttachments.d.ts +1 -1
- package/dist/components/chat/composer/useComposerDraft.d.ts +1 -1
- package/dist/components/chat/composer/useComposerProviders.d.ts +2 -2
- package/dist/components/chat/composer/useComposerSession.d.ts +1 -1
- package/dist/components/chat/index.d.ts +26 -26
- package/dist/components/chat/index.js +246 -248
- package/dist/components/chat/rich/LexicalEditor.d.ts +1 -1
- package/dist/components/chat/rich/RichChatComposer.d.ts +1 -1
- package/dist/components/chat/rich/index.d.ts +2 -2
- package/dist/components/chat/rich/index.js +17 -47
- package/dist/components/chat/rich/nodes.d.ts +2 -2
- package/dist/components/checkbox/Checkbox.d.ts +1 -1
- package/dist/components/checkbox/index.d.ts +2 -2
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/col/Col.d.ts +1 -1
- package/dist/components/col/index.d.ts +2 -2
- package/dist/components/col/index.js +1 -1
- package/dist/components/collapse/Collapse.d.ts +1 -1
- package/dist/components/collapse/index.d.ts +2 -2
- package/dist/components/collapse/index.js +1 -1
- package/dist/components/color-picker/ColorPicker.d.ts +1 -1
- package/dist/components/color-picker/index.d.ts +2 -2
- package/dist/components/color-picker/index.js +9 -9
- package/dist/components/config-provider/ConfigProvider.d.ts +1 -1
- package/dist/components/config-provider/index.d.ts +2 -2
- package/dist/components/config-provider/index.js +1 -1
- package/dist/components/console-page/ConsolePage.d.ts +1 -1
- package/dist/components/console-page/ConsolePage.types.d.ts +1 -1
- package/dist/components/console-page/index.d.ts +2 -2
- package/dist/components/console-page/index.js +1 -1
- package/dist/components/date-picker/DatePicker.d.ts +1 -1
- package/dist/components/date-picker/index.d.ts +2 -2
- package/dist/components/date-picker/index.js +4 -4
- package/dist/components/descriptions/Descriptions.d.ts +1 -1
- package/dist/components/descriptions/index.d.ts +2 -2
- package/dist/components/descriptions/index.js +1 -1
- package/dist/components/divider/Divider.d.ts +1 -1
- package/dist/components/divider/index.d.ts +2 -2
- package/dist/components/divider/index.js +1 -1
- package/dist/components/dm-auxiliary/DmAuxiliary.d.ts +1 -1
- package/dist/components/dm-auxiliary/index.d.ts +2 -2
- package/dist/components/dm-auxiliary/index.js +1 -1
- package/dist/components/dm-breadcrumb/DmBreadcrumb.d.ts +1 -1
- package/dist/components/dm-breadcrumb/DmBreadcrumb.types.d.ts +1 -1
- package/dist/components/dm-breadcrumb/index.d.ts +2 -2
- package/dist/components/dm-breadcrumb/index.js +19 -19
- package/dist/components/dm-date-picker/DmDatePicker.d.ts +2 -2
- package/dist/components/dm-date-picker/DmDatePicker.types.d.ts +1 -1
- package/dist/components/dm-date-picker/index.d.ts +2 -2
- package/dist/components/dm-date-picker/index.js +101 -101
- package/dist/components/dm-drawer/DmDrawer.d.ts +1 -1
- package/dist/components/dm-drawer/DmDrawer.types.d.ts +2 -2
- package/dist/components/dm-drawer/index.d.ts +2 -2
- package/dist/components/dm-drawer/index.js +20 -20
- package/dist/components/dm-infinite-scroll/DmInfiniteScroll.d.ts +1 -1
- package/dist/components/dm-infinite-scroll/index.d.ts +2 -2
- package/dist/components/dm-infinite-scroll/index.js +1 -1
- package/dist/components/dm-layout/DmLayout.d.ts +1 -1
- package/dist/components/dm-layout/DmLayout.types.d.ts +3 -3
- package/dist/components/dm-layout/index.d.ts +2 -2
- package/dist/components/dm-layout/index.js +646 -646
- package/dist/components/dm-menu/DmMenu.d.ts +2 -2
- package/dist/components/dm-menu/DmMenu.types.d.ts +1 -1
- package/dist/components/dm-menu/index.d.ts +2 -2
- package/dist/components/dm-menu/index.js +439 -439
- package/dist/components/dm-message/DmMessage.d.ts +7 -7
- package/dist/components/dm-message/DmMessage.types.d.ts +1 -1
- package/dist/components/dm-message/index.d.ts +2 -2
- package/dist/components/dm-message/index.js +17 -17
- package/dist/components/dm-page-header/DmPageHeader.d.ts +1 -1
- package/dist/components/dm-page-header/DmPageHeader.types.d.ts +2 -2
- package/dist/components/dm-page-header/index.d.ts +2 -2
- package/dist/components/dm-page-header/index.js +482 -482
- package/dist/components/dm-pagination/DmPagination.d.ts +1 -1
- package/dist/components/dm-pagination/DmPagination.types.d.ts +2 -2
- package/dist/components/dm-pagination/index.d.ts +2 -2
- package/dist/components/dm-pagination/index.js +40 -40
- package/dist/components/dm-pro-table/DmProTable.d.ts +2 -2
- package/dist/components/dm-pro-table/DmProTable.types.d.ts +3 -3
- package/dist/components/dm-pro-table/index.d.ts +2 -2
- package/dist/components/dm-pro-table/index.js +3259 -3259
- package/dist/components/dm-provider/DmProvider.d.ts +1 -1
- package/dist/components/dm-provider/DmProvider.types.d.ts +1 -1
- package/dist/components/dm-provider/index.d.ts +2 -2
- package/dist/components/dm-provider/index.js +95 -95
- package/dist/components/dm-query/DmQuery.d.ts +1 -1
- package/dist/components/dm-query/DmQuery.types.d.ts +1 -1
- package/dist/components/dm-query/index.d.ts +2 -2
- package/dist/components/dm-query/index.js +38 -40
- package/dist/components/dm-search/DmSearch.d.ts +1 -1
- package/dist/components/dm-search/DmSearch.types.d.ts +3 -3
- package/dist/components/dm-search/index.d.ts +2 -2
- package/dist/components/dm-search/index.js +32 -32
- package/dist/components/dm-splitter/DmSplitter.d.ts +1 -1
- package/dist/components/dm-splitter/DmSplitter.types.d.ts +1 -1
- package/dist/components/dm-splitter/index.d.ts +2 -2
- package/dist/components/dm-splitter/index.js +33 -33
- package/dist/components/dm-status/DmStatus.d.ts +1 -1
- package/dist/components/dm-status/DmStatus.types.d.ts +1 -1
- package/dist/components/dm-status/index.d.ts +2 -2
- package/dist/components/dm-status/index.js +26 -26
- package/dist/components/dm-table/DmTable.d.ts +2 -2
- package/dist/components/dm-table/DmTable.types.d.ts +3 -3
- package/dist/components/dm-table/index.d.ts +2 -2
- package/dist/components/dm-table/index.js +1196 -1196
- package/dist/components/dm-tabs/DmTabs.d.ts +1 -1
- package/dist/components/dm-tabs/DmTabs.types.d.ts +1 -1
- package/dist/components/dm-tabs/index.d.ts +2 -2
- package/dist/components/dm-tabs/index.js +35 -35
- package/dist/components/dm-toolbar/DmToolbar.d.ts +1 -1
- package/dist/components/dm-toolbar/DmToolbar.types.d.ts +2 -2
- package/dist/components/dm-toolbar/index.d.ts +2 -2
- package/dist/components/dm-toolbar/index.js +36 -36
- package/dist/components/dm-tree/DmTree.d.ts +1 -1
- package/dist/components/dm-tree/DmTree.types.d.ts +2 -2
- package/dist/components/dm-tree/index.d.ts +2 -2
- package/dist/components/dm-tree/index.js +93 -93
- package/dist/components/dm-truncate/DmTruncate.d.ts +1 -1
- package/dist/components/dm-truncate/DmTruncate.types.d.ts +1 -1
- package/dist/components/dm-truncate/index.d.ts +2 -2
- package/dist/components/dm-truncate/index.js +34 -34
- package/dist/components/drawer/Drawer.d.ts +1 -1
- package/dist/components/drawer/index.d.ts +2 -2
- package/dist/components/drawer/index.js +1 -1
- package/dist/components/dropdown/Dropdown.d.ts +1 -1
- package/dist/components/dropdown/Dropdown.types.d.ts +1 -1
- package/dist/components/dropdown/index.d.ts +2 -2
- package/dist/components/dropdown/index.js +94 -94
- package/dist/components/empty/Empty.d.ts +1 -1
- package/dist/components/empty/index.d.ts +2 -2
- package/dist/components/empty/index.js +1 -1
- package/dist/components/fab/Fab.d.ts +1 -1
- package/dist/components/fab/Fab.types.d.ts +1 -1
- package/dist/components/fab/index.d.ts +2 -2
- package/dist/components/fab/index.js +22 -22
- package/dist/components/flex/Flex.d.ts +1 -1
- package/dist/components/flex/index.d.ts +2 -2
- package/dist/components/flex/index.js +1 -1
- package/dist/components/float-button/FloatButton.d.ts +1 -1
- package/dist/components/float-button/index.d.ts +2 -2
- package/dist/components/float-button/index.js +1 -1
- package/dist/components/form/Form.d.ts +1 -1
- package/dist/components/form/index.d.ts +2 -2
- package/dist/components/form/index.js +1 -1
- package/dist/components/grid/Grid.d.ts +1 -1
- package/dist/components/grid/Grid.types.d.ts +1 -1
- package/dist/components/grid/index.d.ts +2 -2
- package/dist/components/image/Image.d.ts +1 -1
- package/dist/components/image/index.d.ts +2 -2
- package/dist/components/image/index.js +1 -1
- package/dist/components/input/Input.d.ts +1 -1
- package/dist/components/input/index.d.ts +2 -2
- package/dist/components/input/index.js +1 -1
- package/dist/components/input-number/InputNumber.d.ts +1 -1
- package/dist/components/input-number/index.d.ts +2 -2
- package/dist/components/input-number/index.js +1 -1
- package/dist/components/json-schema-form/JsonSchemaForm.d.ts +1 -1
- package/dist/components/json-schema-form/JsonSchemaWidget.d.ts +1 -1
- package/dist/components/json-schema-form/index.d.ts +8 -8
- package/dist/components/json-schema-form/index.js +3791 -3791
- package/dist/components/json-schema-form/json-form-widgets.d.ts +1 -1
- package/dist/components/json-schema-form/json-schema-form.d.ts +1 -1
- package/dist/components/layout/Layout.d.ts +1 -1
- package/dist/components/layout/index.d.ts +2 -2
- package/dist/components/layout/index.js +1 -1
- package/dist/components/list/List.d.ts +1 -1
- package/dist/components/list/index.d.ts +2 -2
- package/dist/components/list/index.js +1 -1
- package/dist/components/markdown/Markdown.d.ts +1 -1
- package/dist/components/markdown/index.d.ts +2 -2
- package/dist/components/markdown/index.js +70 -3
- package/dist/components/markdown/remarkCjkAutolink.d.ts +24 -0
- package/dist/components/megamenu/Megamenu.d.ts +1 -1
- package/dist/components/megamenu/index.d.ts +2 -2
- package/dist/components/megamenu/index.js +1 -1
- package/dist/components/mentions/Mentions.d.ts +1 -1
- package/dist/components/mentions/index.d.ts +2 -2
- package/dist/components/mentions/index.js +1 -1
- package/dist/components/menu/Menu.d.ts +1 -1
- package/dist/components/menu/index.d.ts +2 -2
- package/dist/components/menu/index.js +1 -1
- package/dist/components/message/Message.d.ts +1 -1
- package/dist/components/message/index.d.ts +2 -2
- package/dist/components/message/index.js +4 -4
- package/dist/components/modal/Modal.d.ts +1 -1
- package/dist/components/modal/index.d.ts +2 -2
- package/dist/components/modal/index.js +1 -1
- package/dist/components/notification/Notification.d.ts +1 -1
- package/dist/components/notification/index.d.ts +2 -2
- package/dist/components/notification/index.js +1 -1
- package/dist/components/otp-input/OtpInput.d.ts +1 -1
- package/dist/components/otp-input/index.d.ts +2 -2
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/pagination/Pagination.d.ts +1 -1
- package/dist/components/pagination/index.d.ts +2 -2
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/popconfirm/Popconfirm.d.ts +1 -1
- package/dist/components/popconfirm/Popconfirm.types.d.ts +1 -1
- package/dist/components/popconfirm/index.d.ts +2 -2
- package/dist/components/popconfirm/index.js +48 -48
- package/dist/components/popover/Popover.d.ts +1 -1
- package/dist/components/popover/index.d.ts +2 -2
- package/dist/components/popover/index.js +1 -1
- package/dist/components/progress/Progress.d.ts +1 -1
- package/dist/components/progress/index.d.ts +2 -2
- package/dist/components/progress/index.js +1 -1
- package/dist/components/qr-code/QRCode.d.ts +1 -1
- package/dist/components/qr-code/index.d.ts +2 -2
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radio/Radio.d.ts +1 -1
- package/dist/components/radio/index.d.ts +2 -2
- package/dist/components/radio/index.js +1 -1
- package/dist/components/rate/Rate.d.ts +1 -1
- package/dist/components/rate/index.d.ts +2 -2
- package/dist/components/rate/index.js +1 -1
- package/dist/components/result/Result.d.ts +1 -1
- package/dist/components/result/index.d.ts +2 -2
- package/dist/components/result/index.js +1 -1
- package/dist/components/row/Row.d.ts +1 -1
- package/dist/components/row/index.d.ts +2 -2
- package/dist/components/row/index.js +1 -1
- package/dist/components/segmented/Segmented.d.ts +1 -1
- package/dist/components/segmented/index.d.ts +2 -2
- package/dist/components/segmented/index.js +1 -1
- package/dist/components/select/Select.d.ts +1 -1
- package/dist/components/select/index.d.ts +2 -2
- package/dist/components/select/index.js +1 -1
- package/dist/components/skeleton/Skeleton.d.ts +1 -1
- package/dist/components/skeleton/index.d.ts +2 -2
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/slider/Slider.d.ts +1 -1
- package/dist/components/slider/index.d.ts +2 -2
- package/dist/components/slider/index.js +1 -1
- package/dist/components/space/Space.d.ts +1 -1
- package/dist/components/space/index.d.ts +2 -2
- package/dist/components/space/index.js +1 -1
- package/dist/components/spin/Spin.d.ts +1 -1
- package/dist/components/spin/index.d.ts +2 -2
- package/dist/components/spin/index.js +3 -3
- package/dist/components/splitter/Splitter.d.ts +1 -1
- package/dist/components/splitter/index.d.ts +2 -2
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/statistic/Statistic.d.ts +1 -1
- package/dist/components/statistic/index.d.ts +2 -2
- package/dist/components/statistic/index.js +1 -1
- package/dist/components/steps/Steps.d.ts +1 -1
- package/dist/components/steps/index.d.ts +2 -2
- package/dist/components/steps/index.js +1 -1
- package/dist/components/swap/Swap.d.ts +1 -1
- package/dist/components/swap/index.d.ts +2 -2
- package/dist/components/swap/index.js +1 -1
- package/dist/components/switch/Switch.d.ts +1 -1
- package/dist/components/switch/index.d.ts +2 -2
- package/dist/components/switch/index.js +1 -1
- package/dist/components/table/Table.d.ts +1 -1
- package/dist/components/table/index.d.ts +2 -2
- package/dist/components/table/index.js +3 -3
- package/dist/components/tabs/Tabs.d.ts +1 -1
- package/dist/components/tabs/index.d.ts +2 -2
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tag/Tag.d.ts +1 -1
- package/dist/components/tag/index.d.ts +2 -2
- package/dist/components/tag/index.js +1 -1
- package/dist/components/time-picker/TimePicker.d.ts +1 -1
- package/dist/components/time-picker/index.d.ts +2 -2
- package/dist/components/time-picker/index.js +3 -3
- package/dist/components/timeline/Timeline.d.ts +1 -1
- package/dist/components/timeline/index.d.ts +2 -2
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/tooltip/Tooltip.d.ts +1 -1
- package/dist/components/tooltip/index.d.ts +2 -2
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tour/Tour.d.ts +1 -1
- package/dist/components/tour/Tour.types.d.ts +1 -1
- package/dist/components/tour/index.d.ts +2 -2
- package/dist/components/tour/index.js +66 -66
- package/dist/components/transfer/Transfer.d.ts +1 -1
- package/dist/components/transfer/index.d.ts +2 -2
- package/dist/components/transfer/index.js +1 -1
- package/dist/components/tree/Tree.d.ts +1 -1
- package/dist/components/tree/index.d.ts +2 -2
- package/dist/components/tree/index.js +1 -1
- package/dist/components/tree-select/TreeSelect.d.ts +1 -1
- package/dist/components/tree-select/index.d.ts +2 -2
- package/dist/components/tree-select/index.js +1 -1
- package/dist/components/typography/Typography.d.ts +1 -1
- package/dist/components/typography/index.d.ts +2 -2
- package/dist/components/typography/index.js +1 -1
- package/dist/components/upload/Upload.d.ts +1 -1
- package/dist/components/upload/index.d.ts +2 -2
- package/dist/components/upload/index.js +6 -6
- package/dist/components/watermark/Watermark.d.ts +1 -1
- package/dist/components/watermark/index.d.ts +2 -2
- package/dist/components/watermark/index.js +1 -1
- package/dist/generated/version.d.ts +1 -1
- package/dist/index.d.ts +105 -105
- package/dist/index.js +442 -375
- package/dist/infrastructure.d.ts +1 -1
- package/dist/infrastructure.js +1 -1
- package/dist/styles.css +2 -2
- package/dist/theme/ThemeProvider.d.ts +1 -1
- package/dist/theme/index.d.ts +2 -2
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +5 -5
- package/package.json +218 -218
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
// src/components/
|
|
4
|
-
import {
|
|
5
|
-
createContext,
|
|
6
|
-
forwardRef as forwardRef2,
|
|
7
|
-
useContext,
|
|
8
|
-
useEffect as useEffect3,
|
|
9
|
-
useMemo as useMemo2
|
|
10
|
-
} from "react";
|
|
3
|
+
// src/components/message/Message.tsx
|
|
4
|
+
import React, { useSyncExternalStore } from "react";
|
|
11
5
|
|
|
12
|
-
//
|
|
6
|
+
// ../../../node_modules/clsx/dist/clsx.mjs
|
|
13
7
|
function r(e) {
|
|
14
8
|
var t, f, n = "";
|
|
15
9
|
if (typeof e == "string" || typeof e == "number")
|
|
@@ -34,20 +28,6 @@ function clsx() {
|
|
|
34
28
|
function cn(...inputs) {
|
|
35
29
|
return clsx(inputs);
|
|
36
30
|
}
|
|
37
|
-
// src/classes/app.ts
|
|
38
|
-
var appClass = "app";
|
|
39
|
-
var appRootClass = "app-root";
|
|
40
|
-
var appHolderClass = "app-holder";
|
|
41
|
-
function getAppClasses({ className }) {
|
|
42
|
-
return cn(appClass, className);
|
|
43
|
-
}
|
|
44
|
-
function getAppRootClasses({ className }) {
|
|
45
|
-
return cn(appRootClass, className);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// src/components/message/Message.tsx
|
|
49
|
-
import React, { useSyncExternalStore } from "react";
|
|
50
|
-
|
|
51
31
|
// src/classes/message.ts
|
|
52
32
|
var messageHolderClass = "message-holder";
|
|
53
33
|
var messageBaseClass = "message";
|
|
@@ -174,13 +154,13 @@ function config(nextConfig) {
|
|
|
174
154
|
emit();
|
|
175
155
|
}
|
|
176
156
|
function MessageHolder({ className }) {
|
|
177
|
-
const
|
|
157
|
+
const snapshot2 = useSyncExternalStore(subscribe, getSnapshot, getSnapshot);
|
|
178
158
|
return /* @__PURE__ */ jsx("div", {
|
|
179
159
|
className: getMessageHolderClasses({
|
|
180
|
-
placement:
|
|
160
|
+
placement: snapshot2.config.placement,
|
|
181
161
|
className
|
|
182
162
|
}),
|
|
183
|
-
children:
|
|
163
|
+
children: snapshot2.messages.map((item) => /* @__PURE__ */ jsxs("div", {
|
|
184
164
|
className: getMessageClasses({
|
|
185
165
|
type: item.type,
|
|
186
166
|
className: item.className
|
|
@@ -244,8 +224,8 @@ function getModalClasses({ className }) {
|
|
|
244
224
|
import { jsx as jsx2, jsxs as jsxs2, Fragment } from "react/jsx-runtime";
|
|
245
225
|
var defaultCloseIcon = "x";
|
|
246
226
|
var serviceHandles = new Set;
|
|
247
|
-
function createServiceHandle(
|
|
248
|
-
let currentConfig =
|
|
227
|
+
function createServiceHandle(config2) {
|
|
228
|
+
let currentConfig = config2;
|
|
249
229
|
const handle = {
|
|
250
230
|
destroy: () => {
|
|
251
231
|
serviceHandles.delete(handle);
|
|
@@ -274,7 +254,7 @@ function showNativeModal(dialog) {
|
|
|
274
254
|
dialog.showModal();
|
|
275
255
|
}
|
|
276
256
|
var ModalBase = forwardRef(({
|
|
277
|
-
open,
|
|
257
|
+
open: open2,
|
|
278
258
|
defaultOpen = false,
|
|
279
259
|
title,
|
|
280
260
|
children,
|
|
@@ -298,9 +278,9 @@ var ModalBase = forwardRef(({
|
|
|
298
278
|
role,
|
|
299
279
|
...props
|
|
300
280
|
}, ref) => {
|
|
301
|
-
const controlled =
|
|
281
|
+
const controlled = open2 !== undefined;
|
|
302
282
|
const [innerOpen, setInnerOpen] = useState(defaultOpen);
|
|
303
|
-
const mergedOpen = controlled ? Boolean(
|
|
283
|
+
const mergedOpen = controlled ? Boolean(open2) : innerOpen;
|
|
304
284
|
const previousOpen = useRef(mergedOpen);
|
|
305
285
|
const desiredOpen = useRef(mergedOpen);
|
|
306
286
|
desiredOpen.current = mergedOpen;
|
|
@@ -505,10 +485,10 @@ function getNotificationHolderClasses({
|
|
|
505
485
|
}
|
|
506
486
|
function getNotificationNoticeClasses({
|
|
507
487
|
type = "info",
|
|
508
|
-
open = true,
|
|
488
|
+
open: open2 = true,
|
|
509
489
|
className
|
|
510
490
|
}) {
|
|
511
|
-
return cn("toast", "alert", notificationNoticeClass, notificationTypeClasses[type],
|
|
491
|
+
return cn("toast", "alert", notificationNoticeClass, notificationTypeClasses[type], open2 && "toast-show", open2 && notificationNoticeOpenClass, className);
|
|
512
492
|
}
|
|
513
493
|
|
|
514
494
|
// src/components/notification/Notification.tsx
|
|
@@ -537,11 +517,11 @@ function getKey(key) {
|
|
|
537
517
|
globalCounter += 1;
|
|
538
518
|
return `notification-${globalCounter}`;
|
|
539
519
|
}
|
|
540
|
-
function getDuration(
|
|
541
|
-
return
|
|
520
|
+
function getDuration(config2, holderConfig) {
|
|
521
|
+
return config2.duration ?? holderConfig.duration ?? defaultConfig.duration;
|
|
542
522
|
}
|
|
543
|
-
function getPlacement(
|
|
544
|
-
return
|
|
523
|
+
function getPlacement(config2, holderConfig) {
|
|
524
|
+
return config2.placement ?? holderConfig.placement ?? defaultConfig.placement;
|
|
545
525
|
}
|
|
546
526
|
function applyMaxCount(notices, maxCount) {
|
|
547
527
|
if (!maxCount || notices.length <= maxCount) {
|
|
@@ -619,42 +599,42 @@ function destroyGlobal(key) {
|
|
|
619
599
|
globalNotices = [];
|
|
620
600
|
emitGlobal();
|
|
621
601
|
}
|
|
622
|
-
function openGlobal(
|
|
623
|
-
const key = getKey(
|
|
602
|
+
function openGlobal(config2) {
|
|
603
|
+
const key = getKey(config2.key);
|
|
624
604
|
const notice = {
|
|
625
|
-
...
|
|
605
|
+
...config2,
|
|
626
606
|
key,
|
|
627
|
-
placement: getPlacement(
|
|
628
|
-
type:
|
|
607
|
+
placement: getPlacement(config2, globalConfig2),
|
|
608
|
+
type: config2.type ?? "info"
|
|
629
609
|
};
|
|
630
610
|
clearTimer2(key);
|
|
631
611
|
globalNotices = applyMaxCount([...globalNotices.filter((item) => item.key !== key), notice], globalConfig2.maxCount);
|
|
632
|
-
const duration = getDuration(
|
|
612
|
+
const duration = getDuration(config2, globalConfig2);
|
|
633
613
|
if (duration && duration > 0) {
|
|
634
614
|
globalTimers.set(key, setTimeout(() => closeGlobal(key), duration * 1000));
|
|
635
615
|
}
|
|
636
616
|
emitGlobal();
|
|
637
617
|
}
|
|
638
|
-
function withType(type,
|
|
639
|
-
openGlobal({ ...
|
|
618
|
+
function withType(type, config2) {
|
|
619
|
+
openGlobal({ ...config2, type });
|
|
640
620
|
}
|
|
641
621
|
var globalApi = {
|
|
642
622
|
open: openGlobal,
|
|
643
|
-
success: (
|
|
644
|
-
info: (
|
|
645
|
-
warning: (
|
|
646
|
-
error: (
|
|
623
|
+
success: (config2) => withType("success", config2),
|
|
624
|
+
info: (config2) => withType("info", config2),
|
|
625
|
+
warning: (config2) => withType("warning", config2),
|
|
626
|
+
error: (config2) => withType("error", config2),
|
|
647
627
|
close: closeGlobal,
|
|
648
628
|
destroy: destroyGlobal,
|
|
649
|
-
config: (
|
|
650
|
-
globalConfig2 = { ...globalConfig2, ...
|
|
629
|
+
config: (config2) => {
|
|
630
|
+
globalConfig2 = { ...globalConfig2, ...config2 };
|
|
651
631
|
emitGlobal();
|
|
652
632
|
},
|
|
653
633
|
useNotification
|
|
654
634
|
};
|
|
655
635
|
function NotificationHolder({
|
|
656
636
|
notices,
|
|
657
|
-
config,
|
|
637
|
+
config: config2,
|
|
658
638
|
onClose
|
|
659
639
|
}) {
|
|
660
640
|
const groups = groupByPlacement(notices);
|
|
@@ -663,7 +643,7 @@ function NotificationHolder({
|
|
|
663
643
|
if (group.length === 0) {
|
|
664
644
|
return null;
|
|
665
645
|
}
|
|
666
|
-
const offsetStyle = placement.startsWith("bottom") &&
|
|
646
|
+
const offsetStyle = placement.startsWith("bottom") && config2.bottom !== undefined ? { bottom: config2.bottom } : config2.top !== undefined ? { top: config2.top } : undefined;
|
|
667
647
|
return /* @__PURE__ */ jsx3("div", {
|
|
668
648
|
className: getNotificationHolderClasses({
|
|
669
649
|
placement
|
|
@@ -671,7 +651,7 @@ function NotificationHolder({
|
|
|
671
651
|
style: offsetStyle,
|
|
672
652
|
children: group.map((notice) => /* @__PURE__ */ jsx3(NotificationNotice, {
|
|
673
653
|
notice,
|
|
674
|
-
fallbackCloseIcon:
|
|
654
|
+
fallbackCloseIcon: config2.closeIcon,
|
|
675
655
|
onClose
|
|
676
656
|
}, notice.key))
|
|
677
657
|
}, placement);
|
|
@@ -758,30 +738,30 @@ function createScopedApi({
|
|
|
758
738
|
return current.filter((item) => item.key !== key);
|
|
759
739
|
});
|
|
760
740
|
}
|
|
761
|
-
function
|
|
762
|
-
const key = getKey(
|
|
741
|
+
function open2(config2) {
|
|
742
|
+
const key = getKey(config2.key);
|
|
763
743
|
const notice = {
|
|
764
|
-
...
|
|
744
|
+
...config2,
|
|
765
745
|
key,
|
|
766
|
-
placement: getPlacement(
|
|
767
|
-
type:
|
|
746
|
+
placement: getPlacement(config2, holderConfig),
|
|
747
|
+
type: config2.type ?? "info"
|
|
768
748
|
};
|
|
769
749
|
clearScopedTimer(key);
|
|
770
750
|
setNotices((current) => applyMaxCount([...current.filter((item) => item.key !== key), notice], holderConfig.maxCount));
|
|
771
|
-
const duration = getDuration(
|
|
751
|
+
const duration = getDuration(config2, holderConfig);
|
|
772
752
|
if (duration && duration > 0) {
|
|
773
753
|
timerMap.set(key, setTimeout(() => close(key), duration * 1000));
|
|
774
754
|
}
|
|
775
755
|
}
|
|
776
|
-
function typed(type,
|
|
777
|
-
|
|
756
|
+
function typed(type, config2) {
|
|
757
|
+
open2({ ...config2, type });
|
|
778
758
|
}
|
|
779
759
|
return {
|
|
780
|
-
open,
|
|
781
|
-
success: (
|
|
782
|
-
info: (
|
|
783
|
-
warning: (
|
|
784
|
-
error: (
|
|
760
|
+
open: open2,
|
|
761
|
+
success: (config2) => typed("success", config2),
|
|
762
|
+
info: (config2) => typed("info", config2),
|
|
763
|
+
warning: (config2) => typed("warning", config2),
|
|
764
|
+
error: (config2) => typed("error", config2),
|
|
785
765
|
close,
|
|
786
766
|
destroy: (key) => {
|
|
787
767
|
if (key !== undefined) {
|
|
@@ -800,24 +780,24 @@ function createScopedApi({
|
|
|
800
780
|
}
|
|
801
781
|
};
|
|
802
782
|
}
|
|
803
|
-
function useNotification(
|
|
783
|
+
function useNotification(config2 = {}) {
|
|
804
784
|
const holderConfig = useMemo(() => ({
|
|
805
785
|
...defaultConfig,
|
|
806
|
-
bottom:
|
|
807
|
-
closeIcon:
|
|
808
|
-
duration:
|
|
809
|
-
getContainer:
|
|
810
|
-
maxCount:
|
|
811
|
-
placement:
|
|
812
|
-
top:
|
|
786
|
+
bottom: config2.bottom,
|
|
787
|
+
closeIcon: config2.closeIcon,
|
|
788
|
+
duration: config2.duration ?? defaultConfig.duration,
|
|
789
|
+
getContainer: config2.getContainer,
|
|
790
|
+
maxCount: config2.maxCount,
|
|
791
|
+
placement: config2.placement ?? defaultConfig.placement,
|
|
792
|
+
top: config2.top
|
|
813
793
|
}), [
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
794
|
+
config2.bottom,
|
|
795
|
+
config2.closeIcon,
|
|
796
|
+
config2.duration,
|
|
797
|
+
config2.getContainer,
|
|
798
|
+
config2.maxCount,
|
|
799
|
+
config2.placement,
|
|
800
|
+
config2.top
|
|
821
801
|
]);
|
|
822
802
|
const [notices, setNotices] = useState2([]);
|
|
823
803
|
const [timerMap] = useState2(() => new Map);
|
|
@@ -852,6 +832,26 @@ function useNotification(config = {}) {
|
|
|
852
832
|
];
|
|
853
833
|
}
|
|
854
834
|
var notification = globalApi;
|
|
835
|
+
// src/components/app/App.tsx
|
|
836
|
+
import {
|
|
837
|
+
createContext,
|
|
838
|
+
forwardRef as forwardRef2,
|
|
839
|
+
useContext,
|
|
840
|
+
useEffect as useEffect3,
|
|
841
|
+
useMemo as useMemo2
|
|
842
|
+
} from "react";
|
|
843
|
+
|
|
844
|
+
// src/classes/app.ts
|
|
845
|
+
var appClass = "app";
|
|
846
|
+
var appRootClass = "app-root";
|
|
847
|
+
var appHolderClass = "app-holder";
|
|
848
|
+
function getAppClasses({ className }) {
|
|
849
|
+
return cn(appClass, className);
|
|
850
|
+
}
|
|
851
|
+
function getAppRootClasses({ className }) {
|
|
852
|
+
return cn(appRootClass, className);
|
|
853
|
+
}
|
|
854
|
+
|
|
855
855
|
// src/components/app/App.tsx
|
|
856
856
|
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
857
857
|
var fallbackContext = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { AutoCompleteComponent } from "./AutoComplete.types";
|
|
1
|
+
import type { AutoCompleteComponent } from "./AutoComplete.types.js";
|
|
2
2
|
export declare const AutoComplete: AutoCompleteComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./AutoComplete";
|
|
2
|
-
export * from "./AutoComplete.types";
|
|
1
|
+
export * from "./AutoComplete.js";
|
|
2
|
+
export * from "./AutoComplete.types.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// src/components/auto-complete/AutoComplete.tsx
|
|
4
4
|
import React, { forwardRef, useId, useMemo, useRef, useState } from "react";
|
|
5
5
|
|
|
6
|
-
//
|
|
6
|
+
// ../../../node_modules/clsx/dist/clsx.mjs
|
|
7
7
|
function r(e) {
|
|
8
8
|
var t, f, n = "";
|
|
9
9
|
if (typeof e == "string" || typeof e == "number")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./Avatar";
|
|
2
|
-
export * from "./Avatar.types";
|
|
1
|
+
export * from "./Avatar.js";
|
|
2
|
+
export * from "./Avatar.types.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// src/components/avatar/Avatar.tsx
|
|
4
4
|
import { forwardRef, useState } from "react";
|
|
5
5
|
|
|
6
|
-
//
|
|
6
|
+
// ../../../node_modules/clsx/dist/clsx.mjs
|
|
7
7
|
function r(e) {
|
|
8
8
|
var t, f, n = "";
|
|
9
9
|
if (typeof e == "string" || typeof e == "number")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { BackTop } from "./BackTop";
|
|
2
|
-
export type { BackTopProps } from "./BackTop.types";
|
|
1
|
+
export { BackTop } from "./BackTop.js";
|
|
2
|
+
export type { BackTopProps } from "./BackTop.types.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// src/components/back-top/BackTop.tsx
|
|
4
4
|
import { forwardRef, useEffect, useRef, useState } from "react";
|
|
5
5
|
|
|
6
|
-
//
|
|
6
|
+
// ../../../node_modules/clsx/dist/clsx.mjs
|
|
7
7
|
function r(e) {
|
|
8
8
|
var t, f, n = "";
|
|
9
9
|
if (typeof e == "string" || typeof e == "number")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./Badge";
|
|
2
|
-
export * from "./Badge.types";
|
|
1
|
+
export * from "./Badge.js";
|
|
2
|
+
export * from "./Badge.types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { BreadcrumbComponent } from "./Breadcrumb.types";
|
|
1
|
+
import type { BreadcrumbComponent } from "./Breadcrumb.types.js";
|
|
2
2
|
export declare const Breadcrumb: BreadcrumbComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Breadcrumb } from "./Breadcrumb";
|
|
2
|
-
export type { BreadcrumbComponent, BreadcrumbItemRender, BreadcrumbItemType, BreadcrumbMenuClickInfo, BreadcrumbMenuItemType, BreadcrumbMenuProps, BreadcrumbParams, BreadcrumbProps, BreadcrumbRoute, BreadcrumbSeparatorType, } from "./Breadcrumb.types";
|
|
1
|
+
export { Breadcrumb } from "./Breadcrumb.js";
|
|
2
|
+
export type { BreadcrumbComponent, BreadcrumbItemRender, BreadcrumbItemType, BreadcrumbMenuClickInfo, BreadcrumbMenuItemType, BreadcrumbMenuProps, BreadcrumbParams, BreadcrumbProps, BreadcrumbRoute, BreadcrumbSeparatorType, } from "./Breadcrumb.types.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// src/components/breadcrumb/Breadcrumb.tsx
|
|
4
4
|
import React, { forwardRef } from "react";
|
|
5
5
|
|
|
6
|
-
//
|
|
6
|
+
// ../../../node_modules/clsx/dist/clsx.mjs
|
|
7
7
|
function r(e) {
|
|
8
8
|
var t, f, n = "";
|
|
9
9
|
if (typeof e == "string" || typeof e == "number")
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { ButtonProps } from "./Button.types";
|
|
2
|
+
import type { ButtonProps } from "./Button.types.js";
|
|
3
3
|
export declare function Button({ color, appearance, shape, size, block, isLoading, leftIcon, rightIcon, className, children, disabled, ref, confirm, onClick, ...props }: ButtonProps): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./Button";
|
|
2
|
-
export * from "./Button.types";
|
|
1
|
+
export * from "./Button.js";
|
|
2
|
+
export * from "./Button.types.js";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { createPortal } from "react-dom";
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// ../../../node_modules/clsx/dist/clsx.mjs
|
|
8
8
|
function r(e) {
|
|
9
9
|
var t, f, n = "";
|
|
10
10
|
if (typeof e == "string" || typeof e == "number")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CalendarComponent } from "./Calendar.types";
|
|
1
|
+
import type { CalendarComponent } from "./Calendar.types.js";
|
|
2
2
|
export declare const Calendar: CalendarComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Calendar } from "./Calendar";
|
|
2
|
-
export type { CalendarComponent, CalendarHeaderRenderProps, CalendarInfo, CalendarMode, CalendarProps, CalendarSelectInfo, CalendarSelectSource, CalendarValue, } from "./Calendar.types";
|
|
1
|
+
export { Calendar } from "./Calendar.js";
|
|
2
|
+
export type { CalendarComponent, CalendarHeaderRenderProps, CalendarInfo, CalendarMode, CalendarProps, CalendarSelectInfo, CalendarSelectSource, CalendarValue, } from "./Calendar.types.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// src/components/calendar/Calendar.tsx
|
|
4
4
|
import { forwardRef, useMemo, useState } from "react";
|
|
5
5
|
|
|
6
|
-
//
|
|
6
|
+
// ../../../node_modules/clsx/dist/clsx.mjs
|
|
7
7
|
function r(e) {
|
|
8
8
|
var t, f, n = "";
|
|
9
9
|
if (typeof e == "string" || typeof e == "number")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./Card";
|
|
2
|
-
export * from "./Card.types";
|
|
1
|
+
export * from "./Card.js";
|
|
2
|
+
export * from "./Card.types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CarouselComponent } from "./Carousel.types";
|
|
1
|
+
import type { CarouselComponent } from "./Carousel.types.js";
|
|
2
2
|
export declare const Carousel: CarouselComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./Carousel";
|
|
2
|
-
export type * from "./Carousel.types";
|
|
1
|
+
export * from "./Carousel.js";
|
|
2
|
+
export type * from "./Carousel.types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CascaderComponent } from "./Cascader.types";
|
|
1
|
+
import type { CascaderComponent } from "./Cascader.types.js";
|
|
2
2
|
export declare const Cascader: CascaderComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Cascader } from "./Cascader";
|
|
2
|
-
export type { CascaderChangeValue, CascaderCheckedStrategy, CascaderComponent, CascaderFieldNames, CascaderMultipleValue, CascaderOption, CascaderPanelProps, CascaderProps, CascaderSingleValue, CascaderValue, } from "./Cascader.types";
|
|
1
|
+
export { Cascader } from "./Cascader.js";
|
|
2
|
+
export type { CascaderChangeValue, CascaderCheckedStrategy, CascaderComponent, CascaderFieldNames, CascaderMultipleValue, CascaderOption, CascaderPanelProps, CascaderProps, CascaderSingleValue, CascaderValue, } from "./Cascader.types.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// src/components/cascader/Cascader.tsx
|
|
4
4
|
import React, { forwardRef, useMemo, useState } from "react";
|
|
5
5
|
|
|
6
|
-
//
|
|
6
|
+
// ../../../node_modules/clsx/dist/clsx.mjs
|
|
7
7
|
function r(e) {
|
|
8
8
|
var t, f, n = "";
|
|
9
9
|
if (typeof e == "string" || typeof e == "number")
|
|
@@ -402,9 +402,9 @@ var CascaderRoot = forwardRef(({
|
|
|
402
402
|
});
|
|
403
403
|
}
|
|
404
404
|
if (multiple) {
|
|
405
|
-
return selectedPaths.map((
|
|
405
|
+
return selectedPaths.map((path2, index) => /* @__PURE__ */ jsx("span", {
|
|
406
406
|
className: cascaderTagClass,
|
|
407
|
-
children: displayRender ? displayRender(labelsForPath(
|
|
407
|
+
children: displayRender ? displayRender(labelsForPath(path2, names), path2) : defaultDisplay(labelsForPath(path2, names))
|
|
408
408
|
}, valueKey(selectedValues[index] ?? [])));
|
|
409
409
|
}
|
|
410
410
|
const path = selectedPaths[0] ?? [];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { ChatBubbleProps, ChatComponent, ChatActionsProps, ChatScrollIndicatorProps, ChatToolProps, ChatTypingProps } from "./Chat.types";
|
|
2
|
+
import type { ChatBubbleProps, ChatComponent, ChatActionsProps, ChatScrollIndicatorProps, ChatToolProps, ChatTypingProps } from "./Chat.types.js";
|
|
3
3
|
export declare const ChatAvatar: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export declare const ChatHeader: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export declare const ChatBubble: React.ForwardRefExoticComponent<Omit<ChatBubbleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { ChatRequestProps } from "./ChatRequest";
|
|
2
|
-
import type { ChatComposerContextProps, ChatComposerContextItemProps, ChatComposerContextEndProps, ChatComposerConnectionProps } from "./ChatComposerContext";
|
|
1
|
+
import type { ChatRequestProps } from "./ChatRequest.js";
|
|
2
|
+
import type { ChatComposerContextProps, ChatComposerContextItemProps, ChatComposerContextEndProps, ChatComposerConnectionProps } from "./ChatComposerContext.js";
|
|
3
3
|
import type { ComponentProps, ForwardRefExoticComponent, RefAttributes, ReactNode } from "react";
|
|
4
|
-
import type { TextAreaProps } from "../input";
|
|
5
|
-
import type { ComposerScope } from "./Composer.types";
|
|
6
|
-
import type { ComposerAttachmentIntakePolicy, ComposerAttachmentRejection } from "./ComposerAttachment.types";
|
|
4
|
+
import type { TextAreaProps } from "../input/index.js";
|
|
5
|
+
import type { ComposerScope } from "./Composer.types.js";
|
|
6
|
+
import type { ComposerAttachmentIntakePolicy, ComposerAttachmentRejection } from "./ComposerAttachment.types.js";
|
|
7
7
|
export type ChatPlacement = "start" | "end";
|
|
8
8
|
export type ChatTimeline = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
9
9
|
export type ChatBubbleColor = "primary" | "secondary" | "tertiary" | "accent" | "neutral" | "base" | "info" | "success" | "warning" | "error";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { ChatAuthoritativeQueueProps } from "./ComposerQueue.types";
|
|
2
|
+
import type { ChatAuthoritativeQueueProps } from "./ComposerQueue.types.js";
|
|
3
3
|
/** Controlled queue projection: a request never changes confirmed membership. */
|
|
4
4
|
export declare function ChatAuthoritativeQueue(props: ChatAuthoritativeQueueProps): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { ChatComposerProps } from "./Chat.types";
|
|
2
|
+
import type { ChatComposerProps } from "./Chat.types.js";
|
|
3
3
|
/** Controlled prompts, attachments, and application-supplied completions. */
|
|
4
4
|
export declare const ChatComposer: React.ForwardRefExoticComponent<Omit<ChatComposerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { ChatAgentProps, ChatContentProps, ChatQueueProps, ChatComposerFormProps } from "./Chat.types";
|
|
2
|
+
import type { ChatAgentProps, ChatContentProps, ChatQueueProps, ChatComposerFormProps } from "./Chat.types.js";
|
|
3
3
|
export declare const ChatAgent: React.ForwardRefExoticComponent<Omit<ChatAgentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export declare const ChatContent: React.ForwardRefExoticComponent<Omit<ChatContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export declare const ChatWork: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.DetailsHTMLAttributes<HTMLDetailsElement>, HTMLDetailsElement>, "ref"> & React.RefAttributes<HTMLDetailsElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { ChatSessionComposerProps } from "./ChatSessionComposer.types";
|
|
2
|
+
import type { ChatSessionComposerProps } from "./ChatSessionComposer.types.js";
|
|
3
3
|
/** Native textarea sessions with typed admission/recovery; legacy Chat.Composer remains compatible. */
|
|
4
|
-
export declare const ChatSessionComposer: React.ForwardRefExoticComponent<ChatSessionComposerProps & React.RefAttributes<import("./composer/EditorAdapter.types").ComposerEditorHandle>>;
|
|
4
|
+
export declare const ChatSessionComposer: React.ForwardRefExoticComponent<ChatSessionComposerProps & React.RefAttributes<import("./composer/EditorAdapter.types.js").ComposerEditorHandle>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ComponentProps, ReactNode } from "react";
|
|
2
|
-
import type { ComposerDocumentUpdate, ComposerJson, ComposerScope } from "./Composer.types";
|
|
3
|
-
import type { ComposerAttachmentOptions } from "./ComposerAttachment.types";
|
|
4
|
-
import type { ComposerDraftAdapter } from "./ComposerDraft.types";
|
|
5
|
-
import type { ComposerCompletionProvider, ComposerProviderSelectionEffect } from "./ComposerProvider.types";
|
|
6
|
-
import type { ComposerActionPolicy, ComposerRuntimeState, ComposerSessionHost } from "./ComposerSession.types";
|
|
7
|
-
import type { ComposerEditorHandle } from "./composer/EditorAdapter.types";
|
|
2
|
+
import type { ComposerDocumentUpdate, ComposerJson, ComposerScope } from "./Composer.types.js";
|
|
3
|
+
import type { ComposerAttachmentOptions } from "./ComposerAttachment.types.js";
|
|
4
|
+
import type { ComposerDraftAdapter } from "./ComposerDraft.types.js";
|
|
5
|
+
import type { ComposerCompletionProvider, ComposerProviderSelectionEffect } from "./ComposerProvider.types.js";
|
|
6
|
+
import type { ComposerActionPolicy, ComposerRuntimeState, ComposerSessionHost } from "./ComposerSession.types.js";
|
|
7
|
+
import type { ComposerEditorHandle } from "./composer/EditorAdapter.types.js";
|
|
8
8
|
/** Shared semantic session API; /chat/rich selects the optional editor adapter. */
|
|
9
9
|
export interface ChatSessionComposerProps extends Omit<ComponentProps<"div">, "children" | "onChange" | "onSubmit" | "ref"> {
|
|
10
10
|
readonly value: ComposerDocumentUpdate;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ComposerAttachmentEntry, ComposerAttachmentHandle, ComposerAttachmentMetadata, ComposerDraftAttachment, ComposerError, ComposerScope, ComposerSendableAttachment } from "./Composer.types";
|
|
1
|
+
import type { ComposerAttachmentEntry, ComposerAttachmentHandle, ComposerAttachmentMetadata, ComposerDraftAttachment, ComposerError, ComposerScope, ComposerSendableAttachment } from "./Composer.types.js";
|
|
2
2
|
export type ComposerAttachmentSource = "picker" | "paste" | "drop";
|
|
3
3
|
/** The same policy is applied to every intake path; it never consumes paste text. */
|
|
4
4
|
export interface ComposerAttachmentIntakePolicy {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ComposerDocument, ComposerDraft, ComposerDraftAttachment, ComposerError, ComposerScope } from "./Composer.types";
|
|
1
|
+
import type { ComposerDocument, ComposerDraft, ComposerDraftAttachment, ComposerError, ComposerScope } from "./Composer.types.js";
|
|
2
2
|
export interface ComposerDraftLoadRequest {
|
|
3
3
|
readonly scope: ComposerScope;
|
|
4
4
|
readonly draftKey: string;
|