$localize |
Type : LocalizeFn
|
APP_BASE_HREF_HASH_ONLY |
Default value : new InjectionToken<string>('appBaseHrefHashOnly')
|
ARRAY_STATE_EXPRESSION |
Type : string
|
Default value : '[]$'
|
STATE_EXPRESSION |
Type : string
|
Default value : '$'
|
URL_STATE_REGEX |
Default value : /{\$[^}]*}/gi
|
The RegExp to find JSONPath Expressions in URL Math {$.anything} or {$['anything']} |
attributeSelectors |
Type : VersionChanges<AttributeSelectorUpgradeData>
|
Default value : {}
|
BYPASS_PFE_ROUTING |
Type : string
|
Default value : 'BYPASS_PFE_ROUTING'
|
NavigationBehaviorOptions.state property. If set to true, navigation will bypass PFE routing actions. |
PFE_GUARDS_CONFIG |
Default value : new InjectionToken<Record<string | number | symbol, () => boolean>>('PFE_GUARDS_CONFIG')
|
classNames |
Type : VersionChanges<ClassNameUpgradeData>
|
Default value : {}
|
CONDITIONS_EVALUATORS |
Type : InjectionToken<ConditionEvaluator[]>
|
Default value : new InjectionToken<ConditionEvaluator[]>(
'CONDITIONS_EVALUATORS'
)
|
createSpy |
Default value : () => jest.fn()
|
cssSelectors |
Type : VersionChanges<AquilaCssSelectorData>
|
Default value : {}
|
cssTokens |
Type : VersionChanges<CssTokenUpgradeData>
|
Default value : {}
|
defaultWorkspaceConfigPaths |
Type : []
|
Default value : ['/angular.json', '/.angular.json']
|
Name of the default Angular CLI workspace configuration files. |
DEVTOOLSURLPARAM |
Type : string
|
Default value : 'devtools'
|
EXAMPLE_CONDITION_ADVANCED |
Type : ConditionAdvanced
|
Default value : {
operator: OPERATORS.AND,
conditions: [
{ value1Expression: '$.lastVisitedPage', operator: '==', value2Expression: '$.pfeHistory[:1]' },
{ value1Expression: 5, operator: '==', value2Expression: 4 },
],
}
|
EXAMPLE_EXPRESSION |
Type : string
|
Default value : '$.lastVisitedPage'
|
EXAMPLE_EXPRESSION_CONDITION |
Type : ExpressionCondition[]
|
Default value : [
{ expression: '{$.pfeVisitedPages[:1]} === {$.lastVisitedPage}' },
{ value1Expression: '$.lastVisitedPage', operator: '==', value2Expression: '$.pfeVisitedPages[:1]' },
]
|
elementSelectors |
Type : VersionChanges<ElementSelectorUpgradeData>
|
Default value : {}
|
fadeIn |
Default value : trigger('routeAnimations', [
// fade in when created. this could also be written as transition('void => *')
transition('* <=> *', [style({ opacity: 0 }), animate(300)]),
])
|
hasFlag |
Default value : (data: AnalyzedImport, flag: ImportState) => (data.state & flag) !== 0
|
Checks whether an analyzed import has the given import flag set. |
HTTP_TOKEN_CONFIGURATION |
Type : InjectionToken<HttpTokenConfig>
|
Default value : new InjectionToken<HttpTokenConfig>('HTTP_TOKEN_CONFIGURATION')
|
inputNames |
Type : VersionChanges<InputNameUpgradeData>
|
Default value : {}
|
isJenkins |
Default value : process.env.IS_JENKINS
|
jenkinsReports |
Type : object
|
Default value : {
reporters: [
'default',
[
'jest-junit',
{
outputDirectory: reportsBaseFolder,
outputName: reportsFileName,
},
],
],
coverageDirectory: '../../test_results/unit',
coverageReporters: ['html', 'lcov', 'text'],
}
|
localReports |
Type : object
|
Default value : { coverageReporters: ['html'], coverageDirectory: '../../coverage/libs/ngx-pfe' }
|
path |
Default value : require('path')
|
reportsBaseFolder |
Default value : path.join('test_results', 'unit')
|
reportsFileName |
Type : string
|
Default value : 'result.xml'
|
Default value : require('../../jest.esmodule.ignore')
|
JSON_PATH_REGEX |
Default value : /({.*?})/gm
|
LAST_VISITED_PAGE_STATE_KEY |
Type : string
|
Default value : 'lastVisitedPage'
|
methodCallChecks |
Type : VersionChanges<MethodCallUpgradeData>
|
Default value : {}
|
NGX_PFE_CONFIGURATION |
Type : InjectionToken<NgxPfeModuleConfiguration>
|
Default value : new InjectionToken<NgxPfeModuleConfiguration>(
'NGX_PFE_CONFIGURATION'
)
|
VALIDATION_ERROR_STATE_KEY_FALLBACK |
Type : string
|
Default value : 'validationErrorData'
|
NGX_PFE_INITIAL_STATE |
Type : InjectionToken<Promise<PfeUserInputState>>
|
Default value : new InjectionToken<Promise<PfeUserInputState>>(
'NGX_PFE_INITIAL_STATE'
)
|
Optional injection token that can be used to restore the state during startup |
NGX_PFE_STATE_SESSION_STORAGE_KEY_CONFIG |
Type : InjectionToken<PfeStateSessionStorageKeyConfig>
|
Default value : new InjectionToken<PfeStateSessionStorageKeyConfig>('NGX_PFE_STATE_KEY_CONFIG')
|
Injection token to configure the key in which the state will be stored in the session storage from each app |
outputNames |
Type : VersionChanges<OutputNameUpgradeData>
|
Default value : {}
|
PAGE_CONFIG_ROUTE_ATTRIBUTE_NAME |
Type : string
|
Default value : 'pageConfig'
|
PFE_AND |
Type : string
|
Default value : 'PFE_AND'
|
PFE_ENABLE_REDUX_DEVTOOLS |
Default value : new InjectionToken<boolean>('PFE_ENABLE_REDUX_DEVTOOLS')
|
PFE_EXPRESSION |
Type : string
|
Default value : 'PFE_EXPRESSION'
|
PFE_HISTORY_KEY |
Type : string
|
Default value : 'pfeHistory'
|
PFE_STATE_INTERNAL_STATE_KEY |
Type : string
|
Default value : '_pfe'
|
This key in the state is reserved for all internal pfe data. In general, it is desirable to also migrate existing previous keys over to this. For example pfeHistory, etc... But as those are used in a lot of places, that is a bigger, breaking, effort |
PFE_STATE_NAVIGATING_FROM |
Default value : `$.${PFE_STATE_INTERNAL_STATE_KEY}.navigationState.navigatingFrom`
|
PFE_STATE_NAVIGATING_TO |
Default value : `$.${PFE_STATE_INTERNAL_STATE_KEY}.navigationState.navigatingTo`
|
PFE_VISITED_KEY |
Type : string
|
Default value : 'pfeVisitedPages'
|
PFE_INTERNAL_VALUES |
Type : []
|
Default value : ['pfeHistory', 'pfeVisitedPages', 'validationErrorData', 'lastVisitedPage', '_pfe']
|
PFE_OR |
Type : string
|
Default value : 'PFE_OR'
|
PfeNavigateActionType |
Type : string
|
Default value : 'PFE_NAVIGATE'
|
PfeNestedActionsType |
Type : string
|
Default value : 'PFE_NESTED_ACTIONS'
|
pfePackageSpecifier |
Type : string
|
Default value : '@allianz/ngx-pfe'
|
pfePageConfigResolver |
Type : ResolveFn<PageConfig | undefined>
|
Default value : (
activatedRoute: ActivatedRouteSnapshot
): Promise<PageConfig | undefined> => {
const pfeConfigService = inject(PfeConfigurationService);
if (activatedRoute?.routeConfig?.path) {
return pfeConfigService.getPageConfiguration(activatedRoute.routeConfig.path);
} else {
return Promise.resolve(undefined);
}
}
|
PfeResetStateActionType |
Type : string
|
Default value : 'PFE_RESET_STATE'
|
PfeRewindHistory |
Type : string
|
Default value : 'PFE_REWIND_HISTORY'
|
PfeTriggerServiceActivatorsType |
Type : string
|
Default value : 'TRIGGER_SERVICE_ACTIVATORS'
|
PfeUpdateStateOnBackend |
Type : string
|
Default value : 'PFE_UPDATE_STATE_ON_BACKEND'
|
PfeUpdateStateValuesType |
Type : string
|
Default value : 'UPDATE_STATE_VALUES'
|
propertyNames |
Type : VersionChanges<PropertyNameUpgradeData>
|
Default value : {}
|
ReloadPageActionType |
Type : string
|
Default value : 'PFE_RELOAD_PAGE'
|
REPLACEMENT_SEPARATOR |
Type : string
|
Default value : '%jsonPath%'
|
symbolRemoval |
Type : VersionChanges<SymbolRemovalUpgradeData>
|
Default value : {}
|