@alfadocs/ui-kit 0.0.12
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/LICENSE +96 -0
- package/README.md +152 -0
- package/dist/_chunks/accordion-Dgcd38U_.js +117 -0
- package/dist/_chunks/accordion-Dgcd38U_.js.map +1 -0
- package/dist/_chunks/accordion.agent-Cz-yglRa.js +17 -0
- package/dist/_chunks/accordion.agent-Cz-yglRa.js.map +1 -0
- package/dist/_chunks/agenda-card-B2gq-gTq.js +130 -0
- package/dist/_chunks/agenda-card-B2gq-gTq.js.map +1 -0
- package/dist/_chunks/agenda-tray-twa8g_87.js +119 -0
- package/dist/_chunks/agenda-tray-twa8g_87.js.map +1 -0
- package/dist/_chunks/ai-prompt-input-C6IY_Eds.js +379 -0
- package/dist/_chunks/ai-prompt-input-C6IY_Eds.js.map +1 -0
- package/dist/_chunks/alert-C5ud6CfE.js +187 -0
- package/dist/_chunks/alert-C5ud6CfE.js.map +1 -0
- package/dist/_chunks/apexcharts-theme-cpBYmCcr.js +17 -0
- package/dist/_chunks/apexcharts-theme-cpBYmCcr.js.map +1 -0
- package/dist/_chunks/app-frame-CmIUp9BD.js +129 -0
- package/dist/_chunks/app-frame-CmIUp9BD.js.map +1 -0
- package/dist/_chunks/aspect-ratio-Bo3cZXmR.js +56 -0
- package/dist/_chunks/aspect-ratio-Bo3cZXmR.js.map +1 -0
- package/dist/_chunks/audio-recorder-GkGNtW2X.js +375 -0
- package/dist/_chunks/audio-recorder-GkGNtW2X.js.map +1 -0
- package/dist/_chunks/audio-visualiser-CIO3yy23.js +138 -0
- package/dist/_chunks/audio-visualiser-CIO3yy23.js.map +1 -0
- package/dist/_chunks/autocomplete.agent-kb0nmr6F.js +371 -0
- package/dist/_chunks/autocomplete.agent-kb0nmr6F.js.map +1 -0
- package/dist/_chunks/avatar-BsV7vRA6.js +113 -0
- package/dist/_chunks/avatar-BsV7vRA6.js.map +1 -0
- package/dist/_chunks/badge--CmSr7ok.js +104 -0
- package/dist/_chunks/badge--CmSr7ok.js.map +1 -0
- package/dist/_chunks/balance-cell-renderer-BQwN51rT.js +997 -0
- package/dist/_chunks/balance-cell-renderer-BQwN51rT.js.map +1 -0
- package/dist/_chunks/breadcrumb-DnO6eHSS.js +292 -0
- package/dist/_chunks/breadcrumb-DnO6eHSS.js.map +1 -0
- package/dist/_chunks/button-CXL8bA8G.js +119 -0
- package/dist/_chunks/button-CXL8bA8G.js.map +1 -0
- package/dist/_chunks/button-group-CI7LFxt3.js +120 -0
- package/dist/_chunks/button-group-CI7LFxt3.js.map +1 -0
- package/dist/_chunks/button.agent-BuGZBktn.js +17 -0
- package/dist/_chunks/button.agent-BuGZBktn.js.map +1 -0
- package/dist/_chunks/calendar-BIXVzhkL.js +998 -0
- package/dist/_chunks/calendar-BIXVzhkL.js.map +1 -0
- package/dist/_chunks/card-n97MNPP2.js +158 -0
- package/dist/_chunks/card-n97MNPP2.js.map +1 -0
- package/dist/_chunks/chart.agent-DkmVXNsI.js +267 -0
- package/dist/_chunks/chart.agent-DkmVXNsI.js.map +1 -0
- package/dist/_chunks/chat-container-SR3UWxbL.js +174 -0
- package/dist/_chunks/chat-container-SR3UWxbL.js.map +1 -0
- package/dist/_chunks/chat-container.agent-Dhw9xCJt.js +22 -0
- package/dist/_chunks/chat-container.agent-Dhw9xCJt.js.map +1 -0
- package/dist/_chunks/chat-input-aphxDjZL.js +221 -0
- package/dist/_chunks/chat-input-aphxDjZL.js.map +1 -0
- package/dist/_chunks/chat-message-CdJSD18D.js +228 -0
- package/dist/_chunks/chat-message-CdJSD18D.js.map +1 -0
- package/dist/_chunks/check-DPdL_Sm7.js +12 -0
- package/dist/_chunks/check-DPdL_Sm7.js.map +1 -0
- package/dist/_chunks/checkbox-CfiZ0FZc.js +116 -0
- package/dist/_chunks/checkbox-CfiZ0FZc.js.map +1 -0
- package/dist/_chunks/checkbox-group-D1aqVI0-.js +145 -0
- package/dist/_chunks/checkbox-group-D1aqVI0-.js.map +1 -0
- package/dist/_chunks/chevron-down-BX_NP2Yh.js +12 -0
- package/dist/_chunks/chevron-down-BX_NP2Yh.js.map +1 -0
- package/dist/_chunks/chevron-left-CX1jqD2M.js +12 -0
- package/dist/_chunks/chevron-left-CX1jqD2M.js.map +1 -0
- package/dist/_chunks/chevron-right-BrpYejk0.js +12 -0
- package/dist/_chunks/chevron-right-BrpYejk0.js.map +1 -0
- package/dist/_chunks/chevron-up-zOEDrmBB.js +12 -0
- package/dist/_chunks/chevron-up-zOEDrmBB.js.map +1 -0
- package/dist/_chunks/chevrons-right-d9MwesPG.js +26 -0
- package/dist/_chunks/chevrons-right-d9MwesPG.js.map +1 -0
- package/dist/_chunks/circle-BkqTgYmt.js +12 -0
- package/dist/_chunks/circle-BkqTgYmt.js.map +1 -0
- package/dist/_chunks/circle-alert-ChA9opNA.js +16 -0
- package/dist/_chunks/circle-alert-ChA9opNA.js.map +1 -0
- package/dist/_chunks/circle-check-9AeSgJD_.js +15 -0
- package/dist/_chunks/circle-check-9AeSgJD_.js.map +1 -0
- package/dist/_chunks/circle-x-Du2CmjaU.js +16 -0
- package/dist/_chunks/circle-x-Du2CmjaU.js.map +1 -0
- package/dist/_chunks/clock-21AGPWJ5.js +15 -0
- package/dist/_chunks/clock-21AGPWJ5.js.map +1 -0
- package/dist/_chunks/collapsible-jBFm7Ah8.js +66 -0
- package/dist/_chunks/collapsible-jBFm7Ah8.js.map +1 -0
- package/dist/_chunks/color-picker-CiotzQJF.js +554 -0
- package/dist/_chunks/color-picker-CiotzQJF.js.map +1 -0
- package/dist/_chunks/combobox.agent-B6RwDSct.js +349 -0
- package/dist/_chunks/combobox.agent-B6RwDSct.js.map +1 -0
- package/dist/_chunks/command-palette.agent-B87_OkmC.js +350 -0
- package/dist/_chunks/command-palette.agent-B87_OkmC.js.map +1 -0
- package/dist/_chunks/compose-refs-C0k0tdqF.js +10 -0
- package/dist/_chunks/compose-refs-C0k0tdqF.js.map +1 -0
- package/dist/_chunks/copy-B00HK7tj.js +15 -0
- package/dist/_chunks/copy-B00HK7tj.js.map +1 -0
- package/dist/_chunks/createLucideIcon-CrFbzy84.js +117 -0
- package/dist/_chunks/createLucideIcon-CrFbzy84.js.map +1 -0
- package/dist/_chunks/date-picker-CdPuI3dK.js +1726 -0
- package/dist/_chunks/date-picker-CdPuI3dK.js.map +1 -0
- package/dist/_chunks/date-range-picker-DfK4cjln.js +183 -0
- package/dist/_chunks/date-range-picker-DfK4cjln.js.map +1 -0
- package/dist/_chunks/date-time-picker-CX_FMsLG.js +202 -0
- package/dist/_chunks/date-time-picker-CX_FMsLG.js.map +1 -0
- package/dist/_chunks/description-list-C5UPZgX6.js +187 -0
- package/dist/_chunks/description-list-C5UPZgX6.js.map +1 -0
- package/dist/_chunks/dialog.agent-B276rAQF.js +147 -0
- package/dist/_chunks/dialog.agent-B276rAQF.js.map +1 -0
- package/dist/_chunks/dropdown-menu-CJKvK7VG.js +210 -0
- package/dist/_chunks/dropdown-menu-CJKvK7VG.js.map +1 -0
- package/dist/_chunks/dropdown-menu.agent-Cry4Nmes.js +17 -0
- package/dist/_chunks/dropdown-menu.agent-Cry4Nmes.js.map +1 -0
- package/dist/_chunks/ellipsis-rgGdiK_9.js +16 -0
- package/dist/_chunks/ellipsis-rgGdiK_9.js.map +1 -0
- package/dist/_chunks/empty-state-DiG7vYBM.js +303 -0
- package/dist/_chunks/empty-state-DiG7vYBM.js.map +1 -0
- package/dist/_chunks/eye-off-xEXDAh5z.js +29 -0
- package/dist/_chunks/eye-off-xEXDAh5z.js.map +1 -0
- package/dist/_chunks/file-text-DSNuv2B8.js +24 -0
- package/dist/_chunks/file-text-DSNuv2B8.js.map +1 -0
- package/dist/_chunks/file-upload.agent-BMow5yDY.js +649 -0
- package/dist/_chunks/file-upload.agent-BMow5yDY.js.map +1 -0
- package/dist/_chunks/flag-ChP784EM.js +635 -0
- package/dist/_chunks/flag-ChP784EM.js.map +1 -0
- package/dist/_chunks/floating-action-button-BM9ib-Wf.js +95 -0
- package/dist/_chunks/floating-action-button-BM9ib-Wf.js.map +1 -0
- package/dist/_chunks/form-field-B4bwrccN.js +121 -0
- package/dist/_chunks/form-field-B4bwrccN.js.map +1 -0
- package/dist/_chunks/form-field-context-94LwgYTQ.js +19 -0
- package/dist/_chunks/form-field-context-94LwgYTQ.js.map +1 -0
- package/dist/_chunks/freemium-paywall-DVyNsQHS.js +197 -0
- package/dist/_chunks/freemium-paywall-DVyNsQHS.js.map +1 -0
- package/dist/_chunks/globe-BkEFMNSg.js +16 -0
- package/dist/_chunks/globe-BkEFMNSg.js.map +1 -0
- package/dist/_chunks/group-options-BvKhQ3xb.js +16 -0
- package/dist/_chunks/group-options-BvKhQ3xb.js.map +1 -0
- package/dist/_chunks/header-BpKaSL_v.js +310 -0
- package/dist/_chunks/header-BpKaSL_v.js.map +1 -0
- package/dist/_chunks/icon-button-C1vpylg3.js +45 -0
- package/dist/_chunks/icon-button-C1vpylg3.js.map +1 -0
- package/dist/_chunks/icon-button-group-tERESY-n.js +204 -0
- package/dist/_chunks/icon-button-group-tERESY-n.js.map +1 -0
- package/dist/_chunks/index-4xgbg-sn.js +317 -0
- package/dist/_chunks/index-4xgbg-sn.js.map +1 -0
- package/dist/_chunks/index-CJE9uQmb.js +646 -0
- package/dist/_chunks/index-CJE9uQmb.js.map +1 -0
- package/dist/_chunks/index-CeY1nNvd.js +2853 -0
- package/dist/_chunks/index-CeY1nNvd.js.map +1 -0
- package/dist/_chunks/index-D2ZczOXr.js +48 -0
- package/dist/_chunks/index-D2ZczOXr.js.map +1 -0
- package/dist/_chunks/info-B9XNKn05.js +16 -0
- package/dist/_chunks/info-B9XNKn05.js.map +1 -0
- package/dist/_chunks/input-surface-D5OMCB1W.js +32 -0
- package/dist/_chunks/input-surface-D5OMCB1W.js.map +1 -0
- package/dist/_chunks/isSameDay-ecuM8PBB.js +39 -0
- package/dist/_chunks/isSameDay-ecuM8PBB.js.map +1 -0
- package/dist/_chunks/isSameMonth-5wNF2f4I.js +1307 -0
- package/dist/_chunks/isSameMonth-5wNF2f4I.js.map +1 -0
- package/dist/_chunks/kbd-0iPlQjgC.js +220 -0
- package/dist/_chunks/kbd-0iPlQjgC.js.map +1 -0
- package/dist/_chunks/key-value-pair--Je59tAF.js +75 -0
- package/dist/_chunks/key-value-pair--Je59tAF.js.map +1 -0
- package/dist/_chunks/leo-sidebar-9A9AWBxX.js +755 -0
- package/dist/_chunks/leo-sidebar-9A9AWBxX.js.map +1 -0
- package/dist/_chunks/list-n8vI8Yvn.js +356 -0
- package/dist/_chunks/list-n8vI8Yvn.js.map +1 -0
- package/dist/_chunks/log-out-616hnn2-.js +16 -0
- package/dist/_chunks/log-out-616hnn2-.js.map +1 -0
- package/dist/_chunks/logo-BlIdYz3n.js +140 -0
- package/dist/_chunks/logo-BlIdYz3n.js.map +1 -0
- package/dist/_chunks/mail-C8irm52s.js +15 -0
- package/dist/_chunks/mail-C8irm52s.js.map +1 -0
- package/dist/_chunks/message-card-g5VS5Q80.js +275 -0
- package/dist/_chunks/message-card-g5VS5Q80.js.map +1 -0
- package/dist/_chunks/message-tray-CAk-iibU.js +302 -0
- package/dist/_chunks/message-tray-CAk-iibU.js.map +1 -0
- package/dist/_chunks/multi-select.agent-Cf4pU636.js +449 -0
- package/dist/_chunks/multi-select.agent-Cf4pU636.js.map +1 -0
- package/dist/_chunks/navigation-menu-DBDsAmXc.js +208 -0
- package/dist/_chunks/navigation-menu-DBDsAmXc.js.map +1 -0
- package/dist/_chunks/normalize-diacritics-BNGbFNlJ.js +7 -0
- package/dist/_chunks/normalize-diacritics-BNGbFNlJ.js.map +1 -0
- package/dist/_chunks/notification-card-CQxJporb.js +255 -0
- package/dist/_chunks/notification-card-CQxJporb.js.map +1 -0
- package/dist/_chunks/notification-tray-CNWPuPZp.js +324 -0
- package/dist/_chunks/notification-tray-CNWPuPZp.js.map +1 -0
- package/dist/_chunks/number-input-B1Th0DdC.js +248 -0
- package/dist/_chunks/number-input-B1Th0DdC.js.map +1 -0
- package/dist/_chunks/otp-input-CmoBuZ4K.js +188 -0
- package/dist/_chunks/otp-input-CmoBuZ4K.js.map +1 -0
- package/dist/_chunks/pagination.agent-B5KLDCMN.js +379 -0
- package/dist/_chunks/pagination.agent-B5KLDCMN.js.map +1 -0
- package/dist/_chunks/password-input-DnjNh-hQ.js +193 -0
- package/dist/_chunks/password-input-DnjNh-hQ.js.map +1 -0
- package/dist/_chunks/patient-shell-BNrTtcbu.js +193 -0
- package/dist/_chunks/patient-shell-BNrTtcbu.js.map +1 -0
- package/dist/_chunks/payment-form-Cf7U6r5L.js +579 -0
- package/dist/_chunks/payment-form-Cf7U6r5L.js.map +1 -0
- package/dist/_chunks/payment-form.agent-BkEnRerR.js +26 -0
- package/dist/_chunks/payment-form.agent-BkEnRerR.js.map +1 -0
- package/dist/_chunks/pdf-viewer.agent-DXjgDItg.js +858 -0
- package/dist/_chunks/pdf-viewer.agent-DXjgDItg.js.map +1 -0
- package/dist/_chunks/phone-input-C2dtIuxW.js +427 -0
- package/dist/_chunks/phone-input-C2dtIuxW.js.map +1 -0
- package/dist/_chunks/plus-CYKNmfuA.js +15 -0
- package/dist/_chunks/plus-CYKNmfuA.js.map +1 -0
- package/dist/_chunks/popover-D1woU9mP.js +222 -0
- package/dist/_chunks/popover-D1woU9mP.js.map +1 -0
- package/dist/_chunks/popover.agent-C0qOx9WT.js +13 -0
- package/dist/_chunks/popover.agent-C0qOx9WT.js.map +1 -0
- package/dist/_chunks/printer-CeVEWfQq.js +22 -0
- package/dist/_chunks/printer-CeVEWfQq.js.map +1 -0
- package/dist/_chunks/privacy-lock-Bk5mIqMq.js +130 -0
- package/dist/_chunks/privacy-lock-Bk5mIqMq.js.map +1 -0
- package/dist/_chunks/progress-DL3-izuO.js +252 -0
- package/dist/_chunks/progress-DL3-izuO.js.map +1 -0
- package/dist/_chunks/progress.agent-CXkHURjX.js +22 -0
- package/dist/_chunks/progress.agent-CXkHURjX.js.map +1 -0
- package/dist/_chunks/purify.es-DpIUMBYC.js +561 -0
- package/dist/_chunks/purify.es-DpIUMBYC.js.map +1 -0
- package/dist/_chunks/radio-group-CXN9qNPe.js +185 -0
- package/dist/_chunks/radio-group-CXN9qNPe.js.map +1 -0
- package/dist/_chunks/react-day-picker-DQKDiJ37.js +1824 -0
- package/dist/_chunks/react-day-picker-DQKDiJ37.js.map +1 -0
- package/dist/_chunks/registry-C9nwlNyL.js +21 -0
- package/dist/_chunks/registry-C9nwlNyL.js.map +1 -0
- package/dist/_chunks/resizable.agent-DVk_jJur.js +435 -0
- package/dist/_chunks/resizable.agent-DVk_jJur.js.map +1 -0
- package/dist/_chunks/rich-text-editor.agent-BOjF4Xao.js +835 -0
- package/dist/_chunks/rich-text-editor.agent-BOjF4Xao.js.map +1 -0
- package/dist/_chunks/safe-image-src-DstKgCo7.js +14 -0
- package/dist/_chunks/safe-image-src-DstKgCo7.js.map +1 -0
- package/dist/_chunks/scroll-area-DXn-YWHY.js +144 -0
- package/dist/_chunks/scroll-area-DXn-YWHY.js.map +1 -0
- package/dist/_chunks/search-BonnQsHv.js +15 -0
- package/dist/_chunks/search-BonnQsHv.js.map +1 -0
- package/dist/_chunks/search-bar-DgSOAajC.js +396 -0
- package/dist/_chunks/search-bar-DgSOAajC.js.map +1 -0
- package/dist/_chunks/search-input-D4tC_Prn.js +197 -0
- package/dist/_chunks/search-input-D4tC_Prn.js.map +1 -0
- package/dist/_chunks/select-B4m4upMg.js +320 -0
- package/dist/_chunks/select-B4m4upMg.js.map +1 -0
- package/dist/_chunks/send-CySZIRPJ.js +21 -0
- package/dist/_chunks/send-CySZIRPJ.js.map +1 -0
- package/dist/_chunks/separator-DExI4amU.js +58 -0
- package/dist/_chunks/separator-DExI4amU.js.map +1 -0
- package/dist/_chunks/sheet-D6XOx0fK.js +188 -0
- package/dist/_chunks/sheet-D6XOx0fK.js.map +1 -0
- package/dist/_chunks/sheet.agent-DwQlBqK9.js +13 -0
- package/dist/_chunks/sheet.agent-DwQlBqK9.js.map +1 -0
- package/dist/_chunks/sidebar-r645O-k9.js +1076 -0
- package/dist/_chunks/sidebar-r645O-k9.js.map +1 -0
- package/dist/_chunks/sidebar.agent-B0fnH9CC.js +17 -0
- package/dist/_chunks/sidebar.agent-B0fnH9CC.js.map +1 -0
- package/dist/_chunks/sign-in-with-alfadocs-button-Gu7Qk2gq.js +88 -0
- package/dist/_chunks/sign-in-with-alfadocs-button-Gu7Qk2gq.js.map +1 -0
- package/dist/_chunks/signature-capture.agent-L_1_-zVR.js +485 -0
- package/dist/_chunks/signature-capture.agent-L_1_-zVR.js.map +1 -0
- package/dist/_chunks/skeleton-vbTWUntB.js +95 -0
- package/dist/_chunks/skeleton-vbTWUntB.js.map +1 -0
- package/dist/_chunks/slider-B3DBwmcm.js +273 -0
- package/dist/_chunks/slider-B3DBwmcm.js.map +1 -0
- package/dist/_chunks/slot-grid-DL_Tuj0p.js +491 -0
- package/dist/_chunks/slot-grid-DL_Tuj0p.js.map +1 -0
- package/dist/_chunks/sparkline.agent-BDTXzTy9.js +238 -0
- package/dist/_chunks/sparkline.agent-BDTXzTy9.js.map +1 -0
- package/dist/_chunks/spinner-77xUGpuX.js +163 -0
- package/dist/_chunks/spinner-77xUGpuX.js.map +1 -0
- package/dist/_chunks/square-CZoGU14v.js +14 -0
- package/dist/_chunks/square-CZoGU14v.js.map +1 -0
- package/dist/_chunks/square-check-big-Jr-0202D.js +18 -0
- package/dist/_chunks/square-check-big-Jr-0202D.js.map +1 -0
- package/dist/_chunks/stat-CrumvZWf.js +208 -0
- package/dist/_chunks/stat-CrumvZWf.js.map +1 -0
- package/dist/_chunks/stepper-C-sIpRRU.js +7 -0
- package/dist/_chunks/stepper-C-sIpRRU.js.map +1 -0
- package/dist/_chunks/stepper-accordion-BkvqQWPI.js +232 -0
- package/dist/_chunks/stepper-accordion-BkvqQWPI.js.map +1 -0
- package/dist/_chunks/stepper-calendar-BQMjrwzo.js +569 -0
- package/dist/_chunks/stepper-calendar-BQMjrwzo.js.map +1 -0
- package/dist/_chunks/stepper-progress-Bwfl-0rV.js +128 -0
- package/dist/_chunks/stepper-progress-Bwfl-0rV.js.map +1 -0
- package/dist/_chunks/streaming-text-Cu9YQe_1.js +104 -0
- package/dist/_chunks/streaming-text-Cu9YQe_1.js.map +1 -0
- package/dist/_chunks/suggestion-chip-XkxDJiPW.js +157 -0
- package/dist/_chunks/suggestion-chip-XkxDJiPW.js.map +1 -0
- package/dist/_chunks/switch-DyC0ThNT.js +137 -0
- package/dist/_chunks/switch-DyC0ThNT.js.map +1 -0
- package/dist/_chunks/tabs.agent-FsGU3sZL.js +347 -0
- package/dist/_chunks/tabs.agent-FsGU3sZL.js.map +1 -0
- package/dist/_chunks/tag-BucAvfTX.js +194 -0
- package/dist/_chunks/tag-BucAvfTX.js.map +1 -0
- package/dist/_chunks/task-card-uxjApfcg.js +112 -0
- package/dist/_chunks/task-card-uxjApfcg.js.map +1 -0
- package/dist/_chunks/task-tray-BdfM3p8N.js +99 -0
- package/dist/_chunks/task-tray-BdfM3p8N.js.map +1 -0
- package/dist/_chunks/text-area-CKxZ7cS3.js +152 -0
- package/dist/_chunks/text-area-CKxZ7cS3.js.map +1 -0
- package/dist/_chunks/text-input-D16CcMlL.js +187 -0
- package/dist/_chunks/text-input-D16CcMlL.js.map +1 -0
- package/dist/_chunks/theme-root-vapFjsnt.js +18 -0
- package/dist/_chunks/theme-root-vapFjsnt.js.map +1 -0
- package/dist/_chunks/time-picker-BapZq0OY.js +321 -0
- package/dist/_chunks/time-picker-BapZq0OY.js.map +1 -0
- package/dist/_chunks/timeline-D3VOf4RT.js +219 -0
- package/dist/_chunks/timeline-D3VOf4RT.js.map +1 -0
- package/dist/_chunks/timestamp-BLM-jjdw.js +108 -0
- package/dist/_chunks/timestamp-BLM-jjdw.js.map +1 -0
- package/dist/_chunks/toast-DSCqnDRl.js +884 -0
- package/dist/_chunks/toast-DSCqnDRl.js.map +1 -0
- package/dist/_chunks/tooltip-DF6WjD1r.js +97 -0
- package/dist/_chunks/tooltip-DF6WjD1r.js.map +1 -0
- package/dist/_chunks/tooth-scheme.agent-CFKl3iQr.js +762 -0
- package/dist/_chunks/tooth-scheme.agent-CFKl3iQr.js.map +1 -0
- package/dist/_chunks/transcript-panel-aI14fHYA.js +265 -0
- package/dist/_chunks/transcript-panel-aI14fHYA.js.map +1 -0
- package/dist/_chunks/triangle-alert-CBPUIzQo.js +22 -0
- package/dist/_chunks/triangle-alert-CBPUIzQo.js.map +1 -0
- package/dist/_chunks/typing-indicator-BTVDEpnd.js +81 -0
- package/dist/_chunks/typing-indicator-BTVDEpnd.js.map +1 -0
- package/dist/_chunks/use-debounced-callback-BisrB-Fq.js +28 -0
- package/dist/_chunks/use-debounced-callback-BisrB-Fq.js.map +1 -0
- package/dist/_chunks/use-direction-D6rvvG9G.js +40 -0
- package/dist/_chunks/use-direction-D6rvvG9G.js.map +1 -0
- package/dist/_chunks/use-prefers-reduced-motion-BMwIQRjB.js +15 -0
- package/dist/_chunks/use-prefers-reduced-motion-BMwIQRjB.js.map +1 -0
- package/dist/_chunks/use-theme-BMUhembX.js +148 -0
- package/dist/_chunks/use-theme-BMUhembX.js.map +1 -0
- package/dist/_chunks/user-CPxpqFjJ.js +15 -0
- package/dist/_chunks/user-CPxpqFjJ.js.map +1 -0
- package/dist/_chunks/warning-stack-Cyf_81SL.js +179 -0
- package/dist/_chunks/warning-stack-Cyf_81SL.js.map +1 -0
- package/dist/_chunks/workflow-map-Uf-hHAO3.js +1337 -0
- package/dist/_chunks/workflow-map-Uf-hHAO3.js.map +1 -0
- package/dist/_chunks/x-CCcI3eJp.js +15 -0
- package/dist/_chunks/x-CCcI3eJp.js.map +1 -0
- package/dist/agent/index.d.ts +5 -0
- package/dist/agent/index.d.ts.map +1 -0
- package/dist/agent/registry.d.ts +26 -0
- package/dist/agent/registry.d.ts.map +1 -0
- package/dist/agent/types.d.ts +148 -0
- package/dist/agent/types.d.ts.map +1 -0
- package/dist/agent-catalog.json +813 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_BW.d.ts +12 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_BW.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Main.d.ts +14 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Main.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Mark.d.ts +13 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Mark.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Neg.d.ts +12 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Neg.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Purple.d.ts +12 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Purple.d.ts.map +1 -0
- package/dist/brand/logo-asset/index.d.ts +6 -0
- package/dist/brand/logo-asset/index.d.ts.map +1 -0
- package/dist/components/_shared/calendar-chevron.d.ts +4 -0
- package/dist/components/_shared/calendar-chevron.d.ts.map +1 -0
- package/dist/components/_shared/compose-refs.d.ts +3 -0
- package/dist/components/_shared/compose-refs.d.ts.map +1 -0
- package/dist/components/_shared/date-locale.d.ts +5 -0
- package/dist/components/_shared/date-locale.d.ts.map +1 -0
- package/dist/components/_shared/date-picker-variants.d.ts +10 -0
- package/dist/components/_shared/date-picker-variants.d.ts.map +1 -0
- package/dist/components/_shared/date-utils.d.ts +3 -0
- package/dist/components/_shared/date-utils.d.ts.map +1 -0
- package/dist/components/_shared/group-options.d.ts +6 -0
- package/dist/components/_shared/group-options.d.ts.map +1 -0
- package/dist/components/_shared/index.d.ts +15 -0
- package/dist/components/_shared/index.d.ts.map +1 -0
- package/dist/components/_shared/input-surface.d.ts +23 -0
- package/dist/components/_shared/input-surface.d.ts.map +1 -0
- package/dist/components/_shared/normalize-diacritics.d.ts +2 -0
- package/dist/components/_shared/normalize-diacritics.d.ts.map +1 -0
- package/dist/components/_shared/option.d.ts +8 -0
- package/dist/components/_shared/option.d.ts.map +1 -0
- package/dist/components/_shared/safe-html.d.ts +30 -0
- package/dist/components/_shared/safe-html.d.ts.map +1 -0
- package/dist/components/_shared/safe-image-src.d.ts +3 -0
- package/dist/components/_shared/safe-image-src.d.ts.map +1 -0
- package/dist/components/_shared/stepper.d.ts +17 -0
- package/dist/components/_shared/stepper.d.ts.map +1 -0
- package/dist/components/_shared/time.d.ts +6 -0
- package/dist/components/_shared/time.d.ts.map +1 -0
- package/dist/components/_shared/use-debounced-callback.d.ts +6 -0
- package/dist/components/_shared/use-debounced-callback.d.ts.map +1 -0
- package/dist/components/_shared/use-direction.d.ts +19 -0
- package/dist/components/_shared/use-direction.d.ts.map +1 -0
- package/dist/components/accordion/accordion.agent.d.ts +3 -0
- package/dist/components/accordion/accordion.agent.d.ts.map +1 -0
- package/dist/components/accordion/accordion.d.ts +41 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -0
- package/dist/components/accordion/index.d.ts +4 -0
- package/dist/components/accordion/index.d.ts.map +1 -0
- package/dist/components/accordion/index.js +10 -0
- package/dist/components/accordion/index.js.map +1 -0
- package/dist/components/agenda-card/agenda-card.d.ts +36 -0
- package/dist/components/agenda-card/agenda-card.d.ts.map +1 -0
- package/dist/components/agenda-card/index.d.ts +3 -0
- package/dist/components/agenda-card/index.d.ts.map +1 -0
- package/dist/components/agenda-card/index.js +6 -0
- package/dist/components/agenda-card/index.js.map +1 -0
- package/dist/components/agenda-tray/agenda-tray.d.ts +24 -0
- package/dist/components/agenda-tray/agenda-tray.d.ts.map +1 -0
- package/dist/components/agenda-tray/index.d.ts +3 -0
- package/dist/components/agenda-tray/index.d.ts.map +1 -0
- package/dist/components/agenda-tray/index.js +5 -0
- package/dist/components/agenda-tray/index.js.map +1 -0
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts +49 -0
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts.map +1 -0
- package/dist/components/ai-prompt-input/index.d.ts +3 -0
- package/dist/components/ai-prompt-input/index.d.ts.map +1 -0
- package/dist/components/ai-prompt-input/index.js +5 -0
- package/dist/components/ai-prompt-input/index.js.map +1 -0
- package/dist/components/alert/alert.d.ts +23 -0
- package/dist/components/alert/alert.d.ts.map +1 -0
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/alert/index.js +5 -0
- package/dist/components/alert/index.js.map +1 -0
- package/dist/components/app-frame/app-frame.d.ts +33 -0
- package/dist/components/app-frame/app-frame.d.ts.map +1 -0
- package/dist/components/app-frame/index.d.ts +3 -0
- package/dist/components/app-frame/index.d.ts.map +1 -0
- package/dist/components/app-frame/index.js +5 -0
- package/dist/components/app-frame/index.js.map +1 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts +16 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -0
- package/dist/components/aspect-ratio/index.d.ts +4 -0
- package/dist/components/aspect-ratio/index.d.ts.map +1 -0
- package/dist/components/aspect-ratio/index.js +7 -0
- package/dist/components/aspect-ratio/index.js.map +1 -0
- package/dist/components/audio-recorder/audio-recorder.d.ts +26 -0
- package/dist/components/audio-recorder/audio-recorder.d.ts.map +1 -0
- package/dist/components/audio-recorder/index.d.ts +3 -0
- package/dist/components/audio-recorder/index.d.ts.map +1 -0
- package/dist/components/audio-recorder/index.js +5 -0
- package/dist/components/audio-recorder/index.js.map +1 -0
- package/dist/components/audio-visualiser/audio-visualiser.d.ts +18 -0
- package/dist/components/audio-visualiser/audio-visualiser.d.ts.map +1 -0
- package/dist/components/audio-visualiser/index.d.ts +3 -0
- package/dist/components/audio-visualiser/index.d.ts.map +1 -0
- package/dist/components/audio-visualiser/index.js +5 -0
- package/dist/components/audio-visualiser/index.js.map +1 -0
- package/dist/components/autocomplete/autocomplete.agent.d.ts +3 -0
- package/dist/components/autocomplete/autocomplete.agent.d.ts.map +1 -0
- package/dist/components/autocomplete/autocomplete.d.ts +41 -0
- package/dist/components/autocomplete/autocomplete.d.ts.map +1 -0
- package/dist/components/autocomplete/index.d.ts +4 -0
- package/dist/components/autocomplete/index.d.ts.map +1 -0
- package/dist/components/autocomplete/index.js +7 -0
- package/dist/components/autocomplete/index.js.map +1 -0
- package/dist/components/avatar/avatar.d.ts +29 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -0
- package/dist/components/avatar/index.d.ts +3 -0
- package/dist/components/avatar/index.d.ts.map +1 -0
- package/dist/components/avatar/index.js +7 -0
- package/dist/components/avatar/index.js.map +1 -0
- package/dist/components/badge/badge.d.ts +20 -0
- package/dist/components/badge/badge.d.ts.map +1 -0
- package/dist/components/badge/index.d.ts +3 -0
- package/dist/components/badge/index.d.ts.map +1 -0
- package/dist/components/badge/index.js +5 -0
- package/dist/components/badge/index.js.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +51 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/components/breadcrumb/index.d.ts +3 -0
- package/dist/components/breadcrumb/index.d.ts.map +1 -0
- package/dist/components/breadcrumb/index.js +10 -0
- package/dist/components/breadcrumb/index.js.map +1 -0
- package/dist/components/button/button.agent.d.ts +3 -0
- package/dist/components/button/button.agent.d.ts.map +1 -0
- package/dist/components/button/button.d.ts +21 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/icon-button.d.ts +29 -0
- package/dist/components/button/icon-button.d.ts.map +1 -0
- package/dist/components/button/index.d.ts +4 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/components/button/index.js +9 -0
- package/dist/components/button/index.js.map +1 -0
- package/dist/components/button-group/button-group.d.ts +29 -0
- package/dist/components/button-group/button-group.d.ts.map +1 -0
- package/dist/components/button-group/index.d.ts +2 -0
- package/dist/components/button-group/index.d.ts.map +1 -0
- package/dist/components/button-group/index.js +5 -0
- package/dist/components/button-group/index.js.map +1 -0
- package/dist/components/calendar/calendar.agent.d.ts +4 -0
- package/dist/components/calendar/calendar.agent.d.ts.map +1 -0
- package/dist/components/calendar/calendar.d.ts +226 -0
- package/dist/components/calendar/calendar.d.ts.map +1 -0
- package/dist/components/calendar/contrast-warning.d.ts +20 -0
- package/dist/components/calendar/contrast-warning.d.ts.map +1 -0
- package/dist/components/calendar/index.d.ts +4 -0
- package/dist/components/calendar/index.d.ts.map +1 -0
- package/dist/components/calendar/index.js +7 -0
- package/dist/components/calendar/index.js.map +1 -0
- package/dist/components/card/card.d.ts +29 -0
- package/dist/components/card/card.d.ts.map +1 -0
- package/dist/components/card/index.d.ts +3 -0
- package/dist/components/card/index.d.ts.map +1 -0
- package/dist/components/card/index.js +5 -0
- package/dist/components/card/index.js.map +1 -0
- package/dist/components/chart/chart.agent.d.ts +4 -0
- package/dist/components/chart/chart.agent.d.ts.map +1 -0
- package/dist/components/chart/chart.d.ts +45 -0
- package/dist/components/chart/chart.d.ts.map +1 -0
- package/dist/components/chart/index.d.ts +4 -0
- package/dist/components/chart/index.d.ts.map +1 -0
- package/dist/components/chart/index.js +7 -0
- package/dist/components/chart/index.js.map +1 -0
- package/dist/components/chat-container/chat-container.agent.d.ts +4 -0
- package/dist/components/chat-container/chat-container.agent.d.ts.map +1 -0
- package/dist/components/chat-container/chat-container.d.ts +36 -0
- package/dist/components/chat-container/chat-container.d.ts.map +1 -0
- package/dist/components/chat-container/index.d.ts +4 -0
- package/dist/components/chat-container/index.d.ts.map +1 -0
- package/dist/components/chat-container/index.js +7 -0
- package/dist/components/chat-container/index.js.map +1 -0
- package/dist/components/chat-input/chat-input.d.ts +32 -0
- package/dist/components/chat-input/chat-input.d.ts.map +1 -0
- package/dist/components/chat-input/index.d.ts +3 -0
- package/dist/components/chat-input/index.d.ts.map +1 -0
- package/dist/components/chat-input/index.js +5 -0
- package/dist/components/chat-input/index.js.map +1 -0
- package/dist/components/chat-message/chat-message.d.ts +36 -0
- package/dist/components/chat-message/chat-message.d.ts.map +1 -0
- package/dist/components/chat-message/index.d.ts +3 -0
- package/dist/components/chat-message/index.d.ts.map +1 -0
- package/dist/components/chat-message/index.js +5 -0
- package/dist/components/chat-message/index.js.map +1 -0
- package/dist/components/checkbox/checkbox-group-context.d.ts +9 -0
- package/dist/components/checkbox/checkbox-group-context.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts +18 -0
- package/dist/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/index.d.ts +4 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/checkbox/index.js +7 -0
- package/dist/components/checkbox/index.js.map +1 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +30 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -0
- package/dist/components/checkbox-group/index.d.ts +3 -0
- package/dist/components/checkbox-group/index.d.ts.map +1 -0
- package/dist/components/checkbox-group/index.js +5 -0
- package/dist/components/checkbox-group/index.js.map +1 -0
- package/dist/components/collapsible/collapsible.d.ts +18 -0
- package/dist/components/collapsible/collapsible.d.ts.map +1 -0
- package/dist/components/collapsible/index.d.ts +3 -0
- package/dist/components/collapsible/index.d.ts.map +1 -0
- package/dist/components/collapsible/index.js +7 -0
- package/dist/components/collapsible/index.js.map +1 -0
- package/dist/components/color-picker/color-picker.d.ts +18 -0
- package/dist/components/color-picker/color-picker.d.ts.map +1 -0
- package/dist/components/color-picker/color-utils.d.ts +32 -0
- package/dist/components/color-picker/color-utils.d.ts.map +1 -0
- package/dist/components/color-picker/index.d.ts +6 -0
- package/dist/components/color-picker/index.d.ts.map +1 -0
- package/dist/components/color-picker/index.js +7 -0
- package/dist/components/color-picker/index.js.map +1 -0
- package/dist/components/color-picker/palettes.d.ts +16 -0
- package/dist/components/color-picker/palettes.d.ts.map +1 -0
- package/dist/components/combobox/combobox.agent.d.ts +3 -0
- package/dist/components/combobox/combobox.agent.d.ts.map +1 -0
- package/dist/components/combobox/combobox.d.ts +46 -0
- package/dist/components/combobox/combobox.d.ts.map +1 -0
- package/dist/components/combobox/index.d.ts +4 -0
- package/dist/components/combobox/index.d.ts.map +1 -0
- package/dist/components/combobox/index.js +10 -0
- package/dist/components/combobox/index.js.map +1 -0
- package/dist/components/command-palette/command-palette.agent.d.ts +3 -0
- package/dist/components/command-palette/command-palette.agent.d.ts.map +1 -0
- package/dist/components/command-palette/command-palette.d.ts +81 -0
- package/dist/components/command-palette/command-palette.d.ts.map +1 -0
- package/dist/components/command-palette/index.d.ts +4 -0
- package/dist/components/command-palette/index.d.ts.map +1 -0
- package/dist/components/command-palette/index.js +17 -0
- package/dist/components/command-palette/index.js.map +1 -0
- package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +23 -0
- package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/balance-cell-renderer.d.ts +18 -0
- package/dist/components/data-table/cell-renderers/balance-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/color-dot-cell-renderer.d.ts +11 -0
- package/dist/components/data-table/cell-renderers/color-dot-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/currency-cell-renderer.d.ts +13 -0
- package/dist/components/data-table/cell-renderers/currency-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/date-cell-renderer.d.ts +10 -0
- package/dist/components/data-table/cell-renderers/date-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/link-cell-renderer.d.ts +13 -0
- package/dist/components/data-table/cell-renderers/link-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/status-cell-renderer.d.ts +7 -0
- package/dist/components/data-table/cell-renderers/status-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/tag-list-cell-renderer.d.ts +6 -0
- package/dist/components/data-table/cell-renderers/tag-list-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/toggle-cell-renderer.d.ts +18 -0
- package/dist/components/data-table/cell-renderers/toggle-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/user-cell-renderer.d.ts +7 -0
- package/dist/components/data-table/cell-renderers/user-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/data-table.agent.d.ts +4 -0
- package/dist/components/data-table/data-table.agent.d.ts.map +1 -0
- package/dist/components/data-table/data-table.d.ts +78 -0
- package/dist/components/data-table/data-table.d.ts.map +1 -0
- package/dist/components/data-table/hooks/use-total-row.d.ts +16 -0
- package/dist/components/data-table/hooks/use-total-row.d.ts.map +1 -0
- package/dist/components/data-table/index.d.ts +27 -0
- package/dist/components/data-table/index.d.ts.map +1 -0
- package/dist/components/data-table/index.js +19 -0
- package/dist/components/data-table/index.js.map +1 -0
- package/dist/components/data-table/toolbar.d.ts +49 -0
- package/dist/components/data-table/toolbar.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker.d.ts +37 -0
- package/dist/components/date-picker/date-picker.d.ts.map +1 -0
- package/dist/components/date-picker/index.d.ts +3 -0
- package/dist/components/date-picker/index.d.ts.map +1 -0
- package/dist/components/date-picker/index.js +5 -0
- package/dist/components/date-picker/index.js.map +1 -0
- package/dist/components/date-range-picker/date-range-picker.d.ts +42 -0
- package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -0
- package/dist/components/date-range-picker/index.d.ts +3 -0
- package/dist/components/date-range-picker/index.d.ts.map +1 -0
- package/dist/components/date-range-picker/index.js +5 -0
- package/dist/components/date-range-picker/index.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker.d.ts +35 -0
- package/dist/components/date-time-picker/date-time-picker.d.ts.map +1 -0
- package/dist/components/date-time-picker/index.d.ts +3 -0
- package/dist/components/date-time-picker/index.d.ts.map +1 -0
- package/dist/components/date-time-picker/index.js +5 -0
- package/dist/components/date-time-picker/index.js.map +1 -0
- package/dist/components/description-list/description-list.d.ts +25 -0
- package/dist/components/description-list/description-list.d.ts.map +1 -0
- package/dist/components/description-list/index.d.ts +3 -0
- package/dist/components/description-list/index.d.ts.map +1 -0
- package/dist/components/description-list/index.js +5 -0
- package/dist/components/description-list/index.js.map +1 -0
- package/dist/components/dialog/dialog.agent.d.ts +10 -0
- package/dist/components/dialog/dialog.agent.d.ts.map +1 -0
- package/dist/components/dialog/dialog.d.ts +34 -0
- package/dist/components/dialog/dialog.d.ts.map +1 -0
- package/dist/components/dialog/index.d.ts +4 -0
- package/dist/components/dialog/index.d.ts.map +1 -0
- package/dist/components/dialog/index.js +6 -0
- package/dist/components/dialog/index.js.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts +3 -0
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +54 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -0
- package/dist/components/dropdown-menu/index.d.ts +4 -0
- package/dist/components/dropdown-menu/index.d.ts.map +1 -0
- package/dist/components/dropdown-menu/index.js +7 -0
- package/dist/components/dropdown-menu/index.js.map +1 -0
- package/dist/components/empty-state/empty-state.d.ts +30 -0
- package/dist/components/empty-state/empty-state.d.ts.map +1 -0
- package/dist/components/empty-state/index.d.ts +3 -0
- package/dist/components/empty-state/index.d.ts.map +1 -0
- package/dist/components/empty-state/index.js +5 -0
- package/dist/components/empty-state/index.js.map +1 -0
- package/dist/components/file-upload/file-upload.agent.d.ts +3 -0
- package/dist/components/file-upload/file-upload.agent.d.ts.map +1 -0
- package/dist/components/file-upload/file-upload.d.ts +33 -0
- package/dist/components/file-upload/file-upload.d.ts.map +1 -0
- package/dist/components/file-upload/index.d.ts +4 -0
- package/dist/components/file-upload/index.d.ts.map +1 -0
- package/dist/components/file-upload/index.js +6 -0
- package/dist/components/file-upload/index.js.map +1 -0
- package/dist/components/flag/flag.d.ts +29 -0
- package/dist/components/flag/flag.d.ts.map +1 -0
- package/dist/components/flag/index.d.ts +3 -0
- package/dist/components/flag/index.d.ts.map +1 -0
- package/dist/components/flag/index.js +7 -0
- package/dist/components/flag/index.js.map +1 -0
- package/dist/components/floating-action-button/floating-action-button.d.ts +24 -0
- package/dist/components/floating-action-button/floating-action-button.d.ts.map +1 -0
- package/dist/components/floating-action-button/index.d.ts +2 -0
- package/dist/components/floating-action-button/index.d.ts.map +1 -0
- package/dist/components/floating-action-button/index.js +5 -0
- package/dist/components/floating-action-button/index.js.map +1 -0
- package/dist/components/form-field/form-field-context.d.ts +12 -0
- package/dist/components/form-field/form-field-context.d.ts.map +1 -0
- package/dist/components/form-field/form-field.d.ts +24 -0
- package/dist/components/form-field/form-field.d.ts.map +1 -0
- package/dist/components/form-field/index.d.ts +4 -0
- package/dist/components/form-field/index.d.ts.map +1 -0
- package/dist/components/form-field/index.js +8 -0
- package/dist/components/form-field/index.js.map +1 -0
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +45 -0
- package/dist/components/freemium-paywall/freemium-paywall.d.ts.map +1 -0
- package/dist/components/freemium-paywall/index.d.ts +3 -0
- package/dist/components/freemium-paywall/index.d.ts.map +1 -0
- package/dist/components/freemium-paywall/index.js +5 -0
- package/dist/components/freemium-paywall/index.js.map +1 -0
- package/dist/components/header/header.d.ts +39 -0
- package/dist/components/header/header.d.ts.map +1 -0
- package/dist/components/header/index.d.ts +3 -0
- package/dist/components/header/index.d.ts.map +1 -0
- package/dist/components/header/index.js +12 -0
- package/dist/components/header/index.js.map +1 -0
- package/dist/components/icon-button-group/icon-button-group.d.ts +246 -0
- package/dist/components/icon-button-group/icon-button-group.d.ts.map +1 -0
- package/dist/components/icon-button-group/index.d.ts +3 -0
- package/dist/components/icon-button-group/index.d.ts.map +1 -0
- package/dist/components/icon-button-group/index.js +5 -0
- package/dist/components/icon-button-group/index.js.map +1 -0
- package/dist/components/index.d.ts +111 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/kbd/index.d.ts +3 -0
- package/dist/components/kbd/index.d.ts.map +1 -0
- package/dist/components/kbd/index.js +6 -0
- package/dist/components/kbd/index.js.map +1 -0
- package/dist/components/kbd/kbd.d.ts +38 -0
- package/dist/components/kbd/kbd.d.ts.map +1 -0
- package/dist/components/key-value-pair/index.d.ts +3 -0
- package/dist/components/key-value-pair/index.d.ts.map +1 -0
- package/dist/components/key-value-pair/index.js +5 -0
- package/dist/components/key-value-pair/index.js.map +1 -0
- package/dist/components/key-value-pair/key-value-pair.d.ts +21 -0
- package/dist/components/key-value-pair/key-value-pair.d.ts.map +1 -0
- package/dist/components/list/index.d.ts +3 -0
- package/dist/components/list/index.d.ts.map +1 -0
- package/dist/components/list/index.js +5 -0
- package/dist/components/list/index.js.map +1 -0
- package/dist/components/list/list.d.ts +42 -0
- package/dist/components/list/list.d.ts.map +1 -0
- package/dist/components/logo/index.d.ts +3 -0
- package/dist/components/logo/index.d.ts.map +1 -0
- package/dist/components/logo/index.js +5 -0
- package/dist/components/logo/index.js.map +1 -0
- package/dist/components/logo/logo.d.ts +35 -0
- package/dist/components/logo/logo.d.ts.map +1 -0
- package/dist/components/message-card/index.d.ts +3 -0
- package/dist/components/message-card/index.d.ts.map +1 -0
- package/dist/components/message-card/index.js +6 -0
- package/dist/components/message-card/index.js.map +1 -0
- package/dist/components/message-card/message-card.d.ts +73 -0
- package/dist/components/message-card/message-card.d.ts.map +1 -0
- package/dist/components/message-tray/index.d.ts +3 -0
- package/dist/components/message-tray/index.d.ts.map +1 -0
- package/dist/components/message-tray/index.js +5 -0
- package/dist/components/message-tray/index.js.map +1 -0
- package/dist/components/message-tray/message-tray.d.ts +40 -0
- package/dist/components/message-tray/message-tray.d.ts.map +1 -0
- package/dist/components/multi-select/index.d.ts +4 -0
- package/dist/components/multi-select/index.d.ts.map +1 -0
- package/dist/components/multi-select/index.js +7 -0
- package/dist/components/multi-select/index.js.map +1 -0
- package/dist/components/multi-select/multi-select.agent.d.ts +3 -0
- package/dist/components/multi-select/multi-select.agent.d.ts.map +1 -0
- package/dist/components/multi-select/multi-select.d.ts +30 -0
- package/dist/components/multi-select/multi-select.d.ts.map +1 -0
- package/dist/components/navigation-menu/index.d.ts +3 -0
- package/dist/components/navigation-menu/index.d.ts.map +1 -0
- package/dist/components/navigation-menu/index.js +13 -0
- package/dist/components/navigation-menu/index.js.map +1 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +30 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -0
- package/dist/components/notification-card/index.d.ts +3 -0
- package/dist/components/notification-card/index.d.ts.map +1 -0
- package/dist/components/notification-card/index.js +6 -0
- package/dist/components/notification-card/index.js.map +1 -0
- package/dist/components/notification-card/notification-card.d.ts +62 -0
- package/dist/components/notification-card/notification-card.d.ts.map +1 -0
- package/dist/components/notification-tray/index.d.ts +3 -0
- package/dist/components/notification-tray/index.d.ts.map +1 -0
- package/dist/components/notification-tray/index.js +5 -0
- package/dist/components/notification-tray/index.js.map +1 -0
- package/dist/components/notification-tray/notification-tray.d.ts +38 -0
- package/dist/components/notification-tray/notification-tray.d.ts.map +1 -0
- package/dist/components/number-input/index.d.ts +5 -0
- package/dist/components/number-input/index.d.ts.map +1 -0
- package/dist/components/number-input/index.js +6 -0
- package/dist/components/number-input/index.js.map +1 -0
- package/dist/components/number-input/number-input.d.ts +34 -0
- package/dist/components/number-input/number-input.d.ts.map +1 -0
- package/dist/components/number-input/use-locale-number.d.ts +15 -0
- package/dist/components/number-input/use-locale-number.d.ts.map +1 -0
- package/dist/components/otp-input/index.d.ts +3 -0
- package/dist/components/otp-input/index.d.ts.map +1 -0
- package/dist/components/otp-input/index.js +5 -0
- package/dist/components/otp-input/index.js.map +1 -0
- package/dist/components/otp-input/otp-input.d.ts +13 -0
- package/dist/components/otp-input/otp-input.d.ts.map +1 -0
- package/dist/components/pagination/index.d.ts +4 -0
- package/dist/components/pagination/index.d.ts.map +1 -0
- package/dist/components/pagination/index.js +13 -0
- package/dist/components/pagination/index.js.map +1 -0
- package/dist/components/pagination/pagination.agent.d.ts +3 -0
- package/dist/components/pagination/pagination.agent.d.ts.map +1 -0
- package/dist/components/pagination/pagination.d.ts +64 -0
- package/dist/components/pagination/pagination.d.ts.map +1 -0
- package/dist/components/password-input/index.d.ts +3 -0
- package/dist/components/password-input/index.d.ts.map +1 -0
- package/dist/components/password-input/index.js +5 -0
- package/dist/components/password-input/index.js.map +1 -0
- package/dist/components/password-input/password-input.d.ts +22 -0
- package/dist/components/password-input/password-input.d.ts.map +1 -0
- package/dist/components/payment-form/index.d.ts +4 -0
- package/dist/components/payment-form/index.d.ts.map +1 -0
- package/dist/components/payment-form/index.js +12 -0
- package/dist/components/payment-form/index.js.map +1 -0
- package/dist/components/payment-form/payment-form.agent.d.ts +4 -0
- package/dist/components/payment-form/payment-form.agent.d.ts.map +1 -0
- package/dist/components/payment-form/payment-form.d.ts +68 -0
- package/dist/components/payment-form/payment-form.d.ts.map +1 -0
- package/dist/components/pdf-viewer/index.d.ts +4 -0
- package/dist/components/pdf-viewer/index.d.ts.map +1 -0
- package/dist/components/pdf-viewer/index.js +6 -0
- package/dist/components/pdf-viewer/index.js.map +1 -0
- package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts +4 -0
- package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +1 -0
- package/dist/components/pdf-viewer/pdf-viewer.d.ts +36 -0
- package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -0
- package/dist/components/phone-input/index.d.ts +3 -0
- package/dist/components/phone-input/index.d.ts.map +1 -0
- package/dist/components/phone-input/index.js +8 -0
- package/dist/components/phone-input/index.js.map +1 -0
- package/dist/components/phone-input/phone-input.d.ts +50 -0
- package/dist/components/phone-input/phone-input.d.ts.map +1 -0
- package/dist/components/popover/index.d.ts +4 -0
- package/dist/components/popover/index.d.ts.map +1 -0
- package/dist/components/popover/index.js +7 -0
- package/dist/components/popover/index.js.map +1 -0
- package/dist/components/popover/popover.agent.d.ts +3 -0
- package/dist/components/popover/popover.agent.d.ts.map +1 -0
- package/dist/components/popover/popover.d.ts +37 -0
- package/dist/components/popover/popover.d.ts.map +1 -0
- package/dist/components/privacy-lock/index.d.ts +3 -0
- package/dist/components/privacy-lock/index.d.ts.map +1 -0
- package/dist/components/privacy-lock/index.js +5 -0
- package/dist/components/privacy-lock/index.js.map +1 -0
- package/dist/components/privacy-lock/privacy-lock.d.ts +35 -0
- package/dist/components/privacy-lock/privacy-lock.d.ts.map +1 -0
- package/dist/components/progress/index.d.ts +4 -0
- package/dist/components/progress/index.d.ts.map +1 -0
- package/dist/components/progress/index.js +7 -0
- package/dist/components/progress/index.js.map +1 -0
- package/dist/components/progress/progress.agent.d.ts +4 -0
- package/dist/components/progress/progress.agent.d.ts.map +1 -0
- package/dist/components/progress/progress.d.ts +20 -0
- package/dist/components/progress/progress.d.ts.map +1 -0
- package/dist/components/radio-group/index.d.ts +5 -0
- package/dist/components/radio-group/index.d.ts.map +1 -0
- package/dist/components/radio-group/index.js +6 -0
- package/dist/components/radio-group/index.js.map +1 -0
- package/dist/components/radio-group/radio-group-context.d.ts +7 -0
- package/dist/components/radio-group/radio-group-context.d.ts.map +1 -0
- package/dist/components/radio-group/radio-group.d.ts +19 -0
- package/dist/components/radio-group/radio-group.d.ts.map +1 -0
- package/dist/components/radio-group/radio.d.ts +16 -0
- package/dist/components/radio-group/radio.d.ts.map +1 -0
- package/dist/components/resizable/index.d.ts +6 -0
- package/dist/components/resizable/index.d.ts.map +1 -0
- package/dist/components/resizable/index.js +10 -0
- package/dist/components/resizable/index.js.map +1 -0
- package/dist/components/resizable/resizable-context.d.ts +25 -0
- package/dist/components/resizable/resizable-context.d.ts.map +1 -0
- package/dist/components/resizable/resizable.agent.d.ts +3 -0
- package/dist/components/resizable/resizable.agent.d.ts.map +1 -0
- package/dist/components/resizable/resizable.d.ts +32 -0
- package/dist/components/resizable/resizable.d.ts.map +1 -0
- package/dist/components/rich-text-editor/index.d.ts +4 -0
- package/dist/components/rich-text-editor/index.d.ts.map +1 -0
- package/dist/components/rich-text-editor/index.js +10 -0
- package/dist/components/rich-text-editor/index.js.map +1 -0
- package/dist/components/rich-text-editor/rich-text-editor.agent.d.ts +4 -0
- package/dist/components/rich-text-editor/rich-text-editor.agent.d.ts.map +1 -0
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +45 -0
- package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -0
- package/dist/components/scroll-area/index.d.ts +4 -0
- package/dist/components/scroll-area/index.d.ts.map +1 -0
- package/dist/components/scroll-area/index.js +10 -0
- package/dist/components/scroll-area/index.js.map +1 -0
- package/dist/components/scroll-area/scroll-area.d.ts +29 -0
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -0
- package/dist/components/search-bar/index.d.ts +3 -0
- package/dist/components/search-bar/index.d.ts.map +1 -0
- package/dist/components/search-bar/index.js +6 -0
- package/dist/components/search-bar/index.js.map +1 -0
- package/dist/components/search-bar/search-bar.d.ts +59 -0
- package/dist/components/search-bar/search-bar.d.ts.map +1 -0
- package/dist/components/search-input/index.d.ts +3 -0
- package/dist/components/search-input/index.d.ts.map +1 -0
- package/dist/components/search-input/index.js +5 -0
- package/dist/components/search-input/index.js.map +1 -0
- package/dist/components/search-input/search-input.d.ts +28 -0
- package/dist/components/search-input/search-input.d.ts.map +1 -0
- package/dist/components/select/index.d.ts +5 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/index.js +15 -0
- package/dist/components/select/index.js.map +1 -0
- package/dist/components/select/select.d.ts +78 -0
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/separator/index.d.ts +3 -0
- package/dist/components/separator/index.d.ts.map +1 -0
- package/dist/components/separator/index.js +5 -0
- package/dist/components/separator/index.js.map +1 -0
- package/dist/components/separator/separator.d.ts +26 -0
- package/dist/components/separator/separator.d.ts.map +1 -0
- package/dist/components/sheet/index.d.ts +4 -0
- package/dist/components/sheet/index.d.ts.map +1 -0
- package/dist/components/sheet/index.js +7 -0
- package/dist/components/sheet/index.js.map +1 -0
- package/dist/components/sheet/sheet.agent.d.ts +3 -0
- package/dist/components/sheet/sheet.agent.d.ts.map +1 -0
- package/dist/components/sheet/sheet.d.ts +34 -0
- package/dist/components/sheet/sheet.d.ts.map +1 -0
- package/dist/components/sidebar/index.d.ts +4 -0
- package/dist/components/sidebar/index.d.ts.map +1 -0
- package/dist/components/sidebar/index.js +25 -0
- package/dist/components/sidebar/index.js.map +1 -0
- package/dist/components/sidebar/sidebar.agent.d.ts +3 -0
- package/dist/components/sidebar/sidebar.agent.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar.d.ts +174 -0
- package/dist/components/sidebar/sidebar.d.ts.map +1 -0
- package/dist/components/sign-in-with-alfadocs-button/index.d.ts +3 -0
- package/dist/components/sign-in-with-alfadocs-button/index.d.ts.map +1 -0
- package/dist/components/sign-in-with-alfadocs-button/index.js +5 -0
- package/dist/components/sign-in-with-alfadocs-button/index.js.map +1 -0
- package/dist/components/sign-in-with-alfadocs-button/sign-in-with-alfadocs-button.d.ts +23 -0
- package/dist/components/sign-in-with-alfadocs-button/sign-in-with-alfadocs-button.d.ts.map +1 -0
- package/dist/components/signature-capture/index.d.ts +4 -0
- package/dist/components/signature-capture/index.d.ts.map +1 -0
- package/dist/components/signature-capture/index.js +6 -0
- package/dist/components/signature-capture/index.js.map +1 -0
- package/dist/components/signature-capture/signature-capture.agent.d.ts +4 -0
- package/dist/components/signature-capture/signature-capture.agent.d.ts.map +1 -0
- package/dist/components/signature-capture/signature-capture.d.ts +53 -0
- package/dist/components/signature-capture/signature-capture.d.ts.map +1 -0
- package/dist/components/skeleton/index.d.ts +3 -0
- package/dist/components/skeleton/index.d.ts.map +1 -0
- package/dist/components/skeleton/index.js +5 -0
- package/dist/components/skeleton/index.js.map +1 -0
- package/dist/components/skeleton/skeleton.d.ts +29 -0
- package/dist/components/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/slider/index.d.ts +3 -0
- package/dist/components/slider/index.d.ts.map +1 -0
- package/dist/components/slider/index.js +5 -0
- package/dist/components/slider/index.js.map +1 -0
- package/dist/components/slider/slider.d.ts +31 -0
- package/dist/components/slider/slider.d.ts.map +1 -0
- package/dist/components/slot-grid/index.d.ts +3 -0
- package/dist/components/slot-grid/index.d.ts.map +1 -0
- package/dist/components/slot-grid/index.js +7 -0
- package/dist/components/slot-grid/index.js.map +1 -0
- package/dist/components/slot-grid/slot-grid.d.ts +82 -0
- package/dist/components/slot-grid/slot-grid.d.ts.map +1 -0
- package/dist/components/sparkline/index.d.ts +6 -0
- package/dist/components/sparkline/index.d.ts.map +1 -0
- package/dist/components/sparkline/index.js +7 -0
- package/dist/components/sparkline/index.js.map +1 -0
- package/dist/components/sparkline/sparkline.agent.d.ts +4 -0
- package/dist/components/sparkline/sparkline.agent.d.ts.map +1 -0
- package/dist/components/sparkline/sparkline.d.ts +39 -0
- package/dist/components/sparkline/sparkline.d.ts.map +1 -0
- package/dist/components/sparkline/use-linear-trend.d.ts +7 -0
- package/dist/components/sparkline/use-linear-trend.d.ts.map +1 -0
- package/dist/components/spinner/index.d.ts +3 -0
- package/dist/components/spinner/index.d.ts.map +1 -0
- package/dist/components/spinner/index.js +5 -0
- package/dist/components/spinner/index.js.map +1 -0
- package/dist/components/spinner/spinner.d.ts +18 -0
- package/dist/components/spinner/spinner.d.ts.map +1 -0
- package/dist/components/stat/index.d.ts +3 -0
- package/dist/components/stat/index.d.ts.map +1 -0
- package/dist/components/stat/index.js +5 -0
- package/dist/components/stat/index.js.map +1 -0
- package/dist/components/stat/stat.d.ts +32 -0
- package/dist/components/stat/stat.d.ts.map +1 -0
- package/dist/components/stepper-accordion/index.d.ts +4 -0
- package/dist/components/stepper-accordion/index.d.ts.map +1 -0
- package/dist/components/stepper-accordion/index.js +5 -0
- package/dist/components/stepper-accordion/index.js.map +1 -0
- package/dist/components/stepper-accordion/stepper-accordion.d.ts +32 -0
- package/dist/components/stepper-accordion/stepper-accordion.d.ts.map +1 -0
- package/dist/components/stepper-calendar/index.d.ts +3 -0
- package/dist/components/stepper-calendar/index.d.ts.map +1 -0
- package/dist/components/stepper-calendar/index.js +5 -0
- package/dist/components/stepper-calendar/index.js.map +1 -0
- package/dist/components/stepper-calendar/stepper-calendar.d.ts +44 -0
- package/dist/components/stepper-calendar/stepper-calendar.d.ts.map +1 -0
- package/dist/components/stepper-progress/index.d.ts +3 -0
- package/dist/components/stepper-progress/index.d.ts.map +1 -0
- package/dist/components/stepper-progress/index.js +5 -0
- package/dist/components/stepper-progress/index.js.map +1 -0
- package/dist/components/stepper-progress/stepper-progress.d.ts +28 -0
- package/dist/components/stepper-progress/stepper-progress.d.ts.map +1 -0
- package/dist/components/streaming-text/index.d.ts +3 -0
- package/dist/components/streaming-text/index.d.ts.map +1 -0
- package/dist/components/streaming-text/index.js +5 -0
- package/dist/components/streaming-text/index.js.map +1 -0
- package/dist/components/streaming-text/streaming-text.d.ts +23 -0
- package/dist/components/streaming-text/streaming-text.d.ts.map +1 -0
- package/dist/components/suggestion-chip/index.d.ts +3 -0
- package/dist/components/suggestion-chip/index.d.ts.map +1 -0
- package/dist/components/suggestion-chip/index.js +6 -0
- package/dist/components/suggestion-chip/index.js.map +1 -0
- package/dist/components/suggestion-chip/suggestion-chip.d.ts +28 -0
- package/dist/components/suggestion-chip/suggestion-chip.d.ts.map +1 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/switch/index.d.ts.map +1 -0
- package/dist/components/switch/index.js +5 -0
- package/dist/components/switch/index.js.map +1 -0
- package/dist/components/switch/switch.d.ts +21 -0
- package/dist/components/switch/switch.d.ts.map +1 -0
- package/dist/components/tabs/index.d.ts +4 -0
- package/dist/components/tabs/index.d.ts.map +1 -0
- package/dist/components/tabs/index.js +9 -0
- package/dist/components/tabs/index.js.map +1 -0
- package/dist/components/tabs/tabs.agent.d.ts +3 -0
- package/dist/components/tabs/tabs.agent.d.ts.map +1 -0
- package/dist/components/tabs/tabs.d.ts +63 -0
- package/dist/components/tabs/tabs.d.ts.map +1 -0
- package/dist/components/tag/index.d.ts +3 -0
- package/dist/components/tag/index.d.ts.map +1 -0
- package/dist/components/tag/index.js +5 -0
- package/dist/components/tag/index.js.map +1 -0
- package/dist/components/tag/tag.d.ts +25 -0
- package/dist/components/tag/tag.d.ts.map +1 -0
- package/dist/components/task-card/index.d.ts +3 -0
- package/dist/components/task-card/index.d.ts.map +1 -0
- package/dist/components/task-card/index.js +6 -0
- package/dist/components/task-card/index.js.map +1 -0
- package/dist/components/task-card/task-card.d.ts +40 -0
- package/dist/components/task-card/task-card.d.ts.map +1 -0
- package/dist/components/task-tray/index.d.ts +3 -0
- package/dist/components/task-tray/index.d.ts.map +1 -0
- package/dist/components/task-tray/index.js +5 -0
- package/dist/components/task-tray/index.js.map +1 -0
- package/dist/components/task-tray/task-tray.d.ts +28 -0
- package/dist/components/task-tray/task-tray.d.ts.map +1 -0
- package/dist/components/text-area/index.d.ts +3 -0
- package/dist/components/text-area/index.d.ts.map +1 -0
- package/dist/components/text-area/index.js +5 -0
- package/dist/components/text-area/index.js.map +1 -0
- package/dist/components/text-area/text-area.d.ts +19 -0
- package/dist/components/text-area/text-area.d.ts.map +1 -0
- package/dist/components/text-input/index.d.ts +3 -0
- package/dist/components/text-input/index.d.ts.map +1 -0
- package/dist/components/text-input/index.js +5 -0
- package/dist/components/text-input/index.js.map +1 -0
- package/dist/components/text-input/text-input.d.ts +22 -0
- package/dist/components/text-input/text-input.d.ts.map +1 -0
- package/dist/components/theme-root/index.d.ts +3 -0
- package/dist/components/theme-root/index.d.ts.map +1 -0
- package/dist/components/theme-root/index.js +5 -0
- package/dist/components/theme-root/index.js.map +1 -0
- package/dist/components/theme-root/theme-root.d.ts +16 -0
- package/dist/components/theme-root/theme-root.d.ts.map +1 -0
- package/dist/components/time-picker/index.d.ts +3 -0
- package/dist/components/time-picker/index.d.ts.map +1 -0
- package/dist/components/time-picker/index.js +5 -0
- package/dist/components/time-picker/index.js.map +1 -0
- package/dist/components/time-picker/time-picker.d.ts +38 -0
- package/dist/components/time-picker/time-picker.d.ts.map +1 -0
- package/dist/components/timeline/index.d.ts +3 -0
- package/dist/components/timeline/index.d.ts.map +1 -0
- package/dist/components/timeline/index.js +5 -0
- package/dist/components/timeline/index.js.map +1 -0
- package/dist/components/timeline/timeline.d.ts +47 -0
- package/dist/components/timeline/timeline.d.ts.map +1 -0
- package/dist/components/timestamp/index.d.ts +3 -0
- package/dist/components/timestamp/index.d.ts.map +1 -0
- package/dist/components/timestamp/index.js +5 -0
- package/dist/components/timestamp/index.js.map +1 -0
- package/dist/components/timestamp/timestamp.d.ts +51 -0
- package/dist/components/timestamp/timestamp.d.ts.map +1 -0
- package/dist/components/toast/index.d.ts +3 -0
- package/dist/components/toast/index.d.ts.map +1 -0
- package/dist/components/toast/index.js +9 -0
- package/dist/components/toast/index.js.map +1 -0
- package/dist/components/toast/toast.d.ts +32 -0
- package/dist/components/toast/toast.d.ts.map +1 -0
- package/dist/components/tooltip/index.d.ts +3 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/tooltip/index.js +6 -0
- package/dist/components/tooltip/index.js.map +1 -0
- package/dist/components/tooltip/tooltip.d.ts +31 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/tooth-scheme/index.d.ts +5 -0
- package/dist/components/tooth-scheme/index.d.ts.map +1 -0
- package/dist/components/tooth-scheme/index.js +20 -0
- package/dist/components/tooth-scheme/index.js.map +1 -0
- package/dist/components/tooth-scheme/tooth-data.d.ts +91 -0
- package/dist/components/tooth-scheme/tooth-data.d.ts.map +1 -0
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts +4 -0
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts.map +1 -0
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +34 -0
- package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -0
- package/dist/components/transcript-panel/index.d.ts +3 -0
- package/dist/components/transcript-panel/index.d.ts.map +1 -0
- package/dist/components/transcript-panel/index.js +5 -0
- package/dist/components/transcript-panel/index.js.map +1 -0
- package/dist/components/transcript-panel/transcript-panel.d.ts +25 -0
- package/dist/components/transcript-panel/transcript-panel.d.ts.map +1 -0
- package/dist/components/typing-indicator/index.d.ts +3 -0
- package/dist/components/typing-indicator/index.d.ts.map +1 -0
- package/dist/components/typing-indicator/index.js +5 -0
- package/dist/components/typing-indicator/index.js.map +1 -0
- package/dist/components/typing-indicator/typing-indicator.d.ts +17 -0
- package/dist/components/typing-indicator/typing-indicator.d.ts.map +1 -0
- package/dist/components/warning-stack/index.d.ts +2 -0
- package/dist/components/warning-stack/index.d.ts.map +1 -0
- package/dist/components/warning-stack/index.js +5 -0
- package/dist/components/warning-stack/index.js.map +1 -0
- package/dist/components/warning-stack/warning-stack.d.ts +42 -0
- package/dist/components/warning-stack/warning-stack.d.ts.map +1 -0
- package/dist/components/workflow/index.d.ts +9 -0
- package/dist/components/workflow/index.d.ts.map +1 -0
- package/dist/components/workflow/index.js +14 -0
- package/dist/components/workflow/index.js.map +1 -0
- package/dist/components/workflow/workflow-card.d.ts +25 -0
- package/dist/components/workflow/workflow-card.d.ts.map +1 -0
- package/dist/components/workflow/workflow-editor.d.ts +29 -0
- package/dist/components/workflow/workflow-editor.d.ts.map +1 -0
- package/dist/components/workflow/workflow-map.d.ts +26 -0
- package/dist/components/workflow/workflow-map.d.ts.map +1 -0
- package/dist/components/workflow/workflow-types.d.ts +128 -0
- package/dist/components/workflow/workflow-types.d.ts.map +1 -0
- package/dist/fonts/SpaceGrotesk-VF.woff2 +0 -0
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +12 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/use-prefers-reduced-motion.d.ts +10 -0
- package/dist/hooks/use-prefers-reduced-motion.d.ts.map +1 -0
- package/dist/hooks/use-theme.d.ts +51 -0
- package/dist/hooks/use-theme.d.ts.map +1 -0
- package/dist/i18n/config.d.ts +4 -0
- package/dist/i18n/config.d.ts.map +1 -0
- package/dist/i18n/config.js +2763 -0
- package/dist/i18n/config.js.map +1 -0
- package/dist/i18n/resources.d.ts +2809 -0
- package/dist/i18n/resources.d.ts.map +1 -0
- package/dist/index.js +434 -0
- package/dist/index.js.map +1 -0
- package/dist/locales/ar.json +1 -0
- package/dist/locales/de.json +921 -0
- package/dist/locales/en.json +945 -0
- package/dist/locales/it.json +921 -0
- package/dist/option/index.js +2 -0
- package/dist/option/index.js.map +1 -0
- package/dist/patterns/leo-assistant/index.d.ts +20 -0
- package/dist/patterns/leo-assistant/index.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/index.js +8 -0
- package/dist/patterns/leo-assistant/index.js.map +1 -0
- package/dist/patterns/leo-assistant/leo-chat-surface.d.ts +3 -0
- package/dist/patterns/leo-assistant/leo-chat-surface.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-embedded.d.ts +13 -0
- package/dist/patterns/leo-assistant/leo-embedded.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-popout.d.ts +13 -0
- package/dist/patterns/leo-assistant/leo-popout.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-sidebar.d.ts +38 -0
- package/dist/patterns/leo-assistant/leo-sidebar.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-types.d.ts +122 -0
- package/dist/patterns/leo-assistant/leo-types.d.ts.map +1 -0
- package/dist/patterns/patient-shell/index.d.ts +12 -0
- package/dist/patterns/patient-shell/index.d.ts.map +1 -0
- package/dist/patterns/patient-shell/index.js +5 -0
- package/dist/patterns/patient-shell/index.js.map +1 -0
- package/dist/patterns/patient-shell/patient-shell.d.ts +62 -0
- package/dist/patterns/patient-shell/patient-shell.d.ts.map +1 -0
- package/dist/safe-html/index.js +66 -0
- package/dist/safe-html/index.js.map +1 -0
- package/dist/tokens/apexcharts-theme.d.ts +3 -0
- package/dist/tokens/apexcharts-theme.d.ts.map +1 -0
- package/dist/tokens/themes/bridges/stripe-appearance.d.ts +10 -0
- package/dist/tokens/themes/bridges/stripe-appearance.d.ts.map +1 -0
- package/dist/tokens.css +3 -0
- package/package.json +330 -0
|
@@ -0,0 +1,1337 @@
|
|
|
1
|
+
import { jsx as t, jsxs as d, Fragment as fe } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as P, useMemo as V, useRef as B, useCallback as K, useEffect as me } from "react";
|
|
3
|
+
import { c as L } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as z } from "react-i18next";
|
|
5
|
+
import { C as _ } from "./card-n97MNPP2.js";
|
|
6
|
+
import { B as pe } from "./badge--CmSr7ok.js";
|
|
7
|
+
import { K as G } from "./key-value-pair--Je59tAF.js";
|
|
8
|
+
import { T as he } from "./timestamp-BLM-jjdw.js";
|
|
9
|
+
import { I as M } from "./icon-button-C1vpylg3.js";
|
|
10
|
+
import { c as C } from "./createLucideIcon-CrFbzy84.js";
|
|
11
|
+
import { C as ve } from "./circle-BkqTgYmt.js";
|
|
12
|
+
import { A as W } from "./alert-C5ud6CfE.js";
|
|
13
|
+
import { B as we } from "./button-CXL8bA8G.js";
|
|
14
|
+
import { D as N } from "./dropdown-menu-CJKvK7VG.js";
|
|
15
|
+
import { E as T } from "./empty-state-DiG7vYBM.js";
|
|
16
|
+
import { P as ee } from "./plus-CYKNmfuA.js";
|
|
17
|
+
import { G as te } from "./globe-BkEFMNSg.js";
|
|
18
|
+
import { S as re } from "./square-check-big-Jr-0202D.js";
|
|
19
|
+
import { M as ae } from "./mail-C8irm52s.js";
|
|
20
|
+
import { C as oe } from "./clock-21AGPWJ5.js";
|
|
21
|
+
import { C as ye } from "./chevron-up-zOEDrmBB.js";
|
|
22
|
+
import { C as be } from "./chevron-down-BX_NP2Yh.js";
|
|
23
|
+
import { C as ge } from "./check-DPdL_Sm7.js";
|
|
24
|
+
/**
|
|
25
|
+
* @license lucide-react v1.8.0 - ISC
|
|
26
|
+
*
|
|
27
|
+
* This source code is licensed under the ISC license.
|
|
28
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
29
|
+
*/
|
|
30
|
+
const ke = [
|
|
31
|
+
["path", { d: "M10.1 2.182a10 10 0 0 1 3.8 0", key: "5ilxe3" }],
|
|
32
|
+
["path", { d: "M13.9 21.818a10 10 0 0 1-3.8 0", key: "11zvb9" }],
|
|
33
|
+
["path", { d: "M17.609 3.721a10 10 0 0 1 2.69 2.7", key: "1iw5b2" }],
|
|
34
|
+
["path", { d: "M2.182 13.9a10 10 0 0 1 0-3.8", key: "c0bmvh" }],
|
|
35
|
+
["path", { d: "M20.279 17.609a10 10 0 0 1-2.7 2.69", key: "1ruxm7" }],
|
|
36
|
+
["path", { d: "M21.818 10.1a10 10 0 0 1 0 3.8", key: "qkgqxc" }],
|
|
37
|
+
["path", { d: "M3.721 6.391a10 10 0 0 1 2.7-2.69", key: "1mcia2" }],
|
|
38
|
+
["path", { d: "M6.391 20.279a10 10 0 0 1-2.69-2.7", key: "1fvljs" }]
|
|
39
|
+
], xe = C("circle-dashed", ke);
|
|
40
|
+
/**
|
|
41
|
+
* @license lucide-react v1.8.0 - ISC
|
|
42
|
+
*
|
|
43
|
+
* This source code is licensed under the ISC license.
|
|
44
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
45
|
+
*/
|
|
46
|
+
const Ne = [
|
|
47
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
48
|
+
["line", { x1: "10", x2: "10", y1: "15", y2: "9", key: "c1nkhi" }],
|
|
49
|
+
["line", { x1: "14", x2: "14", y1: "15", y2: "9", key: "h65svq" }]
|
|
50
|
+
], _e = C("circle-pause", Ne);
|
|
51
|
+
/**
|
|
52
|
+
* @license lucide-react v1.8.0 - ISC
|
|
53
|
+
*
|
|
54
|
+
* This source code is licensed under the ISC license.
|
|
55
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
56
|
+
*/
|
|
57
|
+
const Ce = [
|
|
58
|
+
["path", { d: "M13 5h8", key: "a7qcls" }],
|
|
59
|
+
["path", { d: "M13 12h8", key: "h98zly" }],
|
|
60
|
+
["path", { d: "M13 19h8", key: "c3s6r1" }],
|
|
61
|
+
["path", { d: "m3 17 2 2 4-4", key: "1jhpwq" }],
|
|
62
|
+
["path", { d: "m3 7 2 2 4-4", key: "1obspn" }]
|
|
63
|
+
], Me = C("list-checks", Ce);
|
|
64
|
+
/**
|
|
65
|
+
* @license lucide-react v1.8.0 - ISC
|
|
66
|
+
*
|
|
67
|
+
* This source code is licensed under the ISC license.
|
|
68
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
69
|
+
*/
|
|
70
|
+
const ze = [
|
|
71
|
+
[
|
|
72
|
+
"path",
|
|
73
|
+
{
|
|
74
|
+
d: "M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",
|
|
75
|
+
key: "1sd12s"
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
], ne = C("message-circle", ze);
|
|
79
|
+
/**
|
|
80
|
+
* @license lucide-react v1.8.0 - ISC
|
|
81
|
+
*
|
|
82
|
+
* This source code is licensed under the ISC license.
|
|
83
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
84
|
+
*/
|
|
85
|
+
const je = [
|
|
86
|
+
[
|
|
87
|
+
"path",
|
|
88
|
+
{
|
|
89
|
+
d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
|
|
90
|
+
key: "1a8usu"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
["path", { d: "m15 5 4 4", key: "1mk7zo" }]
|
|
94
|
+
], O = C("pencil", je);
|
|
95
|
+
/**
|
|
96
|
+
* @license lucide-react v1.8.0 - ISC
|
|
97
|
+
*
|
|
98
|
+
* This source code is licensed under the ISC license.
|
|
99
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
100
|
+
*/
|
|
101
|
+
const Se = [
|
|
102
|
+
["path", { d: "M18.36 6.64A9 9 0 0 1 20.77 15", key: "dxknvb" }],
|
|
103
|
+
["path", { d: "M6.16 6.16a9 9 0 1 0 12.68 12.68", key: "1x7qb5" }],
|
|
104
|
+
["path", { d: "M12 2v4", key: "3427ic" }],
|
|
105
|
+
["path", { d: "m2 2 20 20", key: "1ooewy" }]
|
|
106
|
+
], Ae = C("power-off", Se);
|
|
107
|
+
/**
|
|
108
|
+
* @license lucide-react v1.8.0 - ISC
|
|
109
|
+
*
|
|
110
|
+
* This source code is licensed under the ISC license.
|
|
111
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
112
|
+
*/
|
|
113
|
+
const Ie = [
|
|
114
|
+
["path", { d: "M12 2v10", key: "mnfbl" }],
|
|
115
|
+
["path", { d: "M18.4 6.6a9 9 0 1 1-12.77.04", key: "obofu9" }]
|
|
116
|
+
], Te = C("power", Ie);
|
|
117
|
+
/**
|
|
118
|
+
* @license lucide-react v1.8.0 - ISC
|
|
119
|
+
*
|
|
120
|
+
* This source code is licensed under the ISC license.
|
|
121
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
122
|
+
*/
|
|
123
|
+
const Le = [
|
|
124
|
+
["rect", { width: "14", height: "20", x: "5", y: "2", rx: "2", ry: "2", key: "1yt0o3" }],
|
|
125
|
+
["path", { d: "M12 18h.01", key: "mhygvu" }]
|
|
126
|
+
], ie = C("smartphone", Le);
|
|
127
|
+
/**
|
|
128
|
+
* @license lucide-react v1.8.0 - ISC
|
|
129
|
+
*
|
|
130
|
+
* This source code is licensed under the ISC license.
|
|
131
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
132
|
+
*/
|
|
133
|
+
const De = [
|
|
134
|
+
["path", { d: "M10 11v6", key: "nco0om" }],
|
|
135
|
+
["path", { d: "M14 11v6", key: "outv1u" }],
|
|
136
|
+
["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
|
|
137
|
+
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
138
|
+
["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
|
|
139
|
+
], se = C("trash-2", De);
|
|
140
|
+
/**
|
|
141
|
+
* @license lucide-react v1.8.0 - ISC
|
|
142
|
+
*
|
|
143
|
+
* This source code is licensed under the ISC license.
|
|
144
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
145
|
+
*/
|
|
146
|
+
const Ee = [
|
|
147
|
+
["path", { d: "M10 15H6a4 4 0 0 0-4 4v2", key: "1nfge6" }],
|
|
148
|
+
["path", { d: "m14.305 16.53.923-.382", key: "1itpsq" }],
|
|
149
|
+
["path", { d: "m15.228 13.852-.923-.383", key: "eplpkm" }],
|
|
150
|
+
["path", { d: "m16.852 12.228-.383-.923", key: "13v3q0" }],
|
|
151
|
+
["path", { d: "m16.852 17.772-.383.924", key: "1i8mnm" }],
|
|
152
|
+
["path", { d: "m19.148 12.228.383-.923", key: "1q8j1v" }],
|
|
153
|
+
["path", { d: "m19.53 18.696-.382-.924", key: "vk1qj3" }],
|
|
154
|
+
["path", { d: "m20.772 13.852.924-.383", key: "n880s0" }],
|
|
155
|
+
["path", { d: "m20.772 16.148.924.383", key: "1g6xey" }],
|
|
156
|
+
["circle", { cx: "18", cy: "15", r: "3", key: "gjjjvw" }],
|
|
157
|
+
["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }]
|
|
158
|
+
], le = C("user-cog", Ee), Be = L("relative w-full", {
|
|
159
|
+
variants: {
|
|
160
|
+
density: {
|
|
161
|
+
comfortable: "",
|
|
162
|
+
compact: ""
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
defaultVariants: {
|
|
166
|
+
density: "comfortable"
|
|
167
|
+
}
|
|
168
|
+
});
|
|
169
|
+
function Ke(e) {
|
|
170
|
+
switch (e) {
|
|
171
|
+
case "active":
|
|
172
|
+
return {
|
|
173
|
+
badgeVariant: "success",
|
|
174
|
+
icon: /* @__PURE__ */ t(ve, { className: "fill-current", "aria-hidden": "true" })
|
|
175
|
+
};
|
|
176
|
+
case "paused":
|
|
177
|
+
return {
|
|
178
|
+
badgeVariant: "warning",
|
|
179
|
+
icon: /* @__PURE__ */ t(_e, { "aria-hidden": "true" })
|
|
180
|
+
};
|
|
181
|
+
case "inactive":
|
|
182
|
+
default:
|
|
183
|
+
return {
|
|
184
|
+
badgeVariant: "neutral",
|
|
185
|
+
icon: /* @__PURE__ */ t(xe, { "aria-hidden": "true" })
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
const $e = P(
|
|
190
|
+
function({
|
|
191
|
+
workflow: r,
|
|
192
|
+
density: a = "comfortable",
|
|
193
|
+
onView: o,
|
|
194
|
+
onEdit: l,
|
|
195
|
+
onDelete: i,
|
|
196
|
+
onToggleActive: n,
|
|
197
|
+
className: p
|
|
198
|
+
}, m) {
|
|
199
|
+
const { t: u } = z(), s = Ke(r.status), c = r.status === "active", y = a === "compact", h = (v) => (g) => {
|
|
200
|
+
g.stopPropagation(), v == null || v();
|
|
201
|
+
}, k = /* @__PURE__ */ t(
|
|
202
|
+
pe,
|
|
203
|
+
{
|
|
204
|
+
variant: s.badgeVariant,
|
|
205
|
+
leading: s.icon,
|
|
206
|
+
withDot: !1,
|
|
207
|
+
children: u(`workflow.status.${r.status}`)
|
|
208
|
+
}
|
|
209
|
+
), x = u("workflow.card.activeEnrollments");
|
|
210
|
+
return /* @__PURE__ */ d(
|
|
211
|
+
_,
|
|
212
|
+
{
|
|
213
|
+
ref: m,
|
|
214
|
+
variant: "default",
|
|
215
|
+
className: Be({ density: a, className: p }),
|
|
216
|
+
children: [
|
|
217
|
+
/* @__PURE__ */ t(_.Header, { children: /* @__PURE__ */ d("div", { className: "flex items-start justify-between gap-[var(--spacing-sm)]", children: [
|
|
218
|
+
/* @__PURE__ */ d("div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-xs)]", children: [
|
|
219
|
+
/* @__PURE__ */ t("h3", { className: "m-0 type-title-card text-[color:var(--foreground)] [overflow-wrap:anywhere] break-words", children: o ? /* @__PURE__ */ t(
|
|
220
|
+
"button",
|
|
221
|
+
{
|
|
222
|
+
type: "button",
|
|
223
|
+
onClick: () => o(r.id),
|
|
224
|
+
className: [
|
|
225
|
+
"text-start font-inherit text-inherit",
|
|
226
|
+
// Inset overlay that turns the whole card into a
|
|
227
|
+
// click target without nesting buttons. The
|
|
228
|
+
// IconButton cluster in the footer paints above
|
|
229
|
+
// this pseudo via `position: relative` + z-10.
|
|
230
|
+
'after:absolute after:inset-0 after:content-[""]',
|
|
231
|
+
"after:rounded-[var(--radius-lg)]",
|
|
232
|
+
"focus-visible:outline-none",
|
|
233
|
+
"focus-visible:after:outline-[length:var(--focus-ring-width)]",
|
|
234
|
+
"focus-visible:after:outline-solid",
|
|
235
|
+
"focus-visible:after:outline-[color:var(--ring)]",
|
|
236
|
+
"focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]"
|
|
237
|
+
].join(" "),
|
|
238
|
+
children: r.name
|
|
239
|
+
}
|
|
240
|
+
) : r.name }),
|
|
241
|
+
y && /* @__PURE__ */ d("span", { className: "flex items-baseline gap-[var(--spacing-xs)] type-body-sm text-[color:var(--muted-foreground)]", children: [
|
|
242
|
+
/* @__PURE__ */ t("span", { children: x }),
|
|
243
|
+
/* @__PURE__ */ t("span", { className: "font-medium text-[color:var(--foreground)]", children: r.stats.activeEnrollments })
|
|
244
|
+
] })
|
|
245
|
+
] }),
|
|
246
|
+
/* @__PURE__ */ t("div", { className: "shrink-0", children: k })
|
|
247
|
+
] }) }),
|
|
248
|
+
!y && /* @__PURE__ */ d(_.Body, { className: "flex flex-col gap-[var(--spacing-sm)]", children: [
|
|
249
|
+
/* @__PURE__ */ t(
|
|
250
|
+
G,
|
|
251
|
+
{
|
|
252
|
+
label: u("workflow.card.activeEnrollments"),
|
|
253
|
+
value: r.stats.activeEnrollments
|
|
254
|
+
}
|
|
255
|
+
),
|
|
256
|
+
/* @__PURE__ */ t(
|
|
257
|
+
G,
|
|
258
|
+
{
|
|
259
|
+
label: u("workflow.card.totalEnrollments"),
|
|
260
|
+
value: r.stats.totalEnrollments
|
|
261
|
+
}
|
|
262
|
+
)
|
|
263
|
+
] }),
|
|
264
|
+
/* @__PURE__ */ d(_.Footer, { className: "flex-wrap items-center justify-between gap-[var(--spacing-sm)]", children: [
|
|
265
|
+
/* @__PURE__ */ d("div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-xs)] type-body-sm text-[color:var(--muted-foreground)]", children: [
|
|
266
|
+
/* @__PURE__ */ t("span", { className: "truncate", title: r.createdBy, children: u("workflow.createdBy", { name: r.createdBy }) }),
|
|
267
|
+
r.updatedAt && /* @__PURE__ */ t(
|
|
268
|
+
he,
|
|
269
|
+
{
|
|
270
|
+
value: r.updatedAt,
|
|
271
|
+
format: "absolute",
|
|
272
|
+
shape: "bare",
|
|
273
|
+
absoluteFormat: { dateStyle: "medium" },
|
|
274
|
+
className: "truncate"
|
|
275
|
+
}
|
|
276
|
+
)
|
|
277
|
+
] }),
|
|
278
|
+
/* @__PURE__ */ d("div", { className: "relative z-10 flex shrink-0 items-center gap-[var(--spacing-xs)] ms-auto", children: [
|
|
279
|
+
l && /* @__PURE__ */ t(
|
|
280
|
+
M,
|
|
281
|
+
{
|
|
282
|
+
icon: /* @__PURE__ */ t(O, {}),
|
|
283
|
+
size: "sm",
|
|
284
|
+
intent: "ghost",
|
|
285
|
+
"aria-label": u("workflow.card.edit"),
|
|
286
|
+
onClick: h(() => l(r.id))
|
|
287
|
+
}
|
|
288
|
+
),
|
|
289
|
+
n && /* @__PURE__ */ t(
|
|
290
|
+
M,
|
|
291
|
+
{
|
|
292
|
+
icon: c ? /* @__PURE__ */ t(Ae, {}) : /* @__PURE__ */ t(Te, {}),
|
|
293
|
+
size: "sm",
|
|
294
|
+
intent: "ghost",
|
|
295
|
+
"aria-label": u(
|
|
296
|
+
c ? "workflow.card.deactivate" : "workflow.card.activate"
|
|
297
|
+
),
|
|
298
|
+
onClick: h(
|
|
299
|
+
() => n(r.id, !c)
|
|
300
|
+
)
|
|
301
|
+
}
|
|
302
|
+
),
|
|
303
|
+
i && /* @__PURE__ */ t(
|
|
304
|
+
M,
|
|
305
|
+
{
|
|
306
|
+
icon: /* @__PURE__ */ t(se, {}),
|
|
307
|
+
size: "sm",
|
|
308
|
+
intent: "destructive",
|
|
309
|
+
"aria-label": u("workflow.card.delete"),
|
|
310
|
+
onClick: h(() => i(r.id))
|
|
311
|
+
}
|
|
312
|
+
)
|
|
313
|
+
] })
|
|
314
|
+
] })
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
);
|
|
318
|
+
}
|
|
319
|
+
);
|
|
320
|
+
$e.displayName = "WorkflowCard";
|
|
321
|
+
function H(e) {
|
|
322
|
+
if (e.nodes.length === 0) return [];
|
|
323
|
+
const r = e.edges.filter(
|
|
324
|
+
(s) => s.condition == null
|
|
325
|
+
), a = new Set(r.map((s) => s.to)), l = e.nodes.filter((s) => !a.has(s.id))[0] ?? e.nodes[0], i = new Map(e.nodes.map((s) => [s.id, s])), n = /* @__PURE__ */ new Map();
|
|
326
|
+
for (const s of r) {
|
|
327
|
+
const c = n.get(s.from) ?? [];
|
|
328
|
+
c.push(s), n.set(s.from, c);
|
|
329
|
+
}
|
|
330
|
+
const p = /* @__PURE__ */ new Set(), m = [];
|
|
331
|
+
let u = l;
|
|
332
|
+
for (; u && !p.has(u.id); ) {
|
|
333
|
+
p.add(u.id), m.push(u);
|
|
334
|
+
const s = n.get(u.id) ?? [];
|
|
335
|
+
s.length > 1 && typeof console < "u" && console.warn(
|
|
336
|
+
`[workflow] node ${u.id} has ${s.length} outgoing linear edges; v1 walks the first only.`
|
|
337
|
+
), u = s[0] ? i.get(s[0].to) : void 0;
|
|
338
|
+
}
|
|
339
|
+
for (const s of e.nodes)
|
|
340
|
+
p.has(s.id) || m.push(s);
|
|
341
|
+
return m;
|
|
342
|
+
}
|
|
343
|
+
function F(e, r, a) {
|
|
344
|
+
const o = [...e.nodes, a];
|
|
345
|
+
if (r === null) {
|
|
346
|
+
const n = e.nodes[0];
|
|
347
|
+
return n ? {
|
|
348
|
+
nodes: o,
|
|
349
|
+
edges: [
|
|
350
|
+
{ from: a.id, to: n.id, condition: null },
|
|
351
|
+
...e.edges
|
|
352
|
+
]
|
|
353
|
+
} : { nodes: o, edges: [] };
|
|
354
|
+
}
|
|
355
|
+
const l = e.edges.find(
|
|
356
|
+
(n) => n.from === r && n.condition == null
|
|
357
|
+
);
|
|
358
|
+
if (!l)
|
|
359
|
+
return {
|
|
360
|
+
nodes: o,
|
|
361
|
+
edges: [
|
|
362
|
+
...e.edges,
|
|
363
|
+
{ from: r, to: a.id, condition: null }
|
|
364
|
+
]
|
|
365
|
+
};
|
|
366
|
+
const i = e.edges.filter((n) => n !== l);
|
|
367
|
+
return {
|
|
368
|
+
nodes: o,
|
|
369
|
+
edges: [
|
|
370
|
+
...i,
|
|
371
|
+
{ from: r, to: a.id, condition: null },
|
|
372
|
+
{ from: a.id, to: l.to, condition: null }
|
|
373
|
+
]
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
function Y(e, r) {
|
|
377
|
+
const a = e.edges.find(
|
|
378
|
+
(n) => n.to === r && n.condition == null
|
|
379
|
+
), o = e.edges.find(
|
|
380
|
+
(n) => n.from === r && n.condition == null
|
|
381
|
+
), l = e.edges.filter(
|
|
382
|
+
(n) => n.from !== r && n.to !== r
|
|
383
|
+
), i = a && o ? [
|
|
384
|
+
...l,
|
|
385
|
+
{ from: a.from, to: o.to, condition: null }
|
|
386
|
+
] : l;
|
|
387
|
+
return {
|
|
388
|
+
nodes: e.nodes.filter((n) => n.id !== r),
|
|
389
|
+
edges: i
|
|
390
|
+
};
|
|
391
|
+
}
|
|
392
|
+
function qe(e, r, a) {
|
|
393
|
+
var h;
|
|
394
|
+
const o = H(e), l = o.findIndex((k) => k.id === r);
|
|
395
|
+
if (l === -1) return e;
|
|
396
|
+
const i = a === "up" ? l - 1 : l + 1;
|
|
397
|
+
if (i < 0 || i >= o.length) return e;
|
|
398
|
+
const n = o[l], p = o[i];
|
|
399
|
+
if (!n || !p) return e;
|
|
400
|
+
const m = Y(Y(e, n.id), p.id), u = a === "up" ? n : p, s = a === "up" ? p : n, c = ((h = o[Math.min(l, i) - 1]) == null ? void 0 : h.id) ?? null, y = F(m, c, u);
|
|
401
|
+
return F(y, u.id, s);
|
|
402
|
+
}
|
|
403
|
+
const Re = /* @__PURE__ */ new Set([
|
|
404
|
+
"dateOfBirth",
|
|
405
|
+
"date_of_birth",
|
|
406
|
+
"firstName",
|
|
407
|
+
"first_name",
|
|
408
|
+
"lastName",
|
|
409
|
+
"last_name",
|
|
410
|
+
"name",
|
|
411
|
+
"email",
|
|
412
|
+
"phone",
|
|
413
|
+
"phoneNumber",
|
|
414
|
+
"phone_number",
|
|
415
|
+
"fiscalCode",
|
|
416
|
+
"fiscal_code",
|
|
417
|
+
"taxId",
|
|
418
|
+
"tax_id",
|
|
419
|
+
"gender",
|
|
420
|
+
"address",
|
|
421
|
+
"id"
|
|
422
|
+
]);
|
|
423
|
+
function Ve(e) {
|
|
424
|
+
return Re.has(e);
|
|
425
|
+
}
|
|
426
|
+
const D = {
|
|
427
|
+
add_delay: {
|
|
428
|
+
labelKey: "workflow.action.addDelay",
|
|
429
|
+
iconName: "Clock"
|
|
430
|
+
},
|
|
431
|
+
send_email: {
|
|
432
|
+
labelKey: "workflow.action.sendEmail",
|
|
433
|
+
iconName: "Mail"
|
|
434
|
+
},
|
|
435
|
+
send_sms: {
|
|
436
|
+
labelKey: "workflow.action.sendSms",
|
|
437
|
+
iconName: "Smartphone"
|
|
438
|
+
},
|
|
439
|
+
create_task: {
|
|
440
|
+
labelKey: "workflow.action.createTask",
|
|
441
|
+
iconName: "CheckSquare"
|
|
442
|
+
},
|
|
443
|
+
send_whatsapp: {
|
|
444
|
+
labelKey: "workflow.action.sendWhatsapp",
|
|
445
|
+
iconName: "MessageCircle"
|
|
446
|
+
},
|
|
447
|
+
update_patient_field: {
|
|
448
|
+
labelKey: "workflow.action.updateField",
|
|
449
|
+
iconName: "UserCog"
|
|
450
|
+
},
|
|
451
|
+
webhook: {
|
|
452
|
+
labelKey: "workflow.action.webhook",
|
|
453
|
+
iconName: "Globe"
|
|
454
|
+
}
|
|
455
|
+
}, We = {
|
|
456
|
+
Clock: oe,
|
|
457
|
+
Mail: ae,
|
|
458
|
+
Smartphone: ie,
|
|
459
|
+
CheckSquare: re,
|
|
460
|
+
MessageCircle: ne,
|
|
461
|
+
UserCog: le,
|
|
462
|
+
Globe: te
|
|
463
|
+
};
|
|
464
|
+
function U({
|
|
465
|
+
iconName: e,
|
|
466
|
+
className: r
|
|
467
|
+
}) {
|
|
468
|
+
const a = We[e];
|
|
469
|
+
return /* @__PURE__ */ t(a, { "aria-hidden": "true", className: r ?? "size-4" });
|
|
470
|
+
}
|
|
471
|
+
const Fe = 40, Pe = 60;
|
|
472
|
+
function J(e, r) {
|
|
473
|
+
return e.length <= r ? e : `${e.slice(0, r - 1)}…`;
|
|
474
|
+
}
|
|
475
|
+
function Oe(e, r) {
|
|
476
|
+
switch (e.kind) {
|
|
477
|
+
case "add_delay": {
|
|
478
|
+
const a = e.days ?? 0, o = r("workflow.delay.summary", { count: a });
|
|
479
|
+
return { text: o, full: o };
|
|
480
|
+
}
|
|
481
|
+
case "send_email": {
|
|
482
|
+
const a = e.subject ?? "", l = `${r("workflow.action.sendEmail")}: ${a}`;
|
|
483
|
+
return { text: J(l, Fe), full: l };
|
|
484
|
+
}
|
|
485
|
+
case "send_sms": {
|
|
486
|
+
const a = e.body ?? "";
|
|
487
|
+
return { text: J(a, Pe), full: a };
|
|
488
|
+
}
|
|
489
|
+
case "create_task": {
|
|
490
|
+
const a = e.title ?? "";
|
|
491
|
+
return { text: a, full: a };
|
|
492
|
+
}
|
|
493
|
+
// v2 types — generic fallback (no bespoke summariser yet).
|
|
494
|
+
case "send_whatsapp":
|
|
495
|
+
case "update_patient_field":
|
|
496
|
+
case "webhook":
|
|
497
|
+
default:
|
|
498
|
+
return null;
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
const Q = [
|
|
502
|
+
"flex flex-col",
|
|
503
|
+
"w-full",
|
|
504
|
+
"text-start",
|
|
505
|
+
"gap-[var(--spacing-sm)]"
|
|
506
|
+
].join(" "), R = [
|
|
507
|
+
"block",
|
|
508
|
+
"self-start",
|
|
509
|
+
"h-[var(--spacing-md)]",
|
|
510
|
+
"ms-[calc(var(--min-target-size)/2)]",
|
|
511
|
+
"border-inline-start-[var(--border-width-hairline)]",
|
|
512
|
+
"border-solid",
|
|
513
|
+
"border-[color:var(--border)]"
|
|
514
|
+
].join(" "), He = [
|
|
515
|
+
"inline-flex items-center justify-center gap-[var(--spacing-xs)]",
|
|
516
|
+
"min-h-[var(--min-target-size)] min-w-[var(--min-target-size)]",
|
|
517
|
+
"rounded-[var(--radius-full)]",
|
|
518
|
+
"border border-dashed border-[color:var(--border)]",
|
|
519
|
+
"bg-[color:var(--background)]",
|
|
520
|
+
"text-[color:var(--muted-foreground)]",
|
|
521
|
+
"ps-[var(--spacing-sm)] pe-[var(--spacing-sm)]",
|
|
522
|
+
"text-[length:var(--font-size-sm)]",
|
|
523
|
+
"transition-colors duration-[var(--animation-duration)] motion-reduce:transition-none",
|
|
524
|
+
"hover:bg-[color:var(--muted)]/20 hover:text-[color:var(--foreground)]",
|
|
525
|
+
"focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
|
|
526
|
+
"focus-visible:outline-[color:var(--ring)] focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
527
|
+
"forced-colors:focus-visible:outline-[CanvasText]",
|
|
528
|
+
"disabled:opacity-50 disabled:cursor-not-allowed"
|
|
529
|
+
].join(" "), Ue = [
|
|
530
|
+
"focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
|
|
531
|
+
"focus-visible:outline-[color:var(--ring)] focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
532
|
+
"forced-colors:focus-visible:outline-[CanvasText]",
|
|
533
|
+
"rounded-[var(--radius-lg)]"
|
|
534
|
+
].join(" "), Ge = Object.keys(
|
|
535
|
+
D
|
|
536
|
+
);
|
|
537
|
+
let X = 0;
|
|
538
|
+
function Ye() {
|
|
539
|
+
X += 1;
|
|
540
|
+
const e = Math.random().toString(36).slice(2, 8);
|
|
541
|
+
return `wf-node-${Date.now()}-${X}-${e}`;
|
|
542
|
+
}
|
|
543
|
+
function Je(e) {
|
|
544
|
+
switch (e) {
|
|
545
|
+
case "add_delay":
|
|
546
|
+
return { kind: "add_delay", days: 1 };
|
|
547
|
+
case "send_email":
|
|
548
|
+
return { kind: "send_email", subject: "" };
|
|
549
|
+
case "send_sms":
|
|
550
|
+
return { kind: "send_sms", body: "" };
|
|
551
|
+
case "create_task":
|
|
552
|
+
return { kind: "create_task", title: "" };
|
|
553
|
+
case "send_whatsapp":
|
|
554
|
+
return { kind: "send_whatsapp", templateName: "" };
|
|
555
|
+
case "update_patient_field":
|
|
556
|
+
return {
|
|
557
|
+
kind: "update_patient_field",
|
|
558
|
+
fieldId: "",
|
|
559
|
+
fieldLabel: "",
|
|
560
|
+
value: ""
|
|
561
|
+
};
|
|
562
|
+
case "webhook":
|
|
563
|
+
return { kind: "webhook", url: "", method: "POST" };
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
function Qe(e = 0) {
|
|
567
|
+
const r = B(e), a = K((o) => {
|
|
568
|
+
r.current = o;
|
|
569
|
+
}, []);
|
|
570
|
+
return [r, a];
|
|
571
|
+
}
|
|
572
|
+
function Xe({
|
|
573
|
+
node: e,
|
|
574
|
+
position: r,
|
|
575
|
+
total: a,
|
|
576
|
+
disabled: o,
|
|
577
|
+
onEdit: l,
|
|
578
|
+
onDelete: i,
|
|
579
|
+
onMove: n,
|
|
580
|
+
registerRef: p
|
|
581
|
+
}) {
|
|
582
|
+
const { t: m } = z(), u = D[e.type], s = B(null), [c, y] = Qe(0), h = K(
|
|
583
|
+
(w) => {
|
|
584
|
+
var f, b;
|
|
585
|
+
const S = (f = s.current) == null ? void 0 : f.querySelectorAll(
|
|
586
|
+
"button[data-wf-control]:not([disabled])"
|
|
587
|
+
);
|
|
588
|
+
if (!S || S.length === 0) return;
|
|
589
|
+
const I = Math.max(0, Math.min(w, S.length - 1));
|
|
590
|
+
(b = S[I]) == null || b.focus(), y(I);
|
|
591
|
+
},
|
|
592
|
+
[y]
|
|
593
|
+
), k = (w) => {
|
|
594
|
+
w.target === w.currentTarget && (w.key === "ArrowRight" || w.key === "ArrowDown") && (w.preventDefault(), h(0));
|
|
595
|
+
}, x = (w) => {
|
|
596
|
+
w.key === "ArrowRight" ? (w.preventDefault(), h(c.current + 1)) : w.key === "ArrowLeft" ? (w.preventDefault(), h(c.current - 1)) : w.key === "Home" ? (w.preventDefault(), h(0)) : w.key === "End" && (w.preventDefault(), h(Number.POSITIVE_INFINITY));
|
|
597
|
+
}, v = Oe(e.settings, m), g = m(u.labelKey), j = r > 0, A = r < a - 1, $ = m("workflow.editor.position", {
|
|
598
|
+
current: r + 1,
|
|
599
|
+
total: a
|
|
600
|
+
}), q = m("workflow.editor.nodeAriaLabel", {
|
|
601
|
+
type: g,
|
|
602
|
+
current: r + 1,
|
|
603
|
+
total: a
|
|
604
|
+
});
|
|
605
|
+
return /* @__PURE__ */ t(
|
|
606
|
+
"div",
|
|
607
|
+
{
|
|
608
|
+
ref: (w) => p(e.id, w),
|
|
609
|
+
tabIndex: o ? -1 : 0,
|
|
610
|
+
onKeyDown: k,
|
|
611
|
+
"aria-label": q,
|
|
612
|
+
className: Ue,
|
|
613
|
+
children: /* @__PURE__ */ d(_, { variant: "outlined", children: [
|
|
614
|
+
/* @__PURE__ */ t(_.Header, { className: "pb-[var(--spacing-sm)]", children: /* @__PURE__ */ d("div", { className: "flex items-center gap-[var(--spacing-sm)]", children: [
|
|
615
|
+
/* @__PURE__ */ t(
|
|
616
|
+
"span",
|
|
617
|
+
{
|
|
618
|
+
"aria-hidden": "true",
|
|
619
|
+
className: "inline-flex size-8 shrink-0 items-center justify-center rounded-[var(--radius-sm)] bg-[color:var(--muted)]/20 text-[color:var(--foreground)]",
|
|
620
|
+
children: /* @__PURE__ */ t(U, { iconName: u.iconName, className: "size-4" })
|
|
621
|
+
}
|
|
622
|
+
),
|
|
623
|
+
/* @__PURE__ */ d("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
624
|
+
/* @__PURE__ */ t("span", { className: "text-[length:var(--font-size-sm)] font-[var(--font-weight-semibold)] text-[color:var(--foreground)] [overflow-wrap:anywhere] break-words", children: g }),
|
|
625
|
+
/* @__PURE__ */ t("span", { className: "text-[length:var(--font-size-xs)] text-[color:var(--muted-foreground)]", children: $ })
|
|
626
|
+
] }),
|
|
627
|
+
/* @__PURE__ */ d(
|
|
628
|
+
"div",
|
|
629
|
+
{
|
|
630
|
+
ref: s,
|
|
631
|
+
onKeyDown: x,
|
|
632
|
+
className: "flex shrink-0 items-center gap-[var(--spacing-xs)] ms-auto",
|
|
633
|
+
children: [
|
|
634
|
+
l ? /* @__PURE__ */ t(
|
|
635
|
+
M,
|
|
636
|
+
{
|
|
637
|
+
"data-wf-control": "edit",
|
|
638
|
+
icon: /* @__PURE__ */ t(O, {}),
|
|
639
|
+
size: "sm",
|
|
640
|
+
intent: "ghost",
|
|
641
|
+
disabled: o,
|
|
642
|
+
tabIndex: -1,
|
|
643
|
+
"aria-label": m("workflow.editor.editAction"),
|
|
644
|
+
onClick: () => l(e.id)
|
|
645
|
+
}
|
|
646
|
+
) : null,
|
|
647
|
+
/* @__PURE__ */ t(
|
|
648
|
+
M,
|
|
649
|
+
{
|
|
650
|
+
"data-wf-control": "up",
|
|
651
|
+
icon: /* @__PURE__ */ t(ye, {}),
|
|
652
|
+
size: "sm",
|
|
653
|
+
intent: "ghost",
|
|
654
|
+
disabled: o || !j,
|
|
655
|
+
tabIndex: -1,
|
|
656
|
+
"aria-label": m("workflow.editor.moveUp"),
|
|
657
|
+
onClick: () => n(e.id, "up")
|
|
658
|
+
}
|
|
659
|
+
),
|
|
660
|
+
/* @__PURE__ */ t(
|
|
661
|
+
M,
|
|
662
|
+
{
|
|
663
|
+
"data-wf-control": "down",
|
|
664
|
+
icon: /* @__PURE__ */ t(be, {}),
|
|
665
|
+
size: "sm",
|
|
666
|
+
intent: "ghost",
|
|
667
|
+
disabled: o || !A,
|
|
668
|
+
tabIndex: -1,
|
|
669
|
+
"aria-label": m("workflow.editor.moveDown"),
|
|
670
|
+
onClick: () => n(e.id, "down")
|
|
671
|
+
}
|
|
672
|
+
),
|
|
673
|
+
i ? /* @__PURE__ */ t(
|
|
674
|
+
M,
|
|
675
|
+
{
|
|
676
|
+
"data-wf-control": "delete",
|
|
677
|
+
icon: /* @__PURE__ */ t(se, {}),
|
|
678
|
+
size: "sm",
|
|
679
|
+
intent: "destructive",
|
|
680
|
+
disabled: o,
|
|
681
|
+
tabIndex: -1,
|
|
682
|
+
"aria-label": m("workflow.editor.deleteAction"),
|
|
683
|
+
onClick: () => i(e.id)
|
|
684
|
+
}
|
|
685
|
+
) : null
|
|
686
|
+
]
|
|
687
|
+
}
|
|
688
|
+
)
|
|
689
|
+
] }) }),
|
|
690
|
+
v ? /* @__PURE__ */ t(_.Body, { className: "pt-0", children: /* @__PURE__ */ t(
|
|
691
|
+
"p",
|
|
692
|
+
{
|
|
693
|
+
className: "text-[length:var(--font-size-sm)] text-[color:var(--muted-foreground)] [overflow-wrap:anywhere] break-words",
|
|
694
|
+
title: v.full,
|
|
695
|
+
children: v.text
|
|
696
|
+
}
|
|
697
|
+
) }) : null,
|
|
698
|
+
e.settings.kind === "update_patient_field" && Ve(e.settings.fieldId) ? /* @__PURE__ */ t(_.Body, { className: "pt-0", children: /* @__PURE__ */ t(
|
|
699
|
+
W,
|
|
700
|
+
{
|
|
701
|
+
variant: "error",
|
|
702
|
+
"data-testid": "workflow-editor-invalid-field",
|
|
703
|
+
children: m("workflow.editor.invalidField")
|
|
704
|
+
}
|
|
705
|
+
) }) : null
|
|
706
|
+
] })
|
|
707
|
+
}
|
|
708
|
+
);
|
|
709
|
+
}
|
|
710
|
+
function Z({
|
|
711
|
+
availableActions: e,
|
|
712
|
+
onSelect: r,
|
|
713
|
+
disabled: a,
|
|
714
|
+
label: o,
|
|
715
|
+
compact: l = !0
|
|
716
|
+
}) {
|
|
717
|
+
const { t: i } = z();
|
|
718
|
+
return /* @__PURE__ */ d(N.Root, { children: [
|
|
719
|
+
/* @__PURE__ */ t(N.Trigger, { asChild: !0, children: /* @__PURE__ */ d(
|
|
720
|
+
"button",
|
|
721
|
+
{
|
|
722
|
+
type: "button",
|
|
723
|
+
disabled: a,
|
|
724
|
+
"aria-label": o,
|
|
725
|
+
className: He,
|
|
726
|
+
children: [
|
|
727
|
+
/* @__PURE__ */ t(ee, { "aria-hidden": "true", className: "size-4" }),
|
|
728
|
+
l ? null : /* @__PURE__ */ t("span", { className: "text-[length:var(--font-size-sm)]", children: o })
|
|
729
|
+
]
|
|
730
|
+
}
|
|
731
|
+
) }),
|
|
732
|
+
/* @__PURE__ */ d(N.Content, { align: "start", sideOffset: 6, children: [
|
|
733
|
+
/* @__PURE__ */ t(N.Label, { children: i("workflow.editor.addAction") }),
|
|
734
|
+
e.map((n) => {
|
|
735
|
+
const p = D[n];
|
|
736
|
+
return /* @__PURE__ */ t(
|
|
737
|
+
N.Item,
|
|
738
|
+
{
|
|
739
|
+
startIcon: /* @__PURE__ */ t(U, { iconName: p.iconName }),
|
|
740
|
+
onSelect: () => r(n),
|
|
741
|
+
children: i(p.labelKey)
|
|
742
|
+
},
|
|
743
|
+
n
|
|
744
|
+
);
|
|
745
|
+
})
|
|
746
|
+
] })
|
|
747
|
+
] });
|
|
748
|
+
}
|
|
749
|
+
function Ze({ criteria: e, onEdit: r, disabled: a }) {
|
|
750
|
+
const { t: o } = z(), l = (e == null ? void 0 : e.ruleCount) ?? 0, i = l > 0 ? o("workflow.editor.criteriaCount", { count: l }) : o("workflow.editor.noCriteria");
|
|
751
|
+
return /* @__PURE__ */ t(_, { variant: "outlined", children: /* @__PURE__ */ t(_.Header, { className: "pb-[var(--spacing-sm)]", children: /* @__PURE__ */ d("div", { className: "flex items-center gap-[var(--spacing-sm)]", children: [
|
|
752
|
+
/* @__PURE__ */ d("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
753
|
+
/* @__PURE__ */ t("span", { className: "text-[length:var(--font-size-sm)] font-[var(--font-weight-semibold)] text-[color:var(--foreground)]", children: o("workflow.editor.enrollmentCriteria") }),
|
|
754
|
+
/* @__PURE__ */ t("span", { className: "text-[length:var(--font-size-sm)] text-[color:var(--muted-foreground)] [overflow-wrap:anywhere] break-words", children: (e == null ? void 0 : e.summary) ?? i })
|
|
755
|
+
] }),
|
|
756
|
+
r ? /* @__PURE__ */ t(
|
|
757
|
+
M,
|
|
758
|
+
{
|
|
759
|
+
icon: /* @__PURE__ */ t(O, {}),
|
|
760
|
+
size: "sm",
|
|
761
|
+
intent: "ghost",
|
|
762
|
+
disabled: a,
|
|
763
|
+
"aria-label": o("workflow.editor.editCriteria"),
|
|
764
|
+
onClick: r
|
|
765
|
+
}
|
|
766
|
+
) : null
|
|
767
|
+
] }) }) });
|
|
768
|
+
}
|
|
769
|
+
const et = P(
|
|
770
|
+
function({
|
|
771
|
+
graph: r,
|
|
772
|
+
onChange: a,
|
|
773
|
+
enrollmentCriteria: o,
|
|
774
|
+
onEditEnrollmentCriteria: l,
|
|
775
|
+
isActive: i = !1,
|
|
776
|
+
availableActions: n,
|
|
777
|
+
onEditNode: p,
|
|
778
|
+
onDeleteNode: m,
|
|
779
|
+
className: u
|
|
780
|
+
}, s) {
|
|
781
|
+
const { t: c } = z(), y = n ?? Ge, h = V(() => H(r), [r]), k = B(/* @__PURE__ */ new Map()), x = B(null), v = K(
|
|
782
|
+
(f) => {
|
|
783
|
+
i || a(f);
|
|
784
|
+
},
|
|
785
|
+
[i, a]
|
|
786
|
+
), g = K(
|
|
787
|
+
(f, b) => {
|
|
788
|
+
b ? k.current.set(f, b) : k.current.delete(f);
|
|
789
|
+
},
|
|
790
|
+
[]
|
|
791
|
+
);
|
|
792
|
+
me(() => {
|
|
793
|
+
const f = x.current;
|
|
794
|
+
if (!f) return;
|
|
795
|
+
const b = k.current.get(f);
|
|
796
|
+
b && (b.focus(), x.current = null);
|
|
797
|
+
});
|
|
798
|
+
const j = (f, b) => {
|
|
799
|
+
if (i) return;
|
|
800
|
+
const E = {
|
|
801
|
+
id: Ye(),
|
|
802
|
+
type: b,
|
|
803
|
+
settings: Je(b)
|
|
804
|
+
};
|
|
805
|
+
x.current = E.id, v(F(r, f, E));
|
|
806
|
+
}, A = (f, b) => {
|
|
807
|
+
i || (x.current = f, v(qe(r, f, b)));
|
|
808
|
+
}, $ = (f) => {
|
|
809
|
+
i || !p || p(f);
|
|
810
|
+
}, q = (f) => {
|
|
811
|
+
i || !m || m(f);
|
|
812
|
+
}, w = () => i ? /* @__PURE__ */ t(W, { variant: "warning", children: /* @__PURE__ */ t(W.Title, { as: "p", children: c("workflow.editor.activeLock") }) }) : null, S = () => o || l ? /* @__PURE__ */ d(fe, { children: [
|
|
813
|
+
/* @__PURE__ */ t(
|
|
814
|
+
Ze,
|
|
815
|
+
{
|
|
816
|
+
criteria: o,
|
|
817
|
+
onEdit: l,
|
|
818
|
+
disabled: i
|
|
819
|
+
}
|
|
820
|
+
),
|
|
821
|
+
/* @__PURE__ */ t("span", { "aria-hidden": "true", className: R })
|
|
822
|
+
] }) : null, I = h.length;
|
|
823
|
+
return I === 0 ? /* @__PURE__ */ d(
|
|
824
|
+
"div",
|
|
825
|
+
{
|
|
826
|
+
ref: s,
|
|
827
|
+
className: [Q, u].filter(Boolean).join(" "),
|
|
828
|
+
children: [
|
|
829
|
+
w(),
|
|
830
|
+
S(),
|
|
831
|
+
/* @__PURE__ */ d(
|
|
832
|
+
T,
|
|
833
|
+
{
|
|
834
|
+
variant: "first-use",
|
|
835
|
+
title: c("workflow.editor.addFirstAction"),
|
|
836
|
+
description: c("workflow.editor.empty"),
|
|
837
|
+
children: [
|
|
838
|
+
/* @__PURE__ */ t(T.Illustration, { children: /* @__PURE__ */ d(
|
|
839
|
+
"svg",
|
|
840
|
+
{
|
|
841
|
+
viewBox: "0 0 120 120",
|
|
842
|
+
fill: "none",
|
|
843
|
+
"aria-hidden": "true",
|
|
844
|
+
className: "w-full h-full",
|
|
845
|
+
children: [
|
|
846
|
+
/* @__PURE__ */ t(
|
|
847
|
+
"circle",
|
|
848
|
+
{
|
|
849
|
+
cx: "60",
|
|
850
|
+
cy: "60",
|
|
851
|
+
r: "50",
|
|
852
|
+
fill: "var(--muted)",
|
|
853
|
+
stroke: "var(--border)",
|
|
854
|
+
strokeWidth: "2"
|
|
855
|
+
}
|
|
856
|
+
),
|
|
857
|
+
/* @__PURE__ */ t(
|
|
858
|
+
"rect",
|
|
859
|
+
{
|
|
860
|
+
x: "55",
|
|
861
|
+
y: "30",
|
|
862
|
+
width: "10",
|
|
863
|
+
height: "60",
|
|
864
|
+
rx: "5",
|
|
865
|
+
fill: "var(--primary)"
|
|
866
|
+
}
|
|
867
|
+
),
|
|
868
|
+
/* @__PURE__ */ t(
|
|
869
|
+
"rect",
|
|
870
|
+
{
|
|
871
|
+
x: "30",
|
|
872
|
+
y: "55",
|
|
873
|
+
width: "60",
|
|
874
|
+
height: "10",
|
|
875
|
+
rx: "5",
|
|
876
|
+
fill: "var(--primary)"
|
|
877
|
+
}
|
|
878
|
+
)
|
|
879
|
+
]
|
|
880
|
+
}
|
|
881
|
+
) }),
|
|
882
|
+
/* @__PURE__ */ t(T.Title, { children: c("workflow.editor.addFirstAction") }),
|
|
883
|
+
/* @__PURE__ */ t(T.Description, { children: c("workflow.editor.empty") }),
|
|
884
|
+
/* @__PURE__ */ t(T.Actions, { children: /* @__PURE__ */ d(N.Root, { children: [
|
|
885
|
+
/* @__PURE__ */ t(N.Trigger, { asChild: !0, children: /* @__PURE__ */ d(we, { intent: "primary", disabled: i, children: [
|
|
886
|
+
/* @__PURE__ */ t(ee, { "aria-hidden": "true", className: "size-4" }),
|
|
887
|
+
/* @__PURE__ */ t("span", { children: c("workflow.editor.addFirstAction") })
|
|
888
|
+
] }) }),
|
|
889
|
+
/* @__PURE__ */ d(N.Content, { align: "center", sideOffset: 6, children: [
|
|
890
|
+
/* @__PURE__ */ t(N.Label, { children: c("workflow.editor.addAction") }),
|
|
891
|
+
y.map((f) => {
|
|
892
|
+
const b = D[f];
|
|
893
|
+
return /* @__PURE__ */ t(
|
|
894
|
+
N.Item,
|
|
895
|
+
{
|
|
896
|
+
startIcon: /* @__PURE__ */ t(U, { iconName: b.iconName }),
|
|
897
|
+
onSelect: () => j(null, f),
|
|
898
|
+
children: c(b.labelKey)
|
|
899
|
+
},
|
|
900
|
+
f
|
|
901
|
+
);
|
|
902
|
+
})
|
|
903
|
+
] })
|
|
904
|
+
] }) })
|
|
905
|
+
]
|
|
906
|
+
}
|
|
907
|
+
)
|
|
908
|
+
]
|
|
909
|
+
}
|
|
910
|
+
) : /* @__PURE__ */ d(
|
|
911
|
+
"div",
|
|
912
|
+
{
|
|
913
|
+
ref: s,
|
|
914
|
+
className: [Q, u].filter(Boolean).join(" "),
|
|
915
|
+
children: [
|
|
916
|
+
w(),
|
|
917
|
+
S(),
|
|
918
|
+
/* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
|
|
919
|
+
Z,
|
|
920
|
+
{
|
|
921
|
+
availableActions: y,
|
|
922
|
+
disabled: i,
|
|
923
|
+
label: c("workflow.editor.addAction"),
|
|
924
|
+
onSelect: (f) => j(null, f)
|
|
925
|
+
}
|
|
926
|
+
) }),
|
|
927
|
+
/* @__PURE__ */ t(
|
|
928
|
+
"ol",
|
|
929
|
+
{
|
|
930
|
+
role: "list",
|
|
931
|
+
"aria-label": c("workflow.editor.pipeline"),
|
|
932
|
+
className: "list-none m-0 p-0 flex flex-col",
|
|
933
|
+
children: h.map((f, b) => /* @__PURE__ */ d("li", { className: "list-none flex flex-col", children: [
|
|
934
|
+
/* @__PURE__ */ t("span", { "aria-hidden": "true", className: R }),
|
|
935
|
+
/* @__PURE__ */ t(
|
|
936
|
+
Xe,
|
|
937
|
+
{
|
|
938
|
+
node: f,
|
|
939
|
+
position: b,
|
|
940
|
+
total: I,
|
|
941
|
+
disabled: i,
|
|
942
|
+
onEdit: p ? $ : void 0,
|
|
943
|
+
onDelete: m ? q : void 0,
|
|
944
|
+
onMove: A,
|
|
945
|
+
registerRef: g
|
|
946
|
+
}
|
|
947
|
+
),
|
|
948
|
+
/* @__PURE__ */ t("span", { "aria-hidden": "true", className: R }),
|
|
949
|
+
/* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
|
|
950
|
+
Z,
|
|
951
|
+
{
|
|
952
|
+
availableActions: y,
|
|
953
|
+
disabled: i,
|
|
954
|
+
label: c("workflow.editor.addActionAfter"),
|
|
955
|
+
onSelect: (E) => j(f.id, E)
|
|
956
|
+
}
|
|
957
|
+
) })
|
|
958
|
+
] }, f.id))
|
|
959
|
+
}
|
|
960
|
+
)
|
|
961
|
+
]
|
|
962
|
+
}
|
|
963
|
+
);
|
|
964
|
+
}
|
|
965
|
+
);
|
|
966
|
+
et.displayName = "WorkflowEditor";
|
|
967
|
+
const tt = {
|
|
968
|
+
Clock: oe,
|
|
969
|
+
Mail: ae,
|
|
970
|
+
Smartphone: ie,
|
|
971
|
+
CheckSquare: re,
|
|
972
|
+
MessageCircle: ne,
|
|
973
|
+
UserCog: le,
|
|
974
|
+
Globe: te
|
|
975
|
+
}, rt = L(
|
|
976
|
+
// The map is a list of steps — never a list of meaningful controls.
|
|
977
|
+
// Layout via logical properties only; connectors are sibling spacers
|
|
978
|
+
// styled with border-inline-start / border-block-end (see node/spacer).
|
|
979
|
+
"flex list-none p-0 m-0",
|
|
980
|
+
{
|
|
981
|
+
variants: {
|
|
982
|
+
orientation: {
|
|
983
|
+
vertical: "flex-col items-stretch",
|
|
984
|
+
horizontal: "flex-row items-stretch flex-wrap"
|
|
985
|
+
},
|
|
986
|
+
compact: {
|
|
987
|
+
true: "gap-0",
|
|
988
|
+
false: "gap-0"
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
defaultVariants: {
|
|
992
|
+
orientation: "vertical",
|
|
993
|
+
compact: !1
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
), ce = L("flex", {
|
|
997
|
+
variants: {
|
|
998
|
+
orientation: {
|
|
999
|
+
vertical: "flex-col items-stretch",
|
|
1000
|
+
horizontal: "flex-row items-center"
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
}), de = L(
|
|
1004
|
+
[
|
|
1005
|
+
"relative flex items-center",
|
|
1006
|
+
"gap-[var(--spacing-sm)]",
|
|
1007
|
+
"rounded-[var(--radius-md)]",
|
|
1008
|
+
"border border-[color:var(--border)]",
|
|
1009
|
+
"bg-[var(--card)] text-[var(--card-foreground)]",
|
|
1010
|
+
// Motion honours the accessible theme (--animation-duration → 0ms).
|
|
1011
|
+
"transition-[box-shadow,transform,opacity] duration-[var(--animation-duration)]",
|
|
1012
|
+
"motion-reduce:transition-none",
|
|
1013
|
+
// Content wraps instead of pushing siblings off-screen (DE / CJK story contract).
|
|
1014
|
+
"[word-break:break-word] [overflow-wrap:anywhere]"
|
|
1015
|
+
].join(" "),
|
|
1016
|
+
{
|
|
1017
|
+
variants: {
|
|
1018
|
+
orientation: {
|
|
1019
|
+
vertical: "inline-size-full",
|
|
1020
|
+
horizontal: "block-size-full"
|
|
1021
|
+
},
|
|
1022
|
+
compact: {
|
|
1023
|
+
true: "ps-[var(--spacing-sm)] pe-[var(--spacing-sm)] py-[var(--spacing-xs)] min-h-[var(--spacing-xl)]",
|
|
1024
|
+
false: "ps-[var(--spacing-md)] pe-[var(--spacing-md)] py-[var(--spacing-sm)]"
|
|
1025
|
+
},
|
|
1026
|
+
state: {
|
|
1027
|
+
completed: "",
|
|
1028
|
+
current: "ring-2 ring-[color:var(--ring)] font-[var(--font-weight-semibold)]",
|
|
1029
|
+
// Pending state uses a dashed border + muted foreground so the
|
|
1030
|
+
// step reads as "upcoming" without dropping text contrast below
|
|
1031
|
+
// the 4.5:1 AA floor in dark-accessible. Applying opacity to
|
|
1032
|
+
// text that is already on --muted-foreground fails axe on the
|
|
1033
|
+
// dark themes (contrast ~3.6:1 after a 50 % dim).
|
|
1034
|
+
pending: "border-dashed text-[color:var(--muted-foreground)] [&_[data-testid=workflow-map-summary]]:text-[color:var(--muted-foreground)]",
|
|
1035
|
+
neutral: ""
|
|
1036
|
+
},
|
|
1037
|
+
interactive: {
|
|
1038
|
+
true: [
|
|
1039
|
+
"cursor-pointer",
|
|
1040
|
+
"hover:shadow-[var(--shadow-sm)]",
|
|
1041
|
+
"focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
|
|
1042
|
+
"focus-visible:outline-[color:var(--ring)] focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
|
|
1043
|
+
].join(" "),
|
|
1044
|
+
false: ""
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
), ue = L(
|
|
1049
|
+
[
|
|
1050
|
+
"block",
|
|
1051
|
+
"border-solid",
|
|
1052
|
+
"border-[color:var(--border)]"
|
|
1053
|
+
].join(" "),
|
|
1054
|
+
{
|
|
1055
|
+
variants: {
|
|
1056
|
+
orientation: {
|
|
1057
|
+
vertical: [
|
|
1058
|
+
// Single edge: `border-s-[length:…]` maps to
|
|
1059
|
+
// `border-inline-start-width` in Tailwind v4, so only the
|
|
1060
|
+
// inline-start side renders — the other three stay at 0.
|
|
1061
|
+
// `ms-[…]` aligns the line under the icon column.
|
|
1062
|
+
"ms-[calc(var(--spacing-md)+var(--spacing-sm))]",
|
|
1063
|
+
"border-s-[length:var(--border-width-hairline)]",
|
|
1064
|
+
"border-inline-start"
|
|
1065
|
+
].join(" "),
|
|
1066
|
+
horizontal: [
|
|
1067
|
+
"self-center",
|
|
1068
|
+
"border-b-[length:var(--border-width-hairline)]",
|
|
1069
|
+
"border-block-end"
|
|
1070
|
+
].join(" ")
|
|
1071
|
+
},
|
|
1072
|
+
compact: {
|
|
1073
|
+
true: "",
|
|
1074
|
+
false: ""
|
|
1075
|
+
}
|
|
1076
|
+
},
|
|
1077
|
+
compoundVariants: [
|
|
1078
|
+
{
|
|
1079
|
+
orientation: "vertical",
|
|
1080
|
+
compact: !1,
|
|
1081
|
+
class: "h-[var(--spacing-md)]"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
orientation: "vertical",
|
|
1085
|
+
compact: !0,
|
|
1086
|
+
class: "h-[var(--spacing-sm)]"
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
orientation: "horizontal",
|
|
1090
|
+
compact: !1,
|
|
1091
|
+
class: "w-[var(--spacing-md)]"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
orientation: "horizontal",
|
|
1095
|
+
compact: !0,
|
|
1096
|
+
class: "w-[var(--spacing-sm)]"
|
|
1097
|
+
}
|
|
1098
|
+
]
|
|
1099
|
+
}
|
|
1100
|
+
);
|
|
1101
|
+
function at(e) {
|
|
1102
|
+
switch (e.kind) {
|
|
1103
|
+
case "add_delay":
|
|
1104
|
+
return typeof e.days == "number" && e.days > 0 ? {
|
|
1105
|
+
key: "workflow.delay.days",
|
|
1106
|
+
options: { count: e.days }
|
|
1107
|
+
} : typeof e.hours == "number" && e.hours > 0 ? {
|
|
1108
|
+
key: "workflow.delay.hours",
|
|
1109
|
+
options: { count: e.hours }
|
|
1110
|
+
} : typeof e.minutes == "number" && e.minutes > 0 ? {
|
|
1111
|
+
key: "workflow.delay.minutes",
|
|
1112
|
+
options: { count: e.minutes }
|
|
1113
|
+
} : void 0;
|
|
1114
|
+
case "send_email":
|
|
1115
|
+
return e.subject || void 0;
|
|
1116
|
+
case "send_sms":
|
|
1117
|
+
return e.body || void 0;
|
|
1118
|
+
case "create_task":
|
|
1119
|
+
return e.title || void 0;
|
|
1120
|
+
case "send_whatsapp":
|
|
1121
|
+
return e.templateName || void 0;
|
|
1122
|
+
case "update_patient_field":
|
|
1123
|
+
return e.fieldLabel || void 0;
|
|
1124
|
+
case "webhook":
|
|
1125
|
+
return e.url || void 0;
|
|
1126
|
+
default:
|
|
1127
|
+
return;
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
function ot(e, r) {
|
|
1131
|
+
if (e !== void 0)
|
|
1132
|
+
return typeof e == "string" ? e : r(e.key, e.options);
|
|
1133
|
+
}
|
|
1134
|
+
const nt = P(
|
|
1135
|
+
function({
|
|
1136
|
+
graph: r,
|
|
1137
|
+
activeNodeId: a,
|
|
1138
|
+
onNodeClick: o,
|
|
1139
|
+
enrollmentCriteria: l,
|
|
1140
|
+
orientation: i = "vertical",
|
|
1141
|
+
compact: n = !1,
|
|
1142
|
+
className: p,
|
|
1143
|
+
"aria-label": m,
|
|
1144
|
+
...u
|
|
1145
|
+
}, s) {
|
|
1146
|
+
const { t: c } = z(), y = V(() => H(r), [r]), h = V(
|
|
1147
|
+
() => a ? y.findIndex((v) => v.id === a) : -1,
|
|
1148
|
+
[y, a]
|
|
1149
|
+
), k = m ?? c("workflow.map.label", { count: y.length }), x = (v) => h === -1 ? "neutral" : v === h ? "current" : v < h ? "completed" : "pending";
|
|
1150
|
+
return /* @__PURE__ */ d(
|
|
1151
|
+
"ol",
|
|
1152
|
+
{
|
|
1153
|
+
ref: s,
|
|
1154
|
+
role: "list",
|
|
1155
|
+
"aria-label": k,
|
|
1156
|
+
className: rt({ orientation: i, compact: n, className: p }),
|
|
1157
|
+
...u,
|
|
1158
|
+
children: [
|
|
1159
|
+
l ? /* @__PURE__ */ t(
|
|
1160
|
+
st,
|
|
1161
|
+
{
|
|
1162
|
+
orientation: i,
|
|
1163
|
+
compact: n,
|
|
1164
|
+
criteria: l
|
|
1165
|
+
}
|
|
1166
|
+
) : null,
|
|
1167
|
+
y.map((v, g) => {
|
|
1168
|
+
const j = x(g), A = g === y.length - 1;
|
|
1169
|
+
return /* @__PURE__ */ t(
|
|
1170
|
+
it,
|
|
1171
|
+
{
|
|
1172
|
+
node: v,
|
|
1173
|
+
state: j,
|
|
1174
|
+
orientation: i,
|
|
1175
|
+
compact: n,
|
|
1176
|
+
isLast: A,
|
|
1177
|
+
onNodeClick: o
|
|
1178
|
+
},
|
|
1179
|
+
v.id
|
|
1180
|
+
);
|
|
1181
|
+
})
|
|
1182
|
+
]
|
|
1183
|
+
}
|
|
1184
|
+
);
|
|
1185
|
+
}
|
|
1186
|
+
);
|
|
1187
|
+
nt.displayName = "WorkflowMap";
|
|
1188
|
+
function it({
|
|
1189
|
+
node: e,
|
|
1190
|
+
state: r,
|
|
1191
|
+
orientation: a,
|
|
1192
|
+
compact: o,
|
|
1193
|
+
isLast: l,
|
|
1194
|
+
onNodeClick: i
|
|
1195
|
+
}) {
|
|
1196
|
+
const { t: n } = z(), p = D[e.type], m = tt[p.iconName], u = n(p.labelKey), s = ot(at(e.settings), n), c = typeof i == "function", y = r === "current", h = r === "completed", k = (g) => {
|
|
1197
|
+
c && (g.preventDefault(), i == null || i(e.id));
|
|
1198
|
+
}, x = (g) => {
|
|
1199
|
+
c && (g.key === "Enter" || g.key === " ") && (g.preventDefault(), i == null || i(e.id));
|
|
1200
|
+
}, v = y ? n("workflow.map.current") : h ? n("workflow.map.completed") : r === "pending" ? n("workflow.map.pending") : null;
|
|
1201
|
+
return (
|
|
1202
|
+
// `<li>` has implicit role="listitem"; no explicit role needed.
|
|
1203
|
+
/* @__PURE__ */ d("li", { className: ce({ orientation: a }), children: [
|
|
1204
|
+
/* @__PURE__ */ d(
|
|
1205
|
+
"div",
|
|
1206
|
+
{
|
|
1207
|
+
role: c ? "button" : void 0,
|
|
1208
|
+
tabIndex: c ? 0 : void 0,
|
|
1209
|
+
"aria-current": y ? "step" : void 0,
|
|
1210
|
+
"aria-label": c && o ? s ? n("workflow.map.nodeLabelWithSummary", {
|
|
1211
|
+
type: u,
|
|
1212
|
+
summary: s
|
|
1213
|
+
}) : n("workflow.map.nodeLabel", { type: u }) : void 0,
|
|
1214
|
+
title: o && s ? n("workflow.map.nodeLabelWithSummary", {
|
|
1215
|
+
type: u,
|
|
1216
|
+
summary: s
|
|
1217
|
+
}) : void 0,
|
|
1218
|
+
onClick: c ? k : void 0,
|
|
1219
|
+
onKeyDown: c ? x : void 0,
|
|
1220
|
+
className: de({
|
|
1221
|
+
orientation: a,
|
|
1222
|
+
compact: o,
|
|
1223
|
+
state: r,
|
|
1224
|
+
interactive: c
|
|
1225
|
+
}),
|
|
1226
|
+
"data-node-id": e.id,
|
|
1227
|
+
"data-state": r,
|
|
1228
|
+
children: [
|
|
1229
|
+
/* @__PURE__ */ t(
|
|
1230
|
+
"span",
|
|
1231
|
+
{
|
|
1232
|
+
"aria-hidden": "true",
|
|
1233
|
+
className: "flex items-center justify-center shrink-0 size-[var(--spacing-md)] text-[var(--muted-foreground)]",
|
|
1234
|
+
children: h ? /* @__PURE__ */ t(
|
|
1235
|
+
ge,
|
|
1236
|
+
{
|
|
1237
|
+
className: "size-[var(--spacing-md)] text-[color:var(--success)]",
|
|
1238
|
+
"data-testid": "workflow-map-check"
|
|
1239
|
+
}
|
|
1240
|
+
) : /* @__PURE__ */ t(m, { className: "size-[var(--spacing-md)]" })
|
|
1241
|
+
}
|
|
1242
|
+
),
|
|
1243
|
+
/* @__PURE__ */ d("span", { className: "flex flex-col min-w-0 flex-1", children: [
|
|
1244
|
+
/* @__PURE__ */ t(
|
|
1245
|
+
"span",
|
|
1246
|
+
{
|
|
1247
|
+
className: o ? "type-meta truncate" : "type-body-sm",
|
|
1248
|
+
children: u
|
|
1249
|
+
}
|
|
1250
|
+
),
|
|
1251
|
+
!o && s ? /* @__PURE__ */ t(
|
|
1252
|
+
"span",
|
|
1253
|
+
{
|
|
1254
|
+
className: "type-meta text-[var(--muted-foreground)]",
|
|
1255
|
+
"data-testid": "workflow-map-summary",
|
|
1256
|
+
children: s
|
|
1257
|
+
}
|
|
1258
|
+
) : null
|
|
1259
|
+
] }),
|
|
1260
|
+
v ? /* @__PURE__ */ t("span", { className: "sr-only", children: v }) : null
|
|
1261
|
+
]
|
|
1262
|
+
}
|
|
1263
|
+
),
|
|
1264
|
+
l ? null : /* @__PURE__ */ t(
|
|
1265
|
+
"span",
|
|
1266
|
+
{
|
|
1267
|
+
"aria-hidden": "true",
|
|
1268
|
+
className: ue({ orientation: a, compact: o }),
|
|
1269
|
+
"data-testid": "workflow-map-connector"
|
|
1270
|
+
}
|
|
1271
|
+
)
|
|
1272
|
+
] })
|
|
1273
|
+
);
|
|
1274
|
+
}
|
|
1275
|
+
function st({
|
|
1276
|
+
orientation: e,
|
|
1277
|
+
compact: r,
|
|
1278
|
+
criteria: a
|
|
1279
|
+
}) {
|
|
1280
|
+
const { t: o } = z();
|
|
1281
|
+
return /* @__PURE__ */ d("li", { className: ce({ orientation: e }), children: [
|
|
1282
|
+
/* @__PURE__ */ d(
|
|
1283
|
+
"div",
|
|
1284
|
+
{
|
|
1285
|
+
className: de({
|
|
1286
|
+
orientation: e,
|
|
1287
|
+
compact: r,
|
|
1288
|
+
state: "neutral",
|
|
1289
|
+
interactive: !1
|
|
1290
|
+
}),
|
|
1291
|
+
"data-testid": "workflow-map-criteria",
|
|
1292
|
+
children: [
|
|
1293
|
+
/* @__PURE__ */ t(
|
|
1294
|
+
"span",
|
|
1295
|
+
{
|
|
1296
|
+
"aria-hidden": "true",
|
|
1297
|
+
className: "flex items-center justify-center shrink-0 size-[var(--spacing-md)] text-[var(--muted-foreground)]",
|
|
1298
|
+
children: /* @__PURE__ */ t(Me, { className: "size-[var(--spacing-md)]" })
|
|
1299
|
+
}
|
|
1300
|
+
),
|
|
1301
|
+
/* @__PURE__ */ d("span", { className: "flex flex-col min-w-0 flex-1", children: [
|
|
1302
|
+
/* @__PURE__ */ t(
|
|
1303
|
+
"span",
|
|
1304
|
+
{
|
|
1305
|
+
className: r ? "type-meta truncate" : "type-body-sm",
|
|
1306
|
+
children: o("workflow.editor.enrollmentCriteria")
|
|
1307
|
+
}
|
|
1308
|
+
),
|
|
1309
|
+
r ? null : /* @__PURE__ */ t("span", { className: "type-meta text-[var(--muted-foreground)]", children: a.summary ?? o("workflow.editor.criteriaCount", {
|
|
1310
|
+
count: a.ruleCount
|
|
1311
|
+
}) })
|
|
1312
|
+
] })
|
|
1313
|
+
]
|
|
1314
|
+
}
|
|
1315
|
+
),
|
|
1316
|
+
/* @__PURE__ */ t(
|
|
1317
|
+
"span",
|
|
1318
|
+
{
|
|
1319
|
+
"aria-hidden": "true",
|
|
1320
|
+
className: ue({ orientation: e, compact: r })
|
|
1321
|
+
}
|
|
1322
|
+
)
|
|
1323
|
+
] });
|
|
1324
|
+
}
|
|
1325
|
+
export {
|
|
1326
|
+
Re as C,
|
|
1327
|
+
$e as W,
|
|
1328
|
+
et as a,
|
|
1329
|
+
nt as b,
|
|
1330
|
+
F as c,
|
|
1331
|
+
Ve as i,
|
|
1332
|
+
H as l,
|
|
1333
|
+
qe as m,
|
|
1334
|
+
Y as r,
|
|
1335
|
+
D as w
|
|
1336
|
+
};
|
|
1337
|
+
//# sourceMappingURL=workflow-map-Uf-hHAO3.js.map
|