@processpuzzle/base-entity 0.6.3 → 0.7.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@processpuzzle/base-entity",
3
- "version": "0.6.3",
3
+ "version": "0.7.1",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Zsolt Zsuffa",
@@ -1,10 +1,10 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnDestroy, OnInit, InjectionToken, ViewContainerRef, Signal, InputSignal, AfterViewInit, ProviderToken } from '@angular/core';
2
+ import { InjectionToken, Type, OnDestroy, OnInit, ViewContainerRef, Signal, InputSignal, AfterViewInit, ProviderToken } from '@angular/core';
3
3
  import { MatSnackBar } from '@angular/material/snack-bar';
4
- import * as _ngrx_signals from '@ngrx/signals';
4
+ import { WhereFilterOp, Firestore } from '@angular/fire/firestore';
5
5
  import { Observable } from 'rxjs';
6
+ import * as _ngrx_signals from '@ngrx/signals';
6
7
  import { HttpClient, HttpHeaders } from '@angular/common/http';
7
- import { WhereFilterOp, Firestore } from '@angular/fire/firestore';
8
8
  import * as _______________dist_libs_util_types_processpuzzle_util from '../../../dist/libs/util/types/processpuzzle-util';
9
9
  import * as _processpuzzle_base_entity from '@processpuzzle/base-entity';
10
10
  import { FormGroup } from '@angular/forms';
@@ -63,32 +63,11 @@ declare class BaseEntityDescriptor {
63
63
  entityName: string;
64
64
  entityTitle: string;
65
65
  constructor({ store, attrDescriptors, entityName, entityTitle }: BaseEntityDescriptorOptions);
66
+ createTestId(suffix: string): string;
66
67
  componentIdentification(): string;
67
68
  overwriteLinkedEntityAttr(attrName: string, linkedEntityDescr: BaseEntityDescriptor): void;
68
69
  }
69
70
 
