@ts-core/angular 13.1.19 → 13.1.20

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,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ViewContainerRef, Injectable, Directive, Input, Pipe, NgModule, PLATFORM_ID, Inject, InjectionToken, EventEmitter, Output, HostListener, Optional, RendererStyleFlags2, APP_INITIALIZER, Renderer2, NgModuleFactory } from '@angular/core';
2
+ import { Component, ViewContainerRef, Injectable, Directive, Input, Pipe, NgModule, PLATFORM_ID, Inject, InjectionToken, EventEmitter, Output, HostListener, Optional, RendererStyleFlags2, APP_INITIALIZER, RendererFactory2, NgModuleFactory } from '@angular/core';
3
3
  import { DestroyableContainer, PromiseHandler, ExtendedError, LoadableEvent, Destroyable, IDestroyable, DateUtil, ObservableData, ObjectUtil, ArrayUtil, RemoveFilterableCondition, GetFilterableCondition, Logger, LoggerLevel, DataSourceMapCollectionEvent, FilterableDataSourceMapCollection, PaginableDataSourceMapCollection, PaginableBookmarkDataSourceMapCollection, Loadable, LoadableStatus, TransportTimeoutError, TransportNoConnectionError, FilterableMapCollection, MapCollection, TransportEvent, TransportLocal } from '@ts-core/common';
4
4
  import * as _ from 'lodash';
5
5
  import * as i1$1 from '@ts-core/frontend';
@@ -7145,7 +7145,7 @@ class VICommonModule {
7145
7145
  providers: [
7146
7146
  {
7147
7147
  provide: APP_INITIALIZER,
7148
- deps: [NativeWindowService, Renderer2],
7148
+ deps: [NativeWindowService, RendererFactory2],
7149
7149
  useFactory: initializerFactory,
7150
7150
  multi: true
7151
7151
  },
@@ -7226,9 +7226,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
7226
7226
  }] });
7227
7227
  class IVICommonOptions extends ICookieOptions {
7228
7228
  }
7229
- function initializerFactory(nativeWindow, renderer) {
7229
+ function initializerFactory(nativeWindow, rendererFactory2) {
7230
7230
  console.log('initializerFactory called');
7231
- ViewUtil.renderer = renderer;
7231
+ ViewUtil.renderer = rendererFactory2.createRenderer(null, null);
7232
7232
  ViewUtil.document = nativeWindow.document;
7233
7233
  return () => Promise.resolve();
7234
7234
  }