@softpak/components 21.2.0-capwesome.3 → 21.2.0-capwesome.5
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/softpak-components-spx-app-expiry.mjs +5 -5
- package/fesm2022/softpak-components-spx-app-expiry.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-channel-selection.mjs +40 -24
- package/fesm2022/softpak-components-spx-channel-selection.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-confirm.mjs +17 -25
- package/fesm2022/softpak-components-spx-confirm.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-helpers.mjs +9 -1
- package/fesm2022/softpak-components-spx-helpers.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-navigation.mjs +14 -21
- package/fesm2022/softpak-components-spx-navigation.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-spinner.mjs +12 -18
- package/fesm2022/softpak-components-spx-spinner.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-tabs.mjs +8 -11
- package/fesm2022/softpak-components-spx-tabs.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-toaster.mjs +22 -39
- package/fesm2022/softpak-components-spx-toaster.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-translate.mjs +41 -2
- package/fesm2022/softpak-components-spx-translate.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-update.mjs +109 -69
- package/fesm2022/softpak-components-spx-update.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-welcome.mjs +2 -2
- package/fesm2022/softpak-components-spx-welcome.mjs.map +1 -1
- package/package.json +1 -1
- package/tailwind.css +1 -1
- package/types/softpak-components-spx-channel-selection.d.ts +14 -7
- package/types/softpak-components-spx-confirm.d.ts +21 -33
- package/types/softpak-components-spx-helpers.d.ts +3 -1
- package/types/softpak-components-spx-navigation.d.ts +20 -36
- package/types/softpak-components-spx-spinner.d.ts +14 -27
- package/types/softpak-components-spx-tabs.d.ts +8 -17
- package/types/softpak-components-spx-toaster.d.ts +55 -91
- package/types/softpak-components-spx-translate.d.ts +27 -1
- package/types/softpak-components-spx-update.d.ts +46 -27
|
@@ -26,6 +26,19 @@ declare const spxTextChooseValidMonth = "spxTextChooseValidMonth";
|
|
|
26
26
|
declare const spxTextDateMayNotBeFuture = "spxTextDateMayNotBeFuture";
|
|
27
27
|
declare const spxTextDateMayNotBePast = "spxTextDateMayNotBePast";
|
|
28
28
|
declare const spxTextInvalidCode = "spxTextInvalidCode";
|
|
29
|
+
declare const spxTextLiveUpdateChannelSetFailed = "spxTextLiveUpdateChannelSetFailed";
|
|
30
|
+
declare const spxTextLiveUpdateCheckFailed = "spxTextLiveUpdateCheckFailed";
|
|
31
|
+
declare const spxTextUpdateAppVersion = "spxTextUpdateAppVersion";
|
|
32
|
+
declare const spxTextUpdateBinaryVersionGroup = "spxTextUpdateBinaryVersionGroup";
|
|
33
|
+
declare const spxTextUpdateBuildVersion = "spxTextUpdateBuildVersion";
|
|
34
|
+
declare const spxTextUpdateLiveBundle = "spxTextUpdateLiveBundle";
|
|
35
|
+
declare const spxTextUpdateLiveChannel = "spxTextUpdateLiveChannel";
|
|
36
|
+
declare const spxTextUpdateStatus = "spxTextUpdateStatus";
|
|
37
|
+
declare const spxTextUpdateStatusCompleted = "spxTextUpdateStatusCompleted";
|
|
38
|
+
declare const spxTextUpdateStatusFailed = "spxTextUpdateStatusFailed";
|
|
39
|
+
declare const spxTextUpdateStatusPreparing = "spxTextUpdateStatusPreparing";
|
|
40
|
+
declare const spxTextUpdateStatusSyncing = "spxTextUpdateStatusSyncing";
|
|
41
|
+
declare const spxTextUpdateVersionInfo = "spxTextUpdateVersionInfo";
|
|
29
42
|
interface SpxTranslateI {
|
|
30
43
|
[spxTextChange]: string;
|
|
31
44
|
[spxTextCheckingForUpdates]: string;
|
|
@@ -56,11 +69,24 @@ interface SpxTranslateI {
|
|
|
56
69
|
[spxTextDateMayNotBeFuture]: string;
|
|
57
70
|
[spxTextDateMayNotBePast]: string;
|
|
58
71
|
[spxTextInvalidCode]: string;
|
|
72
|
+
[spxTextLiveUpdateChannelSetFailed]: string;
|
|
73
|
+
[spxTextLiveUpdateCheckFailed]: string;
|
|
74
|
+
[spxTextUpdateAppVersion]: string;
|
|
75
|
+
[spxTextUpdateBinaryVersionGroup]: string;
|
|
76
|
+
[spxTextUpdateBuildVersion]: string;
|
|
77
|
+
[spxTextUpdateLiveBundle]: string;
|
|
78
|
+
[spxTextUpdateLiveChannel]: string;
|
|
79
|
+
[spxTextUpdateStatus]: string;
|
|
80
|
+
[spxTextUpdateStatusCompleted]: string;
|
|
81
|
+
[spxTextUpdateStatusFailed]: string;
|
|
82
|
+
[spxTextUpdateStatusPreparing]: string;
|
|
83
|
+
[spxTextUpdateStatusSyncing]: string;
|
|
84
|
+
[spxTextUpdateVersionInfo]: string;
|
|
59
85
|
}
|
|
60
86
|
|
|
61
87
|
declare const SpxTranslateEn: SpxTranslateI;
|
|
62
88
|
|
|
63
89
|
declare const SpxTranslateNl: SpxTranslateI;
|
|
64
90
|
|
|
65
|
-
export { SpxTranslateEn, SpxTranslateNl, spxText404PageNotFound, spxTextChange, spxTextChannel, spxTextCheckingForUpdates, spxTextChooseFuture, spxTextChoosePast, spxTextChooseValidMonth, spxTextCompany, spxTextDateMayNotBeFuture, spxTextDateMayNotBePast, spxTextGoHome, spxTextInvalidCode, spxTextOneMomentPlease, spxTextOpenAppStore, spxTextPageNotFound, spxTextPageNotFoundDescription, spxTextPatchAvailable, spxTextPatternNotValid, spxTextReadyToBeInstalled, spxTextRequired, spxTextSelect, spxTextSelectYourCompany, spxTextTooHigh, spxTextTooLong, spxTextTooLow, spxTextTooShort, spxTextUpdate, spxTextUpdateAvailable };
|
|
91
|
+
export { SpxTranslateEn, SpxTranslateNl, spxText404PageNotFound, spxTextChange, spxTextChannel, spxTextCheckingForUpdates, spxTextChooseFuture, spxTextChoosePast, spxTextChooseValidMonth, spxTextCompany, spxTextDateMayNotBeFuture, spxTextDateMayNotBePast, spxTextGoHome, spxTextInvalidCode, spxTextLiveUpdateChannelSetFailed, spxTextLiveUpdateCheckFailed, spxTextOneMomentPlease, spxTextOpenAppStore, spxTextPageNotFound, spxTextPageNotFoundDescription, spxTextPatchAvailable, spxTextPatternNotValid, spxTextReadyToBeInstalled, spxTextRequired, spxTextSelect, spxTextSelectYourCompany, spxTextTooHigh, spxTextTooLong, spxTextTooLow, spxTextTooShort, spxTextUpdate, spxTextUpdateAppVersion, spxTextUpdateAvailable, spxTextUpdateBinaryVersionGroup, spxTextUpdateBuildVersion, spxTextUpdateLiveBundle, spxTextUpdateLiveChannel, spxTextUpdateStatus, spxTextUpdateStatusCompleted, spxTextUpdateStatusFailed, spxTextUpdateStatusPreparing, spxTextUpdateStatusSyncing, spxTextUpdateVersionInfo };
|
|
66
92
|
export type { SpxTranslateI };
|
|
@@ -1,35 +1,52 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
1
2
|
import { NavController } from '@ionic/angular/standalone';
|
|
2
3
|
import { ActivatedRoute } from '@angular/router';
|
|
3
4
|
import * as _ngrx_store from '@ngrx/store';
|
|
4
5
|
import { Store } from '@ngrx/store';
|
|
5
|
-
import * as i0 from '@angular/core';
|
|
6
6
|
import { SafeStyle, DomSanitizer } from '@angular/platform-browser';
|
|
7
7
|
import { SpxSeverityEnum } from '@softpak/components/spx-helpers';
|
|
8
|
+
import * as rxjs from 'rxjs';
|
|
8
9
|
import { Observable } from 'rxjs';
|
|
10
|
+
import * as _ngrx_effects from '@ngrx/effects';
|
|
9
11
|
import { Actions } from '@ngrx/effects';
|
|
10
12
|
|
|
11
13
|
declare class SpxUpdatePageComponent {
|
|
12
14
|
private readonly appStore;
|
|
13
15
|
private readonly activatedRoute;
|
|
14
16
|
private readonly navController;
|
|
17
|
+
appVersion: _angular_core.WritableSignal<string>;
|
|
18
|
+
binaryVersionGroup: _angular_core.WritableSignal<string>;
|
|
19
|
+
buildVersion: _angular_core.WritableSignal<string>;
|
|
20
|
+
forceWaitForUpdate: _angular_core.Signal<boolean>;
|
|
21
|
+
hasStarted: _angular_core.WritableSignal<boolean>;
|
|
22
|
+
liveBundle: _angular_core.WritableSignal<string>;
|
|
23
|
+
liveUpdateChannel: _angular_core.WritableSignal<string>;
|
|
15
24
|
spxTextCheckingForUpdates: string;
|
|
16
25
|
spxTextOneMomentPlease: string;
|
|
17
|
-
|
|
26
|
+
spxTextUpdateAppVersion: string;
|
|
27
|
+
spxTextUpdateBinaryVersionGroup: string;
|
|
28
|
+
spxTextUpdateBuildVersion: string;
|
|
29
|
+
spxTextUpdateLiveBundle: string;
|
|
30
|
+
spxTextUpdateLiveChannel: string;
|
|
31
|
+
spxTextUpdateStatus: string;
|
|
32
|
+
spxTextUpdateVersionInfo: string;
|
|
33
|
+
statusText: _angular_core.Signal<"spxTextUpdateStatusPreparing" | "spxTextUpdateStatusFailed" | "spxTextUpdateStatusSyncing" | "spxTextUpdateStatusCompleted">;
|
|
34
|
+
showError: _angular_core.Signal<boolean>;
|
|
18
35
|
ngOnInit(): void;
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
36
|
constructor(appStore: Store, activatedRoute: ActivatedRoute, navController: NavController);
|
|
21
|
-
|
|
22
|
-
static
|
|
37
|
+
private loadVersionInfo;
|
|
38
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxUpdatePageComponent, never>;
|
|
39
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxUpdatePageComponent, "spx-update-page", never, {}, {}, never, never, true, never>;
|
|
23
40
|
}
|
|
24
41
|
|
|
25
42
|
declare class SpxUpdatePendingComponent {
|
|
26
43
|
private readonly appStore;
|
|
27
44
|
private sanitizer;
|
|
28
45
|
baseStyle?: SafeStyle;
|
|
29
|
-
availableStoreVersion:
|
|
30
|
-
currentStoreVersion:
|
|
46
|
+
availableStoreVersion: _angular_core.WritableSignal<string | undefined>;
|
|
47
|
+
currentStoreVersion: _angular_core.WritableSignal<string | undefined>;
|
|
31
48
|
severitySuccess: SpxSeverityEnum;
|
|
32
|
-
showLiveUpdateReady:
|
|
49
|
+
showLiveUpdateReady: _angular_core.WritableSignal<boolean>;
|
|
33
50
|
spxTextUpdate: string;
|
|
34
51
|
spxTextReadyToBeInstalled: string;
|
|
35
52
|
spxTextPatchAvailable: string;
|
|
@@ -40,43 +57,45 @@ declare class SpxUpdatePendingComponent {
|
|
|
40
57
|
ngOnDestroy(): void;
|
|
41
58
|
constructor(appStore: Store, sanitizer: DomSanitizer);
|
|
42
59
|
onUpdate(): void;
|
|
43
|
-
static ɵfac:
|
|
44
|
-
static ɵcmp:
|
|
60
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxUpdatePendingComponent, never>;
|
|
61
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxUpdatePendingComponent, "spx-update-pending", never, {}, {}, never, never, true, never>;
|
|
45
62
|
}
|
|
46
63
|
|
|
47
64
|
declare const spxUpdateUrl = "";
|
|
48
65
|
|
|
49
|
-
declare const
|
|
50
|
-
anUpdateIsReady: _ngrx_store.ActionCreator<"[SpxUpdateCheck]
|
|
51
|
-
|
|
52
|
-
checkFailed: _ngrx_store.ActionCreator<"[SpxUpdateCheck] CheckFailed", (props: {
|
|
66
|
+
declare const spxUpdateCheckActions: {
|
|
67
|
+
anUpdateIsReady: _ngrx_store.ActionCreator<"[SpxUpdateCheck] anUpdateIsReady", () => _ngrx_store.Action<"[SpxUpdateCheck] anUpdateIsReady">>;
|
|
68
|
+
checkFailed: _ngrx_store.ActionCreator<"[SpxUpdateCheck] checkFailed", (props: {
|
|
53
69
|
startUpdateAgainAfterTimeout?: boolean;
|
|
54
70
|
}) => {
|
|
55
71
|
startUpdateAgainAfterTimeout?: boolean;
|
|
56
|
-
} & _ngrx_store.Action<"[SpxUpdateCheck]
|
|
57
|
-
|
|
58
|
-
|
|
72
|
+
} & _ngrx_store.Action<"[SpxUpdateCheck] checkFailed">>;
|
|
73
|
+
clearError: _ngrx_store.ActionCreator<"[SpxUpdateCheck] clearError", () => _ngrx_store.Action<"[SpxUpdateCheck] clearError">>;
|
|
74
|
+
initialize: _ngrx_store.ActionCreator<"[SpxUpdateCheck] initialize", () => _ngrx_store.Action<"[SpxUpdateCheck] initialize">>;
|
|
75
|
+
noUpdateWasFound: _ngrx_store.ActionCreator<"[SpxUpdateCheck] noUpdateWasFound", (props: {
|
|
59
76
|
startUpdateAgainAfterTimeout?: boolean;
|
|
60
77
|
}) => {
|
|
61
78
|
startUpdateAgainAfterTimeout?: boolean;
|
|
62
|
-
} & _ngrx_store.Action<"[SpxUpdateCheck]
|
|
63
|
-
notAvailableOnWeb: _ngrx_store.ActionCreator<"[SpxUpdateCheck]
|
|
64
|
-
runCheck: _ngrx_store.ActionCreator<"[SpxUpdateCheck]
|
|
79
|
+
} & _ngrx_store.Action<"[SpxUpdateCheck] noUpdateWasFound">>;
|
|
80
|
+
notAvailableOnWeb: _ngrx_store.ActionCreator<"[SpxUpdateCheck] notAvailableOnWeb", () => _ngrx_store.Action<"[SpxUpdateCheck] notAvailableOnWeb">>;
|
|
81
|
+
runCheck: _ngrx_store.ActionCreator<"[SpxUpdateCheck] runCheck", (props: {
|
|
65
82
|
forceWaitForUpdate?: boolean;
|
|
66
83
|
}) => {
|
|
67
84
|
forceWaitForUpdate?: boolean;
|
|
68
|
-
} & _ngrx_store.Action<"[SpxUpdateCheck]
|
|
85
|
+
} & _ngrx_store.Action<"[SpxUpdateCheck] runCheck">>;
|
|
69
86
|
};
|
|
70
87
|
|
|
71
88
|
declare class Effects$1 {
|
|
72
89
|
private readonly actions$;
|
|
90
|
+
private readonly translateService;
|
|
73
91
|
afterInitialize$: Observable<any>;
|
|
74
92
|
onRun$: Observable<any>;
|
|
75
93
|
whenAndUpdateIsReady$: Observable<any>;
|
|
76
94
|
whenCheckHasFailed$: Observable<any>;
|
|
95
|
+
whenCheckHasFailedShowError$: Observable<any>;
|
|
77
96
|
whenNoUpdateWasFound$: Observable<any>;
|
|
78
|
-
static ɵfac:
|
|
79
|
-
static ɵprov:
|
|
97
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Effects$1, never>;
|
|
98
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<Effects$1>;
|
|
80
99
|
}
|
|
81
100
|
|
|
82
101
|
declare namespace spxUpdateCheck_effects_d {
|
|
@@ -129,9 +148,9 @@ declare const SpxUpdatePendingActions: {
|
|
|
129
148
|
declare class Effects {
|
|
130
149
|
private readonly actions$;
|
|
131
150
|
constructor(actions$: Actions);
|
|
132
|
-
whenAccepted$: Observable<
|
|
133
|
-
static ɵfac:
|
|
134
|
-
static ɵprov:
|
|
151
|
+
whenAccepted$: rxjs.Observable<_ngrx_store.Action<"[SpxUpdatePending] AcceptUpdate">> & _ngrx_effects.CreateEffectMetadata;
|
|
152
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Effects, never>;
|
|
153
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<Effects>;
|
|
135
154
|
}
|
|
136
155
|
|
|
137
156
|
type spxUpdatePending_effects_d_Effects = Effects;
|
|
@@ -175,4 +194,4 @@ declare namespace spxUpdatePending_reducer_d {
|
|
|
175
194
|
};
|
|
176
195
|
}
|
|
177
196
|
|
|
178
|
-
export {
|
|
197
|
+
export { SpxUpdatePageComponent, SpxUpdatePendingActions, SpxUpdatePendingComponent, spxUpdateCheckActions, spxUpdateCheck_effects_d as spxUpdateCheckEffects, spxUpdateCheck_initial_d as spxUpdateCheckInitial, spxUpdateCheck_reducer_d as spxUpdateCheckReducer, spxUpdateCheck_state_d as spxUpdateCheckState, spxUpdatePending_effects_d as spxUpdatePendingEffects, spxUpdatePending_initial_d as spxUpdatePendingInitial, spxUpdatePending_reducer_d as spxUpdatePendingReducer, spxUpdatePending_state_d as spxUpdatePendingState, spxUpdateUrl };
|