@widgetic/editor 4.1.4 → 4.1.6

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/LICENSE ADDED
@@ -0,0 +1,122 @@
1
+ Widgetic Integration License
2
+ Version 1.0
3
+
4
+ Copyright (c) Widgetic. All rights reserved.
5
+
6
+ This license covers the software package that it came with, in source and
7
+ compiled form, together with its documentation (the "Software"). By
8
+ installing, copying or using the Software you accept this license. If you do
9
+ not accept it, do not install or use the Software.
10
+
11
+ In this license, "Widgetic" is the company that publishes the Software, "you"
12
+ is the person or organization that uses it, and "Your Application" is an
13
+ application, website, product or service that you build or operate, for
14
+ yourself or for a client. "Widgetic Services" are the services that Widgetic
15
+ operates: the Widgetic API, widgets, compositions, embeds, editors, file
16
+ browser, chat and AI creator, and the other services that can be reached from
17
+ widgetic.com or its API hosts.
18
+
19
+ 1. What you may do
20
+
21
+ Widgetic grants you a worldwide, non-exclusive, non-transferable and
22
+ non-sublicensable license to use the Software, unmodified, for one purpose: to
23
+ integrate the Widgetic Services into Your Application. Within that purpose you
24
+ may:
25
+
26
+ (a) install the Software and run it in Your Application, in development,
27
+ testing and production;
28
+
29
+ (b) use it to call the Widgetic API, to show Widgetic widgets and
30
+ compositions, and to open Widgetic's editors, file browser, chat and AI
31
+ creator inside Your Application;
32
+
33
+ (c) bundle, minify and tree-shake the Software with the build tools of Your
34
+ Application, deliver the result to the people who use Your Application as a
35
+ part of it, and let them run it there;
36
+
37
+ (d) keep the copies of the Software that (a), (b) and (c) need, including
38
+ copies in your version control, your build systems and your backups.
39
+
40
+ 2. What you may not do
41
+
42
+ You may not, and may not allow anyone else to:
43
+
44
+ (a) use the Software for any purpose other than the one in section 1;
45
+
46
+ (b) use the Software to build, run or improve a service that offers what the
47
+ Widgetic Services offer, or to connect Your Application to anything other than
48
+ the Widgetic Services (a proxy of yours that forwards calls to the Widgetic
49
+ Services is fine);
50
+
51
+ (c) copy, modify, translate, adapt or make derivative works of the Software,
52
+ except as section 1(c) allows;
53
+
54
+ (d) publish, sell, rent, lease, sublicense or distribute the Software on its
55
+ own, or inside a library, SDK, template or product that others could use for
56
+ anything other than integrating the Widgetic Services, including by
57
+ publishing it, or a copy of it, to a package registry or a public CDN;
58
+
59
+ (e) reverse engineer, decompile or disassemble the Software, or try to get at
60
+ its source code, except as far as the law lets you despite this restriction;
61
+
62
+ (f) remove or change a copyright, license or attribution notice in the
63
+ Software;
64
+
65
+ (g) bypass, disable or interfere with the authentication, rate limits, quotas,
66
+ credits, plan limits or other protections of the Widgetic Services, or help
67
+ anyone else to;
68
+
69
+ (h) use the name, logo or trademarks of Widgetic, except to say truthfully
70
+ that Your Application integrates Widgetic.
71
+
72
+ 3. The Widgetic Services are separate
73
+
74
+ This license is for the Software only. It does not give you the right to use
75
+ the Widgetic Services. That right comes from your account or agreement with
76
+ Widgetic and from Widgetic's Terms of Service (https://widgetic.com/terms),
77
+ which this license does not change.
78
+
79
+ 4. Ownership
80
+
81
+ The Software is licensed to you, not sold. Widgetic and its licensors keep all
82
+ rights in it. Any right that this license does not give you in plain words is
83
+ reserved to Widgetic.
84
+
85
+ 5. Third-party software
86
+
87
+ The Software may include or depend on software from others. That software is
88
+ under its own license, which applies to it instead of this one, and nothing in
89
+ this license limits your rights under it.
90
+
91
+ 6. How long it lasts
92
+
93
+ This license lasts while you follow it and while you are entitled to use the
94
+ Widgetic Services. It ends on its own if you break it or that entitlement
95
+ ends. When it ends, you stop using the Software and delete your copies of it,
96
+ except copies that the law requires you to keep. Sections 4, 8 and 9 still
97
+ apply after it has ended.
98
+
99
+ 7. Versions
100
+
101
+ This license applies to the version of the Software that it came with and to
102
+ later versions that carry it. A version that Widgetic published under another
103
+ license stays under that license, for the copies of it that you already have.
104
+
105
+ 8. No warranty
106
+
107
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
108
+ IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
109
+ PURPOSE AND NON-INFRINGEMENT.
110
+
111
+ 9. Limit of liability
112
+
113
+ TO THE EXTENT THE LAW ALLOWS, WIDGETIC IS NOT LIABLE FOR ANY INDIRECT,
114
+ INCIDENTAL, SPECIAL, CONSEQUENTIAL OR PUNITIVE DAMAGES, OR FOR LOST PROFITS,
115
+ REVENUE, DATA OR GOODWILL, THAT ARISE FROM THE SOFTWARE OR FROM THIS LICENSE,
116
+ EVEN IF IT HAS BEEN TOLD THAT THEY ARE POSSIBLE. NOTHING IN THIS LICENSE
117
+ LIMITS A LIABILITY THAT THE LAW DOES NOT ALLOW TO BE LIMITED.
118
+
119
+ 10. Questions
120
+
121
+ If you need to do something that this license does not allow, ask first:
122
+ support@widgetic.com.
package/README.md CHANGED
@@ -499,4 +499,8 @@ This approach ensures:
499
499
 
