@softheon/armature 15.6.0 → 15.8.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.
@@ -6,3 +6,6 @@ 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';
10
+ export * from './sof-image-checkbox/sof-image-checkbox.component';
11
+ export * from './sof-simple-alert/sof-simple-alert.component';
@@ -5,24 +5,28 @@ 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 "@angular/router";
9
- import * as i8 from "@angular/common";
10
- import * as i9 from "@angular/flex-layout";
11
- import * as i10 from "@angular/forms";
12
- import * as i11 from "@ngx-translate/core";
13
- import * as i12 from "@angular/material/select";
14
- import * as i13 from "@angular/material/core";
15
- import * as i14 from "@angular/material/checkbox";
16
- import * as i15 from "@angular/material/icon";
17
- import * as i16 from "@angular/material/dialog";
18
- import * as i17 from "@angular/material/button";
19
- import * as i18 from "@angular/material/form-field";
20
- import * as i19 from "@angular/material/toolbar";
21
- import * as i20 from "@angular/material/tooltip";
22
- import * as i21 from "@angular/material/button-toggle";
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 "@angular/router";
12
+ import * as i11 from "@angular/common";
13
+ import * as i12 from "@angular/flex-layout";
14
+ import * as i13 from "@angular/forms";
15
+ import * as i14 from "@ngx-translate/core";
16
+ import * as i15 from "@angular/material/select";
17
+ import * as i16 from "@angular/material/core";
18
+ import * as i17 from "@angular/material/checkbox";
19
+ import * as i18 from "@angular/material/icon";
20
+ import * as i19 from "@angular/material/dialog";
21
+ import * as i20 from "@angular/material/button";
22
+ import * as i21 from "@angular/material/form-field";
23
+ import * as i22 from "@angular/material/toolbar";
24
+ import * as i23 from "@angular/material/tooltip";
25
+ import * as i24 from "@angular/material/button-toggle";
26
+ import * as i25 from "@angular/material/card";
23
27
  /** The BaseComponentModule Module */
24
28
  export declare class BaseComponentModule {
25
29
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentModule, never>;
26
- 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.RouterModule, typeof i8.CommonModule, typeof i9.FlexLayoutModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i11.TranslateModule, typeof i12.MatSelectModule, typeof i13.MatOptionModule, typeof i14.MatCheckboxModule, typeof i15.MatIconModule, typeof i16.MatDialogModule, typeof i17.MatButtonModule, typeof i18.MatFormFieldModule, typeof i19.MatToolbarModule, typeof i20.MatTooltipModule, typeof i21.MatButtonToggleModule], [typeof i1.SofProgressBarComponent, typeof i2.SofBannerComponent, typeof i3.SofAlertComponent, typeof i4.SofModalComponent, typeof i5.SofButtonToggleGroupComponent, typeof i6.SofStarRatingComponent]>;
30
+ 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.RouterModule, typeof i11.CommonModule, typeof i12.FlexLayoutModule, typeof i13.FormsModule, typeof i13.ReactiveFormsModule, typeof i14.TranslateModule, typeof i15.MatSelectModule, typeof i16.MatOptionModule, typeof i17.MatCheckboxModule, typeof i18.MatIconModule, typeof i19.MatDialogModule, typeof i20.MatButtonModule, typeof i21.MatFormFieldModule, typeof i22.MatToolbarModule, typeof i23.MatTooltipModule, typeof i24.MatButtonToggleModule, typeof i25.MatCardModule], [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]>;
27
31
  static ɵinj: i0.ɵɵInjectorDeclaration<BaseComponentModule>;
28
32
  }
