@alfadocs/ui-kit 1.61.0 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{actions-cell-renderer-CZWGQFKV.js → actions-cell-renderer-BXCpK2_0.js} +3 -3
- package/dist/_chunks/{agenda-card-DauvvKX6.js → agenda-card-DR9gDdKp.js} +2 -2
- package/dist/_chunks/{agenda-tray-DU7O5Z7R.js → agenda-tray-DGB1Zup-.js} +3 -3
- package/dist/_chunks/{ai-credits-notice-MBgQXxsx.js → ai-credits-notice-pK9BOmEz.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-BJHutKLE.js → ai-permission-notice-DpRmZ9Q3.js} +4 -4
- package/dist/_chunks/{ai-prompt-input-Dzos37rf.js → ai-prompt-input-DSGSe4LH.js} +2 -2
- package/dist/_chunks/{alert-BhCstf2h.js → alert-DdDpOi-P.js} +2 -2
- package/dist/_chunks/{alia-sidebar-CU3mVL9J.js → alia-sidebar-qe0quZkB.js} +6 -6
- package/dist/_chunks/{anamnesis-card-VjJOUl-t.js → anamnesis-card-CsUBOG32.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-card-cCj7LPh3.js → anamnesis-summary-card-CMzBLTiN.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-rows-C5F08WT6.js → anamnesis-summary-rows-DFWws7mM.js} +11 -11
- package/dist/_chunks/{antenatal-schedule-timeline-CfNFrej5.js → antenatal-schedule-timeline-DuaAQj1m.js} +2 -2
- package/dist/_chunks/app-frame-DUPEwu4E.js +179 -0
- package/dist/_chunks/app-frame-context-CPszhDDb.js +10 -0
- package/dist/_chunks/{appointment-card-BXQUZlAJ.js → appointment-card-CL32sux-.js} +3 -3
- package/dist/_chunks/{appointment-peek-BvzXHYiD.js → appointment-peek-B5mcDcXt.js} +3 -3
- package/dist/_chunks/{appointment-timeline-r-q97cec.js → appointment-timeline-DaHKV81s.js} +4 -4
- package/dist/_chunks/{appointment-tray-DF_R9ldY.js → appointment-tray-qtpJt8e0.js} +3 -3
- package/dist/_chunks/{audio-recorder-Cssm6jVh.js → audio-recorder-DR-u1qbl.js} +3 -3
- package/dist/_chunks/{auth-form-parts-CravOf0L.js → auth-form-parts-Cmb41LSQ.js} +2 -2
- package/dist/_chunks/{badge-hnBt8o7n.js → badge-BUk4RjTS.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-DMG06b2C.js → balance-badge-cell-F7p_ZKEg.js} +5 -5
- package/dist/_chunks/{bishop-score-DxfkcxiV.js → bishop-score-CaNTrikJ.js} +2 -2
- package/dist/_chunks/{bmi-calculator-B4kgPqt5.js → bmi-calculator-DjmQ04Ch.js} +4 -4
- package/dist/_chunks/{booking-CXaqmdF7.js → booking-CGhOtxad.js} +8 -8
- package/dist/_chunks/{button-group-Cfpyu6pc.js → button-group-DCOJhvm3.js} +3 -3
- package/dist/_chunks/{calendar-DNTVaK6b.js → calendar-DCr65Kt1.js} +3 -3
- package/dist/_chunks/{calendar-workspace-UL5xcpWa.js → calendar-workspace-Dvfl9Vf6.js} +29 -29
- package/dist/_chunks/{care-plan-card-DFQbU_Gd.js → care-plan-card-BU3p5cLr.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-bj784KRk.js → care-plan-entry-card-DPJcP34v.js} +4 -4
- package/dist/_chunks/{care-plan-header-DDhyAfVK.js → care-plan-header-CgFjQLBd.js} +3 -3
- package/dist/_chunks/{carousel.agent-Csn24G1k.js → carousel.agent-BaRsN-8H.js} +2 -2
- package/dist/_chunks/chart-DgYHN8Xq.js +991 -0
- package/dist/_chunks/{chat-input-Ck34Pnmp.js → chat-input-HtTbUUD6.js} +2 -2
- package/dist/_chunks/{chat-message-DU0X3Xnl.js → chat-message-fRLZ95O5.js} +2 -2
- package/dist/_chunks/{checkbox--ndmyokr.js → checkbox-BjDv-r3o.js} +2 -2
- package/dist/_chunks/{checkbox-group-B0oZHNT3.js → checkbox-group-Cw2H5qaq.js} +2 -2
- package/dist/_chunks/{clinical-note-card-L6FVM9Gx.js → clinical-note-card-BgURrgL5.js} +3 -3
- package/dist/_chunks/{code-block-DiC4bg-o.js → code-block-vwEv1jEa.js} +2 -2
- package/dist/_chunks/{connection-status-BAnuwayz.js → connection-status--wYsgreh.js} +3 -3
- package/dist/_chunks/{contact-profile-card-JTRbnbxy.js → contact-profile-card-VTCAmQqj.js} +3 -3
- package/dist/_chunks/control-room-rail-DUerqHeo.js +416 -0
- package/dist/_chunks/{cycle-calculator-BuFi6ZJa.js → cycle-calculator-D-rwX9Pj.js} +2 -2
- package/dist/_chunks/{dashboard-grid-DRnhIlT-.js → dashboard-grid-B2MB7SRS.js} +627 -603
- package/dist/_chunks/{data-table-DAPkhyXO.js → data-table-m7GbLJZy.js} +6 -6
- package/dist/_chunks/{data-table-tabs-2t0cdk0h.js → data-table-tabs-BfrnefV5.js} +3 -3
- package/dist/_chunks/{dependent-selector-DgaAQc-c.js → dependent-selector-DBr1AhLg.js} +3 -3
- package/dist/_chunks/{description-list-CFEw__MT.js → description-list-Q8640NHu.js} +2 -2
- package/dist/_chunks/{dev-bypass-button-dTuUuzsT.js → dev-bypass-button--CPzzRSj.js} +2 -2
- package/dist/_chunks/{document-preview-DYX669jE.js → document-preview-B1dQm292.js} +4 -4
- package/dist/_chunks/{document-scanner-C41n4pNq.js → document-scanner-CVPVLK7z.js} +2 -2
- package/dist/_chunks/{due-date-calculator-yYvX8Ww_.js → due-date-calculator-DTfxFJCM.js} +5 -5
- package/dist/_chunks/{editable-currency-cell-renderer-6LDFAWUE.js → editable-currency-cell-renderer-1ijmzNWh.js} +4 -4
- package/dist/_chunks/{editable-description-D9FsTi8e.js → editable-description-ChGNdYY8.js} +2 -2
- package/dist/_chunks/{editor-overlay-BYkcaLCj.js → editor-overlay-CpVO1-Kk.js} +2 -2
- package/dist/_chunks/{entity-summary-oD_63dlz.js → entity-summary-DXIr5_x2.js} +4 -4
- package/dist/_chunks/{error-summary-BhM8FEkl.js → error-summary-DrUfuKu1.js} +2 -2
- package/dist/_chunks/{face-scheme-C-5V3MsY.js → face-scheme-DAD-mXzM.js} +4 -4
- package/dist/_chunks/{fetal-weight-CHv2winC.js → fetal-weight-DycD_Vqr.js} +2 -2
- package/dist/_chunks/{field-array-dSkD_ePA.js → field-array-BJYc1xSu.js} +2 -2
- package/dist/_chunks/{file-manager-C8bdHsYy.js → file-manager-G0t8MWbE.js} +6 -6
- package/dist/_chunks/{fiscal-code-input-BSWwda0C.js → fiscal-code-input-DwHb2nVW.js} +2 -2
- package/dist/_chunks/{forgot-password-form-CGWV5Q1-.js → forgot-password-form-CgZkEvZy.js} +4 -4
- package/dist/_chunks/{freemium-paywall-DjjVPC-5.js → freemium-paywall-r-z48YaT.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-BLccWS_4.js → gestational-age-calculator-BnCAL5a-.js} +5 -5
- package/dist/_chunks/{hcg-doubling-CnrY2OVu.js → hcg-doubling-DVDiqFyp.js} +2 -2
- package/dist/_chunks/{header-BVHAt7Fi.js → header-_TppWBpK.js} +2 -2
- package/dist/_chunks/{header-settings-C200bKyp.js → header-settings-BSH9Gk0J.js} +3 -3
- package/dist/_chunks/{heatmap-CRMr7VWC.js → heatmap-Bb0-M88T.js} +4 -4
- package/dist/_chunks/{help-me-write-templates-C9T8-DcT.js → help-me-write-templates-DFmqnsAa.js} +4 -4
- package/dist/_chunks/{hover-card-DbTmj-ea.js → hover-card-CTNhQXWS.js} +2 -2
- package/dist/_chunks/{icon-button-dNE6ENLn.js → icon-button-C_1TgRiK.js} +2 -2
- package/dist/_chunks/{icon-button-group-Du8IvZek.js → icon-button-group-NIHji7_y.js} +2 -2
- package/dist/_chunks/{icon-picker-D5NdDbCL.js → icon-picker-Dq4O32K8.js} +2 -2
- package/dist/_chunks/{info-tip-DObdz3w3.js → info-tip-cYszyg6h.js} +2 -2
- package/dist/_chunks/{key-value-pair-BNYHAZwD.js → key-value-pair-BscGwZsJ.js} +2 -2
- package/dist/_chunks/{kit-extensions-DI2nHVNw.js → kit-extensions-RnddkrXn.js} +6 -6
- package/dist/_chunks/{link-cell-renderer-DvhzS6lu.js → link-cell-renderer-dtEYlxi2.js} +6 -6
- package/dist/_chunks/{locale-picker-Bu4YE5b2.js → locale-picker-CeveTnDK.js} +3 -3
- package/dist/_chunks/{login-dev-card-DwWWHclZ.js → login-dev-card-PnADNcI9.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-p6hPgVwy.js → marketplace-app-shell-C-2e4eCD.js} +139 -136
- package/dist/_chunks/{message-card-CvZlo3Fn.js → message-card-A3mJNqfy.js} +2 -2
- package/dist/_chunks/{message-tray-DrS_LOed.js → message-tray-Ft6vSr71.js} +3 -3
- package/dist/_chunks/{multi-select-BT23EnSA.js → multi-select-CMaAQQgb.js} +2 -2
- package/dist/_chunks/{note-attachment-Bt2cddsZ.js → note-attachment-DoVWvjWR.js} +2 -2
- package/dist/_chunks/{note-timeline-CX9nAgAR.js → note-timeline-B7l3t5DZ.js} +2 -2
- package/dist/_chunks/{notes-panel-6TElt7jQ.js → notes-panel-CTmvrqQn.js} +7 -7
- package/dist/_chunks/{notification-card-Qrs52HIA.js → notification-card-c2oX8j3F.js} +2 -2
- package/dist/_chunks/{notification-tray-DRm1z97G.js → notification-tray-BR3seWA7.js} +3 -3
- package/dist/_chunks/{operator-hero-C_Khr5IU.js → operator-hero-3_RG4Dkj.js} +2 -2
- package/dist/_chunks/{optical-prescription-DLIAhJ6f.js → optical-prescription-CxfMsbxi.js} +2 -2
- package/dist/_chunks/{panel-header-D_mTdhUp.js → panel-header-BJkaUwnl.js} +2 -2
- package/dist/_chunks/{panel-subview-CjZgdWwO.js → panel-subview-yP4qIbKS.js} +3 -3
- package/dist/_chunks/{patient-details-BjqKBY2x.js → patient-details-BNDS69Zx.js} +4 -4
- package/dist/_chunks/{patient-field-row-BiI0BPPK.js → patient-field-row-BLBi-PjO.js} +7 -7
- package/dist/_chunks/{patient-search-B5R7FyFO.js → patient-search-DOnDUVsl.js} +2 -2
- package/dist/_chunks/{patient-summary-card-BOgnWKRV.js → patient-summary-card-T9umuZJF.js} +8 -8
- package/dist/_chunks/{payment-automation-upsell-39d5ykBi.js → payment-automation-upsell-C8MEu0t6.js} +4 -4
- package/dist/_chunks/{payment-form-v6zZuV1_.js → payment-form-i90DUuNK.js} +2 -2
- package/dist/_chunks/{payment-request-card-E3G4aVt6.js → payment-request-card-BmzNMY2a.js} +4 -4
- package/dist/_chunks/{pdf-viewer-CNQxa4tv.js → pdf-viewer-DJ9VN7cu.js} +2 -2
- package/dist/_chunks/{periodontal-chart-BZ1d6S36.js → periodontal-chart-DCcOEYC6.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-BE5hiQnn.js → periodontal-chart-card-CxdjXFb3.js} +3 -3
- package/dist/_chunks/{periodontal-diagnosis-6wybid_W.js → periodontal-diagnosis-B9YmmVmM.js} +5 -5
- package/dist/_chunks/{periodontal-risk-chart-CgLwBj5c.js → periodontal-risk-chart-CPy7CNFe.js} +2 -2
- package/dist/_chunks/{permission-matrix-DuTkUHxe.js → permission-matrix-BoQjENGV.js} +3 -3
- package/dist/_chunks/{popover-DQr_tljb.js → popover-4ZVtH_At.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-DPbvYfCs.js → practice-profile-hero-Dfc0F60y.js} +2 -2
- package/dist/_chunks/{practice-results-Cktx7KaC.js → practice-results-B8L9ZmtR.js} +4 -4
- package/dist/_chunks/{pregnancy-dating-26fcvhAx.js → pregnancy-dating-D2XTELiw.js} +5 -5
- package/dist/_chunks/{pregnancy-weight-gain-D8q1IUCT.js → pregnancy-weight-gain-BVvyL-j1.js} +4 -4
- package/dist/_chunks/{privacy-lock-BpVgSgMb.js → privacy-lock-CEYJ8ehu.js} +2 -2
- package/dist/_chunks/{privacy-mask-BfMC57ST.js → privacy-mask-Ch7743uk.js} +2 -2
- package/dist/_chunks/{product-hub-panel-CH4B49ij.js → product-hub-panel-D-UELdo0.js} +2 -2
- package/dist/_chunks/{public-header.agent-BHTDKMsw.js → public-header.agent-DXRA7ebK.js} +3 -3
- package/dist/_chunks/{radio-BBbMdbE_.js → radio-BZQs6_36.js} +2 -2
- package/dist/_chunks/{radio-group-DicxWJXP.js → radio-group-ChIKyeSJ.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-DR0gOeSc.js → radiograph-panel.agent-DDNUo4Ul.js} +4 -4
- package/dist/_chunks/{registration-form-B8IeB9kd.js → registration-form-BQyT_kBX.js} +5 -5
- package/dist/_chunks/{resource-chip-DQeCJzJf.js → resource-chip-DB5jDwUO.js} +2 -2
- package/dist/_chunks/{reviews-panel-CHzDqerd.js → reviews-panel-AvsVgtJu.js} +3 -3
- package/dist/_chunks/{rich-text-editor-BRuTo2hm.js → rich-text-editor-M2gT_E7f.js} +9 -9
- package/dist/_chunks/{sheet-CqvPYNLn.js → sheet-D2PfJl8n.js} +2 -2
- package/dist/_chunks/{sidebar-C9Zof0z1.js → sidebar-BS24EnYd.js} +2 -2
- package/dist/_chunks/{sign-document-D4iHS_Ug.js → sign-document-CY7xTXbm.js} +2 -2
- package/dist/_chunks/{signature-request-BH7yKI01.js → signature-request-BMCHy2ZO.js} +5 -5
- package/dist/_chunks/{signature-status-chip-DP3qRijv.js → signature-status-chip-pIoQjvH8.js} +3 -3
- package/dist/_chunks/{signed-out-frame-eaOWHpDr.js → signed-out-frame-D5DzqATh.js} +3 -3
- package/dist/_chunks/{slot-grid-DELa2Nwz.js → slot-grid-dj5f6R2w.js} +2 -2
- package/dist/_chunks/{stat-DmjGfXND.js → stat-D2PNJujA.js} +2 -2
- package/dist/_chunks/{streaming-text-bPDoG7Y3.js → streaming-text-zFViGexf.js} +2 -2
- package/dist/_chunks/{tab-bar-5GppbMGc.js → tab-bar-BEODTG6k.js} +2 -2
- package/dist/_chunks/{tag-CS5cXpfx.js → tag-DOZGz0fT.js} +2 -2
- package/dist/_chunks/{task-card-zaTU1rQa.js → task-card-BS7Uqevr.js} +2 -2
- package/dist/_chunks/{task-editor-CgGcg-2c.js → task-editor-DoiOzNiC.js} +9 -9
- package/dist/_chunks/{task-tray-DGMwogWu.js → task-tray-eQU4KJcA.js} +3 -3
- package/dist/_chunks/{tasks-panel-xGtiEdcj.js → tasks-panel-8nLwBw6P.js} +7 -7
- package/dist/_chunks/{theme-toggle-_cfYEK73.js → theme-toggle-Ctb77x6O.js} +3 -3
- package/dist/_chunks/{toast-CNUydTgT.js → toast-6T519aLz.js} +2 -2
- package/dist/_chunks/tool-rail-C-03rH2I.js +973 -0
- package/dist/_chunks/tooltip-uEBdD1-5.js +178 -0
- package/dist/_chunks/{tooth-scheme-05DsRMA5.js → tooth-scheme-Dkh4JwzT.js} +2 -2
- package/dist/_chunks/{transcript-panel-CjsiDB1K.js → transcript-panel-XudW5l6l.js} +2 -2
- package/dist/_chunks/{treatment-receipt-BSVOfStA.js → treatment-receipt-BdJ36vNP.js} +3 -3
- package/dist/_chunks/{use-appointment-details-read-BGVthJFx.js → use-appointment-details-read-Gu0ehyxj.js} +16 -16
- package/dist/_chunks/use-edge-resize-CBtem0j2.js +171 -0
- package/dist/_chunks/{voice-control-panel-DyKEaFxt.js → voice-control-panel-C0BfY23Y.js} +4 -4
- package/dist/_chunks/{warning-stack-CAL9xVo1.js → warning-stack-HYWAytZV.js} +3 -3
- package/dist/_chunks/{widget-picker-CkhoG4Rj.js → widget-picker-DlNPGcnu.js} +2 -2
- package/dist/_chunks/{workflow-map-BUYG1oXU.js → workflow-map-C2B2qIr1.js} +5 -5
- package/dist/agent-catalog.json +13 -1
- package/dist/agent-i18n/en.json +10 -0
- package/dist/components/_shared/use-apex-legend-scroll.d.ts +7 -0
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/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/anamnesis-summary-card/index.js +1 -1
- package/dist/components/app-frame/app-frame-context.d.ts +19 -0
- package/dist/components/app-frame/app-frame.d.ts +3 -0
- package/dist/components/app-frame/index.d.ts +2 -0
- package/dist/components/app-frame/index.js +4 -2
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/badge/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/button/index.js +1 -1
- package/dist/components/button-group/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/chart/chart.d.ts +3 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/control-room-context.d.ts +10 -4
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/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/dev-bypass-button/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/fiscal-code-input/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/heatmap/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/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/note-timeline/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/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/panel-header/index.js +1 -1
- package/dist/components/panel-subview/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/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-profile-hero/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/public-header/index.js +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/resource-chip/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- 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-status-chip/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts +7 -2
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/tab-bar/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-editor/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/theme-toggle/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tool-rail/tool-rail.d.ts +7 -0
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-edge-resize.d.ts +5 -1
- package/dist/index.js +778 -776
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +3 -0
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +8 -1
- package/package.json +1 -1
- package/dist/_chunks/app-frame-CqmDh2v5.js +0 -134
- package/dist/_chunks/chart-D7PbNO_M.js +0 -920
- package/dist/_chunks/control-room-rail-BbBEIdws.js +0 -379
- package/dist/_chunks/tool-rail-Blgibz0a.js +0 -816
- package/dist/_chunks/tooltip-Cp-PLePW.js +0 -119
- package/dist/_chunks/use-edge-resize-DHbyQwu8.js +0 -149
|
@@ -2,7 +2,7 @@ import { jsxs as v, jsx as o, Fragment as ge } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as ve, useId as ye, useRef as w, useCallback as W, useImperativeHandle as be, useMemo as xe } from "react";
|
|
3
3
|
import { c as Ie } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as ke } from "react-i18next";
|
|
5
|
-
import { I as q } from "./icon-button-
|
|
5
|
+
import { I as q } from "./icon-button-C_1TgRiK.js";
|
|
6
6
|
import { u as we } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
7
|
import { u as Ce } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
8
|
import { u as Ne } from "./registry-DvAUVLHh.js";
|
|
@@ -366,4 +366,4 @@ export {
|
|
|
366
366
|
Se as P,
|
|
367
367
|
Te as c
|
|
368
368
|
};
|
|
369
|
-
//# sourceMappingURL=chat-input-
|
|
369
|
+
//# sourceMappingURL=chat-input-HtTbUUD6.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as B } from "react-i18next";
|
|
|
5
5
|
import { B as F } from "./button-D-MQxsA_.js";
|
|
6
6
|
import { A as I } from "./avatar-WZY3eGE7.js";
|
|
7
7
|
import { T as A } from "./timestamp-DPLDWdxA.js";
|
|
8
|
-
import { s as M, C as S } from "./code-block-
|
|
8
|
+
import { s as M, C as S } from "./code-block-vwEv1jEa.js";
|
|
9
9
|
import { s as V } from "./safe-image-src-DstKgCo7.js";
|
|
10
10
|
import { R as D } from "./rotate-ccw-BBQnIVTr.js";
|
|
11
11
|
import { C as E } from "./clock-Drd4Wtis.js";
|
|
@@ -236,4 +236,4 @@ J.displayName = "ChatMessage";
|
|
|
236
236
|
export {
|
|
237
237
|
J as C
|
|
238
238
|
};
|
|
239
|
-
//# sourceMappingURL=chat-message-
|
|
239
|
+
//# sourceMappingURL=chat-message-fRLZ95O5.js.map
|
|
@@ -3,7 +3,7 @@ import { createContext as T, useContext as _, forwardRef as M, useId as G, useRe
|
|
|
3
3
|
import * as b from "@radix-ui/react-checkbox";
|
|
4
4
|
import { c as A } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { u as B } from "./use-controllable-state-BiY4xTzM.js";
|
|
6
|
-
import { T as F } from "./tooltip-
|
|
6
|
+
import { T as F } from "./tooltip-uEBdD1-5.js";
|
|
7
7
|
import { u as H } from "./registry-DvAUVLHh.js";
|
|
8
8
|
const W = T(null);
|
|
9
9
|
function q() {
|
|
@@ -223,4 +223,4 @@ export {
|
|
|
223
223
|
W as a,
|
|
224
224
|
q as u
|
|
225
225
|
};
|
|
226
|
-
//# sourceMappingURL=checkbox
|
|
226
|
+
//# sourceMappingURL=checkbox-BjDv-r3o.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as O, useId as Q, useMemo as S, useState as T, useRef as W,
|
|
|
3
3
|
import { c as Z } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as V } from "react-i18next";
|
|
5
5
|
import { u as ee } from "./use-controllable-state-BiY4xTzM.js";
|
|
6
|
-
import { C as M, a as te } from "./checkbox
|
|
6
|
+
import { C as M, a as te } from "./checkbox-BjDv-r3o.js";
|
|
7
7
|
import { u as se } from "./registry-DvAUVLHh.js";
|
|
8
8
|
import { C as ce } from "./circle-alert-rGDZ73Wh.js";
|
|
9
9
|
const re = {
|
|
@@ -210,4 +210,4 @@ oe.displayName = "CheckboxGroup";
|
|
|
210
210
|
export {
|
|
211
211
|
oe as C
|
|
212
212
|
};
|
|
213
|
-
//# sourceMappingURL=checkbox-group-
|
|
213
|
+
//# sourceMappingURL=checkbox-group-Cw2H5qaq.js.map
|
|
@@ -3,11 +3,11 @@ import { forwardRef as T, useId as P, useState as k, useMemo as ee } from "react
|
|
|
3
3
|
import { c as z } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as se } from "react-i18next";
|
|
5
5
|
import { A as ae } from "./avatar-WZY3eGE7.js";
|
|
6
|
-
import { B as b } from "./badge-
|
|
6
|
+
import { B as b } from "./badge-BUk4RjTS.js";
|
|
7
7
|
import { C as S } from "./card-BA4Ig_kn.js";
|
|
8
8
|
import { T as B } from "./timestamp-DPLDWdxA.js";
|
|
9
9
|
import { SafeHtml as ie } from "../safe-html/index.js";
|
|
10
|
-
import { n as te, P as I, F as O, N as re } from "./note-attachment-
|
|
10
|
+
import { n as te, P as I, F as O, N as re } from "./note-attachment-DoVWvjWR.js";
|
|
11
11
|
import { u as de } from "./use-clamp-overflow-DQE2kwZ9.js";
|
|
12
12
|
import { u as ne } from "./registry-DvAUVLHh.js";
|
|
13
13
|
const oe = {
|
|
@@ -337,4 +337,4 @@ export {
|
|
|
337
337
|
ue as C,
|
|
338
338
|
oe as c
|
|
339
339
|
};
|
|
340
|
-
//# sourceMappingURL=clinical-note-card-
|
|
340
|
+
//# sourceMappingURL=clinical-note-card-BgURrgL5.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as m, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as v, useState as g, useCallback as x } from "react";
|
|
3
3
|
import { c as h } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as b } from "react-i18next";
|
|
5
|
-
import { I as y } from "./icon-button-
|
|
5
|
+
import { I as y } from "./icon-button-C_1TgRiK.js";
|
|
6
6
|
import { C } from "./check-DrFSN__t.js";
|
|
7
7
|
import { C as k } from "./copy-vRpqqHtY.js";
|
|
8
8
|
function F(e) {
|
|
@@ -103,4 +103,4 @@ export {
|
|
|
103
103
|
B as C,
|
|
104
104
|
F as s
|
|
105
105
|
};
|
|
106
|
-
//# sourceMappingURL=code-block-
|
|
106
|
+
//# sourceMappingURL=code-block-vwEv1jEa.js.map
|
|
@@ -2,9 +2,9 @@ import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as k, useMemo as B } from "react";
|
|
3
3
|
import { useTranslation as A } from "react-i18next";
|
|
4
4
|
import { C as a } from "./card-BA4Ig_kn.js";
|
|
5
|
-
import { B as C } from "./badge-
|
|
5
|
+
import { B as C } from "./badge-BUk4RjTS.js";
|
|
6
6
|
import { B as u } from "./button-D-MQxsA_.js";
|
|
7
|
-
import { D as d } from "./description-list-
|
|
7
|
+
import { D as d } from "./description-list-Q8640NHu.js";
|
|
8
8
|
import { u as N } from "./registry-DvAUVLHh.js";
|
|
9
9
|
const w = {
|
|
10
10
|
id: "connection-status",
|
|
@@ -105,4 +105,4 @@ export {
|
|
|
105
105
|
K as C,
|
|
106
106
|
w as c
|
|
107
107
|
};
|
|
108
|
-
//# sourceMappingURL=connection-status
|
|
108
|
+
//# sourceMappingURL=connection-status--wYsgreh.js.map
|
|
@@ -2,9 +2,9 @@ import { jsxs as f, jsx as e, Fragment as T } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as le, useId as se, useMemo as ce } from "react";
|
|
3
3
|
import { c as de } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as pe } from "react-i18next";
|
|
5
|
-
import { B as P } from "./badge-
|
|
5
|
+
import { B as P } from "./badge-BUk4RjTS.js";
|
|
6
6
|
import { C as F } from "./card-BA4Ig_kn.js";
|
|
7
|
-
import { K as fe, a as ue } from "./key-value-pair-
|
|
7
|
+
import { K as fe, a as ue } from "./key-value-pair-BscGwZsJ.js";
|
|
8
8
|
import { L as d } from "./link-gRw3NtOt.js";
|
|
9
9
|
import { b as me } from "./format-price-BKle6Xwt.js";
|
|
10
10
|
import { u as he } from "./registry-DvAUVLHh.js";
|
|
@@ -315,4 +315,4 @@ export {
|
|
|
315
315
|
ke as b,
|
|
316
316
|
ge as c
|
|
317
317
|
};
|
|
318
|
-
//# sourceMappingURL=contact-profile-card-
|
|
318
|
+
//# sourceMappingURL=contact-profile-card-VTCAmQqj.js.map
|
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
import { jsx as M, jsxs as P, Fragment as ho } from "react/jsx-runtime";
|
|
2
|
+
import { useState as D, useCallback as R, useMemo as x, useRef as O, useEffect as oo, useContext as N, useId as yo, createContext as Co, forwardRef as wo } from "react";
|
|
3
|
+
import { useTranslation as Ao } from "react-i18next";
|
|
4
|
+
import { I as F } from "./icon-button-C_1TgRiK.js";
|
|
5
|
+
import { a as Mo } from "./panel-header-BJkaUwnl.js";
|
|
6
|
+
import { T as xo } from "./tool-rail-C-03rH2I.js";
|
|
7
|
+
import { u as W } from "./use-persistent-state-nZwZAnE9.js";
|
|
8
|
+
import { S as ko } from "./star-Bf9L2Uot.js";
|
|
9
|
+
import { X as So } from "./x-B5YnXwCz.js";
|
|
10
|
+
const Vo = {
|
|
11
|
+
id: "control-room-rail",
|
|
12
|
+
capabilities: ["open", "close", "select_single"],
|
|
13
|
+
state: {
|
|
14
|
+
activeToolId: {
|
|
15
|
+
type: "string | null",
|
|
16
|
+
descriptionKey: "ui.toolRail.agent.state.activeToolId",
|
|
17
|
+
description: "Id of the tool whose panel is currently open, or null when the rail is collapsed to its strip. No panel content is ever exposed.",
|
|
18
|
+
read: (e) => e.getActiveToolId()
|
|
19
|
+
},
|
|
20
|
+
panelMode: {
|
|
21
|
+
type: "'docked' | 'overlay' | 'full-screen'",
|
|
22
|
+
descriptionKey: "ui.agent.controlRoomRail.state.panelMode",
|
|
23
|
+
description: "How an open panel shows: docked beside the content, over it because the frame keeps a minimum width for main, or full screen on a phone.",
|
|
24
|
+
read: (e) => e.getPanelMode()
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
actions: {
|
|
28
|
+
open: {
|
|
29
|
+
// Pure ephemeral panel state (open) — no data loss, no external effect.
|
|
30
|
+
safety: "read",
|
|
31
|
+
argsType: "{ id: string }",
|
|
32
|
+
argsSchema: {
|
|
33
|
+
type: "object",
|
|
34
|
+
properties: { id: { type: "string" } },
|
|
35
|
+
required: ["id"]
|
|
36
|
+
},
|
|
37
|
+
idempotent: !0,
|
|
38
|
+
descriptionKey: "ui.toolRail.agent.actions.open",
|
|
39
|
+
description: "Open the given tool's panel.",
|
|
40
|
+
examples: [{ args: { id: "inbox" }, note: "Open the inbox tool panel." }],
|
|
41
|
+
invoke: (e, r) => {
|
|
42
|
+
e.open(r.id);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
close: {
|
|
46
|
+
safety: "read",
|
|
47
|
+
idempotent: !0,
|
|
48
|
+
descriptionKey: "ui.toolRail.agent.actions.close",
|
|
49
|
+
description: "Collapse the rail to its strip (no active tool).",
|
|
50
|
+
invoke: (e) => {
|
|
51
|
+
e.close();
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
select_tool: {
|
|
55
|
+
safety: "read",
|
|
56
|
+
argsType: "{ id: string | null }",
|
|
57
|
+
argsSchema: {
|
|
58
|
+
type: "object",
|
|
59
|
+
properties: { id: { type: ["string", "null"] } },
|
|
60
|
+
required: ["id"]
|
|
61
|
+
},
|
|
62
|
+
idempotent: !0,
|
|
63
|
+
descriptionKey: "ui.toolRail.agent.actions.selectTool",
|
|
64
|
+
description: "Set the active tool by id (opens its panel), or pass null to collapse.",
|
|
65
|
+
invoke: (e, r) => {
|
|
66
|
+
e.setActiveTool(r.id);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
domHooks: {
|
|
71
|
+
root: {
|
|
72
|
+
attr: "data-component",
|
|
73
|
+
value: "control-room-rail",
|
|
74
|
+
description: "Marks the ControlRoomRail wrapper."
|
|
75
|
+
},
|
|
76
|
+
instanceId: {
|
|
77
|
+
attr: "data-component-id",
|
|
78
|
+
sourceProp: "id",
|
|
79
|
+
description: "Sourced from the id prop. Required to address a specific rail from the agent."
|
|
80
|
+
},
|
|
81
|
+
item: {
|
|
82
|
+
attr: "data-tool-id",
|
|
83
|
+
description: "Stable tool id emitted on each strip IconButton. The active icon also carries data-active set to its id."
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}, jo = 1e3, _ = Co(null);
|
|
87
|
+
function Xo({
|
|
88
|
+
globalTools: e = [],
|
|
89
|
+
children: r
|
|
90
|
+
}) {
|
|
91
|
+
const [u, n] = D(
|
|
92
|
+
() => /* @__PURE__ */ new Map()
|
|
93
|
+
), f = R(
|
|
94
|
+
(l, d) => {
|
|
95
|
+
n((m) => {
|
|
96
|
+
const b = new Map(m);
|
|
97
|
+
return b.set(l, d), b;
|
|
98
|
+
});
|
|
99
|
+
},
|
|
100
|
+
[]
|
|
101
|
+
), v = R((l) => {
|
|
102
|
+
n((d) => {
|
|
103
|
+
if (!d.has(l)) return d;
|
|
104
|
+
const m = new Map(d);
|
|
105
|
+
return m.delete(l), m;
|
|
106
|
+
});
|
|
107
|
+
}, []), c = x(
|
|
108
|
+
() => Array.from(u.values()).flat(),
|
|
109
|
+
[u]
|
|
110
|
+
), p = O(null), i = O(null), a = R(() => {
|
|
111
|
+
i.current && clearTimeout(i.current.timer), i.current = null;
|
|
112
|
+
}, []), y = R(
|
|
113
|
+
(l, d = () => !0) => {
|
|
114
|
+
if (l) {
|
|
115
|
+
p.current = { handle: l, hasTool: d };
|
|
116
|
+
const m = i.current;
|
|
117
|
+
m && d(m.id) && (a(), l.setActiveTool(m.id));
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
p.current = null, queueMicrotask(() => {
|
|
121
|
+
p.current || a();
|
|
122
|
+
});
|
|
123
|
+
},
|
|
124
|
+
[a]
|
|
125
|
+
);
|
|
126
|
+
oo(() => a, [a]);
|
|
127
|
+
const T = R(
|
|
128
|
+
(l) => {
|
|
129
|
+
a();
|
|
130
|
+
const d = p.current;
|
|
131
|
+
if (d && d.hasTool(l)) {
|
|
132
|
+
d.handle.setActiveTool(l);
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
i.current = {
|
|
136
|
+
id: l,
|
|
137
|
+
timer: setTimeout(a, jo)
|
|
138
|
+
};
|
|
139
|
+
},
|
|
140
|
+
[a]
|
|
141
|
+
), j = R(() => {
|
|
142
|
+
var l;
|
|
143
|
+
a(), (l = p.current) == null || l.handle.setActiveTool(null);
|
|
144
|
+
}, [a]), k = x(
|
|
145
|
+
() => ({
|
|
146
|
+
globalTools: e,
|
|
147
|
+
contextualTools: c,
|
|
148
|
+
registerContextualTools: f,
|
|
149
|
+
unregisterContextualTools: v,
|
|
150
|
+
registerRail: y,
|
|
151
|
+
openTool: T,
|
|
152
|
+
closeTool: j
|
|
153
|
+
}),
|
|
154
|
+
[
|
|
155
|
+
e,
|
|
156
|
+
c,
|
|
157
|
+
f,
|
|
158
|
+
v,
|
|
159
|
+
y,
|
|
160
|
+
T,
|
|
161
|
+
j
|
|
162
|
+
]
|
|
163
|
+
);
|
|
164
|
+
return /* @__PURE__ */ M(_.Provider, { value: k, children: r });
|
|
165
|
+
}
|
|
166
|
+
function $o(e) {
|
|
167
|
+
const r = N(_), u = r == null ? void 0 : r.registerContextualTools, n = r == null ? void 0 : r.unregisterContextualTools, f = yo();
|
|
168
|
+
oo(() => {
|
|
169
|
+
if (!(!u || !n))
|
|
170
|
+
return u(f, e), () => n(f);
|
|
171
|
+
}, [u, n, f, e]);
|
|
172
|
+
}
|
|
173
|
+
function Eo() {
|
|
174
|
+
const e = N(_);
|
|
175
|
+
return x(() => {
|
|
176
|
+
if (!e) return [];
|
|
177
|
+
const r = e.contextualTools.map((n) => ({
|
|
178
|
+
...n,
|
|
179
|
+
scope: "contextual"
|
|
180
|
+
})), u = e.globalTools.map((n) => ({
|
|
181
|
+
...n,
|
|
182
|
+
scope: "global"
|
|
183
|
+
}));
|
|
184
|
+
return [...r, ...u];
|
|
185
|
+
}, [e]);
|
|
186
|
+
}
|
|
187
|
+
function Go() {
|
|
188
|
+
const e = N(_), r = R(() => {
|
|
189
|
+
}, []);
|
|
190
|
+
return {
|
|
191
|
+
openTool: (e == null ? void 0 : e.openTool) ?? r,
|
|
192
|
+
closeTool: (e == null ? void 0 : e.closeTool) ?? r
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
function Oo() {
|
|
196
|
+
const e = N(_), r = R(() => {
|
|
197
|
+
}, []);
|
|
198
|
+
return (e == null ? void 0 : e.registerRail) ?? r;
|
|
199
|
+
}
|
|
200
|
+
function _o(e, r, u, n) {
|
|
201
|
+
const f = r.includes(e), v = u.includes(e);
|
|
202
|
+
if (!f && v) return { toolId: e, action: "pin" };
|
|
203
|
+
if (f && !v)
|
|
204
|
+
return n != null && n.includes(e) ? void 0 : { toolId: e, action: "unpin" };
|
|
205
|
+
const c = (y) => n != null && n.length ? [...n, ...y.filter((T) => !n.includes(T))] : y, p = c(r), i = c(u);
|
|
206
|
+
return p.length !== i.length || p.some((y, T) => i[T] !== y) ? { toolId: e, action: "reorder" } : void 0;
|
|
207
|
+
}
|
|
208
|
+
function I(e, r, u) {
|
|
209
|
+
const n = new Set(u), f = [], v = /* @__PURE__ */ new Map();
|
|
210
|
+
let c = null;
|
|
211
|
+
for (const i of e)
|
|
212
|
+
r(i) ? n.has(i) && (c = i) : c === null ? f.push(i) : v.set(c, [...v.get(c) ?? [], i]);
|
|
213
|
+
const p = [
|
|
214
|
+
...f,
|
|
215
|
+
...u.flatMap((i) => [i, ...v.get(i) ?? []])
|
|
216
|
+
];
|
|
217
|
+
return Array.from(new Set(p));
|
|
218
|
+
}
|
|
219
|
+
const Jo = wo(function({
|
|
220
|
+
tools: r,
|
|
221
|
+
railLabel: u,
|
|
222
|
+
reorderable: n = !0,
|
|
223
|
+
favoriteIds: f,
|
|
224
|
+
defaultFavoriteIds: v,
|
|
225
|
+
pinnedFavoriteIds: c,
|
|
226
|
+
onFavoriteIdsChange: p,
|
|
227
|
+
persistFavoritesKey: i = "ui.controlRoom.favorites",
|
|
228
|
+
activeToolId: a,
|
|
229
|
+
defaultActiveToolId: y = null,
|
|
230
|
+
onActiveToolChange: T,
|
|
231
|
+
panelWidth: j,
|
|
232
|
+
onPanelWidthChange: k,
|
|
233
|
+
persistPanelWidthKey: l,
|
|
234
|
+
...d
|
|
235
|
+
}, m) {
|
|
236
|
+
const { t: b } = Ao("ui"), [eo, to] = D(
|
|
237
|
+
a ?? y ?? null
|
|
238
|
+
), K = a !== void 0 ? a : eo, no = R(
|
|
239
|
+
(o) => {
|
|
240
|
+
a === void 0 && to(o), T == null || T(o);
|
|
241
|
+
},
|
|
242
|
+
[a, T]
|
|
243
|
+
), ro = Eo(), S = r ?? ro, z = f !== void 0, [so, lo] = W(
|
|
244
|
+
i,
|
|
245
|
+
() => v ?? S.filter((o) => o.scope === "global").map((o) => o.id),
|
|
246
|
+
{ disabled: z }
|
|
247
|
+
), U = z ? f : so, V = x(() => c != null && c.length ? [
|
|
248
|
+
...c,
|
|
249
|
+
...U.filter((o) => !c.includes(o))
|
|
250
|
+
] : U, [c, U]), q = j !== void 0, [io, Q] = W(l ?? "ui.controlRoom.panelWidth.unused", null, {
|
|
251
|
+
disabled: q || !l
|
|
252
|
+
}), co = q ? j : l ? io : void 0, ao = R(
|
|
253
|
+
(o) => {
|
|
254
|
+
!q && l && Q(o), k == null || k(o);
|
|
255
|
+
},
|
|
256
|
+
[
|
|
257
|
+
q,
|
|
258
|
+
l,
|
|
259
|
+
Q,
|
|
260
|
+
k
|
|
261
|
+
]
|
|
262
|
+
), h = x(() => {
|
|
263
|
+
const o = /* @__PURE__ */ new Map();
|
|
264
|
+
for (const s of S) o.set(s.id, s);
|
|
265
|
+
return o;
|
|
266
|
+
}, [S]), E = x(
|
|
267
|
+
() => new Set(V.filter((o) => h.has(o))),
|
|
268
|
+
[V, h]
|
|
269
|
+
), X = (o, s) => {
|
|
270
|
+
const t = (w) => h.has(w), g = V.filter(t), C = s(g);
|
|
271
|
+
z || lo(
|
|
272
|
+
(w) => I(w, t, s(w.filter(t)))
|
|
273
|
+
), p == null || p(
|
|
274
|
+
I(V, t, C),
|
|
275
|
+
_o(o, g, C, c)
|
|
276
|
+
);
|
|
277
|
+
}, $ = x(() => {
|
|
278
|
+
if (!n) return S;
|
|
279
|
+
const o = V.filter((t) => h.has(t)).map((t) => ({
|
|
280
|
+
...h.get(t),
|
|
281
|
+
scope: "global",
|
|
282
|
+
reorderable: !0
|
|
283
|
+
})), s = S.filter((t) => !E.has(t.id)).map((t) => ({
|
|
284
|
+
...t,
|
|
285
|
+
scope: "contextual",
|
|
286
|
+
reorderable: !0
|
|
287
|
+
}));
|
|
288
|
+
return [...o, ...s];
|
|
289
|
+
}, [n, S, V, h, E]), [uo, fo] = D(""), B = O(!1), po = (o, s) => {
|
|
290
|
+
const t = s ? b("controlRoom.pinnedAnnounce", {
|
|
291
|
+
tool: o,
|
|
292
|
+
defaultValue: "Pinned {{tool}} to favourites"
|
|
293
|
+
}) : b("controlRoom.unpinnedAnnounce", {
|
|
294
|
+
tool: o,
|
|
295
|
+
defaultValue: "Removed {{tool}} from favourites"
|
|
296
|
+
});
|
|
297
|
+
B.current = !B.current, fo(B.current ? t : `${t}`);
|
|
298
|
+
}, mo = (o) => {
|
|
299
|
+
var s;
|
|
300
|
+
po(((s = h.get(o)) == null ? void 0 : s.label) ?? o, !E.has(o)), X(
|
|
301
|
+
o,
|
|
302
|
+
(t) => t.includes(o) ? t.filter((g) => g !== o) : [...t, o]
|
|
303
|
+
);
|
|
304
|
+
}, go = (o, s) => {
|
|
305
|
+
var g;
|
|
306
|
+
const t = (g = $[o]) == null ? void 0 : g.id;
|
|
307
|
+
t !== void 0 && X(t, (C) => {
|
|
308
|
+
const w = C.filter((A) => h.has(A)), H = w.length;
|
|
309
|
+
if (o < H) {
|
|
310
|
+
if (s >= H) return w.filter((bo) => bo !== t);
|
|
311
|
+
const A = w.slice();
|
|
312
|
+
return A.splice(o, 1), A.splice(s, 0, t), A;
|
|
313
|
+
}
|
|
314
|
+
if (s <= H) {
|
|
315
|
+
const A = w.slice();
|
|
316
|
+
return A.splice(Math.min(s, H), 0, t), A;
|
|
317
|
+
}
|
|
318
|
+
return C;
|
|
319
|
+
});
|
|
320
|
+
}, Ro = ({
|
|
321
|
+
tool: o,
|
|
322
|
+
from: s,
|
|
323
|
+
to: t
|
|
324
|
+
}) => {
|
|
325
|
+
const g = E.size, C = s < g;
|
|
326
|
+
return C && t >= g ? b("controlRoom.unpinnedAnnounce", {
|
|
327
|
+
tool: o.label,
|
|
328
|
+
defaultValue: "Removed {{tool}} from favourites"
|
|
329
|
+
}) : !C && t <= g ? b("controlRoom.pinnedAnnounce", {
|
|
330
|
+
tool: o.label,
|
|
331
|
+
defaultValue: "Pinned {{tool}} to favourites"
|
|
332
|
+
}) : C && t < g ? b("controlRoom.reorderAnnounce", {
|
|
333
|
+
tool: o.label,
|
|
334
|
+
to: t + 1,
|
|
335
|
+
total: g,
|
|
336
|
+
defaultValue: "{{tool}} moved to position {{to}} of {{total}}"
|
|
337
|
+
}) : "";
|
|
338
|
+
}, G = O(null), J = Oo(), Y = O(h);
|
|
339
|
+
Y.current = h;
|
|
340
|
+
const Z = R((o) => {
|
|
341
|
+
const s = Y.current.get(o);
|
|
342
|
+
return s !== void 0 && !s.disabled;
|
|
343
|
+
}, []), vo = R(
|
|
344
|
+
(o) => {
|
|
345
|
+
G.current = o, J(o, Z), typeof m == "function" ? m(o) : m && (m.current = o);
|
|
346
|
+
},
|
|
347
|
+
[J, Z, m]
|
|
348
|
+
), L = K != null ? h.get(K) ?? null : null, To = L ? /* @__PURE__ */ P(ho, { children: [
|
|
349
|
+
n ? (() => {
|
|
350
|
+
const o = E.has(L.id);
|
|
351
|
+
return /* @__PURE__ */ M(
|
|
352
|
+
F,
|
|
353
|
+
{
|
|
354
|
+
icon: /* @__PURE__ */ M(
|
|
355
|
+
ko,
|
|
356
|
+
{
|
|
357
|
+
"aria-hidden": "true",
|
|
358
|
+
fill: o ? "currentColor" : "none",
|
|
359
|
+
className: o ? "ds:text-[color:var(--accent)]" : void 0
|
|
360
|
+
}
|
|
361
|
+
),
|
|
362
|
+
intent: "ghost",
|
|
363
|
+
size: "sm",
|
|
364
|
+
"aria-pressed": o,
|
|
365
|
+
"aria-label": b("controlRoom.favorite", {
|
|
366
|
+
defaultValue: "Favourite"
|
|
367
|
+
}),
|
|
368
|
+
onClick: () => mo(L.id)
|
|
369
|
+
}
|
|
370
|
+
);
|
|
371
|
+
})() : null,
|
|
372
|
+
/* @__PURE__ */ M(
|
|
373
|
+
F,
|
|
374
|
+
{
|
|
375
|
+
icon: /* @__PURE__ */ M(So, { "aria-hidden": "true" }),
|
|
376
|
+
intent: "ghost",
|
|
377
|
+
size: "sm",
|
|
378
|
+
"aria-label": b("controlRoom.close", { defaultValue: "Close" }),
|
|
379
|
+
onClick: () => {
|
|
380
|
+
var o;
|
|
381
|
+
return (o = G.current) == null ? void 0 : o.close();
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
)
|
|
385
|
+
] }) : null;
|
|
386
|
+
return /* @__PURE__ */ P(Mo, { actions: To, children: [
|
|
387
|
+
/* @__PURE__ */ M(
|
|
388
|
+
xo,
|
|
389
|
+
{
|
|
390
|
+
ref: vo,
|
|
391
|
+
dataComponent: "control-room-rail",
|
|
392
|
+
agentAdapter: Vo,
|
|
393
|
+
tools: $,
|
|
394
|
+
activeToolId: a,
|
|
395
|
+
defaultActiveToolId: y,
|
|
396
|
+
onActiveToolChange: no,
|
|
397
|
+
panelWidth: co,
|
|
398
|
+
onPanelWidthChange: ao,
|
|
399
|
+
railLabel: u ?? b("controlRoom.railLabel", { defaultValue: "Control room" }),
|
|
400
|
+
onReorder: n ? go : void 0,
|
|
401
|
+
formatReorderAnnouncement: n ? Ro : void 0,
|
|
402
|
+
...d
|
|
403
|
+
}
|
|
404
|
+
),
|
|
405
|
+
n ? /* @__PURE__ */ M("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: uo }) : null
|
|
406
|
+
] });
|
|
407
|
+
});
|
|
408
|
+
export {
|
|
409
|
+
Xo as C,
|
|
410
|
+
Jo as a,
|
|
411
|
+
Eo as b,
|
|
412
|
+
Vo as c,
|
|
413
|
+
$o as d,
|
|
414
|
+
Go as u
|
|
415
|
+
};
|
|
416
|
+
//# sourceMappingURL=control-room-rail-DUerqHeo.js.map
|
|
@@ -7,7 +7,7 @@ import { F as S } from "./form-field-Ani72sVY.js";
|
|
|
7
7
|
import { D as Y } from "./date-picker-BSZuKo13.js";
|
|
8
8
|
import { N as H } from "./number-input-CVwI1ltI.js";
|
|
9
9
|
import { C as M } from "./card-BA4Ig_kn.js";
|
|
10
|
-
import { B as T } from "./badge-
|
|
10
|
+
import { B as T } from "./badge-BUk4RjTS.js";
|
|
11
11
|
import { I as U } from "./insert-result-h3WL-gMo.js";
|
|
12
12
|
import { a as m, d as V } from "./date-picker-variants-BnF-sHzq.js";
|
|
13
13
|
import { C as J } from "./check-DrFSN__t.js";
|
|
@@ -422,4 +422,4 @@ export {
|
|
|
422
422
|
ie as L,
|
|
423
423
|
se as p
|
|
424
424
|
};
|
|
425
|
-
//# sourceMappingURL=cycle-calculator-
|
|
425
|
+
//# sourceMappingURL=cycle-calculator-D-rwX9Pj.js.map
|