@ng-atomic/common 4.21.1 → 5.0.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.
Files changed (91) hide show
  1. package/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.d.ts +1 -1
  2. package/esm2020/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.mjs +3 -3
  3. package/esm2020/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.mjs +4 -4
  4. package/esm2020/pipes/data-accessor/data-accessor.pipe.mjs +3 -3
  5. package/esm2020/pipes/domain/domain.module.mjs +4 -4
  6. package/esm2020/pipes/domain/domain.pipe.mjs +3 -3
  7. package/esm2020/pipes/pagination/pagination.module.mjs +4 -4
  8. package/esm2020/pipes/pagination/pagination.pipe.mjs +3 -3
  9. package/esm2020/pipes/smart-exp/smart-exp.module.mjs +4 -4
  10. package/esm2020/pipes/smart-exp/smart-exp.pipe.mjs +3 -3
  11. package/esm2020/pipes/smart-field/smart-field.module.mjs +4 -4
  12. package/esm2020/pipes/smart-field/smart-field.pipe.mjs +3 -3
  13. package/esm2020/pipes/smart-sort-by/smart-sort-by.module.mjs +4 -4
  14. package/esm2020/pipes/smart-sort-by/smart-sort-by.pipe.mjs +3 -3
  15. package/esm2020/pipes/yen/yen.module.mjs +4 -4
  16. package/esm2020/pipes/yen/yen.pipe.mjs +3 -3
  17. package/esm2020/services/chips-manager/chips.manager.mjs +3 -3
  18. package/esm2020/services/loading/loading.service.mjs +3 -3
  19. package/esm2020/services/query-resolver/query-resolver.service.mjs +3 -3
  20. package/esm2020/services/snack-bar/snack-bar.module.mjs +6 -6
  21. package/esm2020/services/snack-bar/snack-bar.service.mjs +7 -7
  22. package/esm2020/stores/entities/entities.store.mjs +2 -2
  23. package/esm2020/stores/entity/entity.store.mjs +2 -2
  24. package/esm2020/stores/pagination/pagination.store.mjs +3 -3
  25. package/esm2020/stores/query/query.store.mjs +3 -3
  26. package/esm2020/stores/selection/selection.store.mjs +6 -6
  27. package/esm2020/stores/sort/sort.store.mjs +3 -3
  28. package/esm2020/utils/mat-dayjs-date/dayjs-date.module.mjs +8 -8
  29. package/esm2020/utils/page/page.mjs +1 -1
  30. package/fesm2015/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +7 -7
  31. package/fesm2015/ng-atomic-common-pipes-data-accessor.mjs +3 -3
  32. package/fesm2015/ng-atomic-common-pipes-domain.mjs +7 -7
  33. package/fesm2015/ng-atomic-common-pipes-pagination.mjs +7 -7
  34. package/fesm2015/ng-atomic-common-pipes-smart-exp.mjs +7 -7
  35. package/fesm2015/ng-atomic-common-pipes-smart-field.mjs +7 -7
  36. package/fesm2015/ng-atomic-common-pipes-smart-sort-by.mjs +7 -7
  37. package/fesm2015/ng-atomic-common-pipes-yen.mjs +7 -7
  38. package/fesm2015/ng-atomic-common-services-chips-manager.mjs +3 -3
  39. package/fesm2015/ng-atomic-common-services-loading.mjs +3 -3
  40. package/fesm2015/ng-atomic-common-services-query-resolver.mjs +3 -3
  41. package/fesm2015/ng-atomic-common-services-snack-bar.mjs +13 -13
  42. package/fesm2015/ng-atomic-common-services-snack-bar.mjs.map +1 -1
  43. package/fesm2015/ng-atomic-common-stores-entities.mjs +1 -1
  44. package/fesm2015/ng-atomic-common-stores-entities.mjs.map +1 -1
  45. package/fesm2015/ng-atomic-common-stores-entity.mjs +1 -1
  46. package/fesm2015/ng-atomic-common-stores-entity.mjs.map +1 -1
  47. package/fesm2015/ng-atomic-common-stores-pagination.mjs +3 -3
  48. package/fesm2015/ng-atomic-common-stores-query.mjs +3 -3
  49. package/fesm2015/ng-atomic-common-stores-selection.mjs +5 -5
  50. package/fesm2015/ng-atomic-common-stores-selection.mjs.map +1 -1
  51. package/fesm2015/ng-atomic-common-stores-sort.mjs +3 -3
  52. package/fesm2015/ng-atomic-common-utils-page.mjs.map +1 -1
  53. package/fesm2015/ng-atomic-common-utils.mjs +8 -8
  54. package/fesm2020/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +7 -7
  55. package/fesm2020/ng-atomic-common-pipes-data-accessor.mjs +3 -3
  56. package/fesm2020/ng-atomic-common-pipes-domain.mjs +7 -7
  57. package/fesm2020/ng-atomic-common-pipes-pagination.mjs +7 -7
  58. package/fesm2020/ng-atomic-common-pipes-smart-exp.mjs +7 -7
  59. package/fesm2020/ng-atomic-common-pipes-smart-field.mjs +7 -7
  60. package/fesm2020/ng-atomic-common-pipes-smart-sort-by.mjs +7 -7
  61. package/fesm2020/ng-atomic-common-pipes-yen.mjs +7 -7
  62. package/fesm2020/ng-atomic-common-services-chips-manager.mjs +3 -3
  63. package/fesm2020/ng-atomic-common-services-loading.mjs +3 -3
  64. package/fesm2020/ng-atomic-common-services-query-resolver.mjs +3 -3
  65. package/fesm2020/ng-atomic-common-services-snack-bar.mjs +13 -13
  66. package/fesm2020/ng-atomic-common-services-snack-bar.mjs.map +1 -1
  67. package/fesm2020/ng-atomic-common-stores-entities.mjs +1 -1
  68. package/fesm2020/ng-atomic-common-stores-entities.mjs.map +1 -1
  69. package/fesm2020/ng-atomic-common-stores-entity.mjs +1 -1
  70. package/fesm2020/ng-atomic-common-stores-entity.mjs.map +1 -1
  71. package/fesm2020/ng-atomic-common-stores-pagination.mjs +3 -3
  72. package/fesm2020/ng-atomic-common-stores-query.mjs +3 -3
  73. package/fesm2020/ng-atomic-common-stores-selection.mjs +5 -5
  74. package/fesm2020/ng-atomic-common-stores-selection.mjs.map +1 -1
  75. package/fesm2020/ng-atomic-common-stores-sort.mjs +3 -3
  76. package/fesm2020/ng-atomic-common-utils-page.mjs.map +1 -1
  77. package/fesm2020/ng-atomic-common-utils.mjs +8 -8
  78. package/models/action.d.ts +1 -1
  79. package/package.json +7 -4
  80. package/pipes/data-accessor/data-accessor.pipe.d.ts +1 -1
  81. package/pipes/domain/domain.pipe.d.ts +1 -1
  82. package/pipes/pagination/pagination.transformer.d.ts +1 -1
  83. package/pipes/smart-field/smart-field.pipe.d.ts +2 -2
  84. package/pipes/smart-sort-by/smart-sort-by.transformer.d.ts +1 -1
  85. package/services/loading/loading.service.d.ts +1 -1
  86. package/services/snack-bar/snack-bar.module.d.ts +2 -2
  87. package/services/snack-bar/snack-bar.service.d.ts +1 -1
  88. package/stores/entity/entity.store.d.ts +1 -1
  89. package/utils/compare-by-id/compare-by-id.d.ts +1 -1
  90. package/utils/page/page.d.ts +1 -1
  91. package/utils/smart-exp-transformer/smart-exp-transformer.d.ts +1 -1
