@softpak/components 21.2.0-capwesome.2 → 21.2.0-capwesome.4
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-button.mjs +6 -38
- package/fesm2022/softpak-components-spx-button.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-haptics.mjs +54 -0
- package/fesm2022/softpak-components-spx-haptics.mjs.map +1 -0
- 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-storage.mjs +1 -0
- package/fesm2022/softpak-components-spx-storage.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-suggestion.mjs +9 -23
- package/fesm2022/softpak-components-spx-suggestion.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 +5 -2
- package/fesm2022/softpak-components-spx-translate.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-update.mjs +50 -50
- 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 +5 -1
- package/types/softpak-components-spx-button.d.ts +1 -4
- 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-haptics.d.ts +13 -0
- 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-storage.d.ts +2 -1
- package/types/softpak-components-spx-suggestion.d.ts +1 -1
- 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 +3 -1
- package/types/softpak-components-spx-update.d.ts +15 -13
|
@@ -37,96 +37,60 @@ declare class SpxToasterComponent {
|
|
|
37
37
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxToasterComponent, "spx-toaster", never, { "messages": { "alias": "messages"; "required": true; "isSignal": true; }; "spxAutoclose": { "alias": "spxAutoclose"; "required": false; "isSignal": true; }; }, { "spxClose": "spxClose"; }, never, never, true, never>;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
declare const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} & _ngrx_store.Action<"[SPX / Toaster] Clear message">) | ({
|
|
95
|
-
autoClose?: number | SpxToasterAutoCloseSpeedEnum;
|
|
96
|
-
closeable?: boolean;
|
|
97
|
-
messageText: string;
|
|
98
|
-
title?: string;
|
|
99
|
-
} & _ngrx_store.Action<"[SPX / Toaster] Create error">) | ({
|
|
100
|
-
autoClose?: number | SpxToasterAutoCloseSpeedEnum;
|
|
101
|
-
closeable?: boolean;
|
|
102
|
-
messageText: string;
|
|
103
|
-
title?: string;
|
|
104
|
-
} & _ngrx_store.Action<"[SPX / Toaster] Create info">) | ({
|
|
105
|
-
autoClose?: number | SpxToasterAutoCloseSpeedEnum;
|
|
106
|
-
closeable?: boolean;
|
|
107
|
-
messageText: string;
|
|
108
|
-
title?: string;
|
|
109
|
-
} & _ngrx_store.Action<"[SPX / Toaster] Create success">) | ({
|
|
110
|
-
autoClose?: number | SpxToasterAutoCloseSpeedEnum;
|
|
111
|
-
closeable?: boolean;
|
|
112
|
-
messageText: string;
|
|
113
|
-
title?: string;
|
|
114
|
-
} & _ngrx_store.Action<"[SPX / Toaster] Create warning">);
|
|
115
|
-
type Actions = typeof all;
|
|
116
|
-
|
|
117
|
-
type spxToaster_actions_d_Actions = Actions;
|
|
118
|
-
declare const spxToaster_actions_d_clearAll: typeof clearAll;
|
|
119
|
-
declare const spxToaster_actions_d_clearAllErrors: typeof clearAllErrors;
|
|
120
|
-
declare const spxToaster_actions_d_clearAllErrorsAndWarnings: typeof clearAllErrorsAndWarnings;
|
|
121
|
-
declare const spxToaster_actions_d_clearMessage: typeof clearMessage;
|
|
122
|
-
declare const spxToaster_actions_d_createError: typeof createError;
|
|
123
|
-
declare const spxToaster_actions_d_createInfo: typeof createInfo;
|
|
124
|
-
declare const spxToaster_actions_d_createSuccess: typeof createSuccess;
|
|
125
|
-
declare const spxToaster_actions_d_createWarning: typeof createWarning;
|
|
126
|
-
declare namespace spxToaster_actions_d {
|
|
127
|
-
export { spxToaster_actions_d_clearAll as clearAll, spxToaster_actions_d_clearAllErrors as clearAllErrors, spxToaster_actions_d_clearAllErrorsAndWarnings as clearAllErrorsAndWarnings, spxToaster_actions_d_clearMessage as clearMessage, spxToaster_actions_d_createError as createError, spxToaster_actions_d_createInfo as createInfo, spxToaster_actions_d_createSuccess as createSuccess, spxToaster_actions_d_createWarning as createWarning };
|
|
128
|
-
export type { spxToaster_actions_d_Actions as Actions };
|
|
129
|
-
}
|
|
40
|
+
declare const spxToasterActions: {
|
|
41
|
+
clearAll: _ngrx_store.ActionCreator<"[SpxToaster] ClearAll", () => _ngrx_store.Action<"[SpxToaster] ClearAll">>;
|
|
42
|
+
clearAllErrors: _ngrx_store.ActionCreator<"[SpxToaster] ClearAllErrors", () => _ngrx_store.Action<"[SpxToaster] ClearAllErrors">>;
|
|
43
|
+
clearAllErrorsAndWarnings: _ngrx_store.ActionCreator<"[SpxToaster] ClearAllErrorsAndWarnings", () => _ngrx_store.Action<"[SpxToaster] ClearAllErrorsAndWarnings">>;
|
|
44
|
+
clearMessage: _ngrx_store.ActionCreator<"[SpxToaster] ClearMessage", (props: {
|
|
45
|
+
id: number;
|
|
46
|
+
}) => {
|
|
47
|
+
id: number;
|
|
48
|
+
} & _ngrx_store.Action<"[SpxToaster] ClearMessage">>;
|
|
49
|
+
createError: _ngrx_store.ActionCreator<"[SpxToaster] CreateError", (props: {
|
|
50
|
+
autoClose?: number | SpxToasterAutoCloseSpeedEnum;
|
|
51
|
+
closeable?: boolean;
|
|
52
|
+
messageText: string;
|
|
53
|
+
title?: string;
|
|
54
|
+
}) => {
|
|
55
|
+
autoClose?: number | SpxToasterAutoCloseSpeedEnum;
|
|
56
|
+
closeable?: boolean;
|
|
57
|
+
messageText: string;
|
|
58
|
+
title?: string;
|
|
59
|
+
} & _ngrx_store.Action<"[SpxToaster] CreateError">>;
|
|
60
|
+
createInfo: _ngrx_store.ActionCreator<"[SpxToaster] CreateInfo", (props: {
|
|
61
|
+
autoClose?: number | SpxToasterAutoCloseSpeedEnum;
|
|
62
|
+
closeable?: boolean;
|
|
63
|
+
messageText: string;
|
|
64
|
+
title?: string;
|
|
65
|
+
}) => {
|
|
66
|
+
autoClose?: number | SpxToasterAutoCloseSpeedEnum;
|
|
67
|
+
closeable?: boolean;
|
|
68
|
+
messageText: string;
|
|
69
|
+
title?: string;
|
|
70
|
+
} & _ngrx_store.Action<"[SpxToaster] CreateInfo">>;
|
|
71
|
+
createSuccess: _ngrx_store.ActionCreator<"[SpxToaster] CreateSuccess", (props: {
|
|
72
|
+
autoClose?: number | SpxToasterAutoCloseSpeedEnum;
|
|
73
|
+
closeable?: boolean;
|
|
74
|
+
messageText: string;
|
|
75
|
+
title?: string;
|
|
76
|
+
}) => {
|
|
77
|
+
autoClose?: number | SpxToasterAutoCloseSpeedEnum;
|
|
78
|
+
closeable?: boolean;
|
|
79
|
+
messageText: string;
|
|
80
|
+
title?: string;
|
|
81
|
+
} & _ngrx_store.Action<"[SpxToaster] CreateSuccess">>;
|
|
82
|
+
createWarning: _ngrx_store.ActionCreator<"[SpxToaster] CreateWarning", (props: {
|
|
83
|
+
autoClose?: number | SpxToasterAutoCloseSpeedEnum;
|
|
84
|
+
closeable?: boolean;
|
|
85
|
+
messageText: string;
|
|
86
|
+
title?: string;
|
|
87
|
+
}) => {
|
|
88
|
+
autoClose?: number | SpxToasterAutoCloseSpeedEnum;
|
|
89
|
+
closeable?: boolean;
|
|
90
|
+
messageText: string;
|
|
91
|
+
title?: string;
|
|
92
|
+
} & _ngrx_store.Action<"[SpxToaster] CreateWarning">>;
|
|
93
|
+
};
|
|
130
94
|
|
|
131
95
|
interface StateI {
|
|
132
96
|
messages: SpxToasterMessageI[];
|
|
@@ -164,4 +128,4 @@ declare namespace spxToaster_reducer_d {
|
|
|
164
128
|
};
|
|
165
129
|
}
|
|
166
130
|
|
|
167
|
-
export { SpxToasterAutoCloseSpeedEnum, SpxToasterComponent, SpxToasterMessageI, SpxToasterSeverityEnum,
|
|
131
|
+
export { SpxToasterAutoCloseSpeedEnum, SpxToasterComponent, SpxToasterMessageI, SpxToasterSeverityEnum, spxToasterActions, spxToaster_initial_d as spxToasterInitial, spxToaster_reducer_d as spxToasterReducer, spxToaster_state_d as spxToasterState, toasterAutocloseSpeed };
|
|
@@ -26,6 +26,7 @@ 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";
|
|
29
30
|
interface SpxTranslateI {
|
|
30
31
|
[spxTextChange]: string;
|
|
31
32
|
[spxTextCheckingForUpdates]: string;
|
|
@@ -56,11 +57,12 @@ interface SpxTranslateI {
|
|
|
56
57
|
[spxTextDateMayNotBeFuture]: string;
|
|
57
58
|
[spxTextDateMayNotBePast]: string;
|
|
58
59
|
[spxTextInvalidCode]: string;
|
|
60
|
+
[spxTextLiveUpdateChannelSetFailed]: string;
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
declare const SpxTranslateEn: SpxTranslateI;
|
|
62
64
|
|
|
63
65
|
declare const SpxTranslateNl: SpxTranslateI;
|
|
64
66
|
|
|
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 };
|
|
67
|
+
export { SpxTranslateEn, SpxTranslateNl, spxText404PageNotFound, spxTextChange, spxTextChannel, spxTextCheckingForUpdates, spxTextChooseFuture, spxTextChoosePast, spxTextChooseValidMonth, spxTextCompany, spxTextDateMayNotBeFuture, spxTextDateMayNotBePast, spxTextGoHome, spxTextInvalidCode, spxTextLiveUpdateChannelSetFailed, spxTextOneMomentPlease, spxTextOpenAppStore, spxTextPageNotFound, spxTextPageNotFoundDescription, spxTextPatchAvailable, spxTextPatternNotValid, spxTextReadyToBeInstalled, spxTextRequired, spxTextSelect, spxTextSelectYourCompany, spxTextTooHigh, spxTextTooLong, spxTextTooLow, spxTextTooShort, spxTextUpdate, spxTextUpdateAvailable };
|
|
66
68
|
export type { SpxTranslateI };
|
|
@@ -5,7 +5,9 @@ import { Store } from '@ngrx/store';
|
|
|
5
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 {
|
|
@@ -46,26 +48,26 @@ declare class SpxUpdatePendingComponent {
|
|
|
46
48
|
|
|
47
49
|
declare const spxUpdateUrl = "";
|
|
48
50
|
|
|
49
|
-
declare const
|
|
50
|
-
anUpdateIsReady: _ngrx_store.ActionCreator<"[SpxUpdateCheck]
|
|
51
|
-
|
|
52
|
-
checkFailed: _ngrx_store.ActionCreator<"[SpxUpdateCheck] CheckFailed", (props: {
|
|
51
|
+
declare const spxUpdateCheckActions: {
|
|
52
|
+
anUpdateIsReady: _ngrx_store.ActionCreator<"[SpxUpdateCheck] anUpdateIsReady", () => _ngrx_store.Action<"[SpxUpdateCheck] anUpdateIsReady">>;
|
|
53
|
+
checkFailed: _ngrx_store.ActionCreator<"[SpxUpdateCheck] checkFailed", (props: {
|
|
53
54
|
startUpdateAgainAfterTimeout?: boolean;
|
|
54
55
|
}) => {
|
|
55
56
|
startUpdateAgainAfterTimeout?: boolean;
|
|
56
|
-
} & _ngrx_store.Action<"[SpxUpdateCheck]
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
} & _ngrx_store.Action<"[SpxUpdateCheck] checkFailed">>;
|
|
58
|
+
clearError: _ngrx_store.ActionCreator<"[SpxUpdateCheck] clearError", () => _ngrx_store.Action<"[SpxUpdateCheck] clearError">>;
|
|
59
|
+
initialize: _ngrx_store.ActionCreator<"[SpxUpdateCheck] initialize", () => _ngrx_store.Action<"[SpxUpdateCheck] initialize">>;
|
|
60
|
+
noUpdateWasFound: _ngrx_store.ActionCreator<"[SpxUpdateCheck] noUpdateWasFound", (props: {
|
|
59
61
|
startUpdateAgainAfterTimeout?: boolean;
|
|
60
62
|
}) => {
|
|
61
63
|
startUpdateAgainAfterTimeout?: boolean;
|
|
62
|
-
} & _ngrx_store.Action<"[SpxUpdateCheck]
|
|
63
|
-
notAvailableOnWeb: _ngrx_store.ActionCreator<"[SpxUpdateCheck]
|
|
64
|
-
runCheck: _ngrx_store.ActionCreator<"[SpxUpdateCheck]
|
|
64
|
+
} & _ngrx_store.Action<"[SpxUpdateCheck] noUpdateWasFound">>;
|
|
65
|
+
notAvailableOnWeb: _ngrx_store.ActionCreator<"[SpxUpdateCheck] notAvailableOnWeb", () => _ngrx_store.Action<"[SpxUpdateCheck] notAvailableOnWeb">>;
|
|
66
|
+
runCheck: _ngrx_store.ActionCreator<"[SpxUpdateCheck] runCheck", (props: {
|
|
65
67
|
forceWaitForUpdate?: boolean;
|
|
66
68
|
}) => {
|
|
67
69
|
forceWaitForUpdate?: boolean;
|
|
68
|
-
} & _ngrx_store.Action<"[SpxUpdateCheck]
|
|
70
|
+
} & _ngrx_store.Action<"[SpxUpdateCheck] runCheck">>;
|
|
69
71
|
};
|
|
70
72
|
|
|
71
73
|
declare class Effects$1 {
|
|
@@ -129,7 +131,7 @@ declare const SpxUpdatePendingActions: {
|
|
|
129
131
|
declare class Effects {
|
|
130
132
|
private readonly actions$;
|
|
131
133
|
constructor(actions$: Actions);
|
|
132
|
-
whenAccepted$: Observable<
|
|
134
|
+
whenAccepted$: rxjs.Observable<_ngrx_store.Action<"[SpxUpdatePending] AcceptUpdate">> & _ngrx_effects.CreateEffectMetadata;
|
|
133
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<Effects, never>;
|
|
134
136
|
static ɵprov: i0.ɵɵInjectableDeclaration<Effects>;
|
|
135
137
|
}
|
|
@@ -175,4 +177,4 @@ declare namespace spxUpdatePending_reducer_d {
|
|
|
175
177
|
};
|
|
176
178
|
}
|
|
177
179
|
|
|
178
|
-
export {
|
|
180
|
+
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 };
|