Browse Source

Extend modules map: moment-timezone, canvas-gauges and ngx-hm-carousel added

pull/15130/head
Ekaterina Chantsova 3 months ago
parent
commit
b2526f26f7
  1. 8
      ui-ngx/src/app/modules/common/modules-map.ts

8
ui-ngx/src/app/modules/common/modules-map.ts

@ -73,8 +73,12 @@ import * as RxJsOperators from 'rxjs/operators';
import * as TranslateCore from '@ngx-translate/core';
import * as MatDateTimePicker from '@mat-datetimepicker/core';
import _moment from 'moment';
import * as momentTz from 'moment-timezone';
import * as tslib from 'tslib';
import * as CanvasGauges from 'canvas-gauges';
import * as NgxHmCarousel from 'ngx-hm-carousel';
import * as TbCore from '@core/public-api';
import * as TbShared from '@shared/public-api';
import * as TbHomeComponents from '@home/components/public-api';
@ -404,8 +408,12 @@ class ModulesMap implements IModulesMap {
'@ngx-translate/core': this.translateModule20to18Patch(TranslateCore),
'@mat-datetimepicker/core': MatDateTimePicker,
moment: _moment,
'moment-timezone': momentTz,
tslib,
'canvas-gauges': CanvasGauges,
'ngx-hm-carousel': NgxHmCarousel,
'@core/public-api': TbCore,
'@shared/public-api': TbShared,
'@home/components/public-api': TbHomeComponents,

Loading…
Cancel
Save