@softheon/armature 10.32.1 → 10.33.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/bundles/softheon-armature.umd.js +212 -5
- package/bundles/softheon-armature.umd.js.map +1 -1
- package/bundles/softheon-armature.umd.min.js +2 -2
- package/bundles/softheon-armature.umd.min.js.map +1 -1
- package/esm2015/lib/alert-banner/alert-banner-api.js +1 -1
- package/esm2015/lib/alert-banner/alert-banner.module.js +1 -1
- package/esm2015/lib/alert-banner/components/alert-banner/alert-banner.component.js +1 -1
- package/esm2015/lib/alert-banner/models/alert-banner-config.js +1 -1
- package/esm2015/lib/alert-banner/models/alert-banner-context.js +1 -1
- package/esm2015/lib/alert-banner/models/constants.js +1 -1
- package/esm2015/lib/alert-banner/services/alert-banner.service.js +1 -1
- package/esm2015/lib/armature.module.js +1 -1
- package/esm2015/lib/base-components/base-component-api.js +1 -1
- package/esm2015/lib/base-components/base-component.module.js +1 -1
- package/esm2015/lib/base-components/sof-alert/sof-alert.component.js +1 -1
- package/esm2015/lib/base-components/sof-banner/sof-banner.component.js +1 -1
- package/esm2015/lib/base-components/sof-modal/sof-modal.component.js +1 -1
- package/esm2015/lib/base-components/sof-progress-bar/sof-progress-bar.component.js +1 -1
- package/esm2015/lib/core/client-generated/api/session.service.js +1 -1
- package/esm2015/lib/core/client-generated/configuration.js +1 -1
- package/esm2015/lib/core/client-generated/encoder.js +1 -1
- package/esm2015/lib/core/client-generated/model/applicationUserModel.js +1 -1
- package/esm2015/lib/core/client-generated/model/assertedUserModel.js +1 -1
- package/esm2015/lib/core/client-generated/model/brandingModel.js +1 -1
- package/esm2015/lib/core/client-generated/model/errorModel.js +1 -1
- package/esm2015/lib/core/client-generated/model/folderLink.js +1 -1
- package/esm2015/lib/core/client-generated/model/identityProfile.js +1 -1
- package/esm2015/lib/core/client-generated/model/models.js +1 -1
- package/esm2015/lib/core/client-generated/model/oAuthModel.js +1 -1
- package/esm2015/lib/core/client-generated/model/preferencesRow.js +1 -1
- package/esm2015/lib/core/client-generated/model/rolesRow.js +1 -1
- package/esm2015/lib/core/client-generated/model/sessionGetResponseModel.js +1 -1
- package/esm2015/lib/core/client-generated/model/sessionPostRequestModel.js +1 -1
- package/esm2015/lib/core/client-generated/model/sessionPostResponseModel.js +1 -1
- package/esm2015/lib/core/client-generated/model/sessionPutRequestModel.js +1 -1
- package/esm2015/lib/core/client-generated/model/sessionPutResponseModel.js +1 -1
- package/esm2015/lib/core/client-generated/model/sessionResponseModel.js +1 -1
- package/esm2015/lib/core/client-generated/model/settingsProfile.js +1 -1
- package/esm2015/lib/core/client-generated/model/themePaletteColorsModel.js +1 -1
- package/esm2015/lib/core/client-generated/model/themePaletteModel.js +1 -1
- package/esm2015/lib/core/client-generated/model/trackingModel.js +1 -1
- package/esm2015/lib/core/client-generated/model/validationRecordsRow.js +1 -1
- package/esm2015/lib/core/client-generated/variables.js +1 -1
- package/esm2015/lib/core/components/app-template/app-template.component.js +1 -1
- package/esm2015/lib/core/functions/guid.js +1 -1
- package/esm2015/lib/core/functions/naming-convention.js +1 -1
- package/esm2015/lib/core/initializer/abstract-startup-service.js +1 -1
- package/esm2015/lib/core/initializer/initializer.service.js +13 -2
- package/esm2015/lib/core/interceptors/armature-auth-token-append.interceptor.js +1 -1
- package/esm2015/lib/core/models/base-config.js +1 -1
- package/esm2015/lib/core/models/constants.js +1 -1
- package/esm2015/lib/core/models/data-store-config.js +1 -1
- package/esm2015/lib/core/models/header-config.js +1 -1
- package/esm2015/lib/core/models/http-verbs.js +1 -1
- package/esm2015/lib/core/models/navigation-config.js +1 -1
- package/esm2015/lib/core/models/oidc-auth-settings.js +1 -1
- package/esm2015/lib/core/models/route-path.js +1 -1
- package/esm2015/lib/core/models/session-config.js +1 -1
- package/esm2015/lib/core/models/styles.js +1 -1
- package/esm2015/lib/core/models/typed-session.js +1 -1
- package/esm2015/lib/core/models/user-entity-service-config.js +1 -1
- package/esm2015/lib/core/services/authorization.service.js +1 -1
- package/esm2015/lib/core/services/banner.service.js +1 -1
- package/esm2015/lib/core/services/base-config.service.js +1 -1
- package/esm2015/lib/core/services/custom-auth-config.service.js +1 -1
- package/esm2015/lib/core/services/default-config.service.js +1 -1
- package/esm2015/lib/core/services/session.service.js +1 -1
- package/esm2015/lib/core/services/user-entity.service.js +1 -1
- package/esm2015/lib/distributed-cache/client-generated/api/api.js +1 -1
- package/esm2015/lib/distributed-cache/client-generated/api/cache.service.js +1 -1
- package/esm2015/lib/distributed-cache/client-generated/configuration.js +1 -1
- package/esm2015/lib/distributed-cache/client-generated/encoder.js +1 -1
- package/esm2015/lib/distributed-cache/client-generated/model/cacheExpirationType.js +1 -1
- package/esm2015/lib/distributed-cache/client-generated/model/createCacheEntryRequestModel.js +1 -1
- package/esm2015/lib/distributed-cache/client-generated/model/models.js +1 -1
- package/esm2015/lib/distributed-cache/client-generated/model/retrieveCacheEntryResponseModel.js +1 -1
- package/esm2015/lib/distributed-cache/client-generated/model/updateCacheEntryRequestModel.js +1 -1
- package/esm2015/lib/distributed-cache/client-generated/variables.js +1 -1
- package/esm2015/lib/distributed-cache/distributed-cache-api.js +1 -1
- package/esm2015/lib/distributed-cache/distributed-cache.module.js +1 -1
- package/esm2015/lib/distributed-cache/models/constants.js +1 -1
- package/esm2015/lib/distributed-cache/models/policy-person.js +1 -1
- package/esm2015/lib/distributed-cache/services/server-cache.service.js +1 -1
- package/esm2015/lib/error/components/error-common/error-common.component.js +1 -1
- package/esm2015/lib/error/error-api.js +1 -1
- package/esm2015/lib/error/error.module.js +1 -1
- package/esm2015/lib/error/models/error-common-config.js +1 -1
- package/esm2015/lib/faq/components/faq/faq.component.js +1 -1
- package/esm2015/lib/faq/faq-api.js +1 -1
- package/esm2015/lib/faq/faq.module.js +1 -1
- package/esm2015/lib/faq/models/faq-config.js +1 -1
- package/esm2015/lib/faq/models/faq.js +1 -1
- package/esm2015/lib/footer/components/footer/footer.component.js +1 -1
- package/esm2015/lib/footer/components/site-map/site-map.component.js +1 -1
- package/esm2015/lib/footer/footer-api.js +1 -1
- package/esm2015/lib/footer/footer.module.js +1 -1
- package/esm2015/lib/footer/models/enum/site-map-direction.js +1 -1
- package/esm2015/lib/footer/models/footer-config.js +1 -1
- package/esm2015/lib/footer/models/site-map-models.js +1 -1
- package/esm2015/lib/forms/components/sof-address/sof-address.component.js +1 -1
- package/esm2015/lib/forms/directives/alphanumeric/alphanumeric.directive.js +1 -1
- package/esm2015/lib/forms/directives/letters-only/letters-only.directive.js +1 -1
- package/esm2015/lib/forms/directives/numbers-only/numbers-only.directive.js +1 -1
- package/esm2015/lib/forms/forms-api.js +1 -1
- package/esm2015/lib/forms/forms.module.js +1 -1
- package/esm2015/lib/forms/models/address.js +1 -1
- package/esm2015/lib/forms/models/constants.js +1 -1
- package/esm2015/lib/forms/models/county.js +1 -1
- package/esm2015/lib/forms/models/enums/states.js +1 -1
- package/esm2015/lib/forms/pipes/phone-format.pipe.js +1 -1
- package/esm2015/lib/forms/services/alert.service.js +1 -1
- package/esm2015/lib/header/components/header/header.component.js +1 -1
- package/esm2015/lib/header/components/mobile-header-menu/mobile-header-menu.component.js +1 -1
- package/esm2015/lib/header/header-api.js +1 -1
- package/esm2015/lib/header/header.module.js +1 -1
- package/esm2015/lib/header/models/header-auth.settings.js +1 -1
- package/esm2015/lib/header/models/header-language.settings.js +1 -1
- package/esm2015/lib/header/models/header-theme.settings.js +1 -1
- package/esm2015/lib/header/models/header.settings.js +1 -1
- package/esm2015/lib/header/models/mobile-header-nav.settings.js +1 -1
- package/esm2015/lib/navigation/components/navigation/navigation.component.js +1 -1
- package/esm2015/lib/navigation/models/nav-theme.settings.js +1 -1
- package/esm2015/lib/navigation/models/nav.settings.js +1 -1
- package/esm2015/lib/navigation/models/navigation.js +1 -1
- package/esm2015/lib/navigation/navigation-api.js +1 -1
- package/esm2015/lib/navigation/navigation.module.js +1 -1
- package/esm2015/lib/oauth/models/constants.js +1 -1
- package/esm2015/lib/oauth/models/generated/accountManagementAssertionModel.js +1 -1
- package/esm2015/lib/oauth/models/generated/accountManagementRefreshRequestModel.js +1 -1
- package/esm2015/lib/oauth/models/generated/accountManagementResponseModel.js +1 -1
- package/esm2015/lib/oauth/models/generated/coverageDetail.js +1 -1
- package/esm2015/lib/oauth/models/generated/finance.js +1 -1
- package/esm2015/lib/oauth/models/generated/iSsoResponseModel.js +1 -1
- package/esm2015/lib/oauth/models/generated/iSsoResponseModelAccountManagementAssertionModel.js +1 -1
- package/esm2015/lib/oauth/models/generated/person.js +1 -1
- package/esm2015/lib/oauth/models/generated/policy.js +1 -1
- package/esm2015/lib/oauth/models/generated/refreshResponseModel.js +1 -1
- package/esm2015/lib/oauth/models/hybrid-saml-oauth-config.js +1 -1
- package/esm2015/lib/oauth/oauth-api.js +1 -1
- package/esm2015/lib/oauth/oauth.module.js +1 -1
- package/esm2015/lib/oauth/services/hybrid-saml-oauth.service.js +1 -1
- package/esm2015/lib/rbac/directives/rbac-action.directive.js +1 -1
- package/esm2015/lib/rbac/models/access-token-claims.js +1 -1
- package/esm2015/lib/rbac/models/constants.js +1 -1
- package/esm2015/lib/rbac/models/decoded-access-token.js +1 -1
- package/esm2015/lib/rbac/models/rbac-config.js +1 -1
- package/esm2015/lib/rbac/models/role-access.js +1 -1
- package/esm2015/lib/rbac/rbac-api.js +1 -1
- package/esm2015/lib/rbac/rbac.module.js +1 -1
- package/esm2015/lib/rbac/services/ar-role-nav.service.js +1 -1
- package/esm2015/lib/rbac/services/oauth2-role.service.js +1 -1
- package/esm2015/lib/rbac/services/role-nav.service.js +1 -1
- package/esm2015/lib/rum/models/arm-error.js +1 -1
- package/esm2015/lib/rum/models/rum-config.js +1 -1
- package/esm2015/lib/rum/rum-api.js +1 -1
- package/esm2015/lib/rum/rum.module.js +1 -1
- package/esm2015/lib/rum/services/rum.service.js +1 -1
- package/esm2015/lib/rum/services/shared-error.service.js +1 -1
- package/esm2015/lib/rum/services/softheon-error-handler.service.js +1 -1
- package/esm2015/lib/saml/components/redirect-saml/redirect-saml.component.js +1 -1
- package/esm2015/lib/saml/models/i-saml-request.js +1 -1
- package/esm2015/lib/saml/models/i-saml-response.js +1 -1
- package/esm2015/lib/saml/models/redirect-saml-request.js +1 -1
- package/esm2015/lib/saml/models/sso-gateway-model.js +1 -1
- package/esm2015/lib/saml/saml-api.js +1 -1
- package/esm2015/lib/saml/saml.module.js +1 -1
- package/esm2015/lib/saml/services/entry/abstract-saml-entry.service.js +1 -1
- package/esm2015/lib/saml/services/entry/sso-gateway-entry.service.js +1 -1
- package/esm2015/lib/saml/services/send-off/abstract-saml.service.js +1 -1
- package/esm2015/lib/saml/services/send-off/saml.service.js +1 -1
- package/esm2015/lib/sof-pipe/constants/constants.js +17 -0
- package/esm2015/lib/sof-pipe/models/sof-date-pipe-format.js +2 -0
- package/esm2015/lib/sof-pipe/pipes/sof-blank/sof-blank.pipe.js +33 -0
- package/esm2015/lib/sof-pipe/pipes/sof-date/sof-date.pipe.js +54 -0
- package/esm2015/lib/sof-pipe/pipes/sof-ssn/sof-ssn.pipe.js +24 -0
- package/esm2015/lib/sof-pipe/sof-pipe.api.js +9 -0
- package/esm2015/lib/sof-pipe/sof-pipe.module.js +28 -0
- package/esm2015/lib/theming/directives/css-override.directive.js +1 -1
- package/esm2015/lib/theming/models/css-override.js +1 -1
- package/esm2015/lib/theming/services/theme.service.js +1 -1
- package/esm2015/lib/theming/theme-api.js +1 -1
- package/esm2015/lib/theming/theme.module.js +1 -1
- package/esm2015/public-api.js +2 -1
- package/esm2015/softheon-armature.js +1 -1
- package/fesm2015/softheon-armature.js +162 -4
- package/fesm2015/softheon-armature.js.map +1 -1
- package/lib/core/initializer/initializer.service.d.ts +7 -0
- package/lib/sof-pipe/constants/constants.d.ts +8 -0
- package/lib/sof-pipe/models/sof-date-pipe-format.d.ts +7 -0
- package/lib/sof-pipe/pipes/sof-blank/sof-blank.pipe.d.ts +16 -0
- package/lib/sof-pipe/pipes/sof-date/sof-date.pipe.d.ts +18 -0
- package/lib/sof-pipe/pipes/sof-ssn/sof-ssn.pipe.d.ts +9 -0
- package/lib/sof-pipe/sof-pipe.api.d.ts +7 -0
- package/lib/sof-pipe/sof-pipe.module.d.ts +2 -0
- package/package.json +3 -2
- package/public-api.d.ts +1 -0
- package/softheon-armature.metadata.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __awaiter } from 'tslib';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { CommonModule, DatePipe } from '@angular/common';
|
|
3
3
|
import { HttpHeaders, HttpClient, HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
4
4
|
import { InjectionToken, ɵɵdefineInjectable, Injectable, Component, Optional, Inject, Renderer2, Input, ViewChild, NgModule, ɵɵinject, isDevMode, Directive, ElementRef, HostListener, Pipe, EventEmitter, ChangeDetectorRef, Output, ViewChildren, ChangeDetectionStrategy, APP_INITIALIZER, Injector, TemplateRef, ViewContainerRef, INJECTOR, ErrorHandler } from '@angular/core';
|
|
5
5
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
@@ -9,7 +9,7 @@ import { TranslateModule, TranslateService } from '@ngx-translate/core';
|
|
|
9
9
|
import { BehaviorSubject, throwError, of, Subscription, ReplaySubject } from 'rxjs';
|
|
10
10
|
import { AuthConfig, OAuthService, OAuthStorage, OAuthResourceServerErrorHandler, OAuthModuleConfig } from 'angular-oauth2-oidc';
|
|
11
11
|
import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';
|
|
12
|
-
import { merge } from 'lodash';
|
|
12
|
+
import { mergeWith, merge, isArray } from 'lodash';
|
|
13
13
|
import { catchError, switchMap, take, filter, share, first, map } from 'rxjs/operators';
|
|
14
14
|
import { MatButtonModule } from '@angular/material/button';
|
|
15
15
|
import { FormControl, Validators, FormBuilder, FormArray, FormGroup, ReactiveFormsModule, FormsModule as FormsModule$1 } from '@angular/forms';
|
|
@@ -36,6 +36,8 @@ import { MatOptionModule } from '@angular/material/core';
|
|
|
36
36
|
import { MAT_DIALOG_DATA, MatDialogRef, MatDialogModule } from '@angular/material/dialog';
|
|
37
37
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
38
38
|
import { MatCardModule } from '@angular/material/card';
|
|
39
|
+
import * as moment from 'moment';
|
|
40
|
+
import { isMoment } from 'moment';
|
|
39
41
|
|
|
40
42
|
/** The banner configs */
|
|
41
43
|
const ALERT_BANNER_CONFIG = new InjectionToken('AlertBannerConfig');
|
|
@@ -1004,7 +1006,7 @@ class Initializer {
|
|
|
1004
1006
|
this.http.get(`./assets/configurations/${this.translateService.currentLang}.json`).toPromise(),
|
|
1005
1007
|
this.http.get('./assets/configurations/theme.json').toPromise()
|
|
1006
1008
|
]);
|
|
1007
|
-
this.configService.config =
|
|
1009
|
+
this.configService.config = mergeWith(baseConfig, overrideConfig, this.mergeCustomizer);
|
|
1008
1010
|
const configSnapShot = this.configService.config;
|
|
1009
1011
|
configSnapShot.theme = theme;
|
|
1010
1012
|
this.configService.config = configSnapShot;
|
|
@@ -1107,6 +1109,17 @@ class Initializer {
|
|
|
1107
1109
|
}
|
|
1108
1110
|
});
|
|
1109
1111
|
}
|
|
1112
|
+
/**
|
|
1113
|
+
* Merges the two config objects ignoring the array type
|
|
1114
|
+
* @param objValue The default config value
|
|
1115
|
+
* @param srcValue The target switchboard config value
|
|
1116
|
+
* @returns The merge of the two configs provided
|
|
1117
|
+
*/
|
|
1118
|
+
mergeCustomizer(objValue, srcValue) {
|
|
1119
|
+
if (isArray(objValue) && srcValue) {
|
|
1120
|
+
return srcValue;
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1110
1123
|
}
|
|
1111
1124
|
Initializer.ɵprov = ɵɵdefineInjectable({ factory: function Initializer_Factory() { return new Initializer(ɵɵinject(HttpClient), ɵɵinject(TranslateService), ɵɵinject(ThemeService), ɵɵinject(BaseConfigService), ɵɵinject(OAuthService), ɵɵinject(CustomAuthConfigService, 8)); }, token: Initializer, providedIn: "root" });
|
|
1112
1125
|
Initializer.decorators = [
|
|
@@ -5762,11 +5775,156 @@ class Attribute {
|
|
|
5762
5775
|
|
|
5763
5776
|
/** Public API surfce for components */
|
|
5764
5777
|
|
|
5778
|
+
/** SSN Pipe */
|
|
5779
|
+
class SofSsnPipe {
|
|
5780
|
+
/**
|
|
5781
|
+
* Transform
|
|
5782
|
+
* @param ssn SSN
|
|
5783
|
+
*/
|
|
5784
|
+
transform(ssn, maskedCharacter) {
|
|
5785
|
+
// If input is undefined, then return itself
|
|
5786
|
+
if (!ssn || ssn.length !== 9) {
|
|
5787
|
+
return null;
|
|
5788
|
+
}
|
|
5789
|
+
if (!maskedCharacter) {
|
|
5790
|
+
return `${ssn.substring(0, 3)}-${ssn.substring(3, 5)}-${ssn.substring(5)}`;
|
|
5791
|
+
}
|
|
5792
|
+
return `${maskedCharacter}${maskedCharacter}${maskedCharacter}-${maskedCharacter}${maskedCharacter}-${ssn.substring(5)}`;
|
|
5793
|
+
}
|
|
5794
|
+
}
|
|
5795
|
+
SofSsnPipe.decorators = [
|
|
5796
|
+
{ type: Pipe, args: [{
|
|
5797
|
+
name: 'sofArSsn'
|
|
5798
|
+
},] }
|
|
5799
|
+
];
|
|
5800
|
+
|
|
5801
|
+
/** The override for blank langauge */
|
|
5802
|
+
const SOF_BLANK_LANGUAGE_OVERRIDE = new InjectionToken('SofBlankLanguageOverride');
|
|
5803
|
+
/** Sof Date Pipe Formats */
|
|
5804
|
+
const SOF_DATE_PIPE_FORMATS = new InjectionToken('SofDatePipeFormats');
|
|
5805
|
+
/** Default Sof Date Pipe Formats */
|
|
5806
|
+
const DEFAULT_SOF_DATE_PIPE_FORMATS = [{
|
|
5807
|
+
format: 'MM/DD/YYYY',
|
|
5808
|
+
matchRegExp: '^[0-9]{2}\/[0-9]{2}\/[0-9]{4}$'
|
|
5809
|
+
}, {
|
|
5810
|
+
format: 'YYYY-MM-DD',
|
|
5811
|
+
matchRegExp: '^[0-9]{4}-[0-9]{2}-[0-9]{2}'
|
|
5812
|
+
}, {
|
|
5813
|
+
format: 'YYYYMMDD',
|
|
5814
|
+
matchRegExp: '^[0-9]{8}$'
|
|
5815
|
+
}];
|
|
5816
|
+
|
|
5817
|
+
/** Date Pipe */
|
|
5818
|
+
class SofDatePipe {
|
|
5819
|
+
/** Constructor */
|
|
5820
|
+
constructor(datePipe, datePipeFormats = []) {
|
|
5821
|
+
this.datePipe = datePipe;
|
|
5822
|
+
this.datePipeFormats = datePipeFormats;
|
|
5823
|
+
this.datePipeFormats = (datePipeFormats || []).concat(DEFAULT_SOF_DATE_PIPE_FORMATS);
|
|
5824
|
+
}
|
|
5825
|
+
/** Transform */
|
|
5826
|
+
transform(date, transformFormat = 'M/d/yyyy', timezone, locale) {
|
|
5827
|
+
if (!date) {
|
|
5828
|
+
return '';
|
|
5829
|
+
}
|
|
5830
|
+
if (isMoment(date)) {
|
|
5831
|
+
date = date.toDate();
|
|
5832
|
+
}
|
|
5833
|
+
if (typeof date === 'string') {
|
|
5834
|
+
date = this.parseDate(date) || date;
|
|
5835
|
+
}
|
|
5836
|
+
return this.datePipe.transform(date, transformFormat, timezone, locale);
|
|
5837
|
+
}
|
|
5838
|
+
/**
|
|
5839
|
+
* Parses a date to a string
|
|
5840
|
+
* @param dateStr Date string
|
|
5841
|
+
*/
|
|
5842
|
+
parseDate(dateStr) {
|
|
5843
|
+
if (!dateStr || dateStr === '') {
|
|
5844
|
+
return undefined;
|
|
5845
|
+
}
|
|
5846
|
+
for (const datePipeFormat of this.datePipeFormats) {
|
|
5847
|
+
if (dateStr.match(datePipeFormat.matchRegExp)) {
|
|
5848
|
+
const momentDate = moment(dateStr, datePipeFormat.format);
|
|
5849
|
+
if (momentDate.isValid()) {
|
|
5850
|
+
return momentDate.toDate();
|
|
5851
|
+
}
|
|
5852
|
+
}
|
|
5853
|
+
}
|
|
5854
|
+
console.warn(`Unable to parse ${dateStr} to date using sof-date-pipe.`);
|
|
5855
|
+
}
|
|
5856
|
+
}
|
|
5857
|
+
SofDatePipe.decorators = [
|
|
5858
|
+
{ type: Pipe, args: [{
|
|
5859
|
+
name: 'sofArDate'
|
|
5860
|
+
},] }
|
|
5861
|
+
];
|
|
5862
|
+
SofDatePipe.ctorParameters = () => [
|
|
5863
|
+
{ type: DatePipe },
|
|
5864
|
+
{ type: Array, decorators: [{ type: Optional }, { type: Inject, args: [SOF_DATE_PIPE_FORMATS,] }] }
|
|
5865
|
+
];
|
|
5866
|
+
|
|
5867
|
+
/** Blank Pipe for strings when its blank */
|
|
5868
|
+
class SofBlankPipe {
|
|
5869
|
+
/**
|
|
5870
|
+
* Constructor
|
|
5871
|
+
* @param blankLanguage The language to replace with when given value is blank
|
|
5872
|
+
*/
|
|
5873
|
+
constructor(blankLanguage = '') {
|
|
5874
|
+
this.blankLanguage = blankLanguage;
|
|
5875
|
+
this.blankLanguage = blankLanguage || 'common.default-blank';
|
|
5876
|
+
}
|
|
5877
|
+
/**
|
|
5878
|
+
* Transform
|
|
5879
|
+
* @param value Value
|
|
5880
|
+
* @returns
|
|
5881
|
+
*/
|
|
5882
|
+
transform(value) {
|
|
5883
|
+
if (value == '0' || value === 0) {
|
|
5884
|
+
return value;
|
|
5885
|
+
}
|
|
5886
|
+
return value || this.blankLanguage;
|
|
5887
|
+
}
|
|
5888
|
+
}
|
|
5889
|
+
SofBlankPipe.decorators = [
|
|
5890
|
+
{ type: Pipe, args: [{
|
|
5891
|
+
name: 'sofArBlank'
|
|
5892
|
+
},] }
|
|
5893
|
+
];
|
|
5894
|
+
SofBlankPipe.ctorParameters = () => [
|
|
5895
|
+
{ type: String, decorators: [{ type: Optional }, { type: Inject, args: [SOF_BLANK_LANGUAGE_OVERRIDE,] }] }
|
|
5896
|
+
];
|
|
5897
|
+
|
|
5898
|
+
class SofPipeModule {
|
|
5899
|
+
}
|
|
5900
|
+
SofPipeModule.decorators = [
|
|
5901
|
+
{ type: NgModule, args: [{
|
|
5902
|
+
declarations: [
|
|
5903
|
+
SofBlankPipe,
|
|
5904
|
+
SofDatePipe,
|
|
5905
|
+
SofSsnPipe
|
|
5906
|
+
],
|
|
5907
|
+
imports: [
|
|
5908
|
+
CommonModule
|
|
5909
|
+
],
|
|
5910
|
+
exports: [
|
|
5911
|
+
SofBlankPipe,
|
|
5912
|
+
SofDatePipe,
|
|
5913
|
+
SofSsnPipe
|
|
5914
|
+
],
|
|
5915
|
+
providers: [
|
|
5916
|
+
DatePipe
|
|
5917
|
+
]
|
|
5918
|
+
},] }
|
|
5919
|
+
];
|
|
5920
|
+
|
|
5921
|
+
/** Public API surface for the forms */
|
|
5922
|
+
|
|
5765
5923
|
/** Public API Surface of armature */
|
|
5766
5924
|
|
|
5767
5925
|
/**
|
|
5768
5926
|
* Generated bundle index. Do not edit.
|
|
5769
5927
|
*/
|
|
5770
5928
|
|
|
5771
|
-
export { ALERT_BANNER_CONFIG, AbstractSamlEntryService, AbstractSamlService, AbstractStartupService, AccessTokenClaims, AlertBannerComponent, AlertBannerModule, AlertBannerService, AlertService, AlphaNumericDirective, AppTemplateComponent, ApplicationUserModel, ArRoleNavService, ArmError, ArmatureFooterComponent, ArmatureFooterModule, ArmatureHeaderComponent, ArmatureHeaderModule, ArmatureModule, ArmatureNavigationComponent, Attribute, BannerService, BannerType, BaseComponentModule, BaseConfigService, CacheExpirationType, Configuration$1 as Configuration, CoverageDetail, CssOverride, CssOverrideDirective, CustomAuthConfigService, DISTRIBUTED_CACHE_BASE_PATH, DataStoreConfig, DecodedAccessToken, DefaultConfigService, DialogResult, DistributedCacheModule, ErrorCommonComponent, ErrorCommonConfig, ErrorModule, FAQ, FAQConfig, FaqComponent, FaqModule, FooterConfig, FormsModule, HYBRID_SAML_OAUTH_CONFIG, HeaderAuthSettings, HybridSamlOAuthConfig, HybridSamlOauthService, LettersOnlyDirective, MobileHeaderMenuComponent, ModalData, NavigationModule, NumbersOnlyDirective, Oauth2RoleService, OauthModule, PhoneFormatPipe, PolicyPerson, RBAC_CONFIG, RbacActionDirective, RbacConfig, RbacModule, RedirectSamlComponent, RedirectSamlRequest, RedirectSessionConfigs, RoleAccess, RoleNavService, RoutePath, RumConfig, RumModule, RumService, SESSION_CONFIG, SamlModule, SamlService, ServerCacheService, SessionConfig, SessionService$1 as SessionService, SharedErrorService, SiteMapComponent, SiteMapDirection, SofAddressComponent, SofAlertComponent, SofBannerComponent, SofModalComponent, SofProgressBarComponent, SoftheonErrorHandlerService, SsoGatewayEntryService, SsoGatewayModel, States, ThemeModule, ThemeService, TypedSession, USER_ENTITY_SERVICE_CONFIG, UserEntityService, UserEntityServiceConfig, ValidationKeys, WINDOW, httpVerb, initializerFactory, keyPathPrefix, languageStorageKey, newGuid, pascalToCamel, preSignInRouteStorageKey, sessionBasePathFactory, ɵ0, AuthorizationService as ɵa, Initializer as ɵb, SessionService as ɵc, BASE_PATH as ɵd, Configuration as ɵe, ArmatureAuthTokenAppendInterceptor as ɵf, BASE_PATH$1 as ɵg, CacheService as ɵh };
|
|
5929
|
+
export { ALERT_BANNER_CONFIG, AbstractSamlEntryService, AbstractSamlService, AbstractStartupService, AccessTokenClaims, AlertBannerComponent, AlertBannerModule, AlertBannerService, AlertService, AlphaNumericDirective, AppTemplateComponent, ApplicationUserModel, ArRoleNavService, ArmError, ArmatureFooterComponent, ArmatureFooterModule, ArmatureHeaderComponent, ArmatureHeaderModule, ArmatureModule, ArmatureNavigationComponent, Attribute, BannerService, BannerType, BaseComponentModule, BaseConfigService, CacheExpirationType, Configuration$1 as Configuration, CoverageDetail, CssOverride, CssOverrideDirective, CustomAuthConfigService, DISTRIBUTED_CACHE_BASE_PATH, DataStoreConfig, DecodedAccessToken, DefaultConfigService, DialogResult, DistributedCacheModule, ErrorCommonComponent, ErrorCommonConfig, ErrorModule, FAQ, FAQConfig, FaqComponent, FaqModule, FooterConfig, FormsModule, HYBRID_SAML_OAUTH_CONFIG, HeaderAuthSettings, HybridSamlOAuthConfig, HybridSamlOauthService, LettersOnlyDirective, MobileHeaderMenuComponent, ModalData, NavigationModule, NumbersOnlyDirective, Oauth2RoleService, OauthModule, PhoneFormatPipe, PolicyPerson, RBAC_CONFIG, RbacActionDirective, RbacConfig, RbacModule, RedirectSamlComponent, RedirectSamlRequest, RedirectSessionConfigs, RoleAccess, RoleNavService, RoutePath, RumConfig, RumModule, RumService, SESSION_CONFIG, SOF_BLANK_LANGUAGE_OVERRIDE, SOF_DATE_PIPE_FORMATS, SamlModule, SamlService, ServerCacheService, SessionConfig, SessionService$1 as SessionService, SharedErrorService, SiteMapComponent, SiteMapDirection, SofAddressComponent, SofAlertComponent, SofBannerComponent, SofBlankPipe, SofDatePipe, SofModalComponent, SofPipeModule, SofProgressBarComponent, SofSsnPipe, SoftheonErrorHandlerService, SsoGatewayEntryService, SsoGatewayModel, States, ThemeModule, ThemeService, TypedSession, USER_ENTITY_SERVICE_CONFIG, UserEntityService, UserEntityServiceConfig, ValidationKeys, WINDOW, httpVerb, initializerFactory, keyPathPrefix, languageStorageKey, newGuid, pascalToCamel, preSignInRouteStorageKey, sessionBasePathFactory, ɵ0, AuthorizationService as ɵa, Initializer as ɵb, SessionService as ɵc, BASE_PATH as ɵd, Configuration as ɵe, ArmatureAuthTokenAppendInterceptor as ɵf, BASE_PATH$1 as ɵg, CacheService as ɵh };
|
|
5772
5930
|
//# sourceMappingURL=softheon-armature.js.map
|