ets-fe-ng-sdk 19.0.115 → 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 +4 -3
- 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
|
@@ -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)
|