@smartsoft001-mobilems/public-collections-shell-angular 2.35.0 → 2.36.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.
@@ -1,11 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, inject, contentChild, Component, NgModule, computed, Directive } from '@angular/core';
3
- import { PaginationMode, FILE_SERVICE_CONFIG } from '@smartsoft001/angular';
4
- import * as i2 from '@smartsoft001/crud-shell-angular';
2
+ import { Injectable, inject, contentChild, Component, NgModule, Directive, effect } from '@angular/core';
3
+ import { FILE_SERVICE_CONFIG } from '@smartsoft001/angular';
5
4
  import { CrudFacade, initialState as initialState$1, getReducer as getReducer$1, CrudService, CrudConfig, CrudFullConfig, CrudFullModule, CrudModule, CrudListPageBaseComponent, CrudItemPageBaseComponent } from '@smartsoft001/crud-shell-angular';
6
- import { CrudBaseService, FiltersBaseComponent, SharedConfig, SharedModule } from '@smartsoft001-mobilems/angular';
7
- import * as i1 from '@ngrx/store';
5
+ import { CrudBaseService, FiltersBaseComponent, SharedConfig, SharedModule, SeoService, TranslationService } from '@smartsoft001-mobilems/angular';
8
6
  import { NgTemplateOutlet, CommonModule } from '@angular/common';
7
+ import { toSignal } from '@angular/core/rxjs-interop';
8
+ import { ActivatedRoute } from '@angular/router';
9
+ import { createFeatureSelector } from '@ngrx/store';
9
10
 
10
11
  class PublicCollectionsService extends CrudBaseService {
11
12
  getUrlNameForDetails() {
@@ -22,19 +23,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
22
23
  }] });
23
24
 
24
25
  class PublicCollectionsFacade extends CrudFacade {
25
- constructor(store, config, service) {
26
- super(store, config);
27
- this.service = service;
28
- }
29
- async downloadPdf(item) {
30
- await this.service.downloadPdf(item.title, item.id);
26
+ constructor() {
27
+ super(...arguments);
28
+ this.service = inject(PublicCollectionsService);
31
29
  }
32
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: PublicCollectionsFacade, deps: [{ token: i1.Store }, { token: i2.CrudConfig }, { token: PublicCollectionsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
30
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: PublicCollectionsFacade, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
33
31
  /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: PublicCollectionsFacade }); }
34
32
  }
35
33
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: PublicCollectionsFacade, decorators: [{
36
34
  type: Injectable
37
- }], ctorParameters: () => [{ type: i1.Store }, { type: i2.CrudConfig }, { type: PublicCollectionsService }] });
35
+ }] });
38
36
 
39
37
  const initialState = {
40
38
  ...initialState$1,
@@ -107,9 +105,6 @@ class PublicCollectionsModule {
107
105
  static forFeature(options) {
108
106
  if (!options.config.reducerFactory)
109
107
  options.config.reducerFactory = getReducer;
110
- options.config.list = {
111
- paginationMode: PaginationMode.singlePage,
112
- };
113
108
  return {
114
109
  ngModule: PublicCollectionsModule,
115
110
  providers: [
@@ -178,8 +173,9 @@ class PublicCollectionsListComponent extends CrudListPageBaseComponent {
178
173
  constructor() {
179
174
  super(...arguments);
180
175
  this.facade = inject(PublicCollectionsFacade);
181
- this.list = computed(() => this.listOptions()?.provider?.list ?? [], ...(ngDevMode ? [{ debugName: "list" }] : []));
182
- this.loading = computed(() => this.listOptions()?.provider?.loading ?? false, ...(ngDevMode ? [{ debugName: "loading" }] : []));
176
+ this.list = this.facade.list;
177
+ this.loading = this.facade.loading;
178
+ this.filter = this.facade.filter;
183
179
  }
184
180
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: PublicCollectionsListComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
185
181
  /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.0", type: PublicCollectionsListComponent, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
@@ -190,20 +186,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
190
186
 
191
187
  class PublicCollectionsItemComponent extends CrudItemPageBaseComponent {
192
188
  constructor() {
193
- super(...arguments);
194
- this.config = inject((CrudFullConfig));
189
+ super();
190
+ this.route = inject(ActivatedRoute);
191
+ this.seoService = inject(SeoService);
192
+ this.translationService = inject(TranslationService);
193
+ this.params = toSignal(this.route.params);
195
194
  this.facade = inject(PublicCollectionsFacade);
195
+ this.loading = this.facade.loading;
196
+ this.item = this.facade.selected;
197
+ effect(() => {
198
+ const params = this.params();
199
+ const id = params['id'];
200
+ if (id) {
201
+ this.facade.select(id);
202
+ }
203
+ });
196
204
  }
197
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: PublicCollectionsItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
205
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: PublicCollectionsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
198
206
  /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.0", type: PublicCollectionsItemComponent, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
199
207
  }
200
208
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: PublicCollectionsItemComponent, decorators: [{
201
209
  type: Directive
202
- }] });
210
+ }], ctorParameters: () => [] });
211
+
212
+ const getPublicCollectionsState = createFeatureSelector('publicCollections');
213
+ //export const getpublic-collectionsTest = createSelector(
214
+ // getpublic-collectionsState,
215
+ // (state) => state.test
216
+ //);
203
217
 
