@arbidocs/blocks 0.4.85 → 0.4.86
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 +209 -209
- package/dist/agents/index.js +2 -2
- package/dist/{chunk-B3WCKBJ7.cjs → chunk-5YXG342J.cjs} +6 -18
- package/dist/chunk-5YXG342J.cjs.map +1 -0
- package/dist/{chunk-Z7YUCYI6.cjs → chunk-IHYVK6F7.cjs} +3 -3
- package/dist/{chunk-Z7YUCYI6.cjs.map → chunk-IHYVK6F7.cjs.map} +1 -1
- package/dist/{chunk-FHOZMT5P.js → chunk-S2NFD4QV.js} +3 -3
- package/dist/{chunk-FHOZMT5P.js.map → chunk-S2NFD4QV.js.map} +1 -1
- package/dist/{chunk-GJV2G4FC.js → chunk-W7NZRZ54.js} +6 -18
- package/dist/chunk-W7NZRZ54.js.map +1 -0
- package/dist/connect/index.cjs +28 -33
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +5 -10
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectedSettings.d.ts +1 -4
- package/dist/facts/index.cjs +1 -1
- package/dist/facts/index.js +1 -1
- package/dist/files/index.cjs +1 -1
- package/dist/files/index.js +1 -1
- package/dist/home/index.cjs +1 -1
- package/dist/home/index.js +1 -1
- package/dist/index.cjs +255 -255
- package/dist/index.js +3 -3
- package/dist/settings/PasswordChangeDialog.d.ts +9 -12
- package/dist/settings/index.cjs +34 -34
- package/dist/settings/index.js +1 -1
- package/dist/shell/index.cjs +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/studio/index.cjs +1 -1
- package/dist/studio/index.js +1 -1
- package/dist/workflow-canvas/index.cjs +9 -9
- package/dist/workflow-canvas/index.js +2 -2
- package/package.json +4 -4
- package/dist/chunk-B3WCKBJ7.cjs.map +0 -1
- package/dist/chunk-GJV2G4FC.js.map +0 -1
package/dist/connect/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-
|
|
2
|
+
import { SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-W7NZRZ54.js';
|
|
3
3
|
import { useWorkspaceDocs } from '../chunk-XQDM6T6C.js';
|
|
4
4
|
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-XQDM6T6C.js';
|
|
5
5
|
import { ConnectedNativeDocxEditor } from '../chunk-A24C6BNA.js';
|
|
@@ -15,8 +15,8 @@ import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
|
15
15
|
import '../chunk-EVUEIBNU.js';
|
|
16
16
|
import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
17
17
|
import '../chunk-XD2M6LIG.js';
|
|
18
|
-
import '../chunk-VILAPTCB.js';
|
|
19
18
|
import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
19
|
+
import '../chunk-VILAPTCB.js';
|
|
20
20
|
import { ChatPage } from '../chunk-EWSEQEPL.js';
|
|
21
21
|
import '../chunk-KZJAG7T3.js';
|
|
22
22
|
import '../chunk-HOXKR26S.js';
|
|
@@ -1292,19 +1292,15 @@ function defaultUnmetPasswordRequirement(password) {
|
|
|
1292
1292
|
function ConnectedSecuritySection({
|
|
1293
1293
|
notify: notify3,
|
|
1294
1294
|
getUnmetRequirement = defaultUnmetPasswordRequirement,
|
|
1295
|
-
renderRecoveryKey,
|
|
1296
1295
|
children
|
|
1297
1296
|
}) {
|
|
1298
1297
|
const [open, setOpen] = useState(false);
|
|
1299
1298
|
const change = usePasswordChange();
|
|
1300
|
-
const { data: workspaces } = useWorkspaces({ enabled: open });
|
|
1301
|
-
const workspaceCount = (workspaces ?? []).filter((w) => w.is_member).length;
|
|
1302
1299
|
const form = usePasswordChangeForm({
|
|
1303
1300
|
getUnmetRequirement,
|
|
1304
1301
|
submit: async (vars) => {
|
|
1305
|
-
|
|
1302
|
+
await change.mutateAsync(vars);
|
|
1306
1303
|
notify3?.("Password changed successfully", "success");
|
|
1307
|
-
return result;
|
|
1308
1304
|
},
|
|
1309
1305
|
onClose: () => setOpen(false)
|
|
1310
1306
|
});
|
|
@@ -1314,7 +1310,7 @@ function ConnectedSecuritySection({
|
|
|
1314
1310
|
SettingsActionRow,
|
|
1315
1311
|
{
|
|
1316
1312
|
title: "Change password",
|
|
1317
|
-
description: "Used to sign in and to
|
|
1313
|
+
description: "Used to sign in and to unlock your account key. Changing it keeps everything readable and re-encrypts nothing.",
|
|
1318
1314
|
onClick: () => setOpen(true),
|
|
1319
1315
|
testId: "change-password-button"
|
|
1320
1316
|
}
|
|
@@ -1334,12 +1330,11 @@ function ConnectedSecuritySection({
|
|
|
1334
1330
|
confirmPassword: form.confirmPassword,
|
|
1335
1331
|
onConfirmPasswordChange: form.onConfirmPasswordChange,
|
|
1336
1332
|
getUnmetRequirement,
|
|
1337
|
-
workspaceCount,
|
|
1338
1333
|
error: form.error,
|
|
1339
1334
|
isProcessing: form.isProcessing,
|
|
1340
1335
|
isSubmitDisabled: form.isSubmitDisabled,
|
|
1341
1336
|
onSubmit: form.onSubmit,
|
|
1342
|
-
|
|
1337
|
+
isChanged: form.isChanged,
|
|
1343
1338
|
onDone: form.onDone
|
|
1344
1339
|
}
|
|
1345
1340
|
)
|