@softpak/components 21.2.0-capwesome.1 → 21.2.0-capwesome.11
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 +95 -16
- 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 +65 -2
- package/fesm2022/softpak-components-spx-translate.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-update.mjs +282 -84
- 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/tailwind.css +1 -1
- package/types/softpak-components-spx-button.d.ts +1 -4
- package/types/softpak-components-spx-channel-selection.d.ts +39 -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 +43 -1
- package/types/softpak-components-spx-update.d.ts +88 -39
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
declare const calcCheckDigit: (container: string) => string;
|
|
2
2
|
|
|
3
|
+
declare function getBinaryVersionGroup(version: string): string;
|
|
4
|
+
|
|
3
5
|
declare enum SpxSeverityEnum {
|
|
4
6
|
error = "error",
|
|
5
7
|
info = "info",
|
|
@@ -18,5 +20,5 @@ interface SpxInputAlertI {
|
|
|
18
20
|
severity: SpxSeverityEnum;
|
|
19
21
|
}
|
|
20
22
|
|
|
21
|
-
export { SpxSeverityEnum, calcCheckDigit, unsubscribeSubscriptions, valuePairToValue };
|
|
23
|
+
export { SpxSeverityEnum, calcCheckDigit, getBinaryVersionGroup, unsubscribeSubscriptions, valuePairToValue };
|
|
22
24
|
export type { SpxInputAlertI };
|
|
@@ -61,41 +61,25 @@ declare class SpxHomeTilesComponent {
|
|
|
61
61
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxHomeTilesComponent, "spx-home-tiles", never, { "spxCols": { "alias": "spxCols"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
declare const
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
} & _ngrx_store.Action<"[SPX / Navigation] Add items">) | ({
|
|
84
|
-
navigationItems: SpxNavigationItemI[];
|
|
85
|
-
} & _ngrx_store.Action<"[SPX / Navigation] Initialize">) | ({
|
|
86
|
-
accessList: string[];
|
|
87
|
-
signedIn: boolean;
|
|
88
|
-
} & _ngrx_store.Action<"[SPX / Navigation] Update">);
|
|
89
|
-
type Actions = typeof all;
|
|
90
|
-
|
|
91
|
-
type spxNavigation_actions_d_Actions = Actions;
|
|
92
|
-
declare const spxNavigation_actions_d_addPages: typeof addPages;
|
|
93
|
-
declare const spxNavigation_actions_d_initialize: typeof initialize;
|
|
94
|
-
declare const spxNavigation_actions_d_update: typeof update;
|
|
95
|
-
declare namespace spxNavigation_actions_d {
|
|
96
|
-
export { spxNavigation_actions_d_addPages as addPages, spxNavigation_actions_d_initialize as initialize, spxNavigation_actions_d_update as update };
|
|
97
|
-
export type { spxNavigation_actions_d_Actions as Actions };
|
|
98
|
-
}
|
|
64
|
+
declare const spxNavigationActions: {
|
|
65
|
+
addPages: _ngrx_store.ActionCreator<"[SpxNavigation] AddPages", (props: {
|
|
66
|
+
navigationItems: SpxNavigationItemI[];
|
|
67
|
+
}) => {
|
|
68
|
+
navigationItems: SpxNavigationItemI[];
|
|
69
|
+
} & _ngrx_store.Action<"[SpxNavigation] AddPages">>;
|
|
70
|
+
initialize: _ngrx_store.ActionCreator<"[SpxNavigation] Initialize", (props: {
|
|
71
|
+
navigationItems: SpxNavigationItemI[];
|
|
72
|
+
}) => {
|
|
73
|
+
navigationItems: SpxNavigationItemI[];
|
|
74
|
+
} & _ngrx_store.Action<"[SpxNavigation] Initialize">>;
|
|
75
|
+
update: _ngrx_store.ActionCreator<"[SpxNavigation] Update", (props: {
|
|
76
|
+
accessList: string[];
|
|
77
|
+
signedIn: boolean;
|
|
78
|
+
}) => {
|
|
79
|
+
accessList: string[];
|
|
80
|
+
signedIn: boolean;
|
|
81
|
+
} & _ngrx_store.Action<"[SpxNavigation] Update">>;
|
|
82
|
+
};
|
|
99
83
|
|
|
100
84
|
interface StateI {
|
|
101
85
|
accessList: string[];
|
|
@@ -136,5 +120,5 @@ declare namespace spxNavigation_reducer_d {
|
|
|
136
120
|
};
|
|
137
121
|
}
|
|
138
122
|
|
|
139
|
-
export { SpxHomeTileComponent, SpxHomeTilesComponent, SpxNavigationComponent,
|
|
123
|
+
export { SpxHomeTileComponent, SpxHomeTilesComponent, SpxNavigationComponent, spxNavigationActions, spxNavigation_initial_d as spxNavigationInitial, spxNavigation_reducer_d as spxNavigationReducer, spxNavigation_state_d as spxNavigationState };
|
|
140
124
|
export type { SpxNavigationItemI };
|
|
@@ -8,32 +8,19 @@ declare class SpxSpinnerComponent {
|
|
|
8
8
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxSpinnerComponent, "spx-spinner", never, { "spxShow": { "alias": "spxShow"; "required": false; "isSignal": true; }; "spxLoaderText": { "alias": "spxLoaderText"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
declare const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} & _ngrx_store.Action<"[SPX / Spinner] Hide">) | ({
|
|
25
|
-
action: string;
|
|
26
|
-
} & _ngrx_store.Action<"[SPX / Spinner] Show">);
|
|
27
|
-
type Actions = typeof all;
|
|
28
|
-
|
|
29
|
-
type spxSpinner_actions_d_Actions = Actions;
|
|
30
|
-
declare const spxSpinner_actions_d_hide: typeof hide;
|
|
31
|
-
declare const spxSpinner_actions_d_reset: typeof reset;
|
|
32
|
-
declare const spxSpinner_actions_d_show: typeof show;
|
|
33
|
-
declare namespace spxSpinner_actions_d {
|
|
34
|
-
export { spxSpinner_actions_d_hide as hide, spxSpinner_actions_d_reset as reset, spxSpinner_actions_d_show as show };
|
|
35
|
-
export type { spxSpinner_actions_d_Actions as Actions };
|
|
36
|
-
}
|
|
11
|
+
declare const spxSpinnerActions: {
|
|
12
|
+
hide: _ngrx_store.ActionCreator<"[SpxSpinner] Hide", (props: {
|
|
13
|
+
action: string;
|
|
14
|
+
}) => {
|
|
15
|
+
action: string;
|
|
16
|
+
} & _ngrx_store.Action<"[SpxSpinner] Hide">>;
|
|
17
|
+
reset: _ngrx_store.ActionCreator<"[SpxSpinner] Reset", () => _ngrx_store.Action<"[SpxSpinner] Reset">>;
|
|
18
|
+
show: _ngrx_store.ActionCreator<"[SpxSpinner] Show", (props: {
|
|
19
|
+
action: string;
|
|
20
|
+
}) => {
|
|
21
|
+
action: string;
|
|
22
|
+
} & _ngrx_store.Action<"[SpxSpinner] Show">>;
|
|
23
|
+
};
|
|
37
24
|
|
|
38
25
|
interface StateI {
|
|
39
26
|
loadActions: string[];
|
|
@@ -70,4 +57,4 @@ declare namespace spxSpinner_reducer_d {
|
|
|
70
57
|
};
|
|
71
58
|
}
|
|
72
59
|
|
|
73
|
-
export { SpxSpinnerComponent,
|
|
60
|
+
export { SpxSpinnerComponent, spxSpinnerActions, spxSpinner_initial_d as spxSpinnerInitial, spxSpinner_reducer_d as spxSpinnerReducer, spxSpinner_state_d as spxSpinnerState };
|
|
@@ -6,8 +6,8 @@ declare class SpxSuggestionComponent {
|
|
|
6
6
|
spxFocused: _angular_core.InputSignal<boolean | undefined>;
|
|
7
7
|
spxSelected: _angular_core.InputSignal<boolean | undefined>;
|
|
8
8
|
spxTabbable: _angular_core.InputSignal<boolean | undefined>;
|
|
9
|
-
private isPressing;
|
|
10
9
|
suggestionRef: _angular_core.Signal<ElementRef<HTMLButtonElement> | undefined>;
|
|
10
|
+
private spxHaptics;
|
|
11
11
|
handlePress: () => Promise<void>;
|
|
12
12
|
onDocumentPointerUp: (event: PointerEvent) => Promise<void>;
|
|
13
13
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxSuggestionComponent, never>;
|
|
@@ -20,22 +20,13 @@ declare class SpxTabsComponent implements OnInit {
|
|
|
20
20
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxTabsComponent, "spx-tabs", never, { "optionalNavItemBool": { "alias": "optionalNavItemBool"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
declare const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} & _ngrx_store.Action<"[SPX / Shortcuts] CTRL">;
|
|
31
|
-
type Actions = typeof all;
|
|
32
|
-
|
|
33
|
-
type spxShortcuts_actions_d_Actions = Actions;
|
|
34
|
-
declare const spxShortcuts_actions_d_ctrl: typeof ctrl;
|
|
35
|
-
declare namespace spxShortcuts_actions_d {
|
|
36
|
-
export { spxShortcuts_actions_d_ctrl as ctrl };
|
|
37
|
-
export type { spxShortcuts_actions_d_Actions as Actions };
|
|
38
|
-
}
|
|
23
|
+
declare const spxShortcutsActions: {
|
|
24
|
+
ctrl: _ngrx_store.ActionCreator<"[SpxShortcuts] Ctrl", (props: {
|
|
25
|
+
keyIsDown: boolean;
|
|
26
|
+
}) => {
|
|
27
|
+
keyIsDown: boolean;
|
|
28
|
+
} & _ngrx_store.Action<"[SpxShortcuts] Ctrl">>;
|
|
29
|
+
};
|
|
39
30
|
|
|
40
31
|
interface StateI {
|
|
41
32
|
ctrlIsDown: boolean;
|
|
@@ -55,4 +46,4 @@ declare namespace spxShortcuts_reducer_d {
|
|
|
55
46
|
export type { spxShortcuts_reducer_d_StateI as StateI };
|
|
56
47
|
}
|
|
57
48
|
|
|
58
|
-
export { SpxTabsComponent,
|
|
49
|
+
export { SpxTabsComponent, spxShortcuts_reducer_d as spxShortCutsReducer, spxShortcutsActions };
|
|
@@ -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,27 @@ 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 spxTextLiveUpdateChannelSetFailedWithReason = "spxTextLiveUpdateChannelSetFailedWithReason";
|
|
31
|
+
declare const spxTextLiveUpdateCheckFailed = "spxTextLiveUpdateCheckFailed";
|
|
32
|
+
declare const spxTextLiveUpdateCheckFailedWithReason = "spxTextLiveUpdateCheckFailedWithReason";
|
|
33
|
+
declare const spxTextUpdateErrorReason = "spxTextUpdateErrorReason";
|
|
34
|
+
declare const spxTextUpdateAppVersion = "spxTextUpdateAppVersion";
|
|
35
|
+
declare const spxTextUpdateBinaryVersionGroup = "spxTextUpdateBinaryVersionGroup";
|
|
36
|
+
declare const spxTextUpdateBuildVersion = "spxTextUpdateBuildVersion";
|
|
37
|
+
declare const spxTextUpdateLastCheck = "spxTextUpdateLastCheck";
|
|
38
|
+
declare const spxTextUpdateLiveBundle = "spxTextUpdateLiveBundle";
|
|
39
|
+
declare const spxTextUpdateLiveChannel = "spxTextUpdateLiveChannel";
|
|
40
|
+
declare const spxTextUpdateStatus = "spxTextUpdateStatus";
|
|
41
|
+
declare const spxTextUpdateStatusCompleted = "spxTextUpdateStatusCompleted";
|
|
42
|
+
declare const spxTextUpdateStatusFailed = "spxTextUpdateStatusFailed";
|
|
43
|
+
declare const spxTextUpdateStatusPreparing = "spxTextUpdateStatusPreparing";
|
|
44
|
+
declare const spxTextUpdateStatusReloading = "spxTextUpdateStatusReloading";
|
|
45
|
+
declare const spxTextUpdateStatusSyncing = "spxTextUpdateStatusSyncing";
|
|
46
|
+
declare const spxTextUpdateStatusUpdateReady = "spxTextUpdateStatusUpdateReady";
|
|
47
|
+
declare const spxTextUpdateStatusUpToDate = "spxTextUpdateStatusUpToDate";
|
|
48
|
+
declare const spxTextUpdateStatusWebNotAvailable = "spxTextUpdateStatusWebNotAvailable";
|
|
49
|
+
declare const spxTextUpdateVersionInfo = "spxTextUpdateVersionInfo";
|
|
29
50
|
interface SpxTranslateI {
|
|
30
51
|
[spxTextChange]: string;
|
|
31
52
|
[spxTextCheckingForUpdates]: string;
|
|
@@ -56,11 +77,32 @@ interface SpxTranslateI {
|
|
|
56
77
|
[spxTextDateMayNotBeFuture]: string;
|
|
57
78
|
[spxTextDateMayNotBePast]: string;
|
|
58
79
|
[spxTextInvalidCode]: string;
|
|
80
|
+
[spxTextLiveUpdateChannelSetFailed]: string;
|
|
81
|
+
[spxTextLiveUpdateChannelSetFailedWithReason]: string;
|
|
82
|
+
[spxTextLiveUpdateCheckFailed]: string;
|
|
83
|
+
[spxTextLiveUpdateCheckFailedWithReason]: string;
|
|
84
|
+
[spxTextUpdateErrorReason]: string;
|
|
85
|
+
[spxTextUpdateAppVersion]: string;
|
|
86
|
+
[spxTextUpdateBinaryVersionGroup]: string;
|
|
87
|
+
[spxTextUpdateBuildVersion]: string;
|
|
88
|
+
[spxTextUpdateLastCheck]: string;
|
|
89
|
+
[spxTextUpdateLiveBundle]: string;
|
|
90
|
+
[spxTextUpdateLiveChannel]: string;
|
|
91
|
+
[spxTextUpdateStatus]: string;
|
|
92
|
+
[spxTextUpdateStatusCompleted]: string;
|
|
93
|
+
[spxTextUpdateStatusFailed]: string;
|
|
94
|
+
[spxTextUpdateStatusPreparing]: string;
|
|
95
|
+
[spxTextUpdateStatusReloading]: string;
|
|
96
|
+
[spxTextUpdateStatusSyncing]: string;
|
|
97
|
+
[spxTextUpdateStatusUpdateReady]: string;
|
|
98
|
+
[spxTextUpdateStatusUpToDate]: string;
|
|
99
|
+
[spxTextUpdateStatusWebNotAvailable]: string;
|
|
100
|
+
[spxTextUpdateVersionInfo]: string;
|
|
59
101
|
}
|
|
60
102
|
|
|
61
103
|
declare const SpxTranslateEn: SpxTranslateI;
|
|
62
104
|
|
|
63
105
|
declare const SpxTranslateNl: SpxTranslateI;
|
|
64
106
|
|
|
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 };
|
|
107
|
+
export { SpxTranslateEn, SpxTranslateNl, spxText404PageNotFound, spxTextChange, spxTextChannel, spxTextCheckingForUpdates, spxTextChooseFuture, spxTextChoosePast, spxTextChooseValidMonth, spxTextCompany, spxTextDateMayNotBeFuture, spxTextDateMayNotBePast, spxTextGoHome, spxTextInvalidCode, spxTextLiveUpdateChannelSetFailed, spxTextLiveUpdateChannelSetFailedWithReason, spxTextLiveUpdateCheckFailed, spxTextLiveUpdateCheckFailedWithReason, spxTextOneMomentPlease, spxTextOpenAppStore, spxTextPageNotFound, spxTextPageNotFoundDescription, spxTextPatchAvailable, spxTextPatternNotValid, spxTextReadyToBeInstalled, spxTextRequired, spxTextSelect, spxTextSelectYourCompany, spxTextTooHigh, spxTextTooLong, spxTextTooLow, spxTextTooShort, spxTextUpdate, spxTextUpdateAppVersion, spxTextUpdateAvailable, spxTextUpdateBinaryVersionGroup, spxTextUpdateBuildVersion, spxTextUpdateErrorReason, spxTextUpdateLastCheck, spxTextUpdateLiveBundle, spxTextUpdateLiveChannel, spxTextUpdateStatus, spxTextUpdateStatusCompleted, spxTextUpdateStatusFailed, spxTextUpdateStatusPreparing, spxTextUpdateStatusReloading, spxTextUpdateStatusSyncing, spxTextUpdateStatusUpToDate, spxTextUpdateStatusUpdateReady, spxTextUpdateStatusWebNotAvailable, spxTextUpdateVersionInfo };
|
|
66
108
|
export type { SpxTranslateI };
|
|
@@ -1,35 +1,82 @@
|
|
|
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';
|
|
9
|
-
import
|
|
10
|
+
import * as _ngrx_effects from '@ngrx/effects';
|
|
11
|
+
|
|
12
|
+
declare enum SpxUpdateCheckStatusEnum {
|
|
13
|
+
failed = "failed",
|
|
14
|
+
idle = "idle",
|
|
15
|
+
notAvailableOnWeb = "notAvailableOnWeb",
|
|
16
|
+
preparing = "preparing",
|
|
17
|
+
reloading = "reloading",
|
|
18
|
+
syncing = "syncing",
|
|
19
|
+
upToDate = "upToDate",
|
|
20
|
+
updateReady = "updateReady"
|
|
21
|
+
}
|
|
22
|
+
interface StateI$1 {
|
|
23
|
+
forceWaitForUpdate: boolean;
|
|
24
|
+
lastErrorReason: string | null;
|
|
25
|
+
lastCheck: string | null;
|
|
26
|
+
showError: boolean;
|
|
27
|
+
status: SpxUpdateCheckStatusEnum;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
type spxUpdateCheck_state_d_SpxUpdateCheckStatusEnum = SpxUpdateCheckStatusEnum;
|
|
31
|
+
declare const spxUpdateCheck_state_d_SpxUpdateCheckStatusEnum: typeof SpxUpdateCheckStatusEnum;
|
|
32
|
+
declare namespace spxUpdateCheck_state_d {
|
|
33
|
+
export { spxUpdateCheck_state_d_SpxUpdateCheckStatusEnum as SpxUpdateCheckStatusEnum };
|
|
34
|
+
export type { StateI$1 as StateI };
|
|
35
|
+
}
|
|
10
36
|
|
|
11
37
|
declare class SpxUpdatePageComponent {
|
|
12
38
|
private readonly appStore;
|
|
13
39
|
private readonly activatedRoute;
|
|
14
40
|
private readonly navController;
|
|
41
|
+
appVersion: _angular_core.WritableSignal<string>;
|
|
42
|
+
binaryVersionGroup: _angular_core.WritableSignal<string>;
|
|
43
|
+
buildVersion: _angular_core.WritableSignal<string>;
|
|
44
|
+
lastCheck: _angular_core.Signal<string | null>;
|
|
45
|
+
lastErrorReason: _angular_core.Signal<string | null>;
|
|
46
|
+
forceWaitForUpdate: _angular_core.Signal<boolean>;
|
|
47
|
+
hasStarted: _angular_core.WritableSignal<boolean>;
|
|
48
|
+
liveBundle: _angular_core.WritableSignal<string>;
|
|
49
|
+
liveUpdateChannel: _angular_core.WritableSignal<string>;
|
|
50
|
+
status: _angular_core.Signal<SpxUpdateCheckStatusEnum>;
|
|
15
51
|
spxTextCheckingForUpdates: string;
|
|
16
52
|
spxTextOneMomentPlease: string;
|
|
17
|
-
|
|
53
|
+
spxTextUpdateErrorReason: string;
|
|
54
|
+
spxTextUpdateAppVersion: string;
|
|
55
|
+
spxTextUpdateBinaryVersionGroup: string;
|
|
56
|
+
spxTextUpdateBuildVersion: string;
|
|
57
|
+
spxTextUpdateLastCheck: string;
|
|
58
|
+
spxTextUpdateLiveBundle: string;
|
|
59
|
+
spxTextUpdateLiveChannel: string;
|
|
60
|
+
spxTextUpdateStatus: string;
|
|
61
|
+
spxTextUpdateVersionInfo: string;
|
|
62
|
+
statusText: _angular_core.Signal<"spxTextUpdateStatusPreparing" | "spxTextUpdateStatusSyncing" | "spxTextUpdateStatusReloading" | "spxTextUpdateStatusUpToDate" | "spxTextUpdateStatusUpdateReady" | "spxTextUpdateStatusFailed" | "spxTextUpdateStatusWebNotAvailable" | "spxTextUpdateStatusCompleted">;
|
|
63
|
+
showError: _angular_core.Signal<boolean>;
|
|
18
64
|
ngOnInit(): void;
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
65
|
constructor(appStore: Store, activatedRoute: ActivatedRoute, navController: NavController);
|
|
21
|
-
|
|
22
|
-
|
|
66
|
+
private loadVersionInfo;
|
|
67
|
+
private refreshStorageVersionInfo;
|
|
68
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxUpdatePageComponent, never>;
|
|
69
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxUpdatePageComponent, "spx-update-page", never, {}, {}, never, never, true, never>;
|
|
23
70
|
}
|
|
24
71
|
|
|
25
72
|
declare class SpxUpdatePendingComponent {
|
|
26
73
|
private readonly appStore;
|
|
27
74
|
private sanitizer;
|
|
28
75
|
baseStyle?: SafeStyle;
|
|
29
|
-
availableStoreVersion:
|
|
30
|
-
currentStoreVersion:
|
|
76
|
+
availableStoreVersion: _angular_core.WritableSignal<string | undefined>;
|
|
77
|
+
currentStoreVersion: _angular_core.WritableSignal<string | undefined>;
|
|
31
78
|
severitySuccess: SpxSeverityEnum;
|
|
32
|
-
showLiveUpdateReady:
|
|
79
|
+
showLiveUpdateReady: _angular_core.WritableSignal<boolean>;
|
|
33
80
|
spxTextUpdate: string;
|
|
34
81
|
spxTextReadyToBeInstalled: string;
|
|
35
82
|
spxTextPatchAvailable: string;
|
|
@@ -40,43 +87,51 @@ declare class SpxUpdatePendingComponent {
|
|
|
40
87
|
ngOnDestroy(): void;
|
|
41
88
|
constructor(appStore: Store, sanitizer: DomSanitizer);
|
|
42
89
|
onUpdate(): void;
|
|
43
|
-
static ɵfac:
|
|
44
|
-
static ɵcmp:
|
|
90
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxUpdatePendingComponent, never>;
|
|
91
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxUpdatePendingComponent, "spx-update-pending", never, {}, {}, never, never, true, never>;
|
|
45
92
|
}
|
|
46
93
|
|
|
47
94
|
declare const spxUpdateUrl = "";
|
|
48
95
|
|
|
49
|
-
declare const
|
|
50
|
-
anUpdateIsReady: _ngrx_store.ActionCreator<"[SpxUpdateCheck]
|
|
51
|
-
|
|
52
|
-
|
|
96
|
+
declare const spxUpdateCheckActions: {
|
|
97
|
+
anUpdateIsReady: _ngrx_store.ActionCreator<"[SpxUpdateCheck] anUpdateIsReady", () => _ngrx_store.Action<"[SpxUpdateCheck] anUpdateIsReady">>;
|
|
98
|
+
checkFailed: _ngrx_store.ActionCreator<"[SpxUpdateCheck] checkFailed", (props: {
|
|
99
|
+
errorReason?: string;
|
|
53
100
|
startUpdateAgainAfterTimeout?: boolean;
|
|
54
101
|
}) => {
|
|
102
|
+
errorReason?: string;
|
|
55
103
|
startUpdateAgainAfterTimeout?: boolean;
|
|
56
|
-
} & _ngrx_store.Action<"[SpxUpdateCheck]
|
|
57
|
-
|
|
58
|
-
|
|
104
|
+
} & _ngrx_store.Action<"[SpxUpdateCheck] checkFailed">>;
|
|
105
|
+
clearError: _ngrx_store.ActionCreator<"[SpxUpdateCheck] clearError", () => _ngrx_store.Action<"[SpxUpdateCheck] clearError">>;
|
|
106
|
+
initialize: _ngrx_store.ActionCreator<"[SpxUpdateCheck] initialize", () => _ngrx_store.Action<"[SpxUpdateCheck] initialize">>;
|
|
107
|
+
noUpdateWasFound: _ngrx_store.ActionCreator<"[SpxUpdateCheck] noUpdateWasFound", (props: {
|
|
59
108
|
startUpdateAgainAfterTimeout?: boolean;
|
|
60
109
|
}) => {
|
|
61
110
|
startUpdateAgainAfterTimeout?: boolean;
|
|
62
|
-
} & _ngrx_store.Action<"[SpxUpdateCheck]
|
|
63
|
-
notAvailableOnWeb: _ngrx_store.ActionCreator<"[SpxUpdateCheck]
|
|
64
|
-
|
|
111
|
+
} & _ngrx_store.Action<"[SpxUpdateCheck] noUpdateWasFound">>;
|
|
112
|
+
notAvailableOnWeb: _ngrx_store.ActionCreator<"[SpxUpdateCheck] notAvailableOnWeb", () => _ngrx_store.Action<"[SpxUpdateCheck] notAvailableOnWeb">>;
|
|
113
|
+
reloadStarted: _ngrx_store.ActionCreator<"[SpxUpdateCheck] reloadStarted", () => _ngrx_store.Action<"[SpxUpdateCheck] reloadStarted">>;
|
|
114
|
+
runCheck: _ngrx_store.ActionCreator<"[SpxUpdateCheck] runCheck", (props: {
|
|
65
115
|
forceWaitForUpdate?: boolean;
|
|
66
116
|
}) => {
|
|
67
117
|
forceWaitForUpdate?: boolean;
|
|
68
|
-
} & _ngrx_store.Action<"[SpxUpdateCheck]
|
|
118
|
+
} & _ngrx_store.Action<"[SpxUpdateCheck] runCheck">>;
|
|
119
|
+
syncStarted: _ngrx_store.ActionCreator<"[SpxUpdateCheck] syncStarted", () => _ngrx_store.Action<"[SpxUpdateCheck] syncStarted">>;
|
|
69
120
|
};
|
|
70
121
|
|
|
71
122
|
declare class Effects$1 {
|
|
72
123
|
private readonly actions$;
|
|
124
|
+
private readonly translateService;
|
|
73
125
|
afterInitialize$: Observable<any>;
|
|
74
126
|
onRun$: Observable<any>;
|
|
75
127
|
whenAndUpdateIsReady$: Observable<any>;
|
|
76
128
|
whenCheckHasFailed$: Observable<any>;
|
|
129
|
+
whenCheckHasFailedShowError$: Observable<any>;
|
|
77
130
|
whenNoUpdateWasFound$: Observable<any>;
|
|
78
|
-
|
|
79
|
-
|
|
131
|
+
private getReadableErrorReason;
|
|
132
|
+
private isSyncAlreadyInProgress;
|
|
133
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Effects$1, never>;
|
|
134
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<Effects$1>;
|
|
80
135
|
}
|
|
81
136
|
|
|
82
137
|
declare namespace spxUpdateCheck_effects_d {
|
|
@@ -85,16 +140,6 @@ declare namespace spxUpdateCheck_effects_d {
|
|
|
85
140
|
};
|
|
86
141
|
}
|
|
87
142
|
|
|
88
|
-
interface StateI$1 {
|
|
89
|
-
forceWaitForUpdate: boolean;
|
|
90
|
-
lastCheck: string | null;
|
|
91
|
-
showError: boolean;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
declare namespace spxUpdateCheck_state_d {
|
|
95
|
-
export type { StateI$1 as StateI };
|
|
96
|
-
}
|
|
97
|
-
|
|
98
143
|
declare const initialState$1: StateI$1;
|
|
99
144
|
|
|
100
145
|
declare namespace spxUpdateCheck_initial_d {
|
|
@@ -108,8 +153,10 @@ declare const _default$1: {
|
|
|
108
153
|
reducer: _ngrx_store.ActionReducer<StateI$1, _ngrx_store.Action<string>>;
|
|
109
154
|
selectSpxUpdateCheckState: _ngrx_store.MemoizedSelector<Record<string, any>, StateI$1, (featureState: StateI$1) => StateI$1>;
|
|
110
155
|
selectForceWaitForUpdate: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: StateI$1) => boolean>;
|
|
156
|
+
selectLastErrorReason: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: StateI$1) => string | null>;
|
|
111
157
|
selectLastCheck: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: StateI$1) => string | null>;
|
|
112
158
|
selectShowError: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: StateI$1) => boolean>;
|
|
159
|
+
selectStatus: _ngrx_store.MemoizedSelector<Record<string, any>, SpxUpdateCheckStatusEnum, (featureState: StateI$1) => SpxUpdateCheckStatusEnum>;
|
|
113
160
|
};
|
|
114
161
|
|
|
115
162
|
declare namespace spxUpdateCheck_reducer_d {
|
|
@@ -128,10 +175,12 @@ declare const SpxUpdatePendingActions: {
|
|
|
128
175
|
|
|
129
176
|
declare class Effects {
|
|
130
177
|
private readonly actions$;
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
178
|
+
private readonly appStore;
|
|
179
|
+
private readonly translateService;
|
|
180
|
+
whenAccepted$: rxjs.Observable<_ngrx_store.Action<"[SpxUpdatePending] AcceptUpdate">> & _ngrx_effects.CreateEffectMetadata;
|
|
181
|
+
private getReadableErrorReason;
|
|
182
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Effects, never>;
|
|
183
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<Effects>;
|
|
135
184
|
}
|
|
136
185
|
|
|
137
186
|
type spxUpdatePending_effects_d_Effects = Effects;
|
|
@@ -175,4 +224,4 @@ declare namespace spxUpdatePending_reducer_d {
|
|
|
175
224
|
};
|
|
176
225
|
}
|
|
177
226
|
|
|
178
|
-
export {
|
|
227
|
+
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 };
|