@flamingo-stack/openframe-frontend-core 0.0.711 → 0.0.712
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-2NASBO7O.js +1137 -0
- package/dist/{chunk-RQRX4YC3.cjs → chunk-2RKFMUNW.cjs} +46 -46
- package/dist/chunk-2Y7QZAB2.cjs +158 -0
- package/dist/chunk-34I6XI3N.js +136 -0
- package/dist/chunk-3K5ZLZE7.js +292 -0
- package/dist/chunk-3LU4UFPS.cjs +14 -0
- package/dist/{chunk-3UNL26CD.cjs → chunk-3RKBJT6K.cjs} +8 -6
- package/dist/{chunk-6GLQLTJI.js → chunk-3SEEGNRE.js} +35 -27
- package/dist/{chunk-FEMAJES4.cjs → chunk-3UAJLO5U.cjs} +41 -39
- package/dist/chunk-4HJRHEXD.cjs +1612 -0
- package/dist/{chunk-JPG7OHEG.js → chunk-4QFWGLZO.js} +1 -1
- package/dist/chunk-4R2L3DSA.js +14 -0
- package/dist/{chunk-2JTGK64G.js → chunk-4UYKNOZG.js} +12 -10
- package/dist/{chunk-TKZXHVBG.js → chunk-5SDELRH3.js} +5 -5
- package/dist/{chunk-Q6B35Y7O.js → chunk-5Y72YQEK.js} +22 -113
- package/dist/{chunk-KUC673HM.js → chunk-6T3BTD6Q.js} +204 -982
- package/dist/{chunk-F57ECE2I.js → chunk-6YPTUHM7.js} +4 -4
- package/dist/{chunk-WJUIXU6Y.js → chunk-7HNYYNKE.js} +28 -22
- package/dist/{chunk-P6G3JZNC.cjs → chunk-7NSU5EQD.cjs} +57 -148
- package/dist/chunk-AAYNCJMW.cjs +48 -0
- package/dist/{chunk-FXJ3WWUB.js → chunk-ADBE7QF3.js} +5 -252
- package/dist/chunk-AECTRMGQ.cjs +334 -0
- package/dist/chunk-AGVXKD4K.js +334 -0
- package/dist/chunk-AL2GUHAJ.cjs +18 -0
- package/dist/{chunk-WMX26HB5.js → chunk-APJZBDQN.js} +12 -12
- package/dist/chunk-AUMKE74M.cjs +16 -0
- package/dist/chunk-B4NCVYEQ.cjs +292 -0
- package/dist/{chunk-XWEBHS7O.cjs → chunk-BXSRTBLU.cjs} +82 -54
- package/dist/chunk-CMGFZHCN.js +233 -0
- package/dist/chunk-CMZ3QTFQ.js +1207 -0
- package/dist/chunk-CPA2CKRZ.cjs +125 -0
- package/dist/{chunk-G47AP6LX.cjs → chunk-CSCJU6YC.cjs} +35 -33
- package/dist/chunk-CYUUHFXL.js +41 -0
- package/dist/chunk-DC4RTYWK.cjs +1122 -0
- package/dist/{chunk-NF7GNGYG.js → chunk-DDWFCWOE.js} +5 -7
- package/dist/{chunk-K4PTDK34.js → chunk-EFNKS5W4.js} +322 -428
- package/dist/{chunk-QA6TROME.cjs → chunk-EOKSKJSS.cjs} +25 -83
- package/dist/{chunk-6NTPY5QA.cjs → chunk-ETYLOZOB.cjs} +978 -2413
- package/dist/chunk-F5BPGWGT.cjs +931 -0
- package/dist/{chunk-5HB7FLCV.js → chunk-FCAVAEHF.js} +8277 -9990
- package/dist/chunk-FFT56TYB.cjs +401 -0
- package/dist/chunk-FYEJTF5Y.js +125 -0
- package/dist/chunk-G3GRYDMS.js +16 -0
- package/dist/{chunk-VWFZRMQR.js → chunk-G3OMVCID.js} +13 -7
- package/dist/chunk-G6OHIX5C.cjs +100 -0
- package/dist/{chunk-UDFRUKLC.cjs → chunk-GEDY7HQI.cjs} +2 -2
- package/dist/chunk-GQ7JJUIT.cjs +1207 -0
- package/dist/chunk-H3PKYE4N.js +18 -0
- package/dist/{chunk-AGDVEUVL.js → chunk-H5R7U2D2.js} +206 -5
- package/dist/{chunk-7AM6C6XH.cjs → chunk-HETQETPV.cjs} +9641 -9678
- package/dist/{chunk-Y2GSOUCS.cjs → chunk-HWVUR735.cjs} +2 -2
- package/dist/chunk-II4QMH26.cjs +35 -0
- package/dist/chunk-ILNN6QRW.js +1612 -0
- package/dist/chunk-IYVFSLWJ.js +931 -0
- package/dist/{chunk-C4HRRB3V.cjs → chunk-JGCFRTND.cjs} +23 -17
- package/dist/chunk-JHQ334WS.js +655 -0
- package/dist/{chunk-WCVZCGK5.cjs → chunk-JO5TLJPM.cjs} +129 -907
- package/dist/{chunk-PRX7HVLE.cjs → chunk-JVCAK4W3.cjs} +210 -9
- package/dist/chunk-KBJJQFYU.js +1122 -0
- package/dist/chunk-KEKCQENI.js +48 -0
- package/dist/chunk-KHXZFLIN.cjs +41 -0
- package/dist/chunk-KT3U3ZRP.cjs +1137 -0
- package/dist/chunk-L2VUINHN.js +35 -0
- package/dist/{chunk-FYOKS5RI.cjs → chunk-L6ZQGWCX.cjs} +4521 -6234
- package/dist/{chunk-PLYEKV3N.cjs → chunk-MA4Q5RBP.cjs} +6 -6
- package/dist/{chunk-VMMHJFHG.js → chunk-N67XG5GY.js} +10 -8
- package/dist/chunk-NPAQSMRY.js +2087 -0
- package/dist/{chunk-IFWLJ66M.js → chunk-NQWJAOHO.js} +6 -4
- package/dist/{chunk-6K7QZDA6.cjs → chunk-OBZJICEA.cjs} +8 -8
- package/dist/{chunk-62KNLDXK.js → chunk-OPYODNV2.js} +3 -3
- package/dist/chunk-P3JMAMHP.js +401 -0
- package/dist/chunk-PPXR22YC.cjs +2087 -0
- package/dist/chunk-PSVSEN4J.cjs +655 -0
- package/dist/{chunk-EQWD4IJE.js → chunk-RBYVFPER.js} +74 -46
- package/dist/{chunk-SMAAV3HL.js → chunk-ROBQ5TR7.js} +10541 -10578
- package/dist/{chunk-K6Y5NX6L.cjs → chunk-T3CLXR43.cjs} +114 -220
- package/dist/{chunk-FI6GMDO7.js → chunk-TTVOLEUS.js} +3605 -5040
- package/dist/{chunk-LM7TXMLU.cjs → chunk-ULWVKHSI.cjs} +8 -255
- package/dist/{chunk-EX6GGCAC.cjs → chunk-UT3ODMBU.cjs} +15 -15
- package/dist/chunk-WANCBTUE.js +71 -0
- package/dist/{chunk-BIZNSF3U.cjs → chunk-WBNAEYTQ.cjs} +2 -51
- package/dist/chunk-WFPCCBOM.cjs +71 -0
- package/dist/chunk-WI6FHKD7.js +158 -0
- package/dist/chunk-WMNCVLES.js +100 -0
- package/dist/{chunk-UT4YHQZW.js → chunk-WSDT7LYL.js} +0 -49
- package/dist/chunk-WVOTC7HW.cjs +136 -0
- package/dist/{chunk-6AMIRXKM.cjs → chunk-WWJG4GVG.cjs} +93 -87
- package/dist/chunk-XXBLN4BP.cjs +233 -0
- package/dist/{chunk-4IBPRIQH.js → chunk-YBQQNDC7.js} +1 -1
- package/dist/{chunk-QGZPZ3RL.js → chunk-YBS5QGON.js} +70 -128
- package/dist/{chunk-CDM7OSFB.cjs → chunk-Z5SWJW5Q.cjs} +125 -117
- package/dist/{chunk-YD4LJZV4.cjs → chunk-ZX7SCPLO.cjs} +6 -8
- package/dist/cloud-tenants-KZUZGD4A.cjs +117 -0
- package/dist/cloud-tenants-OGLVVQ7X.js +117 -0
- package/dist/components/case-studies/index.cjs +45 -29
- package/dist/components/case-studies/index.js +32 -16
- package/dist/components/chat/ask-prompts.d.ts +64 -0
- package/dist/components/chat/ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/case-study-card.d.ts +6 -3
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +27 -8
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +57 -38
- package/dist/components/chat/quick-action-chip.d.ts +7 -3
- package/dist/components/chat/quick-action-chip.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +29 -13
- package/dist/components/contact/index.js +28 -12
- package/dist/components/docs/index.cjs +33 -16
- package/dist/components/docs/index.js +33 -16
- package/dist/components/docs/use-scroll-spy.d.ts +23 -1
- package/dist/components/docs/use-scroll-spy.d.ts.map +1 -1
- package/dist/components/embeds/index.cjs +29 -13
- package/dist/components/embeds/index.js +28 -12
- package/dist/components/faq/faq-section.d.ts +8 -1
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +30 -14
- package/dist/components/faq/index.js +29 -13
- package/dist/components/features/array-entry-manager.d.ts +5 -1
- package/dist/components/features/array-entry-manager.d.ts.map +1 -1
- package/dist/components/features/board/board.d.ts +2 -0
- package/dist/components/features/board/board.d.ts.map +1 -1
- package/dist/components/features/board/ticket-card.d.ts.map +1 -1
- package/dist/components/features/board/touch-board.d.ts +1 -1
- package/dist/components/features/board/touch-board.d.ts.map +1 -1
- package/dist/components/features/board/types.d.ts +3 -0
- package/dist/components/features/board/types.d.ts.map +1 -1
- package/dist/components/features/board/use-board-collapse.d.ts +6 -1
- package/dist/components/features/board/use-board-collapse.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.d.ts +94 -0
- package/dist/components/features/capability-explorer.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/index.d.ts +14 -0
- package/dist/components/features/cloud-tenants/index.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-access-cell.d.ts +9 -0
- package/dist/components/features/cloud-tenants/tenant-access-cell.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-cell.d.ts +8 -0
- package/dist/components/features/cloud-tenants/tenant-cell.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-customer-cell.d.ts +9 -0
- package/dist/components/features/cloud-tenants/tenant-customer-cell.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-presentation.d.ts +42 -0
- package/dist/components/features/cloud-tenants/tenant-presentation.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-row.d.ts +22 -0
- package/dist/components/features/cloud-tenants/tenant-row.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenants-table-columns.d.ts +42 -0
- package/dist/components/features/cloud-tenants/tenants-table-columns.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenants-table-view.d.ts +26 -0
- package/dist/components/features/cloud-tenants/tenants-table-view.d.ts.map +1 -0
- package/dist/components/features/devices/device-last-online.d.ts +3 -0
- package/dist/components/features/devices/device-last-online.d.ts.map +1 -0
- package/dist/components/features/devices/device-name.d.ts +42 -0
- package/dist/components/features/devices/device-name.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selection-mode-radio.d.ts +26 -0
- package/dist/components/features/devices/device-selector/device-selection-mode-radio.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts +25 -0
- package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selector.d.ts +38 -0
- package/dist/components/features/devices/device-selector/device-selector.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selector.types.d.ts +133 -0
- package/dist/components/features/devices/device-selector/device-selector.types.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/narrowing.d.ts +13 -0
- package/dist/components/features/devices/device-selector/narrowing.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/use-device-selector.d.ts +17 -0
- package/dist/components/features/devices/device-selector/use-device-selector.d.ts.map +1 -0
- package/dist/components/features/devices/device-status.d.ts +23 -0
- package/dist/components/features/devices/device-status.d.ts.map +1 -0
- package/dist/components/features/devices/device-statuses.d.ts +40 -0
- package/dist/components/features/devices/device-statuses.d.ts.map +1 -0
- package/dist/components/features/devices/device-tags-filter-button.d.ts +22 -0
- package/dist/components/features/devices/device-tags-filter-button.d.ts.map +1 -0
- package/dist/components/features/devices/device-type-icon.d.ts +11 -0
- package/dist/components/features/devices/device-type-icon.d.ts.map +1 -0
- package/dist/components/features/devices/device-type-tile.d.ts +9 -0
- package/dist/components/features/devices/device-type-tile.d.ts.map +1 -0
- package/dist/components/features/devices/devices-filter-toolbar.d.ts +46 -0
- package/dist/components/features/devices/devices-filter-toolbar.d.ts.map +1 -0
- package/dist/components/features/devices/devices-grid-filters.d.ts +25 -0
- package/dist/components/features/devices/devices-grid-filters.d.ts.map +1 -0
- package/dist/components/features/devices/devices-grid.d.ts +12 -0
- package/dist/components/features/devices/devices-grid.d.ts.map +1 -0
- package/dist/components/features/devices/devices-list.d.ts +131 -0
- package/dist/components/features/devices/devices-list.d.ts.map +1 -0
- package/dist/components/features/devices/devices-panel-header.d.ts +46 -0
- package/dist/components/features/devices/devices-panel-header.d.ts.map +1 -0
- package/dist/components/features/devices/devices-panel-view.d.ts +79 -0
- package/dist/components/features/devices/devices-panel-view.d.ts.map +1 -0
- package/dist/components/features/devices/devices-table-columns.d.ts +76 -0
- package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -0
- package/dist/components/features/devices/devices-view-config.d.ts +25 -0
- package/dist/components/features/devices/devices-view-config.d.ts.map +1 -0
- package/dist/components/features/devices/index.d.ts +24 -0
- package/dist/components/features/devices/index.d.ts.map +1 -0
- package/dist/components/features/devices/types.d.ts +68 -0
- package/dist/components/features/devices/types.d.ts.map +1 -0
- package/dist/components/features/devices/use-tag-filter-modal.d.ts +50 -0
- package/dist/components/features/devices/use-tag-filter-modal.d.ts.map +1 -0
- package/dist/components/features/index.cjs +227 -12
- package/dist/components/features/index.d.ts +7 -0
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/index.js +266 -51
- package/dist/components/features/knowledge-base/index.d.ts +7 -0
- package/dist/components/features/knowledge-base/index.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-article-view.d.ts +44 -0
- package/dist/components/features/knowledge-base/knowledge-base-article-view.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-item-icon.d.ts +13 -0
- package/dist/components/features/knowledge-base/knowledge-base-item-icon.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-status.d.ts +8 -0
- package/dist/components/features/knowledge-base/knowledge-base-status.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-table.d.ts +52 -0
- package/dist/components/features/knowledge-base/knowledge-base-table.d.ts.map +1 -0
- package/dist/components/features/logs/index.d.ts +12 -0
- package/dist/components/features/logs/index.d.ts.map +1 -0
- package/dist/components/features/logs/log-drawer.d.ts +29 -0
- package/dist/components/features/logs/log-drawer.d.ts.map +1 -0
- package/dist/components/features/logs/log-source-labels.d.ts +11 -0
- package/dist/components/features/logs/log-source-labels.d.ts.map +1 -0
- package/dist/components/features/logs/logs-page-view.d.ts +32 -0
- package/dist/components/features/logs/logs-page-view.d.ts.map +1 -0
- package/dist/components/features/logs/logs-table-columns.d.ts +15 -0
- package/dist/components/features/logs/logs-table-columns.d.ts.map +1 -0
- package/dist/components/features/logs/logs-table-view.d.ts +64 -0
- package/dist/components/features/logs/logs-table-view.d.ts.map +1 -0
- package/dist/components/features/logs/types.d.ts +52 -0
- package/dist/components/features/logs/types.d.ts.map +1 -0
- package/dist/components/features/policies/compute-policy-summary.d.ts +37 -0
- package/dist/components/features/policies/compute-policy-summary.d.ts.map +1 -0
- package/dist/components/features/policies/index.d.ts +8 -0
- package/dist/components/features/policies/index.d.ts.map +1 -0
- package/dist/components/features/policies/policies-table.d.ts +34 -0
- package/dist/components/features/policies/policies-table.d.ts.map +1 -0
- package/dist/components/features/policies/policy-summary-cards.d.ts +17 -0
- package/dist/components/features/policies/policy-summary-cards.d.ts.map +1 -0
- package/dist/components/features/policies/policy-table-row.d.ts +37 -0
- package/dist/components/features/policies/policy-table-row.d.ts.map +1 -0
- package/dist/components/features/remote-session/index.d.ts +8 -0
- package/dist/components/features/remote-session/index.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts +21 -0
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts.map +1 -0
- package/dist/components/features/remote-session/remote-desktop-chat-panel.d.ts +31 -0
- package/dist/components/features/remote-session/remote-desktop-chat-panel.d.ts.map +1 -0
- package/dist/components/features/remote-session/remote-desktop-fullscreen-toolbar.d.ts +21 -0
- package/dist/components/features/remote-session/remote-desktop-fullscreen-toolbar.d.ts.map +1 -0
- package/dist/components/features/remote-session/remote-desktop-view.d.ts +50 -0
- package/dist/components/features/remote-session/remote-desktop-view.d.ts.map +1 -0
- package/dist/components/features/software/index.d.ts +8 -0
- package/dist/components/features/software/index.d.ts.map +1 -0
- package/dist/components/features/software/package-managers.d.ts +30 -0
- package/dist/components/features/software/package-managers.d.ts.map +1 -0
- package/dist/components/features/software/package-search-field-placeholder.d.ts +7 -0
- package/dist/components/features/software/package-search-field-placeholder.d.ts.map +1 -0
- package/dist/components/features/software/schedule-fields.d.ts +34 -0
- package/dist/components/features/software/schedule-fields.d.ts.map +1 -0
- package/dist/components/features/software/software-action-copy.d.ts +25 -0
- package/dist/components/features/software/software-action-copy.d.ts.map +1 -0
- package/dist/components/features/software/software-action-form.d.ts +71 -0
- package/dist/components/features/software/software-action-form.d.ts.map +1 -0
- package/dist/components/features/software/software-row-fields.d.ts +23 -0
- package/dist/components/features/software/software-row-fields.d.ts.map +1 -0
- package/dist/components/features/software/software-row.d.ts +18 -0
- package/dist/components/features/software/software-row.d.ts.map +1 -0
- package/dist/components/features/sortable-list/index.d.ts +1 -0
- package/dist/components/features/sortable-list/index.d.ts.map +1 -1
- package/dist/components/features/sortable-list/sortable-drag-handle.d.ts +21 -0
- package/dist/components/features/sortable-list/sortable-drag-handle.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +133 -114
- package/dist/components/help-center-pages/index.js +58 -39
- package/dist/components/index.cjs +320 -82
- package/dist/components/index.js +451 -213
- package/dist/components/layout/page-heading.d.ts +12 -3
- package/dist/components/layout/page-heading.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +120 -98
- package/dist/components/meeting-scheduler/index.js +50 -28
- package/dist/components/navigation/index.cjs +36 -17
- package/dist/components/navigation/index.d.ts +3 -0
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +36 -17
- package/dist/components/navigation/mingo-ai-button.d.ts +23 -10
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/navigation/sticky-section-nav.d.ts +14 -1
- package/dist/components/navigation/sticky-section-nav.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +32 -16
- package/dist/components/onboarding-guides/index.js +31 -15
- package/dist/components/product-demo/cast.d.ts +58 -0
- package/dist/components/product-demo/cast.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/cloud-tenants.d.ts +10 -0
- package/dist/components/product-demo/fixtures/cloud-tenants.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/devices.d.ts +14 -0
- package/dist/components/product-demo/fixtures/devices.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/knowledge.d.ts +14 -0
- package/dist/components/product-demo/fixtures/knowledge.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/logs.d.ts +15 -0
- package/dist/components/product-demo/fixtures/logs.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/policies.d.ts +13 -0
- package/dist/components/product-demo/fixtures/policies.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/remote-session.d.ts +20 -0
- package/dist/components/product-demo/fixtures/remote-session.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/shared.d.ts +156 -0
- package/dist/components/product-demo/fixtures/shared.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/software-update.d.ts +19 -0
- package/dist/components/product-demo/fixtures/software-update.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/tickets-board.d.ts +8 -0
- package/dist/components/product-demo/fixtures/tickets-board.d.ts.map +1 -0
- package/dist/components/product-demo/index.cjs +112 -0
- package/dist/components/product-demo/index.d.ts +6 -0
- package/dist/components/product-demo/index.d.ts.map +1 -0
- package/dist/components/product-demo/index.js +112 -0
- package/dist/components/product-demo/product-screen.d.ts +22 -0
- package/dist/components/product-demo/product-screen.d.ts.map +1 -0
- package/dist/components/product-demo/registry.d.ts +13 -0
- package/dist/components/product-demo/registry.d.ts.map +1 -0
- package/dist/components/product-demo/screen-keys.cjs +25 -0
- package/dist/components/product-demo/screen-keys.d.ts +27 -0
- package/dist/components/product-demo/screen-keys.d.ts.map +1 -0
- package/dist/components/product-demo/screen-keys.js +20 -0
- package/dist/components/product-demo/screens/cloud-tenants.d.ts +8 -0
- package/dist/components/product-demo/screens/cloud-tenants.d.ts.map +1 -0
- package/dist/components/product-demo/screens/devices.d.ts +10 -0
- package/dist/components/product-demo/screens/devices.d.ts.map +1 -0
- package/dist/components/product-demo/screens/knowledge.d.ts +9 -0
- package/dist/components/product-demo/screens/knowledge.d.ts.map +1 -0
- package/dist/components/product-demo/screens/logs.d.ts +4 -0
- package/dist/components/product-demo/screens/logs.d.ts.map +1 -0
- package/dist/components/product-demo/screens/policies.d.ts +8 -0
- package/dist/components/product-demo/screens/policies.d.ts.map +1 -0
- package/dist/components/product-demo/screens/remote-desktop-picture.d.ts +11 -0
- package/dist/components/product-demo/screens/remote-desktop-picture.d.ts.map +1 -0
- package/dist/components/product-demo/screens/remote-session.d.ts +8 -0
- package/dist/components/product-demo/screens/remote-session.d.ts.map +1 -0
- package/dist/components/product-demo/screens/software-update.d.ts +12 -0
- package/dist/components/product-demo/screens/software-update.d.ts.map +1 -0
- package/dist/components/product-demo/screens/tickets-board.d.ts +4 -0
- package/dist/components/product-demo/screens/tickets-board.d.ts.map +1 -0
- package/dist/components/product-demo/types.d.ts +9 -0
- package/dist/components/product-demo/types.d.ts.map +1 -0
- package/dist/components/related-content/index.cjs +14 -8
- package/dist/components/related-content/index.js +13 -7
- package/dist/components/tickets/index.cjs +36 -20
- package/dist/components/tickets/index.js +35 -19
- package/dist/components/ui/file-manager/index.cjs +38 -34
- package/dist/components/ui/file-manager/index.js +8 -4
- package/dist/components/ui/index.cjs +57 -17
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +141 -101
- package/dist/components/ui/product-screen-frame.d.ts +45 -0
- package/dist/components/ui/product-screen-frame.d.ts.map +1 -0
- package/dist/components/ui/radio-group.d.ts +5 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/snap-carousel.d.ts +11 -1
- package/dist/components/ui/snap-carousel.d.ts.map +1 -1
- package/dist/components/ui/tag.d.ts +1 -1
- package/dist/components/ui/tag.d.ts.map +1 -1
- package/dist/devices-LBMG42K6.js +81 -0
- package/dist/devices-YGYJIXQY.cjs +81 -0
- package/dist/hooks/index.cjs +17 -8
- package/dist/hooks/index.js +32 -23
- package/dist/hooks/ui/index.d.ts +1 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/use-header-height.d.ts +12 -0
- package/dist/hooks/ui/use-header-height.d.ts.map +1 -1
- package/dist/hooks/ui/use-sticky-toolbar.d.ts +29 -0
- package/dist/hooks/ui/use-sticky-toolbar.d.ts.map +1 -0
- package/dist/hooks/use-location-hash.d.ts +2 -2
- package/dist/hooks/use-location-hash.d.ts.map +1 -1
- package/dist/hooks/use-scroll-to-hash.d.ts +7 -0
- package/dist/hooks/use-scroll-to-hash.d.ts.map +1 -1
- package/dist/index.cjs +276 -25
- package/dist/index.js +729 -478
- package/dist/knowledge-H5BIWJVI.js +108 -0
- package/dist/knowledge-KTCVJIWN.cjs +108 -0
- package/dist/logs-DB5Z7M5Q.js +216 -0
- package/dist/logs-RVCC2UQW.cjs +216 -0
- package/dist/policies-EWUULFBR.js +121 -0
- package/dist/policies-HV4IQCBV.cjs +121 -0
- package/dist/remote-session-GSGZOFDX.js +196 -0
- package/dist/remote-session-R6VAFESR.cjs +196 -0
- package/dist/software-update-6PXKRKBT.js +179 -0
- package/dist/software-update-D4OVSWSG.cjs +179 -0
- package/dist/tickets-board-BHLPAVNJ.cjs +137 -0
- package/dist/tickets-board-PYDNELSK.js +137 -0
- package/dist/types/case-study.d.ts +15 -1
- package/dist/types/case-study.d.ts.map +1 -1
- package/dist/utils/date-utils.d.ts +5 -0
- package/dist/utils/date-utils.d.ts.map +1 -1
- package/dist/utils/index.cjs +45 -2
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +41 -3
- package/dist/utils/open-in-new-tab.d.ts +7 -0
- package/dist/utils/open-in-new-tab.d.ts.map +1 -0
- package/dist/utils/same-page-hash-nav.d.ts +31 -0
- package/dist/utils/same-page-hash-nav.d.ts.map +1 -1
- package/dist/utils/scroll-into-view.d.ts +14 -1
- package/dist/utils/scroll-into-view.d.ts.map +1 -1
- package/package.json +13 -1
- package/src/components/chat/ask-prompts.tsx +226 -0
- package/src/components/chat/embeddable-chat.tsx +36 -2
- package/src/components/chat/entity-cards/case-study-card.tsx +122 -46
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/quick-action-chip.tsx +33 -9
- package/src/components/docs/use-scroll-spy.ts +93 -18
- package/src/components/faq/faq-section.tsx +82 -43
- package/src/components/features/array-entry-manager.tsx +10 -1
- package/src/components/features/board/board.tsx +4 -1
- package/src/components/features/board/ticket-card.tsx +11 -1
- package/src/components/features/board/touch-board.tsx +2 -1
- package/src/components/features/board/types.ts +3 -0
- package/src/components/features/board/use-board-collapse.ts +7 -2
- package/src/components/features/capability-explorer.tsx +412 -0
- package/src/components/features/cloud-tenants/index.ts +28 -0
- package/src/components/features/cloud-tenants/tenant-access-cell.tsx +24 -0
- package/src/components/features/cloud-tenants/tenant-cell.tsx +26 -0
- package/src/components/features/cloud-tenants/tenant-customer-cell.tsx +27 -0
- package/src/components/features/cloud-tenants/tenant-presentation.ts +111 -0
- package/src/components/features/cloud-tenants/tenant-row.ts +21 -0
- package/src/components/features/cloud-tenants/tenants-table-columns.ts +30 -0
- package/src/components/features/cloud-tenants/tenants-table-view.tsx +142 -0
- package/src/components/features/devices/device-last-online.ts +6 -0
- package/src/components/features/devices/device-name.ts +51 -0
- package/src/components/features/devices/device-selector/device-selection-mode-radio.tsx +107 -0
- package/src/components/features/devices/device-selector/device-selector-skeleton.tsx +32 -0
- package/src/components/features/devices/device-selector/device-selector.tsx +799 -0
- package/src/components/features/devices/device-selector/device-selector.types.ts +138 -0
- package/src/components/features/devices/device-selector/narrowing.ts +33 -0
- package/src/components/features/devices/device-selector/use-device-selector.ts +51 -0
- package/src/components/features/devices/device-status.ts +102 -0
- package/src/components/features/devices/device-statuses.ts +88 -0
- package/src/components/features/devices/device-tags-filter-button.tsx +49 -0
- package/src/components/features/devices/device-type-icon.tsx +29 -0
- package/src/components/features/devices/device-type-tile.tsx +17 -0
- package/src/components/features/devices/devices-filter-toolbar.tsx +114 -0
- package/src/components/features/devices/devices-grid-filters.tsx +99 -0
- package/src/components/features/devices/devices-grid.tsx +86 -0
- package/src/components/features/devices/devices-list.tsx +357 -0
- package/src/components/features/devices/devices-panel-header.tsx +97 -0
- package/src/components/features/devices/devices-panel-view.tsx +261 -0
- package/src/components/features/devices/devices-table-columns.tsx +356 -0
- package/src/components/features/devices/devices-view-config.tsx +38 -0
- package/src/components/features/devices/index.ts +89 -0
- package/src/components/features/devices/types.ts +74 -0
- package/src/components/features/devices/use-tag-filter-modal.ts +109 -0
- package/src/components/features/index.ts +9 -0
- package/src/components/features/knowledge-base/index.ts +19 -0
- package/src/components/features/knowledge-base/knowledge-base-article-view.tsx +134 -0
- package/src/components/features/knowledge-base/knowledge-base-item-icon.ts +14 -0
- package/src/components/features/knowledge-base/knowledge-base-status.ts +12 -0
- package/src/components/features/knowledge-base/knowledge-base-table.tsx +180 -0
- package/src/components/features/logs/index.ts +20 -0
- package/src/components/features/logs/log-drawer.tsx +138 -0
- package/src/components/features/logs/log-source-labels.ts +25 -0
- package/src/components/features/logs/logs-page-view.tsx +100 -0
- package/src/components/features/logs/logs-table-columns.ts +16 -0
- package/src/components/features/logs/logs-table-view.tsx +509 -0
- package/src/components/features/logs/types.ts +71 -0
- package/src/components/features/policies/compute-policy-summary.ts +115 -0
- package/src/components/features/policies/index.ts +14 -0
- package/src/components/features/policies/policies-table.tsx +235 -0
- package/src/components/features/policies/policy-summary-cards.tsx +69 -0
- package/src/components/features/policies/policy-table-row.ts +37 -0
- package/src/components/features/remote-session/index.ts +8 -0
- package/src/components/features/remote-session/remote-desktop-chat-message-row.tsx +56 -0
- package/src/components/features/remote-session/remote-desktop-chat-panel.tsx +102 -0
- package/src/components/features/remote-session/remote-desktop-fullscreen-toolbar.tsx +119 -0
- package/src/components/features/remote-session/remote-desktop-view.tsx +209 -0
- package/src/components/features/software/index.ts +39 -0
- package/src/components/features/software/package-managers.ts +54 -0
- package/src/components/features/software/package-search-field-placeholder.tsx +23 -0
- package/src/components/features/software/schedule-fields.tsx +105 -0
- package/src/components/features/software/software-action-copy.ts +70 -0
- package/src/components/features/software/software-action-form.tsx +199 -0
- package/src/components/features/software/software-row-fields.tsx +105 -0
- package/src/components/features/software/software-row.ts +22 -0
- package/src/components/features/sortable-list/index.ts +1 -0
- package/src/components/features/sortable-list/sortable-drag-handle.tsx +41 -0
- package/src/components/layout/page-heading.tsx +23 -6
- package/src/components/navigation/index.ts +5 -0
- package/src/components/navigation/mingo-ai-button.tsx +37 -13
- package/src/components/navigation/sticky-section-nav.tsx +99 -1
- package/src/components/product-demo/cast.tsx +78 -0
- package/src/components/product-demo/fixtures/cloud-tenants.ts +63 -0
- package/src/components/product-demo/fixtures/devices.ts +87 -0
- package/src/components/product-demo/fixtures/knowledge.ts +48 -0
- package/src/components/product-demo/fixtures/logs.ts +103 -0
- package/src/components/product-demo/fixtures/policies.ts +77 -0
- package/src/components/product-demo/fixtures/remote-session.ts +65 -0
- package/src/components/product-demo/fixtures/shared.ts +53 -0
- package/src/components/product-demo/fixtures/software-update.ts +63 -0
- package/src/components/product-demo/fixtures/tickets-board.ts +100 -0
- package/src/components/product-demo/index.ts +7 -0
- package/src/components/product-demo/product-screen.tsx +94 -0
- package/src/components/product-demo/registry.ts +20 -0
- package/src/components/product-demo/screen-keys.ts +31 -0
- package/src/components/product-demo/screens/cloud-tenants.tsx +23 -0
- package/src/components/product-demo/screens/devices.tsx +41 -0
- package/src/components/product-demo/screens/knowledge.tsx +27 -0
- package/src/components/product-demo/screens/logs.tsx +113 -0
- package/src/components/product-demo/screens/policies.tsx +29 -0
- package/src/components/product-demo/screens/remote-desktop-picture.tsx +118 -0
- package/src/components/product-demo/screens/remote-session.tsx +46 -0
- package/src/components/product-demo/screens/software-update.tsx +97 -0
- package/src/components/product-demo/screens/tickets-board.tsx +28 -0
- package/src/components/product-demo/types.ts +10 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/product-screen-frame.tsx +136 -0
- package/src/components/ui/radio-group.tsx +16 -4
- package/src/components/ui/snap-carousel.tsx +26 -1
- package/src/components/ui/tag.tsx +5 -0
- package/src/hooks/ui/index.ts +1 -0
- package/src/hooks/ui/use-header-height.ts +51 -2
- package/src/hooks/ui/use-sticky-toolbar.ts +60 -0
- package/src/hooks/use-location-hash.ts +9 -5
- package/src/hooks/use-scroll-to-hash.ts +9 -1
- package/src/types/case-study.ts +21 -1
- package/src/utils/date-utils.ts +8 -1
- package/src/utils/index.ts +5 -0
- package/src/utils/open-in-new-tab.ts +12 -0
- package/src/utils/same-page-hash-nav.ts +57 -0
- package/src/utils/scroll-into-view.ts +21 -5
- package/dist/chunk-BM5MVGH3.cjs +0 -499
- package/dist/chunk-CUME3VTQ.js +0 -144
- package/dist/chunk-CZ7Y7UG4.js +0 -732
- package/dist/chunk-FLKJYMVB.js +0 -499
- package/dist/chunk-OF6GEI5A.cjs +0 -144
- package/dist/chunk-UVTD52MD.cjs +0 -732
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
breakpoints,
|
|
4
|
+
createLocalStorageAdapter,
|
|
5
|
+
useMediaQuery
|
|
6
|
+
} from "./chunk-ADBE7QF3.js";
|
|
7
|
+
|
|
8
|
+
// src/hooks/ui/use-drag-and-drop-enabled.ts
|
|
9
|
+
var DRAG_AND_DROP_MEDIA_QUERY = `(pointer: fine) and (hover: hover) and ${breakpoints.md}`;
|
|
10
|
+
function useDragAndDropEnabled() {
|
|
11
|
+
return useMediaQuery(DRAG_AND_DROP_MEDIA_QUERY) ?? false;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// src/hooks/ui/use-horizontal-scrollbar.ts
|
|
15
|
+
import { useRef, useState, useCallback } from "react";
|
|
16
|
+
function useHorizontalScrollbar() {
|
|
17
|
+
const scrollElRef = useRef(null);
|
|
18
|
+
const trackRef = useRef(null);
|
|
19
|
+
const thumbRef = useRef(null);
|
|
20
|
+
const roRef = useRef(null);
|
|
21
|
+
const moRef = useRef(null);
|
|
22
|
+
const [thumbRatio, setThumbRatio] = useState(0);
|
|
23
|
+
const [canScrollLeft, setCanScrollLeft] = useState(false);
|
|
24
|
+
const [canScrollRight, setCanScrollRight] = useState(false);
|
|
25
|
+
const prevCanScrollLeftRef = useRef(false);
|
|
26
|
+
const prevCanScrollRightRef = useRef(false);
|
|
27
|
+
const isDraggingRef = useRef(false);
|
|
28
|
+
const dragStartRef = useRef({ mouseX: 0, scrollLeft: 0 });
|
|
29
|
+
const rafIdRef = useRef(0);
|
|
30
|
+
const syncThumbToDOM = useCallback(() => {
|
|
31
|
+
const el = scrollElRef.current;
|
|
32
|
+
const thumb = thumbRef.current;
|
|
33
|
+
if (!el || !thumb) return;
|
|
34
|
+
const maxScroll = el.scrollWidth - el.clientWidth;
|
|
35
|
+
if (maxScroll <= 0) {
|
|
36
|
+
thumb.style.left = "0%";
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
const ratio = el.clientWidth / el.scrollWidth;
|
|
40
|
+
const fraction = Math.min(Math.max(el.scrollLeft, 0), maxScroll) / maxScroll;
|
|
41
|
+
thumb.style.left = `${fraction * (1 - ratio) * 100}%`;
|
|
42
|
+
}, []);
|
|
43
|
+
const syncEdgeFades = useCallback(() => {
|
|
44
|
+
const el = scrollElRef.current;
|
|
45
|
+
if (!el) return;
|
|
46
|
+
const maxScroll = el.scrollWidth - el.clientWidth;
|
|
47
|
+
const ratio = el.clientWidth / el.scrollWidth;
|
|
48
|
+
if (ratio >= 1 || maxScroll <= 0) {
|
|
49
|
+
if (prevCanScrollLeftRef.current) {
|
|
50
|
+
prevCanScrollLeftRef.current = false;
|
|
51
|
+
setCanScrollLeft(false);
|
|
52
|
+
}
|
|
53
|
+
if (prevCanScrollRightRef.current) {
|
|
54
|
+
prevCanScrollRightRef.current = false;
|
|
55
|
+
setCanScrollRight(false);
|
|
56
|
+
}
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
const fraction = Math.min(Math.max(el.scrollLeft, 0), maxScroll) / maxScroll;
|
|
60
|
+
const left = fraction > 1e-3;
|
|
61
|
+
const right = fraction < 0.999;
|
|
62
|
+
if (left !== prevCanScrollLeftRef.current) {
|
|
63
|
+
prevCanScrollLeftRef.current = left;
|
|
64
|
+
setCanScrollLeft(left);
|
|
65
|
+
}
|
|
66
|
+
if (right !== prevCanScrollRightRef.current) {
|
|
67
|
+
prevCanScrollRightRef.current = right;
|
|
68
|
+
setCanScrollRight(right);
|
|
69
|
+
}
|
|
70
|
+
}, []);
|
|
71
|
+
const measure = useCallback(() => {
|
|
72
|
+
const el = scrollElRef.current;
|
|
73
|
+
if (!el) return;
|
|
74
|
+
const ratio = el.clientWidth / el.scrollWidth;
|
|
75
|
+
setThumbRatio(ratio >= 1 ? 0 : ratio);
|
|
76
|
+
syncThumbToDOM();
|
|
77
|
+
syncEdgeFades();
|
|
78
|
+
}, [syncThumbToDOM, syncEdgeFades]);
|
|
79
|
+
const scrollRef = useCallback(
|
|
80
|
+
(node) => {
|
|
81
|
+
if (roRef.current) {
|
|
82
|
+
roRef.current.disconnect();
|
|
83
|
+
roRef.current = null;
|
|
84
|
+
}
|
|
85
|
+
if (moRef.current) {
|
|
86
|
+
moRef.current.disconnect();
|
|
87
|
+
moRef.current = null;
|
|
88
|
+
}
|
|
89
|
+
if (rafIdRef.current) {
|
|
90
|
+
cancelAnimationFrame(rafIdRef.current);
|
|
91
|
+
rafIdRef.current = 0;
|
|
92
|
+
}
|
|
93
|
+
scrollElRef.current = node;
|
|
94
|
+
if (node) {
|
|
95
|
+
const ratio = node.clientWidth / node.scrollWidth;
|
|
96
|
+
setThumbRatio(ratio >= 1 ? 0 : ratio);
|
|
97
|
+
const ro = new ResizeObserver(measure);
|
|
98
|
+
roRef.current = ro;
|
|
99
|
+
const observeAll = () => {
|
|
100
|
+
ro.disconnect();
|
|
101
|
+
ro.observe(node);
|
|
102
|
+
for (const child of Array.from(node.children)) ro.observe(child);
|
|
103
|
+
};
|
|
104
|
+
observeAll();
|
|
105
|
+
moRef.current = new MutationObserver(() => {
|
|
106
|
+
observeAll();
|
|
107
|
+
measure();
|
|
108
|
+
});
|
|
109
|
+
moRef.current.observe(node, { childList: true });
|
|
110
|
+
requestAnimationFrame(() => {
|
|
111
|
+
syncThumbToDOM();
|
|
112
|
+
syncEdgeFades();
|
|
113
|
+
});
|
|
114
|
+
} else {
|
|
115
|
+
setThumbRatio(0);
|
|
116
|
+
prevCanScrollLeftRef.current = false;
|
|
117
|
+
prevCanScrollRightRef.current = false;
|
|
118
|
+
setCanScrollLeft(false);
|
|
119
|
+
setCanScrollRight(false);
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
[measure, syncThumbToDOM, syncEdgeFades]
|
|
123
|
+
);
|
|
124
|
+
const onScroll = useCallback(() => {
|
|
125
|
+
if (isDraggingRef.current) return;
|
|
126
|
+
if (rafIdRef.current) cancelAnimationFrame(rafIdRef.current);
|
|
127
|
+
rafIdRef.current = requestAnimationFrame(() => {
|
|
128
|
+
syncThumbToDOM();
|
|
129
|
+
syncEdgeFades();
|
|
130
|
+
});
|
|
131
|
+
}, [syncThumbToDOM, syncEdgeFades]);
|
|
132
|
+
const onTrackClick = useCallback((e) => {
|
|
133
|
+
if (e.target.closest("[data-scrollbar-thumb]")) return;
|
|
134
|
+
const track = trackRef.current;
|
|
135
|
+
const el = scrollElRef.current;
|
|
136
|
+
if (!track || !el) return;
|
|
137
|
+
const ratio = el.clientWidth / el.scrollWidth;
|
|
138
|
+
if (ratio >= 1) return;
|
|
139
|
+
const rect = track.getBoundingClientRect();
|
|
140
|
+
const thumbWidth = rect.width * ratio;
|
|
141
|
+
const maxThumbOffset = rect.width - thumbWidth;
|
|
142
|
+
if (maxThumbOffset <= 0) return;
|
|
143
|
+
const targetFraction = Math.max(0, Math.min(1, (e.clientX - rect.left - thumbWidth / 2) / maxThumbOffset));
|
|
144
|
+
const targetScrollLeft = targetFraction * (el.scrollWidth - el.clientWidth);
|
|
145
|
+
el.scrollTo({ left: targetScrollLeft, behavior: "smooth" });
|
|
146
|
+
}, []);
|
|
147
|
+
const onTrackWheel = useCallback((e) => {
|
|
148
|
+
const el = scrollElRef.current;
|
|
149
|
+
if (!el) return;
|
|
150
|
+
e.preventDefault();
|
|
151
|
+
el.scrollLeft += e.deltaX || e.deltaY;
|
|
152
|
+
}, []);
|
|
153
|
+
const onThumbPointerDown = useCallback((e) => {
|
|
154
|
+
e.preventDefault();
|
|
155
|
+
e.stopPropagation();
|
|
156
|
+
const el = scrollElRef.current;
|
|
157
|
+
if (!el) return;
|
|
158
|
+
isDraggingRef.current = true;
|
|
159
|
+
dragStartRef.current = { mouseX: e.clientX, scrollLeft: el.scrollLeft };
|
|
160
|
+
const target = e.currentTarget;
|
|
161
|
+
target.setPointerCapture(e.pointerId);
|
|
162
|
+
target.style.cursor = "grabbing";
|
|
163
|
+
}, []);
|
|
164
|
+
const onThumbPointerMove = useCallback(
|
|
165
|
+
(e) => {
|
|
166
|
+
if (!isDraggingRef.current) return;
|
|
167
|
+
const el = scrollElRef.current;
|
|
168
|
+
const track = trackRef.current;
|
|
169
|
+
if (!el || !track) return;
|
|
170
|
+
const currentThumbRatio = el.clientWidth / el.scrollWidth;
|
|
171
|
+
if (currentThumbRatio >= 1) return;
|
|
172
|
+
const trackWidth = track.clientWidth;
|
|
173
|
+
const thumbWidth = trackWidth * currentThumbRatio;
|
|
174
|
+
const maxThumbTravel = trackWidth - thumbWidth;
|
|
175
|
+
if (maxThumbTravel <= 0) return;
|
|
176
|
+
const mouseDelta = e.clientX - dragStartRef.current.mouseX;
|
|
177
|
+
const scrollRange = el.scrollWidth - el.clientWidth;
|
|
178
|
+
el.scrollLeft = Math.min(
|
|
179
|
+
Math.max(dragStartRef.current.scrollLeft + mouseDelta / maxThumbTravel * scrollRange, 0),
|
|
180
|
+
scrollRange
|
|
181
|
+
);
|
|
182
|
+
syncThumbToDOM();
|
|
183
|
+
syncEdgeFades();
|
|
184
|
+
},
|
|
185
|
+
[syncThumbToDOM, syncEdgeFades]
|
|
186
|
+
);
|
|
187
|
+
const onThumbPointerUp = useCallback((e) => {
|
|
188
|
+
isDraggingRef.current = false;
|
|
189
|
+
const target = e.currentTarget;
|
|
190
|
+
target.releasePointerCapture(e.pointerId);
|
|
191
|
+
target.style.cursor = "grab";
|
|
192
|
+
}, []);
|
|
193
|
+
const onThumbPointerCancel = useCallback((e) => {
|
|
194
|
+
isDraggingRef.current = false;
|
|
195
|
+
const target = e.currentTarget;
|
|
196
|
+
target.style.cursor = "grab";
|
|
197
|
+
}, []);
|
|
198
|
+
return {
|
|
199
|
+
scrollRef,
|
|
200
|
+
trackRef,
|
|
201
|
+
thumbRef,
|
|
202
|
+
thumbRatio,
|
|
203
|
+
canScrollLeft,
|
|
204
|
+
canScrollRight,
|
|
205
|
+
onScroll,
|
|
206
|
+
onTrackClick,
|
|
207
|
+
onTrackWheel,
|
|
208
|
+
onThumbPointerDown,
|
|
209
|
+
onThumbPointerMove,
|
|
210
|
+
onThumbPointerUp,
|
|
211
|
+
onThumbPointerCancel
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// src/hooks/ui/use-local-storage.ts
|
|
216
|
+
import { useEffect, useMemo, useRef as useRef2, useState as useState2 } from "react";
|
|
217
|
+
|
|
218
|
+
// src/utils/storage-event.ts
|
|
219
|
+
function readLocalStorageUpdateDetail(event) {
|
|
220
|
+
if (!("detail" in event)) return null;
|
|
221
|
+
const detail = event.detail;
|
|
222
|
+
if (typeof detail !== "object" || detail === null) return null;
|
|
223
|
+
if (!("key" in detail) || typeof detail.key !== "string") return null;
|
|
224
|
+
const newValue = "newValue" in detail ? detail.newValue : null;
|
|
225
|
+
if (newValue !== null && newValue !== void 0 && typeof newValue !== "string") return null;
|
|
226
|
+
return { key: detail.key, newValue: newValue ?? null };
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
// src/hooks/ui/use-local-storage.ts
|
|
230
|
+
function useLocalStorage(key, initialValue, options) {
|
|
231
|
+
const initialValueRef = useRef2(initialValue);
|
|
232
|
+
useEffect(() => {
|
|
233
|
+
initialValueRef.current = initialValue;
|
|
234
|
+
});
|
|
235
|
+
const validate = options?.validate;
|
|
236
|
+
const storage = useMemo(
|
|
237
|
+
() => createLocalStorageAdapter({ key, validate, logTag: `[useLocalStorage:${key}]` }),
|
|
238
|
+
[key, validate]
|
|
239
|
+
);
|
|
240
|
+
const [storedValue, setStoredValue] = useState2(() => storage.load() ?? initialValue);
|
|
241
|
+
const isInitialized = useRef2(true);
|
|
242
|
+
const isFromStorageEvent = useRef2(false);
|
|
243
|
+
useEffect(() => {
|
|
244
|
+
if (!isInitialized.current) return void 0;
|
|
245
|
+
const syncFromStorage = (source) => {
|
|
246
|
+
const next = storage.load();
|
|
247
|
+
isFromStorageEvent.current = true;
|
|
248
|
+
setStoredValue(next ?? initialValueRef.current);
|
|
249
|
+
console.log(`\u{1F504} ${next === null ? "Cleared" : "Updated"} localStorage key "${key}" from ${source}`);
|
|
250
|
+
};
|
|
251
|
+
const handleStorageChange = (e) => {
|
|
252
|
+
if (e.key !== key) return;
|
|
253
|
+
syncFromStorage("storage event");
|
|
254
|
+
};
|
|
255
|
+
const handleCustomStorageUpdate = (event) => {
|
|
256
|
+
const detail = readLocalStorageUpdateDetail(event);
|
|
257
|
+
if (detail?.key !== key) return;
|
|
258
|
+
syncFromStorage("custom storage event");
|
|
259
|
+
};
|
|
260
|
+
window.addEventListener("storage", handleStorageChange);
|
|
261
|
+
window.addEventListener("localStorageUpdate", handleCustomStorageUpdate);
|
|
262
|
+
return () => {
|
|
263
|
+
window.removeEventListener("storage", handleStorageChange);
|
|
264
|
+
window.removeEventListener("localStorageUpdate", handleCustomStorageUpdate);
|
|
265
|
+
};
|
|
266
|
+
}, [key, storage]);
|
|
267
|
+
useEffect(() => {
|
|
268
|
+
if (!isInitialized.current) return;
|
|
269
|
+
if (isFromStorageEvent.current) {
|
|
270
|
+
isFromStorageEvent.current = false;
|
|
271
|
+
return;
|
|
272
|
+
}
|
|
273
|
+
storage.save(storedValue);
|
|
274
|
+
}, [storage, storedValue]);
|
|
275
|
+
const setValue = (value) => {
|
|
276
|
+
try {
|
|
277
|
+
const valueToStore = value instanceof Function ? value(storedValue) : value;
|
|
278
|
+
setStoredValue(valueToStore);
|
|
279
|
+
} catch (error) {
|
|
280
|
+
console.error(`Error setting value for localStorage key "${key}":`, error);
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
return [storedValue, setValue];
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export {
|
|
287
|
+
DRAG_AND_DROP_MEDIA_QUERY,
|
|
288
|
+
useDragAndDropEnabled,
|
|
289
|
+
useHorizontalScrollbar,
|
|
290
|
+
readLocalStorageUpdateDetail,
|
|
291
|
+
useLocalStorage
|
|
292
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
// src/styles/layout-steps.ts
|
|
4
|
+
var LAYOUT_STEPS = {
|
|
5
|
+
sm: { viewport: 640, content: 640 },
|
|
6
|
+
md: { viewport: 800, content: 720 },
|
|
7
|
+
lg: { viewport: 1280, content: 1024 },
|
|
8
|
+
xl: { viewport: 1440, content: 1216 },
|
|
9
|
+
"2xl": { viewport: 1536, content: 1312 }
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
exports.LAYOUT_STEPS = LAYOUT_STEPS;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkPPXR22YCcjs = require('./chunk-PPXR22YC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
var _chunkETYLOZOBcjs = require('./chunk-ETYLOZOB.cjs');
|
|
7
8
|
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
|
|
11
|
+
var _chunkF5BPGWGTcjs = require('./chunk-F5BPGWGT.cjs');
|
|
10
12
|
|
|
11
13
|
|
|
12
14
|
var _chunkMGHIV4L6cjs = require('./chunk-MGHIV4L6.cjs');
|
|
@@ -64,7 +66,7 @@ function DetailPageSkeleton({
|
|
|
64
66
|
] });
|
|
65
67
|
if (bare) return content;
|
|
66
68
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
67
|
-
|
|
69
|
+
_chunkPPXR22YCcjs.PageLayout,
|
|
68
70
|
{
|
|
69
71
|
showHeader: false,
|
|
70
72
|
className: "mx-auto max-w-[1280px] bg-ods-bg px-6 py-6 content-md:px-20 content-md:py-10",
|
|
@@ -77,7 +79,7 @@ function DetailPageSkeleton({
|
|
|
77
79
|
var _lucidereact = require('lucide-react');
|
|
78
80
|
|
|
79
81
|
function formatDate(value) {
|
|
80
|
-
return
|
|
82
|
+
return _chunkF5BPGWGTcjs.formatDateWithTimezone.call(void 0, value, null, "long");
|
|
81
83
|
}
|
|
82
84
|
function ArticleAuthorByline({
|
|
83
85
|
author,
|
|
@@ -93,7 +95,7 @@ function ArticleAuthorByline({
|
|
|
93
95
|
}) {
|
|
94
96
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
95
97
|
if (!author) return null;
|
|
96
|
-
const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(
|
|
98
|
+
const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(_chunkETYLOZOBcjs.getProxiedImageUrl.call(void 0, avatar, {
|
|
97
99
|
proxyPrefix: _optionalChain([runtime, 'optionalAccess', _2 => _2.endpoints, 'access', _3 => _3.imageProxyUrlPrefix]),
|
|
98
100
|
skipDomains: _optionalChain([runtime, 'optionalAccess', _4 => _4.endpoints, 'access', _5 => _5.imageProxySkipDomains]),
|
|
99
101
|
directHttps: true
|
|
@@ -101,7 +103,7 @@ function ArticleAuthorByline({
|
|
|
101
103
|
const avatarSizeClass = size === "lg" ? "w-16 h-16" : "w-14 h-14";
|
|
102
104
|
const avatarIconClass = size === "lg" ? "w-8 h-8" : "w-7 h-7";
|
|
103
105
|
const avatarDim = size === "lg" ? 64 : 56;
|
|
104
|
-
const formattedBio =
|
|
106
|
+
const formattedBio = _chunkF5BPGWGTcjs.formatBioText.call(void 0, _nullishCoalesce(bio, () => ( null)));
|
|
105
107
|
const dateLabel = publishedAt ? formatDate(publishedAt) : "";
|
|
106
108
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
107
109
|
"div",
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
ContactForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-N67XG5GY.js";
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow,
|
|
7
7
|
DevCardRowContent,
|
|
8
8
|
DevCardRowSkeletonList,
|
|
9
9
|
DevSectionPage,
|
|
10
10
|
ListEmptyState
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-G3OMVCID.js";
|
|
12
12
|
import {
|
|
13
13
|
EmptyState,
|
|
14
14
|
UnifiedPagination
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6YPTUHM7.js";
|
|
16
16
|
import {
|
|
17
17
|
TICKET_MARK_READ_DEBOUNCE_MS,
|
|
18
18
|
TICKET_TEXT_MAX_CHARS,
|
|
19
19
|
TOAST_COPY,
|
|
20
20
|
isOptimistic,
|
|
21
21
|
useOptionalTicketLive
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DDWFCWOE.js";
|
|
23
23
|
import {
|
|
24
24
|
AlertDialog,
|
|
25
25
|
AlertDialogAction,
|
|
@@ -29,37 +29,36 @@ import {
|
|
|
29
29
|
AlertDialogFooter,
|
|
30
30
|
AlertDialogHeader,
|
|
31
31
|
AlertDialogTitle,
|
|
32
|
-
DEV_SECTION_PARAM_KEYS,
|
|
33
|
-
HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
34
|
-
TICKET_OPEN_PARAM,
|
|
35
32
|
Textarea,
|
|
36
|
-
TicketAttachmentsList
|
|
37
|
-
|
|
38
|
-
} from "./chunk-5HB7FLCV.js";
|
|
33
|
+
TicketAttachmentsList
|
|
34
|
+
} from "./chunk-FCAVAEHF.js";
|
|
39
35
|
import {
|
|
40
36
|
toast,
|
|
41
37
|
useScrollToHash
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import {
|
|
44
|
-
PAGE_PARAM_LIMITS,
|
|
45
|
-
pageCount,
|
|
46
|
-
positiveInt
|
|
47
|
-
} from "./chunk-CUME3VTQ.js";
|
|
38
|
+
} from "./chunk-6T3BTD6Q.js";
|
|
48
39
|
import {
|
|
49
40
|
ChatAttachmentAddButton,
|
|
50
41
|
ChatAttachmentChipStrip,
|
|
51
|
-
ChatInput,
|
|
52
42
|
ChatMessageRow,
|
|
53
43
|
ChatMessageRowSkeleton,
|
|
54
44
|
ChatTicketItem,
|
|
55
|
-
|
|
45
|
+
DEV_SECTION_PARAM_KEYS,
|
|
46
|
+
HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
47
|
+
TICKET_OPEN_PARAM,
|
|
48
|
+
devSectionAnchorId,
|
|
56
49
|
useChatAttachments,
|
|
57
50
|
useChatIdentity
|
|
58
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ROBQ5TR7.js";
|
|
52
|
+
import {
|
|
53
|
+
formatRelativeTime
|
|
54
|
+
} from "./chunk-2NASBO7O.js";
|
|
55
|
+
import {
|
|
56
|
+
ChatInput
|
|
57
|
+
} from "./chunk-KBJJQFYU.js";
|
|
59
58
|
import {
|
|
60
59
|
STICKY_HEADER_OFFSET_PX,
|
|
61
60
|
scrollElementIntoView
|
|
62
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-CMZ3QTFQ.js";
|
|
63
62
|
import {
|
|
64
63
|
usePathname,
|
|
65
64
|
useRouter,
|
|
@@ -68,25 +67,34 @@ import {
|
|
|
68
67
|
import {
|
|
69
68
|
CONTENT_CARD_SKELETON_FRAME_CLASS,
|
|
70
69
|
Card,
|
|
71
|
-
SquareAvatar,
|
|
72
70
|
StatusBadge,
|
|
73
71
|
getStatusColorScheme
|
|
74
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-TTVOLEUS.js";
|
|
75
73
|
import {
|
|
76
|
-
|
|
77
|
-
} from "./chunk-
|
|
74
|
+
SquareAvatar
|
|
75
|
+
} from "./chunk-IYVFSLWJ.js";
|
|
76
|
+
import {
|
|
77
|
+
PAGE_PARAM_LIMITS,
|
|
78
|
+
pageCount,
|
|
79
|
+
positiveInt
|
|
80
|
+
} from "./chunk-AGVXKD4K.js";
|
|
78
81
|
import {
|
|
79
82
|
useRequiredChatRuntime
|
|
80
83
|
} from "./chunk-E4ABZWTJ.js";
|
|
84
|
+
import {
|
|
85
|
+
embedAuthedFetch
|
|
86
|
+
} from "./chunk-ADBE7QF3.js";
|
|
81
87
|
import {
|
|
82
88
|
Input,
|
|
83
89
|
Label,
|
|
84
|
-
RequiredMark
|
|
85
|
-
|
|
86
|
-
} from "./chunk-FLKJYMVB.js";
|
|
90
|
+
RequiredMark
|
|
91
|
+
} from "./chunk-CMGFZHCN.js";
|
|
87
92
|
import {
|
|
88
93
|
Button
|
|
89
94
|
} from "./chunk-YDPKUAP4.js";
|
|
95
|
+
import {
|
|
96
|
+
Skeleton
|
|
97
|
+
} from "./chunk-FYEJTF5Y.js";
|
|
90
98
|
|
|
91
99
|
// src/components/tickets/ticket-center.tsx
|
|
92
100
|
import { useQueryClient as useQueryClient2 } from "@tanstack/react-query";
|