@vc-shell/framework 1.0.221 → 1.0.222

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [1.0.222](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.221...v1.0.222) (2024-05-28)
2
+
3
+
4
+
1
5
  ## [1.0.221](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.220...v1.0.221) (2024-05-28)
2
6
 
3
7
 
package/dist/framework.js CHANGED
@@ -47287,10 +47287,10 @@ const Pre = {
47287
47287
  }), s),
47288
47288
  {}
47289
47289
  ),
47290
- notfound: e?.notFound ? (s) => Ue(e.notFound, { context: s }) : void 0,
47291
- "mobile-item": e?.mobileView ? (s) => Ue(e.mobileView, { context: s }) : void 0,
47292
- empty: e?.empty ? (s) => Ue(e.empty, { context: s }) : void 0,
47293
- footer: e?.footer ? (s) => Ue(e.footer, { context: s }) : void 0
47290
+ notfound: e?.notFound ? (s) => Ue(e.notFound, { context: s, bladeContext: t.bladeContext }) : void 0,
47291
+ "mobile-item": e?.mobileView ? (s) => Ue(e.mobileView, { context: s, bladeContext: t.bladeContext }) : void 0,
47292
+ empty: e?.empty ? (s) => Ue(e.empty, { context: s, bladeContext: t.bladeContext }) : void 0,
47293
+ footer: e?.footer ? (s) => Ue(e.footer, { context: s, bladeContext: t.bladeContext }) : void 0
47294
47294
  }
47295
47295
  });
47296
47296
  return Ue(a.component, a.props, a.slots);
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../../shared/modules/dynamic/components/fields/Table.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,gBAAgB,EAA8B,MAAM,KAAK,CAAC;AAE9E,OAAO,cAAc,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAW3B,iBAAiB,qBAAqB,CAAC,GAAG;QAAE,OAAO,EAAE,WAAW,CAAA;KAAE;;;;AAHjF,wBA0GE"}
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../../shared/modules/dynamic/components/fields/Table.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,gBAAgB,EAA8B,MAAM,KAAK,CAAC;AAE9E,OAAO,cAAc,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAW3B,iBAAiB,qBAAqB,CAAC,GAAG;QAAE,OAAO,EAAE,WAAW,CAAA;KAAE;;;;AAHjF,wBA8GE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.221",
3
+ "version": "1.0.222",
4
4
  "type": "module",
5
5
  "main": "./dist/framework.js",
6
6
  "types": "./dist/index.d.ts",
@@ -60,9 +60,9 @@
60
60
  "devDependencies": {
61
61
  "@types/dompurify": "^3.0.5",
62
62
  "@types/quill": "^2.0.14",
63
- "@vc-shell/api-client-generator": "^1.0.221",
64
- "@vc-shell/config-generator": "^1.0.221",
65
- "@vc-shell/ts-config": "^1.0.221",
63
+ "@vc-shell/api-client-generator": "^1.0.222",
64
+ "@vc-shell/config-generator": "^1.0.222",
65
+ "@vc-shell/ts-config": "^1.0.222",
66
66
  "@vitejs/plugin-vue": "^5.0.3",
67
67
  "sass": "^1.69.6",
68
68
  "shx": "^0.3.4",
@@ -100,16 +100,20 @@ export default {
100
100
  {} as Record<`item_${string}`, any>,
101
101
  ),
102
102
  notfound: tableTemplates?.notFound
103
- ? (itemData: TableItemData) => h(tableTemplates.notFound as Component, { context: itemData })
103
+ ? (itemData: TableItemData) =>
104
+ h(tableTemplates.notFound as Component, { context: itemData, bladeContext: props.bladeContext })
104
105
  : undefined,
105
106
  "mobile-item": tableTemplates?.mobileView
106
- ? (itemData: TableItemData) => h(tableTemplates.mobileView as Component, { context: itemData })
107
+ ? (itemData: TableItemData) =>
108
+ h(tableTemplates.mobileView as Component, { context: itemData, bladeContext: props.bladeContext })
107
109
  : undefined,
108
110
  empty: tableTemplates?.empty
109
- ? (itemData: TableItemData) => h(tableTemplates.empty as Component, { context: itemData })
111
+ ? (itemData: TableItemData) =>
112
+ h(tableTemplates.empty as Component, { context: itemData, bladeContext: props.bladeContext })
110
113
  : undefined,
111
114
  footer: tableTemplates?.footer
112
- ? (itemData: TableItemData) => h(tableTemplates.footer as Component, { context: itemData })
115
+ ? (itemData: TableItemData) =>
116
+ h(tableTemplates.footer as Component, { context: itemData, bladeContext: props.bladeContext })
113
117
  : undefined,
114
118
  },
115
119
  });