@arbidocs/blocks 0.5.166 → 0.5.168
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/{CalendarGridImpl-ZUHFUWWA.cjs → CalendarGridImpl-2M6IPL4U.cjs} +19 -19
- package/dist/{CalendarGridImpl-ZUHFUWWA.cjs.map → CalendarGridImpl-2M6IPL4U.cjs.map} +1 -1
- package/dist/{ConnectedCallDock-RUBZWNBS.cjs → ConnectedCallDock-2LQZTKQD.cjs} +10 -10
- package/dist/{ConnectedCallDock-RUBZWNBS.cjs.map → ConnectedCallDock-2LQZTKQD.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-UE73GPNR.cjs → ConnectedCallRoom-YZWAB7E5.cjs} +10 -10
- package/dist/{ConnectedCallRoom-UE73GPNR.cjs.map → ConnectedCallRoom-YZWAB7E5.cjs.map} +1 -1
- package/dist/ConnectedMailInviteCard-DDGB4LLC.cjs +22 -0
- package/dist/{ConnectedMailInviteCard-HPOHLB72.cjs.map → ConnectedMailInviteCard-DDGB4LLC.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-P5TX46HD.cjs → ConnectedNativeDocxComparison-V3MQM2VN.cjs} +7 -7
- package/dist/{ConnectedNativeDocxComparison-P5TX46HD.cjs.map → ConnectedNativeDocxComparison-V3MQM2VN.cjs.map} +1 -1
- package/dist/{ConnectedPresentation-CQJB3BOB.cjs → ConnectedPresentation-FOYVUVM3.cjs} +7 -7
- package/dist/{ConnectedPresentation-CQJB3BOB.cjs.map → ConnectedPresentation-FOYVUVM3.cjs.map} +1 -1
- package/dist/ConnectedSlidesTab-LEA5OW75.cjs +1 -1
- package/dist/{ConnectedStreamedWordArtifact-XO4ULCQO.cjs → ConnectedStreamedWordArtifact-3JDWKJNB.cjs} +7 -7
- package/dist/{ConnectedStreamedWordArtifact-XO4ULCQO.cjs.map → ConnectedStreamedWordArtifact-3JDWKJNB.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-OHWZ6YI3.cjs → DocumentReviewCard-TWRGKFSR.cjs} +5 -5
- package/dist/{DocumentReviewCard-OHWZ6YI3.cjs.map → DocumentReviewCard-TWRGKFSR.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-M6MRG2X7.cjs → FilesViewerDialog-AONINOVX.cjs} +15 -15
- package/dist/{FilesViewerDialog-M6MRG2X7.cjs.map → FilesViewerDialog-AONINOVX.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-ZAN4C4IZ.cjs → WorkspaceTableView-JU7QMWIB.cjs} +5 -5
- package/dist/{WorkspaceTableView-ZAN4C4IZ.cjs.map → WorkspaceTableView-JU7QMWIB.cjs.map} +1 -1
- package/dist/agents/index.cjs +294 -294
- package/dist/agents/workflows/StepDocuments.d.ts +14 -1
- package/dist/agents/workflows/StepDocuments.js +23 -1
- package/dist/agents/workflows/StepDocuments.js.map +2 -2
- package/dist/{ai-AV4LQ5AW.cjs → ai-U2UMKQZO.cjs} +16 -16
- package/dist/ai-U2UMKQZO.cjs.map +1 -0
- package/dist/automation/AutomationBoard.d.ts +7 -0
- package/dist/automation/AutomationBoard.js +23 -0
- package/dist/automation/AutomationBoard.js.map +7 -0
- package/dist/automation/assets.d.ts +2 -0
- package/dist/automation/assets.js +407 -0
- package/dist/automation/assets.js.map +7 -0
- package/dist/automation/index.cjs +1983 -0
- package/dist/automation/index.cjs.map +1 -0
- package/dist/automation/index.d.ts +2 -0
- package/dist/automation/index.js +6 -0
- package/dist/automation/index.js.map +7 -0
- package/dist/automation/md.js +137 -0
- package/dist/automation/md.js.map +7 -0
- package/dist/automation/mount.js +610 -0
- package/dist/automation/mount.js.map +7 -0
- package/dist/automation/settings.js +164 -0
- package/dist/automation/settings.js.map +7 -0
- package/dist/automation/types.d.ts +173 -0
- package/dist/automation/views.js +692 -0
- package/dist/automation/views.js.map +7 -0
- package/dist/calendar/SchedulingAssistant.js +6 -1
- package/dist/calendar/SchedulingAssistant.js.map +2 -2
- package/dist/calendar/index.cjs +117 -117
- package/dist/calendar/labels.js +1 -0
- package/dist/calendar/labels.js.map +2 -2
- package/dist/calendar/types.d.ts +1 -0
- package/dist/calls/connected/CallPeoplePicker.d.ts +1 -1
- package/dist/calls/connected/CallPeoplePicker.js +4 -2
- package/dist/calls/connected/CallPeoplePicker.js.map +2 -2
- package/dist/calls/connected/ConnectedCallRoom.js +33 -2
- package/dist/calls/connected/ConnectedCallRoom.js.map +2 -2
- package/dist/calls/connected/DmCallButton.js +14 -6
- package/dist/calls/connected/DmCallButton.js.map +2 -2
- package/dist/calls/connected/call-people.d.ts +4 -2
- package/dist/calls/connected/call-people.js +4 -0
- package/dist/calls/connected/call-people.js.map +2 -2
- package/dist/calls/index.cjs +27 -27
- package/dist/chat/index.cjs +56 -56
- package/dist/{chunk-NAXF2KHT.cjs → chunk-2K5DLB7B.cjs} +6 -6
- package/dist/{chunk-NAXF2KHT.cjs.map → chunk-2K5DLB7B.cjs.map} +1 -1
- package/dist/{chunk-SXBQAMHV.cjs → chunk-2KGU5G6Z.cjs} +6 -6
- package/dist/chunk-2KGU5G6Z.cjs.map +1 -0
- package/dist/{chunk-3DRBJGRR.cjs → chunk-2ZNADJ7G.cjs} +4 -4
- package/dist/{chunk-3DRBJGRR.cjs.map → chunk-2ZNADJ7G.cjs.map} +1 -1
- package/dist/{chunk-VNYMWFIT.cjs → chunk-6PKP7UT7.cjs} +8 -7
- package/dist/chunk-6PKP7UT7.cjs.map +1 -0
- package/dist/{chunk-N2SJR2Y7.cjs → chunk-74XF67TU.cjs} +40 -40
- package/dist/{chunk-N2SJR2Y7.cjs.map → chunk-74XF67TU.cjs.map} +1 -1
- package/dist/{chunk-ZKKSTMMI.cjs → chunk-DNHZYLPK.cjs} +3 -3
- package/dist/{chunk-ZKKSTMMI.cjs.map → chunk-DNHZYLPK.cjs.map} +1 -1
- package/dist/{chunk-WGRXQ7PI.cjs → chunk-DXZ6TPGP.cjs} +15 -15
- package/dist/{chunk-WGRXQ7PI.cjs.map → chunk-DXZ6TPGP.cjs.map} +1 -1
- package/dist/{chunk-4M3OIBIS.cjs → chunk-F3QHSUUO.cjs} +49 -44
- package/dist/chunk-F3QHSUUO.cjs.map +1 -0
- package/dist/{chunk-6U3CYVZC.cjs → chunk-FUGQ7YQW.cjs} +3 -2
- package/dist/chunk-FUGQ7YQW.cjs.map +1 -0
- package/dist/{chunk-SJPKXXB5.cjs → chunk-H2BUDSKT.cjs} +6 -6
- package/dist/{chunk-SJPKXXB5.cjs.map → chunk-H2BUDSKT.cjs.map} +1 -1
- package/dist/{chunk-PYKTUGPE.cjs → chunk-HHZDURXN.cjs} +6 -6
- package/dist/{chunk-PYKTUGPE.cjs.map → chunk-HHZDURXN.cjs.map} +1 -1
- package/dist/{chunk-TKO24ZZ6.cjs → chunk-ICSTVJ4Z.cjs} +4 -4
- package/dist/{chunk-TKO24ZZ6.cjs.map → chunk-ICSTVJ4Z.cjs.map} +1 -1
- package/dist/{chunk-CI777IPA.cjs → chunk-IJ4JKHEC.cjs} +18 -18
- package/dist/{chunk-CI777IPA.cjs.map → chunk-IJ4JKHEC.cjs.map} +1 -1
- package/dist/{chunk-SX6KL6UN.cjs → chunk-KAIR2RBM.cjs} +4 -4
- package/dist/{chunk-SX6KL6UN.cjs.map → chunk-KAIR2RBM.cjs.map} +1 -1
- package/dist/{chunk-PK5H5SVS.cjs → chunk-KBRDUFXG.cjs} +7 -7
- package/dist/{chunk-PK5H5SVS.cjs.map → chunk-KBRDUFXG.cjs.map} +1 -1
- package/dist/{chunk-QD2XCNJH.cjs → chunk-KGKB7YKH.cjs} +38 -38
- package/dist/{chunk-QD2XCNJH.cjs.map → chunk-KGKB7YKH.cjs.map} +1 -1
- package/dist/{chunk-3QHVDOQT.cjs → chunk-LCAND465.cjs} +13 -13
- package/dist/{chunk-3QHVDOQT.cjs.map → chunk-LCAND465.cjs.map} +1 -1
- package/dist/{chunk-LE4Z2UIG.cjs → chunk-LICAQTZG.cjs} +11 -11
- package/dist/{chunk-LE4Z2UIG.cjs.map → chunk-LICAQTZG.cjs.map} +1 -1
- package/dist/{chunk-AG5XZ3AM.cjs → chunk-NZMEZL5D.cjs} +8 -8
- package/dist/{chunk-AG5XZ3AM.cjs.map → chunk-NZMEZL5D.cjs.map} +1 -1
- package/dist/{chunk-W7XZKTDG.cjs → chunk-OEF4MYOJ.cjs} +19 -10
- package/dist/chunk-OEF4MYOJ.cjs.map +1 -0
- package/dist/{chunk-7XR6CPCU.cjs → chunk-PIJPM5RA.cjs} +25 -3
- package/dist/chunk-PIJPM5RA.cjs.map +1 -0
- package/dist/{chunk-YTDVWIHU.cjs → chunk-QZ5G6TON.cjs} +113 -74
- package/dist/chunk-QZ5G6TON.cjs.map +1 -0
- package/dist/{chunk-ZLXTGHK3.cjs → chunk-RBNMRU4V.cjs} +40 -11
- package/dist/chunk-RBNMRU4V.cjs.map +1 -0
- package/dist/{chunk-4RDXW7KP.cjs → chunk-W3WPHMRB.cjs} +3 -3
- package/dist/{chunk-4RDXW7KP.cjs.map → chunk-W3WPHMRB.cjs.map} +1 -1
- package/dist/{chunk-FUKN3PI5.cjs → chunk-WQQ6C2ML.cjs} +3 -3
- package/dist/{chunk-FUKN3PI5.cjs.map → chunk-WQQ6C2ML.cjs.map} +1 -1
- package/dist/{chunk-LZGGR63X.cjs → chunk-WSWD5G7C.cjs} +4 -4
- package/dist/{chunk-LZGGR63X.cjs.map → chunk-WSWD5G7C.cjs.map} +1 -1
- package/dist/{chunk-JFCTB5YI.cjs → chunk-XGMA7ITI.cjs} +6 -6
- package/dist/{chunk-JFCTB5YI.cjs.map → chunk-XGMA7ITI.cjs.map} +1 -1
- package/dist/connect/docx.cjs +10 -10
- package/dist/connect/index.cjs +768 -735
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/viewer.cjs +13 -13
- package/dist/connection/ConnectedAgentChatPanel.js +5 -5
- package/dist/connection/ConnectedAgentChatPanel.js.map +2 -2
- package/dist/connection/calendar/ConnectedCalendar.js +4 -2
- package/dist/connection/calendar/ConnectedCalendar.js.map +2 -2
- package/dist/connection/calendar/EventScheduling.js +29 -4
- package/dist/connection/calendar/EventScheduling.js.map +2 -2
- package/dist/connection/conversation/AgentControlBar.js +2 -2
- package/dist/connection/conversation/AgentControlBar.js.map +2 -2
- package/dist/connection/conversation/AnswerTable.js +19 -2
- package/dist/connection/conversation/AnswerTable.js.map +2 -2
- package/dist/connection/conversation/ConversationComposer.js +29 -7
- package/dist/connection/conversation/ConversationComposer.js.map +2 -2
- package/dist/connection/files/fields/fields-manager-panel.d.ts +1 -1
- package/dist/connection/files/fields/fields-manager-panel.js +1 -1
- package/dist/connection/files/fields/fields-manager-panel.js.map +2 -2
- package/dist/connection/files/upload/useAddFromUrls.d.ts +1 -1
- package/dist/connection/files/upload/useAddFromUrls.js +1 -1
- package/dist/connection/files/upload/useAddFromUrls.js.map +1 -1
- package/dist/connection/messenger/full-variant.js +1 -1
- package/dist/connection/messenger/full-variant.js.map +2 -2
- package/dist/connection/panels/ConnectedPanelHost.js +3 -2
- package/dist/connection/panels/ConnectedPanelHost.js.map +2 -2
- package/dist/connection/report-problem/CaptureBar.d.ts +4 -5
- package/dist/connection/report-problem/CaptureBar.js +56 -13
- package/dist/connection/report-problem/CaptureBar.js.map +2 -2
- package/dist/connection/report-problem/ReportProblemDialog.js +3 -2
- package/dist/connection/report-problem/ReportProblemDialog.js.map +2 -2
- package/dist/connection/report-problem/SupportVideoEvidence.js +22 -49
- package/dist/connection/report-problem/SupportVideoEvidence.js.map +2 -2
- package/dist/connection/report-problem/useReportProblem.js +11 -23
- package/dist/connection/report-problem/useReportProblem.js.map +2 -2
- package/dist/connection/report-problem/useSupportVideo.d.ts +2 -0
- package/dist/connection/report-problem/useSupportVideo.js +1 -0
- package/dist/connection/report-problem/useSupportVideo.js.map +2 -2
- package/dist/embed/index.cjs +18 -18
- package/dist/facts/index.cjs +43 -43
- package/dist/files/index.cjs +13 -13
- package/dist/home/index.cjs +9 -9
- package/dist/index.cjs +439 -439
- package/dist/pages/index.cjs +17 -17
- package/dist/settings/index.cjs +10 -10
- package/dist/shell/PanelPortal.js +4 -4
- package/dist/shell/PanelPortal.js.map +2 -2
- package/dist/shell/index.cjs +28 -28
- package/dist/studio/index.cjs +8 -8
- package/dist/styles.css +1 -1
- package/dist/workflow-canvas/index.cjs +45 -45
- package/dist/workspaces/index.cjs +6 -6
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +11 -6
- package/dist/ConnectedMailInviteCard-HPOHLB72.cjs +0 -22
- package/dist/ai-AV4LQ5AW.cjs.map +0 -1
- package/dist/chunk-4M3OIBIS.cjs.map +0 -1
- package/dist/chunk-6U3CYVZC.cjs.map +0 -1
- package/dist/chunk-7XR6CPCU.cjs.map +0 -1
- package/dist/chunk-SXBQAMHV.cjs.map +0 -1
- package/dist/chunk-VNYMWFIT.cjs.map +0 -1
- package/dist/chunk-W7XZKTDG.cjs.map +0 -1
- package/dist/chunk-YTDVWIHU.cjs.map +0 -1
- package/dist/chunk-ZLXTGHK3.cjs.map +0 -1
package/dist/connect/index.cjs
CHANGED
|
@@ -1,99 +1,103 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
+
var chunkHHZDURXN_cjs = require('../chunk-HHZDURXN.cjs');
|
|
4
5
|
var chunk7OMRSZOJ_cjs = require('../chunk-7OMRSZOJ.cjs');
|
|
5
6
|
var chunkXKXKEVHH_cjs = require('../chunk-XKXKEVHH.cjs');
|
|
6
|
-
var
|
|
7
|
+
var chunk6PKP7UT7_cjs = require('../chunk-6PKP7UT7.cjs');
|
|
7
8
|
var chunk6AFAYGJW_cjs = require('../chunk-6AFAYGJW.cjs');
|
|
8
|
-
var chunkPYKTUGPE_cjs = require('../chunk-PYKTUGPE.cjs');
|
|
9
9
|
var chunk5GCCUXMT_cjs = require('../chunk-5GCCUXMT.cjs');
|
|
10
|
-
var chunkXYN3RP5W_cjs = require('../chunk-XYN3RP5W.cjs');
|
|
11
|
-
var chunk3DRBJGRR_cjs = require('../chunk-3DRBJGRR.cjs');
|
|
12
|
-
var chunkQD2XCNJH_cjs = require('../chunk-QD2XCNJH.cjs');
|
|
13
10
|
var chunkWHHBEV4G_cjs = require('../chunk-WHHBEV4G.cjs');
|
|
11
|
+
var chunkXYN3RP5W_cjs = require('../chunk-XYN3RP5W.cjs');
|
|
12
|
+
var chunkLCAND465_cjs = require('../chunk-LCAND465.cjs');
|
|
13
|
+
require('../chunk-DWRUGOTQ.cjs');
|
|
14
|
+
var chunk2ZNADJ7G_cjs = require('../chunk-2ZNADJ7G.cjs');
|
|
15
|
+
var chunkKGKB7YKH_cjs = require('../chunk-KGKB7YKH.cjs');
|
|
14
16
|
var chunk32W2S6DE_cjs = require('../chunk-32W2S6DE.cjs');
|
|
15
17
|
var chunk6OPDKROP_cjs = require('../chunk-6OPDKROP.cjs');
|
|
16
|
-
|
|
18
|
+
require('../chunk-KD66CBYO.cjs');
|
|
19
|
+
var chunkQZ5G6TON_cjs = require('../chunk-QZ5G6TON.cjs');
|
|
17
20
|
var chunk7GVKG3G4_cjs = require('../chunk-7GVKG3G4.cjs');
|
|
18
|
-
var
|
|
21
|
+
var chunkOHWYQI3B_cjs = require('../chunk-OHWYQI3B.cjs');
|
|
22
|
+
var chunkDXZ6TPGP_cjs = require('../chunk-DXZ6TPGP.cjs');
|
|
19
23
|
var chunkNFXHBTAO_cjs = require('../chunk-NFXHBTAO.cjs');
|
|
20
|
-
var
|
|
24
|
+
var chunkER2MRSLT_cjs = require('../chunk-ER2MRSLT.cjs');
|
|
25
|
+
var chunkWQQ6C2ML_cjs = require('../chunk-WQQ6C2ML.cjs');
|
|
21
26
|
var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
|
|
22
27
|
var chunkDSLMJ24E_cjs = require('../chunk-DSLMJ24E.cjs');
|
|
23
28
|
var chunkE5TPRRAW_cjs = require('../chunk-E5TPRRAW.cjs');
|
|
24
29
|
require('../chunk-UMMZNZV3.cjs');
|
|
25
|
-
require('../chunk-AEQT2QQX.cjs');
|
|
26
|
-
var chunk3QHVDOQT_cjs = require('../chunk-3QHVDOQT.cjs');
|
|
27
|
-
require('../chunk-DWRUGOTQ.cjs');
|
|
28
|
-
require('../chunk-KD66CBYO.cjs');
|
|
29
|
-
var chunkOHWYQI3B_cjs = require('../chunk-OHWYQI3B.cjs');
|
|
30
|
-
var chunkER2MRSLT_cjs = require('../chunk-ER2MRSLT.cjs');
|
|
31
30
|
var chunkUNSZLNA4_cjs = require('../chunk-UNSZLNA4.cjs');
|
|
31
|
+
require('../chunk-AEQT2QQX.cjs');
|
|
32
32
|
var chunkSFRKKPBB_cjs = require('../chunk-SFRKKPBB.cjs');
|
|
33
33
|
require('../chunk-XNW62J54.cjs');
|
|
34
|
+
var chunkF3QHSUUO_cjs = require('../chunk-F3QHSUUO.cjs');
|
|
35
|
+
var chunkFUGQ7YQW_cjs = require('../chunk-FUGQ7YQW.cjs');
|
|
36
|
+
var chunkQUMUAJ2P_cjs = require('../chunk-QUMUAJ2P.cjs');
|
|
34
37
|
var chunkVG5XNE4H_cjs = require('../chunk-VG5XNE4H.cjs');
|
|
35
38
|
var chunkDDWLMYRO_cjs = require('../chunk-DDWLMYRO.cjs');
|
|
36
39
|
var chunk4CIVQWAX_cjs = require('../chunk-4CIVQWAX.cjs');
|
|
37
40
|
var chunkQWVUBTW3_cjs = require('../chunk-QWVUBTW3.cjs');
|
|
38
41
|
var chunkJVEDKKNO_cjs = require('../chunk-JVEDKKNO.cjs');
|
|
42
|
+
var chunkJ5CBCUQE_cjs = require('../chunk-J5CBCUQE.cjs');
|
|
39
43
|
var chunkDI6UEQCZ_cjs = require('../chunk-DI6UEQCZ.cjs');
|
|
44
|
+
var chunkD4SJT3NG_cjs = require('../chunk-D4SJT3NG.cjs');
|
|
45
|
+
require('../chunk-OUYBYZ7Y.cjs');
|
|
40
46
|
var chunkBNXWT3DX_cjs = require('../chunk-BNXWT3DX.cjs');
|
|
41
47
|
var chunk5G33DATM_cjs = require('../chunk-5G33DATM.cjs');
|
|
42
48
|
var chunkJEHGTPS2_cjs = require('../chunk-JEHGTPS2.cjs');
|
|
43
49
|
require('../chunk-HYUKPHCT.cjs');
|
|
44
|
-
var chunkJ5CBCUQE_cjs = require('../chunk-J5CBCUQE.cjs');
|
|
45
50
|
require('../chunk-JWCVA4LC.cjs');
|
|
51
|
+
var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
|
|
46
52
|
var chunk6DHDITKK_cjs = require('../chunk-6DHDITKK.cjs');
|
|
47
53
|
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
54
|
+
require('../chunk-DTMBAFIL.cjs');
|
|
48
55
|
var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
|
|
49
|
-
var
|
|
56
|
+
var chunkW3WPHMRB_cjs = require('../chunk-W3WPHMRB.cjs');
|
|
50
57
|
var chunk4ONPEVTP_cjs = require('../chunk-4ONPEVTP.cjs');
|
|
51
58
|
require('../chunk-V3KLUWQQ.cjs');
|
|
59
|
+
require('../chunk-7NJKDJVO.cjs');
|
|
52
60
|
var chunkSOT7NPIB_cjs = require('../chunk-SOT7NPIB.cjs');
|
|
53
61
|
var chunk3EIO4ZH5_cjs = require('../chunk-3EIO4ZH5.cjs');
|
|
54
62
|
var chunkYSAUOJA7_cjs = require('../chunk-YSAUOJA7.cjs');
|
|
55
63
|
var chunkJ37DOAGN_cjs = require('../chunk-J37DOAGN.cjs');
|
|
56
64
|
require('../chunk-QEMGGJB6.cjs');
|
|
57
|
-
var chunkD4SJT3NG_cjs = require('../chunk-D4SJT3NG.cjs');
|
|
58
|
-
require('../chunk-OUYBYZ7Y.cjs');
|
|
59
|
-
var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
|
|
60
|
-
require('../chunk-DTMBAFIL.cjs');
|
|
61
|
-
require('../chunk-7NJKDJVO.cjs');
|
|
62
65
|
var chunkLYYJDQW6_cjs = require('../chunk-LYYJDQW6.cjs');
|
|
63
66
|
var chunkQ25CZLK6_cjs = require('../chunk-Q25CZLK6.cjs');
|
|
64
67
|
require('../chunk-MWHVETKN.cjs');
|
|
65
|
-
var
|
|
68
|
+
var chunkNZMEZL5D_cjs = require('../chunk-NZMEZL5D.cjs');
|
|
69
|
+
var chunkI6GEQWIV_cjs = require('../chunk-I6GEQWIV.cjs');
|
|
66
70
|
var chunkNX56DIG3_cjs = require('../chunk-NX56DIG3.cjs');
|
|
67
71
|
var chunkTLIZD6DV_cjs = require('../chunk-TLIZD6DV.cjs');
|
|
68
72
|
require('../chunk-NEGFHF3V.cjs');
|
|
69
73
|
var chunkZ3LFF3YT_cjs = require('../chunk-Z3LFF3YT.cjs');
|
|
70
|
-
var
|
|
74
|
+
var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
|
|
71
75
|
var chunk4B6HYQTW_cjs = require('../chunk-4B6HYQTW.cjs');
|
|
72
76
|
var chunk5K6XHSAM_cjs = require('../chunk-5K6XHSAM.cjs');
|
|
73
77
|
var chunkADMNU2CR_cjs = require('../chunk-ADMNU2CR.cjs');
|
|
74
78
|
require('../chunk-PCB2BPN3.cjs');
|
|
75
|
-
var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
|
|
76
79
|
var chunkQDXZVJWN_cjs = require('../chunk-QDXZVJWN.cjs');
|
|
77
80
|
require('../chunk-7G2LJMUG.cjs');
|
|
78
81
|
var chunkKLMNCBLY_cjs = require('../chunk-KLMNCBLY.cjs');
|
|
79
|
-
var
|
|
82
|
+
var chunkXGMA7ITI_cjs = require('../chunk-XGMA7ITI.cjs');
|
|
80
83
|
require('../chunk-UXGIMOIN.cjs');
|
|
81
|
-
var
|
|
84
|
+
var chunkIJ4JKHEC_cjs = require('../chunk-IJ4JKHEC.cjs');
|
|
82
85
|
var chunkW5JTACMK_cjs = require('../chunk-W5JTACMK.cjs');
|
|
83
|
-
var
|
|
86
|
+
var chunkKBRDUFXG_cjs = require('../chunk-KBRDUFXG.cjs');
|
|
84
87
|
require('../chunk-5F4DCIHS.cjs');
|
|
88
|
+
var chunkDNHZYLPK_cjs = require('../chunk-DNHZYLPK.cjs');
|
|
85
89
|
var chunkUKOYN2WD_cjs = require('../chunk-UKOYN2WD.cjs');
|
|
86
90
|
var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
|
|
87
91
|
var chunkWV3RNWAG_cjs = require('../chunk-WV3RNWAG.cjs');
|
|
88
|
-
require('../chunk-
|
|
92
|
+
require('../chunk-2KGU5G6Z.cjs');
|
|
89
93
|
var chunk2RLA6QO2_cjs = require('../chunk-2RLA6QO2.cjs');
|
|
90
94
|
var chunkMZZ3SBQL_cjs = require('../chunk-MZZ3SBQL.cjs');
|
|
91
95
|
var chunkVDHBLDQC_cjs = require('../chunk-VDHBLDQC.cjs');
|
|
96
|
+
var chunkWRTEKOQP_cjs = require('../chunk-WRTEKOQP.cjs');
|
|
92
97
|
var chunkVDT7TEAH_cjs = require('../chunk-VDT7TEAH.cjs');
|
|
93
98
|
require('../chunk-WQMR3O2D.cjs');
|
|
94
99
|
var chunkNZNBJF3M_cjs = require('../chunk-NZNBJF3M.cjs');
|
|
95
100
|
require('../chunk-NWNVWO6L.cjs');
|
|
96
|
-
var chunkWRTEKOQP_cjs = require('../chunk-WRTEKOQP.cjs');
|
|
97
101
|
require('../chunk-SK6HQ46Q.cjs');
|
|
98
102
|
require('../chunk-WCT6FT2K.cjs');
|
|
99
103
|
require('../chunk-DEXUL3T6.cjs');
|
|
@@ -108,15 +112,15 @@ var chunkC25KF2TM_cjs = require('../chunk-C25KF2TM.cjs');
|
|
|
108
112
|
var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
|
|
109
113
|
require('../chunk-OEJQFPWO.cjs');
|
|
110
114
|
require('../chunk-BQOL4XNZ.cjs');
|
|
111
|
-
var
|
|
115
|
+
var chunk74XF67TU_cjs = require('../chunk-74XF67TU.cjs');
|
|
112
116
|
var chunkCYN66TBO_cjs = require('../chunk-CYN66TBO.cjs');
|
|
113
|
-
var chunkNAXF2KHT_cjs = require('../chunk-NAXF2KHT.cjs');
|
|
114
|
-
require('../chunk-I4IS6ST6.cjs');
|
|
115
117
|
var chunkBH322H5B_cjs = require('../chunk-BH322H5B.cjs');
|
|
118
|
+
var chunk2K5DLB7B_cjs = require('../chunk-2K5DLB7B.cjs');
|
|
119
|
+
require('../chunk-I4IS6ST6.cjs');
|
|
116
120
|
var chunkM55XUF4L_cjs = require('../chunk-M55XUF4L.cjs');
|
|
117
121
|
require('../chunk-EVZH6Z5O.cjs');
|
|
118
122
|
require('../chunk-IN6ILI5A.cjs');
|
|
119
|
-
require('../chunk-
|
|
123
|
+
require('../chunk-PIJPM5RA.cjs');
|
|
120
124
|
var chunkOYXWQTHF_cjs = require('../chunk-OYXWQTHF.cjs');
|
|
121
125
|
require('../chunk-S237ORM3.cjs');
|
|
122
126
|
require('../chunk-II2OEXHW.cjs');
|
|
@@ -133,6 +137,7 @@ var chunkDKY67DA6_cjs = require('../chunk-DKY67DA6.cjs');
|
|
|
133
137
|
var chunkY3GJBLAI_cjs = require('../chunk-Y3GJBLAI.cjs');
|
|
134
138
|
var chunkSQCCQU3K_cjs = require('../chunk-SQCCQU3K.cjs');
|
|
135
139
|
require('../chunk-UDSHVNU3.cjs');
|
|
140
|
+
var chunkVZOOGA47_cjs = require('../chunk-VZOOGA47.cjs');
|
|
136
141
|
var chunkZQQVXRYZ_cjs = require('../chunk-ZQQVXRYZ.cjs');
|
|
137
142
|
var chunkIPSHAMO2_cjs = require('../chunk-IPSHAMO2.cjs');
|
|
138
143
|
var chunkZVEW3JBT_cjs = require('../chunk-ZVEW3JBT.cjs');
|
|
@@ -141,17 +146,12 @@ var chunkV6C2MBFY_cjs = require('../chunk-V6C2MBFY.cjs');
|
|
|
141
146
|
var chunk3UCRJRNI_cjs = require('../chunk-3UCRJRNI.cjs');
|
|
142
147
|
var chunkM74FWYNL_cjs = require('../chunk-M74FWYNL.cjs');
|
|
143
148
|
require('../chunk-IRUQZI6P.cjs');
|
|
144
|
-
var
|
|
145
|
-
var chunk6U3CYVZC_cjs = require('../chunk-6U3CYVZC.cjs');
|
|
146
|
-
var chunkQUMUAJ2P_cjs = require('../chunk-QUMUAJ2P.cjs');
|
|
147
|
-
var chunkZKKSTMMI_cjs = require('../chunk-ZKKSTMMI.cjs');
|
|
148
|
-
var chunkVZOOGA47_cjs = require('../chunk-VZOOGA47.cjs');
|
|
149
|
-
var chunkW7XZKTDG_cjs = require('../chunk-W7XZKTDG.cjs');
|
|
149
|
+
var chunkOEF4MYOJ_cjs = require('../chunk-OEF4MYOJ.cjs');
|
|
150
150
|
require('../chunk-OAIOOVFN.cjs');
|
|
151
|
+
var chunkJTBWI74K_cjs = require('../chunk-JTBWI74K.cjs');
|
|
151
152
|
var chunkTNBNDY2J_cjs = require('../chunk-TNBNDY2J.cjs');
|
|
152
153
|
require('../chunk-H3VVUNEX.cjs');
|
|
153
154
|
var chunk7FWP7W34_cjs = require('../chunk-7FWP7W34.cjs');
|
|
154
|
-
var chunkJTBWI74K_cjs = require('../chunk-JTBWI74K.cjs');
|
|
155
155
|
var chunkGD5OYIOV_cjs = require('../chunk-GD5OYIOV.cjs');
|
|
156
156
|
var chunkVWSOHZK2_cjs = require('../chunk-VWSOHZK2.cjs');
|
|
157
157
|
require('../chunk-TMX7YFVM.cjs');
|
|
@@ -277,7 +277,7 @@ function ConnectedWorkspaceActivity({
|
|
|
277
277
|
[feed.data]
|
|
278
278
|
);
|
|
279
279
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
280
|
-
|
|
280
|
+
chunkNZMEZL5D_cjs.WorkspaceActivityList,
|
|
281
281
|
{
|
|
282
282
|
...listProps,
|
|
283
283
|
items,
|
|
@@ -336,7 +336,7 @@ async function joinEvent({ arbi, environment }, eventId, recurrenceId) {
|
|
|
336
336
|
const event = await arbi.calendar.getEvent(eventId, recurrenceId);
|
|
337
337
|
const url = event.conference?.url;
|
|
338
338
|
if (url && /^https?:\/\//i.test(url)) {
|
|
339
|
-
await
|
|
339
|
+
await chunkLCAND465_cjs.joinEventMeeting(arbi, url);
|
|
340
340
|
return;
|
|
341
341
|
}
|
|
342
342
|
} catch {
|
|
@@ -1068,7 +1068,7 @@ function ConnectedNotificationCenter({ headerRight }) {
|
|
|
1068
1068
|
renderWorkspace: (workspaceId) => {
|
|
1069
1069
|
const workspace = byId.get(workspaceId);
|
|
1070
1070
|
return workspace ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1071
|
-
|
|
1071
|
+
chunkLCAND465_cjs.ConnectedWorkspaceEntity,
|
|
1072
1072
|
{
|
|
1073
1073
|
workspace,
|
|
1074
1074
|
size: 16,
|
|
@@ -1336,7 +1336,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1336
1336
|
onChange: (e) => {
|
|
1337
1337
|
const file = e.target.files?.[0];
|
|
1338
1338
|
e.target.value = "";
|
|
1339
|
-
if (file) void add(() =>
|
|
1339
|
+
if (file) void add(() => chunk74XF67TU_cjs.importSkillFile(file));
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
1342
1342
|
),
|
|
@@ -1361,7 +1361,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1361
1361
|
className: "space-y-2",
|
|
1362
1362
|
onSubmit: (e) => {
|
|
1363
1363
|
e.preventDefault();
|
|
1364
|
-
if (url.trim()) void add(() =>
|
|
1364
|
+
if (url.trim()) void add(() => chunk74XF67TU_cjs.importSkillFromUrl(url));
|
|
1365
1365
|
},
|
|
1366
1366
|
children: [
|
|
1367
1367
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
|
|
@@ -1429,9 +1429,9 @@ function ConnectedSkillsLibrary({
|
|
|
1429
1429
|
const [type, setType] = react.useState("all");
|
|
1430
1430
|
const [view, setView] = react.useState("gallery");
|
|
1431
1431
|
const [isBusy, setIsBusy] = react.useState(false);
|
|
1432
|
-
const all = react.useMemo(() =>
|
|
1432
|
+
const all = react.useMemo(() => chunk74XF67TU_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
|
|
1433
1433
|
const shown = react.useMemo(
|
|
1434
|
-
() =>
|
|
1434
|
+
() => chunk74XF67TU_cjs.filterLibrarySkills(all, { query, source, type }),
|
|
1435
1435
|
[all, query, source, type]
|
|
1436
1436
|
);
|
|
1437
1437
|
const current = all.find((s) => s.slug === selected) ?? null;
|
|
@@ -1442,21 +1442,21 @@ function ConnectedSkillsLibrary({
|
|
|
1442
1442
|
const count2 = (s) => all.filter((x) => x.source === s).length;
|
|
1443
1443
|
const sourceOptions = [
|
|
1444
1444
|
{ id: "all", label: "All", count: all.length },
|
|
1445
|
-
{ id: "builtin", label:
|
|
1446
|
-
{ id: "mine", label:
|
|
1447
|
-
{ id: "shared", label:
|
|
1445
|
+
{ id: "builtin", label: chunk74XF67TU_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
|
|
1446
|
+
{ id: "mine", label: chunk74XF67TU_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
|
|
1447
|
+
{ id: "shared", label: chunk74XF67TU_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
|
|
1448
1448
|
];
|
|
1449
1449
|
const types = [...new Set(all.map((s) => s.type))];
|
|
1450
1450
|
const typeOptions = [
|
|
1451
1451
|
{ id: "all", label: "Any kind" },
|
|
1452
|
-
...types.map((t) => ({ id: t, label:
|
|
1452
|
+
...types.map((t) => ({ id: t, label: chunk74XF67TU_cjs.SKILL_TYPE_LABELS[t] ?? t }))
|
|
1453
1453
|
];
|
|
1454
1454
|
const pick = (slug) => {
|
|
1455
1455
|
setSelected(slug);
|
|
1456
1456
|
setMode("detail");
|
|
1457
1457
|
};
|
|
1458
1458
|
const markdownOf = async (skill) => {
|
|
1459
|
-
if (!skill.docExtId) return
|
|
1459
|
+
if (!skill.docExtId) return chunk74XF67TU_cjs.workflowToSkillMarkdown(skill.workflow);
|
|
1460
1460
|
const response = await arbi.documents.download(skill.docExtId);
|
|
1461
1461
|
if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
|
|
1462
1462
|
return response.text();
|
|
@@ -1520,7 +1520,7 @@ function ConnectedSkillsLibrary({
|
|
|
1520
1520
|
try {
|
|
1521
1521
|
documentTools.downloadBlob(
|
|
1522
1522
|
new Blob([await markdownOf(skill)], { type: "text/markdown" }),
|
|
1523
|
-
|
|
1523
|
+
chunk74XF67TU_cjs.SKILL_MAIN_FILENAME
|
|
1524
1524
|
);
|
|
1525
1525
|
} catch (error) {
|
|
1526
1526
|
notify19(errorText(error, "Could not export the skill"), "error");
|
|
@@ -1561,10 +1561,10 @@ function ConnectedSkillsLibrary({
|
|
|
1561
1561
|
}
|
|
1562
1562
|
)
|
|
1563
1563
|
] }),
|
|
1564
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1564
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.SkillViewToggle, { value: view, onChange: setView })
|
|
1565
1565
|
] }),
|
|
1566
1566
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1567
|
-
|
|
1567
|
+
chunk74XF67TU_cjs.SkillFilterChips,
|
|
1568
1568
|
{
|
|
1569
1569
|
label: "Show",
|
|
1570
1570
|
value: source,
|
|
@@ -1573,7 +1573,7 @@ function ConnectedSkillsLibrary({
|
|
|
1573
1573
|
}
|
|
1574
1574
|
),
|
|
1575
1575
|
types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1576
|
-
|
|
1576
|
+
chunk74XF67TU_cjs.SkillFilterChips,
|
|
1577
1577
|
{
|
|
1578
1578
|
label: "Kind",
|
|
1579
1579
|
value: type,
|
|
@@ -1620,12 +1620,12 @@ function ConnectedSkillsLibrary({
|
|
|
1620
1620
|
view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
|
|
1621
1621
|
),
|
|
1622
1622
|
children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1623
|
-
|
|
1623
|
+
chunk74XF67TU_cjs.SkillTile,
|
|
1624
1624
|
{
|
|
1625
1625
|
name: skill.title,
|
|
1626
1626
|
testId: `skill-tile-${skill.slug}`,
|
|
1627
1627
|
description: skill.description,
|
|
1628
|
-
sourceLabel: skill.isShared ? `${
|
|
1628
|
+
sourceLabel: skill.isShared ? `${chunk74XF67TU_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunk74XF67TU_cjs.SKILL_SOURCE_LABELS[skill.source],
|
|
1629
1629
|
type: skill.type,
|
|
1630
1630
|
icon,
|
|
1631
1631
|
layout: view,
|
|
@@ -1660,7 +1660,7 @@ function ConnectedSkillsLibrary({
|
|
|
1660
1660
|
}
|
|
1661
1661
|
),
|
|
1662
1662
|
mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1663
|
-
|
|
1663
|
+
chunk74XF67TU_cjs.SkillGenerateForm,
|
|
1664
1664
|
{
|
|
1665
1665
|
icon,
|
|
1666
1666
|
onGenerate: (desc) => {
|
|
@@ -1687,11 +1687,11 @@ function ConnectedSkillsLibrary({
|
|
|
1687
1687
|
),
|
|
1688
1688
|
mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
|
|
1689
1689
|
mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1690
|
-
|
|
1690
|
+
chunk74XF67TU_cjs.SkillLibraryDetail,
|
|
1691
1691
|
{
|
|
1692
1692
|
skill: current,
|
|
1693
1693
|
icon,
|
|
1694
|
-
instructions: current.docExtId ? currentText ?
|
|
1694
|
+
instructions: current.docExtId ? currentText ? chunk74XF67TU_cjs.parseSkillFrontmatter(currentText, chunk74XF67TU_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
|
|
1695
1695
|
isLoading: !!current.docExtId && textLoading,
|
|
1696
1696
|
actions: {
|
|
1697
1697
|
onRun: () => onRun(current.slug),
|
|
@@ -1726,7 +1726,7 @@ function SkillEditor({
|
|
|
1726
1726
|
const [seeded, setSeeded] = react.useState(!isEditing);
|
|
1727
1727
|
const [nameError, setNameError] = react.useState(null);
|
|
1728
1728
|
if (isEditing && !seeded && text !== void 0) {
|
|
1729
|
-
const parsed =
|
|
1729
|
+
const parsed = chunk74XF67TU_cjs.parseSkillFrontmatter(text, chunk74XF67TU_cjs.SKILL_MAIN_FILENAME);
|
|
1730
1730
|
setDescription(parsed.description ?? "");
|
|
1731
1731
|
setBody(parsed.content ?? "");
|
|
1732
1732
|
setSeeded(true);
|
|
@@ -1740,15 +1740,15 @@ function SkillEditor({
|
|
|
1740
1740
|
notify19("Add a short description.", "error");
|
|
1741
1741
|
return;
|
|
1742
1742
|
}
|
|
1743
|
-
const slug =
|
|
1743
|
+
const slug = chunk74XF67TU_cjs.skillSlug(name);
|
|
1744
1744
|
try {
|
|
1745
|
-
await onSave(slug,
|
|
1745
|
+
await onSave(slug, chunk74XF67TU_cjs.serializeSkill({ name: slug, description, body }), isEditing);
|
|
1746
1746
|
} catch (err) {
|
|
1747
1747
|
notify19(errorText(err, "Could not save the skill"), "error");
|
|
1748
1748
|
}
|
|
1749
1749
|
};
|
|
1750
1750
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1751
|
-
|
|
1751
|
+
chunk74XF67TU_cjs.SkillEditForm,
|
|
1752
1752
|
{
|
|
1753
1753
|
name,
|
|
1754
1754
|
onNameChange: setName,
|
|
@@ -1841,7 +1841,7 @@ function ConnectedSkillsBrowser({
|
|
|
1841
1841
|
}
|
|
1842
1842
|
) }),
|
|
1843
1843
|
runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1844
|
-
|
|
1844
|
+
chunkKGKB7YKH_cjs.ConnectedTaskComposer,
|
|
1845
1845
|
{
|
|
1846
1846
|
kind: "workflow",
|
|
1847
1847
|
open: true,
|
|
@@ -1865,9 +1865,9 @@ function ConnectedAgentCreator({
|
|
|
1865
1865
|
agent,
|
|
1866
1866
|
initialName,
|
|
1867
1867
|
onSaved,
|
|
1868
|
-
capabilities =
|
|
1869
|
-
templates =
|
|
1870
|
-
types =
|
|
1868
|
+
capabilities = chunk74XF67TU_cjs.DEFAULT_AGENT_CAPABILITIES,
|
|
1869
|
+
templates = chunk74XF67TU_cjs.DEFAULT_AGENT_TEMPLATES,
|
|
1870
|
+
types = chunk74XF67TU_cjs.DEFAULT_AGENT_TYPES,
|
|
1871
1871
|
canRevokeWorkspaces = false,
|
|
1872
1872
|
labels
|
|
1873
1873
|
}) {
|
|
@@ -1909,7 +1909,7 @@ function ConnectedAgentCreator({
|
|
|
1909
1909
|
const initialValues = react.useMemo(
|
|
1910
1910
|
() => ({
|
|
1911
1911
|
name: agent?.given_name ?? initialName ?? "",
|
|
1912
|
-
persona: isEdit ?
|
|
1912
|
+
persona: isEdit ? chunk74XF67TU_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
|
|
1913
1913
|
modelName: String(agents.AGENT_MODEL_NAME ?? ""),
|
|
1914
1914
|
capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
|
|
1915
1915
|
type: "builtin",
|
|
@@ -1928,7 +1928,7 @@ function ConnectedAgentCreator({
|
|
|
1928
1928
|
try {
|
|
1929
1929
|
let agentExtId = agent?.external_id ?? early?.id ?? "";
|
|
1930
1930
|
if (!agentExtId) {
|
|
1931
|
-
if (!
|
|
1931
|
+
if (!chunk74XF67TU_cjs.isValidAgentName(values.name)) {
|
|
1932
1932
|
notify19("Give the agent a name first.", "error");
|
|
1933
1933
|
return;
|
|
1934
1934
|
}
|
|
@@ -1964,7 +1964,7 @@ function ConnectedAgentCreator({
|
|
|
1964
1964
|
title: `agent-${name}`,
|
|
1965
1965
|
sections: {
|
|
1966
1966
|
Agents: {
|
|
1967
|
-
PERSONA:
|
|
1967
|
+
PERSONA: chunk74XF67TU_cjs.composePersona(name, values.persona),
|
|
1968
1968
|
...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
|
|
1969
1969
|
...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
|
|
1970
1970
|
ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
|
|
@@ -1987,7 +1987,7 @@ function ConnectedAgentCreator({
|
|
|
1987
1987
|
};
|
|
1988
1988
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1989
1989
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1990
|
-
|
|
1990
|
+
chunk74XF67TU_cjs.AgentCreator,
|
|
1991
1991
|
{
|
|
1992
1992
|
open: ready,
|
|
1993
1993
|
onOpenChange,
|
|
@@ -2003,11 +2003,11 @@ function ConnectedAgentCreator({
|
|
|
2003
2003
|
) : void 0,
|
|
2004
2004
|
revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
|
|
2005
2005
|
avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2006
|
-
|
|
2006
|
+
chunk74XF67TU_cjs.AgentAvatarField,
|
|
2007
2007
|
{
|
|
2008
2008
|
picture,
|
|
2009
2009
|
isBusy: avatarBusy,
|
|
2010
|
-
canGenerate: isEdit ||
|
|
2010
|
+
canGenerate: isEdit || chunk74XF67TU_cjs.isValidAgentName(values.name),
|
|
2011
2011
|
onGenerate: () => handleGenerateAvatar(values)
|
|
2012
2012
|
}
|
|
2013
2013
|
),
|
|
@@ -2059,7 +2059,7 @@ function ConnectedAgentCreator({
|
|
|
2059
2059
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
|
|
2060
2060
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
|
|
2061
2061
|
] }),
|
|
2062
|
-
connect && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2062
|
+
connect && /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
|
|
2063
2063
|
]
|
|
2064
2064
|
}
|
|
2065
2065
|
) })
|
|
@@ -2186,7 +2186,7 @@ function AgentChat({ agentId, workspaceId, onOpenFull }) {
|
|
|
2186
2186
|
/* @__PURE__ */ jsxRuntime.jsx("ol", { className: "mt-2 space-y-1", children: activity.map((name, i) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap break-all", children: name }) }, i)) })
|
|
2187
2187
|
] }),
|
|
2188
2188
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2189
|
-
|
|
2189
|
+
chunkIJ4JKHEC_cjs.ChatPage,
|
|
2190
2190
|
{
|
|
2191
2191
|
chat: { ...chat, assistantMode: void 0, setAssistantMode: void 0 },
|
|
2192
2192
|
surface: "dock",
|
|
@@ -2288,7 +2288,7 @@ function ConnectedAgentChatPanel({
|
|
|
2288
2288
|
onOpened?.();
|
|
2289
2289
|
};
|
|
2290
2290
|
if (!session)
|
|
2291
|
-
return /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs text-muted-foreground", children: isError ? /* @__PURE__ */ jsxRuntime.jsx("button", { onClick: () => void refetchSession(), children: l.loadFailed }) : l.loading });
|
|
2291
|
+
return /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs text-muted-foreground", children: isError ? /* @__PURE__ */ jsxRuntime.jsx("button", { className: "pointer-coarse:min-h-11", onClick: () => void refetchSession(), children: l.loadFailed }) : l.loading });
|
|
2292
2292
|
if (session.backend !== "native")
|
|
2293
2293
|
return openDirectChat ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2294
2294
|
"button",
|
|
@@ -2316,7 +2316,7 @@ function ConnectedAgentChatPanel({
|
|
|
2316
2316
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2317
2317
|
"button",
|
|
2318
2318
|
{
|
|
2319
|
-
className: "w-full rounded-md bg-primary px-3 py-2 text-sm text-primary-foreground",
|
|
2319
|
+
className: "w-full rounded-md bg-primary px-3 py-2 text-sm text-primary-foreground pointer-coarse:min-h-11",
|
|
2320
2320
|
disabled: busy,
|
|
2321
2321
|
onClick: () => void run(async () => {
|
|
2322
2322
|
if (isPersonalAgent && openDirectChat) {
|
|
@@ -2343,7 +2343,7 @@ function ConnectedAgentChatPanel({
|
|
|
2343
2343
|
{
|
|
2344
2344
|
hidden: chatOpen,
|
|
2345
2345
|
"aria-label": l.chatsAria,
|
|
2346
|
-
className: "w-full rounded-md border bg-background p-2 text-xs",
|
|
2346
|
+
className: "w-full rounded-md border bg-background p-2 text-xs pointer-coarse:min-h-11",
|
|
2347
2347
|
value: "",
|
|
2348
2348
|
disabled: busy,
|
|
2349
2349
|
onChange: (event) => {
|
|
@@ -2370,7 +2370,7 @@ function ConnectedAgentChatPanel({
|
|
|
2370
2370
|
"button",
|
|
2371
2371
|
{
|
|
2372
2372
|
disabled: busy,
|
|
2373
|
-
className: "underline",
|
|
2373
|
+
className: "underline pointer-coarse:min-h-11",
|
|
2374
2374
|
onClick: () => void run(async () => {
|
|
2375
2375
|
if (!selectedWorkspaceId) throw new Error(l.selectWorkspaceFirst);
|
|
2376
2376
|
await start.mutateAsync({ agentId });
|
|
@@ -2382,7 +2382,7 @@ function ConnectedAgentChatPanel({
|
|
|
2382
2382
|
"button",
|
|
2383
2383
|
{
|
|
2384
2384
|
disabled: busy,
|
|
2385
|
-
className: "underline",
|
|
2385
|
+
className: "underline pointer-coarse:min-h-11",
|
|
2386
2386
|
onClick: () => void run(async () => {
|
|
2387
2387
|
await close.mutateAsync(agentId);
|
|
2388
2388
|
}),
|
|
@@ -2456,7 +2456,7 @@ function useMemoryCount(enabled) {
|
|
|
2456
2456
|
}
|
|
2457
2457
|
function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
2458
2458
|
const { notify: notify19, confirm, openConversation, openDocument } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
2459
|
-
const people =
|
|
2459
|
+
const people = chunkKGKB7YKH_cjs.useTaskPeople();
|
|
2460
2460
|
const canEditShared = react$1.useCanEditShared();
|
|
2461
2461
|
const isWorkspaceOwner = react$1.useIsWorkspaceOwner();
|
|
2462
2462
|
const { data: workflows = [] } = react$1.useWorkflows({ live: true });
|
|
@@ -2482,7 +2482,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2482
2482
|
}, [documents]);
|
|
2483
2483
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2484
2484
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2485
|
-
|
|
2485
|
+
chunk74XF67TU_cjs.TaskTable,
|
|
2486
2486
|
{
|
|
2487
2487
|
tasks,
|
|
2488
2488
|
isLoading,
|
|
@@ -2512,7 +2512,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2512
2512
|
}
|
|
2513
2513
|
),
|
|
2514
2514
|
activityFor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2515
|
-
|
|
2515
|
+
chunkKGKB7YKH_cjs.ConnectedTaskActivityDialog,
|
|
2516
2516
|
{
|
|
2517
2517
|
conversationId: activityFor.external_id,
|
|
2518
2518
|
taskName: activityFor.title || l.untitledTask,
|
|
@@ -2551,7 +2551,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
|
|
|
2551
2551
|
[workflows, skills, l.skillFiles]
|
|
2552
2552
|
);
|
|
2553
2553
|
const launch = async ({ workflow, inputs, agentId }) => {
|
|
2554
|
-
const values =
|
|
2554
|
+
const values = chunk74XF67TU_cjs.defaultTaskComposerValues(launchable, {
|
|
2555
2555
|
workflowId: workflow.id,
|
|
2556
2556
|
assignee: "agent",
|
|
2557
2557
|
inputs,
|
|
@@ -2671,7 +2671,7 @@ function ConnectedAgentsPageScope(props) {
|
|
|
2671
2671
|
children,
|
|
2672
2672
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
|
|
2673
2673
|
taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2674
|
-
|
|
2674
|
+
chunkKGKB7YKH_cjs.ConnectedTaskComposer,
|
|
2675
2675
|
{
|
|
2676
2676
|
open: true,
|
|
2677
2677
|
onOpenChange: (open) => !open && setTaskDialog(null),
|
|
@@ -2694,7 +2694,7 @@ function AgentsGallery() {
|
|
|
2694
2694
|
} = agentOptions;
|
|
2695
2695
|
const { openConversation } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
2696
2696
|
const { user } = react$1.useArbiSession();
|
|
2697
|
-
const tasksByAgent = react.useMemo(() =>
|
|
2697
|
+
const tasksByAgent = react.useMemo(() => chunk74XF67TU_cjs.groupAgentTasks(tasks), [tasks]);
|
|
2698
2698
|
const behaviour = useAgentBehaviour(l.defaultBehaviour, details.includes("behaviour"));
|
|
2699
2699
|
const { agents } = management;
|
|
2700
2700
|
const cardDetails = (agent) => details.map(
|
|
@@ -2710,7 +2710,7 @@ function AgentsGallery() {
|
|
|
2710
2710
|
) : detail === "workspaces" ? /* @__PURE__ */ jsxRuntime.jsx(AgentWorkspaceAccess, { agentExtId: agent.external_id, labels: l }, detail) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: behaviour.behaviourOf(agent.given_name) }, detail)
|
|
2711
2711
|
);
|
|
2712
2712
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2713
|
-
|
|
2713
|
+
chunk74XF67TU_cjs.AgentGallery,
|
|
2714
2714
|
{
|
|
2715
2715
|
count: agents.length,
|
|
2716
2716
|
onCreate: management.create,
|
|
@@ -2722,7 +2722,7 @@ function AgentsGallery() {
|
|
|
2722
2722
|
const watchConversationId = running[0]?.external_id ?? null;
|
|
2723
2723
|
const progress = agentTasks[0] ? chunkBH322H5B_cjs.goalProgress(agentTasks[0]) : null;
|
|
2724
2724
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2725
|
-
|
|
2725
|
+
chunk74XF67TU_cjs.AgentCard,
|
|
2726
2726
|
{
|
|
2727
2727
|
name: displayName(agent),
|
|
2728
2728
|
avatar: /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
|
|
@@ -2830,7 +2830,7 @@ function AgentsSectionBody({ id }) {
|
|
|
2830
2830
|
) });
|
|
2831
2831
|
case "scheduled":
|
|
2832
2832
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-[min(32rem,70dvh)] min-h-64 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2833
|
-
|
|
2833
|
+
chunkW3WPHMRB_cjs.ConnectedWorkflowsTable,
|
|
2834
2834
|
{
|
|
2835
2835
|
filter: "scheduled",
|
|
2836
2836
|
onEdit: (w) => openWorkflow?.(w.external_id),
|
|
@@ -3134,7 +3134,7 @@ function ConnectedTagTable({
|
|
|
3134
3134
|
const fail2 = (fallback) => (e) => notify19(browser.refusalReason(e, fallback), "error");
|
|
3135
3135
|
const snapshot2 = (data) => {
|
|
3136
3136
|
const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
|
|
3137
|
-
const bytes =
|
|
3137
|
+
const bytes = chunkNZMEZL5D_cjs.tagTableDocx(data, {
|
|
3138
3138
|
title,
|
|
3139
3139
|
nameOf: (id) => people.find((p) => p.value === id)?.label
|
|
3140
3140
|
});
|
|
@@ -3143,7 +3143,7 @@ function ConnectedTagTable({
|
|
|
3143
3143
|
return { blob: new Blob([bytes], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }), name };
|
|
3144
3144
|
};
|
|
3145
3145
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3146
|
-
|
|
3146
|
+
chunkNZMEZL5D_cjs.TagTable,
|
|
3147
3147
|
{
|
|
3148
3148
|
...props,
|
|
3149
3149
|
table,
|
|
@@ -4268,9 +4268,9 @@ function GlossaryExport({ labelId, nameOf }) {
|
|
|
4268
4268
|
const narrowed = agreements.find((a) => a.id === narrowTo);
|
|
4269
4269
|
const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
|
|
4270
4270
|
const download = (format) => {
|
|
4271
|
-
const entries =
|
|
4272
|
-
const blob = format === "docx" ? new Blob([
|
|
4273
|
-
documentTools.downloadBlob(blob,
|
|
4271
|
+
const entries = chunkNZMEZL5D_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
|
|
4272
|
+
const blob = format === "docx" ? new Blob([chunkNZMEZL5D_cjs.glossaryDocx(entries, { title })], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }) : new Blob([chunkNZMEZL5D_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
|
|
4273
|
+
documentTools.downloadBlob(blob, chunkNZMEZL5D_cjs.glossaryFileName(title, format));
|
|
4274
4274
|
};
|
|
4275
4275
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
|
|
4276
4276
|
agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -4799,7 +4799,7 @@ function KindSection({
|
|
|
4799
4799
|
{
|
|
4800
4800
|
testId: `tags-kind-${kind}`,
|
|
4801
4801
|
title: ui.tagKindTitle(kind, { plural: true }),
|
|
4802
|
-
description:
|
|
4802
|
+
description: chunkNZMEZL5D_cjs.tagKindDescription(kind),
|
|
4803
4803
|
children: [
|
|
4804
4804
|
browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4805
4805
|
"p",
|
|
@@ -4809,9 +4809,9 @@ function KindSection({
|
|
|
4809
4809
|
children: [
|
|
4810
4810
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
|
|
4811
4811
|
"Extracting ",
|
|
4812
|
-
|
|
4812
|
+
chunkNZMEZL5D_cjs.entitiesPhrase().toLowerCase(),
|
|
4813
4813
|
" from ",
|
|
4814
|
-
|
|
4814
|
+
chunkNZMEZL5D_cjs.documentCount(extractingCount),
|
|
4815
4815
|
"\u2026"
|
|
4816
4816
|
]
|
|
4817
4817
|
}
|
|
@@ -4829,7 +4829,7 @@ function KindSection({
|
|
|
4829
4829
|
onOpenTag: ctx.onOpenTag,
|
|
4830
4830
|
onOpenRow: ctx.onOpenTag,
|
|
4831
4831
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4832
|
-
labels:
|
|
4832
|
+
labels: chunkNZMEZL5D_cjs.tagTableLabels(kind),
|
|
4833
4833
|
testId: `tags-table-${kind}`
|
|
4834
4834
|
}
|
|
4835
4835
|
)
|
|
@@ -4937,15 +4937,15 @@ function TagSection({
|
|
|
4937
4937
|
onOpenTag: ctx.onOpenTag,
|
|
4938
4938
|
onOpenRow: ctx.onOpenTag,
|
|
4939
4939
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4940
|
-
labels:
|
|
4940
|
+
labels: chunkNZMEZL5D_cjs.tagTableLabels(tag.kind),
|
|
4941
4941
|
testId: "tags-rows"
|
|
4942
4942
|
}
|
|
4943
4943
|
),
|
|
4944
4944
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4945
|
-
|
|
4945
|
+
chunkNZMEZL5D_cjs.TagDetail,
|
|
4946
4946
|
{
|
|
4947
4947
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4948
|
-
fieldLabels:
|
|
4948
|
+
fieldLabels: chunkNZMEZL5D_cjs.tagTableLabels(tag.kind),
|
|
4949
4949
|
row: detailRow,
|
|
4950
4950
|
fields: schema.data?.fields ?? [],
|
|
4951
4951
|
isLoading: detail.isLoading,
|
|
@@ -4959,7 +4959,7 @@ function TagSection({
|
|
|
4959
4959
|
throw e;
|
|
4960
4960
|
})
|
|
4961
4961
|
),
|
|
4962
|
-
labels:
|
|
4962
|
+
labels: chunkNZMEZL5D_cjs.tagDetailLabels(),
|
|
4963
4963
|
testId: "tags-detail"
|
|
4964
4964
|
}
|
|
4965
4965
|
)
|
|
@@ -5042,7 +5042,7 @@ function ConnectedTagsPage() {
|
|
|
5042
5042
|
const onDelete = async (t) => {
|
|
5043
5043
|
const nested = browser.getChildTags([...tags], t.external_id);
|
|
5044
5044
|
const uses = browser.tagUseCount(t);
|
|
5045
|
-
const n2 =
|
|
5045
|
+
const n2 = chunkNZMEZL5D_cjs.tagsPageNouns();
|
|
5046
5046
|
const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
|
|
5047
5047
|
const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
|
|
5048
5048
|
const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
|
|
@@ -5063,11 +5063,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5063
5063
|
try {
|
|
5064
5064
|
await extract.mutateAsync(docIds);
|
|
5065
5065
|
notify19(
|
|
5066
|
-
`Extracting ${
|
|
5066
|
+
`Extracting ${chunkNZMEZL5D_cjs.entitiesPhrase().toLowerCase()} from ${chunkNZMEZL5D_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
|
|
5067
5067
|
"info"
|
|
5068
5068
|
);
|
|
5069
5069
|
} catch (error) {
|
|
5070
|
-
notify19(browser.refusalReason(error, `Could not extract ${
|
|
5070
|
+
notify19(browser.refusalReason(error, `Could not extract ${chunkNZMEZL5D_cjs.entitiesPhrase().toLowerCase()}`), "error");
|
|
5071
5071
|
throw error;
|
|
5072
5072
|
}
|
|
5073
5073
|
};
|
|
@@ -5081,10 +5081,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5081
5081
|
onOpenTag: openTag,
|
|
5082
5082
|
onOpenTaggedItems
|
|
5083
5083
|
};
|
|
5084
|
-
const n =
|
|
5084
|
+
const n = chunkNZMEZL5D_cjs.tagsPageNouns();
|
|
5085
5085
|
const action = view === "person" || view === "organisation" ? {
|
|
5086
5086
|
label: "Extract",
|
|
5087
|
-
title: `Extract ${
|
|
5087
|
+
title: `Extract ${chunkNZMEZL5D_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
|
|
5088
5088
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
|
|
5089
5089
|
run: () => setExtracting(true),
|
|
5090
5090
|
testId: "tags-extract-entities"
|
|
@@ -5253,7 +5253,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5253
5253
|
}
|
|
5254
5254
|
),
|
|
5255
5255
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5256
|
-
|
|
5256
|
+
chunkNZMEZL5D_cjs.ExtractEntitiesDialog,
|
|
5257
5257
|
{
|
|
5258
5258
|
open: extracting,
|
|
5259
5259
|
onOpenChange: setExtracting,
|
|
@@ -5456,12 +5456,12 @@ function ConnectedExportPanel({
|
|
|
5456
5456
|
current: workspace,
|
|
5457
5457
|
currentRole,
|
|
5458
5458
|
nameOf
|
|
5459
|
-
} =
|
|
5459
|
+
} = chunkLCAND465_cjs.useTransferTargets();
|
|
5460
5460
|
const { data: workspaceTags = [] } = react$1.useTags(currentWorkspaceId ?? void 0);
|
|
5461
5461
|
const { data: workspaceDocuments = [] } = react$1.useDocuments(currentWorkspaceId ?? void 0);
|
|
5462
|
-
const columnsMode =
|
|
5463
|
-
const setColumnsMode =
|
|
5464
|
-
const trackTransfer =
|
|
5462
|
+
const columnsMode = chunkLCAND465_cjs.useExportStore((state) => state.columnsMode);
|
|
5463
|
+
const setColumnsMode = chunkLCAND465_cjs.useExportStore((state) => state.setColumnsMode);
|
|
5464
|
+
const trackTransfer = chunkLCAND465_cjs.useExportStore((state) => state.trackTransfer);
|
|
5465
5465
|
const [scopeChoice, setScopeChoice] = react.useState(
|
|
5466
5466
|
items.length > 0 ? "selection" : "all"
|
|
5467
5467
|
);
|
|
@@ -5506,7 +5506,7 @@ function ConnectedExportPanel({
|
|
|
5506
5506
|
enabled: scopeReady && !jobId
|
|
5507
5507
|
});
|
|
5508
5508
|
const summary = react.useMemo(
|
|
5509
|
-
() => plan ?
|
|
5509
|
+
() => plan ? chunkLCAND465_cjs.describePlan(plan, mode) : { lines: [], warnings: [] },
|
|
5510
5510
|
[plan, mode]
|
|
5511
5511
|
);
|
|
5512
5512
|
const targetName = nameOf;
|
|
@@ -5616,7 +5616,7 @@ function ConnectedExportPanel({
|
|
|
5616
5616
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5617
5617
|
chunk6DHDITKK_cjs.ExportResultsReport,
|
|
5618
5618
|
{
|
|
5619
|
-
summary: `${job.mode === "move" ? "Moved" : "Copied"} ${
|
|
5619
|
+
summary: `${job.mode === "move" ? "Moved" : "Copied"} ${chunkLCAND465_cjs.plural(
|
|
5620
5620
|
Number(job.counts?.copied ?? 0) + Number(job.counts?.removed ?? 0),
|
|
5621
5621
|
"item"
|
|
5622
5622
|
)} to ${targetName(job.target_workspace_ext_id)}.${job.counts?.failed ? ` ${job.counts.failed} failed.` : ""}`,
|
|
@@ -5688,7 +5688,7 @@ function ConnectedExportPanel({
|
|
|
5688
5688
|
lines: summary.lines,
|
|
5689
5689
|
warnings: summary.warnings,
|
|
5690
5690
|
isLoading: isPlanning,
|
|
5691
|
-
error:
|
|
5691
|
+
error: chunkLCAND465_cjs.planFailure(planError),
|
|
5692
5692
|
onRetry: () => void refetchPlan()
|
|
5693
5693
|
}
|
|
5694
5694
|
),
|
|
@@ -6382,7 +6382,7 @@ var FIELDS_MANAGER_CREATE_VIEW = "fieldsManager.create";
|
|
|
6382
6382
|
var createRequests = 0;
|
|
6383
6383
|
function openFieldsManagerIn(layout, kind, options = {}) {
|
|
6384
6384
|
if (kind) layout.setTransientView(FIELDS_MANAGER_KIND_VIEW, kind);
|
|
6385
|
-
layout.openPanel(FIELDS_MANAGER_PANEL, "
|
|
6385
|
+
layout.openPanel(FIELDS_MANAGER_PANEL, "overlay");
|
|
6386
6386
|
if (options.create) layout.setTransientView(FIELDS_MANAGER_CREATE_VIEW, ++createRequests);
|
|
6387
6387
|
}
|
|
6388
6388
|
function ConnectedFieldsManagerPanel({
|
|
@@ -6414,7 +6414,7 @@ function ConnectedFieldsManagerPanel({
|
|
|
6414
6414
|
[getGridApi, onReorderColumns]
|
|
6415
6415
|
);
|
|
6416
6416
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6417
|
-
|
|
6417
|
+
chunk6PKP7UT7_cjs.ConnectedPanelHost,
|
|
6418
6418
|
{
|
|
6419
6419
|
panelId: FIELDS_MANAGER_PANEL,
|
|
6420
6420
|
isOpen,
|
|
@@ -6484,7 +6484,7 @@ function ConnectedFactsSmartSearch({
|
|
|
6484
6484
|
const runSearch = () => search().catch(() => notify19(`Could not search ${factsWord}. Please try again.`, "error"));
|
|
6485
6485
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "facts-smart-search", children: [
|
|
6486
6486
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6487
|
-
|
|
6487
|
+
chunkWQQ6C2ML_cjs.FactSearchBar,
|
|
6488
6488
|
{
|
|
6489
6489
|
query,
|
|
6490
6490
|
onQueryChange: setQuery,
|
|
@@ -6493,7 +6493,7 @@ function ConnectedFactsSmartSearch({
|
|
|
6493
6493
|
isSearching
|
|
6494
6494
|
}
|
|
6495
6495
|
),
|
|
6496
|
-
!isSearching && hits !== null && hits.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6496
|
+
!isSearching && hits !== null && hits.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunkWQQ6C2ML_cjs.FactSearchTotals, { children: [
|
|
6497
6497
|
hits.length.toLocaleString(),
|
|
6498
6498
|
" ",
|
|
6499
6499
|
hits.length === 1 ? factWord : factsWord,
|
|
@@ -6501,18 +6501,18 @@ function ConnectedFactsSmartSearch({
|
|
|
6501
6501
|
lastQuery,
|
|
6502
6502
|
"\u201D"
|
|
6503
6503
|
] }),
|
|
6504
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-4 pb-3", children: isSearching ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6504
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-4 pb-3", children: isSearching ? /* @__PURE__ */ jsxRuntime.jsxs(chunkWQQ6C2ML_cjs.FactSearchPending, { children: [
|
|
6505
6505
|
"Searching ",
|
|
6506
6506
|
factsWord,
|
|
6507
6507
|
"\u2026"
|
|
6508
|
-
] }) : hits === null ? /* @__PURE__ */ jsxRuntime.jsx(chunkNX56DIG3_cjs.SearchEmptyState, { nouns, count: allFacts.length }) : hits.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6508
|
+
] }) : hits === null ? /* @__PURE__ */ jsxRuntime.jsx(chunkNX56DIG3_cjs.SearchEmptyState, { nouns, count: allFacts.length }) : hits.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkWQQ6C2ML_cjs.FactSearchNoMatches, { children: [
|
|
6509
6509
|
"No ",
|
|
6510
6510
|
factsWord,
|
|
6511
6511
|
" matched \u201C",
|
|
6512
6512
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground", children: lastQuery }),
|
|
6513
6513
|
"\u201D."
|
|
6514
6514
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: hits.map((h, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
6515
|
-
|
|
6515
|
+
chunkWQQ6C2ML_cjs.FactSearchResult,
|
|
6516
6516
|
{
|
|
6517
6517
|
id: h.external_id,
|
|
6518
6518
|
rank: i + 1,
|
|
@@ -6612,7 +6612,7 @@ function FactSourcesPopover({
|
|
|
6612
6612
|
const olderVersion = refOf(docId) !== docId ? refOf(docId).split("@v")[1] : null;
|
|
6613
6613
|
const cited = passagesOf(docId);
|
|
6614
6614
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6615
|
-
|
|
6615
|
+
chunkWQQ6C2ML_cjs.FactSourceGroup,
|
|
6616
6616
|
{
|
|
6617
6617
|
docId,
|
|
6618
6618
|
isViewing,
|
|
@@ -6701,7 +6701,7 @@ function FactMarkdownEditor({
|
|
|
6701
6701
|
const editorRef = react.useRef(null);
|
|
6702
6702
|
react.useEffect(() => {
|
|
6703
6703
|
if (!editorRef.current) return;
|
|
6704
|
-
return
|
|
6704
|
+
return chunkWQQ6C2ML_cjs.enableFactTableColumnResize(editorRef.current);
|
|
6705
6705
|
}, []);
|
|
6706
6706
|
react.useEffect(() => {
|
|
6707
6707
|
if (!editing) return;
|
|
@@ -7340,7 +7340,7 @@ function useFactFilters(notes, view, chat) {
|
|
|
7340
7340
|
const makeTagPicker = react.useCallback(
|
|
7341
7341
|
(selected, setSelected, opts) => {
|
|
7342
7342
|
const applied = new Set(selected);
|
|
7343
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7343
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWQQ6C2ML_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7344
7344
|
chunk6DHDITKK_cjs.FieldLabelsSelect,
|
|
7345
7345
|
{
|
|
7346
7346
|
options: labelOptions,
|
|
@@ -7532,14 +7532,14 @@ function useFactSelection(notes, gridApiRef, setFactTags, chat) {
|
|
|
7532
7532
|
}
|
|
7533
7533
|
function renderSourcesCell(params) {
|
|
7534
7534
|
const fact = params.data;
|
|
7535
|
-
const count2 =
|
|
7535
|
+
const count2 = chunkWQQ6C2ML_cjs.sourceDocCount(fact);
|
|
7536
7536
|
if (!fact || count2 === 0) return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground/40", children: "\u2014" });
|
|
7537
7537
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7538
7538
|
"button",
|
|
7539
7539
|
{
|
|
7540
7540
|
type: "button",
|
|
7541
7541
|
onClick: () => params.context?.openEdit?.(fact),
|
|
7542
|
-
title:
|
|
7542
|
+
title: chunkWQQ6C2ML_cjs.DEFAULT_FACT_COLUMN_LABELS.sourcedFrom(count2),
|
|
7543
7543
|
"data-testid": `facts-grid-sources-${fact.external_id}`,
|
|
7544
7544
|
className: "inline-flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground",
|
|
7545
7545
|
children: [
|
|
@@ -7596,14 +7596,14 @@ function createFactPageColumns({
|
|
|
7596
7596
|
onToggleConfirmed,
|
|
7597
7597
|
onToggleShared
|
|
7598
7598
|
}) {
|
|
7599
|
-
const columns =
|
|
7599
|
+
const columns = chunkWQQ6C2ML_cjs.createFactColumns({
|
|
7600
7600
|
onToggleInChat,
|
|
7601
7601
|
isInChat,
|
|
7602
7602
|
renderHeader: (params, colId) => /* @__PURE__ */ jsxRuntime.jsx(FactHeader, { params, colId }),
|
|
7603
7603
|
renderRowActions: (fact, params) => {
|
|
7604
7604
|
const ctx = params.context;
|
|
7605
7605
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7606
|
-
|
|
7606
|
+
chunkWQQ6C2ML_cjs.FactRowActions,
|
|
7607
7607
|
{
|
|
7608
7608
|
onEdit: () => ctx?.openEdit?.(fact),
|
|
7609
7609
|
canEdit: ctx?.canRewrite?.(fact) !== false,
|
|
@@ -7732,7 +7732,7 @@ function useFactsGrid({
|
|
|
7732
7732
|
);
|
|
7733
7733
|
const renderFactTags = react.useCallback(
|
|
7734
7734
|
(fact, rowHeight) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
7735
|
-
|
|
7735
|
+
chunkWQQ6C2ML_cjs.FactLabelsCell,
|
|
7736
7736
|
{
|
|
7737
7737
|
options: labelOptions,
|
|
7738
7738
|
selectedIds: fact.tags.map((t) => t.tag_ext_id),
|
|
@@ -8097,7 +8097,7 @@ function ConnectedFactsPage() {
|
|
|
8097
8097
|
};
|
|
8098
8098
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: setFactSection, className: "relative flex h-full flex-col", "data-testid": "facts-page", children: [
|
|
8099
8099
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8100
|
-
|
|
8100
|
+
chunkWQQ6C2ML_cjs.FactsToolbar,
|
|
8101
8101
|
{
|
|
8102
8102
|
count: filteredNotes.length,
|
|
8103
8103
|
hasActiveFilters: filters.hasActiveFilters,
|
|
@@ -8126,7 +8126,7 @@ function ConnectedFactsPage() {
|
|
|
8126
8126
|
onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
|
|
8127
8127
|
navSlotRef: setNavSlot,
|
|
8128
8128
|
navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8129
|
-
|
|
8129
|
+
chunkNZMEZL5D_cjs.GridRowNavigator,
|
|
8130
8130
|
{
|
|
8131
8131
|
gridApi,
|
|
8132
8132
|
selectedId: editingId,
|
|
@@ -8137,7 +8137,7 @@ function ConnectedFactsPage() {
|
|
|
8137
8137
|
) : null,
|
|
8138
8138
|
showToolbarRow: view !== "smart_search",
|
|
8139
8139
|
tools: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
8140
|
-
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8140
|
+
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunkWQQ6C2ML_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
|
|
8141
8141
|
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8142
8142
|
chunk6DHDITKK_cjs.RowDensityControl,
|
|
8143
8143
|
{
|
|
@@ -8175,7 +8175,7 @@ function ConnectedFactsPage() {
|
|
|
8175
8175
|
}
|
|
8176
8176
|
) }),
|
|
8177
8177
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8178
|
-
|
|
8178
|
+
chunkWQQ6C2ML_cjs.FactComposer,
|
|
8179
8179
|
{
|
|
8180
8180
|
isOpen: composing,
|
|
8181
8181
|
isEditing: !!editingId,
|
|
@@ -8205,7 +8205,7 @@ function ConnectedFactsPage() {
|
|
|
8205
8205
|
reserveSourcesSpace: view === "gantt" || view === "calendar",
|
|
8206
8206
|
citationContainer: factSection,
|
|
8207
8207
|
renderDocumentPicker: (onSelect, selectedIds, onOpen, sourcesToggle, sourcesOpen) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
8208
|
-
|
|
8208
|
+
chunkWQQ6C2ML_cjs.FactSourcesRow,
|
|
8209
8209
|
{
|
|
8210
8210
|
toggle: sourcesToggle,
|
|
8211
8211
|
picker: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -8251,7 +8251,7 @@ function ConnectedFactsPage() {
|
|
|
8251
8251
|
}
|
|
8252
8252
|
),
|
|
8253
8253
|
dateInput: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8254
|
-
|
|
8254
|
+
chunkWQQ6C2ML_cjs.FactDateInput,
|
|
8255
8255
|
{
|
|
8256
8256
|
value: composer.draftDateFields,
|
|
8257
8257
|
onChange: composer.setDraftDateFields,
|
|
@@ -8261,7 +8261,7 @@ function ConnectedFactsPage() {
|
|
|
8261
8261
|
}
|
|
8262
8262
|
),
|
|
8263
8263
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "scrollbar-subtle flex-1 overflow-y-auto pb-2", children: [
|
|
8264
|
-
isLoading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8264
|
+
isLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkWQQ6C2ML_cjs.FactsLoading, {}) : isError ? /* @__PURE__ */ jsxRuntime.jsx(chunkWQQ6C2ML_cjs.FactsLoadError, { onRetry: () => refetch() }) : view === "smart_search" ? (
|
|
8265
8265
|
// Searches facts only (never documents). Kept before the empty-state guard so the
|
|
8266
8266
|
// search UI is reachable even in an empty workspace.
|
|
8267
8267
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -8274,7 +8274,7 @@ function ConnectedFactsPage() {
|
|
|
8274
8274
|
)
|
|
8275
8275
|
) : notes.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-full flex-col items-center justify-center", children: [
|
|
8276
8276
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8277
|
-
|
|
8277
|
+
chunkWQQ6C2ML_cjs.FactsEmptyState,
|
|
8278
8278
|
{
|
|
8279
8279
|
onUseExample: (text) => {
|
|
8280
8280
|
composer.setDraft(text);
|
|
@@ -8285,7 +8285,7 @@ function ConnectedFactsPage() {
|
|
|
8285
8285
|
),
|
|
8286
8286
|
/* @__PURE__ */ jsxRuntime.jsx(FactsFindInDocuments, {})
|
|
8287
8287
|
] }) : view === "calendar" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8288
|
-
|
|
8288
|
+
chunkWQQ6C2ML_cjs.FactsCalendar,
|
|
8289
8289
|
{
|
|
8290
8290
|
facts: filteredNotes,
|
|
8291
8291
|
onSelect: (n) => openEditIfAllowed(n),
|
|
@@ -8294,7 +8294,7 @@ function ConnectedFactsPage() {
|
|
|
8294
8294
|
navigatorTotal: filteredNotes.length
|
|
8295
8295
|
}
|
|
8296
8296
|
) : view === "gantt" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8297
|
-
|
|
8297
|
+
chunkWQQ6C2ML_cjs.FactsGanttPane,
|
|
8298
8298
|
{
|
|
8299
8299
|
items: ganttItems,
|
|
8300
8300
|
labelWidth: pageView.labelWidth,
|
|
@@ -8344,7 +8344,7 @@ function ConnectedFactsPage() {
|
|
|
8344
8344
|
)
|
|
8345
8345
|
] }),
|
|
8346
8346
|
selectable && notes.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8347
|
-
|
|
8347
|
+
chunkWQQ6C2ML_cjs.FactsBulkBar,
|
|
8348
8348
|
{
|
|
8349
8349
|
count: selection.selectedFacts.length,
|
|
8350
8350
|
onClear: selection.clearSelection,
|
|
@@ -8403,7 +8403,7 @@ function useConnectedShellWorkspaces(options = {}) {
|
|
|
8403
8403
|
function ConnectedSsoDisconnect() {
|
|
8404
8404
|
const { client } = react$1.useAccountClient();
|
|
8405
8405
|
const { data: profile } = react$1.useProfile();
|
|
8406
|
-
const auth =
|
|
8406
|
+
const auth = chunkQZ5G6TON_cjs.useAuthPages();
|
|
8407
8407
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
8408
8408
|
const [open, setOpen] = react.useState(false);
|
|
8409
8409
|
const [step, setStep] = react.useState("email");
|
|
@@ -8581,14 +8581,14 @@ function ConnectedAccountSettings({
|
|
|
8581
8581
|
}) {
|
|
8582
8582
|
const [logoutOpen, setLogoutOpen] = react.useState(false);
|
|
8583
8583
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsPanel, { className: "max-w-2xl", children: [
|
|
8584
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8584
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQZ5G6TON_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
|
|
8585
8585
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
|
|
8586
8586
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
|
|
8587
8587
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
|
|
8588
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8588
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQZ5G6TON_cjs.ConnectedSecuritySection, { children: securityRows }),
|
|
8589
8589
|
moreSettings,
|
|
8590
8590
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8591
|
-
|
|
8591
|
+
chunkQZ5G6TON_cjs.ConnectedIdentityVerification,
|
|
8592
8592
|
{
|
|
8593
8593
|
collapsible: true,
|
|
8594
8594
|
onManageBilling,
|
|
@@ -8598,7 +8598,7 @@ function ConnectedAccountSettings({
|
|
|
8598
8598
|
] }),
|
|
8599
8599
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { children: [
|
|
8600
8600
|
connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
|
|
8601
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8601
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQZ5G6TON_cjs.ConnectedSessionsRow, { renderSessionIcon }),
|
|
8602
8602
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8603
8603
|
ui.Button,
|
|
8604
8604
|
{
|
|
@@ -8615,9 +8615,9 @@ function ConnectedAccountSettings({
|
|
|
8615
8615
|
}
|
|
8616
8616
|
) })
|
|
8617
8617
|
] }) }),
|
|
8618
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8618
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQZ5G6TON_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
|
|
8619
8619
|
!onLogout && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8620
|
-
|
|
8620
|
+
chunkQZ5G6TON_cjs.ConnectedLogoutDialog,
|
|
8621
8621
|
{
|
|
8622
8622
|
open: logoutOpen,
|
|
8623
8623
|
onClose: () => setLogoutOpen(false),
|
|
@@ -8960,7 +8960,7 @@ function ConnectedPrivacySettings({
|
|
|
8960
8960
|
}
|
|
8961
8961
|
)
|
|
8962
8962
|
] }) }),
|
|
8963
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8963
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQZ5G6TON_cjs.ConnectedNotificationPreferences, {})
|
|
8964
8964
|
] });
|
|
8965
8965
|
}
|
|
8966
8966
|
var PROVIDER_NAMES = {
|
|
@@ -10979,7 +10979,7 @@ function ConnectedRecoveryKeyDialog({
|
|
|
10979
10979
|
const arbi = react$1.useArbi();
|
|
10980
10980
|
const { user, isSso: isSsoMode } = react$1.useArbiSession();
|
|
10981
10981
|
const userEmail = user?.email;
|
|
10982
|
-
const sso =
|
|
10982
|
+
const sso = chunkQZ5G6TON_cjs.useSsoSignIn();
|
|
10983
10983
|
const handleVerify = async () => {
|
|
10984
10984
|
setError(null);
|
|
10985
10985
|
if (!password) {
|
|
@@ -11140,7 +11140,7 @@ function ConnectedRemoteControlSwitch() {
|
|
|
11140
11140
|
}
|
|
11141
11141
|
function RemoteControlSwitch() {
|
|
11142
11142
|
const enabled = react$1.useRemoteControl((state) => state.enabled);
|
|
11143
|
-
const remote =
|
|
11143
|
+
const remote = chunkQZ5G6TON_cjs.useRemoteControlActions();
|
|
11144
11144
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
11145
11145
|
chunkQQMMCXBP_cjs.SettingsRow,
|
|
11146
11146
|
{
|
|
@@ -12313,7 +12313,7 @@ function ConnectedWorkspaceShareDialog({
|
|
|
12313
12313
|
chunk223D4727_cjs.ModalBreadcrumbHeader,
|
|
12314
12314
|
{
|
|
12315
12315
|
workspaceName: workspace.name,
|
|
12316
|
-
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12316
|
+
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkLCAND465_cjs.ConnectedWorkspaceEntity, { workspace, size: 20, variant: "icon" }),
|
|
12317
12317
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserPlus, { className: "w-4 h-4" }),
|
|
12318
12318
|
title: labels.title
|
|
12319
12319
|
}
|
|
@@ -13396,13 +13396,13 @@ function ConnectedWorkspaceSettings({
|
|
|
13396
13396
|
const [membersExpanded, setMembersExpanded] = react.useState(false);
|
|
13397
13397
|
const [shareOpen, setShareOpen] = react.useState(false);
|
|
13398
13398
|
if (!workspace) {
|
|
13399
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkWHHBEV4G_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13399
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWHHBEV4G_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkNZMEZL5D_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
|
|
13400
13400
|
}
|
|
13401
13401
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
13402
13402
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkWHHBEV4G_cjs.WorkspacePageFrame, { testId, children: [
|
|
13403
13403
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkWHHBEV4G_cjs.WorkspaceIdentityPanel, { children: [
|
|
13404
13404
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13405
|
-
|
|
13405
|
+
chunkNZMEZL5D_cjs.EntityIdentityBar,
|
|
13406
13406
|
{
|
|
13407
13407
|
testId: "workspace-identity-bar",
|
|
13408
13408
|
canEdit: isOwner,
|
|
@@ -13419,7 +13419,7 @@ function ConnectedWorkspaceSettings({
|
|
|
13419
13419
|
label: "Name",
|
|
13420
13420
|
value: workspace.name,
|
|
13421
13421
|
placeholder: "Untitled",
|
|
13422
|
-
maxLength:
|
|
13422
|
+
maxLength: chunkNZMEZL5D_cjs.IDENTITY_NAME_MAX_LENGTH,
|
|
13423
13423
|
valueClassName: "truncate text-base font-semibold",
|
|
13424
13424
|
testId: "workspace-home-title",
|
|
13425
13425
|
hideLabel: true,
|
|
@@ -14918,36 +14918,36 @@ function ConnectedSharePointAdminConsentPage({
|
|
|
14918
14918
|
const result = givenResult === void 0 ? queryResult : givenResult;
|
|
14919
14919
|
const { apiBaseUrl } = chunkHN56WWBR_cjs.useBlocksEnvironment().runtimeConfig;
|
|
14920
14920
|
const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
|
|
14921
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
14921
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk74XF67TU_cjs.ConsentCard, { size: "md", children: [
|
|
14922
14922
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14923
|
-
|
|
14923
|
+
chunk74XF67TU_cjs.ConsentHeader,
|
|
14924
14924
|
{
|
|
14925
14925
|
icon: /* @__PURE__ */ jsxRuntime.jsx(chunk6DHDITKK_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
|
|
14926
14926
|
title: "Approve ARBI for SharePoint access",
|
|
14927
14927
|
children: "A member of your organization uses ARBI and wants to sync documents from SharePoint. Your Microsoft 365 organization requires an administrator to approve this once for the whole organization."
|
|
14928
14928
|
}
|
|
14929
14929
|
),
|
|
14930
|
-
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
14931
|
-
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
14932
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
14930
|
+
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentNotice, { tone: "success", title: "Access approved \u2014 you\u2019re all set.", className: "mt-4", children: "People in your organization can now connect SharePoint from their own ARBI account. Nothing is synced until each user connects and chooses what to import." }),
|
|
14931
|
+
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentNotice, { tone: "warning", title: "The approval didn\u2019t complete.", className: "mt-4", children: "The request was declined or canceled on the Microsoft screen. You can try again below \u2014 you must sign in with a Microsoft 365 administrator account of your organization." }),
|
|
14932
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk74XF67TU_cjs.ConsentSection, { title: "What you are approving", children: [
|
|
14933
14933
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14934
|
-
|
|
14934
|
+
chunk74XF67TU_cjs.ConsentBulletList,
|
|
14935
14935
|
{
|
|
14936
14936
|
items: [
|
|
14937
14937
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14938
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14938
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
|
|
14939
14939
|
" \u2014 lets each user who connects their own account import documents from sites they already have access to. ARBI never gets more access than the user has."
|
|
14940
14940
|
] }),
|
|
14941
14941
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14942
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14942
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
|
|
14943
14943
|
" \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
|
|
14944
14944
|
] })
|
|
14945
14945
|
]
|
|
14946
14946
|
}
|
|
14947
14947
|
),
|
|
14948
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14948
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentText, { children: "Approving does not sync anything by itself and grants ARBI no standing access to your tenant. Each user still connects their own Microsoft account, and their tokens are end-to-end encrypted so ARBI\u2019s servers cannot read them at rest." }),
|
|
14949
14949
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Button, { asChild: true, className: "w-full pointer-coarse:h-11", children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: consentUrl, children: "Review and approve in Microsoft" }) }),
|
|
14950
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14950
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentText, { variant: "footnote", children: "You\u2019ll sign in at login.microsoftonline.com and see Microsoft\u2019s own summary of these permissions before anything is granted." })
|
|
14951
14951
|
] })
|
|
14952
14952
|
] }) });
|
|
14953
14953
|
}
|
|
@@ -18100,7 +18100,7 @@ function useConnectedWorkspaceList({
|
|
|
18100
18100
|
};
|
|
18101
18101
|
}
|
|
18102
18102
|
var WorkspaceTableView = react.lazy(
|
|
18103
|
-
() => import('../WorkspaceTableView-
|
|
18103
|
+
() => import('../WorkspaceTableView-JU7QMWIB.cjs').then((m) => ({ default: m.WorkspaceTableView }))
|
|
18104
18104
|
);
|
|
18105
18105
|
var WORKSPACES_TAB_ID = "workspaces";
|
|
18106
18106
|
var renderMember = (user, size) => /* @__PURE__ */ jsxRuntime.jsx(chunk7FWP7W34_cjs.ConnectedUserEntity, { user, size, variant: "icon" });
|
|
@@ -18160,7 +18160,7 @@ function ConnectedWorkspaceList({
|
|
|
18160
18160
|
}
|
|
18161
18161
|
);
|
|
18162
18162
|
}
|
|
18163
|
-
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18163
|
+
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkNZMEZL5D_cjs.LoadingIndicator, { message: "Loading workspaces..." });
|
|
18164
18164
|
if (list.error) {
|
|
18165
18165
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18166
18166
|
chunkDSLMJ24E_cjs.HomeLoadError,
|
|
@@ -18233,7 +18233,7 @@ function ConnectedWorkspaceList({
|
|
|
18233
18233
|
workspaceState
|
|
18234
18234
|
}
|
|
18235
18235
|
) })
|
|
18236
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18236
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkNZMEZL5D_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkDSLMJ24E_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18237
18237
|
WorkspaceTableView,
|
|
18238
18238
|
{
|
|
18239
18239
|
list,
|
|
@@ -18435,7 +18435,7 @@ function ConnectedProjectsListPage({
|
|
|
18435
18435
|
};
|
|
18436
18436
|
const { openProject } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
18437
18437
|
const [search, setSearch] = react.useState("");
|
|
18438
|
-
const { projects, isLoading } =
|
|
18438
|
+
const { projects, isLoading } = chunkKGKB7YKH_cjs.useProjectSummaries();
|
|
18439
18439
|
const rows = react.useMemo(() => {
|
|
18440
18440
|
const q = search.trim().toLowerCase();
|
|
18441
18441
|
if (!q) return projects;
|
|
@@ -18506,7 +18506,7 @@ function ConnectedProjectsListPage({
|
|
|
18506
18506
|
}
|
|
18507
18507
|
),
|
|
18508
18508
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18509
|
-
|
|
18509
|
+
chunkNZMEZL5D_cjs.Toolbar,
|
|
18510
18510
|
{
|
|
18511
18511
|
search,
|
|
18512
18512
|
onSearch: setSearch,
|
|
@@ -18568,7 +18568,7 @@ function ProjectDetailsForm({
|
|
|
18568
18568
|
const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
|
|
18569
18569
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
18570
18570
|
const update = react$1.useUpdateProjectFields();
|
|
18571
|
-
const workspace =
|
|
18571
|
+
const workspace = chunkKGKB7YKH_cjs.primaryProjectWorkspace(project);
|
|
18572
18572
|
const { data: members = [] } = react$1.useWorkspaceUsers(workspace?.id);
|
|
18573
18573
|
const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
|
|
18574
18574
|
const currency = project.budget?.currency ?? "GBP";
|
|
@@ -18693,7 +18693,7 @@ var COMPACT_BELOW = 132;
|
|
|
18693
18693
|
var NO_DOCUMENTS = [];
|
|
18694
18694
|
function useFilesWorkspace() {
|
|
18695
18695
|
const { workspaceId, userId, live } = chunkVWSOHZK2_cjs.useConnectedWorkspace();
|
|
18696
|
-
const { members, role } =
|
|
18696
|
+
const { members, role } = chunkW3WPHMRB_cjs.useConnectedWorkspaceRole();
|
|
18697
18697
|
const { data: workspaces } = react$1.useWorkspaces({ enabled: live });
|
|
18698
18698
|
const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
|
|
18699
18699
|
return {
|
|
@@ -19453,7 +19453,7 @@ function ProjectChronology({
|
|
|
19453
19453
|
})),
|
|
19454
19454
|
[facts2]
|
|
19455
19455
|
);
|
|
19456
|
-
return /* @__PURE__ */ jsxRuntime.jsx(ui.Card, { className: "h-[min(70dvh,640px)] overflow-hidden", "data-testid": testId, children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "p-4 text-sm text-muted-foreground", children: loading }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
19456
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ui.Card, { className: "h-[min(70dvh,640px)] overflow-hidden", "data-testid": testId, children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "p-4 text-sm text-muted-foreground", children: loading }) : /* @__PURE__ */ jsxRuntime.jsx(chunkWQQ6C2ML_cjs.FactsGanttPane, { items, testId: `${testId}-gantt`, labels: { ganttEmpty: empty } }) });
|
|
19457
19457
|
}
|
|
19458
19458
|
function ProjectThreads({
|
|
19459
19459
|
projectId,
|
|
@@ -19630,11 +19630,11 @@ function ConnectedProjectPage({
|
|
|
19630
19630
|
figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
|
|
19631
19631
|
threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
|
|
19632
19632
|
};
|
|
19633
|
-
const { project, usage, isLoading } =
|
|
19633
|
+
const { project, usage, isLoading } = chunkKGKB7YKH_cjs.useProjectSummary(projectId);
|
|
19634
19634
|
const { workspaceId } = chunkVWSOHZK2_cjs.useConnectedWorkspace();
|
|
19635
19635
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
19636
|
-
const selectWorkspace =
|
|
19637
|
-
const workspace = project ?
|
|
19636
|
+
const selectWorkspace = chunkDXZ6TPGP_cjs.useSelectWorkspace();
|
|
19637
|
+
const workspace = project ? chunkKGKB7YKH_cjs.primaryProjectWorkspace(project) : void 0;
|
|
19638
19638
|
const open = !!workspace && workspace.id === workspaceId;
|
|
19639
19639
|
react.useEffect(() => {
|
|
19640
19640
|
if (!workspace || workspace.id === workspaceId) return;
|
|
@@ -20585,7 +20585,7 @@ function AgentBarShell({
|
|
|
20585
20585
|
}, [isStepsExpanded, steps]);
|
|
20586
20586
|
const visibleStepCount = react.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
|
|
20587
20587
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
20588
|
-
|
|
20588
|
+
chunk74XF67TU_cjs.AgentBar,
|
|
20589
20589
|
{
|
|
20590
20590
|
className,
|
|
20591
20591
|
testId,
|
|
@@ -20597,7 +20597,7 @@ function AgentBarShell({
|
|
|
20597
20597
|
drawerRef: scrollRef,
|
|
20598
20598
|
onDrawerScroll: handleDrawerScroll,
|
|
20599
20599
|
drawer: /* @__PURE__ */ jsxRuntime.jsx(
|
|
20600
|
-
|
|
20600
|
+
chunkQZ5G6TON_cjs.AgentSteps,
|
|
20601
20601
|
{
|
|
20602
20602
|
steps: stepList,
|
|
20603
20603
|
isStreaming,
|
|
@@ -20621,7 +20621,7 @@ function DmAgentProgress({
|
|
|
20621
20621
|
}) {
|
|
20622
20622
|
const { data, isError } = react$1.useAgentDmProgress(status?.response_id);
|
|
20623
20623
|
const steps = browser.hydrateAgentEvents(data?.metadata?.events ?? [])?.steps ?? [];
|
|
20624
|
-
const current =
|
|
20624
|
+
const current = chunk2K5DLB7B_cjs.getCurrentAgentStepPresentation(steps);
|
|
20625
20625
|
const label = current?.description ?? (isError ? "Activity unavailable" : status?.status === "queued" ? "Queued" : "Starting\u2026");
|
|
20626
20626
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
20627
20627
|
AgentBarShell,
|
|
@@ -20630,7 +20630,7 @@ function DmAgentProgress({
|
|
|
20630
20630
|
isStreaming: true,
|
|
20631
20631
|
steps: compact ? void 0 : steps,
|
|
20632
20632
|
status: /* @__PURE__ */ jsxRuntime.jsx(
|
|
20633
|
-
|
|
20633
|
+
chunk74XF67TU_cjs.AgentBarStatus,
|
|
20634
20634
|
{
|
|
20635
20635
|
stepLabel: label,
|
|
20636
20636
|
stepIcon: current ? /* @__PURE__ */ jsxRuntime.jsx(current.Icon, { className: "size-4" }) : void 0
|
|
@@ -21059,12 +21059,12 @@ function ConnectedChatThread({
|
|
|
21059
21059
|
host = {},
|
|
21060
21060
|
onMessageSent
|
|
21061
21061
|
}) {
|
|
21062
|
-
const floating =
|
|
21063
|
-
const floatingControls = react.useContext(
|
|
21062
|
+
const floating = chunk6PKP7UT7_cjs.useFloatingConversation();
|
|
21063
|
+
const floatingControls = react.useContext(chunk6PKP7UT7_cjs.FloatingConversationControls);
|
|
21064
21064
|
const arbi = react$1.useArbi();
|
|
21065
21065
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
21066
21066
|
const me = react$1.myChatId(arbi);
|
|
21067
|
-
const drafts = react.useContext(
|
|
21067
|
+
const drafts = react.useContext(chunk6PKP7UT7_cjs.ConversationDrafts);
|
|
21068
21068
|
if (drafts && drafts.owner !== me) {
|
|
21069
21069
|
drafts.entries.clear();
|
|
21070
21070
|
drafts.owner = me;
|
|
@@ -21273,7 +21273,7 @@ function ConnectedChatThread({
|
|
|
21273
21273
|
}
|
|
21274
21274
|
return /* @__PURE__ */ jsxRuntime.jsxs(react.Fragment, { children: [
|
|
21275
21275
|
!floating && isFirstOfDay && /* @__PURE__ */ jsxRuntime.jsx(react$1.DateSeparator, { children: formatDay(msg.created_at) }),
|
|
21276
|
-
chat?.kind === "group" && !isSent && startsPeerRun(i) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
21276
|
+
chat?.kind === "group" && !isSent && startsPeerRun(i) && /* @__PURE__ */ jsxRuntime.jsx(chunkKBRDUFXG_cjs.MessageAuthor, { children: renderMessengerUser(memberById(msg.sender_ext_id) ?? null, "author") }),
|
|
21277
21277
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21278
21278
|
react$1.ChatBubble,
|
|
21279
21279
|
{
|
|
@@ -22050,7 +22050,7 @@ function ConnectedDmGrantAccessDialog({
|
|
|
22050
22050
|
}
|
|
22051
22051
|
);
|
|
22052
22052
|
}
|
|
22053
|
-
var ThreadHistory = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
22053
|
+
var ThreadHistory = (props) => /* @__PURE__ */ jsxRuntime.jsx(chunkOEF4MYOJ_cjs.ConnectedCallChatHistory, { ...props });
|
|
22054
22054
|
function ConnectedPeerActions({ peer, addPeople }) {
|
|
22055
22055
|
const [accessOpen, setAccessOpen] = react.useState(false);
|
|
22056
22056
|
const [grantOpen, setGrantOpen] = react.useState(false);
|
|
@@ -22064,7 +22064,7 @@ function ConnectedPeerActions({ peer, addPeople }) {
|
|
|
22064
22064
|
)
|
|
22065
22065
|
];
|
|
22066
22066
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
22067
|
-
|
|
22067
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOEF4MYOJ_cjs.DmCallButton, { peer }),
|
|
22068
22068
|
!ui.isAgent(peer) && /* @__PURE__ */ jsxRuntime.jsx(chunkJTBWI74K_cjs.ScheduleCallButton, { peer }),
|
|
22069
22069
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22070
22070
|
ConnectedContactMenu,
|
|
@@ -22090,14 +22090,14 @@ function ConnectedPeerActions({ peer, addPeople }) {
|
|
|
22090
22090
|
}
|
|
22091
22091
|
var fullDirectActions = (peer, { addPeople }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedPeerActions, { peer, addPeople });
|
|
22092
22092
|
var fullGroupActions = (chat, title) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
22093
|
-
|
|
22093
|
+
chunkOEF4MYOJ_cjs.GroupCallButton,
|
|
22094
22094
|
{
|
|
22095
22095
|
chatExtId: chat.external_id,
|
|
22096
22096
|
title,
|
|
22097
22097
|
members: chat.members.map((m) => m.user)
|
|
22098
22098
|
}
|
|
22099
22099
|
);
|
|
22100
|
-
var fullListActions = /* @__PURE__ */ jsxRuntime.jsx(
|
|
22100
|
+
var fullListActions = /* @__PURE__ */ jsxRuntime.jsx(chunkOEF4MYOJ_cjs.NewCallChip, {});
|
|
22101
22101
|
function fullMessengerHost(arbi, presence) {
|
|
22102
22102
|
return {
|
|
22103
22103
|
presenceOf: (id) => presence?.[id] === "online" ? "connected" : "disconnected",
|
|
@@ -22353,7 +22353,7 @@ function ConnectedMessengerThread({
|
|
|
22353
22353
|
className,
|
|
22354
22354
|
testId = "dm-messenger-thread"
|
|
22355
22355
|
}) {
|
|
22356
|
-
const floating =
|
|
22356
|
+
const floating = chunk6PKP7UT7_cjs.useFloatingConversation();
|
|
22357
22357
|
const meId = react$1.myChatId(react$1.useArbi());
|
|
22358
22358
|
const { users } = react$1.usePeople();
|
|
22359
22359
|
const sharer = react$1.useFileSharePerson(activeId);
|
|
@@ -22530,7 +22530,7 @@ function ConnectedContactsPanel({
|
|
|
22530
22530
|
headerRight,
|
|
22531
22531
|
className
|
|
22532
22532
|
}) {
|
|
22533
|
-
const floating =
|
|
22533
|
+
const floating = chunk6PKP7UT7_cjs.useFloatingConversation();
|
|
22534
22534
|
const { openDirectChat, openChat, openProject } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
22535
22535
|
const { openDmTab, closeDmTab } = react$1.useArbiSessionStore();
|
|
22536
22536
|
const openConversation = react.useCallback(
|
|
@@ -22701,10 +22701,10 @@ function ConnectedContactsPanel({
|
|
|
22701
22701
|
function ConnectedConfigForm({ availableModels, ...rest }) {
|
|
22702
22702
|
const hasModels = !!availableModels && availableModels.length > 0;
|
|
22703
22703
|
const renderModelSelect = react.useCallback(
|
|
22704
|
-
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
22704
|
+
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkQZ5G6TON_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
|
|
22705
22705
|
[]
|
|
22706
22706
|
);
|
|
22707
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22707
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
|
|
22708
22708
|
}
|
|
22709
22709
|
function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
|
|
22710
22710
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
@@ -22821,7 +22821,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22821
22821
|
}, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify19]);
|
|
22822
22822
|
if (editAgent) {
|
|
22823
22823
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22824
|
-
|
|
22824
|
+
chunk74XF67TU_cjs.AgentEditView,
|
|
22825
22825
|
{
|
|
22826
22826
|
agentName: editAgent.name,
|
|
22827
22827
|
config: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -22837,7 +22837,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22837
22837
|
}
|
|
22838
22838
|
if (view === "main") {
|
|
22839
22839
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22840
|
-
|
|
22840
|
+
chunk74XF67TU_cjs.AgentMainView,
|
|
22841
22841
|
{
|
|
22842
22842
|
onConnectExternal: () => setView("connect"),
|
|
22843
22843
|
config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -22853,11 +22853,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22853
22853
|
}
|
|
22854
22854
|
if (result) {
|
|
22855
22855
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22856
|
-
|
|
22856
|
+
chunk74XF67TU_cjs.AgentCreatedView,
|
|
22857
22857
|
{
|
|
22858
22858
|
email: result.email,
|
|
22859
22859
|
signingKey: result.signingKey,
|
|
22860
|
-
instructions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22860
|
+
instructions: /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
|
|
22861
22861
|
config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
|
|
22862
22862
|
isConfigOpen: configOpen,
|
|
22863
22863
|
onToggleConfig: () => setConfigOpen((v) => !v),
|
|
@@ -22866,7 +22866,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22866
22866
|
);
|
|
22867
22867
|
}
|
|
22868
22868
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22869
|
-
|
|
22869
|
+
chunk74XF67TU_cjs.AgentCreateView,
|
|
22870
22870
|
{
|
|
22871
22871
|
name,
|
|
22872
22872
|
onNameChange: setName,
|
|
@@ -22953,7 +22953,7 @@ function ConnectedInviteContactsDialog({
|
|
|
22953
22953
|
] })
|
|
22954
22954
|
] }) });
|
|
22955
22955
|
}
|
|
22956
|
-
var { files, threads, facts, agenda } =
|
|
22956
|
+
var { files, threads, facts, agenda } = chunkLCAND465_cjs.WORKSPACE_DASHBOARD_LAYOUT;
|
|
22957
22957
|
function ConnectedWorkspaceDashboard({
|
|
22958
22958
|
start,
|
|
22959
22959
|
addFilesAction,
|
|
@@ -22962,14 +22962,14 @@ function ConnectedWorkspaceDashboard({
|
|
|
22962
22962
|
onTakePhoto,
|
|
22963
22963
|
testId = "workspace-dashboard"
|
|
22964
22964
|
}) {
|
|
22965
|
-
const startBand = start === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
22965
|
+
const startBand = start === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkLCAND465_cjs.ConnectedStartBlock, { onCreateNew, onTakePhoto }) : start;
|
|
22966
22966
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkUNSZLNA4_cjs.DashboardRoot, { testId, children: [
|
|
22967
22967
|
startBand && /* @__PURE__ */ jsxRuntime.jsx(chunkUNSZLNA4_cjs.DashboardBand, { kind: "start", children: startBand }),
|
|
22968
22968
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkUNSZLNA4_cjs.DashboardBand, { kind: "recent", children: [
|
|
22969
22969
|
/* @__PURE__ */ jsxRuntime.jsx(chunkIXCWZ4HC_cjs.SectionLabel, { testId: `${testId}-recent-caption`, children: "Recent" }),
|
|
22970
22970
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkUNSZLNA4_cjs.DashboardColumns, { children: [
|
|
22971
22971
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22972
|
-
|
|
22972
|
+
chunkLCAND465_cjs.ConnectedListBlock,
|
|
22973
22973
|
{
|
|
22974
22974
|
config: files.config,
|
|
22975
22975
|
addFilesAction,
|
|
@@ -22980,7 +22980,7 @@ function ConnectedWorkspaceDashboard({
|
|
|
22980
22980
|
}
|
|
22981
22981
|
),
|
|
22982
22982
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22983
|
-
|
|
22983
|
+
chunkLCAND465_cjs.ConnectedListBlock,
|
|
22984
22984
|
{
|
|
22985
22985
|
config: threads.config,
|
|
22986
22986
|
showLoading: false,
|
|
@@ -22990,8 +22990,8 @@ function ConnectedWorkspaceDashboard({
|
|
|
22990
22990
|
] })
|
|
22991
22991
|
] }),
|
|
22992
22992
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkUNSZLNA4_cjs.DashboardColumns, { children: [
|
|
22993
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22994
|
-
aside === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
22993
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLCAND465_cjs.ConnectedListBlock, { config: facts.config, showLoading: false, testId: `${testId}-facts` }),
|
|
22994
|
+
aside === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkLCAND465_cjs.ConnectedAgendaBlock, { config: agenda.config }) : aside
|
|
22995
22995
|
] })
|
|
22996
22996
|
] });
|
|
22997
22997
|
}
|
|
@@ -23081,7 +23081,7 @@ function createBuiltinActions(environment, session) {
|
|
|
23081
23081
|
const startWorkflowOnDocuments = (workflowId) => {
|
|
23082
23082
|
const { viewingDocument, selectedDocumentIds } = session.getState();
|
|
23083
23083
|
const documents = viewingDocument ? [viewingDocument.id] : [...selectedDocumentIds];
|
|
23084
|
-
|
|
23084
|
+
chunk74XF67TU_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
|
|
23085
23085
|
};
|
|
23086
23086
|
const setFilesView = (mode) => () => chunkDI6UEQCZ_cjs.useFilesPrefs.getState().setViewMode(mode);
|
|
23087
23087
|
const actions = [
|
|
@@ -23643,7 +23643,7 @@ function ConnectedRemoteControlConsent() {
|
|
|
23643
23643
|
}
|
|
23644
23644
|
function ConsentPrompt() {
|
|
23645
23645
|
const pending = react$1.useRemoteControl((s) => s.pending);
|
|
23646
|
-
const remote =
|
|
23646
|
+
const remote = chunkQZ5G6TON_cjs.useRemoteControlActions();
|
|
23647
23647
|
const onceRef = react.useRef(null);
|
|
23648
23648
|
chunkNZNBJF3M_cjs.useMountedSurface("consent");
|
|
23649
23649
|
const handleOpenChange = (next) => {
|
|
@@ -23736,7 +23736,7 @@ function Indicator() {
|
|
|
23736
23736
|
const enabled = react$1.useRemoteControl((s) => s.enabled);
|
|
23737
23737
|
const sharing = react$1.useRemoteControl((s) => !!s.sharing);
|
|
23738
23738
|
const controllingAgent = react$1.useRemoteControl((s) => s.controllingAgent);
|
|
23739
|
-
const remote =
|
|
23739
|
+
const remote = chunkQZ5G6TON_cjs.useRemoteControlActions();
|
|
23740
23740
|
if (!enabled && !controllingAgent) return null;
|
|
23741
23741
|
const isActive = controllingAgent !== null;
|
|
23742
23742
|
const label = sharing ? controllingAgent ? `${controllingAgent.name} \xB7 screen sharing and control on` : "Sharing screen \xB7 remote control on" : isActive ? `${controllingAgent.name} is controlling your screen` : "Remote control on";
|
|
@@ -24714,7 +24714,7 @@ function ConnectedSearchPage({ embedded = false, labels }) {
|
|
|
24714
24714
|
const scopeCount = scope.count;
|
|
24715
24715
|
const tooMany = !!scopeDocIds && scopeDocIds.length > react$1.MAX_RETRIEVE_DOC_IDS;
|
|
24716
24716
|
const tooManyMessage = tooMany ? l.tooManyDocuments(scopeCount, react$1.MAX_RETRIEVE_DOC_IDS) : void 0;
|
|
24717
|
-
const uploadUrls =
|
|
24717
|
+
const uploadUrls = chunkLCAND465_cjs.useAddFromUrls({
|
|
24718
24718
|
onZipFiles: (files2) => openUpload?.(files2, { source: "computer" })
|
|
24719
24719
|
});
|
|
24720
24720
|
const search = react$1.useSemanticSearch(scopeDocIds ?? [], {
|
|
@@ -26736,7 +26736,7 @@ function useMailMessageChange(account, offline) {
|
|
|
26736
26736
|
}
|
|
26737
26737
|
var UNFILED_FOLDER_ROLES = ["trash", "drafts", "junk"];
|
|
26738
26738
|
var MailInviteCard = react.lazy(
|
|
26739
|
-
() => import('../ConnectedMailInviteCard-
|
|
26739
|
+
() => import('../ConnectedMailInviteCard-DDGB4LLC.cjs').then((m) => ({
|
|
26740
26740
|
default: m.ConnectedMailInviteCard
|
|
26741
26741
|
}))
|
|
26742
26742
|
);
|
|
@@ -27509,7 +27509,7 @@ function ConnectedMailSidePanel({ word }) {
|
|
|
27509
27509
|
const sessionKey = react.useMemo(() => target ? `mail-side-${crypto.randomUUID()}` : "", [target]);
|
|
27510
27510
|
if (!target) return null;
|
|
27511
27511
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
27512
|
-
|
|
27512
|
+
chunk6PKP7UT7_cjs.ConnectedPanelHost,
|
|
27513
27513
|
{
|
|
27514
27514
|
panelId: "mail-side",
|
|
27515
27515
|
isOpen: true,
|
|
@@ -27568,7 +27568,7 @@ function ConnectedMailSidePanel({ word }) {
|
|
|
27568
27568
|
}
|
|
27569
27569
|
function dockedMailPanel({ isOpen, title, onClose, children }) {
|
|
27570
27570
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
27571
|
-
|
|
27571
|
+
chunk6PKP7UT7_cjs.ConnectedPanelHost,
|
|
27572
27572
|
{
|
|
27573
27573
|
panelId: "mail-viewer",
|
|
27574
27574
|
isOpen,
|
|
@@ -27627,7 +27627,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
27627
27627
|
}) {
|
|
27628
27628
|
const authenticated = react$1.useArbiSession().status === "signed-in";
|
|
27629
27629
|
const { openMail } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
27630
|
-
const { loading } =
|
|
27630
|
+
const { loading } = chunkQZ5G6TON_cjs.useAuthPages();
|
|
27631
27631
|
const claim = react$1.useClaimSecureMail();
|
|
27632
27632
|
const [, setFirstLoginWorkspaces] = react$1.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
|
|
27633
27633
|
const [failure, setFailure] = react.useState(null);
|
|
@@ -27667,7 +27667,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
27667
27667
|
}
|
|
27668
27668
|
})();
|
|
27669
27669
|
}, [authenticated, claimId, key]);
|
|
27670
|
-
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
27670
|
+
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunkNZMEZL5D_cjs.LoadingIndicator, { variant: "splash" }) });
|
|
27671
27671
|
return /* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-screen items-center justify-center bg-background p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "w-full max-w-md rounded-lg border border-border bg-card p-6", children: [
|
|
27672
27672
|
/* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
|
|
27673
27673
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -27700,7 +27700,7 @@ function SubscribeDialog({
|
|
|
27700
27700
|
subscribe2.reset();
|
|
27701
27701
|
}
|
|
27702
27702
|
}, [open]);
|
|
27703
|
-
const normalized =
|
|
27703
|
+
const normalized = chunkF3QHSUUO_cjs.normalizeFeedUrl(url);
|
|
27704
27704
|
return /* @__PURE__ */ jsxRuntime.jsx(ui.Dialog, { open, onOpenChange: (o) => !o && onClose(), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
27705
27705
|
ui.DialogContent,
|
|
27706
27706
|
{
|
|
@@ -27920,7 +27920,7 @@ function AccountRow({ account }) {
|
|
|
27920
27920
|
const update = react$1.useUpdateCalendarAccount();
|
|
27921
27921
|
const disconnect = react$1.useDisconnectCalendarAccount();
|
|
27922
27922
|
const [confirming, setConfirming] = react.useState(false);
|
|
27923
|
-
const fail2 = (what) => (err) => notify19(`${what}: ${
|
|
27923
|
+
const fail2 = (what) => (err) => notify19(`${what}: ${chunkF3QHSUUO_cjs.describeCalendarError(err)}`, "error");
|
|
27924
27924
|
const reconnect = !!startOAuth && account.status === "needs_reauth" && (account.kind === "google" || account.kind === "microsoft");
|
|
27925
27925
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
27926
27926
|
"li",
|
|
@@ -27962,7 +27962,7 @@ function AccountRow({ account }) {
|
|
|
27962
27962
|
variant: "outline",
|
|
27963
27963
|
disabled: sync.isPending,
|
|
27964
27964
|
onClick: () => sync.mutate(account.id, {
|
|
27965
|
-
onSuccess: (r) => r?.error ? notify19(`Sync failed: ${
|
|
27965
|
+
onSuccess: (r) => r?.error ? notify19(`Sync failed: ${chunkF3QHSUUO_cjs.describeCalendarError(r.error)}`, "error") : notify19("Calendar synced", "success"),
|
|
27966
27966
|
onError: fail2("Sync failed")
|
|
27967
27967
|
}),
|
|
27968
27968
|
"data-testid": `calendar-account-sync-${account.id}`,
|
|
@@ -28006,7 +28006,7 @@ function AccountRow({ account }) {
|
|
|
28006
28006
|
KIND_LABEL[account.kind],
|
|
28007
28007
|
"."
|
|
28008
28008
|
] }),
|
|
28009
|
-
account.last_error && /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "rounded bg-destructive/10 px-2 py-1 text-xs text-destructive", children:
|
|
28009
|
+
account.last_error && /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "rounded bg-destructive/10 px-2 py-1 text-xs text-destructive", children: chunkF3QHSUUO_cjs.describeCalendarError(account.last_error) }),
|
|
28010
28010
|
/* @__PURE__ */ jsxRuntime.jsxs("label", { className: "flex items-start gap-2 text-xs text-muted-foreground", children: [
|
|
28011
28011
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28012
28012
|
ui.Switch,
|
|
@@ -28065,7 +28065,7 @@ function CalDavForm({ onDone }) {
|
|
|
28065
28065
|
notify19("CalDAV account connected", "success");
|
|
28066
28066
|
onDone();
|
|
28067
28067
|
},
|
|
28068
|
-
onError: (err) => setError(
|
|
28068
|
+
onError: (err) => setError(chunkF3QHSUUO_cjs.describeCalendarError(err, "Could not connect"))
|
|
28069
28069
|
}
|
|
28070
28070
|
);
|
|
28071
28071
|
},
|
|
@@ -28160,7 +28160,7 @@ function CalendarAccountsPanel({ className }) {
|
|
|
28160
28160
|
const [oauthError, setOauthError] = react.useState(null);
|
|
28161
28161
|
const resumed = react$1.useResumeCalendarAccountConnect(({ account, error: err }) => {
|
|
28162
28162
|
if (account) notify19(`${KIND_LABEL[account.kind]} connected`, "success");
|
|
28163
|
-
if (err) setOauthError(
|
|
28163
|
+
if (err) setOauthError(chunkF3QHSUUO_cjs.describeCalendarError(err, "Could not connect the account"));
|
|
28164
28164
|
});
|
|
28165
28165
|
const connect = async (kind) => {
|
|
28166
28166
|
setOauthError(null);
|
|
@@ -28174,7 +28174,7 @@ function CalendarAccountsPanel({ className }) {
|
|
|
28174
28174
|
await startOAuth?.(kind, background);
|
|
28175
28175
|
}
|
|
28176
28176
|
} catch (err) {
|
|
28177
|
-
setOauthError(
|
|
28177
|
+
setOauthError(chunkF3QHSUUO_cjs.describeCalendarError(err, "Could not connect the account"));
|
|
28178
28178
|
} finally {
|
|
28179
28179
|
setPendingKind(null);
|
|
28180
28180
|
}
|
|
@@ -28186,7 +28186,7 @@ function CalendarAccountsPanel({ className }) {
|
|
|
28186
28186
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base font-semibold text-foreground", children: "Connected calendars" }),
|
|
28187
28187
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Bring your Google, Outlook or CalDAV calendars into ARBI. Changes sync both ways." })
|
|
28188
28188
|
] }),
|
|
28189
|
-
isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Loading accounts\u2026" }) : error ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", children:
|
|
28189
|
+
isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Loading accounts\u2026" }) : error ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", children: chunkF3QHSUUO_cjs.describeCalendarError(error, "Could not load accounts") }) : accounts.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "rounded-lg border border-dashed border-border p-4 text-sm text-muted-foreground", children: "No calendar accounts connected yet." }) : /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "grid gap-2", children: accounts.map((a) => /* @__PURE__ */ jsxRuntime.jsx(AccountRow, { account: a }, a.id)) }),
|
|
28190
28190
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-2", children: [
|
|
28191
28191
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap gap-2", children: [
|
|
28192
28192
|
oauth && ["google", "microsoft"].map((kind) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -28243,13 +28243,13 @@ var selectClass3 = "h-9 w-full rounded-md border border-input bg-background px-2
|
|
|
28243
28243
|
function summarizeWeekly(page) {
|
|
28244
28244
|
const days = [...new Set((page.weekly ?? []).map((w) => Number(w.day)))].sort();
|
|
28245
28245
|
if (!days.length) return "No hours set";
|
|
28246
|
-
return days.map((d) =>
|
|
28246
|
+
return days.map((d) => chunkF3QHSUUO_cjs.WEEKDAY_NAMES[d]?.slice(0, 3)).join(", ");
|
|
28247
28247
|
}
|
|
28248
28248
|
function BookingPageForm({ page, defaultTimeZone, onDone }) {
|
|
28249
28249
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
28250
28250
|
const copyText = useCalendarCopy();
|
|
28251
28251
|
const [form, setForm] = react.useState(
|
|
28252
|
-
() => page ?
|
|
28252
|
+
() => page ? chunkF3QHSUUO_cjs.bookingToForm(page) : chunkF3QHSUUO_cjs.emptyBookingForm(defaultTimeZone)
|
|
28253
28253
|
);
|
|
28254
28254
|
const [slugTouched, setSlugTouched] = react.useState(!!page);
|
|
28255
28255
|
const [errors, setErrors] = react.useState({});
|
|
@@ -28280,18 +28280,18 @@ function BookingPageForm({ page, defaultTimeZone, onDone }) {
|
|
|
28280
28280
|
className: "grid gap-4",
|
|
28281
28281
|
onSubmit: (e) => {
|
|
28282
28282
|
e.preventDefault();
|
|
28283
|
-
const found =
|
|
28283
|
+
const found = chunkF3QHSUUO_cjs.validateBookingForm(form);
|
|
28284
28284
|
setErrors(found);
|
|
28285
28285
|
setServerError(null);
|
|
28286
28286
|
if (Object.keys(found).length) return;
|
|
28287
|
-
save.mutate(
|
|
28287
|
+
save.mutate(chunkF3QHSUUO_cjs.formToBookingBody(form), {
|
|
28288
28288
|
onSuccess: (saved) => {
|
|
28289
28289
|
notify19(page ? "Booking page saved" : "Booking page published", "success");
|
|
28290
|
-
if (!page) void copyText(
|
|
28290
|
+
if (!page) void copyText(chunkF3QHSUUO_cjs.bookingLink(saved), "Booking link");
|
|
28291
28291
|
onDone();
|
|
28292
28292
|
},
|
|
28293
28293
|
onError: (err) => setServerError(
|
|
28294
|
-
err.status === 409 ? "That link is taken. Choose another." :
|
|
28294
|
+
err.status === 409 ? "That link is taken. Choose another." : chunkF3QHSUUO_cjs.describeCalendarError(err, "Could not save")
|
|
28295
28295
|
)
|
|
28296
28296
|
});
|
|
28297
28297
|
},
|
|
@@ -28308,7 +28308,7 @@ function BookingPageForm({ page, defaultTimeZone, onDone }) {
|
|
|
28308
28308
|
value: form.title,
|
|
28309
28309
|
onChange: (e) => {
|
|
28310
28310
|
const title = e.target.value;
|
|
28311
|
-
setForm((f) => ({ ...f, title, slug: slugTouched ? f.slug :
|
|
28311
|
+
setForm((f) => ({ ...f, title, slug: slugTouched ? f.slug : chunkF3QHSUUO_cjs.slugify(title) }));
|
|
28312
28312
|
},
|
|
28313
28313
|
"aria-invalid": !!errors.title,
|
|
28314
28314
|
"data-testid": "booking-title"
|
|
@@ -28375,14 +28375,14 @@ function BookingPageForm({ page, defaultTimeZone, onDone }) {
|
|
|
28375
28375
|
className: selectClass3,
|
|
28376
28376
|
value: form.timeZone,
|
|
28377
28377
|
onChange: (e) => set("timeZone", e.target.value),
|
|
28378
|
-
children:
|
|
28378
|
+
children: chunkF3QHSUUO_cjs.zoneOptions(form.timeZone).map((z) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: z, children: z.replace(/_/g, " ") }, z))
|
|
28379
28379
|
}
|
|
28380
28380
|
)
|
|
28381
28381
|
] })
|
|
28382
28382
|
] }),
|
|
28383
28383
|
/* @__PURE__ */ jsxRuntime.jsxs("fieldset", { className: "grid gap-2", children: [
|
|
28384
28384
|
/* @__PURE__ */ jsxRuntime.jsx("legend", { className: "mb-1 text-sm font-medium text-foreground", children: "Weekly hours" }),
|
|
28385
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28385
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkF3QHSUUO_cjs.WeeklyHoursEditor, { value: form.weekly, onChange: (weekly) => set("weekly", weekly) }),
|
|
28386
28386
|
errors.weekly && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-destructive", children: errors.weekly }),
|
|
28387
28387
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: "Only times free in your calendars within these hours are offered." })
|
|
28388
28388
|
] }),
|
|
@@ -28461,7 +28461,7 @@ function BookingPagesPanel({ defaultTimeZone, className }) {
|
|
|
28461
28461
|
" New booking page"
|
|
28462
28462
|
] })
|
|
28463
28463
|
] }),
|
|
28464
|
-
isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Loading\u2026" }) : error ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", children:
|
|
28464
|
+
isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Loading\u2026" }) : error ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", children: chunkF3QHSUUO_cjs.describeCalendarError(error, "Could not load booking pages") }) : pages.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid justify-items-center gap-2 rounded-lg border border-dashed border-border p-6 text-center text-sm text-muted-foreground", children: [
|
|
28465
28465
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.CalendarCheck, { className: "size-6" }),
|
|
28466
28466
|
/* @__PURE__ */ jsxRuntime.jsx("p", { children: "No booking pages yet." })
|
|
28467
28467
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "grid gap-2", children: pages.map((p) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -28490,11 +28490,11 @@ function BookingPagesPanel({ defaultTimeZone, className }) {
|
|
|
28490
28490
|
{
|
|
28491
28491
|
size: "sm",
|
|
28492
28492
|
variant: "outline",
|
|
28493
|
-
onClick: () => void copyText(
|
|
28493
|
+
onClick: () => void copyText(chunkF3QHSUUO_cjs.bookingLink(p), "Booking link"),
|
|
28494
28494
|
children: "Copy link"
|
|
28495
28495
|
}
|
|
28496
28496
|
),
|
|
28497
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.Button, { size: "sm", variant: "ghost", asChild: true, "aria-label": `Open ${p.title}`, children: /* @__PURE__ */ jsxRuntime.jsx("a", { href:
|
|
28497
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Button, { size: "sm", variant: "ghost", asChild: true, "aria-label": `Open ${p.title}`, children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: chunkF3QHSUUO_cjs.bookingLink(p), target: "_blank", rel: "noreferrer", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ExternalLink, { className: "size-4" }) }) }),
|
|
28498
28498
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28499
28499
|
ui.Button,
|
|
28500
28500
|
{
|
|
@@ -28513,7 +28513,7 @@ function BookingPagesPanel({ defaultTimeZone, className }) {
|
|
|
28513
28513
|
variant: "destructive",
|
|
28514
28514
|
disabled: remove.isPending,
|
|
28515
28515
|
onClick: () => remove.mutate(p.slug, {
|
|
28516
|
-
onError: (err) => notify19(`Could not delete: ${
|
|
28516
|
+
onError: (err) => notify19(`Could not delete: ${chunkF3QHSUUO_cjs.describeCalendarError(err)}`, "error"),
|
|
28517
28517
|
onSettled: () => setConfirmDelete(null)
|
|
28518
28518
|
}),
|
|
28519
28519
|
children: "Delete"
|
|
@@ -28576,7 +28576,7 @@ function CreateRoomForm({ zone, onDone }) {
|
|
|
28576
28576
|
notify19(`Created ${room.name} (${room.email})`, "success");
|
|
28577
28577
|
onDone();
|
|
28578
28578
|
},
|
|
28579
|
-
onError: (err) => setError(
|
|
28579
|
+
onError: (err) => setError(chunkF3QHSUUO_cjs.describeCalendarError(err, "Could not create"))
|
|
28580
28580
|
}
|
|
28581
28581
|
);
|
|
28582
28582
|
},
|
|
@@ -28689,7 +28689,7 @@ function RoomRow({ room, zone, checked }) {
|
|
|
28689
28689
|
),
|
|
28690
28690
|
checked && !!room.busy?.length && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-1 text-xs text-muted-foreground", children: [
|
|
28691
28691
|
"Busy ",
|
|
28692
|
-
(room.busy ?? []).map((b) =>
|
|
28692
|
+
(room.busy ?? []).map((b) => chunkF3QHSUUO_cjs.formatBusy(b.start, b.end, zone)).join(", ")
|
|
28693
28693
|
] })
|
|
28694
28694
|
] }),
|
|
28695
28695
|
checked && room.free !== null && room.free !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -28714,7 +28714,7 @@ function RoomsDirectoryPanel({
|
|
|
28714
28714
|
}) {
|
|
28715
28715
|
const { data: settings } = react$1.useCalendarSettings(!timeZone);
|
|
28716
28716
|
const zone = chunkQUMUAJ2P_cjs.safeZone(timeZone || settings?.time_zone, chunkQUMUAJ2P_cjs.detectTimeZone());
|
|
28717
|
-
const [initial] = react.useState(() =>
|
|
28717
|
+
const [initial] = react.useState(() => chunkF3QHSUUO_cjs.defaultRoomWindow(zone));
|
|
28718
28718
|
const [minCapacity, setMinCapacity] = react.useState("");
|
|
28719
28719
|
const [feature, setFeature] = react.useState("");
|
|
28720
28720
|
const [building, setBuilding] = react.useState("");
|
|
@@ -28845,7 +28845,7 @@ function RoomsDirectoryPanel({
|
|
|
28845
28845
|
windowError && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-destructive", children: windowError })
|
|
28846
28846
|
] })
|
|
28847
28847
|
] }),
|
|
28848
|
-
error ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", children:
|
|
28848
|
+
error ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", children: chunkF3QHSUUO_cjs.describeCalendarError(error, "Could not load rooms") }) : sorted.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "rounded-lg border border-dashed border-border p-4 text-sm text-muted-foreground", children: isFetching ? "Loading rooms\u2026" : "No rooms match." }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
28849
28849
|
"ul",
|
|
28850
28850
|
{
|
|
28851
28851
|
className: "grid divide-y divide-border rounded-lg border border-border",
|
|
@@ -28870,11 +28870,11 @@ function CalendarSettingsDialog({
|
|
|
28870
28870
|
}) {
|
|
28871
28871
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
28872
28872
|
const save = react$1.useSaveCalendarSettings();
|
|
28873
|
-
const [value, setValue] = react.useState(() =>
|
|
28873
|
+
const [value, setValue] = react.useState(() => chunkF3QHSUUO_cjs.toSettingsValue(settings));
|
|
28874
28874
|
const [tab, setTab] = react.useState(initialTab);
|
|
28875
28875
|
react.useEffect(() => {
|
|
28876
28876
|
if (open) {
|
|
28877
|
-
setValue(
|
|
28877
|
+
setValue(chunkF3QHSUUO_cjs.toSettingsValue(settings));
|
|
28878
28878
|
setTab(initialTab);
|
|
28879
28879
|
save.reset();
|
|
28880
28880
|
}
|
|
@@ -28908,13 +28908,13 @@ function CalendarSettingsDialog({
|
|
|
28908
28908
|
}
|
|
28909
28909
|
),
|
|
28910
28910
|
/* @__PURE__ */ jsxRuntime.jsx(ui.TabsContent, { value: "general", className: "pt-3", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
28911
|
-
|
|
28911
|
+
chunkF3QHSUUO_cjs.CalendarSettingsForm,
|
|
28912
28912
|
{
|
|
28913
28913
|
value,
|
|
28914
28914
|
onChange: setValue,
|
|
28915
28915
|
calendars: calendars.filter((c) => c.canWrite),
|
|
28916
28916
|
saving: save.isPending,
|
|
28917
|
-
error: save.error ?
|
|
28917
|
+
error: save.error ? chunkF3QHSUUO_cjs.describeCalendarError(save.error) : null,
|
|
28918
28918
|
onCancel: onClose,
|
|
28919
28919
|
onSave: () => save.mutate({ ...settings, ...value }, {
|
|
28920
28920
|
onSuccess: () => {
|
|
@@ -28943,10 +28943,10 @@ function EventScheduling({
|
|
|
28943
28943
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
28944
28944
|
const arbi = react$1.useArbi();
|
|
28945
28945
|
const me = arbi.isLoggedIn ? arbi.user.identity()?.email ?? null : null;
|
|
28946
|
-
const allDay =
|
|
28946
|
+
const allDay = chunkF3QHSUUO_cjs.isAllDayDraft(draft);
|
|
28947
28947
|
const range = react.useMemo(() => {
|
|
28948
28948
|
try {
|
|
28949
|
-
const { startMs, endMs } =
|
|
28949
|
+
const { startMs, endMs } = chunkF3QHSUUO_cjs.draftRangeUtc(draft, timeZone);
|
|
28950
28950
|
if (!Number.isFinite(startMs) || !Number.isFinite(endMs) || endMs <= startMs) return null;
|
|
28951
28951
|
return { start: new Date(startMs).toISOString(), end: new Date(endMs).toISOString() };
|
|
28952
28952
|
} catch {
|
|
@@ -28966,6 +28966,7 @@ function EventScheduling({
|
|
|
28966
28966
|
if (me && !list.includes(me.toLowerCase())) list.unshift(me.toLowerCase());
|
|
28967
28967
|
return list;
|
|
28968
28968
|
}, [attendees, me]);
|
|
28969
|
+
const attendeeSetKey = JSON.stringify([...ids].sort());
|
|
28969
28970
|
const labelOf = (id) => {
|
|
28970
28971
|
if (me && id === me.toLowerCase()) return "You";
|
|
28971
28972
|
const a = attendees.find((x) => attendeeKey2(x) === id);
|
|
@@ -28978,9 +28979,33 @@ function EventScheduling({
|
|
|
28978
28979
|
} : null;
|
|
28979
28980
|
const freeBusy = react$1.useFreeBusy(open ? ids : [], fbWindow?.start ?? null, fbWindow?.end ?? null);
|
|
28980
28981
|
const rows = react.useMemo(
|
|
28981
|
-
() =>
|
|
28982
|
+
() => {
|
|
28983
|
+
if (!date) return [];
|
|
28984
|
+
const entries = freeBusy.isPlaceholderData || freeBusy.isError ? [] : freeBusy.data ?? [];
|
|
28985
|
+
return chunkF3QHSUUO_cjs.freeBusyToRows(
|
|
28986
|
+
ids.map(
|
|
28987
|
+
(id) => entries.find((entry) => entry.attendee.toLowerCase() === id) ?? {
|
|
28988
|
+
attendee: id,
|
|
28989
|
+
known: false,
|
|
28990
|
+
busy: []
|
|
28991
|
+
}
|
|
28992
|
+
),
|
|
28993
|
+
date,
|
|
28994
|
+
labelOf,
|
|
28995
|
+
roomEmails
|
|
28996
|
+
);
|
|
28997
|
+
},
|
|
28982
28998
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
28983
|
-
[
|
|
28999
|
+
[
|
|
29000
|
+
freeBusy.data,
|
|
29001
|
+
freeBusy.isPlaceholderData,
|
|
29002
|
+
freeBusy.isError,
|
|
29003
|
+
date,
|
|
29004
|
+
ids,
|
|
29005
|
+
roomEmails,
|
|
29006
|
+
attendees,
|
|
29007
|
+
me
|
|
29008
|
+
]
|
|
28984
29009
|
);
|
|
28985
29010
|
const findTime = react$1.useFindTime();
|
|
28986
29011
|
const [suggestions, setSuggestions] = react.useState(null);
|
|
@@ -29007,7 +29032,7 @@ function EventScheduling({
|
|
|
29007
29032
|
className: "space-y-4 rounded-md border border-border p-3",
|
|
29008
29033
|
"data-testid": "calendar-scheduling-section",
|
|
29009
29034
|
children: date && /* @__PURE__ */ jsxRuntime.jsx(
|
|
29010
|
-
|
|
29035
|
+
chunkF3QHSUUO_cjs.SchedulingAssistant,
|
|
29011
29036
|
{
|
|
29012
29037
|
date,
|
|
29013
29038
|
timeZone,
|
|
@@ -29016,7 +29041,7 @@ function EventScheduling({
|
|
|
29016
29041
|
dayStartHour: Math.max(0, Math.min(workingStartHour, 8) - 1),
|
|
29017
29042
|
dayEndHour: 21,
|
|
29018
29043
|
loading: freeBusy.isFetching,
|
|
29019
|
-
suggestions,
|
|
29044
|
+
suggestions: suggestions?.attendeeSetKey === attendeeSetKey ? suggestions.values : null,
|
|
29020
29045
|
finding: findTime.isPending,
|
|
29021
29046
|
onDateChange: setDayOverride,
|
|
29022
29047
|
onFindTime: () => dayStart && findTime.mutate(
|
|
@@ -29032,12 +29057,12 @@ function EventScheduling({
|
|
|
29032
29057
|
limit: 8
|
|
29033
29058
|
},
|
|
29034
29059
|
{
|
|
29035
|
-
onSuccess: (s) => setSuggestions(
|
|
29060
|
+
onSuccess: (s) => setSuggestions({ attendeeSetKey, values: chunkF3QHSUUO_cjs.toSuggestionViews(s) }),
|
|
29036
29061
|
onError: (err) => notify19(`Could not find times: ${err.message}`, "error")
|
|
29037
29062
|
}
|
|
29038
29063
|
),
|
|
29039
29064
|
onPickSuggestion: (s) => {
|
|
29040
|
-
onChange(
|
|
29065
|
+
onChange(chunkF3QHSUUO_cjs.applySuggestion(draft, s, timeZone));
|
|
29041
29066
|
setDayOverride(null);
|
|
29042
29067
|
}
|
|
29043
29068
|
}
|
|
@@ -29120,7 +29145,7 @@ function EventEditorDialog({
|
|
|
29120
29145
|
"Add an ARBI call (the link is created when you save)"
|
|
29121
29146
|
] }),
|
|
29122
29147
|
editor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
29123
|
-
|
|
29148
|
+
chunkF3QHSUUO_cjs.EventEditor,
|
|
29124
29149
|
{
|
|
29125
29150
|
value: editor.draft,
|
|
29126
29151
|
onChange: setDraft,
|
|
@@ -29165,7 +29190,7 @@ function EventEditorDialog({
|
|
|
29165
29190
|
}
|
|
29166
29191
|
function when(inv, zone) {
|
|
29167
29192
|
if (!inv.start_utc || !inv.end_utc) return "";
|
|
29168
|
-
return
|
|
29193
|
+
return chunkF3QHSUUO_cjs.formatEventWhen(
|
|
29169
29194
|
{ all_day: false, start_utc: inv.start_utc, end_utc: inv.end_utc, start: {}, end: {} },
|
|
29170
29195
|
zone
|
|
29171
29196
|
);
|
|
@@ -29328,7 +29353,7 @@ function InvitationsPanel({ timeZone, onOpenEvent }) {
|
|
|
29328
29353
|
}
|
|
29329
29354
|
),
|
|
29330
29355
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29331
|
-
|
|
29356
|
+
chunkF3QHSUUO_cjs.ProposeTimeDialog,
|
|
29332
29357
|
{
|
|
29333
29358
|
open: !!proposeFor,
|
|
29334
29359
|
startUtc: proposeFor?.start_utc ?? null,
|
|
@@ -29407,7 +29432,7 @@ function PublishCalendarDialog({
|
|
|
29407
29432
|
}
|
|
29408
29433
|
)
|
|
29409
29434
|
] }),
|
|
29410
|
-
publish.error && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-destructive", role: "alert", children:
|
|
29435
|
+
publish.error && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-destructive", role: "alert", children: chunkF3QHSUUO_cjs.describeCalendarError(publish.error, "Could not publish the calendar") }),
|
|
29411
29436
|
/* @__PURE__ */ jsxRuntime.jsxs(ui.DialogFooter, { children: [
|
|
29412
29437
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Button, { type: "button", variant: "ghost", onClick: onClose, children: "Cancel" }),
|
|
29413
29438
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -29591,7 +29616,7 @@ function useWebinarAttendee(draft, calls) {
|
|
|
29591
29616
|
}, [pending, attendees, calls]);
|
|
29592
29617
|
const roles = conference?.url ? conference.roles : null;
|
|
29593
29618
|
return react.useCallback(
|
|
29594
|
-
(a) => roles ?
|
|
29619
|
+
(a) => roles ? chunkF3QHSUUO_cjs.attendeeKey(a) in roles : arbiUsers.has(chunkF3QHSUUO_cjs.attendeeKey(a)),
|
|
29595
29620
|
[roles, arbiUsers]
|
|
29596
29621
|
);
|
|
29597
29622
|
}
|
|
@@ -29612,42 +29637,42 @@ function useConnectedCalendarCalls() {
|
|
|
29612
29637
|
[knownUsers]
|
|
29613
29638
|
);
|
|
29614
29639
|
return react.useMemo(() => {
|
|
29615
|
-
const users = (attendees) =>
|
|
29640
|
+
const users = (attendees) => chunkLCAND465_cjs.resolveAttendeeUsersRemote(arbi, attendees, known, me);
|
|
29616
29641
|
return {
|
|
29617
29642
|
canSchedule,
|
|
29618
29643
|
async create(draft, webinarRoles) {
|
|
29619
29644
|
const resolved = await users(draft.attendees ?? []);
|
|
29620
|
-
return
|
|
29645
|
+
return chunkLCAND465_cjs.createEventCall(arbi, {
|
|
29621
29646
|
title: draft.title,
|
|
29622
|
-
peers:
|
|
29623
|
-
webinar: webinarRoles ? { roles:
|
|
29647
|
+
peers: chunkLCAND465_cjs.distinctPeers(resolved),
|
|
29648
|
+
webinar: webinarRoles ? { roles: chunkLCAND465_cjs.webinarRolesByUser(webinarRoles, resolved) } : null
|
|
29624
29649
|
});
|
|
29625
29650
|
},
|
|
29626
29651
|
async share(draft) {
|
|
29627
|
-
await
|
|
29652
|
+
await chunkLCAND465_cjs.shareEventCall(
|
|
29628
29653
|
arbi,
|
|
29629
29654
|
draft.conference,
|
|
29630
|
-
await
|
|
29655
|
+
await chunkLCAND465_cjs.resolveCallPeersRemote(arbi, draft.attendees ?? [], known, me)
|
|
29631
29656
|
);
|
|
29632
29657
|
},
|
|
29633
|
-
loadWebinarRoles: (url, attendees) =>
|
|
29658
|
+
loadWebinarRoles: (url, attendees) => chunkLCAND465_cjs.loadEventWebinar(arbi, url, attendees),
|
|
29634
29659
|
async saveWebinarRoles(url, roles, attendees) {
|
|
29635
29660
|
const resolved = await users(attendees);
|
|
29636
|
-
await
|
|
29661
|
+
await chunkLCAND465_cjs.updateEventWebinarRoles(
|
|
29637
29662
|
arbi,
|
|
29638
29663
|
url,
|
|
29639
|
-
|
|
29640
|
-
|
|
29664
|
+
chunkLCAND465_cjs.webinarRolesByUser(roles, resolved),
|
|
29665
|
+
chunkLCAND465_cjs.distinctPeers(resolved)
|
|
29641
29666
|
);
|
|
29642
29667
|
},
|
|
29643
29668
|
async arbiAttendees(attendees) {
|
|
29644
29669
|
return new Set((await users(attendees)).keys());
|
|
29645
29670
|
},
|
|
29646
29671
|
join(url) {
|
|
29647
|
-
void
|
|
29672
|
+
void chunkLCAND465_cjs.joinEventMeeting(arbi, url);
|
|
29648
29673
|
},
|
|
29649
29674
|
openChat(url) {
|
|
29650
|
-
const parsed =
|
|
29675
|
+
const parsed = chunkLCAND465_cjs.parseArbiCallUrlForClient(arbi, url);
|
|
29651
29676
|
if (parsed) void openCallMeetingChat({ callExtId: parsed.callId, callKey: parsed.key });
|
|
29652
29677
|
}
|
|
29653
29678
|
};
|
|
@@ -29679,7 +29704,7 @@ var isPhoneNow = () => typeof window !== "undefined" && !!window.matchMedia?.(PH
|
|
|
29679
29704
|
function useIsPhone2() {
|
|
29680
29705
|
return react.useSyncExternalStore(subscribePhone, isPhoneNow, () => false);
|
|
29681
29706
|
}
|
|
29682
|
-
var errorText2 = (err) =>
|
|
29707
|
+
var errorText2 = (err) => chunkF3QHSUUO_cjs.describeCalendarError(err);
|
|
29683
29708
|
var PRINT_VIEW = {
|
|
29684
29709
|
day: "day",
|
|
29685
29710
|
week: "week",
|
|
@@ -29723,19 +29748,19 @@ function ConnectedCalendar({
|
|
|
29723
29748
|
const kindOf = /* @__PURE__ */ new Map();
|
|
29724
29749
|
for (const acc of accounts ?? []) for (const id of acc.calendars ?? []) kindOf.set(id, acc.kind);
|
|
29725
29750
|
return calendars.map((c) => {
|
|
29726
|
-
const item =
|
|
29751
|
+
const item = chunkF3QHSUUO_cjs.calendarToListItem(c);
|
|
29727
29752
|
return item.provider ? item : { ...item, provider: kindOf.get(c.id) ?? null };
|
|
29728
29753
|
});
|
|
29729
29754
|
}, [calendars, accounts]);
|
|
29730
29755
|
const gridEvents = react.useMemo(() => {
|
|
29731
|
-
const out =
|
|
29756
|
+
const out = chunkF3QHSUUO_cjs.buildGridEvents(events, calendars, overlays, {
|
|
29732
29757
|
zone,
|
|
29733
29758
|
showDeclined: !!settings.show_declined
|
|
29734
29759
|
});
|
|
29735
29760
|
const pending = [];
|
|
29736
29761
|
for (const item of outbox ?? []) {
|
|
29737
29762
|
if (item.op.kind !== "create" || item.state === "sent") continue;
|
|
29738
|
-
const g =
|
|
29763
|
+
const g = chunkF3QHSUUO_cjs.pendingCreateToGrid(item.requestId, item.op.body, zone);
|
|
29739
29764
|
if (g) pending.push(g);
|
|
29740
29765
|
}
|
|
29741
29766
|
return pending.length ? [...out, ...pending] : out;
|
|
@@ -29789,13 +29814,13 @@ function ConnectedCalendar({
|
|
|
29789
29814
|
};
|
|
29790
29815
|
const saveWebinarRoles = (original, draft) => {
|
|
29791
29816
|
const c = draft.conference;
|
|
29792
|
-
if (!calls || !
|
|
29817
|
+
if (!calls || !chunkF3QHSUUO_cjs.isWebinarConference(c) || !c?.url || !original.conference?.url) return;
|
|
29793
29818
|
if (JSON.stringify(original.conference.roles ?? {}) === JSON.stringify(c.roles ?? {})) return;
|
|
29794
29819
|
calls.saveWebinarRoles(c.url, c.roles, draft.attendees ?? []).catch((err) => notifyError("Could not update the webinar roles", err));
|
|
29795
29820
|
};
|
|
29796
29821
|
const isWebinarAttendee = useWebinarAttendee(editor?.draft, calls);
|
|
29797
29822
|
const joinMeeting = (event) => {
|
|
29798
|
-
const url =
|
|
29823
|
+
const url = chunkF3QHSUUO_cjs.conferenceUrl(event);
|
|
29799
29824
|
if (!url) return;
|
|
29800
29825
|
if (calls) calls.join(url);
|
|
29801
29826
|
else openMeetingLink(url);
|
|
@@ -29840,15 +29865,16 @@ function ConnectedCalendar({
|
|
|
29840
29865
|
);
|
|
29841
29866
|
const openCreate = react.useCallback(
|
|
29842
29867
|
(slot) => {
|
|
29843
|
-
const draft =
|
|
29844
|
-
|
|
29868
|
+
const draft = chunkF3QHSUUO_cjs.newEventDraft(settings, { slot, calendarId: defaultCalendarId });
|
|
29869
|
+
const selectedDraft = slot ? draft : chunkF3QHSUUO_cjs.setDraftStart(draft, { date }, zone);
|
|
29870
|
+
setEditor({ mode: "create", original: selectedDraft, draft: selectedDraft, error: null });
|
|
29845
29871
|
},
|
|
29846
|
-
[settings, defaultCalendarId]
|
|
29872
|
+
[settings, defaultCalendarId, date, zone]
|
|
29847
29873
|
);
|
|
29848
29874
|
react.useEffect(() => {
|
|
29849
29875
|
if (!pendingComposer) return;
|
|
29850
29876
|
setPendingComposer(null);
|
|
29851
|
-
const base =
|
|
29877
|
+
const base = chunkF3QHSUUO_cjs.newEventDraft(settings, { calendarId: defaultCalendarId });
|
|
29852
29878
|
const draft = {
|
|
29853
29879
|
...base,
|
|
29854
29880
|
title: pendingComposer.title ?? "",
|
|
@@ -29870,7 +29896,7 @@ function ConnectedCalendar({
|
|
|
29870
29896
|
});
|
|
29871
29897
|
}, [pendingComposer, setPendingComposer, settings, defaultCalendarId, callsEnabled]);
|
|
29872
29898
|
const openOverlay = (item) => {
|
|
29873
|
-
const link =
|
|
29899
|
+
const link = chunkF3QHSUUO_cjs.parseOverlayLink(item.link);
|
|
29874
29900
|
if (!link) return;
|
|
29875
29901
|
if (onOpenOverlay) onOpenOverlay(link);
|
|
29876
29902
|
else if (link.kind === "conversation") openConversation(link.id);
|
|
@@ -29885,7 +29911,7 @@ function ConnectedCalendar({
|
|
|
29885
29911
|
if (overlay) openOverlay(overlay);
|
|
29886
29912
|
};
|
|
29887
29913
|
const withScope = (event, action, run, cancel) => {
|
|
29888
|
-
if (!
|
|
29914
|
+
if (!chunkF3QHSUUO_cjs.needsScope(event)) {
|
|
29889
29915
|
run("all");
|
|
29890
29916
|
return;
|
|
29891
29917
|
}
|
|
@@ -29912,7 +29938,7 @@ function ConnectedCalendar({
|
|
|
29912
29938
|
event,
|
|
29913
29939
|
"edit",
|
|
29914
29940
|
(scope) => {
|
|
29915
|
-
const { target, body } =
|
|
29941
|
+
const { target, body } = chunkF3QHSUUO_cjs.buildTimeChangeRequest(event, change, scope, zone);
|
|
29916
29942
|
updateEvent.mutate(
|
|
29917
29943
|
{ target, body },
|
|
29918
29944
|
{
|
|
@@ -29936,8 +29962,8 @@ function ConnectedCalendar({
|
|
|
29936
29962
|
master = null;
|
|
29937
29963
|
}
|
|
29938
29964
|
}
|
|
29939
|
-
let draft =
|
|
29940
|
-
if (calls && draft.conference?.url &&
|
|
29965
|
+
let draft = chunkF3QHSUUO_cjs.eventToDraft(event, master);
|
|
29966
|
+
if (calls && draft.conference?.url && chunkF3QHSUUO_cjs.isWebinarConference(draft.conference)) {
|
|
29941
29967
|
try {
|
|
29942
29968
|
const roles = await calls.loadWebinarRoles(draft.conference.url, draft.attendees ?? []);
|
|
29943
29969
|
if (roles) draft = { ...draft, conference: { ...draft.conference, kind: "webinar", roles } };
|
|
@@ -29948,7 +29974,7 @@ function ConnectedCalendar({
|
|
|
29948
29974
|
setEditor({ mode: "edit", event, original: draft, draft, error: null });
|
|
29949
29975
|
};
|
|
29950
29976
|
const removeEvent = (event) => {
|
|
29951
|
-
const run = (scope) => deleteEvent.mutate(
|
|
29977
|
+
const run = (scope) => deleteEvent.mutate(chunkF3QHSUUO_cjs.buildDeleteTarget(event, scope), {
|
|
29952
29978
|
onSuccess: () => {
|
|
29953
29979
|
setSelected(null);
|
|
29954
29980
|
setEditor(null);
|
|
@@ -29956,7 +29982,7 @@ function ConnectedCalendar({
|
|
|
29956
29982
|
onError: (err) => notifyError("Could not delete the event", err)
|
|
29957
29983
|
});
|
|
29958
29984
|
const invitee = event.is_organizer === false && event.my_partstat != null;
|
|
29959
|
-
if (
|
|
29985
|
+
if (chunkF3QHSUUO_cjs.needsScope(event)) withScope(event, "delete", run);
|
|
29960
29986
|
else
|
|
29961
29987
|
void confirm({
|
|
29962
29988
|
message: invitee ? `Remove \u201C${event.title || "this event"}\u201D from your calendar? The organiser is told you declined.` : `Delete \u201C${event.title || "this event"}\u201D?`,
|
|
@@ -29965,9 +29991,9 @@ function ConnectedCalendar({
|
|
|
29965
29991
|
};
|
|
29966
29992
|
const saveEditor = () => {
|
|
29967
29993
|
if (!editor) return;
|
|
29968
|
-
const problem =
|
|
29994
|
+
const problem = chunkF3QHSUUO_cjs.validateDraft(editor.draft, zone);
|
|
29969
29995
|
if (problem) {
|
|
29970
|
-
setEditor({ ...editor, error:
|
|
29996
|
+
setEditor({ ...editor, error: chunkFUGQ7YQW_cjs.CALENDAR_DEFAULT_LABELS[problem] });
|
|
29971
29997
|
return;
|
|
29972
29998
|
}
|
|
29973
29999
|
if (editor.mode === "create") {
|
|
@@ -29981,7 +30007,7 @@ function ConnectedCalendar({
|
|
|
29981
30007
|
);
|
|
29982
30008
|
return;
|
|
29983
30009
|
}
|
|
29984
|
-
createEvent.mutate(
|
|
30010
|
+
createEvent.mutate(chunkF3QHSUUO_cjs.buildCreateBody(draft), {
|
|
29985
30011
|
onSuccess: (event2) => {
|
|
29986
30012
|
shareCall(draft);
|
|
29987
30013
|
setEditor(null);
|
|
@@ -30006,7 +30032,7 @@ function ConnectedCalendar({
|
|
|
30006
30032
|
);
|
|
30007
30033
|
return;
|
|
30008
30034
|
}
|
|
30009
|
-
const { target, body, moveTo } =
|
|
30035
|
+
const { target, body, moveTo } = chunkF3QHSUUO_cjs.buildEditRequest(event, editor.original, draft, scope);
|
|
30010
30036
|
try {
|
|
30011
30037
|
let id = event.id;
|
|
30012
30038
|
let queued = false;
|
|
@@ -30126,7 +30152,7 @@ function ConnectedCalendar({
|
|
|
30126
30152
|
}
|
|
30127
30153
|
),
|
|
30128
30154
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30129
|
-
|
|
30155
|
+
chunkF3QHSUUO_cjs.MiniMonth,
|
|
30130
30156
|
{
|
|
30131
30157
|
date,
|
|
30132
30158
|
weekStart: settings.week_start,
|
|
@@ -30137,7 +30163,7 @@ function ConnectedCalendar({
|
|
|
30137
30163
|
}
|
|
30138
30164
|
),
|
|
30139
30165
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30140
|
-
|
|
30166
|
+
chunkF3QHSUUO_cjs.CalendarList,
|
|
30141
30167
|
{
|
|
30142
30168
|
calendars: listItems,
|
|
30143
30169
|
overlays: {
|
|
@@ -30186,7 +30212,7 @@ function ConnectedCalendar({
|
|
|
30186
30212
|
}
|
|
30187
30213
|
),
|
|
30188
30214
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30189
|
-
|
|
30215
|
+
chunkLCAND465_cjs.ConnectedUpcomingEvents,
|
|
30190
30216
|
{
|
|
30191
30217
|
timeZone: zone,
|
|
30192
30218
|
showDeclined: !!settings.show_declined,
|
|
@@ -30198,7 +30224,7 @@ function ConnectedCalendar({
|
|
|
30198
30224
|
}
|
|
30199
30225
|
),
|
|
30200
30226
|
/* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 min-w-0 flex-1 flex-col", "data-testid": "calendar-main", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30201
|
-
|
|
30227
|
+
chunkDNHZYLPK_cjs.CalendarGrid,
|
|
30202
30228
|
{
|
|
30203
30229
|
events: gridEvents,
|
|
30204
30230
|
view,
|
|
@@ -30234,7 +30260,7 @@ function ConnectedCalendar({
|
|
|
30234
30260
|
"aria-label": "Print",
|
|
30235
30261
|
title: "Print",
|
|
30236
30262
|
"data-testid": "calendar-print-button",
|
|
30237
|
-
onClick: () =>
|
|
30263
|
+
onClick: () => chunkF3QHSUUO_cjs.printCalendar({
|
|
30238
30264
|
events: (events ?? []).filter(
|
|
30239
30265
|
(e) => !calendars.find((c) => c.id === e.calendar_id)?.hidden
|
|
30240
30266
|
),
|
|
@@ -30296,13 +30322,13 @@ function ConnectedCalendar({
|
|
|
30296
30322
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { className: "sr-only", children: selectedEvent?.title || "Event" }),
|
|
30297
30323
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { className: "sr-only", children: "Event details" }),
|
|
30298
30324
|
selectedEvent && /* @__PURE__ */ jsxRuntime.jsx(
|
|
30299
|
-
|
|
30325
|
+
chunkF3QHSUUO_cjs.EventDetails,
|
|
30300
30326
|
{
|
|
30301
30327
|
event: selectedEvent,
|
|
30302
30328
|
timeZone: zone,
|
|
30303
30329
|
calendarName: selectedCalendar?.name ?? null,
|
|
30304
30330
|
calendarColor: selectedCalendar?.color ?? null,
|
|
30305
|
-
canJoin:
|
|
30331
|
+
canJoin: chunkF3QHSUUO_cjs.canJoinEvent(selectedEvent),
|
|
30306
30332
|
onClose: () => setSelected(null),
|
|
30307
30333
|
onEdit: selectedEvent.can_edit && !selectedEvent.restricted ? () => void openEdit(selectedEvent) : void 0,
|
|
30308
30334
|
onDelete: selectedEvent.can_edit || selectedEvent.is_organizer === false && selectedEvent.my_partstat != null ? () => removeEvent(selectedEvent) : void 0,
|
|
@@ -30312,9 +30338,9 @@ function ConnectedCalendar({
|
|
|
30312
30338
|
setSelected(null);
|
|
30313
30339
|
joinMeeting(selectedEvent);
|
|
30314
30340
|
} : void 0,
|
|
30315
|
-
onOpenMeetingChat: calls && selectedEvent.conference?.type === "arbi" &&
|
|
30341
|
+
onOpenMeetingChat: calls && selectedEvent.conference?.type === "arbi" && chunkF3QHSUUO_cjs.conferenceUrl(selectedEvent) ? () => {
|
|
30316
30342
|
setSelected(null);
|
|
30317
|
-
calls.openChat(
|
|
30343
|
+
calls.openChat(chunkF3QHSUUO_cjs.conferenceUrl(selectedEvent));
|
|
30318
30344
|
} : void 0
|
|
30319
30345
|
}
|
|
30320
30346
|
)
|
|
@@ -30340,7 +30366,7 @@ function ConnectedCalendar({
|
|
|
30340
30366
|
}
|
|
30341
30367
|
),
|
|
30342
30368
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30343
|
-
|
|
30369
|
+
chunkF3QHSUUO_cjs.ScopeDialog,
|
|
30344
30370
|
{
|
|
30345
30371
|
open: !!scopePrompt,
|
|
30346
30372
|
action: scopePrompt?.action ?? "edit",
|
|
@@ -30350,7 +30376,7 @@ function ConnectedCalendar({
|
|
|
30350
30376
|
}
|
|
30351
30377
|
),
|
|
30352
30378
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30353
|
-
|
|
30379
|
+
chunkF3QHSUUO_cjs.CalendarFormDialog,
|
|
30354
30380
|
{
|
|
30355
30381
|
open: !!calendarForm,
|
|
30356
30382
|
mode: calendarForm?.mode ?? "create",
|
|
@@ -30401,7 +30427,7 @@ function ConnectedCalendar({
|
|
|
30401
30427
|
),
|
|
30402
30428
|
/* @__PURE__ */ jsxRuntime.jsx(HolidaysDialog, { open: addDialog === "holidays", onClose: () => setAddDialog(null) }),
|
|
30403
30429
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30404
|
-
|
|
30430
|
+
chunkF3QHSUUO_cjs.ProposeTimeDialog,
|
|
30405
30431
|
{
|
|
30406
30432
|
open: !!proposeFor,
|
|
30407
30433
|
startUtc: proposeFor?.start_utc ?? null,
|
|
@@ -30484,7 +30510,7 @@ function CancelView({ slug, token }) {
|
|
|
30484
30510
|
react$1.cancelPublicBooking(apiBaseUrl, slug, token).then(() => setState("done")).catch((err) => {
|
|
30485
30511
|
setState("idle");
|
|
30486
30512
|
setError(
|
|
30487
|
-
err instanceof react$1.PublicBookingError && err.status === 404 ? "This booking was not found \u2014 it may already be cancelled." :
|
|
30513
|
+
err instanceof react$1.PublicBookingError && err.status === 404 ? "This booking was not found \u2014 it may already be cancelled." : chunkF3QHSUUO_cjs.publicBookingMessage(err)
|
|
30488
30514
|
);
|
|
30489
30515
|
});
|
|
30490
30516
|
},
|
|
@@ -30513,7 +30539,7 @@ function Confirmation({
|
|
|
30513
30539
|
] }),
|
|
30514
30540
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-1 text-sm", children: [
|
|
30515
30541
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-medium", children: confirmation.title }),
|
|
30516
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground", "data-testid": "book-confirmed-when", children:
|
|
30542
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground", "data-testid": "book-confirmed-when", children: chunkF3QHSUUO_cjs.formatSlotRange(confirmation.start, confirmation.end, zone) })
|
|
30517
30543
|
] }),
|
|
30518
30544
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "A confirmation has been sent to your e-mail." }),
|
|
30519
30545
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -30575,7 +30601,7 @@ function ConnectedPublicBooking({ slug, cancelToken }) {
|
|
|
30575
30601
|
};
|
|
30576
30602
|
}, [apiBaseUrl, slug, duration, offset, reload, cancelToken]);
|
|
30577
30603
|
const chosenDuration = duration ?? page?.durations[0] ?? 30;
|
|
30578
|
-
const days = react.useMemo(() =>
|
|
30604
|
+
const days = react.useMemo(() => chunkF3QHSUUO_cjs.groupSlotsByDay(page?.slots ?? [], zone), [page?.slots, zone]);
|
|
30579
30605
|
const submit = react.useCallback(async () => {
|
|
30580
30606
|
if (!picked) return;
|
|
30581
30607
|
setSubmitting(true);
|
|
@@ -30591,7 +30617,7 @@ function ConnectedPublicBooking({ slug, cancelToken }) {
|
|
|
30591
30617
|
})
|
|
30592
30618
|
);
|
|
30593
30619
|
} catch (err) {
|
|
30594
|
-
setSubmitError(
|
|
30620
|
+
setSubmitError(chunkF3QHSUUO_cjs.publicBookingMessage(err));
|
|
30595
30621
|
if (err instanceof react$1.PublicBookingError && err.status === 409) {
|
|
30596
30622
|
setPicked(null);
|
|
30597
30623
|
setReload((n) => n + 1);
|
|
@@ -30615,11 +30641,11 @@ function ConnectedPublicBooking({ slug, cancelToken }) {
|
|
|
30615
30641
|
}
|
|
30616
30642
|
) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-3", "data-testid": "book-error", children: [
|
|
30617
30643
|
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: "text-lg font-semibold", children: loadError instanceof react$1.PublicBookingError && loadError.status === 404 ? "Page not found" : "Could not load this page" }),
|
|
30618
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-muted-foreground", children:
|
|
30644
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-muted-foreground", children: chunkF3QHSUUO_cjs.publicBookingMessage(loadError) }),
|
|
30619
30645
|
!(loadError instanceof react$1.PublicBookingError && loadError.status === 404) && /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: () => setReload((n) => n + 1), children: "Try again" })
|
|
30620
30646
|
] }) });
|
|
30621
30647
|
}
|
|
30622
|
-
const pickedLabel = picked ?
|
|
30648
|
+
const pickedLabel = picked ? chunkF3QHSUUO_cjs.formatSlotRange(
|
|
30623
30649
|
picked,
|
|
30624
30650
|
new Date(new Date(picked).getTime() + chosenDuration * 6e4).toISOString(),
|
|
30625
30651
|
zone
|
|
@@ -30744,7 +30770,7 @@ function ConnectedPublicBooking({ slug, cancelToken }) {
|
|
|
30744
30770
|
onChange: (e) => setZone(e.target.value),
|
|
30745
30771
|
"aria-label": "Your time zone",
|
|
30746
30772
|
"data-testid": "book-zone",
|
|
30747
|
-
children:
|
|
30773
|
+
children: chunkF3QHSUUO_cjs.zoneOptions(zone).map((z) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: z, children: z.replace(/_/g, " ") }, z))
|
|
30748
30774
|
}
|
|
30749
30775
|
)
|
|
30750
30776
|
] })
|
|
@@ -30753,7 +30779,7 @@ function ConnectedPublicBooking({ slug, cancelToken }) {
|
|
|
30753
30779
|
loading ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
|
|
30754
30780
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
|
|
30755
30781
|
" Finding free times\u2026"
|
|
30756
|
-
] }) : loadError ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", "data-testid": "book-error", children:
|
|
30782
|
+
] }) : loadError ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", "data-testid": "book-error", children: chunkF3QHSUUO_cjs.publicBookingMessage(loadError) }) : days.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", "data-testid": "book-no-slots", children: "No free times in these two weeks." }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-4", "data-testid": "book-days", children: days.map((day) => /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "grid gap-2", "data-testid": `book-day-${day.date}`, children: [
|
|
30757
30783
|
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm font-medium", children: day.label }),
|
|
30758
30784
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-3 gap-2 sm:grid-cols-4 md:grid-cols-5", children: day.slots.map((s) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
30759
30785
|
ui.Button,
|
|
@@ -30961,7 +30987,7 @@ ${summary}`,
|
|
|
30961
30987
|
fail2
|
|
30962
30988
|
]);
|
|
30963
30989
|
const zipFilesAdded = react.useRef(false);
|
|
30964
|
-
const addFromUrls =
|
|
30990
|
+
const addFromUrls = chunkLCAND465_cjs.useAddFromUrls({
|
|
30965
30991
|
shared,
|
|
30966
30992
|
configExtId,
|
|
30967
30993
|
onZipFiles: (zipFiles) => {
|
|
@@ -32058,7 +32084,7 @@ function ConnectedUploadDialog({ props, onClose }) {
|
|
|
32058
32084
|
title: source ? TITLES[source] : `Add ${ui.getEntityLabel("DOCUMENT", "PLURAL")}`,
|
|
32059
32085
|
description: `Upload documents to ${workspace.name}`,
|
|
32060
32086
|
workspaceName: workspace.name,
|
|
32061
|
-
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32087
|
+
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkLCAND465_cjs.ConnectedWorkspaceEntity, { workspace, size: 16, variant: "icon" })
|
|
32062
32088
|
}
|
|
32063
32089
|
),
|
|
32064
32090
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-0 flex-1 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -32101,7 +32127,7 @@ function ConnectedBulkTagCrumbs() {
|
|
|
32101
32127
|
{
|
|
32102
32128
|
items: [
|
|
32103
32129
|
{
|
|
32104
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32130
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkLCAND465_cjs.ConnectedWorkspaceEntity, { workspace, size: 16, variant: "icon" }),
|
|
32105
32131
|
label: workspace.name
|
|
32106
32132
|
},
|
|
32107
32133
|
...pageLabel ? [{ icon: /* @__PURE__ */ jsxRuntime.jsx(ui.EntityIcon, { entityType: "DOCUMENT", className: "size-4" }), label: pageLabel }] : []
|
|
@@ -33375,7 +33401,7 @@ function ConnectedFilesBulkActions({
|
|
|
33375
33401
|
const actions = react$1.useDocumentHostActions();
|
|
33376
33402
|
const isOnline = documentTools.useIsOnline();
|
|
33377
33403
|
const { userId } = chunkVWSOHZK2_cjs.useConnectedWorkspace();
|
|
33378
|
-
const { role } =
|
|
33404
|
+
const { role } = chunkW3WPHMRB_cjs.useConnectedWorkspaceRole();
|
|
33379
33405
|
const offlineIds = react$1.useOfflineDocumentIds();
|
|
33380
33406
|
const keepOffline = react$1.useKeepDocumentsOffline();
|
|
33381
33407
|
const removeOffline = react$1.useRemoveDocumentsOffline();
|
|
@@ -33721,7 +33747,7 @@ function useBatchCompleteToasts() {
|
|
|
33721
33747
|
const workspaceId = message.workspace_ext_id;
|
|
33722
33748
|
const docIds = message.doc_ext_ids ?? [];
|
|
33723
33749
|
const workspace = workspacesRef.current?.find((w) => w.external_id === workspaceId);
|
|
33724
|
-
const icon2 = workspace ? react.createElement(
|
|
33750
|
+
const icon2 = workspace ? react.createElement(chunkLCAND465_cjs.ConnectedWorkspaceEntity, { workspace, variant: "icon", size: 20 }) : void 0;
|
|
33725
33751
|
const say = (text, kind, options = {}) => notify19(text, kind, { workspaceId, icon: icon2, ...options, ambient: false });
|
|
33726
33752
|
if (message.batch_type === "doctag_generate") {
|
|
33727
33753
|
const run = pending.current.get(workspaceId) ?? { docIds: /* @__PURE__ */ new Set(), icon: icon2 };
|
|
@@ -33753,7 +33779,7 @@ function useBatchCompleteToasts() {
|
|
|
33753
33779
|
}
|
|
33754
33780
|
}, AI_FIELDS_NOTICE_WINDOW_MS);
|
|
33755
33781
|
} else if (message.batch_type === "entity_extract") {
|
|
33756
|
-
say(`${
|
|
33782
|
+
say(`${chunkNZMEZL5D_cjs.entitiesPhrase()} extracted from ${chunkNZMEZL5D_cjs.documentCount(docIds.length)}`, "success", {
|
|
33757
33783
|
...openTags && { action: { label: "View", onClick: openTags } }
|
|
33758
33784
|
});
|
|
33759
33785
|
} else if (message.batch_type === "upload") {
|
|
@@ -34618,13 +34644,13 @@ var TABLET_TABLE_BELOW = 860;
|
|
|
34618
34644
|
var TABLET_VIEWPORT_BELOW = 1100;
|
|
34619
34645
|
var NO_CONVERSATION_DOCUMENTS2 = [];
|
|
34620
34646
|
var DocumentReviewCard = react.lazy(
|
|
34621
|
-
() => import('../DocumentReviewCard-
|
|
34647
|
+
() => import('../DocumentReviewCard-TWRGKFSR.cjs').then((module) => ({ default: module.DocumentReviewCard }))
|
|
34622
34648
|
);
|
|
34623
34649
|
var FilesViewerDialog = react.lazy(
|
|
34624
|
-
() => import('../FilesViewerDialog-
|
|
34650
|
+
() => import('../FilesViewerDialog-AONINOVX.cjs').then((module) => ({ default: module.FilesViewerDialog }))
|
|
34625
34651
|
);
|
|
34626
34652
|
function defaultReviewCard(props) {
|
|
34627
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34653
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkNZMEZL5D_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
|
|
34628
34654
|
}
|
|
34629
34655
|
function ConnectedFilesPage({
|
|
34630
34656
|
isModal = false,
|
|
@@ -34667,7 +34693,7 @@ function ConnectedFilesPage({
|
|
|
34667
34693
|
const deleteDocuments = react$1.useDeleteDocuments();
|
|
34668
34694
|
const isDocumentsPending = isLoading && documents.length === 0;
|
|
34669
34695
|
const { workspaceId, userId, live } = chunkVWSOHZK2_cjs.useConnectedWorkspace();
|
|
34670
|
-
const { role, members } =
|
|
34696
|
+
const { role, members } = chunkW3WPHMRB_cjs.useConnectedWorkspaceRole();
|
|
34671
34697
|
const { data: workspaces } = react$1.useWorkspaces({ enabled: live });
|
|
34672
34698
|
const workspace = workspaces?.find((w) => w.external_id === workspaceId);
|
|
34673
34699
|
const workspaceName = workspace?.name;
|
|
@@ -34867,7 +34893,7 @@ function ConnectedFilesPage({
|
|
|
34867
34893
|
);
|
|
34868
34894
|
const explorerRef = react.useRef(null);
|
|
34869
34895
|
const [explorerFileIds, setExplorerFileIds] = react.useState([]);
|
|
34870
|
-
const uploadUrls =
|
|
34896
|
+
const uploadUrls = chunkLCAND465_cjs.useAddFromUrls({
|
|
34871
34897
|
onZipFiles: (files2) => onUpload({ source: "computer", files: files2 })
|
|
34872
34898
|
});
|
|
34873
34899
|
const { data: workspaceTags = [] } = react$1.useTags();
|
|
@@ -35152,7 +35178,7 @@ function ConnectedFilesPage({
|
|
|
35152
35178
|
onOpenChange: setUrlDialogOpen,
|
|
35153
35179
|
onUrlsSubmit: uploadUrls,
|
|
35154
35180
|
titleWorkspaceName: workspaceName,
|
|
35155
|
-
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35181
|
+
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(chunkLCAND465_cjs.ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
|
|
35156
35182
|
}
|
|
35157
35183
|
),
|
|
35158
35184
|
/* @__PURE__ */ jsxRuntime.jsxs(chunk6DHDITKK_cjs.FilesPageHeader, { className: isModal ? "static" : void 0, children: [
|
|
@@ -35181,7 +35207,7 @@ function ConnectedFilesPage({
|
|
|
35181
35207
|
/* @__PURE__ */ jsxRuntime.jsx(ProgressiveLoadingChip, {})
|
|
35182
35208
|
] }),
|
|
35183
35209
|
rightContent: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35184
|
-
|
|
35210
|
+
chunkLCAND465_cjs.DocumentsUploadButton,
|
|
35185
35211
|
{
|
|
35186
35212
|
isCompact: isNarrowFilterRow,
|
|
35187
35213
|
canUpload,
|
|
@@ -35213,7 +35239,7 @@ function ConnectedFilesPage({
|
|
|
35213
35239
|
viewMode === "grid" ? (
|
|
35214
35240
|
// ‹ n / N › over the table's displayed rows; a step opens the document.
|
|
35215
35241
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35216
|
-
|
|
35242
|
+
chunkNZMEZL5D_cjs.GridRowNavigator,
|
|
35217
35243
|
{
|
|
35218
35244
|
gridApi,
|
|
35219
35245
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -35457,7 +35483,7 @@ function ConnectedFilesPage({
|
|
|
35457
35483
|
dialog.seq
|
|
35458
35484
|
) }),
|
|
35459
35485
|
workspace && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35460
|
-
|
|
35486
|
+
chunkLCAND465_cjs.ConnectedEmailWorkspaceDialog,
|
|
35461
35487
|
{
|
|
35462
35488
|
open: emailWorkspaceOpen,
|
|
35463
35489
|
onOpenChange: setEmailWorkspaceOpen,
|
|
@@ -35465,7 +35491,7 @@ function ConnectedFilesPage({
|
|
|
35465
35491
|
isMember
|
|
35466
35492
|
}
|
|
35467
35493
|
),
|
|
35468
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35494
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLCAND465_cjs.ConnectedNewFileMenu, { open: newFileOpen, onOpenChange: setNewFileOpen }),
|
|
35469
35495
|
dialogs
|
|
35470
35496
|
] });
|
|
35471
35497
|
}
|
|
@@ -35508,7 +35534,7 @@ function ProcessingSection({
|
|
|
35508
35534
|
tasks,
|
|
35509
35535
|
onDelete
|
|
35510
35536
|
}) {
|
|
35511
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunk6DHDITKK_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35537
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6DHDITKK_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
|
|
35512
35538
|
}
|
|
35513
35539
|
function ConnectedDocumentProcessingPanel({
|
|
35514
35540
|
workspaceId,
|
|
@@ -35721,7 +35747,7 @@ function ConnectedProcessingPanel({ headerActions }) {
|
|
|
35721
35747
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35722
35748
|
chunkSJSGSHIT_cjs.TabHeader,
|
|
35723
35749
|
{
|
|
35724
|
-
leading: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35750
|
+
leading: /* @__PURE__ */ jsxRuntime.jsx(chunkLCAND465_cjs.ConnectedWorkspaceEntity, { workspace, variant: "icon", size: 20 }),
|
|
35725
35751
|
tabs: [
|
|
35726
35752
|
{
|
|
35727
35753
|
id: "processing",
|
|
@@ -36407,20 +36433,20 @@ function WatchOne({ transferId }) {
|
|
|
36407
36433
|
const { data: job } = react$1.useWorkspaceTransfer(transferId);
|
|
36408
36434
|
const { data: workspaces = [] } = react$1.useWorkspaces();
|
|
36409
36435
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
36410
|
-
const untrack =
|
|
36436
|
+
const untrack = chunkLCAND465_cjs.useExportStore((state) => state.untrackTransfer);
|
|
36411
36437
|
const invalidateAfterTransfer = react$1.useInvalidateAfterTransfer();
|
|
36412
36438
|
react.useEffect(() => {
|
|
36413
36439
|
if (!job || !react$1.isTransferFinished(job)) return;
|
|
36414
36440
|
invalidateAfterTransfer(job.mode);
|
|
36415
36441
|
const target = workspaces.find((w) => w.external_id === job.target_workspace_ext_id);
|
|
36416
|
-
const outcome =
|
|
36442
|
+
const outcome = chunkLCAND465_cjs.transferOutcome(job, target?.name ?? "the other workspace");
|
|
36417
36443
|
if (outcome) notify19(outcome.message, outcome.tone);
|
|
36418
36444
|
untrack(transferId);
|
|
36419
36445
|
}, [job?.status, job?.external_id]);
|
|
36420
36446
|
return null;
|
|
36421
36447
|
}
|
|
36422
36448
|
function ConnectedTransferWatcher() {
|
|
36423
|
-
const active =
|
|
36449
|
+
const active = chunkLCAND465_cjs.useExportStore((state) => state.activeTransfers);
|
|
36424
36450
|
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: active.map((id) => /* @__PURE__ */ jsxRuntime.jsx(WatchOne, { transferId: id }, id)) });
|
|
36425
36451
|
}
|
|
36426
36452
|
function useChatMessageToasts() {
|
|
@@ -37759,10 +37785,10 @@ var FreshChatModel = () => (useFreshChatModel(), null);
|
|
|
37759
37785
|
var WorkspaceOpenMetrics = ({ measure }) => (useWorkspaceOpenMetrics(measure), null);
|
|
37760
37786
|
var Prefetch = ({ loaders }) => (usePrefetchChunks(loaders), null);
|
|
37761
37787
|
function GuidedRuns() {
|
|
37762
|
-
|
|
37788
|
+
chunkQZ5G6TON_cjs.useRemoteControlSessionReset();
|
|
37763
37789
|
const { cursorMark } = chunkNZNBJF3M_cjs.useGuidedRuns();
|
|
37764
37790
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
37765
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37791
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNZMEZL5D_cjs.GuidedCursor, { markSrc: cursorMark }),
|
|
37766
37792
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedRemoteControlConsent, {})
|
|
37767
37793
|
] });
|
|
37768
37794
|
}
|
|
@@ -37796,7 +37822,7 @@ function ConnectedAppRuntime({
|
|
|
37796
37822
|
on("pageTransition") && /* @__PURE__ */ jsxRuntime.jsx(PageTransition, {}),
|
|
37797
37823
|
on("freshChatModel") && /* @__PURE__ */ jsxRuntime.jsx(FreshChatModel, {}),
|
|
37798
37824
|
on("workspaceOpenMetrics") && measure && /* @__PURE__ */ jsxRuntime.jsx(WorkspaceOpenMetrics, { measure }),
|
|
37799
|
-
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...
|
|
37825
|
+
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...chunkNZMEZL5D_cjs.KIT_CHUNK_LOADERS] }),
|
|
37800
37826
|
on("guidedRuns") && /* @__PURE__ */ jsxRuntime.jsx(GuidedRuns, {})
|
|
37801
37827
|
] });
|
|
37802
37828
|
}
|
|
@@ -38196,26 +38222,67 @@ function ConnectedSupportTicketsDialog({
|
|
|
38196
38222
|
}
|
|
38197
38223
|
) });
|
|
38198
38224
|
}
|
|
38199
|
-
function CaptureBar({
|
|
38225
|
+
function CaptureBar({
|
|
38226
|
+
onCapture,
|
|
38227
|
+
onSkip,
|
|
38228
|
+
onCancel,
|
|
38229
|
+
videoCapture
|
|
38230
|
+
}) {
|
|
38231
|
+
const [microphone, setMicrophone] = react.useState(false);
|
|
38232
|
+
const status = videoCapture?.status ?? "idle";
|
|
38233
|
+
const active = status !== "idle";
|
|
38200
38234
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
38201
38235
|
"div",
|
|
38202
38236
|
{
|
|
38203
38237
|
role: "dialog",
|
|
38204
|
-
"aria-label": "
|
|
38238
|
+
"aria-label": "Contact support: screenshot or video",
|
|
38205
38239
|
className: "fixed inset-x-0 bottom-4 z-[60] mx-auto flex w-fit max-w-[calc(100vw-2rem)] flex-wrap items-center gap-2 rounded-xl border border-border bg-background px-4 py-2 shadow-lg",
|
|
38206
38240
|
"data-testid": "report-capture-bar",
|
|
38207
38241
|
children: [
|
|
38208
38242
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Bug, { className: "size-4 shrink-0 text-muted-foreground", "aria-hidden": true }),
|
|
38209
|
-
/* @__PURE__ */ jsxRuntime.
|
|
38210
|
-
|
|
38211
|
-
/* @__PURE__ */ jsxRuntime.jsx("b", { children: "Capture" }),
|
|
38212
|
-
" and select the area."
|
|
38213
|
-
] }),
|
|
38214
|
-
/* @__PURE__ */ jsxRuntime.jsxs(ui.Button, { size: "sm", onClick: onCapture, "data-testid": "report-capture", children: [
|
|
38243
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm", role: "status", children: status === "recording" ? `Recording screen \xB7 ${videoCapture?.seconds}s / 120s` : status === "starting" ? "Choose a screen to record\u2026" : "Go to the problem, then take a screenshot or record a short video." }),
|
|
38244
|
+
/* @__PURE__ */ jsxRuntime.jsxs(ui.Button, { size: "sm", disabled: active, onClick: onCapture, "data-testid": "report-capture", children: [
|
|
38215
38245
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Camera, { className: "mr-1 size-4" }),
|
|
38216
|
-
"
|
|
38246
|
+
" Take screenshot"
|
|
38247
|
+
] }),
|
|
38248
|
+
videoCapture && typeof MediaRecorder !== "undefined" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
38249
|
+
status === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { size: "sm", onClick: videoCapture.stop, children: "Stop recording" }) : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
38250
|
+
ui.Button,
|
|
38251
|
+
{
|
|
38252
|
+
size: "sm",
|
|
38253
|
+
variant: "outline",
|
|
38254
|
+
disabled: active,
|
|
38255
|
+
onClick: () => void videoCapture.start(microphone),
|
|
38256
|
+
children: [
|
|
38257
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Video, { className: "mr-1 size-4" }),
|
|
38258
|
+
status === "starting" ? "Starting\u2026" : "Start recording"
|
|
38259
|
+
]
|
|
38260
|
+
}
|
|
38261
|
+
),
|
|
38262
|
+
/* @__PURE__ */ jsxRuntime.jsxs("label", { className: "flex items-center gap-1 text-sm", children: [
|
|
38263
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38264
|
+
"input",
|
|
38265
|
+
{
|
|
38266
|
+
type: "checkbox",
|
|
38267
|
+
checked: microphone,
|
|
38268
|
+
disabled: active,
|
|
38269
|
+
onChange: (event) => setMicrophone(event.target.checked)
|
|
38270
|
+
}
|
|
38271
|
+
),
|
|
38272
|
+
"Include microphone"
|
|
38273
|
+
] })
|
|
38217
38274
|
] }),
|
|
38218
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38275
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38276
|
+
ui.Button,
|
|
38277
|
+
{
|
|
38278
|
+
size: "sm",
|
|
38279
|
+
variant: "ghost",
|
|
38280
|
+
disabled: active,
|
|
38281
|
+
onClick: onSkip,
|
|
38282
|
+
"data-testid": "report-skip-screenshot",
|
|
38283
|
+
children: "Back to form"
|
|
38284
|
+
}
|
|
38285
|
+
),
|
|
38219
38286
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38220
38287
|
ui.Button,
|
|
38221
38288
|
{
|
|
@@ -38226,7 +38293,8 @@ function CaptureBar({ onCapture, onSkip, onCancel }) {
|
|
|
38226
38293
|
"data-testid": "report-cancel",
|
|
38227
38294
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-4" })
|
|
38228
38295
|
}
|
|
38229
|
-
)
|
|
38296
|
+
),
|
|
38297
|
+
videoCapture?.error && /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "w-full text-sm text-destructive", children: videoCapture.error })
|
|
38230
38298
|
]
|
|
38231
38299
|
}
|
|
38232
38300
|
);
|
|
@@ -38295,7 +38363,7 @@ async function renderAnnotatedScreenshot(image, marks, text) {
|
|
|
38295
38363
|
)
|
|
38296
38364
|
);
|
|
38297
38365
|
}
|
|
38298
|
-
return
|
|
38366
|
+
return chunkQZ5G6TON_cjs.canvasToBlob(canvas);
|
|
38299
38367
|
}
|
|
38300
38368
|
function SupportVideoEvidence({
|
|
38301
38369
|
capture,
|
|
@@ -38303,23 +38371,24 @@ function SupportVideoEvidence({
|
|
|
38303
38371
|
disabled,
|
|
38304
38372
|
onBusyChange
|
|
38305
38373
|
}) {
|
|
38306
|
-
const [microphone, setMicrophone] = react.useState(false);
|
|
38307
38374
|
const [busy, setBusy] = react.useState(false);
|
|
38308
38375
|
const [error, setError] = react.useState(null);
|
|
38309
38376
|
const blob = capture.video?.blob;
|
|
38310
38377
|
const transcript = capture.video?.transcript ?? "";
|
|
38378
|
+
const noAudio = capture.video?.hasAudio === false;
|
|
38311
38379
|
const segments = react.useMemo(() => browser.parseTimestampedTranscript(transcript), [transcript]);
|
|
38312
38380
|
const [url, setUrl] = react.useState(null);
|
|
38313
38381
|
react.useEffect(() => {
|
|
38314
38382
|
const next = blob ? URL.createObjectURL(blob) : null;
|
|
38315
38383
|
setUrl(next);
|
|
38384
|
+
setError(null);
|
|
38316
38385
|
return () => {
|
|
38317
38386
|
if (next) URL.revokeObjectURL(next);
|
|
38318
38387
|
};
|
|
38319
38388
|
}, [blob]);
|
|
38320
38389
|
const transcribeVideo = async () => {
|
|
38321
38390
|
const original = capture.video;
|
|
38322
|
-
if (!original || !transcribe) return;
|
|
38391
|
+
if (!original || !transcribe || original.hasAudio === false) return;
|
|
38323
38392
|
setBusy(true);
|
|
38324
38393
|
onBusyChange(true);
|
|
38325
38394
|
setError(null);
|
|
@@ -38337,51 +38406,24 @@ function SupportVideoEvidence({
|
|
|
38337
38406
|
}
|
|
38338
38407
|
};
|
|
38339
38408
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-2 text-sm", "data-testid": "report-video-evidence", children: [
|
|
38340
|
-
/* @__PURE__ */ jsxRuntime.
|
|
38341
|
-
|
|
38342
|
-
|
|
38343
|
-
|
|
38344
|
-
|
|
38345
|
-
|
|
38346
|
-
|
|
38347
|
-
|
|
38348
|
-
|
|
38349
|
-
|
|
38350
|
-
|
|
38351
|
-
|
|
38352
|
-
|
|
38353
|
-
|
|
38354
|
-
event.target.value = "";
|
|
38355
|
-
}
|
|
38356
|
-
}
|
|
38357
|
-
)
|
|
38358
|
-
] }),
|
|
38359
|
-
chunkYTDVWIHU_cjs.canCaptureScreen() && typeof MediaRecorder !== "undefined" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
38360
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38361
|
-
ui.Button,
|
|
38362
|
-
{
|
|
38363
|
-
size: "sm",
|
|
38364
|
-
variant: "outline",
|
|
38365
|
-
disabled: disabled || busy || capture.status !== "idle",
|
|
38366
|
-
onClick: () => void capture.start(microphone),
|
|
38367
|
-
children: "Record screen"
|
|
38409
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center gap-2", children: /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "cursor-pointer font-medium text-primary", children: [
|
|
38410
|
+
"Attach video",
|
|
38411
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38412
|
+
"input",
|
|
38413
|
+
{
|
|
38414
|
+
type: "file",
|
|
38415
|
+
accept: "video/webm,video/mp4",
|
|
38416
|
+
className: "sr-only",
|
|
38417
|
+
disabled: disabled || busy,
|
|
38418
|
+
"data-testid": "report-choose-video",
|
|
38419
|
+
onChange: (event) => {
|
|
38420
|
+
const file = event.target.files?.[0];
|
|
38421
|
+
if (file) capture.choose(file);
|
|
38422
|
+
event.target.value = "";
|
|
38368
38423
|
}
|
|
38369
|
-
|
|
38370
|
-
|
|
38371
|
-
|
|
38372
|
-
"input",
|
|
38373
|
-
{
|
|
38374
|
-
type: "checkbox",
|
|
38375
|
-
checked: microphone,
|
|
38376
|
-
disabled: disabled || capture.status !== "idle",
|
|
38377
|
-
onChange: (event) => setMicrophone(event.target.checked)
|
|
38378
|
-
}
|
|
38379
|
-
),
|
|
38380
|
-
" ",
|
|
38381
|
-
"Include microphone"
|
|
38382
|
-
] })
|
|
38383
|
-
] })
|
|
38384
|
-
] }),
|
|
38424
|
+
}
|
|
38425
|
+
)
|
|
38426
|
+
] }) }),
|
|
38385
38427
|
!url && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: "One problem per clip. Screen recordings stop after 2 minutes. Attach WebM or MP4 up to 200 MB." }),
|
|
38386
38428
|
url && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
38387
38429
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -38393,7 +38435,7 @@ function SupportVideoEvidence({
|
|
|
38393
38435
|
segments
|
|
38394
38436
|
}
|
|
38395
38437
|
),
|
|
38396
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: "Review the clip before sending. Transcribing sends the recording to ARBI for processing." }),
|
|
38438
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: noAudio ? "This recording has no microphone audio. Turn on Include microphone when recording to add a transcript." : "Review the clip before sending. Transcribing sends the recording to ARBI for processing." }),
|
|
38397
38439
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2", children: [
|
|
38398
38440
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38399
38441
|
ui.Button,
|
|
@@ -38405,7 +38447,7 @@ function SupportVideoEvidence({
|
|
|
38405
38447
|
children: "Remove video"
|
|
38406
38448
|
}
|
|
38407
38449
|
),
|
|
38408
|
-
transcribe && /* @__PURE__ */ jsxRuntime.jsx(
|
|
38450
|
+
transcribe && !noAudio && /* @__PURE__ */ jsxRuntime.jsx(
|
|
38409
38451
|
ui.Button,
|
|
38410
38452
|
{
|
|
38411
38453
|
size: "sm",
|
|
@@ -38742,10 +38784,11 @@ function ReportProblemDialog({
|
|
|
38742
38784
|
className: "flex flex-wrap items-center gap-3 rounded-md border border-dashed border-border p-3 text-sm",
|
|
38743
38785
|
hidden: ticketId !== null,
|
|
38744
38786
|
children: [
|
|
38745
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "
|
|
38746
|
-
|
|
38787
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "Add a screenshot or video (optional)." }),
|
|
38788
|
+
chunkQZ5G6TON_cjs.canCaptureScreen() ? /* @__PURE__ */ jsxRuntime.jsxs(ui.Button, { size: "sm", variant: "outline", onClick: onRetake, "data-testid": "report-retake", children: [
|
|
38747
38789
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Camera, { className: "mr-1 size-4" }),
|
|
38748
|
-
"
|
|
38790
|
+
" Create screenshot",
|
|
38791
|
+
videoCapture ? " or recording" : ""
|
|
38749
38792
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "inline-flex cursor-pointer items-center gap-1 font-medium text-primary", children: [
|
|
38750
38793
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ImageUp, { className: "size-4" }),
|
|
38751
38794
|
" Choose a screenshot",
|
|
@@ -38860,7 +38903,7 @@ function useSupportVideo() {
|
|
|
38860
38903
|
};
|
|
38861
38904
|
stopRef.current = release;
|
|
38862
38905
|
try {
|
|
38863
|
-
const screen = await
|
|
38906
|
+
const screen = await chunkQZ5G6TON_cjs.requestScreenCapture();
|
|
38864
38907
|
streams.push(screen);
|
|
38865
38908
|
if (!active()) {
|
|
38866
38909
|
release();
|
|
@@ -38927,6 +38970,7 @@ function useSupportVideo() {
|
|
|
38927
38970
|
const blob = new Blob(chunks, { type: recorder.mimeType.split(";")[0] });
|
|
38928
38971
|
setVideo({
|
|
38929
38972
|
blob,
|
|
38973
|
+
hasAudio: Boolean(mic),
|
|
38930
38974
|
transcript: "",
|
|
38931
38975
|
...audioChunks.length ? { audio: new Blob(audioChunks, { type: audio.mimeType }) } : {}
|
|
38932
38976
|
});
|
|
@@ -38971,14 +39015,21 @@ function useReportProblem(options = {}) {
|
|
|
38971
39015
|
const [image, setImage] = react.useState(null);
|
|
38972
39016
|
const video = useSupportVideo();
|
|
38973
39017
|
const { cancel: cancelVideo } = video;
|
|
39018
|
+
const previousVideoStatus = react.useRef(video.status);
|
|
39019
|
+
react.useEffect(() => {
|
|
39020
|
+
if (previousVideoStatus.current === "recording" && video.status === "idle") {
|
|
39021
|
+
setPhase((current) => current === "framing" ? "describing" : current);
|
|
39022
|
+
}
|
|
39023
|
+
previousVideoStatus.current = video.status;
|
|
39024
|
+
}, [video.status]);
|
|
38974
39025
|
const capture = react.useCallback(async () => {
|
|
38975
39026
|
setPhase("capturing");
|
|
38976
39027
|
await new Promise((resolve) => window.setTimeout(resolve, 200));
|
|
38977
39028
|
try {
|
|
38978
|
-
setFrame(await
|
|
39029
|
+
setFrame(await chunkQZ5G6TON_cjs.captureCurrentTab());
|
|
38979
39030
|
setImage(null);
|
|
38980
39031
|
} catch (error) {
|
|
38981
|
-
const code = error instanceof
|
|
39032
|
+
const code = error instanceof chunkQZ5G6TON_cjs.ScreenCaptureError ? error.code : "failed";
|
|
38982
39033
|
if (code === "failed") {
|
|
38983
39034
|
notify19("Couldn't capture the screen. You can still describe the problem.", "error");
|
|
38984
39035
|
}
|
|
@@ -38992,25 +39043,11 @@ function useReportProblem(options = {}) {
|
|
|
38992
39043
|
setFrame(null);
|
|
38993
39044
|
setImage(null);
|
|
38994
39045
|
}, [cancelVideo]);
|
|
38995
|
-
const ui
|
|
38996
|
-
video.status === "recording" && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
38997
|
-
"div",
|
|
38998
|
-
{
|
|
38999
|
-
role: "status",
|
|
39000
|
-
className: "fixed inset-x-0 top-2 z-[100] mx-auto flex w-fit items-center gap-3 rounded-md border bg-background px-4 py-2 shadow-lg",
|
|
39001
|
-
children: [
|
|
39002
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
39003
|
-
"Recording screen \xB7 ",
|
|
39004
|
-
video.seconds,
|
|
39005
|
-
"s / 120s"
|
|
39006
|
-
] }),
|
|
39007
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.Button, { onClick: video.stop, children: "Stop recording" })
|
|
39008
|
-
]
|
|
39009
|
-
}
|
|
39010
|
-
),
|
|
39046
|
+
const ui = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
39011
39047
|
phase === "framing" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
39012
39048
|
CaptureBar,
|
|
39013
39049
|
{
|
|
39050
|
+
videoCapture: video,
|
|
39014
39051
|
onCapture: () => void capture(),
|
|
39015
39052
|
onSkip: () => setPhase("describing"),
|
|
39016
39053
|
onCancel: reset
|
|
@@ -39020,7 +39057,7 @@ function useReportProblem(options = {}) {
|
|
|
39020
39057
|
ReportProblemDialog,
|
|
39021
39058
|
{
|
|
39022
39059
|
...options,
|
|
39023
|
-
open: phase === "describing"
|
|
39060
|
+
open: phase === "describing",
|
|
39024
39061
|
videoCapture: video,
|
|
39025
39062
|
frame,
|
|
39026
39063
|
image,
|
|
@@ -39032,17 +39069,13 @@ function useReportProblem(options = {}) {
|
|
|
39032
39069
|
setFrame(null);
|
|
39033
39070
|
setImage(next);
|
|
39034
39071
|
},
|
|
39035
|
-
onRetake: () =>
|
|
39036
|
-
setFrame(null);
|
|
39037
|
-
setImage(null);
|
|
39038
|
-
setPhase("framing");
|
|
39039
|
-
},
|
|
39072
|
+
onRetake: () => setPhase("framing"),
|
|
39040
39073
|
onClose: reset
|
|
39041
39074
|
},
|
|
39042
39075
|
reportKey
|
|
39043
39076
|
)
|
|
39044
39077
|
] });
|
|
39045
|
-
return { start: () => setPhase("describing"), hide: () => setPhase("idle"), ui
|
|
39078
|
+
return { start: () => setPhase("describing"), hide: () => setPhase("idle"), ui };
|
|
39046
39079
|
}
|
|
39047
39080
|
|
|
39048
39081
|
// src/connection/report-problem/support-browser-context.ts
|
|
@@ -39957,7 +39990,7 @@ function resolveLaunchInputs(workflow, request) {
|
|
|
39957
39990
|
function useWorkflowLaunch() {
|
|
39958
39991
|
const { skills } = chunkER2MRSLT_cjs.useWorkflowDefinitions();
|
|
39959
39992
|
const launch = react.useCallback(
|
|
39960
|
-
(workflowId, options = {}) =>
|
|
39993
|
+
(workflowId, options = {}) => chunk74XF67TU_cjs.openWorkflowLaunch({ workflowId, ...options }),
|
|
39961
39994
|
[]
|
|
39962
39995
|
);
|
|
39963
39996
|
const itemsFor = react.useCallback(
|
|
@@ -39986,8 +40019,8 @@ function useWorkflowLaunch() {
|
|
|
39986
40019
|
return { launch, itemsFor, scopeItemsFor };
|
|
39987
40020
|
}
|
|
39988
40021
|
function Inner() {
|
|
39989
|
-
const request =
|
|
39990
|
-
const close =
|
|
40022
|
+
const request = chunk74XF67TU_cjs.useWorkflowLaunchRequest();
|
|
40023
|
+
const close = chunk74XF67TU_cjs.closeWorkflowLaunch;
|
|
39991
40024
|
const { skills } = chunkER2MRSLT_cjs.useWorkflowDefinitions();
|
|
39992
40025
|
const run = chunkOHWYQI3B_cjs.useLaunchWorkflow({ landing: request?.landing });
|
|
39993
40026
|
const workflow = skills.find((w) => w.id === request?.workflowId);
|
|
@@ -40025,7 +40058,7 @@ function Inner() {
|
|
|
40025
40058
|
);
|
|
40026
40059
|
}
|
|
40027
40060
|
function WorkflowLaunchHost() {
|
|
40028
|
-
return
|
|
40061
|
+
return chunk74XF67TU_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
|
|
40029
40062
|
}
|
|
40030
40063
|
function isNeedsConfirmationDetail(detail) {
|
|
40031
40064
|
return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
|
|
@@ -40330,7 +40363,7 @@ function ConnectedConversationSettings() {
|
|
|
40330
40363
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
40331
40364
|
chunkJEHGTPS2_cjs.ModelSelectionSection,
|
|
40332
40365
|
{
|
|
40333
|
-
selector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
40366
|
+
selector: /* @__PURE__ */ jsxRuntime.jsx(chunkQZ5G6TON_cjs.ConnectedModelSelector, {}),
|
|
40334
40367
|
onUseDefaults: settings.resetToDefaults
|
|
40335
40368
|
}
|
|
40336
40369
|
)
|
|
@@ -40436,7 +40469,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
|
|
|
40436
40469
|
testId: "workspace-transfer-modal"
|
|
40437
40470
|
}
|
|
40438
40471
|
),
|
|
40439
|
-
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
40472
|
+
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkQZ5G6TON_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
|
|
40440
40473
|
conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
|
|
40441
40474
|
unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose }),
|
|
40442
40475
|
productionSet: ConnectedProductionSetDialog,
|
|
@@ -40491,7 +40524,7 @@ var ConversationEntity = react.memo(function ConversationEntity2({
|
|
|
40491
40524
|
);
|
|
40492
40525
|
const icon2 = /* @__PURE__ */ jsxRuntime.jsx(ui.ThreadVisibilityIcon, { shared: isShared, className: "w-4 h-4 shrink-0" });
|
|
40493
40526
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40494
|
-
|
|
40527
|
+
chunk2K5DLB7B_cjs.EntityChip,
|
|
40495
40528
|
{
|
|
40496
40529
|
icon: icon2,
|
|
40497
40530
|
label: title,
|
|
@@ -40515,7 +40548,7 @@ function WorkflowRunStatusCell({ conversation }) {
|
|
|
40515
40548
|
});
|
|
40516
40549
|
const { data: members = [] } = react$1.useWorkspaceUsers();
|
|
40517
40550
|
const me = react$1.useArbiSession().user?.external_id;
|
|
40518
|
-
const steps =
|
|
40551
|
+
const steps = chunk2K5DLB7B_cjs.fromPlanSteps(conversation.plan?.steps ?? []);
|
|
40519
40552
|
const states = chunkY3GJBLAI_cjs.stepStatesFromActivity(activity.data ?? []);
|
|
40520
40553
|
const nameOf = (id) => {
|
|
40521
40554
|
if (id === me) return "you";
|
|
@@ -40523,7 +40556,7 @@ function WorkflowRunStatusCell({ conversation }) {
|
|
|
40523
40556
|
return person ? ui.getUserDisplayName(person) : void 0;
|
|
40524
40557
|
};
|
|
40525
40558
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40526
|
-
|
|
40559
|
+
chunk74XF67TU_cjs.WorkflowRunStatus,
|
|
40527
40560
|
{
|
|
40528
40561
|
steps,
|
|
40529
40562
|
states,
|
|
@@ -40557,7 +40590,7 @@ function ConversationStatusCell({ conversation }) {
|
|
|
40557
40590
|
if (conversation.plan?.steps?.length && !isLiveGenerating)
|
|
40558
40591
|
return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
|
|
40559
40592
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40560
|
-
|
|
40593
|
+
chunk74XF67TU_cjs.ThreadStatusLine,
|
|
40561
40594
|
{
|
|
40562
40595
|
state: threadStateOf(conversation, isLiveGenerating),
|
|
40563
40596
|
className: "h-full",
|
|
@@ -40873,10 +40906,10 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
40873
40906
|
if (!slashWorkflows.openForDraft(draft)) openNewConversation({ prompt: draft });
|
|
40874
40907
|
setDraft("");
|
|
40875
40908
|
};
|
|
40876
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
40909
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkKBRDUFXG_cjs.ComposerDock, { children: [
|
|
40877
40910
|
slashWorkflows.launcher,
|
|
40878
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
40879
|
-
|
|
40911
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkKBRDUFXG_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
40912
|
+
chunkQZ5G6TON_cjs.ConversationComposer,
|
|
40880
40913
|
{
|
|
40881
40914
|
value: draft,
|
|
40882
40915
|
onValueChange: setDraft,
|
|
@@ -40885,8 +40918,8 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
40885
40918
|
isConversationEmpty: true,
|
|
40886
40919
|
shouldOfferFollowUp: false,
|
|
40887
40920
|
skills,
|
|
40888
|
-
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
40889
|
-
rightButton: /* @__PURE__ */ jsxRuntime.jsx(
|
|
40921
|
+
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkQZ5G6TON_cjs.ConnectedModelSelector, { variant: "compact" }),
|
|
40922
|
+
rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunkKBRDUFXG_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
|
|
40890
40923
|
}
|
|
40891
40924
|
) })
|
|
40892
40925
|
] });
|
|
@@ -40975,7 +41008,7 @@ function AgentControlBar({
|
|
|
40975
41008
|
const isPaused = controlState === "paused" || controlState === "resuming";
|
|
40976
41009
|
const steps = agentSteps ?? [];
|
|
40977
41010
|
const currentStep = browser.getCurrentStep(steps);
|
|
40978
|
-
const currentPresentation =
|
|
41011
|
+
const currentPresentation = chunk2K5DLB7B_cjs.getCurrentAgentStepPresentation(steps);
|
|
40979
41012
|
const CurrentStepIcon = currentPresentation?.Icon;
|
|
40980
41013
|
const stepLabel2 = currentPresentation?.description ?? "Agent working\u2026";
|
|
40981
41014
|
const runningLanes = browser.extractSubagentLanes(steps).filter((l) => l.status === "running");
|
|
@@ -40983,7 +41016,7 @@ function AgentControlBar({
|
|
|
40983
41016
|
const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
|
|
40984
41017
|
const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
|
|
40985
41018
|
const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
40986
|
-
|
|
41019
|
+
chunkQZ5G6TON_cjs.MessageLiveSeconds,
|
|
40987
41020
|
{
|
|
40988
41021
|
...liveTimer,
|
|
40989
41022
|
offsetSeconds: currentStep?.t ?? 0,
|
|
@@ -40992,11 +41025,10 @@ function AgentControlBar({
|
|
|
40992
41025
|
}
|
|
40993
41026
|
);
|
|
40994
41027
|
const status = /* @__PURE__ */ jsxRuntime.jsx(
|
|
40995
|
-
|
|
41028
|
+
chunk74XF67TU_cjs.AgentBarStatus,
|
|
40996
41029
|
{
|
|
40997
41030
|
state: showState ? controlState : void 0,
|
|
40998
41031
|
stateLabel: STATE_LABEL[controlState],
|
|
40999
|
-
isProbing: probePending,
|
|
41000
41032
|
waitingLabel: waitingOnChildren ? waitingLabel : void 0,
|
|
41001
41033
|
stepLabel: stepLabel2,
|
|
41002
41034
|
stepIcon: CurrentStepIcon && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -41034,7 +41066,7 @@ function AgentControlBar({
|
|
|
41034
41066
|
];
|
|
41035
41067
|
const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
41036
41068
|
onStop && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41037
|
-
|
|
41069
|
+
chunk74XF67TU_cjs.AgentBarIconButton,
|
|
41038
41070
|
{
|
|
41039
41071
|
onClick: onStop,
|
|
41040
41072
|
title: "Stop",
|
|
@@ -41043,22 +41075,23 @@ function AgentControlBar({
|
|
|
41043
41075
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
|
|
41044
41076
|
}
|
|
41045
41077
|
),
|
|
41046
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41078
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.AgentBarMenu, { items: menuItems })
|
|
41047
41079
|
] });
|
|
41048
41080
|
const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
|
|
41049
41081
|
(message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
|
|
41050
41082
|
);
|
|
41051
41083
|
const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
|
|
41052
|
-
const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
41084
|
+
const below = probePending || probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunk74XF67TU_cjs.AgentBarNotes, { children: [
|
|
41085
|
+
probePending && /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.AgentBarStatus, { isProbing: true }),
|
|
41053
41086
|
queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
41054
|
-
|
|
41087
|
+
chunk74XF67TU_cjs.AgentBarQueuedNote,
|
|
41055
41088
|
{
|
|
41056
41089
|
text: message.content ?? "",
|
|
41057
41090
|
isAcknowledged: message.acknowledged
|
|
41058
41091
|
},
|
|
41059
41092
|
index
|
|
41060
41093
|
)),
|
|
41061
|
-
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41094
|
+
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
|
|
41062
41095
|
] }) : null;
|
|
41063
41096
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41064
41097
|
AgentBarShell,
|
|
@@ -41085,7 +41118,7 @@ var ConversationSendButton = react.memo(function ConversationSendButton2({
|
|
|
41085
41118
|
const recipients = react$1.assistantLabels(assistantName);
|
|
41086
41119
|
const showRetryIcon = hasOrphanedMessage && draftMessage === "";
|
|
41087
41120
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41088
|
-
|
|
41121
|
+
chunkKBRDUFXG_cjs.ComposerSend,
|
|
41089
41122
|
{
|
|
41090
41123
|
onSend: onClick,
|
|
41091
41124
|
isRetry: showRetryIcon,
|
|
@@ -41147,7 +41180,7 @@ var MicButton = react.memo(function MicButton2({
|
|
|
41147
41180
|
const isBusy = isTranscribing;
|
|
41148
41181
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
41149
41182
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41150
|
-
|
|
41183
|
+
chunkKBRDUFXG_cjs.ComposerVoiceButton,
|
|
41151
41184
|
{
|
|
41152
41185
|
isRecording,
|
|
41153
41186
|
isBusy,
|
|
@@ -41186,7 +41219,7 @@ function ConnectedConversationEmpty({
|
|
|
41186
41219
|
below
|
|
41187
41220
|
}) {
|
|
41188
41221
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41189
|
-
|
|
41222
|
+
chunkIJ4JKHEC_cjs.ConversationEmpty,
|
|
41190
41223
|
{
|
|
41191
41224
|
hasDocuments,
|
|
41192
41225
|
prompts: EXAMPLE_PROMPTS,
|
|
@@ -41241,7 +41274,7 @@ function ConversationAlert({
|
|
|
41241
41274
|
}, [message, onRetryOrphaned, notify19]);
|
|
41242
41275
|
if (type === "send-failed") {
|
|
41243
41276
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41244
|
-
|
|
41277
|
+
chunkIJ4JKHEC_cjs.MessageAlert,
|
|
41245
41278
|
{
|
|
41246
41279
|
title: "Message failed to send",
|
|
41247
41280
|
description: errorMessage2 || "An error occurred while sending your message.",
|
|
@@ -41270,7 +41303,7 @@ function ConversationAlert({
|
|
|
41270
41303
|
);
|
|
41271
41304
|
}
|
|
41272
41305
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41273
|
-
|
|
41306
|
+
chunkIJ4JKHEC_cjs.MessageAlert,
|
|
41274
41307
|
{
|
|
41275
41308
|
title: type === "backend-failed" ? "Response Failed" : "Response Incomplete",
|
|
41276
41309
|
description: type === "backend-failed" ? "The assistant's response failed. Use Retry to try again." : "Use Retry to try again, or type a new query.",
|
|
@@ -41916,14 +41949,14 @@ function ConversationThread({
|
|
|
41916
41949
|
const isGuest = react$1.useWorkspaceRole() === "guest";
|
|
41917
41950
|
const meetingReadOnly = isGuest && !!currentTask?.meeting_call_ext_id;
|
|
41918
41951
|
const meetingCallExtId = currentTask?.meeting_call_ext_id ?? null;
|
|
41919
|
-
const threadMessages =
|
|
41952
|
+
const threadMessages = chunkOEF4MYOJ_cjs.useMeetingThreadMessages(meetingCallExtId, messageHistory);
|
|
41920
41953
|
const [firstTurnPrompt, setFirstTurnPrompt] = react.useState(null);
|
|
41921
41954
|
const currentUserExtId = react$1.useArbiSession().user?.external_id ?? "";
|
|
41922
41955
|
const pendingFirstTurn = react.useMemo(
|
|
41923
41956
|
() => firstTurnPrompt ? react$1.buildPendingFirstTurn(firstTurnPrompt, currentUserExtId) : null,
|
|
41924
41957
|
[firstTurnPrompt, currentUserExtId]
|
|
41925
41958
|
);
|
|
41926
|
-
const uploadUrls =
|
|
41959
|
+
const uploadUrls = chunkLCAND465_cjs.useAddFromUrls({
|
|
41927
41960
|
onZipFiles: (files2) => openUpload?.(files2, { source: "computer" })
|
|
41928
41961
|
});
|
|
41929
41962
|
const {
|
|
@@ -41979,7 +42012,7 @@ function ConversationThread({
|
|
|
41979
42012
|
}),
|
|
41980
42013
|
[threadMessages]
|
|
41981
42014
|
);
|
|
41982
|
-
const provisionalSpeakers =
|
|
42015
|
+
const provisionalSpeakers = chunkOEF4MYOJ_cjs.useProvisionalSpeakers(meetingCallExtId, threadLines);
|
|
41983
42016
|
const showProvisional = !!meetingCallExtId && meetingView !== "chat";
|
|
41984
42017
|
const latestContextUsage = react.useMemo(() => {
|
|
41985
42018
|
const messages = messageHistory;
|
|
@@ -42173,7 +42206,7 @@ function ConversationThread({
|
|
|
42173
42206
|
useStartRequestedDraft();
|
|
42174
42207
|
const orphanedMessage = react$1.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
|
|
42175
42208
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkKLMNCBLY_cjs.ConversationBody, { children: [
|
|
42176
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
42209
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkQZ5G6TON_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkTNBNDY2J_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
|
|
42177
42210
|
meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
42178
42211
|
chunkZBP4ZSAJ_cjs.ConversationFilter,
|
|
42179
42212
|
{
|
|
@@ -42191,15 +42224,15 @@ function ConversationThread({
|
|
|
42191
42224
|
]
|
|
42192
42225
|
}
|
|
42193
42226
|
) }),
|
|
42194
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42195
|
-
showProvisional && /* @__PURE__ */ jsxRuntime.jsx(
|
|
42227
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQZ5G6TON_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
|
|
42228
|
+
showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunkOEF4MYOJ_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
42196
42229
|
] }) }) : meetingCallExtId ? (
|
|
42197
42230
|
// A meeting thread with nothing yet: call-aware, not the upload prompt.
|
|
42198
42231
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
42199
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42200
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42232
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOEF4MYOJ_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
|
|
42233
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOEF4MYOJ_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
42201
42234
|
] })
|
|
42202
|
-
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
42235
|
+
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkQZ5G6TON_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
42203
42236
|
ConnectedConversationEmpty,
|
|
42204
42237
|
{
|
|
42205
42238
|
hasDocuments: allWorkspaceDocuments.length > 0,
|
|
@@ -42214,17 +42247,17 @@ function ConversationThread({
|
|
|
42214
42247
|
}
|
|
42215
42248
|
) }),
|
|
42216
42249
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42217
|
-
|
|
42250
|
+
chunkKBRDUFXG_cjs.ComposerDock,
|
|
42218
42251
|
{
|
|
42219
42252
|
floating: /* @__PURE__ */ jsxRuntime.jsx(
|
|
42220
|
-
|
|
42253
|
+
chunkKBRDUFXG_cjs.ScrollToBottom,
|
|
42221
42254
|
{
|
|
42222
42255
|
className: "left-auto right-3 translate-x-0",
|
|
42223
42256
|
show: showScrollToBottom,
|
|
42224
42257
|
onClick: scrollToBottom
|
|
42225
42258
|
}
|
|
42226
42259
|
),
|
|
42227
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
42260
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(chunkKBRDUFXG_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: [
|
|
42228
42261
|
orphanedMessage ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
42229
42262
|
ConversationAlert,
|
|
42230
42263
|
{
|
|
@@ -42297,7 +42330,7 @@ function ConversationThread({
|
|
|
42297
42330
|
}
|
|
42298
42331
|
),
|
|
42299
42332
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42300
|
-
|
|
42333
|
+
chunkQZ5G6TON_cjs.ConversationComposer,
|
|
42301
42334
|
{
|
|
42302
42335
|
handleSendMessage: handleUserSend,
|
|
42303
42336
|
placeholder: pendingAnswer ? assistant.answerPlaceholder : void 0,
|
|
@@ -42639,7 +42672,7 @@ function ConnectedThreadsPage({
|
|
|
42639
42672
|
};
|
|
42640
42673
|
const page = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "threads-page", children: [
|
|
42641
42674
|
/* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
42642
|
-
|
|
42675
|
+
chunk74XF67TU_cjs.ConversationListView,
|
|
42643
42676
|
{
|
|
42644
42677
|
showHeader,
|
|
42645
42678
|
conversations: tasks,
|
|
@@ -42658,7 +42691,7 @@ function ConnectedThreadsPage({
|
|
|
42658
42691
|
renderLabels: threadLabels.renderLabels,
|
|
42659
42692
|
labelText: threadLabels.labelText,
|
|
42660
42693
|
renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
42661
|
-
|
|
42694
|
+
chunk74XF67TU_cjs.ConversationTurnSpeaker,
|
|
42662
42695
|
{
|
|
42663
42696
|
variant: "icon",
|
|
42664
42697
|
role: row2.last_message_role,
|
|
@@ -43314,7 +43347,7 @@ function ConnectedChatContextButton({
|
|
|
43314
43347
|
};
|
|
43315
43348
|
const documentNoun = ui.getEntityLabel("DOCUMENT", count2 === 1 ? "SINGULAR" : "PLURAL").toLowerCase();
|
|
43316
43349
|
const chip = /* @__PURE__ */ jsxRuntime.jsx(
|
|
43317
|
-
|
|
43350
|
+
chunkIJ4JKHEC_cjs.ContextChip,
|
|
43318
43351
|
{
|
|
43319
43352
|
count: count2,
|
|
43320
43353
|
label: `${count2} ${documentNoun} in this chat`,
|
|
@@ -43459,7 +43492,7 @@ function ConnectedConversationPage({
|
|
|
43459
43492
|
const isGuest = workspaceRole === "guest";
|
|
43460
43493
|
const canUpload = workspaceRole !== null && !isGuest;
|
|
43461
43494
|
const [urlDialogOpen, setUrlDialogOpen] = react.useState(false);
|
|
43462
|
-
const uploadUrls =
|
|
43495
|
+
const uploadUrls = chunkLCAND465_cjs.useAddFromUrls({
|
|
43463
43496
|
onZipFiles: (files2) => chunkK67VMSOX_cjs.openDialog("upload", { tab: "upload", files: files2, source: "computer" })
|
|
43464
43497
|
});
|
|
43465
43498
|
const uploadDisabledReason = isGuest ? "Viewers cannot upload documents in this workspace" : "You cannot upload to this workspace";
|
|
@@ -43539,7 +43572,7 @@ function ConnectedConversationPage({
|
|
|
43539
43572
|
);
|
|
43540
43573
|
const { data: workspaceTags = [] } = react$1.useTags();
|
|
43541
43574
|
const { tagId: threadTagId, clear: clearThreadTag } = useThreadTagFilter();
|
|
43542
|
-
const historyCount =
|
|
43575
|
+
const historyCount = chunk74XF67TU_cjs.filterConversationRows(
|
|
43543
43576
|
threadTagId ? conversations.filter((row2) => row2.label_ext_ids?.includes(threadTagId)) : conversations,
|
|
43544
43577
|
threadFilter,
|
|
43545
43578
|
(row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
|
|
@@ -43582,7 +43615,7 @@ function ConnectedConversationPage({
|
|
|
43582
43615
|
}
|
|
43583
43616
|
}
|
|
43584
43617
|
),
|
|
43585
|
-
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43618
|
+
isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkOEF4MYOJ_cjs.ConnectedConversationCallActions, {}),
|
|
43586
43619
|
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43587
43620
|
chunkKLMNCBLY_cjs.NewChatButton,
|
|
43588
43621
|
{
|
|
@@ -43621,7 +43654,7 @@ function ConnectedConversationPage({
|
|
|
43621
43654
|
] })
|
|
43622
43655
|
}
|
|
43623
43656
|
),
|
|
43624
|
-
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43657
|
+
isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkKGKB7YKH_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
|
|
43625
43658
|
] }),
|
|
43626
43659
|
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43627
43660
|
ConversationThread,
|
|
@@ -43657,7 +43690,7 @@ function ConnectedConversationPage({
|
|
|
43657
43690
|
onOpenChange: setUrlDialogOpen,
|
|
43658
43691
|
onUrlsSubmit: uploadUrls,
|
|
43659
43692
|
titleWorkspaceName: workspace?.name,
|
|
43660
|
-
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43693
|
+
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(chunkLCAND465_cjs.ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
|
|
43661
43694
|
}
|
|
43662
43695
|
)
|
|
43663
43696
|
] });
|
|
@@ -43830,7 +43863,7 @@ function SsoResendVerificationButton({
|
|
|
43830
43863
|
onClick: async () => handleResendEmailVerification(),
|
|
43831
43864
|
disabled: loading || disabled,
|
|
43832
43865
|
"aria-label": "Resend verification email",
|
|
43833
|
-
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
43866
|
+
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkNZMEZL5D_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
43834
43867
|
"Didn't get a verification email? ",
|
|
43835
43868
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
|
|
43836
43869
|
] })
|
|
@@ -43841,9 +43874,9 @@ function SsoResendVerificationButton({
|
|
|
43841
43874
|
}
|
|
43842
43875
|
var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
|
|
43843
43876
|
function ConnectedSsoCallback() {
|
|
43844
|
-
const sso =
|
|
43877
|
+
const sso = chunkQZ5G6TON_cjs.useSsoSignIn();
|
|
43845
43878
|
const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
|
|
43846
|
-
const auth =
|
|
43879
|
+
const auth = chunkQZ5G6TON_cjs.useAuthPages();
|
|
43847
43880
|
const { notify: notify19, navigate } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
43848
43881
|
const passwordRules = auth.passwordRules;
|
|
43849
43882
|
const isProcessing = react.useRef(false);
|
|
@@ -43851,7 +43884,7 @@ function ConnectedSsoCallback() {
|
|
|
43851
43884
|
const [statusAttempt, setStatusAttempt] = react.useState(0);
|
|
43852
43885
|
const [accessToken, setAccessToken] = react.useState(null);
|
|
43853
43886
|
const [ssoStatus, setSsoStatus] = react.useState(null);
|
|
43854
|
-
const ssoName = react.useMemo(() =>
|
|
43887
|
+
const ssoName = react.useMemo(() => chunkQZ5G6TON_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
|
|
43855
43888
|
const [password, setPassword] = react.useState("");
|
|
43856
43889
|
const [confirmPassword, setConfirmPassword] = react.useState("");
|
|
43857
43890
|
const [error, setError] = react.useState(null);
|
|
@@ -44029,7 +44062,7 @@ function ConnectedSsoCallback() {
|
|
|
44029
44062
|
setIsCheckingStatus(true);
|
|
44030
44063
|
try {
|
|
44031
44064
|
console.info("[SSO] Checking user status...");
|
|
44032
|
-
const response = await
|
|
44065
|
+
const response = await chunkQZ5G6TON_cjs.ssoAccountStatus(arbi, accessToken, user);
|
|
44033
44066
|
console.info("[SSO] User status:", response.status);
|
|
44034
44067
|
setSsoStatus(response);
|
|
44035
44068
|
} catch (error2) {
|
|
@@ -44070,7 +44103,7 @@ function ConnectedSsoCallback() {
|
|
|
44070
44103
|
setIsSubmitting(true);
|
|
44071
44104
|
setError(null);
|
|
44072
44105
|
try {
|
|
44073
|
-
const { login, registered, linked } = await
|
|
44106
|
+
const { login, registered, linked } = await chunkQZ5G6TON_cjs.completeSsoSignIn(arbi, {
|
|
44074
44107
|
token: accessToken,
|
|
44075
44108
|
user,
|
|
44076
44109
|
status: ssoStatus,
|
|
@@ -44370,7 +44403,7 @@ function ConnectedSsoCallback() {
|
|
|
44370
44403
|
ssoStatus.status !== "new_user" && auth.footer
|
|
44371
44404
|
] }),
|
|
44372
44405
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44373
|
-
|
|
44406
|
+
chunkQZ5G6TON_cjs.ConnectedForgotPassword,
|
|
44374
44407
|
{
|
|
44375
44408
|
open: showForgotPasswordModal,
|
|
44376
44409
|
onOpenChange: setShowForgotPasswordModal,
|
|
@@ -44378,7 +44411,7 @@ function ConnectedSsoCallback() {
|
|
|
44378
44411
|
}
|
|
44379
44412
|
),
|
|
44380
44413
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44381
|
-
|
|
44414
|
+
chunkQZ5G6TON_cjs.ConnectedPasswordChangeDialog,
|
|
44382
44415
|
{
|
|
44383
44416
|
open: showChangePasswordModal,
|
|
44384
44417
|
onClose: () => setShowChangePasswordModal(false),
|
|
@@ -44537,27 +44570,27 @@ function ConnectedOAuthConsentPage({
|
|
|
44537
44570
|
oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
|
|
44538
44571
|
}
|
|
44539
44572
|
if (error && !params) {
|
|
44540
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44573
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
|
|
44541
44574
|
}
|
|
44542
44575
|
if (!params) {
|
|
44543
44576
|
return null;
|
|
44544
44577
|
}
|
|
44545
44578
|
if (clientInfo?.isLocalAgentFlow) {
|
|
44546
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44579
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentMessage, { tone: "warning", title: "Close this tab", children: "This tab opened alongside the correct authorization page. Please close this tab and complete the connection in the other tab that opened at the same time." }) });
|
|
44547
44580
|
}
|
|
44548
44581
|
if (!isAuthenticated2) {
|
|
44549
44582
|
return null;
|
|
44550
44583
|
}
|
|
44551
44584
|
if (callbackUrl) {
|
|
44552
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44553
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44585
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk74XF67TU_cjs.ConsentCard, { size: "md", children: [
|
|
44586
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk74XF67TU_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
|
|
44554
44587
|
"A new tab has opened to complete the connection. If it succeeded, you can close this page. If you see a connection error there, paste the URL below into Claude Cowork \u2014",
|
|
44555
44588
|
" ",
|
|
44556
44589
|
copied ? "it's already copied to your clipboard." : "copy it first."
|
|
44557
44590
|
] }),
|
|
44558
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44559
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44560
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44591
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk74XF67TU_cjs.ConsentSection, { title: "Callback URL", children: [
|
|
44592
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
|
|
44593
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk74XF67TU_cjs.ConsentText, { variant: "hint", children: [
|
|
44561
44594
|
"In Claude Code, paste the URL at the prompt that says",
|
|
44562
44595
|
" ",
|
|
44563
44596
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
|
|
@@ -44566,17 +44599,17 @@ function ConnectedOAuthConsentPage({
|
|
|
44566
44599
|
] })
|
|
44567
44600
|
] }) });
|
|
44568
44601
|
}
|
|
44569
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44570
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44571
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44602
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk74XF67TU_cjs.ConsentCard, { children: [
|
|
44603
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk74XF67TU_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
|
|
44604
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
|
|
44572
44605
|
" is requesting access to your ",
|
|
44573
44606
|
appName,
|
|
44574
44607
|
" workspace."
|
|
44575
44608
|
] }),
|
|
44576
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44577
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44578
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44579
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44609
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentPermissionList, { items: permissions }) }),
|
|
44610
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentNotice, { tone: "error", children: error }),
|
|
44611
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
|
|
44612
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk74XF67TU_cjs.ConsentFootnote, { children: footnote })
|
|
44580
44613
|
] }) });
|
|
44581
44614
|
}
|
|
44582
44615
|
function ConnectedSharedFilesPage({
|
|
@@ -44659,7 +44692,7 @@ function RegisteredPanel({ panel, fallback }) {
|
|
|
44659
44692
|
else session.closePanel(id);
|
|
44660
44693
|
}, [closeGuard, session, id]);
|
|
44661
44694
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44662
|
-
|
|
44695
|
+
chunk6PKP7UT7_cjs.ConnectedPanelHost,
|
|
44663
44696
|
{
|
|
44664
44697
|
panelId: id,
|
|
44665
44698
|
isOpen,
|
|
@@ -44911,7 +44944,7 @@ function ConnectedShellTopbar({
|
|
|
44911
44944
|
return /* @__PURE__ */ jsxRuntime.jsx(chunkXJEXFEWG_cjs.Shell.Topbar, { actions, children: landing });
|
|
44912
44945
|
}
|
|
44913
44946
|
var ConnectedAssistantDock2 = react.lazy(
|
|
44914
|
-
() => import('../ai-
|
|
44947
|
+
() => import('../ai-U2UMKQZO.cjs').then((m) => ({ default: m.ConnectedAssistantDock }))
|
|
44915
44948
|
);
|
|
44916
44949
|
var DOCK_TOGGLE_LABEL = "Assistant chat";
|
|
44917
44950
|
var DOCK_TOGGLE_TEST_ID = "shell-dock-toggle";
|
|
@@ -44927,8 +44960,8 @@ function RoutedShellSidebar({
|
|
|
44927
44960
|
const navigation = useShellNavigation();
|
|
44928
44961
|
const { workspace } = react$1.useCurrentWorkspace();
|
|
44929
44962
|
const isPhone = chunkFX3K6LNZ_cjs.useIsPhone();
|
|
44930
|
-
const assistantDock =
|
|
44931
|
-
const { isDockAvailable } =
|
|
44963
|
+
const assistantDock = chunkXGMA7ITI_cjs.useAssistantDock();
|
|
44964
|
+
const { isDockAvailable } = chunkIJ4JKHEC_cjs.useChatSurface();
|
|
44932
44965
|
const tools = [
|
|
44933
44966
|
...hostTools.map((tool) => ({
|
|
44934
44967
|
id: tool.id,
|
|
@@ -44995,7 +45028,7 @@ function RoutedShellTopbar({
|
|
|
44995
45028
|
] }),
|
|
44996
45029
|
ask: ask !== false ? (props) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedAskField, { ...props, labels: ask?.labels }) : void 0,
|
|
44997
45030
|
actions: dock !== false && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44998
|
-
|
|
45031
|
+
chunkXGMA7ITI_cjs.AssistantDockToggle,
|
|
44999
45032
|
{
|
|
45000
45033
|
label: dock?.toggleLabel ?? DOCK_TOGGLE_LABEL,
|
|
45001
45034
|
testId: DOCK_TOGGLE_TEST_ID
|
|
@@ -45019,7 +45052,7 @@ function RoutedShellTabBar({
|
|
|
45019
45052
|
}
|
|
45020
45053
|
function RoutedShellDock({ dock }) {
|
|
45021
45054
|
const isPhone = chunkFX3K6LNZ_cjs.useIsPhone();
|
|
45022
|
-
const { isOpen } =
|
|
45055
|
+
const { isOpen } = chunkXGMA7ITI_cjs.useAssistantDock();
|
|
45023
45056
|
const [opened, setOpened] = react.useState(isOpen);
|
|
45024
45057
|
if (isOpen && !opened) setOpened(true);
|
|
45025
45058
|
if (dock === false || !opened) return null;
|
|
@@ -45104,7 +45137,7 @@ function ShellNavigationProvider({
|
|
|
45104
45137
|
);
|
|
45105
45138
|
}
|
|
45106
45139
|
var ConnectedPresentation = react.lazy(
|
|
45107
|
-
() => import('../ConnectedPresentation-
|
|
45140
|
+
() => import('../ConnectedPresentation-FOYVUVM3.cjs').then((m) => ({ default: m.ConnectedPresentation }))
|
|
45108
45141
|
);
|
|
45109
45142
|
function PresentationSlot() {
|
|
45110
45143
|
const session = react$1.useArbiSessionStore();
|
|
@@ -45277,7 +45310,7 @@ function ConnectedTipBar({
|
|
|
45277
45310
|
className,
|
|
45278
45311
|
revealOnHover = false
|
|
45279
45312
|
}) {
|
|
45280
|
-
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } =
|
|
45313
|
+
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkQZ5G6TON_cjs.useContextualHints();
|
|
45281
45314
|
const { dismissed, dismissTip } = react$1.useDismissedTips();
|
|
45282
45315
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
45283
45316
|
const { data: workspaces } = react$1.useWorkspaces();
|
|
@@ -45288,7 +45321,7 @@ function ConnectedTipBar({
|
|
|
45288
45321
|
workspaceOpen,
|
|
45289
45322
|
...state
|
|
45290
45323
|
};
|
|
45291
|
-
const { tip, index, count: count2, previous, next, onHoverChange } =
|
|
45324
|
+
const { tip, index, count: count2, previous, next, onHoverChange } = chunkNZMEZL5D_cjs.useTipsPlacement({
|
|
45292
45325
|
registry,
|
|
45293
45326
|
context,
|
|
45294
45327
|
state: situation,
|
|
@@ -45366,7 +45399,7 @@ function useGettingStarted({
|
|
|
45366
45399
|
const { user } = react$1.useArbiSession();
|
|
45367
45400
|
const userExtId = user?.external_id;
|
|
45368
45401
|
const temporaryOnly = user?.temporary_access_only === true;
|
|
45369
|
-
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } =
|
|
45402
|
+
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkQZ5G6TON_cjs.useContextualHints();
|
|
45370
45403
|
const { dismissed, loaded: dismissedLoaded, dismissTip } = react$1.useDismissedTips();
|
|
45371
45404
|
const welcomeJourneyEnabled = react$1.useFeature("welcomeJourney");
|
|
45372
45405
|
const session = react$1.useArbiSessionStore();
|
|
@@ -45586,6 +45619,10 @@ function ChromeInstallDialog({
|
|
|
45586
45619
|
] }) });
|
|
45587
45620
|
}
|
|
45588
45621
|
|
|
45622
|
+
Object.defineProperty(exports, "ConnectedMailInviteCard", {
|
|
45623
|
+
enumerable: true,
|
|
45624
|
+
get: function () { return chunkHHZDURXN_cjs.ConnectedMailInviteCard; }
|
|
45625
|
+
});
|
|
45589
45626
|
Object.defineProperty(exports, "ConnectedTagEntity", {
|
|
45590
45627
|
enumerable: true,
|
|
45591
45628
|
get: function () { return chunk7OMRSZOJ_cjs.ConnectedTagEntity; }
|
|
@@ -45612,11 +45649,11 @@ Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_TABS", {
|
|
|
45612
45649
|
});
|
|
45613
45650
|
Object.defineProperty(exports, "ConnectedPanelHost", {
|
|
45614
45651
|
enumerable: true,
|
|
45615
|
-
get: function () { return
|
|
45652
|
+
get: function () { return chunk6PKP7UT7_cjs.ConnectedPanelHost; }
|
|
45616
45653
|
});
|
|
45617
45654
|
Object.defineProperty(exports, "useSessionPanelMode", {
|
|
45618
45655
|
enumerable: true,
|
|
45619
|
-
get: function () { return
|
|
45656
|
+
get: function () { return chunk6PKP7UT7_cjs.useSessionPanelMode; }
|
|
45620
45657
|
});
|
|
45621
45658
|
Object.defineProperty(exports, "CAP_REACHED_MESSAGE", {
|
|
45622
45659
|
enumerable: true,
|
|
@@ -45670,317 +45707,445 @@ Object.defineProperty(exports, "useRewardBalance", {
|
|
|
45670
45707
|
enumerable: true,
|
|
45671
45708
|
get: function () { return chunk6AFAYGJW_cjs.useRewardBalance; }
|
|
45672
45709
|
});
|
|
45673
|
-
Object.defineProperty(exports, "
|
|
45710
|
+
Object.defineProperty(exports, "ConnectedAgendaBlock", {
|
|
45711
|
+
enumerable: true,
|
|
45712
|
+
get: function () { return chunkLCAND465_cjs.ConnectedAgendaBlock; }
|
|
45713
|
+
});
|
|
45714
|
+
Object.defineProperty(exports, "ConnectedCarouselBlock", {
|
|
45715
|
+
enumerable: true,
|
|
45716
|
+
get: function () { return chunkLCAND465_cjs.ConnectedCarouselBlock; }
|
|
45717
|
+
});
|
|
45718
|
+
Object.defineProperty(exports, "ConnectedEmailWorkspaceDialog", {
|
|
45719
|
+
enumerable: true,
|
|
45720
|
+
get: function () { return chunkLCAND465_cjs.ConnectedEmailWorkspaceDialog; }
|
|
45721
|
+
});
|
|
45722
|
+
Object.defineProperty(exports, "ConnectedListBlock", {
|
|
45723
|
+
enumerable: true,
|
|
45724
|
+
get: function () { return chunkLCAND465_cjs.ConnectedListBlock; }
|
|
45725
|
+
});
|
|
45726
|
+
Object.defineProperty(exports, "ConnectedNewFileMenu", {
|
|
45727
|
+
enumerable: true,
|
|
45728
|
+
get: function () { return chunkLCAND465_cjs.ConnectedNewFileMenu; }
|
|
45729
|
+
});
|
|
45730
|
+
Object.defineProperty(exports, "ConnectedNewThreadDialog", {
|
|
45731
|
+
enumerable: true,
|
|
45732
|
+
get: function () { return chunkLCAND465_cjs.ConnectedNewThreadDialog; }
|
|
45733
|
+
});
|
|
45734
|
+
Object.defineProperty(exports, "ConnectedStartBlock", {
|
|
45735
|
+
enumerable: true,
|
|
45736
|
+
get: function () { return chunkLCAND465_cjs.ConnectedStartBlock; }
|
|
45737
|
+
});
|
|
45738
|
+
Object.defineProperty(exports, "ConnectedUpcomingEvents", {
|
|
45739
|
+
enumerable: true,
|
|
45740
|
+
get: function () { return chunkLCAND465_cjs.ConnectedUpcomingEvents; }
|
|
45741
|
+
});
|
|
45742
|
+
Object.defineProperty(exports, "ConnectedWorkspaceEntity", {
|
|
45743
|
+
enumerable: true,
|
|
45744
|
+
get: function () { return chunkLCAND465_cjs.ConnectedWorkspaceEntity; }
|
|
45745
|
+
});
|
|
45746
|
+
Object.defineProperty(exports, "DocumentsUploadButton", {
|
|
45747
|
+
enumerable: true,
|
|
45748
|
+
get: function () { return chunkLCAND465_cjs.DocumentsUploadButton; }
|
|
45749
|
+
});
|
|
45750
|
+
Object.defineProperty(exports, "LOOK_AGAIN_LABEL", {
|
|
45751
|
+
enumerable: true,
|
|
45752
|
+
get: function () { return chunkLCAND465_cjs.LOOK_AGAIN_LABEL; }
|
|
45753
|
+
});
|
|
45754
|
+
Object.defineProperty(exports, "PENDING_LOOKUP_MS", {
|
|
45755
|
+
enumerable: true,
|
|
45756
|
+
get: function () { return chunkLCAND465_cjs.PENDING_LOOKUP_MS; }
|
|
45757
|
+
});
|
|
45758
|
+
Object.defineProperty(exports, "PENDING_TASK_MESSAGE", {
|
|
45759
|
+
enumerable: true,
|
|
45760
|
+
get: function () { return chunkLCAND465_cjs.PENDING_TASK_MESSAGE; }
|
|
45761
|
+
});
|
|
45762
|
+
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_BLOCKS", {
|
|
45763
|
+
enumerable: true,
|
|
45764
|
+
get: function () { return chunkLCAND465_cjs.WORKSPACE_DASHBOARD_BLOCKS; }
|
|
45765
|
+
});
|
|
45766
|
+
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_LAYOUT", {
|
|
45767
|
+
enumerable: true,
|
|
45768
|
+
get: function () { return chunkLCAND465_cjs.WORKSPACE_DASHBOARD_LAYOUT; }
|
|
45769
|
+
});
|
|
45770
|
+
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_PAGE", {
|
|
45771
|
+
enumerable: true,
|
|
45772
|
+
get: function () { return chunkLCAND465_cjs.WORKSPACE_DASHBOARD_PAGE; }
|
|
45773
|
+
});
|
|
45774
|
+
Object.defineProperty(exports, "createEventCall", {
|
|
45775
|
+
enumerable: true,
|
|
45776
|
+
get: function () { return chunkLCAND465_cjs.createEventCall; }
|
|
45777
|
+
});
|
|
45778
|
+
Object.defineProperty(exports, "describePlan", {
|
|
45779
|
+
enumerable: true,
|
|
45780
|
+
get: function () { return chunkLCAND465_cjs.describePlan; }
|
|
45781
|
+
});
|
|
45782
|
+
Object.defineProperty(exports, "distinctPeers", {
|
|
45783
|
+
enumerable: true,
|
|
45784
|
+
get: function () { return chunkLCAND465_cjs.distinctPeers; }
|
|
45785
|
+
});
|
|
45786
|
+
Object.defineProperty(exports, "joinEventMeeting", {
|
|
45787
|
+
enumerable: true,
|
|
45788
|
+
get: function () { return chunkLCAND465_cjs.joinEventMeeting; }
|
|
45789
|
+
});
|
|
45790
|
+
Object.defineProperty(exports, "loadEventWebinar", {
|
|
45791
|
+
enumerable: true,
|
|
45792
|
+
get: function () { return chunkLCAND465_cjs.loadEventWebinar; }
|
|
45793
|
+
});
|
|
45794
|
+
Object.defineProperty(exports, "parseArbiCallUrl", {
|
|
45795
|
+
enumerable: true,
|
|
45796
|
+
get: function () { return chunkLCAND465_cjs.parseArbiCallUrl; }
|
|
45797
|
+
});
|
|
45798
|
+
Object.defineProperty(exports, "resolveAttendeeUsers", {
|
|
45799
|
+
enumerable: true,
|
|
45800
|
+
get: function () { return chunkLCAND465_cjs.resolveAttendeeUsers; }
|
|
45801
|
+
});
|
|
45802
|
+
Object.defineProperty(exports, "resolveAttendeeUsersRemote", {
|
|
45803
|
+
enumerable: true,
|
|
45804
|
+
get: function () { return chunkLCAND465_cjs.resolveAttendeeUsersRemote; }
|
|
45805
|
+
});
|
|
45806
|
+
Object.defineProperty(exports, "resolveCallPeers", {
|
|
45807
|
+
enumerable: true,
|
|
45808
|
+
get: function () { return chunkLCAND465_cjs.resolveCallPeers; }
|
|
45809
|
+
});
|
|
45810
|
+
Object.defineProperty(exports, "resolveCallPeersRemote", {
|
|
45811
|
+
enumerable: true,
|
|
45812
|
+
get: function () { return chunkLCAND465_cjs.resolveCallPeersRemote; }
|
|
45813
|
+
});
|
|
45814
|
+
Object.defineProperty(exports, "shareEventCall", {
|
|
45815
|
+
enumerable: true,
|
|
45816
|
+
get: function () { return chunkLCAND465_cjs.shareEventCall; }
|
|
45817
|
+
});
|
|
45818
|
+
Object.defineProperty(exports, "transferOutcome", {
|
|
45819
|
+
enumerable: true,
|
|
45820
|
+
get: function () { return chunkLCAND465_cjs.transferOutcome; }
|
|
45821
|
+
});
|
|
45822
|
+
Object.defineProperty(exports, "updateEventWebinarRoles", {
|
|
45823
|
+
enumerable: true,
|
|
45824
|
+
get: function () { return chunkLCAND465_cjs.updateEventWebinarRoles; }
|
|
45825
|
+
});
|
|
45826
|
+
Object.defineProperty(exports, "useAddFromUrls", {
|
|
45827
|
+
enumerable: true,
|
|
45828
|
+
get: function () { return chunkLCAND465_cjs.useAddFromUrls; }
|
|
45829
|
+
});
|
|
45830
|
+
Object.defineProperty(exports, "useExportStore", {
|
|
45674
45831
|
enumerable: true,
|
|
45675
|
-
get: function () { return
|
|
45832
|
+
get: function () { return chunkLCAND465_cjs.useExportStore; }
|
|
45833
|
+
});
|
|
45834
|
+
Object.defineProperty(exports, "usePendingTaskThread", {
|
|
45835
|
+
enumerable: true,
|
|
45836
|
+
get: function () { return chunkLCAND465_cjs.usePendingTaskThread; }
|
|
45837
|
+
});
|
|
45838
|
+
Object.defineProperty(exports, "webinarRolesByUser", {
|
|
45839
|
+
enumerable: true,
|
|
45840
|
+
get: function () { return chunkLCAND465_cjs.webinarRolesByUser; }
|
|
45676
45841
|
});
|
|
45677
45842
|
Object.defineProperty(exports, "ConnectedAssistantDock", {
|
|
45678
45843
|
enumerable: true,
|
|
45679
|
-
get: function () { return
|
|
45844
|
+
get: function () { return chunk2ZNADJ7G_cjs.ConnectedAssistantDock; }
|
|
45680
45845
|
});
|
|
45681
45846
|
Object.defineProperty(exports, "redlineStats", {
|
|
45682
45847
|
enumerable: true,
|
|
45683
|
-
get: function () { return
|
|
45848
|
+
get: function () { return chunk2ZNADJ7G_cjs.redlineStats; }
|
|
45684
45849
|
});
|
|
45685
45850
|
Object.defineProperty(exports, "textToArtifact", {
|
|
45686
45851
|
enumerable: true,
|
|
45687
|
-
get: function () { return
|
|
45852
|
+
get: function () { return chunk2ZNADJ7G_cjs.textToArtifact; }
|
|
45688
45853
|
});
|
|
45689
45854
|
Object.defineProperty(exports, "toRedlineMarkdown", {
|
|
45690
45855
|
enumerable: true,
|
|
45691
|
-
get: function () { return
|
|
45856
|
+
get: function () { return chunk2ZNADJ7G_cjs.toRedlineMarkdown; }
|
|
45692
45857
|
});
|
|
45693
45858
|
Object.defineProperty(exports, "useConnectedAiTask", {
|
|
45694
45859
|
enumerable: true,
|
|
45695
|
-
get: function () { return
|
|
45860
|
+
get: function () { return chunk2ZNADJ7G_cjs.useConnectedAiTask; }
|
|
45696
45861
|
});
|
|
45697
45862
|
Object.defineProperty(exports, "useConnectedChat", {
|
|
45698
45863
|
enumerable: true,
|
|
45699
|
-
get: function () { return
|
|
45864
|
+
get: function () { return chunk2ZNADJ7G_cjs.useConnectedChat; }
|
|
45700
45865
|
});
|
|
45701
45866
|
Object.defineProperty(exports, "useSemanticSearch", {
|
|
45702
45867
|
enumerable: true,
|
|
45703
|
-
get: function () { return
|
|
45868
|
+
get: function () { return chunk2ZNADJ7G_cjs.useSemanticSearch; }
|
|
45704
45869
|
});
|
|
45705
45870
|
Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
45706
45871
|
enumerable: true,
|
|
45707
|
-
get: function () { return
|
|
45872
|
+
get: function () { return chunk2ZNADJ7G_cjs.useWorkspaceDocs; }
|
|
45708
45873
|
});
|
|
45709
45874
|
Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
|
|
45710
45875
|
enumerable: true,
|
|
45711
|
-
get: function () { return
|
|
45876
|
+
get: function () { return chunkKGKB7YKH_cjs.ConnectedTaskActivityDialog; }
|
|
45712
45877
|
});
|
|
45713
45878
|
Object.defineProperty(exports, "ConnectedTaskComposer", {
|
|
45714
45879
|
enumerable: true,
|
|
45715
|
-
get: function () { return
|
|
45880
|
+
get: function () { return chunkKGKB7YKH_cjs.ConnectedTaskComposer; }
|
|
45716
45881
|
});
|
|
45717
45882
|
Object.defineProperty(exports, "ConnectedThreadTaskBar", {
|
|
45718
45883
|
enumerable: true,
|
|
45719
|
-
get: function () { return
|
|
45884
|
+
get: function () { return chunkKGKB7YKH_cjs.ConnectedThreadTaskBar; }
|
|
45720
45885
|
});
|
|
45721
45886
|
Object.defineProperty(exports, "ConnectedWorkflowHistory", {
|
|
45722
45887
|
enumerable: true,
|
|
45723
|
-
get: function () { return
|
|
45888
|
+
get: function () { return chunkKGKB7YKH_cjs.ConnectedWorkflowHistory; }
|
|
45724
45889
|
});
|
|
45725
45890
|
Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
|
|
45726
45891
|
enumerable: true,
|
|
45727
|
-
get: function () { return
|
|
45892
|
+
get: function () { return chunkKGKB7YKH_cjs.ConnectedWorkflowRunPage; }
|
|
45728
45893
|
});
|
|
45729
45894
|
Object.defineProperty(exports, "ConnectedWorkflowRunner", {
|
|
45730
45895
|
enumerable: true,
|
|
45731
|
-
get: function () { return
|
|
45896
|
+
get: function () { return chunkKGKB7YKH_cjs.ConnectedWorkflowRunner; }
|
|
45732
45897
|
});
|
|
45733
45898
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
|
|
45734
45899
|
enumerable: true,
|
|
45735
|
-
get: function () { return
|
|
45900
|
+
get: function () { return chunkKGKB7YKH_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
|
|
45736
45901
|
});
|
|
45737
45902
|
Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
|
|
45738
45903
|
enumerable: true,
|
|
45739
|
-
get: function () { return
|
|
45904
|
+
get: function () { return chunkKGKB7YKH_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
|
|
45740
45905
|
});
|
|
45741
45906
|
Object.defineProperty(exports, "WorkflowRunThread", {
|
|
45742
45907
|
enumerable: true,
|
|
45743
|
-
get: function () { return
|
|
45908
|
+
get: function () { return chunkKGKB7YKH_cjs.WorkflowRunThread; }
|
|
45744
45909
|
});
|
|
45745
45910
|
Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
|
|
45746
45911
|
enumerable: true,
|
|
45747
|
-
get: function () { return
|
|
45912
|
+
get: function () { return chunkKGKB7YKH_cjs.WorkflowRunWorkspaceChangedError; }
|
|
45748
45913
|
});
|
|
45749
45914
|
Object.defineProperty(exports, "buildProjectSummaries", {
|
|
45750
45915
|
enumerable: true,
|
|
45751
|
-
get: function () { return
|
|
45916
|
+
get: function () { return chunkKGKB7YKH_cjs.buildProjectSummaries; }
|
|
45752
45917
|
});
|
|
45753
45918
|
Object.defineProperty(exports, "primaryProjectWorkspace", {
|
|
45754
45919
|
enumerable: true,
|
|
45755
|
-
get: function () { return
|
|
45920
|
+
get: function () { return chunkKGKB7YKH_cjs.primaryProjectWorkspace; }
|
|
45756
45921
|
});
|
|
45757
45922
|
Object.defineProperty(exports, "useEnsureRequiredLabels", {
|
|
45758
45923
|
enumerable: true,
|
|
45759
|
-
get: function () { return
|
|
45924
|
+
get: function () { return chunkKGKB7YKH_cjs.useEnsureRequiredLabels; }
|
|
45760
45925
|
});
|
|
45761
45926
|
Object.defineProperty(exports, "useProjectSummaries", {
|
|
45762
45927
|
enumerable: true,
|
|
45763
|
-
get: function () { return
|
|
45928
|
+
get: function () { return chunkKGKB7YKH_cjs.useProjectSummaries; }
|
|
45764
45929
|
});
|
|
45765
45930
|
Object.defineProperty(exports, "useProjectSummary", {
|
|
45766
45931
|
enumerable: true,
|
|
45767
|
-
get: function () { return
|
|
45932
|
+
get: function () { return chunkKGKB7YKH_cjs.useProjectSummary; }
|
|
45768
45933
|
});
|
|
45769
45934
|
Object.defineProperty(exports, "useRenderTaskPerson", {
|
|
45770
45935
|
enumerable: true,
|
|
45771
|
-
get: function () { return
|
|
45936
|
+
get: function () { return chunkKGKB7YKH_cjs.useRenderTaskPerson; }
|
|
45772
45937
|
});
|
|
45773
45938
|
Object.defineProperty(exports, "useRequiredLabels", {
|
|
45774
45939
|
enumerable: true,
|
|
45775
|
-
get: function () { return
|
|
45940
|
+
get: function () { return chunkKGKB7YKH_cjs.useRequiredLabels; }
|
|
45776
45941
|
});
|
|
45777
45942
|
Object.defineProperty(exports, "useTaskPeople", {
|
|
45778
45943
|
enumerable: true,
|
|
45779
|
-
get: function () { return
|
|
45944
|
+
get: function () { return chunkKGKB7YKH_cjs.useTaskPeople; }
|
|
45780
45945
|
});
|
|
45781
45946
|
Object.defineProperty(exports, "useWorkflowsPageState", {
|
|
45782
45947
|
enumerable: true,
|
|
45783
|
-
get: function () { return
|
|
45948
|
+
get: function () { return chunkKGKB7YKH_cjs.useWorkflowsPageState; }
|
|
45784
45949
|
});
|
|
45785
45950
|
Object.defineProperty(exports, "workflowRunView", {
|
|
45786
45951
|
enumerable: true,
|
|
45787
|
-
get: function () { return
|
|
45952
|
+
get: function () { return chunkKGKB7YKH_cjs.workflowRunView; }
|
|
45788
45953
|
});
|
|
45789
45954
|
Object.defineProperty(exports, "AgentSteps", {
|
|
45790
45955
|
enumerable: true,
|
|
45791
|
-
get: function () { return
|
|
45956
|
+
get: function () { return chunkQZ5G6TON_cjs.AgentSteps; }
|
|
45792
45957
|
});
|
|
45793
45958
|
Object.defineProperty(exports, "AnswerTable", {
|
|
45794
45959
|
enumerable: true,
|
|
45795
|
-
get: function () { return
|
|
45960
|
+
get: function () { return chunkQZ5G6TON_cjs.AnswerTable; }
|
|
45796
45961
|
});
|
|
45797
45962
|
Object.defineProperty(exports, "ArbiChat", {
|
|
45798
45963
|
enumerable: true,
|
|
45799
|
-
get: function () { return
|
|
45964
|
+
get: function () { return chunkQZ5G6TON_cjs.ArbiChat; }
|
|
45800
45965
|
});
|
|
45801
45966
|
Object.defineProperty(exports, "AskAgainContext", {
|
|
45802
45967
|
enumerable: true,
|
|
45803
|
-
get: function () { return
|
|
45968
|
+
get: function () { return chunkQZ5G6TON_cjs.AskAgainContext; }
|
|
45804
45969
|
});
|
|
45805
45970
|
Object.defineProperty(exports, "ConnectedBranchControls", {
|
|
45806
45971
|
enumerable: true,
|
|
45807
|
-
get: function () { return
|
|
45972
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedBranchControls; }
|
|
45808
45973
|
});
|
|
45809
45974
|
Object.defineProperty(exports, "ConnectedCitationRenderer", {
|
|
45810
45975
|
enumerable: true,
|
|
45811
|
-
get: function () { return
|
|
45976
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedCitationRenderer; }
|
|
45812
45977
|
});
|
|
45813
45978
|
Object.defineProperty(exports, "ConnectedCompactConversation", {
|
|
45814
45979
|
enumerable: true,
|
|
45815
|
-
get: function () { return
|
|
45980
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedCompactConversation; }
|
|
45816
45981
|
});
|
|
45817
45982
|
Object.defineProperty(exports, "ConnectedCompactLogin", {
|
|
45818
45983
|
enumerable: true,
|
|
45819
|
-
get: function () { return
|
|
45984
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedCompactLogin; }
|
|
45820
45985
|
});
|
|
45821
45986
|
Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
|
|
45822
45987
|
enumerable: true,
|
|
45823
|
-
get: function () { return
|
|
45988
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedConversationDocumentPicker; }
|
|
45824
45989
|
});
|
|
45825
45990
|
Object.defineProperty(exports, "ConnectedDangerZone", {
|
|
45826
45991
|
enumerable: true,
|
|
45827
|
-
get: function () { return
|
|
45992
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedDangerZone; }
|
|
45828
45993
|
});
|
|
45829
45994
|
Object.defineProperty(exports, "ConnectedEmbeddedChat", {
|
|
45830
45995
|
enumerable: true,
|
|
45831
|
-
get: function () { return
|
|
45996
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedEmbeddedChat; }
|
|
45832
45997
|
});
|
|
45833
45998
|
Object.defineProperty(exports, "ConnectedForgotPassword", {
|
|
45834
45999
|
enumerable: true,
|
|
45835
|
-
get: function () { return
|
|
46000
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedForgotPassword; }
|
|
45836
46001
|
});
|
|
45837
46002
|
Object.defineProperty(exports, "ConnectedIdentityVerification", {
|
|
45838
46003
|
enumerable: true,
|
|
45839
|
-
get: function () { return
|
|
46004
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedIdentityVerification; }
|
|
45840
46005
|
});
|
|
45841
46006
|
Object.defineProperty(exports, "ConnectedLoginPage", {
|
|
45842
46007
|
enumerable: true,
|
|
45843
|
-
get: function () { return
|
|
46008
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedLoginPage; }
|
|
45844
46009
|
});
|
|
45845
46010
|
Object.defineProperty(exports, "ConnectedLogoutDialog", {
|
|
45846
46011
|
enumerable: true,
|
|
45847
|
-
get: function () { return
|
|
46012
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedLogoutDialog; }
|
|
45848
46013
|
});
|
|
45849
46014
|
Object.defineProperty(exports, "ConnectedMessage", {
|
|
45850
46015
|
enumerable: true,
|
|
45851
|
-
get: function () { return
|
|
46016
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedMessage; }
|
|
45852
46017
|
});
|
|
45853
46018
|
Object.defineProperty(exports, "ConnectedMessageArea", {
|
|
45854
46019
|
enumerable: true,
|
|
45855
|
-
get: function () { return
|
|
46020
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedMessageArea; }
|
|
45856
46021
|
});
|
|
45857
46022
|
Object.defineProperty(exports, "ConnectedMessageList", {
|
|
45858
46023
|
enumerable: true,
|
|
45859
|
-
get: function () { return
|
|
46024
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedMessageList; }
|
|
45860
46025
|
});
|
|
45861
46026
|
Object.defineProperty(exports, "ConnectedModelSelector", {
|
|
45862
46027
|
enumerable: true,
|
|
45863
|
-
get: function () { return
|
|
46028
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedModelSelector; }
|
|
45864
46029
|
});
|
|
45865
46030
|
Object.defineProperty(exports, "ConnectedNotificationPreferences", {
|
|
45866
46031
|
enumerable: true,
|
|
45867
|
-
get: function () { return
|
|
46032
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedNotificationPreferences; }
|
|
45868
46033
|
});
|
|
45869
46034
|
Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
|
|
45870
46035
|
enumerable: true,
|
|
45871
|
-
get: function () { return
|
|
46036
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedPasswordChangeDialog; }
|
|
45872
46037
|
});
|
|
45873
46038
|
Object.defineProperty(exports, "ConnectedProfileCard", {
|
|
45874
46039
|
enumerable: true,
|
|
45875
|
-
get: function () { return
|
|
46040
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedProfileCard; }
|
|
45876
46041
|
});
|
|
45877
46042
|
Object.defineProperty(exports, "ConnectedSecuritySection", {
|
|
45878
46043
|
enumerable: true,
|
|
45879
|
-
get: function () { return
|
|
46044
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedSecuritySection; }
|
|
45880
46045
|
});
|
|
45881
46046
|
Object.defineProperty(exports, "ConnectedSessionsRow", {
|
|
45882
46047
|
enumerable: true,
|
|
45883
|
-
get: function () { return
|
|
46048
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedSessionsRow; }
|
|
45884
46049
|
});
|
|
45885
46050
|
Object.defineProperty(exports, "ConnectedThreadsPreview", {
|
|
45886
46051
|
enumerable: true,
|
|
45887
|
-
get: function () { return
|
|
46052
|
+
get: function () { return chunkQZ5G6TON_cjs.ConnectedThreadsPreview; }
|
|
45888
46053
|
});
|
|
45889
46054
|
Object.defineProperty(exports, "ConversationComposer", {
|
|
45890
46055
|
enumerable: true,
|
|
45891
|
-
get: function () { return
|
|
46056
|
+
get: function () { return chunkQZ5G6TON_cjs.ConversationComposer; }
|
|
45892
46057
|
});
|
|
45893
46058
|
Object.defineProperty(exports, "EmbeddedChatPanel", {
|
|
45894
46059
|
enumerable: true,
|
|
45895
|
-
get: function () { return
|
|
46060
|
+
get: function () { return chunkQZ5G6TON_cjs.EmbeddedChatPanel; }
|
|
45896
46061
|
});
|
|
45897
46062
|
Object.defineProperty(exports, "MessageDetailsModal", {
|
|
45898
46063
|
enumerable: true,
|
|
45899
|
-
get: function () { return
|
|
46064
|
+
get: function () { return chunkQZ5G6TON_cjs.MessageDetailsModal; }
|
|
45900
46065
|
});
|
|
45901
46066
|
Object.defineProperty(exports, "MessageLiveSeconds", {
|
|
45902
46067
|
enumerable: true,
|
|
45903
|
-
get: function () { return
|
|
46068
|
+
get: function () { return chunkQZ5G6TON_cjs.MessageLiveSeconds; }
|
|
45904
46069
|
});
|
|
45905
46070
|
Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
|
|
45906
46071
|
enumerable: true,
|
|
45907
|
-
get: function () { return
|
|
46072
|
+
get: function () { return chunkQZ5G6TON_cjs.PENDING_RECOVERY_KEY; }
|
|
45908
46073
|
});
|
|
45909
46074
|
Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
|
|
45910
46075
|
enumerable: true,
|
|
45911
|
-
get: function () { return
|
|
46076
|
+
get: function () { return chunkQZ5G6TON_cjs.PREMIUM_TIER_TAG; }
|
|
45912
46077
|
});
|
|
45913
46078
|
Object.defineProperty(exports, "RunningSubagents", {
|
|
45914
46079
|
enumerable: true,
|
|
45915
|
-
get: function () { return
|
|
46080
|
+
get: function () { return chunkQZ5G6TON_cjs.RunningSubagents; }
|
|
45916
46081
|
});
|
|
45917
46082
|
Object.defineProperty(exports, "STANDARD_TIER_TAG", {
|
|
45918
46083
|
enumerable: true,
|
|
45919
|
-
get: function () { return
|
|
46084
|
+
get: function () { return chunkQZ5G6TON_cjs.STANDARD_TIER_TAG; }
|
|
45920
46085
|
});
|
|
45921
46086
|
Object.defineProperty(exports, "WorkflowStepMessage", {
|
|
45922
46087
|
enumerable: true,
|
|
45923
|
-
get: function () { return
|
|
46088
|
+
get: function () { return chunkQZ5G6TON_cjs.WorkflowStepMessage; }
|
|
45924
46089
|
});
|
|
45925
46090
|
Object.defineProperty(exports, "backUpOnSignup", {
|
|
45926
46091
|
enumerable: true,
|
|
45927
|
-
get: function () { return
|
|
46092
|
+
get: function () { return chunkQZ5G6TON_cjs.backUpOnSignup; }
|
|
45928
46093
|
});
|
|
45929
46094
|
Object.defineProperty(exports, "createRemoteControl", {
|
|
45930
46095
|
enumerable: true,
|
|
45931
|
-
get: function () { return
|
|
46096
|
+
get: function () { return chunkQZ5G6TON_cjs.createRemoteControl; }
|
|
45932
46097
|
});
|
|
45933
46098
|
Object.defineProperty(exports, "defaultHost", {
|
|
45934
46099
|
enumerable: true,
|
|
45935
|
-
get: function () { return
|
|
46100
|
+
get: function () { return chunkQZ5G6TON_cjs.defaultHost; }
|
|
45936
46101
|
});
|
|
45937
46102
|
Object.defineProperty(exports, "renderConnectedUser", {
|
|
45938
46103
|
enumerable: true,
|
|
45939
|
-
get: function () { return
|
|
46104
|
+
get: function () { return chunkQZ5G6TON_cjs.renderConnectedUser; }
|
|
45940
46105
|
});
|
|
45941
46106
|
Object.defineProperty(exports, "renderSessionStatusIcon", {
|
|
45942
46107
|
enumerable: true,
|
|
45943
|
-
get: function () { return
|
|
46108
|
+
get: function () { return chunkQZ5G6TON_cjs.renderSessionStatusIcon; }
|
|
45944
46109
|
});
|
|
45945
46110
|
Object.defineProperty(exports, "resolveSsoName", {
|
|
45946
46111
|
enumerable: true,
|
|
45947
|
-
get: function () { return
|
|
46112
|
+
get: function () { return chunkQZ5G6TON_cjs.resolveSsoName; }
|
|
45948
46113
|
});
|
|
45949
46114
|
Object.defineProperty(exports, "useAuthPages", {
|
|
45950
46115
|
enumerable: true,
|
|
45951
|
-
get: function () { return
|
|
46116
|
+
get: function () { return chunkQZ5G6TON_cjs.useAuthPages; }
|
|
45952
46117
|
});
|
|
45953
46118
|
Object.defineProperty(exports, "useContextualHints", {
|
|
45954
46119
|
enumerable: true,
|
|
45955
|
-
get: function () { return
|
|
46120
|
+
get: function () { return chunkQZ5G6TON_cjs.useContextualHints; }
|
|
45956
46121
|
});
|
|
45957
46122
|
Object.defineProperty(exports, "useModelPicker", {
|
|
45958
46123
|
enumerable: true,
|
|
45959
|
-
get: function () { return
|
|
46124
|
+
get: function () { return chunkQZ5G6TON_cjs.useModelPicker; }
|
|
45960
46125
|
});
|
|
45961
46126
|
Object.defineProperty(exports, "useOpenChunk", {
|
|
45962
46127
|
enumerable: true,
|
|
45963
|
-
get: function () { return
|
|
46128
|
+
get: function () { return chunkQZ5G6TON_cjs.useOpenChunk; }
|
|
45964
46129
|
});
|
|
45965
46130
|
Object.defineProperty(exports, "useOpenWorkspaceIcon", {
|
|
45966
46131
|
enumerable: true,
|
|
45967
|
-
get: function () { return
|
|
46132
|
+
get: function () { return chunkQZ5G6TON_cjs.useOpenWorkspaceIcon; }
|
|
45968
46133
|
});
|
|
45969
46134
|
Object.defineProperty(exports, "useRemoteControlActions", {
|
|
45970
46135
|
enumerable: true,
|
|
45971
|
-
get: function () { return
|
|
46136
|
+
get: function () { return chunkQZ5G6TON_cjs.useRemoteControlActions; }
|
|
45972
46137
|
});
|
|
45973
46138
|
Object.defineProperty(exports, "useRemoteControlHandlers", {
|
|
45974
46139
|
enumerable: true,
|
|
45975
|
-
get: function () { return
|
|
46140
|
+
get: function () { return chunkQZ5G6TON_cjs.useRemoteControlHandlers; }
|
|
45976
46141
|
});
|
|
45977
46142
|
Object.defineProperty(exports, "useSsoSignIn", {
|
|
45978
46143
|
enumerable: true,
|
|
45979
|
-
get: function () { return
|
|
46144
|
+
get: function () { return chunkQZ5G6TON_cjs.useSsoSignIn; }
|
|
45980
46145
|
});
|
|
45981
46146
|
Object.defineProperty(exports, "useWorkspaceDocTitles", {
|
|
45982
46147
|
enumerable: true,
|
|
45983
|
-
get: function () { return
|
|
46148
|
+
get: function () { return chunkQZ5G6TON_cjs.useWorkspaceDocTitles; }
|
|
45984
46149
|
});
|
|
45985
46150
|
Object.defineProperty(exports, "parseTypedSkill", {
|
|
45986
46151
|
enumerable: true,
|
|
@@ -45998,146 +46163,6 @@ Object.defineProperty(exports, "useSlashSkillWorkflows", {
|
|
|
45998
46163
|
enumerable: true,
|
|
45999
46164
|
get: function () { return chunk7GVKG3G4_cjs.useSlashSkillWorkflows; }
|
|
46000
46165
|
});
|
|
46001
|
-
Object.defineProperty(exports, "useConnectedThreadActivity", {
|
|
46002
|
-
enumerable: true,
|
|
46003
|
-
get: function () { return chunkWGRXQ7PI_cjs.useConnectedThreadActivity; }
|
|
46004
|
-
});
|
|
46005
|
-
Object.defineProperty(exports, "DocumentUser", {
|
|
46006
|
-
enumerable: true,
|
|
46007
|
-
get: function () { return chunkNFXHBTAO_cjs.DocumentUser; }
|
|
46008
|
-
});
|
|
46009
|
-
Object.defineProperty(exports, "ConnectedAgendaBlock", {
|
|
46010
|
-
enumerable: true,
|
|
46011
|
-
get: function () { return chunk3QHVDOQT_cjs.ConnectedAgendaBlock; }
|
|
46012
|
-
});
|
|
46013
|
-
Object.defineProperty(exports, "ConnectedCarouselBlock", {
|
|
46014
|
-
enumerable: true,
|
|
46015
|
-
get: function () { return chunk3QHVDOQT_cjs.ConnectedCarouselBlock; }
|
|
46016
|
-
});
|
|
46017
|
-
Object.defineProperty(exports, "ConnectedEmailWorkspaceDialog", {
|
|
46018
|
-
enumerable: true,
|
|
46019
|
-
get: function () { return chunk3QHVDOQT_cjs.ConnectedEmailWorkspaceDialog; }
|
|
46020
|
-
});
|
|
46021
|
-
Object.defineProperty(exports, "ConnectedListBlock", {
|
|
46022
|
-
enumerable: true,
|
|
46023
|
-
get: function () { return chunk3QHVDOQT_cjs.ConnectedListBlock; }
|
|
46024
|
-
});
|
|
46025
|
-
Object.defineProperty(exports, "ConnectedNewFileMenu", {
|
|
46026
|
-
enumerable: true,
|
|
46027
|
-
get: function () { return chunk3QHVDOQT_cjs.ConnectedNewFileMenu; }
|
|
46028
|
-
});
|
|
46029
|
-
Object.defineProperty(exports, "ConnectedNewThreadDialog", {
|
|
46030
|
-
enumerable: true,
|
|
46031
|
-
get: function () { return chunk3QHVDOQT_cjs.ConnectedNewThreadDialog; }
|
|
46032
|
-
});
|
|
46033
|
-
Object.defineProperty(exports, "ConnectedStartBlock", {
|
|
46034
|
-
enumerable: true,
|
|
46035
|
-
get: function () { return chunk3QHVDOQT_cjs.ConnectedStartBlock; }
|
|
46036
|
-
});
|
|
46037
|
-
Object.defineProperty(exports, "ConnectedUpcomingEvents", {
|
|
46038
|
-
enumerable: true,
|
|
46039
|
-
get: function () { return chunk3QHVDOQT_cjs.ConnectedUpcomingEvents; }
|
|
46040
|
-
});
|
|
46041
|
-
Object.defineProperty(exports, "ConnectedWorkspaceEntity", {
|
|
46042
|
-
enumerable: true,
|
|
46043
|
-
get: function () { return chunk3QHVDOQT_cjs.ConnectedWorkspaceEntity; }
|
|
46044
|
-
});
|
|
46045
|
-
Object.defineProperty(exports, "DocumentsUploadButton", {
|
|
46046
|
-
enumerable: true,
|
|
46047
|
-
get: function () { return chunk3QHVDOQT_cjs.DocumentsUploadButton; }
|
|
46048
|
-
});
|
|
46049
|
-
Object.defineProperty(exports, "LOOK_AGAIN_LABEL", {
|
|
46050
|
-
enumerable: true,
|
|
46051
|
-
get: function () { return chunk3QHVDOQT_cjs.LOOK_AGAIN_LABEL; }
|
|
46052
|
-
});
|
|
46053
|
-
Object.defineProperty(exports, "PENDING_LOOKUP_MS", {
|
|
46054
|
-
enumerable: true,
|
|
46055
|
-
get: function () { return chunk3QHVDOQT_cjs.PENDING_LOOKUP_MS; }
|
|
46056
|
-
});
|
|
46057
|
-
Object.defineProperty(exports, "PENDING_TASK_MESSAGE", {
|
|
46058
|
-
enumerable: true,
|
|
46059
|
-
get: function () { return chunk3QHVDOQT_cjs.PENDING_TASK_MESSAGE; }
|
|
46060
|
-
});
|
|
46061
|
-
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_BLOCKS", {
|
|
46062
|
-
enumerable: true,
|
|
46063
|
-
get: function () { return chunk3QHVDOQT_cjs.WORKSPACE_DASHBOARD_BLOCKS; }
|
|
46064
|
-
});
|
|
46065
|
-
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_LAYOUT", {
|
|
46066
|
-
enumerable: true,
|
|
46067
|
-
get: function () { return chunk3QHVDOQT_cjs.WORKSPACE_DASHBOARD_LAYOUT; }
|
|
46068
|
-
});
|
|
46069
|
-
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_PAGE", {
|
|
46070
|
-
enumerable: true,
|
|
46071
|
-
get: function () { return chunk3QHVDOQT_cjs.WORKSPACE_DASHBOARD_PAGE; }
|
|
46072
|
-
});
|
|
46073
|
-
Object.defineProperty(exports, "createEventCall", {
|
|
46074
|
-
enumerable: true,
|
|
46075
|
-
get: function () { return chunk3QHVDOQT_cjs.createEventCall; }
|
|
46076
|
-
});
|
|
46077
|
-
Object.defineProperty(exports, "describePlan", {
|
|
46078
|
-
enumerable: true,
|
|
46079
|
-
get: function () { return chunk3QHVDOQT_cjs.describePlan; }
|
|
46080
|
-
});
|
|
46081
|
-
Object.defineProperty(exports, "distinctPeers", {
|
|
46082
|
-
enumerable: true,
|
|
46083
|
-
get: function () { return chunk3QHVDOQT_cjs.distinctPeers; }
|
|
46084
|
-
});
|
|
46085
|
-
Object.defineProperty(exports, "joinEventMeeting", {
|
|
46086
|
-
enumerable: true,
|
|
46087
|
-
get: function () { return chunk3QHVDOQT_cjs.joinEventMeeting; }
|
|
46088
|
-
});
|
|
46089
|
-
Object.defineProperty(exports, "loadEventWebinar", {
|
|
46090
|
-
enumerable: true,
|
|
46091
|
-
get: function () { return chunk3QHVDOQT_cjs.loadEventWebinar; }
|
|
46092
|
-
});
|
|
46093
|
-
Object.defineProperty(exports, "parseArbiCallUrl", {
|
|
46094
|
-
enumerable: true,
|
|
46095
|
-
get: function () { return chunk3QHVDOQT_cjs.parseArbiCallUrl; }
|
|
46096
|
-
});
|
|
46097
|
-
Object.defineProperty(exports, "resolveAttendeeUsers", {
|
|
46098
|
-
enumerable: true,
|
|
46099
|
-
get: function () { return chunk3QHVDOQT_cjs.resolveAttendeeUsers; }
|
|
46100
|
-
});
|
|
46101
|
-
Object.defineProperty(exports, "resolveAttendeeUsersRemote", {
|
|
46102
|
-
enumerable: true,
|
|
46103
|
-
get: function () { return chunk3QHVDOQT_cjs.resolveAttendeeUsersRemote; }
|
|
46104
|
-
});
|
|
46105
|
-
Object.defineProperty(exports, "resolveCallPeers", {
|
|
46106
|
-
enumerable: true,
|
|
46107
|
-
get: function () { return chunk3QHVDOQT_cjs.resolveCallPeers; }
|
|
46108
|
-
});
|
|
46109
|
-
Object.defineProperty(exports, "resolveCallPeersRemote", {
|
|
46110
|
-
enumerable: true,
|
|
46111
|
-
get: function () { return chunk3QHVDOQT_cjs.resolveCallPeersRemote; }
|
|
46112
|
-
});
|
|
46113
|
-
Object.defineProperty(exports, "shareEventCall", {
|
|
46114
|
-
enumerable: true,
|
|
46115
|
-
get: function () { return chunk3QHVDOQT_cjs.shareEventCall; }
|
|
46116
|
-
});
|
|
46117
|
-
Object.defineProperty(exports, "transferOutcome", {
|
|
46118
|
-
enumerable: true,
|
|
46119
|
-
get: function () { return chunk3QHVDOQT_cjs.transferOutcome; }
|
|
46120
|
-
});
|
|
46121
|
-
Object.defineProperty(exports, "updateEventWebinarRoles", {
|
|
46122
|
-
enumerable: true,
|
|
46123
|
-
get: function () { return chunk3QHVDOQT_cjs.updateEventWebinarRoles; }
|
|
46124
|
-
});
|
|
46125
|
-
Object.defineProperty(exports, "useAddFromUrls", {
|
|
46126
|
-
enumerable: true,
|
|
46127
|
-
get: function () { return chunk3QHVDOQT_cjs.useAddFromUrls; }
|
|
46128
|
-
});
|
|
46129
|
-
Object.defineProperty(exports, "useExportStore", {
|
|
46130
|
-
enumerable: true,
|
|
46131
|
-
get: function () { return chunk3QHVDOQT_cjs.useExportStore; }
|
|
46132
|
-
});
|
|
46133
|
-
Object.defineProperty(exports, "usePendingTaskThread", {
|
|
46134
|
-
enumerable: true,
|
|
46135
|
-
get: function () { return chunk3QHVDOQT_cjs.usePendingTaskThread; }
|
|
46136
|
-
});
|
|
46137
|
-
Object.defineProperty(exports, "webinarRolesByUser", {
|
|
46138
|
-
enumerable: true,
|
|
46139
|
-
get: function () { return chunk3QHVDOQT_cjs.webinarRolesByUser; }
|
|
46140
|
-
});
|
|
46141
46166
|
Object.defineProperty(exports, "ConnectedWorkflowStart", {
|
|
46142
46167
|
enumerable: true,
|
|
46143
46168
|
get: function () { return chunkOHWYQI3B_cjs.ConnectedWorkflowStart; }
|
|
@@ -46150,6 +46175,14 @@ Object.defineProperty(exports, "useLaunchWorkflow", {
|
|
|
46150
46175
|
enumerable: true,
|
|
46151
46176
|
get: function () { return chunkOHWYQI3B_cjs.useLaunchWorkflow; }
|
|
46152
46177
|
});
|
|
46178
|
+
Object.defineProperty(exports, "useConnectedThreadActivity", {
|
|
46179
|
+
enumerable: true,
|
|
46180
|
+
get: function () { return chunkDXZ6TPGP_cjs.useConnectedThreadActivity; }
|
|
46181
|
+
});
|
|
46182
|
+
Object.defineProperty(exports, "DocumentUser", {
|
|
46183
|
+
enumerable: true,
|
|
46184
|
+
get: function () { return chunkNFXHBTAO_cjs.DocumentUser; }
|
|
46185
|
+
});
|
|
46153
46186
|
Object.defineProperty(exports, "useCanBrowseSkills", {
|
|
46154
46187
|
enumerable: true,
|
|
46155
46188
|
get: function () { return chunkER2MRSLT_cjs.useCanBrowseSkills; }
|
|
@@ -46198,6 +46231,10 @@ Object.defineProperty(exports, "useViewerStreamingDocument", {
|
|
|
46198
46231
|
enumerable: true,
|
|
46199
46232
|
get: function () { return chunk4CIVQWAX_cjs.useViewerStreamingDocument; }
|
|
46200
46233
|
});
|
|
46234
|
+
Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
|
|
46235
|
+
enumerable: true,
|
|
46236
|
+
get: function () { return chunkJ5CBCUQE_cjs.ConnectedDocumentToolsProvider; }
|
|
46237
|
+
});
|
|
46201
46238
|
Object.defineProperty(exports, "FILES_PREFS_KEY", {
|
|
46202
46239
|
enumerable: true,
|
|
46203
46240
|
get: function () { return chunkDI6UEQCZ_cjs.FILES_PREFS_KEY; }
|
|
@@ -46322,29 +46359,25 @@ Object.defineProperty(exports, "useDocumentFolders", {
|
|
|
46322
46359
|
enumerable: true,
|
|
46323
46360
|
get: function () { return chunk5G33DATM_cjs.useDocumentFolders; }
|
|
46324
46361
|
});
|
|
46325
|
-
Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
|
|
46326
|
-
enumerable: true,
|
|
46327
|
-
get: function () { return chunkJ5CBCUQE_cjs.ConnectedDocumentToolsProvider; }
|
|
46328
|
-
});
|
|
46329
46362
|
Object.defineProperty(exports, "ConnectedWorkflowsTable", {
|
|
46330
46363
|
enumerable: true,
|
|
46331
|
-
get: function () { return
|
|
46364
|
+
get: function () { return chunkW3WPHMRB_cjs.ConnectedWorkflowsTable; }
|
|
46332
46365
|
});
|
|
46333
46366
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS", {
|
|
46334
46367
|
enumerable: true,
|
|
46335
|
-
get: function () { return
|
|
46368
|
+
get: function () { return chunkW3WPHMRB_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
|
|
46336
46369
|
});
|
|
46337
46370
|
Object.defineProperty(exports, "useConnectedWorkspaceRole", {
|
|
46338
46371
|
enumerable: true,
|
|
46339
|
-
get: function () { return
|
|
46372
|
+
get: function () { return chunkW3WPHMRB_cjs.useConnectedWorkspaceRole; }
|
|
46340
46373
|
});
|
|
46341
46374
|
Object.defineProperty(exports, "useDocxCommentTarget", {
|
|
46342
46375
|
enumerable: true,
|
|
46343
|
-
get: function () { return
|
|
46376
|
+
get: function () { return chunkW3WPHMRB_cjs.useDocxCommentTarget; }
|
|
46344
46377
|
});
|
|
46345
46378
|
Object.defineProperty(exports, "useNativeDocxSupport", {
|
|
46346
46379
|
enumerable: true,
|
|
46347
|
-
get: function () { return
|
|
46380
|
+
get: function () { return chunkW3WPHMRB_cjs.useNativeDocxSupport; }
|
|
46348
46381
|
});
|
|
46349
46382
|
Object.defineProperty(exports, "useOpenWorkflow", {
|
|
46350
46383
|
enumerable: true,
|
|
@@ -46368,7 +46401,7 @@ Object.defineProperty(exports, "useConnectedWorkflowScopeSource", {
|
|
|
46368
46401
|
});
|
|
46369
46402
|
Object.defineProperty(exports, "useMeetingThreadMessages", {
|
|
46370
46403
|
enumerable: true,
|
|
46371
|
-
get: function () { return
|
|
46404
|
+
get: function () { return chunkOEF4MYOJ_cjs.useMeetingThreadMessages; }
|
|
46372
46405
|
});
|
|
46373
46406
|
Object.defineProperty(exports, "ConnectedUserEntity", {
|
|
46374
46407
|
enumerable: true,
|