@alfadocs/ui-kit-debug 0.1.8 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/dist/_chunks/accordion-DOmxGEWU.js +228 -0
- package/dist/_chunks/accordion-DOmxGEWU.js.map +1 -0
- package/dist/_chunks/{agenda-card-DIWDvWum.js → agenda-card-CalZqycc.js} +13 -3
- package/dist/_chunks/agenda-card-CalZqycc.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-3ffFDQZC.js +181 -0
- package/dist/_chunks/agenda-tray-3ffFDQZC.js.map +1 -0
- package/dist/_chunks/ai-prompt-input-BBiDlEIS.js +476 -0
- package/dist/_chunks/ai-prompt-input-BBiDlEIS.js.map +1 -0
- package/dist/_chunks/{alert-BlOUMkXj.js → alert-B1sj8Ss0.js} +24 -14
- package/dist/_chunks/alert-B1sj8Ss0.js.map +1 -0
- package/dist/_chunks/{apexcharts-theme-BkSShpEy.js → apexcharts-theme-BJigns_V.js} +7 -2
- package/dist/_chunks/{apexcharts-theme-BkSShpEy.js.map → apexcharts-theme-BJigns_V.js.map} +1 -1
- package/dist/_chunks/{app-frame-6d7Lu4ea.js → app-frame-CDJOgPXe.js} +7 -16
- package/dist/_chunks/app-frame-CDJOgPXe.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-B4U1LuiQ.js +457 -0
- package/dist/_chunks/audio-recorder-B4U1LuiQ.js.map +1 -0
- package/dist/_chunks/{audio-visualiser-CeMPCZkd.js → audio-visualiser-ByDEFLNm.js} +25 -19
- package/dist/_chunks/audio-visualiser-ByDEFLNm.js.map +1 -0
- package/dist/_chunks/autocomplete-D4oUZbsP.js +466 -0
- package/dist/_chunks/autocomplete-D4oUZbsP.js.map +1 -0
- package/dist/_chunks/avatar-Dcr6XuDQ.js.map +1 -1
- package/dist/_chunks/{badge-mrstWxve.js → badge-DKFbntoa.js} +16 -13
- package/dist/_chunks/badge-DKFbntoa.js.map +1 -0
- package/dist/_chunks/{balance-cell-renderer-BWm3knY9.js → balance-cell-renderer-B8zgIM-m.js} +64 -45
- package/dist/_chunks/balance-cell-renderer-B8zgIM-m.js.map +1 -0
- package/dist/_chunks/breadcrumb-D1snXjPb.js +379 -0
- package/dist/_chunks/breadcrumb-D1snXjPb.js.map +1 -0
- package/dist/_chunks/{button-7mLWcMp_.js → button-DD_0Xdmr.js} +12 -2
- package/dist/_chunks/button-DD_0Xdmr.js.map +1 -0
- package/dist/_chunks/button-group-CONver7M.js.map +1 -1
- package/dist/_chunks/button.agent-BuGZBktn.js.map +1 -1
- package/dist/_chunks/{calendar-nGEgelJs.js → calendar-zy0tUUVG.js} +13 -18
- package/dist/_chunks/calendar-zy0tUUVG.js.map +1 -0
- package/dist/_chunks/{card-BEy58ZKp.js → card-CWzuTLYE.js} +40 -34
- package/dist/_chunks/card-CWzuTLYE.js.map +1 -0
- package/dist/_chunks/chart-BLvFl169.js +292 -0
- package/dist/_chunks/chart-BLvFl169.js.map +1 -0
- package/dist/_chunks/chat-container-ClzsWXp2.js +220 -0
- package/dist/_chunks/chat-container-ClzsWXp2.js.map +1 -0
- package/dist/_chunks/chat-input-DOlsB1fm.js +333 -0
- package/dist/_chunks/chat-input-DOlsB1fm.js.map +1 -0
- package/dist/_chunks/{chat-message-ByouZpPP.js → chat-message-DoAhgUTj.js} +23 -13
- package/dist/_chunks/chat-message-DoAhgUTj.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/collapsible-CuxUBoHJ.js +147 -0
- package/dist/_chunks/collapsible-CuxUBoHJ.js.map +1 -0
- package/dist/_chunks/{color-picker-e9PmpaGH.js → color-picker-CTIcHlDF.js} +321 -205
- package/dist/_chunks/color-picker-CTIcHlDF.js.map +1 -0
- package/dist/_chunks/combobox-DCNXqbC7.js +460 -0
- package/dist/_chunks/combobox-DCNXqbC7.js.map +1 -0
- package/dist/_chunks/command-palette-C_vgSgrI.js +441 -0
- package/dist/_chunks/command-palette-C_vgSgrI.js.map +1 -0
- package/dist/_chunks/date-picker-B1PO1ZQP.js +1822 -0
- package/dist/_chunks/date-picker-B1PO1ZQP.js.map +1 -0
- package/dist/_chunks/date-range-picker-mix2nEVC.js +287 -0
- package/dist/_chunks/date-range-picker-mix2nEVC.js.map +1 -0
- package/dist/_chunks/date-time-picker-Dnong_BY.js +308 -0
- package/dist/_chunks/date-time-picker-Dnong_BY.js.map +1 -0
- package/dist/_chunks/{description-list-DvJbp6Yg.js → description-list-BYA77Yud.js} +26 -23
- package/dist/_chunks/description-list-BYA77Yud.js.map +1 -0
- package/dist/_chunks/dialog-BPD7wlGE.js +211 -0
- package/dist/_chunks/dialog-BPD7wlGE.js.map +1 -0
- package/dist/_chunks/dropdown-menu-CpiF6CPz.js +300 -0
- package/dist/_chunks/dropdown-menu-CpiF6CPz.js.map +1 -0
- package/dist/_chunks/{empty-state-DQPtRp2b.js → empty-state-3CLJIXSj.js} +132 -101
- package/dist/_chunks/empty-state-3CLJIXSj.js.map +1 -0
- package/dist/_chunks/file-upload-C947ACDK.js +829 -0
- package/dist/_chunks/file-upload-C947ACDK.js.map +1 -0
- package/dist/_chunks/flag-DZ6V7-hU.js.map +1 -1
- package/dist/_chunks/{floating-action-button-Cnw-f6AG.js → floating-action-button-C8OYj8mE.js} +9 -2
- package/dist/_chunks/floating-action-button-C8OYj8mE.js.map +1 -0
- package/dist/_chunks/{form-field-BfsPLTSc.js → form-field-Bmkeh7WY.js} +12 -11
- package/dist/_chunks/form-field-Bmkeh7WY.js.map +1 -0
- package/dist/_chunks/{form-field-context-94LwgYTQ.js → form-field-context-B3APVHKx.js} +4 -2
- package/dist/_chunks/form-field-context-B3APVHKx.js.map +1 -0
- package/dist/_chunks/freemium-paywall-CnvceDav.js +267 -0
- package/dist/_chunks/freemium-paywall-CnvceDav.js.map +1 -0
- package/dist/_chunks/{header-BGn1mRp8.js → header-D0ULgQl3.js} +69 -68
- package/dist/_chunks/header-D0ULgQl3.js.map +1 -0
- package/dist/_chunks/{icon-button-Wnnde5lc.js → icon-button-C4CGcYuz.js} +11 -3
- package/dist/_chunks/icon-button-C4CGcYuz.js.map +1 -0
- package/dist/_chunks/icon-button-group-DeV3FpNY.js.map +1 -1
- package/dist/_chunks/{kbd-8baVw3KU.js → kbd-Cglkd7CY.js} +6 -2
- package/dist/_chunks/kbd-Cglkd7CY.js.map +1 -0
- package/dist/_chunks/{key-value-pair-JRFS9Xrh.js → key-value-pair-CgWvAIGb.js} +2 -2
- package/dist/_chunks/key-value-pair-CgWvAIGb.js.map +1 -0
- package/dist/_chunks/{leo-sidebar-nbHib2D-.js → leo-sidebar-CfEY-xi2.js} +16 -20
- package/dist/_chunks/leo-sidebar-CfEY-xi2.js.map +1 -0
- package/dist/_chunks/link-8QmFjIz2.js +118 -0
- package/dist/_chunks/link-8QmFjIz2.js.map +1 -0
- package/dist/_chunks/list-qP6p0NTw.js +434 -0
- package/dist/_chunks/list-qP6p0NTw.js.map +1 -0
- package/dist/_chunks/live-region-C41SO3cA.js.map +1 -1
- package/dist/_chunks/{logo-BpFoCL-s.js → logo-_Z-jLq80.js} +155 -26
- package/dist/_chunks/logo-_Z-jLq80.js.map +1 -0
- package/dist/_chunks/{matrix-rain-BEkvux64.js → matrix-rain-CRPMXcVx.js} +8 -2
- package/dist/_chunks/matrix-rain-CRPMXcVx.js.map +1 -0
- package/dist/_chunks/{message-card-qAp2-WQK.js → message-card-ChCX9Iv6.js} +64 -60
- package/dist/_chunks/message-card-ChCX9Iv6.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-n8q9ITXI.js +414 -0
- package/dist/_chunks/message-tray-n8q9ITXI.js.map +1 -0
- package/dist/_chunks/multi-select-wqqrgjUQ.js +545 -0
- package/dist/_chunks/multi-select-wqqrgjUQ.js.map +1 -0
- package/dist/_chunks/navigation-menu-ClbHeawy.js +279 -0
- package/dist/_chunks/navigation-menu-ClbHeawy.js.map +1 -0
- package/dist/_chunks/normalize-diacritics-BNGbFNlJ.js.map +1 -1
- package/dist/_chunks/{notification-card-BF2_veHy.js → notification-card-hBlPN1-c.js} +15 -14
- package/dist/_chunks/notification-card-hBlPN1-c.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-C5cnXbl9.js +448 -0
- package/dist/_chunks/notification-tray-C5cnXbl9.js.map +1 -0
- package/dist/_chunks/number-input-Q7wkHnvQ.js +337 -0
- package/dist/_chunks/number-input-Q7wkHnvQ.js.map +1 -0
- package/dist/_chunks/otp-input-C9gUByF0.js +260 -0
- package/dist/_chunks/otp-input-C9gUByF0.js.map +1 -0
- package/dist/_chunks/pagination-3AC4zTsi.js +462 -0
- package/dist/_chunks/pagination-3AC4zTsi.js.map +1 -0
- package/dist/_chunks/password-input-C4LmjIH1.js +301 -0
- package/dist/_chunks/password-input-C4LmjIH1.js.map +1 -0
- package/dist/_chunks/{patient-shell-7cXqIMFg.js → patient-shell-BlsEUKWB.js} +10 -15
- package/dist/_chunks/{patient-shell-7cXqIMFg.js.map → patient-shell-BlsEUKWB.js.map} +1 -1
- package/dist/_chunks/{payment-form-hcl-gGrp.js → payment-form-C3vT_npe.js} +212 -201
- package/dist/_chunks/payment-form-C3vT_npe.js.map +1 -0
- package/dist/_chunks/pdf-viewer-CZIfY08H.js +895 -0
- package/dist/_chunks/pdf-viewer-CZIfY08H.js.map +1 -0
- package/dist/_chunks/phone-input-CSHJOJ13.js +508 -0
- package/dist/_chunks/phone-input-CSHJOJ13.js.map +1 -0
- package/dist/_chunks/popover-DekUKNBk.js +293 -0
- package/dist/_chunks/popover-DekUKNBk.js.map +1 -0
- package/dist/_chunks/privacy-lock-BKsI6ReN.js +193 -0
- package/dist/_chunks/privacy-lock-BKsI6ReN.js.map +1 -0
- package/dist/_chunks/progress-C11tqhoI.js +298 -0
- package/dist/_chunks/progress-C11tqhoI.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 -1
- package/dist/_chunks/recaptcha-widget-NyfOfLII.js +192 -0
- package/dist/_chunks/recaptcha-widget-NyfOfLII.js.map +1 -0
- package/dist/_chunks/resizable-mpXXyIsN.js +483 -0
- package/dist/_chunks/resizable-mpXXyIsN.js.map +1 -0
- package/dist/_chunks/{rich-text-editor.agent-COSb5_2D.js → rich-text-editor-C7TCIlQO.js} +387 -291
- package/dist/_chunks/rich-text-editor-C7TCIlQO.js.map +1 -0
- package/dist/_chunks/safe-image-src-DstKgCo7.js.map +1 -1
- package/dist/_chunks/{scroll-area-DLr5w9Dd.js → scroll-area-DEDU-lp-.js} +67 -54
- package/dist/_chunks/scroll-area-DEDU-lp-.js.map +1 -0
- package/dist/_chunks/search-bar-BTDfgYtg.js +585 -0
- package/dist/_chunks/search-bar-BTDfgYtg.js.map +1 -0
- package/dist/_chunks/search-input-CdJIEjFo.js +236 -0
- package/dist/_chunks/search-input-CdJIEjFo.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-y6bXV1f1.js +411 -0
- package/dist/_chunks/select-y6bXV1f1.js.map +1 -0
- package/dist/_chunks/{separator-B4wXDLNC.js → separator-CYU_bGFn.js} +2 -5
- package/dist/_chunks/separator-CYU_bGFn.js.map +1 -0
- package/dist/_chunks/{sheet-BhNpLHc9.js → sheet-4tgMFwj0.js} +141 -65
- package/dist/_chunks/sheet-4tgMFwj0.js.map +1 -0
- package/dist/_chunks/{sidebar-OVzwN3jE.js → sidebar-Bx3wCDyy.js} +576 -484
- package/dist/_chunks/sidebar-Bx3wCDyy.js.map +1 -0
- package/dist/_chunks/{sign-in-with-alfadocs-button-BN_FPGHT.js → sign-in-with-alfadocs-button-B9UrqOqH.js} +9 -5
- package/dist/_chunks/sign-in-with-alfadocs-button-B9UrqOqH.js.map +1 -0
- package/dist/_chunks/{signature-capture.agent-C38VPXxg.js → signature-capture-DjMlFOzS.js} +258 -253
- package/dist/_chunks/signature-capture-DjMlFOzS.js.map +1 -0
- package/dist/_chunks/{skeleton-dtqyF09N.js → skeleton-CZbwyJAA.js} +9 -3
- package/dist/_chunks/skeleton-CZbwyJAA.js.map +1 -0
- package/dist/_chunks/skip-link-DmZ3c6cb.js.map +1 -1
- package/dist/_chunks/slider-BT2bZWsy.js +326 -0
- package/dist/_chunks/slider-BT2bZWsy.js.map +1 -0
- package/dist/_chunks/{slot-grid-D_l5VsHG.js → slot-grid-CgpYgBkW.js} +105 -95
- package/dist/_chunks/slot-grid-CgpYgBkW.js.map +1 -0
- package/dist/_chunks/sparkline-_gy8aJDG.js +252 -0
- package/dist/_chunks/sparkline-_gy8aJDG.js.map +1 -0
- package/dist/_chunks/{spinner-GCcv67vh.js → spinner-DLaYfLPl.js} +66 -14
- package/dist/_chunks/spinner-DLaYfLPl.js.map +1 -0
- package/dist/_chunks/{stat-DUB6g90R.js → stat-B9PHSPbN.js} +45 -27
- package/dist/_chunks/stat-B9PHSPbN.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-BLOJUE0-.js +648 -0
- package/dist/_chunks/stepper-calendar-BLOJUE0-.js.map +1 -0
- package/dist/_chunks/stepper-progress-jFY8BSf7.js +208 -0
- package/dist/_chunks/stepper-progress-jFY8BSf7.js.map +1 -0
- package/dist/_chunks/streaming-text-BgjCTVOw.js.map +1 -1
- package/dist/_chunks/suggestion-chip-C4Jz0LrM.js +167 -0
- package/dist/_chunks/suggestion-chip-C4Jz0LrM.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-C0psfIQF.js +196 -0
- package/dist/_chunks/switch-C0psfIQF.js.map +1 -0
- package/dist/_chunks/tabs-DaFA3Muo.js +399 -0
- package/dist/_chunks/tabs-DaFA3Muo.js.map +1 -0
- package/dist/_chunks/{tag-BqidXKo3.js → tag-DuLMjRbF.js} +90 -32
- package/dist/_chunks/tag-DuLMjRbF.js.map +1 -0
- package/dist/_chunks/{task-card-yW7tKlG4.js → task-card-Dw_ZJDL8.js} +6 -2
- package/dist/_chunks/task-card-Dw_ZJDL8.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-XlIW9ueh.js +195 -0
- package/dist/_chunks/task-tray-XlIW9ueh.js.map +1 -0
- package/dist/_chunks/text-area-CO9Dz0qX.js +239 -0
- package/dist/_chunks/text-area-CO9Dz0qX.js.map +1 -0
- package/dist/_chunks/text-input-DZwt9L8H.js +275 -0
- package/dist/_chunks/text-input-DZwt9L8H.js.map +1 -0
- package/dist/_chunks/{theme-root-DDb0TJjd.js → theme-root-CSKD5ZRm.js} +9 -2
- package/dist/_chunks/{theme-root-DDb0TJjd.js.map → theme-root-CSKD5ZRm.js.map} +1 -1
- package/dist/_chunks/theme-toggle-B9zzCnvl.js +396 -0
- package/dist/_chunks/theme-toggle-B9zzCnvl.js.map +1 -0
- package/dist/_chunks/time-picker-DvPUmHH-.js +412 -0
- package/dist/_chunks/time-picker-DvPUmHH-.js.map +1 -0
- package/dist/_chunks/timeline-BvmnQadS.js +279 -0
- package/dist/_chunks/timeline-BvmnQadS.js.map +1 -0
- package/dist/_chunks/timestamp-BV2lC-wV.js.map +1 -1
- package/dist/_chunks/{toast-lOhJDKOH.js → toast.agent-BwKXA0km.js} +443 -344
- package/dist/_chunks/toast.agent-BwKXA0km.js.map +1 -0
- package/dist/_chunks/{tooth-scheme.agent-BlDyu-Gx.js → tooth-scheme-3mITSXiZ.js} +256 -265
- package/dist/_chunks/tooth-scheme-3mITSXiZ.js.map +1 -0
- package/dist/_chunks/transcript-panel-Bx5ANMsv.js +346 -0
- package/dist/_chunks/transcript-panel-Bx5ANMsv.js.map +1 -0
- package/dist/_chunks/{typing-indicator-CbUBf-Dx.js → typing-indicator-BZ5jXZPn.js} +27 -5
- package/dist/_chunks/typing-indicator-BZ5jXZPn.js.map +1 -0
- package/dist/_chunks/use-prefers-reduced-motion-BMwIQRjB.js.map +1 -1
- package/dist/_chunks/{use-theme-BMUhembX.js → use-theme-B1cwAXJR.js} +2 -5
- package/dist/_chunks/use-theme-B1cwAXJR.js.map +1 -0
- package/dist/_chunks/{visually-hidden-Bw7vBHLm.js → visually-hidden-BHxEUGyT.js} +11 -2
- package/dist/_chunks/{visually-hidden-Bw7vBHLm.js.map → visually-hidden-BHxEUGyT.js.map} +1 -1
- package/dist/_chunks/{warning-stack-8Pa3pekh.js → warning-stack-VygGHSqC.js} +11 -13
- package/dist/_chunks/warning-stack-VygGHSqC.js.map +1 -0
- package/dist/_chunks/{workflow-map-XeqHDFvp.js → workflow-map-C-nlogPC.js} +563 -488
- package/dist/_chunks/workflow-map-C-nlogPC.js.map +1 -0
- package/dist/agent-catalog.json +3577 -351
- package/dist/brand/logo-asset/Alfadocs_Logo_BW.d.ts.map +1 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Main.d.ts.map +1 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Mark.d.ts.map +1 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Neg.d.ts.map +1 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Purple.d.ts.map +1 -1
- package/dist/components/_shared/date-locale.d.ts.map +1 -1
- package/dist/components/_shared/index.d.ts +2 -2
- package/dist/components/_shared/index.d.ts.map +1 -1
- package/dist/components/_shared/normalize-diacritics.d.ts.map +1 -1
- package/dist/components/_shared/safe-html.d.ts.map +1 -1
- package/dist/components/_shared/safe-image-src.d.ts.map +1 -1
- package/dist/components/_shared/use-focus-trap.d.ts.map +1 -1
- package/dist/components/accordion/accordion.agent.d.ts +2 -1
- package/dist/components/accordion/accordion.agent.d.ts.map +1 -1
- package/dist/components/accordion/accordion.d.ts +6 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -1
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/accordion/index.d.ts.map +1 -1
- package/dist/components/accordion/index.js +5 -6
- package/dist/components/accordion/index.js.map +1 -1
- 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 -1
- package/dist/components/agenda-card/index.d.ts +1 -0
- package/dist/components/agenda-card/index.d.ts.map +1 -1
- package/dist/components/agenda-card/index.js +3 -1
- package/dist/components/agenda-card/index.js.map +1 -1
- 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 +18 -1
- package/dist/components/agenda-tray/agenda-tray.d.ts.map +1 -1
- package/dist/components/agenda-tray/index.d.ts +2 -1
- package/dist/components/agenda-tray/index.d.ts.map +1 -1
- package/dist/components/agenda-tray/index.js +3 -2
- package/dist/components/ai-prompt-input/ai-prompt-input.agent.d.ts +4 -0
- package/dist/components/ai-prompt-input/ai-prompt-input.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 -1
- package/dist/components/ai-prompt-input/index.d.ts +2 -1
- package/dist/components/ai-prompt-input/index.d.ts.map +1 -1
- package/dist/components/ai-prompt-input/index.js +3 -2
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/alert/index.d.ts.map +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/app-frame/app-frame.d.ts.map +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -1
- package/dist/components/aspect-ratio/index.js +1 -1
- package/dist/components/audio-recorder/audio-recorder.agent.d.ts +4 -0
- package/dist/components/audio-recorder/audio-recorder.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 -1
- package/dist/components/audio-recorder/index.d.ts +2 -1
- package/dist/components/audio-recorder/index.d.ts.map +1 -1
- package/dist/components/audio-recorder/index.js +3 -2
- package/dist/components/audio-visualiser/audio-visualiser.d.ts.map +1 -1
- package/dist/components/audio-visualiser/index.js +1 -1
- package/dist/components/autocomplete/autocomplete.agent.d.ts +2 -1
- package/dist/components/autocomplete/autocomplete.agent.d.ts.map +1 -1
- package/dist/components/autocomplete/autocomplete.d.ts +10 -0
- package/dist/components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/badge/badge.d.ts.map +1 -1
- package/dist/components/badge/index.js +1 -1
- 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 +20 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/dist/components/breadcrumb/index.d.ts +2 -1
- package/dist/components/breadcrumb/index.d.ts.map +1 -1
- package/dist/components/breadcrumb/index.js +5 -4
- package/dist/components/button/button.agent.d.ts.map +1 -1
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/icon-button.d.ts.map +1 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/button-group.d.ts.map +1 -1
- package/dist/components/calendar/calendar.agent.d.ts.map +1 -1
- package/dist/components/calendar/calendar.d.ts.map +1 -1
- package/dist/components/calendar/contrast-warning.d.ts.map +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/card/card.d.ts.map +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/chart/chart.agent.d.ts.map +1 -1
- package/dist/components/chart/chart.d.ts +2 -0
- package/dist/components/chart/chart.d.ts.map +1 -1
- package/dist/components/chart/index.d.ts +1 -1
- package/dist/components/chart/index.d.ts.map +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/chat-container.agent.d.ts.map +1 -1
- package/dist/components/chat-container/chat-container.d.ts +4 -2
- package/dist/components/chat-container/chat-container.d.ts.map +1 -1
- package/dist/components/chat-container/index.js +2 -3
- package/dist/components/chat-container/index.js.map +1 -1
- 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 -1
- package/dist/components/chat-input/index.d.ts +2 -1
- package/dist/components/chat-input/index.d.ts.map +1 -1
- package/dist/components/chat-input/index.js +3 -2
- package/dist/components/chat-message/chat-message.d.ts.map +1 -1
- package/dist/components/chat-message/index.js +1 -1
- 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 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.agent.d.ts +4 -0
- package/dist/components/checkbox-group/checkbox-group.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 -1
- package/dist/components/checkbox-group/index.d.ts +1 -1
- package/dist/components/checkbox-group/index.d.ts.map +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- 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 +7 -0
- package/dist/components/collapsible/collapsible.d.ts.map +1 -1
- package/dist/components/collapsible/index.d.ts +3 -2
- package/dist/components/collapsible/index.d.ts.map +1 -1
- package/dist/components/collapsible/index.js +4 -3
- package/dist/components/color-picker/color-picker.agent.d.ts +4 -0
- package/dist/components/color-picker/color-picker.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 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/combobox.agent.d.ts +2 -1
- package/dist/components/combobox/combobox.agent.d.ts.map +1 -1
- package/dist/components/combobox/combobox.d.ts +10 -0
- package/dist/components/combobox/combobox.d.ts.map +1 -1
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/combobox/index.d.ts.map +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/command-palette.agent.d.ts +2 -1
- package/dist/components/command-palette/command-palette.agent.d.ts.map +1 -1
- package/dist/components/command-palette/command-palette.d.ts +52 -12
- package/dist/components/command-palette/command-palette.d.ts.map +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts.map +1 -1
- package/dist/components/data-table/cell-renderers/balance-cell-renderer.d.ts.map +1 -1
- package/dist/components/data-table/cell-renderers/color-dot-cell-renderer.d.ts.map +1 -1
- package/dist/components/data-table/cell-renderers/currency-cell-renderer.d.ts.map +1 -1
- package/dist/components/data-table/cell-renderers/date-cell-renderer.d.ts.map +1 -1
- package/dist/components/data-table/cell-renderers/link-cell-renderer.d.ts.map +1 -1
- package/dist/components/data-table/cell-renderers/toggle-cell-renderer.d.ts.map +1 -1
- package/dist/components/data-table/data-table.agent.d.ts.map +1 -1
- package/dist/components/data-table/data-table.d.ts +3 -1
- package/dist/components/data-table/data-table.d.ts.map +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/data-table/toolbar.d.ts +6 -5
- package/dist/components/data-table/toolbar.d.ts.map +1 -1
- 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 +15 -0
- package/dist/components/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/date-picker/index.d.ts +2 -1
- package/dist/components/date-picker/index.d.ts.map +1 -1
- package/dist/components/date-picker/index.js +3 -2
- package/dist/components/date-range-picker/date-range-picker.agent.d.ts +4 -0
- package/dist/components/date-range-picker/date-range-picker.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 -1
- package/dist/components/date-range-picker/index.d.ts +2 -1
- package/dist/components/date-range-picker/index.d.ts.map +1 -1
- package/dist/components/date-range-picker/index.js +3 -2
- package/dist/components/date-time-picker/date-time-picker.agent.d.ts +4 -0
- package/dist/components/date-time-picker/date-time-picker.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 -1
- package/dist/components/date-time-picker/index.d.ts +2 -1
- package/dist/components/date-time-picker/index.d.ts.map +1 -1
- package/dist/components/date-time-picker/index.js +3 -2
- package/dist/components/description-list/description-list.d.ts +1 -2
- package/dist/components/description-list/description-list.d.ts.map +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dialog/dialog.agent.d.ts +5 -6
- package/dist/components/dialog/dialog.agent.d.ts.map +1 -1
- package/dist/components/dialog/dialog.d.ts +11 -2
- package/dist/components/dialog/dialog.d.ts.map +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts +2 -1
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts.map +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +20 -17
- package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
- package/dist/components/dropdown-menu/index.js +3 -4
- package/dist/components/dropdown-menu/index.js.map +1 -1
- package/dist/components/empty-state/empty-state.d.ts.map +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/file-upload/file-upload.agent.d.ts +2 -1
- package/dist/components/file-upload/file-upload.agent.d.ts.map +1 -1
- package/dist/components/file-upload/file-upload.d.ts +12 -0
- package/dist/components/file-upload/file-upload.d.ts.map +1 -1
- package/dist/components/file-upload/index.d.ts +1 -1
- package/dist/components/file-upload/index.d.ts.map +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/flag/flag.d.ts.map +1 -1
- package/dist/components/floating-action-button/floating-action-button.d.ts.map +1 -1
- package/dist/components/floating-action-button/index.js +1 -1
- package/dist/components/form-field/form-field-context.d.ts.map +1 -1
- package/dist/components/form-field/form-field.d.ts.map +1 -1
- package/dist/components/form-field/index.js +2 -2
- 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 +7 -0
- package/dist/components/freemium-paywall/freemium-paywall.d.ts.map +1 -1
- package/dist/components/freemium-paywall/index.d.ts +2 -1
- package/dist/components/freemium-paywall/index.d.ts.map +1 -1
- package/dist/components/freemium-paywall/index.js +3 -2
- package/dist/components/header/header.d.ts.map +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/icon-button-group.d.ts.map +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/kbd/index.js +1 -1
- package/dist/components/kbd/kbd.d.ts.map +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/key-value-pair/key-value-pair.d.ts.map +1 -1
- 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 -1
- package/dist/components/list/index.js +3 -2
- 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 -1
- package/dist/components/live-region/live-region.d.ts.map +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/logo/logo.d.ts.map +1 -1
- package/dist/components/matrix-rain/index.js +1 -1
- package/dist/components/matrix-rain/matrix-rain.d.ts.map +1 -1
- package/dist/components/message-card/index.d.ts +2 -1
- package/dist/components/message-card/index.d.ts.map +1 -1
- package/dist/components/message-card/index.js +5 -3
- package/dist/components/message-card/index.js.map +1 -1
- 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 -1
- package/dist/components/message-tray/index.d.ts +2 -1
- package/dist/components/message-tray/index.d.ts.map +1 -1
- package/dist/components/message-tray/index.js +3 -2
- package/dist/components/message-tray/message-tray.agent.d.ts +4 -0
- package/dist/components/message-tray/message-tray.agent.d.ts.map +1 -0
- package/dist/components/message-tray/message-tray.d.ts +26 -1
- package/dist/components/message-tray/message-tray.d.ts.map +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/multi-select/multi-select.agent.d.ts +2 -1
- package/dist/components/multi-select/multi-select.agent.d.ts.map +1 -1
- package/dist/components/multi-select/multi-select.d.ts +10 -0
- package/dist/components/multi-select/multi-select.d.ts.map +1 -1
- package/dist/components/navigation-menu/index.d.ts +2 -1
- package/dist/components/navigation-menu/index.d.ts.map +1 -1
- package/dist/components/navigation-menu/index.js +7 -6
- package/dist/components/navigation-menu/navigation-menu.agent.d.ts +4 -0
- package/dist/components/navigation-menu/navigation-menu.agent.d.ts.map +1 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +27 -1
- package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -1
- package/dist/components/notification-card/index.d.ts +2 -1
- package/dist/components/notification-card/index.d.ts.map +1 -1
- package/dist/components/notification-card/index.js +5 -3
- package/dist/components/notification-card/index.js.map +1 -1
- 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 -1
- package/dist/components/notification-tray/index.d.ts +2 -1
- package/dist/components/notification-tray/index.d.ts.map +1 -1
- package/dist/components/notification-tray/index.js +3 -2
- package/dist/components/notification-tray/notification-tray.agent.d.ts +4 -0
- package/dist/components/notification-tray/notification-tray.agent.d.ts.map +1 -0
- package/dist/components/notification-tray/notification-tray.d.ts +26 -1
- package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/number-input.agent.d.ts +4 -0
- package/dist/components/number-input/number-input.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 -1
- package/dist/components/number-input/use-locale-number.d.ts.map +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/otp-input/otp-input.agent.d.ts +4 -0
- package/dist/components/otp-input/otp-input.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 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/pagination.agent.d.ts +2 -1
- package/dist/components/pagination/pagination.agent.d.ts.map +1 -1
- package/dist/components/pagination/pagination.d.ts +11 -6
- package/dist/components/pagination/pagination.d.ts.map +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/password-input/password-input.agent.d.ts +4 -0
- package/dist/components/password-input/password-input.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 -1
- package/dist/components/payment-form/index.js +7 -8
- package/dist/components/payment-form/index.js.map +1 -1
- package/dist/components/payment-form/payment-form.agent.d.ts.map +1 -1
- package/dist/components/payment-form/payment-form.d.ts +3 -1
- package/dist/components/payment-form/payment-form.d.ts.map +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.d.ts +2 -0
- package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
- package/dist/components/phone-input/index.d.ts +1 -1
- package/dist/components/phone-input/index.d.ts.map +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/phone-input/phone-input.agent.d.ts +4 -0
- package/dist/components/phone-input/phone-input.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 -1
- package/dist/components/popover/index.js +3 -4
- package/dist/components/popover/index.js.map +1 -1
- package/dist/components/popover/popover.agent.d.ts +2 -1
- package/dist/components/popover/popover.agent.d.ts.map +1 -1
- package/dist/components/popover/popover.d.ts +8 -1
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/components/privacy-lock/index.d.ts +2 -1
- package/dist/components/privacy-lock/index.d.ts.map +1 -1
- package/dist/components/privacy-lock/index.js +3 -2
- package/dist/components/privacy-lock/privacy-lock.agent.d.ts +4 -0
- package/dist/components/privacy-lock/privacy-lock.agent.d.ts.map +1 -0
- package/dist/components/privacy-lock/privacy-lock.d.ts +6 -0
- package/dist/components/privacy-lock/privacy-lock.d.ts.map +1 -1
- package/dist/components/progress/index.js +3 -4
- package/dist/components/progress/index.js.map +1 -1
- package/dist/components/progress/progress.agent.d.ts.map +1 -1
- package/dist/components/progress/progress.d.ts.map +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/radio-group/radio-group.agent.d.ts +4 -0
- package/dist/components/radio-group/radio-group.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 -1
- package/dist/components/radio-group/radio.d.ts.map +1 -1
- 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 +1 -1
- package/dist/components/resizable/index.d.ts.map +1 -1
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/resizable/resizable-context.d.ts.map +1 -1
- package/dist/components/resizable/resizable.agent.d.ts +2 -1
- package/dist/components/resizable/resizable.agent.d.ts.map +1 -1
- package/dist/components/resizable/resizable.d.ts +6 -0
- package/dist/components/resizable/resizable.d.ts.map +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.agent.d.ts.map +1 -1
- 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 -1
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/components/search-bar/index.d.ts +2 -1
- package/dist/components/search-bar/index.d.ts.map +1 -1
- package/dist/components/search-bar/index.js +3 -2
- package/dist/components/search-bar/search-bar.agent.d.ts +4 -0
- package/dist/components/search-bar/search-bar.agent.d.ts.map +1 -0
- package/dist/components/search-bar/search-bar.d.ts +26 -0
- package/dist/components/search-bar/search-bar.d.ts.map +1 -1
- package/dist/components/search-input/index.d.ts +2 -1
- package/dist/components/search-input/index.d.ts.map +1 -1
- package/dist/components/search-input/index.js +4 -2
- package/dist/components/search-input/index.js.map +1 -1
- 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 -1
- package/dist/components/select/index.js +1 -1
- 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 +10 -1
- package/dist/components/select/select.d.ts.map +1 -1
- package/dist/components/separator/index.js +1 -1
- package/dist/components/separator/separator.d.ts.map +1 -1
- package/dist/components/sheet/index.js +3 -4
- package/dist/components/sheet/index.js.map +1 -1
- package/dist/components/sheet/sheet.agent.d.ts +2 -1
- package/dist/components/sheet/sheet.agent.d.ts.map +1 -1
- package/dist/components/sheet/sheet.d.ts +11 -2
- package/dist/components/sheet/sheet.d.ts.map +1 -1
- package/dist/components/sidebar/index.js +7 -8
- package/dist/components/sidebar/index.js.map +1 -1
- package/dist/components/sidebar/sidebar.agent.d.ts +2 -1
- package/dist/components/sidebar/sidebar.agent.d.ts.map +1 -1
- package/dist/components/sidebar/sidebar.d.ts +4 -0
- package/dist/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/sign-in-with-alfadocs-button.d.ts.map +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/signature-capture/signature-capture.agent.d.ts.map +1 -1
- package/dist/components/signature-capture/signature-capture.d.ts +2 -0
- package/dist/components/signature-capture/signature-capture.d.ts.map +1 -1
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/slider/index.js +1 -1
- 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 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/slot-grid/slot-grid.d.ts.map +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/sparkline/sparkline.agent.d.ts.map +1 -1
- package/dist/components/sparkline/sparkline.d.ts.map +1 -1
- package/dist/components/sparkline/use-linear-trend.d.ts.map +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/spinner/spinner.d.ts.map +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts.map +1 -1
- package/dist/components/stepper-accordion/index.d.ts +2 -1
- package/dist/components/stepper-accordion/index.d.ts.map +1 -1
- package/dist/components/stepper-accordion/index.js +3 -2
- package/dist/components/stepper-accordion/stepper-accordion.agent.d.ts +4 -0
- package/dist/components/stepper-accordion/stepper-accordion.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 -1
- package/dist/components/stepper-calendar/index.d.ts +2 -1
- package/dist/components/stepper-calendar/index.d.ts.map +1 -1
- package/dist/components/stepper-calendar/index.js +3 -2
- package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts +4 -0
- package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts.map +1 -0
- package/dist/components/stepper-calendar/stepper-calendar.d.ts +18 -0
- package/dist/components/stepper-calendar/stepper-calendar.d.ts.map +1 -1
- package/dist/components/stepper-progress/index.d.ts +2 -1
- package/dist/components/stepper-progress/index.d.ts.map +1 -1
- package/dist/components/stepper-progress/index.js +3 -2
- 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 +25 -0
- package/dist/components/stepper-progress/stepper-progress.d.ts.map +1 -1
- package/dist/components/streaming-text/streaming-text.d.ts.map +1 -1
- package/dist/components/suggestion-chip/index.d.ts +2 -1
- package/dist/components/suggestion-chip/index.d.ts.map +1 -1
- package/dist/components/suggestion-chip/index.js +5 -3
- package/dist/components/suggestion-chip/index.js.map +1 -1
- 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 -1
- package/dist/components/switch/index.js +1 -1
- 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 -1
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/index.d.ts.map +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/tabs.agent.d.ts +2 -1
- package/dist/components/tabs/tabs.agent.d.ts.map +1 -1
- package/dist/components/tabs/tabs.d.ts +4 -0
- package/dist/components/tabs/tabs.d.ts.map +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/tag/tag.d.ts.map +1 -1
- package/dist/components/task-card/index.d.ts +1 -0
- package/dist/components/task-card/index.d.ts.map +1 -1
- package/dist/components/task-card/index.js +5 -3
- package/dist/components/task-card/index.js.map +1 -1
- 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 -1
- package/dist/components/task-tray/index.d.ts +2 -1
- package/dist/components/task-tray/index.d.ts.map +1 -1
- package/dist/components/task-tray/index.js +3 -2
- package/dist/components/task-tray/task-tray.agent.d.ts +4 -0
- package/dist/components/task-tray/task-tray.agent.d.ts.map +1 -0
- package/dist/components/task-tray/task-tray.d.ts +24 -1
- package/dist/components/task-tray/task-tray.d.ts.map +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-area/text-area.agent.d.ts +4 -0
- package/dist/components/text-area/text-area.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 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/text-input/text-input.agent.d.ts +4 -0
- package/dist/components/text-input/text-input.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 -1
- package/dist/components/theme-root/index.js +1 -1
- package/dist/components/theme-root/theme-root.d.ts.map +1 -1
- package/dist/components/theme-toggle/index.d.ts +2 -1
- package/dist/components/theme-toggle/index.d.ts.map +1 -1
- package/dist/components/theme-toggle/index.js +3 -2
- package/dist/components/theme-toggle/theme-toggle.agent.d.ts +4 -0
- package/dist/components/theme-toggle/theme-toggle.agent.d.ts.map +1 -0
- package/dist/components/theme-toggle/theme-toggle.d.ts +8 -1
- package/dist/components/theme-toggle/theme-toggle.d.ts.map +1 -1
- package/dist/components/time-picker/index.d.ts +2 -1
- package/dist/components/time-picker/index.d.ts.map +1 -1
- package/dist/components/time-picker/index.js +3 -2
- package/dist/components/time-picker/time-picker.agent.d.ts +4 -0
- package/dist/components/time-picker/time-picker.agent.d.ts.map +1 -0
- package/dist/components/time-picker/time-picker.d.ts +15 -0
- package/dist/components/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/timeline/index.d.ts +2 -1
- package/dist/components/timeline/index.d.ts.map +1 -1
- package/dist/components/timeline/index.js +3 -2
- 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 +7 -0
- package/dist/components/timeline/timeline.d.ts.map +1 -1
- package/dist/components/timestamp/timestamp.d.ts.map +1 -1
- package/dist/components/toast/index.d.ts +3 -2
- package/dist/components/toast/index.d.ts.map +1 -1
- package/dist/components/toast/index.js +7 -5
- 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 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/tooth-scheme/tooth-data.d.ts.map +1 -1
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts.map +1 -1
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +3 -1
- package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -1
- package/dist/components/transcript-panel/index.d.ts +2 -1
- package/dist/components/transcript-panel/index.d.ts.map +1 -1
- package/dist/components/transcript-panel/index.js +3 -2
- package/dist/components/transcript-panel/transcript-panel.agent.d.ts +4 -0
- package/dist/components/transcript-panel/transcript-panel.agent.d.ts.map +1 -0
- package/dist/components/transcript-panel/transcript-panel.d.ts +9 -0
- package/dist/components/transcript-panel/transcript-panel.d.ts.map +1 -1
- package/dist/components/typing-indicator/index.js +1 -1
- package/dist/components/typing-indicator/typing-indicator.d.ts.map +1 -1
- package/dist/components/visually-hidden/index.js +1 -1
- package/dist/components/visually-hidden/visually-hidden.d.ts.map +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/warning-stack/warning-stack.d.ts.map +1 -1
- package/dist/components/workflow/index.d.ts +2 -1
- package/dist/components/workflow/index.d.ts.map +1 -1
- package/dist/components/workflow/index.js +10 -7
- package/dist/components/workflow/workflow-card.d.ts.map +1 -1
- package/dist/components/workflow/workflow-editor.d.ts +6 -0
- package/dist/components/workflow/workflow-editor.d.ts.map +1 -1
- package/dist/components/workflow/workflow-map.d.ts +2 -0
- package/dist/components/workflow/workflow-map.d.ts.map +1 -1
- package/dist/components/workflow/workflow-types.d.ts.map +1 -1
- 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.js +1 -1
- package/dist/hooks/use-prefers-reduced-motion.d.ts.map +1 -1
- package/dist/hooks/use-theme.d.ts.map +1 -1
- package/dist/i18n/config.d.ts.map +1 -1
- package/dist/i18n/config.js +24 -11
- package/dist/i18n/config.js.map +1 -1
- package/dist/i18n/resources.d.ts +7 -0
- package/dist/i18n/resources.d.ts.map +1 -1
- package/dist/index.js +463 -425
- package/dist/locales/en.json +7 -0
- package/dist/patterns/leo-assistant/index.js +1 -1
- package/dist/patterns/leo-assistant/leo-chat-surface.d.ts.map +1 -1
- package/dist/patterns/leo-assistant/leo-sidebar.d.ts.map +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/patterns/patient-shell/patient-shell.d.ts.map +1 -1
- package/dist/safe-html/index.js +20 -3
- package/dist/safe-html/index.js.map +1 -1
- package/dist/tokens/apexcharts-theme.d.ts.map +1 -1
- package/dist/tokens.css +2 -2
- package/package.json +28 -2
- package/dist/_chunks/accordion-B6fyINUk.js +0 -118
- package/dist/_chunks/accordion-B6fyINUk.js.map +0 -1
- package/dist/_chunks/accordion.agent-Cz-yglRa.js +0 -17
- package/dist/_chunks/accordion.agent-Cz-yglRa.js.map +0 -1
- package/dist/_chunks/agenda-card-DIWDvWum.js.map +0 -1
- package/dist/_chunks/agenda-tray-BqQZwiHc.js +0 -120
- package/dist/_chunks/agenda-tray-BqQZwiHc.js.map +0 -1
- package/dist/_chunks/ai-prompt-input-CI27KmZ1.js +0 -380
- package/dist/_chunks/ai-prompt-input-CI27KmZ1.js.map +0 -1
- package/dist/_chunks/alert-BlOUMkXj.js.map +0 -1
- package/dist/_chunks/app-frame-6d7Lu4ea.js.map +0 -1
- package/dist/_chunks/aspect-ratio-CxsdG8vk.js.map +0 -1
- package/dist/_chunks/audio-recorder-B-8SKgKn.js +0 -376
- package/dist/_chunks/audio-recorder-B-8SKgKn.js.map +0 -1
- package/dist/_chunks/audio-visualiser-CeMPCZkd.js.map +0 -1
- package/dist/_chunks/autocomplete.agent-DqOy0_1P.js +0 -372
- package/dist/_chunks/autocomplete.agent-DqOy0_1P.js.map +0 -1
- package/dist/_chunks/badge-mrstWxve.js.map +0 -1
- package/dist/_chunks/balance-cell-renderer-BWm3knY9.js.map +0 -1
- package/dist/_chunks/breadcrumb-D6xpsP7n.js +0 -293
- package/dist/_chunks/breadcrumb-D6xpsP7n.js.map +0 -1
- package/dist/_chunks/button-7mLWcMp_.js.map +0 -1
- package/dist/_chunks/calendar-nGEgelJs.js.map +0 -1
- package/dist/_chunks/card-BEy58ZKp.js.map +0 -1
- package/dist/_chunks/chart.agent-BdS-_8MO.js +0 -269
- package/dist/_chunks/chart.agent-BdS-_8MO.js.map +0 -1
- package/dist/_chunks/chat-container-Cm3SlR2p.js +0 -174
- package/dist/_chunks/chat-container-Cm3SlR2p.js.map +0 -1
- package/dist/_chunks/chat-container.agent-Dhw9xCJt.js +0 -22
- package/dist/_chunks/chat-container.agent-Dhw9xCJt.js.map +0 -1
- package/dist/_chunks/chat-input-DreOPP8A.js +0 -226
- package/dist/_chunks/chat-input-DreOPP8A.js.map +0 -1
- package/dist/_chunks/chat-message-ByouZpPP.js.map +0 -1
- package/dist/_chunks/checkbox-DNK4qS2_.js +0 -116
- package/dist/_chunks/checkbox-DNK4qS2_.js.map +0 -1
- package/dist/_chunks/checkbox-group-CWpGZEF6.js +0 -146
- package/dist/_chunks/checkbox-group-CWpGZEF6.js.map +0 -1
- package/dist/_chunks/collapsible-D4LOdLxp.js +0 -67
- package/dist/_chunks/collapsible-D4LOdLxp.js.map +0 -1
- package/dist/_chunks/color-picker-e9PmpaGH.js.map +0 -1
- package/dist/_chunks/combobox.agent-ByobCLJ_.js +0 -350
- package/dist/_chunks/combobox.agent-ByobCLJ_.js.map +0 -1
- package/dist/_chunks/command-palette.agent-js2rxgeR.js +0 -351
- package/dist/_chunks/command-palette.agent-js2rxgeR.js.map +0 -1
- package/dist/_chunks/date-picker-DYXNsWmM.js +0 -1726
- package/dist/_chunks/date-picker-DYXNsWmM.js.map +0 -1
- package/dist/_chunks/date-range-picker-BcNDJI7m.js +0 -183
- package/dist/_chunks/date-range-picker-BcNDJI7m.js.map +0 -1
- package/dist/_chunks/date-time-picker-CmGiTU__.js +0 -202
- package/dist/_chunks/date-time-picker-CmGiTU__.js.map +0 -1
- package/dist/_chunks/description-list-DvJbp6Yg.js.map +0 -1
- package/dist/_chunks/dialog.agent-DEG_fVzG.js +0 -147
- package/dist/_chunks/dialog.agent-DEG_fVzG.js.map +0 -1
- package/dist/_chunks/dropdown-menu-Cw3EyPZv.js +0 -215
- package/dist/_chunks/dropdown-menu-Cw3EyPZv.js.map +0 -1
- package/dist/_chunks/dropdown-menu.agent-Cry4Nmes.js +0 -17
- package/dist/_chunks/dropdown-menu.agent-Cry4Nmes.js.map +0 -1
- package/dist/_chunks/empty-state-DQPtRp2b.js.map +0 -1
- package/dist/_chunks/file-upload.agent-B9AN82LA.js +0 -649
- package/dist/_chunks/file-upload.agent-B9AN82LA.js.map +0 -1
- package/dist/_chunks/floating-action-button-Cnw-f6AG.js.map +0 -1
- package/dist/_chunks/form-field-BfsPLTSc.js.map +0 -1
- package/dist/_chunks/form-field-context-94LwgYTQ.js.map +0 -1
- package/dist/_chunks/freemium-paywall-CkefGLM_.js +0 -198
- package/dist/_chunks/freemium-paywall-CkefGLM_.js.map +0 -1
- package/dist/_chunks/header-BGn1mRp8.js.map +0 -1
- package/dist/_chunks/icon-button-Wnnde5lc.js.map +0 -1
- package/dist/_chunks/kbd-8baVw3KU.js.map +0 -1
- package/dist/_chunks/key-value-pair-JRFS9Xrh.js.map +0 -1
- package/dist/_chunks/leo-sidebar-nbHib2D-.js.map +0 -1
- package/dist/_chunks/list-B1ozIjQe.js +0 -359
- package/dist/_chunks/list-B1ozIjQe.js.map +0 -1
- package/dist/_chunks/logo-BpFoCL-s.js.map +0 -1
- package/dist/_chunks/matrix-rain-BEkvux64.js.map +0 -1
- package/dist/_chunks/message-card-qAp2-WQK.js.map +0 -1
- package/dist/_chunks/message-tray-VaLpQU5t.js +0 -303
- package/dist/_chunks/message-tray-VaLpQU5t.js.map +0 -1
- package/dist/_chunks/multi-select.agent-CNsyW3n9.js +0 -450
- package/dist/_chunks/multi-select.agent-CNsyW3n9.js.map +0 -1
- package/dist/_chunks/navigation-menu-EVFau1O2.js +0 -180
- package/dist/_chunks/navigation-menu-EVFau1O2.js.map +0 -1
- package/dist/_chunks/notification-card-BF2_veHy.js.map +0 -1
- package/dist/_chunks/notification-tray-B7U5YZYg.js +0 -328
- package/dist/_chunks/notification-tray-B7U5YZYg.js.map +0 -1
- package/dist/_chunks/number-input-DjpT_RXJ.js +0 -249
- package/dist/_chunks/number-input-DjpT_RXJ.js.map +0 -1
- package/dist/_chunks/otp-input-De5_Ih7B.js +0 -189
- package/dist/_chunks/otp-input-De5_Ih7B.js.map +0 -1
- package/dist/_chunks/pagination.agent-oEaqmtx5.js +0 -380
- package/dist/_chunks/pagination.agent-oEaqmtx5.js.map +0 -1
- package/dist/_chunks/password-input-DJDVznWH.js +0 -193
- package/dist/_chunks/password-input-DJDVznWH.js.map +0 -1
- package/dist/_chunks/payment-form-hcl-gGrp.js.map +0 -1
- package/dist/_chunks/payment-form.agent-BkEnRerR.js +0 -26
- package/dist/_chunks/payment-form.agent-BkEnRerR.js.map +0 -1
- package/dist/_chunks/pdf-viewer.agent-CfIHhcHx.js +0 -859
- package/dist/_chunks/pdf-viewer.agent-CfIHhcHx.js.map +0 -1
- package/dist/_chunks/phone-input-DE_39q65.js +0 -428
- package/dist/_chunks/phone-input-DE_39q65.js.map +0 -1
- package/dist/_chunks/popover-C3CTUsqh.js +0 -227
- package/dist/_chunks/popover-C3CTUsqh.js.map +0 -1
- package/dist/_chunks/popover.agent-C0qOx9WT.js +0 -13
- package/dist/_chunks/popover.agent-C0qOx9WT.js.map +0 -1
- package/dist/_chunks/privacy-lock-CQpgkLec.js +0 -132
- package/dist/_chunks/privacy-lock-CQpgkLec.js.map +0 -1
- package/dist/_chunks/progress-B4Of_pzz.js +0 -252
- package/dist/_chunks/progress-B4Of_pzz.js.map +0 -1
- package/dist/_chunks/progress.agent-CXkHURjX.js +0 -22
- package/dist/_chunks/progress.agent-CXkHURjX.js.map +0 -1
- package/dist/_chunks/radio-cs8N1wJi.js.map +0 -1
- package/dist/_chunks/radio-group-BIUbpWml.js +0 -89
- package/dist/_chunks/radio-group-BIUbpWml.js.map +0 -1
- package/dist/_chunks/resizable.agent-DBpPGNdy.js +0 -435
- package/dist/_chunks/resizable.agent-DBpPGNdy.js.map +0 -1
- package/dist/_chunks/rich-text-editor.agent-COSb5_2D.js.map +0 -1
- package/dist/_chunks/scroll-area-DLr5w9Dd.js.map +0 -1
- package/dist/_chunks/search-bar-fcGqDFW3.js +0 -397
- package/dist/_chunks/search-bar-fcGqDFW3.js.map +0 -1
- package/dist/_chunks/search-input-BVMCONyN.js +0 -197
- package/dist/_chunks/search-input-BVMCONyN.js.map +0 -1
- package/dist/_chunks/select-IY_JQa-F.js +0 -321
- package/dist/_chunks/select-IY_JQa-F.js.map +0 -1
- package/dist/_chunks/separator-B4wXDLNC.js.map +0 -1
- package/dist/_chunks/sheet-BhNpLHc9.js.map +0 -1
- package/dist/_chunks/sheet.agent-DwQlBqK9.js +0 -13
- package/dist/_chunks/sheet.agent-DwQlBqK9.js.map +0 -1
- package/dist/_chunks/sidebar-OVzwN3jE.js.map +0 -1
- package/dist/_chunks/sidebar.agent-B0fnH9CC.js +0 -17
- package/dist/_chunks/sidebar.agent-B0fnH9CC.js.map +0 -1
- package/dist/_chunks/sign-in-with-alfadocs-button-BN_FPGHT.js.map +0 -1
- package/dist/_chunks/signature-capture.agent-C38VPXxg.js.map +0 -1
- package/dist/_chunks/skeleton-dtqyF09N.js.map +0 -1
- package/dist/_chunks/slider-DjyRt3Mp.js +0 -274
- package/dist/_chunks/slider-DjyRt3Mp.js.map +0 -1
- package/dist/_chunks/slot-grid-D_l5VsHG.js.map +0 -1
- package/dist/_chunks/sparkline.agent-C_xp3NRB.js +0 -238
- package/dist/_chunks/sparkline.agent-C_xp3NRB.js.map +0 -1
- package/dist/_chunks/spinner-GCcv67vh.js.map +0 -1
- package/dist/_chunks/stat-DUB6g90R.js.map +0 -1
- package/dist/_chunks/stepper-accordion-CGog0JSF.js +0 -233
- package/dist/_chunks/stepper-accordion-CGog0JSF.js.map +0 -1
- package/dist/_chunks/stepper-calendar-_fLOAjus.js +0 -570
- package/dist/_chunks/stepper-calendar-_fLOAjus.js.map +0 -1
- package/dist/_chunks/stepper-progress-rE7tn7WY.js +0 -129
- package/dist/_chunks/stepper-progress-rE7tn7WY.js.map +0 -1
- package/dist/_chunks/suggestion-chip-BNJ2M8Os.js +0 -158
- package/dist/_chunks/suggestion-chip-BNJ2M8Os.js.map +0 -1
- package/dist/_chunks/switch-aN2EYxHh.js +0 -138
- package/dist/_chunks/switch-aN2EYxHh.js.map +0 -1
- package/dist/_chunks/tabs.agent-BpbVA-Zh.js +0 -348
- package/dist/_chunks/tabs.agent-BpbVA-Zh.js.map +0 -1
- package/dist/_chunks/tag-BqidXKo3.js.map +0 -1
- package/dist/_chunks/task-card-yW7tKlG4.js.map +0 -1
- package/dist/_chunks/task-tray-BzahI5FQ.js +0 -100
- package/dist/_chunks/task-tray-BzahI5FQ.js.map +0 -1
- package/dist/_chunks/text-area-DmKSd2DG.js +0 -152
- package/dist/_chunks/text-area-DmKSd2DG.js.map +0 -1
- package/dist/_chunks/text-input-CRHvl5zk.js +0 -188
- package/dist/_chunks/text-input-CRHvl5zk.js.map +0 -1
- package/dist/_chunks/theme-toggle-BHiMMEQN.js +0 -329
- package/dist/_chunks/theme-toggle-BHiMMEQN.js.map +0 -1
- package/dist/_chunks/time-picker-D-EueWUG.js +0 -322
- package/dist/_chunks/time-picker-D-EueWUG.js.map +0 -1
- package/dist/_chunks/timeline-RgAIzpMd.js +0 -220
- package/dist/_chunks/timeline-RgAIzpMd.js.map +0 -1
- package/dist/_chunks/toast-lOhJDKOH.js.map +0 -1
- package/dist/_chunks/tooth-scheme.agent-BlDyu-Gx.js.map +0 -1
- package/dist/_chunks/transcript-panel-CNbVGG9L.js +0 -266
- package/dist/_chunks/transcript-panel-CNbVGG9L.js.map +0 -1
- package/dist/_chunks/typing-indicator-CbUBf-Dx.js.map +0 -1
- package/dist/_chunks/use-theme-BMUhembX.js.map +0 -1
- package/dist/_chunks/warning-stack-8Pa3pekh.js.map +0 -1
- package/dist/_chunks/workflow-map-XeqHDFvp.js.map +0 -1
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as t, jsxs as u, Fragment as ve } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as O, useMemo as R, useRef as j, useCallback as W, useState as ge, useImperativeHandle as ke, useEffect as ye } from "react";
|
|
3
3
|
import { c as L } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as z } from "react-i18next";
|
|
5
|
-
import { C
|
|
6
|
-
import { B as
|
|
7
|
-
import { K as
|
|
8
|
-
import { T as
|
|
9
|
-
import { I as
|
|
10
|
-
import { c as
|
|
11
|
-
import { C as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { C as
|
|
22
|
-
import { C as
|
|
23
|
-
import { C as
|
|
5
|
+
import { C } from "./card-CWzuTLYE.js";
|
|
6
|
+
import { B as be } from "./badge-DKFbntoa.js";
|
|
7
|
+
import { K as Z } from "./key-value-pair-CgWvAIGb.js";
|
|
8
|
+
import { T as xe } from "./timestamp-BV2lC-wV.js";
|
|
9
|
+
import { I as S } from "./icon-button-C4CGcYuz.js";
|
|
10
|
+
import { c as _ } from "./createLucideIcon-CrFbzy84.js";
|
|
11
|
+
import { C as Ne } from "./circle-BkqTgYmt.js";
|
|
12
|
+
import { u as Ce } from "./registry-C9nwlNyL.js";
|
|
13
|
+
import { A as V } from "./alert-B1sj8Ss0.js";
|
|
14
|
+
import { B as _e } from "./button-DD_0Xdmr.js";
|
|
15
|
+
import { D as N } from "./dropdown-menu-CpiF6CPz.js";
|
|
16
|
+
import { E } from "./empty-state-3CLJIXSj.js";
|
|
17
|
+
import { P as ae } from "./plus-CYKNmfuA.js";
|
|
18
|
+
import { G as ne } from "./globe-BkEFMNSg.js";
|
|
19
|
+
import { S as de } from "./square-check-big-Jr-0202D.js";
|
|
20
|
+
import { M as ie } from "./mail-C8irm52s.js";
|
|
21
|
+
import { C as le } from "./clock-21AGPWJ5.js";
|
|
22
|
+
import { C as Me } from "./chevron-up-zOEDrmBB.js";
|
|
23
|
+
import { C as Se } from "./chevron-down-BX_NP2Yh.js";
|
|
24
|
+
import { C as ze } from "./check-DPdL_Sm7.js";
|
|
24
25
|
/**
|
|
25
26
|
* @license lucide-react v1.8.0 - ISC
|
|
26
27
|
*
|
|
27
28
|
* This source code is licensed under the ISC license.
|
|
28
29
|
* See the LICENSE file in the root directory of this source tree.
|
|
29
30
|
*/
|
|
30
|
-
const
|
|
31
|
+
const je = [
|
|
31
32
|
["path", { d: "M10.1 2.182a10 10 0 0 1 3.8 0", key: "5ilxe3" }],
|
|
32
33
|
["path", { d: "M13.9 21.818a10 10 0 0 1-3.8 0", key: "11zvb9" }],
|
|
33
34
|
["path", { d: "M17.609 3.721a10 10 0 0 1 2.69 2.7", key: "1iw5b2" }],
|
|
@@ -36,38 +37,38 @@ const ke = [
|
|
|
36
37
|
["path", { d: "M21.818 10.1a10 10 0 0 1 0 3.8", key: "qkgqxc" }],
|
|
37
38
|
["path", { d: "M3.721 6.391a10 10 0 0 1 2.7-2.69", key: "1mcia2" }],
|
|
38
39
|
["path", { d: "M6.391 20.279a10 10 0 0 1-2.69-2.7", key: "1fvljs" }]
|
|
39
|
-
],
|
|
40
|
+
], Ae = _("circle-dashed", je);
|
|
40
41
|
/**
|
|
41
42
|
* @license lucide-react v1.8.0 - ISC
|
|
42
43
|
*
|
|
43
44
|
* This source code is licensed under the ISC license.
|
|
44
45
|
* See the LICENSE file in the root directory of this source tree.
|
|
45
46
|
*/
|
|
46
|
-
const
|
|
47
|
+
const Ie = [
|
|
47
48
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
48
49
|
["line", { x1: "10", x2: "10", y1: "15", y2: "9", key: "c1nkhi" }],
|
|
49
50
|
["line", { x1: "14", x2: "14", y1: "15", y2: "9", key: "h65svq" }]
|
|
50
|
-
],
|
|
51
|
+
], Te = _("circle-pause", Ie);
|
|
51
52
|
/**
|
|
52
53
|
* @license lucide-react v1.8.0 - ISC
|
|
53
54
|
*
|
|
54
55
|
* This source code is licensed under the ISC license.
|
|
55
56
|
* See the LICENSE file in the root directory of this source tree.
|
|
56
57
|
*/
|
|
57
|
-
const
|
|
58
|
+
const Ee = [
|
|
58
59
|
["path", { d: "M13 5h8", key: "a7qcls" }],
|
|
59
60
|
["path", { d: "M13 12h8", key: "h98zly" }],
|
|
60
61
|
["path", { d: "M13 19h8", key: "c3s6r1" }],
|
|
61
62
|
["path", { d: "m3 17 2 2 4-4", key: "1jhpwq" }],
|
|
62
63
|
["path", { d: "m3 7 2 2 4-4", key: "1obspn" }]
|
|
63
|
-
],
|
|
64
|
+
], Le = _("list-checks", Ee);
|
|
64
65
|
/**
|
|
65
66
|
* @license lucide-react v1.8.0 - ISC
|
|
66
67
|
*
|
|
67
68
|
* This source code is licensed under the ISC license.
|
|
68
69
|
* See the LICENSE file in the root directory of this source tree.
|
|
69
70
|
*/
|
|
70
|
-
const
|
|
71
|
+
const De = [
|
|
71
72
|
[
|
|
72
73
|
"path",
|
|
73
74
|
{
|
|
@@ -75,14 +76,14 @@ const ze = [
|
|
|
75
76
|
key: "1sd12s"
|
|
76
77
|
}
|
|
77
78
|
]
|
|
78
|
-
],
|
|
79
|
+
], ce = _("message-circle", De);
|
|
79
80
|
/**
|
|
80
81
|
* @license lucide-react v1.8.0 - ISC
|
|
81
82
|
*
|
|
82
83
|
* This source code is licensed under the ISC license.
|
|
83
84
|
* See the LICENSE file in the root directory of this source tree.
|
|
84
85
|
*/
|
|
85
|
-
const
|
|
86
|
+
const Ke = [
|
|
86
87
|
[
|
|
87
88
|
"path",
|
|
88
89
|
{
|
|
@@ -91,59 +92,59 @@ const je = [
|
|
|
91
92
|
}
|
|
92
93
|
],
|
|
93
94
|
["path", { d: "m15 5 4 4", key: "1mk7zo" }]
|
|
94
|
-
],
|
|
95
|
+
], U = _("pencil", Ke);
|
|
95
96
|
/**
|
|
96
97
|
* @license lucide-react v1.8.0 - ISC
|
|
97
98
|
*
|
|
98
99
|
* This source code is licensed under the ISC license.
|
|
99
100
|
* See the LICENSE file in the root directory of this source tree.
|
|
100
101
|
*/
|
|
101
|
-
const
|
|
102
|
+
const Be = [
|
|
102
103
|
["path", { d: "M18.36 6.64A9 9 0 0 1 20.77 15", key: "dxknvb" }],
|
|
103
104
|
["path", { d: "M6.16 6.16a9 9 0 1 0 12.68 12.68", key: "1x7qb5" }],
|
|
104
105
|
["path", { d: "M12 2v4", key: "3427ic" }],
|
|
105
106
|
["path", { d: "m2 2 20 20", key: "1ooewy" }]
|
|
106
|
-
],
|
|
107
|
+
], qe = _("power-off", Be);
|
|
107
108
|
/**
|
|
108
109
|
* @license lucide-react v1.8.0 - ISC
|
|
109
110
|
*
|
|
110
111
|
* This source code is licensed under the ISC license.
|
|
111
112
|
* See the LICENSE file in the root directory of this source tree.
|
|
112
113
|
*/
|
|
113
|
-
const
|
|
114
|
+
const Pe = [
|
|
114
115
|
["path", { d: "M12 2v10", key: "mnfbl" }],
|
|
115
116
|
["path", { d: "M18.4 6.6a9 9 0 1 1-12.77.04", key: "obofu9" }]
|
|
116
|
-
],
|
|
117
|
+
], $e = _("power", Pe);
|
|
117
118
|
/**
|
|
118
119
|
* @license lucide-react v1.8.0 - ISC
|
|
119
120
|
*
|
|
120
121
|
* This source code is licensed under the ISC license.
|
|
121
122
|
* See the LICENSE file in the root directory of this source tree.
|
|
122
123
|
*/
|
|
123
|
-
const
|
|
124
|
+
const Re = [
|
|
124
125
|
["rect", { width: "14", height: "20", x: "5", y: "2", rx: "2", ry: "2", key: "1yt0o3" }],
|
|
125
126
|
["path", { d: "M12 18h.01", key: "mhygvu" }]
|
|
126
|
-
],
|
|
127
|
+
], ue = _("smartphone", Re);
|
|
127
128
|
/**
|
|
128
129
|
* @license lucide-react v1.8.0 - ISC
|
|
129
130
|
*
|
|
130
131
|
* This source code is licensed under the ISC license.
|
|
131
132
|
* See the LICENSE file in the root directory of this source tree.
|
|
132
133
|
*/
|
|
133
|
-
const
|
|
134
|
+
const We = [
|
|
134
135
|
["path", { d: "M10 11v6", key: "nco0om" }],
|
|
135
136
|
["path", { d: "M14 11v6", key: "outv1u" }],
|
|
136
137
|
["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
|
|
137
138
|
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
138
139
|
["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
|
|
139
|
-
],
|
|
140
|
+
], fe = _("trash-2", We);
|
|
140
141
|
/**
|
|
141
142
|
* @license lucide-react v1.8.0 - ISC
|
|
142
143
|
*
|
|
143
144
|
* This source code is licensed under the ISC license.
|
|
144
145
|
* See the LICENSE file in the root directory of this source tree.
|
|
145
146
|
*/
|
|
146
|
-
const
|
|
147
|
+
const Fe = [
|
|
147
148
|
["path", { d: "M10 15H6a4 4 0 0 0-4 4v2", key: "1nfge6" }],
|
|
148
149
|
["path", { d: "m14.305 16.53.923-.382", key: "1itpsq" }],
|
|
149
150
|
["path", { d: "m15.228 13.852-.923-.383", key: "eplpkm" }],
|
|
@@ -155,7 +156,7 @@ const Ee = [
|
|
|
155
156
|
["path", { d: "m20.772 16.148.924.383", key: "1g6xey" }],
|
|
156
157
|
["circle", { cx: "18", cy: "15", r: "3", key: "gjjjvw" }],
|
|
157
158
|
["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }]
|
|
158
|
-
],
|
|
159
|
+
], me = _("user-cog", Fe), Ve = L("ds:relative ds:w-full", {
|
|
159
160
|
variants: {
|
|
160
161
|
density: {
|
|
161
162
|
comfortable: "",
|
|
@@ -166,62 +167,63 @@ const Ee = [
|
|
|
166
167
|
density: "comfortable"
|
|
167
168
|
}
|
|
168
169
|
});
|
|
169
|
-
function
|
|
170
|
+
function He(e) {
|
|
170
171
|
switch (e) {
|
|
171
172
|
case "active":
|
|
172
173
|
return {
|
|
173
174
|
badgeVariant: "success",
|
|
174
|
-
icon: /* @__PURE__ */ t(
|
|
175
|
+
icon: /* @__PURE__ */ t(Ne, { className: "ds:fill-current", "aria-hidden": "true" })
|
|
175
176
|
};
|
|
176
177
|
case "paused":
|
|
177
178
|
return {
|
|
178
179
|
badgeVariant: "warning",
|
|
179
|
-
icon: /* @__PURE__ */ t(
|
|
180
|
+
icon: /* @__PURE__ */ t(Te, { "aria-hidden": "true" })
|
|
180
181
|
};
|
|
181
182
|
case "inactive":
|
|
182
183
|
default:
|
|
183
184
|
return {
|
|
184
185
|
badgeVariant: "neutral",
|
|
185
|
-
icon: /* @__PURE__ */ t(
|
|
186
|
+
icon: /* @__PURE__ */ t(Ae, { "aria-hidden": "true" })
|
|
186
187
|
};
|
|
187
188
|
}
|
|
188
189
|
}
|
|
189
|
-
const
|
|
190
|
+
const Oe = O(
|
|
190
191
|
function({
|
|
191
192
|
workflow: s,
|
|
192
193
|
density: r = "comfortable",
|
|
193
|
-
onView:
|
|
194
|
+
onView: o,
|
|
194
195
|
onEdit: i,
|
|
195
196
|
onDelete: n,
|
|
196
|
-
onToggleActive:
|
|
197
|
+
onToggleActive: a,
|
|
197
198
|
className: p
|
|
198
199
|
}, m) {
|
|
199
|
-
const { t:
|
|
200
|
-
|
|
201
|
-
},
|
|
202
|
-
|
|
200
|
+
const { t: c } = z(), d = He(s.status), l = s.status === "active", v = r === "compact", h = (w) => (y) => {
|
|
201
|
+
y.stopPropagation(), w == null || w();
|
|
202
|
+
}, b = /* @__PURE__ */ t(
|
|
203
|
+
be,
|
|
203
204
|
{
|
|
204
205
|
variant: d.badgeVariant,
|
|
205
206
|
leading: d.icon,
|
|
206
207
|
withDot: !1,
|
|
207
|
-
children:
|
|
208
|
+
children: c(`workflow.status.${s.status}`)
|
|
208
209
|
}
|
|
209
|
-
), x =
|
|
210
|
-
return /* @__PURE__ */
|
|
211
|
-
|
|
210
|
+
), x = c("workflow.card.activeEnrollments");
|
|
211
|
+
return /* @__PURE__ */ u(
|
|
212
|
+
C,
|
|
212
213
|
{
|
|
213
214
|
ref: m,
|
|
214
215
|
variant: "default",
|
|
215
|
-
className:
|
|
216
|
+
className: Ve({ density: r, className: p }),
|
|
216
217
|
"data-component": "workflow-card",
|
|
218
|
+
"data-component-id": s.id,
|
|
217
219
|
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:
|
|
220
|
+
/* @__PURE__ */ t(C.Header, { children: /* @__PURE__ */ u("div", { className: "ds:flex ds:items-start ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
221
|
+
/* @__PURE__ */ u("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
222
|
+
/* @__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
223
|
"button",
|
|
222
224
|
{
|
|
223
225
|
type: "button",
|
|
224
|
-
onClick: () =>
|
|
226
|
+
onClick: () => o(s.id),
|
|
225
227
|
className: [
|
|
226
228
|
"ds:text-start ds:font-inherit ds:text-inherit",
|
|
227
229
|
// Inset overlay that turns the whole card into a
|
|
@@ -239,34 +241,34 @@ const $e = P(
|
|
|
239
241
|
children: s.name
|
|
240
242
|
}
|
|
241
243
|
) : s.name }),
|
|
242
|
-
|
|
244
|
+
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
245
|
/* @__PURE__ */ t("span", { children: x }),
|
|
244
246
|
/* @__PURE__ */ t("span", { className: "ds:font-medium ds:text-[color:var(--foreground)]", children: s.stats.activeEnrollments })
|
|
245
247
|
] })
|
|
246
248
|
] }),
|
|
247
|
-
/* @__PURE__ */ t("div", { className: "ds:shrink-0", children:
|
|
249
|
+
/* @__PURE__ */ t("div", { className: "ds:shrink-0", children: b })
|
|
248
250
|
] }) }),
|
|
249
|
-
!
|
|
251
|
+
!v && /* @__PURE__ */ u(C.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
250
252
|
/* @__PURE__ */ t(
|
|
251
|
-
|
|
253
|
+
Z,
|
|
252
254
|
{
|
|
253
|
-
label:
|
|
255
|
+
label: c("workflow.card.activeEnrollments"),
|
|
254
256
|
value: s.stats.activeEnrollments
|
|
255
257
|
}
|
|
256
258
|
),
|
|
257
259
|
/* @__PURE__ */ t(
|
|
258
|
-
|
|
260
|
+
Z,
|
|
259
261
|
{
|
|
260
|
-
label:
|
|
262
|
+
label: c("workflow.card.totalEnrollments"),
|
|
261
263
|
value: s.stats.totalEnrollments
|
|
262
264
|
}
|
|
263
265
|
)
|
|
264
266
|
] }),
|
|
265
|
-
/* @__PURE__ */
|
|
266
|
-
/* @__PURE__ */
|
|
267
|
-
/* @__PURE__ */ t("span", { className: "ds:truncate", title: s.createdBy, children:
|
|
267
|
+
/* @__PURE__ */ u(C.Footer, { className: "ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
268
|
+
/* @__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: [
|
|
269
|
+
/* @__PURE__ */ t("span", { className: "ds:truncate", title: s.createdBy, children: c("workflow.createdBy", { name: s.createdBy }) }),
|
|
268
270
|
s.updatedAt && /* @__PURE__ */ t(
|
|
269
|
-
|
|
271
|
+
xe,
|
|
270
272
|
{
|
|
271
273
|
value: s.updatedAt,
|
|
272
274
|
format: "absolute",
|
|
@@ -276,38 +278,36 @@ const $e = P(
|
|
|
276
278
|
}
|
|
277
279
|
)
|
|
278
280
|
] }),
|
|
279
|
-
/* @__PURE__ */
|
|
281
|
+
/* @__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
282
|
i && /* @__PURE__ */ t(
|
|
281
|
-
|
|
283
|
+
S,
|
|
282
284
|
{
|
|
283
|
-
icon: /* @__PURE__ */ t(
|
|
285
|
+
icon: /* @__PURE__ */ t(U, {}),
|
|
284
286
|
size: "sm",
|
|
285
287
|
intent: "ghost",
|
|
286
|
-
"aria-label":
|
|
288
|
+
"aria-label": c("workflow.card.edit"),
|
|
287
289
|
onClick: h(() => i(s.id))
|
|
288
290
|
}
|
|
289
291
|
),
|
|
290
|
-
|
|
291
|
-
|
|
292
|
+
a && /* @__PURE__ */ t(
|
|
293
|
+
S,
|
|
292
294
|
{
|
|
293
|
-
icon: l ? /* @__PURE__ */ t(
|
|
295
|
+
icon: l ? /* @__PURE__ */ t(qe, {}) : /* @__PURE__ */ t($e, {}),
|
|
294
296
|
size: "sm",
|
|
295
297
|
intent: "ghost",
|
|
296
|
-
"aria-label":
|
|
298
|
+
"aria-label": c(
|
|
297
299
|
l ? "workflow.card.deactivate" : "workflow.card.activate"
|
|
298
300
|
),
|
|
299
|
-
onClick: h(
|
|
300
|
-
() => o(s.id, !l)
|
|
301
|
-
)
|
|
301
|
+
onClick: h(() => a(s.id, !l))
|
|
302
302
|
}
|
|
303
303
|
),
|
|
304
304
|
n && /* @__PURE__ */ t(
|
|
305
|
-
|
|
305
|
+
S,
|
|
306
306
|
{
|
|
307
|
-
icon: /* @__PURE__ */ t(
|
|
307
|
+
icon: /* @__PURE__ */ t(fe, {}),
|
|
308
308
|
size: "sm",
|
|
309
309
|
intent: "destructive",
|
|
310
|
-
"aria-label":
|
|
310
|
+
"aria-label": c("workflow.card.delete"),
|
|
311
311
|
onClick: h(() => n(s.id))
|
|
312
312
|
}
|
|
313
313
|
)
|
|
@@ -318,55 +318,136 @@ const $e = P(
|
|
|
318
318
|
);
|
|
319
319
|
}
|
|
320
320
|
);
|
|
321
|
-
|
|
322
|
-
|
|
321
|
+
Oe.displayName = "WorkflowCard";
|
|
322
|
+
const Rt = {
|
|
323
|
+
id: "workflow-card",
|
|
324
|
+
capabilities: ["navigate"],
|
|
325
|
+
state: {},
|
|
326
|
+
actions: {},
|
|
327
|
+
domHooks: {
|
|
328
|
+
root: {
|
|
329
|
+
attr: "data-component",
|
|
330
|
+
value: "workflow-card",
|
|
331
|
+
description: "Marks a Workflow summary card. Presentational — actions are owned by the host pattern."
|
|
332
|
+
},
|
|
333
|
+
instanceId: {
|
|
334
|
+
attr: "data-component-id",
|
|
335
|
+
sourceProp: "id",
|
|
336
|
+
description: "Sourced from the id prop."
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}, Wt = {
|
|
340
|
+
id: "workflow-map",
|
|
341
|
+
capabilities: ["navigate"],
|
|
342
|
+
state: {},
|
|
343
|
+
actions: {},
|
|
344
|
+
domHooks: {
|
|
345
|
+
root: {
|
|
346
|
+
attr: "data-component",
|
|
347
|
+
value: "workflow-map",
|
|
348
|
+
description: "Marks a Workflow map (linear visualisation). Presentational."
|
|
349
|
+
},
|
|
350
|
+
instanceId: {
|
|
351
|
+
attr: "data-component-id",
|
|
352
|
+
sourceProp: "id",
|
|
353
|
+
description: "Sourced from the id prop."
|
|
354
|
+
},
|
|
355
|
+
item: {
|
|
356
|
+
attr: "data-node-id",
|
|
357
|
+
description: "Stable opaque workflow node id emitted on each step."
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}, Ue = {
|
|
361
|
+
id: "workflow-editor",
|
|
362
|
+
capabilities: ["navigate", "expand"],
|
|
363
|
+
state: {
|
|
364
|
+
totalSteps: {
|
|
365
|
+
type: "number",
|
|
366
|
+
descriptionKey: "ui.agent.workflowEditor.state.totalSteps",
|
|
367
|
+
description: "Total number of nodes currently in the workflow graph.",
|
|
368
|
+
read: (e) => e.getTotalSteps()
|
|
369
|
+
},
|
|
370
|
+
currentStep: {
|
|
371
|
+
type: "string | null",
|
|
372
|
+
descriptionKey: "ui.agent.workflowEditor.state.currentStep",
|
|
373
|
+
description: "Opaque node id of the currently-focused step, or null.",
|
|
374
|
+
read: (e) => e.getCurrentStep()
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
actions: {
|
|
378
|
+
goto_step: {
|
|
379
|
+
safety: "read",
|
|
380
|
+
argsType: "{ id: string }",
|
|
381
|
+
descriptionKey: "ui.agent.workflowEditor.actions.gotoStep",
|
|
382
|
+
description: "Focus a node by its opaque id.",
|
|
383
|
+
invoke: (e, s) => {
|
|
384
|
+
e.gotoStep(s.id);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
domHooks: {
|
|
389
|
+
root: {
|
|
390
|
+
attr: "data-component",
|
|
391
|
+
value: "workflow-editor",
|
|
392
|
+
description: "Marks the WorkflowEditor surface."
|
|
393
|
+
},
|
|
394
|
+
instanceId: {
|
|
395
|
+
attr: "data-component-id",
|
|
396
|
+
sourceProp: "id",
|
|
397
|
+
description: "Sourced from the id prop."
|
|
398
|
+
},
|
|
399
|
+
item: {
|
|
400
|
+
attr: "data-node-id",
|
|
401
|
+
description: "Stable opaque workflow node id emitted on each node card."
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
};
|
|
405
|
+
function G(e) {
|
|
323
406
|
if (e.nodes.length === 0) return [];
|
|
324
|
-
const s = e.edges.filter(
|
|
325
|
-
(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])), o = /* @__PURE__ */ new Map();
|
|
407
|
+
const s = e.edges.filter((d) => d.condition == null), 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
408
|
for (const d of s) {
|
|
328
|
-
const l =
|
|
329
|
-
l.push(d),
|
|
409
|
+
const l = a.get(d.from) ?? [];
|
|
410
|
+
l.push(d), a.set(d.from, l);
|
|
330
411
|
}
|
|
331
412
|
const p = /* @__PURE__ */ new Set(), m = [];
|
|
332
|
-
let
|
|
333
|
-
for (;
|
|
334
|
-
p.add(
|
|
335
|
-
const d =
|
|
413
|
+
let c = i;
|
|
414
|
+
for (; c && !p.has(c.id); ) {
|
|
415
|
+
p.add(c.id), m.push(c);
|
|
416
|
+
const d = a.get(c.id) ?? [];
|
|
336
417
|
d.length > 1 && typeof console < "u" && console.warn(
|
|
337
|
-
`[workflow] node ${
|
|
338
|
-
),
|
|
418
|
+
`[workflow] node ${c.id} has ${d.length} outgoing linear edges; v1 walks the first only.`
|
|
419
|
+
), c = d[0] ? n.get(d[0].to) : void 0;
|
|
339
420
|
}
|
|
340
421
|
for (const d of e.nodes)
|
|
341
422
|
p.has(d.id) || m.push(d);
|
|
342
423
|
return m;
|
|
343
424
|
}
|
|
344
|
-
function
|
|
345
|
-
const
|
|
425
|
+
function H(e, s, r) {
|
|
426
|
+
const o = [...e.nodes, r];
|
|
346
427
|
if (s === null) {
|
|
347
|
-
const
|
|
348
|
-
return
|
|
349
|
-
nodes:
|
|
428
|
+
const a = e.nodes[0];
|
|
429
|
+
return a ? {
|
|
430
|
+
nodes: o,
|
|
350
431
|
edges: [
|
|
351
|
-
{ from: r.id, to:
|
|
432
|
+
{ from: r.id, to: a.id, condition: null },
|
|
352
433
|
...e.edges
|
|
353
434
|
]
|
|
354
|
-
} : { nodes:
|
|
435
|
+
} : { nodes: o, edges: [] };
|
|
355
436
|
}
|
|
356
437
|
const i = e.edges.find(
|
|
357
|
-
(
|
|
438
|
+
(a) => a.from === s && a.condition == null
|
|
358
439
|
);
|
|
359
440
|
if (!i)
|
|
360
441
|
return {
|
|
361
|
-
nodes:
|
|
442
|
+
nodes: o,
|
|
362
443
|
edges: [
|
|
363
444
|
...e.edges,
|
|
364
445
|
{ from: s, to: r.id, condition: null }
|
|
365
446
|
]
|
|
366
447
|
};
|
|
367
|
-
const n = e.edges.filter((
|
|
448
|
+
const n = e.edges.filter((a) => a !== i);
|
|
368
449
|
return {
|
|
369
|
-
nodes:
|
|
450
|
+
nodes: o,
|
|
370
451
|
edges: [
|
|
371
452
|
...n,
|
|
372
453
|
{ from: s, to: r.id, condition: null },
|
|
@@ -374,34 +455,29 @@ function F(e, s, r) {
|
|
|
374
455
|
]
|
|
375
456
|
};
|
|
376
457
|
}
|
|
377
|
-
function
|
|
458
|
+
function ee(e, s) {
|
|
378
459
|
const r = e.edges.find(
|
|
379
|
-
(
|
|
380
|
-
),
|
|
381
|
-
(
|
|
382
|
-
), i = e.edges.filter(
|
|
383
|
-
(o) => o.from !== s && o.to !== s
|
|
384
|
-
), n = r && a ? [
|
|
385
|
-
...i,
|
|
386
|
-
{ from: r.from, to: a.to, condition: null }
|
|
387
|
-
] : i;
|
|
460
|
+
(a) => a.to === s && a.condition == null
|
|
461
|
+
), o = e.edges.find(
|
|
462
|
+
(a) => a.from === s && a.condition == null
|
|
463
|
+
), i = e.edges.filter((a) => a.from !== s && a.to !== s), n = r && o ? [...i, { from: r.from, to: o.to, condition: null }] : i;
|
|
388
464
|
return {
|
|
389
|
-
nodes: e.nodes.filter((
|
|
465
|
+
nodes: e.nodes.filter((a) => a.id !== s),
|
|
390
466
|
edges: n
|
|
391
467
|
};
|
|
392
468
|
}
|
|
393
|
-
function
|
|
469
|
+
function Ge(e, s, r) {
|
|
394
470
|
var h;
|
|
395
|
-
const
|
|
471
|
+
const o = G(e), i = o.findIndex((b) => b.id === s);
|
|
396
472
|
if (i === -1) return e;
|
|
397
473
|
const n = r === "up" ? i - 1 : i + 1;
|
|
398
|
-
if (n < 0 || n >=
|
|
399
|
-
const
|
|
400
|
-
if (!
|
|
401
|
-
const m =
|
|
402
|
-
return
|
|
474
|
+
if (n < 0 || n >= o.length) return e;
|
|
475
|
+
const a = o[i], p = o[n];
|
|
476
|
+
if (!a || !p) return e;
|
|
477
|
+
const m = ee(ee(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 = H(m, l, c);
|
|
478
|
+
return H(v, c.id, d);
|
|
403
479
|
}
|
|
404
|
-
const
|
|
480
|
+
const Ye = /* @__PURE__ */ new Set([
|
|
405
481
|
"dateOfBirth",
|
|
406
482
|
"date_of_birth",
|
|
407
483
|
"firstName",
|
|
@@ -421,8 +497,8 @@ const Re = /* @__PURE__ */ new Set([
|
|
|
421
497
|
"address",
|
|
422
498
|
"id"
|
|
423
499
|
]);
|
|
424
|
-
function
|
|
425
|
-
return
|
|
500
|
+
function Je(e) {
|
|
501
|
+
return Ye.has(e);
|
|
426
502
|
}
|
|
427
503
|
const D = {
|
|
428
504
|
add_delay: {
|
|
@@ -453,39 +529,39 @@ const D = {
|
|
|
453
529
|
labelKey: "workflow.action.webhook",
|
|
454
530
|
iconName: "Globe"
|
|
455
531
|
}
|
|
456
|
-
},
|
|
457
|
-
Clock:
|
|
458
|
-
Mail:
|
|
459
|
-
Smartphone:
|
|
460
|
-
CheckSquare:
|
|
461
|
-
MessageCircle:
|
|
462
|
-
UserCog:
|
|
463
|
-
Globe:
|
|
532
|
+
}, Qe = {
|
|
533
|
+
Clock: le,
|
|
534
|
+
Mail: ie,
|
|
535
|
+
Smartphone: ue,
|
|
536
|
+
CheckSquare: de,
|
|
537
|
+
MessageCircle: ce,
|
|
538
|
+
UserCog: me,
|
|
539
|
+
Globe: ne
|
|
464
540
|
};
|
|
465
|
-
function
|
|
541
|
+
function Y({
|
|
466
542
|
iconName: e,
|
|
467
543
|
className: s
|
|
468
544
|
}) {
|
|
469
|
-
const r =
|
|
545
|
+
const r = Qe[e];
|
|
470
546
|
return /* @__PURE__ */ t(r, { "aria-hidden": "true", className: s ?? "ds:size-4" });
|
|
471
547
|
}
|
|
472
|
-
const
|
|
473
|
-
function
|
|
548
|
+
const Xe = 40, Ze = 60;
|
|
549
|
+
function te(e, s) {
|
|
474
550
|
return e.length <= s ? e : `${e.slice(0, s - 1)}…`;
|
|
475
551
|
}
|
|
476
|
-
function
|
|
552
|
+
function et(e, s) {
|
|
477
553
|
switch (e.kind) {
|
|
478
554
|
case "add_delay": {
|
|
479
|
-
const r = e.days ?? 0,
|
|
480
|
-
return { text:
|
|
555
|
+
const r = e.days ?? 0, o = s("workflow.delay.summary", { count: r });
|
|
556
|
+
return { text: o, full: o };
|
|
481
557
|
}
|
|
482
558
|
case "send_email": {
|
|
483
559
|
const r = e.subject ?? "", i = `${s("workflow.action.sendEmail")}: ${r}`;
|
|
484
|
-
return { text:
|
|
560
|
+
return { text: te(i, Xe), full: i };
|
|
485
561
|
}
|
|
486
562
|
case "send_sms": {
|
|
487
563
|
const r = e.body ?? "";
|
|
488
|
-
return { text:
|
|
564
|
+
return { text: te(r, Ze), full: r };
|
|
489
565
|
}
|
|
490
566
|
case "create_task": {
|
|
491
567
|
const r = e.title ?? "";
|
|
@@ -499,12 +575,12 @@ function Oe(e, s) {
|
|
|
499
575
|
return null;
|
|
500
576
|
}
|
|
501
577
|
}
|
|
502
|
-
const
|
|
578
|
+
const se = [
|
|
503
579
|
"ds:flex ds:flex-col",
|
|
504
580
|
"ds:w-full",
|
|
505
581
|
"ds:text-start",
|
|
506
582
|
"ds:gap-[var(--spacing-sm)]"
|
|
507
|
-
].join(" "),
|
|
583
|
+
].join(" "), F = [
|
|
508
584
|
"ds:block",
|
|
509
585
|
"ds:self-start",
|
|
510
586
|
"ds:h-[var(--spacing-md)]",
|
|
@@ -512,7 +588,7 @@ const Q = [
|
|
|
512
588
|
"ds:border-inline-start-[var(--border-width-hairline)]",
|
|
513
589
|
"ds:border-solid",
|
|
514
590
|
"ds:border-[color:var(--border)]"
|
|
515
|
-
].join(" "),
|
|
591
|
+
].join(" "), tt = [
|
|
516
592
|
"ds:inline-flex ds:items-center ds:justify-center ds:gap-[var(--spacing-xs)]",
|
|
517
593
|
"ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
|
|
518
594
|
"ds:rounded-[var(--radius-full)]",
|
|
@@ -527,21 +603,21 @@ const Q = [
|
|
|
527
603
|
"ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
528
604
|
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
529
605
|
"ds:disabled:opacity-50 ds:disabled:cursor-not-allowed"
|
|
530
|
-
].join(" "),
|
|
606
|
+
].join(" "), st = [
|
|
531
607
|
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
532
608
|
"ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
533
609
|
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
534
610
|
"ds:rounded-[var(--radius-lg)]"
|
|
535
|
-
].join(" "),
|
|
611
|
+
].join(" "), rt = Object.keys(
|
|
536
612
|
D
|
|
537
613
|
);
|
|
538
|
-
let
|
|
539
|
-
function
|
|
540
|
-
|
|
614
|
+
let re = 0;
|
|
615
|
+
function ot() {
|
|
616
|
+
re += 1;
|
|
541
617
|
const e = Math.random().toString(36).slice(2, 8);
|
|
542
|
-
return `wf-node-${Date.now()}-${
|
|
618
|
+
return `wf-node-${Date.now()}-${re}-${e}`;
|
|
543
619
|
}
|
|
544
|
-
function
|
|
620
|
+
function at(e) {
|
|
545
621
|
switch (e) {
|
|
546
622
|
case "add_delay":
|
|
547
623
|
return { kind: "add_delay", days: 1 };
|
|
@@ -564,279 +640,287 @@ function Je(e) {
|
|
|
564
640
|
return { kind: "webhook", url: "", method: "POST" };
|
|
565
641
|
}
|
|
566
642
|
}
|
|
567
|
-
function
|
|
568
|
-
const s =
|
|
569
|
-
s.current =
|
|
643
|
+
function nt(e = 0) {
|
|
644
|
+
const s = j(e), r = W((o) => {
|
|
645
|
+
s.current = o;
|
|
570
646
|
}, []);
|
|
571
647
|
return [s, r];
|
|
572
648
|
}
|
|
573
|
-
function
|
|
649
|
+
function dt({
|
|
574
650
|
node: e,
|
|
575
651
|
position: s,
|
|
576
652
|
total: r,
|
|
577
|
-
disabled:
|
|
653
|
+
disabled: o,
|
|
578
654
|
onEdit: i,
|
|
579
655
|
onDelete: n,
|
|
580
|
-
onMove:
|
|
656
|
+
onMove: a,
|
|
581
657
|
registerRef: p
|
|
582
658
|
}) {
|
|
583
|
-
const { t: m } = z(),
|
|
584
|
-
(
|
|
585
|
-
var
|
|
586
|
-
const
|
|
659
|
+
const { t: m } = z(), c = D[e.type], d = j(null), [l, v] = nt(0), h = W(
|
|
660
|
+
(g) => {
|
|
661
|
+
var q, P;
|
|
662
|
+
const M = (q = d.current) == null ? void 0 : q.querySelectorAll(
|
|
587
663
|
"button[data-wf-control]:not([disabled])"
|
|
588
664
|
);
|
|
589
|
-
if (!
|
|
590
|
-
const
|
|
591
|
-
(
|
|
665
|
+
if (!M || M.length === 0) return;
|
|
666
|
+
const B = Math.max(0, Math.min(g, M.length - 1));
|
|
667
|
+
(P = M[B]) == null || P.focus(), v(B);
|
|
592
668
|
},
|
|
593
|
-
[
|
|
594
|
-
),
|
|
595
|
-
|
|
596
|
-
}, x = (
|
|
597
|
-
|
|
598
|
-
},
|
|
669
|
+
[v]
|
|
670
|
+
), b = (g) => {
|
|
671
|
+
g.target === g.currentTarget && (g.key === "ArrowRight" || g.key === "ArrowDown") && (g.preventDefault(), h(0));
|
|
672
|
+
}, x = (g) => {
|
|
673
|
+
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));
|
|
674
|
+
}, w = et(e.settings, m), y = m(c.labelKey), A = s > 0, I = s < r - 1, K = m("workflow.editor.position", {
|
|
599
675
|
current: s + 1,
|
|
600
676
|
total: r
|
|
601
|
-
}),
|
|
602
|
-
type:
|
|
677
|
+
}), T = m("workflow.editor.nodeAriaLabel", {
|
|
678
|
+
type: y,
|
|
603
679
|
current: s + 1,
|
|
604
680
|
total: r
|
|
605
681
|
});
|
|
606
|
-
return
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
682
|
+
return (
|
|
683
|
+
// eslint-disable-next-line jsx-a11y/no-static-element-interactions -- node card is keyboard-actionable via roving tabindex; pipeline keys handled in onKeyDown
|
|
684
|
+
/* @__PURE__ */ t(
|
|
685
|
+
"div",
|
|
686
|
+
{
|
|
687
|
+
ref: (g) => p(e.id, g),
|
|
688
|
+
tabIndex: o ? -1 : 0,
|
|
689
|
+
onKeyDown: b,
|
|
690
|
+
"aria-label": T,
|
|
691
|
+
"data-node-id": e.id,
|
|
692
|
+
className: st,
|
|
693
|
+
children: /* @__PURE__ */ u(C, { variant: "outlined", children: [
|
|
694
|
+
/* @__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: [
|
|
695
|
+
/* @__PURE__ */ t(
|
|
696
|
+
"span",
|
|
697
|
+
{
|
|
698
|
+
"aria-hidden": "true",
|
|
699
|
+
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)]",
|
|
700
|
+
children: /* @__PURE__ */ t(Y, { iconName: c.iconName, className: "ds:size-4" })
|
|
701
|
+
}
|
|
702
|
+
),
|
|
703
|
+
/* @__PURE__ */ u("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col", children: [
|
|
704
|
+
/* @__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 }),
|
|
705
|
+
/* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-xs)] ds:text-[color:var(--muted-foreground)]", children: K })
|
|
706
|
+
] }),
|
|
707
|
+
/* @__PURE__ */ u(
|
|
708
|
+
"div",
|
|
709
|
+
{
|
|
710
|
+
ref: d,
|
|
711
|
+
onKeyDown: x,
|
|
712
|
+
className: "ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)] ds:ms-auto",
|
|
713
|
+
children: [
|
|
714
|
+
i ? /* @__PURE__ */ t(
|
|
715
|
+
S,
|
|
716
|
+
{
|
|
717
|
+
"data-wf-control": "edit",
|
|
718
|
+
icon: /* @__PURE__ */ t(U, {}),
|
|
719
|
+
size: "sm",
|
|
720
|
+
intent: "ghost",
|
|
721
|
+
disabled: o,
|
|
722
|
+
tabIndex: -1,
|
|
723
|
+
"aria-label": m("workflow.editor.editAction"),
|
|
724
|
+
onClick: () => i(e.id)
|
|
725
|
+
}
|
|
726
|
+
) : null,
|
|
727
|
+
/* @__PURE__ */ t(
|
|
728
|
+
S,
|
|
729
|
+
{
|
|
730
|
+
"data-wf-control": "up",
|
|
731
|
+
icon: /* @__PURE__ */ t(Me, {}),
|
|
732
|
+
size: "sm",
|
|
733
|
+
intent: "ghost",
|
|
734
|
+
disabled: o || !A,
|
|
735
|
+
tabIndex: -1,
|
|
736
|
+
"aria-label": m("workflow.editor.moveUp"),
|
|
737
|
+
onClick: () => a(e.id, "up")
|
|
738
|
+
}
|
|
739
|
+
),
|
|
740
|
+
/* @__PURE__ */ t(
|
|
741
|
+
S,
|
|
742
|
+
{
|
|
743
|
+
"data-wf-control": "down",
|
|
744
|
+
icon: /* @__PURE__ */ t(Se, {}),
|
|
745
|
+
size: "sm",
|
|
746
|
+
intent: "ghost",
|
|
747
|
+
disabled: o || !I,
|
|
748
|
+
tabIndex: -1,
|
|
749
|
+
"aria-label": m("workflow.editor.moveDown"),
|
|
750
|
+
onClick: () => a(e.id, "down")
|
|
751
|
+
}
|
|
752
|
+
),
|
|
753
|
+
n ? /* @__PURE__ */ t(
|
|
754
|
+
S,
|
|
755
|
+
{
|
|
756
|
+
"data-wf-control": "delete",
|
|
757
|
+
icon: /* @__PURE__ */ t(fe, {}),
|
|
758
|
+
size: "sm",
|
|
759
|
+
intent: "destructive",
|
|
760
|
+
disabled: o,
|
|
761
|
+
tabIndex: -1,
|
|
762
|
+
"aria-label": m("workflow.editor.deleteAction"),
|
|
763
|
+
onClick: () => n(e.id)
|
|
764
|
+
}
|
|
765
|
+
) : null
|
|
766
|
+
]
|
|
767
|
+
}
|
|
768
|
+
)
|
|
769
|
+
] }) }),
|
|
770
|
+
w ? /* @__PURE__ */ t(C.Body, { className: "ds:pt-0", children: /* @__PURE__ */ t(
|
|
771
|
+
"p",
|
|
630
772
|
{
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
children: [
|
|
635
|
-
i ? /* @__PURE__ */ t(
|
|
636
|
-
M,
|
|
637
|
-
{
|
|
638
|
-
"data-wf-control": "edit",
|
|
639
|
-
icon: /* @__PURE__ */ t(O, {}),
|
|
640
|
-
size: "sm",
|
|
641
|
-
intent: "ghost",
|
|
642
|
-
disabled: a,
|
|
643
|
-
tabIndex: -1,
|
|
644
|
-
"aria-label": m("workflow.editor.editAction"),
|
|
645
|
-
onClick: () => i(e.id)
|
|
646
|
-
}
|
|
647
|
-
) : null,
|
|
648
|
-
/* @__PURE__ */ t(
|
|
649
|
-
M,
|
|
650
|
-
{
|
|
651
|
-
"data-wf-control": "up",
|
|
652
|
-
icon: /* @__PURE__ */ t(ye, {}),
|
|
653
|
-
size: "sm",
|
|
654
|
-
intent: "ghost",
|
|
655
|
-
disabled: a || !j,
|
|
656
|
-
tabIndex: -1,
|
|
657
|
-
"aria-label": m("workflow.editor.moveUp"),
|
|
658
|
-
onClick: () => o(e.id, "up")
|
|
659
|
-
}
|
|
660
|
-
),
|
|
661
|
-
/* @__PURE__ */ t(
|
|
662
|
-
M,
|
|
663
|
-
{
|
|
664
|
-
"data-wf-control": "down",
|
|
665
|
-
icon: /* @__PURE__ */ t(be, {}),
|
|
666
|
-
size: "sm",
|
|
667
|
-
intent: "ghost",
|
|
668
|
-
disabled: a || !A,
|
|
669
|
-
tabIndex: -1,
|
|
670
|
-
"aria-label": m("workflow.editor.moveDown"),
|
|
671
|
-
onClick: () => o(e.id, "down")
|
|
672
|
-
}
|
|
673
|
-
),
|
|
674
|
-
n ? /* @__PURE__ */ t(
|
|
675
|
-
M,
|
|
676
|
-
{
|
|
677
|
-
"data-wf-control": "delete",
|
|
678
|
-
icon: /* @__PURE__ */ t(de, {}),
|
|
679
|
-
size: "sm",
|
|
680
|
-
intent: "destructive",
|
|
681
|
-
disabled: a,
|
|
682
|
-
tabIndex: -1,
|
|
683
|
-
"aria-label": m("workflow.editor.deleteAction"),
|
|
684
|
-
onClick: () => n(e.id)
|
|
685
|
-
}
|
|
686
|
-
) : null
|
|
687
|
-
]
|
|
773
|
+
className: "ds:text-[length:var(--font-size-sm)] ds:text-[color:var(--muted-foreground)] ds:[overflow-wrap:anywhere] ds:break-words",
|
|
774
|
+
title: w.full,
|
|
775
|
+
children: w.text
|
|
688
776
|
}
|
|
689
|
-
)
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
className: "ds:text-[length:var(--font-size-sm)] ds:text-[color:var(--muted-foreground)] ds:[overflow-wrap:anywhere] ds:break-words",
|
|
695
|
-
title: v.full,
|
|
696
|
-
children: v.text
|
|
697
|
-
}
|
|
698
|
-
) }) : null,
|
|
699
|
-
e.settings.kind === "update_patient_field" && Ve(e.settings.fieldId) ? /* @__PURE__ */ t(_.Body, { className: "ds:pt-0", children: /* @__PURE__ */ t(
|
|
700
|
-
W,
|
|
701
|
-
{
|
|
702
|
-
variant: "error",
|
|
703
|
-
"data-testid": "workflow-editor-invalid-field",
|
|
704
|
-
children: m("workflow.editor.invalidField")
|
|
705
|
-
}
|
|
706
|
-
) }) : null
|
|
707
|
-
] })
|
|
708
|
-
}
|
|
777
|
+
) }) : null,
|
|
778
|
+
e.settings.kind === "update_patient_field" && Je(e.settings.fieldId) ? /* @__PURE__ */ t(C.Body, { className: "ds:pt-0", children: /* @__PURE__ */ t(V, { variant: "error", "data-testid": "workflow-editor-invalid-field", children: m("workflow.editor.invalidField") }) }) : null
|
|
779
|
+
] })
|
|
780
|
+
}
|
|
781
|
+
)
|
|
709
782
|
);
|
|
710
783
|
}
|
|
711
|
-
function
|
|
784
|
+
function oe({
|
|
712
785
|
availableActions: e,
|
|
713
786
|
onSelect: s,
|
|
714
787
|
disabled: r,
|
|
715
|
-
label:
|
|
788
|
+
label: o,
|
|
716
789
|
compact: i = !0
|
|
717
790
|
}) {
|
|
718
791
|
const { t: n } = z();
|
|
719
|
-
return /* @__PURE__ */
|
|
720
|
-
/* @__PURE__ */ t(N.Trigger, { asChild: !0, children: /* @__PURE__ */
|
|
792
|
+
return /* @__PURE__ */ u(N.Root, { children: [
|
|
793
|
+
/* @__PURE__ */ t(N.Trigger, { asChild: !0, children: /* @__PURE__ */ u(
|
|
721
794
|
"button",
|
|
722
795
|
{
|
|
723
796
|
type: "button",
|
|
724
797
|
disabled: r,
|
|
725
|
-
"aria-label":
|
|
726
|
-
className:
|
|
798
|
+
"aria-label": o,
|
|
799
|
+
className: tt,
|
|
727
800
|
children: [
|
|
728
|
-
/* @__PURE__ */ t(
|
|
729
|
-
i ? null : /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)]", children:
|
|
801
|
+
/* @__PURE__ */ t(ae, { "aria-hidden": "true", className: "ds:size-4" }),
|
|
802
|
+
i ? null : /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)]", children: o })
|
|
730
803
|
]
|
|
731
804
|
}
|
|
732
805
|
) }),
|
|
733
|
-
/* @__PURE__ */
|
|
806
|
+
/* @__PURE__ */ u(N.Content, { align: "start", sideOffset: 6, children: [
|
|
734
807
|
/* @__PURE__ */ t(N.Label, { children: n("workflow.editor.addAction") }),
|
|
735
|
-
e.map((
|
|
736
|
-
const p = D[
|
|
808
|
+
e.map((a) => {
|
|
809
|
+
const p = D[a];
|
|
737
810
|
return /* @__PURE__ */ t(
|
|
738
811
|
N.Item,
|
|
739
812
|
{
|
|
740
|
-
startIcon: /* @__PURE__ */ t(
|
|
741
|
-
onSelect: () => s(
|
|
813
|
+
startIcon: /* @__PURE__ */ t(Y, { iconName: p.iconName }),
|
|
814
|
+
onSelect: () => s(a),
|
|
742
815
|
children: n(p.labelKey)
|
|
743
816
|
},
|
|
744
|
-
|
|
817
|
+
a
|
|
745
818
|
);
|
|
746
819
|
})
|
|
747
820
|
] })
|
|
748
821
|
] });
|
|
749
822
|
}
|
|
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:
|
|
823
|
+
function it({ criteria: e, onEdit: s, disabled: r }) {
|
|
824
|
+
const { t: o } = z(), i = (e == null ? void 0 : e.ruleCount) ?? 0, n = i > 0 ? o("workflow.editor.criteriaCount", { count: i }) : o("workflow.editor.noCriteria");
|
|
825
|
+
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: [
|
|
826
|
+
/* @__PURE__ */ u("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col", children: [
|
|
827
|
+
/* @__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
828
|
/* @__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
829
|
] }),
|
|
757
830
|
s ? /* @__PURE__ */ t(
|
|
758
|
-
|
|
831
|
+
S,
|
|
759
832
|
{
|
|
760
|
-
icon: /* @__PURE__ */ t(
|
|
833
|
+
icon: /* @__PURE__ */ t(U, {}),
|
|
761
834
|
size: "sm",
|
|
762
835
|
intent: "ghost",
|
|
763
836
|
disabled: r,
|
|
764
|
-
"aria-label":
|
|
837
|
+
"aria-label": o("workflow.editor.editCriteria"),
|
|
765
838
|
onClick: s
|
|
766
839
|
}
|
|
767
840
|
) : null
|
|
768
841
|
] }) }) });
|
|
769
842
|
}
|
|
770
|
-
const
|
|
843
|
+
const lt = O(
|
|
771
844
|
function({
|
|
772
845
|
graph: s,
|
|
773
846
|
onChange: r,
|
|
774
|
-
enrollmentCriteria:
|
|
847
|
+
enrollmentCriteria: o,
|
|
775
848
|
onEditEnrollmentCriteria: i,
|
|
776
849
|
isActive: n = !1,
|
|
777
|
-
availableActions:
|
|
850
|
+
availableActions: a,
|
|
778
851
|
onEditNode: p,
|
|
779
852
|
onDeleteNode: m,
|
|
780
|
-
className:
|
|
853
|
+
className: c
|
|
781
854
|
}, d) {
|
|
782
|
-
const { t: l } = z(),
|
|
855
|
+
const { t: l } = z(), v = a ?? rt, h = R(() => G(s), [s]), b = j(/* @__PURE__ */ new Map()), x = j(null), w = W(
|
|
783
856
|
(f) => {
|
|
784
857
|
n || r(f);
|
|
785
858
|
},
|
|
786
859
|
[n, r]
|
|
787
|
-
),
|
|
788
|
-
(f,
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
860
|
+
), y = W((f, k) => {
|
|
861
|
+
k ? b.current.set(f, k) : b.current.delete(f);
|
|
862
|
+
}, []), [A, I] = ge(null), K = j(null);
|
|
863
|
+
K.current = A;
|
|
864
|
+
const T = j(null);
|
|
865
|
+
ke(d, () => T.current, []);
|
|
866
|
+
const g = R(
|
|
867
|
+
() => ({
|
|
868
|
+
getTotalSteps: () => h.length,
|
|
869
|
+
getCurrentStep: () => K.current,
|
|
870
|
+
gotoStep: (f) => {
|
|
871
|
+
const k = b.current.get(f);
|
|
872
|
+
k && (k.focus(), I(f));
|
|
873
|
+
}
|
|
874
|
+
}),
|
|
875
|
+
[h.length]
|
|
792
876
|
);
|
|
793
|
-
|
|
877
|
+
Ce(Ue, g, void 0), ye(() => {
|
|
794
878
|
const f = x.current;
|
|
795
879
|
if (!f) return;
|
|
796
|
-
const
|
|
797
|
-
|
|
880
|
+
const k = b.current.get(f);
|
|
881
|
+
k && (k.focus(), x.current = null);
|
|
798
882
|
});
|
|
799
|
-
const
|
|
883
|
+
const M = (f, k) => {
|
|
800
884
|
if (n) return;
|
|
801
|
-
const
|
|
802
|
-
id:
|
|
803
|
-
type:
|
|
804
|
-
settings:
|
|
885
|
+
const $ = {
|
|
886
|
+
id: ot(),
|
|
887
|
+
type: k,
|
|
888
|
+
settings: at(k)
|
|
805
889
|
};
|
|
806
|
-
x.current =
|
|
807
|
-
},
|
|
808
|
-
n || (x.current = f,
|
|
809
|
-
}, $ = (f) => {
|
|
810
|
-
n || !p || p(f);
|
|
890
|
+
x.current = $.id, w(H(s, f, $));
|
|
891
|
+
}, B = (f, k) => {
|
|
892
|
+
n || (x.current = f, w(Ge(s, f, k)));
|
|
811
893
|
}, q = (f) => {
|
|
894
|
+
n || !p || p(f);
|
|
895
|
+
}, P = (f) => {
|
|
812
896
|
n || !m || m(f);
|
|
813
|
-
},
|
|
897
|
+
}, J = () => n ? /* @__PURE__ */ t(V, { variant: "warning", children: /* @__PURE__ */ t(V.Title, { as: "p", children: l("workflow.editor.activeLock") }) }) : null, Q = () => o || i ? /* @__PURE__ */ u(ve, { children: [
|
|
814
898
|
/* @__PURE__ */ t(
|
|
815
|
-
|
|
899
|
+
it,
|
|
816
900
|
{
|
|
817
|
-
criteria:
|
|
901
|
+
criteria: o,
|
|
818
902
|
onEdit: i,
|
|
819
903
|
disabled: n
|
|
820
904
|
}
|
|
821
905
|
),
|
|
822
|
-
/* @__PURE__ */ t("span", { "aria-hidden": "true", className:
|
|
823
|
-
] }) : null,
|
|
824
|
-
return
|
|
906
|
+
/* @__PURE__ */ t("span", { "aria-hidden": "true", className: F })
|
|
907
|
+
] }) : null, X = h.length;
|
|
908
|
+
return X === 0 ? /* @__PURE__ */ u(
|
|
825
909
|
"div",
|
|
826
910
|
{
|
|
827
|
-
ref:
|
|
828
|
-
className: [
|
|
911
|
+
ref: T,
|
|
912
|
+
className: [se, c].filter(Boolean).join(" "),
|
|
829
913
|
children: [
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
/* @__PURE__ */
|
|
833
|
-
|
|
914
|
+
J(),
|
|
915
|
+
Q(),
|
|
916
|
+
/* @__PURE__ */ u(
|
|
917
|
+
E,
|
|
834
918
|
{
|
|
835
919
|
variant: "first-use",
|
|
836
920
|
title: l("workflow.editor.addFirstAction"),
|
|
837
921
|
description: l("workflow.editor.empty"),
|
|
838
922
|
children: [
|
|
839
|
-
/* @__PURE__ */ t(
|
|
923
|
+
/* @__PURE__ */ t(E.Illustration, { children: /* @__PURE__ */ u(
|
|
840
924
|
"svg",
|
|
841
925
|
{
|
|
842
926
|
viewBox: "0 0 120 120",
|
|
@@ -880,23 +964,23 @@ const et = P(
|
|
|
880
964
|
]
|
|
881
965
|
}
|
|
882
966
|
) }),
|
|
883
|
-
/* @__PURE__ */ t(
|
|
884
|
-
/* @__PURE__ */ t(
|
|
885
|
-
/* @__PURE__ */ t(
|
|
886
|
-
/* @__PURE__ */ t(N.Trigger, { asChild: !0, children: /* @__PURE__ */
|
|
887
|
-
/* @__PURE__ */ t(
|
|
967
|
+
/* @__PURE__ */ t(E.Title, { children: l("workflow.editor.addFirstAction") }),
|
|
968
|
+
/* @__PURE__ */ t(E.Description, { children: l("workflow.editor.empty") }),
|
|
969
|
+
/* @__PURE__ */ t(E.Actions, { children: /* @__PURE__ */ u(N.Root, { children: [
|
|
970
|
+
/* @__PURE__ */ t(N.Trigger, { asChild: !0, children: /* @__PURE__ */ u(_e, { intent: "primary", disabled: n, children: [
|
|
971
|
+
/* @__PURE__ */ t(ae, { "aria-hidden": "true", className: "ds:size-4" }),
|
|
888
972
|
/* @__PURE__ */ t("span", { children: l("workflow.editor.addFirstAction") })
|
|
889
973
|
] }) }),
|
|
890
|
-
/* @__PURE__ */
|
|
974
|
+
/* @__PURE__ */ u(N.Content, { align: "center", sideOffset: 6, children: [
|
|
891
975
|
/* @__PURE__ */ t(N.Label, { children: l("workflow.editor.addAction") }),
|
|
892
|
-
|
|
893
|
-
const
|
|
976
|
+
v.map((f) => {
|
|
977
|
+
const k = D[f];
|
|
894
978
|
return /* @__PURE__ */ t(
|
|
895
979
|
N.Item,
|
|
896
980
|
{
|
|
897
|
-
startIcon: /* @__PURE__ */ t(
|
|
898
|
-
onSelect: () =>
|
|
899
|
-
children: l(
|
|
981
|
+
startIcon: /* @__PURE__ */ t(Y, { iconName: k.iconName }),
|
|
982
|
+
onSelect: () => M(null, f),
|
|
983
|
+
children: l(k.labelKey)
|
|
900
984
|
},
|
|
901
985
|
f
|
|
902
986
|
);
|
|
@@ -908,22 +992,22 @@ const et = P(
|
|
|
908
992
|
)
|
|
909
993
|
]
|
|
910
994
|
}
|
|
911
|
-
) : /* @__PURE__ */
|
|
995
|
+
) : /* @__PURE__ */ u(
|
|
912
996
|
"div",
|
|
913
997
|
{
|
|
914
|
-
ref:
|
|
998
|
+
ref: T,
|
|
915
999
|
"data-component": "workflow-editor",
|
|
916
|
-
className: [
|
|
1000
|
+
className: [se, c].filter(Boolean).join(" "),
|
|
917
1001
|
children: [
|
|
918
|
-
|
|
919
|
-
|
|
1002
|
+
J(),
|
|
1003
|
+
Q(),
|
|
920
1004
|
/* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
|
|
921
|
-
|
|
1005
|
+
oe,
|
|
922
1006
|
{
|
|
923
|
-
availableActions:
|
|
1007
|
+
availableActions: v,
|
|
924
1008
|
disabled: n,
|
|
925
1009
|
label: l("workflow.editor.addAction"),
|
|
926
|
-
onSelect: (f) =>
|
|
1010
|
+
onSelect: (f) => M(null, f)
|
|
927
1011
|
}
|
|
928
1012
|
) }),
|
|
929
1013
|
/* @__PURE__ */ t(
|
|
@@ -932,29 +1016,29 @@ const et = P(
|
|
|
932
1016
|
role: "list",
|
|
933
1017
|
"aria-label": l("workflow.editor.pipeline"),
|
|
934
1018
|
className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col",
|
|
935
|
-
children: h.map((f,
|
|
936
|
-
/* @__PURE__ */ t("span", { "aria-hidden": "true", className:
|
|
1019
|
+
children: h.map((f, k) => /* @__PURE__ */ u("li", { className: "ds:list-none ds:flex ds:flex-col", children: [
|
|
1020
|
+
/* @__PURE__ */ t("span", { "aria-hidden": "true", className: F }),
|
|
937
1021
|
/* @__PURE__ */ t(
|
|
938
|
-
|
|
1022
|
+
dt,
|
|
939
1023
|
{
|
|
940
1024
|
node: f,
|
|
941
|
-
position:
|
|
942
|
-
total:
|
|
1025
|
+
position: k,
|
|
1026
|
+
total: X,
|
|
943
1027
|
disabled: n,
|
|
944
|
-
onEdit: p ?
|
|
945
|
-
onDelete: m ?
|
|
946
|
-
onMove:
|
|
947
|
-
registerRef:
|
|
1028
|
+
onEdit: p ? q : void 0,
|
|
1029
|
+
onDelete: m ? P : void 0,
|
|
1030
|
+
onMove: B,
|
|
1031
|
+
registerRef: y
|
|
948
1032
|
}
|
|
949
1033
|
),
|
|
950
|
-
/* @__PURE__ */ t("span", { "aria-hidden": "true", className:
|
|
1034
|
+
/* @__PURE__ */ t("span", { "aria-hidden": "true", className: F }),
|
|
951
1035
|
/* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
|
|
952
|
-
|
|
1036
|
+
oe,
|
|
953
1037
|
{
|
|
954
|
-
availableActions:
|
|
1038
|
+
availableActions: v,
|
|
955
1039
|
disabled: n,
|
|
956
1040
|
label: l("workflow.editor.addActionAfter"),
|
|
957
|
-
onSelect: (
|
|
1041
|
+
onSelect: ($) => M(f.id, $)
|
|
958
1042
|
}
|
|
959
1043
|
) })
|
|
960
1044
|
] }, f.id))
|
|
@@ -965,16 +1049,16 @@ const et = P(
|
|
|
965
1049
|
);
|
|
966
1050
|
}
|
|
967
1051
|
);
|
|
968
|
-
|
|
969
|
-
const
|
|
970
|
-
Clock:
|
|
971
|
-
Mail:
|
|
972
|
-
Smartphone:
|
|
973
|
-
CheckSquare:
|
|
974
|
-
MessageCircle:
|
|
975
|
-
UserCog:
|
|
976
|
-
Globe:
|
|
977
|
-
},
|
|
1052
|
+
lt.displayName = "WorkflowEditor";
|
|
1053
|
+
const ct = {
|
|
1054
|
+
Clock: le,
|
|
1055
|
+
Mail: ie,
|
|
1056
|
+
Smartphone: ue,
|
|
1057
|
+
CheckSquare: de,
|
|
1058
|
+
MessageCircle: ce,
|
|
1059
|
+
UserCog: me,
|
|
1060
|
+
Globe: ne
|
|
1061
|
+
}, ut = L(
|
|
978
1062
|
// The map is a list of steps — never a list of meaningful controls.
|
|
979
1063
|
// Layout via logical properties only; connectors are sibling spacers
|
|
980
1064
|
// styled with border-inline-start / border-block-end (see node/spacer).
|
|
@@ -995,14 +1079,14 @@ const tt = {
|
|
|
995
1079
|
compact: !1
|
|
996
1080
|
}
|
|
997
1081
|
}
|
|
998
|
-
),
|
|
1082
|
+
), pe = L("ds:flex", {
|
|
999
1083
|
variants: {
|
|
1000
1084
|
orientation: {
|
|
1001
1085
|
vertical: "ds:flex-col ds:items-stretch",
|
|
1002
1086
|
horizontal: "ds:flex-row ds:items-center"
|
|
1003
1087
|
}
|
|
1004
1088
|
}
|
|
1005
|
-
}),
|
|
1089
|
+
}), he = L(
|
|
1006
1090
|
[
|
|
1007
1091
|
"ds:relative ds:flex ds:items-center",
|
|
1008
1092
|
"ds:gap-[var(--spacing-sm)]",
|
|
@@ -1047,12 +1131,8 @@ const tt = {
|
|
|
1047
1131
|
}
|
|
1048
1132
|
}
|
|
1049
1133
|
}
|
|
1050
|
-
),
|
|
1051
|
-
[
|
|
1052
|
-
"ds:block",
|
|
1053
|
-
"ds:border-solid",
|
|
1054
|
-
"ds:border-[color:var(--border)]"
|
|
1055
|
-
].join(" "),
|
|
1134
|
+
), we = L(
|
|
1135
|
+
["ds:block", "ds:border-solid", "ds:border-[color:var(--border)]"].join(" "),
|
|
1056
1136
|
{
|
|
1057
1137
|
variants: {
|
|
1058
1138
|
orientation: {
|
|
@@ -1100,7 +1180,7 @@ const tt = {
|
|
|
1100
1180
|
]
|
|
1101
1181
|
}
|
|
1102
1182
|
);
|
|
1103
|
-
function
|
|
1183
|
+
function ft(e) {
|
|
1104
1184
|
switch (e.kind) {
|
|
1105
1185
|
case "add_delay":
|
|
1106
1186
|
return typeof e.days == "number" && e.days > 0 ? {
|
|
@@ -1129,100 +1209,104 @@ function rt(e) {
|
|
|
1129
1209
|
return;
|
|
1130
1210
|
}
|
|
1131
1211
|
}
|
|
1132
|
-
function
|
|
1212
|
+
function mt(e, s) {
|
|
1133
1213
|
if (e !== void 0)
|
|
1134
1214
|
return typeof e == "string" ? e : s(e.key, e.options);
|
|
1135
1215
|
}
|
|
1136
|
-
const
|
|
1216
|
+
const pt = O(
|
|
1137
1217
|
function({
|
|
1138
1218
|
graph: s,
|
|
1139
1219
|
activeNodeId: r,
|
|
1140
|
-
onNodeClick:
|
|
1220
|
+
onNodeClick: o,
|
|
1141
1221
|
enrollmentCriteria: i,
|
|
1142
1222
|
orientation: n = "vertical",
|
|
1143
|
-
compact:
|
|
1223
|
+
compact: a = !1,
|
|
1144
1224
|
className: p,
|
|
1145
1225
|
"aria-label": m,
|
|
1146
|
-
...
|
|
1226
|
+
...c
|
|
1147
1227
|
}, d) {
|
|
1148
|
-
const { t: l } = z(),
|
|
1149
|
-
() => r ?
|
|
1150
|
-
[
|
|
1151
|
-
),
|
|
1152
|
-
return
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
criteria: i
|
|
1168
|
-
}
|
|
1169
|
-
) : null,
|
|
1170
|
-
y.map((v, g) => {
|
|
1171
|
-
const j = x(g), A = g === y.length - 1;
|
|
1172
|
-
return /* @__PURE__ */ t(
|
|
1173
|
-
nt,
|
|
1228
|
+
const { t: l } = z(), v = R(() => G(s), [s]), h = R(
|
|
1229
|
+
() => r ? v.findIndex((w) => w.id === r) : -1,
|
|
1230
|
+
[v, r]
|
|
1231
|
+
), b = m ?? l("workflow.map.label", { count: v.length }), x = (w) => h === -1 ? "neutral" : w === h ? "current" : w < h ? "completed" : "pending";
|
|
1232
|
+
return (
|
|
1233
|
+
// eslint-disable-next-line jsx-a11y/no-redundant-roles -- Safari strips the implicit list role on <ol> with list-style:none; this guard puts it back in the accessibility tree
|
|
1234
|
+
/* @__PURE__ */ u(
|
|
1235
|
+
"ol",
|
|
1236
|
+
{
|
|
1237
|
+
ref: d,
|
|
1238
|
+
role: "list",
|
|
1239
|
+
"aria-label": b,
|
|
1240
|
+
"data-component": "workflow-map",
|
|
1241
|
+
"data-component-id": c.id,
|
|
1242
|
+
className: ut({ orientation: n, compact: a, className: p }),
|
|
1243
|
+
...c,
|
|
1244
|
+
children: [
|
|
1245
|
+
i ? /* @__PURE__ */ t(
|
|
1246
|
+
wt,
|
|
1174
1247
|
{
|
|
1175
|
-
node: v,
|
|
1176
|
-
state: j,
|
|
1177
1248
|
orientation: n,
|
|
1178
|
-
compact:
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1249
|
+
compact: a,
|
|
1250
|
+
criteria: i
|
|
1251
|
+
}
|
|
1252
|
+
) : null,
|
|
1253
|
+
v.map((w, y) => {
|
|
1254
|
+
const A = x(y), I = y === v.length - 1;
|
|
1255
|
+
return /* @__PURE__ */ t(
|
|
1256
|
+
ht,
|
|
1257
|
+
{
|
|
1258
|
+
node: w,
|
|
1259
|
+
state: A,
|
|
1260
|
+
orientation: n,
|
|
1261
|
+
compact: a,
|
|
1262
|
+
isLast: I,
|
|
1263
|
+
onNodeClick: o
|
|
1264
|
+
},
|
|
1265
|
+
w.id
|
|
1266
|
+
);
|
|
1267
|
+
})
|
|
1268
|
+
]
|
|
1269
|
+
}
|
|
1270
|
+
)
|
|
1187
1271
|
);
|
|
1188
1272
|
}
|
|
1189
1273
|
);
|
|
1190
|
-
|
|
1191
|
-
function
|
|
1274
|
+
pt.displayName = "WorkflowMap";
|
|
1275
|
+
function ht({
|
|
1192
1276
|
node: e,
|
|
1193
1277
|
state: s,
|
|
1194
1278
|
orientation: r,
|
|
1195
|
-
compact:
|
|
1279
|
+
compact: o,
|
|
1196
1280
|
isLast: i,
|
|
1197
1281
|
onNodeClick: n
|
|
1198
1282
|
}) {
|
|
1199
|
-
const { t:
|
|
1200
|
-
l && (
|
|
1201
|
-
}, x = (
|
|
1202
|
-
l && (
|
|
1203
|
-
},
|
|
1283
|
+
const { t: a } = z(), p = D[e.type], m = ct[p.iconName], c = a(p.labelKey), d = mt(ft(e.settings), a), l = typeof n == "function", v = s === "current", h = s === "completed", b = (y) => {
|
|
1284
|
+
l && (y.preventDefault(), n == null || n(e.id));
|
|
1285
|
+
}, x = (y) => {
|
|
1286
|
+
l && (y.key === "Enter" || y.key === " ") && (y.preventDefault(), n == null || n(e.id));
|
|
1287
|
+
}, w = v ? a("workflow.map.current") : h ? a("workflow.map.completed") : s === "pending" ? a("workflow.map.pending") : null;
|
|
1204
1288
|
return (
|
|
1205
1289
|
// `<li>` has implicit role="listitem"; no explicit role needed.
|
|
1206
|
-
/* @__PURE__ */
|
|
1207
|
-
/* @__PURE__ */
|
|
1290
|
+
/* @__PURE__ */ u("li", { "data-node-id": e.id, className: pe({ orientation: r }), children: [
|
|
1291
|
+
/* @__PURE__ */ u(
|
|
1208
1292
|
"div",
|
|
1209
1293
|
{
|
|
1210
1294
|
role: l ? "button" : void 0,
|
|
1211
1295
|
tabIndex: l ? 0 : void 0,
|
|
1212
|
-
"aria-current":
|
|
1213
|
-
"aria-label": l &&
|
|
1214
|
-
type:
|
|
1296
|
+
"aria-current": v ? "step" : void 0,
|
|
1297
|
+
"aria-label": l && o ? d ? a("workflow.map.nodeLabelWithSummary", {
|
|
1298
|
+
type: c,
|
|
1215
1299
|
summary: d
|
|
1216
|
-
}) :
|
|
1217
|
-
title:
|
|
1218
|
-
type:
|
|
1300
|
+
}) : a("workflow.map.nodeLabel", { type: c }) : void 0,
|
|
1301
|
+
title: o && d ? a("workflow.map.nodeLabelWithSummary", {
|
|
1302
|
+
type: c,
|
|
1219
1303
|
summary: d
|
|
1220
1304
|
}) : void 0,
|
|
1221
|
-
onClick: l ?
|
|
1305
|
+
onClick: l ? b : void 0,
|
|
1222
1306
|
onKeyDown: l ? x : void 0,
|
|
1223
|
-
className:
|
|
1307
|
+
className: he({
|
|
1224
1308
|
orientation: r,
|
|
1225
|
-
compact:
|
|
1309
|
+
compact: o,
|
|
1226
1310
|
state: s,
|
|
1227
1311
|
interactive: l
|
|
1228
1312
|
}),
|
|
@@ -1235,7 +1319,7 @@ function nt({
|
|
|
1235
1319
|
"aria-hidden": "true",
|
|
1236
1320
|
className: "ds:flex ds:items-center ds:justify-center ds:shrink-0 ds:size-[var(--spacing-md)] ds:text-[var(--muted-foreground)]",
|
|
1237
1321
|
children: h ? /* @__PURE__ */ t(
|
|
1238
|
-
|
|
1322
|
+
ze,
|
|
1239
1323
|
{
|
|
1240
1324
|
className: "ds:size-[var(--spacing-md)] ds:text-[color:var(--success)]",
|
|
1241
1325
|
"data-testid": "workflow-map-check"
|
|
@@ -1243,15 +1327,9 @@ function nt({
|
|
|
1243
1327
|
) : /* @__PURE__ */ t(m, { className: "ds:size-[var(--spacing-md)]" })
|
|
1244
1328
|
}
|
|
1245
1329
|
),
|
|
1246
|
-
/* @__PURE__ */
|
|
1247
|
-
/* @__PURE__ */ t(
|
|
1248
|
-
|
|
1249
|
-
{
|
|
1250
|
-
className: a ? "type-meta ds:truncate" : "type-body-sm",
|
|
1251
|
-
children: u
|
|
1252
|
-
}
|
|
1253
|
-
),
|
|
1254
|
-
!a && d ? /* @__PURE__ */ t(
|
|
1330
|
+
/* @__PURE__ */ u("span", { className: "ds:flex ds:flex-col ds:min-w-0 ds:flex-1", children: [
|
|
1331
|
+
/* @__PURE__ */ t("span", { className: o ? "type-meta ds:truncate" : "type-body-sm", children: c }),
|
|
1332
|
+
!o && d ? /* @__PURE__ */ t(
|
|
1255
1333
|
"span",
|
|
1256
1334
|
{
|
|
1257
1335
|
className: "type-meta ds:text-[var(--muted-foreground)]",
|
|
@@ -1260,7 +1338,7 @@ function nt({
|
|
|
1260
1338
|
}
|
|
1261
1339
|
) : null
|
|
1262
1340
|
] }),
|
|
1263
|
-
|
|
1341
|
+
w ? /* @__PURE__ */ t("span", { className: "ds:sr-only", children: w }) : null
|
|
1264
1342
|
]
|
|
1265
1343
|
}
|
|
1266
1344
|
),
|
|
@@ -1268,24 +1346,24 @@ function nt({
|
|
|
1268
1346
|
"span",
|
|
1269
1347
|
{
|
|
1270
1348
|
"aria-hidden": "true",
|
|
1271
|
-
className:
|
|
1349
|
+
className: we({ orientation: r, compact: o }),
|
|
1272
1350
|
"data-testid": "workflow-map-connector"
|
|
1273
1351
|
}
|
|
1274
1352
|
)
|
|
1275
1353
|
] })
|
|
1276
1354
|
);
|
|
1277
1355
|
}
|
|
1278
|
-
function
|
|
1356
|
+
function wt({
|
|
1279
1357
|
orientation: e,
|
|
1280
1358
|
compact: s,
|
|
1281
1359
|
criteria: r
|
|
1282
1360
|
}) {
|
|
1283
|
-
const { t:
|
|
1284
|
-
return /* @__PURE__ */
|
|
1285
|
-
/* @__PURE__ */
|
|
1361
|
+
const { t: o } = z();
|
|
1362
|
+
return /* @__PURE__ */ u("li", { className: pe({ orientation: e }), children: [
|
|
1363
|
+
/* @__PURE__ */ u(
|
|
1286
1364
|
"div",
|
|
1287
1365
|
{
|
|
1288
|
-
className:
|
|
1366
|
+
className: he({
|
|
1289
1367
|
orientation: e,
|
|
1290
1368
|
compact: s,
|
|
1291
1369
|
state: "neutral",
|
|
@@ -1298,18 +1376,12 @@ function dt({
|
|
|
1298
1376
|
{
|
|
1299
1377
|
"aria-hidden": "true",
|
|
1300
1378
|
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(
|
|
1379
|
+
children: /* @__PURE__ */ t(Le, { className: "ds:size-[var(--spacing-md)]" })
|
|
1302
1380
|
}
|
|
1303
1381
|
),
|
|
1304
|
-
/* @__PURE__ */
|
|
1305
|
-
/* @__PURE__ */ t(
|
|
1306
|
-
|
|
1307
|
-
{
|
|
1308
|
-
className: s ? "type-meta ds:truncate" : "type-body-sm",
|
|
1309
|
-
children: a("workflow.editor.enrollmentCriteria")
|
|
1310
|
-
}
|
|
1311
|
-
),
|
|
1312
|
-
s ? null : /* @__PURE__ */ t("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: r.summary ?? a("workflow.editor.criteriaCount", {
|
|
1382
|
+
/* @__PURE__ */ u("span", { className: "ds:flex ds:flex-col ds:min-w-0 ds:flex-1", children: [
|
|
1383
|
+
/* @__PURE__ */ t("span", { className: s ? "type-meta ds:truncate" : "type-body-sm", children: o("workflow.editor.enrollmentCriteria") }),
|
|
1384
|
+
s ? null : /* @__PURE__ */ t("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: r.summary ?? o("workflow.editor.criteriaCount", {
|
|
1313
1385
|
count: r.ruleCount
|
|
1314
1386
|
}) })
|
|
1315
1387
|
] })
|
|
@@ -1320,21 +1392,24 @@ function dt({
|
|
|
1320
1392
|
"span",
|
|
1321
1393
|
{
|
|
1322
1394
|
"aria-hidden": "true",
|
|
1323
|
-
className:
|
|
1395
|
+
className: we({ orientation: e, compact: s })
|
|
1324
1396
|
}
|
|
1325
1397
|
)
|
|
1326
1398
|
] });
|
|
1327
1399
|
}
|
|
1328
1400
|
export {
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1401
|
+
Ye as C,
|
|
1402
|
+
Oe as W,
|
|
1403
|
+
lt as a,
|
|
1404
|
+
pt as b,
|
|
1405
|
+
H as c,
|
|
1406
|
+
Rt as d,
|
|
1407
|
+
Ue as e,
|
|
1408
|
+
Wt as f,
|
|
1409
|
+
Je as i,
|
|
1410
|
+
G as l,
|
|
1411
|
+
Ge as m,
|
|
1412
|
+
ee as r,
|
|
1338
1413
|
D as w
|
|
1339
1414
|
};
|
|
1340
|
-
//# sourceMappingURL=workflow-map-
|
|
1415
|
+
//# sourceMappingURL=workflow-map-C-nlogPC.js.map
|