@arbidocs/blocks 0.5.139 → 0.5.140
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/{ConnectedCallDock-L27WYW4Y.cjs → ConnectedCallDock-ZNS5BS2R.cjs} +21 -21
- package/dist/{ConnectedCallDock-L27WYW4Y.cjs.map → ConnectedCallDock-ZNS5BS2R.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-ZXSS6CVG.cjs → ConnectedCallRoom-ACNVSFH7.cjs} +14 -14
- package/dist/{ConnectedCallRoom-ZXSS6CVG.cjs.map → ConnectedCallRoom-ACNVSFH7.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-X2O5OIYZ.cjs → ConnectedNativeDocxComparison-W4KIGO54.cjs} +15 -15
- package/dist/{ConnectedNativeDocxComparison-X2O5OIYZ.cjs.map → ConnectedNativeDocxComparison-W4KIGO54.cjs.map} +1 -1
- package/dist/{ConnectedPresentation-XVCFF25X.cjs → ConnectedPresentation-3JXN6SRT.cjs} +16 -16
- package/dist/{ConnectedPresentation-XVCFF25X.cjs.map → ConnectedPresentation-3JXN6SRT.cjs.map} +1 -1
- package/dist/{ConnectedProductionSetDialog-GM5D7IUG.cjs → ConnectedProductionSetDialog-EOWZQ6J3.cjs} +3 -3
- package/dist/{ConnectedProductionSetDialog-GM5D7IUG.cjs.map → ConnectedProductionSetDialog-EOWZQ6J3.cjs.map} +1 -1
- package/dist/{ConnectedSlidesTab-UG2NUFPS.cjs → ConnectedSlidesTab-IECS2MJI.cjs} +14 -14
- package/dist/{ConnectedSlidesTab-UG2NUFPS.cjs.map → ConnectedSlidesTab-IECS2MJI.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-BI6WFIAW.cjs → ConnectedStreamedWordArtifact-764NSXPQ.cjs} +15 -15
- package/dist/{ConnectedStreamedWordArtifact-BI6WFIAW.cjs.map → ConnectedStreamedWordArtifact-764NSXPQ.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-NZCGQ7SH.cjs → DocumentReviewCard-QPFP7BV7.cjs} +15 -15
- package/dist/{DocumentReviewCard-NZCGQ7SH.cjs.map → DocumentReviewCard-QPFP7BV7.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-NKDVTI6H.cjs → FilesViewerDialog-KBDKIQGD.cjs} +44 -44
- package/dist/{FilesViewerDialog-NKDVTI6H.cjs.map → FilesViewerDialog-KBDKIQGD.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-B5FAVVVA.cjs → WorkspaceTableView-HMQ6PXUC.cjs} +8 -8
- package/dist/{WorkspaceTableView-B5FAVVVA.cjs.map → WorkspaceTableView-HMQ6PXUC.cjs.map} +1 -1
- package/dist/agents/index.cjs +296 -296
- package/dist/{ai-XVDR2XYV.cjs → ai-QEXZ4SYR.cjs} +25 -25
- package/dist/ai-QEXZ4SYR.cjs.map +1 -0
- package/dist/calls/index.cjs +121 -121
- package/dist/chat/index.cjs +1 -1
- package/dist/{chunk-FYNNNQ6H.cjs → chunk-33GOYI3O.cjs} +4 -4
- package/dist/{chunk-FYNNNQ6H.cjs.map → chunk-33GOYI3O.cjs.map} +1 -1
- package/dist/{chunk-SHGUTM42.cjs → chunk-5Z22EXHJ.cjs} +7 -7
- package/dist/{chunk-SHGUTM42.cjs.map → chunk-5Z22EXHJ.cjs.map} +1 -1
- package/dist/{chunk-RJE6KXJQ.cjs → chunk-6CGMSJLB.cjs} +3 -3
- package/dist/{chunk-RJE6KXJQ.cjs.map → chunk-6CGMSJLB.cjs.map} +1 -1
- package/dist/{chunk-SS7IYHLK.cjs → chunk-C4Z6LOLA.cjs} +76 -76
- package/dist/{chunk-SS7IYHLK.cjs.map → chunk-C4Z6LOLA.cjs.map} +1 -1
- package/dist/{chunk-PA7YEXL3.cjs → chunk-C5APAFUY.cjs} +4 -4
- package/dist/{chunk-PA7YEXL3.cjs.map → chunk-C5APAFUY.cjs.map} +1 -1
- package/dist/{chunk-F5HT73TR.cjs → chunk-CESE7GLT.cjs} +50 -50
- package/dist/{chunk-F5HT73TR.cjs.map → chunk-CESE7GLT.cjs.map} +1 -1
- package/dist/{chunk-N5UI363Q.cjs → chunk-ECSOXKJQ.cjs} +3 -3
- package/dist/{chunk-N5UI363Q.cjs.map → chunk-ECSOXKJQ.cjs.map} +1 -1
- package/dist/{chunk-Q77OKXYM.cjs → chunk-EYXU32D7.cjs} +6 -6
- package/dist/{chunk-Q77OKXYM.cjs.map → chunk-EYXU32D7.cjs.map} +1 -1
- package/dist/{chunk-REP5GA2Z.cjs → chunk-FABKMTAI.cjs} +10 -10
- package/dist/{chunk-REP5GA2Z.cjs.map → chunk-FABKMTAI.cjs.map} +1 -1
- package/dist/{chunk-EY23TOPI.cjs → chunk-IFJBE7M5.cjs} +11 -11
- package/dist/{chunk-EY23TOPI.cjs.map → chunk-IFJBE7M5.cjs.map} +1 -1
- package/dist/{chunk-RYVZDFVO.cjs → chunk-JJZOL5MG.cjs} +3 -3
- package/dist/{chunk-RYVZDFVO.cjs.map → chunk-JJZOL5MG.cjs.map} +1 -1
- package/dist/{chunk-BT2QTDZ4.cjs → chunk-KP7BQIZL.cjs} +35 -35
- package/dist/{chunk-BT2QTDZ4.cjs.map → chunk-KP7BQIZL.cjs.map} +1 -1
- package/dist/{chunk-LWWPIYFD.cjs → chunk-LFMOQALU.cjs} +48 -48
- package/dist/{chunk-LWWPIYFD.cjs.map → chunk-LFMOQALU.cjs.map} +1 -1
- package/dist/{chunk-2WHI2PAJ.cjs → chunk-LG36LSVZ.cjs} +4 -4
- package/dist/{chunk-2WHI2PAJ.cjs.map → chunk-LG36LSVZ.cjs.map} +1 -1
- package/dist/{chunk-JXZM5ODS.cjs → chunk-MBXXWTKT.cjs} +28 -28
- package/dist/{chunk-JXZM5ODS.cjs.map → chunk-MBXXWTKT.cjs.map} +1 -1
- package/dist/{chunk-EHFSR633.cjs → chunk-MEYQLQWS.cjs} +13 -13
- package/dist/{chunk-EHFSR633.cjs.map → chunk-MEYQLQWS.cjs.map} +1 -1
- package/dist/{chunk-SUPCMKLP.cjs → chunk-MMMGOZYH.cjs} +4 -4
- package/dist/{chunk-SUPCMKLP.cjs.map → chunk-MMMGOZYH.cjs.map} +1 -1
- package/dist/{chunk-KZWPBL2P.cjs → chunk-OOW7H2YD.cjs} +6 -6
- package/dist/{chunk-KZWPBL2P.cjs.map → chunk-OOW7H2YD.cjs.map} +1 -1
- package/dist/{chunk-YEGOCUBR.cjs → chunk-ORQXGMCC.cjs} +15 -15
- package/dist/{chunk-YEGOCUBR.cjs.map → chunk-ORQXGMCC.cjs.map} +1 -1
- package/dist/{chunk-DT4ORVVI.cjs → chunk-QFXOTJ6G.cjs} +3 -3
- package/dist/{chunk-DT4ORVVI.cjs.map → chunk-QFXOTJ6G.cjs.map} +1 -1
- package/dist/{chunk-CKKODA5B.cjs → chunk-R5NTEW4L.cjs} +26 -26
- package/dist/{chunk-CKKODA5B.cjs.map → chunk-R5NTEW4L.cjs.map} +1 -1
- package/dist/{chunk-K3WSXEEI.cjs → chunk-RSQGDXAF.cjs} +3 -3
- package/dist/{chunk-K3WSXEEI.cjs.map → chunk-RSQGDXAF.cjs.map} +1 -1
- package/dist/{chunk-TIBTTITZ.cjs → chunk-SK6LFIU2.cjs} +3 -3
- package/dist/{chunk-TIBTTITZ.cjs.map → chunk-SK6LFIU2.cjs.map} +1 -1
- package/dist/{chunk-G7E5IJST.cjs → chunk-TENWM7BH.cjs} +5 -5
- package/dist/{chunk-G7E5IJST.cjs.map → chunk-TENWM7BH.cjs.map} +1 -1
- package/dist/{chunk-6JI4AXAY.cjs → chunk-TOYKBRAU.cjs} +12 -12
- package/dist/{chunk-6JI4AXAY.cjs.map → chunk-TOYKBRAU.cjs.map} +1 -1
- package/dist/{chunk-CYA7MDHZ.cjs → chunk-TXBXIUTX.cjs} +6 -6
- package/dist/{chunk-CYA7MDHZ.cjs.map → chunk-TXBXIUTX.cjs.map} +1 -1
- package/dist/{chunk-RDBUQCAS.cjs → chunk-U6XMZG6G.cjs} +3 -3
- package/dist/{chunk-RDBUQCAS.cjs.map → chunk-U6XMZG6G.cjs.map} +1 -1
- package/dist/{chunk-LYDPVFNS.cjs → chunk-UD56Y6UA.cjs} +4 -4
- package/dist/{chunk-LYDPVFNS.cjs.map → chunk-UD56Y6UA.cjs.map} +1 -1
- package/dist/{chunk-DNWJUTK6.cjs → chunk-UWTCK5IN.cjs} +6 -6
- package/dist/{chunk-DNWJUTK6.cjs.map → chunk-UWTCK5IN.cjs.map} +1 -1
- package/dist/{chunk-7HU2NQVO.cjs → chunk-VCDD763Y.cjs} +3 -3
- package/dist/{chunk-7HU2NQVO.cjs.map → chunk-VCDD763Y.cjs.map} +1 -1
- package/dist/{chunk-HG72AVXX.cjs → chunk-VF26CUE3.cjs} +3 -3
- package/dist/{chunk-HG72AVXX.cjs.map → chunk-VF26CUE3.cjs.map} +1 -1
- package/dist/{chunk-7YIN4Q63.cjs → chunk-X46QYO4S.cjs} +4 -4
- package/dist/{chunk-7YIN4Q63.cjs.map → chunk-X46QYO4S.cjs.map} +1 -1
- package/dist/{chunk-TKWYFNWW.cjs → chunk-Z5YJKM57.cjs} +64 -64
- package/dist/{chunk-TKWYFNWW.cjs.map → chunk-Z5YJKM57.cjs.map} +1 -1
- package/dist/{chunk-N7B5OAI5.cjs → chunk-ZPIZINH2.cjs} +4 -4
- package/dist/{chunk-N7B5OAI5.cjs.map → chunk-ZPIZINH2.cjs.map} +1 -1
- package/dist/{chunk-RFPZKHZ6.cjs → chunk-ZTHYJP4G.cjs} +7 -7
- package/dist/{chunk-RFPZKHZ6.cjs.map → chunk-ZTHYJP4G.cjs.map} +1 -1
- package/dist/connect/docx.cjs +18 -18
- package/dist/connect/index.cjs +991 -991
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/viewer.cjs +32 -32
- package/dist/connection/notification-center/NotificationEvent.js +1 -1
- package/dist/connection/notification-center/NotificationEvent.js.map +1 -1
- package/dist/dashboards/index.cjs +1 -1
- package/dist/embed/index.cjs +38 -38
- package/dist/files/index.cjs +224 -224
- package/dist/index.cjs +1725 -1725
- package/dist/settings/index.cjs +146 -146
- package/dist/shell/index.cjs +87 -87
- package/dist/studio/index.cjs +28 -28
- package/dist/vite/index.cjs +11 -10
- package/dist/vite/index.cjs.map +1 -1
- package/dist/vite/index.d.ts +4 -13
- package/dist/vite/index.js +11 -10
- package/dist/vite/index.js.map +1 -1
- package/dist/workflow-canvas/index.cjs +52 -52
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ai-XVDR2XYV.cjs.map +0 -1
package/dist/connect/viewer.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkZ5YJKM57_cjs = require('../chunk-Z5YJKM57.cjs');
|
|
5
5
|
require('../chunk-JITYC4OS.cjs');
|
|
6
6
|
require('../chunk-WVZLAAIZ.cjs');
|
|
7
7
|
require('../chunk-X7ALF4MP.cjs');
|
|
@@ -9,19 +9,19 @@ require('../chunk-4CIVQWAX.cjs');
|
|
|
9
9
|
var chunk57LUHZLV_cjs = require('../chunk-57LUHZLV.cjs');
|
|
10
10
|
require('../chunk-QWVUBTW3.cjs');
|
|
11
11
|
require('../chunk-JVEDKKNO.cjs');
|
|
12
|
-
require('../chunk-
|
|
13
|
-
require('../chunk-
|
|
14
|
-
require('../chunk-
|
|
15
|
-
require('../chunk-
|
|
12
|
+
require('../chunk-UD56Y6UA.cjs');
|
|
13
|
+
require('../chunk-SK6LFIU2.cjs');
|
|
14
|
+
require('../chunk-KP7BQIZL.cjs');
|
|
15
|
+
require('../chunk-C5APAFUY.cjs');
|
|
16
16
|
require('../chunk-HYUKPHCT.cjs');
|
|
17
|
-
require('../chunk-
|
|
17
|
+
require('../chunk-ZPIZINH2.cjs');
|
|
18
18
|
require('../chunk-223D4727.cjs');
|
|
19
19
|
require('../chunk-SNUBQMIS.cjs');
|
|
20
|
-
require('../chunk-
|
|
20
|
+
require('../chunk-FABKMTAI.cjs');
|
|
21
21
|
require('../chunk-4ONPEVTP.cjs');
|
|
22
22
|
require('../chunk-V3KLUWQQ.cjs');
|
|
23
23
|
require('../chunk-OA3AN6WW.cjs');
|
|
24
|
-
require('../chunk-
|
|
24
|
+
require('../chunk-OOW7H2YD.cjs');
|
|
25
25
|
require('../chunk-3RAW2ZH5.cjs');
|
|
26
26
|
require('../chunk-ETMSINQS.cjs');
|
|
27
27
|
require('../chunk-OUYBYZ7Y.cjs');
|
|
@@ -30,45 +30,33 @@ require('../chunk-DTMBAFIL.cjs');
|
|
|
30
30
|
require('../chunk-7NJKDJVO.cjs');
|
|
31
31
|
require('../chunk-LIDXIX36.cjs');
|
|
32
32
|
require('../chunk-34HQO4ZQ.cjs');
|
|
33
|
-
require('../chunk-
|
|
34
|
-
require('../chunk-EY23TOPI.cjs');
|
|
33
|
+
require('../chunk-IFJBE7M5.cjs');
|
|
35
34
|
require('../chunk-K4763GD5.cjs');
|
|
36
35
|
require('../chunk-2RLA6QO2.cjs');
|
|
37
36
|
require('../chunk-MZZ3SBQL.cjs');
|
|
38
|
-
require('../chunk-
|
|
39
|
-
require('../chunk-
|
|
37
|
+
require('../chunk-VCDD763Y.cjs');
|
|
38
|
+
require('../chunk-ECSOXKJQ.cjs');
|
|
40
39
|
require('../chunk-WQMR3O2D.cjs');
|
|
41
40
|
require('../chunk-NZNBJF3M.cjs');
|
|
42
41
|
require('../chunk-NWNVWO6L.cjs');
|
|
43
42
|
require('../chunk-SK6HQ46Q.cjs');
|
|
44
|
-
require('../chunk-DEXUL3T6.cjs');
|
|
45
|
-
require('../chunk-AFQTQC7A.cjs');
|
|
46
|
-
require('../chunk-XJEXFEWG.cjs');
|
|
47
|
-
require('../chunk-Z2XZ2D4N.cjs');
|
|
48
|
-
require('../chunk-YZSQ7F5K.cjs');
|
|
49
|
-
require('../chunk-MCXS6X37.cjs');
|
|
50
|
-
require('../chunk-KQF7POTG.cjs');
|
|
51
43
|
require('../chunk-TG2GM7WJ.cjs');
|
|
44
|
+
require('../chunk-MNIQDXM6.cjs');
|
|
45
|
+
require('../chunk-T6WA6S5T.cjs');
|
|
52
46
|
require('../chunk-L62EU3TQ.cjs');
|
|
53
|
-
require('../chunk-75BNMCUX.cjs');
|
|
54
47
|
require('../chunk-OEJQFPWO.cjs');
|
|
55
48
|
require('../chunk-OYXWQTHF.cjs');
|
|
56
49
|
require('../chunk-S237ORM3.cjs');
|
|
57
50
|
require('../chunk-II2OEXHW.cjs');
|
|
58
|
-
require('../chunk-
|
|
59
|
-
require('../chunk-RYVZDFVO.cjs');
|
|
51
|
+
require('../chunk-JJZOL5MG.cjs');
|
|
60
52
|
require('../chunk-3YEXZX4H.cjs');
|
|
61
53
|
require('../chunk-4PA6VCCR.cjs');
|
|
62
|
-
require('../chunk-
|
|
54
|
+
require('../chunk-RSQGDXAF.cjs');
|
|
63
55
|
require('../chunk-AHDJXIUB.cjs');
|
|
64
56
|
require('../chunk-RL2HI6NP.cjs');
|
|
65
57
|
require('../chunk-6UZC4XVV.cjs');
|
|
66
58
|
require('../chunk-S5OGPQSB.cjs');
|
|
67
|
-
require('../chunk-EQTZQD66.cjs');
|
|
68
|
-
require('../chunk-JN5YMHGI.cjs');
|
|
69
|
-
require('../chunk-UDSHVNU3.cjs');
|
|
70
59
|
require('../chunk-OUGRCQM7.cjs');
|
|
71
|
-
require('../chunk-IPSHAMO2.cjs');
|
|
72
60
|
require('../chunk-ZVEW3JBT.cjs');
|
|
73
61
|
require('../chunk-MHIG6GGS.cjs');
|
|
74
62
|
require('../chunk-VG24E4JJ.cjs');
|
|
@@ -80,21 +68,33 @@ require('../chunk-CENMN32L.cjs');
|
|
|
80
68
|
require('../chunk-YKOPKLYP.cjs');
|
|
81
69
|
require('../chunk-3YZKDCWY.cjs');
|
|
82
70
|
require('../chunk-SJSGSHIT.cjs');
|
|
83
|
-
require('../chunk-PPCATBOY.cjs');
|
|
84
71
|
require('../chunk-ZW6FPIFC.cjs');
|
|
85
|
-
require('../chunk-
|
|
86
|
-
require('../chunk-
|
|
87
|
-
require('../chunk-
|
|
72
|
+
require('../chunk-CT3SLXB7.cjs');
|
|
73
|
+
require('../chunk-DEXUL3T6.cjs');
|
|
74
|
+
require('../chunk-AFQTQC7A.cjs');
|
|
75
|
+
require('../chunk-XJEXFEWG.cjs');
|
|
76
|
+
require('../chunk-Z2XZ2D4N.cjs');
|
|
77
|
+
require('../chunk-YZSQ7F5K.cjs');
|
|
78
|
+
require('../chunk-MCXS6X37.cjs');
|
|
79
|
+
require('../chunk-KQF7POTG.cjs');
|
|
80
|
+
require('../chunk-75BNMCUX.cjs');
|
|
81
|
+
require('../chunk-FX3K6LNZ.cjs');
|
|
82
|
+
require('../chunk-EQTZQD66.cjs');
|
|
83
|
+
require('../chunk-JN5YMHGI.cjs');
|
|
84
|
+
require('../chunk-UDSHVNU3.cjs');
|
|
85
|
+
require('../chunk-IPSHAMO2.cjs');
|
|
86
|
+
require('../chunk-PPCATBOY.cjs');
|
|
88
87
|
require('../chunk-LIKDQBNJ.cjs');
|
|
89
88
|
require('../chunk-YZBDHBKI.cjs');
|
|
90
89
|
require('../chunk-CVPV4I7Z.cjs');
|
|
90
|
+
require('../chunk-LJJJ6CYH.cjs');
|
|
91
91
|
require('../chunk-PLIF5CUV.cjs');
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
Object.defineProperty(exports, "ConnectedDocumentViewer", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkZ5YJKM57_cjs.ConnectedDocumentViewer; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
|
|
100
100
|
enumerable: true,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
signatureNotificationPhrase,
|
|
18
18
|
signatureRequestMeta
|
|
19
19
|
} from "@arbidocs/react";
|
|
20
|
-
const ACTION_CLASS = "ml-auto flex-shrink-0 rounded-md bg-accent px-2 py-0.5 text-xs font-medium text-primary transition-colors hover:bg-primary/10";
|
|
20
|
+
const ACTION_CLASS = "relative ml-auto flex-shrink-0 rounded-md bg-accent px-2 py-0.5 text-xs font-medium text-primary transition-colors hover:bg-primary/10 pointer-coarse:after:absolute pointer-coarse:after:inset-x-0 pointer-coarse:after:-inset-y-3 pointer-coarse:after:content-['']";
|
|
21
21
|
const PHRASE_CLASS = "min-w-0 shrink-[2] truncate text-sm";
|
|
22
22
|
function ActionButton({ label, onClick }) {
|
|
23
23
|
return /* @__PURE__ */ jsx(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/connection/notification-center/NotificationEvent.tsx"],
|
|
4
|
-
"sourcesContent": ["/**\n * The Event cell of the notification centre: what happened, as a sentence around the people and\n * documents involved, with the action that opens it. A received notification reads from the\n * recipient's side (\"[Priya] mentioned you in a conversation\"), a sent one from the sender's\n * (\"You mentioned [Sam] in a conversation\"), a session-log entry as it was toasted.\n */\nimport type { ComponentType, ReactElement, ReactNode } from 'react'\nimport {\n BOX_SEAT_REFUSED,\n BOX_SEAT_REFUSED_TITLE,\n WORK_NOTIFICATION_LABELS,\n describeServerNotification,\n describeCalendarNotification,\n notificationUserName,\n documentActivityPhrase,\n getWorkspaceActionText,\n getWorkspaceSentPhrase,\n inputRequestTitle,\n isDeploymentUserNotification,\n isSignatureNotificationType,\n isWorkspaceNotificationType,\n signatureNotificationPhrase,\n signatureRequestMeta,\n type NotificationTarget,\n type SignatureNotificationType,\n} from '@arbidocs/react'\nimport type { NotificationCenterItem, NotificationRow } from './items'\n\nexport type NotificationUser = NotificationRow['sender']\n\nexport interface NotificationDocumentChipProps {\n documentId: string\n workspaceId?: string | null\n /** Open the document. */\n onOpen: () => void\n /** What to show when the document is not known here (its name is encrypted per workspace). */\n fallback: ReactNode\n}\n\n/** How the host draws people, workspaces and documents in the list. */\nexport interface NotificationCenterRenderers {\n /** A person's pill. */\n renderUser: (user: NotificationUser) => ReactNode\n /** A workspace's badge (the Category of a workspace's notification), or null when the host\n * does not know the workspace (the type's own category shows instead). */\n renderWorkspace: (workspaceId: string) => ReactNode | null\n /** A signature notification's document: its chip when known, else `fallback`. */\n DocumentChip: ComponentType<NotificationDocumentChipProps>\n}\n\nconst ACTION_CLASS =\n 'ml-auto flex-shrink-0 rounded-md bg-accent px-2 py-0.5 text-xs font-medium text-primary transition-colors hover:bg-primary/10'\nconst PHRASE_CLASS = 'min-w-0 shrink-[2] truncate text-sm'\n\nfunction ActionButton({ label, onClick }: { label: string; onClick: () => void }) {\n return (\n <button\n type=\"button\"\n onClick={(e) => {\n e.stopPropagation()\n onClick()\n }}\n className={ACTION_CLASS}\n data-testid=\"notification-action-button\"\n >\n {label}\n </button>\n )\n}\n\n/** \"[person] {phrase}\" \u2014 the row line most notifications are. */\nfunction PersonLine({ person, children }: { person: ReactNode; children: ReactNode }) {\n return (\n <div className=\"flex h-full items-center gap-1.5 text-muted-foreground\">\n {person}\n {children}\n </div>\n )\n}\n\nfunction SignatureEvent({\n row,\n isIncoming,\n open,\n renderers,\n action,\n}: {\n row: NotificationRow\n isIncoming: boolean\n open: (target: NotificationTarget) => void\n renderers: NotificationCenterRenderers\n /** The row's action (Review and sign), on the document's line. */\n action?: ReactNode\n}): ReactElement {\n const type = row.type as SignatureNotificationType\n const { lead, showPerson, verb, tail } = signatureNotificationPhrase(type, isIncoming)\n const { documentId } = signatureRequestMeta(row.content)\n const target = describeServerNotification(row)?.target\n const openIt = () => target && open(target)\n const { DocumentChip } = renderers\n const unnamed = (\n <>\n <span className=\"min-w-0 truncate text-sm\">\n {type === 'signature_requested' ? 'a document' : 'the document'}\n </span>\n </>\n )\n // Two short lines, so a narrow panel still shows who and which document: the person and what\n // they did, then the document and the action (beside both lines, it left the first one no room). The fixed wording gives way first; the person's name\n // never yields to it.\n const wording = 'min-w-0 shrink-[100] truncate text-sm'\n return (\n <div\n className=\"flex h-full min-w-0 flex-col justify-center gap-0.5 text-muted-foreground\"\n data-testid=\"notification-signature\"\n >\n <div className=\"flex min-w-0 items-center gap-1.5 leading-5\">\n {lead && <span className={wording}>{lead}</span>}\n {showPerson && (\n <span\n className=\"flex max-w-full min-w-0 shrink-0\"\n data-testid=\"notification-signature-person\"\n >\n {renderers.renderUser(isIncoming ? row.sender : row.recipient)}\n </span>\n )}\n {verb && <span className={wording}>{verb}</span>}\n </div>\n <div className=\"flex min-w-0 items-center gap-1.5 leading-5\">\n {documentId ? (\n <DocumentChip\n documentId={documentId}\n workspaceId={row.workspace_ext_id}\n onOpen={openIt}\n fallback={unnamed}\n />\n ) : (\n unnamed\n )}\n {tail && <span className={wording}>{tail.trim()}</span>}\n {action}\n </div>\n </div>\n )\n}\n\nfunction PersistedEvent({\n item,\n row,\n open,\n renderers,\n action,\n}: {\n item: NotificationCenterItem\n row: NotificationRow\n open: (target: NotificationTarget) => void\n renderers: NotificationCenterRenderers\n action?: ReactNode\n}): ReactElement {\n const { sender, recipient } = row\n const type = row.type as string\n const isIncoming = item.kind === 'incoming'\n const user = renderers.renderUser\n\n if (type === 'file_shared') {\n const entry = describeServerNotification(row)\n return (\n <div className=\"flex h-full items-center gap-2 text-sm\">\n <span>{entry?.title}</span>\n </div>\n )\n }\n\n // Workspace membership, from the recipient's or sender's perspective.\n if (isWorkspaceNotificationType(type)) {\n if (isIncoming)\n return (\n <PersonLine person={user(sender)}>\n <span className={PHRASE_CLASS}>{getWorkspaceActionText(type)}</span>\n </PersonLine>\n )\n const { before, after } = getWorkspaceSentPhrase(type)\n return (\n <div className=\"flex items-center h-full gap-1.5 text-muted-foreground\">\n <span className={PHRASE_CLASS}>{before}</span>\n {user(recipient)}\n {after && <span className={PHRASE_CLASS}>{after}</span>}\n </div>\n )\n }\n\n if (type === 'contact_accepted') {\n if (isIncoming)\n return (\n <PersonLine person={user(sender)}>\n <span className={`${PHRASE_CLASS} italic`}>\n {row.content || 'accepted your invitation to join the platform'}\n </span>\n </PersonLine>\n )\n return (\n <div className=\"flex items-center h-full gap-1.5 text-muted-foreground\">\n <span className={`${PHRASE_CLASS} italic`}>\n {row.content || 'Accepted an invitation to join the platform'}\n </span>\n </div>\n )\n }\n\n // A workspace access request: received, \"Review\" opens the grant flow.\n if (type === 'workspace_access_request') {\n if (isIncoming)\n return (\n <PersonLine person={user(sender)}>\n <span className={PHRASE_CLASS}>requested workspace access</span>\n </PersonLine>\n )\n return (\n <div className=\"flex items-center h-full gap-1.5 text-muted-foreground\">\n <span className={PHRASE_CLASS}>Requested workspace access from</span>\n {user(recipient)}\n </div>\n )\n }\n\n // A Box admin's notice: someone was invited or joined. Same sentence as the bell and toast,\n // with \"Manage users\" to the portal when the link is a trusted portal URL.\n if (isDeploymentUserNotification(type)) {\n const entry = describeServerNotification(row)\n return (\n <div\n className=\"flex h-full items-center gap-1.5 text-sm text-muted-foreground\"\n data-testid=\"notification-deployment-user\"\n >\n <span className=\"min-w-0 truncate\" title={entry?.title}>\n {entry?.title}\n </span>\n </div>\n )\n }\n\n // Self-notifications: a refused Box seat, a signup bonus, a reward.\n const selfLine =\n type === BOX_SEAT_REFUSED\n ? BOX_SEAT_REFUSED_TITLE\n : type === 'signup_reward'\n ? `Signup bonus \u2014 ${row.content || 'You earned a signup bonus'}`\n : type === 'referral_reward'\n ? `Reward earned \u2014 ${row.content || 'You earned a reward'}`\n : null\n if (selfLine)\n return (\n <div className=\"flex items-center h-full text-sm text-muted-foreground\">\n <span className=\"min-w-0 truncate\">{selfLine}</span>\n </div>\n )\n\n // An @mention: name the person and offer \"Open\" to jump to the message.\n if (type === 'mention' || type === 'docx_mention') {\n const inDocument = type === 'docx_mention'\n return (\n <div className=\"flex h-full items-center gap-1.5 text-muted-foreground\">\n {!isIncoming && <span className=\"text-sm\">You mentioned</span>}\n {isIncoming ? user(sender) : user(recipient)}\n <span className={PHRASE_CLASS}>\n {inDocument\n ? isIncoming\n ? 'mentioned you in a document comment'\n : 'in a document comment'\n : isIncoming\n ? 'mentioned you in a conversation'\n : 'in a conversation'}\n </span>\n </div>\n )\n }\n\n // A reply in a thread you take part in, or a new version of a document you own. Only\n // received: nobody is sent their own.\n if (type === 'thread_reply' || type === 'document_activity') {\n return (\n <div\n className=\"flex h-full items-center gap-1.5 text-muted-foreground\"\n data-testid=\"notification-relevance\"\n >\n {user(sender)}\n <span className={PHRASE_CLASS}>\n {type === 'thread_reply' ? 'replied in a thread' : documentActivityPhrase(row.content)}\n </span>\n </div>\n )\n }\n\n if (isSignatureNotificationType(type))\n return (\n <SignatureEvent\n row={row}\n isIncoming={isIncoming}\n open={open}\n renderers={renderers}\n action={action}\n />\n )\n\n // Work notifications \u2014 a task is a conversation, so the notification links straight to it.\n const workLabel =\n type === 'agent_input_requested'\n ? inputRequestTitle(row.content)\n : WORK_NOTIFICATION_LABELS[type]\n if (workLabel)\n return (\n <div\n className=\"flex h-full items-center gap-1.5 text-sm text-muted-foreground\"\n title={workLabel}\n data-testid=\"notification-work\"\n >\n <span className={`min-w-0 truncate ${type === 'workflow_failed' ? 'text-red-text' : ''}`}>\n {workLabel}\n </span>\n </div>\n )\n\n return (\n <div className=\"flex items-center h-full text-sm text-muted-foreground\">\n {(\n describeCalendarNotification(row, { senderName: notificationUserName(row.sender) }) ??\n describeServerNotification(row)\n )?.title ??\n row.content ??\n type ??\n 'Notification'}\n </div>\n )\n}\n\n/** A session-log entry: its message as toasted (+ its action while this session lasts). */\nfunction SessionEvent({\n item,\n open,\n}: {\n item: NotificationCenterItem\n open: (target: NotificationTarget) => void\n}): ReactElement | null {\n const entry = item.entry\n if (!entry) return null\n return (\n <div\n className=\"flex h-full items-center gap-2 text-sm text-muted-foreground\"\n title={entry.title}\n >\n {entry.html ? (\n <span className=\"min-w-0 truncate\" dangerouslySetInnerHTML={{ __html: entry.html }} />\n ) : (\n <span className=\"min-w-0 truncate\">{entry.title}</span>\n )}\n {(entry.onSelect || entry.href) && (\n <ActionButton\n label={entry.actionLabel ?? 'Open'}\n onClick={() => {\n if (entry.onSelect) entry.onSelect()\n else if (entry.href) open({ kind: 'url', url: entry.href })\n }}\n />\n )}\n </div>\n )\n}\n\nexport function NotificationEvent({\n item,\n open,\n renderers,\n}: {\n item: NotificationCenterItem\n open: (target: NotificationTarget) => void\n renderers: NotificationCenterRenderers\n}): ReactElement | null {\n if (!item.persisted) return <SessionEvent item={item} open={open} />\n if (!item.row) return null\n const described =\n describeCalendarNotification(item.row, { senderName: notificationUserName(item.row.sender) }) ??\n describeServerNotification(item.row)\n const action = described?.target && (\n <ActionButton label={described.actionLabel ?? 'Open'} onClick={() => open(described.target!)} />\n )\n // A signature event is two lines: its action goes on the document's line, so the first keeps the\n // room to say who asked and what.\n const ownLine = isSignatureNotificationType(item.row.type as string)\n return (\n <div className=\"flex h-full min-w-0 items-center gap-2\">\n <div className=\"min-w-0 flex-1\">\n <PersistedEvent\n item={item}\n row={item.row}\n open={open}\n renderers={renderers}\n action={ownLine ? action : undefined}\n />\n </div>\n {!ownLine && action}\n </div>\n )\n}\n"],
|
|
4
|
+
"sourcesContent": ["/**\n * The Event cell of the notification centre: what happened, as a sentence around the people and\n * documents involved, with the action that opens it. A received notification reads from the\n * recipient's side (\"[Priya] mentioned you in a conversation\"), a sent one from the sender's\n * (\"You mentioned [Sam] in a conversation\"), a session-log entry as it was toasted.\n */\nimport type { ComponentType, ReactElement, ReactNode } from 'react'\nimport {\n BOX_SEAT_REFUSED,\n BOX_SEAT_REFUSED_TITLE,\n WORK_NOTIFICATION_LABELS,\n describeServerNotification,\n describeCalendarNotification,\n notificationUserName,\n documentActivityPhrase,\n getWorkspaceActionText,\n getWorkspaceSentPhrase,\n inputRequestTitle,\n isDeploymentUserNotification,\n isSignatureNotificationType,\n isWorkspaceNotificationType,\n signatureNotificationPhrase,\n signatureRequestMeta,\n type NotificationTarget,\n type SignatureNotificationType,\n} from '@arbidocs/react'\nimport type { NotificationCenterItem, NotificationRow } from './items'\n\nexport type NotificationUser = NotificationRow['sender']\n\nexport interface NotificationDocumentChipProps {\n documentId: string\n workspaceId?: string | null\n /** Open the document. */\n onOpen: () => void\n /** What to show when the document is not known here (its name is encrypted per workspace). */\n fallback: ReactNode\n}\n\n/** How the host draws people, workspaces and documents in the list. */\nexport interface NotificationCenterRenderers {\n /** A person's pill. */\n renderUser: (user: NotificationUser) => ReactNode\n /** A workspace's badge (the Category of a workspace's notification), or null when the host\n * does not know the workspace (the type's own category shows instead). */\n renderWorkspace: (workspaceId: string) => ReactNode | null\n /** A signature notification's document: its chip when known, else `fallback`. */\n DocumentChip: ComponentType<NotificationDocumentChipProps>\n}\n\nconst ACTION_CLASS =\n \"relative ml-auto flex-shrink-0 rounded-md bg-accent px-2 py-0.5 text-xs font-medium text-primary transition-colors hover:bg-primary/10 pointer-coarse:after:absolute pointer-coarse:after:inset-x-0 pointer-coarse:after:-inset-y-3 pointer-coarse:after:content-['']\"\nconst PHRASE_CLASS = 'min-w-0 shrink-[2] truncate text-sm'\n\nfunction ActionButton({ label, onClick }: { label: string; onClick: () => void }) {\n return (\n <button\n type=\"button\"\n onClick={(e) => {\n e.stopPropagation()\n onClick()\n }}\n className={ACTION_CLASS}\n data-testid=\"notification-action-button\"\n >\n {label}\n </button>\n )\n}\n\n/** \"[person] {phrase}\" \u2014 the row line most notifications are. */\nfunction PersonLine({ person, children }: { person: ReactNode; children: ReactNode }) {\n return (\n <div className=\"flex h-full items-center gap-1.5 text-muted-foreground\">\n {person}\n {children}\n </div>\n )\n}\n\nfunction SignatureEvent({\n row,\n isIncoming,\n open,\n renderers,\n action,\n}: {\n row: NotificationRow\n isIncoming: boolean\n open: (target: NotificationTarget) => void\n renderers: NotificationCenterRenderers\n /** The row's action (Review and sign), on the document's line. */\n action?: ReactNode\n}): ReactElement {\n const type = row.type as SignatureNotificationType\n const { lead, showPerson, verb, tail } = signatureNotificationPhrase(type, isIncoming)\n const { documentId } = signatureRequestMeta(row.content)\n const target = describeServerNotification(row)?.target\n const openIt = () => target && open(target)\n const { DocumentChip } = renderers\n const unnamed = (\n <>\n <span className=\"min-w-0 truncate text-sm\">\n {type === 'signature_requested' ? 'a document' : 'the document'}\n </span>\n </>\n )\n // Two short lines, so a narrow panel still shows who and which document: the person and what\n // they did, then the document and the action (beside both lines, it left the first one no room). The fixed wording gives way first; the person's name\n // never yields to it.\n const wording = 'min-w-0 shrink-[100] truncate text-sm'\n return (\n <div\n className=\"flex h-full min-w-0 flex-col justify-center gap-0.5 text-muted-foreground\"\n data-testid=\"notification-signature\"\n >\n <div className=\"flex min-w-0 items-center gap-1.5 leading-5\">\n {lead && <span className={wording}>{lead}</span>}\n {showPerson && (\n <span\n className=\"flex max-w-full min-w-0 shrink-0\"\n data-testid=\"notification-signature-person\"\n >\n {renderers.renderUser(isIncoming ? row.sender : row.recipient)}\n </span>\n )}\n {verb && <span className={wording}>{verb}</span>}\n </div>\n <div className=\"flex min-w-0 items-center gap-1.5 leading-5\">\n {documentId ? (\n <DocumentChip\n documentId={documentId}\n workspaceId={row.workspace_ext_id}\n onOpen={openIt}\n fallback={unnamed}\n />\n ) : (\n unnamed\n )}\n {tail && <span className={wording}>{tail.trim()}</span>}\n {action}\n </div>\n </div>\n )\n}\n\nfunction PersistedEvent({\n item,\n row,\n open,\n renderers,\n action,\n}: {\n item: NotificationCenterItem\n row: NotificationRow\n open: (target: NotificationTarget) => void\n renderers: NotificationCenterRenderers\n action?: ReactNode\n}): ReactElement {\n const { sender, recipient } = row\n const type = row.type as string\n const isIncoming = item.kind === 'incoming'\n const user = renderers.renderUser\n\n if (type === 'file_shared') {\n const entry = describeServerNotification(row)\n return (\n <div className=\"flex h-full items-center gap-2 text-sm\">\n <span>{entry?.title}</span>\n </div>\n )\n }\n\n // Workspace membership, from the recipient's or sender's perspective.\n if (isWorkspaceNotificationType(type)) {\n if (isIncoming)\n return (\n <PersonLine person={user(sender)}>\n <span className={PHRASE_CLASS}>{getWorkspaceActionText(type)}</span>\n </PersonLine>\n )\n const { before, after } = getWorkspaceSentPhrase(type)\n return (\n <div className=\"flex items-center h-full gap-1.5 text-muted-foreground\">\n <span className={PHRASE_CLASS}>{before}</span>\n {user(recipient)}\n {after && <span className={PHRASE_CLASS}>{after}</span>}\n </div>\n )\n }\n\n if (type === 'contact_accepted') {\n if (isIncoming)\n return (\n <PersonLine person={user(sender)}>\n <span className={`${PHRASE_CLASS} italic`}>\n {row.content || 'accepted your invitation to join the platform'}\n </span>\n </PersonLine>\n )\n return (\n <div className=\"flex items-center h-full gap-1.5 text-muted-foreground\">\n <span className={`${PHRASE_CLASS} italic`}>\n {row.content || 'Accepted an invitation to join the platform'}\n </span>\n </div>\n )\n }\n\n // A workspace access request: received, \"Review\" opens the grant flow.\n if (type === 'workspace_access_request') {\n if (isIncoming)\n return (\n <PersonLine person={user(sender)}>\n <span className={PHRASE_CLASS}>requested workspace access</span>\n </PersonLine>\n )\n return (\n <div className=\"flex items-center h-full gap-1.5 text-muted-foreground\">\n <span className={PHRASE_CLASS}>Requested workspace access from</span>\n {user(recipient)}\n </div>\n )\n }\n\n // A Box admin's notice: someone was invited or joined. Same sentence as the bell and toast,\n // with \"Manage users\" to the portal when the link is a trusted portal URL.\n if (isDeploymentUserNotification(type)) {\n const entry = describeServerNotification(row)\n return (\n <div\n className=\"flex h-full items-center gap-1.5 text-sm text-muted-foreground\"\n data-testid=\"notification-deployment-user\"\n >\n <span className=\"min-w-0 truncate\" title={entry?.title}>\n {entry?.title}\n </span>\n </div>\n )\n }\n\n // Self-notifications: a refused Box seat, a signup bonus, a reward.\n const selfLine =\n type === BOX_SEAT_REFUSED\n ? BOX_SEAT_REFUSED_TITLE\n : type === 'signup_reward'\n ? `Signup bonus \u2014 ${row.content || 'You earned a signup bonus'}`\n : type === 'referral_reward'\n ? `Reward earned \u2014 ${row.content || 'You earned a reward'}`\n : null\n if (selfLine)\n return (\n <div className=\"flex items-center h-full text-sm text-muted-foreground\">\n <span className=\"min-w-0 truncate\">{selfLine}</span>\n </div>\n )\n\n // An @mention: name the person and offer \"Open\" to jump to the message.\n if (type === 'mention' || type === 'docx_mention') {\n const inDocument = type === 'docx_mention'\n return (\n <div className=\"flex h-full items-center gap-1.5 text-muted-foreground\">\n {!isIncoming && <span className=\"text-sm\">You mentioned</span>}\n {isIncoming ? user(sender) : user(recipient)}\n <span className={PHRASE_CLASS}>\n {inDocument\n ? isIncoming\n ? 'mentioned you in a document comment'\n : 'in a document comment'\n : isIncoming\n ? 'mentioned you in a conversation'\n : 'in a conversation'}\n </span>\n </div>\n )\n }\n\n // A reply in a thread you take part in, or a new version of a document you own. Only\n // received: nobody is sent their own.\n if (type === 'thread_reply' || type === 'document_activity') {\n return (\n <div\n className=\"flex h-full items-center gap-1.5 text-muted-foreground\"\n data-testid=\"notification-relevance\"\n >\n {user(sender)}\n <span className={PHRASE_CLASS}>\n {type === 'thread_reply' ? 'replied in a thread' : documentActivityPhrase(row.content)}\n </span>\n </div>\n )\n }\n\n if (isSignatureNotificationType(type))\n return (\n <SignatureEvent\n row={row}\n isIncoming={isIncoming}\n open={open}\n renderers={renderers}\n action={action}\n />\n )\n\n // Work notifications \u2014 a task is a conversation, so the notification links straight to it.\n const workLabel =\n type === 'agent_input_requested'\n ? inputRequestTitle(row.content)\n : WORK_NOTIFICATION_LABELS[type]\n if (workLabel)\n return (\n <div\n className=\"flex h-full items-center gap-1.5 text-sm text-muted-foreground\"\n title={workLabel}\n data-testid=\"notification-work\"\n >\n <span className={`min-w-0 truncate ${type === 'workflow_failed' ? 'text-red-text' : ''}`}>\n {workLabel}\n </span>\n </div>\n )\n\n return (\n <div className=\"flex items-center h-full text-sm text-muted-foreground\">\n {(\n describeCalendarNotification(row, { senderName: notificationUserName(row.sender) }) ??\n describeServerNotification(row)\n )?.title ??\n row.content ??\n type ??\n 'Notification'}\n </div>\n )\n}\n\n/** A session-log entry: its message as toasted (+ its action while this session lasts). */\nfunction SessionEvent({\n item,\n open,\n}: {\n item: NotificationCenterItem\n open: (target: NotificationTarget) => void\n}): ReactElement | null {\n const entry = item.entry\n if (!entry) return null\n return (\n <div\n className=\"flex h-full items-center gap-2 text-sm text-muted-foreground\"\n title={entry.title}\n >\n {entry.html ? (\n <span className=\"min-w-0 truncate\" dangerouslySetInnerHTML={{ __html: entry.html }} />\n ) : (\n <span className=\"min-w-0 truncate\">{entry.title}</span>\n )}\n {(entry.onSelect || entry.href) && (\n <ActionButton\n label={entry.actionLabel ?? 'Open'}\n onClick={() => {\n if (entry.onSelect) entry.onSelect()\n else if (entry.href) open({ kind: 'url', url: entry.href })\n }}\n />\n )}\n </div>\n )\n}\n\nexport function NotificationEvent({\n item,\n open,\n renderers,\n}: {\n item: NotificationCenterItem\n open: (target: NotificationTarget) => void\n renderers: NotificationCenterRenderers\n}): ReactElement | null {\n if (!item.persisted) return <SessionEvent item={item} open={open} />\n if (!item.row) return null\n const described =\n describeCalendarNotification(item.row, { senderName: notificationUserName(item.row.sender) }) ??\n describeServerNotification(item.row)\n const action = described?.target && (\n <ActionButton label={described.actionLabel ?? 'Open'} onClick={() => open(described.target!)} />\n )\n // A signature event is two lines: its action goes on the document's line, so the first keeps the\n // room to say who asked and what.\n const ownLine = isSignatureNotificationType(item.row.type as string)\n return (\n <div className=\"flex h-full min-w-0 items-center gap-2\">\n <div className=\"min-w-0 flex-1\">\n <PersistedEvent\n item={item}\n row={item.row}\n open={open}\n renderers={renderers}\n action={ownLine ? action : undefined}\n />\n </div>\n {!ownLine && action}\n </div>\n )\n}\n"],
|
|
5
5
|
"mappings": ";AAwDI,SA6CA,UA7CA,KAiBA,YAjBA;AAjDJ;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AAyBP,MAAM,eACJ;AACF,MAAM,eAAe;AAErB,SAAS,aAAa,EAAE,OAAO,QAAQ,GAA2C;AAChF,SACE;AAAA,IAAC;AA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AACtB,QAAM,YACJ,6BAA6B,KAAK,KAAK,EAAE,YAAY,qBAAqB,KAAK,IAAI,MAAM,EAAE,CAAC,KAC5F,2BAA2B,KAAK,GAAG;AACrC,QAAM,SAAS,WAAW,UACxB,oBAAC,gBAAa,OAAO,UAAU,eAAe,QAAQ,SAAS,MAAM,KAAK,UAAU,MAAO,GAAG;AAIhG,QAAM,UAAU,4BAA4B,KAAK,IAAI,IAAc;AACnE,SACE,qBAAC,SAAI,WAAU,0CACb;AAAA,wBAAC,SAAI,WAAU,kBACb;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,KAAK,KAAK;AAAA,QACV;AAAA,QACA;AAAA,QACA,QAAQ,UAAU,SAAS;AAAA;AAAA,IAC7B,GACF;AAAA,IACC,CAAC,WAAW;AAAA,KACf;AAEJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -10,8 +10,8 @@ require('../chunk-ZU2B2RZK.cjs');
|
|
|
10
10
|
var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
|
|
11
11
|
var chunkOEJQFPWO_cjs = require('../chunk-OEJQFPWO.cjs');
|
|
12
12
|
require('../chunk-OUGRCQM7.cjs');
|
|
13
|
-
require('../chunk-IPSHAMO2.cjs');
|
|
14
13
|
var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
|
|
14
|
+
require('../chunk-IPSHAMO2.cjs');
|
|
15
15
|
var chunkLIKDQBNJ_cjs = require('../chunk-LIKDQBNJ.cjs');
|
|
16
16
|
require('../chunk-YZBDHBKI.cjs');
|
|
17
17
|
require('../chunk-CVPV4I7Z.cjs');
|
package/dist/embed/index.cjs
CHANGED
|
@@ -1,63 +1,51 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
4
|
+
var chunkC4Z6LOLA_cjs = require('../chunk-C4Z6LOLA.cjs');
|
|
5
|
+
require('../chunk-MEYQLQWS.cjs');
|
|
6
|
+
require('../chunk-TOYKBRAU.cjs');
|
|
7
|
+
require('../chunk-ORQXGMCC.cjs');
|
|
8
|
+
require('../chunk-33GOYI3O.cjs');
|
|
9
|
+
require('../chunk-6CGMSJLB.cjs');
|
|
10
10
|
require('../chunk-TJY7XPDE.cjs');
|
|
11
11
|
require('../chunk-XNW62J54.cjs');
|
|
12
|
-
require('../chunk-
|
|
13
|
-
require('../chunk-
|
|
14
|
-
require('../chunk-
|
|
12
|
+
require('../chunk-SK6LFIU2.cjs');
|
|
13
|
+
require('../chunk-KP7BQIZL.cjs');
|
|
14
|
+
require('../chunk-C5APAFUY.cjs');
|
|
15
15
|
require('../chunk-HYUKPHCT.cjs');
|
|
16
|
-
require('../chunk-
|
|
16
|
+
require('../chunk-ZPIZINH2.cjs');
|
|
17
17
|
require('../chunk-223D4727.cjs');
|
|
18
18
|
require('../chunk-SNUBQMIS.cjs');
|
|
19
19
|
require('../chunk-OA3AN6WW.cjs');
|
|
20
|
-
require('../chunk-
|
|
20
|
+
require('../chunk-OOW7H2YD.cjs');
|
|
21
21
|
require('../chunk-QQMMCXBP.cjs');
|
|
22
22
|
require('../chunk-DTMBAFIL.cjs');
|
|
23
23
|
require('../chunk-4B6HYQTW.cjs');
|
|
24
|
-
require('../chunk-JHDCDEXY.cjs');
|
|
25
|
-
require('../chunk-F6CEPWIF.cjs');
|
|
26
|
-
require('../chunk-5F4DCIHS.cjs');
|
|
27
24
|
require('../chunk-MZZ3SBQL.cjs');
|
|
28
|
-
require('../chunk-
|
|
29
|
-
require('../chunk-
|
|
25
|
+
require('../chunk-VCDD763Y.cjs');
|
|
26
|
+
require('../chunk-ECSOXKJQ.cjs');
|
|
30
27
|
require('../chunk-WQMR3O2D.cjs');
|
|
31
28
|
require('../chunk-NZNBJF3M.cjs');
|
|
32
29
|
require('../chunk-NWNVWO6L.cjs');
|
|
33
30
|
require('../chunk-SK6HQ46Q.cjs');
|
|
34
|
-
require('../chunk-Z2XZ2D4N.cjs');
|
|
35
|
-
require('../chunk-YZSQ7F5K.cjs');
|
|
36
|
-
require('../chunk-MCXS6X37.cjs');
|
|
37
|
-
require('../chunk-KQF7POTG.cjs');
|
|
38
31
|
require('../chunk-TG2GM7WJ.cjs');
|
|
39
|
-
require('../chunk-
|
|
32
|
+
require('../chunk-T6WA6S5T.cjs');
|
|
40
33
|
require('../chunk-OEJQFPWO.cjs');
|
|
41
|
-
require('../chunk-
|
|
34
|
+
require('../chunk-QFXOTJ6G.cjs');
|
|
42
35
|
require('../chunk-I4IS6ST6.cjs');
|
|
43
36
|
require('../chunk-5A6T4W46.cjs');
|
|
44
37
|
require('../chunk-EVZH6Z5O.cjs');
|
|
45
|
-
require('../chunk-VL7ZX4KQ.cjs');
|
|
46
38
|
require('../chunk-OYXWQTHF.cjs');
|
|
47
39
|
require('../chunk-S237ORM3.cjs');
|
|
48
40
|
require('../chunk-II2OEXHW.cjs');
|
|
49
41
|
require('../chunk-3YEXZX4H.cjs');
|
|
50
42
|
require('../chunk-4PA6VCCR.cjs');
|
|
51
|
-
require('../chunk-
|
|
43
|
+
require('../chunk-RSQGDXAF.cjs');
|
|
52
44
|
require('../chunk-AHDJXIUB.cjs');
|
|
53
45
|
require('../chunk-RL2HI6NP.cjs');
|
|
54
46
|
require('../chunk-6UZC4XVV.cjs');
|
|
55
47
|
require('../chunk-S5OGPQSB.cjs');
|
|
56
|
-
require('../chunk-EQTZQD66.cjs');
|
|
57
|
-
require('../chunk-JN5YMHGI.cjs');
|
|
58
|
-
require('../chunk-UDSHVNU3.cjs');
|
|
59
48
|
require('../chunk-OUGRCQM7.cjs');
|
|
60
|
-
require('../chunk-IPSHAMO2.cjs');
|
|
61
49
|
require('../chunk-ZVEW3JBT.cjs');
|
|
62
50
|
require('../chunk-V6C2MBFY.cjs');
|
|
63
51
|
require('../chunk-M74FWYNL.cjs');
|
|
@@ -69,44 +57,56 @@ require('../chunk-JZQ47OW5.cjs');
|
|
|
69
57
|
require('../chunk-CENMN32L.cjs');
|
|
70
58
|
var chunkYKOPKLYP_cjs = require('../chunk-YKOPKLYP.cjs');
|
|
71
59
|
require('../chunk-TMX7YFVM.cjs');
|
|
72
|
-
require('../chunk-ZBP4ZSAJ.cjs');
|
|
73
60
|
require('../chunk-3YZKDCWY.cjs');
|
|
74
61
|
require('../chunk-SJSGSHIT.cjs');
|
|
75
|
-
require('../chunk-PPCATBOY.cjs');
|
|
76
62
|
require('../chunk-ZW6FPIFC.cjs');
|
|
77
63
|
require('../chunk-ZT5MIFLC.cjs');
|
|
78
|
-
require('../chunk-
|
|
79
|
-
require('../chunk-
|
|
64
|
+
require('../chunk-JHDCDEXY.cjs');
|
|
65
|
+
require('../chunk-F6CEPWIF.cjs');
|
|
66
|
+
require('../chunk-5F4DCIHS.cjs');
|
|
67
|
+
require('../chunk-Z2XZ2D4N.cjs');
|
|
68
|
+
require('../chunk-YZSQ7F5K.cjs');
|
|
69
|
+
require('../chunk-MCXS6X37.cjs');
|
|
70
|
+
require('../chunk-KQF7POTG.cjs');
|
|
71
|
+
require('../chunk-75BNMCUX.cjs');
|
|
72
|
+
require('../chunk-VL7ZX4KQ.cjs');
|
|
73
|
+
require('../chunk-EQTZQD66.cjs');
|
|
74
|
+
require('../chunk-JN5YMHGI.cjs');
|
|
75
|
+
require('../chunk-UDSHVNU3.cjs');
|
|
76
|
+
require('../chunk-IPSHAMO2.cjs');
|
|
77
|
+
require('../chunk-ZBP4ZSAJ.cjs');
|
|
78
|
+
require('../chunk-PPCATBOY.cjs');
|
|
80
79
|
require('../chunk-LIKDQBNJ.cjs');
|
|
81
80
|
require('../chunk-YZBDHBKI.cjs');
|
|
82
81
|
require('../chunk-CVPV4I7Z.cjs');
|
|
82
|
+
require('../chunk-LJJJ6CYH.cjs');
|
|
83
83
|
require('../chunk-PLIF5CUV.cjs');
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
Object.defineProperty(exports, "ArbiChat", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkC4Z6LOLA_cjs.ArbiChat; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "ConnectedCompactLogin", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkC4Z6LOLA_cjs.ConnectedCompactLogin; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "ConnectedEmbeddedChat", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkC4Z6LOLA_cjs.ConnectedEmbeddedChat; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "ConnectedLoginPage", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkC4Z6LOLA_cjs.ConnectedLoginPage; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "EmbeddedChatPanel", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkC4Z6LOLA_cjs.EmbeddedChatPanel; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "defaultHost", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkC4Z6LOLA_cjs.defaultHost; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "useConnection", {
|
|
112
112
|
enumerable: true,
|