Index

projects/aoc-client/core/tokens/aoc-autocomplete.ts

AocAutocompletePaginatorOptionsPerPageToken
Default value : new InjectionToken<number>( 'AocAutocompletePaginatorOptionsPerPageToken' )

projects/aoc-client/core/utils/aoc-model-listener.ts

aocDefaultEmitterModelsChangeAction
Default value : ( emitterModels: { prev: AocModel | null; curr: AocModel }[] ): AocModelListenerAction => { return { clear: emitterModels.some(m => m.curr?.id !== m.prev?.id), disable: emitterModels.some(m => !m.curr) }; }

A default action when the emitters models are changed. If some model has changed clear action will be set to true. If som model is missing disable will be set to true.

projects/aoc-client/core/models/aoc-model.ts

aocDeletionSymbol
Default value : Symbol('aoc deletion symbol')
aocDirtySymbol
Default value : Symbol('aoc dirty symbol')
aocRefSymbol
Default value : Symbol('aoc ref symbol')
aocTimeOfRequestSymbol
Default value : Symbol('aoc time of request symbol')
ref
Default value : <T extends AocModel>(modelOrModelClass: (new () => T) | T, id?: AocModelId): T => { if (modelOrModelClass instanceof AocModel) { if (!modelOrModelClass.id) { throw new Error(`Trying to set a reference with a model without id: ${modelOrModelClass}`); } const t = new (modelOrModelClass as any).constructor(); t.markAsRef(modelOrModelClass.id); return t; } else if (AocCommonMisc.isFunction(modelOrModelClass)) { const t = new modelOrModelClass(); if (!id) { throw new Error(`Trying to set a reference with a class without sending id ${modelOrModelClass}, id is ${id}`); } t.markAsRef(id); return t; } else { // Why should we throw an exception here? Maybe null or undefined object is sent return modelOrModelClass; // throw new Error(`modelOrModelClass with incorrect type/value '${modelOrModelClass}'`); } }

projects/aoc-client/core/tokens/aoc-grid.ts

AocGridAutoSelectFirstToken
Default value : new InjectionToken<boolean>('AocGridAutoSelectFirstToken')
AocGridPaginatorRowLimitOptionsToken
Default value : new InjectionToken<AocUiPaginatorRowLimitOptions>( 'AocGridPaginatorRowLimitOptionsToken' )

projects/aoc-client/core/types/aoc-grid-types.ts

aocGridGroupDisplay
Default value : <M>(fn: AocGridGroupDisplayFn<M>) => new AocGridGroupDisplay<M>(fn)
AocGridQueryOrder
Default value : { AUTO: 'auto', AUTO_NULLS_FIRST: 'auto nulls first', AUTO_NULLS_FIRST_REVERSE: 'auto nulls first reverse', AUTO_NULLS_LAST: 'auto nulls last', AUTO_NULLS_LAST_REVERSE: 'auto nulls last reverse', AUTO_REVERSE: 'auto reverse' } as const

projects/aoc-client/aoc-common/specs/rest/aoc-rest-options.ts

AocQueryOrder
Default value : { ASC: 'ASC', ASC_NULLS_LAST: 'ASC NULLS LAST', ASC_NULLS_FIRST: 'ASC NULLS FIRST', DESC: 'DESC', DESC_NULLS_LAST: 'DESC NULLS LAST', DESC_NULLS_FIRST: 'DESC NULLS FIRST', asc: 'asc', asc_nulls_last: 'asc nulls last', asc_nulls_first: 'asc nulls first', desc: 'desc', desc_nulls_last: 'desc nulls last', desc_nulls_first: 'desc nulls first' } as const
AocQueryOrderNumeric
Default value : { ASC: 1, DESC: -1 } as const
SplitLogicalOperator
Default value : { AND: 'and', OR: 'or' } as const

projects/aoc-client/ui/common/tokens/aoc-ui-ckeditor.ts

AocUiCKConfig
Default value : new InjectionToken<CKConfig>('AocUiCKEditorConfig')
AocUiCKEditorConstructor
Default value : new InjectionToken<CKEditorConstructor>('AocUiCKEditorClass')

projects/aoc-client/ui/common/tokens/aoc-ui-datetime-picker.ts

AocUiDatetimePickerFormatsToken
Default value : new InjectionToken<AocUiDatetimePickerFormats>( 'AocUiDatetimePickerFormatsToken' )
AocUiDatetimePickerModeToken
Default value : new InjectionToken<AocUiDatetimePickerMode>('AocUiDatetimePickerModeToken')

projects/aoc-client/ui/common/types/aoc-ui-presentation.ts

aocUiExtractFieldPath
Default value : ( aocUiResolveParts: AocUiResolvePartsArray | AocUiTupleResolvePartsArrayWithTplRef ): AocUiArrayFieldPath | null => { let stillValidPath = true; const fieldPath = aocUiResolveParts.filter(part => { if (stillValidPath) { const partKind = aocUiGetResolvePartKind(part as AocUiResolvePart); if (partKind === 'aocUiFlatFieldPath' || partKind === 'aocUiArrayFieldPath') { return true; } else { stillValidPath = false; } } return false; }) as AocUiArrayFieldPath; return fieldPath.length > 0 ? fieldPath.flat() : null; }

['path1', 'path2', ['path3_1', 'path3_2'], transform1, ... ]

aocUiGetDisplayKind
Default value : (aocUiDisplay: AocUiDisplay<unknown>): AocUiDisplayKind => { const resolvePartKind = aocUiGetResolvePartKind(aocUiDisplay as AocUiResolvePart); if (resolvePartKind) { return resolvePartKind; } else { if (aocUiDisplay instanceof AocUiTplRef) { return 'aocUiTplRef'; } else if (Array.isArray(aocUiDisplay) && aocUiDisplay[aocUiDisplay.length - 1] instanceof AocUiTplRef) { return 'tupleRevolvePartsArrayWithTplRef'; } else if (Array.isArray(aocUiDisplay)) { return 'resolvePartsArray'; } else { throw new Error(`aocUiDisplay with value '${aocUiDisplay}' cannot be determined.`); } } }
aocUiGetResolvePartKind
Default value : (aocUiResolvePart: AocUiResolvePart): AocUiResolvePartKind | undefined => { if (typeof aocUiResolvePart === 'string') { return 'aocUiFlatFieldPath'; // 'myProp' or 'myProp.myChildProp', etc } else if (Array.isArray(aocUiResolvePart) && aocUiResolvePart.every(_ => typeof _ === 'string')) { return 'aocUiArrayFieldPath'; // ['myProp'] or ['myProp.myChildProp'], etc } else if (AocCommonMisc.isFunction(aocUiResolvePart)) { return 'aocUiTransform'; } else if (AocCommonMisc.isFunction((aocUiResolvePart as PipeTransform)?.transform)) { return 'pipeTransform'; } return undefined; }
aocUiTplRef
Default value : (template: AocUiTemplateName): AocUiTplRef => new AocUiTplRef(template)

projects/aoc-client/ui/common/tokens/aoc-ui-logger.ts

AocUiLoggerConfigToken
Default value : new InjectionToken<AocUiLoggerConfig>('AocUiLoggerConfigToken')

projects/aoc-client/ui/common/utils/aoc-ui-animations.ts

aocUiOverlayEnterAnimation
Default value : animation([ style({ opacity: 0, transform: 'translateY(5%)' }), animate('225ms ease-out') ])
aocUiOverlayLeaveAnimation
Default value : animation([ animate( '195ms ease-in', style({ opacity: 0, transform: 'translateY(5%)' }) ) ])
aocUiSidebarEnterAnimation
Default value : animation([ style({ transform: '{{ transform }}', opacity: 0 }), animate('225ms ease-out') ])
aocUiSidebarLeaveAnimation
Default value : animation([ animate( '195ms ease-in', style({ opacity: 0, transform: '{{ transform }}' }) ) ])
aocUiToastItemEnterAnimation
Default value : animation([ style({ transform: 'translateY(100%)', opacity: 0 }), animate('300ms ease-out') ])
aocUiToastItemLeaveAnimation
Default value : animation([ animate( '300ms ease-in', style({ height: 0, opacity: 0, transform: 'translateY(100%)' }) ) ])
aocUiWindowEnterAnimation
Default value : animation( [ style({ transform: 'scale(0.7)', opacity: 0 }), animate('{{ time }} cubic-bezier(0, 0, 0.2, 1)') ], { params: { time: '150ms' } } )
aocUiWindowLeaveAnimation
Default value : animation( [ animate( '{{ time }} cubic-bezier(0, 0, 0.2, 1)', style({ opacity: 0, transform: 'scale(0.7)' }) ) ], { params: { time: '150ms' } } )

projects/aoc-client/core/tokens/aoc-user.ts

AocUserConfigToken
Default value : new InjectionToken<AocUserConfig>('AocUserConfigToken')

projects/aoc-client/components/aoc-grid/aoc-grid-field/aoc-grid-field.component.ts

arrayCmpFn
Default value : (newModel: AocModel) => (m: AocModel) => m.id === newModel.id

projects/aoc-client/config.sample.ts

Config
Default value : new AocAppConfig()

projects/aoc-client/components/aoc-app/aoc-app.module.ts

providers
Type : Provider[]
Default value : [ { provide: RouteReuseStrategy, useFactory: (aocConfig: AocConfig) => { return new AocReuseStrategy(aocConfig.DISABLE_COMPONENT_CACHE_FOR_ROUTES); }, deps: [AocConfig] }, { provide: AocUiLoggerConfigToken, useFactory: (aocConfig: AocConfig) => aocConfig.LOGGER, deps: [AocConfig] }, { provide: HTTP_INTERCEPTORS, useClass: AocUiLoadingInterceptor, multi: true }, { provide: HTTP_INTERCEPTORS, useClass: AocVersionInterceptor, multi: true }, { provide: HTTP_INTERCEPTORS, useClass: AocErrorInterceptor, multi: true }, { provide: HTTP_INTERCEPTORS, useClass: AocQueueInterceptor, multi: true }, { provide: ErrorHandler, useClass: AocErrorHandler }, { provide: ANGULAR_SPLIT_DEFAULT_OPTIONS, useValue: { gutterSize: 5 } } ]

projects/aoc-client/core/decorators/aoc-autounsubscribe.ts

registeredClasses
Default value : new Set<unknown>()
weakMap
Default value : new WeakMap<Object, Map<string, unknown>>()

projects/aoc-client/aoc-common/aoc-common-misc.ts

rfdcFn
Default value : rfdc({ proto: true })

projects/aoc-client/ui/common/services/aoc-ui-logger/aoc-ui-logger.service.ts

sortedLevels
Type : number
Default value : { DEBUG: 0, INFO: 1, LOG: 2, WARN: 3, ERROR: 4, FATAL: 5, OFF: 6 }

results matching ""

    No results matching ""