@smartsoft001-mobilems/objects-shell-angular 2.88.0 → 2.89.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,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, inject, contentChild, Component, NgModule, Directive, signal, effect } from '@angular/core';
2
+ import { Injectable, inject, contentChild, ChangeDetectionStrategy, Component, NgModule, Directive, signal, effect } from '@angular/core';
3
3
  import { FILE_SERVICE_CONFIG } from '@smartsoft001/angular';
4
4
  import { CrudFacade, initialState as initialState$1, getReducer as getReducer$1, CrudService, CrudConfig, CrudFullConfig, CrudCoreModule, CrudModule, CrudListPageBaseComponent, CrudItemPageBaseComponent } from '@smartsoft001/crud-shell-angular';
5
5
  import { CrudBaseService, FiltersBaseComponent, SharedConfig, SharedModule, SeoService, TranslationService } from '@smartsoft001-mobilems/angular';
@@ -15,10 +15,10 @@ class ObjectsService extends CrudBaseService {
15
15
  getUrlNameForList() {
16
16
  return 'Object';
17
17
  }
18
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
19
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsService }); }
18
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
19
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsService }); }
20
20
  }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsService, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsService, decorators: [{
22
22
  type: Injectable
23
23
  }] });
24
24
 
@@ -30,10 +30,10 @@ class ObjectsFacade extends CrudFacade {
30
30
  async downloadPdf(item) {
31
31
  await this.service.downloadPdf(item.title, item.id);
32
32
  }
33
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsFacade, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
34
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsFacade }); }
33
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsFacade, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
34
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsFacade }); }
35
35
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsFacade, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsFacade, decorators: [{
37
37
  type: Injectable
38
38
  }] });
39
39
 
@@ -62,33 +62,35 @@ class ListComponent {
62
62
  this.facade = inject(ObjectsFacade);
63
63
  this.list = this.facade.list;
64
64
  this.loading = this.facade.loading;
65
- this.itemTpl = contentChild('itemTpl', ...(ngDevMode ? [{ debugName: "itemTpl" }] : []));
66
- this.loadingTpl = contentChild('loadingTpl', ...(ngDevMode ? [{ debugName: "loadingTpl" }] : []));
65
+ this.itemTpl = contentChild('itemTpl', /* @ts-ignore */
66
+ ...(ngDevMode ? [{ debugName: "itemTpl" }] : /* istanbul ignore next */ []));
67
+ this.loadingTpl = contentChild('loadingTpl', /* @ts-ignore */
68
+ ...(ngDevMode ? [{ debugName: "loadingTpl" }] : /* istanbul ignore next */ []));
67
69
  }
68
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
69
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ListComponent, isStandalone: true, selector: "smart-mobilems-objects-list", queries: [{ propertyName: "itemTpl", first: true, predicate: ["itemTpl"], descendants: true, isSignal: true }, { propertyName: "loadingTpl", first: true, predicate: ["loadingTpl"], descendants: true, isSignal: true }], ngImport: i0, template: "@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", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
70
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
71
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ListComponent, isStandalone: true, selector: "smart-mobilems-objects-list", queries: [{ propertyName: "itemTpl", first: true, predicate: ["itemTpl"], descendants: true, isSignal: true }, { propertyName: "loadingTpl", first: true, predicate: ["loadingTpl"], descendants: true, isSignal: true }], ngImport: i0, template: "@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", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
70
72
  }
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListComponent, decorators: [{
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListComponent, decorators: [{
72
74
  type: Component,
73
- args: [{ selector: 'smart-mobilems-objects-list', imports: [NgTemplateOutlet], template: "@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" }]
75
+ args: [{ selector: 'smart-mobilems-objects-list', changeDetection: ChangeDetectionStrategy.Eager, imports: [NgTemplateOutlet], template: "@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" }]
74
76
  }], propDecorators: { itemTpl: [{ type: i0.ContentChild, args: ['itemTpl', { isSignal: true }] }], loadingTpl: [{ type: i0.ContentChild, args: ['loadingTpl', { isSignal: true }] }] } });
75
77
 
