@softpak/components 21.1.0-beta.6 → 21.2.0-capwesome.10

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 (54) hide show
  1. package/fesm2022/softpak-components-spx-404-page.mjs +3 -3
  2. package/fesm2022/softpak-components-spx-alert.mjs +5 -6
  3. package/fesm2022/softpak-components-spx-alert.mjs.map +1 -1
  4. package/fesm2022/softpak-components-spx-app-expiry.mjs +3 -3
  5. package/fesm2022/softpak-components-spx-button.mjs +3 -3
  6. package/fesm2022/softpak-components-spx-capitalize.mjs +3 -3
  7. package/fesm2022/softpak-components-spx-card.mjs +12 -12
  8. package/fesm2022/softpak-components-spx-change-details.mjs +3 -3
  9. package/fesm2022/softpak-components-spx-channel-selection.mjs +70 -39
  10. package/fesm2022/softpak-components-spx-channel-selection.mjs.map +1 -1
  11. package/fesm2022/softpak-components-spx-check-digit.mjs +3 -3
  12. package/fesm2022/softpak-components-spx-confirm.mjs +9 -9
  13. package/fesm2022/softpak-components-spx-form-section.mjs +3 -3
  14. package/fesm2022/softpak-components-spx-form-view.mjs +6 -6
  15. package/fesm2022/softpak-components-spx-helpers.mjs +9 -1
  16. package/fesm2022/softpak-components-spx-helpers.mjs.map +1 -1
  17. package/fesm2022/softpak-components-spx-inputs.mjs +36 -36
  18. package/fesm2022/softpak-components-spx-navigation.mjs +13 -31
  19. package/fesm2022/softpak-components-spx-navigation.mjs.map +1 -1
  20. package/fesm2022/softpak-components-spx-number-check.mjs +3 -3
  21. package/fesm2022/softpak-components-spx-pagination.mjs +3 -3
  22. package/fesm2022/softpak-components-spx-patch.mjs +3 -3
  23. package/fesm2022/softpak-components-spx-patch.mjs.map +1 -1
  24. package/fesm2022/softpak-components-spx-pipes.mjs +3 -3
  25. package/fesm2022/softpak-components-spx-progress-bar.mjs +3 -3
  26. package/fesm2022/softpak-components-spx-spinner.mjs +3 -3
  27. package/fesm2022/softpak-components-spx-stock-info.mjs +3 -3
  28. package/fesm2022/softpak-components-spx-stock-info.mjs.map +1 -1
  29. package/fesm2022/softpak-components-spx-storage.mjs +1 -0
  30. package/fesm2022/softpak-components-spx-storage.mjs.map +1 -1
  31. package/fesm2022/softpak-components-spx-suggestion.mjs +3 -3
  32. package/fesm2022/softpak-components-spx-tabs.mjs +3 -3
  33. package/fesm2022/softpak-components-spx-toaster.mjs +6 -8
  34. package/fesm2022/softpak-components-spx-toaster.mjs.map +1 -1
  35. package/fesm2022/softpak-components-spx-toggle.mjs +3 -3
  36. package/fesm2022/softpak-components-spx-translate.mjs +41 -2
  37. package/fesm2022/softpak-components-spx-translate.mjs.map +1 -1
  38. package/fesm2022/softpak-components-spx-update.mjs +135 -120
  39. package/fesm2022/softpak-components-spx-update.mjs.map +1 -1
  40. package/fesm2022/softpak-components-spx-validation-messages.mjs +3 -3
  41. package/fesm2022/softpak-components-spx-validation.mjs +3 -3
  42. package/fesm2022/softpak-components-spx-welcome.mjs +10 -10
  43. package/fesm2022/softpak-components-spx-welcome.mjs.map +1 -1
  44. package/package.json +2 -2
  45. package/tailwind.css +1 -1
  46. package/types/softpak-components-spx-alert.d.ts +1 -3
  47. package/types/softpak-components-spx-channel-selection.d.ts +33 -8
  48. package/types/softpak-components-spx-helpers.d.ts +3 -1
  49. package/types/softpak-components-spx-navigation.d.ts +4 -8
  50. package/types/softpak-components-spx-storage.d.ts +1 -0
  51. package/types/softpak-components-spx-toaster.d.ts +0 -2
  52. package/types/softpak-components-spx-translate.d.ts +27 -1
  53. package/types/softpak-components-spx-update.d.ts +45 -44
  54. package/types/softpak-components-spx-welcome.d.ts +1 -1
