@svadmin/surface 0.8.6 → 0.8.19

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/json.js CHANGED
@@ -99,8 +99,7 @@ export function jsonValueIssue(input) {
99
99
  }
100
100
  entries.push([key, descriptor.value]);
101
101
  }
102
- for (let index = entries.length - 1; index >= 0; index -= 1) {
103
- const [key, entry] = entries[index];
102
+ for (const [key, entry] of entries.reverse()) {
104
103
  pending.push({ kind: 'visit', candidate: entry, path: [...path, key], depth: depth + 1 });
105
104
  }
106
105
  }
package/dist/types.d.ts CHANGED
@@ -93,7 +93,7 @@ export interface SurfaceWidgetDefinition {
93
93
  readonly type: string;
94
94
  readonly dataKind: SurfaceCatalogDataKind;
95
95
  readonly propsSchema: TSchema;
96
- /** 组件从绑定记录中读取的字段,由可信 Catalog 提供。 */
96
+ /** Fields read from the bound record, supplied by a trusted Catalog. */
97
97
  readonly getReferencedFields?: (props: JsonObject) => readonly string[];
98
98
  }
99
99
  export interface SurfaceCatalog {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svadmin/surface",
3
- "version": "0.8.6",
3
+ "version": "0.8.19",
4
4
  "description": "Validated declarative surfaces for svadmin dashboards",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -25,8 +25,8 @@
25
25
  }
26
26
  },
27
27
  "peerDependencies": {
28
- "@svadmin/core": ">=0.34.2 <0.51.0",
29
- "@svadmin/ui": ">=0.40.6 <0.71.0",
28
+ "@svadmin/core": ">=0.34.2 <0.53.0",
29
+ "@svadmin/ui": ">=0.40.6 <0.73.0",
30
30
  "svelte": "^5.56.8"
31
31
  },
32
32
  "dependencies": {
@@ -53,7 +53,7 @@
53
53
  "author": "zuohuadong",
54
54
  "repository": {
55
55
  "type": "git",
56
- "url": "https://github.com/vibeunion/svadmin.git",
56
+ "url": "git+https://github.com/vibeunion/svadmin.git",
57
57
  "directory": "packages/surface"
58
58
  },
59
59
  "homepage": "https://github.com/vibeunion/svadmin#readme",