@flamingo-stack/openframe-frontend-core 0.0.710 → 0.0.712
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-2NASBO7O.js +1137 -0
- package/dist/{chunk-RQRX4YC3.cjs → chunk-2RKFMUNW.cjs} +46 -46
- package/dist/chunk-2Y7QZAB2.cjs +158 -0
- package/dist/chunk-34I6XI3N.js +136 -0
- package/dist/chunk-3K5ZLZE7.js +292 -0
- package/dist/chunk-3LU4UFPS.cjs +14 -0
- package/dist/{chunk-YBUT4AMG.cjs → chunk-3RKBJT6K.cjs} +8 -6
- package/dist/{chunk-LNW45N2C.js → chunk-3SEEGNRE.js} +35 -27
- package/dist/{chunk-L6Y6OOKG.cjs → chunk-3UAJLO5U.cjs} +41 -39
- package/dist/chunk-4HJRHEXD.cjs +1612 -0
- package/dist/{chunk-JPG7OHEG.js → chunk-4QFWGLZO.js} +1 -1
- package/dist/chunk-4R2L3DSA.js +14 -0
- package/dist/{chunk-36BCTE7D.js → chunk-4UYKNOZG.js} +12 -10
- package/dist/{chunk-DA5UDTLG.js → chunk-5SDELRH3.js} +5 -5
- package/dist/{chunk-CZSZSDD4.js → chunk-5Y72YQEK.js} +22 -113
- package/dist/{chunk-KUC673HM.js → chunk-6T3BTD6Q.js} +204 -982
- package/dist/{chunk-F57ECE2I.js → chunk-6YPTUHM7.js} +4 -4
- package/dist/{chunk-TDYIREDJ.js → chunk-7HNYYNKE.js} +28 -22
- package/dist/{chunk-2G7UYK35.cjs → chunk-7NSU5EQD.cjs} +57 -148
- package/dist/chunk-AAYNCJMW.cjs +48 -0
- package/dist/{chunk-FXJ3WWUB.js → chunk-ADBE7QF3.js} +5 -252
- package/dist/chunk-AECTRMGQ.cjs +334 -0
- package/dist/chunk-AGVXKD4K.js +334 -0
- package/dist/chunk-AL2GUHAJ.cjs +18 -0
- package/dist/{chunk-WMX26HB5.js → chunk-APJZBDQN.js} +12 -12
- package/dist/chunk-AUMKE74M.cjs +16 -0
- package/dist/chunk-B4NCVYEQ.cjs +292 -0
- package/dist/{chunk-2RNB5DTN.cjs → chunk-BXSRTBLU.cjs} +82 -54
- package/dist/chunk-CMGFZHCN.js +233 -0
- package/dist/chunk-CMZ3QTFQ.js +1207 -0
- package/dist/chunk-CPA2CKRZ.cjs +125 -0
- package/dist/{chunk-B73373AG.cjs → chunk-CSCJU6YC.cjs} +35 -33
- package/dist/chunk-CYUUHFXL.js +41 -0
- package/dist/chunk-DC4RTYWK.cjs +1122 -0
- package/dist/{chunk-6YKAT7NV.js → chunk-DDWFCWOE.js} +5 -7
- package/dist/{chunk-F5FF4DME.js → chunk-EFNKS5W4.js} +322 -428
- package/dist/{chunk-2KXTOP6G.cjs → chunk-EOKSKJSS.cjs} +25 -83
- package/dist/{chunk-6NTPY5QA.cjs → chunk-ETYLOZOB.cjs} +978 -2413
- package/dist/chunk-F5BPGWGT.cjs +931 -0
- package/dist/{chunk-4L6XCMOU.js → chunk-FCAVAEHF.js} +8277 -9990
- package/dist/chunk-FFT56TYB.cjs +401 -0
- package/dist/chunk-FYEJTF5Y.js +125 -0
- package/dist/chunk-G3GRYDMS.js +16 -0
- package/dist/{chunk-MR3A4MZV.js → chunk-G3OMVCID.js} +13 -7
- package/dist/chunk-G6OHIX5C.cjs +100 -0
- package/dist/{chunk-UDFRUKLC.cjs → chunk-GEDY7HQI.cjs} +2 -2
- package/dist/chunk-GQ7JJUIT.cjs +1207 -0
- package/dist/chunk-H3PKYE4N.js +18 -0
- package/dist/{chunk-CNWOMQQJ.js → chunk-H5R7U2D2.js} +206 -5
- package/dist/{chunk-SEXWHIMS.cjs → chunk-HETQETPV.cjs} +9648 -9680
- package/dist/{chunk-Y2GSOUCS.cjs → chunk-HWVUR735.cjs} +2 -2
- package/dist/chunk-II4QMH26.cjs +35 -0
- package/dist/chunk-ILNN6QRW.js +1612 -0
- package/dist/chunk-IYVFSLWJ.js +931 -0
- package/dist/{chunk-3AHTOSXJ.cjs → chunk-JGCFRTND.cjs} +23 -17
- package/dist/chunk-JHQ334WS.js +655 -0
- package/dist/{chunk-WCVZCGK5.cjs → chunk-JO5TLJPM.cjs} +129 -907
- package/dist/{chunk-JRU2CXLB.cjs → chunk-JVCAK4W3.cjs} +210 -9
- package/dist/chunk-KBJJQFYU.js +1122 -0
- package/dist/chunk-KEKCQENI.js +48 -0
- package/dist/chunk-KHXZFLIN.cjs +41 -0
- package/dist/chunk-KT3U3ZRP.cjs +1137 -0
- package/dist/chunk-L2VUINHN.js +35 -0
- package/dist/{chunk-P42V6N34.cjs → chunk-L6ZQGWCX.cjs} +4521 -6234
- package/dist/{chunk-PLYEKV3N.cjs → chunk-MA4Q5RBP.cjs} +6 -6
- package/dist/{chunk-SS5MBHDP.js → chunk-N67XG5GY.js} +10 -8
- package/dist/chunk-NPAQSMRY.js +2087 -0
- package/dist/{chunk-I3ST4PLM.js → chunk-NQWJAOHO.js} +6 -4
- package/dist/{chunk-QAOFMK2A.cjs → chunk-OBZJICEA.cjs} +8 -8
- package/dist/{chunk-6IW7TWPV.js → chunk-OPYODNV2.js} +3 -3
- package/dist/chunk-P3JMAMHP.js +401 -0
- package/dist/chunk-PPXR22YC.cjs +2087 -0
- package/dist/chunk-PSVSEN4J.cjs +655 -0
- package/dist/{chunk-4UM2ETLM.js → chunk-RBYVFPER.js} +74 -46
- package/dist/{chunk-PO33GZVY.js → chunk-ROBQ5TR7.js} +10549 -10581
- package/dist/{chunk-ZCLBYT2V.cjs → chunk-T3CLXR43.cjs} +114 -220
- package/dist/{chunk-FI6GMDO7.js → chunk-TTVOLEUS.js} +3605 -5040
- package/dist/{chunk-LM7TXMLU.cjs → chunk-ULWVKHSI.cjs} +8 -255
- package/dist/{chunk-6I4ZAFO2.cjs → chunk-UT3ODMBU.cjs} +15 -15
- package/dist/chunk-WANCBTUE.js +71 -0
- package/dist/{chunk-BIZNSF3U.cjs → chunk-WBNAEYTQ.cjs} +2 -51
- package/dist/chunk-WFPCCBOM.cjs +71 -0
- package/dist/chunk-WI6FHKD7.js +158 -0
- package/dist/chunk-WMNCVLES.js +100 -0
- package/dist/{chunk-UT4YHQZW.js → chunk-WSDT7LYL.js} +0 -49
- package/dist/chunk-WVOTC7HW.cjs +136 -0
- package/dist/{chunk-AOWDNSTM.cjs → chunk-WWJG4GVG.cjs} +93 -87
- package/dist/chunk-XXBLN4BP.cjs +233 -0
- package/dist/{chunk-4IBPRIQH.js → chunk-YBQQNDC7.js} +1 -1
- package/dist/{chunk-LFFB6EMB.js → chunk-YBS5QGON.js} +70 -128
- package/dist/{chunk-NSGXARGJ.cjs → chunk-Z5SWJW5Q.cjs} +125 -117
- package/dist/{chunk-OJLR5MEO.cjs → chunk-ZX7SCPLO.cjs} +6 -8
- package/dist/cloud-tenants-KZUZGD4A.cjs +117 -0
- package/dist/cloud-tenants-OGLVVQ7X.js +117 -0
- package/dist/components/case-studies/index.cjs +45 -29
- package/dist/components/case-studies/index.js +32 -16
- package/dist/components/chat/ask-prompts.d.ts +64 -0
- package/dist/components/chat/ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/case-study-card.d.ts +6 -3
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-chat-dialog-manager.d.ts +4 -1
- package/dist/components/chat/hooks/use-chat-dialog-manager.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +27 -8
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +57 -38
- package/dist/components/chat/quick-action-chip.d.ts +7 -3
- package/dist/components/chat/quick-action-chip.d.ts.map +1 -1
- package/dist/components/chat/types/component.types.d.ts +4 -0
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/chat/types/unified-chat-state.types.d.ts +12 -0
- package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +29 -13
- package/dist/components/contact/index.js +28 -12
- package/dist/components/docs/index.cjs +33 -16
- package/dist/components/docs/index.js +33 -16
- package/dist/components/docs/use-scroll-spy.d.ts +23 -1
- package/dist/components/docs/use-scroll-spy.d.ts.map +1 -1
- package/dist/components/embeds/index.cjs +29 -13
- package/dist/components/embeds/index.js +28 -12
- package/dist/components/faq/faq-section.d.ts +8 -1
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +30 -14
- package/dist/components/faq/index.js +29 -13
- package/dist/components/features/array-entry-manager.d.ts +5 -1
- package/dist/components/features/array-entry-manager.d.ts.map +1 -1
- package/dist/components/features/board/board.d.ts +2 -0
- package/dist/components/features/board/board.d.ts.map +1 -1
- package/dist/components/features/board/ticket-card.d.ts.map +1 -1
- package/dist/components/features/board/touch-board.d.ts +1 -1
- package/dist/components/features/board/touch-board.d.ts.map +1 -1
- package/dist/components/features/board/types.d.ts +3 -0
- package/dist/components/features/board/types.d.ts.map +1 -1
- package/dist/components/features/board/use-board-collapse.d.ts +6 -1
- package/dist/components/features/board/use-board-collapse.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.d.ts +94 -0
- package/dist/components/features/capability-explorer.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/index.d.ts +14 -0
- package/dist/components/features/cloud-tenants/index.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-access-cell.d.ts +9 -0
- package/dist/components/features/cloud-tenants/tenant-access-cell.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-cell.d.ts +8 -0
- package/dist/components/features/cloud-tenants/tenant-cell.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-customer-cell.d.ts +9 -0
- package/dist/components/features/cloud-tenants/tenant-customer-cell.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-presentation.d.ts +42 -0
- package/dist/components/features/cloud-tenants/tenant-presentation.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-row.d.ts +22 -0
- package/dist/components/features/cloud-tenants/tenant-row.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenants-table-columns.d.ts +42 -0
- package/dist/components/features/cloud-tenants/tenants-table-columns.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenants-table-view.d.ts +26 -0
- package/dist/components/features/cloud-tenants/tenants-table-view.d.ts.map +1 -0
- package/dist/components/features/devices/device-last-online.d.ts +3 -0
- package/dist/components/features/devices/device-last-online.d.ts.map +1 -0
- package/dist/components/features/devices/device-name.d.ts +42 -0
- package/dist/components/features/devices/device-name.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selection-mode-radio.d.ts +26 -0
- package/dist/components/features/devices/device-selector/device-selection-mode-radio.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts +25 -0
- package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selector.d.ts +38 -0
- package/dist/components/features/devices/device-selector/device-selector.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selector.types.d.ts +133 -0
- package/dist/components/features/devices/device-selector/device-selector.types.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/narrowing.d.ts +13 -0
- package/dist/components/features/devices/device-selector/narrowing.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/use-device-selector.d.ts +17 -0
- package/dist/components/features/devices/device-selector/use-device-selector.d.ts.map +1 -0
- package/dist/components/features/devices/device-status.d.ts +23 -0
- package/dist/components/features/devices/device-status.d.ts.map +1 -0
- package/dist/components/features/devices/device-statuses.d.ts +40 -0
- package/dist/components/features/devices/device-statuses.d.ts.map +1 -0
- package/dist/components/features/devices/device-tags-filter-button.d.ts +22 -0
- package/dist/components/features/devices/device-tags-filter-button.d.ts.map +1 -0
- package/dist/components/features/devices/device-type-icon.d.ts +11 -0
- package/dist/components/features/devices/device-type-icon.d.ts.map +1 -0
- package/dist/components/features/devices/device-type-tile.d.ts +9 -0
- package/dist/components/features/devices/device-type-tile.d.ts.map +1 -0
- package/dist/components/features/devices/devices-filter-toolbar.d.ts +46 -0
- package/dist/components/features/devices/devices-filter-toolbar.d.ts.map +1 -0
- package/dist/components/features/devices/devices-grid-filters.d.ts +25 -0
- package/dist/components/features/devices/devices-grid-filters.d.ts.map +1 -0
- package/dist/components/features/devices/devices-grid.d.ts +12 -0
- package/dist/components/features/devices/devices-grid.d.ts.map +1 -0
- package/dist/components/features/devices/devices-list.d.ts +131 -0
- package/dist/components/features/devices/devices-list.d.ts.map +1 -0
- package/dist/components/features/devices/devices-panel-header.d.ts +46 -0
- package/dist/components/features/devices/devices-panel-header.d.ts.map +1 -0
- package/dist/components/features/devices/devices-panel-view.d.ts +79 -0
- package/dist/components/features/devices/devices-panel-view.d.ts.map +1 -0
- package/dist/components/features/devices/devices-table-columns.d.ts +76 -0
- package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -0
- package/dist/components/features/devices/devices-view-config.d.ts +25 -0
- package/dist/components/features/devices/devices-view-config.d.ts.map +1 -0
- package/dist/components/features/devices/index.d.ts +24 -0
- package/dist/components/features/devices/index.d.ts.map +1 -0
- package/dist/components/features/devices/types.d.ts +68 -0
- package/dist/components/features/devices/types.d.ts.map +1 -0
- package/dist/components/features/devices/use-tag-filter-modal.d.ts +50 -0
- package/dist/components/features/devices/use-tag-filter-modal.d.ts.map +1 -0
- package/dist/components/features/index.cjs +227 -12
- package/dist/components/features/index.d.ts +7 -0
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/index.js +266 -51
- package/dist/components/features/knowledge-base/index.d.ts +7 -0
- package/dist/components/features/knowledge-base/index.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-article-view.d.ts +44 -0
- package/dist/components/features/knowledge-base/knowledge-base-article-view.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-item-icon.d.ts +13 -0
- package/dist/components/features/knowledge-base/knowledge-base-item-icon.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-status.d.ts +8 -0
- package/dist/components/features/knowledge-base/knowledge-base-status.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-table.d.ts +52 -0
- package/dist/components/features/knowledge-base/knowledge-base-table.d.ts.map +1 -0
- package/dist/components/features/logs/index.d.ts +12 -0
- package/dist/components/features/logs/index.d.ts.map +1 -0
- package/dist/components/features/logs/log-drawer.d.ts +29 -0
- package/dist/components/features/logs/log-drawer.d.ts.map +1 -0
- package/dist/components/features/logs/log-source-labels.d.ts +11 -0
- package/dist/components/features/logs/log-source-labels.d.ts.map +1 -0
- package/dist/components/features/logs/logs-page-view.d.ts +32 -0
- package/dist/components/features/logs/logs-page-view.d.ts.map +1 -0
- package/dist/components/features/logs/logs-table-columns.d.ts +15 -0
- package/dist/components/features/logs/logs-table-columns.d.ts.map +1 -0
- package/dist/components/features/logs/logs-table-view.d.ts +64 -0
- package/dist/components/features/logs/logs-table-view.d.ts.map +1 -0
- package/dist/components/features/logs/types.d.ts +52 -0
- package/dist/components/features/logs/types.d.ts.map +1 -0
- package/dist/components/features/policies/compute-policy-summary.d.ts +37 -0
- package/dist/components/features/policies/compute-policy-summary.d.ts.map +1 -0
- package/dist/components/features/policies/index.d.ts +8 -0
- package/dist/components/features/policies/index.d.ts.map +1 -0
- package/dist/components/features/policies/policies-table.d.ts +34 -0
- package/dist/components/features/policies/policies-table.d.ts.map +1 -0
- package/dist/components/features/policies/policy-summary-cards.d.ts +17 -0
- package/dist/components/features/policies/policy-summary-cards.d.ts.map +1 -0
- package/dist/components/features/policies/policy-table-row.d.ts +37 -0
- package/dist/components/features/policies/policy-table-row.d.ts.map +1 -0
- package/dist/components/features/remote-session/index.d.ts +8 -0
- package/dist/components/features/remote-session/index.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts +21 -0
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts.map +1 -0
- package/dist/components/features/remote-session/remote-desktop-chat-panel.d.ts +31 -0
- package/dist/components/features/remote-session/remote-desktop-chat-panel.d.ts.map +1 -0
- package/dist/components/features/remote-session/remote-desktop-fullscreen-toolbar.d.ts +21 -0
- package/dist/components/features/remote-session/remote-desktop-fullscreen-toolbar.d.ts.map +1 -0
- package/dist/components/features/remote-session/remote-desktop-view.d.ts +50 -0
- package/dist/components/features/remote-session/remote-desktop-view.d.ts.map +1 -0
- package/dist/components/features/software/index.d.ts +8 -0
- package/dist/components/features/software/index.d.ts.map +1 -0
- package/dist/components/features/software/package-managers.d.ts +30 -0
- package/dist/components/features/software/package-managers.d.ts.map +1 -0
- package/dist/components/features/software/package-search-field-placeholder.d.ts +7 -0
- package/dist/components/features/software/package-search-field-placeholder.d.ts.map +1 -0
- package/dist/components/features/software/schedule-fields.d.ts +34 -0
- package/dist/components/features/software/schedule-fields.d.ts.map +1 -0
- package/dist/components/features/software/software-action-copy.d.ts +25 -0
- package/dist/components/features/software/software-action-copy.d.ts.map +1 -0
- package/dist/components/features/software/software-action-form.d.ts +71 -0
- package/dist/components/features/software/software-action-form.d.ts.map +1 -0
- package/dist/components/features/software/software-row-fields.d.ts +23 -0
- package/dist/components/features/software/software-row-fields.d.ts.map +1 -0
- package/dist/components/features/software/software-row.d.ts +18 -0
- package/dist/components/features/software/software-row.d.ts.map +1 -0
- package/dist/components/features/sortable-list/index.d.ts +1 -0
- package/dist/components/features/sortable-list/index.d.ts.map +1 -1
- package/dist/components/features/sortable-list/sortable-drag-handle.d.ts +21 -0
- package/dist/components/features/sortable-list/sortable-drag-handle.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +133 -114
- package/dist/components/help-center-pages/index.js +58 -39
- package/dist/components/index.cjs +320 -82
- package/dist/components/index.js +451 -213
- package/dist/components/layout/page-heading.d.ts +12 -3
- package/dist/components/layout/page-heading.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +120 -98
- package/dist/components/meeting-scheduler/index.js +50 -28
- package/dist/components/navigation/index.cjs +36 -17
- package/dist/components/navigation/index.d.ts +3 -0
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +36 -17
- package/dist/components/navigation/mingo-ai-button.d.ts +23 -10
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/navigation/sticky-section-nav.d.ts +14 -1
- package/dist/components/navigation/sticky-section-nav.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +32 -16
- package/dist/components/onboarding-guides/index.js +31 -15
- package/dist/components/product-demo/cast.d.ts +58 -0
- package/dist/components/product-demo/cast.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/cloud-tenants.d.ts +10 -0
- package/dist/components/product-demo/fixtures/cloud-tenants.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/devices.d.ts +14 -0
- package/dist/components/product-demo/fixtures/devices.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/knowledge.d.ts +14 -0
- package/dist/components/product-demo/fixtures/knowledge.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/logs.d.ts +15 -0
- package/dist/components/product-demo/fixtures/logs.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/policies.d.ts +13 -0
- package/dist/components/product-demo/fixtures/policies.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/remote-session.d.ts +20 -0
- package/dist/components/product-demo/fixtures/remote-session.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/shared.d.ts +156 -0
- package/dist/components/product-demo/fixtures/shared.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/software-update.d.ts +19 -0
- package/dist/components/product-demo/fixtures/software-update.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/tickets-board.d.ts +8 -0
- package/dist/components/product-demo/fixtures/tickets-board.d.ts.map +1 -0
- package/dist/components/product-demo/index.cjs +112 -0
- package/dist/components/product-demo/index.d.ts +6 -0
- package/dist/components/product-demo/index.d.ts.map +1 -0
- package/dist/components/product-demo/index.js +112 -0
- package/dist/components/product-demo/product-screen.d.ts +22 -0
- package/dist/components/product-demo/product-screen.d.ts.map +1 -0
- package/dist/components/product-demo/registry.d.ts +13 -0
- package/dist/components/product-demo/registry.d.ts.map +1 -0
- package/dist/components/product-demo/screen-keys.cjs +25 -0
- package/dist/components/product-demo/screen-keys.d.ts +27 -0
- package/dist/components/product-demo/screen-keys.d.ts.map +1 -0
- package/dist/components/product-demo/screen-keys.js +20 -0
- package/dist/components/product-demo/screens/cloud-tenants.d.ts +8 -0
- package/dist/components/product-demo/screens/cloud-tenants.d.ts.map +1 -0
- package/dist/components/product-demo/screens/devices.d.ts +10 -0
- package/dist/components/product-demo/screens/devices.d.ts.map +1 -0
- package/dist/components/product-demo/screens/knowledge.d.ts +9 -0
- package/dist/components/product-demo/screens/knowledge.d.ts.map +1 -0
- package/dist/components/product-demo/screens/logs.d.ts +4 -0
- package/dist/components/product-demo/screens/logs.d.ts.map +1 -0
- package/dist/components/product-demo/screens/policies.d.ts +8 -0
- package/dist/components/product-demo/screens/policies.d.ts.map +1 -0
- package/dist/components/product-demo/screens/remote-desktop-picture.d.ts +11 -0
- package/dist/components/product-demo/screens/remote-desktop-picture.d.ts.map +1 -0
- package/dist/components/product-demo/screens/remote-session.d.ts +8 -0
- package/dist/components/product-demo/screens/remote-session.d.ts.map +1 -0
- package/dist/components/product-demo/screens/software-update.d.ts +12 -0
- package/dist/components/product-demo/screens/software-update.d.ts.map +1 -0
- package/dist/components/product-demo/screens/tickets-board.d.ts +4 -0
- package/dist/components/product-demo/screens/tickets-board.d.ts.map +1 -0
- package/dist/components/product-demo/types.d.ts +9 -0
- package/dist/components/product-demo/types.d.ts.map +1 -0
- package/dist/components/related-content/index.cjs +14 -8
- package/dist/components/related-content/index.js +13 -7
- package/dist/components/tickets/index.cjs +36 -20
- package/dist/components/tickets/index.js +35 -19
- package/dist/components/ui/file-manager/index.cjs +38 -34
- package/dist/components/ui/file-manager/index.js +8 -4
- package/dist/components/ui/index.cjs +57 -17
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +141 -101
- package/dist/components/ui/product-screen-frame.d.ts +45 -0
- package/dist/components/ui/product-screen-frame.d.ts.map +1 -0
- package/dist/components/ui/radio-group.d.ts +5 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/snap-carousel.d.ts +11 -1
- package/dist/components/ui/snap-carousel.d.ts.map +1 -1
- package/dist/components/ui/tag.d.ts +1 -1
- package/dist/components/ui/tag.d.ts.map +1 -1
- package/dist/devices-LBMG42K6.js +81 -0
- package/dist/devices-YGYJIXQY.cjs +81 -0
- package/dist/hooks/index.cjs +17 -8
- package/dist/hooks/index.js +32 -23
- package/dist/hooks/ui/index.d.ts +1 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/use-header-height.d.ts +12 -0
- package/dist/hooks/ui/use-header-height.d.ts.map +1 -1
- package/dist/hooks/ui/use-sticky-toolbar.d.ts +29 -0
- package/dist/hooks/ui/use-sticky-toolbar.d.ts.map +1 -0
- package/dist/hooks/use-location-hash.d.ts +2 -2
- package/dist/hooks/use-location-hash.d.ts.map +1 -1
- package/dist/hooks/use-scroll-to-hash.d.ts +7 -0
- package/dist/hooks/use-scroll-to-hash.d.ts.map +1 -1
- package/dist/index.cjs +276 -25
- package/dist/index.js +729 -478
- package/dist/knowledge-H5BIWJVI.js +108 -0
- package/dist/knowledge-KTCVJIWN.cjs +108 -0
- package/dist/logs-DB5Z7M5Q.js +216 -0
- package/dist/logs-RVCC2UQW.cjs +216 -0
- package/dist/policies-EWUULFBR.js +121 -0
- package/dist/policies-HV4IQCBV.cjs +121 -0
- package/dist/remote-session-GSGZOFDX.js +196 -0
- package/dist/remote-session-R6VAFESR.cjs +196 -0
- package/dist/software-update-6PXKRKBT.js +179 -0
- package/dist/software-update-D4OVSWSG.cjs +179 -0
- package/dist/tickets-board-BHLPAVNJ.cjs +137 -0
- package/dist/tickets-board-PYDNELSK.js +137 -0
- package/dist/types/case-study.d.ts +15 -1
- package/dist/types/case-study.d.ts.map +1 -1
- package/dist/utils/date-utils.d.ts +5 -0
- package/dist/utils/date-utils.d.ts.map +1 -1
- package/dist/utils/index.cjs +45 -2
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +41 -3
- package/dist/utils/open-in-new-tab.d.ts +7 -0
- package/dist/utils/open-in-new-tab.d.ts.map +1 -0
- package/dist/utils/same-page-hash-nav.d.ts +31 -0
- package/dist/utils/same-page-hash-nav.d.ts.map +1 -1
- package/dist/utils/scroll-into-view.d.ts +14 -1
- package/dist/utils/scroll-into-view.d.ts.map +1 -1
- package/package.json +13 -1
- package/src/components/chat/ask-prompts.tsx +226 -0
- package/src/components/chat/embeddable-chat.tsx +38 -2
- package/src/components/chat/entity-cards/case-study-card.tsx +122 -46
- package/src/components/chat/hooks/use-chat-dialog-manager.ts +22 -4
- package/src/components/chat/hooks/use-unified-chat.ts +1 -0
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/quick-action-chip.tsx +33 -9
- package/src/components/chat/types/component.types.ts +4 -0
- package/src/components/chat/types/unified-chat-state.types.ts +13 -0
- package/src/components/docs/use-scroll-spy.ts +93 -18
- package/src/components/faq/faq-section.tsx +82 -43
- package/src/components/features/array-entry-manager.tsx +10 -1
- package/src/components/features/board/board.tsx +4 -1
- package/src/components/features/board/ticket-card.tsx +11 -1
- package/src/components/features/board/touch-board.tsx +2 -1
- package/src/components/features/board/types.ts +3 -0
- package/src/components/features/board/use-board-collapse.ts +7 -2
- package/src/components/features/capability-explorer.tsx +412 -0
- package/src/components/features/cloud-tenants/index.ts +28 -0
- package/src/components/features/cloud-tenants/tenant-access-cell.tsx +24 -0
- package/src/components/features/cloud-tenants/tenant-cell.tsx +26 -0
- package/src/components/features/cloud-tenants/tenant-customer-cell.tsx +27 -0
- package/src/components/features/cloud-tenants/tenant-presentation.ts +111 -0
- package/src/components/features/cloud-tenants/tenant-row.ts +21 -0
- package/src/components/features/cloud-tenants/tenants-table-columns.ts +30 -0
- package/src/components/features/cloud-tenants/tenants-table-view.tsx +142 -0
- package/src/components/features/devices/device-last-online.ts +6 -0
- package/src/components/features/devices/device-name.ts +51 -0
- package/src/components/features/devices/device-selector/device-selection-mode-radio.tsx +107 -0
- package/src/components/features/devices/device-selector/device-selector-skeleton.tsx +32 -0
- package/src/components/features/devices/device-selector/device-selector.tsx +799 -0
- package/src/components/features/devices/device-selector/device-selector.types.ts +138 -0
- package/src/components/features/devices/device-selector/narrowing.ts +33 -0
- package/src/components/features/devices/device-selector/use-device-selector.ts +51 -0
- package/src/components/features/devices/device-status.ts +102 -0
- package/src/components/features/devices/device-statuses.ts +88 -0
- package/src/components/features/devices/device-tags-filter-button.tsx +49 -0
- package/src/components/features/devices/device-type-icon.tsx +29 -0
- package/src/components/features/devices/device-type-tile.tsx +17 -0
- package/src/components/features/devices/devices-filter-toolbar.tsx +114 -0
- package/src/components/features/devices/devices-grid-filters.tsx +99 -0
- package/src/components/features/devices/devices-grid.tsx +86 -0
- package/src/components/features/devices/devices-list.tsx +357 -0
- package/src/components/features/devices/devices-panel-header.tsx +97 -0
- package/src/components/features/devices/devices-panel-view.tsx +261 -0
- package/src/components/features/devices/devices-table-columns.tsx +356 -0
- package/src/components/features/devices/devices-view-config.tsx +38 -0
- package/src/components/features/devices/index.ts +89 -0
- package/src/components/features/devices/types.ts +74 -0
- package/src/components/features/devices/use-tag-filter-modal.ts +109 -0
- package/src/components/features/index.ts +9 -0
- package/src/components/features/knowledge-base/index.ts +19 -0
- package/src/components/features/knowledge-base/knowledge-base-article-view.tsx +134 -0
- package/src/components/features/knowledge-base/knowledge-base-item-icon.ts +14 -0
- package/src/components/features/knowledge-base/knowledge-base-status.ts +12 -0
- package/src/components/features/knowledge-base/knowledge-base-table.tsx +180 -0
- package/src/components/features/logs/index.ts +20 -0
- package/src/components/features/logs/log-drawer.tsx +138 -0
- package/src/components/features/logs/log-source-labels.ts +25 -0
- package/src/components/features/logs/logs-page-view.tsx +100 -0
- package/src/components/features/logs/logs-table-columns.ts +16 -0
- package/src/components/features/logs/logs-table-view.tsx +509 -0
- package/src/components/features/logs/types.ts +71 -0
- package/src/components/features/policies/compute-policy-summary.ts +115 -0
- package/src/components/features/policies/index.ts +14 -0
- package/src/components/features/policies/policies-table.tsx +235 -0
- package/src/components/features/policies/policy-summary-cards.tsx +69 -0
- package/src/components/features/policies/policy-table-row.ts +37 -0
- package/src/components/features/remote-session/index.ts +8 -0
- package/src/components/features/remote-session/remote-desktop-chat-message-row.tsx +56 -0
- package/src/components/features/remote-session/remote-desktop-chat-panel.tsx +102 -0
- package/src/components/features/remote-session/remote-desktop-fullscreen-toolbar.tsx +119 -0
- package/src/components/features/remote-session/remote-desktop-view.tsx +209 -0
- package/src/components/features/software/index.ts +39 -0
- package/src/components/features/software/package-managers.ts +54 -0
- package/src/components/features/software/package-search-field-placeholder.tsx +23 -0
- package/src/components/features/software/schedule-fields.tsx +105 -0
- package/src/components/features/software/software-action-copy.ts +70 -0
- package/src/components/features/software/software-action-form.tsx +199 -0
- package/src/components/features/software/software-row-fields.tsx +105 -0
- package/src/components/features/software/software-row.ts +22 -0
- package/src/components/features/sortable-list/index.ts +1 -0
- package/src/components/features/sortable-list/sortable-drag-handle.tsx +41 -0
- package/src/components/layout/page-heading.tsx +23 -6
- package/src/components/navigation/index.ts +5 -0
- package/src/components/navigation/mingo-ai-button.tsx +37 -13
- package/src/components/navigation/sticky-section-nav.tsx +99 -1
- package/src/components/product-demo/cast.tsx +78 -0
- package/src/components/product-demo/fixtures/cloud-tenants.ts +63 -0
- package/src/components/product-demo/fixtures/devices.ts +87 -0
- package/src/components/product-demo/fixtures/knowledge.ts +48 -0
- package/src/components/product-demo/fixtures/logs.ts +103 -0
- package/src/components/product-demo/fixtures/policies.ts +77 -0
- package/src/components/product-demo/fixtures/remote-session.ts +65 -0
- package/src/components/product-demo/fixtures/shared.ts +53 -0
- package/src/components/product-demo/fixtures/software-update.ts +63 -0
- package/src/components/product-demo/fixtures/tickets-board.ts +100 -0
- package/src/components/product-demo/index.ts +7 -0
- package/src/components/product-demo/product-screen.tsx +94 -0
- package/src/components/product-demo/registry.ts +20 -0
- package/src/components/product-demo/screen-keys.ts +31 -0
- package/src/components/product-demo/screens/cloud-tenants.tsx +23 -0
- package/src/components/product-demo/screens/devices.tsx +41 -0
- package/src/components/product-demo/screens/knowledge.tsx +27 -0
- package/src/components/product-demo/screens/logs.tsx +113 -0
- package/src/components/product-demo/screens/policies.tsx +29 -0
- package/src/components/product-demo/screens/remote-desktop-picture.tsx +118 -0
- package/src/components/product-demo/screens/remote-session.tsx +46 -0
- package/src/components/product-demo/screens/software-update.tsx +97 -0
- package/src/components/product-demo/screens/tickets-board.tsx +28 -0
- package/src/components/product-demo/types.ts +10 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/product-screen-frame.tsx +136 -0
- package/src/components/ui/radio-group.tsx +16 -4
- package/src/components/ui/snap-carousel.tsx +26 -1
- package/src/components/ui/tag.tsx +5 -0
- package/src/hooks/ui/index.ts +1 -0
- package/src/hooks/ui/use-header-height.ts +51 -2
- package/src/hooks/ui/use-sticky-toolbar.ts +60 -0
- package/src/hooks/use-location-hash.ts +9 -5
- package/src/hooks/use-scroll-to-hash.ts +9 -1
- package/src/types/case-study.ts +21 -1
- package/src/utils/date-utils.ts +8 -1
- package/src/utils/index.ts +5 -0
- package/src/utils/open-in-new-tab.ts +12 -0
- package/src/utils/same-page-hash-nav.ts +57 -0
- package/src/utils/scroll-into-view.ts +21 -5
- package/dist/chunk-BM5MVGH3.cjs +0 -499
- package/dist/chunk-CUME3VTQ.js +0 -144
- package/dist/chunk-CZ7Y7UG4.js +0 -732
- package/dist/chunk-FLKJYMVB.js +0 -499
- package/dist/chunk-OF6GEI5A.cjs +0 -144
- package/dist/chunk-UVTD52MD.cjs +0 -732
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { DEMO_PEOPLE, type DemoOrganizationKey, type DemoPersonKey } from './fixtures/shared';
|
|
3
|
+
/**
|
|
4
|
+
* What a host adds to the product screens' cast. The people and customers of
|
|
5
|
+
* the stories are the library's; their PICTURES are the host's, because the
|
|
6
|
+
* library holds no storage address:
|
|
7
|
+
* - `people`: a portrait by persona slug (`tech`, `leo`, `alex-reed`, ...);
|
|
8
|
+
* - `organizations`: a logo by customer key (`acme`, `northbridge`,
|
|
9
|
+
* `harbor`).
|
|
10
|
+
* Anything left out falls back to initials, the way the product draws a
|
|
11
|
+
* person or a customer that has no picture.
|
|
12
|
+
*/
|
|
13
|
+
export interface ProductDemoCast {
|
|
14
|
+
people?: Readonly<Record<string, {
|
|
15
|
+
avatarUrl?: string | null;
|
|
16
|
+
} | undefined>>;
|
|
17
|
+
organizations?: Readonly<Record<string, {
|
|
18
|
+
logoUrl?: string | null;
|
|
19
|
+
} | undefined>>;
|
|
20
|
+
}
|
|
21
|
+
export type DemoPersonRole = (typeof DEMO_PEOPLE)[DemoPersonKey]['role'];
|
|
22
|
+
export interface DemoPerson {
|
|
23
|
+
id: string;
|
|
24
|
+
slug: string;
|
|
25
|
+
name: string;
|
|
26
|
+
initials: string;
|
|
27
|
+
/** A technician works in the product; an end user is the customer's employee. */
|
|
28
|
+
role: DemoPersonRole;
|
|
29
|
+
/** The host's portrait; absent: the product draws its initials. */
|
|
30
|
+
avatarUrl?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface DemoOrganization {
|
|
33
|
+
id: string;
|
|
34
|
+
name: string;
|
|
35
|
+
initials: string;
|
|
36
|
+
domain: string;
|
|
37
|
+
/** The host's logo; absent: the product draws the customer's initials. */
|
|
38
|
+
logoUrl?: string;
|
|
39
|
+
}
|
|
40
|
+
/** The cast a fixture is built from: every person and customer, with their pictures resolved. */
|
|
41
|
+
export interface DemoCast {
|
|
42
|
+
person: (key: DemoPersonKey) => DemoPerson;
|
|
43
|
+
organization: (key: DemoOrganizationKey) => DemoOrganization;
|
|
44
|
+
}
|
|
45
|
+
/** The cast with the host's pictures applied; no argument: initials everywhere. */
|
|
46
|
+
export declare function resolveProductDemoCast(cast?: ProductDemoCast | null): DemoCast;
|
|
47
|
+
/**
|
|
48
|
+
* Gives every product screen under it the host's pictures of the cast. Mount
|
|
49
|
+
* it once around the screens of a page (an explorer, a hero window); a screen
|
|
50
|
+
* outside it still renders, with initials.
|
|
51
|
+
*/
|
|
52
|
+
export declare function ProductDemoCastProvider({ cast, children }: {
|
|
53
|
+
cast: ProductDemoCast | null;
|
|
54
|
+
children: ReactNode;
|
|
55
|
+
}): import("react").JSX.Element;
|
|
56
|
+
/** The resolved cast for a screen's fixture; stable while the host's cast is. */
|
|
57
|
+
export declare function useProductDemoCast(): DemoCast;
|
|
58
|
+
//# sourceMappingURL=cast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cast.d.ts","sourceRoot":"","sources":["../../../src/components/product-demo/cast.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAiB,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAC3E,OAAO,EAAsB,WAAW,EAAE,KAAK,mBAAmB,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElH;;;;;;;;;GASG;AACH,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,SAAS,CAAC,CAAC,CAAC;IAC7E,aAAa,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,SAAS,CAAC,CAAC,CAAC;CACnF;AAED,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzE,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,iFAAiF;IACjF,IAAI,EAAE,cAAc,CAAC;IACrB,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,0EAA0E;IAC1E,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,iGAAiG;AACjG,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,UAAU,CAAC;IAC3C,YAAY,EAAE,CAAC,GAAG,EAAE,mBAAmB,KAAK,gBAAgB,CAAC;CAC9D;AAED,mFAAmF;AACnF,wBAAgB,sBAAsB,CAAC,IAAI,CAAC,EAAE,eAAe,GAAG,IAAI,GAAG,QAAQ,CAW9E;AAID;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAAE,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAEhH;AAED,iFAAiF;AACjF,wBAAgB,kBAAkB,IAAI,QAAQ,CAG7C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TenantRow } from '../../features/cloud-tenants';
|
|
2
|
+
import type { DemoCast } from '../cast';
|
|
3
|
+
export interface CloudTenantsFixture {
|
|
4
|
+
rows: TenantRow[];
|
|
5
|
+
/** The clock "Last read" is relative to. */
|
|
6
|
+
now: Date;
|
|
7
|
+
}
|
|
8
|
+
/** The three customers' directories, a Microsoft 365 and a Google Workspace tenant each: all connected with write access but one that lost its connection. */
|
|
9
|
+
export declare function buildCloudTenantsFixture(cast: DemoCast): CloudTenantsFixture;
|
|
10
|
+
//# sourceMappingURL=cloud-tenants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloud-tenants.d.ts","sourceRoot":"","sources":["../../../../src/components/product-demo/fixtures/cloud-tenants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAoB,MAAM,SAAS,CAAC;AAkB1D,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,4CAA4C;IAC5C,GAAG,EAAE,IAAI,CAAC;CACX;AAED,8JAA8J;AAC9J,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,QAAQ,GAAG,mBAAmB,CAoC5E"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DeviceFilters, DeviceRow } from '../../features/devices';
|
|
2
|
+
import type { DemoCast } from '../cast';
|
|
3
|
+
export interface DevicesFixture {
|
|
4
|
+
devices: DeviceRow[];
|
|
5
|
+
deviceFilters: DeviceFilters;
|
|
6
|
+
totalCount: number;
|
|
7
|
+
}
|
|
8
|
+
/** The fleet of the three demo customers on an ordinary morning: a mix of states, one desktop offline since last night. */
|
|
9
|
+
export declare function buildDevicesFixture(cast: DemoCast): DevicesFixture;
|
|
10
|
+
/** What the Devices page shows for a search: the query in the field and the rows that answer it. */
|
|
11
|
+
export declare const DEVICES_SEARCH_QUERY = "Windows";
|
|
12
|
+
/** The fleet narrowed to its Windows devices, the way the list answers that search. */
|
|
13
|
+
export declare function buildWindowsDevicesFixture(cast: DemoCast): DevicesFixture;
|
|
14
|
+
//# sourceMappingURL=devices.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devices.d.ts","sourceRoot":"","sources":["../../../../src/components/product-demo/fixtures/devices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAyCxC,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,2HAA2H;AAC3H,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,QAAQ,GAAG,cAAc,CAuBlE;AAED,oGAAoG;AACpG,eAAO,MAAM,oBAAoB,YAAY,CAAC;AAE9C,uFAAuF;AACvF,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,QAAQ,GAAG,cAAc,CAQzE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { KnowledgeBaseArticleViewProps } from '../../features/knowledge-base';
|
|
2
|
+
import type { DemoCast } from '../cast';
|
|
3
|
+
export interface KnowledgeFixture {
|
|
4
|
+
article: Pick<KnowledgeBaseArticleViewProps, 'title' | 'tags' | 'author' | 'updatedLabel' | 'status'>;
|
|
5
|
+
/** The article's body, in the markdown the product stores. */
|
|
6
|
+
content: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* One article of a client's knowledge base, open: the runbook a technician (or
|
|
10
|
+
* the assistant) follows to set up a new hire's laptop. It names the client,
|
|
11
|
+
* its author and the steps, so the page says what the knowledge base is for.
|
|
12
|
+
*/
|
|
13
|
+
export declare function buildKnowledgeFixture(cast: DemoCast): KnowledgeFixture;
|
|
14
|
+
//# sourceMappingURL=knowledge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"knowledge.d.ts","sourceRoot":"","sources":["../../../../src/components/product-demo/fixtures/knowledge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGxC,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,IAAI,CAAC,6BAA6B,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,cAAc,GAAG,QAAQ,CAAC,CAAC;IACtG,8DAA8D;IAC9D,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,QAAQ,GAAG,gBAAgB,CAgCtE"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type LogDrawerProps, type LogsTableViewProps, type UiLogEntry } from '../../features/logs';
|
|
2
|
+
import type { DeviceCardProps } from '../../ui/device-card';
|
|
3
|
+
/** What the Logs page is searched for in the picture: the rows below are what answers it. */
|
|
4
|
+
export declare const LOGS_FIXTURE_SEARCH = "sign-in";
|
|
5
|
+
/** A day of sign-ins across the three customers: one worth a look, a burst of failures, the rest routine. */
|
|
6
|
+
export declare const LOGS_FIXTURE_ENTRIES: UiLogEntry[];
|
|
7
|
+
/** The filters the column headers offer. */
|
|
8
|
+
export declare const LOGS_FIXTURE_FACETS: NonNullable<LogsTableViewProps['facets']>;
|
|
9
|
+
/** The entry open in the Log Details drawer. */
|
|
10
|
+
export declare const LOGS_FIXTURE_SELECTED: UiLogEntry;
|
|
11
|
+
/** The drawer's text for the selected entry, as the product prints a log: what happened and to whom (its id, source and device are the fields under it). */
|
|
12
|
+
export declare const LOGS_FIXTURE_SELECTED_DETAILS: Extract<LogDrawerProps['description'], string>;
|
|
13
|
+
/** The device card pinned under the selected entry. */
|
|
14
|
+
export declare const LOGS_FIXTURE_DEVICE: Pick<DeviceCardProps, 'device' | 'statusTag'>;
|
|
15
|
+
//# sourceMappingURL=logs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logs.d.ts","sourceRoot":"","sources":["../../../../src/components/product-demo/fixtures/logs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,cAAc,EAAE,KAAK,kBAAkB,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACxH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAmC5D,6FAA6F;AAC7F,eAAO,MAAM,mBAAmB,YAAY,CAAC;AAO7C,6GAA6G;AAC7G,eAAO,MAAM,oBAAoB,EAAE,UAAU,EAuB5C,CAAC;AAEF,4CAA4C;AAC5C,eAAO,MAAM,mBAAmB,EAAE,WAAW,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAQzE,CAAC;AAEF,gDAAgD;AAChD,eAAO,MAAM,qBAAqB,EAAE,UAAoC,CAAC;AAEzE,4JAA4J;AAC5J,eAAO,MAAM,6BAA6B,EAAE,OAAO,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,MAAM,CAI7E,CAAC;AAEb,uDAAuD;AACvD,eAAO,MAAM,mBAAmB,EAAE,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,WAAW,CAU7E,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type PolicySummaryStats, type PolicyTableRow } from '../../features/policies';
|
|
2
|
+
export interface PoliciesFixture {
|
|
3
|
+
summary: PolicySummaryStats;
|
|
4
|
+
rows: PolicyTableRow[];
|
|
5
|
+
/** The clock the "Updated" card is relative to. */
|
|
6
|
+
now: Date;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The product's fleet-wide policies page. The summary and every status cell
|
|
10
|
+
* are computed from the host counts by the product's own functions.
|
|
11
|
+
*/
|
|
12
|
+
export declare const POLICIES_FIXTURE: PoliciesFixture;
|
|
13
|
+
//# sourceMappingURL=policies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policies.d.ts","sourceRoot":"","sources":["../../../../src/components/product-demo/fixtures/policies.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACpB,MAAM,yBAAyB,CAAC;AA2CjC,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,mDAAmD;IACnD,GAAG,EAAE,IAAI,CAAC;CACX;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,eAgB9B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { RemoteDesktopChatPanelProps, RemoteDesktopViewProps } from '../../features/remote-session';
|
|
2
|
+
import type { DemoCast } from '../cast';
|
|
3
|
+
export interface RemoteSessionFixture {
|
|
4
|
+
view: Pick<RemoteDesktopViewProps, 'deviceName' | 'organizationName' | 'currentDisplayLabel' | 'displayMenuGroups' | 'actionsMenuGroups'>;
|
|
5
|
+
chat: Pick<RemoteDesktopChatPanelProps, 'messages' | 'technician'>;
|
|
6
|
+
/** What the remote desktop itself shows. */
|
|
7
|
+
desktop: {
|
|
8
|
+
printer: string;
|
|
9
|
+
clock: string;
|
|
10
|
+
date: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* A connected session on the front desk laptop: the end user reports the
|
|
15
|
+
* printer in the session chat, the technician restarts the spooler on the
|
|
16
|
+
* remote desktop and says so. The technician's rows carry their portrait; the
|
|
17
|
+
* end user's are a plain name, the way the product shows the other side.
|
|
18
|
+
*/
|
|
19
|
+
export declare function buildRemoteSessionFixture(cast: DemoCast): RemoteSessionFixture;
|
|
20
|
+
//# sourceMappingURL=remote-session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-session.d.ts","sourceRoot":"","sources":["../../../../src/components/product-demo/fixtures/remote-session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,sBAAsB,EAEvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAaxC,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,IAAI,CACR,sBAAsB,EACtB,YAAY,GAAG,kBAAkB,GAAG,qBAAqB,GAAG,mBAAmB,GAAG,mBAAmB,CACtG,CAAC;IACF,IAAI,EAAE,IAAI,CAAC,2BAA2B,EAAE,UAAU,GAAG,YAAY,CAAC,CAAC;IACnE,4CAA4C;IAC5C,OAAO,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CAC3D;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,QAAQ,GAAG,oBAAoB,CA8B9E"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The cast every product-screen fixture draws from, so the screens of one page
|
|
3
|
+
* tell one story. The people are the hub's demo personas (invented names); the
|
|
4
|
+
* organizations and devices are invented too.
|
|
5
|
+
*/
|
|
6
|
+
export declare const DEMO_ORGANIZATIONS: {
|
|
7
|
+
readonly acme: {
|
|
8
|
+
readonly id: "org-acme";
|
|
9
|
+
readonly name: "Acme Logistics";
|
|
10
|
+
readonly initials: "AL";
|
|
11
|
+
readonly domain: "acmelogistics.example";
|
|
12
|
+
};
|
|
13
|
+
readonly northbridge: {
|
|
14
|
+
readonly id: "org-northbridge";
|
|
15
|
+
readonly name: "Northbridge Legal";
|
|
16
|
+
readonly initials: "NL";
|
|
17
|
+
readonly domain: "northbridgelegal.example";
|
|
18
|
+
};
|
|
19
|
+
readonly harbor: {
|
|
20
|
+
readonly id: "org-harbor";
|
|
21
|
+
readonly name: "Harbor Dental";
|
|
22
|
+
readonly initials: "HD";
|
|
23
|
+
readonly domain: "harbordental.example";
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* `slug` is the persona's slug at the host (the key its portrait arrives by,
|
|
28
|
+
* see `ProductDemoCastProvider`; the host's own technician is `tech`); `role` decides how the product draws the
|
|
29
|
+
* person: a technician works in the product, an end user is the customer's
|
|
30
|
+
* employee on the other end.
|
|
31
|
+
*/
|
|
32
|
+
export declare const DEMO_PEOPLE: {
|
|
33
|
+
readonly jen: {
|
|
34
|
+
readonly id: "user-jen";
|
|
35
|
+
readonly slug: "jen";
|
|
36
|
+
readonly name: "Jen Park";
|
|
37
|
+
readonly initials: "JP";
|
|
38
|
+
readonly role: "end_user";
|
|
39
|
+
};
|
|
40
|
+
readonly leo: {
|
|
41
|
+
readonly id: "user-leo";
|
|
42
|
+
readonly slug: "leo";
|
|
43
|
+
readonly name: "Leo Martin";
|
|
44
|
+
readonly initials: "LM";
|
|
45
|
+
readonly role: "end_user";
|
|
46
|
+
};
|
|
47
|
+
readonly maya: {
|
|
48
|
+
readonly id: "user-maya";
|
|
49
|
+
readonly slug: "maya";
|
|
50
|
+
readonly name: "Maya Lopez";
|
|
51
|
+
readonly initials: "ML";
|
|
52
|
+
readonly role: "end_user";
|
|
53
|
+
};
|
|
54
|
+
readonly priya: {
|
|
55
|
+
readonly id: "user-priya";
|
|
56
|
+
readonly slug: "priya";
|
|
57
|
+
readonly name: "Priya Shah";
|
|
58
|
+
readonly initials: "PS";
|
|
59
|
+
readonly role: "end_user";
|
|
60
|
+
};
|
|
61
|
+
readonly sam: {
|
|
62
|
+
readonly id: "user-sam";
|
|
63
|
+
readonly slug: "sam";
|
|
64
|
+
readonly name: "Sam Okafor";
|
|
65
|
+
readonly initials: "SO";
|
|
66
|
+
readonly role: "end_user";
|
|
67
|
+
};
|
|
68
|
+
readonly dana: {
|
|
69
|
+
readonly id: "user-dana";
|
|
70
|
+
readonly slug: "tech";
|
|
71
|
+
readonly name: "Dana Reyes";
|
|
72
|
+
readonly initials: "DR";
|
|
73
|
+
readonly role: "technician";
|
|
74
|
+
};
|
|
75
|
+
readonly alex: {
|
|
76
|
+
readonly id: "user-alex";
|
|
77
|
+
readonly slug: "alex-reed";
|
|
78
|
+
readonly name: "Alex Reed";
|
|
79
|
+
readonly initials: "AR";
|
|
80
|
+
readonly role: "technician";
|
|
81
|
+
};
|
|
82
|
+
readonly roman: {
|
|
83
|
+
readonly id: "user-roman";
|
|
84
|
+
readonly slug: "roman-smith";
|
|
85
|
+
readonly name: "Roman Smith";
|
|
86
|
+
readonly initials: "RS";
|
|
87
|
+
readonly role: "technician";
|
|
88
|
+
};
|
|
89
|
+
readonly sara: {
|
|
90
|
+
readonly id: "user-sara";
|
|
91
|
+
readonly slug: "sara-kim";
|
|
92
|
+
readonly name: "Sara Kim";
|
|
93
|
+
readonly initials: "SK";
|
|
94
|
+
readonly role: "technician";
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
export type DemoPersonKey = keyof typeof DEMO_PEOPLE;
|
|
98
|
+
export type DemoOrganizationKey = keyof typeof DEMO_ORGANIZATIONS;
|
|
99
|
+
export declare const DEMO_DEVICES: {
|
|
100
|
+
readonly frontDesk: {
|
|
101
|
+
readonly id: "device-frontdesk";
|
|
102
|
+
readonly hostname: "FRONTDESK-LT02";
|
|
103
|
+
readonly os: "WINDOWS";
|
|
104
|
+
readonly organization: "harbor";
|
|
105
|
+
};
|
|
106
|
+
readonly mayaAir: {
|
|
107
|
+
readonly id: "device-maya";
|
|
108
|
+
readonly hostname: "MAYA-MBA";
|
|
109
|
+
readonly os: "MAC_OS";
|
|
110
|
+
readonly organization: "northbridge";
|
|
111
|
+
};
|
|
112
|
+
readonly samT14: {
|
|
113
|
+
readonly id: "device-sam";
|
|
114
|
+
readonly hostname: "SAM-T14";
|
|
115
|
+
readonly os: "WINDOWS";
|
|
116
|
+
readonly organization: "northbridge";
|
|
117
|
+
};
|
|
118
|
+
readonly reception: {
|
|
119
|
+
readonly id: "device-reception";
|
|
120
|
+
readonly hostname: "RECEPTION-01";
|
|
121
|
+
readonly os: "WINDOWS";
|
|
122
|
+
readonly organization: "acme";
|
|
123
|
+
};
|
|
124
|
+
readonly leoThinkPad: {
|
|
125
|
+
readonly id: "device-leo";
|
|
126
|
+
readonly hostname: "LEO-THINKPAD";
|
|
127
|
+
readonly os: "WINDOWS";
|
|
128
|
+
readonly organization: "harbor";
|
|
129
|
+
};
|
|
130
|
+
readonly buildServer: {
|
|
131
|
+
readonly id: "device-build";
|
|
132
|
+
readonly hostname: "BUILD-SRV-01";
|
|
133
|
+
readonly os: "LINUX";
|
|
134
|
+
readonly organization: "acme";
|
|
135
|
+
};
|
|
136
|
+
readonly jenSurface: {
|
|
137
|
+
readonly id: "device-jen";
|
|
138
|
+
readonly hostname: "JEN-SURFACE";
|
|
139
|
+
readonly os: "WINDOWS";
|
|
140
|
+
readonly organization: "acme";
|
|
141
|
+
};
|
|
142
|
+
readonly priyaXps: {
|
|
143
|
+
readonly id: "device-priya";
|
|
144
|
+
readonly hostname: "PRIYA-XPS";
|
|
145
|
+
readonly os: "WINDOWS";
|
|
146
|
+
readonly organization: "northbridge";
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* A fixed "now" for relative times, so a screen reads the same on every render
|
|
151
|
+
* and never drifts between the server and the browser.
|
|
152
|
+
*/
|
|
153
|
+
export declare const DEMO_NOW = "2026-10-06T14:05:00.000Z";
|
|
154
|
+
/** An instant `minutes` before {@link DEMO_NOW}. */
|
|
155
|
+
export declare function demoMinutesAgo(minutes: number): string;
|
|
156
|
+
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/components/product-demo/fixtures/shared.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;CAIrB,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUd,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,WAAW,CAAC;AACrD,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,kBAAkB,CAAC;AAElE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASf,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,QAAQ,6BAA6B,CAAC;AAEnD,oDAAoD;AACpD,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEtD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { DeviceRow } from '../../features/devices';
|
|
2
|
+
import type { SelectedPackage, SoftwareScheduleTiming } from '../../features/software';
|
|
3
|
+
import type { DemoCast } from '../cast';
|
|
4
|
+
/**
|
|
5
|
+
* Chrome updated tonight at 11 PM on the Windows devices picked for it (WinGet
|
|
6
|
+
* installs on Windows, so the picker offers the fleet's Windows devices), one
|
|
7
|
+
* of them offline until it reconnects.
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildSoftwareUpdateFixture(cast: DemoCast): {
|
|
10
|
+
readonly action: "UPDATE";
|
|
11
|
+
readonly package: SelectedPackage;
|
|
12
|
+
readonly timing: SoftwareScheduleTiming<string>;
|
|
13
|
+
readonly initialValues: Partial<import("../..").SoftwareActionFormValues<string>> & {
|
|
14
|
+
timeReference: string;
|
|
15
|
+
};
|
|
16
|
+
readonly devices: DeviceRow[];
|
|
17
|
+
readonly selectedIds: Set<string>;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=software-update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"software-update.d.ts","sourceRoot":"","sources":["../../../../src/components/product-demo/fixtures/software-update.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAA2B,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAChH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AA6CxC;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,QAAQ;;;;;;;;;EAUxD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type BoardColumnDef } from '../../features/board';
|
|
2
|
+
import type { DemoCast } from '../cast';
|
|
3
|
+
/**
|
|
4
|
+
* A help desk mid-morning: Fae opened and closed most of it, one ticket waits
|
|
5
|
+
* for a technician's approval, and the technicians hold what needs a person.
|
|
6
|
+
*/
|
|
7
|
+
export declare function buildTicketsBoardFixture(cast: DemoCast): BoardColumnDef[];
|
|
8
|
+
//# sourceMappingURL=tickets-board.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tickets-board.d.ts","sourceRoot":"","sources":["../../../../src/components/product-demo/fixtures/tickets-board.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,cAAc,EAAoB,MAAM,sBAAsB,CAAC;AACrG,OAAO,KAAK,EAAE,QAAQ,EAAc,MAAM,SAAS,CAAC;AAcpD;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,QAAQ,GAAG,cAAc,EAAE,CAgFzE"}
|
|
@@ -0,0 +1,112 @@
|
|
|
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
|
+
"use client";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkII4QMH26cjs = require('../../chunk-II4QMH26.cjs');
|
|
8
|
+
require('../../chunk-KHXZFLIN.cjs');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _chunkG6OHIX5Ccjs = require('../../chunk-G6OHIX5C.cjs');
|
|
12
|
+
require('../../chunk-3LU4UFPS.cjs');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
var _chunkCPA2CKRZcjs = require('../../chunk-CPA2CKRZ.cjs');
|
|
16
|
+
require('../../chunk-3ATAYP36.cjs');
|
|
17
|
+
require('../../chunk-QBJ4SE23.cjs');
|
|
18
|
+
|
|
19
|
+
// src/components/product-demo/product-screen.tsx
|
|
20
|
+
var _react = require('react');
|
|
21
|
+
|
|
22
|
+
// src/components/product-demo/registry.ts
|
|
23
|
+
var PRODUCT_SCREEN_LOADERS = {
|
|
24
|
+
"remote-session": () => Promise.resolve().then(() => _interopRequireWildcard(require("../../remote-session-R6VAFESR.cjs"))),
|
|
25
|
+
"software-update": () => Promise.resolve().then(() => _interopRequireWildcard(require("../../software-update-D4OVSWSG.cjs"))),
|
|
26
|
+
devices: () => Promise.resolve().then(() => _interopRequireWildcard(require("../../devices-YGYJIXQY.cjs"))),
|
|
27
|
+
policies: () => Promise.resolve().then(() => _interopRequireWildcard(require("../../policies-HV4IQCBV.cjs"))),
|
|
28
|
+
"cloud-tenants": () => Promise.resolve().then(() => _interopRequireWildcard(require("../../cloud-tenants-KZUZGD4A.cjs"))),
|
|
29
|
+
"tickets-board": () => Promise.resolve().then(() => _interopRequireWildcard(require("../../tickets-board-BHLPAVNJ.cjs"))),
|
|
30
|
+
logs: () => Promise.resolve().then(() => _interopRequireWildcard(require("../../logs-RVCC2UQW.cjs"))),
|
|
31
|
+
knowledge: () => Promise.resolve().then(() => _interopRequireWildcard(require("../../knowledge-KTCVJIWN.cjs")))
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
// src/components/product-demo/screen-keys.ts
|
|
35
|
+
var PRODUCT_SCREEN_LABELS = {
|
|
36
|
+
"remote-session": "Remote desktop session",
|
|
37
|
+
"software-update": "Update software",
|
|
38
|
+
devices: "Devices",
|
|
39
|
+
policies: "Policies",
|
|
40
|
+
"cloud-tenants": "Cloud tenants",
|
|
41
|
+
"tickets-board": "Ticket board",
|
|
42
|
+
logs: "Logs with a log open",
|
|
43
|
+
knowledge: "Knowledge base"
|
|
44
|
+
};
|
|
45
|
+
var PRODUCT_SCREEN_KEYS = Object.keys(PRODUCT_SCREEN_LABELS);
|
|
46
|
+
function isProductScreenKey(value) {
|
|
47
|
+
return typeof value === "string" && Object.prototype.hasOwnProperty.call(PRODUCT_SCREEN_LABELS, value);
|
|
48
|
+
}
|
|
49
|
+
var PRODUCT_SCREEN_OPTIONS = PRODUCT_SCREEN_KEYS.map(
|
|
50
|
+
(key) => ({ value: key, label: PRODUCT_SCREEN_LABELS[key] })
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
// src/components/product-demo/product-screen.tsx
|
|
54
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
55
|
+
var LAZY_SCREENS = Object.fromEntries(
|
|
56
|
+
PRODUCT_SCREEN_KEYS.map((key) => [key, _react.lazy.call(void 0, PRODUCT_SCREEN_LOADERS[key])])
|
|
57
|
+
);
|
|
58
|
+
var PRODUCT_SCREEN_HEIGHT = 440;
|
|
59
|
+
var PRODUCT_SCREEN_COMPACT_HEIGHT = 300;
|
|
60
|
+
var MIN_LAYOUT_WIDTH = {
|
|
61
|
+
devices: 1120,
|
|
62
|
+
logs: 1120,
|
|
63
|
+
"software-update": 1400
|
|
64
|
+
};
|
|
65
|
+
var COMPACT_LAYOUT_WIDTH = {
|
|
66
|
+
"remote-session": 380
|
|
67
|
+
};
|
|
68
|
+
function ProductScreenSkeleton({
|
|
69
|
+
compact = false,
|
|
70
|
+
height,
|
|
71
|
+
className
|
|
72
|
+
}) {
|
|
73
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
74
|
+
_chunkCPA2CKRZcjs.Skeleton,
|
|
75
|
+
{
|
|
76
|
+
className,
|
|
77
|
+
style: { height: _nullishCoalesce(height, () => ( (compact ? PRODUCT_SCREEN_COMPACT_HEIGHT : PRODUCT_SCREEN_HEIGHT))) }
|
|
78
|
+
}
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
function ProductScreen({ screen, compact = false, label, height, designWidth, ...frame }) {
|
|
82
|
+
const Screen = LAZY_SCREENS[screen];
|
|
83
|
+
const frameHeight = _nullishCoalesce(height, () => ( (compact ? PRODUCT_SCREEN_COMPACT_HEIGHT : PRODUCT_SCREEN_HEIGHT)));
|
|
84
|
+
const minWidth = compact ? void 0 : MIN_LAYOUT_WIDTH[screen];
|
|
85
|
+
const compactWidth = compact ? COMPACT_LAYOUT_WIDTH[screen] : void 0;
|
|
86
|
+
const layoutWidth = _nullishCoalesce(compactWidth, () => ( // A screen with a minimum keeps it whether or not the host names a width (the frame's default is narrower).
|
|
87
|
+
(minWidth !== void 0 ? Math.max(_nullishCoalesce(designWidth, () => ( minWidth)), minWidth) : designWidth)));
|
|
88
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
89
|
+
_chunkG6OHIX5Ccjs.ProductScreenFrame,
|
|
90
|
+
{
|
|
91
|
+
...frame,
|
|
92
|
+
designWidth: layoutWidth,
|
|
93
|
+
...compactWidth !== void 0 && { scaleFrom: 0 },
|
|
94
|
+
label: _nullishCoalesce(label, () => ( PRODUCT_SCREEN_LABELS[screen])),
|
|
95
|
+
height: frameHeight,
|
|
96
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-full w-full" }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Screen, { compact }) })
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
exports.PRODUCT_SCREEN_COMPACT_HEIGHT = PRODUCT_SCREEN_COMPACT_HEIGHT; exports.PRODUCT_SCREEN_HEIGHT = PRODUCT_SCREEN_HEIGHT; exports.PRODUCT_SCREEN_KEYS = PRODUCT_SCREEN_KEYS; exports.PRODUCT_SCREEN_LABELS = PRODUCT_SCREEN_LABELS; exports.PRODUCT_SCREEN_OPTIONS = PRODUCT_SCREEN_OPTIONS; exports.ProductDemoCastProvider = _chunkII4QMH26cjs.ProductDemoCastProvider; exports.ProductScreen = ProductScreen; exports.ProductScreenSkeleton = ProductScreenSkeleton; exports.isProductScreenKey = isProductScreenKey; exports.resolveProductDemoCast = _chunkII4QMH26cjs.resolveProductDemoCast; exports.useProductDemoCast = _chunkII4QMH26cjs.useProductDemoCast;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { ProductDemoCastProvider, resolveProductDemoCast, useProductDemoCast } from './cast';
|
|
2
|
+
export type { DemoCast, DemoOrganization, DemoPerson, ProductDemoCast } from './cast';
|
|
3
|
+
export * from './product-screen';
|
|
4
|
+
export * from './screen-keys';
|
|
5
|
+
export type { ProductScreenComponent, ProductScreenViewProps } from './types';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/product-demo/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAC7F,YAAY,EAAE,QAAQ,EAAE,gBAAgB,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AACtF,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,YAAY,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
import {
|
|
4
|
+
ProductDemoCastProvider,
|
|
5
|
+
resolveProductDemoCast,
|
|
6
|
+
useProductDemoCast
|
|
7
|
+
} from "../../chunk-L2VUINHN.js";
|
|
8
|
+
import "../../chunk-CYUUHFXL.js";
|
|
9
|
+
import {
|
|
10
|
+
ProductScreenFrame
|
|
11
|
+
} from "../../chunk-WMNCVLES.js";
|
|
12
|
+
import "../../chunk-4R2L3DSA.js";
|
|
13
|
+
import {
|
|
14
|
+
Skeleton
|
|
15
|
+
} from "../../chunk-FYEJTF5Y.js";
|
|
16
|
+
import "../../chunk-7RXWKTAP.js";
|
|
17
|
+
import "../../chunk-62GWEYJ5.js";
|
|
18
|
+
|
|
19
|
+
// src/components/product-demo/product-screen.tsx
|
|
20
|
+
import { lazy, Suspense } from "react";
|
|
21
|
+
|
|
22
|
+
// src/components/product-demo/registry.ts
|
|
23
|
+
var PRODUCT_SCREEN_LOADERS = {
|
|
24
|
+
"remote-session": () => import("../../remote-session-GSGZOFDX.js"),
|
|
25
|
+
"software-update": () => import("../../software-update-6PXKRKBT.js"),
|
|
26
|
+
devices: () => import("../../devices-LBMG42K6.js"),
|
|
27
|
+
policies: () => import("../../policies-EWUULFBR.js"),
|
|
28
|
+
"cloud-tenants": () => import("../../cloud-tenants-OGLVVQ7X.js"),
|
|
29
|
+
"tickets-board": () => import("../../tickets-board-PYDNELSK.js"),
|
|
30
|
+
logs: () => import("../../logs-DB5Z7M5Q.js"),
|
|
31
|
+
knowledge: () => import("../../knowledge-H5BIWJVI.js")
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
// src/components/product-demo/screen-keys.ts
|
|
35
|
+
var PRODUCT_SCREEN_LABELS = {
|
|
36
|
+
"remote-session": "Remote desktop session",
|
|
37
|
+
"software-update": "Update software",
|
|
38
|
+
devices: "Devices",
|
|
39
|
+
policies: "Policies",
|
|
40
|
+
"cloud-tenants": "Cloud tenants",
|
|
41
|
+
"tickets-board": "Ticket board",
|
|
42
|
+
logs: "Logs with a log open",
|
|
43
|
+
knowledge: "Knowledge base"
|
|
44
|
+
};
|
|
45
|
+
var PRODUCT_SCREEN_KEYS = Object.keys(PRODUCT_SCREEN_LABELS);
|
|
46
|
+
function isProductScreenKey(value) {
|
|
47
|
+
return typeof value === "string" && Object.prototype.hasOwnProperty.call(PRODUCT_SCREEN_LABELS, value);
|
|
48
|
+
}
|
|
49
|
+
var PRODUCT_SCREEN_OPTIONS = PRODUCT_SCREEN_KEYS.map(
|
|
50
|
+
(key) => ({ value: key, label: PRODUCT_SCREEN_LABELS[key] })
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
// src/components/product-demo/product-screen.tsx
|
|
54
|
+
import { jsx } from "react/jsx-runtime";
|
|
55
|
+
var LAZY_SCREENS = Object.fromEntries(
|
|
56
|
+
PRODUCT_SCREEN_KEYS.map((key) => [key, lazy(PRODUCT_SCREEN_LOADERS[key])])
|
|
57
|
+
);
|
|
58
|
+
var PRODUCT_SCREEN_HEIGHT = 440;
|
|
59
|
+
var PRODUCT_SCREEN_COMPACT_HEIGHT = 300;
|
|
60
|
+
var MIN_LAYOUT_WIDTH = {
|
|
61
|
+
devices: 1120,
|
|
62
|
+
logs: 1120,
|
|
63
|
+
"software-update": 1400
|
|
64
|
+
};
|
|
65
|
+
var COMPACT_LAYOUT_WIDTH = {
|
|
66
|
+
"remote-session": 380
|
|
67
|
+
};
|
|
68
|
+
function ProductScreenSkeleton({
|
|
69
|
+
compact = false,
|
|
70
|
+
height,
|
|
71
|
+
className
|
|
72
|
+
}) {
|
|
73
|
+
return /* @__PURE__ */ jsx(
|
|
74
|
+
Skeleton,
|
|
75
|
+
{
|
|
76
|
+
className,
|
|
77
|
+
style: { height: height ?? (compact ? PRODUCT_SCREEN_COMPACT_HEIGHT : PRODUCT_SCREEN_HEIGHT) }
|
|
78
|
+
}
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
function ProductScreen({ screen, compact = false, label, height, designWidth, ...frame }) {
|
|
82
|
+
const Screen = LAZY_SCREENS[screen];
|
|
83
|
+
const frameHeight = height ?? (compact ? PRODUCT_SCREEN_COMPACT_HEIGHT : PRODUCT_SCREEN_HEIGHT);
|
|
84
|
+
const minWidth = compact ? void 0 : MIN_LAYOUT_WIDTH[screen];
|
|
85
|
+
const compactWidth = compact ? COMPACT_LAYOUT_WIDTH[screen] : void 0;
|
|
86
|
+
const layoutWidth = compactWidth ?? // A screen with a minimum keeps it whether or not the host names a width (the frame's default is narrower).
|
|
87
|
+
(minWidth !== void 0 ? Math.max(designWidth ?? minWidth, minWidth) : designWidth);
|
|
88
|
+
return /* @__PURE__ */ jsx(
|
|
89
|
+
ProductScreenFrame,
|
|
90
|
+
{
|
|
91
|
+
...frame,
|
|
92
|
+
designWidth: layoutWidth,
|
|
93
|
+
...compactWidth !== void 0 && { scaleFrom: 0 },
|
|
94
|
+
label: label ?? PRODUCT_SCREEN_LABELS[screen],
|
|
95
|
+
height: frameHeight,
|
|
96
|
+
children: /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Skeleton, { className: "h-full w-full" }), children: /* @__PURE__ */ jsx(Screen, { compact }) })
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
export {
|
|
101
|
+
PRODUCT_SCREEN_COMPACT_HEIGHT,
|
|
102
|
+
PRODUCT_SCREEN_HEIGHT,
|
|
103
|
+
PRODUCT_SCREEN_KEYS,
|
|
104
|
+
PRODUCT_SCREEN_LABELS,
|
|
105
|
+
PRODUCT_SCREEN_OPTIONS,
|
|
106
|
+
ProductDemoCastProvider,
|
|
107
|
+
ProductScreen,
|
|
108
|
+
ProductScreenSkeleton,
|
|
109
|
+
isProductScreenKey,
|
|
110
|
+
resolveProductDemoCast,
|
|
111
|
+
useProductDemoCast
|
|
112
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type ProductScreenFrameProps } from '../ui/product-screen-frame';
|
|
2
|
+
import { type ProductScreenKey } from './screen-keys';
|
|
3
|
+
/** Frame heights of the two renderings: constants, so a skeleton and the loaded screen are one box. */
|
|
4
|
+
export declare const PRODUCT_SCREEN_HEIGHT = 440;
|
|
5
|
+
export declare const PRODUCT_SCREEN_COMPACT_HEIGHT = 300;
|
|
6
|
+
export interface ProductScreenProps extends Omit<ProductScreenFrameProps, 'children' | 'label' | 'height'> {
|
|
7
|
+
screen: ProductScreenKey;
|
|
8
|
+
/** The narrow rendering in the short frame. */
|
|
9
|
+
compact?: boolean;
|
|
10
|
+
/** Overrides the registry's label. */
|
|
11
|
+
label?: string;
|
|
12
|
+
/** Overrides the frame height of the rendering. */
|
|
13
|
+
height?: number | string;
|
|
14
|
+
}
|
|
15
|
+
/** The box a product screen occupies while it loads. */
|
|
16
|
+
export declare function ProductScreenSkeleton({ compact, height, className, }: Pick<ProductScreenProps, 'compact' | 'height' | 'className'>): import("react").JSX.Element;
|
|
17
|
+
/**
|
|
18
|
+
* One product screen of the registry, in its frame. The screen's code is
|
|
19
|
+
* downloaded when this mounts; until then the frame holds its box.
|
|
20
|
+
*/
|
|
21
|
+
export declare function ProductScreen({ screen, compact, label, height, designWidth, ...frame }: ProductScreenProps): import("react").JSX.Element;
|
|
22
|
+
//# sourceMappingURL=product-screen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-screen.d.ts","sourceRoot":"","sources":["../../../src/components/product-demo/product-screen.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAsB,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAG9F,OAAO,EAA8C,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAQlG,uGAAuG;AACvG,eAAO,MAAM,qBAAqB,MAAM,CAAC;AACzC,eAAO,MAAM,6BAA6B,MAAM,CAAC;AA0BjD,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,uBAAuB,EAAE,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAC;IACxG,MAAM,EAAE,gBAAgB,CAAC;IACzB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mDAAmD;IACnD,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B;AAED,wDAAwD;AACxD,wBAAgB,qBAAqB,CAAC,EACpC,OAAe,EACf,MAAM,EACN,SAAS,GACV,EAAE,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAC,+BAO9D;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,OAAe,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,+BAuBlH"}
|