@arbidocs/blocks 0.4.71 → 0.4.73
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 +404 -266
- package/dist/agents/index.js +10 -8
- package/dist/agents/tasks/TaskActivityTimeline.d.ts +1 -1
- package/dist/agents/tasks/WorkflowThreadStrip.d.ts +58 -0
- package/dist/agents/tasks/index.d.ts +1 -0
- package/dist/agents/workflows/WorkflowRunner.d.ts +70 -0
- package/dist/agents/workflows/index.d.ts +7 -1
- package/dist/agents/workflows/planSteps.d.ts +28 -0
- package/dist/agents/workflows/run.d.ts +97 -0
- package/dist/agents/workflows/skillMarkdown.d.ts +15 -0
- package/dist/agents/workflows/types.d.ts +109 -0
- package/dist/agents/workflows/useWorkflowPreview.d.ts +14 -0
- package/dist/agents/workflows/useWorkflowView.d.ts +54 -0
- package/dist/agents/workflows/workflow.d.ts +3 -1
- package/dist/calendar/CalendarGrid.d.ts +2 -0
- package/dist/calendar/CalendarList.d.ts +2 -0
- package/dist/calendar/CalendarSettingsForm.d.ts +2 -0
- package/dist/calendar/EventDetails.d.ts +2 -0
- package/dist/calendar/EventEditor.d.ts +2 -0
- package/dist/calendar/MiniMonth.d.ts +2 -0
- package/dist/calendar/RecurrenceEditor.d.ts +13 -0
- package/dist/calendar/RoomFinder.d.ts +2 -0
- package/dist/calendar/SchedulingAssistant.d.ts +2 -0
- package/dist/calendar/ScopeDialog.d.ts +2 -0
- package/dist/calendar/TimeZonePicker.d.ts +2 -0
- package/dist/calendar/colors.d.ts +4 -0
- package/dist/calendar/draft.d.ts +43 -0
- package/dist/calendar/format.d.ts +14 -0
- package/dist/calendar/grid-model.d.ts +24 -0
- package/dist/calendar/index.cjs +4122 -0
- package/dist/calendar/index.cjs.map +1 -0
- package/dist/calendar/index.d.ts +30 -0
- package/dist/calendar/index.js +4043 -0
- package/dist/calendar/index.js.map +1 -0
- package/dist/calendar/labels.d.ts +4 -0
- package/dist/calendar/recurrence-labels.d.ts +22 -0
- package/dist/calendar/recurrence.d.ts +66 -0
- package/dist/calendar/reminders.d.ts +26 -0
- package/dist/calendar/scheduling.d.ts +27 -0
- package/dist/calendar/types.d.ts +605 -0
- package/dist/calendar/ui.d.ts +16 -0
- package/dist/calendar/zone.d.ts +56 -0
- package/dist/chat/index.cjs +123 -123
- package/dist/chat/index.js +3 -3
- package/dist/chunk-2P3T23C7.js +1250 -0
- package/dist/chunk-2P3T23C7.js.map +1 -0
- package/dist/{chunk-XNRGCQPZ.cjs → chunk-3SFFTSOI.cjs} +5 -5
- package/dist/{chunk-XNRGCQPZ.cjs.map → chunk-3SFFTSOI.cjs.map} +1 -1
- package/dist/{chunk-7WM62NMM.cjs → chunk-6OL5S7MJ.cjs} +5 -2
- package/dist/chunk-6OL5S7MJ.cjs.map +1 -0
- package/dist/chunk-7D737FLE.cjs +43 -0
- package/dist/chunk-7D737FLE.cjs.map +1 -0
- package/dist/{chunk-VUEZARW5.cjs → chunk-B3WCKBJ7.cjs} +278 -5
- package/dist/chunk-B3WCKBJ7.cjs.map +1 -0
- package/dist/{chunk-L5UPP2HC.js → chunk-D46ZAPEE.js} +5 -2
- package/dist/chunk-D46ZAPEE.js.map +1 -0
- package/dist/{chunk-LFGJAZ5H.js → chunk-DDF5GPIJ.js} +6 -36
- package/dist/chunk-DDF5GPIJ.js.map +1 -0
- package/dist/chunk-DETZZBG2.cjs +91 -0
- package/dist/chunk-DETZZBG2.cjs.map +1 -0
- package/dist/chunk-EVUEIBNU.js +89 -0
- package/dist/chunk-EVUEIBNU.js.map +1 -0
- package/dist/{chunk-CXWESDIZ.cjs → chunk-F4RUCUXF.cjs} +6 -6
- package/dist/{chunk-CXWESDIZ.cjs.map → chunk-F4RUCUXF.cjs.map} +1 -1
- package/dist/{chunk-DABEWNL2.js → chunk-G5DP27DU.js} +3 -3
- package/dist/{chunk-DABEWNL2.js.map → chunk-G5DP27DU.js.map} +1 -1
- package/dist/{chunk-VZGBCBYB.js → chunk-GJV2G4FC.js} +276 -7
- package/dist/chunk-GJV2G4FC.js.map +1 -0
- package/dist/chunk-GTNUQBXI.cjs +1296 -0
- package/dist/chunk-GTNUQBXI.cjs.map +1 -0
- package/dist/{chunk-7M22KND4.cjs → chunk-IUR565UW.cjs} +303 -530
- package/dist/chunk-IUR565UW.cjs.map +1 -0
- package/dist/{chunk-5DM6VU4L.cjs → chunk-KJ3QEKOJ.cjs} +3 -3
- package/dist/{chunk-5DM6VU4L.cjs.map → chunk-KJ3QEKOJ.cjs.map} +1 -1
- package/dist/{chunk-THO7DZNN.cjs → chunk-MUMH3Z6K.cjs} +20 -15
- package/dist/chunk-MUMH3Z6K.cjs.map +1 -0
- package/dist/{chunk-3TVTG7FK.js → chunk-ORA2XE7U.js} +4 -4
- package/dist/{chunk-3TVTG7FK.js.map → chunk-ORA2XE7U.js.map} +1 -1
- package/dist/{chunk-5HOAOKZL.js → chunk-OYMWV45N.js} +21 -16
- package/dist/chunk-OYMWV45N.js.map +1 -0
- package/dist/{chunk-HLMFU7L2.js → chunk-QDNXEB3T.js} +272 -488
- package/dist/chunk-QDNXEB3T.js.map +1 -0
- package/dist/{chunk-ILGHS6ZV.js → chunk-SB5ZKOYN.js} +3 -3
- package/dist/{chunk-ILGHS6ZV.js.map → chunk-SB5ZKOYN.js.map} +1 -1
- package/dist/{chunk-CPMNAJLF.js → chunk-TX2ZICS7.js} +24 -4
- package/dist/chunk-TX2ZICS7.js.map +1 -0
- package/dist/{chunk-2ZTONLT5.cjs → chunk-ULWRNGGE.cjs} +25 -4
- package/dist/chunk-ULWRNGGE.cjs.map +1 -0
- package/dist/{chunk-BMWZTNZB.js → chunk-VRPRAU3J.js} +3 -3
- package/dist/{chunk-BMWZTNZB.js.map → chunk-VRPRAU3J.js.map} +1 -1
- package/dist/{chunk-LTA2IAQB.cjs → chunk-WOYUXVVQ.cjs} +8 -8
- package/dist/{chunk-LTA2IAQB.cjs.map → chunk-WOYUXVVQ.cjs.map} +1 -1
- package/dist/chunk-XD2M6LIG.js +41 -0
- package/dist/chunk-XD2M6LIG.js.map +1 -0
- package/dist/{chunk-WBDK4PIA.cjs → chunk-Z5VUZ6YD.cjs} +6 -37
- package/dist/chunk-Z5VUZ6YD.cjs.map +1 -0
- package/dist/collaboration/index.cjs +44 -45
- package/dist/collaboration/index.js +2 -3
- package/dist/connect/docx.cjs +2 -2
- package/dist/connect/docx.js +1 -1
- package/dist/connect/index.cjs +370 -48
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +2 -1
- package/dist/connect/index.js +331 -12
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectedSettings.d.ts +13 -0
- package/dist/connection/ConnectedWorkflowBuilder.d.ts +44 -0
- package/dist/connection/ConnectedWorkflowRunner.d.ts +27 -0
- package/dist/connection/useWorkflowThread.d.ts +34 -0
- package/dist/document-tools/index.cjs +4 -5
- package/dist/document-tools/index.cjs.map +1 -1
- package/dist/document-tools/index.js +1 -2
- package/dist/document-tools/index.js.map +1 -1
- package/dist/facts/index.cjs +1 -1
- package/dist/facts/index.js +1 -1
- package/dist/files/import/index.d.ts +0 -1
- package/dist/files/index.cjs +31 -169
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +8 -147
- package/dist/files/index.js.map +1 -1
- package/dist/home/index.cjs +21 -20
- package/dist/home/index.cjs.map +1 -1
- package/dist/home/index.js +3 -2
- package/dist/home/index.js.map +1 -1
- package/dist/index.cjs +680 -542
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +15 -13
- package/dist/index.js.map +1 -1
- package/dist/settings/Billing.d.ts +4 -0
- package/dist/settings/IdentityVerification.d.ts +83 -0
- package/dist/settings/PlanBadge.d.ts +2 -2
- package/dist/settings/PlanCard.d.ts +6 -1
- package/dist/settings/ProfileCard.d.ts +5 -1
- package/dist/settings/SubscriptionParts.d.ts +6 -2
- package/dist/settings/index.cjs +128 -95
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.d.ts +1 -0
- package/dist/settings/index.js +64 -47
- package/dist/settings/index.js.map +1 -1
- package/dist/shell/ActionCluster.d.ts +3 -1
- package/dist/shell/index.cjs +54 -54
- package/dist/shell/index.js +2 -2
- package/dist/studio/index.cjs +6 -6
- package/dist/studio/index.js +4 -4
- package/dist/workflow-canvas/StepInspector.d.ts +46 -0
- package/dist/workflow-canvas/TriggerInspector.d.ts +46 -0
- package/dist/workflow-canvas/WorkflowBuilder.d.ts +55 -0
- package/dist/workflow-canvas/WorkflowCanvas.d.ts +65 -0
- package/dist/workflow-canvas/edit.d.ts +54 -0
- package/dist/workflow-canvas/index.cjs +1609 -0
- package/dist/workflow-canvas/index.cjs.map +1 -0
- package/dist/workflow-canvas/index.d.ts +13 -0
- package/dist/workflow-canvas/index.js +1579 -0
- package/dist/workflow-canvas/index.js.map +1 -0
- package/dist/workflow-canvas/trigger.d.ts +51 -0
- package/dist/workspaces/index.cjs +2 -3
- package/dist/workspaces/index.cjs.map +1 -1
- package/dist/workspaces/index.js +1 -2
- package/dist/workspaces/index.js.map +1 -1
- package/package.json +41 -12
- package/src/calendar/calendar.css +316 -0
- package/src/workflow-canvas/canvas.css +113 -0
- package/dist/chunk-2ZTONLT5.cjs.map +0 -1
- package/dist/chunk-5HOAOKZL.js.map +0 -1
- package/dist/chunk-7M22KND4.cjs.map +0 -1
- package/dist/chunk-7WM62NMM.cjs.map +0 -1
- package/dist/chunk-CPMNAJLF.js.map +0 -1
- package/dist/chunk-DCDVWPMB.cjs +0 -29
- package/dist/chunk-DCDVWPMB.cjs.map +0 -1
- package/dist/chunk-HLMFU7L2.js.map +0 -1
- package/dist/chunk-L5UPP2HC.js.map +0 -1
- package/dist/chunk-LFGJAZ5H.js.map +0 -1
- package/dist/chunk-THO7DZNN.cjs.map +0 -1
- package/dist/chunk-TJMKFY5P.js +0 -27
- package/dist/chunk-TJMKFY5P.js.map +0 -1
- package/dist/chunk-VUEZARW5.cjs.map +0 -1
- package/dist/chunk-VZGBCBYB.js.map +0 -1
- package/dist/chunk-WBDK4PIA.cjs.map +0 -1
- package/dist/files/import/CalendarImportRow.d.ts +0 -26
package/dist/files/index.cjs
CHANGED
|
@@ -1,107 +1,29 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
+
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
4
5
|
var chunk4DVEGXZQ_cjs = require('../chunk-4DVEGXZQ.cjs');
|
|
5
6
|
var chunkZPERNIMP_cjs = require('../chunk-ZPERNIMP.cjs');
|
|
6
|
-
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
7
7
|
var chunk3AFWGEDJ_cjs = require('../chunk-3AFWGEDJ.cjs');
|
|
8
|
+
var chunkVFUWWH52_cjs = require('../chunk-VFUWWH52.cjs');
|
|
9
|
+
var chunkDETZZBG2_cjs = require('../chunk-DETZZBG2.cjs');
|
|
8
10
|
var chunkIA7RTPT3_cjs = require('../chunk-IA7RTPT3.cjs');
|
|
9
11
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
10
12
|
var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
|
|
11
|
-
var chunkVFUWWH52_cjs = require('../chunk-VFUWWH52.cjs');
|
|
12
13
|
require('../chunk-FX3K6LNZ.cjs');
|
|
13
14
|
require('../chunk-PPCATBOY.cjs');
|
|
14
15
|
require('../chunk-C54XEN5T.cjs');
|
|
15
16
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
16
17
|
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
17
|
-
var
|
|
18
|
-
require('../chunk-DCDVWPMB.cjs');
|
|
18
|
+
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
19
19
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
20
20
|
require('../chunk-DES3K4SD.cjs');
|
|
21
|
-
var
|
|
22
|
-
var lucideReact = require('lucide-react');
|
|
21
|
+
var classVarianceAuthority = require('class-variance-authority');
|
|
23
22
|
var ui = require('@arbidocs/react/ui');
|
|
24
23
|
var jsxRuntime = require('react/jsx-runtime');
|
|
25
|
-
var
|
|
24
|
+
var react = require('react');
|
|
25
|
+
var lucideReact = require('lucide-react');
|
|
26
26
|
|
|
27
|
-
function UploadDropzone({
|
|
28
|
-
onFiles,
|
|
29
|
-
accept,
|
|
30
|
-
multiple = true,
|
|
31
|
-
disabled = false,
|
|
32
|
-
uploading = false,
|
|
33
|
-
title = "Drag files here",
|
|
34
|
-
description = "or click to browse",
|
|
35
|
-
hint,
|
|
36
|
-
uploadingLabel = "Uploading\u2026",
|
|
37
|
-
icon: Icon = lucideReact.UploadCloud,
|
|
38
|
-
testId,
|
|
39
|
-
className
|
|
40
|
-
}) {
|
|
41
|
-
const inputRef = react.useRef(null);
|
|
42
|
-
const [dragOver, setDragOver] = react.useState(false);
|
|
43
|
-
const inert = disabled || uploading;
|
|
44
|
-
const pick2 = (files) => {
|
|
45
|
-
if (!files?.length) return;
|
|
46
|
-
onFiles(Array.from(files));
|
|
47
|
-
};
|
|
48
|
-
const onDrop = (e) => {
|
|
49
|
-
e.preventDefault();
|
|
50
|
-
setDragOver(false);
|
|
51
|
-
if (inert) return;
|
|
52
|
-
pick2(e.dataTransfer.files);
|
|
53
|
-
};
|
|
54
|
-
const onDragOver = (e) => {
|
|
55
|
-
e.preventDefault();
|
|
56
|
-
if (!inert) setDragOver(true);
|
|
57
|
-
};
|
|
58
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
59
|
-
"button",
|
|
60
|
-
{
|
|
61
|
-
type: "button",
|
|
62
|
-
onClick: () => !inert && inputRef.current?.click(),
|
|
63
|
-
onDrop,
|
|
64
|
-
onDragOver,
|
|
65
|
-
onDragLeave: () => setDragOver(false),
|
|
66
|
-
disabled: inert,
|
|
67
|
-
"data-testid": testId,
|
|
68
|
-
className: ui.cn(
|
|
69
|
-
"flex w-full flex-col items-center justify-center gap-3 rounded-lg bg-muted px-6 py-12 text-center transition-colors",
|
|
70
|
-
"hover:bg-accent/60",
|
|
71
|
-
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
72
|
-
dragOver && "bg-accent ring-2 ring-primary",
|
|
73
|
-
inert && "cursor-not-allowed opacity-60 hover:bg-muted",
|
|
74
|
-
className
|
|
75
|
-
),
|
|
76
|
-
children: [
|
|
77
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
78
|
-
"input",
|
|
79
|
-
{
|
|
80
|
-
ref: inputRef,
|
|
81
|
-
type: "file",
|
|
82
|
-
accept,
|
|
83
|
-
multiple,
|
|
84
|
-
className: "hidden",
|
|
85
|
-
onChange: (e) => {
|
|
86
|
-
pick2(e.target.files);
|
|
87
|
-
if (inputRef.current) inputRef.current.value = "";
|
|
88
|
-
},
|
|
89
|
-
"data-testid": testId ? `${testId}-input` : void 0
|
|
90
|
-
}
|
|
91
|
-
),
|
|
92
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-12 items-center justify-center rounded-full bg-primary/10 text-primary", children: uploading ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-6 animate-spin" }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "size-6" }) }),
|
|
93
|
-
uploading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-medium text-foreground", children: uploadingLabel }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
|
|
94
|
-
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-sm font-medium text-foreground", children: [
|
|
95
|
-
title,
|
|
96
|
-
" ",
|
|
97
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: description })
|
|
98
|
-
] }),
|
|
99
|
-
hint && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: hint })
|
|
100
|
-
] })
|
|
101
|
-
]
|
|
102
|
-
}
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
27
|
var pill = classVarianceAuthority.cva(
|
|
106
28
|
"inline-flex max-w-full items-center justify-center gap-1 rounded-full text-xs font-medium leading-none",
|
|
107
29
|
{
|
|
@@ -1213,8 +1135,8 @@ function ExportMethodChooser({
|
|
|
1213
1135
|
disabledReason: moveDisabledReason
|
|
1214
1136
|
}
|
|
1215
1137
|
];
|
|
1216
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1217
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1138
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalSection, { children: [
|
|
1139
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalSectionTitle, { children: l.exportMethod }),
|
|
1218
1140
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1219
1141
|
ui.RadioGroup,
|
|
1220
1142
|
{
|
|
@@ -1287,8 +1209,8 @@ function ExportWorkspacePicker({
|
|
|
1287
1209
|
testId
|
|
1288
1210
|
}) {
|
|
1289
1211
|
const l = { ...DEFAULT_EXPORT_LABELS, ...labels };
|
|
1290
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1291
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1212
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalSection, { children: [
|
|
1213
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalSectionTitle, { children: l.selectTargetWorkspace }),
|
|
1292
1214
|
/* @__PURE__ */ jsxRuntime.jsx(ui.ScrollArea, { className: "h-[300px] rounded-lg bg-muted", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2 p-2", children: workspaces.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "py-4 text-center text-sm text-muted-foreground", children: l.noOtherWorkspaces }) : workspaces.map((w) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1293
1215
|
"button",
|
|
1294
1216
|
{
|
|
@@ -1339,8 +1261,8 @@ function ExportResultsReport({
|
|
|
1339
1261
|
testIds
|
|
1340
1262
|
}) {
|
|
1341
1263
|
const l = { ...DEFAULT_EXPORT_LABELS, ...labels };
|
|
1342
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1343
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1264
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalSection, { "data-testid": chunkMHVNT4J3_cjs.testIdOr(testIds?.root, { testId: "export-results" }), children: [
|
|
1265
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalSectionTitle, { children: l.result }),
|
|
1344
1266
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1345
1267
|
"p",
|
|
1346
1268
|
{
|
|
@@ -1450,8 +1372,8 @@ function TransferScopeChooser({
|
|
|
1450
1372
|
{ value: "label", title: l.scopeLabel, disabled: labelOptions.length === 0 },
|
|
1451
1373
|
{ value: "all", title: l.scopeAll }
|
|
1452
1374
|
];
|
|
1453
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1454
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1375
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalSection, { "data-testid": "transfer-scope", children: [
|
|
1376
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalSectionTitle, { children: l.what }),
|
|
1455
1377
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1456
1378
|
ui.RadioGroup,
|
|
1457
1379
|
{
|
|
@@ -1492,8 +1414,8 @@ function TransferKindsPicker({
|
|
|
1492
1414
|
labels
|
|
1493
1415
|
}) {
|
|
1494
1416
|
const l = { ...DEFAULT_TRANSFER_LABELS, ...labels };
|
|
1495
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1496
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1417
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalSection, { "data-testid": "transfer-kinds", children: [
|
|
1418
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalSectionTitle, { children: l.include }),
|
|
1497
1419
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-2 sm:grid-cols-2", children: options.map((option) => {
|
|
1498
1420
|
const id = `transfer-kind-${option.kind}`;
|
|
1499
1421
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -1534,8 +1456,8 @@ function ChoiceRows({
|
|
|
1534
1456
|
help,
|
|
1535
1457
|
testId
|
|
1536
1458
|
}) {
|
|
1537
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1538
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1459
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalSection, { "data-testid": testId, children: [
|
|
1460
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalSectionTitle, { children: title }),
|
|
1539
1461
|
help && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-2 text-sm text-muted-foreground", children: help }),
|
|
1540
1462
|
/* @__PURE__ */ jsxRuntime.jsx(ui.RadioGroup, { value, onValueChange: (v) => onChange(v), className: "space-y-2", children: choices.map((c) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
1541
1463
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1598,8 +1520,8 @@ function TransferPlanSummary({
|
|
|
1598
1520
|
labels
|
|
1599
1521
|
}) {
|
|
1600
1522
|
const l = { ...DEFAULT_TRANSFER_LABELS, ...labels };
|
|
1601
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1602
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1523
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalSection, { "data-testid": "transfer-plan-summary", children: [
|
|
1524
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalSectionTitle, { children: l.summary }),
|
|
1603
1525
|
isLoading && lines.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
|
|
1604
1526
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
|
|
1605
1527
|
l.summaryLoading
|
|
@@ -1625,8 +1547,8 @@ function TransferProgressView({
|
|
|
1625
1547
|
}) {
|
|
1626
1548
|
const l = { ...DEFAULT_TRANSFER_LABELS, ...labels };
|
|
1627
1549
|
const percent = total > 0 ? Math.min(100, Math.round(processed / total * 100)) : 0;
|
|
1628
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1629
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1550
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalSection, { "data-testid": "transfer-progress", children: [
|
|
1551
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalSectionTitle, { children: title }),
|
|
1630
1552
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Progress, { value: percent, className: "h-2" }),
|
|
1631
1553
|
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "mt-2 text-sm text-muted-foreground", "data-testid": "transfer-progress-text", children: [
|
|
1632
1554
|
phaseLabel,
|
|
@@ -1921,7 +1843,7 @@ function MoveToFolderDialog({
|
|
|
1921
1843
|
className: "sm:max-w-2xl",
|
|
1922
1844
|
"data-testid": chunkMHVNT4J3_cjs.testIdOr(testIds?.modal, { testId: "move-to-folder-modal" }),
|
|
1923
1845
|
children: [
|
|
1924
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1846
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalHeader, { className: "p-0 pb-3", children: [
|
|
1925
1847
|
/* @__PURE__ */ jsxRuntime.jsxs(ui.DialogTitle, { className: "flex items-center gap-2", children: [
|
|
1926
1848
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FolderOpen, { className: "size-5 text-yellow-text" }),
|
|
1927
1849
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: l.title }),
|
|
@@ -3393,67 +3315,6 @@ function ImportFamilySection({
|
|
|
3393
3315
|
function ImportPanel({ className, ...props }) {
|
|
3394
3316
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "import-panel", className: ui.cn("space-y-5", className), ...props });
|
|
3395
3317
|
}
|
|
3396
|
-
var DEFAULT_CALENDAR_IMPORT_LABELS = {
|
|
3397
|
-
title: "Calendar",
|
|
3398
|
-
description: "Events become dated notes on this workspace\u2019s timeline.",
|
|
3399
|
-
settings: "Settings",
|
|
3400
|
-
syncNow: "Sync now"
|
|
3401
|
-
};
|
|
3402
|
-
function CalendarImportRow({
|
|
3403
|
-
isSyncing,
|
|
3404
|
-
onSettings,
|
|
3405
|
-
onSyncNow,
|
|
3406
|
-
children,
|
|
3407
|
-
labels,
|
|
3408
|
-
testIds
|
|
3409
|
-
}) {
|
|
3410
|
-
const l = { ...DEFAULT_CALENDAR_IMPORT_LABELS, ...labels };
|
|
3411
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3412
|
-
"div",
|
|
3413
|
-
{
|
|
3414
|
-
className: "py-3",
|
|
3415
|
-
"data-slot": "calendar-import",
|
|
3416
|
-
"data-testid": chunkMHVNT4J3_cjs.testIdOr(testIds?.root, { testId: "calendar-import-panel" }),
|
|
3417
|
-
children: [
|
|
3418
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2.5", children: [
|
|
3419
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.CalendarDays, { className: "h-7 w-7 shrink-0 text-muted-foreground", "aria-hidden": "true" }),
|
|
3420
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3421
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-sm font-medium text-foreground", children: l.title }),
|
|
3422
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-xs text-muted-foreground", children: l.description })
|
|
3423
|
-
] }),
|
|
3424
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-1.5", children: [
|
|
3425
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3426
|
-
ui.Button,
|
|
3427
|
-
{
|
|
3428
|
-
variant: "outline",
|
|
3429
|
-
size: "sm",
|
|
3430
|
-
className: "pointer-coarse:h-11",
|
|
3431
|
-
onClick: onSettings,
|
|
3432
|
-
"data-testid": chunkMHVNT4J3_cjs.testIdOr(testIds?.settings, { testId: "calendar-settings" }),
|
|
3433
|
-
children: l.settings
|
|
3434
|
-
}
|
|
3435
|
-
),
|
|
3436
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
3437
|
-
ui.Button,
|
|
3438
|
-
{
|
|
3439
|
-
size: "sm",
|
|
3440
|
-
className: "pointer-coarse:h-11",
|
|
3441
|
-
onClick: onSyncNow,
|
|
3442
|
-
disabled: isSyncing,
|
|
3443
|
-
"data-testid": chunkMHVNT4J3_cjs.testIdOr(testIds?.syncNow, { testId: "calendar-sync-now" }),
|
|
3444
|
-
children: [
|
|
3445
|
-
isSyncing && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "mr-1.5 h-3.5 w-3.5 animate-spin" }),
|
|
3446
|
-
l.syncNow
|
|
3447
|
-
]
|
|
3448
|
-
}
|
|
3449
|
-
)
|
|
3450
|
-
] })
|
|
3451
|
-
] }),
|
|
3452
|
-
children
|
|
3453
|
-
]
|
|
3454
|
-
}
|
|
3455
|
-
);
|
|
3456
|
-
}
|
|
3457
3318
|
var STATUS_ICONS = {
|
|
3458
3319
|
active: { Icon: lucideReact.LoaderCircle, color: "text-blue-text", spin: true },
|
|
3459
3320
|
queued: { Icon: lucideReact.Hourglass, color: "text-yellow-text", spin: false },
|
|
@@ -3551,7 +3412,7 @@ function UrlInputDialogView({
|
|
|
3551
3412
|
className: "flex flex-col gap-0 overflow-hidden p-0 sm:max-w-[525px]",
|
|
3552
3413
|
"data-testid": chunkMHVNT4J3_cjs.testIdOr(testIds?.modal, { testId: "upload-modal-internet" }),
|
|
3553
3414
|
children: [
|
|
3554
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3415
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: title ?? l.title }) }),
|
|
3555
3416
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-6 pb-6", children: [
|
|
3556
3417
|
/* @__PURE__ */ jsxRuntime.jsxs(ui.DialogDescription, { className: "pt-4 text-sm text-muted-foreground", children: [
|
|
3557
3418
|
l.description,
|
|
@@ -6774,7 +6635,7 @@ function FieldPicker({ ask, l }) {
|
|
|
6774
6635
|
);
|
|
6775
6636
|
}
|
|
6776
6637
|
function AskPhase({ ask, l }) {
|
|
6777
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6638
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalSection, { className: "space-y-3", children: [
|
|
6778
6639
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
6779
6640
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-muted-foreground", children: l.fieldLabel }),
|
|
6780
6641
|
/* @__PURE__ */ jsxRuntime.jsx(FieldPicker, { ask, l })
|
|
@@ -6806,7 +6667,7 @@ function AskPhase({ ask, l }) {
|
|
|
6806
6667
|
] });
|
|
6807
6668
|
}
|
|
6808
6669
|
function ResultsPhase({ r, l }) {
|
|
6809
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6670
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalSection, { className: "space-y-3", children: [
|
|
6810
6671
|
r.isSingleField ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6811
6672
|
"div",
|
|
6812
6673
|
{
|
|
@@ -7219,6 +7080,10 @@ Object.defineProperty(exports, "HoverIconCell", {
|
|
|
7219
7080
|
enumerable: true,
|
|
7220
7081
|
get: function () { return chunk3AFWGEDJ_cjs.HoverIconCell; }
|
|
7221
7082
|
});
|
|
7083
|
+
Object.defineProperty(exports, "UploadDropzone", {
|
|
7084
|
+
enumerable: true,
|
|
7085
|
+
get: function () { return chunkDETZZBG2_cjs.UploadDropzone; }
|
|
7086
|
+
});
|
|
7222
7087
|
Object.defineProperty(exports, "DEFAULT_SELECTION_BAR_LABELS", {
|
|
7223
7088
|
enumerable: true,
|
|
7224
7089
|
get: function () { return chunkIA7RTPT3_cjs.DEFAULT_SELECTION_BAR_LABELS; }
|
|
@@ -7240,14 +7105,12 @@ exports.BulkActionsBar = BulkActionsBar;
|
|
|
7240
7105
|
exports.BulkLabelSelectView = BulkLabelSelectView;
|
|
7241
7106
|
exports.BulkReplaceDialog = BulkReplaceDialog;
|
|
7242
7107
|
exports.BulkTagEditorDialog = BulkTagEditorDialog;
|
|
7243
|
-
exports.CalendarImportRow = CalendarImportRow;
|
|
7244
7108
|
exports.CheckboxCell = CheckboxCell;
|
|
7245
7109
|
exports.CitedRunNav = CitedRunNav;
|
|
7246
7110
|
exports.DEFAULT_AI_REVIEW_DIALOG_LABELS = DEFAULT_AI_REVIEW_DIALOG_LABELS;
|
|
7247
7111
|
exports.DEFAULT_BULK_ACTIONS_LABELS = DEFAULT_BULK_ACTIONS_LABELS;
|
|
7248
7112
|
exports.DEFAULT_BULK_REPLACE_LABELS = DEFAULT_BULK_REPLACE_LABELS;
|
|
7249
7113
|
exports.DEFAULT_BULK_TAG_EDITOR_LABELS = DEFAULT_BULK_TAG_EDITOR_LABELS;
|
|
7250
|
-
exports.DEFAULT_CALENDAR_IMPORT_LABELS = DEFAULT_CALENDAR_IMPORT_LABELS;
|
|
7251
7114
|
exports.DEFAULT_DOC_TAG_LABELS = DEFAULT_DOC_TAG_LABELS;
|
|
7252
7115
|
exports.DEFAULT_EXPLORER_LABELS = DEFAULT_EXPLORER_LABELS;
|
|
7253
7116
|
exports.DEFAULT_EXPORT_LABELS = DEFAULT_EXPORT_LABELS;
|
|
@@ -7384,7 +7247,6 @@ exports.TranslationCompareTable = TranslationCompareTable;
|
|
|
7384
7247
|
exports.UploadBrowseButtons = UploadBrowseButtons;
|
|
7385
7248
|
exports.UploadContainer = UploadContainer;
|
|
7386
7249
|
exports.UploadDropArea = UploadDropArea;
|
|
7387
|
-
exports.UploadDropzone = UploadDropzone;
|
|
7388
7250
|
exports.UploadErrorMessage = UploadErrorMessage;
|
|
7389
7251
|
exports.UploadFooterBar = UploadFooterBar;
|
|
7390
7252
|
exports.UploadFrame = UploadFrame;
|