@softpak/components 0.1.7 → 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.
Files changed (31) hide show
  1. package/esm2022/spx-change-details/spx-change-details.component.mjs +84 -73
  2. package/esm2022/spx-channel-selection/src/spx-welcome.component.mjs +39 -28
  3. package/esm2022/spx-form-view/public-api.mjs +4 -1
  4. package/esm2022/spx-form-view/spx-form-button-type.enum.mjs +6 -0
  5. package/esm2022/spx-form-view/spx-form-button.interface.mjs +2 -0
  6. package/esm2022/spx-form-view/spx-form-view.component.mjs +17 -7
  7. package/esm2022/spx-form-view/spx-form.interface.mjs +2 -0
  8. package/esm2022/spx-stock-info/public-api.mjs +2 -0
  9. package/esm2022/spx-stock-info/softpak-components-spx-stock-info.mjs +5 -0
  10. package/esm2022/spx-stock-info/spx-stock-info-value.interface.mjs +2 -0
  11. package/esm2022/spx-stock-info/spx-stock-info.component.mjs +247 -0
  12. package/fesm2022/softpak-components-spx-change-details.mjs +83 -72
  13. package/fesm2022/softpak-components-spx-change-details.mjs.map +1 -1
  14. package/fesm2022/softpak-components-spx-channel-selection.mjs +38 -27
  15. package/fesm2022/softpak-components-spx-channel-selection.mjs.map +1 -1
  16. package/fesm2022/softpak-components-spx-form-view.mjs +23 -7
  17. package/fesm2022/softpak-components-spx-form-view.mjs.map +1 -1
  18. package/fesm2022/softpak-components-spx-stock-info.mjs +254 -0
  19. package/fesm2022/softpak-components-spx-stock-info.mjs.map +1 -0
  20. package/package.json +25 -19
  21. package/spx-change-details/spx-change-details.component.d.ts +4 -3
  22. package/spx-channel-selection/src/spx-welcome.component.d.ts +4 -3
  23. package/spx-form-view/public-api.d.ts +3 -0
  24. package/spx-form-view/spx-form-button-type.enum.d.ts +4 -0
  25. package/spx-form-view/spx-form-button.interface.d.ts +8 -0
  26. package/spx-form-view/spx-form-view.component.d.ts +3 -2
  27. package/spx-form-view/spx-form.interface.d.ts +6 -0
  28. package/spx-stock-info/index.d.ts +5 -0
  29. package/spx-stock-info/public-api.d.ts +1 -0
  30. package/spx-stock-info/spx-stock-info-value.interface.d.ts +10 -0
  31. package/spx-stock-info/spx-stock-info.component.d.ts +64 -0
@@ -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
- spxSections: SpxFormSectionI[];
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; }; "spxSections": { "alias": "spxSections"; "required": false; }; "spxSuggestions": { "alias": "spxSuggestions"; "required": false; }; }, { "spxBlur": "spxBlur"; "spxClick": "spxClick"; "spxSearch": "spxSearch"; }, never, never, true, never>;
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
  }
@@ -0,0 +1,6 @@
1
+ import { SpxFormButtonI } from "./spx-form-button.interface";
2
+ import { SpxFormSectionI } from "./spx-form-section.interface";
3
+ export interface SpxFormI {
4
+ buttons: SpxFormButtonI[];
5
+ sections: SpxFormSectionI[];
6
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@softpak/components/spx-stock-info" />
5
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ export * from './spx-stock-info.component';
@@ -0,0 +1,10 @@
1
+ import { SpxValuePair } from "@softpak/components/spx-inputs";
2
+ import { ctrlCategory, ctrlContainerStatus, ctrlContainerType, ctrlCustomer, ctrlDepot, ctrlLocation } from "./spx-stock-info.component";
3
+ export interface SpxStockInfoValueI {
4
+ [ctrlCategory]?: SpxValuePair<string>;
5
+ [ctrlContainerStatus]?: SpxValuePair<string>;
6
+ [ctrlContainerType]?: SpxValuePair<string>;
7
+ [ctrlCustomer]?: SpxValuePair<string>;
8
+ [ctrlDepot]: SpxValuePair<string>;
9
+ [ctrlLocation]?: SpxValuePair<string>;
10
+ }
@@ -0,0 +1,64 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
3
+ import { SpxInputTypeEnum, SpxValuePair } from '@softpak/components/spx-inputs';
4
+ import { SpxFormFieldI, SpxFormI } from '@softpak/components/spx-form-view';
5
+ import { SpxSeverityEnum } from '@softpak/components/spx-helpers';
6
+ import { SpxStockInfoValueI } from './spx-stock-info-value.interface';
7
+ import * as i0 from "@angular/core";
8
+ export declare const ctrlCategory = "ctrlCategory";
9
+ export declare const ctrlContainerStatus = "ctrlContainerStatus";
10
+ export declare const ctrlContainerType = "ctrlContainerType";
11
+ export declare const ctrlCustomer = "ctrlCustomer";
12
+ export declare const ctrlDepot = "ctrlDepot";
13
+ export declare const ctrlLocation = "ctrlLocation";
14
+ export declare const sectionContainerInfo = "sectionContainerInfo";
15
+ export declare const sectionCustomer = "sectionCustomer";
16
+ export declare const sectionLocation = "sectionLocation";
17
+ export declare class SpxStockInfoComponent {
18
+ readonly formBuilder: FormBuilder;
19
+ formGroup: FormGroup;
20
+ depot: string;
21
+ suggestions: any;
22
+ textLocation: string;
23
+ textDepot: string;
24
+ textCustomer: string;
25
+ textContainerInfo: string;
26
+ textCategory: string;
27
+ textContainerStatus: string;
28
+ textContainerType: string;
29
+ textSearch: string;
30
+ spxBlurCategory: EventEmitter<SpxValuePair<string>>;
31
+ spxBlurContainerStatus: EventEmitter<SpxValuePair<string>>;
32
+ spxBlurContainerType: EventEmitter<SpxValuePair<string>>;
33
+ spxBlurCustomer: EventEmitter<SpxValuePair<string>>;
34
+ spxSearchCategory: EventEmitter<SpxValuePair<string>>;
35
+ spxSearchContainerType: EventEmitter<SpxValuePair<string>>;
36
+ spxSearchContainerStatus: EventEmitter<SpxValuePair<string>>;
37
+ spxSearchCustomer: EventEmitter<SpxValuePair<string>>;
38
+ submit: EventEmitter<SpxStockInfoValueI>;
39
+ inputTypeAutocomplete: SpxInputTypeEnum;
40
+ inputTypeRadio: SpxInputTypeEnum;
41
+ inputTypeText: SpxInputTypeEnum;
42
+ severitySuccess: SpxSeverityEnum;
43
+ form: SpxFormI;
44
+ get ctrlCategory(): FormControl;
45
+ get ctrlContainerStatus(): FormControl;
46
+ get ctrlContainerType(): FormControl;
47
+ get ctrlCustomer(): FormControl;
48
+ get ctrlDepot(): FormControl;
49
+ get ctrlLocation(): FormControl;
50
+ constructor(formBuilder: FormBuilder);
51
+ createForm(): FormGroup;
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
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpxStockInfoComponent, 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>;
64
+ }