@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,233 @@
|
|
|
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; } }"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
5
|
+
|
|
6
|
+
// src/components/ui/label.tsx
|
|
7
|
+
var _reactlabel = require('@radix-ui/react-label'); var LabelPrimitive = _interopRequireWildcard(_reactlabel);
|
|
8
|
+
var _classvarianceauthority = require('class-variance-authority');
|
|
9
|
+
var _react = require('react');
|
|
10
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
11
|
+
var labelVariants = _classvarianceauthority.cva.call(void 0, "block text-ods-text-primary text-h6", {
|
|
12
|
+
variants: {
|
|
13
|
+
variant: {
|
|
14
|
+
default: "",
|
|
15
|
+
/** @deprecated alias of `default` — the three small scales converged on text-h6. */
|
|
16
|
+
small: "",
|
|
17
|
+
/** @deprecated alias of `default`. */
|
|
18
|
+
medium: "",
|
|
19
|
+
large: "text-h4"
|
|
20
|
+
},
|
|
21
|
+
spacing: {
|
|
22
|
+
none: "",
|
|
23
|
+
tight: "mb-0.5",
|
|
24
|
+
normal: "mb-2",
|
|
25
|
+
loose: "mb-3"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
defaultVariants: {
|
|
29
|
+
variant: "default",
|
|
30
|
+
spacing: "none"
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
var Label = _react.forwardRef.call(void 0, ({ className, variant, spacing, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LabelPrimitive.Root, { ref, className: _chunk3ATAYP36cjs.cn.call(void 0, labelVariants({ variant, spacing }), className), ...props }));
|
|
34
|
+
Label.displayName = LabelPrimitive.Root.displayName;
|
|
35
|
+
|
|
36
|
+
// src/components/ui/required-mark.tsx
|
|
37
|
+
|
|
38
|
+
function RequiredMark() {
|
|
39
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, className: "text-ods-accent", children: "*" });
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// src/components/ui/field-wrapper.tsx
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
var errorVariantClasses = {
|
|
46
|
+
error: "text-ods-error",
|
|
47
|
+
warning: "text-ods-warning",
|
|
48
|
+
success: "text-ods-success",
|
|
49
|
+
muted: "text-ods-text-secondary"
|
|
50
|
+
};
|
|
51
|
+
var FieldWrapper = _react.forwardRef.call(void 0,
|
|
52
|
+
({
|
|
53
|
+
label,
|
|
54
|
+
htmlFor,
|
|
55
|
+
error,
|
|
56
|
+
errorVariant = "error",
|
|
57
|
+
errorSlot = false,
|
|
58
|
+
labelVariant = "default",
|
|
59
|
+
required = false,
|
|
60
|
+
className,
|
|
61
|
+
children
|
|
62
|
+
}, ref) => {
|
|
63
|
+
const hasChrome = label != null || error != null || errorSlot;
|
|
64
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk3ATAYP36cjs.cn.call(void 0, hasChrome ? "relative flex w-full flex-col" : "contents", className), children: [
|
|
65
|
+
label && // Default is text-h6, NOT text-h4: `Field` (ui/field.tsx) renders its label via
|
|
66
|
+
// `Label variant="small"` = text-h6, and every form that mixes
|
|
67
|
+
// Field-wrapped controls with `label=`-prop controls showed two label
|
|
68
|
+
// sizes side by side — the exact inconsistency the admin editors kept
|
|
69
|
+
// reporting. One label scale, owned here and in Field together.
|
|
70
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Label, { className: "mb-1", htmlFor, variant: labelVariant, children: [
|
|
71
|
+
label,
|
|
72
|
+
required && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RequiredMark, {})
|
|
73
|
+
] }),
|
|
74
|
+
children,
|
|
75
|
+
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
76
|
+
"p",
|
|
77
|
+
{
|
|
78
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
79
|
+
"absolute bottom-0 left-0 right-0 translate-y-full truncate text-h6",
|
|
80
|
+
errorVariantClasses[errorVariant]
|
|
81
|
+
),
|
|
82
|
+
title: error,
|
|
83
|
+
children: error
|
|
84
|
+
}
|
|
85
|
+
)
|
|
86
|
+
] });
|
|
87
|
+
}
|
|
88
|
+
);
|
|
89
|
+
FieldWrapper.displayName = "FieldWrapper";
|
|
90
|
+
|
|
91
|
+
// src/components/ui/input.tsx
|
|
92
|
+
var _lucidereact = require('lucide-react');
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
var invalidBorderClasses = {
|
|
96
|
+
error: "border-ods-error hover:border-ods-error has-[:focus]:border-ods-error",
|
|
97
|
+
warning: "!border-ods-warning hover:!border-ods-warning has-[:focus]:!border-ods-warning"
|
|
98
|
+
};
|
|
99
|
+
var Input = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
100
|
+
const {
|
|
101
|
+
className,
|
|
102
|
+
type,
|
|
103
|
+
invalid = false,
|
|
104
|
+
startAdornment,
|
|
105
|
+
endAdornment,
|
|
106
|
+
label,
|
|
107
|
+
labelVariant,
|
|
108
|
+
error,
|
|
109
|
+
errorVariant = "error",
|
|
110
|
+
loading = false,
|
|
111
|
+
...props
|
|
112
|
+
} = allProps;
|
|
113
|
+
const errorSlot = "error" in allProps;
|
|
114
|
+
const variantIsInvalid = errorVariant === "error" || errorVariant === "warning";
|
|
115
|
+
const isInvalid = invalid || !!error && variantIsInvalid;
|
|
116
|
+
if (type === "range") {
|
|
117
|
+
const rangeInput = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
118
|
+
"input",
|
|
119
|
+
{
|
|
120
|
+
type: "range",
|
|
121
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
122
|
+
"h-1 w-full cursor-pointer appearance-none rounded-full bg-white/30",
|
|
123
|
+
// Webkit (Chrome/Safari) thumb
|
|
124
|
+
"[&::-webkit-slider-thumb]:appearance-none",
|
|
125
|
+
"[&::-webkit-slider-thumb]:h-3 [&::-webkit-slider-thumb]:w-3",
|
|
126
|
+
"[&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-white",
|
|
127
|
+
"[&::-webkit-slider-thumb]:cursor-pointer [&::-webkit-slider-thumb]:shadow-sm",
|
|
128
|
+
// Firefox thumb
|
|
129
|
+
"[&::-moz-range-thumb]:h-3 [&::-moz-range-thumb]:w-3",
|
|
130
|
+
"[&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-white",
|
|
131
|
+
"[&::-moz-range-thumb]:cursor-pointer [&::-moz-range-thumb]:border-0",
|
|
132
|
+
// Firefox track
|
|
133
|
+
"[&::-moz-range-track]:bg-transparent",
|
|
134
|
+
// Disabled
|
|
135
|
+
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
136
|
+
className
|
|
137
|
+
),
|
|
138
|
+
ref,
|
|
139
|
+
...props
|
|
140
|
+
}
|
|
141
|
+
);
|
|
142
|
+
return label ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
143
|
+
FieldWrapper,
|
|
144
|
+
{
|
|
145
|
+
label,
|
|
146
|
+
labelVariant,
|
|
147
|
+
error,
|
|
148
|
+
errorVariant,
|
|
149
|
+
errorSlot,
|
|
150
|
+
children: rangeInput
|
|
151
|
+
}
|
|
152
|
+
) : rangeInput;
|
|
153
|
+
}
|
|
154
|
+
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
155
|
+
"label",
|
|
156
|
+
{
|
|
157
|
+
"data-invalid": isInvalid || void 0,
|
|
158
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
159
|
+
// Layout & spacing
|
|
160
|
+
"flex h-11 w-full cursor-text items-center gap-2 rounded-[6px] border px-3 md:h-12",
|
|
161
|
+
// Focus-within states
|
|
162
|
+
"has-[:focus-visible]:outline-none",
|
|
163
|
+
"group",
|
|
164
|
+
// Animations & touch UX
|
|
165
|
+
"transition-colors duration-200",
|
|
166
|
+
// Theme palette
|
|
167
|
+
"border-ods-border bg-ods-card has-[:focus]:border-ods-accent",
|
|
168
|
+
// Hover & active (not disabled)
|
|
169
|
+
!props.disabled && "hover:border-ods-border-hover hover:bg-ods-bg-hover active:border-ods-border-active active:bg-ods-bg-active",
|
|
170
|
+
// Disabled. The adornments (and any icon inside them) carry their own
|
|
171
|
+
// `text-ods-text-secondary`, so grey them from here — a disabled field
|
|
172
|
+
// must read as one flat colour, not grey text next to a live icon.
|
|
173
|
+
// Scoped to the DIRECT span children (the two adornment wrappers): a
|
|
174
|
+
// descendant rule would also repaint whatever the caller renders INSIDE
|
|
175
|
+
// an adornment, which is passed verbatim precisely so it can own its
|
|
176
|
+
// colour (a `Tag` there went invisible against its own fill).
|
|
177
|
+
props.disabled && "!cursor-not-allowed bg-ods-bg",
|
|
178
|
+
"has-[:disabled]:[&>span]:text-ods-text-disabled has-[:disabled]:[&_svg]:text-ods-text-disabled",
|
|
179
|
+
// Invalid
|
|
180
|
+
isInvalid && invalidBorderClasses[variantIsInvalid ? errorVariant : "error"],
|
|
181
|
+
className
|
|
182
|
+
),
|
|
183
|
+
children: [
|
|
184
|
+
startAdornment && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-shrink-0 text-ods-text-secondary transition-colors duration-200 text-h6 group-has-[:focus]:text-ods-accent group-data-[invalid]:text-ods-error [&_svg]:size-4 md:[&_svg]:size-6", children: startAdornment }),
|
|
185
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
186
|
+
"input",
|
|
187
|
+
{
|
|
188
|
+
type,
|
|
189
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
190
|
+
// Layout
|
|
191
|
+
"min-w-0 flex-1 border-none bg-transparent outline-none",
|
|
192
|
+
// Typography
|
|
193
|
+
"text-h4",
|
|
194
|
+
// Colors
|
|
195
|
+
"text-ods-text-primary placeholder:text-ods-text-secondary",
|
|
196
|
+
// File input adjustments
|
|
197
|
+
"file:border-0 file:bg-transparent",
|
|
198
|
+
// Disabled
|
|
199
|
+
"disabled:cursor-not-allowed disabled:text-ods-text-disabled disabled:placeholder:text-ods-border",
|
|
200
|
+
// Touch
|
|
201
|
+
"touch-manipulation",
|
|
202
|
+
// Autofill override
|
|
203
|
+
"[&:-webkit-autofill]:[-webkit-box-shadow:0_0_0_9999px_transparent_inset] [&:-webkit-autofill]:[-webkit-text-fill-color:var(--color-text-primary)] [&:-webkit-autofill]:[caret-color:var(--color-text-primary)] [&:-webkit-autofill]:[transition:background-color_9999s_ease-in-out_0s]"
|
|
204
|
+
),
|
|
205
|
+
ref,
|
|
206
|
+
...props
|
|
207
|
+
}
|
|
208
|
+
),
|
|
209
|
+
loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "size-4 flex-shrink-0 animate-spin text-ods-text-secondary md:size-6" }),
|
|
210
|
+
!loading && endAdornment && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-shrink-0 text-ods-text-secondary transition-colors duration-200 text-h6 group-has-[:focus]:text-ods-accent group-data-[invalid]:text-ods-error [&_svg]:size-4 md:[&_svg]:size-6", children: endAdornment })
|
|
211
|
+
]
|
|
212
|
+
}
|
|
213
|
+
);
|
|
214
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
215
|
+
FieldWrapper,
|
|
216
|
+
{
|
|
217
|
+
label,
|
|
218
|
+
labelVariant,
|
|
219
|
+
error,
|
|
220
|
+
errorVariant,
|
|
221
|
+
errorSlot,
|
|
222
|
+
children: content
|
|
223
|
+
}
|
|
224
|
+
);
|
|
225
|
+
});
|
|
226
|
+
Input.displayName = "Input";
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
exports.Label = Label; exports.RequiredMark = RequiredMark; exports.FieldWrapper = FieldWrapper; exports.Input = Input;
|
|
@@ -1,26 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
ShellTypeValues,
|
|
4
|
-
getOSLabel,
|
|
5
|
-
getShellLabel,
|
|
6
|
-
getToolLabel
|
|
7
|
-
} from "./chunk-4L6XCMOU.js";
|
|
8
2
|
import {
|
|
9
3
|
useOnboardingState
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
NavLinkAnchorViaRuntime
|
|
13
|
-
} from "./chunk-PO33GZVY.js";
|
|
4
|
+
} from "./chunk-6T3BTD6Q.js";
|
|
14
5
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
ShellTypeValues,
|
|
7
|
+
getOSLabel,
|
|
8
|
+
getShellLabel
|
|
9
|
+
} from "./chunk-ROBQ5TR7.js";
|
|
17
10
|
import {
|
|
18
11
|
InteractiveCard,
|
|
19
12
|
SECTION_HEADING_CLASS,
|
|
20
13
|
StatusBadge,
|
|
21
|
-
accentSentenceMarks
|
|
14
|
+
accentSentenceMarks
|
|
15
|
+
} from "./chunk-TTVOLEUS.js";
|
|
16
|
+
import {
|
|
22
17
|
nameInitials
|
|
23
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IYVFSLWJ.js";
|
|
24
19
|
import {
|
|
25
20
|
next_image_default
|
|
26
21
|
} from "./chunk-FBZMAPWO.js";
|
|
@@ -45,7 +40,7 @@ import {
|
|
|
45
40
|
import {
|
|
46
41
|
Input,
|
|
47
42
|
Label
|
|
48
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-CMGFZHCN.js";
|
|
49
44
|
import {
|
|
50
45
|
Button
|
|
51
46
|
} from "./chunk-YDPKUAP4.js";
|
|
@@ -120,60 +115,8 @@ var CveLink = ({ cveId, className }) => {
|
|
|
120
115
|
};
|
|
121
116
|
CveLink.displayName = "CveLink";
|
|
122
117
|
|
|
123
|
-
// src/components/platform/ToolBadge.tsx
|
|
124
|
-
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
125
|
-
var ToolBadge = ({
|
|
126
|
-
toolType,
|
|
127
|
-
label,
|
|
128
|
-
icon,
|
|
129
|
-
variant = "inline",
|
|
130
|
-
href,
|
|
131
|
-
targetPlatform,
|
|
132
|
-
className,
|
|
133
|
-
iconClassName
|
|
134
|
-
}) => {
|
|
135
|
-
const text = label ?? (toolType ? getToolLabel(toolType) : "");
|
|
136
|
-
const mark = icon ?? (toolType ? /* @__PURE__ */ jsx4(ToolIcon, { toolType, className: iconClassName, size: 16 }) : null);
|
|
137
|
-
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ jsx4(
|
|
138
|
-
NavLinkAnchorViaRuntime,
|
|
139
|
-
{
|
|
140
|
-
href,
|
|
141
|
-
targetPlatform,
|
|
142
|
-
title: text || void 0,
|
|
143
|
-
className: linkClassName,
|
|
144
|
-
children: node
|
|
145
|
-
}
|
|
146
|
-
) : href ? /* @__PURE__ */ jsx4("a", { href, target: "_blank", rel: "noopener noreferrer", title: text || void 0, className: linkClassName, children: node }) : node;
|
|
147
|
-
if (variant === "chip") {
|
|
148
|
-
return linked(
|
|
149
|
-
/* @__PURE__ */ jsxs4(
|
|
150
|
-
"span",
|
|
151
|
-
{
|
|
152
|
-
className: cn(
|
|
153
|
-
"inline-flex h-7 items-center gap-1.5 rounded-md border border-ods-border px-2 text-ods-text-secondary text-h6",
|
|
154
|
-
href && "transition-colors hover:border-ods-border-hover hover:text-ods-text-primary",
|
|
155
|
-
className
|
|
156
|
-
),
|
|
157
|
-
children: [
|
|
158
|
-
mark && /* @__PURE__ */ jsx4("span", { className: "flex h-3.5 w-3.5 shrink-0 items-center justify-center [&_img]:h-full [&_img]:w-full [&_img]:object-contain [&_svg]:h-full [&_svg]:w-full", children: mark }),
|
|
159
|
-
text && /* @__PURE__ */ jsx4("span", { className: "whitespace-nowrap", children: text })
|
|
160
|
-
]
|
|
161
|
-
}
|
|
162
|
-
),
|
|
163
|
-
"inline-flex rounded-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus"
|
|
164
|
-
);
|
|
165
|
-
}
|
|
166
|
-
return linked(
|
|
167
|
-
/* @__PURE__ */ jsxs4("div", { className: cn("flex items-center gap-1 text-ods-text-secondary", className), children: [
|
|
168
|
-
mark,
|
|
169
|
-
/* @__PURE__ */ jsx4("span", { className: "text-ods-text-primary text-h4", children: text })
|
|
170
|
-
] }),
|
|
171
|
-
"inline-flex rounded-sm hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus"
|
|
172
|
-
);
|
|
173
|
-
};
|
|
174
|
-
|
|
175
118
|
// src/components/platform/ShellTypeBadge.tsx
|
|
176
|
-
import { jsx as
|
|
119
|
+
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
177
120
|
var shellIconMap = {
|
|
178
121
|
[ShellTypeValues.POWERSHELL]: {
|
|
179
122
|
icon: PowershellLogoGreyIcon,
|
|
@@ -213,15 +156,15 @@ var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
|
213
156
|
const label = getShellLabel(normalizedType);
|
|
214
157
|
const { icon: IconComponent, props: iconProps } = shellIconMap[normalizedType] ?? defaultIconConfig;
|
|
215
158
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
216
|
-
return /* @__PURE__ */
|
|
217
|
-
/* @__PURE__ */
|
|
218
|
-
/* @__PURE__ */
|
|
159
|
+
return /* @__PURE__ */ jsxs4("div", { className: cn("flex items-center gap-1", className), children: [
|
|
160
|
+
/* @__PURE__ */ jsx4(IconComponent, { size: 16, className: cn(defaultIconClassName, iconClassName) }),
|
|
161
|
+
/* @__PURE__ */ jsx4("span", { className: "text-ods-text-primary text-h4", children: label })
|
|
219
162
|
] });
|
|
220
163
|
};
|
|
221
164
|
ShellTypeBadge.displayName = "ShellTypeBadge";
|
|
222
165
|
|
|
223
166
|
// src/components/platform/ScriptInfoSection.tsx
|
|
224
|
-
import { jsx as
|
|
167
|
+
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
225
168
|
function formatSupportedPlatforms(platforms) {
|
|
226
169
|
if (!platforms || platforms.length === 0) {
|
|
227
170
|
return "All Platforms";
|
|
@@ -229,11 +172,11 @@ function formatSupportedPlatforms(platforms) {
|
|
|
229
172
|
return platforms.map((platform) => getOSLabel(platform)).join(", ");
|
|
230
173
|
}
|
|
231
174
|
function InfoCell({ label, value, avatar, className }) {
|
|
232
|
-
return /* @__PURE__ */
|
|
233
|
-
avatar && /* @__PURE__ */
|
|
234
|
-
/* @__PURE__ */
|
|
235
|
-
/* @__PURE__ */
|
|
236
|
-
/* @__PURE__ */
|
|
175
|
+
return /* @__PURE__ */ jsxs5("div", { className: cn("flex min-w-0 items-center gap-2", className), children: [
|
|
176
|
+
avatar && /* @__PURE__ */ jsx5("div", { className: "relative size-8 shrink-0 overflow-hidden rounded-full border border-ods-border bg-ods-bg", children: avatar.photoUrl ? /* @__PURE__ */ jsx5(next_image_default, { src: avatar.photoUrl, alt: avatar.name, className: "object-cover", fill: true, sizes: "32px", unoptimized: true }) : /* @__PURE__ */ jsx5("div", { className: "flex size-full items-center justify-center text-ods-text-secondary text-h6", children: avatar.initials || nameInitials(avatar.name) }) }),
|
|
177
|
+
/* @__PURE__ */ jsxs5("div", { className: "flex min-w-0 flex-col", children: [
|
|
178
|
+
/* @__PURE__ */ jsx5("span", { className: "truncate text-ods-text-primary text-h4", title: value, children: value }),
|
|
179
|
+
/* @__PURE__ */ jsx5("span", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
237
180
|
] })
|
|
238
181
|
] });
|
|
239
182
|
}
|
|
@@ -248,20 +191,20 @@ var ScriptInfoSection = ({
|
|
|
248
191
|
}) => {
|
|
249
192
|
const shellLabel = getShellLabel(shellType);
|
|
250
193
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
251
|
-
return /* @__PURE__ */
|
|
252
|
-
/* @__PURE__ */
|
|
253
|
-
/* @__PURE__ */
|
|
254
|
-
subheadline && /* @__PURE__ */
|
|
194
|
+
return /* @__PURE__ */ jsxs5("div", { className: cn("overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
|
|
195
|
+
/* @__PURE__ */ jsx5("div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ jsxs5("div", { className: "flex flex-col gap-1", children: [
|
|
196
|
+
/* @__PURE__ */ jsx5("h3", { className: "text-ods-text-primary text-h4", children: headline }),
|
|
197
|
+
subheadline && /* @__PURE__ */ jsx5("p", { className: "break-words text-ods-text-secondary text-h6", children: subheadline })
|
|
255
198
|
] }) }),
|
|
256
|
-
/* @__PURE__ */
|
|
257
|
-
/* @__PURE__ */
|
|
258
|
-
/* @__PURE__ */
|
|
259
|
-
/* @__PURE__ */
|
|
260
|
-
author && /* @__PURE__ */
|
|
199
|
+
/* @__PURE__ */ jsxs5("div", { className: "grid grid-cols-2 gap-4 border-b border-ods-border px-4 py-4 content-lg:grid-cols-4 content-lg:border-b-0", children: [
|
|
200
|
+
/* @__PURE__ */ jsx5(InfoCell, { label: "Shell Type", value: shellLabel }),
|
|
201
|
+
/* @__PURE__ */ jsx5(InfoCell, { label: "Supported Platforms", value: platformsLabel }),
|
|
202
|
+
/* @__PURE__ */ jsx5(InfoCell, { label: "Category", value: category, className: "hidden content-lg:flex" }),
|
|
203
|
+
author && /* @__PURE__ */ jsx5(InfoCell, { label: "Added by", value: author.name, avatar: author, className: "hidden content-lg:flex" })
|
|
261
204
|
] }),
|
|
262
|
-
/* @__PURE__ */
|
|
263
|
-
/* @__PURE__ */
|
|
264
|
-
author && /* @__PURE__ */
|
|
205
|
+
/* @__PURE__ */ jsxs5("div", { className: "grid grid-cols-2 gap-4 px-4 py-4 content-lg:hidden", children: [
|
|
206
|
+
/* @__PURE__ */ jsx5(InfoCell, { label: "Category", value: category }),
|
|
207
|
+
author && /* @__PURE__ */ jsx5(InfoCell, { label: "Added by", value: author.name, avatar: author })
|
|
265
208
|
] })
|
|
266
209
|
] });
|
|
267
210
|
};
|
|
@@ -269,7 +212,7 @@ ScriptInfoSection.displayName = "ScriptInfoSection";
|
|
|
269
212
|
|
|
270
213
|
// src/components/platform/ScriptArguments.tsx
|
|
271
214
|
import { Trash2 } from "lucide-react";
|
|
272
|
-
import { jsx as
|
|
215
|
+
import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
273
216
|
var SECRET_MASK = "**********";
|
|
274
217
|
var STORED_SECRET_KEY_HINT = "A stored secret can't be renamed \u2014 delete it and add a new one";
|
|
275
218
|
var ScriptArguments = ({
|
|
@@ -310,14 +253,14 @@ var ScriptArguments = ({
|
|
|
310
253
|
onArgumentsChange([...args, newArg]);
|
|
311
254
|
};
|
|
312
255
|
const isFirstRow = (index) => index === 0;
|
|
313
|
-
return /* @__PURE__ */
|
|
256
|
+
return /* @__PURE__ */ jsxs6("div", { className: cn("flex flex-col gap-2", className), children: [
|
|
314
257
|
args.map((arg, index) => {
|
|
315
258
|
const isStoredSecret = Boolean(arg.secret && arg.hasStoredValue);
|
|
316
259
|
const showsMask = isStoredSecret && !arg.value;
|
|
317
|
-
return /* @__PURE__ */
|
|
318
|
-
/* @__PURE__ */
|
|
319
|
-
isFirstRow(index) && /* @__PURE__ */
|
|
320
|
-
/* @__PURE__ */
|
|
260
|
+
return /* @__PURE__ */ jsxs6("div", { className: "flex w-full items-end gap-2", children: [
|
|
261
|
+
/* @__PURE__ */ jsxs6("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
262
|
+
isFirstRow(index) && /* @__PURE__ */ jsx6(Label, { spacing: "tight", children: titleLabel }),
|
|
263
|
+
/* @__PURE__ */ jsx6(
|
|
321
264
|
Input,
|
|
322
265
|
{
|
|
323
266
|
value: arg.key,
|
|
@@ -326,12 +269,12 @@ var ScriptArguments = ({
|
|
|
326
269
|
disabled,
|
|
327
270
|
readOnly: isStoredSecret,
|
|
328
271
|
title: isStoredSecret ? STORED_SECRET_KEY_HINT : void 0,
|
|
329
|
-
startAdornment: arg.secret ? /* @__PURE__ */
|
|
272
|
+
startAdornment: arg.secret ? /* @__PURE__ */ jsx6(LockIcon, { role: "img", "aria-label": "Secret" }) : void 0
|
|
330
273
|
}
|
|
331
274
|
)
|
|
332
275
|
] }),
|
|
333
|
-
/* @__PURE__ */
|
|
334
|
-
/* @__PURE__ */
|
|
276
|
+
/* @__PURE__ */ jsxs6("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
277
|
+
/* @__PURE__ */ jsx6("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: /* @__PURE__ */ jsx6(
|
|
335
278
|
Input,
|
|
336
279
|
{
|
|
337
280
|
type: arg.secret ? "password" : void 0,
|
|
@@ -347,7 +290,7 @@ var ScriptArguments = ({
|
|
|
347
290
|
)
|
|
348
291
|
}
|
|
349
292
|
) }),
|
|
350
|
-
/* @__PURE__ */
|
|
293
|
+
/* @__PURE__ */ jsx6(
|
|
351
294
|
Button,
|
|
352
295
|
{
|
|
353
296
|
type: "button",
|
|
@@ -356,14 +299,14 @@ var ScriptArguments = ({
|
|
|
356
299
|
onClick: () => handleDelete(arg.id),
|
|
357
300
|
disabled,
|
|
358
301
|
"aria-label": "Delete argument",
|
|
359
|
-
leftIcon: /* @__PURE__ */
|
|
302
|
+
leftIcon: /* @__PURE__ */ jsx6(Trash2, { className: "size-4 content-md:size-6", color: "var(--color-error)" })
|
|
360
303
|
}
|
|
361
304
|
)
|
|
362
305
|
] })
|
|
363
306
|
] }, arg.id);
|
|
364
307
|
}),
|
|
365
|
-
/* @__PURE__ */
|
|
366
|
-
/* @__PURE__ */
|
|
308
|
+
/* @__PURE__ */ jsxs6("div", { className: "flex flex-wrap justify-start gap-[var(--spacing-system-xs)]", children: [
|
|
309
|
+
/* @__PURE__ */ jsx6(
|
|
367
310
|
Button,
|
|
368
311
|
{
|
|
369
312
|
type: "button",
|
|
@@ -372,11 +315,11 @@ var ScriptArguments = ({
|
|
|
372
315
|
onClick: () => handleAdd(),
|
|
373
316
|
disabled,
|
|
374
317
|
className: "self-start",
|
|
375
|
-
leftIcon: /* @__PURE__ */
|
|
318
|
+
leftIcon: /* @__PURE__ */ jsx6(PlusCircleIcon, { className: "text-ods-text-secondary" }),
|
|
376
319
|
children: addButtonLabel
|
|
377
320
|
}
|
|
378
321
|
),
|
|
379
|
-
addSecretButtonLabel && /* @__PURE__ */
|
|
322
|
+
addSecretButtonLabel && /* @__PURE__ */ jsx6(
|
|
380
323
|
Button,
|
|
381
324
|
{
|
|
382
325
|
type: "button",
|
|
@@ -385,7 +328,7 @@ var ScriptArguments = ({
|
|
|
385
328
|
onClick: () => handleAdd(true),
|
|
386
329
|
disabled,
|
|
387
330
|
className: "self-start",
|
|
388
|
-
leftIcon: /* @__PURE__ */
|
|
331
|
+
leftIcon: /* @__PURE__ */ jsx6(LockIcon, { className: "text-ods-text-secondary" }),
|
|
389
332
|
children: addSecretButtonLabel
|
|
390
333
|
}
|
|
391
334
|
)
|
|
@@ -396,7 +339,7 @@ ScriptArguments.displayName = "ScriptArguments";
|
|
|
396
339
|
|
|
397
340
|
// src/components/shared/onboarding/onboarding-step-card.tsx
|
|
398
341
|
import React from "react";
|
|
399
|
-
import { Fragment, jsx as
|
|
342
|
+
import { Fragment, jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
400
343
|
function OnboardingStepCard({
|
|
401
344
|
step,
|
|
402
345
|
isCompleted,
|
|
@@ -420,7 +363,7 @@ function OnboardingStepCard({
|
|
|
420
363
|
e.stopPropagation();
|
|
421
364
|
onSkip();
|
|
422
365
|
};
|
|
423
|
-
return /* @__PURE__ */
|
|
366
|
+
return /* @__PURE__ */ jsxs7(
|
|
424
367
|
InteractiveCard,
|
|
425
368
|
{
|
|
426
369
|
clickable: false,
|
|
@@ -434,21 +377,21 @@ function OnboardingStepCard({
|
|
|
434
377
|
className
|
|
435
378
|
),
|
|
436
379
|
children: [
|
|
437
|
-
/* @__PURE__ */
|
|
438
|
-
/* @__PURE__ */
|
|
439
|
-
/* @__PURE__ */
|
|
380
|
+
/* @__PURE__ */ jsxs7("div", { className: "flex w-full min-w-0 flex-1 flex-col justify-center gap-1 md:w-auto", children: [
|
|
381
|
+
/* @__PURE__ */ jsx7("h3", { className: "truncate text-ods-text-primary text-h4", title: step.title, children: step.title }),
|
|
382
|
+
/* @__PURE__ */ jsx7("p", { className: "h-[20px] truncate text-ods-text-secondary text-h6", title: step.description, children: step.description })
|
|
440
383
|
] }),
|
|
441
|
-
/* @__PURE__ */
|
|
384
|
+
/* @__PURE__ */ jsx7(
|
|
442
385
|
"div",
|
|
443
386
|
{
|
|
444
387
|
className: "flex w-full shrink-0 items-center justify-start gap-2 md:w-auto md:justify-end",
|
|
445
388
|
onClick: (e) => e.stopPropagation(),
|
|
446
|
-
children: isCheckingCompletion ? /* @__PURE__ */
|
|
447
|
-
/* @__PURE__ */
|
|
448
|
-
/* @__PURE__ */
|
|
449
|
-
] }) : isCompleted ? /* @__PURE__ */
|
|
450
|
-
/* @__PURE__ */
|
|
451
|
-
/* @__PURE__ */
|
|
389
|
+
children: isCheckingCompletion ? /* @__PURE__ */ jsxs7(Fragment, { children: [
|
|
390
|
+
/* @__PURE__ */ jsx7("div", { className: "h-[32px] w-[100px] animate-pulse rounded-[6px] bg-ods-border" }),
|
|
391
|
+
/* @__PURE__ */ jsx7("div", { className: "h-[32px] w-[120px] animate-pulse rounded-[6px] bg-ods-border" })
|
|
392
|
+
] }) : isCompleted ? /* @__PURE__ */ jsxs7(Fragment, { children: [
|
|
393
|
+
/* @__PURE__ */ jsx7(StatusBadge, { text: "COMPLETED", variant: "card", colorScheme: "success" }),
|
|
394
|
+
/* @__PURE__ */ jsx7(
|
|
452
395
|
Button,
|
|
453
396
|
{
|
|
454
397
|
variant: "outline",
|
|
@@ -458,9 +401,9 @@ function OnboardingStepCard({
|
|
|
458
401
|
children: step.completedText
|
|
459
402
|
}
|
|
460
403
|
)
|
|
461
|
-
] }) : isSkipped ? /* @__PURE__ */
|
|
462
|
-
/* @__PURE__ */
|
|
463
|
-
/* @__PURE__ */
|
|
404
|
+
] }) : isSkipped ? /* @__PURE__ */ jsx7(Fragment, { children: /* @__PURE__ */ jsx7(StatusBadge, { text: "SKIPPED", variant: "card", colorScheme: "default" }) }) : /* @__PURE__ */ jsxs7(Fragment, { children: [
|
|
405
|
+
/* @__PURE__ */ jsx7(Button, { variant: "outline", onClick: handleSkip, children: "Skip Step" }),
|
|
406
|
+
/* @__PURE__ */ jsx7(Button, { variant: "accent", onClick: handleAction, disabled: isProcessing, leftIcon: step.actionIcon("black"), children: step.actionText })
|
|
464
407
|
] })
|
|
465
408
|
}
|
|
466
409
|
)
|
|
@@ -471,7 +414,7 @@ function OnboardingStepCard({
|
|
|
471
414
|
|
|
472
415
|
// src/components/shared/onboarding/onboarding-walkthrough.tsx
|
|
473
416
|
import React2, { useRef, useCallback } from "react";
|
|
474
|
-
import { Fragment as Fragment2, jsx as
|
|
417
|
+
import { Fragment as Fragment2, jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
475
418
|
function OnboardingWalkthrough({
|
|
476
419
|
steps,
|
|
477
420
|
title = "Get Started",
|
|
@@ -570,15 +513,15 @@ function OnboardingWalkthrough({
|
|
|
570
513
|
onDismiss?.();
|
|
571
514
|
};
|
|
572
515
|
if (state.dismissed) {
|
|
573
|
-
return renderDismissed ? /* @__PURE__ */
|
|
516
|
+
return renderDismissed ? /* @__PURE__ */ jsx8(Fragment2, { children: renderDismissed(resetOnboarding) }) : null;
|
|
574
517
|
}
|
|
575
518
|
const isAllComplete = allStepsComplete(steps);
|
|
576
|
-
return /* @__PURE__ */
|
|
577
|
-
/* @__PURE__ */
|
|
578
|
-
/* @__PURE__ */
|
|
579
|
-
isLoadingCompletion ? /* @__PURE__ */
|
|
519
|
+
return /* @__PURE__ */ jsxs8("div", { className: cn("w-full space-y-4", className), children: [
|
|
520
|
+
/* @__PURE__ */ jsxs8("div", { className: "flex flex-col items-start justify-between gap-3 md:flex-row md:items-center md:gap-0", children: [
|
|
521
|
+
/* @__PURE__ */ jsx8("h2", { className: SECTION_HEADING_CLASS, children: accentSentenceMarks(title) }),
|
|
522
|
+
isLoadingCompletion ? /* @__PURE__ */ jsx8("div", { className: "h-[48px] w-full animate-pulse rounded-[6px] bg-ods-border md:w-[160px]" }) : isAllComplete ? /* @__PURE__ */ jsx8(Button, { variant: "accent", onClick: handleDismiss, className: "w-full md:w-auto", children: "Close Onboarding" }) : /* @__PURE__ */ jsx8(Button, { variant: "outline", onClick: handleDismiss, className: "w-full md:w-auto", children: "Skip Onboarding" })
|
|
580
523
|
] }),
|
|
581
|
-
/* @__PURE__ */
|
|
524
|
+
/* @__PURE__ */ jsx8("div", { className: cn(spacing), children: steps.map((step) => /* @__PURE__ */ jsx8(
|
|
582
525
|
OnboardingStepCard,
|
|
583
526
|
{
|
|
584
527
|
step,
|
|
@@ -597,7 +540,6 @@ export {
|
|
|
597
540
|
SoftwareInfo,
|
|
598
541
|
SoftwareSourceBadge,
|
|
599
542
|
CveLink,
|
|
600
|
-
ToolBadge,
|
|
601
543
|
ShellTypeBadge,
|
|
602
544
|
ScriptInfoSection,
|
|
603
545
|
ScriptArguments,
|