@arbidocs/blocks 0.4.130 → 0.4.132
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 +302 -302
- package/dist/agents/index.js +10 -10
- package/dist/chat/index.cjs +139 -139
- package/dist/chat/index.js +4 -4
- package/dist/{chunk-SZX44LCT.js → chunk-26E6PHD2.js} +3 -3
- package/dist/{chunk-SZX44LCT.js.map → chunk-26E6PHD2.js.map} +1 -1
- package/dist/{chunk-GDBDHOI4.js → chunk-3FFRYZKV.js} +3 -3
- package/dist/{chunk-GDBDHOI4.js.map → chunk-3FFRYZKV.js.map} +1 -1
- package/dist/{chunk-QDEODGXE.cjs → chunk-44R3CCZT.cjs} +3 -3
- package/dist/{chunk-QDEODGXE.cjs.map → chunk-44R3CCZT.cjs.map} +1 -1
- package/dist/{chunk-2PNNCEPH.js → chunk-54ANPPMV.js} +4 -4
- package/dist/{chunk-2PNNCEPH.js.map → chunk-54ANPPMV.js.map} +1 -1
- package/dist/{chunk-2DFDFOM7.js → chunk-7HAM7Y5U.js} +3 -3
- package/dist/{chunk-2DFDFOM7.js.map → chunk-7HAM7Y5U.js.map} +1 -1
- package/dist/{chunk-UMIY4SQS.js → chunk-BMNNT27D.js} +9 -9
- package/dist/{chunk-UMIY4SQS.js.map → chunk-BMNNT27D.js.map} +1 -1
- package/dist/{chunk-4S5IDT5F.cjs → chunk-BZF55UCE.cjs} +5 -5
- package/dist/{chunk-4S5IDT5F.cjs.map → chunk-BZF55UCE.cjs.map} +1 -1
- package/dist/{chunk-PUCY3UXN.js → chunk-CXLVI3SB.js} +3 -3
- package/dist/{chunk-PUCY3UXN.js.map → chunk-CXLVI3SB.js.map} +1 -1
- package/dist/{chunk-KYDRUFWT.cjs → chunk-D4YR56FV.cjs} +5 -5
- package/dist/{chunk-KYDRUFWT.cjs.map → chunk-D4YR56FV.cjs.map} +1 -1
- package/dist/{chunk-6AALMYPS.cjs → chunk-HM23LXUP.cjs} +3 -3
- package/dist/{chunk-6AALMYPS.cjs.map → chunk-HM23LXUP.cjs.map} +1 -1
- package/dist/{chunk-4QIIDXLF.cjs → chunk-HW2J4JMV.cjs} +4 -4
- package/dist/{chunk-4QIIDXLF.cjs.map → chunk-HW2J4JMV.cjs.map} +1 -1
- package/dist/{chunk-SARREDFP.cjs → chunk-LC2KJSUS.cjs} +46 -46
- package/dist/{chunk-SARREDFP.cjs.map → chunk-LC2KJSUS.cjs.map} +1 -1
- package/dist/{chunk-TT6XV6WM.cjs → chunk-QUDCNT63.cjs} +77 -77
- package/dist/{chunk-TT6XV6WM.cjs.map → chunk-QUDCNT63.cjs.map} +1 -1
- package/dist/{chunk-ENDP7JER.js → chunk-VW2C2AZL.js} +3 -3
- package/dist/{chunk-ENDP7JER.js.map → chunk-VW2C2AZL.js.map} +1 -1
- package/dist/{chunk-PJJY6CYL.cjs → chunk-WV4IDVDQ.cjs} +11 -11
- package/dist/{chunk-PJJY6CYL.cjs.map → chunk-WV4IDVDQ.cjs.map} +1 -1
- package/dist/{chunk-QYTYW74G.js → chunk-YIF6SVSO.js} +3 -3
- package/dist/{chunk-QYTYW74G.js.map → chunk-YIF6SVSO.js.map} +1 -1
- package/dist/collaboration/index.cjs +9 -9
- package/dist/collaboration/index.js +1 -1
- package/dist/connect/index.cjs +43 -43
- package/dist/connect/index.js +10 -10
- package/dist/document-tools/index.cjs +1 -1
- package/dist/document-tools/index.js +1 -1
- 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 +17 -17
- package/dist/home/index.js +3 -3
- package/dist/index.cjs +501 -501
- package/dist/index.js +16 -16
- package/dist/settings/index.cjs +10 -10
- package/dist/settings/index.js +2 -2
- package/dist/shell/index.cjs +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/site/index.cjs +5 -5
- package/dist/site/index.js +1 -1
- package/dist/studio/index.cjs +6 -6
- package/dist/studio/index.js +5 -5
- package/dist/workflow-canvas/index.cjs +61 -61
- package/dist/workflow-canvas/index.js +10 -10
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useConnection } from './chunk-4RLCRFZS.js';
|
|
3
|
-
import { AssistantDock } from './chunk-
|
|
3
|
+
import { AssistantDock } from './chunk-CXLVI3SB.js';
|
|
4
4
|
import { takeOpenDocumentForTurn } from './chunk-YBLIKTJK.js';
|
|
5
5
|
import { useCallback } from 'react';
|
|
6
6
|
import { useAiTask, useWorkspaceDocs as useWorkspaceDocs$1, useSemanticSearch as useSemanticSearch$1, useWorkspaceUsers, useArbiChat } from '@arbidocs/react';
|
|
@@ -67,5 +67,5 @@ function ConnectedAssistantDock(props) {
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
export { ConnectedAssistantDock, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs };
|
|
70
|
-
//# sourceMappingURL=chunk-
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
70
|
+
//# sourceMappingURL=chunk-YIF6SVSO.js.map
|
|
71
|
+
//# sourceMappingURL=chunk-YIF6SVSO.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/connection/ai.tsx"],"names":["useKitAiTask","useKitWorkspaceDocs","useKitSemanticSearch"],"mappings":";;;;;;;;AAiCO,SAAS,kBAAA,GAAqB;AACnC,EAAA,MAAM,EAAE,eAAA,EAAgB,GAAI,aAAA,EAAc;AAC1C,EAAA,MAAM,OAAOA,SAAA,EAAa;AAC1B,EAAA,MAAM,SAAS,IAAA,CAAK,GAAA;AACpB,EAAA,MAAM,GAAA,GAAM,WAAA;AAAA,IACV,CAAC,QAAA,EAAkB,MAAA,EAAkB,IAAA,KACnC,OAAO,QAAA,EAAU,MAAA,EAAQ,EAAE,GAAG,IAAA,EAAM,KAAA,EAAO,IAAA,E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C,GAAG,OAAA;AAAA,MACH,GAAI,QAAQ,QAAA,GACR;AAAA,QACE,YACE,OAAA,CAAQ,QAAA,KAAa,IAAA,EAAM,UAAA,GACvB,MAAM,IAAA,IAAQ,IAAA,EAAM,KAAA,GACpB,iBAAA,CAAkB,KAAK,CAAC,SAAA,KAAc,UAAU,EAAA,KAAO,OAAA,CAAQ,QAAQ,CAAA,EAAG;AAAA,UAElF;AAAC,KACP,CAAE;AAAA,GACJ;AACF;AAMO,SAAS,uBAAuB,KAAA,EAAyC;AAC9E,EAAA,MAAM,OAAO,gBAAA,EAAiB;AAC9B,EAAA,uBAAO,GAAA,CAAC,aAAA,EAAA,EAAe,GAAG,KAAA,EAAO,IAAA,EAAY,CAAA;AAC/C","file":"chunk-YIF6SVSO.js","sourcesContent":["/**\n * The connected agent hooks — thin adapters over the reusable AI kit in\n * `@arbidocs/react`. The streaming/accumulation/search plumbing lives once in\n * the SDK; these hooks only bind the *workspace source* (from the connection\n * context, falling back to the configured workspace) and inject the host's\n * default assistant *configuration* so call sites needn't know the config\n * ext_id. An explicit `opts.model` still wins.\n */\nimport { useCallback } from 'react'\nimport {\n useAiTask as useKitAiTask,\n useWorkspaceDocs as useKitWorkspaceDocs,\n useSemanticSearch as useKitSemanticSearch,\n useArbiChat,\n useWorkspaceUsers,\n type ArbiChat,\n type UseArbiChatOptions,\n type AiRunOptions,\n} from '@arbidocs/react'\nimport { useConnection } from './ConnectionProvider'\nimport { AssistantDock, type AssistantDockProps } from '../chat/AssistantDock'\nimport type { MentionCandidate } from '../chat/mentions'\nimport { takeOpenDocumentForTurn } from '../chat/open-document'\n\nexport type { AiTaskStatus, AiRunOptions, SearchChunk, ArtifactEvent } from '@arbidocs/react'\n\n/** Client-side redlining, re-exported so a host app has one import surface. */\nexport { toRedlineMarkdown, redlineStats, textToArtifact } from '@arbidocs/react'\n\n/**\n * The kit's `useAiTask` with the host's default assistant configuration\n * injected, so call sites needn't know the config ext_id.\n */\nexport function useConnectedAiTask() {\n const { assistantConfig } = useConnection()\n const task = useKitAiTask()\n const kitRun = task.run\n const run = useCallback(\n (question: string, docIds: string[], opts?: AiRunOptions) =>\n kitRun(question, docIds, { ...opts, model: opts?.model ?? assistantConfig }),\n [kitRun, assistantConfig]\n )\n return { ...task, run }\n}\n\n/** Resolve the active workspace + its document ids (what we ground the agent on). */\nexport function useWorkspaceDocs() {\n const { workspaceId, fallbackWorkspaceId } = useConnection()\n return useKitWorkspaceDocs(workspaceId ?? fallbackWorkspaceId)\n}\n\n/** Search the active workspace's documents and return the top matching passages. */\nexport function useSemanticSearch() {\n const { docIds } = useWorkspaceDocs()\n return useKitSemanticSearch(docIds)\n}\n\n/**\n * The chat controller for `ChatPage` bound to the connection: the active workspace and the host's\n * default assistant configuration are injected, so a host writes\n * `<ChatPage chat={useConnectedChat()} />`.\n */\nexport function useConnectedChat(\n options?: Omit<UseArbiChatOptions, 'workspaceId'>\n): ArbiChat & { mentionCandidates: MentionCandidate[] } {\n const { workspaceId, fallbackWorkspaceId, assistantConfig, user, status, ensureWorkspaceOpen } =\n useConnection()\n const wsId = workspaceId ?? fallbackWorkspaceId\n const { data: members = [] } = useWorkspaceUsers(wsId, {\n enabled: status === 'authenticated' && !!wsId,\n beforeFetch: ensureWorkspaceOpen,\n })\n const mentionCandidates: MentionCandidate[] = [\n { id: 'assistant', kind: 'assistant', label: 'Assistant' },\n ...(status === 'authenticated' ? members : [])\n .filter(\n (member) =>\n !member.agent_ext_id &&\n member.user.external_id !== user?.externalId &&\n !member.user.external_id.startsWith('agt-')\n )\n .map((member) => ({\n id: member.user.external_id,\n kind: 'user' as const,\n label:\n [member.user.given_name, member.user.family_name].filter(Boolean).join(' ') ||\n member.user.email,\n description: member.user.email,\n }))\n .sort((a, b) => a.label.localeCompare(b.label)),\n ]\n const chat = useArbiChat({\n // Drafting mode: each question names the document open beside the chat.\n activeArtifact: () => takeOpenDocumentForTurn({ workspaceId: wsId }),\n ...options,\n workspaceId: wsId,\n model: options?.model ?? assistantConfig,\n })\n return {\n ...chat,\n mentionCandidates,\n messages: chat.messages.map((message) => ({\n ...message,\n ...(message.authorId\n ? {\n senderName:\n message.authorId === user?.externalId\n ? user?.name || user?.email\n : mentionCandidates.find((candidate) => candidate.id === message.authorId)?.label,\n }\n : {}),\n })),\n }\n}\n\n/**\n * The assistant dock bound to the connection: mount it once in the layout (`Shell.Root`'s `aside`)\n * and put `AssistantDockToggle` in the topbar. Chat state lives here, so it survives closing the dock.\n */\nexport function ConnectedAssistantDock(props: Omit<AssistantDockProps, 'chat'>) {\n const chat = useConnectedChat()\n return <AssistantDock {...props} chat={chat} />\n}\n"]}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
var chunkOPTBQSCV_cjs = require('../chunk-OPTBQSCV.cjs');
|
|
5
5
|
require('../chunk-7G2LJMUG.cjs');
|
|
6
|
-
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
7
6
|
var chunkO6IEZDRC_cjs = require('../chunk-O6IEZDRC.cjs');
|
|
7
|
+
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
8
8
|
require('../chunk-C2CWWEHO.cjs');
|
|
9
9
|
require('../chunk-FX3K6LNZ.cjs');
|
|
10
10
|
require('../chunk-MHVNT4J3.cjs');
|
|
@@ -173,14 +173,6 @@ Object.defineProperty(exports, "vCardFilename", {
|
|
|
173
173
|
enumerable: true,
|
|
174
174
|
get: function () { return chunkOPTBQSCV_cjs.vCardFilename; }
|
|
175
175
|
});
|
|
176
|
-
Object.defineProperty(exports, "DEFAULT_SHARE_CONTROL_LABELS", {
|
|
177
|
-
enumerable: true,
|
|
178
|
-
get: function () { return chunkVLCY46K6_cjs.DEFAULT_SHARE_CONTROL_LABELS; }
|
|
179
|
-
});
|
|
180
|
-
Object.defineProperty(exports, "ShareControl", {
|
|
181
|
-
enumerable: true,
|
|
182
|
-
get: function () { return chunkVLCY46K6_cjs.ShareControl; }
|
|
183
|
-
});
|
|
184
176
|
Object.defineProperty(exports, "MailDeliveryBadge", {
|
|
185
177
|
enumerable: true,
|
|
186
178
|
get: function () { return chunkO6IEZDRC_cjs.MailDeliveryBadge; }
|
|
@@ -237,5 +229,13 @@ Object.defineProperty(exports, "replyMailCompose", {
|
|
|
237
229
|
enumerable: true,
|
|
238
230
|
get: function () { return chunkO6IEZDRC_cjs.replyMailCompose; }
|
|
239
231
|
});
|
|
232
|
+
Object.defineProperty(exports, "DEFAULT_SHARE_CONTROL_LABELS", {
|
|
233
|
+
enumerable: true,
|
|
234
|
+
get: function () { return chunkVLCY46K6_cjs.DEFAULT_SHARE_CONTROL_LABELS; }
|
|
235
|
+
});
|
|
236
|
+
Object.defineProperty(exports, "ShareControl", {
|
|
237
|
+
enumerable: true,
|
|
238
|
+
get: function () { return chunkVLCY46K6_cjs.ShareControl; }
|
|
239
|
+
});
|
|
240
240
|
//# sourceMappingURL=index.cjs.map
|
|
241
241
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { ActionMenu, AddContactsForm, AddContactsResults, ContactCard, DEFAULT_ADD_CONTACTS_LABELS, DEFAULT_CONTACT_CARD_LABELS, DEFAULT_CONTACT_OUTCOME_LABELS, DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS, DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS, DEFAULT_DM_INVITE_CHIP_LABELS, DEFAULT_DM_THREAD_FRAME_LABELS, DEFAULT_MAIL_FOLDER_TREE_LABELS, DEFAULT_RECIPIENT_PICKER_LABELS, DmAccessRequestBanner, DmGrantAccessDialogView, DmInviteAvatar, DmInviteChip, DmNewTabIcon, DmThreadFrame, DmThreadHeader, MAX_INVITE_EMAILS, MailFolderTree, MemberBulkActions, MemberListLoading, MemberMutedText, MemberNameCell, MemberRoleCell, RecipientPicker, RoleSelect, WorkspaceDeleteButton, buildMailFolderTree, contactToVCard, descendantFolderIds, downloadVCard, isInboxFolder, parseEmails, toAddContactsRow, toAddContactsRows, toggleMailFolder, vCardFilename } from '../chunk-FUTMU4FR.js';
|
|
3
3
|
import '../chunk-NBV56SGU.js';
|
|
4
|
-
export { DEFAULT_SHARE_CONTROL_LABELS, ShareControl } from '../chunk-K4BGOPGG.js';
|
|
5
4
|
export { MailDeliveryBadge, MailDeliveryList, MailDocumentPicker, MailGrid, MailMessagePreview, MailMessageView, NEEDS_CONNECTION, PlainMailBodyEditor, draftMailCompose, emptyMailCompose, hasCalendarPart, mailAddressLabel, parseMailRecipients, replyMailCompose } from '../chunk-6HCJ3ZEU.js';
|
|
5
|
+
export { DEFAULT_SHARE_CONTROL_LABELS, ShareControl } from '../chunk-K4BGOPGG.js';
|
|
6
6
|
import '../chunk-N5YEF3LC.js';
|
|
7
7
|
import '../chunk-SLSBJRWW.js';
|
|
8
8
|
import '../chunk-7F6CBP3Z.js';
|
package/dist/connect/index.cjs
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var chunkO4YPVYPO_cjs = require('../chunk-O4YPVYPO.cjs');
|
|
5
4
|
var chunkAAFX64WD_cjs = require('../chunk-AAFX64WD.cjs');
|
|
6
|
-
var
|
|
5
|
+
var chunkHW2J4JMV_cjs = require('../chunk-HW2J4JMV.cjs');
|
|
7
6
|
var chunkGZPTWHP5_cjs = require('../chunk-GZPTWHP5.cjs');
|
|
8
7
|
var chunkARDHLU73_cjs = require('../chunk-ARDHLU73.cjs');
|
|
9
8
|
var chunkJH6JTI76_cjs = require('../chunk-JH6JTI76.cjs');
|
|
10
9
|
require('../chunk-S24XEVPS.cjs');
|
|
11
10
|
require('../chunk-V5OAXIBN.cjs');
|
|
12
11
|
require('../chunk-5FYU7ZIU.cjs');
|
|
13
|
-
var
|
|
12
|
+
var chunkO4YPVYPO_cjs = require('../chunk-O4YPVYPO.cjs');
|
|
13
|
+
var chunkD4YR56FV_cjs = require('../chunk-D4YR56FV.cjs');
|
|
14
14
|
var chunkO6IEZDRC_cjs = require('../chunk-O6IEZDRC.cjs');
|
|
15
15
|
var chunkI2QSDQQV_cjs = require('../chunk-I2QSDQQV.cjs');
|
|
16
16
|
require('../chunk-RC25WMVB.cjs');
|
|
17
|
-
var
|
|
18
|
-
require('../chunk-
|
|
17
|
+
var chunkLC2KJSUS_cjs = require('../chunk-LC2KJSUS.cjs');
|
|
18
|
+
require('../chunk-7D737FLE.cjs');
|
|
19
19
|
var chunkN26CXGXC_cjs = require('../chunk-N26CXGXC.cjs');
|
|
20
|
+
require('../chunk-DETZZBG2.cjs');
|
|
20
21
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
21
22
|
require('../chunk-C2CWWEHO.cjs');
|
|
22
|
-
require('../chunk-7D737FLE.cjs');
|
|
23
23
|
var chunkQVBZESYQ_cjs = require('../chunk-QVBZESYQ.cjs');
|
|
24
24
|
require('../chunk-ADOKTJHV.cjs');
|
|
25
25
|
var chunkDWZXSPMB_cjs = require('../chunk-DWZXSPMB.cjs');
|
|
26
26
|
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
27
|
-
var
|
|
27
|
+
var chunkWV4IDVDQ_cjs = require('../chunk-WV4IDVDQ.cjs');
|
|
28
28
|
require('../chunk-B6MVQCXW.cjs');
|
|
29
29
|
var chunkJKB7WT7L_cjs = require('../chunk-JKB7WT7L.cjs');
|
|
30
|
-
var
|
|
31
|
-
require('../chunk-32HW2Q33.cjs');
|
|
30
|
+
var chunkHM23LXUP_cjs = require('../chunk-HM23LXUP.cjs');
|
|
32
31
|
require('../chunk-7UTB4PHM.cjs');
|
|
32
|
+
require('../chunk-32HW2Q33.cjs');
|
|
33
33
|
require('../chunk-FX3K6LNZ.cjs');
|
|
34
34
|
require('../chunk-PPCATBOY.cjs');
|
|
35
35
|
require('../chunk-MHVNT4J3.cjs');
|
|
@@ -125,7 +125,7 @@ function ConnectedWorkspaceActivity({
|
|
|
125
125
|
[feed.data]
|
|
126
126
|
);
|
|
127
127
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
128
|
-
|
|
128
|
+
chunkD4YR56FV_cjs.WorkspaceActivityList,
|
|
129
129
|
{
|
|
130
130
|
...listProps,
|
|
131
131
|
items,
|
|
@@ -151,7 +151,7 @@ function ConnectedWorkspaceNotificationMenu({
|
|
|
151
151
|
});
|
|
152
152
|
if (!workspaceId) return null;
|
|
153
153
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
154
|
-
|
|
154
|
+
chunkD4YR56FV_cjs.WorkspaceNotificationMenu,
|
|
155
155
|
{
|
|
156
156
|
...menuProps,
|
|
157
157
|
level,
|
|
@@ -170,7 +170,7 @@ function ConnectedThreadFollow({
|
|
|
170
170
|
enabled: status === "authenticated"
|
|
171
171
|
});
|
|
172
172
|
if (!conversationId) return null;
|
|
173
|
-
const Control = as === "menu-item" ?
|
|
173
|
+
const Control = as === "menu-item" ? chunkD4YR56FV_cjs.ThreadFollowMenuItem : chunkD4YR56FV_cjs.ThreadFollowButton;
|
|
174
174
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
175
175
|
Control,
|
|
176
176
|
{
|
|
@@ -296,7 +296,7 @@ function StreamedArtifact({
|
|
|
296
296
|
}
|
|
297
297
|
var STARTING = /* @__PURE__ */ new Set(["pending", "running"]);
|
|
298
298
|
function formValues(step, inputs) {
|
|
299
|
-
const fields =
|
|
299
|
+
const fields = chunkHM23LXUP_cjs.stepFields(step);
|
|
300
300
|
if (!fields.length) return void 0;
|
|
301
301
|
if (step.kind === "form")
|
|
302
302
|
return Object.fromEntries(fields.map((f) => [f.name, inputs[f.name] ?? ""]));
|
|
@@ -331,10 +331,10 @@ function useAnswerRetry(missing, refetch) {
|
|
|
331
331
|
function useWorkflowThread(workflow, options = {}) {
|
|
332
332
|
const arbi = react$1.useArbi();
|
|
333
333
|
const { ensureWorkspaceOpen, status } = chunkARDHLU73_cjs.useConnection();
|
|
334
|
-
const { wsId } =
|
|
334
|
+
const { wsId } = chunkHW2J4JMV_cjs.useWorkspaceDocs();
|
|
335
335
|
const [threadId, setThreadId] = react.useState(options.conversationId);
|
|
336
336
|
const [localInputs, setLocalInputs] = react.useState(
|
|
337
|
-
() =>
|
|
337
|
+
() => chunkHM23LXUP_cjs.initialRunInputs(workflow, options.initialInputs)
|
|
338
338
|
);
|
|
339
339
|
const [edits, setEdits] = react.useState({});
|
|
340
340
|
const [localStates, setLocalStates] = react.useState({});
|
|
@@ -354,12 +354,12 @@ function useWorkflowThread(workflow, options = {}) {
|
|
|
354
354
|
);
|
|
355
355
|
const conversation = conversations.data?.find((c) => c.external_id === threadId);
|
|
356
356
|
const steps = react.useMemo(
|
|
357
|
-
() =>
|
|
357
|
+
() => chunkHM23LXUP_cjs.workflowSteps(workflow).length > 0 ? chunkHM23LXUP_cjs.workflowSteps(workflow) : chunkLC2KJSUS_cjs.fromPlanSteps(conversation?.plan?.steps ?? []),
|
|
358
358
|
[workflow, conversation?.plan?.steps]
|
|
359
359
|
);
|
|
360
360
|
const activity = react$1.useConversationActivity(threadId, { live: !!threadId });
|
|
361
361
|
const serverStates = react.useMemo(
|
|
362
|
-
() =>
|
|
362
|
+
() => chunkHM23LXUP_cjs.stepStatesFromActivity(activity.data ?? []),
|
|
363
363
|
[activity.data]
|
|
364
364
|
);
|
|
365
365
|
const working = steps.some(
|
|
@@ -402,7 +402,7 @@ function useWorkflowThread(workflow, options = {}) {
|
|
|
402
402
|
async (values, done) => {
|
|
403
403
|
await ensureWorkspaceOpen();
|
|
404
404
|
const created = await createWork.mutateAsync({
|
|
405
|
-
title:
|
|
405
|
+
title: chunkHM23LXUP_cjs.runThreadTitle(workflow, values).slice(0, 60),
|
|
406
406
|
description: workflow.description || null,
|
|
407
407
|
prompt: null,
|
|
408
408
|
skill_ref: null,
|
|
@@ -414,7 +414,7 @@ function useWorkflowThread(workflow, options = {}) {
|
|
|
414
414
|
criteria: [],
|
|
415
415
|
max_passes: 3,
|
|
416
416
|
documents: [],
|
|
417
|
-
steps:
|
|
417
|
+
steps: chunkLC2KJSUS_cjs.toPlanSteps(workflow, {
|
|
418
418
|
inputs: values,
|
|
419
419
|
resolveWorkflow: options.resolveWorkflow,
|
|
420
420
|
compose: options.compose
|
|
@@ -501,7 +501,7 @@ function useWorkflowThread(workflow, options = {}) {
|
|
|
501
501
|
const anyRunning = Object.values(states).some((s) => s.status === "running");
|
|
502
502
|
const needsStart = !threadId || idle && !anyRunning;
|
|
503
503
|
const runError = idle ? conversation?.last_error ?? null : null;
|
|
504
|
-
const view =
|
|
504
|
+
const view = chunkLC2KJSUS_cjs.useWorkflowView({
|
|
505
505
|
steps,
|
|
506
506
|
states,
|
|
507
507
|
inputs,
|
|
@@ -544,7 +544,7 @@ function WorkflowRunThread({
|
|
|
544
544
|
if (listed && activeThreadId !== conversationId) selectThread(conversationId);
|
|
545
545
|
}, [listed, activeThreadId, conversationId, selectThread]);
|
|
546
546
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
547
|
-
|
|
547
|
+
chunkWV4IDVDQ_cjs.ChatPage,
|
|
548
548
|
{
|
|
549
549
|
chat: { ...chat, threads: chat.threads.filter((t) => t.id === conversationId) },
|
|
550
550
|
singleThread: true,
|
|
@@ -582,7 +582,7 @@ function WorkflowSignDialog({
|
|
|
582
582
|
const arbi = react$1.useArbi();
|
|
583
583
|
const { user, ensureWorkspaceOpen } = chunkARDHLU73_cjs.useConnection();
|
|
584
584
|
const tools = documentTools.useOptionalDocumentTools();
|
|
585
|
-
const { id, version: stepVersion } =
|
|
585
|
+
const { id, version: stepVersion } = chunkHM23LXUP_cjs.splitDocRef(docRef);
|
|
586
586
|
const [version, setVersion] = react.useState(stepVersion);
|
|
587
587
|
const [pdf, setPdf] = react.useState(null);
|
|
588
588
|
const [preparing, setPreparing] = react.useState(false);
|
|
@@ -660,7 +660,7 @@ function WorkflowWordDialog({
|
|
|
660
660
|
onClose,
|
|
661
661
|
labels
|
|
662
662
|
}) {
|
|
663
|
-
const { id } =
|
|
663
|
+
const { id } = chunkHM23LXUP_cjs.splitDocRef(docRef);
|
|
664
664
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
665
665
|
chunkULWRNGGE_cjs.ModalScaffold,
|
|
666
666
|
{
|
|
@@ -809,7 +809,7 @@ function ConnectedWorkflowRunner({
|
|
|
809
809
|
const dl = { ...DEFAULT_WORKFLOW_RUNNER_DIALOG_LABELS, ...dialogLabels };
|
|
810
810
|
const arbi = react$1.useArbi();
|
|
811
811
|
const { ensureWorkspaceOpen, user } = chunkARDHLU73_cjs.useConnection();
|
|
812
|
-
const { wsId } =
|
|
812
|
+
const { wsId } = chunkHW2J4JMV_cjs.useWorkspaceDocs();
|
|
813
813
|
const { data: docs = [], refetch } = react$1.useDocuments(wsId);
|
|
814
814
|
const [sending, setSending] = react.useState([]);
|
|
815
815
|
const [added, setAdded] = react.useState({});
|
|
@@ -832,7 +832,7 @@ function ConnectedWorkflowRunner({
|
|
|
832
832
|
() => ({
|
|
833
833
|
me: user?.externalId,
|
|
834
834
|
openDocument: onOpenDocument && ((ref) => {
|
|
835
|
-
const { id, version } =
|
|
835
|
+
const { id, version } = chunkHM23LXUP_cjs.splitDocRef(ref);
|
|
836
836
|
onOpenDocument(id, version);
|
|
837
837
|
}),
|
|
838
838
|
openDraft: onOpenDraft && ((draftId) => onOpenDraft(draftId)),
|
|
@@ -842,7 +842,7 @@ function ConnectedWorkflowRunner({
|
|
|
842
842
|
const w = state.waiting;
|
|
843
843
|
if (w?.doc_ext_id) setDialog({ kind: "sign", docRef: w.doc_ext_id });
|
|
844
844
|
}),
|
|
845
|
-
openRedline: hostActions?.openRedline ?? ((ref) => setDialog({ kind: "word", docRef: ref, title: nameOfDoc(
|
|
845
|
+
openRedline: hostActions?.openRedline ?? ((ref) => setDialog({ kind: "word", docRef: ref, title: nameOfDoc(chunkHM23LXUP_cjs.splitDocRef(ref).id) ?? "" })),
|
|
846
846
|
openReview: hostActions?.openReview ?? ((tags, documents) => setDialog({ kind: "review", tags, documents }))
|
|
847
847
|
}),
|
|
848
848
|
[user?.externalId, onOpenDocument, onOpenDraft, onOpenMessage, hostActions, nameOfDoc, inThread]
|
|
@@ -978,7 +978,7 @@ function ConnectedWorkflowRunner({
|
|
|
978
978
|
);
|
|
979
979
|
};
|
|
980
980
|
const runner = (compact) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
981
|
-
|
|
981
|
+
chunkLC2KJSUS_cjs.WorkflowRunner,
|
|
982
982
|
{
|
|
983
983
|
people,
|
|
984
984
|
...runnerProps,
|
|
@@ -1024,10 +1024,10 @@ function ConnectedWorkflowRunner({
|
|
|
1024
1024
|
) }),
|
|
1025
1025
|
inThread && conversationId ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1026
1026
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1027
|
-
|
|
1027
|
+
chunkLC2KJSUS_cjs.WorkflowStepBar,
|
|
1028
1028
|
{
|
|
1029
1029
|
run: view,
|
|
1030
|
-
levels:
|
|
1030
|
+
levels: chunkHM23LXUP_cjs.stepLevels(view.steps),
|
|
1031
1031
|
doneTitle: (workflow.run.kind === "steps" ? workflow.run.completion?.title : void 0) ?? runnerProps.labels?.complete ?? "Done",
|
|
1032
1032
|
icon: (key) => key && runnerProps.renderIcon ? runnerProps.renderIcon(key) : void 0,
|
|
1033
1033
|
tid: (suffix) => `${testIdPrefix}-${suffix}`
|
|
@@ -1047,13 +1047,13 @@ function ConnectedWorkflowRunner({
|
|
|
1047
1047
|
return state ? [[s.id, state]] : [];
|
|
1048
1048
|
})
|
|
1049
1049
|
);
|
|
1050
|
-
const ref =
|
|
1050
|
+
const ref = chunkHM23LXUP_cjs.stepDocuments(view.steps, states, id).at(-1);
|
|
1051
1051
|
const open = actions.openDocument ?? actions.openRedline;
|
|
1052
1052
|
return {
|
|
1053
1053
|
title: step.title,
|
|
1054
|
-
kind:
|
|
1054
|
+
kind: chunkHM23LXUP_cjs.stepKindOf(step),
|
|
1055
1055
|
phase: view.phaseOf(id),
|
|
1056
|
-
document: ref && open ? { name: nameOfDoc(
|
|
1056
|
+
document: ref && open ? { name: nameOfDoc(chunkHM23LXUP_cjs.splitDocRef(ref).id) ?? ref, onOpen: () => open(ref) } : void 0
|
|
1057
1057
|
};
|
|
1058
1058
|
},
|
|
1059
1059
|
targetMessageId: target,
|
|
@@ -1225,7 +1225,7 @@ function ConnectedTagTable({
|
|
|
1225
1225
|
const fail = (e) => setError(e instanceof Error ? e.message : String(e));
|
|
1226
1226
|
const snapshot = (data) => {
|
|
1227
1227
|
const title = exportTitle ?? KIND_TITLES[kind];
|
|
1228
|
-
const bytes =
|
|
1228
|
+
const bytes = chunkD4YR56FV_cjs.tagTableDocx(data, {
|
|
1229
1229
|
title,
|
|
1230
1230
|
nameOf: (id) => people.find((p) => p.value === id)?.label
|
|
1231
1231
|
});
|
|
@@ -1235,7 +1235,7 @@ function ConnectedTagTable({
|
|
|
1235
1235
|
};
|
|
1236
1236
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
1237
1237
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1238
|
-
|
|
1238
|
+
chunkD4YR56FV_cjs.TagTable,
|
|
1239
1239
|
{
|
|
1240
1240
|
...props,
|
|
1241
1241
|
table,
|
|
@@ -3765,7 +3765,7 @@ function ActiveChat({ agentId, workspaceId }) {
|
|
|
3765
3765
|
activeArtifact: () => chunkJKB7WT7L_cjs.takeOpenDocumentForTurn({ workspaceId })
|
|
3766
3766
|
});
|
|
3767
3767
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3768
|
-
|
|
3768
|
+
chunkWV4IDVDQ_cjs.ChatPage,
|
|
3769
3769
|
{
|
|
3770
3770
|
chat: { ...chat, assistantMode: void 0, setAssistantMode: void 0 },
|
|
3771
3771
|
documentsRequired: false,
|
|
@@ -3827,35 +3827,35 @@ function ConnectedAgentChatPanel({
|
|
|
3827
3827
|
|
|
3828
3828
|
Object.defineProperty(exports, "ConnectedAssistantDock", {
|
|
3829
3829
|
enumerable: true,
|
|
3830
|
-
get: function () { return
|
|
3830
|
+
get: function () { return chunkHW2J4JMV_cjs.ConnectedAssistantDock; }
|
|
3831
3831
|
});
|
|
3832
3832
|
Object.defineProperty(exports, "redlineStats", {
|
|
3833
3833
|
enumerable: true,
|
|
3834
|
-
get: function () { return
|
|
3834
|
+
get: function () { return chunkHW2J4JMV_cjs.redlineStats; }
|
|
3835
3835
|
});
|
|
3836
3836
|
Object.defineProperty(exports, "textToArtifact", {
|
|
3837
3837
|
enumerable: true,
|
|
3838
|
-
get: function () { return
|
|
3838
|
+
get: function () { return chunkHW2J4JMV_cjs.textToArtifact; }
|
|
3839
3839
|
});
|
|
3840
3840
|
Object.defineProperty(exports, "toRedlineMarkdown", {
|
|
3841
3841
|
enumerable: true,
|
|
3842
|
-
get: function () { return
|
|
3842
|
+
get: function () { return chunkHW2J4JMV_cjs.toRedlineMarkdown; }
|
|
3843
3843
|
});
|
|
3844
3844
|
Object.defineProperty(exports, "useConnectedAiTask", {
|
|
3845
3845
|
enumerable: true,
|
|
3846
|
-
get: function () { return
|
|
3846
|
+
get: function () { return chunkHW2J4JMV_cjs.useConnectedAiTask; }
|
|
3847
3847
|
});
|
|
3848
3848
|
Object.defineProperty(exports, "useConnectedChat", {
|
|
3849
3849
|
enumerable: true,
|
|
3850
|
-
get: function () { return
|
|
3850
|
+
get: function () { return chunkHW2J4JMV_cjs.useConnectedChat; }
|
|
3851
3851
|
});
|
|
3852
3852
|
Object.defineProperty(exports, "useSemanticSearch", {
|
|
3853
3853
|
enumerable: true,
|
|
3854
|
-
get: function () { return
|
|
3854
|
+
get: function () { return chunkHW2J4JMV_cjs.useSemanticSearch; }
|
|
3855
3855
|
});
|
|
3856
3856
|
Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
3857
3857
|
enumerable: true,
|
|
3858
|
-
get: function () { return
|
|
3858
|
+
get: function () { return chunkHW2J4JMV_cjs.useWorkspaceDocs; }
|
|
3859
3859
|
});
|
|
3860
3860
|
Object.defineProperty(exports, "ConnectionProvider", {
|
|
3861
3861
|
enumerable: true,
|
package/dist/connect/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { FilesFilterBar, FolderFilterButton, FolderPickerRow } from '../chunk-7RJTEWYM.js';
|
|
3
2
|
import { SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, PasswordChangeDialog, SettingsCard, SettingsActionRow, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-OQ7RUNOC.js';
|
|
4
|
-
import { useWorkspaceDocs } from '../chunk-
|
|
5
|
-
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-
|
|
3
|
+
import { useWorkspaceDocs } from '../chunk-YIF6SVSO.js';
|
|
4
|
+
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-YIF6SVSO.js';
|
|
6
5
|
import { ConnectedNativeDocxEditor } from '../chunk-4UMXQPNA.js';
|
|
7
6
|
import { ConnectionProvider, useConnection } from '../chunk-4RLCRFZS.js';
|
|
8
7
|
export { ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, useConnection } from '../chunk-4RLCRFZS.js';
|
|
@@ -10,26 +9,27 @@ import { SignDocumentDialog } from '../chunk-2YOVK524.js';
|
|
|
10
9
|
import '../chunk-GYAUJ4KT.js';
|
|
11
10
|
import '../chunk-2FL7QJKJ.js';
|
|
12
11
|
import '../chunk-HFZ45FD3.js';
|
|
13
|
-
import {
|
|
12
|
+
import { FilesFilterBar, FolderFilterButton, FolderPickerRow } from '../chunk-7RJTEWYM.js';
|
|
13
|
+
import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx } from '../chunk-VW2C2AZL.js';
|
|
14
14
|
import { PlainMailBodyEditor, draftMailCompose, replyMailCompose, emptyMailCompose, MailGrid, MailMessageView, MailDocumentPicker, parseMailRecipients } from '../chunk-6HCJ3ZEU.js';
|
|
15
15
|
import { DOCX_MIME_TYPE } from '../chunk-QXMR5YHC.js';
|
|
16
16
|
import '../chunk-AF6RDAJF.js';
|
|
17
|
-
import { WorkflowStepBar, WorkflowRunner, fromPlanSteps, toPlanSteps, useWorkflowView } from '../chunk-
|
|
18
|
-
import '../chunk-
|
|
17
|
+
import { WorkflowStepBar, WorkflowRunner, fromPlanSteps, toPlanSteps, useWorkflowView } from '../chunk-54ANPPMV.js';
|
|
18
|
+
import '../chunk-XD2M6LIG.js';
|
|
19
19
|
import { TriStateFilterMenu } from '../chunk-6S5FLMWG.js';
|
|
20
|
+
import '../chunk-EVUEIBNU.js';
|
|
20
21
|
import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
21
22
|
import '../chunk-N5YEF3LC.js';
|
|
22
|
-
import '../chunk-XD2M6LIG.js';
|
|
23
23
|
import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
24
24
|
import '../chunk-VILAPTCB.js';
|
|
25
25
|
import { ConfirmDialog } from '../chunk-VHJHY7TT.js';
|
|
26
26
|
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
27
|
-
import { ChatPage } from '../chunk-
|
|
27
|
+
import { ChatPage } from '../chunk-CXLVI3SB.js';
|
|
28
28
|
import '../chunk-7XF5SFJ2.js';
|
|
29
29
|
import { takeOpenDocumentForTurn, useRegisterOpenDocument } from '../chunk-YBLIKTJK.js';
|
|
30
|
-
import { splitDocRef, stepLevels, stepDocuments, stepKindOf, initialRunInputs, workflowSteps, stepStatesFromActivity, runThreadTitle, stepFields } from '../chunk-
|
|
31
|
-
import '../chunk-AUS3KBHJ.js';
|
|
30
|
+
import { splitDocRef, stepLevels, stepDocuments, stepKindOf, initialRunInputs, workflowSteps, stepStatesFromActivity, runThreadTitle, stepFields } from '../chunk-7HAM7Y5U.js';
|
|
32
31
|
import '../chunk-AA3PT6KR.js';
|
|
32
|
+
import '../chunk-AUS3KBHJ.js';
|
|
33
33
|
import '../chunk-SLSBJRWW.js';
|
|
34
34
|
import '../chunk-NPLYHR2E.js';
|
|
35
35
|
import '../chunk-7F6CBP3Z.js';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunk6MG62I5B_cjs = require('../chunk-6MG62I5B.cjs');
|
|
5
|
-
var chunkUWIILWDI_cjs = require('../chunk-UWIILWDI.cjs');
|
|
6
5
|
var chunkJH6JTI76_cjs = require('../chunk-JH6JTI76.cjs');
|
|
6
|
+
var chunkUWIILWDI_cjs = require('../chunk-UWIILWDI.cjs');
|
|
7
7
|
require('../chunk-ULWRNGGE.cjs');
|
|
8
8
|
require('../chunk-DES3K4SD.cjs');
|
|
9
9
|
var lucideReact = require('lucide-react');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { AdoptSignatureDialog, TYPED_SIGNATURE_STYLE } from '../chunk-EQB3WELX.js';
|
|
3
|
-
import { ViewerStatusNote } from '../chunk-6HKLTYNN.js';
|
|
4
3
|
export { SignDocumentDialog } from '../chunk-2YOVK524.js';
|
|
4
|
+
import { ViewerStatusNote } from '../chunk-6HKLTYNN.js';
|
|
5
5
|
import '../chunk-TX2ZICS7.js';
|
|
6
6
|
import '../chunk-VUNV25KB.js';
|
|
7
7
|
import { PencilLine, FileText, PenLine, Users, Send, FilePenLine, Download } from 'lucide-react';
|
package/dist/facts/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var chunk2WLXQGWC_cjs = require('../chunk-2WLXQGWC.cjs');
|
|
5
4
|
var chunk5FYU7ZIU_cjs = require('../chunk-5FYU7ZIU.cjs');
|
|
5
|
+
var chunk2WLXQGWC_cjs = require('../chunk-2WLXQGWC.cjs');
|
|
6
6
|
var chunkHFGXA5CL_cjs = require('../chunk-HFGXA5CL.cjs');
|
|
7
7
|
var chunkVPPX5XUF_cjs = require('../chunk-VPPX5XUF.cjs');
|
|
8
8
|
var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
|
package/dist/facts/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { ViewToggle } from '../chunk-JJA6GQKH.js';
|
|
3
2
|
export { DEFAULT_FACT_PASSAGES_LABELS, FactPassageItem, FactSourcesPanel, renderPreviewInline, toPreviewLine } from '../chunk-HFZ45FD3.js';
|
|
3
|
+
import { ViewToggle } from '../chunk-JJA6GQKH.js';
|
|
4
4
|
import { SearchHit } from '../chunk-RI6DZA5X.js';
|
|
5
5
|
import { formatSpan, TimelineCalendar, TimelineGantt } from '../chunk-4EZVCGRL.js';
|
|
6
6
|
import { decodeWhitespaceEntities } from '../chunk-AF6RDAJF.js';
|
package/dist/files/index.cjs
CHANGED
|
@@ -8,11 +8,11 @@ var chunk2WLXQGWC_cjs = require('../chunk-2WLXQGWC.cjs');
|
|
|
8
8
|
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
9
9
|
var chunk3AFWGEDJ_cjs = require('../chunk-3AFWGEDJ.cjs');
|
|
10
10
|
var chunkDVUZTGVL_cjs = require('../chunk-DVUZTGVL.cjs');
|
|
11
|
+
var chunkR26BK7YL_cjs = require('../chunk-R26BK7YL.cjs');
|
|
11
12
|
var chunkDETZZBG2_cjs = require('../chunk-DETZZBG2.cjs');
|
|
12
13
|
var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
13
14
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
14
15
|
var chunkC2CWWEHO_cjs = require('../chunk-C2CWWEHO.cjs');
|
|
15
|
-
var chunkR26BK7YL_cjs = require('../chunk-R26BK7YL.cjs');
|
|
16
16
|
var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
|
|
17
17
|
require('../chunk-FX3K6LNZ.cjs');
|
|
18
18
|
require('../chunk-PPCATBOY.cjs');
|
package/dist/files/index.js
CHANGED
|
@@ -7,13 +7,13 @@ import { ShareControl } from '../chunk-K4BGOPGG.js';
|
|
|
7
7
|
import { CellHoverIcon } from '../chunk-RFXJYIDV.js';
|
|
8
8
|
export { CellHoverIcon, HoverIconCell } from '../chunk-RFXJYIDV.js';
|
|
9
9
|
import { ToneBadge } from '../chunk-5LXQPP2K.js';
|
|
10
|
+
import { ActionLink } from '../chunk-444XKG46.js';
|
|
10
11
|
export { UploadDropzone } from '../chunk-EVUEIBNU.js';
|
|
11
12
|
import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|
|
12
13
|
export { DEFAULT_SELECTION_BAR_LABELS, SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|
|
13
14
|
import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
14
15
|
import { GridView } from '../chunk-N5YEF3LC.js';
|
|
15
16
|
export { GridView } from '../chunk-N5YEF3LC.js';
|
|
16
|
-
import { ActionLink } from '../chunk-444XKG46.js';
|
|
17
17
|
import { TONE_SURFACE } from '../chunk-AUS3KBHJ.js';
|
|
18
18
|
import '../chunk-SLSBJRWW.js';
|
|
19
19
|
import '../chunk-NPLYHR2E.js';
|
package/dist/home/index.cjs
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
var chunkXZIYRKLW_cjs = require('../chunk-XZIYRKLW.cjs');
|
|
5
5
|
var chunkPCB2BPN3_cjs = require('../chunk-PCB2BPN3.cjs');
|
|
6
|
-
var
|
|
7
|
-
var chunkR26BK7YL_cjs = require('../chunk-R26BK7YL.cjs');
|
|
6
|
+
var chunk44R3CCZT_cjs = require('../chunk-44R3CCZT.cjs');
|
|
8
7
|
var chunk7D737FLE_cjs = require('../chunk-7D737FLE.cjs');
|
|
8
|
+
var chunkR26BK7YL_cjs = require('../chunk-R26BK7YL.cjs');
|
|
9
9
|
require('../chunk-PPCATBOY.cjs');
|
|
10
10
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
11
11
|
require('../chunk-C4WSHRR6.cjs');
|
|
@@ -115,7 +115,7 @@ function RecentList({
|
|
|
115
115
|
"data-testid": testId,
|
|
116
116
|
children: [
|
|
117
117
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
118
|
-
|
|
118
|
+
chunk44R3CCZT_cjs.SectionHeader,
|
|
119
119
|
{
|
|
120
120
|
icon,
|
|
121
121
|
title,
|
|
@@ -127,7 +127,7 @@ function RecentList({
|
|
|
127
127
|
}
|
|
128
128
|
),
|
|
129
129
|
rows.length === 0 ? empty?.onSelect ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
130
|
-
|
|
130
|
+
chunk44R3CCZT_cjs.EmptyStrip,
|
|
131
131
|
{
|
|
132
132
|
icon: empty.icon,
|
|
133
133
|
label: empty.label,
|
|
@@ -197,7 +197,7 @@ function FactsStrip({
|
|
|
197
197
|
"data-testid": testId,
|
|
198
198
|
children: [
|
|
199
199
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
200
|
-
|
|
200
|
+
chunk44R3CCZT_cjs.SectionHeader,
|
|
201
201
|
{
|
|
202
202
|
icon,
|
|
203
203
|
title,
|
|
@@ -208,7 +208,7 @@ function FactsStrip({
|
|
|
208
208
|
}
|
|
209
209
|
),
|
|
210
210
|
filled.length === 0 ? empty && /* @__PURE__ */ jsxRuntime.jsx(
|
|
211
|
-
|
|
211
|
+
chunk44R3CCZT_cjs.EmptyStrip,
|
|
212
212
|
{
|
|
213
213
|
icon: empty.icon,
|
|
214
214
|
label: empty.label,
|
|
@@ -416,7 +416,7 @@ function ActionMenuDialog({
|
|
|
416
416
|
className: "sm:max-w-lg",
|
|
417
417
|
"data-testid": chunkMHVNT4J3_cjs.testIdOr(testId, { testId: "action-menu-dialog" }),
|
|
418
418
|
children: [
|
|
419
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
419
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk44R3CCZT_cjs.QuickActionDialogHeader, { icon, title, description }),
|
|
420
420
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-3 pt-1", role: "menu", "aria-label": title, children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
421
421
|
"button",
|
|
422
422
|
{
|
|
@@ -798,43 +798,43 @@ Object.defineProperty(exports, "KeyValueRow", {
|
|
|
798
798
|
});
|
|
799
799
|
Object.defineProperty(exports, "AddFilesFirst", {
|
|
800
800
|
enumerable: true,
|
|
801
|
-
get: function () { return
|
|
801
|
+
get: function () { return chunk44R3CCZT_cjs.AddFilesFirst; }
|
|
802
802
|
});
|
|
803
803
|
Object.defineProperty(exports, "DEFAULT_ADD_FILES_FIRST_LABELS", {
|
|
804
804
|
enumerable: true,
|
|
805
|
-
get: function () { return
|
|
805
|
+
get: function () { return chunk44R3CCZT_cjs.DEFAULT_ADD_FILES_FIRST_LABELS; }
|
|
806
806
|
});
|
|
807
807
|
Object.defineProperty(exports, "DEFAULT_SCOPE_PICKER_LABELS", {
|
|
808
808
|
enumerable: true,
|
|
809
|
-
get: function () { return
|
|
809
|
+
get: function () { return chunk44R3CCZT_cjs.DEFAULT_SCOPE_PICKER_LABELS; }
|
|
810
810
|
});
|
|
811
811
|
Object.defineProperty(exports, "EmptyStrip", {
|
|
812
812
|
enumerable: true,
|
|
813
|
-
get: function () { return
|
|
813
|
+
get: function () { return chunk44R3CCZT_cjs.EmptyStrip; }
|
|
814
814
|
});
|
|
815
815
|
Object.defineProperty(exports, "QuickActionDialogHeader", {
|
|
816
816
|
enumerable: true,
|
|
817
|
-
get: function () { return
|
|
817
|
+
get: function () { return chunk44R3CCZT_cjs.QuickActionDialogHeader; }
|
|
818
818
|
});
|
|
819
819
|
Object.defineProperty(exports, "ScopePicker", {
|
|
820
820
|
enumerable: true,
|
|
821
|
-
get: function () { return
|
|
821
|
+
get: function () { return chunk44R3CCZT_cjs.ScopePicker; }
|
|
822
822
|
});
|
|
823
823
|
Object.defineProperty(exports, "SectionHeader", {
|
|
824
824
|
enumerable: true,
|
|
825
|
-
get: function () { return
|
|
825
|
+
get: function () { return chunk44R3CCZT_cjs.SectionHeader; }
|
|
826
826
|
});
|
|
827
827
|
Object.defineProperty(exports, "SectionLabel", {
|
|
828
828
|
enumerable: true,
|
|
829
|
-
get: function () { return
|
|
829
|
+
get: function () { return chunk44R3CCZT_cjs.SectionLabel; }
|
|
830
830
|
});
|
|
831
831
|
Object.defineProperty(exports, "StartTiles", {
|
|
832
832
|
enumerable: true,
|
|
833
|
-
get: function () { return
|
|
833
|
+
get: function () { return chunk44R3CCZT_cjs.StartTiles; }
|
|
834
834
|
});
|
|
835
835
|
Object.defineProperty(exports, "useScopeSelection", {
|
|
836
836
|
enumerable: true,
|
|
837
|
-
get: function () { return
|
|
837
|
+
get: function () { return chunk44R3CCZT_cjs.useScopeSelection; }
|
|
838
838
|
});
|
|
839
839
|
Object.defineProperty(exports, "FoldSection", {
|
|
840
840
|
enumerable: true,
|
package/dist/home/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { CollapsibleSection, DEFAULT_COLLAPSIBLE_SECTION_LABELS, DEFAULT_KEY_VALUE_ROW_LABELS, KeyValueContainer, KeyValueRow } from '../chunk-LGBAZD37.js';
|
|
3
3
|
import { Callout } from '../chunk-UJE32SST.js';
|
|
4
|
-
import { SectionHeader, EmptyStrip, QuickActionDialogHeader } from '../chunk-
|
|
5
|
-
export { AddFilesFirst, DEFAULT_ADD_FILES_FIRST_LABELS, DEFAULT_SCOPE_PICKER_LABELS, EmptyStrip, QuickActionDialogHeader, ScopePicker, SectionHeader, SectionLabel, StartTiles, useScopeSelection } from '../chunk-
|
|
6
|
-
import { ActionLink } from '../chunk-444XKG46.js';
|
|
4
|
+
import { SectionHeader, EmptyStrip, QuickActionDialogHeader } from '../chunk-3FFRYZKV.js';
|
|
5
|
+
export { AddFilesFirst, DEFAULT_ADD_FILES_FIRST_LABELS, DEFAULT_SCOPE_PICKER_LABELS, EmptyStrip, QuickActionDialogHeader, ScopePicker, SectionHeader, SectionLabel, StartTiles, useScopeSelection } from '../chunk-3FFRYZKV.js';
|
|
7
6
|
export { FoldSection } from '../chunk-XD2M6LIG.js';
|
|
7
|
+
import { ActionLink } from '../chunk-444XKG46.js';
|
|
8
8
|
import '../chunk-NPLYHR2E.js';
|
|
9
9
|
import { testIdOr, prefixedTestId } from '../chunk-7F6CBP3Z.js';
|
|
10
10
|
import '../chunk-YNIBUKV5.js';
|