@flamingo-stack/openframe-frontend-core 0.0.730 → 0.0.731
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/aicpa-soc2-logo-icon-MLDYZA5S.cjs +7 -0
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-XA436AER.cjs → chunk-25H2SZH7.cjs} +4 -4
- package/dist/{chunk-5RMCAY6Y.cjs → chunk-27TMRMOM.cjs} +6 -4
- package/dist/{chunk-SKDQ2SLJ.cjs → chunk-2UNQJVYN.cjs} +670 -667
- package/dist/{chunk-73MDSN5A.cjs → chunk-2WXLQ5R5.cjs} +2 -2
- package/dist/{chunk-YPM3ALIW.cjs → chunk-32ENYVFA.cjs} +42 -42
- package/dist/{chunk-CLA3UGKT.cjs → chunk-3SWLL4IM.cjs} +12 -12
- package/dist/{chunk-FGA6T2XT.cjs → chunk-4YPV4OI4.cjs} +73 -73
- package/dist/{chunk-2T2TH5DF.cjs → chunk-52HFGZCI.cjs} +14 -12
- package/dist/{chunk-PGFR4CDB.cjs → chunk-53XZ6MJ5.cjs} +40 -40
- package/dist/{chunk-4XQXTQUK.cjs → chunk-6N5NQRQA.cjs} +8 -6
- package/dist/{chunk-XSPL7RXL.cjs → chunk-6V4GEE55.cjs} +10 -10
- package/dist/{chunk-5KLNEFZZ.cjs → chunk-7DUXR4HL.cjs} +3 -3
- package/dist/{chunk-AIW4KZQT.cjs → chunk-A4HNF4MP.cjs} +89 -89
- package/dist/{chunk-2I3XU2IB.cjs → chunk-BFHLGEJK.cjs} +45 -45
- package/dist/{chunk-FRET5WH3.cjs → chunk-CKR42OBK.cjs} +4 -2
- package/dist/{chunk-A7T3P5Q5.cjs → chunk-CLILWI6O.cjs} +32 -32
- package/dist/{chunk-GJPAS4RJ.cjs → chunk-CT342EJU.cjs} +6 -4
- package/dist/{chunk-YHFXQ5OR.cjs → chunk-E3N24573.cjs} +9 -9
- package/dist/{chunk-24KWUFWA.cjs → chunk-FKKUQK4C.cjs} +38 -38
- package/dist/{chunk-UG7Q3HQH.cjs → chunk-GID62YEN.cjs} +3 -3
- package/dist/{chunk-NDHQ7JLZ.cjs → chunk-GKHWXI25.cjs} +11 -15
- package/dist/{chunk-KMMV562E.cjs → chunk-HEOD765R.cjs} +18 -18
- package/dist/{chunk-66QTEDJL.cjs → chunk-HI7EFAFQ.cjs} +26 -26
- package/dist/{chunk-CD5YBUJK.cjs → chunk-HLIJ3U2T.cjs} +20 -20
- package/dist/{chunk-4NFVFTD6.cjs → chunk-HY2KTQSL.cjs} +238 -238
- package/dist/{chunk-YJXUJWHN.cjs → chunk-J7SZOZOS.cjs} +28 -26
- package/dist/{chunk-6NKLR5QN.cjs → chunk-JK75ZZP3.cjs} +59 -59
- package/dist/{chunk-JNDR5N3T.cjs → chunk-JPZ4Y6X3.cjs} +93 -93
- package/dist/{chunk-NXCV35RR.cjs → chunk-KLXHCNDC.cjs} +3 -3
- package/dist/{chunk-6KD2XUQZ.cjs → chunk-LRQITIEC.cjs} +28 -26
- package/dist/chunk-MANNIJ42.cjs +967 -0
- package/dist/{chunk-TW2SES5W.cjs → chunk-NCGAP3U4.cjs} +4 -2
- package/dist/{chunk-DINGZJ37.cjs → chunk-NYY25425.cjs} +2 -2
- package/dist/{chunk-HVZBIXCZ.cjs → chunk-O2RPIGSG.cjs} +6 -4
- package/dist/{chunk-UYKL2AXE.cjs → chunk-OKW5OAFJ.cjs} +8 -6
- package/dist/{chunk-YRZB4BMZ.cjs → chunk-QP6QS3YU.cjs} +44 -44
- package/dist/{chunk-VQMWBQUJ.cjs → chunk-R4QMR6S4.cjs} +14 -12
- package/dist/{chunk-2V62Y67F.cjs → chunk-RAHRDJBP.cjs} +4 -4
- package/dist/{chunk-3YHVQ34L.cjs → chunk-RBOIGJYF.cjs} +89 -91
- package/dist/{chunk-NB5BYOTM.cjs → chunk-RC32WBPL.cjs} +6 -4
- package/dist/{chunk-TI2IFCZG.cjs → chunk-TH4N726A.cjs} +17 -17
- package/dist/{chunk-WTURHKM2.cjs → chunk-XDBHGWFH.cjs} +14 -14
- package/dist/{chunk-P4YHBHP4.cjs → chunk-Y4QRK3CB.cjs} +7 -7
- package/dist/{chunk-Q5GR7LKV.cjs → chunk-YDGBRI3Y.cjs} +15 -15
- package/dist/{chunk-CDLDAQBA.cjs → chunk-YJFN2W7A.cjs} +7 -7
- package/dist/{chunk-UHJG2BDI.cjs → chunk-YUXRIR45.cjs} +3 -3
- package/dist/{chunk-L7Y7KDTM.cjs → chunk-ZV6473Z4.cjs} +20 -20
- package/dist/{chunk-GVTCHXW2.cjs → chunk-ZWUIRQNY.cjs} +28 -26
- package/dist/clickup-icon-3SETH2MM.cjs +7 -0
- package/dist/clickup-logo-icon-DJKBEFMR.cjs +7 -0
- package/dist/{cloud-tenants-VV6UQE7J.cjs → cloud-tenants-SC4FNAC2.cjs} +34 -34
- package/dist/components/case-studies/index.cjs +47 -47
- package/dist/components/chat/entity-cards/entity-portrait-card.js +1 -1
- package/dist/components/chat/index.cjs +28 -28
- package/dist/components/chat/types/entities/program-types.d.ts +1 -23
- package/dist/components/chat/types/entities/program-types.d.ts.map +1 -1
- package/dist/components/chat/types/entities/program-types.js +1 -9
- package/dist/components/chat/utils/icon-loading.d.ts +35 -2
- package/dist/components/chat/utils/icon-loading.d.ts.map +1 -1
- package/dist/components/chat/utils/icon-loading.js +31 -9
- package/dist/components/contact/index.cjs +35 -35
- package/dist/components/docs/index.cjs +38 -38
- package/dist/components/embeds/index.cjs +35 -35
- package/dist/components/faq/index.cjs +35 -35
- package/dist/components/features/index.cjs +36 -34
- package/dist/components/features/video-bites-shared.cjs +8 -0
- package/dist/components/features/video-bites-shared.d.ts +25 -0
- package/dist/components/features/video-bites-shared.d.ts.map +1 -1
- package/dist/components/features/video-bites-shared.js +8 -0
- package/dist/components/help-center-pages/index.cjs +150 -150
- package/dist/components/icons-v2-generated/brand-logos/clickup-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-icon.js +6 -4
- package/dist/components/icons-v2-generated/brand-logos/clickup-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-logo-icon.js +6 -4
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.js +4 -2
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-icon.js +14 -12
- package/dist/components/icons-v2-generated/brand-logos/gemini-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/gemini-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/gemini-logo-icon.js +28 -26
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-icon.js +28 -26
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.js +28 -26
- package/dist/components/icons-v2-generated/brand-logos/google-sheets-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-sheets-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-sheets-icon.js +4 -2
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.js +8 -6
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.js +8 -6
- package/dist/components/icons-v2-generated/brand-logos/winget-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/winget-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/winget-logo-icon.js +14 -12
- package/dist/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.js +6 -4
- package/dist/components/icons-v2-generated/compliance-logos/eu-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/eu-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/eu-logo-icon.js +11 -15
- package/dist/components/icons-v2-generated/icon-names.d.ts +5 -0
- package/dist/components/icons-v2-generated/icon-names.d.ts.map +1 -0
- package/dist/components/icons-v2-generated/icon-names.js +10 -0
- package/dist/components/icons-v2-generated/index.cjs +15 -15
- package/dist/components/icons-v2-generated/interface/empty-vendor-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/interface/empty-vendor-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/interface/empty-vendor-icon.js +6 -4
- package/dist/components/index.cjs +91 -91
- package/dist/components/meeting-scheduler/index.cjs +93 -93
- package/dist/components/navigation/index.cjs +37 -37
- package/dist/components/onboarding-guides/index.cjs +37 -37
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/related-content/index.cjs +8 -8
- package/dist/components/shared/product-release/product-release-card.js +1 -1
- package/dist/components/tickets/index.cjs +38 -38
- package/dist/components/ui/index.cjs +34 -34
- package/dist/components/ui/photo-wall.d.ts.map +1 -1
- package/dist/components/ui/photo-wall.js +4 -1
- package/dist/{devices-X72Z4QMT.cjs → devices-7MHSJNXS.cjs} +35 -35
- package/dist/elestio-logo-grey-icon-DV7P3JLT.cjs +7 -0
- package/dist/elestio-logo-icon-34ILAIDI.cjs +7 -0
- package/dist/{embeddable-chat-TETIRLQD.cjs → embeddable-chat-VPIG3F7E.cjs} +103 -103
- package/dist/empty-vendor-icon-XZYOZ4EP.cjs +7 -0
- package/dist/eu-logo-icon-EYOX3UC7.cjs +7 -0
- package/dist/gemini-logo-icon-DNACTHIK.cjs +7 -0
- package/dist/google-gemini-icon-TZHJZ4IQ.cjs +7 -0
- package/dist/google-gemini-logo-icon-4XQVV5NN.cjs +7 -0
- package/dist/google-sheets-icon-UAAEBTR7.cjs +7 -0
- package/dist/hooks/index.cjs +8 -8
- package/dist/{chunk-SI24RMI5.cjs → icon-loaders-OLGJZGRP.cjs} +16 -950
- package/dist/index.cjs +40 -40
- package/dist/{knowledge-HWBSPQ7M.cjs → knowledge-4DREGSOZ.cjs} +35 -35
- package/dist/{logs-IZ4QTHPI.cjs → logs-BWXNT2KP.cjs} +42 -42
- package/dist/meshcentral-logo-grey-icon-UCRYV3IC.cjs +7 -0
- package/dist/meshcentral-logo-icon-76NSLOXF.cjs +7 -0
- package/dist/{policies-VHQR7JR5.cjs → policies-MGFUI23M.cjs} +38 -38
- package/dist/{remote-session-IR3YCXSR.cjs → remote-session-O6QGXV2N.cjs} +22 -22
- package/dist/schemas/contact-schema.cjs +31 -11
- package/dist/schemas/contact-schema.d.ts +1 -1
- package/dist/schemas/contact-schema.d.ts.map +1 -1
- package/dist/schemas/contact-schema.js +1 -1
- package/dist/schemas/meeting-booking-schema.cjs +34 -14
- package/dist/schemas/meeting-booking-schema.d.ts +1 -1
- package/dist/schemas/meeting-booking-schema.d.ts.map +1 -1
- package/dist/schemas/meeting-booking-schema.js +1 -1
- package/dist/{software-update-QLOVC6EX.cjs → software-update-7LF7XEYC.cjs} +38 -38
- package/dist/{tickets-board-YONLQB6F.cjs → tickets-board-KNXK747O.cjs} +25 -25
- package/dist/utils/index.cjs +2004 -1959
- package/dist/winget-logo-icon-GBS342G4.cjs +7 -0
- package/package.json +1 -1
- package/src/components/chat/entity-cards/entity-portrait-card.tsx +1 -1
- package/src/components/chat/types/entities/program-types.ts +4 -30
- package/src/components/chat/utils/icon-loading.tsx +50 -9
- package/src/components/features/video-bites-shared.ts +30 -0
- package/src/components/icons-v2-generated/brand-logos/clickup-icon.tsx +7 -5
- package/src/components/icons-v2-generated/brand-logos/clickup-logo-icon.tsx +7 -5
- package/src/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.tsx +5 -3
- package/src/components/icons-v2-generated/brand-logos/elestio-logo-icon.tsx +15 -13
- package/src/components/icons-v2-generated/brand-logos/gemini-logo-icon.tsx +29 -27
- package/src/components/icons-v2-generated/brand-logos/google-gemini-icon.tsx +29 -27
- package/src/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.tsx +29 -27
- package/src/components/icons-v2-generated/brand-logos/google-sheets-icon.tsx +5 -3
- package/src/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.tsx +9 -7
- package/src/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.tsx +9 -7
- package/src/components/icons-v2-generated/brand-logos/winget-logo-icon.tsx +15 -13
- package/src/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.tsx +92 -90
- package/src/components/icons-v2-generated/compliance-logos/eu-logo-icon.tsx +51 -52
- package/src/components/icons-v2-generated/icon-names.ts +11 -0
- package/src/components/icons-v2-generated/interface/empty-vendor-icon.tsx +7 -5
- package/src/components/shared/product-release/product-release-card.tsx +1 -1
- package/src/components/ui/photo-wall.tsx +6 -0
- package/src/schemas/contact-schema.ts +1 -1
- package/src/schemas/meeting-booking-schema.ts +1 -1
- package/src/styles/fonts.css +26 -0
- package/src/styles/ods-design-tokens.css +4 -2
- package/dist/aicpa-soc2-logo-icon-CJ5JRV6J.cjs +0 -7
- package/dist/clickup-icon-CBBUZUVQ.cjs +0 -7
- package/dist/clickup-logo-icon-CGDKKISS.cjs +0 -7
- package/dist/elestio-logo-grey-icon-Y5OFW4OO.cjs +0 -7
- package/dist/elestio-logo-icon-X7TTQAYP.cjs +0 -7
- package/dist/empty-vendor-icon-3RKCZUUR.cjs +0 -7
- package/dist/eu-logo-icon-N7QVPGG3.cjs +0 -7
- package/dist/gemini-logo-icon-QOPGATSZ.cjs +0 -7
- package/dist/google-gemini-icon-7GWWF6O6.cjs +0 -7
- package/dist/google-gemini-logo-icon-Z3GHPMVN.cjs +0 -7
- package/dist/google-sheets-icon-7MJ3LV4P.cjs +0 -7
- package/dist/meshcentral-logo-grey-icon-3VFJQMV2.cjs +0 -7
- package/dist/meshcentral-logo-icon-MDVBWMP5.cjs +0 -7
- package/dist/winget-logo-icon-XVZJ4QDM.cjs +0 -7
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkRAHRDJBPcjs = require('./chunk-RAHRDJBP.cjs');
|
|
8
8
|
require('./chunk-24I6RFVU.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -58,15 +58,15 @@ require('./chunk-24I6RFVU.cjs');
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
var
|
|
61
|
+
var _chunkHY2KTQSLcjs = require('./chunk-HY2KTQSL.cjs');
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
var
|
|
64
|
+
var _chunkHEOD765Rcjs = require('./chunk-HEOD765R.cjs');
|
|
65
65
|
require('./chunk-HZJRERJW.cjs');
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
var
|
|
69
|
+
var _chunkE3N24573cjs = require('./chunk-E3N24573.cjs');
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
var _chunkMJGX357Lcjs = require('./chunk-MJGX357L.cjs');
|
|
@@ -87,7 +87,7 @@ require('./chunk-EW6JDYIJ.cjs');
|
|
|
87
87
|
require('./chunk-RIYAW5XQ.cjs');
|
|
88
88
|
require('./chunk-V625LXMX.cjs');
|
|
89
89
|
require('./chunk-QZDWF4TP.cjs');
|
|
90
|
-
require('./chunk-
|
|
90
|
+
require('./chunk-R4QMR6S4.cjs');
|
|
91
91
|
require('./chunk-3XTNLCTC.cjs');
|
|
92
92
|
require('./chunk-WK6GYVD5.cjs');
|
|
93
93
|
require('./chunk-3EGCNO7J.cjs');
|
|
@@ -739,8 +739,8 @@ require('./chunk-QFE6P63F.cjs');
|
|
|
739
739
|
require('./chunk-O7V5GAHE.cjs');
|
|
740
740
|
require('./chunk-OCN4FL5Q.cjs');
|
|
741
741
|
require('./chunk-3ATL7GDU.cjs');
|
|
742
|
-
require('./chunk-
|
|
743
|
-
require('./chunk-
|
|
742
|
+
require('./chunk-OKW5OAFJ.cjs');
|
|
743
|
+
require('./chunk-6N5NQRQA.cjs');
|
|
744
744
|
require('./chunk-ZAOFZVLY.cjs');
|
|
745
745
|
require('./chunk-V5KXAQX4.cjs');
|
|
746
746
|
require('./chunk-PFRJIX7A.cjs');
|
|
@@ -973,7 +973,7 @@ require('./chunk-N72UPI7O.cjs');
|
|
|
973
973
|
require('./chunk-DXD6RXHR.cjs');
|
|
974
974
|
require('./chunk-4WBXPA7T.cjs');
|
|
975
975
|
require('./chunk-SSDZ2GXZ.cjs');
|
|
976
|
-
require('./chunk-
|
|
976
|
+
require('./chunk-CKR42OBK.cjs');
|
|
977
977
|
require('./chunk-5C2FFRM3.cjs');
|
|
978
978
|
require('./chunk-W4GNRZNW.cjs');
|
|
979
979
|
require('./chunk-I3XDST6Q.cjs');
|
|
@@ -982,8 +982,8 @@ require('./chunk-7V4BJPWN.cjs');
|
|
|
982
982
|
require('./chunk-PV5XWLHS.cjs');
|
|
983
983
|
require('./chunk-GBYDOBZJ.cjs');
|
|
984
984
|
require('./chunk-IVUEBSZI.cjs');
|
|
985
|
-
require('./chunk-
|
|
986
|
-
require('./chunk-
|
|
985
|
+
require('./chunk-J7SZOZOS.cjs');
|
|
986
|
+
require('./chunk-ZWUIRQNY.cjs');
|
|
987
987
|
require('./chunk-OISNGOVI.cjs');
|
|
988
988
|
require('./chunk-UTEMC6QY.cjs');
|
|
989
989
|
require('./chunk-JZCNK6ID.cjs');
|
|
@@ -1007,7 +1007,7 @@ require('./chunk-KJVUT6TC.cjs');
|
|
|
1007
1007
|
require('./chunk-SI3C5MSE.cjs');
|
|
1008
1008
|
require('./chunk-BQKIC2L7.cjs');
|
|
1009
1009
|
require('./chunk-KWI6PZDR.cjs');
|
|
1010
|
-
require('./chunk-
|
|
1010
|
+
require('./chunk-LRQITIEC.cjs');
|
|
1011
1011
|
require('./chunk-IP7BBNC3.cjs');
|
|
1012
1012
|
require('./chunk-3VK4NLWK.cjs');
|
|
1013
1013
|
require('./chunk-ILYW6BQN.cjs');
|
|
@@ -1157,7 +1157,7 @@ require('./chunk-DLIEZ3RI.cjs');
|
|
|
1157
1157
|
require('./chunk-GTOJIVUG.cjs');
|
|
1158
1158
|
require('./chunk-EDVT7OAS.cjs');
|
|
1159
1159
|
require('./chunk-J2J46RD7.cjs');
|
|
1160
|
-
require('./chunk-
|
|
1160
|
+
require('./chunk-GKHWXI25.cjs');
|
|
1161
1161
|
require('./chunk-Y37GQ7LY.cjs');
|
|
1162
1162
|
require('./chunk-UPORNW7Y.cjs');
|
|
1163
1163
|
require('./chunk-XVBSIZZZ.cjs');
|
|
@@ -1170,7 +1170,7 @@ require('./chunk-5MW5L3KP.cjs');
|
|
|
1170
1170
|
require('./chunk-KNJJGFRS.cjs');
|
|
1171
1171
|
require('./chunk-ZKCVXV65.cjs');
|
|
1172
1172
|
require('./chunk-PJBY4WDP.cjs');
|
|
1173
|
-
require('./chunk-
|
|
1173
|
+
require('./chunk-RC32WBPL.cjs');
|
|
1174
1174
|
require('./chunk-QKEK7C3C.cjs');
|
|
1175
1175
|
require('./chunk-YWM3EATD.cjs');
|
|
1176
1176
|
require('./chunk-AKDG3XFL.cjs');
|
|
@@ -1180,7 +1180,7 @@ require('./chunk-S2Y6AJPY.cjs');
|
|
|
1180
1180
|
require('./chunk-YTV4JDXK.cjs');
|
|
1181
1181
|
require('./chunk-R4PYEXRG.cjs');
|
|
1182
1182
|
require('./chunk-KVTWTWGG.cjs');
|
|
1183
|
-
require('./chunk-
|
|
1183
|
+
require('./chunk-52HFGZCI.cjs');
|
|
1184
1184
|
require('./chunk-HNTGOS3G.cjs');
|
|
1185
1185
|
|
|
1186
1186
|
|
|
@@ -1197,7 +1197,7 @@ require('./chunk-5YRFUDAS.cjs');
|
|
|
1197
1197
|
require('./chunk-FRHJNL4W.cjs');
|
|
1198
1198
|
require('./chunk-4JRGMN4B.cjs');
|
|
1199
1199
|
require('./chunk-Q6GXWFMW.cjs');
|
|
1200
|
-
require('./chunk-
|
|
1200
|
+
require('./chunk-NCGAP3U4.cjs');
|
|
1201
1201
|
require('./chunk-JAWIFYB2.cjs');
|
|
1202
1202
|
require('./chunk-6YS2NSKP.cjs');
|
|
1203
1203
|
require('./chunk-6BDBASLK.cjs');
|
|
@@ -1365,9 +1365,9 @@ require('./chunk-4FMA4KTH.cjs');
|
|
|
1365
1365
|
require('./chunk-5IGDSOIL.cjs');
|
|
1366
1366
|
require('./chunk-44MFW2JL.cjs');
|
|
1367
1367
|
require('./chunk-TQ6NZO6F.cjs');
|
|
1368
|
-
require('./chunk-
|
|
1368
|
+
require('./chunk-CT342EJU.cjs');
|
|
1369
1369
|
require('./chunk-U7CBIAE7.cjs');
|
|
1370
|
-
require('./chunk-
|
|
1370
|
+
require('./chunk-27TMRMOM.cjs');
|
|
1371
1371
|
require('./chunk-DCC5FRWG.cjs');
|
|
1372
1372
|
require('./chunk-WNUEWOSH.cjs');
|
|
1373
1373
|
require('./chunk-6BYUCDU7.cjs');
|
|
@@ -1839,7 +1839,7 @@ require('./chunk-TMHPQ4E5.cjs');
|
|
|
1839
1839
|
require('./chunk-7WT2C5YY.cjs');
|
|
1840
1840
|
require('./chunk-BHUIUHJF.cjs');
|
|
1841
1841
|
require('./chunk-KLM7TDPH.cjs');
|
|
1842
|
-
require('./chunk-
|
|
1842
|
+
require('./chunk-O2RPIGSG.cjs');
|
|
1843
1843
|
require('./chunk-D6XEZN4K.cjs');
|
|
1844
1844
|
require('./chunk-DM7KP3VO.cjs');
|
|
1845
1845
|
require('./chunk-HZYC3G6E.cjs');
|
|
@@ -1870,8 +1870,8 @@ require('./chunk-LMBYZITR.cjs');
|
|
|
1870
1870
|
require('./chunk-TMVC7S2R.cjs');
|
|
1871
1871
|
require('./chunk-IYHH5EIO.cjs');
|
|
1872
1872
|
require('./chunk-XIBCMGBW.cjs');
|
|
1873
|
-
require('./chunk-
|
|
1874
|
-
require('./chunk-
|
|
1873
|
+
require('./chunk-YUXRIR45.cjs');
|
|
1874
|
+
require('./chunk-2WXLQ5R5.cjs');
|
|
1875
1875
|
require('./chunk-JKX2C3I2.cjs');
|
|
1876
1876
|
|
|
1877
1877
|
|
|
@@ -1884,13 +1884,13 @@ require('./chunk-SKI6NKOE.cjs');
|
|
|
1884
1884
|
|
|
1885
1885
|
|
|
1886
1886
|
|
|
1887
|
-
var
|
|
1887
|
+
var _chunkRBOIGJYFcjs = require('./chunk-RBOIGJYF.cjs');
|
|
1888
1888
|
require('./chunk-BE2WAMG5.cjs');
|
|
1889
1889
|
require('./chunk-YADG5Q7C.cjs');
|
|
1890
|
-
require('./chunk-
|
|
1890
|
+
require('./chunk-NYY25425.cjs');
|
|
1891
1891
|
|
|
1892
1892
|
|
|
1893
|
-
var
|
|
1893
|
+
var _chunkKLXHCNDCcjs = require('./chunk-KLXHCNDC.cjs');
|
|
1894
1894
|
require('./chunk-S5C3OZCO.cjs');
|
|
1895
1895
|
require('./chunk-32ASZMTV.cjs');
|
|
1896
1896
|
require('./chunk-OOYBIS7D.cjs');
|
|
@@ -1901,10 +1901,10 @@ require('./chunk-RUHKTWGB.cjs');
|
|
|
1901
1901
|
require('./chunk-EAY6ZUES.cjs');
|
|
1902
1902
|
require('./chunk-LCTDHLDL.cjs');
|
|
1903
1903
|
require('./chunk-CW3ML76U.cjs');
|
|
1904
|
-
require('./chunk-
|
|
1904
|
+
require('./chunk-7DUXR4HL.cjs');
|
|
1905
1905
|
|
|
1906
1906
|
|
|
1907
|
-
var
|
|
1907
|
+
var _chunkMANNIJ42cjs = require('./chunk-MANNIJ42.cjs');
|
|
1908
1908
|
require('./chunk-VOX4E6AX.cjs');
|
|
1909
1909
|
require('./chunk-UR4K2NSL.cjs');
|
|
1910
1910
|
|
|
@@ -2128,7 +2128,7 @@ function splitCitedSources(sources, content) {
|
|
|
2128
2128
|
}
|
|
2129
2129
|
const cited = sources.filter((source) => firstMentionAt.has(source.index)).sort((a, b) => (_nullishCoalesce(firstMentionAt.get(a.index), () => ( 0))) - (_nullishCoalesce(firstMentionAt.get(b.index), () => ( 0))));
|
|
2130
2130
|
const uncited = sources.filter((source) => !firstMentionAt.has(source.index));
|
|
2131
|
-
return { cited:
|
|
2131
|
+
return { cited: _chunkHY2KTQSLcjs.groupSourcesByTable.call(void 0, cited), uncited: _chunkHY2KTQSLcjs.groupSourcesByTable.call(void 0, uncited) };
|
|
2132
2132
|
}
|
|
2133
2133
|
|
|
2134
2134
|
// src/components/chat/utils/host-message.ts
|
|
@@ -2179,7 +2179,7 @@ function pruneTimestampCache(timestampCache, liveIds) {
|
|
|
2179
2179
|
// src/components/chat/embeddable-chat.tsx
|
|
2180
2180
|
var _jsxruntime = require('react/jsx-runtime');
|
|
2181
2181
|
var HISTORY_RAIL_WIDTH = 320;
|
|
2182
|
-
var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH +
|
|
2182
|
+
var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH + _chunkHY2KTQSLcjs.CHAT_BLOCK_MIN_WIDTH;
|
|
2183
2183
|
var DRAWER_DEFAULT_WIDTH_RATIO = 0.5;
|
|
2184
2184
|
var DRAWER_WIDTH_KEY = "mingo-chat-width-v4";
|
|
2185
2185
|
var DRAWER_DEFAULT_WIDTH_PX = 750;
|
|
@@ -2260,7 +2260,7 @@ function dispatchSlashCommandAction(actionId, cmdId, ref) {
|
|
|
2260
2260
|
if (!input) return;
|
|
2261
2261
|
switch (actionId) {
|
|
2262
2262
|
case "browse":
|
|
2263
|
-
input.submit(
|
|
2263
|
+
input.submit(_chunkHY2KTQSLcjs.formatSingularLookupInvocation.call(void 0, cmdId));
|
|
2264
2264
|
return;
|
|
2265
2265
|
case "search":
|
|
2266
2266
|
input.setValue(`/${cmdId} `);
|
|
@@ -2286,7 +2286,7 @@ function SourceChip({
|
|
|
2286
2286
|
}) {
|
|
2287
2287
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
2288
2288
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
2289
|
-
const cta =
|
|
2289
|
+
const cta = _chunkHY2KTQSLcjs.resolveSourceRowCTA.call(void 0,
|
|
2290
2290
|
{
|
|
2291
2291
|
sourceRepo: src.sourceRepo,
|
|
2292
2292
|
documentType: src.documentType,
|
|
@@ -2296,15 +2296,15 @@ function SourceChip({
|
|
|
2296
2296
|
targetPlatform: _nullishCoalesce(src.targetPlatform, () => ( null)),
|
|
2297
2297
|
path: src.path
|
|
2298
2298
|
},
|
|
2299
|
-
|
|
2299
|
+
_chunkHY2KTQSLcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
|
|
2300
2300
|
);
|
|
2301
2301
|
const Icon = cta.icon;
|
|
2302
2302
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
|
|
2303
|
-
const chipClass =
|
|
2304
|
-
const decideTab = (href, targetPlatform) =>
|
|
2303
|
+
const chipClass = _chunkHY2KTQSLcjs.chatChipClass.call(void 0, { tone: "secondary" });
|
|
2304
|
+
const decideTab = (href, targetPlatform) => _chunkRBOIGJYFcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
2305
2305
|
if (src.items && src.items.length > 0) {
|
|
2306
2306
|
const dropdownItems = src.items.map((item) => {
|
|
2307
|
-
const itemCta =
|
|
2307
|
+
const itemCta = _chunkHY2KTQSLcjs.resolveSourceRowCTA.call(void 0,
|
|
2308
2308
|
{
|
|
2309
2309
|
sourceRepo: src.sourceRepo,
|
|
2310
2310
|
documentType: item.documentType,
|
|
@@ -2314,7 +2314,7 @@ function SourceChip({
|
|
|
2314
2314
|
targetPlatform: _nullishCoalesce(item.targetPlatform, () => ( null)),
|
|
2315
2315
|
path: item.path
|
|
2316
2316
|
},
|
|
2317
|
-
|
|
2317
|
+
_chunkHY2KTQSLcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
|
|
2318
2318
|
);
|
|
2319
2319
|
const ItemIcon = itemCta.icon;
|
|
2320
2320
|
const itemChatRef = itemCta.chatRef;
|
|
@@ -2334,13 +2334,13 @@ function SourceChip({
|
|
|
2334
2334
|
};
|
|
2335
2335
|
});
|
|
2336
2336
|
const itemIndices = src.items.flatMap((item) => item.index === void 0 ? [] : [item.index]);
|
|
2337
|
-
const groupIndices = itemIndices.length > 0 ?
|
|
2337
|
+
const groupIndices = itemIndices.length > 0 ? _chunkHY2KTQSLcjs.formatCitationIndices.call(void 0, itemIndices) : `${src.index}`;
|
|
2338
2338
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2339
|
-
|
|
2339
|
+
_chunkRAHRDJBPcjs.HoverDropdown,
|
|
2340
2340
|
{
|
|
2341
2341
|
items: dropdownItems,
|
|
2342
2342
|
renderAnchor: ({ href, targetPlatform, path, className, children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2343
|
-
|
|
2343
|
+
_chunkHY2KTQSLcjs.NavLinkAnchorViaRuntime,
|
|
2344
2344
|
{
|
|
2345
2345
|
href,
|
|
2346
2346
|
targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)),
|
|
@@ -2373,10 +2373,10 @@ function SourceChip({
|
|
|
2373
2373
|
] });
|
|
2374
2374
|
const wrapChip = (clickable) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "inline-flex items-center", children: [
|
|
2375
2375
|
clickable,
|
|
2376
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2376
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.SourceActionButton, { chatRef: cta.chatRef, onDiscuss, density: "inline", className: "-mr-1 ml-1" })
|
|
2377
2377
|
] });
|
|
2378
2378
|
const buildClickHandler = (href, path, targetPlatform, isNewTab) => (e) => {
|
|
2379
|
-
const handled =
|
|
2379
|
+
const handled = _chunkHY2KTQSLcjs.executeNavigation.call(void 0, {
|
|
2380
2380
|
event: e,
|
|
2381
2381
|
runtime,
|
|
2382
2382
|
href,
|
|
@@ -2387,14 +2387,14 @@ function SourceChip({
|
|
|
2387
2387
|
if (handled && !isNewTab && onClose) onClose();
|
|
2388
2388
|
};
|
|
2389
2389
|
if (cta.href && !!src.externalUrl) {
|
|
2390
|
-
const resolvedHref =
|
|
2390
|
+
const resolvedHref = _chunkHY2KTQSLcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
|
|
2391
2391
|
const isNewTab = decideTab(resolvedHref, _nullishCoalesce(cta.targetPlatform, () => ( null)));
|
|
2392
2392
|
return wrapChip(
|
|
2393
2393
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2394
2394
|
_chunkV45KLJQPcjs.next_link_default,
|
|
2395
2395
|
{
|
|
2396
2396
|
href: resolvedHref,
|
|
2397
|
-
...
|
|
2397
|
+
..._chunkRBOIGJYFcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
2398
2398
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
2399
2399
|
className: chipClass,
|
|
2400
2400
|
children: chipBody(src.name)
|
|
@@ -2403,14 +2403,14 @@ function SourceChip({
|
|
|
2403
2403
|
);
|
|
2404
2404
|
}
|
|
2405
2405
|
if (cta.href) {
|
|
2406
|
-
const resolvedHref =
|
|
2406
|
+
const resolvedHref = _chunkHY2KTQSLcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
|
|
2407
2407
|
const isNewTab = decideTab(resolvedHref, _nullishCoalesce(cta.targetPlatform, () => ( null)));
|
|
2408
2408
|
return wrapChip(
|
|
2409
2409
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2410
2410
|
_chunkV45KLJQPcjs.next_link_default,
|
|
2411
2411
|
{
|
|
2412
2412
|
href: resolvedHref,
|
|
2413
|
-
...
|
|
2413
|
+
..._chunkRBOIGJYFcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
2414
2414
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
2415
2415
|
className: chipClass,
|
|
2416
2416
|
title: displayName,
|
|
@@ -2522,7 +2522,7 @@ function EmbeddableChatInner({
|
|
|
2522
2522
|
defaultActiveMode,
|
|
2523
2523
|
shell = "drawer",
|
|
2524
2524
|
closable = true,
|
|
2525
|
-
appearance =
|
|
2525
|
+
appearance = _chunkE3N24573cjs.CHAT_APPEARANCE.CLASSIC,
|
|
2526
2526
|
onCollapse,
|
|
2527
2527
|
collapseTo = "list",
|
|
2528
2528
|
onExpand,
|
|
@@ -2540,11 +2540,11 @@ function EmbeddableChatInner({
|
|
|
2540
2540
|
handleRef
|
|
2541
2541
|
}) {
|
|
2542
2542
|
const shellLess = shell !== "drawer";
|
|
2543
|
-
const isV2 = appearance ===
|
|
2543
|
+
const isV2 = appearance === _chunkE3N24573cjs.CHAT_APPEARANCE.V2;
|
|
2544
2544
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
2545
2545
|
const source = _nullishCoalesce(runtime.source, () => ( ""));
|
|
2546
2546
|
const commandsUrl = runtime.endpoints.commandsUrl;
|
|
2547
|
-
const { attachmentsEnabled, user: identityUser } =
|
|
2547
|
+
const { attachmentsEnabled, user: identityUser } = _chunkHY2KTQSLcjs.useChatIdentity.call(void 0, );
|
|
2548
2548
|
const viewUrlPrefix = runtime.endpoints.attachmentViewUrlPrefix;
|
|
2549
2549
|
_react.useEffect.call(void 0, () => {
|
|
2550
2550
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -2598,11 +2598,11 @@ function EmbeddableChatInner({
|
|
|
2598
2598
|
const [quickActionPreview, setQuickActionPreview] = _react.useState.call(void 0, null);
|
|
2599
2599
|
const slashCommandsProp = _react.useMemo.call(void 0,
|
|
2600
2600
|
() => ({
|
|
2601
|
-
fetchCommands: (prefix, signal) =>
|
|
2601
|
+
fetchCommands: (prefix, signal) => _chunkHY2KTQSLcjs.fetchSlashCommands.call(void 0, prefix, signal, commandsUrl),
|
|
2602
2602
|
resolveSourceIcon: (sourceId) => {
|
|
2603
|
-
const iconName =
|
|
2603
|
+
const iconName = _chunkHY2KTQSLcjs.getSourceIconName.call(void 0, sourceId);
|
|
2604
2604
|
if (!iconName) return void 0;
|
|
2605
|
-
return { Icon:
|
|
2605
|
+
return { Icon: _chunkMANNIJ42cjs.resolveIcon.call(void 0, iconName, { variant: "brand" }), label: sourceId };
|
|
2606
2606
|
},
|
|
2607
2607
|
onAction: (cmd, actionId) => {
|
|
2608
2608
|
dispatchSlashCommandAction(actionId, cmd.id, chatInputRef);
|
|
@@ -2629,7 +2629,7 @@ function EmbeddableChatInner({
|
|
|
2629
2629
|
},
|
|
2630
2630
|
[controlledActiveMode, onActiveModeChange]
|
|
2631
2631
|
);
|
|
2632
|
-
const { commands: commandsList, loaded: commandsLoaded } =
|
|
2632
|
+
const { commands: commandsList, loaded: commandsLoaded } = _chunkHY2KTQSLcjs.useSlashCommandRegistry.call(void 0, commandsUrl, {
|
|
2633
2633
|
enabled: activeMode === "guide"
|
|
2634
2634
|
});
|
|
2635
2635
|
const commandsById = _react.useMemo.call(void 0, () => {
|
|
@@ -2640,7 +2640,7 @@ function EmbeddableChatInner({
|
|
|
2640
2640
|
const resolveAgentConfigUrl = _nullishCoalesce(_nullishCoalesce(aiAgentConfigUrlProp, () => ( runtime.endpoints.aiAgentConfigUrl)), () => ( DEFAULT_AI_AGENT_CONFIG_URL));
|
|
2641
2641
|
const agentConfigUrl = activeAgentSlug ? resolveAgentConfigUrl(activeAgentSlug) : void 0;
|
|
2642
2642
|
const emptyStateUrl = _nullishCoalesce(agentConfigUrl, () => ( runtime.endpoints.emptyStateUrl));
|
|
2643
|
-
const { config: emptyStateConfig, loading: emptyStateLoading } =
|
|
2643
|
+
const { config: emptyStateConfig, loading: emptyStateLoading } = _chunkHY2KTQSLcjs.useEmptyStateConfig.call(void 0, emptyStateUrl, {
|
|
2644
2644
|
enabled: activeMode === "guide" || !!activeAgentSlug
|
|
2645
2645
|
});
|
|
2646
2646
|
const effectiveGreeting = _nullishCoalesce(emptyStateConfig.greeting, () => ( emptyStateGreeting));
|
|
@@ -2687,7 +2687,7 @@ function EmbeddableChatInner({
|
|
|
2687
2687
|
hasMoreMessages,
|
|
2688
2688
|
loadMoreMessages,
|
|
2689
2689
|
dialogCapabilities
|
|
2690
|
-
} =
|
|
2690
|
+
} = _chunkHY2KTQSLcjs.useUnifiedChat.call(void 0, {
|
|
2691
2691
|
modes: effectiveModes,
|
|
2692
2692
|
activeMode,
|
|
2693
2693
|
mingoStateOverride: mingoState,
|
|
@@ -2734,8 +2734,8 @@ function EmbeddableChatInner({
|
|
|
2734
2734
|
addFiles: addAttachmentFiles,
|
|
2735
2735
|
removeAttachment,
|
|
2736
2736
|
clear: clearAttachments
|
|
2737
|
-
} =
|
|
2738
|
-
const { panelRef: galleryPanelRef, modal: galleryModal } =
|
|
2737
|
+
} = _chunkHY2KTQSLcjs.useChatAttachments.call(void 0, );
|
|
2738
|
+
const { panelRef: galleryPanelRef, modal: galleryModal } = _chunkHY2KTQSLcjs.useChatAttachmentImageGallery.call(void 0, );
|
|
2739
2739
|
const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _16 => _16.maxItems]), () => ( 10));
|
|
2740
2740
|
const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
|
|
2741
2741
|
const [contextItems, setContextItems] = _react.useState.call(void 0, NO_CONTEXT_ITEMS);
|
|
@@ -2850,7 +2850,7 @@ function EmbeddableChatInner({
|
|
|
2850
2850
|
const askAboutRef = _react.useRef.call(void 0, discussRef);
|
|
2851
2851
|
const askAbout = _react.useCallback.call(void 0, (reference) => askAboutRef.current(reference), []);
|
|
2852
2852
|
const renderEntityCard = _react.useCallback.call(void 0,
|
|
2853
|
-
(reference) =>
|
|
2853
|
+
(reference) => _chunkHY2KTQSLcjs.renderChatInlineEntityCard.call(void 0, reference, {
|
|
2854
2854
|
onDiscuss: askAbout,
|
|
2855
2855
|
onDisplay: displayRef,
|
|
2856
2856
|
baseRoute: resolvedBaseRoute,
|
|
@@ -2860,7 +2860,7 @@ function EmbeddableChatInner({
|
|
|
2860
2860
|
[askAbout, displayRef, resolvedBaseRoute, chipBasePlatform, extras]
|
|
2861
2861
|
);
|
|
2862
2862
|
const mingoAssistantIcon = _react.useMemo.call(void 0,
|
|
2863
|
-
() => effectiveAssistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2863
|
+
() => effectiveAssistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRBOIGJYFcjs.EntityIcon, { icon: effectiveAssistantIcon, size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEOD765Rcjs.AgentMark, { agent: "mingo", className: "h-6 w-6" }),
|
|
2864
2864
|
[effectiveAssistantIcon]
|
|
2865
2865
|
);
|
|
2866
2866
|
const [timestampCache] = _react.useState.call(void 0, () => /* @__PURE__ */ new Map());
|
|
@@ -2877,7 +2877,7 @@ function EmbeddableChatInner({
|
|
|
2877
2877
|
if (composerLock) return;
|
|
2878
2878
|
let augmentedText = text;
|
|
2879
2879
|
if (readyAttachments.length > 0) {
|
|
2880
|
-
const markdown = readyAttachments.map((att) =>
|
|
2880
|
+
const markdown = readyAttachments.map((att) => _chunkHY2KTQSLcjs.formatChatAttachmentMarkdownForBubble.call(void 0, att, viewUrlPrefix)).join("");
|
|
2881
2881
|
augmentedText = `${text}${markdown}`;
|
|
2882
2882
|
}
|
|
2883
2883
|
void sendMessage(augmentedText, {
|
|
@@ -2916,7 +2916,7 @@ function EmbeddableChatInner({
|
|
|
2916
2916
|
// agent/persona (`icon_props.color`) wins; the built-in slug map
|
|
2917
2917
|
// (fae→pink, mingo→cyan) is only the fallback for unconfigured
|
|
2918
2918
|
// built-in agents.
|
|
2919
|
-
accent: _nullishCoalesce(
|
|
2919
|
+
accent: _nullishCoalesce(_chunkHY2KTQSLcjs.accentFromIdentityIcon.call(void 0, effectiveAssistantIcon), () => ( _chunkHY2KTQSLcjs.getAgentAccent.call(void 0, activeAgentSlug)))
|
|
2920
2920
|
}));
|
|
2921
2921
|
}
|
|
2922
2922
|
return (_nullishCoalesce(effectiveSuggestedQueries, () => ( []))).map((q, i) => ({
|
|
@@ -2964,7 +2964,7 @@ function EmbeddableChatInner({
|
|
|
2964
2964
|
unarchiveDialog: mingoCaps.unarchiveDialog
|
|
2965
2965
|
});
|
|
2966
2966
|
const handleOpen = _react.useCallback.call(void 0, () => setIsOpen(true), [setIsOpen]);
|
|
2967
|
-
|
|
2967
|
+
_chunkHY2KTQSLcjs.useCloseOnNavigation.call(void 0, handleNavigationClose, null);
|
|
2968
2968
|
_react.useEffect.call(void 0, () => {
|
|
2969
2969
|
const handler = (e) => {
|
|
2970
2970
|
const detail = e.detail;
|
|
@@ -2972,8 +2972,8 @@ function EmbeddableChatInner({
|
|
|
2972
2972
|
setIsOpen(true);
|
|
2973
2973
|
setTimeout(() => askAbout(detail.ref), 0);
|
|
2974
2974
|
};
|
|
2975
|
-
window.addEventListener(
|
|
2976
|
-
return () => window.removeEventListener(
|
|
2975
|
+
window.addEventListener(_chunkHY2KTQSLcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
|
|
2976
|
+
return () => window.removeEventListener(_chunkHY2KTQSLcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
|
|
2977
2977
|
}, [source, askAbout, setIsOpen]);
|
|
2978
2978
|
const pendingAskRef = _react.useRef.call(void 0, null);
|
|
2979
2979
|
const isDraft = activeDialogId == null && messages.length === 0;
|
|
@@ -3007,10 +3007,10 @@ function EmbeddableChatInner({
|
|
|
3007
3007
|
const prompt = typeof detail.prompt === "string" ? detail.prompt.trim() : "";
|
|
3008
3008
|
if (prompt) setTimeout(() => sendAskPrompt(prompt), 0);
|
|
3009
3009
|
};
|
|
3010
|
-
window.addEventListener(
|
|
3011
|
-
return () => window.removeEventListener(
|
|
3010
|
+
window.addEventListener(_chunkHY2KTQSLcjs.ASK_AI_OPEN_EVENT, handler);
|
|
3011
|
+
return () => window.removeEventListener(_chunkHY2KTQSLcjs.ASK_AI_OPEN_EVENT, handler);
|
|
3012
3012
|
}, [source, setIsOpen, sendAskPrompt]);
|
|
3013
|
-
_react.useEffect.call(void 0, () =>
|
|
3013
|
+
_react.useEffect.call(void 0, () => _chunkHY2KTQSLcjs.chatListensForAskAiOpens.call(void 0, ), []);
|
|
3014
3014
|
const hasMessages = messages.length > 0;
|
|
3015
3015
|
const dialogsInitialLoading = isDialogsLoading && dialogs.length === 0;
|
|
3016
3016
|
const dialogsLoadError = dialogsError && dialogs.length === 0;
|
|
@@ -3046,7 +3046,7 @@ function EmbeddableChatInner({
|
|
|
3046
3046
|
(message, index) => {
|
|
3047
3047
|
if (message.role !== "assistant") return null;
|
|
3048
3048
|
if (chatLoading && index === messages.length - 1) return null;
|
|
3049
|
-
const { cited, uncited } = splitCitedSources(message.sources,
|
|
3049
|
+
const { cited, uncited } = splitCitedSources(message.sources, _chunkHY2KTQSLcjs.flattenAssistantContent.call(void 0, message.content));
|
|
3050
3050
|
if (cited.length === 0 && uncited.length === 0) return null;
|
|
3051
3051
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pb-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3052
3052
|
SourceChips,
|
|
@@ -3064,7 +3064,7 @@ function EmbeddableChatInner({
|
|
|
3064
3064
|
);
|
|
3065
3065
|
const [portalHost, setPortalHost] = _react.useState.call(void 0, null);
|
|
3066
3066
|
const [panelBoundary, setPanelBoundary] = _react.useState.call(void 0, null);
|
|
3067
|
-
const splitMinWidth = (isV2 ?
|
|
3067
|
+
const splitMinWidth = (isV2 ? _chunkHY2KTQSLcjs.MINGO_V2_RAIL_WIDTH : HISTORY_RAIL_WIDTH) + _chunkHY2KTQSLcjs.CHAT_BLOCK_MIN_WIDTH;
|
|
3068
3068
|
const [canSplit, setCanSplit] = _react.useState.call(void 0, false);
|
|
3069
3069
|
_react.useEffect.call(void 0, () => {
|
|
3070
3070
|
if (!panelBoundary || typeof ResizeObserver === "undefined") return void 0;
|
|
@@ -3083,7 +3083,7 @@ function EmbeddableChatInner({
|
|
|
3083
3083
|
[splitMinWidth]
|
|
3084
3084
|
);
|
|
3085
3085
|
const [railCollapsed, setRailCollapsed] = _react.useState.call(void 0, false);
|
|
3086
|
-
const railStorageHydrated =
|
|
3086
|
+
const railStorageHydrated = _chunkHY2KTQSLcjs.useIsHydrated.call(void 0, );
|
|
3087
3087
|
const [railStorageRead, setRailStorageRead] = _react.useState.call(void 0, false);
|
|
3088
3088
|
if (railStorageHydrated && !railStorageRead) {
|
|
3089
3089
|
setRailStorageRead(true);
|
|
@@ -3194,7 +3194,7 @@ function EmbeddableChatInner({
|
|
|
3194
3194
|
}),
|
|
3195
3195
|
[resetToNewChat, contextMaxItems]
|
|
3196
3196
|
);
|
|
3197
|
-
const splitHeaderMenuItems =
|
|
3197
|
+
const splitHeaderMenuItems = _chunkHY2KTQSLcjs.chatDialogMenuItems.call(void 0, {
|
|
3198
3198
|
onCopyLink: headerOnCopyLink,
|
|
3199
3199
|
onRename: headerOnRename,
|
|
3200
3200
|
onCompact: headerOnCompact,
|
|
@@ -3268,7 +3268,7 @@ function EmbeddableChatInner({
|
|
|
3268
3268
|
onRetry: reloadDialogs
|
|
3269
3269
|
};
|
|
3270
3270
|
const v2Header = isV2 && !stackedListView ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "col-start-2 row-start-1 min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3271
|
-
|
|
3271
|
+
_chunkHY2KTQSLcjs.MingoChatHeader,
|
|
3272
3272
|
{
|
|
3273
3273
|
title: headerShowBack || isGuideEmpty ? headerTitle : freshConversationTitle,
|
|
3274
3274
|
subtitle: headerPersonName,
|
|
@@ -3287,7 +3287,7 @@ function EmbeddableChatInner({
|
|
|
3287
3287
|
const body = (
|
|
3288
3288
|
// The whole panel reads the appearance (the composer's footer too), not
|
|
3289
3289
|
// only the thread `ChatMessageList` provides it to.
|
|
3290
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3290
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5M5C6UV4cjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk5M5C6UV4cjs.CollisionBoundaryContext.Provider, { value: panelBoundary, children: [
|
|
3291
3291
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3292
3292
|
"div",
|
|
3293
3293
|
{
|
|
@@ -3295,7 +3295,7 @@ function EmbeddableChatInner({
|
|
|
3295
3295
|
"data-surface": isV2 ? "mingo" : void 0,
|
|
3296
3296
|
className: `flex h-full flex-col overflow-hidden transition-colors duration-200 ${!isV2 && (archiveOpen && !splitActive || stackedListView) ? "bg-ods-card" : "bg-ods-bg"} ${previewMode ? "pointer-events-none select-none" : ""}`,
|
|
3297
3297
|
children: archiveOpen && !splitActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col duration-200 animate-in fade-in-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3298
|
-
|
|
3298
|
+
_chunkHY2KTQSLcjs.ChatArchivePage,
|
|
3299
3299
|
{
|
|
3300
3300
|
dialogs: archivedDialogs,
|
|
3301
3301
|
onSelectDialog: handleArchivedSelect,
|
|
@@ -3325,7 +3325,7 @@ function EmbeddableChatInner({
|
|
|
3325
3325
|
narrow: true,
|
|
3326
3326
|
className: "col-start-1 row-span-3 row-start-1",
|
|
3327
3327
|
innerClassName: "flex min-h-0 flex-col",
|
|
3328
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3328
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MingoChatRail, { ...mingoRailProps, className: "w-full border-r-0" })
|
|
3329
3329
|
}
|
|
3330
3330
|
),
|
|
3331
3331
|
isV2 ? v2Header : showWideHeader ? (
|
|
@@ -3349,7 +3349,7 @@ function EmbeddableChatInner({
|
|
|
3349
3349
|
// Back is a full-height leading cell, matching the other
|
|
3350
3350
|
// header cells (not a small inline chevron).
|
|
3351
3351
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3352
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3352
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.ChatHeaderIconButton, { divider: "right", onClick: closeArchive, "aria-label": "Back to chats", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, { size: 24 }) }),
|
|
3353
3353
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center px-[var(--spacing-system-mf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h3", children: "Chat Archive" }) })
|
|
3354
3354
|
] })
|
|
3355
3355
|
) : (
|
|
@@ -3359,7 +3359,7 @@ function EmbeddableChatInner({
|
|
|
3359
3359
|
// (Figma 116:51217) and the magnifier toggle is hidden.
|
|
3360
3360
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3361
3361
|
railSearchOpen && mingoCaps.onSearchChange ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3362
|
-
|
|
3362
|
+
_chunkHY2KTQSLcjs.ChatHeaderSearchField,
|
|
3363
3363
|
{
|
|
3364
3364
|
initialValue: mingoCaps.searchQuery,
|
|
3365
3365
|
onSearchChange: mingoCaps.onSearchChange,
|
|
@@ -3368,7 +3368,7 @@ function EmbeddableChatInner({
|
|
|
3368
3368
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3369
3369
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center px-[var(--spacing-system-mf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h3", children: "Current Chats" }) }),
|
|
3370
3370
|
mingoCaps.onSearchChange && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3371
|
-
|
|
3371
|
+
_chunkHY2KTQSLcjs.ChatHeaderIconButton,
|
|
3372
3372
|
{
|
|
3373
3373
|
onClick: () => setRailSearchOpen((o) => !o),
|
|
3374
3374
|
"aria-label": "Search chats",
|
|
@@ -3377,7 +3377,7 @@ function EmbeddableChatInner({
|
|
|
3377
3377
|
}
|
|
3378
3378
|
)
|
|
3379
3379
|
] }),
|
|
3380
|
-
headerOnOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3380
|
+
headerOnOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.ChatHeaderIconButton, { onClick: headerOnOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JKBT3LTcjs.ClockHistoryIcon, { size: 24 }) })
|
|
3381
3381
|
] })
|
|
3382
3382
|
) }),
|
|
3383
3383
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1", children: [
|
|
@@ -3400,7 +3400,7 @@ function EmbeddableChatInner({
|
|
|
3400
3400
|
headerAvatar ? (
|
|
3401
3401
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
3402
3402
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3403
|
-
|
|
3403
|
+
_chunkKLXHCNDCcjs.SquareAvatar,
|
|
3404
3404
|
{
|
|
3405
3405
|
variant: "round",
|
|
3406
3406
|
sizePx: 32,
|
|
@@ -3414,17 +3414,17 @@ function EmbeddableChatInner({
|
|
|
3414
3414
|
)
|
|
3415
3415
|
) : null
|
|
3416
3416
|
] }),
|
|
3417
|
-
isViewingArchived && headerOnRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3417
|
+
isViewingArchived && headerOnRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.ChatHeaderIconButton, { onClick: headerOnRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPX2JK6Pcjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
3418
3418
|
headerShowBack && !isViewingArchived && splitHeaderMenuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3419
3419
|
_chunkMJGX357Lcjs.ActionsMenuDropdown,
|
|
3420
3420
|
{
|
|
3421
3421
|
triggerAriaLabel: "Chat actions",
|
|
3422
3422
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
3423
3423
|
groups: [{ items: splitHeaderMenuItems }],
|
|
3424
|
-
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3424
|
+
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWHUL32Wcjs.Ellipsis01Icon, { size: 24 }) })
|
|
3425
3425
|
}
|
|
3426
3426
|
),
|
|
3427
|
-
closeControl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3427
|
+
closeControl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.ChatHeaderIconButton, { onClick: closeControl, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { size: 24 }) })
|
|
3428
3428
|
] })
|
|
3429
3429
|
] })
|
|
3430
3430
|
) : (
|
|
@@ -3432,10 +3432,10 @@ function EmbeddableChatInner({
|
|
|
3432
3432
|
// guide, resolved into `narrowHeaderProps` above. (Wide layouts,
|
|
3433
3433
|
// including rail-collapsed, use the wide header above.) Embedded
|
|
3434
3434
|
// previews (hero demo tabs) force the compact bar via `compact`.
|
|
3435
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3435
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.ChatPanelHeader, { ...narrowHeaderProps, compact: previewMode })
|
|
3436
3436
|
),
|
|
3437
3437
|
activeMode === "guide" && hasMingoMode && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3438
|
-
|
|
3438
|
+
_chunkHY2KTQSLcjs.GuideModeBanner,
|
|
3439
3439
|
{
|
|
3440
3440
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "duration-200 animate-in fade-in-0", isV2 && "col-start-2 row-start-2")
|
|
3441
3441
|
}
|
|
@@ -3445,7 +3445,7 @@ function EmbeddableChatInner({
|
|
|
3445
3445
|
// Archive list inside the rail (header lives in the split
|
|
3446
3446
|
// header's left cell above). Right chat block stays put.
|
|
3447
3447
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3448
|
-
|
|
3448
|
+
_chunkHY2KTQSLcjs.ChatArchivePage,
|
|
3449
3449
|
{
|
|
3450
3450
|
embedded: true,
|
|
3451
3451
|
dialogs: archivedDialogs,
|
|
@@ -3459,7 +3459,7 @@ function EmbeddableChatInner({
|
|
|
3459
3459
|
}
|
|
3460
3460
|
)
|
|
3461
3461
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3462
|
-
|
|
3462
|
+
_chunkHY2KTQSLcjs.MingoHistoryRail,
|
|
3463
3463
|
{
|
|
3464
3464
|
dialogs,
|
|
3465
3465
|
activeDialogId: _nullishCoalesce(activeDialogId, () => ( void 0)),
|
|
@@ -3486,7 +3486,7 @@ function EmbeddableChatInner({
|
|
|
3486
3486
|
// v2: the archive opens in the chat column under the chat's
|
|
3487
3487
|
// header; the list stays, and "Chat Archive" there toggles back.
|
|
3488
3488
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3489
|
-
|
|
3489
|
+
_chunkHY2KTQSLcjs.MingoArchiveList,
|
|
3490
3490
|
{
|
|
3491
3491
|
dialogs: archivedDialogs,
|
|
3492
3492
|
onSelectDialog: handleArchivedSelect,
|
|
@@ -3499,7 +3499,7 @@ function EmbeddableChatInner({
|
|
|
3499
3499
|
}
|
|
3500
3500
|
)
|
|
3501
3501
|
) : stackedListView && isV2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3502
|
-
|
|
3502
|
+
_chunkHY2KTQSLcjs.MingoChatRail,
|
|
3503
3503
|
{
|
|
3504
3504
|
...mingoRailProps,
|
|
3505
3505
|
onNewChat: () => setComposeOpen(true),
|
|
@@ -3518,7 +3518,7 @@ function EmbeddableChatInner({
|
|
|
3518
3518
|
// single-column view. No composer here; "Start New Chat" opens
|
|
3519
3519
|
// the compose view.
|
|
3520
3520
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3521
|
-
|
|
3521
|
+
_chunkHY2KTQSLcjs.MingoHistoryRail,
|
|
3522
3522
|
{
|
|
3523
3523
|
className: "duration-200 animate-in fade-in-0",
|
|
3524
3524
|
dialogs,
|
|
@@ -3558,14 +3558,14 @@ function EmbeddableChatInner({
|
|
|
3558
3558
|
// skeleton overflows a short panel and grows its OWN
|
|
3559
3559
|
// scrollbar — ugly. `fill` top-anchors + clips overflow so
|
|
3560
3560
|
// it reads as "the whole panel is loading" and never scrolls.
|
|
3561
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3561
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.ChatMessageListSkeleton, { fullWidth: true, fill: previewMode, className: "flex-1" })
|
|
3562
3562
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3563
|
-
|
|
3563
|
+
_chunkHY2KTQSLcjs.ChatMessageList,
|
|
3564
3564
|
{
|
|
3565
3565
|
messages,
|
|
3566
3566
|
appearance,
|
|
3567
3567
|
isTyping: chatLoading,
|
|
3568
|
-
typingMessage: streamingProgress ?
|
|
3568
|
+
typingMessage: streamingProgress ? _chunkHY2KTQSLcjs.chatProgressLabel.call(void 0, streamingProgress) : void 0,
|
|
3569
3569
|
pendingApprovals,
|
|
3570
3570
|
autoScroll: !previewMode,
|
|
3571
3571
|
pinBottom: previewMode,
|
|
@@ -3578,7 +3578,7 @@ function EmbeddableChatInner({
|
|
|
3578
3578
|
renderMention,
|
|
3579
3579
|
renderAfterMessage: renderMessageSources,
|
|
3580
3580
|
onAskSelect: chatLoading || previewMode ? void 0 : handleAskSelect,
|
|
3581
|
-
NavLinkAnchor:
|
|
3581
|
+
NavLinkAnchor: _chunkHY2KTQSLcjs.NavLinkAnchorViaRuntime,
|
|
3582
3582
|
className: previewMode ? "pointer-events-auto flex-1" : "flex-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
3583
3583
|
contentClassName: "max-w-none pb-0",
|
|
3584
3584
|
fullWidth: true,
|
|
@@ -3592,7 +3592,7 @@ function EmbeddableChatInner({
|
|
|
3592
3592
|
quick-action chips. Guide mode keeps the slash-command
|
|
3593
3593
|
onboarding list below. */
|
|
3594
3594
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3595
|
-
|
|
3595
|
+
_chunkHY2KTQSLcjs.MingoWelcome,
|
|
3596
3596
|
{
|
|
3597
3597
|
onStartGuideChat: effectiveModes.guide ? () => handleActiveModeChange("guide") : void 0,
|
|
3598
3598
|
...mingoWelcome,
|
|
@@ -3607,7 +3607,7 @@ function EmbeddableChatInner({
|
|
|
3607
3607
|
+ slash-command onboarding list share one scroll region,
|
|
3608
3608
|
with a pinned quick-action chip row above the composer. */
|
|
3609
3609
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3610
|
-
|
|
3610
|
+
_chunkHY2KTQSLcjs.GuideWelcome,
|
|
3611
3611
|
{
|
|
3612
3612
|
subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
|
|
3613
3613
|
subtitleLoading: emptyStateLoading,
|
|
@@ -3624,7 +3624,7 @@ function EmbeddableChatInner({
|
|
|
3624
3624
|
agentSlug: activeAgentSlug,
|
|
3625
3625
|
children: (chipCommands.length > 0 || !commandsLoaded) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-md border border-ods-border", children: [
|
|
3626
3626
|
!commandsLoaded && chipCommands.length === 0 && SKELETON_ROW_VARIANTS.map((variant, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3627
|
-
|
|
3627
|
+
_chunkHY2KTQSLcjs.MingoOnboardingCardSkeleton,
|
|
3628
3628
|
{
|
|
3629
3629
|
titleWidth: variant.titleWidth,
|
|
3630
3630
|
slashWidth: variant.slashWidth,
|
|
@@ -3633,7 +3633,7 @@ function EmbeddableChatInner({
|
|
|
3633
3633
|
`chip-skeleton-${i}`
|
|
3634
3634
|
)),
|
|
3635
3635
|
chipCommands.map((cmd) => {
|
|
3636
|
-
const Icon =
|
|
3636
|
+
const Icon = _chunkMANNIJ42cjs.resolveIcon.call(void 0, cmd.iconName);
|
|
3637
3637
|
const cmdId = cmd.id;
|
|
3638
3638
|
const label = _nullishCoalesce(cmd.label, () => ( `/${cmdId}`));
|
|
3639
3639
|
const cardActions = cmd.actions.map((action) => ({
|
|
@@ -3642,7 +3642,7 @@ function EmbeddableChatInner({
|
|
|
3642
3642
|
onClick: () => dispatchSlashCommandAction(action.id, cmdId, chatInputRef)
|
|
3643
3643
|
}));
|
|
3644
3644
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3645
|
-
|
|
3645
|
+
_chunkE3N24573cjs.MingoOnboardingCard,
|
|
3646
3646
|
{
|
|
3647
3647
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 16 }),
|
|
3648
3648
|
title: label,
|
|
@@ -3661,7 +3661,7 @@ function EmbeddableChatInner({
|
|
|
3661
3661
|
contentViewKey
|
|
3662
3662
|
) }),
|
|
3663
3663
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3664
|
-
|
|
3664
|
+
_chunkHY2KTQSLcjs.ChatAttachmentChipStrip,
|
|
3665
3665
|
{
|
|
3666
3666
|
attachments: stagedAttachments,
|
|
3667
3667
|
onRemove: removeAttachment,
|
|
@@ -3669,7 +3669,7 @@ function EmbeddableChatInner({
|
|
|
3669
3669
|
}
|
|
3670
3670
|
),
|
|
3671
3671
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3672
|
-
|
|
3672
|
+
_chunkHY2KTQSLcjs.ChatComposer,
|
|
3673
3673
|
{
|
|
3674
3674
|
archived: isViewingArchived,
|
|
3675
3675
|
lock: composerLock,
|
|
@@ -3720,7 +3720,7 @@ function EmbeddableChatInner({
|
|
|
3720
3720
|
),
|
|
3721
3721
|
galleryModal,
|
|
3722
3722
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3723
|
-
|
|
3723
|
+
_chunkHY2KTQSLcjs.ChatDialogModals,
|
|
3724
3724
|
{
|
|
3725
3725
|
renameTarget,
|
|
3726
3726
|
setRenameTarget,
|
|
@@ -3736,14 +3736,14 @@ function EmbeddableChatInner({
|
|
|
3736
3736
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, style: { display: "contents" } })
|
|
3737
3737
|
] }) }) })
|
|
3738
3738
|
);
|
|
3739
|
-
const panel = shellLess ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3739
|
+
const panel = shellLess ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHY2KTQSLcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: [
|
|
3740
3740
|
shell === "none" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactvisuallyhidden.VisuallyHidden, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogPrimitive.Title, { children: [
|
|
3741
3741
|
sourceLabel,
|
|
3742
3742
|
" AI Assistant"
|
|
3743
3743
|
] }) }),
|
|
3744
3744
|
body
|
|
3745
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3746
|
-
|
|
3745
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRAHRDJBPcjs.Drawer, { open: isOpen, onOpenChange: (o) => !o && handleClose(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3746
|
+
_chunkRAHRDJBPcjs.DrawerContent,
|
|
3747
3747
|
{
|
|
3748
3748
|
side: "right",
|
|
3749
3749
|
flush: true,
|
|
@@ -3775,7 +3775,7 @@ function EmbeddableChatInner({
|
|
|
3775
3775
|
_chunkAZL332TKcjs.Button,
|
|
3776
3776
|
{
|
|
3777
3777
|
onClick: handleOpen,
|
|
3778
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3778
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEOD765Rcjs.AgentMark, { agent: "mingo", className: "h-5 w-5" }),
|
|
3779
3779
|
tabIndex: isOpen ? -1 : 0,
|
|
3780
3780
|
className: `pointer-events-auto !w-auto shadow-lg ${isOpen ? "!pointer-events-none" : ""}`,
|
|
3781
3781
|
children: "Ask AI"
|