204
218
  /**
205
219
  * Generated bundle index. Do not edit.
206
220
  */
207
221
 
208
- export { ComponentsModule, FiltersComponent, ListComponent, PublicCollectionsItemComponent, PublicCollectionsListComponent, PublicCollectionsModule, PublicCollectionsSharedModule };
222
+ export { ComponentsModule, FiltersComponent, ListComponent, PublicCollectionsFacade, PublicCollectionsItemComponent, PublicCollectionsListComponent, PublicCollectionsModule, PublicCollectionsService, PublicCollectionsSharedModule, SERVICES, getPublicCollectionsState, getReducer, initialState };
209
223
  //# sourceMappingURL=smartsoft001-mobilems-public-collections-shell-angular.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"smartsoft001-mobilems-public-collections-shell-angular.mjs","sources":["../../../../../../packages/public-collections/shell/angular/src/lib/services/public-collections/public-collections.service.ts","../../../../../../packages/public-collections/shell/angular/src/lib/+state/public-collections.facade.ts","../../../../../../packages/public-collections/shell/angular/src/lib/+state/public-collections.reducer.ts","../../../../../../packages/public-collections/shell/angular/src/lib/components/list/list.component.ts","../../../../../../packages/public-collections/shell/angular/src/lib/components/list/list.component.html","../../../../../../packages/public-collections/shell/angular/src/lib/components/filters/filters.component.ts","../../../../../../packages/public-collections/shell/angular/src/lib/components/filters/filters.component.html","../../../../../../packages/public-collections/shell/angular/src/lib/components/components.module.ts","../../../../../../packages/public-collections/shell/angular/src/lib/services/index.ts","../../../../../../packages/public-collections/shell/angular/src/lib/public-collections.module.ts","../../../../../../packages/public-collections/shell/angular/src/lib/public-collections-shared.module.ts","../../../../../../packages/public-collections/shell/angular/src/lib/pages/list/list.component.ts","../../../../../../packages/public-collections/shell/angular/src/lib/pages/item/item.component.ts","../../../../../../packages/public-collections/shell/angular/src/smartsoft001-mobilems-public-collections-shell-angular.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nimport { CrudBaseService } from '@smartsoft001-mobilems/angular';\nimport { PublicCollection } from '@smartsoft001-mobilems/public-collections-domain';\n\n@Injectable()\nexport class PublicCollectionsService extends CrudBaseService<PublicCollection> {\n getUrlNameForDetails(): string {\n return 'public-collections';\n }\n\n getUrlNameForList(): string {\n return 'public-collections';\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport { CrudConfig, CrudFacade } from '@smartsoft001/crud-shell-angular';\n\nimport { PublicCollection } from '@smartsoft001-mobilems/public-collections-domain';\n\nimport { PublicCollectionsService } from '../services/public-collections/public-collections.service';\n\n@Injectable()\nexport class PublicCollectionsFacade extends CrudFacade<PublicCollection> {\n constructor(\n store: Store,\n config: CrudConfig<PublicCollection>,\n private service: PublicCollectionsService,\n ) {\n super(store as any, config);\n }\n\n async downloadPdf(item: { title: string; id: string }): Promise<void> {\n await this.service.downloadPdf(item.title, item.id);\n }\n}\n","import { Action } from '@ngrx/store';\nimport {\n State as SmartState,\n initialState as smartInitialState,\n getReducer as smartGetReducer,\n} from '@smartsoft001/crud-shell-angular';\n\nimport { PublicCollection } from '@smartsoft001-mobilems/public-collections-domain';\n\n// import {public-collectionsFacade} from \"./public-collections.facade\";\n\nexport type State = SmartState<PublicCollection>;\n\nexport const initialState = {\n ...smartInitialState,\n};\n\nconst publicCollectionsReducer = (state = initialState, action: any) => {\n switch (action.type) {\n //case public-collectionsFacade.name + ' test':\n // return {\n // ...state,\n // loaded: false,\n // }\n\n default:\n return smartGetReducer('publicCollections')(state, action);\n }\n};\n\nexport function getReducer() {\n return (state: any, action: Action) => {\n return publicCollectionsReducer(state, action);\n };\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { Component, TemplateRef, contentChild, inject } from '@angular/core';\n\nimport { PublicCollectionsFacade } from '../../+state/public-collections.facade';\n\n@Component({\n selector: 'smart-mobilems-public-collections-list',\n templateUrl: './list.component.html',\n imports: [NgTemplateOutlet],\n})\nexport class ListComponent {\n private facade = inject(PublicCollectionsFacade);\n\n list = this.facade.list;\n loading = this.facade.loading;\n\n itemTpl = contentChild<TemplateRef<any>>('itemTpl');\n loadingTpl = contentChild<TemplateRef<any>>('loadingTpl');\n}\n","@if (list(); as listData) {\n @if (listData && itemTpl()) {\n @for (item of listData; track item) {\n <ng-container\n *ngTemplateOutlet=\"itemTpl(); context: { $implicit: item }\"\n ></ng-container>\n }\n }\n}\n\n@if (loading()) {\n @if (loadingTpl()) {\n <ng-container *ngTemplateOutlet=\"loadingTpl()\"></ng-container>\n }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { Component } from '@angular/core';\n\nimport { FiltersBaseComponent } from '@smartsoft001-mobilems/angular';\nimport { PublicCollection } from '@smartsoft001-mobilems/public-collections-domain';\n\n@Component({\n selector: 'smart-mobilems-public-collections-filters',\n templateUrl: './filters.component.html',\n imports: [NgTemplateOutlet],\n})\nexport class FiltersComponent extends FiltersBaseComponent<PublicCollection> {}\n","<ng-container\n *ngTemplateOutlet=\"contentTpl(); context: { $implicit: context }\"\n></ng-container>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { FiltersComponent } from './filters/filters.component';\nimport { ListComponent } from './list/list.component';\n\nconst COMPONENTS = [FiltersComponent, ListComponent];\n\n@NgModule({\n imports: [CommonModule, COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class ComponentsModule {}\n","import { CrudService } from '@smartsoft001/crud-shell-angular';\n\nimport { PublicCollectionsService } from './public-collections/public-collections.service';\n\nexport const SERVICES = [\n PublicCollectionsService,\n {\n provide: CrudService,\n useClass: PublicCollectionsService,\n },\n];\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport {\n FILE_SERVICE_CONFIG,\n IFileServiceConfig,\n PaginationMode,\n} from '@smartsoft001/angular';\nimport {\n CrudConfig,\n CrudFullConfig,\n CrudFullModule,\n ICrudModuleOptionsWithRoutng,\n} from '@smartsoft001/crud-shell-angular';\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { SharedConfig } from '@smartsoft001-mobilems/angular';\nimport { SharedModule } from '@smartsoft001-mobilems/angular';\n\nimport { PublicCollectionsFacade } from './+state/public-collections.facade';\nimport { getReducer } from './+state/public-collections.reducer';\nimport { ComponentsModule } from './components';\nimport { SERVICES } from './services';\n\n@NgModule({\n declarations: [],\n providers: [...SERVICES, PublicCollectionsFacade],\n imports: [SharedModule, ComponentsModule, CrudFullModule],\n exports: [ComponentsModule],\n})\nexport class PublicCollectionsModule {\n static forFeature<T extends IEntity<string>>(\n options: ICrudModuleOptionsWithRoutng<T>,\n ): ModuleWithProviders<PublicCollectionsModule> {\n if (!options.config.reducerFactory)\n options.config.reducerFactory = getReducer;\n options.config.list = {\n paginationMode: PaginationMode.singlePage,\n };\n return {\n ngModule: PublicCollectionsModule,\n providers: [\n {\n provide: SharedConfig,\n useValue: { apiUrl: options.config.apiUrl } as SharedConfig,\n },\n { provide: CrudConfig, useValue: options.config },\n { provide: CrudFullConfig, useValue: options.config },\n {\n provide: FILE_SERVICE_CONFIG,\n useValue: { apiUrl: options.config.apiUrl } as IFileServiceConfig,\n },\n ],\n };\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { FILE_SERVICE_CONFIG, IFileServiceConfig } from '@smartsoft001/angular';\nimport {\n CrudConfig,\n CrudFullConfig,\n CrudModule,\n ICrudModuleOptionsWithoutRoutng,\n} from '@smartsoft001/crud-shell-angular';\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { SharedConfig } from '@smartsoft001-mobilems/angular';\nimport { SharedModule } from '@smartsoft001-mobilems/angular';\n\nimport { PublicCollectionsFacade } from './+state/public-collections.facade';\nimport { getReducer } from './+state/public-collections.reducer';\nimport { ComponentsModule } from './components';\nimport { SERVICES } from './services';\n\n@NgModule({\n declarations: [],\n providers: [...SERVICES, PublicCollectionsFacade],\n imports: [SharedModule, ComponentsModule, CrudModule],\n exports: [ComponentsModule],\n})\nexport class PublicCollectionsSharedModule {\n static forFeature<T extends IEntity<string>>(\n options: ICrudModuleOptionsWithoutRoutng<T>,\n ): ModuleWithProviders<PublicCollectionsSharedModule> {\n if (!options.config.reducerFactory)\n options.config.reducerFactory = getReducer;\n return {\n ngModule: PublicCollectionsSharedModule,\n providers: [\n {\n provide: SharedConfig,\n useValue: { apiUrl: options.config.apiUrl } as SharedConfig,\n },\n { provide: CrudConfig, useValue: options.config },\n { provide: CrudFullConfig, useValue: options.config },\n {\n provide: FILE_SERVICE_CONFIG,\n useValue: { apiUrl: options.config.apiUrl } as IFileServiceConfig,\n },\n ],\n };\n }\n}\n","import { computed, Directive, inject, Signal } from '@angular/core';\nimport { CrudListPageBaseComponent } from '@smartsoft001/crud-shell-angular';\n\nimport { PublicCollection } from '@smartsoft001-mobilems/public-collections-domain';\n\nimport { PublicCollectionsFacade } from '../../+state/public-collections.facade';\n\n@Directive()\nexport abstract class PublicCollectionsListComponent extends CrudListPageBaseComponent<PublicCollection> {\n facade = inject(PublicCollectionsFacade);\n\n list = computed(() => this.listOptions()?.provider?.list ?? []);\n loading = computed(() => this.listOptions()?.provider?.loading ?? false);\n}\n","import { Directive, inject } from '@angular/core';\nimport {\n CrudFullConfig,\n CrudItemPageBaseComponent,\n} from '@smartsoft001/crud-shell-angular';\n\nimport { PublicCollection } from '@smartsoft001-mobilems/public-collections-domain';\n\nimport { PublicCollectionsFacade } from '../../+state/public-collections.facade';\n\n@Directive()\nexport abstract class PublicCollectionsItemComponent extends CrudItemPageBaseComponent<PublicCollection> {\n config = inject(CrudFullConfig<PublicCollection>);\n facade = inject(PublicCollectionsFacade);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i3.PublicCollectionsService","smartInitialState","smartGetReducer"],"mappings":";;;;;;;;;AAMM,MAAO,wBAAyB,SAAQ,eAAiC,CAAA;IAC7E,oBAAoB,GAAA;AAClB,QAAA,OAAO,oBAAoB;IAC7B;IAEA,iBAAiB,GAAA;AACf,QAAA,OAAO,oBAAoB;IAC7B;iIAPW,wBAAwB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA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,8BAA+B,SAAQ,yBAA2C,CAAA;AADxG,IAAA,WAAA,GAAA;;AAEE,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,uBAAuB,CAAC;AAExC,QAAA,IAAA,CAAA,IAAI,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,IAAI,EAAE,gDAAC;AAC/D,QAAA,IAAA,CAAA,OAAO,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,EAAE,QAAQ,EAAE,OAAO,IAAI,KAAK,mDAAC;AACzE,IAAA;iIALqB,8BAA8B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;qHAA9B,8BAA8B,EAAA,YAAA,EAAA,IAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAA9B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBADnD;;;ACIK,MAAgB,8BAA+B,SAAQ,yBAA2C,CAAA;AADxG,IAAA,WAAA,GAAA;;AAEE,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,EAAC,cAAgC,EAAC;AACjD,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,uBAAuB,CAAC;AACzC,IAAA;iIAHqB,8BAA8B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;qHAA9B,8BAA8B,EAAA,YAAA,EAAA,IAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAA9B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBADnD;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"smartsoft001-mobilems-public-collections-shell-angular.mjs","sources":["../../../../../../packages/public-collections/shell/angular/src/lib/services/public-collections/public-collections.service.ts","../../../../../../packages/public-collections/shell/angular/src/lib/+state/public-collections.facade.ts","../../../../../../packages/public-collections/shell/angular/src/lib/+state/public-collections.reducer.ts","../../../../../../packages/public-collections/shell/angular/src/lib/components/list/list.component.ts","../../../../../../packages/public-collections/shell/angular/src/lib/components/list/list.component.html","../../../../../../packages/public-collections/shell/angular/src/lib/components/filters/filters.component.ts","../../../../../../packages/public-collections/shell/angular/src/lib/components/filters/filters.component.html","../../../../../../packages/public-collections/shell/angular/src/lib/components/components.module.ts","../../../../../../packages/public-collections/shell/angular/src/lib/services/index.ts","../../../../../../packages/public-collections/shell/angular/src/lib/public-collections.module.ts","../../../../../../packages/public-collections/shell/angular/src/lib/public-collections-shared.module.ts","../../../../../../packages/public-collections/shell/angular/src/lib/pages/list/list.component.ts","../../../../../../packages/public-collections/shell/angular/src/lib/pages/item/item.component.ts","../../../../../../packages/public-collections/shell/angular/src/lib/+state/public-collections.selectors.ts","../../../../../../packages/public-collections/shell/angular/src/smartsoft001-mobilems-public-collections-shell-angular.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nimport { CrudBaseService } from '@smartsoft001-mobilems/angular';\nimport { PublicCollection } from '@smartsoft001-mobilems/public-collections-domain';\n\n@Injectable()\nexport class PublicCollectionsService extends CrudBaseService<PublicCollection> {\n getUrlNameForDetails(): string {\n return 'public-collections';\n }\n\n getUrlNameForList(): string {\n return 'public-collections';\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { CrudFacade } from '@smartsoft001/crud-shell-angular';\n\nimport { PublicCollection } from '@smartsoft001-mobilems/public-collections-domain';\n\nimport { PublicCollectionsService } from '../services/public-collections/public-collections.service';\n\n@Injectable()\nexport class PublicCollectionsFacade extends CrudFacade<PublicCollection> {\n protected service = inject(PublicCollectionsService);\n}\n","import { Action } from '@ngrx/store';\nimport {\n State as SmartState,\n initialState as smartInitialState,\n getReducer as smartGetReducer,\n} from '@smartsoft001/crud-shell-angular';\n\nimport { PublicCollection } from '@smartsoft001-mobilems/public-collections-domain';\n\n// import {public-collectionsFacade} from \"./public-collections.facade\";\n\nexport type State = SmartState<PublicCollection>;\n\nexport const initialState = {\n ...smartInitialState,\n};\n\nconst publicCollectionsReducer = (state = initialState, action: any) => {\n switch (action.type) {\n //case public-collectionsFacade.name + ' test':\n // return {\n // ...state,\n // loaded: false,\n // }\n\n default:\n return smartGetReducer('publicCollections')(state, action);\n }\n};\n\nexport function getReducer() {\n return (state: any, action: Action) => {\n return publicCollectionsReducer(state, action);\n };\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { Component, TemplateRef, contentChild, inject } from '@angular/core';\n\nimport { PublicCollectionsFacade } from '../../+state/public-collections.facade';\n\n@Component({\n selector: 'smart-mobilems-public-collections-list',\n templateUrl: './list.component.html',\n imports: [NgTemplateOutlet],\n})\nexport class ListComponent {\n private facade = inject(PublicCollectionsFacade);\n\n list = this.facade.list;\n loading = this.facade.loading;\n\n itemTpl = contentChild<TemplateRef<any>>('itemTpl');\n loadingTpl = contentChild<TemplateRef<any>>('loadingTpl');\n}\n","@if (list(); as listData) {\n @if (listData && itemTpl()) {\n @for (item of listData; track item) {\n <ng-container\n *ngTemplateOutlet=\"itemTpl(); context: { $implicit: item }\"\n ></ng-container>\n }\n }\n}\n\n@if (loading()) {\n @if (loadingTpl()) {\n <ng-container *ngTemplateOutlet=\"loadingTpl()\"></ng-container>\n }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { Component } from '@angular/core';\n\nimport { FiltersBaseComponent } from '@smartsoft001-mobilems/angular';\nimport { PublicCollection } from '@smartsoft001-mobilems/public-collections-domain';\n\n@Component({\n selector: 'smart-mobilems-public-collections-filters',\n templateUrl: './filters.component.html',\n imports: [NgTemplateOutlet],\n})\nexport class FiltersComponent extends FiltersBaseComponent<PublicCollection> {}\n","<ng-container\n *ngTemplateOutlet=\"contentTpl(); context: { $implicit: context }\"\n></ng-container>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { FiltersComponent } from './filters/filters.component';\nimport { ListComponent } from './list/list.component';\n\nconst COMPONENTS = [FiltersComponent, ListComponent];\n\n@NgModule({\n imports: [CommonModule, COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class ComponentsModule {}\n","import { CrudService } from '@smartsoft001/crud-shell-angular';\n\nimport { PublicCollectionsService } from './public-collections/public-collections.service';\n\nexport * from './public-collections/public-collections.service';\n\nexport const SERVICES = [\n PublicCollectionsService,\n {\n provide: CrudService,\n useClass: PublicCollectionsService,\n },\n];\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport {\n FILE_SERVICE_CONFIG,\n IFileServiceConfig,\n PaginationMode,\n} from '@smartsoft001/angular';\nimport {\n CrudConfig,\n CrudFullConfig,\n CrudFullModule,\n ICrudModuleOptionsWithoutRoutng,\n} from '@smartsoft001/crud-shell-angular';\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { SharedConfig } from '@smartsoft001-mobilems/angular';\nimport { SharedModule } from '@smartsoft001-mobilems/angular';\n\nimport { PublicCollectionsFacade } from './+state/public-collections.facade';\nimport { getReducer } from './+state/public-collections.reducer';\nimport { ComponentsModule } from './components';\nimport { SERVICES } from './services';\n\n@NgModule({\n declarations: [],\n providers: [...SERVICES, PublicCollectionsFacade],\n imports: [SharedModule, ComponentsModule, CrudFullModule],\n exports: [ComponentsModule],\n})\nexport class PublicCollectionsModule {\n static forFeature<T extends IEntity<string>>(\n options: ICrudModuleOptionsWithoutRoutng<T>,\n ): ModuleWithProviders<PublicCollectionsModule> {\n if (!options.config.reducerFactory)\n options.config.reducerFactory = getReducer;\n return {\n ngModule: PublicCollectionsModule,\n providers: [\n {\n provide: SharedConfig,\n useValue: { apiUrl: options.config.apiUrl } as SharedConfig,\n },\n { provide: CrudConfig, useValue: options.config },\n { provide: CrudFullConfig, useValue: options.config },\n {\n provide: FILE_SERVICE_CONFIG,\n useValue: { apiUrl: options.config.apiUrl } as IFileServiceConfig,\n },\n ],\n };\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { FILE_SERVICE_CONFIG, IFileServiceConfig } from '@smartsoft001/angular';\nimport {\n CrudConfig,\n CrudFullConfig,\n CrudModule,\n ICrudModuleOptionsWithoutRoutng,\n} from '@smartsoft001/crud-shell-angular';\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { SharedConfig } from '@smartsoft001-mobilems/angular';\nimport { SharedModule } from '@smartsoft001-mobilems/angular';\n\nimport { PublicCollectionsFacade } from './+state/public-collections.facade';\nimport { getReducer } from './+state/public-collections.reducer';\nimport { ComponentsModule } from './components';\nimport { SERVICES } from './services';\n\n@NgModule({\n declarations: [],\n providers: [...SERVICES, PublicCollectionsFacade],\n imports: [SharedModule, ComponentsModule, CrudModule],\n exports: [ComponentsModule],\n})\nexport class PublicCollectionsSharedModule {\n static forFeature<T extends IEntity<string>>(\n options: ICrudModuleOptionsWithoutRoutng<T>,\n ): ModuleWithProviders<PublicCollectionsSharedModule> {\n if (!options.config.reducerFactory)\n options.config.reducerFactory = getReducer;\n return {\n ngModule: PublicCollectionsSharedModule,\n providers: [\n {\n provide: SharedConfig,\n useValue: { apiUrl: options.config.apiUrl } as SharedConfig,\n },\n { provide: CrudConfig, useValue: options.config },\n { provide: CrudFullConfig, useValue: options.config },\n {\n provide: FILE_SERVICE_CONFIG,\n useValue: { apiUrl: options.config.apiUrl } as IFileServiceConfig,\n },\n ],\n };\n }\n}\n","import { Directive, inject, Signal } from '@angular/core';\nimport { CrudListPageBaseComponent } from '@smartsoft001/crud-shell-angular';\n\nimport { PublicCollection } from '@smartsoft001-mobilems/public-collections-domain';\n\nimport { PublicCollectionsFacade } from '../../+state/public-collections.facade';\n\n@Directive()\nexport abstract class PublicCollectionsListComponent extends CrudListPageBaseComponent<PublicCollection> {\n protected readonly facade = inject(PublicCollectionsFacade);\n\n list = this.facade.list as Signal<PublicCollection[]>;\n loading = this.facade.loading;\n filter = this.facade.filter;\n}\n","import { Directive, inject, effect, signal } from '@angular/core';\nimport { toSignal } from '@angular/core/rxjs-interop';\nimport { ActivatedRoute } from '@angular/router';\nimport { CrudItemPageBaseComponent } from '@smartsoft001/crud-shell-angular';\n\nimport { SeoService, TranslationService } from '@smartsoft001-mobilems/angular';\nimport { PublicCollection } from '@smartsoft001-mobilems/public-collections-domain';\n\nimport { PublicCollectionsFacade } from '../../+state/public-collections.facade';\n\n@Directive()\nexport abstract class PublicCollectionsItemComponent extends CrudItemPageBaseComponent<PublicCollection> {\n protected readonly route = inject(ActivatedRoute);\n protected readonly seoService = inject(SeoService);\n protected readonly translationService = inject(TranslationService);\n protected readonly params = toSignal(this.route.params);\n\n override facade = inject(PublicCollectionsFacade);\n\n readonly loading = this.facade.loading;\n readonly item = this.facade.selected;\n\n protected constructor() {\n super();\n\n effect(() => {\n const params = this.params();\n\n const id = params['id'];\n if (id) {\n this.facade.select(id);\n }\n });\n }\n}\n","import {\n createFeatureSelector,\n //createSelector\n} from '@ngrx/store';\n\nimport { State } from './public-collections.reducer';\n\nexport const getPublicCollectionsState =\n createFeatureSelector<State>('publicCollections');\n\n//export const getpublic-collectionsTest = createSelector(\n// getpublic-collectionsState,\n// (state) => state.test\n//);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["smartInitialState","smartGetReducer"],"mappings":";;;;;;;;;;AAMM,MAAO,wBAAyB,SAAQ,eAAiC,CAAA;IAC7E,oBAAoB,GAAA;AAClB,QAAA,OAAO,oBAAoB;IAC7B;IAEA,iBAAiB,GAAA;AACf,QAAA,OAAO,oBAAoB;IAC7B;iIAPW,wBAAwB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;qIAAxB,wBAAwB,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC;;;ACGK,MAAO,uBAAwB,SAAQ,UAA4B,CAAA;AADzE,IAAA,WAAA,GAAA;;AAEY,QAAA,IAAA,C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A,GAAA;AACE,QAAA,KAAK,EAAE;AAXU,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC;AAC9B,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAC/B,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;QAC/C,IAAA,CAAA,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;AAE9C,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,uBAAuB,CAAC;AAExC,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO;AAC7B,QAAA,IAAA,CAAA,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ;QAKlC,MAAM,CAAC,MAAK;AACV,YAAA,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,EAAE;AAE5B,YAAA,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC;YACvB,IAAI,EAAE,EAAE;AACN,gBAAA,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;YACxB;AACF,QAAA,CAAC,CAAC;IACJ;iIAtBoB,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;qHAA9B,8BAA8B,EAAA,YAAA,EAAA,IAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAA9B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBADnD;;;MCHY,yBAAyB,GACpC,qBAAqB,CAAQ,mBAAmB;AAElD;AACA;AACA;AACA;;ACbA;;AAEG;;;;"}
