ets-fe-ng-sdk 19.0.114 → 19.0.116
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/assets/scss/styles.scss +6 -0
- package/fesm2022/ets-fe-ng-sdk.mjs +6 -5
- package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
- package/lib/Services/service-worker/prompt-update.service.d.ts +1 -0
- package/lib/Shared/components/btn/btn.component.d.ts +1 -1
- package/lib/Shared/components/index-comp-layout/index-comp-layout.component.d.ts +1 -1
- package/lib/Shared/components/table/table.pipe.d.ts +2 -2
- package/package.json +1 -1
package/assets/scss/styles.scss
CHANGED
|
@@ -12267,7 +12267,7 @@ class LoaderComponent {
|
|
|
12267
12267
|
this.loading.set(this.loader.isLoading);
|
|
12268
12268
|
}
|
|
12269
12269
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LoaderComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12270
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.1", type: LoaderComponent, isStandalone: true, selector: "loader", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, _loading: { classPropertyName: "_loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, useStaticLoader: { classPropertyName: "useStaticLoader", publicName: "useStaticLoader", isSignal: true, isRequired: false, transformFunction: null }, ratioHW: { classPropertyName: "ratioHW", publicName: "ratioHW", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"h-100\">\n @if (loading()) {\n <!-- <div class=\"\">\n {{computedHeight() }}\n </div>\n <div class=\"\">\n {{class() }}\n </div>\n <div class=\"\">\n {{computedClass() }}\n </div> -->\n <div class=\" {{computedClass()}} center \" id=\"loader\" [style.height]=\"computedHeight()\" [style.minHeight]=\"computedMinHeight()\">\n <div class=\"text-center d-flex justify-content-center\">\n <div>\n <!-- <div class=\"\">\n {{currentLoaderIndex()}}\n </div> --> \n @switch (currentLoaderType()) {\n @case (loaderTypes().blinkingBlocks) {\n <blinking-blocks />\n }\n @case (loaderTypes().bouncingBall) {\n <bouncing-ball />\n }\n <!-- <ng-container *ngSwitchCase=\"loaderTypes.fadingBars\">\n <fading-bars></fading-bars>\n </ng-container> -->\n @case (loaderTypes().ringRipples) {\n <ring-ripples />\n }\n @case (loaderTypes().fadingCircles) {\n <fading-circles />\n }\n @default {\n <!-- <blinking-blocks /> -->\n <fading-circles />\n }\n }\n\n @if (text()) {\n <h5 class=\"mt-2 noselect\"
|
|
12270
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.1", type: LoaderComponent, isStandalone: true, selector: "loader", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, _loading: { classPropertyName: "_loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, useStaticLoader: { classPropertyName: "useStaticLoader", publicName: "useStaticLoader", isSignal: true, isRequired: false, transformFunction: null }, ratioHW: { classPropertyName: "ratioHW", publicName: "ratioHW", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"h-100\">\n @if (loading()) {\n <!-- <div class=\"\">\n {{computedHeight() }}\n </div>\n <div class=\"\">\n {{class() }}\n </div>\n <div class=\"\">\n {{computedClass() }}\n </div> -->\n <div class=\" {{computedClass()}} center \" id=\"loader\" [style.height]=\"computedHeight()\" [style.minHeight]=\"computedMinHeight()\">\n <div class=\"text-center d-flex justify-content-center\">\n <div>\n <!-- <div class=\"\">\n {{currentLoaderIndex()}}\n </div> --> \n @switch (currentLoaderType()) {\n @case (loaderTypes().blinkingBlocks) {\n <blinking-blocks />\n }\n @case (loaderTypes().bouncingBall) {\n <bouncing-ball />\n }\n <!-- <ng-container *ngSwitchCase=\"loaderTypes.fadingBars\">\n <fading-bars></fading-bars>\n </ng-container> -->\n @case (loaderTypes().ringRipples) {\n <ring-ripples />\n }\n @case (loaderTypes().fadingCircles) {\n <fading-circles />\n }\n @default {\n <!-- <blinking-blocks /> -->\n <fading-circles />\n }\n }\n\n @if (text()) {\n <h5 class=\"mt-2 noselect\" [innerHTML]=\"text() | appTranslateNL | async\"></h5>\n }\n </div>\n </div>\n </div>\n }\n\n <div [hidden]=\"loading()\" #cont class=\"loading-content-container\">\n <!-- <div > -->\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "component", type: BlinkingBlocksComponent, selector: "blinking-blocks" }, { kind: "component", type: BouncingBallComponent, selector: "bouncing-ball" }, { kind: "component", type: RingRipplesComponent, selector: "ring-ripples" }, { kind: "component", type: FadingCirclesComponent, selector: "fading-circles" }, { kind: "pipe", type: SDKTranslateNoLoaderPipe, name: "appTranslateNL" }] }); }
|
|
12271
12271
|
}
|
|
12272
12272
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: LoaderComponent, decorators: [{
|
|
12273
12273
|
type: Component,
|
|
@@ -12279,7 +12279,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImpor
|
|
|
12279
12279
|
FadingCirclesComponent,
|
|
12280
12280
|
AsyncPipe,
|
|
12281
12281
|
SDKTranslateNoLoaderPipe
|
|
12282
|
-
], template: "<div class=\"h-100\">\n @if (loading()) {\n <!-- <div class=\"\">\n {{computedHeight() }}\n </div>\n <div class=\"\">\n {{class() }}\n </div>\n <div class=\"\">\n {{computedClass() }}\n </div> -->\n <div class=\" {{computedClass()}} center \" id=\"loader\" [style.height]=\"computedHeight()\" [style.minHeight]=\"computedMinHeight()\">\n <div class=\"text-center d-flex justify-content-center\">\n <div>\n <!-- <div class=\"\">\n {{currentLoaderIndex()}}\n </div> --> \n @switch (currentLoaderType()) {\n @case (loaderTypes().blinkingBlocks) {\n <blinking-blocks />\n }\n @case (loaderTypes().bouncingBall) {\n <bouncing-ball />\n }\n <!-- <ng-container *ngSwitchCase=\"loaderTypes.fadingBars\">\n <fading-bars></fading-bars>\n </ng-container> -->\n @case (loaderTypes().ringRipples) {\n <ring-ripples />\n }\n @case (loaderTypes().fadingCircles) {\n <fading-circles />\n }\n @default {\n <!-- <blinking-blocks /> -->\n <fading-circles />\n }\n }\n\n @if (text()) {\n <h5 class=\"mt-2 noselect\"
|
|
12282
|
+
], template: "<div class=\"h-100\">\n @if (loading()) {\n <!-- <div class=\"\">\n {{computedHeight() }}\n </div>\n <div class=\"\">\n {{class() }}\n </div>\n <div class=\"\">\n {{computedClass() }}\n </div> -->\n <div class=\" {{computedClass()}} center \" id=\"loader\" [style.height]=\"computedHeight()\" [style.minHeight]=\"computedMinHeight()\">\n <div class=\"text-center d-flex justify-content-center\">\n <div>\n <!-- <div class=\"\">\n {{currentLoaderIndex()}}\n </div> --> \n @switch (currentLoaderType()) {\n @case (loaderTypes().blinkingBlocks) {\n <blinking-blocks />\n }\n @case (loaderTypes().bouncingBall) {\n <bouncing-ball />\n }\n <!-- <ng-container *ngSwitchCase=\"loaderTypes.fadingBars\">\n <fading-bars></fading-bars>\n </ng-container> -->\n @case (loaderTypes().ringRipples) {\n <ring-ripples />\n }\n @case (loaderTypes().fadingCircles) {\n <fading-circles />\n }\n @default {\n <!-- <blinking-blocks /> -->\n <fading-circles />\n }\n }\n\n @if (text()) {\n <h5 class=\"mt-2 noselect\" [innerHTML]=\"text() | appTranslateNL | async\"></h5>\n }\n </div>\n </div>\n </div>\n }\n\n <div [hidden]=\"loading()\" #cont class=\"loading-content-container\">\n <!-- <div > -->\n <ng-content></ng-content>\n </div>\n</div>\n" }]
|
|
12283
12283
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { _loading: [{
|
|
12284
12284
|
type: Input,
|
|
12285
12285
|
args: ['loading']
|
|
@@ -23545,6 +23545,7 @@ class ETSPromptUpdateService {
|
|
|
23545
23545
|
*/
|
|
23546
23546
|
constructor(swUpdate, cS) {
|
|
23547
23547
|
this.cS = cS;
|
|
23548
|
+
this.showPrompt = true;
|
|
23548
23549
|
/**
|
|
23549
23550
|
* Indicates whether the confirmation prompt dialog is currently open
|
|
23550
23551
|
*/
|
|
@@ -23562,13 +23563,13 @@ class ETSPromptUpdateService {
|
|
|
23562
23563
|
* @param reason - Optional reason to display in the prompt explaining why a reload is needed
|
|
23563
23564
|
*/
|
|
23564
23565
|
prompter(reason) {
|
|
23566
|
+
if (!this.showPrompt)
|
|
23567
|
+
return;
|
|
23565
23568
|
if (this.promptRef)
|
|
23566
23569
|
this.promptRef.close();
|
|
23567
23570
|
if (this.promptSub)
|
|
23568
23571
|
this.promptSub.unsubscribe();
|
|
23569
|
-
this.promptRef = this.cS.confirm$((reason
|
|
23570
|
-
? reason
|
|
23571
|
-
: `We need to reload the application to receive new updates.`) +
|
|
23572
|
+
this.promptRef = this.cS.confirm$((reason ? reason : `We need to reload the application to receive new updates.`) +
|
|
23572
23573
|
`\n Please confirm if we should refresh.`);
|
|
23573
23574
|
this.promptSub = this.promptRef.afterClosed().subscribe((r) => {
|
|
23574
23575
|
if (r)
|