@flamingo-stack/openframe-frontend-core 0.0.711 → 0.0.713
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-VWFZRMQR.js → chunk-3BB3IEJI.js} +13 -7
- package/dist/chunk-3K5ZLZE7.js +292 -0
- package/dist/chunk-3LU4UFPS.cjs +14 -0
- package/dist/{chunk-G47AP6LX.cjs → chunk-3QGUDPIH.cjs} +35 -33
- package/dist/{chunk-3UNL26CD.cjs → chunk-3RKBJT6K.cjs} +8 -6
- 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-VMMHJFHG.js → chunk-6F4QOCGB.js} +10 -8
- package/dist/{chunk-Q6B35Y7O.js → chunk-6MNAIQNR.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-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-WJUIXU6Y.js → chunk-CGHOH3GN.js} +28 -22
- package/dist/chunk-CMGFZHCN.js +233 -0
- package/dist/chunk-CMZ3QTFQ.js +1207 -0
- package/dist/chunk-CPA2CKRZ.cjs +125 -0
- 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-QA6TROME.cjs → chunk-EOKSKJSS.cjs} +25 -83
- package/dist/{chunk-6NTPY5QA.cjs → chunk-ETYLOZOB.cjs} +978 -2413
- package/dist/{chunk-6AMIRXKM.cjs → chunk-F2EACDOR.cjs} +93 -87
- package/dist/chunk-F5BPGWGT.cjs +931 -0
- package/dist/chunk-FFT56TYB.cjs +401 -0
- package/dist/chunk-FYEJTF5Y.js +125 -0
- package/dist/chunk-G3GRYDMS.js +16 -0
- 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-EQWD4IJE.js → chunk-H4J72PRA.js} +74 -46
- 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-XWEBHS7O.cjs → chunk-IJKMILMG.cjs} +82 -54
- package/dist/chunk-ILNN6QRW.js +1612 -0
- package/dist/{chunk-6GLQLTJI.js → chunk-IU4IO3CG.js} +35 -27
- package/dist/chunk-IYVFSLWJ.js +931 -0
- package/dist/{chunk-EX6GGCAC.cjs → chunk-J7YIQJPS.cjs} +15 -15
- 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-P6G3JZNC.cjs → chunk-KGAFUXGZ.cjs} +57 -148
- package/dist/chunk-KHXZFLIN.cjs +41 -0
- package/dist/{chunk-C4HRRB3V.cjs → chunk-KMB7JHGG.cjs} +23 -17
- package/dist/{chunk-K4PTDK34.js → chunk-KPUHSVJU.js} +322 -428
- package/dist/chunk-KT3U3ZRP.cjs +1137 -0
- package/dist/chunk-L2VUINHN.js +35 -0
- package/dist/{chunk-PLYEKV3N.cjs → chunk-MA4Q5RBP.cjs} +6 -6
- package/dist/chunk-NPAQSMRY.js +2087 -0
- package/dist/{chunk-IFWLJ66M.js → chunk-NQWJAOHO.js} +6 -4
- package/dist/{chunk-FYOKS5RI.cjs → chunk-OQKRXLTZ.cjs} +4719 -6351
- package/dist/chunk-P3JMAMHP.js +401 -0
- package/dist/{chunk-62KNLDXK.js → chunk-P6QCJXLD.js} +3 -3
- package/dist/chunk-PPXR22YC.cjs +2087 -0
- package/dist/chunk-PSVSEN4J.cjs +655 -0
- package/dist/{chunk-CDM7OSFB.cjs → chunk-QQQ46DFT.cjs} +125 -117
- package/dist/{chunk-FEMAJES4.cjs → chunk-QU4AHNRL.cjs} +41 -39
- package/dist/{chunk-2JTGK64G.js → chunk-RBVUIOIM.js} +12 -10
- package/dist/{chunk-SMAAV3HL.js → chunk-ROBQ5TR7.js} +10541 -10578
- package/dist/{chunk-TKZXHVBG.js → chunk-RRYNHAEL.js} +5 -5
- package/dist/{chunk-5HB7FLCV.js → chunk-STPC2AQU.js} +8338 -9970
- package/dist/{chunk-6K7QZDA6.cjs → chunk-TC4W7QDC.cjs} +8 -8
- package/dist/{chunk-FI6GMDO7.js → chunk-TTVOLEUS.js} +3605 -5040
- package/dist/{chunk-LM7TXMLU.cjs → chunk-ULWVKHSI.cjs} +8 -255
- 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-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-K6Y5NX6L.cjs → chunk-YIUSW4DB.cjs} +114 -220
- package/dist/{chunk-YD4LJZV4.cjs → chunk-ZX7SCPLO.cjs} +6 -8
- package/dist/cloud-tenants-HRJYNUJM.cjs +117 -0
- package/dist/cloud-tenants-SM7WLEGG.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/approval-level.d.ts +49 -0
- package/dist/components/features/approval-level.d.ts.map +1 -0
- 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 +235 -12
- package/dist/components/features/index.d.ts +8 -0
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/index.js +274 -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/policy-configuration-panel.d.ts.map +1 -1
- 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 +328 -82
- package/dist/components/index.js +459 -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-6XKQTQM5.cjs +81 -0
- package/dist/devices-LXSFGGEZ.js +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 +284 -25
- package/dist/index.js +737 -478
- package/dist/knowledge-7PDZLXPO.cjs +108 -0
- package/dist/knowledge-Q4SPFOTN.js +108 -0
- package/dist/logs-SZ4VB4FE.js +216 -0
- package/dist/logs-TO3NELGJ.cjs +216 -0
- package/dist/policies-533GQVFM.cjs +121 -0
- package/dist/policies-LB7VW2UB.js +121 -0
- package/dist/remote-session-GSGZOFDX.js +196 -0
- package/dist/remote-session-R6VAFESR.cjs +196 -0
- package/dist/software-update-DT2XSG7M.cjs +179 -0
- package/dist/software-update-ENZNVGKP.js +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/approval-level.tsx +149 -0
- 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 +10 -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/policy-configuration-panel.tsx +3 -12
- 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,17 +1,16 @@
|
|
|
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 _chunkGEDY7HQIcjs = require('./chunk-GEDY7HQI.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
var _chunkWBNAEYTQcjs = require('./chunk-WBNAEYTQ.cjs');
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
11
|
-
var _chunkBIZNSF3Ucjs = require('./chunk-BIZNSF3U.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var _chunkOF6GEI5Acjs = require('./chunk-OF6GEI5A.cjs');
|
|
15
14
|
|
|
16
15
|
|
|
17
16
|
|
|
@@ -40,9 +39,10 @@ var _chunkOF6GEI5Acjs = require('./chunk-OF6GEI5A.cjs');
|
|
|
40
39
|
|
|
41
40
|
|
|
42
41
|
|
|
42
|
+
var _chunkETYLOZOBcjs = require('./chunk-ETYLOZOB.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
var
|
|
45
|
+
var _chunkAECTRMGQcjs = require('./chunk-AECTRMGQ.cjs');
|
|
46
46
|
|
|
47
47
|
// src/components/related-content/related-content-section.tsx
|
|
48
48
|
var _react = require('react');
|
|
@@ -440,13 +440,13 @@ function cardEntry(definition) {
|
|
|
440
440
|
}
|
|
441
441
|
function programEntry(configKey) {
|
|
442
442
|
return cardEntry({
|
|
443
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
443
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.ProgramCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
444
444
|
decode: decodeProgramRow,
|
|
445
445
|
render: (item, ctx) => {
|
|
446
446
|
const config = _optionalChain([ctx, 'access', _2 => _2.extras, 'optionalAccess', _3 => _3.programConfigs, 'optionalAccess', _4 => _4[configKey]]);
|
|
447
447
|
if (!config) return null;
|
|
448
448
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
449
|
-
|
|
449
|
+
_chunkETYLOZOBcjs.ProgramCard,
|
|
450
450
|
{
|
|
451
451
|
config,
|
|
452
452
|
item,
|
|
@@ -463,10 +463,10 @@ function programEntry(configKey) {
|
|
|
463
463
|
}
|
|
464
464
|
function roadmapEntry(cardType) {
|
|
465
465
|
return cardEntry({
|
|
466
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
466
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
467
467
|
decode: decodeRoadmapRow,
|
|
468
468
|
render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
469
|
-
|
|
469
|
+
_chunkETYLOZOBcjs.RoadmapCard,
|
|
470
470
|
{
|
|
471
471
|
item,
|
|
472
472
|
href: ctx.href,
|
|
@@ -483,10 +483,10 @@ function roadmapEntry(cardType) {
|
|
|
483
483
|
}
|
|
484
484
|
var RELATED_CARD_REGISTRY = {
|
|
485
485
|
blog_post_existing: cardEntry({
|
|
486
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
486
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
487
487
|
decode: decodeBlogRow,
|
|
488
488
|
render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
489
|
-
|
|
489
|
+
_chunkETYLOZOBcjs.BlogCard,
|
|
490
490
|
{
|
|
491
491
|
post,
|
|
492
492
|
size: ctx.legacySize,
|
|
@@ -498,10 +498,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
498
498
|
)
|
|
499
499
|
}),
|
|
500
500
|
case_study: cardEntry({
|
|
501
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
501
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
502
502
|
decode: decodeCaseStudyRow,
|
|
503
503
|
render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
504
|
-
|
|
504
|
+
_chunkETYLOZOBcjs.CaseStudyCard,
|
|
505
505
|
{
|
|
506
506
|
study,
|
|
507
507
|
size: ctx.legacySize,
|
|
@@ -513,10 +513,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
513
513
|
)
|
|
514
514
|
}),
|
|
515
515
|
customer_interview: cardEntry({
|
|
516
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
516
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
517
517
|
decode: decodeCustomerInterviewRow,
|
|
518
518
|
render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
519
|
-
|
|
519
|
+
_chunkETYLOZOBcjs.CustomerInterviewCard,
|
|
520
520
|
{
|
|
521
521
|
interview,
|
|
522
522
|
size: ctx.legacySize,
|
|
@@ -534,13 +534,13 @@ var RELATED_CARD_REGISTRY = {
|
|
|
534
534
|
* record, and the three props the rail sets itself are read off it.
|
|
535
535
|
*/
|
|
536
536
|
product_release: cardEntry({
|
|
537
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
537
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
|
|
538
538
|
decode: asRecord,
|
|
539
539
|
render: (release, ctx) => {
|
|
540
|
-
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => (
|
|
540
|
+
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => ( _chunkETYLOZOBcjs.buildProductReleaseCardProps));
|
|
541
541
|
const releaseProps = buildReleaseProps(release);
|
|
542
542
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
543
|
-
|
|
543
|
+
_chunkETYLOZOBcjs.ProductReleaseCard,
|
|
544
544
|
{
|
|
545
545
|
size: ctx.size === "sm" ? "sm" : "lg",
|
|
546
546
|
title: str(release, "title"),
|
|
@@ -556,10 +556,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
556
556
|
webinar: programEntry("webinar"),
|
|
557
557
|
event: programEntry("event"),
|
|
558
558
|
investor_update: cardEntry({
|
|
559
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
559
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
560
560
|
decode: decodeInvestorUpdateRow,
|
|
561
561
|
render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
562
|
-
|
|
562
|
+
_chunkETYLOZOBcjs.InvestorUpdateCard,
|
|
563
563
|
{
|
|
564
564
|
update,
|
|
565
565
|
size: ctx.legacySize,
|
|
@@ -574,10 +574,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
574
574
|
* step-numbered 'default' variant is for the guide detail page's "More in
|
|
575
575
|
* section" rail, not this full-width row. */
|
|
576
576
|
onboarding_guide: cardEntry({
|
|
577
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
577
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
|
|
578
578
|
decode: decodeOnboardingGuideRow,
|
|
579
579
|
render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
-
|
|
580
|
+
_chunkETYLOZOBcjs.OnboardingGuideCard,
|
|
581
581
|
{
|
|
582
582
|
guide,
|
|
583
583
|
size: ctx.size === "sm" ? "sm" : "catalog",
|
|
@@ -594,10 +594,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
594
594
|
* href: an object with `href: undefined` is still truthy and would wrap the
|
|
595
595
|
* card in a dead <a>. */
|
|
596
596
|
what_i_shipped: cardEntry({
|
|
597
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
597
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.WhatIShippedCardSkeleton, {}),
|
|
598
598
|
decode: decodeEmployeeEntryRow,
|
|
599
599
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
600
|
-
|
|
600
|
+
_chunkETYLOZOBcjs.WhatIShippedCard,
|
|
601
601
|
{
|
|
602
602
|
entry,
|
|
603
603
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -607,10 +607,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
607
607
|
}),
|
|
608
608
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
609
609
|
how_i_work: cardEntry({
|
|
610
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
610
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.HowIWorkCardSkeleton, {}),
|
|
611
611
|
decode: decodeEmployeeEntryRow,
|
|
612
612
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
613
|
-
|
|
613
|
+
_chunkETYLOZOBcjs.HowIWorkCard,
|
|
614
614
|
{
|
|
615
615
|
entry,
|
|
616
616
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -620,10 +620,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
620
620
|
}),
|
|
621
621
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
622
622
|
ai_prompt: cardEntry({
|
|
623
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
623
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.AiPromptCardSkeleton, {}),
|
|
624
624
|
decode: decodeEmployeeEntryRow,
|
|
625
625
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
|
-
|
|
626
|
+
_chunkETYLOZOBcjs.AiPromptCard,
|
|
627
627
|
{
|
|
628
628
|
entry,
|
|
629
629
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -644,7 +644,7 @@ function DefaultLinkPropsProvider({
|
|
|
644
644
|
children
|
|
645
645
|
}) {
|
|
646
646
|
if (!href) return children(null);
|
|
647
|
-
const newTab =
|
|
647
|
+
const newTab = _chunkETYLOZOBcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
|
|
648
648
|
return children(newTab ? { href, target: "_blank", rel: "noopener noreferrer" } : { href });
|
|
649
649
|
}
|
|
650
650
|
function defaultResolveHref(ref) {
|
|
@@ -700,15 +700,15 @@ function CardForType({
|
|
|
700
700
|
function useGroupItems(type, refs, buildUrl) {
|
|
701
701
|
const ids = refs.map((r) => r.id);
|
|
702
702
|
const url = ids.length > 0 ? buildUrl(type, ids) : null;
|
|
703
|
-
const { data, isLoading } =
|
|
704
|
-
const items = data != null ?
|
|
703
|
+
const { data, isLoading } = _chunkGEDY7HQIcjs.useSelfFetch.call(void 0, url);
|
|
704
|
+
const items = data != null ? _chunkETYLOZOBcjs.extractItems.call(void 0, data) : null;
|
|
705
705
|
return { items, isLoading };
|
|
706
706
|
}
|
|
707
707
|
function gridClassFor(columns) {
|
|
708
708
|
return columns === 3 ? "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6" : "grid grid-cols-1 sm:grid-cols-2 gap-6";
|
|
709
709
|
}
|
|
710
710
|
function resolveGroupConfig(type) {
|
|
711
|
-
return _nullishCoalesce(
|
|
711
|
+
return _nullishCoalesce(_chunkETYLOZOBcjs.CONTENT_REF_GROUPS[type], () => ( {
|
|
712
712
|
label: type,
|
|
713
713
|
order: 999,
|
|
714
714
|
layout: "grid",
|
|
@@ -740,10 +740,10 @@ function ContentGroup({
|
|
|
740
740
|
setPage(1);
|
|
741
741
|
}
|
|
742
742
|
}, [refsKey]);
|
|
743
|
-
const totalGroupPages =
|
|
743
|
+
const totalGroupPages = _chunkAECTRMGQcjs.pageCount.call(void 0, refs.length, GROUP_PAGE_SIZE);
|
|
744
744
|
const safePage = Math.min(page, totalGroupPages);
|
|
745
745
|
const visibleGroupRefs = refs.length > GROUP_PAGE_SIZE ? refs.slice((safePage - 1) * GROUP_PAGE_SIZE, safePage * GROUP_PAGE_SIZE) : refs;
|
|
746
|
-
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
746
|
+
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWBNAEYTQcjs.Pagination, { currentPage: safePage, totalPages: totalGroupPages, onPageChange: setPage }) : null;
|
|
747
747
|
if (isLoading && !items) {
|
|
748
748
|
const skeletons = visibleGroupRefs.map((r) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(type, cardSize, adminCampaignCard) }, r.id));
|
|
749
749
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
@@ -753,7 +753,7 @@ function ContentGroup({
|
|
|
753
753
|
}
|
|
754
754
|
if (!items || items.length === 0) return null;
|
|
755
755
|
const rowKey = (it) => {
|
|
756
|
-
const extracted =
|
|
756
|
+
const extracted = _chunkETYLOZOBcjs.extractItemId.call(void 0, type, it);
|
|
757
757
|
if (extracted !== null) return extracted;
|
|
758
758
|
return String(typeof it === "object" && it !== null ? it.id : void 0);
|
|
759
759
|
};
|
|
@@ -821,11 +821,11 @@ function RelatedContentSection({
|
|
|
821
821
|
types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
|
|
822
822
|
excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
|
|
823
823
|
};
|
|
824
|
-
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ?
|
|
824
|
+
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkETYLOZOBcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
825
825
|
apiBaseUrl,
|
|
826
826
|
extraParams: { authorId, ...typeFilterParams }
|
|
827
827
|
}) : null;
|
|
828
|
-
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ?
|
|
828
|
+
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkETYLOZOBcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
829
829
|
apiBaseUrl,
|
|
830
830
|
entityType,
|
|
831
831
|
entityId,
|
|
@@ -842,9 +842,9 @@ function RelatedContentSection({
|
|
|
842
842
|
() => !suggestionsDisabled && initialItems ? { refs: initialItems } : void 0,
|
|
843
843
|
[initialItems, suggestionsDisabled]
|
|
844
844
|
);
|
|
845
|
-
const { data, isLoading } =
|
|
845
|
+
const { data, isLoading } = _chunkGEDY7HQIcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
|
|
846
846
|
const effectiveBuildListUrl = _react.useMemo.call(void 0,
|
|
847
|
-
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) =>
|
|
847
|
+
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkETYLOZOBcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
|
|
848
848
|
[buildListUrl2, apiBaseUrl]
|
|
849
849
|
);
|
|
850
850
|
const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _10 => _10.refs]))), () => ( []));
|
|
@@ -855,12 +855,12 @@ function RelatedContentSection({
|
|
|
855
855
|
if (isLoading) {
|
|
856
856
|
const skeletonType = _nullishCoalesce(_nullishCoalesce(_optionalChain([includeTypes, 'optionalAccess', _11 => _11[0]]), () => ( entityType)), () => ( "blog_post_existing"));
|
|
857
857
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
858
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children:
|
|
858
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunkETYLOZOBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
859
859
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(skeletonType, "default", adminCampaignCard) }, i)) })
|
|
860
860
|
] });
|
|
861
861
|
}
|
|
862
862
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
863
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children:
|
|
863
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunkETYLOZOBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
864
864
|
_nullishCoalesce(emptyState, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyStateText })))
|
|
865
865
|
] });
|
|
866
866
|
}
|
|
@@ -869,16 +869,16 @@ function RelatedContentSection({
|
|
|
869
869
|
if (!grouped[ref.type]) grouped[ref.type] = [];
|
|
870
870
|
grouped[ref.type].push(ref);
|
|
871
871
|
}
|
|
872
|
-
let orderedTypes =
|
|
872
|
+
let orderedTypes = _chunkETYLOZOBcjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
|
|
873
873
|
if (entityType) {
|
|
874
|
-
const canonicalEntityType =
|
|
875
|
-
const sameType = orderedTypes.filter((t) =>
|
|
874
|
+
const canonicalEntityType = _chunkETYLOZOBcjs.canonicalContentRefType.call(void 0, entityType);
|
|
875
|
+
const sameType = orderedTypes.filter((t) => _chunkETYLOZOBcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
|
|
876
876
|
if (sameType.length > 0) {
|
|
877
|
-
orderedTypes = [...sameType, ...orderedTypes.filter((t) =>
|
|
877
|
+
orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunkETYLOZOBcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
880
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
881
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children:
|
|
881
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunkETYLOZOBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
882
882
|
orderedTypes.map((type) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
883
883
|
ContentGroup,
|
|
884
884
|
{
|
|
@@ -890,7 +890,7 @@ function RelatedContentSection({
|
|
|
890
890
|
LinkProvider,
|
|
891
891
|
extras,
|
|
892
892
|
adminCampaignCard,
|
|
893
|
-
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children:
|
|
893
|
+
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: _chunkETYLOZOBcjs.getContentRefLabelOrTitleCase.call(void 0, type) })
|
|
894
894
|
},
|
|
895
895
|
type
|
|
896
896
|
))
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkCPA2CKRZcjs = require('./chunk-CPA2CKRZ.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
10
|
+
|
|
11
|
+
// src/components/ui/dropdown-menu.tsx
|
|
12
|
+
var _reactdropdownmenu = require('@radix-ui/react-dropdown-menu'); var DropdownMenuPrimitive = _interopRequireWildcard(_reactdropdownmenu);
|
|
13
|
+
var _lucidereact = require('lucide-react');
|
|
14
|
+
var _react = require('react');
|
|
15
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
16
|
+
var DropdownMenu = DropdownMenuPrimitive.Root;
|
|
17
|
+
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
|
18
|
+
var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
19
|
+
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
20
|
+
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
21
|
+
var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
22
|
+
var DropdownMenuSubTrigger = _react.forwardRef.call(void 0, ({ className, inset, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23
|
+
DropdownMenuPrimitive.SubTrigger,
|
|
24
|
+
{
|
|
25
|
+
ref,
|
|
26
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
27
|
+
"flex cursor-pointer select-none items-center gap-2 rounded-sm px-2 py-1.5 outline-none text-h6 hover:bg-ods-bg-hover focus:bg-ods-bg-hover data-[state=open]:bg-ods-bg-hover [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
28
|
+
inset && "pl-8",
|
|
29
|
+
className
|
|
30
|
+
),
|
|
31
|
+
...props,
|
|
32
|
+
children: [
|
|
33
|
+
children,
|
|
34
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "ml-auto" })
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
));
|
|
38
|
+
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
|
39
|
+
var DropdownMenuSubContent = _react.forwardRef.call(void 0, ({ className, collisionBoundary, collisionPadding, hideWhenDetached, ...props }, ref) => {
|
|
40
|
+
const container = _chunkCPA2CKRZcjs.usePortalContainer.call(void 0, );
|
|
41
|
+
const boundary = _chunkCPA2CKRZcjs.useCollisionBoundary.call(void 0, );
|
|
42
|
+
const resolvedBoundary = _nullishCoalesce(_nullishCoalesce(collisionBoundary, () => ( boundary)), () => ( void 0));
|
|
43
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuPrimitive.Portal, { container: _nullishCoalesce(container, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44
|
+
DropdownMenuPrimitive.SubContent,
|
|
45
|
+
{
|
|
46
|
+
ref,
|
|
47
|
+
collisionBoundary: resolvedBoundary,
|
|
48
|
+
collisionPadding: _nullishCoalesce(collisionPadding, () => ( (resolvedBoundary ? _chunkCPA2CKRZcjs.COLLISION_PADDING_PX : void 0))),
|
|
49
|
+
hideWhenDetached: _nullishCoalesce(hideWhenDetached, () => ( (resolvedBoundary ? true : void 0))),
|
|
50
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
51
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-ods-border bg-ods-card p-1 text-ods-text-primary shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
52
|
+
className
|
|
53
|
+
),
|
|
54
|
+
...props
|
|
55
|
+
}
|
|
56
|
+
) });
|
|
57
|
+
});
|
|
58
|
+
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
|
59
|
+
var DropdownMenuContent = _react.forwardRef.call(void 0, ({ className, sideOffset = 4, collisionBoundary, collisionPadding, hideWhenDetached, ...props }, ref) => {
|
|
60
|
+
const container = _chunkCPA2CKRZcjs.usePortalContainer.call(void 0, );
|
|
61
|
+
const boundary = _chunkCPA2CKRZcjs.useCollisionBoundary.call(void 0, );
|
|
62
|
+
const resolvedBoundary = _nullishCoalesce(_nullishCoalesce(collisionBoundary, () => ( boundary)), () => ( void 0));
|
|
63
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuPrimitive.Portal, { container: _nullishCoalesce(container, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
64
|
+
DropdownMenuPrimitive.Content,
|
|
65
|
+
{
|
|
66
|
+
ref,
|
|
67
|
+
sideOffset,
|
|
68
|
+
collisionBoundary: resolvedBoundary,
|
|
69
|
+
collisionPadding: _nullishCoalesce(collisionPadding, () => ( (resolvedBoundary ? _chunkCPA2CKRZcjs.COLLISION_PADDING_PX : void 0))),
|
|
70
|
+
hideWhenDetached: _nullishCoalesce(hideWhenDetached, () => ( (resolvedBoundary ? true : void 0))),
|
|
71
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
72
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-ods-border bg-ods-card p-1 text-ods-text-primary shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
73
|
+
className
|
|
74
|
+
),
|
|
75
|
+
...props
|
|
76
|
+
}
|
|
77
|
+
) });
|
|
78
|
+
});
|
|
79
|
+
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
80
|
+
var DropdownMenuItem = _react.forwardRef.call(void 0, ({ className, inset, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
81
|
+
DropdownMenuPrimitive.Item,
|
|
82
|
+
{
|
|
83
|
+
ref,
|
|
84
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
85
|
+
"relative flex cursor-pointer select-none items-center gap-2 rounded-sm px-2 py-1.5 text-ods-text-primary outline-none transition-colors text-h6 hover:bg-ods-bg-hover hover:text-ods-text-primary focus:bg-ods-bg-hover focus:text-ods-text-primary data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
86
|
+
inset && "pl-8",
|
|
87
|
+
className
|
|
88
|
+
),
|
|
89
|
+
...props
|
|
90
|
+
}
|
|
91
|
+
));
|
|
92
|
+
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
|
93
|
+
var DropdownMenuCheckboxItem = _react.forwardRef.call(void 0, ({ className, children, checked, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
94
|
+
DropdownMenuPrimitive.CheckboxItem,
|
|
95
|
+
{
|
|
96
|
+
ref,
|
|
97
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
98
|
+
"relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-ods-text-primary outline-none transition-colors text-h6 hover:bg-ods-bg-hover hover:text-ods-text-primary focus:bg-ods-bg-hover focus:text-ods-text-primary data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
99
|
+
className
|
|
100
|
+
),
|
|
101
|
+
checked,
|
|
102
|
+
...props,
|
|
103
|
+
children: [
|
|
104
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Check, { className: "h-4 w-4" }) }) }),
|
|
105
|
+
children
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
));
|
|
109
|
+
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
|
|
110
|
+
var DropdownMenuRadioItem = _react.forwardRef.call(void 0, ({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
111
|
+
DropdownMenuPrimitive.RadioItem,
|
|
112
|
+
{
|
|
113
|
+
ref,
|
|
114
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
115
|
+
"relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-ods-text-primary outline-none transition-colors text-h6 hover:bg-ods-bg-hover hover:text-ods-text-primary focus:bg-ods-bg-hover focus:text-ods-text-primary data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
116
|
+
className
|
|
117
|
+
),
|
|
118
|
+
...props,
|
|
119
|
+
children: [
|
|
120
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Circle, { className: "h-2 w-2 fill-ods-accent" }) }) }),
|
|
121
|
+
children
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
));
|
|
125
|
+
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
|
126
|
+
var DropdownMenuLabel = _react.forwardRef.call(void 0, ({ className, inset, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
127
|
+
DropdownMenuPrimitive.Label,
|
|
128
|
+
{
|
|
129
|
+
ref,
|
|
130
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, "px-2 py-1.5 font-semibold text-ods-text-secondary text-h6", inset && "pl-8", className),
|
|
131
|
+
...props
|
|
132
|
+
}
|
|
133
|
+
));
|
|
134
|
+
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
135
|
+
var DropdownMenuSeparator = _react.forwardRef.call(void 0, ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuPrimitive.Separator, { ref, className: _chunk3ATAYP36cjs.cn.call(void 0, "-mx-1 my-1 h-px bg-ods-border", className), ...props }));
|
|
136
|
+
DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
|
|
137
|
+
var DropdownMenuShortcut = ({ className, ...props }) => {
|
|
138
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "ml-auto text-ods-text-secondary opacity-60 text-h6", className), ...props });
|
|
139
|
+
};
|
|
140
|
+
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
exports.DropdownMenu = DropdownMenu; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut;
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
AuthentikLogoGreyIcon,
|
|
4
|
+
FleetMdmLogoGreyIcon,
|
|
5
|
+
GoogleLogoGreyIcon,
|
|
6
|
+
MeshcentralLogoGreyIcon,
|
|
7
|
+
Office365LogoGreyIcon,
|
|
8
|
+
OpenframeLogoGreyIcon,
|
|
9
|
+
OsqueryLogoGreyIcon
|
|
10
|
+
} from "./chunk-NCPTID44.js";
|
|
11
|
+
|
|
12
|
+
// src/types/tool.types.ts
|
|
13
|
+
var ToolTypeValues = {
|
|
14
|
+
FLEET_MDM: "FLEET_MDM",
|
|
15
|
+
MESHCENTRAL: "MESHCENTRAL",
|
|
16
|
+
AUTHENTIK: "AUTHENTIK",
|
|
17
|
+
OPENFRAME: "OPENFRAME",
|
|
18
|
+
OPENFRAME_CHAT: "OPENFRAME_CHAT",
|
|
19
|
+
OPENFRAME_CLIENT: "OPENFRAME_CLIENT",
|
|
20
|
+
OPENFRAME_RMM: "OPENFRAME_RMM",
|
|
21
|
+
OSQUERY: "OSQUERY",
|
|
22
|
+
SYSTEM: "SYSTEM",
|
|
23
|
+
// Directory tenants (Tenant Management): the same identifiers the gateway's
|
|
24
|
+
// DirectoryProvider enum uses, so a directory sync's log rows resolve here.
|
|
25
|
+
MICROSOFT_365: "MICROSOFT_365",
|
|
26
|
+
GOOGLE_WORKSPACE: "GOOGLE_WORKSPACE"
|
|
27
|
+
};
|
|
28
|
+
var toolLabels = {
|
|
29
|
+
FLEET_MDM: "Fleet",
|
|
30
|
+
MESHCENTRAL: "MeshCentral",
|
|
31
|
+
AUTHENTIK: "Authentik",
|
|
32
|
+
OPENFRAME: "OpenFrame",
|
|
33
|
+
OPENFRAME_CHAT: "OpenFrame Chat",
|
|
34
|
+
OPENFRAME_CLIENT: "OpenFrame Client",
|
|
35
|
+
OPENFRAME_RMM: "RMM",
|
|
36
|
+
OSQUERY: "Osquery",
|
|
37
|
+
SYSTEM: "System",
|
|
38
|
+
MICROSOFT_365: "Microsoft 365",
|
|
39
|
+
GOOGLE_WORKSPACE: "Google Workspace"
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
// src/components/tool-icon.tsx
|
|
43
|
+
import { Fragment, jsx } from "react/jsx-runtime";
|
|
44
|
+
var renderOpenFrameLogo = (size, className) => /* @__PURE__ */ jsx(OpenframeLogoGreyIcon, { size, className });
|
|
45
|
+
var toolIconMap = {
|
|
46
|
+
[ToolTypeValues.FLEET_MDM]: (size, className) => /* @__PURE__ */ jsx(FleetMdmLogoGreyIcon, { size, className }),
|
|
47
|
+
[ToolTypeValues.MESHCENTRAL]: (size, className) => /* @__PURE__ */ jsx(MeshcentralLogoGreyIcon, { size, className }),
|
|
48
|
+
[ToolTypeValues.OPENFRAME]: renderOpenFrameLogo,
|
|
49
|
+
[ToolTypeValues.OPENFRAME_CHAT]: renderOpenFrameLogo,
|
|
50
|
+
[ToolTypeValues.OPENFRAME_CLIENT]: renderOpenFrameLogo,
|
|
51
|
+
[ToolTypeValues.OPENFRAME_RMM]: renderOpenFrameLogo,
|
|
52
|
+
[ToolTypeValues.AUTHENTIK]: (size, className) => /* @__PURE__ */ jsx(AuthentikLogoGreyIcon, { size, className }),
|
|
53
|
+
[ToolTypeValues.OSQUERY]: (size, className) => /* @__PURE__ */ jsx(OsqueryLogoGreyIcon, { size, className }),
|
|
54
|
+
[ToolTypeValues.SYSTEM]: () => null,
|
|
55
|
+
[ToolTypeValues.MICROSOFT_365]: (size, className) => /* @__PURE__ */ jsx(Office365LogoGreyIcon, { size, className }),
|
|
56
|
+
[ToolTypeValues.GOOGLE_WORKSPACE]: (size, className) => /* @__PURE__ */ jsx(GoogleLogoGreyIcon, { size, className })
|
|
57
|
+
};
|
|
58
|
+
var ToolIcon = ({ toolType, size = 16, className }) => /* @__PURE__ */ jsx(Fragment, { children: toolIconMap[toolType]?.(size, className) ?? null });
|
|
59
|
+
ToolIcon.displayName = "ToolIcon";
|
|
60
|
+
|
|
61
|
+
// src/utils/common.ts
|
|
62
|
+
import { clsx } from "clsx";
|
|
63
|
+
import { twMerge } from "tailwind-merge";
|
|
64
|
+
function errorMessage(error, fallback = "Something went wrong") {
|
|
65
|
+
if (error instanceof Error && error.message) return error.message;
|
|
66
|
+
if (typeof error === "string" && error) return error;
|
|
67
|
+
if (typeof error === "object" && error !== null) {
|
|
68
|
+
const message = error.message;
|
|
69
|
+
if (typeof message === "string" && message) return message;
|
|
70
|
+
}
|
|
71
|
+
return fallback;
|
|
72
|
+
}
|
|
73
|
+
function apiErrorMessage(payload, fallback) {
|
|
74
|
+
if (typeof payload === "object" && payload !== null && "error" in payload) {
|
|
75
|
+
const { error } = payload;
|
|
76
|
+
if (typeof error === "string" && error) return error;
|
|
77
|
+
}
|
|
78
|
+
return errorMessage(payload, fallback);
|
|
79
|
+
}
|
|
80
|
+
function delay(ms) {
|
|
81
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
82
|
+
}
|
|
83
|
+
function generateRandomString(length = 8) {
|
|
84
|
+
const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
85
|
+
let result = "";
|
|
86
|
+
for (let i = 0; i < length; i++) {
|
|
87
|
+
result += chars.charAt(Math.floor(Math.random() * chars.length));
|
|
88
|
+
}
|
|
89
|
+
return result;
|
|
90
|
+
}
|
|
91
|
+
function truncateString(str, maxLength, suffix = "...") {
|
|
92
|
+
if (str.length <= maxLength) return str;
|
|
93
|
+
return str.substring(0, maxLength - suffix.length) + suffix;
|
|
94
|
+
}
|
|
95
|
+
function serializeJsonLd(schema) {
|
|
96
|
+
return JSON.stringify(schema).replace(/</g, "\\u003c");
|
|
97
|
+
}
|
|
98
|
+
function deepClone(obj) {
|
|
99
|
+
return JSON.parse(JSON.stringify(obj));
|
|
100
|
+
}
|
|
101
|
+
function getSlackCommunityJoinUrl() {
|
|
102
|
+
const url = process.env.NEXT_PUBLIC_SLACK_COMMUNITY_JOIN_URL;
|
|
103
|
+
if (!url) {
|
|
104
|
+
console.warn("NEXT_PUBLIC_SLACK_COMMUNITY_JOIN_URL is not defined in environment variables");
|
|
105
|
+
return "https://join.slack.com/t/openmsp/shared_invite/zt-36bl7mx0h-3~U2nFH6nqHqoTPXMaHEHA";
|
|
106
|
+
}
|
|
107
|
+
return url;
|
|
108
|
+
}
|
|
109
|
+
function clamp(value, min, max) {
|
|
110
|
+
return Math.min(Math.max(value, min), max);
|
|
111
|
+
}
|
|
112
|
+
function pick(source, keys) {
|
|
113
|
+
const out = {};
|
|
114
|
+
for (const key of keys) {
|
|
115
|
+
if (key in source) out[key] = source[key];
|
|
116
|
+
}
|
|
117
|
+
return out;
|
|
118
|
+
}
|
|
119
|
+
var NO_CLIENT_CACHE = { staleTime: 0 };
|
|
120
|
+
|
|
121
|
+
export {
|
|
122
|
+
ToolTypeValues,
|
|
123
|
+
toolLabels,
|
|
124
|
+
ToolIcon,
|
|
125
|
+
errorMessage,
|
|
126
|
+
apiErrorMessage,
|
|
127
|
+
delay,
|
|
128
|
+
generateRandomString,
|
|
129
|
+
truncateString,
|
|
130
|
+
serializeJsonLd,
|
|
131
|
+
deepClone,
|
|
132
|
+
getSlackCommunityJoinUrl,
|
|
133
|
+
clamp,
|
|
134
|
+
pick,
|
|
135
|
+
NO_CLIENT_CACHE
|
|
136
|
+
};
|
|
@@ -1,26 +1,32 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
EmptyState
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6YPTUHM7.js";
|
|
5
5
|
import {
|
|
6
|
-
OPENFRAME_DEV_SECTIONS,
|
|
7
|
-
PageLayout,
|
|
8
6
|
PageShell,
|
|
9
7
|
SearchInput,
|
|
10
|
-
StatusFilterComponent
|
|
8
|
+
StatusFilterComponent
|
|
9
|
+
} from "./chunk-STPC2AQU.js";
|
|
10
|
+
import {
|
|
11
|
+
PageLayout
|
|
12
|
+
} from "./chunk-NPAQSMRY.js";
|
|
13
|
+
import {
|
|
14
|
+
OPENFRAME_DEV_SECTIONS,
|
|
11
15
|
TASK_TYPE_LABELS,
|
|
12
16
|
TASK_TYPE_TEXT_COLORS
|
|
13
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ROBQ5TR7.js";
|
|
14
18
|
import {
|
|
15
19
|
usePathname,
|
|
16
20
|
useRouter,
|
|
17
21
|
useSearchParams
|
|
18
22
|
} from "./chunk-GY4IZG22.js";
|
|
19
23
|
import {
|
|
20
|
-
AvatarStack,
|
|
21
24
|
StatusBadge,
|
|
22
25
|
getStatusColorScheme
|
|
23
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TTVOLEUS.js";
|
|
27
|
+
import {
|
|
28
|
+
AvatarStack
|
|
29
|
+
} from "./chunk-JHQ334WS.js";
|
|
24
30
|
import {
|
|
25
31
|
next_link_default
|
|
26
32
|
} from "./chunk-DAAVMYUT.js";
|