@flamingo-stack/openframe-frontend-core 0.0.824 → 0.0.826
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/build/export-map.json +1 -1
- package/dist/{case-study-card-IZBMHA6R.cjs → case-study-card-O4IQCJAX.cjs} +5 -5
- package/dist/chat-protocol/events.d.ts +0 -3
- package/dist/chat-protocol/events.d.ts.map +1 -1
- package/dist/chat-protocol/frames.d.ts +10 -7
- package/dist/chat-protocol/frames.d.ts.map +1 -1
- package/dist/chat-protocol/index.cjs +238 -234
- package/dist/chat-protocol/leading-frames.d.ts.map +1 -1
- package/dist/chat-protocol/leading-frames.js +6 -3
- package/dist/chat-protocol/progress.d.ts +13 -20
- package/dist/chat-protocol/progress.d.ts.map +1 -1
- package/dist/chat-protocol/progress.js +13 -11
- package/dist/{chunk-QOAA7ZHB.cjs → chunk-2HQNXX2K.cjs} +2 -2
- package/dist/{chunk-TQ7TUEK2.cjs → chunk-2TQJSB62.cjs} +4879 -3563
- package/dist/{chunk-NONMZ5WJ.cjs → chunk-2VLPXUQK.cjs} +14 -83
- package/dist/{chunk-HDOU3AXV.cjs → chunk-37OYBX7W.cjs} +36 -36
- package/dist/{chunk-OBQ5WUNG.cjs → chunk-3B6ZE4EZ.cjs} +29 -29
- package/dist/{chunk-C3RAE7RO.cjs → chunk-5AQKXEMI.cjs} +979 -1357
- package/dist/{chunk-25HBH4J6.cjs → chunk-5BM7X4GA.cjs} +2 -2
- package/dist/{chunk-A3SR6HHX.cjs → chunk-63T2KKDZ.cjs} +86 -86
- package/dist/{chunk-MROW2JWE.cjs → chunk-6G4WRMEM.cjs} +3 -3
- package/dist/{chunk-WMTV6M5B.cjs → chunk-74GWFGH2.cjs} +28 -28
- package/dist/{chunk-467T3LCG.cjs → chunk-7PZQ7SHB.cjs} +49 -32
- package/dist/{chunk-SOSVC6HB.cjs → chunk-AJM4YZTW.cjs} +8 -8
- package/dist/{chunk-2XLPRW7V.cjs → chunk-BIG3O33P.cjs} +6 -2
- package/dist/chunk-BMQLM2NU.cjs +40 -0
- package/dist/{chunk-DVHSYPDB.cjs → chunk-DAKGX2WF.cjs} +2 -2
- package/dist/{chunk-2IWAHBCC.cjs → chunk-DRSFR5AC.cjs} +159 -159
- package/dist/{chunk-IJCSQFLD.cjs → chunk-DU6AF77X.cjs} +83 -121
- package/dist/{chunk-B2VRNRTY.cjs → chunk-EJNDTSKY.cjs} +91 -91
- package/dist/{chunk-SBFBNOKU.cjs → chunk-ENMPSEEQ.cjs} +4 -4
- package/dist/{chunk-ZECG6GU5.cjs → chunk-F2J5WN6U.cjs} +2 -2
- package/dist/{chunk-BOS7OIC4.cjs → chunk-GRHF5SWL.cjs} +5 -2
- package/dist/{chunk-Z7BLMJEI.cjs → chunk-GZAPOCKS.cjs} +54 -54
- package/dist/{chunk-M7EBCYKN.cjs → chunk-HJAPXKWK.cjs} +17 -17
- package/dist/{chunk-XUMZMIHR.cjs → chunk-HQ4FKHOO.cjs} +249 -108
- package/dist/{chunk-ZRDVFADQ.cjs → chunk-IBD2FPSX.cjs} +75 -9
- package/dist/{chunk-T266OITJ.cjs → chunk-IKWQW3YJ.cjs} +45 -45
- package/dist/{chunk-B7NSH7IK.cjs → chunk-IWQ2LJGW.cjs} +5 -5
- package/dist/{chunk-2IHGR57J.cjs → chunk-JDR72QFU.cjs} +12 -14
- package/dist/{chunk-EHANO6UE.cjs → chunk-K34TTZAE.cjs} +9 -129
- package/dist/{chunk-QDDBOCG3.cjs → chunk-KPGKTEEB.cjs} +2 -2
- package/dist/{chunk-WSBAIZXL.cjs → chunk-MDEOCOIE.cjs} +23 -23
- package/dist/chunk-OEP5KAT6.cjs +56 -0
- package/dist/chunk-OT6P57ZS.cjs +94 -0
- package/dist/{chunk-QQT23JJ7.cjs → chunk-PBHP3FHO.cjs} +4 -4
- package/dist/{chunk-J5U3XHFJ.cjs → chunk-PJY3SYCS.cjs} +29 -27
- package/dist/{chunk-5N26M6CK.cjs → chunk-PWAKRRRO.cjs} +1283 -268
- package/dist/{chunk-UEULXVW2.cjs → chunk-QS6AKUUL.cjs} +22 -22
- package/dist/{chunk-GXBIYPDM.cjs → chunk-QYJZDEG7.cjs} +6 -6
- package/dist/{chunk-NPNZAAOB.cjs → chunk-S6UJEW4G.cjs} +2 -2
- package/dist/{chunk-TTMTNG3U.cjs → chunk-TJG2BJ5J.cjs} +4 -4
- package/dist/{chunk-QOOMUGF2.cjs → chunk-TYJ73DHW.cjs} +15 -15
- package/dist/{chunk-A34UNP5V.cjs → chunk-W4VEDSAX.cjs} +80 -11
- package/dist/{chunk-2M4E2V25.cjs → chunk-WGMU45NV.cjs} +20 -20
- package/dist/{chunk-EZTCN43H.cjs → chunk-XDHQC4XH.cjs} +46 -46
- package/dist/{cloud-tenants-VYXMNISG.cjs → cloud-tenants-F67KQ5GC.cjs} +108 -106
- package/dist/components/case-studies/index.cjs +124 -122
- package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
- package/dist/components/chat/approval-batch-message.js +2 -2
- package/dist/components/chat/chat-archive-page.d.ts +7 -0
- package/dist/components/chat/chat-archive-page.d.ts.map +1 -1
- package/dist/components/chat/chat-archive-page.js +9 -0
- package/dist/components/chat/chat-composer.d.ts +24 -4
- package/dist/components/chat/chat-composer.d.ts.map +1 -1
- package/dist/components/chat/chat-composer.js +90 -48
- package/dist/components/chat/chat-context-memory-bar.d.ts +4 -1
- package/dist/components/chat/chat-context-memory-bar.d.ts.map +1 -1
- package/dist/components/chat/chat-context-memory-bar.js +8 -5
- package/dist/components/chat/chat-context-picker.d.ts +8 -1
- package/dist/components/chat/chat-context-picker.d.ts.map +1 -1
- package/dist/components/chat/chat-context-picker.js +32 -9
- package/dist/components/chat/chat-header-rename-field.d.ts +18 -0
- package/dist/components/chat/chat-header-rename-field.d.ts.map +1 -0
- package/dist/components/chat/chat-header-rename-field.js +49 -0
- package/dist/components/chat/chat-input.d.ts.map +1 -1
- package/dist/components/chat/chat-input.js +5 -0
- package/dist/components/chat/composer-sheet.d.ts +44 -0
- package/dist/components/chat/composer-sheet.d.ts.map +1 -0
- package/dist/components/chat/composer-sheet.js +140 -0
- package/dist/components/chat/embeddable-chat.d.ts +114 -1
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +328 -218
- package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-sse-chat-adapter.js +0 -2
- package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-unified-chat.js +0 -1
- package/dist/components/chat/index.cjs +118 -103
- package/dist/components/chat/index.d.ts +6 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +9 -0
- package/dist/components/chat/mingo-chat-day-groups.d.ts +18 -0
- package/dist/components/chat/mingo-chat-day-groups.d.ts.map +1 -0
- package/dist/components/chat/mingo-chat-day-groups.js +45 -0
- package/dist/components/chat/mingo-chat-header.d.ts +34 -6
- package/dist/components/chat/mingo-chat-header.d.ts.map +1 -1
- package/dist/components/chat/mingo-chat-header.js +44 -7
- package/dist/components/chat/mingo-chat-history-section.d.ts +30 -0
- package/dist/components/chat/mingo-chat-history-section.d.ts.map +1 -0
- package/dist/components/chat/mingo-chat-history-section.js +500 -0
- package/dist/components/chat/mingo-chat-history.d.ts +5 -2
- package/dist/components/chat/mingo-chat-history.d.ts.map +1 -1
- package/dist/components/chat/mingo-chat-history.js +26 -30
- package/dist/components/chat/mingo-chat-list-shared.d.ts +136 -0
- package/dist/components/chat/mingo-chat-list-shared.d.ts.map +1 -0
- package/dist/components/chat/mingo-chat-list-shared.js +76 -0
- package/dist/components/chat/mingo-chat-rail.d.ts +19 -51
- package/dist/components/chat/mingo-chat-rail.d.ts.map +1 -1
- package/dist/components/chat/mingo-chat-rail.js +23 -45
- package/dist/components/chat/mingo-edge-light.d.ts +13 -0
- package/dist/components/chat/mingo-edge-light.d.ts.map +1 -0
- package/dist/components/chat/mingo-edge-light.js +17 -0
- package/dist/components/chat/mingo-history-rail.d.ts +5 -4
- package/dist/components/chat/mingo-history-rail.d.ts.map +1 -1
- package/dist/components/chat/mingo-history-rail.js +5 -10
- package/dist/components/chat/mingo-quick-action-wall.d.ts +27 -0
- package/dist/components/chat/mingo-quick-action-wall.d.ts.map +1 -0
- package/dist/components/chat/mingo-quick-action-wall.js +41 -0
- package/dist/components/chat/mingo-welcome.d.ts.map +1 -1
- package/dist/components/chat/mingo-welcome.js +6 -20
- package/dist/components/chat/model-display.d.ts.map +1 -1
- package/dist/components/chat/model-display.js +38 -9
- package/dist/components/chat/stream/chat-dialog-store.d.ts.map +1 -1
- package/dist/components/chat/stream/chat-dialog-store.js +0 -1
- package/dist/components/chat/stream/chat-stream-reducer.d.ts +0 -4
- package/dist/components/chat/stream/chat-stream-reducer.d.ts.map +1 -1
- package/dist/components/chat/stream/chat-stream-reducer.js +6 -13
- package/dist/components/chat/tool-execution-display.d.ts.map +1 -1
- package/dist/components/chat/tool-execution-display.js +15 -1
- package/dist/components/chat/types/component.types.d.ts +13 -1
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/chat/types/unified-chat-state.types.d.ts +0 -5
- package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
- package/dist/components/chat/utils/chat-day-label.d.ts +8 -0
- package/dist/components/chat/utils/chat-day-label.d.ts.map +1 -0
- package/dist/components/chat/utils/chat-day-label.js +21 -0
- package/dist/components/contact/index.cjs +109 -107
- package/dist/components/docs/index.cjs +112 -110
- package/dist/components/embeds/index.cjs +109 -107
- package/dist/components/faq/index.cjs +110 -108
- package/dist/components/features/board/board-column.d.ts +3 -1
- package/dist/components/features/board/board-column.d.ts.map +1 -1
- package/dist/components/features/board/board-column.js +6 -2
- package/dist/components/features/board/board.d.ts +6 -0
- package/dist/components/features/board/board.d.ts.map +1 -1
- package/dist/components/features/board/board.js +14 -3
- 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/touch-board.js +3 -1
- package/dist/components/features/index.cjs +108 -106
- package/dist/components/features/notifications/approval-request-notification-tile.d.ts +7 -1
- package/dist/components/features/notifications/approval-request-notification-tile.d.ts.map +1 -1
- package/dist/components/features/notifications/approval-request-notification-tile.js +1 -1
- package/dist/components/features/notifications/notification-drawer.d.ts +6 -1
- package/dist/components/features/notifications/notification-drawer.d.ts.map +1 -1
- package/dist/components/features/notifications/notification-drawer.js +3 -2
- package/dist/components/features/notifications/notification-tile.d.ts +4 -1
- package/dist/components/features/notifications/notification-tile.d.ts.map +1 -1
- package/dist/components/features/notifications/notification-tile.js +9 -7
- package/dist/components/features/time-tracker/time-tracker-header-button.d.ts +18 -1
- package/dist/components/features/time-tracker/time-tracker-header-button.d.ts.map +1 -1
- package/dist/components/features/time-tracker/time-tracker-header-button.js +31 -7
- package/dist/components/help-center-pages/index.cjs +217 -215
- package/dist/components/icons-v2-generated/icon-loaders.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/icon-loaders.js +1 -0
- package/dist/components/icons-v2-generated/icon-names.js +1 -1
- package/dist/components/icons-v2-generated/index.cjs +90 -86
- package/dist/components/icons-v2-generated/loaders/dots-loader-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/loaders/dots-loader-icon.js +21 -24
- package/dist/components/icons-v2-generated/logos/index.d.ts +1 -0
- package/dist/components/icons-v2-generated/logos/index.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/logos/index.js +2 -0
- package/dist/components/icons-v2-generated/logos/mingo-logo-icon.d.ts +9 -0
- package/dist/components/icons-v2-generated/logos/mingo-logo-icon.d.ts.map +1 -0
- package/dist/components/icons-v2-generated/logos/mingo-logo-icon.js +36 -0
- package/dist/components/index.cjs +215 -182
- package/dist/components/meeting-scheduler/index.cjs +182 -180
- package/dist/components/navigation/account-popover.d.ts +62 -0
- package/dist/components/navigation/account-popover.d.ts.map +1 -0
- package/dist/components/navigation/account-popover.js +138 -0
- package/dist/components/navigation/app-header.d.ts +36 -2
- package/dist/components/navigation/app-header.d.ts.map +1 -1
- package/dist/components/navigation/app-header.js +28 -24
- package/dist/components/navigation/app-layout-context.d.ts +17 -0
- package/dist/components/navigation/app-layout-context.d.ts.map +1 -1
- package/dist/components/navigation/app-layout-context.js +9 -1
- package/dist/components/navigation/app-layout.d.ts +93 -1
- package/dist/components/navigation/app-layout.d.ts.map +1 -1
- package/dist/components/navigation/app-layout.js +149 -30
- package/dist/components/navigation/header-button.d.ts +11 -1
- package/dist/components/navigation/header-button.d.ts.map +1 -1
- package/dist/components/navigation/header-button.js +16 -5
- package/dist/components/navigation/header-mingo-button.d.ts.map +1 -1
- package/dist/components/navigation/header-mingo-button.js +6 -5
- package/dist/components/navigation/index.cjs +120 -109
- package/dist/components/navigation/index.d.ts +10 -1
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +8 -0
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/navigation/mingo-ai-button.js +2 -1
- package/dist/components/navigation/mobile-burger-menu.d.ts.map +1 -1
- package/dist/components/navigation/mobile-burger-menu.js +155 -39
- package/dist/components/navigation/navigation-sidebar-grouped.d.ts +57 -0
- package/dist/components/navigation/navigation-sidebar-grouped.d.ts.map +1 -0
- package/dist/components/navigation/navigation-sidebar-grouped.js +365 -0
- package/dist/components/navigation/navigation-sidebar-match.d.ts +37 -0
- package/dist/components/navigation/navigation-sidebar-match.d.ts.map +1 -0
- package/dist/components/navigation/navigation-sidebar-match.js +85 -0
- package/dist/components/navigation/navigation-sidebar-slot.d.ts +7 -0
- package/dist/components/navigation/navigation-sidebar-slot.d.ts.map +1 -0
- package/dist/components/navigation/navigation-sidebar-slot.js +11 -0
- package/dist/components/navigation/navigation-sidebar-toggle.d.ts +7 -1
- package/dist/components/navigation/navigation-sidebar-toggle.d.ts.map +1 -1
- package/dist/components/navigation/navigation-sidebar-toggle.js +52 -23
- package/dist/components/navigation/navigation-sidebar.d.ts +13 -1
- package/dist/components/navigation/navigation-sidebar.d.ts.map +1 -1
- package/dist/components/navigation/navigation-sidebar.js +188 -52
- package/dist/components/navigation/notifications-bell-button.d.ts +28 -0
- package/dist/components/navigation/notifications-bell-button.d.ts.map +1 -0
- package/dist/components/navigation/notifications-bell-button.js +44 -0
- package/dist/components/navigation/ticket-alerts-button.d.ts +7 -1
- package/dist/components/navigation/ticket-alerts-button.d.ts.map +1 -1
- package/dist/components/navigation/ticket-alerts-button.js +3 -2
- package/dist/components/onboarding-guides/index.cjs +111 -109
- package/dist/components/product-demo/index.cjs +119 -117
- package/dist/components/related-content/index.cjs +13 -13
- package/dist/components/tickets/index.cjs +115 -113
- package/dist/components/ui/actions-menu.d.ts +6 -1
- package/dist/components/ui/actions-menu.d.ts.map +1 -1
- package/dist/components/ui/actions-menu.js +6 -2
- package/dist/components/ui/fade-preview.d.ts +8 -0
- package/dist/components/ui/fade-preview.d.ts.map +1 -1
- package/dist/components/ui/fade-preview.js +7 -5
- package/dist/components/ui/index.cjs +136 -111
- 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 +1 -0
- package/dist/components/ui/mobile-action-bar.d.ts +14 -0
- package/dist/components/ui/mobile-action-bar.d.ts.map +1 -0
- package/dist/components/ui/mobile-action-bar.js +68 -0
- package/dist/components/ui/no-data/no-data-styles.d.ts +1 -1
- package/dist/components/ui/no-data/no-data-styles.d.ts.map +1 -1
- package/dist/components/ui/no-data/no-data-styles.js +1 -1
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/page-actions.js +24 -8
- package/dist/components/ui/panel-resize-handle.d.ts +6 -2
- package/dist/components/ui/panel-resize-handle.d.ts.map +1 -1
- package/dist/components/ui/panel-resize-handle.js +6 -3
- package/dist/components/ui/square-avatar.d.ts.map +1 -1
- package/dist/components/ui/square-avatar.js +5 -2
- package/dist/{devices-NTYNZEGJ.cjs → devices-SJORCARH.cjs} +109 -107
- package/dist/dots-loader-icon-5JXWD6FB.cjs +7 -0
- package/dist/{embeddable-chat-JAUO4O2T.cjs → embeddable-chat-7Z4CEZJL.cjs} +512 -400
- package/dist/hooks/index.cjs +15 -16
- package/dist/hooks/ui/use-content-breakpoint.d.ts +4 -2
- package/dist/hooks/ui/use-content-breakpoint.d.ts.map +1 -1
- package/dist/{icon-loaders-OLGJZGRP.cjs → icon-loaders-SUPEKMBJ.cjs} +2 -1
- package/dist/index.cjs +154 -121
- package/dist/{knowledge-I2LW27EP.cjs → knowledge-QXILUVEM.cjs} +109 -107
- package/dist/{logs-KLZHXSOU.cjs → logs-E3KQQQD6.cjs} +118 -115
- package/dist/mingo-logo-icon-WGPBSDTF.cjs +7 -0
- package/dist/{policies-SMDAHDKL.cjs → policies-IOYQY6TF.cjs} +112 -110
- package/dist/{remote-session-BQMTIQTU.cjs → remote-session-QGFG5WAL.cjs} +99 -97
- package/dist/{scripts-OMBBPNTU.cjs → scripts-E5TWWUNP.cjs} +115 -113
- package/dist/{software-update-ZIJYNJIC.cjs → software-update-QZGYG4TD.cjs} +112 -110
- package/dist/{tickets-board-TRXOX77R.cjs → tickets-board-KCH6ITUV.cjs} +95 -94
- package/dist/types/navigation.d.ts +131 -0
- package/dist/types/navigation.d.ts.map +1 -1
- package/dist/utils/index.cjs +65 -25
- package/package.json +1 -1
- package/src/chat-protocol/events.ts +0 -3
- package/src/chat-protocol/frames.ts +12 -8
- package/src/chat-protocol/leading-frames.ts +7 -4
- package/src/chat-protocol/progress.ts +31 -28
- package/src/components/chat/approval-batch-message.tsx +3 -2
- package/src/components/chat/chat-archive-page.tsx +16 -0
- package/src/components/chat/chat-composer.tsx +131 -61
- package/src/components/chat/chat-context-memory-bar.tsx +27 -17
- package/src/components/chat/chat-context-picker.tsx +45 -11
- package/src/components/chat/chat-header-rename-field.tsx +68 -0
- package/src/components/chat/chat-input.tsx +9 -1
- package/src/components/chat/composer-sheet.tsx +196 -0
- package/src/components/chat/embeddable-chat.tsx +636 -324
- package/src/components/chat/hooks/use-sse-chat-adapter.ts +0 -2
- package/src/components/chat/hooks/use-unified-chat.ts +0 -1
- package/src/components/chat/index.ts +6 -0
- package/src/components/chat/mingo-chat-day-groups.ts +62 -0
- package/src/components/chat/mingo-chat-header.tsx +99 -23
- package/src/components/chat/mingo-chat-history-section.tsx +670 -0
- package/src/components/chat/mingo-chat-history.tsx +31 -45
- package/src/components/chat/mingo-chat-list-shared.tsx +244 -0
- package/src/components/chat/mingo-chat-rail.tsx +45 -97
- package/src/components/chat/mingo-edge-light.tsx +25 -0
- package/src/components/chat/mingo-history-rail.tsx +7 -17
- package/src/components/chat/mingo-quick-action-wall.tsx +64 -0
- package/src/components/chat/mingo-welcome.tsx +5 -19
- package/src/components/chat/model-display.tsx +66 -14
- package/src/components/chat/stream/chat-dialog-store.ts +0 -1
- package/src/components/chat/stream/chat-stream-reducer.ts +6 -17
- package/src/components/chat/tool-execution-display.tsx +9 -1
- package/src/components/chat/types/component.types.ts +13 -1
- package/src/components/chat/types/unified-chat-state.types.ts +0 -6
- package/src/components/chat/utils/chat-day-label.ts +24 -0
- package/src/components/features/board/board-column.tsx +8 -0
- package/src/components/features/board/board.tsx +16 -2
- package/src/components/features/board/touch-board.tsx +2 -0
- package/src/components/features/notifications/approval-request-notification-tile.tsx +8 -2
- package/src/components/features/notifications/notification-drawer.tsx +7 -1
- package/src/components/features/notifications/notification-tile.tsx +17 -9
- package/src/components/features/time-tracker/time-tracker-header-button.tsx +53 -6
- package/src/components/icons-v2/icon-colors.json +4 -0
- package/src/components/icons-v2-generated/icon-loaders.ts +1 -0
- package/src/components/icons-v2-generated/icon-names.ts +1 -1
- package/src/components/icons-v2-generated/loaders/dots-loader-icon.tsx +18 -27
- package/src/components/icons-v2-generated/logos/index.ts +1 -0
- package/src/components/icons-v2-generated/logos/mingo-logo-icon.tsx +35 -0
- package/src/components/navigation/account-popover.tsx +198 -0
- package/src/components/navigation/app-header.tsx +74 -33
- package/src/components/navigation/app-layout-context.ts +22 -0
- package/src/components/navigation/app-layout.tsx +290 -24
- package/src/components/navigation/header-button.tsx +27 -5
- package/src/components/navigation/header-mingo-button.tsx +6 -5
- package/src/components/navigation/index.ts +19 -0
- package/src/components/navigation/mingo-ai-button.tsx +2 -3
- package/src/components/navigation/mobile-burger-menu.tsx +219 -53
- package/src/components/navigation/navigation-sidebar-grouped.tsx +554 -0
- package/src/components/navigation/navigation-sidebar-match.ts +152 -0
- package/src/components/navigation/navigation-sidebar-slot.ts +12 -0
- package/src/components/navigation/navigation-sidebar-toggle.tsx +39 -6
- package/src/components/navigation/navigation-sidebar.tsx +278 -61
- package/src/components/navigation/notifications-bell-button.tsx +70 -0
- package/src/components/navigation/ticket-alerts-button.tsx +9 -2
- package/src/components/ui/actions-menu.tsx +19 -3
- package/src/components/ui/fade-preview.tsx +13 -6
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/mobile-action-bar.ts +87 -0
- package/src/components/ui/no-data/no-data-styles.ts +5 -2
- package/src/components/ui/page-actions.tsx +38 -11
- package/src/components/ui/panel-resize-handle.tsx +14 -5
- package/src/components/ui/square-avatar.tsx +5 -2
- package/src/hooks/ui/use-content-breakpoint.ts +4 -2
- package/src/styles/ods-interaction-states.css +68 -0
- package/src/types/navigation.ts +140 -0
- package/dist/chunk-C7GIHB3V.cjs +0 -59
- package/dist/dots-loader-icon-RBLX46X7.cjs +0 -7
- package/dist/{chunk-ZOZR3QI2.cjs → chunk-46547WQW.cjs} +0 -0
- package/dist/{video-file-player-IAMWBKEQ.cjs → video-file-player-IHO66P2Q.cjs} +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkPBHP3FHOcjs = require('./chunk-PBHP3FHO.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -19,17 +19,17 @@ var _chunkUSUVHAQ7cjs = require('./chunk-USUVHAQ7.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkDAKGX2WFcjs = require('./chunk-DAKGX2WF.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var _chunkNTPX5GXIcjs = require('./chunk-NTPX5GXI.cjs');
|
|
27
26
|
|
|
28
27
|
|
|
28
|
+
var _chunk2HQNXX2Kcjs = require('./chunk-2HQNXX2K.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkNTPX5GXIcjs = require('./chunk-NTPX5GXI.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
@@ -126,7 +126,7 @@ var filePlayerLoad = null;
|
|
|
126
126
|
var filePlayerListeners = /* @__PURE__ */ new Set();
|
|
127
127
|
function loadFilePlayer() {
|
|
128
128
|
if (filePlayer || filePlayerLoad) return;
|
|
129
|
-
filePlayerLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./video-file-player-
|
|
129
|
+
filePlayerLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./video-file-player-IHO66P2Q.cjs"))).then((module) => {
|
|
130
130
|
filePlayer = module.default;
|
|
131
131
|
for (const listener of filePlayerListeners) listener();
|
|
132
132
|
}).catch(() => void 0).finally(() => {
|
|
@@ -156,7 +156,7 @@ var PosterBox = _react.forwardRef.call(void 0, function PosterBoxView({ poster,
|
|
|
156
156
|
src: poster,
|
|
157
157
|
alt: "",
|
|
158
158
|
fill: true,
|
|
159
|
-
sizes:
|
|
159
|
+
sizes: _chunk2HQNXX2Kcjs.IMAGE_SLOT.full,
|
|
160
160
|
priority,
|
|
161
161
|
unoptimized: true,
|
|
162
162
|
className: "object-cover"
|
|
@@ -528,7 +528,7 @@ function VideoHoverPreviewSurface({
|
|
|
528
528
|
isClone = false,
|
|
529
529
|
badge = "play",
|
|
530
530
|
fit,
|
|
531
|
-
posterSizes =
|
|
531
|
+
posterSizes = _chunk2HQNXX2Kcjs.fixedImageSlot.call(void 0, "cover"),
|
|
532
532
|
posterInView = false,
|
|
533
533
|
preload,
|
|
534
534
|
hideMutedBadge,
|
|
@@ -612,10 +612,10 @@ function VideoHoverPreviewSurface({
|
|
|
612
612
|
|
|
613
613
|
function EntityIcon({
|
|
614
614
|
icon,
|
|
615
|
-
size =
|
|
615
|
+
size = _chunk2HQNXX2Kcjs.IMAGE_FIXED_PX.glyph,
|
|
616
616
|
className
|
|
617
617
|
}) {
|
|
618
|
-
const identity =
|
|
618
|
+
const identity = _chunkPBHP3FHOcjs.useAgentIdentityIcon.call(void 0, _optionalChain([icon, 'optionalAccess', _19 => _19.url]) ? null : _optionalChain([icon, 'optionalAccess', _20 => _20.name]));
|
|
619
619
|
const held = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
620
620
|
if (held) {
|
|
621
621
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -636,7 +636,7 @@ function EntityIcon({
|
|
|
636
636
|
alt: "",
|
|
637
637
|
width: size,
|
|
638
638
|
height: size,
|
|
639
|
-
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
639
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkPBHP3FHOcjs.AGENT_PICTURE_CLASS, className),
|
|
640
640
|
unoptimized: true
|
|
641
641
|
}
|
|
642
642
|
);
|
|
@@ -655,8 +655,8 @@ function EntityIcon({
|
|
|
655
655
|
}
|
|
656
656
|
);
|
|
657
657
|
}
|
|
658
|
-
const Glyph =
|
|
659
|
-
const agentColor = identity ? { color:
|
|
658
|
+
const Glyph = _chunk2HQNXX2Kcjs.resolveIcon.call(void 0, _nullishCoalesce(_nullishCoalesce(_optionalChain([identity, 'optionalAccess', _24 => _24.name]), () => ( _optionalChain([icon, 'optionalAccess', _25 => _25.name]))), () => ( void 0)));
|
|
659
|
+
const agentColor = identity ? { color: _chunkPBHP3FHOcjs.AGENT_GLYPH_COLOR } : {};
|
|
660
660
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Glyph, { size, className, ...agentColor, ..._nullishCoalesce(_optionalChain([identity, 'optionalAccess', _26 => _26.props]), () => ( {})), ..._nullishCoalesce(_optionalChain([icon, 'optionalAccess', _27 => _27.props]), () => ( {})) });
|
|
661
661
|
}
|
|
662
662
|
|
|
@@ -966,7 +966,7 @@ function EntityPortraitCard({
|
|
|
966
966
|
setMeasured({ src, isWide: img.naturalWidth / img.naturalHeight >= MIN_WIDE_RATIO });
|
|
967
967
|
}
|
|
968
968
|
};
|
|
969
|
-
const edgeColor =
|
|
969
|
+
const edgeColor = _chunkDAKGX2WFcjs.useImageEdgeColor.call(void 0, isWide === false ? src : null, "var(--color-bg-surface)");
|
|
970
970
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EntityPortraitCardSkeleton, { typeLabel, className });
|
|
971
971
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: _chunk63A4GZMBcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { className: _chunk63A4GZMBcjs.cn.call(void 0, CONTENT_CARD_FRAME_CLASS, PORTRAIT_BODY), children: [
|
|
972
972
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -980,7 +980,7 @@ function EntityPortraitCard({
|
|
|
980
980
|
src,
|
|
981
981
|
alt: imageAlt,
|
|
982
982
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "h-full w-full", isWide === false ? "object-contain" : "object-cover"),
|
|
983
|
-
sizes:
|
|
983
|
+
sizes: _chunk2HQNXX2Kcjs.IMAGE_SLOT.panel,
|
|
984
984
|
fill: true,
|
|
985
985
|
priority,
|
|
986
986
|
unoptimized: true,
|
|
@@ -1076,11 +1076,11 @@ function useEntityCardLink({ href, targetPlatform, target, rel }) {
|
|
|
1076
1076
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
1077
1077
|
return _react.useMemo.call(void 0, () => {
|
|
1078
1078
|
if (target !== void 0 || rel !== void 0) {
|
|
1079
|
-
const safeRel = _nullishCoalesce(rel, () => ( (target === "_blank" ?
|
|
1079
|
+
const safeRel = _nullishCoalesce(rel, () => ( (target === "_blank" ? _chunkDAKGX2WFcjs.newTabRel.call(void 0, href, targetPlatform) : void 0)));
|
|
1080
1080
|
return { target, rel: safeRel };
|
|
1081
1081
|
}
|
|
1082
|
-
const resolved =
|
|
1083
|
-
const attrs =
|
|
1082
|
+
const resolved = _chunkDAKGX2WFcjs.navLinkTarget.call(void 0, runtime, href, targetPlatform);
|
|
1083
|
+
const attrs = _chunkDAKGX2WFcjs.newTabAnchorAttrs.call(void 0, resolved.isNewTab, resolved.href, targetPlatform);
|
|
1084
1084
|
return { target: attrs.target, rel: attrs.rel };
|
|
1085
1085
|
}, [target, rel, href, targetPlatform, runtime]);
|
|
1086
1086
|
}
|
|
@@ -1092,7 +1092,7 @@ function useEntityCardPlaceholder({
|
|
|
1092
1092
|
siteName = "",
|
|
1093
1093
|
aspect = "wide"
|
|
1094
1094
|
}) {
|
|
1095
|
-
const derived =
|
|
1095
|
+
const derived = _chunkDAKGX2WFcjs.useOgPlaceholderUrl.call(void 0, { title, siteName, aspect });
|
|
1096
1096
|
return placeholderUrl !== void 0 ? placeholderUrl : derived;
|
|
1097
1097
|
}
|
|
1098
1098
|
|
|
@@ -1267,7 +1267,7 @@ function LoadedCaseStudyCard({
|
|
|
1267
1267
|
alt: `${_optionalChain([study, 'access', _46 => _46.msp, 'optionalAccess', _47 => _47.name]) || study.title} cover`,
|
|
1268
1268
|
className: "object-contain",
|
|
1269
1269
|
fill: true,
|
|
1270
|
-
sizes:
|
|
1270
|
+
sizes: _chunk2HQNXX2Kcjs.fixedImageSlot.call(void 0, "tile"),
|
|
1271
1271
|
unoptimized: true,
|
|
1272
1272
|
onError: hideOnError
|
|
1273
1273
|
}
|
|
@@ -1309,7 +1309,7 @@ function LoadedCaseStudyCard({
|
|
|
1309
1309
|
active: hovered,
|
|
1310
1310
|
playerMounted: mediaMounted,
|
|
1311
1311
|
fit: "cover",
|
|
1312
|
-
posterSizes:
|
|
1312
|
+
posterSizes: _chunk2HQNXX2Kcjs.IMAGE_SLOT.panel
|
|
1313
1313
|
}
|
|
1314
1314
|
)
|
|
1315
1315
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -1320,7 +1320,7 @@ function LoadedCaseStudyCard({
|
|
|
1320
1320
|
alt: "",
|
|
1321
1321
|
className: "object-cover",
|
|
1322
1322
|
fill: true,
|
|
1323
|
-
sizes:
|
|
1323
|
+
sizes: _chunk2HQNXX2Kcjs.IMAGE_SLOT.panel,
|
|
1324
1324
|
unoptimized: true,
|
|
1325
1325
|
onError: hideOnError
|
|
1326
1326
|
}
|
|
@@ -1389,7 +1389,7 @@ function LoadedCaseStudyCard({
|
|
|
1389
1389
|
src: coverImage,
|
|
1390
1390
|
alt: _optionalChain([study, 'access', _68 => _68.msp, 'optionalAccess', _69 => _69.name]) || study.title,
|
|
1391
1391
|
className: "h-full w-full object-cover",
|
|
1392
|
-
sizes:
|
|
1392
|
+
sizes: _chunk2HQNXX2Kcjs.IMAGE_SLOT.card,
|
|
1393
1393
|
fill: true,
|
|
1394
1394
|
unoptimized: true,
|
|
1395
1395
|
onError: hideOnError
|
|
@@ -1,13 +1,13 @@
|
|
|
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 _chunkWGMU45NVcjs = require('./chunk-WGMU45NV.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk5AQKXEMIcjs = require('./chunk-5AQKXEMI.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkDU6AF77Xcjs = require('./chunk-DU6AF77X.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
@@ -36,8 +36,8 @@ function FaqDocumentPage({
|
|
|
36
36
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _ => _.label]), () => ( "Back to home")),
|
|
37
37
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
|
|
38
38
|
};
|
|
39
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40
|
-
|
|
39
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDU6AF77Xcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40
|
+
_chunkWGMU45NVcjs.FaqSection,
|
|
41
41
|
{
|
|
42
42
|
initialFaqs,
|
|
43
43
|
heading: null,
|
|
@@ -53,7 +53,7 @@ function FaqDocumentPage({
|
|
|
53
53
|
skeletonNav
|
|
54
54
|
}
|
|
55
55
|
) });
|
|
56
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
56
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5AQKXEMIcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkDAKGX2WFcjs = require('./chunk-DAKGX2WF.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3TOWCFIKcjs = require('./chunk-3TOWCFIK.cjs');
|
|
@@ -49,7 +49,7 @@ function PaginationControl({
|
|
|
49
49
|
);
|
|
50
50
|
}
|
|
51
51
|
const handleClick = (event) => {
|
|
52
|
-
if (
|
|
52
|
+
if (_chunkDAKGX2WFcjs.isModifierClick.call(void 0, event)) return;
|
|
53
53
|
event.preventDefault();
|
|
54
54
|
onPageChange(page);
|
|
55
55
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkHQ4FKHOOcjs = require('./chunk-HQ4FKHOO.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk2TQJSB62cjs = require('./chunk-2TQJSB62.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkGI3MMBP3cjs = require('./chunk-GI3MMBP3.cjs');
|
|
@@ -44,7 +44,7 @@ function isSummaryData(value) {
|
|
|
44
44
|
}
|
|
45
45
|
function TicketLiveProvider({ children, enabled = true }) {
|
|
46
46
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
47
|
-
const identity =
|
|
47
|
+
const identity = _chunk2TQJSB62cjs.useChatIdentity.call(void 0, enabled);
|
|
48
48
|
const queryClient = _reactquery.useQueryClient.call(void 0, );
|
|
49
49
|
const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
|
|
50
50
|
const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
|
|
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
|
|
|
160
160
|
_react2.default.useEffect(() => {
|
|
161
161
|
if (!streamEnabled) return void 0;
|
|
162
162
|
if (typeof window === "undefined") return void 0;
|
|
163
|
-
subscriptionRef.current =
|
|
163
|
+
subscriptionRef.current = _chunkHQ4FKHOOcjs.createSseSubscription.call(void 0, {
|
|
164
164
|
url: streamUrl,
|
|
165
165
|
onEvent: (name, data) => handlersRef.current.onEvent(name, data),
|
|
166
166
|
onStatusChange: (status) => handlersRef.current.onStatus(status),
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkDRSFR5ACcjs = require('./chunk-DRSFR5AC.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _chunkUEULXVW2cjs = require('./chunk-UEULXVW2.cjs');
|
|
9
8
|
|
|
9
|
+
var _chunkGRHF5SWLcjs = require('./chunk-GRHF5SWL.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkQS6AKUULcjs = require('./chunk-QS6AKUUL.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunk2HQNXX2Kcjs = require('./chunk-2HQNXX2K.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunk3V5JWG27cjs = require('./chunk-3V5JWG27.cjs');
|
|
@@ -56,7 +56,7 @@ function pickBadgePaletteColor({
|
|
|
56
56
|
var _jsxruntime = require('react/jsx-runtime');
|
|
57
57
|
function PaletteBadge({ text, color, className, variant = "button" }) {
|
|
58
58
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
59
|
-
|
|
59
|
+
_chunkQS6AKUULcjs.StatusBadge,
|
|
60
60
|
{
|
|
61
61
|
text,
|
|
62
62
|
colorScheme: isBadgePaletteKey(color) ? color : "default",
|
|
@@ -145,12 +145,12 @@ var STATUS_BADGE_SCHEME = {
|
|
|
145
145
|
abandoned: "default"
|
|
146
146
|
};
|
|
147
147
|
function EmployeeEntryBadge({ children }) {
|
|
148
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
148
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQS6AKUULcjs.StatusBadge, { text: children, colorScheme: "default", variant: "button", singleLine: true });
|
|
149
149
|
}
|
|
150
150
|
function EmployeeEntryCard(props) {
|
|
151
151
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || props.loading) {
|
|
152
152
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
153
|
-
|
|
153
|
+
_chunkDRSFR5ACcjs.AdminContentCard,
|
|
154
154
|
{
|
|
155
155
|
loading: true,
|
|
156
156
|
title: "",
|
|
@@ -172,9 +172,9 @@ function LoadedEmployeeEntryCard({
|
|
|
172
172
|
anchorProps,
|
|
173
173
|
className
|
|
174
174
|
}) {
|
|
175
|
-
const authorAvatar =
|
|
175
|
+
const authorAvatar = _chunkDRSFR5ACcjs.useProxiedImageUrl.call(void 0, _optionalChain([entry, 'access', _7 => _7.author, 'optionalAccess', _8 => _8.avatar_url]), { directHttps: false });
|
|
176
176
|
const card = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
177
|
-
|
|
177
|
+
_chunkDRSFR5ACcjs.AdminContentCard,
|
|
178
178
|
{
|
|
179
179
|
imageUrl: entry.featured_image || entry.main_video_thumbnail,
|
|
180
180
|
placeholderUrl,
|
|
@@ -182,7 +182,7 @@ function LoadedEmployeeEntryCard({
|
|
|
182
182
|
summary: (_nullishCoalesce(entry.summary, () => ( ""))).slice(0, 140) || "No description",
|
|
183
183
|
badges: entry.status || extraBadges ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
184
184
|
entry.status ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
185
|
-
|
|
185
|
+
_chunkQS6AKUULcjs.StatusBadge,
|
|
186
186
|
{
|
|
187
187
|
text: entry.status,
|
|
188
188
|
colorScheme: _nullishCoalesce(STATUS_BADGE_SCHEME[entry.status], () => ( "default")),
|
|
@@ -200,8 +200,8 @@ function LoadedEmployeeEntryCard({
|
|
|
200
200
|
src: authorAvatar,
|
|
201
201
|
alt: "",
|
|
202
202
|
className: "h-[1lh] w-[1lh] shrink-0 rounded-full object-cover",
|
|
203
|
-
width:
|
|
204
|
-
height:
|
|
203
|
+
width: _chunk2HQNXX2Kcjs.IMAGE_FIXED_PX.glyph,
|
|
204
|
+
height: _chunk2HQNXX2Kcjs.IMAGE_FIXED_PX.glyph,
|
|
205
205
|
unoptimized: true
|
|
206
206
|
}
|
|
207
207
|
) : null,
|
|
@@ -227,7 +227,7 @@ function WhatIShippedCard(props) {
|
|
|
227
227
|
EmployeeEntryCard,
|
|
228
228
|
{
|
|
229
229
|
entry,
|
|
230
|
-
dateLabel:
|
|
230
|
+
dateLabel: _chunkGRHF5SWLcjs.formatEntryMonthUTC.call(void 0, entry.entry_month, "short"),
|
|
231
231
|
placeholderUrl,
|
|
232
232
|
actions,
|
|
233
233
|
anchorProps,
|
|
@@ -248,7 +248,7 @@ function HowIWorkCard(props) {
|
|
|
248
248
|
EmployeeEntryCard,
|
|
249
249
|
{
|
|
250
250
|
entry,
|
|
251
|
-
dateLabel: entry.session_date ?
|
|
251
|
+
dateLabel: entry.session_date ? _chunkGRHF5SWLcjs.formatDateUTC.call(void 0, entry.session_date, { fallback: "" }) || null : null,
|
|
252
252
|
extraBadges: entry.discipline ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmployeeEntryBadge, { children: disciplineLabel(entry.discipline) }) : null,
|
|
253
253
|
untitledLabel: "Untitled session",
|
|
254
254
|
placeholderUrl,
|
|
@@ -270,7 +270,7 @@ function AiPromptCard(props) {
|
|
|
270
270
|
EmployeeEntryCard,
|
|
271
271
|
{
|
|
272
272
|
entry,
|
|
273
|
-
dateLabel: entry.published_at ?
|
|
273
|
+
dateLabel: entry.published_at ? _chunkGRHF5SWLcjs.formatDateUTC.call(void 0, entry.published_at, { fallback: "" }) || null : null,
|
|
274
274
|
extraBadges: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
275
275
|
departmentName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepartmentBadge, { department: { name: departmentName, color: _nullishCoalesce(_optionalChain([entry, 'access', _15 => _15.department, 'optionalAccess', _16 => _16.color]), () => ( null)) } }) : null,
|
|
276
276
|
steps > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmployeeEntryBadge, { children: `${steps} steps` }) : null
|
|
@@ -1,14 +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 _chunkLC65AC6Mcjs = require('./chunk-LC65AC6M.cjs');
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
|
-
var _chunkDVHSYPDBcjs = require('./chunk-DVHSYPDB.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkDAKGX2WFcjs = require('./chunk-DAKGX2WF.cjs');
|
|
12
12
|
|
|
13
13
|
// src/hooks/ui/use-debounce.ts
|
|
14
14
|
var _react = require('react');
|
|
@@ -261,6 +261,67 @@ function useAutoplay(onScreen) {
|
|
|
261
261
|
};
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
+
// src/utils/visitor-os.ts
|
|
265
|
+
var DESKTOP_OSES = ["mac", "windows", "linux"];
|
|
266
|
+
var HINT_PLATFORMS = {
|
|
267
|
+
macos: "mac",
|
|
268
|
+
windows: "windows",
|
|
269
|
+
linux: "linux",
|
|
270
|
+
"chrome os": "linux",
|
|
271
|
+
"chromium os": "linux",
|
|
272
|
+
android: "android",
|
|
273
|
+
ios: "ios"
|
|
274
|
+
};
|
|
275
|
+
function detectVisitorOs(userAgent, hints = {}) {
|
|
276
|
+
const touchMac = (os) => os === "mac" && (_nullishCoalesce(hints.maxTouchPoints, () => ( 0))) > 1 ? "ios" : os;
|
|
277
|
+
const hinted = HINT_PLATFORMS[(_nullishCoalesce(hints.platform, () => ( ""))).replace(/"/g, "").trim().toLowerCase()];
|
|
278
|
+
if (hinted) return touchMac(hinted);
|
|
279
|
+
const ua = _nullishCoalesce(userAgent, () => ( ""));
|
|
280
|
+
if (!ua) return null;
|
|
281
|
+
if (/iPhone|iPad|iPod/i.test(ua)) return "ios";
|
|
282
|
+
if (/Android/i.test(ua)) return "android";
|
|
283
|
+
if (/Windows NT|Win64|Win32/i.test(ua)) return "windows";
|
|
284
|
+
if (/Macintosh|Mac OS X/i.test(ua)) return touchMac("mac");
|
|
285
|
+
if (/Linux|X11|CrOS/i.test(ua)) return "linux";
|
|
286
|
+
return null;
|
|
287
|
+
}
|
|
288
|
+
function desktopOsOf(os) {
|
|
289
|
+
return os !== null && DESKTOP_OSES.includes(os) ? os : null;
|
|
290
|
+
}
|
|
291
|
+
function detectDesktopOs(userAgent, hints) {
|
|
292
|
+
return desktopOsOf(detectVisitorOs(userAgent, hints));
|
|
293
|
+
}
|
|
294
|
+
function usesCommandKey(os) {
|
|
295
|
+
return os === "mac" || os === "ios";
|
|
296
|
+
}
|
|
297
|
+
function shortcutLabel(os, key) {
|
|
298
|
+
return usesCommandKey(os) ? `\u2318${key}` : `Ctrl ${key}`;
|
|
299
|
+
}
|
|
300
|
+
function desktopOsBeforePaintScript(attribute) {
|
|
301
|
+
return `(function(){try{var n=window.navigator,h=n.userAgentData&&n.userAgentData.platform,p=String(h||'').replace(/"/g,'').trim().toLowerCase(),t=(n.maxTouchPoints||0)>1,o=null,m=${JSON.stringify(HINT_PLATFORMS)};if(m[p])o=m[p];else{var u=n.userAgent||'';if(/iPhone|iPad|iPod/i.test(u))o='ios';else if(/Android/i.test(u))o='android';else if(/Windows NT|Win64|Win32/i.test(u))o='windows';else if(/Macintosh|Mac OS X/i.test(u))o='mac';else if(/Linux|X11|CrOS/i.test(u))o='linux'}if(o==='mac'&&t)o='ios';if(o==='mac'||o==='windows'||o==='linux')document.documentElement.setAttribute(${JSON.stringify(attribute)},o)}catch(e){}})();`;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
// src/hooks/ui/use-visitor-os.ts
|
|
305
|
+
|
|
306
|
+
var UNKNOWN = { known: false, os: null };
|
|
307
|
+
var KNOWN = /* @__PURE__ */ new Map();
|
|
308
|
+
var subscribe = () => () => {
|
|
309
|
+
};
|
|
310
|
+
var getServerSnapshot = () => UNKNOWN;
|
|
311
|
+
function getSnapshot() {
|
|
312
|
+
const stated = _optionalChain([navigator, 'access', _14 => _14.userAgentData, 'optionalAccess', _15 => _15.platform]);
|
|
313
|
+
const os = detectVisitorOs(navigator.userAgent, { platform: stated, maxTouchPoints: navigator.maxTouchPoints });
|
|
314
|
+
let state = KNOWN.get(os);
|
|
315
|
+
if (!state) {
|
|
316
|
+
state = { known: true, os };
|
|
317
|
+
KNOWN.set(os, state);
|
|
318
|
+
}
|
|
319
|
+
return state;
|
|
320
|
+
}
|
|
321
|
+
function useVisitorOs() {
|
|
322
|
+
return _react.useSyncExternalStore.call(void 0, subscribe, getSnapshot, getServerSnapshot);
|
|
323
|
+
}
|
|
324
|
+
|
|
264
325
|
// src/utils/markdown-fences.ts
|
|
265
326
|
var FENCE_RE = /^ {0,3}(`{3,}|~{3,})([^\n]*?)\r?$/;
|
|
266
327
|
var BLANK_LINE_RE = /^[ \t\r]*$/;
|
|
@@ -322,7 +383,7 @@ function scanHeadings(content, options = {}) {
|
|
|
322
383
|
const lines = content.split("\n");
|
|
323
384
|
const fences = skipFences ? createFenceTracker() : null;
|
|
324
385
|
let start = 0;
|
|
325
|
-
if (skipFrontmatter && _optionalChain([lines, 'access',
|
|
386
|
+
if (skipFrontmatter && _optionalChain([lines, 'access', _16 => _16[0], 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()]) === "---") {
|
|
326
387
|
for (let i = 1; i < lines.length; i++) {
|
|
327
388
|
if (lines[i].trim() === "---" || lines[i].trim() === "...") {
|
|
328
389
|
start = i + 1;
|
|
@@ -340,7 +401,7 @@ function scanHeadings(content, options = {}) {
|
|
|
340
401
|
continue;
|
|
341
402
|
}
|
|
342
403
|
}
|
|
343
|
-
const prefix = _nullishCoalesce(_optionalChain([CONTAINER_PREFIX_RE, 'access',
|
|
404
|
+
const prefix = _nullishCoalesce(_optionalChain([CONTAINER_PREFIX_RE, 'access', _19 => _19.exec, 'call', _20 => _20(line), 'optionalAccess', _21 => _21[0]]), () => ( ""));
|
|
344
405
|
const body = prefix ? line.slice(prefix.length) : line;
|
|
345
406
|
const setext = SETEXT_UNDERLINE_RE.exec(body);
|
|
346
407
|
if (setext) {
|
|
@@ -610,27 +671,27 @@ function navigateSamePageHash(target, options = {}) {
|
|
|
610
671
|
|
|
611
672
|
// src/components/chat/utils/execute-navigation.ts
|
|
612
673
|
function isForeignOriginHref(href) {
|
|
613
|
-
return /^https?:\/\//i.test(href) && !
|
|
674
|
+
return /^https?:\/\//i.test(href) && !_chunkDAKGX2WFcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
614
675
|
}
|
|
615
676
|
function executeNewTabNavigation({
|
|
616
677
|
runtime,
|
|
617
678
|
href,
|
|
618
679
|
targetPlatform
|
|
619
680
|
}) {
|
|
620
|
-
if (runtime)
|
|
621
|
-
else window.open(href, "_blank",
|
|
681
|
+
if (runtime) _chunkDAKGX2WFcjs.resolveExternalNavigation.call(void 0, { href, targetPlatform, runtime }).open();
|
|
682
|
+
else window.open(href, "_blank", _chunkDAKGX2WFcjs.newTabFeatures.call(void 0, href, targetPlatform));
|
|
622
683
|
}
|
|
623
684
|
function runNavigation(runtime, href, path, targetPlatform, hostRoute, openIn) {
|
|
624
|
-
const { isNewTab } =
|
|
685
|
+
const { isNewTab } = _chunkDAKGX2WFcjs.navLinkTarget.call(void 0, runtime, href, targetPlatform, { hostRoute, openIn });
|
|
625
686
|
if (isNewTab) {
|
|
626
687
|
executeNewTabNavigation({ runtime, href, targetPlatform });
|
|
627
688
|
return;
|
|
628
689
|
}
|
|
629
|
-
const target = isForeignOriginHref(href) ? href :
|
|
690
|
+
const target = isForeignOriginHref(href) ? href : _chunkDAKGX2WFcjs.stripSameOriginToPath.call(void 0, href);
|
|
630
691
|
if (target.includes("#") && navigateSamePageHash(target, { headerOffset: STICKY_HEADER_OFFSET_PX })) {
|
|
631
692
|
return;
|
|
632
693
|
}
|
|
633
|
-
if (!_optionalChain([runtime, 'optionalAccess',
|
|
694
|
+
if (!_optionalChain([runtime, 'optionalAccess', _22 => _22.navigation, 'access', _23 => _23.navigate, 'optionalCall', _24 => _24({ href, path, targetPlatform })])) window.location.assign(target);
|
|
634
695
|
}
|
|
635
696
|
function executeNavigation({
|
|
636
697
|
event,
|
|
@@ -697,4 +758,12 @@ function executeNavigationImperative({
|
|
|
697
758
|
|
|
698
759
|
|
|
699
760
|
|
|
700
|
-
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
exports.useDebounce = useDebounce; exports.useMarqueeEngine = useMarqueeEngine; exports.useResetOnPageHidden = useResetOnPageHidden; exports.useSuppressCloneFocus = useSuppressCloneFocus; exports.PREFERS_REDUCED_MOTION_QUERY = PREFERS_REDUCED_MOTION_QUERY; exports.usePrefersReducedMotion = usePrefersReducedMotion; exports.usePrefersReducedMotionState = usePrefersReducedMotionState; exports.useInView = useInView; exports.useAutoplay = useAutoplay; exports.DESKTOP_OSES = DESKTOP_OSES; exports.detectVisitorOs = detectVisitorOs; exports.desktopOsOf = desktopOsOf; exports.detectDesktopOs = detectDesktopOs; exports.usesCommandKey = usesCommandKey; exports.shortcutLabel = shortcutLabel; exports.desktopOsBeforePaintScript = desktopOsBeforePaintScript; exports.useVisitorOs = useVisitorOs; exports.isBlankLine = isBlankLine; exports.createFenceTracker = createFenceTracker; exports.HEADING_EMOJI_RE = HEADING_EMOJI_RE; exports.stripHeadingEmojis = stripHeadingEmojis; exports.slugifyHeadingBase = slugifyHeadingBase; exports.slugifyHeadingText = slugifyHeadingText; exports.scanHeadings = scanHeadings; exports.createHeadingIdDeduper = createHeadingIdDeduper; exports.normalizeAnchorId = normalizeAnchorId; exports.findAnchorElementByNormalizedId = findAnchorElementByNormalizedId; exports.getScrollableAncestor = getScrollableAncestor; exports.declaredScrollMarginTop = declaredScrollMarginTop; exports.scrollElementIntoView = scrollElementIntoView; exports.STICKY_HEADER_OFFSET_PX = STICKY_HEADER_OFFSET_PX; exports.HUB_HEADER_OFFSET_PX = HUB_HEADER_OFFSET_PX; exports.normalizeHashFragment = normalizeHashFragment; exports.getHashTargetElement = getHashTargetElement; exports.LOCATION_HASH_SYNC_EVENT = LOCATION_HASH_SYNC_EVENT; exports.ACTIVE_ANCHOR_ATTRIBUTE = ACTIVE_ANCHOR_ATTRIBUTE; exports.replaceLocationHash = replaceLocationHash; exports.isScrollSyncedHash = isScrollSyncedHash; exports.navigateSamePageHash = navigateSamePageHash; exports.executeNewTabNavigation = executeNewTabNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative;
|