@softpak/components 20.11.0 → 20.12.0-beta.3

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.
@@ -1,12 +1,12 @@
1
1
  import { NavController } from '@ionic/angular/standalone';
2
+ import { ActivatedRoute } from '@angular/router';
2
3
  import * as _ngrx_store from '@ngrx/store';
3
4
  import { Store } from '@ngrx/store';
4
- import { ActivatedRoute } from '@angular/router';
5
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
8
  import { Observable } from 'rxjs';
9
- import { Actions as Actions$2 } from '@ngrx/effects';
9
+ import { Actions } from '@ngrx/effects';
10
10
 
11
11
  declare class SpxUpdatePageComponent {
12
12
  private readonly appStore;
@@ -46,45 +46,27 @@ declare class SpxUpdatePendingComponent {
46
46
 
47
47
  declare const spxUpdateUrl = "";
48
48
 
49
- declare const anUpdateIsReady: _ngrx_store.ActionCreator<"[SPX / Update Check] An update is ready", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Check] An update is ready">>;
50
- declare const clearError: _ngrx_store.ActionCreator<"[SPX / Update Check] Clear error", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Check] Clear error">>;
51
- declare const checkFailed: _ngrx_store.ActionCreator<"[SPX / Update Check] Error happened", (props: {
52
- startUpdateAgainAfterTimeout?: boolean;
53
- }) => {
54
- startUpdateAgainAfterTimeout?: boolean;
55
- } & _ngrx_store.Action<"[SPX / Update Check] Error happened">>;
56
- declare const initialize: _ngrx_store.ActionCreator<"[SPX / Update Check] Initialize", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Check] Initialize">>;
57
- declare const noUpdateWasFound: _ngrx_store.ActionCreator<"[SPX / Update Check] No update was found", (props: {
58
- startUpdateAgainAfterTimeout?: boolean;
59
- }) => {
60
- startUpdateAgainAfterTimeout?: boolean;
61
- } & _ngrx_store.Action<"[SPX / Update Check] No update was found">>;
62
- declare const notAvailableOnWeb: _ngrx_store.ActionCreator<"[SPX / Update Check] Not available on web", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Check] Not available on web">>;
63
- declare const runCheck: _ngrx_store.ActionCreator<"[SPX / Update Check] Run", (props: {
64
- forceWaitForUpdate?: boolean;
65
- }) => {
66
- forceWaitForUpdate?: boolean;
67
- } & _ngrx_store.Action<"[SPX / Update Check] Run">>;
68
- declare const all$1: (Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Check] An update is ready">) | (Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Check] Clear error">) | ({
69
- startUpdateAgainAfterTimeout?: boolean;
70
- } & _ngrx_store.Action<"[SPX / Update Check] Error happened">) | (Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Check] Initialize">) | ({
71
- startUpdateAgainAfterTimeout?: boolean;
72
- } & _ngrx_store.Action<"[SPX / Update Check] No update was found">) | (Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Check] Not available on web">) | ({
73
- forceWaitForUpdate?: boolean;
74
- } & _ngrx_store.Action<"[SPX / Update Check] Run">);
75
- type Actions$1 = typeof all$1;
76
-
77
- declare const spxUpdateCheck_actions_d_anUpdateIsReady: typeof anUpdateIsReady;
78
- declare const spxUpdateCheck_actions_d_checkFailed: typeof checkFailed;
79
- declare const spxUpdateCheck_actions_d_clearError: typeof clearError;
80
- declare const spxUpdateCheck_actions_d_initialize: typeof initialize;
81
- declare const spxUpdateCheck_actions_d_noUpdateWasFound: typeof noUpdateWasFound;
82
- declare const spxUpdateCheck_actions_d_notAvailableOnWeb: typeof notAvailableOnWeb;
83
- declare const spxUpdateCheck_actions_d_runCheck: typeof runCheck;
84
- declare namespace spxUpdateCheck_actions_d {
85
- export { spxUpdateCheck_actions_d_anUpdateIsReady as anUpdateIsReady, spxUpdateCheck_actions_d_checkFailed as checkFailed, spxUpdateCheck_actions_d_clearError as clearError, spxUpdateCheck_actions_d_initialize as initialize, spxUpdateCheck_actions_d_noUpdateWasFound as noUpdateWasFound, spxUpdateCheck_actions_d_notAvailableOnWeb as notAvailableOnWeb, spxUpdateCheck_actions_d_runCheck as runCheck };
86
- export type { Actions$1 as Actions };
87
- }
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: {
53
+ startUpdateAgainAfterTimeout?: boolean;
54
+ }) => {
55
+ 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: {
59
+ startUpdateAgainAfterTimeout?: boolean;
60
+ }) => {
61
+ 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: {
65
+ forceWaitForUpdate?: boolean;
66
+ }) => {
67
+ forceWaitForUpdate?: boolean;
68
+ } & _ngrx_store.Action<"[SpxUpdateCheck] RunCheck">>;
69
+ };
88
70
 