@@ -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
- import { SpxSeverityEnum } from '@softpak/components/spx-helpers';
7
6
  import { SafeStyle, DomSanitizer } from '@angular/platform-browser';
7
+ import { SpxSeverityEnum } from '@softpak/components/spx-helpers';
8
+ import * as rxjs from 'rxjs';
8
9
  import { Observable } from 'rxjs';
9
- import { Actions as Actions$1 } from '@ngrx/effects';
10
+ import * as _ngrx_effects from '@ngrx/effects';
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
- private subscriptions;
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
- static ɵfac: i0.ɵɵFactoryDeclaration<SpxUpdatePageComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<SpxUpdatePageComponent, "spx-update-page", never, {}, {}, never, never, true, never>;
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: i0.WritableSignal<string | undefined>;
30
- currentStoreVersion: i0.WritableSignal<string | undefined>;
46
+ availableStoreVersion: _angular_core.WritableSignal<string | undefined>;
47
+ currentStoreVersion: _angular_core.WritableSignal<string | undefined>;
31
48
  severitySuccess: SpxSeverityEnum;
32
- showLiveUpdateReady: i0.WritableSignal<boolean>;
49
+ showLiveUpdateReady: _angular_core.WritableSignal<boolean>;
33
50
  spxTextUpdate: string;
34
51
  spxTextReadyToBeInstalled: string;
35
52
  spxTextPatchAvailable: string;
@@ -40,8 +57,8 @@ declare class SpxUpdatePendingComponent {
40
57
  ngOnDestroy(): void;
41
58
  constructor(appStore: Store, sanitizer: DomSanitizer);
42
59
  onUpdate(): void;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<SpxUpdatePendingComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<SpxUpdatePendingComponent, "spx-update-pending", never, {}, {}, never, never, true, never>;
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 = "";
@@ -68,22 +85,17 @@ declare const spxUpdateCheckActions: {
68
85
  } & _ngrx_store.Action<"[SpxUpdateCheck] runCheck">>;
69
86
  };
70
87
 
71
- declare const spxUpdateCheck_actions_d_spxUpdateCheckActions: typeof spxUpdateCheckActions;
72
- declare namespace spxUpdateCheck_actions_d {
73
- export {
74
- spxUpdateCheck_actions_d_spxUpdateCheckActions as spxUpdateCheckActions,
75
- };
76
- }
77
-
78
88
  declare class Effects$1 {
79
89
  private readonly actions$;
90
+ private readonly translateService;
80
91
  afterInitialize$: Observable<any>;
81
92
  onRun$: Observable<any>;
82
93
  whenAndUpdateIsReady$: Observable<any>;
83
94
  whenCheckHasFailed$: Observable<any>;
95
+ whenCheckHasFailedShowError$: Observable<any>;
84
96
  whenNoUpdateWasFound$: Observable<any>;
85
- static ɵfac: i0.ɵɵFactoryDeclaration<Effects$1, never>;
86
- static ɵprov: i0.ɵɵInjectableDeclaration<Effects$1>;
97
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<Effects$1, never>;
98
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<Effects$1>;
87
99
  }
88
100
 
89
101
  declare namespace spxUpdateCheck_effects_d {
@@ -125,31 +137,20 @@ declare namespace spxUpdateCheck_reducer_d {
125
137
  };
126
138
  }
127
139
 
