@flamingo-stack/openframe-frontend-core 0.0.710 → 0.0.712
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/chunk-2NASBO7O.js +1137 -0
- package/dist/{chunk-RQRX4YC3.cjs → chunk-2RKFMUNW.cjs} +46 -46
- package/dist/chunk-2Y7QZAB2.cjs +158 -0
- package/dist/chunk-34I6XI3N.js +136 -0
- package/dist/chunk-3K5ZLZE7.js +292 -0
- package/dist/chunk-3LU4UFPS.cjs +14 -0
- package/dist/{chunk-YBUT4AMG.cjs → chunk-3RKBJT6K.cjs} +8 -6
- package/dist/{chunk-LNW45N2C.js → chunk-3SEEGNRE.js} +35 -27
- package/dist/{chunk-L6Y6OOKG.cjs → chunk-3UAJLO5U.cjs} +41 -39
- package/dist/chunk-4HJRHEXD.cjs +1612 -0
- package/dist/{chunk-JPG7OHEG.js → chunk-4QFWGLZO.js} +1 -1
- package/dist/chunk-4R2L3DSA.js +14 -0
- package/dist/{chunk-36BCTE7D.js → chunk-4UYKNOZG.js} +12 -10
- package/dist/{chunk-DA5UDTLG.js → chunk-5SDELRH3.js} +5 -5
- package/dist/{chunk-CZSZSDD4.js → chunk-5Y72YQEK.js} +22 -113
- package/dist/{chunk-KUC673HM.js → chunk-6T3BTD6Q.js} +204 -982
- package/dist/{chunk-F57ECE2I.js → chunk-6YPTUHM7.js} +4 -4
- package/dist/{chunk-TDYIREDJ.js → chunk-7HNYYNKE.js} +28 -22
- package/dist/{chunk-2G7UYK35.cjs → chunk-7NSU5EQD.cjs} +57 -148
- package/dist/chunk-AAYNCJMW.cjs +48 -0
- package/dist/{chunk-FXJ3WWUB.js → chunk-ADBE7QF3.js} +5 -252
- package/dist/chunk-AECTRMGQ.cjs +334 -0
- package/dist/chunk-AGVXKD4K.js +334 -0
- package/dist/chunk-AL2GUHAJ.cjs +18 -0
- package/dist/{chunk-WMX26HB5.js → chunk-APJZBDQN.js} +12 -12
- package/dist/chunk-AUMKE74M.cjs +16 -0
- package/dist/chunk-B4NCVYEQ.cjs +292 -0
- package/dist/{chunk-2RNB5DTN.cjs → chunk-BXSRTBLU.cjs} +82 -54
- package/dist/chunk-CMGFZHCN.js +233 -0
- package/dist/chunk-CMZ3QTFQ.js +1207 -0
- package/dist/chunk-CPA2CKRZ.cjs +125 -0
- package/dist/{chunk-B73373AG.cjs → chunk-CSCJU6YC.cjs} +35 -33
- package/dist/chunk-CYUUHFXL.js +41 -0
- package/dist/chunk-DC4RTYWK.cjs +1122 -0
- package/dist/{chunk-6YKAT7NV.js → chunk-DDWFCWOE.js} +5 -7
- package/dist/{chunk-F5FF4DME.js → chunk-EFNKS5W4.js} +322 -428
- package/dist/{chunk-2KXTOP6G.cjs → chunk-EOKSKJSS.cjs} +25 -83
- package/dist/{chunk-6NTPY5QA.cjs → chunk-ETYLOZOB.cjs} +978 -2413
- package/dist/chunk-F5BPGWGT.cjs +931 -0
- package/dist/{chunk-4L6XCMOU.js → chunk-FCAVAEHF.js} +8277 -9990
- package/dist/chunk-FFT56TYB.cjs +401 -0
- package/dist/chunk-FYEJTF5Y.js +125 -0
- package/dist/chunk-G3GRYDMS.js +16 -0
- package/dist/{chunk-MR3A4MZV.js → chunk-G3OMVCID.js} +13 -7
- package/dist/chunk-G6OHIX5C.cjs +100 -0
- package/dist/{chunk-UDFRUKLC.cjs → chunk-GEDY7HQI.cjs} +2 -2
- package/dist/chunk-GQ7JJUIT.cjs +1207 -0
- package/dist/chunk-H3PKYE4N.js +18 -0
- package/dist/{chunk-CNWOMQQJ.js → chunk-H5R7U2D2.js} +206 -5
- package/dist/{chunk-SEXWHIMS.cjs → chunk-HETQETPV.cjs} +9648 -9680
- package/dist/{chunk-Y2GSOUCS.cjs → chunk-HWVUR735.cjs} +2 -2
- package/dist/chunk-II4QMH26.cjs +35 -0
- package/dist/chunk-ILNN6QRW.js +1612 -0
- package/dist/chunk-IYVFSLWJ.js +931 -0
- package/dist/{chunk-3AHTOSXJ.cjs → chunk-JGCFRTND.cjs} +23 -17
- package/dist/chunk-JHQ334WS.js +655 -0
- package/dist/{chunk-WCVZCGK5.cjs → chunk-JO5TLJPM.cjs} +129 -907
- package/dist/{chunk-JRU2CXLB.cjs → chunk-JVCAK4W3.cjs} +210 -9
- package/dist/chunk-KBJJQFYU.js +1122 -0
- package/dist/chunk-KEKCQENI.js +48 -0
- package/dist/chunk-KHXZFLIN.cjs +41 -0
- package/dist/chunk-KT3U3ZRP.cjs +1137 -0
- package/dist/chunk-L2VUINHN.js +35 -0
- package/dist/{chunk-P42V6N34.cjs → chunk-L6ZQGWCX.cjs} +4521 -6234
- package/dist/{chunk-PLYEKV3N.cjs → chunk-MA4Q5RBP.cjs} +6 -6
- package/dist/{chunk-SS5MBHDP.js → chunk-N67XG5GY.js} +10 -8
- package/dist/chunk-NPAQSMRY.js +2087 -0
- package/dist/{chunk-I3ST4PLM.js → chunk-NQWJAOHO.js} +6 -4
- package/dist/{chunk-QAOFMK2A.cjs → chunk-OBZJICEA.cjs} +8 -8
- package/dist/{chunk-6IW7TWPV.js → chunk-OPYODNV2.js} +3 -3
- package/dist/chunk-P3JMAMHP.js +401 -0
- package/dist/chunk-PPXR22YC.cjs +2087 -0
- package/dist/chunk-PSVSEN4J.cjs +655 -0
- package/dist/{chunk-4UM2ETLM.js → chunk-RBYVFPER.js} +74 -46
- package/dist/{chunk-PO33GZVY.js → chunk-ROBQ5TR7.js} +10549 -10581
- package/dist/{chunk-ZCLBYT2V.cjs → chunk-T3CLXR43.cjs} +114 -220
- package/dist/{chunk-FI6GMDO7.js → chunk-TTVOLEUS.js} +3605 -5040
- package/dist/{chunk-LM7TXMLU.cjs → chunk-ULWVKHSI.cjs} +8 -255
- package/dist/{chunk-6I4ZAFO2.cjs → chunk-UT3ODMBU.cjs} +15 -15
- package/dist/chunk-WANCBTUE.js +71 -0
- package/dist/{chunk-BIZNSF3U.cjs → chunk-WBNAEYTQ.cjs} +2 -51
- package/dist/chunk-WFPCCBOM.cjs +71 -0
- package/dist/chunk-WI6FHKD7.js +158 -0
- package/dist/chunk-WMNCVLES.js +100 -0
- package/dist/{chunk-UT4YHQZW.js → chunk-WSDT7LYL.js} +0 -49
- package/dist/chunk-WVOTC7HW.cjs +136 -0
- package/dist/{chunk-AOWDNSTM.cjs → chunk-WWJG4GVG.cjs} +93 -87
- package/dist/chunk-XXBLN4BP.cjs +233 -0
- package/dist/{chunk-4IBPRIQH.js → chunk-YBQQNDC7.js} +1 -1
- package/dist/{chunk-LFFB6EMB.js → chunk-YBS5QGON.js} +70 -128
- package/dist/{chunk-NSGXARGJ.cjs → chunk-Z5SWJW5Q.cjs} +125 -117
- package/dist/{chunk-OJLR5MEO.cjs → chunk-ZX7SCPLO.cjs} +6 -8
- package/dist/cloud-tenants-KZUZGD4A.cjs +117 -0
- package/dist/cloud-tenants-OGLVVQ7X.js +117 -0
- package/dist/components/case-studies/index.cjs +45 -29
- package/dist/components/case-studies/index.js +32 -16
- package/dist/components/chat/ask-prompts.d.ts +64 -0
- package/dist/components/chat/ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/case-study-card.d.ts +6 -3
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-chat-dialog-manager.d.ts +4 -1
- package/dist/components/chat/hooks/use-chat-dialog-manager.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +27 -8
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +57 -38
- package/dist/components/chat/quick-action-chip.d.ts +7 -3
- package/dist/components/chat/quick-action-chip.d.ts.map +1 -1
- package/dist/components/chat/types/component.types.d.ts +4 -0
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/chat/types/unified-chat-state.types.d.ts +12 -0
- package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +29 -13
- package/dist/components/contact/index.js +28 -12
- package/dist/components/docs/index.cjs +33 -16
- package/dist/components/docs/index.js +33 -16
- package/dist/components/docs/use-scroll-spy.d.ts +23 -1
- package/dist/components/docs/use-scroll-spy.d.ts.map +1 -1
- package/dist/components/embeds/index.cjs +29 -13
- package/dist/components/embeds/index.js +28 -12
- package/dist/components/faq/faq-section.d.ts +8 -1
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +30 -14
- package/dist/components/faq/index.js +29 -13
- package/dist/components/features/array-entry-manager.d.ts +5 -1
- package/dist/components/features/array-entry-manager.d.ts.map +1 -1
- package/dist/components/features/board/board.d.ts +2 -0
- package/dist/components/features/board/board.d.ts.map +1 -1
- package/dist/components/features/board/ticket-card.d.ts.map +1 -1
- package/dist/components/features/board/touch-board.d.ts +1 -1
- package/dist/components/features/board/touch-board.d.ts.map +1 -1
- package/dist/components/features/board/types.d.ts +3 -0
- package/dist/components/features/board/types.d.ts.map +1 -1
- package/dist/components/features/board/use-board-collapse.d.ts +6 -1
- package/dist/components/features/board/use-board-collapse.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.d.ts +94 -0
- package/dist/components/features/capability-explorer.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/index.d.ts +14 -0
- package/dist/components/features/cloud-tenants/index.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-access-cell.d.ts +9 -0
- package/dist/components/features/cloud-tenants/tenant-access-cell.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-cell.d.ts +8 -0
- package/dist/components/features/cloud-tenants/tenant-cell.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-customer-cell.d.ts +9 -0
- package/dist/components/features/cloud-tenants/tenant-customer-cell.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-presentation.d.ts +42 -0
- package/dist/components/features/cloud-tenants/tenant-presentation.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-row.d.ts +22 -0
- package/dist/components/features/cloud-tenants/tenant-row.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenants-table-columns.d.ts +42 -0
- package/dist/components/features/cloud-tenants/tenants-table-columns.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenants-table-view.d.ts +26 -0
- package/dist/components/features/cloud-tenants/tenants-table-view.d.ts.map +1 -0
- package/dist/components/features/devices/device-last-online.d.ts +3 -0
- package/dist/components/features/devices/device-last-online.d.ts.map +1 -0
- package/dist/components/features/devices/device-name.d.ts +42 -0
- package/dist/components/features/devices/device-name.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selection-mode-radio.d.ts +26 -0
- package/dist/components/features/devices/device-selector/device-selection-mode-radio.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts +25 -0
- package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selector.d.ts +38 -0
- package/dist/components/features/devices/device-selector/device-selector.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selector.types.d.ts +133 -0
- package/dist/components/features/devices/device-selector/device-selector.types.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/narrowing.d.ts +13 -0
- package/dist/components/features/devices/device-selector/narrowing.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/use-device-selector.d.ts +17 -0
- package/dist/components/features/devices/device-selector/use-device-selector.d.ts.map +1 -0
- package/dist/components/features/devices/device-status.d.ts +23 -0
- package/dist/components/features/devices/device-status.d.ts.map +1 -0
- package/dist/components/features/devices/device-statuses.d.ts +40 -0
- package/dist/components/features/devices/device-statuses.d.ts.map +1 -0
- package/dist/components/features/devices/device-tags-filter-button.d.ts +22 -0
- package/dist/components/features/devices/device-tags-filter-button.d.ts.map +1 -0
- package/dist/components/features/devices/device-type-icon.d.ts +11 -0
- package/dist/components/features/devices/device-type-icon.d.ts.map +1 -0
- package/dist/components/features/devices/device-type-tile.d.ts +9 -0
- package/dist/components/features/devices/device-type-tile.d.ts.map +1 -0
- package/dist/components/features/devices/devices-filter-toolbar.d.ts +46 -0
- package/dist/components/features/devices/devices-filter-toolbar.d.ts.map +1 -0
- package/dist/components/features/devices/devices-grid-filters.d.ts +25 -0
- package/dist/components/features/devices/devices-grid-filters.d.ts.map +1 -0
- package/dist/components/features/devices/devices-grid.d.ts +12 -0
- package/dist/components/features/devices/devices-grid.d.ts.map +1 -0
- package/dist/components/features/devices/devices-list.d.ts +131 -0
- package/dist/components/features/devices/devices-list.d.ts.map +1 -0
- package/dist/components/features/devices/devices-panel-header.d.ts +46 -0
- package/dist/components/features/devices/devices-panel-header.d.ts.map +1 -0
- package/dist/components/features/devices/devices-panel-view.d.ts +79 -0
- package/dist/components/features/devices/devices-panel-view.d.ts.map +1 -0
- package/dist/components/features/devices/devices-table-columns.d.ts +76 -0
- package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -0
- package/dist/components/features/devices/devices-view-config.d.ts +25 -0
- package/dist/components/features/devices/devices-view-config.d.ts.map +1 -0
- package/dist/components/features/devices/index.d.ts +24 -0
- package/dist/components/features/devices/index.d.ts.map +1 -0
- package/dist/components/features/devices/types.d.ts +68 -0
- package/dist/components/features/devices/types.d.ts.map +1 -0
- package/dist/components/features/devices/use-tag-filter-modal.d.ts +50 -0
- package/dist/components/features/devices/use-tag-filter-modal.d.ts.map +1 -0
- package/dist/components/features/index.cjs +227 -12
- package/dist/components/features/index.d.ts +7 -0
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/index.js +266 -51
- package/dist/components/features/knowledge-base/index.d.ts +7 -0
- package/dist/components/features/knowledge-base/index.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-article-view.d.ts +44 -0
- package/dist/components/features/knowledge-base/knowledge-base-article-view.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-item-icon.d.ts +13 -0
- package/dist/components/features/knowledge-base/knowledge-base-item-icon.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-status.d.ts +8 -0
- package/dist/components/features/knowledge-base/knowledge-base-status.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-table.d.ts +52 -0
- package/dist/components/features/knowledge-base/knowledge-base-table.d.ts.map +1 -0
- package/dist/components/features/logs/index.d.ts +12 -0
- package/dist/components/features/logs/index.d.ts.map +1 -0
- package/dist/components/features/logs/log-drawer.d.ts +29 -0
- package/dist/components/features/logs/log-drawer.d.ts.map +1 -0
- package/dist/components/features/logs/log-source-labels.d.ts +11 -0
- package/dist/components/features/logs/log-source-labels.d.ts.map +1 -0
- package/dist/components/features/logs/logs-page-view.d.ts +32 -0
- package/dist/components/features/logs/logs-page-view.d.ts.map +1 -0
- package/dist/components/features/logs/logs-table-columns.d.ts +15 -0
- package/dist/components/features/logs/logs-table-columns.d.ts.map +1 -0
- package/dist/components/features/logs/logs-table-view.d.ts +64 -0
- package/dist/components/features/logs/logs-table-view.d.ts.map +1 -0
- package/dist/components/features/logs/types.d.ts +52 -0
- package/dist/components/features/logs/types.d.ts.map +1 -0
- package/dist/components/features/policies/compute-policy-summary.d.ts +37 -0
- package/dist/components/features/policies/compute-policy-summary.d.ts.map +1 -0
- package/dist/components/features/policies/index.d.ts +8 -0
- package/dist/components/features/policies/index.d.ts.map +1 -0
- package/dist/components/features/policies/policies-table.d.ts +34 -0
- package/dist/components/features/policies/policies-table.d.ts.map +1 -0
- package/dist/components/features/policies/policy-summary-cards.d.ts +17 -0
- package/dist/components/features/policies/policy-summary-cards.d.ts.map +1 -0
- package/dist/components/features/policies/policy-table-row.d.ts +37 -0
- package/dist/components/features/policies/policy-table-row.d.ts.map +1 -0
- package/dist/components/features/remote-session/index.d.ts +8 -0
- package/dist/components/features/remote-session/index.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts +21 -0
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts.map +1 -0
- package/dist/components/features/remote-session/remote-desktop-chat-panel.d.ts +31 -0
- package/dist/components/features/remote-session/remote-desktop-chat-panel.d.ts.map +1 -0
- package/dist/components/features/remote-session/remote-desktop-fullscreen-toolbar.d.ts +21 -0
- package/dist/components/features/remote-session/remote-desktop-fullscreen-toolbar.d.ts.map +1 -0
- package/dist/components/features/remote-session/remote-desktop-view.d.ts +50 -0
- package/dist/components/features/remote-session/remote-desktop-view.d.ts.map +1 -0
- package/dist/components/features/software/index.d.ts +8 -0
- package/dist/components/features/software/index.d.ts.map +1 -0
- package/dist/components/features/software/package-managers.d.ts +30 -0
- package/dist/components/features/software/package-managers.d.ts.map +1 -0
- package/dist/components/features/software/package-search-field-placeholder.d.ts +7 -0
- package/dist/components/features/software/package-search-field-placeholder.d.ts.map +1 -0
- package/dist/components/features/software/schedule-fields.d.ts +34 -0
- package/dist/components/features/software/schedule-fields.d.ts.map +1 -0
- package/dist/components/features/software/software-action-copy.d.ts +25 -0
- package/dist/components/features/software/software-action-copy.d.ts.map +1 -0
- package/dist/components/features/software/software-action-form.d.ts +71 -0
- package/dist/components/features/software/software-action-form.d.ts.map +1 -0
- package/dist/components/features/software/software-row-fields.d.ts +23 -0
- package/dist/components/features/software/software-row-fields.d.ts.map +1 -0
- package/dist/components/features/software/software-row.d.ts +18 -0
- package/dist/components/features/software/software-row.d.ts.map +1 -0
- package/dist/components/features/sortable-list/index.d.ts +1 -0
- package/dist/components/features/sortable-list/index.d.ts.map +1 -1
- package/dist/components/features/sortable-list/sortable-drag-handle.d.ts +21 -0
- package/dist/components/features/sortable-list/sortable-drag-handle.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +133 -114
- package/dist/components/help-center-pages/index.js +58 -39
- package/dist/components/index.cjs +320 -82
- package/dist/components/index.js +451 -213
- package/dist/components/layout/page-heading.d.ts +12 -3
- package/dist/components/layout/page-heading.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +120 -98
- package/dist/components/meeting-scheduler/index.js +50 -28
- package/dist/components/navigation/index.cjs +36 -17
- package/dist/components/navigation/index.d.ts +3 -0
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +36 -17
- package/dist/components/navigation/mingo-ai-button.d.ts +23 -10
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/navigation/sticky-section-nav.d.ts +14 -1
- package/dist/components/navigation/sticky-section-nav.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +32 -16
- package/dist/components/onboarding-guides/index.js +31 -15
- package/dist/components/product-demo/cast.d.ts +58 -0
- package/dist/components/product-demo/cast.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/cloud-tenants.d.ts +10 -0
- package/dist/components/product-demo/fixtures/cloud-tenants.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/devices.d.ts +14 -0
- package/dist/components/product-demo/fixtures/devices.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/knowledge.d.ts +14 -0
- package/dist/components/product-demo/fixtures/knowledge.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/logs.d.ts +15 -0
- package/dist/components/product-demo/fixtures/logs.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/policies.d.ts +13 -0
- package/dist/components/product-demo/fixtures/policies.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/remote-session.d.ts +20 -0
- package/dist/components/product-demo/fixtures/remote-session.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/shared.d.ts +156 -0
- package/dist/components/product-demo/fixtures/shared.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/software-update.d.ts +19 -0
- package/dist/components/product-demo/fixtures/software-update.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/tickets-board.d.ts +8 -0
- package/dist/components/product-demo/fixtures/tickets-board.d.ts.map +1 -0
- package/dist/components/product-demo/index.cjs +112 -0
- package/dist/components/product-demo/index.d.ts +6 -0
- package/dist/components/product-demo/index.d.ts.map +1 -0
- package/dist/components/product-demo/index.js +112 -0
- package/dist/components/product-demo/product-screen.d.ts +22 -0
- package/dist/components/product-demo/product-screen.d.ts.map +1 -0
- package/dist/components/product-demo/registry.d.ts +13 -0
- package/dist/components/product-demo/registry.d.ts.map +1 -0
- package/dist/components/product-demo/screen-keys.cjs +25 -0
- package/dist/components/product-demo/screen-keys.d.ts +27 -0
- package/dist/components/product-demo/screen-keys.d.ts.map +1 -0
- package/dist/components/product-demo/screen-keys.js +20 -0
- package/dist/components/product-demo/screens/cloud-tenants.d.ts +8 -0
- package/dist/components/product-demo/screens/cloud-tenants.d.ts.map +1 -0
- package/dist/components/product-demo/screens/devices.d.ts +10 -0
- package/dist/components/product-demo/screens/devices.d.ts.map +1 -0
- package/dist/components/product-demo/screens/knowledge.d.ts +9 -0
- package/dist/components/product-demo/screens/knowledge.d.ts.map +1 -0
- package/dist/components/product-demo/screens/logs.d.ts +4 -0
- package/dist/components/product-demo/screens/logs.d.ts.map +1 -0
- package/dist/components/product-demo/screens/policies.d.ts +8 -0
- package/dist/components/product-demo/screens/policies.d.ts.map +1 -0
- package/dist/components/product-demo/screens/remote-desktop-picture.d.ts +11 -0
- package/dist/components/product-demo/screens/remote-desktop-picture.d.ts.map +1 -0
- package/dist/components/product-demo/screens/remote-session.d.ts +8 -0
- package/dist/components/product-demo/screens/remote-session.d.ts.map +1 -0
- package/dist/components/product-demo/screens/software-update.d.ts +12 -0
- package/dist/components/product-demo/screens/software-update.d.ts.map +1 -0
- package/dist/components/product-demo/screens/tickets-board.d.ts +4 -0
- package/dist/components/product-demo/screens/tickets-board.d.ts.map +1 -0
- package/dist/components/product-demo/types.d.ts +9 -0
- package/dist/components/product-demo/types.d.ts.map +1 -0
- package/dist/components/related-content/index.cjs +14 -8
- package/dist/components/related-content/index.js +13 -7
- package/dist/components/tickets/index.cjs +36 -20
- package/dist/components/tickets/index.js +35 -19
- package/dist/components/ui/file-manager/index.cjs +38 -34
- package/dist/components/ui/file-manager/index.js +8 -4
- package/dist/components/ui/index.cjs +57 -17
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +141 -101
- package/dist/components/ui/product-screen-frame.d.ts +45 -0
- package/dist/components/ui/product-screen-frame.d.ts.map +1 -0
- package/dist/components/ui/radio-group.d.ts +5 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/snap-carousel.d.ts +11 -1
- package/dist/components/ui/snap-carousel.d.ts.map +1 -1
- package/dist/components/ui/tag.d.ts +1 -1
- package/dist/components/ui/tag.d.ts.map +1 -1
- package/dist/devices-LBMG42K6.js +81 -0
- package/dist/devices-YGYJIXQY.cjs +81 -0
- package/dist/hooks/index.cjs +17 -8
- package/dist/hooks/index.js +32 -23
- package/dist/hooks/ui/index.d.ts +1 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/use-header-height.d.ts +12 -0
- package/dist/hooks/ui/use-header-height.d.ts.map +1 -1
- package/dist/hooks/ui/use-sticky-toolbar.d.ts +29 -0
- package/dist/hooks/ui/use-sticky-toolbar.d.ts.map +1 -0
- package/dist/hooks/use-location-hash.d.ts +2 -2
- package/dist/hooks/use-location-hash.d.ts.map +1 -1
- package/dist/hooks/use-scroll-to-hash.d.ts +7 -0
- package/dist/hooks/use-scroll-to-hash.d.ts.map +1 -1
- package/dist/index.cjs +276 -25
- package/dist/index.js +729 -478
- package/dist/knowledge-H5BIWJVI.js +108 -0
- package/dist/knowledge-KTCVJIWN.cjs +108 -0
- package/dist/logs-DB5Z7M5Q.js +216 -0
- package/dist/logs-RVCC2UQW.cjs +216 -0
- package/dist/policies-EWUULFBR.js +121 -0
- package/dist/policies-HV4IQCBV.cjs +121 -0
- package/dist/remote-session-GSGZOFDX.js +196 -0
- package/dist/remote-session-R6VAFESR.cjs +196 -0
- package/dist/software-update-6PXKRKBT.js +179 -0
- package/dist/software-update-D4OVSWSG.cjs +179 -0
- package/dist/tickets-board-BHLPAVNJ.cjs +137 -0
- package/dist/tickets-board-PYDNELSK.js +137 -0
- package/dist/types/case-study.d.ts +15 -1
- package/dist/types/case-study.d.ts.map +1 -1
- package/dist/utils/date-utils.d.ts +5 -0
- package/dist/utils/date-utils.d.ts.map +1 -1
- package/dist/utils/index.cjs +45 -2
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +41 -3
- package/dist/utils/open-in-new-tab.d.ts +7 -0
- package/dist/utils/open-in-new-tab.d.ts.map +1 -0
- package/dist/utils/same-page-hash-nav.d.ts +31 -0
- package/dist/utils/same-page-hash-nav.d.ts.map +1 -1
- package/dist/utils/scroll-into-view.d.ts +14 -1
- package/dist/utils/scroll-into-view.d.ts.map +1 -1
- package/package.json +13 -1
- package/src/components/chat/ask-prompts.tsx +226 -0
- package/src/components/chat/embeddable-chat.tsx +38 -2
- package/src/components/chat/entity-cards/case-study-card.tsx +122 -46
- package/src/components/chat/hooks/use-chat-dialog-manager.ts +22 -4
- package/src/components/chat/hooks/use-unified-chat.ts +1 -0
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/quick-action-chip.tsx +33 -9
- package/src/components/chat/types/component.types.ts +4 -0
- package/src/components/chat/types/unified-chat-state.types.ts +13 -0
- package/src/components/docs/use-scroll-spy.ts +93 -18
- package/src/components/faq/faq-section.tsx +82 -43
- package/src/components/features/array-entry-manager.tsx +10 -1
- package/src/components/features/board/board.tsx +4 -1
- package/src/components/features/board/ticket-card.tsx +11 -1
- package/src/components/features/board/touch-board.tsx +2 -1
- package/src/components/features/board/types.ts +3 -0
- package/src/components/features/board/use-board-collapse.ts +7 -2
- package/src/components/features/capability-explorer.tsx +412 -0
- package/src/components/features/cloud-tenants/index.ts +28 -0
- package/src/components/features/cloud-tenants/tenant-access-cell.tsx +24 -0
- package/src/components/features/cloud-tenants/tenant-cell.tsx +26 -0
- package/src/components/features/cloud-tenants/tenant-customer-cell.tsx +27 -0
- package/src/components/features/cloud-tenants/tenant-presentation.ts +111 -0
- package/src/components/features/cloud-tenants/tenant-row.ts +21 -0
- package/src/components/features/cloud-tenants/tenants-table-columns.ts +30 -0
- package/src/components/features/cloud-tenants/tenants-table-view.tsx +142 -0
- package/src/components/features/devices/device-last-online.ts +6 -0
- package/src/components/features/devices/device-name.ts +51 -0
- package/src/components/features/devices/device-selector/device-selection-mode-radio.tsx +107 -0
- package/src/components/features/devices/device-selector/device-selector-skeleton.tsx +32 -0
- package/src/components/features/devices/device-selector/device-selector.tsx +799 -0
- package/src/components/features/devices/device-selector/device-selector.types.ts +138 -0
- package/src/components/features/devices/device-selector/narrowing.ts +33 -0
- package/src/components/features/devices/device-selector/use-device-selector.ts +51 -0
- package/src/components/features/devices/device-status.ts +102 -0
- package/src/components/features/devices/device-statuses.ts +88 -0
- package/src/components/features/devices/device-tags-filter-button.tsx +49 -0
- package/src/components/features/devices/device-type-icon.tsx +29 -0
- package/src/components/features/devices/device-type-tile.tsx +17 -0
- package/src/components/features/devices/devices-filter-toolbar.tsx +114 -0
- package/src/components/features/devices/devices-grid-filters.tsx +99 -0
- package/src/components/features/devices/devices-grid.tsx +86 -0
- package/src/components/features/devices/devices-list.tsx +357 -0
- package/src/components/features/devices/devices-panel-header.tsx +97 -0
- package/src/components/features/devices/devices-panel-view.tsx +261 -0
- package/src/components/features/devices/devices-table-columns.tsx +356 -0
- package/src/components/features/devices/devices-view-config.tsx +38 -0
- package/src/components/features/devices/index.ts +89 -0
- package/src/components/features/devices/types.ts +74 -0
- package/src/components/features/devices/use-tag-filter-modal.ts +109 -0
- package/src/components/features/index.ts +9 -0
- package/src/components/features/knowledge-base/index.ts +19 -0
- package/src/components/features/knowledge-base/knowledge-base-article-view.tsx +134 -0
- package/src/components/features/knowledge-base/knowledge-base-item-icon.ts +14 -0
- package/src/components/features/knowledge-base/knowledge-base-status.ts +12 -0
- package/src/components/features/knowledge-base/knowledge-base-table.tsx +180 -0
- package/src/components/features/logs/index.ts +20 -0
- package/src/components/features/logs/log-drawer.tsx +138 -0
- package/src/components/features/logs/log-source-labels.ts +25 -0
- package/src/components/features/logs/logs-page-view.tsx +100 -0
- package/src/components/features/logs/logs-table-columns.ts +16 -0
- package/src/components/features/logs/logs-table-view.tsx +509 -0
- package/src/components/features/logs/types.ts +71 -0
- package/src/components/features/policies/compute-policy-summary.ts +115 -0
- package/src/components/features/policies/index.ts +14 -0
- package/src/components/features/policies/policies-table.tsx +235 -0
- package/src/components/features/policies/policy-summary-cards.tsx +69 -0
- package/src/components/features/policies/policy-table-row.ts +37 -0
- package/src/components/features/remote-session/index.ts +8 -0
- package/src/components/features/remote-session/remote-desktop-chat-message-row.tsx +56 -0
- package/src/components/features/remote-session/remote-desktop-chat-panel.tsx +102 -0
- package/src/components/features/remote-session/remote-desktop-fullscreen-toolbar.tsx +119 -0
- package/src/components/features/remote-session/remote-desktop-view.tsx +209 -0
- package/src/components/features/software/index.ts +39 -0
- package/src/components/features/software/package-managers.ts +54 -0
- package/src/components/features/software/package-search-field-placeholder.tsx +23 -0
- package/src/components/features/software/schedule-fields.tsx +105 -0
- package/src/components/features/software/software-action-copy.ts +70 -0
- package/src/components/features/software/software-action-form.tsx +199 -0
- package/src/components/features/software/software-row-fields.tsx +105 -0
- package/src/components/features/software/software-row.ts +22 -0
- package/src/components/features/sortable-list/index.ts +1 -0
- package/src/components/features/sortable-list/sortable-drag-handle.tsx +41 -0
- package/src/components/layout/page-heading.tsx +23 -6
- package/src/components/navigation/index.ts +5 -0
- package/src/components/navigation/mingo-ai-button.tsx +37 -13
- package/src/components/navigation/sticky-section-nav.tsx +99 -1
- package/src/components/product-demo/cast.tsx +78 -0
- package/src/components/product-demo/fixtures/cloud-tenants.ts +63 -0
- package/src/components/product-demo/fixtures/devices.ts +87 -0
- package/src/components/product-demo/fixtures/knowledge.ts +48 -0
- package/src/components/product-demo/fixtures/logs.ts +103 -0
- package/src/components/product-demo/fixtures/policies.ts +77 -0
- package/src/components/product-demo/fixtures/remote-session.ts +65 -0
- package/src/components/product-demo/fixtures/shared.ts +53 -0
- package/src/components/product-demo/fixtures/software-update.ts +63 -0
- package/src/components/product-demo/fixtures/tickets-board.ts +100 -0
- package/src/components/product-demo/index.ts +7 -0
- package/src/components/product-demo/product-screen.tsx +94 -0
- package/src/components/product-demo/registry.ts +20 -0
- package/src/components/product-demo/screen-keys.ts +31 -0
- package/src/components/product-demo/screens/cloud-tenants.tsx +23 -0
- package/src/components/product-demo/screens/devices.tsx +41 -0
- package/src/components/product-demo/screens/knowledge.tsx +27 -0
- package/src/components/product-demo/screens/logs.tsx +113 -0
- package/src/components/product-demo/screens/policies.tsx +29 -0
- package/src/components/product-demo/screens/remote-desktop-picture.tsx +118 -0
- package/src/components/product-demo/screens/remote-session.tsx +46 -0
- package/src/components/product-demo/screens/software-update.tsx +97 -0
- package/src/components/product-demo/screens/tickets-board.tsx +28 -0
- package/src/components/product-demo/types.ts +10 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/product-screen-frame.tsx +136 -0
- package/src/components/ui/radio-group.tsx +16 -4
- package/src/components/ui/snap-carousel.tsx +26 -1
- package/src/components/ui/tag.tsx +5 -0
- package/src/hooks/ui/index.ts +1 -0
- package/src/hooks/ui/use-header-height.ts +51 -2
- package/src/hooks/ui/use-sticky-toolbar.ts +60 -0
- package/src/hooks/use-location-hash.ts +9 -5
- package/src/hooks/use-scroll-to-hash.ts +9 -1
- package/src/types/case-study.ts +21 -1
- package/src/utils/date-utils.ts +8 -1
- package/src/utils/index.ts +5 -0
- package/src/utils/open-in-new-tab.ts +12 -0
- package/src/utils/same-page-hash-nav.ts +57 -0
- package/src/utils/scroll-into-view.ts +21 -5
- package/dist/chunk-BM5MVGH3.cjs +0 -499
- package/dist/chunk-CUME3VTQ.js +0 -144
- package/dist/chunk-CZ7Y7UG4.js +0 -732
- package/dist/chunk-FLKJYMVB.js +0 -499
- package/dist/chunk-OF6GEI5A.cjs +0 -144
- package/dist/chunk-UVTD52MD.cjs +0 -732
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkZX7SCPLOcjs = require('./chunk-ZX7SCPLO.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -12,40 +12,44 @@ var _chunkOJLR5MEOcjs = require('./chunk-OJLR5MEO.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
var _chunkL6ZQGWCXcjs = require('./chunk-L6ZQGWCX.cjs');
|
|
15
16
|
|
|
16
17
|
|
|
17
|
-
var _chunkP42V6N34cjs = require('./chunk-P42V6N34.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
var _chunkJO5TLJPMcjs = require('./chunk-JO5TLJPM.cjs');
|
|
21
22
|
|
|
22
23
|
|
|
24
|
+
var _chunkB4NCVYEQcjs = require('./chunk-B4NCVYEQ.cjs');
|
|
23
25
|
|
|
24
26
|
|
|
25
27
|
|
|
26
28
|
|
|
27
|
-
var _chunkWCVZCGK5cjs = require('./chunk-WCVZCGK5.cjs');
|
|
28
29
|
|
|
29
30
|
|
|
31
|
+
var _chunkHETQETPVcjs = require('./chunk-HETQETPV.cjs');
|
|
30
32
|
|
|
31
|
-
var _chunkSEXWHIMScjs = require('./chunk-SEXWHIMS.cjs');
|
|
32
33
|
|
|
34
|
+
var _chunkGQ7JJUITcjs = require('./chunk-GQ7JJUIT.cjs');
|
|
33
35
|
|
|
34
|
-
var _chunkUVTD52MDcjs = require('./chunk-UVTD52MD.cjs');
|
|
35
36
|
|
|
36
37
|
|
|
38
|
+
var _chunkETYLOZOBcjs = require('./chunk-ETYLOZOB.cjs');
|
|
37
39
|
|
|
38
40
|
|
|
39
41
|
|
|
40
|
-
var
|
|
42
|
+
var _chunkF5BPGWGTcjs = require('./chunk-F5BPGWGT.cjs');
|
|
41
43
|
|
|
42
44
|
|
|
45
|
+
var _chunkAAYNCJMWcjs = require('./chunk-AAYNCJMW.cjs');
|
|
43
46
|
|
|
44
47
|
|
|
45
48
|
|
|
46
49
|
|
|
47
50
|
|
|
48
|
-
|
|
51
|
+
|
|
52
|
+
var _chunkULWVKHSIcjs = require('./chunk-ULWVKHSI.cjs');
|
|
49
53
|
|
|
50
54
|
|
|
51
55
|
|
|
@@ -71,7 +75,7 @@ var _chunkVX4E6YSBcjs = require('./chunk-VX4E6YSB.cjs');
|
|
|
71
75
|
|
|
72
76
|
|
|
73
77
|
|
|
74
|
-
var
|
|
78
|
+
var _chunk2Y7QZAB2cjs = require('./chunk-2Y7QZAB2.cjs');
|
|
75
79
|
|
|
76
80
|
|
|
77
81
|
var _chunk4GFNWALLcjs = require('./chunk-4GFNWALL.cjs');
|
|
@@ -88,113 +92,6 @@ var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
|
88
92
|
// src/components/navigation/site-header.tsx
|
|
89
93
|
var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
90
94
|
|
|
91
|
-
// src/components/navigation/mingo-ai-button.tsx
|
|
92
|
-
|
|
93
|
-
var _jsxruntime = require('react/jsx-runtime');
|
|
94
|
-
var MINGO_ACCENT = "var(--ods-flamingo-cyan-base)";
|
|
95
|
-
var ASK_AI_OPEN_EVENT = "ask-ai:open";
|
|
96
|
-
function openAskAi(source) {
|
|
97
|
-
window.dispatchEvent(new CustomEvent(ASK_AI_OPEN_EVENT, { detail: { source: _nullishCoalesce(source, () => ( "")) } }));
|
|
98
|
-
}
|
|
99
|
-
function MingoAiButton({
|
|
100
|
-
source,
|
|
101
|
-
icon,
|
|
102
|
-
label = "Mingo AI",
|
|
103
|
-
shortcutHint = false,
|
|
104
|
-
variant = "inline",
|
|
105
|
-
className,
|
|
106
|
-
onClick,
|
|
107
|
-
...props
|
|
108
|
-
}) {
|
|
109
|
-
const visitor = _chunkWCVZCGK5cjs.useVisitorOs.call(void 0, );
|
|
110
|
-
const field = variant === "field";
|
|
111
|
-
const commandKey = visitor.known && _chunkWCVZCGK5cjs.usesCommandKey.call(void 0, visitor.os);
|
|
112
|
-
_react.useEffect.call(void 0, () => {
|
|
113
|
-
if (!shortcutHint) return void 0;
|
|
114
|
-
const onKeyDown = (event) => {
|
|
115
|
-
if (event.defaultPrevented || event.altKey || event.shiftKey) return;
|
|
116
|
-
const modifier = commandKey ? event.metaKey && !event.ctrlKey : event.ctrlKey && !event.metaKey;
|
|
117
|
-
if (event.key.toLowerCase() !== "k" || !modifier) return;
|
|
118
|
-
event.preventDefault();
|
|
119
|
-
openAskAi(source);
|
|
120
|
-
};
|
|
121
|
-
window.addEventListener("keydown", onKeyDown);
|
|
122
|
-
return () => window.removeEventListener("keydown", onKeyDown);
|
|
123
|
-
}, [shortcutHint, source, commandKey]);
|
|
124
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
125
|
-
_chunkDFQYAYBHcjs.Button,
|
|
126
|
-
{
|
|
127
|
-
...props,
|
|
128
|
-
type: "button",
|
|
129
|
-
variant: field ? "glyph" : "transparent",
|
|
130
|
-
size: "wrap",
|
|
131
|
-
font: "regular",
|
|
132
|
-
"aria-label": label,
|
|
133
|
-
"aria-keyshortcuts": shortcutHint && visitor.known ? commandKey ? "Meta+K" : "Control+K" : void 0,
|
|
134
|
-
onClick: (e) => {
|
|
135
|
-
openAskAi(source);
|
|
136
|
-
_optionalChain([onClick, 'optionalCall', _2 => _2(e)]);
|
|
137
|
-
},
|
|
138
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
139
|
-
"group/mingo flex shrink-0 justify-start focus-visible:ring-ods-accent",
|
|
140
|
-
field ? (
|
|
141
|
-
// A row of the mobile menu like the groups under it: same height,
|
|
142
|
-
// type and divider, no surface and no ring of its own.
|
|
143
|
-
"min-h-14 w-full gap-[var(--spacing-system-sf)] rounded-none border-b border-ods-border text-left text-h4 [&_svg]:h-6 [&_svg]:w-6"
|
|
144
|
-
) : (
|
|
145
|
-
// Transparent at rest so it inherits the bar's background; the hover
|
|
146
|
-
// wash is the menu items' own.
|
|
147
|
-
"h-10 gap-[var(--spacing-system-xsf)] rounded-md pl-[var(--spacing-system-xsf)] pr-2.5 text-ods-text-secondary hover:text-ods-text-primary"
|
|
148
|
-
),
|
|
149
|
-
className
|
|
150
|
-
),
|
|
151
|
-
children: [
|
|
152
|
-
!field && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
153
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "mingo-edge-frame pointer-events-none absolute inset-0 rounded-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "mingo-edge" }) }),
|
|
154
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "pointer-events-none absolute inset-0 overflow-hidden rounded-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
155
|
-
"span",
|
|
156
|
-
{
|
|
157
|
-
className: "mingo-shimmer absolute inset-y-0 left-0 w-1/2",
|
|
158
|
-
style: {
|
|
159
|
-
background: "linear-gradient(105deg, transparent, color-mix(in srgb, var(--ods-system-greys-white) 12%, transparent), transparent)"
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
) })
|
|
163
|
-
] }),
|
|
164
|
-
icon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
165
|
-
"span",
|
|
166
|
-
{
|
|
167
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
168
|
-
"relative inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
169
|
-
field ? "size-6" : "size-5"
|
|
170
|
-
),
|
|
171
|
-
children: icon
|
|
172
|
-
}
|
|
173
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
174
|
-
_chunkLLSUVPQCcjs.MingoIcon,
|
|
175
|
-
{
|
|
176
|
-
color: "currentColor",
|
|
177
|
-
eyesColor: MINGO_ACCENT,
|
|
178
|
-
cornerColor: MINGO_ACCENT,
|
|
179
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0, "relative shrink-0 text-ods-text-primary", field ? "size-6" : "size-5")
|
|
180
|
-
}
|
|
181
|
-
),
|
|
182
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
183
|
-
"span",
|
|
184
|
-
{
|
|
185
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0, "relative whitespace-nowrap", field ? "min-w-0 flex-1 truncate" : "hidden text-h6 lg:inline"),
|
|
186
|
-
children: label
|
|
187
|
-
}
|
|
188
|
-
),
|
|
189
|
-
shortcutHint && !field && // A key cap in the label's own type (never smaller: a hint nobody can
|
|
190
|
-
// read is decoration) and the label's colour, which clears 4.5:1 on
|
|
191
|
-
// the bar. It keeps its width before the platform is known.
|
|
192
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "kbd", { className: "relative hidden h-6 min-w-9 items-center justify-center rounded border border-ods-border px-[var(--spacing-system-xxs)] text-h6 lg:inline-flex", children: visitor.known ? _chunkWCVZCGK5cjs.shortcutLabel.call(void 0, visitor.os, "K") : "" })
|
|
193
|
-
]
|
|
194
|
-
}
|
|
195
|
-
);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
95
|
// src/components/navigation/mobile-nav-sheet-id.ts
|
|
199
96
|
var MOBILE_NAV_SHEET_ID = "mobile-nav-sheet";
|
|
200
97
|
|
|
@@ -202,7 +99,7 @@ var MOBILE_NAV_SHEET_ID = "mobile-nav-sheet";
|
|
|
202
99
|
|
|
203
100
|
|
|
204
101
|
// src/components/navigation/site-nav-link.tsx
|
|
205
|
-
|
|
102
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
206
103
|
var defaultRenderSiteNavLink = ({ link, children, ...rest }) => link.external ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLRGR4I5cjs.next_link_default, { href: link.href, target: "_blank", rel: "noopener noreferrer", ...rest, children }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLRGR4I5cjs.next_link_default, { href: link.href, ...rest, children });
|
|
207
104
|
function navLinkLabel(link) {
|
|
208
105
|
return link.count === void 0 ? link.label : link.label.replace("{count}", String(link.count));
|
|
@@ -224,7 +121,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
224
121
|
{
|
|
225
122
|
"aria-hidden": "true",
|
|
226
123
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex shrink-0 items-center justify-center overflow-hidden rounded-full", box),
|
|
227
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
124
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.EntityIcon, { icon: link.icon, className: "h-full w-full" })
|
|
228
125
|
}
|
|
229
126
|
);
|
|
230
127
|
}
|
|
@@ -237,7 +134,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
237
134
|
"flex shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary",
|
|
238
135
|
box
|
|
239
136
|
),
|
|
240
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
137
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.EntityIcon, { icon: { name: link.iconName }, size: glyph })
|
|
241
138
|
}
|
|
242
139
|
);
|
|
243
140
|
}
|
|
@@ -250,7 +147,7 @@ function NavItemRow({
|
|
|
250
147
|
className
|
|
251
148
|
}) {
|
|
252
149
|
const label = navLinkLabel(link);
|
|
253
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
150
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL6ZQGWCXcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
254
151
|
const singleLine = !link.description && !link.builtOn;
|
|
255
152
|
const rowClassName = _chunk3ATAYP36cjs.cn.call(void 0,
|
|
256
153
|
ROW_CLASSES[variant],
|
|
@@ -267,7 +164,7 @@ function NavItemRow({
|
|
|
267
164
|
] });
|
|
268
165
|
} else if (variant === "side") {
|
|
269
166
|
children = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
270
|
-
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
167
|
+
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.EntityIcon, { icon: { name: link.iconName }, size: 18 }) }),
|
|
271
168
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: label }),
|
|
272
169
|
counter
|
|
273
170
|
] });
|
|
@@ -295,7 +192,7 @@ function NavItemRow({
|
|
|
295
192
|
|
|
296
193
|
var TWO_COLUMN_OVER = 4;
|
|
297
194
|
function isMegaMenu(menu) {
|
|
298
|
-
return (_nullishCoalesce(_optionalChain([menu, 'access',
|
|
195
|
+
return (_nullishCoalesce(_optionalChain([menu, 'access', _2 => _2.columns, 'optionalAccess', _3 => _3.length]), () => ( 0))) > 1 || !!_optionalChain([menu, 'access', _4 => _4.features, 'optionalAccess', _5 => _5.length]) || !!_optionalChain([menu, 'access', _6 => _6.sideLinks, 'optionalAccess', _7 => _7.length]);
|
|
299
196
|
}
|
|
300
197
|
var HEADING_CLASS = "mb-[var(--spacing-system-xsf)] ml-[var(--spacing-system-sf)] text-ods-text-muted text-h5";
|
|
301
198
|
function Column({
|
|
@@ -316,7 +213,7 @@ function Column({
|
|
|
316
213
|
link,
|
|
317
214
|
renderLink: rowProps.renderLink,
|
|
318
215
|
onNavigate: rowProps.onNavigate,
|
|
319
|
-
badge: link.badgeKey ? _optionalChain([rowProps, 'access',
|
|
216
|
+
badge: link.badgeKey ? _optionalChain([rowProps, 'access', _8 => _8.badges, 'optionalAccess', _9 => _9[link.badgeKey]]) : void 0
|
|
320
217
|
},
|
|
321
218
|
link.id
|
|
322
219
|
))
|
|
@@ -368,10 +265,10 @@ var NavPanel = _react.forwardRef.call(void 0, function NavPanelImpl({
|
|
|
368
265
|
children: [
|
|
369
266
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-0 flex-1 gap-[var(--spacing-system-xlf)]", children: [
|
|
370
267
|
columns.map((group) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Column, { group, wide: true, rowProps }, group.id)),
|
|
371
|
-
!!_optionalChain([menu, 'access',
|
|
268
|
+
!!_optionalChain([menu, 'access', _10 => _10.features, 'optionalAccess', _11 => _11.length]) && // One row of cards, as many as the bar's width holds: a card that
|
|
372
269
|
// would wrap lands on a zero-height row, where its cell clips it.
|
|
373
270
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid min-w-0 flex-[3] auto-rows-[0px] grid-cols-[repeat(auto-fit,minmax(240px,1fr))] grid-rows-[minmax(0,1fr)] gap-x-[var(--spacing-system-mf)]", children: menu.features.map((feature) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-0 min-w-0 overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
374
|
-
|
|
271
|
+
_chunkETYLOZOBcjs.CaseStudyCard,
|
|
375
272
|
{
|
|
376
273
|
size: "menu",
|
|
377
274
|
study: feature.study,
|
|
@@ -381,7 +278,7 @@ var NavPanel = _react.forwardRef.call(void 0, function NavPanelImpl({
|
|
|
381
278
|
className: "h-full"
|
|
382
279
|
}
|
|
383
280
|
) }, feature.id)) }),
|
|
384
|
-
!!_optionalChain([menu, 'access',
|
|
281
|
+
!!_optionalChain([menu, 'access', _12 => _12.sideLinks, 'optionalAccess', _13 => _13.length]) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-[260px] shrink-0 flex-col gap-0.5 border-l border-ods-border pl-8 pt-5", children: [
|
|
385
282
|
menu.sideTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HEADING_CLASS, children: menu.sideTitle }),
|
|
386
283
|
menu.sideLinks.map((link) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
387
284
|
NavItemRow,
|
|
@@ -389,7 +286,7 @@ var NavPanel = _react.forwardRef.call(void 0, function NavPanelImpl({
|
|
|
389
286
|
link,
|
|
390
287
|
variant: "side",
|
|
391
288
|
...rowProps,
|
|
392
|
-
badge: link.badgeKey ? _optionalChain([badges, 'optionalAccess',
|
|
289
|
+
badge: link.badgeKey ? _optionalChain([badges, 'optionalAccess', _14 => _14[link.badgeKey]]) : void 0
|
|
393
290
|
},
|
|
394
291
|
link.id
|
|
395
292
|
))
|
|
@@ -488,7 +385,7 @@ function TopNavigation({
|
|
|
488
385
|
|
|
489
386
|
var TOP_ITEM_CLASS = "relative inline-flex h-10 items-center gap-1.5 whitespace-nowrap rounded-md px-3.5 text-ods-text-secondary transition-colors text-h6 hover:bg-ods-bg-hover hover:text-ods-text-primary";
|
|
490
387
|
var TOP_ITEM_CURRENT_CLASS = "rounded-b-none bg-gradient-to-b from-transparent to-ods-accent/10 text-ods-text-primary after:absolute after:inset-x-0 after:bottom-0 after:h-0.5 after:bg-ods-accent";
|
|
491
|
-
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
388
|
+
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.EntityIcon, { icon: { name: menu.iconName }, size: 20, className: "size-5 shrink-0" }) : null;
|
|
492
389
|
function SiteHeader({
|
|
493
390
|
nav,
|
|
494
391
|
pathname,
|
|
@@ -511,8 +408,8 @@ function SiteHeader({
|
|
|
511
408
|
}) {
|
|
512
409
|
const [show, setShow] = _react.useState.call(void 0, true);
|
|
513
410
|
const lastScrollY = _react.useRef.call(void 0, 0);
|
|
514
|
-
const activeId =
|
|
515
|
-
const { openId, close, getTriggerProps, getPanelProps } =
|
|
411
|
+
const activeId = _chunkJO5TLJPMcjs.useActiveSection.call(void 0, nav.menus, pathname);
|
|
412
|
+
const { openId, close, getTriggerProps, getPanelProps } = _chunkJO5TLJPMcjs.useNavMenus.call(void 0, { pathname });
|
|
516
413
|
const [trail, setTrail] = _react.useState.call(void 0, { id: null, from: null });
|
|
517
414
|
if (trail.id !== openId) setTrail({ id: openId, from: trail.id });
|
|
518
415
|
const previousId = trail.id === openId ? trail.from : trail.id;
|
|
@@ -535,7 +432,7 @@ function SiteHeader({
|
|
|
535
432
|
const headerShown = !autoHide || show || openId !== null;
|
|
536
433
|
const renderMenu = (menu) => {
|
|
537
434
|
const current = menu.id === activeId;
|
|
538
|
-
const hasPanel = !!_optionalChain([menu, 'access',
|
|
435
|
+
const hasPanel = !!_optionalChain([menu, 'access', _15 => _15.columns, 'optionalAccess', _16 => _16.length]) || !!_optionalChain([menu, 'access', _17 => _17.features, 'optionalAccess', _18 => _18.length]) || !!_optionalChain([menu, 'access', _19 => _19.sideLinks, 'optionalAccess', _20 => _20.length]);
|
|
539
436
|
if (!hasPanel) {
|
|
540
437
|
if (!menu.href) return null;
|
|
541
438
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -638,7 +535,7 @@ function SiteHeader({
|
|
|
638
535
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
639
536
|
leading,
|
|
640
537
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
641
|
-
|
|
538
|
+
_chunkL6ZQGWCXcjs.HeaderButton,
|
|
642
539
|
{
|
|
643
540
|
className: "border-r border-ods-border lg:hidden",
|
|
644
541
|
onClick: mobile.onToggle,
|
|
@@ -664,7 +561,7 @@ function SiteHeader({
|
|
|
664
561
|
centerClassName: "justify-start pl-[var(--spacing-system-xlf)]",
|
|
665
562
|
cta: hasRight ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
666
563
|
mingo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
667
|
-
MingoAiButton,
|
|
564
|
+
_chunkHETQETPVcjs.MingoAiButton,
|
|
668
565
|
{
|
|
669
566
|
source: mingo.source,
|
|
670
567
|
icon: mingo.icon,
|
|
@@ -728,9 +625,9 @@ function MobileNavSheetBody({
|
|
|
728
625
|
const sheetRef = _react.useRef.call(void 0, null);
|
|
729
626
|
const menus = [..._nullishCoalesce(nav.mobileMenus, () => ( nav.menus)), ..._nullishCoalesce(extraMenus, () => ( []))];
|
|
730
627
|
_overlays.usePreventScroll.call(void 0, );
|
|
731
|
-
|
|
628
|
+
_chunkJO5TLJPMcjs.useFocusTrap.call(void 0, sheetRef, true, { onEscape: onClose });
|
|
732
629
|
const [openGroups, setOpenGroups] = _react.useState.call(void 0, () => {
|
|
733
|
-
const active =
|
|
630
|
+
const active = _chunkJO5TLJPMcjs.resolveActiveSection.call(void 0, menus, pathname);
|
|
734
631
|
return active ? { [active]: true } : {};
|
|
735
632
|
});
|
|
736
633
|
const primaryCta = typeof nav.primaryCta === "object" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "accent", href: nav.primaryCta.href, onClick: onClose, className: "w-full", children: nav.primaryCta.label }) : nav.primaryCta === "none" ? null : _nullishCoalesce(cta, () => ( null));
|
|
@@ -766,7 +663,7 @@ function MobileNavSheetBody({
|
|
|
766
663
|
] }),
|
|
767
664
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain px-5", children: [
|
|
768
665
|
askAI && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
769
|
-
MingoAiButton,
|
|
666
|
+
_chunkHETQETPVcjs.MingoAiButton,
|
|
770
667
|
{
|
|
771
668
|
variant: "field",
|
|
772
669
|
source: askAI.source,
|
|
@@ -825,7 +722,7 @@ function MobileNavSheetBody({
|
|
|
825
722
|
link,
|
|
826
723
|
variant: "sheet",
|
|
827
724
|
renderLink,
|
|
828
|
-
badge: link.badgeKey ? _optionalChain([badges, 'optionalAccess',
|
|
725
|
+
badge: link.badgeKey ? _optionalChain([badges, 'optionalAccess', _21 => _21[link.badgeKey]]) : void 0,
|
|
829
726
|
onNavigate: onClose
|
|
830
727
|
},
|
|
831
728
|
link.id
|
|
@@ -944,7 +841,7 @@ function SiteFooter({
|
|
|
944
841
|
const columns = nav.footerColumns;
|
|
945
842
|
const accordion = columns.length > ACCORDION_OVER;
|
|
946
843
|
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
947
|
-
|
|
844
|
+
_chunkL6ZQGWCXcjs.SocialIconRow,
|
|
948
845
|
{
|
|
949
846
|
compact: true,
|
|
950
847
|
links: nav.brand.social.map((link) => ({
|
|
@@ -1047,12 +944,12 @@ var _framermotion = require('framer-motion');
|
|
|
1047
944
|
|
|
1048
945
|
function SlidingSidebar({ config }) {
|
|
1049
946
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
1050
|
-
const mounted =
|
|
1051
|
-
const headerHeight =
|
|
947
|
+
const mounted = _chunkHETQETPVcjs.useIsHydrated.call(void 0, );
|
|
948
|
+
const headerHeight = _chunkGQ7JJUITcjs.useHeaderHeight.call(void 0, );
|
|
1052
949
|
const asideRef = _react.useRef.call(void 0, null);
|
|
1053
950
|
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
1054
951
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !config.isOpen });
|
|
1055
|
-
|
|
952
|
+
_chunkJO5TLJPMcjs.useFocusTrap.call(void 0, asideRef, config.isOpen, { onEscape: config.onClose, contain: false });
|
|
1056
953
|
const toggleExpanded = (itemId) => {
|
|
1057
954
|
const newExpanded = new Set(expandedItems);
|
|
1058
955
|
if (newExpanded.has(itemId)) {
|
|
@@ -1125,7 +1022,7 @@ function SlidingSidebar({ config }) {
|
|
|
1125
1022
|
variant: "transparent",
|
|
1126
1023
|
size: "default",
|
|
1127
1024
|
onClick: () => {
|
|
1128
|
-
_optionalChain([item, 'access',
|
|
1025
|
+
_optionalChain([item, 'access', _22 => _22.onClick, 'optionalCall', _23 => _23()]);
|
|
1129
1026
|
config.onClose();
|
|
1130
1027
|
},
|
|
1131
1028
|
leftIcon: item.icon,
|
|
@@ -1148,7 +1045,7 @@ function SlidingSidebar({ config }) {
|
|
|
1148
1045
|
variant: "transparent",
|
|
1149
1046
|
size: "default",
|
|
1150
1047
|
onClick: () => {
|
|
1151
|
-
_optionalChain([item, 'access',
|
|
1048
|
+
_optionalChain([item, 'access', _24 => _24.onClick, 'optionalCall', _25 => _25()]);
|
|
1152
1049
|
config.onClose();
|
|
1153
1050
|
},
|
|
1154
1051
|
leftIcon: item.icon,
|
|
@@ -1179,7 +1076,7 @@ function SlidingSidebar({ config }) {
|
|
|
1179
1076
|
duration: 0.3,
|
|
1180
1077
|
ease: [0.4, 0, 0.2, 1]
|
|
1181
1078
|
},
|
|
1182
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0, "fixed inset-0 z-[45]",
|
|
1079
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, "fixed inset-0 z-[45]", _chunkHETQETPVcjs.OVERLAY_BACKDROP_CLASS),
|
|
1183
1080
|
onClick: () => config.onClose()
|
|
1184
1081
|
}
|
|
1185
1082
|
) }),
|
|
@@ -1255,7 +1152,7 @@ function NavigationSidebarHeader({ minimized }) {
|
|
|
1255
1152
|
|
|
1256
1153
|
function NavigationItemBadge({ label, compact = false, className, ...rest }) {
|
|
1257
1154
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1258
|
-
|
|
1155
|
+
_chunkF5BPGWGTcjs.Tag,
|
|
1259
1156
|
{
|
|
1260
1157
|
as: "span",
|
|
1261
1158
|
label,
|
|
@@ -1320,7 +1217,7 @@ var NavigationSidebarItemButton = _react.memo.call(void 0, function NavigationSi
|
|
|
1320
1217
|
_react.cloneElement.call(void 0, item.icon, {
|
|
1321
1218
|
color: isActive && !disabled ? "text-ods-accent" : "text-ods-text-secondary"
|
|
1322
1219
|
}),
|
|
1323
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1220
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL6ZQGWCXcjs.UnreadDot, { size: "fixed" })
|
|
1324
1221
|
] }),
|
|
1325
1222
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1326
1223
|
"span",
|
|
@@ -1411,17 +1308,17 @@ var SIDEBAR_GEOMETRY_CLASSES = [
|
|
|
1411
1308
|
var SIDEBAR_TABLET_WIDTH = { rail: "md:w-14", overlay: "md:w-56" };
|
|
1412
1309
|
var isModifiedClick = (event) => !!event && (event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || event.button !== 0);
|
|
1413
1310
|
function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
1414
|
-
const isMdUp = _nullishCoalesce(
|
|
1415
|
-
const isLgUp = _nullishCoalesce(
|
|
1311
|
+
const isMdUp = _nullishCoalesce(_chunkULWVKHSIcjs.useMdUp.call(void 0, ), () => ( false));
|
|
1312
|
+
const isLgUp = _nullishCoalesce(_chunkULWVKHSIcjs.useLgUp.call(void 0, ), () => ( false));
|
|
1416
1313
|
const isTablet = isMdUp && !isLgUp;
|
|
1417
|
-
const [desktopMinimized, setDesktopMinimized] =
|
|
1314
|
+
const [desktopMinimized, setDesktopMinimized] = _chunkB4NCVYEQcjs.useLocalStorage.call(void 0, STORAGE_KEY, _nullishCoalesce(config.minimized, () => ( false)));
|
|
1418
1315
|
const [tabletMinimized, setTabletMinimized] = _react.useState.call(void 0, true);
|
|
1419
1316
|
const [tabletFor, setTabletFor] = _react.useState.call(void 0, isTablet);
|
|
1420
1317
|
if (tabletFor !== isTablet) {
|
|
1421
1318
|
setTabletFor(isTablet);
|
|
1422
1319
|
if (isTablet) setTabletMinimized(true);
|
|
1423
1320
|
}
|
|
1424
|
-
const hydrated =
|
|
1321
|
+
const hydrated = _chunkHETQETPVcjs.useIsHydrated.call(void 0, );
|
|
1425
1322
|
const minimized = hydrated ? isTablet ? tabletMinimized : desktopMinimized : _nullishCoalesce(config.minimized, () => ( false));
|
|
1426
1323
|
const [transitionsEnabled, setTransitionsEnabled] = _react.useState.call(void 0, false);
|
|
1427
1324
|
const isOverlayOpen = isTablet && !minimized;
|
|
@@ -1432,7 +1329,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1432
1329
|
} else {
|
|
1433
1330
|
setDesktopMinimized((prev) => !prev);
|
|
1434
1331
|
}
|
|
1435
|
-
_optionalChain([config, 'access',
|
|
1332
|
+
_optionalChain([config, 'access', _26 => _26.onToggleMinimized, 'optionalCall', _27 => _27()]);
|
|
1436
1333
|
}, [isTablet, setDesktopMinimized, config]);
|
|
1437
1334
|
const closeOverlay = _react.useCallback.call(void 0, () => {
|
|
1438
1335
|
setTabletMinimized(true);
|
|
@@ -1446,7 +1343,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1446
1343
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
1447
1344
|
}, [isOverlayOpen, closeOverlay]);
|
|
1448
1345
|
const [pendingItemId, setPendingItemId] = _react.useState.call(void 0, null);
|
|
1449
|
-
const committedActiveId = _react.useMemo.call(void 0, () => _nullishCoalesce(_optionalChain([config, 'access',
|
|
1346
|
+
const committedActiveId = _react.useMemo.call(void 0, () => _nullishCoalesce(_optionalChain([config, 'access', _28 => _28.items, 'access', _29 => _29.find, 'call', _30 => _30((item) => item.isActive), 'optionalAccess', _31 => _31.id]), () => ( null)), [config.items]);
|
|
1450
1347
|
const [pendingClearedFor, setPendingClearedFor] = _react.useState.call(void 0, committedActiveId);
|
|
1451
1348
|
if (pendingClearedFor !== committedActiveId) {
|
|
1452
1349
|
setPendingClearedFor(committedActiveId);
|
|
@@ -1454,7 +1351,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1454
1351
|
}
|
|
1455
1352
|
const handleItemClick = _react.useCallback.call(void 0,
|
|
1456
1353
|
(item, event) => {
|
|
1457
|
-
_optionalChain([event, 'optionalAccess',
|
|
1354
|
+
_optionalChain([event, 'optionalAccess', _32 => _32.stopPropagation, 'call', _33 => _33()]);
|
|
1458
1355
|
if (item.onClick) {
|
|
1459
1356
|
item.onClick();
|
|
1460
1357
|
if (isTablet) setTabletMinimized(true);
|
|
@@ -1463,7 +1360,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1463
1360
|
if (!item.path) return;
|
|
1464
1361
|
if (isModifiedClick(event)) return;
|
|
1465
1362
|
if (config.onNavigate) {
|
|
1466
|
-
_optionalChain([event, 'optionalAccess',
|
|
1363
|
+
_optionalChain([event, 'optionalAccess', _34 => _34.preventDefault, 'call', _35 => _35()]);
|
|
1467
1364
|
if (item.id !== committedActiveId) setPendingItemId(item.id);
|
|
1468
1365
|
config.onNavigate(item.path);
|
|
1469
1366
|
}
|
|
@@ -1480,18 +1377,18 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1480
1377
|
);
|
|
1481
1378
|
const loadingRows = _react.useMemo.call(void 0, () => {
|
|
1482
1379
|
if (!config.loading) return null;
|
|
1483
|
-
const primary = _nullishCoalesce(_optionalChain([config, 'access',
|
|
1484
|
-
const secondary = _nullishCoalesce(_optionalChain([config, 'access',
|
|
1380
|
+
const primary = _nullishCoalesce(_optionalChain([config, 'access', _36 => _36.loadingRows, 'optionalAccess', _37 => _37.primary]), () => ( 7));
|
|
1381
|
+
const secondary = _nullishCoalesce(_optionalChain([config, 'access', _38 => _38.loadingRows, 'optionalAccess', _39 => _39.secondary]), () => ( 2));
|
|
1485
1382
|
return {
|
|
1486
1383
|
primary: Array.from({ length: Math.max(0, primary) }, (_, i) => `primary-${i}`),
|
|
1487
1384
|
secondary: Array.from({ length: Math.max(0, secondary) }, (_, i) => `secondary-${i}`)
|
|
1488
1385
|
};
|
|
1489
|
-
}, [config.loading, _optionalChain([config, 'access',
|
|
1386
|
+
}, [config.loading, _optionalChain([config, 'access', _40 => _40.loadingRows, 'optionalAccess', _41 => _41.primary]), _optionalChain([config, 'access', _42 => _42.loadingRows, 'optionalAccess', _43 => _43.secondary])]);
|
|
1490
1387
|
const sidebarWidth = _react.useMemo.call(void 0, () => minimized ? `${MINIMIZED_WIDTH}px` : `${EXPANDED_WIDTH}px`, [minimized]);
|
|
1491
|
-
|
|
1388
|
+
_chunkULWVKHSIcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
1492
1389
|
document.documentElement.style.setProperty(NAVIGATION_SIDEBAR_WIDTH_VAR, sidebarWidth);
|
|
1493
1390
|
}, [sidebarWidth]);
|
|
1494
|
-
|
|
1391
|
+
_chunkULWVKHSIcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
1495
1392
|
if (transitionsEnabled) return void 0;
|
|
1496
1393
|
const id = requestAnimationFrame(() => {
|
|
1497
1394
|
setTransitionsEnabled(true);
|
|
@@ -1543,7 +1440,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1543
1440
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebarHeader, { minimized }),
|
|
1544
1441
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col justify-between overflow-y-auto py-4", children: [
|
|
1545
1442
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
1546
|
-
_optionalChain([config, 'access',
|
|
1443
|
+
_optionalChain([config, 'access', _44 => _44.topSlot, 'optionalCall', _45 => _45({ minimized })]),
|
|
1547
1444
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { className: "flex flex-col", "aria-label": "Primary navigation", "aria-busy": !!loadingRows, children: loadingRows ? loadingRows.primary.map((key) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebarItemSkeleton, { showLabel }, key)) : primaryItems.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1548
1445
|
NavigationSidebarItemButton,
|
|
1549
1446
|
{
|
|
@@ -1602,18 +1499,18 @@ function HeaderGlobalSearch({
|
|
|
1602
1499
|
};
|
|
1603
1500
|
const handleSubmit = (e) => {
|
|
1604
1501
|
e.preventDefault();
|
|
1605
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
1502
|
+
_optionalChain([onSubmit, 'optionalCall', _46 => _46(currentValue)]);
|
|
1606
1503
|
};
|
|
1607
1504
|
const handleKeyDown = (e) => {
|
|
1608
1505
|
if (e.key === "Enter") {
|
|
1609
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
1506
|
+
_optionalChain([onSubmit, 'optionalCall', _47 => _47(currentValue)]);
|
|
1610
1507
|
}
|
|
1611
1508
|
};
|
|
1612
1509
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1613
1510
|
"form",
|
|
1614
1511
|
{
|
|
1615
1512
|
onSubmit: handleSubmit,
|
|
1616
|
-
...
|
|
1513
|
+
..._chunkHETQETPVcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
1617
1514
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
1618
1515
|
"flex h-full flex-1 items-center gap-2 px-3",
|
|
1619
1516
|
// Transparent so the cell inherits the bar's background
|
|
@@ -1710,10 +1607,10 @@ function HeaderOrganizationFilter({
|
|
|
1710
1607
|
className
|
|
1711
1608
|
}) {
|
|
1712
1609
|
const selectedOrg = organizations.find((o) => o.id === selectedOrgId);
|
|
1713
|
-
const displayName = _optionalChain([selectedOrg, 'optionalAccess',
|
|
1714
|
-
const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess',
|
|
1715
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1716
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1610
|
+
const displayName = _optionalChain([selectedOrg, 'optionalAccess', _48 => _48.name]) || "All Organizations";
|
|
1611
|
+
const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _49 => _49.deviceCount]), () => ( totalDeviceCount));
|
|
1612
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2Y7QZAB2cjs.DropdownMenu, { children: [
|
|
1613
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2Y7QZAB2cjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1717
1614
|
"button",
|
|
1718
1615
|
{
|
|
1719
1616
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
@@ -1736,9 +1633,9 @@ function HeaderOrganizationFilter({
|
|
|
1736
1633
|
]
|
|
1737
1634
|
}
|
|
1738
1635
|
) }),
|
|
1739
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1740
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1741
|
-
organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1636
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2Y7QZAB2cjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
|
|
1637
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2Y7QZAB2cjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _50 => _50("")]), children: "All Organizations" }),
|
|
1638
|
+
organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2Y7QZAB2cjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _51 => _51(org.id)]), children: org.name }, org.id))
|
|
1742
1639
|
] })
|
|
1743
1640
|
] });
|
|
1744
1641
|
}
|
|
@@ -1746,16 +1643,16 @@ function HeaderOrganizationFilter({
|
|
|
1746
1643
|
// src/components/navigation/ticket-alerts-button.tsx
|
|
1747
1644
|
|
|
1748
1645
|
function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
1749
|
-
const live =
|
|
1646
|
+
const live = _chunkZX7SCPLOcjs.useOptionalTicketLive.call(void 0, );
|
|
1750
1647
|
if (!live || !live.authed || live.unreadTotal === 0) return null;
|
|
1751
1648
|
const targetId = live.nextUnreadTicketId;
|
|
1752
|
-
const target = targetId ?
|
|
1649
|
+
const target = targetId ? _chunkHETQETPVcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
1753
1650
|
const handleClick = () => {
|
|
1754
1651
|
if (onNavigate) onNavigate(target);
|
|
1755
1652
|
else window.location.assign(target);
|
|
1756
1653
|
};
|
|
1757
1654
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1758
|
-
|
|
1655
|
+
_chunkL6ZQGWCXcjs.HeaderButton,
|
|
1759
1656
|
{
|
|
1760
1657
|
icon: (
|
|
1761
1658
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -1765,7 +1662,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1765
1662
|
// existing while updates are unread — never by tinting the glyph.
|
|
1766
1663
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
1767
1664
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
1768
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1665
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL6ZQGWCXcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
1769
1666
|
] })
|
|
1770
1667
|
),
|
|
1771
1668
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -1808,7 +1705,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1808
1705
|
loading = false,
|
|
1809
1706
|
loadingActionCells
|
|
1810
1707
|
}) {
|
|
1811
|
-
const isMdUp = _nullishCoalesce(
|
|
1708
|
+
const isMdUp = _nullishCoalesce(_chunkULWVKHSIcjs.useMdUp.call(void 0, ), () => ( false));
|
|
1812
1709
|
if (loading) {
|
|
1813
1710
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1814
1711
|
AppHeaderSkeleton,
|
|
@@ -1841,7 +1738,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1841
1738
|
leading: (
|
|
1842
1739
|
// Mobile: Burger Menu Button
|
|
1843
1740
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1844
|
-
|
|
1741
|
+
_chunkL6ZQGWCXcjs.HeaderButton,
|
|
1845
1742
|
{
|
|
1846
1743
|
onClick: onToggleMobileMenu,
|
|
1847
1744
|
isActive: isMobileMenuOpen,
|
|
@@ -1867,7 +1764,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1867
1764
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
1868
1765
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1869
1766
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1870
|
-
|
|
1767
|
+
_chunkL6ZQGWCXcjs.HeaderButton,
|
|
1871
1768
|
{
|
|
1872
1769
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4GFNWALLcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
1873
1770
|
"aria-label": "Search",
|
|
@@ -1884,7 +1781,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1884
1781
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
|
|
1885
1782
|
}
|
|
1886
1783
|
),
|
|
1887
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1784
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL6ZQGWCXcjs.TimeTrackerHeaderButton, { disabled, className: _chunk3ATAYP36cjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1888
1785
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1889
1786
|
NotificationsHeaderButton,
|
|
1890
1787
|
{
|
|
@@ -1902,12 +1799,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1902
1799
|
className: _chunk3ATAYP36cjs.cn.call(void 0, cellDivider, dimmedClass)
|
|
1903
1800
|
}
|
|
1904
1801
|
),
|
|
1905
|
-
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1906
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1907
|
-
|
|
1802
|
+
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2Y7QZAB2cjs.DropdownMenu, { children: [
|
|
1803
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2Y7QZAB2cjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1804
|
+
_chunkL6ZQGWCXcjs.HeaderButton,
|
|
1908
1805
|
{
|
|
1909
1806
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1910
|
-
|
|
1807
|
+
_chunkF5BPGWGTcjs.SquareAvatar,
|
|
1911
1808
|
{
|
|
1912
1809
|
src: userAvatarUrl || void 0,
|
|
1913
1810
|
alt: userName || "User",
|
|
@@ -1926,14 +1823,14 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1926
1823
|
}
|
|
1927
1824
|
) }),
|
|
1928
1825
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1929
|
-
|
|
1826
|
+
_chunk2Y7QZAB2cjs.DropdownMenuContent,
|
|
1930
1827
|
{
|
|
1931
1828
|
align: "end",
|
|
1932
1829
|
className: "z-[104] w-[280px] overflow-hidden rounded-[6px] border-ods-border bg-ods-bg p-0",
|
|
1933
1830
|
children: [
|
|
1934
1831
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 border-b border-ods-border bg-ods-card p-3", children: [
|
|
1935
1832
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1936
|
-
|
|
1833
|
+
_chunkF5BPGWGTcjs.SquareAvatar,
|
|
1937
1834
|
{
|
|
1938
1835
|
src: userAvatarUrl || void 0,
|
|
1939
1836
|
alt: userName || "User",
|
|
@@ -1948,7 +1845,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1948
1845
|
] })
|
|
1949
1846
|
] }),
|
|
1950
1847
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1951
|
-
|
|
1848
|
+
_chunk2Y7QZAB2cjs.DropdownMenuItem,
|
|
1952
1849
|
{
|
|
1953
1850
|
onClick: onProfile,
|
|
1954
1851
|
className: "cursor-pointer rounded-none border-b border-ods-border bg-ods-card px-3 py-3 hover:bg-ods-card/80 focus:bg-ods-card/80",
|
|
@@ -1959,7 +1856,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1959
1856
|
}
|
|
1960
1857
|
),
|
|
1961
1858
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1962
|
-
|
|
1859
|
+
_chunk2Y7QZAB2cjs.DropdownMenuItem,
|
|
1963
1860
|
{
|
|
1964
1861
|
onClick: onLogout,
|
|
1965
1862
|
className: "cursor-pointer rounded-none bg-ods-card px-3 py-3 hover:bg-ods-card/80 focus:bg-ods-card/80",
|
|
@@ -1989,12 +1886,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1989
1886
|
);
|
|
1990
1887
|
});
|
|
1991
1888
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
1992
|
-
const ctx =
|
|
1993
|
-
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
1994
|
-
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
1995
|
-
const onClick = _optionalChain([ctx, 'optionalAccess',
|
|
1889
|
+
const ctx = _chunkL6ZQGWCXcjs.useOptionalNotifications.call(void 0, );
|
|
1890
|
+
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _52 => _52.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
1891
|
+
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _53 => _53.isOpen]), () => ( false));
|
|
1892
|
+
const onClick = _optionalChain([ctx, 'optionalAccess', _54 => _54.toggle]);
|
|
1996
1893
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1997
|
-
|
|
1894
|
+
_chunkL6ZQGWCXcjs.HeaderButton,
|
|
1998
1895
|
{
|
|
1999
1896
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.BellIcon, { className: "h-6 w-6" }),
|
|
2000
1897
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2066,7 +1963,7 @@ function AppHeaderSkeleton({
|
|
|
2066
1963
|
|
|
2067
1964
|
var SIDE_PANEL_INSET = 16;
|
|
2068
1965
|
var SIDE_PANEL_FRAME_WIDTH = 2;
|
|
2069
|
-
var MOBILE_QUERY = `not all and ${
|
|
1966
|
+
var MOBILE_QUERY = `not all and ${_chunkULWVKHSIcjs.breakpoints.md}`;
|
|
2070
1967
|
var REDUCED_MOTION_QUERY = "(prefers-reduced-motion: reduce)";
|
|
2071
1968
|
var MORPH_MS = 300;
|
|
2072
1969
|
var STORAGE_EVENT = "of:side-panel-size";
|
|
@@ -2142,13 +2039,13 @@ function useStoredSize(storageKey, fallback) {
|
|
|
2142
2039
|
}
|
|
2143
2040
|
function useAppLayoutSidePanel(config, row) {
|
|
2144
2041
|
const enabled = config !== void 0;
|
|
2145
|
-
const minWidth = _nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2146
|
-
const minContentWidth = _nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2147
|
-
const collapsed = _nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2042
|
+
const minWidth = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _55 => _55.minWidth]), () => ( 0));
|
|
2043
|
+
const minContentWidth = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _56 => _56.minContentWidth]), () => ( 400));
|
|
2044
|
+
const collapsed = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _57 => _57.collapsed]), () => ( false));
|
|
2148
2045
|
const minimum = { width: minWidth, expanded: false };
|
|
2149
|
-
const defaultWidth = Math.max(minWidth, _nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2046
|
+
const defaultWidth = Math.max(minWidth, _nullishCoalesce(_optionalChain([config, 'optionalAccess', _58 => _58.defaultWidth]), () => ( minWidth)));
|
|
2150
2047
|
const [rowWidth, setRowWidth] = _react.useState.call(void 0, 0);
|
|
2151
|
-
|
|
2048
|
+
_chunkULWVKHSIcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
2152
2049
|
if (!enabled || !row) return void 0;
|
|
2153
2050
|
const update = () => setRowWidth(row.clientWidth);
|
|
2154
2051
|
update();
|
|
@@ -2156,17 +2053,17 @@ function useAppLayoutSidePanel(config, row) {
|
|
|
2156
2053
|
observer.observe(row);
|
|
2157
2054
|
return () => observer.disconnect();
|
|
2158
2055
|
}, [enabled, row]);
|
|
2159
|
-
const isMobile =
|
|
2160
|
-
const reduceMotion =
|
|
2056
|
+
const isMobile = _chunkULWVKHSIcjs.useMediaQuery.call(void 0, MOBILE_QUERY) === true;
|
|
2057
|
+
const reduceMotion = _chunkULWVKHSIcjs.useMediaQuery.call(void 0, REDUCED_MOTION_QUERY) === true;
|
|
2161
2058
|
const [morph, setMorph] = _react.useState.call(void 0, null);
|
|
2162
2059
|
const [liveWidth, setLiveWidth] = _react.useState.call(void 0, null);
|
|
2163
|
-
const [storedSize, setStoredSize] = useStoredSize(_optionalChain([config, 'optionalAccess',
|
|
2060
|
+
const [storedSize, setStoredSize] = useStoredSize(_optionalChain([config, 'optionalAccess', _59 => _59.storageKey]), { width: defaultWidth, expanded: false });
|
|
2164
2061
|
const [ownIsOpen, setOwnIsOpen] = _react.useState.call(void 0, false);
|
|
2165
|
-
const isOpen = _nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2166
|
-
const onOpenChange = _optionalChain([config, 'optionalAccess',
|
|
2062
|
+
const isOpen = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _60 => _60.open]), () => ( ownIsOpen));
|
|
2063
|
+
const onOpenChange = _optionalChain([config, 'optionalAccess', _61 => _61.onOpenChange]);
|
|
2167
2064
|
const setIsOpen = (next) => {
|
|
2168
|
-
if (_optionalChain([config, 'optionalAccess',
|
|
2169
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
2065
|
+
if (_optionalChain([config, 'optionalAccess', _62 => _62.open]) === void 0) setOwnIsOpen(next);
|
|
2066
|
+
_optionalChain([onOpenChange, 'optionalCall', _63 => _63(next)]);
|
|
2170
2067
|
};
|
|
2171
2068
|
const [collapsedSize, setCollapsedSize] = _react.useState.call(void 0, null);
|
|
2172
2069
|
const [prevCollapsed, setPrevCollapsed] = _react.useState.call(void 0, collapsed);
|
|
@@ -2186,8 +2083,8 @@ function useAppLayoutSidePanel(config, row) {
|
|
|
2186
2083
|
_react.useEffect.call(void 0, () => {
|
|
2187
2084
|
const couldDock = prevCanDockRef.current;
|
|
2188
2085
|
prevCanDockRef.current = layout.canDock;
|
|
2189
|
-
if (!couldDock && layout.canDock && _optionalChain([config, 'optionalAccess',
|
|
2190
|
-
}, [layout.canDock, _optionalChain([config, 'optionalAccess',
|
|
2086
|
+
if (!couldDock && layout.canDock && _optionalChain([config, 'optionalAccess', _64 => _64.open])) _optionalChain([onOpenChange, 'optionalCall', _65 => _65(false)]);
|
|
2087
|
+
}, [layout.canDock, _optionalChain([config, 'optionalAccess', _66 => _66.open]), onOpenChange]);
|
|
2191
2088
|
if (!enabled) return null;
|
|
2192
2089
|
const animate = (next) => {
|
|
2193
2090
|
if (!reduceMotion) setMorph(next);
|
|
@@ -2446,13 +2343,13 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2446
2343
|
}) {
|
|
2447
2344
|
const panelRef = _react.useRef.call(void 0, null);
|
|
2448
2345
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !isOpen });
|
|
2449
|
-
|
|
2346
|
+
_chunkJO5TLJPMcjs.useFocusTrap.call(void 0, panelRef, isOpen, { onEscape: onClose });
|
|
2450
2347
|
const handleItemClick = _react.useCallback.call(void 0,
|
|
2451
2348
|
(item) => {
|
|
2452
2349
|
if (item.onClick) {
|
|
2453
2350
|
item.onClick();
|
|
2454
2351
|
} else if (item.path) {
|
|
2455
|
-
_optionalChain([config, 'access',
|
|
2352
|
+
_optionalChain([config, 'access', _67 => _67.onNavigate, 'optionalCall', _68 => _68(item.path)]);
|
|
2456
2353
|
}
|
|
2457
2354
|
onClose();
|
|
2458
2355
|
},
|
|
@@ -2511,7 +2408,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2511
2408
|
{
|
|
2512
2409
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
2513
2410
|
"absolute inset-0 z-[100] md:hidden",
|
|
2514
|
-
|
|
2411
|
+
_chunkHETQETPVcjs.OVERLAY_BACKDROP_CLASS,
|
|
2515
2412
|
"transition-all duration-300 motion-reduce:transition-none",
|
|
2516
2413
|
isOpen ? "opacity-100" : "pointer-events-none opacity-0"
|
|
2517
2414
|
),
|
|
@@ -2552,7 +2449,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2552
2449
|
"aria-disabled": disabled || void 0,
|
|
2553
2450
|
children: [
|
|
2554
2451
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2555
|
-
|
|
2452
|
+
_chunkF5BPGWGTcjs.SquareAvatar,
|
|
2556
2453
|
{
|
|
2557
2454
|
src: user.userAvatarUrl || void 0,
|
|
2558
2455
|
alt: user.userName || "User",
|
|
@@ -2576,7 +2473,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2576
2473
|
]
|
|
2577
2474
|
}
|
|
2578
2475
|
),
|
|
2579
|
-
_optionalChain([config, 'access',
|
|
2476
|
+
_optionalChain([config, 'access', _69 => _69.topSlot, 'optionalCall', _70 => _70({ minimized: false })]),
|
|
2580
2477
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "Primary navigation", children: renderNavigationGrid(primaryItems) }),
|
|
2581
2478
|
secondaryItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "Secondary navigation", className: "flex flex-col gap-3", children: secondaryItems.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderNavigationItem(item, false) }, item.id)) }),
|
|
2582
2479
|
onLogout && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -2621,7 +2518,7 @@ function AppLayout({
|
|
|
2621
2518
|
const [contentWidth, setContentWidth] = _react.useState.call(void 0, null);
|
|
2622
2519
|
const hasSidePanel = sidePanel !== void 0;
|
|
2623
2520
|
const sidePanelState = useAppLayoutSidePanel(sidePanel, drawerContainer);
|
|
2624
|
-
|
|
2521
|
+
_chunkULWVKHSIcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
2625
2522
|
if (!hasSidePanel || !mainElement) return void 0;
|
|
2626
2523
|
const update = () => setContentWidth(mainElement.clientWidth);
|
|
2627
2524
|
update();
|
|
@@ -2636,7 +2533,7 @@ function AppLayout({
|
|
|
2636
2533
|
isMingoAIActive: sidePanelState.isOpen,
|
|
2637
2534
|
mingoAICloseWhenActive: true
|
|
2638
2535
|
};
|
|
2639
|
-
const contentCovered = _optionalChain([sidePanelState, 'optionalAccess',
|
|
2536
|
+
const contentCovered = _optionalChain([sidePanelState, 'optionalAccess', _71 => _71.coversContent]) === true;
|
|
2640
2537
|
const mobileMenuOpenRef = _react.useRef.call(void 0, mobileMenuOpen);
|
|
2641
2538
|
_react.useEffect.call(void 0, () => {
|
|
2642
2539
|
mobileMenuOpenRef.current = mobileMenuOpen;
|
|
@@ -2667,7 +2564,7 @@ function AppLayout({
|
|
|
2667
2564
|
}),
|
|
2668
2565
|
[]
|
|
2669
2566
|
);
|
|
2670
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2567
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL6ZQGWCXcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL6ZQGWCXcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
|
|
2671
2568
|
topBar,
|
|
2672
2569
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
2673
2570
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
|
|
@@ -2691,7 +2588,7 @@ function AppLayout({
|
|
|
2691
2588
|
disabled
|
|
2692
2589
|
}
|
|
2693
2590
|
),
|
|
2694
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2591
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL6ZQGWCXcjs.NotificationDrawer, {}),
|
|
2695
2592
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2696
2593
|
"div",
|
|
2697
2594
|
{
|
|
@@ -2710,10 +2607,10 @@ function AppLayout({
|
|
|
2710
2607
|
contentCovered && "hidden",
|
|
2711
2608
|
// While the panel is drawn over the page, keep the page's own
|
|
2712
2609
|
// z-indexed layers (sticky headers, fixed bars) under it.
|
|
2713
|
-
_optionalChain([sidePanelState, 'optionalAccess',
|
|
2610
|
+
_optionalChain([sidePanelState, 'optionalAccess', _72 => _72.overlapsContent]) && "isolate",
|
|
2714
2611
|
mainClassName
|
|
2715
2612
|
),
|
|
2716
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2613
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAAYNCJMWcjs.ContentAreaWidthContext.Provider, { value: contentWidth, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ods-content-scope", children }) })
|
|
2717
2614
|
}
|
|
2718
2615
|
)
|
|
2719
2616
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex-1 overflow-y-auto", mainClassName), children }),
|
|
@@ -2751,7 +2648,4 @@ function AppLayout({
|
|
|
2751
2648
|
|
|
2752
2649
|
|
|
2753
2650
|
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
exports.ASK_AI_OPEN_EVENT = ASK_AI_OPEN_EVENT; exports.openAskAi = openAskAi; exports.MingoAiButton = MingoAiButton; exports.MOBILE_NAV_SHEET_ID = MOBILE_NAV_SHEET_ID; exports.defaultRenderSiteNavLink = defaultRenderSiteNavLink; exports.navLinkLabel = navLinkLabel; exports.NavItemRow = NavItemRow; exports.isMegaMenu = isMegaMenu; exports.NavPanel = NavPanel; exports.TopNavigation = TopNavigation; exports.SiteHeader = SiteHeader; exports.siteNavHasMobileMenus = siteNavHasMobileMenus; exports.MobileNavSheet = MobileNavSheet; exports.SiteFooter = SiteFooter; exports.SlidingSidebar = SlidingSidebar; exports.NavigationItemBadge = NavigationItemBadge; exports.NAVIGATION_SIDEBAR_WIDTH_VAR = NAVIGATION_SIDEBAR_WIDTH_VAR; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.TicketAlertsButton = TicketAlertsButton; exports.AppHeader = AppHeader; exports.SIDE_PANEL_FRAME_WIDTH = SIDE_PANEL_FRAME_WIDTH; exports.MobileBurgerMenu = MobileBurgerMenu; exports.AppLayout = AppLayout;
|
|
2651
|
+
exports.MOBILE_NAV_SHEET_ID = MOBILE_NAV_SHEET_ID; exports.defaultRenderSiteNavLink = defaultRenderSiteNavLink; exports.navLinkLabel = navLinkLabel; exports.NavItemRow = NavItemRow; exports.isMegaMenu = isMegaMenu; exports.NavPanel = NavPanel; exports.TopNavigation = TopNavigation; exports.SiteHeader = SiteHeader; exports.siteNavHasMobileMenus = siteNavHasMobileMenus; exports.MobileNavSheet = MobileNavSheet; exports.SiteFooter = SiteFooter; exports.SlidingSidebar = SlidingSidebar; exports.NavigationItemBadge = NavigationItemBadge; exports.NAVIGATION_SIDEBAR_WIDTH_VAR = NAVIGATION_SIDEBAR_WIDTH_VAR; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.TicketAlertsButton = TicketAlertsButton; exports.AppHeader = AppHeader; exports.SIDE_PANEL_FRAME_WIDTH = SIDE_PANEL_FRAME_WIDTH; exports.MobileBurgerMenu = MobileBurgerMenu; exports.AppLayout = AppLayout;
|