@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,183 +0,0 @@
|
|
|
1
|
-
import { jsx as a, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as Q, useState as g, useRef as U, useCallback as X } from "react";
|
|
3
|
-
import { useTranslation as Z } from "react-i18next";
|
|
4
|
-
import * as f from "@radix-ui/react-popover";
|
|
5
|
-
import { u as _ } from "./form-field-context-94LwgYTQ.js";
|
|
6
|
-
import { a as z, g as ee, b as te, e as C, c as ae, C as se, d as re, t as ne, p as oe, D as de, f as ie, h as le } from "./react-day-picker-C04L_28V.js";
|
|
7
|
-
import { c as ce, b as N, s as fe, f as y, d as ue } from "./isSameMonth-5wNF2f4I.js";
|
|
8
|
-
function h(o, i, r) {
|
|
9
|
-
return ce(o, -i, r);
|
|
10
|
-
}
|
|
11
|
-
function me(o, i, r) {
|
|
12
|
-
return z(o, -1, r);
|
|
13
|
-
}
|
|
14
|
-
const pe = Q(
|
|
15
|
-
({
|
|
16
|
-
value: o,
|
|
17
|
-
defaultValue: i,
|
|
18
|
-
onChange: r,
|
|
19
|
-
minDate: O,
|
|
20
|
-
maxDate: T,
|
|
21
|
-
presets: u,
|
|
22
|
-
mergePresets: W = !1,
|
|
23
|
-
size: b = "md",
|
|
24
|
-
disabled: S,
|
|
25
|
-
placeholder: V,
|
|
26
|
-
className: I,
|
|
27
|
-
id: L
|
|
28
|
-
}, F) => {
|
|
29
|
-
const { t: s, i18n: j } = Z(), d = _(), B = L ?? d.id, k = d.disabled || S, $ = d.invalid ? "error" : "default", n = ee(j.language), Y = V ?? s("ui.inputs.dateRangePicker.placeholder", "Select date range"), m = o !== void 0, [q, A] = g(
|
|
30
|
-
o ?? i ?? {}
|
|
31
|
-
), t = m ? o : q, [D, v] = g(!1), [E, w] = g(
|
|
32
|
-
t.from ?? /* @__PURE__ */ new Date()
|
|
33
|
-
), G = U(null), p = X(
|
|
34
|
-
(e) => {
|
|
35
|
-
m || A(e), r == null || r(e);
|
|
36
|
-
},
|
|
37
|
-
[m, r]
|
|
38
|
-
), H = te(O, T), M = [
|
|
39
|
-
{
|
|
40
|
-
label: s("ui.inputs.dateRangePicker.presets.today", "Today"),
|
|
41
|
-
range: () => {
|
|
42
|
-
const e = /* @__PURE__ */ new Date();
|
|
43
|
-
return { from: e, to: e };
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
label: s("ui.inputs.dateRangePicker.presets.yesterday", "Yesterday"),
|
|
48
|
-
range: () => {
|
|
49
|
-
const e = h(/* @__PURE__ */ new Date(), 1);
|
|
50
|
-
return { from: e, to: e };
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
label: s("ui.inputs.dateRangePicker.presets.last7", "Last 7 days"),
|
|
55
|
-
range: () => ({
|
|
56
|
-
from: h(/* @__PURE__ */ new Date(), 6),
|
|
57
|
-
to: /* @__PURE__ */ new Date()
|
|
58
|
-
})
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
label: s("ui.inputs.dateRangePicker.presets.thisWeek", "This week"),
|
|
62
|
-
range: () => ({
|
|
63
|
-
from: N(/* @__PURE__ */ new Date(), { locale: n }),
|
|
64
|
-
to: C(/* @__PURE__ */ new Date(), { locale: n })
|
|
65
|
-
})
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
label: s("ui.inputs.dateRangePicker.presets.lastWeek", "Last week"),
|
|
69
|
-
range: () => {
|
|
70
|
-
const e = me(/* @__PURE__ */ new Date());
|
|
71
|
-
return {
|
|
72
|
-
from: N(e, { locale: n }),
|
|
73
|
-
to: C(e, { locale: n })
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
label: s("ui.inputs.dateRangePicker.presets.thisMonth", "This month"),
|
|
79
|
-
range: () => ({
|
|
80
|
-
from: fe(/* @__PURE__ */ new Date()),
|
|
81
|
-
to: ae(/* @__PURE__ */ new Date())
|
|
82
|
-
})
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
label: s("ui.inputs.dateRangePicker.presets.last30", "Last 30 days"),
|
|
86
|
-
range: () => ({
|
|
87
|
-
from: h(/* @__PURE__ */ new Date(), 29),
|
|
88
|
-
to: /* @__PURE__ */ new Date()
|
|
89
|
-
})
|
|
90
|
-
}
|
|
91
|
-
], x = u ? W ? [...M, ...u] : u : M, J = (e) => {
|
|
92
|
-
p(e ? { from: e.from, to: e.to } : {});
|
|
93
|
-
}, K = (e) => {
|
|
94
|
-
const l = e.range();
|
|
95
|
-
p(l), w(l.from), v(!1);
|
|
96
|
-
}, R = (() => {
|
|
97
|
-
if (t.from && t.to) {
|
|
98
|
-
const e = y(t.from, "MMM d, yyyy", { locale: n }), l = y(t.to, "MMM d, yyyy", { locale: n });
|
|
99
|
-
return `${e} – ${l}`;
|
|
100
|
-
}
|
|
101
|
-
return t.from ? y(t.from, "MMM d, yyyy", { locale: n }) : "";
|
|
102
|
-
})(), P = (() => {
|
|
103
|
-
if (t.from && t.to) {
|
|
104
|
-
const e = ue(t.to, t.from) + 1;
|
|
105
|
-
return s("ui.inputs.dateRangePicker.days", "{{count}} days", { count: e });
|
|
106
|
-
}
|
|
107
|
-
return "";
|
|
108
|
-
})();
|
|
109
|
-
return /* @__PURE__ */ a(f.Root, { open: D, onOpenChange: v, children: /* @__PURE__ */ c("div", { ref: F, className: I, "data-component": "date-range-picker", children: [
|
|
110
|
-
/* @__PURE__ */ a(f.Trigger, { asChild: !0, disabled: k, children: /* @__PURE__ */ c(
|
|
111
|
-
"button",
|
|
112
|
-
{
|
|
113
|
-
ref: G,
|
|
114
|
-
id: B,
|
|
115
|
-
type: "button",
|
|
116
|
-
disabled: k,
|
|
117
|
-
"aria-describedby": d.describedBy || void 0,
|
|
118
|
-
"aria-invalid": d.invalid || void 0,
|
|
119
|
-
"aria-haspopup": "dialog",
|
|
120
|
-
"aria-expanded": D,
|
|
121
|
-
className: ne({ size: b, tone: $ }),
|
|
122
|
-
children: [
|
|
123
|
-
/* @__PURE__ */ a("span", { className: R ? "ds:text-foreground" : "ds:text-muted-foreground", children: R || Y }),
|
|
124
|
-
/* @__PURE__ */ a("span", { "aria-hidden": "true", className: re({ size: b }), children: /* @__PURE__ */ a(se, {}) })
|
|
125
|
-
]
|
|
126
|
-
}
|
|
127
|
-
) }),
|
|
128
|
-
/* @__PURE__ */ a(f.Portal, { children: /* @__PURE__ */ a(
|
|
129
|
-
f.Content,
|
|
130
|
-
{
|
|
131
|
-
sideOffset: 4,
|
|
132
|
-
align: "start",
|
|
133
|
-
className: le(),
|
|
134
|
-
children: /* @__PURE__ */ c("div", { className: "ds:flex ds:gap-[var(--spacing-md)]", children: [
|
|
135
|
-
x.length > 0 ? /* @__PURE__ */ a("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-[8rem] ds:border-e ds:border-border ds:pe-[var(--spacing-md)]", children: x.map((e) => /* @__PURE__ */ a(
|
|
136
|
-
"button",
|
|
137
|
-
{
|
|
138
|
-
type: "button",
|
|
139
|
-
onClick: () => K(e),
|
|
140
|
-
className: oe(),
|
|
141
|
-
children: e.label
|
|
142
|
-
},
|
|
143
|
-
e.label
|
|
144
|
-
)) }) : null,
|
|
145
|
-
/* @__PURE__ */ c("div", { children: [
|
|
146
|
-
/* @__PURE__ */ a(
|
|
147
|
-
de,
|
|
148
|
-
{
|
|
149
|
-
mode: "range",
|
|
150
|
-
selected: t.from ? { from: t.from, to: t.to } : void 0,
|
|
151
|
-
onSelect: J,
|
|
152
|
-
month: E,
|
|
153
|
-
onMonthChange: w,
|
|
154
|
-
numberOfMonths: 2,
|
|
155
|
-
disabled: H,
|
|
156
|
-
locale: n,
|
|
157
|
-
showOutsideDays: !0,
|
|
158
|
-
fixedWeeks: !0,
|
|
159
|
-
pagedNavigation: !0,
|
|
160
|
-
components: { Chevron: ie }
|
|
161
|
-
}
|
|
162
|
-
),
|
|
163
|
-
P ? /* @__PURE__ */ a(
|
|
164
|
-
"div",
|
|
165
|
-
{
|
|
166
|
-
role: "status",
|
|
167
|
-
"aria-live": "polite",
|
|
168
|
-
className: "type-body-sm ds:text-muted-foreground ds:mt-[var(--spacing-sm)] ds:text-center",
|
|
169
|
-
children: P
|
|
170
|
-
}
|
|
171
|
-
) : null
|
|
172
|
-
] })
|
|
173
|
-
] })
|
|
174
|
-
}
|
|
175
|
-
) })
|
|
176
|
-
] }) });
|
|
177
|
-
}
|
|
178
|
-
);
|
|
179
|
-
pe.displayName = "DateRangePicker";
|
|
180
|
-
export {
|
|
181
|
-
pe as D
|
|
182
|
-
};
|
|
183
|
-
//# sourceMappingURL=date-range-picker-BcNDJI7m.js.map
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
import { jsx as a, jsxs as h } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as ie, useState as f, useRef as oe, useCallback as F } from "react";
|
|
3
|
-
import { c as de } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as le } from "react-i18next";
|
|
5
|
-
import * as v from "@radix-ui/react-popover";
|
|
6
|
-
import { u as ce } from "./form-field-context-94LwgYTQ.js";
|
|
7
|
-
import { T as ue } from "./time-picker-D-EueWUG.js";
|
|
8
|
-
import { g as fe, b as me, i as pe, j as ge, C as he, d as ve, t as be, D as ye, f as Te, h as we } from "./react-day-picker-C04L_28V.js";
|
|
9
|
-
import { f as De } from "./isSameMonth-5wNF2f4I.js";
|
|
10
|
-
import { t as j } from "./isSameDay-ecuM8PBB.js";
|
|
11
|
-
function H(s, r, t) {
|
|
12
|
-
const n = j(s, t == null ? void 0 : t.in);
|
|
13
|
-
return n.setHours(r), n;
|
|
14
|
-
}
|
|
15
|
-
function I(s, r, t) {
|
|
16
|
-
const n = j(s, t == null ? void 0 : t.in);
|
|
17
|
-
return n.setMinutes(r), n;
|
|
18
|
-
}
|
|
19
|
-
function xe(s, r) {
|
|
20
|
-
var t;
|
|
21
|
-
try {
|
|
22
|
-
const n = { timeZoneName: "short" };
|
|
23
|
-
return r && r !== "local" && (n.timeZone = r === "utc" ? "UTC" : r), ((t = new Intl.DateTimeFormat(s, n).formatToParts(/* @__PURE__ */ new Date()).find((o) => o.type === "timeZoneName")) == null ? void 0 : t.value) ?? "";
|
|
24
|
-
} catch {
|
|
25
|
-
return "";
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
function Ce(s) {
|
|
29
|
-
if (!s || s === "local") return !1;
|
|
30
|
-
try {
|
|
31
|
-
const r = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
32
|
-
return s === "utc" ? r !== "UTC" : r !== s;
|
|
33
|
-
} catch {
|
|
34
|
-
return !1;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
const ke = de(
|
|
38
|
-
[
|
|
39
|
-
"ds:w-full ds:rounded-[var(--radius-sm)]",
|
|
40
|
-
"ds:bg-primary ds:text-primary-foreground",
|
|
41
|
-
"ds:hover:bg-primary-hover ds:cursor-pointer",
|
|
42
|
-
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
43
|
-
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
44
|
-
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
45
|
-
"ds:disabled:cursor-not-allowed ds:disabled:opacity-50"
|
|
46
|
-
].join(" "),
|
|
47
|
-
{
|
|
48
|
-
variants: {
|
|
49
|
-
size: {
|
|
50
|
-
sm: "ds:h-8 ds:text-[length:var(--font-size-sm)]",
|
|
51
|
-
md: "ds:h-[var(--min-target-size)] ds:text-[length:var(--font-size-base)]",
|
|
52
|
-
lg: "ds:h-12 ds:text-[length:var(--font-size-lg)]"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
defaultVariants: { size: "md" }
|
|
56
|
-
}
|
|
57
|
-
), Ne = ie(
|
|
58
|
-
({
|
|
59
|
-
value: s,
|
|
60
|
-
defaultValue: r,
|
|
61
|
-
onChange: t,
|
|
62
|
-
timezone: n,
|
|
63
|
-
showTimezone: b,
|
|
64
|
-
minDate: o,
|
|
65
|
-
maxDate: m,
|
|
66
|
-
hour12: B,
|
|
67
|
-
minuteStep: S = 1,
|
|
68
|
-
size: p = "md",
|
|
69
|
-
disabled: Z,
|
|
70
|
-
placeholder: A,
|
|
71
|
-
className: z,
|
|
72
|
-
id: E
|
|
73
|
-
}, U) => {
|
|
74
|
-
const { t: l, i18n: x } = le(), c = ce(), _ = E ?? c.id, C = c.disabled || Z, W = c.invalid ? "error" : "default", k = fe(x.language), q = A ?? l("ui.inputs.dateTimePicker.placeholder", "Select date and time"), G = l("ui.inputs.dateTimePicker.apply", "Apply"), J = l(
|
|
75
|
-
"ui.inputs.dateTimePicker.outOfRange",
|
|
76
|
-
"Date/time is out of allowed range"
|
|
77
|
-
), N = (b !== void 0 ? b : Ce(n)) ? xe(x.language, n) : "", y = s !== void 0, [K, Q] = f(
|
|
78
|
-
s ?? r
|
|
79
|
-
), d = y ? s : K, [i, T] = f(d), [M, P] = f(!1), [X, L] = f(d ?? /* @__PURE__ */ new Date()), [R, g] = f(!1), V = oe(null), Y = F(
|
|
80
|
-
(e) => {
|
|
81
|
-
y || Q(e), t == null || t(e);
|
|
82
|
-
},
|
|
83
|
-
[y, t]
|
|
84
|
-
), $ = me(o, m), w = F(
|
|
85
|
-
(e) => !(o && pe(e, o) || m && ge(e, m)),
|
|
86
|
-
[o, m]
|
|
87
|
-
), ee = (e) => {
|
|
88
|
-
e && (T(d ?? /* @__PURE__ */ new Date()), L(d ?? /* @__PURE__ */ new Date()), g(!1)), P(e);
|
|
89
|
-
}, te = (e) => {
|
|
90
|
-
if (!e) return;
|
|
91
|
-
const D = i ?? /* @__PURE__ */ new Date(), u = I(H(e, D.getHours()), D.getMinutes());
|
|
92
|
-
T(u), g(!w(u));
|
|
93
|
-
}, se = (e) => {
|
|
94
|
-
const u = I(H(i ?? /* @__PURE__ */ new Date(), e.hours), e.minutes);
|
|
95
|
-
T(u), g(!w(u));
|
|
96
|
-
}, re = () => {
|
|
97
|
-
var e;
|
|
98
|
-
if (i) {
|
|
99
|
-
if (!w(i)) {
|
|
100
|
-
g(!0);
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
Y(i), P(!1), (e = V.current) == null || e.focus();
|
|
104
|
-
}
|
|
105
|
-
}, O = d ? De(d, "MMM d, yyyy HH:mm", { locale: k }) : "", ae = l("ui.inputs.datePicker.gridLabel", "Calendar"), ne = l("ui.inputs.timePicker.groupLabel", "Time");
|
|
106
|
-
return /* @__PURE__ */ a(v.Root, { open: M, onOpenChange: ee, children: /* @__PURE__ */ h("div", { ref: U, className: z, "data-component": "date-time-picker", children: [
|
|
107
|
-
/* @__PURE__ */ a(v.Trigger, { asChild: !0, disabled: C, children: /* @__PURE__ */ h(
|
|
108
|
-
"button",
|
|
109
|
-
{
|
|
110
|
-
ref: V,
|
|
111
|
-
id: _,
|
|
112
|
-
type: "button",
|
|
113
|
-
disabled: C,
|
|
114
|
-
"aria-describedby": c.describedBy || void 0,
|
|
115
|
-
"aria-invalid": c.invalid || void 0,
|
|
116
|
-
"aria-haspopup": "dialog",
|
|
117
|
-
"aria-expanded": M,
|
|
118
|
-
className: be({ size: p, tone: W }),
|
|
119
|
-
children: [
|
|
120
|
-
/* @__PURE__ */ a("span", { className: O ? "ds:text-foreground" : "ds:text-muted-foreground", children: O || q }),
|
|
121
|
-
/* @__PURE__ */ a("span", { "aria-hidden": "true", className: ve({ size: p }), children: /* @__PURE__ */ a(he, {}) })
|
|
122
|
-
]
|
|
123
|
-
}
|
|
124
|
-
) }),
|
|
125
|
-
/* @__PURE__ */ a(v.Portal, { children: /* @__PURE__ */ a(
|
|
126
|
-
v.Content,
|
|
127
|
-
{
|
|
128
|
-
sideOffset: 4,
|
|
129
|
-
align: "start",
|
|
130
|
-
className: we(),
|
|
131
|
-
children: /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:sm:flex-row ds:gap-[var(--spacing-md)]", children: [
|
|
132
|
-
/* @__PURE__ */ a("div", { role: "region", "aria-label": ae, children: /* @__PURE__ */ a(
|
|
133
|
-
ye,
|
|
134
|
-
{
|
|
135
|
-
mode: "single",
|
|
136
|
-
selected: i,
|
|
137
|
-
onSelect: te,
|
|
138
|
-
month: X,
|
|
139
|
-
onMonthChange: L,
|
|
140
|
-
disabled: $,
|
|
141
|
-
locale: k,
|
|
142
|
-
showOutsideDays: !0,
|
|
143
|
-
fixedWeeks: !0,
|
|
144
|
-
components: { Chevron: Te }
|
|
145
|
-
}
|
|
146
|
-
) }),
|
|
147
|
-
/* @__PURE__ */ h(
|
|
148
|
-
"div",
|
|
149
|
-
{
|
|
150
|
-
role: "region",
|
|
151
|
-
"aria-label": ne,
|
|
152
|
-
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:sm:border-s ds:sm:border-border ds:sm:ps-[var(--spacing-md)] ds:min-w-[10rem]",
|
|
153
|
-
children: [
|
|
154
|
-
/* @__PURE__ */ a(
|
|
155
|
-
ue,
|
|
156
|
-
{
|
|
157
|
-
value: i ? { hours: i.getHours(), minutes: i.getMinutes() } : { hours: 0, minutes: 0 },
|
|
158
|
-
onChange: se,
|
|
159
|
-
hour12: B,
|
|
160
|
-
minuteStep: S,
|
|
161
|
-
size: p
|
|
162
|
-
}
|
|
163
|
-
),
|
|
164
|
-
N ? /* @__PURE__ */ a(
|
|
165
|
-
"span",
|
|
166
|
-
{
|
|
167
|
-
className: "type-meta ds:text-muted-foreground",
|
|
168
|
-
children: N
|
|
169
|
-
}
|
|
170
|
-
) : null,
|
|
171
|
-
R ? /* @__PURE__ */ a(
|
|
172
|
-
"span",
|
|
173
|
-
{
|
|
174
|
-
role: "alert",
|
|
175
|
-
className: "type-meta ds:text-destructive",
|
|
176
|
-
children: J
|
|
177
|
-
}
|
|
178
|
-
) : null,
|
|
179
|
-
/* @__PURE__ */ a(
|
|
180
|
-
"button",
|
|
181
|
-
{
|
|
182
|
-
type: "button",
|
|
183
|
-
onClick: re,
|
|
184
|
-
disabled: !i || R,
|
|
185
|
-
className: ke({ size: p }),
|
|
186
|
-
children: G
|
|
187
|
-
}
|
|
188
|
-
)
|
|
189
|
-
]
|
|
190
|
-
}
|
|
191
|
-
)
|
|
192
|
-
] })
|
|
193
|
-
}
|
|
194
|
-
) })
|
|
195
|
-
] }) });
|
|
196
|
-
}
|
|
197
|
-
);
|
|
198
|
-
Ne.displayName = "DateTimePicker";
|
|
199
|
-
export {
|
|
200
|
-
Ne as D
|
|
201
|
-
};
|
|
202
|
-
//# sourceMappingURL=date-time-picker-CmGiTU__.js.map
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { jsx as d, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as e } from "react";
|
|
3
|
-
import * as t from "@radix-ui/react-dialog";
|
|
4
|
-
import { c as h } from "./index-D2ZczOXr.js";
|
|
5
|
-
import { useTranslation as w } from "react-i18next";
|
|
6
|
-
import { I as C } from "./icon-button-Wnnde5lc.js";
|
|
7
|
-
import { X as T } from "./x-CCcI3eJp.js";
|
|
8
|
-
const j = [
|
|
9
|
-
"ds:fixed ds:inset-0 ds:z-[var(--z-modal-backdrop)]",
|
|
10
|
-
"ds:bg-[var(--background)]/[var(--opacity-70)]",
|
|
11
|
-
"ds:backdrop-blur-sm",
|
|
12
|
-
"ds:data-[state=open]:animate-in ds:data-[state=open]:fade-in-0",
|
|
13
|
-
"ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out-0",
|
|
14
|
-
"ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
15
|
-
].join(" "), z = [
|
|
16
|
-
"ds:fixed ds:z-[var(--z-modal)]",
|
|
17
|
-
"ds:bg-[var(--popover)] ds:text-[var(--popover-foreground)]",
|
|
18
|
-
"ds:shadow-[var(--shadow-xl)]",
|
|
19
|
-
"ds:p-[var(--spacing-lg)]",
|
|
20
|
-
"ds:focus-visible:outline-none",
|
|
21
|
-
"ds:data-[state=open]:animate-in ds:data-[state=open]:fade-in-0 ds:data-[state=open]:zoom-in-95",
|
|
22
|
-
"ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out-0 ds:data-[state=closed]:zoom-out-95",
|
|
23
|
-
"ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
24
|
-
].join(" "), r = "ds:start-1/2 ds:top-1/2 ds:-translate-x-1/2 ds:-translate-y-1/2 ds:w-[calc(100%-var(--spacing-lg)*2)]", R = h(z, {
|
|
25
|
-
variants: {
|
|
26
|
-
size: {
|
|
27
|
-
sm: `${r} ds:max-w-[448px] ds:rounded-[var(--radius-lg)] ds:overflow-y-auto ds:max-h-[85dvh]`,
|
|
28
|
-
md: `${r} ds:max-w-[560px] ds:rounded-[var(--radius-lg)] ds:overflow-y-auto ds:max-h-[85dvh]`,
|
|
29
|
-
lg: `${r} ds:max-w-[720px] ds:rounded-[var(--radius-lg)] ds:overflow-y-auto ds:max-h-[85dvh]`,
|
|
30
|
-
fullscreen: "ds:start-0 ds:top-0 ds:w-[100dvw] ds:h-[100dvh] ds:max-w-none ds:rounded-none ds:overflow-y-auto"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
defaultVariants: { size: "md" }
|
|
34
|
-
}), n = ({
|
|
35
|
-
children: a,
|
|
36
|
-
...o
|
|
37
|
-
}) => /* @__PURE__ */ d(t.Root, { ...o, children: a });
|
|
38
|
-
n.displayName = "Dialog.Root";
|
|
39
|
-
const c = e(({ children: a, ...o }, s) => /* @__PURE__ */ d(t.Trigger, { ref: s, ...o, children: a }));
|
|
40
|
-
c.displayName = "Dialog.Trigger";
|
|
41
|
-
const m = e(({ children: a, ...o }, s) => /* @__PURE__ */ d(t.Close, { ref: s, ...o, children: a }));
|
|
42
|
-
m.displayName = "Dialog.Close";
|
|
43
|
-
const p = e(
|
|
44
|
-
({
|
|
45
|
-
size: a = "md",
|
|
46
|
-
variant: o = "default",
|
|
47
|
-
hideCloseButton: s = !0,
|
|
48
|
-
className: i,
|
|
49
|
-
children: x,
|
|
50
|
-
...D
|
|
51
|
-
}, y) => {
|
|
52
|
-
const { t: N } = w(), b = o === "alert" ? "alertdialog" : void 0;
|
|
53
|
-
return /* @__PURE__ */ l(t.Portal, { children: [
|
|
54
|
-
/* @__PURE__ */ d(t.Overlay, { className: j }),
|
|
55
|
-
/* @__PURE__ */ l(
|
|
56
|
-
t.Content,
|
|
57
|
-
{
|
|
58
|
-
ref: y,
|
|
59
|
-
role: b,
|
|
60
|
-
className: R({ size: a, className: i }),
|
|
61
|
-
...D,
|
|
62
|
-
children: [
|
|
63
|
-
x,
|
|
64
|
-
!s && /* @__PURE__ */ d("div", { className: "ds:absolute ds:end-[var(--spacing-md)] ds:top-[var(--spacing-md)]", children: /* @__PURE__ */ d(t.Close, { asChild: !0, children: /* @__PURE__ */ d(
|
|
65
|
-
C,
|
|
66
|
-
{
|
|
67
|
-
icon: /* @__PURE__ */ d(T, {}),
|
|
68
|
-
intent: "ghost",
|
|
69
|
-
size: "sm",
|
|
70
|
-
"aria-label": N("ui.common.close", "Close")
|
|
71
|
-
}
|
|
72
|
-
) }) })
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
)
|
|
76
|
-
] });
|
|
77
|
-
}
|
|
78
|
-
);
|
|
79
|
-
p.displayName = "Dialog.Content";
|
|
80
|
-
const g = e(
|
|
81
|
-
({ className: a, ...o }, s) => /* @__PURE__ */ d(
|
|
82
|
-
"div",
|
|
83
|
-
{
|
|
84
|
-
ref: s,
|
|
85
|
-
className: ["ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:pe-[var(--spacing-xl)]", a].filter(Boolean).join(" "),
|
|
86
|
-
...o
|
|
87
|
-
}
|
|
88
|
-
)
|
|
89
|
-
);
|
|
90
|
-
g.displayName = "Dialog.Header";
|
|
91
|
-
const v = e(({ className: a, ...o }, s) => /* @__PURE__ */ d(
|
|
92
|
-
t.Title,
|
|
93
|
-
{
|
|
94
|
-
ref: s,
|
|
95
|
-
className: ["type-title-card ds:break-words", a].filter(Boolean).join(" "),
|
|
96
|
-
...o
|
|
97
|
-
}
|
|
98
|
-
));
|
|
99
|
-
v.displayName = "Dialog.Title";
|
|
100
|
-
const u = e(({ className: a, ...o }, s) => /* @__PURE__ */ d(
|
|
101
|
-
t.Description,
|
|
102
|
-
{
|
|
103
|
-
ref: s,
|
|
104
|
-
className: ["type-body-sm ds:text-[var(--muted-foreground)]", a].filter(Boolean).join(" "),
|
|
105
|
-
...o
|
|
106
|
-
}
|
|
107
|
-
));
|
|
108
|
-
u.displayName = "Dialog.Description";
|
|
109
|
-
const f = e(
|
|
110
|
-
({ className: a, divider: o = !1, ...s }, i) => /* @__PURE__ */ d(
|
|
111
|
-
"div",
|
|
112
|
-
{
|
|
113
|
-
ref: i,
|
|
114
|
-
className: [
|
|
115
|
-
"ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-sm)]",
|
|
116
|
-
"ds:mt-[var(--spacing-md)]",
|
|
117
|
-
o && "ds:border-t ds:border-[color:var(--border)] ds:pt-[var(--spacing-md)]",
|
|
118
|
-
a
|
|
119
|
-
].filter(Boolean).join(" "),
|
|
120
|
-
...s
|
|
121
|
-
}
|
|
122
|
-
)
|
|
123
|
-
);
|
|
124
|
-
f.displayName = "Dialog.Footer";
|
|
125
|
-
const S = Object.assign(n, {
|
|
126
|
-
Root: n,
|
|
127
|
-
Trigger: c,
|
|
128
|
-
Content: p,
|
|
129
|
-
Header: g,
|
|
130
|
-
Title: v,
|
|
131
|
-
Description: u,
|
|
132
|
-
Footer: f,
|
|
133
|
-
Close: m
|
|
134
|
-
}), F = {
|
|
135
|
-
id: "dialog",
|
|
136
|
-
capabilities: ["open", "close", "dismiss"],
|
|
137
|
-
state: {},
|
|
138
|
-
actions: {},
|
|
139
|
-
domHooks: {
|
|
140
|
-
root: { attr: "data-component", value: "dialog" }
|
|
141
|
-
}
|
|
142
|
-
};
|
|
143
|
-
export {
|
|
144
|
-
S as D,
|
|
145
|
-
F as d
|
|
146
|
-
};
|
|
147
|
-
//# sourceMappingURL=dialog.agent-DEG_fVzG.js.map
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const t = {
|
|
2
|
-
id: "dropdown-menu",
|
|
3
|
-
capabilities: ["open", "close", "pick"],
|
|
4
|
-
state: {},
|
|
5
|
-
actions: {},
|
|
6
|
-
domHooks: {
|
|
7
|
-
root: { attr: "data-component", value: "dropdown-menu" },
|
|
8
|
-
item: {
|
|
9
|
-
attr: "data-item-id",
|
|
10
|
-
description: "Each menu item emits its value as data-item-id."
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
t as d
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=dropdown-menu.agent-Cry4Nmes.js.map
|