@alfadocs/ui-kit 0.1.8 → 0.1.9
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/_chunks/{accordion-B6fyINUk.js → accordion-BEnrZmAn.js} +34 -32
- package/dist/_chunks/accordion.agent-BTjeO1Sx.js +52 -0
- package/dist/_chunks/{agenda-card-DIWDvWum.js → agenda-card-DwLIxgi7.js} +2 -1
- package/dist/_chunks/agenda-card.agent-B_R47-c9.js +22 -0
- package/dist/_chunks/agenda-tray-DUvengGQ.js +178 -0
- package/dist/_chunks/ai-prompt-input.agent-0NHYLTWD.js +476 -0
- package/dist/_chunks/{aspect-ratio-CxsdG8vk.js → aspect-ratio-DeSNzASA.js} +12 -12
- package/dist/_chunks/audio-recorder.agent--VKeykUp.js +458 -0
- package/dist/_chunks/autocomplete.agent-Dh7KioS6.js +432 -0
- package/dist/_chunks/{balance-cell-renderer-BWm3knY9.js → balance-cell-renderer-5CA7zpAi.js} +3 -3
- package/dist/_chunks/breadcrumb.agent-GM2hAKFX.js +371 -0
- package/dist/_chunks/{chart.agent-BdS-_8MO.js → chart.agent-_pRYS17d.js} +112 -105
- package/dist/_chunks/{chat-container-Cm3SlR2p.js → chat-container-Dl0Kfy5a.js} +33 -32
- package/dist/_chunks/{chat-container.agent-Dhw9xCJt.js → chat-container.agent-CM4WModE.js} +9 -4
- package/dist/_chunks/{chat-input-DreOPP8A.js → chat-input-C_tMQv92.js} +108 -82
- package/dist/_chunks/chat-input.agent-Bsz3ckGa.js +69 -0
- package/dist/_chunks/checkbox-CtPM6Rup.js +196 -0
- package/dist/_chunks/checkbox-group-BTdEB6Yo.js +208 -0
- package/dist/_chunks/collapsible.agent-DkS1jVyn.js +149 -0
- package/dist/_chunks/{color-picker-e9PmpaGH.js → color-picker-94qcBZqZ.js} +234 -184
- package/dist/_chunks/combobox.agent-CAvUkkIe.js +410 -0
- package/dist/_chunks/{command-palette.agent-js2rxgeR.js → command-palette.agent-HatEt_EM.js} +161 -121
- package/dist/_chunks/date-picker-BqPTn7bO.js +1813 -0
- package/dist/_chunks/date-range-picker-B2hGsffw.js +274 -0
- package/dist/_chunks/date-time-picker-Bzt0S8yO.js +293 -0
- package/dist/_chunks/dialog.agent-Daf1TTko.js +179 -0
- package/dist/_chunks/{dropdown-menu-Cw3EyPZv.js → dropdown-menu-C7AZipNz.js} +75 -71
- package/dist/_chunks/dropdown-menu.agent-BcxIKOjK.js +43 -0
- package/dist/_chunks/{file-upload.agent-B9AN82LA.js → file-upload.agent-DJaH2dHg.js} +275 -243
- package/dist/_chunks/freemium-paywall.agent-_nQqLyRF.js +260 -0
- package/dist/_chunks/{leo-sidebar-nbHib2D-.js → leo-sidebar-BwINPdix.js} +6 -6
- package/dist/_chunks/link-QheANk74.js +121 -0
- package/dist/_chunks/list.agent-D0iWt4VI.js +420 -0
- package/dist/_chunks/{message-card-qAp2-WQK.js → message-card-qhoGv947.js} +2 -1
- package/dist/_chunks/message-card.agent-4IeIgrnJ.js +22 -0
- package/dist/_chunks/message-tray-xHUCra-Y.js +419 -0
- package/dist/_chunks/{multi-select.agent-CNsyW3n9.js → multi-select.agent-Do6CeQUT.js} +239 -179
- package/dist/_chunks/navigation-menu.agent-D69ND6Qq.js +266 -0
- package/dist/_chunks/{notification-card-BF2_veHy.js → notification-card-CsVEYJE-.js} +13 -12
- package/dist/_chunks/notification-card.agent-Rqt3ofk9.js +22 -0
- package/dist/_chunks/notification-tray-DTXMq42J.js +444 -0
- package/dist/_chunks/number-input-fvGmnRy9.js +333 -0
- package/dist/_chunks/otp-input-EglXOUue.js +257 -0
- package/dist/_chunks/pagination.agent-BkZQl45y.js +422 -0
- package/dist/_chunks/password-input-D6kuYXmr.js +304 -0
- package/dist/_chunks/{patient-shell-7cXqIMFg.js → patient-shell-BRmrrUUW.js} +3 -3
- package/dist/_chunks/{payment-form-hcl-gGrp.js → payment-form-BWaXas8z.js} +120 -118
- package/dist/_chunks/{payment-form.agent-BkEnRerR.js → payment-form.agent-kuIfodCj.js} +7 -2
- package/dist/_chunks/{pdf-viewer.agent-CfIHhcHx.js → pdf-viewer.agent-BaGEDheA.js} +358 -351
- package/dist/_chunks/phone-input-C8Op4sEc.js +513 -0
- package/dist/_chunks/popover-kFN8s84V.js +229 -0
- package/dist/_chunks/popover.agent-K_d1cfbj.js +39 -0
- package/dist/_chunks/privacy-lock.agent-C1i1-T58.js +185 -0
- package/dist/_chunks/progress-wNsqkw8I.js +253 -0
- package/dist/_chunks/progress.agent-C68rDOXL.js +27 -0
- package/dist/_chunks/{radio-cs8N1wJi.js → radio-DvF59ThA.js} +14 -13
- package/dist/_chunks/radio-group-Cz1a4QCA.js +152 -0
- package/dist/_chunks/recaptcha-widget.agent-BGHpU5zD.js +183 -0
- package/dist/_chunks/resizable.agent-CMwZzvsi.js +456 -0
- package/dist/_chunks/{rich-text-editor.agent-COSb5_2D.js → rich-text-editor.agent-DnE125Tz.js} +221 -214
- package/dist/_chunks/search-bar.agent-DxFAxctc.js +562 -0
- package/dist/_chunks/search-input-Xw3cdWXW.js +227 -0
- package/dist/_chunks/search-input.agent-CfZvViOd.js +69 -0
- package/dist/_chunks/select-DY1Cb2Tg.js +410 -0
- package/dist/_chunks/{sheet-BhNpLHc9.js → sheet-B9kH9pcI.js} +55 -54
- package/dist/_chunks/sheet.agent-QAyTOxgk.js +46 -0
- package/dist/_chunks/{sidebar-OVzwN3jE.js → sidebar-CHF5xr_P.js} +188 -185
- package/dist/_chunks/sidebar.agent-C9TM_ZDZ.js +49 -0
- package/dist/_chunks/{signature-capture.agent-C38VPXxg.js → signature-capture.agent-BpeDwFht.js} +127 -120
- package/dist/_chunks/slider-CcsQTZTA.js +322 -0
- package/dist/_chunks/sparkline.agent-56Sj7nOP.js +245 -0
- package/dist/_chunks/stepper-accordion.agent-ckKYZCIP.js +322 -0
- package/dist/_chunks/stepper-calendar.agent-9iT3ClIB.js +646 -0
- package/dist/_chunks/stepper-progress-Bmen-YXB.js +149 -0
- package/dist/_chunks/stepper-progress.agent-q9InWca4.js +61 -0
- package/dist/_chunks/suggestion-chip-DhFrkRPj.js +169 -0
- package/dist/_chunks/suggestion-chip.agent-6sNWFj7m.js +46 -0
- package/dist/_chunks/switch-BYEH8I53.js +196 -0
- package/dist/_chunks/{tabs.agent-BpbVA-Zh.js → tabs.agent-h7NvsTR1.js} +146 -123
- package/dist/_chunks/{task-card-yW7tKlG4.js → task-card-CY5ztNkU.js} +2 -1
- package/dist/_chunks/task-card.agent-CUPKYd7w.js +22 -0
- package/dist/_chunks/task-tray-CCoUdorl.js +194 -0
- package/dist/_chunks/text-area-C_M8wliK.js +239 -0
- package/dist/_chunks/text-input-BX39e6T6.js +272 -0
- package/dist/_chunks/theme-toggle.agent-btmXTWdW.js +394 -0
- package/dist/_chunks/time-picker-B8AMIrX7.js +410 -0
- package/dist/_chunks/timeline.agent-CRPza9wc.js +279 -0
- package/dist/_chunks/{toast-lOhJDKOH.js → toast.agent-BjEGuq1Z.js} +403 -342
- package/dist/_chunks/{tooth-scheme.agent-BlDyu-Gx.js → tooth-scheme.agent-CWrQBjJM.js} +218 -211
- package/dist/_chunks/transcript-panel.agent-BXEYP6w-.js +337 -0
- package/dist/_chunks/{workflow-map-XeqHDFvp.js → workflow-map-D2A7rTEG.js} +465 -368
- package/dist/agent-catalog.json +2929 -268
- package/dist/components/accordion/accordion.agent.d.ts +2 -1
- package/dist/components/accordion/accordion.d.ts +6 -0
- package/dist/components/accordion/index.js +2 -2
- package/dist/components/agenda-card/agenda-card.agent.d.ts +3 -0
- package/dist/components/agenda-card/index.d.ts +1 -0
- package/dist/components/agenda-card/index.js +3 -1
- package/dist/components/agenda-tray/agenda-tray.agent.d.ts +4 -0
- package/dist/components/agenda-tray/agenda-tray.d.ts +19 -2
- package/dist/components/agenda-tray/index.d.ts +2 -1
- package/dist/components/agenda-tray/index.js +3 -2
- package/dist/components/ai-prompt-input/ai-prompt-input.agent.d.ts +4 -0
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts +18 -1
- package/dist/components/ai-prompt-input/index.d.ts +2 -1
- package/dist/components/ai-prompt-input/index.js +3 -2
- package/dist/components/aspect-ratio/index.js +1 -1
- package/dist/components/audio-recorder/audio-recorder.agent.d.ts +4 -0
- package/dist/components/audio-recorder/audio-recorder.d.ts +10 -1
- package/dist/components/audio-recorder/index.d.ts +2 -1
- package/dist/components/audio-recorder/index.js +3 -2
- package/dist/components/autocomplete/autocomplete.agent.d.ts +2 -1
- package/dist/components/autocomplete/autocomplete.d.ts +10 -0
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.agent.d.ts +8 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +21 -2
- package/dist/components/breadcrumb/index.d.ts +2 -1
- package/dist/components/breadcrumb/index.js +5 -4
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/chart/chart.d.ts +2 -0
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/chat-container.d.ts +3 -1
- package/dist/components/chat-container/index.js +2 -2
- package/dist/components/chat-input/chat-input.agent.d.ts +4 -0
- package/dist/components/chat-input/chat-input.d.ts +10 -1
- package/dist/components/chat-input/index.d.ts +2 -1
- package/dist/components/chat-input/index.js +4 -2
- package/dist/components/checkbox/checkbox.agent.d.ts +4 -0
- package/dist/components/checkbox/checkbox.d.ts +6 -0
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.agent.d.ts +4 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +8 -0
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/collapsible/collapsible.agent.d.ts +4 -0
- package/dist/components/collapsible/collapsible.d.ts +8 -1
- package/dist/components/collapsible/index.d.ts +2 -1
- package/dist/components/collapsible/index.js +4 -3
- package/dist/components/color-picker/color-picker.agent.d.ts +4 -0
- package/dist/components/color-picker/color-picker.d.ts +5 -0
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/combobox.agent.d.ts +2 -1
- package/dist/components/combobox/combobox.d.ts +10 -0
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/command-palette.agent.d.ts +2 -1
- package/dist/components/command-palette/command-palette.d.ts +7 -0
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-picker/date-picker.agent.d.ts +4 -0
- package/dist/components/date-picker/date-picker.d.ts +16 -1
- package/dist/components/date-picker/index.d.ts +2 -1
- package/dist/components/date-picker/index.js +3 -2
- package/dist/components/date-range-picker/date-range-picker.agent.d.ts +4 -0
- package/dist/components/date-range-picker/date-range-picker.d.ts +16 -1
- package/dist/components/date-range-picker/index.d.ts +2 -1
- package/dist/components/date-range-picker/index.js +3 -2
- package/dist/components/date-time-picker/date-time-picker.agent.d.ts +4 -0
- package/dist/components/date-time-picker/date-time-picker.d.ts +16 -1
- package/dist/components/date-time-picker/index.d.ts +2 -1
- package/dist/components/date-time-picker/index.js +3 -2
- package/dist/components/dialog/dialog.agent.d.ts +5 -6
- package/dist/components/dialog/dialog.d.ts +11 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts +2 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +10 -2
- package/dist/components/dropdown-menu/index.js +2 -2
- package/dist/components/file-upload/file-upload.agent.d.ts +2 -1
- package/dist/components/file-upload/file-upload.d.ts +12 -0
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/freemium-paywall/freemium-paywall.agent.d.ts +4 -0
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +8 -1
- package/dist/components/freemium-paywall/index.d.ts +2 -1
- package/dist/components/freemium-paywall/index.js +3 -2
- package/dist/components/index.d.ts +2 -0
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/index.js +5 -0
- package/dist/components/link/link.d.ts +39 -0
- package/dist/components/list/index.d.ts +2 -1
- package/dist/components/list/index.js +3 -2
- package/dist/components/list/list.agent.d.ts +4 -0
- package/dist/components/list/list.d.ts +8 -2
- package/dist/components/message-card/index.d.ts +1 -0
- package/dist/components/message-card/index.js +5 -3
- package/dist/components/message-card/message-card.agent.d.ts +3 -0
- package/dist/components/message-tray/index.d.ts +2 -1
- package/dist/components/message-tray/index.js +3 -2
- package/dist/components/message-tray/message-tray.agent.d.ts +4 -0
- package/dist/components/message-tray/message-tray.d.ts +27 -2
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/multi-select/multi-select.agent.d.ts +2 -1
- package/dist/components/multi-select/multi-select.d.ts +10 -0
- package/dist/components/navigation-menu/index.d.ts +2 -1
- package/dist/components/navigation-menu/index.js +7 -6
- package/dist/components/navigation-menu/navigation-menu.agent.d.ts +4 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +28 -2
- package/dist/components/notification-card/index.d.ts +1 -0
- package/dist/components/notification-card/index.js +5 -3
- package/dist/components/notification-card/notification-card.agent.d.ts +3 -0
- package/dist/components/notification-tray/index.d.ts +2 -1
- package/dist/components/notification-tray/index.js +3 -2
- package/dist/components/notification-tray/notification-tray.agent.d.ts +4 -0
- package/dist/components/notification-tray/notification-tray.d.ts +27 -2
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/number-input.agent.d.ts +4 -0
- package/dist/components/number-input/number-input.d.ts +7 -0
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/otp-input/otp-input.agent.d.ts +4 -0
- package/dist/components/otp-input/otp-input.d.ts +10 -0
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/pagination.agent.d.ts +2 -1
- package/dist/components/pagination/pagination.d.ts +7 -0
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/password-input/password-input.agent.d.ts +4 -0
- package/dist/components/password-input/password-input.d.ts +9 -0
- package/dist/components/payment-form/index.js +2 -2
- package/dist/components/payment-form/payment-form.d.ts +2 -0
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.d.ts +2 -0
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/phone-input/phone-input.agent.d.ts +4 -0
- package/dist/components/phone-input/phone-input.d.ts +7 -0
- package/dist/components/popover/index.js +2 -2
- package/dist/components/popover/popover.agent.d.ts +2 -1
- package/dist/components/popover/popover.d.ts +8 -1
- package/dist/components/privacy-lock/index.d.ts +2 -1
- package/dist/components/privacy-lock/index.js +3 -2
- package/dist/components/privacy-lock/privacy-lock.agent.d.ts +4 -0
- package/dist/components/privacy-lock/privacy-lock.d.ts +7 -1
- package/dist/components/progress/index.js +2 -2
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/radio-group/radio-group.agent.d.ts +4 -0
- package/dist/components/radio-group/radio-group.d.ts +5 -0
- package/dist/components/recaptcha-widget/index.d.ts +3 -0
- package/dist/components/recaptcha-widget/index.js +6 -0
- package/dist/components/recaptcha-widget/recaptcha-widget.agent.d.ts +4 -0
- package/dist/components/recaptcha-widget/recaptcha-widget.d.ts +56 -0
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/resizable/resizable.agent.d.ts +2 -1
- package/dist/components/resizable/resizable.d.ts +6 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +2 -0
- package/dist/components/search-bar/index.d.ts +2 -1
- package/dist/components/search-bar/index.js +3 -2
- package/dist/components/search-bar/search-bar.agent.d.ts +4 -0
- package/dist/components/search-bar/search-bar.d.ts +27 -1
- package/dist/components/search-input/index.d.ts +2 -1
- package/dist/components/search-input/index.js +4 -2
- package/dist/components/search-input/search-input.agent.d.ts +4 -0
- package/dist/components/search-input/search-input.d.ts +27 -0
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.agent.d.ts +4 -0
- package/dist/components/select/select.d.ts +9 -0
- package/dist/components/sheet/index.js +2 -2
- package/dist/components/sheet/sheet.agent.d.ts +2 -1
- package/dist/components/sheet/sheet.d.ts +11 -2
- package/dist/components/sidebar/index.js +2 -2
- package/dist/components/sidebar/sidebar.agent.d.ts +2 -1
- package/dist/components/sidebar/sidebar.d.ts +6 -0
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/signature-capture/signature-capture.d.ts +2 -0
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/slider.agent.d.ts +4 -0
- package/dist/components/slider/slider.d.ts +5 -0
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/stepper-accordion/index.d.ts +2 -1
- package/dist/components/stepper-accordion/index.js +3 -2
- package/dist/components/stepper-accordion/stepper-accordion.agent.d.ts +4 -0
- package/dist/components/stepper-accordion/stepper-accordion.d.ts +19 -1
- package/dist/components/stepper-calendar/index.d.ts +2 -1
- package/dist/components/stepper-calendar/index.js +3 -2
- package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts +4 -0
- package/dist/components/stepper-calendar/stepper-calendar.d.ts +19 -1
- package/dist/components/stepper-progress/index.d.ts +2 -1
- package/dist/components/stepper-progress/index.js +4 -2
- package/dist/components/stepper-progress/stepper-progress.agent.d.ts +4 -0
- package/dist/components/stepper-progress/stepper-progress.d.ts +26 -1
- package/dist/components/suggestion-chip/index.d.ts +2 -1
- package/dist/components/suggestion-chip/index.js +5 -3
- package/dist/components/suggestion-chip/suggestion-chip.agent.d.ts +4 -0
- package/dist/components/suggestion-chip/suggestion-chip.d.ts +7 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/switch.agent.d.ts +4 -0
- package/dist/components/switch/switch.d.ts +6 -0
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/tabs.agent.d.ts +2 -1
- package/dist/components/tabs/tabs.d.ts +4 -0
- package/dist/components/task-card/index.d.ts +1 -0
- package/dist/components/task-card/index.js +5 -3
- package/dist/components/task-card/task-card.agent.d.ts +3 -0
- package/dist/components/task-tray/index.d.ts +2 -1
- package/dist/components/task-tray/index.js +3 -2
- package/dist/components/task-tray/task-tray.agent.d.ts +4 -0
- package/dist/components/task-tray/task-tray.d.ts +25 -2
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-area/text-area.agent.d.ts +4 -0
- package/dist/components/text-area/text-area.d.ts +7 -0
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/text-input/text-input.agent.d.ts +4 -0
- package/dist/components/text-input/text-input.d.ts +10 -0
- package/dist/components/theme-toggle/index.d.ts +2 -1
- package/dist/components/theme-toggle/index.js +3 -2
- package/dist/components/theme-toggle/theme-toggle.agent.d.ts +4 -0
- package/dist/components/theme-toggle/theme-toggle.d.ts +9 -2
- package/dist/components/time-picker/index.d.ts +2 -1
- package/dist/components/time-picker/index.js +3 -2
- package/dist/components/time-picker/time-picker.agent.d.ts +4 -0
- package/dist/components/time-picker/time-picker.d.ts +16 -1
- package/dist/components/timeline/index.d.ts +2 -1
- package/dist/components/timeline/index.js +3 -2
- package/dist/components/timeline/timeline.agent.d.ts +4 -0
- package/dist/components/timeline/timeline.d.ts +8 -1
- package/dist/components/toast/index.d.ts +3 -2
- package/dist/components/toast/index.js +7 -5
- package/dist/components/toast/toast.agent.d.ts +4 -0
- package/dist/components/toast/toast.d.ts +8 -0
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +2 -0
- package/dist/components/transcript-panel/index.d.ts +2 -1
- package/dist/components/transcript-panel/index.js +3 -2
- package/dist/components/transcript-panel/transcript-panel.agent.d.ts +4 -0
- package/dist/components/transcript-panel/transcript-panel.d.ts +10 -1
- package/dist/components/workflow/index.d.ts +2 -1
- package/dist/components/workflow/index.js +10 -7
- package/dist/components/workflow/workflow-editor.d.ts +7 -1
- package/dist/components/workflow/workflow-map.d.ts +2 -0
- package/dist/components/workflow/workflow.agent.d.ts +6 -0
- package/dist/i18n/config.js +24 -11
- package/dist/i18n/resources.d.ts +7 -0
- package/dist/index.js +471 -423
- package/dist/locales/en.json +7 -0
- package/dist/patterns/leo-assistant/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +18 -2
- package/dist/_chunks/accordion.agent-Cz-yglRa.js +0 -17
- package/dist/_chunks/agenda-tray-BqQZwiHc.js +0 -120
- package/dist/_chunks/ai-prompt-input-CI27KmZ1.js +0 -380
- package/dist/_chunks/audio-recorder-B-8SKgKn.js +0 -376
- package/dist/_chunks/autocomplete.agent-DqOy0_1P.js +0 -372
- package/dist/_chunks/breadcrumb-D6xpsP7n.js +0 -293
- package/dist/_chunks/checkbox-DNK4qS2_.js +0 -116
- package/dist/_chunks/checkbox-group-CWpGZEF6.js +0 -146
- package/dist/_chunks/collapsible-D4LOdLxp.js +0 -67
- package/dist/_chunks/combobox.agent-ByobCLJ_.js +0 -350
- package/dist/_chunks/date-picker-DYXNsWmM.js +0 -1726
- package/dist/_chunks/date-range-picker-BcNDJI7m.js +0 -183
- package/dist/_chunks/date-time-picker-CmGiTU__.js +0 -202
- package/dist/_chunks/dialog.agent-DEG_fVzG.js +0 -147
- package/dist/_chunks/dropdown-menu.agent-Cry4Nmes.js +0 -17
- package/dist/_chunks/freemium-paywall-CkefGLM_.js +0 -198
- package/dist/_chunks/list-B1ozIjQe.js +0 -359
- package/dist/_chunks/message-tray-VaLpQU5t.js +0 -303
- package/dist/_chunks/navigation-menu-EVFau1O2.js +0 -180
- package/dist/_chunks/notification-tray-B7U5YZYg.js +0 -328
- package/dist/_chunks/number-input-DjpT_RXJ.js +0 -249
- package/dist/_chunks/otp-input-De5_Ih7B.js +0 -189
- package/dist/_chunks/pagination.agent-oEaqmtx5.js +0 -380
- package/dist/_chunks/password-input-DJDVznWH.js +0 -193
- package/dist/_chunks/phone-input-DE_39q65.js +0 -428
- package/dist/_chunks/popover-C3CTUsqh.js +0 -227
- package/dist/_chunks/popover.agent-C0qOx9WT.js +0 -13
- package/dist/_chunks/privacy-lock-CQpgkLec.js +0 -132
- package/dist/_chunks/progress-B4Of_pzz.js +0 -252
- package/dist/_chunks/progress.agent-CXkHURjX.js +0 -22
- package/dist/_chunks/radio-group-BIUbpWml.js +0 -89
- package/dist/_chunks/resizable.agent-DBpPGNdy.js +0 -435
- package/dist/_chunks/search-bar-fcGqDFW3.js +0 -397
- package/dist/_chunks/search-input-BVMCONyN.js +0 -197
- package/dist/_chunks/select-IY_JQa-F.js +0 -321
- package/dist/_chunks/sheet.agent-DwQlBqK9.js +0 -13
- package/dist/_chunks/sidebar.agent-B0fnH9CC.js +0 -17
- package/dist/_chunks/slider-DjyRt3Mp.js +0 -274
- package/dist/_chunks/sparkline.agent-C_xp3NRB.js +0 -238
- package/dist/_chunks/stepper-accordion-CGog0JSF.js +0 -233
- package/dist/_chunks/stepper-calendar-_fLOAjus.js +0 -570
- package/dist/_chunks/stepper-progress-rE7tn7WY.js +0 -129
- package/dist/_chunks/suggestion-chip-BNJ2M8Os.js +0 -158
- package/dist/_chunks/switch-aN2EYxHh.js +0 -138
- package/dist/_chunks/task-tray-BzahI5FQ.js +0 -100
- package/dist/_chunks/text-area-DmKSd2DG.js +0 -152
- package/dist/_chunks/text-input-CRHvl5zk.js +0 -188
- package/dist/_chunks/theme-toggle-BHiMMEQN.js +0 -329
- package/dist/_chunks/time-picker-D-EueWUG.js +0 -322
- package/dist/_chunks/timeline-RgAIzpMd.js +0 -220
- package/dist/_chunks/transcript-panel-CNbVGG9L.js +0 -266
|
@@ -1,376 +0,0 @@
|
|
|
1
|
-
import { jsxs as b, jsx as r, Fragment as se } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as re, useReducer as ie, useState as x, useRef as m, useEffect as N, useCallback as k } from "react";
|
|
3
|
-
import { c as ae } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as ne } from "react-i18next";
|
|
5
|
-
import { B as U } from "./button-7mLWcMp_.js";
|
|
6
|
-
import { I as D } from "./icon-button-Wnnde5lc.js";
|
|
7
|
-
import { S as de } from "./select-IY_JQa-F.js";
|
|
8
|
-
import { A as ce } from "./audio-visualiser-CeMPCZkd.js";
|
|
9
|
-
import { A as T } from "./alert-BlOUMkXj.js";
|
|
10
|
-
import { c as _ } from "./createLucideIcon-CrFbzy84.js";
|
|
11
|
-
import { S as ue } from "./square-CZoGU14v.js";
|
|
12
|
-
import { X as oe } from "./x-CCcI3eJp.js";
|
|
13
|
-
/**
|
|
14
|
-
* @license lucide-react v1.8.0 - ISC
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the ISC license.
|
|
17
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/
|
|
19
|
-
const le = [
|
|
20
|
-
["path", { d: "M12 19v3", key: "npa21l" }],
|
|
21
|
-
["path", { d: "M19 10v2a7 7 0 0 1-14 0v-2", key: "1vc78b" }],
|
|
22
|
-
["rect", { x: "9", y: "2", width: "6", height: "13", rx: "3", key: "s6n7sd" }]
|
|
23
|
-
], pe = _("mic", le);
|
|
24
|
-
/**
|
|
25
|
-
* @license lucide-react v1.8.0 - ISC
|
|
26
|
-
*
|
|
27
|
-
* This source code is licensed under the ISC license.
|
|
28
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
29
|
-
*/
|
|
30
|
-
const me = [
|
|
31
|
-
["rect", { x: "14", y: "3", width: "5", height: "18", rx: "1", key: "kaeet6" }],
|
|
32
|
-
["rect", { x: "5", y: "3", width: "5", height: "18", rx: "1", key: "1wsw3u" }]
|
|
33
|
-
], fe = _("pause", me);
|
|
34
|
-
/**
|
|
35
|
-
* @license lucide-react v1.8.0 - ISC
|
|
36
|
-
*
|
|
37
|
-
* This source code is licensed under the ISC license.
|
|
38
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
39
|
-
*/
|
|
40
|
-
const he = [
|
|
41
|
-
[
|
|
42
|
-
"path",
|
|
43
|
-
{
|
|
44
|
-
d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",
|
|
45
|
-
key: "10ikf1"
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
], ke = _("play", he);
|
|
49
|
-
function ve(n, o) {
|
|
50
|
-
switch (o.type) {
|
|
51
|
-
case "request":
|
|
52
|
-
return { kind: "requesting" };
|
|
53
|
-
case "start":
|
|
54
|
-
return { kind: "recording", startedAt: Date.now(), pausedMs: 0 };
|
|
55
|
-
case "pause":
|
|
56
|
-
return n.kind !== "recording" ? n : {
|
|
57
|
-
kind: "paused",
|
|
58
|
-
startedAt: n.startedAt,
|
|
59
|
-
pausedMs: n.pausedMs,
|
|
60
|
-
pausedAt: Date.now()
|
|
61
|
-
};
|
|
62
|
-
case "resume":
|
|
63
|
-
return n.kind !== "paused" ? n : {
|
|
64
|
-
kind: "recording",
|
|
65
|
-
startedAt: n.startedAt,
|
|
66
|
-
pausedMs: n.pausedMs + (Date.now() - n.pausedAt)
|
|
67
|
-
};
|
|
68
|
-
case "stop":
|
|
69
|
-
return { kind: "stopped", duration: o.duration };
|
|
70
|
-
case "cancel":
|
|
71
|
-
return { kind: "idle" };
|
|
72
|
-
case "error":
|
|
73
|
-
return { kind: "error", type: o.kind };
|
|
74
|
-
case "reset":
|
|
75
|
-
return { kind: "idle" };
|
|
76
|
-
default:
|
|
77
|
-
return n;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
const ye = ae(
|
|
81
|
-
[
|
|
82
|
-
"ds:inline-flex ds:flex-col ds:items-stretch ds:gap-[var(--spacing-sm)]",
|
|
83
|
-
"ds:rounded-[var(--radius-md)] ds:border ds:border-border",
|
|
84
|
-
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]",
|
|
85
|
-
"ds:bg-background"
|
|
86
|
-
].join(" "),
|
|
87
|
-
{
|
|
88
|
-
variants: {
|
|
89
|
-
size: {
|
|
90
|
-
sm: "",
|
|
91
|
-
md: "",
|
|
92
|
-
lg: ""
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
defaultVariants: { size: "md" }
|
|
96
|
-
}
|
|
97
|
-
), ge = [
|
|
98
|
-
"audio/webm;codecs=opus",
|
|
99
|
-
"audio/webm",
|
|
100
|
-
"audio/mp4",
|
|
101
|
-
"audio/ogg;codecs=opus"
|
|
102
|
-
];
|
|
103
|
-
function be() {
|
|
104
|
-
if (!(typeof MediaRecorder > "u")) {
|
|
105
|
-
for (const n of ge)
|
|
106
|
-
if (MediaRecorder.isTypeSupported(n)) return n;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
function we(n, o) {
|
|
110
|
-
const p = Math.max(0, Math.floor(n / 1e3)), s = Math.floor(p / 60), f = p % 60, v = (z) => new Intl.NumberFormat(o, { minimumIntegerDigits: 2 }).format(z);
|
|
111
|
-
return `${v(s)}:${v(f)}`;
|
|
112
|
-
}
|
|
113
|
-
const Me = re(
|
|
114
|
-
({
|
|
115
|
-
size: n = "md",
|
|
116
|
-
onRecordingComplete: o,
|
|
117
|
-
onCancel: p,
|
|
118
|
-
onError: s,
|
|
119
|
-
maxDurationMs: f = 1800 * 1e3,
|
|
120
|
-
maxBytes: v = 250 * 1024 * 1024,
|
|
121
|
-
className: z,
|
|
122
|
-
...X
|
|
123
|
-
}, C) => {
|
|
124
|
-
const { t: d, i18n: G } = ne(), [t, l] = ie(ve, { kind: "idle" }), [R, S] = x(null), [H, J] = x(Date.now()), [K, Q] = x([]), [w, W] = x(""), c = m(null), y = m([]), I = m(0), j = m(0), h = m(null), q = m(!1), M = m(!1), g = typeof MediaRecorder < "u";
|
|
125
|
-
N(() => {
|
|
126
|
-
var e;
|
|
127
|
-
!g || !((e = navigator.mediaDevices) != null && e.enumerateDevices) || navigator.mediaDevices.enumerateDevices().then((i) => {
|
|
128
|
-
const u = i.filter((a) => a.kind === "audioinput");
|
|
129
|
-
Q(u);
|
|
130
|
-
}).catch(() => {
|
|
131
|
-
});
|
|
132
|
-
}, [g]), N(() => {
|
|
133
|
-
if (t.kind !== "recording") return;
|
|
134
|
-
const e = window.setInterval(() => J(Date.now()), 250);
|
|
135
|
-
return () => window.clearInterval(e);
|
|
136
|
-
}, [t.kind]);
|
|
137
|
-
const F = k(() => {
|
|
138
|
-
const e = h.current ?? R;
|
|
139
|
-
e == null || e.getTracks().forEach((i) => i.stop()), h.current = null, S(null);
|
|
140
|
-
}, [R]), P = k(async () => {
|
|
141
|
-
if (!g) {
|
|
142
|
-
l({ type: "error", kind: "unsupported" }), s == null || s("unsupported");
|
|
143
|
-
return;
|
|
144
|
-
}
|
|
145
|
-
l({ type: "request" }), M.current = !1;
|
|
146
|
-
try {
|
|
147
|
-
const e = await navigator.mediaDevices.getUserMedia({
|
|
148
|
-
audio: w ? { deviceId: { exact: w } } : !0
|
|
149
|
-
});
|
|
150
|
-
if (q.current) {
|
|
151
|
-
e.getTracks().forEach((a) => a.stop());
|
|
152
|
-
return;
|
|
153
|
-
}
|
|
154
|
-
h.current = e, S(e);
|
|
155
|
-
const i = be(), u = new MediaRecorder(
|
|
156
|
-
e,
|
|
157
|
-
i ? { mimeType: i } : void 0
|
|
158
|
-
);
|
|
159
|
-
c.current = u, y.current = [], I.current = 0, u.ondataavailable = (a) => {
|
|
160
|
-
var L;
|
|
161
|
-
if (a.data && a.data.size > 0 && (y.current.push(a.data), I.current += a.data.size, typeof v == "number" && I.current >= v && ((L = c.current) == null ? void 0 : L.state) === "recording")) {
|
|
162
|
-
s == null || s("max-size");
|
|
163
|
-
try {
|
|
164
|
-
c.current.stop();
|
|
165
|
-
} catch {
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}, u.onstop = () => {
|
|
169
|
-
if (!M.current) {
|
|
170
|
-
const a = new Blob(y.current, {
|
|
171
|
-
type: i ?? "audio/webm"
|
|
172
|
-
});
|
|
173
|
-
o == null || o(a, j.current);
|
|
174
|
-
}
|
|
175
|
-
y.current = [], c.current = null, e.getTracks().forEach((a) => a.stop()), h.current = null, S(null), M.current = !1;
|
|
176
|
-
}, u.start(1e3), l({ type: "start" });
|
|
177
|
-
} catch (e) {
|
|
178
|
-
const i = e instanceof Error ? e.name : "";
|
|
179
|
-
i === "NotAllowedError" || i === "SecurityError" ? (l({ type: "error", kind: "permission-denied" }), s == null || s("permission-denied")) : i === "NotFoundError" || i === "OverconstrainedError" ? (l({ type: "error", kind: "no-device" }), s == null || s("no-device")) : (l({ type: "error", kind: "capture-failed" }), s == null || s("capture-failed"));
|
|
180
|
-
}
|
|
181
|
-
}, [s, o, w, g]), Y = k(() => {
|
|
182
|
-
var e;
|
|
183
|
-
(e = c.current) == null || e.pause(), l({ type: "pause" });
|
|
184
|
-
}, []), Z = k(() => {
|
|
185
|
-
var e;
|
|
186
|
-
(e = c.current) == null || e.resume(), l({ type: "resume" });
|
|
187
|
-
}, []), E = k(() => {
|
|
188
|
-
var e;
|
|
189
|
-
if (t.kind === "recording" || t.kind === "paused") {
|
|
190
|
-
const i = t.startedAt, u = t.pausedMs, a = Date.now() - i - u;
|
|
191
|
-
j.current = Math.max(0, a), l({ type: "stop", duration: a });
|
|
192
|
-
}
|
|
193
|
-
try {
|
|
194
|
-
(e = c.current) == null || e.stop();
|
|
195
|
-
} catch {
|
|
196
|
-
}
|
|
197
|
-
}, [t]), ee = k(() => {
|
|
198
|
-
var e;
|
|
199
|
-
M.current = !0;
|
|
200
|
-
try {
|
|
201
|
-
(e = c.current) == null || e.stop();
|
|
202
|
-
} catch {
|
|
203
|
-
}
|
|
204
|
-
y.current = [], c.current = null, F(), l({ type: "cancel" }), p == null || p();
|
|
205
|
-
}, [F, p]);
|
|
206
|
-
N(() => {
|
|
207
|
-
if (t.kind !== "recording" || typeof f != "number" || f <= 0) return;
|
|
208
|
-
const e = Date.now() - t.startedAt - t.pausedMs, i = Math.max(0, f - e), u = window.setTimeout(() => {
|
|
209
|
-
var a;
|
|
210
|
-
if (((a = c.current) == null ? void 0 : a.state) === "recording") {
|
|
211
|
-
s == null || s("max-duration");
|
|
212
|
-
try {
|
|
213
|
-
c.current.stop();
|
|
214
|
-
} catch {
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}, i);
|
|
218
|
-
return () => window.clearTimeout(u);
|
|
219
|
-
}, [t, f, s]), N(() => () => {
|
|
220
|
-
var e, i;
|
|
221
|
-
q.current = !0;
|
|
222
|
-
try {
|
|
223
|
-
(e = c.current) == null || e.stop();
|
|
224
|
-
} catch {
|
|
225
|
-
}
|
|
226
|
-
(i = h.current) == null || i.getTracks().forEach((u) => u.stop()), h.current = null;
|
|
227
|
-
}, []);
|
|
228
|
-
const te = t.kind === "recording" ? H - t.startedAt - t.pausedMs : t.kind === "paused" ? t.pausedAt - t.startedAt - t.pausedMs : t.kind === "stopped" ? t.duration : 0, V = K.map((e) => ({
|
|
229
|
-
value: e.deviceId,
|
|
230
|
-
label: e.label || d("ui.chat.audio.selectDevice")
|
|
231
|
-
})), $ = (() => {
|
|
232
|
-
switch (t.kind) {
|
|
233
|
-
case "idle":
|
|
234
|
-
return d("ui.chat.audio.idle");
|
|
235
|
-
case "requesting":
|
|
236
|
-
return d("ui.common.loading");
|
|
237
|
-
case "recording":
|
|
238
|
-
return d("ui.chat.audio.recording");
|
|
239
|
-
case "paused":
|
|
240
|
-
return d("ui.chat.audio.paused");
|
|
241
|
-
case "stopped":
|
|
242
|
-
return d("ui.chat.audio.idle");
|
|
243
|
-
case "error":
|
|
244
|
-
return t.type === "permission-denied" ? d("ui.chat.audio.permissionDenied") : t.type === "unsupported" ? d("ui.chat.audio.unsupported") : d("ui.chat.audio.idle");
|
|
245
|
-
}
|
|
246
|
-
})(), A = t.kind === "recording", B = t.kind === "paused", O = t.kind === "error";
|
|
247
|
-
return /* @__PURE__ */ b(
|
|
248
|
-
"div",
|
|
249
|
-
{
|
|
250
|
-
ref: C,
|
|
251
|
-
"data-component": "audio-recorder",
|
|
252
|
-
className: ye({ size: n, className: z }),
|
|
253
|
-
...X,
|
|
254
|
-
children: [
|
|
255
|
-
/* @__PURE__ */ b("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
256
|
-
/* @__PURE__ */ r(
|
|
257
|
-
"span",
|
|
258
|
-
{
|
|
259
|
-
"aria-hidden": "true",
|
|
260
|
-
className: [
|
|
261
|
-
"ds:relative ds:inline-flex ds:size-3 ds:items-center ds:justify-center ds:rounded-[var(--radius-full)]",
|
|
262
|
-
A ? "ds:bg-[color:var(--destructive)]" : "ds:bg-[color:var(--muted)]"
|
|
263
|
-
].join(" "),
|
|
264
|
-
children: A ? /* @__PURE__ */ r(
|
|
265
|
-
"span",
|
|
266
|
-
{
|
|
267
|
-
className: [
|
|
268
|
-
"ds:absolute ds:inset-0 ds:rounded-[var(--radius-full)]",
|
|
269
|
-
"ds:bg-[color:var(--destructive)]",
|
|
270
|
-
"ds:motion-safe:animate-[recorder-pulse_1.2s_ease-out_infinite]",
|
|
271
|
-
"ds:[.theme-accessible_&]:animate-none"
|
|
272
|
-
].join(" ")
|
|
273
|
-
}
|
|
274
|
-
) : null
|
|
275
|
-
}
|
|
276
|
-
),
|
|
277
|
-
/* @__PURE__ */ r(
|
|
278
|
-
ce,
|
|
279
|
-
{
|
|
280
|
-
stream: R,
|
|
281
|
-
size: "sm",
|
|
282
|
-
"aria-hidden": "true",
|
|
283
|
-
className: "ds:flex-1"
|
|
284
|
-
}
|
|
285
|
-
),
|
|
286
|
-
/* @__PURE__ */ r(
|
|
287
|
-
"time",
|
|
288
|
-
{
|
|
289
|
-
dir: "ltr",
|
|
290
|
-
"aria-hidden": "true",
|
|
291
|
-
className: "ds:tabular-nums type-meta ds:text-[color:var(--muted-foreground)]",
|
|
292
|
-
children: we(te, G.language)
|
|
293
|
-
}
|
|
294
|
-
)
|
|
295
|
-
] }),
|
|
296
|
-
/* @__PURE__ */ r("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: $ }),
|
|
297
|
-
/* @__PURE__ */ b("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
298
|
-
t.kind === "idle" || t.kind === "stopped" || O ? /* @__PURE__ */ r(
|
|
299
|
-
U,
|
|
300
|
-
{
|
|
301
|
-
intent: "primary",
|
|
302
|
-
size: "sm",
|
|
303
|
-
startIcon: /* @__PURE__ */ r(pe, {}),
|
|
304
|
-
onClick: P,
|
|
305
|
-
disabled: !g,
|
|
306
|
-
children: d("ui.chat.audio.record")
|
|
307
|
-
}
|
|
308
|
-
) : null,
|
|
309
|
-
A ? /* @__PURE__ */ r(
|
|
310
|
-
D,
|
|
311
|
-
{
|
|
312
|
-
icon: /* @__PURE__ */ r(fe, {}),
|
|
313
|
-
"aria-label": d("ui.chat.audio.pause"),
|
|
314
|
-
intent: "secondary",
|
|
315
|
-
size: "sm",
|
|
316
|
-
onClick: Y
|
|
317
|
-
}
|
|
318
|
-
) : null,
|
|
319
|
-
B ? /* @__PURE__ */ r(
|
|
320
|
-
D,
|
|
321
|
-
{
|
|
322
|
-
icon: /* @__PURE__ */ r(ke, {}),
|
|
323
|
-
"aria-label": d("ui.chat.audio.resume"),
|
|
324
|
-
intent: "secondary",
|
|
325
|
-
size: "sm",
|
|
326
|
-
onClick: Z
|
|
327
|
-
}
|
|
328
|
-
) : null,
|
|
329
|
-
A || B ? /* @__PURE__ */ b(se, { children: [
|
|
330
|
-
/* @__PURE__ */ r(
|
|
331
|
-
D,
|
|
332
|
-
{
|
|
333
|
-
icon: /* @__PURE__ */ r(ue, {}),
|
|
334
|
-
"aria-label": d("ui.chat.audio.stop"),
|
|
335
|
-
intent: "primary",
|
|
336
|
-
size: "sm",
|
|
337
|
-
onClick: E
|
|
338
|
-
}
|
|
339
|
-
),
|
|
340
|
-
/* @__PURE__ */ r(
|
|
341
|
-
D,
|
|
342
|
-
{
|
|
343
|
-
icon: /* @__PURE__ */ r(oe, {}),
|
|
344
|
-
"aria-label": d("ui.chat.audio.cancel"),
|
|
345
|
-
intent: "ghost",
|
|
346
|
-
size: "sm",
|
|
347
|
-
onClick: ee
|
|
348
|
-
}
|
|
349
|
-
)
|
|
350
|
-
] }) : null,
|
|
351
|
-
t.kind === "idle" && V.length > 1 ? /* @__PURE__ */ r("div", { className: "ds:ms-auto ds:min-w-[160px]", children: /* @__PURE__ */ r(
|
|
352
|
-
de,
|
|
353
|
-
{
|
|
354
|
-
"aria-label": d("ui.chat.audio.selectDevice"),
|
|
355
|
-
options: V,
|
|
356
|
-
value: w,
|
|
357
|
-
onValueChange: (e) => W(e),
|
|
358
|
-
size: "sm",
|
|
359
|
-
clearable: !0
|
|
360
|
-
}
|
|
361
|
-
) }) : null
|
|
362
|
-
] }),
|
|
363
|
-
O && t.kind === "error" ? /* @__PURE__ */ b(T, { variant: "error", live: "polite", children: [
|
|
364
|
-
/* @__PURE__ */ r(T.Description, { children: $ }),
|
|
365
|
-
t.type === "permission-denied" ? /* @__PURE__ */ r(T.Action, { children: /* @__PURE__ */ r(U, { intent: "ghost", size: "sm", onClick: P, children: d("ui.chat.audio.retry") }) }) : null
|
|
366
|
-
] }) : null
|
|
367
|
-
]
|
|
368
|
-
}
|
|
369
|
-
);
|
|
370
|
-
}
|
|
371
|
-
);
|
|
372
|
-
Me.displayName = "AudioRecorder";
|
|
373
|
-
export {
|
|
374
|
-
Me as A
|
|
375
|
-
};
|
|
376
|
-
//# sourceMappingURL=audio-recorder-B-8SKgKn.js.map
|