@wavemaker/app-ng-runtime 11.5.0-next.141082 → 11.5.0-next.141083

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.
@@ -3999,11 +3999,9 @@ initComponentsBuildTask();
3999
3999
  const componentFactoryRefCache = new Map();
4000
4000
  const getDynamicModule = (componentRef) => {
4001
4001
  return NgModule({
4002
- declarations: [
4003
- componentRef
4004
- ],
4002
+ declarations: [componentRef],
4005
4003
  imports: [
4006
- RuntimeBaseModule
4004
+ RuntimeBaseModule,
4007
4005
  ],
4008
4006
  schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA]
4009
4007
  })(class DynamicModule {
@@ -4011,14 +4009,13 @@ const getDynamicModule = (componentRef) => {
4011
4009
  };
4012
4010
  const getDynamicComponent = (selector, template, css = '') => {
4013
4011
  // @ts-ignore
4014
- const component = Component({
4012
+ return Component({
4015
4013
  template,
4016
4014
  styles: [css],
4017
4015
  encapsulation: ViewEncapsulation.None,
4018
4016
  selector
4019
4017
  })(class DynamicComponent {
4020
4018
  });
4021
- return component;
4022
4019
  };
4023
4020
  class DynamicComponentRefProviderService {
4024
4021
  constructor(app, appManager, compiler) {