70
- declare class BaseEntityContainerComponent implements OnDestroy, OnInit {
71
- entityDescriptor: _angular_core.InputSignal<BaseEntityDescriptor>;
72
- protected snackBar: MatSnackBar;
73
- store: any;
74
- constructor();
75
- ngOnDestroy(): void;
76
- ngOnInit(): void;
77
- private registerEffects;
78
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<BaseEntityContainerComponent, never>;
79
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BaseEntityContainerComponent, "base-entity-container", never, { "entityDescriptor": { "alias": "entityDescriptor"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
80
- }
81
-
82
- declare function BaseEntityContainerStore(): _ngrx_signals.SignalStoreFeature<_ngrx_signals.EmptyFeatureResult, {
83
- state: {
84
- filterKey: string | undefined;
85
- };
86
- props: {};
87
- methods: {
88
- doFilter: (filterKey: string) => void;
89
- };
90
- }>;
91
-
92
71
  interface BaseEntity {
93
72
  readonly id: string;
94
73
  }
@@ -97,6 +76,12 @@ interface BaseEntityMapper<Entity extends BaseEntity> {
97
76
  fromDto(dto: any, index?: number): Entity;
98
77
  toDto(entity: Entity): any;
99
78
  }
79
+ declare class SimpleEntityMapper<Entity extends BaseEntity> implements BaseEntityMapper<Entity> {
80
+ private readonly entityType;
81
+ constructor(entityType: new (...args: any[]) => Entity);
82
+ fromDto(dto: any): Entity;
83
+ toDto(entity: Entity): any;
84
+ }
100
85
  declare function getEnumKeyByValue<E>(myEnum: {
101
86
  [key: number]: string;
102
87
  }, enumValue: any): E | undefined;
@@ -148,7 +133,61 @@ interface BaseEntityService<Entity extends BaseEntity> {
148
133
  update(entity: Entity): Observable<Entity>;
149
134
  }
150
135
 
151
- declare abstract class BaseEntityRestService<Entity extends BaseEntity> implements BaseEntityService<Entity> {
136
+ type EntityServiceKind = 'rest' | 'firestore';
137
+ declare abstract class BaseEntityFacade<Entity extends BaseEntity> {
138
+ abstract readonly entityType: new (...args: any[]) => Entity;
139
+ abstract readonly entityName: string;
140
+ abstract readonly attrDescriptors: AbstractAttrDescriptor[];
141
+ protected readonly entityTitle?: "this.store.currentEntity() ? this.store.currentEntity().name : ''" | undefined;
142
+ protected readonly serviceKind: EntityServiceKind;
143
+ protected readonly endpoint?: string;
144
+ protected readonly backendRoot?: string;
145
+ private readonly injector;
146
+ private _mapper?;
147
+ private _service?;
148
+ private _storeClass?;
149
+ private _storeInstance?;
150
+ private _descriptor?;
151
+ get mapper(): BaseEntityMapper<Entity>;
152
+ get service(): BaseEntityService<Entity>;
153
+ get storeClass(): Type<unknown>;
154
+ get store(): any;
155
+ get descriptor(): BaseEntityDescriptor;
156
+ protected createMapper(): BaseEntityMapper<Entity>;
157
+ protected createService(mapper: BaseEntityMapper<Entity>): BaseEntityService<Entity>;
158
+ protected createStoreClass(): Type<unknown>;
159
+ protected createDescriptor(): BaseEntityDescriptor;
160
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BaseEntityFacade<any>, never>;
161
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<BaseEntityFacade<any>>;
162
+ }
163
+
164
+ declare class BaseEntityContainerComponent implements OnDestroy, OnInit {
165
+ entityDescriptor: _angular_core.InputSignal<BaseEntityDescriptor | undefined>;
166
+ facade: _angular_core.InputSignal<BaseEntityFacade<any> | undefined>;
167
+ private readonly injectedFacade;
168
+ protected snackBar: MatSnackBar;
169
+ store: any;
170
+ protected activeFacade: _angular_core.Signal<BaseEntityFacade<any> | undefined>;
171
+ protected resolvedDescriptor: _angular_core.Signal<BaseEntityDescriptor>;
172
+ constructor();
173
+ ngOnDestroy(): void;
174
+ ngOnInit(): void;
175
+ private registerEffects;
176
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BaseEntityContainerComponent, never>;
177
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BaseEntityContainerComponent, "base-entity-container", never, { "entityDescriptor": { "alias": "entityDescriptor"; "required": false; "isSignal": true; }; "facade": { "alias": "facade"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
178
+ }
179
+
180
+ declare function BaseEntityContainerStore(): _ngrx_signals.SignalStoreFeature<_ngrx_signals.EmptyFeatureResult, {
181
+ state: {
182
+ filterKey: string | undefined;
183
+ };
184
+ props: {};
185
+ methods: {
186
+ doFilter: (filterKey: string) => void;
187
+ };
188
+ }>;
189
+
190
+ declare class BaseEntityRestService<Entity extends BaseEntity> implements BaseEntityService<Entity> {
152
191
  protected entityMapper: BaseEntityMapper<Entity>;
153
192
  protected urlProperty: string;
154
193
  protected resourceUrl: string;
@@ -156,7 +195,7 @@ declare abstract class BaseEntityRestService<Entity extends BaseEntity> implemen
156
195
  private readonly baseUrl;
157
196
  protected httpClient: HttpClient;
158
197
  protected headers: HttpHeaders;
159
- protected constructor(entityMapper: BaseEntityMapper<Entity>, urlProperty: string, resourceUrl: string);
198
+ constructor(entityMapper: BaseEntityMapper<Entity>, urlProperty: string, resourceUrl: string);
160
199
  delete(id: string): Observable<unknown>;
161
200
  deleteAll(): Observable<any>;
162
201
  findAll(page?: number): Observable<BaseEntityLoadResponse<Entity> | Entity[] | Entity>;
@@ -221,8 +260,9 @@ declare class BaseEntityFormComponent<Entity extends BaseEntity> implements OnIn
221
260
  entityDescriptor: Signal<BaseEntityDescriptor>;
222
261
  entity: Signal<Entity>;
223
262
  entityId: InputSignal<string>;
224
- componentHost: BaseFormHostDirective;
263
+ isNewObject: Signal<boolean>;
225
264
  store: Signal<any>;
265
+ componentHost: BaseFormHostDirective;
226
266
  private readonly entityFormBuilder;
227
267
  private readonly formBuilder;
228
268
  protected readonly formNavigator: {
@@ -256,11 +296,11 @@ declare class BaseEntityFormComponent<Entity extends BaseEntity> implements OnIn
256
296
  requestPayloads: _______________dist_libs_util_types_processpuzzle_util.Stack<NavigationPayload>;
257
297
  returnTo: string;
258
298
  }>;
259
- private readonly isNewObject;
260
299
  private readonly logger;
261
300
  constructor();
262
301
  ngOnInit(): void;
263
302
  onCancel(): Promise<void>;
303
+ onDelete(): Promise<void>;
264
304
  onSubmit(): Promise<void>;
265
305
  private registerEffects;
266
306
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BaseEntityFormComponent<any>, never>;
@@ -271,7 +311,7 @@ declare const BASE_LIST_DESCRIPTORS: InjectionToken<string[]>;
271
311
  declare class BaseEntityListComponent<Entity extends BaseEntity> implements AfterViewInit, OnInit {
272
312
  dataSource: MatTableDataSource<Entity>;
273
313
  selection: SelectionModel<Entity>;
274
- private readonly entityDescriptor;
314
+ protected readonly entityDescriptor: Signal<BaseEntityDescriptor>;
275
315
  private readonly logger;
276
316
  private readonly formNavigator;
277
317
  private readonly objectStoreService;
@@ -304,6 +344,8 @@ declare class BaseEntityListComponent<Entity extends BaseEntity> implements Afte
304
344
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<BaseEntityListComponent<any>, "base-list", never, {}, {}, never, never, true, never>;
305
345
  }
306
346
 
347
+ declare const ACTIVE_ENTITY_FACADE: InjectionToken<BaseEntityFacade<any>>;
348
+
307
349
  declare function BaseEntityTabsStore(): _ngrx_signals.SignalStoreFeature<_ngrx_signals.EmptyFeatureResult, {
308
350
  state: {
309
351
  activeTabs: string[];
@@ -318,7 +360,7 @@ declare function BaseEntityTabsStore(): _ngrx_signals.SignalStoreFeature<_ngrx_s
318
360
  }>;
319
361
 
320
362
  declare const BASE_ENTITY_STORE: InjectionToken<any>;
321
- declare function BaseEntityStore<Entity extends BaseEntity>(entityType: new () => Entity, repositoryType: ProviderToken<BaseEntityService<Entity>>): _ngrx_signals.SignalStoreFeature<_ngrx_signals.EmptyFeatureResult, {
363
+ declare function BaseEntityStore<Entity extends BaseEntity>(entityType: new () => Entity, getRepository: () => BaseEntityService<Entity>): _ngrx_signals.SignalStoreFeature<_ngrx_signals.EmptyFeatureResult, {
322
364
  state: {
323
365
  entities: Entity[];
324
366
  page: number;
@@ -337,8 +379,8 @@ declare function BaseEntityStore<Entity extends BaseEntity>(entityType: new () =
337
379
  methods: {
338
380
  clearCurrentEntity: () => void;
339
381
  createEntity: () => Entity;
340
- add: _ngrx_signals_rxjs_interop.RxMethod<Entity>;
341
- delete: _ngrx_signals_rxjs_interop.RxMethod<string>;
382
+ add: (entity: Entity) => Promise<Entity | undefined>;
383
+ delete: (id: string) => Promise<void>;
342
384
  deleteAll: _ngrx_signals_rxjs_interop.RxMethod<void>;
343
385
  deselectAll: () => void;
344
386
  deselectEntity: (id: string) => void;
@@ -347,12 +389,23 @@ declare function BaseEntityStore<Entity extends BaseEntity>(entityType: new () =
347
389
  resetErrorState: () => void;
348
390
  selectEntity: (id: string) => void;
349
391
  setCurrentEntity: (id: string) => void;
350
- update: _ngrx_signals_rxjs_interop.RxMethod<Entity>;
392
+ update: (entity: Entity) => Promise<Entity | undefined>;
351
393
  };
352
394
  }>;
353
395
 
354
- type BaseEntityStoreRegistry = Record<string, ProviderToken<unknown>>;
355
- declare const BASE_ENTITY_STORE_REGISTRY: InjectionToken<BaseEntityStoreRegistry>;
396
+ type BaseEntityFacadeRegistry = Record<string, ProviderToken<BaseEntityFacade<any>>>;
397
+ declare const BASE_ENTITY_FACADE_REGISTRY: InjectionToken<BaseEntityFacadeRegistry>;
398
+ declare class EntityRegistryComponent {
399
+ private registry;
400
+ private injector;
401
+ private queryParams;
402
+ private descriptors;
403
+ protected registryJson: _angular_core.Signal<string>;
404
+ private buildDescriptors;
405
+ private serializeAttr;
406
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityRegistryComponent, never>;
407
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityRegistryComponent, "pp-entity-registry", never, {}, {}, never, never, true, never>;
408
+ }
356
409
 
357
410
  declare enum RouteSegments {
358
411
  LIST_ROUTE = "LIST_ROUTE",
@@ -424,12 +477,12 @@ declare function BaseFormNavigatorStore(entityName: string): _ngrx_signals.Signa
424
477
  methods: {};
425
478
  }>;
426
479
 
427
- declare abstract class BaseEntityFirestoreService<Entity extends BaseEntity> implements BaseEntityService<Entity> {
480
+ declare class BaseEntityFirestoreService<Entity extends BaseEntity> implements BaseEntityService<Entity> {
428
481
  protected entityMapper: BaseEntityMapper<Entity>;
429
482
  protected collectionName: string;
430
483
  protected collection: _firebase_firestore.CollectionReference<_firebase_firestore.DocumentData, _firebase_firestore.DocumentData>;
431
484
  protected readonly firestore: Firestore;
432
- protected constructor(entityMapper: BaseEntityMapper<Entity>, collectionName: string);
485
+ constructor(entityMapper: BaseEntityMapper<Entity>, collectionName: string);
433
486
  add(entity: Entity): Observable<Entity>;
434
487
  delete(id: string): Observable<unknown>;
435
488
  deleteAll(): Observable<unknown>;
@@ -502,6 +555,6 @@ interface LookupTable extends BaseEntity {
502
555
  description?: string;
503
556
  }
504
557
 
505
- export { AbstractAttrDescriptor, BASE_ENTITY_ROUTES, BASE_ENTITY_SERVICE, BASE_ENTITY_STORE, BASE_ENTITY_STORE_REGISTRY, BASE_LIST_DESCRIPTORS, BaseEntityAttrDescriptor, BaseEntityContainerComponent, BaseEntityContainerStore, BaseEntityDescriptor, BaseEntityFirestoreService, BaseEntityFormComponent, BaseEntityListComponent, BaseEntityRestService, BaseEntityStore, BaseEntityTabsStore, BaseFormHostDirective, BaseFormNavigatorSingletonStore, BaseFormNavigatorStore, Entity, FlexDirection, FlexboxDescriptor, FormControlType, Id, OrderByDirection, RouteSegments, getEntityIds, getEntityOptions, getEnumKeyByValue, getEnumValueByKey };
506
- export type { ArtifactAttr, BaseEntity, BaseEntityDescriptorOptions, BaseEntityLoadResponse, BaseEntityMapper, BaseEntityQueryCondition, BaseEntityStoreRegistry, EntityOptions, FilterCondition, LookupTable, NavigationState, OrderByCondition };
558
+ export { ACTIVE_ENTITY_FACADE, AbstractAttrDescriptor, BASE_ENTITY_FACADE_REGISTRY, BASE_ENTITY_ROUTES, BASE_ENTITY_SERVICE, BASE_ENTITY_STORE, BASE_LIST_DESCRIPTORS, BaseEntityAttrDescriptor, BaseEntityContainerComponent, BaseEntityContainerStore, BaseEntityDescriptor, BaseEntityFacade, BaseEntityFirestoreService, BaseEntityFormComponent, BaseEntityListComponent, BaseEntityRestService, BaseEntityStore, BaseEntityTabsStore, BaseFormHostDirective, BaseFormNavigatorSingletonStore, BaseFormNavigatorStore, Entity, EntityRegistryComponent, FlexDirection, FlexboxDescriptor, FormControlType, Id, OrderByDirection, RouteSegments, SimpleEntityMapper, getEntityIds, getEntityOptions, getEnumKeyByValue, getEnumValueByKey };
559
+ export type { ArtifactAttr, BaseEntity, BaseEntityDescriptorOptions, BaseEntityFacadeRegistry, BaseEntityLoadResponse, BaseEntityMapper, BaseEntityQueryCondition, EntityOptions, EntityServiceKind, FilterCondition, LookupTable, NavigationState, OrderByCondition };
507
560
  //# sourceMappingURL=processpuzzle-base-entity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"processpuzzle-base-entity.d.ts","sources":["../../../../libs/base-entity/src/lib/base-entity/abstact-attr.descriptor.ts","../../../../libs/base-entity/src/lib/base-form/artifact/artifact-attr.ts","../../../../libs/base-entity/src/lib/base-entity/base-entity.descriptor.ts","../../../../libs/base-entity/src/lib/base-entity-container.component.ts","../../../../libs/base-entity/src/lib/base-entity-container.store.ts","../../../../libs/base-entity/src/lib/base-entity/base-entity.ts","../../../../libs/base-entity/src/lib/base-entity.mapper.ts","../../../../libs/base-entity/src/lib/base-entity-service/base-entity-load-response.ts","../../../../libs/base-entity/src/lib/base-entity-service/base-entity.service.ts","../../../../libs/base-entity/src/lib/base-entity-service/base-entity-rest.service.ts","../../../../libs/base-entity/src/lib/base-entity/base-entity-attr.descriptor.ts","../../../../libs/base-entity/src/lib/base-form-navigator/navigation-payload.ts","../../../../libs/base-entity/src/lib/base-form/base-form-host.directive.ts","../../../../libs/base-entity/src/lib/base-form/base-entity-form.component.ts","../../../../libs/base-entity/src/lib/base-list/base-entity-list.component.ts","../../../../libs/base-entity/src/lib/base-tabs/base-entity-tabs.store.ts","../../../../libs/base-entity/src/lib/base-entity-store/base-entity.store.ts","../../../../libs/base-entity/src/lib/base-entity-store/base-entity-store-registry.ts","../../../../libs/base-entity/src/lib/base-form-navigator/base-form-navigator.store.ts","../../../../libs/base-entity/src/lib/base-entity-service/base-entity-firestore.service.ts","../../../../libs/base-entity/src/lib/base-entity/flexboxDescriptor.ts","../../../../libs/base-entity/src/lib/base-entity/decorators/entity.decorator.ts","../../../../libs/base-entity/src/lib/base-entity.routes.ts","../../../../libs/base-entity/src/lib/base-form/lookup/lookup-table.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,aAAY,eAAe;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACD;AAED,uBAAsB,sBAAsB;;qBAEzB,eAAe;AAChC;AACA;AAAS;;AAET,6DAAyD,eAAe;AAIzE;;UC3BgB,YAAY;AAC3B;AACA;AACA;AACA;AACD;;UCFgB,2BAA2B;;qBAEzB,sBAAsB;;;AAGxC;AAED,cAAa,oBAAoB;;qBAEd,sBAAsB;;;qEAI0B,2BAA2B;AAO5F;mEAQsE,oBAAoB;AAS3F;;AClCD,cAUa,4BAA6B,YAAW,SAAS,EAAE,MAAM;AACpE,sBAAgB,aAAA,CAAA,WAAA,CAAA,oBAAA;wBACE,WAAA;;;;;AAmBlB;oDArBW,4BAA4B;sDAA5B,4BAA4B;AA+BxC;;ACrCD,iBAAgB,wBAAwB,IAAA,aAAA,CAAA,kBAAA,CAAA,aAAA,CAAA,kBAAA;;AAP3B;;;;AAWsB;;AAMlC;;UCpBgB,UAAU;AACzB;AACD;;ACGK,UAAW,gBAAgB,gBAAgB,UAAU;;AAEzD;AACD;AAED,iBAAgB,iBAAiB;AAAc;AAAuB;AAItE,iBAAgB,iBAAiB;AAAc;AAA2B;;ACLpE,UAAW,gBAAgB,gBAAgB,UAAU;;YAEjD,gBAAgB;AACzB;UAEgB,eAAe;;cAEpB,aAAa;;AAExB;AAED,aAAY,gBAAgB;AAC1B;AACA;AACD;UAEgB,OAAO;;;AAGvB;UAEgB,wBAAwB;;;;;iBAK1B,GAAG;AAChB,cAAU,eAAe;AACzB,eAAW,OAAO;AACnB;AAYK,UAAW,sBAAsB,gBAAgB,UAAU;AAC/D;AACA;AACA;;AAED;;AClDD,cAAa,mBAAmB,EAAA,cAAA,CAAA,iBAAA;AAE1B,UAAW,iBAAiB,gBAAg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AAiB,sBAAsB,eAAe,aAAa;AAKhF;;ACfD;;AAEG;UACc,kBAAkB;AACjC;AACA;AACD;UAEgB,aAAa;;;;gBAIhB,kBAAkB;AAC/B;AAQD;;;;AAIG;AACH,iBAAgB,MAAM,UAAU,aAAa,GAAG,cAAc;AAiB9D;;;;AAIG;AACH,iBAAgB,gBAAgB,iBAAiB,aAAa;AAgB9D;;;AAGG;AACH,iBAAgB,EAAE,IAAI,iBAAiB;AAkBvC;;;;AAIG;AACH,iBAAgB,YAAY;;ACxF5B,cAAa,kBAAkB,EAAE,MAIhC;;ACPK,UAAW,WAAY,SAAQ,UAAU;;AAE7C;;AAED;;;;","names":[]}
1
+ {"version":3,"file":"processpuzzle-base-entity.d.ts","sources":["../../../../libs/base-entity/src/lib/base-entity/abstact-attr.descriptor.ts","../../../../libs/base-entity/src/lib/base-form/artifact/artifact-attr.ts","../../../../libs/base-entity/src/lib/base-entity/base-entity.descriptor.ts","../../../../libs/base-entity/src/lib/base-entity/base-entity.ts","../../../../libs/base-entity/src/lib/base-entity.mapper.ts","../../../../libs/base-entity/src/lib/base-entity-service/base-entity-load-response.ts","../../../../libs/base-entity/src/lib/base-entity-service/base-entity.service.ts","../../../../libs/base-entity/src/lib/base-entity-facade/base-entity-facade.ts","../../../../libs/base-entity/src/lib/base-entity-container.component.ts","../../../../libs/base-entity/src/lib/base-entity-container.store.ts","../../../../libs/base-entity/src/lib/base-entity-service/base-entity-rest.service.ts","../../../../libs/base-entity/src/lib/base-entity/base-entity-attr.descriptor.ts","../../../../libs/base-entity/src/lib/base-form-navigator/navigation-payload.ts","../../../../libs/base-entity/src/lib/base-form/base-form-host.directive.ts","../../../../libs/base-entity/src/lib/base-form/base-entity-form.component.ts","../../../../libs/base-entity/src/lib/base-list/base-entity-list.component.ts","../../../../libs/base-entity/src/lib/base-entity-facade/active-entity-facade.token.ts","../../../../libs/base-entity/src/lib/base-tabs/base-entity-tabs.store.ts","../../../../libs/base-entity/src/lib/base-entity-store/base-entity.store.ts","../../../../libs/base-entity/src/lib/base-entity-facade/base-entity-facade-registry.ts","../../../../libs/base-entity/src/lib/base-form-navigator/base-form-navigator.store.ts","../../../../libs/base-entity/src/lib/base-entity-service/base-entity-firestore.service.ts","../../../../libs/base-entity/src/lib/base-entity/flexboxDescriptor.ts","../../../../libs/base-entity/src/lib/base-entity/decorators/entity.decorator.ts","../../../../libs/base-entity/src/lib/base-entity.routes.ts","../../../../libs/base-entity/src/lib/base-form/lookup/lookup-table.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,aAAY,eAAe;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACD;AAED,uBAAsB,sBAAsB;;qBAEzB,eAAe;AAChC;AACA;AAAS;;AAET,6DAAyD,eAAe;AAIzE;;UC3BgB,YAAY;AAC3B;AACA;AACA;AACA;AACD;;UCDgB,2BAA2B;;qBAEzB,sBAAsB;;;AAGxC;AAED,cAAa,oBAAoB;;qBAEd,sBAAsB;;;qEAI0B,2BAA2B;AAOrF;AAIP;mEAMsE,oBAAoB;AAO3F;;UCzCgB,UAAU;AACzB;AACD;;ACGK,UAAW,gBAAgB,gBAAgB,UAAU;;AAEzD;AACD;AAED,cAAa,kBAAkB,gBAAgB,UAAU,aAAa,gBAAgB;;;AAGpF;AAMA;AAGD;AAED,iBAAgB,iBAAiB;AAAc;AAAuB;AAItE,iBAAgB,iBAAiB;AAAc;AAA2B;;ACnBpE,UAAW,gBAAgB,gBAAgB,UAAU;;YAEjD,gBAAgB;AACzB;UAEgB,eAAe;;cAEpB,aAAa;;AAExB;AAED,aAAY,gBAAgB;AAC1B;AACA;AACD;UAEgB,OAAO;;;AAGvB;UAEgB,wBAAwB;;;;;iBAK1B,GAAG;AAChB,cAAU,eAAe;AACzB,eAAW,OAAO;AACnB;AAYK,UAAW,sBAAsB,gBAAgB,UAAU;AAC/D;AACA;AACA;;AAED;;AClDD,cAAa,mBAAmB,EAAA,cAAA,CAAA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