@@ -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,28 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SofImageCheckboxComponent implements OnInit {
4
+ /** The language text or a key that will be shown in this component */
5
+ imageTitle: string;
6
+ /** If Checkbox is checked */
7
+ isChecked: boolean;
8
+ /** The image url of image */
9
+ imageUrl: string;
10
+ /** Height of image */
11
+ imageHeight: string;
12
+ /** Width of image */
13
+ imageWidth: string;
14
+ /** Height of container */
15
+ containerHeight: string;
16
+ /** Width of container */
17
+ containerWidth: string;
18
+ /** Color theme */
19
+ matColor: string;
20
+ /** Whether the image checkbox is disabled or not */
21
+ isDisabled: boolean;
22
+ /** The constructor */
23
+ constructor();
24
+ /** Component on init lifecycle method */
25
+ ngOnInit(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<SofImageCheckboxComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<SofImageCheckboxComponent, "sof-image-checkbox", never, { "imageTitle": "imageTitle"; "imageUrl": "imageUrl"; "imageHeight": "imageHeight"; "imageWidth": "imageWidth"; "containerHeight": "containerHeight"; "containerWidth": "containerWidth"; "matColor": "matColor"; "isDisabled": "disabled"; }, {}, never, never, false, never>;
28
+ }
@@ -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
+ }
@@ -5,6 +5,8 @@ import { Observable } from 'rxjs';
5
5
  import { ThemeService } from '../../theming/services/theme.service';
6
6
  import { BaseConfigService } from '../services/base-config.service';
7
7
  import { CustomAuthConfigService } from '../services/custom-auth-config.service';
8
+ import { Router } from '@angular/router';
9
+ import { Location } from '@angular/common';
8
10
  import * as i0 from "@angular/core";
9
11
  /**
10
12
  * The startup service is used to call methods that should be run when initially loading the application
@@ -15,6 +17,8 @@ export declare class Initializer {
15
17
  private readonly themeService;
16
18
  private readonly configService;
17
19
  private readonly oAuthService;
20
+ private readonly router;
21
+ private readonly location;
18
22
  private readonly customAuthConfigService;
19
23
  /** The configuration behavior subject */
20
24
  private readonly isInitializedBs;
@@ -26,11 +30,14 @@ export declare class Initializer {
26
30
  * Constructs the startup service. Include any services that should be used during startup
27
31
  * @param http The HTTP Client
28
32
  * @param translateService The translate service
33
+ * @param themeService The theme service
29
34
  * @param configService The configuration service
30
35
  * @param oAuthService The oidc authorization service
36
+ * @param router The router
37
+ * @param location The location
31
38
  * @param customAuthConfigService The service that will configure the auth config
32
39
  */
33
- constructor(http: HttpClient, translateService: TranslateService, themeService: ThemeService, configService: BaseConfigService, oAuthService: OAuthService, customAuthConfigService: CustomAuthConfigService);
40
+ constructor(http: HttpClient, translateService: TranslateService, themeService: ThemeService, configService: BaseConfigService, oAuthService: OAuthService, router: Router, location: Location, customAuthConfigService: CustomAuthConfigService);
34
41
  /**
35
42
  * Loads all data that is needed upon initial loading of the website
36
43
  */
@@ -53,6 +60,6 @@ export declare class Initializer {
53
60
  private mergeCustomizer;
54
61
  /** Validates the existing token against the configurations */
55
62
  private validateExistingTokenAgainstConfigs;
56
- static ɵfac: i0.ɵɵFactoryDeclaration<Initializer, [null, null, null, null, null, { optional: true; }]>;
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<Initializer, [null, null, null, null, null, null, null, { optional: true; }]>;
57
64
  static ɵprov: i0.ɵɵInjectableDeclaration<Initializer>;
58
65
  }
@@ -7,4 +7,5 @@ export interface OidcAuthSettings extends AuthConfig {
7
7
  authSetOnStartup?: boolean;
8
8
  requireLoginOnStartup?: boolean;
9
9
  disableStartupTokenValidation?: boolean;
10
+ preserveRoute?: boolean;
10
11
  }
@@ -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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softheon/armature",
3
- "version": "15.6.0",
3
+ "version": "15.8.0",
4
4
  "dependencies": {
5
5
  "tslib": "^2.5.0"
6
6
  },