@elytracms/studio 0.0.57 → 0.0.58
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/components/ai/ai-chat-panel.js +44 -6
- package/dist/components/ai/ai-chat-panel.js.map +1 -1
- package/dist/components/ai/chat-ui.d.ts +1 -1
- package/dist/components/ai/chat-ui.js +11 -2
- package/dist/components/ai/chat-ui.js.map +1 -1
- package/dist/components/ai/proposal-card.d.ts +30 -7
- package/dist/components/ai/proposal-card.js +81 -21
- package/dist/components/ai/proposal-card.js.map +1 -1
- package/dist/components/cms/detail-editor.js +12 -0
- package/dist/components/cms/detail-editor.js.map +1 -1
- package/dist/components/cms/document-diff-view.d.ts +12 -1
- package/dist/components/cms/document-diff-view.js +119 -42
- package/dist/components/cms/document-diff-view.js.map +1 -1
- package/dist/components/cms/rich-text-preview.d.ts +15 -0
- package/dist/components/cms/rich-text-preview.js +81 -0
- package/dist/components/cms/rich-text-preview.js.map +1 -0
- package/dist/components/cms/version-compare-text.d.ts +26 -0
- package/dist/components/cms/version-compare-text.js +60 -0
- package/dist/components/cms/version-compare-text.js.map +1 -1
- package/dist/lib/ai/apply-content.js +52 -10
- package/dist/lib/ai/apply-content.js.map +1 -1
- package/dist/lib/ai/chat-context.d.ts +19 -3
- package/dist/lib/ai/chat-context.js +33 -4
- package/dist/lib/ai/chat-context.js.map +1 -1
- package/dist/lib/ai/chat-state.d.ts +6 -3
- package/dist/lib/ai/chat-state.js.map +1 -1
- package/dist/lib/ai/fake-provider.d.ts +60 -5
- package/dist/lib/ai/fake-provider.js +74 -6
- package/dist/lib/ai/fake-provider.js.map +1 -1
- package/dist/lib/ai/index.d.ts +2 -0
- package/dist/lib/ai/index.js +2 -0
- package/dist/lib/ai/index.js.map +1 -1
- package/dist/lib/ai/rich-text-input.d.ts +27 -0
- package/dist/lib/ai/rich-text-input.js +25 -0
- package/dist/lib/ai/rich-text-input.js.map +1 -0
- package/dist/lib/ai/shape.d.ts +12 -1
- package/dist/lib/ai/shape.js +46 -20
- package/dist/lib/ai/shape.js.map +1 -1
- package/dist/lib/ai/tools.d.ts +88 -13
- package/dist/lib/ai/tools.js +253 -14
- package/dist/lib/ai/tools.js.map +1 -1
- package/dist/lib/ai/types.d.ts +20 -0
- package/dist/lib/ai/types.js.map +1 -1
- package/dist/lib/ai/update-fields.d.ts +68 -0
- package/dist/lib/ai/update-fields.js +296 -0
- package/dist/lib/ai/update-fields.js.map +1 -0
- package/dist/lib/ai-current-document.d.ts +53 -0
- package/dist/lib/ai-current-document.js +54 -0
- package/dist/lib/ai-current-document.js.map +1 -0
- package/dist/lib/cms-views/view-model.d.ts +6 -6
- package/dist/lib/i18n/messages.en.js +10 -1
- package/dist/lib/i18n/messages.en.js.map +1 -1
- package/package.json +2 -2
|
@@ -24,13 +24,13 @@ export declare const filterClauseSchema: z.ZodObject<{
|
|
|
24
24
|
empty: "empty";
|
|
25
25
|
contains: "contains";
|
|
26
26
|
in: "in";
|
|
27
|
-
endsWith: "endsWith";
|
|
28
|
-
startsWith: "startsWith";
|
|
29
27
|
eq: "eq";
|
|
30
28
|
gt: "gt";
|
|
31
29
|
gte: "gte";
|
|
32
30
|
lt: "lt";
|
|
33
31
|
lte: "lte";
|
|
32
|
+
endsWith: "endsWith";
|
|
33
|
+
startsWith: "startsWith";
|
|
34
34
|
}>;
|
|
35
35
|
value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
36
36
|
}, z.core.$strip>;
|
|
@@ -50,13 +50,13 @@ export declare const tableViewStateSchema: z.ZodObject<{
|
|
|
50
50
|
empty: "empty";
|
|
51
51
|
contains: "contains";
|
|
52
52
|
in: "in";
|
|
53
|
-
endsWith: "endsWith";
|
|
54
|
-
startsWith: "startsWith";
|
|
55
53
|
eq: "eq";
|
|
56
54
|
gt: "gt";
|
|
57
55
|
gte: "gte";
|
|
58
56
|
lt: "lt";
|
|
59
57
|
lte: "lte";
|
|
58
|
+
endsWith: "endsWith";
|
|
59
|
+
startsWith: "startsWith";
|
|
60
60
|
}>;
|
|
61
61
|
value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
62
62
|
}, z.core.$strip>>;
|
|
@@ -206,13 +206,13 @@ export declare const configViewSchema: z.ZodObject<{
|
|
|
206
206
|
empty: "empty";
|
|
207
207
|
contains: "contains";
|
|
208
208
|
in: "in";
|
|
209
|
-
endsWith: "endsWith";
|
|
210
|
-
startsWith: "startsWith";
|
|
211
209
|
eq: "eq";
|
|
212
210
|
gt: "gt";
|
|
213
211
|
gte: "gte";
|
|
214
212
|
lt: "lt";
|
|
215
213
|
lte: "lte";
|
|
214
|
+
endsWith: "endsWith";
|
|
215
|
+
startsWith: "startsWith";
|
|
216
216
|
}>;
|
|
217
217
|
value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
218
218
|
}, z.core.$strip>>>;
|
|
@@ -374,7 +374,6 @@ export const EN_MESSAGES = {
|
|
|
374
374
|
'cms.version.restoreField': msg('Restore {field} from v{version}'),
|
|
375
375
|
'cms.version.restoreFieldLocale': msg('Restore {field} ({locale}) from v{version}'),
|
|
376
376
|
'cms.version.textUnchanged': msg('Text unchanged — formatting or whitespace differs.'),
|
|
377
|
-
'cms.version.contentChanged': msg('Content changed.'),
|
|
378
377
|
'cms.version.restoreBlock': msg('Restore this block from v{version}'),
|
|
379
378
|
'cms.version.nestedContentChanged': msg('Nested content changed.'),
|
|
380
379
|
'cms.version.blockAdded': msg('Block added.'),
|
|
@@ -904,6 +903,9 @@ export const EN_MESSAGES = {
|
|
|
904
903
|
'ai.step.translating': msg('Translating {completed} of {total}…', '{completed}/{total} are numbers.'),
|
|
905
904
|
'ai.step.translatingDoc': msg('Translating the document…'),
|
|
906
905
|
'ai.step.translateNothing': msg('Nothing to translate — every language is already filled.'),
|
|
906
|
+
// EC-378 — the updateFields edit flow
|
|
907
|
+
'ai.step.updatingDoc': msg('Proposing changes to the document…'),
|
|
908
|
+
'ai.step.updateNoChange': msg('No changes needed — the values already match.'),
|
|
907
909
|
'ai.proposal.title': msg('Proposed {collection}'),
|
|
908
910
|
'ai.proposal.reviewHint': msg('Review the draft, then apply it or discard it.'),
|
|
909
911
|
'ai.proposal.apply': msg('Apply as draft'),
|
|
@@ -916,6 +918,9 @@ export const EN_MESSAGES = {
|
|
|
916
918
|
'ai.proposal.diffBefore': msg('Empty'),
|
|
917
919
|
'ai.proposal.diffAfter': msg('Proposed'),
|
|
918
920
|
'ai.proposal.diffUnified': msg('Proposed content'),
|
|
921
|
+
// EC-382 — the expandable review surface (a roomy full-height sheet).
|
|
922
|
+
'ai.proposal.expandReview': msg('Expand review'),
|
|
923
|
+
'ai.proposal.collapseReview': msg('Close review'),
|
|
919
924
|
'ai.error.route': msg('The assistant is unavailable right now. Please try again.'),
|
|
920
925
|
'ai.error.generic': msg('Something went wrong. Please try again.'),
|
|
921
926
|
'ai.error.applyFailed': msg('The draft could not be applied.'),
|
|
@@ -942,5 +947,9 @@ export const EN_MESSAGES = {
|
|
|
942
947
|
'ai.translate.proposalTitle': msg('Translation of {collection}'),
|
|
943
948
|
'ai.translate.diffBefore': msg('Current'),
|
|
944
949
|
'ai.translate.diffAfter': msg('Translated'),
|
|
950
|
+
// EC-378 — the update (edit-existing) proposal
|
|
951
|
+
'ai.update.proposalTitle': msg('Changes to {collection}'),
|
|
952
|
+
'ai.update.diffBefore': msg('Current'),
|
|
953
|
+
'ai.update.diffAfter': msg('Proposed'),
|
|
945
954
|
};
|
|
946
955
|
//# sourceMappingURL=messages.en.js.map
|