@widgetic/creator 0.3.49 → 0.3.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.
- package/dist/CreatorApp.svelte +1876 -518
- package/dist/CreatorApp.svelte.d.ts +1 -0
- package/dist/components/EditableName.svelte +2 -2
- package/dist/components/WidgetDetails.svelte +431 -71
- package/dist/components/WidgetDetails.svelte.d.ts +22 -1
- package/dist/creator-types.d.ts +6 -0
- package/dist/utils/operationStream.js +20 -1
- package/package.json +15 -15
|
@@ -25,6 +25,7 @@ declare const CreatorApp: $$__sveltets_2_IsomorphicComponent<{
|
|
|
25
25
|
apiUrl?: CreatorAppProps["apiUrl"];
|
|
26
26
|
widgetBuilderUrl?: CreatorAppProps["widgetBuilderUrl"];
|
|
27
27
|
initialDebugMode?: CreatorAppProps["initialDebugMode"];
|
|
28
|
+
initialAdvancedFeatures?: CreatorAppProps["initialAdvancedFeatures"];
|
|
28
29
|
defaultCoderModelId?: CreatorAppProps["defaultCoderModelId"];
|
|
29
30
|
defaultPlannerModelId?: CreatorAppProps["defaultPlannerModelId"];
|
|
30
31
|
showWidgetsList?: CreatorAppProps["showWidgetsList"];
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
ondblclick={() => startEditing()}
|
|
66
66
|
>
|
|
67
67
|
<input
|
|
68
|
-
class="editable-name-input font-semibold rounded px-1 py-0.5 text-sm outline-none transition-colors {isEditing ? 'border border-blue-400 bg-white focus:ring-1 focus:ring-blue-500' : 'border border-transparent bg-transparent cursor-default'}"
|
|
69
|
-
style="
|
|
68
|
+
class="editable-name-input min-w-0 w-full overflow-hidden text-ellipsis whitespace-nowrap font-semibold rounded px-1 py-0.5 text-sm outline-none transition-colors {isEditing ? 'border border-blue-400 bg-white focus:ring-1 focus:ring-blue-500' : 'border border-transparent bg-transparent cursor-default'}"
|
|
69
|
+
style="flex: 1 1 0%; {!isEditing ? 'pointer-events: none;' : ''}"
|
|
70
70
|
type="text"
|
|
71
71
|
value={isEditing ? inputValue : (name || placeholder)}
|
|
72
72
|
readonly={!isEditing}
|