@alfadocs/ui-kit 0.71.0 → 0.72.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{accordion-DnIa7OHX.js → accordion-C11v9ouP.js} +2 -2
- package/dist/_chunks/{address-autocomplete-BEX9PXty.js → address-autocomplete-Bq-1n1UX.js} +2 -2
- package/dist/_chunks/{address-fields-CPbFJ8e8.js → address-fields-COyjgqxA.js} +8 -8
- package/dist/_chunks/{agenda-card-BQ-IKAru.js → agenda-card-BCGaQazD.js} +2 -2
- package/dist/_chunks/{agenda-tray-CGXRk58j.js → agenda-tray-loL2A3Cx.js} +4 -4
- package/dist/_chunks/{ai-consent-banner-Be-h9mRI.js → ai-consent-banner-Bke9m8VS.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-V4DdOeqv.js → ai-prompt-input-TVI95hJD.js} +4 -4
- package/dist/_chunks/{alert-CHYZ96tR.js → alert-KJbsPYkI.js} +8 -8
- package/dist/_chunks/{alia-sidebar-DvIUzIX9.js → alia-sidebar-BV5lBSFR.js} +279 -223
- package/dist/_chunks/{anamnesis-card-DvYCa16e.js → anamnesis-card-CWO4Ui9c.js} +4 -4
- package/dist/_chunks/{antenatal-schedule-timeline-CwXrQRm1.js → antenatal-schedule-timeline-CY-VsLok.js} +3 -3
- package/dist/_chunks/{appointment-card-DVaeJNVB.js → appointment-card-Cy4FOkGP.js} +86 -69
- package/dist/_chunks/{appointment-timeline-PJgnrjFb.js → appointment-timeline-BWAPPk8F.js} +4 -4
- package/dist/_chunks/{appointment-tray-B16QPGbm.js → appointment-tray-D3mk04TT.js} +4 -4
- package/dist/_chunks/{ar-Cn5Fq48Z.js → ar-BOqyIfoY.js} +2 -2
- package/dist/_chunks/astroid-BN4f5VXU.js +20 -0
- package/dist/_chunks/{audio-recorder-DNDsOLqO.js → audio-recorder-BbjG55dP.js} +9 -9
- package/dist/_chunks/{bishop-score-Cym_TeQY.js → bishop-score-C6eoak_j.js} +4 -4
- package/dist/_chunks/{bmi-calculator-zjeY4E7J.js → bmi-calculator-BmQfoEGP.js} +5 -5
- package/dist/_chunks/{booking-C7do4vaR.js → booking-B62CMY5k.js} +205 -221
- package/dist/_chunks/{breadcrumb-CchdeG7d.js → breadcrumb-agut0PwN.js} +3 -3
- package/dist/_chunks/{calculator-dialog-BR5iU0kf.js → calculator-dialog-DuXMQSdm.js} +2 -2
- package/dist/_chunks/{calendar-CZUjL8SZ.js → calendar-DeAlFPsF.js} +15 -15
- package/dist/_chunks/{calendar-clock-CYkcqdwl.js → calendar-clock-hbObjfGY.js} +3 -3
- package/dist/_chunks/{calendar-days-C4BmpCZg.js → calendar-days-BGWklvE-.js} +3 -3
- package/dist/_chunks/{care-plan-card-DzPDYgtK.js → care-plan-card-DhXbfGzE.js} +6 -6
- package/dist/_chunks/{care-plan-entry-card-CEnQy7YP.js → care-plan-entry-card-D3YGD6rj.js} +6 -6
- package/dist/_chunks/{care-plan-header-DcXFXWit.js → care-plan-header-DtQxyfOb.js} +4 -4
- package/dist/_chunks/{carousel.agent-4v8Emr9E.js → carousel.agent-j7hWxJWr.js} +3 -3
- package/dist/_chunks/{chat-container-DWho5hPR.js → chat-container-BVCoN06N.js} +2 -2
- package/dist/_chunks/{chat-input-BcXTetgM.js → chat-input-Btq_uuMZ.js} +5 -5
- package/dist/_chunks/{chat-message-DzpcJR-q.js → chat-message-DXjjM8z9.js} +7 -7
- package/dist/_chunks/{check-DPdL_Sm7.js → check-DrFSN__t.js} +3 -3
- package/dist/_chunks/{checkbox-group-PqNmQ-cE.js → checkbox-group-CfqMv57d.js} +2 -2
- package/dist/_chunks/{chevron-down-BX_NP2Yh.js → chevron-down-DWE7GSq9.js} +3 -3
- package/dist/_chunks/{chevron-left-CX1jqD2M.js → chevron-left-B8cOyH-V.js} +3 -3
- package/dist/_chunks/{chevron-right-BrpYejk0.js → chevron-right-I9AeSxH2.js} +3 -3
- package/dist/_chunks/{chevron-up-zOEDrmBB.js → chevron-up-umRGgtJA.js} +3 -3
- package/dist/_chunks/{chevrons-right-d9MwesPG.js → chevrons-right-DIHg7Xqi.js} +4 -4
- package/dist/_chunks/{circle-alert-ChA9opNA.js → circle-alert-rGDZ73Wh.js} +3 -3
- package/dist/_chunks/{circle-check-9AeSgJD_.js → circle-check-BN6rz4NV.js} +3 -3
- package/dist/_chunks/{circle-BkqTgYmt.js → circle-j7oZoouK.js} +3 -3
- package/dist/_chunks/{circle-x-Du2CmjaU.js → circle-x-W8Enq3i4.js} +3 -3
- package/dist/_chunks/{city-input-Dkgaak7I.js → city-input-towzBenY.js} +2 -2
- package/dist/_chunks/{clinical-note-card-BUvNMNGL.js → clinical-note-card-C7F_24IC.js} +9 -9
- package/dist/_chunks/clipboard-check-BeAGxDVT.js +22 -0
- package/dist/_chunks/{clock-21AGPWJ5.js → clock-Drd4Wtis.js} +3 -3
- package/dist/_chunks/{code-block-BBWHhIc8.js → code-block-Cwi7e3HM.js} +3 -3
- package/dist/_chunks/{color-picker-C_fZl6sA.js → color-picker-D-tUwxxT.js} +3 -3
- package/dist/_chunks/{columns-2-BTOBZbep.js → columns-2-8lq4-b8e.js} +3 -3
- package/dist/_chunks/{combobox-DnqSF0IH.js → combobox-DiMLItyu.js} +3 -3
- package/dist/_chunks/{command-palette-CJzmc5pC.js → command-palette-DQl_SNEv.js} +2 -2
- package/dist/_chunks/{connection-status-CY1HV8Wg.js → connection-status-0HajXMXM.js} +2 -2
- package/dist/_chunks/{contact-card-Cf8Ktyt3.js → contact-card-0hnFJwrz.js} +3 -3
- package/dist/_chunks/{contact-profile-card-DDPwRFiP.js → contact-profile-card-IggiUVpN.js} +14 -14
- package/dist/_chunks/{control-room-rail-FAQZrGVL.js → control-room-rail-DaGcsdZ6.js} +3 -3
- package/dist/_chunks/{copy-field-Bjw9u2cV.js → copy-field-PAp0-Wr5.js} +3 -3
- package/dist/_chunks/{copy-B00HK7tj.js → copy-vRpqqHtY.js} +3 -3
- package/dist/_chunks/{country-select-BwUZQvTa.js → country-select-DYHDLEjG.js} +2 -2
- package/dist/_chunks/{createLucideIcon-CrFbzy84.js → createLucideIcon-DhHxpK9K.js} +8 -8
- package/dist/_chunks/{cycle-calculator-CCmPwcBl.js → cycle-calculator-BNILyVas.js} +10 -10
- package/dist/_chunks/{date-picker-Dl9RKxaV.js → date-picker-CVkD_lOi.js} +3 -3
- package/dist/_chunks/{date-picker-variants-DAcSLTua.js → date-picker-variants-DLg-ZrIo.js} +20 -20
- package/dist/_chunks/{date-range-picker-CTUeR6Bj.js → date-range-picker-Dw12DgV8.js} +4 -4
- package/dist/_chunks/{date-time-picker-BhoogS5Q.js → date-time-picker-Cd_OJtOy.js} +3 -3
- package/dist/_chunks/{de-CrJs4ZsX.js → de-DFLsUxeV.js} +2 -2
- package/dist/_chunks/{dependent-selector-DUV4thxX.js → dependent-selector-DyFpdzZV.js} +2 -2
- package/dist/_chunks/{description-list-gkNGWk5G.js → description-list-CmBVxIF5.js} +3 -3
- package/dist/_chunks/{dialog-ZNuboNmy.js → dialog-UbKJCi1X.js} +2 -2
- package/dist/_chunks/{document-scanner-C_AxLooF.js → document-scanner-B23j4w7X.js} +8 -8
- package/dist/_chunks/{download-CDF1sbL9.js → download-CfYKJO_j.js} +3 -3
- package/dist/_chunks/{dropdown-menu-qrxjymfw.js → dropdown-menu-DU-Hrf33.js} +3 -3
- package/dist/_chunks/{due-date-calculator-Brdj-euS.js → due-date-calculator-CmdAl_JO.js} +7 -7
- package/dist/_chunks/{editable-currency-cell-renderer-CGELrkIj.js → editable-currency-cell-renderer-z9fJFw6Z.js} +7 -7
- package/dist/_chunks/{editor-overlay-wYm22wZK.js → editor-overlay-BIOzr8v7.js} +2 -2
- package/dist/_chunks/{el-DHdMOIhL.js → el-OVjBKytp.js} +2 -2
- package/dist/_chunks/{ellipsis-rgGdiK_9.js → ellipsis-dRo9ouSU.js} +3 -3
- package/dist/_chunks/{email-input-DJ7EXklP.js → email-input-Dpe63k0K.js} +3 -3
- package/dist/_chunks/{entity-card-DmrgYSEX.js → entity-card-9_62gY7l.js} +4 -4
- package/dist/_chunks/{entity-summary-CaM1Y-xE.js → entity-summary-DpGziDv5.js} +104 -118
- package/dist/_chunks/{es-DCATCfqo.js → es-DKDNrHXG.js} +2 -2
- package/dist/_chunks/{external-link-C6F25E6k.js → external-link-CY6zAXXU.js} +3 -3
- package/dist/_chunks/{eye-LHlSU38h.js → eye-BjhN2nYf.js} +3 -3
- package/dist/_chunks/{eye-off-xEXDAh5z.js → eye-off-C_4xkbRP.js} +3 -3
- package/dist/_chunks/face-scheme-DruX4mca.js +1450 -0
- package/dist/_chunks/face_detection_yunet_2023mar-BnsRs4bD.js +5 -0
- package/dist/_chunks/{fetal-weight-DNCkyeVo.js → fetal-weight-CVAH8sJ3.js} +4 -4
- package/dist/_chunks/{field-array-siUZzfYe.js → field-array-CDzc3hTM.js} +3 -3
- package/dist/_chunks/{field-value-3jMM0uDx.js → field-value-Dj3i52H2.js} +13 -13
- package/dist/_chunks/{file-spreadsheet-zUkY8rJ2.js → file-spreadsheet-DmwyfV4O.js} +3 -3
- package/dist/_chunks/{file-text-DSNuv2B8.js → file-text-5yv6r2ls.js} +3 -3
- package/dist/_chunks/{file-upload-DwZcAK8D.js → file-upload-Kw1rdvFw.js} +13 -13
- package/dist/_chunks/{finished-terminal-VjZ_-eDD.js → finished-terminal-Di4gtZ50.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-Cf-8O4Fj.js → fiscal-code-input-DKNXFXs3.js} +5 -5
- package/dist/_chunks/{form-field-BOm9hK35.js → form-field-M5UpX65Z.js} +2 -2
- package/dist/_chunks/{fr-BfGEMshF.js → fr-BfMvQh-v.js} +2 -2
- package/dist/_chunks/{freemium-paywall-WYlNO7yT.js → freemium-paywall-DFoeedwh.js} +4 -4
- package/dist/_chunks/{gestational-age-calculator-DKzEV5Qi.js → gestational-age-calculator-BwCBPAGX.js} +9 -9
- package/dist/_chunks/{globe-BkEFMNSg.js → globe-sHBW1JN5.js} +3 -3
- package/dist/_chunks/{grip-vertical-Dlg0_k5C.js → grip-vertical-onSb1JXO.js} +3 -3
- package/dist/_chunks/{hash-CysBBS_N.js → hash-CSQ9SChR.js} +3 -3
- package/dist/_chunks/{hcg-doubling-C7bmuaU3.js → hcg-doubling-CSsWxEJc.js} +5 -5
- package/dist/_chunks/{header-CNszv2WQ.js → header-DaXWDw0M.js} +2 -2
- package/dist/_chunks/{header-settings-DJqoAl5m.js → header-settings-B0G_u-wV.js} +6 -6
- package/dist/_chunks/{heart-C0faivFf.js → heart--qCA4ffe.js} +3 -3
- package/dist/_chunks/{heart-pulse-CvuyFKHB.js → heart-pulse-BCppJyN2.js} +3 -3
- package/dist/_chunks/{hi-CBFRXEIm.js → hi-C0GEMwlD.js} +2 -2
- package/dist/_chunks/{iban-input-B0TWzR1R.js → iban-input-DXIA8Ln_.js} +3 -3
- package/dist/_chunks/{icon-picker-0B7KhrF1.js → icon-picker-Di6uYDG-.js} +4 -4
- package/dist/_chunks/{image-C6RM5hfF.js → image-B_5MNK0x.js} +3 -3
- package/dist/_chunks/{image-cropper-D9jqJy19.js → image-cropper-CdmWFrMC.js} +2 -2
- package/dist/_chunks/{info-B9XNKn05.js → info-CGn22peZ.js} +3 -3
- package/dist/_chunks/{insert-result-njqBthzT.js → insert-result-C7xSDb8q.js} +5 -5
- package/dist/_chunks/{isSameWeek-I3DfXUp1.js → isSameWeek-HddDAyJG.js} +2 -2
- package/dist/_chunks/{it-nz6vAKwG.js → it-5f4hiT2e.js} +3 -3
- package/dist/_chunks/{ja-DQcqdAEJ.js → ja-U0_2inl_.js} +2 -2
- package/dist/_chunks/{key-value-pair-BrgbMfbF.js → key-value-pair-Byyyc_9J.js} +3 -3
- package/dist/_chunks/{languages-DsVf_WzT.js → languages-CGLX6Qpe.js} +3 -3
- package/dist/_chunks/{layers-pzGcbLPj.js → layers-DcAENmsZ.js} +3 -3
- package/dist/_chunks/{link-DrD_cRUg.js → link-CPb_pZPr.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-De_SLjSq.js → link-cell-renderer-BCppbMec.js} +19 -19
- package/dist/_chunks/{locale-picker-ChYYSX2N.js → locale-picker-DzF7Q5Y8.js} +5 -5
- package/dist/_chunks/{lock-CKOIn0IK.js → lock-ClAFG1gy.js} +3 -3
- package/dist/_chunks/{log-out-616hnn2-.js → log-out-oDS6zO5d.js} +3 -3
- package/dist/_chunks/{mail-C8irm52s.js → mail-BqXVF2zH.js} +3 -3
- package/dist/_chunks/{map-pin-B8STOPMJ.js → map-pin-BaY37-Km.js} +3 -3
- package/dist/_chunks/{map-view-BkOoGoX2.js → map-view-ByPvWG_9.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-BGqkywsi.js → marketplace-app-shell-BCYiOvKZ.js} +9 -9
- package/dist/_chunks/{maximize-2-Cm9OUQ2m.js → maximize-2-BYd2Kti7.js} +3 -3
- package/dist/_chunks/{menu-XRhW3_99.js → menu-Op71AWIC.js} +3 -3
- package/dist/_chunks/{message-card-DsHFFiL1.js → message-card-BZnnffyB.js} +2 -2
- package/dist/_chunks/{message-circle-C23eicgb.js → message-circle-Bepl9JT5.js} +3 -3
- package/dist/_chunks/{message-tray-C0a6CL1_.js → message-tray-cUHOCdU0.js} +3 -3
- package/dist/_chunks/{mic-B4Gog3Gi.js → mic-CUklMZGF.js} +3 -3
- package/dist/_chunks/{monitor-D-SFdbrU.js → monitor-xXSrufmP.js} +3 -3
- package/dist/_chunks/{multi-select-WE4S9FIF.js → multi-select-D5QLBJM1.js} +3 -3
- package/dist/_chunks/{anatomy-scheme-CXSk11UJ.js → muscle-scheme-B9MIkuj0.js} +415 -1146
- package/dist/_chunks/{nav-grid-9xphY3FM.js → nav-grid-gRudLsPX.js} +2 -2
- package/dist/_chunks/{navigation-menu-DRUi6sSj.js → navigation-menu-D3VndouD.js} +2 -2
- package/dist/_chunks/{nl-L5SuDjyl.js → nl-CDVnnx1U.js} +2 -2
- package/dist/_chunks/{notes-panel-DXiMfuvp.js → notes-panel-CMyjUXD4.js} +68 -64
- package/dist/_chunks/{notification-card-BMqNzCIt.js → notification-card-BHJ07FkH.js} +2 -2
- package/dist/_chunks/{notification-tray-BmUlCx3g.js → notification-tray-Dzm1c3Wy.js} +4 -4
- package/dist/_chunks/{number-input-DxphVG_A.js → number-input-DjWzmlEY.js} +3 -3
- package/dist/_chunks/{operator-hero-BO8TqzX2.js → operator-hero-DVy0RGoD.js} +3 -3
- package/dist/_chunks/optical-prescription-Bmlbuopi.js +653 -0
- package/dist/_chunks/{pagination-D58kglCr.js → pagination-EkD5SiCK.js} +6 -6
- package/dist/_chunks/{patient-details-DgfTJimE.js → patient-details-pU_E5xM2.js} +106 -87
- package/dist/_chunks/{patient-search-CSWQKOSP.js → patient-search-X9SUZGpy.js} +10 -10
- package/dist/_chunks/{patient-shell-BMwsIKlW.js → patient-shell-oiIRqEAl.js} +7 -7
- package/dist/_chunks/{patient-summary-card-D4NdgYJB.js → patient-summary-card--t3BjTdU.js} +16 -16
- package/dist/_chunks/{patient-table-CERknpd8.js → patient-table-BgWgNIMf.js} +11 -11
- package/dist/_chunks/{payment-form-CxqIXqw7.js → payment-form-DL9xk9BA.js} +2 -2
- package/dist/_chunks/{payment-request-card-Blf-MFNY.js → payment-request-card-2ts7ITxd.js} +15 -15
- package/dist/_chunks/{pdf-viewer-QfebdLOd.js → pdf-viewer-DF3VMaPo.js} +8 -8
- package/dist/_chunks/{pencil-CfQX-0Qc.js → pencil-B1sKKyuT.js} +3 -3
- package/dist/_chunks/{periodontal-chart-card-hRRJY1NN.js → periodontal-chart-card-6c6Lt4ws.js} +2 -2
- package/dist/_chunks/{permission-matrix-Bw5oexUt.js → permission-matrix-BIJrGEmz.js} +3 -3
- package/dist/_chunks/{phone-Bi5yUm4I.js → phone-FceYcIFQ.js} +3 -3
- package/dist/_chunks/{phone-input-DjU-XmO_.js → phone-input-dtnrvnZf.js} +2 -2
- package/dist/_chunks/{pl-YAn5z2wR.js → pl-BWNumNrg.js} +3 -3
- package/dist/_chunks/{plus-CYKNmfuA.js → plus-DzMQ_c6b.js} +3 -3
- package/dist/_chunks/{popover-B2qCDhJC.js → popover-uJ6BvEU3.js} +2 -2
- package/dist/_chunks/{postal-code-input-UCOYuRY2.js → postal-code-input-BznBxVxf.js} +3 -3
- package/dist/_chunks/{practice-results-El5Z-oVp.js → practice-results-CSEHTH2V.js} +15 -15
- package/dist/_chunks/{pregnancy-dating-CunHrOpO.js → pregnancy-dating-CxVAA6_4.js} +10 -10
- package/dist/_chunks/{pregnancy-weight-gain-BUNpTsH-.js → pregnancy-weight-gain-C7zyrwow.js} +5 -5
- package/dist/_chunks/{printer-CeVEWfQq.js → printer-rkK0T1gi.js} +3 -3
- package/dist/_chunks/{privacy-lock-BzMLQu-j.js → privacy-lock-DrRmK8C7.js} +4 -4
- package/dist/_chunks/{product-hub-panel-DtU7KXxm.js → product-hub-panel-CaZqttvm.js} +5 -5
- package/dist/_chunks/{province-select-D_TZvix3.js → province-select-BDywtmL-.js} +2 -2
- package/dist/_chunks/{pt-D9xdT5KQ.js → pt-zqdQuryr.js} +2 -2
- package/dist/_chunks/{public-footer.agent-D0cFbjWl.js → public-footer.agent-BKkK3T3V.js} +3 -3
- package/dist/_chunks/{public-header.agent-TxmC_x1I.js → public-header.agent-C-opZaOw.js} +5 -5
- package/dist/_chunks/{radio-group-BPt7pKZW.js → radio-group-CI-6SmSw.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-tWjN2nHX.js → radiograph-panel.agent-D1x33moc.js} +14 -14
- package/dist/_chunks/{rating-BRD7O74e.js → rating-BYbUowdK.js} +2 -2
- package/dist/_chunks/{refresh-cw-CC8jSKMr.js → refresh-cw-DnI0cLFC.js} +3 -3
- package/dist/_chunks/{reviews-panel-DxkSrgMl.js → reviews-panel-liUj6OPX.js} +5 -5
- package/dist/_chunks/{rich-text-editor-C8tyGjfb.js → rich-text-editor-DUgznqOf.js} +53 -53
- package/dist/_chunks/{ro-Cp--52bT.js → ro-CornQr64.js} +2 -2
- package/dist/_chunks/{rotate-ccw-BWANpitO.js → rotate-ccw-BBQnIVTr.js} +3 -3
- package/dist/_chunks/{ru-BM8eX_Zz.js → ru-CKAXNYVD.js} +3 -3
- package/dist/_chunks/{scan-line-lGioFwLC.js → scan-line-CNseIHQ0.js} +3 -3
- package/dist/_chunks/{search-BonnQsHv.js → search-QbWPlY5f.js} +3 -3
- package/dist/_chunks/{search-bar-C_T3pBJn.js → search-bar-CJj6sI9m.js} +3 -3
- package/dist/_chunks/{search-input-DQvGxR74.js → search-input-B7GmlPIE.js} +4 -4
- package/dist/_chunks/{select-KsyRr8WH.js → select-BmCbJMJS.js} +5 -5
- package/dist/_chunks/{send-CySZIRPJ.js → send-C5kDJ-Mz.js} +3 -3
- package/dist/_chunks/{session-countdown-X1Ki6i0M.js → session-countdown-qr8EO5QY.js} +5 -5
- package/dist/_chunks/{settings-ca2Yi9R8.js → settings-d25ju_6L.js} +3 -3
- package/dist/_chunks/{sheet-umkfZjF6.js → sheet-B_X54aZo.js} +2 -2
- package/dist/_chunks/{shield-check-BjCGH_Sr.js → shield-check-DCJALLVh.js} +3 -3
- package/dist/_chunks/{sidebar-QCp9wHNP.js → sidebar-B0OBmJrC.js} +10 -10
- package/dist/_chunks/{sign-document-By6hMOra.js → sign-document-nK03S73h.js} +3 -3
- package/dist/_chunks/{signature-field-Dy1JRjzE.js → signature-field-jgwYgUhO.js} +4 -4
- package/dist/_chunks/{smart-date-CWikAqZx.js → smart-date-CsPlilQA.js} +7 -7
- package/dist/_chunks/{sq-XRpr0r49.js → sq-CIIvqXZv.js} +2 -2
- package/dist/_chunks/{square-CZoGU14v.js → square-DASBRZ0U.js} +3 -3
- package/dist/_chunks/{square-check-big-Jr-0202D.js → square-check-big-dj0o8yA3.js} +3 -3
- package/dist/_chunks/{star-vav0SJ9e.js → star-Bf9L2Uot.js} +3 -3
- package/dist/_chunks/{stepper-accordion-DC-H-8v4.js → stepper-accordion-BeVMZPuG.js} +3 -3
- package/dist/_chunks/{stethoscope-DT5qCW8Y.js → stethoscope-sZXGC43m.js} +3 -3
- package/dist/_chunks/{streaming-text-BB9mvK4m.js → streaming-text-Cedc05ya.js} +2 -2
- package/dist/_chunks/subDays-DGSOp9d9.js +8 -0
- package/dist/_chunks/{sun-BuXE0xUS.js → sun-Bj9Mr553.js} +4 -4
- package/dist/_chunks/{sv-Z3APomE8.js → sv-Kpk1pzjz.js} +2 -2
- package/dist/_chunks/{tab-bar-Bv9nGNdO.js → tab-bar-Axhk6xzx.js} +6 -6
- package/dist/_chunks/{tabs-CYZVKKDl.js → tabs-DVQ941Sj.js} +4 -4
- package/dist/_chunks/{tag-BQXwuJq1.js → tag-3wgkwwDB.js} +2 -2
- package/dist/_chunks/{task-card-DCdsI0ZT.js → task-card-BUgK6yZT.js} +9 -9
- package/dist/_chunks/{task-tray-DNVejijD.js → task-tray-DP5A3Qnc.js} +5 -5
- package/dist/_chunks/{tasks-panel-C9odmawT.js → tasks-panel-BuxaYtEF.js} +40 -40
- package/dist/_chunks/{text-input-B-OWQ1Je.js → text-input-CUvCb6ST.js} +2 -2
- package/dist/_chunks/{theme-toggle-XB6o_lgs.js → theme-toggle-dtdy5EaL.js} +4 -4
- package/dist/_chunks/{timeline-CqA4nKTI.js → timeline-r-8IUoBS.js} +6 -6
- package/dist/_chunks/{toast.agent-57UzyR9U.js → toast.agent-BSxl057x.js} +6 -6
- package/dist/_chunks/{token-insert-menu-CFQqTe_n.js → token-insert-menu-Pok4nExI.js} +2 -2
- package/dist/_chunks/{tooth-scheme-DJZtzfeY.js → tooth-scheme-D_rso4uu.js} +4 -4
- package/dist/_chunks/{tr-e0-P4FON.js → tr-DHaeLFxG.js} +2 -2
- package/dist/_chunks/{transaction-chip-CscoQbxF.js → transaction-chip-B6iWoVmU.js} +8 -8
- package/dist/_chunks/{transcript-panel-CHGHHHdT.js → transcript-panel-BGkEhvHO.js} +3 -3
- package/dist/_chunks/{trash-2-rPAKaRgB.js → trash-2-uumy3fy1.js} +3 -3
- package/dist/_chunks/{triangle-alert-CBPUIzQo.js → triangle-alert-CBnO6nq_.js} +3 -3
- package/dist/_chunks/{unit-converter-CwlZbfdn.js → unit-converter-fEqluT8b.js} +5 -5
- package/dist/_chunks/{use-password-requirements-BXvS2MBS.js → use-password-requirements-Bwtqx1qN.js} +7 -7
- package/dist/_chunks/{user-CPxpqFjJ.js → user-B12p7bVF.js} +3 -3
- package/dist/_chunks/{user-cog-BS_qc8nA.js → user-cog-BTn98Arm.js} +3 -3
- package/dist/_chunks/{users-MBVtUzwd.js → users-BjS_Gg1E.js} +3 -3
- package/dist/_chunks/{video-BAeICxCT.js → video-BheNGvsu.js} +3 -3
- package/dist/_chunks/{warning-stack--sTrrBDA.js → warning-stack-BaMI7-n7.js} +4 -4
- package/dist/_chunks/{workflow-map-M8MBBHQm.js → workflow-map-qWsgCldq.js} +146 -146
- package/dist/_chunks/{x-CCcI3eJp.js → x-B5YnXwCz.js} +3 -3
- package/dist/_chunks/{zh-CN-B-igM5gY.js → zh-CN-BncsTBwM.js} +3 -3
- package/dist/_chunks/{zoom-out-CgVtf2Wx.js → zoom-out-Dnif4kJx.js} +4 -4
- package/dist/agent-catalog.json +1473 -317
- package/dist/agent-i18n/en.json +107 -15
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/annotation-marker/annotation-marker.d.ts +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/chat-message.d.ts +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/detect-face-landmarks.d.ts +26 -0
- package/dist/components/face-scheme/detect-face-yunet.d.ts +28 -0
- package/dist/components/face-scheme/face-scheme-data.d.ts +113 -0
- package/dist/components/face-scheme/face-scheme-zones.d.ts +11 -0
- package/dist/components/face-scheme/face-scheme.agent.d.ts +4 -0
- package/dist/components/face-scheme/face-scheme.d.ts +144 -0
- package/dist/components/face-scheme/index.d.ts +7 -0
- package/dist/components/face-scheme/index.js +17 -0
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/form-field/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/iban-input/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.d.ts +6 -0
- package/dist/components/muscle-scheme/index.js +16 -0
- package/dist/components/{anatomy-scheme/anatomy-muscle-paths.d.ts → muscle-scheme/muscle-paths.d.ts} +3 -1
- package/dist/components/muscle-scheme/muscle-scheme-data.d.ts +107 -0
- package/dist/components/muscle-scheme/muscle-scheme.agent.d.ts +6 -0
- package/dist/components/{anatomy-scheme/anatomy-scheme.d.ts → muscle-scheme/muscle-scheme.d.ts} +24 -27
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.d.ts +6 -0
- package/dist/components/optical-prescription/index.js +38 -0
- package/dist/components/optical-prescription/optical-prescription-data.d.ts +106 -0
- package/dist/components/optical-prescription/optical-prescription.agent.d.ts +6 -0
- package/dist/components/optical-prescription/optical-prescription.d.ts +43 -0
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/postal-code-input/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rating/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/smart-date/index.js +1 -1
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +139 -98
- package/dist/i18n/locales/ar.js +141 -107
- package/dist/i18n/locales/de.d.ts +139 -98
- package/dist/i18n/locales/de.js +141 -107
- package/dist/i18n/locales/el.d.ts +139 -98
- package/dist/i18n/locales/el.js +141 -107
- package/dist/i18n/locales/en.d.ts +139 -98
- package/dist/i18n/locales/en.js +141 -107
- package/dist/i18n/locales/es.d.ts +139 -98
- package/dist/i18n/locales/es.js +141 -107
- package/dist/i18n/locales/fr.d.ts +139 -98
- package/dist/i18n/locales/fr.js +141 -107
- package/dist/i18n/locales/hi.d.ts +139 -98
- package/dist/i18n/locales/hi.js +141 -107
- package/dist/i18n/locales/it.d.ts +139 -98
- package/dist/i18n/locales/it.js +141 -107
- package/dist/i18n/locales/ja.d.ts +139 -98
- package/dist/i18n/locales/ja.js +141 -107
- package/dist/i18n/locales/nl.d.ts +139 -98
- package/dist/i18n/locales/nl.js +141 -107
- package/dist/i18n/locales/pl.d.ts +139 -98
- package/dist/i18n/locales/pl.js +141 -107
- package/dist/i18n/locales/pt.d.ts +139 -98
- package/dist/i18n/locales/pt.js +141 -107
- package/dist/i18n/locales/ro.d.ts +139 -98
- package/dist/i18n/locales/ro.js +141 -107
- package/dist/i18n/locales/ru.d.ts +139 -98
- package/dist/i18n/locales/ru.js +141 -107
- package/dist/i18n/locales/sq.d.ts +139 -98
- package/dist/i18n/locales/sq.js +141 -107
- package/dist/i18n/locales/sv.d.ts +139 -98
- package/dist/i18n/locales/sv.js +141 -107
- package/dist/i18n/locales/tr.d.ts +139 -98
- package/dist/i18n/locales/tr.js +141 -107
- package/dist/i18n/locales/zh.d.ts +139 -98
- package/dist/i18n/locales/zh.js +141 -107
- package/dist/index.js +710 -662
- package/dist/locales/ar.json +141 -100
- package/dist/locales/de.json +141 -100
- package/dist/locales/el.json +141 -100
- package/dist/locales/en.json +141 -100
- package/dist/locales/es.json +141 -100
- package/dist/locales/fr.json +141 -100
- package/dist/locales/hi.json +141 -100
- package/dist/locales/it.json +141 -100
- package/dist/locales/ja.json +141 -100
- package/dist/locales/nl.json +141 -100
- package/dist/locales/pl.json +141 -100
- package/dist/locales/pt.json +141 -100
- package/dist/locales/ro.json +141 -100
- package/dist/locales/ru.json +141 -100
- package/dist/locales/sq.json +141 -100
- package/dist/locales/sv.json +141 -100
- package/dist/locales/tr.json +141 -100
- package/dist/locales/zh.json +141 -100
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +18 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +7 -1
- package/package.json +13 -5
- package/dist/_chunks/calendar-B6soK1Yb.js +0 -17
- package/dist/_chunks/clipboard-list-S7s-MXQq.js +0 -25
- package/dist/_chunks/list-checks-BUs75d_o.js +0 -18
- package/dist/_chunks/sparkles-CuYXqQLg.js +0 -23
- package/dist/_chunks/subDays-BcYv1Lxi.js +0 -8
- package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts +0 -15
- package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +0 -121
- package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +0 -6
- package/dist/components/anatomy-scheme/index.d.ts +0 -6
- package/dist/components/anatomy-scheme/index.js +0 -17
|
@@ -4,31 +4,31 @@ import { c as j } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as M } from "react-i18next";
|
|
5
5
|
import { C } from "./card-DPmk26CL.js";
|
|
6
6
|
import { B as ye } from "./badge-DCOqV9mI.js";
|
|
7
|
-
import { a as Z } from "./key-value-pair-
|
|
7
|
+
import { a as Z } from "./key-value-pair-Byyyc_9J.js";
|
|
8
8
|
import { T as xe } from "./timestamp-BV2lC-wV.js";
|
|
9
9
|
import { I as S } from "./icon-button-LqoiKcUN.js";
|
|
10
|
-
import { P as U } from "./pencil-
|
|
11
|
-
import { c as
|
|
12
|
-
import { T as ae } from "./trash-2-
|
|
13
|
-
import { C as Ne } from "./circle-
|
|
10
|
+
import { P as U } from "./pencil-B1sKKyuT.js";
|
|
11
|
+
import { c as D } from "./createLucideIcon-DhHxpK9K.js";
|
|
12
|
+
import { T as ae } from "./trash-2-uumy3fy1.js";
|
|
13
|
+
import { C as Ne } from "./circle-j7oZoouK.js";
|
|
14
14
|
import { u as Ce } from "./registry-DvAUVLHh.js";
|
|
15
|
-
import { A as $ } from "./alert-
|
|
15
|
+
import { A as $ } from "./alert-KJbsPYkI.js";
|
|
16
16
|
import { B as _e } from "./button-DD_0Xdmr.js";
|
|
17
|
-
import { D as N } from "./dropdown-menu-
|
|
17
|
+
import { D as N } from "./dropdown-menu-DU-Hrf33.js";
|
|
18
18
|
import { E } from "./empty-state-BLy7tigq.js";
|
|
19
|
-
import { P as ne } from "./plus-
|
|
20
|
-
import { G as ie } from "./globe-
|
|
21
|
-
import { U as de } from "./user-cog-
|
|
22
|
-
import { M as le } from "./message-circle-
|
|
23
|
-
import { S as ce } from "./square-check-big-
|
|
24
|
-
import { M as ue } from "./mail-
|
|
25
|
-
import { C as fe } from "./clock-
|
|
26
|
-
import { C as Se } from "./chevron-up-
|
|
27
|
-
import { C as Me } from "./chevron-down-
|
|
28
|
-
import {
|
|
29
|
-
import { C as Ae } from "./check-
|
|
19
|
+
import { P as ne } from "./plus-DzMQ_c6b.js";
|
|
20
|
+
import { G as ie } from "./globe-sHBW1JN5.js";
|
|
21
|
+
import { U as de } from "./user-cog-BTn98Arm.js";
|
|
22
|
+
import { M as le } from "./message-circle-Bepl9JT5.js";
|
|
23
|
+
import { S as ce } from "./square-check-big-dj0o8yA3.js";
|
|
24
|
+
import { M as ue } from "./mail-BqXVF2zH.js";
|
|
25
|
+
import { C as fe } from "./clock-Drd4Wtis.js";
|
|
26
|
+
import { C as Se } from "./chevron-up-umRGgtJA.js";
|
|
27
|
+
import { C as Me } from "./chevron-down-DWE7GSq9.js";
|
|
28
|
+
import { C as ze } from "./clipboard-check-BeAGxDVT.js";
|
|
29
|
+
import { C as Ae } from "./check-DrFSN__t.js";
|
|
30
30
|
/**
|
|
31
|
-
* @license lucide-react v1.
|
|
31
|
+
* @license lucide-react v1.22.0 - ISC
|
|
32
32
|
*
|
|
33
33
|
* This source code is licensed under the ISC license.
|
|
34
34
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -42,9 +42,9 @@ const Ie = [
|
|
|
42
42
|
["path", { d: "M21.818 10.1a10 10 0 0 1 0 3.8", key: "qkgqxc" }],
|
|
43
43
|
["path", { d: "M3.721 6.391a10 10 0 0 1 2.7-2.69", key: "1mcia2" }],
|
|
44
44
|
["path", { d: "M6.391 20.279a10 10 0 0 1-2.69-2.7", key: "1fvljs" }]
|
|
45
|
-
], Te =
|
|
45
|
+
], Te = D("circle-dashed", Ie);
|
|
46
46
|
/**
|
|
47
|
-
* @license lucide-react v1.
|
|
47
|
+
* @license lucide-react v1.22.0 - ISC
|
|
48
48
|
*
|
|
49
49
|
* This source code is licensed under the ISC license.
|
|
50
50
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -53,21 +53,21 @@ const Ee = [
|
|
|
53
53
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
54
54
|
["line", { x1: "10", x2: "10", y1: "15", y2: "9", key: "c1nkhi" }],
|
|
55
55
|
["line", { x1: "14", x2: "14", y1: "15", y2: "9", key: "h65svq" }]
|
|
56
|
-
], je =
|
|
56
|
+
], je = D("circle-pause", Ee);
|
|
57
57
|
/**
|
|
58
|
-
* @license lucide-react v1.
|
|
58
|
+
* @license lucide-react v1.22.0 - ISC
|
|
59
59
|
*
|
|
60
60
|
* This source code is licensed under the ISC license.
|
|
61
61
|
* See the LICENSE file in the root directory of this source tree.
|
|
62
62
|
*/
|
|
63
|
-
const
|
|
63
|
+
const De = [
|
|
64
64
|
["path", { d: "M18.36 6.64A9 9 0 0 1 20.77 15", key: "dxknvb" }],
|
|
65
65
|
["path", { d: "M6.16 6.16a9 9 0 1 0 12.68 12.68", key: "1x7qb5" }],
|
|
66
66
|
["path", { d: "M12 2v4", key: "3427ic" }],
|
|
67
67
|
["path", { d: "m2 2 20 20", key: "1ooewy" }]
|
|
68
|
-
],
|
|
68
|
+
], Le = D("power-off", De);
|
|
69
69
|
/**
|
|
70
|
-
* @license lucide-react v1.
|
|
70
|
+
* @license lucide-react v1.22.0 - ISC
|
|
71
71
|
*
|
|
72
72
|
* This source code is licensed under the ISC license.
|
|
73
73
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -75,9 +75,9 @@ const Le = [
|
|
|
75
75
|
const Ke = [
|
|
76
76
|
["path", { d: "M12 2v10", key: "mnfbl" }],
|
|
77
77
|
["path", { d: "M18.4 6.6a9 9 0 1 1-12.77.04", key: "obofu9" }]
|
|
78
|
-
], Be =
|
|
78
|
+
], Be = D("power", Ke);
|
|
79
79
|
/**
|
|
80
|
-
* @license lucide-react v1.
|
|
80
|
+
* @license lucide-react v1.22.0 - ISC
|
|
81
81
|
*
|
|
82
82
|
* This source code is licensed under the ISC license.
|
|
83
83
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -85,7 +85,7 @@ const Ke = [
|
|
|
85
85
|
const Pe = [
|
|
86
86
|
["rect", { width: "14", height: "20", x: "5", y: "2", rx: "2", ry: "2", key: "1yt0o3" }],
|
|
87
87
|
["path", { d: "M12 18h.01", key: "mhygvu" }]
|
|
88
|
-
], me =
|
|
88
|
+
], me = D("smartphone", Pe), Re = j("ds:relative ds:w-full", {
|
|
89
89
|
variants: {
|
|
90
90
|
density: {
|
|
91
91
|
comfortable: "",
|
|
@@ -118,15 +118,15 @@ function We(e) {
|
|
|
118
118
|
}
|
|
119
119
|
const Fe = H(
|
|
120
120
|
function({
|
|
121
|
-
workflow:
|
|
122
|
-
density:
|
|
121
|
+
workflow: r,
|
|
122
|
+
density: s = "comfortable",
|
|
123
123
|
onView: o,
|
|
124
124
|
onEdit: d,
|
|
125
125
|
onDelete: n,
|
|
126
126
|
onToggleActive: a,
|
|
127
127
|
className: p
|
|
128
128
|
}, m) {
|
|
129
|
-
const { t: c } = M(), i = We(
|
|
129
|
+
const { t: c } = M(), i = We(r.status), l = r.status === "active", v = s === "compact", h = (w) => (k) => {
|
|
130
130
|
k.stopPropagation(), w == null || w();
|
|
131
131
|
}, y = /* @__PURE__ */ t(
|
|
132
132
|
ye,
|
|
@@ -134,7 +134,7 @@ const Fe = H(
|
|
|
134
134
|
variant: i.badgeVariant,
|
|
135
135
|
leading: i.icon,
|
|
136
136
|
withDot: !1,
|
|
137
|
-
children: c(`workflow.status.${
|
|
137
|
+
children: c(`workflow.status.${r.status}`)
|
|
138
138
|
}
|
|
139
139
|
), x = c("workflow.card.activeEnrollments");
|
|
140
140
|
return /* @__PURE__ */ u(
|
|
@@ -142,9 +142,9 @@ const Fe = H(
|
|
|
142
142
|
{
|
|
143
143
|
ref: m,
|
|
144
144
|
variant: "default",
|
|
145
|
-
className: Re({ density:
|
|
145
|
+
className: Re({ density: s, className: p }),
|
|
146
146
|
"data-component": "workflow-card",
|
|
147
|
-
"data-component-id":
|
|
147
|
+
"data-component-id": r.id,
|
|
148
148
|
children: [
|
|
149
149
|
/* @__PURE__ */ t(C.Header, { children: /* @__PURE__ */ u("div", { className: "ds:flex ds:items-start ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
150
150
|
/* @__PURE__ */ u("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
@@ -152,7 +152,7 @@ const Fe = H(
|
|
|
152
152
|
"button",
|
|
153
153
|
{
|
|
154
154
|
type: "button",
|
|
155
|
-
onClick: () => o(
|
|
155
|
+
onClick: () => o(r.id),
|
|
156
156
|
className: [
|
|
157
157
|
"ds:text-start ds:font-inherit ds:text-inherit",
|
|
158
158
|
// Inset overlay that turns the whole card into a
|
|
@@ -167,12 +167,12 @@ const Fe = H(
|
|
|
167
167
|
"ds:focus-visible:after:outline-[color:var(--ring)]",
|
|
168
168
|
"ds:focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]"
|
|
169
169
|
].join(" "),
|
|
170
|
-
children:
|
|
170
|
+
children: r.name
|
|
171
171
|
}
|
|
172
|
-
) :
|
|
172
|
+
) : r.name }),
|
|
173
173
|
v && /* @__PURE__ */ u("span", { className: "ds:flex ds:items-baseline ds:gap-[var(--spacing-xs)] type-body-sm ds:text-[color:var(--muted-foreground)]", children: [
|
|
174
174
|
/* @__PURE__ */ t("span", { children: x }),
|
|
175
|
-
/* @__PURE__ */ t("span", { className: "ds:font-medium ds:text-[color:var(--foreground)]", children:
|
|
175
|
+
/* @__PURE__ */ t("span", { className: "ds:font-medium ds:text-[color:var(--foreground)]", children: r.stats.activeEnrollments })
|
|
176
176
|
] })
|
|
177
177
|
] }),
|
|
178
178
|
/* @__PURE__ */ t("div", { className: "ds:shrink-0", children: y })
|
|
@@ -182,24 +182,24 @@ const Fe = H(
|
|
|
182
182
|
Z,
|
|
183
183
|
{
|
|
184
184
|
label: c("workflow.card.activeEnrollments"),
|
|
185
|
-
value:
|
|
185
|
+
value: r.stats.activeEnrollments
|
|
186
186
|
}
|
|
187
187
|
),
|
|
188
188
|
/* @__PURE__ */ t(
|
|
189
189
|
Z,
|
|
190
190
|
{
|
|
191
191
|
label: c("workflow.card.totalEnrollments"),
|
|
192
|
-
value:
|
|
192
|
+
value: r.stats.totalEnrollments
|
|
193
193
|
}
|
|
194
194
|
)
|
|
195
195
|
] }),
|
|
196
196
|
/* @__PURE__ */ u(C.Footer, { className: "ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
197
197
|
/* @__PURE__ */ u("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)] type-body-sm ds:text-[color:var(--muted-foreground)]", children: [
|
|
198
|
-
/* @__PURE__ */ t("span", { className: "ds:truncate", title:
|
|
199
|
-
|
|
198
|
+
/* @__PURE__ */ t("span", { className: "ds:truncate", title: r.createdBy, children: c("workflow.createdBy", { name: r.createdBy }) }),
|
|
199
|
+
r.updatedAt && /* @__PURE__ */ t(
|
|
200
200
|
xe,
|
|
201
201
|
{
|
|
202
|
-
value:
|
|
202
|
+
value: r.updatedAt,
|
|
203
203
|
format: "absolute",
|
|
204
204
|
shape: "bare",
|
|
205
205
|
absoluteFormat: { dateStyle: "medium" },
|
|
@@ -215,19 +215,19 @@ const Fe = H(
|
|
|
215
215
|
size: "sm",
|
|
216
216
|
intent: "ghost",
|
|
217
217
|
"aria-label": c("workflow.card.edit"),
|
|
218
|
-
onClick: h(() => d(
|
|
218
|
+
onClick: h(() => d(r.id))
|
|
219
219
|
}
|
|
220
220
|
),
|
|
221
221
|
a && /* @__PURE__ */ t(
|
|
222
222
|
S,
|
|
223
223
|
{
|
|
224
|
-
icon: l ? /* @__PURE__ */ t(
|
|
224
|
+
icon: l ? /* @__PURE__ */ t(Le, {}) : /* @__PURE__ */ t(Be, {}),
|
|
225
225
|
size: "sm",
|
|
226
226
|
intent: "ghost",
|
|
227
227
|
"aria-label": c(
|
|
228
228
|
l ? "workflow.card.deactivate" : "workflow.card.activate"
|
|
229
229
|
),
|
|
230
|
-
onClick: h(() => a(
|
|
230
|
+
onClick: h(() => a(r.id, !l))
|
|
231
231
|
}
|
|
232
232
|
),
|
|
233
233
|
n && /* @__PURE__ */ t(
|
|
@@ -237,7 +237,7 @@ const Fe = H(
|
|
|
237
237
|
size: "sm",
|
|
238
238
|
intent: "destructive",
|
|
239
239
|
"aria-label": c("workflow.card.delete"),
|
|
240
|
-
onClick: h(() => n(
|
|
240
|
+
onClick: h(() => n(r.id))
|
|
241
241
|
}
|
|
242
242
|
)
|
|
243
243
|
] })
|
|
@@ -320,8 +320,8 @@ const Ft = {
|
|
|
320
320
|
idempotent: !0,
|
|
321
321
|
descriptionKey: "ui.agent.workflowEditor.actions.gotoStep",
|
|
322
322
|
description: "Focus a node by its opaque id.",
|
|
323
|
-
invoke: (e,
|
|
324
|
-
e.gotoStep(
|
|
323
|
+
invoke: (e, r) => {
|
|
324
|
+
e.gotoStep(r.id);
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
},
|
|
@@ -344,8 +344,8 @@ const Ft = {
|
|
|
344
344
|
};
|
|
345
345
|
function G(e) {
|
|
346
346
|
if (e.nodes.length === 0) return [];
|
|
347
|
-
const
|
|
348
|
-
for (const i of
|
|
347
|
+
const r = e.edges.filter((i) => i.condition == null), s = new Set(r.map((i) => i.to)), d = e.nodes.filter((i) => !s.has(i.id))[0] ?? e.nodes[0], n = new Map(e.nodes.map((i) => [i.id, i])), a = /* @__PURE__ */ new Map();
|
|
348
|
+
for (const i of r) {
|
|
349
349
|
const l = a.get(i.from) ?? [];
|
|
350
350
|
l.push(i), a.set(i.from, l);
|
|
351
351
|
}
|
|
@@ -362,27 +362,27 @@ function G(e) {
|
|
|
362
362
|
p.has(i.id) || m.push(i);
|
|
363
363
|
return m;
|
|
364
364
|
}
|
|
365
|
-
function V(e,
|
|
366
|
-
const o = [...e.nodes,
|
|
367
|
-
if (
|
|
365
|
+
function V(e, r, s) {
|
|
366
|
+
const o = [...e.nodes, s];
|
|
367
|
+
if (r === null) {
|
|
368
368
|
const a = e.nodes[0];
|
|
369
369
|
return a ? {
|
|
370
370
|
nodes: o,
|
|
371
371
|
edges: [
|
|
372
|
-
{ from:
|
|
372
|
+
{ from: s.id, to: a.id, condition: null },
|
|
373
373
|
...e.edges
|
|
374
374
|
]
|
|
375
375
|
} : { nodes: o, edges: [] };
|
|
376
376
|
}
|
|
377
377
|
const d = e.edges.find(
|
|
378
|
-
(a) => a.from ===
|
|
378
|
+
(a) => a.from === r && a.condition == null
|
|
379
379
|
);
|
|
380
380
|
if (!d)
|
|
381
381
|
return {
|
|
382
382
|
nodes: o,
|
|
383
383
|
edges: [
|
|
384
384
|
...e.edges,
|
|
385
|
-
{ from:
|
|
385
|
+
{ from: r, to: s.id, condition: null }
|
|
386
386
|
]
|
|
387
387
|
};
|
|
388
388
|
const n = e.edges.filter((a) => a !== d);
|
|
@@ -390,31 +390,31 @@ function V(e, s, r) {
|
|
|
390
390
|
nodes: o,
|
|
391
391
|
edges: [
|
|
392
392
|
...n,
|
|
393
|
-
{ from:
|
|
394
|
-
{ from:
|
|
393
|
+
{ from: r, to: s.id, condition: null },
|
|
394
|
+
{ from: s.id, to: d.to, condition: null }
|
|
395
395
|
]
|
|
396
396
|
};
|
|
397
397
|
}
|
|
398
|
-
function ee(e,
|
|
399
|
-
const
|
|
400
|
-
(a) => a.to ===
|
|
398
|
+
function ee(e, r) {
|
|
399
|
+
const s = e.edges.find(
|
|
400
|
+
(a) => a.to === r && a.condition == null
|
|
401
401
|
), o = e.edges.find(
|
|
402
|
-
(a) => a.from ===
|
|
403
|
-
), d = e.edges.filter((a) => a.from !==
|
|
402
|
+
(a) => a.from === r && a.condition == null
|
|
403
|
+
), d = e.edges.filter((a) => a.from !== r && a.to !== r), n = s && o ? [...d, { from: s.from, to: o.to, condition: null }] : d;
|
|
404
404
|
return {
|
|
405
|
-
nodes: e.nodes.filter((a) => a.id !==
|
|
405
|
+
nodes: e.nodes.filter((a) => a.id !== r),
|
|
406
406
|
edges: n
|
|
407
407
|
};
|
|
408
408
|
}
|
|
409
|
-
function Oe(e,
|
|
409
|
+
function Oe(e, r, s) {
|
|
410
410
|
var h;
|
|
411
|
-
const o = G(e), d = o.findIndex((y) => y.id ===
|
|
411
|
+
const o = G(e), d = o.findIndex((y) => y.id === r);
|
|
412
412
|
if (d === -1) return e;
|
|
413
|
-
const n =
|
|
413
|
+
const n = s === "up" ? d - 1 : d + 1;
|
|
414
414
|
if (n < 0 || n >= o.length) return e;
|
|
415
415
|
const a = o[d], p = o[n];
|
|
416
416
|
if (!a || !p) return e;
|
|
417
|
-
const m = ee(ee(e, a.id), p.id), c =
|
|
417
|
+
const m = ee(ee(e, a.id), p.id), c = s === "up" ? a : p, i = s === "up" ? p : a, l = ((h = o[Math.min(d, n) - 1]) == null ? void 0 : h.id) ?? null, v = V(m, l, c);
|
|
418
418
|
return V(v, c.id, i);
|
|
419
419
|
}
|
|
420
420
|
const $e = /* @__PURE__ */ new Set([
|
|
@@ -440,7 +440,7 @@ const $e = /* @__PURE__ */ new Set([
|
|
|
440
440
|
function Ve(e) {
|
|
441
441
|
return $e.has(e);
|
|
442
442
|
}
|
|
443
|
-
const
|
|
443
|
+
const L = {
|
|
444
444
|
add_delay: {
|
|
445
445
|
labelKey: "workflow.action.addDelay",
|
|
446
446
|
iconName: "Clock"
|
|
@@ -480,32 +480,32 @@ const D = {
|
|
|
480
480
|
};
|
|
481
481
|
function Y({
|
|
482
482
|
iconName: e,
|
|
483
|
-
className:
|
|
483
|
+
className: r
|
|
484
484
|
}) {
|
|
485
|
-
const
|
|
486
|
-
return /* @__PURE__ */ t(
|
|
485
|
+
const s = He[e];
|
|
486
|
+
return /* @__PURE__ */ t(s, { "aria-hidden": "true", className: r ?? "ds:size-4" });
|
|
487
487
|
}
|
|
488
488
|
const Ue = 40, Ge = 60;
|
|
489
|
-
function te(e,
|
|
490
|
-
return e.length <=
|
|
489
|
+
function te(e, r) {
|
|
490
|
+
return e.length <= r ? e : `${e.slice(0, r - 1)}…`;
|
|
491
491
|
}
|
|
492
|
-
function Ye(e,
|
|
492
|
+
function Ye(e, r) {
|
|
493
493
|
switch (e.kind) {
|
|
494
494
|
case "add_delay": {
|
|
495
|
-
const
|
|
495
|
+
const s = e.days ?? 0, o = r("workflow.delay.summary", { count: s });
|
|
496
496
|
return { text: o, full: o };
|
|
497
497
|
}
|
|
498
498
|
case "send_email": {
|
|
499
|
-
const
|
|
499
|
+
const s = e.subject ?? "", d = `${r("workflow.action.sendEmail")}: ${s}`;
|
|
500
500
|
return { text: te(d, Ue), full: d };
|
|
501
501
|
}
|
|
502
502
|
case "send_sms": {
|
|
503
|
-
const
|
|
504
|
-
return { text: te(
|
|
503
|
+
const s = e.body ?? "";
|
|
504
|
+
return { text: te(s, Ge), full: s };
|
|
505
505
|
}
|
|
506
506
|
case "create_task": {
|
|
507
|
-
const
|
|
508
|
-
return { text:
|
|
507
|
+
const s = e.title ?? "";
|
|
508
|
+
return { text: s, full: s };
|
|
509
509
|
}
|
|
510
510
|
// v2 types — generic fallback (no bespoke summariser yet).
|
|
511
511
|
case "send_whatsapp":
|
|
@@ -515,7 +515,7 @@ function Ye(e, s) {
|
|
|
515
515
|
return null;
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
|
-
const
|
|
518
|
+
const re = [
|
|
519
519
|
"ds:flex ds:flex-col",
|
|
520
520
|
"ds:w-full",
|
|
521
521
|
"ds:text-start",
|
|
@@ -549,13 +549,13 @@ const se = [
|
|
|
549
549
|
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
550
550
|
"ds:rounded-[var(--radius-lg)]"
|
|
551
551
|
].join(" "), Xe = Object.keys(
|
|
552
|
-
|
|
552
|
+
L
|
|
553
553
|
);
|
|
554
|
-
let
|
|
554
|
+
let se = 0;
|
|
555
555
|
function Ze() {
|
|
556
|
-
|
|
556
|
+
se += 1;
|
|
557
557
|
const e = Math.random().toString(36).slice(2, 8);
|
|
558
|
-
return `wf-node-${Date.now()}-${
|
|
558
|
+
return `wf-node-${Date.now()}-${se}-${e}`;
|
|
559
559
|
}
|
|
560
560
|
function et(e) {
|
|
561
561
|
switch (e) {
|
|
@@ -581,22 +581,22 @@ function et(e) {
|
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
583
|
function tt(e = 0) {
|
|
584
|
-
const
|
|
585
|
-
|
|
584
|
+
const r = z(e), s = q((o) => {
|
|
585
|
+
r.current = o;
|
|
586
586
|
}, []);
|
|
587
|
-
return [
|
|
587
|
+
return [r, s];
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function rt({
|
|
590
590
|
node: e,
|
|
591
|
-
position:
|
|
592
|
-
total:
|
|
591
|
+
position: r,
|
|
592
|
+
total: s,
|
|
593
593
|
disabled: o,
|
|
594
594
|
onEdit: d,
|
|
595
595
|
onDelete: n,
|
|
596
596
|
onMove: a,
|
|
597
597
|
registerRef: p
|
|
598
598
|
}) {
|
|
599
|
-
const { t: m } = M(), c =
|
|
599
|
+
const { t: m } = M(), c = L[e.type], i = z(null), [l, v] = tt(0), h = q(
|
|
600
600
|
(g) => {
|
|
601
601
|
var P, R;
|
|
602
602
|
const _ = (P = i.current) == null ? void 0 : P.querySelectorAll(
|
|
@@ -611,13 +611,13 @@ function st({
|
|
|
611
611
|
g.target === g.currentTarget && (g.key === "ArrowRight" || g.key === "ArrowDown") && (g.preventDefault(), h(0));
|
|
612
612
|
}, x = (g) => {
|
|
613
613
|
g.key === "ArrowRight" ? (g.preventDefault(), h(l.current + 1)) : g.key === "ArrowLeft" ? (g.preventDefault(), h(l.current - 1)) : g.key === "Home" ? (g.preventDefault(), h(0)) : g.key === "End" && (g.preventDefault(), h(Number.POSITIVE_INFINITY));
|
|
614
|
-
}, w = Ye(e.settings, m), k = m(c.labelKey), A =
|
|
615
|
-
current:
|
|
616
|
-
total:
|
|
614
|
+
}, w = Ye(e.settings, m), k = m(c.labelKey), A = r > 0, I = r < s - 1, K = m("workflow.editor.position", {
|
|
615
|
+
current: r + 1,
|
|
616
|
+
total: s
|
|
617
617
|
}), T = m("workflow.editor.nodeAriaLabel", {
|
|
618
618
|
type: k,
|
|
619
|
-
current:
|
|
620
|
-
total:
|
|
619
|
+
current: r + 1,
|
|
620
|
+
total: s
|
|
621
621
|
});
|
|
622
622
|
return (
|
|
623
623
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions -- node card is keyboard-actionable via roving tabindex; pipeline keys handled in onKeyDown
|
|
@@ -723,8 +723,8 @@ function st({
|
|
|
723
723
|
}
|
|
724
724
|
function oe({
|
|
725
725
|
availableActions: e,
|
|
726
|
-
onSelect:
|
|
727
|
-
disabled:
|
|
726
|
+
onSelect: r,
|
|
727
|
+
disabled: s,
|
|
728
728
|
label: o,
|
|
729
729
|
compact: d = !0
|
|
730
730
|
}) {
|
|
@@ -734,7 +734,7 @@ function oe({
|
|
|
734
734
|
"button",
|
|
735
735
|
{
|
|
736
736
|
type: "button",
|
|
737
|
-
disabled:
|
|
737
|
+
disabled: s,
|
|
738
738
|
"aria-label": o,
|
|
739
739
|
className: Je,
|
|
740
740
|
children: [
|
|
@@ -746,12 +746,12 @@ function oe({
|
|
|
746
746
|
/* @__PURE__ */ u(N.Content, { align: "start", sideOffset: 6, children: [
|
|
747
747
|
/* @__PURE__ */ t(N.Label, { children: n("workflow.editor.addAction") }),
|
|
748
748
|
e.map((a) => {
|
|
749
|
-
const p =
|
|
749
|
+
const p = L[a];
|
|
750
750
|
return /* @__PURE__ */ t(
|
|
751
751
|
N.Item,
|
|
752
752
|
{
|
|
753
753
|
startIcon: /* @__PURE__ */ t(Y, { iconName: p.iconName }),
|
|
754
|
-
onSelect: () =>
|
|
754
|
+
onSelect: () => r(a),
|
|
755
755
|
children: n(p.labelKey)
|
|
756
756
|
},
|
|
757
757
|
a
|
|
@@ -760,30 +760,30 @@ function oe({
|
|
|
760
760
|
] })
|
|
761
761
|
] });
|
|
762
762
|
}
|
|
763
|
-
function
|
|
763
|
+
function st({ criteria: e, onEdit: r, disabled: s }) {
|
|
764
764
|
const { t: o } = M(), d = (e == null ? void 0 : e.ruleCount) ?? 0, n = d > 0 ? o("workflow.editor.criteriaCount", { count: d }) : o("workflow.editor.noCriteria");
|
|
765
765
|
return /* @__PURE__ */ t(C, { variant: "outlined", children: /* @__PURE__ */ t(C.Header, { className: "ds:pb-[var(--spacing-sm)]", children: /* @__PURE__ */ u("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
766
766
|
/* @__PURE__ */ u("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col", children: [
|
|
767
767
|
/* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:text-[color:var(--foreground)]", children: o("workflow.editor.enrollmentCriteria") }),
|
|
768
768
|
/* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)] ds:text-[color:var(--muted-foreground)] ds:[overflow-wrap:anywhere] ds:break-words", children: (e == null ? void 0 : e.summary) ?? n })
|
|
769
769
|
] }),
|
|
770
|
-
|
|
770
|
+
r ? /* @__PURE__ */ t(
|
|
771
771
|
S,
|
|
772
772
|
{
|
|
773
773
|
icon: /* @__PURE__ */ t(U, {}),
|
|
774
774
|
size: "sm",
|
|
775
775
|
intent: "ghost",
|
|
776
|
-
disabled:
|
|
776
|
+
disabled: s,
|
|
777
777
|
"aria-label": o("workflow.editor.editCriteria"),
|
|
778
|
-
onClick:
|
|
778
|
+
onClick: r
|
|
779
779
|
}
|
|
780
780
|
) : null
|
|
781
781
|
] }) }) });
|
|
782
782
|
}
|
|
783
783
|
const ot = H(
|
|
784
784
|
function({
|
|
785
|
-
graph:
|
|
786
|
-
onChange:
|
|
785
|
+
graph: r,
|
|
786
|
+
onChange: s,
|
|
787
787
|
enrollmentCriteria: o,
|
|
788
788
|
onEditEnrollmentCriteria: d,
|
|
789
789
|
isActive: n = !1,
|
|
@@ -792,11 +792,11 @@ const ot = H(
|
|
|
792
792
|
onDeleteNode: m,
|
|
793
793
|
className: c
|
|
794
794
|
}, i) {
|
|
795
|
-
const { t: l } = M(), v = a ?? Xe, h = F(() => G(
|
|
795
|
+
const { t: l } = M(), v = a ?? Xe, h = F(() => G(r), [r]), y = z(/* @__PURE__ */ new Map()), x = z(null), w = q(
|
|
796
796
|
(f) => {
|
|
797
|
-
n ||
|
|
797
|
+
n || s(f);
|
|
798
798
|
},
|
|
799
|
-
[n,
|
|
799
|
+
[n, s]
|
|
800
800
|
), k = q((f, b) => {
|
|
801
801
|
b ? y.current.set(f, b) : y.current.delete(f);
|
|
802
802
|
}, []), [A, I] = ge(null), K = z(null);
|
|
@@ -827,16 +827,16 @@ const ot = H(
|
|
|
827
827
|
type: b,
|
|
828
828
|
settings: et(b)
|
|
829
829
|
};
|
|
830
|
-
x.current = W.id, w(V(
|
|
830
|
+
x.current = W.id, w(V(r, f, W));
|
|
831
831
|
}, B = (f, b) => {
|
|
832
|
-
n || (x.current = f, w(Oe(
|
|
832
|
+
n || (x.current = f, w(Oe(r, f, b)));
|
|
833
833
|
}, P = (f) => {
|
|
834
834
|
n || !p || p(f);
|
|
835
835
|
}, R = (f) => {
|
|
836
836
|
n || !m || m(f);
|
|
837
837
|
}, J = () => n ? /* @__PURE__ */ t($, { variant: "warning", children: /* @__PURE__ */ t($.Title, { as: "p", children: l("workflow.editor.activeLock") }) }) : null, Q = () => o || d ? /* @__PURE__ */ u(ve, { children: [
|
|
838
838
|
/* @__PURE__ */ t(
|
|
839
|
-
|
|
839
|
+
st,
|
|
840
840
|
{
|
|
841
841
|
criteria: o,
|
|
842
842
|
onEdit: d,
|
|
@@ -849,7 +849,7 @@ const ot = H(
|
|
|
849
849
|
"div",
|
|
850
850
|
{
|
|
851
851
|
ref: T,
|
|
852
|
-
className: [
|
|
852
|
+
className: [re, c].filter(Boolean).join(" "),
|
|
853
853
|
children: [
|
|
854
854
|
J(),
|
|
855
855
|
Q(),
|
|
@@ -914,7 +914,7 @@ const ot = H(
|
|
|
914
914
|
/* @__PURE__ */ u(N.Content, { align: "center", sideOffset: 6, children: [
|
|
915
915
|
/* @__PURE__ */ t(N.Label, { children: l("workflow.editor.addAction") }),
|
|
916
916
|
v.map((f) => {
|
|
917
|
-
const b =
|
|
917
|
+
const b = L[f];
|
|
918
918
|
return /* @__PURE__ */ t(
|
|
919
919
|
N.Item,
|
|
920
920
|
{
|
|
@@ -937,7 +937,7 @@ const ot = H(
|
|
|
937
937
|
{
|
|
938
938
|
ref: T,
|
|
939
939
|
"data-component": "workflow-editor",
|
|
940
|
-
className: [
|
|
940
|
+
className: [re, c].filter(Boolean).join(" "),
|
|
941
941
|
children: [
|
|
942
942
|
J(),
|
|
943
943
|
Q(),
|
|
@@ -959,7 +959,7 @@ const ot = H(
|
|
|
959
959
|
children: h.map((f, b) => /* @__PURE__ */ u("li", { className: "ds:list-none ds:flex ds:flex-col", children: [
|
|
960
960
|
/* @__PURE__ */ t("span", { "aria-hidden": "true", className: O }),
|
|
961
961
|
/* @__PURE__ */ t(
|
|
962
|
-
|
|
962
|
+
rt,
|
|
963
963
|
{
|
|
964
964
|
node: f,
|
|
965
965
|
position: b,
|
|
@@ -1150,14 +1150,14 @@ function it(e) {
|
|
|
1150
1150
|
return;
|
|
1151
1151
|
}
|
|
1152
1152
|
}
|
|
1153
|
-
function dt(e,
|
|
1153
|
+
function dt(e, r) {
|
|
1154
1154
|
if (e !== void 0)
|
|
1155
|
-
return typeof e == "string" ? e :
|
|
1155
|
+
return typeof e == "string" ? e : r(e.key, e.options);
|
|
1156
1156
|
}
|
|
1157
1157
|
const lt = H(
|
|
1158
1158
|
function({
|
|
1159
|
-
graph:
|
|
1160
|
-
activeNodeId:
|
|
1159
|
+
graph: r,
|
|
1160
|
+
activeNodeId: s,
|
|
1161
1161
|
onNodeClick: o,
|
|
1162
1162
|
enrollmentCriteria: d,
|
|
1163
1163
|
orientation: n = "vertical",
|
|
@@ -1166,9 +1166,9 @@ const lt = H(
|
|
|
1166
1166
|
"aria-label": m,
|
|
1167
1167
|
...c
|
|
1168
1168
|
}, i) {
|
|
1169
|
-
const { t: l } = M(), v = F(() => G(
|
|
1170
|
-
() =>
|
|
1171
|
-
[v,
|
|
1169
|
+
const { t: l } = M(), v = F(() => G(r), [r]), h = F(
|
|
1170
|
+
() => s ? v.findIndex((w) => w.id === s) : -1,
|
|
1171
|
+
[v, s]
|
|
1172
1172
|
), y = m ?? l("workflow.map.label", { count: v.length }), x = (w) => h === -1 ? "neutral" : w === h ? "current" : w < h ? "completed" : "pending";
|
|
1173
1173
|
return (
|
|
1174
1174
|
// eslint-disable-next-line jsx-a11y/no-redundant-roles -- Safari strips the implicit list role on <ol> with list-style:none; this guard puts it back in the accessibility tree
|
|
@@ -1215,20 +1215,20 @@ const lt = H(
|
|
|
1215
1215
|
lt.displayName = "WorkflowMap";
|
|
1216
1216
|
function ct({
|
|
1217
1217
|
node: e,
|
|
1218
|
-
state:
|
|
1219
|
-
orientation:
|
|
1218
|
+
state: r,
|
|
1219
|
+
orientation: s,
|
|
1220
1220
|
compact: o,
|
|
1221
1221
|
isLast: d,
|
|
1222
1222
|
onNodeClick: n
|
|
1223
1223
|
}) {
|
|
1224
|
-
const { t: a } = M(), p =
|
|
1224
|
+
const { t: a } = M(), p = L[e.type], m = at[p.iconName], c = a(p.labelKey), i = dt(it(e.settings), a), l = typeof n == "function", v = r === "current", h = r === "completed", y = (k) => {
|
|
1225
1225
|
l && (k.preventDefault(), n == null || n(e.id));
|
|
1226
1226
|
}, x = (k) => {
|
|
1227
1227
|
l && (k.key === "Enter" || k.key === " ") && (k.preventDefault(), n == null || n(e.id));
|
|
1228
|
-
}, w = v ? a("workflow.map.current") : h ? a("workflow.map.completed") :
|
|
1228
|
+
}, w = v ? a("workflow.map.current") : h ? a("workflow.map.completed") : r === "pending" ? a("workflow.map.pending") : null;
|
|
1229
1229
|
return (
|
|
1230
1230
|
// `<li>` has implicit role="listitem"; no explicit role needed.
|
|
1231
|
-
/* @__PURE__ */ u("li", { "data-node-id": e.id, className: pe({ orientation:
|
|
1231
|
+
/* @__PURE__ */ u("li", { "data-node-id": e.id, className: pe({ orientation: s }), children: [
|
|
1232
1232
|
/* @__PURE__ */ u(
|
|
1233
1233
|
"div",
|
|
1234
1234
|
{
|
|
@@ -1246,13 +1246,13 @@ function ct({
|
|
|
1246
1246
|
onClick: l ? y : void 0,
|
|
1247
1247
|
onKeyDown: l ? x : void 0,
|
|
1248
1248
|
className: he({
|
|
1249
|
-
orientation:
|
|
1249
|
+
orientation: s,
|
|
1250
1250
|
compact: o,
|
|
1251
|
-
state:
|
|
1251
|
+
state: r,
|
|
1252
1252
|
interactive: l
|
|
1253
1253
|
}),
|
|
1254
1254
|
"data-node-id": e.id,
|
|
1255
|
-
"data-state":
|
|
1255
|
+
"data-state": r,
|
|
1256
1256
|
children: [
|
|
1257
1257
|
/* @__PURE__ */ t(
|
|
1258
1258
|
"span",
|
|
@@ -1287,7 +1287,7 @@ function ct({
|
|
|
1287
1287
|
"span",
|
|
1288
1288
|
{
|
|
1289
1289
|
"aria-hidden": "true",
|
|
1290
|
-
className: we({ orientation:
|
|
1290
|
+
className: we({ orientation: s, compact: o }),
|
|
1291
1291
|
"data-testid": "workflow-map-connector"
|
|
1292
1292
|
}
|
|
1293
1293
|
)
|
|
@@ -1296,8 +1296,8 @@ function ct({
|
|
|
1296
1296
|
}
|
|
1297
1297
|
function ut({
|
|
1298
1298
|
orientation: e,
|
|
1299
|
-
compact:
|
|
1300
|
-
criteria:
|
|
1299
|
+
compact: r,
|
|
1300
|
+
criteria: s
|
|
1301
1301
|
}) {
|
|
1302
1302
|
const { t: o } = M();
|
|
1303
1303
|
return /* @__PURE__ */ u("li", { className: pe({ orientation: e }), children: [
|
|
@@ -1306,7 +1306,7 @@ function ut({
|
|
|
1306
1306
|
{
|
|
1307
1307
|
className: he({
|
|
1308
1308
|
orientation: e,
|
|
1309
|
-
compact:
|
|
1309
|
+
compact: r,
|
|
1310
1310
|
state: "neutral",
|
|
1311
1311
|
interactive: !1
|
|
1312
1312
|
}),
|
|
@@ -1321,9 +1321,9 @@ function ut({
|
|
|
1321
1321
|
}
|
|
1322
1322
|
),
|
|
1323
1323
|
/* @__PURE__ */ u("span", { className: "ds:flex ds:flex-col ds:min-w-0 ds:flex-1", children: [
|
|
1324
|
-
/* @__PURE__ */ t("span", { className:
|
|
1325
|
-
|
|
1326
|
-
count:
|
|
1324
|
+
/* @__PURE__ */ t("span", { className: r ? "type-meta ds:truncate" : "type-body-sm", children: o("workflow.editor.enrollmentCriteria") }),
|
|
1325
|
+
r ? null : /* @__PURE__ */ t("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: s.summary ?? o("workflow.editor.criteriaCount", {
|
|
1326
|
+
count: s.ruleCount
|
|
1327
1327
|
}) })
|
|
1328
1328
|
] })
|
|
1329
1329
|
]
|
|
@@ -1333,7 +1333,7 @@ function ut({
|
|
|
1333
1333
|
"span",
|
|
1334
1334
|
{
|
|
1335
1335
|
"aria-hidden": "true",
|
|
1336
|
-
className: we({ orientation: e, compact:
|
|
1336
|
+
className: we({ orientation: e, compact: r })
|
|
1337
1337
|
}
|
|
1338
1338
|
)
|
|
1339
1339
|
] });
|
|
@@ -1351,6 +1351,6 @@ export {
|
|
|
1351
1351
|
G as l,
|
|
1352
1352
|
Oe as m,
|
|
1353
1353
|
ee as r,
|
|
1354
|
-
|
|
1354
|
+
L as w
|
|
1355
1355
|
};
|
|
1356
|
-
//# sourceMappingURL=workflow-map-
|
|
1356
|
+
//# sourceMappingURL=workflow-map-qWsgCldq.js.map
|