package/index.d.ts CHANGED
@@ -1,14 +1,17 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { TemplateRef, ModuleWithProviders, Signal } from '@angular/core';
3
- import * as i3 from '@smartsoft001/crud-shell-angular';
4
- import { ICrudModuleOptionsWithRoutng, ICrudModuleOptionsWithoutRoutng, CrudFacade, CrudConfig, CrudListPageBaseComponent, CrudItemPageBaseComponent, CrudFullConfig } from '@smartsoft001/crud-shell-angular';
3
+ import * as _smartsoft001_crud_shell_angular from '@smartsoft001/crud-shell-angular';
4
+ import { ICrudModuleOptionsWithoutRoutng, CrudFacade, CrudListPageBaseComponent, CrudItemPageBaseComponent, State as State$1, CrudService } from '@smartsoft001/crud-shell-angular';
5
5
  import { IEntity } from '@smartsoft001/domain-core';
6
6
  import * as i1$1 from '@smartsoft001-mobilems/angular';
7
- import { FiltersBaseComponent, CrudBaseService } from '@smartsoft001-mobilems/angular';
7
+ import { FiltersBaseComponent, CrudBaseService, SeoService, TranslationService } from '@smartsoft001-mobilems/angular';
8
8
  import * as i1 from '@angular/common';
