@softheon/armature 15.1.1 → 15.7.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/sof-styles.scss +1002 -25
- package/esm2020/lib/alert-banner/alert-banner.module.mjs +4 -4
- package/esm2020/lib/alert-banner/components/alert-banner/alert-banner.component.mjs +3 -3
- package/esm2020/lib/alert-banner/services/alert-banner.service.mjs +3 -3
- package/esm2020/lib/armature.module.mjs +4 -4
- package/esm2020/lib/base-components/base-component-api.mjs +3 -1
- package/esm2020/lib/base-components/base-component.module.mjs +21 -10
- package/esm2020/lib/base-components/sof-alert/sof-alert.component.mjs +3 -3
- package/esm2020/lib/base-components/sof-banner/sof-banner.component.mjs +3 -3
- package/esm2020/lib/base-components/sof-button-toggle-group/sof-button-toggle-group.component.mjs +3 -3
- package/esm2020/lib/base-components/sof-image-checkbox/sof-image-checkbox.component.mjs +59 -0
- package/esm2020/lib/base-components/sof-modal/sof-modal.component.mjs +3 -3
- package/esm2020/lib/base-components/sof-progress-bar/sof-progress-bar.component.mjs +3 -3
- package/esm2020/lib/base-components/sof-star-rating/sof-star-rating.component.mjs +40 -0
- package/esm2020/lib/component-save-print/components/component-save-print/component-save-print.component.mjs +3 -3
- package/esm2020/lib/component-save-print/services/component-save-print.service.mjs +3 -3
- package/esm2020/lib/component-save-print/sof-ar-component-save-print.module.mjs +4 -4
- package/esm2020/lib/core/client-generated/api/session.service.mjs +3 -3
- package/esm2020/lib/core/components/app-template/app-template.component.mjs +3 -3
- package/esm2020/lib/core/initializer/initializer.service.mjs +38 -9
- package/esm2020/lib/core/interceptors/armature-auth-token-append.interceptor.mjs +3 -3
- package/esm2020/lib/core/models/oidc-auth-settings.mjs +1 -1
- package/esm2020/lib/core/services/authorization.service.mjs +3 -3
- package/esm2020/lib/core/services/banner.service.mjs +3 -3
- package/esm2020/lib/core/services/base-config.service.mjs +3 -3
- package/esm2020/lib/core/services/default-config.service.mjs +3 -3
- package/esm2020/lib/core/services/session.service.mjs +3 -3
- package/esm2020/lib/core/services/user-entity.service.mjs +3 -3
- package/esm2020/lib/distributed-cache/client-generated/api/cache.service.mjs +3 -3
- package/esm2020/lib/distributed-cache/distributed-cache.module.mjs +4 -4
- package/esm2020/lib/distributed-cache/services/server-cache.service.mjs +3 -3
- package/esm2020/lib/error/components/error-common/error-common.component.mjs +3 -3
- package/esm2020/lib/error/error.module.mjs +4 -4
- package/esm2020/lib/faq/components/faq/faq.component.mjs +3 -3
- package/esm2020/lib/faq/faq.module.mjs +4 -4
- package/esm2020/lib/footer/components/footer/footer.component.mjs +3 -3
- package/esm2020/lib/footer/components/site-map/site-map.component.mjs +3 -3
- package/esm2020/lib/footer/footer.module.mjs +4 -4
- package/esm2020/lib/forms/components/sof-address/sof-address.component.mjs +3 -3
- package/esm2020/lib/forms/directives/alphanumeric/alphanumeric.directive.mjs +3 -3
- package/esm2020/lib/forms/directives/input-trim/input-trim.directive.mjs +3 -3
- package/esm2020/lib/forms/directives/letters-only/letters-only.directive.mjs +3 -3
- package/esm2020/lib/forms/directives/numbers-only/numbers-only.directive.mjs +3 -3
- package/esm2020/lib/forms/forms.module.mjs +4 -4
- package/esm2020/lib/forms/pipes/phone-format.pipe.mjs +3 -3
- package/esm2020/lib/forms/services/alert.service.mjs +3 -3
- package/esm2020/lib/header/components/header/header.component.mjs +4 -4
- package/esm2020/lib/header/components/mobile-header-menu/mobile-header-menu.component.mjs +3 -3
- package/esm2020/lib/header/header.module.mjs +4 -4
- package/esm2020/lib/navigation/components/navigation/navigation.component.mjs +8 -7
- package/esm2020/lib/navigation/navigation.module.mjs +4 -4
- package/esm2020/lib/oauth/oauth.module.mjs +4 -4
- package/esm2020/lib/oauth/services/hybrid-saml-oauth.service.mjs +3 -3
- package/esm2020/lib/rbac/directives/rbac-action.directive.mjs +3 -3
- package/esm2020/lib/rbac/rbac.module.mjs +4 -4
- package/esm2020/lib/rbac/services/ar-role-nav.service.mjs +3 -3
- package/esm2020/lib/rbac/services/oauth2-role.service.mjs +3 -3
- package/esm2020/lib/resize-panels/components/resize-panels/resize-panels.component.mjs +3 -3
- package/esm2020/lib/resize-panels/resize-panels.module.mjs +4 -4
- package/esm2020/lib/rum/rum.module.mjs +4 -4
- package/esm2020/lib/rum/services/rum.service.mjs +3 -3
- package/esm2020/lib/rum/services/shared-error.service.mjs +3 -3
- package/esm2020/lib/rum/services/softheon-error-handler.service.mjs +3 -3
- package/esm2020/lib/saml/components/redirect-saml/redirect-saml.component.mjs +3 -3
- package/esm2020/lib/saml/saml.module.mjs +4 -4
- package/esm2020/lib/saml/services/entry/sso-gateway-entry.service.mjs +3 -3
- package/esm2020/lib/saml/services/send-off/saml.service.mjs +3 -3
- package/esm2020/lib/sof-pipe/pipes/sof-blank/sof-blank.pipe.mjs +3 -3
- package/esm2020/lib/sof-pipe/pipes/sof-date/sof-date.pipe.mjs +3 -3
- package/esm2020/lib/sof-pipe/pipes/sof-ssn/sof-ssn.pipe.mjs +3 -3
- package/esm2020/lib/sof-pipe/sof-pipe.module.mjs +4 -4
- package/esm2020/lib/theming/directives/css-override.directive.mjs +3 -3
- package/esm2020/lib/theming/services/theme.service.mjs +3 -3
- package/esm2020/lib/theming/theme.module.mjs +4 -4
- package/fesm2015/softheon-armature.mjs +403 -278
- package/fesm2015/softheon-armature.mjs.map +1 -1
- package/fesm2020/softheon-armature.mjs +393 -269
- package/fesm2020/softheon-armature.mjs.map +1 -1
- package/lib/base-components/base-component-api.d.ts +2 -0
- package/lib/base-components/base-component.module.d.ts +19 -16
- package/lib/base-components/sof-image-checkbox/sof-image-checkbox.component.d.ts +28 -0
- package/lib/base-components/sof-star-rating/sof-star-rating.component.d.ts +25 -0
- package/lib/core/initializer/initializer.service.d.ts +11 -2
- package/lib/core/models/oidc-auth-settings.d.ts +2 -0
- package/package.json +1 -1
|
@@ -5,3 +5,5 @@ export * from './sof-banner/sof-banner.component';
|
|
|
5
5
|
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
|
+
export * from './sof-star-rating/sof-star-rating.component';
|
|
9
|
+
export * from './sof-image-checkbox/sof-image-checkbox.component';
|
|
@@ -4,24 +4,27 @@ import * as i2 from "./sof-banner/sof-banner.component";
|
|
|
4
4
|
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
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "@angular/
|
|
10
|
-
import * as i9 from "@angular/
|
|
11
|
-
import * as i10 from "@
|
|
12
|
-
import * as i11 from "@angular/
|
|
13
|
-
import * as i12 from "@
|
|
14
|
-
import * as i13 from "@angular/material/
|
|
15
|
-
import * as i14 from "@angular/material/
|
|
16
|
-
import * as i15 from "@angular/material/
|
|
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/
|
|
7
|
+
import * as i6 from "./sof-star-rating/sof-star-rating.component";
|
|
8
|
+
import * as i7 from "./sof-image-checkbox/sof-image-checkbox.component";
|
|
9
|
+
import * as i8 from "@angular/router";
|
|
10
|
+
import * as i9 from "@angular/common";
|
|
11
|
+
import * as i10 from "@angular/flex-layout";
|
|
12
|
+
import * as i11 from "@angular/forms";
|
|
13
|
+
import * as i12 from "@ngx-translate/core";
|
|
14
|
+
import * as i13 from "@angular/material/select";
|
|
15
|
+
import * as i14 from "@angular/material/core";
|
|
16
|
+
import * as i15 from "@angular/material/checkbox";
|
|
17
|
+
import * as i16 from "@angular/material/icon";
|
|
18
|
+
import * as i17 from "@angular/material/dialog";
|
|
19
|
+
import * as i18 from "@angular/material/button";
|
|
20
|
+
import * as i19 from "@angular/material/form-field";
|
|
21
|
+
import * as i20 from "@angular/material/toolbar";
|
|
22
|
+
import * as i21 from "@angular/material/tooltip";
|
|
23
|
+
import * as i22 from "@angular/material/button-toggle";
|
|
24
|
+
import * as i23 from "@angular/material/card";
|
|
22
25
|
/** The BaseComponentModule Module */
|
|
23
26
|
export declare class BaseComponentModule {
|
|
24
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentModule, never>;
|
|
25
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseComponentModule, [typeof i1.SofProgressBarComponent, typeof i2.SofBannerComponent, typeof i3.SofAlertComponent, typeof i4.SofModalComponent, typeof i5.SofButtonToggleGroupComponent], [typeof
|
|
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 i8.RouterModule, typeof i9.CommonModule, typeof i10.FlexLayoutModule, typeof i11.FormsModule, typeof i11.ReactiveFormsModule, typeof i12.TranslateModule, typeof i13.MatSelectModule, typeof i14.MatOptionModule, typeof i15.MatCheckboxModule, typeof i16.MatIconModule, typeof i17.MatDialogModule, typeof i18.MatButtonModule, typeof i19.MatFormFieldModule, typeof i20.MatToolbarModule, typeof i21.MatTooltipModule, typeof i22.MatButtonToggleModule, typeof i23.MatCardModule], [typeof i1.SofProgressBarComponent, typeof i2.SofBannerComponent, typeof i3.SofAlertComponent, typeof i4.SofModalComponent, typeof i5.SofButtonToggleGroupComponent, typeof i6.SofStarRatingComponent, typeof i7.SofImageCheckboxComponent]>;
|
|
26
29
|
static ɵinj: i0.ɵɵInjectorDeclaration<BaseComponentModule>;
|
|
27
30
|
}
|
|
@@ -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,25 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/** The progress bar page component */
|
|
4
|
+
export declare class SofStarRatingComponent implements OnInit {
|
|
5
|
+
/** The number of stars */
|
|
6
|
+
rating: number;
|
|
7
|
+
/** The max number of stars */
|
|
8
|
+
maxStars: number;
|
|
9
|
+
/**
|
|
10
|
+
* The constructor
|
|
11
|
+
*/
|
|
12
|
+
constructor();
|
|
13
|
+
/**
|
|
14
|
+
* On component init
|
|
15
|
+
*/
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
/** Get full stars */
|
|
18
|
+
get fullStars(): number[];
|
|
19
|
+
/** Get half stars */
|
|
20
|
+
get hasHalfStar(): boolean;
|
|
21
|
+
/** Get empty stars */
|
|
22
|
+
get emptyStars(): number[];
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SofStarRatingComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SofStarRatingComponent, "sof-star-rating", never, { "rating": "rating"; "maxStars": "maxStars"; }, {}, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -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
|
*/
|
|
@@ -51,6 +58,8 @@ export declare class Initializer {
|
|
|
51
58
|
* @returns The merge of the two configs provided
|
|
52
59
|
*/
|
|
53
60
|
private mergeCustomizer;
|
|
54
|
-
|
|
61
|
+
/** Validates the existing token against the configurations */
|
|
62
|
+
private validateExistingTokenAgainstConfigs;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Initializer, [null, null, null, null, null, null, null, { optional: true; }]>;
|
|
55
64
|
static ɵprov: i0.ɵɵInjectableDeclaration<Initializer>;
|
|
56
65
|
}
|