@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.
Files changed (45) hide show
  1. package/fesm2022/softpak-components-spx-app-expiry.mjs +5 -5
  2. package/fesm2022/softpak-components-spx-app-expiry.mjs.map +1 -1
  3. package/fesm2022/softpak-components-spx-button.mjs +6 -38
  4. package/fesm2022/softpak-components-spx-button.mjs.map +1 -1
  5. package/fesm2022/softpak-components-spx-channel-selection.mjs +95 -16
  6. package/fesm2022/softpak-components-spx-channel-selection.mjs.map +1 -1
  7. package/fesm2022/softpak-components-spx-confirm.mjs +17 -25
  8. package/fesm2022/softpak-components-spx-confirm.mjs.map +1 -1
  9. package/fesm2022/softpak-components-spx-haptics.mjs +54 -0
  10. package/fesm2022/softpak-components-spx-haptics.mjs.map +1 -0
  11. package/fesm2022/softpak-components-spx-helpers.mjs +9 -1
  12. package/fesm2022/softpak-components-spx-helpers.mjs.map +1 -1
  13. package/fesm2022/softpak-components-spx-navigation.mjs +14 -21
  14. package/fesm2022/softpak-components-spx-navigation.mjs.map +1 -1
  15. package/fesm2022/softpak-components-spx-spinner.mjs +12 -18
  16. package/fesm2022/softpak-components-spx-spinner.mjs.map +1 -1
  17. package/fesm2022/softpak-components-spx-storage.mjs +1 -0
  18. package/fesm2022/softpak-components-spx-storage.mjs.map +1 -1
  19. package/fesm2022/softpak-components-spx-suggestion.mjs +9 -23
  20. package/fesm2022/softpak-components-spx-suggestion.mjs.map +1 -1
  21. package/fesm2022/softpak-components-spx-tabs.mjs +8 -11
  22. package/fesm2022/softpak-components-spx-tabs.mjs.map +1 -1
  23. package/fesm2022/softpak-components-spx-toaster.mjs +22 -39
  24. package/fesm2022/softpak-components-spx-toaster.mjs.map +1 -1
  25. package/fesm2022/softpak-components-spx-translate.mjs +65 -2
  26. package/fesm2022/softpak-components-spx-translate.mjs.map +1 -1
  27. package/fesm2022/softpak-components-spx-update.mjs +282 -84
  28. package/fesm2022/softpak-components-spx-update.mjs.map +1 -1
  29. package/fesm2022/softpak-components-spx-welcome.mjs +2 -2
  30. package/fesm2022/softpak-components-spx-welcome.mjs.map +1 -1
  31. package/package.json +5 -1
  32. package/tailwind.css +1 -1
  33. package/types/softpak-components-spx-button.d.ts +1 -4
  34. package/types/softpak-components-spx-channel-selection.d.ts +39 -7
  35. package/types/softpak-components-spx-confirm.d.ts +21 -33
  36. package/types/softpak-components-spx-haptics.d.ts +13 -0
  37. package/types/softpak-components-spx-helpers.d.ts +3 -1
  38. package/types/softpak-components-spx-navigation.d.ts +20 -36
  39. package/types/softpak-components-spx-spinner.d.ts +14 -27
  40. package/types/softpak-components-spx-storage.d.ts +2 -1
  41. package/types/softpak-components-spx-suggestion.d.ts +1 -1
  42. package/types/softpak-components-spx-tabs.d.ts +8 -17
  43. package/types/softpak-components-spx-toaster.d.ts +55 -91
  44. package/types/softpak-components-spx-translate.d.ts +43 -1
  45. 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 addPages: _ngrx_store.ActionCreator<"[SPX / Navigation] Add items", (props: {
65
- navigationItems: SpxNavigationItemI[];
66
- }) => {
67
- navigationItems: SpxNavigationItemI[];
68
- } & _ngrx_store.Action<"[SPX / Navigation] Add items">>;
69
- declare const initialize: _ngrx_store.ActionCreator<"[SPX / Navigation] Initialize", (props: {
70
- navigationItems: SpxNavigationItemI[];
71
- }) => {
72
- navigationItems: SpxNavigationItemI[];
73
- } & _ngrx_store.Action<"[SPX / Navigation] Initialize">>;
74
- declare const update: _ngrx_store.ActionCreator<"[SPX / Navigation] Update", (props: {
75
- accessList: string[];
76
- signedIn: boolean;
77
- }) => {
78
- accessList: string[];
79
- signedIn: boolean;
80
- } & _ngrx_store.Action<"[SPX / Navigation] Update">>;
81
- declare const all: ({
82
- navigationItems: SpxNavigationItemI[];
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, spxNavigation_actions_d as spxNavigationActions, spxNavigation_initial_d as spxNavigationInitial, spxNavigation_reducer_d as spxNavigationReducer, spxNavigation_state_d as spxNavigationState };
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 hide: _ngrx_store.ActionCreator<"[SPX / Spinner] Hide", (props: {
12
- action: string;
13
- }) => {
14
- action: string;
15
- } & _ngrx_store.Action<"[SPX / Spinner] Hide">>;
16
- declare const reset: _ngrx_store.ActionCreator<"[SPX / Spinner] Reset", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Spinner] Reset">>;
17
- declare const show: _ngrx_store.ActionCreator<"[SPX / Spinner] Show", (props: {
18
- action: string;
19
- }) => {
20
- action: string;
21
- } & _ngrx_store.Action<"[SPX / Spinner] Show">>;
22
- declare const all: ({
23
- action: string;
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, spxSpinner_actions_d as spxSpinnerActions, spxSpinner_initial_d as spxSpinnerInitial, spxSpinner_reducer_d as spxSpinnerReducer, spxSpinner_state_d as spxSpinnerState };
60
+ export { SpxSpinnerComponent, spxSpinnerActions, spxSpinner_initial_d as spxSpinnerInitial, spxSpinner_reducer_d as spxSpinnerReducer, spxSpinner_state_d as spxSpinnerState };
@@ -15,7 +15,8 @@ declare enum SpxStorageKeyEnum {
15
15
  randomDeviceId = "randomDeviceId",
16
16
  release = "release",
17
17
  patch = "patch",
18
- username = "username"
18
+ username = "username",
19
+ noHaptics = "noHaptics"
19
20
  }
20
21
 
21
22
  declare class SpxStorage {
@@ -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 ctrl: _ngrx_store.ActionCreator<"[SPX / Shortcuts] CTRL", (props: {
24
- keyIsDown: boolean;
25
- }) => {
26
- keyIsDown: boolean;
27
- } & _ngrx_store.Action<"[SPX / Shortcuts] CTRL">>;
28
- declare const all: {
29
- keyIsDown: boolean;
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, spxShortcuts_actions_d as spxShortCutsActions, spxShortcuts_reducer_d as spxShortCutsReducer };
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 clearAll: _ngrx_store.ActionCreator<"[SPX / Toaster] Clear all", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Toaster] Clear all">>;
41
- declare const clearAllErrors: _ngrx_store.ActionCreator<"[SPX / Toaster] Clear all errors", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Toaster] Clear all errors">>;
42
- declare const clearAllErrorsAndWarnings: _ngrx_store.ActionCreator<"[SPX / Toaster] Clear all errors and warnings", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Toaster] Clear all errors and warnings">>;
43
- declare const clearMessage: _ngrx_store.ActionCreator<"[SPX / Toaster] Clear message", (props: {
44
- id: number;
45
- }) => {
46
- id: number;
47
- } & _ngrx_store.Action<"[SPX / Toaster] Clear message">>;
48
- declare const createError: _ngrx_store.ActionCreator<"[SPX / Toaster] Create error", (props: {
49
- autoClose?: number | SpxToasterAutoCloseSpeedEnum;
50
- closeable?: boolean;
51
- messageText: string;
52
- title?: string;
53
- }) => {
54
- autoClose?: number | SpxToasterAutoCloseSpeedEnum;
55
- closeable?: boolean;
56
- messageText: string;
57
- title?: string;
58
- } & _ngrx_store.Action<"[SPX / Toaster] Create error">>;
59
- declare const createInfo: _ngrx_store.ActionCreator<"[SPX / Toaster] Create info", (props: {
60
- autoClose?: number | SpxToasterAutoCloseSpeedEnum;
61
- closeable?: boolean;
62
- messageText: string;
63
- title?: string;
64
- }) => {
65
- autoClose?: number | SpxToasterAutoCloseSpeedEnum;
66
- closeable?: boolean;
67
- messageText: string;
68
- title?: string;
69
- } & _ngrx_store.Action<"[SPX / Toaster] Create info">>;
70
- declare const createSuccess: _ngrx_store.ActionCreator<"[SPX / Toaster] Create success", (props: {
71
- autoClose?: number | SpxToasterAutoCloseSpeedEnum;
72
- closeable?: boolean;
73
- messageText: string;
74
- title?: string;
75
- }) => {
76
- autoClose?: number | SpxToasterAutoCloseSpeedEnum;
77
- closeable?: boolean;
78
- messageText: string;
79
- title?: string;
80
- } & _ngrx_store.Action<"[SPX / Toaster] Create success">>;
81
- declare const createWarning: _ngrx_store.ActionCreator<"[SPX / Toaster] Create warning", (props: {
82
- autoClose?: number | SpxToasterAutoCloseSpeedEnum;
83
- closeable?: boolean;
84
- messageText: string;
85
- title?: string;
86
- }) => {
87
- autoClose?: number | SpxToasterAutoCloseSpeedEnum;
88
- closeable?: boolean;
89
- messageText: string;
90
- title?: string;
91
- } & _ngrx_store.Action<"[SPX / Toaster] Create warning">>;
92
- declare const all: (Record<string, unknown> & _ngrx_store.Action<"[SPX / Toaster] Clear all">) | (Record<string, unknown> & _ngrx_store.Action<"[SPX / Toaster] Clear all errors">) | (Record<string, unknown> & _ngrx_store.Action<"[SPX / Toaster] Clear all errors and warnings">) | ({
93
- id: number;
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, spxToaster_actions_d as spxToasterActions, spxToaster_initial_d as spxToasterInitial, spxToaster_reducer_d as spxToasterReducer, spxToaster_state_d as spxToasterState, toasterAutocloseSpeed };
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 { Actions } from '@ngrx/effects';
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
- private subscriptions;
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
- static ɵfac: i0.ɵɵFactoryDeclaration<SpxUpdatePageComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<SpxUpdatePageComponent, "spx-update-page", never, {}, {}, never, never, true, never>;
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: i0.WritableSignal<string | undefined>;
30
- currentStoreVersion: i0.WritableSignal<string | undefined>;
76
+ availableStoreVersion: _angular_core.WritableSignal<string | undefined>;
77
+ currentStoreVersion: _angular_core.WritableSignal<string | undefined>;
31
78
  severitySuccess: SpxSeverityEnum;
32
- showLiveUpdateReady: i0.WritableSignal<boolean>;
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: i0.ɵɵFactoryDeclaration<SpxUpdatePendingComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<SpxUpdatePendingComponent, "spx-update-pending", never, {}, {}, never, never, true, never>;
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 SpxUpdateCheckActions: {
50
- anUpdateIsReady: _ngrx_store.ActionCreator<"[SpxUpdateCheck] AnUpdateIsReady", () => _ngrx_store.Action<"[SpxUpdateCheck] AnUpdateIsReady">>;
51
- clearError: _ngrx_store.ActionCreator<"[SpxUpdateCheck] ClearError", () => _ngrx_store.Action<"[SpxUpdateCheck] ClearError">>;
52
- checkFailed: _ngrx_store.ActionCreator<"[SpxUpdateCheck] CheckFailed", (props: {
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] CheckFailed">>;
57
- initialaize: _ngrx_store.ActionCreator<"[SpxUpdateCheck] Initialaize", () => _ngrx_store.Action<"[SpxUpdateCheck] Initialaize">>;
58
- noUpdateWasFound: _ngrx_store.ActionCreator<"[SpxUpdateCheck] NoUpdateWasFound", (props: {
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] NoUpdateWasFound">>;
63
- notAvailableOnWeb: _ngrx_store.ActionCreator<"[SpxUpdateCheck] NotAvailableOnWeb", () => _ngrx_store.Action<"[SpxUpdateCheck] NotAvailableOnWeb">>;
64
- runCheck: _ngrx_store.ActionCreator<"[SpxUpdateCheck] RunCheck", (props: {
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] RunCheck">>;
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
- static ɵfac: i0.ɵɵFactoryDeclaration<Effects$1, never>;
79
- static ɵprov: i0.ɵɵInjectableDeclaration<Effects$1>;
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
- constructor(actions$: Actions);
132
- whenAccepted$: Observable<any>;
133
- static ɵfac: i0.ɵɵFactoryDeclaration<Effects, never>;
134
- static ɵprov: i0.ɵɵInjectableDeclaration<Effects>;
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 { SpxUpdateCheckActions, SpxUpdatePageComponent, SpxUpdatePendingActions, SpxUpdatePendingComponent, 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 };
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 };