@arbidocs/blocks 0.5.126 → 0.5.128
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/README.md +19 -0
- package/dist/{ConnectedCallDock-733O5M36.cjs → ConnectedCallDock-XJOYVVAH.cjs} +5 -5
- package/dist/{ConnectedCallDock-733O5M36.cjs.map → ConnectedCallDock-XJOYVVAH.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-TAUGSRGV.cjs → ConnectedCallRoom-CUDYAPQK.cjs} +5 -5
- package/dist/{ConnectedCallRoom-TAUGSRGV.cjs.map → ConnectedCallRoom-CUDYAPQK.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-HDE522YC.cjs → ConnectedNativeDocxComparison-JUF2TI2P.cjs} +9 -9
- package/dist/{ConnectedNativeDocxComparison-HDE522YC.cjs.map → ConnectedNativeDocxComparison-JUF2TI2P.cjs.map} +1 -1
- package/dist/ConnectedPresentation-SI3L77J4.cjs +1 -1
- package/dist/{ConnectedSlidesTab-JSPU6EY5.cjs → ConnectedSlidesTab-E76OVY34.cjs} +3 -3
- package/dist/{ConnectedSlidesTab-JSPU6EY5.cjs.map → ConnectedSlidesTab-E76OVY34.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-4FHPOAFZ.cjs → ConnectedStreamedWordArtifact-Q64DRRQD.cjs} +9 -9
- package/dist/{ConnectedStreamedWordArtifact-4FHPOAFZ.cjs.map → ConnectedStreamedWordArtifact-Q64DRRQD.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-BDNXP3D4.cjs → DocumentReviewCard-M53XFLI2.cjs} +4 -4
- package/dist/{DocumentReviewCard-BDNXP3D4.cjs.map → DocumentReviewCard-M53XFLI2.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-WQRNSKWM.cjs → FilesViewerDialog-C7XHGK36.cjs} +9 -9
- package/dist/{FilesViewerDialog-WQRNSKWM.cjs.map → FilesViewerDialog-C7XHGK36.cjs.map} +1 -1
- package/dist/{NativeDocxEditor-SUDULUN3.cjs → NativeDocxEditor-2PTEK6ND.cjs} +6 -6
- package/dist/{NativeDocxEditor-SUDULUN3.cjs.map → NativeDocxEditor-2PTEK6ND.cjs.map} +1 -1
- package/dist/WorkspaceTableView-3XYAV4BV.cjs +1 -1
- package/dist/agents/index.cjs +1 -1
- package/dist/ai-IEIR7SC2.cjs +1 -1
- package/dist/calls/index.cjs +2 -2
- package/dist/{chunk-Q6N5D3R5.cjs → chunk-23I5EUZA.cjs} +45 -15
- package/dist/chunk-23I5EUZA.cjs.map +1 -0
- package/dist/{chunk-KXIRVKCJ.cjs → chunk-ERRXU2HL.cjs} +38 -6
- package/dist/chunk-ERRXU2HL.cjs.map +1 -0
- package/dist/{chunk-6B4CCDDB.cjs → chunk-ESVRVZ53.cjs} +5 -5
- package/dist/{chunk-6B4CCDDB.cjs.map → chunk-ESVRVZ53.cjs.map} +1 -1
- package/dist/{chunk-KA3F6TIH.cjs → chunk-IWHP7FAB.cjs} +12 -5
- package/dist/chunk-IWHP7FAB.cjs.map +1 -0
- package/dist/{chunk-OHHKBURG.cjs → chunk-IWMHQTVL.cjs} +401 -18
- package/dist/chunk-IWMHQTVL.cjs.map +1 -0
- package/dist/{chunk-FGOJBOZX.cjs → chunk-IZJ5L246.cjs} +4 -4
- package/dist/{chunk-FGOJBOZX.cjs.map → chunk-IZJ5L246.cjs.map} +1 -1
- package/dist/{chunk-I4X72WUT.cjs → chunk-MMSHIIKG.cjs} +6 -6
- package/dist/{chunk-I4X72WUT.cjs.map → chunk-MMSHIIKG.cjs.map} +1 -1
- package/dist/{chunk-LXM5QXII.cjs → chunk-MXBXZXXQ.cjs} +3 -3
- package/dist/{chunk-LXM5QXII.cjs.map → chunk-MXBXZXXQ.cjs.map} +1 -1
- package/dist/{chunk-463QM764.cjs → chunk-NG2EE7HR.cjs} +3 -3
- package/dist/{chunk-463QM764.cjs.map → chunk-NG2EE7HR.cjs.map} +1 -1
- package/dist/chunk-NTDQQLDD.cjs +18 -0
- package/dist/{chunk-OALQGO5C.cjs.map → chunk-NTDQQLDD.cjs.map} +1 -1
- package/dist/{chunk-XNB27POJ.cjs → chunk-Q6IKXWPG.cjs} +4 -4
- package/dist/{chunk-XNB27POJ.cjs.map → chunk-Q6IKXWPG.cjs.map} +1 -1
- package/dist/{chunk-LOB2ATS5.cjs → chunk-VLQCLQAS.cjs} +5 -5
- package/dist/{chunk-LOB2ATS5.cjs.map → chunk-VLQCLQAS.cjs.map} +1 -1
- package/dist/{chunk-4KEQ62SL.cjs → chunk-YP5EBGLU.cjs} +6 -6
- package/dist/{chunk-4KEQ62SL.cjs.map → chunk-YP5EBGLU.cjs.map} +1 -1
- package/dist/{chunk-FB3JXSQT.cjs → chunk-ZQNTYINE.cjs} +10 -10
- package/dist/{chunk-FB3JXSQT.cjs.map → chunk-ZQNTYINE.cjs.map} +1 -1
- package/dist/{chunk-CMPHJRVV.cjs → chunk-ZYGAXD3N.cjs} +3 -3
- package/dist/{chunk-CMPHJRVV.cjs.map → chunk-ZYGAXD3N.cjs.map} +1 -1
- package/dist/connect/docx.cjs +13 -13
- package/dist/connect/index.cjs +245 -299
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/viewer.cjs +7 -7
- package/dist/connection/conversation/MermaidDiagram.js +11 -2
- package/dist/connection/conversation/MermaidDiagram.js.map +2 -2
- package/dist/connection/conversation/download-mermaid.d.ts +2 -0
- package/dist/connection/conversation/download-mermaid.js +29 -0
- package/dist/connection/conversation/download-mermaid.js.map +7 -0
- package/dist/connection/remote-control/ConnectedRemoteControlConsent.js +6 -3
- package/dist/connection/remote-control/ConnectedRemoteControlConsent.js.map +2 -2
- package/dist/connection/remote-control/ConnectedRemoteControlIndicator.js +12 -2
- package/dist/connection/remote-control/ConnectedRemoteControlIndicator.js.map +2 -2
- package/dist/connection/remote-control/ConnectedRemoteControlSwitch.js +1 -1
- package/dist/connection/remote-control/ConnectedRemoteControlSwitch.js.map +1 -1
- package/dist/connection/remote-control/browser-diagnostics.d.ts +7 -0
- package/dist/connection/remote-control/browser-diagnostics.js +109 -0
- package/dist/connection/remote-control/browser-diagnostics.js.map +7 -0
- package/dist/connection/remote-control/remoteControl.d.ts +9 -1
- package/dist/connection/remote-control/remoteControl.js +146 -10
- package/dist/connection/remote-control/remoteControl.js.map +2 -2
- package/dist/connection/remote-control/screen-sharing.d.ts +11 -0
- package/dist/connection/remote-control/screen-sharing.js +78 -0
- package/dist/connection/remote-control/screen-sharing.js.map +7 -0
- package/dist/connection/report-problem/screen-capture.d.ts +1 -0
- package/dist/connection/report-problem/screen-capture.js +2 -1
- package/dist/connection/report-problem/screen-capture.js.map +2 -2
- package/dist/docx/NativeDocxEditor.js +14 -12
- package/dist/docx/NativeDocxEditor.js.map +2 -2
- package/dist/docx/index.cjs +38 -38
- package/dist/docx/useVersionAutosave.d.ts +10 -0
- package/dist/docx/useVersionAutosave.js +36 -0
- package/dist/docx/useVersionAutosave.js.map +7 -0
- package/dist/embed/index.cjs +10 -10
- package/dist/facts/index.cjs +43 -43
- package/dist/index.cjs +94 -94
- package/dist/settings/index.cjs +1 -1
- package/dist/shell/RemoteControlPill.d.ts +2 -1
- package/dist/shell/RemoteControlPill.js +10 -3
- package/dist/shell/RemoteControlPill.js.map +2 -2
- package/dist/shell/index.cjs +21 -21
- package/dist/studio/index.cjs +1 -1
- package/dist/workflow-canvas/index.cjs +12 -12
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/chunk-KA3F6TIH.cjs.map +0 -1
- package/dist/chunk-KXIRVKCJ.cjs.map +0 -1
- package/dist/chunk-OALQGO5C.cjs +0 -18
- package/dist/chunk-OHHKBURG.cjs.map +0 -1
- package/dist/chunk-Q6N5D3R5.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -10,14 +10,14 @@ var chunkICZSVCDT_cjs = require('./chunk-ICZSVCDT.cjs');
|
|
|
10
10
|
var chunkSRTSMA5K_cjs = require('./chunk-SRTSMA5K.cjs');
|
|
11
11
|
require('./chunk-TS2XVXYK.cjs');
|
|
12
12
|
var chunkVZKTOGZR_cjs = require('./chunk-VZKTOGZR.cjs');
|
|
13
|
-
var
|
|
13
|
+
var chunkIZJ5L246_cjs = require('./chunk-IZJ5L246.cjs');
|
|
14
14
|
var chunkSGYSDABK_cjs = require('./chunk-SGYSDABK.cjs');
|
|
15
15
|
var chunkNEGFHF3V_cjs = require('./chunk-NEGFHF3V.cjs');
|
|
16
16
|
var chunkZ3LFF3YT_cjs = require('./chunk-Z3LFF3YT.cjs');
|
|
17
17
|
var chunkI6GEQWIV_cjs = require('./chunk-I6GEQWIV.cjs');
|
|
18
|
+
var chunk4B6HYQTW_cjs = require('./chunk-4B6HYQTW.cjs');
|
|
18
19
|
var chunkADMNU2CR_cjs = require('./chunk-ADMNU2CR.cjs');
|
|
19
20
|
var chunkPCB2BPN3_cjs = require('./chunk-PCB2BPN3.cjs');
|
|
20
|
-
var chunk4B6HYQTW_cjs = require('./chunk-4B6HYQTW.cjs');
|
|
21
21
|
var chunkNX56DIG3_cjs = require('./chunk-NX56DIG3.cjs');
|
|
22
22
|
var chunkGNX3FBBX_cjs = require('./chunk-GNX3FBBX.cjs');
|
|
23
23
|
var chunkTXP2N3DC_cjs = require('./chunk-TXP2N3DC.cjs');
|
|
@@ -26,7 +26,7 @@ var chunkUKOYN2WD_cjs = require('./chunk-UKOYN2WD.cjs');
|
|
|
26
26
|
require('./chunk-RC25WMVB.cjs');
|
|
27
27
|
var chunkVCEX7COE_cjs = require('./chunk-VCEX7COE.cjs');
|
|
28
28
|
var chunk34HQO4ZQ_cjs = require('./chunk-34HQO4ZQ.cjs');
|
|
29
|
-
var
|
|
29
|
+
var chunkIWHP7FAB_cjs = require('./chunk-IWHP7FAB.cjs');
|
|
30
30
|
var chunkK4763GD5_cjs = require('./chunk-K4763GD5.cjs');
|
|
31
31
|
var chunk2RLA6QO2_cjs = require('./chunk-2RLA6QO2.cjs');
|
|
32
32
|
var chunkMZZ3SBQL_cjs = require('./chunk-MZZ3SBQL.cjs');
|
|
@@ -39,7 +39,7 @@ var chunkSK6HQ46Q_cjs = require('./chunk-SK6HQ46Q.cjs');
|
|
|
39
39
|
var chunkMNIQDXM6_cjs = require('./chunk-MNIQDXM6.cjs');
|
|
40
40
|
var chunkE3Y7RI3J_cjs = require('./chunk-E3Y7RI3J.cjs');
|
|
41
41
|
var chunkTG2GM7WJ_cjs = require('./chunk-TG2GM7WJ.cjs');
|
|
42
|
-
var
|
|
42
|
+
var chunkZYGAXD3N_cjs = require('./chunk-ZYGAXD3N.cjs');
|
|
43
43
|
var chunkULPTSXXO_cjs = require('./chunk-ULPTSXXO.cjs');
|
|
44
44
|
var chunkZU2B2RZK_cjs = require('./chunk-ZU2B2RZK.cjs');
|
|
45
45
|
var chunkNSD37OF5_cjs = require('./chunk-NSD37OF5.cjs');
|
|
@@ -70,14 +70,14 @@ var chunkJOUMBLGL_cjs = require('./chunk-JOUMBLGL.cjs');
|
|
|
70
70
|
var chunkV6C2MBFY_cjs = require('./chunk-V6C2MBFY.cjs');
|
|
71
71
|
var chunkKKYNTWDU_cjs = require('./chunk-KKYNTWDU.cjs');
|
|
72
72
|
var chunkM74FWYNL_cjs = require('./chunk-M74FWYNL.cjs');
|
|
73
|
+
var chunkZKKSTMMI_cjs = require('./chunk-ZKKSTMMI.cjs');
|
|
74
|
+
require('./chunk-VZOOGA47.cjs');
|
|
73
75
|
var chunkTMX7YFVM_cjs = require('./chunk-TMX7YFVM.cjs');
|
|
74
76
|
var chunkMOIZ2R5X_cjs = require('./chunk-MOIZ2R5X.cjs');
|
|
75
77
|
var chunk3YZKDCWY_cjs = require('./chunk-3YZKDCWY.cjs');
|
|
76
78
|
var chunkSJSGSHIT_cjs = require('./chunk-SJSGSHIT.cjs');
|
|
77
79
|
var chunkZW6FPIFC_cjs = require('./chunk-ZW6FPIFC.cjs');
|
|
78
80
|
require('./chunk-ZT5MIFLC.cjs');
|
|
79
|
-
var chunkZKKSTMMI_cjs = require('./chunk-ZKKSTMMI.cjs');
|
|
80
|
-
require('./chunk-VZOOGA47.cjs');
|
|
81
81
|
var chunkXCKHOXRP_cjs = require('./chunk-XCKHOXRP.cjs');
|
|
82
82
|
var chunkKLMNCBLY_cjs = require('./chunk-KLMNCBLY.cjs');
|
|
83
83
|
var chunkKNGZZC4O_cjs = require('./chunk-KNGZZC4O.cjs');
|
|
@@ -416,191 +416,191 @@ Object.defineProperty(exports, "vCardFilename", {
|
|
|
416
416
|
});
|
|
417
417
|
Object.defineProperty(exports, "DEFAULT_GLOSSARY_LABELS", {
|
|
418
418
|
enumerable: true,
|
|
419
|
-
get: function () { return
|
|
419
|
+
get: function () { return chunkIZJ5L246_cjs.DEFAULT_GLOSSARY_LABELS; }
|
|
420
420
|
});
|
|
421
421
|
Object.defineProperty(exports, "DEFAULT_TAG_COLUMNS_EDITOR_LABELS", {
|
|
422
422
|
enumerable: true,
|
|
423
|
-
get: function () { return
|
|
423
|
+
get: function () { return chunkIZJ5L246_cjs.DEFAULT_TAG_COLUMNS_EDITOR_LABELS; }
|
|
424
424
|
});
|
|
425
425
|
Object.defineProperty(exports, "DEFAULT_TAG_DETAIL_LABELS", {
|
|
426
426
|
enumerable: true,
|
|
427
|
-
get: function () { return
|
|
427
|
+
get: function () { return chunkIZJ5L246_cjs.DEFAULT_TAG_DETAIL_LABELS; }
|
|
428
428
|
});
|
|
429
429
|
Object.defineProperty(exports, "DEFAULT_TAG_TABLE_DOCX_LABELS", {
|
|
430
430
|
enumerable: true,
|
|
431
|
-
get: function () { return
|
|
431
|
+
get: function () { return chunkIZJ5L246_cjs.DEFAULT_TAG_TABLE_DOCX_LABELS; }
|
|
432
432
|
});
|
|
433
433
|
Object.defineProperty(exports, "DEFAULT_TAG_TABLE_LABELS", {
|
|
434
434
|
enumerable: true,
|
|
435
|
-
get: function () { return
|
|
435
|
+
get: function () { return chunkIZJ5L246_cjs.DEFAULT_TAG_TABLE_LABELS; }
|
|
436
436
|
});
|
|
437
437
|
Object.defineProperty(exports, "DEFAULT_WORKSPACE_ACTIVITY_LABELS", {
|
|
438
438
|
enumerable: true,
|
|
439
|
-
get: function () { return
|
|
439
|
+
get: function () { return chunkIZJ5L246_cjs.DEFAULT_WORKSPACE_ACTIVITY_LABELS; }
|
|
440
440
|
});
|
|
441
441
|
Object.defineProperty(exports, "EXTRACT_LIMIT", {
|
|
442
442
|
enumerable: true,
|
|
443
|
-
get: function () { return
|
|
443
|
+
get: function () { return chunkIZJ5L246_cjs.EXTRACT_LIMIT; }
|
|
444
444
|
});
|
|
445
445
|
Object.defineProperty(exports, "EntityIdentityBar", {
|
|
446
446
|
enumerable: true,
|
|
447
|
-
get: function () { return
|
|
447
|
+
get: function () { return chunkIZJ5L246_cjs.EntityIdentityBar; }
|
|
448
448
|
});
|
|
449
449
|
Object.defineProperty(exports, "ExtractEntitiesDialog", {
|
|
450
450
|
enumerable: true,
|
|
451
|
-
get: function () { return
|
|
451
|
+
get: function () { return chunkIZJ5L246_cjs.ExtractEntitiesDialog; }
|
|
452
452
|
});
|
|
453
453
|
Object.defineProperty(exports, "GridRowNavigator", {
|
|
454
454
|
enumerable: true,
|
|
455
|
-
get: function () { return
|
|
455
|
+
get: function () { return chunkIZJ5L246_cjs.GridRowNavigator; }
|
|
456
456
|
});
|
|
457
457
|
Object.defineProperty(exports, "GuidedCursor", {
|
|
458
458
|
enumerable: true,
|
|
459
|
-
get: function () { return
|
|
459
|
+
get: function () { return chunkIZJ5L246_cjs.GuidedCursor; }
|
|
460
460
|
});
|
|
461
461
|
Object.defineProperty(exports, "IDENTITY_NAME_MAX_LENGTH", {
|
|
462
462
|
enumerable: true,
|
|
463
|
-
get: function () { return
|
|
463
|
+
get: function () { return chunkIZJ5L246_cjs.IDENTITY_NAME_MAX_LENGTH; }
|
|
464
464
|
});
|
|
465
465
|
Object.defineProperty(exports, "KIT_CHUNK_LOADERS", {
|
|
466
466
|
enumerable: true,
|
|
467
|
-
get: function () { return
|
|
467
|
+
get: function () { return chunkIZJ5L246_cjs.KIT_CHUNK_LOADERS; }
|
|
468
468
|
});
|
|
469
469
|
Object.defineProperty(exports, "LoadingIndicator", {
|
|
470
470
|
enumerable: true,
|
|
471
|
-
get: function () { return
|
|
471
|
+
get: function () { return chunkIZJ5L246_cjs.LoadingIndicator; }
|
|
472
472
|
});
|
|
473
473
|
Object.defineProperty(exports, "TAG_TABLE_DOCX_LANDSCAPE_AFTER", {
|
|
474
474
|
enumerable: true,
|
|
475
|
-
get: function () { return
|
|
475
|
+
get: function () { return chunkIZJ5L246_cjs.TAG_TABLE_DOCX_LANDSCAPE_AFTER; }
|
|
476
476
|
});
|
|
477
477
|
Object.defineProperty(exports, "TagColumnsEditor", {
|
|
478
478
|
enumerable: true,
|
|
479
|
-
get: function () { return
|
|
479
|
+
get: function () { return chunkIZJ5L246_cjs.TagColumnsEditor; }
|
|
480
480
|
});
|
|
481
481
|
Object.defineProperty(exports, "TagDetail", {
|
|
482
482
|
enumerable: true,
|
|
483
|
-
get: function () { return
|
|
483
|
+
get: function () { return chunkIZJ5L246_cjs.TagDetail; }
|
|
484
484
|
});
|
|
485
485
|
Object.defineProperty(exports, "TagTable", {
|
|
486
486
|
enumerable: true,
|
|
487
|
-
get: function () { return
|
|
487
|
+
get: function () { return chunkIZJ5L246_cjs.TagTable; }
|
|
488
488
|
});
|
|
489
489
|
Object.defineProperty(exports, "TagTableCell", {
|
|
490
490
|
enumerable: true,
|
|
491
|
-
get: function () { return
|
|
491
|
+
get: function () { return chunkIZJ5L246_cjs.TagTableCell; }
|
|
492
492
|
});
|
|
493
493
|
Object.defineProperty(exports, "Toolbar", {
|
|
494
494
|
enumerable: true,
|
|
495
|
-
get: function () { return
|
|
495
|
+
get: function () { return chunkIZJ5L246_cjs.Toolbar; }
|
|
496
496
|
});
|
|
497
497
|
Object.defineProperty(exports, "WorkspaceActivityList", {
|
|
498
498
|
enumerable: true,
|
|
499
|
-
get: function () { return
|
|
499
|
+
get: function () { return chunkIZJ5L246_cjs.WorkspaceActivityList; }
|
|
500
500
|
});
|
|
501
501
|
Object.defineProperty(exports, "cellText", {
|
|
502
502
|
enumerable: true,
|
|
503
|
-
get: function () { return
|
|
503
|
+
get: function () { return chunkIZJ5L246_cjs.cellText; }
|
|
504
504
|
});
|
|
505
505
|
Object.defineProperty(exports, "cellValue", {
|
|
506
506
|
enumerable: true,
|
|
507
|
-
get: function () { return
|
|
507
|
+
get: function () { return chunkIZJ5L246_cjs.cellValue; }
|
|
508
508
|
});
|
|
509
509
|
Object.defineProperty(exports, "documentCount", {
|
|
510
510
|
enumerable: true,
|
|
511
|
-
get: function () { return
|
|
511
|
+
get: function () { return chunkIZJ5L246_cjs.documentCount; }
|
|
512
512
|
});
|
|
513
513
|
Object.defineProperty(exports, "entitiesPhrase", {
|
|
514
514
|
enumerable: true,
|
|
515
|
-
get: function () { return
|
|
515
|
+
get: function () { return chunkIZJ5L246_cjs.entitiesPhrase; }
|
|
516
516
|
});
|
|
517
517
|
Object.defineProperty(exports, "fieldWrites", {
|
|
518
518
|
enumerable: true,
|
|
519
|
-
get: function () { return
|
|
519
|
+
get: function () { return chunkIZJ5L246_cjs.fieldWrites; }
|
|
520
520
|
});
|
|
521
521
|
Object.defineProperty(exports, "glossaryDocumentXml", {
|
|
522
522
|
enumerable: true,
|
|
523
|
-
get: function () { return
|
|
523
|
+
get: function () { return chunkIZJ5L246_cjs.glossaryDocumentXml; }
|
|
524
524
|
});
|
|
525
525
|
Object.defineProperty(exports, "glossaryDocx", {
|
|
526
526
|
enumerable: true,
|
|
527
|
-
get: function () { return
|
|
527
|
+
get: function () { return chunkIZJ5L246_cjs.glossaryDocx; }
|
|
528
528
|
});
|
|
529
529
|
Object.defineProperty(exports, "glossaryEntries", {
|
|
530
530
|
enumerable: true,
|
|
531
|
-
get: function () { return
|
|
531
|
+
get: function () { return chunkIZJ5L246_cjs.glossaryEntries; }
|
|
532
532
|
});
|
|
533
533
|
Object.defineProperty(exports, "glossaryFileName", {
|
|
534
534
|
enumerable: true,
|
|
535
|
-
get: function () { return
|
|
535
|
+
get: function () { return chunkIZJ5L246_cjs.glossaryFileName; }
|
|
536
536
|
});
|
|
537
537
|
Object.defineProperty(exports, "glossaryMarkdown", {
|
|
538
538
|
enumerable: true,
|
|
539
|
-
get: function () { return
|
|
539
|
+
get: function () { return chunkIZJ5L246_cjs.glossaryMarkdown; }
|
|
540
540
|
});
|
|
541
541
|
Object.defineProperty(exports, "isGap", {
|
|
542
542
|
enumerable: true,
|
|
543
|
-
get: function () { return
|
|
543
|
+
get: function () { return chunkIZJ5L246_cjs.isGap; }
|
|
544
544
|
});
|
|
545
545
|
Object.defineProperty(exports, "parseCell", {
|
|
546
546
|
enumerable: true,
|
|
547
|
-
get: function () { return
|
|
547
|
+
get: function () { return chunkIZJ5L246_cjs.parseCell; }
|
|
548
548
|
});
|
|
549
549
|
Object.defineProperty(exports, "prefetchViewerChunks", {
|
|
550
550
|
enumerable: true,
|
|
551
|
-
get: function () { return
|
|
551
|
+
get: function () { return chunkIZJ5L246_cjs.prefetchViewerChunks; }
|
|
552
552
|
});
|
|
553
553
|
Object.defineProperty(exports, "preloadKitChunks", {
|
|
554
554
|
enumerable: true,
|
|
555
|
-
get: function () { return
|
|
555
|
+
get: function () { return chunkIZJ5L246_cjs.preloadKitChunks; }
|
|
556
556
|
});
|
|
557
557
|
Object.defineProperty(exports, "rowLinks", {
|
|
558
558
|
enumerable: true,
|
|
559
|
-
get: function () { return
|
|
559
|
+
get: function () { return chunkIZJ5L246_cjs.rowLinks; }
|
|
560
560
|
});
|
|
561
561
|
Object.defineProperty(exports, "tagDetailLabels", {
|
|
562
562
|
enumerable: true,
|
|
563
|
-
get: function () { return
|
|
563
|
+
get: function () { return chunkIZJ5L246_cjs.tagDetailLabels; }
|
|
564
564
|
});
|
|
565
565
|
Object.defineProperty(exports, "tagKindDescription", {
|
|
566
566
|
enumerable: true,
|
|
567
|
-
get: function () { return
|
|
567
|
+
get: function () { return chunkIZJ5L246_cjs.tagKindDescription; }
|
|
568
568
|
});
|
|
569
569
|
Object.defineProperty(exports, "tagNoteLabel", {
|
|
570
570
|
enumerable: true,
|
|
571
|
-
get: function () { return
|
|
571
|
+
get: function () { return chunkIZJ5L246_cjs.tagNoteLabel; }
|
|
572
572
|
});
|
|
573
573
|
Object.defineProperty(exports, "tagTableDocumentXml", {
|
|
574
574
|
enumerable: true,
|
|
575
|
-
get: function () { return
|
|
575
|
+
get: function () { return chunkIZJ5L246_cjs.tagTableDocumentXml; }
|
|
576
576
|
});
|
|
577
577
|
Object.defineProperty(exports, "tagTableDocx", {
|
|
578
578
|
enumerable: true,
|
|
579
|
-
get: function () { return
|
|
579
|
+
get: function () { return chunkIZJ5L246_cjs.tagTableDocx; }
|
|
580
580
|
});
|
|
581
581
|
Object.defineProperty(exports, "tagTableLabels", {
|
|
582
582
|
enumerable: true,
|
|
583
|
-
get: function () { return
|
|
583
|
+
get: function () { return chunkIZJ5L246_cjs.tagTableLabels; }
|
|
584
584
|
});
|
|
585
585
|
Object.defineProperty(exports, "tagTableMarkdown", {
|
|
586
586
|
enumerable: true,
|
|
587
|
-
get: function () { return
|
|
587
|
+
get: function () { return chunkIZJ5L246_cjs.tagTableMarkdown; }
|
|
588
588
|
});
|
|
589
589
|
Object.defineProperty(exports, "tagsPageNouns", {
|
|
590
590
|
enumerable: true,
|
|
591
|
-
get: function () { return
|
|
591
|
+
get: function () { return chunkIZJ5L246_cjs.tagsPageNouns; }
|
|
592
592
|
});
|
|
593
593
|
Object.defineProperty(exports, "useTipsPlacement", {
|
|
594
594
|
enumerable: true,
|
|
595
|
-
get: function () { return
|
|
595
|
+
get: function () { return chunkIZJ5L246_cjs.useTipsPlacement; }
|
|
596
596
|
});
|
|
597
597
|
Object.defineProperty(exports, "workspaceActivityHeadline", {
|
|
598
598
|
enumerable: true,
|
|
599
|
-
get: function () { return
|
|
599
|
+
get: function () { return chunkIZJ5L246_cjs.workspaceActivityHeadline; }
|
|
600
600
|
});
|
|
601
601
|
Object.defineProperty(exports, "workspaceActivityTarget", {
|
|
602
602
|
enumerable: true,
|
|
603
|
-
get: function () { return
|
|
603
|
+
get: function () { return chunkIZJ5L246_cjs.workspaceActivityTarget; }
|
|
604
604
|
});
|
|
605
605
|
Object.defineProperty(exports, "ThemeEditor", {
|
|
606
606
|
enumerable: true,
|
|
@@ -698,6 +698,22 @@ Object.defineProperty(exports, "MemberAvatarStack", {
|
|
|
698
698
|
enumerable: true,
|
|
699
699
|
get: function () { return chunkI6GEQWIV_cjs.MemberAvatarStack; }
|
|
700
700
|
});
|
|
701
|
+
Object.defineProperty(exports, "TIPS_VISIBILITY_OVERRIDE", {
|
|
702
|
+
enumerable: true,
|
|
703
|
+
get: function () { return chunk4B6HYQTW_cjs.TIPS_VISIBILITY_OVERRIDE; }
|
|
704
|
+
});
|
|
705
|
+
Object.defineProperty(exports, "WELCOME_REPLAY_VIEW", {
|
|
706
|
+
enumerable: true,
|
|
707
|
+
get: function () { return chunk4B6HYQTW_cjs.WELCOME_REPLAY_VIEW; }
|
|
708
|
+
});
|
|
709
|
+
Object.defineProperty(exports, "setHintsSessionOverride", {
|
|
710
|
+
enumerable: true,
|
|
711
|
+
get: function () { return chunk4B6HYQTW_cjs.setHintsSessionOverride; }
|
|
712
|
+
});
|
|
713
|
+
Object.defineProperty(exports, "startWelcomeReplay", {
|
|
714
|
+
enumerable: true,
|
|
715
|
+
get: function () { return chunk4B6HYQTW_cjs.startWelcomeReplay; }
|
|
716
|
+
});
|
|
701
717
|
Object.defineProperty(exports, "TIMELINE_ZOOM", {
|
|
702
718
|
enumerable: true,
|
|
703
719
|
get: function () { return chunkADMNU2CR_cjs.TIMELINE_ZOOM; }
|
|
@@ -738,22 +754,6 @@ Object.defineProperty(exports, "Callout", {
|
|
|
738
754
|
enumerable: true,
|
|
739
755
|
get: function () { return chunkPCB2BPN3_cjs.Callout; }
|
|
740
756
|
});
|
|
741
|
-
Object.defineProperty(exports, "TIPS_VISIBILITY_OVERRIDE", {
|
|
742
|
-
enumerable: true,
|
|
743
|
-
get: function () { return chunk4B6HYQTW_cjs.TIPS_VISIBILITY_OVERRIDE; }
|
|
744
|
-
});
|
|
745
|
-
Object.defineProperty(exports, "WELCOME_REPLAY_VIEW", {
|
|
746
|
-
enumerable: true,
|
|
747
|
-
get: function () { return chunk4B6HYQTW_cjs.WELCOME_REPLAY_VIEW; }
|
|
748
|
-
});
|
|
749
|
-
Object.defineProperty(exports, "setHintsSessionOverride", {
|
|
750
|
-
enumerable: true,
|
|
751
|
-
get: function () { return chunk4B6HYQTW_cjs.setHintsSessionOverride; }
|
|
752
|
-
});
|
|
753
|
-
Object.defineProperty(exports, "startWelcomeReplay", {
|
|
754
|
-
enumerable: true,
|
|
755
|
-
get: function () { return chunk4B6HYQTW_cjs.startWelcomeReplay; }
|
|
756
|
-
});
|
|
757
757
|
Object.defineProperty(exports, "ApplyLabelButton", {
|
|
758
758
|
enumerable: true,
|
|
759
759
|
get: function () { return chunkNX56DIG3_cjs.ApplyLabelButton; }
|
|
@@ -1312,83 +1312,83 @@ Object.defineProperty(exports, "Banner", {
|
|
|
1312
1312
|
});
|
|
1313
1313
|
Object.defineProperty(exports, "ActionCluster", {
|
|
1314
1314
|
enumerable: true,
|
|
1315
|
-
get: function () { return
|
|
1315
|
+
get: function () { return chunkIWHP7FAB_cjs.ActionCluster; }
|
|
1316
1316
|
});
|
|
1317
1317
|
Object.defineProperty(exports, "AskField", {
|
|
1318
1318
|
enumerable: true,
|
|
1319
|
-
get: function () { return
|
|
1319
|
+
get: function () { return chunkIWHP7FAB_cjs.AskField; }
|
|
1320
1320
|
});
|
|
1321
1321
|
Object.defineProperty(exports, "AskRow", {
|
|
1322
1322
|
enumerable: true,
|
|
1323
|
-
get: function () { return
|
|
1323
|
+
get: function () { return chunkIWHP7FAB_cjs.AskRow; }
|
|
1324
1324
|
});
|
|
1325
1325
|
Object.defineProperty(exports, "AskTrigger", {
|
|
1326
1326
|
enumerable: true,
|
|
1327
|
-
get: function () { return
|
|
1327
|
+
get: function () { return chunkIWHP7FAB_cjs.AskTrigger; }
|
|
1328
1328
|
});
|
|
1329
1329
|
Object.defineProperty(exports, "DEFAULT_ASK_FIELD_LABELS", {
|
|
1330
1330
|
enumerable: true,
|
|
1331
|
-
get: function () { return
|
|
1331
|
+
get: function () { return chunkIWHP7FAB_cjs.DEFAULT_ASK_FIELD_LABELS; }
|
|
1332
1332
|
});
|
|
1333
1333
|
Object.defineProperty(exports, "DEFAULT_OFFLINE_PILL_LABELS", {
|
|
1334
1334
|
enumerable: true,
|
|
1335
|
-
get: function () { return
|
|
1335
|
+
get: function () { return chunkIWHP7FAB_cjs.DEFAULT_OFFLINE_PILL_LABELS; }
|
|
1336
1336
|
});
|
|
1337
1337
|
Object.defineProperty(exports, "DEFAULT_REMOTE_CONTROL_PILL_LABELS", {
|
|
1338
1338
|
enumerable: true,
|
|
1339
|
-
get: function () { return
|
|
1339
|
+
get: function () { return chunkIWHP7FAB_cjs.DEFAULT_REMOTE_CONTROL_PILL_LABELS; }
|
|
1340
1340
|
});
|
|
1341
1341
|
Object.defineProperty(exports, "DEFAULT_TIP_CARD_LABELS", {
|
|
1342
1342
|
enumerable: true,
|
|
1343
|
-
get: function () { return
|
|
1343
|
+
get: function () { return chunkIWHP7FAB_cjs.DEFAULT_TIP_CARD_LABELS; }
|
|
1344
1344
|
});
|
|
1345
1345
|
Object.defineProperty(exports, "DockZone", {
|
|
1346
1346
|
enumerable: true,
|
|
1347
|
-
get: function () { return
|
|
1347
|
+
get: function () { return chunkIWHP7FAB_cjs.DockZone; }
|
|
1348
1348
|
});
|
|
1349
1349
|
Object.defineProperty(exports, "OfflinePill", {
|
|
1350
1350
|
enumerable: true,
|
|
1351
|
-
get: function () { return
|
|
1351
|
+
get: function () { return chunkIWHP7FAB_cjs.OfflinePill; }
|
|
1352
1352
|
});
|
|
1353
1353
|
Object.defineProperty(exports, "RemoteControlPill", {
|
|
1354
1354
|
enumerable: true,
|
|
1355
|
-
get: function () { return
|
|
1355
|
+
get: function () { return chunkIWHP7FAB_cjs.RemoteControlPill; }
|
|
1356
1356
|
});
|
|
1357
1357
|
Object.defineProperty(exports, "ShellSidebar", {
|
|
1358
1358
|
enumerable: true,
|
|
1359
|
-
get: function () { return
|
|
1359
|
+
get: function () { return chunkIWHP7FAB_cjs.ShellSidebar; }
|
|
1360
1360
|
});
|
|
1361
1361
|
Object.defineProperty(exports, "SidebarRowAction", {
|
|
1362
1362
|
enumerable: true,
|
|
1363
|
-
get: function () { return
|
|
1363
|
+
get: function () { return chunkIWHP7FAB_cjs.SidebarRowAction; }
|
|
1364
1364
|
});
|
|
1365
1365
|
Object.defineProperty(exports, "StatusBadge", {
|
|
1366
1366
|
enumerable: true,
|
|
1367
|
-
get: function () { return
|
|
1367
|
+
get: function () { return chunkIWHP7FAB_cjs.StatusBadge; }
|
|
1368
1368
|
});
|
|
1369
1369
|
Object.defineProperty(exports, "StatusRow", {
|
|
1370
1370
|
enumerable: true,
|
|
1371
|
-
get: function () { return
|
|
1371
|
+
get: function () { return chunkIWHP7FAB_cjs.StatusRow; }
|
|
1372
1372
|
});
|
|
1373
1373
|
Object.defineProperty(exports, "TipCard", {
|
|
1374
1374
|
enumerable: true,
|
|
1375
|
-
get: function () { return
|
|
1375
|
+
get: function () { return chunkIWHP7FAB_cjs.TipCard; }
|
|
1376
1376
|
});
|
|
1377
1377
|
Object.defineProperty(exports, "resolveSidebarLayout", {
|
|
1378
1378
|
enumerable: true,
|
|
1379
|
-
get: function () { return
|
|
1379
|
+
get: function () { return chunkIWHP7FAB_cjs.resolveSidebarLayout; }
|
|
1380
1380
|
});
|
|
1381
1381
|
Object.defineProperty(exports, "useCloseOnEscape", {
|
|
1382
1382
|
enumerable: true,
|
|
1383
|
-
get: function () { return
|
|
1383
|
+
get: function () { return chunkIWHP7FAB_cjs.useCloseOnEscape; }
|
|
1384
1384
|
});
|
|
1385
1385
|
Object.defineProperty(exports, "useSidebarController", {
|
|
1386
1386
|
enumerable: true,
|
|
1387
|
-
get: function () { return
|
|
1387
|
+
get: function () { return chunkIWHP7FAB_cjs.useSidebarController; }
|
|
1388
1388
|
});
|
|
1389
1389
|
Object.defineProperty(exports, "useSidebarSettle", {
|
|
1390
1390
|
enumerable: true,
|
|
1391
|
-
get: function () { return
|
|
1391
|
+
get: function () { return chunkIWHP7FAB_cjs.useSidebarSettle; }
|
|
1392
1392
|
});
|
|
1393
1393
|
Object.defineProperty(exports, "PanelModeSwitcher", {
|
|
1394
1394
|
enumerable: true,
|
|
@@ -1616,7 +1616,7 @@ Object.defineProperty(exports, "ShareControl", {
|
|
|
1616
1616
|
});
|
|
1617
1617
|
Object.defineProperty(exports, "docxEditorChunk", {
|
|
1618
1618
|
enumerable: true,
|
|
1619
|
-
get: function () { return
|
|
1619
|
+
get: function () { return chunkZYGAXD3N_cjs.docxEditorChunk; }
|
|
1620
1620
|
});
|
|
1621
1621
|
Object.defineProperty(exports, "DataTable", {
|
|
1622
1622
|
enumerable: true,
|
|
@@ -3198,6 +3198,10 @@ Object.defineProperty(exports, "PasswordStrengthInput", {
|
|
|
3198
3198
|
enumerable: true,
|
|
3199
3199
|
get: function () { return chunkM74FWYNL_cjs.PasswordStrengthInput; }
|
|
3200
3200
|
});
|
|
3201
|
+
Object.defineProperty(exports, "calendarGridChunk", {
|
|
3202
|
+
enumerable: true,
|
|
3203
|
+
get: function () { return chunkZKKSTMMI_cjs.calendarGridChunk; }
|
|
3204
|
+
});
|
|
3201
3205
|
Object.defineProperty(exports, "EntityTooltip", {
|
|
3202
3206
|
enumerable: true,
|
|
3203
3207
|
get: function () { return chunkTMX7YFVM_cjs.EntityTooltip; }
|
|
@@ -3250,10 +3254,6 @@ Object.defineProperty(exports, "EmptyState", {
|
|
|
3250
3254
|
enumerable: true,
|
|
3251
3255
|
get: function () { return chunkZW6FPIFC_cjs.EmptyState; }
|
|
3252
3256
|
});
|
|
3253
|
-
Object.defineProperty(exports, "calendarGridChunk", {
|
|
3254
|
-
enumerable: true,
|
|
3255
|
-
get: function () { return chunkZKKSTMMI_cjs.calendarGridChunk; }
|
|
3256
|
-
});
|
|
3257
3257
|
Object.defineProperty(exports, "AssistantToaster", {
|
|
3258
3258
|
enumerable: true,
|
|
3259
3259
|
get: function () { return chunkXCKHOXRP_cjs.AssistantToaster; }
|
package/dist/settings/index.cjs
CHANGED
|
@@ -12,9 +12,9 @@ var chunkOYXWQTHF_cjs = require('../chunk-OYXWQTHF.cjs');
|
|
|
12
12
|
require('../chunk-II2OEXHW.cjs');
|
|
13
13
|
var chunk4PA6VCCR_cjs = require('../chunk-4PA6VCCR.cjs');
|
|
14
14
|
require('../chunk-M74FWYNL.cjs');
|
|
15
|
+
var chunkVZOOGA47_cjs = require('../chunk-VZOOGA47.cjs');
|
|
15
16
|
require('../chunk-3YZKDCWY.cjs');
|
|
16
17
|
require('../chunk-SJSGSHIT.cjs');
|
|
17
|
-
var chunkVZOOGA47_cjs = require('../chunk-VZOOGA47.cjs');
|
|
18
18
|
require('../chunk-UDSHVNU3.cjs');
|
|
19
19
|
require('../chunk-IPSHAMO2.cjs');
|
|
20
20
|
require('../chunk-PPCATBOY.cjs');
|
|
@@ -10,6 +10,7 @@ export interface RemoteControlPillProps {
|
|
|
10
10
|
label: string;
|
|
11
11
|
onDisable: () => void;
|
|
12
12
|
disableLabel?: string;
|
|
13
|
+
showDisableLabel?: boolean;
|
|
13
14
|
labels?: Partial<RemoteControlPillLabels>;
|
|
14
15
|
/** Root id (default `remote-control-indicator`). */
|
|
15
16
|
'data-testid'?: string;
|
|
@@ -20,4 +21,4 @@ export interface RemoteControlPillProps {
|
|
|
20
21
|
* Persistent, unobtrusive status pill shown while remote control is on or a run is executing,
|
|
21
22
|
* with a one-click disable. The app decides when to mount it.
|
|
22
23
|
*/
|
|
23
|
-
export declare function RemoteControlPill({ isActive, label, onDisable, disableLabel: disableLabelProp, labels, 'data-testid': testId, disableTestId, }: RemoteControlPillProps): import("react").JSX.Element;
|
|
24
|
+
export declare function RemoteControlPill({ isActive, label, onDisable, disableLabel: disableLabelProp, showDisableLabel, labels, 'data-testid': testId, disableTestId, }: RemoteControlPillProps): import("react").JSX.Element;
|
|
@@ -11,6 +11,7 @@ function RemoteControlPill({
|
|
|
11
11
|
label,
|
|
12
12
|
onDisable,
|
|
13
13
|
disableLabel: disableLabelProp,
|
|
14
|
+
showDisableLabel = false,
|
|
14
15
|
labels,
|
|
15
16
|
"data-testid": testId,
|
|
16
17
|
disableTestId
|
|
@@ -29,7 +30,7 @@ function RemoteControlPill({
|
|
|
29
30
|
children: [
|
|
30
31
|
/* @__PURE__ */ jsx(MousePointerClick, { className: cn("size-3.5 shrink-0", isActive && "animate-pulse") }),
|
|
31
32
|
/* @__PURE__ */ jsx("span", { className: "min-w-0 max-w-[16rem] truncate", children: label }),
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
+
/* @__PURE__ */ jsxs(
|
|
33
34
|
"button",
|
|
34
35
|
{
|
|
35
36
|
type: "button",
|
|
@@ -37,8 +38,14 @@ function RemoteControlPill({
|
|
|
37
38
|
title: disableLabel,
|
|
38
39
|
"aria-label": disableLabel,
|
|
39
40
|
"data-testid": testIdOr(disableTestId, { testId: "remote-control-indicator-disable" }),
|
|
40
|
-
className:
|
|
41
|
-
|
|
41
|
+
className: cn(
|
|
42
|
+
"flex shrink-0 items-center justify-center rounded-full transition-colors hover:bg-foreground/10 hover:text-foreground",
|
|
43
|
+
showDisableLabel ? "gap-1 px-2 py-1" : "size-5 pointer-coarse:size-8"
|
|
44
|
+
),
|
|
45
|
+
children: [
|
|
46
|
+
showDisableLabel && /* @__PURE__ */ jsx("span", { children: disableLabel }),
|
|
47
|
+
/* @__PURE__ */ jsx(X, { className: "size-3.5" })
|
|
48
|
+
]
|
|
42
49
|
}
|
|
43
50
|
)
|
|
44
51
|
]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/shell/RemoteControlPill.tsx"],
|
|
4
|
-
"sourcesContent": ["import { MousePointerClick, X } from 'lucide-react'\nimport { cn } from '@arbidocs/react/ui'\nimport { testIdOr } from '../chat/test-id'\n\n/** Fixed strings of the remote-control pill. */\nexport interface RemoteControlPillLabels {\n /** The disable button (the `disableLabel` prop wins). */\n turnOffRemoteControl: string\n}\n\nexport const DEFAULT_REMOTE_CONTROL_PILL_LABELS: RemoteControlPillLabels = {\n turnOffRemoteControl: 'Turn off remote control',\n}\n\nexport interface RemoteControlPillProps {\n /** A run is actively driving the screen (tinted + pulsing). */\n isActive: boolean\n label: string\n onDisable: () => void\n disableLabel?: string\n labels?: Partial<RemoteControlPillLabels>\n /** Root id (default `remote-control-indicator`). */\n 'data-testid'?: string\n /** Disable button id (default `remote-control-indicator-disable`). */\n disableTestId?: string\n}\n\n/**\n * Persistent, unobtrusive status pill shown while remote control is on or a run is executing,\n * with a one-click disable. The app decides when to mount it.\n */\nexport function RemoteControlPill({\n isActive,\n label,\n onDisable,\n disableLabel: disableLabelProp,\n labels,\n 'data-testid': testId,\n disableTestId,\n}: RemoteControlPillProps) {\n const disableLabel =\n disableLabelProp ??\n labels?.turnOffRemoteControl ??\n DEFAULT_REMOTE_CONTROL_PILL_LABELS.turnOffRemoteControl\n return (\n <div\n data-slot=\"remote-control-pill\"\n // Remote control's own control: a remote run never acts inside it.\n data-remote-control-surface=\"\"\n data-testid={testIdOr(testId, { testId: 'remote-control-indicator' })}\n className={cn(\n 'flex min-w-0 max-w-full items-center gap-1.5 rounded-full py-1 pl-2.5 pr-1 text-xs font-medium',\n isActive ? 'bg-accent text-accent-foreground' : 'bg-muted text-muted-foreground'\n )}\n >\n <MousePointerClick className={cn('size-3.5 shrink-0', isActive && 'animate-pulse')} />\n <span className=\"min-w-0 max-w-[16rem] truncate\">{label}</span>\n <button\n type=\"button\"\n onClick={onDisable}\n title={disableLabel}\n aria-label={disableLabel}\n data-testid={testIdOr(disableTestId, { testId: 'remote-control-indicator-disable' })}\n className
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["import { MousePointerClick, X } from 'lucide-react'\nimport { cn } from '@arbidocs/react/ui'\nimport { testIdOr } from '../chat/test-id'\n\n/** Fixed strings of the remote-control pill. */\nexport interface RemoteControlPillLabels {\n /** The disable button (the `disableLabel` prop wins). */\n turnOffRemoteControl: string\n}\n\nexport const DEFAULT_REMOTE_CONTROL_PILL_LABELS: RemoteControlPillLabels = {\n turnOffRemoteControl: 'Turn off remote control',\n}\n\nexport interface RemoteControlPillProps {\n /** A run is actively driving the screen (tinted + pulsing). */\n isActive: boolean\n label: string\n onDisable: () => void\n disableLabel?: string\n showDisableLabel?: boolean\n labels?: Partial<RemoteControlPillLabels>\n /** Root id (default `remote-control-indicator`). */\n 'data-testid'?: string\n /** Disable button id (default `remote-control-indicator-disable`). */\n disableTestId?: string\n}\n\n/**\n * Persistent, unobtrusive status pill shown while remote control is on or a run is executing,\n * with a one-click disable. The app decides when to mount it.\n */\nexport function RemoteControlPill({\n isActive,\n label,\n onDisable,\n disableLabel: disableLabelProp,\n showDisableLabel = false,\n labels,\n 'data-testid': testId,\n disableTestId,\n}: RemoteControlPillProps) {\n const disableLabel =\n disableLabelProp ??\n labels?.turnOffRemoteControl ??\n DEFAULT_REMOTE_CONTROL_PILL_LABELS.turnOffRemoteControl\n return (\n <div\n data-slot=\"remote-control-pill\"\n // Remote control's own control: a remote run never acts inside it.\n data-remote-control-surface=\"\"\n data-testid={testIdOr(testId, { testId: 'remote-control-indicator' })}\n className={cn(\n 'flex min-w-0 max-w-full items-center gap-1.5 rounded-full py-1 pl-2.5 pr-1 text-xs font-medium',\n isActive ? 'bg-accent text-accent-foreground' : 'bg-muted text-muted-foreground'\n )}\n >\n <MousePointerClick className={cn('size-3.5 shrink-0', isActive && 'animate-pulse')} />\n <span className=\"min-w-0 max-w-[16rem] truncate\">{label}</span>\n <button\n type=\"button\"\n onClick={onDisable}\n title={disableLabel}\n aria-label={disableLabel}\n data-testid={testIdOr(disableTestId, { testId: 'remote-control-indicator-disable' })}\n className={cn(\n 'flex shrink-0 items-center justify-center rounded-full transition-colors hover:bg-foreground/10 hover:text-foreground',\n showDisableLabel ? 'gap-1 px-2 py-1' : 'size-5 pointer-coarse:size-8'\n )}\n >\n {showDisableLabel && <span>{disableLabel}</span>}\n <X className=\"size-3.5\" />\n </button>\n </div>\n )\n}\n"],
|
|
5
|
+
"mappings": ";AAyDM,cAEA,YAFA;AAzDN,SAAS,mBAAmB,SAAS;AACrC,SAAS,UAAU;AACnB,SAAS,gBAAgB;AAQlB,MAAM,qCAA8D;AAAA,EACzE,sBAAsB;AACxB;AAoBO,SAAS,kBAAkB;AAAA,EAChC;AAAA,EACA;AAAA,EACA;AAAA,EACA,cAAc;AAAA,EACd,mBAAmB;AAAA,EACnB;AAAA,EACA,eAAe;AAAA,EACf;AACF,GAA2B;AACzB,QAAM,eACJ,oBACA,QAAQ,wBACR,mCAAmC;AACrC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,aAAU;AAAA,MAEV,+BAA4B;AAAA,MAC5B,eAAa,SAAS,QAAQ,EAAE,QAAQ,2BAA2B,CAAC;AAAA,MACpE,WAAW;AAAA,QACT;AAAA,QACA,WAAW,qCAAqC;AAAA,MAClD;AAAA,MAEA;AAAA,4BAAC,qBAAkB,WAAW,GAAG,qBAAqB,YAAY,eAAe,GAAG;AAAA,QACpF,oBAAC,UAAK,WAAU,kCAAkC,iBAAM;AAAA,QACxD;AAAA,UAAC;AAAA;AAAA,YACC,MAAK;AAAA,YACL,SAAS;AAAA,YACT,OAAO;AAAA,YACP,cAAY;AAAA,YACZ,eAAa,SAAS,eAAe,EAAE,QAAQ,mCAAmC,CAAC;AAAA,YACnF,WAAW;AAAA,cACT;AAAA,cACA,mBAAmB,oBAAoB;AAAA,YACzC;AAAA,YAEC;AAAA,kCAAoB,oBAAC,UAAM,wBAAa;AAAA,cACzC,oBAAC,KAAE,WAAU,YAAW;AAAA;AAAA;AAAA,QAC1B;AAAA;AAAA;AAAA,EACF;AAEJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|