@flamingo-stack/openframe-frontend-core 0.0.711 → 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-3UNL26CD.cjs → chunk-3RKBJT6K.cjs} +8 -6
- package/dist/{chunk-6GLQLTJI.js → chunk-3SEEGNRE.js} +35 -27
- package/dist/{chunk-FEMAJES4.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-2JTGK64G.js → chunk-4UYKNOZG.js} +12 -10
- package/dist/{chunk-TKZXHVBG.js → chunk-5SDELRH3.js} +5 -5
- package/dist/{chunk-Q6B35Y7O.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-WJUIXU6Y.js → chunk-7HNYYNKE.js} +28 -22
- package/dist/{chunk-P6G3JZNC.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-XWEBHS7O.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-G47AP6LX.cjs → chunk-CSCJU6YC.cjs} +35 -33
- package/dist/chunk-CYUUHFXL.js +41 -0
- package/dist/chunk-DC4RTYWK.cjs +1122 -0
- package/dist/{chunk-NF7GNGYG.js → chunk-DDWFCWOE.js} +5 -7
- package/dist/{chunk-K4PTDK34.js → chunk-EFNKS5W4.js} +322 -428
- package/dist/{chunk-QA6TROME.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-5HB7FLCV.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-VWFZRMQR.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-AGDVEUVL.js → chunk-H5R7U2D2.js} +206 -5
- package/dist/{chunk-7AM6C6XH.cjs → chunk-HETQETPV.cjs} +9641 -9678
- 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-C4HRRB3V.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-PRX7HVLE.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-FYOKS5RI.cjs → chunk-L6ZQGWCX.cjs} +4521 -6234
- package/dist/{chunk-PLYEKV3N.cjs → chunk-MA4Q5RBP.cjs} +6 -6
- package/dist/{chunk-VMMHJFHG.js → chunk-N67XG5GY.js} +10 -8
- package/dist/chunk-NPAQSMRY.js +2087 -0
- package/dist/{chunk-IFWLJ66M.js → chunk-NQWJAOHO.js} +6 -4
- package/dist/{chunk-6K7QZDA6.cjs → chunk-OBZJICEA.cjs} +8 -8
- package/dist/{chunk-62KNLDXK.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-EQWD4IJE.js → chunk-RBYVFPER.js} +74 -46
- package/dist/{chunk-SMAAV3HL.js → chunk-ROBQ5TR7.js} +10541 -10578
- package/dist/{chunk-K6Y5NX6L.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-EX6GGCAC.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-6AMIRXKM.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-QGZPZ3RL.js → chunk-YBS5QGON.js} +70 -128
- package/dist/{chunk-CDM7OSFB.cjs → chunk-Z5SWJW5Q.cjs} +125 -117
- package/dist/{chunk-YD4LJZV4.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/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/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 +36 -2
- package/src/components/chat/entity-cards/case-study-card.tsx +122 -46
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/quick-action-chip.tsx +33 -9
- 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,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Pagination
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
withQuery
|
|
7
|
-
} from "./chunk-CUME3VTQ.js";
|
|
4
|
+
} from "./chunk-WSDT7LYL.js";
|
|
8
5
|
import {
|
|
9
6
|
usePathname,
|
|
10
7
|
useRouter,
|
|
11
8
|
useSearchParams
|
|
12
9
|
} from "./chunk-GY4IZG22.js";
|
|
10
|
+
import {
|
|
11
|
+
withQuery
|
|
12
|
+
} from "./chunk-AGVXKD4K.js";
|
|
13
13
|
import {
|
|
14
14
|
Button
|
|
15
15
|
} from "./chunk-YDPKUAP4.js";
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
PersistentPaginationWrapper
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4QFWGLZO.js";
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow,
|
|
7
7
|
ListEmptyState
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-G3OMVCID.js";
|
|
9
9
|
import {
|
|
10
10
|
EmptyState
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6YPTUHM7.js";
|
|
12
12
|
import {
|
|
13
13
|
DetailPageSkeleton
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NQWJAOHO.js";
|
|
15
15
|
import {
|
|
16
16
|
useSelfFetch
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YBQQNDC7.js";
|
|
18
18
|
import {
|
|
19
19
|
Accordion,
|
|
20
20
|
AccordionContent,
|
|
21
21
|
AccordionItem,
|
|
22
22
|
AccordionTrigger,
|
|
23
|
-
DEV_SECTION_PARAM_KEYS,
|
|
24
23
|
EntityTagBadges,
|
|
25
24
|
FadePreview,
|
|
26
25
|
LoadError,
|
|
27
|
-
PageLayout,
|
|
28
26
|
PageShell,
|
|
29
27
|
ReleaseChangelogSection,
|
|
30
|
-
RichMarkdownRenderer
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
RichMarkdownRenderer
|
|
29
|
+
} from "./chunk-FCAVAEHF.js";
|
|
30
|
+
import {
|
|
31
|
+
PageLayout
|
|
32
|
+
} from "./chunk-NPAQSMRY.js";
|
|
34
33
|
import {
|
|
35
34
|
useHumanitySignals,
|
|
36
35
|
useScrollToHash
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-6T3BTD6Q.js";
|
|
38
37
|
import {
|
|
39
|
-
contentFetch
|
|
40
|
-
|
|
41
|
-
positiveInt
|
|
42
|
-
} from "./chunk-CUME3VTQ.js";
|
|
38
|
+
contentFetch
|
|
39
|
+
} from "./chunk-G3GRYDMS.js";
|
|
43
40
|
import {
|
|
41
|
+
DEV_SECTION_PARAM_KEYS,
|
|
42
|
+
devSectionAnchorId,
|
|
44
43
|
executeNavigationImperative,
|
|
45
44
|
isModifierClick,
|
|
45
|
+
resolveContentHref,
|
|
46
46
|
useCaptions,
|
|
47
47
|
useIsHydrated
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ROBQ5TR7.js";
|
|
49
49
|
import {
|
|
50
50
|
STICKY_HEADER_OFFSET_PX
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-CMZ3QTFQ.js";
|
|
52
52
|
import {
|
|
53
53
|
usePathname,
|
|
54
54
|
useRouter,
|
|
@@ -66,20 +66,26 @@ import {
|
|
|
66
66
|
RoadmapCard,
|
|
67
67
|
Video,
|
|
68
68
|
buildProductReleaseCardProps,
|
|
69
|
-
formatLegalDate,
|
|
70
69
|
formatReleaseDate,
|
|
71
70
|
toStripProfile,
|
|
72
71
|
useEntityCardLink
|
|
73
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-TTVOLEUS.js";
|
|
73
|
+
import {
|
|
74
|
+
formatLegalDate
|
|
75
|
+
} from "./chunk-IYVFSLWJ.js";
|
|
74
76
|
import {
|
|
75
77
|
next_image_default
|
|
76
78
|
} from "./chunk-FBZMAPWO.js";
|
|
77
79
|
import {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
+
pageCount,
|
|
81
|
+
positiveInt
|
|
82
|
+
} from "./chunk-AGVXKD4K.js";
|
|
80
83
|
import {
|
|
81
84
|
useChatRuntime
|
|
82
85
|
} from "./chunk-E4ABZWTJ.js";
|
|
86
|
+
import {
|
|
87
|
+
GitHubIcon
|
|
88
|
+
} from "./chunk-N45D4ZXQ.js";
|
|
83
89
|
import {
|
|
84
90
|
next_link_default
|
|
85
91
|
} from "./chunk-DAAVMYUT.js";
|
|
@@ -3,36 +3,42 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkOBZJICEAcjs = require('./chunk-OBZJICEA.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var _chunkPRX7HVLEcjs = require('./chunk-PRX7HVLE.cjs');
|
|
12
11
|
|
|
12
|
+
var _chunkJVCAK4W3cjs = require('./chunk-JVCAK4W3.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var _chunkEX6GGCACcjs = require('./chunk-EX6GGCAC.cjs');
|
|
16
15
|
|
|
16
|
+
var _chunkUT3ODMBUcjs = require('./chunk-UT3ODMBU.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
var _chunkL6ZQGWCXcjs = require('./chunk-L6ZQGWCX.cjs');
|
|
21
22
|
|
|
22
23
|
|
|
24
|
+
var _chunkPPXR22YCcjs = require('./chunk-PPXR22YC.cjs');
|
|
23
25
|
|
|
24
26
|
|
|
25
|
-
var
|
|
27
|
+
var _chunkAUMKE74Mcjs = require('./chunk-AUMKE74M.cjs');
|
|
26
28
|
|
|
27
29
|
|
|
28
|
-
var _chunkOF6GEI5Acjs = require('./chunk-OF6GEI5A.cjs');
|
|
29
30
|
|
|
30
31
|
|
|
31
32
|
|
|
33
|
+
var _chunkHETQETPVcjs = require('./chunk-HETQETPV.cjs');
|
|
32
34
|
|
|
33
35
|
|
|
34
36
|
|
|
35
|
-
|
|
37
|
+
|
|
38
|
+
var _chunkGQ7JJUITcjs = require('./chunk-GQ7JJUIT.cjs');
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
var _chunkWVOTC7HWcjs = require('./chunk-WVOTC7HW.cjs');
|
|
36
42
|
|
|
37
43
|
|
|
38
44
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
@@ -206,7 +212,7 @@ function useDocsResolveLink(sourceId, resolveLinkEndpoint) {
|
|
|
206
212
|
return _react.useCallback.call(void 0,
|
|
207
213
|
async (href, currentPath) => {
|
|
208
214
|
try {
|
|
209
|
-
const response = await
|
|
215
|
+
const response = await _chunkAUMKE74Mcjs.contentFetch.call(void 0, resolvedResolveLinkEndpoint, {
|
|
210
216
|
method: "POST",
|
|
211
217
|
headers: { "Content-Type": "application/json" },
|
|
212
218
|
body: JSON.stringify({ link: href, currentPath, source: sourceId })
|
|
@@ -232,9 +238,9 @@ function useDocsResolveLink(sourceId, resolveLinkEndpoint) {
|
|
|
232
238
|
function scrollToContent() {
|
|
233
239
|
const article = document.querySelector("article");
|
|
234
240
|
if (article) {
|
|
235
|
-
|
|
241
|
+
_chunkGQ7JJUITcjs.scrollElementIntoView.call(void 0, article, { headerOffset: _chunkGQ7JJUITcjs.HUB_HEADER_OFFSET_PX });
|
|
236
242
|
} else {
|
|
237
|
-
|
|
243
|
+
_chunkGQ7JJUITcjs.scrollElementIntoView.call(void 0, document.documentElement);
|
|
238
244
|
}
|
|
239
245
|
}
|
|
240
246
|
function findFirstDocPath(folder) {
|
|
@@ -333,8 +339,8 @@ function toDocContent(value, requestedPath) {
|
|
|
333
339
|
}
|
|
334
340
|
function useDocumentTree(config, initialPath) {
|
|
335
341
|
const { structureEndpoint, contentEndpoint, baseRoute } = config;
|
|
336
|
-
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => (
|
|
337
|
-
const cleanInitialPath =
|
|
342
|
+
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkHETQETPVcjs.DEFAULT_FOLDER_INDEX_FILE));
|
|
343
|
+
const cleanInitialPath = _chunkHETQETPVcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
|
|
338
344
|
const [structure, setStructure] = _react.useState.call(void 0, []);
|
|
339
345
|
const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
|
|
340
346
|
const [content, setContent] = _react.useState.call(void 0, null);
|
|
@@ -358,12 +364,12 @@ function useDocumentTree(config, initialPath) {
|
|
|
358
364
|
} else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
|
|
359
365
|
pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
|
|
360
366
|
}
|
|
361
|
-
pathFromUrl =
|
|
367
|
+
pathFromUrl = _chunkHETQETPVcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
|
|
362
368
|
if (pathFromUrl !== selectedPathRef.current) {
|
|
363
369
|
setSelectedPath(pathFromUrl);
|
|
364
370
|
if (pathFromUrl) {
|
|
365
371
|
const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
|
|
366
|
-
setExpandedNodes(new Set(
|
|
372
|
+
setExpandedNodes(new Set(_chunkHETQETPVcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
367
373
|
}
|
|
368
374
|
setTimeout(() => {
|
|
369
375
|
scrollToContent();
|
|
@@ -381,7 +387,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
381
387
|
setSelectedPath(cleanInitialPath);
|
|
382
388
|
if (cleanInitialPath) {
|
|
383
389
|
const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
384
|
-
setExpandedNodes(new Set(
|
|
390
|
+
setExpandedNodes(new Set(_chunkHETQETPVcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
385
391
|
}
|
|
386
392
|
setExternalNavCount((n) => n + 1);
|
|
387
393
|
}
|
|
@@ -395,7 +401,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
395
401
|
try {
|
|
396
402
|
setIsLoadingStructure(true);
|
|
397
403
|
setError(null);
|
|
398
|
-
const response = await
|
|
404
|
+
const response = await _chunkAUMKE74Mcjs.contentFetch.call(void 0, structureEndpoint);
|
|
399
405
|
if (!response.ok) {
|
|
400
406
|
throw new Error("Failed to load documentation structure");
|
|
401
407
|
}
|
|
@@ -406,7 +412,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
406
412
|
if (cleanInitialPath) {
|
|
407
413
|
const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
408
414
|
if (pathForExpansion) {
|
|
409
|
-
setExpandedNodes(new Set(
|
|
415
|
+
setExpandedNodes(new Set(_chunkHETQETPVcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
|
|
410
416
|
}
|
|
411
417
|
} else if (nodes.length > 0) {
|
|
412
418
|
const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
|
|
@@ -422,7 +428,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
422
428
|
}
|
|
423
429
|
}
|
|
424
430
|
} else {
|
|
425
|
-
setError(
|
|
431
|
+
setError(_chunkWVOTC7HWcjs.apiErrorMessage.call(void 0, payload, "Failed to load documentation structure"));
|
|
426
432
|
}
|
|
427
433
|
} catch (err) {
|
|
428
434
|
console.error("Error fetching documentation structure:", err);
|
|
@@ -434,7 +440,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
434
440
|
const fetchContent = async (path) => {
|
|
435
441
|
try {
|
|
436
442
|
setIsLoadingContent(true);
|
|
437
|
-
const response = await
|
|
443
|
+
const response = await _chunkAUMKE74Mcjs.contentFetch.call(void 0, `${contentEndpoint}?path=${encodeURIComponent(path)}`);
|
|
438
444
|
if (path !== lastFetchedPath.current) return;
|
|
439
445
|
if (!response.ok) {
|
|
440
446
|
if (response.status === 404) {
|
|
@@ -446,7 +452,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
446
452
|
setContent(null);
|
|
447
453
|
return;
|
|
448
454
|
}
|
|
449
|
-
const probe =
|
|
455
|
+
const probe = _chunkHETQETPVcjs.findDocNodeByPath.call(void 0, _chunkHETQETPVcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
|
|
450
456
|
const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
|
|
451
457
|
const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
|
|
452
458
|
if (probeIsNoReadmeFolder || preStructureFolderLike) {
|
|
@@ -455,7 +461,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
455
461
|
setContent(null);
|
|
456
462
|
return;
|
|
457
463
|
}
|
|
458
|
-
setError(
|
|
464
|
+
setError(_chunkWVOTC7HWcjs.apiErrorMessage.call(void 0, errorPayload, "Documentation file not found"));
|
|
459
465
|
setContent(null);
|
|
460
466
|
return;
|
|
461
467
|
}
|
|
@@ -473,7 +479,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
473
479
|
}
|
|
474
480
|
setContent(doc);
|
|
475
481
|
} else {
|
|
476
|
-
setError(
|
|
482
|
+
setError(_chunkWVOTC7HWcjs.apiErrorMessage.call(void 0, payload, "Failed to load content"));
|
|
477
483
|
setContent(null);
|
|
478
484
|
}
|
|
479
485
|
} catch (err) {
|
|
@@ -503,7 +509,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
503
509
|
if (selectedPath === "") {
|
|
504
510
|
pathToFetch = folderIndexFile;
|
|
505
511
|
} else {
|
|
506
|
-
const node =
|
|
512
|
+
const node = _chunkHETQETPVcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
507
513
|
if (node && node.type === "folder" && !node.hasReadme) {
|
|
508
514
|
const firstDocPath = findFirstDocPath(node);
|
|
509
515
|
if (!firstDocPath) {
|
|
@@ -544,16 +550,16 @@ function useDocumentTree(config, initialPath) {
|
|
|
544
550
|
if (node.type === "folder") {
|
|
545
551
|
setExpandedNodes((prev) => {
|
|
546
552
|
if (prev.has(node.id)) {
|
|
547
|
-
const ancestorIds =
|
|
553
|
+
const ancestorIds = _chunkHETQETPVcjs.getDocAncestorNodeIds.call(void 0, node.path);
|
|
548
554
|
ancestorIds.pop();
|
|
549
555
|
return new Set(ancestorIds);
|
|
550
556
|
}
|
|
551
|
-
return new Set(
|
|
557
|
+
return new Set(_chunkHETQETPVcjs.getDocAncestorNodeIds.call(void 0, node.path));
|
|
552
558
|
});
|
|
553
559
|
} else {
|
|
554
560
|
const lastSlash = node.path.lastIndexOf("/");
|
|
555
561
|
if (lastSlash > 0) {
|
|
556
|
-
setExpandedNodes(new Set(
|
|
562
|
+
setExpandedNodes(new Set(_chunkHETQETPVcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
|
|
557
563
|
}
|
|
558
564
|
}
|
|
559
565
|
lastFetchedPath.current = null;
|
|
@@ -568,9 +574,9 @@ function useDocumentTree(config, initialPath) {
|
|
|
568
574
|
const hashIndex = path.indexOf("#");
|
|
569
575
|
const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
|
|
570
576
|
const cleanPath = path.replace(/\/$/, "").split("#")[0];
|
|
571
|
-
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current :
|
|
577
|
+
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkHETQETPVcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
|
|
572
578
|
if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
|
|
573
|
-
|
|
579
|
+
_chunkGQ7JJUITcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkGQ7JJUITcjs.HUB_HEADER_OFFSET_PX });
|
|
574
580
|
return;
|
|
575
581
|
}
|
|
576
582
|
const scrollAfterNav = () => {
|
|
@@ -578,7 +584,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
578
584
|
setTimeout(() => {
|
|
579
585
|
const el = document.getElementById(anchor.substring(1));
|
|
580
586
|
if (el) {
|
|
581
|
-
|
|
587
|
+
_chunkGQ7JJUITcjs.scrollElementIntoView.call(void 0, el, { headerOffset: _chunkGQ7JJUITcjs.HUB_HEADER_OFFSET_PX });
|
|
582
588
|
} else {
|
|
583
589
|
scrollToContent();
|
|
584
590
|
}
|
|
@@ -632,15 +638,15 @@ function useDocumentTree(config, initialPath) {
|
|
|
632
638
|
return docNavigation.register({
|
|
633
639
|
baseRoute: normalizedBaseRoute,
|
|
634
640
|
findNodeByPath: (path) => {
|
|
635
|
-
const clean =
|
|
636
|
-
return _nullishCoalesce(
|
|
641
|
+
const clean = _chunkHETQETPVcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
|
|
642
|
+
return _nullishCoalesce(_chunkHETQETPVcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
|
|
637
643
|
},
|
|
638
644
|
selectNode
|
|
639
645
|
});
|
|
640
646
|
}, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
|
|
641
647
|
const isEmptyFolder = _react.useMemo.call(void 0, () => {
|
|
642
648
|
if (!selectedPath || structure.length === 0) return false;
|
|
643
|
-
const node =
|
|
649
|
+
const node = _chunkHETQETPVcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
644
650
|
return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
|
|
645
651
|
}, [selectedPath, structure]);
|
|
646
652
|
return {
|
|
@@ -660,102 +666,6 @@ function useDocumentTree(config, initialPath) {
|
|
|
660
666
|
};
|
|
661
667
|
}
|
|
662
668
|
|
|
663
|
-
// src/components/docs/use-scroll-spy.ts
|
|
664
|
-
|
|
665
|
-
var SCROLL_OFFSET = 100;
|
|
666
|
-
var ID_SEPARATOR = "\n";
|
|
667
|
-
function replaceHash(sectionId) {
|
|
668
|
-
const { pathname, search, hash } = window.location;
|
|
669
|
-
const next = sectionId ? `#${sectionId}` : "";
|
|
670
|
-
if (hash === next) return;
|
|
671
|
-
window.history.replaceState(window.history.state, "", `${pathname}${search}${next}`);
|
|
672
|
-
}
|
|
673
|
-
function resolveScroller(firstSection) {
|
|
674
|
-
const container = firstSection ? _chunkUVTD52MDcjs.getScrollableAncestor.call(void 0, firstSection) : null;
|
|
675
|
-
if (container) {
|
|
676
|
-
return {
|
|
677
|
-
target: container,
|
|
678
|
-
scrollTop: () => container.scrollTop,
|
|
679
|
-
viewportTop: () => container.getBoundingClientRect().top,
|
|
680
|
-
clientHeight: () => container.clientHeight,
|
|
681
|
-
scrollHeight: () => container.scrollHeight
|
|
682
|
-
};
|
|
683
|
-
}
|
|
684
|
-
return {
|
|
685
|
-
target: window,
|
|
686
|
-
scrollTop: () => window.scrollY,
|
|
687
|
-
viewportTop: () => 0,
|
|
688
|
-
clientHeight: () => window.innerHeight,
|
|
689
|
-
scrollHeight: () => document.documentElement.scrollHeight
|
|
690
|
-
};
|
|
691
|
-
}
|
|
692
|
-
function useScrollSpy(sections, options = {}) {
|
|
693
|
-
const { syncHash = false, headerOffset = SCROLL_OFFSET } = options;
|
|
694
|
-
const [activeSection, setActiveSection] = _react.useState.call(void 0, "");
|
|
695
|
-
const isScrollingFromClick = _react.useRef.call(void 0, false);
|
|
696
|
-
const sectionIdsKey = _react.useMemo.call(void 0, () => _nullishCoalesce(_optionalChain([sections, 'optionalAccess', _11 => _11.map, 'call', _12 => _12((s) => s.id), 'access', _13 => _13.join, 'call', _14 => _14(ID_SEPARATOR)]), () => ( "")), [sections]);
|
|
697
|
-
const handleSectionClick = _react.useCallback.call(void 0,
|
|
698
|
-
(sectionId) => {
|
|
699
|
-
const targetElement = document.getElementById(sectionId);
|
|
700
|
-
if (!targetElement) return;
|
|
701
|
-
isScrollingFromClick.current = true;
|
|
702
|
-
setActiveSection(sectionId);
|
|
703
|
-
if (syncHash) replaceHash(sectionId);
|
|
704
|
-
_chunkUVTD52MDcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset });
|
|
705
|
-
setTimeout(() => {
|
|
706
|
-
isScrollingFromClick.current = false;
|
|
707
|
-
}, 800);
|
|
708
|
-
},
|
|
709
|
-
[syncHash, headerOffset]
|
|
710
|
-
);
|
|
711
|
-
_react.useEffect.call(void 0, () => {
|
|
712
|
-
const sectionIds = sectionIdsKey === "" ? [] : sectionIdsKey.split(ID_SEPARATOR);
|
|
713
|
-
if (sectionIds.length === 0) return void 0;
|
|
714
|
-
const scroller = resolveScroller(document.getElementById(_nullishCoalesce(sectionIds[0], () => ( ""))));
|
|
715
|
-
const handleScroll = (fromScroll = false) => {
|
|
716
|
-
if (isScrollingFromClick.current) return;
|
|
717
|
-
const scrollTop = scroller.scrollTop();
|
|
718
|
-
const viewportTop = scroller.viewportTop();
|
|
719
|
-
const scrollPosition = scrollTop + headerOffset;
|
|
720
|
-
const sectionTop = (element) => element.getBoundingClientRect().top - viewportTop + scrollTop;
|
|
721
|
-
let currentSection = _nullishCoalesce(sectionIds[0], () => ( ""));
|
|
722
|
-
const scrollHeight = scroller.scrollHeight();
|
|
723
|
-
const clientHeight = scroller.clientHeight();
|
|
724
|
-
const scrollable = scrollHeight > clientHeight + 2;
|
|
725
|
-
const atBottom = scrollable && clientHeight + scrollTop >= scrollHeight - 2;
|
|
726
|
-
if (atBottom) {
|
|
727
|
-
currentSection = _nullishCoalesce(sectionIds[sectionIds.length - 1], () => ( currentSection));
|
|
728
|
-
} else {
|
|
729
|
-
for (let i = sectionIds.length - 1; i >= 0; i--) {
|
|
730
|
-
const element = document.getElementById(sectionIds[i]);
|
|
731
|
-
if (element && scrollPosition >= sectionTop(element)) {
|
|
732
|
-
currentSection = sectionIds[i];
|
|
733
|
-
break;
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
setActiveSection((prev) => prev !== currentSection ? currentSection : prev);
|
|
738
|
-
if (syncHash && fromScroll) {
|
|
739
|
-
const first = document.getElementById(_nullishCoalesce(sectionIds[0], () => ( "")));
|
|
740
|
-
const aboveFirst = !atBottom && first !== null && scrollPosition < sectionTop(first);
|
|
741
|
-
replaceHash(aboveFirst ? null : currentSection);
|
|
742
|
-
}
|
|
743
|
-
};
|
|
744
|
-
let scrollTimer;
|
|
745
|
-
const throttledScroll = () => {
|
|
746
|
-
clearTimeout(scrollTimer);
|
|
747
|
-
scrollTimer = setTimeout(() => handleScroll(true), 100);
|
|
748
|
-
};
|
|
749
|
-
scroller.target.addEventListener("scroll", throttledScroll);
|
|
750
|
-
handleScroll();
|
|
751
|
-
return () => {
|
|
752
|
-
scroller.target.removeEventListener("scroll", throttledScroll);
|
|
753
|
-
clearTimeout(scrollTimer);
|
|
754
|
-
};
|
|
755
|
-
}, [sectionIdsKey, syncHash, headerOffset]);
|
|
756
|
-
return { activeSection, handleSectionClick };
|
|
757
|
-
}
|
|
758
|
-
|
|
759
669
|
// src/components/docs/doc-viewer.tsx
|
|
760
670
|
|
|
761
671
|
var DEFAULT_DOC_VIEWER_PALETTE = {
|
|
@@ -816,14 +726,14 @@ function DocViewerContent({
|
|
|
816
726
|
},
|
|
817
727
|
docPath
|
|
818
728
|
);
|
|
819
|
-
const { activeSection, handleSectionClick } = useScrollSpy(_optionalChain([content, 'optionalAccess',
|
|
729
|
+
const { activeSection, handleSectionClick } = _chunkJVCAK4W3cjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
|
|
820
730
|
const docNav = useDocNavigation();
|
|
821
731
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
822
732
|
const backCfg = backButton === false ? null : {
|
|
823
|
-
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess',
|
|
824
|
-
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess',
|
|
733
|
+
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.label]), () => ( "Back to home")),
|
|
734
|
+
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _13 => _13.href]), () => ( "/")))
|
|
825
735
|
};
|
|
826
|
-
const docSearch =
|
|
736
|
+
const docSearch = _chunkUT3ODMBUcjs.useDocSearch.call(void 0, {
|
|
827
737
|
source: chatSource,
|
|
828
738
|
baseRoute,
|
|
829
739
|
searchEndpoint,
|
|
@@ -847,22 +757,22 @@ function DocViewerContent({
|
|
|
847
757
|
onResolveLink: resolveLink
|
|
848
758
|
});
|
|
849
759
|
}, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
|
|
850
|
-
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([
|
|
851
|
-
const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess',
|
|
760
|
+
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkHETQETPVcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
|
|
761
|
+
const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _15 => _15.documentType]), () => ( selectedNodeDocType));
|
|
852
762
|
const isMarkdownContent = !activeDocType || activeDocType === "markdown";
|
|
853
763
|
const showStickyNav = isMarkdownContent;
|
|
854
|
-
const stickyNavSections = _nullishCoalesce(_optionalChain([content, 'optionalAccess',
|
|
764
|
+
const stickyNavSections = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _16 => _16.sections, 'optionalAccess', _17 => _17.map, 'call', _18 => _18((s) => ({ id: s.id, label: s.title }))]), () => ( []));
|
|
855
765
|
const isColorValue = colorPalette.background.startsWith("#") || colorPalette.background.startsWith("rgb") || colorPalette.background.startsWith("var(");
|
|
856
766
|
const bgStyle = isColorValue ? { backgroundColor: colorPalette.background } : {};
|
|
857
767
|
const bgClass = !isColorValue ? colorPalette.background : "";
|
|
858
768
|
const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
|
|
859
769
|
const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
|
|
860
770
|
const resolvedEmptyText = emptyStateText || defaultEmptyText;
|
|
861
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
771
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPXR22YCcjs.PageLayout, { title, subtitle, titleSize: "h1", titleWrap: true, backButton: _nullishCoalesce(backCfg, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
|
|
862
772
|
showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
863
|
-
|
|
773
|
+
_chunkUT3ODMBUcjs.DocSearchBar,
|
|
864
774
|
{
|
|
865
|
-
placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess',
|
|
775
|
+
placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _19 => _19.toLowerCase, 'call', _20 => _20()]) || "documents"}...`,
|
|
866
776
|
query: docSearch.query,
|
|
867
777
|
onQueryChange: docSearch.setQuery,
|
|
868
778
|
results: docSearch.results,
|
|
@@ -879,9 +789,9 @@ function DocViewerContent({
|
|
|
879
789
|
] })
|
|
880
790
|
] }) }),
|
|
881
791
|
!error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-start gap-6 content-lg:flex-row content-lg:gap-10", children: [
|
|
882
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
792
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL6ZQGWCXcjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
883
793
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
884
|
-
|
|
794
|
+
_chunkJVCAK4W3cjs.MobileNavigationDropdown,
|
|
885
795
|
{
|
|
886
796
|
nodes: structure,
|
|
887
797
|
selectedPath,
|
|
@@ -895,7 +805,7 @@ function DocViewerContent({
|
|
|
895
805
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentSidebar, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden content-lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
896
806
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
|
|
897
807
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
898
|
-
|
|
808
|
+
_chunkJVCAK4W3cjs.MultiLevelNavigation,
|
|
899
809
|
{
|
|
900
810
|
nodes: structure,
|
|
901
811
|
selectedPath,
|
|
@@ -934,7 +844,7 @@ function DocViewerContent({
|
|
|
934
844
|
showStickyNav && content && stickyNavSections.length > 0 && !isLoadingContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden content-lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "sticky top-24", children: [
|
|
935
845
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "mb-4 font-semibold text-ods-text-secondary text-h5", children: "ON THIS PAGE" }),
|
|
936
846
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
937
|
-
|
|
847
|
+
_chunkJVCAK4W3cjs.StickySectionNav,
|
|
938
848
|
{
|
|
939
849
|
sections: stickyNavSections,
|
|
940
850
|
activeSection,
|
|
@@ -949,7 +859,7 @@ function DocViewerContent({
|
|
|
949
859
|
) })
|
|
950
860
|
] })
|
|
951
861
|
] }) }) });
|
|
952
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
862
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL6ZQGWCXcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
|
|
953
863
|
}
|
|
954
864
|
|
|
955
865
|
// src/components/docs/skeletons.tsx
|
|
@@ -1045,11 +955,11 @@ function EmbedSkeleton({ documentType } = {}) {
|
|
|
1045
955
|
|
|
1046
956
|
var DEFAULT_TITLE = "Documents";
|
|
1047
957
|
var defaultFallbackRenderer = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-16 text-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: "Unsupported document type" }) });
|
|
1048
|
-
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1049
|
-
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1050
|
-
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
958
|
+
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBZJICEAcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
959
|
+
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBZJICEAcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
960
|
+
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL6ZQGWCXcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
|
|
1051
961
|
var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1052
|
-
|
|
962
|
+
_chunkOBZJICEAcjs.FileDownloadCard,
|
|
1053
963
|
{
|
|
1054
964
|
fileName: content.fileName,
|
|
1055
965
|
mimeType: content.mimeType,
|
|
@@ -1110,5 +1020,4 @@ function DocsHubPage({
|
|
|
1110
1020
|
|
|
1111
1021
|
|
|
1112
1022
|
|
|
1113
|
-
|
|
1114
|
-
exports.PersistentFilterControls = PersistentFilterControls; exports.PersistentSearchContainer = PersistentSearchContainer; exports.PersistentSidebar = PersistentSidebar; exports.PersistentMobileDropdown = PersistentMobileDropdown; exports.DocNavigationProvider = DocNavigationProvider; exports.useDocNavigation = useDocNavigation; exports.useDocumentTree = useDocumentTree; exports.useScrollSpy = useScrollSpy; exports.DocViewer = DocViewer; exports.MarkdownSkeleton = MarkdownSkeleton; exports.EmbedSkeleton = EmbedSkeleton; exports.DocsHubPage = DocsHubPage;
|
|
1023
|
+
exports.PersistentFilterControls = PersistentFilterControls; exports.PersistentSearchContainer = PersistentSearchContainer; exports.PersistentSidebar = PersistentSidebar; exports.PersistentMobileDropdown = PersistentMobileDropdown; exports.DocNavigationProvider = DocNavigationProvider; exports.useDocNavigation = useDocNavigation; exports.useDocumentTree = useDocumentTree; exports.DocViewer = DocViewer; exports.MarkdownSkeleton = MarkdownSkeleton; exports.EmbedSkeleton = EmbedSkeleton; exports.DocsHubPage = DocsHubPage;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkULWVKHSIcjs = require('./chunk-ULWVKHSI.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunk3LU4UFPScjs = require('./chunk-3LU4UFPS.cjs');
|
|
9
|
+
|
|
10
|
+
// src/hooks/ui/use-content-breakpoint.ts
|
|
11
|
+
var _react = require('react');
|
|
12
|
+
var CONTENT_BREAKPOINTS = { md: _chunk3LU4UFPScjs.LAYOUT_STEPS.md.content, lg: _chunk3LU4UFPScjs.LAYOUT_STEPS.lg.content };
|
|
13
|
+
var ContentAreaWidthContext = _react.createContext.call(void 0, null);
|
|
14
|
+
function ViewportBreakpoints({ children }) {
|
|
15
|
+
return _react.createElement.call(void 0, ContentAreaWidthContext.Provider, { value: null }, children);
|
|
16
|
+
}
|
|
17
|
+
function contentBreakpointFor(width) {
|
|
18
|
+
if (width >= CONTENT_BREAKPOINTS.lg) return "desktop";
|
|
19
|
+
if (width >= CONTENT_BREAKPOINTS.md) return "tablet";
|
|
20
|
+
return "mobile";
|
|
21
|
+
}
|
|
22
|
+
function useContentBreakpoint() {
|
|
23
|
+
const width = _react.useContext.call(void 0, ContentAreaWidthContext);
|
|
24
|
+
const mdUp = _chunkULWVKHSIcjs.useMdUp.call(void 0, );
|
|
25
|
+
const lgUp = _chunkULWVKHSIcjs.useLgUp.call(void 0, );
|
|
26
|
+
if (width !== null) return contentBreakpointFor(width);
|
|
27
|
+
if (mdUp === void 0) return void 0;
|
|
28
|
+
if (lgUp) return "desktop";
|
|
29
|
+
return mdUp ? "tablet" : "mobile";
|
|
30
|
+
}
|
|
31
|
+
function useContentMdUp() {
|
|
32
|
+
const breakpoint = useContentBreakpoint();
|
|
33
|
+
return breakpoint === void 0 ? void 0 : breakpoint !== "mobile";
|
|
34
|
+
}
|
|
35
|
+
function useContentLgUp() {
|
|
36
|
+
const breakpoint = useContentBreakpoint();
|
|
37
|
+
return breakpoint === void 0 ? void 0 : breakpoint === "desktop";
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
exports.CONTENT_BREAKPOINTS = CONTENT_BREAKPOINTS; exports.ContentAreaWidthContext = ContentAreaWidthContext; exports.ViewportBreakpoints = ViewportBreakpoints; exports.contentBreakpointFor = contentBreakpointFor; exports.useContentBreakpoint = useContentBreakpoint; exports.useContentMdUp = useContentMdUp; exports.useContentLgUp = useContentLgUp;
|