@arbidocs/blocks 0.5.192 → 0.5.194
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/{FilesViewerDialog-4JWDTDO7.cjs → FilesViewerDialog-W2HPT3JS.cjs} +5 -5
- package/dist/{FilesViewerDialog-4JWDTDO7.cjs.map → FilesViewerDialog-W2HPT3JS.cjs.map} +1 -1
- package/dist/{chunk-Z6M2CI63.cjs → chunk-GWWX3FZ7.cjs} +3 -3
- package/dist/{chunk-Z6M2CI63.cjs.map → chunk-GWWX3FZ7.cjs.map} +1 -1
- package/dist/{chunk-33236Q7Y.cjs → chunk-JSP3WTFF.cjs} +3 -2
- package/dist/chunk-JSP3WTFF.cjs.map +1 -0
- package/dist/{chunk-AWQEN6WW.cjs → chunk-WDPHYI7S.cjs} +4 -3
- package/dist/chunk-WDPHYI7S.cjs.map +1 -0
- package/dist/connect/index.cjs +142 -129
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/viewer.cjs +3 -3
- package/dist/connection/config/useDeveloperConfig.d.ts +1 -0
- package/dist/connection/config/useModelPicker.d.ts +4 -0
- package/dist/connection/conversation/AgentSteps.js +1 -0
- package/dist/connection/conversation/AgentSteps.js.map +2 -2
- package/dist/connection/facts/useFactFilters.d.ts +3 -0
- package/dist/connection/settings-page/ConnectedPremiumModels.js +14 -1
- package/dist/connection/settings-page/ConnectedPremiumModels.js.map +2 -2
- package/dist/connection/tags/ConnectedTagTable.d.ts +1 -0
- package/dist/connection/workspace-list/useConnectedWorkspaceList.d.ts +1 -1
- package/dist/embed/index.cjs +8 -8
- package/dist/index.cjs +58 -58
- package/dist/tags/TagColumnsEditor.js +2 -1
- package/dist/tags/TagColumnsEditor.js.map +2 -2
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/chunk-33236Q7Y.cjs.map +0 -1
- package/dist/chunk-AWQEN6WW.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -9,9 +9,9 @@ var chunkOO452QD5_cjs = require('./chunk-OO452QD5.cjs');
|
|
|
9
9
|
var chunkANWJG4A4_cjs = require('./chunk-ANWJG4A4.cjs');
|
|
10
10
|
var chunkIM6R7DRQ_cjs = require('./chunk-IM6R7DRQ.cjs');
|
|
11
11
|
var chunkJEUHT7XH_cjs = require('./chunk-JEUHT7XH.cjs');
|
|
12
|
-
var chunkBLRPBEUG_cjs = require('./chunk-BLRPBEUG.cjs');
|
|
13
12
|
require('./chunk-TS2XVXYK.cjs');
|
|
14
|
-
var
|
|
13
|
+
var chunkBLRPBEUG_cjs = require('./chunk-BLRPBEUG.cjs');
|
|
14
|
+
var chunkWDPHYI7S_cjs = require('./chunk-WDPHYI7S.cjs');
|
|
15
15
|
var chunkI6GEQWIV_cjs = require('./chunk-I6GEQWIV.cjs');
|
|
16
16
|
var chunkNX56DIG3_cjs = require('./chunk-NX56DIG3.cjs');
|
|
17
17
|
var chunkTLIZD6DV_cjs = require('./chunk-TLIZD6DV.cjs');
|
|
@@ -52,9 +52,9 @@ var chunkXJEXFEWG_cjs = require('./chunk-XJEXFEWG.cjs');
|
|
|
52
52
|
var chunkE23H6FJR_cjs = require('./chunk-E23H6FJR.cjs');
|
|
53
53
|
var chunkYZSQ7F5K_cjs = require('./chunk-YZSQ7F5K.cjs');
|
|
54
54
|
var chunkKQF7POTG_cjs = require('./chunk-KQF7POTG.cjs');
|
|
55
|
-
var chunkHME72RFP_cjs = require('./chunk-HME72RFP.cjs');
|
|
56
55
|
var chunkMNIQDXM6_cjs = require('./chunk-MNIQDXM6.cjs');
|
|
57
56
|
var chunkVJNJ4G6Y_cjs = require('./chunk-VJNJ4G6Y.cjs');
|
|
57
|
+
var chunkHME72RFP_cjs = require('./chunk-HME72RFP.cjs');
|
|
58
58
|
var chunkHQ6SK34T_cjs = require('./chunk-HQ6SK34T.cjs');
|
|
59
59
|
var chunk75BNMCUX_cjs = require('./chunk-75BNMCUX.cjs');
|
|
60
60
|
var chunkC25KF2TM_cjs = require('./chunk-C25KF2TM.cjs');
|
|
@@ -439,191 +439,191 @@ Object.defineProperty(exports, "vCardFilename", {
|
|
|
439
439
|
});
|
|
440
440
|
Object.defineProperty(exports, "DEFAULT_GLOSSARY_LABELS", {
|
|
441
441
|
enumerable: true,
|
|
442
|
-
get: function () { return
|
|
442
|
+
get: function () { return chunkWDPHYI7S_cjs.DEFAULT_GLOSSARY_LABELS; }
|
|
443
443
|
});
|
|
444
444
|
Object.defineProperty(exports, "DEFAULT_TAG_COLUMNS_EDITOR_LABELS", {
|
|
445
445
|
enumerable: true,
|
|
446
|
-
get: function () { return
|
|
446
|
+
get: function () { return chunkWDPHYI7S_cjs.DEFAULT_TAG_COLUMNS_EDITOR_LABELS; }
|
|
447
447
|
});
|
|
448
448
|
Object.defineProperty(exports, "DEFAULT_TAG_DETAIL_LABELS", {
|
|
449
449
|
enumerable: true,
|
|
450
|
-
get: function () { return
|
|
450
|
+
get: function () { return chunkWDPHYI7S_cjs.DEFAULT_TAG_DETAIL_LABELS; }
|
|
451
451
|
});
|
|
452
452
|
Object.defineProperty(exports, "DEFAULT_TAG_TABLE_DOCX_LABELS", {
|
|
453
453
|
enumerable: true,
|
|
454
|
-
get: function () { return
|
|
454
|
+
get: function () { return chunkWDPHYI7S_cjs.DEFAULT_TAG_TABLE_DOCX_LABELS; }
|
|
455
455
|
});
|
|
456
456
|
Object.defineProperty(exports, "DEFAULT_TAG_TABLE_LABELS", {
|
|
457
457
|
enumerable: true,
|
|
458
|
-
get: function () { return
|
|
458
|
+
get: function () { return chunkWDPHYI7S_cjs.DEFAULT_TAG_TABLE_LABELS; }
|
|
459
459
|
});
|
|
460
460
|
Object.defineProperty(exports, "DEFAULT_WORKSPACE_ACTIVITY_LABELS", {
|
|
461
461
|
enumerable: true,
|
|
462
|
-
get: function () { return
|
|
462
|
+
get: function () { return chunkWDPHYI7S_cjs.DEFAULT_WORKSPACE_ACTIVITY_LABELS; }
|
|
463
463
|
});
|
|
464
464
|
Object.defineProperty(exports, "EXTRACT_LIMIT", {
|
|
465
465
|
enumerable: true,
|
|
466
|
-
get: function () { return
|
|
466
|
+
get: function () { return chunkWDPHYI7S_cjs.EXTRACT_LIMIT; }
|
|
467
467
|
});
|
|
468
468
|
Object.defineProperty(exports, "EntityIdentityBar", {
|
|
469
469
|
enumerable: true,
|
|
470
|
-
get: function () { return
|
|
470
|
+
get: function () { return chunkWDPHYI7S_cjs.EntityIdentityBar; }
|
|
471
471
|
});
|
|
472
472
|
Object.defineProperty(exports, "ExtractEntitiesDialog", {
|
|
473
473
|
enumerable: true,
|
|
474
|
-
get: function () { return
|
|
474
|
+
get: function () { return chunkWDPHYI7S_cjs.ExtractEntitiesDialog; }
|
|
475
475
|
});
|
|
476
476
|
Object.defineProperty(exports, "GridRowNavigator", {
|
|
477
477
|
enumerable: true,
|
|
478
|
-
get: function () { return
|
|
478
|
+
get: function () { return chunkWDPHYI7S_cjs.GridRowNavigator; }
|
|
479
479
|
});
|
|
480
480
|
Object.defineProperty(exports, "GuidedCursor", {
|
|
481
481
|
enumerable: true,
|
|
482
|
-
get: function () { return
|
|
482
|
+
get: function () { return chunkWDPHYI7S_cjs.GuidedCursor; }
|
|
483
483
|
});
|
|
484
484
|
Object.defineProperty(exports, "IDENTITY_NAME_MAX_LENGTH", {
|
|
485
485
|
enumerable: true,
|
|
486
|
-
get: function () { return
|
|
486
|
+
get: function () { return chunkWDPHYI7S_cjs.IDENTITY_NAME_MAX_LENGTH; }
|
|
487
487
|
});
|
|
488
488
|
Object.defineProperty(exports, "KIT_CHUNK_LOADERS", {
|
|
489
489
|
enumerable: true,
|
|
490
|
-
get: function () { return
|
|
490
|
+
get: function () { return chunkWDPHYI7S_cjs.KIT_CHUNK_LOADERS; }
|
|
491
491
|
});
|
|
492
492
|
Object.defineProperty(exports, "LoadingIndicator", {
|
|
493
493
|
enumerable: true,
|
|
494
|
-
get: function () { return
|
|
494
|
+
get: function () { return chunkWDPHYI7S_cjs.LoadingIndicator; }
|
|
495
495
|
});
|
|
496
496
|
Object.defineProperty(exports, "TAG_TABLE_DOCX_LANDSCAPE_AFTER", {
|
|
497
497
|
enumerable: true,
|
|
498
|
-
get: function () { return
|
|
498
|
+
get: function () { return chunkWDPHYI7S_cjs.TAG_TABLE_DOCX_LANDSCAPE_AFTER; }
|
|
499
499
|
});
|
|
500
500
|
Object.defineProperty(exports, "TagColumnsEditor", {
|
|
501
501
|
enumerable: true,
|
|
502
|
-
get: function () { return
|
|
502
|
+
get: function () { return chunkWDPHYI7S_cjs.TagColumnsEditor; }
|
|
503
503
|
});
|
|
504
504
|
Object.defineProperty(exports, "TagDetail", {
|
|
505
505
|
enumerable: true,
|
|
506
|
-
get: function () { return
|
|
506
|
+
get: function () { return chunkWDPHYI7S_cjs.TagDetail; }
|
|
507
507
|
});
|
|
508
508
|
Object.defineProperty(exports, "TagTable", {
|
|
509
509
|
enumerable: true,
|
|
510
|
-
get: function () { return
|
|
510
|
+
get: function () { return chunkWDPHYI7S_cjs.TagTable; }
|
|
511
511
|
});
|
|
512
512
|
Object.defineProperty(exports, "TagTableCell", {
|
|
513
513
|
enumerable: true,
|
|
514
|
-
get: function () { return
|
|
514
|
+
get: function () { return chunkWDPHYI7S_cjs.TagTableCell; }
|
|
515
515
|
});
|
|
516
516
|
Object.defineProperty(exports, "Toolbar", {
|
|
517
517
|
enumerable: true,
|
|
518
|
-
get: function () { return
|
|
518
|
+
get: function () { return chunkWDPHYI7S_cjs.Toolbar; }
|
|
519
519
|
});
|
|
520
520
|
Object.defineProperty(exports, "WorkspaceActivityList", {
|
|
521
521
|
enumerable: true,
|
|
522
|
-
get: function () { return
|
|
522
|
+
get: function () { return chunkWDPHYI7S_cjs.WorkspaceActivityList; }
|
|
523
523
|
});
|
|
524
524
|
Object.defineProperty(exports, "cellText", {
|
|
525
525
|
enumerable: true,
|
|
526
|
-
get: function () { return
|
|
526
|
+
get: function () { return chunkWDPHYI7S_cjs.cellText; }
|
|
527
527
|
});
|
|
528
528
|
Object.defineProperty(exports, "cellValue", {
|
|
529
529
|
enumerable: true,
|
|
530
|
-
get: function () { return
|
|
530
|
+
get: function () { return chunkWDPHYI7S_cjs.cellValue; }
|
|
531
531
|
});
|
|
532
532
|
Object.defineProperty(exports, "documentCount", {
|
|
533
533
|
enumerable: true,
|
|
534
|
-
get: function () { return
|
|
534
|
+
get: function () { return chunkWDPHYI7S_cjs.documentCount; }
|
|
535
535
|
});
|
|
536
536
|
Object.defineProperty(exports, "entitiesPhrase", {
|
|
537
537
|
enumerable: true,
|
|
538
|
-
get: function () { return
|
|
538
|
+
get: function () { return chunkWDPHYI7S_cjs.entitiesPhrase; }
|
|
539
539
|
});
|
|
540
540
|
Object.defineProperty(exports, "fieldWrites", {
|
|
541
541
|
enumerable: true,
|
|
542
|
-
get: function () { return
|
|
542
|
+
get: function () { return chunkWDPHYI7S_cjs.fieldWrites; }
|
|
543
543
|
});
|
|
544
544
|
Object.defineProperty(exports, "glossaryDocumentXml", {
|
|
545
545
|
enumerable: true,
|
|
546
|
-
get: function () { return
|
|
546
|
+
get: function () { return chunkWDPHYI7S_cjs.glossaryDocumentXml; }
|
|
547
547
|
});
|
|
548
548
|
Object.defineProperty(exports, "glossaryDocx", {
|
|
549
549
|
enumerable: true,
|
|
550
|
-
get: function () { return
|
|
550
|
+
get: function () { return chunkWDPHYI7S_cjs.glossaryDocx; }
|
|
551
551
|
});
|
|
552
552
|
Object.defineProperty(exports, "glossaryEntries", {
|
|
553
553
|
enumerable: true,
|
|
554
|
-
get: function () { return
|
|
554
|
+
get: function () { return chunkWDPHYI7S_cjs.glossaryEntries; }
|
|
555
555
|
});
|
|
556
556
|
Object.defineProperty(exports, "glossaryFileName", {
|
|
557
557
|
enumerable: true,
|
|
558
|
-
get: function () { return
|
|
558
|
+
get: function () { return chunkWDPHYI7S_cjs.glossaryFileName; }
|
|
559
559
|
});
|
|
560
560
|
Object.defineProperty(exports, "glossaryMarkdown", {
|
|
561
561
|
enumerable: true,
|
|
562
|
-
get: function () { return
|
|
562
|
+
get: function () { return chunkWDPHYI7S_cjs.glossaryMarkdown; }
|
|
563
563
|
});
|
|
564
564
|
Object.defineProperty(exports, "isGap", {
|
|
565
565
|
enumerable: true,
|
|
566
|
-
get: function () { return
|
|
566
|
+
get: function () { return chunkWDPHYI7S_cjs.isGap; }
|
|
567
567
|
});
|
|
568
568
|
Object.defineProperty(exports, "parseCell", {
|
|
569
569
|
enumerable: true,
|
|
570
|
-
get: function () { return
|
|
570
|
+
get: function () { return chunkWDPHYI7S_cjs.parseCell; }
|
|
571
571
|
});
|
|
572
572
|
Object.defineProperty(exports, "prefetchViewerChunks", {
|
|
573
573
|
enumerable: true,
|
|
574
|
-
get: function () { return
|
|
574
|
+
get: function () { return chunkWDPHYI7S_cjs.prefetchViewerChunks; }
|
|
575
575
|
});
|
|
576
576
|
Object.defineProperty(exports, "preloadKitChunks", {
|
|
577
577
|
enumerable: true,
|
|
578
|
-
get: function () { return
|
|
578
|
+
get: function () { return chunkWDPHYI7S_cjs.preloadKitChunks; }
|
|
579
579
|
});
|
|
580
580
|
Object.defineProperty(exports, "rowLinks", {
|
|
581
581
|
enumerable: true,
|
|
582
|
-
get: function () { return
|
|
582
|
+
get: function () { return chunkWDPHYI7S_cjs.rowLinks; }
|
|
583
583
|
});
|
|
584
584
|
Object.defineProperty(exports, "tagDetailLabels", {
|
|
585
585
|
enumerable: true,
|
|
586
|
-
get: function () { return
|
|
586
|
+
get: function () { return chunkWDPHYI7S_cjs.tagDetailLabels; }
|
|
587
587
|
});
|
|
588
588
|
Object.defineProperty(exports, "tagKindDescription", {
|
|
589
589
|
enumerable: true,
|
|
590
|
-
get: function () { return
|
|
590
|
+
get: function () { return chunkWDPHYI7S_cjs.tagKindDescription; }
|
|
591
591
|
});
|
|
592
592
|
Object.defineProperty(exports, "tagNoteLabel", {
|
|
593
593
|
enumerable: true,
|
|
594
|
-
get: function () { return
|
|
594
|
+
get: function () { return chunkWDPHYI7S_cjs.tagNoteLabel; }
|
|
595
595
|
});
|
|
596
596
|
Object.defineProperty(exports, "tagTableDocumentXml", {
|
|
597
597
|
enumerable: true,
|
|
598
|
-
get: function () { return
|
|
598
|
+
get: function () { return chunkWDPHYI7S_cjs.tagTableDocumentXml; }
|
|
599
599
|
});
|
|
600
600
|
Object.defineProperty(exports, "tagTableDocx", {
|
|
601
601
|
enumerable: true,
|
|
602
|
-
get: function () { return
|
|
602
|
+
get: function () { return chunkWDPHYI7S_cjs.tagTableDocx; }
|
|
603
603
|
});
|
|
604
604
|
Object.defineProperty(exports, "tagTableLabels", {
|
|
605
605
|
enumerable: true,
|
|
606
|
-
get: function () { return
|
|
606
|
+
get: function () { return chunkWDPHYI7S_cjs.tagTableLabels; }
|
|
607
607
|
});
|
|
608
608
|
Object.defineProperty(exports, "tagTableMarkdown", {
|
|
609
609
|
enumerable: true,
|
|
610
|
-
get: function () { return
|
|
610
|
+
get: function () { return chunkWDPHYI7S_cjs.tagTableMarkdown; }
|
|
611
611
|
});
|
|
612
612
|
Object.defineProperty(exports, "tagsPageNouns", {
|
|
613
613
|
enumerable: true,
|
|
614
|
-
get: function () { return
|
|
614
|
+
get: function () { return chunkWDPHYI7S_cjs.tagsPageNouns; }
|
|
615
615
|
});
|
|
616
616
|
Object.defineProperty(exports, "useTipsPlacement", {
|
|
617
617
|
enumerable: true,
|
|
618
|
-
get: function () { return
|
|
618
|
+
get: function () { return chunkWDPHYI7S_cjs.useTipsPlacement; }
|
|
619
619
|
});
|
|
620
620
|
Object.defineProperty(exports, "workspaceActivityHeadline", {
|
|
621
621
|
enumerable: true,
|
|
622
|
-
get: function () { return
|
|
622
|
+
get: function () { return chunkWDPHYI7S_cjs.workspaceActivityHeadline; }
|
|
623
623
|
});
|
|
624
624
|
Object.defineProperty(exports, "workspaceActivityTarget", {
|
|
625
625
|
enumerable: true,
|
|
626
|
-
get: function () { return
|
|
626
|
+
get: function () { return chunkWDPHYI7S_cjs.workspaceActivityTarget; }
|
|
627
627
|
});
|
|
628
628
|
Object.defineProperty(exports, "MemberAvatarStack", {
|
|
629
629
|
enumerable: true,
|
|
@@ -2145,14 +2145,6 @@ Object.defineProperty(exports, "useShellBottomInset", {
|
|
|
2145
2145
|
enumerable: true,
|
|
2146
2146
|
get: function () { return chunkKQF7POTG_cjs.useShellBottomInset; }
|
|
2147
2147
|
});
|
|
2148
|
-
Object.defineProperty(exports, "DEFAULT_SHARE_CONTROL_LABELS", {
|
|
2149
|
-
enumerable: true,
|
|
2150
|
-
get: function () { return chunkHME72RFP_cjs.DEFAULT_SHARE_CONTROL_LABELS; }
|
|
2151
|
-
});
|
|
2152
|
-
Object.defineProperty(exports, "ShareControl", {
|
|
2153
|
-
enumerable: true,
|
|
2154
|
-
get: function () { return chunkHME72RFP_cjs.ShareControl; }
|
|
2155
|
-
});
|
|
2156
2148
|
Object.defineProperty(exports, "DEFAULT_PASSAGE_PILL_LABELS", {
|
|
2157
2149
|
enumerable: true,
|
|
2158
2150
|
get: function () { return chunkMNIQDXM6_cjs.DEFAULT_PASSAGE_PILL_LABELS; }
|
|
@@ -2185,6 +2177,14 @@ Object.defineProperty(exports, "useCopyText", {
|
|
|
2185
2177
|
enumerable: true,
|
|
2186
2178
|
get: function () { return chunkVJNJ4G6Y_cjs.useCopyText; }
|
|
2187
2179
|
});
|
|
2180
|
+
Object.defineProperty(exports, "DEFAULT_SHARE_CONTROL_LABELS", {
|
|
2181
|
+
enumerable: true,
|
|
2182
|
+
get: function () { return chunkHME72RFP_cjs.DEFAULT_SHARE_CONTROL_LABELS; }
|
|
2183
|
+
});
|
|
2184
|
+
Object.defineProperty(exports, "ShareControl", {
|
|
2185
|
+
enumerable: true,
|
|
2186
|
+
get: function () { return chunkHME72RFP_cjs.ShareControl; }
|
|
2187
|
+
});
|
|
2188
2188
|
Object.defineProperty(exports, "docxEditorChunk", {
|
|
2189
2189
|
enumerable: true,
|
|
2190
2190
|
get: function () { return chunkHQ6SK34T_cjs.docxEditorChunk; }
|
|
@@ -28,7 +28,8 @@ const DEFAULT_TAG_COLUMNS_EDITOR_LABELS = {
|
|
|
28
28
|
relation: "Relation",
|
|
29
29
|
lookup: "Lookup",
|
|
30
30
|
rollup: "Rollup",
|
|
31
|
-
tag: "Link to tags"
|
|
31
|
+
tag: "Link to tags",
|
|
32
|
+
source: "Source"
|
|
32
33
|
}
|
|
33
34
|
};
|
|
34
35
|
const TYPES = ["text", "number", "date", "checkbox", "select", "person"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/tags/TagColumnsEditor.tsx"],
|
|
4
|
-
"sourcesContent": ["/**\n * The columns of a table of tags \u2014 the fields of their kind in the workspace (its issue fields \u2026) \u2014\n * edited as one list: rename, reorder by position, add, remove, and a choice field's options. A kept\n * column keeps its id, so its values stay (its type is fixed once created). Saved in full through\n * the host (`onSave`); data-free.\n */\n\nimport { useState } from 'react'\nimport { ArrowDown, ArrowUp, Loader2, Plus, X } from 'lucide-react'\nimport { Button, Input, cn } from '@arbidocs/react/ui'\nimport type { TagTableField, TagTableFieldType, TagTableFieldWrite } from './tagTableModel'\n\nexport interface TagColumnsEditorLabels {\n title: string\n addColumn: string\n name: string\n type: string\n options: string\n optionsPlaceholder: string\n remove: string\n moveUp: string\n moveDown: string\n save: string\n saving: string\n cancel: string\n empty: string\n types: Record<TagTableFieldType, string>\n}\n\nexport const DEFAULT_TAG_COLUMNS_EDITOR_LABELS: TagColumnsEditorLabels = {\n title: 'Columns',\n addColumn: 'Add column',\n name: 'Column name',\n type: 'Type',\n options: 'Choices',\n optionsPlaceholder: 'Choices, comma-separated',\n remove: 'Remove column',\n moveUp: 'Move up',\n moveDown: 'Move down',\n save: 'Save columns',\n saving: 'Saving\u2026',\n cancel: 'Cancel',\n empty: 'No columns.',\n types: {\n text: 'Text',\n number: 'Number',\n date: 'Date',\n checkbox: 'Yes / no',\n select: 'Choice',\n person: 'Person',\n document: 'Document',\n relation: 'Relation',\n lookup: 'Lookup',\n rollup: 'Rollup',\n tag: 'Link to tags',\n },\n}\n\n/** The types a tag's field can have. */\nconst TYPES: TagTableFieldType[] = ['text', 'number', 'date', 'checkbox', 'select', 'person']\n\ninterface Draft {\n id?: string\n name: string\n type: TagTableFieldType\n options: string\n}\n\nconst toDraft = (f: TagTableField): Draft => ({\n id: f.id,\n name: f.name,\n type: f.type,\n options: (f.options ?? []).join(', '),\n})\n\nconst toWrite = (d: Draft): TagTableFieldWrite => ({\n ...(d.id ? { id: d.id } : {}),\n name: d.name.trim(),\n type: d.type,\n options:\n d.type === 'tag'\n ? d.options\n .split(',')\n .map((o) => o.trim())\n .filter(Boolean)\n : d.type === 'select'\n ? d.options\n .split(',')\n .map((o) => o.trim())\n .filter(Boolean)\n : null,\n})\n\nexport interface TagColumnsEditorProps {\n columns: TagTableField[]\n /** Save the columns in full; a rejection (e.g. two columns of one name) stays on screen. */\n onSave: (fields: TagTableFieldWrite[]) => void | Promise<unknown>\n onCancel: () => void\n labels?: Partial<TagColumnsEditorLabels>\n className?: string\n testId?: string\n}\n\nexport function TagColumnsEditor({\n columns,\n onSave,\n onCancel,\n labels,\n className,\n testId = 'tag-columns',\n}: TagColumnsEditorProps) {\n const l = { ...DEFAULT_TAG_COLUMNS_EDITOR_LABELS, ...labels }\n const [drafts, setDrafts] = useState<Draft[]>(() => columns.map(toDraft))\n const [saving, setSaving] = useState(false)\n const patch = (i: number, change: Partial<Draft>) =>\n setDrafts((ds) => ds.map((d, j) => (j === i ? { ...d, ...change } : d)))\n const move = (i: number, by: number) =>\n setDrafts((ds) => {\n const next = [...ds]\n const [d] = next.splice(i, 1)\n next.splice(i + by, 0, d)\n return next\n })\n const valid = drafts.every(\n (d) => d.name.trim() && (d.type !== 'select' || toWrite(d).options?.length)\n )\n const input =\n 'h-8 rounded-md border border-input bg-background px-2 text-sm focus:outline-none focus:ring-1 focus:ring-ring'\n\n return (\n <form\n className={cn('space-y-2 rounded-lg border border-border p-3', className)}\n onSubmit={async (e) => {\n e.preventDefault()\n if (!valid) return\n setSaving(true)\n try {\n await onSave(drafts.map(toWrite))\n } finally {\n setSaving(false)\n }\n }}\n data-testid={testId}\n >\n <h3 className=\"text-sm font-semibold\">{l.title}</h3>\n {drafts.length === 0 && <p className=\"text-sm text-muted-foreground\">{l.empty}</p>}\n <ul className=\"space-y-2\">\n {drafts.map((d, i) => (\n <li\n key={d.id ?? `new-${i}`}\n className=\"flex flex-wrap items-center gap-2\"\n data-testid={`${testId}-column-${i}`}\n >\n <Input\n className=\"h-8 w-48\"\n value={d.name}\n placeholder={l.name}\n aria-label={l.name}\n onChange={(e) => patch(i, { name: e.target.value })}\n data-testid={`${testId}-name-${i}`}\n />\n <select\n className={cn(input, 'w-32')}\n value={d.type}\n // A column's type is fixed once it exists: its values were written for it.\n disabled={!!d.id}\n aria-label={l.type}\n onChange={(e) => patch(i, { type: e.target.value as TagTableFieldType })}\n data-testid={`${testId}-type-${i}`}\n >\n {(TYPES.includes(d.type) ? TYPES : [d.type, ...TYPES]).map((t) => (\n <option key={t} value={t}>\n {l.types[t]}\n </option>\n ))}\n </select>\n {d.type === 'select' && (\n <Input\n className=\"h-8 min-w-48 flex-1\"\n value={d.options}\n placeholder={l.optionsPlaceholder}\n aria-label={l.options}\n onChange={(e) => patch(i, { options: e.target.value })}\n data-testid={`${testId}-options-${i}`}\n />\n )}\n <div className=\"ml-auto flex items-center\">\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon\"\n disabled={i === 0}\n aria-label={l.moveUp}\n onClick={() => move(i, -1)}\n >\n <ArrowUp className=\"size-4\" />\n </Button>\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon\"\n disabled={i === drafts.length - 1}\n aria-label={l.moveDown}\n onClick={() => move(i, 1)}\n >\n <ArrowDown className=\"size-4\" />\n </Button>\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon\"\n aria-label={l.remove}\n onClick={() => setDrafts((ds) => ds.filter((_, j) => j !== i))}\n data-testid={`${testId}-remove-${i}`}\n >\n <X className=\"size-4\" />\n </Button>\n </div>\n </li>\n ))}\n </ul>\n <div className=\"flex flex-wrap items-center gap-2\">\n <Button\n type=\"button\"\n variant=\"outline\"\n size=\"sm\"\n onClick={() => setDrafts((ds) => [...ds, { name: '', type: 'text', options: '' }])}\n data-testid={`${testId}-add`}\n >\n <Plus className=\"size-4\" /> {l.addColumn}\n </Button>\n <div className=\"ml-auto flex items-center gap-2\">\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={onCancel}>\n {l.cancel}\n </Button>\n <Button\n type=\"submit\"\n size=\"sm\"\n disabled={!valid || saving}\n data-testid={`${testId}-save`}\n >\n {saving && <Loader2 className=\"size-4 animate-spin\" />}\n {saving ? l.saving : l.save}\n </Button>\n </div>\n </div>\n </form>\n )\n}\n"],
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["/**\n * The columns of a table of tags \u2014 the fields of their kind in the workspace (its issue fields \u2026) \u2014\n * edited as one list: rename, reorder by position, add, remove, and a choice field's options. A kept\n * column keeps its id, so its values stay (its type is fixed once created). Saved in full through\n * the host (`onSave`); data-free.\n */\n\nimport { useState } from 'react'\nimport { ArrowDown, ArrowUp, Loader2, Plus, X } from 'lucide-react'\nimport { Button, Input, cn } from '@arbidocs/react/ui'\nimport type { TagTableField, TagTableFieldType, TagTableFieldWrite } from './tagTableModel'\n\nexport interface TagColumnsEditorLabels {\n title: string\n addColumn: string\n name: string\n type: string\n options: string\n optionsPlaceholder: string\n remove: string\n moveUp: string\n moveDown: string\n save: string\n saving: string\n cancel: string\n empty: string\n types: Record<TagTableFieldType, string>\n}\n\nexport const DEFAULT_TAG_COLUMNS_EDITOR_LABELS: TagColumnsEditorLabels = {\n title: 'Columns',\n addColumn: 'Add column',\n name: 'Column name',\n type: 'Type',\n options: 'Choices',\n optionsPlaceholder: 'Choices, comma-separated',\n remove: 'Remove column',\n moveUp: 'Move up',\n moveDown: 'Move down',\n save: 'Save columns',\n saving: 'Saving\u2026',\n cancel: 'Cancel',\n empty: 'No columns.',\n types: {\n text: 'Text',\n number: 'Number',\n date: 'Date',\n checkbox: 'Yes / no',\n select: 'Choice',\n person: 'Person',\n document: 'Document',\n relation: 'Relation',\n lookup: 'Lookup',\n rollup: 'Rollup',\n tag: 'Link to tags',\n source: 'Source',\n },\n}\n\n/** The types a tag's field can have. */\nconst TYPES: TagTableFieldType[] = ['text', 'number', 'date', 'checkbox', 'select', 'person']\n\ninterface Draft {\n id?: string\n name: string\n type: TagTableFieldType\n options: string\n}\n\nconst toDraft = (f: TagTableField): Draft => ({\n id: f.id,\n name: f.name,\n type: f.type,\n options: (f.options ?? []).join(', '),\n})\n\nconst toWrite = (d: Draft): TagTableFieldWrite => ({\n ...(d.id ? { id: d.id } : {}),\n name: d.name.trim(),\n type: d.type,\n options:\n d.type === 'tag'\n ? d.options\n .split(',')\n .map((o) => o.trim())\n .filter(Boolean)\n : d.type === 'select'\n ? d.options\n .split(',')\n .map((o) => o.trim())\n .filter(Boolean)\n : null,\n})\n\nexport interface TagColumnsEditorProps {\n columns: TagTableField[]\n /** Save the columns in full; a rejection (e.g. two columns of one name) stays on screen. */\n onSave: (fields: TagTableFieldWrite[]) => void | Promise<unknown>\n onCancel: () => void\n labels?: Partial<TagColumnsEditorLabels>\n className?: string\n testId?: string\n}\n\nexport function TagColumnsEditor({\n columns,\n onSave,\n onCancel,\n labels,\n className,\n testId = 'tag-columns',\n}: TagColumnsEditorProps) {\n const l = { ...DEFAULT_TAG_COLUMNS_EDITOR_LABELS, ...labels }\n const [drafts, setDrafts] = useState<Draft[]>(() => columns.map(toDraft))\n const [saving, setSaving] = useState(false)\n const patch = (i: number, change: Partial<Draft>) =>\n setDrafts((ds) => ds.map((d, j) => (j === i ? { ...d, ...change } : d)))\n const move = (i: number, by: number) =>\n setDrafts((ds) => {\n const next = [...ds]\n const [d] = next.splice(i, 1)\n next.splice(i + by, 0, d)\n return next\n })\n const valid = drafts.every(\n (d) => d.name.trim() && (d.type !== 'select' || toWrite(d).options?.length)\n )\n const input =\n 'h-8 rounded-md border border-input bg-background px-2 text-sm focus:outline-none focus:ring-1 focus:ring-ring'\n\n return (\n <form\n className={cn('space-y-2 rounded-lg border border-border p-3', className)}\n onSubmit={async (e) => {\n e.preventDefault()\n if (!valid) return\n setSaving(true)\n try {\n await onSave(drafts.map(toWrite))\n } finally {\n setSaving(false)\n }\n }}\n data-testid={testId}\n >\n <h3 className=\"text-sm font-semibold\">{l.title}</h3>\n {drafts.length === 0 && <p className=\"text-sm text-muted-foreground\">{l.empty}</p>}\n <ul className=\"space-y-2\">\n {drafts.map((d, i) => (\n <li\n key={d.id ?? `new-${i}`}\n className=\"flex flex-wrap items-center gap-2\"\n data-testid={`${testId}-column-${i}`}\n >\n <Input\n className=\"h-8 w-48\"\n value={d.name}\n placeholder={l.name}\n aria-label={l.name}\n onChange={(e) => patch(i, { name: e.target.value })}\n data-testid={`${testId}-name-${i}`}\n />\n <select\n className={cn(input, 'w-32')}\n value={d.type}\n // A column's type is fixed once it exists: its values were written for it.\n disabled={!!d.id}\n aria-label={l.type}\n onChange={(e) => patch(i, { type: e.target.value as TagTableFieldType })}\n data-testid={`${testId}-type-${i}`}\n >\n {(TYPES.includes(d.type) ? TYPES : [d.type, ...TYPES]).map((t) => (\n <option key={t} value={t}>\n {l.types[t]}\n </option>\n ))}\n </select>\n {d.type === 'select' && (\n <Input\n className=\"h-8 min-w-48 flex-1\"\n value={d.options}\n placeholder={l.optionsPlaceholder}\n aria-label={l.options}\n onChange={(e) => patch(i, { options: e.target.value })}\n data-testid={`${testId}-options-${i}`}\n />\n )}\n <div className=\"ml-auto flex items-center\">\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon\"\n disabled={i === 0}\n aria-label={l.moveUp}\n onClick={() => move(i, -1)}\n >\n <ArrowUp className=\"size-4\" />\n </Button>\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon\"\n disabled={i === drafts.length - 1}\n aria-label={l.moveDown}\n onClick={() => move(i, 1)}\n >\n <ArrowDown className=\"size-4\" />\n </Button>\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon\"\n aria-label={l.remove}\n onClick={() => setDrafts((ds) => ds.filter((_, j) => j !== i))}\n data-testid={`${testId}-remove-${i}`}\n >\n <X className=\"size-4\" />\n </Button>\n </div>\n </li>\n ))}\n </ul>\n <div className=\"flex flex-wrap items-center gap-2\">\n <Button\n type=\"button\"\n variant=\"outline\"\n size=\"sm\"\n onClick={() => setDrafts((ds) => [...ds, { name: '', type: 'text', options: '' }])}\n data-testid={`${testId}-add`}\n >\n <Plus className=\"size-4\" /> {l.addColumn}\n </Button>\n <div className=\"ml-auto flex items-center gap-2\">\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={onCancel}>\n {l.cancel}\n </Button>\n <Button\n type=\"submit\"\n size=\"sm\"\n disabled={!valid || saving}\n data-testid={`${testId}-save`}\n >\n {saving && <Loader2 className=\"size-4 animate-spin\" />}\n {saving ? l.saving : l.save}\n </Button>\n </div>\n </div>\n </form>\n )\n}\n"],
|
|
5
|
+
"mappings": ";AAiJM,cA0CM,YA1CN;AA1IN,SAAS,gBAAgB;AACzB,SAAS,WAAW,SAAS,SAAS,MAAM,SAAS;AACrD,SAAS,QAAQ,OAAO,UAAU;AAoB3B,MAAM,oCAA4D;AAAA,EACvE,OAAO;AAAA,EACP,WAAW;AAAA,EACX,MAAM;AAAA,EACN,MAAM;AAAA,EACN,SAAS;AAAA,EACT,oBAAoB;AAAA,EACpB,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,OAAO;AAAA,IACL,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,UAAU;AAAA,IACV,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,UAAU;AAAA,IACV,QAAQ;AAAA,IACR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AO,GAAG,OAAO,CAAC,GAAG,MAAM,MAAM,CAAC,CAAC;AAAA,oBAC7D,eAAa,GAAG,MAAM,WAAW,CAAC;AAAA,oBAElC,8BAAC,KAAE,WAAU,UAAS;AAAA;AAAA,gBACxB;AAAA,iBACF;AAAA;AAAA;AAAA,UApEK,EAAE,MAAM,OAAO,CAAC;AAAA,QAqEvB,CACD,GACH;AAAA,QACA,qBAAC,SAAI,WAAU,qCACb;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,MAAK;AAAA,cACL,SAAQ;AAAA,cACR,MAAK;AAAA,cACL,SAAS,MAAM,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,MAAM,IAAI,MAAM,QAAQ,SAAS,GAAG,CAAC,CAAC;AAAA,cACjF,eAAa,GAAG,MAAM;AAAA,cAEtB;AAAA,oCAAC,QAAK,WAAU,UAAS;AAAA,gBAAE;AAAA,gBAAE,EAAE;AAAA;AAAA;AAAA,UACjC;AAAA,UACA,qBAAC,SAAI,WAAU,mCACb;AAAA,gCAAC,UAAO,MAAK,UAAS,SAAQ,SAAQ,MAAK,MAAK,SAAS,UACtD,YAAE,QACL;AAAA,YACA;AAAA,cAAC;AAAA;AAAA,gBACC,MAAK;AAAA,gBACL,MAAK;AAAA,gBACL,UAAU,CAAC,SAAS;AAAA,gBACpB,eAAa,GAAG,MAAM;AAAA,gBAErB;AAAA,4BAAU,oBAAC,WAAQ,WAAU,uBAAsB;AAAA,kBACnD,SAAS,EAAE,SAAS,EAAE;AAAA;AAAA;AAAA,YACzB;AAAA,aACF;AAAA,WACF;AAAA;AAAA;AAAA,EACF;AAEJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/coedit",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.194",
|
|
4
4
|
"description": "Real-time collaboration for the ARBI native DOCX editor: a Yjs mirror of the canonical OOXML package, session, and server runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/blocks",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.194",
|
|
4
4
|
"description": "Composable, domain-neutral UI blocks for ARBI apps, organised by capability (retrieval, facts, agents, workspaces, citations, collaboration) plus shell, theme and site primitives, on top of @arbidocs/react.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -361,9 +361,9 @@
|
|
|
361
361
|
"custom-site:test:e2e": "playwright test -c examples/custom-site/playwright.config.ts"
|
|
362
362
|
},
|
|
363
363
|
"dependencies": {
|
|
364
|
-
"@arbidocs/client": "0.5.
|
|
365
|
-
"@arbidocs/coedit": "0.5.
|
|
366
|
-
"@arbidocs/sdk": "0.5.
|
|
364
|
+
"@arbidocs/client": "0.5.194",
|
|
365
|
+
"@arbidocs/coedit": "0.5.194",
|
|
366
|
+
"@arbidocs/sdk": "0.5.194",
|
|
367
367
|
"@auth0/auth0-react": "^2.19.0",
|
|
368
368
|
"@dnd-kit/core": "^6.3.1",
|
|
369
369
|
"@dnd-kit/sortable": "^10.0.0",
|
|
@@ -416,7 +416,7 @@
|
|
|
416
416
|
"y-protocols": "^1.0.6"
|
|
417
417
|
},
|
|
418
418
|
"peerDependencies": {
|
|
419
|
-
"@arbidocs/react": "0.5.
|
|
419
|
+
"@arbidocs/react": "0.5.194",
|
|
420
420
|
"@lexical/html": "0.35.0",
|
|
421
421
|
"@lexical/link": "0.35.0",
|
|
422
422
|
"@lexical/list": "0.35.0",
|