@alfadocs/ui-kit 0.1.8 → 0.1.10
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/README.md +30 -0
- package/dist/_chunks/{accordion-B6fyINUk.js → accordion-BEnrZmAn.js} +34 -32
- package/dist/_chunks/accordion-BEnrZmAn.js.map +1 -0
- package/dist/_chunks/accordion.agent-BTjeO1Sx.js +52 -0
- package/dist/_chunks/accordion.agent-BTjeO1Sx.js.map +1 -0
- package/dist/_chunks/{agenda-card-DIWDvWum.js → agenda-card-DwLIxgi7.js} +2 -1
- package/dist/_chunks/agenda-card-DwLIxgi7.js.map +1 -0
- package/dist/_chunks/agenda-card.agent-B_R47-c9.js +22 -0
- package/dist/_chunks/agenda-card.agent-B_R47-c9.js.map +1 -0
- package/dist/_chunks/agenda-tray-DUvengGQ.js +178 -0
- package/dist/_chunks/agenda-tray-DUvengGQ.js.map +1 -0
- package/dist/_chunks/ai-prompt-input.agent-0NHYLTWD.js +476 -0
- package/dist/_chunks/ai-prompt-input.agent-0NHYLTWD.js.map +1 -0
- package/dist/_chunks/alert-BlOUMkXj.js.map +1 -0
- package/dist/_chunks/apexcharts-theme-BkSShpEy.js.map +1 -0
- package/dist/_chunks/app-frame-6d7Lu4ea.js.map +1 -0
- package/dist/_chunks/{aspect-ratio-CxsdG8vk.js → aspect-ratio-DeSNzASA.js} +12 -12
- package/dist/_chunks/aspect-ratio-DeSNzASA.js.map +1 -0
- package/dist/_chunks/audio-recorder.agent--VKeykUp.js +458 -0
- package/dist/_chunks/audio-recorder.agent--VKeykUp.js.map +1 -0
- package/dist/_chunks/audio-visualiser-CeMPCZkd.js.map +1 -0
- package/dist/_chunks/autocomplete.agent-Dh7KioS6.js +432 -0
- package/dist/_chunks/autocomplete.agent-Dh7KioS6.js.map +1 -0
- package/dist/_chunks/avatar-Dcr6XuDQ.js.map +1 -0
- package/dist/_chunks/badge-mrstWxve.js.map +1 -0
- package/dist/_chunks/{balance-cell-renderer-BWm3knY9.js → balance-cell-renderer-5CA7zpAi.js} +3 -3
- package/dist/_chunks/balance-cell-renderer-5CA7zpAi.js.map +1 -0
- package/dist/_chunks/breadcrumb.agent-GM2hAKFX.js +371 -0
- package/dist/_chunks/breadcrumb.agent-GM2hAKFX.js.map +1 -0
- package/dist/_chunks/button-7mLWcMp_.js.map +1 -0
- package/dist/_chunks/button-group-CONver7M.js.map +1 -0
- package/dist/_chunks/button.agent-BuGZBktn.js.map +1 -0
- package/dist/_chunks/calendar-nGEgelJs.js.map +1 -0
- package/dist/_chunks/card-BEy58ZKp.js.map +1 -0
- package/dist/_chunks/{chart.agent-BdS-_8MO.js → chart.agent-_pRYS17d.js} +112 -105
- package/dist/_chunks/chart.agent-_pRYS17d.js.map +1 -0
- package/dist/_chunks/{chat-container-Cm3SlR2p.js → chat-container-Dl0Kfy5a.js} +33 -32
- package/dist/_chunks/chat-container-Dl0Kfy5a.js.map +1 -0
- package/dist/_chunks/{chat-container.agent-Dhw9xCJt.js → chat-container.agent-CM4WModE.js} +9 -4
- package/dist/_chunks/chat-container.agent-CM4WModE.js.map +1 -0
- package/dist/_chunks/{chat-input-DreOPP8A.js → chat-input-C_tMQv92.js} +108 -82
- package/dist/_chunks/chat-input-C_tMQv92.js.map +1 -0
- package/dist/_chunks/chat-input.agent-Bsz3ckGa.js +69 -0
- package/dist/_chunks/chat-input.agent-Bsz3ckGa.js.map +1 -0
- package/dist/_chunks/chat-message-ByouZpPP.js.map +1 -0
- package/dist/_chunks/check-DPdL_Sm7.js.map +1 -0
- package/dist/_chunks/checkbox-CtPM6Rup.js +196 -0
- package/dist/_chunks/checkbox-CtPM6Rup.js.map +1 -0
- package/dist/_chunks/checkbox-group-BTdEB6Yo.js +208 -0
- package/dist/_chunks/checkbox-group-BTdEB6Yo.js.map +1 -0
- package/dist/_chunks/chevron-down-BX_NP2Yh.js.map +1 -0
- package/dist/_chunks/chevron-left-CX1jqD2M.js.map +1 -0
- package/dist/_chunks/chevron-right-BrpYejk0.js.map +1 -0
- package/dist/_chunks/chevron-up-zOEDrmBB.js.map +1 -0
- package/dist/_chunks/chevrons-right-d9MwesPG.js.map +1 -0
- package/dist/_chunks/circle-BkqTgYmt.js.map +1 -0
- package/dist/_chunks/circle-alert-ChA9opNA.js.map +1 -0
- package/dist/_chunks/circle-check-9AeSgJD_.js.map +1 -0
- package/dist/_chunks/circle-x-Du2CmjaU.js.map +1 -0
- package/dist/_chunks/clock-21AGPWJ5.js.map +1 -0
- package/dist/_chunks/collapsible.agent-DkS1jVyn.js +149 -0
- package/dist/_chunks/collapsible.agent-DkS1jVyn.js.map +1 -0
- package/dist/_chunks/{color-picker-e9PmpaGH.js → color-picker-94qcBZqZ.js} +234 -184
- package/dist/_chunks/color-picker-94qcBZqZ.js.map +1 -0
- package/dist/_chunks/combobox.agent-CAvUkkIe.js +410 -0
- package/dist/_chunks/combobox.agent-CAvUkkIe.js.map +1 -0
- package/dist/_chunks/{command-palette.agent-js2rxgeR.js → command-palette.agent-HatEt_EM.js} +161 -121
- package/dist/_chunks/command-palette.agent-HatEt_EM.js.map +1 -0
- package/dist/_chunks/compose-refs-C0k0tdqF.js.map +1 -0
- package/dist/_chunks/copy-B00HK7tj.js.map +1 -0
- package/dist/_chunks/createLucideIcon-CrFbzy84.js.map +1 -0
- package/dist/_chunks/date-picker-BqPTn7bO.js +1813 -0
- package/dist/_chunks/date-picker-BqPTn7bO.js.map +1 -0
- package/dist/_chunks/date-range-picker-B2hGsffw.js +274 -0
- package/dist/_chunks/date-range-picker-B2hGsffw.js.map +1 -0
- package/dist/_chunks/date-time-picker-Bzt0S8yO.js +293 -0
- package/dist/_chunks/date-time-picker-Bzt0S8yO.js.map +1 -0
- package/dist/_chunks/description-list-DvJbp6Yg.js.map +1 -0
- package/dist/_chunks/dialog.agent-Daf1TTko.js +179 -0
- package/dist/_chunks/dialog.agent-Daf1TTko.js.map +1 -0
- package/dist/_chunks/{dropdown-menu-Cw3EyPZv.js → dropdown-menu-C7AZipNz.js} +75 -71
- package/dist/_chunks/dropdown-menu-C7AZipNz.js.map +1 -0
- package/dist/_chunks/dropdown-menu.agent-BcxIKOjK.js +43 -0
- package/dist/_chunks/dropdown-menu.agent-BcxIKOjK.js.map +1 -0
- package/dist/_chunks/ellipsis-rgGdiK_9.js.map +1 -0
- package/dist/_chunks/empty-state-DQPtRp2b.js.map +1 -0
- package/dist/_chunks/eye-off-xEXDAh5z.js.map +1 -0
- package/dist/_chunks/file-text-DSNuv2B8.js.map +1 -0
- package/dist/_chunks/{file-upload.agent-B9AN82LA.js → file-upload.agent-DJaH2dHg.js} +275 -243
- package/dist/_chunks/file-upload.agent-DJaH2dHg.js.map +1 -0
- package/dist/_chunks/flag-DZ6V7-hU.js.map +1 -0
- package/dist/_chunks/floating-action-button-Cnw-f6AG.js.map +1 -0
- package/dist/_chunks/form-field-BfsPLTSc.js.map +1 -0
- package/dist/_chunks/form-field-context-94LwgYTQ.js.map +1 -0
- package/dist/_chunks/freemium-paywall.agent-_nQqLyRF.js +260 -0
- package/dist/_chunks/freemium-paywall.agent-_nQqLyRF.js.map +1 -0
- package/dist/_chunks/globe-BkEFMNSg.js.map +1 -0
- package/dist/_chunks/group-options-BvKhQ3xb.js.map +1 -0
- package/dist/_chunks/header-BGn1mRp8.js.map +1 -0
- package/dist/_chunks/icon-button-Wnnde5lc.js.map +1 -0
- package/dist/_chunks/icon-button-group-DeV3FpNY.js.map +1 -0
- package/dist/_chunks/index-4xgbg-sn.js.map +1 -0
- package/dist/_chunks/index-CJE9uQmb.js.map +1 -0
- package/dist/_chunks/index-CeY1nNvd.js.map +1 -0
- package/dist/_chunks/index-D2ZczOXr.js.map +1 -0
- package/dist/_chunks/info-B9XNKn05.js.map +1 -0
- package/dist/_chunks/input-surface-u4QB0lxe.js.map +1 -0
- package/dist/_chunks/isSameDay-ecuM8PBB.js.map +1 -0
- package/dist/_chunks/isSameMonth-5wNF2f4I.js.map +1 -0
- package/dist/_chunks/kbd-8baVw3KU.js.map +1 -0
- package/dist/_chunks/key-value-pair-JRFS9Xrh.js.map +1 -0
- package/dist/_chunks/{leo-sidebar-nbHib2D-.js → leo-sidebar-BwINPdix.js} +6 -6
- package/dist/_chunks/leo-sidebar-BwINPdix.js.map +1 -0
- package/dist/_chunks/link-QheANk74.js +121 -0
- package/dist/_chunks/link-QheANk74.js.map +1 -0
- package/dist/_chunks/list.agent-D0iWt4VI.js +420 -0
- package/dist/_chunks/list.agent-D0iWt4VI.js.map +1 -0
- package/dist/_chunks/live-region-C41SO3cA.js.map +1 -0
- package/dist/_chunks/log-out-616hnn2-.js.map +1 -0
- package/dist/_chunks/logo-BpFoCL-s.js.map +1 -0
- package/dist/_chunks/mail-C8irm52s.js.map +1 -0
- package/dist/_chunks/matrix-rain-BEkvux64.js.map +1 -0
- package/dist/_chunks/{message-card-qAp2-WQK.js → message-card-qhoGv947.js} +2 -1
- package/dist/_chunks/message-card-qhoGv947.js.map +1 -0
- package/dist/_chunks/message-card.agent-4IeIgrnJ.js +22 -0
- package/dist/_chunks/message-card.agent-4IeIgrnJ.js.map +1 -0
- package/dist/_chunks/message-tray-xHUCra-Y.js +419 -0
- package/dist/_chunks/message-tray-xHUCra-Y.js.map +1 -0
- package/dist/_chunks/{multi-select.agent-CNsyW3n9.js → multi-select.agent-Do6CeQUT.js} +239 -179
- package/dist/_chunks/multi-select.agent-Do6CeQUT.js.map +1 -0
- package/dist/_chunks/navigation-menu.agent-D69ND6Qq.js +266 -0
- package/dist/_chunks/navigation-menu.agent-D69ND6Qq.js.map +1 -0
- package/dist/_chunks/normalize-diacritics-BNGbFNlJ.js.map +1 -0
- package/dist/_chunks/{notification-card-BF2_veHy.js → notification-card-CsVEYJE-.js} +13 -12
- package/dist/_chunks/notification-card-CsVEYJE-.js.map +1 -0
- package/dist/_chunks/notification-card.agent-Rqt3ofk9.js +22 -0
- package/dist/_chunks/notification-card.agent-Rqt3ofk9.js.map +1 -0
- package/dist/_chunks/notification-tray-DTXMq42J.js +444 -0
- package/dist/_chunks/notification-tray-DTXMq42J.js.map +1 -0
- package/dist/_chunks/number-input-fvGmnRy9.js +333 -0
- package/dist/_chunks/number-input-fvGmnRy9.js.map +1 -0
- package/dist/_chunks/otp-input-EglXOUue.js +257 -0
- package/dist/_chunks/otp-input-EglXOUue.js.map +1 -0
- package/dist/_chunks/pagination.agent-BkZQl45y.js +422 -0
- package/dist/_chunks/pagination.agent-BkZQl45y.js.map +1 -0
- package/dist/_chunks/password-input-D6kuYXmr.js +304 -0
- package/dist/_chunks/password-input-D6kuYXmr.js.map +1 -0
- package/dist/_chunks/{patient-shell-7cXqIMFg.js → patient-shell-BRmrrUUW.js} +3 -3
- package/dist/_chunks/patient-shell-BRmrrUUW.js.map +1 -0
- package/dist/_chunks/{payment-form-hcl-gGrp.js → payment-form-BWaXas8z.js} +120 -118
- package/dist/_chunks/payment-form-BWaXas8z.js.map +1 -0
- package/dist/_chunks/{payment-form.agent-BkEnRerR.js → payment-form.agent-kuIfodCj.js} +7 -2
- package/dist/_chunks/payment-form.agent-kuIfodCj.js.map +1 -0
- package/dist/_chunks/{pdf-viewer.agent-CfIHhcHx.js → pdf-viewer.agent-BaGEDheA.js} +358 -351
- package/dist/_chunks/pdf-viewer.agent-BaGEDheA.js.map +1 -0
- package/dist/_chunks/phone-input-C8Op4sEc.js +513 -0
- package/dist/_chunks/phone-input-C8Op4sEc.js.map +1 -0
- package/dist/_chunks/plus-CYKNmfuA.js.map +1 -0
- package/dist/_chunks/popover-kFN8s84V.js +229 -0
- package/dist/_chunks/popover-kFN8s84V.js.map +1 -0
- package/dist/_chunks/popover.agent-K_d1cfbj.js +39 -0
- package/dist/_chunks/popover.agent-K_d1cfbj.js.map +1 -0
- package/dist/_chunks/printer-CeVEWfQq.js.map +1 -0
- package/dist/_chunks/privacy-lock.agent-C1i1-T58.js +185 -0
- package/dist/_chunks/privacy-lock.agent-C1i1-T58.js.map +1 -0
- package/dist/_chunks/progress-wNsqkw8I.js +253 -0
- package/dist/_chunks/progress-wNsqkw8I.js.map +1 -0
- package/dist/_chunks/progress.agent-C68rDOXL.js +27 -0
- package/dist/_chunks/progress.agent-C68rDOXL.js.map +1 -0
- package/dist/_chunks/purify.es-DpIUMBYC.js.map +1 -0
- package/dist/_chunks/{radio-cs8N1wJi.js → radio-DvF59ThA.js} +14 -13
- package/dist/_chunks/radio-DvF59ThA.js.map +1 -0
- package/dist/_chunks/radio-group-Cz1a4QCA.js +152 -0
- package/dist/_chunks/radio-group-Cz1a4QCA.js.map +1 -0
- package/dist/_chunks/react-day-picker-C04L_28V.js.map +1 -0
- package/dist/_chunks/recaptcha-widget.agent-BGHpU5zD.js +183 -0
- package/dist/_chunks/recaptcha-widget.agent-BGHpU5zD.js.map +1 -0
- package/dist/_chunks/registry-C9nwlNyL.js.map +1 -0
- package/dist/_chunks/resizable.agent-CMwZzvsi.js +456 -0
- package/dist/_chunks/resizable.agent-CMwZzvsi.js.map +1 -0
- package/dist/_chunks/{rich-text-editor.agent-COSb5_2D.js → rich-text-editor.agent-DnE125Tz.js} +221 -214
- package/dist/_chunks/rich-text-editor.agent-DnE125Tz.js.map +1 -0
- package/dist/_chunks/safe-image-src-DstKgCo7.js.map +1 -0
- package/dist/_chunks/scroll-area-DLr5w9Dd.js.map +1 -0
- package/dist/_chunks/search-BonnQsHv.js.map +1 -0
- package/dist/_chunks/search-bar.agent-DxFAxctc.js +562 -0
- package/dist/_chunks/search-bar.agent-DxFAxctc.js.map +1 -0
- package/dist/_chunks/search-input-Xw3cdWXW.js +227 -0
- package/dist/_chunks/search-input-Xw3cdWXW.js.map +1 -0
- package/dist/_chunks/search-input.agent-CfZvViOd.js +69 -0
- package/dist/_chunks/search-input.agent-CfZvViOd.js.map +1 -0
- package/dist/_chunks/select-DY1Cb2Tg.js +410 -0
- package/dist/_chunks/select-DY1Cb2Tg.js.map +1 -0
- package/dist/_chunks/send-CySZIRPJ.js.map +1 -0
- package/dist/_chunks/separator-B4wXDLNC.js.map +1 -0
- package/dist/_chunks/{sheet-BhNpLHc9.js → sheet-B9kH9pcI.js} +55 -54
- package/dist/_chunks/sheet-B9kH9pcI.js.map +1 -0
- package/dist/_chunks/sheet.agent-QAyTOxgk.js +46 -0
- package/dist/_chunks/sheet.agent-QAyTOxgk.js.map +1 -0
- package/dist/_chunks/{sidebar-OVzwN3jE.js → sidebar-CHF5xr_P.js} +188 -185
- package/dist/_chunks/sidebar-CHF5xr_P.js.map +1 -0
- package/dist/_chunks/sidebar.agent-C9TM_ZDZ.js +49 -0
- package/dist/_chunks/sidebar.agent-C9TM_ZDZ.js.map +1 -0
- package/dist/_chunks/sign-in-with-alfadocs-button-BN_FPGHT.js.map +1 -0
- package/dist/_chunks/{signature-capture.agent-C38VPXxg.js → signature-capture.agent-BpeDwFht.js} +127 -120
- package/dist/_chunks/signature-capture.agent-BpeDwFht.js.map +1 -0
- package/dist/_chunks/skeleton-dtqyF09N.js.map +1 -0
- package/dist/_chunks/skip-link-DmZ3c6cb.js.map +1 -0
- package/dist/_chunks/slider-CcsQTZTA.js +322 -0
- package/dist/_chunks/slider-CcsQTZTA.js.map +1 -0
- package/dist/_chunks/slot-grid-D_l5VsHG.js.map +1 -0
- package/dist/_chunks/sparkline.agent-56Sj7nOP.js +245 -0
- package/dist/_chunks/sparkline.agent-56Sj7nOP.js.map +1 -0
- package/dist/_chunks/spinner-GCcv67vh.js.map +1 -0
- package/dist/_chunks/square-CZoGU14v.js.map +1 -0
- package/dist/_chunks/square-check-big-Jr-0202D.js.map +1 -0
- package/dist/_chunks/stat-DUB6g90R.js.map +1 -0
- package/dist/_chunks/stepper-C-sIpRRU.js.map +1 -0
- package/dist/_chunks/stepper-accordion.agent-ckKYZCIP.js +322 -0
- package/dist/_chunks/stepper-accordion.agent-ckKYZCIP.js.map +1 -0
- package/dist/_chunks/stepper-calendar.agent-9iT3ClIB.js +646 -0
- package/dist/_chunks/stepper-calendar.agent-9iT3ClIB.js.map +1 -0
- package/dist/_chunks/stepper-progress-Bmen-YXB.js +149 -0
- package/dist/_chunks/stepper-progress-Bmen-YXB.js.map +1 -0
- package/dist/_chunks/stepper-progress.agent-q9InWca4.js +61 -0
- package/dist/_chunks/stepper-progress.agent-q9InWca4.js.map +1 -0
- package/dist/_chunks/streaming-text-BgjCTVOw.js.map +1 -0
- package/dist/_chunks/suggestion-chip-DhFrkRPj.js +169 -0
- package/dist/_chunks/suggestion-chip-DhFrkRPj.js.map +1 -0
- package/dist/_chunks/suggestion-chip.agent-6sNWFj7m.js +46 -0
- package/dist/_chunks/suggestion-chip.agent-6sNWFj7m.js.map +1 -0
- package/dist/_chunks/switch-BYEH8I53.js +196 -0
- package/dist/_chunks/switch-BYEH8I53.js.map +1 -0
- package/dist/_chunks/{tabs.agent-BpbVA-Zh.js → tabs.agent-h7NvsTR1.js} +146 -123
- package/dist/_chunks/tabs.agent-h7NvsTR1.js.map +1 -0
- package/dist/_chunks/tag-BqidXKo3.js.map +1 -0
- package/dist/_chunks/{task-card-yW7tKlG4.js → task-card-CY5ztNkU.js} +2 -1
- package/dist/_chunks/task-card-CY5ztNkU.js.map +1 -0
- package/dist/_chunks/task-card.agent-CUPKYd7w.js +22 -0
- package/dist/_chunks/task-card.agent-CUPKYd7w.js.map +1 -0
- package/dist/_chunks/task-tray-CCoUdorl.js +194 -0
- package/dist/_chunks/task-tray-CCoUdorl.js.map +1 -0
- package/dist/_chunks/text-area-C_M8wliK.js +239 -0
- package/dist/_chunks/text-area-C_M8wliK.js.map +1 -0
- package/dist/_chunks/text-input-BX39e6T6.js +272 -0
- package/dist/_chunks/text-input-BX39e6T6.js.map +1 -0
- package/dist/_chunks/theme-root-DDb0TJjd.js.map +1 -0
- package/dist/_chunks/theme-toggle.agent-btmXTWdW.js +394 -0
- package/dist/_chunks/theme-toggle.agent-btmXTWdW.js.map +1 -0
- package/dist/_chunks/time-picker-B8AMIrX7.js +410 -0
- package/dist/_chunks/time-picker-B8AMIrX7.js.map +1 -0
- package/dist/_chunks/timeline.agent-CRPza9wc.js +279 -0
- package/dist/_chunks/timeline.agent-CRPza9wc.js.map +1 -0
- package/dist/_chunks/timestamp-BV2lC-wV.js.map +1 -0
- package/dist/_chunks/{toast-lOhJDKOH.js → toast.agent-BjEGuq1Z.js} +403 -342
- package/dist/_chunks/toast.agent-BjEGuq1Z.js.map +1 -0
- package/dist/_chunks/tooltip-DHik5yRI.js.map +1 -0
- package/dist/_chunks/{tooth-scheme.agent-BlDyu-Gx.js → tooth-scheme.agent-CWrQBjJM.js} +218 -211
- package/dist/_chunks/tooth-scheme.agent-CWrQBjJM.js.map +1 -0
- package/dist/_chunks/transcript-panel.agent-BXEYP6w-.js +337 -0
- package/dist/_chunks/transcript-panel.agent-BXEYP6w-.js.map +1 -0
- package/dist/_chunks/triangle-alert-CBPUIzQo.js.map +1 -0
- package/dist/_chunks/typing-indicator-CbUBf-Dx.js.map +1 -0
- package/dist/_chunks/use-debounced-callback-BisrB-Fq.js.map +1 -0
- package/dist/_chunks/use-direction-D6rvvG9G.js.map +1 -0
- package/dist/_chunks/use-locale-BuXR_Zl9.js.map +1 -0
- package/dist/_chunks/use-prefers-reduced-motion-BMwIQRjB.js.map +1 -0
- package/dist/_chunks/use-theme-BMUhembX.js.map +1 -0
- package/dist/_chunks/user-CPxpqFjJ.js.map +1 -0
- package/dist/_chunks/visually-hidden-Bw7vBHLm.js.map +1 -0
- package/dist/_chunks/warning-stack-8Pa3pekh.js.map +1 -0
- package/dist/_chunks/{workflow-map-XeqHDFvp.js → workflow-map-D2A7rTEG.js} +465 -368
- package/dist/_chunks/workflow-map-D2A7rTEG.js.map +1 -0
- package/dist/_chunks/x-CCcI3eJp.js.map +1 -0
- package/dist/agent/index.d.ts.map +1 -0
- package/dist/agent/registry.d.ts.map +1 -0
- package/dist/agent/types.d.ts.map +1 -0
- package/dist/agent-catalog.json +2929 -268
- package/dist/brand/logo-asset/Alfadocs_Logo_BW.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Main.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Mark.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Neg.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Purple.d.ts.map +1 -0
- package/dist/brand/logo-asset/index.d.ts.map +1 -0
- package/dist/components/_shared/calendar-chevron.d.ts.map +1 -0
- package/dist/components/_shared/compose-refs.d.ts.map +1 -0
- package/dist/components/_shared/date-locale.d.ts.map +1 -0
- package/dist/components/_shared/date-picker-variants.d.ts.map +1 -0
- package/dist/components/_shared/date-utils.d.ts.map +1 -0
- package/dist/components/_shared/group-options.d.ts.map +1 -0
- package/dist/components/_shared/index.d.ts.map +1 -0
- package/dist/components/_shared/input-surface.d.ts.map +1 -0
- package/dist/components/_shared/normalize-diacritics.d.ts.map +1 -0
- package/dist/components/_shared/option.d.ts.map +1 -0
- package/dist/components/_shared/safe-html.d.ts.map +1 -0
- package/dist/components/_shared/safe-image-src.d.ts.map +1 -0
- package/dist/components/_shared/stepper.d.ts.map +1 -0
- package/dist/components/_shared/time.d.ts.map +1 -0
- package/dist/components/_shared/use-debounced-callback.d.ts.map +1 -0
- package/dist/components/_shared/use-direction.d.ts.map +1 -0
- package/dist/components/_shared/use-focus-trap.d.ts.map +1 -0
- package/dist/components/_shared/use-neutralize-hidden-focus.d.ts.map +1 -0
- package/dist/components/accordion/accordion.agent.d.ts +2 -1
- package/dist/components/accordion/accordion.agent.d.ts.map +1 -0
- package/dist/components/accordion/accordion.d.ts +6 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -0
- package/dist/components/accordion/index.d.ts.map +1 -0
- package/dist/components/accordion/index.js +2 -2
- package/dist/components/accordion/index.js.map +1 -0
- package/dist/components/agenda-card/agenda-card.agent.d.ts +3 -0
- package/dist/components/agenda-card/agenda-card.agent.d.ts.map +1 -0
- package/dist/components/agenda-card/agenda-card.d.ts.map +1 -0
- package/dist/components/agenda-card/index.d.ts +1 -0
- package/dist/components/agenda-card/index.d.ts.map +1 -0
- package/dist/components/agenda-card/index.js +3 -1
- package/dist/components/agenda-card/index.js.map +1 -0
- package/dist/components/agenda-tray/agenda-tray.agent.d.ts +4 -0
- package/dist/components/agenda-tray/agenda-tray.agent.d.ts.map +1 -0
- package/dist/components/agenda-tray/agenda-tray.d.ts +19 -2
- package/dist/components/agenda-tray/agenda-tray.d.ts.map +1 -0
- package/dist/components/agenda-tray/index.d.ts +2 -1
- package/dist/components/agenda-tray/index.d.ts.map +1 -0
- package/dist/components/agenda-tray/index.js +3 -2
- package/dist/components/agenda-tray/index.js.map +1 -0
- package/dist/components/ai-prompt-input/ai-prompt-input.agent.d.ts +4 -0
- package/dist/components/ai-prompt-input/ai-prompt-input.agent.d.ts.map +1 -0
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts +18 -1
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts.map +1 -0
- package/dist/components/ai-prompt-input/index.d.ts +2 -1
- package/dist/components/ai-prompt-input/index.d.ts.map +1 -0
- package/dist/components/ai-prompt-input/index.js +3 -2
- package/dist/components/ai-prompt-input/index.js.map +1 -0
- package/dist/components/alert/alert.d.ts.map +1 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/alert/index.js.map +1 -0
- package/dist/components/app-frame/app-frame.d.ts.map +1 -0
- package/dist/components/app-frame/index.d.ts.map +1 -0
- package/dist/components/app-frame/index.js.map +1 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -0
- package/dist/components/aspect-ratio/index.d.ts.map +1 -0
- package/dist/components/aspect-ratio/index.js +1 -1
- package/dist/components/aspect-ratio/index.js.map +1 -0
- package/dist/components/audio-recorder/audio-recorder.agent.d.ts +4 -0
- package/dist/components/audio-recorder/audio-recorder.agent.d.ts.map +1 -0
- package/dist/components/audio-recorder/audio-recorder.d.ts +10 -1
- package/dist/components/audio-recorder/audio-recorder.d.ts.map +1 -0
- package/dist/components/audio-recorder/index.d.ts +2 -1
- package/dist/components/audio-recorder/index.d.ts.map +1 -0
- package/dist/components/audio-recorder/index.js +3 -2
- package/dist/components/audio-recorder/index.js.map +1 -0
- package/dist/components/audio-visualiser/audio-visualiser.d.ts.map +1 -0
- package/dist/components/audio-visualiser/index.d.ts.map +1 -0
- package/dist/components/audio-visualiser/index.js.map +1 -0
- package/dist/components/autocomplete/autocomplete.agent.d.ts +2 -1
- package/dist/components/autocomplete/autocomplete.agent.d.ts.map +1 -0
- package/dist/components/autocomplete/autocomplete.d.ts +10 -0
- package/dist/components/autocomplete/autocomplete.d.ts.map +1 -0
- package/dist/components/autocomplete/index.d.ts.map +1 -0
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/autocomplete/index.js.map +1 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -0
- package/dist/components/avatar/index.d.ts.map +1 -0
- package/dist/components/avatar/index.js.map +1 -0
- package/dist/components/badge/badge.d.ts.map +1 -0
- package/dist/components/badge/index.d.ts.map +1 -0
- package/dist/components/badge/index.js.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.agent.d.ts +8 -0
- package/dist/components/breadcrumb/breadcrumb.agent.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +21 -2
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/components/breadcrumb/index.d.ts +2 -1
- package/dist/components/breadcrumb/index.d.ts.map +1 -0
- package/dist/components/breadcrumb/index.js +5 -4
- package/dist/components/breadcrumb/index.js.map +1 -0
- package/dist/components/button/button.agent.d.ts.map +1 -0
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/icon-button.d.ts.map +1 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/components/button/index.js.map +1 -0
- package/dist/components/button-group/button-group.d.ts.map +1 -0
- package/dist/components/button-group/index.d.ts.map +1 -0
- package/dist/components/button-group/index.js.map +1 -0
- package/dist/components/calendar/calendar.agent.d.ts.map +1 -0
- package/dist/components/calendar/calendar.d.ts.map +1 -0
- package/dist/components/calendar/contrast-warning.d.ts.map +1 -0
- package/dist/components/calendar/index.d.ts.map +1 -0
- package/dist/components/calendar/index.js.map +1 -0
- package/dist/components/card/card.d.ts.map +1 -0
- package/dist/components/card/index.d.ts.map +1 -0
- package/dist/components/card/index.js.map +1 -0
- package/dist/components/chart/chart.agent.d.ts.map +1 -0
- package/dist/components/chart/chart.d.ts +2 -0
- package/dist/components/chart/chart.d.ts.map +1 -0
- package/dist/components/chart/index.d.ts.map +1 -0
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chart/index.js.map +1 -0
- package/dist/components/chat-container/chat-container.agent.d.ts.map +1 -0
- package/dist/components/chat-container/chat-container.d.ts +3 -1
- package/dist/components/chat-container/chat-container.d.ts.map +1 -0
- package/dist/components/chat-container/index.d.ts.map +1 -0
- package/dist/components/chat-container/index.js +2 -2
- package/dist/components/chat-container/index.js.map +1 -0
- package/dist/components/chat-input/chat-input.agent.d.ts +4 -0
- package/dist/components/chat-input/chat-input.agent.d.ts.map +1 -0
- package/dist/components/chat-input/chat-input.d.ts +10 -1
- package/dist/components/chat-input/chat-input.d.ts.map +1 -0
- package/dist/components/chat-input/index.d.ts +2 -1
- package/dist/components/chat-input/index.d.ts.map +1 -0
- package/dist/components/chat-input/index.js +4 -2
- package/dist/components/chat-input/index.js.map +1 -0
- package/dist/components/chat-message/chat-message.d.ts.map +1 -0
- package/dist/components/chat-message/index.d.ts.map +1 -0
- package/dist/components/chat-message/index.js.map +1 -0
- package/dist/components/checkbox/checkbox-group-context.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.agent.d.ts +4 -0
- package/dist/components/checkbox/checkbox.agent.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts +6 -0
- package/dist/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.js.map +1 -0
- package/dist/components/checkbox-group/checkbox-group.agent.d.ts +4 -0
- package/dist/components/checkbox-group/checkbox-group.agent.d.ts.map +1 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +8 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -0
- package/dist/components/checkbox-group/index.d.ts.map +1 -0
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/checkbox-group/index.js.map +1 -0
- package/dist/components/collapsible/collapsible.agent.d.ts +4 -0
- package/dist/components/collapsible/collapsible.agent.d.ts.map +1 -0
- package/dist/components/collapsible/collapsible.d.ts +8 -1
- package/dist/components/collapsible/collapsible.d.ts.map +1 -0
- package/dist/components/collapsible/index.d.ts +2 -1
- package/dist/components/collapsible/index.d.ts.map +1 -0
- package/dist/components/collapsible/index.js +4 -3
- package/dist/components/collapsible/index.js.map +1 -0
- package/dist/components/color-picker/color-picker.agent.d.ts +4 -0
- package/dist/components/color-picker/color-picker.agent.d.ts.map +1 -0
- package/dist/components/color-picker/color-picker.d.ts +5 -0
- package/dist/components/color-picker/color-picker.d.ts.map +1 -0
- package/dist/components/color-picker/color-utils.d.ts.map +1 -0
- package/dist/components/color-picker/index.d.ts.map +1 -0
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/color-picker/index.js.map +1 -0
- package/dist/components/color-picker/palettes.d.ts.map +1 -0
- package/dist/components/combobox/combobox.agent.d.ts +2 -1
- package/dist/components/combobox/combobox.agent.d.ts.map +1 -0
- package/dist/components/combobox/combobox.d.ts +10 -0
- package/dist/components/combobox/combobox.d.ts.map +1 -0
- package/dist/components/combobox/index.d.ts.map +1 -0
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/combobox/index.js.map +1 -0
- package/dist/components/command-palette/command-palette.agent.d.ts +2 -1
- package/dist/components/command-palette/command-palette.agent.d.ts.map +1 -0
- package/dist/components/command-palette/command-palette.d.ts +7 -0
- package/dist/components/command-palette/command-palette.d.ts.map +1 -0
- package/dist/components/command-palette/index.d.ts.map +1 -0
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/command-palette/index.js.map +1 -0
- package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/balance-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/color-dot-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/currency-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/date-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/link-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/status-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/tag-list-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/toggle-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/user-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/data-table.agent.d.ts.map +1 -0
- package/dist/components/data-table/data-table.d.ts.map +1 -0
- package/dist/components/data-table/hooks/use-total-row.d.ts.map +1 -0
- package/dist/components/data-table/index.d.ts.map +1 -0
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/data-table/index.js.map +1 -0
- package/dist/components/data-table/toolbar.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker.agent.d.ts +4 -0
- package/dist/components/date-picker/date-picker.agent.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker.d.ts +16 -1
- package/dist/components/date-picker/date-picker.d.ts.map +1 -0
- package/dist/components/date-picker/index.d.ts +2 -1
- package/dist/components/date-picker/index.d.ts.map +1 -0
- package/dist/components/date-picker/index.js +3 -2
- package/dist/components/date-picker/index.js.map +1 -0
- package/dist/components/date-range-picker/date-range-picker.agent.d.ts +4 -0
- package/dist/components/date-range-picker/date-range-picker.agent.d.ts.map +1 -0
- package/dist/components/date-range-picker/date-range-picker.d.ts +16 -1
- package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -0
- package/dist/components/date-range-picker/index.d.ts +2 -1
- package/dist/components/date-range-picker/index.d.ts.map +1 -0
- package/dist/components/date-range-picker/index.js +3 -2
- package/dist/components/date-range-picker/index.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker.agent.d.ts +4 -0
- package/dist/components/date-time-picker/date-time-picker.agent.d.ts.map +1 -0
- package/dist/components/date-time-picker/date-time-picker.d.ts +16 -1
- package/dist/components/date-time-picker/date-time-picker.d.ts.map +1 -0
- package/dist/components/date-time-picker/index.d.ts +2 -1
- package/dist/components/date-time-picker/index.d.ts.map +1 -0
- package/dist/components/date-time-picker/index.js +3 -2
- package/dist/components/date-time-picker/index.js.map +1 -0
- package/dist/components/description-list/description-list.d.ts.map +1 -0
- package/dist/components/description-list/index.d.ts.map +1 -0
- package/dist/components/description-list/index.js.map +1 -0
- package/dist/components/dialog/dialog.agent.d.ts +5 -6
- package/dist/components/dialog/dialog.agent.d.ts.map +1 -0
- package/dist/components/dialog/dialog.d.ts +11 -2
- package/dist/components/dialog/dialog.d.ts.map +1 -0
- package/dist/components/dialog/index.d.ts.map +1 -0
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/index.js.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts +2 -1
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +10 -2
- package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -0
- package/dist/components/dropdown-menu/index.d.ts.map +1 -0
- package/dist/components/dropdown-menu/index.js +2 -2
- package/dist/components/dropdown-menu/index.js.map +1 -0
- package/dist/components/empty-state/empty-state.d.ts.map +1 -0
- package/dist/components/empty-state/index.d.ts.map +1 -0
- package/dist/components/empty-state/index.js.map +1 -0
- package/dist/components/file-upload/file-upload.agent.d.ts +2 -1
- package/dist/components/file-upload/file-upload.agent.d.ts.map +1 -0
- package/dist/components/file-upload/file-upload.d.ts +12 -0
- package/dist/components/file-upload/file-upload.d.ts.map +1 -0
- package/dist/components/file-upload/index.d.ts.map +1 -0
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/file-upload/index.js.map +1 -0
- package/dist/components/flag/flag.d.ts.map +1 -0
- package/dist/components/flag/index.d.ts.map +1 -0
- package/dist/components/flag/index.js.map +1 -0
- package/dist/components/floating-action-button/floating-action-button.d.ts.map +1 -0
- package/dist/components/floating-action-button/index.d.ts.map +1 -0
- package/dist/components/floating-action-button/index.js.map +1 -0
- package/dist/components/form-field/form-field-context.d.ts.map +1 -0
- package/dist/components/form-field/form-field.d.ts.map +1 -0
- package/dist/components/form-field/index.d.ts.map +1 -0
- package/dist/components/form-field/index.js.map +1 -0
- package/dist/components/freemium-paywall/freemium-paywall.agent.d.ts +4 -0
- package/dist/components/freemium-paywall/freemium-paywall.agent.d.ts.map +1 -0
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +8 -1
- package/dist/components/freemium-paywall/freemium-paywall.d.ts.map +1 -0
- package/dist/components/freemium-paywall/index.d.ts +2 -1
- package/dist/components/freemium-paywall/index.d.ts.map +1 -0
- package/dist/components/freemium-paywall/index.js +3 -2
- package/dist/components/freemium-paywall/index.js.map +1 -0
- package/dist/components/header/header.d.ts.map +1 -0
- package/dist/components/header/index.d.ts.map +1 -0
- package/dist/components/header/index.js.map +1 -0
- package/dist/components/icon-button/index.d.ts.map +1 -0
- package/dist/components/icon-button/index.js.map +1 -0
- package/dist/components/icon-button-group/icon-button-group.d.ts.map +1 -0
- package/dist/components/icon-button-group/index.d.ts.map +1 -0
- package/dist/components/icon-button-group/index.js.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/kbd/index.d.ts.map +1 -0
- package/dist/components/kbd/index.js.map +1 -0
- package/dist/components/kbd/kbd.d.ts.map +1 -0
- package/dist/components/key-value-pair/index.d.ts.map +1 -0
- package/dist/components/key-value-pair/index.js.map +1 -0
- package/dist/components/key-value-pair/key-value-pair.d.ts.map +1 -0
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/index.d.ts.map +1 -0
- package/dist/components/link/index.js +5 -0
- package/dist/components/link/index.js.map +1 -0
- package/dist/components/link/link.d.ts +39 -0
- package/dist/components/link/link.d.ts.map +1 -0
- package/dist/components/list/index.d.ts +2 -1
- package/dist/components/list/index.d.ts.map +1 -0
- package/dist/components/list/index.js +3 -2
- package/dist/components/list/index.js.map +1 -0
- package/dist/components/list/list.agent.d.ts +4 -0
- package/dist/components/list/list.agent.d.ts.map +1 -0
- package/dist/components/list/list.d.ts +8 -2
- package/dist/components/list/list.d.ts.map +1 -0
- package/dist/components/live-region/index.d.ts.map +1 -0
- package/dist/components/live-region/index.js.map +1 -0
- package/dist/components/live-region/live-region.d.ts.map +1 -0
- package/dist/components/logo/index.d.ts.map +1 -0
- package/dist/components/logo/index.js.map +1 -0
- package/dist/components/logo/logo.d.ts.map +1 -0
- package/dist/components/matrix-rain/index.d.ts.map +1 -0
- package/dist/components/matrix-rain/index.js.map +1 -0
- package/dist/components/matrix-rain/matrix-rain.d.ts.map +1 -0
- package/dist/components/message-card/index.d.ts +1 -0
- package/dist/components/message-card/index.d.ts.map +1 -0
- package/dist/components/message-card/index.js +5 -3
- package/dist/components/message-card/index.js.map +1 -0
- package/dist/components/message-card/message-card.agent.d.ts +3 -0
- package/dist/components/message-card/message-card.agent.d.ts.map +1 -0
- package/dist/components/message-card/message-card.d.ts.map +1 -0
- package/dist/components/message-tray/index.d.ts +2 -1
- package/dist/components/message-tray/index.d.ts.map +1 -0
- package/dist/components/message-tray/index.js +3 -2
- package/dist/components/message-tray/index.js.map +1 -0
- package/dist/components/message-tray/message-tray.agent.d.ts +4 -0
- package/dist/components/message-tray/message-tray.agent.d.ts.map +1 -0
- package/dist/components/message-tray/message-tray.d.ts +27 -2
- package/dist/components/message-tray/message-tray.d.ts.map +1 -0
- package/dist/components/multi-select/index.d.ts.map +1 -0
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/multi-select/index.js.map +1 -0
- package/dist/components/multi-select/multi-select.agent.d.ts +2 -1
- package/dist/components/multi-select/multi-select.agent.d.ts.map +1 -0
- package/dist/components/multi-select/multi-select.d.ts +10 -0
- package/dist/components/multi-select/multi-select.d.ts.map +1 -0
- package/dist/components/navigation-menu/index.d.ts +2 -1
- package/dist/components/navigation-menu/index.d.ts.map +1 -0
- package/dist/components/navigation-menu/index.js +7 -6
- package/dist/components/navigation-menu/index.js.map +1 -0
- package/dist/components/navigation-menu/navigation-menu.agent.d.ts +4 -0
- package/dist/components/navigation-menu/navigation-menu.agent.d.ts.map +1 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +28 -2
- package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -0
- package/dist/components/notification-card/index.d.ts +1 -0
- package/dist/components/notification-card/index.d.ts.map +1 -0
- package/dist/components/notification-card/index.js +5 -3
- package/dist/components/notification-card/index.js.map +1 -0
- package/dist/components/notification-card/notification-card.agent.d.ts +3 -0
- package/dist/components/notification-card/notification-card.agent.d.ts.map +1 -0
- package/dist/components/notification-card/notification-card.d.ts.map +1 -0
- package/dist/components/notification-tray/index.d.ts +2 -1
- package/dist/components/notification-tray/index.d.ts.map +1 -0
- package/dist/components/notification-tray/index.js +3 -2
- package/dist/components/notification-tray/index.js.map +1 -0
- package/dist/components/notification-tray/notification-tray.agent.d.ts +4 -0
- package/dist/components/notification-tray/notification-tray.agent.d.ts.map +1 -0
- package/dist/components/notification-tray/notification-tray.d.ts +27 -2
- package/dist/components/notification-tray/notification-tray.d.ts.map +1 -0
- package/dist/components/number-input/index.d.ts.map +1 -0
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/index.js.map +1 -0
- package/dist/components/number-input/number-input.agent.d.ts +4 -0
- package/dist/components/number-input/number-input.agent.d.ts.map +1 -0
- package/dist/components/number-input/number-input.d.ts +7 -0
- package/dist/components/number-input/number-input.d.ts.map +1 -0
- package/dist/components/number-input/use-locale-number.d.ts.map +1 -0
- package/dist/components/otp-input/index.d.ts.map +1 -0
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/otp-input/index.js.map +1 -0
- package/dist/components/otp-input/otp-input.agent.d.ts +4 -0
- package/dist/components/otp-input/otp-input.agent.d.ts.map +1 -0
- package/dist/components/otp-input/otp-input.d.ts +10 -0
- package/dist/components/otp-input/otp-input.d.ts.map +1 -0
- package/dist/components/pagination/index.d.ts.map +1 -0
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/index.js.map +1 -0
- package/dist/components/pagination/pagination.agent.d.ts +2 -1
- package/dist/components/pagination/pagination.agent.d.ts.map +1 -0
- package/dist/components/pagination/pagination.d.ts +7 -0
- package/dist/components/pagination/pagination.d.ts.map +1 -0
- package/dist/components/password-input/index.d.ts.map +1 -0
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/password-input/index.js.map +1 -0
- package/dist/components/password-input/password-input.agent.d.ts +4 -0
- package/dist/components/password-input/password-input.agent.d.ts.map +1 -0
- package/dist/components/password-input/password-input.d.ts +9 -0
- package/dist/components/password-input/password-input.d.ts.map +1 -0
- package/dist/components/payment-form/index.d.ts.map +1 -0
- package/dist/components/payment-form/index.js +2 -2
- package/dist/components/payment-form/index.js.map +1 -0
- package/dist/components/payment-form/payment-form.agent.d.ts.map +1 -0
- package/dist/components/payment-form/payment-form.d.ts +2 -0
- package/dist/components/payment-form/payment-form.d.ts.map +1 -0
- package/dist/components/pdf-viewer/index.d.ts.map +1 -0
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/pdf-viewer/index.js.map +1 -0
- package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +1 -0
- package/dist/components/pdf-viewer/pdf-viewer.d.ts +2 -0
- package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -0
- package/dist/components/phone-input/index.d.ts.map +1 -0
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/phone-input/index.js.map +1 -0
- package/dist/components/phone-input/phone-input.agent.d.ts +4 -0
- package/dist/components/phone-input/phone-input.agent.d.ts.map +1 -0
- package/dist/components/phone-input/phone-input.d.ts +7 -0
- package/dist/components/phone-input/phone-input.d.ts.map +1 -0
- package/dist/components/popover/index.d.ts.map +1 -0
- package/dist/components/popover/index.js +2 -2
- package/dist/components/popover/index.js.map +1 -0
- package/dist/components/popover/popover.agent.d.ts +2 -1
- package/dist/components/popover/popover.agent.d.ts.map +1 -0
- package/dist/components/popover/popover.d.ts +8 -1
- package/dist/components/popover/popover.d.ts.map +1 -0
- package/dist/components/privacy-lock/index.d.ts +2 -1
- package/dist/components/privacy-lock/index.d.ts.map +1 -0
- package/dist/components/privacy-lock/index.js +3 -2
- package/dist/components/privacy-lock/index.js.map +1 -0
- package/dist/components/privacy-lock/privacy-lock.agent.d.ts +4 -0
- package/dist/components/privacy-lock/privacy-lock.agent.d.ts.map +1 -0
- package/dist/components/privacy-lock/privacy-lock.d.ts +7 -1
- package/dist/components/privacy-lock/privacy-lock.d.ts.map +1 -0
- package/dist/components/progress/index.d.ts.map +1 -0
- package/dist/components/progress/index.js +2 -2
- package/dist/components/progress/index.js.map +1 -0
- package/dist/components/progress/progress.agent.d.ts.map +1 -0
- package/dist/components/progress/progress.d.ts.map +1 -0
- package/dist/components/radio/index.d.ts.map +1 -0
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/index.js.map +1 -0
- package/dist/components/radio-group/index.d.ts.map +1 -0
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/radio-group/index.js.map +1 -0
- package/dist/components/radio-group/radio-group-context.d.ts.map +1 -0
- package/dist/components/radio-group/radio-group.agent.d.ts +4 -0
- package/dist/components/radio-group/radio-group.agent.d.ts.map +1 -0
- package/dist/components/radio-group/radio-group.d.ts +5 -0
- package/dist/components/radio-group/radio-group.d.ts.map +1 -0
- package/dist/components/radio-group/radio.d.ts.map +1 -0
- package/dist/components/recaptcha-widget/index.d.ts +3 -0
- package/dist/components/recaptcha-widget/index.d.ts.map +1 -0
- package/dist/components/recaptcha-widget/index.js +6 -0
- package/dist/components/recaptcha-widget/index.js.map +1 -0
- package/dist/components/recaptcha-widget/recaptcha-widget.agent.d.ts +4 -0
- package/dist/components/recaptcha-widget/recaptcha-widget.agent.d.ts.map +1 -0
- package/dist/components/recaptcha-widget/recaptcha-widget.d.ts +56 -0
- package/dist/components/recaptcha-widget/recaptcha-widget.d.ts.map +1 -0
- package/dist/components/resizable/index.d.ts.map +1 -0
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/resizable/index.js.map +1 -0
- package/dist/components/resizable/resizable-context.d.ts.map +1 -0
- package/dist/components/resizable/resizable.agent.d.ts +2 -1
- package/dist/components/resizable/resizable.agent.d.ts.map +1 -0
- package/dist/components/resizable/resizable.d.ts +6 -0
- package/dist/components/resizable/resizable.d.ts.map +1 -0
- package/dist/components/rich-text-editor/index.d.ts.map +1 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/index.js.map +1 -0
- package/dist/components/rich-text-editor/rich-text-editor.agent.d.ts.map +1 -0
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +2 -0
- package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -0
- package/dist/components/scroll-area/index.d.ts.map +1 -0
- package/dist/components/scroll-area/index.js.map +1 -0
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -0
- package/dist/components/search-bar/index.d.ts +2 -1
- package/dist/components/search-bar/index.d.ts.map +1 -0
- package/dist/components/search-bar/index.js +3 -2
- package/dist/components/search-bar/index.js.map +1 -0
- package/dist/components/search-bar/search-bar.agent.d.ts +4 -0
- package/dist/components/search-bar/search-bar.agent.d.ts.map +1 -0
- package/dist/components/search-bar/search-bar.d.ts +27 -1
- package/dist/components/search-bar/search-bar.d.ts.map +1 -0
- package/dist/components/search-input/index.d.ts +2 -1
- package/dist/components/search-input/index.d.ts.map +1 -0
- package/dist/components/search-input/index.js +4 -2
- package/dist/components/search-input/index.js.map +1 -0
- package/dist/components/search-input/search-input.agent.d.ts +4 -0
- package/dist/components/search-input/search-input.agent.d.ts.map +1 -0
- package/dist/components/search-input/search-input.d.ts +27 -0
- package/dist/components/search-input/search-input.d.ts.map +1 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/index.js.map +1 -0
- package/dist/components/select/select.agent.d.ts +4 -0
- package/dist/components/select/select.agent.d.ts.map +1 -0
- package/dist/components/select/select.d.ts +9 -0
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/separator/index.d.ts.map +1 -0
- package/dist/components/separator/index.js.map +1 -0
- package/dist/components/separator/separator.d.ts.map +1 -0
- package/dist/components/sheet/index.d.ts.map +1 -0
- package/dist/components/sheet/index.js +2 -2
- package/dist/components/sheet/index.js.map +1 -0
- package/dist/components/sheet/sheet.agent.d.ts +2 -1
- package/dist/components/sheet/sheet.agent.d.ts.map +1 -0
- package/dist/components/sheet/sheet.d.ts +11 -2
- package/dist/components/sheet/sheet.d.ts.map +1 -0
- package/dist/components/sidebar/index.d.ts.map +1 -0
- package/dist/components/sidebar/index.js +2 -2
- package/dist/components/sidebar/index.js.map +1 -0
- package/dist/components/sidebar/sidebar.agent.d.ts +2 -1
- package/dist/components/sidebar/sidebar.agent.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar.d.ts +6 -0
- package/dist/components/sidebar/sidebar.d.ts.map +1 -0
- package/dist/components/sign-in-with-alfadocs-button/index.d.ts.map +1 -0
- package/dist/components/sign-in-with-alfadocs-button/index.js.map +1 -0
- package/dist/components/sign-in-with-alfadocs-button/sign-in-with-alfadocs-button.d.ts.map +1 -0
- package/dist/components/signature-capture/index.d.ts.map +1 -0
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/signature-capture/index.js.map +1 -0
- package/dist/components/signature-capture/signature-capture.agent.d.ts.map +1 -0
- package/dist/components/signature-capture/signature-capture.d.ts +2 -0
- package/dist/components/signature-capture/signature-capture.d.ts.map +1 -0
- package/dist/components/skeleton/index.d.ts.map +1 -0
- package/dist/components/skeleton/index.js.map +1 -0
- package/dist/components/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/skip-link/index.d.ts.map +1 -0
- package/dist/components/skip-link/index.js.map +1 -0
- package/dist/components/skip-link/skip-link.d.ts.map +1 -0
- package/dist/components/slider/index.d.ts.map +1 -0
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/index.js.map +1 -0
- package/dist/components/slider/slider.agent.d.ts +4 -0
- package/dist/components/slider/slider.agent.d.ts.map +1 -0
- package/dist/components/slider/slider.d.ts +5 -0
- package/dist/components/slider/slider.d.ts.map +1 -0
- package/dist/components/slot-grid/index.d.ts.map +1 -0
- package/dist/components/slot-grid/index.js.map +1 -0
- package/dist/components/slot-grid/slot-grid.d.ts.map +1 -0
- package/dist/components/sparkline/index.d.ts.map +1 -0
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/sparkline/index.js.map +1 -0
- package/dist/components/sparkline/sparkline.agent.d.ts.map +1 -0
- package/dist/components/sparkline/sparkline.d.ts.map +1 -0
- package/dist/components/sparkline/use-linear-trend.d.ts.map +1 -0
- package/dist/components/spinner/index.d.ts.map +1 -0
- package/dist/components/spinner/index.js.map +1 -0
- package/dist/components/spinner/spinner.d.ts.map +1 -0
- package/dist/components/stat/index.d.ts.map +1 -0
- package/dist/components/stat/index.js.map +1 -0
- package/dist/components/stat/stat.d.ts.map +1 -0
- package/dist/components/stepper-accordion/index.d.ts +2 -1
- package/dist/components/stepper-accordion/index.d.ts.map +1 -0
- package/dist/components/stepper-accordion/index.js +3 -2
- package/dist/components/stepper-accordion/index.js.map +1 -0
- package/dist/components/stepper-accordion/stepper-accordion.agent.d.ts +4 -0
- package/dist/components/stepper-accordion/stepper-accordion.agent.d.ts.map +1 -0
- package/dist/components/stepper-accordion/stepper-accordion.d.ts +19 -1
- package/dist/components/stepper-accordion/stepper-accordion.d.ts.map +1 -0
- package/dist/components/stepper-calendar/index.d.ts +2 -1
- package/dist/components/stepper-calendar/index.d.ts.map +1 -0
- package/dist/components/stepper-calendar/index.js +3 -2
- package/dist/components/stepper-calendar/index.js.map +1 -0
- package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts +4 -0
- package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts.map +1 -0
- package/dist/components/stepper-calendar/stepper-calendar.d.ts +19 -1
- package/dist/components/stepper-calendar/stepper-calendar.d.ts.map +1 -0
- package/dist/components/stepper-progress/index.d.ts +2 -1
- package/dist/components/stepper-progress/index.d.ts.map +1 -0
- package/dist/components/stepper-progress/index.js +4 -2
- package/dist/components/stepper-progress/index.js.map +1 -0
- package/dist/components/stepper-progress/stepper-progress.agent.d.ts +4 -0
- package/dist/components/stepper-progress/stepper-progress.agent.d.ts.map +1 -0
- package/dist/components/stepper-progress/stepper-progress.d.ts +26 -1
- package/dist/components/stepper-progress/stepper-progress.d.ts.map +1 -0
- package/dist/components/streaming-text/index.d.ts.map +1 -0
- package/dist/components/streaming-text/index.js.map +1 -0
- package/dist/components/streaming-text/streaming-text.d.ts.map +1 -0
- package/dist/components/suggestion-chip/index.d.ts +2 -1
- package/dist/components/suggestion-chip/index.d.ts.map +1 -0
- package/dist/components/suggestion-chip/index.js +5 -3
- package/dist/components/suggestion-chip/index.js.map +1 -0
- package/dist/components/suggestion-chip/suggestion-chip.agent.d.ts +4 -0
- package/dist/components/suggestion-chip/suggestion-chip.agent.d.ts.map +1 -0
- package/dist/components/suggestion-chip/suggestion-chip.d.ts +7 -1
- package/dist/components/suggestion-chip/suggestion-chip.d.ts.map +1 -0
- package/dist/components/switch/index.d.ts.map +1 -0
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.js.map +1 -0
- package/dist/components/switch/switch.agent.d.ts +4 -0
- package/dist/components/switch/switch.agent.d.ts.map +1 -0
- package/dist/components/switch/switch.d.ts +6 -0
- package/dist/components/switch/switch.d.ts.map +1 -0
- package/dist/components/tabs/index.d.ts.map +1 -0
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/index.js.map +1 -0
- package/dist/components/tabs/tabs.agent.d.ts +2 -1
- package/dist/components/tabs/tabs.agent.d.ts.map +1 -0
- package/dist/components/tabs/tabs.d.ts +4 -0
- package/dist/components/tabs/tabs.d.ts.map +1 -0
- package/dist/components/tag/index.d.ts.map +1 -0
- package/dist/components/tag/index.js.map +1 -0
- package/dist/components/tag/tag.d.ts.map +1 -0
- package/dist/components/task-card/index.d.ts +1 -0
- package/dist/components/task-card/index.d.ts.map +1 -0
- package/dist/components/task-card/index.js +5 -3
- package/dist/components/task-card/index.js.map +1 -0
- package/dist/components/task-card/task-card.agent.d.ts +3 -0
- package/dist/components/task-card/task-card.agent.d.ts.map +1 -0
- package/dist/components/task-card/task-card.d.ts.map +1 -0
- package/dist/components/task-tray/index.d.ts +2 -1
- package/dist/components/task-tray/index.d.ts.map +1 -0
- package/dist/components/task-tray/index.js +3 -2
- package/dist/components/task-tray/index.js.map +1 -0
- package/dist/components/task-tray/task-tray.agent.d.ts +4 -0
- package/dist/components/task-tray/task-tray.agent.d.ts.map +1 -0
- package/dist/components/task-tray/task-tray.d.ts +25 -2
- package/dist/components/task-tray/task-tray.d.ts.map +1 -0
- package/dist/components/text-area/index.d.ts.map +1 -0
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-area/index.js.map +1 -0
- package/dist/components/text-area/text-area.agent.d.ts +4 -0
- package/dist/components/text-area/text-area.agent.d.ts.map +1 -0
- package/dist/components/text-area/text-area.d.ts +7 -0
- package/dist/components/text-area/text-area.d.ts.map +1 -0
- package/dist/components/text-input/index.d.ts.map +1 -0
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/text-input/index.js.map +1 -0
- package/dist/components/text-input/text-input.agent.d.ts +4 -0
- package/dist/components/text-input/text-input.agent.d.ts.map +1 -0
- package/dist/components/text-input/text-input.d.ts +10 -0
- package/dist/components/text-input/text-input.d.ts.map +1 -0
- package/dist/components/theme-root/index.d.ts.map +1 -0
- package/dist/components/theme-root/index.js.map +1 -0
- package/dist/components/theme-root/theme-root.d.ts.map +1 -0
- package/dist/components/theme-toggle/index.d.ts +2 -1
- package/dist/components/theme-toggle/index.d.ts.map +1 -0
- package/dist/components/theme-toggle/index.js +3 -2
- package/dist/components/theme-toggle/index.js.map +1 -0
- package/dist/components/theme-toggle/theme-toggle.agent.d.ts +4 -0
- package/dist/components/theme-toggle/theme-toggle.agent.d.ts.map +1 -0
- package/dist/components/theme-toggle/theme-toggle.d.ts +9 -2
- package/dist/components/theme-toggle/theme-toggle.d.ts.map +1 -0
- package/dist/components/time-picker/index.d.ts +2 -1
- package/dist/components/time-picker/index.d.ts.map +1 -0
- package/dist/components/time-picker/index.js +3 -2
- package/dist/components/time-picker/index.js.map +1 -0
- package/dist/components/time-picker/time-picker.agent.d.ts +4 -0
- package/dist/components/time-picker/time-picker.agent.d.ts.map +1 -0
- package/dist/components/time-picker/time-picker.d.ts +16 -1
- package/dist/components/time-picker/time-picker.d.ts.map +1 -0
- package/dist/components/timeline/index.d.ts +2 -1
- package/dist/components/timeline/index.d.ts.map +1 -0
- package/dist/components/timeline/index.js +3 -2
- package/dist/components/timeline/index.js.map +1 -0
- package/dist/components/timeline/timeline.agent.d.ts +4 -0
- package/dist/components/timeline/timeline.agent.d.ts.map +1 -0
- package/dist/components/timeline/timeline.d.ts +8 -1
- package/dist/components/timeline/timeline.d.ts.map +1 -0
- package/dist/components/timestamp/index.d.ts.map +1 -0
- package/dist/components/timestamp/index.js.map +1 -0
- package/dist/components/timestamp/timestamp.d.ts.map +1 -0
- package/dist/components/toast/index.d.ts +3 -2
- package/dist/components/toast/index.d.ts.map +1 -0
- package/dist/components/toast/index.js +7 -5
- package/dist/components/toast/index.js.map +1 -0
- package/dist/components/toast/toast.agent.d.ts +4 -0
- package/dist/components/toast/toast.agent.d.ts.map +1 -0
- package/dist/components/toast/toast.d.ts +8 -0
- package/dist/components/toast/toast.d.ts.map +1 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/tooltip/index.js.map +1 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/tooth-scheme/index.d.ts.map +1 -0
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/tooth-scheme/index.js.map +1 -0
- package/dist/components/tooth-scheme/tooth-data.d.ts.map +1 -0
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts.map +1 -0
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +2 -0
- package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -0
- package/dist/components/transcript-panel/index.d.ts +2 -1
- package/dist/components/transcript-panel/index.d.ts.map +1 -0
- package/dist/components/transcript-panel/index.js +3 -2
- package/dist/components/transcript-panel/index.js.map +1 -0
- package/dist/components/transcript-panel/transcript-panel.agent.d.ts +4 -0
- package/dist/components/transcript-panel/transcript-panel.agent.d.ts.map +1 -0
- package/dist/components/transcript-panel/transcript-panel.d.ts +10 -1
- package/dist/components/transcript-panel/transcript-panel.d.ts.map +1 -0
- package/dist/components/typing-indicator/index.d.ts.map +1 -0
- package/dist/components/typing-indicator/index.js.map +1 -0
- package/dist/components/typing-indicator/typing-indicator.d.ts.map +1 -0
- package/dist/components/visually-hidden/index.d.ts.map +1 -0
- package/dist/components/visually-hidden/index.js.map +1 -0
- package/dist/components/visually-hidden/visually-hidden.d.ts.map +1 -0
- package/dist/components/warning-stack/index.d.ts.map +1 -0
- package/dist/components/warning-stack/index.js.map +1 -0
- package/dist/components/warning-stack/warning-stack.d.ts.map +1 -0
- package/dist/components/workflow/index.d.ts +2 -1
- package/dist/components/workflow/index.d.ts.map +1 -0
- package/dist/components/workflow/index.js +10 -7
- package/dist/components/workflow/index.js.map +1 -0
- package/dist/components/workflow/workflow-card.d.ts.map +1 -0
- package/dist/components/workflow/workflow-editor.d.ts +7 -1
- package/dist/components/workflow/workflow-editor.d.ts.map +1 -0
- package/dist/components/workflow/workflow-map.d.ts +2 -0
- package/dist/components/workflow/workflow-map.d.ts.map +1 -0
- package/dist/components/workflow/workflow-types.d.ts.map +1 -0
- package/dist/components/workflow/workflow.agent.d.ts +6 -0
- package/dist/components/workflow/workflow.agent.d.ts.map +1 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/use-locale.d.ts.map +1 -0
- package/dist/hooks/use-media-query.d.ts.map +1 -0
- package/dist/hooks/use-prefers-reduced-motion.d.ts.map +1 -0
- package/dist/hooks/use-theme.d.ts.map +1 -0
- package/dist/i18n/config.d.ts.map +1 -0
- package/dist/i18n/config.js +24 -11
- package/dist/i18n/config.js.map +1 -0
- package/dist/i18n/resources.d.ts +7 -0
- package/dist/i18n/resources.d.ts.map +1 -0
- package/dist/index.js +471 -423
- package/dist/index.js.map +1 -0
- package/dist/locales/en.json +7 -0
- package/dist/option/index.js.map +1 -0
- package/dist/patterns/leo-assistant/index.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/index.js +1 -1
- package/dist/patterns/leo-assistant/index.js.map +1 -0
- package/dist/patterns/leo-assistant/leo-chat-surface.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-embedded.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-popout.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-sidebar.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-types.d.ts.map +1 -0
- package/dist/patterns/patient-shell/index.d.ts.map +1 -0
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js.map +1 -0
- package/dist/patterns/patient-shell/patient-shell.d.ts.map +1 -0
- package/dist/safe-html/index.js.map +1 -0
- package/dist/tokens/apexcharts-theme.d.ts.map +1 -0
- package/dist/tokens/themes/bridges/stripe-appearance.d.ts.map +1 -0
- package/dist/tokens.css +1 -1
- package/package.json +26 -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,33 +1,33 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { C
|
|
6
|
-
import { B as
|
|
7
|
-
import { K as
|
|
8
|
-
import { T as
|
|
1
|
+
import { jsx as t, jsxs as u, Fragment as he } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as H, useMemo as F, useRef as D, useCallback as W, useState as we, useImperativeHandle as ve, useEffect as ge } from "react";
|
|
3
|
+
import { c as K } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as S } from "react-i18next";
|
|
5
|
+
import { C } from "./card-BEy58ZKp.js";
|
|
6
|
+
import { B as ke } from "./badge-mrstWxve.js";
|
|
7
|
+
import { K as Q } from "./key-value-pair-JRFS9Xrh.js";
|
|
8
|
+
import { T as ye } from "./timestamp-BV2lC-wV.js";
|
|
9
9
|
import { I as M } from "./icon-button-Wnnde5lc.js";
|
|
10
|
-
import { c as
|
|
11
|
-
import { C as
|
|
12
|
-
import { A as
|
|
13
|
-
import { B as
|
|
14
|
-
import { D as N } from "./dropdown-menu-
|
|
15
|
-
import { E as
|
|
16
|
-
import { P as
|
|
17
|
-
import { G as
|
|
18
|
-
import { S as
|
|
19
|
-
import { M as
|
|
20
|
-
import { C as
|
|
21
|
-
import { C as
|
|
22
|
-
import { C as
|
|
23
|
-
import { C as
|
|
10
|
+
import { c as _ } from "./createLucideIcon-CrFbzy84.js";
|
|
11
|
+
import { C as be } from "./circle-BkqTgYmt.js";
|
|
12
|
+
import { A as V } from "./alert-BlOUMkXj.js";
|
|
13
|
+
import { B as xe } from "./button-7mLWcMp_.js";
|
|
14
|
+
import { D as N } from "./dropdown-menu-C7AZipNz.js";
|
|
15
|
+
import { E as L } from "./empty-state-DQPtRp2b.js";
|
|
16
|
+
import { P as re } from "./plus-CYKNmfuA.js";
|
|
17
|
+
import { G as oe } from "./globe-BkEFMNSg.js";
|
|
18
|
+
import { S as ae } from "./square-check-big-Jr-0202D.js";
|
|
19
|
+
import { M as ne } from "./mail-C8irm52s.js";
|
|
20
|
+
import { C as de } from "./clock-21AGPWJ5.js";
|
|
21
|
+
import { C as Ne } from "./chevron-up-zOEDrmBB.js";
|
|
22
|
+
import { C as Ce } from "./chevron-down-BX_NP2Yh.js";
|
|
23
|
+
import { C as _e } from "./check-DPdL_Sm7.js";
|
|
24
24
|
/**
|
|
25
25
|
* @license lucide-react v1.8.0 - ISC
|
|
26
26
|
*
|
|
27
27
|
* This source code is licensed under the ISC license.
|
|
28
28
|
* See the LICENSE file in the root directory of this source tree.
|
|
29
29
|
*/
|
|
30
|
-
const
|
|
30
|
+
const Me = [
|
|
31
31
|
["path", { d: "M10.1 2.182a10 10 0 0 1 3.8 0", key: "5ilxe3" }],
|
|
32
32
|
["path", { d: "M13.9 21.818a10 10 0 0 1-3.8 0", key: "11zvb9" }],
|
|
33
33
|
["path", { d: "M17.609 3.721a10 10 0 0 1 2.69 2.7", key: "1iw5b2" }],
|
|
@@ -36,38 +36,38 @@ const ke = [
|
|
|
36
36
|
["path", { d: "M21.818 10.1a10 10 0 0 1 0 3.8", key: "qkgqxc" }],
|
|
37
37
|
["path", { d: "M3.721 6.391a10 10 0 0 1 2.7-2.69", key: "1mcia2" }],
|
|
38
38
|
["path", { d: "M6.391 20.279a10 10 0 0 1-2.69-2.7", key: "1fvljs" }]
|
|
39
|
-
],
|
|
39
|
+
], Se = _("circle-dashed", Me);
|
|
40
40
|
/**
|
|
41
41
|
* @license lucide-react v1.8.0 - ISC
|
|
42
42
|
*
|
|
43
43
|
* This source code is licensed under the ISC license.
|
|
44
44
|
* See the LICENSE file in the root directory of this source tree.
|
|
45
45
|
*/
|
|
46
|
-
const
|
|
46
|
+
const ze = [
|
|
47
47
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
48
48
|
["line", { x1: "10", x2: "10", y1: "15", y2: "9", key: "c1nkhi" }],
|
|
49
49
|
["line", { x1: "14", x2: "14", y1: "15", y2: "9", key: "h65svq" }]
|
|
50
|
-
],
|
|
50
|
+
], je = _("circle-pause", ze);
|
|
51
51
|
/**
|
|
52
52
|
* @license lucide-react v1.8.0 - ISC
|
|
53
53
|
*
|
|
54
54
|
* This source code is licensed under the ISC license.
|
|
55
55
|
* See the LICENSE file in the root directory of this source tree.
|
|
56
56
|
*/
|
|
57
|
-
const
|
|
57
|
+
const Ie = [
|
|
58
58
|
["path", { d: "M13 5h8", key: "a7qcls" }],
|
|
59
59
|
["path", { d: "M13 12h8", key: "h98zly" }],
|
|
60
60
|
["path", { d: "M13 19h8", key: "c3s6r1" }],
|
|
61
61
|
["path", { d: "m3 17 2 2 4-4", key: "1jhpwq" }],
|
|
62
62
|
["path", { d: "m3 7 2 2 4-4", key: "1obspn" }]
|
|
63
|
-
],
|
|
63
|
+
], Ae = _("list-checks", Ie);
|
|
64
64
|
/**
|
|
65
65
|
* @license lucide-react v1.8.0 - ISC
|
|
66
66
|
*
|
|
67
67
|
* This source code is licensed under the ISC license.
|
|
68
68
|
* See the LICENSE file in the root directory of this source tree.
|
|
69
69
|
*/
|
|
70
|
-
const
|
|
70
|
+
const Te = [
|
|
71
71
|
[
|
|
72
72
|
"path",
|
|
73
73
|
{
|
|
@@ -75,14 +75,14 @@ const ze = [
|
|
|
75
75
|
key: "1sd12s"
|
|
76
76
|
}
|
|
77
77
|
]
|
|
78
|
-
],
|
|
78
|
+
], ie = _("message-circle", Te);
|
|
79
79
|
/**
|
|
80
80
|
* @license lucide-react v1.8.0 - ISC
|
|
81
81
|
*
|
|
82
82
|
* This source code is licensed under the ISC license.
|
|
83
83
|
* See the LICENSE file in the root directory of this source tree.
|
|
84
84
|
*/
|
|
85
|
-
const
|
|
85
|
+
const Ee = [
|
|
86
86
|
[
|
|
87
87
|
"path",
|
|
88
88
|
{
|
|
@@ -91,59 +91,59 @@ const je = [
|
|
|
91
91
|
}
|
|
92
92
|
],
|
|
93
93
|
["path", { d: "m15 5 4 4", key: "1mk7zo" }]
|
|
94
|
-
],
|
|
94
|
+
], U = _("pencil", Ee);
|
|
95
95
|
/**
|
|
96
96
|
* @license lucide-react v1.8.0 - ISC
|
|
97
97
|
*
|
|
98
98
|
* This source code is licensed under the ISC license.
|
|
99
99
|
* See the LICENSE file in the root directory of this source tree.
|
|
100
100
|
*/
|
|
101
|
-
const
|
|
101
|
+
const Le = [
|
|
102
102
|
["path", { d: "M18.36 6.64A9 9 0 0 1 20.77 15", key: "dxknvb" }],
|
|
103
103
|
["path", { d: "M6.16 6.16a9 9 0 1 0 12.68 12.68", key: "1x7qb5" }],
|
|
104
104
|
["path", { d: "M12 2v4", key: "3427ic" }],
|
|
105
105
|
["path", { d: "m2 2 20 20", key: "1ooewy" }]
|
|
106
|
-
],
|
|
106
|
+
], De = _("power-off", Le);
|
|
107
107
|
/**
|
|
108
108
|
* @license lucide-react v1.8.0 - ISC
|
|
109
109
|
*
|
|
110
110
|
* This source code is licensed under the ISC license.
|
|
111
111
|
* See the LICENSE file in the root directory of this source tree.
|
|
112
112
|
*/
|
|
113
|
-
const
|
|
113
|
+
const Ke = [
|
|
114
114
|
["path", { d: "M12 2v10", key: "mnfbl" }],
|
|
115
115
|
["path", { d: "M18.4 6.6a9 9 0 1 1-12.77.04", key: "obofu9" }]
|
|
116
|
-
],
|
|
116
|
+
], Be = _("power", Ke);
|
|
117
117
|
/**
|
|
118
118
|
* @license lucide-react v1.8.0 - ISC
|
|
119
119
|
*
|
|
120
120
|
* This source code is licensed under the ISC license.
|
|
121
121
|
* See the LICENSE file in the root directory of this source tree.
|
|
122
122
|
*/
|
|
123
|
-
const
|
|
123
|
+
const qe = [
|
|
124
124
|
["rect", { width: "14", height: "20", x: "5", y: "2", rx: "2", ry: "2", key: "1yt0o3" }],
|
|
125
125
|
["path", { d: "M12 18h.01", key: "mhygvu" }]
|
|
126
|
-
],
|
|
126
|
+
], le = _("smartphone", qe);
|
|
127
127
|
/**
|
|
128
128
|
* @license lucide-react v1.8.0 - ISC
|
|
129
129
|
*
|
|
130
130
|
* This source code is licensed under the ISC license.
|
|
131
131
|
* See the LICENSE file in the root directory of this source tree.
|
|
132
132
|
*/
|
|
133
|
-
const
|
|
133
|
+
const Pe = [
|
|
134
134
|
["path", { d: "M10 11v6", key: "nco0om" }],
|
|
135
135
|
["path", { d: "M14 11v6", key: "outv1u" }],
|
|
136
136
|
["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
|
|
137
137
|
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
138
138
|
["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
|
|
139
|
-
],
|
|
139
|
+
], ce = _("trash-2", Pe);
|
|
140
140
|
/**
|
|
141
141
|
* @license lucide-react v1.8.0 - ISC
|
|
142
142
|
*
|
|
143
143
|
* This source code is licensed under the ISC license.
|
|
144
144
|
* See the LICENSE file in the root directory of this source tree.
|
|
145
145
|
*/
|
|
146
|
-
const
|
|
146
|
+
const $e = [
|
|
147
147
|
["path", { d: "M10 15H6a4 4 0 0 0-4 4v2", key: "1nfge6" }],
|
|
148
148
|
["path", { d: "m14.305 16.53.923-.382", key: "1itpsq" }],
|
|
149
149
|
["path", { d: "m15.228 13.852-.923-.383", key: "eplpkm" }],
|
|
@@ -155,7 +155,7 @@ const Ee = [
|
|
|
155
155
|
["path", { d: "m20.772 16.148.924.383", key: "1g6xey" }],
|
|
156
156
|
["circle", { cx: "18", cy: "15", r: "3", key: "gjjjvw" }],
|
|
157
157
|
["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }]
|
|
158
|
-
],
|
|
158
|
+
], ue = _("user-cog", $e), We = K("ds:relative ds:w-full", {
|
|
159
159
|
variants: {
|
|
160
160
|
density: {
|
|
161
161
|
comfortable: "",
|
|
@@ -166,62 +166,63 @@ const Ee = [
|
|
|
166
166
|
density: "comfortable"
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
|
-
function
|
|
169
|
+
function Re(e) {
|
|
170
170
|
switch (e) {
|
|
171
171
|
case "active":
|
|
172
172
|
return {
|
|
173
173
|
badgeVariant: "success",
|
|
174
|
-
icon: /* @__PURE__ */ t(
|
|
174
|
+
icon: /* @__PURE__ */ t(be, { className: "ds:fill-current", "aria-hidden": "true" })
|
|
175
175
|
};
|
|
176
176
|
case "paused":
|
|
177
177
|
return {
|
|
178
178
|
badgeVariant: "warning",
|
|
179
|
-
icon: /* @__PURE__ */ t(
|
|
179
|
+
icon: /* @__PURE__ */ t(je, { "aria-hidden": "true" })
|
|
180
180
|
};
|
|
181
181
|
case "inactive":
|
|
182
182
|
default:
|
|
183
183
|
return {
|
|
184
184
|
badgeVariant: "neutral",
|
|
185
|
-
icon: /* @__PURE__ */ t(
|
|
185
|
+
icon: /* @__PURE__ */ t(Se, { "aria-hidden": "true" })
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
const
|
|
189
|
+
const Fe = H(
|
|
190
190
|
function({
|
|
191
191
|
workflow: s,
|
|
192
192
|
density: r = "comfortable",
|
|
193
|
-
onView:
|
|
193
|
+
onView: o,
|
|
194
194
|
onEdit: i,
|
|
195
195
|
onDelete: n,
|
|
196
|
-
onToggleActive:
|
|
196
|
+
onToggleActive: a,
|
|
197
197
|
className: p
|
|
198
198
|
}, m) {
|
|
199
|
-
const { t:
|
|
200
|
-
|
|
201
|
-
},
|
|
202
|
-
|
|
199
|
+
const { t: c } = S(), d = Re(s.status), l = s.status === "active", v = r === "compact", h = (w) => (y) => {
|
|
200
|
+
y.stopPropagation(), w == null || w();
|
|
201
|
+
}, b = /* @__PURE__ */ t(
|
|
202
|
+
ke,
|
|
203
203
|
{
|
|
204
204
|
variant: d.badgeVariant,
|
|
205
205
|
leading: d.icon,
|
|
206
206
|
withDot: !1,
|
|
207
|
-
children:
|
|
207
|
+
children: c(`workflow.status.${s.status}`)
|
|
208
208
|
}
|
|
209
|
-
), x =
|
|
210
|
-
return /* @__PURE__ */
|
|
211
|
-
|
|
209
|
+
), x = c("workflow.card.activeEnrollments");
|
|
210
|
+
return /* @__PURE__ */ u(
|
|
211
|
+
C,
|
|
212
212
|
{
|
|
213
213
|
ref: m,
|
|
214
214
|
variant: "default",
|
|
215
|
-
className:
|
|
215
|
+
className: We({ density: r, className: p }),
|
|
216
216
|
"data-component": "workflow-card",
|
|
217
|
+
"data-component-id": s.id,
|
|
217
218
|
children: [
|
|
218
|
-
/* @__PURE__ */ t(
|
|
219
|
-
/* @__PURE__ */
|
|
220
|
-
/* @__PURE__ */ t("h3", { className: "ds:m-0 type-title-card ds:text-[color:var(--foreground)] ds:[overflow-wrap:anywhere] ds:break-words", children:
|
|
219
|
+
/* @__PURE__ */ t(C.Header, { children: /* @__PURE__ */ u("div", { className: "ds:flex ds:items-start ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
220
|
+
/* @__PURE__ */ u("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
221
|
+
/* @__PURE__ */ t("h3", { className: "ds:m-0 type-title-card ds:text-[color:var(--foreground)] ds:[overflow-wrap:anywhere] ds:break-words", children: o ? /* @__PURE__ */ t(
|
|
221
222
|
"button",
|
|
222
223
|
{
|
|
223
224
|
type: "button",
|
|
224
|
-
onClick: () =>
|
|
225
|
+
onClick: () => o(s.id),
|
|
225
226
|
className: [
|
|
226
227
|
"ds:text-start ds:font-inherit ds:text-inherit",
|
|
227
228
|
// Inset overlay that turns the whole card into a
|
|
@@ -239,34 +240,34 @@ const $e = P(
|
|
|
239
240
|
children: s.name
|
|
240
241
|
}
|
|
241
242
|
) : s.name }),
|
|
242
|
-
|
|
243
|
+
v && /* @__PURE__ */ u("span", { className: "ds:flex ds:items-baseline ds:gap-[var(--spacing-xs)] type-body-sm ds:text-[color:var(--muted-foreground)]", children: [
|
|
243
244
|
/* @__PURE__ */ t("span", { children: x }),
|
|
244
245
|
/* @__PURE__ */ t("span", { className: "ds:font-medium ds:text-[color:var(--foreground)]", children: s.stats.activeEnrollments })
|
|
245
246
|
] })
|
|
246
247
|
] }),
|
|
247
|
-
/* @__PURE__ */ t("div", { className: "ds:shrink-0", children:
|
|
248
|
+
/* @__PURE__ */ t("div", { className: "ds:shrink-0", children: b })
|
|
248
249
|
] }) }),
|
|
249
|
-
!
|
|
250
|
+
!v && /* @__PURE__ */ u(C.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
250
251
|
/* @__PURE__ */ t(
|
|
251
|
-
|
|
252
|
+
Q,
|
|
252
253
|
{
|
|
253
|
-
label:
|
|
254
|
+
label: c("workflow.card.activeEnrollments"),
|
|
254
255
|
value: s.stats.activeEnrollments
|
|
255
256
|
}
|
|
256
257
|
),
|
|
257
258
|
/* @__PURE__ */ t(
|
|
258
|
-
|
|
259
|
+
Q,
|
|
259
260
|
{
|
|
260
|
-
label:
|
|
261
|
+
label: c("workflow.card.totalEnrollments"),
|
|
261
262
|
value: s.stats.totalEnrollments
|
|
262
263
|
}
|
|
263
264
|
)
|
|
264
265
|
] }),
|
|
265
|
-
/* @__PURE__ */
|
|
266
|
-
/* @__PURE__ */
|
|
267
|
-
/* @__PURE__ */ t("span", { className: "ds:truncate", title: s.createdBy, children:
|
|
266
|
+
/* @__PURE__ */ u(C.Footer, { className: "ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
267
|
+
/* @__PURE__ */ u("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)] type-body-sm ds:text-[color:var(--muted-foreground)]", children: [
|
|
268
|
+
/* @__PURE__ */ t("span", { className: "ds:truncate", title: s.createdBy, children: c("workflow.createdBy", { name: s.createdBy }) }),
|
|
268
269
|
s.updatedAt && /* @__PURE__ */ t(
|
|
269
|
-
|
|
270
|
+
ye,
|
|
270
271
|
{
|
|
271
272
|
value: s.updatedAt,
|
|
272
273
|
format: "absolute",
|
|
@@ -276,38 +277,38 @@ const $e = P(
|
|
|
276
277
|
}
|
|
277
278
|
)
|
|
278
279
|
] }),
|
|
279
|
-
/* @__PURE__ */
|
|
280
|
+
/* @__PURE__ */ u("div", { className: "ds:relative ds:z-10 ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)] ds:ms-auto", children: [
|
|
280
281
|
i && /* @__PURE__ */ t(
|
|
281
282
|
M,
|
|
282
283
|
{
|
|
283
|
-
icon: /* @__PURE__ */ t(
|
|
284
|
+
icon: /* @__PURE__ */ t(U, {}),
|
|
284
285
|
size: "sm",
|
|
285
286
|
intent: "ghost",
|
|
286
|
-
"aria-label":
|
|
287
|
+
"aria-label": c("workflow.card.edit"),
|
|
287
288
|
onClick: h(() => i(s.id))
|
|
288
289
|
}
|
|
289
290
|
),
|
|
290
|
-
|
|
291
|
+
a && /* @__PURE__ */ t(
|
|
291
292
|
M,
|
|
292
293
|
{
|
|
293
|
-
icon: l ? /* @__PURE__ */ t(
|
|
294
|
+
icon: l ? /* @__PURE__ */ t(De, {}) : /* @__PURE__ */ t(Be, {}),
|
|
294
295
|
size: "sm",
|
|
295
296
|
intent: "ghost",
|
|
296
|
-
"aria-label":
|
|
297
|
+
"aria-label": c(
|
|
297
298
|
l ? "workflow.card.deactivate" : "workflow.card.activate"
|
|
298
299
|
),
|
|
299
300
|
onClick: h(
|
|
300
|
-
() =>
|
|
301
|
+
() => a(s.id, !l)
|
|
301
302
|
)
|
|
302
303
|
}
|
|
303
304
|
),
|
|
304
305
|
n && /* @__PURE__ */ t(
|
|
305
306
|
M,
|
|
306
307
|
{
|
|
307
|
-
icon: /* @__PURE__ */ t(
|
|
308
|
+
icon: /* @__PURE__ */ t(ce, {}),
|
|
308
309
|
size: "sm",
|
|
309
310
|
intent: "destructive",
|
|
310
|
-
"aria-label":
|
|
311
|
+
"aria-label": c("workflow.card.delete"),
|
|
311
312
|
onClick: h(() => n(s.id))
|
|
312
313
|
}
|
|
313
314
|
)
|
|
@@ -318,55 +319,55 @@ const $e = P(
|
|
|
318
319
|
);
|
|
319
320
|
}
|
|
320
321
|
);
|
|
321
|
-
|
|
322
|
-
function
|
|
322
|
+
Fe.displayName = "WorkflowCard";
|
|
323
|
+
function G(e) {
|
|
323
324
|
if (e.nodes.length === 0) return [];
|
|
324
325
|
const s = e.edges.filter(
|
|
325
326
|
(d) => d.condition == null
|
|
326
|
-
), r = new Set(s.map((d) => d.to)), i = e.nodes.filter((d) => !r.has(d.id))[0] ?? e.nodes[0], n = new Map(e.nodes.map((d) => [d.id, d])),
|
|
327
|
+
), r = new Set(s.map((d) => d.to)), i = e.nodes.filter((d) => !r.has(d.id))[0] ?? e.nodes[0], n = new Map(e.nodes.map((d) => [d.id, d])), a = /* @__PURE__ */ new Map();
|
|
327
328
|
for (const d of s) {
|
|
328
|
-
const l =
|
|
329
|
-
l.push(d),
|
|
329
|
+
const l = a.get(d.from) ?? [];
|
|
330
|
+
l.push(d), a.set(d.from, l);
|
|
330
331
|
}
|
|
331
332
|
const p = /* @__PURE__ */ new Set(), m = [];
|
|
332
|
-
let
|
|
333
|
-
for (;
|
|
334
|
-
p.add(
|
|
335
|
-
const d =
|
|
333
|
+
let c = i;
|
|
334
|
+
for (; c && !p.has(c.id); ) {
|
|
335
|
+
p.add(c.id), m.push(c);
|
|
336
|
+
const d = a.get(c.id) ?? [];
|
|
336
337
|
d.length > 1 && typeof console < "u" && console.warn(
|
|
337
|
-
`[workflow] node ${
|
|
338
|
-
),
|
|
338
|
+
`[workflow] node ${c.id} has ${d.length} outgoing linear edges; v1 walks the first only.`
|
|
339
|
+
), c = d[0] ? n.get(d[0].to) : void 0;
|
|
339
340
|
}
|
|
340
341
|
for (const d of e.nodes)
|
|
341
342
|
p.has(d.id) || m.push(d);
|
|
342
343
|
return m;
|
|
343
344
|
}
|
|
344
|
-
function
|
|
345
|
-
const
|
|
345
|
+
function O(e, s, r) {
|
|
346
|
+
const o = [...e.nodes, r];
|
|
346
347
|
if (s === null) {
|
|
347
|
-
const
|
|
348
|
-
return
|
|
349
|
-
nodes:
|
|
348
|
+
const a = e.nodes[0];
|
|
349
|
+
return a ? {
|
|
350
|
+
nodes: o,
|
|
350
351
|
edges: [
|
|
351
|
-
{ from: r.id, to:
|
|
352
|
+
{ from: r.id, to: a.id, condition: null },
|
|
352
353
|
...e.edges
|
|
353
354
|
]
|
|
354
|
-
} : { nodes:
|
|
355
|
+
} : { nodes: o, edges: [] };
|
|
355
356
|
}
|
|
356
357
|
const i = e.edges.find(
|
|
357
|
-
(
|
|
358
|
+
(a) => a.from === s && a.condition == null
|
|
358
359
|
);
|
|
359
360
|
if (!i)
|
|
360
361
|
return {
|
|
361
|
-
nodes:
|
|
362
|
+
nodes: o,
|
|
362
363
|
edges: [
|
|
363
364
|
...e.edges,
|
|
364
365
|
{ from: s, to: r.id, condition: null }
|
|
365
366
|
]
|
|
366
367
|
};
|
|
367
|
-
const n = e.edges.filter((
|
|
368
|
+
const n = e.edges.filter((a) => a !== i);
|
|
368
369
|
return {
|
|
369
|
-
nodes:
|
|
370
|
+
nodes: o,
|
|
370
371
|
edges: [
|
|
371
372
|
...n,
|
|
372
373
|
{ from: s, to: r.id, condition: null },
|
|
@@ -374,34 +375,34 @@ function F(e, s, r) {
|
|
|
374
375
|
]
|
|
375
376
|
};
|
|
376
377
|
}
|
|
377
|
-
function
|
|
378
|
+
function X(e, s) {
|
|
378
379
|
const r = e.edges.find(
|
|
379
|
-
(
|
|
380
|
-
),
|
|
381
|
-
(
|
|
380
|
+
(a) => a.to === s && a.condition == null
|
|
381
|
+
), o = e.edges.find(
|
|
382
|
+
(a) => a.from === s && a.condition == null
|
|
382
383
|
), i = e.edges.filter(
|
|
383
|
-
(
|
|
384
|
-
), n = r &&
|
|
384
|
+
(a) => a.from !== s && a.to !== s
|
|
385
|
+
), n = r && o ? [
|
|
385
386
|
...i,
|
|
386
|
-
{ from: r.from, to:
|
|
387
|
+
{ from: r.from, to: o.to, condition: null }
|
|
387
388
|
] : i;
|
|
388
389
|
return {
|
|
389
|
-
nodes: e.nodes.filter((
|
|
390
|
+
nodes: e.nodes.filter((a) => a.id !== s),
|
|
390
391
|
edges: n
|
|
391
392
|
};
|
|
392
393
|
}
|
|
393
|
-
function
|
|
394
|
+
function Ve(e, s, r) {
|
|
394
395
|
var h;
|
|
395
|
-
const
|
|
396
|
+
const o = G(e), i = o.findIndex((b) => b.id === s);
|
|
396
397
|
if (i === -1) return e;
|
|
397
398
|
const n = r === "up" ? i - 1 : i + 1;
|
|
398
|
-
if (n < 0 || n >=
|
|
399
|
-
const
|
|
400
|
-
if (!
|
|
401
|
-
const m =
|
|
402
|
-
return
|
|
399
|
+
if (n < 0 || n >= o.length) return e;
|
|
400
|
+
const a = o[i], p = o[n];
|
|
401
|
+
if (!a || !p) return e;
|
|
402
|
+
const m = X(X(e, a.id), p.id), c = r === "up" ? a : p, d = r === "up" ? p : a, l = ((h = o[Math.min(i, n) - 1]) == null ? void 0 : h.id) ?? null, v = O(m, l, c);
|
|
403
|
+
return O(v, c.id, d);
|
|
403
404
|
}
|
|
404
|
-
const
|
|
405
|
+
const Oe = /* @__PURE__ */ new Set([
|
|
405
406
|
"dateOfBirth",
|
|
406
407
|
"date_of_birth",
|
|
407
408
|
"firstName",
|
|
@@ -421,10 +422,10 @@ const Re = /* @__PURE__ */ new Set([
|
|
|
421
422
|
"address",
|
|
422
423
|
"id"
|
|
423
424
|
]);
|
|
424
|
-
function
|
|
425
|
-
return
|
|
425
|
+
function He(e) {
|
|
426
|
+
return Oe.has(e);
|
|
426
427
|
}
|
|
427
|
-
const
|
|
428
|
+
const B = {
|
|
428
429
|
add_delay: {
|
|
429
430
|
labelKey: "workflow.action.addDelay",
|
|
430
431
|
iconName: "Clock"
|
|
@@ -453,39 +454,39 @@ const D = {
|
|
|
453
454
|
labelKey: "workflow.action.webhook",
|
|
454
455
|
iconName: "Globe"
|
|
455
456
|
}
|
|
456
|
-
},
|
|
457
|
-
Clock:
|
|
458
|
-
Mail:
|
|
459
|
-
Smartphone:
|
|
460
|
-
CheckSquare:
|
|
461
|
-
MessageCircle:
|
|
462
|
-
UserCog:
|
|
463
|
-
Globe:
|
|
457
|
+
}, Ue = {
|
|
458
|
+
Clock: de,
|
|
459
|
+
Mail: ne,
|
|
460
|
+
Smartphone: le,
|
|
461
|
+
CheckSquare: ae,
|
|
462
|
+
MessageCircle: ie,
|
|
463
|
+
UserCog: ue,
|
|
464
|
+
Globe: oe
|
|
464
465
|
};
|
|
465
|
-
function
|
|
466
|
+
function Y({
|
|
466
467
|
iconName: e,
|
|
467
468
|
className: s
|
|
468
469
|
}) {
|
|
469
|
-
const r =
|
|
470
|
+
const r = Ue[e];
|
|
470
471
|
return /* @__PURE__ */ t(r, { "aria-hidden": "true", className: s ?? "ds:size-4" });
|
|
471
472
|
}
|
|
472
|
-
const
|
|
473
|
-
function
|
|
473
|
+
const Ge = 40, Ye = 60;
|
|
474
|
+
function Z(e, s) {
|
|
474
475
|
return e.length <= s ? e : `${e.slice(0, s - 1)}…`;
|
|
475
476
|
}
|
|
476
|
-
function
|
|
477
|
+
function Je(e, s) {
|
|
477
478
|
switch (e.kind) {
|
|
478
479
|
case "add_delay": {
|
|
479
|
-
const r = e.days ?? 0,
|
|
480
|
-
return { text:
|
|
480
|
+
const r = e.days ?? 0, o = s("workflow.delay.summary", { count: r });
|
|
481
|
+
return { text: o, full: o };
|
|
481
482
|
}
|
|
482
483
|
case "send_email": {
|
|
483
484
|
const r = e.subject ?? "", i = `${s("workflow.action.sendEmail")}: ${r}`;
|
|
484
|
-
return { text:
|
|
485
|
+
return { text: Z(i, Ge), full: i };
|
|
485
486
|
}
|
|
486
487
|
case "send_sms": {
|
|
487
488
|
const r = e.body ?? "";
|
|
488
|
-
return { text:
|
|
489
|
+
return { text: Z(r, Ye), full: r };
|
|
489
490
|
}
|
|
490
491
|
case "create_task": {
|
|
491
492
|
const r = e.title ?? "";
|
|
@@ -499,7 +500,7 @@ function Oe(e, s) {
|
|
|
499
500
|
return null;
|
|
500
501
|
}
|
|
501
502
|
}
|
|
502
|
-
const
|
|
503
|
+
const ee = [
|
|
503
504
|
"ds:flex ds:flex-col",
|
|
504
505
|
"ds:w-full",
|
|
505
506
|
"ds:text-start",
|
|
@@ -512,7 +513,7 @@ const Q = [
|
|
|
512
513
|
"ds:border-inline-start-[var(--border-width-hairline)]",
|
|
513
514
|
"ds:border-solid",
|
|
514
515
|
"ds:border-[color:var(--border)]"
|
|
515
|
-
].join(" "),
|
|
516
|
+
].join(" "), Qe = [
|
|
516
517
|
"ds:inline-flex ds:items-center ds:justify-center ds:gap-[var(--spacing-xs)]",
|
|
517
518
|
"ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
|
|
518
519
|
"ds:rounded-[var(--radius-full)]",
|
|
@@ -527,21 +528,21 @@ const Q = [
|
|
|
527
528
|
"ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
528
529
|
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
529
530
|
"ds:disabled:opacity-50 ds:disabled:cursor-not-allowed"
|
|
530
|
-
].join(" "),
|
|
531
|
+
].join(" "), Xe = [
|
|
531
532
|
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
532
533
|
"ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
533
534
|
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
534
535
|
"ds:rounded-[var(--radius-lg)]"
|
|
535
|
-
].join(" "),
|
|
536
|
-
|
|
536
|
+
].join(" "), Ze = Object.keys(
|
|
537
|
+
B
|
|
537
538
|
);
|
|
538
|
-
let
|
|
539
|
-
function
|
|
540
|
-
|
|
539
|
+
let te = 0;
|
|
540
|
+
function et() {
|
|
541
|
+
te += 1;
|
|
541
542
|
const e = Math.random().toString(36).slice(2, 8);
|
|
542
|
-
return `wf-node-${Date.now()}-${
|
|
543
|
+
return `wf-node-${Date.now()}-${te}-${e}`;
|
|
543
544
|
}
|
|
544
|
-
function
|
|
545
|
+
function tt(e) {
|
|
545
546
|
switch (e) {
|
|
546
547
|
case "add_delay":
|
|
547
548
|
return { kind: "add_delay", days: 1 };
|
|
@@ -564,68 +565,69 @@ function Je(e) {
|
|
|
564
565
|
return { kind: "webhook", url: "", method: "POST" };
|
|
565
566
|
}
|
|
566
567
|
}
|
|
567
|
-
function
|
|
568
|
-
const s =
|
|
569
|
-
s.current =
|
|
568
|
+
function st(e = 0) {
|
|
569
|
+
const s = D(e), r = W((o) => {
|
|
570
|
+
s.current = o;
|
|
570
571
|
}, []);
|
|
571
572
|
return [s, r];
|
|
572
573
|
}
|
|
573
|
-
function
|
|
574
|
+
function rt({
|
|
574
575
|
node: e,
|
|
575
576
|
position: s,
|
|
576
577
|
total: r,
|
|
577
|
-
disabled:
|
|
578
|
+
disabled: o,
|
|
578
579
|
onEdit: i,
|
|
579
580
|
onDelete: n,
|
|
580
|
-
onMove:
|
|
581
|
+
onMove: a,
|
|
581
582
|
registerRef: p
|
|
582
583
|
}) {
|
|
583
|
-
const { t: m } =
|
|
584
|
-
(
|
|
585
|
-
var
|
|
586
|
-
const
|
|
584
|
+
const { t: m } = S(), c = B[e.type], d = D(null), [l, v] = st(0), h = W(
|
|
585
|
+
(g) => {
|
|
586
|
+
var T, E;
|
|
587
|
+
const z = (T = d.current) == null ? void 0 : T.querySelectorAll(
|
|
587
588
|
"button[data-wf-control]:not([disabled])"
|
|
588
589
|
);
|
|
589
|
-
if (!
|
|
590
|
-
const
|
|
591
|
-
(
|
|
590
|
+
if (!z || z.length === 0) return;
|
|
591
|
+
const P = Math.max(0, Math.min(g, z.length - 1));
|
|
592
|
+
(E = z[P]) == null || E.focus(), v(P);
|
|
592
593
|
},
|
|
593
|
-
[
|
|
594
|
-
),
|
|
595
|
-
|
|
596
|
-
}, x = (
|
|
597
|
-
|
|
598
|
-
},
|
|
594
|
+
[v]
|
|
595
|
+
), b = (g) => {
|
|
596
|
+
g.target === g.currentTarget && (g.key === "ArrowRight" || g.key === "ArrowDown") && (g.preventDefault(), h(0));
|
|
597
|
+
}, x = (g) => {
|
|
598
|
+
g.key === "ArrowRight" ? (g.preventDefault(), h(l.current + 1)) : g.key === "ArrowLeft" ? (g.preventDefault(), h(l.current - 1)) : g.key === "Home" ? (g.preventDefault(), h(0)) : g.key === "End" && (g.preventDefault(), h(Number.POSITIVE_INFINITY));
|
|
599
|
+
}, w = Je(e.settings, m), y = m(c.labelKey), j = s > 0, I = s < r - 1, q = m("workflow.editor.position", {
|
|
599
600
|
current: s + 1,
|
|
600
601
|
total: r
|
|
601
|
-
}),
|
|
602
|
-
type:
|
|
602
|
+
}), A = m("workflow.editor.nodeAriaLabel", {
|
|
603
|
+
type: y,
|
|
603
604
|
current: s + 1,
|
|
604
605
|
total: r
|
|
605
606
|
});
|
|
606
607
|
return /* @__PURE__ */ t(
|
|
607
608
|
"div",
|
|
608
609
|
{
|
|
609
|
-
ref: (
|
|
610
|
-
tabIndex:
|
|
611
|
-
onKeyDown:
|
|
612
|
-
"aria-label":
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
610
|
+
ref: (g) => p(e.id, g),
|
|
611
|
+
tabIndex: o ? -1 : 0,
|
|
612
|
+
onKeyDown: b,
|
|
613
|
+
"aria-label": A,
|
|
614
|
+
"data-node-id": e.id,
|
|
615
|
+
className: Xe,
|
|
616
|
+
children: /* @__PURE__ */ u(C, { variant: "outlined", children: [
|
|
617
|
+
/* @__PURE__ */ t(C.Header, { className: "ds:pb-[var(--spacing-sm)]", children: /* @__PURE__ */ u("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
616
618
|
/* @__PURE__ */ t(
|
|
617
619
|
"span",
|
|
618
620
|
{
|
|
619
621
|
"aria-hidden": "true",
|
|
620
622
|
className: "ds:inline-flex ds:size-8 ds:shrink-0 ds:items-center ds:justify-center ds:rounded-[var(--radius-sm)] ds:bg-[color:var(--muted)]/20 ds:text-[color:var(--foreground)]",
|
|
621
|
-
children: /* @__PURE__ */ t(
|
|
623
|
+
children: /* @__PURE__ */ t(Y, { iconName: c.iconName, className: "ds:size-4" })
|
|
622
624
|
}
|
|
623
625
|
),
|
|
624
|
-
/* @__PURE__ */
|
|
625
|
-
/* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:text-[color:var(--foreground)] ds:[overflow-wrap:anywhere] ds:break-words", children:
|
|
626
|
-
/* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-xs)] ds:text-[color:var(--muted-foreground)]", children:
|
|
626
|
+
/* @__PURE__ */ u("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col", children: [
|
|
627
|
+
/* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:text-[color:var(--foreground)] ds:[overflow-wrap:anywhere] ds:break-words", children: y }),
|
|
628
|
+
/* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-xs)] ds:text-[color:var(--muted-foreground)]", children: q })
|
|
627
629
|
] }),
|
|
628
|
-
/* @__PURE__ */
|
|
630
|
+
/* @__PURE__ */ u(
|
|
629
631
|
"div",
|
|
630
632
|
{
|
|
631
633
|
ref: d,
|
|
@@ -636,10 +638,10 @@ function Xe({
|
|
|
636
638
|
M,
|
|
637
639
|
{
|
|
638
640
|
"data-wf-control": "edit",
|
|
639
|
-
icon: /* @__PURE__ */ t(
|
|
641
|
+
icon: /* @__PURE__ */ t(U, {}),
|
|
640
642
|
size: "sm",
|
|
641
643
|
intent: "ghost",
|
|
642
|
-
disabled:
|
|
644
|
+
disabled: o,
|
|
643
645
|
tabIndex: -1,
|
|
644
646
|
"aria-label": m("workflow.editor.editAction"),
|
|
645
647
|
onClick: () => i(e.id)
|
|
@@ -649,36 +651,36 @@ function Xe({
|
|
|
649
651
|
M,
|
|
650
652
|
{
|
|
651
653
|
"data-wf-control": "up",
|
|
652
|
-
icon: /* @__PURE__ */ t(
|
|
654
|
+
icon: /* @__PURE__ */ t(Ne, {}),
|
|
653
655
|
size: "sm",
|
|
654
656
|
intent: "ghost",
|
|
655
|
-
disabled:
|
|
657
|
+
disabled: o || !j,
|
|
656
658
|
tabIndex: -1,
|
|
657
659
|
"aria-label": m("workflow.editor.moveUp"),
|
|
658
|
-
onClick: () =>
|
|
660
|
+
onClick: () => a(e.id, "up")
|
|
659
661
|
}
|
|
660
662
|
),
|
|
661
663
|
/* @__PURE__ */ t(
|
|
662
664
|
M,
|
|
663
665
|
{
|
|
664
666
|
"data-wf-control": "down",
|
|
665
|
-
icon: /* @__PURE__ */ t(
|
|
667
|
+
icon: /* @__PURE__ */ t(Ce, {}),
|
|
666
668
|
size: "sm",
|
|
667
669
|
intent: "ghost",
|
|
668
|
-
disabled:
|
|
670
|
+
disabled: o || !I,
|
|
669
671
|
tabIndex: -1,
|
|
670
672
|
"aria-label": m("workflow.editor.moveDown"),
|
|
671
|
-
onClick: () =>
|
|
673
|
+
onClick: () => a(e.id, "down")
|
|
672
674
|
}
|
|
673
675
|
),
|
|
674
676
|
n ? /* @__PURE__ */ t(
|
|
675
677
|
M,
|
|
676
678
|
{
|
|
677
679
|
"data-wf-control": "delete",
|
|
678
|
-
icon: /* @__PURE__ */ t(
|
|
680
|
+
icon: /* @__PURE__ */ t(ce, {}),
|
|
679
681
|
size: "sm",
|
|
680
682
|
intent: "destructive",
|
|
681
|
-
disabled:
|
|
683
|
+
disabled: o,
|
|
682
684
|
tabIndex: -1,
|
|
683
685
|
"aria-label": m("workflow.editor.deleteAction"),
|
|
684
686
|
onClick: () => n(e.id)
|
|
@@ -688,16 +690,16 @@ function Xe({
|
|
|
688
690
|
}
|
|
689
691
|
)
|
|
690
692
|
] }) }),
|
|
691
|
-
|
|
693
|
+
w ? /* @__PURE__ */ t(C.Body, { className: "ds:pt-0", children: /* @__PURE__ */ t(
|
|
692
694
|
"p",
|
|
693
695
|
{
|
|
694
696
|
className: "ds:text-[length:var(--font-size-sm)] ds:text-[color:var(--muted-foreground)] ds:[overflow-wrap:anywhere] ds:break-words",
|
|
695
|
-
title:
|
|
696
|
-
children:
|
|
697
|
+
title: w.full,
|
|
698
|
+
children: w.text
|
|
697
699
|
}
|
|
698
700
|
) }) : null,
|
|
699
|
-
e.settings.kind === "update_patient_field" &&
|
|
700
|
-
|
|
701
|
+
e.settings.kind === "update_patient_field" && He(e.settings.fieldId) ? /* @__PURE__ */ t(C.Body, { className: "ds:pt-0", children: /* @__PURE__ */ t(
|
|
702
|
+
V,
|
|
701
703
|
{
|
|
702
704
|
variant: "error",
|
|
703
705
|
"data-testid": "workflow-editor-invalid-field",
|
|
@@ -708,135 +710,145 @@ function Xe({
|
|
|
708
710
|
}
|
|
709
711
|
);
|
|
710
712
|
}
|
|
711
|
-
function
|
|
713
|
+
function se({
|
|
712
714
|
availableActions: e,
|
|
713
715
|
onSelect: s,
|
|
714
716
|
disabled: r,
|
|
715
|
-
label:
|
|
717
|
+
label: o,
|
|
716
718
|
compact: i = !0
|
|
717
719
|
}) {
|
|
718
|
-
const { t: n } =
|
|
719
|
-
return /* @__PURE__ */
|
|
720
|
-
/* @__PURE__ */ t(N.Trigger, { asChild: !0, children: /* @__PURE__ */
|
|
720
|
+
const { t: n } = S();
|
|
721
|
+
return /* @__PURE__ */ u(N.Root, { children: [
|
|
722
|
+
/* @__PURE__ */ t(N.Trigger, { asChild: !0, children: /* @__PURE__ */ u(
|
|
721
723
|
"button",
|
|
722
724
|
{
|
|
723
725
|
type: "button",
|
|
724
726
|
disabled: r,
|
|
725
|
-
"aria-label":
|
|
726
|
-
className:
|
|
727
|
+
"aria-label": o,
|
|
728
|
+
className: Qe,
|
|
727
729
|
children: [
|
|
728
|
-
/* @__PURE__ */ t(
|
|
729
|
-
i ? null : /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)]", children:
|
|
730
|
+
/* @__PURE__ */ t(re, { "aria-hidden": "true", className: "ds:size-4" }),
|
|
731
|
+
i ? null : /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)]", children: o })
|
|
730
732
|
]
|
|
731
733
|
}
|
|
732
734
|
) }),
|
|
733
|
-
/* @__PURE__ */
|
|
735
|
+
/* @__PURE__ */ u(N.Content, { align: "start", sideOffset: 6, children: [
|
|
734
736
|
/* @__PURE__ */ t(N.Label, { children: n("workflow.editor.addAction") }),
|
|
735
|
-
e.map((
|
|
736
|
-
const p =
|
|
737
|
+
e.map((a) => {
|
|
738
|
+
const p = B[a];
|
|
737
739
|
return /* @__PURE__ */ t(
|
|
738
740
|
N.Item,
|
|
739
741
|
{
|
|
740
|
-
startIcon: /* @__PURE__ */ t(
|
|
741
|
-
onSelect: () => s(
|
|
742
|
+
startIcon: /* @__PURE__ */ t(Y, { iconName: p.iconName }),
|
|
743
|
+
onSelect: () => s(a),
|
|
742
744
|
children: n(p.labelKey)
|
|
743
745
|
},
|
|
744
|
-
|
|
746
|
+
a
|
|
745
747
|
);
|
|
746
748
|
})
|
|
747
749
|
] })
|
|
748
750
|
] });
|
|
749
751
|
}
|
|
750
|
-
function
|
|
751
|
-
const { t:
|
|
752
|
-
return /* @__PURE__ */ t(
|
|
753
|
-
/* @__PURE__ */
|
|
754
|
-
/* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:text-[color:var(--foreground)]", children:
|
|
752
|
+
function ot({ criteria: e, onEdit: s, disabled: r }) {
|
|
753
|
+
const { t: o } = S(), i = (e == null ? void 0 : e.ruleCount) ?? 0, n = i > 0 ? o("workflow.editor.criteriaCount", { count: i }) : o("workflow.editor.noCriteria");
|
|
754
|
+
return /* @__PURE__ */ t(C, { variant: "outlined", children: /* @__PURE__ */ t(C.Header, { className: "ds:pb-[var(--spacing-sm)]", children: /* @__PURE__ */ u("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
755
|
+
/* @__PURE__ */ u("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col", children: [
|
|
756
|
+
/* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:text-[color:var(--foreground)]", children: o("workflow.editor.enrollmentCriteria") }),
|
|
755
757
|
/* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)] ds:text-[color:var(--muted-foreground)] ds:[overflow-wrap:anywhere] ds:break-words", children: (e == null ? void 0 : e.summary) ?? n })
|
|
756
758
|
] }),
|
|
757
759
|
s ? /* @__PURE__ */ t(
|
|
758
760
|
M,
|
|
759
761
|
{
|
|
760
|
-
icon: /* @__PURE__ */ t(
|
|
762
|
+
icon: /* @__PURE__ */ t(U, {}),
|
|
761
763
|
size: "sm",
|
|
762
764
|
intent: "ghost",
|
|
763
765
|
disabled: r,
|
|
764
|
-
"aria-label":
|
|
766
|
+
"aria-label": o("workflow.editor.editCriteria"),
|
|
765
767
|
onClick: s
|
|
766
768
|
}
|
|
767
769
|
) : null
|
|
768
770
|
] }) }) });
|
|
769
771
|
}
|
|
770
|
-
const
|
|
772
|
+
const at = H(
|
|
771
773
|
function({
|
|
772
774
|
graph: s,
|
|
773
775
|
onChange: r,
|
|
774
|
-
enrollmentCriteria:
|
|
776
|
+
enrollmentCriteria: o,
|
|
775
777
|
onEditEnrollmentCriteria: i,
|
|
776
778
|
isActive: n = !1,
|
|
777
|
-
availableActions:
|
|
779
|
+
availableActions: a,
|
|
778
780
|
onEditNode: p,
|
|
779
781
|
onDeleteNode: m,
|
|
780
|
-
className:
|
|
782
|
+
className: c
|
|
781
783
|
}, d) {
|
|
782
|
-
const { t: l } =
|
|
784
|
+
const { t: l } = S(), v = a ?? Ze, h = F(() => G(s), [s]), b = D(/* @__PURE__ */ new Map()), x = D(null), w = W(
|
|
783
785
|
(f) => {
|
|
784
786
|
n || r(f);
|
|
785
787
|
},
|
|
786
788
|
[n, r]
|
|
787
|
-
),
|
|
788
|
-
(f,
|
|
789
|
-
|
|
789
|
+
), y = W(
|
|
790
|
+
(f, k) => {
|
|
791
|
+
k ? b.current.set(f, k) : b.current.delete(f);
|
|
790
792
|
},
|
|
791
793
|
[]
|
|
792
|
-
);
|
|
793
|
-
|
|
794
|
+
), [j, I] = we(null), q = D(null);
|
|
795
|
+
q.current = j, ve(
|
|
796
|
+
d,
|
|
797
|
+
() => ({
|
|
798
|
+
getTotalSteps: () => h.length,
|
|
799
|
+
getCurrentStep: () => q.current,
|
|
800
|
+
gotoStep: (f) => {
|
|
801
|
+
const k = b.current.get(f);
|
|
802
|
+
k && (k.focus(), I(f));
|
|
803
|
+
}
|
|
804
|
+
}),
|
|
805
|
+
[h.length]
|
|
806
|
+
), ge(() => {
|
|
794
807
|
const f = x.current;
|
|
795
808
|
if (!f) return;
|
|
796
|
-
const
|
|
797
|
-
|
|
809
|
+
const k = b.current.get(f);
|
|
810
|
+
k && (k.focus(), x.current = null);
|
|
798
811
|
});
|
|
799
|
-
const
|
|
812
|
+
const A = (f, k) => {
|
|
800
813
|
if (n) return;
|
|
801
|
-
const
|
|
802
|
-
id:
|
|
803
|
-
type:
|
|
804
|
-
settings:
|
|
814
|
+
const $ = {
|
|
815
|
+
id: et(),
|
|
816
|
+
type: k,
|
|
817
|
+
settings: tt(k)
|
|
805
818
|
};
|
|
806
|
-
x.current =
|
|
807
|
-
},
|
|
808
|
-
n || (x.current = f,
|
|
809
|
-
},
|
|
819
|
+
x.current = $.id, w(O(s, f, $));
|
|
820
|
+
}, g = (f, k) => {
|
|
821
|
+
n || (x.current = f, w(Ve(s, f, k)));
|
|
822
|
+
}, z = (f) => {
|
|
810
823
|
n || !p || p(f);
|
|
811
|
-
},
|
|
824
|
+
}, P = (f) => {
|
|
812
825
|
n || !m || m(f);
|
|
813
|
-
},
|
|
826
|
+
}, T = () => n ? /* @__PURE__ */ t(V, { variant: "warning", children: /* @__PURE__ */ t(V.Title, { as: "p", children: l("workflow.editor.activeLock") }) }) : null, E = () => o || i ? /* @__PURE__ */ u(he, { children: [
|
|
814
827
|
/* @__PURE__ */ t(
|
|
815
|
-
|
|
828
|
+
ot,
|
|
816
829
|
{
|
|
817
|
-
criteria:
|
|
830
|
+
criteria: o,
|
|
818
831
|
onEdit: i,
|
|
819
832
|
disabled: n
|
|
820
833
|
}
|
|
821
834
|
),
|
|
822
835
|
/* @__PURE__ */ t("span", { "aria-hidden": "true", className: R })
|
|
823
|
-
] }) : null,
|
|
824
|
-
return
|
|
836
|
+
] }) : null, J = h.length;
|
|
837
|
+
return J === 0 ? /* @__PURE__ */ u(
|
|
825
838
|
"div",
|
|
826
839
|
{
|
|
827
|
-
|
|
828
|
-
className: [Q, u].filter(Boolean).join(" "),
|
|
840
|
+
className: [ee, c].filter(Boolean).join(" "),
|
|
829
841
|
children: [
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
/* @__PURE__ */
|
|
833
|
-
|
|
842
|
+
T(),
|
|
843
|
+
E(),
|
|
844
|
+
/* @__PURE__ */ u(
|
|
845
|
+
L,
|
|
834
846
|
{
|
|
835
847
|
variant: "first-use",
|
|
836
848
|
title: l("workflow.editor.addFirstAction"),
|
|
837
849
|
description: l("workflow.editor.empty"),
|
|
838
850
|
children: [
|
|
839
|
-
/* @__PURE__ */ t(
|
|
851
|
+
/* @__PURE__ */ t(L.Illustration, { children: /* @__PURE__ */ u(
|
|
840
852
|
"svg",
|
|
841
853
|
{
|
|
842
854
|
viewBox: "0 0 120 120",
|
|
@@ -880,23 +892,23 @@ const et = P(
|
|
|
880
892
|
]
|
|
881
893
|
}
|
|
882
894
|
) }),
|
|
883
|
-
/* @__PURE__ */ t(
|
|
884
|
-
/* @__PURE__ */ t(
|
|
885
|
-
/* @__PURE__ */ t(
|
|
886
|
-
/* @__PURE__ */ t(N.Trigger, { asChild: !0, children: /* @__PURE__ */
|
|
887
|
-
/* @__PURE__ */ t(
|
|
895
|
+
/* @__PURE__ */ t(L.Title, { children: l("workflow.editor.addFirstAction") }),
|
|
896
|
+
/* @__PURE__ */ t(L.Description, { children: l("workflow.editor.empty") }),
|
|
897
|
+
/* @__PURE__ */ t(L.Actions, { children: /* @__PURE__ */ u(N.Root, { children: [
|
|
898
|
+
/* @__PURE__ */ t(N.Trigger, { asChild: !0, children: /* @__PURE__ */ u(xe, { intent: "primary", disabled: n, children: [
|
|
899
|
+
/* @__PURE__ */ t(re, { "aria-hidden": "true", className: "ds:size-4" }),
|
|
888
900
|
/* @__PURE__ */ t("span", { children: l("workflow.editor.addFirstAction") })
|
|
889
901
|
] }) }),
|
|
890
|
-
/* @__PURE__ */
|
|
902
|
+
/* @__PURE__ */ u(N.Content, { align: "center", sideOffset: 6, children: [
|
|
891
903
|
/* @__PURE__ */ t(N.Label, { children: l("workflow.editor.addAction") }),
|
|
892
|
-
|
|
893
|
-
const
|
|
904
|
+
v.map((f) => {
|
|
905
|
+
const k = B[f];
|
|
894
906
|
return /* @__PURE__ */ t(
|
|
895
907
|
N.Item,
|
|
896
908
|
{
|
|
897
|
-
startIcon: /* @__PURE__ */ t(
|
|
898
|
-
onSelect: () =>
|
|
899
|
-
children: l(
|
|
909
|
+
startIcon: /* @__PURE__ */ t(Y, { iconName: k.iconName }),
|
|
910
|
+
onSelect: () => A(null, f),
|
|
911
|
+
children: l(k.labelKey)
|
|
900
912
|
},
|
|
901
913
|
f
|
|
902
914
|
);
|
|
@@ -908,22 +920,21 @@ const et = P(
|
|
|
908
920
|
)
|
|
909
921
|
]
|
|
910
922
|
}
|
|
911
|
-
) : /* @__PURE__ */
|
|
923
|
+
) : /* @__PURE__ */ u(
|
|
912
924
|
"div",
|
|
913
925
|
{
|
|
914
|
-
ref: d,
|
|
915
926
|
"data-component": "workflow-editor",
|
|
916
|
-
className: [
|
|
927
|
+
className: [ee, c].filter(Boolean).join(" "),
|
|
917
928
|
children: [
|
|
918
|
-
|
|
919
|
-
|
|
929
|
+
T(),
|
|
930
|
+
E(),
|
|
920
931
|
/* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
|
|
921
|
-
|
|
932
|
+
se,
|
|
922
933
|
{
|
|
923
|
-
availableActions:
|
|
934
|
+
availableActions: v,
|
|
924
935
|
disabled: n,
|
|
925
936
|
label: l("workflow.editor.addAction"),
|
|
926
|
-
onSelect: (f) =>
|
|
937
|
+
onSelect: (f) => A(null, f)
|
|
927
938
|
}
|
|
928
939
|
) }),
|
|
929
940
|
/* @__PURE__ */ t(
|
|
@@ -932,29 +943,29 @@ const et = P(
|
|
|
932
943
|
role: "list",
|
|
933
944
|
"aria-label": l("workflow.editor.pipeline"),
|
|
934
945
|
className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col",
|
|
935
|
-
children: h.map((f,
|
|
946
|
+
children: h.map((f, k) => /* @__PURE__ */ u("li", { className: "ds:list-none ds:flex ds:flex-col", children: [
|
|
936
947
|
/* @__PURE__ */ t("span", { "aria-hidden": "true", className: R }),
|
|
937
948
|
/* @__PURE__ */ t(
|
|
938
|
-
|
|
949
|
+
rt,
|
|
939
950
|
{
|
|
940
951
|
node: f,
|
|
941
|
-
position:
|
|
942
|
-
total:
|
|
952
|
+
position: k,
|
|
953
|
+
total: J,
|
|
943
954
|
disabled: n,
|
|
944
|
-
onEdit: p ?
|
|
945
|
-
onDelete: m ?
|
|
946
|
-
onMove:
|
|
947
|
-
registerRef:
|
|
955
|
+
onEdit: p ? z : void 0,
|
|
956
|
+
onDelete: m ? P : void 0,
|
|
957
|
+
onMove: g,
|
|
958
|
+
registerRef: y
|
|
948
959
|
}
|
|
949
960
|
),
|
|
950
961
|
/* @__PURE__ */ t("span", { "aria-hidden": "true", className: R }),
|
|
951
962
|
/* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
|
|
952
|
-
|
|
963
|
+
se,
|
|
953
964
|
{
|
|
954
|
-
availableActions:
|
|
965
|
+
availableActions: v,
|
|
955
966
|
disabled: n,
|
|
956
967
|
label: l("workflow.editor.addActionAfter"),
|
|
957
|
-
onSelect: (
|
|
968
|
+
onSelect: ($) => A(f.id, $)
|
|
958
969
|
}
|
|
959
970
|
) })
|
|
960
971
|
] }, f.id))
|
|
@@ -965,16 +976,98 @@ const et = P(
|
|
|
965
976
|
);
|
|
966
977
|
}
|
|
967
978
|
);
|
|
968
|
-
|
|
969
|
-
const
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
979
|
+
at.displayName = "WorkflowEditor";
|
|
980
|
+
const Kt = {
|
|
981
|
+
id: "workflow-card",
|
|
982
|
+
capabilities: ["navigate"],
|
|
983
|
+
state: {},
|
|
984
|
+
actions: {},
|
|
985
|
+
domHooks: {
|
|
986
|
+
root: {
|
|
987
|
+
attr: "data-component",
|
|
988
|
+
value: "workflow-card",
|
|
989
|
+
description: "Marks a Workflow summary card. Presentational — actions are owned by the host pattern."
|
|
990
|
+
},
|
|
991
|
+
instanceId: {
|
|
992
|
+
attr: "data-component-id",
|
|
993
|
+
sourceProp: "id",
|
|
994
|
+
description: "Sourced from the id prop."
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
}, Bt = {
|
|
998
|
+
id: "workflow-map",
|
|
999
|
+
capabilities: ["navigate"],
|
|
1000
|
+
state: {},
|
|
1001
|
+
actions: {},
|
|
1002
|
+
domHooks: {
|
|
1003
|
+
root: {
|
|
1004
|
+
attr: "data-component",
|
|
1005
|
+
value: "workflow-map",
|
|
1006
|
+
description: "Marks a Workflow map (linear visualisation). Presentational."
|
|
1007
|
+
},
|
|
1008
|
+
instanceId: {
|
|
1009
|
+
attr: "data-component-id",
|
|
1010
|
+
sourceProp: "id",
|
|
1011
|
+
description: "Sourced from the id prop."
|
|
1012
|
+
},
|
|
1013
|
+
item: {
|
|
1014
|
+
attr: "data-node-id",
|
|
1015
|
+
description: "Stable opaque workflow node id emitted on each step."
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
}, qt = {
|
|
1019
|
+
id: "workflow-editor",
|
|
1020
|
+
capabilities: ["navigate", "expand"],
|
|
1021
|
+
state: {
|
|
1022
|
+
totalSteps: {
|
|
1023
|
+
type: "number",
|
|
1024
|
+
descriptionKey: "ui.agent.workflowEditor.state.totalSteps",
|
|
1025
|
+
description: "Total number of nodes currently in the workflow graph.",
|
|
1026
|
+
read: (e) => e.getTotalSteps()
|
|
1027
|
+
},
|
|
1028
|
+
currentStep: {
|
|
1029
|
+
type: "string | null",
|
|
1030
|
+
descriptionKey: "ui.agent.workflowEditor.state.currentStep",
|
|
1031
|
+
description: "Opaque node id of the currently-focused step, or null.",
|
|
1032
|
+
read: (e) => e.getCurrentStep()
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
actions: {
|
|
1036
|
+
goto_step: {
|
|
1037
|
+
safety: "read",
|
|
1038
|
+
argsType: "{ id: string }",
|
|
1039
|
+
descriptionKey: "ui.agent.workflowEditor.actions.gotoStep",
|
|
1040
|
+
description: "Focus a node by its opaque id.",
|
|
1041
|
+
invoke: (e, s) => {
|
|
1042
|
+
e.gotoStep(s.id);
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
},
|
|
1046
|
+
domHooks: {
|
|
1047
|
+
root: {
|
|
1048
|
+
attr: "data-component",
|
|
1049
|
+
value: "workflow-editor",
|
|
1050
|
+
description: "Marks the WorkflowEditor surface."
|
|
1051
|
+
},
|
|
1052
|
+
instanceId: {
|
|
1053
|
+
attr: "data-component-id",
|
|
1054
|
+
sourceProp: "id",
|
|
1055
|
+
description: "Sourced from the id prop."
|
|
1056
|
+
},
|
|
1057
|
+
item: {
|
|
1058
|
+
attr: "data-node-id",
|
|
1059
|
+
description: "Stable opaque workflow node id emitted on each node card."
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
}, nt = {
|
|
1063
|
+
Clock: de,
|
|
1064
|
+
Mail: ne,
|
|
1065
|
+
Smartphone: le,
|
|
1066
|
+
CheckSquare: ae,
|
|
1067
|
+
MessageCircle: ie,
|
|
1068
|
+
UserCog: ue,
|
|
1069
|
+
Globe: oe
|
|
1070
|
+
}, dt = K(
|
|
978
1071
|
// The map is a list of steps — never a list of meaningful controls.
|
|
979
1072
|
// Layout via logical properties only; connectors are sibling spacers
|
|
980
1073
|
// styled with border-inline-start / border-block-end (see node/spacer).
|
|
@@ -995,14 +1088,14 @@ const tt = {
|
|
|
995
1088
|
compact: !1
|
|
996
1089
|
}
|
|
997
1090
|
}
|
|
998
|
-
),
|
|
1091
|
+
), fe = K("ds:flex", {
|
|
999
1092
|
variants: {
|
|
1000
1093
|
orientation: {
|
|
1001
1094
|
vertical: "ds:flex-col ds:items-stretch",
|
|
1002
1095
|
horizontal: "ds:flex-row ds:items-center"
|
|
1003
1096
|
}
|
|
1004
1097
|
}
|
|
1005
|
-
}),
|
|
1098
|
+
}), me = K(
|
|
1006
1099
|
[
|
|
1007
1100
|
"ds:relative ds:flex ds:items-center",
|
|
1008
1101
|
"ds:gap-[var(--spacing-sm)]",
|
|
@@ -1047,7 +1140,7 @@ const tt = {
|
|
|
1047
1140
|
}
|
|
1048
1141
|
}
|
|
1049
1142
|
}
|
|
1050
|
-
),
|
|
1143
|
+
), pe = K(
|
|
1051
1144
|
[
|
|
1052
1145
|
"ds:block",
|
|
1053
1146
|
"ds:border-solid",
|
|
@@ -1100,7 +1193,7 @@ const tt = {
|
|
|
1100
1193
|
]
|
|
1101
1194
|
}
|
|
1102
1195
|
);
|
|
1103
|
-
function
|
|
1196
|
+
function it(e) {
|
|
1104
1197
|
switch (e.kind) {
|
|
1105
1198
|
case "add_delay":
|
|
1106
1199
|
return typeof e.days == "number" && e.days > 0 ? {
|
|
@@ -1129,57 +1222,58 @@ function rt(e) {
|
|
|
1129
1222
|
return;
|
|
1130
1223
|
}
|
|
1131
1224
|
}
|
|
1132
|
-
function
|
|
1225
|
+
function lt(e, s) {
|
|
1133
1226
|
if (e !== void 0)
|
|
1134
1227
|
return typeof e == "string" ? e : s(e.key, e.options);
|
|
1135
1228
|
}
|
|
1136
|
-
const
|
|
1229
|
+
const ct = H(
|
|
1137
1230
|
function({
|
|
1138
1231
|
graph: s,
|
|
1139
1232
|
activeNodeId: r,
|
|
1140
|
-
onNodeClick:
|
|
1233
|
+
onNodeClick: o,
|
|
1141
1234
|
enrollmentCriteria: i,
|
|
1142
1235
|
orientation: n = "vertical",
|
|
1143
|
-
compact:
|
|
1236
|
+
compact: a = !1,
|
|
1144
1237
|
className: p,
|
|
1145
1238
|
"aria-label": m,
|
|
1146
|
-
...
|
|
1239
|
+
...c
|
|
1147
1240
|
}, d) {
|
|
1148
|
-
const { t: l } =
|
|
1149
|
-
() => r ?
|
|
1150
|
-
[
|
|
1151
|
-
),
|
|
1152
|
-
return /* @__PURE__ */
|
|
1241
|
+
const { t: l } = S(), v = F(() => G(s), [s]), h = F(
|
|
1242
|
+
() => r ? v.findIndex((w) => w.id === r) : -1,
|
|
1243
|
+
[v, r]
|
|
1244
|
+
), b = m ?? l("workflow.map.label", { count: v.length }), x = (w) => h === -1 ? "neutral" : w === h ? "current" : w < h ? "completed" : "pending";
|
|
1245
|
+
return /* @__PURE__ */ u(
|
|
1153
1246
|
"ol",
|
|
1154
1247
|
{
|
|
1155
1248
|
ref: d,
|
|
1156
1249
|
role: "list",
|
|
1157
|
-
"aria-label":
|
|
1250
|
+
"aria-label": b,
|
|
1158
1251
|
"data-component": "workflow-map",
|
|
1159
|
-
|
|
1160
|
-
|
|
1252
|
+
"data-component-id": c.id,
|
|
1253
|
+
className: dt({ orientation: n, compact: a, className: p }),
|
|
1254
|
+
...c,
|
|
1161
1255
|
children: [
|
|
1162
1256
|
i ? /* @__PURE__ */ t(
|
|
1163
|
-
|
|
1257
|
+
ft,
|
|
1164
1258
|
{
|
|
1165
1259
|
orientation: n,
|
|
1166
|
-
compact:
|
|
1260
|
+
compact: a,
|
|
1167
1261
|
criteria: i
|
|
1168
1262
|
}
|
|
1169
1263
|
) : null,
|
|
1170
|
-
|
|
1171
|
-
const j = x(
|
|
1264
|
+
v.map((w, y) => {
|
|
1265
|
+
const j = x(y), I = y === v.length - 1;
|
|
1172
1266
|
return /* @__PURE__ */ t(
|
|
1173
|
-
|
|
1267
|
+
ut,
|
|
1174
1268
|
{
|
|
1175
|
-
node:
|
|
1269
|
+
node: w,
|
|
1176
1270
|
state: j,
|
|
1177
1271
|
orientation: n,
|
|
1178
|
-
compact:
|
|
1179
|
-
isLast:
|
|
1180
|
-
onNodeClick:
|
|
1272
|
+
compact: a,
|
|
1273
|
+
isLast: I,
|
|
1274
|
+
onNodeClick: o
|
|
1181
1275
|
},
|
|
1182
|
-
|
|
1276
|
+
w.id
|
|
1183
1277
|
);
|
|
1184
1278
|
})
|
|
1185
1279
|
]
|
|
@@ -1187,42 +1281,42 @@ const ot = P(
|
|
|
1187
1281
|
);
|
|
1188
1282
|
}
|
|
1189
1283
|
);
|
|
1190
|
-
|
|
1191
|
-
function
|
|
1284
|
+
ct.displayName = "WorkflowMap";
|
|
1285
|
+
function ut({
|
|
1192
1286
|
node: e,
|
|
1193
1287
|
state: s,
|
|
1194
1288
|
orientation: r,
|
|
1195
|
-
compact:
|
|
1289
|
+
compact: o,
|
|
1196
1290
|
isLast: i,
|
|
1197
1291
|
onNodeClick: n
|
|
1198
1292
|
}) {
|
|
1199
|
-
const { t:
|
|
1200
|
-
l && (
|
|
1201
|
-
}, x = (
|
|
1202
|
-
l && (
|
|
1203
|
-
},
|
|
1293
|
+
const { t: a } = S(), p = B[e.type], m = nt[p.iconName], c = a(p.labelKey), d = lt(it(e.settings), a), l = typeof n == "function", v = s === "current", h = s === "completed", b = (y) => {
|
|
1294
|
+
l && (y.preventDefault(), n == null || n(e.id));
|
|
1295
|
+
}, x = (y) => {
|
|
1296
|
+
l && (y.key === "Enter" || y.key === " ") && (y.preventDefault(), n == null || n(e.id));
|
|
1297
|
+
}, w = v ? a("workflow.map.current") : h ? a("workflow.map.completed") : s === "pending" ? a("workflow.map.pending") : null;
|
|
1204
1298
|
return (
|
|
1205
1299
|
// `<li>` has implicit role="listitem"; no explicit role needed.
|
|
1206
|
-
/* @__PURE__ */
|
|
1207
|
-
/* @__PURE__ */
|
|
1300
|
+
/* @__PURE__ */ u("li", { "data-node-id": e.id, className: fe({ orientation: r }), children: [
|
|
1301
|
+
/* @__PURE__ */ u(
|
|
1208
1302
|
"div",
|
|
1209
1303
|
{
|
|
1210
1304
|
role: l ? "button" : void 0,
|
|
1211
1305
|
tabIndex: l ? 0 : void 0,
|
|
1212
|
-
"aria-current":
|
|
1213
|
-
"aria-label": l &&
|
|
1214
|
-
type:
|
|
1306
|
+
"aria-current": v ? "step" : void 0,
|
|
1307
|
+
"aria-label": l && o ? d ? a("workflow.map.nodeLabelWithSummary", {
|
|
1308
|
+
type: c,
|
|
1215
1309
|
summary: d
|
|
1216
|
-
}) :
|
|
1217
|
-
title:
|
|
1218
|
-
type:
|
|
1310
|
+
}) : a("workflow.map.nodeLabel", { type: c }) : void 0,
|
|
1311
|
+
title: o && d ? a("workflow.map.nodeLabelWithSummary", {
|
|
1312
|
+
type: c,
|
|
1219
1313
|
summary: d
|
|
1220
1314
|
}) : void 0,
|
|
1221
|
-
onClick: l ?
|
|
1315
|
+
onClick: l ? b : void 0,
|
|
1222
1316
|
onKeyDown: l ? x : void 0,
|
|
1223
|
-
className:
|
|
1317
|
+
className: me({
|
|
1224
1318
|
orientation: r,
|
|
1225
|
-
compact:
|
|
1319
|
+
compact: o,
|
|
1226
1320
|
state: s,
|
|
1227
1321
|
interactive: l
|
|
1228
1322
|
}),
|
|
@@ -1235,7 +1329,7 @@ function nt({
|
|
|
1235
1329
|
"aria-hidden": "true",
|
|
1236
1330
|
className: "ds:flex ds:items-center ds:justify-center ds:shrink-0 ds:size-[var(--spacing-md)] ds:text-[var(--muted-foreground)]",
|
|
1237
1331
|
children: h ? /* @__PURE__ */ t(
|
|
1238
|
-
|
|
1332
|
+
_e,
|
|
1239
1333
|
{
|
|
1240
1334
|
className: "ds:size-[var(--spacing-md)] ds:text-[color:var(--success)]",
|
|
1241
1335
|
"data-testid": "workflow-map-check"
|
|
@@ -1243,15 +1337,15 @@ function nt({
|
|
|
1243
1337
|
) : /* @__PURE__ */ t(m, { className: "ds:size-[var(--spacing-md)]" })
|
|
1244
1338
|
}
|
|
1245
1339
|
),
|
|
1246
|
-
/* @__PURE__ */
|
|
1340
|
+
/* @__PURE__ */ u("span", { className: "ds:flex ds:flex-col ds:min-w-0 ds:flex-1", children: [
|
|
1247
1341
|
/* @__PURE__ */ t(
|
|
1248
1342
|
"span",
|
|
1249
1343
|
{
|
|
1250
|
-
className:
|
|
1251
|
-
children:
|
|
1344
|
+
className: o ? "type-meta ds:truncate" : "type-body-sm",
|
|
1345
|
+
children: c
|
|
1252
1346
|
}
|
|
1253
1347
|
),
|
|
1254
|
-
!
|
|
1348
|
+
!o && d ? /* @__PURE__ */ t(
|
|
1255
1349
|
"span",
|
|
1256
1350
|
{
|
|
1257
1351
|
className: "type-meta ds:text-[var(--muted-foreground)]",
|
|
@@ -1260,7 +1354,7 @@ function nt({
|
|
|
1260
1354
|
}
|
|
1261
1355
|
) : null
|
|
1262
1356
|
] }),
|
|
1263
|
-
|
|
1357
|
+
w ? /* @__PURE__ */ t("span", { className: "ds:sr-only", children: w }) : null
|
|
1264
1358
|
]
|
|
1265
1359
|
}
|
|
1266
1360
|
),
|
|
@@ -1268,24 +1362,24 @@ function nt({
|
|
|
1268
1362
|
"span",
|
|
1269
1363
|
{
|
|
1270
1364
|
"aria-hidden": "true",
|
|
1271
|
-
className:
|
|
1365
|
+
className: pe({ orientation: r, compact: o }),
|
|
1272
1366
|
"data-testid": "workflow-map-connector"
|
|
1273
1367
|
}
|
|
1274
1368
|
)
|
|
1275
1369
|
] })
|
|
1276
1370
|
);
|
|
1277
1371
|
}
|
|
1278
|
-
function
|
|
1372
|
+
function ft({
|
|
1279
1373
|
orientation: e,
|
|
1280
1374
|
compact: s,
|
|
1281
1375
|
criteria: r
|
|
1282
1376
|
}) {
|
|
1283
|
-
const { t:
|
|
1284
|
-
return /* @__PURE__ */
|
|
1285
|
-
/* @__PURE__ */
|
|
1377
|
+
const { t: o } = S();
|
|
1378
|
+
return /* @__PURE__ */ u("li", { className: fe({ orientation: e }), children: [
|
|
1379
|
+
/* @__PURE__ */ u(
|
|
1286
1380
|
"div",
|
|
1287
1381
|
{
|
|
1288
|
-
className:
|
|
1382
|
+
className: me({
|
|
1289
1383
|
orientation: e,
|
|
1290
1384
|
compact: s,
|
|
1291
1385
|
state: "neutral",
|
|
@@ -1298,18 +1392,18 @@ function dt({
|
|
|
1298
1392
|
{
|
|
1299
1393
|
"aria-hidden": "true",
|
|
1300
1394
|
className: "ds:flex ds:items-center ds:justify-center ds:shrink-0 ds:size-[var(--spacing-md)] ds:text-[var(--muted-foreground)]",
|
|
1301
|
-
children: /* @__PURE__ */ t(
|
|
1395
|
+
children: /* @__PURE__ */ t(Ae, { className: "ds:size-[var(--spacing-md)]" })
|
|
1302
1396
|
}
|
|
1303
1397
|
),
|
|
1304
|
-
/* @__PURE__ */
|
|
1398
|
+
/* @__PURE__ */ u("span", { className: "ds:flex ds:flex-col ds:min-w-0 ds:flex-1", children: [
|
|
1305
1399
|
/* @__PURE__ */ t(
|
|
1306
1400
|
"span",
|
|
1307
1401
|
{
|
|
1308
1402
|
className: s ? "type-meta ds:truncate" : "type-body-sm",
|
|
1309
|
-
children:
|
|
1403
|
+
children: o("workflow.editor.enrollmentCriteria")
|
|
1310
1404
|
}
|
|
1311
1405
|
),
|
|
1312
|
-
s ? null : /* @__PURE__ */ t("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: r.summary ??
|
|
1406
|
+
s ? null : /* @__PURE__ */ t("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: r.summary ?? o("workflow.editor.criteriaCount", {
|
|
1313
1407
|
count: r.ruleCount
|
|
1314
1408
|
}) })
|
|
1315
1409
|
] })
|
|
@@ -1320,21 +1414,24 @@ function dt({
|
|
|
1320
1414
|
"span",
|
|
1321
1415
|
{
|
|
1322
1416
|
"aria-hidden": "true",
|
|
1323
|
-
className:
|
|
1417
|
+
className: pe({ orientation: e, compact: s })
|
|
1324
1418
|
}
|
|
1325
1419
|
)
|
|
1326
1420
|
] });
|
|
1327
1421
|
}
|
|
1328
1422
|
export {
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1423
|
+
Oe as C,
|
|
1424
|
+
Fe as W,
|
|
1425
|
+
at as a,
|
|
1426
|
+
ct as b,
|
|
1427
|
+
O as c,
|
|
1428
|
+
Kt as d,
|
|
1429
|
+
qt as e,
|
|
1430
|
+
Bt as f,
|
|
1431
|
+
He as i,
|
|
1432
|
+
G as l,
|
|
1433
|
+
Ve as m,
|
|
1434
|
+
X as r,
|
|
1435
|
+
B as w
|
|
1339
1436
|
};
|
|
1340
|
-
//# sourceMappingURL=workflow-map-
|
|
1437
|
+
//# sourceMappingURL=workflow-map-D2A7rTEG.js.map
|