500
500
  - Add the new controller to the `Frontend/editor/src/lib/components/ic/index.ts` file.
501
501
  - import the new controller to the `Frontend/editor/src/lib/components/PropsEditor.svelte` file.
502
-
502
+
503
+
504
+ ## License
505
+
506
+ This package is licensed under the Widgetic Integration License (see the `LICENSE` file in the package): you may use it to integrate Widgetic into your own application, and for nothing else. It is not open source. For any other use, write to support@widgetic.com.
@@ -205,7 +205,251 @@ export declare const EDITOR_CATALOGS: {
205
205
  readonly 'editor.textArea.enterUrl': "Enter URL";
206
206
  readonly 'editor.schema.subtitleFont': "Subtitle Font";
207
207
  };
208
- readonly fileBrowser: any;
208
+ readonly fileBrowser: {
209
+ readonly 'action.cancel': "Cancel";
210
+ readonly 'action.confirm': "Confirm";
211
+ readonly 'action.create': "Create";
212
+ readonly 'action.delete': "Delete";
213
+ readonly 'action.done': "Done";
214
+ readonly 'action.download': "Download";
215
+ readonly 'action.move': "Move";
216
+ readonly 'action.rename': "Rename";
217
+ readonly 'action.tryAgain': "Try again";
218
+ readonly 'action.preview': "Preview";
219
+ readonly 'action.play': "Play";
220
+ readonly 'action.pause': "Pause";
221
+ readonly 'action.mute': "Mute";
222
+ readonly 'action.unmute': "Unmute";
223
+ readonly 'action.select': "Select";
224
+ readonly 'action.selected': "Selected";
225
+ readonly 'action.clearItems': "Clear items";
226
+ readonly 'action.addToEditor': "Add to Editor";
227
+ readonly 'list.separator': ", ";
228
+ readonly 'toast.inBackground': "This will happen in the background";
229
+ readonly 'toast.unknownError': "Unknown error occurred";
230
+ readonly 'toast.regionLabel': "Notifications";
231
+ readonly 'toast.closeLabel': "Close notification";
232
+ readonly 'search.placeholder': "Search...";
233
+ readonly 'filter.by': "Filter by {type}";
234
+ readonly 'filterName.all': "All";
235
+ readonly 'filterName.image': "Image";
236
+ readonly 'filterName.audio': "Audio";
237
+ readonly 'filterName.video': "Video";
238
+ readonly 'filterName.document': "Document";
239
+ readonly 'filterName.font': "Font";
240
+ readonly 'filterName.svg': "SVG";
241
+ readonly 'filterOption.all': "All";
242
+ readonly 'filterOption.image': "Images";
243
+ readonly 'filterOption.video': "Videos";
244
+ readonly 'filterOption.document': "Documents";
245
+ readonly 'filterOption.audio': "Audio";
246
+ readonly 'filterOption.font': "Fonts";
247
+ readonly 'filterOption.svg': "SVG";
248
+ readonly 'sort.name': "Name";
249
+ readonly 'sort.date': "Date";
250
+ readonly 'sort.size': "Size";
251
+ readonly 'breadcrumbs.back': "Back";
252
+ readonly 'breadcrumbs.forward': "Forward";
253
+ readonly 'breadcrumbs.root': "File browser";
254
+ readonly 'breadcrumbs.label': "breadcrumb";
255
+ readonly 'empty.library': "No files yet!";
256
+ readonly 'empty.libraryFiltered': "No files of this type!";
257
+ readonly 'empty.folder': "No files in this folder!";
258
+ readonly 'library.partialNotice': "Some files could not be loaded.";
259
+ readonly 'library.truncatedNotice': "Only the newest files are shown.";
260
+ readonly 'library.notSetUp': "The media library is not set up correctly.";
261
+ readonly 'library.defaultLabel': "My uploads";
262
+ readonly 'libraryError.loadFailed': "Could not load the files";
263
+ readonly 'libraryError.uploadFailed': "The upload failed";
264
+ readonly 'libraryError.renameFailed': "Could not rename the file";
265
+ readonly 'libraryError.deleteFailed': "Could not delete the file";
266
+ readonly 'libraryError.unreachable': "Could not reach the media library";
267
+ readonly 'libraryError.timeout': "The media library did not answer in time";
268
+ readonly 'libraryError.renameNotAllowed': "This media library does not allow renaming files";
269
+ readonly 'libraryError.deleteNotAllowed': "This media library does not allow deleting files";
270
+ readonly 'libraryError.fileGone': "The file is no longer in the list";
271
+ readonly 'libraryError.repeatedPage': "The media library keeps returning the same files, so the rest was not loaded";
272
+ readonly 'libraryError.accessToken': "Could not get an access token from the page";
273
+ readonly 'libraryError.accessTokenRenew': "Could not get a fresh access token from the page";
274
+ readonly 'libraryError.fileTooLarge': "Files over {limit} MB cannot be uploaded here yet";
275
+ readonly 'libraryError.uploadNotAllowed': "This media library does not accept uploads";
276
+ readonly 'size.bytes': "{size} Bytes";
277
+ readonly 'size.kb': "{size} KB";
278
+ readonly 'size.mb': "{size} MB";
279
+ readonly 'size.gb': "{size} GB";
280
+ readonly 'size.tb': "{size} TB";
281
+ readonly 'fileKind.any': "any";
282
+ readonly 'fileKind.image': "image";
283
+ readonly 'fileKind.video': "video";
284
+ readonly 'fileKind.audio': "audio";
285
+ readonly 'fileKind.document': "document";
286
+ readonly 'fileKind.font': "font";
287
+ readonly 'fileKind.svg': "SVG";
288
+ readonly 'fileTypes.allowed': "Allowed types: {types}";
289
+ readonly 'fileTypes.allowedSvg': "Allowed types: SVG files (.svg)";
290
+ readonly 'fileTypes.allowedDocument': "Allowed types: document files ({types})";
291
+ readonly 'fileTypes.addAll': "Add images ({images}), audio ({audio}), video ({video}), documents ({documents}), fonts ({fonts}) or vector graphics ({svg}).";
292
+ readonly 'fileTypes.fontNaming': "Font naming convention:\nFontFamily-Weight.extension\n\nExample:\nGeistMono-Black.ttf";
293
+ readonly 'upload.uploading': "Uploading...";
294
+ readonly 'upload.foldersNotAllowed': "Folders cannot be uploaded";
295
+ readonly 'upload.invalidType': "Invalid file type. Please use {types} files only.";
296
+ readonly 'upload.dropActive': "Drop to upload {types} files";
297
+ readonly 'upload.button': "Upload {types} files";
298
+ readonly 'upload.dragHint': "or drag and drop {types} files here";
299
+ readonly 'upload.chooseOrDrop': "Upload or drop {types} files here";
300
+ readonly 'upload.chooseOrDropLink': "Upload";
301
+ readonly 'upload.panelTitle': "File Upload Progress";
302
+ readonly 'upload.progress': "{total, plural, other {{done}/# files uploaded}}";
303
+ readonly 'upload.failedCount': "{count} failed";
304
+ readonly 'upload.expandPanel': "Expand panel";
305
+ readonly 'upload.collapsePanel': "Collapse panel";
306
+ readonly 'upload.expandUploader': "Expand uploader";
307
+ readonly 'upload.collapseUploader': "Collapse uploader";
308
+ readonly 'upload.closeUploader': "Close uploader";
309
+ readonly 'upload.cancel': "Cancel upload";
310
+ readonly 'upload.retry': "Retry upload";
311
+ readonly 'upload.retryFailed': "Retry failed uploads?";
312
+ readonly 'upload.clearCompleted': "Clear completed uploads";
313
+ readonly 'upload.completedAlt': "Completed";
314
+ readonly 'upload.networkError': "Network error";
315
+ readonly 'upload.unknownError': "Unknown error";
316
+ readonly 'upload.skippedOne': "Skipped duplicate file: {name}";
317
+ readonly 'upload.skippedMany': "{count, plural, one {Skipped # duplicate file} other {Skipped # duplicate files}}";
318
+ readonly 'upload.time.calculating': "calculating...";
319
+ readonly 'upload.time.lessThanSecond': "less than a second";
320
+ readonly 'upload.time.seconds': "{count, plural, one {# second} other {# seconds}}";
321
+ readonly 'upload.time.minutes': "{count, plural, one {# minute} other {# minutes}}";
322
+ readonly 'upload.timeLeft': "{time} left";
323
+ readonly 'upload.complete': "Upload complete.";
324
+ readonly 'upload.removeFile': "Remove file";
325
+ readonly 'upload.uploadingProgress': "{total, plural, other {Uploading {done}/# files}}";
326
+ readonly 'upload.filesTotal': "{count, plural, one {# file} other {# files}}";
327
+ readonly 'upload.completeCount': "{done}/{total} complete";
328
+ readonly 'dialog.delete.folderTitle': "Delete folder";
329
+ readonly 'dialog.delete.itemsTitle': "Delete items";
330
+ readonly 'dialog.delete.fileTitle': "Delete file";
331
+ readonly 'dialog.delete.folderMessage': "Delete '{name}' and all content inside?";
332
+ readonly 'dialog.delete.itemsMessage': "{count, plural, one {Are you sure you want to delete # item?} other {Are you sure you want to delete # items?}}";
333
+ readonly 'dialog.delete.fileMessage': "Delete '{name}'?";
334
+ readonly 'dialog.newFolder.placeholder': "folder name...";
335
+ readonly 'dialog.newFolder.invalidTitle': "Invalid folder name";
336
+ readonly 'dialog.newFolder.required': "Folder name is required";
337
+ readonly 'dialog.newFolder.invalidCharacters': "Folder name can only contain letters, numbers, and spaces";
338
+ readonly 'dialog.newFolder.tooLong': "Folder name cannot exceed {max} characters";
339
+ readonly 'dialog.rename.filePlaceholder': "file name...";
340
+ readonly 'dialog.rename.folderPlaceholder': "folder name...";
341
+ readonly 'dialog.rename.invalidTitle': "Invalid name";
342
+ readonly 'dialog.rename.enterName': "Please enter a name";
343
+ readonly 'dialog.rename.enterDifferentName': "Please enter a different name";
344
+ readonly 'dialog.rename.enterValidName': "Please enter a valid name";
345
+ readonly 'dialog.rename.tooShort': "Name must be at least 1 character long";
346
+ readonly 'dialog.rename.tooLong': "Name must be {max} characters or less";
347
+ readonly 'dialog.close': "Close modal";
348
+ readonly 'toast.rename.started': "Renaming \"{name}\"...";
349
+ readonly 'toast.rename.done': "Item renamed";
350
+ readonly 'toast.rename.doneDetail': "Successfully renamed \"{oldName}\" to \"{newName}\"";
351
+ readonly 'toast.rename.failed': "Rename failed";
352
+ readonly 'toast.rename.noChange': "No changes were made";
353
+ readonly 'toast.rename.noItem': "No valid item selected";
354
+ readonly 'toast.rename.unknownError': "An unknown error occurred";
355
+ readonly 'toast.delete.started': "{count, plural, one {Deleting \"{name}\"...} other {Deleting # items...}}";
356
+ readonly 'toast.delete.doneFolder': "Deleted folder \"{name}\"";
357
+ readonly 'toast.delete.doneFile': "Deleted \"{name}\"";
358
+ readonly 'toast.delete.doneMany': "{count, plural, one {Deleted # item} other {Deleted # items}}";
359
+ readonly 'toast.delete.doneFolderDetail': "Folder and its contents were deleted successfully";
360
+ readonly 'toast.delete.doneFileDetail': "Item was deleted successfully";
361
+ readonly 'toast.delete.doneManyDetail': "{count, plural, one {# item was deleted successfully} other {# items were deleted successfully}}";
362
+ readonly 'toast.delete.doneNames': "Deleted: {names}";
363
+ readonly 'toast.delete.failedOne': "Failed to delete \"{name}\"";
364
+ readonly 'toast.delete.failedMany': "{count, plural, one {Failed to delete # item} other {Failed to delete # items}}";
365
+ readonly 'toast.delete.failedNames': "Failed to delete: {names}";
366
+ readonly 'toast.delete.failedSome': "Some items could not be deleted";
367
+ readonly 'toast.delete.failedAll': "Failed to delete items";
368
+ readonly 'toast.folder.created': "Folder created";
369
+ readonly 'toast.folder.createdDetail': "Created folder \"{name}\"";
370
+ readonly 'toast.folder.failed': "Failed to create folder";
371
+ readonly 'toast.navigation.failed': "Navigation failed";
372
+ readonly 'toast.navigation.noFolder': "Could not find the target folder location";
373
+ readonly 'toast.navigation.error': "An error occurred while navigating to the target folder";
374
+ readonly 'toast.filesAdded': "Files added";
375
+ readonly 'toast.filesAddedDetail': "{count, plural, one {Added # file to the editor} other {Added # files to the editor}}";
376
+ readonly 'folder.currentLocation': "current location";
377
+ readonly 'folder.open': "Open folder {name}";
378
+ readonly 'folder.empty': "Empty";
379
+ readonly 'folder.itemCount': "{count, plural, one {# item} other {# items}}";
380
+ readonly 'item.previewLabel': "Preview {name}";
381
+ readonly 'item.audioFile': "Audio file";
382
+ readonly 'item.documentFile': "Document file";
383
+ readonly 'item.deleteMissing': "Delete missing file";
384
+ readonly 'item.folder': "Folder";
385
+ readonly 'recent.title': "Recent Files";
386
+ readonly 'recent.empty': "No recent files available!";
387
+ readonly 'newFolder.alt': "New Folder";
388
+ readonly 'newFolder.label': "New folder";
389
+ readonly 'search.noResults': "No results found";
390
+ readonly 'menu.open': "Open menu";
391
+ readonly 'menu.moreOptions': "More options";
392
+ readonly 'toolbar.more': "+{count} more";
393
+ readonly 'toolbar.moveMany': "{count, plural, one {Move # file} other {Move # files}}";
394
+ readonly 'toolbar.deleteMany': "{count, plural, one {Delete # file} other {Delete # files}}";
395
+ readonly 'selectedFiles.title': "Selected files";
396
+ readonly 'selectedFiles.empty': "No files selected";
397
+ readonly 'selectedFiles.count': "{count, plural, one {# file selected} other {# files selected}}";
398
+ readonly 'selectedFiles.confirmMany': "{count, plural, one {Use # file} other {Use # files}}";
399
+ readonly 'searchModal.placeholder': "Search files and folders...";
400
+ readonly 'searchModal.jumpToFolder': "Jump to folder";
401
+ readonly 'searchModal.empty': "No files found";
402
+ readonly 'moveDialog.titleOne': "Move \"{name}\"";
403
+ readonly 'moveDialog.titleMany': "{count, plural, one {Move # item} other {Move # items}}";
404
+ readonly 'moveDialog.rootName': "File browser";
405
+ readonly 'moveDialog.movingTo': "Moving to {name}";
406
+ readonly 'moveDialog.confirmFolder': "Move folder";
407
+ readonly 'moveDialog.confirmItem': "Move to folder";
408
+ readonly 'moveDialog.confirmMany': "{count, plural, one {Move # item} other {Move # items}}";
409
+ readonly 'moveDialog.failedFolder': "Failed to move folder";
410
+ readonly 'moveDialog.failedItems': "Failed to move items";
411
+ readonly 'moveDialog.noTarget': "No target folder selected";
412
+ readonly 'moveDialog.noItems': "No items selected to move";
413
+ readonly 'moveDialog.pickDestination': "Please select a destination folder";
414
+ readonly 'moveDialog.noneMoved': "No items were moved successfully";
415
+ readonly 'moveDialog.partialTitle': "Some items moved";
416
+ readonly 'moveDialog.partialDetail': "{total, plural, other {Moved {moved} out of # items}}";
417
+ readonly 'moveDialog.doneFolder': "Folder moved";
418
+ readonly 'moveDialog.doneOne': "Item moved";
419
+ readonly 'moveDialog.doneMany': "Items moved";
420
+ readonly 'moveDialog.doneFolderDetail': "Moved folder \"{name}\" successfully";
421
+ readonly 'moveDialog.doneItemsDetail': "{count, plural, one {Moved # item successfully} other {Moved # items successfully}}";
422
+ readonly 'preview.audioFailed': "Audio failed to load";
423
+ readonly 'preview.audioUnsupported': "Your browser does not support the audio element.";
424
+ readonly 'preview.videoFailed': "Video failed to load";
425
+ readonly 'preview.videoUnsupported': "Your browser does not support the video tag.";
426
+ readonly 'preview.errorAlt': "Error";
427
+ readonly 'preview.fileNotFound': "File not found";
428
+ readonly 'preview.loading': "Loading...";
429
+ readonly 'preview.textFailed': "Failed to load text file";
430
+ readonly 'preview.textFailedReason': "Failed to load text file: {reason}";
431
+ readonly 'preview.unavailable': "Preview not available for this file type.";
432
+ readonly 'preview.pdfLoading': "Loading PDF...";
433
+ readonly 'preview.pdfFailed': "Failed to load PDF";
434
+ readonly 'preview.pdfPage': "Page {page} of {total}";
435
+ readonly 'preview.pdfPreviousPage': "Previous page";
436
+ readonly 'preview.pdfNextPage': "Next page";
437
+ readonly 'fontPreview.sample': "The quick brown fox jumps over the lazy dog";
438
+ readonly 'fontPreview.sampleShort': "The quick fox";
439
+ readonly 'metadata.title': "File Information";
440
+ readonly 'metadata.name': "Name:";
441
+ readonly 'metadata.type': "Type:";
442
+ readonly 'metadata.size': "Size:";
443
+ readonly 'metadata.modified': "Last Modified:";
444
+ readonly 'metadata.notAvailable': "N/A";
445
+ readonly 'date.fewSecondsAgo': "A few seconds ago";
446
+ readonly 'date.hoursAgo': "{count, plural, one {# hour ago} other {# hours ago}}";
447
+ readonly 'date.daysAgo': "{count, plural, one {# day ago} other {# days ago}}";
448
+ readonly 'date.weeksAgo': "{count, plural, one {# week ago} other {# weeks ago}}";
449
+ readonly 'date.aboutAMonthAgo': "About a month ago";
450
+ readonly 'date.severalMonthsAgo': "Several months ago";
451
+ readonly 'date.overAYearAgo': "Over a year ago";
452
+ };
209
453
  readonly shadEditor: {
210
454
  readonly 'shadEditor.toolbar.undo': "Undo (\u2318Z)";
211
455
  readonly 'shadEditor.toolbar.redo': "Redo (\u2318\u21E7Z)";
@@ -301,7 +545,7 @@ export declare const ALL_EDITOR_MESSAGES: Readonly<Record<string, string>>;
301
545
  * 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
302
546
  * is never given. An empty list means every message will be used. For a test or a build step of the page.
303
547
  */
304
- export declare const checkEditorMessages: (messages: import("@widgetic/design-system/i18n").MessageOverrides) => import("@widgetic/design-system/i18n").MessageProblem[];
548
+ export declare const checkEditorMessages: (messages: import("@widgetic/file-browser").MessageOverrides) => import("@widgetic/file-browser").MessageProblem[];
305
549
  /**
306
550
  * Called by the root component of an editor while it is created, so everything inside it speaks the page's language.
307
551
  * The context belongs to one root component, so two editors on a page can speak two languages.
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@widgetic/editor",
3
- "version": "4.1.4",
3
+ "version": "4.1.6",
4
+ "license": "SEE LICENSE IN LICENSE",
4
5
  "type": "module",
5
6
  "main": "./dist/index.js",
6
7
  "types": "./dist/index.d.ts",
@@ -38,7 +39,7 @@
38
39
  "render-build": "bash render-build.sh",
39
40
  "build": "npm run sync-embed-schema && NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 vite build",
40
41
  "package": "svelte-package",
41
- "publish-to-npm": "npm version patch --no-git-tag-version && npm run package && npm publish --ignore-scripts --access public",
42
+ "publish-to-npm": "node ../dev-tools/bin/publish-package.mjs",
42
43
  "package:watch": "svelte-package --watch",
43
44
  "preview": "vite preview",
44
45
  "deploy": "vite build && vite preview --host --port 80",