9
9
  import { PublicCollection } from '@smartsoft001-mobilems/public-collections-domain';
10
10
  import * as dist_packages_public_collections_domain_src from 'dist/packages/public-collections/domain/src';
11
- import { Store } from '@ngrx/store';
11
+ import * as _angular_router from '@angular/router';
12
+ import { ActivatedRoute } from '@angular/router';
13
+ import * as _ngrx_store from '@ngrx/store';
14
+ import { Action } from '@ngrx/store';
12
15
 
13
16
  declare class FiltersComponent extends FiltersBaseComponent<PublicCollection> {
14
17
  static ɵfac: i0.ɵɵFactoryDeclaration<FiltersComponent, never>;
@@ -32,16 +35,16 @@ declare class ComponentsModule {
32
35
  }
33
36
 
34
37
  declare class PublicCollectionsModule {
35
- static forFeature<T extends IEntity<string>>(options: ICrudModuleOptionsWithRoutng<T>): ModuleWithProviders<PublicCollectionsModule>;
38
+ static forFeature<T extends IEntity<string>>(options: ICrudModuleOptionsWithoutRoutng<T>): ModuleWithProviders<PublicCollectionsModule>;
36
39
  static ɵfac: i0.ɵɵFactoryDeclaration<PublicCollectionsModule, never>;
37
- static ɵmod: i0.ɵɵNgModuleDeclaration<PublicCollectionsModule, never, [typeof i1$1.SharedModule, typeof ComponentsModule, typeof i3.CrudFullModule], [typeof ComponentsModule]>;
40
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PublicCollectionsModule, never, [typeof i1$1.SharedModule, typeof ComponentsModule, typeof _smartsoft001_crud_shell_angular.CrudFullModule], [typeof ComponentsModule]>;
38
41
  static ɵinj: i0.ɵɵInjectorDeclaration<PublicCollectionsModule>;
39
42
  }
40
43
 
41
44
  declare class PublicCollectionsSharedModule {
42
45
  static forFeature<T extends IEntity<string>>(options: ICrudModuleOptionsWithoutRoutng<T>): ModuleWithProviders<PublicCollectionsSharedModule>;
43
46
  static ɵfac: i0.ɵɵFactoryDeclaration<PublicCollectionsSharedModule, never>;
44
- static ɵmod: i0.ɵɵNgModuleDeclaration<PublicCollectionsSharedModule, never, [typeof i1$1.SharedModule, typeof ComponentsModule, typeof i3.CrudModule], [typeof ComponentsModule]>;
47
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PublicCollectionsSharedModule, never, [typeof i1$1.SharedModule, typeof ComponentsModule, typeof _smartsoft001_crud_shell_angular.CrudModule], [typeof ComponentsModule]>;
45
48
  static ɵinj: i0.ɵɵInjectorDeclaration<PublicCollectionsSharedModule>;
46
49
  }
47
50
 
@@ -53,29 +56,79 @@ declare class PublicCollectionsService extends CrudBaseService<PublicCollection>
53
56
  }