76
78
  class FiltersComponent extends FiltersBaseComponent {
77
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FiltersComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
78
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: FiltersComponent, isStandalone: true, selector: "smart-mobilems-objects-filters", usesInheritance: true, ngImport: i0, template: "<ng-container\n *ngTemplateOutlet=\"contentTpl(); context: { $implicit: context }\"\n></ng-container>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
79
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FiltersComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
80
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.3", type: FiltersComponent, isStandalone: true, selector: "smart-mobilems-objects-filters", usesInheritance: true, ngImport: i0, template: "<ng-container\n *ngTemplateOutlet=\"contentTpl(); context: { $implicit: context }\"\n></ng-container>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
79
81
  }
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FiltersComponent, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FiltersComponent, decorators: [{
81
83
  type: Component,
82
- args: [{ selector: 'smart-mobilems-objects-filters', imports: [NgTemplateOutlet], template: "<ng-container\n *ngTemplateOutlet=\"contentTpl(); context: { $implicit: context }\"\n></ng-container>\n" }]
84
+ args: [{ selector: 'smart-mobilems-objects-filters', changeDetection: ChangeDetectionStrategy.Eager, imports: [NgTemplateOutlet], template: "<ng-container\n *ngTemplateOutlet=\"contentTpl(); context: { $implicit: context }\"\n></ng-container>\n" }]
83
85
  }] });
84
86
 
85
87
  const COMPONENTS = [FiltersComponent, ListComponent];
86
88
  class ComponentsModule {
87
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
88
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: ComponentsModule, imports: [CommonModule, FiltersComponent, ListComponent], exports: [FiltersComponent, ListComponent] }); }
89
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ComponentsModule, imports: [CommonModule] }); }
89
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
90
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.3", ngImport: i0, type: ComponentsModule, imports: [CommonModule, FiltersComponent, ListComponent], exports: [FiltersComponent, ListComponent] }); }
91
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ComponentsModule, imports: [CommonModule] }); }
90
92
  }
91
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ComponentsModule, decorators: [{
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ComponentsModule, decorators: [{
92
94
  type: NgModule,
93
95
  args: [{
94
96
  imports: [CommonModule, COMPONENTS],
@@ -124,11 +126,11 @@ class ObjectsModule {
124
126
  ],
125
127
  };
126
128
  }
127
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
128
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: ObjectsModule, imports: [SharedModule, ComponentsModule, CrudCoreModule], exports: [ComponentsModule] }); }
129
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsModule, providers: [...SERVICES, ObjectsFacade], imports: [SharedModule, ComponentsModule, CrudCoreModule, ComponentsModule] }); }
129
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
130
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.3", ngImport: i0, type: ObjectsModule, imports: [SharedModule, ComponentsModule, CrudCoreModule], exports: [ComponentsModule] }); }
131
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsModule, providers: [...SERVICES, ObjectsFacade], imports: [SharedModule, ComponentsModule, CrudCoreModule, ComponentsModule] }); }
130
132
  }
