@yugoo-design/dsh-design-studio-ui 0.2.0 → 0.2.2
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/README.md +14 -0
- package/lib/index.d.ts +8 -1
- package/lib/index.js +127 -86
- package/licenses/dsh-distribution.json +43 -43
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -41,6 +41,14 @@ Kit and Bundle catalogs share the established header: a 300px search control on
|
|
|
41
41
|
the left, matched/total counts, and New on the right. The product breadcrumb already
|
|
42
42
|
names the section; the catalog does not repeat its heading. There is no local version picker or publication status. The existing leave guard protects unsaved edits.
|
|
43
43
|
|
|
44
|
+
Saved local Bundle cards show their Kit reference count. Select the count to
|
|
45
|
+
open the same mount management view used by installed Bundles, without opening
|
|
46
|
+
source editing. A Kit import can retain its mounted Bundle sources inside the
|
|
47
|
+
archive; mount management identifies these retained sources separately from
|
|
48
|
+
missing independent catalog entries. Single-file ZIP imports report an invalid
|
|
49
|
+
archive format before checking for required source files; ZIP resources inside
|
|
50
|
+
an imported source folder retain their original bytes.
|
|
51
|
+
|
|
44
52
|
Only new/edit object entries invoke `renderContent(content, context)`, inside the
|
|
45
53
|
Studio stage. The context supplies the object's `id`, create/edit `intent` and
|
|
46
54
|
`onDirtyChange` for unsent input. Editing retains product navigation, top bar,
|
|
@@ -291,6 +299,12 @@ keeps the standard workbench. This presentation port grants no additional catalo
|
|
|
291
299
|
save, execution or publication capability. Hosts that omit it retain the existing
|
|
292
300
|
source editor. Catalog counts and empty states include visible local copies using
|
|
293
301
|
the same search filter as their cards.
|
|
302
|
+
When a host combines unsent conversation input with the editor's dirty signal,
|
|
303
|
+
it may report `onDirtyChange(navigationDirty, { sourceDirty })`, retaining the
|
|
304
|
+
shared editor's canonical dirty signal as `sourceDirty`. Export uses that source
|
|
305
|
+
signal; navigation protects both. Unsent input stays in place after exporting the
|
|
306
|
+
saved revision. Boolean-only callbacks retain their existing behavior, and the
|
|
307
|
+
editor still blocks export during unsaved source changes or uncertain saves.
|
|
294
308
|
Copy opens an independent editable file set; title-pencil renaming changes the
|
|
295
309
|
selected language's display name without changing source identities. The header places
|
|
296
310
|
an arrow-only Back action on the left and copy/edit actions on the right, with
|
package/lib/index.d.ts
CHANGED
|
@@ -191,6 +191,10 @@ interface StudioInstance {
|
|
|
191
191
|
readonly bundle: DesignBundleVersionPin & {
|
|
192
192
|
readonly instanceId?: string;
|
|
193
193
|
readonly revision?: number;
|
|
194
|
+
readonly source?: {
|
|
195
|
+
readonly snapshot: string;
|
|
196
|
+
readonly sourceId: string;
|
|
197
|
+
};
|
|
194
198
|
};
|
|
195
199
|
readonly instanceId?: string;
|
|
196
200
|
}[];
|
|
@@ -319,7 +323,10 @@ interface InstanceWorkbenchProps {
|
|
|
319
323
|
onChanged: (record?: StudioInstance) => void;
|
|
320
324
|
onExport?: (record: StudioInstance) => void;
|
|
321
325
|
renderPreview?: StudioAuthoring['renderPreview'];
|
|
322
|
-
|
|
326
|
+
/** Navigation may also protect host conversation input; export uses the canonical source state. */
|
|
327
|
+
onDirtyChange?: (dirty: boolean, state?: {
|
|
328
|
+
readonly sourceDirty: boolean;
|
|
329
|
+
}) => void;
|
|
323
330
|
/** Optional host contribution alongside the current source editor. Never owns its source state. */
|
|
324
331
|
renderSupplement?: (state: {
|
|
325
332
|
record?: StudioInstance;
|
package/lib/index.js
CHANGED
|
@@ -1920,7 +1920,7 @@ function StudioGlyph({ bundle = false }) {
|
|
|
1920
1920
|
});
|
|
1921
1921
|
}
|
|
1922
1922
|
/** One card presentation for the Bundle catalog and Kit mount selection. */
|
|
1923
|
-
function BundleCard({ bundle, locale, badge, onBadgeClick, badgeLabel, children }) {
|
|
1923
|
+
function BundleCard({ bundle, locale, badge, onBadgeClick, badgeLabel, sourceLabel, children }) {
|
|
1924
1924
|
const description = bundle.displayDescription?.[locale] ?? bundle.description;
|
|
1925
1925
|
return /* @__PURE__ */ jsxs("article", {
|
|
1926
1926
|
className: "ygd-studio-kit-card ygd-studio-bundle-card",
|
|
@@ -1944,8 +1944,8 @@ function BundleCard({ bundle, locale, badge, onBadgeClick, badgeLabel, children
|
|
|
1944
1944
|
}),
|
|
1945
1945
|
/* @__PURE__ */ jsx("div", {
|
|
1946
1946
|
className: "ygd-studio-source-id",
|
|
1947
|
-
title: bundle.name,
|
|
1948
|
-
children: bundle.name
|
|
1947
|
+
title: sourceLabel ?? bundle.name,
|
|
1948
|
+
children: sourceLabel ?? bundle.name
|
|
1949
1949
|
}),
|
|
1950
1950
|
description && /* @__PURE__ */ jsx("div", {
|
|
1951
1951
|
className: "ygd-studio-card-description",
|
|
@@ -2798,7 +2798,11 @@ function MountEditorSession({ client, record, locale, onSaved, onActions, onDirt
|
|
|
2798
2798
|
}, [owner]);
|
|
2799
2799
|
const keyOf = mountKey;
|
|
2800
2800
|
const choices = new Map(candidates.map((bundle) => [keyOf(bundle), bundle]));
|
|
2801
|
-
const
|
|
2801
|
+
const retained = (key) => {
|
|
2802
|
+
const mount = record.mounts.find((mount) => keyOf(mount.bundle) === key);
|
|
2803
|
+
return !!mount && !mount.bundle.instanceId && !mount.instanceId && !!mount.bundle.source?.snapshot && !!mount.bundle.source.sourceId;
|
|
2804
|
+
};
|
|
2805
|
+
const missing = [...selected].filter((key) => !choices.has(key) && !retained(key));
|
|
2802
2806
|
const available = candidates.filter((bundle) => !selected.has(keyOf(bundle)));
|
|
2803
2807
|
const filtered = available.filter((bundle) => [
|
|
2804
2808
|
bundle.name,
|
|
@@ -2961,7 +2965,7 @@ function MountEditorSession({ client, record, locale, onSaved, onActions, onDirt
|
|
|
2961
2965
|
layout: "inline",
|
|
2962
2966
|
tone: "info",
|
|
2963
2967
|
locale,
|
|
2964
|
-
title: zh ? "来源暂不可用" : "Source unavailable"
|
|
2968
|
+
title: retained(key) ? zh ? "引用随套件保留的来源" : "References source retained with this Kit" : zh ? "来源暂不可用" : "Source unavailable"
|
|
2965
2969
|
}), /* @__PURE__ */ jsx("button", {
|
|
2966
2970
|
type: "button",
|
|
2967
2971
|
className: "ygd-studio-btn-secondary",
|
|
@@ -4768,6 +4772,7 @@ async function readStudioImportFiles(kind, selected, readArchive) {
|
|
|
4768
4772
|
if (!readArchive) throw Error("This host cannot read Studio archives.");
|
|
4769
4773
|
return readArchive(source);
|
|
4770
4774
|
};
|
|
4775
|
+
if (/\.zip$/i.test(path) && !isStudioZip(bytes)) throw Error("Invalid ZIP archive: choose a valid ZIP file.");
|
|
4771
4776
|
if (isStudioZip(bytes)) {
|
|
4772
4777
|
const entries = readStudioZipEntries(bytes);
|
|
4773
4778
|
if (entries.has("studio-manifest.json")) archive = await checkedArchive(decodeStudioContentZip(bytes));
|
|
@@ -4799,6 +4804,7 @@ const HTTP_BYTES = 12582912;
|
|
|
4799
4804
|
/** Presentation only: preserve the validator's detail without exposing its virtual root. */
|
|
4800
4805
|
function formatStudioImportError(error, locale) {
|
|
4801
4806
|
const lines = error.replaceAll("/studio-content-archive-virtual/", "").split("\n").map((line) => {
|
|
4807
|
+
if (/^Invalid ZIP archive:/i.test(line)) return locale === "zh" ? "所选文件不是有效的 ZIP 压缩包,请检查文件格式。" : line;
|
|
4802
4808
|
const missing = line.match(/^Missing required file: (.+)$/i) ?? line.match(/^[^\n]*?: missing (?:[^\n]*? )?file (.+)$/i);
|
|
4803
4809
|
if (missing) return locale === "zh" ? `缺少必需文件:${missing[1]}` : `Missing required file: ${missing[1]}`;
|
|
4804
4810
|
return line;
|
|
@@ -5168,6 +5174,7 @@ function StudioWorkspace({ client, controller: supplied, authoring, renderPrevie
|
|
|
5168
5174
|
const [trialTarget, setTrialTarget] = useState(null);
|
|
5169
5175
|
const [fileLocationOpen, setFileLocationOpen] = useState(false);
|
|
5170
5176
|
const [mountsOpen, setMountsOpen] = useState(false);
|
|
5177
|
+
const [localMountRecord, setLocalMountRecord] = useState();
|
|
5171
5178
|
const mountRequest = useRef();
|
|
5172
5179
|
const [mountQuery, setMountQuery] = useState("");
|
|
5173
5180
|
const [archiveBusy, setArchiveBusy] = useState(false);
|
|
@@ -5199,11 +5206,13 @@ function StudioWorkspace({ client, controller: supplied, authoring, renderPrevie
|
|
|
5199
5206
|
}, [contentClient]);
|
|
5200
5207
|
const createGeneration = useRef(0);
|
|
5201
5208
|
const draftDirty = useRef(false);
|
|
5209
|
+
const sourceDirty = useRef(false);
|
|
5202
5210
|
const panelDirty = useRef(false), trialDirty = useRef(false);
|
|
5203
5211
|
const reportPreviewDirty = (kind, value) => {
|
|
5204
5212
|
if (kind === "panel") panelDirty.current = value;
|
|
5205
5213
|
else trialDirty.current = value;
|
|
5206
5214
|
draftDirty.current = panelDirty.current || trialDirty.current;
|
|
5215
|
+
sourceDirty.current = draftDirty.current;
|
|
5207
5216
|
onDraftDirtyChange?.(draftDirty.current);
|
|
5208
5217
|
};
|
|
5209
5218
|
useEffect(() => {
|
|
@@ -5286,6 +5295,7 @@ function StudioWorkspace({ client, controller: supplied, authoring, renderPrevie
|
|
|
5286
5295
|
panelDirty.current = false;
|
|
5287
5296
|
trialDirty.current = false;
|
|
5288
5297
|
draftDirty.current = false;
|
|
5298
|
+
sourceDirty.current = false;
|
|
5289
5299
|
authoringDirty.current = false;
|
|
5290
5300
|
onDraftDirtyChange?.(false);
|
|
5291
5301
|
setInitialPrompt(void 0);
|
|
@@ -5312,7 +5322,7 @@ function StudioWorkspace({ client, controller: supplied, authoring, renderPrevie
|
|
|
5312
5322
|
}
|
|
5313
5323
|
};
|
|
5314
5324
|
const exportInstance = (record) => {
|
|
5315
|
-
if (!contentClient || record.deletedAt || record.id === instanceId &&
|
|
5325
|
+
if (!contentClient || record.deletedAt || record.id === instanceId && sourceDirty.current) return;
|
|
5316
5326
|
exportContent({
|
|
5317
5327
|
id: record.id,
|
|
5318
5328
|
expectedRevision: record.revision
|
|
@@ -5461,6 +5471,7 @@ function StudioWorkspace({ client, controller: supplied, authoring, renderPrevie
|
|
|
5461
5471
|
await refreshInstances();
|
|
5462
5472
|
if (request !== createGeneration.current) return;
|
|
5463
5473
|
draftDirty.current = false;
|
|
5474
|
+
sourceDirty.current = false;
|
|
5464
5475
|
onDraftDirtyChange?.(false);
|
|
5465
5476
|
setAuthoringIntent("edit");
|
|
5466
5477
|
setInstanceMode("read");
|
|
@@ -5497,6 +5508,7 @@ function StudioWorkspace({ client, controller: supplied, authoring, renderPrevie
|
|
|
5497
5508
|
await refreshInstances();
|
|
5498
5509
|
if (request !== createGeneration.current) return;
|
|
5499
5510
|
draftDirty.current = false;
|
|
5511
|
+
sourceDirty.current = false;
|
|
5500
5512
|
authoringDirty.current = false;
|
|
5501
5513
|
onDraftDirtyChange?.(false);
|
|
5502
5514
|
setAuthoringIntent("edit");
|
|
@@ -5600,76 +5612,104 @@ function StudioWorkspace({ client, controller: supplied, authoring, renderPrevie
|
|
|
5600
5612
|
if (request === createGeneration.current) setCreating(false);
|
|
5601
5613
|
}
|
|
5602
5614
|
};
|
|
5603
|
-
const localCards = (kind) => visibleLocalInstances(kind).map((record) =>
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
/* @__PURE__ */ jsx("div", {
|
|
5618
|
-
className: "ygd-studio-card-description",
|
|
5619
|
-
children: renderStudioMarkdown(record.displayDescription?.[locale] ?? record.description ?? "")
|
|
5615
|
+
const localCards = (kind) => visibleLocalInstances(kind).map((record) => {
|
|
5616
|
+
const warning = record.readiness && !record.readiness.ready && /* @__PURE__ */ jsx("button", {
|
|
5617
|
+
type: "button",
|
|
5618
|
+
className: "ygd-studio-btn-link ygd-studio-import-warning",
|
|
5619
|
+
onClick: () => setIncompleteImport(record),
|
|
5620
|
+
children: locale === "zh" ? "⚠ 待完善" : "⚠ Incomplete"
|
|
5621
|
+
});
|
|
5622
|
+
const actions = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
5623
|
+
/* @__PURE__ */ jsx("button", {
|
|
5624
|
+
type: "button",
|
|
5625
|
+
className: "ygd-studio-btn-secondary",
|
|
5626
|
+
disabled: creating,
|
|
5627
|
+
onClick: () => openLocal(record, "read"),
|
|
5628
|
+
children: locale === "zh" ? "打开" : "Open"
|
|
5620
5629
|
}),
|
|
5621
|
-
|
|
5630
|
+
/* @__PURE__ */ jsx("button", {
|
|
5622
5631
|
type: "button",
|
|
5623
|
-
className: "ygd-studio-btn-
|
|
5624
|
-
|
|
5625
|
-
|
|
5632
|
+
className: "ygd-studio-btn-secondary",
|
|
5633
|
+
disabled: creating,
|
|
5634
|
+
onClick: () => void copyInstalled(record.kind, record.source.kit, record.source.bundle, record.id),
|
|
5635
|
+
children: locale === "zh" ? "复制" : "Copy"
|
|
5626
5636
|
}),
|
|
5627
|
-
/* @__PURE__ */ jsx("
|
|
5628
|
-
|
|
5629
|
-
|
|
5637
|
+
/* @__PURE__ */ jsx("button", {
|
|
5638
|
+
type: "button",
|
|
5639
|
+
className: "ygd-studio-btn-secondary",
|
|
5640
|
+
disabled: creating,
|
|
5641
|
+
onClick: () => openLocal(record, "edit"),
|
|
5642
|
+
children: locale === "zh" ? "编辑" : "Edit"
|
|
5630
5643
|
}),
|
|
5631
|
-
/* @__PURE__ */ jsxs(
|
|
5632
|
-
|
|
5633
|
-
children: [
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
disabled: creating,
|
|
5645
|
-
onClick: () => void copyInstalled(record.kind, record.source.kit, record.source.bundle, record.id),
|
|
5646
|
-
children: locale === "zh" ? "复制" : "Copy"
|
|
5647
|
-
}),
|
|
5648
|
-
/* @__PURE__ */ jsx("button", {
|
|
5649
|
-
type: "button",
|
|
5650
|
-
className: "ygd-studio-btn-secondary",
|
|
5651
|
-
disabled: creating,
|
|
5652
|
-
onClick: () => openLocal(record, "edit"),
|
|
5653
|
-
children: locale === "zh" ? "编辑" : "Edit"
|
|
5654
|
-
}),
|
|
5655
|
-
/* @__PURE__ */ jsxs(InstanceActionsMenu, {
|
|
5656
|
-
locale,
|
|
5657
|
-
children: [contentClient && /* @__PURE__ */ jsx("button", {
|
|
5658
|
-
className: "ygd-studio-btn-link",
|
|
5659
|
-
type: "button",
|
|
5660
|
-
disabled: creating || archiveBusy,
|
|
5661
|
-
onClick: () => exportInstance(record),
|
|
5662
|
-
children: locale === "zh" ? "导出" : "Export"
|
|
5663
|
-
}), /* @__PURE__ */ jsx(InstanceTrashAction, {
|
|
5664
|
-
locale,
|
|
5665
|
-
disabled: creating,
|
|
5666
|
-
onClick: () => void removeLocal(record)
|
|
5667
|
-
})]
|
|
5668
|
-
})
|
|
5669
|
-
]
|
|
5644
|
+
/* @__PURE__ */ jsxs(InstanceActionsMenu, {
|
|
5645
|
+
locale,
|
|
5646
|
+
children: [contentClient && /* @__PURE__ */ jsx("button", {
|
|
5647
|
+
className: "ygd-studio-btn-link",
|
|
5648
|
+
type: "button",
|
|
5649
|
+
disabled: creating || archiveBusy,
|
|
5650
|
+
onClick: () => exportInstance(record),
|
|
5651
|
+
children: locale === "zh" ? "导出" : "Export"
|
|
5652
|
+
}), /* @__PURE__ */ jsx(InstanceTrashAction, {
|
|
5653
|
+
locale,
|
|
5654
|
+
disabled: creating,
|
|
5655
|
+
onClick: () => void removeLocal(record)
|
|
5656
|
+
})]
|
|
5670
5657
|
})
|
|
5671
|
-
]
|
|
5672
|
-
|
|
5658
|
+
] });
|
|
5659
|
+
const bundle = record.bundle ?? record.source.bundle;
|
|
5660
|
+
if (kind === "bundle" && bundle) {
|
|
5661
|
+
const uses = new Set(record.refs.map((ref) => ref.id)).size;
|
|
5662
|
+
return /* @__PURE__ */ jsxs(BundleCard, {
|
|
5663
|
+
bundle: {
|
|
5664
|
+
...bundle,
|
|
5665
|
+
title: record.title,
|
|
5666
|
+
description: record.description,
|
|
5667
|
+
displayDescription: record.displayDescription
|
|
5668
|
+
},
|
|
5669
|
+
locale,
|
|
5670
|
+
sourceLabel: locale === "zh" ? "本地内容 · 已保存 · 可编辑" : "Local content · Saved · editable",
|
|
5671
|
+
badge: `${uses} Kit`,
|
|
5672
|
+
badgeLabel: locale === "zh" ? `${uses} Kit · 查看挂载` : `${uses} Kit · View mounts`,
|
|
5673
|
+
onBadgeClick: () => setLocalMountRecord(record),
|
|
5674
|
+
children: [warning, actions]
|
|
5675
|
+
}, record.id);
|
|
5676
|
+
}
|
|
5677
|
+
return /* @__PURE__ */ jsxs("article", {
|
|
5678
|
+
className: "ygd-studio-kit-card",
|
|
5679
|
+
children: [
|
|
5680
|
+
/* @__PURE__ */ jsxs("div", {
|
|
5681
|
+
className: "ygd-studio-card-top",
|
|
5682
|
+
children: [/* @__PURE__ */ jsx(StudioGlyph, { bundle: kind === "bundle" }), /* @__PURE__ */ jsx("span", {
|
|
5683
|
+
className: "ygd-studio-card-pill",
|
|
5684
|
+
children: locale === "zh" ? "本地内容" : "Local content"
|
|
5685
|
+
})]
|
|
5686
|
+
}),
|
|
5687
|
+
/* @__PURE__ */ jsx("h3", {
|
|
5688
|
+
className: "ygd-studio-kit-card-name",
|
|
5689
|
+
children: record.title[locale]
|
|
5690
|
+
}),
|
|
5691
|
+
/* @__PURE__ */ jsx("div", {
|
|
5692
|
+
className: "ygd-studio-card-description",
|
|
5693
|
+
children: renderStudioMarkdown(record.displayDescription?.[locale] ?? record.description ?? "")
|
|
5694
|
+
}),
|
|
5695
|
+
warning,
|
|
5696
|
+
/* @__PURE__ */ jsx("p", {
|
|
5697
|
+
className: "ygd-studio-card-meta",
|
|
5698
|
+
children: locale === "zh" ? "已保存 · 可编辑" : "Saved · editable"
|
|
5699
|
+
}),
|
|
5700
|
+
/* @__PURE__ */ jsx("div", {
|
|
5701
|
+
className: "ygd-studio-kit-card-actions",
|
|
5702
|
+
children: actions
|
|
5703
|
+
})
|
|
5704
|
+
]
|
|
5705
|
+
}, record.id);
|
|
5706
|
+
});
|
|
5707
|
+
const mountBundle = localMountRecord?.bundle ?? localMountRecord?.source.bundle ?? (mountsOpen ? bundleWorkspace : void 0);
|
|
5708
|
+
const closeMounts = () => {
|
|
5709
|
+
setLocalMountRecord(void 0);
|
|
5710
|
+
setMountsOpen(false);
|
|
5711
|
+
refreshInstances().catch((error) => setAuthoringError(String(error)));
|
|
5712
|
+
};
|
|
5673
5713
|
const bundleContextKit = () => {
|
|
5674
5714
|
if (!bundleWorkspace) return void 0;
|
|
5675
5715
|
const candidates = (snapshot.view?.bundles.find((item) => item.name === bundleWorkspace.name && item.version === bundleWorkspace.version))?.usedBy ?? snapshot.view?.kits.filter((kit) => kit.name === bundleWorkspace.kit) ?? [];
|
|
@@ -5908,20 +5948,6 @@ function StudioWorkspace({ client, controller: supplied, authoring, renderPrevie
|
|
|
5908
5948
|
]
|
|
5909
5949
|
})] })
|
|
5910
5950
|
}),
|
|
5911
|
-
mountsOpen && /* @__PURE__ */ jsx(StudioDialog, {
|
|
5912
|
-
title: `${locale === "zh" ? "挂载管理" : "Mount Management"} · ${bundleWorkspace.name}`,
|
|
5913
|
-
close: () => setMountsOpen(false),
|
|
5914
|
-
children: /* @__PURE__ */ jsx(BundleMounts, {
|
|
5915
|
-
onEditKit: instances?.editCurrent ? (kit) => {
|
|
5916
|
-
setMountsOpen(false);
|
|
5917
|
-
editInstalled("kit", kit);
|
|
5918
|
-
} : void 0,
|
|
5919
|
-
client: instances,
|
|
5920
|
-
bundle: bundleWorkspace,
|
|
5921
|
-
installed: snapshot.view?.bundles.find((bundle) => bundle.name === bundleWorkspace.name && bundle.version === bundleWorkspace.version)?.usedBy ?? [],
|
|
5922
|
-
locale
|
|
5923
|
-
})
|
|
5924
|
-
}),
|
|
5925
5951
|
/* @__PURE__ */ jsxs("div", {
|
|
5926
5952
|
className: "ygd-studio-workplane-bar",
|
|
5927
5953
|
"aria-label": "Bundle content",
|
|
@@ -6249,8 +6275,9 @@ function StudioWorkspace({ client, controller: supplied, authoring, renderPrevie
|
|
|
6249
6275
|
setInstanceId(record?.id);
|
|
6250
6276
|
refreshInstances().catch((error) => setAuthoringError(String(error)));
|
|
6251
6277
|
},
|
|
6252
|
-
onDirtyChange: (value) => {
|
|
6278
|
+
onDirtyChange: (value, state) => {
|
|
6253
6279
|
draftDirty.current = value;
|
|
6280
|
+
sourceDirty.current = state?.sourceDirty ?? value;
|
|
6254
6281
|
onDraftDirtyChange?.(value || authoringDirty.current);
|
|
6255
6282
|
}
|
|
6256
6283
|
}, instanceMode === "edit" ? renderInstanceWorkbench : void 0) : bundleMain !== void 0 ? bundleMain : snapshot.section === "bundles" ? bundlesListMain : kitMain });
|
|
@@ -6501,6 +6528,20 @@ function StudioWorkspace({ client, controller: supplied, authoring, renderPrevie
|
|
|
6501
6528
|
if (files.length) importFiles(files, importKind.current);
|
|
6502
6529
|
}
|
|
6503
6530
|
})] }),
|
|
6531
|
+
mountBundle && /* @__PURE__ */ jsx(StudioDialog, {
|
|
6532
|
+
title: `${locale === "zh" ? "挂载管理" : "Mount Management"} · ${localMountRecord?.title[locale] ?? mountBundle.name}`,
|
|
6533
|
+
close: closeMounts,
|
|
6534
|
+
children: /* @__PURE__ */ jsx(BundleMounts, {
|
|
6535
|
+
onEditKit: instances?.editCurrent ? (kit) => {
|
|
6536
|
+
closeMounts();
|
|
6537
|
+
editInstalled("kit", kit);
|
|
6538
|
+
} : void 0,
|
|
6539
|
+
client: instances,
|
|
6540
|
+
bundle: mountBundle,
|
|
6541
|
+
installed: localMountRecord ? [] : snapshot.view?.bundles.find((bundle) => bundle.name === mountBundle.name && bundle.version === mountBundle.version)?.usedBy ?? [],
|
|
6542
|
+
locale
|
|
6543
|
+
})
|
|
6544
|
+
}),
|
|
6504
6545
|
incompleteImport && /* @__PURE__ */ jsxs(StudioDialog, {
|
|
6505
6546
|
title: locale === "zh" ? "已导入,内容待完善" : "Imported — needs completion",
|
|
6506
6547
|
close: () => setIncompleteImport(void 0),
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
"scope": "observed-current-dsh-output-and-selected-original-materials",
|
|
5
5
|
"sourceArchiveObserved": null,
|
|
6
6
|
"outputSha256": {
|
|
7
|
-
"lib/index.js": "
|
|
7
|
+
"lib/index.js": "d29a165014615ed92db213f34377d85465857d132694bcf2767e4d626a95f9ab"
|
|
8
8
|
},
|
|
9
9
|
"normalBuildMaps": [
|
|
10
10
|
{
|
|
11
11
|
"output": "lib/index.js",
|
|
12
12
|
"observation": "normal-build-done-module-membership",
|
|
13
13
|
"evidenceFile": "dsh-release-studio-ui-0-output-modules.json",
|
|
14
|
-
"evidenceSha256": "
|
|
15
|
-
"normalOutputSha256": "
|
|
16
|
-
"packedOutputSha256": "
|
|
14
|
+
"evidenceSha256": "3fda8c968e235052f3a3f4f7ebe04a5160dc78596c3f2b360c5b8138f878f7a3",
|
|
15
|
+
"normalOutputSha256": "d29a165014615ed92db213f34377d85465857d132694bcf2767e4d626a95f9ab",
|
|
16
|
+
"packedOutputSha256": "d29a165014615ed92db213f34377d85465857d132694bcf2767e4d626a95f9ab",
|
|
17
17
|
"projectOwnedSources": [
|
|
18
18
|
"packages/studio-ui/src/BundleCard.tsx",
|
|
19
19
|
"packages/studio-ui/src/BundleMounts.tsx",
|
|
@@ -44,25 +44,25 @@
|
|
|
44
44
|
"packages/studio-ui/src/trial-controller.ts"
|
|
45
45
|
],
|
|
46
46
|
"projectOwnedSourceSha256": {
|
|
47
|
-
"packages/studio-ui/src/BundleCard.tsx": "
|
|
47
|
+
"packages/studio-ui/src/BundleCard.tsx": "ed9e8bc78c61c7222dd68b3a97f734f987eff6e48efc3754e6d9392041e40717",
|
|
48
48
|
"packages/studio-ui/src/BundleMounts.tsx": "838ee0e841549b68314018754a6420e423b58116fbe52468bc49dfc07d4b1cea",
|
|
49
49
|
"packages/studio-ui/src/BundleTrial.tsx": "7296be83b30f62881f28afcb4de5889f618342e52dc8c7d27018f72f3a688efb",
|
|
50
50
|
"packages/studio-ui/src/ComponentLibrary.tsx": "db573fe5a221bf38eb747bd621cc3c48dc4719fb3616f142ad7c8611074bd66b",
|
|
51
51
|
"packages/studio-ui/src/ConversationActivity.tsx": "df169ab93f22f1ad2afccb19b1f562dc3d4942a75dca21539c1d037901a67a63",
|
|
52
52
|
"packages/studio-ui/src/FileExplorer.tsx": "5f0393f704d868bf968910bb81b29c87fc818dc4a977a6c0f293fb4470515bf9",
|
|
53
53
|
"packages/studio-ui/src/FileInfoSidebar.tsx": "b8b5b22d3b7b7d187c681729637dd039a3da73f70372410f60e450309310c818",
|
|
54
|
-
"packages/studio-ui/src/InstanceWorkbench.tsx": "
|
|
54
|
+
"packages/studio-ui/src/InstanceWorkbench.tsx": "fa18ff09d7f79942ab250ff4e207915456af3d5bc6a416ab6469f97024f9dd12",
|
|
55
55
|
"packages/studio-ui/src/KitFiles.tsx": "b3f44dc61df7c36f304d8de3ac98d8bc069a577c2ef433aef8d5df8ec2592037",
|
|
56
56
|
"packages/studio-ui/src/LoadingIndicator.tsx": "6bd2c5bc11d950d0574dd6e1e4e96be53985d1dca9e95033a9d9cf9981c9b24a",
|
|
57
|
-
"packages/studio-ui/src/MountEditor.tsx": "
|
|
57
|
+
"packages/studio-ui/src/MountEditor.tsx": "8aefba3ce2db5dfdfebd52dc90b14dbab87848a9e02d750dff5db50b558f9073",
|
|
58
58
|
"packages/studio-ui/src/SourceFileDiff.tsx": "cf45245f0c24f5376537041c6bed37ac1eb8784c723d86a6926935178a91ac36",
|
|
59
59
|
"packages/studio-ui/src/StudioEmptyState.tsx": "fa6347006b0463cdcf52a367aa64acc1e35fb0a0912f1ddcee6f098040d0c850",
|
|
60
60
|
"packages/studio-ui/src/StudioErrorDialog.tsx": "63aa36f58454c14344ad071d01659b8405d4d1933e3b2c4fbc8372d0b0ae5bf3",
|
|
61
61
|
"packages/studio-ui/src/StudioFeedback.tsx": "3de950c5a2daf49988f279581b105a3589ae4a2e845c4d835fee2a37d6e2c9fb",
|
|
62
62
|
"packages/studio-ui/src/StudioSelect.tsx": "88b66f7c2bc46c256f8348614f2bfd51c81cb16b2e01e41281b629507150f60c",
|
|
63
|
-
"packages/studio-ui/src/StudioWorkspace.tsx": "
|
|
64
|
-
"packages/studio-ui/src/content-source-import.ts": "
|
|
65
|
-
"packages/studio-ui/src/content-transfer.ts": "
|
|
63
|
+
"packages/studio-ui/src/StudioWorkspace.tsx": "fc30c799d02065f918a2d70c422478680b6af5cfb50a5c63c805dc5739443421",
|
|
64
|
+
"packages/studio-ui/src/content-source-import.ts": "3ddc85a5afe7378f55b540f7081180fad8696108d9ccdb61c1310a1f529a9e1a",
|
|
65
|
+
"packages/studio-ui/src/content-transfer.ts": "0193aa79b5c59ecb7cafd456fcda22eef07bb6ffa3200d28627e0ef82469da05",
|
|
66
66
|
"packages/studio-ui/src/content-versions.ts": "27f2c3ceaa457123d12319e76fabd78ae7d79c1d888a14f039a6f4d6db322eb9",
|
|
67
67
|
"packages/studio-ui/src/content-zip.ts": "7a883e8c8a95f50d5ce48ee94dfdd522ad3de04f683c45271c85ba337686b9c6",
|
|
68
68
|
"packages/studio-ui/src/controller.ts": "be785d85cc64233e05768661500db6cc64c19e279023f2ae9027ddca38d0f2c6",
|
|
@@ -85,14 +85,14 @@
|
|
|
85
85
|
{
|
|
86
86
|
"output": "lib/index.js",
|
|
87
87
|
"path": "packages/studio-ui/src/BundleCard.tsx",
|
|
88
|
-
"sha256": "
|
|
88
|
+
"sha256": "ed9e8bc78c61c7222dd68b3a97f734f987eff6e48efc3754e6d9392041e40717",
|
|
89
89
|
"name": "dsh-design-studio-ui",
|
|
90
90
|
"version": "0.0.0",
|
|
91
91
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171",
|
|
92
92
|
"firstParty": true,
|
|
93
93
|
"currentSourceIdentity": {
|
|
94
94
|
"manifestPath": "packages/studio-ui/package.json",
|
|
95
|
-
"sourceCommit": "
|
|
95
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
96
96
|
"name": "dsh-design-studio-ui",
|
|
97
97
|
"version": "0.0.0",
|
|
98
98
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"firstParty": true,
|
|
109
109
|
"currentSourceIdentity": {
|
|
110
110
|
"manifestPath": "packages/studio-ui/package.json",
|
|
111
|
-
"sourceCommit": "
|
|
111
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
112
112
|
"name": "dsh-design-studio-ui",
|
|
113
113
|
"version": "0.0.0",
|
|
114
114
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"firstParty": true,
|
|
125
125
|
"currentSourceIdentity": {
|
|
126
126
|
"manifestPath": "packages/studio-ui/package.json",
|
|
127
|
-
"sourceCommit": "
|
|
127
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
128
128
|
"name": "dsh-design-studio-ui",
|
|
129
129
|
"version": "0.0.0",
|
|
130
130
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"firstParty": true,
|
|
141
141
|
"currentSourceIdentity": {
|
|
142
142
|
"manifestPath": "packages/studio-ui/package.json",
|
|
143
|
-
"sourceCommit": "
|
|
143
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
144
144
|
"name": "dsh-design-studio-ui",
|
|
145
145
|
"version": "0.0.0",
|
|
146
146
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"firstParty": true,
|
|
157
157
|
"currentSourceIdentity": {
|
|
158
158
|
"manifestPath": "packages/studio-ui/package.json",
|
|
159
|
-
"sourceCommit": "
|
|
159
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
160
160
|
"name": "dsh-design-studio-ui",
|
|
161
161
|
"version": "0.0.0",
|
|
162
162
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
"firstParty": true,
|
|
173
173
|
"currentSourceIdentity": {
|
|
174
174
|
"manifestPath": "packages/studio-ui/package.json",
|
|
175
|
-
"sourceCommit": "
|
|
175
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
176
176
|
"name": "dsh-design-studio-ui",
|
|
177
177
|
"version": "0.0.0",
|
|
178
178
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
"firstParty": true,
|
|
189
189
|
"currentSourceIdentity": {
|
|
190
190
|
"manifestPath": "packages/studio-ui/package.json",
|
|
191
|
-
"sourceCommit": "
|
|
191
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
192
192
|
"name": "dsh-design-studio-ui",
|
|
193
193
|
"version": "0.0.0",
|
|
194
194
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -197,14 +197,14 @@
|
|
|
197
197
|
{
|
|
198
198
|
"output": "lib/index.js",
|
|
199
199
|
"path": "packages/studio-ui/src/InstanceWorkbench.tsx",
|
|
200
|
-
"sha256": "
|
|
200
|
+
"sha256": "fa18ff09d7f79942ab250ff4e207915456af3d5bc6a416ab6469f97024f9dd12",
|
|
201
201
|
"name": "dsh-design-studio-ui",
|
|
202
202
|
"version": "0.0.0",
|
|
203
203
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171",
|
|
204
204
|
"firstParty": true,
|
|
205
205
|
"currentSourceIdentity": {
|
|
206
206
|
"manifestPath": "packages/studio-ui/package.json",
|
|
207
|
-
"sourceCommit": "
|
|
207
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
208
208
|
"name": "dsh-design-studio-ui",
|
|
209
209
|
"version": "0.0.0",
|
|
210
210
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
"firstParty": true,
|
|
221
221
|
"currentSourceIdentity": {
|
|
222
222
|
"manifestPath": "packages/studio-ui/package.json",
|
|
223
|
-
"sourceCommit": "
|
|
223
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
224
224
|
"name": "dsh-design-studio-ui",
|
|
225
225
|
"version": "0.0.0",
|
|
226
226
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
"firstParty": true,
|
|
237
237
|
"currentSourceIdentity": {
|
|
238
238
|
"manifestPath": "packages/studio-ui/package.json",
|
|
239
|
-
"sourceCommit": "
|
|
239
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
240
240
|
"name": "dsh-design-studio-ui",
|
|
241
241
|
"version": "0.0.0",
|
|
242
242
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -245,14 +245,14 @@
|
|
|
245
245
|
{
|
|
246
246
|
"output": "lib/index.js",
|
|
247
247
|
"path": "packages/studio-ui/src/MountEditor.tsx",
|
|
248
|
-
"sha256": "
|
|
248
|
+
"sha256": "8aefba3ce2db5dfdfebd52dc90b14dbab87848a9e02d750dff5db50b558f9073",
|
|
249
249
|
"name": "dsh-design-studio-ui",
|
|
250
250
|
"version": "0.0.0",
|
|
251
251
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171",
|
|
252
252
|
"firstParty": true,
|
|
253
253
|
"currentSourceIdentity": {
|
|
254
254
|
"manifestPath": "packages/studio-ui/package.json",
|
|
255
|
-
"sourceCommit": "
|
|
255
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
256
256
|
"name": "dsh-design-studio-ui",
|
|
257
257
|
"version": "0.0.0",
|
|
258
258
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
"firstParty": true,
|
|
269
269
|
"currentSourceIdentity": {
|
|
270
270
|
"manifestPath": "packages/studio-ui/package.json",
|
|
271
|
-
"sourceCommit": "
|
|
271
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
272
272
|
"name": "dsh-design-studio-ui",
|
|
273
273
|
"version": "0.0.0",
|
|
274
274
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
"firstParty": true,
|
|
285
285
|
"currentSourceIdentity": {
|
|
286
286
|
"manifestPath": "packages/studio-ui/package.json",
|
|
287
|
-
"sourceCommit": "
|
|
287
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
288
288
|
"name": "dsh-design-studio-ui",
|
|
289
289
|
"version": "0.0.0",
|
|
290
290
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
"firstParty": true,
|
|
301
301
|
"currentSourceIdentity": {
|
|
302
302
|
"manifestPath": "packages/studio-ui/package.json",
|
|
303
|
-
"sourceCommit": "
|
|
303
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
304
304
|
"name": "dsh-design-studio-ui",
|
|
305
305
|
"version": "0.0.0",
|
|
306
306
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
"firstParty": true,
|
|
317
317
|
"currentSourceIdentity": {
|
|
318
318
|
"manifestPath": "packages/studio-ui/package.json",
|
|
319
|
-
"sourceCommit": "
|
|
319
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
320
320
|
"name": "dsh-design-studio-ui",
|
|
321
321
|
"version": "0.0.0",
|
|
322
322
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
"firstParty": true,
|
|
333
333
|
"currentSourceIdentity": {
|
|
334
334
|
"manifestPath": "packages/studio-ui/package.json",
|
|
335
|
-
"sourceCommit": "
|
|
335
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
336
336
|
"name": "dsh-design-studio-ui",
|
|
337
337
|
"version": "0.0.0",
|
|
338
338
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -341,14 +341,14 @@
|
|
|
341
341
|
{
|
|
342
342
|
"output": "lib/index.js",
|
|
343
343
|
"path": "packages/studio-ui/src/StudioWorkspace.tsx",
|
|
344
|
-
"sha256": "
|
|
344
|
+
"sha256": "fc30c799d02065f918a2d70c422478680b6af5cfb50a5c63c805dc5739443421",
|
|
345
345
|
"name": "dsh-design-studio-ui",
|
|
346
346
|
"version": "0.0.0",
|
|
347
347
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171",
|
|
348
348
|
"firstParty": true,
|
|
349
349
|
"currentSourceIdentity": {
|
|
350
350
|
"manifestPath": "packages/studio-ui/package.json",
|
|
351
|
-
"sourceCommit": "
|
|
351
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
352
352
|
"name": "dsh-design-studio-ui",
|
|
353
353
|
"version": "0.0.0",
|
|
354
354
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -357,14 +357,14 @@
|
|
|
357
357
|
{
|
|
358
358
|
"output": "lib/index.js",
|
|
359
359
|
"path": "packages/studio-ui/src/content-source-import.ts",
|
|
360
|
-
"sha256": "
|
|
360
|
+
"sha256": "3ddc85a5afe7378f55b540f7081180fad8696108d9ccdb61c1310a1f529a9e1a",
|
|
361
361
|
"name": "dsh-design-studio-ui",
|
|
362
362
|
"version": "0.0.0",
|
|
363
363
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171",
|
|
364
364
|
"firstParty": true,
|
|
365
365
|
"currentSourceIdentity": {
|
|
366
366
|
"manifestPath": "packages/studio-ui/package.json",
|
|
367
|
-
"sourceCommit": "
|
|
367
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
368
368
|
"name": "dsh-design-studio-ui",
|
|
369
369
|
"version": "0.0.0",
|
|
370
370
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -373,14 +373,14 @@
|
|
|
373
373
|
{
|
|
374
374
|
"output": "lib/index.js",
|
|
375
375
|
"path": "packages/studio-ui/src/content-transfer.ts",
|
|
376
|
-
"sha256": "
|
|
376
|
+
"sha256": "0193aa79b5c59ecb7cafd456fcda22eef07bb6ffa3200d28627e0ef82469da05",
|
|
377
377
|
"name": "dsh-design-studio-ui",
|
|
378
378
|
"version": "0.0.0",
|
|
379
379
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171",
|
|
380
380
|
"firstParty": true,
|
|
381
381
|
"currentSourceIdentity": {
|
|
382
382
|
"manifestPath": "packages/studio-ui/package.json",
|
|
383
|
-
"sourceCommit": "
|
|
383
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
384
384
|
"name": "dsh-design-studio-ui",
|
|
385
385
|
"version": "0.0.0",
|
|
386
386
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
"firstParty": true,
|
|
397
397
|
"currentSourceIdentity": {
|
|
398
398
|
"manifestPath": "packages/studio-ui/package.json",
|
|
399
|
-
"sourceCommit": "
|
|
399
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
400
400
|
"name": "dsh-design-studio-ui",
|
|
401
401
|
"version": "0.0.0",
|
|
402
402
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
"firstParty": true,
|
|
413
413
|
"currentSourceIdentity": {
|
|
414
414
|
"manifestPath": "packages/studio-ui/package.json",
|
|
415
|
-
"sourceCommit": "
|
|
415
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
416
416
|
"name": "dsh-design-studio-ui",
|
|
417
417
|
"version": "0.0.0",
|
|
418
418
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -428,7 +428,7 @@
|
|
|
428
428
|
"firstParty": true,
|
|
429
429
|
"currentSourceIdentity": {
|
|
430
430
|
"manifestPath": "packages/studio-ui/package.json",
|
|
431
|
-
"sourceCommit": "
|
|
431
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
432
432
|
"name": "dsh-design-studio-ui",
|
|
433
433
|
"version": "0.0.0",
|
|
434
434
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -444,7 +444,7 @@
|
|
|
444
444
|
"firstParty": true,
|
|
445
445
|
"currentSourceIdentity": {
|
|
446
446
|
"manifestPath": "packages/studio-ui/package.json",
|
|
447
|
-
"sourceCommit": "
|
|
447
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
448
448
|
"name": "dsh-design-studio-ui",
|
|
449
449
|
"version": "0.0.0",
|
|
450
450
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
"firstParty": true,
|
|
461
461
|
"currentSourceIdentity": {
|
|
462
462
|
"manifestPath": "packages/studio-ui/package.json",
|
|
463
|
-
"sourceCommit": "
|
|
463
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
464
464
|
"name": "dsh-design-studio-ui",
|
|
465
465
|
"version": "0.0.0",
|
|
466
466
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -476,7 +476,7 @@
|
|
|
476
476
|
"firstParty": true,
|
|
477
477
|
"currentSourceIdentity": {
|
|
478
478
|
"manifestPath": "packages/studio-ui/package.json",
|
|
479
|
-
"sourceCommit": "
|
|
479
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
480
480
|
"name": "dsh-design-studio-ui",
|
|
481
481
|
"version": "0.0.0",
|
|
482
482
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
"firstParty": true,
|
|
493
493
|
"currentSourceIdentity": {
|
|
494
494
|
"manifestPath": "packages/studio-ui/package.json",
|
|
495
|
-
"sourceCommit": "
|
|
495
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
496
496
|
"name": "dsh-design-studio-ui",
|
|
497
497
|
"version": "0.0.0",
|
|
498
498
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
|
@@ -508,7 +508,7 @@
|
|
|
508
508
|
"firstParty": true,
|
|
509
509
|
"currentSourceIdentity": {
|
|
510
510
|
"manifestPath": "packages/studio-ui/package.json",
|
|
511
|
-
"sourceCommit": "
|
|
511
|
+
"sourceCommit": "d42f6f4a705ae25ae2f6f129f02719659d812aa1",
|
|
512
512
|
"name": "dsh-design-studio-ui",
|
|
513
513
|
"version": "0.0.0",
|
|
514
514
|
"packageMetadataSha256": "c193bf0059fb9e4364c3aadded6d4bc5dc4867ef16679bf921d381e7def3f171"
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"directory": "packages/studio-ui"
|
|
6
6
|
},
|
|
7
7
|
"name": "@yugoo-design/dsh-design-studio-ui",
|
|
8
|
-
"version": "0.2.
|
|
8
|
+
"version": "0.2.2",
|
|
9
9
|
"license": "Apache-2.0",
|
|
10
10
|
"type": "module",
|
|
11
11
|
"description": "Host-neutral shared React workspace for Kit and Bundle browsing and current-source editing.",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"test:source-candidates:built": "STUDIO_SOURCE_CANDIDATE_REVIEW_BUILT=1 TSX_TSCONFIG_PATH=tests/source-tsconfig.json node --import tsx --test tests/instance-source-changes.test.mjs tests/studio-feedback.test.mjs"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@yugoo-design/dsh-design-studio": "0.2.
|
|
30
|
+
"@yugoo-design/dsh-design-studio": "0.2.2",
|
|
31
31
|
"react": "^18.2.0",
|
|
32
32
|
"react-dom": "^18.2.0"
|
|
33
33
|
},
|