54
57
 
55
58
  declare class PublicCollectionsFacade extends CrudFacade<PublicCollection> {
56
- private service;
57
- constructor(store: Store, config: CrudConfig<PublicCollection>, service: PublicCollectionsService);
58
- downloadPdf(item: {
59
- title: string;
60
- id: string;
61
- }): Promise<void>;
59
+ protected service: PublicCollectionsService;
62
60
  static ɵfac: i0.ɵɵFactoryDeclaration<PublicCollectionsFacade, never>;
63
61
  static ɵprov: i0.ɵɵInjectableDeclaration<PublicCollectionsFacade>;
64
62
  }
65
63
 
66
64
  declare abstract class PublicCollectionsListComponent extends CrudListPageBaseComponent<PublicCollection> {
67
- facade: PublicCollectionsFacade;
68
- list: Signal<any[] | Signal<PublicCollection[]>>;
69
- loading: Signal<false | Signal<boolean>>;
65
+ protected readonly facade: PublicCollectionsFacade;
66
+ list: Signal<PublicCollection[]>;
67
+ loading: Signal<boolean>;
68
+ filter: Signal<_smartsoft001_crud_shell_angular.ICrudFilter>;
70
69
  static ɵfac: i0.ɵɵFactoryDeclaration<PublicCollectionsListComponent, never>;
71
70
  static ɵdir: i0.ɵɵDirectiveDeclaration<PublicCollectionsListComponent, never, never, {}, {}, never, never, true, never>;
72
71
  }
