@softpak/components 0.0.0-beta.1 → 0.0.0-beta.100
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/esm2022/spx-alert/spx-alert.component.mjs +9 -4
- package/esm2022/spx-button/spx-button.component.mjs +46 -36
- package/esm2022/spx-change-details/public-api.mjs +2 -0
- package/esm2022/spx-change-details/softpak-components-spx-change-details.mjs +5 -0
- package/esm2022/spx-change-details/spx-change-details-value.interface.mjs +2 -0
- package/esm2022/spx-change-details/spx-change-details.component.mjs +118 -0
- package/esm2022/spx-channel-selection/src/spx-channel-selection.component.mjs +5 -4
- package/esm2022/spx-channel-selection/src/spx-company-selection.component.mjs +5 -4
- package/esm2022/spx-check-digit/spx-check-digit.component.mjs +6 -4
- package/esm2022/spx-form-section/spx-form-section.component.mjs +7 -7
- package/esm2022/spx-form-view/public-api.mjs +4 -0
- package/esm2022/spx-form-view/softpak-components-spx-form-view.mjs +5 -0
- package/esm2022/spx-form-view/spx-form-field.interface.mjs +2 -0
- package/esm2022/spx-form-view/spx-form-section.interface.mjs +2 -0
- package/esm2022/spx-form-view/spx-form-view.component.mjs +163 -0
- package/esm2022/spx-inputs/public-api.mjs +2 -1
- package/esm2022/spx-inputs/spx-dropdown.component.mjs +98 -0
- package/esm2022/spx-inputs/spx-input-box.component.mjs +71 -57
- package/esm2022/spx-inputs/spx-input-text.component.mjs +29 -33
- package/esm2022/spx-inputs/spx-input-type.enum.mjs +14 -0
- package/esm2022/spx-inputs/spx-input.component.mjs +53 -42
- package/esm2022/spx-navigation/spx-home-tile.component.mjs +47 -12
- package/esm2022/spx-navigation/spx-home-tiles.component.mjs +3 -5
- package/esm2022/spx-navigation/spx-navigation-item.interface.mjs +1 -1
- package/esm2022/spx-navigation/spx-navigation.component.mjs +11 -5
- package/esm2022/spx-number-check/public-api.mjs +2 -0
- package/esm2022/spx-number-check/softpak-components-spx-number-check.mjs +5 -0
- package/esm2022/spx-number-check/spx-number-check.component.mjs +262 -0
- package/esm2022/spx-progress-bar/spx-progress-bar.component.mjs +3 -3
- package/esm2022/spx-spinner/spx-spinner.component.mjs +5 -5
- package/esm2022/spx-suggestion/spx-suggestion.component.mjs +10 -6
- package/esm2022/spx-toaster/src/spx-toaster.component.mjs +33 -21
- package/fesm2022/softpak-components-spx-alert.mjs +8 -3
- package/fesm2022/softpak-components-spx-alert.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-button.mjs +45 -35
- package/fesm2022/softpak-components-spx-button.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-change-details.mjs +125 -0
- package/fesm2022/softpak-components-spx-change-details.mjs.map +1 -0
- package/fesm2022/softpak-components-spx-channel-selection.mjs +7 -5
- package/fesm2022/softpak-components-spx-channel-selection.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-check-digit.mjs +5 -3
- package/fesm2022/softpak-components-spx-check-digit.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-form-section.mjs +6 -6
- package/fesm2022/softpak-components-spx-form-section.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-form-view.mjs +170 -0
- package/fesm2022/softpak-components-spx-form-view.mjs.map +1 -0
- package/fesm2022/softpak-components-spx-inputs.mjs +254 -127
- package/fesm2022/softpak-components-spx-inputs.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-navigation.mjs +57 -19
- package/fesm2022/softpak-components-spx-navigation.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-number-check.mjs +269 -0
- package/fesm2022/softpak-components-spx-number-check.mjs.map +1 -0
- package/fesm2022/softpak-components-spx-progress-bar.mjs +2 -2
- package/fesm2022/softpak-components-spx-progress-bar.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-spinner.mjs +4 -4
- package/fesm2022/softpak-components-spx-spinner.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-suggestion.mjs +9 -5
- package/fesm2022/softpak-components-spx-suggestion.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-toaster.mjs +32 -20
- package/fesm2022/softpak-components-spx-toaster.mjs.map +1 -1
- package/package.json +29 -11
- package/spx-button/spx-button.component.d.ts +4 -0
- package/spx-change-details/index.d.ts +5 -0
- package/spx-change-details/public-api.d.ts +1 -0
- package/spx-change-details/spx-change-details-value.interface.d.ts +7 -0
- package/spx-change-details/spx-change-details.component.d.ts +40 -0
- package/spx-channel-selection/src/spx-channel-selection.component.d.ts +2 -1
- package/spx-channel-selection/src/spx-company-selection.component.d.ts +2 -1
- package/spx-check-digit/spx-check-digit.component.d.ts +3 -0
- package/spx-form-view/index.d.ts +5 -0
- package/spx-form-view/public-api.d.ts +3 -0
- package/spx-form-view/spx-form-field.interface.d.ts +16 -0
- package/spx-form-view/spx-form-section.interface.d.ts +9 -0
- package/spx-form-view/spx-form-view.component.d.ts +27 -0
- package/spx-inputs/public-api.d.ts +1 -0
- package/spx-inputs/spx-dropdown.component.d.ts +18 -0
- package/spx-inputs/spx-input-box.component.d.ts +9 -5
- package/spx-inputs/spx-input-text.component.d.ts +2 -1
- package/spx-inputs/spx-input-type.enum.d.ts +12 -0
- package/spx-inputs/spx-input.component.d.ts +4 -3
- package/spx-navigation/spx-home-tile.component.d.ts +6 -1
- package/spx-navigation/spx-navigation-item.interface.d.ts +2 -0
- package/spx-navigation/spx-navigation.component.d.ts +4 -1
- package/spx-number-check/index.d.ts +5 -0
- package/spx-number-check/public-api.d.ts +1 -0
- package/spx-number-check/spx-number-check.component.d.ts +48 -0
- package/spx-suggestion/spx-suggestion.component.d.ts +1 -0
- package/spx-toaster/src/spx-toaster.component.d.ts +1 -1
- package/tailwind.css +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"softpak-components-spx-toaster.mjs","sources":["../../../../projects/softpak/components/spx-toaster/src/spx-toaster-autoclose-speed.ts","../../../../projects/softpak/components/spx-toaster/src/spx-toaster.component.ts","../../../../projects/softpak/components/spx-toaster/src/spx-toaster-message.interface.ts","../../../../projects/softpak/components/spx-toaster/softpak-components-spx-toaster.ts"],"sourcesContent":["export enum SpxToasterSeverityEnum {\n ERROR = 'error',\n INFO = 'info',\n SUCCESS = 'success',\n WARNING = 'warning',\n}\n\nexport enum SpxToasterAutoCloseSpeedEnum {\n DEFAULT = -1,\n SLOW = -2,\n}\n\nexport function toasterAutocloseSpeed(autoCloseSpeed: SpxToasterAutoCloseSpeedEnum, messageText: string) {\n switch (autoCloseSpeed) {\n case SpxToasterAutoCloseSpeedEnum.DEFAULT:\n return Math.min(Math.max(messageText.length * 50, 2000), 7000);\n case SpxToasterAutoCloseSpeedEnum.SLOW:\n return Math.min(Math.max(messageText.length * 60, 3000), 10000);\n default:\n return autoCloseSpeed;\n }\n}\n","import {\n Component,\n EventEmitter,\n HostBinding,\n Input,\n Output\n} from '@angular/core';\nimport { SpxToasterMessageI } from './spx-toaster-message.interface';\nimport { SpxAlertComponent } from '@softpak/components/spx-alert';\nimport { NgFor } from '@angular/common';\n\n@Component({\n selector: 'spx-toaster',\n template: `\n <spx-alert\n
|
|
1
|
+
{"version":3,"file":"softpak-components-spx-toaster.mjs","sources":["../../../../projects/softpak/components/spx-toaster/src/spx-toaster-autoclose-speed.ts","../../../../projects/softpak/components/spx-toaster/src/spx-toaster.component.ts","../../../../projects/softpak/components/spx-toaster/src/spx-toaster-message.interface.ts","../../../../projects/softpak/components/spx-toaster/softpak-components-spx-toaster.ts"],"sourcesContent":["export enum SpxToasterSeverityEnum {\n ERROR = 'error',\n INFO = 'info',\n SUCCESS = 'success',\n WARNING = 'warning',\n}\n\nexport enum SpxToasterAutoCloseSpeedEnum {\n DEFAULT = -1,\n SLOW = -2,\n}\n\nexport function toasterAutocloseSpeed(autoCloseSpeed: SpxToasterAutoCloseSpeedEnum, messageText: string) {\n switch (autoCloseSpeed) {\n case SpxToasterAutoCloseSpeedEnum.DEFAULT:\n return Math.min(Math.max(messageText.length * 50, 2000), 7000);\n case SpxToasterAutoCloseSpeedEnum.SLOW:\n return Math.min(Math.max(messageText.length * 60, 3000), 10000);\n default:\n return autoCloseSpeed;\n }\n}\n","import {\n Component,\n EventEmitter,\n HostBinding,\n Input,\n Output\n} from '@angular/core';\nimport { SpxToasterMessageI } from './spx-toaster-message.interface';\nimport { SpxAlertComponent } from '@softpak/components/spx-alert';\nimport { NgFor, NgIf } from '@angular/common';\n\n@Component({\n selector: 'spx-toaster',\n template: `\n <div \n *ngIf=\"messages && messages.length > 0\"\n class=\"flex flex-col gap-2 fixed bottom-16 left-0 right-0 mx-auto px-3 z-50\">\n <spx-alert\n *ngFor=\"let message of messages\"\n [spxAutoclose]=\"message.autoClose\"\n [spxCloseable]=\"message.closeable\"\n [spxSeverity]=\"message.severity\"\n [spxTitle]=\"message.title\"\n (spxClose)=\"handleClose(message.id)\">{{message.message}}</spx-alert>\n </div>`,\n standalone: true,\n imports: [\n NgIf,\n NgFor,\n SpxAlertComponent,\n ],\n})\nexport class SpxToasterComponent {\n @HostBinding('class.spx-toasts-displayer') hostClass = true;\n @Input() messages!: SpxToasterMessageI[];\n @Output() spxClose: EventEmitter<number> = new EventEmitter<number>();\n\n public handleClose(id: number) {\n this.spxClose.emit(id);\n }\n\n}\n","import { SpxSeverityEnum } from \"@softpak/components/spx-helpers\";\n\nexport class SpxToasterMessageI {\n autoClose?: number;\n title?: string;\n\n closeable?: boolean;\n id!: number;\n message!: string;\n severity!: SpxSeverityEnum;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softpak/components",
|
|
3
|
-
"version": "0.0.0-beta.
|
|
3
|
+
"version": "0.0.0-beta.100",
|
|
4
4
|
"private": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^17.x.x",
|
|
@@ -47,23 +47,35 @@
|
|
|
47
47
|
"esm": "./esm2022/spx-capitalize/softpak-components-spx-capitalize.mjs",
|
|
48
48
|
"default": "./fesm2022/softpak-components-spx-capitalize.mjs"
|
|
49
49
|
},
|
|
50
|
+
"./spx-change-details": {
|
|
51
|
+
"types": "./spx-change-details/index.d.ts",
|
|
52
|
+
"esm2022": "./esm2022/spx-change-details/softpak-components-spx-change-details.mjs",
|
|
53
|
+
"esm": "./esm2022/spx-change-details/softpak-components-spx-change-details.mjs",
|
|
54
|
+
"default": "./fesm2022/softpak-components-spx-change-details.mjs"
|
|
55
|
+
},
|
|
50
56
|
"./spx-channel-selection": {
|
|
51
57
|
"types": "./spx-channel-selection/index.d.ts",
|
|
52
58
|
"esm2022": "./esm2022/spx-channel-selection/softpak-components-spx-channel-selection.mjs",
|
|
53
59
|
"esm": "./esm2022/spx-channel-selection/softpak-components-spx-channel-selection.mjs",
|
|
54
60
|
"default": "./fesm2022/softpak-components-spx-channel-selection.mjs"
|
|
55
61
|
},
|
|
62
|
+
"./spx-check-digit": {
|
|
63
|
+
"types": "./spx-check-digit/index.d.ts",
|
|
64
|
+
"esm2022": "./esm2022/spx-check-digit/softpak-components-spx-check-digit.mjs",
|
|
65
|
+
"esm": "./esm2022/spx-check-digit/softpak-components-spx-check-digit.mjs",
|
|
66
|
+
"default": "./fesm2022/softpak-components-spx-check-digit.mjs"
|
|
67
|
+
},
|
|
56
68
|
"./spx-form-section": {
|
|
57
69
|
"types": "./spx-form-section/index.d.ts",
|
|
58
70
|
"esm2022": "./esm2022/spx-form-section/softpak-components-spx-form-section.mjs",
|
|
59
71
|
"esm": "./esm2022/spx-form-section/softpak-components-spx-form-section.mjs",
|
|
60
72
|
"default": "./fesm2022/softpak-components-spx-form-section.mjs"
|
|
61
73
|
},
|
|
62
|
-
"./spx-
|
|
63
|
-
"types": "./spx-
|
|
64
|
-
"esm2022": "./esm2022/spx-
|
|
65
|
-
"esm": "./esm2022/spx-
|
|
66
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
74
|
+
"./spx-form-view": {
|
|
75
|
+
"types": "./spx-form-view/index.d.ts",
|
|
76
|
+
"esm2022": "./esm2022/spx-form-view/softpak-components-spx-form-view.mjs",
|
|
77
|
+
"esm": "./esm2022/spx-form-view/softpak-components-spx-form-view.mjs",
|
|
78
|
+
"default": "./fesm2022/softpak-components-spx-form-view.mjs"
|
|
67
79
|
},
|
|
68
80
|
"./spx-helpers": {
|
|
69
81
|
"types": "./spx-helpers/index.d.ts",
|
|
@@ -71,17 +83,23 @@
|
|
|
71
83
|
"esm": "./esm2022/spx-helpers/softpak-components-spx-helpers.mjs",
|
|
72
84
|
"default": "./fesm2022/softpak-components-spx-helpers.mjs"
|
|
73
85
|
},
|
|
86
|
+
"./spx-inputs": {
|
|
87
|
+
"types": "./spx-inputs/index.d.ts",
|
|
88
|
+
"esm2022": "./esm2022/spx-inputs/softpak-components-spx-inputs.mjs",
|
|
89
|
+
"esm": "./esm2022/spx-inputs/softpak-components-spx-inputs.mjs",
|
|
90
|
+
"default": "./fesm2022/softpak-components-spx-inputs.mjs"
|
|
91
|
+
},
|
|
74
92
|
"./spx-navigation": {
|
|
75
93
|
"types": "./spx-navigation/index.d.ts",
|
|
76
94
|
"esm2022": "./esm2022/spx-navigation/softpak-components-spx-navigation.mjs",
|
|
77
95
|
"esm": "./esm2022/spx-navigation/softpak-components-spx-navigation.mjs",
|
|
78
96
|
"default": "./fesm2022/softpak-components-spx-navigation.mjs"
|
|
79
97
|
},
|
|
80
|
-
"./spx-
|
|
81
|
-
"types": "./spx-
|
|
82
|
-
"esm2022": "./esm2022/spx-
|
|
83
|
-
"esm": "./esm2022/spx-
|
|
84
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
98
|
+
"./spx-number-check": {
|
|
99
|
+
"types": "./spx-number-check/index.d.ts",
|
|
100
|
+
"esm2022": "./esm2022/spx-number-check/softpak-components-spx-number-check.mjs",
|
|
101
|
+
"esm": "./esm2022/spx-number-check/softpak-components-spx-number-check.mjs",
|
|
102
|
+
"default": "./fesm2022/softpak-components-spx-number-check.mjs"
|
|
85
103
|
},
|
|
86
104
|
"./spx-patch": {
|
|
87
105
|
"types": "./spx-patch/index.d.ts",
|
|
@@ -16,6 +16,10 @@ export declare class SpxButtonComponent {
|
|
|
16
16
|
spxTabIndex?: number;
|
|
17
17
|
spxType: 'button' | 'submit';
|
|
18
18
|
spxClick: EventEmitter<void>;
|
|
19
|
+
get severityError(): boolean;
|
|
20
|
+
get severityInfo(): boolean;
|
|
21
|
+
get severitySuccess(): boolean;
|
|
22
|
+
get severityWarning(): boolean;
|
|
19
23
|
hasShadowDom: (el: HTMLElement) => boolean;
|
|
20
24
|
handleClick: () => void;
|
|
21
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxButtonComponent, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './spx-change-details.component';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { SpxInputTypeEnum } from '@softpak/components/spx-inputs';
|
|
4
|
+
import { SpxFormSectionI } from '@softpak/components/spx-form-view';
|
|
5
|
+
import { SpxSeverityEnum } from '@softpak/components/spx-helpers';
|
|
6
|
+
import { SpxChangeDetailsValueI } from './spx-change-details-value.interface';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare const sectionChangeDetails = "changeDetails";
|
|
9
|
+
export declare const ctrlContainerType = "containerType";
|
|
10
|
+
export declare const ctrlTonsTested = "tonsTested";
|
|
11
|
+
export declare const ctrlLicensePlate = "licensePlate";
|
|
12
|
+
export declare const ctrlCategory = "category";
|
|
13
|
+
export declare class SpxChangeDetailsComponent {
|
|
14
|
+
readonly formBuilder: FormBuilder;
|
|
15
|
+
formGroup: FormGroup;
|
|
16
|
+
showCategory: boolean;
|
|
17
|
+
suggestions: any;
|
|
18
|
+
txtCategory: string;
|
|
19
|
+
txtContainerType: string;
|
|
20
|
+
txtLicensePlate: string;
|
|
21
|
+
txtTonsTested: string;
|
|
22
|
+
submit: EventEmitter<SpxChangeDetailsValueI>;
|
|
23
|
+
inputTypeAutocomplete: SpxInputTypeEnum;
|
|
24
|
+
inputTypeRadio: SpxInputTypeEnum;
|
|
25
|
+
inputTypeText: SpxInputTypeEnum;
|
|
26
|
+
severitySuccess: SpxSeverityEnum;
|
|
27
|
+
sections: SpxFormSectionI[];
|
|
28
|
+
get ctrlCategory(): FormControl;
|
|
29
|
+
get ctrlContainerType(): FormControl;
|
|
30
|
+
get ctrlLicensePlate(): FormControl;
|
|
31
|
+
get ctrlTonsTested(): FormControl;
|
|
32
|
+
private inputChanges?;
|
|
33
|
+
constructor(formBuilder: FormBuilder);
|
|
34
|
+
createForm(): FormGroup;
|
|
35
|
+
ngOnDestroy(): void;
|
|
36
|
+
getRawValidators(formControl: FormControl): any;
|
|
37
|
+
onSubmit(): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpxChangeDetailsComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxChangeDetailsComponent, "spx-change-details", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "showCategory": { "alias": "showCategory"; "required": false; }; "suggestions": { "alias": "suggestions"; "required": false; }; "txtCategory": { "alias": "txtCategory"; "required": false; }; "txtContainerType": { "alias": "txtContainerType"; "required": false; }; "txtLicensePlate": { "alias": "txtLicensePlate"; "required": false; }; "txtTonsTested": { "alias": "txtTonsTested"; "required": false; }; }, { "submit": "submit"; }, never, never, true, never>;
|
|
40
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { FormControl } from '@angular/forms';
|
|
2
|
-
import { SpxValuePair } from '@softpak/components/spx-inputs';
|
|
2
|
+
import { SpxInputTypeEnum, SpxValuePair } from '@softpak/components/spx-inputs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SpxChannelSelectionComponent {
|
|
5
5
|
control: FormControl;
|
|
6
6
|
options: SpxValuePair<string>[];
|
|
7
7
|
txtChannel: string;
|
|
8
|
+
inputTypeRadio: SpxInputTypeEnum;
|
|
8
9
|
constructor();
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxChannelSelectionComponent, never>;
|
|
10
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<SpxChannelSelectionComponent, "spx-channel-selection", never, { "control": { "alias": "control"; "required": false; }; "options": { "alias": "options"; "required": false; }; "txtChannel": { "alias": "txtChannel"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { FormControl } from '@angular/forms';
|
|
2
|
-
import { SpxValuePair } from '@softpak/components/spx-inputs';
|
|
2
|
+
import { SpxInputTypeEnum, SpxValuePair } from '@softpak/components/spx-inputs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SpxCompanySelectionComponent {
|
|
5
5
|
control: FormControl;
|
|
6
6
|
options: SpxValuePair<string>[];
|
|
7
7
|
txtChannel: string;
|
|
8
8
|
txtCompany: string;
|
|
9
|
+
inputTypeRadio: SpxInputTypeEnum;
|
|
9
10
|
constructor();
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxCompanySelectionComponent, never>;
|
|
11
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<SpxCompanySelectionComponent, "spx-company-selection", never, { "control": { "alias": "control"; "required": false; }; "options": { "alias": "options"; "required": false; }; "txtChannel": { "alias": "txtChannel"; "required": false; }; "txtCompany": { "alias": "txtCompany"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
2
|
+
import { SpxInputTypeEnum } from '@softpak/components/spx-inputs';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class SpxCheckDigitComponent {
|
|
4
5
|
private readonly formBuilder;
|
|
5
6
|
txtCheckDigit: string;
|
|
6
7
|
txtContainer: string;
|
|
7
8
|
txtPrefix: string;
|
|
9
|
+
inputTypeOverlayNumber: SpxInputTypeEnum;
|
|
10
|
+
inputTypeText: SpxInputTypeEnum;
|
|
8
11
|
formGroup: FormGroup;
|
|
9
12
|
get ctrlCheckDigit(): FormControl;
|
|
10
13
|
get ctrlContainerNumber(): FormControl;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SpxInputTypeEnum, SpxValuePair } from "@softpak/components/spx-inputs";
|
|
2
|
+
export interface SpxFormFieldI {
|
|
3
|
+
afterValueChange?: (value: SpxValuePair<string | number | boolean | any>) => void;
|
|
4
|
+
autofocus?: () => boolean;
|
|
5
|
+
capitalize?: () => boolean;
|
|
6
|
+
defaultValue?: () => string | number | boolean | any;
|
|
7
|
+
key: string;
|
|
8
|
+
label?: () => string;
|
|
9
|
+
readonly?: () => boolean;
|
|
10
|
+
show?: () => boolean;
|
|
11
|
+
step?: () => number;
|
|
12
|
+
suggestions?: () => boolean;
|
|
13
|
+
suggestionsFixed?: () => SpxValuePair<string | number | boolean | any>[];
|
|
14
|
+
type: () => SpxInputTypeEnum;
|
|
15
|
+
validators?: () => any[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SpxFormSectionI } from './spx-form-section.interface';
|
|
2
|
+
import { SpxInputTypeEnum } from '@softpak/components/spx-inputs';
|
|
3
|
+
import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
|
|
4
|
+
import { SpxFormFieldI } from './spx-form-field.interface';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SpxFormViewComponent {
|
|
7
|
+
readonly formBuilder: FormBuilder;
|
|
8
|
+
spxFormGroup: FormGroup;
|
|
9
|
+
spxSections: SpxFormSectionI[];
|
|
10
|
+
spxSuggestions: any;
|
|
11
|
+
typeAutocomplete: SpxInputTypeEnum;
|
|
12
|
+
typeFloat: SpxInputTypeEnum;
|
|
13
|
+
typeNumber: SpxInputTypeEnum;
|
|
14
|
+
typeRadio: SpxInputTypeEnum;
|
|
15
|
+
typeText: SpxInputTypeEnum;
|
|
16
|
+
typeNumericKeyboard: SpxInputTypeEnum;
|
|
17
|
+
typeOverlay: SpxInputTypeEnum;
|
|
18
|
+
typeOverlayNumber: SpxInputTypeEnum;
|
|
19
|
+
onBlur(field: SpxFormFieldI): void;
|
|
20
|
+
getRawValidators(formControl: AbstractControl): any;
|
|
21
|
+
hasRequiredField(abstractControl: AbstractControl): boolean;
|
|
22
|
+
static initialFormValue(sections: SpxFormSectionI[]): any;
|
|
23
|
+
static createForm(formBuilder: FormBuilder, sections: SpxFormSectionI[]): FormGroup;
|
|
24
|
+
constructor(formBuilder: FormBuilder);
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpxFormViewComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxFormViewComponent, "spx-form-view", never, { "spxFormGroup": { "alias": "spxFormGroup"; "required": false; }; "spxSections": { "alias": "spxSections"; "required": false; }; "spxSuggestions": { "alias": "spxSuggestions"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { SpxValuePair } from './spx-value-interface';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SpxDropdownComponent implements OnChanges, OnInit, OnDestroy {
|
|
6
|
+
protected focusPosition: number;
|
|
7
|
+
spxSuggestions: SpxValuePair<boolean | number | string>[];
|
|
8
|
+
spxSelect: EventEmitter<SpxValuePair<any>>;
|
|
9
|
+
subscriptionKeyUp?: Subscription;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
handleSuggestionClick(valuePair: SpxValuePair<string | number | boolean>): void;
|
|
14
|
+
private listenToKeyUp;
|
|
15
|
+
private select;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpxDropdownComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxDropdownComponent, "spx-dropdown", never, { "spxSuggestions": { "alias": "spxSuggestions"; "required": false; }; }, { "spxSelect": "spxSelect"; }, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { SpxValuePair } from './spx-value-interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SpxInputBoxComponent {
|
|
5
|
+
private elRef;
|
|
5
6
|
faEdit: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
6
7
|
faSearch: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
7
8
|
faQuestion: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
8
9
|
faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
10
|
+
spxFocused: boolean;
|
|
9
11
|
spxLabel?: string;
|
|
10
12
|
spxRequired?: boolean;
|
|
11
13
|
spxReadonly: boolean;
|
|
@@ -17,17 +19,19 @@ export declare class SpxInputBoxComponent {
|
|
|
17
19
|
spxShowValidationMessages?: boolean | null | undefined;
|
|
18
20
|
spxValue?: SpxValuePair<any>;
|
|
19
21
|
spxClear: EventEmitter<void>;
|
|
20
|
-
|
|
22
|
+
spxSearch: EventEmitter<void>;
|
|
21
23
|
spxFocus: EventEmitter<void>;
|
|
22
24
|
spxFocusOut: EventEmitter<void>;
|
|
23
25
|
spxEdit: EventEmitter<void>;
|
|
24
26
|
spxHelp: EventEmitter<void>;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
handleFocusIn(ev: Event): void;
|
|
28
|
+
handleFocusOut(ev: Event): void;
|
|
29
|
+
handleWindowClick(ev: Event): void;
|
|
27
30
|
onClear(): void;
|
|
28
31
|
onSearch(): void;
|
|
29
32
|
onEdit(): void;
|
|
30
33
|
onHelp(): void;
|
|
34
|
+
constructor(elRef: ElementRef);
|
|
31
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxInputBoxComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpxInputBoxComponent, "spx-input-box", never, { "
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxInputBoxComponent, "spx-input-box", never, { "spxFocused": { "alias": "spxFocused"; "required": false; }; "spxLabel": { "alias": "spxLabel"; "required": false; }; "spxRequired": { "alias": "spxRequired"; "required": false; }; "spxReadonly": { "alias": "spxReadonly"; "required": false; }; "spxShowHelp": { "alias": "spxShowHelp"; "required": false; }; "spxCompact": { "alias": "spxCompact"; "required": false; }; "spxShowClear": { "alias": "spxShowClear"; "required": false; }; "spxShowEdit": { "alias": "spxShowEdit"; "required": false; }; "spxShowSearch": { "alias": "spxShowSearch"; "required": false; }; "spxShowValidationMessages": { "alias": "spxShowValidationMessages"; "required": false; }; "spxValue": { "alias": "spxValue"; "required": false; }; }, { "spxClear": "spxClear"; "spxSearch": "spxSearch"; "spxFocus": "spxFocus"; "spxFocusOut": "spxFocusOut"; "spxEdit": "spxEdit"; "spxHelp": "spxHelp"; }, never, ["[controls]", "[validation-messages]"], true, never>;
|
|
33
37
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { SpxValuePair } from './spx-value-interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SpxInputTextComponent {
|
|
@@ -17,6 +17,7 @@ export declare class SpxInputTextComponent {
|
|
|
17
17
|
spxChange: EventEmitter<SpxValuePair<any>>;
|
|
18
18
|
spxFocus: EventEmitter<void>;
|
|
19
19
|
spxWasInternalUpdate: boolean;
|
|
20
|
+
inputRef?: ElementRef<HTMLInputElement>;
|
|
20
21
|
spxSetFocus(): Promise<void>;
|
|
21
22
|
componentDidLoad(): void;
|
|
22
23
|
handleBlur(): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum SpxInputTypeEnum {
|
|
2
|
+
autocomplete = "autocomplete",
|
|
3
|
+
date = "date",
|
|
4
|
+
float = "float",
|
|
5
|
+
overlay = "overlay",
|
|
6
|
+
overlayNumber = "overlaynumber",
|
|
7
|
+
radio = "radio",
|
|
8
|
+
number = "number",
|
|
9
|
+
password = "password",
|
|
10
|
+
text = "text",
|
|
11
|
+
textNumericKeyboard = "textNumericKeyboard"
|
|
12
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { SpxInputTextComponent } from './spx-input-text.component';
|
|
2
3
|
import { SpxValuePair } from './spx-value-interface';
|
|
4
|
+
import { SpxInputTypeEnum } from './spx-input-type.enum';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
export declare class SpxInputComponent {
|
|
5
7
|
spxLabel: string;
|
|
@@ -21,7 +23,7 @@ export declare class SpxInputComponent {
|
|
|
21
23
|
spxShowValidationMessages?: boolean | null | undefined;
|
|
22
24
|
spxStep?: number;
|
|
23
25
|
spxSuggestions: SpxValuePair<boolean | number | string>[];
|
|
24
|
-
spxType:
|
|
26
|
+
spxType: SpxInputTypeEnum;
|
|
25
27
|
spxValidators: any[];
|
|
26
28
|
value: SpxValuePair<any>;
|
|
27
29
|
spxCapitalize: boolean;
|
|
@@ -32,8 +34,8 @@ export declare class SpxInputComponent {
|
|
|
32
34
|
spxEdit: EventEmitter<void>;
|
|
33
35
|
spxHelp: EventEmitter<void>;
|
|
34
36
|
spxSearch: EventEmitter<void>;
|
|
37
|
+
textInput?: SpxInputTextComponent;
|
|
35
38
|
spxFocused: boolean;
|
|
36
|
-
spxSetFocus(): Promise<void>;
|
|
37
39
|
handleBlur(): void;
|
|
38
40
|
handleChange(event: any): void;
|
|
39
41
|
handleClear(): void;
|
|
@@ -52,7 +54,6 @@ export declare class SpxInputComponent {
|
|
|
52
54
|
_handleBlurEvent(): void;
|
|
53
55
|
registerOnChange(fn: (value: any) => void): void;
|
|
54
56
|
registerOnTouched(fn: () => void): void;
|
|
55
|
-
setDisabledState(isDisabled: boolean): void;
|
|
56
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxInputComponent, never>;
|
|
57
58
|
static ɵcmp: i0.ɵɵComponentDeclaration<SpxInputComponent, "spx-input", never, { "spxLabel": { "alias": "spxLabel"; "required": false; }; "spxMax": { "alias": "spxMax"; "required": false; }; "spxMin": { "alias": "spxMin"; "required": false; }; "spxName": { "alias": "spxName"; "required": false; }; "spxReadonly": { "alias": "spxReadonly"; "required": false; }; "spxAutofocus": { "alias": "spxAutofocus"; "required": false; }; "spxInputMode": { "alias": "spxInputMode"; "required": false; }; "spxPattern": { "alias": "spxPattern"; "required": false; }; "spxRequired": { "alias": "spxRequired"; "required": false; }; "spxSelectMonth": { "alias": "spxSelectMonth"; "required": false; }; "spxSelectDay": { "alias": "spxSelectDay"; "required": false; }; "spxShowEdit": { "alias": "spxShowEdit"; "required": false; }; "spxShowHelp": { "alias": "spxShowHelp"; "required": false; }; "spxCompact": { "alias": "spxCompact"; "required": false; }; "spxShowClear": { "alias": "spxShowClear"; "required": false; }; "spxShowSearch": { "alias": "spxShowSearch"; "required": false; }; "spxShowValidationMessages": { "alias": "spxShowValidationMessages"; "required": false; }; "spxStep": { "alias": "spxStep"; "required": false; }; "spxSuggestions": { "alias": "spxSuggestions"; "required": false; }; "spxType": { "alias": "spxType"; "required": false; }; "spxValidators": { "alias": "spxValidators"; "required": false; }; "value": { "alias": "value"; "required": false; }; "spxCapitalize": { "alias": "spxCapitalize"; "required": false; }; "spxFocused": { "alias": "spxFocused"; "required": false; }; }, { "spxBlur": "spxBlur"; "spxClear": "spxClear"; "spxChange": "spxChange"; "spxFocus": "spxFocus"; "spxEdit": "spxEdit"; "spxHelp": "spxHelp"; "spxSearch": "spxSearch"; }, never, ["*"], true, never>;
|
|
58
59
|
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class SpxHomeTileComponent {
|
|
3
|
+
spxAutofocus?: boolean;
|
|
4
|
+
spxClass?: string;
|
|
5
|
+
spxSubtitle?: string;
|
|
3
6
|
spxTitle?: string;
|
|
7
|
+
private buttonRef?;
|
|
8
|
+
setFocus(): void;
|
|
4
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxHomeTileComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpxHomeTileComponent, "spx-home-tile", never, { "spxTitle": { "alias": "spxTitle"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxHomeTileComponent, "spx-home-tile", never, { "spxAutofocus": { "alias": "spxAutofocus"; "required": false; }; "spxClass": { "alias": "spxClass"; "required": false; }; "spxSubtitle": { "alias": "spxSubtitle"; "required": false; }; "spxTitle": { "alias": "spxTitle"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
6
11
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
1
|
+
import { EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
|
2
2
|
import { SpxNavigationItemI } from './spx-navigation-item.interface';
|
|
3
|
+
import { SpxHomeTileComponent } from './spx-home-tile.component';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class SpxNavigationComponent {
|
|
6
|
+
tiles?: QueryList<SpxHomeTileComponent>;
|
|
5
7
|
iconTemplateRef?: TemplateRef<any>;
|
|
6
8
|
navItems: SpxNavigationItemI[];
|
|
7
9
|
spxClick: EventEmitter<string>;
|
|
8
10
|
constructor();
|
|
11
|
+
setFocus(): void;
|
|
9
12
|
onNavigate(link: string): void;
|
|
10
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxNavigationComponent, never>;
|
|
11
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<SpxNavigationComponent, "spx-navigation", never, { "navItems": { "alias": "navItems"; "required": false; }; }, { "spxClick": "spxClick"; }, ["iconTemplateRef"], never, true, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './spx-number-check.component';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { SpxSeverityEnum } from '@softpak/components/spx-helpers';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SpxNumberCheckComponent implements OnChanges, OnInit, OnDestroy {
|
|
7
|
+
private readonly formBuilder;
|
|
8
|
+
spxAction: string;
|
|
9
|
+
spxSimpleMode: boolean;
|
|
10
|
+
spxPincode: string;
|
|
11
|
+
txtCancel: string;
|
|
12
|
+
txtConfirm: string;
|
|
13
|
+
txtConfirmMessage: string;
|
|
14
|
+
txtReset: string;
|
|
15
|
+
spxCancel: EventEmitter<void>;
|
|
16
|
+
spxConfirm: EventEmitter<void>;
|
|
17
|
+
viewChild1: ElementRef<HTMLInputElement>;
|
|
18
|
+
viewChild2: ElementRef<HTMLInputElement>;
|
|
19
|
+
viewChild3: ElementRef<HTMLInputElement>;
|
|
20
|
+
viewChild4: ElementRef<HTMLInputElement>;
|
|
21
|
+
form: FormGroup;
|
|
22
|
+
severityError: SpxSeverityEnum;
|
|
23
|
+
severitySuccess: SpxSeverityEnum;
|
|
24
|
+
severityWarning: SpxSeverityEnum;
|
|
25
|
+
accepted: boolean;
|
|
26
|
+
denied: boolean;
|
|
27
|
+
listenToCtrl1?: Subscription;
|
|
28
|
+
listenToCtrl2?: Subscription;
|
|
29
|
+
listenToCtrl3?: Subscription;
|
|
30
|
+
listenToCtrl4?: Subscription;
|
|
31
|
+
listenToTyping?: Subscription;
|
|
32
|
+
get ctrl1(): FormControl;
|
|
33
|
+
get ctrl2(): FormControl;
|
|
34
|
+
get ctrl3(): FormControl;
|
|
35
|
+
get ctrl4(): FormControl;
|
|
36
|
+
constructor(formBuilder: FormBuilder);
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
handleCancel(): void;
|
|
41
|
+
handleConfirm(): void;
|
|
42
|
+
handleReset(): void;
|
|
43
|
+
onDigitInput(event: any): void;
|
|
44
|
+
onBackspace(event: any): void;
|
|
45
|
+
private checkPincode;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpxNumberCheckComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxNumberCheckComponent, "spx-number-check", never, { "spxAction": { "alias": "spxAction"; "required": false; }; "spxSimpleMode": { "alias": "spxSimpleMode"; "required": false; }; "spxPincode": { "alias": "spxPincode"; "required": false; }; "txtCancel": { "alias": "txtCancel"; "required": false; }; "txtConfirm": { "alias": "txtConfirm"; "required": false; }; "txtConfirmMessage": { "alias": "txtConfirmMessage"; "required": false; }; "txtReset": { "alias": "txtReset"; "required": false; }; }, { "spxCancel": "spxCancel"; "spxConfirm": "spxConfirm"; }, never, never, true, never>;
|
|
48
|
+
}
|
|
@@ -5,7 +5,7 @@ export declare class SpxToasterComponent {
|
|
|
5
5
|
hostClass: boolean;
|
|
6
6
|
messages: SpxToasterMessageI[];
|
|
7
7
|
spxClose: EventEmitter<number>;
|
|
8
|
-
|
|
8
|
+
handleClose(id: number): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxToasterComponent, never>;
|
|
10
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<SpxToasterComponent, "spx-toaster", never, { "messages": { "alias": "messages"; "required": false; }; }, { "spxClose": "spxClose"; }, never, never, true, never>;
|
|
11
11
|
}
|