128
- declare const acceptUpdate: _ngrx_store.ActionCreator<"[SPX / Update Pending] Accept update", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Pending] Accept update">>;
129
- declare const hasBeenDownloaded: _ngrx_store.ActionCreator<"[SPX / Update Pending] Has been downloaded", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Pending] Has been downloaded">>;
130
- declare const hasBeenInstalled: _ngrx_store.ActionCreator<"[SPX / Update Pending] Has been installed", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Pending] Has been installed">>;
131
- declare const postpone: _ngrx_store.ActionCreator<"[SPX / Update Pending] Postpone", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Pending] Postpone">>;
132
- declare const postponeExpired: _ngrx_store.ActionCreator<"[SPX / Update Pending] Postpone expired", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Pending] Postpone expired">>;
133
- declare const all: (Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Pending] Accept update">) | (Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Pending] Has been downloaded">) | (Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Pending] Has been installed">) | (Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Pending] Postpone">) | (Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Pending] Postpone expired">);
134
- type Actions = typeof all;
135
-
136
- type spxUpdatePending_actions_d_Actions = Actions;
137
- declare const spxUpdatePending_actions_d_acceptUpdate: typeof acceptUpdate;
138
- declare const spxUpdatePending_actions_d_hasBeenDownloaded: typeof hasBeenDownloaded;
139
- declare const spxUpdatePending_actions_d_hasBeenInstalled: typeof hasBeenInstalled;
140
- declare const spxUpdatePending_actions_d_postpone: typeof postpone;
141
- declare const spxUpdatePending_actions_d_postponeExpired: typeof postponeExpired;
142
- declare namespace spxUpdatePending_actions_d {
143
- export { spxUpdatePending_actions_d_acceptUpdate as acceptUpdate, spxUpdatePending_actions_d_hasBeenDownloaded as hasBeenDownloaded, spxUpdatePending_actions_d_hasBeenInstalled as hasBeenInstalled, spxUpdatePending_actions_d_postpone as postpone, spxUpdatePending_actions_d_postponeExpired as postponeExpired };
144
- export type { spxUpdatePending_actions_d_Actions as Actions };
145
- }
140
+ declare const SpxUpdatePendingActions: {
141
+ acceptUpdate: _ngrx_store.ActionCreator<"[SpxUpdatePending] AcceptUpdate", () => _ngrx_store.Action<"[SpxUpdatePending] AcceptUpdate">>;
142
+ hasBeenDownloaded: _ngrx_store.ActionCreator<"[SpxUpdatePending] HasBeenDownloaded", () => _ngrx_store.Action<"[SpxUpdatePending] HasBeenDownloaded">>;
143
+ hasBeenInstalled: _ngrx_store.ActionCreator<"[SpxUpdatePending] HasBeenInstalled", () => _ngrx_store.Action<"[SpxUpdatePending] HasBeenInstalled">>;
144
+ postpone: _ngrx_store.ActionCreator<"[SpxUpdatePending] Postpone", () => _ngrx_store.Action<"[SpxUpdatePending] Postpone">>;
145
+ postponeExpired: _ngrx_store.ActionCreator<"[SpxUpdatePending] PostponeExpired", () => _ngrx_store.Action<"[SpxUpdatePending] PostponeExpired">>;
146
+ };
146
147
 
147
148
  declare class Effects {
148
149
  private readonly actions$;
149
- constructor(actions$: Actions$1);
150
- whenAccepted$: Observable<any>;
151
- static ɵfac: i0.ɵɵFactoryDeclaration<Effects, never>;
152
- static ɵprov: i0.ɵɵInjectableDeclaration<Effects>;
150
+ constructor(actions$: Actions);
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>;
153
154
  }
154
155
 
155
156
  type spxUpdatePending_effects_d_Effects = Effects;
@@ -193,4 +194,4 @@ declare namespace spxUpdatePending_reducer_d {
193
194
  };
194
195
  }
195
196
 
196
- export { SpxUpdatePageComponent, SpxUpdatePendingComponent, spxUpdateCheck_actions_d as spxUpdateCheckActions, spxUpdateCheck_effects_d as spxUpdateCheckEffects, spxUpdateCheck_initial_d as spxUpdateCheckInitial, spxUpdateCheck_reducer_d as spxUpdateCheckReducer, spxUpdateCheck_state_d as spxUpdateCheckState, spxUpdatePending_actions_d as spxUpdatePendingActions, spxUpdatePending_effects_d as spxUpdatePendingEffects, spxUpdatePending_initial_d as spxUpdatePendingInitial, spxUpdatePending_reducer_d as spxUpdatePendingReducer, spxUpdatePending_state_d as spxUpdatePendingState, spxUpdateUrl };
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 };
@@ -3,9 +3,9 @@ import { OnInit, OnDestroy } from '@angular/core';
3
3
  import * as _softpak_components_spx_app_configuration from '@softpak/components/spx-app-configuration';
4
4
  import { SpxAppChannelTypeEnum } from '@softpak/components/spx-app-configuration';
5
5
  import { FormGroup, FormBuilder } from '@angular/forms';
6
- import { Store } from '@ngrx/store';
7
6
  import { SpxFormI } from '@softpak/components/spx-form-view';
8
7
  import { SpxValuePair } from '@softpak/components/spx-inputs';
8
+ import { Store } from '@ngrx/store';
9
9
 
10
10
  declare const spxSectionWelcome = "welcome";
11
11
  declare const spxCtrlChannel = "channel";