@softpak/components 20.0.1 → 20.1.0
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 +12 -12
- 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/index.d.ts +3 -5
- package/package.json +26 -26
- package/spx-404-page/index.d.ts +18 -5
- package/spx-alert/index.d.ts +34 -5
- package/spx-app-configuration/index.d.ts +66 -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 +67 -5
- package/spx-channel-selection/index.d.ts +163 -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 +94 -5
- package/spx-helpers/index.d.ts +22 -5
- package/spx-inputs/index.d.ts +330 -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 +98 -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/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 -7
- 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 -6
- 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 -58
- package/spx-channel-selection/public-api.d.ts +0 -8
- package/spx-channel-selection/src/spx-channel-guard.d.ts +0 -9
- package/spx-channel-selection/src/spx-channel-indicator.component.d.ts +0 -14
- package/spx-channel-selection/src/spx-channel-selection-url.d.ts +0 -1
- package/spx-channel-selection/src/spx-welcome.component.d.ts +0 -44
- package/spx-channel-selection/store/spx-channel/spx-channel.actions.d.ts +0 -21
- package/spx-channel-selection/store/spx-channel/spx-channel.effects.d.ts +0 -17
- package/spx-channel-selection/store/spx-channel/spx-channel.initial.d.ts +0 -2
- package/spx-channel-selection/store/spx-channel/spx-channel.reducer.d.ts +0 -12
- package/spx-channel-selection/store/spx-channel/spx-channel.state.d.ts +0 -7
- 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 -6
- package/spx-form-view/spx-autocomplete-search.component.d.ts +0 -41
- 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 -18
- package/spx-form-view/spx-form-section.interface.d.ts +0 -9
- package/spx-form-view/spx-form-view.component.d.ts +0 -49
- 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 -6
- 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 -34
- 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 -74
- 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 -85
- 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
|
@@ -1,5 +1,66 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare enum SpxAppLangEnum {
|
|
2
|
+
english = "en",
|
|
3
|
+
dutch = "nl"
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
interface SpxAppAlertI {
|
|
7
|
+
lang: SpxAppLangEnum;
|
|
8
|
+
title: string;
|
|
9
|
+
message: string;
|
|
10
|
+
brands?: string[];
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
interface SpxAppBundleSetI {
|
|
14
|
+
android: string;
|
|
15
|
+
iOS: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare enum SpxAppChannelTypeEnum {
|
|
19
|
+
production = "Production",
|
|
20
|
+
beta = "Beta",
|
|
21
|
+
alpha = "Alpha",
|
|
22
|
+
development = "Development"
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
interface SpxAppChannelI {
|
|
26
|
+
backendCompanyCode: string;
|
|
27
|
+
brand: string;
|
|
28
|
+
catalogFileName: string;
|
|
29
|
+
catalogPrefix: string;
|
|
30
|
+
channelTypes: SpxAppChannelTypeEnum[];
|
|
31
|
+
default?: boolean;
|
|
32
|
+
serviceURI: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
declare enum SpxAppIdEnum {
|
|
36
|
+
container = "container",
|
|
37
|
+
depot = "depot",
|
|
38
|
+
eucon = "eucon",
|
|
39
|
+
orders = "orders"
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
interface SpxAppReleaseNoteI {
|
|
43
|
+
lang: SpxAppLangEnum;
|
|
44
|
+
liveUpdate: number;
|
|
45
|
+
title: string;
|
|
46
|
+
message: string;
|
|
47
|
+
brands?: string[];
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
interface SpxAppConfigI {
|
|
51
|
+
id: SpxAppIdEnum;
|
|
52
|
+
appflowId: string;
|
|
53
|
+
versions: {
|
|
54
|
+
next: SpxAppBundleSetI;
|
|
55
|
+
current: SpxAppBundleSetI;
|
|
56
|
+
orange: SpxAppBundleSetI;
|
|
57
|
+
yellow: SpxAppBundleSetI;
|
|
58
|
+
red: SpxAppBundleSetI;
|
|
59
|
+
};
|
|
60
|
+
alerts: SpxAppAlertI[];
|
|
61
|
+
releaseNotes: SpxAppReleaseNoteI[];
|
|
62
|
+
channels: SpxAppChannelI[];
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export { SpxAppChannelTypeEnum, SpxAppIdEnum, SpxAppLangEnum };
|
|
66
|
+
export type { SpxAppAlertI, SpxAppBundleSetI, SpxAppChannelI, SpxAppConfigI };
|
|
@@ -1,5 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnChanges } from '@angular/core';
|
|
3
|
+
import { DateTime } from 'luxon';
|
|
4
|
+
|
|
5
|
+
interface SpxAppExpiryI {
|
|
6
|
+
requiredVersion: string;
|
|
7
|
+
warning: DateTime;
|
|
8
|
+
finalWarning: DateTime;
|
|
9
|
+
expiry: DateTime;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare class SpxAppExpiryComponent implements OnChanges {
|
|
13
|
+
readonly txtContactHelpdeskOrSoftpak: _angular_core.InputSignal<string>;
|
|
14
|
+
readonly txtExpired: _angular_core.InputSignal<string>;
|
|
15
|
+
readonly txtLastReminder: _angular_core.InputSignal<string>;
|
|
16
|
+
readonly txtPleaseOpenTheAppStore: _angular_core.InputSignal<string>;
|
|
17
|
+
readonly txtPleaseUpdate: _angular_core.InputSignal<string>;
|
|
18
|
+
readonly txtThisVersionWillExpireSoon: _angular_core.InputSignal<string>;
|
|
19
|
+
readonly txtUpdateAvailable: _angular_core.InputSignal<string>;
|
|
20
|
+
readonly txtUpdateTheAppToTheLatestVersion: _angular_core.InputSignal<string>;
|
|
21
|
+
readonly spxExpiry: _angular_core.InputSignal<SpxAppExpiryI>;
|
|
22
|
+
readonly spxVersion: _angular_core.InputSignal<string>;
|
|
23
|
+
warning: _angular_core.WritableSignal<boolean>;
|
|
24
|
+
finalWarning: _angular_core.WritableSignal<boolean>;
|
|
25
|
+
expired: _angular_core.WritableSignal<boolean>;
|
|
26
|
+
ngOnChanges(): void;
|
|
27
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxAppExpiryComponent, never>;
|
|
28
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxAppExpiryComponent, "spx-app-expiry", never, { "txtContactHelpdeskOrSoftpak": { "alias": "txtContactHelpdeskOrSoftpak"; "required": true; "isSignal": true; }; "txtExpired": { "alias": "txtExpired"; "required": true; "isSignal": true; }; "txtLastReminder": { "alias": "txtLastReminder"; "required": true; "isSignal": true; }; "txtPleaseOpenTheAppStore": { "alias": "txtPleaseOpenTheAppStore"; "required": true; "isSignal": true; }; "txtPleaseUpdate": { "alias": "txtPleaseUpdate"; "required": true; "isSignal": true; }; "txtThisVersionWillExpireSoon": { "alias": "txtThisVersionWillExpireSoon"; "required": true; "isSignal": true; }; "txtUpdateAvailable": { "alias": "txtUpdateAvailable"; "required": true; "isSignal": true; }; "txtUpdateTheAppToTheLatestVersion": { "alias": "txtUpdateTheAppToTheLatestVersion"; "required": true; "isSignal": true; }; "spxExpiry": { "alias": "spxExpiry"; "required": true; "isSignal": true; }; "spxVersion": { "alias": "spxVersion"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare const spxCheckExpiryFinalWarning: (appStoreVersion: string, spxAppExpiry?: SpxAppExpiryI) => boolean;
|
|
32
|
+
|
|
33
|
+
declare const spxCheckExpiryHappened: (appStoreVersion: string, spxAppExpiry: SpxAppExpiryI) => boolean;
|
|
34
|
+
|
|
35
|
+
declare const spxCheckExpiryWarning: (appStoreVersion: string, spxAppExpiry?: SpxAppExpiryI) => boolean;
|
|
36
|
+
|
|
37
|
+
export { SpxAppExpiryComponent, spxCheckExpiryFinalWarning, spxCheckExpiryHappened, spxCheckExpiryWarning };
|
|
38
|
+
export type { SpxAppExpiryI };
|
package/spx-button/index.d.ts
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import { SpxSeverityEnum } from '@softpak/components/spx-helpers';
|
|
4
|
+
|
|
5
|
+
declare class SpxButtonComponent {
|
|
6
|
+
readonly spxDisabled: _angular_core.InputSignal<boolean>;
|
|
7
|
+
readonly spxClass: _angular_core.InputSignal<string | undefined>;
|
|
8
|
+
readonly spxClassObject: _angular_core.InputSignal<object | undefined>;
|
|
9
|
+
readonly spxForm: _angular_core.InputSignal<string | undefined>;
|
|
10
|
+
readonly spxFullHeight: _angular_core.InputSignal<boolean | undefined>;
|
|
11
|
+
readonly spxFullWidth: _angular_core.InputSignal<boolean | undefined>;
|
|
12
|
+
readonly spxSeverity: _angular_core.InputSignal<SpxSeverityEnum | undefined>;
|
|
13
|
+
readonly spxSize: _angular_core.InputSignal<"lg" | "xl">;
|
|
14
|
+
readonly spxTabIndex: _angular_core.InputSignal<number | undefined>;
|
|
15
|
+
readonly spxType: _angular_core.InputSignal<"button" | "submit">;
|
|
16
|
+
spxClick: _angular_core.OutputEmitterRef<void>;
|
|
17
|
+
buttonRef: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
18
|
+
SpxSeverity: typeof SpxSeverityEnum;
|
|
19
|
+
hasShadowDom: (el: HTMLElement) => boolean;
|
|
20
|
+
handleClick: () => void;
|
|
21
|
+
spxSetFocus(): void;
|
|
22
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxButtonComponent, never>;
|
|
23
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxButtonComponent, "spx-button", never, { "spxDisabled": { "alias": "spxDisabled"; "required": false; "isSignal": true; }; "spxClass": { "alias": "spxClass"; "required": false; "isSignal": true; }; "spxClassObject": { "alias": "spxClassObject"; "required": false; "isSignal": true; }; "spxForm": { "alias": "spxForm"; "required": false; "isSignal": true; }; "spxFullHeight": { "alias": "spxFullHeight"; "required": false; "isSignal": true; }; "spxFullWidth": { "alias": "spxFullWidth"; "required": false; "isSignal": true; }; "spxSeverity": { "alias": "spxSeverity"; "required": false; "isSignal": true; }; "spxSize": { "alias": "spxSize"; "required": false; "isSignal": true; }; "spxTabIndex": { "alias": "spxTabIndex"; "required": false; "isSignal": true; }; "spxType": { "alias": "spxType"; "required": false; "isSignal": true; }; }, { "spxClick": "spxClick"; }, never, ["*"], true, never>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { SpxButtonComponent };
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { PipeTransform } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class SpxCapitalizePipe implements PipeTransform {
|
|
5
|
+
transform(value: string, ..._args: unknown[]): string;
|
|
6
|
+
static transform(value: string, ..._args: unknown[]): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpxCapitalizePipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SpxCapitalizePipe, "capitalize", true>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { SpxCapitalizePipe };
|
package/spx-card/index.d.ts
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { IconDefinition } from '@fortawesome/angular-fontawesome';
|
|
3
|
+
import { SpxSeverityEnum } from '@softpak/components/spx-helpers';
|
|
4
|
+
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
5
|
+
|
|
6
|
+
declare class SpxCardComponent {
|
|
7
|
+
readonly clickable: _angular_core.InputSignal<boolean>;
|
|
8
|
+
readonly hasContent: _angular_core.InputSignal<boolean>;
|
|
9
|
+
readonly onDetailPage: _angular_core.InputSignal<boolean>;
|
|
10
|
+
readonly text: _angular_core.InputSignal<string | undefined>;
|
|
11
|
+
readonly unit: _angular_core.InputSignal<string | undefined>;
|
|
12
|
+
readonly tableView: _angular_core.InputSignal<boolean>;
|
|
13
|
+
clicked: _angular_core.OutputEmitterRef<void>;
|
|
14
|
+
constructor();
|
|
15
|
+
displayValue(val: string | number): string | number;
|
|
16
|
+
onClick(): void;
|
|
17
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxCardComponent, never>;
|
|
18
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxCardComponent, "spx-card", never, { "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "hasContent": { "alias": "hasContent"; "required": false; "isSignal": true; }; "onDetailPage": { "alias": "onDetailPage"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "tableView": { "alias": "tableView"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, ["[card-header]", "[card-content-top]", "[card-content]", "[card-content-bottom]", "[card-lines]"], true, never>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare class SpxCardItemComponent {
|
|
22
|
+
readonly icon: _angular_core.InputSignal<IconDefinition | undefined>;
|
|
23
|
+
readonly iconOnly: _angular_core.InputSignal<boolean>;
|
|
24
|
+
readonly spxLabel: _angular_core.InputSignal<string>;
|
|
25
|
+
readonly spxValue: _angular_core.InputSignal<string | undefined>;
|
|
26
|
+
readonly spxSeverity: _angular_core.InputSignal<SpxSeverityEnum | undefined>;
|
|
27
|
+
readonly spxIconSeverity: _angular_core.InputSignal<SpxSeverityEnum | undefined>;
|
|
28
|
+
SpxSeverityEnum: typeof SpxSeverityEnum;
|
|
29
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxCardItemComponent, never>;
|
|
30
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxCardItemComponent, "spx-card-item", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "spxLabel": { "alias": "spxLabel"; "required": true; "isSignal": true; }; "spxValue": { "alias": "spxValue"; "required": false; "isSignal": true; }; "spxSeverity": { "alias": "spxSeverity"; "required": false; "isSignal": true; }; "spxIconSeverity": { "alias": "spxIconSeverity"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare class SpxCardGridComponent {
|
|
34
|
+
readonly minWidth2Columns: _angular_core.InputSignal<300 | 320 | 340 | 360 | 380 | 400 | 420 | 440 | 460 | undefined>;
|
|
35
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxCardGridComponent, never>;
|
|
36
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxCardGridComponent, "spx-card-grid", never, { "minWidth2Columns": { "alias": "minWidth2Columns"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
declare class SpxCardLineComponent {
|
|
40
|
+
readonly icon: _angular_core.InputSignal<IconProp | undefined>;
|
|
41
|
+
readonly showPositiveOrNegative: _angular_core.InputSignal<boolean>;
|
|
42
|
+
readonly text: _angular_core.InputSignal<unknown>;
|
|
43
|
+
readonly value: _angular_core.ModelSignal<string | number>;
|
|
44
|
+
readonly secondValue: _angular_core.InputSignal<string | number | undefined>;
|
|
45
|
+
readonly showProgress: _angular_core.InputSignal<boolean | undefined>;
|
|
46
|
+
readonly unit: _angular_core.InputSignal<string | undefined>;
|
|
47
|
+
readonly newOrderScreen: _angular_core.InputSignal<boolean>;
|
|
48
|
+
numericValue: _angular_core.Signal<number>;
|
|
49
|
+
displayValue(val: string | number | unknown): string | number | unknown;
|
|
50
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxCardLineComponent, never>;
|
|
51
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxCardLineComponent, "spx-card-line", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "showPositiveOrNegative": { "alias": "showPositiveOrNegative"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "secondValue": { "alias": "secondValue"; "required": false; "isSignal": true; }; "showProgress": { "alias": "showProgress"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "newOrderScreen": { "alias": "newOrderScreen"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["*"], true, never>;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { SpxCardComponent, SpxCardGridComponent, SpxCardItemComponent, SpxCardLineComponent };
|
|
@@ -1,5 +1,67 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup, FormControl } from '@angular/forms';
|
|
3
|
+
import { SpxValuePair } from '@softpak/components/spx-inputs';
|
|
4
|
+
import { SpxFormI, SpxFormFieldI } from '@softpak/components/spx-form-view';
|
|
5
|
+
|
|
6
|
+
interface SpxChangeDetailsValueI {
|
|
7
|
+
category?: SpxValuePair<string>;
|
|
8
|
+
containerType: SpxValuePair<string>;
|
|
9
|
+
licensePlate: SpxValuePair<string>;
|
|
10
|
+
tonsTested: SpxValuePair<string>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare const spxSectionChangeDetails = "changeDetails";
|
|
14
|
+
declare const spxCtrlContainerNumber = "containerNumber";
|
|
15
|
+
declare const spxCtrlContainerSeqNr = "containerSeqNr";
|
|
16
|
+
declare const spxCtrlContainerType = "containerType";
|
|
17
|
+
declare const spxCtrlCustomer = "customer";
|
|
18
|
+
declare const spxCtrlTonsTested = "tonsTested";
|
|
19
|
+
declare const spxCtrlLicensePlate = "licensePlate";
|
|
20
|
+
declare const spxCtrlCategory = "category";
|
|
21
|
+
declare const spxCtrlUseCategories = "useCategories";
|
|
22
|
+
declare class SpxChangeDetailsComponent {
|
|
23
|
+
readonly formBuilder: FormBuilder;
|
|
24
|
+
readonly formGroup: _angular_core.InputSignal<FormGroup<any> | undefined>;
|
|
25
|
+
readonly suggestions: _angular_core.InputSignal<any>;
|
|
26
|
+
private readonly showTonsTested;
|
|
27
|
+
readonly textCategory: _angular_core.InputSignal<string | undefined>;
|
|
28
|
+
readonly textContainerNumber: _angular_core.InputSignal<string | undefined>;
|
|
29
|
+
readonly textContainerType: _angular_core.InputSignal<string | undefined>;
|
|
30
|
+
readonly textCustomer: _angular_core.InputSignal<string | undefined>;
|
|
31
|
+
readonly textLicensePlate: _angular_core.InputSignal<string | undefined>;
|
|
32
|
+
readonly textSave: _angular_core.InputSignal<string | undefined>;
|
|
33
|
+
readonly textTonsTested: _angular_core.InputSignal<string | undefined>;
|
|
34
|
+
spxBlurCategory: _angular_core.OutputEmitterRef<SpxValuePair<string>>;
|
|
35
|
+
spxBlurContainerType: _angular_core.OutputEmitterRef<SpxValuePair<string>>;
|
|
36
|
+
spxSearchCategory: _angular_core.OutputEmitterRef<SpxValuePair<string>>;
|
|
37
|
+
spxSearchContainerType: _angular_core.OutputEmitterRef<SpxValuePair<string>>;
|
|
38
|
+
spxSearchTonsTested: _angular_core.OutputEmitterRef<SpxValuePair<string>>;
|
|
39
|
+
submit: _angular_core.OutputEmitterRef<SpxChangeDetailsValueI>;
|
|
40
|
+
form: SpxFormI;
|
|
41
|
+
readonly ctrlCategory: _angular_core.Signal<FormControl<any>>;
|
|
42
|
+
readonly ctrlCustomer: _angular_core.Signal<FormControl<any>>;
|
|
43
|
+
readonly ctrlContainerType: _angular_core.Signal<FormControl<any>>;
|
|
44
|
+
readonly ctrlLicensePlate: _angular_core.Signal<FormControl<any>>;
|
|
45
|
+
readonly ctrlTonsTested: _angular_core.Signal<FormControl<any>>;
|
|
46
|
+
readonly ctrlUseCategories: _angular_core.Signal<FormControl<any>>;
|
|
47
|
+
private subContainerType?;
|
|
48
|
+
constructor(formBuilder: FormBuilder);
|
|
49
|
+
createForm(): FormGroup;
|
|
50
|
+
ngOnInit(): void;
|
|
51
|
+
ngOnDestroy(): void;
|
|
52
|
+
getRawValidators(formControl: FormControl): any;
|
|
53
|
+
onBlur(data: {
|
|
54
|
+
field: SpxFormFieldI;
|
|
55
|
+
valuePair: SpxValuePair<any>;
|
|
56
|
+
}): void;
|
|
57
|
+
onSearch(data: {
|
|
58
|
+
field: SpxFormFieldI;
|
|
59
|
+
valuePair: SpxValuePair<any>;
|
|
60
|
+
}): void;
|
|
61
|
+
onSubmit(): void;
|
|
62
|
+
private listenToContainerType;
|
|
63
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxChangeDetailsComponent, never>;
|
|
64
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxChangeDetailsComponent, "spx-change-details", never, { "formGroup": { "alias": "formGroup"; "required": false; "isSignal": true; }; "suggestions": { "alias": "suggestions"; "required": false; "isSignal": true; }; "textCategory": { "alias": "textCategory"; "required": false; "isSignal": true; }; "textContainerNumber": { "alias": "textContainerNumber"; "required": false; "isSignal": true; }; "textContainerType": { "alias": "textContainerType"; "required": false; "isSignal": true; }; "textCustomer": { "alias": "textCustomer"; "required": false; "isSignal": true; }; "textLicensePlate": { "alias": "textLicensePlate"; "required": false; "isSignal": true; }; "textSave": { "alias": "textSave"; "required": false; "isSignal": true; }; "textTonsTested": { "alias": "textTonsTested"; "required": false; "isSignal": true; }; }, { "spxBlurCategory": "spxBlurCategory"; "spxBlurContainerType": "spxBlurContainerType"; "spxSearchCategory": "spxSearchCategory"; "spxSearchContainerType": "spxSearchContainerType"; "spxSearchTonsTested": "spxSearchTonsTested"; "submit": "submit"; }, never, never, true, never>;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export { SpxChangeDetailsComponent, spxCtrlCategory, spxCtrlContainerNumber, spxCtrlContainerSeqNr, spxCtrlContainerType, spxCtrlCustomer, spxCtrlLicensePlate, spxCtrlTonsTested, spxCtrlUseCategories, spxSectionChangeDetails };
|
|
@@ -1,5 +1,163 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
4
|
+
import * as rxjs from 'rxjs';
|
|
5
|
+
import * as _softpak_components_spx_app_configuration from '@softpak/components/spx-app-configuration';
|
|
6
|
+
import { SpxAppChannelI, SpxAppChannelTypeEnum } from '@softpak/components/spx-app-configuration';
|
|
7
|
+
import * as _ngrx_store from '@ngrx/store';
|
|
8
|
+
import { Store } from '@ngrx/store';
|
|
9
|
+
import { NavController } from '@ionic/angular';
|
|
10
|
+
import { FormBuilder, FormGroup, FormControl } from '@angular/forms';
|
|
11
|
+
import { SpxFormI } from '@softpak/components/spx-form-view';
|
|
12
|
+
import { SpxValuePair } from '@softpak/components/spx-inputs';
|
|
13
|
+
import * as _ngrx_effects from '@ngrx/effects';
|
|
14
|
+
import { Actions as Actions$1 } from '@ngrx/effects';
|
|
15
|
+
import { SpxToasterAutoCloseSpeedEnum } from '@softpak/components/spx-toaster';
|
|
16
|
+
|
|
17
|
+
declare class SpxChannelGuard {
|
|
18
|
+
router: Router;
|
|
19
|
+
constructor(router: Router);
|
|
20
|
+
canActivate(): boolean;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpxChannelGuard, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SpxChannelGuard>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare class SpxChannelIndicatorComponent {
|
|
26
|
+
private navController;
|
|
27
|
+
private store;
|
|
28
|
+
channel: rxjs.Observable<_softpak_components_spx_app_configuration.SpxAppChannelI | null>;
|
|
29
|
+
channelType: rxjs.Observable<_softpak_components_spx_app_configuration.SpxAppChannelTypeEnum | null>;
|
|
30
|
+
spxTextChange: string;
|
|
31
|
+
constructor(navController: NavController, store: Store);
|
|
32
|
+
onChange(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpxChannelIndicatorComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxChannelIndicatorComponent, "spx-channel-indicator", never, {}, {}, never, never, true, never>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare const spxCectionWelcome = "welcome";
|
|
38
|
+
declare const spxCtrlChannel = "channel";
|
|
39
|
+
declare const spxCtrlChannelType = "channelType";
|
|
40
|
+
interface SpxWelcomeValueI {
|
|
41
|
+
[spxCtrlChannel]?: SpxAppChannelI;
|
|
42
|
+
[spxCtrlChannelType]: SpxAppChannelTypeEnum;
|
|
43
|
+
}
|
|
44
|
+
declare class SpxWelcomeComponent implements OnInit, OnDestroy {
|
|
45
|
+
private readonly appStore;
|
|
46
|
+
readonly formBuilder: FormBuilder;
|
|
47
|
+
channels: i0.WritableSignal<SpxAppChannelI[]>;
|
|
48
|
+
filteredCompanies: i0.Signal<{
|
|
49
|
+
description: string;
|
|
50
|
+
value: string;
|
|
51
|
+
}[]>;
|
|
52
|
+
channelTypes: SpxAppChannelTypeEnum[];
|
|
53
|
+
formGroup: FormGroup;
|
|
54
|
+
textChannel: string;
|
|
55
|
+
textCompany: string;
|
|
56
|
+
textSelect: string;
|
|
57
|
+
textSelectYourCompany: string;
|
|
58
|
+
suggestions: {
|
|
59
|
+
[spxCtrlChannelType]?: SpxValuePair<string>[];
|
|
60
|
+
[spxCtrlChannel]?: SpxValuePair<string>[];
|
|
61
|
+
};
|
|
62
|
+
get formSection(): FormGroup;
|
|
63
|
+
get ctrlChannel(): FormControl;
|
|
64
|
+
get ctrlChannelType(): FormControl;
|
|
65
|
+
private subscriptions;
|
|
66
|
+
form: SpxFormI;
|
|
67
|
+
constructor(appStore: Store, formBuilder: FormBuilder);
|
|
68
|
+
ngOnDestroy(): void;
|
|
69
|
+
ngOnInit(): void;
|
|
70
|
+
onSubmit(): void;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpxWelcomeComponent, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxWelcomeComponent, "spx-welcome", never, {}, {}, never, never, true, never>;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
declare const choose: _ngrx_store.ActionCreator<"[SPX / Channel] Select", (props: {
|
|
76
|
+
channel: SpxAppChannelI;
|
|
77
|
+
channelType: SpxAppChannelTypeEnum;
|
|
78
|
+
}) => {
|
|
79
|
+
channel: SpxAppChannelI;
|
|
80
|
+
channelType: SpxAppChannelTypeEnum;
|
|
81
|
+
} & _ngrx_store.Action<"[SPX / Channel] Select">>;
|
|
82
|
+
declare const initialize: _ngrx_store.ActionCreator<"[SPX / Channel] Initialize", (props: {
|
|
83
|
+
channels: SpxAppChannelI[];
|
|
84
|
+
}) => {
|
|
85
|
+
channels: SpxAppChannelI[];
|
|
86
|
+
} & _ngrx_store.Action<"[SPX / Channel] Initialize">>;
|
|
87
|
+
declare const all: ({
|
|
88
|
+
channel: SpxAppChannelI;
|
|
89
|
+
channelType: SpxAppChannelTypeEnum;
|
|
90
|
+
} & _ngrx_store.Action<"[SPX / Channel] Select">) | ({
|
|
91
|
+
channels: SpxAppChannelI[];
|
|
92
|
+
} & _ngrx_store.Action<"[SPX / Channel] Initialize">);
|
|
93
|
+
type Actions = typeof all;
|
|
94
|
+
|
|
95
|
+
type spxChannel_actions_d_Actions = Actions;
|
|
96
|
+
declare const spxChannel_actions_d_choose: typeof choose;
|
|
97
|
+
declare const spxChannel_actions_d_initialize: typeof initialize;
|
|
98
|
+
declare namespace spxChannel_actions_d {
|
|
99
|
+
export { spxChannel_actions_d_choose as choose, spxChannel_actions_d_initialize as initialize };
|
|
100
|
+
export type { spxChannel_actions_d_Actions as Actions };
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
declare class Effects {
|
|
104
|
+
private readonly actions$;
|
|
105
|
+
private readonly router;
|
|
106
|
+
onChoose$: rxjs.Observable<{
|
|
107
|
+
autoClose?: number | SpxToasterAutoCloseSpeedEnum;
|
|
108
|
+
closeable?: boolean;
|
|
109
|
+
messageText: string;
|
|
110
|
+
title?: string;
|
|
111
|
+
} & _ngrx_store.Action<"[SPX / Toaster] Create success">> & _ngrx_effects.CreateEffectMetadata;
|
|
112
|
+
constructor(actions$: Actions$1, router: Router);
|
|
113
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Effects, never>;
|
|
114
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Effects>;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
type spxChannel_effects_d_Effects = Effects;
|
|
118
|
+
declare const spxChannel_effects_d_Effects: typeof Effects;
|
|
119
|
+
declare namespace spxChannel_effects_d {
|
|
120
|
+
export {
|
|
121
|
+
spxChannel_effects_d_Effects as Effects,
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
interface StateI {
|
|
126
|
+
previousChannel: SpxAppChannelI | null;
|
|
127
|
+
channel: SpxAppChannelI | null;
|
|
128
|
+
channels: SpxAppChannelI[];
|
|
129
|
+
channelType: SpxAppChannelTypeEnum | null;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
type spxChannel_state_d_StateI = StateI;
|
|
133
|
+
declare namespace spxChannel_state_d {
|
|
134
|
+
export type { spxChannel_state_d_StateI as StateI };
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
declare const initialState: StateI;
|
|
138
|
+
|
|
139
|
+
declare const spxChannel_initial_d_initialState: typeof initialState;
|
|
140
|
+
declare namespace spxChannel_initial_d {
|
|
141
|
+
export {
|
|
142
|
+
spxChannel_initial_d_initialState as initialState,
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
declare const _default: {
|
|
147
|
+
name: "spxChannel";
|
|
148
|
+
reducer: _ngrx_store.ActionReducer<StateI, _ngrx_store.Action<string>>;
|
|
149
|
+
selectSpxChannelState: _ngrx_store.MemoizedSelector<Record<string, any>, StateI, (featureState: StateI) => StateI>;
|
|
150
|
+
selectChannel: _ngrx_store.MemoizedSelector<Record<string, any>, SpxAppChannelI | null, (featureState: StateI) => SpxAppChannelI | null>;
|
|
151
|
+
selectChannelType: _ngrx_store.MemoizedSelector<Record<string, any>, SpxAppChannelTypeEnum | null, (featureState: StateI) => SpxAppChannelTypeEnum | null>;
|
|
152
|
+
selectChannels: _ngrx_store.MemoizedSelector<Record<string, any>, SpxAppChannelI[], (featureState: StateI) => SpxAppChannelI[]>;
|
|
153
|
+
selectPreviousChannel: _ngrx_store.MemoizedSelector<Record<string, any>, SpxAppChannelI | null, (featureState: StateI) => SpxAppChannelI | null>;
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
declare namespace spxChannel_reducer_d {
|
|
157
|
+
export {
|
|
158
|
+
_default as default,
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export { SpxChannelGuard, SpxChannelIndicatorComponent, SpxWelcomeComponent, spxCectionWelcome, spxChannel_actions_d as spxChannelActions, spxChannel_effects_d as spxChannelEffects, spxChannel_initial_d as spxChannelInitial, spxChannel_reducer_d as spxChannelReducer, spxChannel_state_d as spxChannelState, spxCtrlChannel, spxCtrlChannelType };
|
|
163
|
+
export type { SpxWelcomeValueI };
|
|
@@ -1,5 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { FormGroup, FormControl, FormBuilder } from '@angular/forms';
|
|
3
|
+
import { SpxInputComponent, SpxInputTypeEnum } from '@softpak/components/spx-inputs';
|
|
4
|
+
|
|
5
|
+
declare class SpxCheckDigitComponent {
|
|
6
|
+
private readonly formBuilder;
|
|
7
|
+
readonly txtCheckDigit: _angular_core.InputSignal<string>;
|
|
8
|
+
readonly txtContainer: _angular_core.InputSignal<string>;
|
|
9
|
+
readonly txtPrefix: _angular_core.InputSignal<string>;
|
|
10
|
+
ctrlContainerNumberRef: _angular_core.Signal<SpxInputComponent | undefined>;
|
|
11
|
+
inputTypeOverlayNumber: SpxInputTypeEnum;
|
|
12
|
+
inputTypeText: SpxInputTypeEnum;
|
|
13
|
+
formGroup: _angular_core.WritableSignal<FormGroup<any> | null>;
|
|
14
|
+
ctrlCheckDigit: _angular_core.Signal<FormControl<any>>;
|
|
15
|
+
ctrlContainerNumber: _angular_core.Signal<FormControl<any>>;
|
|
16
|
+
ctrlContainerPrefix: _angular_core.Signal<FormControl<any>>;
|
|
17
|
+
private inputChanges?;
|
|
18
|
+
constructor(formBuilder: FormBuilder);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
getRawValidators(formControl: FormControl): any;
|
|
23
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxCheckDigitComponent, never>;
|
|
24
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxCheckDigitComponent, "spx-check-digit", never, { "txtCheckDigit": { "alias": "txtCheckDigit"; "required": true; "isSignal": true; }; "txtContainer": { "alias": "txtContainer"; "required": true; "isSignal": true; }; "txtPrefix": { "alias": "txtPrefix"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { SpxCheckDigitComponent };
|
package/spx-confirm/index.d.ts
CHANGED
|
@@ -1,5 +1,118 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
4
|
+
import { SpxSeverityEnum } from '@softpak/components/spx-helpers';
|
|
5
|
+
import * as _ngrx_store from '@ngrx/store';
|
|
6
|
+
import { Store } from '@ngrx/store';
|
|
7
|
+
import { Actions as Actions$1 } from '@ngrx/effects';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
9
|
+
|
|
10
|
+
declare class SpxConfirmComponent {
|
|
11
|
+
id: i0.InputSignal<string>;
|
|
12
|
+
spxCancel: i0.OutputEmitterRef<string>;
|
|
13
|
+
spxConfirm: i0.OutputEmitterRef<string>;
|
|
14
|
+
faTimes: _fortawesome_fontawesome_common_types.IconDefinition;
|
|
15
|
+
severityError: SpxSeverityEnum;
|
|
16
|
+
severityInfo: SpxSeverityEnum;
|
|
17
|
+
severitySuccess: SpxSeverityEnum;
|
|
18
|
+
constructor();
|
|
19
|
+
onCancel(): void;
|
|
20
|
+
onConfirm(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpxConfirmComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxConfirmComponent, "spx-confirm", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, { "spxCancel": "spxCancel"; "spxConfirm": "spxConfirm"; }, never, ["[confirm__title]", "[confirm__content]", "[confirm__btn_cancel]", "[confirm__btn_confirm]"], true, never>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare class SpxConfirmDisplayerComponent implements OnInit, OnDestroy {
|
|
26
|
+
private readonly appStore;
|
|
27
|
+
confirms: i0.WritableSignal<{
|
|
28
|
+
content: string;
|
|
29
|
+
id: string;
|
|
30
|
+
title: string;
|
|
31
|
+
cancelled?: boolean;
|
|
32
|
+
confirmed?: boolean;
|
|
33
|
+
noYesButton?: boolean;
|
|
34
|
+
}[]>;
|
|
35
|
+
private subscriptions;
|
|
36
|
+
constructor(appStore: Store);
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
ngOnDestroy(): void;
|
|
39
|
+
onCancel(id: string): void;
|
|
40
|
+
onConfirm(id: string): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpxConfirmDisplayerComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxConfirmDisplayerComponent, "spx-confirm-displayer", never, {}, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
interface SpxConfirmI {
|
|
46
|
+
content: string;
|
|
47
|
+
id: string;
|
|
48
|
+
title: string;
|
|
49
|
+
noYesButton?: boolean;
|
|
50
|
+
onOK?: () => void;
|
|
51
|
+
onCancel?: () => void;
|
|
52
|
+
}
|
|
53
|
+
interface State {
|
|
54
|
+
confirms: SpxConfirmI[];
|
|
55
|
+
}
|
|
56
|
+
declare const _default: {
|
|
57
|
+
name: "spxConfirm";
|
|
58
|
+
reducer: _ngrx_store.ActionReducer<State, _ngrx_store.Action<string>>;
|
|
59
|
+
selectSpxConfirmState: _ngrx_store.MemoizedSelector<Record<string, any>, State, (featureState: State) => State>;
|
|
60
|
+
selectConfirms: _ngrx_store.MemoizedSelector<Record<string, any>, SpxConfirmI[], (featureState: State) => SpxConfirmI[]>;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
type spxConfirm_reducer_d_SpxConfirmI = SpxConfirmI;
|
|
64
|
+
type spxConfirm_reducer_d_State = State;
|
|
65
|
+
declare namespace spxConfirm_reducer_d {
|
|
66
|
+
export { _default as default };
|
|
67
|
+
export type { spxConfirm_reducer_d_SpxConfirmI as SpxConfirmI, spxConfirm_reducer_d_State as State };
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare const answer: _ngrx_store.ActionCreator<"[Confirm] Answer", (props: {
|
|
71
|
+
cancel?: boolean;
|
|
72
|
+
confirm?: boolean;
|
|
73
|
+
id: string;
|
|
74
|
+
}) => {
|
|
75
|
+
cancel?: boolean;
|
|
76
|
+
confirm?: boolean;
|
|
77
|
+
id: string;
|
|
78
|
+
} & _ngrx_store.Action<"[Confirm] Answer">>;
|
|
79
|
+
declare const reset: _ngrx_store.ActionCreator<"[Confirm] Reset", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[Confirm] Reset">>;
|
|
80
|
+
declare const show: _ngrx_store.ActionCreator<"[Confirm] Show", (props: SpxConfirmI) => SpxConfirmI & _ngrx_store.Action<"[Confirm] Show">>;
|
|
81
|
+
declare const answerConfirm: _ngrx_store.ActionCreator<"[Confirm] Answer Confirm", (props: {
|
|
82
|
+
id: string;
|
|
83
|
+
}) => {
|
|
84
|
+
id: string;
|
|
85
|
+
} & _ngrx_store.Action<"[Confirm] Answer Confirm">>;
|
|
86
|
+
declare const all: (Record<string, unknown> & _ngrx_store.Action<"[Confirm] Reset">) | (SpxConfirmI & _ngrx_store.Action<"[Confirm] Show">) | ({
|
|
87
|
+
id: string;
|
|
88
|
+
} & _ngrx_store.Action<"[Confirm] Answer Confirm">);
|
|
89
|
+
type Actions = typeof all;
|
|
90
|
+
|
|
91
|
+
type spxConfirm_actions_d_Actions = Actions;
|
|
92
|
+
declare const spxConfirm_actions_d_answer: typeof answer;
|
|
93
|
+
declare const spxConfirm_actions_d_answerConfirm: typeof answerConfirm;
|
|
94
|
+
declare const spxConfirm_actions_d_reset: typeof reset;
|
|
95
|
+
declare const spxConfirm_actions_d_show: typeof show;
|
|
96
|
+
declare namespace spxConfirm_actions_d {
|
|
97
|
+
export { spxConfirm_actions_d_answer as answer, spxConfirm_actions_d_answerConfirm as answerConfirm, spxConfirm_actions_d_reset as reset, spxConfirm_actions_d_show as show };
|
|
98
|
+
export type { spxConfirm_actions_d_Actions as Actions };
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
declare class SpxConfirmEffects {
|
|
102
|
+
private readonly actions$;
|
|
103
|
+
private readonly appStore;
|
|
104
|
+
onAnswer$: Observable<any>;
|
|
105
|
+
constructor(actions$: Actions$1, appStore: Store);
|
|
106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpxConfirmEffects, never>;
|
|
107
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SpxConfirmEffects>;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
type spxConfirm_effects_d_SpxConfirmEffects = SpxConfirmEffects;
|
|
111
|
+
declare const spxConfirm_effects_d_SpxConfirmEffects: typeof SpxConfirmEffects;
|
|
112
|
+
declare namespace spxConfirm_effects_d {
|
|
113
|
+
export {
|
|
114
|
+
spxConfirm_effects_d_SpxConfirmEffects as SpxConfirmEffects,
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export { SpxConfirmComponent, SpxConfirmDisplayerComponent, spxConfirm_actions_d as spxConfirmActions, spxConfirm_effects_d as spxConfirmEffects, spxConfirm_reducer_d as spxConfirmReducer };
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class SpxFormSectionComponent {
|
|
4
|
+
readonly spxIndex: _angular_core.InputSignal<number | undefined>;
|
|
5
|
+
readonly spxIndexSecondary: _angular_core.InputSignal<number | undefined>;
|
|
6
|
+
readonly spxTitle: _angular_core.InputSignal<string | undefined>;
|
|
7
|
+
readonly spxShowTitle: _angular_core.InputSignal<boolean>;
|
|
8
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxFormSectionComponent, never>;
|
|
9
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxFormSectionComponent, "spx-form-section", never, { "spxIndex": { "alias": "spxIndex"; "required": false; "isSignal": true; }; "spxIndexSecondary": { "alias": "spxIndexSecondary"; "required": false; "isSignal": true; }; "spxTitle": { "alias": "spxTitle"; "required": false; "isSignal": true; }; "spxShowTitle": { "alias": "spxShowTitle"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { SpxFormSectionComponent };
|