89
71
  declare class Effects$1 {
90
72
  private readonly actions$;
@@ -136,28 +118,17 @@ declare namespace spxUpdateCheck_reducer_d {
136
118
  };
137
119
  }
138
120
 
139
- 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">>;
140
- 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">>;
141
- 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">>;
142
- declare const postpone: _ngrx_store.ActionCreator<"[SPX / Update Pending] Postpone", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Pending] Postpone">>;
143
- 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">>;
144
- 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">);
145
- type Actions = typeof all;
146
-
147
- type spxUpdatePending_actions_d_Actions = Actions;
148
- declare const spxUpdatePending_actions_d_acceptUpdate: typeof acceptUpdate;
149
- declare const spxUpdatePending_actions_d_hasBeenDownloaded: typeof hasBeenDownloaded;
150
- declare const spxUpdatePending_actions_d_hasBeenInstalled: typeof hasBeenInstalled;
151
- declare const spxUpdatePending_actions_d_postpone: typeof postpone;
152
- declare const spxUpdatePending_actions_d_postponeExpired: typeof postponeExpired;
153
- declare namespace spxUpdatePending_actions_d {
154
- 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 };
155
- export type { spxUpdatePending_actions_d_Actions as Actions };
156
- }
121
+ declare const SpxUpdatePendingActions: {
122
+ acceptUpdate: _ngrx_store.ActionCreator<"[SpxUpdatePending] AcceptUpdate", () => _ngrx_store.Action<"[SpxUpdatePending] AcceptUpdate">>;
123
+ hasBeenDownloaded: _ngrx_store.ActionCreator<"[SpxUpdatePending] HasBeenDownloaded", () => _ngrx_store.Action<"[SpxUpdatePending] HasBeenDownloaded">>;
124
+ hasBeenInstalled: _ngrx_store.ActionCreator<"[SpxUpdatePending] HasBeenInstalled", () => _ngrx_store.Action<"[SpxUpdatePending] HasBeenInstalled">>;
125
+ postpone: _ngrx_store.ActionCreator<"[SpxUpdatePending] Postpone", () => _ngrx_store.Action<"[SpxUpdatePending] Postpone">>;
126
+ postponeExpired: _ngrx_store.ActionCreator<"[SpxUpdatePending] PostponeExpired", () => _ngrx_store.Action<"[SpxUpdatePending] PostponeExpired">>;
127
+ };
157
128
 
158
129
  declare class Effects {
159
130
  private readonly actions$;
160
- constructor(actions$: Actions$2);
131
+ constructor(actions$: Actions);
161
132
  whenAccepted$: Observable<any>;
162
133
  static ɵfac: i0.ɵɵFactoryDeclaration<Effects, never>;
163
134
  static ɵprov: i0.ɵɵInjectableDeclaration<Effects>;
@@ -204,4 +175,4 @@ declare namespace spxUpdatePending_reducer_d {
204
175
  };
205
176
  }
206
177
 
207
- 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 };
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 };
@@ -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";