@flamingo-stack/openframe-frontend-core 0.0.825 → 0.0.827
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-QMFGPABF.cjs} +5 -5
- package/dist/{chunk-QOAA7ZHB.cjs → chunk-2HQNXX2K.cjs} +2 -2
- package/dist/{chunk-NONMZ5WJ.cjs → chunk-2VLPXUQK.cjs} +14 -83
- package/dist/{chunk-OBQ5WUNG.cjs → chunk-3B6ZE4EZ.cjs} +29 -29
- package/dist/{chunk-BN7QENV7.cjs → chunk-3WKQ2GCR.cjs} +6 -6
- package/dist/{chunk-AO6YVNAH.cjs → chunk-4ZH7RPEA.cjs} +979 -1357
- package/dist/{chunk-25HBH4J6.cjs → chunk-5BM7X4GA.cjs} +2 -2
- package/dist/{chunk-UEULXVW2.cjs → chunk-6GPMVHJN.cjs} +23 -23
- package/dist/{chunk-IMMTH3F3.cjs → chunk-6SFCI6D4.cjs} +29 -27
- package/dist/{chunk-7DJWIVQC.cjs → chunk-6ZLCEIIC.cjs} +36 -36
- package/dist/{chunk-467T3LCG.cjs → chunk-7PZQ7SHB.cjs} +49 -32
- package/dist/{chunk-47SHKOCY.cjs → chunk-7VC5FVWT.cjs} +86 -86
- package/dist/{chunk-AUBR3FGY.cjs → chunk-ALRX2VIY.cjs} +28 -28
- package/dist/{chunk-XJMLZ63Y.cjs → chunk-B5H7RKFF.cjs} +4 -4
- package/dist/{chunk-2U7GXE3T.cjs → chunk-BGT6JFMP.cjs} +12636 -11302
- 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-MHR4C465.cjs → chunk-DR4P7AEU.cjs} +3 -3
- package/dist/{chunk-IJCSQFLD.cjs → chunk-DU6AF77X.cjs} +83 -121
- package/dist/{chunk-SBFBNOKU.cjs → chunk-ENMPSEEQ.cjs} +4 -4
- package/dist/{chunk-ZECG6GU5.cjs → chunk-F2J5WN6U.cjs} +2 -2
- package/dist/{chunk-2IWAHBCC.cjs → chunk-FMSAN6SR.cjs} +159 -159
- package/dist/{chunk-BOS7OIC4.cjs → chunk-GRHF5SWL.cjs} +5 -2
- package/dist/{chunk-ZRDVFADQ.cjs → chunk-IBD2FPSX.cjs} +75 -9
- package/dist/{chunk-T266OITJ.cjs → chunk-IKWQW3YJ.cjs} +45 -45
- package/dist/{chunk-APTFXX2C.cjs → chunk-K6X7VP2Y.cjs} +46 -46
- package/dist/{chunk-QDDBOCG3.cjs → chunk-KPGKTEEB.cjs} +2 -2
- package/dist/{chunk-B7NSH7IK.cjs → chunk-LKP5R3EQ.cjs} +5 -5
- package/dist/chunk-OEP5KAT6.cjs +56 -0
- package/dist/{chunk-Z7BLMJEI.cjs → chunk-OKTNRGM5.cjs} +54 -54
- package/dist/chunk-OT6P57ZS.cjs +94 -0
- package/dist/{chunk-QQT23JJ7.cjs → chunk-PBHP3FHO.cjs} +4 -4
- package/dist/{chunk-P25RVNGX.cjs → chunk-QMQWXGCH.cjs} +249 -108
- package/dist/{chunk-6LVJKPR3.cjs → chunk-RPKWEBHC.cjs} +8 -8
- package/dist/{chunk-NPNZAAOB.cjs → chunk-S6UJEW4G.cjs} +2 -2
- package/dist/{chunk-EHANO6UE.cjs → chunk-SVCTAOJR.cjs} +9 -129
- package/dist/{chunk-MALCUN2G.cjs → chunk-UULSSD56.cjs} +12 -14
- package/dist/{chunk-N7IDLF2G.cjs → chunk-UWGPYAB3.cjs} +1283 -268
- package/dist/{chunk-4IY5FKYL.cjs → chunk-VAIML6YU.cjs} +23 -23
- package/dist/{chunk-A34UNP5V.cjs → chunk-W4VEDSAX.cjs} +80 -11
- package/dist/{chunk-5S2GW6YG.cjs → chunk-XPF74L76.cjs} +17 -17
- package/dist/{chunk-DNZCSPMU.cjs → chunk-YKUL6JBI.cjs} +20 -20
- package/dist/{chunk-QOOMUGF2.cjs → chunk-YMLRDVPO.cjs} +15 -15
- package/dist/{chunk-NL34HKLS.cjs → chunk-ZT7JHN7G.cjs} +91 -91
- package/dist/{cloud-tenants-M4VFFN33.cjs → cloud-tenants-LKTWIZNS.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 -215
- 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-stream-reducer.d.ts.map +1 -1
- package/dist/components/chat/stream/chat-stream-reducer.js +2 -15
- package/dist/components/chat/thinking-display.d.ts.map +1 -1
- package/dist/components/chat/thinking-display.js +2 -1
- 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/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-DW5NDXMD.cjs → devices-JWG72ANF.cjs} +109 -107
- package/dist/dots-loader-icon-5JXWD6FB.cjs +7 -0
- package/dist/{embeddable-chat-NBJMXEXB.cjs → embeddable-chat-5UT6UHEO.cjs} +513 -398
- 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-EYJG2TNW.cjs → knowledge-DQXVSHME.cjs} +109 -107
- package/dist/{logs-2LV7DTSL.cjs → logs-Z33VBTVX.cjs} +118 -115
- package/dist/mingo-logo-icon-WGPBSDTF.cjs +7 -0
- package/dist/{policies-HSDYIQBX.cjs → policies-XE4UMH6Z.cjs} +112 -110
- package/dist/{remote-session-BQMTIQTU.cjs → remote-session-QGFG5WAL.cjs} +99 -97
- package/dist/{scripts-UI6V7ANQ.cjs → scripts-MECQG5GG.cjs} +115 -113
- package/dist/{software-update-WMLY7VHH.cjs → software-update-PCSIA6BP.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/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 -319
- 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-stream-reducer.ts +4 -18
- package/src/components/chat/thinking-display.tsx +2 -1
- package/src/components/chat/tool-execution-display.tsx +9 -1
- package/src/components/chat/types/component.types.ts +13 -1
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk4ZH7RPEAcjs = require('./chunk-4ZH7RPEA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
|
|
@@ -11,10 +11,10 @@ var _chunkM7ZSKWT3cjs = require('./chunk-M7ZSKWT3.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunk2VLPXUQKcjs = require('./chunk-2VLPXUQK.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkGRHF5SWLcjs = require('./chunk-GRHF5SWL.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkFCZAUK4Dcjs = require('./chunk-FCZAUK4D.cjs');
|
|
@@ -29,7 +29,7 @@ function FileDownloadCard({ fileName, mimeType, fileSize, fileUrl }) {
|
|
|
29
29
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h3", children: fileName || "File" }),
|
|
30
30
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-2 flex items-center justify-center gap-3 text-ods-text-secondary text-h6", children: [
|
|
31
31
|
mimeType && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: mimeType }),
|
|
32
|
-
typeof fileSize === "number" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children:
|
|
32
|
+
typeof fileSize === "number" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _chunkGRHF5SWLcjs.formatFileSize.call(void 0, fileSize) })
|
|
33
33
|
] })
|
|
34
34
|
] }),
|
|
35
35
|
fileUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "accent", href: fileUrl, openInNewTab: true, leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Download, { className: "h-4 w-4" }), children: "Download File" })
|
|
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
48
48
|
] });
|
|
49
49
|
}
|
|
50
50
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
51
|
-
|
|
51
|
+
_chunk4ZH7RPEAcjs.EmbedViewerFrame,
|
|
52
52
|
{
|
|
53
53
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
|
|
54
54
|
title: displayName,
|
|
@@ -57,7 +57,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
57
57
|
{
|
|
58
58
|
variant: "outline",
|
|
59
59
|
size: "small-legacy",
|
|
60
|
-
href:
|
|
60
|
+
href: _chunk2VLPXUQKcjs.toGoogleSheetsOriginalUrl.call(void 0, externalUrl),
|
|
61
61
|
openInNewTab: true,
|
|
62
62
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-4 w-4" }),
|
|
63
63
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }),
|
|
@@ -65,7 +65,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
65
65
|
children: "Open in Google Sheets"
|
|
66
66
|
}
|
|
67
67
|
),
|
|
68
|
-
src:
|
|
68
|
+
src: _chunk2VLPXUQKcjs.toGoogleSheetsEmbedUrl.call(void 0, externalUrl),
|
|
69
69
|
height
|
|
70
70
|
}
|
|
71
71
|
);
|
|
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
|
|
|
83
83
|
] });
|
|
84
84
|
}
|
|
85
85
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
86
|
-
|
|
86
|
+
_chunk4ZH7RPEAcjs.EmbedViewerFrame,
|
|
87
87
|
{
|
|
88
88
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
|
|
89
89
|
title: displayName,
|
|
@@ -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
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkBGT6JFMPcjs = require('./chunk-BGT6JFMP.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkMG3HJIGGcjs = require('./chunk-MG3HJIGG.cjs');
|
|
@@ -13,6 +13,9 @@ var _chunkMG3HJIGGcjs = require('./chunk-MG3HJIGG.cjs');
|
|
|
13
13
|
var _chunkYSDB6HGQcjs = require('./chunk-YSDB6HGQ.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
|
|
17
|
+
|
|
18
|
+
|
|
16
19
|
var _chunkGI3MMBP3cjs = require('./chunk-GI3MMBP3.cjs');
|
|
17
20
|
|
|
18
21
|
|
|
@@ -89,130 +92,8 @@ function useResizablePanelSize({
|
|
|
89
92
|
return { size, setSize, clampSize };
|
|
90
93
|
}
|
|
91
94
|
|
|
92
|
-
// src/components/ui/panel-resize-handle.tsx
|
|
93
|
-
|
|
94
|
-
var _jsxruntime = require('react/jsx-runtime');
|
|
95
|
-
var HORIZONTAL_SIDES = /* @__PURE__ */ new Set(["left", "right"]);
|
|
96
|
-
function finishDrag(startRef, dragSizeRef, commit) {
|
|
97
|
-
if (!startRef.current) return;
|
|
98
|
-
startRef.current = null;
|
|
99
|
-
if (dragSizeRef.current !== null) commit(dragSizeRef.current);
|
|
100
|
-
dragSizeRef.current = null;
|
|
101
|
-
document.body.style.cursor = "";
|
|
102
|
-
document.body.style.userSelect = "";
|
|
103
|
-
}
|
|
104
|
-
function PanelResizeHandle({
|
|
105
|
-
side,
|
|
106
|
-
size,
|
|
107
|
-
minSize,
|
|
108
|
-
maxSize,
|
|
109
|
-
onSize,
|
|
110
|
-
clampSize,
|
|
111
|
-
panelRef,
|
|
112
|
-
variant,
|
|
113
|
-
ariaLabel
|
|
114
|
-
}) {
|
|
115
|
-
const isHorizontal = HORIZONTAL_SIDES.has(side);
|
|
116
|
-
const startRef = _react.useRef.call(void 0, null);
|
|
117
|
-
const dragSizeRef = _react.useRef.call(void 0, null);
|
|
118
|
-
const onSizeRef = _react.useRef.call(void 0, onSize);
|
|
119
|
-
_react.useEffect.call(void 0, () => {
|
|
120
|
-
onSizeRef.current = onSize;
|
|
121
|
-
}, [onSize]);
|
|
122
|
-
_react.useEffect.call(void 0, () => () => finishDrag(startRef, dragSizeRef, onSizeRef.current), []);
|
|
123
|
-
const direction = side === "right" || side === "bottom" ? -1 : 1;
|
|
124
|
-
const handlePointerDown = (e) => {
|
|
125
|
-
if (e.button !== 0 && e.pointerType === "mouse") return;
|
|
126
|
-
e.preventDefault();
|
|
127
|
-
startRef.current = { x: e.clientX, y: e.clientY, size };
|
|
128
|
-
e.currentTarget.setPointerCapture(e.pointerId);
|
|
129
|
-
document.body.style.cursor = isHorizontal ? "col-resize" : "row-resize";
|
|
130
|
-
document.body.style.userSelect = "none";
|
|
131
|
-
};
|
|
132
|
-
const handlePointerMove = (e) => {
|
|
133
|
-
const start = startRef.current;
|
|
134
|
-
const panel = panelRef.current;
|
|
135
|
-
if (!start || !panel) return;
|
|
136
|
-
const delta = isHorizontal ? e.clientX - start.x : e.clientY - start.y;
|
|
137
|
-
const next = clampSize(start.size + delta * direction);
|
|
138
|
-
dragSizeRef.current = next;
|
|
139
|
-
panel.style[isHorizontal ? "width" : "height"] = `${next}px`;
|
|
140
|
-
e.currentTarget.setAttribute("aria-valuenow", String(Math.round(next)));
|
|
141
|
-
};
|
|
142
|
-
const endDrag = (e) => {
|
|
143
|
-
if (!startRef.current) return;
|
|
144
|
-
finishDrag(startRef, dragSizeRef, onSize);
|
|
145
|
-
try {
|
|
146
|
-
e.currentTarget.releasePointerCapture(e.pointerId);
|
|
147
|
-
} catch (e2) {
|
|
148
|
-
}
|
|
149
|
-
};
|
|
150
|
-
const handleKeyDown = (e) => {
|
|
151
|
-
const step = e.shiftKey ? 40 : 16;
|
|
152
|
-
if (isHorizontal) {
|
|
153
|
-
if (e.key === "ArrowLeft") {
|
|
154
|
-
e.preventDefault();
|
|
155
|
-
onSize(size + step * (side === "right" ? 1 : -1));
|
|
156
|
-
} else if (e.key === "ArrowRight") {
|
|
157
|
-
e.preventDefault();
|
|
158
|
-
onSize(size + step * (side === "right" ? -1 : 1));
|
|
159
|
-
}
|
|
160
|
-
} else {
|
|
161
|
-
if (e.key === "ArrowUp") {
|
|
162
|
-
e.preventDefault();
|
|
163
|
-
onSize(size + step * (side === "bottom" ? 1 : -1));
|
|
164
|
-
} else if (e.key === "ArrowDown") {
|
|
165
|
-
e.preventDefault();
|
|
166
|
-
onSize(size + step * (side === "bottom" ? -1 : 1));
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
if (e.key === "Home") {
|
|
170
|
-
e.preventDefault();
|
|
171
|
-
onSize(minSize);
|
|
172
|
-
} else if (e.key === "End") {
|
|
173
|
-
e.preventDefault();
|
|
174
|
-
onSize(maxSize);
|
|
175
|
-
}
|
|
176
|
-
};
|
|
177
|
-
const track = variant === "inLayout" ? { w: "w-6", h: "h-6" } : { w: "w-3", h: "h-3" };
|
|
178
|
-
const trackPosition = side === "right" ? `right-full top-4 bottom-4 ${track.w} items-center justify-end pr-1` : side === "left" ? `left-full top-4 bottom-4 ${track.w} items-center justify-start pl-1` : side === "bottom" ? `bottom-full left-4 right-4 ${track.h} justify-center items-end pb-1` : `top-full left-4 right-4 ${track.h} justify-center items-start pt-1`;
|
|
179
|
-
const cursorClass = isHorizontal ? "cursor-col-resize" : "cursor-row-resize";
|
|
180
|
-
const gripClass = isHorizontal ? "h-10 w-1" : "w-10 h-1";
|
|
181
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
182
|
-
"div",
|
|
183
|
-
{
|
|
184
|
-
role: "separator",
|
|
185
|
-
tabIndex: 0,
|
|
186
|
-
"aria-orientation": isHorizontal ? "vertical" : "horizontal",
|
|
187
|
-
"aria-valuenow": Math.round(size),
|
|
188
|
-
"aria-valuemin": minSize,
|
|
189
|
-
"aria-valuemax": maxSize,
|
|
190
|
-
"aria-label": _nullishCoalesce(ariaLabel, () => ( (isHorizontal ? "Resize panel width" : "Resize panel height"))),
|
|
191
|
-
onPointerDown: handlePointerDown,
|
|
192
|
-
onPointerMove: handlePointerMove,
|
|
193
|
-
onPointerUp: endDrag,
|
|
194
|
-
onPointerCancel: endDrag,
|
|
195
|
-
onLostPointerCapture: endDrag,
|
|
196
|
-
onKeyDown: handleKeyDown,
|
|
197
|
-
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
198
|
-
"group absolute z-20 flex touch-none select-none",
|
|
199
|
-
"outline-none ring-0 focus:outline-none focus:ring-0 focus-visible:outline-none focus-visible:ring-0",
|
|
200
|
-
trackPosition,
|
|
201
|
-
cursorClass
|
|
202
|
-
),
|
|
203
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
204
|
-
"div",
|
|
205
|
-
{
|
|
206
|
-
"aria-hidden": true,
|
|
207
|
-
className: _chunk63A4GZMBcjs.cn.call(void 0, "rounded-full", variant === "inLayout" ? "bg-ods-border" : "bg-ods-bg-surface", gripClass)
|
|
208
|
-
}
|
|
209
|
-
)
|
|
210
|
-
}
|
|
211
|
-
);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
95
|
// src/components/ui/drawer.tsx
|
|
215
|
-
|
|
96
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
216
97
|
var OVERLAY_BACKDROP_CLASS = "bg-ods-overlay";
|
|
217
98
|
var Drawer = DialogPrimitive.Root;
|
|
218
99
|
var DrawerTrigger = DialogPrimitive.Trigger;
|
|
@@ -310,7 +191,7 @@ var drawerPanelVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
310
191
|
}
|
|
311
192
|
}
|
|
312
193
|
);
|
|
313
|
-
var
|
|
194
|
+
var HORIZONTAL_SIDES = /* @__PURE__ */ new Set(["left", "right"]);
|
|
314
195
|
var subscribeToResize = (onChange) => {
|
|
315
196
|
window.addEventListener("resize", onChange);
|
|
316
197
|
return () => window.removeEventListener("resize", onChange);
|
|
@@ -347,7 +228,7 @@ var DrawerContent = _react.forwardRef.call(void 0,
|
|
|
347
228
|
...props
|
|
348
229
|
}, ref) => {
|
|
349
230
|
const resolvedSide = _nullishCoalesce(side, () => ( "right"));
|
|
350
|
-
const isHorizontal =
|
|
231
|
+
const isHorizontal = HORIZONTAL_SIDES.has(resolvedSide);
|
|
351
232
|
const headerHeight = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, );
|
|
352
233
|
const [isMobile, setIsMobile] = _react.useState.call(void 0, false);
|
|
353
234
|
_react.useEffect.call(void 0, () => {
|
|
@@ -387,7 +268,7 @@ var DrawerContent = _react.forwardRef.call(void 0,
|
|
|
387
268
|
...props,
|
|
388
269
|
children: [
|
|
389
270
|
applyInlineSize ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
390
|
-
PanelResizeHandle,
|
|
271
|
+
_chunkBGT6JFMPcjs.PanelResizeHandle,
|
|
391
272
|
{
|
|
392
273
|
variant: "overlay",
|
|
393
274
|
side: resolvedSide,
|
|
@@ -587,5 +468,4 @@ function HoverDropdown({
|
|
|
587
468
|
|
|
588
469
|
|
|
589
470
|
|
|
590
|
-
|
|
591
|
-
exports.useResizablePanelSize = useResizablePanelSize; exports.PanelResizeHandle = PanelResizeHandle; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.HoverDropdown = HoverDropdown;
|
|
471
|
+
exports.useResizablePanelSize = useResizablePanelSize; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.HoverDropdown = HoverDropdown;
|
|
@@ -1,22 +1,20 @@
|
|
|
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 _chunkAO6YVNAHcjs = require('./chunk-AO6YVNAH.cjs');
|
|
5
4
|
|
|
6
5
|
|
|
7
6
|
|
|
8
7
|
|
|
8
|
+
var _chunkBGT6JFMPcjs = require('./chunk-BGT6JFMP.cjs');
|
|
9
9
|
|
|
10
|
-
var _chunk2U7GXE3Tcjs = require('./chunk-2U7GXE3T.cjs');
|
|
11
10
|
|
|
12
11
|
|
|
13
12
|
|
|
13
|
+
var _chunkW4VEDSAXcjs = require('./chunk-W4VEDSAX.cjs');
|
|
14
14
|
|
|
15
|
-
var _chunkA34UNP5Vcjs = require('./chunk-A34UNP5V.cjs');
|
|
16
15
|
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
var _chunkDVHSYPDBcjs = require('./chunk-DVHSYPDB.cjs');
|
|
17
|
+
var _chunkDAKGX2WFcjs = require('./chunk-DAKGX2WF.cjs');
|
|
20
18
|
|
|
21
19
|
|
|
22
20
|
var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
|
|
@@ -37,7 +35,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
37
35
|
function DocSearchResultRow({ result, isHighlighted }) {
|
|
38
36
|
const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
|
|
39
37
|
const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
|
|
40
|
-
const { Icon: SourceIcon, label: iconLabel } =
|
|
38
|
+
const { Icon: SourceIcon, label: iconLabel } = _chunkBGT6JFMPcjs.resolveSourceIcon.call(void 0, {
|
|
41
39
|
sourceRepo,
|
|
42
40
|
documentType: docType
|
|
43
41
|
});
|
|
@@ -67,7 +65,7 @@ function DocSearchBar({
|
|
|
67
65
|
renderResult
|
|
68
66
|
}) {
|
|
69
67
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
70
|
-
|
|
68
|
+
_chunkBGT6JFMPcjs.SearchInput,
|
|
71
69
|
{
|
|
72
70
|
placeholder,
|
|
73
71
|
value: query,
|
|
@@ -117,7 +115,7 @@ function mapDocSearchResults(docs) {
|
|
|
117
115
|
results.push({
|
|
118
116
|
id: `group-${entry.repo}`,
|
|
119
117
|
// Same table label and count as the chat's grouped chip: one owner each.
|
|
120
|
-
title: `${
|
|
118
|
+
title: `${_chunkBGT6JFMPcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkBGT6JFMPcjs.recordCountLabel.call(void 0, rows.length)}`,
|
|
121
119
|
path: rows[0].path,
|
|
122
120
|
type: "file",
|
|
123
121
|
metadata: {
|
|
@@ -173,9 +171,9 @@ function resolveSearchResultAction(result, source, runtime, composeContentUrl) {
|
|
|
173
171
|
externalUrl,
|
|
174
172
|
targetPlatform: _nullishCoalesce(targetPlatform, () => ( null))
|
|
175
173
|
}) : null;
|
|
176
|
-
const hostRoute = !!_optionalChain([composed, 'optionalAccess', _10 => _10.href]) &&
|
|
174
|
+
const hostRoute = !!_optionalChain([composed, 'optionalAccess', _10 => _10.href]) && _chunkDAKGX2WFcjs.isRelativeHref.call(void 0, composed.href);
|
|
177
175
|
const actionPlatform = composed ? composed.targetPlatform : _nullishCoalesce(targetPlatform, () => ( null));
|
|
178
|
-
const target =
|
|
176
|
+
const target = _chunkDAKGX2WFcjs.navLinkTarget.call(void 0, runtime, _optionalChain([composed, 'optionalAccess', _11 => _11.href]) || externalUrl, actionPlatform, { hostRoute });
|
|
179
177
|
const kind = target.isNewTab ? "navigate-new-tab" : "navigate-same-tab";
|
|
180
178
|
return hostRoute ? { kind, href: target.href, targetPlatform: actionPlatform, hostRoute } : { kind, href: target.href, targetPlatform: actionPlatform };
|
|
181
179
|
}
|
|
@@ -241,7 +239,7 @@ function useDocSearch(config) {
|
|
|
241
239
|
const [query, setQuery] = _react.useState.call(void 0, "");
|
|
242
240
|
const [results, setResults] = _react.useState.call(void 0, NO_RESULTS);
|
|
243
241
|
const [isFetching, setIsFetching] = _react.useState.call(void 0, false);
|
|
244
|
-
const debouncedQuery =
|
|
242
|
+
const debouncedQuery = _chunkW4VEDSAXcjs.useDebounce.call(void 0, query, 300);
|
|
245
243
|
const searchable = debouncedQuery.trim().length >= 2;
|
|
246
244
|
const [wasSearchable, setWasSearchable] = _react.useState.call(void 0, searchable);
|
|
247
245
|
if (wasSearchable !== searchable) {
|
|
@@ -299,13 +297,13 @@ function useDocSearch(config) {
|
|
|
299
297
|
case "navigate-new-tab": {
|
|
300
298
|
if (wantsNewTab) {
|
|
301
299
|
setKeepOpen(true);
|
|
302
|
-
|
|
300
|
+
_chunkW4VEDSAXcjs.executeNewTabNavigation.call(void 0, { runtime, href: action.href, targetPlatform: action.targetPlatform });
|
|
303
301
|
return;
|
|
304
302
|
}
|
|
305
303
|
setKeepOpen(action.kind === "navigate-new-tab");
|
|
306
304
|
const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
|
|
307
305
|
if (action.kind === "navigate-same-tab" && path && _optionalChain([onInPageSwap, 'optionalCall', _15 => _15(path)])) return;
|
|
308
|
-
|
|
306
|
+
_chunkW4VEDSAXcjs.executeNavigationImperative.call(void 0, {
|
|
309
307
|
runtime,
|
|
310
308
|
href: action.href,
|
|
311
309
|
path,
|
|
@@ -316,7 +314,7 @@ function useDocSearch(config) {
|
|
|
316
314
|
}
|
|
317
315
|
case "ask-ai":
|
|
318
316
|
setKeepOpen(false);
|
|
319
|
-
window.dispatchEvent(new CustomEvent(
|
|
317
|
+
window.dispatchEvent(new CustomEvent(_chunkBGT6JFMPcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
|
|
320
318
|
return;
|
|
321
319
|
case "route":
|
|
322
320
|
setKeepOpen(false);
|