@flamingo-stack/openframe-frontend-core 0.0.703 → 0.0.704-snapshot.20261006133653
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-3L7KCOGO.cjs → chunk-2QEUFXNS.cjs} +30 -30
- package/dist/{chunk-BMJUKS6S.cjs → chunk-3256UJXS.cjs} +47 -47
- package/dist/{chunk-GZYLZ4MB.js → chunk-4S7TJYRQ.js} +3 -3
- package/dist/{chunk-ENGBNKUJ.js → chunk-5EFZO5EB.js} +675 -569
- package/dist/{chunk-TCZCMD5Q.js → chunk-5HBHO5TB.js} +1 -1
- package/dist/{chunk-BOUPNYUV.js → chunk-64HOMVYC.js} +5 -5
- package/dist/{chunk-YR6JPJF4.js → chunk-6XIF2Z7I.js} +4 -4
- package/dist/{chunk-NU724ZVN.cjs → chunk-7GHB2IK6.cjs} +121 -121
- package/dist/{chunk-GX3OUTFO.cjs → chunk-7ZYIC7NA.cjs} +69 -55
- package/dist/{chunk-53AC23ZN.js → chunk-A6WVQKOZ.js} +24 -24
- package/dist/{chunk-4OGAXAEG.cjs → chunk-ABU3TGXA.cjs} +3 -3
- package/dist/{chunk-RTXTGLGB.cjs → chunk-ACV4DFQ3.cjs} +4 -4
- package/dist/{chunk-RLDAYA2A.cjs → chunk-BH6PJP66.cjs} +29 -29
- package/dist/{chunk-BRXOGCH3.cjs → chunk-BIZNSF3U.cjs} +3 -3
- package/dist/{chunk-2A4XES7R.cjs → chunk-BM5MVGH3.cjs} +3 -3
- package/dist/{chunk-6YCXA7CN.js → chunk-CH5232HV.js} +20 -19
- package/dist/{chunk-UIBSSVON.cjs → chunk-D7BTSVMS.cjs} +2 -2
- package/dist/{chunk-YBGEPKC2.cjs → chunk-F7Y2ZS5U.cjs} +6 -6
- package/dist/{chunk-5V6O73EH.js → chunk-FLKJYMVB.js} +3 -3
- package/dist/{chunk-NMGX2ZTU.js → chunk-IFUQVZF4.js} +17 -17
- package/dist/{chunk-2NE3DNXY.js → chunk-IKCQK67U.js} +2 -2
- package/dist/{chunk-KFDP3DUL.cjs → chunk-IXPUM3AW.cjs} +98 -98
- package/dist/{chunk-QGTDWFT6.js → chunk-IZHZMBIX.js} +2469 -1928
- package/dist/{chunk-67CXGPTW.cjs → chunk-JKEEFQOX.cjs} +505 -72
- package/dist/{chunk-NYSYSKSH.cjs → chunk-M6HTJTFH.cjs} +15 -15
- package/dist/{chunk-OGLCD3UL.js → chunk-MFFCUVWG.js} +6 -6
- package/dist/{chunk-KJ5LWATV.js → chunk-MKXO4Q5P.js} +7 -7
- package/dist/{chunk-EMCQGFXD.cjs → chunk-MMOODW57.cjs} +28 -27
- package/dist/{chunk-Q76ZTHNV.js → chunk-MP2C3LJ4.js} +1 -1
- package/dist/{chunk-J4K5JOLI.js → chunk-MV4HYG3B.js} +25 -11
- package/dist/{chunk-2T6QWNXU.js → chunk-NDESEPW5.js} +99 -11
- package/dist/{chunk-HHFPQNP3.js → chunk-NJDHFC55.js} +15 -15
- package/dist/{chunk-HUOLB7ZN.cjs → chunk-OHFS7VOU.cjs} +9 -9
- package/dist/{chunk-7632TNE7.js → chunk-OSNIZNVH.js} +7 -7
- package/dist/{chunk-UTW4SQDI.js → chunk-OUHMD6EU.js} +10 -10
- package/dist/{chunk-MXHJROXJ.cjs → chunk-P23CRLU4.cjs} +1245 -1139
- package/dist/{chunk-64O4L7WN.js → chunk-PDWVPI3S.js} +11 -55
- package/dist/{chunk-DAW6TDZB.js → chunk-PFC2HWQA.js} +30 -16
- package/dist/{chunk-G55W76S6.js → chunk-POZ7F77D.js} +12 -13
- package/dist/{chunk-PJP5SMOU.js → chunk-PPEZGUL7.js} +500 -67
- package/dist/{chunk-SFGXIFYO.cjs → chunk-QC7Q3XCE.cjs} +24 -24
- package/dist/{chunk-MDBHZBW7.cjs → chunk-RKV5B7EU.cjs} +92 -4
- package/dist/{chunk-5VPIC5MD.cjs → chunk-SAAZEWUR.cjs} +12 -12
- package/dist/{chunk-IIMICN7L.cjs → chunk-TYWLNCNH.cjs} +4 -48
- package/dist/{chunk-HYLIQMZH.cjs → chunk-UBP5RNGK.cjs} +33 -33
- package/dist/{chunk-HUMWQMCU.js → chunk-UT4YHQZW.js} +3 -3
- package/dist/{chunk-BSEIEWM5.cjs → chunk-V3H26CNS.cjs} +28 -14
- package/dist/{chunk-NGJCWEYX.cjs → chunk-VHCACDKP.cjs} +46 -46
- package/dist/{chunk-SL2FOFT2.js → chunk-VMAZCLX4.js} +7 -7
- package/dist/{chunk-5FFNNJM7.js → chunk-VR2ZLFCP.js} +1 -1
- package/dist/{chunk-NCTYD7HL.js → chunk-VYWMEL5F.js} +14 -14
- package/dist/{chunk-HY5YL3U5.cjs → chunk-XBWE423R.cjs} +1994 -1453
- package/dist/{chunk-XCIFHW4E.cjs → chunk-XOYH2YQE.cjs} +2 -2
- package/dist/{chunk-S6V7A5FS.cjs → chunk-ZQZFIE2K.cjs} +32 -33
- package/dist/components/case-studies/index.cjs +24 -24
- package/dist/components/case-studies/index.js +10 -10
- package/dist/components/chat/chat-archive-page.d.ts +3 -3
- package/dist/components/chat/chat-archive-page.d.ts.map +1 -1
- package/dist/components/chat/chat-input.d.ts.map +1 -1
- package/dist/components/chat/chat-nav-sidebar.d.ts +4 -0
- package/dist/components/chat/chat-nav-sidebar.d.ts.map +1 -1
- package/dist/components/chat/chat-panel-header.d.ts +3 -2
- package/dist/components/chat/chat-panel-header.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.d.ts +36 -2
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +14 -6
- package/dist/components/chat/index.d.ts +4 -1
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +13 -5
- package/dist/components/chat/mingo-archive-list.d.ts +17 -0
- package/dist/components/chat/mingo-archive-list.d.ts.map +1 -0
- package/dist/components/chat/mingo-chat-header.d.ts +31 -0
- package/dist/components/chat/mingo-chat-header.d.ts.map +1 -0
- package/dist/components/chat/mingo-chat-rail.d.ts +54 -0
- package/dist/components/chat/mingo-chat-rail.d.ts.map +1 -0
- package/dist/components/chat/model-display.d.ts.map +1 -1
- package/dist/components/contact/contact-form.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +11 -11
- package/dist/components/contact/index.js +10 -10
- package/dist/components/content-loading-container.d.ts +1 -1
- package/dist/components/content-loading-container.d.ts.map +1 -1
- package/dist/components/docs/index.cjs +14 -14
- package/dist/components/docs/index.js +13 -13
- package/dist/components/docs/skeletons.d.ts.map +1 -1
- package/dist/components/embeds/index.cjs +11 -11
- package/dist/components/embeds/index.js +10 -10
- package/dist/components/faq/index.cjs +12 -12
- package/dist/components/faq/index.js +11 -11
- package/dist/components/features/figma-prototype-viewer.d.ts.map +1 -1
- package/dist/components/features/index.cjs +10 -10
- package/dist/components/features/index.js +9 -9
- package/dist/components/features/media-gallery-manager.d.ts.map +1 -1
- package/dist/components/features/parallax-image-showcase.d.ts.map +1 -1
- package/dist/components/features/policy-configuration-panel.d.ts.map +1 -1
- package/dist/components/features/section-selector.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +119 -119
- package/dist/components/help-center-pages/index.js +39 -39
- package/dist/components/help-center-pages/trust-center-sections.d.ts +2 -2
- package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
- package/dist/components/index.cjs +94 -86
- package/dist/components/index.js +32 -24
- package/dist/components/layout/article-detail-layout.d.ts +1 -1
- package/dist/components/layout/article-detail-layout.d.ts.map +1 -1
- package/dist/components/layout/page-container.d.ts.map +1 -1
- package/dist/components/layout/title-block.d.ts +2 -2
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/loading/page-layout-skeleton.d.ts.map +1 -1
- package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/booking-form.d.ts +4 -4
- package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/context-panel.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +127 -127
- package/dist/components/meeting-scheduler/index.d.ts +2 -2
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +50 -50
- package/dist/components/navigation/app-header.d.ts +4 -0
- package/dist/components/navigation/app-header.d.ts.map +1 -1
- package/dist/components/navigation/app-layout-side-panel.d.ts +142 -0
- package/dist/components/navigation/app-layout-side-panel.d.ts.map +1 -0
- package/dist/components/navigation/app-layout.d.ts +11 -1
- package/dist/components/navigation/app-layout.d.ts.map +1 -1
- package/dist/components/navigation/header-mingo-button.d.ts +4 -1
- package/dist/components/navigation/header-mingo-button.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +13 -13
- package/dist/components/navigation/index.d.ts +1 -0
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +12 -12
- package/dist/components/navigation/navigation-sidebar.d.ts +8 -1
- package/dist/components/navigation/navigation-sidebar.d.ts.map +1 -1
- package/dist/components/navigation/sliding-sidebar.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +14 -14
- package/dist/components/onboarding-guides/index.js +13 -13
- package/dist/components/persistent-filter-controls.d.ts.map +1 -1
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/related-content/index.js +6 -6
- package/dist/components/shared/detail-page-skeleton.d.ts.map +1 -1
- package/dist/components/tickets/help-center-create-form.d.ts +4 -4
- package/dist/components/tickets/index.cjs +15 -15
- package/dist/components/tickets/index.js +14 -14
- package/dist/components/ui/announcement-bar-view.d.ts.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/checkbox-block.d.ts.map +1 -1
- package/dist/components/ui/dashboard-info-card.d.ts +1 -1
- package/dist/components/ui/dashboard-info-card.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-body.d.ts +2 -2
- package/dist/components/ui/data-table/data-table-skeleton.d.ts +2 -2
- package/dist/components/ui/data-table/data-table-skeleton.d.ts.map +1 -1
- package/dist/components/ui/data-table/utils.d.ts +2 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/drawer.d.ts.map +1 -1
- package/dist/components/ui/entity-image.d.ts +2 -2
- package/dist/components/ui/file-manager/index.cjs +36 -36
- package/dist/components/ui/file-manager/index.js +3 -3
- package/dist/components/ui/filter-modal.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +18 -10
- package/dist/components/ui/index.js +17 -9
- package/dist/components/ui/info-card-row.d.ts.map +1 -1
- package/dist/components/ui/menubar.d.ts +1 -1
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/modal-v2.d.ts.map +1 -1
- package/dist/components/ui/modal.d.ts.map +1 -1
- package/dist/components/ui/no-data/no-data-actions.d.ts.map +1 -1
- package/dist/components/ui/no-data/no-data-styles.d.ts +1 -1
- package/dist/components/ui/no-data/no-data-styles.d.ts.map +1 -1
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/sheet.d.ts.map +1 -1
- package/dist/components/ui/table/table-skeleton.d.ts +1 -1
- package/dist/components/ui/table/table-skeleton.d.ts.map +1 -1
- package/dist/hooks/index.cjs +23 -9
- package/dist/hooks/index.js +24 -10
- package/dist/hooks/ui/index.d.ts +1 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/use-content-breakpoint.d.ts +32 -0
- package/dist/hooks/ui/use-content-breakpoint.d.ts.map +1 -0
- package/dist/hooks/ui/use-isomorphic-layout-effect.d.ts +2 -2
- package/dist/hooks/ui/use-isomorphic-layout-effect.d.ts.map +1 -1
- package/dist/hooks/ui/use-media-query.d.ts.map +1 -1
- package/dist/index.cjs +39 -17
- package/dist/index.js +41 -19
- package/dist/styles/layout-steps.d.ts +30 -0
- package/dist/styles/layout-steps.d.ts.map +1 -0
- package/dist/tailwind.config.cjs +36 -11
- package/dist/tailwind.config.js +36 -11
- package/eslint-config/README.md +9 -0
- package/eslint-config/base.js +17 -1
- package/eslint-config/layout-variants.js +57 -0
- package/package.json +3 -1
- package/src/ODS_TOKEN_RULES.md +40 -0
- package/src/components/chat/chat-archive-page.tsx +9 -7
- package/src/components/chat/chat-input.tsx +5 -1
- package/src/components/chat/chat-nav-sidebar.tsx +10 -4
- package/src/components/chat/chat-panel-header.tsx +8 -5
- package/src/components/chat/embeddable-chat.tsx +675 -485
- package/src/components/chat/index.ts +4 -0
- package/src/components/chat/mingo-archive-list.tsx +108 -0
- package/src/components/chat/mingo-chat-header.tsx +104 -0
- package/src/components/chat/mingo-chat-rail.tsx +361 -0
- package/src/components/chat/model-display.tsx +8 -1
- package/src/components/contact/contact-form.tsx +11 -9
- package/src/components/content-loading-container.tsx +4 -2
- package/src/components/docs/doc-viewer.tsx +7 -7
- package/src/components/docs/skeletons.tsx +7 -4
- package/src/components/dynamic-skeleton.tsx +1 -1
- package/src/components/embeds/claude-embed.tsx +1 -1
- package/src/components/embeds/embed-viewer-frame.tsx +4 -4
- package/src/components/embeds/figma-embed.tsx +2 -2
- package/src/components/embeds/google-sheets-viewer.tsx +1 -1
- package/src/components/embeds/pdf-viewer.tsx +3 -3
- package/src/components/empty-state.tsx +6 -6
- package/src/components/faq/faq-section.tsx +2 -2
- package/src/components/faq-accordion.tsx +1 -1
- package/src/components/features/board/board-column-header.tsx +1 -1
- package/src/components/features/command-box.tsx +3 -3
- package/src/components/features/entity-video-section.tsx +2 -2
- package/src/components/features/figma-prototype-viewer.tsx +4 -1
- package/src/components/features/media-gallery-manager.tsx +3 -1
- package/src/components/features/parallax-image-showcase.tsx +9 -6
- package/src/components/features/policy-configuration-panel.tsx +9 -7
- package/src/components/features/provider-button.tsx +1 -1
- package/src/components/features/section-selector.tsx +11 -6
- package/src/components/features/select-button.tsx +4 -4
- package/src/components/features/seo-editor-preview.tsx +2 -2
- package/src/components/features/video-ratio-tabs.tsx +3 -3
- package/src/components/features/waitlist-form.tsx +1 -1
- package/src/components/help-center-pages/trust-center-page.tsx +1 -1
- package/src/components/help-center-pages/trust-center-sections.tsx +14 -14
- package/src/components/icon-display.tsx +1 -1
- package/src/components/layout/article-detail-layout.tsx +4 -2
- package/src/components/layout/list-page-layout.tsx +2 -2
- package/src/components/layout/page-container.tsx +26 -14
- package/src/components/layout/page-heading.tsx +1 -1
- package/src/components/layout/page-layout.tsx +1 -1
- package/src/components/layout/title-block.tsx +13 -13
- package/src/components/loading/card-skeleton.tsx +11 -11
- package/src/components/loading/category-vendor-selector-skeleton.tsx +1 -1
- package/src/components/loading/content-skeleton.tsx +6 -6
- package/src/components/loading/device-card-skeleton.tsx +1 -1
- package/src/components/loading/margin-report-skeleton.tsx +7 -7
- package/src/components/loading/msp-profile-form-skeleton.tsx +3 -3
- package/src/components/loading/organization-card-skeleton.tsx +2 -2
- package/src/components/loading/page-layout-skeleton.tsx +80 -68
- package/src/components/loading/unified-skeleton.tsx +16 -6
- package/src/components/media-carousel.tsx +3 -3
- package/src/components/meeting-scheduler/booking-form.tsx +9 -8
- package/src/components/meeting-scheduler/context-panel.tsx +8 -6
- package/src/components/meeting-scheduler/directory.tsx +4 -4
- package/src/components/meeting-scheduler/index.tsx +15 -15
- package/src/components/meeting-scheduler/slot-picker.tsx +12 -12
- package/src/components/navigation/app-header.tsx +6 -0
- package/src/components/navigation/app-layout-side-panel.tsx +594 -0
- package/src/components/navigation/app-layout.tsx +69 -4
- package/src/components/navigation/header-mingo-button.tsx +13 -3
- package/src/components/navigation/index.ts +5 -0
- package/src/components/navigation/navigation-sidebar.tsx +17 -3
- package/src/components/navigation/sliding-sidebar.tsx +2 -1
- package/src/components/pagination.tsx +3 -3
- package/src/components/persistent-filter-controls.tsx +6 -2
- package/src/components/platform/ScriptArguments.tsx +1 -1
- package/src/components/platform/ScriptInfoSection.tsx +4 -4
- package/src/components/platform/SoftwareSourceBadge.tsx +1 -1
- package/src/components/shared/article-author-byline.tsx +1 -1
- package/src/components/shared/delivery/delivery-lists.tsx +2 -2
- package/src/components/shared/delivery/delivery-row.tsx +7 -7
- package/src/components/shared/delivery/delivery-table.tsx +3 -3
- package/src/components/shared/detail-page-skeleton.tsx +11 -5
- package/src/components/shared/dev-section/dev-card-row.tsx +6 -6
- package/src/components/shared/dev-section/dev-section-view.tsx +1 -1
- package/src/components/shared/product-release/product-release-card-skeleton.tsx +8 -8
- package/src/components/shared/product-release/product-release-card.tsx +9 -9
- package/src/components/shared/product-release/product-releases-view.tsx +1 -1
- package/src/components/shared/product-release/release-detail-page.tsx +5 -5
- package/src/components/shared/roadmap/roadmap-grid-skeleton.tsx +1 -1
- package/src/components/shared/roadmap/roadmap-grid.tsx +3 -3
- package/src/components/tickets/help-center-card.tsx +1 -1
- package/src/components/tickets/help-center-create-form.tsx +12 -12
- package/src/components/ui/announcement-bar-view.tsx +2 -10
- package/src/components/ui/benefit-card.tsx +18 -18
- package/src/components/ui/brand-association-grid.tsx +4 -4
- package/src/components/ui/breadcrumb.tsx +4 -1
- package/src/components/ui/card.tsx +1 -1
- package/src/components/ui/checkbox-block.tsx +9 -7
- package/src/components/ui/content-loader.tsx +3 -3
- package/src/components/ui/cursor-pagination.tsx +3 -3
- package/src/components/ui/dashboard-info-card.tsx +13 -9
- package/src/components/ui/data-attribution.tsx +2 -2
- package/src/components/ui/data-table/data-table-body.tsx +2 -2
- package/src/components/ui/data-table/data-table-header.tsx +15 -15
- package/src/components/ui/data-table/data-table-skeleton.tsx +6 -6
- package/src/components/ui/data-table/utils.ts +5 -5
- package/src/components/ui/dialog.tsx +4 -1
- package/src/components/ui/drawer.tsx +2 -1
- package/src/components/ui/duration-input.tsx +1 -1
- package/src/components/ui/entity-image.tsx +3 -3
- package/src/components/ui/feature-card.tsx +10 -10
- package/src/components/ui/file-manager/file-manager-action-bar.tsx +1 -1
- package/src/components/ui/file-manager/file-manager.tsx +1 -1
- package/src/components/ui/filter-modal.tsx +8 -1
- package/src/components/ui/highlight-card.tsx +7 -7
- package/src/components/ui/info-card-row.tsx +10 -6
- package/src/components/ui/modal-v2.tsx +7 -2
- package/src/components/ui/modal.tsx +3 -2
- package/src/components/ui/no-data/no-data-actions.tsx +10 -4
- package/src/components/ui/no-data/no-data-styles.ts +1 -1
- package/src/components/ui/no-data/no-data.tsx +1 -1
- package/src/components/ui/organization-card.tsx +1 -1
- package/src/components/ui/page-actions.tsx +34 -5
- package/src/components/ui/progress-bar.tsx +2 -2
- package/src/components/ui/query-report-table/query-report-table.tsx +1 -1
- package/src/components/ui/search-input.tsx +2 -2
- package/src/components/ui/service-card.tsx +2 -2
- package/src/components/ui/sheet.tsx +2 -1
- package/src/components/ui/skeleton.tsx +3 -3
- package/src/components/ui/stacked-rows-panel.tsx +4 -4
- package/src/components/ui/tab-navigation.tsx +2 -2
- package/src/components/ui/tab-selector.tsx +2 -2
- package/src/components/ui/table/table-header.tsx +3 -3
- package/src/components/ui/table/table-skeleton.tsx +3 -3
- package/src/components/ui/table/utils.ts +5 -5
- package/src/components/ui/tag-search-input.tsx +3 -3
- package/src/components/ui/tags-manager.tsx +5 -5
- package/src/components/ui/test-run.tsx +2 -2
- package/src/components/ui/ticket-info-section.tsx +1 -1
- package/src/components/ui/ticket-notes-section.tsx +1 -1
- package/src/components/ui/ticket-status-config-row.tsx +15 -15
- package/src/hooks/ui/index.ts +1 -0
- package/src/hooks/ui/use-content-breakpoint.ts +58 -0
- package/src/hooks/ui/use-media-query.ts +3 -2
- package/src/styles/app-globals.css +13 -0
- package/src/styles/index.css +2 -0
- package/src/styles/layout-steps.ts +14 -0
- package/src/styles/ods-colors.css +15 -0
- package/src/styles/ods-content-area-tokens.css +27 -0
- package/src/styles/ods-content-area.css +31 -0
- package/src/styles/ods-effects.css +4 -2
- package/src/styles/ods-responsive-tokens.css +14 -4
- package/tailwind.config.ts +42 -7
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkSAAZEWURcjs = require('./chunk-SAAZEWUR.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkACV4DFQ3cjs = require('./chunk-ACV4DFQ3.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkM6HTJTFHcjs = require('./chunk-M6HTJTFH.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -22,17 +22,17 @@ var _chunkNYSYSKSHcjs = require('./chunk-NYSYSKSH.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkP23CRLU4cjs = require('./chunk-P23CRLU4.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkABU3TGXAcjs = require('./chunk-ABU3TGXA.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkTYWLNCNHcjs = require('./chunk-TYWLNCNH.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
@@ -106,13 +106,21 @@ function PersistentSidebar({ isLoading, children, className }) {
|
|
|
106
106
|
{
|
|
107
107
|
isLoading,
|
|
108
108
|
disabledOpacity: 0.5,
|
|
109
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0, "lg:sticky lg:top-20", className),
|
|
109
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, "content-lg:sticky content-lg:top-20", className),
|
|
110
110
|
children
|
|
111
111
|
}
|
|
112
112
|
);
|
|
113
113
|
}
|
|
114
114
|
function PersistentMobileDropdown({ isLoading, children, className }) {
|
|
115
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
115
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
116
|
+
PersistentFilterControls,
|
|
117
|
+
{
|
|
118
|
+
isLoading,
|
|
119
|
+
disabledOpacity: 0.7,
|
|
120
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, "content-lg:hidden", className),
|
|
121
|
+
children
|
|
122
|
+
}
|
|
123
|
+
);
|
|
116
124
|
}
|
|
117
125
|
|
|
118
126
|
// src/components/docs/doc-navigation-context.tsx
|
|
@@ -198,7 +206,7 @@ function useDocsResolveLink(sourceId, resolveLinkEndpoint) {
|
|
|
198
206
|
return _react.useCallback.call(void 0,
|
|
199
207
|
async (href, currentPath) => {
|
|
200
208
|
try {
|
|
201
|
-
const response = await
|
|
209
|
+
const response = await _chunkABU3TGXAcjs.contentFetch.call(void 0, resolvedResolveLinkEndpoint, {
|
|
202
210
|
method: "POST",
|
|
203
211
|
headers: { "Content-Type": "application/json" },
|
|
204
212
|
body: JSON.stringify({ link: href, currentPath, source: sourceId })
|
|
@@ -224,9 +232,9 @@ function useDocsResolveLink(sourceId, resolveLinkEndpoint) {
|
|
|
224
232
|
function scrollToContent() {
|
|
225
233
|
const article = document.querySelector("article");
|
|
226
234
|
if (article) {
|
|
227
|
-
|
|
235
|
+
_chunkTYWLNCNHcjs.scrollElementIntoView.call(void 0, article, { headerOffset: _chunkTYWLNCNHcjs.HUB_HEADER_OFFSET_PX });
|
|
228
236
|
} else {
|
|
229
|
-
|
|
237
|
+
_chunkTYWLNCNHcjs.scrollElementIntoView.call(void 0, document.documentElement);
|
|
230
238
|
}
|
|
231
239
|
}
|
|
232
240
|
function findFirstDocPath(folder) {
|
|
@@ -325,8 +333,8 @@ function toDocContent(value, requestedPath) {
|
|
|
325
333
|
}
|
|
326
334
|
function useDocumentTree(config, initialPath) {
|
|
327
335
|
const { structureEndpoint, contentEndpoint, baseRoute } = config;
|
|
328
|
-
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => (
|
|
329
|
-
const cleanInitialPath =
|
|
336
|
+
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkP23CRLU4cjs.DEFAULT_FOLDER_INDEX_FILE));
|
|
337
|
+
const cleanInitialPath = _chunkP23CRLU4cjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
|
|
330
338
|
const [structure, setStructure] = _react.useState.call(void 0, []);
|
|
331
339
|
const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
|
|
332
340
|
const [content, setContent] = _react.useState.call(void 0, null);
|
|
@@ -350,12 +358,12 @@ function useDocumentTree(config, initialPath) {
|
|
|
350
358
|
} else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
|
|
351
359
|
pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
|
|
352
360
|
}
|
|
353
|
-
pathFromUrl =
|
|
361
|
+
pathFromUrl = _chunkP23CRLU4cjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
|
|
354
362
|
if (pathFromUrl !== selectedPathRef.current) {
|
|
355
363
|
setSelectedPath(pathFromUrl);
|
|
356
364
|
if (pathFromUrl) {
|
|
357
365
|
const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
|
|
358
|
-
setExpandedNodes(new Set(
|
|
366
|
+
setExpandedNodes(new Set(_chunkP23CRLU4cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
359
367
|
}
|
|
360
368
|
setTimeout(() => {
|
|
361
369
|
scrollToContent();
|
|
@@ -373,7 +381,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
373
381
|
setSelectedPath(cleanInitialPath);
|
|
374
382
|
if (cleanInitialPath) {
|
|
375
383
|
const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
376
|
-
setExpandedNodes(new Set(
|
|
384
|
+
setExpandedNodes(new Set(_chunkP23CRLU4cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
377
385
|
}
|
|
378
386
|
setExternalNavCount((n) => n + 1);
|
|
379
387
|
}
|
|
@@ -387,7 +395,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
387
395
|
try {
|
|
388
396
|
setIsLoadingStructure(true);
|
|
389
397
|
setError(null);
|
|
390
|
-
const response = await
|
|
398
|
+
const response = await _chunkABU3TGXAcjs.contentFetch.call(void 0, structureEndpoint);
|
|
391
399
|
if (!response.ok) {
|
|
392
400
|
throw new Error("Failed to load documentation structure");
|
|
393
401
|
}
|
|
@@ -398,7 +406,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
398
406
|
if (cleanInitialPath) {
|
|
399
407
|
const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
400
408
|
if (pathForExpansion) {
|
|
401
|
-
setExpandedNodes(new Set(
|
|
409
|
+
setExpandedNodes(new Set(_chunkP23CRLU4cjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
|
|
402
410
|
}
|
|
403
411
|
} else if (nodes.length > 0) {
|
|
404
412
|
const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
|
|
@@ -414,7 +422,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
414
422
|
}
|
|
415
423
|
}
|
|
416
424
|
} else {
|
|
417
|
-
setError(
|
|
425
|
+
setError(_chunkTYWLNCNHcjs.apiErrorMessage.call(void 0, payload, "Failed to load documentation structure"));
|
|
418
426
|
}
|
|
419
427
|
} catch (err) {
|
|
420
428
|
console.error("Error fetching documentation structure:", err);
|
|
@@ -426,7 +434,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
426
434
|
const fetchContent = async (path) => {
|
|
427
435
|
try {
|
|
428
436
|
setIsLoadingContent(true);
|
|
429
|
-
const response = await
|
|
437
|
+
const response = await _chunkABU3TGXAcjs.contentFetch.call(void 0, `${contentEndpoint}?path=${encodeURIComponent(path)}`);
|
|
430
438
|
if (path !== lastFetchedPath.current) return;
|
|
431
439
|
if (!response.ok) {
|
|
432
440
|
if (response.status === 404) {
|
|
@@ -438,7 +446,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
438
446
|
setContent(null);
|
|
439
447
|
return;
|
|
440
448
|
}
|
|
441
|
-
const probe =
|
|
449
|
+
const probe = _chunkP23CRLU4cjs.findDocNodeByPath.call(void 0, _chunkP23CRLU4cjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
|
|
442
450
|
const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
|
|
443
451
|
const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
|
|
444
452
|
if (probeIsNoReadmeFolder || preStructureFolderLike) {
|
|
@@ -447,7 +455,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
447
455
|
setContent(null);
|
|
448
456
|
return;
|
|
449
457
|
}
|
|
450
|
-
setError(
|
|
458
|
+
setError(_chunkTYWLNCNHcjs.apiErrorMessage.call(void 0, errorPayload, "Documentation file not found"));
|
|
451
459
|
setContent(null);
|
|
452
460
|
return;
|
|
453
461
|
}
|
|
@@ -465,7 +473,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
465
473
|
}
|
|
466
474
|
setContent(doc);
|
|
467
475
|
} else {
|
|
468
|
-
setError(
|
|
476
|
+
setError(_chunkTYWLNCNHcjs.apiErrorMessage.call(void 0, payload, "Failed to load content"));
|
|
469
477
|
setContent(null);
|
|
470
478
|
}
|
|
471
479
|
} catch (err) {
|
|
@@ -495,7 +503,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
495
503
|
if (selectedPath === "") {
|
|
496
504
|
pathToFetch = folderIndexFile;
|
|
497
505
|
} else {
|
|
498
|
-
const node =
|
|
506
|
+
const node = _chunkP23CRLU4cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
499
507
|
if (node && node.type === "folder" && !node.hasReadme) {
|
|
500
508
|
const firstDocPath = findFirstDocPath(node);
|
|
501
509
|
if (!firstDocPath) {
|
|
@@ -536,16 +544,16 @@ function useDocumentTree(config, initialPath) {
|
|
|
536
544
|
if (node.type === "folder") {
|
|
537
545
|
setExpandedNodes((prev) => {
|
|
538
546
|
if (prev.has(node.id)) {
|
|
539
|
-
const ancestorIds =
|
|
547
|
+
const ancestorIds = _chunkP23CRLU4cjs.getDocAncestorNodeIds.call(void 0, node.path);
|
|
540
548
|
ancestorIds.pop();
|
|
541
549
|
return new Set(ancestorIds);
|
|
542
550
|
}
|
|
543
|
-
return new Set(
|
|
551
|
+
return new Set(_chunkP23CRLU4cjs.getDocAncestorNodeIds.call(void 0, node.path));
|
|
544
552
|
});
|
|
545
553
|
} else {
|
|
546
554
|
const lastSlash = node.path.lastIndexOf("/");
|
|
547
555
|
if (lastSlash > 0) {
|
|
548
|
-
setExpandedNodes(new Set(
|
|
556
|
+
setExpandedNodes(new Set(_chunkP23CRLU4cjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
|
|
549
557
|
}
|
|
550
558
|
}
|
|
551
559
|
lastFetchedPath.current = null;
|
|
@@ -560,9 +568,9 @@ function useDocumentTree(config, initialPath) {
|
|
|
560
568
|
const hashIndex = path.indexOf("#");
|
|
561
569
|
const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
|
|
562
570
|
const cleanPath = path.replace(/\/$/, "").split("#")[0];
|
|
563
|
-
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current :
|
|
571
|
+
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkP23CRLU4cjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
|
|
564
572
|
if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
|
|
565
|
-
|
|
573
|
+
_chunkTYWLNCNHcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkTYWLNCNHcjs.HUB_HEADER_OFFSET_PX });
|
|
566
574
|
return;
|
|
567
575
|
}
|
|
568
576
|
const scrollAfterNav = () => {
|
|
@@ -570,7 +578,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
570
578
|
setTimeout(() => {
|
|
571
579
|
const el = document.getElementById(anchor.substring(1));
|
|
572
580
|
if (el) {
|
|
573
|
-
|
|
581
|
+
_chunkTYWLNCNHcjs.scrollElementIntoView.call(void 0, el, { headerOffset: _chunkTYWLNCNHcjs.HUB_HEADER_OFFSET_PX });
|
|
574
582
|
} else {
|
|
575
583
|
scrollToContent();
|
|
576
584
|
}
|
|
@@ -624,15 +632,15 @@ function useDocumentTree(config, initialPath) {
|
|
|
624
632
|
return docNavigation.register({
|
|
625
633
|
baseRoute: normalizedBaseRoute,
|
|
626
634
|
findNodeByPath: (path) => {
|
|
627
|
-
const clean =
|
|
628
|
-
return _nullishCoalesce(
|
|
635
|
+
const clean = _chunkP23CRLU4cjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
|
|
636
|
+
return _nullishCoalesce(_chunkP23CRLU4cjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
|
|
629
637
|
},
|
|
630
638
|
selectNode
|
|
631
639
|
});
|
|
632
640
|
}, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
|
|
633
641
|
const isEmptyFolder = _react.useMemo.call(void 0, () => {
|
|
634
642
|
if (!selectedPath || structure.length === 0) return false;
|
|
635
|
-
const node =
|
|
643
|
+
const node = _chunkP23CRLU4cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
636
644
|
return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
|
|
637
645
|
}, [selectedPath, structure]);
|
|
638
646
|
return {
|
|
@@ -663,7 +671,7 @@ function replaceHash(sectionId) {
|
|
|
663
671
|
window.history.replaceState(window.history.state, "", `${pathname}${search}${next}`);
|
|
664
672
|
}
|
|
665
673
|
function resolveScroller(firstSection) {
|
|
666
|
-
const container = firstSection ?
|
|
674
|
+
const container = firstSection ? _chunkTYWLNCNHcjs.getScrollableAncestor.call(void 0, firstSection) : null;
|
|
667
675
|
if (container) {
|
|
668
676
|
return {
|
|
669
677
|
target: container,
|
|
@@ -693,7 +701,7 @@ function useScrollSpy(sections, options = {}) {
|
|
|
693
701
|
isScrollingFromClick.current = true;
|
|
694
702
|
setActiveSection(sectionId);
|
|
695
703
|
if (syncHash) replaceHash(sectionId);
|
|
696
|
-
|
|
704
|
+
_chunkTYWLNCNHcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset });
|
|
697
705
|
setTimeout(() => {
|
|
698
706
|
isScrollingFromClick.current = false;
|
|
699
707
|
}, 800);
|
|
@@ -815,7 +823,7 @@ function DocViewerContent({
|
|
|
815
823
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _16 => _16.label]), () => ( "Back to home")),
|
|
816
824
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _17 => _17.href]), () => ( "/")))
|
|
817
825
|
};
|
|
818
|
-
const docSearch =
|
|
826
|
+
const docSearch = _chunkM6HTJTFHcjs.useDocSearch.call(void 0, {
|
|
819
827
|
source: chatSource,
|
|
820
828
|
baseRoute,
|
|
821
829
|
searchEndpoint,
|
|
@@ -839,7 +847,7 @@ function DocViewerContent({
|
|
|
839
847
|
onResolveLink: resolveLink
|
|
840
848
|
});
|
|
841
849
|
}, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
|
|
842
|
-
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([
|
|
850
|
+
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkP23CRLU4cjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _18 => _18.documentType]) : void 0;
|
|
843
851
|
const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _19 => _19.documentType]), () => ( selectedNodeDocType));
|
|
844
852
|
const isMarkdownContent = !activeDocType || activeDocType === "markdown";
|
|
845
853
|
const showStickyNav = isMarkdownContent;
|
|
@@ -850,9 +858,9 @@ function DocViewerContent({
|
|
|
850
858
|
const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
|
|
851
859
|
const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
|
|
852
860
|
const resolvedEmptyText = emptyStateText || defaultEmptyText;
|
|
853
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
861
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP23CRLU4cjs.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: [
|
|
854
862
|
showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
855
|
-
|
|
863
|
+
_chunkM6HTJTFHcjs.DocSearchBar,
|
|
856
864
|
{
|
|
857
865
|
placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _23 => _23.toLowerCase, 'call', _24 => _24()]) || "documents"}...`,
|
|
858
866
|
query: docSearch.query,
|
|
@@ -870,10 +878,10 @@ function DocViewerContent({
|
|
|
870
878
|
". Please try again later."
|
|
871
879
|
] })
|
|
872
880
|
] }) }),
|
|
873
|
-
!error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-start gap-6 lg:flex-row lg:gap-10", children: [
|
|
874
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full lg:w-[320px] lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "lg:sticky lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
881
|
+
!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, _chunkP23CRLU4cjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
875
883
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
876
|
-
|
|
884
|
+
_chunkACV4DFQ3cjs.MobileNavigationDropdown,
|
|
877
885
|
{
|
|
878
886
|
nodes: structure,
|
|
879
887
|
selectedPath,
|
|
@@ -884,10 +892,10 @@ function DocViewerContent({
|
|
|
884
892
|
folderIndexFile
|
|
885
893
|
}
|
|
886
894
|
) }),
|
|
887
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentSidebar, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
895
|
+
/* @__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: [
|
|
888
896
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
|
|
889
897
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
890
|
-
|
|
898
|
+
_chunkACV4DFQ3cjs.MultiLevelNavigation,
|
|
891
899
|
{
|
|
892
900
|
nodes: structure,
|
|
893
901
|
selectedPath,
|
|
@@ -909,10 +917,10 @@ function DocViewerContent({
|
|
|
909
917
|
// `isMarkdownContent` also suppresses the section-skeleton
|
|
910
918
|
// bars during embed loads — the user-reported "skeleton
|
|
911
919
|
// shouldn't be on file pages" bug.
|
|
912
|
-
isMarkdownContent && (showStickyNav && stickyNavSections.length > 0 || isLoadingContent || isLoadingStructure) ? "lg:grid-cols-[1fr_280px]" : ""} gap-8`,
|
|
920
|
+
isMarkdownContent && (showStickyNav && stickyNavSections.length > 0 || isLoadingContent || isLoadingStructure) ? "content-lg:grid-cols-[1fr_280px]" : ""} gap-8`,
|
|
913
921
|
children: [
|
|
914
922
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `w-full min-w-0 ${isMarkdownContent ? "mx-auto max-w-4xl" : ""}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "article", { className: "space-y-2", children: isLoadingContent || isLoadingStructure ? renderSkeleton(selectedNodeDocType) : !content ? /* @__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 text-h4", children: resolvedEmptyText }) }) : renderedContent }) }),
|
|
915
|
-
isMarkdownContent && (isLoadingContent || isLoadingStructure) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "sticky top-24", children: [
|
|
923
|
+
isMarkdownContent && (isLoadingContent || isLoadingStructure) && /* @__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: [
|
|
916
924
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-5 h-[14px] w-28 animate-pulse rounded bg-ods-border" }),
|
|
917
925
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-0", children: [130, 170, 190, 220, 110, 200, 80, 100, 120, 140, 90].map((w, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
918
926
|
"div",
|
|
@@ -923,10 +931,10 @@ function DocViewerContent({
|
|
|
923
931
|
i
|
|
924
932
|
)) })
|
|
925
933
|
] }) }),
|
|
926
|
-
showStickyNav && content && stickyNavSections.length > 0 && !isLoadingContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "sticky top-24", children: [
|
|
934
|
+
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: [
|
|
927
935
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "mb-4 font-semibold text-ods-text-secondary text-h5", children: "ON THIS PAGE" }),
|
|
928
936
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
929
|
-
|
|
937
|
+
_chunkACV4DFQ3cjs.StickySectionNav,
|
|
930
938
|
{
|
|
931
939
|
sections: stickyNavSections,
|
|
932
940
|
activeSection,
|
|
@@ -941,7 +949,7 @@ function DocViewerContent({
|
|
|
941
949
|
) })
|
|
942
950
|
] })
|
|
943
951
|
] }) }) });
|
|
944
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
952
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP23CRLU4cjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
|
|
945
953
|
}
|
|
946
954
|
|
|
947
955
|
// src/components/docs/skeletons.tsx
|
|
@@ -1010,12 +1018,18 @@ function EmbedSkeleton({ documentType } = {}) {
|
|
|
1010
1018
|
}
|
|
1011
1019
|
const buttonCount = documentType === "pdf" ? 2 : 1;
|
|
1012
1020
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
1013
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between", children: [
|
|
1021
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 content-sm:flex-row content-sm:items-center content-sm:justify-between", children: [
|
|
1014
1022
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
1015
1023
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 w-5 shrink-0 animate-pulse rounded bg-ods-border" }),
|
|
1016
1024
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-6 w-2/3 animate-pulse rounded bg-ods-border" })
|
|
1017
1025
|
] }),
|
|
1018
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-center gap-2 sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1026
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1027
|
+
"div",
|
|
1028
|
+
{
|
|
1029
|
+
className: "h-10 w-full flex-1 animate-pulse rounded bg-ods-border content-sm:w-32 content-sm:flex-initial"
|
|
1030
|
+
},
|
|
1031
|
+
i
|
|
1032
|
+
)) })
|
|
1019
1033
|
] }),
|
|
1020
1034
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1021
1035
|
"div",
|
|
@@ -1031,11 +1045,11 @@ function EmbedSkeleton({ documentType } = {}) {
|
|
|
1031
1045
|
|
|
1032
1046
|
var DEFAULT_TITLE = "Documents";
|
|
1033
1047
|
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" }) });
|
|
1034
|
-
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1035
|
-
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1036
|
-
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1048
|
+
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSAAZEWURcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
1049
|
+
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSAAZEWURcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
1050
|
+
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP23CRLU4cjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
|
|
1037
1051
|
var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1038
|
-
|
|
1052
|
+
_chunkSAAZEWURcjs.FileDownloadCard,
|
|
1039
1053
|
{
|
|
1040
1054
|
fileName: content.fileName,
|
|
1041
1055
|
mimeType: content.mimeType,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
PersistentPaginationWrapper
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5HBHO5TB.js";
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow,
|
|
7
7
|
ListEmptyState
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NJDHFC55.js";
|
|
9
9
|
import {
|
|
10
10
|
EmptyState
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MFFCUVWG.js";
|
|
12
12
|
import {
|
|
13
13
|
DetailPageSkeleton
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MV4HYG3B.js";
|
|
15
15
|
import {
|
|
16
16
|
useSelfFetch
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VR2ZLFCP.js";
|
|
18
18
|
import {
|
|
19
19
|
Accordion,
|
|
20
20
|
AccordionContent,
|
|
@@ -30,26 +30,26 @@ import {
|
|
|
30
30
|
RichMarkdownRenderer,
|
|
31
31
|
devSectionAnchorId,
|
|
32
32
|
resolveContentHref
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-5EFZO5EB.js";
|
|
34
34
|
import {
|
|
35
35
|
useHumanitySignals,
|
|
36
36
|
useScrollToHash
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MKXO4Q5P.js";
|
|
38
38
|
import {
|
|
39
39
|
contentFetch,
|
|
40
40
|
pageCount,
|
|
41
41
|
positiveInt
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-MP2C3LJ4.js";
|
|
43
43
|
import {
|
|
44
44
|
Video,
|
|
45
45
|
executeNavigationImperative,
|
|
46
46
|
isModifierClick,
|
|
47
47
|
useCaptions,
|
|
48
48
|
useIsHydrated
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-IZHZMBIX.js";
|
|
50
50
|
import {
|
|
51
51
|
STICKY_HEADER_OFFSET_PX
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-PDWVPI3S.js";
|
|
53
53
|
import {
|
|
54
54
|
usePathname,
|
|
55
55
|
useRouter,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
formatReleaseDate,
|
|
74
74
|
toStripProfile,
|
|
75
75
|
useEntityCardLink
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-CH5232HV.js";
|
|
77
77
|
import {
|
|
78
78
|
next_image_default
|
|
79
79
|
} from "./chunk-FBZMAPWO.js";
|
|
@@ -199,7 +199,7 @@ function ProductReleasesView({
|
|
|
199
199
|
release?.id ?? `slot-${i}`
|
|
200
200
|
);
|
|
201
201
|
}) }),
|
|
202
|
-
/* @__PURE__ */ jsx("div", { className: "mt-6 flex justify-center md:mt-8", children: isLoading ? /* @__PURE__ */ jsx("div", { className: "m-3 h-12 w-64" }) : releases.length > 0 && totalPages > 1 ? /* @__PURE__ */ jsx(
|
|
202
|
+
/* @__PURE__ */ jsx("div", { className: "mt-6 flex justify-center content-md:mt-8", children: isLoading ? /* @__PURE__ */ jsx("div", { className: "m-3 h-12 w-64" }) : releases.length > 0 && totalPages > 1 ? /* @__PURE__ */ jsx(
|
|
203
203
|
PersistentPaginationWrapper,
|
|
204
204
|
{
|
|
205
205
|
isLoading: false,
|
|
@@ -395,18 +395,18 @@ function ReleaseDetailPage({
|
|
|
395
395
|
titleWrap: true,
|
|
396
396
|
backButton: showBackButton ? { label: backLabel, onClick: () => router.push(backHref) } : void 0,
|
|
397
397
|
children: [
|
|
398
|
-
/* @__PURE__ */ jsxs3("div", { className: "space-y-6 md:space-y-8", children: [
|
|
398
|
+
/* @__PURE__ */ jsxs3("div", { className: "space-y-6 content-md:space-y-8", children: [
|
|
399
399
|
/* @__PURE__ */ jsx3(EntityTagBadges, { tags: release.product_release_tags }),
|
|
400
|
-
/* @__PURE__ */ jsxs3("div", { className: "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border md:grid-cols-4", children: [
|
|
401
|
-
/* @__PURE__ */ jsx3("div", { className: "flex flex-col gap-3 border-b border-ods-border bg-ods-card p-4 md:border-b-0 md:border-r", children: /* @__PURE__ */ jsxs3("div", { className: "flex flex-col gap-0", children: [
|
|
400
|
+
/* @__PURE__ */ jsxs3("div", { className: "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border content-md:grid-cols-4", children: [
|
|
401
|
+
/* @__PURE__ */ jsx3("div", { className: "flex flex-col gap-3 border-b border-ods-border bg-ods-card p-4 content-md:border-b-0 content-md:border-r", children: /* @__PURE__ */ jsxs3("div", { className: "flex flex-col gap-0", children: [
|
|
402
402
|
/* @__PURE__ */ jsx3("p", { className: "text-ods-text-primary text-h4", children: releaseType.toLocaleUpperCase() }),
|
|
403
403
|
/* @__PURE__ */ jsx3("p", { className: "text-ods-text-secondary text-h6", children: "Release Type" })
|
|
404
404
|
] }) }),
|
|
405
|
-
/* @__PURE__ */ jsx3("div", { className: "flex flex-col gap-3 border-b border-ods-border bg-ods-card p-4 md:border-b-0 md:border-r", children: /* @__PURE__ */ jsxs3("div", { className: "flex flex-col gap-0", children: [
|
|
405
|
+
/* @__PURE__ */ jsx3("div", { className: "flex flex-col gap-3 border-b border-ods-border bg-ods-card p-4 content-md:border-b-0 content-md:border-r", children: /* @__PURE__ */ jsxs3("div", { className: "flex flex-col gap-0", children: [
|
|
406
406
|
/* @__PURE__ */ jsx3("p", { className: "text-ods-text-primary text-h4", children: releaseStatus.toLocaleUpperCase() }),
|
|
407
407
|
/* @__PURE__ */ jsx3("p", { className: "text-ods-text-secondary text-h6", children: "Release Status" })
|
|
408
408
|
] }) }),
|
|
409
|
-
/* @__PURE__ */ jsx3("div", { className: "flex flex-col gap-3 border-b border-ods-border bg-ods-card p-4 md:border-b-0 md:border-r", children: /* @__PURE__ */ jsxs3("div", { className: "flex flex-col gap-0", children: [
|
|
409
|
+
/* @__PURE__ */ jsx3("div", { className: "flex flex-col gap-3 border-b border-ods-border bg-ods-card p-4 content-md:border-b-0 content-md:border-r", children: /* @__PURE__ */ jsxs3("div", { className: "flex flex-col gap-0", children: [
|
|
410
410
|
/* @__PURE__ */ jsx3("p", { className: "text-ods-text-primary text-h4", children: formatReleaseDate(releaseDate) }),
|
|
411
411
|
/* @__PURE__ */ jsx3("p", { className: "text-ods-text-secondary text-h6", children: "Release Date" })
|
|
412
412
|
] }) }),
|
|
@@ -762,12 +762,12 @@ function RoadmapGridSingle({
|
|
|
762
762
|
votingTasks
|
|
763
763
|
}) {
|
|
764
764
|
return (
|
|
765
|
-
// LITERAL class strings: an interpolated `md:grid-cols-${n}` is invisible
|
|
765
|
+
// LITERAL class strings: an interpolated `content-md:grid-cols-${n}` is invisible
|
|
766
766
|
// to Tailwind's scanner and is never generated.
|
|
767
767
|
/* @__PURE__ */ jsx5(
|
|
768
768
|
"div",
|
|
769
769
|
{
|
|
770
|
-
className: `grid grid-cols-1 gap-6 ${columns === 2 ? "md:grid-cols-2" : ""} ${showLeftMargin ? "md:ml-[120px]" : ""}`,
|
|
770
|
+
className: `grid grid-cols-1 gap-6 ${columns === 2 ? "content-md:grid-cols-2" : ""} ${showLeftMargin ? "content-md:ml-[120px]" : ""}`,
|
|
771
771
|
children: items.map((item) => (
|
|
772
772
|
// DOM id + sticky-header scroll offset live ON RoadmapCard's own
|
|
773
773
|
// outer element (no wrapper div). Anchor mirrors
|
|
@@ -985,7 +985,7 @@ function RoadmapCardSkeleton() {
|
|
|
985
985
|
] });
|
|
986
986
|
}
|
|
987
987
|
function RoadmapGridSkeleton({ count = 4, showLeftMargin = true }) {
|
|
988
|
-
return /* @__PURE__ */ jsx6("div", { className: `grid grid-cols-1 gap-6 md:grid-cols-2 ${showLeftMargin ? "md:ml-[120px]" : ""}`, children: Array.from({ length: count }).map((_, i) => /* @__PURE__ */ jsx6(RoadmapCardSkeleton, {}, i)) });
|
|
988
|
+
return /* @__PURE__ */ jsx6("div", { className: `grid grid-cols-1 gap-6 content-md:grid-cols-2 ${showLeftMargin ? "content-md:ml-[120px]" : ""}`, children: Array.from({ length: count }).map((_, i) => /* @__PURE__ */ jsx6(RoadmapCardSkeleton, {}, i)) });
|
|
989
989
|
}
|
|
990
990
|
|
|
991
991
|
// src/components/shared/roadmap/roadmap-view.tsx
|
|
@@ -1040,8 +1040,8 @@ function RoadmapView({
|
|
|
1040
1040
|
// src/components/shared/delivery/delivery-table.tsx
|
|
1041
1041
|
import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1042
1042
|
function SkeletonRow() {
|
|
1043
|
-
return /* @__PURE__ */ jsx8("div", { className: "border-b border-ods-border p-[12px] last:border-b-0 md:p-[16px]", children: /* @__PURE__ */ jsxs6("div", { className: "flex w-full flex-col items-start justify-between gap-[12px] md:flex-row md:gap-[16px]", children: [
|
|
1044
|
-
/* @__PURE__ */ jsxs6("div", { className: "flex w-full min-w-0 flex-1 flex-col gap-[12px] md:w-auto md:gap-[16px]", children: [
|
|
1043
|
+
return /* @__PURE__ */ jsx8("div", { className: "border-b border-ods-border p-[12px] last:border-b-0 content-md:p-[16px]", children: /* @__PURE__ */ jsxs6("div", { className: "flex w-full flex-col items-start justify-between gap-[12px] content-md:flex-row content-md:gap-[16px]", children: [
|
|
1044
|
+
/* @__PURE__ */ jsxs6("div", { className: "flex w-full min-w-0 flex-1 flex-col gap-[12px] content-md:w-auto content-md:gap-[16px]", children: [
|
|
1045
1045
|
/* @__PURE__ */ jsx8("div", { className: "flex min-h-[24px] items-center", children: /* @__PURE__ */ jsx8("div", { className: "h-[20px] w-full animate-pulse rounded bg-ods-border" }) }),
|
|
1046
1046
|
/* @__PURE__ */ jsx8("div", { className: "flex min-h-[20px] items-center", children: /* @__PURE__ */ jsx8("div", { className: "h-[20px] w-1/2 animate-pulse rounded bg-ods-border" }) }),
|
|
1047
1047
|
/* @__PURE__ */ jsx8("div", { className: "flex min-h-[72px] items-center", children: /* @__PURE__ */ jsxs6("div", { className: "flex-1 space-y-1", children: [
|
|
@@ -1168,14 +1168,14 @@ function DeliveryLists({
|
|
|
1168
1168
|
}
|
|
1169
1169
|
),
|
|
1170
1170
|
showCompleted && (hasResults || isLoading) && /* @__PURE__ */ jsxs7("div", { className: "w-full", children: [
|
|
1171
|
-
/* @__PURE__ */ jsxs7("h3", { className: "mb-4 tracking-[-0.48px] text-ods-text-primary text-h2 md:tracking-[-0.56px] lg:tracking-[-0.64px]", children: [
|
|
1171
|
+
/* @__PURE__ */ jsxs7("h3", { className: "mb-4 tracking-[-0.48px] text-ods-text-primary text-h2 content-md:tracking-[-0.56px] content-lg:tracking-[-0.64px]", children: [
|
|
1172
1172
|
"Recently Completed",
|
|
1173
1173
|
/* @__PURE__ */ jsx9("span", { className: "text-ods-accent", children: ":" })
|
|
1174
1174
|
] }),
|
|
1175
1175
|
/* @__PURE__ */ jsx9(DeliveryTable, { items: filteredCompleted, isLoading })
|
|
1176
1176
|
] }),
|
|
1177
1177
|
showInProgress && (hasResults || isLoading) && /* @__PURE__ */ jsxs7("div", { className: "w-full", children: [
|
|
1178
|
-
/* @__PURE__ */ jsxs7("h3", { className: "mb-4 tracking-[-0.48px] text-ods-text-primary text-h2 md:tracking-[-0.56px] lg:tracking-[-0.64px]", children: [
|
|
1178
|
+
/* @__PURE__ */ jsxs7("h3", { className: "mb-4 tracking-[-0.48px] text-ods-text-primary text-h2 content-md:tracking-[-0.56px] content-lg:tracking-[-0.64px]", children: [
|
|
1179
1179
|
"Active Tasks",
|
|
1180
1180
|
/* @__PURE__ */ jsx9("span", { className: "text-ods-accent", children: ":" })
|
|
1181
1181
|
] }),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkRKV5B7EUcjs = require('./chunk-RKV5B7EU.cjs');
|
|
6
6
|
|
|
7
7
|
// src/utils/search-params.ts
|
|
8
8
|
function positiveInt(raw, fallback, { min = 1, max } = {}) {
|
|
@@ -122,9 +122,9 @@ function withQuery(path, queryString) {
|
|
|
122
122
|
|
|
123
123
|
// src/utils/embed-content-fetch.ts
|
|
124
124
|
var contentFetch = (input, init) => {
|
|
125
|
-
if (!
|
|
125
|
+
if (!_chunkRKV5B7EUcjs.hasEmbedAuthAdapter.call(void 0, )) return fetch(input, init);
|
|
126
126
|
const url = typeof input === "string" ? input : input instanceof URL ? input.href : input.url;
|
|
127
|
-
return
|
|
127
|
+
return _chunkRKV5B7EUcjs.embedAuthedFetch.call(void 0, url, init);
|
|
128
128
|
};
|
|
129
129
|
|
|
130
130
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkP23CRLU4cjs = require('./chunk-P23CRLU4.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkTYWLNCNHcjs = require('./chunk-TYWLNCNH.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -80,7 +80,7 @@ function useSectionNavigation(sections, options) {
|
|
|
80
80
|
if (!targetElement) return;
|
|
81
81
|
isScrollingFromClick.current = true;
|
|
82
82
|
setActiveSection(sectionId);
|
|
83
|
-
|
|
83
|
+
_chunkTYWLNCNHcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset: offset });
|
|
84
84
|
setTimeout(() => {
|
|
85
85
|
isScrollingFromClick.current = false;
|
|
86
86
|
}, 500);
|
|
@@ -130,7 +130,7 @@ function useSectionNavigation(sections, options) {
|
|
|
130
130
|
// src/components/navigation/multi-level-navigation.tsx
|
|
131
131
|
var _lucidereact = require('lucide-react');
|
|
132
132
|
|
|
133
|
-
var DEFAULT_FOLDER_INDEX_FILE2 =
|
|
133
|
+
var DEFAULT_FOLDER_INDEX_FILE2 = _chunkP23CRLU4cjs.DEFAULT_FOLDER_INDEX_FILE;
|
|
134
134
|
function isNodeVisuallySelected(node, selectedPath, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE2) {
|
|
135
135
|
const FOLDER_INDEX_FILE = folderIndexFile.toLowerCase();
|
|
136
136
|
if (selectedPath === node.path) {
|