@vc-shell/framework 1.0.126 → 1.0.127

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../shared/modules/dynamic/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAoC,MAAM,KAAK,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAOzD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAoGhE,eAAO,MAAM,sBAAsB;;;;;iCAEO,GAAG,EAAE,KAAK,GAAG;;;;;;;;;;;;;;iBA0BpC,GAAG,WAAW;QAAE,MAAM,EAAE,GAAG,CAAA;KAAE;aA4B/C,CAAC;AAEF,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../shared/modules/dynamic/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAoC,MAAM,KAAK,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAOzD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAsGhE,eAAO,MAAM,sBAAsB;;;;;iCAEO,GAAG,EAAE,KAAK,GAAG;;;;;;;;;;;;;;iBA0BpC,GAAG,WAAW;QAAE,MAAM,EAAE,GAAG,CAAA;KAAE;aA4B/C,CAAC;AAEF,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.126",
3
+ "version": "1.0.127",
4
4
  "main": "./dist/framework.mjs",
5
5
  "module": "./dist/framework.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -57,9 +57,9 @@
57
57
  "whatwg-fetch": "^3.6.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@vc-shell/api-client-generator": "^1.0.126",
61
- "@vc-shell/config-generator": "^1.0.126",
62
- "@vc-shell/ts-config": "^1.0.126",
60
+ "@vc-shell/api-client-generator": "^1.0.127",
61
+ "@vc-shell/config-generator": "^1.0.127",
62
+ "@vc-shell/ts-config": "^1.0.127",
63
63
  "@vitejs/plugin-vue": "^4.2.3",
64
64
  "sass": "^1.62.1",
65
65
  "typescript": "^5.2.2",
@@ -70,17 +70,19 @@ const register = (
70
70
 
71
71
  const BladeInstanceConstructor = defineComponent({
72
72
  ...bladeComponent,
73
- name: bladeName,
74
73
  isWorkspace: "isWorkspace" in json.settings && json.settings.isWorkspace,
75
74
  setup: (props: ComponentProps<typeof bladeComponent>, ctx) =>
76
75
  (bladeComponent?.setup &&
77
76
  bladeComponent.setup(
78
- reactiveComputed(() => ({
79
- ...props,
80
- model: json,
81
- composables: args.composables,
82
- })) as any,
83
- reactiveComputed(() => ctx) as any
77
+ Object.assign(
78
+ {},
79
+ reactiveComputed(() => props),
80
+ {
81
+ model: json,
82
+ composables: args.composables,
83
+ } as any
84
+ ),
85
+ ctx
84
86
  )) ??
85
87
  {},
86
88
  });