@jxsuite/studio 0.34.0 → 0.36.0
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/iframe-entry.js +9 -1
- package/dist/iframe-entry.js.map +3 -3
- package/dist/studio.js +18382 -3686
- package/dist/studio.js.map +265 -26
- package/package.json +9 -6
- package/src/files/files.ts +3 -0
- package/src/new-project/design-fields.ts +260 -0
- package/src/new-project/import-tab.ts +322 -0
- package/src/new-project/new-project-modal.ts +472 -89
- package/src/new-project/templates.ts +61 -0
- package/src/packages/ensure-deps.ts +6 -0
- package/src/packages/pull-package-sync.ts +339 -0
- package/src/panels/ai-chat/attached-context.ts +49 -0
- package/src/panels/ai-chat/chat-markdown.ts +38 -0
- package/src/panels/ai-chat/chat-view.ts +250 -0
- package/src/panels/ai-chat/composer.ts +315 -0
- package/src/panels/ai-chat/sessions-view.ts +98 -0
- package/src/panels/ai-panel.ts +214 -458
- package/src/panels/drag-ghost.ts +1 -1
- package/src/panels/git-panel.ts +16 -1
- package/src/panels/right-panel.ts +21 -5
- package/src/panels/toolbar.ts +2 -0
- package/src/panels/welcome-screen.ts +26 -0
- package/src/platforms/cloud.ts +774 -0
- package/src/platforms/devserver.ts +100 -1
- package/src/project-list.ts +38 -0
- package/src/publish/pages-service.ts +186 -0
- package/src/publish/publish-panel.ts +360 -0
- package/src/services/agent-seed.ts +91 -0
- package/src/services/ai-models.ts +93 -0
- package/src/services/ai-session-store.ts +250 -0
- package/src/services/ai-settings.ts +5 -0
- package/src/services/automation.ts +140 -0
- package/src/services/cf-settings.ts +58 -0
- package/src/services/document-assistant.ts +98 -38
- package/src/services/import-client.ts +134 -0
- package/src/services/settings-store.ts +99 -0
- package/src/studio.ts +33 -0
- package/src/types.ts +130 -133
- package/src/ui/ai-credentials-form.ts +205 -0
- package/src/ui/spectrum.ts +8 -0
package/dist/iframe-entry.js
CHANGED
|
@@ -3059,6 +3059,14 @@ async function defineElement(source, baseUrl) {
|
|
|
3059
3059
|
} catch {}
|
|
3060
3060
|
delete this.dataset.jxProps;
|
|
3061
3061
|
}
|
|
3062
|
+
const propAttrNames = this.getAttributeNames().filter((name) => name.startsWith("props.") && name.length > "props.".length);
|
|
3063
|
+
for (const name of propAttrNames) {
|
|
3064
|
+
const key = name.slice("props.".length);
|
|
3065
|
+
if (key in (def2.state ?? {})) {
|
|
3066
|
+
state[key] = this.getAttribute(name);
|
|
3067
|
+
this.removeAttribute(name);
|
|
3068
|
+
}
|
|
3069
|
+
}
|
|
3062
3070
|
for (const key of Object.keys(def2.state ?? {})) {
|
|
3063
3071
|
if (key in this && this[key] !== undefined) {
|
|
3064
3072
|
state[key] = this[key];
|
|
@@ -6226,5 +6234,5 @@ export {
|
|
|
6226
6234
|
bootCanvasIframe
|
|
6227
6235
|
};
|
|
6228
6236
|
|
|
6229
|
-
//# debugId=
|
|
6237
|
+
//# debugId=369B0CCF9985BC4564756E2164756E21
|
|
6230
6238
|
//# sourceMappingURL=iframe-entry.js.map
|