73
72
 
74
73
  declare abstract class PublicCollectionsItemComponent extends CrudItemPageBaseComponent<PublicCollection> {
75
- config: CrudFullConfig<any>;
74
+ protected readonly route: ActivatedRoute;
75
+ protected readonly seoService: SeoService;
76
+ protected readonly translationService: TranslationService;
77
+ protected readonly params: i0.Signal<_angular_router.Params>;
76
78
  facade: PublicCollectionsFacade;
79
+ readonly loading: i0.Signal<boolean>;
80
+ readonly item: i0.Signal<PublicCollection>;
81
+ protected constructor();
77
82
  static ɵfac: i0.ɵɵFactoryDeclaration<PublicCollectionsItemComponent, never>;
78
83
  static ɵdir: i0.ɵɵDirectiveDeclaration<PublicCollectionsItemComponent, never, never, {}, {}, never, never, true, never>;
79
84
  }
80
85
 
81
- export { ComponentsModule, FiltersComponent, ListComponent, PublicCollectionsItemComponent, PublicCollectionsListComponent, PublicCollectionsModule, PublicCollectionsSharedModule };
86
+ type State = State$1<PublicCollection>;
87
+ declare const initialState: {
88
+ selected?: any;
89
+ multiSelected?: any[];
90
+ list?: any[];
91
+ totalCount?: number;
92
+ filter?: _smartsoft001_crud_shell_angular.ICrudFilter;
93
+ links?: any;
94
+ loaded: boolean;
95
+ error?: string | null;
96
+ };
97
+ declare function getReducer(): (state: any, action: Action) => State$1<any> | {
98
+ loaded: boolean;
99
+ error: any;
100
+ selected?: any;
101
+ multiSelected?: any[] | undefined;
102
+ list?: any[] | undefined;
103
+ totalCount?: number;
104
+ filter?: _smartsoft001_crud_shell_angular.ICrudFilter;
105
+ links?: any;
106
+ } | {
107
+ loaded: boolean;
108
+ filter: any;
109
+ error: null;
110
+ totalCount: null;
111
+ links: null;
112
+ selected?: any;
113
+ multiSelected?: any[] | undefined;
114
+ list?: any[] | undefined;
115
+ } | {
116
+ loaded: boolean;
117
+ list: any[];
118
+ totalCount: any;
119
+ links: any;
120
+ error: null;
121
+ selected?: any;
122
+ multiSelected?: any[] | undefined;
123
+ filter?: _smartsoft001_crud_shell_angular.ICrudFilter;
124
+ };
125
+
126
+ declare const getPublicCollectionsState: _ngrx_store.MemoizedSelector<object, State, _ngrx_store.DefaultProjectorFn<State>>;
127
+
128
+ declare const SERVICES: (typeof PublicCollectionsService | {
129
+ provide: typeof CrudService;
130
+ useClass: typeof PublicCollectionsService;
131
+ })[];
132
+
133
+ export { ComponentsModule, FiltersComponent, ListComponent, PublicCollectionsFacade, PublicCollectionsItemComponent, PublicCollectionsListComponent, PublicCollectionsModule, PublicCollectionsService, PublicCollectionsSharedModule, SERVICES, getPublicCollectionsState, getReducer, initialState };
134
+ export type { State };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001-mobilems/public-collections-shell-angular",
3
- "version": "2.35.0",
3
+ "version": "2.36.0",
4
4
  "description": "This library was generated with [Nx](https://nx.dev).",
5
5
  "repository": {
6
6
  "type": "git",