@widgetic/creator 0.4.49 → 0.4.51

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.
@@ -17,7 +17,6 @@ export declare const CREATOR_CATALOGS: {
17
17
  readonly 'creator.common.thisAppNeedsARefresh': "This app needs a refresh";
18
18
  readonly 'creator.common.reload': "Reload";
19
19
  readonly 'creator.common.publish': "Publish";
20
- readonly 'creator.common.update': "Update";
21
20
  readonly 'creator.common.switchVersion': "Switch version";
22
21
  readonly 'creator.common.live': "Live";
23
22
  readonly 'creator.common.setLive': "Set live";
@@ -104,7 +103,6 @@ export declare const CREATOR_CATALOGS: {
104
103
  readonly 'creator.widget.untitledName': "Untitled widget";
105
104
  readonly 'creator.widget.shapeRemoved': "Shape removed";
106
105
  readonly 'creator.widget.widgetKeptInDatabase': "Widget kept in database";
107
- readonly 'creator.widget.widgetDeletedFromDatabase': "Widget deleted from database";
108
106
  readonly 'creator.widget.widgetWasAlreadyDeleted': "Widget was already deleted";
109
107
  readonly 'creator.widget.failedToDeleteWidgetFrom': "Failed to delete widget from database";
110
108
  readonly 'creator.widget.selectAWidgetFirst': "Select a widget first";
@@ -119,7 +117,6 @@ export declare const CREATOR_CATALOGS: {
119
117
  readonly 'creator.widget.duplicatingWidget': "Duplicating widget...";
120
118
  readonly 'creator.widget.failedToDuplicateWidget': "Failed to duplicate widget";
121
119
  readonly 'creator.widget.widgetDuplicated': "Widget duplicated";
122
- readonly 'creator.widget.widgetKeptInDatabase2': "Widget \"{name}\" kept in database";
123
120
  readonly 'creator.widget.youCanKeepEditingWidgets': "You can keep editing widgets. Retry load if shapes are missing.";
124
121
  readonly 'creator.widget.oneWidgetAlready': "This canvas already has a widget. Turn Advanced on to add another.";
125
122
  readonly 'creator.widget.failedToCreateWidgetFrom': "Failed to create widget from design";
@@ -128,7 +125,7 @@ export declare const CREATOR_CATALOGS: {
128
125
  readonly 'creator.widget.repoIdToDeleteUse': "Repo ID: {id}…\nTo delete, use the Delete widget button.";
129
126
  readonly 'creator.widget.restoreShapes': "Restore shapes";
130
127
  readonly 'creator.widget.directWidgetUrl': "Direct Widget URL";
131
- readonly 'creator.widget.deleteWidgetShape': "Delete Widget Shape";
128
+ readonly 'creator.widget.deleteWidget': "Delete widget";
132
129
  readonly 'creator.widget.theseWidgetsBelongToMore': "These widgets belong to more than one project.";
133
130
  readonly 'creator.canvas.appearsEmptyButWidgets': "Canvas appears empty but {count, plural, one {# widget exists} other {# widgets exist}} on this canvas";
134
131
  readonly 'creator.canvas.restoredShapes': "Restored {count, plural, one {# widget shape} other {# widget shapes}} on canvas";
@@ -143,7 +140,6 @@ export declare const CREATOR_CATALOGS: {
143
140
  readonly 'creator.canvas.widgetCanvasAndRepositoryAre': "Widget, canvas, and repository are required.";
144
141
  readonly 'creator.canvas.canvasIsRequiredBeforePublishing': "Canvas is required before publishing.";
145
142
  readonly 'creator.canvas.thisShapePointsToA': "This shape points to a deleted or moved widget. Select it and press Delete, or use \"Remove from canvas\" in the sidebar.";
146
- readonly 'creator.canvas.shapeRemovedFromCanvas': "Shape removed from canvas";
147
143
  readonly 'creator.canvas.canvasIsTakingLongerThan': "Canvas is taking longer than expected";
148
144
  readonly 'creator.canvas.canvasShapesFailedToRender': "Canvas shapes failed to render";
149
145
  readonly 'creator.canvas.failedToLoadCanvasFrom': "Failed to load canvas from API";
@@ -161,8 +157,12 @@ export declare const CREATOR_CATALOGS: {
161
157
  readonly 'creator.canvas.shapeDataMayBeMissing': "Shape data may be missing from the saved canvas (failed autosave or API quota). Widgets still work from the list — click Restore shapes to re-add placeholders on the canvas.";
162
158
  readonly 'creator.canvas.deleteCanvas': "Delete Canvas";
163
159
  readonly 'creator.embedded.tabCanvas': "Canvas";
164
- readonly 'creator.sketch.customize': "Customize";
165
160
  readonly 'creator.sketch.publishedJustNow': "Published just now";
161
+ readonly 'creator.sketch.boardChipGenerating': "Generating your widget";
162
+ readonly 'creator.sketch.boardChipReady': "Your widget is ready";
163
+ readonly 'creator.sketch.boardChipFailed': "Could not generate your widget";
164
+ readonly 'creator.sketch.boardChipStop': "Stop";
165
+ readonly 'creator.sketch.boardChipTryAgain': "Try again";
166
166
  readonly 'creator.sketch.publishNeedsWidget': "Send a message first so your widget gets built, then publish it.";
167
167
  readonly 'creator.composition.compositionCreated': "Composition \"{name}\" created";
168
168
  readonly 'creator.composition.failedToCreateComposition': "Failed to create composition: {message}";
@@ -228,7 +228,6 @@ export declare const CREATOR_CATALOGS: {
228
228
  readonly 'creator.codegen.repositoryMissingUseRebuildCode': "Repository missing — use Rebuild code or regenerate to create one.";
229
229
  readonly 'creator.codegen.buildFailedCheckLogsFor': "Build failed. Check logs for details.";
230
230
  readonly 'creator.codegen.createdWithExistingCode': "\"{name}\" created with existing code";
231
- readonly 'creator.codegen.assistantModelLabel': "Assistant";
232
231
  readonly 'creator.codegen.repositoryIsNowLinkedTo': "Repository {id}… is now linked to this widget.";
233
232
  readonly 'creator.codegen.repositoryExists': "Repository exists";
234
233
  readonly 'creator.codegen.repositoryOwnedByAnotherAccount': "Repository owned by another account";
@@ -329,8 +328,6 @@ export declare const CREATOR_CATALOGS: {
329
328
  readonly 'creator.embed.embedHeight': "Embed height";
330
329
  readonly 'creator.embed.copyEmbedCode': "Copy Embed Code";
331
330
  readonly 'creator.embed.embedFormat': "Embed format";
332
- readonly 'creator.dialog.removeShape': "Remove {name} from the canvas? This also deletes the associated widget.";
333
- readonly 'creator.dialog.alsoDeleteWidget': "Also delete the widget {name} from the database?";
334
331
  readonly 'creator.dialog.deleteCanvas': "Are you sure you want to delete {name}? This action cannot be undone.";
335
332
  readonly 'creator.dialog.alsoDeleteWidgets': "This will also delete {count, plural, one {# widget} other {# widgets}} on this canvas:";
336
333
  readonly 'creator.status.label': "Status:";
@@ -542,6 +539,7 @@ export declare const CREATOR_CATALOGS: {
542
539
  readonly 'creator.name.unnamed': "Unnamed";
543
540
  readonly 'creator.name.saveName': "Save name";
544
541
  readonly 'creator.name.renameWidget': "Rename widget";
542
+ readonly 'creator.name.duplicateWidget': "Duplicate";
545
543
  readonly 'creator.designEdit.shownAsAppliedTheseControls': "Shown as applied. These controls were made for a different composition — reopen that one to keep adjusting them.";
546
544
  readonly 'creator.designEdit.notAvailableInThisWidget': "Not available in this widget";
547
545
  readonly 'creator.fileSource.uploadFile': "Upload file";
@@ -569,6 +567,7 @@ export declare const CREATOR_CATALOGS: {
569
567
  readonly 'chat.header.new': "New";
570
568
  readonly 'chat.header.untitled': "Untitled";
571
569
  readonly 'chat.header.newConversationTitle': "New chat";
570
+ readonly 'chat.header.noPastChats': "No previous chats yet";
572
571
  readonly 'chat.header.newConversation': "Start new conversation";
573
572
  readonly 'chat.header.console': "Console";
574
573
  readonly 'chat.header.close': "Close chat";
@@ -577,14 +576,25 @@ export declare const CREATOR_CATALOGS: {
577
576
  readonly 'chat.messages.emptyTitle': "What do you want to build?";
578
577
  readonly 'chat.messages.emptyHint': "Sketch it on the canvas, or describe it here.";
579
578
  readonly 'chat.messages.loadingHistory': "Loading chat history...";
580
- readonly 'chat.messages.thinking': "Assistant is thinking";
581
- readonly 'chat.generation.thinking': "Thinking";
582
- readonly 'chat.generation.writingCode': "Writing code";
579
+ readonly 'chat.messages.thinking': "Thinking\u2026";
580
+ readonly 'chat.generation.thinking': "Thinking\u2026";
581
+ readonly 'chat.generation.writingCode': "Writing code\u2026";
583
582
  readonly 'chat.generation.thoughtFor': "Thought for {seconds} s";
584
583
  readonly 'chat.generation.expandThought': "Show thinking";
585
584
  readonly 'chat.generation.collapseThought': "Hide thinking";
586
- readonly 'chat.generation.statusThinking': "Assistant is thinking";
587
- readonly 'chat.generation.statusWritingCode': "Assistant is writing code";
585
+ readonly 'chat.generation.statusThinking': "Thinking";
586
+ readonly 'chat.generation.statusWritingCode': "Writing code";
587
+ readonly 'chat.generation.codeTitle': "Code";
588
+ readonly 'chat.generation.codeWritten': "Code written";
589
+ readonly 'chat.generation.codeLineCount': "{count, plural, one {# line} other {# lines}}";
590
+ readonly 'chat.generation.expandCode': "Show code";
591
+ readonly 'chat.generation.collapseCode': "Hide code";
592
+ readonly 'chat.generation.doneMessage': "Done. Your changes are ready.";
593
+ readonly 'chat.agent.avatar.success': "Done";
594
+ readonly 'chat.agent.avatar.error': "Something went wrong";
595
+ readonly 'chat.member.avatarLabel': "{name} ({email})";
596
+ readonly 'chat.member.emailLabel': "Email {name}";
597
+ readonly 'chat.member.unknown': "Team member";
588
598
  readonly 'chat.plan.title': "Build plan";
589
599
  readonly 'chat.plan.progress': "{current} of {total}";
590
600
  readonly 'chat.plan.showMoreTasks': "Show {count} more tasks";
@@ -594,7 +604,6 @@ export declare const CREATOR_CATALOGS: {
594
604
  readonly 'chat.messages.attachmentMissingLabel': "Missing file attachment";
595
605
  readonly 'chat.messages.attachmentMissingCaption': "Attachment not saved. Re-attach with Upload, then send it again.";
596
606
  readonly 'chat.messages.failedTitle': "Could not build the widget";
597
- readonly 'chat.messages.failedHint': "The build did not finish. Your sketch is safe, so you can try again.";
598
607
  readonly 'chat.messages.failedRetry': "Try again";
599
608
  readonly 'chat.messages.stoppedByYou': "You stopped the build.";
600
609
  readonly 'chat.messages.upgrade': "Upgrade";
@@ -657,7 +666,6 @@ export declare const CREATOR_CATALOGS: {
657
666
  readonly 'chat.input.send': "Send message";
658
667
  readonly 'chat.input.tooLong': "Message is too long";
659
668
  readonly 'chat.input.publishNudge': "First generate your widget, then you can publish it.";
660
- readonly 'chat.composer.assistant': "Assistant";
661
669
  readonly 'chat.messages.scrollToBottom': "Scroll to latest messages";
662
670
  readonly 'chat.messages.clarificationPrompt': "Which option fits best?";
663
671
  readonly 'chat.checkpoint.version': "Version {n}";
@@ -720,7 +728,6 @@ export declare const CREATOR_CATALOGS: {
720
728
  readonly 'chat.error.loadConversations': "Failed to load conversations.";
721
729
  readonly 'chat.error.loadConversation': "Failed to load conversation.";
722
730
  readonly 'chat.error.sendMessage': "Failed to send message. Please try again.";
723
- readonly 'chat.error.sendSuggestion': "Failed to send the selected suggestion. Please try again.";
724
731
  readonly 'chat.error.screenshotUnavailable': "Screenshot capture failed \u2014 no preview available.";
725
732
  readonly 'chat.error.screenshotFailed': "Failed to capture screenshot";
726
733
  readonly 'chat.error.screenshotActionFailed': "Screenshot action failed. Please try again.";
@@ -803,12 +810,12 @@ export declare const CREATOR_CATALOGS: {
803
810
  readonly 'canvas.action.delete': "Delete";
804
811
  readonly 'canvas.action.group': "Group";
805
812
  readonly 'canvas.action.ungroup': "Ungroup";
806
- readonly 'canvas.action.selectAll': "Select All";
807
- readonly 'canvas.layer.title': "Layer Order";
808
- readonly 'canvas.layer.front': "Bring to Front";
809
- readonly 'canvas.layer.forward': "Bring Forward";
810
- readonly 'canvas.layer.backward': "Send Backward";
811
- readonly 'canvas.layer.back': "Send to Back";
813
+ readonly 'canvas.action.selectAll': "Select all";
814
+ readonly 'canvas.layer.title': "Layer order";
815
+ readonly 'canvas.layer.front': "Bring to front";
816
+ readonly 'canvas.layer.forward': "Bring forward";
817
+ readonly 'canvas.layer.backward': "Send backward";
818
+ readonly 'canvas.layer.back': "Send to back";
812
819
  readonly 'canvas.shortcuts.title': "Keyboard Shortcuts";
813
820
  readonly 'canvas.shortcuts.close': "Close keyboard shortcuts";
814
821
  readonly 'canvas.shortcuts.groupTools': "Tools";
@@ -929,4 +936,4 @@ export declare const useCreatorLanguage: () => import("@widgetic/design-system/i
929
936
  * The English `t` of the creator, for code that has no component around it. The screens of the creator get their words, in
930
937
  * the page's language, from `useCreatorLanguage`.
931
938
  */
932
- 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.update" | "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.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.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.authenticationRequired" | "creator.session.pleaseLoginBeforeCreatingA" | "creator.session.thisWidgetReferencesARepository" | "creator.session.signInAgainThenRetry" | "creator.widget.notFound" | "creator.widget.fallbackName" | "creator.widget.untitledName" | "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.failedToCreateWidgetFrom" | "creator.widget.widgetCreatedButNoId" | "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.autosaveFailedWillRetry" | "creator.canvas.canvasSavedLocally" | "creator.canvas.noCanvasIdYet" | "creator.canvas.canvasUnavailable" | "creator.canvas.canvasShapesFailedToLoad" | "creator.canvas.shapeDataMayBeMissing" | "creator.canvas.deleteCanvas" | "creator.embedded.tabCanvas" | "creator.sketch.customize" | "creator.sketch.publishedJustNow" | "creator.sketch.publishNeedsWidget" | "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.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.assistantModelLabel" | "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.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.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.error.codeGenerationUnavailable" | "creator.error.featureUnavailable" | "creator.error.requestTimedOut" | "creator.error.permissionDenied" | "creator.error.invalidRequest" | "creator.error.serverError" | "creator.error.somethingWentWrong" | "creator.error.canvasNotFound" | "creator.error.resourceNotFound" | "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">;
939
+ 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.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.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.authenticationRequired" | "creator.session.pleaseLoginBeforeCreatingA" | "creator.session.thisWidgetReferencesARepository" | "creator.session.signInAgainThenRetry" | "creator.widget.notFound" | "creator.widget.fallbackName" | "creator.widget.untitledName" | "creator.widget.shapeRemoved" | "creator.widget.widgetKeptInDatabase" | "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.youCanKeepEditingWidgets" | "creator.widget.oneWidgetAlready" | "creator.widget.failedToCreateWidgetFrom" | "creator.widget.widgetCreatedButNoId" | "creator.widget.failedToFinalizeWidgetConversion" | "creator.widget.repoIdToDeleteUse" | "creator.widget.restoreShapes" | "creator.widget.directWidgetUrl" | "creator.widget.deleteWidget" | "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.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.autosaveFailedWillRetry" | "creator.canvas.canvasSavedLocally" | "creator.canvas.noCanvasIdYet" | "creator.canvas.canvasUnavailable" | "creator.canvas.canvasShapesFailedToLoad" | "creator.canvas.shapeDataMayBeMissing" | "creator.canvas.deleteCanvas" | "creator.embedded.tabCanvas" | "creator.sketch.publishedJustNow" | "creator.sketch.boardChipGenerating" | "creator.sketch.boardChipReady" | "creator.sketch.boardChipFailed" | "creator.sketch.boardChipStop" | "creator.sketch.boardChipTryAgain" | "creator.sketch.publishNeedsWidget" | "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.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.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.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.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.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.error.codeGenerationUnavailable" | "creator.error.featureUnavailable" | "creator.error.requestTimedOut" | "creator.error.permissionDenied" | "creator.error.invalidRequest" | "creator.error.serverError" | "creator.error.somethingWentWrong" | "creator.error.canvasNotFound" | "creator.error.resourceNotFound" | "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.name.duplicateWidget" | "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">;
@@ -13,7 +13,6 @@ export declare const CREATOR_MESSAGES: {
13
13
  readonly 'creator.common.thisAppNeedsARefresh': "This app needs a refresh";
14
14
  readonly 'creator.common.reload': "Reload";
15
15
  readonly 'creator.common.publish': "Publish";
16
- readonly 'creator.common.update': "Update";
17
16
  readonly 'creator.common.switchVersion': "Switch version";
18
17
  readonly 'creator.common.live': "Live";
19
18
  readonly 'creator.common.setLive': "Set live";
@@ -100,7 +99,6 @@ export declare const CREATOR_MESSAGES: {
100
99
  readonly 'creator.widget.untitledName': "Untitled widget";
101
100
  readonly 'creator.widget.shapeRemoved': "Shape removed";
102
101
  readonly 'creator.widget.widgetKeptInDatabase': "Widget kept in database";
103
- readonly 'creator.widget.widgetDeletedFromDatabase': "Widget deleted from database";
104
102
  readonly 'creator.widget.widgetWasAlreadyDeleted': "Widget was already deleted";
105
103
  readonly 'creator.widget.failedToDeleteWidgetFrom': "Failed to delete widget from database";
106
104
  readonly 'creator.widget.selectAWidgetFirst': "Select a widget first";
@@ -115,7 +113,6 @@ export declare const CREATOR_MESSAGES: {
115
113
  readonly 'creator.widget.duplicatingWidget': "Duplicating widget...";
116
114
  readonly 'creator.widget.failedToDuplicateWidget': "Failed to duplicate widget";
117
115
  readonly 'creator.widget.widgetDuplicated': "Widget duplicated";
118
- readonly 'creator.widget.widgetKeptInDatabase2': "Widget \"{name}\" kept in database";
119
116
  readonly 'creator.widget.youCanKeepEditingWidgets': "You can keep editing widgets. Retry load if shapes are missing.";
120
117
  readonly 'creator.widget.oneWidgetAlready': "This canvas already has a widget. Turn Advanced on to add another.";
121
118
  readonly 'creator.widget.failedToCreateWidgetFrom': "Failed to create widget from design";
@@ -124,7 +121,7 @@ export declare const CREATOR_MESSAGES: {
124
121
  readonly 'creator.widget.repoIdToDeleteUse': "Repo ID: {id}…\nTo delete, use the Delete widget button.";
125
122
  readonly 'creator.widget.restoreShapes': "Restore shapes";
126
123
  readonly 'creator.widget.directWidgetUrl': "Direct Widget URL";
127
- readonly 'creator.widget.deleteWidgetShape': "Delete Widget Shape";
124
+ readonly 'creator.widget.deleteWidget': "Delete widget";
128
125
  readonly 'creator.widget.theseWidgetsBelongToMore': "These widgets belong to more than one project.";
129
126
  readonly 'creator.canvas.appearsEmptyButWidgets': "Canvas appears empty but {count, plural, one {# widget exists} other {# widgets exist}} on this canvas";
130
127
  readonly 'creator.canvas.restoredShapes': "Restored {count, plural, one {# widget shape} other {# widget shapes}} on canvas";
@@ -139,7 +136,6 @@ export declare const CREATOR_MESSAGES: {
139
136
  readonly 'creator.canvas.widgetCanvasAndRepositoryAre': "Widget, canvas, and repository are required.";
140
137
  readonly 'creator.canvas.canvasIsRequiredBeforePublishing': "Canvas is required before publishing.";
141
138
  readonly 'creator.canvas.thisShapePointsToA': "This shape points to a deleted or moved widget. Select it and press Delete, or use \"Remove from canvas\" in the sidebar.";
142
- readonly 'creator.canvas.shapeRemovedFromCanvas': "Shape removed from canvas";
143
139
  readonly 'creator.canvas.canvasIsTakingLongerThan': "Canvas is taking longer than expected";
144
140
  readonly 'creator.canvas.canvasShapesFailedToRender': "Canvas shapes failed to render";
145
141
  readonly 'creator.canvas.failedToLoadCanvasFrom': "Failed to load canvas from API";
@@ -157,8 +153,12 @@ export declare const CREATOR_MESSAGES: {
157
153
  readonly 'creator.canvas.shapeDataMayBeMissing': "Shape data may be missing from the saved canvas (failed autosave or API quota). Widgets still work from the list — click Restore shapes to re-add placeholders on the canvas.";
158
154
  readonly 'creator.canvas.deleteCanvas': "Delete Canvas";
159
155
  readonly 'creator.embedded.tabCanvas': "Canvas";
160
- readonly 'creator.sketch.customize': "Customize";
161
156
  readonly 'creator.sketch.publishedJustNow': "Published just now";
157
+ readonly 'creator.sketch.boardChipGenerating': "Generating your widget";
158
+ readonly 'creator.sketch.boardChipReady': "Your widget is ready";
159
+ readonly 'creator.sketch.boardChipFailed': "Could not generate your widget";
160
+ readonly 'creator.sketch.boardChipStop': "Stop";
161
+ readonly 'creator.sketch.boardChipTryAgain': "Try again";
162
162
  readonly 'creator.sketch.publishNeedsWidget': "Send a message first so your widget gets built, then publish it.";
163
163
  readonly 'creator.composition.compositionCreated': "Composition \"{name}\" created";
164
164
  readonly 'creator.composition.failedToCreateComposition': "Failed to create composition: {message}";
@@ -224,7 +224,6 @@ export declare const CREATOR_MESSAGES: {
224
224
  readonly 'creator.codegen.repositoryMissingUseRebuildCode': "Repository missing — use Rebuild code or regenerate to create one.";
225
225
  readonly 'creator.codegen.buildFailedCheckLogsFor': "Build failed. Check logs for details.";
226
226
  readonly 'creator.codegen.createdWithExistingCode': "\"{name}\" created with existing code";
227
- readonly 'creator.codegen.assistantModelLabel': "Assistant";
228
227
  readonly 'creator.codegen.repositoryIsNowLinkedTo': "Repository {id}… is now linked to this widget.";
229
228
  readonly 'creator.codegen.repositoryExists': "Repository exists";
230
229
  readonly 'creator.codegen.repositoryOwnedByAnotherAccount': "Repository owned by another account";
@@ -326,8 +325,6 @@ export declare const CREATOR_MESSAGES: {
326
325
  readonly 'creator.embed.embedHeight': "Embed height";
327
326
  readonly 'creator.embed.copyEmbedCode': "Copy Embed Code";
328
327
  readonly 'creator.embed.embedFormat': "Embed format";
329
- readonly 'creator.dialog.removeShape': "Remove {name} from the canvas? This also deletes the associated widget.";
330
- readonly 'creator.dialog.alsoDeleteWidget': "Also delete the widget {name} from the database?";
331
328
  readonly 'creator.dialog.deleteCanvas': "Are you sure you want to delete {name}? This action cannot be undone.";
332
329
  readonly 'creator.dialog.alsoDeleteWidgets': "This will also delete {count, plural, one {# widget} other {# widgets}} on this canvas:";
333
330
  readonly 'creator.status.label': "Status:";
@@ -539,6 +536,7 @@ export declare const CREATOR_MESSAGES: {
539
536
  readonly 'creator.name.unnamed': "Unnamed";
540
537
  readonly 'creator.name.saveName': "Save name";
541
538
  readonly 'creator.name.renameWidget': "Rename widget";
539
+ readonly 'creator.name.duplicateWidget': "Duplicate";
542
540
  readonly 'creator.designEdit.shownAsAppliedTheseControls': "Shown as applied. These controls were made for a different composition — reopen that one to keep adjusting them.";
543
541
  readonly 'creator.designEdit.notAvailableInThisWidget': "Not available in this widget";
544
542
  readonly 'creator.fileSource.uploadFile': "Upload file";
@@ -14,7 +14,6 @@ export const CREATOR_MESSAGES = {
14
14
  'creator.common.thisAppNeedsARefresh': 'This app needs a refresh',
15
15
  'creator.common.reload': 'Reload',
16
16
  'creator.common.publish': 'Publish',
17
- 'creator.common.update': 'Update',
18
17
  'creator.common.switchVersion': 'Switch version',
19
18
  'creator.common.live': 'Live',
20
19
  'creator.common.setLive': 'Set live',
@@ -104,7 +103,6 @@ export const CREATOR_MESSAGES = {
104
103
  'creator.widget.untitledName': 'Untitled widget',
105
104
  'creator.widget.shapeRemoved': 'Shape removed',
106
105
  'creator.widget.widgetKeptInDatabase': 'Widget kept in database',
107
- 'creator.widget.widgetDeletedFromDatabase': 'Widget deleted from database',
108
106
  'creator.widget.widgetWasAlreadyDeleted': 'Widget was already deleted',
109
107
  'creator.widget.failedToDeleteWidgetFrom': 'Failed to delete widget from database',
110
108
  'creator.widget.selectAWidgetFirst': 'Select a widget first',
@@ -119,7 +117,6 @@ export const CREATOR_MESSAGES = {
119
117
  'creator.widget.duplicatingWidget': 'Duplicating widget...',
120
118
  'creator.widget.failedToDuplicateWidget': 'Failed to duplicate widget',
121
119
  'creator.widget.widgetDuplicated': 'Widget duplicated',
122
- 'creator.widget.widgetKeptInDatabase2': 'Widget "{name}" kept in database',
123
120
  'creator.widget.youCanKeepEditingWidgets': 'You can keep editing widgets. Retry load if shapes are missing.',
124
121
  'creator.widget.oneWidgetAlready': 'This canvas already has a widget. Turn Advanced on to add another.',
125
122
  'creator.widget.failedToCreateWidgetFrom': 'Failed to create widget from design',
@@ -128,7 +125,7 @@ export const CREATOR_MESSAGES = {
128
125
  'creator.widget.repoIdToDeleteUse': 'Repo ID: {id}…\nTo delete, use the Delete widget button.',
129
126
  'creator.widget.restoreShapes': 'Restore shapes',
130
127
  'creator.widget.directWidgetUrl': 'Direct Widget URL',
131
- 'creator.widget.deleteWidgetShape': 'Delete Widget Shape',
128
+ 'creator.widget.deleteWidget': 'Delete widget',
132
129
  'creator.widget.theseWidgetsBelongToMore': 'These widgets belong to more than one project.',
133
130
  // The canvas: loading, saving, the empty-canvas banner, restoring shapes.
134
131
  'creator.canvas.appearsEmptyButWidgets': 'Canvas appears empty but {count, plural, one {# widget exists} other {# widgets exist}} on this canvas',
@@ -144,7 +141,6 @@ export const CREATOR_MESSAGES = {
144
141
  'creator.canvas.widgetCanvasAndRepositoryAre': 'Widget, canvas, and repository are required.',
145
142
  'creator.canvas.canvasIsRequiredBeforePublishing': 'Canvas is required before publishing.',
146
143
  'creator.canvas.thisShapePointsToA': 'This shape points to a deleted or moved widget. Select it and press Delete, or use "Remove from canvas" in the sidebar.',
147
- 'creator.canvas.shapeRemovedFromCanvas': 'Shape removed from canvas',
148
144
  'creator.canvas.canvasIsTakingLongerThan': 'Canvas is taking longer than expected',
149
145
  'creator.canvas.canvasShapesFailedToRender': 'Canvas shapes failed to render',
150
146
  'creator.canvas.failedToLoadCanvasFrom': 'Failed to load canvas from API',
@@ -162,8 +158,12 @@ export const CREATOR_MESSAGES = {
162
158
  'creator.canvas.shapeDataMayBeMissing': 'Shape data may be missing from the saved canvas (failed autosave or API quota). Widgets still work from the list — click Restore shapes to re-add placeholders on the canvas.',
163
159
  'creator.canvas.deleteCanvas': 'Delete Canvas',
164
160
  'creator.embedded.tabCanvas': 'Canvas',
165
- 'creator.sketch.customize': 'Customize',
166
161
  'creator.sketch.publishedJustNow': 'Published just now',
162
+ 'creator.sketch.boardChipGenerating': 'Generating your widget',
163
+ 'creator.sketch.boardChipReady': 'Your widget is ready',
164
+ 'creator.sketch.boardChipFailed': 'Could not generate your widget',
165
+ 'creator.sketch.boardChipStop': 'Stop',
166
+ 'creator.sketch.boardChipTryAgain': 'Try again',
167
167
  'creator.sketch.publishNeedsWidget': 'Send a message first so your widget gets built, then publish it.',
168
168
  // The chat tab reuses `creator.livePreviews.chat` ("Chat"): the catalog holds one key per wording.
169
169
  // Compositions: creating, saving, renaming, deleting, the Edit step.
@@ -233,7 +233,6 @@ export const CREATOR_MESSAGES = {
233
233
  'creator.codegen.repositoryMissingUseRebuildCode': 'Repository missing — use Rebuild code or regenerate to create one.',
234
234
  'creator.codegen.buildFailedCheckLogsFor': 'Build failed. Check logs for details.',
235
235
  'creator.codegen.createdWithExistingCode': '"{name}" created with existing code',
236
- 'creator.codegen.assistantModelLabel': 'Assistant',
237
236
  'creator.codegen.repositoryIsNowLinkedTo': 'Repository {id}… is now linked to this widget.',
238
237
  'creator.codegen.repositoryExists': 'Repository exists',
239
238
  'creator.codegen.repositoryOwnedByAnotherAccount': 'Repository owned by another account',
@@ -341,8 +340,6 @@ export const CREATOR_MESSAGES = {
341
340
  'creator.embed.copyEmbedCode': 'Copy Embed Code',
342
341
  'creator.embed.embedFormat': 'Embed format',
343
342
  // Sentences with a name inside them, in the creator's dialogs.
344
- 'creator.dialog.removeShape': 'Remove {name} from the canvas? This also deletes the associated widget.',
345
- 'creator.dialog.alsoDeleteWidget': 'Also delete the widget {name} from the database?',
346
343
  'creator.dialog.deleteCanvas': 'Are you sure you want to delete {name}? This action cannot be undone.',
347
344
  'creator.dialog.alsoDeleteWidgets': 'This will also delete {count, plural, one {# widget} other {# widgets}} on this canvas:',
348
345
  // The status bar of a generation: the English lines the creator writes, shown through statusLabel.
@@ -563,6 +560,7 @@ export const CREATOR_MESSAGES = {
563
560
  'creator.name.unnamed': 'Unnamed',
564
561
  'creator.name.saveName': 'Save name',
565
562
  'creator.name.renameWidget': 'Rename widget',
563
+ 'creator.name.duplicateWidget': 'Duplicate',
566
564
  // The quick edit of design values.
567
565
  'creator.designEdit.shownAsAppliedTheseControls': 'Shown as applied. These controls were made for a different composition — reopen that one to keep adjusting them.',
568
566
  'creator.designEdit.notAvailableInThisWidget': 'Not available in this widget',
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Puts a row of `POST /widgets/batch` onto the row the creator already has for the same widget, and keeps what the batch row
3
+ * does not carry.
4
+ *
5
+ * The creator reads the widget list as raw JSON, so its rows hold every field the gateway sends (`hasLiveVersion`,
6
+ * `lastPublishCommitSha`, `thumbnailUrl`, `canvas_id`, ...). The batch is read through the generated `Widget` model, which
7
+ * carries fewer fields, and gives `undefined` for the ones it knows but the answer lacks. Writing a batch row over a list row
8
+ * drops the live commit of a published widget, and with it the "published, with unpublished changes" state of the bar
9
+ * above the sketch ("Saved" and "Publish changes"): the bar then read "Live" with no button, or "Publish changes" when the
10
+ * answer came in the other order.
11
+ *
12
+ * - A field the batch row has a value for (a `null` included) is the batch row's: it is the newer read.
13
+ * - A field the batch row lacks (absent or `undefined`) stays as the list row had it.
14
+ * - Neither input is changed; a widget with no earlier row is the batch row as it is.
15
+ */
16
+ export declare function mergeBatchWidgetOntoListRecord<WidgetRow extends object>(listRecord: object | null | undefined, batchRecord: WidgetRow): WidgetRow;
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Puts a row of `POST /widgets/batch` onto the row the creator already has for the same widget, and keeps what the batch row
3
+ * does not carry.
4
+ *
5
+ * The creator reads the widget list as raw JSON, so its rows hold every field the gateway sends (`hasLiveVersion`,
6
+ * `lastPublishCommitSha`, `thumbnailUrl`, `canvas_id`, ...). The batch is read through the generated `Widget` model, which
7
+ * carries fewer fields, and gives `undefined` for the ones it knows but the answer lacks. Writing a batch row over a list row
8
+ * drops the live commit of a published widget, and with it the "published, with unpublished changes" state of the bar
9
+ * above the sketch ("Saved" and "Publish changes"): the bar then read "Live" with no button, or "Publish changes" when the
10
+ * answer came in the other order.
11
+ *
12
+ * - A field the batch row has a value for (a `null` included) is the batch row's: it is the newer read.
13
+ * - A field the batch row lacks (absent or `undefined`) stays as the list row had it.
14
+ * - Neither input is changed; a widget with no earlier row is the batch row as it is.
15
+ */
16
+ export function mergeBatchWidgetOntoListRecord(listRecord, batchRecord) {
17
+ if (!listRecord)
18
+ return batchRecord;
19
+ try {
20
+ const mergedRecord = { ...listRecord };
21
+ for (const [fieldName, fieldValue] of Object.entries(batchRecord)) {
22
+ if (fieldValue !== undefined)
23
+ mergedRecord[fieldName] = fieldValue;
24
+ }
25
+ return mergedRecord;
26
+ }
27
+ catch (mergeError) {
28
+ // A row that cannot be copied is not a reason to lose the batch answer: the batch row stands, as before this helper.
29
+ console.warn('[mergeBatchWidgetOntoListRecord] could not merge the batch row onto the list row', mergeError);
30
+ return batchRecord;
31
+ }
32
+ }
@@ -8,9 +8,8 @@ export declare function isSketchGenerationFailed(panelState: PanelCodegenFlags,
8
8
  /** Figma ready frame: caption "Saved 2m ago" from widget `updatedAt`. */
9
9
  export declare function sketchSavedStatusLabel(savedWord: string, updatedAt: unknown, nowMs?: number): string;
10
10
  /**
11
- * The bar of the Figma frames carries Publish in every state except while the widget is being built (526:2466) and after a
12
- * failed build (526:2984). A canvas that has no widget yet (the Empty frame) shows it too, as the way of learning that
13
- * Send comes first: a bar with no Publish at all on a new canvas read as "Publish is missing".
11
+ * Figma Creator Bar (514:43): Publish is visible on Ready (526:2706) and Publish changes on History (1248:74452); hidden on
12
+ * Empty, Generating, Failed, and Published-without-changes (524:635, 526:2466, 526:2984, 526:3238).
14
13
  */
15
14
  export declare function sketchBarShowsPublish(input: {
16
15
  embedded: boolean;
@@ -19,7 +18,15 @@ export declare function sketchBarShowsPublish(input: {
19
18
  showsLive: boolean;
20
19
  generating: boolean;
21
20
  failed: boolean;
21
+ hasUnpublishedChanges?: boolean;
22
22
  }): boolean;
23
+ /**
24
+ * The widget row carries two commits: HEAD, the newest commit the server has for the widget (`lastCommitSha`), and live, the
25
+ * commit of the published version (`lastPublishCommitSha`). When both are there and they differ, the widget has changes that
26
+ * are not published, whatever this browser has seen: a build made on another device, or before this browser was opened, leaves
27
+ * nothing in its storage. `isSameCommit` is the creator's own comparison (it accepts a short SHA against a long one).
28
+ */
29
+ export declare function widgetRowHeadIsAheadOfLive(widget: Record<string, unknown> | null | undefined, isSameCommit: (headSha: string, liveSha: string) => boolean): boolean;
23
30
  export declare function sketchBarShowsCustomize(input: {
24
31
  embedded: boolean;
25
32
  widgetId: string | null;
@@ -29,15 +29,35 @@ export function sketchSavedStatusLabel(savedWord, updatedAt, nowMs = Date.now())
29
29
  return savedWord;
30
30
  }
31
31
  /**
32
- * The bar of the Figma frames carries Publish in every state except while the widget is being built (526:2466) and after a
33
- * failed build (526:2984). A canvas that has no widget yet (the Empty frame) shows it too, as the way of learning that
34
- * Send comes first: a bar with no Publish at all on a new canvas read as "Publish is missing".
32
+ * Figma Creator Bar (514:43): Publish is visible on Ready (526:2706) and Publish changes on History (1248:74452); hidden on
33
+ * Empty, Generating, Failed, and Published-without-changes (524:635, 526:2466, 526:2984, 526:3238).
35
34
  */
36
35
  export function sketchBarShowsPublish(input) {
37
36
  void input.widgetId;
38
- void input.hasGeneratedCode;
39
- void input.showsLive;
40
- return input.embedded && !input.generating && !input.failed;
37
+ if (!input.embedded || input.generating || input.failed)
38
+ return false;
39
+ if (!input.hasGeneratedCode)
40
+ return false;
41
+ if (!input.showsLive)
42
+ return true;
43
+ return !!input.hasUnpublishedChanges;
44
+ }
45
+ /**
46
+ * The widget row carries two commits: HEAD, the newest commit the server has for the widget (`lastCommitSha`), and live, the
47
+ * commit of the published version (`lastPublishCommitSha`). When both are there and they differ, the widget has changes that
48
+ * are not published, whatever this browser has seen: a build made on another device, or before this browser was opened, leaves
49
+ * nothing in its storage. `isSameCommit` is the creator's own comparison (it accepts a short SHA against a long one).
50
+ */
51
+ export function widgetRowHeadIsAheadOfLive(widget, isSameCommit) {
52
+ if (!widget)
53
+ return false;
54
+ const headSha = String(widget.lastCommitSha ?? widget.last_commit_sha ?? '').trim();
55
+ const liveSha = String(widget.lastPublishCommitSha
56
+ ?? widget.last_publish_commit_sha
57
+ ?? '').trim();
58
+ if (!headSha || !liveSha)
59
+ return false;
60
+ return !isSameCommit(headSha, liveSha);
41
61
  }
42
62
  export function sketchBarShowsCustomize(input) {
43
63
  return (input.embedded &&
@@ -0,0 +1,34 @@
1
+ /**
2
+ * What a one-widget sketch canvas shows after the card of its widget leaves the board (Delete widget, item 21) and when it comes back
3
+ * (Undo). Everything the canvas draws around the board — the name in the bar, the "ready" chip, the selector bar in place of the
4
+ * drawing tools, the widget's chat — follows the primary widget id, so the id has to follow the card.
5
+ */
6
+ export type SketchBoardAfterDeleteInput = {
7
+ /** The widget whose card the person took off the board with Delete widget; null when they have not. */
8
+ deletedWidgetId: string | null;
9
+ /** The widget the canvas speaks for right now. */
10
+ primaryWidgetId: string | null;
11
+ /** The widgets that have a card on the board right now. */
12
+ linkedWidgetIds: ReadonlySet<string>;
13
+ };
14
+ export type SketchBoardAfterDeleteStep =
15
+ /** Nothing to do. */
16
+ {
17
+ kind: 'keep';
18
+ }
19
+ /** The card is off the board but the canvas still speaks for its widget: the canvas is empty again (Redo of the delete). */
20
+ | {
21
+ kind: 'clear';
22
+ widgetId: string;
23
+ }
24
+ /** The card is back on the board and the canvas speaks for nobody: the widget is the canvas's widget again (Undo). */
25
+ | {
26
+ kind: 'restore';
27
+ widgetId: string;
28
+ }
29
+ /** Another widget has taken the canvas over (a new first message): the deleted one is no longer ours to give back. */
30
+ | {
31
+ kind: 'forget';
32
+ };
33
+ /** Decides, after the board changed, how the primary widget id has to move for the widget the person deleted. */
34
+ export declare function stepAfterBoardChange(input: SketchBoardAfterDeleteInput): SketchBoardAfterDeleteStep;