@softpak/components 21.3.12 → 21.3.15
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-check-digit.mjs +1 -1
- package/fesm2022/softpak-components-spx-check-digit.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-form-view.mjs +4 -3
- package/fesm2022/softpak-components-spx-form-view.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-inputs.mjs +41 -5
- package/fesm2022/softpak-components-spx-inputs.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-storage.mjs +9 -8
- package/fesm2022/softpak-components-spx-storage.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-translate.mjs +7 -1
- package/fesm2022/softpak-components-spx-translate.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-welcome.mjs +43 -4
- package/fesm2022/softpak-components-spx-welcome.mjs.map +1 -1
- package/package.json +1 -1
- package/tailwind.css +1 -1
- package/types/softpak-components-spx-channel-selection.d.ts +3 -3
- package/types/softpak-components-spx-form-view.d.ts +2 -0
- package/types/softpak-components-spx-inputs.d.ts +5 -1
- package/types/softpak-components-spx-storage.d.ts +10 -9
- package/types/softpak-components-spx-translate.d.ts +5 -1
- package/types/softpak-components-spx-welcome.d.ts +6 -1
|
@@ -81,6 +81,7 @@ declare class SpxInputBoxComponent {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
declare enum SpxInputTypeEnum {
|
|
84
|
+
checkbox = "checkbox",
|
|
84
85
|
autocomplete = "autocomplete",
|
|
85
86
|
button = "button",
|
|
86
87
|
cycle = "cycle",
|
|
@@ -400,6 +401,7 @@ declare class SpxInputComponent {
|
|
|
400
401
|
readonly spxValidators: _angular_core.InputSignal<any[] | undefined>;
|
|
401
402
|
readonly spxCapitalize: _angular_core.InputSignal<boolean>;
|
|
402
403
|
readonly spxCycleConfig: _angular_core.InputSignal<SpxCycleConfig | undefined>;
|
|
404
|
+
readonly spxCheckboxText: _angular_core.InputSignal<string | undefined>;
|
|
403
405
|
value: _angular_core.WritableSignal<SpxValuePair<any>>;
|
|
404
406
|
spxClear: _angular_core.OutputEmitterRef<void>;
|
|
405
407
|
spxEdit: _angular_core.OutputEmitterRef<void>;
|
|
@@ -423,6 +425,7 @@ declare class SpxInputComponent {
|
|
|
423
425
|
protected readonly showInputNumber: _angular_core.Signal<boolean>;
|
|
424
426
|
protected readonly showInputRadio: _angular_core.Signal<boolean>;
|
|
425
427
|
protected readonly showInputTime: _angular_core.Signal<boolean>;
|
|
428
|
+
protected readonly showInputCheckbox: _angular_core.Signal<boolean>;
|
|
426
429
|
protected readonly typeAutoComplete = SpxInputTypeEnum.autocomplete;
|
|
427
430
|
protected readonly typeOverlay = SpxInputTypeEnum.overlay;
|
|
428
431
|
protected readonly typeOverlayNumber = SpxInputTypeEnum.overlayNumber;
|
|
@@ -436,6 +439,7 @@ declare class SpxInputComponent {
|
|
|
436
439
|
protected readonly typeNumber = SpxInputTypeEnum.number;
|
|
437
440
|
protected readonly typeRadio = SpxInputTypeEnum.radio;
|
|
438
441
|
protected readonly typeTime = SpxInputTypeEnum.time;
|
|
442
|
+
protected readonly typeCheckbox = SpxInputTypeEnum.checkbox;
|
|
439
443
|
handleSpxElementIdSet(id: number): void;
|
|
440
444
|
ngOnDestroy(): void;
|
|
441
445
|
handleChange(event: any): void;
|
|
@@ -455,7 +459,7 @@ declare class SpxInputComponent {
|
|
|
455
459
|
registerOnChange(fn: (value: any) => void): void;
|
|
456
460
|
registerOnTouched(fn: () => void): void;
|
|
457
461
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxInputComponent, never>;
|
|
458
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxInputComponent, "spx-input", never, { "spxSpeedDial": { "alias": "spxSpeedDial"; "required": false; "isSignal": true; }; "spxLabel": { "alias": "spxLabel"; "required": false; "isSignal": true; }; "spxMax": { "alias": "spxMax"; "required": false; "isSignal": true; }; "spxMin": { "alias": "spxMin"; "required": false; "isSignal": true; }; "spxName": { "alias": "spxName"; "required": false; "isSignal": true; }; "spxReadonly": { "alias": "spxReadonly"; "required": false; "isSignal": true; }; "spxAutocomplete": { "alias": "spxAutocomplete"; "required": false; "isSignal": true; }; "spxAutofocus": { "alias": "spxAutofocus"; "required": false; "isSignal": true; }; "spxInputMode": { "alias": "spxInputMode"; "required": false; "isSignal": true; }; "spxPattern": { "alias": "spxPattern"; "required": false; "isSignal": true; }; "spxRequired": { "alias": "spxRequired"; "required": false; "isSignal": true; }; "spxSelectMonth": { "alias": "spxSelectMonth"; "required": false; "isSignal": true; }; "spxSelectDay": { "alias": "spxSelectDay"; "required": false; "isSignal": true; }; "spxShowEdit": { "alias": "spxShowEdit"; "required": false; "isSignal": true; }; "spxShowHelp": { "alias": "spxShowHelp"; "required": false; "isSignal": true; }; "spxLeftIcon": { "alias": "spxLeftIcon"; "required": false; "isSignal": true; }; "spxShowLabel": { "alias": "spxShowLabel"; "required": false; "isSignal": true; }; "spxCompact": { "alias": "spxCompact"; "required": false; "isSignal": true; }; "spxShowClear": { "alias": "spxShowClear"; "required": false; "isSignal": true; }; "spxShowSearch": { "alias": "spxShowSearch"; "required": false; "isSignal": true; }; "spxAlert": { "alias": "spxAlert"; "required": false; "isSignal": true; }; "spxShowValidationMessages": { "alias": "spxShowValidationMessages"; "required": false; "isSignal": true; }; "spxStep": { "alias": "spxStep"; "required": false; "isSignal": true; }; "spxSuggestions": { "alias": "spxSuggestions"; "required": false; "isSignal": true; }; "spxType": { "alias": "spxType"; "required": false; "isSignal": true; }; "spxValidators": { "alias": "spxValidators"; "required": false; "isSignal": true; }; "spxCapitalize": { "alias": "spxCapitalize"; "required": false; "isSignal": true; }; "spxCycleConfig": { "alias": "spxCycleConfig"; "required": false; "isSignal": true; }; }, { "spxClear": "spxClear"; "spxEdit": "spxEdit"; "spxHelp": "spxHelp"; "spxSearch": "spxSearch"; "spxBlur": "spxBlur"; }, never, ["[spxInputLeftIcon]", "*"], true, never>;
|
|
462
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxInputComponent, "spx-input", never, { "spxSpeedDial": { "alias": "spxSpeedDial"; "required": false; "isSignal": true; }; "spxLabel": { "alias": "spxLabel"; "required": false; "isSignal": true; }; "spxMax": { "alias": "spxMax"; "required": false; "isSignal": true; }; "spxMin": { "alias": "spxMin"; "required": false; "isSignal": true; }; "spxName": { "alias": "spxName"; "required": false; "isSignal": true; }; "spxReadonly": { "alias": "spxReadonly"; "required": false; "isSignal": true; }; "spxAutocomplete": { "alias": "spxAutocomplete"; "required": false; "isSignal": true; }; "spxAutofocus": { "alias": "spxAutofocus"; "required": false; "isSignal": true; }; "spxInputMode": { "alias": "spxInputMode"; "required": false; "isSignal": true; }; "spxPattern": { "alias": "spxPattern"; "required": false; "isSignal": true; }; "spxRequired": { "alias": "spxRequired"; "required": false; "isSignal": true; }; "spxSelectMonth": { "alias": "spxSelectMonth"; "required": false; "isSignal": true; }; "spxSelectDay": { "alias": "spxSelectDay"; "required": false; "isSignal": true; }; "spxShowEdit": { "alias": "spxShowEdit"; "required": false; "isSignal": true; }; "spxShowHelp": { "alias": "spxShowHelp"; "required": false; "isSignal": true; }; "spxLeftIcon": { "alias": "spxLeftIcon"; "required": false; "isSignal": true; }; "spxShowLabel": { "alias": "spxShowLabel"; "required": false; "isSignal": true; }; "spxCompact": { "alias": "spxCompact"; "required": false; "isSignal": true; }; "spxShowClear": { "alias": "spxShowClear"; "required": false; "isSignal": true; }; "spxShowSearch": { "alias": "spxShowSearch"; "required": false; "isSignal": true; }; "spxAlert": { "alias": "spxAlert"; "required": false; "isSignal": true; }; "spxShowValidationMessages": { "alias": "spxShowValidationMessages"; "required": false; "isSignal": true; }; "spxStep": { "alias": "spxStep"; "required": false; "isSignal": true; }; "spxSuggestions": { "alias": "spxSuggestions"; "required": false; "isSignal": true; }; "spxType": { "alias": "spxType"; "required": false; "isSignal": true; }; "spxValidators": { "alias": "spxValidators"; "required": false; "isSignal": true; }; "spxCapitalize": { "alias": "spxCapitalize"; "required": false; "isSignal": true; }; "spxCycleConfig": { "alias": "spxCycleConfig"; "required": false; "isSignal": true; }; "spxCheckboxText": { "alias": "spxCheckboxText"; "required": false; "isSignal": true; }; }, { "spxClear": "spxClear"; "spxEdit": "spxEdit"; "spxHelp": "spxHelp"; "spxSearch": "spxSearch"; "spxBlur": "spxBlur"; }, never, ["[spxInputLeftIcon]", "*"], true, never>;
|
|
459
463
|
}
|
|
460
464
|
|
|
461
465
|
export { SpxInputBoxComponent, SpxInputComponent, SpxInputLeftIconDirective, SpxInputTextComponent, SpxInputTypeEnum };
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
declare enum SpxStorageKeyEnum {
|
|
2
2
|
afterSignIn = "afterSignIn",
|
|
3
|
-
brand = "brand",
|
|
4
3
|
binaryVersionGroup = "binaryVersionGroup",
|
|
4
|
+
brand = "brand",
|
|
5
|
+
bundleVersion = "bundleVersion",
|
|
5
6
|
capAwesomeBundleVersionNumbers = "capAwesomeBundleVersionNumbers",
|
|
6
7
|
capAwesomeNextVersionNumber = "capAwesomeNextVersionNumber",
|
|
7
|
-
bundleVersion = "bundleVersion",
|
|
8
8
|
capAwesomeVersionNumber = "capAwesomeVersionNumber",
|
|
9
|
-
|
|
10
|
-
channelType = "channelType",
|
|
9
|
+
channelFavourites = "channelFavourites",
|
|
11
10
|
channelSettings = "companySettings",
|
|
11
|
+
channelType = "channelType",
|
|
12
|
+
lastBinaryVersionGroup = "lastBinaryVersionGroup",
|
|
12
13
|
liveUpdate = "liveUpdate",
|
|
13
14
|
liveUpdateChannel = "liveUpdateChannel",
|
|
15
|
+
noHaptics = "noHaptics",
|
|
16
|
+
patch = "patch",
|
|
14
17
|
platform = "platform",
|
|
15
18
|
platformVersion = "platformVersion",
|
|
16
|
-
token = "token",
|
|
17
|
-
updateInProgress = "updateInProgress",
|
|
18
19
|
randomDeviceId = "randomDeviceId",
|
|
19
20
|
release = "release",
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
token = "token",
|
|
22
|
+
updateInProgress = "updateInProgress",
|
|
23
|
+
username = "username"
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
declare class SpxStorage {
|
|
@@ -49,6 +49,8 @@ declare const spxTextUpdateStatusUpdateReady = "spxTextUpdateStatusUpdateReady";
|
|
|
49
49
|
declare const spxTextUpdateStatusUpToDate = "spxTextUpdateStatusUpToDate";
|
|
50
50
|
declare const spxTextUpdateStatusWebNotAvailable = "spxTextUpdateStatusWebNotAvailable";
|
|
51
51
|
declare const spxTextUpdateVersionInfo = "spxTextUpdateVersionInfo";
|
|
52
|
+
declare const spxTextDoYouComeHereOften = "spxTextDoYouComeHereOften";
|
|
53
|
+
declare const spxTextFavorite = "spxTextFavorite";
|
|
52
54
|
interface SpxTranslateI {
|
|
53
55
|
[spxTextChange]: string;
|
|
54
56
|
[spxTextCheckingForUpdates]: string;
|
|
@@ -102,11 +104,13 @@ interface SpxTranslateI {
|
|
|
102
104
|
[spxTextUpdateStatusUpToDate]: string;
|
|
103
105
|
[spxTextUpdateStatusWebNotAvailable]: string;
|
|
104
106
|
[spxTextUpdateVersionInfo]: string;
|
|
107
|
+
[spxTextDoYouComeHereOften]: string;
|
|
108
|
+
[spxTextFavorite]: string;
|
|
105
109
|
}
|
|
106
110
|
|
|
107
111
|
declare const SpxTranslateEn: SpxTranslateI;
|
|
108
112
|
|
|
109
113
|
declare const SpxTranslateNl: SpxTranslateI;
|
|
110
114
|
|
|
111
|
-
export { SpxTranslateEn, SpxTranslateNl, spxText404PageNotFound, spxTextChange, spxTextChannel, spxTextCheckingForUpdates, spxTextChooseFuture, spxTextChoosePast, spxTextChooseValidMonth, spxTextCompany, spxTextDateMayNotBeFuture, spxTextDateMayNotBePast, spxTextGoHome, spxTextInvalidCode, spxTextLiveUpdateChannelSetFailed, spxTextLiveUpdateChannelSetFailedWithReason, spxTextLiveUpdateCheckFailed, spxTextLiveUpdateCheckFailedWithReason, spxTextOneMomentPlease, spxTextOpenAppStore, spxTextPageNotFound, spxTextPageNotFoundDescription, spxTextPatchAvailable, spxTextPatternNotValid, spxTextReadyToBeInstalled, spxTextRequired, spxTextSelect, spxTextSelectYourCompany, spxTextTooHigh, spxTextTooLong, spxTextTooLow, spxTextTooShort, spxTextUpdate, spxTextUpdateAppVersion, spxTextUpdateAvailable, spxTextUpdateBinaryVersionGroup, spxTextUpdateBuildVersion, spxTextUpdateCurrentVersionNumber, spxTextUpdateErrorReason, spxTextUpdateLastCheck, spxTextUpdateLiveBundle, spxTextUpdateLiveChannel, spxTextUpdateNextVersionNumber, spxTextUpdateStatus, spxTextUpdateStatusCompleted, spxTextUpdateStatusFailed, spxTextUpdateStatusPreparing, spxTextUpdateStatusReloading, spxTextUpdateStatusSyncing, spxTextUpdateStatusUpToDate, spxTextUpdateStatusUpdateReady, spxTextUpdateStatusWebNotAvailable, spxTextUpdateVersionInfo };
|
|
115
|
+
export { SpxTranslateEn, SpxTranslateNl, spxText404PageNotFound, spxTextChange, spxTextChannel, spxTextCheckingForUpdates, spxTextChooseFuture, spxTextChoosePast, spxTextChooseValidMonth, spxTextCompany, spxTextDateMayNotBeFuture, spxTextDateMayNotBePast, spxTextDoYouComeHereOften, spxTextFavorite, spxTextGoHome, spxTextInvalidCode, spxTextLiveUpdateChannelSetFailed, spxTextLiveUpdateChannelSetFailedWithReason, spxTextLiveUpdateCheckFailed, spxTextLiveUpdateCheckFailedWithReason, spxTextOneMomentPlease, spxTextOpenAppStore, spxTextPageNotFound, spxTextPageNotFoundDescription, spxTextPatchAvailable, spxTextPatternNotValid, spxTextReadyToBeInstalled, spxTextRequired, spxTextSelect, spxTextSelectYourCompany, spxTextTooHigh, spxTextTooLong, spxTextTooLow, spxTextTooShort, spxTextUpdate, spxTextUpdateAppVersion, spxTextUpdateAvailable, spxTextUpdateBinaryVersionGroup, spxTextUpdateBuildVersion, spxTextUpdateCurrentVersionNumber, spxTextUpdateErrorReason, spxTextUpdateLastCheck, spxTextUpdateLiveBundle, spxTextUpdateLiveChannel, spxTextUpdateNextVersionNumber, spxTextUpdateStatus, spxTextUpdateStatusCompleted, spxTextUpdateStatusFailed, spxTextUpdateStatusPreparing, spxTextUpdateStatusReloading, spxTextUpdateStatusSyncing, spxTextUpdateStatusUpToDate, spxTextUpdateStatusUpdateReady, spxTextUpdateStatusWebNotAvailable, spxTextUpdateVersionInfo };
|
|
112
116
|
export type { SpxTranslateI };
|
|
@@ -10,6 +10,7 @@ import { Store } from '@ngrx/store';
|
|
|
10
10
|
declare const spxSectionWelcome = "welcome";
|
|
11
11
|
declare const spxCtrlChannel = "channel";
|
|
12
12
|
declare const spxCtrlChannelType = "channelType";
|
|
13
|
+
declare const spxCtrlFavorite = "favorite";
|
|
13
14
|
declare class SpxWelcomeComponent implements OnInit, OnDestroy {
|
|
14
15
|
private readonly store;
|
|
15
16
|
private readonly formBuilder;
|
|
@@ -34,17 +35,21 @@ declare class SpxWelcomeComponent implements OnInit, OnDestroy {
|
|
|
34
35
|
textCompany: string;
|
|
35
36
|
textSelect: string;
|
|
36
37
|
textSelectYourCompany: string;
|
|
38
|
+
textDoYouComeHereOften: string;
|
|
39
|
+
textFavorite: string;
|
|
37
40
|
protected readonly formSection: _angular_core.Signal<FormGroup<any>>;
|
|
38
41
|
private readonly ctrlChannel;
|
|
39
42
|
private readonly ctrlChannelType;
|
|
43
|
+
private readonly ctrlFavorite;
|
|
40
44
|
private subscriptions;
|
|
41
45
|
protected readonly form: _angular_core.WritableSignal<SpxFormI>;
|
|
42
46
|
constructor(store: Store, formBuilder: FormBuilder);
|
|
43
47
|
ngOnDestroy(): void;
|
|
44
48
|
ngOnInit(): void;
|
|
49
|
+
private getFavourites;
|
|
45
50
|
protected onSubmit(): void;
|
|
46
51
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxWelcomeComponent, never>;
|
|
47
52
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxWelcomeComponent, "spx-welcome", never, {}, {}, never, never, true, never>;
|
|
48
53
|
}
|
|
49
54
|
|
|
50
|
-
export { SpxWelcomeComponent, spxCtrlChannel, spxCtrlChannelType, spxSectionWelcome };
|
|
55
|
+
export { SpxWelcomeComponent, spxCtrlChannel, spxCtrlChannelType, spxCtrlFavorite, spxSectionWelcome };
|