@softpak/components 0.1.8-beta.1 → 0.1.8-beta.2
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-change-details/spx-change-details.component.mjs +84 -73
- package/esm2022/spx-channel-selection/src/spx-welcome.component.mjs +39 -28
- package/esm2022/spx-form-view/public-api.mjs +4 -1
- package/esm2022/spx-form-view/spx-form-button-type.enum.mjs +6 -0
- package/esm2022/spx-form-view/spx-form-button.interface.mjs +2 -0
- package/esm2022/spx-form-view/spx-form-view.component.mjs +17 -7
- package/esm2022/spx-form-view/spx-form.interface.mjs +2 -0
- package/esm2022/spx-stock-info/spx-stock-info.component.mjs +110 -99
- package/fesm2022/softpak-components-spx-change-details.mjs +83 -72
- package/fesm2022/softpak-components-spx-change-details.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-channel-selection.mjs +38 -27
- package/fesm2022/softpak-components-spx-channel-selection.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-form-view.mjs +23 -7
- package/fesm2022/softpak-components-spx-form-view.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-stock-info.mjs +109 -98
- package/fesm2022/softpak-components-spx-stock-info.mjs.map +1 -1
- package/package.json +13 -13
- package/spx-change-details/spx-change-details.component.d.ts +4 -3
- package/spx-channel-selection/src/spx-welcome.component.d.ts +4 -3
- package/spx-form-view/public-api.d.ts +3 -0
- package/spx-form-view/spx-form-button-type.enum.d.ts +4 -0
- package/spx-form-view/spx-form-button.interface.d.ts +8 -0
- package/spx-form-view/spx-form-view.component.d.ts +3 -2
- package/spx-form-view/spx-form.interface.d.ts +6 -0
- package/spx-stock-info/spx-stock-info.component.d.ts +4 -3
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SpxSeverityEnum } from "@softpak/components/spx-helpers";
|
|
2
|
+
import { SpxFormButtonTypeEnum } from "./spx-form-button-type.enum";
|
|
3
|
+
export interface SpxFormButtonI {
|
|
4
|
+
onClick?: () => {};
|
|
5
|
+
severity: SpxSeverityEnum;
|
|
6
|
+
label: string;
|
|
7
|
+
type: SpxFormButtonTypeEnum;
|
|
8
|
+
}
|
|
@@ -3,11 +3,12 @@ import { SpxFormSectionI } from './spx-form-section.interface';
|
|
|
3
3
|
import { SpxInputComponent, SpxInputTypeEnum, SpxValuePair } from '@softpak/components/spx-inputs';
|
|
4
4
|
import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
|
|
5
5
|
import { SpxFormFieldI } from './spx-form-field.interface';
|
|
6
|
+
import { SpxFormI } from './spx-form.interface';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class SpxFormViewComponent {
|
|
8
9
|
readonly formBuilder: FormBuilder;
|
|
9
10
|
spxFormGroup: FormGroup;
|
|
10
|
-
|
|
11
|
+
spxForm: SpxFormI;
|
|
11
12
|
spxSuggestions: any;
|
|
12
13
|
spxBlur: EventEmitter<{
|
|
13
14
|
field: SpxFormFieldI;
|
|
@@ -44,5 +45,5 @@ export declare class SpxFormViewComponent {
|
|
|
44
45
|
static createForm(formBuilder: FormBuilder, sections: SpxFormSectionI[]): FormGroup;
|
|
45
46
|
constructor(formBuilder: FormBuilder);
|
|
46
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxFormViewComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpxFormViewComponent, "spx-form-view", never, { "spxFormGroup": { "alias": "spxFormGroup"; "required": false; }; "
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxFormViewComponent, "spx-form-view", never, { "spxFormGroup": { "alias": "spxFormGroup"; "required": false; }; "spxForm": { "alias": "spxForm"; "required": false; }; "spxSuggestions": { "alias": "spxSuggestions"; "required": false; }; }, { "spxBlur": "spxBlur"; "spxClick": "spxClick"; "spxSearch": "spxSearch"; }, never, never, true, never>;
|
|
48
49
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import { SpxInputTypeEnum, SpxValuePair } from '@softpak/components/spx-inputs';
|
|
4
|
-
import { SpxFormFieldI,
|
|
4
|
+
import { SpxFormFieldI, SpxFormI } from '@softpak/components/spx-form-view';
|
|
5
5
|
import { SpxSeverityEnum } from '@softpak/components/spx-helpers';
|
|
6
6
|
import { SpxStockInfoValueI } from './spx-stock-info-value.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -26,6 +26,7 @@ export declare class SpxStockInfoComponent {
|
|
|
26
26
|
textCategory: string;
|
|
27
27
|
textContainerStatus: string;
|
|
28
28
|
textContainerType: string;
|
|
29
|
+
textSearch: string;
|
|
29
30
|
spxBlurCategory: EventEmitter<SpxValuePair<string>>;
|
|
30
31
|
spxBlurContainerStatus: EventEmitter<SpxValuePair<string>>;
|
|
31
32
|
spxBlurContainerType: EventEmitter<SpxValuePair<string>>;
|
|
@@ -39,7 +40,7 @@ export declare class SpxStockInfoComponent {
|
|
|
39
40
|
inputTypeRadio: SpxInputTypeEnum;
|
|
40
41
|
inputTypeText: SpxInputTypeEnum;
|
|
41
42
|
severitySuccess: SpxSeverityEnum;
|
|
42
|
-
|
|
43
|
+
form: SpxFormI;
|
|
43
44
|
get ctrlCategory(): FormControl;
|
|
44
45
|
get ctrlContainerStatus(): FormControl;
|
|
45
46
|
get ctrlContainerType(): FormControl;
|
|
@@ -59,5 +60,5 @@ export declare class SpxStockInfoComponent {
|
|
|
59
60
|
}): void;
|
|
60
61
|
onSubmit(): void;
|
|
61
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxStockInfoComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpxStockInfoComponent, "spx-stock-info", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "depot": { "alias": "depot"; "required": false; }; "suggestions": { "alias": "suggestions"; "required": false; }; "textLocation": { "alias": "textLocation"; "required": false; }; "textDepot": { "alias": "textDepot"; "required": false; }; "textCustomer": { "alias": "textCustomer"; "required": false; }; "textContainerInfo": { "alias": "textContainerInfo"; "required": false; }; "textCategory": { "alias": "textCategory"; "required": false; }; "textContainerStatus": { "alias": "textContainerStatus"; "required": false; }; "textContainerType": { "alias": "textContainerType"; "required": false; }; }, { "spxBlurCategory": "spxBlurCategory"; "spxBlurContainerStatus": "spxBlurContainerStatus"; "spxBlurContainerType": "spxBlurContainerType"; "spxBlurCustomer": "spxBlurCustomer"; "spxSearchCategory": "spxSearchCategory"; "spxSearchContainerType": "spxSearchContainerType"; "spxSearchContainerStatus": "spxSearchContainerStatus"; "spxSearchCustomer": "spxSearchCustomer"; "submit": "submit"; }, never, never, true, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxStockInfoComponent, "spx-stock-info", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "depot": { "alias": "depot"; "required": false; }; "suggestions": { "alias": "suggestions"; "required": false; }; "textLocation": { "alias": "textLocation"; "required": false; }; "textDepot": { "alias": "textDepot"; "required": false; }; "textCustomer": { "alias": "textCustomer"; "required": false; }; "textContainerInfo": { "alias": "textContainerInfo"; "required": false; }; "textCategory": { "alias": "textCategory"; "required": false; }; "textContainerStatus": { "alias": "textContainerStatus"; "required": false; }; "textContainerType": { "alias": "textContainerType"; "required": false; }; "textSearch": { "alias": "textSearch"; "required": false; }; }, { "spxBlurCategory": "spxBlurCategory"; "spxBlurContainerStatus": "spxBlurContainerStatus"; "spxBlurContainerType": "spxBlurContainerType"; "spxBlurCustomer": "spxBlurCustomer"; "spxSearchCategory": "spxSearchCategory"; "spxSearchContainerType": "spxSearchContainerType"; "spxSearchContainerStatus": "spxSearchContainerStatus"; "spxSearchCustomer": "spxSearchCustomer"; "submit": "submit"; }, never, never, true, never>;
|
|
63
64
|
}
|