ngssm-remote-data 18.2.1 → 19.0.0
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/fesm2022/ngssm-remote-data-service-info.mjs +5 -10
- package/fesm2022/ngssm-remote-data-service-info.mjs.map +1 -1
- package/fesm2022/ngssm-remote-data.mjs +49 -49
- package/fesm2022/ngssm-remote-data.mjs.map +1 -1
- package/package.json +1 -5
- package/service-info/src/model/service-info.d.ts +1 -2
- package/esm2022/lib/helpers/at-least-one-loading-or-in-progress.mjs +0 -14
- package/esm2022/lib/helpers/index.mjs +0 -2
- package/esm2022/lib/ngssm-remote-call/actions/index.mjs +0 -4
- package/esm2022/lib/ngssm-remote-call/actions/ngssm-remote-call-action-type.mjs +0 -5
- package/esm2022/lib/ngssm-remote-call/actions/ngssm-remote-call-result.action.mjs +0 -7
- package/esm2022/lib/ngssm-remote-call/actions/set-remote-call.action.mjs +0 -9
- package/esm2022/lib/ngssm-remote-call/components/index.mjs +0 -3
- package/esm2022/lib/ngssm-remote-call/components/ngssm-remote-call-error/ngssm-remote-call-error.component.mjs +0 -51
- package/esm2022/lib/ngssm-remote-call/components/ngssm-remote-call.directive.mjs +0 -40
- package/esm2022/lib/ngssm-remote-call/model/helpers.mjs +0 -9
- package/esm2022/lib/ngssm-remote-call/model/index.mjs +0 -6
- package/esm2022/lib/ngssm-remote-call/model/remote-call-config.mjs +0 -3
- package/esm2022/lib/ngssm-remote-call/model/remote-call-error.mjs +0 -2
- package/esm2022/lib/ngssm-remote-call/model/remote-call-status.mjs +0 -8
- package/esm2022/lib/ngssm-remote-call/model/remote-call.mjs +0 -3
- package/esm2022/lib/ngssm-remote-call/ngssm-remote-call-state-initializer.mjs +0 -24
- package/esm2022/lib/ngssm-remote-call/provide-ngssm-remote-call-config.mjs +0 -7
- package/esm2022/lib/ngssm-remote-call/provide-ngssm-remote-call.mjs +0 -11
- package/esm2022/lib/ngssm-remote-call/public-api.mjs +0 -7
- package/esm2022/lib/ngssm-remote-call/reducers/index.mjs +0 -3
- package/esm2022/lib/ngssm-remote-call/reducers/remote-call-setter.reducer.mjs +0 -28
- package/esm2022/lib/ngssm-remote-call/reducers/remote-call.reducer.mjs +0 -44
- package/esm2022/lib/ngssm-remote-call/state/index.mjs +0 -3
- package/esm2022/lib/ngssm-remote-call/state/ngssm-remote-call.state.mjs +0 -21
- package/esm2022/lib/ngssm-remote-call/state/selectors.mjs +0 -4
- package/esm2022/lib/remote-data/actions/index.mjs +0 -4
- package/esm2022/lib/remote-data/actions/load-remote-data.action.mjs +0 -9
- package/esm2022/lib/remote-data/actions/register-loaded-remote-data.action.mjs +0 -12
- package/esm2022/lib/remote-data/actions/remote-data-action-type.mjs +0 -8
- package/esm2022/lib/remote-data/components/index.mjs +0 -5
- package/esm2022/lib/remote-data/components/ngssm-caches/ngssm-caches.component.mjs +0 -50
- package/esm2022/lib/remote-data/components/ngssm-caches-display-button/ngssm-caches-display-button.component.mjs +0 -27
- package/esm2022/lib/remote-data/components/ngssm-remote-data-overlay.directive.mjs +0 -50
- package/esm2022/lib/remote-data/components/ngssm-remote-data-reload-button/ngssm-remote-data-reload-button.component.mjs +0 -69
- package/esm2022/lib/remote-data/effects/caches-display.effect.mjs +0 -32
- package/esm2022/lib/remote-data/effects/index.mjs +0 -3
- package/esm2022/lib/remote-data/effects/remote-data-loading.effect.mjs +0 -50
- package/esm2022/lib/remote-data/guards/index.mjs +0 -2
- package/esm2022/lib/remote-data/guards/remote-data-loading.guard.mjs +0 -32
- package/esm2022/lib/remote-data/model/data-status.mjs +0 -9
- package/esm2022/lib/remote-data/model/index.mjs +0 -6
- package/esm2022/lib/remote-data/model/reload-params.mjs +0 -2
- package/esm2022/lib/remote-data/model/remote-data-getter-params.mjs +0 -2
- package/esm2022/lib/remote-data/model/remote-data-provider.mjs +0 -22
- package/esm2022/lib/remote-data/model/remote-data.mjs +0 -6
- package/esm2022/lib/remote-data/provide-ngssm-remote-data.mjs +0 -13
- package/esm2022/lib/remote-data/public-api.mjs +0 -10
- package/esm2022/lib/remote-data/reducers/remote-data.reducer.mjs +0 -73
- package/esm2022/lib/remote-data/remote-data-state-initializer.mjs +0 -24
- package/esm2022/lib/remote-data/state/index.mjs +0 -3
- package/esm2022/lib/remote-data/state/remote-data.state.mjs +0 -19
- package/esm2022/lib/remote-data/state/selectors.mjs +0 -3
- package/esm2022/ngssm-remote-data.mjs +0 -5
- package/esm2022/public-api.mjs +0 -7
- package/esm2022/service-info/ngssm-remote-data-service-info.mjs +0 -5
- package/esm2022/service-info/public_api.mjs +0 -2
- package/esm2022/service-info/src/model/index.mjs +0 -2
- package/esm2022/service-info/src/model/service-info.mjs +0 -16
- package/esm2022/service-info/src/provide-ngssm-service-info.mjs +0 -17
- package/esm2022/service-info/src/public-api.mjs +0 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { InjectionToken, inject, makeEnvironmentProviders,
|
|
1
|
+
import { InjectionToken, inject, makeEnvironmentProviders, provideAppInitializer } from '@angular/core';
|
|
2
2
|
import { LoadRemoteDataAction, provideRemoteDataFunc } from 'ngssm-remote-data';
|
|
3
|
-
import { Store } from 'ngssm-store';
|
|
4
3
|
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import { Store } from 'ngssm-store';
|
|
5
5
|
|
|
6
6
|
const serviceInfoKey = 'service-info';
|
|
7
7
|
const NGSSM_SERVICE_INFO_URL = new InjectionToken('NGSSM_SERVICE_INFO_URL');
|
|
@@ -9,9 +9,9 @@ const serviceInfoLoader = () => {
|
|
|
9
9
|
const serviceUrl = inject(NGSSM_SERVICE_INFO_URL);
|
|
10
10
|
return inject(HttpClient).get(serviceUrl);
|
|
11
11
|
};
|
|
12
|
-
const serviceInfoInitializerFactory = (
|
|
12
|
+
const serviceInfoInitializerFactory = () => {
|
|
13
13
|
return async () => {
|
|
14
|
-
|
|
14
|
+
inject(Store).dispatchAction(new LoadRemoteDataAction(serviceInfoKey, { forceReload: true }));
|
|
15
15
|
return true;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
@@ -20,12 +20,7 @@ const provideNgssmServiceInfo = (infoUrl = '../info') => {
|
|
|
20
20
|
return makeEnvironmentProviders([
|
|
21
21
|
{ provide: NGSSM_SERVICE_INFO_URL, useValue: infoUrl },
|
|
22
22
|
provideRemoteDataFunc(serviceInfoKey, serviceInfoLoader),
|
|
23
|
-
|
|
24
|
-
provide: APP_INITIALIZER,
|
|
25
|
-
useFactory: serviceInfoInitializerFactory,
|
|
26
|
-
deps: [Store],
|
|
27
|
-
multi: true
|
|
28
|
-
}
|
|
23
|
+
provideAppInitializer(serviceInfoInitializerFactory())
|
|
29
24
|
]);
|
|
30
25
|
};
|
|
31
26
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngssm-remote-data-service-info.mjs","sources":["../../../projects/ngssm-remote-data/service-info/src/model/service-info.ts","../../../projects/ngssm-remote-data/service-info/src/provide-ngssm-service-info.ts","../../../projects/ngssm-remote-data/service-info/ngssm-remote-data-service-info.ts"],"sourcesContent":["import { InjectionToken, inject } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\n\nimport { LoadRemoteDataAction, RemoteDataLoadingFunc } from 'ngssm-remote-data';\nimport { Store } from 'ngssm-store';\nimport { ServiceInfo } from 'ngssm-store/smusdi';\n\nexport const serviceInfoKey = 'service-info';\n\nexport const NGSSM_SERVICE_INFO_URL = new InjectionToken<string>('NGSSM_SERVICE_INFO_URL');\n\nexport const serviceInfoLoader: RemoteDataLoadingFunc<ServiceInfo, any> = () => {\n const serviceUrl = inject(NGSSM_SERVICE_INFO_URL);\n return inject(HttpClient).get<ServiceInfo>(serviceUrl);\n};\n\nexport const serviceInfoInitializerFactory = (
|
|
1
|
+
{"version":3,"file":"ngssm-remote-data-service-info.mjs","sources":["../../../projects/ngssm-remote-data/service-info/src/model/service-info.ts","../../../projects/ngssm-remote-data/service-info/src/provide-ngssm-service-info.ts","../../../projects/ngssm-remote-data/service-info/ngssm-remote-data-service-info.ts"],"sourcesContent":["import { InjectionToken, inject } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\n\nimport { LoadRemoteDataAction, RemoteDataLoadingFunc } from 'ngssm-remote-data';\nimport { Store } from 'ngssm-store';\nimport { ServiceInfo } from 'ngssm-store/smusdi';\n\nexport const serviceInfoKey = 'service-info';\n\nexport const NGSSM_SERVICE_INFO_URL = new InjectionToken<string>('NGSSM_SERVICE_INFO_URL');\n\nexport const serviceInfoLoader: RemoteDataLoadingFunc<ServiceInfo, any> = () => {\n const serviceUrl = inject(NGSSM_SERVICE_INFO_URL);\n return inject(HttpClient).get<ServiceInfo>(serviceUrl);\n};\n\nexport const serviceInfoInitializerFactory = (): (() => Promise<boolean>) => {\n return async () => {\n inject(Store).dispatchAction(new LoadRemoteDataAction(serviceInfoKey, { forceReload: true }));\n return true;\n };\n};\n","import { EnvironmentProviders, makeEnvironmentProviders, provideAppInitializer } from '@angular/core';\n\nimport { provideRemoteDataFunc } from 'ngssm-remote-data';\n\nimport { NGSSM_SERVICE_INFO_URL, serviceInfoInitializerFactory, serviceInfoKey, serviceInfoLoader } from './model';\n\nexport const provideNgssmServiceInfo = (infoUrl = '../info'): EnvironmentProviders => {\n return makeEnvironmentProviders([\n { provide: NGSSM_SERVICE_INFO_URL, useValue: infoUrl },\n provideRemoteDataFunc(serviceInfoKey, serviceInfoLoader),\n provideAppInitializer(serviceInfoInitializerFactory())\n ]);\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;AAOO,MAAM,cAAc,GAAG;MAEjB,sBAAsB,GAAG,IAAI,cAAc,CAAS,wBAAwB;AAElF,MAAM,iBAAiB,GAA4C,MAAK;AAC7E,IAAA,MAAM,UAAU,GAAG,MAAM,CAAC,sBAAsB,CAAC;IACjD,OAAO,MAAM,CAAC,UAAU,CAAC,CAAC,GAAG,CAAc,UAAU,CAAC;AACxD;AAEO,MAAM,6BAA6B,GAAG,MAA+B;IAC1E,OAAO,YAAW;AAChB,QAAA,MAAM,CAAC,KAAK,CAAC,CAAC,cAAc,CAAC,IAAI,oBAAoB,CAAC,cAAc,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7F,QAAA,OAAO,IAAI;AACb,KAAC;AACH;;MCfa,uBAAuB,GAAG,CAAC,OAAO,GAAG,SAAS,KAA0B;AACnF,IAAA,OAAO,wBAAwB,CAAC;AAC9B,QAAA,EAAE,OAAO,EAAE,sBAAsB,EAAE,QAAQ,EAAE,OAAO,EAAE;AACtD,QAAA,qBAAqB,CAAC,cAAc,EAAE,iBAAiB,CAAC;QACxD,qBAAqB,CAAC,6BAA6B,EAAE;AACtD,KAAA,CAAC;AACJ;;ACZA;;AAEG;;;;"}
|
|
@@ -16,7 +16,7 @@ import * as i6 from '@angular/material/progress-spinner';
|
|
|
16
16
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
17
17
|
import { BehaviorSubject, combineLatest, takeUntil, Subject, switchMap } from 'rxjs';
|
|
18
18
|
import * as i2$1 from 'ngssm-toolkit';
|
|
19
|
-
import { NgssmOverlayBuilder } from 'ngssm-toolkit';
|
|
19
|
+
import { NgssmOverlayBuilder, NgssmOverlay } from 'ngssm-toolkit';
|
|
20
20
|
import * as i3$1 from '@angular/material/dialog';
|
|
21
21
|
import { MatDialogModule } from '@angular/material/dialog';
|
|
22
22
|
import * as i5$1 from '@angular/material/table';
|
|
@@ -112,10 +112,10 @@ class RemoteDataLoadingGuard {
|
|
|
112
112
|
});
|
|
113
113
|
return true;
|
|
114
114
|
}
|
|
115
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
116
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
115
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteDataLoadingGuard, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
116
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteDataLoadingGuard, providedIn: 'root' }); }
|
|
117
117
|
}
|
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteDataLoadingGuard, decorators: [{
|
|
119
119
|
type: Injectable,
|
|
120
120
|
args: [{
|
|
121
121
|
providedIn: 'root'
|
|
@@ -167,12 +167,12 @@ class NgssmRemoteDataReloadButtonComponent extends NgSsmComponent {
|
|
|
167
167
|
.forEach((key) => this.dispatchAction(new LoadRemoteDataAction(key, { forceReload: true, keepStoredGetterParams: true })));
|
|
168
168
|
(this.actionTypes ?? []).forEach((type) => this.dispatchActionType(type));
|
|
169
169
|
}
|
|
170
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
171
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
170
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: NgssmRemoteDataReloadButtonComponent, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
171
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: NgssmRemoteDataReloadButtonComponent, isStandalone: true, selector: "ngssm-remote-data-reload-button", inputs: { actionTypes: "actionTypes", remoteDataKeys: "remoteDataKeys" }, usesInheritance: true, ngImport: i0, template: "<button mat-icon-button color=\"primary\" (click)=\"reload()\" [matTooltip]=\"tooltipMessage()\"\n [disabled]=\"disabled() === true\" id=\"reloadButton\" >\n <mat-icon class=\"fa-solid fa-rotate-right\" *ngIf=\"inLoadingStatus() === false\"></mat-icon>\n <mat-spinner [diameter]=\"24\" *ngIf=\"inLoadingStatus() === true\" id=\"loadingSpinner\"></mat-spinner>\n</button>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i6.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
172
172
|
}
|
|
173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: NgssmRemoteDataReloadButtonComponent, decorators: [{
|
|
174
174
|
type: Component,
|
|
175
|
-
args: [{ selector: 'ngssm-remote-data-reload-button',
|
|
175
|
+
args: [{ selector: 'ngssm-remote-data-reload-button', imports: [CommonModule, MatIconModule, MatButtonModule, MatTooltipModule, MatProgressSpinnerModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button mat-icon-button color=\"primary\" (click)=\"reload()\" [matTooltip]=\"tooltipMessage()\"\n [disabled]=\"disabled() === true\" id=\"reloadButton\" >\n <mat-icon class=\"fa-solid fa-rotate-right\" *ngIf=\"inLoadingStatus() === false\"></mat-icon>\n <mat-spinner [diameter]=\"24\" *ngIf=\"inLoadingStatus() === true\" id=\"loadingSpinner\"></mat-spinner>\n</button>\n" }]
|
|
176
176
|
}], ctorParameters: () => [{ type: i1.Store }], propDecorators: { actionTypes: [{
|
|
177
177
|
type: Input
|
|
178
178
|
}], remoteDataKeys: [{
|
|
@@ -206,15 +206,15 @@ class NgssmRemoteDataOverlayDirective extends NgSsmComponent {
|
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
210
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
209
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: NgssmRemoteDataOverlayDirective, deps: [{ token: i1.Store }, { token: i2$1.NgssmOverlayBuilder }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
210
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0", type: NgssmRemoteDataOverlayDirective, isStandalone: true, selector: "[ngssmRemoteDataOverlay]", inputs: { ngssmRemoteDataOverlay: "ngssmRemoteDataOverlay" }, providers: [NgssmOverlayBuilder, NgssmOverlay], usesInheritance: true, ngImport: i0 }); }
|
|
211
211
|
}
|
|
212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: NgssmRemoteDataOverlayDirective, decorators: [{
|
|
213
213
|
type: Directive,
|
|
214
214
|
args: [{
|
|
215
215
|
selector: '[ngssmRemoteDataOverlay]',
|
|
216
216
|
standalone: true,
|
|
217
|
-
providers: [NgssmOverlayBuilder]
|
|
217
|
+
providers: [NgssmOverlayBuilder, NgssmOverlay]
|
|
218
218
|
}]
|
|
219
219
|
}], ctorParameters: () => [{ type: i1.Store }, { type: i2$1.NgssmOverlayBuilder }], propDecorators: { ngssmRemoteDataOverlay: [{
|
|
220
220
|
type: Input
|
|
@@ -227,12 +227,12 @@ class NgssmCachesDisplayButtonComponent extends NgSsmComponent {
|
|
|
227
227
|
displayCaches() {
|
|
228
228
|
this.dispatchActionType(RemoteDataActionType.displayCaches);
|
|
229
229
|
}
|
|
230
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
231
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
230
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: NgssmCachesDisplayButtonComponent, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
231
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: NgssmCachesDisplayButtonComponent, isStandalone: true, selector: "ngssm-caches-display-button", usesInheritance: true, ngImport: i0, template: "<button mat-icon-button matTooltip=\"Display caches\" (click)=\"displayCaches()\">\n <mat-icon class=\"fa-solid fa-cloud-bolt\"></mat-icon>\n</button>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
232
232
|
}
|
|
233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: NgssmCachesDisplayButtonComponent, decorators: [{
|
|
234
234
|
type: Component,
|
|
235
|
-
args: [{ selector: 'ngssm-caches-display-button',
|
|
235
|
+
args: [{ selector: 'ngssm-caches-display-button', imports: [CommonModule, MatButtonModule, MatIconModule, MatTooltipModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button mat-icon-button matTooltip=\"Display caches\" (click)=\"displayCaches()\">\n <mat-icon class=\"fa-solid fa-cloud-bolt\"></mat-icon>\n</button>\n" }]
|
|
236
236
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
237
237
|
|
|
238
238
|
class NgssmCachesComponent extends NgSsmComponent {
|
|
@@ -257,12 +257,12 @@ class NgssmCachesComponent extends NgSsmComponent {
|
|
|
257
257
|
reloadCache(cache) {
|
|
258
258
|
this.dispatchAction(new LoadRemoteDataAction(cache.key, { forceReload: true, keepStoredGetterParams: true }));
|
|
259
259
|
}
|
|
260
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
261
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
260
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: NgssmCachesComponent, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
261
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: NgssmCachesComponent, isStandalone: true, selector: "ngssm-caches", usesInheritance: true, ngImport: i0, template: "<h1 mat-dialog-title>List of caches</h1>\n<mat-dialog-content class=\"flex-column-stretch fxFlex\">\n <mat-table [dataSource]=\"caches$\" class=\"fxFlex\">\n <ng-container matColumnDef=\"actions\">\n <mat-header-cell *matHeaderCellDef> </mat-header-cell>\n <mat-cell *matCellDef=\"let element\">\n <button mat-icon-button [disabled]=\"element.value.status === dataStatus.loading\" (click)=\"reloadCache(element)\" color=\"primary\" id=\"reload_{{element.key}}\">\n <mat-icon class=\"fa-solid fa-rotate-right\"></mat-icon>\n </button>\n </mat-cell>\n </ng-container>\n\n <ng-container matColumnDef=\"key\">\n <mat-header-cell *matHeaderCellDef> Key </mat-header-cell>\n <mat-cell *matCellDef=\"let element\"> {{element.key}} </mat-cell>\n </ng-container>\n\n <ng-container matColumnDef=\"status\">\n <mat-header-cell *matHeaderCellDef> Status </mat-header-cell>\n <mat-cell *matCellDef=\"let element\">\n\n <div [ngSwitch]=\"element.value.status\">\n <mat-icon *ngSwitchCase=\"dataStatus.none\" class=\"fa-solid fa-minus\"></mat-icon>\n <mat-icon *ngSwitchCase=\"dataStatus.loaded\" class=\"fa-solid fa-check\" color=\"primary\"></mat-icon>\n <mat-icon *ngSwitchCase=\"dataStatus.error\" class=\"fa-solid fa-xmark\" color=\"warn\"></mat-icon>\n <mat-icon *ngSwitchCase=\"dataStatus.notFound\" class=\"fa-solid fa-xmark\" color=\"warn\"></mat-icon>\n <mat-spinner [diameter]=\"20\" *ngSwitchCase=\"dataStatus.loading\"></mat-spinner>\n </div>\n\n </mat-cell>\n </ng-container>\n\n <ng-container matColumnDef=\"timestamp\">\n <mat-header-cell *matHeaderCellDef> Timestamp </mat-header-cell>\n <mat-cell *matCellDef=\"let element\"> {{element.value.timestamp}} </mat-cell>\n </ng-container>\n\n <mat-header-row *matHeaderRowDef=\"['actions', 'status', 'key', 'timestamp']; sticky: true\"></mat-header-row>\n <mat-row *matRowDef=\"let row; columns: ['actions', 'status', 'key', 'timestamp']\"></mat-row>\n </mat-table>\n</mat-dialog-content>\n<mat-dialog-actions class=\"flex-row-center\">\n <span class=\"fxFlex\"></span>\n <button mat-button (click)=\"close()\" id=\"closeButton\">Close</button>\n</mat-dialog-actions>", styles: [":host{display:flex;flex-direction:column;min-width:800px;max-width:80vw;min-height:500px;max-height:80vh}:host .mat-column-actions{min-width:50px;max-width:50px;padding-left:0!important}:host .mat-column-status{min-width:60px;max-width:60px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i3$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i3$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i3$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i5$1.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i5$1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i5$1.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i5$1.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i5$1.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i5$1.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i5$1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i5$1.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i5$1.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i5$1.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i6.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
262
262
|
}
|
|
263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: NgssmCachesComponent, decorators: [{
|
|
264
264
|
type: Component,
|
|
265
|
-
args: [{ selector: 'ngssm-caches',
|
|
265
|
+
args: [{ selector: 'ngssm-caches', imports: [CommonModule, MatDialogModule, MatButtonModule, MatTableModule, MatIconModule, MatProgressSpinnerModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<h1 mat-dialog-title>List of caches</h1>\n<mat-dialog-content class=\"flex-column-stretch fxFlex\">\n <mat-table [dataSource]=\"caches$\" class=\"fxFlex\">\n <ng-container matColumnDef=\"actions\">\n <mat-header-cell *matHeaderCellDef> </mat-header-cell>\n <mat-cell *matCellDef=\"let element\">\n <button mat-icon-button [disabled]=\"element.value.status === dataStatus.loading\" (click)=\"reloadCache(element)\" color=\"primary\" id=\"reload_{{element.key}}\">\n <mat-icon class=\"fa-solid fa-rotate-right\"></mat-icon>\n </button>\n </mat-cell>\n </ng-container>\n\n <ng-container matColumnDef=\"key\">\n <mat-header-cell *matHeaderCellDef> Key </mat-header-cell>\n <mat-cell *matCellDef=\"let element\"> {{element.key}} </mat-cell>\n </ng-container>\n\n <ng-container matColumnDef=\"status\">\n <mat-header-cell *matHeaderCellDef> Status </mat-header-cell>\n <mat-cell *matCellDef=\"let element\">\n\n <div [ngSwitch]=\"element.value.status\">\n <mat-icon *ngSwitchCase=\"dataStatus.none\" class=\"fa-solid fa-minus\"></mat-icon>\n <mat-icon *ngSwitchCase=\"dataStatus.loaded\" class=\"fa-solid fa-check\" color=\"primary\"></mat-icon>\n <mat-icon *ngSwitchCase=\"dataStatus.error\" class=\"fa-solid fa-xmark\" color=\"warn\"></mat-icon>\n <mat-icon *ngSwitchCase=\"dataStatus.notFound\" class=\"fa-solid fa-xmark\" color=\"warn\"></mat-icon>\n <mat-spinner [diameter]=\"20\" *ngSwitchCase=\"dataStatus.loading\"></mat-spinner>\n </div>\n\n </mat-cell>\n </ng-container>\n\n <ng-container matColumnDef=\"timestamp\">\n <mat-header-cell *matHeaderCellDef> Timestamp </mat-header-cell>\n <mat-cell *matCellDef=\"let element\"> {{element.value.timestamp}} </mat-cell>\n </ng-container>\n\n <mat-header-row *matHeaderRowDef=\"['actions', 'status', 'key', 'timestamp']; sticky: true\"></mat-header-row>\n <mat-row *matRowDef=\"let row; columns: ['actions', 'status', 'key', 'timestamp']\"></mat-row>\n </mat-table>\n</mat-dialog-content>\n<mat-dialog-actions class=\"flex-row-center\">\n <span class=\"fxFlex\"></span>\n <button mat-button (click)=\"close()\" id=\"closeButton\">Close</button>\n</mat-dialog-actions>", styles: [":host{display:flex;flex-direction:column;min-width:800px;max-width:80vw;min-height:500px;max-height:80vh}:host .mat-column-actions{min-width:50px;max-width:50px;padding-left:0!important}:host .mat-column-status{min-width:60px;max-width:60px}\n"] }]
|
|
266
266
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
267
267
|
|
|
268
268
|
class CachesDisplayEffect {
|
|
@@ -285,10 +285,10 @@ class CachesDisplayEffect {
|
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
289
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
288
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: CachesDisplayEffect, deps: [{ token: i3$1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
289
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: CachesDisplayEffect }); }
|
|
290
290
|
}
|
|
291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: CachesDisplayEffect, decorators: [{
|
|
292
292
|
type: Injectable
|
|
293
293
|
}], ctorParameters: () => [{ type: i3$1.MatDialog }] });
|
|
294
294
|
|
|
@@ -324,10 +324,10 @@ class RemoteDataLoadingEffect {
|
|
|
324
324
|
});
|
|
325
325
|
});
|
|
326
326
|
}
|
|
327
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
328
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
327
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteDataLoadingEffect, deps: [{ token: NGSSM_REMOTE_DATA_PROVIDER, optional: true }, { token: i2$1.NgssmNotifierService }, { token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
328
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteDataLoadingEffect }); }
|
|
329
329
|
}
|
|
330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteDataLoadingEffect, decorators: [{
|
|
331
331
|
type: Injectable
|
|
332
332
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
333
333
|
type: Inject,
|
|
@@ -392,10 +392,10 @@ class RemoteDataReducer {
|
|
|
392
392
|
}
|
|
393
393
|
return state;
|
|
394
394
|
}
|
|
395
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
396
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
395
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteDataReducer, deps: [{ token: NGSSM_REMOTE_DATA_PROVIDER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
396
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteDataReducer }); }
|
|
397
397
|
}
|
|
398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteDataReducer, decorators: [{
|
|
399
399
|
type: Injectable
|
|
400
400
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
401
401
|
type: Inject,
|
|
@@ -412,10 +412,10 @@ class RemoteDataStateInitializer {
|
|
|
412
412
|
let tempState = state;
|
|
413
413
|
return (this.remoteDataProviders ?? []).reduce((s, provider) => updateRemoteDataState(s, { [provider.remoteDataKey]: { $set: { status: DataStatus.none } } }), tempState);
|
|
414
414
|
}
|
|
415
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
416
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
415
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteDataStateInitializer, deps: [{ token: NGSSM_REMOTE_DATA_PROVIDER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
416
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteDataStateInitializer }); }
|
|
417
417
|
}
|
|
418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteDataStateInitializer, decorators: [{
|
|
419
419
|
type: Injectable
|
|
420
420
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
421
421
|
type: Inject,
|
|
@@ -502,10 +502,10 @@ class NgssmRemoteCallStateInitializer {
|
|
|
502
502
|
let tempState = state;
|
|
503
503
|
return (this.remoteCallConfigs ?? []).reduce((s, config) => updateNgssmRemoteCallState(s, { remoteCalls: { [config.id]: { $set: { status: RemoteCallStatus.none } } } }), tempState);
|
|
504
504
|
}
|
|
505
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
506
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
505
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: NgssmRemoteCallStateInitializer, deps: [{ token: NGSSM_REMOTE_CALL_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
506
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: NgssmRemoteCallStateInitializer }); }
|
|
507
507
|
}
|
|
508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: NgssmRemoteCallStateInitializer, decorators: [{
|
|
509
509
|
type: Injectable
|
|
510
510
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
511
511
|
type: Inject,
|
|
@@ -542,10 +542,10 @@ class RemoteCallReducer {
|
|
|
542
542
|
});
|
|
543
543
|
return output;
|
|
544
544
|
}
|
|
545
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
546
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
545
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteCallReducer, deps: [{ token: NGSSM_REMOTE_CALL_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
546
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteCallReducer }); }
|
|
547
547
|
}
|
|
548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteCallReducer, decorators: [{
|
|
549
549
|
type: Injectable
|
|
550
550
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
551
551
|
type: Inject,
|
|
@@ -571,10 +571,10 @@ class RemoteCallSetterReducer {
|
|
|
571
571
|
}
|
|
572
572
|
return state;
|
|
573
573
|
}
|
|
574
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
575
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
574
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteCallSetterReducer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
575
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteCallSetterReducer }); }
|
|
576
576
|
}
|
|
577
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RemoteCallSetterReducer, decorators: [{
|
|
578
578
|
type: Injectable
|
|
579
579
|
}] });
|
|
580
580
|
|
|
@@ -602,15 +602,15 @@ class NgssmRemoteCallDirective extends NgSsmComponent {
|
|
|
602
602
|
}
|
|
603
603
|
});
|
|
604
604
|
}
|
|
605
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
606
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
605
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: NgssmRemoteCallDirective, deps: [{ token: i1.Store }, { token: i2$1.NgssmOverlayBuilder }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
606
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0", type: NgssmRemoteCallDirective, isStandalone: true, selector: "[ngssmRemoteCall]", inputs: { remoteCallId: ["ngssmRemoteCall", "remoteCallId"] }, providers: [NgssmOverlayBuilder, NgssmOverlay], usesInheritance: true, ngImport: i0 }); }
|
|
607
607
|
}
|
|
608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: NgssmRemoteCallDirective, decorators: [{
|
|
609
609
|
type: Directive,
|
|
610
610
|
args: [{
|
|
611
611
|
selector: '[ngssmRemoteCall]',
|
|
612
612
|
standalone: true,
|
|
613
|
-
providers: [NgssmOverlayBuilder]
|
|
613
|
+
providers: [NgssmOverlayBuilder, NgssmOverlay]
|
|
614
614
|
}]
|
|
615
615
|
}], ctorParameters: () => [{ type: i1.Store }, { type: i2$1.NgssmOverlayBuilder }], propDecorators: { remoteCallId: [{
|
|
616
616
|
type: Input,
|
|
@@ -642,12 +642,12 @@ class NgssmRemoteCallErrorComponent extends NgSsmComponent {
|
|
|
642
642
|
hideComponent() {
|
|
643
643
|
this.errorContainerRendered.set(false);
|
|
644
644
|
}
|
|
645
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
646
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
645
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: NgssmRemoteCallErrorComponent, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
646
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: NgssmRemoteCallErrorComponent, isStandalone: true, selector: "ngssm-remote-call-error", inputs: { remoteCallId: "remoteCallId" }, host: { properties: { "class": "this.hostCssClasses" } }, usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"errorContainerRendered() === true\" class=\"ngssm-remote-call-error-container\">\n {{errorDescription()}}\n\n <button mat-icon-button color=\"warn\" class=\"ngssm-remote-call-error-close-button\" (click)=\"hideComponent()\">\n <mat-icon class=\"fa-solid fa-square-xmark\"></mat-icon>\n </button>\n</div>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
647
647
|
}
|
|
648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: NgssmRemoteCallErrorComponent, decorators: [{
|
|
649
649
|
type: Component,
|
|
650
|
-
args: [{ selector: 'ngssm-remote-call-error',
|
|
650
|
+
args: [{ selector: 'ngssm-remote-call-error', imports: [CommonModule, MatButtonModule, MatIconModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"errorContainerRendered() === true\" class=\"ngssm-remote-call-error-container\">\n {{errorDescription()}}\n\n <button mat-icon-button color=\"warn\" class=\"ngssm-remote-call-error-close-button\" (click)=\"hideComponent()\">\n <mat-icon class=\"fa-solid fa-square-xmark\"></mat-icon>\n </button>\n</div>" }]
|
|
651
651
|
}], ctorParameters: () => [{ type: i1.Store }], propDecorators: { hostCssClasses: [{
|
|
652
652
|
type: HostBinding,
|
|
653
653
|
args: ['class']
|