@alfadocs/ui-kit 0.1.10 → 0.2.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/_chunks/accordion-DOmxGEWU.js +228 -0
- package/dist/_chunks/{agenda-card-DwLIxgi7.js → agenda-card-CalZqycc.js} +12 -3
- package/dist/_chunks/{agenda-tray-DUvengGQ.js → agenda-tray-3ffFDQZC.js} +54 -51
- package/dist/_chunks/{ai-prompt-input.agent-0NHYLTWD.js → ai-prompt-input-BBiDlEIS.js} +231 -231
- package/dist/_chunks/{alert-BlOUMkXj.js → alert-B1sj8Ss0.js} +24 -14
- package/dist/_chunks/{apexcharts-theme-BkSShpEy.js → apexcharts-theme-BJigns_V.js} +7 -2
- package/dist/_chunks/{app-frame-6d7Lu4ea.js → app-frame-CDJOgPXe.js} +7 -16
- package/dist/_chunks/{audio-recorder.agent--VKeykUp.js → audio-recorder-B4U1LuiQ.js} +161 -162
- package/dist/_chunks/{audio-visualiser-CeMPCZkd.js → audio-visualiser-ByDEFLNm.js} +25 -19
- package/dist/_chunks/autocomplete-D4oUZbsP.js +466 -0
- package/dist/_chunks/{badge-mrstWxve.js → badge-DKFbntoa.js} +16 -13
- package/dist/_chunks/{balance-cell-renderer-5CA7zpAi.js → balance-cell-renderer-B8zgIM-m.js} +63 -44
- package/dist/_chunks/{breadcrumb.agent-GM2hAKFX.js → breadcrumb-D1snXjPb.js} +165 -157
- package/dist/_chunks/{button-7mLWcMp_.js → button-DD_0Xdmr.js} +12 -2
- package/dist/_chunks/{calendar-nGEgelJs.js → calendar-zy0tUUVG.js} +13 -18
- package/dist/_chunks/{card-BEy58ZKp.js → card-CWzuTLYE.js} +40 -34
- package/dist/_chunks/{chart.agent-_pRYS17d.js → chart-BLvFl169.js} +147 -131
- package/dist/_chunks/chat-container-ClzsWXp2.js +220 -0
- package/dist/_chunks/chat-input-DOlsB1fm.js +333 -0
- package/dist/_chunks/{chat-message-ByouZpPP.js → chat-message-DoAhgUTj.js} +23 -13
- package/dist/_chunks/{collapsible.agent-DkS1jVyn.js → collapsible-CuxUBoHJ.js} +97 -99
- package/dist/_chunks/{color-picker-94qcBZqZ.js → color-picker-CTIcHlDF.js} +111 -45
- package/dist/_chunks/combobox-DCNXqbC7.js +460 -0
- package/dist/_chunks/command-palette-C_vgSgrI.js +441 -0
- package/dist/_chunks/{date-picker-BqPTn7bO.js → date-picker-B1PO1ZQP.js} +190 -181
- package/dist/_chunks/{date-range-picker-B2hGsffw.js → date-range-picker-mix2nEVC.js} +21 -8
- package/dist/_chunks/{date-time-picker-Bzt0S8yO.js → date-time-picker-Dnong_BY.js} +30 -15
- package/dist/_chunks/{description-list-DvJbp6Yg.js → description-list-BYA77Yud.js} +26 -23
- package/dist/_chunks/dialog-BPD7wlGE.js +211 -0
- package/dist/_chunks/dropdown-menu-CpiF6CPz.js +300 -0
- package/dist/_chunks/{empty-state-DQPtRp2b.js → empty-state-3CLJIXSj.js} +132 -101
- package/dist/_chunks/file-upload-C947ACDK.js +829 -0
- package/dist/_chunks/{floating-action-button-Cnw-f6AG.js → floating-action-button-C8OYj8mE.js} +9 -2
- package/dist/_chunks/{form-field-BfsPLTSc.js → form-field-Bmkeh7WY.js} +12 -11
- package/dist/_chunks/{form-field-context-94LwgYTQ.js → form-field-context-B3APVHKx.js} +4 -2
- package/dist/_chunks/{freemium-paywall.agent-_nQqLyRF.js → freemium-paywall-CnvceDav.js} +124 -117
- package/dist/_chunks/{header-BGn1mRp8.js → header-D0ULgQl3.js} +69 -68
- package/dist/_chunks/{icon-button-Wnnde5lc.js → icon-button-C4CGcYuz.js} +11 -3
- package/dist/_chunks/{kbd-8baVw3KU.js → kbd-Cglkd7CY.js} +6 -2
- package/dist/_chunks/{key-value-pair-JRFS9Xrh.js → key-value-pair-CgWvAIGb.js} +2 -2
- package/dist/_chunks/{leo-sidebar-BwINPdix.js → leo-sidebar-CfEY-xi2.js} +16 -20
- package/dist/_chunks/{link-QheANk74.js → link-8QmFjIz2.js} +2 -5
- package/dist/_chunks/list-qP6p0NTw.js +434 -0
- package/dist/_chunks/{logo-BpFoCL-s.js → logo-_Z-jLq80.js} +155 -26
- package/dist/_chunks/{matrix-rain-BEkvux64.js → matrix-rain-CRPMXcVx.js} +8 -2
- package/dist/_chunks/{message-card-qhoGv947.js → message-card-ChCX9Iv6.js} +63 -60
- package/dist/_chunks/{message-tray-xHUCra-Y.js → message-tray-n8q9ITXI.js} +71 -76
- package/dist/_chunks/{multi-select.agent-Do6CeQUT.js → multi-select-wqqrgjUQ.js} +326 -291
- package/dist/_chunks/{navigation-menu.agent-D69ND6Qq.js → navigation-menu-ClbHeawy.js} +136 -123
- package/dist/_chunks/{notification-card-CsVEYJE-.js → notification-card-hBlPN1-c.js} +3 -3
- package/dist/_chunks/{notification-tray-DTXMq42J.js → notification-tray-C5cnXbl9.js} +70 -66
- package/dist/_chunks/{number-input-fvGmnRy9.js → number-input-Q7wkHnvQ.js} +7 -3
- package/dist/_chunks/{otp-input-EglXOUue.js → otp-input-C9gUByF0.js} +6 -3
- package/dist/_chunks/{pagination.agent-BkZQl45y.js → pagination-3AC4zTsi.js} +234 -194
- package/dist/_chunks/{password-input-D6kuYXmr.js → password-input-C4LmjIH1.js} +6 -9
- package/dist/_chunks/{patient-shell-BRmrrUUW.js → patient-shell-BlsEUKWB.js} +10 -15
- package/dist/_chunks/{payment-form-BWaXas8z.js → payment-form-C3vT_npe.js} +195 -186
- package/dist/_chunks/{pdf-viewer.agent-BaGEDheA.js → pdf-viewer-CZIfY08H.js} +270 -241
- package/dist/_chunks/{phone-input-C8Op4sEc.js → phone-input-CSHJOJ13.js} +4 -9
- package/dist/_chunks/popover-DekUKNBk.js +293 -0
- package/dist/_chunks/{privacy-lock.agent-C1i1-T58.js → privacy-lock-BKsI6ReN.js} +117 -109
- package/dist/_chunks/progress-C11tqhoI.js +298 -0
- package/dist/_chunks/{recaptcha-widget.agent-BGHpU5zD.js → recaptcha-widget-NyfOfLII.js} +95 -86
- package/dist/_chunks/resizable-mpXXyIsN.js +483 -0
- package/dist/_chunks/{rich-text-editor.agent-DnE125Tz.js → rich-text-editor-C7TCIlQO.js} +298 -209
- package/dist/_chunks/{scroll-area-DLr5w9Dd.js → scroll-area-DEDU-lp-.js} +67 -54
- package/dist/_chunks/{search-bar.agent-DxFAxctc.js → search-bar-BTDfgYtg.js} +291 -268
- package/dist/_chunks/{search-input-Xw3cdWXW.js → search-input-CdJIEjFo.js} +116 -107
- package/dist/_chunks/{select-DY1Cb2Tg.js → select-y6bXV1f1.js} +84 -83
- package/dist/_chunks/{separator-B4wXDLNC.js → separator-CYU_bGFn.js} +2 -5
- package/dist/_chunks/{sheet-B9kH9pcI.js → sheet-4tgMFwj0.js} +135 -60
- package/dist/_chunks/{sidebar-CHF5xr_P.js → sidebar-Bx3wCDyy.js} +546 -457
- package/dist/_chunks/{sign-in-with-alfadocs-button-BN_FPGHT.js → sign-in-with-alfadocs-button-B9UrqOqH.js} +9 -5
- package/dist/_chunks/{signature-capture.agent-BpeDwFht.js → signature-capture-DjMlFOzS.js} +210 -212
- package/dist/_chunks/{skeleton-dtqyF09N.js → skeleton-CZbwyJAA.js} +9 -3
- package/dist/_chunks/{slider-CcsQTZTA.js → slider-BT2bZWsy.js} +138 -134
- package/dist/_chunks/{slot-grid-D_l5VsHG.js → slot-grid-CgpYgBkW.js} +105 -95
- package/dist/_chunks/{sparkline.agent-56Sj7nOP.js → sparkline-_gy8aJDG.js} +107 -100
- package/dist/_chunks/{spinner-GCcv67vh.js → spinner-DLaYfLPl.js} +66 -14
- package/dist/_chunks/{stat-DUB6g90R.js → stat-B9PHSPbN.js} +45 -27
- package/dist/_chunks/{stepper-calendar.agent-9iT3ClIB.js → stepper-calendar-BLOJUE0-.js} +189 -187
- package/dist/_chunks/stepper-progress-jFY8BSf7.js +208 -0
- package/dist/_chunks/{suggestion-chip-DhFrkRPj.js → suggestion-chip-C4Jz0LrM.js} +50 -52
- package/dist/_chunks/{switch-BYEH8I53.js → switch-C0psfIQF.js} +2 -2
- package/dist/_chunks/{tabs.agent-h7NvsTR1.js → tabs-DaFA3Muo.js} +183 -155
- package/dist/_chunks/{tag-BqidXKo3.js → tag-DuLMjRbF.js} +90 -32
- package/dist/_chunks/{task-card-CY5ztNkU.js → task-card-Dw_ZJDL8.js} +5 -2
- package/dist/_chunks/{task-tray-CCoUdorl.js → task-tray-XlIW9ueh.js} +50 -49
- package/dist/_chunks/{text-area-C_M8wliK.js → text-area-CO9Dz0qX.js} +2 -2
- package/dist/_chunks/{text-input-BX39e6T6.js → text-input-DZwt9L8H.js} +65 -62
- package/dist/_chunks/{theme-root-DDb0TJjd.js → theme-root-CSKD5ZRm.js} +9 -2
- package/dist/_chunks/{theme-toggle.agent-btmXTWdW.js → theme-toggle-B9zzCnvl.js} +179 -177
- package/dist/_chunks/{time-picker-B8AMIrX7.js → time-picker-DvPUmHH-.js} +95 -93
- package/dist/_chunks/{timeline.agent-CRPza9wc.js → timeline-BvmnQadS.js} +96 -96
- package/dist/_chunks/{toast.agent-BjEGuq1Z.js → toast.agent-BwKXA0km.js} +46 -8
- package/dist/_chunks/{tooth-scheme.agent-CWrQBjJM.js → tooth-scheme-3mITSXiZ.js} +146 -162
- package/dist/_chunks/{transcript-panel.agent-BXEYP6w-.js → transcript-panel-Bx5ANMsv.js} +110 -101
- package/dist/_chunks/{typing-indicator-CbUBf-Dx.js → typing-indicator-BZ5jXZPn.js} +27 -5
- package/dist/_chunks/{use-theme-BMUhembX.js → use-theme-B1cwAXJR.js} +2 -5
- package/dist/_chunks/{visually-hidden-Bw7vBHLm.js → visually-hidden-BHxEUGyT.js} +11 -2
- package/dist/_chunks/{warning-stack-8Pa3pekh.js → warning-stack-VygGHSqC.js} +11 -13
- package/dist/_chunks/{workflow-map-D2A7rTEG.js → workflow-map-C-nlogPC.js} +430 -452
- package/dist/agent-catalog.json +580 -15
- package/dist/components/_shared/index.d.ts +2 -2
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/accordion/index.js +5 -6
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/agenda-tray.d.ts +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/audio-visualiser/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/badge/index.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/chart/index.d.ts +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/chat-container.d.ts +1 -1
- package/dist/components/chat-container/index.js +2 -3
- package/dist/components/chat-input/chat-input.d.ts +1 -1
- package/dist/components/chat-input/index.js +3 -4
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox-group/index.d.ts +1 -1
- package/dist/components/collapsible/collapsible.d.ts +1 -1
- package/dist/components/collapsible/index.d.ts +1 -1
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/command-palette.d.ts +46 -13
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/data-table/data-table.d.ts +3 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/data-table/toolbar.d.ts +6 -5
- package/dist/components/date-picker/date-picker.d.ts +1 -1
- package/dist/components/date-picker/index.d.ts +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.d.ts +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/description-list/description-list.d.ts +1 -2
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dialog/dialog.d.ts +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +11 -16
- package/dist/components/dropdown-menu/index.js +3 -4
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/file-upload/index.d.ts +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/floating-action-button/index.js +1 -1
- package/dist/components/form-field/index.js +2 -2
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/kbd/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/list/index.js +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/matrix-rain/index.js +1 -1
- package/dist/components/message-card/index.d.ts +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/message-tray/message-tray.d.ts +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/navigation-menu/navigation-menu.d.ts +1 -1
- package/dist/components/notification-card/index.d.ts +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/notification-tray/notification-tray.d.ts +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/pagination.d.ts +4 -6
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/payment-form/index.js +7 -8
- package/dist/components/payment-form/payment-form.d.ts +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/phone-input/index.d.ts +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +3 -4
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/privacy-lock/privacy-lock.d.ts +1 -1
- package/dist/components/progress/index.js +3 -4
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/resizable/index.d.ts +1 -1
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-bar/search-bar.d.ts +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/separator/index.js +1 -1
- package/dist/components/sheet/index.js +3 -4
- package/dist/components/sheet/sheet.d.ts +2 -2
- package/dist/components/sidebar/index.js +7 -8
- package/dist/components/sidebar/sidebar.d.ts +0 -2
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stepper-calendar/index.js +1 -1
- package/dist/components/stepper-calendar/stepper-calendar.d.ts +1 -1
- package/dist/components/stepper-progress/index.d.ts +1 -1
- package/dist/components/stepper-progress/index.js +1 -2
- package/dist/components/stepper-progress/stepper-progress.d.ts +1 -1
- package/dist/components/suggestion-chip/index.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/task-tray/task-tray.d.ts +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-root/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/theme-toggle/theme-toggle.d.ts +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/time-picker/time-picker.d.ts +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/timeline/timeline.d.ts +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/transcript-panel/transcript-panel.d.ts +1 -1
- package/dist/components/typing-indicator/index.js +1 -1
- package/dist/components/visually-hidden/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow/workflow-editor.d.ts +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.js +392 -402
- package/dist/patterns/leo-assistant/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/safe-html/index.js +20 -3
- package/dist/tokens.css +2 -2
- package/package.json +8 -6
- package/dist/_chunks/accordion-BEnrZmAn.js +0 -120
- package/dist/_chunks/accordion-BEnrZmAn.js.map +0 -1
- package/dist/_chunks/accordion.agent-BTjeO1Sx.js +0 -52
- package/dist/_chunks/accordion.agent-BTjeO1Sx.js.map +0 -1
- package/dist/_chunks/agenda-card-DwLIxgi7.js.map +0 -1
- package/dist/_chunks/agenda-card.agent-B_R47-c9.js.map +0 -1
- package/dist/_chunks/agenda-tray-DUvengGQ.js.map +0 -1
- package/dist/_chunks/ai-prompt-input.agent-0NHYLTWD.js.map +0 -1
- package/dist/_chunks/alert-BlOUMkXj.js.map +0 -1
- package/dist/_chunks/apexcharts-theme-BkSShpEy.js.map +0 -1
- package/dist/_chunks/app-frame-6d7Lu4ea.js.map +0 -1
- package/dist/_chunks/aspect-ratio-DeSNzASA.js.map +0 -1
- package/dist/_chunks/audio-recorder.agent--VKeykUp.js.map +0 -1
- package/dist/_chunks/audio-visualiser-CeMPCZkd.js.map +0 -1
- package/dist/_chunks/autocomplete.agent-Dh7KioS6.js +0 -432
- package/dist/_chunks/autocomplete.agent-Dh7KioS6.js.map +0 -1
- package/dist/_chunks/avatar-Dcr6XuDQ.js.map +0 -1
- package/dist/_chunks/badge-mrstWxve.js.map +0 -1
- package/dist/_chunks/balance-cell-renderer-5CA7zpAi.js.map +0 -1
- package/dist/_chunks/breadcrumb.agent-GM2hAKFX.js.map +0 -1
- package/dist/_chunks/button-7mLWcMp_.js.map +0 -1
- package/dist/_chunks/button-group-CONver7M.js.map +0 -1
- package/dist/_chunks/button.agent-BuGZBktn.js.map +0 -1
- package/dist/_chunks/calendar-nGEgelJs.js.map +0 -1
- package/dist/_chunks/card-BEy58ZKp.js.map +0 -1
- package/dist/_chunks/chart.agent-_pRYS17d.js.map +0 -1
- package/dist/_chunks/chat-container-Dl0Kfy5a.js +0 -175
- package/dist/_chunks/chat-container-Dl0Kfy5a.js.map +0 -1
- package/dist/_chunks/chat-container.agent-CM4WModE.js +0 -27
- package/dist/_chunks/chat-container.agent-CM4WModE.js.map +0 -1
- package/dist/_chunks/chat-input-C_tMQv92.js +0 -252
- package/dist/_chunks/chat-input-C_tMQv92.js.map +0 -1
- package/dist/_chunks/chat-input.agent-Bsz3ckGa.js +0 -69
- package/dist/_chunks/chat-input.agent-Bsz3ckGa.js.map +0 -1
- package/dist/_chunks/chat-message-ByouZpPP.js.map +0 -1
- package/dist/_chunks/check-DPdL_Sm7.js.map +0 -1
- package/dist/_chunks/checkbox-CtPM6Rup.js.map +0 -1
- package/dist/_chunks/checkbox-group-BTdEB6Yo.js.map +0 -1
- package/dist/_chunks/chevron-down-BX_NP2Yh.js.map +0 -1
- package/dist/_chunks/chevron-left-CX1jqD2M.js.map +0 -1
- package/dist/_chunks/chevron-right-BrpYejk0.js.map +0 -1
- package/dist/_chunks/chevron-up-zOEDrmBB.js.map +0 -1
- package/dist/_chunks/chevrons-right-d9MwesPG.js.map +0 -1
- package/dist/_chunks/circle-BkqTgYmt.js.map +0 -1
- package/dist/_chunks/circle-alert-ChA9opNA.js.map +0 -1
- package/dist/_chunks/circle-check-9AeSgJD_.js.map +0 -1
- package/dist/_chunks/circle-x-Du2CmjaU.js.map +0 -1
- package/dist/_chunks/clock-21AGPWJ5.js.map +0 -1
- package/dist/_chunks/collapsible.agent-DkS1jVyn.js.map +0 -1
- package/dist/_chunks/color-picker-94qcBZqZ.js.map +0 -1
- package/dist/_chunks/combobox.agent-CAvUkkIe.js +0 -410
- package/dist/_chunks/combobox.agent-CAvUkkIe.js.map +0 -1
- package/dist/_chunks/command-palette.agent-HatEt_EM.js +0 -391
- package/dist/_chunks/command-palette.agent-HatEt_EM.js.map +0 -1
- package/dist/_chunks/compose-refs-C0k0tdqF.js.map +0 -1
- package/dist/_chunks/copy-B00HK7tj.js.map +0 -1
- package/dist/_chunks/createLucideIcon-CrFbzy84.js.map +0 -1
- package/dist/_chunks/date-picker-BqPTn7bO.js.map +0 -1
- package/dist/_chunks/date-range-picker-B2hGsffw.js.map +0 -1
- package/dist/_chunks/date-time-picker-Bzt0S8yO.js.map +0 -1
- package/dist/_chunks/description-list-DvJbp6Yg.js.map +0 -1
- package/dist/_chunks/dialog.agent-Daf1TTko.js +0 -179
- package/dist/_chunks/dialog.agent-Daf1TTko.js.map +0 -1
- package/dist/_chunks/dropdown-menu-C7AZipNz.js +0 -219
- package/dist/_chunks/dropdown-menu-C7AZipNz.js.map +0 -1
- package/dist/_chunks/dropdown-menu.agent-BcxIKOjK.js +0 -43
- package/dist/_chunks/dropdown-menu.agent-BcxIKOjK.js.map +0 -1
- package/dist/_chunks/ellipsis-rgGdiK_9.js.map +0 -1
- package/dist/_chunks/empty-state-DQPtRp2b.js.map +0 -1
- package/dist/_chunks/eye-off-xEXDAh5z.js.map +0 -1
- package/dist/_chunks/file-text-DSNuv2B8.js.map +0 -1
- package/dist/_chunks/file-upload.agent-DJaH2dHg.js +0 -681
- package/dist/_chunks/file-upload.agent-DJaH2dHg.js.map +0 -1
- package/dist/_chunks/flag-DZ6V7-hU.js.map +0 -1
- package/dist/_chunks/floating-action-button-Cnw-f6AG.js.map +0 -1
- package/dist/_chunks/form-field-BfsPLTSc.js.map +0 -1
- package/dist/_chunks/form-field-context-94LwgYTQ.js.map +0 -1
- package/dist/_chunks/freemium-paywall.agent-_nQqLyRF.js.map +0 -1
- package/dist/_chunks/globe-BkEFMNSg.js.map +0 -1
- package/dist/_chunks/group-options-BvKhQ3xb.js.map +0 -1
- package/dist/_chunks/header-BGn1mRp8.js.map +0 -1
- package/dist/_chunks/icon-button-Wnnde5lc.js.map +0 -1
- package/dist/_chunks/icon-button-group-DeV3FpNY.js.map +0 -1
- package/dist/_chunks/index-4xgbg-sn.js.map +0 -1
- package/dist/_chunks/index-CJE9uQmb.js.map +0 -1
- package/dist/_chunks/index-CeY1nNvd.js.map +0 -1
- package/dist/_chunks/index-D2ZczOXr.js.map +0 -1
- package/dist/_chunks/info-B9XNKn05.js.map +0 -1
- package/dist/_chunks/input-surface-u4QB0lxe.js.map +0 -1
- package/dist/_chunks/isSameDay-ecuM8PBB.js.map +0 -1
- package/dist/_chunks/isSameMonth-5wNF2f4I.js.map +0 -1
- package/dist/_chunks/kbd-8baVw3KU.js.map +0 -1
- package/dist/_chunks/key-value-pair-JRFS9Xrh.js.map +0 -1
- package/dist/_chunks/leo-sidebar-BwINPdix.js.map +0 -1
- package/dist/_chunks/link-QheANk74.js.map +0 -1
- package/dist/_chunks/list.agent-D0iWt4VI.js +0 -420
- package/dist/_chunks/list.agent-D0iWt4VI.js.map +0 -1
- package/dist/_chunks/live-region-C41SO3cA.js.map +0 -1
- package/dist/_chunks/log-out-616hnn2-.js.map +0 -1
- package/dist/_chunks/logo-BpFoCL-s.js.map +0 -1
- package/dist/_chunks/mail-C8irm52s.js.map +0 -1
- package/dist/_chunks/matrix-rain-BEkvux64.js.map +0 -1
- package/dist/_chunks/message-card-qhoGv947.js.map +0 -1
- package/dist/_chunks/message-card.agent-4IeIgrnJ.js.map +0 -1
- package/dist/_chunks/message-tray-xHUCra-Y.js.map +0 -1
- package/dist/_chunks/multi-select.agent-Do6CeQUT.js.map +0 -1
- package/dist/_chunks/navigation-menu.agent-D69ND6Qq.js.map +0 -1
- package/dist/_chunks/normalize-diacritics-BNGbFNlJ.js.map +0 -1
- package/dist/_chunks/notification-card-CsVEYJE-.js.map +0 -1
- package/dist/_chunks/notification-card.agent-Rqt3ofk9.js.map +0 -1
- package/dist/_chunks/notification-tray-DTXMq42J.js.map +0 -1
- package/dist/_chunks/number-input-fvGmnRy9.js.map +0 -1
- package/dist/_chunks/otp-input-EglXOUue.js.map +0 -1
- package/dist/_chunks/pagination.agent-BkZQl45y.js.map +0 -1
- package/dist/_chunks/password-input-D6kuYXmr.js.map +0 -1
- package/dist/_chunks/patient-shell-BRmrrUUW.js.map +0 -1
- package/dist/_chunks/payment-form-BWaXas8z.js.map +0 -1
- package/dist/_chunks/payment-form.agent-kuIfodCj.js +0 -31
- package/dist/_chunks/payment-form.agent-kuIfodCj.js.map +0 -1
- package/dist/_chunks/pdf-viewer.agent-BaGEDheA.js.map +0 -1
- package/dist/_chunks/phone-input-C8Op4sEc.js.map +0 -1
- package/dist/_chunks/plus-CYKNmfuA.js.map +0 -1
- package/dist/_chunks/popover-kFN8s84V.js +0 -229
- package/dist/_chunks/popover-kFN8s84V.js.map +0 -1
- package/dist/_chunks/popover.agent-K_d1cfbj.js +0 -39
- package/dist/_chunks/popover.agent-K_d1cfbj.js.map +0 -1
- package/dist/_chunks/printer-CeVEWfQq.js.map +0 -1
- package/dist/_chunks/privacy-lock.agent-C1i1-T58.js.map +0 -1
- package/dist/_chunks/progress-wNsqkw8I.js +0 -253
- package/dist/_chunks/progress-wNsqkw8I.js.map +0 -1
- package/dist/_chunks/progress.agent-C68rDOXL.js +0 -27
- package/dist/_chunks/progress.agent-C68rDOXL.js.map +0 -1
- package/dist/_chunks/purify.es-DpIUMBYC.js.map +0 -1
- package/dist/_chunks/radio-DvF59ThA.js.map +0 -1
- package/dist/_chunks/radio-group-Cz1a4QCA.js.map +0 -1
- package/dist/_chunks/react-day-picker-C04L_28V.js.map +0 -1
- package/dist/_chunks/recaptcha-widget.agent-BGHpU5zD.js.map +0 -1
- package/dist/_chunks/registry-C9nwlNyL.js.map +0 -1
- package/dist/_chunks/resizable.agent-CMwZzvsi.js +0 -456
- package/dist/_chunks/resizable.agent-CMwZzvsi.js.map +0 -1
- package/dist/_chunks/rich-text-editor.agent-DnE125Tz.js.map +0 -1
- package/dist/_chunks/safe-image-src-DstKgCo7.js.map +0 -1
- package/dist/_chunks/scroll-area-DLr5w9Dd.js.map +0 -1
- package/dist/_chunks/search-BonnQsHv.js.map +0 -1
- package/dist/_chunks/search-bar.agent-DxFAxctc.js.map +0 -1
- package/dist/_chunks/search-input-Xw3cdWXW.js.map +0 -1
- package/dist/_chunks/search-input.agent-CfZvViOd.js.map +0 -1
- package/dist/_chunks/select-DY1Cb2Tg.js.map +0 -1
- package/dist/_chunks/send-CySZIRPJ.js.map +0 -1
- package/dist/_chunks/separator-B4wXDLNC.js.map +0 -1
- package/dist/_chunks/sheet-B9kH9pcI.js.map +0 -1
- package/dist/_chunks/sheet.agent-QAyTOxgk.js +0 -46
- package/dist/_chunks/sheet.agent-QAyTOxgk.js.map +0 -1
- package/dist/_chunks/sidebar-CHF5xr_P.js.map +0 -1
- package/dist/_chunks/sidebar.agent-C9TM_ZDZ.js +0 -49
- package/dist/_chunks/sidebar.agent-C9TM_ZDZ.js.map +0 -1
- package/dist/_chunks/sign-in-with-alfadocs-button-BN_FPGHT.js.map +0 -1
- package/dist/_chunks/signature-capture.agent-BpeDwFht.js.map +0 -1
- package/dist/_chunks/skeleton-dtqyF09N.js.map +0 -1
- package/dist/_chunks/skip-link-DmZ3c6cb.js.map +0 -1
- package/dist/_chunks/slider-CcsQTZTA.js.map +0 -1
- package/dist/_chunks/slot-grid-D_l5VsHG.js.map +0 -1
- package/dist/_chunks/sparkline.agent-56Sj7nOP.js.map +0 -1
- package/dist/_chunks/spinner-GCcv67vh.js.map +0 -1
- package/dist/_chunks/square-CZoGU14v.js.map +0 -1
- package/dist/_chunks/square-check-big-Jr-0202D.js.map +0 -1
- package/dist/_chunks/stat-DUB6g90R.js.map +0 -1
- package/dist/_chunks/stepper-C-sIpRRU.js.map +0 -1
- package/dist/_chunks/stepper-accordion.agent-ckKYZCIP.js.map +0 -1
- package/dist/_chunks/stepper-calendar.agent-9iT3ClIB.js.map +0 -1
- package/dist/_chunks/stepper-progress-Bmen-YXB.js +0 -149
- package/dist/_chunks/stepper-progress-Bmen-YXB.js.map +0 -1
- package/dist/_chunks/stepper-progress.agent-q9InWca4.js +0 -61
- package/dist/_chunks/stepper-progress.agent-q9InWca4.js.map +0 -1
- package/dist/_chunks/streaming-text-BgjCTVOw.js.map +0 -1
- package/dist/_chunks/suggestion-chip-DhFrkRPj.js.map +0 -1
- package/dist/_chunks/suggestion-chip.agent-6sNWFj7m.js.map +0 -1
- package/dist/_chunks/switch-BYEH8I53.js.map +0 -1
- package/dist/_chunks/tabs.agent-h7NvsTR1.js.map +0 -1
- package/dist/_chunks/tag-BqidXKo3.js.map +0 -1
- package/dist/_chunks/task-card-CY5ztNkU.js.map +0 -1
- package/dist/_chunks/task-card.agent-CUPKYd7w.js.map +0 -1
- package/dist/_chunks/task-tray-CCoUdorl.js.map +0 -1
- package/dist/_chunks/text-area-C_M8wliK.js.map +0 -1
- package/dist/_chunks/text-input-BX39e6T6.js.map +0 -1
- package/dist/_chunks/theme-root-DDb0TJjd.js.map +0 -1
- package/dist/_chunks/theme-toggle.agent-btmXTWdW.js.map +0 -1
- package/dist/_chunks/time-picker-B8AMIrX7.js.map +0 -1
- package/dist/_chunks/timeline.agent-CRPza9wc.js.map +0 -1
- package/dist/_chunks/timestamp-BV2lC-wV.js.map +0 -1
- package/dist/_chunks/toast.agent-BjEGuq1Z.js.map +0 -1
- package/dist/_chunks/tooltip-DHik5yRI.js.map +0 -1
- package/dist/_chunks/tooth-scheme.agent-CWrQBjJM.js.map +0 -1
- package/dist/_chunks/transcript-panel.agent-BXEYP6w-.js.map +0 -1
- package/dist/_chunks/triangle-alert-CBPUIzQo.js.map +0 -1
- package/dist/_chunks/typing-indicator-CbUBf-Dx.js.map +0 -1
- package/dist/_chunks/use-debounced-callback-BisrB-Fq.js.map +0 -1
- package/dist/_chunks/use-direction-D6rvvG9G.js.map +0 -1
- package/dist/_chunks/use-locale-BuXR_Zl9.js.map +0 -1
- package/dist/_chunks/use-prefers-reduced-motion-BMwIQRjB.js.map +0 -1
- package/dist/_chunks/use-theme-BMUhembX.js.map +0 -1
- package/dist/_chunks/user-CPxpqFjJ.js.map +0 -1
- package/dist/_chunks/visually-hidden-Bw7vBHLm.js.map +0 -1
- package/dist/_chunks/warning-stack-8Pa3pekh.js.map +0 -1
- package/dist/_chunks/workflow-map-D2A7rTEG.js.map +0 -1
- package/dist/_chunks/x-CCcI3eJp.js.map +0 -1
- package/dist/agent/index.d.ts.map +0 -1
- package/dist/agent/registry.d.ts.map +0 -1
- package/dist/agent/types.d.ts.map +0 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_BW.d.ts.map +0 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Main.d.ts.map +0 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Mark.d.ts.map +0 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Neg.d.ts.map +0 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Purple.d.ts.map +0 -1
- package/dist/brand/logo-asset/index.d.ts.map +0 -1
- package/dist/components/_shared/calendar-chevron.d.ts.map +0 -1
- package/dist/components/_shared/compose-refs.d.ts.map +0 -1
- package/dist/components/_shared/date-locale.d.ts.map +0 -1
- package/dist/components/_shared/date-picker-variants.d.ts.map +0 -1
- package/dist/components/_shared/date-utils.d.ts.map +0 -1
- package/dist/components/_shared/group-options.d.ts.map +0 -1
- package/dist/components/_shared/index.d.ts.map +0 -1
- package/dist/components/_shared/input-surface.d.ts.map +0 -1
- package/dist/components/_shared/normalize-diacritics.d.ts.map +0 -1
- package/dist/components/_shared/option.d.ts.map +0 -1
- package/dist/components/_shared/safe-html.d.ts.map +0 -1
- package/dist/components/_shared/safe-image-src.d.ts.map +0 -1
- package/dist/components/_shared/stepper.d.ts.map +0 -1
- package/dist/components/_shared/time.d.ts.map +0 -1
- package/dist/components/_shared/use-debounced-callback.d.ts.map +0 -1
- package/dist/components/_shared/use-direction.d.ts.map +0 -1
- package/dist/components/_shared/use-focus-trap.d.ts.map +0 -1
- package/dist/components/_shared/use-neutralize-hidden-focus.d.ts.map +0 -1
- package/dist/components/accordion/accordion.agent.d.ts.map +0 -1
- package/dist/components/accordion/accordion.d.ts.map +0 -1
- package/dist/components/accordion/index.d.ts.map +0 -1
- package/dist/components/accordion/index.js.map +0 -1
- package/dist/components/agenda-card/agenda-card.agent.d.ts.map +0 -1
- package/dist/components/agenda-card/agenda-card.d.ts.map +0 -1
- package/dist/components/agenda-card/index.d.ts.map +0 -1
- package/dist/components/agenda-card/index.js.map +0 -1
- package/dist/components/agenda-tray/agenda-tray.agent.d.ts.map +0 -1
- package/dist/components/agenda-tray/agenda-tray.d.ts.map +0 -1
- package/dist/components/agenda-tray/index.d.ts.map +0 -1
- package/dist/components/agenda-tray/index.js.map +0 -1
- package/dist/components/ai-prompt-input/ai-prompt-input.agent.d.ts.map +0 -1
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts.map +0 -1
- package/dist/components/ai-prompt-input/index.d.ts.map +0 -1
- package/dist/components/ai-prompt-input/index.js.map +0 -1
- package/dist/components/alert/alert.d.ts.map +0 -1
- package/dist/components/alert/index.d.ts.map +0 -1
- package/dist/components/alert/index.js.map +0 -1
- package/dist/components/app-frame/app-frame.d.ts.map +0 -1
- package/dist/components/app-frame/index.d.ts.map +0 -1
- package/dist/components/app-frame/index.js.map +0 -1
- package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +0 -1
- package/dist/components/aspect-ratio/index.d.ts.map +0 -1
- package/dist/components/aspect-ratio/index.js.map +0 -1
- package/dist/components/audio-recorder/audio-recorder.agent.d.ts.map +0 -1
- package/dist/components/audio-recorder/audio-recorder.d.ts.map +0 -1
- package/dist/components/audio-recorder/index.d.ts.map +0 -1
- package/dist/components/audio-recorder/index.js.map +0 -1
- package/dist/components/audio-visualiser/audio-visualiser.d.ts.map +0 -1
- package/dist/components/audio-visualiser/index.d.ts.map +0 -1
- package/dist/components/audio-visualiser/index.js.map +0 -1
- package/dist/components/autocomplete/autocomplete.agent.d.ts.map +0 -1
- package/dist/components/autocomplete/autocomplete.d.ts.map +0 -1
- package/dist/components/autocomplete/index.d.ts.map +0 -1
- package/dist/components/autocomplete/index.js.map +0 -1
- package/dist/components/avatar/avatar.d.ts.map +0 -1
- package/dist/components/avatar/index.d.ts.map +0 -1
- package/dist/components/avatar/index.js.map +0 -1
- package/dist/components/badge/badge.d.ts.map +0 -1
- package/dist/components/badge/index.d.ts.map +0 -1
- package/dist/components/badge/index.js.map +0 -1
- package/dist/components/breadcrumb/breadcrumb.agent.d.ts.map +0 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +0 -1
- package/dist/components/breadcrumb/index.d.ts.map +0 -1
- package/dist/components/breadcrumb/index.js.map +0 -1
- package/dist/components/button/button.agent.d.ts.map +0 -1
- package/dist/components/button/button.d.ts.map +0 -1
- package/dist/components/button/icon-button.d.ts.map +0 -1
- package/dist/components/button/index.d.ts.map +0 -1
- package/dist/components/button/index.js.map +0 -1
- package/dist/components/button-group/button-group.d.ts.map +0 -1
- package/dist/components/button-group/index.d.ts.map +0 -1
- package/dist/components/button-group/index.js.map +0 -1
- package/dist/components/calendar/calendar.agent.d.ts.map +0 -1
- package/dist/components/calendar/calendar.d.ts.map +0 -1
- package/dist/components/calendar/contrast-warning.d.ts.map +0 -1
- package/dist/components/calendar/index.d.ts.map +0 -1
- package/dist/components/calendar/index.js.map +0 -1
- package/dist/components/card/card.d.ts.map +0 -1
- package/dist/components/card/index.d.ts.map +0 -1
- package/dist/components/card/index.js.map +0 -1
- package/dist/components/chart/chart.agent.d.ts.map +0 -1
- package/dist/components/chart/chart.d.ts.map +0 -1
- package/dist/components/chart/index.d.ts.map +0 -1
- package/dist/components/chart/index.js.map +0 -1
- package/dist/components/chat-container/chat-container.agent.d.ts.map +0 -1
- package/dist/components/chat-container/chat-container.d.ts.map +0 -1
- package/dist/components/chat-container/index.d.ts.map +0 -1
- package/dist/components/chat-container/index.js.map +0 -1
- package/dist/components/chat-input/chat-input.agent.d.ts.map +0 -1
- package/dist/components/chat-input/chat-input.d.ts.map +0 -1
- package/dist/components/chat-input/index.d.ts.map +0 -1
- package/dist/components/chat-input/index.js.map +0 -1
- package/dist/components/chat-message/chat-message.d.ts.map +0 -1
- package/dist/components/chat-message/index.d.ts.map +0 -1
- package/dist/components/chat-message/index.js.map +0 -1
- package/dist/components/checkbox/checkbox-group-context.d.ts.map +0 -1
- package/dist/components/checkbox/checkbox.agent.d.ts.map +0 -1
- package/dist/components/checkbox/checkbox.d.ts.map +0 -1
- package/dist/components/checkbox/index.d.ts.map +0 -1
- package/dist/components/checkbox/index.js.map +0 -1
- package/dist/components/checkbox-group/checkbox-group.agent.d.ts.map +0 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts.map +0 -1
- package/dist/components/checkbox-group/index.d.ts.map +0 -1
- package/dist/components/checkbox-group/index.js.map +0 -1
- package/dist/components/collapsible/collapsible.agent.d.ts.map +0 -1
- package/dist/components/collapsible/collapsible.d.ts.map +0 -1
- package/dist/components/collapsible/index.d.ts.map +0 -1
- package/dist/components/collapsible/index.js.map +0 -1
- package/dist/components/color-picker/color-picker.agent.d.ts.map +0 -1
- package/dist/components/color-picker/color-picker.d.ts.map +0 -1
- package/dist/components/color-picker/color-utils.d.ts.map +0 -1
- package/dist/components/color-picker/index.d.ts.map +0 -1
- package/dist/components/color-picker/index.js.map +0 -1
- package/dist/components/color-picker/palettes.d.ts.map +0 -1
- package/dist/components/combobox/combobox.agent.d.ts.map +0 -1
- package/dist/components/combobox/combobox.d.ts.map +0 -1
- package/dist/components/combobox/index.d.ts.map +0 -1
- package/dist/components/combobox/index.js.map +0 -1
- package/dist/components/command-palette/command-palette.agent.d.ts.map +0 -1
- package/dist/components/command-palette/command-palette.d.ts.map +0 -1
- package/dist/components/command-palette/index.d.ts.map +0 -1
- package/dist/components/command-palette/index.js.map +0 -1
- package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts.map +0 -1
- package/dist/components/data-table/cell-renderers/balance-cell-renderer.d.ts.map +0 -1
- package/dist/components/data-table/cell-renderers/color-dot-cell-renderer.d.ts.map +0 -1
- package/dist/components/data-table/cell-renderers/currency-cell-renderer.d.ts.map +0 -1
- package/dist/components/data-table/cell-renderers/date-cell-renderer.d.ts.map +0 -1
- package/dist/components/data-table/cell-renderers/link-cell-renderer.d.ts.map +0 -1
- package/dist/components/data-table/cell-renderers/status-cell-renderer.d.ts.map +0 -1
- package/dist/components/data-table/cell-renderers/tag-list-cell-renderer.d.ts.map +0 -1
- package/dist/components/data-table/cell-renderers/toggle-cell-renderer.d.ts.map +0 -1
- package/dist/components/data-table/cell-renderers/user-cell-renderer.d.ts.map +0 -1
- package/dist/components/data-table/data-table.agent.d.ts.map +0 -1
- package/dist/components/data-table/data-table.d.ts.map +0 -1
- package/dist/components/data-table/hooks/use-total-row.d.ts.map +0 -1
- package/dist/components/data-table/index.d.ts.map +0 -1
- package/dist/components/data-table/index.js.map +0 -1
- package/dist/components/data-table/toolbar.d.ts.map +0 -1
- package/dist/components/date-picker/date-picker.agent.d.ts.map +0 -1
- package/dist/components/date-picker/date-picker.d.ts.map +0 -1
- package/dist/components/date-picker/index.d.ts.map +0 -1
- package/dist/components/date-picker/index.js.map +0 -1
- package/dist/components/date-range-picker/date-range-picker.agent.d.ts.map +0 -1
- package/dist/components/date-range-picker/date-range-picker.d.ts.map +0 -1
- package/dist/components/date-range-picker/index.d.ts.map +0 -1
- package/dist/components/date-range-picker/index.js.map +0 -1
- package/dist/components/date-time-picker/date-time-picker.agent.d.ts.map +0 -1
- package/dist/components/date-time-picker/date-time-picker.d.ts.map +0 -1
- package/dist/components/date-time-picker/index.d.ts.map +0 -1
- package/dist/components/date-time-picker/index.js.map +0 -1
- package/dist/components/description-list/description-list.d.ts.map +0 -1
- package/dist/components/description-list/index.d.ts.map +0 -1
- package/dist/components/description-list/index.js.map +0 -1
- package/dist/components/dialog/dialog.agent.d.ts.map +0 -1
- package/dist/components/dialog/dialog.d.ts.map +0 -1
- package/dist/components/dialog/index.d.ts.map +0 -1
- package/dist/components/dialog/index.js.map +0 -1
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts.map +0 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +0 -1
- package/dist/components/dropdown-menu/index.d.ts.map +0 -1
- package/dist/components/dropdown-menu/index.js.map +0 -1
- package/dist/components/empty-state/empty-state.d.ts.map +0 -1
- package/dist/components/empty-state/index.d.ts.map +0 -1
- package/dist/components/empty-state/index.js.map +0 -1
- package/dist/components/file-upload/file-upload.agent.d.ts.map +0 -1
- package/dist/components/file-upload/file-upload.d.ts.map +0 -1
- package/dist/components/file-upload/index.d.ts.map +0 -1
- package/dist/components/file-upload/index.js.map +0 -1
- package/dist/components/flag/flag.d.ts.map +0 -1
- package/dist/components/flag/index.d.ts.map +0 -1
- package/dist/components/flag/index.js.map +0 -1
- package/dist/components/floating-action-button/floating-action-button.d.ts.map +0 -1
- package/dist/components/floating-action-button/index.d.ts.map +0 -1
- package/dist/components/floating-action-button/index.js.map +0 -1
- package/dist/components/form-field/form-field-context.d.ts.map +0 -1
- package/dist/components/form-field/form-field.d.ts.map +0 -1
- package/dist/components/form-field/index.d.ts.map +0 -1
- package/dist/components/form-field/index.js.map +0 -1
- package/dist/components/freemium-paywall/freemium-paywall.agent.d.ts.map +0 -1
- package/dist/components/freemium-paywall/freemium-paywall.d.ts.map +0 -1
- package/dist/components/freemium-paywall/index.d.ts.map +0 -1
- package/dist/components/freemium-paywall/index.js.map +0 -1
- package/dist/components/header/header.d.ts.map +0 -1
- package/dist/components/header/index.d.ts.map +0 -1
- package/dist/components/header/index.js.map +0 -1
- package/dist/components/icon-button/index.d.ts.map +0 -1
- package/dist/components/icon-button/index.js.map +0 -1
- package/dist/components/icon-button-group/icon-button-group.d.ts.map +0 -1
- package/dist/components/icon-button-group/index.d.ts.map +0 -1
- package/dist/components/icon-button-group/index.js.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/kbd/index.d.ts.map +0 -1
- package/dist/components/kbd/index.js.map +0 -1
- package/dist/components/kbd/kbd.d.ts.map +0 -1
- package/dist/components/key-value-pair/index.d.ts.map +0 -1
- package/dist/components/key-value-pair/index.js.map +0 -1
- package/dist/components/key-value-pair/key-value-pair.d.ts.map +0 -1
- package/dist/components/link/index.d.ts.map +0 -1
- package/dist/components/link/index.js.map +0 -1
- package/dist/components/link/link.d.ts.map +0 -1
- package/dist/components/list/index.d.ts.map +0 -1
- package/dist/components/list/index.js.map +0 -1
- package/dist/components/list/list.agent.d.ts.map +0 -1
- package/dist/components/list/list.d.ts.map +0 -1
- package/dist/components/live-region/index.d.ts.map +0 -1
- package/dist/components/live-region/index.js.map +0 -1
- package/dist/components/live-region/live-region.d.ts.map +0 -1
- package/dist/components/logo/index.d.ts.map +0 -1
- package/dist/components/logo/index.js.map +0 -1
- package/dist/components/logo/logo.d.ts.map +0 -1
- package/dist/components/matrix-rain/index.d.ts.map +0 -1
- package/dist/components/matrix-rain/index.js.map +0 -1
- package/dist/components/matrix-rain/matrix-rain.d.ts.map +0 -1
- package/dist/components/message-card/index.d.ts.map +0 -1
- package/dist/components/message-card/index.js.map +0 -1
- package/dist/components/message-card/message-card.agent.d.ts.map +0 -1
- package/dist/components/message-card/message-card.d.ts.map +0 -1
- package/dist/components/message-tray/index.d.ts.map +0 -1
- package/dist/components/message-tray/index.js.map +0 -1
- package/dist/components/message-tray/message-tray.agent.d.ts.map +0 -1
- package/dist/components/message-tray/message-tray.d.ts.map +0 -1
- package/dist/components/multi-select/index.d.ts.map +0 -1
- package/dist/components/multi-select/index.js.map +0 -1
- package/dist/components/multi-select/multi-select.agent.d.ts.map +0 -1
- package/dist/components/multi-select/multi-select.d.ts.map +0 -1
- package/dist/components/navigation-menu/index.d.ts.map +0 -1
- package/dist/components/navigation-menu/index.js.map +0 -1
- package/dist/components/navigation-menu/navigation-menu.agent.d.ts.map +0 -1
- package/dist/components/navigation-menu/navigation-menu.d.ts.map +0 -1
- package/dist/components/notification-card/index.d.ts.map +0 -1
- package/dist/components/notification-card/index.js.map +0 -1
- package/dist/components/notification-card/notification-card.agent.d.ts.map +0 -1
- package/dist/components/notification-card/notification-card.d.ts.map +0 -1
- package/dist/components/notification-tray/index.d.ts.map +0 -1
- package/dist/components/notification-tray/index.js.map +0 -1
- package/dist/components/notification-tray/notification-tray.agent.d.ts.map +0 -1
- package/dist/components/notification-tray/notification-tray.d.ts.map +0 -1
- package/dist/components/number-input/index.d.ts.map +0 -1
- package/dist/components/number-input/index.js.map +0 -1
- package/dist/components/number-input/number-input.agent.d.ts.map +0 -1
- package/dist/components/number-input/number-input.d.ts.map +0 -1
- package/dist/components/number-input/use-locale-number.d.ts.map +0 -1
- package/dist/components/otp-input/index.d.ts.map +0 -1
- package/dist/components/otp-input/index.js.map +0 -1
- package/dist/components/otp-input/otp-input.agent.d.ts.map +0 -1
- package/dist/components/otp-input/otp-input.d.ts.map +0 -1
- package/dist/components/pagination/index.d.ts.map +0 -1
- package/dist/components/pagination/index.js.map +0 -1
- package/dist/components/pagination/pagination.agent.d.ts.map +0 -1
- package/dist/components/pagination/pagination.d.ts.map +0 -1
- package/dist/components/password-input/index.d.ts.map +0 -1
- package/dist/components/password-input/index.js.map +0 -1
- package/dist/components/password-input/password-input.agent.d.ts.map +0 -1
- package/dist/components/password-input/password-input.d.ts.map +0 -1
- package/dist/components/payment-form/index.d.ts.map +0 -1
- package/dist/components/payment-form/index.js.map +0 -1
- package/dist/components/payment-form/payment-form.agent.d.ts.map +0 -1
- package/dist/components/payment-form/payment-form.d.ts.map +0 -1
- package/dist/components/pdf-viewer/index.d.ts.map +0 -1
- package/dist/components/pdf-viewer/index.js.map +0 -1
- package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +0 -1
- package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +0 -1
- package/dist/components/phone-input/index.d.ts.map +0 -1
- package/dist/components/phone-input/index.js.map +0 -1
- package/dist/components/phone-input/phone-input.agent.d.ts.map +0 -1
- package/dist/components/phone-input/phone-input.d.ts.map +0 -1
- package/dist/components/popover/index.d.ts.map +0 -1
- package/dist/components/popover/index.js.map +0 -1
- package/dist/components/popover/popover.agent.d.ts.map +0 -1
- package/dist/components/popover/popover.d.ts.map +0 -1
- package/dist/components/privacy-lock/index.d.ts.map +0 -1
- package/dist/components/privacy-lock/index.js.map +0 -1
- package/dist/components/privacy-lock/privacy-lock.agent.d.ts.map +0 -1
- package/dist/components/privacy-lock/privacy-lock.d.ts.map +0 -1
- package/dist/components/progress/index.d.ts.map +0 -1
- package/dist/components/progress/index.js.map +0 -1
- package/dist/components/progress/progress.agent.d.ts.map +0 -1
- package/dist/components/progress/progress.d.ts.map +0 -1
- package/dist/components/radio/index.d.ts.map +0 -1
- package/dist/components/radio/index.js.map +0 -1
- package/dist/components/radio-group/index.d.ts.map +0 -1
- package/dist/components/radio-group/index.js.map +0 -1
- package/dist/components/radio-group/radio-group-context.d.ts.map +0 -1
- package/dist/components/radio-group/radio-group.agent.d.ts.map +0 -1
- package/dist/components/radio-group/radio-group.d.ts.map +0 -1
- package/dist/components/radio-group/radio.d.ts.map +0 -1
- package/dist/components/recaptcha-widget/index.d.ts.map +0 -1
- package/dist/components/recaptcha-widget/index.js.map +0 -1
- package/dist/components/recaptcha-widget/recaptcha-widget.agent.d.ts.map +0 -1
- package/dist/components/recaptcha-widget/recaptcha-widget.d.ts.map +0 -1
- package/dist/components/resizable/index.d.ts.map +0 -1
- package/dist/components/resizable/index.js.map +0 -1
- package/dist/components/resizable/resizable-context.d.ts.map +0 -1
- package/dist/components/resizable/resizable.agent.d.ts.map +0 -1
- package/dist/components/resizable/resizable.d.ts.map +0 -1
- package/dist/components/rich-text-editor/index.d.ts.map +0 -1
- package/dist/components/rich-text-editor/index.js.map +0 -1
- package/dist/components/rich-text-editor/rich-text-editor.agent.d.ts.map +0 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +0 -1
- package/dist/components/scroll-area/index.d.ts.map +0 -1
- package/dist/components/scroll-area/index.js.map +0 -1
- package/dist/components/scroll-area/scroll-area.d.ts.map +0 -1
- package/dist/components/search-bar/index.d.ts.map +0 -1
- package/dist/components/search-bar/index.js.map +0 -1
- package/dist/components/search-bar/search-bar.agent.d.ts.map +0 -1
- package/dist/components/search-bar/search-bar.d.ts.map +0 -1
- package/dist/components/search-input/index.d.ts.map +0 -1
- package/dist/components/search-input/index.js.map +0 -1
- package/dist/components/search-input/search-input.agent.d.ts.map +0 -1
- package/dist/components/search-input/search-input.d.ts.map +0 -1
- package/dist/components/select/index.d.ts.map +0 -1
- package/dist/components/select/index.js.map +0 -1
- package/dist/components/select/select.agent.d.ts.map +0 -1
- package/dist/components/select/select.d.ts.map +0 -1
- package/dist/components/separator/index.d.ts.map +0 -1
- package/dist/components/separator/index.js.map +0 -1
- package/dist/components/separator/separator.d.ts.map +0 -1
- package/dist/components/sheet/index.d.ts.map +0 -1
- package/dist/components/sheet/index.js.map +0 -1
- package/dist/components/sheet/sheet.agent.d.ts.map +0 -1
- package/dist/components/sheet/sheet.d.ts.map +0 -1
- package/dist/components/sidebar/index.d.ts.map +0 -1
- package/dist/components/sidebar/index.js.map +0 -1
- package/dist/components/sidebar/sidebar.agent.d.ts.map +0 -1
- package/dist/components/sidebar/sidebar.d.ts.map +0 -1
- package/dist/components/sign-in-with-alfadocs-button/index.d.ts.map +0 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js.map +0 -1
- package/dist/components/sign-in-with-alfadocs-button/sign-in-with-alfadocs-button.d.ts.map +0 -1
- package/dist/components/signature-capture/index.d.ts.map +0 -1
- package/dist/components/signature-capture/index.js.map +0 -1
- package/dist/components/signature-capture/signature-capture.agent.d.ts.map +0 -1
- package/dist/components/signature-capture/signature-capture.d.ts.map +0 -1
- package/dist/components/skeleton/index.d.ts.map +0 -1
- package/dist/components/skeleton/index.js.map +0 -1
- package/dist/components/skeleton/skeleton.d.ts.map +0 -1
- package/dist/components/skip-link/index.d.ts.map +0 -1
- package/dist/components/skip-link/index.js.map +0 -1
- package/dist/components/skip-link/skip-link.d.ts.map +0 -1
- package/dist/components/slider/index.d.ts.map +0 -1
- package/dist/components/slider/index.js.map +0 -1
- package/dist/components/slider/slider.agent.d.ts.map +0 -1
- package/dist/components/slider/slider.d.ts.map +0 -1
- package/dist/components/slot-grid/index.d.ts.map +0 -1
- package/dist/components/slot-grid/index.js.map +0 -1
- package/dist/components/slot-grid/slot-grid.d.ts.map +0 -1
- package/dist/components/sparkline/index.d.ts.map +0 -1
- package/dist/components/sparkline/index.js.map +0 -1
- package/dist/components/sparkline/sparkline.agent.d.ts.map +0 -1
- package/dist/components/sparkline/sparkline.d.ts.map +0 -1
- package/dist/components/sparkline/use-linear-trend.d.ts.map +0 -1
- package/dist/components/spinner/index.d.ts.map +0 -1
- package/dist/components/spinner/index.js.map +0 -1
- package/dist/components/spinner/spinner.d.ts.map +0 -1
- package/dist/components/stat/index.d.ts.map +0 -1
- package/dist/components/stat/index.js.map +0 -1
- package/dist/components/stat/stat.d.ts.map +0 -1
- package/dist/components/stepper-accordion/index.d.ts.map +0 -1
- package/dist/components/stepper-accordion/index.js.map +0 -1
- package/dist/components/stepper-accordion/stepper-accordion.agent.d.ts.map +0 -1
- package/dist/components/stepper-accordion/stepper-accordion.d.ts.map +0 -1
- package/dist/components/stepper-calendar/index.d.ts.map +0 -1
- package/dist/components/stepper-calendar/index.js.map +0 -1
- package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts.map +0 -1
- package/dist/components/stepper-calendar/stepper-calendar.d.ts.map +0 -1
- package/dist/components/stepper-progress/index.d.ts.map +0 -1
- package/dist/components/stepper-progress/index.js.map +0 -1
- package/dist/components/stepper-progress/stepper-progress.agent.d.ts.map +0 -1
- package/dist/components/stepper-progress/stepper-progress.d.ts.map +0 -1
- package/dist/components/streaming-text/index.d.ts.map +0 -1
- package/dist/components/streaming-text/index.js.map +0 -1
- package/dist/components/streaming-text/streaming-text.d.ts.map +0 -1
- package/dist/components/suggestion-chip/index.d.ts.map +0 -1
- package/dist/components/suggestion-chip/index.js.map +0 -1
- package/dist/components/suggestion-chip/suggestion-chip.agent.d.ts.map +0 -1
- package/dist/components/suggestion-chip/suggestion-chip.d.ts.map +0 -1
- package/dist/components/switch/index.d.ts.map +0 -1
- package/dist/components/switch/index.js.map +0 -1
- package/dist/components/switch/switch.agent.d.ts.map +0 -1
- package/dist/components/switch/switch.d.ts.map +0 -1
- package/dist/components/tabs/index.d.ts.map +0 -1
- package/dist/components/tabs/index.js.map +0 -1
- package/dist/components/tabs/tabs.agent.d.ts.map +0 -1
- package/dist/components/tabs/tabs.d.ts.map +0 -1
- package/dist/components/tag/index.d.ts.map +0 -1
- package/dist/components/tag/index.js.map +0 -1
- package/dist/components/tag/tag.d.ts.map +0 -1
- package/dist/components/task-card/index.d.ts.map +0 -1
- package/dist/components/task-card/index.js.map +0 -1
- package/dist/components/task-card/task-card.agent.d.ts.map +0 -1
- package/dist/components/task-card/task-card.d.ts.map +0 -1
- package/dist/components/task-tray/index.d.ts.map +0 -1
- package/dist/components/task-tray/index.js.map +0 -1
- package/dist/components/task-tray/task-tray.agent.d.ts.map +0 -1
- package/dist/components/task-tray/task-tray.d.ts.map +0 -1
- package/dist/components/text-area/index.d.ts.map +0 -1
- package/dist/components/text-area/index.js.map +0 -1
- package/dist/components/text-area/text-area.agent.d.ts.map +0 -1
- package/dist/components/text-area/text-area.d.ts.map +0 -1
- package/dist/components/text-input/index.d.ts.map +0 -1
- package/dist/components/text-input/index.js.map +0 -1
- package/dist/components/text-input/text-input.agent.d.ts.map +0 -1
- package/dist/components/text-input/text-input.d.ts.map +0 -1
- package/dist/components/theme-root/index.d.ts.map +0 -1
- package/dist/components/theme-root/index.js.map +0 -1
- package/dist/components/theme-root/theme-root.d.ts.map +0 -1
- package/dist/components/theme-toggle/index.d.ts.map +0 -1
- package/dist/components/theme-toggle/index.js.map +0 -1
- package/dist/components/theme-toggle/theme-toggle.agent.d.ts.map +0 -1
- package/dist/components/theme-toggle/theme-toggle.d.ts.map +0 -1
- package/dist/components/time-picker/index.d.ts.map +0 -1
- package/dist/components/time-picker/index.js.map +0 -1
- package/dist/components/time-picker/time-picker.agent.d.ts.map +0 -1
- package/dist/components/time-picker/time-picker.d.ts.map +0 -1
- package/dist/components/timeline/index.d.ts.map +0 -1
- package/dist/components/timeline/index.js.map +0 -1
- package/dist/components/timeline/timeline.agent.d.ts.map +0 -1
- package/dist/components/timeline/timeline.d.ts.map +0 -1
- package/dist/components/timestamp/index.d.ts.map +0 -1
- package/dist/components/timestamp/index.js.map +0 -1
- package/dist/components/timestamp/timestamp.d.ts.map +0 -1
- package/dist/components/toast/index.d.ts.map +0 -1
- package/dist/components/toast/index.js.map +0 -1
- package/dist/components/toast/toast.agent.d.ts.map +0 -1
- package/dist/components/toast/toast.d.ts.map +0 -1
- package/dist/components/tooltip/index.d.ts.map +0 -1
- package/dist/components/tooltip/index.js.map +0 -1
- package/dist/components/tooltip/tooltip.d.ts.map +0 -1
- package/dist/components/tooth-scheme/index.d.ts.map +0 -1
- package/dist/components/tooth-scheme/index.js.map +0 -1
- package/dist/components/tooth-scheme/tooth-data.d.ts.map +0 -1
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts.map +0 -1
- package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +0 -1
- package/dist/components/transcript-panel/index.d.ts.map +0 -1
- package/dist/components/transcript-panel/index.js.map +0 -1
- package/dist/components/transcript-panel/transcript-panel.agent.d.ts.map +0 -1
- package/dist/components/transcript-panel/transcript-panel.d.ts.map +0 -1
- package/dist/components/typing-indicator/index.d.ts.map +0 -1
- package/dist/components/typing-indicator/index.js.map +0 -1
- package/dist/components/typing-indicator/typing-indicator.d.ts.map +0 -1
- package/dist/components/visually-hidden/index.d.ts.map +0 -1
- package/dist/components/visually-hidden/index.js.map +0 -1
- package/dist/components/visually-hidden/visually-hidden.d.ts.map +0 -1
- package/dist/components/warning-stack/index.d.ts.map +0 -1
- package/dist/components/warning-stack/index.js.map +0 -1
- package/dist/components/warning-stack/warning-stack.d.ts.map +0 -1
- package/dist/components/workflow/index.d.ts.map +0 -1
- package/dist/components/workflow/index.js.map +0 -1
- package/dist/components/workflow/workflow-card.d.ts.map +0 -1
- package/dist/components/workflow/workflow-editor.d.ts.map +0 -1
- package/dist/components/workflow/workflow-map.d.ts.map +0 -1
- package/dist/components/workflow/workflow-types.d.ts.map +0 -1
- package/dist/components/workflow/workflow.agent.d.ts.map +0 -1
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/index.js.map +0 -1
- package/dist/hooks/use-locale.d.ts.map +0 -1
- package/dist/hooks/use-media-query.d.ts.map +0 -1
- package/dist/hooks/use-prefers-reduced-motion.d.ts.map +0 -1
- package/dist/hooks/use-theme.d.ts.map +0 -1
- package/dist/i18n/config.d.ts.map +0 -1
- package/dist/i18n/config.js.map +0 -1
- package/dist/i18n/resources.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/option/index.js.map +0 -1
- package/dist/patterns/leo-assistant/index.d.ts.map +0 -1
- package/dist/patterns/leo-assistant/index.js.map +0 -1
- package/dist/patterns/leo-assistant/leo-chat-surface.d.ts.map +0 -1
- package/dist/patterns/leo-assistant/leo-embedded.d.ts.map +0 -1
- package/dist/patterns/leo-assistant/leo-popout.d.ts.map +0 -1
- package/dist/patterns/leo-assistant/leo-sidebar.d.ts.map +0 -1
- package/dist/patterns/leo-assistant/leo-types.d.ts.map +0 -1
- package/dist/patterns/patient-shell/index.d.ts.map +0 -1
- package/dist/patterns/patient-shell/index.js.map +0 -1
- package/dist/patterns/patient-shell/patient-shell.d.ts.map +0 -1
- package/dist/safe-html/index.js.map +0 -1
- package/dist/tokens/apexcharts-theme.d.ts.map +0 -1
- package/dist/tokens/themes/bridges/stripe-appearance.d.ts.map +0 -1
|
@@ -1,681 +0,0 @@
|
|
|
1
|
-
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as ke, useId as Ne, useState as ee, useRef as O, useCallback as y, useEffect as we, useMemo as se } from "react";
|
|
3
|
-
import { u as Ue } from "./index-CeY1nNvd.js";
|
|
4
|
-
import { c as I } from "./index-D2ZczOXr.js";
|
|
5
|
-
import { useTranslation as ze } from "react-i18next";
|
|
6
|
-
import { u as Me } from "./form-field-context-94LwgYTQ.js";
|
|
7
|
-
import { C as ne } from "./circle-alert-ChA9opNA.js";
|
|
8
|
-
import { c as N } from "./createLucideIcon-CrFbzy84.js";
|
|
9
|
-
import { X as te } from "./x-CCcI3eJp.js";
|
|
10
|
-
import { F as je } from "./file-text-DSNuv2B8.js";
|
|
11
|
-
import { C as Ce } from "./circle-check-9AeSgJD_.js";
|
|
12
|
-
/**
|
|
13
|
-
* @license lucide-react v1.8.0 - ISC
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the ISC license.
|
|
16
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/
|
|
18
|
-
const Le = [
|
|
19
|
-
["path", { d: "M12 13v8", key: "1l5pq0" }],
|
|
20
|
-
["path", { d: "M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242", key: "1pljnt" }],
|
|
21
|
-
["path", { d: "m8 17 4-4 4 4", key: "1quai1" }]
|
|
22
|
-
], Fe = N("cloud-upload", Le);
|
|
23
|
-
/**
|
|
24
|
-
* @license lucide-react v1.8.0 - ISC
|
|
25
|
-
*
|
|
26
|
-
* This source code is licensed under the ISC license.
|
|
27
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/
|
|
29
|
-
const Ae = [
|
|
30
|
-
[
|
|
31
|
-
"path",
|
|
32
|
-
{
|
|
33
|
-
d: "M13.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v11.5",
|
|
34
|
-
key: "4pqfef"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
|
|
38
|
-
["path", { d: "M8 12v-1", key: "1ej8lb" }],
|
|
39
|
-
["path", { d: "M8 18v-2", key: "qcmpov" }],
|
|
40
|
-
["path", { d: "M8 7V6", key: "1nbb54" }],
|
|
41
|
-
["circle", { cx: "8", cy: "20", r: "2", key: "ckkr5m" }]
|
|
42
|
-
], Ie = N("file-archive", Ae);
|
|
43
|
-
/**
|
|
44
|
-
* @license lucide-react v1.8.0 - ISC
|
|
45
|
-
*
|
|
46
|
-
* This source code is licensed under the ISC license.
|
|
47
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
48
|
-
*/
|
|
49
|
-
const _e = [
|
|
50
|
-
[
|
|
51
|
-
"path",
|
|
52
|
-
{
|
|
53
|
-
d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
|
|
54
|
-
key: "1oefj6"
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
|
|
58
|
-
["circle", { cx: "10", cy: "12", r: "2", key: "737tya" }],
|
|
59
|
-
["path", { d: "m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22", key: "wt3hpn" }]
|
|
60
|
-
], De = N("file-image", _e);
|
|
61
|
-
/**
|
|
62
|
-
* @license lucide-react v1.8.0 - ISC
|
|
63
|
-
*
|
|
64
|
-
* This source code is licensed under the ISC license.
|
|
65
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
66
|
-
*/
|
|
67
|
-
const Re = [
|
|
68
|
-
[
|
|
69
|
-
"path",
|
|
70
|
-
{
|
|
71
|
-
d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
|
|
72
|
-
key: "1oefj6"
|
|
73
|
-
}
|
|
74
|
-
],
|
|
75
|
-
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
|
|
76
|
-
["path", { d: "M8 13h2", key: "yr2amv" }],
|
|
77
|
-
["path", { d: "M14 13h2", key: "un5t4a" }],
|
|
78
|
-
["path", { d: "M8 17h2", key: "2yhykz" }],
|
|
79
|
-
["path", { d: "M14 17h2", key: "10kma7" }]
|
|
80
|
-
], Be = N("file-spreadsheet", Re);
|
|
81
|
-
/**
|
|
82
|
-
* @license lucide-react v1.8.0 - ISC
|
|
83
|
-
*
|
|
84
|
-
* This source code is licensed under the ISC license.
|
|
85
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
86
|
-
*/
|
|
87
|
-
const $e = [
|
|
88
|
-
[
|
|
89
|
-
"path",
|
|
90
|
-
{
|
|
91
|
-
d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
|
|
92
|
-
key: "1oefj6"
|
|
93
|
-
}
|
|
94
|
-
],
|
|
95
|
-
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }]
|
|
96
|
-
], Ee = N("file", $e);
|
|
97
|
-
/**
|
|
98
|
-
* @license lucide-react v1.8.0 - ISC
|
|
99
|
-
*
|
|
100
|
-
* This source code is licensed under the ISC license.
|
|
101
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
102
|
-
*/
|
|
103
|
-
const Oe = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], Ve = N("loader-circle", Oe);
|
|
104
|
-
/**
|
|
105
|
-
* @license lucide-react v1.8.0 - ISC
|
|
106
|
-
*
|
|
107
|
-
* This source code is licensed under the ISC license.
|
|
108
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
109
|
-
*/
|
|
110
|
-
const He = [
|
|
111
|
-
["path", { d: "M12 3v12", key: "1x0j5s" }],
|
|
112
|
-
["path", { d: "m17 8-5-5-5 5", key: "7q97r8" }],
|
|
113
|
-
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }]
|
|
114
|
-
], V = N("upload", He), qe = I(
|
|
115
|
-
[
|
|
116
|
-
"ds:relative ds:flex ds:flex-col ds:items-center ds:justify-center",
|
|
117
|
-
"ds:min-h-48 ds:px-[var(--spacing-lg)] ds:py-[var(--spacing-xl)]",
|
|
118
|
-
"ds:rounded-[var(--radius-lg)] ds:border-2 ds:border-dashed",
|
|
119
|
-
"ds:bg-background",
|
|
120
|
-
"ds:transition-all ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
121
|
-
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
122
|
-
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
123
|
-
"ds:cursor-pointer",
|
|
124
|
-
"ds:group"
|
|
125
|
-
].join(" "),
|
|
126
|
-
{
|
|
127
|
-
variants: {
|
|
128
|
-
isDragActive: {
|
|
129
|
-
true: "ds:border-primary ds:bg-primary/10 ds:scale-[1.01]",
|
|
130
|
-
false: "ds:border-border ds:hover:border-muted-foreground/40 ds:hover:bg-muted/5"
|
|
131
|
-
},
|
|
132
|
-
hasError: {
|
|
133
|
-
true: "ds:border-destructive ds:bg-destructive/5 ds:hover:border-destructive",
|
|
134
|
-
false: ""
|
|
135
|
-
},
|
|
136
|
-
isDisabled: {
|
|
137
|
-
true: "ds:cursor-not-allowed ds:opacity-50 ds:hover:border-border ds:hover:bg-background",
|
|
138
|
-
false: ""
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
defaultVariants: {
|
|
142
|
-
isDragActive: !1,
|
|
143
|
-
hasError: !1,
|
|
144
|
-
isDisabled: !1
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
), ie = I(
|
|
148
|
-
[
|
|
149
|
-
"ds:inline-flex ds:items-center ds:justify-center ds:gap-[var(--spacing-xs)]",
|
|
150
|
-
"ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
|
|
151
|
-
"ds:rounded-[var(--radius-md)] ds:border ds:border-primary/30 ds:bg-primary/5",
|
|
152
|
-
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:py-[var(--spacing-sm)]",
|
|
153
|
-
"ds:text-primary ds:text-[length:var(--font-size-sm)] ds:font-medium",
|
|
154
|
-
"ds:transition-all ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
155
|
-
"ds:hover:bg-primary/10 ds:hover:border-primary/50",
|
|
156
|
-
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
157
|
-
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
158
|
-
"ds:disabled:cursor-not-allowed ds:disabled:opacity-50"
|
|
159
|
-
].join(" ")
|
|
160
|
-
), Te = I(
|
|
161
|
-
[
|
|
162
|
-
"ds:flex ds:items-center ds:gap-[var(--spacing-md)]",
|
|
163
|
-
"ds:rounded-[var(--radius-md)] ds:border ds:bg-background",
|
|
164
|
-
"ds:p-[var(--spacing-md)]",
|
|
165
|
-
"ds:text-[length:var(--font-size-sm)] ds:text-foreground",
|
|
166
|
-
"ds:transition-all ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
167
|
-
].join(" "),
|
|
168
|
-
{
|
|
169
|
-
variants: {
|
|
170
|
-
status: {
|
|
171
|
-
pending: "ds:border-border",
|
|
172
|
-
uploading: "ds:border-primary/30 ds:bg-primary/[0.02]",
|
|
173
|
-
complete: "ds:border-[var(--success)]/30 ds:bg-[var(--success)]/[0.02]",
|
|
174
|
-
error: "ds:border-destructive/30 ds:bg-destructive/[0.02]"
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
defaultVariants: {
|
|
178
|
-
status: "pending"
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
), re = I(
|
|
182
|
-
[
|
|
183
|
-
"ds:inline-flex ds:items-center ds:justify-center",
|
|
184
|
-
"ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
|
|
185
|
-
"ds:rounded-[var(--radius-sm)]",
|
|
186
|
-
"ds:text-muted-foreground",
|
|
187
|
-
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
188
|
-
"ds:hover:text-foreground ds:hover:bg-muted/40",
|
|
189
|
-
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
190
|
-
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
|
|
191
|
-
].join(" ")
|
|
192
|
-
);
|
|
193
|
-
function We() {
|
|
194
|
-
return typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : `${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;
|
|
195
|
-
}
|
|
196
|
-
function Pe(o) {
|
|
197
|
-
return o.type.startsWith("image/");
|
|
198
|
-
}
|
|
199
|
-
function Ke(o) {
|
|
200
|
-
var c;
|
|
201
|
-
const n = ((c = o.name.split(".").pop()) == null ? void 0 : c.toLowerCase()) ?? "";
|
|
202
|
-
return ["pdf", "doc", "docx", "txt", "rtf"].includes(n) ? /* @__PURE__ */ t(je, { "aria-hidden": "true", className: "ds:size-10 ds:shrink-0 ds:text-muted-foreground" }) : ["zip", "rar", "7z", "tar", "gz"].includes(n) ? /* @__PURE__ */ t(Ie, { "aria-hidden": "true", className: "ds:size-10 ds:shrink-0 ds:text-muted-foreground" }) : ["xls", "xlsx", "csv"].includes(n) ? /* @__PURE__ */ t(Be, { "aria-hidden": "true", className: "ds:size-10 ds:shrink-0 ds:text-muted-foreground" }) : ["png", "jpg", "jpeg", "gif", "webp", "svg", "bmp"].includes(n) ? /* @__PURE__ */ t(De, { "aria-hidden": "true", className: "ds:size-10 ds:shrink-0 ds:text-muted-foreground" }) : /* @__PURE__ */ t(Ee, { "aria-hidden": "true", className: "ds:size-10 ds:shrink-0 ds:text-muted-foreground" });
|
|
203
|
-
}
|
|
204
|
-
function Ge(o) {
|
|
205
|
-
switch (o) {
|
|
206
|
-
case "uploading":
|
|
207
|
-
return /* @__PURE__ */ t(Ve, { "aria-hidden": "true", className: "ds:size-4 ds:shrink-0 ds:text-primary ds:animate-spin" });
|
|
208
|
-
case "complete":
|
|
209
|
-
return /* @__PURE__ */ t(Ce, { "aria-hidden": "true", className: "ds:size-4 ds:shrink-0 ds:text-[var(--success)]" });
|
|
210
|
-
case "error":
|
|
211
|
-
return /* @__PURE__ */ t(ne, { "aria-hidden": "true", className: "ds:size-4 ds:shrink-0 ds:text-destructive" });
|
|
212
|
-
default:
|
|
213
|
-
return null;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
const Xe = [
|
|
217
|
-
"ui.inputs.fileUpload.units.bytes",
|
|
218
|
-
"ui.inputs.fileUpload.units.kilobytes",
|
|
219
|
-
"ui.inputs.fileUpload.units.megabytes",
|
|
220
|
-
"ui.inputs.fileUpload.units.gigabytes"
|
|
221
|
-
], ae = ["B", "KB", "MB", "GB"];
|
|
222
|
-
function A(o, n, c) {
|
|
223
|
-
let u = o, p = 0;
|
|
224
|
-
for (; u >= 1024 && p < ae.length - 1; )
|
|
225
|
-
u /= 1024, p++;
|
|
226
|
-
const h = new Intl.NumberFormat(n, {
|
|
227
|
-
maximumFractionDigits: p === 0 ? 0 : 1
|
|
228
|
-
}).format(u), _ = c(Xe[p], ae[p]);
|
|
229
|
-
return `${h} ${_}`;
|
|
230
|
-
}
|
|
231
|
-
function Ye(o) {
|
|
232
|
-
switch (o) {
|
|
233
|
-
case "file-too-large":
|
|
234
|
-
return "file-too-large";
|
|
235
|
-
case "file-too-small":
|
|
236
|
-
return "file-too-small";
|
|
237
|
-
case "file-invalid-type":
|
|
238
|
-
return "file-invalid-type";
|
|
239
|
-
case "too-many-files":
|
|
240
|
-
return "too-many-files";
|
|
241
|
-
default:
|
|
242
|
-
return "file-invalid-type";
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
function de(o) {
|
|
246
|
-
const n = o.split(".");
|
|
247
|
-
return n.length > 1 ? `.${n.pop().toLowerCase()}` : "";
|
|
248
|
-
}
|
|
249
|
-
function Je(o) {
|
|
250
|
-
const n = [];
|
|
251
|
-
for (const u of Object.values(o))
|
|
252
|
-
for (const p of u)
|
|
253
|
-
n.push(p.toUpperCase().replace(".", ""));
|
|
254
|
-
if (n.length > 0) return n.join(", ");
|
|
255
|
-
const c = [];
|
|
256
|
-
for (const u of Object.keys(o))
|
|
257
|
-
u.endsWith("/*") ? c.push(u.replace("/*", "").split("/").pop() ?? u) : c.push(u.split("/").pop() ?? u);
|
|
258
|
-
return c.join(", ");
|
|
259
|
-
}
|
|
260
|
-
const Qe = ke(
|
|
261
|
-
({
|
|
262
|
-
id: o,
|
|
263
|
-
accept: n,
|
|
264
|
-
maxSize: c,
|
|
265
|
-
minSize: u,
|
|
266
|
-
maxFiles: p = 1,
|
|
267
|
-
multiple: h = !1,
|
|
268
|
-
disabled: _,
|
|
269
|
-
strictAccept: H = !1,
|
|
270
|
-
onDrop: j,
|
|
271
|
-
onUpload: D,
|
|
272
|
-
onRemove: C,
|
|
273
|
-
onReject: L,
|
|
274
|
-
variant: g = "both",
|
|
275
|
-
showPreview: oe = !0,
|
|
276
|
-
className: q
|
|
277
|
-
}, T) => {
|
|
278
|
-
const { t: a, i18n: w } = ze(), v = Me(), le = Ne(), x = v.disabled || _, ce = v.invalid, W = v.id || le, [F, b] = ee([]), [P, ue] = ee([]), R = O(/* @__PURE__ */ new Map()), B = O(null), $ = O(F);
|
|
279
|
-
$.current = F;
|
|
280
|
-
const U = y((e) => {
|
|
281
|
-
B.current && (B.current.textContent = e);
|
|
282
|
-
}, []), K = y(
|
|
283
|
-
(e) => {
|
|
284
|
-
if (!H || !n) return !0;
|
|
285
|
-
for (const [s, r] of Object.entries(n)) {
|
|
286
|
-
const d = s === "*/*" || s.endsWith("/*") && e.type.startsWith(s.replace("/*", "/")) || e.type === s, i = de(e.name), f = r.length === 0 || r.some((z) => z.toLowerCase() === i);
|
|
287
|
-
if (d && f) return !0;
|
|
288
|
-
}
|
|
289
|
-
return !1;
|
|
290
|
-
},
|
|
291
|
-
[H, n]
|
|
292
|
-
), G = y(
|
|
293
|
-
async (e) => {
|
|
294
|
-
if (!D) return;
|
|
295
|
-
const s = new AbortController();
|
|
296
|
-
R.current.set(e.id, s), b(
|
|
297
|
-
(r) => r.map(
|
|
298
|
-
(d) => d.id === e.id ? { ...d, status: "uploading", progress: 0 } : d
|
|
299
|
-
)
|
|
300
|
-
), U(a("ui.inputs.fileUpload.uploading", "Uploading…"));
|
|
301
|
-
try {
|
|
302
|
-
await D(e.file, {
|
|
303
|
-
signal: s.signal,
|
|
304
|
-
onProgress: (r) => {
|
|
305
|
-
b(
|
|
306
|
-
(d) => d.map(
|
|
307
|
-
(i) => i.id === e.id ? { ...i, progress: r } : i
|
|
308
|
-
)
|
|
309
|
-
), U(
|
|
310
|
-
a("ui.inputs.fileUpload.progress", "{{percent}}% uploaded", {
|
|
311
|
-
percent: r
|
|
312
|
-
})
|
|
313
|
-
);
|
|
314
|
-
}
|
|
315
|
-
}), b(
|
|
316
|
-
(r) => r.map(
|
|
317
|
-
(d) => d.id === e.id ? { ...d, status: "complete", progress: 100 } : d
|
|
318
|
-
)
|
|
319
|
-
), U(a("ui.inputs.fileUpload.complete", "Upload complete"));
|
|
320
|
-
} catch (r) {
|
|
321
|
-
if (s.signal.aborted) {
|
|
322
|
-
b((i) => i.filter((f) => f.id !== e.id));
|
|
323
|
-
return;
|
|
324
|
-
}
|
|
325
|
-
const d = r instanceof Error ? r.message : a("ui.inputs.fileUpload.errors.uploadFailed", "Upload failed");
|
|
326
|
-
b(
|
|
327
|
-
(i) => i.map(
|
|
328
|
-
(f) => f.id === e.id ? { ...f, status: "error", error: d } : f
|
|
329
|
-
)
|
|
330
|
-
);
|
|
331
|
-
} finally {
|
|
332
|
-
R.current.delete(e.id);
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
[D, U, a]
|
|
336
|
-
), E = y(
|
|
337
|
-
(e, s) => {
|
|
338
|
-
const r = s.flatMap(
|
|
339
|
-
(l) => l.errors.map((k) => ({
|
|
340
|
-
file: l.file,
|
|
341
|
-
reason: Ye(k.code)
|
|
342
|
-
}))
|
|
343
|
-
), d = [], i = [];
|
|
344
|
-
for (const l of e)
|
|
345
|
-
K(l) ? i.push(l) : d.push({ file: l, reason: "file-invalid-type" });
|
|
346
|
-
const f = [...r, ...d];
|
|
347
|
-
ue(f), f.length > 0 && (L == null || L(f));
|
|
348
|
-
const z = i.map((l) => ({
|
|
349
|
-
file: l,
|
|
350
|
-
id: We(),
|
|
351
|
-
status: "pending",
|
|
352
|
-
progress: 0,
|
|
353
|
-
preview: Pe(l) ? URL.createObjectURL(l) : void 0
|
|
354
|
-
}));
|
|
355
|
-
b((l) => {
|
|
356
|
-
if (!h && p === 1) {
|
|
357
|
-
for (const k of l)
|
|
358
|
-
k.preview && URL.revokeObjectURL(k.preview);
|
|
359
|
-
return z;
|
|
360
|
-
}
|
|
361
|
-
return [...l, ...z];
|
|
362
|
-
}), j == null || j(i, f), U(
|
|
363
|
-
a("ui.inputs.fileUpload.filesSelected", "{{count}} file(s) selected", {
|
|
364
|
-
count: i.length
|
|
365
|
-
})
|
|
366
|
-
);
|
|
367
|
-
for (const l of z)
|
|
368
|
-
G(l);
|
|
369
|
-
},
|
|
370
|
-
[
|
|
371
|
-
h,
|
|
372
|
-
p,
|
|
373
|
-
j,
|
|
374
|
-
L,
|
|
375
|
-
K,
|
|
376
|
-
U,
|
|
377
|
-
G,
|
|
378
|
-
a
|
|
379
|
-
]
|
|
380
|
-
), { getRootProps: pe, getInputProps: X, isDragActive: M, open: Y } = Ue({
|
|
381
|
-
accept: n,
|
|
382
|
-
maxSize: c,
|
|
383
|
-
minSize: u,
|
|
384
|
-
maxFiles: h ? p : 1,
|
|
385
|
-
multiple: h,
|
|
386
|
-
disabled: x,
|
|
387
|
-
onDrop: E,
|
|
388
|
-
noClick: g === "button",
|
|
389
|
-
noKeyboard: g === "button"
|
|
390
|
-
}), fe = y(
|
|
391
|
-
(e) => {
|
|
392
|
-
const s = R.current.get(e);
|
|
393
|
-
s == null || s.abort(), b((r) => {
|
|
394
|
-
const d = r.find((i) => i.id === e);
|
|
395
|
-
return d != null && d.preview && URL.revokeObjectURL(d.preview), r.filter((i) => i.id !== e);
|
|
396
|
-
});
|
|
397
|
-
},
|
|
398
|
-
[]
|
|
399
|
-
), me = y(
|
|
400
|
-
(e) => {
|
|
401
|
-
const s = $.current.find((r) => r.id === e);
|
|
402
|
-
s != null && s.preview && URL.revokeObjectURL(s.preview), b((r) => r.filter((d) => d.id !== e)), s && (C == null || C(s));
|
|
403
|
-
},
|
|
404
|
-
[C]
|
|
405
|
-
), J = y(
|
|
406
|
-
(e) => {
|
|
407
|
-
const s = [], r = [], d = h ? p : 1;
|
|
408
|
-
for (const i of e) {
|
|
409
|
-
if (s.length >= d) {
|
|
410
|
-
r.push({ file: i, reason: "too-many-files" });
|
|
411
|
-
continue;
|
|
412
|
-
}
|
|
413
|
-
if (c !== void 0 && i.size > c) {
|
|
414
|
-
r.push({ file: i, reason: "file-too-large" });
|
|
415
|
-
continue;
|
|
416
|
-
}
|
|
417
|
-
if (u !== void 0 && i.size < u) {
|
|
418
|
-
r.push({ file: i, reason: "file-too-small" });
|
|
419
|
-
continue;
|
|
420
|
-
}
|
|
421
|
-
if (n) {
|
|
422
|
-
const f = de(i.name);
|
|
423
|
-
if (!Object.entries(n).some(([l, k]) => {
|
|
424
|
-
const be = l === "*/*" || l.endsWith("/*") && i.type.startsWith(l.replace("/*", "/")) || i.type === l, ye = k.length > 0 && k.some((xe) => xe.toLowerCase() === f);
|
|
425
|
-
return be || ye;
|
|
426
|
-
})) {
|
|
427
|
-
r.push({ file: i, reason: "file-invalid-type" });
|
|
428
|
-
continue;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
s.push(i);
|
|
432
|
-
}
|
|
433
|
-
return { accepted: s, rejected: r };
|
|
434
|
-
},
|
|
435
|
-
[n, c, u, p, h]
|
|
436
|
-
), Q = y(
|
|
437
|
-
(e) => {
|
|
438
|
-
if (x) return;
|
|
439
|
-
const s = Array.from(e.clipboardData.files);
|
|
440
|
-
if (s.length > 0) {
|
|
441
|
-
e.preventDefault();
|
|
442
|
-
const { accepted: r, rejected: d } = J(s), i = d.map((f) => ({
|
|
443
|
-
file: f.file,
|
|
444
|
-
errors: [{ code: f.reason, message: f.reason }]
|
|
445
|
-
}));
|
|
446
|
-
E(r, i);
|
|
447
|
-
}
|
|
448
|
-
},
|
|
449
|
-
[x, E, J]
|
|
450
|
-
);
|
|
451
|
-
we(() => () => {
|
|
452
|
-
for (const e of $.current)
|
|
453
|
-
e.preview && URL.revokeObjectURL(e.preview);
|
|
454
|
-
}, []);
|
|
455
|
-
const Z = se(() => {
|
|
456
|
-
const e = [];
|
|
457
|
-
return n && e.push(Je(n)), c && e.push(
|
|
458
|
-
a("ui.inputs.fileUpload.maxSizeHint", "Max {{size}}", {
|
|
459
|
-
size: A(c, w.language, a)
|
|
460
|
-
})
|
|
461
|
-
), h && p > 1 && e.push(
|
|
462
|
-
a("ui.inputs.fileUpload.maxFilesHint", "Up to {{count}} files", {
|
|
463
|
-
count: p
|
|
464
|
-
})
|
|
465
|
-
), e;
|
|
466
|
-
}, [n, c, h, p, a, w.language]), S = se(() => P.map((e) => {
|
|
467
|
-
switch (e.reason) {
|
|
468
|
-
case "file-too-large":
|
|
469
|
-
return a("ui.inputs.fileUpload.errors.fileTooLarge", "File exceeds {{maxSize}}", {
|
|
470
|
-
maxSize: c ? A(c, w.language, a) : ""
|
|
471
|
-
});
|
|
472
|
-
case "file-too-small":
|
|
473
|
-
return a("ui.inputs.fileUpload.errors.fileTooSmall", "File is smaller than {{minSize}}", {
|
|
474
|
-
minSize: u ? A(u, w.language, a) : ""
|
|
475
|
-
});
|
|
476
|
-
case "file-invalid-type":
|
|
477
|
-
return a("ui.inputs.fileUpload.errors.fileInvalidType", "File type not accepted");
|
|
478
|
-
case "too-many-files":
|
|
479
|
-
return a("ui.inputs.fileUpload.errors.tooManyFiles", "Maximum {{maxFiles}} files allowed", {
|
|
480
|
-
maxFiles: p
|
|
481
|
-
});
|
|
482
|
-
}
|
|
483
|
-
}), [P, a, c, u, p, w.language]), he = () => F.length === 0 ? null : /* @__PURE__ */ t("ul", { className: "ds:mt-[var(--spacing-md)] ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:list-none ds:p-0 ds:m-0", children: F.map((e) => /* @__PURE__ */ m("li", { "data-file-id": e.id, className: Te({ status: e.status }), children: [
|
|
484
|
-
oe && e.preview ? /* @__PURE__ */ t(
|
|
485
|
-
"img",
|
|
486
|
-
{
|
|
487
|
-
src: e.preview,
|
|
488
|
-
alt: "",
|
|
489
|
-
"aria-hidden": "true",
|
|
490
|
-
className: "ds:size-12 ds:shrink-0 ds:rounded-[var(--radius-md)] ds:object-cover ds:border ds:border-border"
|
|
491
|
-
}
|
|
492
|
-
) : Ke(e.file),
|
|
493
|
-
/* @__PURE__ */ m("div", { className: "ds:flex-1 ds:min-w-0", children: [
|
|
494
|
-
/* @__PURE__ */ m("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
495
|
-
/* @__PURE__ */ t("p", { className: "ds:truncate type-label ds:m-0", children: e.file.name }),
|
|
496
|
-
Ge(e.status)
|
|
497
|
-
] }),
|
|
498
|
-
/* @__PURE__ */ m("p", { className: "type-meta ds:text-muted-foreground ds:m-0 ds:mt-0.5", children: [
|
|
499
|
-
A(e.file.size, w.language, a),
|
|
500
|
-
e.status === "uploading" && /* @__PURE__ */ m("span", { className: "ds:ms-[var(--spacing-sm)] ds:text-primary ds:font-medium", children: [
|
|
501
|
-
e.progress,
|
|
502
|
-
"%"
|
|
503
|
-
] }),
|
|
504
|
-
e.status === "complete" && /* @__PURE__ */ t("span", { className: "ds:ms-[var(--spacing-sm)] ds:text-[var(--success)] ds:font-medium", children: a("ui.inputs.fileUpload.complete", "Complete") })
|
|
505
|
-
] }),
|
|
506
|
-
e.status === "uploading" && /* @__PURE__ */ t(
|
|
507
|
-
"div",
|
|
508
|
-
{
|
|
509
|
-
role: "progressbar",
|
|
510
|
-
"aria-label": e.file.name,
|
|
511
|
-
"aria-valuenow": e.progress,
|
|
512
|
-
"aria-valuemin": 0,
|
|
513
|
-
"aria-valuemax": 100,
|
|
514
|
-
className: "ds:mt-[var(--spacing-sm)] ds:h-1.5 ds:w-full ds:rounded-[var(--radius-full)] ds:bg-muted ds:overflow-hidden",
|
|
515
|
-
children: /* @__PURE__ */ t(
|
|
516
|
-
"div",
|
|
517
|
-
{
|
|
518
|
-
className: "ds:h-full ds:rounded-[var(--radius-full)] ds:bg-primary ds:transition-[inline-size] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
519
|
-
style: { inlineSize: `${e.progress}%` }
|
|
520
|
-
}
|
|
521
|
-
)
|
|
522
|
-
}
|
|
523
|
-
),
|
|
524
|
-
e.status === "error" && e.error && /* @__PURE__ */ t("p", { role: "alert", className: "type-meta ds:text-destructive ds:m-0 ds:mt-[var(--spacing-xs)]", children: e.error })
|
|
525
|
-
] }),
|
|
526
|
-
e.status === "uploading" && /* @__PURE__ */ t(
|
|
527
|
-
"button",
|
|
528
|
-
{
|
|
529
|
-
type: "button",
|
|
530
|
-
onClick: () => fe(e.id),
|
|
531
|
-
"aria-label": a("ui.inputs.fileUpload.cancel", "Cancel upload"),
|
|
532
|
-
className: re(),
|
|
533
|
-
children: /* @__PURE__ */ t(te, { "aria-hidden": "true", className: "ds:size-4" })
|
|
534
|
-
}
|
|
535
|
-
),
|
|
536
|
-
(e.status === "complete" || e.status === "pending" || e.status === "error") && /* @__PURE__ */ t(
|
|
537
|
-
"button",
|
|
538
|
-
{
|
|
539
|
-
type: "button",
|
|
540
|
-
onClick: () => me(e.id),
|
|
541
|
-
"aria-label": a("ui.inputs.fileUpload.remove", "Remove file"),
|
|
542
|
-
className: re(),
|
|
543
|
-
children: /* @__PURE__ */ t(te, { "aria-hidden": "true", className: "ds:size-4" })
|
|
544
|
-
}
|
|
545
|
-
)
|
|
546
|
-
] }, e.id)) }), ge = () => {
|
|
547
|
-
if (g === "button") return null;
|
|
548
|
-
const e = pe({
|
|
549
|
-
className: qe({
|
|
550
|
-
isDragActive: M,
|
|
551
|
-
hasError: ce ?? !1,
|
|
552
|
-
isDisabled: x ?? !1,
|
|
553
|
-
className: q
|
|
554
|
-
}),
|
|
555
|
-
tabIndex: x ? -1 : 0
|
|
556
|
-
});
|
|
557
|
-
return /* @__PURE__ */ m(
|
|
558
|
-
"div",
|
|
559
|
-
{
|
|
560
|
-
...e,
|
|
561
|
-
ref: T,
|
|
562
|
-
onPaste: Q,
|
|
563
|
-
id: W,
|
|
564
|
-
"aria-label": a("ui.inputs.fileUpload.dropHere", "Drop files here or click to browse"),
|
|
565
|
-
"aria-describedby": v.describedBy || void 0,
|
|
566
|
-
"aria-invalid": v.invalid || void 0,
|
|
567
|
-
"aria-required": v.required || void 0,
|
|
568
|
-
"data-testid": "file-upload-dropzone",
|
|
569
|
-
children: [
|
|
570
|
-
/* @__PURE__ */ t("input", { ...X() }),
|
|
571
|
-
/* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
572
|
-
/* @__PURE__ */ t("div", { className: "ds:flex ds:items-center ds:justify-center ds:size-14 ds:rounded-[var(--radius-full)] ds:bg-primary/10 ds:text-primary ds:transition-colors ds:duration-[var(--animation-duration)] ds:group-hover:bg-primary/15 ds:motion-reduce:transition-none", children: M ? /* @__PURE__ */ t(Fe, { "aria-hidden": "true", className: "ds:size-7" }) : /* @__PURE__ */ t(V, { "aria-hidden": "true", className: "ds:size-7" }) }),
|
|
573
|
-
/* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
574
|
-
/* @__PURE__ */ t("p", { className: "type-label ds:text-foreground ds:text-center ds:m-0", children: M ? a("ui.inputs.fileUpload.dropActive", "Drop files here") : a("ui.inputs.fileUpload.dropHere", "Drop files here or click to browse") }),
|
|
575
|
-
Z.length > 0 && !M && /* @__PURE__ */ t("p", { className: "type-meta ds:text-muted-foreground ds:text-center ds:m-0", children: Z.join(" · ") })
|
|
576
|
-
] }),
|
|
577
|
-
g === "both" && !M && /* @__PURE__ */ m(
|
|
578
|
-
"button",
|
|
579
|
-
{
|
|
580
|
-
type: "button",
|
|
581
|
-
onClick: (s) => {
|
|
582
|
-
s.stopPropagation(), Y();
|
|
583
|
-
},
|
|
584
|
-
disabled: x,
|
|
585
|
-
className: ie({ className: "ds:mt-[var(--spacing-xs)]" }),
|
|
586
|
-
children: [
|
|
587
|
-
/* @__PURE__ */ t(V, { "aria-hidden": "true", className: "ds:size-4" }),
|
|
588
|
-
a("ui.inputs.fileUpload.browse", "Browse files")
|
|
589
|
-
]
|
|
590
|
-
}
|
|
591
|
-
)
|
|
592
|
-
] })
|
|
593
|
-
]
|
|
594
|
-
}
|
|
595
|
-
);
|
|
596
|
-
}, ve = () => g === "dropzone" ? null : g === "button" ? /* @__PURE__ */ m("div", { onPaste: Q, ref: T, children: [
|
|
597
|
-
/* @__PURE__ */ t("input", { ...X() }),
|
|
598
|
-
/* @__PURE__ */ m(
|
|
599
|
-
"button",
|
|
600
|
-
{
|
|
601
|
-
type: "button",
|
|
602
|
-
onClick: Y,
|
|
603
|
-
disabled: x,
|
|
604
|
-
className: ie({ className: q }),
|
|
605
|
-
id: g === "button" ? W : void 0,
|
|
606
|
-
"aria-describedby": g === "button" && v.describedBy || void 0,
|
|
607
|
-
"aria-invalid": g === "button" && v.invalid || void 0,
|
|
608
|
-
"aria-required": g === "button" && v.required || void 0,
|
|
609
|
-
children: [
|
|
610
|
-
/* @__PURE__ */ t(V, { "aria-hidden": "true", className: "ds:size-4" }),
|
|
611
|
-
a("ui.inputs.fileUpload.browse", "Browse files")
|
|
612
|
-
]
|
|
613
|
-
}
|
|
614
|
-
)
|
|
615
|
-
] }) : null;
|
|
616
|
-
return /* @__PURE__ */ m("div", { "data-component": "file-upload", "data-component-id": o, children: [
|
|
617
|
-
ge(),
|
|
618
|
-
ve(),
|
|
619
|
-
he(),
|
|
620
|
-
S.length > 0 && /* @__PURE__ */ t("div", { role: "alert", className: "ds:mt-[var(--spacing-sm)] ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: S.map((e, s) => /* @__PURE__ */ m("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
621
|
-
/* @__PURE__ */ t(ne, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0 ds:text-destructive" }),
|
|
622
|
-
/* @__PURE__ */ t("p", { className: "type-meta ds:text-destructive ds:m-0", children: e })
|
|
623
|
-
] }, s)) }),
|
|
624
|
-
/* @__PURE__ */ t(
|
|
625
|
-
"span",
|
|
626
|
-
{
|
|
627
|
-
ref: B,
|
|
628
|
-
role: "status",
|
|
629
|
-
"aria-live": "polite",
|
|
630
|
-
className: "ds:sr-only"
|
|
631
|
-
}
|
|
632
|
-
)
|
|
633
|
-
] });
|
|
634
|
-
}
|
|
635
|
-
);
|
|
636
|
-
Qe.displayName = "FileUpload";
|
|
637
|
-
const ls = {
|
|
638
|
-
id: "file-upload",
|
|
639
|
-
capabilities: ["submit", "dismiss"],
|
|
640
|
-
state: {
|
|
641
|
-
files: {
|
|
642
|
-
type: "Array<{ id, name, size, status }>",
|
|
643
|
-
description: "Files currently tracked by the uploader. Identifiers and metadata only — never file content.",
|
|
644
|
-
read: (o) => o.getFiles()
|
|
645
|
-
}
|
|
646
|
-
},
|
|
647
|
-
actions: {
|
|
648
|
-
remove_file: {
|
|
649
|
-
safety: "destructive",
|
|
650
|
-
argsType: "{ id: string }",
|
|
651
|
-
description: "Remove the file with the given id from the upload list.",
|
|
652
|
-
invoke: (o, n) => {
|
|
653
|
-
o.removeFile(n.id);
|
|
654
|
-
}
|
|
655
|
-
},
|
|
656
|
-
clear: {
|
|
657
|
-
safety: "destructive",
|
|
658
|
-
description: "Remove all files from the upload list.",
|
|
659
|
-
invoke: (o) => {
|
|
660
|
-
o.clear();
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
},
|
|
664
|
-
domHooks: {
|
|
665
|
-
root: { attr: "data-component", value: "file-upload" },
|
|
666
|
-
instanceId: {
|
|
667
|
-
attr: "data-component-id",
|
|
668
|
-
sourceProp: "id",
|
|
669
|
-
description: "Sourced from the id prop."
|
|
670
|
-
},
|
|
671
|
-
item: {
|
|
672
|
-
attr: "data-file-id",
|
|
673
|
-
description: "Each tracked file emits its id as data-file-id."
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
};
|
|
677
|
-
export {
|
|
678
|
-
Qe as F,
|
|
679
|
-
ls as f
|
|
680
|
-
};
|
|
681
|
-
//# sourceMappingURL=file-upload.agent-DJaH2dHg.js.map
|