@arbidocs/blocks 0.4.63 → 0.4.64
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/{StreamedArtifactEditor-373E5JE7.js → StreamedArtifactEditor-OPL4KXOT.js} +3 -3
- package/dist/{StreamedArtifactEditor-373E5JE7.js.map → StreamedArtifactEditor-OPL4KXOT.js.map} +1 -1
- package/dist/{StreamedArtifactEditor-DBB7MXM3.cjs → StreamedArtifactEditor-RIKG6CJQ.cjs} +5 -5
- package/dist/{StreamedArtifactEditor-DBB7MXM3.cjs.map → StreamedArtifactEditor-RIKG6CJQ.cjs.map} +1 -1
- package/dist/agents/index.cjs +218 -218
- package/dist/agents/index.js +2 -2
- package/dist/artifacts/VersionTimeline.d.ts +4 -0
- package/dist/artifacts/index.cjs +21 -21
- package/dist/artifacts/index.js +1 -1
- package/dist/{chunk-YDVSD2XZ.js → chunk-5EBGRG3X.js} +8 -3
- package/dist/{chunk-YDVSD2XZ.js.map → chunk-5EBGRG3X.js.map} +1 -1
- package/dist/{chunk-FKIRBH5S.js → chunk-65HZ36MY.js} +13 -2
- package/dist/chunk-65HZ36MY.js.map +1 -0
- package/dist/{chunk-HAADKDRN.cjs → chunk-FA2QTFCK.cjs} +3 -3
- package/dist/{chunk-HAADKDRN.cjs.map → chunk-FA2QTFCK.cjs.map} +1 -1
- package/dist/{chunk-V34YFQ5Q.js → chunk-LYE6BPBE.js} +3 -3
- package/dist/{chunk-V34YFQ5Q.js.map → chunk-LYE6BPBE.js.map} +1 -1
- package/dist/{chunk-QWK7XXBP.cjs → chunk-SVJQWLOF.cjs} +13 -2
- package/dist/chunk-SVJQWLOF.cjs.map +1 -0
- package/dist/{chunk-KLPHGTQA.cjs → chunk-ZWA7UUZL.cjs} +8 -3
- package/dist/chunk-ZWA7UUZL.cjs.map +1 -0
- package/dist/connect/docx.cjs +4 -4
- package/dist/connect/docx.js +1 -1
- package/dist/connect/index.cjs +1 -1
- package/dist/connect/index.js +1 -1
- package/dist/connection/ai.d.ts +18 -3
- package/dist/docx/NativeDocxEditor.d.ts +7 -0
- package/dist/docx/index.cjs +24 -16
- package/dist/docx/index.cjs.map +1 -1
- package/dist/docx/index.js +12 -4
- package/dist/docx/index.js.map +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 +1 -1
- package/dist/home/index.js +1 -1
- package/dist/index.cjs +264 -264
- package/dist/index.js +3 -3
- 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/package.json +4 -4
- package/dist/chunk-FKIRBH5S.js.map +0 -1
- package/dist/chunk-KLPHGTQA.cjs.map +0 -1
- package/dist/chunk-QWK7XXBP.cjs.map +0 -1
package/dist/agents/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentSelect, AgentTypeSelector, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EMPTY_WORKFLOW_SCOPE, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SchemaForm, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskActivityTimeline, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadNotifyDialog, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildLaunch, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composeWorkflowPrompt, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultInputs, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, inputsFromContext, isAgenticWorkflow, isEmptyWorkflowScope, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isWorkflowScope, isoToLocalInput, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, promptFieldName, resolveScopeInputs, skillToWorkflow, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, validateInputs, workflowAccepts, workflowFromFrontmatter, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowTriggerType, workflowWhen, workflowsAccepting, workflowsForHost } from '../chunk-
|
|
2
|
+
export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentSelect, AgentTypeSelector, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EMPTY_WORKFLOW_SCOPE, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SchemaForm, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskActivityTimeline, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadNotifyDialog, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildLaunch, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composeWorkflowPrompt, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultInputs, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, inputsFromContext, isAgenticWorkflow, isEmptyWorkflowScope, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isWorkflowScope, isoToLocalInput, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, promptFieldName, resolveScopeInputs, skillToWorkflow, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, validateInputs, workflowAccepts, workflowFromFrontmatter, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowTriggerType, workflowWhen, workflowsAccepting, workflowsForHost } from '../chunk-LYE6BPBE.js';
|
|
3
3
|
import '../chunk-P6GHJSLR.js';
|
|
4
4
|
import '../chunk-RFXJYIDV.js';
|
|
5
5
|
import '../chunk-BUHKUKKB.js';
|
|
@@ -9,10 +9,10 @@ import '../chunk-DPLRHEJZ.js';
|
|
|
9
9
|
import '../chunk-YU2KUMGE.js';
|
|
10
10
|
import '../chunk-S7PSMMRG.js';
|
|
11
11
|
import '../chunk-4WWM3GQ5.js';
|
|
12
|
+
import '../chunk-76JDDMSP.js';
|
|
12
13
|
import '../chunk-3VQYJBOI.js';
|
|
13
14
|
import '../chunk-SLSBJRWW.js';
|
|
14
15
|
import '../chunk-NPLYHR2E.js';
|
|
15
|
-
import '../chunk-76JDDMSP.js';
|
|
16
16
|
import '../chunk-OXF2IFXG.js';
|
|
17
17
|
import '../chunk-CPMNAJLF.js';
|
|
18
18
|
import '../chunk-TJMKFY5P.js';
|
|
@@ -8,6 +8,8 @@ export interface VersionTimelineLabels {
|
|
|
8
8
|
current: string;
|
|
9
9
|
version: (n: number) => string;
|
|
10
10
|
branchedFrom: (n: number) => string;
|
|
11
|
+
/** Why a version exists, keyed by its `reason` (upload | edit | signed | sync). */
|
|
12
|
+
reasons: Record<string, string>;
|
|
11
13
|
open: string;
|
|
12
14
|
compare: string;
|
|
13
15
|
}
|
|
@@ -32,6 +34,8 @@ export interface VersionEntry {
|
|
|
32
34
|
number?: number;
|
|
33
35
|
/** The version this one was saved from (a restore when it is not the row above). */
|
|
34
36
|
savedFromId?: string | null;
|
|
37
|
+
/** Why the version exists: upload | edit | signed | sync. Shown as a label on the row. */
|
|
38
|
+
reason?: string | null;
|
|
35
39
|
}
|
|
36
40
|
export interface VersionTimelineProps {
|
|
37
41
|
/** Versions in creation order (oldest first). */
|
package/dist/artifacts/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkSVJQWLOF_cjs = require('../chunk-SVJQWLOF.cjs');
|
|
5
5
|
var chunkQVBZESYQ_cjs = require('../chunk-QVBZESYQ.cjs');
|
|
6
6
|
require('../chunk-MHVNT4J3.cjs');
|
|
7
7
|
|
|
@@ -9,83 +9,83 @@ require('../chunk-MHVNT4J3.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "ArtifactCompareBar", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkSVJQWLOF_cjs.ArtifactCompareBar; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "ArtifactEditor", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkSVJQWLOF_cjs.ArtifactEditor; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "ArtifactEditorBody", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkSVJQWLOF_cjs.ArtifactEditorBody; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "ArtifactRedlineView", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkSVJQWLOF_cjs.ArtifactRedlineView; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "ArtifactToolbar", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkSVJQWLOF_cjs.ArtifactToolbar; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "ArtifactVersionBar", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkSVJQWLOF_cjs.ArtifactVersionBar; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "DEFAULT_ARTIFACT_COMPARE_BAR_LABELS", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkSVJQWLOF_cjs.DEFAULT_ARTIFACT_COMPARE_BAR_LABELS; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkSVJQWLOF_cjs.DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "DEFAULT_ARTIFACT_TOOLBAR_LABELS", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkSVJQWLOF_cjs.DEFAULT_ARTIFACT_TOOLBAR_LABELS; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "DEFAULT_ARTIFACT_VERSION_BAR_LABELS", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkSVJQWLOF_cjs.DEFAULT_ARTIFACT_VERSION_BAR_LABELS; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "DEFAULT_REDLINE_LABELS", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkSVJQWLOF_cjs.DEFAULT_REDLINE_LABELS; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "DEFAULT_VERSION_TIMELINE_LABELS", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkSVJQWLOF_cjs.DEFAULT_VERSION_TIMELINE_LABELS; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "RedlineComputing", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkSVJQWLOF_cjs.RedlineComputing; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "RedlineDocument", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkSVJQWLOF_cjs.RedlineDocument; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "RedlineFrame", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkSVJQWLOF_cjs.RedlineFrame; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "RedlineHeader", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkSVJQWLOF_cjs.RedlineHeader; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "RedlineMark", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkSVJQWLOF_cjs.RedlineMark; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "RedlineRevertGutter", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkSVJQWLOF_cjs.RedlineRevertGutter; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "RedlineStatus", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkSVJQWLOF_cjs.RedlineStatus; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "VersionTimeline", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkSVJQWLOF_cjs.VersionTimeline; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "DEFAULT_STREAMED_ARTIFACT_FRAME_LABELS", {
|
|
91
91
|
enumerable: true,
|
package/dist/artifacts/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { ArtifactCompareBar, ArtifactEditor, ArtifactEditorBody, ArtifactRedlineView, ArtifactToolbar, ArtifactVersionBar, DEFAULT_ARTIFACT_COMPARE_BAR_LABELS, DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS, DEFAULT_ARTIFACT_TOOLBAR_LABELS, DEFAULT_ARTIFACT_VERSION_BAR_LABELS, DEFAULT_REDLINE_LABELS, DEFAULT_VERSION_TIMELINE_LABELS, RedlineComputing, RedlineDocument, RedlineFrame, RedlineHeader, RedlineMark, RedlineRevertGutter, RedlineStatus, VersionTimeline } from '../chunk-
|
|
2
|
+
export { ArtifactCompareBar, ArtifactEditor, ArtifactEditorBody, ArtifactRedlineView, ArtifactToolbar, ArtifactVersionBar, DEFAULT_ARTIFACT_COMPARE_BAR_LABELS, DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS, DEFAULT_ARTIFACT_TOOLBAR_LABELS, DEFAULT_ARTIFACT_VERSION_BAR_LABELS, DEFAULT_REDLINE_LABELS, DEFAULT_VERSION_TIMELINE_LABELS, RedlineComputing, RedlineDocument, RedlineFrame, RedlineHeader, RedlineMark, RedlineRevertGutter, RedlineStatus, VersionTimeline } from '../chunk-65HZ36MY.js';
|
|
3
3
|
export { DEFAULT_STREAMED_ARTIFACT_FRAME_LABELS, StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
4
4
|
import '../chunk-7F6CBP3Z.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -991,6 +991,10 @@ var WordDraftStream = class {
|
|
|
991
991
|
}
|
|
992
992
|
}
|
|
993
993
|
};
|
|
994
|
+
function contentPath(documentId) {
|
|
995
|
+
const match = /^(doc-[A-Za-z0-9]+)@v([1-9][0-9]*)$/.exec(documentId);
|
|
996
|
+
return match ? `/${encodeURIComponent(match[1])}/content?version=${match[2]}` : `/${encodeURIComponent(documentId)}/content`;
|
|
997
|
+
}
|
|
994
998
|
var drafts = /* @__PURE__ */ new Map();
|
|
995
999
|
var stateBytes = (room) => Y.encodeStateAsUpdate(room.ydoc);
|
|
996
1000
|
var encodeState = (room) => {
|
|
@@ -1097,6 +1101,7 @@ function DocxRibbon({ onSave }) {
|
|
|
1097
1101
|
/* @__PURE__ */ jsxs(DocxEditor.Toolbar, { t, preset: false, onSave, children: [
|
|
1098
1102
|
/* @__PURE__ */ jsx(DocxEditor.Toolbar.Undo, {}),
|
|
1099
1103
|
/* @__PURE__ */ jsx(DocxEditor.Toolbar.Redo, {}),
|
|
1104
|
+
/* @__PURE__ */ jsx(DocxEditor.Toolbar.Save, {}),
|
|
1100
1105
|
tab === "Home" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1101
1106
|
/* @__PURE__ */ jsx(DocxEditor.Toolbar.Bold, {}),
|
|
1102
1107
|
/* @__PURE__ */ jsx(DocxEditor.Toolbar.Italic, {}),
|
|
@@ -1208,7 +1213,7 @@ function NativeDocxEditor({
|
|
|
1208
1213
|
method: "POST",
|
|
1209
1214
|
headers: { "Content-Type": "application/json" },
|
|
1210
1215
|
body: JSON.stringify({ content: draftContent })
|
|
1211
|
-
})).arrayBuffer() : await (await adapter.request(
|
|
1216
|
+
})).arrayBuffer() : await (await adapter.request(contentPath(documentId))).arrayBuffer();
|
|
1212
1217
|
if (!cancelled) {
|
|
1213
1218
|
setReady({
|
|
1214
1219
|
document: new Uint8Array(data),
|
|
@@ -1659,5 +1664,5 @@ function StreamedWordArtifact({
|
|
|
1659
1664
|
}
|
|
1660
1665
|
|
|
1661
1666
|
export { DocxCommentActivity, DocxEditorReview, DocxMentions, DocxParticipants, DocxRibbon, NativeDocxEditor, StreamedWordArtifact, loadDocxFonts, normalizeDocxExport, reviewModule, useReview, useReviewItem };
|
|
1662
|
-
//# sourceMappingURL=chunk-
|
|
1663
|
-
//# sourceMappingURL=chunk-
|
|
1667
|
+
//# sourceMappingURL=chunk-5EBGRG3X.js.map
|
|
1668
|
+
//# sourceMappingURL=chunk-5EBGRG3X.js.map
|