myrta-ui 17.1.1 → 17.1.3

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,15 +1,14 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { GalleryItemModel, GalleryRotateSlides } from '../../models/gallery-item.model';
3
3
  import { GalleryService } from '../../services/gallery.service';
4
- import { Store } from '@ngrx/store';
5
4
  import { Observable } from 'rxjs';
6
5
  import { ModalService } from '../../../../services';
7
- import { Field } from '../../../../services/save-store/models';
6
+ import { Field } from '../../../../services/save-store';
8
7
  import * as i0 from "@angular/core";
9
8
  export declare class GalleryItemComponent {
10
9
  private _galleryService;
11
10
  private _modalService;
12
- private _store;
11
+ private _autoSaveStore;
13
12
  private timeStamp;
14
13
  private isLoading;
15
14
  private _timer;
@@ -25,11 +24,12 @@ export declare class GalleryItemComponent {
25
24
  openGalleryModal: EventEmitter<number>;
26
25
  deletePhoto: EventEmitter<any>;
27
26
  updatePhoto: EventEmitter<any>;
28
- constructor(_galleryService: GalleryService, _modalService: ModalService, _store: Store);
27
+ constructor(_galleryService: GalleryService, _modalService: ModalService);
29
28
  getImageUrl(): string;
30
29
  get yandexCheckUrl(): string;
31
30
  get googleCheckUrl(): string;
32
31
  get isLoadingImage(): boolean;
32
+ get fields(): Field[];
33
33
  onOpenGalleryModal(): void;
34
34
  deleteImage(): void;
35
35
  changeDescription(obj: any): void;
@@ -13,13 +13,13 @@ export declare class AutoSaveStore {
13
13
  private clear;
14
14
  private clearSubscription;
15
15
  private clearAllSubscriptions;
16
- autosaveAddId(id: string, groupId?: string | null): void;
17
- autosaveStart(): void;
18
- autosaveStartFor(id: string): void;
19
- autosaveStop(): void;
20
- autosaveStopFor(id: string): void;
21
- autosaveSuccess(): void;
22
- autosaveSuccessFor(id: string): void;
16
+ addId(id: string, groupId?: string | null): void;
17
+ start(): void;
18
+ startFor(id: string): void;
19
+ stop(): void;
20
+ stopFor(id: string): void;
21
+ success(): void;
22
+ successFor(id: string): void;
23
23
  autosaveError(): void;
24
24
  autosaveErrorFor(id: string): void;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<AutoSaveStore, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myrta-ui",
3
- "version": "17.1.1",
3
+ "version": "17.1.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0",