@softpak/components 20.3.5 → 20.3.7
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-404-page.mjs +3 -3
- package/fesm2022/softpak-components-spx-404-page.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-alert.mjs +3 -3
- package/fesm2022/softpak-components-spx-alert.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-app-expiry.mjs +3 -3
- package/fesm2022/softpak-components-spx-app-expiry.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-button.mjs +3 -3
- package/fesm2022/softpak-components-spx-button.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-capitalize.mjs +3 -3
- package/fesm2022/softpak-components-spx-capitalize.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-card.mjs +12 -12
- package/fesm2022/softpak-components-spx-card.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-change-details.mjs +3 -3
- package/fesm2022/softpak-components-spx-change-details.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-channel-selection.mjs +10 -11
- package/fesm2022/softpak-components-spx-channel-selection.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-check-digit.mjs +3 -3
- package/fesm2022/softpak-components-spx-check-digit.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-confirm.mjs +9 -9
- package/fesm2022/softpak-components-spx-confirm.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-form-section.mjs +3 -3
- package/fesm2022/softpak-components-spx-form-section.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-form-view.mjs +6 -6
- package/fesm2022/softpak-components-spx-form-view.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-inputs.mjs +33 -33
- package/fesm2022/softpak-components-spx-inputs.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-navigation.mjs +9 -9
- package/fesm2022/softpak-components-spx-navigation.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-number-check.mjs +3 -3
- package/fesm2022/softpak-components-spx-number-check.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-pagination.mjs +3 -3
- package/fesm2022/softpak-components-spx-pagination.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-patch.mjs +3 -3
- package/fesm2022/softpak-components-spx-patch.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-pipes.mjs +3 -3
- package/fesm2022/softpak-components-spx-pipes.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-progress-bar.mjs +3 -3
- package/fesm2022/softpak-components-spx-progress-bar.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-spinner.mjs +3 -3
- package/fesm2022/softpak-components-spx-spinner.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-stock-info.mjs +3 -3
- package/fesm2022/softpak-components-spx-stock-info.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-suggestion.mjs +3 -3
- package/fesm2022/softpak-components-spx-suggestion.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-tabs.mjs +3 -3
- package/fesm2022/softpak-components-spx-tabs.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-toaster.mjs +3 -3
- package/fesm2022/softpak-components-spx-toaster.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-toggle.mjs +3 -3
- package/fesm2022/softpak-components-spx-toggle.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-update.mjs +12 -12
- package/fesm2022/softpak-components-spx-update.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-validation-messages.mjs +3 -3
- package/fesm2022/softpak-components-spx-validation-messages.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-validation.mjs +3 -3
- package/fesm2022/softpak-components-spx-validation.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-welcome.mjs +3 -3
- package/fesm2022/softpak-components-spx-welcome.mjs.map +1 -1
- package/index.d.ts +3 -5
- package/package.json +24 -24
- package/spx-404-page/index.d.ts +18 -5
- package/spx-alert/index.d.ts +34 -5
- package/spx-app-configuration/index.d.ts +74 -5
- package/spx-app-expiry/index.d.ts +38 -5
- package/spx-button/index.d.ts +26 -5
- package/spx-capitalize/index.d.ts +11 -5
- package/spx-card/index.d.ts +54 -5
- package/spx-change-details/index.d.ts +66 -5
- package/spx-channel-selection/index.d.ts +107 -5
- package/spx-check-digit/index.d.ts +27 -5
- package/spx-confirm/index.d.ts +118 -5
- package/spx-form-section/index.d.ts +12 -5
- package/spx-form-view/index.d.ts +95 -5
- package/spx-helpers/index.d.ts +22 -5
- package/spx-inputs/index.d.ts +339 -5
- package/spx-navigation/index.d.ts +140 -5
- package/spx-number-check/index.d.ts +43 -5
- package/spx-pagination/index.d.ts +18 -5
- package/spx-patch/index.d.ts +21 -5
- package/spx-pipes/index.d.ts +11 -5
- package/spx-progress-bar/index.d.ts +10 -5
- package/spx-spinner/index.d.ts +59 -5
- package/spx-stock-info/index.d.ts +96 -5
- package/spx-storage/index.d.ts +26 -5
- package/spx-suggestion/index.d.ts +12 -5
- package/spx-tabs/index.d.ts +58 -5
- package/spx-toaster/index.d.ts +167 -5
- package/spx-toggle/index.d.ts +15 -5
- package/spx-translate/index.d.ts +66 -5
- package/spx-update/index.d.ts +208 -5
- package/spx-validation/index.d.ts +63 -5
- package/spx-validation-messages/index.d.ts +28 -5
- package/spx-welcome/index.d.ts +50 -5
- package/placeholder.d.ts +0 -1
- package/public_api.d.ts +0 -1
- package/spx-404-page/public-api.d.ts +0 -1
- package/spx-404-page/spx-404-page.component.d.ts +0 -15
- package/spx-alert/public-api.d.ts +0 -2
- package/spx-alert/spx-alert.component.d.ts +0 -23
- package/spx-alert/spx-alert.interface.d.ts +0 -7
- package/spx-app-configuration/public-api.d.ts +0 -8
- package/spx-app-configuration/spx-app-alert.interface.d.ts +0 -7
- package/spx-app-configuration/spx-app-bundle-set.interface.d.ts +0 -4
- package/spx-app-configuration/spx-app-channel-type.enum.d.ts +0 -8
- package/spx-app-configuration/spx-app-channel-type.model.d.ts +0 -5
- package/spx-app-configuration/spx-app-channel.interface.d.ts +0 -10
- package/spx-app-configuration/spx-app-config.interface.d.ts +0 -19
- package/spx-app-configuration/spx-app-id.enum.d.ts +0 -6
- package/spx-app-configuration/spx-app-lang.enum.d.ts +0 -4
- package/spx-app-configuration/spx-app-release-note.interface.d.ts +0 -8
- package/spx-app-expiry/public-api.d.ts +0 -5
- package/spx-app-expiry/spx-app-expiry.component.d.ts +0 -21
- package/spx-app-expiry/spx-app-expiry.interface.d.ts +0 -7
- package/spx-app-expiry/spx-check-expiry-final-warning.interface.d.ts +0 -2
- package/spx-app-expiry/spx-check-expiry-happened.interface.d.ts +0 -2
- package/spx-app-expiry/spx-check-expiry-warning.interface.d.ts +0 -2
- package/spx-button/public-api.d.ts +0 -1
- package/spx-button/spx-button.component.d.ts +0 -23
- package/spx-capitalize/public-api.d.ts +0 -1
- package/spx-capitalize/spx-capitalize.pipe.d.ts +0 -8
- package/spx-card/public-api.d.ts +0 -4
- package/spx-card/spx-card-grid/spx-card-grid.component.d.ts +0 -6
- package/spx-card/spx-card-item/spx-card-item.component.d.ts +0 -14
- package/spx-card/spx-card-line/spx-card-line.component.d.ts +0 -16
- package/spx-card/spx-card.component.d.ts +0 -15
- package/spx-change-details/public-api.d.ts +0 -1
- package/spx-change-details/spx-change-details-value.interface.d.ts +0 -7
- package/spx-change-details/spx-change-details.component.d.ts +0 -57
- package/spx-channel-selection/public-api.d.ts +0 -5
- package/spx-channel-selection/src/spx-channel-guard.d.ts +0 -7
- package/spx-channel-selection/src/spx-channel-indicator/spx-channel-indicator.component.d.ts +0 -13
- package/spx-channel-selection/store/spx-channel.actions.d.ts +0 -21
- package/spx-channel-selection/store/spx-channel.effects.d.ts +0 -19
- package/spx-channel-selection/store/spx-channel.reducer.d.ts +0 -18
- package/spx-check-digit/public-api.d.ts +0 -1
- package/spx-check-digit/spx-check-digit.component.d.ts +0 -24
- package/spx-confirm/public-api.d.ts +0 -5
- package/spx-confirm/spx-confirm-displayer/spx-confirm-displayer.component.d.ts +0 -22
- package/spx-confirm/spx-confirm.component.d.ts +0 -16
- package/spx-confirm/store/spx-confirm.actions.d.ts +0 -22
- package/spx-confirm/store/spx-confirm.effects.d.ts +0 -12
- package/spx-confirm/store/spx-confirm.reducer.d.ts +0 -18
- package/spx-form-section/public-api.d.ts +0 -1
- package/spx-form-section/spx-form-section.component.d.ts +0 -9
- package/spx-form-view/public-api.d.ts +0 -7
- package/spx-form-view/spx-autocomplete-search.component.d.ts +0 -41
- package/spx-form-view/spx-check-required.const.d.ts +0 -2
- package/spx-form-view/spx-form-button-type.enum.d.ts +0 -4
- package/spx-form-view/spx-form-button.interface.d.ts +0 -8
- package/spx-form-view/spx-form-field.interface.d.ts +0 -20
- package/spx-form-view/spx-form-section.interface.d.ts +0 -9
- package/spx-form-view/spx-form-view.component.d.ts +0 -46
- package/spx-form-view/spx-form.interface.d.ts +0 -6
- package/spx-helpers/calc-check-digit.function.d.ts +0 -1
- package/spx-helpers/input-alert.interface.d.ts +0 -5
- package/spx-helpers/public-api.d.ts +0 -5
- package/spx-helpers/spx-severity.enum.d.ts +0 -8
- package/spx-helpers/unsubscribe-subscriptions.function.d.ts +0 -1
- package/spx-helpers/value-pair-to-value.function.d.ts +0 -1
- package/spx-inputs/input.service.d.ts +0 -12
- package/spx-inputs/public-api.d.ts +0 -7
- package/spx-inputs/spx-dropdown/spx-dropdown.component.d.ts +0 -18
- package/spx-inputs/spx-input-alert-interface.d.ts +0 -5
- package/spx-inputs/spx-input-box/spx-input-box.component.d.ts +0 -41
- package/spx-inputs/spx-input-date/spx-input-date.component.d.ts +0 -50
- package/spx-inputs/spx-input-float/spx-input-float.component.d.ts +0 -33
- package/spx-inputs/spx-input-number/spx-input-number.component.d.ts +0 -24
- package/spx-inputs/spx-input-radio/spx-input-radio.component.d.ts +0 -27
- package/spx-inputs/spx-input-text/spx-input-text.component.d.ts +0 -37
- package/spx-inputs/spx-input-time/spx-input-time.component.d.ts +0 -35
- package/spx-inputs/spx-input-time-modal/spx-input-time-modal.component.d.ts +0 -18
- package/spx-inputs/spx-input-type.enum.d.ts +0 -16
- package/spx-inputs/spx-input.component.d.ts +0 -76
- package/spx-inputs/spx-speed-dial-interface.d.ts +0 -5
- package/spx-inputs/spx-value-interface.d.ts +0 -4
- package/spx-navigation/public-api.d.ts +0 -8
- package/spx-navigation/spx-home-tile/spx-home-tile.component.d.ts +0 -11
- package/spx-navigation/spx-home-tile/spx-home-tiles.component.d.ts +0 -6
- package/spx-navigation/spx-navigation-item.interface.d.ts +0 -22
- package/spx-navigation/spx-navigation.component.d.ts +0 -21
- package/spx-navigation/store/spx-navigation/spx-navigation.actions.d.ts +0 -28
- package/spx-navigation/store/spx-navigation/spx-navigation.initial.d.ts +0 -2
- package/spx-navigation/store/spx-navigation/spx-navigation.reducer.d.ts +0 -12
- package/spx-navigation/store/spx-navigation/spx-navigation.state.d.ts +0 -8
- package/spx-number-check/public-api.d.ts +0 -1
- package/spx-number-check/spx-number-check.component.d.ts +0 -40
- package/spx-pagination/public-api.d.ts +0 -1
- package/spx-pagination/spx-pagination.component.d.ts +0 -15
- package/spx-patch/patch-check.function.d.ts +0 -4
- package/spx-patch/public-api.d.ts +0 -3
- package/spx-patch/release-check.function.d.ts +0 -1
- package/spx-patch/spx-patch.component.d.ts +0 -11
- package/spx-pipes/public-api.d.ts +0 -1
- package/spx-pipes/spx-severity-pipe.d.ts +0 -8
- package/spx-progress-bar/public-api.d.ts +0 -1
- package/spx-progress-bar/spx-progress-bar.component.d.ts +0 -7
- package/spx-spinner/public-api.d.ts +0 -5
- package/spx-spinner/spx-spinner.component.d.ts +0 -7
- package/spx-spinner/store/spx-spinner/spx-spinner.actions.d.ts +0 -6
- package/spx-spinner/store/spx-spinner/spx-spinner.initial.d.ts +0 -2
- package/spx-spinner/store/spx-spinner/spx-spinner.reducer.d.ts +0 -9
- package/spx-spinner/store/spx-spinner/spx-spinner.state.d.ts +0 -4
- package/spx-stock-info/public-api.d.ts +0 -2
- package/spx-stock-info/spx-stock-info-value.interface.d.ts +0 -11
- package/spx-stock-info/spx-stock-info.component.d.ts +0 -83
- package/spx-storage/public-api.d.ts +0 -2
- package/spx-storage/src/spx-storage-key.enum.d.ts +0 -15
- package/spx-storage/src/spx-storage.class.d.ts +0 -9
- package/spx-suggestion/public-api.d.ts +0 -1
- package/spx-suggestion/spx-suggestion.component.d.ts +0 -9
- package/spx-tabs/public-api.d.ts +0 -3
- package/spx-tabs/src/spx-tabs.component.d.ts +0 -19
- package/spx-tabs/store/spx-shortcuts.actions.d.ts +0 -10
- package/spx-tabs/store/spx-shortcuts.reducer.d.ts +0 -11
- package/spx-toaster/public-api.d.ts +0 -7
- package/spx-toaster/src/spx-toaster-autoclose-speed.d.ts +0 -11
- package/spx-toaster/src/spx-toaster-message.interface.d.ts +0 -14
- package/spx-toaster/src/spx-toaster.component.d.ts +0 -11
- package/spx-toaster/store/spx-toaster/spx-toaster.actions.d.ts +0 -78
- package/spx-toaster/store/spx-toaster/spx-toaster.initial.d.ts +0 -2
- package/spx-toaster/store/spx-toaster/spx-toaster.reducer.d.ts +0 -11
- package/spx-toaster/store/spx-toaster/spx-toaster.state.d.ts +0 -5
- package/spx-toggle/public-api.d.ts +0 -1
- package/spx-toggle/src/spx-toggle.component.d.ts +0 -12
- package/spx-translate/public-api.d.ts +0 -3
- package/spx-translate/spx-translate._const.d.ts +0 -59
- package/spx-translate/spx-translate.en.d.ts +0 -2
- package/spx-translate/spx-translate.nl.d.ts +0 -2
- package/spx-update/public-api.d.ts +0 -13
- package/spx-update/spx-update-page.component.d.ts +0 -17
- package/spx-update/spx-update-pending.component.d.ts +0 -25
- package/spx-update/spx-update-url.d.ts +0 -1
- package/spx-update/store/spx-update-check/spx-update-check.actions.d.ts +0 -28
- package/spx-update/store/spx-update-check/spx-update-check.effects.d.ts +0 -14
- package/spx-update/store/spx-update-check/spx-update-check.initial.d.ts +0 -2
- package/spx-update/store/spx-update-check/spx-update-check.reducer.d.ts +0 -10
- package/spx-update/store/spx-update-check/spx-update-check.state.d.ts +0 -5
- package/spx-update/store/spx-update-pending/spx-update-pending.actions.d.ts +0 -8
- package/spx-update/store/spx-update-pending/spx-update-pending.effects.d.ts +0 -10
- package/spx-update/store/spx-update-pending/spx-update-pending.initial.d.ts +0 -2
- package/spx-update/store/spx-update-pending/spx-update-pending.reducer.d.ts +0 -9
- package/spx-update/store/spx-update-pending/spx-update-pending.state.d.ts +0 -4
- package/spx-validation/max.validator.d.ts +0 -7
- package/spx-validation/maxlength.validator.d.ts +0 -7
- package/spx-validation/min.validator.d.ts +0 -7
- package/spx-validation/minlength.validator.d.ts +0 -7
- package/spx-validation/pattern.validator.d.ts +0 -2
- package/spx-validation/public-api.d.ts +0 -8
- package/spx-validation/required.validator.d.ts +0 -2
- package/spx-validation/spx-validate-control.component.d.ts +0 -26
- package/spx-validation/year-and-month.validator.d.ts +0 -2
- package/spx-validation-messages/public-api.d.ts +0 -1
- package/spx-validation-messages/spx-validation-messages.component.d.ts +0 -25
- package/spx-welcome/public-api.d.ts +0 -1
- package/spx-welcome/spx-welcome.component.d.ts +0 -46
package/spx-toaster/index.d.ts
CHANGED
|
@@ -1,5 +1,167 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { SpxSeverityEnum } from '@softpak/components/spx-helpers';
|
|
3
|
+
import * as _ngrx_store from '@ngrx/store';
|
|
4
|
+
|
|
5
|
+
declare enum SpxToasterSeverityEnum {
|
|
6
|
+
ERROR = "error",
|
|
7
|
+
INFO = "info",
|
|
8
|
+
SUCCESS = "success",
|
|
9
|
+
WARNING = "warning"
|
|
10
|
+
}
|
|
11
|
+
declare enum SpxToasterAutoCloseSpeedEnum {
|
|
12
|
+
DEFAULT = -1,
|
|
13
|
+
SLOW = -2
|
|
14
|
+
}
|
|
15
|
+
declare function toasterAutocloseSpeed(autoCloseSpeed: SpxToasterAutoCloseSpeedEnum, messageText: string): number;
|
|
16
|
+
|
|
17
|
+
declare class SpxToasterMessageI {
|
|
18
|
+
private _autoClose?;
|
|
19
|
+
title?: string;
|
|
20
|
+
closeable?: boolean;
|
|
21
|
+
id: number;
|
|
22
|
+
message: string;
|
|
23
|
+
severity: SpxSeverityEnum;
|
|
24
|
+
uniqueIdentifier?: string;
|
|
25
|
+
constructor(message: string, id: number, severity: SpxSeverityEnum, autoClose?: SpxToasterAutoCloseSpeedEnum, closeable?: boolean);
|
|
26
|
+
get autoClose(): number | undefined;
|
|
27
|
+
set autoClose(value: number | undefined);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class SpxToasterComponent {
|
|
31
|
+
messages: _angular_core.InputSignal<SpxToasterMessageI[]>;
|
|
32
|
+
readonly spxAutoclose: _angular_core.InputSignal<number | undefined>;
|
|
33
|
+
spxClose: _angular_core.OutputEmitterRef<number>;
|
|
34
|
+
constructor();
|
|
35
|
+
handleClose(id: number): void;
|
|
36
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxToasterComponent, never>;
|
|
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
|
+
}
|
|
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
|
+
}
|
|
130
|
+
|
|
131
|
+
interface StateI {
|
|
132
|
+
messages: SpxToasterMessageI[];
|
|
133
|
+
nextId: number;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
type spxToaster_state_d_StateI = StateI;
|
|
137
|
+
declare namespace spxToaster_state_d {
|
|
138
|
+
export type { spxToaster_state_d_StateI as StateI };
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
declare const initialState: StateI;
|
|
142
|
+
|
|
143
|
+
declare const spxToaster_initial_d_initialState: typeof initialState;
|
|
144
|
+
declare namespace spxToaster_initial_d {
|
|
145
|
+
export {
|
|
146
|
+
spxToaster_initial_d_initialState as initialState,
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
declare function addMessage(currentMessages: SpxToasterMessageI[], newMessage: SpxToasterMessageI): SpxToasterMessageI[];
|
|
151
|
+
declare const _default: {
|
|
152
|
+
name: "spxToaster";
|
|
153
|
+
reducer: _ngrx_store.ActionReducer<StateI, _ngrx_store.Action<string>>;
|
|
154
|
+
selectSpxToasterState: _ngrx_store.MemoizedSelector<Record<string, any>, StateI, (featureState: StateI) => StateI>;
|
|
155
|
+
selectMessages: _ngrx_store.MemoizedSelector<Record<string, any>, SpxToasterMessageI[], (featureState: StateI) => SpxToasterMessageI[]>;
|
|
156
|
+
selectNextId: _ngrx_store.MemoizedSelector<Record<string, any>, number, (featureState: StateI) => number>;
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
declare const spxToaster_reducer_d_addMessage: typeof addMessage;
|
|
160
|
+
declare namespace spxToaster_reducer_d {
|
|
161
|
+
export {
|
|
162
|
+
spxToaster_reducer_d_addMessage as addMessage,
|
|
163
|
+
_default as default,
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
|
|
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 };
|
package/spx-toggle/index.d.ts
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { FormControl } from '@angular/forms';
|
|
4
|
+
|
|
5
|
+
declare class SpxToggleComponent implements OnInit {
|
|
6
|
+
control: _angular_core.InputSignal<FormControl<any> | undefined>;
|
|
7
|
+
spxToggled: _angular_core.ModelSignal<boolean>;
|
|
8
|
+
spxLabelPlacement: _angular_core.InputSignal<"end" | "start">;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
onValueChange(value: boolean): void;
|
|
11
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxToggleComponent, never>;
|
|
12
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxToggleComponent, "spx-toggle", never, { "control": { "alias": "control"; "required": false; "isSignal": true; }; "spxToggled": { "alias": "spxToggled"; "required": false; "isSignal": true; }; "spxLabelPlacement": { "alias": "spxLabelPlacement"; "required": false; "isSignal": true; }; }, { "spxToggled": "spxToggledChange"; }, never, ["*"], true, never>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { SpxToggleComponent };
|
package/spx-translate/index.d.ts
CHANGED
|
@@ -1,5 +1,66 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare const spxTextCheckingForUpdates = "spxTextCheckingForUpdates";
|
|
2
|
+
declare const spxTextOneMomentPlease = "spxTextOneMomentPlease";
|
|
3
|
+
declare const spxTextPatchAvailable = "spxTextPatchAvailable";
|
|
4
|
+
declare const spxTextUpdateAvailable = "spxTextUpdateAvailable";
|
|
5
|
+
declare const spxTextReadyToBeInstalled = "spxTextReadyToBeInstalled";
|
|
6
|
+
declare const spxTextUpdate = "spxTextUpdate";
|
|
7
|
+
declare const spxTextOpenAppStore = "spxTextOpenAppStore";
|
|
8
|
+
declare const spxTextChannel = "spxTextChannel";
|
|
9
|
+
declare const spxTextCompany = "spxTextCompany";
|
|
10
|
+
declare const spxTextSelect = "spxTextSelect";
|
|
11
|
+
declare const spxTextSelectYourCompany = "spxSelectYourCompany";
|
|
12
|
+
declare const spxTextChange = "spxTextChange";
|
|
13
|
+
declare const spxText404PageNotFound = "spxText404PageNotFound";
|
|
14
|
+
declare const spxTextPageNotFound = "spxTextPageNotFound";
|
|
15
|
+
declare const spxTextPageNotFoundDescription = "spxTextPageNotFoundDescription";
|
|
16
|
+
declare const spxTextGoHome = "spxTextGoHome";
|
|
17
|
+
declare const spxTextTooLong = "spxTextTooLong";
|
|
18
|
+
declare const spxTextTooShort = "spxTextTooShort";
|
|
19
|
+
declare const spxTextTooHigh = "spxTextTooHigh";
|
|
20
|
+
declare const spxTextTooLow = "spxTextTooLow";
|
|
21
|
+
declare const spxTextPatternNotValid = "spxTextPatternNotValid";
|
|
22
|
+
declare const spxTextRequired = "spxTextRequired";
|
|
23
|
+
declare const spxTextChoosePast = "spxTextChoosePast";
|
|
24
|
+
declare const spxTextChooseFuture = "spxTextChooseFuture";
|
|
25
|
+
declare const spxTextChooseValidMonth = "spxTextChooseValidMonth";
|
|
26
|
+
declare const spxTextDateMayNotBeFuture = "spxTextDateMayNotBeFuture";
|
|
27
|
+
declare const spxTextDateMayNotBePast = "spxTextDateMayNotBePast";
|
|
28
|
+
declare const spxTextInvalidCode = "spxTextInvalidCode";
|
|
29
|
+
interface SpxTranslateI {
|
|
30
|
+
[spxTextChange]: string;
|
|
31
|
+
[spxTextCheckingForUpdates]: string;
|
|
32
|
+
[spxTextOneMomentPlease]: string;
|
|
33
|
+
[spxTextPatchAvailable]: string;
|
|
34
|
+
[spxTextUpdateAvailable]: string;
|
|
35
|
+
[spxTextReadyToBeInstalled]: string;
|
|
36
|
+
[spxTextUpdate]: string;
|
|
37
|
+
[spxTextOpenAppStore]: string;
|
|
38
|
+
[spxTextChannel]: string;
|
|
39
|
+
[spxTextCompany]: string;
|
|
40
|
+
[spxTextSelect]: string;
|
|
41
|
+
[spxTextSelectYourCompany]: string;
|
|
42
|
+
[spxText404PageNotFound]: string;
|
|
43
|
+
[spxTextPageNotFound]: string;
|
|
44
|
+
[spxTextPageNotFoundDescription]: string;
|
|
45
|
+
[spxTextGoHome]: string;
|
|
46
|
+
[spxTextInvalidCode]: string;
|
|
47
|
+
[spxTextTooLong]: string;
|
|
48
|
+
[spxTextTooShort]: string;
|
|
49
|
+
[spxTextTooHigh]: string;
|
|
50
|
+
[spxTextTooLow]: string;
|
|
51
|
+
[spxTextPatternNotValid]: string;
|
|
52
|
+
[spxTextRequired]: string;
|
|
53
|
+
[spxTextChoosePast]: string;
|
|
54
|
+
[spxTextChooseFuture]: string;
|
|
55
|
+
[spxTextChooseValidMonth]: string;
|
|
56
|
+
[spxTextDateMayNotBeFuture]: string;
|
|
57
|
+
[spxTextDateMayNotBePast]: string;
|
|
58
|
+
[spxTextInvalidCode]: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare const SpxTranslateEn: SpxTranslateI;
|
|
62
|
+
|
|
63
|
+
declare const SpxTranslateNl: SpxTranslateI;
|
|
64
|
+
|
|
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 };
|
|
66
|
+
export type { SpxTranslateI };
|
package/spx-update/index.d.ts
CHANGED
|
@@ -1,5 +1,208 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { NavController } from '@ionic/angular/standalone';
|
|
2
|
+
import * as _ngrx_store from '@ngrx/store';
|
|
3
|
+
import { Store } from '@ngrx/store';
|
|
4
|
+
import { ActivatedRoute } from '@angular/router';
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { SpxSeverityEnum } from '@softpak/components/spx-helpers';
|
|
7
|
+
import { SafeStyle, DomSanitizer } from '@angular/platform-browser';
|
|
8
|
+
import { Actions as Actions$2 } from '@ngrx/effects';
|
|
9
|
+
import { Observable } from 'rxjs';
|
|
10
|
+
|
|
11
|
+
declare class SpxUpdatePageComponent {
|
|
12
|
+
private readonly appStore;
|
|
13
|
+
private readonly activatedRoute;
|
|
14
|
+
private readonly navController;
|
|
15
|
+
spxTextCheckingForUpdates: string;
|
|
16
|
+
spxTextOneMomentPlease: string;
|
|
17
|
+
private subscriptions;
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
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>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare class SpxUpdatePendingComponent {
|
|
26
|
+
private readonly appStore;
|
|
27
|
+
private sanitizer;
|
|
28
|
+
baseStyle?: SafeStyle;
|
|
29
|
+
availableStoreVersion: i0.WritableSignal<string | undefined>;
|
|
30
|
+
currentStoreVersion: i0.WritableSignal<string | undefined>;
|
|
31
|
+
severitySuccess: SpxSeverityEnum;
|
|
32
|
+
showLiveUpdateReady: i0.WritableSignal<boolean>;
|
|
33
|
+
spxTextUpdate: string;
|
|
34
|
+
spxTextReadyToBeInstalled: string;
|
|
35
|
+
spxTextPatchAvailable: string;
|
|
36
|
+
spxTextUpdateAvailable: string;
|
|
37
|
+
spxTextOpenAppStore: string;
|
|
38
|
+
private subscriptions;
|
|
39
|
+
ngOnInit(): void;
|
|
40
|
+
ngOnDestroy(): void;
|
|
41
|
+
constructor(appStore: Store, sanitizer: DomSanitizer);
|
|
42
|
+
onUpdate(): void;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpxUpdatePendingComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxUpdatePendingComponent, "spx-update-pending", never, {}, {}, never, never, true, never>;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare const spxUpdateUrl = "";
|
|
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
|
+
}
|
|
88
|
+
|
|
89
|
+
declare class Effects$1 {
|
|
90
|
+
private readonly actions$;
|
|
91
|
+
afterInitialize$: Observable<any>;
|
|
92
|
+
onRun$: Observable<any>;
|
|
93
|
+
constructor(actions$: Actions$2);
|
|
94
|
+
whenAndUpdateIsReady$: Observable<any>;
|
|
95
|
+
whenCheckHasFailed$: Observable<any>;
|
|
96
|
+
whenNoUpdateWasFound$: Observable<any>;
|
|
97
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Effects$1, never>;
|
|
98
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Effects$1>;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
declare namespace spxUpdateCheck_effects_d {
|
|
102
|
+
export {
|
|
103
|
+
Effects$1 as Effects,
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
interface StateI$1 {
|
|
108
|
+
forceWaitForUpdate: boolean;
|
|
109
|
+
lastCheck: string | null;
|
|
110
|
+
showError: boolean;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
declare namespace spxUpdateCheck_state_d {
|
|
114
|
+
export type { StateI$1 as StateI };
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
declare const initialState$1: StateI$1;
|
|
118
|
+
|
|
119
|
+
declare namespace spxUpdateCheck_initial_d {
|
|
120
|
+
export {
|
|
121
|
+
initialState$1 as initialState,
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
declare const _default$1: {
|
|
126
|
+
name: "spxUpdateCheck";
|
|
127
|
+
reducer: _ngrx_store.ActionReducer<StateI$1, _ngrx_store.Action<string>>;
|
|
128
|
+
selectSpxUpdateCheckState: _ngrx_store.MemoizedSelector<Record<string, any>, StateI$1, (featureState: StateI$1) => StateI$1>;
|
|
129
|
+
selectForceWaitForUpdate: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: StateI$1) => boolean>;
|
|
130
|
+
selectLastCheck: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: StateI$1) => string | null>;
|
|
131
|
+
selectShowError: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: StateI$1) => boolean>;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
declare namespace spxUpdateCheck_reducer_d {
|
|
135
|
+
export {
|
|
136
|
+
_default$1 as default,
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
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">>;
|
|
141
|
+
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">>;
|
|
142
|
+
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">>;
|
|
143
|
+
declare const postpone: _ngrx_store.ActionCreator<"[SPX / Update Pending] Postpone", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Update Pending] Postpone">>;
|
|
144
|
+
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">>;
|
|
145
|
+
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">);
|
|
146
|
+
type Actions = typeof all;
|
|
147
|
+
|
|
148
|
+
type spxUpdatePending_actions_d_Actions = Actions;
|
|
149
|
+
declare const spxUpdatePending_actions_d_acceptUpdate: typeof acceptUpdate;
|
|
150
|
+
declare const spxUpdatePending_actions_d_hasBeenDownloaded: typeof hasBeenDownloaded;
|
|
151
|
+
declare const spxUpdatePending_actions_d_hasBeenInstalled: typeof hasBeenInstalled;
|
|
152
|
+
declare const spxUpdatePending_actions_d_postpone: typeof postpone;
|
|
153
|
+
declare const spxUpdatePending_actions_d_postponeExpired: typeof postponeExpired;
|
|
154
|
+
declare namespace spxUpdatePending_actions_d {
|
|
155
|
+
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 };
|
|
156
|
+
export type { spxUpdatePending_actions_d_Actions as Actions };
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
declare class Effects {
|
|
160
|
+
private readonly actions$;
|
|
161
|
+
constructor(actions$: Actions$2);
|
|
162
|
+
whenAccepted$: Observable<any>;
|
|
163
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Effects, never>;
|
|
164
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Effects>;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
type spxUpdatePending_effects_d_Effects = Effects;
|
|
168
|
+
declare const spxUpdatePending_effects_d_Effects: typeof Effects;
|
|
169
|
+
declare namespace spxUpdatePending_effects_d {
|
|
170
|
+
export {
|
|
171
|
+
spxUpdatePending_effects_d_Effects as Effects,
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
interface StateI {
|
|
176
|
+
showLiveUpdateReady: boolean;
|
|
177
|
+
updateIsDownloadedAndPending: boolean;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
type spxUpdatePending_state_d_StateI = StateI;
|
|
181
|
+
declare namespace spxUpdatePending_state_d {
|
|
182
|
+
export type { spxUpdatePending_state_d_StateI as StateI };
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
declare const initialState: StateI;
|
|
186
|
+
|
|
187
|
+
declare const spxUpdatePending_initial_d_initialState: typeof initialState;
|
|
188
|
+
declare namespace spxUpdatePending_initial_d {
|
|
189
|
+
export {
|
|
190
|
+
spxUpdatePending_initial_d_initialState as initialState,
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
declare const _default: {
|
|
195
|
+
name: "spxUpdatePending";
|
|
196
|
+
reducer: _ngrx_store.ActionReducer<StateI, _ngrx_store.Action<string>>;
|
|
197
|
+
selectSpxUpdatePendingState: _ngrx_store.MemoizedSelector<Record<string, any>, StateI, (featureState: StateI) => StateI>;
|
|
198
|
+
selectShowLiveUpdateReady: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: StateI) => boolean>;
|
|
199
|
+
selectUpdateIsDownloadedAndPending: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: StateI) => boolean>;
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
declare namespace spxUpdatePending_reducer_d {
|
|
203
|
+
export {
|
|
204
|
+
_default as default,
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
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 };
|
|
@@ -1,5 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare const spxValidatorMax: (max: number) => (control: AbstractControl) => {
|
|
5
|
+
max: {
|
|
6
|
+
max: number;
|
|
7
|
+
actual: number;
|
|
8
|
+
};
|
|
9
|
+
} | null;
|
|
10
|
+
|
|
11
|
+
declare const spxValidatorMaxLength: (maximumLength: number, sanitizer?: (input: string) => string) => (control: AbstractControl) => {
|
|
12
|
+
maxlength: {
|
|
13
|
+
requiredLength: number;
|
|
14
|
+
actualLength: number;
|
|
15
|
+
};
|
|
16
|
+
} | null;
|
|
17
|
+
|
|
18
|
+
declare const spxValidatorMin: (min: number) => (control: AbstractControl) => {
|
|
19
|
+
min: {
|
|
20
|
+
min: number;
|
|
21
|
+
actual: number;
|
|
22
|
+
};
|
|
23
|
+
} | null;
|
|
24
|
+
|
|
25
|
+
declare const spxValidatorMinLength: (minimumLength: number, sanitizer?: (input: string) => string) => (control: AbstractControl) => {
|
|
26
|
+
minlength: {
|
|
27
|
+
requiredLength: number;
|
|
28
|
+
actualLength: number;
|
|
29
|
+
};
|
|
30
|
+
} | null;
|
|
31
|
+
|
|
32
|
+
declare const spxValidatorPattern: (matcher: RegExp) => (control: AbstractControl) => ValidationErrors | null;
|
|
33
|
+
|
|
34
|
+
declare const spxValidatorRequired: () => (control: AbstractControl) => ValidationErrors | null;
|
|
35
|
+
|
|
36
|
+
declare const spxValidatorYearAndMonth: (future?: boolean) => (control: AbstractControl) => ValidationErrors | null;
|
|
37
|
+
|
|
38
|
+
declare class SpxValidateControlComponent {
|
|
39
|
+
readonly control: _angular_core.InputSignal<AbstractControl<any, any>>;
|
|
40
|
+
readonly label: _angular_core.InputSignal<unknown>;
|
|
41
|
+
readonly submitTried: _angular_core.InputSignal<boolean | undefined>;
|
|
42
|
+
readonly errors: _angular_core.InputSignal<ValidationErrors | null>;
|
|
43
|
+
readonly touched: _angular_core.InputSignal<boolean>;
|
|
44
|
+
maxLength: _angular_core.Signal<any>;
|
|
45
|
+
maxLengthRequiredLength: _angular_core.Signal<any>;
|
|
46
|
+
minLength: _angular_core.Signal<any>;
|
|
47
|
+
minLengthRequiredLength: _angular_core.Signal<any>;
|
|
48
|
+
max: _angular_core.Signal<any>;
|
|
49
|
+
maxRequiredMax: _angular_core.Signal<any>;
|
|
50
|
+
min: _angular_core.Signal<any>;
|
|
51
|
+
minRequiredMin: _angular_core.Signal<any>;
|
|
52
|
+
pattern: _angular_core.Signal<any>;
|
|
53
|
+
required: _angular_core.Signal<any>;
|
|
54
|
+
year: _angular_core.Signal<any>;
|
|
55
|
+
yearFuture: _angular_core.Signal<any>;
|
|
56
|
+
month: _angular_core.Signal<any>;
|
|
57
|
+
future: _angular_core.Signal<any>;
|
|
58
|
+
past: _angular_core.Signal<any>;
|
|
59
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxValidateControlComponent, never>;
|
|
60
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxValidateControlComponent, "spx-validate-control", never, { "control": { "alias": "control"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "submitTried": { "alias": "submitTried"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": true; "isSignal": true; }; "touched": { "alias": "touched"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export { SpxValidateControlComponent, spxValidatorMax, spxValidatorMaxLength, spxValidatorMin, spxValidatorMinLength, spxValidatorPattern, spxValidatorRequired, spxValidatorYearAndMonth };
|
|
@@ -1,5 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ValidationErrors, AbstractControl } from '@angular/forms';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
|
|
5
|
+
declare class SpxValidationMessagesComponent {
|
|
6
|
+
readonly errors: _angular_core.InputSignal<ValidationErrors>;
|
|
7
|
+
readonly touched: _angular_core.InputSignal<boolean>;
|
|
8
|
+
readonly formControlI: _angular_core.InputSignal<AbstractControl<any, any> | undefined>;
|
|
9
|
+
readonly fieldLabel: _angular_core.InputSignal<string | undefined>;
|
|
10
|
+
readonly submitTried: _angular_core.InputSignal<boolean | undefined>;
|
|
11
|
+
translateService: TranslateService;
|
|
12
|
+
textTooLong: _angular_core.Signal<any>;
|
|
13
|
+
textTooShort: _angular_core.Signal<any>;
|
|
14
|
+
textTooHigh: _angular_core.Signal<any>;
|
|
15
|
+
textTooLow: _angular_core.Signal<any>;
|
|
16
|
+
textPatternNotValid: _angular_core.Signal<any>;
|
|
17
|
+
textRequired: _angular_core.Signal<any>;
|
|
18
|
+
textChoosePast: _angular_core.Signal<any>;
|
|
19
|
+
textChooseFuture: _angular_core.Signal<any>;
|
|
20
|
+
textChooseValidMonth: _angular_core.Signal<any>;
|
|
21
|
+
textDateMayNotBeFuture: _angular_core.Signal<any>;
|
|
22
|
+
textDateMayNotBePast: _angular_core.Signal<any>;
|
|
23
|
+
textInvalidCode: _angular_core.Signal<any>;
|
|
24
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxValidationMessagesComponent, never>;
|
|
25
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxValidationMessagesComponent, "spx-validation-messages", never, { "errors": { "alias": "errors"; "required": true; "isSignal": true; }; "touched": { "alias": "touched"; "required": true; "isSignal": true; }; "formControlI": { "alias": "formControlI"; "required": false; "isSignal": true; }; "fieldLabel": { "alias": "fieldLabel"; "required": false; "isSignal": true; }; "submitTried": { "alias": "submitTried"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { SpxValidationMessagesComponent };
|
package/spx-welcome/index.d.ts
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
+
import * as _softpak_components_spx_app_configuration from '@softpak/components/spx-app-configuration';
|
|
4
|
+
import { SpxAppChannelTypeEnum } from '@softpak/components/spx-app-configuration';
|
|
5
|
+
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
6
|
+
import { Store } from '@ngrx/store';
|
|
7
|
+
import { SpxFormI } from '@softpak/components/spx-form-view';
|
|
8
|
+
import { SpxValuePair } from '@softpak/components/spx-inputs';
|
|
9
|
+
|
|
10
|
+
declare const spxSectionWelcome = "welcome";
|
|
11
|
+
declare const spxCtrlChannel = "channel";
|
|
12
|
+
declare const spxCtrlChannelType = "channelType";
|
|
13
|
+
declare class SpxWelcomeComponent implements OnInit, OnDestroy {
|
|
14
|
+
private readonly store;
|
|
15
|
+
private readonly formBuilder;
|
|
16
|
+
allChannels: _angular_core.Signal<_softpak_components_spx_app_configuration.SpxAppChannelI[] | undefined>;
|
|
17
|
+
allBrands: _angular_core.Signal<{
|
|
18
|
+
description: string;
|
|
19
|
+
value: string;
|
|
20
|
+
}[] | undefined>;
|
|
21
|
+
inputBrand: _angular_core.WritableSignal<string | null>;
|
|
22
|
+
inputChannelType: _angular_core.WritableSignal<SpxAppChannelTypeEnum | null>;
|
|
23
|
+
selectedBrand: _angular_core.Signal<_softpak_components_spx_app_configuration.SpxAppChannelI | undefined>;
|
|
24
|
+
channelTypeSuggestions: _angular_core.Signal<{
|
|
25
|
+
description: SpxAppChannelTypeEnum;
|
|
26
|
+
value: SpxAppChannelTypeEnum;
|
|
27
|
+
}[] | undefined>;
|
|
28
|
+
protected readonly formGroup: _angular_core.WritableSignal<FormGroup<any> | undefined>;
|
|
29
|
+
protected readonly suggestions: _angular_core.WritableSignal<{
|
|
30
|
+
channelType?: SpxValuePair<string>[];
|
|
31
|
+
channel?: SpxValuePair<string>[];
|
|
32
|
+
}>;
|
|
33
|
+
textChannel: string;
|
|
34
|
+
textCompany: string;
|
|
35
|
+
textSelect: string;
|
|
36
|
+
textSelectYourCompany: string;
|
|
37
|
+
protected readonly formSection: _angular_core.Signal<FormGroup<any>>;
|
|
38
|
+
private readonly ctrlChannel;
|
|
39
|
+
private readonly ctrlChannelType;
|
|
40
|
+
private subscriptions;
|
|
41
|
+
protected readonly form: _angular_core.WritableSignal<SpxFormI>;
|
|
42
|
+
constructor(store: Store, formBuilder: FormBuilder);
|
|
43
|
+
ngOnDestroy(): void;
|
|
44
|
+
ngOnInit(): void;
|
|
45
|
+
protected onSubmit(): void;
|
|
46
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxWelcomeComponent, never>;
|
|
47
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxWelcomeComponent, "spx-welcome", never, {}, {}, never, never, true, never>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { SpxWelcomeComponent, spxCtrlChannel, spxCtrlChannelType, spxSectionWelcome };
|
package/placeholder.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const softpakNgComponent = "Softpak NG Components";
|
package/public_api.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './placeholder';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './spx-404-page.component';
|