dsh-plugin-core-demo 0.7.1 → 0.7.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.
Files changed (2) hide show
  1. package/dist/client.js +8 -7
  2. package/package.json +1 -1
package/dist/client.js CHANGED
@@ -61098,11 +61098,12 @@ function openFilePreview(options) {
61098
61098
  pinnedWidth = width;
61099
61099
  dock.setWidth(PREVIEW_PANEL_ID, width);
61100
61100
  };
61101
+ let openSeq = 0;
61101
61102
  const draw = (o) => {
61102
61103
  if (dock.isCollapsed(PREVIEW_PANEL_ID))
61103
61104
  dock.expand(PREVIEW_PANEL_ID);
61104
61105
  const internalSwitch = o.onSelectWorkspace === void 0;
61105
- const contentKey = o.path ?? "";
61106
+ const contentKey = `${o.path ?? ""}#${++openSeq}`;
61106
61107
  root.render((0, import_react64.createElement)(
61107
61108
  "div",
61108
61109
  // 高度吃调用方给的 --dshpc-dock-h(demo 的页面行给 100%);退化成视口高是整页场景。
@@ -61727,9 +61728,9 @@ function ReferencePage() {
61727
61728
  "tbody",
61728
61729
  null,
61729
61730
  [
61730
- [t3("buildCore"), `v${"0.7.1"}`],
61731
- [t3("buildDemo"), `v${"0.7.1"}`],
61732
- [t3("buildStamp"), "261028-075655-587"]
61731
+ [t3("buildCore"), `v${"0.7.2"}`],
61732
+ [t3("buildDemo"), `v${"0.7.2"}`],
61733
+ [t3("buildStamp"), "261028-082253-256"]
61733
61734
  ].map(
61734
61735
  ([label, value]) => (0, import_react67.createElement)(
61735
61736
  "tr",
@@ -62051,9 +62052,9 @@ function DemoPage() {
62051
62052
  lineHeight: "14px"
62052
62053
  }
62053
62054
  },
62054
- (0, import_react69.createElement)("span", null, `core v${"0.7.1"}`),
62055
- (0, import_react69.createElement)("span", null, `demo v${"0.7.1"}`),
62056
- (0, import_react69.createElement)("span", { style: { marginTop: "4px", fontSize: "9px" } }, "261028-075655-587")
62055
+ (0, import_react69.createElement)("span", null, `core v${"0.7.2"}`),
62056
+ (0, import_react69.createElement)("span", null, `demo v${"0.7.2"}`),
62057
+ (0, import_react69.createElement)("span", { style: { marginTop: "4px", fontSize: "9px" } }, "261028-082253-256")
62057
62058
  )
62058
62059
  )
62059
62060
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-core-demo",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "The shared UI foundation for DSH plugins, with a live component preview: design tokens, common controls, workspace browsing and notifications maintained in one place — install it to preview every component in a real host.",
5
5
  "icon": "./assets/icon-components.svg",
6
6
  "keywords": [