@@ -5,16 +5,16 @@ import { MAT_DAYJS_DATE_FORMATS } from './dayjs-date.formats';
5
5
  import * as i0 from "@angular/core";
6
6
  export class DayjsDateModule {
7
7
  }
8
- DayjsDateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DayjsDateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- DayjsDateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: DayjsDateModule });
10
- DayjsDateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DayjsDateModule, providers: [
8
+ DayjsDateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DayjsDateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
+ DayjsDateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: DayjsDateModule });
10
+ DayjsDateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DayjsDateModule, providers: [
11
11
  {
12
12
  provide: DateAdapter,
13
13
  useClass: DayjsDateAdapter,
14
14
  deps: [MAT_DATE_LOCALE, MAT_DAYJS_DATE_ADAPTER_OPTIONS]
15
15
  },
16
16
  ] });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DayjsDateModule, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DayjsDateModule, decorators: [{
18
18
  type: NgModule,
19
19
  args: [{
20
20
  providers: [
@@ -28,10 +28,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
28
28
  }] });
29
29
  export class MatDayjsDateModule {
30
30
  }
31
- MatDayjsDateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: MatDayjsDateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
32
- MatDayjsDateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: MatDayjsDateModule, imports: [DayjsDateModule] });
33
- MatDayjsDateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: MatDayjsDateModule, providers: [{ provide: MAT_DATE_FORMATS, useValue: MAT_DAYJS_DATE_FORMATS }], imports: [DayjsDateModule] });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: MatDayjsDateModule, decorators: [{
31
+ MatDayjsDateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MatDayjsDateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
32
+ MatDayjsDateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: MatDayjsDateModule, imports: [DayjsDateModule] });
33
+ MatDayjsDateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MatDayjsDateModule, providers: [{ provide: MAT_DATE_FORMATS, useValue: MAT_DAYJS_DATE_FORMATS }], imports: [DayjsDateModule] });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MatDayjsDateModule, decorators: [{
35
35
  type: NgModule,
36
36
  args: [{
37
37
  imports: [DayjsDateModule],
@@ -17,4 +17,4 @@ export class Page {
17
17
  return Page.from({ ...this, ...obj });
18
18
  }
19
19
  }
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BuZy1hdG9taWMvY29tbW9uL3NyYy91dGlscy9wYWdlL3BhZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT0EsTUFBTSxPQUFPLElBQUk7SUFDZixNQUFNLENBQUMsSUFBSSxDQUFDLFFBQXVCLEVBQUU7UUFDbkMsT0FBTyxNQUFNLENBQUMsTUFBTSxDQUFDLElBQUksSUFBSSxFQUFFLEVBQUU7WUFDL0IsUUFBUSxFQUFFLEVBQUU7WUFDWixTQUFTLEVBQUUsQ0FBQztZQUNaLE1BQU0sRUFBRSxHQUFHO1lBQ1gsR0FBRyxLQUFLO1NBQ1QsQ0FBQyxDQUFDO0lBQ0wsQ0FBQztJQUVELElBQUksS0FBSztRQUNQLE9BQU8sSUFBSSxDQUFDLFNBQVMsR0FBRyxJQUFJLENBQUMsUUFBUSxDQUFDO0lBQ3hDLENBQUM7SUFFRCxJQUFJLEdBQUc7UUFDTCxPQUFPLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQyxJQUFJLENBQUMsU0FBUyxHQUFHLENBQUMsQ0FBQyxHQUFHLElBQUksQ0FBQyxRQUFRLEVBQUUsSUFBSSxDQUFDLE1BQU0sQ0FBQyxDQUFDO0lBQ3JFLENBQUM7SUFFRCxLQUFLLENBQUMsR0FBa0I7UUFDdEIsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUMsR0F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6ICdhc2MnIHwgJ2Rlc2MnO1xufVxuXG5leHBvcnQgY2xhc3MgUGFnZSB7XG4gIHN0YXRpYyBmcm9tKGV2ZW50OiBQYXJ0aWFsPFBhZ2U+ID0ge30pOiBQYWdlIHtcbiAgICByZXR1cm4gT2JqZWN0LmFzc2lnbihuZXcgUGFnZSgpLCB7XG4gICAgICBwYWdlU2l6ZTogNTAsXG4gICAgICBwYWdlSW5kZXg6IDAsXG4gICAgICBsZW5ndGg6IDEwMCxcbiAgICAgIC4uLmV2ZW50XG4gICAgfSk7XG4gIH1cblxuICBnZXQgc3RhcnQoKTogbnVtYmVyIHtcbiAgICByZXR1cm4gdGhpcy5wYWdlSW5kZXggKiB0aGlzLnBhZ2VTaXplO1xuICB9XG5cbiAgZ2V0IGVuZCgpOiBudW1iZXIge1xuICAgIHJldHVybiBNYXRoLm1pbigodGhpcy5wYWdlSW5kZXggKyAxKSAqIHRoaXMucGFnZVNpemUsIHRoaXMubGVuZ3RoKTtcbiAgfVxuXG4gIHBhdGNoKG9iajogUGFydGlhbDxQYWdlPik6IFBhZ2Uge1xuICAgIHJldHVybiBQYWdlLmZyb20oey4uLnRoaXMsIC4uLm9ian0pO1xuICB9XG59XG4iXX0=
@@ -12,9 +12,9 @@ class IosSafariScrollBuggyfillDirective {
12
12
  event.preventDefault();
13
13
  }
14
14
  }
15
- IosSafariScrollBuggyfillDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: IosSafariScrollBuggyfillDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
16
- IosSafariScrollBuggyfillDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: IosSafariScrollBuggyfillDirective, selector: "[iosSafariScrollBuggyfill]", host: { listeners: { "touchmove": "onTouchmove($event)" } }, ngImport: i0 });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: IosSafariScrollBuggyfillDirective, decorators: [{
15
+ IosSafariScrollBuggyfillDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: IosSafariScrollBuggyfillDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
16
+ IosSafariScrollBuggyfillDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: IosSafariScrollBuggyfillDirective, selector: "[iosSafariScrollBuggyfill]", host: { listeners: { "touchmove": "onTouchmove($event)" } }, ngImport: i0 });
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: IosSafariScrollBuggyfillDirective, decorators: [{
18
18
  type: Directive,
19
19
  args: [{
20
20
  selector: '[iosSafariScrollBuggyfill]'
@@ -26,10 +26,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
26
26
 
27
27
  class IosSafariScrollBuggyfillModule {
28
28
  }
29
- IosSafariScrollBuggyfillModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: IosSafariScrollBuggyfillModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
30
- IosSafariScrollBuggyfillModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: IosSafariScrollBuggyfillModule, declarations: [IosSafariScrollBuggyfillDirective], imports: [CommonModule], exports: [IosSafariScrollBuggyfillDirective] });
31
- IosSafariScrollBuggyfillModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: IosSafariScrollBuggyfillModule, imports: [CommonModule] });
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: IosSafariScrollBuggyfillModule, decorators: [{
29
+ IosSafariScrollBuggyfillModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: IosSafariScrollBuggyfillModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
30
+ IosSafariScrollBuggyfillModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: IosSafariScrollBuggyfillModule, declarations: [IosSafariScrollBuggyfillDirective], imports: [CommonModule], exports: [IosSafariScrollBuggyfillDirective] });
31
+ IosSafariScrollBuggyfillModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: IosSafariScrollBuggyfillModule, imports: [CommonModule] });
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: IosSafariScrollBuggyfillModule, decorators: [{
33
33
  type: NgModule,
34
34
  args: [{
35
35
  declarations: [
@@ -14,9 +14,9 @@ class DataAccessorPipe {
14
14
  return this.dataAccessor(data, key);
15
15
  }
16
16
  }
17
- DataAccessorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DataAccessorPipe, deps: [{ token: DATA_ACCESSOR, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
18
- DataAccessorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: DataAccessorPipe, isStandalone: true, name: "dataAccessor" });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DataAccessorPipe, decorators: [{
17
+ DataAccessorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DataAccessorPipe, deps: [{ token: DATA_ACCESSOR, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
18
+ DataAccessorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: DataAccessorPipe, isStandalone: true, name: "dataAccessor" });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DataAccessorPipe, decorators: [{
20
20
  type: Pipe,
21
21
  args: [{
22
22
  name: 'dataAccessor',
@@ -14,9 +14,9 @@ class DomainPipe {
14
14
  return (_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a[input]) !== null && _b !== void 0 ? _b : input;
15
15
  }
16
16
  }
17
- DomainPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DomainPipe, deps: [{ token: DOMAIN_LANG_MAP, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
18
- DomainPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: DomainPipe, name: "D" });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DomainPipe, decorators: [{
17
+ DomainPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DomainPipe, deps: [{ token: DOMAIN_LANG_MAP, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
18
+ DomainPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: DomainPipe, name: "D" });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DomainPipe, decorators: [{
20
20
  type: Pipe,
21
21
  args: [{
22
22
  name: 'D',
@@ -33,10 +33,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
33
33
 
34
34
  class DomainModule {
35
35
  }
36
- DomainModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DomainModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
37
- DomainModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: DomainModule, declarations: [DomainPipe], imports: [CommonModule], exports: [DomainPipe] });
38
- DomainModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DomainModule, imports: [CommonModule] });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DomainModule, decorators: [{
36
+ DomainModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DomainModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
37
+ DomainModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: DomainModule, declarations: [DomainPipe], imports: [CommonModule], exports: [DomainPipe] });
38
+ DomainModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DomainModule, imports: [CommonModule] });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DomainModule, decorators: [{
40
40
  type: NgModule,
41
41
  args: [{
42
42
  declarations: [
@@ -18,9 +18,9 @@ class PaginationPipe {
18
18
  return this.transformer(items, { key: sortKey, order: sortOrder, start, end });
19
19
  }
20
20
  }
21
- PaginationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: PaginationPipe, deps: [{ token: PAGINATION_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
22
- PaginationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: PaginationPipe, name: "pagination" });
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: PaginationPipe, decorators: [{
21
+ PaginationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PaginationPipe, deps: [{ token: PAGINATION_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
22
+ PaginationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: PaginationPipe, name: "pagination" });
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PaginationPipe, decorators: [{
24
24
  type: Pipe,
25
25
  args: [{
26
26
  name: 'pagination',
@@ -37,10 +37,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
37
37
 
38
38
  class PaginationModule {
39
39
  }
40
- PaginationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: PaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
41
- PaginationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: PaginationModule, declarations: [PaginationPipe], imports: [CommonModule], exports: [PaginationPipe] });
42
- PaginationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: PaginationModule, imports: [CommonModule] });
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: PaginationModule, decorators: [{
40
+ PaginationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
41
+ PaginationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: PaginationModule, declarations: [PaginationPipe], imports: [CommonModule], exports: [PaginationPipe] });
42
+ PaginationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PaginationModule, imports: [CommonModule] });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PaginationModule, decorators: [{
44
44
  type: NgModule,
45
45
  args: [{
46
46
  declarations: [
@@ -12,9 +12,9 @@ class SmartExpPipe {
12
12
  return this.transformer(input, key);
13
13
  }
14
14
  }
15
- SmartExpPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartExpPipe, deps: [{ token: SMART_EXP_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
16
- SmartExpPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: SmartExpPipe, name: "smartExp" });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartExpPipe, decorators: [{
15
+ SmartExpPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartExpPipe, deps: [{ token: SMART_EXP_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
16
+ SmartExpPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SmartExpPipe, name: "smartExp" });
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartExpPipe, decorators: [{
18
18
  type: Pipe,
19
19
  args: [{
20
20
  name: 'smartExp',
@@ -31,10 +31,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
31
31
 
32
32
  class SmartExpModule {
33
33
  }
34
- SmartExpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartExpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
35
- SmartExpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: SmartExpModule, declarations: [SmartExpPipe], exports: [SmartExpPipe] });
36
- SmartExpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartExpModule });
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartExpModule, decorators: [{
34
+ SmartExpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartExpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
35
+ SmartExpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SmartExpModule, declarations: [SmartExpPipe], exports: [SmartExpPipe] });
36
+ SmartExpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartExpModule });
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartExpModule, decorators: [{
38
38
  type: NgModule,
39
39
  args: [{
40
40
  declarations: [SmartExpPipe],
@@ -18,9 +18,9 @@ class SmartFieldPipe {
18
18
  return (_a = this.map[key]) !== null && _a !== void 0 ? _a : { type: 'input' };
19
19
  }
20
20
  }
21
- SmartFieldPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartFieldPipe, deps: [{ token: FORM_FIELD_MAP, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
22
- SmartFieldPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: SmartFieldPipe, name: "smartField" });
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartFieldPipe, decorators: [{
21
+ SmartFieldPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartFieldPipe, deps: [{ token: FORM_FIELD_MAP, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
22
+ SmartFieldPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SmartFieldPipe, name: "smartField" });
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartFieldPipe, decorators: [{
24
24
  type: Pipe,
25
25
  args: [{
26
26
  name: 'smartField',
@@ -37,10 +37,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
37
37
 
38
38
  class SmartFieldModule {
39
39
  }
40
- SmartFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
41
- SmartFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: SmartFieldModule, declarations: [SmartFieldPipe], imports: [CommonModule], exports: [SmartFieldPipe] });
42
- SmartFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartFieldModule, imports: [CommonModule] });
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartFieldModule, decorators: [{
40
+ SmartFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
41
+ SmartFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SmartFieldModule, declarations: [SmartFieldPipe], imports: [CommonModule], exports: [SmartFieldPipe] });
42
+ SmartFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartFieldModule, imports: [CommonModule] });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartFieldModule, decorators: [{
44
44
  type: NgModule,
45
45
  args: [{
46
46
  declarations: [
@@ -18,9 +18,9 @@ class SmartSortByPipe {
18
18
  return this.transformer(items, key, order);
19
19
  }
20
20
  }
21
- SmartSortByPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartSortByPipe, deps: [{ token: SMART_SORT_BY_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
22
- SmartSortByPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: SmartSortByPipe, name: "smartSortBy" });
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartSortByPipe, decorators: [{
21
+ SmartSortByPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartSortByPipe, deps: [{ token: SMART_SORT_BY_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
22
+ SmartSortByPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SmartSortByPipe, name: "smartSortBy" });
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartSortByPipe, decorators: [{
24
24
  type: Pipe,
25
25
  args: [{
26
26
  name: 'smartSortBy',
@@ -37,10 +37,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
37
37
 
38
38
  class SmartSortByModule {
39
39
  }
40
- SmartSortByModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartSortByModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
41
- SmartSortByModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: SmartSortByModule, declarations: [SmartSortByPipe], imports: [CommonModule], exports: [SmartSortByPipe] });
42
- SmartSortByModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartSortByModule, imports: [CommonModule] });
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartSortByModule, decorators: [{
40
+ SmartSortByModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartSortByModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
41
+ SmartSortByModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SmartSortByModule, declarations: [SmartSortByPipe], imports: [CommonModule], exports: [SmartSortByPipe] });
42
+ SmartSortByModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartSortByModule, imports: [CommonModule] });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartSortByModule, decorators: [{
44
44
  type: NgModule,
45
45
  args: [{
46
46
  declarations: [
@@ -8,9 +8,9 @@ class YenPipe {
8
8
  return yenTransform(value, _unit);
9
9
  }
10
10
  }
11
- YenPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: YenPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
12
- YenPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: YenPipe, name: "yen" });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: YenPipe, decorators: [{
11
+ YenPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: YenPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
12
+ YenPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: YenPipe, name: "yen" });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: YenPipe, decorators: [{
14
14
  type: Pipe,
15
15
  args: [{
16
16
  name: 'yen'
@@ -19,10 +19,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
19
19
 
20
20
  class YenModule {
21
21
  }
22
- YenModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: YenModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
23
- YenModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: YenModule, declarations: [YenPipe], imports: [CommonModule], exports: [YenPipe] });
24
- YenModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: YenModule, imports: [CommonModule] });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: YenModule, decorators: [{
22
+ YenModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: YenModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
23
+ YenModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: YenModule, declarations: [YenPipe], imports: [CommonModule], exports: [YenPipe] });
24
+ YenModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: YenModule, imports: [CommonModule] });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: YenModule, decorators: [{
26
26
  type: NgModule,
27
27
  args: [{
28
28
  declarations: [
@@ -22,9 +22,9 @@ class ChipsManager {
22
22
  return this._chips;
23
23
  }
24
24
  }
25
- ChipsManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ChipsManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
26
- ChipsManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ChipsManager });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ChipsManager, decorators: [{
25
+ ChipsManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ChipsManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
26
+ ChipsManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ChipsManager });
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ChipsManager, decorators: [{
28
28
  type: Injectable
29
29
  }] });
30
30
 
@@ -26,9 +26,9 @@ class LoadingService {
26
26
  callback(() => this.removeKey(key));
27
27
  }
28
28
  }
29
- LoadingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: LoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
30
- LoadingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: LoadingService, providedIn: 'root' });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: LoadingService, decorators: [{
29
+ LoadingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
30
+ LoadingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LoadingService, providedIn: 'root' });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LoadingService, decorators: [{
32
32
  type: Injectable,
33
33
  args: [{
34
34
  providedIn: 'root',
@@ -12,9 +12,9 @@ class QueryResolverService {
12
12
  return filterByQuery(items, queryString, dlm, this.transformer);
13
13
  }
14
14
  }
15
- QueryResolverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: QueryResolverService, deps: [{ token: SMART_EXP_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
16
- QueryResolverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: QueryResolverService, providedIn: 'root' });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: QueryResolverService, decorators: [{
15
+ QueryResolverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: QueryResolverService, deps: [{ token: SMART_EXP_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
16
+ QueryResolverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: QueryResolverService, providedIn: 'root' });
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: QueryResolverService, decorators: [{
18
18
  type: Injectable,
19
19
  args: [{
20
20
  providedIn: 'root'
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Injectable, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/material/snack-bar';
4
- import { MatSnackBarModule } from '@angular/material/snack-bar';
3
+ import * as i1 from '@angular/material/legacy-snack-bar';
4
+ import { MatLegacySnackBarModule } from '@angular/material/legacy-snack-bar';
5
5
  import { CommonModule } from '@angular/common';
6
6
 
7
7
  class SnackBarService {
@@ -14,29 +14,29 @@ class SnackBarService {
14
14
  });
15
15
  }
16
16
  }
17
- SnackBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SnackBarService, deps: [{ token: i1.MatSnackBar }], target: i0.ɵɵFactoryTarget.Injectable });
18
- SnackBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SnackBarService, providedIn: 'root' });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SnackBarService, decorators: [{
17
+ SnackBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SnackBarService, deps: [{ token: i1.MatLegacySnackBar }], target: i0.ɵɵFactoryTarget.Injectable });
18
+ SnackBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SnackBarService, providedIn: 'root' });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SnackBarService, decorators: [{
20
20
  type: Injectable,
21
21
  args: [{
22
22
  providedIn: 'root'
23
23
  }]
24
- }], ctorParameters: function () { return [{ type: i1.MatSnackBar }]; } });
24
+ }], ctorParameters: function () { return [{ type: i1.MatLegacySnackBar }]; } });
25
25
 
26
26
  class SnackBarModule {
27
27
  }
28
- SnackBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SnackBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
29
- SnackBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: SnackBarModule, imports: [CommonModule,
30
- MatSnackBarModule] });
31
- SnackBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SnackBarModule, imports: [CommonModule,
32
- MatSnackBarModule] });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SnackBarModule, decorators: [{
28
+ SnackBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SnackBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
29
+ SnackBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SnackBarModule, imports: [CommonModule,
30
+ MatLegacySnackBarModule] });
31
+ SnackBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SnackBarModule, imports: [CommonModule,
32
+ MatLegacySnackBarModule] });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SnackBarModule, decorators: [{
34
34
  type: NgModule,
35
35
  args: [{
36
36
  declarations: [],
37
37
  imports: [
38
38
  CommonModule,
39
- MatSnackBarModule
39
+ MatLegacySnackBarModule
40
40
  ]
41
41
  }]
42
42
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-common-services-snack-bar.mjs","sources":["../../../../../packages/@ng-atomic/common/src/services/snack-bar/snack-bar.service.ts","../../../../../packages/@ng-atomic/common/src/services/snack-bar/snack-bar.module.ts","../../../../../packages/@ng-atomic/common/src/services/snack-bar/ng-atomic-common-services-snack-bar.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { MatSnackBar } from '@angular/material/snack-bar';\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class SnackBarService {\n\n constructor(private snackBar: MatSnackBar) {}\n\n openSnackBar(message: string, action?: string) {\n this.snackBar.open(message, action, {\n duration: 2000,\n });\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\n\n@NgModule({\n declarations: [],\n imports: [\n CommonModule,\n MatSnackBarModule\n ]\n})\nexport class SnackBarModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAOa,eAAe,CAAA;AAE1B,IAAA,WAAA,CAAoB,QAAqB,EAAA;AAArB,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAa;KAAI;IAE7C,YAAY,CAAC,OAAe,EAAE,MAAe,EAAA;QAC3C,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE;AAClC,YAAA,QAAQ,EAAE,IAAI;AACf,SAAA,CAAC,CAAC;KACJ;;4GARU,eAAe,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,cAFd,MAAM,EAAA,CAAA,CAAA;2FAEP,eAAe,EAAA,UAAA,EAAA,CAAA;kBAH3B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;iBACnB,CAAA;;;MCMY,cAAc,CAAA;;2GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAJvB,YAAY;QACZ,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAGR,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAJvB,YAAY;QACZ,iBAAiB,CAAA,EAAA,CAAA,CAAA;2FAGR,cAAc,EAAA,UAAA,EAAA,CAAA;kBAP1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,iBAAiB;AAClB,qBAAA;iBACF,CAAA;;;ACXD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-common-services-snack-bar.mjs","sources":["../../../../../packages/@ng-atomic/common/src/services/snack-bar/snack-bar.service.ts","../../../../../packages/@ng-atomic/common/src/services/snack-bar/snack-bar.module.ts","../../../../../packages/@ng-atomic/common/src/services/snack-bar/ng-atomic-common-services-snack-bar.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class SnackBarService {\n\n constructor(private snackBar: MatSnackBar) {}\n\n openSnackBar(message: string, action?: string) {\n this.snackBar.open(message, action, {\n duration: 2000,\n });\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { MatLegacySnackBarModule as MatSnackBarModule } from '@angular/material/legacy-snack-bar';\n\n@NgModule({\n declarations: [],\n imports: [\n CommonModule,\n MatSnackBarModule\n ]\n})\nexport class SnackBarModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["MatSnackBarModule"],"mappings":";;;;;;MAOa,eAAe,CAAA;AAE1B,IAAA,WAAA,CAAoB,QA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FAGR,cAAc,EAAA,UAAA,EAAA,CAAA;kBAP1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZA,uBAAiB;AAClB,qBAAA;iBACF,CAAA;;;ACXD;;AAEG;;;;"}
@@ -7,6 +7,7 @@ const distinctUntilChangedArray = () => {
7
7
  return distinctUntilChanged((pre, cur) => JSON.stringify(pre) === JSON.stringify(cur));
8
8
  };
9
9
  class EntitiesStore extends ComponentStore {
10
+ get entities() { return this.get().entities; }
10
11
  constructor(initialState) {
11
12
  super(initialState);
12
13
  this.refresh$ = new ReplaySubject(1);
@@ -14,7 +15,6 @@ class EntitiesStore extends ComponentStore {
14
15
  this.setEntities = this.updater((state, entities) => (Object.assign(Object.assign({}, state), { entities })));
15
16
  this.refresh();
16
17
  }
17
- get entities() { return this.get().entities; }
18
18
  refresh() {
19
19
  this.refresh$.next();
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-common-stores-entities.mjs","sources":["../../../../../packages/@ng-atomic/common/src/stores/entities/entities.store.ts","../../../../../packages/@ng-atomic/common/src/stores/entities/ng-atomic-common-stores-entities.ts"],"sourcesContent":["import { ComponentStore } from '@ngrx/component-store';\nimport { compareById } from '@ng-atomic/common/utils';\nimport { Observable, ReplaySubject } from 'rxjs';\nimport { distinctUntilChanged, tap, filter, switchMap } from 'rxjs/operators';\n\nexport interface EntitiesState<E> {\n entities: E[]\n}\n\nexport const distinctUntilChangedArray = <T>() => {\n return distinctUntilChanged<T>((pre, cur) => JSON.stringify(pre) === JSON.stringify(cur));\n};\n\nexport abstract class EntitiesStore<S extends EntitiesState<E>, E extends {id: string}> extends ComponentStore<S> {\n protected readonly refresh$ = new ReplaySubject<void>(1);\n\n get entities() { return this.get().entities; }\n\n entities$ = this.select(({entities}) => entities ? entities.sort(compareById) : []);\n \n constructor(initialState: S) {\n super(initialState);\n this.refresh();\n }\n\n setEntities = this.updater((state, entities: E[]) => ({...state, entities}));\n\n abstract getEntities: ReturnType<typeof this.effect>;\n\n refresh() {\n this.refresh$.next();\n }\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AASO,MAAM,yBAAyB,GAAG,MAAQ;IAC/C,OAAO,oBAAoB,CAAI,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AAC5F,EAAE;AAEI,MAAgB,aAAkE,SAAQ,cAAiB,CAAA;AAO/G,IAAA,WAAA,CAAY,YAAe,EAAA;QACzB,KAAK,CAAC,YAAY,CAAC,CAAC;QAPH,IAAA,CAAA,QAAQ,GAAG,IAAI,aAAa,CAAO,CAAC,CAAC,CAAC;AAIzD,QAAA,IAAS,CAAA,SAAA,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,EAAC,QAAQ,EAAC,KAAK,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC;QAOpF,IAAW,CAAA,WAAA,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,QAAa,MAAU,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,KAAK,KAAE,QAAQ,EAAA,CAAA,CAAE,CAAC,CAAC;QAH3E,IAAI,CAAC,OAAO,EAAE,CAAC;KAChB;IAPD,IAAI,QAAQ,GAAK,EAAA,OAAO,IAAI,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,EAAE;IAa9C,OAAO,GAAA;AACL,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;KACtB;AACF;;AChCD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-common-stores-entities.mjs","sources":["../../../../../packages/@ng-atomic/common/src/stores/entities/entities.store.ts","../../../../../packages/@ng-atomic/common/src/stores/entities/ng-atomic-common-stores-entities.ts"],"sourcesContent":["import { ComponentStore } from '@ngrx/component-store';\nimport { compareById } from '@ng-atomic/common/utils';\nimport { Observable, ReplaySubject } from 'rxjs';\nimport { distinctUntilChanged, tap, filter, switchMap } from 'rxjs/operators';\n\nexport interface EntitiesState<E> {\n entities: E[]\n}\n\nexport const distinctUntilChangedArray = <T>() => {\n return distinctUntilChanged<T>((pre, cur) => JSON.stringify(pre) === JSON.stringify(cur));\n};\n\nexport abstract class EntitiesStore<S extends EntitiesState<E>, E extends {id: string}> extends ComponentStore<S> {\n protected readonly refresh$ = new ReplaySubject<void>(1);\n\n get entities() { return this.get().entities; }\n\n entities$ = this.select(({entities}) => entities ? entities.sort(compareById) : []);\n \n constructor(initialState: S) {\n super(initialState);\n this.refresh();\n }\n\n setEntities = this.updater((state, entities: E[]) => ({...state, entities}));\n\n abstract getEntities: ReturnType<typeof this.effect>;\n\n refresh() {\n this.refresh$.next();\n }\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AASO,MAAM,yBAAyB,GAAG,MAAQ;IAC/C,OAAO,oBAAoB,CAAI,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AAC5F,EAAE;AAEI,MAAgB,aAAkE,SAAQ,cAAiB,CAAA;IAG/G,IAAI,QAAQ,GAAK,EAAA,OAAO,IAAI,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,EAAE;AAI9C,IAAA,WAAA,CAAY,YAAe,EAAA;QACzB,KAAK,CAAC,YAAY,CAAC,CAAC;QAPH,IAAA,CAAA,QAAQ,GAAG,IAAI,aAAa,CAAO,CAAC,CAAC,CAAC;AAIzD,QAAA,IAAS,CAAA,SAAA,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,EAAC,QAAQ,EAAC,KAAK,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC;QAOpF,IAAW,CAAA,WAAA,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,QAAa,MAAU,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,KAAK,KAAE,QAAQ,EAAA,CAAA,CAAE,CAAC,CAAC;QAH3E,IAAI,CAAC,OAAO,EAAE,CAAC;KAChB;IAMD,OAAO,GAAA;AACL,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;KACtB;AACF;;AChCD;;AAEG;;;;"}
@@ -11,6 +11,7 @@ const tryCatch = (promise) => new Promise((resolve, reject) => __awaiter(void 0,
11
11
  }
12
12
  }));
13
13
  class EntityStore extends ComponentStore {
14
+ get entity() { return this.get().entity; }
14
15
  constructor(initialState) {
15
16
  super(initialState);
16
17
  this.mode$ = this.select(state => state.mode);
@@ -23,7 +24,6 @@ class EntityStore extends ComponentStore {
23
24
  this.getEntity = this.effect((entityId$) => entityId$.pipe(switchMap(id => this._getEntity(id)), tap((entity) => this.setEntity(entity))));
24
25
  this.getEntity(this.entityId$);
25
26
  }
26
- get entity() { return this.get().entity; }
27
27
  createEntity(value) {
28
28
  const entity = (Object.assign(Object.assign({}, this.entity), value));
29
29
  return tryCatch(this._createEntity(entity));
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-common-stores-entity.mjs","sources":["../../../../../packages/@ng-atomic/common/src/stores/entity/entity.store.ts","../../../../../packages/@ng-atomic/common/src/stores/entity/ng-atomic-common-stores-entity.ts"],"sourcesContent":["import { ComponentStore } from '@ngrx/component-store';\nimport { Observable } from 'rxjs';\nimport { filter, switchMap, tap } from 'rxjs/operators';\n\nexport type Mode = 'create' | 'update'\n\nexport interface EntityState<Entity> {\n mode: Mode;\n entityId: string;\n entity: Entity;\n}\n\nexport const tryCatch = (promise: Promise<any>) => new Promise(async (resolve, reject) => {\n try { resolve(await promise); } catch (error) { reject(error); }\n});\n\nexport abstract class EntityStore<S extends EntityState<Entity>, Entity> extends ComponentStore<S> {\n get entity() { return this.get().entity}\n\n mode$ = this.select(state => state.mode);\n entityId$ = this.select(state => state.entityId).pipe(filter(id => !!id));\n entity$ = this.select(state => state.entity);\n\n setMode = this.updater((state, mode: Mode) => ({...state, mode}));\n setEntityId = this.updater((state, entityId: string) => ({...state, entityId}));\n setEntity = this.updater((state, entity: Entity) => ({...state, entity}));\n\n constructor(initialState?: S) {\n super(initialState);\n this.getEntity(this.entityId$);\n }\n\n getEntityIdAndMode = this.effect((entityId$: Observable<string>) => entityId$.pipe(\n tap(id => this.setMode(id === 'new' ? 'create' : 'update')),\n filter(id => id !== 'new'),\n tap((id: string) => this.setEntityId(id)),\n ));\n\n getEntity = this.effect((entityId$: Observable<string>) => entityId$.pipe(\n switchMap(id => this._getEntity(id)),\n tap((entity: Entity) => this.setEntity(entity)),\n ));\n\n createEntity(value: Partial<Entity>) {\n const entity: Entity = ({...this.entity, ...value});\n return tryCatch(this._createEntity(entity));\n }\n\n updateEntity(value: Partial<Entity>) {\n const entity: Entity = ({...this.entity, ...value});\n return this._updateEntity(entity)\n }\n\n abstract _getEntity(idOrParams: string): Observable<Entity>;\n abstract _createEntity(entity: Entity): Promise<Entity>;\n abstract _updateEntity(entity: Entity): Promise<void>;\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAYa,MAAA,QAAQ,GAAG,CAAC,OAAqB,KAAK,IAAI,OAAO,CAAC,CAAO,OAAO,EAAE,MAAM,KAAI,SAAA,CAAA,KAAA,CAAA,EAAA,KAAA,CAAA,EAAA,KAAA,CAAA,EAAA,aAAA;IACvF,IAAI;AAAE,QAAA,OAAO,CAAC,MAAM,OAAO,CAAC,CAAC;AAAE,KAAA;AAAC,IAAA,OAAO,KAAK,EAAE;QAAE,MAAM,CAAC,KAAK,CAAC,CAAC;AAAE,KA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../../../../../packages/@ng-atomic/common/src/stores/entity/entity.store.ts","../../../../../packages/@ng-atomic/common/src/stores/entity/ng-atomic-common-stores-entity.ts"],"sourcesContent":["import { ComponentStore } from '@ngrx/component-store';\nimport { Observable } from 'rxjs';\nimport { filter, switchMap, tap } from 'rxjs/operators';\n\nexport type Mode = 'create' | 'update'\n\nexport interface EntityState<Entity> {\n mode: Mode;\n entityId: string;\n entity: Entity;\n}\n\nexport const tryCatch = (promise: Promise<any>) => new Promise(async (resolve, reject) => {\n try { resolve(await promise); } catch (error) { reject(error); }\n});\n\nexport abstract class EntityStore<S extends EntityState<Entity>, Entity> extends ComponentStore<S> {\n get entity() { return this.get().entity}\n\n mode$ = this.select(state => state.mode);\n entityId$ = this.select(state => state.entityId).pipe(filter(id => !!id));\n entity$ = this.select(state => state.entity);\n\n setMode = this.updater((state, mode: Mode) => ({...state, mode}));\n setEntityId = this.updater((state, entityId: string) => ({...state, entityId}));\n setEntity = this.updater((state, entity: Entity) => ({...state, entity}));\n\n constructor(initialState?: S) {\n super(initialState);\n this.getEntity(this.entityId$);\n }\n\n getEntityIdAndMode = this.effect((entityId$: Observable<string>) => entityId$.pipe(\n tap(id => this.setMode(id === 'new' ? 'create' : 'update')),\n filter(id => id !== 'new'),\n tap((id: string) => this.setEntityId(id)),\n ));\n\n getEntity = this.effect((entityId$: Observable<string>) => entityId$.pipe(\n switchMap(id => this._getEntity(id)),\n tap((entity: Entity) => this.setEntity(entity)),\n ));\n\n createEntity(value: Partial<Entity>) {\n const entity: Entity = ({...this.entity, ...value});\n return tryCatch(this._createEntity(entity));\n }\n\n updateEntity(value: Partial<Entity>) {\n const entity: Entity = ({...this.entity, ...value});\n return this._updateEntity(entity)\n }\n\n abstract _getEntity(idOrParams: string): Observable<Entity>;\n abstract _createEntity(entity: Entity): Promise<Entity>;\n abstract _updateEntity(entity: Entity): Promise<void>;\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AA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A,YAAY,CAAC,KAAsB,EAAA;QACjC,MAAM,MAAM,IAAgB,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,IAAI,CAAC,MAAM,CAAA,EAAK,KAAK,CAAA,CAAE,CAAC;AACpD,QAAA,OAAO,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAA;KAClC;AAMF;;ACzDD;;AAEG;;;;"}
@@ -16,9 +16,9 @@ class PaginationStore extends ComponentStore {
16
16
  get start() { return this.page.start; }
17
17
  get end() { return this.page.end; }
18
18
  }
19
- PaginationStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: PaginationStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
20
- PaginationStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: PaginationStore });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: PaginationStore, decorators: [{
19
+ PaginationStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PaginationStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
20
+ PaginationStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PaginationStore });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PaginationStore, decorators: [{
22
22
  type: Injectable
23
23
  }], ctorParameters: function () { return []; } });
24
24
 
@@ -19,9 +19,9 @@ class QueryStore extends ComponentStore {
19
19
  return this.queryResolver.resolve(entities, this.query, this.langMap);
20
20
  }
21
21
  }
22
- QueryStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: QueryStore, deps: [{ token: i1.QueryResolverService }, { token: DOMAIN_LANG_MAP, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
23
- QueryStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: QueryStore });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: QueryStore, decorators: [{
22
+ QueryStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: QueryStore, deps: [{ token: i1.QueryResolverService }, { token: DOMAIN_LANG_MAP, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
23
+ QueryStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: QueryStore });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: QueryStore, decorators: [{
25
25
  type: Injectable
26
26
  }], ctorParameters: function () {
27
27
  return [{ type: i1.QueryResolverService }, { type: undefined, decorators: [{
@@ -3,6 +3,8 @@ import { Injectable } from '@angular/core';
3
3
  import { ComponentStore } from '@ngrx/component-store';
4
4
 
5
5
  class SelectionStore extends ComponentStore {
6
+ get idSet() { return this.get(state => state.idSet); }
7
+ get initialIdSet() { return this.get(state => state.initialIdSet); }
6
8
  constructor() {
7
9
  super({ idSet: new Set(), initialIdSet: null });
8
10
  this.setIdSet = this.updater((state, idSet) => (Object.assign(Object.assign({}, state), { idSet })));
@@ -12,8 +14,6 @@ class SelectionStore extends ComponentStore {
12
14
  this.removeId = (id) => this.setIdSet(new Set([...this.idSet].filter(_id => _id !== id)));
13
15
  this.toggleId = (id) => this.idSet.has(id) ? this.removeId(id) : this.addId(id);
14
16
  }
15
- get idSet() { return this.get(state => state.idSet); }
16
- get initialIdSet() { return this.get(state => state.initialIdSet); }
17
17
  getSelectedAndUnselected() {
18
18
  const unselectedIdSet = new Set([...this.initialIdSet].filter(id => !this.idSet.has(id)));
19
19
  return [this.idSet, unselectedIdSet];
@@ -22,9 +22,9 @@ class SelectionStore extends ComponentStore {
22
22
  return entities.filter(({ id }) => this.idSet.has(id));
23
23
  }
24
24
  }
25
- SelectionStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SelectionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
26
- SelectionStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SelectionStore });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SelectionStore, decorators: [{
25
+ SelectionStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SelectionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
26
+ SelectionStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SelectionStore });
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SelectionStore, decorators: [{
28
28
  type: Injectable
29
29
  }], ctorParameters: function () { return []; } });
30
30
 
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-common-stores-selection.mjs","sources":["../../../../../packages/@ng-atomic/common/src/stores/selection/selection.store.ts","../../../../../packages/@ng-atomic/common/src/stores/selection/ng-atomic-common-stores-selection.ts"],"sourcesContent":["import { Injectable } from \"@angular/core\";\nimport { ComponentStore } from \"@ngrx/component-store\";\n\nexport interface SelectionState {\n idSet: Set<string>;\n initialIdSet: Set<string> | null;\n\n}\n\n@Injectable()\nexport class SelectionStore extends ComponentStore<SelectionState> {\n get idSet(): Set<string> { return this.get(state => state.idSet); }\n get initialIdSet(): Set<string> { return this.get(state => state.initialIdSet); }\n\n constructor() {\n super({idSet: new Set(), initialIdSet: null});\n }\n\n setIdSet = this.updater((state, idSet: Set<string>) => ({...state, idSet}));\n setInitialIdSet = this.updater((state, initialIdSet: Set<string>) => ({...state, initialIdSet}));\n\n addIds = (ids: string[]) => this.setIdSet(new Set([...this.idSet, ...ids]));\n addId = (id: string) => this.addIds([id]);\n \n removeId = (id: string) => this.setIdSet(new Set([...this.idSet].filter(_id => _id !== id)));\n toggleId = (id: string) => this.idSet.has(id) ? this.removeId(id) : this.addId(id);\n\n getSelectedAndUnselected(): [Set<string>, Set<string>] {\n const unselectedIdSet = new Set([...this.initialIdSet].filter(id => !this.idSet.has(id)));\n return [this.idSet, unselectedIdSet];\n }\n\n filterBySelectedIds<E extends {id: string}>(entities: E[]): E[] {\n return entities.filter(({id}) => this.idSet.has(id));\n }\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAUM,MAAO,cAAe,SAAQ,cAA8B,CAAA;AAIhE,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,CAAC,EAAC,KAAK,EAAE,IAAI,GAAG,EAAE,EAAE,YAAY,EAAE,IAAI,EAAC,CAAC,CAAC;QAGhD,IAAQ,CAAA,QAAA,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,KAAkB,MAAU,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,KAAK,KAAE,KAAK,EAAA,CAAA,CAAE,CAAC,CAAC;QAC5E,IAAe,CAAA,eAAA,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,YAAyB,MAAU,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,KAAK,KAAE,YAAY,EAAA,CAAA,CAAE,CAAC,CAAC;QAEjG,IAAM,CAAA,MAAA,GAAG,CAAC,GAAa,KAAK,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,EAAE,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;AAC5E,QAAA,IAAA,CAAA,KAAK,GAAG,CAAC,EAAU,KAAK,IA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EAAA,CAAA,CAAA;+GAAd,cAAc,EAAA,CAAA,CAAA;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,UAAU;;;ACTX;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-common-stores-selection.mjs","sources":["../../../../../packages/@ng-atomic/common/src/stores/selection/selection.store.ts","../../../../../packages/@ng-atomic/common/src/stores/selection/ng-atomic-common-stores-selection.ts"],"sourcesContent":["import { Injectable } from \"@angular/core\";\nimport { ComponentStore } from \"@ngrx/component-store\";\n\nexport interface SelectionState {\n idSet: Set<string>;\n initialIdSet: Set<string> | null;\n\n}\n\n@Injectable()\nexport class SelectionStore extends ComponentStore<SelectionState> {\n get idSet(): Set<string> { return this.get(state => state.idSet); }\n get initialIdSet(): Set<string> { return this.get(state => state.initialIdSet); }\n\n constructor() {\n super({idSet: new Set(), initialIdSet: null});\n }\n\n setIdSet = this.updater((state, idSet: Set<string>) => ({...state, idSet}));\n setInitialIdSet = this.updater((state, initialIdSet: Set<string>) => ({...state, initialIdSet}));\n\n addIds = (ids: string[]) => this.setIdSet(new Set([...this.idSet, ...ids]));\n addId = (id: string) => this.addIds([id]);\n \n removeId = (id: string) => this.setIdSet(new Set([...this.idSet].filter(_id => _id !== id)));\n toggleId = (id: string) => this.idSet.has(id) ? this.removeId(id) : this.addId(id);\n\n getSelectedAndUnselected(): [Set<string>, Set<string>] {\n const unselectedIdSet = new Set([...this.initialIdSet].filter(id => !this.idSet.has(id)));\n return [this.idSet, unselectedIdSet];\n }\n\n filterBySelectedIds<E extends {id: string}>(entities: E[]): E[] {\n return entities.filter(({id}) => this.idSet.has(id));\n }\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAUM,MAAO,cAAe,SAAQ,cAA8B,CAAA;AAChE,IAAA,IAAI,KAAK,GAAkB,EAAA,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE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,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;KATnF;IAWD,wBAAwB,GAAA;AACtB,QAAA,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAC1F,QAAA,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC;KACtC;AAED,IAAA,mBAAmB,CAAyB,QAAa,EAAA;QACvD,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAC,EAAE,EAAC,KAAK,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;KACtD;;2GAxBU,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;+GAAd,cAAc,EAAA,CAAA,CAAA;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,UAAU;;;ACTX;;AAEG;;;;"}
@@ -21,9 +21,9 @@ class SortStore extends ComponentStore {
21
21
  this.setOrder(order);
22
22
  }
23
23
  }
24
- SortStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SortStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
25
- SortStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SortStore });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SortStore, decorators: [{
24
+ SortStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SortStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
25
+ SortStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SortStore });
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SortStore, decorators: [{
27
27
  type: Injectable
28
28
  }], ctorParameters: function () { return []; } });
29
29
 
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-common-utils-page.mjs","sources":["../../../../../packages/@ng-atomic/common/src/utils/page/page.ts","../../../../../packages/@ng-atomic/common/src/utils/page/ng-atomic-common-utils-page.ts"],"sourcesContent":["import { PageEvent } from '@angular/material/paginator';\n\nexport interface Page extends PageEvent {\n sortKey: string;\n sortOrder: 'asc' | 'desc';\n}\n\nexport class Page {\n static from(event: Partial<Page> = {}): Page {\n return Object.assign(new Page(), {\n pageSize: 50,\n pageIndex: 0,\n length: 100,\n ...event\n });\n }\n\n get start(): number {\n return this.pageIndex * this.pageSize;\n }\n\n get end(): number {\n return Math.min((this.pageIndex + 1) * this.pageSize, this.length);\n }\n\n patch(obj: Partial<Page>): Page {\n return Page.from({...this, ...obj});\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"MAOa,IAAI,CAAA;AACf,IAAA,OAAO,IAAI,CAAC,KAAA,GAAuB,EAAE,EAAA;QACnC,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,EAC7B,MAAA,CAAA,MAAA,CAAA,EAAA,QAAQ,EAAE,EAAE,EACZ,SAAS,EAAE,CAAC,EACZ,MAAM,EAAE,GAAG,EAAA,EACR,KAAK,CAAA,CACR,CAAC;KACJ;AAED,IAAA,IAAI,KAAK,GAAA;AACP,QAAA,OAAO,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC;KACvC;AAED,IAAA,IAAI,GAAG,GAAA;QACL,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;KACpE;AAED,IAAA,KAAK,CAAC,GAAkB,EAAA;QACtB,OAAO,IAAI,CAAC,IAAI,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,IAAI,CAAK,EAAA,GAAG,EAAE,CAAC;KACrC;AACF;;AC5BD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-common-utils-page.mjs","sources":["../../../../../packages/@ng-atomic/common/src/utils/page/page.ts","../../../../../packages/@ng-atomic/common/src/utils/page/ng-atomic-common-utils-page.ts"],"sourcesContent":["import { LegacyPageEvent as PageEvent } from '@angular/material/legacy-paginator';\n\nexport interface Page extends PageEvent {\n sortKey: string;\n sortOrder: 'asc' | 'desc';\n}\n\nexport class Page {\n static from(event: Partial<Page> = {}): Page {\n return Object.assign(new Page(), {\n pageSize: 50,\n pageIndex: 0,\n length: 100,\n ...event\n });\n }\n\n get start(): number {\n return this.pageIndex * this.pageSize;\n }\n\n get end(): number {\n return Math.min((this.pageIndex + 1) * this.pageSize, this.length);\n }\n\n patch(obj: Partial<Page>): Page {\n return Page.from({...this, ...obj});\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"MAOa,IAAI,CAAA;AACf,IAAA,OAAO,IAAI,CAAC,KAAA,GAAuB,EAAE,EAAA;QACnC,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,EAC7B,MAAA,CAAA,MAAA,CAAA,EAAA,QAAQ,EAAE,EAAE,EACZ,SAAS,EAAE,CAAC,EACZ,MAAM,EAAE,GAAG,EAAA,EACR,KAAK,CAAA,CACR,CAAC;KACJ;AAED,IAAA,IAAI,KAAK,GAAA;AACP,QAAA,OAAO,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC;KACvC;AAED,IAAA,IAAI,GAAG,GAAA;QACL,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;KACpE;AAED,IAAA,KAAK,CAAC,GAAkB,EAAA;QACtB,OAAO,IAAI,CAAC,IAAI,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,IAAI,CAAK,EAAA,GAAG,EAAE,CAAC;KACrC;AACF;;AC5BD;;AAEG;;;;"}