@widgetic/creator 0.4.35 → 0.4.37
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/CreatorApp.svelte +222 -44
- package/dist/components/BrandKitPanel.svelte +585 -0
- package/dist/components/BrandKitPanel.svelte.d.ts +34 -0
- package/dist/components/FileUrlSourceControl.svelte.d.ts +1 -1
- package/dist/components/VersionDropdownRow.svelte +1 -19
- package/dist/components/WidgetDetails.svelte +5 -2
- package/dist/components/WidgetDetails.svelte.d.ts +1 -1
- package/dist/components/WidgetElementSelector.svelte +149 -33
- package/dist/components/WidgetElementSelector.svelte.d.ts +1 -0
- package/dist/components/WidgetShapeLivePreviews.svelte +9 -2
- package/dist/components/WidgetShapeLivePreviews.svelte.d.ts +4 -0
- package/dist/generation/brandKitForRequest.d.ts +17 -0
- package/dist/generation/brandKitForRequest.js +18 -1
- package/dist/i18n/language.d.ts +171 -5
- package/dist/i18n/messages.d.ts +27 -1
- package/dist/i18n/messages.js +27 -1
- package/dist/i18n/statusText.js +4 -0
- package/dist/pageHelpers.d.ts +2 -0
- package/dist/pageHelpers.js +10 -0
- package/dist/stores/websocketStore.d.ts +9 -0
- package/dist/stores/websocketStore.js +20 -0
- package/dist/utils/generationSharing.d.ts +1 -1
- package/dist/utils/generationSharing.js +1 -1
- package/dist/utils/widgetElementSelector.d.ts +6 -0
- package/dist/utils/widgetElementSelector.js +23 -0
- package/package.json +3 -3
- package/dist/components/GenerationOptionsPanel.svelte +0 -216
- package/dist/components/GenerationOptionsPanel.svelte.d.ts +0 -21
package/dist/i18n/language.d.ts
CHANGED
|
@@ -19,7 +19,6 @@ export declare const CREATOR_CATALOGS: {
|
|
|
19
19
|
readonly 'creator.common.publish': "Publish";
|
|
20
20
|
readonly 'creator.common.switchVersion': "Switch version";
|
|
21
21
|
readonly 'creator.common.live': "Live";
|
|
22
|
-
readonly 'creator.common.buildThisDraftVersionAnd': "Build this draft version and make it the Live version";
|
|
23
22
|
readonly 'creator.common.setLive': "Set live";
|
|
24
23
|
readonly 'creator.common.retry': "Retry";
|
|
25
24
|
readonly 'creator.common.delete': "Delete";
|
|
@@ -125,6 +124,7 @@ export declare const CREATOR_CATALOGS: {
|
|
|
125
124
|
readonly 'creator.widget.widgetDuplicated': "Widget duplicated";
|
|
126
125
|
readonly 'creator.widget.widgetKeptInDatabase2': "Widget \"{name}\" kept in database";
|
|
127
126
|
readonly 'creator.widget.youCanKeepEditingWidgets': "You can keep editing widgets. Retry load if shapes are missing.";
|
|
127
|
+
readonly 'creator.widget.oneWidgetAlready': "This canvas already has a widget. Turn Advanced on to add another.";
|
|
128
128
|
readonly 'creator.widget.widgetDraftCreated': "Widget draft created";
|
|
129
129
|
readonly 'creator.widget.failedToPrepareWidgetDraft': "Failed to prepare widget draft";
|
|
130
130
|
readonly 'creator.widget.failedToCreateWidgetFrom': "Failed to create widget from design";
|
|
@@ -281,6 +281,8 @@ export declare const CREATOR_CATALOGS: {
|
|
|
281
281
|
readonly 'creator.version.restoreCompletedWithWarnings': "Restore completed with warnings";
|
|
282
282
|
readonly 'creator.version.failedToRestoreCheckpoint': "Failed to restore checkpoint";
|
|
283
283
|
readonly 'creator.version.restoreRefusedWhileGenerating': "Nothing was restored because a generation is running in this widget. Try again when it has finished.";
|
|
284
|
+
readonly 'creator.version.restoreAlreadyRunning': "A restore is already running for this widget. Wait for it to finish.";
|
|
285
|
+
readonly 'creator.version.codeWasNotRolledBack': "The code was not put back, so the chat was left as it was.";
|
|
284
286
|
readonly 'creator.version.restoreRefusedNewerCode': "Nothing was restored because newer code was saved after this checkpoint was shown. Check the version list, then restore again if you still want this checkpoint.";
|
|
285
287
|
readonly 'creator.version.restoreRefusedLatestCodeUnknown': "Nothing was restored because the latest code could not be checked. Try again in a moment.";
|
|
286
288
|
readonly 'creator.version.versionIsNowLive': "Version {version} is now live.";
|
|
@@ -383,6 +385,8 @@ export declare const CREATOR_CATALOGS: {
|
|
|
383
385
|
readonly 'creator.status.rateLimited': "Rate limited — too many requests. Wait ~30s and retry.";
|
|
384
386
|
readonly 'creator.status.failedWithReason': "Code generation failed: {reason}";
|
|
385
387
|
readonly 'creator.status.reconnected': "Reconnected — code generation in progress... {progress}%";
|
|
388
|
+
readonly 'creator.status.versionSaved': "Version saved";
|
|
389
|
+
readonly 'creator.status.versionNumberSaved': "Version {version} saved";
|
|
386
390
|
readonly 'creator.conversation.version': "Version {number}";
|
|
387
391
|
readonly 'creator.conversation.previousVersion': "a previous version";
|
|
388
392
|
readonly 'creator.conversation.restoredFromCommit': "Restored from {label}\n\nCommit: {commit}";
|
|
@@ -484,7 +488,28 @@ export declare const CREATOR_CATALOGS: {
|
|
|
484
488
|
readonly 'creator.details.resizeHeight': "Resize height";
|
|
485
489
|
readonly 'creator.brandKit.languageIsFixedAfterThe': "Language is fixed after the first generation";
|
|
486
490
|
readonly 'creator.brandKit.selectLanguage': "Select language";
|
|
491
|
+
readonly 'creator.brandKit.brandKit': "Brand kit";
|
|
487
492
|
readonly 'creator.brandKit.libraries': "Libraries";
|
|
493
|
+
readonly 'creator.brandKit.replacesTheWidgeticPaletteFor': "Replaces the Widgetic palette for this generation.";
|
|
494
|
+
readonly 'creator.brandKit.colorPalette': "Color palette";
|
|
495
|
+
readonly 'creator.brandKit.primary': "Primary";
|
|
496
|
+
readonly 'creator.brandKit.secondary': "Secondary";
|
|
497
|
+
readonly 'creator.brandKit.title': "Title";
|
|
498
|
+
readonly 'creator.brandKit.sub': "Sub";
|
|
499
|
+
readonly 'creator.brandKit.fonts': "Fonts";
|
|
500
|
+
readonly 'creator.brandKit.addFont': "+ Font";
|
|
501
|
+
readonly 'creator.brandKit.fontLabel': "Font";
|
|
502
|
+
readonly 'creator.brandKit.font': "Font {number}";
|
|
503
|
+
readonly 'creator.brandKit.removeFont': "Remove font";
|
|
504
|
+
readonly 'creator.brandKit.uploadFonts': "Upload Fonts";
|
|
505
|
+
readonly 'creator.brandKit.uploadAFontFileOr': "Upload a font file or an archive.";
|
|
506
|
+
readonly 'creator.brandKit.urlArchiveWoff2TtfOtf': "URL (archive, .woff2, .ttf, .otf)";
|
|
507
|
+
readonly 'creator.brandKit.removeUploadedFont': "Remove uploaded font";
|
|
508
|
+
readonly 'creator.brandKit.icons': "Icons";
|
|
509
|
+
readonly 'creator.brandKit.addIconLibrary': "Add icon library";
|
|
510
|
+
readonly 'creator.brandKit.removeIconLibrary': "Remove icon library";
|
|
511
|
+
readonly 'creator.brandKit.uploadIconLibraryTooltip': "Upload your icon library.";
|
|
512
|
+
readonly 'creator.brandKit.urlIcons': "URL (git, archive, .svg, {extension})";
|
|
488
513
|
readonly 'creator.brandKit.addLibrary': "Add Library";
|
|
489
514
|
readonly 'creator.brandKit.uploadLibrary': "Upload library";
|
|
490
515
|
readonly 'creator.brandKit.removeLibrary': "Remove library";
|
|
@@ -531,14 +556,153 @@ export declare const CREATOR_CATALOGS: {
|
|
|
531
556
|
readonly 'creator.elementSelector.toInteract': "to move";
|
|
532
557
|
readonly 'creator.elementSelector.esc': "Esc";
|
|
533
558
|
readonly 'creator.elementSelector.done': "done";
|
|
559
|
+
readonly 'creator.elementSelector.notePlaceholder': "Note for this part";
|
|
560
|
+
};
|
|
561
|
+
readonly editor: Readonly<Record<string, string>>;
|
|
562
|
+
readonly chat: {
|
|
563
|
+
readonly 'chat.contextType.frame': "frame";
|
|
564
|
+
readonly 'chat.contextType.text': "text";
|
|
565
|
+
readonly 'chat.contextType.image': "image";
|
|
566
|
+
readonly 'chat.contextType.document': "document";
|
|
567
|
+
readonly 'chat.contextType.canvas': "canvas";
|
|
568
|
+
readonly 'chat.header.typeChat': "{type} chat";
|
|
569
|
+
readonly 'chat.header.switchConversation': "Switch conversation";
|
|
570
|
+
readonly 'chat.header.conversations': "Conversations";
|
|
571
|
+
readonly 'chat.header.new': "New";
|
|
572
|
+
readonly 'chat.header.untitled': "Untitled";
|
|
573
|
+
readonly 'chat.header.newConversationTitle': "New conversation";
|
|
574
|
+
readonly 'chat.header.newConversation': "Start new conversation";
|
|
575
|
+
readonly 'chat.header.close': "Close chat";
|
|
576
|
+
readonly 'chat.contextPreview.expand': "Expand {name} chat context";
|
|
577
|
+
readonly 'chat.conversation.defaultTitle': "Chat about {name}";
|
|
578
|
+
readonly 'chat.messages.startTitle': "Start a conversation";
|
|
579
|
+
readonly 'chat.messages.startHint': "Ask a question about your {type} to get started.";
|
|
580
|
+
readonly 'chat.messages.loadingHistory': "Loading chat history...";
|
|
581
|
+
readonly 'chat.messages.thinking': "Assistant is thinking";
|
|
582
|
+
readonly 'chat.messages.viewing': "You are here";
|
|
583
|
+
readonly 'chat.messages.viewingTitle': "This is the version you are looking at";
|
|
584
|
+
readonly 'chat.messages.attachmentMissingTitle': "Attachment not available";
|
|
585
|
+
readonly 'chat.messages.attachmentMissingLabel': "Missing file attachment";
|
|
586
|
+
readonly 'chat.messages.attachmentMissingCaption': "Attachment not saved. Re-attach with Upload, then Retry.";
|
|
587
|
+
readonly 'chat.messages.retry': "Retry";
|
|
588
|
+
readonly 'chat.messages.retryPromptTitle': "Run this prompt again as its own message. The sketch stays with the model, not on the bubble.";
|
|
589
|
+
readonly 'chat.messages.retryLastTitle': "Retry the last user prompt (same generation request)";
|
|
590
|
+
readonly 'chat.messages.upgrade': "Upgrade";
|
|
591
|
+
readonly 'chat.messages.upgradeTitle': "Open plans and billing";
|
|
592
|
+
readonly 'chat.messages.commitId': "(commit id: {id})";
|
|
593
|
+
readonly 'chat.messages.restore': "Restore Checkpoint";
|
|
594
|
+
readonly 'chat.messages.restoreTitle': "Restore widget code to this prompt's commit";
|
|
595
|
+
readonly 'chat.messages.alreadyHead': "This checkpoint is already HEAD";
|
|
596
|
+
readonly 'chat.messages.version': "Version {number}";
|
|
597
|
+
readonly 'chat.messages.restoredFrom': "Restored from {label}";
|
|
598
|
+
readonly 'chat.messages.previousVersion': "a previous version";
|
|
599
|
+
readonly 'chat.suggestions.title.frame': "Suggested actions for this widget";
|
|
600
|
+
readonly 'chat.suggestions.title.text': "Suggested text improvements";
|
|
601
|
+
readonly 'chat.suggestions.title.image': "Suggested image analysis";
|
|
602
|
+
readonly 'chat.suggestions.title.document': "Suggested document actions";
|
|
603
|
+
readonly 'chat.suggestions.title.other': "Suggested questions";
|
|
604
|
+
readonly 'chat.suggestions.hide': "Hide suggestions";
|
|
605
|
+
readonly 'chat.suggestions.frame.generateCode': "Generate code from this design";
|
|
606
|
+
readonly 'chat.suggestions.frame.improveLayout': "Improve this layout";
|
|
607
|
+
readonly 'chat.suggestions.frame.addInteractivity': "Add interactive functionality";
|
|
608
|
+
readonly 'chat.suggestions.frame.makeResponsive': "Make this responsive for mobile";
|
|
609
|
+
readonly 'chat.suggestions.frame.addAnimations': "Add animations and transitions";
|
|
610
|
+
readonly 'chat.suggestions.text.improveWriting': "Help improve this writing";
|
|
611
|
+
readonly 'chat.suggestions.text.checkGrammar': "Check grammar and style";
|
|
612
|
+
readonly 'chat.suggestions.text.alternativePhrasing': "Suggest alternative phrasing";
|
|
613
|
+
readonly 'chat.suggestions.text.summarize': "Summarize this content";
|
|
614
|
+
readonly 'chat.suggestions.text.expand': "Expand on this topic";
|
|
615
|
+
readonly 'chat.suggestions.image.describe': "Describe what you see in this image";
|
|
616
|
+
readonly 'chat.suggestions.image.altText': "Generate alt text for accessibility";
|
|
617
|
+
readonly 'chat.suggestions.image.improveDesign': "Suggest design improvements";
|
|
618
|
+
readonly 'chat.suggestions.image.toCode': "Convert image to code";
|
|
619
|
+
readonly 'chat.suggestions.image.extractText': "Extract text from this image";
|
|
620
|
+
readonly 'chat.suggestions.document.summarize': "Summarize this document";
|
|
621
|
+
readonly 'chat.suggestions.document.keyPoints': "Extract key points";
|
|
622
|
+
readonly 'chat.suggestions.document.checkErrors': "Check for errors or inconsistencies";
|
|
623
|
+
readonly 'chat.suggestions.document.improve': "Suggest improvements";
|
|
624
|
+
readonly 'chat.suggestions.document.outline': "Create an outline";
|
|
625
|
+
readonly 'chat.suggestions.other.ask': "Ask a question about this content";
|
|
626
|
+
readonly 'chat.suggestions.other.improve': "Get suggestions for improvement";
|
|
627
|
+
readonly 'chat.suggestions.other.explain': "Explain what you see here";
|
|
628
|
+
readonly 'chat.suggestions.other.understand': "Help me understand this better";
|
|
629
|
+
readonly 'chat.suggestions.other.options': "What can I do with this?";
|
|
630
|
+
readonly 'chat.input.placeholder': "Type your message...";
|
|
631
|
+
readonly 'chat.input.stop': "Stop generation";
|
|
632
|
+
readonly 'chat.input.sending': "Sending message...";
|
|
633
|
+
readonly 'chat.input.send': "Send message";
|
|
634
|
+
readonly 'chat.actions.screenshot': "Screenshot";
|
|
635
|
+
readonly 'chat.actions.screenshotTitle': "Take Screenshot";
|
|
636
|
+
readonly 'chat.actions.screenshotLabel': "Take screenshot of current content";
|
|
637
|
+
readonly 'chat.actions.record': "Record";
|
|
638
|
+
readonly 'chat.actions.stop': "Stop";
|
|
639
|
+
readonly 'chat.actions.startRecordingTitle': "Start Recording";
|
|
640
|
+
readonly 'chat.actions.stopRecordingTitle': "Stop Recording";
|
|
641
|
+
readonly 'chat.actions.startRecordingLabel': "Start recording";
|
|
642
|
+
readonly 'chat.actions.stopRecordingLabel': "Stop recording";
|
|
643
|
+
readonly 'chat.actions.upload': "Upload";
|
|
644
|
+
readonly 'chat.actions.uploadTitle': "Upload File";
|
|
645
|
+
readonly 'chat.actions.uploadLabel': "Upload file";
|
|
646
|
+
readonly 'chat.actions.selector': "Selector";
|
|
647
|
+
readonly 'chat.actions.selectorTitle': "Select a specific part of the widget to reference in chat";
|
|
648
|
+
readonly 'chat.actions.selectorActiveTitle': "Disable widget element selector";
|
|
649
|
+
readonly 'chat.actions.selectorLabel': "Toggle widget element selector";
|
|
650
|
+
readonly 'chat.selector.removeElement': "Remove selected element";
|
|
651
|
+
readonly 'chat.selector.clearAll': "Clear all";
|
|
652
|
+
readonly 'chat.actions.complete': "Complete";
|
|
653
|
+
readonly 'chat.actions.completed': "Completed";
|
|
654
|
+
readonly 'chat.actions.markCompleteTitle': "Mark this chat as done. You can still send messages and iterate on the widget.";
|
|
655
|
+
readonly 'chat.actions.markActiveTitle': "Mark as Active \u2014 you can keep iterating either way";
|
|
656
|
+
readonly 'chat.actions.markCompleteLabel': "Mark conversation as complete";
|
|
657
|
+
readonly 'chat.actions.markActiveLabel': "Mark conversation as active";
|
|
658
|
+
readonly 'chat.resize.label': "Resize messages area";
|
|
659
|
+
readonly 'chat.resize.title': "Drag to resize messages area";
|
|
660
|
+
readonly 'chat.attachment.alt': "Attachment";
|
|
661
|
+
readonly 'chat.attachment.untitled': "Untitled";
|
|
662
|
+
readonly 'chat.attachment.fileFallback': "File";
|
|
663
|
+
readonly 'chat.attachment.namelessAlt': "attachment";
|
|
664
|
+
readonly 'chat.attachment.previewAlt': "Attachment preview";
|
|
665
|
+
readonly 'chat.attachment.pdfTitle': "PDF Document";
|
|
666
|
+
readonly 'chat.attachment.noVideo': "Your browser does not support video playback.";
|
|
667
|
+
readonly 'chat.attachment.view': "Click to view {name}";
|
|
668
|
+
readonly 'chat.attachment.viewFile': "Click to view file";
|
|
669
|
+
readonly 'chat.attachment.more': "{count, plural, one {+# more file} other {+# more files}}";
|
|
670
|
+
readonly 'chat.attachment.remove': "Remove attachment";
|
|
671
|
+
readonly 'chat.attachment.close': "Close";
|
|
672
|
+
readonly 'chat.size.bytes': "{size} B";
|
|
673
|
+
readonly 'chat.size.kb': "{size} KB";
|
|
674
|
+
readonly 'chat.size.mb': "{size} MB";
|
|
675
|
+
readonly 'chat.size.gb': "{size} GB";
|
|
676
|
+
readonly 'chat.code.copy': "Copy";
|
|
677
|
+
readonly 'chat.code.copyTitle': "Copy code";
|
|
678
|
+
readonly 'chat.code.copied': "Copied!";
|
|
679
|
+
readonly 'chat.status.active': "Active";
|
|
680
|
+
readonly 'chat.status.completed': "Completed";
|
|
681
|
+
readonly 'chat.status.processing': "Processing...";
|
|
682
|
+
readonly 'chat.status.error': "Error";
|
|
683
|
+
readonly 'chat.status.messageCount': "{count, plural, one {(# message)} other {(# messages)}}";
|
|
684
|
+
readonly 'chat.error.dismiss': "Dismiss";
|
|
685
|
+
readonly 'chat.error.retryLoad': "Retry load history";
|
|
686
|
+
readonly 'chat.error.loadHistory': "Could not load chat history.";
|
|
687
|
+
readonly 'chat.error.initialize': "Failed to initialize chat. Please try again.";
|
|
688
|
+
readonly 'chat.error.loadConversations': "Failed to load conversations.";
|
|
689
|
+
readonly 'chat.error.loadConversation': "Failed to load conversation.";
|
|
690
|
+
readonly 'chat.error.sendMessage': "Failed to send message. Please try again.";
|
|
691
|
+
readonly 'chat.error.sendSuggestion': "Failed to send the selected suggestion. Please try again.";
|
|
692
|
+
readonly 'chat.error.screenshotUnavailable': "Screenshot capture failed \u2014 no preview available.";
|
|
693
|
+
readonly 'chat.error.screenshotFailed': "Failed to capture screenshot";
|
|
694
|
+
readonly 'chat.error.screenshotActionFailed': "Screenshot action failed. Please try again.";
|
|
695
|
+
readonly 'chat.error.recordingStartFailed': "Failed to start recording";
|
|
696
|
+
readonly 'chat.error.recordingStopFailed': "Failed to stop recording";
|
|
697
|
+
readonly 'chat.error.recordingActionFailed': "Recording action failed. Please try again.";
|
|
698
|
+
readonly 'chat.error.actionFailed': "The action failed. Please try again.";
|
|
699
|
+
readonly 'chat.error.statusUpdateFailed': "Failed to update conversation status";
|
|
700
|
+
readonly 'chat.error.restoreFailed': "Failed to restore checkpoint. Please try again.";
|
|
534
701
|
};
|
|
535
|
-
readonly editor: any;
|
|
536
|
-
readonly chat: any;
|
|
537
702
|
readonly canvas: {
|
|
538
703
|
readonly 'canvas.state.loading': "Loading canvas\u2026";
|
|
539
704
|
readonly 'canvas.state.initFailed': "Canvas failed to initialize.";
|
|
540
705
|
readonly 'canvas.error.imageFromUrl': "Failed to load image from URL. Make sure the URL is correct and allows cross-origin requests.";
|
|
541
|
-
readonly 'canvas.defaults.text': "Hello World!";
|
|
542
706
|
readonly 'canvas.defaults.textBox': "Type here";
|
|
543
707
|
readonly 'canvas.defaults.frameLabel': "Frame";
|
|
544
708
|
readonly 'canvas.defaults.untitledFrame': "Untitled Frame";
|
|
@@ -560,6 +724,7 @@ export declare const CREATOR_CATALOGS: {
|
|
|
560
724
|
readonly 'canvas.tool.circle': "Circle";
|
|
561
725
|
readonly 'canvas.tool.frame': "Frame";
|
|
562
726
|
readonly 'canvas.tool.text': "Text";
|
|
727
|
+
readonly 'canvas.tool.selector': "Selector";
|
|
563
728
|
readonly 'canvas.tool.image': "Image";
|
|
564
729
|
readonly 'canvas.tool.video': "Video";
|
|
565
730
|
readonly 'canvas.tool.shapes': "Shapes";
|
|
@@ -657,6 +822,7 @@ export declare const CREATOR_CATALOGS: {
|
|
|
657
822
|
readonly 'canvas.zoom.gridLabel': "Toggle grid";
|
|
658
823
|
readonly 'canvas.zoom.panTitle': "Hand / Pan [H]";
|
|
659
824
|
readonly 'canvas.zoom.panLabel': "Hand / pan tool";
|
|
825
|
+
readonly 'canvas.zoom.panBanner': "Dragging the canvas";
|
|
660
826
|
readonly 'canvas.zoom.outTitle': "Zoom Out [Ctrl/Cmd] + [\u2212]";
|
|
661
827
|
readonly 'canvas.zoom.outLabel': "Zoom out";
|
|
662
828
|
readonly 'canvas.zoom.inTitle': "Zoom In [Ctrl/Cmd] + [+]";
|
|
@@ -798,4 +964,4 @@ export declare const useCreatorLanguage: () => import("@widgetic/design-system/i
|
|
|
798
964
|
* The English `t` of the creator, for code that has no component around it. The screens of the creator get their words, in
|
|
799
965
|
* the page's language, from `useCreatorLanguage`.
|
|
800
966
|
*/
|
|
801
|
-
export declare const translateEnglish: import("@widgetic/design-system/i18n").Translate<"creator.common.close" | "creator.common.new" | "creator.common.doubleClickToRename" | "creator.common.thisAppNeedsARefresh" | "creator.common.reload" | "creator.common.publish" | "creator.common.switchVersion" | "creator.common.live" | "creator.common.buildThisDraftVersionAnd" | "creator.common.setLive" | "creator.common.retry" | "creator.common.delete" | "creator.common.draft" | "creator.common.loading" | "creator.general.unknownError" | "creator.general.couldNotLoadUploadedImage" | "creator.general.tryUploadingTheImageAgain" | "creator.general.uploadFailed" | "creator.general.couldNotUpdateConversationStatus" | "creator.general.changeUndone" | "creator.general.failedToLoadEditorSettings" | "creator.general.setTo" | "creator.general.failedToUpdate" | "creator.general.failedToSaveDimensions" | "creator.general.nothingToSave" | "creator.general.serviceTemporarilyUnavailable" | "creator.general.retryingWhenTheApiIs" | "creator.general.invalidFileType" | "creator.general.pleaseSelectAnImageFile" | "creator.general.imageTooLarge" | "creator.general.maximumImageSizeIsMb" | "creator.general.tooManyImages" | "creator.general.maximumImagesAllowedRemoveAn" | "creator.general.failedToProcessImage" | "creator.general.couldNotReadTheImage" | "creator.general.imagePasted" | "creator.general.screenshotCaptureFailed" | "creator.general.missingOperationId" | "creator.general.switchToThatPanelTo" | "creator.general.limitReached" | "creator.general.rateLimited" | "creator.general.theApiRateLimitWas" | "creator.general.liveV" | "creator.general.anUnexpectedErrorOccurredPlease" | "creator.general.latestCommitIsAlreadyLive" | "creator.general.theServerRefusedTheRename" | "creator.general.checkYourConnectionAndTry" | "creator.general.unableToReachTheApi" | "creator.general.pleaseWaitForTheCurrent" | "creator.general.created" | "creator.general.saveBlocked" | "creator.general.keptALocalCopyCheck" | "creator.general.apiClientUnavailable" | "creator.general.screenshotCouldNotBeCaptured" | "creator.general.fixTheSelectionZoomOut" | "creator.general.checkConsoleForDetails" | "creator.general.retryLoad" | "creator.general.dismiss" | "creator.general.saving" | "creator.general.saved" | "creator.general.saveError" | "creator.general.loadingHistory" | "creator.general.upgrade" | "creator.general.fixInCreate" | "creator.general.save" | "creator.general.cancel" | "creator.general.noEditableSettingsAvailableYet" | "creator.general.dimensions" | "creator.general.w" | "creator.general.h" | "creator.general.px" | "creator.general.copy" | "creator.general.testPage" | "creator.general.zoomedReference" | "creator.general.keepInDatabase" | "creator.general.deleteFromDatabase" | "creator.general.checkingWhatWillBeDeleted" | "creator.general.describeWhatYouWant" | "creator.session.endedStartAgain" | "creator.session.canvasCannotOpen" | "creator.session.sessionEnded" | "creator.session.sessionExpiredSignInAgain" | "creator.session.sessionExpired" | "creator.session.authenticationExpired" | "creator.session.pleaseLoginAgainToContinue" | "creator.session.signInAgainToPublish" | "creator.session.loginRequiredToDuplicateWidget" | "creator.session.pleaseLoginFirst" | "creator.session.authenticationRequired" | "creator.session.pleaseLoginBeforeCreatingA" | "creator.session.thisWidgetReferencesARepository" | "creator.session.signInAgainThenRetry" | "creator.widget.notFound" | "creator.widget.fallbackName" | "creator.widget.noWidgetSelected" | "creator.widget.shapeRemoved" | "creator.widget.widgetKeptInDatabase" | "creator.widget.widgetDeletedFromDatabase" | "creator.widget.widgetWasAlreadyDeleted" | "creator.widget.failedToDeleteWidgetFrom" | "creator.widget.selectAWidgetFirst" | "creator.widget.duplicateFromTheHeaderCopies" | "creator.widget.failedToLoadWidgets" | "creator.widget.couldNotRestoreShapesYet" | "creator.widget.widgetRenamedTo" | "creator.widget.failedToRenameWidget" | "creator.widget.capturingWidgetScreenshot" | "creator.widget.widgetsApiClientIsNot" | "creator.widget.unlinkedWidgetShape" | "creator.widget.duplicatingWidget" | "creator.widget.failedToDuplicateWidget" | "creator.widget.widgetDuplicated" | "creator.widget.widgetKeptInDatabase2" | "creator.widget.youCanKeepEditingWidgets" | "creator.widget.widgetDraftCreated" | "creator.widget.failedToPrepareWidgetDraft" | "creator.widget.failedToCreateWidgetFrom" | "creator.widget.widgetCreatedButNoId" | "creator.widget.widgetCreated" | "creator.widget.failedToFinalizeWidgetConversion" | "creator.widget.repoIdToDeleteUse" | "creator.widget.restoreShapes" | "creator.widget.directWidgetUrl" | "creator.widget.deleteWidgetShape" | "creator.widget.theseWidgetsBelongToMore" | "creator.canvas.appearsEmptyButWidgets" | "creator.canvas.restoredShapes" | "creator.canvas.removedTheLeftoverShapeFrom" | "creator.canvas.clickAWidgetOnThe" | "creator.canvas.canvasIsNotReadyYet" | "creator.canvas.failedToLoadCanvases" | "creator.canvas.couldNotDeleteThisCanvas" | "creator.canvas.noCanvasIdCannotLoad" | "creator.canvas.canvasMayStillBeLoading" | "creator.canvas.widgetPreviewUpdatedOnCanvas" | "creator.canvas.widgetCanvasAndRepositoryAre" | "creator.canvas.canvasIsRequiredBeforePublishing" | "creator.canvas.thisShapePointsToA" | "creator.canvas.shapeRemovedFromCanvas" | "creator.canvas.canvasIsTakingLongerThan" | "creator.canvas.canvasShapesFailedToRender" | "creator.canvas.failedToLoadCanvasFrom" | "creator.canvas.canvasLoadFailedCheckSupabase" | "creator.canvas.apiMayBeThrottledOr" | "creator.canvas.canvasSnapshotLookedEmptyRefresh" | "creator.canvas.canvasSaved" | "creator.canvas.sketchRestored" | "creator.canvas.canvasSaveFailed" | "creator.canvas.canvasSavedLocally" | "creator.canvas.noCanvasIdYet" | "creator.canvas.canvasUnavailable" | "creator.canvas.canvasShapesFailedToLoad" | "creator.canvas.shapeDataMayBeMissing" | "creator.canvas.deleteCanvas" | "creator.composition.compositionCreated" | "creator.composition.failedToCreateComposition" | "creator.composition.compositionSaved" | "creator.composition.compositionRenamed" | "creator.composition.failedToRenameComposition" | "creator.composition.compositionDeleted" | "creator.composition.failedToDeleteComposition" | "creator.composition.fixTheSyntaxErrorIn" | "creator.composition.compositions" | "creator.composition.selectComposition" | "creator.composition.deleteThisComposition" | "creator.composition.webComponentFormatRequiresA" | "creator.composition.compositionUrl" | "creator.codegen.referenceImages" | "creator.codegen.referenceNumber" | "creator.codegen.missingReferenceImage" | "creator.codegen.unreadableAttachmentsTitle" | "creator.codegen.unreadableAttachments" | "creator.codegen.missingImageError" | "creator.codegen.visionModelNote" | "creator.codegen.noImageTitle" | "creator.codegen.repositoryCreated" | "creator.codegen.failedToCreateRepository" | "creator.codegen.noVisionNote" | "creator.codegen.codeRevertedToCommitRefreshing" | "creator.codegen.widgetCodeAtCommitRefreshing" | "creator.codegen.gitRollbackMayNotHave" | "creator.codegen.codeGenerationCompleted" | "creator.codegen.generationInProgress" | "creator.codegen.reconnectedToAnActiveCode" | "creator.codegen.generationStopped" | "creator.codegen.codeGenerationWasCancelledYou" | "creator.codegen.couldNotStopGeneration" | "creator.codegen.generationMayStillBeRunning" | "creator.codegen.imageAddedToYourPrompt" | "creator.codegen.generateCodeFirstToCapture" | "creator.codegen.previewIsMissingTheCapture" | "creator.codegen.promptTooShort" | "creator.codegen.pleaseProvideAPromptWith" | "creator.codegen.mockCodeGenerated" | "creator.codegen.thisIsASimulationNo" | "creator.codegen.missingRepository" | "creator.codegen.coderVision" | "creator.codegen.answeredWithoutGenerating" | "creator.codegen.noGenerationStarted" | "creator.codegen.cannotTrackCodeGenerationProgress" | "creator.codegen.aiGeneratedInvalidSvelteSyntax" | "creator.codegen.codeSavedRebuildingPreview" | "creator.codegen.codeWasNotSaved" | "creator.codegen.codeWasNotSavedToTheRepository" | "creator.codegen.retrySavesItAndRecordsAVersion" | "creator.codegen.generationCompleted" | "creator.codegen.codeSavedPreviewIsLoading" | "creator.codegen.generationAlreadyInProgress" | "creator.codegen.anotherCodeGenerationIsAlready" | "creator.codegen.teammateIsGeneratingSince" | "creator.codegen.generationRunningInTheWidget" | "creator.codegen.yourGenerationRunsElsewhere" | "creator.codegen.newerCodeWasSaved" | "creator.codegen.chosenVersionIsOutOfDate" | "creator.codegen.codeGenerationError" | "creator.codegen.imagePastedToPrompt" | "creator.codegen.codeGenerationInProgressWait" | "creator.codegen.repositoryMissingUseRebuildCode" | "creator.codegen.buildFailedCheckLogsFor" | "creator.codegen.createdWithExistingCode" | "creator.codegen.editTheSketchFreelySending" | "creator.codegen.isReadyGenerationStarted" | "creator.codegen.repositoryIsNowLinkedTo" | "creator.codegen.repositoryExists" | "creator.codegen.repositoryOwnedByAnotherAccount" | "creator.codegen.repositoryFound" | "creator.codegen.linkedToRepository" | "creator.codegen.repositoryReferenceInvalid" | "creator.codegen.supabaseDoesNotHaveThis" | "creator.codegen.unableToVerifyRepositoryStatus" | "creator.codegen.repositoryVerificationFailed" | "creator.codegen.repositoryCreationFailed" | "creator.codegen.couldNotDetermineRepositoryId" | "creator.codegen.repositoryCreatedButNotPersisted" | "creator.codegen.repositoryExistsButFailedTo" | "creator.codegen.repositoryReadyForUse" | "creator.codegen.previewBuilderIsUnavailable" | "creator.codegen.theWidgetCodeWasSaved" | "creator.codegen.rebuildInCreate" | "creator.codegen.codeDoesNotCompile" | "creator.codegen.latestCodeDoesNotCompile" | "creator.codegen.generateCodeFirstToCustomize" | "creator.codegen.noWidgetCodeYet" | "creator.codegen.goToStep1Create" | "creator.codegen.confirmCodeGeneration" | "creator.codegen.reviewThePromptAndReference" | "creator.codegen.describeTheWidgetYouWant" | "creator.codegen.prompt" | "creator.codegen.editPromptFirst" | "creator.codegen.generateNow" | "creator.preview.newerThanLive" | "creator.preview.mayShowLive" | "creator.preview.rebuilt" | "creator.preview.versionHasCodeError" | "creator.preview.versionCouldNotLoad" | "creator.preview.versionHourlyLimit" | "creator.preview.recompiledIn" | "creator.preview.commitRefreshed" | "creator.preview.noValidPreviewAvailable" | "creator.preview.theWidgetDidNotRespond" | "creator.preview.captureErrorRefreshThePreview" | "creator.preview.imageWaitsForGeneration" | "creator.preview.savingImage" | "creator.preview.imageSaved" | "creator.preview.couldNotSaveImage" | "creator.preview.imageNotReturned" | "creator.version.checkpointRestored" | "creator.version.restoreCompletedWithWarnings" | "creator.version.failedToRestoreCheckpoint" | "creator.version.restoreRefusedWhileGenerating" | "creator.version.restoreRefusedNewerCode" | "creator.version.restoreRefusedLatestCodeUnknown" | "creator.version.versionIsNowLive" | "creator.version.version" | "creator.version.theSelectedDraftVersionWas" | "creator.version.thisIsADraftVersion" | "creator.version.thisVersionIsNowWhat" | "creator.version.versionRenamed" | "creator.version.versionTitleCleared" | "creator.version.couldNotRenameTheVersion" | "creator.version.closeVersionHistory" | "creator.publish.cannotPublish" | "creator.publish.noEditableSettingsFoundGenerate" | "creator.publish.publishingViaWidgetBuilder" | "creator.publish.widgetPublished" | "creator.publish.publishedAutomaticallyAfterCodeGeneration" | "creator.publish.publishFailed" | "creator.publish.publishing" | "creator.publish.publishingInProgress" | "creator.publish.anotherWidgetIsPublishingWait" | "creator.publish.publishIsRunningInAnother" | "creator.publish.thisVersionIsAlreadyPublished" | "creator.publish.thisDraftHasNoRecorded" | "creator.publish.generateWidgetCodeBeforePublishing" | "creator.publish.publishWidget" | "creator.publish.publishChanges" | "creator.publish.noNewVersionToPublish" | "creator.publish.publishNewV" | "creator.publish.generateOrRebuildSoWe" | "creator.publish.cannotPublishYet" | "creator.publish.publishedVSuccessfully" | "creator.publish.published" | "creator.publish.widgetPublishFailed" | "creator.publish.failedToLoadPublishHistory" | "creator.publish.pressPublishToMakeThe" | "creator.publish.failedToSetLiveVersion" | "creator.publish.publishTheLatestGeneratedCode" | "creator.publish.liveGenerateNewCodeTo" | "creator.publish.publishThisVersionSoVisitors" | "creator.publish.noHistoryRecordsYetGenerate" | "creator.publish.retryPublish" | "creator.publish.notPublishedYet" | "creator.publish.generateOnCreatePreviewThe" | "creator.publish.widgetNotPublishedYet" | "creator.publish.publishYourWidgetFromThe" | "creator.publish.publishYourWidgetFromTheCreate" | "creator.embed.codeTitle" | "creator.embed.formatIframe" | "creator.embed.formatWebComponent" | "creator.embed.copied" | "creator.embed.versionIsLiveAndReady" | "creator.embed.embedYourWidget" | "creator.embed.setDimensionsAndCopyThe" | "creator.embed.embedWidth" | "creator.embed.embedHeight" | "creator.embed.copyEmbedCode" | "creator.embed.embedFormat" | "creator.dialog.removeShape" | "creator.dialog.alsoDeleteWidget" | "creator.dialog.deleteCanvas" | "creator.dialog.alsoDeleteWidgets" | "creator.status.label" | "creator.status.preparingCodeGeneration" | "creator.status.ready" | "creator.status.completedPreviewReady" | "creator.status.generationCompletePreviewReady" | "creator.status.completedAutoSaving" | "creator.status.completedSaved" | "creator.status.completedChangesSaved" | "creator.status.failed" | "creator.status.stoppedByUser" | "creator.status.fixingCompilationErrors" | "creator.status.generatingMockCode" | "creator.status.mockCodeComplete" | "creator.status.processingQueuedRequest" | "creator.status.sessionExpired" | "creator.status.repositoryRequired" | "creator.status.runningQueued" | "creator.status.repositoryReady" | "creator.status.answeredFromDetails" | "creator.status.needMoreDetail" | "creator.status.noGenerationNeeded" | "creator.status.authenticationExpired" | "creator.status.noOperationId" | "creator.status.processingQueued" | "creator.status.inProgress" | "creator.status.generating" | "creator.status.generatingProgress" | "creator.status.savedBuildingPreview" | "creator.status.savedLoadingPreview" | "creator.status.savedPreviewRebuilt" | "creator.status.alreadySavedCompilingPreview" | "creator.status.alreadySavedShaCompilingPreview" | "creator.status.alreadySavedPreviewFailed" | "creator.status.alreadySavedShaPreviewFailed" | "creator.status.previewReady" | "creator.status.alreadyRunning" | "creator.status.needsRefresh" | "creator.status.limitReached" | "creator.status.rateLimited" | "creator.status.failedWithReason" | "creator.status.reconnected" | "creator.conversation.version" | "creator.conversation.previousVersion" | "creator.conversation.restoredFromCommit" | "creator.conversation.completedCommitPreviewLoading" | "creator.conversation.completedCommitPreviewReady" | "creator.conversation.completedPreviewLoading" | "creator.conversation.codeSavedShaBuilding" | "creator.conversation.codeSavedShaLoading" | "creator.conversation.codeSavedShaRebuilt" | "creator.conversation.codeSavedCommitPreviewFailed" | "creator.conversation.stoppedRetryPrompt" | "creator.conversation.previewRecompiled" | "creator.conversation.previewRecompiledCommitPart" | "creator.conversation.previewRecompiledDurationPart" | "creator.conversation.alreadyDoneWithCommit" | "creator.conversation.alreadyDone" | "creator.conversation.alreadyDoneFilesSuffix" | "creator.conversation.convert" | "creator.conversation.widgetConversion" | "creator.error.generationFailedWhileYouWere" | "creator.error.generationTrackingLost" | "creator.error.unableToResolveRepositoryFor" | "creator.error.authenticationExpiredPleaseLoginAgain" | "creator.error.cannotTrackCodeGenerationProgress" | "creator.error.usageLimitExceeded" | "creator.error.tooManyRequestsPleaseTry" | "creator.error.codeGenerationFailed" | "creator.error.widgetBuilderIsNotReachable" | "creator.error.buildRequestFailed" | "creator.error.notAuthenticated" | "creator.error.apiClientIsNotConfigured" | "creator.error.publishedVersionIsNotAvailable" | "creator.error.failedToCompileWidgetCode" | "creator.error.previewNotReadyYetClick" | "creator.error.previewNotReadyYetClickRebuild" | "creator.error.previewLoadedButTheWidget" | "creator.error.previewTimedOutTheDev" | "creator.error.couldNotOpenPreviewUrl" | "creator.error.couldNotFetchThePreview" | "creator.error.widgetPreviewRuntimeErrorHttp" | "creator.error.previewBuildFailed" | "creator.error.savedCodeCouldNotBeCompiled" | "creator.error.couldNotReachThePreview" | "creator.error.previewRebuildIsUnavailableIn" | "creator.error.previewBuilderIsUnavailableThe" | "creator.error.previewBuilderReturnedAnUnexpected" | "creator.error.anUnknownErrorOccurred" | "creator.error.couldNotReachTheServer" | "creator.error.buildFailed" | "creator.details.fixThePromptOrAttachments" | "creator.details.codeGenerationWillStartShortly" | "creator.details.saveWillExecuteShortly" | "creator.details.codeGenerationQueued" | "creator.details.saveQueued" | "creator.details.closeWidgetDetails" | "creator.details.widgetDraft" | "creator.details.createWidgetCode" | "creator.details.create" | "creator.details.editComposition" | "creator.details.publishTheWidgetToEdit" | "creator.details.edit" | "creator.details.embedThePublishedWidget" | "creator.details.publishTheWidgetToGet" | "creator.details.embed" | "creator.details.openLivePreview" | "creator.details.closeLivePreview" | "creator.details.showLivePreview" | "creator.details.preview" | "creator.details.dragToResizeChatPreview" | "creator.details.livePreview" | "creator.details.recompileWidgetCodeForPreview" | "creator.details.rebuilding" | "creator.details.rebuild" | "creator.details.clickToFocusThisWidget" | "creator.details.livePreviewBelow" | "creator.details.generatingCode" | "creator.details.loadingPreview" | "creator.details.sketchDraft" | "creator.details.yourSketchIsStillOn" | "creator.details.sendThePromptInChat" | "creator.details.preparingWidget" | "creator.details.settingUpRepository" | "creator.details.widgetHasNoRepository" | "creator.details.repositoryCreationFailedPreviouslyClick" | "creator.details.createRepository" | "creator.details.noCodeYet" | "creator.details.writeAPromptAndGenerate" | "creator.details.generateNow" | "creator.details.previewUnavailable" | "creator.details.rebuildCode" | "creator.details.fixCompileError" | "creator.details.retryBuild" | "creator.details.retry" | "creator.details.buildingPreview" | "creator.details.compilingWidgetCode" | "creator.details.previewWillAppearAfterCode" | "creator.details.resizePanel" | "creator.details.resizeWidth" | "creator.details.resizeHeight" | "creator.brandKit.languageIsFixedAfterThe" | "creator.brandKit.selectLanguage" | "creator.brandKit.libraries" | "creator.brandKit.addLibrary" | "creator.brandKit.uploadLibrary" | "creator.brandKit.removeLibrary" | "creator.brandKit.uploadCustomLibraryTooltip" | "creator.brandKit.urlLibraries" | "creator.livePreviews.dragWidget" | "creator.livePreviews.primaryWidget" | "creator.livePreviews.setPrimary" | "creator.livePreviews.publishLatest" | "creator.livePreviews.currentlyLive" | "creator.livePreviews.makeThisVersionLive" | "creator.livePreviews.publishThisDraft" | "creator.livePreviews.noCommitToPublish" | "creator.livePreviews.currentVersion" | "creator.livePreviews.editMode" | "creator.livePreviews.refreshPreview" | "creator.livePreviews.refresh" | "creator.livePreviews.openChat" | "creator.livePreviews.chat" | "creator.livePreviews.liveWidgetPreview" | "creator.livePreviews.building" | "creator.versions.addTitle" | "creator.versions.renameVersion" | "creator.versions.addVersionTitle" | "creator.versions.addATitleForThis" | "creator.versions.notPublishedPreviewOnly" | "creator.versions.live" | "creator.selector.select" | "creator.selector.doubleClickToRename" | "creator.selector.toggleList" | "creator.selector.noItemsFound" | "creator.name.unnamed" | "creator.name.saveName" | "creator.name.renameWidget" | "creator.designEdit.shownAsAppliedTheseControls" | "creator.designEdit.notAvailableInThisWidget" | "creator.fileSource.uploadFile" | "creator.fileSource.url" | "creator.elementSelector.removeSelectedElement" | "creator.elementSelector.clickPartToReference" | "creator.elementSelector.parentChild" | "creator.elementSelector.hold" | "creator.elementSelector.cmdCtrl" | "creator.elementSelector.toInteract" | "creator.elementSelector.esc" | "creator.elementSelector.done">;
|
|
967
|
+
export declare const translateEnglish: import("@widgetic/design-system/i18n").Translate<"creator.common.close" | "creator.common.new" | "creator.common.doubleClickToRename" | "creator.common.thisAppNeedsARefresh" | "creator.common.reload" | "creator.common.publish" | "creator.common.switchVersion" | "creator.common.live" | "creator.common.setLive" | "creator.common.retry" | "creator.common.delete" | "creator.common.draft" | "creator.common.loading" | "creator.general.unknownError" | "creator.general.couldNotLoadUploadedImage" | "creator.general.tryUploadingTheImageAgain" | "creator.general.uploadFailed" | "creator.general.couldNotUpdateConversationStatus" | "creator.general.changeUndone" | "creator.general.failedToLoadEditorSettings" | "creator.general.setTo" | "creator.general.failedToUpdate" | "creator.general.failedToSaveDimensions" | "creator.general.nothingToSave" | "creator.general.serviceTemporarilyUnavailable" | "creator.general.retryingWhenTheApiIs" | "creator.general.invalidFileType" | "creator.general.pleaseSelectAnImageFile" | "creator.general.imageTooLarge" | "creator.general.maximumImageSizeIsMb" | "creator.general.tooManyImages" | "creator.general.maximumImagesAllowedRemoveAn" | "creator.general.failedToProcessImage" | "creator.general.couldNotReadTheImage" | "creator.general.imagePasted" | "creator.general.screenshotCaptureFailed" | "creator.general.missingOperationId" | "creator.general.switchToThatPanelTo" | "creator.general.limitReached" | "creator.general.rateLimited" | "creator.general.theApiRateLimitWas" | "creator.general.liveV" | "creator.general.anUnexpectedErrorOccurredPlease" | "creator.general.latestCommitIsAlreadyLive" | "creator.general.theServerRefusedTheRename" | "creator.general.checkYourConnectionAndTry" | "creator.general.unableToReachTheApi" | "creator.general.pleaseWaitForTheCurrent" | "creator.general.created" | "creator.general.saveBlocked" | "creator.general.keptALocalCopyCheck" | "creator.general.apiClientUnavailable" | "creator.general.screenshotCouldNotBeCaptured" | "creator.general.fixTheSelectionZoomOut" | "creator.general.checkConsoleForDetails" | "creator.general.retryLoad" | "creator.general.dismiss" | "creator.general.saving" | "creator.general.saved" | "creator.general.saveError" | "creator.general.loadingHistory" | "creator.general.upgrade" | "creator.general.fixInCreate" | "creator.general.save" | "creator.general.cancel" | "creator.general.noEditableSettingsAvailableYet" | "creator.general.dimensions" | "creator.general.w" | "creator.general.h" | "creator.general.px" | "creator.general.copy" | "creator.general.testPage" | "creator.general.zoomedReference" | "creator.general.keepInDatabase" | "creator.general.deleteFromDatabase" | "creator.general.checkingWhatWillBeDeleted" | "creator.general.describeWhatYouWant" | "creator.session.endedStartAgain" | "creator.session.canvasCannotOpen" | "creator.session.sessionEnded" | "creator.session.sessionExpiredSignInAgain" | "creator.session.sessionExpired" | "creator.session.authenticationExpired" | "creator.session.pleaseLoginAgainToContinue" | "creator.session.signInAgainToPublish" | "creator.session.loginRequiredToDuplicateWidget" | "creator.session.pleaseLoginFirst" | "creator.session.authenticationRequired" | "creator.session.pleaseLoginBeforeCreatingA" | "creator.session.thisWidgetReferencesARepository" | "creator.session.signInAgainThenRetry" | "creator.widget.notFound" | "creator.widget.fallbackName" | "creator.widget.noWidgetSelected" | "creator.widget.shapeRemoved" | "creator.widget.widgetKeptInDatabase" | "creator.widget.widgetDeletedFromDatabase" | "creator.widget.widgetWasAlreadyDeleted" | "creator.widget.failedToDeleteWidgetFrom" | "creator.widget.selectAWidgetFirst" | "creator.widget.duplicateFromTheHeaderCopies" | "creator.widget.failedToLoadWidgets" | "creator.widget.couldNotRestoreShapesYet" | "creator.widget.widgetRenamedTo" | "creator.widget.failedToRenameWidget" | "creator.widget.capturingWidgetScreenshot" | "creator.widget.widgetsApiClientIsNot" | "creator.widget.unlinkedWidgetShape" | "creator.widget.duplicatingWidget" | "creator.widget.failedToDuplicateWidget" | "creator.widget.widgetDuplicated" | "creator.widget.widgetKeptInDatabase2" | "creator.widget.youCanKeepEditingWidgets" | "creator.widget.oneWidgetAlready" | "creator.widget.widgetDraftCreated" | "creator.widget.failedToPrepareWidgetDraft" | "creator.widget.failedToCreateWidgetFrom" | "creator.widget.widgetCreatedButNoId" | "creator.widget.widgetCreated" | "creator.widget.failedToFinalizeWidgetConversion" | "creator.widget.repoIdToDeleteUse" | "creator.widget.restoreShapes" | "creator.widget.directWidgetUrl" | "creator.widget.deleteWidgetShape" | "creator.widget.theseWidgetsBelongToMore" | "creator.canvas.appearsEmptyButWidgets" | "creator.canvas.restoredShapes" | "creator.canvas.removedTheLeftoverShapeFrom" | "creator.canvas.clickAWidgetOnThe" | "creator.canvas.canvasIsNotReadyYet" | "creator.canvas.failedToLoadCanvases" | "creator.canvas.couldNotDeleteThisCanvas" | "creator.canvas.noCanvasIdCannotLoad" | "creator.canvas.canvasMayStillBeLoading" | "creator.canvas.widgetPreviewUpdatedOnCanvas" | "creator.canvas.widgetCanvasAndRepositoryAre" | "creator.canvas.canvasIsRequiredBeforePublishing" | "creator.canvas.thisShapePointsToA" | "creator.canvas.shapeRemovedFromCanvas" | "creator.canvas.canvasIsTakingLongerThan" | "creator.canvas.canvasShapesFailedToRender" | "creator.canvas.failedToLoadCanvasFrom" | "creator.canvas.canvasLoadFailedCheckSupabase" | "creator.canvas.apiMayBeThrottledOr" | "creator.canvas.canvasSnapshotLookedEmptyRefresh" | "creator.canvas.canvasSaved" | "creator.canvas.sketchRestored" | "creator.canvas.canvasSaveFailed" | "creator.canvas.canvasSavedLocally" | "creator.canvas.noCanvasIdYet" | "creator.canvas.canvasUnavailable" | "creator.canvas.canvasShapesFailedToLoad" | "creator.canvas.shapeDataMayBeMissing" | "creator.canvas.deleteCanvas" | "creator.composition.compositionCreated" | "creator.composition.failedToCreateComposition" | "creator.composition.compositionSaved" | "creator.composition.compositionRenamed" | "creator.composition.failedToRenameComposition" | "creator.composition.compositionDeleted" | "creator.composition.failedToDeleteComposition" | "creator.composition.fixTheSyntaxErrorIn" | "creator.composition.compositions" | "creator.composition.selectComposition" | "creator.composition.deleteThisComposition" | "creator.composition.webComponentFormatRequiresA" | "creator.composition.compositionUrl" | "creator.codegen.referenceImages" | "creator.codegen.referenceNumber" | "creator.codegen.missingReferenceImage" | "creator.codegen.unreadableAttachmentsTitle" | "creator.codegen.unreadableAttachments" | "creator.codegen.missingImageError" | "creator.codegen.visionModelNote" | "creator.codegen.noImageTitle" | "creator.codegen.repositoryCreated" | "creator.codegen.failedToCreateRepository" | "creator.codegen.noVisionNote" | "creator.codegen.codeRevertedToCommitRefreshing" | "creator.codegen.widgetCodeAtCommitRefreshing" | "creator.codegen.gitRollbackMayNotHave" | "creator.codegen.codeGenerationCompleted" | "creator.codegen.generationInProgress" | "creator.codegen.reconnectedToAnActiveCode" | "creator.codegen.generationStopped" | "creator.codegen.codeGenerationWasCancelledYou" | "creator.codegen.couldNotStopGeneration" | "creator.codegen.generationMayStillBeRunning" | "creator.codegen.imageAddedToYourPrompt" | "creator.codegen.generateCodeFirstToCapture" | "creator.codegen.previewIsMissingTheCapture" | "creator.codegen.promptTooShort" | "creator.codegen.pleaseProvideAPromptWith" | "creator.codegen.mockCodeGenerated" | "creator.codegen.thisIsASimulationNo" | "creator.codegen.missingRepository" | "creator.codegen.coderVision" | "creator.codegen.answeredWithoutGenerating" | "creator.codegen.noGenerationStarted" | "creator.codegen.cannotTrackCodeGenerationProgress" | "creator.codegen.aiGeneratedInvalidSvelteSyntax" | "creator.codegen.codeSavedRebuildingPreview" | "creator.codegen.codeWasNotSaved" | "creator.codegen.codeWasNotSavedToTheRepository" | "creator.codegen.retrySavesItAndRecordsAVersion" | "creator.codegen.generationCompleted" | "creator.codegen.codeSavedPreviewIsLoading" | "creator.codegen.generationAlreadyInProgress" | "creator.codegen.anotherCodeGenerationIsAlready" | "creator.codegen.teammateIsGeneratingSince" | "creator.codegen.generationRunningInTheWidget" | "creator.codegen.yourGenerationRunsElsewhere" | "creator.codegen.newerCodeWasSaved" | "creator.codegen.chosenVersionIsOutOfDate" | "creator.codegen.codeGenerationError" | "creator.codegen.imagePastedToPrompt" | "creator.codegen.codeGenerationInProgressWait" | "creator.codegen.repositoryMissingUseRebuildCode" | "creator.codegen.buildFailedCheckLogsFor" | "creator.codegen.createdWithExistingCode" | "creator.codegen.editTheSketchFreelySending" | "creator.codegen.isReadyGenerationStarted" | "creator.codegen.repositoryIsNowLinkedTo" | "creator.codegen.repositoryExists" | "creator.codegen.repositoryOwnedByAnotherAccount" | "creator.codegen.repositoryFound" | "creator.codegen.linkedToRepository" | "creator.codegen.repositoryReferenceInvalid" | "creator.codegen.supabaseDoesNotHaveThis" | "creator.codegen.unableToVerifyRepositoryStatus" | "creator.codegen.repositoryVerificationFailed" | "creator.codegen.repositoryCreationFailed" | "creator.codegen.couldNotDetermineRepositoryId" | "creator.codegen.repositoryCreatedButNotPersisted" | "creator.codegen.repositoryExistsButFailedTo" | "creator.codegen.repositoryReadyForUse" | "creator.codegen.previewBuilderIsUnavailable" | "creator.codegen.theWidgetCodeWasSaved" | "creator.codegen.rebuildInCreate" | "creator.codegen.codeDoesNotCompile" | "creator.codegen.latestCodeDoesNotCompile" | "creator.codegen.generateCodeFirstToCustomize" | "creator.codegen.noWidgetCodeYet" | "creator.codegen.goToStep1Create" | "creator.codegen.confirmCodeGeneration" | "creator.codegen.reviewThePromptAndReference" | "creator.codegen.describeTheWidgetYouWant" | "creator.codegen.prompt" | "creator.codegen.editPromptFirst" | "creator.codegen.generateNow" | "creator.preview.newerThanLive" | "creator.preview.mayShowLive" | "creator.preview.rebuilt" | "creator.preview.versionHasCodeError" | "creator.preview.versionCouldNotLoad" | "creator.preview.versionHourlyLimit" | "creator.preview.recompiledIn" | "creator.preview.commitRefreshed" | "creator.preview.noValidPreviewAvailable" | "creator.preview.theWidgetDidNotRespond" | "creator.preview.captureErrorRefreshThePreview" | "creator.preview.imageWaitsForGeneration" | "creator.preview.savingImage" | "creator.preview.imageSaved" | "creator.preview.couldNotSaveImage" | "creator.preview.imageNotReturned" | "creator.version.checkpointRestored" | "creator.version.restoreCompletedWithWarnings" | "creator.version.failedToRestoreCheckpoint" | "creator.version.restoreRefusedWhileGenerating" | "creator.version.restoreAlreadyRunning" | "creator.version.codeWasNotRolledBack" | "creator.version.restoreRefusedNewerCode" | "creator.version.restoreRefusedLatestCodeUnknown" | "creator.version.versionIsNowLive" | "creator.version.version" | "creator.version.theSelectedDraftVersionWas" | "creator.version.thisIsADraftVersion" | "creator.version.thisVersionIsNowWhat" | "creator.version.versionRenamed" | "creator.version.versionTitleCleared" | "creator.version.couldNotRenameTheVersion" | "creator.version.closeVersionHistory" | "creator.publish.cannotPublish" | "creator.publish.noEditableSettingsFoundGenerate" | "creator.publish.publishingViaWidgetBuilder" | "creator.publish.widgetPublished" | "creator.publish.publishedAutomaticallyAfterCodeGeneration" | "creator.publish.publishFailed" | "creator.publish.publishing" | "creator.publish.publishingInProgress" | "creator.publish.anotherWidgetIsPublishingWait" | "creator.publish.publishIsRunningInAnother" | "creator.publish.thisVersionIsAlreadyPublished" | "creator.publish.thisDraftHasNoRecorded" | "creator.publish.generateWidgetCodeBeforePublishing" | "creator.publish.publishWidget" | "creator.publish.publishChanges" | "creator.publish.noNewVersionToPublish" | "creator.publish.publishNewV" | "creator.publish.generateOrRebuildSoWe" | "creator.publish.cannotPublishYet" | "creator.publish.publishedVSuccessfully" | "creator.publish.published" | "creator.publish.widgetPublishFailed" | "creator.publish.failedToLoadPublishHistory" | "creator.publish.pressPublishToMakeThe" | "creator.publish.failedToSetLiveVersion" | "creator.publish.publishTheLatestGeneratedCode" | "creator.publish.liveGenerateNewCodeTo" | "creator.publish.publishThisVersionSoVisitors" | "creator.publish.noHistoryRecordsYetGenerate" | "creator.publish.retryPublish" | "creator.publish.notPublishedYet" | "creator.publish.generateOnCreatePreviewThe" | "creator.publish.widgetNotPublishedYet" | "creator.publish.publishYourWidgetFromThe" | "creator.publish.publishYourWidgetFromTheCreate" | "creator.embed.codeTitle" | "creator.embed.formatIframe" | "creator.embed.formatWebComponent" | "creator.embed.copied" | "creator.embed.versionIsLiveAndReady" | "creator.embed.embedYourWidget" | "creator.embed.setDimensionsAndCopyThe" | "creator.embed.embedWidth" | "creator.embed.embedHeight" | "creator.embed.copyEmbedCode" | "creator.embed.embedFormat" | "creator.dialog.removeShape" | "creator.dialog.alsoDeleteWidget" | "creator.dialog.deleteCanvas" | "creator.dialog.alsoDeleteWidgets" | "creator.status.label" | "creator.status.preparingCodeGeneration" | "creator.status.ready" | "creator.status.completedPreviewReady" | "creator.status.generationCompletePreviewReady" | "creator.status.completedAutoSaving" | "creator.status.completedSaved" | "creator.status.completedChangesSaved" | "creator.status.failed" | "creator.status.stoppedByUser" | "creator.status.fixingCompilationErrors" | "creator.status.generatingMockCode" | "creator.status.mockCodeComplete" | "creator.status.processingQueuedRequest" | "creator.status.sessionExpired" | "creator.status.repositoryRequired" | "creator.status.runningQueued" | "creator.status.repositoryReady" | "creator.status.answeredFromDetails" | "creator.status.needMoreDetail" | "creator.status.noGenerationNeeded" | "creator.status.authenticationExpired" | "creator.status.noOperationId" | "creator.status.processingQueued" | "creator.status.inProgress" | "creator.status.generating" | "creator.status.generatingProgress" | "creator.status.savedBuildingPreview" | "creator.status.savedLoadingPreview" | "creator.status.savedPreviewRebuilt" | "creator.status.alreadySavedCompilingPreview" | "creator.status.alreadySavedShaCompilingPreview" | "creator.status.alreadySavedPreviewFailed" | "creator.status.alreadySavedShaPreviewFailed" | "creator.status.previewReady" | "creator.status.alreadyRunning" | "creator.status.needsRefresh" | "creator.status.limitReached" | "creator.status.rateLimited" | "creator.status.failedWithReason" | "creator.status.reconnected" | "creator.status.versionSaved" | "creator.status.versionNumberSaved" | "creator.conversation.version" | "creator.conversation.previousVersion" | "creator.conversation.restoredFromCommit" | "creator.conversation.completedCommitPreviewLoading" | "creator.conversation.completedCommitPreviewReady" | "creator.conversation.completedPreviewLoading" | "creator.conversation.codeSavedShaBuilding" | "creator.conversation.codeSavedShaLoading" | "creator.conversation.codeSavedShaRebuilt" | "creator.conversation.codeSavedCommitPreviewFailed" | "creator.conversation.stoppedRetryPrompt" | "creator.conversation.previewRecompiled" | "creator.conversation.previewRecompiledCommitPart" | "creator.conversation.previewRecompiledDurationPart" | "creator.conversation.alreadyDoneWithCommit" | "creator.conversation.alreadyDone" | "creator.conversation.alreadyDoneFilesSuffix" | "creator.conversation.convert" | "creator.conversation.widgetConversion" | "creator.error.generationFailedWhileYouWere" | "creator.error.generationTrackingLost" | "creator.error.unableToResolveRepositoryFor" | "creator.error.authenticationExpiredPleaseLoginAgain" | "creator.error.cannotTrackCodeGenerationProgress" | "creator.error.usageLimitExceeded" | "creator.error.tooManyRequestsPleaseTry" | "creator.error.codeGenerationFailed" | "creator.error.widgetBuilderIsNotReachable" | "creator.error.buildRequestFailed" | "creator.error.notAuthenticated" | "creator.error.apiClientIsNotConfigured" | "creator.error.publishedVersionIsNotAvailable" | "creator.error.failedToCompileWidgetCode" | "creator.error.previewNotReadyYetClick" | "creator.error.previewNotReadyYetClickRebuild" | "creator.error.previewLoadedButTheWidget" | "creator.error.previewTimedOutTheDev" | "creator.error.couldNotOpenPreviewUrl" | "creator.error.couldNotFetchThePreview" | "creator.error.widgetPreviewRuntimeErrorHttp" | "creator.error.previewBuildFailed" | "creator.error.savedCodeCouldNotBeCompiled" | "creator.error.couldNotReachThePreview" | "creator.error.previewRebuildIsUnavailableIn" | "creator.error.previewBuilderIsUnavailableThe" | "creator.error.previewBuilderReturnedAnUnexpected" | "creator.error.anUnknownErrorOccurred" | "creator.error.couldNotReachTheServer" | "creator.error.buildFailed" | "creator.details.fixThePromptOrAttachments" | "creator.details.codeGenerationWillStartShortly" | "creator.details.saveWillExecuteShortly" | "creator.details.codeGenerationQueued" | "creator.details.saveQueued" | "creator.details.closeWidgetDetails" | "creator.details.widgetDraft" | "creator.details.createWidgetCode" | "creator.details.create" | "creator.details.editComposition" | "creator.details.publishTheWidgetToEdit" | "creator.details.edit" | "creator.details.embedThePublishedWidget" | "creator.details.publishTheWidgetToGet" | "creator.details.embed" | "creator.details.openLivePreview" | "creator.details.closeLivePreview" | "creator.details.showLivePreview" | "creator.details.preview" | "creator.details.dragToResizeChatPreview" | "creator.details.livePreview" | "creator.details.recompileWidgetCodeForPreview" | "creator.details.rebuilding" | "creator.details.rebuild" | "creator.details.clickToFocusThisWidget" | "creator.details.livePreviewBelow" | "creator.details.generatingCode" | "creator.details.loadingPreview" | "creator.details.sketchDraft" | "creator.details.yourSketchIsStillOn" | "creator.details.sendThePromptInChat" | "creator.details.preparingWidget" | "creator.details.settingUpRepository" | "creator.details.widgetHasNoRepository" | "creator.details.repositoryCreationFailedPreviouslyClick" | "creator.details.createRepository" | "creator.details.noCodeYet" | "creator.details.writeAPromptAndGenerate" | "creator.details.generateNow" | "creator.details.previewUnavailable" | "creator.details.rebuildCode" | "creator.details.fixCompileError" | "creator.details.retryBuild" | "creator.details.retry" | "creator.details.buildingPreview" | "creator.details.compilingWidgetCode" | "creator.details.previewWillAppearAfterCode" | "creator.details.resizePanel" | "creator.details.resizeWidth" | "creator.details.resizeHeight" | "creator.brandKit.languageIsFixedAfterThe" | "creator.brandKit.selectLanguage" | "creator.brandKit.brandKit" | "creator.brandKit.libraries" | "creator.brandKit.replacesTheWidgeticPaletteFor" | "creator.brandKit.colorPalette" | "creator.brandKit.primary" | "creator.brandKit.secondary" | "creator.brandKit.title" | "creator.brandKit.sub" | "creator.brandKit.fonts" | "creator.brandKit.addFont" | "creator.brandKit.fontLabel" | "creator.brandKit.font" | "creator.brandKit.removeFont" | "creator.brandKit.uploadFonts" | "creator.brandKit.uploadAFontFileOr" | "creator.brandKit.urlArchiveWoff2TtfOtf" | "creator.brandKit.removeUploadedFont" | "creator.brandKit.icons" | "creator.brandKit.addIconLibrary" | "creator.brandKit.removeIconLibrary" | "creator.brandKit.uploadIconLibraryTooltip" | "creator.brandKit.urlIcons" | "creator.brandKit.addLibrary" | "creator.brandKit.uploadLibrary" | "creator.brandKit.removeLibrary" | "creator.brandKit.uploadCustomLibraryTooltip" | "creator.brandKit.urlLibraries" | "creator.livePreviews.dragWidget" | "creator.livePreviews.primaryWidget" | "creator.livePreviews.setPrimary" | "creator.livePreviews.publishLatest" | "creator.livePreviews.currentlyLive" | "creator.livePreviews.makeThisVersionLive" | "creator.livePreviews.publishThisDraft" | "creator.livePreviews.noCommitToPublish" | "creator.livePreviews.currentVersion" | "creator.livePreviews.editMode" | "creator.livePreviews.refreshPreview" | "creator.livePreviews.refresh" | "creator.livePreviews.openChat" | "creator.livePreviews.chat" | "creator.livePreviews.liveWidgetPreview" | "creator.livePreviews.building" | "creator.versions.addTitle" | "creator.versions.renameVersion" | "creator.versions.addVersionTitle" | "creator.versions.addATitleForThis" | "creator.versions.notPublishedPreviewOnly" | "creator.versions.live" | "creator.selector.select" | "creator.selector.doubleClickToRename" | "creator.selector.toggleList" | "creator.selector.noItemsFound" | "creator.name.unnamed" | "creator.name.saveName" | "creator.name.renameWidget" | "creator.designEdit.shownAsAppliedTheseControls" | "creator.designEdit.notAvailableInThisWidget" | "creator.fileSource.uploadFile" | "creator.fileSource.url" | "creator.elementSelector.removeSelectedElement" | "creator.elementSelector.clickPartToReference" | "creator.elementSelector.parentChild" | "creator.elementSelector.hold" | "creator.elementSelector.cmdCtrl" | "creator.elementSelector.toInteract" | "creator.elementSelector.esc" | "creator.elementSelector.done" | "creator.elementSelector.notePlaceholder">;
|
package/dist/i18n/messages.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export declare const CREATOR_MESSAGES: {
|
|
|
15
15
|
readonly 'creator.common.publish': "Publish";
|
|
16
16
|
readonly 'creator.common.switchVersion': "Switch version";
|
|
17
17
|
readonly 'creator.common.live': "Live";
|
|
18
|
-
readonly 'creator.common.buildThisDraftVersionAnd': "Build this draft version and make it the Live version";
|
|
19
18
|
readonly 'creator.common.setLive': "Set live";
|
|
20
19
|
readonly 'creator.common.retry': "Retry";
|
|
21
20
|
readonly 'creator.common.delete': "Delete";
|
|
@@ -121,6 +120,7 @@ export declare const CREATOR_MESSAGES: {
|
|
|
121
120
|
readonly 'creator.widget.widgetDuplicated': "Widget duplicated";
|
|
122
121
|
readonly 'creator.widget.widgetKeptInDatabase2': "Widget \"{name}\" kept in database";
|
|
123
122
|
readonly 'creator.widget.youCanKeepEditingWidgets': "You can keep editing widgets. Retry load if shapes are missing.";
|
|
123
|
+
readonly 'creator.widget.oneWidgetAlready': "This canvas already has a widget. Turn Advanced on to add another.";
|
|
124
124
|
readonly 'creator.widget.widgetDraftCreated': "Widget draft created";
|
|
125
125
|
readonly 'creator.widget.failedToPrepareWidgetDraft': "Failed to prepare widget draft";
|
|
126
126
|
readonly 'creator.widget.failedToCreateWidgetFrom': "Failed to create widget from design";
|
|
@@ -277,6 +277,8 @@ export declare const CREATOR_MESSAGES: {
|
|
|
277
277
|
readonly 'creator.version.restoreCompletedWithWarnings': "Restore completed with warnings";
|
|
278
278
|
readonly 'creator.version.failedToRestoreCheckpoint': "Failed to restore checkpoint";
|
|
279
279
|
readonly 'creator.version.restoreRefusedWhileGenerating': "Nothing was restored because a generation is running in this widget. Try again when it has finished.";
|
|
280
|
+
readonly 'creator.version.restoreAlreadyRunning': "A restore is already running for this widget. Wait for it to finish.";
|
|
281
|
+
readonly 'creator.version.codeWasNotRolledBack': "The code was not put back, so the chat was left as it was.";
|
|
280
282
|
readonly 'creator.version.restoreRefusedNewerCode': "Nothing was restored because newer code was saved after this checkpoint was shown. Check the version list, then restore again if you still want this checkpoint.";
|
|
281
283
|
readonly 'creator.version.restoreRefusedLatestCodeUnknown': "Nothing was restored because the latest code could not be checked. Try again in a moment.";
|
|
282
284
|
readonly 'creator.version.versionIsNowLive': "Version {version} is now live.";
|
|
@@ -380,6 +382,8 @@ export declare const CREATOR_MESSAGES: {
|
|
|
380
382
|
readonly 'creator.status.rateLimited': "Rate limited — too many requests. Wait ~30s and retry.";
|
|
381
383
|
readonly 'creator.status.failedWithReason': "Code generation failed: {reason}";
|
|
382
384
|
readonly 'creator.status.reconnected': "Reconnected — code generation in progress... {progress}%";
|
|
385
|
+
readonly 'creator.status.versionSaved': "Version saved";
|
|
386
|
+
readonly 'creator.status.versionNumberSaved': "Version {version} saved";
|
|
383
387
|
readonly 'creator.conversation.version': "Version {number}";
|
|
384
388
|
readonly 'creator.conversation.previousVersion': "a previous version";
|
|
385
389
|
readonly 'creator.conversation.restoredFromCommit': "Restored from {label}\n\nCommit: {commit}";
|
|
@@ -481,7 +485,28 @@ export declare const CREATOR_MESSAGES: {
|
|
|
481
485
|
readonly 'creator.details.resizeHeight': "Resize height";
|
|
482
486
|
readonly 'creator.brandKit.languageIsFixedAfterThe': "Language is fixed after the first generation";
|
|
483
487
|
readonly 'creator.brandKit.selectLanguage': "Select language";
|
|
488
|
+
readonly 'creator.brandKit.brandKit': "Brand kit";
|
|
484
489
|
readonly 'creator.brandKit.libraries': "Libraries";
|
|
490
|
+
readonly 'creator.brandKit.replacesTheWidgeticPaletteFor': "Replaces the Widgetic palette for this generation.";
|
|
491
|
+
readonly 'creator.brandKit.colorPalette': "Color palette";
|
|
492
|
+
readonly 'creator.brandKit.primary': "Primary";
|
|
493
|
+
readonly 'creator.brandKit.secondary': "Secondary";
|
|
494
|
+
readonly 'creator.brandKit.title': "Title";
|
|
495
|
+
readonly 'creator.brandKit.sub': "Sub";
|
|
496
|
+
readonly 'creator.brandKit.fonts': "Fonts";
|
|
497
|
+
readonly 'creator.brandKit.addFont': "+ Font";
|
|
498
|
+
readonly 'creator.brandKit.fontLabel': "Font";
|
|
499
|
+
readonly 'creator.brandKit.font': "Font {number}";
|
|
500
|
+
readonly 'creator.brandKit.removeFont': "Remove font";
|
|
501
|
+
readonly 'creator.brandKit.uploadFonts': "Upload Fonts";
|
|
502
|
+
readonly 'creator.brandKit.uploadAFontFileOr': "Upload a font file or an archive.";
|
|
503
|
+
readonly 'creator.brandKit.urlArchiveWoff2TtfOtf': "URL (archive, .woff2, .ttf, .otf)";
|
|
504
|
+
readonly 'creator.brandKit.removeUploadedFont': "Remove uploaded font";
|
|
505
|
+
readonly 'creator.brandKit.icons': "Icons";
|
|
506
|
+
readonly 'creator.brandKit.addIconLibrary': "Add icon library";
|
|
507
|
+
readonly 'creator.brandKit.removeIconLibrary': "Remove icon library";
|
|
508
|
+
readonly 'creator.brandKit.uploadIconLibraryTooltip': "Upload your icon library.";
|
|
509
|
+
readonly 'creator.brandKit.urlIcons': "URL (git, archive, .svg, {extension})";
|
|
485
510
|
readonly 'creator.brandKit.addLibrary': "Add Library";
|
|
486
511
|
readonly 'creator.brandKit.uploadLibrary': "Upload library";
|
|
487
512
|
readonly 'creator.brandKit.removeLibrary': "Remove library";
|
|
@@ -528,5 +553,6 @@ export declare const CREATOR_MESSAGES: {
|
|
|
528
553
|
readonly 'creator.elementSelector.toInteract': "to move";
|
|
529
554
|
readonly 'creator.elementSelector.esc': "Esc";
|
|
530
555
|
readonly 'creator.elementSelector.done': "done";
|
|
556
|
+
readonly 'creator.elementSelector.notePlaceholder': "Note for this part";
|
|
531
557
|
};
|
|
532
558
|
export type CreatorMessageKey = keyof typeof CREATOR_MESSAGES;
|
package/dist/i18n/messages.js
CHANGED
|
@@ -16,7 +16,6 @@ export const CREATOR_MESSAGES = {
|
|
|
16
16
|
'creator.common.publish': 'Publish',
|
|
17
17
|
'creator.common.switchVersion': 'Switch version',
|
|
18
18
|
'creator.common.live': 'Live',
|
|
19
|
-
'creator.common.buildThisDraftVersionAnd': 'Build this draft version and make it the Live version',
|
|
20
19
|
'creator.common.setLive': 'Set live',
|
|
21
20
|
'creator.common.retry': 'Retry',
|
|
22
21
|
'creator.common.delete': 'Delete',
|
|
@@ -125,6 +124,7 @@ export const CREATOR_MESSAGES = {
|
|
|
125
124
|
'creator.widget.widgetDuplicated': 'Widget duplicated',
|
|
126
125
|
'creator.widget.widgetKeptInDatabase2': 'Widget "{name}" kept in database',
|
|
127
126
|
'creator.widget.youCanKeepEditingWidgets': 'You can keep editing widgets. Retry load if shapes are missing.',
|
|
127
|
+
'creator.widget.oneWidgetAlready': 'This canvas already has a widget. Turn Advanced on to add another.',
|
|
128
128
|
'creator.widget.widgetDraftCreated': 'Widget draft created',
|
|
129
129
|
'creator.widget.failedToPrepareWidgetDraft': 'Failed to prepare widget draft',
|
|
130
130
|
'creator.widget.failedToCreateWidgetFrom': 'Failed to create widget from design',
|
|
@@ -288,6 +288,8 @@ export const CREATOR_MESSAGES = {
|
|
|
288
288
|
'creator.version.failedToRestoreCheckpoint': 'Failed to restore checkpoint',
|
|
289
289
|
// A restore the API refused before it deleted a message or touched a file (the toast's title is the line above)
|
|
290
290
|
'creator.version.restoreRefusedWhileGenerating': 'Nothing was restored because a generation is running in this widget. Try again when it has finished.',
|
|
291
|
+
'creator.version.restoreAlreadyRunning': 'A restore is already running for this widget. Wait for it to finish.',
|
|
292
|
+
'creator.version.codeWasNotRolledBack': 'The code was not put back, so the chat was left as it was.',
|
|
291
293
|
'creator.version.restoreRefusedNewerCode': 'Nothing was restored because newer code was saved after this checkpoint was shown. Check the version list, then restore again if you still want this checkpoint.',
|
|
292
294
|
'creator.version.restoreRefusedLatestCodeUnknown': 'Nothing was restored because the latest code could not be checked. Try again in a moment.',
|
|
293
295
|
'creator.version.versionIsNowLive': 'Version {version} is now live.',
|
|
@@ -395,6 +397,8 @@ export const CREATOR_MESSAGES = {
|
|
|
395
397
|
'creator.status.rateLimited': 'Rate limited — too many requests. Wait ~30s and retry.',
|
|
396
398
|
'creator.status.failedWithReason': 'Code generation failed: {reason}',
|
|
397
399
|
'creator.status.reconnected': 'Reconnected — code generation in progress... {progress}%',
|
|
400
|
+
'creator.status.versionSaved': 'Version saved',
|
|
401
|
+
'creator.status.versionNumberSaved': 'Version {version} saved',
|
|
398
402
|
// Lines the creator saves into the chat in English; conversationLineLabel says them in the page's language.
|
|
399
403
|
'creator.conversation.version': 'Version {number}',
|
|
400
404
|
'creator.conversation.previousVersion': 'a previous version',
|
|
@@ -500,7 +504,28 @@ export const CREATOR_MESSAGES = {
|
|
|
500
504
|
// Generation options in chat: language (debug) and custom libraries (debug).
|
|
501
505
|
'creator.brandKit.languageIsFixedAfterThe': 'Language is fixed after the first generation',
|
|
502
506
|
'creator.brandKit.selectLanguage': 'Select language',
|
|
507
|
+
'creator.brandKit.brandKit': 'Brand kit',
|
|
503
508
|
'creator.brandKit.libraries': 'Libraries',
|
|
509
|
+
'creator.brandKit.replacesTheWidgeticPaletteFor': 'Replaces the Widgetic palette for this generation.',
|
|
510
|
+
'creator.brandKit.colorPalette': 'Color palette',
|
|
511
|
+
'creator.brandKit.primary': 'Primary',
|
|
512
|
+
'creator.brandKit.secondary': 'Secondary',
|
|
513
|
+
'creator.brandKit.title': 'Title',
|
|
514
|
+
'creator.brandKit.sub': 'Sub',
|
|
515
|
+
'creator.brandKit.fonts': 'Fonts',
|
|
516
|
+
'creator.brandKit.addFont': '+ Font',
|
|
517
|
+
'creator.brandKit.fontLabel': 'Font',
|
|
518
|
+
'creator.brandKit.font': 'Font {number}',
|
|
519
|
+
'creator.brandKit.removeFont': 'Remove font',
|
|
520
|
+
'creator.brandKit.uploadFonts': 'Upload Fonts',
|
|
521
|
+
'creator.brandKit.uploadAFontFileOr': 'Upload a font file or an archive.',
|
|
522
|
+
'creator.brandKit.urlArchiveWoff2TtfOtf': 'URL (archive, .woff2, .ttf, .otf)',
|
|
523
|
+
'creator.brandKit.removeUploadedFont': 'Remove uploaded font',
|
|
524
|
+
'creator.brandKit.icons': 'Icons',
|
|
525
|
+
'creator.brandKit.addIconLibrary': 'Add icon library',
|
|
526
|
+
'creator.brandKit.removeIconLibrary': 'Remove icon library',
|
|
527
|
+
'creator.brandKit.uploadIconLibraryTooltip': 'Upload your icon library.',
|
|
528
|
+
'creator.brandKit.urlIcons': 'URL (git, archive, .svg, {extension})',
|
|
504
529
|
'creator.brandKit.addLibrary': 'Add Library',
|
|
505
530
|
'creator.brandKit.uploadLibrary': 'Upload library',
|
|
506
531
|
'creator.brandKit.removeLibrary': 'Remove library',
|
|
@@ -554,4 +579,5 @@ export const CREATOR_MESSAGES = {
|
|
|
554
579
|
'creator.elementSelector.toInteract': 'to move',
|
|
555
580
|
'creator.elementSelector.esc': 'Esc',
|
|
556
581
|
'creator.elementSelector.done': 'done',
|
|
582
|
+
'creator.elementSelector.notePlaceholder': 'Note for this part',
|
|
557
583
|
};
|
package/dist/i18n/statusText.js
CHANGED
|
@@ -38,6 +38,8 @@ const KNOWN_TEXTS = new Map([
|
|
|
38
38
|
['Code already saved — preview failed.', (t) => t('creator.status.alreadySavedPreviewFailed')],
|
|
39
39
|
['The saved code could not be compiled into a preview.', (t) => t('creator.error.savedCodeCouldNotBeCompiled')],
|
|
40
40
|
['Preview ready', (t) => t('creator.status.previewReady')],
|
|
41
|
+
// The line a deferred save writes when it has no version number to name (the numbered one is in KNOWN_PATTERNS)
|
|
42
|
+
['Version saved', (t) => t('creator.status.versionSaved')],
|
|
41
43
|
['A code generation is already running. Please wait for it to finish.', (t) => t('creator.status.alreadyRunning')],
|
|
42
44
|
['This app needs a refresh to continue.', (t) => t('creator.status.needsRefresh')],
|
|
43
45
|
['Limit reached for now. Please try again later.', (t) => t('creator.status.limitReached')],
|
|
@@ -81,6 +83,8 @@ const KNOWN_PATTERNS = [
|
|
|
81
83
|
// The same two "already saved" lines with the commit the creator names in them
|
|
82
84
|
{ pattern: /^Code already saved \(([a-f0-9]{7,8})\) — compiling preview…$/, say: (found, t) => t('creator.status.alreadySavedShaCompilingPreview', { sha: found[1] }) },
|
|
83
85
|
{ pattern: /^Code already saved \(([a-f0-9]{7,8})\) — preview failed\.$/, say: (found, t) => t('creator.status.alreadySavedShaPreviewFailed', { sha: found[1] }) },
|
|
86
|
+
// The line a deferred save writes once it knows the number of the version it recorded
|
|
87
|
+
{ pattern: /^Version (\d+) saved$/, say: (found, t) => t('creator.status.versionNumberSaved', { version: found[1] }) },
|
|
84
88
|
];
|
|
85
89
|
/** How a version name reads in a line the chat saved in English ("Version 4", "a previous version"). */
|
|
86
90
|
function sayVersionNameInConversation(name, t) {
|
package/dist/pageHelpers.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export declare function looksLikeHtmlErrorPage(raw: string | null | undefined):
|
|
|
7
7
|
export declare function sanitizePreviewBuildError(raw: string | null | undefined): string;
|
|
8
8
|
export declare function isInfrastructurePreviewError(raw: string | null | undefined): boolean;
|
|
9
9
|
export declare function normalizeErrorMessage(rawError: string | Error | unknown): string;
|
|
10
|
+
/** A GitLab 429 is shown as that sentence, not as a generic code-generation failure. */
|
|
11
|
+
export declare function codegenFailureChatLine(errorText: string): string;
|
|
10
12
|
export declare function toErrorMessage(error: unknown, fallback: string): string;
|
|
11
13
|
export declare function extractDetailsMessage(payload: unknown): string | null;
|
|
12
14
|
export declare function deriveApiErrorMessage(error: unknown, defaultMessage: string): Promise<string>;
|
package/dist/pageHelpers.js
CHANGED
|
@@ -82,6 +82,16 @@ export function normalizeErrorMessage(rawError) {
|
|
|
82
82
|
}
|
|
83
83
|
return extracted.length > 400 ? `${extracted.slice(0, 400)}…` : extracted;
|
|
84
84
|
}
|
|
85
|
+
/** A GitLab 429 is shown as that sentence, not as a generic code-generation failure. */
|
|
86
|
+
export function codegenFailureChatLine(errorText) {
|
|
87
|
+
const text = errorText.trim();
|
|
88
|
+
if (/^Code generation failed/i.test(text) || /^⚠️/.test(text))
|
|
89
|
+
return text;
|
|
90
|
+
if (/gitlab rate limit|gitlab refused the (save|rollback)|last status code:\s*429/i.test(text)) {
|
|
91
|
+
return `⚠️ ${text}`;
|
|
92
|
+
}
|
|
93
|
+
return `Code generation failed: ${text}`;
|
|
94
|
+
}
|
|
85
95
|
export function toErrorMessage(error, fallback) {
|
|
86
96
|
if (error instanceof Error && error.message) {
|
|
87
97
|
return looksLikeHtmlErrorPage(error.message)
|
|
@@ -39,6 +39,15 @@ interface ConnectionState {
|
|
|
39
39
|
}
|
|
40
40
|
export declare const connectionState: import("svelte/store").Writable<ConnectionState>;
|
|
41
41
|
export declare const dynamicWorkerPreviewStatus: import("svelte/store").Writable<DynamicWorkerPreviewStatus>;
|
|
42
|
+
/** A generation GitLab refused with 429, saved later and given a version. */
|
|
43
|
+
export interface DeferredVersionRecorded {
|
|
44
|
+
widgetId: string | null;
|
|
45
|
+
commitId: string | null;
|
|
46
|
+
commitTitle: string | null;
|
|
47
|
+
version: number | null;
|
|
48
|
+
timestamp: string | null;
|
|
49
|
+
}
|
|
50
|
+
export declare const deferredVersionRecorded: import("svelte/store").Writable<DeferredVersionRecorded>;
|
|
42
51
|
export declare const widgetPublishStatus: import("svelte/store").Writable<WidgetPublishStatus>;
|
|
43
52
|
export declare const codeGenerationStatus: import("svelte/store").Writable<CodeGenerationStatus>;
|
|
44
53
|
export declare const agentHarnessOutput: import("svelte/store").Writable<AgentHarnessOutput>;
|
|
@@ -42,6 +42,13 @@ const emptyCodeGenerationStatus = () => ({
|
|
|
42
42
|
});
|
|
43
43
|
export const connectionState = writable(emptyConnectionState());
|
|
44
44
|
export const dynamicWorkerPreviewStatus = writable(emptyDynamicWorkerPreviewStatus());
|
|
45
|
+
export const deferredVersionRecorded = writable({
|
|
46
|
+
widgetId: null,
|
|
47
|
+
commitId: null,
|
|
48
|
+
commitTitle: null,
|
|
49
|
+
version: null,
|
|
50
|
+
timestamp: null,
|
|
51
|
+
});
|
|
45
52
|
export const widgetPublishStatus = writable(emptyWidgetPublishStatus());
|
|
46
53
|
export const codeGenerationStatus = writable(emptyCodeGenerationStatus());
|
|
47
54
|
export const agentHarnessOutput = writable(null);
|
|
@@ -267,6 +274,19 @@ function setupSocketListeners(sock) {
|
|
|
267
274
|
timestamp: new Date().toISOString()
|
|
268
275
|
});
|
|
269
276
|
});
|
|
277
|
+
sock.on('deferred_version_recorded', (data) => {
|
|
278
|
+
if (!data?.widgetId || !data.commitId)
|
|
279
|
+
return;
|
|
280
|
+
if (showLogs)
|
|
281
|
+
console.log('[WsStore] Deferred version recorded', data.widgetId.substring(0, 8), data.version);
|
|
282
|
+
deferredVersionRecorded.set({
|
|
283
|
+
widgetId: data.widgetId,
|
|
284
|
+
commitId: data.commitId,
|
|
285
|
+
commitTitle: data.commitTitle ?? null,
|
|
286
|
+
version: typeof data.version === 'number' ? data.version : null,
|
|
287
|
+
timestamp: new Date().toISOString(),
|
|
288
|
+
});
|
|
289
|
+
});
|
|
270
290
|
}
|
|
271
291
|
// =============================================================================
|
|
272
292
|
// Public Functions
|
|
@@ -101,7 +101,7 @@ export type StopOutcome =
|
|
|
101
101
|
};
|
|
102
102
|
/** The part of the generated client that `requestOperationStop` uses. */
|
|
103
103
|
export interface OperationStopClient {
|
|
104
|
-
|
|
104
|
+
cancelOperationRaw: (requestParameters: {
|
|
105
105
|
id: string;
|
|
106
106
|
}) => Promise<{
|
|
107
107
|
raw: Response;
|
|
@@ -158,7 +158,7 @@ export async function requestOperationStop(client, operationId, options = {}) {
|
|
|
158
158
|
let lastError = null;
|
|
159
159
|
for (let attempt = 1; attempt <= attempts; attempt += 1) {
|
|
160
160
|
try {
|
|
161
|
-
const response = await client.
|
|
161
|
+
const response = await client.cancelOperationRaw({ id: operationId });
|
|
162
162
|
let body = null;
|
|
163
163
|
try {
|
|
164
164
|
body = await response.raw.json();
|