@wavemaker-ai/app-ng-runtime 1.0.0-rc.312 → 1.0.0-rc.317
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/build-task/bundles/index.umd.js +12 -3
- package/build-task/fesm2022/index.mjs +11 -3
- package/build-task/fesm2022/index.mjs.map +1 -1
- package/components/base/bundles/index.umd.js +0 -14
- package/components/base/fesm2022/index.mjs +0 -14
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/data/form/bundles/index.umd.js +6 -3
- package/components/data/form/fesm2022/index.mjs +6 -3
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/data/form/index.d.ts +1 -1
- package/components/data/table/bundles/index.umd.js +44 -16
- package/components/data/table/fesm2022/index.mjs +45 -17
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +22 -11
- package/runtime/base/fesm2022/index.mjs +22 -11
- package/runtime/base/fesm2022/index.mjs.map +1 -1
- package/runtime/base/index.d.ts +1 -1
- package/scripts/datatable/datatable.js +11 -2
|
@@ -2780,20 +2780,6 @@
|
|
|
2780
2780
|
*/
|
|
2781
2781
|
createCustomInjector(contextKey, context) {
|
|
2782
2782
|
if (this.customInjectorMap[contextKey]) {
|
|
2783
|
-
// Sync the cached context object in place so widgets that are
|
|
2784
|
-
// re-instantiated under the same template position (e.g. table cells
|
|
2785
|
-
// recreated after a CRUD refresh) see the latest row data via
|
|
2786
|
-
// EXPLICIT_CONTEXT. The injector's useFactory captured this reference,
|
|
2787
|
-
// so mutating it propagates to fresh constructors that extend their
|
|
2788
|
-
// context with EXPLICIT_CONTEXT.
|
|
2789
|
-
const cachedCtx = this.customInjectorMap[contextKey].context;
|
|
2790
|
-
if (cachedCtx !== context) {
|
|
2791
|
-
Object.keys(cachedCtx).forEach(k => {
|
|
2792
|
-
if (!(k in context))
|
|
2793
|
-
delete cachedCtx[k];
|
|
2794
|
-
});
|
|
2795
|
-
Object.assign(cachedCtx, context);
|
|
2796
|
-
}
|
|
2797
2783
|
return this.customInjectorMap[contextKey].injector;
|
|
2798
2784
|
}
|
|
2799
2785
|
const injector = i0.Injector.create({
|
|
@@ -2776,20 +2776,6 @@ class BaseComponent {
|
|
|
2776
2776
|
*/
|
|
2777
2777
|
createCustomInjector(contextKey, context) {
|
|
2778
2778
|
if (this.customInjectorMap[contextKey]) {
|
|
2779
|
-
// Sync the cached context object in place so widgets that are
|
|
2780
|
-
// re-instantiated under the same template position (e.g. table cells
|
|
2781
|
-
// recreated after a CRUD refresh) see the latest row data via
|
|
2782
|
-
// EXPLICIT_CONTEXT. The injector's useFactory captured this reference,
|
|
2783
|
-
// so mutating it propagates to fresh constructors that extend their
|
|
2784
|
-
// context with EXPLICIT_CONTEXT.
|
|
2785
|
-
const cachedCtx = this.customInjectorMap[contextKey].context;
|
|
2786
|
-
if (cachedCtx !== context) {
|
|
2787
|
-
Object.keys(cachedCtx).forEach(k => {
|
|
2788
|
-
if (!(k in context))
|
|
2789
|
-
delete cachedCtx[k];
|
|
2790
|
-
});
|
|
2791
|
-
Object.assign(cachedCtx, context);
|
|
2792
|
-
}
|
|
2793
2779
|
return this.customInjectorMap[contextKey].injector;
|
|
2794
2780
|
}
|
|
2795
2781
|
const injector = Injector.create({
|