@c8y/ngx-components 1018.0.152 → 1018.0.159
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/NOTICES +1 -1
- package/core/realtime/realtime-subject.service.d.ts +4 -0
- package/core/realtime/realtime.service.d.ts +10 -0
- package/device-protocols/device-protocols.guard.d.ts +12 -0
- package/device-protocols/device-protocols.module.d.ts +8 -0
- package/device-protocols/device-type-detail-edited.service.d.ts +8 -0
- package/device-protocols/device-type-detail.component.d.ts +12 -0
- package/device-protocols/device-type-detail.directive.d.ts +9 -0
- package/device-protocols/index.d.ts +5 -0
- package/esm2020/core/realtime/realtime-subject.service.mjs +47 -4
- package/esm2020/core/realtime/realtime.service.mjs +15 -1
- package/esm2020/device-protocols/c8y-ngx-components-device-protocols.mjs +5 -0
- package/esm2020/device-protocols/device-protocols.guard.mjs +40 -0
- package/esm2020/device-protocols/device-protocols.module.mjs +46 -0
- package/esm2020/device-protocols/device-type-detail-edited.service.mjs +19 -0
- package/esm2020/device-protocols/device-type-detail.component.mjs +45 -0
- package/esm2020/device-protocols/device-type-detail.directive.mjs +19 -0
- package/esm2020/device-protocols/index.mjs +6 -0
- package/esm2020/ecosystem/application-properties/subscription-modal/subscription-modal.component.mjs +4 -1
- package/esm2020/icon-selector/icons/ecommerce/index.mjs +2 -2
- package/esm2020/upgrade/ng1/downgraded.services.mjs +6 -4
- package/esm2020/upgrade/ng1/index.mjs +6 -5
- package/esm2020/upgrade/upgrade.module.mjs +10 -10
- package/fesm2015/c8y-ngx-components-device-protocols.mjs +162 -0
- package/fesm2015/c8y-ngx-components-device-protocols.mjs.map +1 -0
- package/fesm2015/c8y-ngx-components-ecosystem.mjs +3 -0
- package/fesm2015/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-icon-selector-icons-ecommerce.mjs +1 -1
- package/fesm2015/c8y-ngx-components-icon-selector-icons-ecommerce.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-upgrade.mjs +91 -88
- package/fesm2015/c8y-ngx-components-upgrade.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components.mjs +59 -2
- package/fesm2015/c8y-ngx-components.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-device-protocols.mjs +159 -0
- package/fesm2020/c8y-ngx-components-device-protocols.mjs.map +1 -0
- package/fesm2020/c8y-ngx-components-ecosystem.mjs +3 -0
- package/fesm2020/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-icon-selector-icons-ecommerce.mjs +1 -1
- package/fesm2020/c8y-ngx-components-icon-selector-icons-ecommerce.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-upgrade.mjs +90 -87
- package/fesm2020/c8y-ngx-components-upgrade.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components.mjs +59 -2
- package/fesm2020/c8y-ngx-components.mjs.map +1 -1
- package/icon-selector/icons/ecommerce/index.d.ts +1 -1
- package/locales/de.po +3 -0
- package/locales/en.po +80 -8
- package/locales/locales.pot +4 -4
- package/package.json +1 -1
- package/upgrade/ng1/downgraded.services.d.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"c8y-ngx-components-icon-selector-icons-ecommerce.mjs","sources":["../../icon-selector/icons/ecommerce/index.ts","../../icon-selector/icons/ecommerce/c8y-ngx-components-icon-selector-icons-ecommerce.ts"],"sourcesContent":["import { gettext } from '@c8y/ngx-components';\n\nexport const ecommerceIcons = [\n ['gift'],\n ['small-business'],\n ['pricing'],\n ['free-trial'],\n ['buy1', 'cart-plus', 'cart-arrow-down'],\n ['return-purchase'],\n ['shopping-cart-with-money'],\n ['buying', 'shopping-cart'],\n ['procurement'],\n ['delivery-handcart'],\n ['cheap-21'],\n ['average-2'],\n ['stripe1'],\n ['loyalty-card'],\n ['shopping-check'],\n ['shopping-bag'],\n ['atm'],\n ['bank-card-dollar'],\n ['bank-card-euro'],\n ['contactless-payment'],\n ['qr-code', 'qrcode'],\n ['data-matrix-code'],\n ['barcode'],\n ['no-barcode'],\n ['refresh-barcode'],\n ['touch-id'],\n ['redeem'],\n ['card-exchange'],\n ['card-security'],\n ['cash-register'],\n ['cost'],\n ['create-order'],\n ['online-payment1'],\n ['rent1'],\n ['package-settings'],\n ['product-loading'],\n ['purchase-order'],\n ['receipt1'],\n ['scan-stock'],\n ['shipment-logistic'],\n ['shipping-center'],\n ['shipping-centre-loading-belt'],\n ['shopaholic'],\n ['basket'],\n ['shopping-basket'],\n ['add-basket'],\n ['paid']\n];\n\nexport const ecommerceIconCategory = {\n label: gettext('
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-icon-selector-icons-ecommerce.mjs","sources":["../../icon-selector/icons/ecommerce/index.ts","../../icon-selector/icons/ecommerce/c8y-ngx-components-icon-selector-icons-ecommerce.ts"],"sourcesContent":["import { gettext } from '@c8y/ngx-components';\n\nexport const ecommerceIcons = [\n ['gift'],\n ['small-business'],\n ['pricing'],\n ['free-trial'],\n ['buy1', 'cart-plus', 'cart-arrow-down'],\n ['return-purchase'],\n ['shopping-cart-with-money'],\n ['buying', 'shopping-cart'],\n ['procurement'],\n ['delivery-handcart'],\n ['cheap-21'],\n ['average-2'],\n ['stripe1'],\n ['loyalty-card'],\n ['shopping-check'],\n ['shopping-bag'],\n ['atm'],\n ['bank-card-dollar'],\n ['bank-card-euro'],\n ['contactless-payment'],\n ['qr-code', 'qrcode'],\n ['data-matrix-code'],\n ['barcode'],\n ['no-barcode'],\n ['refresh-barcode'],\n ['touch-id'],\n ['redeem'],\n ['card-exchange'],\n ['card-security'],\n ['cash-register'],\n ['cost'],\n ['create-order'],\n ['online-payment1'],\n ['rent1'],\n ['package-settings'],\n ['product-loading'],\n ['purchase-order'],\n ['receipt1'],\n ['scan-stock'],\n ['shipment-logistic'],\n ['shipping-center'],\n ['shipping-centre-loading-belt'],\n ['shopaholic'],\n ['basket'],\n ['shopping-basket'],\n ['add-basket'],\n ['paid']\n];\n\nexport const ecommerceIconCategory = {\n label: gettext('e-commerce`icons-category`'),\n icons: ecommerceIcons\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAEa,MAAA,cAAc,GAAG;AAC5B,IAAA,CAAC,MAAM,CAAC;AACR,IAAA,CAAC,gBAAgB,CAAC;AAClB,IAAA,CAAC,SAAS,CAAC;AACX,IAAA,CAAC,YAAY,CAAC;AACd,IAAA,CAAC,MAAM,EAAE,WAAW,EAAE,iBAAiB,CAAC;AACxC,IAAA,CAAC,iBAAiB,CAAC;AACnB,IAAA,CAAC,0BAA0B,CAAC;IAC5B,CAAC,QAAQ,EAAE,eAAe,CAAC;AAC3B,IAAA,CAAC,aAAa,CAAC;AACf,IAAA,CAAC,mBAAmB,CAAC;AACrB,IAAA,CAAC,UAAU,CAAC;AACZ,IAAA,CAAC,WAAW,CAAC;AACb,IAAA,CAAC,SAAS,CAAC;AACX,IAAA,CAAC,cAAc,CAAC;AAChB,IAAA,CAAC,gBAAgB,CAAC;AAClB,IAAA,CAAC,cAAc,CAAC;AAChB,IAAA,CAAC,KAAK,CAAC;AACP,IAAA,CAAC,kBAAkB,CAAC;AACpB,IAAA,CAAC,gBAAgB,CAAC;AAClB,IAAA,CAAC,qBAAqB,CAAC;IACvB,CAAC,SAAS,EAAE,QAAQ,CAAC;AACrB,IAAA,CAAC,kBAAkB,CAAC;AACpB,IAAA,CAAC,SAAS,CAAC;AACX,IAAA,CAAC,YAAY,CAAC;AACd,IAAA,CAAC,iBAAiB,CAAC;AACnB,IAAA,CAAC,UAAU,CAAC;AACZ,IAAA,CAAC,QAAQ,CAAC;AACV,IAAA,CAAC,eAAe,CAAC;AACjB,IAAA,CAAC,eAAe,CAAC;AACjB,IAAA,CAAC,eAAe,CAAC;AACjB,IAAA,CAAC,MAAM,CAAC;AACR,IAAA,CAAC,cAAc,CAAC;AAChB,IAAA,CAAC,iBAAiB,CAAC;AACnB,IAAA,CAAC,OAAO,CAAC;AACT,IAAA,CAAC,kBAAkB,CAAC;AACpB,IAAA,CAAC,iBAAiB,CAAC;AACnB,IAAA,CAAC,gBAAgB,CAAC;AAClB,IAAA,CAAC,UAAU,CAAC;AACZ,IAAA,CAAC,YAAY,CAAC;AACd,IAAA,CAAC,mBAAmB,CAAC;AACrB,IAAA,CAAC,iBAAiB,CAAC;AACnB,IAAA,CAAC,8BAA8B,CAAC;AAChC,IAAA,CAAC,YAAY,CAAC;AACd,IAAA,CAAC,QAAQ,CAAC;AACV,IAAA,CAAC,iBAAiB,CAAC;AACnB,IAAA,CAAC,YAAY,CAAC;AACd,IAAA,CAAC,MAAM,CAAC;EACR;AAEW,MAAA,qBAAqB,GAAG;AACnC,IAAA,KAAK,EAAE,OAAO,CAAC,4BAA4B,CAAC;AAC5C,IAAA,KAAK,EAAE,cAAc;;;ACtDvB;;AAEG;;;;"}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { NgZone, Injectable, NgModule, Inject, Component, ChangeDetectionStrategy, Optional } from '@angular/core';
|
|
3
|
+
import { setAngularJSGlobal, downgradeComponent, downgradeInjectable } from '@angular/upgrade/static';
|
|
1
4
|
import * as i2 from '@c8y/ngx-components';
|
|
2
|
-
import { ViewContext, EmptyComponent, gettext, AppStateService, RouterService, ActionService, TenantUiService,
|
|
3
|
-
import
|
|
5
|
+
import { DatePipe, ViewContext, EmptyComponent, gettext, AppStateService, RouterService, ActionService, TenantUiService, RouterModule, hookNavigator, hookTab, hookActionBar, hookAction, hookBreadcrumb, hookDocs, BootstrapComponent, UserTotpRevokeComponent, DataGridComponent, LoadingComponent, RangeDisplayComponent, HelpComponent, HighlightComponent, EmptyStateComponent, HOOK_PATTERN_MESSAGES, HeaderService, AlertService, UserMenuService, DocsService, PasswordService, CachedLocaleDictionaryService, ModalService, GainsightService, FilesService, NavigatorNodeRoot, getActivatedRoute, DynamicDatapointsResolver, DynamicManagedObjectResolver, C8yTranslateModule, hookComponent } from '@c8y/ngx-components';
|
|
6
|
+
import * as angular from 'angular';
|
|
4
7
|
import { filter, merge, debounceTime, switchMap, startWith, map as map$1, shareReplay, take } from 'rxjs/operators';
|
|
8
|
+
import { ReplaySubject, BehaviorSubject, of, combineLatest, from, fromEventPattern, Subject, defer } from 'rxjs';
|
|
5
9
|
import { map, unary, find, forEach, startsWith, isArray, assign, every, pick, property, some, get } from 'lodash-es';
|
|
6
10
|
import * as i1$1 from '@angular/router';
|
|
7
11
|
import { ActivationEnd, Router } from '@angular/router';
|
|
8
|
-
import * as i0 from '@angular/core';
|
|
9
|
-
import { NgZone, Injectable, NgModule, Inject, Component, ChangeDetectionStrategy, Optional } from '@angular/core';
|
|
10
12
|
import { BasicAuth, FetchClient, QueriesUtil } from '@c8y/client';
|
|
11
|
-
import * as angular from 'angular';
|
|
12
|
-
import { setAngularJSGlobal, downgradeComponent, downgradeInjectable } from '@angular/upgrade/static';
|
|
13
13
|
import { AppLogsAutoRefreshComponent } from '@c8y/ngx-components/app-logs';
|
|
14
14
|
import { DatapointSelectionListComponent } from '@c8y/ngx-components/datapoint-selector';
|
|
15
15
|
import { ApiService } from '@c8y/ngx-components/api';
|
|
16
|
+
import { DeviceTypeDetailEditedService } from '@c8y/ngx-components/device-protocols';
|
|
16
17
|
import * as i1 from '@ngx-translate/core';
|
|
17
18
|
import { TranslateService } from '@ngx-translate/core';
|
|
18
19
|
import { __awaiter } from 'tslib';
|
|
@@ -21,6 +22,23 @@ import { ContextDashboardService } from '@c8y/ngx-components/context-dashboard';
|
|
|
21
22
|
import { CommonModule } from '@angular/common';
|
|
22
23
|
import { AssetSelectorModule } from '@c8y/ngx-components/assets-navigator';
|
|
23
24
|
|
|
25
|
+
class AbsoluteDateService {
|
|
26
|
+
constructor(datePipe) {
|
|
27
|
+
this.datePipe = datePipe;
|
|
28
|
+
}
|
|
29
|
+
getFilter() {
|
|
30
|
+
return (value) => this.datePipe.transform(value);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
function absoluteDateServiceFactory(datePipe) {
|
|
34
|
+
return new AbsoluteDateService(datePipe).getFilter();
|
|
35
|
+
}
|
|
36
|
+
const absoluteDateServiceProvider = {
|
|
37
|
+
provide: AbsoluteDateService,
|
|
38
|
+
useFactory: absoluteDateServiceFactory,
|
|
39
|
+
deps: [DatePipe]
|
|
40
|
+
};
|
|
41
|
+
|
|
24
42
|
var ViewContextLegacyParameter;
|
|
25
43
|
(function (ViewContextLegacyParameter) {
|
|
26
44
|
ViewContextLegacyParameter["Device"] = "deviceId";
|
|
@@ -504,75 +522,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
504
522
|
type: Injectable
|
|
505
523
|
}], ctorParameters: function () { return [{ type: BridgeService }, { type: i2.TabsService }]; } });
|
|
506
524
|
|
|
507
|
-
class Ng1BreadcrumbFactoryService {
|
|
508
|
-
constructor(bridge) {
|
|
509
|
-
this.bridge = bridge;
|
|
510
|
-
this.trigger = new ReplaySubject(1);
|
|
511
|
-
this.breadcrumbs = this.trigger.pipe(debounceTime(100), switchMap(() => {
|
|
512
|
-
return this.bridge.getBreadcrumbs();
|
|
513
|
-
}));
|
|
514
|
-
}
|
|
515
|
-
get() {
|
|
516
|
-
this.trigger.next();
|
|
517
|
-
return this.breadcrumbs;
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
Ng1BreadcrumbFactoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1BreadcrumbFactoryService, deps: [{ token: BridgeService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
521
|
-
Ng1BreadcrumbFactoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1BreadcrumbFactoryService });
|
|
522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1BreadcrumbFactoryService, decorators: [{
|
|
523
|
-
type: Injectable
|
|
524
|
-
}], ctorParameters: function () { return [{ type: BridgeService }]; } });
|
|
525
|
-
|
|
526
|
-
class Ng1NodesFactoryService {
|
|
527
|
-
constructor(bridge) {
|
|
528
|
-
this.bridge = bridge;
|
|
529
|
-
}
|
|
530
|
-
get() {
|
|
531
|
-
return this.bridge.navigationNodes$;
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
Ng1NodesFactoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1NodesFactoryService, deps: [{ token: BridgeService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
535
|
-
Ng1NodesFactoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1NodesFactoryService });
|
|
536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1NodesFactoryService, decorators: [{
|
|
537
|
-
type: Injectable
|
|
538
|
-
}], ctorParameters: function () { return [{ type: BridgeService }]; } });
|
|
539
|
-
|
|
540
|
-
class Ng1TabsFactoryService {
|
|
541
|
-
constructor(bridge) {
|
|
542
|
-
this.bridge = bridge;
|
|
543
|
-
this.tabsObservable = bridge.getTabs();
|
|
544
|
-
}
|
|
545
|
-
get() {
|
|
546
|
-
return this.tabsObservable;
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
Ng1TabsFactoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1TabsFactoryService, deps: [{ token: BridgeService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
550
|
-
Ng1TabsFactoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1TabsFactoryService });
|
|
551
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1TabsFactoryService, decorators: [{
|
|
552
|
-
type: Injectable
|
|
553
|
-
}], ctorParameters: function () { return [{ type: BridgeService }]; } });
|
|
554
|
-
|
|
555
|
-
class Ng1DocsFactoryService {
|
|
556
|
-
constructor(bridge) {
|
|
557
|
-
this.bridge = bridge;
|
|
558
|
-
this.links = this.bridge.getQuickLinks();
|
|
559
|
-
this.links.then(list => {
|
|
560
|
-
list.map(el => {
|
|
561
|
-
el.type = el.type || 'quicklink';
|
|
562
|
-
return el;
|
|
563
|
-
});
|
|
564
|
-
});
|
|
565
|
-
}
|
|
566
|
-
get() {
|
|
567
|
-
return this.links;
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
Ng1DocsFactoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1DocsFactoryService, deps: [{ token: BridgeService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
571
|
-
Ng1DocsFactoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1DocsFactoryService });
|
|
572
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1DocsFactoryService, decorators: [{
|
|
573
|
-
type: Injectable
|
|
574
|
-
}], ctorParameters: function () { return [{ type: BridgeService }]; } });
|
|
575
|
-
|
|
576
525
|
class AuthBridgeService {
|
|
577
526
|
constructor(injector, basicAuth, fetchClient, appState, tenantUiService) {
|
|
578
527
|
this.injector = injector;
|
|
@@ -638,22 +587,59 @@ const authBridgeServiceProvider = {
|
|
|
638
587
|
deps: ['$injector', BasicAuth, FetchClient, AppStateService, TenantUiService]
|
|
639
588
|
};
|
|
640
589
|
|
|
641
|
-
class
|
|
642
|
-
constructor(
|
|
643
|
-
this.
|
|
590
|
+
class Ng1BreadcrumbFactoryService {
|
|
591
|
+
constructor(bridge) {
|
|
592
|
+
this.bridge = bridge;
|
|
593
|
+
this.trigger = new ReplaySubject(1);
|
|
594
|
+
this.breadcrumbs = this.trigger.pipe(debounceTime(100), switchMap(() => {
|
|
595
|
+
return this.bridge.getBreadcrumbs();
|
|
596
|
+
}));
|
|
644
597
|
}
|
|
645
|
-
|
|
646
|
-
|
|
598
|
+
get() {
|
|
599
|
+
this.trigger.next();
|
|
600
|
+
return this.breadcrumbs;
|
|
647
601
|
}
|
|
648
602
|
}
|
|
649
|
-
|
|
650
|
-
|
|
603
|
+
Ng1BreadcrumbFactoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1BreadcrumbFactoryService, deps: [{ token: BridgeService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
604
|
+
Ng1BreadcrumbFactoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1BreadcrumbFactoryService });
|
|
605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1BreadcrumbFactoryService, decorators: [{
|
|
606
|
+
type: Injectable
|
|
607
|
+
}], ctorParameters: function () { return [{ type: BridgeService }]; } });
|
|
608
|
+
|
|
609
|
+
class Ng1DocsFactoryService {
|
|
610
|
+
constructor(bridge) {
|
|
611
|
+
this.bridge = bridge;
|
|
612
|
+
this.links = this.bridge.getQuickLinks();
|
|
613
|
+
this.links.then(list => {
|
|
614
|
+
list.map(el => {
|
|
615
|
+
el.type = el.type || 'quicklink';
|
|
616
|
+
return el;
|
|
617
|
+
});
|
|
618
|
+
});
|
|
619
|
+
}
|
|
620
|
+
get() {
|
|
621
|
+
return this.links;
|
|
622
|
+
}
|
|
651
623
|
}
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
};
|
|
624
|
+
Ng1DocsFactoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1DocsFactoryService, deps: [{ token: BridgeService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
625
|
+
Ng1DocsFactoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1DocsFactoryService });
|
|
626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1DocsFactoryService, decorators: [{
|
|
627
|
+
type: Injectable
|
|
628
|
+
}], ctorParameters: function () { return [{ type: BridgeService }]; } });
|
|
629
|
+
|
|
630
|
+
class Ng1NodesFactoryService {
|
|
631
|
+
constructor(bridge) {
|
|
632
|
+
this.bridge = bridge;
|
|
633
|
+
}
|
|
634
|
+
get() {
|
|
635
|
+
return this.bridge.navigationNodes$;
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
Ng1NodesFactoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1NodesFactoryService, deps: [{ token: BridgeService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
639
|
+
Ng1NodesFactoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1NodesFactoryService });
|
|
640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1NodesFactoryService, decorators: [{
|
|
641
|
+
type: Injectable
|
|
642
|
+
}], ctorParameters: function () { return [{ type: BridgeService }]; } });
|
|
657
643
|
|
|
658
644
|
class Ng1SmartRulesService {
|
|
659
645
|
}
|
|
@@ -666,6 +652,21 @@ const smartRulesServiceProvider = {
|
|
|
666
652
|
deps: ['$injector']
|
|
667
653
|
};
|
|
668
654
|
|
|
655
|
+
class Ng1TabsFactoryService {
|
|
656
|
+
constructor(bridge) {
|
|
657
|
+
this.bridge = bridge;
|
|
658
|
+
this.tabsObservable = bridge.getTabs();
|
|
659
|
+
}
|
|
660
|
+
get() {
|
|
661
|
+
return this.tabsObservable;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
Ng1TabsFactoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1TabsFactoryService, deps: [{ token: BridgeService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
665
|
+
Ng1TabsFactoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1TabsFactoryService });
|
|
666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Ng1TabsFactoryService, decorators: [{
|
|
667
|
+
type: Injectable
|
|
668
|
+
}], ctorParameters: function () { return [{ type: BridgeService }]; } });
|
|
669
|
+
|
|
669
670
|
setAngularJSGlobal(angular);
|
|
670
671
|
class UpgradeModule {
|
|
671
672
|
}
|
|
@@ -800,6 +801,7 @@ const serverMessagesService = downgradeInjectable(ServerMessagesService);
|
|
|
800
801
|
const modalService = downgradeInjectable(ModalService);
|
|
801
802
|
const gainsightService = downgradeInjectable(GainsightService);
|
|
802
803
|
const filesService = downgradeInjectable(FilesService);
|
|
804
|
+
const deviceTypeDetailEditedService = downgradeInjectable(DeviceTypeDetailEditedService);
|
|
803
805
|
|
|
804
806
|
function gettextCatalogDecorator($delegate, $interpolate, c8yTranslate) {
|
|
805
807
|
'ngInject';
|
|
@@ -1187,7 +1189,8 @@ angular
|
|
|
1187
1189
|
.factory('c8yCachedLocaleDictionaryService', cachedLocaleDictionaryService)
|
|
1188
1190
|
.decorator('gettextCatalog', gettextCatalogDecorator)
|
|
1189
1191
|
.factory('c8yServerMessages', serverMessagesService)
|
|
1190
|
-
.factory('ngZone', downgradeInjectable(NgZone))
|
|
1192
|
+
.factory('ngZone', downgradeInjectable(NgZone))
|
|
1193
|
+
.factory('c8yDeviceTypeDetailEdited', deviceTypeDetailEditedService);
|
|
1191
1194
|
const ng1Modules = ['app', NAME];
|
|
1192
1195
|
|
|
1193
1196
|
class HybridAppModule {
|