@widgetic/editor 4.1.13 → 4.1.15
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/PreviewChromeControls.svelte +15 -21
- package/dist/components/WidgetPreview.svelte +136 -105
- package/dist/components/color-select/ColorSelect.svelte +203 -224
- package/dist/components/color-select/constants.d.ts +4 -2
- package/dist/components/color-select/constants.js +4 -2
- package/dist/components/color-select/render.js +10 -9
- package/dist/components/editors/CompositionEditorApp.svelte +55 -40
- package/dist/components/editors/EditLeaseNotice.svelte +44 -33
- package/dist/components/editors/EmbedEditor.svelte +133 -259
- package/dist/components/editors/PropsEditor.svelte +426 -1333
- package/dist/components/editors/props-editor.css +5 -68
- package/dist/components/ic/AngleInputController.svelte +202 -277
- package/dist/components/ic/BrowserInputController.svelte +813 -803
- package/dist/components/ic/CheckboxInputController.svelte +92 -169
- package/dist/components/ic/CheckboxInputController.svelte.d.ts +2 -8
- package/dist/components/ic/ColorPickerInputController.svelte +1589 -1587
- package/dist/components/ic/ColorPickerInputController.svelte.d.ts +3 -3
- package/dist/components/ic/DateFieldInputController.svelte +455 -465
- package/dist/components/ic/DatePickerInputController.svelte +355 -368
- package/dist/components/ic/DatePickerInputController.svelte.d.ts +1 -1
- package/dist/components/ic/DropdownInputController.svelte +130 -200
- package/dist/components/ic/FixedPositionInputController.svelte +255 -276
- package/dist/components/ic/FixedPositionInputController.svelte.d.ts +5 -1
- package/dist/components/ic/FontInputController.svelte +2110 -2231
- package/dist/components/ic/FontInputController.svelte.d.ts +11 -11
- package/dist/components/ic/InputControllerHeader.svelte +141 -147
- package/dist/components/ic/InputControllerRenderer.svelte +5 -1
- package/dist/components/ic/InputControllerRenderer.svelte.d.ts +2 -1
- package/dist/components/ic/InputControllerRow.svelte +74 -0
- package/dist/components/ic/InputControllerRow.svelte.d.ts +14 -0
- package/dist/components/ic/KnowledgeDocumentsInputController.svelte +401 -0
- package/dist/components/ic/KnowledgeDocumentsInputController.svelte.d.ts +11 -0
- package/dist/components/ic/KnowledgeTextForm.svelte +109 -0
- package/dist/components/ic/KnowledgeTextForm.svelte.d.ts +15 -0
- package/dist/components/ic/NumberControls.svelte +303 -269
- package/dist/components/ic/NumberControls.svelte.d.ts +4 -1
- package/dist/components/ic/NumberInputController.svelte +361 -301
- package/dist/components/ic/NumberInputController.svelte.d.ts +2 -0
- package/dist/components/ic/PositionInputController.svelte +253 -176
- package/dist/components/ic/PositionInputController.svelte.d.ts +2 -0
- package/dist/components/ic/RadioGroupInputController.svelte +71 -137
- package/dist/components/ic/RadioGroupInputController.svelte.d.ts +2 -8
- package/dist/components/ic/RangeCalendarInputController.svelte +233 -270
- package/dist/components/ic/RangeCalendarInputController.svelte.d.ts +2 -2
- package/dist/components/ic/RoundedCornersInputController.svelte +412 -435
- package/dist/components/ic/RoundedCornersInputController.svelte.d.ts +2 -0
- package/dist/components/ic/SliderInputController.svelte +263 -332
- package/dist/components/ic/SliderInputController.svelte.d.ts +1 -1
- package/dist/components/ic/SliderRangeInputController.svelte +140 -144
- package/dist/components/ic/SliderRangeInputController.svelte.d.ts +3 -3
- package/dist/components/ic/SwitchInputController.svelte +47 -109
- package/dist/components/ic/TagsInputController.svelte +95 -110
- package/dist/components/ic/TextAreaInputController.svelte +1794 -1935
- package/dist/components/ic/TextAreaPreviewInputController.svelte +436 -438
- package/dist/components/ic/TextAreaPreviewInputController.svelte.d.ts +2 -2
- package/dist/components/ic/TextInputController.svelte +65 -75
- package/dist/components/ic/TextInputController.svelte.d.ts +2 -0
- package/dist/components/ic/TimeInputController.svelte +433 -431
- package/dist/components/ic/VectorInputController.svelte +1833 -1831
- package/dist/components/ic/VectorInputController.svelte.d.ts +10 -10
- package/dist/components/ic/index.d.ts +2 -0
- package/dist/components/ic/index.js +2 -0
- package/dist/components/ic/shared/CategoryTabs.svelte +28 -35
- package/dist/components/ic/shared/ItemGrid.svelte +145 -179
- package/dist/components/ic/shared/RecentItemsSection.svelte +208 -271
- package/dist/components/ic/shared/RecentItemsSection.svelte.d.ts +1 -1
- package/dist/components/ui/arrows/OpacitySliderArrows.svelte +23 -38
- package/dist/components/ui/arrows/OpacitySliderArrows.svelte.d.ts +1 -4
- package/dist/components/ui/calendar-editor-fit/EditorCalendarStyles.svelte +45 -0
- package/dist/components/ui/calendar-editor-fit/EditorCalendarStyles.svelte.d.ts +26 -0
- package/dist/components/ui/checkerboard-background/CheckerboardBackground.svelte +20 -12
- package/dist/components/ui/shadow-picker-host/ShadowPickerHost.svelte +39 -0
- package/dist/components/ui/shadow-picker-host/ShadowPickerHost.svelte.d.ts +10 -0
- package/dist/composition/compositionApi.d.ts +21 -1
- package/dist/composition/compositionApi.js +64 -5
- package/dist/composition/knowledgeDocuments.d.ts +90 -0
- package/dist/composition/knowledgeDocuments.js +94 -0
- package/dist/composition/knowledgeDocumentsPanel.d.ts +152 -0
- package/dist/composition/knowledgeDocumentsPanel.js +443 -0
- package/dist/i18n/language.d.ts +86 -36
- package/dist/i18n/messages.d.ts +97 -34
- package/dist/i18n/messages.js +104 -34
- package/dist/i18n/translate.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/knowledgeDocumentsContext.d.ts +10 -0
- package/dist/knowledgeDocumentsContext.js +31 -0
- package/dist/utils.d.ts +7 -0
- package/dist/utils.js +26 -2
- package/package.json +4 -4
package/dist/i18n/language.d.ts
CHANGED
|
@@ -52,12 +52,12 @@ export declare const EDITOR_CATALOGS: {
|
|
|
52
52
|
readonly 'editor.presence.readOnly': "Someone is editing. You are looking only.";
|
|
53
53
|
readonly 'editor.presence.readOnlyFree': "Nobody is editing now.";
|
|
54
54
|
readonly 'editor.presence.startEditing': "Start editing";
|
|
55
|
-
readonly 'editor.props.title': "Edit
|
|
55
|
+
readonly 'editor.props.title': "Edit properties";
|
|
56
56
|
readonly 'editor.props.designTab': "Design";
|
|
57
57
|
readonly 'editor.props.contentTab': "Content";
|
|
58
58
|
readonly 'editor.props.contentCard': "Content";
|
|
59
59
|
readonly 'editor.props.save': "Save";
|
|
60
|
-
readonly 'editor.props.saving': "Saving";
|
|
60
|
+
readonly 'editor.props.saving': "Saving…";
|
|
61
61
|
readonly 'editor.props.noConfiguration': "No schema configuration available";
|
|
62
62
|
readonly 'editor.props.noDesignSchema': "No design schema available";
|
|
63
63
|
readonly 'editor.props.noSchemaData': "No schema data available";
|
|
@@ -65,16 +65,14 @@ export declare const EDITOR_CATALOGS: {
|
|
|
65
65
|
readonly 'editor.props.noProperties': "No properties available";
|
|
66
66
|
readonly 'editor.props.addItem': "Add new";
|
|
67
67
|
readonly 'editor.props.deleteItem': "Delete item";
|
|
68
|
-
readonly 'editor.embed.title': "Edit
|
|
69
|
-
readonly 'editor.embed.loading': "Loading
|
|
68
|
+
readonly 'editor.embed.title': "Edit options";
|
|
69
|
+
readonly 'editor.embed.loading': "Loading…";
|
|
70
70
|
readonly 'editor.embed.noCode': "No embed code available";
|
|
71
71
|
readonly 'editor.embed.codeHeader': "Embed code";
|
|
72
72
|
readonly 'editor.embed.headerArea': "Embed code header area";
|
|
73
|
-
readonly 'editor.embed.readMore': "Read more about embedding";
|
|
74
73
|
readonly 'editor.embed.copy': "Copy to clipboard";
|
|
75
74
|
readonly 'editor.embed.copied': "Copied to clipboard";
|
|
76
75
|
readonly 'editor.embed.copiedHint': "Paste it anywhere on your site.";
|
|
77
|
-
readonly 'editor.embed.copiedDone': "Content copied successfully.";
|
|
78
76
|
readonly 'editor.embed.copyFailed': "Copy failed";
|
|
79
77
|
readonly 'editor.embed.copyFailedHint': "Please try manual selection";
|
|
80
78
|
readonly 'editor.preview.title': "Preview";
|
|
@@ -90,28 +88,28 @@ export declare const EDITOR_CATALOGS: {
|
|
|
90
88
|
readonly 'editor.preview.mobileViewport': "Mobile viewport";
|
|
91
89
|
readonly 'editor.preview.desktopViewport': "Desktop viewport (full window)";
|
|
92
90
|
readonly 'editor.preview.openInNewTab': "Open in new tab";
|
|
93
|
-
readonly 'editor.preview.newTab': "
|
|
91
|
+
readonly 'editor.preview.newTab': "New tab";
|
|
94
92
|
readonly 'editor.preview.selectWidget': "Select a widget to preview";
|
|
95
93
|
readonly 'editor.preview.widgetName': "Widget";
|
|
96
94
|
readonly 'editor.preview.notPublished': "Not published yet";
|
|
97
95
|
readonly 'editor.preview.publishToPreview': "Publish the widget in Widget Creator to preview it here.";
|
|
98
96
|
readonly 'editor.preview.frameTitle': "Widget preview";
|
|
99
97
|
readonly 'editor.preview.frameTitleNamed': "Widget preview – {name}";
|
|
100
|
-
readonly 'editor.preview.unavailable': "Preview
|
|
98
|
+
readonly 'editor.preview.unavailable': "Preview unavailable";
|
|
101
99
|
readonly 'editor.preview.loadFailedPreview': "Failed to load widget preview.";
|
|
102
100
|
readonly 'editor.preview.retry': "Retry";
|
|
103
|
-
readonly 'editor.preview.retryBuild': "Retry
|
|
104
|
-
readonly 'editor.preview.retryPreview': "Retry
|
|
105
|
-
readonly 'editor.preview.fixErrors': "Fix
|
|
106
|
-
readonly 'editor.preview.viewErrors': "View
|
|
101
|
+
readonly 'editor.preview.retryBuild': "Retry build";
|
|
102
|
+
readonly 'editor.preview.retryPreview': "Retry preview";
|
|
103
|
+
readonly 'editor.preview.fixErrors': "Fix errors";
|
|
104
|
+
readonly 'editor.preview.viewErrors': "View errors";
|
|
107
105
|
readonly 'editor.preview.runtimeError': "Widget runtime error";
|
|
108
|
-
readonly 'editor.preview.compilationErrors': "Code
|
|
106
|
+
readonly 'editor.preview.compilationErrors': "Code has compilation errors";
|
|
109
107
|
readonly 'editor.preview.compilationErrorsDetail': "The generated code has syntax or compilation errors (HTTP {status}).";
|
|
110
|
-
readonly 'editor.preview.noCodeYet': "No
|
|
111
|
-
readonly 'editor.preview.noPreview': "No
|
|
112
|
-
readonly 'editor.preview.building': "Building
|
|
108
|
+
readonly 'editor.preview.noCodeYet': "No code generated yet";
|
|
109
|
+
readonly 'editor.preview.noPreview': "No preview available";
|
|
110
|
+
readonly 'editor.preview.building': "Building preview…";
|
|
113
111
|
readonly 'editor.preview.loadingWidget': "Loading widget…";
|
|
114
|
-
readonly 'editor.preview.loadingPreview': "Loading
|
|
112
|
+
readonly 'editor.preview.loadingPreview': "Loading preview…";
|
|
115
113
|
readonly 'editor.preview.checkingWidget': "Checking widget on Worker…";
|
|
116
114
|
readonly 'editor.preview.applyingSettings': "Applying composition settings…";
|
|
117
115
|
readonly 'editor.preview.connecting': "Connecting to the widget preview…";
|
|
@@ -119,7 +117,7 @@ export declare const EDITOR_CATALOGS: {
|
|
|
119
117
|
readonly 'editor.list.recentlyUsed': "Recently used";
|
|
120
118
|
readonly 'editor.list.more': "More";
|
|
121
119
|
readonly 'editor.list.searchResults': "Search results";
|
|
122
|
-
readonly 'editor.list.loadingMore': "Loading more items
|
|
120
|
+
readonly 'editor.list.loadingMore': "Loading more items…";
|
|
123
121
|
readonly 'editor.list.deleteItem': "Delete";
|
|
124
122
|
readonly 'editor.category.all': "All";
|
|
125
123
|
readonly 'editor.category.mine': "Mine";
|
|
@@ -130,15 +128,15 @@ export declare const EDITOR_CATALOGS: {
|
|
|
130
128
|
readonly 'editor.category.icons': "Icons";
|
|
131
129
|
readonly 'editor.category.emojis': "Emojis";
|
|
132
130
|
readonly 'editor.category.clipart': "Clipart";
|
|
133
|
-
readonly 'editor.font.select': "Select font
|
|
131
|
+
readonly 'editor.font.select': "Select font…";
|
|
134
132
|
readonly 'editor.font.title': "Fonts";
|
|
135
|
-
readonly 'editor.font.search': "Search
|
|
133
|
+
readonly 'editor.font.search': "Search…";
|
|
136
134
|
readonly 'editor.font.list': "Font list";
|
|
137
135
|
readonly 'editor.font.loading': "Loading fonts";
|
|
138
136
|
readonly 'editor.font.noneFound': "No fonts found";
|
|
139
137
|
readonly 'editor.font.noneAvailable': "No fonts available";
|
|
140
138
|
readonly 'editor.font.remove': "Remove font";
|
|
141
|
-
readonly 'editor.font.weight': "Font
|
|
139
|
+
readonly 'editor.font.weight': "Font weight";
|
|
142
140
|
readonly 'editor.font.weightList': "Font weights";
|
|
143
141
|
readonly 'editor.fontWeight.withItalic': "{weight} Italic";
|
|
144
142
|
readonly 'editor.fontWeight.italic': "Italic";
|
|
@@ -151,9 +149,9 @@ export declare const EDITOR_CATALOGS: {
|
|
|
151
149
|
readonly 'editor.fontWeight.bold': "Bold";
|
|
152
150
|
readonly 'editor.fontWeight.extraBold': "ExtraBold";
|
|
153
151
|
readonly 'editor.fontWeight.black': "Black";
|
|
154
|
-
readonly 'editor.vector.select': "
|
|
152
|
+
readonly 'editor.vector.select': "Choose a vector…";
|
|
155
153
|
readonly 'editor.vector.title': "Vectors";
|
|
156
|
-
readonly 'editor.vector.search': "Search
|
|
154
|
+
readonly 'editor.vector.search': "Search…";
|
|
157
155
|
readonly 'editor.vector.list': "Vector list";
|
|
158
156
|
readonly 'editor.vector.noneFound': "No vectors found";
|
|
159
157
|
readonly 'editor.vector.noneAvailable': "No vectors available";
|
|
@@ -162,11 +160,11 @@ export declare const EDITOR_CATALOGS: {
|
|
|
162
160
|
readonly 'editor.file.useVideo': "Use video";
|
|
163
161
|
readonly 'editor.file.useAudio': "Use audio";
|
|
164
162
|
readonly 'editor.file.useDocument': "Use document";
|
|
165
|
-
readonly 'editor.file.addFile': "Add file
|
|
166
|
-
readonly 'editor.file.addImage': "Add image
|
|
167
|
-
readonly 'editor.file.addVideo': "Add video
|
|
168
|
-
readonly 'editor.file.addAudio': "Add audio
|
|
169
|
-
readonly 'editor.file.addDocument': "Add docs
|
|
163
|
+
readonly 'editor.file.addFile': "Add file…";
|
|
164
|
+
readonly 'editor.file.addImage': "Add image…";
|
|
165
|
+
readonly 'editor.file.addVideo': "Add video…";
|
|
166
|
+
readonly 'editor.file.addAudio': "Add audio…";
|
|
167
|
+
readonly 'editor.file.addDocument': "Add docs…";
|
|
170
168
|
readonly 'editor.file.play': "Play";
|
|
171
169
|
readonly 'editor.file.pause': "Pause";
|
|
172
170
|
readonly 'editor.file.notFound': "File not found";
|
|
@@ -192,12 +190,53 @@ export declare const EDITOR_CATALOGS: {
|
|
|
192
190
|
readonly 'editor.dateField.dayLabel': "Day input";
|
|
193
191
|
readonly 'editor.dateField.monthLabel': "Month input";
|
|
194
192
|
readonly 'editor.dateField.yearLabel': "Year input";
|
|
193
|
+
readonly 'editor.knowledge.loading': "Loading documents…";
|
|
194
|
+
readonly 'editor.knowledge.unavailable': "Documents can be added when you edit a composition made with this widget.";
|
|
195
|
+
readonly 'editor.knowledge.retry': "Try again";
|
|
196
|
+
readonly 'editor.knowledge.empty': "No documents yet. The AI can only answer from the documents you add.";
|
|
197
|
+
readonly 'editor.knowledge.listLabel': "Documents";
|
|
198
|
+
readonly 'editor.knowledge.characters': "{count, plural, one {# character} other {# characters}}";
|
|
199
|
+
readonly 'editor.knowledge.processing': "Reading the document…";
|
|
200
|
+
readonly 'editor.knowledge.removeLabel': "Remove {title}";
|
|
201
|
+
readonly 'editor.knowledge.removeConfirm': "Remove";
|
|
202
|
+
readonly 'editor.knowledge.keep': "Keep";
|
|
203
|
+
readonly 'editor.knowledge.removing': "Removing…";
|
|
204
|
+
readonly 'editor.knowledge.sending': "Reading {name}…";
|
|
205
|
+
readonly 'editor.knowledge.sendingOf': "Reading {name} ({position} of {count})…";
|
|
206
|
+
readonly 'editor.knowledge.addFiles': "Add files…";
|
|
207
|
+
readonly 'editor.knowledge.dropHint': "or drop them here";
|
|
208
|
+
readonly 'editor.knowledge.addText': "Paste text…";
|
|
209
|
+
readonly 'editor.knowledge.documentsUsed': "Documents: {documents} of {maxDocuments}";
|
|
210
|
+
readonly 'editor.knowledge.textUsed': "Text: {characters} of {maxCharacters} characters";
|
|
211
|
+
readonly 'editor.knowledge.titleLabel': "Title";
|
|
212
|
+
readonly 'editor.knowledge.titlePlaceholder': "For example: Shipping policy";
|
|
213
|
+
readonly 'editor.knowledge.textLabel': "Text";
|
|
214
|
+
readonly 'editor.knowledge.textPlaceholder': "Paste the text the answers should be written from";
|
|
215
|
+
readonly 'editor.knowledge.addDocument': "Add document";
|
|
216
|
+
readonly 'editor.knowledge.cancel': "Cancel";
|
|
217
|
+
readonly 'editor.knowledge.dismiss': "Dismiss";
|
|
218
|
+
readonly 'editor.knowledgeError.titleRequired': "Give the document a title.";
|
|
219
|
+
readonly 'editor.knowledgeError.titleTooLong': "Titles can be up to {max} characters.";
|
|
220
|
+
readonly 'editor.knowledgeError.textRequired': "Paste some text first.";
|
|
221
|
+
readonly 'editor.knowledgeError.textTooLong': "This text is too long for one document. Split it into several documents.";
|
|
222
|
+
readonly 'editor.knowledgeError.fileRequired': "Choose a file first.";
|
|
223
|
+
readonly 'editor.knowledgeError.fileTooLarge': "{name} is too large. Try a smaller file, or split it into several.";
|
|
224
|
+
readonly 'editor.knowledgeError.fileTypeUnsupported': "{name} is not a kind of file that can be added. PDF files are not read yet: use a text, Markdown or CSV file, a picture of the page, or paste the text.";
|
|
225
|
+
readonly 'editor.knowledgeError.fileUnreadable': "{name} could not be read. It may be damaged or protected with a password.";
|
|
226
|
+
readonly 'editor.knowledgeError.fileNoText': "{name} has no text that can be read. If it is a scan, add its pages as pictures.";
|
|
227
|
+
readonly 'editor.knowledgeError.duplicate': "The text of {name} is already in the knowledge base.";
|
|
228
|
+
readonly 'editor.knowledgeError.limitDocuments': "The knowledge base is full. Remove a document to add another.";
|
|
229
|
+
readonly 'editor.knowledgeError.limitText': "There is not enough room left for this much text. Remove a document, or add a shorter one.";
|
|
230
|
+
readonly 'editor.knowledgeError.tryLater': "Documents cannot be added right now. Try again in a moment.";
|
|
231
|
+
readonly 'editor.knowledgeError.tooManyAdds': "Too many documents were added in a short time. Wait a few minutes and try again.";
|
|
232
|
+
readonly 'editor.knowledgeError.connection': "Could not reach Widgetic. Check the connection and try again.";
|
|
233
|
+
readonly 'editor.knowledgeError.generic': "Something went wrong. Try again in a moment.";
|
|
234
|
+
readonly 'editor.knowledgeError.moreProblems': "{count, plural, one {# more file had a problem.} other {# more files had a problem.}}";
|
|
235
|
+
readonly 'editor.knowledgeError.notSent': "{count, plural, one {# file was not sent.} other {# files were not sent.}}";
|
|
195
236
|
readonly 'editor.dropdown.select': "Select an option";
|
|
196
237
|
readonly 'editor.switch.off': "Off";
|
|
197
238
|
readonly 'editor.switch.on': "On";
|
|
198
|
-
readonly 'editor.tags.add': "Add tag
|
|
199
|
-
readonly 'editor.position.x': "X:";
|
|
200
|
-
readonly 'editor.position.y': "Y:";
|
|
239
|
+
readonly 'editor.tags.add': "Add tag…";
|
|
201
240
|
readonly 'editor.fixedPosition.set': "Set position to {position}";
|
|
202
241
|
readonly 'editor.fixedPosition.topLeft': "top-left";
|
|
203
242
|
readonly 'editor.fixedPosition.topCenter': "top-center";
|
|
@@ -225,12 +264,23 @@ export declare const EDITOR_CATALOGS: {
|
|
|
225
264
|
readonly 'editor.textArea.heading1': "H1";
|
|
226
265
|
readonly 'editor.textArea.heading2': "H2";
|
|
227
266
|
readonly 'editor.textArea.heading3': "H3";
|
|
228
|
-
readonly 'editor.textArea.bulletList': "Bullet
|
|
229
|
-
readonly 'editor.textArea.numberedList': "Numbered
|
|
230
|
-
readonly 'editor.textArea.checkList': "Check
|
|
267
|
+
readonly 'editor.textArea.bulletList': "Bullet list";
|
|
268
|
+
readonly 'editor.textArea.numberedList': "Numbered list";
|
|
269
|
+
readonly 'editor.textArea.checkList': "Check list";
|
|
231
270
|
readonly 'editor.textArea.textStyles': "Text styles";
|
|
232
271
|
readonly 'editor.textArea.listStyles': "List styles";
|
|
233
272
|
readonly 'editor.textArea.enterUrl': "Enter URL";
|
|
273
|
+
readonly 'editor.position.readout': "x: {x}%, y: {y}%";
|
|
274
|
+
readonly 'editor.stepper.decrease': "Decrease value";
|
|
275
|
+
readonly 'editor.stepper.increase': "Increase value";
|
|
276
|
+
readonly 'editor.tags.remove': "Remove tag";
|
|
277
|
+
readonly 'editor.list.uploadedByYou': "Uploaded by you";
|
|
278
|
+
readonly 'editor.vector.loadFailed': "Failed to load";
|
|
279
|
+
readonly 'editor.textArea.closePanel': "Minimize rich text editor";
|
|
280
|
+
readonly 'editor.textArea.closeColorMode': "Back to text formatting";
|
|
281
|
+
readonly 'editor.embed.helpPrompt': "Not sure how embedding works?";
|
|
282
|
+
readonly 'editor.embed.learnMore': "Learn more";
|
|
283
|
+
readonly 'editor.embed.helpLinkAria': "Read more about embedding";
|
|
234
284
|
readonly 'editor.schema.subtitleFont': "Subtitle Font";
|
|
235
285
|
};
|
|
236
286
|
readonly fileBrowser: {
|
|
@@ -512,7 +562,7 @@ export declare const EDITOR_CATALOGS: {
|
|
|
512
562
|
readonly 'shadEditor.image.tooltip': "Add Image";
|
|
513
563
|
readonly 'shadEditor.image.title': "Image";
|
|
514
564
|
readonly 'shadEditor.image.urlHint': "Insert image url";
|
|
515
|
-
readonly 'shadEditor.image.urlPlaceholder': "Enter image url
|
|
565
|
+
readonly 'shadEditor.image.urlPlaceholder': "Enter image url\u2026";
|
|
516
566
|
readonly 'shadEditor.image.orPick': "OR Pick an Image";
|
|
517
567
|
readonly 'shadEditor.table.tooltip': "Table";
|
|
518
568
|
readonly 'shadEditor.table.insert': "Insert Table";
|
|
@@ -573,7 +623,7 @@ export declare const ALL_EDITOR_MESSAGES: Readonly<Record<string, string>>;
|
|
|
573
623
|
* the nearest real one), a value that is not text, a template that does not parse, or one that asks for a value the message
|
|
574
624
|
* is never given. An empty list means every message will be used. For a test or a build step of the page.
|
|
575
625
|
*/
|
|
576
|
-
export declare const checkEditorMessages: (messages: import("@widgetic/
|
|
626
|
+
export declare const checkEditorMessages: (messages: import("@widgetic/design-system/i18n").MessageOverrides) => import("@widgetic/design-system/i18n").MessageProblem[];
|
|
577
627
|
/**
|
|
578
628
|
* Called by the root component of an editor while it is created, so everything inside it speaks the page's language.
|
|
579
629
|
* The context belongs to one root component, so two editors on a page can speak two languages.
|
package/dist/i18n/messages.d.ts
CHANGED
|
@@ -92,13 +92,13 @@ export declare const EDITOR_MESSAGES: {
|
|
|
92
92
|
readonly 'editor.presence.readOnlyFree': "Nobody is editing now.";
|
|
93
93
|
/** The button of that bar that begins editing. */
|
|
94
94
|
readonly 'editor.presence.startEditing': "Start editing";
|
|
95
|
-
readonly 'editor.props.title': "Edit
|
|
95
|
+
readonly 'editor.props.title': "Edit properties";
|
|
96
96
|
readonly 'editor.props.designTab': "Design";
|
|
97
97
|
readonly 'editor.props.contentTab': "Content";
|
|
98
98
|
/** The title of the card of settings that belong to no item, when the widget gave it none. */
|
|
99
99
|
readonly 'editor.props.contentCard': "Content";
|
|
100
100
|
readonly 'editor.props.save': "Save";
|
|
101
|
-
readonly 'editor.props.saving': "Saving";
|
|
101
|
+
readonly 'editor.props.saving': "Saving…";
|
|
102
102
|
readonly 'editor.props.noConfiguration': "No schema configuration available";
|
|
103
103
|
readonly 'editor.props.noDesignSchema': "No design schema available";
|
|
104
104
|
readonly 'editor.props.noSchemaData': "No schema data available";
|
|
@@ -106,17 +106,15 @@ export declare const EDITOR_MESSAGES: {
|
|
|
106
106
|
readonly 'editor.props.noProperties': "No properties available";
|
|
107
107
|
readonly 'editor.props.addItem': "Add new";
|
|
108
108
|
readonly 'editor.props.deleteItem': "Delete item";
|
|
109
|
-
readonly 'editor.embed.title': "Edit
|
|
110
|
-
readonly 'editor.embed.loading': "Loading
|
|
109
|
+
readonly 'editor.embed.title': "Edit options";
|
|
110
|
+
readonly 'editor.embed.loading': "Loading…";
|
|
111
111
|
readonly 'editor.embed.noCode': "No embed code available";
|
|
112
112
|
readonly 'editor.embed.codeHeader': "Embed code";
|
|
113
113
|
readonly 'editor.embed.headerArea': "Embed code header area";
|
|
114
|
-
readonly 'editor.embed.readMore': "Read more about embedding";
|
|
115
114
|
readonly 'editor.embed.copy': "Copy to clipboard";
|
|
116
115
|
/** The pop-ups after a copy: the title of the one that worked is the same for the editor's pop-up and the header's. */
|
|
117
116
|
readonly 'editor.embed.copied': "Copied to clipboard";
|
|
118
117
|
readonly 'editor.embed.copiedHint': "Paste it anywhere on your site.";
|
|
119
|
-
readonly 'editor.embed.copiedDone': "Content copied successfully.";
|
|
120
118
|
readonly 'editor.embed.copyFailed': "Copy failed";
|
|
121
119
|
readonly 'editor.embed.copyFailedHint': "Please try manual selection";
|
|
122
120
|
readonly 'editor.preview.title': "Preview";
|
|
@@ -133,7 +131,7 @@ export declare const EDITOR_MESSAGES: {
|
|
|
133
131
|
readonly 'editor.preview.mobileViewport': "Mobile viewport";
|
|
134
132
|
readonly 'editor.preview.desktopViewport': "Desktop viewport (full window)";
|
|
135
133
|
readonly 'editor.preview.openInNewTab': "Open in new tab";
|
|
136
|
-
readonly 'editor.preview.newTab': "
|
|
134
|
+
readonly 'editor.preview.newTab': "New tab";
|
|
137
135
|
readonly 'editor.preview.selectWidget': "Select a widget to preview";
|
|
138
136
|
/** What the name of a widget is when it has none. */
|
|
139
137
|
readonly 'editor.preview.widgetName': "Widget";
|
|
@@ -141,22 +139,22 @@ export declare const EDITOR_MESSAGES: {
|
|
|
141
139
|
readonly 'editor.preview.publishToPreview': "Publish the widget in Widget Creator to preview it here.";
|
|
142
140
|
readonly 'editor.preview.frameTitle': "Widget preview";
|
|
143
141
|
readonly 'editor.preview.frameTitleNamed': "Widget preview – {name}";
|
|
144
|
-
readonly 'editor.preview.unavailable': "Preview
|
|
142
|
+
readonly 'editor.preview.unavailable': "Preview unavailable";
|
|
145
143
|
readonly 'editor.preview.loadFailedPreview': "Failed to load widget preview.";
|
|
146
144
|
readonly 'editor.preview.retry': "Retry";
|
|
147
|
-
readonly 'editor.preview.retryBuild': "Retry
|
|
148
|
-
readonly 'editor.preview.retryPreview': "Retry
|
|
149
|
-
readonly 'editor.preview.fixErrors': "Fix
|
|
150
|
-
readonly 'editor.preview.viewErrors': "View
|
|
145
|
+
readonly 'editor.preview.retryBuild': "Retry build";
|
|
146
|
+
readonly 'editor.preview.retryPreview': "Retry preview";
|
|
147
|
+
readonly 'editor.preview.fixErrors': "Fix errors";
|
|
148
|
+
readonly 'editor.preview.viewErrors': "View errors";
|
|
151
149
|
readonly 'editor.preview.runtimeError': "Widget runtime error";
|
|
152
|
-
readonly 'editor.preview.compilationErrors': "Code
|
|
150
|
+
readonly 'editor.preview.compilationErrors': "Code has compilation errors";
|
|
153
151
|
/** `{status}` is the HTTP status the preview page answered with. */
|
|
154
152
|
readonly 'editor.preview.compilationErrorsDetail': "The generated code has syntax or compilation errors (HTTP {status}).";
|
|
155
|
-
readonly 'editor.preview.noCodeYet': "No
|
|
156
|
-
readonly 'editor.preview.noPreview': "No
|
|
157
|
-
readonly 'editor.preview.building': "Building
|
|
153
|
+
readonly 'editor.preview.noCodeYet': "No code generated yet";
|
|
154
|
+
readonly 'editor.preview.noPreview': "No preview available";
|
|
155
|
+
readonly 'editor.preview.building': "Building preview…";
|
|
158
156
|
readonly 'editor.preview.loadingWidget': "Loading widget…";
|
|
159
|
-
readonly 'editor.preview.loadingPreview': "Loading
|
|
157
|
+
readonly 'editor.preview.loadingPreview': "Loading preview…";
|
|
160
158
|
readonly 'editor.preview.checkingWidget': "Checking widget on Worker…";
|
|
161
159
|
readonly 'editor.preview.applyingSettings': "Applying composition settings…";
|
|
162
160
|
readonly 'editor.preview.connecting': "Connecting to the widget preview…";
|
|
@@ -164,7 +162,7 @@ export declare const EDITOR_MESSAGES: {
|
|
|
164
162
|
readonly 'editor.list.recentlyUsed': "Recently used";
|
|
165
163
|
readonly 'editor.list.more': "More";
|
|
166
164
|
readonly 'editor.list.searchResults': "Search results";
|
|
167
|
-
readonly 'editor.list.loadingMore': "Loading more items
|
|
165
|
+
readonly 'editor.list.loadingMore': "Loading more items…";
|
|
168
166
|
readonly 'editor.list.deleteItem': "Delete";
|
|
169
167
|
/** The tabs above a list of fonts or vectors. */
|
|
170
168
|
readonly 'editor.category.all': "All";
|
|
@@ -176,15 +174,15 @@ export declare const EDITOR_MESSAGES: {
|
|
|
176
174
|
readonly 'editor.category.icons': "Icons";
|
|
177
175
|
readonly 'editor.category.emojis': "Emojis";
|
|
178
176
|
readonly 'editor.category.clipart': "Clipart";
|
|
179
|
-
readonly 'editor.font.select': "Select font
|
|
177
|
+
readonly 'editor.font.select': "Select font…";
|
|
180
178
|
readonly 'editor.font.title': "Fonts";
|
|
181
|
-
readonly 'editor.font.search': "Search
|
|
179
|
+
readonly 'editor.font.search': "Search…";
|
|
182
180
|
readonly 'editor.font.list': "Font list";
|
|
183
181
|
readonly 'editor.font.loading': "Loading fonts";
|
|
184
182
|
readonly 'editor.font.noneFound': "No fonts found";
|
|
185
183
|
readonly 'editor.font.noneAvailable': "No fonts available";
|
|
186
184
|
readonly 'editor.font.remove': "Remove font";
|
|
187
|
-
readonly 'editor.font.weight': "Font
|
|
185
|
+
readonly 'editor.font.weight': "Font weight";
|
|
188
186
|
/** The name a screen reader gives the list of weights a font has, when its menu is open. */
|
|
189
187
|
readonly 'editor.font.weightList': "Font weights";
|
|
190
188
|
/** The look of a weight that has a name of its own; `{weight}` is one of the names below ("Bold Italic"). */
|
|
@@ -199,9 +197,9 @@ export declare const EDITOR_MESSAGES: {
|
|
|
199
197
|
readonly 'editor.fontWeight.bold': "Bold";
|
|
200
198
|
readonly 'editor.fontWeight.extraBold': "ExtraBold";
|
|
201
199
|
readonly 'editor.fontWeight.black': "Black";
|
|
202
|
-
readonly 'editor.vector.select': "
|
|
200
|
+
readonly 'editor.vector.select': "Choose a vector…";
|
|
203
201
|
readonly 'editor.vector.title': "Vectors";
|
|
204
|
-
readonly 'editor.vector.search': "Search
|
|
202
|
+
readonly 'editor.vector.search': "Search…";
|
|
205
203
|
readonly 'editor.vector.list': "Vector list";
|
|
206
204
|
readonly 'editor.vector.noneFound': "No vectors found";
|
|
207
205
|
readonly 'editor.vector.noneAvailable': "No vectors available";
|
|
@@ -210,11 +208,11 @@ export declare const EDITOR_MESSAGES: {
|
|
|
210
208
|
readonly 'editor.file.useVideo': "Use video";
|
|
211
209
|
readonly 'editor.file.useAudio': "Use audio";
|
|
212
210
|
readonly 'editor.file.useDocument': "Use document";
|
|
213
|
-
readonly 'editor.file.addFile': "Add file
|
|
214
|
-
readonly 'editor.file.addImage': "Add image
|
|
215
|
-
readonly 'editor.file.addVideo': "Add video
|
|
216
|
-
readonly 'editor.file.addAudio': "Add audio
|
|
217
|
-
readonly 'editor.file.addDocument': "Add docs
|
|
211
|
+
readonly 'editor.file.addFile': "Add file…";
|
|
212
|
+
readonly 'editor.file.addImage': "Add image…";
|
|
213
|
+
readonly 'editor.file.addVideo': "Add video…";
|
|
214
|
+
readonly 'editor.file.addAudio': "Add audio…";
|
|
215
|
+
readonly 'editor.file.addDocument': "Add docs…";
|
|
218
216
|
readonly 'editor.file.play': "Play";
|
|
219
217
|
readonly 'editor.file.pause': "Pause";
|
|
220
218
|
readonly 'editor.file.notFound': "File not found";
|
|
@@ -247,13 +245,67 @@ export declare const EDITOR_MESSAGES: {
|
|
|
247
245
|
readonly 'editor.dateField.dayLabel': "Day input";
|
|
248
246
|
readonly 'editor.dateField.monthLabel': "Month input";
|
|
249
247
|
readonly 'editor.dateField.yearLabel': "Year input";
|
|
248
|
+
readonly 'editor.knowledge.loading': "Loading documents…";
|
|
249
|
+
/** Where there is no composition to put documents in (the widget creator): the panel says so instead of staying empty. */
|
|
250
|
+
readonly 'editor.knowledge.unavailable': "Documents can be added when you edit a composition made with this widget.";
|
|
251
|
+
readonly 'editor.knowledge.retry': "Try again";
|
|
252
|
+
readonly 'editor.knowledge.empty': "No documents yet. The AI can only answer from the documents you add.";
|
|
253
|
+
/** The name a screen reader gives the list of documents. */
|
|
254
|
+
readonly 'editor.knowledge.listLabel': "Documents";
|
|
255
|
+
/** Beside a document: how much text it holds. */
|
|
256
|
+
readonly 'editor.knowledge.characters': "{count, plural, one {# character} other {# characters}}";
|
|
257
|
+
/** Beside a document that the AI cannot use yet: its text is still being read. */
|
|
258
|
+
readonly 'editor.knowledge.processing': "Reading the document…";
|
|
259
|
+
/** The name a screen reader gives the button that removes a document; `{title}` is the document's. */
|
|
260
|
+
readonly 'editor.knowledge.removeLabel': "Remove {title}";
|
|
261
|
+
/** The two buttons that replace it after the first press: take the document out, or keep it. */
|
|
262
|
+
readonly 'editor.knowledge.removeConfirm': "Remove";
|
|
263
|
+
readonly 'editor.knowledge.keep': "Keep";
|
|
264
|
+
readonly 'editor.knowledge.removing': "Removing…";
|
|
265
|
+
/** While a file is read: `{name}` is its name, and for several files `{position}` of `{count}` is how far along they are. */
|
|
266
|
+
readonly 'editor.knowledge.sending': "Reading {name}…";
|
|
267
|
+
readonly 'editor.knowledge.sendingOf': "Reading {name} ({position} of {count})…";
|
|
268
|
+
readonly 'editor.knowledge.addFiles': "Add files…";
|
|
269
|
+
/** Beside the button that adds files: files can also be dropped on the panel. */
|
|
270
|
+
readonly 'editor.knowledge.dropHint': "or drop them here";
|
|
271
|
+
readonly 'editor.knowledge.addText': "Paste text…";
|
|
272
|
+
/** How much of the knowledge base is used, in two short lines. */
|
|
273
|
+
readonly 'editor.knowledge.documentsUsed': "Documents: {documents} of {maxDocuments}";
|
|
274
|
+
readonly 'editor.knowledge.textUsed': "Text: {characters} of {maxCharacters} characters";
|
|
275
|
+
/** The form for text that is typed or pasted instead of sent as a file. */
|
|
276
|
+
readonly 'editor.knowledge.titleLabel': "Title";
|
|
277
|
+
readonly 'editor.knowledge.titlePlaceholder': "For example: Shipping policy";
|
|
278
|
+
readonly 'editor.knowledge.textLabel': "Text";
|
|
279
|
+
readonly 'editor.knowledge.textPlaceholder': "Paste the text the answers should be written from";
|
|
280
|
+
readonly 'editor.knowledge.addDocument': "Add document";
|
|
281
|
+
readonly 'editor.knowledge.cancel': "Cancel";
|
|
282
|
+
/** The name a screen reader gives the button that closes the list of problems. */
|
|
283
|
+
readonly 'editor.knowledge.dismiss': "Dismiss";
|
|
284
|
+
/** What went wrong, and what to do about it. `{name}` is the file's name, or the title of the text. */
|
|
285
|
+
readonly 'editor.knowledgeError.titleRequired': "Give the document a title.";
|
|
286
|
+
readonly 'editor.knowledgeError.titleTooLong': "Titles can be up to {max} characters.";
|
|
287
|
+
readonly 'editor.knowledgeError.textRequired': "Paste some text first.";
|
|
288
|
+
readonly 'editor.knowledgeError.textTooLong': "This text is too long for one document. Split it into several documents.";
|
|
289
|
+
readonly 'editor.knowledgeError.fileRequired': "Choose a file first.";
|
|
290
|
+
readonly 'editor.knowledgeError.fileTooLarge': "{name} is too large. Try a smaller file, or split it into several.";
|
|
291
|
+
readonly 'editor.knowledgeError.fileTypeUnsupported': "{name} is not a kind of file that can be added. PDF files are not read yet: use a text, Markdown or CSV file, a picture of the page, or paste the text.";
|
|
292
|
+
readonly 'editor.knowledgeError.fileUnreadable': "{name} could not be read. It may be damaged or protected with a password.";
|
|
293
|
+
readonly 'editor.knowledgeError.fileNoText': "{name} has no text that can be read. If it is a scan, add its pages as pictures.";
|
|
294
|
+
readonly 'editor.knowledgeError.duplicate': "The text of {name} is already in the knowledge base.";
|
|
295
|
+
readonly 'editor.knowledgeError.limitDocuments': "The knowledge base is full. Remove a document to add another.";
|
|
296
|
+
readonly 'editor.knowledgeError.limitText': "There is not enough room left for this much text. Remove a document, or add a shorter one.";
|
|
297
|
+
readonly 'editor.knowledgeError.tryLater': "Documents cannot be added right now. Try again in a moment.";
|
|
298
|
+
readonly 'editor.knowledgeError.tooManyAdds': "Too many documents were added in a short time. Wait a few minutes and try again.";
|
|
299
|
+
readonly 'editor.knowledgeError.connection': "Could not reach Widgetic. Check the connection and try again.";
|
|
300
|
+
readonly 'editor.knowledgeError.generic': "Something went wrong. Try again in a moment.";
|
|
301
|
+
/** After a batch of files: how many more had a problem than are listed, and how many were not even sent. */
|
|
302
|
+
readonly 'editor.knowledgeError.moreProblems': "{count, plural, one {# more file had a problem.} other {# more files had a problem.}}";
|
|
303
|
+
readonly 'editor.knowledgeError.notSent': "{count, plural, one {# file was not sent.} other {# files were not sent.}}";
|
|
250
304
|
readonly 'editor.dropdown.select': "Select an option";
|
|
251
305
|
readonly 'editor.switch.off': "Off";
|
|
252
306
|
readonly 'editor.switch.on': "On";
|
|
253
|
-
readonly 'editor.tags.add': "Add tag
|
|
307
|
+
readonly 'editor.tags.add': "Add tag…";
|
|
254
308
|
/** The two letters beside the position of a point in a picture: how far across, and how far down. */
|
|
255
|
-
readonly 'editor.position.x': "X:";
|
|
256
|
-
readonly 'editor.position.y': "Y:";
|
|
257
309
|
/** The buttons of the nine places on a screen; `{position}` is one of the names below. */
|
|
258
310
|
readonly 'editor.fixedPosition.set': "Set position to {position}";
|
|
259
311
|
readonly 'editor.fixedPosition.topLeft': "top-left";
|
|
@@ -283,15 +335,26 @@ export declare const EDITOR_MESSAGES: {
|
|
|
283
335
|
readonly 'editor.textArea.heading1': "H1";
|
|
284
336
|
readonly 'editor.textArea.heading2': "H2";
|
|
285
337
|
readonly 'editor.textArea.heading3': "H3";
|
|
286
|
-
readonly 'editor.textArea.bulletList': "Bullet
|
|
287
|
-
readonly 'editor.textArea.numberedList': "Numbered
|
|
288
|
-
readonly 'editor.textArea.checkList': "Check
|
|
338
|
+
readonly 'editor.textArea.bulletList': "Bullet list";
|
|
339
|
+
readonly 'editor.textArea.numberedList': "Numbered list";
|
|
340
|
+
readonly 'editor.textArea.checkList': "Check list";
|
|
289
341
|
/** The name a screen reader gives the list of text styles (paragraph, headings) when its menu is open. */
|
|
290
342
|
readonly 'editor.textArea.textStyles': "Text styles";
|
|
291
343
|
/** The name a screen reader gives the list of list styles (bullets, numbers, checks) when its menu is open. */
|
|
292
344
|
readonly 'editor.textArea.listStyles': "List styles";
|
|
293
345
|
/** The question the browser asks when a link is added. */
|
|
294
346
|
readonly 'editor.textArea.enterUrl': "Enter URL";
|
|
347
|
+
readonly 'editor.position.readout': "x: {x}%, y: {y}%";
|
|
348
|
+
readonly 'editor.stepper.decrease': "Decrease value";
|
|
349
|
+
readonly 'editor.stepper.increase': "Increase value";
|
|
350
|
+
readonly 'editor.tags.remove': "Remove tag";
|
|
351
|
+
readonly 'editor.list.uploadedByYou': "Uploaded by you";
|
|
352
|
+
readonly 'editor.vector.loadFailed': "Failed to load";
|
|
353
|
+
readonly 'editor.textArea.closePanel': "Minimize rich text editor";
|
|
354
|
+
readonly 'editor.textArea.closeColorMode': "Back to text formatting";
|
|
355
|
+
readonly 'editor.embed.helpPrompt': "Not sure how embedding works?";
|
|
356
|
+
readonly 'editor.embed.learnMore': "Learn more";
|
|
357
|
+
readonly 'editor.embed.helpLinkAria': "Read more about embedding";
|
|
295
358
|
readonly 'editor.schema.subtitleFont': "Subtitle Font";
|
|
296
359
|
};
|
|
297
360
|
/** The name of one message. */
|