@arbidocs/blocks 0.4.77 → 0.4.79
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/agents/index.cjs +287 -275
- package/dist/agents/index.js +3 -3
- package/dist/agents/tasks/WorkflowThreadStrip.d.ts +9 -4
- package/dist/agents/workflows/StepBarFrame.d.ts +75 -0
- package/dist/agents/workflows/WorkflowRunner.d.ts +5 -1
- package/dist/agents/workflows/WorkflowStepBar.d.ts +9 -11
- package/dist/agents/workflows/index.d.ts +2 -0
- package/dist/agents/workflows/stepWindow.d.ts +59 -0
- package/dist/chat/ChatPage.d.ts +1 -1
- package/dist/chat/chat-page-types.d.ts +5 -0
- package/dist/chat/index.cjs +124 -124
- package/dist/chat/index.js +2 -2
- package/dist/{chunk-JFUN4D7D.cjs → chunk-3YET6D5E.cjs} +150 -146
- package/dist/chunk-3YET6D5E.cjs.map +1 -0
- package/dist/{chunk-B3WCKBJ7.cjs → chunk-5XVWGJ2H.cjs} +3 -3
- package/dist/{chunk-B3WCKBJ7.cjs.map → chunk-5XVWGJ2H.cjs.map} +1 -1
- package/dist/{chunk-34UW6XUQ.js → chunk-6GXF62XN.js} +566 -171
- package/dist/chunk-6GXF62XN.js.map +1 -0
- package/dist/{chunk-HEVVT6IT.js → chunk-BMOL5DN6.js} +126 -122
- package/dist/chunk-BMOL5DN6.js.map +1 -0
- package/dist/chunk-CWAZNXC5.js +441 -0
- package/dist/chunk-CWAZNXC5.js.map +1 -0
- package/dist/{chunk-NIP5BOP7.js → chunk-EWSEQEPL.js} +5 -4
- package/dist/chunk-EWSEQEPL.js.map +1 -0
- package/dist/{chunk-UEU23PTW.js → chunk-ICBAFX5B.js} +3 -3
- package/dist/{chunk-UEU23PTW.js.map → chunk-ICBAFX5B.js.map} +1 -1
- package/dist/{chunk-EKIUMNCN.cjs → chunk-IF6VAYIA.cjs} +5 -5
- package/dist/{chunk-EKIUMNCN.cjs.map → chunk-IF6VAYIA.cjs.map} +1 -1
- package/dist/chunk-MLAHDAN5.cjs +450 -0
- package/dist/chunk-MLAHDAN5.cjs.map +1 -0
- package/dist/{chunk-HOD6OM7L.cjs → chunk-MP6FK43E.cjs} +5 -4
- package/dist/chunk-MP6FK43E.cjs.map +1 -0
- package/dist/{chunk-GJV2G4FC.js → chunk-O35LRB3P.js} +3 -3
- package/dist/{chunk-GJV2G4FC.js.map → chunk-O35LRB3P.js.map} +1 -1
- package/dist/{chunk-GTXOV7IJ.cjs → chunk-XMBYDLZQ.cjs} +4 -4
- package/dist/{chunk-GTXOV7IJ.cjs.map → chunk-XMBYDLZQ.cjs.map} +1 -1
- package/dist/{chunk-OEM5ARVM.js → chunk-XQDM6T6C.js} +3 -3
- package/dist/{chunk-OEM5ARVM.js.map → chunk-XQDM6T6C.js.map} +1 -1
- package/dist/{chunk-3XR3IEGU.cjs → chunk-YGUKTFKW.cjs} +572 -167
- package/dist/chunk-YGUKTFKW.cjs.map +1 -0
- package/dist/connect/index.cjs +233 -77
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +2 -0
- package/dist/connect/index.js +191 -37
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectedTagMatrix.d.ts +20 -0
- package/dist/connection/ConnectedWorkflowRunner.d.ts +13 -1
- package/dist/connection/WorkflowRunThread.d.ts +21 -0
- package/dist/databases/ColumnConfigFields.d.ts +68 -0
- package/dist/databases/DatabaseColumnDialog.d.ts +27 -2
- package/dist/databases/DatabaseTable.d.ts +8 -1
- package/dist/databases/PickCellEditor.d.ts +21 -0
- package/dist/databases/column-types.d.ts +73 -9
- package/dist/databases/databaseColumns.d.ts +4 -0
- package/dist/databases/index.cjs +758 -27
- package/dist/databases/index.cjs.map +1 -1
- package/dist/databases/index.d.ts +4 -1
- package/dist/databases/index.js +745 -31
- package/dist/databases/index.js.map +1 -1
- package/dist/databases/linkCells.d.ts +48 -0
- package/dist/files/index.cjs +2 -2
- package/dist/files/index.js +2 -2
- package/dist/index.cjs +624 -579
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/dist/settings/index.cjs +35 -35
- package/dist/settings/index.js +3 -3
- package/dist/studio/index.cjs +3 -3
- package/dist/studio/index.js +2 -2
- package/dist/tags/TagMatrix.d.ts +64 -0
- package/dist/tags/index.d.ts +3 -0
- package/dist/tags/tagMatrixModel.d.ts +39 -0
- package/dist/workflow-canvas/index.cjs +46 -46
- package/dist/workflow-canvas/index.js +3 -3
- package/dist/workspaces/index.cjs +1 -1
- package/dist/workspaces/index.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-34UW6XUQ.js.map +0 -1
- package/dist/chunk-3XR3IEGU.cjs.map +0 -1
- package/dist/chunk-HEVVT6IT.js.map +0 -1
- package/dist/chunk-HOD6OM7L.cjs.map +0 -1
- package/dist/chunk-JFUN4D7D.cjs.map +0 -1
- package/dist/chunk-NIP5BOP7.js.map +0 -1
package/dist/settings/index.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunk5XVWGJ2H_cjs = require('../chunk-5XVWGJ2H.cjs');
|
|
5
5
|
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
6
6
|
var chunk46IU3UPF_cjs = require('../chunk-46IU3UPF.cjs');
|
|
7
7
|
var chunkYJQVLVBJ_cjs = require('../chunk-YJQVLVBJ.cjs');
|
|
8
8
|
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
9
9
|
var chunkVFUWWH52_cjs = require('../chunk-VFUWWH52.cjs');
|
|
10
10
|
require('../chunk-ADOKTJHV.cjs');
|
|
11
|
+
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
11
12
|
require('../chunk-PPCATBOY.cjs');
|
|
12
13
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
13
|
-
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
14
14
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
15
15
|
require('../chunk-DES3K4SD.cjs');
|
|
16
16
|
var react = require('react');
|
|
@@ -3476,135 +3476,135 @@ function ErrorDialogView({
|
|
|
3476
3476
|
|
|
3477
3477
|
Object.defineProperty(exports, "ActiveSessionsDialog", {
|
|
3478
3478
|
enumerable: true,
|
|
3479
|
-
get: function () { return
|
|
3479
|
+
get: function () { return chunk5XVWGJ2H_cjs.ActiveSessionsDialog; }
|
|
3480
3480
|
});
|
|
3481
3481
|
Object.defineProperty(exports, "AvatarPicker", {
|
|
3482
3482
|
enumerable: true,
|
|
3483
|
-
get: function () { return
|
|
3483
|
+
get: function () { return chunk5XVWGJ2H_cjs.AvatarPicker; }
|
|
3484
3484
|
});
|
|
3485
3485
|
Object.defineProperty(exports, "DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS", {
|
|
3486
3486
|
enumerable: true,
|
|
3487
|
-
get: function () { return
|
|
3487
|
+
get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS; }
|
|
3488
3488
|
});
|
|
3489
3489
|
Object.defineProperty(exports, "DEFAULT_AVATAR_PICKER_LABELS", {
|
|
3490
3490
|
enumerable: true,
|
|
3491
|
-
get: function () { return
|
|
3491
|
+
get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_AVATAR_PICKER_LABELS; }
|
|
3492
3492
|
});
|
|
3493
3493
|
Object.defineProperty(exports, "DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS", {
|
|
3494
3494
|
enumerable: true,
|
|
3495
|
-
get: function () { return
|
|
3495
|
+
get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS; }
|
|
3496
3496
|
});
|
|
3497
3497
|
Object.defineProperty(exports, "DEFAULT_IDENTITY_VERIFICATION_LABELS", {
|
|
3498
3498
|
enumerable: true,
|
|
3499
|
-
get: function () { return
|
|
3499
|
+
get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_IDENTITY_VERIFICATION_LABELS; }
|
|
3500
3500
|
});
|
|
3501
3501
|
Object.defineProperty(exports, "DEFAULT_LOGOUT_DIALOG_LABELS", {
|
|
3502
3502
|
enumerable: true,
|
|
3503
|
-
get: function () { return
|
|
3503
|
+
get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_LOGOUT_DIALOG_LABELS; }
|
|
3504
3504
|
});
|
|
3505
3505
|
Object.defineProperty(exports, "DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS", {
|
|
3506
3506
|
enumerable: true,
|
|
3507
|
-
get: function () { return
|
|
3507
|
+
get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS; }
|
|
3508
3508
|
});
|
|
3509
3509
|
Object.defineProperty(exports, "DEFAULT_PROFILE_CARD_LABELS", {
|
|
3510
3510
|
enumerable: true,
|
|
3511
|
-
get: function () { return
|
|
3511
|
+
get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_PROFILE_CARD_LABELS; }
|
|
3512
3512
|
});
|
|
3513
3513
|
Object.defineProperty(exports, "DEFAULT_SETTINGS_DANGER_ZONE_LABELS", {
|
|
3514
3514
|
enumerable: true,
|
|
3515
|
-
get: function () { return
|
|
3515
|
+
get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_SETTINGS_DANGER_ZONE_LABELS; }
|
|
3516
3516
|
});
|
|
3517
3517
|
Object.defineProperty(exports, "DeleteAccountDialog", {
|
|
3518
3518
|
enumerable: true,
|
|
3519
|
-
get: function () { return
|
|
3519
|
+
get: function () { return chunk5XVWGJ2H_cjs.DeleteAccountDialog; }
|
|
3520
3520
|
});
|
|
3521
3521
|
Object.defineProperty(exports, "EMAIL_NOTIFICATION_CATEGORIES", {
|
|
3522
3522
|
enumerable: true,
|
|
3523
|
-
get: function () { return
|
|
3523
|
+
get: function () { return chunk5XVWGJ2H_cjs.EMAIL_NOTIFICATION_CATEGORIES; }
|
|
3524
3524
|
});
|
|
3525
3525
|
Object.defineProperty(exports, "EMAIL_NOTIFICATION_KEYS", {
|
|
3526
3526
|
enumerable: true,
|
|
3527
|
-
get: function () { return
|
|
3527
|
+
get: function () { return chunk5XVWGJ2H_cjs.EMAIL_NOTIFICATION_KEYS; }
|
|
3528
3528
|
});
|
|
3529
3529
|
Object.defineProperty(exports, "IdentityVerificationCard", {
|
|
3530
3530
|
enumerable: true,
|
|
3531
|
-
get: function () { return
|
|
3531
|
+
get: function () { return chunk5XVWGJ2H_cjs.IdentityVerificationCard; }
|
|
3532
3532
|
});
|
|
3533
3533
|
Object.defineProperty(exports, "IdentityVerificationDialog", {
|
|
3534
3534
|
enumerable: true,
|
|
3535
|
-
get: function () { return
|
|
3535
|
+
get: function () { return chunk5XVWGJ2H_cjs.IdentityVerificationDialog; }
|
|
3536
3536
|
});
|
|
3537
3537
|
Object.defineProperty(exports, "LogoutDialog", {
|
|
3538
3538
|
enumerable: true,
|
|
3539
|
-
get: function () { return
|
|
3539
|
+
get: function () { return chunk5XVWGJ2H_cjs.LogoutDialog; }
|
|
3540
3540
|
});
|
|
3541
3541
|
Object.defineProperty(exports, "NotificationCategoryList", {
|
|
3542
3542
|
enumerable: true,
|
|
3543
|
-
get: function () { return
|
|
3543
|
+
get: function () { return chunk5XVWGJ2H_cjs.NotificationCategoryList; }
|
|
3544
3544
|
});
|
|
3545
3545
|
Object.defineProperty(exports, "PasswordChangeDialog", {
|
|
3546
3546
|
enumerable: true,
|
|
3547
|
-
get: function () { return
|
|
3547
|
+
get: function () { return chunk5XVWGJ2H_cjs.PasswordChangeDialog; }
|
|
3548
3548
|
});
|
|
3549
3549
|
Object.defineProperty(exports, "ProfileCard", {
|
|
3550
3550
|
enumerable: true,
|
|
3551
|
-
get: function () { return
|
|
3551
|
+
get: function () { return chunk5XVWGJ2H_cjs.ProfileCard; }
|
|
3552
3552
|
});
|
|
3553
3553
|
Object.defineProperty(exports, "RequireVerified", {
|
|
3554
3554
|
enumerable: true,
|
|
3555
|
-
get: function () { return
|
|
3555
|
+
get: function () { return chunk5XVWGJ2H_cjs.RequireVerified; }
|
|
3556
3556
|
});
|
|
3557
3557
|
Object.defineProperty(exports, "SettingsActionRow", {
|
|
3558
3558
|
enumerable: true,
|
|
3559
|
-
get: function () { return
|
|
3559
|
+
get: function () { return chunk5XVWGJ2H_cjs.SettingsActionRow; }
|
|
3560
3560
|
});
|
|
3561
3561
|
Object.defineProperty(exports, "SettingsCard", {
|
|
3562
3562
|
enumerable: true,
|
|
3563
|
-
get: function () { return
|
|
3563
|
+
get: function () { return chunk5XVWGJ2H_cjs.SettingsCard; }
|
|
3564
3564
|
});
|
|
3565
3565
|
Object.defineProperty(exports, "SettingsDangerZone", {
|
|
3566
3566
|
enumerable: true,
|
|
3567
|
-
get: function () { return
|
|
3567
|
+
get: function () { return chunk5XVWGJ2H_cjs.SettingsDangerZone; }
|
|
3568
3568
|
});
|
|
3569
3569
|
Object.defineProperty(exports, "SettingsPanel", {
|
|
3570
3570
|
enumerable: true,
|
|
3571
|
-
get: function () { return
|
|
3571
|
+
get: function () { return chunk5XVWGJ2H_cjs.SettingsPanel; }
|
|
3572
3572
|
});
|
|
3573
3573
|
Object.defineProperty(exports, "SettingsRow", {
|
|
3574
3574
|
enumerable: true,
|
|
3575
|
-
get: function () { return
|
|
3575
|
+
get: function () { return chunk5XVWGJ2H_cjs.SettingsRow; }
|
|
3576
3576
|
});
|
|
3577
3577
|
Object.defineProperty(exports, "SettingsSection", {
|
|
3578
3578
|
enumerable: true,
|
|
3579
|
-
get: function () { return
|
|
3579
|
+
get: function () { return chunk5XVWGJ2H_cjs.SettingsSection; }
|
|
3580
3580
|
});
|
|
3581
3581
|
Object.defineProperty(exports, "SettingsSwitchGroup", {
|
|
3582
3582
|
enumerable: true,
|
|
3583
|
-
get: function () { return
|
|
3583
|
+
get: function () { return chunk5XVWGJ2H_cjs.SettingsSwitchGroup; }
|
|
3584
3584
|
});
|
|
3585
3585
|
Object.defineProperty(exports, "SettingsSwitchRow", {
|
|
3586
3586
|
enumerable: true,
|
|
3587
|
-
get: function () { return
|
|
3587
|
+
get: function () { return chunk5XVWGJ2H_cjs.SettingsSwitchRow; }
|
|
3588
3588
|
});
|
|
3589
3589
|
Object.defineProperty(exports, "formatSessionTtl", {
|
|
3590
3590
|
enumerable: true,
|
|
3591
|
-
get: function () { return
|
|
3591
|
+
get: function () { return chunk5XVWGJ2H_cjs.formatSessionTtl; }
|
|
3592
3592
|
});
|
|
3593
3593
|
Object.defineProperty(exports, "toActiveSessionViews", {
|
|
3594
3594
|
enumerable: true,
|
|
3595
|
-
get: function () { return
|
|
3595
|
+
get: function () { return chunk5XVWGJ2H_cjs.toActiveSessionViews; }
|
|
3596
3596
|
});
|
|
3597
3597
|
Object.defineProperty(exports, "toDeleteBlockerViews", {
|
|
3598
3598
|
enumerable: true,
|
|
3599
|
-
get: function () { return
|
|
3599
|
+
get: function () { return chunk5XVWGJ2H_cjs.toDeleteBlockerViews; }
|
|
3600
3600
|
});
|
|
3601
3601
|
Object.defineProperty(exports, "toLogoutSessionViews", {
|
|
3602
3602
|
enumerable: true,
|
|
3603
|
-
get: function () { return
|
|
3603
|
+
get: function () { return chunk5XVWGJ2H_cjs.toLogoutSessionViews; }
|
|
3604
3604
|
});
|
|
3605
3605
|
Object.defineProperty(exports, "toNotificationCategories", {
|
|
3606
3606
|
enumerable: true,
|
|
3607
|
-
get: function () { return
|
|
3607
|
+
get: function () { return chunk5XVWGJ2H_cjs.toNotificationCategories; }
|
|
3608
3608
|
});
|
|
3609
3609
|
Object.defineProperty(exports, "ModalBreadcrumbHeader", {
|
|
3610
3610
|
enumerable: true,
|
package/dist/settings/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { ActiveSessionsDialog, AvatarPicker, DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS, DEFAULT_AVATAR_PICKER_LABELS, DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS, DEFAULT_IDENTITY_VERIFICATION_LABELS, DEFAULT_LOGOUT_DIALOG_LABELS, DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS, DEFAULT_PROFILE_CARD_LABELS, DEFAULT_SETTINGS_DANGER_ZONE_LABELS, DeleteAccountDialog, EMAIL_NOTIFICATION_CATEGORIES, EMAIL_NOTIFICATION_KEYS, IdentityVerificationCard, IdentityVerificationDialog, LogoutDialog, NotificationCategoryList, PasswordChangeDialog, ProfileCard, RequireVerified, SettingsActionRow, SettingsCard, SettingsDangerZone, SettingsPanel, SettingsRow, SettingsSection, SettingsSwitchGroup, SettingsSwitchRow, formatSessionTtl, toActiveSessionViews, toDeleteBlockerViews, toLogoutSessionViews, toNotificationCategories } from '../chunk-
|
|
2
|
+
export { ActiveSessionsDialog, AvatarPicker, DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS, DEFAULT_AVATAR_PICKER_LABELS, DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS, DEFAULT_IDENTITY_VERIFICATION_LABELS, DEFAULT_LOGOUT_DIALOG_LABELS, DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS, DEFAULT_PROFILE_CARD_LABELS, DEFAULT_SETTINGS_DANGER_ZONE_LABELS, DeleteAccountDialog, EMAIL_NOTIFICATION_CATEGORIES, EMAIL_NOTIFICATION_KEYS, IdentityVerificationCard, IdentityVerificationDialog, LogoutDialog, NotificationCategoryList, PasswordChangeDialog, ProfileCard, RequireVerified, SettingsActionRow, SettingsCard, SettingsDangerZone, SettingsPanel, SettingsRow, SettingsSection, SettingsSwitchGroup, SettingsSwitchRow, formatSessionTtl, toActiveSessionViews, toDeleteBlockerViews, toLogoutSessionViews, toNotificationCategories } from '../chunk-O35LRB3P.js';
|
|
3
3
|
export { ModalBreadcrumbHeader, ModalCrumbs } from '../chunk-RC6VTY2H.js';
|
|
4
4
|
import { UsageMeter } from '../chunk-D5T53XCL.js';
|
|
5
5
|
export { DEFAULT_DOCUMENT_PICKER_LABELS, DEFAULT_TRI_STATE_FILTER_MENU_LABELS, DocumentPicker, MultiSelect, TriStateFilterMenu } from '../chunk-CKB64Z4R.js';
|
|
6
6
|
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
7
7
|
import { TONE_BORDER, TONE_SURFACE, ToneBadge } from '../chunk-DPLRHEJZ.js';
|
|
8
8
|
import '../chunk-VILAPTCB.js';
|
|
9
|
-
import '../chunk-NPLYHR2E.js';
|
|
10
|
-
import { formatCount } from '../chunk-OXF2IFXG.js';
|
|
11
9
|
import { ModalScaffold, ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-TX2ZICS7.js';
|
|
12
10
|
export { MODAL_SECTION_TITLE_CLASS, ModalHeader, ModalScaffold, ModalSection, ModalSectionTitle } from '../chunk-TX2ZICS7.js';
|
|
11
|
+
import '../chunk-NPLYHR2E.js';
|
|
12
|
+
import { formatCount } from '../chunk-OXF2IFXG.js';
|
|
13
13
|
import { testIdOr, prefixedTestId } from '../chunk-7F6CBP3Z.js';
|
|
14
14
|
import '../chunk-VUNV25KB.js';
|
|
15
15
|
import { useMemo, useRef, useState, useId, Fragment as Fragment$1 } from 'react';
|
package/dist/studio/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkXMBYDLZQ_cjs = require('../chunk-XMBYDLZQ.cjs');
|
|
5
5
|
var chunkMUMH3Z6K_cjs = require('../chunk-MUMH3Z6K.cjs');
|
|
6
6
|
var chunk7QDX2CO4_cjs = require('../chunk-7QDX2CO4.cjs');
|
|
7
7
|
var chunkMJCCBMM5_cjs = require('../chunk-MJCCBMM5.cjs');
|
|
@@ -11,7 +11,7 @@ var chunkPCB2BPN3_cjs = require('../chunk-PCB2BPN3.cjs');
|
|
|
11
11
|
var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
|
|
12
12
|
require('../chunk-OB5F4577.cjs');
|
|
13
13
|
var chunkC54XEN5T_cjs = require('../chunk-C54XEN5T.cjs');
|
|
14
|
-
require('../chunk-
|
|
14
|
+
require('../chunk-MP6FK43E.cjs');
|
|
15
15
|
require('../chunk-VGOFFCMT.cjs');
|
|
16
16
|
require('../chunk-B4SRYJLM.cjs');
|
|
17
17
|
require('../chunk-7UTB4PHM.cjs');
|
|
@@ -883,7 +883,7 @@ function latestImageDocId(artifacts) {
|
|
|
883
883
|
return null;
|
|
884
884
|
}
|
|
885
885
|
function useImageGen() {
|
|
886
|
-
const task =
|
|
886
|
+
const task = chunkXMBYDLZQ_cjs.useConnectedAiTask();
|
|
887
887
|
const { run } = task;
|
|
888
888
|
const generate = react.useCallback(
|
|
889
889
|
async (prompt, referenceDocIds = []) => {
|
package/dist/studio/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useConnectedAiTask } from '../chunk-
|
|
2
|
+
import { useConnectedAiTask } from '../chunk-XQDM6T6C.js';
|
|
3
3
|
import { useConnection } from '../chunk-OYMWV45N.js';
|
|
4
4
|
import { PageHeader, MetricCard, DataTableBlock, StatGroup } from '../chunk-ZCF2JJFA.js';
|
|
5
5
|
import { assetRefId, applyStoredTheme, AssetResolverProvider, ThemeEditor, applyThemeVars, tid, SectionHeading, PricingTable, Tabs as Tabs$1, Accordion, Gallery, VideoEmbed, ContactForm, Banner, MediaText, TeamGrid, Steps, TestimonialGrid, Columns, Spacer, Container, Hero, FeatureGrid, Testimonial, CTABanner, LogoCloud, FAQ, RichTextBlock, BlockImage, AvatarBlock, Navbar, Footer, ListBlock, isAssetRef, asAssetRef } from '../chunk-DLBUFHLY.js';
|
|
@@ -10,7 +10,7 @@ import { Callout } from '../chunk-UJE32SST.js';
|
|
|
10
10
|
import { EmptyState } from '../chunk-P6GHJSLR.js';
|
|
11
11
|
import '../chunk-S7PSMMRG.js';
|
|
12
12
|
import { useBlocksEnvironment } from '../chunk-76JDDMSP.js';
|
|
13
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-EWSEQEPL.js';
|
|
14
14
|
import '../chunk-KZJAG7T3.js';
|
|
15
15
|
import '../chunk-HOXKR26S.js';
|
|
16
16
|
import '../chunk-AA3PT6KR.js';
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A label's children as a matrix: one row per child label, a column per field they share,
|
|
3
|
+
* editable in place by type (text, number, date, checkbox, choice, person), and the evidence behind
|
|
4
|
+
* each row (its linked documents and facts, with counts). Rows with no evidence are marked as
|
|
5
|
+
* gaps. A row can be added (a new child label), and the matrix exported as a document snapshot.
|
|
6
|
+
* The data and every write come from the host (`ConnectedTagMatrix` binds them to ARBI).
|
|
7
|
+
*/
|
|
8
|
+
import { type ReactNode } from 'react';
|
|
9
|
+
import { type TagMatrixData } from './tagMatrixModel';
|
|
10
|
+
export interface TagMatrixLabels {
|
|
11
|
+
row: string;
|
|
12
|
+
evidence: string;
|
|
13
|
+
/** `{count}` documents linked. */
|
|
14
|
+
documents: string;
|
|
15
|
+
/** `{count}` facts linked. */
|
|
16
|
+
facts: string;
|
|
17
|
+
/** One document, one fact. */
|
|
18
|
+
document: string;
|
|
19
|
+
fact: string;
|
|
20
|
+
/** `{count}` more links than shown. */
|
|
21
|
+
more: string;
|
|
22
|
+
gap: string;
|
|
23
|
+
gapsOnly: string;
|
|
24
|
+
/** `{count}` rows without evidence. */
|
|
25
|
+
gapCount: string;
|
|
26
|
+
addRow: string;
|
|
27
|
+
addRowPlaceholder: string;
|
|
28
|
+
add: string;
|
|
29
|
+
export: string;
|
|
30
|
+
exporting: string;
|
|
31
|
+
empty: string;
|
|
32
|
+
loading: string;
|
|
33
|
+
noColumns: string;
|
|
34
|
+
choose: string;
|
|
35
|
+
yes: string;
|
|
36
|
+
}
|
|
37
|
+
export declare const DEFAULT_TAG_MATRIX_LABELS: TagMatrixLabels;
|
|
38
|
+
export interface TagMatrixProps {
|
|
39
|
+
matrix: TagMatrixData | undefined;
|
|
40
|
+
isLoading?: boolean;
|
|
41
|
+
/** Change one cell (`null` clears it). Absent: read only. */
|
|
42
|
+
onChangeValue?: (tagId: string, fieldId: string, value: unknown) => void | Promise<unknown>;
|
|
43
|
+
/** Add a row (a new child label). Absent: no "Add row". */
|
|
44
|
+
onAddRow?: (name: string) => void | Promise<unknown>;
|
|
45
|
+
/** Open a linked document. */
|
|
46
|
+
onOpenDocument?: (documentId: string) => void;
|
|
47
|
+
/** Open a linked fact. */
|
|
48
|
+
onOpenFact?: (factId: string) => void;
|
|
49
|
+
/** Open a row's label (all its evidence). */
|
|
50
|
+
onOpenRow?: (tagId: string) => void;
|
|
51
|
+
/** Export the matrix as it stands. Absent: no export button. */
|
|
52
|
+
onExport?: () => void | Promise<unknown>;
|
|
53
|
+
/** Who a person column offers. */
|
|
54
|
+
people?: ReadonlyArray<{
|
|
55
|
+
value: string;
|
|
56
|
+
label: string;
|
|
57
|
+
}>;
|
|
58
|
+
/** Extra controls in the toolbar. */
|
|
59
|
+
actions?: ReactNode;
|
|
60
|
+
labels?: Partial<TagMatrixLabels>;
|
|
61
|
+
className?: string;
|
|
62
|
+
testId?: string;
|
|
63
|
+
}
|
|
64
|
+
export declare function TagMatrix({ matrix, isLoading, onChangeValue, onAddRow, onOpenDocument, onOpenFact, onOpenRow, onExport, people, actions, labels, className, testId, }: TagMatrixProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** A label's children as an editable matrix with their evidence (`TagMatrix`). */
|
|
2
|
+
export { TagMatrix, DEFAULT_TAG_MATRIX_LABELS, type TagMatrixProps, type TagMatrixLabels, } from './TagMatrix';
|
|
3
|
+
export { tagMatrixColumns, tagMatrixMarkdown, cellValue, cellText, parseCell, isGap, type TagMatrixData, type TagMatrixRowData, type TagMatrixField, type TagMatrixFieldType, type TagMatrixMarkdownOptions, } from './tagMatrixModel';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The tag matrix as data: a parent label's child labels are the rows, the fields they share (the
|
|
3
|
+
* parent's, then any a row adds) the columns, and each row's linked documents and facts its
|
|
4
|
+
* evidence. Pure helpers for `TagMatrix`: the columns, a row's value, the gaps, and the snapshot
|
|
5
|
+
* as a Markdown document.
|
|
6
|
+
*/
|
|
7
|
+
import type { components } from '@arbidocs/client';
|
|
8
|
+
export type TagMatrixData = components['schemas']['TagMatrixResponse'];
|
|
9
|
+
export type TagMatrixRowData = components['schemas']['TagMatrixRow'];
|
|
10
|
+
export type TagMatrixField = components['schemas']['TagField'];
|
|
11
|
+
export type TagMatrixFieldType = TagMatrixField['type'];
|
|
12
|
+
/**
|
|
13
|
+
* The columns: the parent's fields (shared by every row), then fields only some rows define,
|
|
14
|
+
* each once, in the order first seen. Mirrors the SDK's `tagMatrixColumns`.
|
|
15
|
+
*/
|
|
16
|
+
export declare function tagMatrixColumns(matrix: TagMatrixData | null | undefined): TagMatrixField[];
|
|
17
|
+
/** A row's value for a column (values are keyed by field id). */
|
|
18
|
+
export declare const cellValue: (row: TagMatrixRowData, column: TagMatrixField) => unknown;
|
|
19
|
+
/** A row with nothing behind it: no linked document and no fact. */
|
|
20
|
+
export declare const isGap: (row: TagMatrixRowData) => boolean;
|
|
21
|
+
/** A value as text (a person by name, a checkbox as yes or no, blank as empty). */
|
|
22
|
+
export declare function cellText(value: unknown, column: Pick<TagMatrixField, 'type'>, nameOf?: (id: string) => string | undefined): string;
|
|
23
|
+
/** A typed input's text back as the value to store (`null` clears it). */
|
|
24
|
+
export declare function parseCell(text: string, type: TagMatrixFieldType): unknown;
|
|
25
|
+
export interface TagMatrixMarkdownOptions {
|
|
26
|
+
title: string;
|
|
27
|
+
/** The evidence column's heading. */
|
|
28
|
+
evidence?: string;
|
|
29
|
+
/** The row column's heading. */
|
|
30
|
+
rowHeading?: string;
|
|
31
|
+
nameOf?: (id: string) => string | undefined;
|
|
32
|
+
/** When the snapshot was taken (ISO); default now. */
|
|
33
|
+
at?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* The matrix as a Markdown document: a heading, when it was taken, and one table (a row per
|
|
37
|
+
* label, a column per field, then the evidence counts). What a host files or has signed.
|
|
38
|
+
*/
|
|
39
|
+
export declare function tagMatrixMarkdown(matrix: TagMatrixData, options: TagMatrixMarkdownOptions): string;
|