131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsModule, decorators: [{
133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsModule, decorators: [{
132
134
  type: NgModule,
133
135
  args: [{
134
136
  declarations: [],
@@ -158,11 +160,11 @@ class ObjectsSharedModule {
158
160
  ],
159
161
  };
160
162
  }
161
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
162
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: ObjectsSharedModule, imports: [SharedModule, ComponentsModule, CrudModule], exports: [ComponentsModule, CrudModule] }); }
163
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsSharedModule, providers: [...SERVICES, ObjectsFacade], imports: [SharedModule, ComponentsModule, CrudModule, ComponentsModule, CrudModule] }); }
163
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
164
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.3", ngImport: i0, type: ObjectsSharedModule, imports: [SharedModule, ComponentsModule, CrudModule], exports: [ComponentsModule, CrudModule] }); }
165
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsSharedModule, providers: [...SERVICES, ObjectsFacade], imports: [SharedModule, ComponentsModule, CrudModule, ComponentsModule, CrudModule] }); }
164
166
  }
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsSharedModule, decorators: [{
167
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsSharedModule, decorators: [{
166
168
  type: NgModule,
167
169
  args: [{
168
170
  declarations: [],
@@ -186,10 +188,10 @@ class ObjectsListComponent extends CrudListPageBaseComponent {
186
188
  this.loading = this.facade.loading;
187
189
  this.filter = this.facade.filter;
188
190
  }
189
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsListComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
190
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.1", type: ObjectsListComponent, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
191
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsListComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
192
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: ObjectsListComponent, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
191
193
  }
192
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsListComponent, decorators: [{
194
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsListComponent, decorators: [{
193
195
  type: Directive
194
196
  }] });
195
197
 
@@ -203,7 +205,8 @@ class ObjectsItemComponent extends CrudItemPageBaseComponent {
203
205
  this.facade = inject(ObjectsFacade);
204
206
  this.loading = this.facade.loading;
205
207
  this.item = this.facade.selected;
206
- this.isPdfDownloading = signal(false, ...(ngDevMode ? [{ debugName: "isPdfDownloading" }] : []));
208
+ this.isPdfDownloading = signal(false, /* @ts-ignore */
209
+ ...(ngDevMode ? [{ debugName: "isPdfDownloading" }] : /* istanbul ignore next */ []));
207
210
  effect(() => {
208
211
  const params = this.params();
209
212
  const id = params['id'];
@@ -227,10 +230,10 @@ class ObjectsItemComponent extends CrudItemPageBaseComponent {
227
230
  this.isPdfDownloading.set(false);
228
231
  }
229
232
  }
230
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
231
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.1", type: ObjectsItemComponent, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
233
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
234
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: ObjectsItemComponent, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
232
235
  }
233
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ObjectsItemComponent, decorators: [{
236
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ObjectsItemComponent, decorators: [{
234
237
  type: Directive
235
238
  }], ctorParameters: () => [] });
236
239
 
@@ -1 +1 @@
1
- {"version":3,"file":"smartsoft001-mobilems-objects-shell-angular.mjs","sources":["../../../../../../packages/objects/shell/angular/src/lib/services/objects/objects.service.ts","../../../../../../packages/objects/shell/angular/src/lib/+state/objects.facade.ts","../../../../../../packages/objects/shell/angular/src/lib/+state/objects.reducer.ts","../../../../../../packages/objects/shell/angular/src/lib/components/list/list.component.ts","../../../../../../packages/objects/shell/angular/src/lib/components/list/list.component.html","../../../../../../packages/objects/shell/angular/src/lib/components/filters/filters.component.ts","../../../../../../packages/objects/shell/angular/src/lib/components/filters/filters.component.html","../../../../../../packages/objects/shell/angular/src/lib/components/components.module.ts","../../../../../../packages/objects/shell/angular/src/lib/services/index.ts","../../../../../../packages/objects/shell/angular/src/lib/objects.module.ts","../../../../../../packages/objects/shell/angular/src/lib/objects-shared.module.ts","../../../../../../packages/objects/shell/angular/src/lib/+state/objects.selectors.ts","../../../../../../packages/objects/shell/angular/src/lib/pages/list/list.component.ts","../../../../../../packages/objects/shell/angular/src/lib/pages/item/item.component.ts","../../../../../../packages/objects/shell/angular/src/smartsoft001-mobilems-objects-shell-angular.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nimport { CrudBaseService } from '@smartsoft001-mobilems/angular';\nimport { MsObject } from '@smartsoft001-mobilems/objects-domain';\n\n@Injectable()\nexport class ObjectsService extends CrudBaseService<MsObject> {\n getUrlNameForDetails(): string {\n return 'object';\n }\n\n getUrlNameForList(): string {\n return 'Object';\n }\n}\n","import { inject, Injectable } from '@angular/core';\nimport { CrudFacade } from '@smartsoft001/crud-shell-angular';\n\nimport { MsObject } from '@smartsoft001-mobilems/objects-domain';\n\nimport { ObjectsService } from '../services/objects/objects.service';\n\n@Injectable()\nexport class ObjectsFacade extends CrudFacade<MsObject> {\n protected service = inject(ObjectsService);\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 { MsObject } from '@smartsoft001-mobilems/objects-domain';\n\n// import {objectsFacade} from \"./objects.facade\";\n\nexport type State = SmartState<MsObject>;\n\nexport const initialState = {\n ...smartInitialState,\n};\n\nconst objectsReducer = (state = initialState, action: any) => {\n switch (action.type) {\n //case objectsFacade.name + ' test':\n // return {\n // ...state,\n // loaded: false,\n // }\n\n default:\n return smartGetReducer('objects')(state, action);\n }\n};\n\nexport function getReducer() {\n return (state: any, action: Action) => {\n return objectsReducer(state, action);\n };\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { Component, TemplateRef, contentChild, inject } from '@angular/core';\n\nimport { ObjectsFacade } from '../../+state/objects.facade';\n\n@Component({\n selector: 'smart-mobilems-objects-list',\n templateUrl: './list.component.html',\n imports: [NgTemplateOutlet],\n})\nexport class ListComponent {\n private facade = inject(ObjectsFacade);\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 { MsObject } from '@smartsoft001-mobilems/objects-domain';\n\n@Component({\n selector: 'smart-mobilems-objects-filters',\n templateUrl: './filters.component.html',\n imports: [NgTemplateOutlet],\n})\nexport class FiltersComponent extends FiltersBaseComponent<MsObject> {}\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 { ObjectsService } from './objects/objects.service';\n\nexport * from './objects/objects.service';\n\nexport const SERVICES = [\n ObjectsService,\n {\n provide: CrudService,\n useClass: ObjectsService,\n },\n];\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { FILE_SERVICE_CONFIG, IFileServiceConfig } from '@smartsoft001/angular';\nimport {\n CrudConfig,\n CrudCoreModule,\n CrudFullConfig,\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 { ObjectsFacade } from './+state/objects.facade';\nimport { getReducer } from './+state/objects.reducer';\nimport { ComponentsModule } from './components';\nimport { SERVICES } from './services';\n\n@NgModule({\n declarations: [],\n providers: [...SERVICES, ObjectsFacade],\n imports: [SharedModule, ComponentsModule, CrudCoreModule],\n exports: [ComponentsModule],\n})\nexport class ObjectsModule {\n static forFeature<T extends IEntity<string>>(\n options: ICrudModuleOptionsWithoutRoutng<T>,\n ): ModuleWithProviders<ObjectsModule> {\n if (!options.config.reducerFactory)\n options.config.reducerFactory = getReducer;\n return {\n ngModule: ObjectsModule,\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 { ObjectsFacade } from './+state/objects.facade';\nimport { getReducer } from './+state/objects.reducer';\nimport { ComponentsModule } from './components';\nimport { SERVICES } from './services';\n\n@NgModule({\n declarations: [],\n providers: [...SERVICES, ObjectsFacade],\n imports: [SharedModule, ComponentsModule, CrudModule],\n exports: [ComponentsModule, CrudModule],\n})\nexport class ObjectsSharedModule {\n static forFeature<T extends IEntity<string>>(\n options: ICrudModuleOptionsWithoutRoutng<T>,\n ): ModuleWithProviders<ObjectsSharedModule> {\n if (!options.config.reducerFactory)\n options.config.reducerFactory = getReducer;\n return {\n ngModule: ObjectsSharedModule,\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 {\n createFeatureSelector,\n //createSelector\n} from '@ngrx/store';\n\nimport { State } from './objects.reducer';\n\nexport const getObjectsState = createFeatureSelector<State>('objects');\n\n//export const getobjectsTest = createSelector(\n// getobjectsState,\n// (state) => state.test\n//);\n","import { Directive, inject, Signal } from '@angular/core';\nimport { CrudListPageBaseComponent } from '@smartsoft001/crud-shell-angular';\n\nimport { MsObject } from '@smartsoft001-mobilems/objects-domain';\n\nimport { ObjectsFacade } from '../../+state';\n\n@Directive()\nexport abstract class ObjectsListComponent extends CrudListPageBaseComponent<MsObject> {\n protected readonly facade = inject(ObjectsFacade);\n\n list = this.facade.list as Signal<MsObject[]>;\n loading = this.facade.loading;\n filter = this.facade.filter;\n}\n","import { Directive, effect, inject, 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 { MsObject } from '@smartsoft001-mobilems/objects-domain';\n\nimport { ObjectsFacade } from '../../+state';\n\n@Directive()\nexport abstract class ObjectsItemComponent extends CrudItemPageBaseComponent<MsObject> {\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(ObjectsFacade);\n\n readonly loading = this.facade.loading;\n readonly item = this.facade.selected;\n readonly isPdfDownloading = signal(false);\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 async onDownload(): Promise<void> {\n this.isPdfDownloading.set(true);\n try {\n await this.facade.downloadPdf({\n id: this.item()?.id.toString() || '',\n title: this.item()?.title as string,\n });\n } catch (error) {\n console.error('PDF download failed:', error);\n } finally {\n this.isPdfDownloading.set(false);\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["smartInitialState","smartGetReducer"],"mappings":";;;;;;;;;;AAMM,MAAO,cAAe,SAAQ,eAAyB,CAAA;IAC3D,oBAAoB,GAAA;AAClB,QAAA,OAAO,QAAQ;IACjB;IAEA,iBAAiB,GAAA;AACf,QAAA,OAAO,QAAQ;IACjB;iIAPW,cAAc,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;qIAAd,cAAc,EAAA,CAAA,CAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B;;;ACGK,MAAO,aAAc,SAAQ,UAAoB,CAAA;AADvD,IAAA,WAAA,GAAA;;AAEY,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,cAAc,CAAC;AAK3C,IAAA;IAHC,MAAM,WAAW,CAAC,IAAmC,EAAA;AACnD,QAAA,MAAM,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC;IACrD;iIALW,aAAa,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;qIAAb,aAAa,EAAA,CAAA,CAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBADzB;;;ACMM,MAAM,YAAY,GAAG;AAC1B,IAAA,GAAGA,cAAiB;;AAGtB,MAAM,cAAc,GAAG,C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A,EAAA,CAAA,CAAA;qHAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBADzC;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"smartsoft001-mobilems-objects-shell-angular.mjs","sources":["../../../../../../packages/objects/shell/angular/src/lib/services/objects/objects.service.ts","../../../../../../packages/objects/shell/angular/src/lib/+state/objects.facade.ts","../../../../../../packages/objects/shell/angular/src/lib/+state/objects.reducer.ts","../../../../../../packages/objects/shell/angular/src/lib/components/list/list.component.ts","../../../../../../packages/objects/shell/angular/src/lib/components/list/list.component.html","../../../../../../packages/objects/shell/angular/src/lib/components/filters/filters.component.ts","../../../../../../packages/objects/shell/angular/src/lib/components/filters/filters.component.html","../../../../../../packages/objects/shell/angular/src/lib/components/components.module.ts","../../../../../../packages/objects/shell/angular/src/lib/services/index.ts","../../../../../../packages/objects/shell/angular/src/lib/objects.module.ts","../../../../../../packages/objects/shell/angular/src/lib/objects-shared.module.ts","../../../../../../packages/objects/shell/angular/src/lib/+state/objects.selectors.ts","../../../../../../packages/objects/shell/angular/src/lib/pages/list/list.component.ts","../../../../../../packages/objects/shell/angular/src/lib/pages/item/item.component.ts","../../../../../../packages/objects/shell/angular/src/smartsoft001-mobilems-objects-shell-angular.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nimport { CrudBaseService } from '@smartsoft001-mobilems/angular';\nimport { MsObject } from '@smartsoft001-mobilems/objects-domain';\n\n@Injectable()\nexport class ObjectsService extends CrudBaseService<MsObject> {\n getUrlNameForDetails(): string {\n return 'object';\n }\n\n getUrlNameForList(): string {\n return 'Object';\n }\n}\n","import { inject, Injectable } from '@angular/core';\nimport { CrudFacade } from '@smartsoft001/crud-shell-angular';\n\nimport { MsObject } from '@smartsoft001-mobilems/objects-domain';\n\nimport { ObjectsService } from '../services/objects/objects.service';\n\n@Injectable()\nexport class ObjectsFacade extends CrudFacade<MsObject> {\n protected service = inject(ObjectsService);\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 { MsObject } from '@smartsoft001-mobilems/objects-domain';\n\n// import {objectsFacade} from \"./objects.facade\";\n\nexport type State = SmartState<MsObject>;\n\nexport const initialState = {\n ...smartInitialState,\n};\n\nconst objectsReducer = (state = initialState, action: any) => {\n switch (action.type) {\n //case objectsFacade.name + ' test':\n // return {\n // ...state,\n // loaded: false,\n // }\n\n default:\n return smartGetReducer('objects')(state, action);\n }\n};\n\nexport function getReducer() {\n return (state: any, action: Action) => {\n return objectsReducer(state, action);\n };\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n TemplateRef,\n contentChild,\n inject,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\nimport { ObjectsFacade } from '../../+state/objects.facade';\n\n@Component({\n selector: 'smart-mobilems-objects-list',\n templateUrl: './list.component.html',\n changeDetection: ChangeDetectionStrategy.Eager,\n imports: [NgTemplateOutlet],\n})\nexport class ListComponent {\n private facade = inject(ObjectsFacade);\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, ChangeDetectionStrategy } from '@angular/core';\n\nimport { FiltersBaseComponent } from '@smartsoft001-mobilems/angular';\nimport { MsObject } from '@smartsoft001-mobilems/objects-domain';\n\n@Component({\n selector: 'smart-mobilems-objects-filters',\n templateUrl: './filters.component.html',\n changeDetection: ChangeDetectionStrategy.Eager,\n imports: [NgTemplateOutlet],\n})\nexport class FiltersComponent extends FiltersBaseComponent<MsObject> {}\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 { ObjectsService } from './objects/objects.service';\n\nexport * from './objects/objects.service';\n\nexport const SERVICES = [\n ObjectsService,\n {\n provide: CrudService,\n useClass: ObjectsService,\n },\n];\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { FILE_SERVICE_CONFIG, IFileServiceConfig } from '@smartsoft001/angular';\nimport {\n CrudConfig,\n CrudCoreModule,\n CrudFullConfig,\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 { ObjectsFacade } from './+state/objects.facade';\nimport { getReducer } from './+state/objects.reducer';\nimport { ComponentsModule } from './components';\nimport { SERVICES } from './services';\n\n@NgModule({\n declarations: [],\n providers: [...SERVICES, ObjectsFacade],\n imports: [SharedModule, ComponentsModule, CrudCoreModule],\n exports: [ComponentsModule],\n})\nexport class ObjectsModule {\n static forFeature<T extends IEntity<string>>(\n options: ICrudModuleOptionsWithoutRoutng<T>,\n ): ModuleWithProviders<ObjectsModule> {\n if (!options.config.reducerFactory)\n options.config.reducerFactory = getReducer;\n return {\n ngModule: ObjectsModule,\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 { ObjectsFacade } from './+state/objects.facade';\nimport { getReducer } from './+state/objects.reducer';\nimport { ComponentsModule } from './components';\nimport { SERVICES } from './services';\n\n@NgModule({\n declarations: [],\n providers: [...SERVICES, ObjectsFacade],\n imports: [SharedModule, ComponentsModule, CrudModule],\n exports: [ComponentsModule, CrudModule],\n})\nexport class ObjectsSharedModule {\n static forFeature<T extends IEntity<string>>(\n options: ICrudModuleOptionsWithoutRoutng<T>,\n ): ModuleWithProviders<ObjectsSharedModule> {\n if (!options.config.reducerFactory)\n options.config.reducerFactory = getReducer;\n return {\n ngModule: ObjectsSharedModule,\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 {\n createFeatureSelector,\n //createSelector\n} from '@ngrx/store';\n\nimport { State } from './objects.reducer';\n\nexport const getObjectsState = createFeatureSelector<State>('objects');\n\n//export const getobjectsTest = createSelector(\n// getobjectsState,\n// (state) => state.test\n//);\n","import { Directive, inject, Signal } from '@angular/core';\nimport { CrudListPageBaseComponent } from '@smartsoft001/crud-shell-angular';\n\nimport { MsObject } from '@smartsoft001-mobilems/objects-domain';\n\nimport { ObjectsFacade } from '../../+state';\n\n@Directive()\nexport abstract class ObjectsListComponent extends CrudListPageBaseComponent<MsObject> {\n protected readonly facade = inject(ObjectsFacade);\n\n list = this.facade.list as Signal<MsObject[]>;\n loading = this.facade.loading;\n filter = this.facade.filter;\n}\n","import { Directive, effect, inject, 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 { MsObject } from '@smartsoft001-mobilems/objects-domain';\n\nimport { ObjectsFacade } from '../../+state';\n\n@Directive()\nexport abstract class ObjectsItemComponent extends CrudItemPageBaseComponent<MsObject> {\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(ObjectsFacade);\n\n readonly loading = this.facade.loading;\n readonly item = this.facade.selected;\n readonly isPdfDownloading = signal(false);\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 async onDownload(): Promise<void> {\n this.isPdfDownloading.set(true);\n try {\n await this.facade.downloadPdf({\n id: this.item()?.id.toString() || '',\n title: this.item()?.title as string,\n });\n } catch (error) {\n console.error('PDF download failed:', error);\n } finally {\n this.isPdfDownloading.set(false);\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["smartInitialState","smartGetReducer"],"mappings":";;;;;;;;;;AAMM,MAAO,cAAe,SAAQ,eAAyB,CAAA;IAC3D,oBAAoB,GAAA;AAClB,QAA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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001-mobilems/objects-shell-angular",
3
- "version": "2.88.0",
3
+ "version": "2.89.0",
4
4
  "description": "This library was generated with [Nx](https://nx.dev).",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,6 +24,7 @@
24
24
  }
25
25
  },
26
26
  "sideEffects": false,
27
+ "type": "module",
27
28
  "dependencies": {
28
29
  "tslib": "^2.3.0"
29
30
  }