@softheon/armature 15.7.0 → 15.9.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/assets/styles/_utility.scss +4 -0
- package/esm2020/lib/base-components/base-component-api.mjs +4 -1
- package/esm2020/lib/base-components/base-component.module.mjs +22 -7
- package/esm2020/lib/base-components/sof-badge/sof-badge.component.mjs +49 -0
- package/esm2020/lib/base-components/sof-confirm-address/sof-confirm-address.component.mjs +59 -0
- package/esm2020/lib/base-components/sof-simple-alert/sof-simple-alert.component.mjs +49 -0
- package/esm2020/lib/core/models/oidc-auth-settings.mjs +1 -1
- package/esm2020/lib/forms/models/enums/states.mjs +9 -1
- package/esm2020/lib/header/components/header/header.component.mjs +2 -2
- package/fesm2015/softheon-armature.mjs +167 -9
- package/fesm2015/softheon-armature.mjs.map +1 -1
- package/fesm2020/softheon-armature.mjs +165 -9
- package/fesm2020/softheon-armature.mjs.map +1 -1
- package/lib/base-components/base-component-api.d.ts +3 -0
- package/lib/base-components/base-component.module.d.ts +22 -18
- package/lib/base-components/sof-badge/sof-badge.component.d.ts +26 -0
- package/lib/base-components/sof-confirm-address/sof-confirm-address.component.d.ts +61 -0
- package/lib/base-components/sof-simple-alert/sof-simple-alert.component.d.ts +29 -0
- package/lib/core/models/oidc-auth-settings.d.ts +1 -1
- package/lib/forms/models/enums/states.d.ts +8 -0
- package/package.json +1 -1
|
@@ -6,4 +6,7 @@ export * from './sof-alert/sof-alert.component';
|
|
|
6
6
|
export * from './sof-modal/sof-modal.component';
|
|
7
7
|
export * from './sof-button-toggle-group/sof-button-toggle-group.component';
|
|
8
8
|
export * from './sof-star-rating/sof-star-rating.component';
|
|
9
|
+
export * from './sof-badge/sof-badge.component';
|
|
9
10
|
export * from './sof-image-checkbox/sof-image-checkbox.component';
|
|
11
|
+
export * from './sof-simple-alert/sof-simple-alert.component';
|
|
12
|
+
export * from './sof-confirm-address/sof-confirm-address.component';
|
|
@@ -5,26 +5,30 @@ import * as i3 from "./sof-alert/sof-alert.component";
|
|
|
5
5
|
import * as i4 from "./sof-modal/sof-modal.component";
|
|
6
6
|
import * as i5 from "./sof-button-toggle-group/sof-button-toggle-group.component";
|
|
7
7
|
import * as i6 from "./sof-star-rating/sof-star-rating.component";
|
|
8
|
-
import * as i7 from "./sof-
|
|
9
|
-
import * as i8 from "
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "@angular/
|
|
13
|
-
import * as i12 from "@
|
|
14
|
-
import * as i13 from "@angular/
|
|
15
|
-
import * as i14 from "@angular/
|
|
16
|
-
import * as i15 from "@
|
|
17
|
-
import * as i16 from "@angular/material/
|
|
18
|
-
import * as i17 from "@angular/material/
|
|
19
|
-
import * as i18 from "@angular/material/
|
|
20
|
-
import * as i19 from "@angular/material/
|
|
21
|
-
import * as i20 from "@angular/material/
|
|
22
|
-
import * as i21 from "@angular/material/
|
|
23
|
-
import * as i22 from "@angular/material/
|
|
24
|
-
import * as i23 from "@angular/material/
|
|
8
|
+
import * as i7 from "./sof-badge/sof-badge.component";
|
|
9
|
+
import * as i8 from "./sof-image-checkbox/sof-image-checkbox.component";
|
|
10
|
+
import * as i9 from "./sof-simple-alert/sof-simple-alert.component";
|
|
11
|
+
import * as i10 from "./sof-confirm-address/sof-confirm-address.component";
|
|
12
|
+
import * as i11 from "@angular/router";
|
|
13
|
+
import * as i12 from "@angular/common";
|
|
14
|
+
import * as i13 from "@angular/flex-layout";
|
|
15
|
+
import * as i14 from "@angular/forms";
|
|
16
|
+
import * as i15 from "@ngx-translate/core";
|
|
17
|
+
import * as i16 from "@angular/material/select";
|
|
18
|
+
import * as i17 from "@angular/material/core";
|
|
19
|
+
import * as i18 from "@angular/material/checkbox";
|
|
20
|
+
import * as i19 from "@angular/material/icon";
|
|
21
|
+
import * as i20 from "@angular/material/dialog";
|
|
22
|
+
import * as i21 from "@angular/material/button";
|
|
23
|
+
import * as i22 from "@angular/material/form-field";
|
|
24
|
+
import * as i23 from "@angular/material/toolbar";
|
|
25
|
+
import * as i24 from "@angular/material/tooltip";
|
|
26
|
+
import * as i25 from "@angular/material/button-toggle";
|
|
27
|
+
import * as i26 from "@angular/material/card";
|
|
28
|
+
import * as i27 from "@angular/material/radio";
|
|
25
29
|
/** The BaseComponentModule Module */
|
|
26
30
|
export declare class BaseComponentModule {
|
|
27
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentModule, never>;
|
|
28
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseComponentModule, [typeof i1.SofProgressBarComponent, typeof i2.SofBannerComponent, typeof i3.SofAlertComponent, typeof i4.SofModalComponent, typeof i5.SofButtonToggleGroupComponent, typeof i6.SofStarRatingComponent, typeof i7.SofImageCheckboxComponent], [typeof
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseComponentModule, [typeof i1.SofProgressBarComponent, typeof i2.SofBannerComponent, typeof i3.SofAlertComponent, typeof i4.SofModalComponent, typeof i5.SofButtonToggleGroupComponent, typeof i6.SofStarRatingComponent, typeof i7.SofBadgeComponent, typeof i8.SofImageCheckboxComponent, typeof i9.SofSimpleAlertComponent, typeof i10.SofConfirmAddressComponent], [typeof i11.RouterModule, typeof i12.CommonModule, typeof i13.FlexLayoutModule, typeof i14.FormsModule, typeof i14.ReactiveFormsModule, typeof i15.TranslateModule, typeof i16.MatSelectModule, typeof i17.MatOptionModule, typeof i18.MatCheckboxModule, typeof i19.MatIconModule, typeof i20.MatDialogModule, typeof i21.MatButtonModule, typeof i22.MatFormFieldModule, typeof i23.MatToolbarModule, typeof i24.MatTooltipModule, typeof i25.MatButtonToggleModule, typeof i26.MatCardModule, typeof i27.MatRadioModule], [typeof i1.SofProgressBarComponent, typeof i2.SofBannerComponent, typeof i3.SofAlertComponent, typeof i4.SofModalComponent, typeof i5.SofButtonToggleGroupComponent, typeof i6.SofStarRatingComponent, typeof i7.SofBadgeComponent, typeof i8.SofImageCheckboxComponent, typeof i9.SofSimpleAlertComponent, typeof i10.SofConfirmAddressComponent]>;
|
|
29
33
|
static ɵinj: i0.ɵɵInjectorDeclaration<BaseComponentModule>;
|
|
30
34
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SofBadgeComponent {
|
|
3
|
+
/** Whether to show background color not */
|
|
4
|
+
noIcon: boolean;
|
|
5
|
+
/** Whether to show background color not */
|
|
6
|
+
noOutline: boolean;
|
|
7
|
+
/** The language text or a key that will be shown in this component */
|
|
8
|
+
badgeText: string;
|
|
9
|
+
/**
|
|
10
|
+
* The alert color
|
|
11
|
+
* Possible Values: 'info, 'success', 'warn', 'error', 'theme'
|
|
12
|
+
*/
|
|
13
|
+
badgeColor: string;
|
|
14
|
+
/** The icon class- this should be a font awesome class */
|
|
15
|
+
iconClass: string;
|
|
16
|
+
/**Whether to show colored label */
|
|
17
|
+
coloredLabel: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The constructor
|
|
20
|
+
*/
|
|
21
|
+
constructor();
|
|
22
|
+
/** On component init */
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SofBadgeComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SofBadgeComponent, "sof-badge", never, { "noIcon": "noIcon"; "noOutline": "noOutline"; "badgeText": "badgeText"; "badgeColor": "badgeColor"; "iconClass": "iconClass"; "coloredLabel": "coloredLabel"; }, {}, never, never, false, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SofConfirmAddressComponent implements OnInit {
|
|
6
|
+
dialogRef: MatDialogRef<any>;
|
|
7
|
+
data: ConfirmAddressData;
|
|
8
|
+
/** the selected option */
|
|
9
|
+
selectedOption: string;
|
|
10
|
+
/** The confirmed address form */
|
|
11
|
+
confirmedAddressForm: FormGroup;
|
|
12
|
+
/** Confirmed Address Form Control */
|
|
13
|
+
confirmedAddress: FormControl;
|
|
14
|
+
/** Recommend address not found indicator*/
|
|
15
|
+
recommendAddressNotFound: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* class constructor
|
|
18
|
+
* @param dialogRef the reference of the mat dialog
|
|
19
|
+
* @param data injected data to the mat dialog data token
|
|
20
|
+
*/
|
|
21
|
+
constructor(dialogRef: MatDialogRef<any>, data: ConfirmAddressData);
|
|
22
|
+
/** Life cycle hook on component init */
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
/** On No click of this function gets fired */
|
|
25
|
+
onNoClick(): void;
|
|
26
|
+
/** On click of the use address btn this function ets fired */
|
|
27
|
+
confirmAddr(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SofConfirmAddressComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SofConfirmAddressComponent, "sof-confirm-address", never, {}, {}, never, never, false, never>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The confirm address data class
|
|
33
|
+
*/
|
|
34
|
+
export declare class ConfirmAddressData {
|
|
35
|
+
/** The address type */
|
|
36
|
+
addressType?: string;
|
|
37
|
+
/** The header text */
|
|
38
|
+
headerText?: string;
|
|
39
|
+
/** The header text for recommend address not found */
|
|
40
|
+
headerTextRecommendAddressNotFound?: string;
|
|
41
|
+
/** The content text */
|
|
42
|
+
contentText?: string;
|
|
43
|
+
/** The content text for recommend address not found */
|
|
44
|
+
contentTextRecommendAddressNotFound?: string;
|
|
45
|
+
/** The given address subtitle*/
|
|
46
|
+
givenAddressSubtitle?: string;
|
|
47
|
+
/** The given address */
|
|
48
|
+
givenAddress?: any;
|
|
49
|
+
/** The recommend address subtitle*/
|
|
50
|
+
recommendAddressSubtitle?: string;
|
|
51
|
+
/** The recommend address */
|
|
52
|
+
recommendAddress?: any;
|
|
53
|
+
/** The cancel button text */
|
|
54
|
+
cancelButtonText?: string;
|
|
55
|
+
/** The confirm button text for select given address*/
|
|
56
|
+
confirmButtonTextGivenAddress?: string;
|
|
57
|
+
/** The confirm button text for select recommend address*/
|
|
58
|
+
confirmButtonTextRecommendAddress?: string;
|
|
59
|
+
/** The confirm button text for recommend address not found*/
|
|
60
|
+
confirmButtonTextRecommendAddressNotFound?: string;
|
|
61
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/** The softheon simplified alert component */
|
|
4
|
+
export declare class SofSimpleAlertComponent implements OnInit {
|
|
5
|
+
/** The language text or a key that will be shown in this component */
|
|
6
|
+
alertText: string;
|
|
7
|
+
/** Whether to show background color not */
|
|
8
|
+
hideBackground: boolean;
|
|
9
|
+
/** The alert color */
|
|
10
|
+
alertColor: 'information' | 'success' | 'warning' | 'error' | 'theme';
|
|
11
|
+
/** The icon class - this should be a font awesome class */
|
|
12
|
+
iconClass: string;
|
|
13
|
+
/** The default icons for the banner colors */
|
|
14
|
+
alertColorIconMapping: {
|
|
15
|
+
information: string;
|
|
16
|
+
success: string;
|
|
17
|
+
warning: string;
|
|
18
|
+
error: string;
|
|
19
|
+
theme: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The constructor
|
|
23
|
+
*/
|
|
24
|
+
constructor();
|
|
25
|
+
/** Implements on init */
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SofSimpleAlertComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SofSimpleAlertComponent, "sof-simple-alert", never, { "alertText": "alertText"; "hideBackground": "hideBackground"; "alertColor": "alertColor"; "iconClass": "iconClass"; }, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
export declare enum States {
|
|
5
5
|
AL = "Alabama",
|
|
6
6
|
AK = "Alaska",
|
|
7
|
+
AS = "American Samoa",
|
|
7
8
|
AZ = "Arizona",
|
|
8
9
|
AR = "Arkansas",
|
|
9
10
|
CA = "California",
|
|
@@ -12,7 +13,9 @@ export declare enum States {
|
|
|
12
13
|
DE = "Delaware",
|
|
13
14
|
DC = "District of Columbia",
|
|
14
15
|
FL = "Florida",
|
|
16
|
+
FM = "Micronesia",
|
|
15
17
|
GA = "Georgia",
|
|
18
|
+
GU = "Guam",
|
|
16
19
|
HI = "Hawaii",
|
|
17
20
|
ID = "Idaho",
|
|
18
21
|
IL = "Illinois",
|
|
@@ -24,8 +27,10 @@ export declare enum States {
|
|
|
24
27
|
ME = "Maine",
|
|
25
28
|
MD = "Maryland",
|
|
26
29
|
MA = "Massachusetts",
|
|
30
|
+
MH = "Marshall Islands",
|
|
27
31
|
MI = "Michigan",
|
|
28
32
|
MN = "Minnesota",
|
|
33
|
+
MP = "Northern Mariana Islands",
|
|
29
34
|
MS = "Mississippi",
|
|
30
35
|
MO = "Missouri",
|
|
31
36
|
MT = "Montana",
|
|
@@ -41,6 +46,8 @@ export declare enum States {
|
|
|
41
46
|
OK = "Oklahoma",
|
|
42
47
|
OR = "Oregon",
|
|
43
48
|
PA = "Pennsylvania",
|
|
49
|
+
PR = "Puerto Rico",
|
|
50
|
+
PW = "Palau",
|
|
44
51
|
RI = "Rhode Island",
|
|
45
52
|
SC = "South Carolina",
|
|
46
53
|
SD = "South Dakota",
|
|
@@ -49,6 +56,7 @@ export declare enum States {
|
|
|
49
56
|
UT = "Utah",
|
|
50
57
|
VT = "Vermont",
|
|
51
58
|
VA = "Virginia",
|
|
59
|
+
VI = "Virgin Islands",
|
|
52
60
|
WA = "Washington",
|
|
53
61
|
WV = "West Virginia",
|
|
54
62
|
WI = "Wisconsin",
|