@alfadocs/ui-kit 1.59.0 → 1.61.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-KoO3EYrZ.js → actions-cell-renderer-CZWGQFKV.js} +3 -3
- package/dist/_chunks/{agenda-tray-D3GH9t3T.js → agenda-tray-DU7O5Z7R.js} +3 -3
- package/dist/_chunks/{ai-credits-notice-DAxBt_wr.js → ai-credits-notice-MBgQXxsx.js} +3 -3
- package/dist/_chunks/{ai-permission-notice-htJegWcH.js → ai-permission-notice-BJHutKLE.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-DRNqTCSK.js → ai-prompt-input-Dzos37rf.js} +2 -2
- package/dist/_chunks/{alia-sidebar-bMVUsMmJ.js → alia-sidebar-CU3mVL9J.js} +7 -7
- package/dist/_chunks/{anamnesis-card-Bh7Tg6i-.js → anamnesis-card-VjJOUl-t.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-D9cFUeXk.js → anamnesis-summary-rows-C5F08WT6.js} +7 -7
- package/dist/_chunks/{appointment-peek-drkQF54M.js → appointment-peek-BvzXHYiD.js} +3 -3
- package/dist/_chunks/{appointment-timeline-C3mTzaUm.js → appointment-timeline-r-q97cec.js} +4 -4
- package/dist/_chunks/{appointment-tray-CUBBT4mL.js → appointment-tray-DF_R9ldY.js} +3 -3
- package/dist/_chunks/{audio-recorder-B1TpJoMu.js → audio-recorder-Cssm6jVh.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-BC92nTi9.js → balance-badge-cell-DMG06b2C.js} +4 -4
- package/dist/_chunks/{bishop-score-BOjlxLzL.js → bishop-score-DxfkcxiV.js} +2 -2
- package/dist/_chunks/{bmi-calculator-JNiTHdYJ.js → bmi-calculator-B4kgPqt5.js} +2 -2
- package/dist/_chunks/{booking-BdWwr_NM.js → booking-CXaqmdF7.js} +5 -5
- package/dist/_chunks/{button-CnUVJg1Y.js → button-D-MQxsA_.js} +66 -57
- package/dist/_chunks/{button-group-DLqAoowT.js → button-group-Cfpyu6pc.js} +2 -2
- package/dist/_chunks/{calendar-KihOHLCs.js → calendar-DNTVaK6b.js} +2 -2
- package/dist/_chunks/{calendar-workspace-DD378Xg8.js → calendar-workspace-UL5xcpWa.js} +21 -21
- package/dist/_chunks/{care-plan-card-Cd1En8-p.js → care-plan-card-DFQbU_Gd.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-FIYdF44t.js → care-plan-entry-card-bj784KRk.js} +2 -2
- package/dist/_chunks/{care-plan-header-DgPAJWS4.js → care-plan-header-DDhyAfVK.js} +2 -2
- package/dist/_chunks/{carousel.agent-C7MXzwUi.js → carousel.agent-Csn24G1k.js} +2 -2
- package/dist/_chunks/{chart-0jK6B2ry.js → chart-D7PbNO_M.js} +3 -3
- package/dist/_chunks/{chat-input-1c4k4-uk.js → chat-input-Ck34Pnmp.js} +2 -2
- package/dist/_chunks/{chat-message-Bv9eW1NW.js → chat-message-DU0X3Xnl.js} +3 -3
- package/dist/_chunks/{code-block-DWVvOrUF.js → code-block-DiC4bg-o.js} +2 -2
- package/dist/_chunks/{connection-status-D-Zeqpr3.js → connection-status-BAnuwayz.js} +3 -3
- package/dist/_chunks/{contact-profile-card-DJe2ld0g.js → contact-profile-card-JTRbnbxy.js} +2 -2
- package/dist/_chunks/{control-room-rail-DgS2snUz.js → control-room-rail-BbBEIdws.js} +3 -3
- package/dist/_chunks/{copy-field-CY1f0k7O.js → copy-field-BCT7APRE.js} +2 -2
- package/dist/_chunks/{cycle-calculator-sOOESGEG.js → cycle-calculator-BuFi6ZJa.js} +2 -2
- package/dist/_chunks/dashboard-grid-DRnhIlT-.js +1404 -0
- package/dist/_chunks/{data-table-DjDuXaQB.js → data-table-DAPkhyXO.js} +6 -6
- package/dist/_chunks/{data-table-tabs-BsCll8sH.js → data-table-tabs-2t0cdk0h.js} +3 -3
- package/dist/_chunks/{description-list-ZWlFfbOy.js → description-list-CFEw__MT.js} +2 -2
- package/dist/_chunks/{dev-bypass-button-m-eXU2PU.js → dev-bypass-button-dTuUuzsT.js} +2 -2
- package/dist/_chunks/{document-preview-E6od-Yy0.js → document-preview-DYX669jE.js} +2 -2
- package/dist/_chunks/{document-scanner-DDOMMswN.js → document-scanner-C41n4pNq.js} +2 -2
- package/dist/_chunks/{due-date-calculator-rtMADvJ8.js → due-date-calculator-yYvX8Ww_.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-DTtF6IIr.js → editable-currency-cell-renderer-6LDFAWUE.js} +3 -3
- package/dist/_chunks/{editable-description-CriawIum.js → editable-description-D9FsTi8e.js} +3 -3
- package/dist/_chunks/{editor-overlay-CbFUYsVk.js → editor-overlay-BYkcaLCj.js} +2 -2
- package/dist/_chunks/{empty-state-BN_R5AzQ.js → empty-state-pL1qum99.js} +2 -2
- package/dist/_chunks/{entity-summary-CoCUJe3N.js → entity-summary-oD_63dlz.js} +3 -3
- package/dist/_chunks/{error-boundary-BlwcM1KR.js → error-boundary-Dzgu3O6W.js} +2 -2
- package/dist/_chunks/{error-page-B0ER6tPK.js → error-page-DirZKDz2.js} +2 -2
- package/dist/_chunks/{face-scheme-BunF1rjI.js → face-scheme-C-5V3MsY.js} +5 -5
- package/dist/_chunks/{fetal-weight-67yvef3S.js → fetal-weight-CHv2winC.js} +2 -2
- package/dist/_chunks/{field-array-BVitwPIt.js → field-array-dSkD_ePA.js} +3 -3
- package/dist/_chunks/{file-manager-YXtUu76I.js → file-manager-C8bdHsYy.js} +7 -7
- package/dist/_chunks/{finished-terminal-DdLHDe_5.js → finished-terminal-DuF3xrUv.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-Dsa1M6VK.js → fiscal-code-input-BSWwda0C.js} +2 -2
- package/dist/_chunks/{forgot-password-form-C2ibWCZT.js → forgot-password-form-CGWV5Q1-.js} +2 -2
- package/dist/_chunks/{freemium-paywall-C8CXWbhO.js → freemium-paywall-DjjVPC-5.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-DT8XDFVK.js → gestational-age-calculator-BLccWS_4.js} +2 -2
- package/dist/_chunks/{hcg-doubling-BxggoYNV.js → hcg-doubling-CnrY2OVu.js} +2 -2
- package/dist/_chunks/{header-C0XQZtu6.js → header-BVHAt7Fi.js} +2 -2
- package/dist/_chunks/{header-settings-BJ6M2p9Q.js → header-settings-C200bKyp.js} +3 -3
- package/dist/_chunks/{heatmap-COoukTUe.js → heatmap-CRMr7VWC.js} +6 -6
- package/dist/_chunks/{help-me-write-templates-DpcMweG1.js → help-me-write-templates-C9T8-DcT.js} +5 -5
- package/dist/_chunks/{hover-card-s2qD4RAz.js → hover-card-DbTmj-ea.js} +2 -2
- package/dist/_chunks/{icon-button-CsOGhuRB.js → icon-button-dNE6ENLn.js} +12 -9
- package/dist/_chunks/{icon-button-group-Cap4-Idv.js → icon-button-group-Du8IvZek.js} +2 -2
- package/dist/_chunks/{icon-picker-BbO2FB4y.js → icon-picker-D5NdDbCL.js} +3 -3
- package/dist/_chunks/{image-cropper-DXqCUezS.js → image-cropper-s8ej8cxa.js} +2 -2
- package/dist/_chunks/{info-tip-CJqR9fhi.js → info-tip-DObdz3w3.js} +2 -2
- package/dist/_chunks/{insert-result-BUEtHFMg.js → insert-result-h3WL-gMo.js} +2 -2
- package/dist/_chunks/{key-value-pair-BN5lWXcB.js → key-value-pair-BNYHAZwD.js} +2 -2
- package/dist/_chunks/{kit-extensions-BVtvnev_.js → kit-extensions-DI2nHVNw.js} +6 -6
- package/dist/_chunks/{link-cell-renderer-BZmRw_Yi.js → link-cell-renderer-DvhzS6lu.js} +2 -2
- package/dist/_chunks/{locale-picker-DVWHnuDN.js → locale-picker-Bu4YE5b2.js} +3 -3
- package/dist/_chunks/{login-dev-card-DQioAtdz.js → login-dev-card-DwWWHclZ.js} +2 -2
- package/dist/_chunks/{map-view-9Ro_P8O8.js → map-view-BuVfJMEa.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-DnuHxuoE.js → marketplace-app-shell-p6hPgVwy.js} +279 -236
- package/dist/_chunks/{message-card-BNoaKInS.js → message-card-CvZlo3Fn.js} +3 -3
- package/dist/_chunks/{message-tray-D4R0boMJ.js → message-tray-DrS_LOed.js} +4 -4
- package/dist/_chunks/{notes-panel-0Wots8rp.js → notes-panel-6TElt7jQ.js} +4 -4
- package/dist/_chunks/{notification-card-DRLmYlL8.js → notification-card-Qrs52HIA.js} +3 -3
- package/dist/_chunks/{notification-tray-qrSc9Fcs.js → notification-tray-DRm1z97G.js} +4 -4
- package/dist/_chunks/{optical-prescription-B0ap3kGl.js → optical-prescription-DLIAhJ6f.js} +2 -2
- package/dist/_chunks/{panel-subview-Bs0WhwR9.js → panel-subview-CjZgdWwO.js} +2 -2
- package/dist/_chunks/{patient-details-C6buDwuI.js → patient-details-BjqKBY2x.js} +3 -3
- package/dist/_chunks/{patient-field-row-CKb4FIaM.js → patient-field-row-BiI0BPPK.js} +6 -6
- package/dist/_chunks/{patient-search-Cgv8Pjsc.js → patient-search-B5R7FyFO.js} +2 -2
- package/dist/_chunks/{patient-summary-card-DWx0emu2.js → patient-summary-card-BOgnWKRV.js} +5 -5
- package/dist/_chunks/{payment-automation-upsell-BAJwtVCs.js → payment-automation-upsell-39d5ykBi.js} +2 -2
- package/dist/_chunks/{payment-request-card-BNiZqIzT.js → payment-request-card-E3G4aVt6.js} +3 -3
- package/dist/_chunks/{periodontal-chart-DMWiP5Ti.js → periodontal-chart-BZ1d6S36.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-D2ZFjN7G.js → periodontal-chart-card-BE5hiQnn.js} +2 -2
- package/dist/_chunks/{popover-CltTC2Rg.js → popover-DQr_tljb.js} +2 -2
- package/dist/_chunks/{practice-results-PINvX-1g.js → practice-results-Cktx7KaC.js} +5 -5
- package/dist/_chunks/{pregnancy-dating-BNSWXA0p.js → pregnancy-dating-26fcvhAx.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-CI7R6sA6.js → pregnancy-weight-gain-D8q1IUCT.js} +2 -2
- package/dist/_chunks/{privacy-lock-CqLxFiLE.js → privacy-lock-BpVgSgMb.js} +3 -3
- package/dist/_chunks/{privacy-mask-CUnJv35j.js → privacy-mask-BfMC57ST.js} +2 -2
- package/dist/_chunks/{product-hub-panel-MbiHZwjC.js → product-hub-panel-CH4B49ij.js} +3 -3
- package/dist/_chunks/{public-header.agent-1MZVDYY1.js → public-header.agent-BHTDKMsw.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-CpKvvZIU.js → radiograph-panel.agent-DR0gOeSc.js} +4 -4
- package/dist/_chunks/{registration-form-JYravsvu.js → registration-form-B8IeB9kd.js} +3 -3
- package/dist/_chunks/{reviews-panel-B1Xirvh4.js → reviews-panel-CHzDqerd.js} +4 -4
- package/dist/_chunks/{rich-text-editor-CZXnqI3-.js → rich-text-editor-BRuTo2hm.js} +8 -8
- package/dist/_chunks/{session-countdown-DAyI9Wye.js → session-countdown-DWY61IcV.js} +2 -2
- package/dist/_chunks/{sheet-D_bERXP2.js → sheet-CqvPYNLn.js} +2 -2
- package/dist/_chunks/sidebar-C9Zof0z1.js +2571 -0
- package/dist/_chunks/{sign-in-with-alfadocs-button-WfdfqQ8O.js → sign-in-with-alfadocs-button-CIv0GgeA.js} +2 -2
- package/dist/_chunks/{signature-request-BZIs36nH.js → signature-request-BH7yKI01.js} +3 -3
- package/dist/_chunks/{signed-out-frame-BR5sJSNX.js → signed-out-frame-eaOWHpDr.js} +3 -3
- package/dist/_chunks/{slot-grid-JU--9C6W.js → slot-grid-DELa2Nwz.js} +4 -4
- package/dist/_chunks/{streaming-text-COuXesoR.js → streaming-text-bPDoG7Y3.js} +2 -2
- package/dist/_chunks/{task-card-D9ngXO7p.js → task-card-zaTU1rQa.js} +2 -2
- package/dist/_chunks/{task-editor-B7xb-mMs.js → task-editor-CgGcg-2c.js} +6 -6
- package/dist/_chunks/{task-tray-BAW_wbTO.js → task-tray-DGMwogWu.js} +4 -4
- package/dist/_chunks/{tasks-panel-DQvN3TiB.js → tasks-panel-xGtiEdcj.js} +6 -6
- package/dist/_chunks/{theme-toggle-CfjLDUfK.js → theme-toggle-_cfYEK73.js} +3 -3
- package/dist/_chunks/{toast-2y0czYHr.js → toast-CNUydTgT.js} +2 -2
- package/dist/_chunks/{token-insert-menu-BzNAHiND.js → token-insert-menu-CQvV4u1m.js} +2 -2
- package/dist/_chunks/{tool-rail-DQ5qTv4l.js → tool-rail-Blgibz0a.js} +2 -2
- package/dist/_chunks/{tooth-scheme-CLyS9UUW.js → tooth-scheme-05DsRMA5.js} +2 -2
- package/dist/_chunks/{unit-converter-W62N99Mw.js → unit-converter-BPZ0Ldkb.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-Ba1DBPr7.js → use-appointment-details-read-BGVthJFx.js} +12 -12
- package/dist/_chunks/{voice-control-panel-p7WMTj4D.js → voice-control-panel-DyKEaFxt.js} +4 -4
- package/dist/_chunks/{warning-stack-DGPuJNVD.js → warning-stack-CAL9xVo1.js} +3 -3
- package/dist/_chunks/{workflow-map-DFuVff8U.js → workflow-map-BUYG1oXU.js} +5 -5
- package/dist/agent-catalog.json +62 -2
- package/dist/agent-i18n/en.json +7 -3
- package/dist/components/_shared/aria-keyshortcuts.d.ts +5 -0
- 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/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +1 -1
- 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/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 +2 -2
- 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/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/connection-status/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/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/dashboard-grid-engine.d.ts +16 -4
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +42 -2
- package/dist/components/dashboard-grid/index.d.ts +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/data-table.d.ts +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table/toolbar.d.ts +1 -1
- package/dist/components/data-table-tabs/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 +1 -1
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-boundary/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/finished-terminal/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/image-cropper/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/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/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/optical-prescription/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/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/popover/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/radiograph-panel/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/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.d.ts +2 -2
- package/dist/components/sidebar/index.js +24 -21
- package/dist/components/sidebar/sidebar.d.ts +61 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/streaming-text/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/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/unit-converter/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/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +3 -0
- package/dist/i18n/locales/ar.js +3 -0
- package/dist/i18n/locales/de.d.ts +3 -0
- package/dist/i18n/locales/de.js +3 -0
- package/dist/i18n/locales/el.d.ts +3 -0
- package/dist/i18n/locales/el.js +3 -0
- package/dist/i18n/locales/en.d.ts +3 -0
- package/dist/i18n/locales/en.js +3 -0
- package/dist/i18n/locales/es.d.ts +3 -0
- package/dist/i18n/locales/es.js +3 -0
- package/dist/i18n/locales/fr.d.ts +3 -0
- package/dist/i18n/locales/fr.js +3 -0
- package/dist/i18n/locales/hi.d.ts +3 -0
- package/dist/i18n/locales/hi.js +3 -0
- package/dist/i18n/locales/it.d.ts +3 -0
- package/dist/i18n/locales/it.js +3 -0
- package/dist/i18n/locales/ja.d.ts +3 -0
- package/dist/i18n/locales/ja.js +3 -0
- package/dist/i18n/locales/nl.d.ts +3 -0
- package/dist/i18n/locales/nl.js +3 -0
- package/dist/i18n/locales/pl.d.ts +3 -0
- package/dist/i18n/locales/pl.js +3 -0
- package/dist/i18n/locales/pt.d.ts +3 -0
- package/dist/i18n/locales/pt.js +3 -0
- package/dist/i18n/locales/ro.d.ts +3 -0
- package/dist/i18n/locales/ro.js +3 -0
- package/dist/i18n/locales/ru.d.ts +3 -0
- package/dist/i18n/locales/ru.js +3 -0
- package/dist/i18n/locales/sq.d.ts +3 -0
- package/dist/i18n/locales/sq.js +3 -0
- package/dist/i18n/locales/sv.d.ts +3 -0
- package/dist/i18n/locales/sv.js +3 -0
- package/dist/i18n/locales/tr.d.ts +3 -0
- package/dist/i18n/locales/tr.js +3 -0
- package/dist/i18n/locales/zh.d.ts +3 -0
- package/dist/i18n/locales/zh.js +3 -0
- package/dist/index.js +775 -772
- package/dist/locales/ar.json +3 -0
- package/dist/locales/de.json +3 -0
- package/dist/locales/el.json +3 -0
- package/dist/locales/en.json +3 -0
- package/dist/locales/es.json +3 -0
- package/dist/locales/fr.json +3 -0
- package/dist/locales/hi.json +3 -0
- package/dist/locales/it.json +3 -0
- package/dist/locales/ja.json +3 -0
- package/dist/locales/nl.json +3 -0
- package/dist/locales/pl.json +3 -0
- package/dist/locales/pt.json +3 -0
- package/dist/locales/ro.json +3 -0
- package/dist/locales/ru.json +3 -0
- package/dist/locales/sq.json +3 -0
- package/dist/locales/sv.json +3 -0
- package/dist/locales/tr.json +3 -0
- package/dist/locales/zh.json +3 -0
- 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/error-page/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 +23 -4
- 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 +1 -1
- package/package.json +1 -1
- package/dist/_chunks/dashboard-grid-SAGjktTs.js +0 -933
- package/dist/_chunks/sidebar-D_S2-SXH.js +0 -2165
package/dist/_chunks/{marketplace-app-shell-DnuHxuoE.js → marketplace-app-shell-p6hPgVwy.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsxs as n, jsx as e, Fragment as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { useTranslation as B, Trans as
|
|
4
|
-
import { c as
|
|
5
|
-
import { A as
|
|
6
|
-
import { A as
|
|
7
|
-
import { A as
|
|
8
|
-
import { C as
|
|
9
|
-
import { D as
|
|
10
|
-
import { T as
|
|
11
|
-
import { a as
|
|
12
|
-
import { H as
|
|
13
|
-
import { S as
|
|
14
|
-
import { S as
|
|
15
|
-
import { N as
|
|
16
|
-
import { T as
|
|
17
|
-
import { a as
|
|
18
|
-
import { u as
|
|
19
|
-
import { u as
|
|
20
|
-
import { u as
|
|
21
|
-
import { A as
|
|
22
|
-
import { A as
|
|
23
|
-
import { M as
|
|
24
|
-
import { L as
|
|
25
|
-
const
|
|
1
|
+
import { jsxs as n, jsx as e, Fragment as H } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as V, useState as he, useCallback as ve, useEffect as _, useRef as K } from "react";
|
|
3
|
+
import { useTranslation as B, Trans as ge } from "react-i18next";
|
|
4
|
+
import { c as p } from "./index-D2ZczOXr.js";
|
|
5
|
+
import { A as Q } from "./app-frame-CqmDh2v5.js";
|
|
6
|
+
import { A as q } from "./avatar-WZY3eGE7.js";
|
|
7
|
+
import { A as xe } from "./alert-BhCstf2h.js";
|
|
8
|
+
import { C as F } from "./card-BA4Ig_kn.js";
|
|
9
|
+
import { D as u } from "./dropdown-menu-D1we7oAY.js";
|
|
10
|
+
import { T as be } from "./tab-bar-5GppbMGc.js";
|
|
11
|
+
import { a as U, H as ke, g as we, f as Y, e as Ne, c as ye, d as Se } from "./header-BVHAt7Fi.js";
|
|
12
|
+
import { H as Ce } from "./header-settings-C200bKyp.js";
|
|
13
|
+
import { S as Ae } from "./sign-in-with-alfadocs-button-CIv0GgeA.js";
|
|
14
|
+
import { S as Te, a as Z, v as Ee, h as Me, c as ze, r as Ie, b as Le, l as He, m as Ve, k as Be, j as G } from "./sidebar-C9Zof0z1.js";
|
|
15
|
+
import { N as Re } from "./navigation-dismiss-B1mcW1CT.js";
|
|
16
|
+
import { T as De } from "./theme-root-BOO73p5t.js";
|
|
17
|
+
import { a as J } from "./tooltip-Cp-PLePW.js";
|
|
18
|
+
import { u as Oe } from "./use-theme-CAuo6EYT.js";
|
|
19
|
+
import { u as je } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
20
|
+
import { u as Pe } from "./use-media-query-CcAx5SMM.js";
|
|
21
|
+
import { A as $e, L as We } from "./logo-hIsyVE96.js";
|
|
22
|
+
import { A as _e } from "./Alfadocs_Logo_Mark-Z_b6ZI1g.js";
|
|
23
|
+
import { M as Ke } from "./maximize-2-BYd2Kti7.js";
|
|
24
|
+
import { L as Qe } from "./log-out-oDS6zO5d.js";
|
|
25
|
+
const qe = p("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), Fe = p(
|
|
26
26
|
[
|
|
27
27
|
"ds:[font-family:var(--font-serif)]",
|
|
28
28
|
"ds:font-semibold",
|
|
@@ -63,7 +63,7 @@ const $e = u("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), je =
|
|
|
63
63
|
},
|
|
64
64
|
defaultVariants: { size: "md", tone: "gradient" }
|
|
65
65
|
}
|
|
66
|
-
),
|
|
66
|
+
), Ue = p("ds:whitespace-nowrap", {
|
|
67
67
|
variants: {
|
|
68
68
|
size: {
|
|
69
69
|
sm: "ds:[--lockup-unit:var(--logo-size-sm)]",
|
|
@@ -73,31 +73,31 @@ const $e = u("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), je =
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
defaultVariants: { size: "md" }
|
|
76
|
-
}),
|
|
76
|
+
}), y = V(
|
|
77
77
|
({
|
|
78
78
|
name: s,
|
|
79
|
-
variant:
|
|
79
|
+
variant: d = "standard",
|
|
80
80
|
monochrome: a = !1,
|
|
81
|
-
tone:
|
|
82
|
-
size:
|
|
83
|
-
className:
|
|
84
|
-
...
|
|
85
|
-
},
|
|
86
|
-
const { t:
|
|
87
|
-
if (
|
|
88
|
-
const
|
|
81
|
+
tone: t = "auto",
|
|
82
|
+
size: r = "md",
|
|
83
|
+
className: l,
|
|
84
|
+
...o
|
|
85
|
+
}, c) => {
|
|
86
|
+
const { t: i } = B("ui");
|
|
87
|
+
if (d === "maker") {
|
|
88
|
+
const m = t === "inherit", f = m ? "" : a ? "ds:text-[color:var(--foreground)]" : "ds:text-[color:var(--primary)]", b = m ? "" : a ? "ds:text-[color:var(--foreground)]" : "ds:text-[color:var(--primary)]", C = m ? "" : "ds:text-[color:var(--muted-foreground)]", A = m ? "" : "ds:text-[color:var(--foreground)]";
|
|
89
89
|
return /* @__PURE__ */ n(
|
|
90
90
|
"span",
|
|
91
91
|
{
|
|
92
|
-
ref:
|
|
92
|
+
ref: c,
|
|
93
93
|
role: "img",
|
|
94
|
-
"aria-label":
|
|
95
|
-
className:
|
|
94
|
+
"aria-label": i("productLockup.makerLabel", { name: s.trim() }),
|
|
95
|
+
className: Ue({ size: r, className: l }),
|
|
96
96
|
"data-component": "product-lockup",
|
|
97
|
-
...
|
|
97
|
+
...o,
|
|
98
98
|
children: [
|
|
99
99
|
/* @__PURE__ */ e(
|
|
100
|
-
|
|
100
|
+
_e,
|
|
101
101
|
{
|
|
102
102
|
"aria-hidden": !0,
|
|
103
103
|
className: `ds:inline-block ds:align-middle ds:me-[var(--spacing-sm)] ds:h-[calc(var(--lockup-unit)*0.88)] ds:w-auto ds:forced-colors:text-[CanvasText] ${f}`
|
|
@@ -115,21 +115,21 @@ const $e = u("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), je =
|
|
|
115
115
|
"span",
|
|
116
116
|
{
|
|
117
117
|
"aria-hidden": !0,
|
|
118
|
-
className: `ds:align-text-top ds:ms-[var(--spacing-sm)] ds:inline-flex ds:items-baseline ds:gap-[var(--spacing-2xs)] ${
|
|
118
|
+
className: `ds:align-text-top ds:ms-[var(--spacing-sm)] ds:inline-flex ds:items-baseline ds:gap-[var(--spacing-2xs)] ${C}`,
|
|
119
119
|
children: /* @__PURE__ */ e(
|
|
120
|
-
|
|
120
|
+
ge,
|
|
121
121
|
{
|
|
122
122
|
ns: "ui",
|
|
123
|
-
t:
|
|
123
|
+
t: i,
|
|
124
124
|
i18nKey: "productLockup.attribution",
|
|
125
125
|
components: {
|
|
126
126
|
text: /* @__PURE__ */ e("span", { className: "ds:text-[calc(var(--lockup-unit)*0.4)] ds:leading-none" }),
|
|
127
127
|
brand: /* @__PURE__ */ e(
|
|
128
|
-
|
|
128
|
+
$e,
|
|
129
129
|
{
|
|
130
130
|
"aria-hidden": !0,
|
|
131
131
|
viewBox: "168 0 637 125",
|
|
132
|
-
className: `ds:h-[calc(var(--lockup-unit)*0.45)] ds:w-auto ds:forced-colors:text-[CanvasText] ${
|
|
132
|
+
className: `ds:h-[calc(var(--lockup-unit)*0.45)] ds:w-auto ds:forced-colors:text-[CanvasText] ${A}`
|
|
133
133
|
}
|
|
134
134
|
)
|
|
135
135
|
}
|
|
@@ -144,19 +144,19 @@ const $e = u("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), je =
|
|
|
144
144
|
return /* @__PURE__ */ n(
|
|
145
145
|
"span",
|
|
146
146
|
{
|
|
147
|
-
ref:
|
|
147
|
+
ref: c,
|
|
148
148
|
role: "img",
|
|
149
149
|
"aria-label": `Alfadocs ${s}`.trim(),
|
|
150
|
-
className:
|
|
150
|
+
className: qe({ className: l }),
|
|
151
151
|
"data-component": "product-lockup",
|
|
152
|
-
...
|
|
152
|
+
...o,
|
|
153
153
|
children: [
|
|
154
154
|
/* @__PURE__ */ e(
|
|
155
|
-
|
|
155
|
+
We,
|
|
156
156
|
{
|
|
157
157
|
variant: a ? "monochrome" : "wordmark",
|
|
158
|
-
tone:
|
|
159
|
-
size:
|
|
158
|
+
tone: t,
|
|
159
|
+
size: r,
|
|
160
160
|
decorative: !0
|
|
161
161
|
}
|
|
162
162
|
),
|
|
@@ -164,8 +164,8 @@ const $e = u("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), je =
|
|
|
164
164
|
"span",
|
|
165
165
|
{
|
|
166
166
|
"aria-hidden": !0,
|
|
167
|
-
className:
|
|
168
|
-
size:
|
|
167
|
+
className: Fe({
|
|
168
|
+
size: r,
|
|
169
169
|
tone: a ? "solid" : "gradient"
|
|
170
170
|
}),
|
|
171
171
|
children: s
|
|
@@ -176,121 +176,158 @@ const $e = u("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), je =
|
|
|
176
176
|
);
|
|
177
177
|
}
|
|
178
178
|
);
|
|
179
|
-
|
|
180
|
-
const
|
|
181
|
-
function
|
|
179
|
+
y.displayName = "ProductLockup";
|
|
180
|
+
const Ye = "(max-width: 767.98px)";
|
|
181
|
+
function Ge(s) {
|
|
182
182
|
return s > 99 ? "99+" : String(s);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Je({
|
|
185
185
|
user: s,
|
|
186
|
-
labels:
|
|
186
|
+
labels: d,
|
|
187
187
|
onSignOut: a,
|
|
188
|
-
onToggleFullscreen:
|
|
188
|
+
onToggleFullscreen: t
|
|
189
189
|
}) {
|
|
190
|
-
const { t:
|
|
190
|
+
const { t: r } = B("ui"), l = d.fullscreen ?? r("marketplaceAppShell.settings.fullscreen");
|
|
191
191
|
return (
|
|
192
192
|
// Non-modal: an account menu shouldn't inert/aria-hide the whole shell
|
|
193
193
|
// behind it (which leaves the still-focusable chrome inside an
|
|
194
194
|
// aria-hidden region — an `aria-hidden-focus` violation).
|
|
195
|
-
/* @__PURE__ */ n(
|
|
196
|
-
/* @__PURE__ */ e(
|
|
195
|
+
/* @__PURE__ */ n(u.Root, { modal: !1, children: [
|
|
196
|
+
/* @__PURE__ */ e(u.Trigger, { asChild: !0, children: /* @__PURE__ */ e(
|
|
197
197
|
"button",
|
|
198
198
|
{
|
|
199
199
|
type: "button",
|
|
200
|
-
"aria-label":
|
|
200
|
+
"aria-label": d.accountMenu,
|
|
201
201
|
"data-testid": "marketplace-account-trigger",
|
|
202
202
|
className: "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0 ds:size-10 ds:rounded-[var(--radius-full)] ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
203
|
-
children: /* @__PURE__ */ e("span", { "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
203
|
+
children: /* @__PURE__ */ e("span", { "aria-hidden": "true", children: /* @__PURE__ */ e(q, { name: s.name, src: s.avatarSrc, size: "md" }) })
|
|
204
204
|
}
|
|
205
205
|
) }),
|
|
206
|
-
/* @__PURE__ */ n(
|
|
207
|
-
/* @__PURE__ */ e(
|
|
208
|
-
/* @__PURE__ */ e("span", { "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
206
|
+
/* @__PURE__ */ n(u.Content, { align: "end", collisionPadding: 16, children: [
|
|
207
|
+
/* @__PURE__ */ e(u.Label, { children: /* @__PURE__ */ n("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
208
|
+
/* @__PURE__ */ e("span", { "aria-hidden": "true", children: /* @__PURE__ */ e(q, { name: s.name, src: s.avatarSrc, size: "sm" }) }),
|
|
209
209
|
/* @__PURE__ */ n("span", { className: "ds:flex ds:flex-col ds:min-w-0", children: [
|
|
210
210
|
/* @__PURE__ */ e("span", { className: "type-label ds:text-[color:var(--foreground)] ds:truncate", children: s.name }),
|
|
211
211
|
s.email ? /* @__PURE__ */ e("span", { className: "type-meta ds:truncate", children: s.email }) : null
|
|
212
212
|
] })
|
|
213
213
|
] }) }),
|
|
214
|
-
|
|
215
|
-
/* @__PURE__ */ e(
|
|
214
|
+
t ? /* @__PURE__ */ n(H, { children: [
|
|
215
|
+
/* @__PURE__ */ e(u.Separator, {}),
|
|
216
216
|
/* @__PURE__ */ e(
|
|
217
|
-
|
|
217
|
+
u.Item,
|
|
218
218
|
{
|
|
219
|
-
startIcon: /* @__PURE__ */ e(
|
|
220
|
-
onSelect:
|
|
219
|
+
startIcon: /* @__PURE__ */ e(Ke, { "aria-hidden": !0 }),
|
|
220
|
+
onSelect: t,
|
|
221
221
|
"data-testid": "marketplace-fullscreen",
|
|
222
|
-
children:
|
|
222
|
+
children: l
|
|
223
223
|
}
|
|
224
224
|
)
|
|
225
225
|
] }) : null,
|
|
226
|
-
/* @__PURE__ */ e(
|
|
226
|
+
/* @__PURE__ */ e(u.Separator, {}),
|
|
227
227
|
/* @__PURE__ */ e(
|
|
228
|
-
|
|
228
|
+
u.Item,
|
|
229
229
|
{
|
|
230
|
-
startIcon: /* @__PURE__ */ e(
|
|
230
|
+
startIcon: /* @__PURE__ */ e(Qe, { "aria-hidden": !0 }),
|
|
231
231
|
onSelect: a,
|
|
232
232
|
"data-testid": "marketplace-sign-out",
|
|
233
|
-
children:
|
|
233
|
+
children: d.signOut
|
|
234
234
|
}
|
|
235
235
|
)
|
|
236
236
|
] })
|
|
237
237
|
] })
|
|
238
238
|
);
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Xe({
|
|
241
241
|
nav: s,
|
|
242
|
-
renderLink:
|
|
242
|
+
renderLink: d
|
|
243
243
|
}) {
|
|
244
244
|
return /* @__PURE__ */ e(Z, { children: s.map((a) => {
|
|
245
|
-
const
|
|
246
|
-
a.icon ? /* @__PURE__ */ e(
|
|
247
|
-
/* @__PURE__ */ e(
|
|
248
|
-
|
|
245
|
+
const t = typeof a.badgeCount == "number" && a.badgeCount > 0 ? a.badgeCount : void 0, r = /* @__PURE__ */ n(H, { children: [
|
|
246
|
+
a.icon ? /* @__PURE__ */ e(He, { children: a.icon }) : null,
|
|
247
|
+
/* @__PURE__ */ e(Ve, { children: a.label }),
|
|
248
|
+
t !== void 0 ? /* @__PURE__ */ e(Be, { children: Ge(t) }) : null
|
|
249
249
|
] });
|
|
250
|
-
return
|
|
250
|
+
return d ? /* @__PURE__ */ e(G, { asChild: !0, isActive: a.isActive, children: d({
|
|
251
251
|
href: a.href,
|
|
252
|
-
children:
|
|
252
|
+
children: r,
|
|
253
253
|
"aria-current": a.isActive ? "page" : void 0
|
|
254
254
|
}) }, a.id) : /* @__PURE__ */ e(
|
|
255
|
-
|
|
255
|
+
G,
|
|
256
256
|
{
|
|
257
257
|
href: a.href,
|
|
258
258
|
"aria-label": a.label,
|
|
259
259
|
isActive: a.isActive,
|
|
260
260
|
...a.onClick ? { onClick: a.onClick } : {},
|
|
261
|
-
children:
|
|
261
|
+
children: r
|
|
262
262
|
},
|
|
263
263
|
a.id
|
|
264
264
|
);
|
|
265
265
|
}) });
|
|
266
266
|
}
|
|
267
|
-
const
|
|
268
|
-
"ds:flex ds:
|
|
267
|
+
const Ze = p(
|
|
268
|
+
"ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
269
|
+
{
|
|
270
|
+
variants: {
|
|
271
|
+
mode: {
|
|
272
|
+
expanded: "ds:min-w-0 ds:flex-1",
|
|
273
|
+
icon: "ds:items-center",
|
|
274
|
+
overlay: "ds:min-w-0 ds:flex-1"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
defaultVariants: { mode: "expanded" }
|
|
278
|
+
}
|
|
279
|
+
), ea = p(
|
|
280
|
+
// Wraps rather than push a tool off the edge at the accessible size. Empty
|
|
281
|
+
// when the sections toggle, alone in it, finds no section.
|
|
282
|
+
"ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)] ds:empty:hidden",
|
|
269
283
|
{
|
|
270
284
|
variants: {
|
|
271
285
|
mode: {
|
|
272
286
|
expanded: "",
|
|
273
|
-
icon: "",
|
|
274
|
-
overlay: "ds:
|
|
287
|
+
icon: "ds:flex-col",
|
|
288
|
+
overlay: "ds:justify-end"
|
|
275
289
|
}
|
|
276
290
|
},
|
|
277
291
|
defaultVariants: { mode: "expanded" }
|
|
278
292
|
}
|
|
279
|
-
);
|
|
280
|
-
function
|
|
293
|
+
), X = (s) => s != null && typeof s != "boolean";
|
|
294
|
+
function aa({
|
|
281
295
|
collapseTrigger: s,
|
|
296
|
+
sectionsToggle: d,
|
|
297
|
+
actions: a,
|
|
282
298
|
content: t
|
|
283
299
|
}) {
|
|
284
|
-
const { mode:
|
|
285
|
-
return
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
300
|
+
const { mode: r } = Ee(), l = X(a), o = r === "overlay", c = s && !o, i = X(t) && r !== "icon", m = c || d || l || o;
|
|
301
|
+
return !m && !i ? null : (
|
|
302
|
+
// With nothing below it, an empty row hides the whole band too.
|
|
303
|
+
/* @__PURE__ */ e(
|
|
304
|
+
Me,
|
|
305
|
+
{
|
|
306
|
+
className: i ? void 0 : "ds:has-[[data-sidebar-header-row]:empty]:hidden",
|
|
307
|
+
children: /* @__PURE__ */ n("div", { className: Ze({ mode: r }), children: [
|
|
308
|
+
m ? /* @__PURE__ */ n(
|
|
309
|
+
"div",
|
|
310
|
+
{
|
|
311
|
+
"data-sidebar-header-row": "",
|
|
312
|
+
className: ea({ mode: r }),
|
|
313
|
+
children: [
|
|
314
|
+
c ? /* @__PURE__ */ e(ze, {}) : null,
|
|
315
|
+
d ? /* @__PURE__ */ e(Ie, {}) : null,
|
|
316
|
+
l ? a : null,
|
|
317
|
+
o ? /* @__PURE__ */ e(Le, {}) : null
|
|
318
|
+
]
|
|
319
|
+
}
|
|
320
|
+
) : null,
|
|
321
|
+
i ? t : null
|
|
322
|
+
] })
|
|
323
|
+
}
|
|
324
|
+
)
|
|
325
|
+
);
|
|
289
326
|
}
|
|
290
327
|
const ee = [
|
|
291
328
|
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
|
|
292
329
|
"ds:pt-[var(--spacing-lg)] ds:pb-[var(--spacing-md)]"
|
|
293
|
-
].join(" "),
|
|
330
|
+
].join(" "), L = p("ds:bg-[color:var(--app-shell-background)]", {
|
|
294
331
|
variants: {
|
|
295
332
|
variant: {
|
|
296
333
|
standalone: "",
|
|
@@ -298,61 +335,64 @@ const ee = [
|
|
|
298
335
|
}
|
|
299
336
|
},
|
|
300
337
|
defaultVariants: { variant: "standalone" }
|
|
301
|
-
}),
|
|
302
|
-
function
|
|
338
|
+
}), sa = "ds:shrink-0 ds:bg-[color:var(--app-shell-background)]";
|
|
339
|
+
function ta({
|
|
303
340
|
nav: s,
|
|
304
|
-
ariaLabel:
|
|
341
|
+
ariaLabel: d,
|
|
305
342
|
renderLink: a
|
|
306
343
|
}) {
|
|
307
|
-
const
|
|
308
|
-
href:
|
|
309
|
-
className:
|
|
310
|
-
children:
|
|
311
|
-
"aria-current":
|
|
312
|
-
"data-tab-id":
|
|
344
|
+
const t = a ? ({
|
|
345
|
+
href: r,
|
|
346
|
+
className: l,
|
|
347
|
+
children: o,
|
|
348
|
+
"aria-current": c,
|
|
349
|
+
"data-tab-id": i
|
|
313
350
|
}) => a({
|
|
314
|
-
href:
|
|
315
|
-
className:
|
|
316
|
-
children:
|
|
317
|
-
"aria-current":
|
|
351
|
+
href: r,
|
|
352
|
+
className: l,
|
|
353
|
+
children: o,
|
|
354
|
+
"aria-current": c,
|
|
318
355
|
// Forward the agent DOM hook — without it a consumer-router tab is
|
|
319
356
|
// invisible to `[data-tab-id]` lookups (PRS §26 §6).
|
|
320
|
-
"data-tab-id":
|
|
357
|
+
"data-tab-id": i
|
|
321
358
|
}) : void 0;
|
|
322
359
|
return /* @__PURE__ */ e(
|
|
323
|
-
|
|
360
|
+
be,
|
|
324
361
|
{
|
|
325
362
|
items: s,
|
|
326
|
-
ariaLabel:
|
|
327
|
-
...
|
|
363
|
+
ariaLabel: d,
|
|
364
|
+
...t ? { renderLink: t } : {}
|
|
328
365
|
}
|
|
329
366
|
);
|
|
330
367
|
}
|
|
331
|
-
const
|
|
368
|
+
const ra = V(
|
|
332
369
|
({
|
|
333
370
|
productName: s,
|
|
334
|
-
productHref:
|
|
371
|
+
productHref: d = "/",
|
|
335
372
|
nav: a,
|
|
336
|
-
renderLink:
|
|
337
|
-
user:
|
|
338
|
-
labels:
|
|
339
|
-
onSignOut:
|
|
340
|
-
onToggleFullscreen:
|
|
341
|
-
sidebarState:
|
|
342
|
-
collapsibleSidebar:
|
|
373
|
+
renderLink: t,
|
|
374
|
+
user: r,
|
|
375
|
+
labels: l,
|
|
376
|
+
onSignOut: o,
|
|
377
|
+
onToggleFullscreen: c,
|
|
378
|
+
sidebarState: i,
|
|
379
|
+
collapsibleSidebar: m = !1,
|
|
343
380
|
sidebarContent: f,
|
|
344
381
|
sidebarHeader: b,
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
382
|
+
sidebarActions: C,
|
|
383
|
+
sidebarSectionsToggle: A = !1,
|
|
384
|
+
onSetAllSidebarSectionsOpen: ae,
|
|
385
|
+
onMoveSidebarItem: se,
|
|
386
|
+
mainAriaLabel: T,
|
|
387
|
+
variant: te = "standalone",
|
|
348
388
|
endSidebar: E,
|
|
349
|
-
children:
|
|
350
|
-
},
|
|
351
|
-
var
|
|
352
|
-
const { t:
|
|
353
|
-
href:
|
|
389
|
+
children: M
|
|
390
|
+
}, R) => {
|
|
391
|
+
var W;
|
|
392
|
+
const { t: z } = B("ui"), re = t ? /* @__PURE__ */ e(U, { asChild: !0, children: t({
|
|
393
|
+
href: d,
|
|
354
394
|
children: /* @__PURE__ */ e(
|
|
355
|
-
|
|
395
|
+
y,
|
|
356
396
|
{
|
|
357
397
|
name: s,
|
|
358
398
|
size: "md",
|
|
@@ -361,11 +401,11 @@ const Je = H(
|
|
|
361
401
|
}
|
|
362
402
|
)
|
|
363
403
|
}) }) : /* @__PURE__ */ e(
|
|
364
|
-
|
|
404
|
+
U,
|
|
365
405
|
{
|
|
366
|
-
href:
|
|
406
|
+
href: d,
|
|
367
407
|
logo: /* @__PURE__ */ e(
|
|
368
|
-
|
|
408
|
+
y,
|
|
369
409
|
{
|
|
370
410
|
name: s,
|
|
371
411
|
size: "md",
|
|
@@ -374,103 +414,106 @@ const Je = H(
|
|
|
374
414
|
}
|
|
375
415
|
)
|
|
376
416
|
}
|
|
377
|
-
), { theme:
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
}, [
|
|
381
|
-
const
|
|
382
|
-
|
|
417
|
+
), { theme: ne, accessibility: de, resolvedTheme: D } = Oe(), ie = ne !== "system" || de !== "system", le = D.startsWith("dark") ? "dark" : "light", oe = D.endsWith("-accessible"), ce = Pe(Ye), k = i ?? (ce ? "overlay" : void 0), [w, N] = he(!1), h = ve(() => N(!1), []);
|
|
418
|
+
_(() => {
|
|
419
|
+
k !== "overlay" && N(!1);
|
|
420
|
+
}, [k]);
|
|
421
|
+
const I = K(null), O = K(null), j = f === void 0 ? ((W = a.find((v) => v.isActive)) == null ? void 0 : W.id) ?? "" : void 0;
|
|
422
|
+
je(() => {
|
|
383
423
|
const v = window.location.href;
|
|
384
|
-
let S =
|
|
385
|
-
if (
|
|
386
|
-
const x =
|
|
424
|
+
let S = j ?? null;
|
|
425
|
+
if (j === void 0 && I.current) {
|
|
426
|
+
const x = I.current.querySelector('[aria-current="page"]');
|
|
387
427
|
S = (x == null ? void 0 : x.getAttribute("href")) ?? (x == null ? void 0 : x.textContent) ?? "";
|
|
388
428
|
}
|
|
389
429
|
const g = O.current;
|
|
390
|
-
if (O.current = { open:
|
|
391
|
-
const
|
|
392
|
-
(g.url !== v ||
|
|
393
|
-
}),
|
|
394
|
-
if (
|
|
430
|
+
if (O.current = { open: w, url: v, current: S }, !(g != null && g.open) || !w) return;
|
|
431
|
+
const fe = g.current !== null && S !== null && g.current !== S;
|
|
432
|
+
(g.url !== v || fe) && N(!1);
|
|
433
|
+
}), _(() => {
|
|
434
|
+
if (w)
|
|
395
435
|
return window.addEventListener("popstate", h), window.addEventListener("hashchange", h), () => {
|
|
396
436
|
window.removeEventListener("popstate", h), window.removeEventListener("hashchange", h);
|
|
397
437
|
};
|
|
398
|
-
}, [
|
|
399
|
-
const
|
|
400
|
-
|
|
438
|
+
}, [w, h]);
|
|
439
|
+
const me = /* @__PURE__ */ e(J, { children: /* @__PURE__ */ e(
|
|
440
|
+
Q,
|
|
401
441
|
{
|
|
402
|
-
mainAriaLabel:
|
|
403
|
-
mainClassName:
|
|
404
|
-
header: /* @__PURE__ */ n(
|
|
405
|
-
/* @__PURE__ */ n(
|
|
406
|
-
/* @__PURE__ */ e(
|
|
407
|
-
/* @__PURE__ */ e(
|
|
408
|
-
|
|
442
|
+
mainAriaLabel: T,
|
|
443
|
+
mainClassName: L({ variant: "standalone" }),
|
|
444
|
+
header: /* @__PURE__ */ n(ke, { children: [
|
|
445
|
+
/* @__PURE__ */ n(we, { children: [
|
|
446
|
+
/* @__PURE__ */ e(Y, { href: "#main-content" }),
|
|
447
|
+
/* @__PURE__ */ e(Ne, { onMenuOpen: () => N(!0) }),
|
|
448
|
+
re
|
|
409
449
|
] }),
|
|
410
|
-
/* @__PURE__ */ e(
|
|
411
|
-
/* @__PURE__ */ n(
|
|
412
|
-
/* @__PURE__ */ e(
|
|
450
|
+
/* @__PURE__ */ e(ye, {}),
|
|
451
|
+
/* @__PURE__ */ n(Se, { children: [
|
|
452
|
+
/* @__PURE__ */ e(Ce, { size: "sm" }),
|
|
413
453
|
/* @__PURE__ */ e(
|
|
414
|
-
|
|
454
|
+
Je,
|
|
415
455
|
{
|
|
416
|
-
user:
|
|
417
|
-
labels:
|
|
418
|
-
onSignOut:
|
|
419
|
-
onToggleFullscreen:
|
|
456
|
+
user: r,
|
|
457
|
+
labels: l,
|
|
458
|
+
onSignOut: o,
|
|
459
|
+
onToggleFullscreen: c
|
|
420
460
|
}
|
|
421
461
|
)
|
|
422
462
|
] })
|
|
423
463
|
] }),
|
|
424
464
|
sidebar: /* @__PURE__ */ e(
|
|
425
|
-
|
|
465
|
+
Te,
|
|
426
466
|
{
|
|
427
|
-
ref:
|
|
428
|
-
...
|
|
429
|
-
open:
|
|
430
|
-
onOpenChange:
|
|
431
|
-
onMoveItem:
|
|
467
|
+
ref: I,
|
|
468
|
+
...k !== void 0 ? { state: k } : { defaultState: "expanded" },
|
|
469
|
+
open: w,
|
|
470
|
+
onOpenChange: N,
|
|
471
|
+
onMoveItem: se,
|
|
472
|
+
onSetAllSectionsOpen: ae,
|
|
432
473
|
onClick: (v) => {
|
|
433
474
|
v.target instanceof Element && v.target.closest("a[href]") && h();
|
|
434
475
|
},
|
|
435
|
-
"aria-label":
|
|
476
|
+
"aria-label": z("navigation.sidebar.label"),
|
|
436
477
|
"data-testid": "marketplace-app-shell-sidebar",
|
|
437
|
-
children: /* @__PURE__ */ n(
|
|
478
|
+
children: /* @__PURE__ */ n(Re.Provider, { value: h, children: [
|
|
438
479
|
/* @__PURE__ */ e(
|
|
439
|
-
|
|
480
|
+
aa,
|
|
440
481
|
{
|
|
441
|
-
collapseTrigger:
|
|
482
|
+
collapseTrigger: m && k === void 0,
|
|
483
|
+
sectionsToggle: A,
|
|
484
|
+
actions: C,
|
|
442
485
|
content: b
|
|
443
486
|
}
|
|
444
487
|
),
|
|
445
|
-
f !== void 0 ? /* @__PURE__ */ e(Z, { children: f }) : /* @__PURE__ */ e(
|
|
488
|
+
f !== void 0 ? /* @__PURE__ */ e(Z, { children: f }) : /* @__PURE__ */ e(Xe, { nav: a, renderLink: t })
|
|
446
489
|
] })
|
|
447
490
|
}
|
|
448
491
|
),
|
|
449
492
|
endSidebar: E,
|
|
450
|
-
children:
|
|
493
|
+
children: M
|
|
451
494
|
}
|
|
452
|
-
) }), P = /* @__PURE__ */ n(
|
|
453
|
-
/* @__PURE__ */ e(
|
|
495
|
+
) }), P = /* @__PURE__ */ n(H, { children: [
|
|
496
|
+
/* @__PURE__ */ e(Y, { href: "#main-content" }),
|
|
454
497
|
/* @__PURE__ */ e(
|
|
455
|
-
|
|
498
|
+
ta,
|
|
456
499
|
{
|
|
457
500
|
nav: a,
|
|
458
|
-
ariaLabel:
|
|
459
|
-
renderLink:
|
|
501
|
+
ariaLabel: z("navigation.sidebar.label"),
|
|
502
|
+
renderLink: t
|
|
460
503
|
}
|
|
461
504
|
)
|
|
462
|
-
] }),
|
|
463
|
-
|
|
505
|
+
] }), pe = /* @__PURE__ */ e(J, { children: /* @__PURE__ */ e(
|
|
506
|
+
Q,
|
|
464
507
|
{
|
|
465
|
-
mainAriaLabel:
|
|
466
|
-
mainClassName:
|
|
508
|
+
mainAriaLabel: T,
|
|
509
|
+
mainClassName: L({ variant: "standalone" }),
|
|
467
510
|
padded: !1,
|
|
468
|
-
header: /* @__PURE__ */ e("div", { className:
|
|
511
|
+
header: /* @__PURE__ */ e("div", { className: sa, children: P }),
|
|
469
512
|
sidebar: null,
|
|
470
513
|
endSidebar: E,
|
|
471
|
-
children: /* @__PURE__ */ e("div", { className: ee, children:
|
|
514
|
+
children: /* @__PURE__ */ e("div", { className: ee, children: M })
|
|
472
515
|
}
|
|
473
|
-
) }),
|
|
516
|
+
) }), ue = (
|
|
474
517
|
// The shell owns the warm-grey canvas; TabBar's strip is transparent and
|
|
475
518
|
// floats its pill on it, and `<main>` continues the same surface.
|
|
476
519
|
/* @__PURE__ */ n("div", { className: "ds:flex ds:min-h-dvh ds:flex-col ds:bg-[color:var(--app-shell-background)]", children: [
|
|
@@ -480,19 +523,19 @@ const Je = H(
|
|
|
480
523
|
{
|
|
481
524
|
id: "main-content",
|
|
482
525
|
tabIndex: -1,
|
|
483
|
-
"aria-label":
|
|
484
|
-
className:
|
|
485
|
-
children:
|
|
526
|
+
"aria-label": T ?? z("navigation.main.label", "Main content"),
|
|
527
|
+
className: L({ variant: "embedded" }),
|
|
528
|
+
children: M
|
|
486
529
|
}
|
|
487
530
|
)
|
|
488
531
|
] })
|
|
489
|
-
), $ =
|
|
490
|
-
return
|
|
491
|
-
|
|
532
|
+
), $ = te === "embedded" ? E ? pe : ue : me;
|
|
533
|
+
return ie ? /* @__PURE__ */ e(
|
|
534
|
+
De,
|
|
492
535
|
{
|
|
493
|
-
ref:
|
|
494
|
-
theme:
|
|
495
|
-
accessible:
|
|
536
|
+
ref: R,
|
|
537
|
+
theme: le,
|
|
538
|
+
accessible: oe,
|
|
496
539
|
className: "ds:contents",
|
|
497
540
|
"data-component": "marketplace-app-shell",
|
|
498
541
|
children: $
|
|
@@ -500,7 +543,7 @@ const Je = H(
|
|
|
500
543
|
) : /* @__PURE__ */ e(
|
|
501
544
|
"div",
|
|
502
545
|
{
|
|
503
|
-
ref:
|
|
546
|
+
ref: R,
|
|
504
547
|
className: "ds:contents",
|
|
505
548
|
"data-component": "marketplace-app-shell",
|
|
506
549
|
children: $
|
|
@@ -508,8 +551,8 @@ const Je = H(
|
|
|
508
551
|
);
|
|
509
552
|
}
|
|
510
553
|
);
|
|
511
|
-
|
|
512
|
-
const
|
|
554
|
+
ra.displayName = "MarketplaceAppShell";
|
|
555
|
+
const na = p(
|
|
513
556
|
"ds:flex ds:min-h-dvh ds:bg-[color:var(--app-shell-background)]",
|
|
514
557
|
{
|
|
515
558
|
variants: {
|
|
@@ -520,7 +563,7 @@ const Xe = u(
|
|
|
520
563
|
},
|
|
521
564
|
defaultVariants: { layout: "card" }
|
|
522
565
|
}
|
|
523
|
-
),
|
|
566
|
+
), da = p("ds:w-full", {
|
|
524
567
|
variants: {
|
|
525
568
|
layout: {
|
|
526
569
|
card: "ds:max-w-[400px]",
|
|
@@ -528,39 +571,39 @@ const Xe = u(
|
|
|
528
571
|
}
|
|
529
572
|
},
|
|
530
573
|
defaultVariants: { layout: "card" }
|
|
531
|
-
}),
|
|
574
|
+
}), ia = p("", {
|
|
532
575
|
variants: {
|
|
533
576
|
layout: { card: "", split: "ds:lg:hidden" }
|
|
534
577
|
},
|
|
535
578
|
defaultVariants: { layout: "card" }
|
|
536
|
-
}),
|
|
579
|
+
}), la = V(
|
|
537
580
|
({
|
|
538
581
|
productName: s,
|
|
539
|
-
title:
|
|
582
|
+
title: d,
|
|
540
583
|
description: a,
|
|
541
|
-
connectLabel:
|
|
542
|
-
status:
|
|
543
|
-
error:
|
|
544
|
-
onConnect:
|
|
545
|
-
footer:
|
|
546
|
-
layout:
|
|
547
|
-
brandPanel:
|
|
584
|
+
connectLabel: t,
|
|
585
|
+
status: r = "idle",
|
|
586
|
+
error: l,
|
|
587
|
+
onConnect: o,
|
|
588
|
+
footer: c,
|
|
589
|
+
layout: i = "card",
|
|
590
|
+
brandPanel: m,
|
|
548
591
|
className: f
|
|
549
592
|
}, b) => /* @__PURE__ */ n(
|
|
550
593
|
"div",
|
|
551
594
|
{
|
|
552
595
|
ref: b,
|
|
553
596
|
"data-component": "connect-with-alfadocs",
|
|
554
|
-
className: `${
|
|
597
|
+
className: `${na({ layout: i })} ${f ?? ""}`,
|
|
555
598
|
children: [
|
|
556
|
-
|
|
599
|
+
i === "split" ? (
|
|
557
600
|
// Desktop brand panel (lg+ only): a bold `--primary` surface with the
|
|
558
601
|
// monochrome lockup riding the `--primary-foreground` ink, plus an
|
|
559
602
|
// optional `brandPanel` slot. Decorative — the card carries the real
|
|
560
603
|
// heading + CTA, and shows its own lockup below `lg:`.
|
|
561
604
|
/* @__PURE__ */ n("div", { className: "ds:hidden ds:lg:flex ds:lg:w-[55%] ds:flex-col ds:items-center ds:justify-center ds:gap-[var(--spacing-lg)] ds:bg-[color:var(--primary)] ds:text-[color:var(--primary-foreground)] ds:ps-[var(--spacing-2xl)] ds:pe-[var(--spacing-2xl)] ds:pt-[var(--spacing-2xl)] ds:pb-[var(--spacing-2xl)] ds:text-start", children: [
|
|
562
605
|
/* @__PURE__ */ e(
|
|
563
|
-
|
|
606
|
+
y,
|
|
564
607
|
{
|
|
565
608
|
name: s,
|
|
566
609
|
size: "lg",
|
|
@@ -569,45 +612,45 @@ const Xe = u(
|
|
|
569
612
|
variant: "maker"
|
|
570
613
|
}
|
|
571
614
|
),
|
|
572
|
-
|
|
615
|
+
m ? /* @__PURE__ */ e("div", { className: "type-body ds:max-w-[28rem] ds:text-start", children: m }) : null
|
|
573
616
|
] })
|
|
574
617
|
) : null,
|
|
575
|
-
/* @__PURE__ */ e("div", { className: "ds:flex ds:flex-1 ds:items-center ds:justify-center ds:p-[var(--spacing-lg)]", children: /* @__PURE__ */ e(
|
|
618
|
+
/* @__PURE__ */ e("div", { className: "ds:flex ds:flex-1 ds:items-center ds:justify-center ds:p-[var(--spacing-lg)]", children: /* @__PURE__ */ e(F, { className: da({ layout: i }), children: /* @__PURE__ */ n(F.Body, { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-lg)] ds:text-center", children: [
|
|
576
619
|
/* @__PURE__ */ e(
|
|
577
|
-
|
|
620
|
+
y,
|
|
578
621
|
{
|
|
579
622
|
name: s,
|
|
580
623
|
size: "lg",
|
|
581
624
|
variant: "maker",
|
|
582
|
-
className:
|
|
625
|
+
className: ia({ layout: i })
|
|
583
626
|
}
|
|
584
627
|
),
|
|
585
628
|
/* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
586
|
-
/* @__PURE__ */ e("h1", { className: "type-title-card", children:
|
|
629
|
+
/* @__PURE__ */ e("h1", { className: "type-title-card", children: d }),
|
|
587
630
|
/* @__PURE__ */ e("p", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children: a })
|
|
588
631
|
] }),
|
|
589
|
-
|
|
632
|
+
r === "error" && l ? /* @__PURE__ */ e(xe, { variant: "error", className: "ds:w-full ds:text-start", children: l }) : null,
|
|
590
633
|
/* @__PURE__ */ e(
|
|
591
|
-
|
|
634
|
+
Ae,
|
|
592
635
|
{
|
|
593
636
|
intent: "primary",
|
|
594
637
|
className: "ds:w-full",
|
|
595
|
-
loading:
|
|
596
|
-
onClick:
|
|
597
|
-
label:
|
|
638
|
+
loading: r === "connecting",
|
|
639
|
+
onClick: o,
|
|
640
|
+
label: t,
|
|
598
641
|
"data-testid": "connect-with-alfadocs-button"
|
|
599
642
|
}
|
|
600
643
|
),
|
|
601
|
-
|
|
644
|
+
c ? /* @__PURE__ */ e("div", { className: "type-meta ds:text-[color:var(--muted-foreground)]", children: c }) : null
|
|
602
645
|
] }) }) })
|
|
603
646
|
]
|
|
604
647
|
}
|
|
605
648
|
)
|
|
606
649
|
);
|
|
607
|
-
|
|
650
|
+
la.displayName = "ConnectWithAlfadocs";
|
|
608
651
|
export {
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
652
|
+
la as C,
|
|
653
|
+
ra as M,
|
|
654
|
+
y as P
|
|
612
655
|
};
|
|
613
|
-
//# sourceMappingURL=marketplace-app-shell-
|
|
656
|
+
//# sourceMappingURL=marketplace-app-shell-p6hPgVwy.js.map
|