myrta-ui 17.1.2 → 17.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +11 -8
- package/esm2022/lib/services/save-store/auto-save.store.mjs +52 -67
- package/fesm2022/myrta-ui.mjs +61 -73
- package/fesm2022/myrta-ui.mjs.map +1 -1
- package/lib/components/gallery/components/gallery-item/gallery-item.component.d.ts +1 -1
- package/lib/services/save-store/auto-save.store.d.ts +10 -10
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { GalleryItemModel, GalleryRotateSlides } from '../../models/gallery-item
|
|
|
3
3
|
import { GalleryService } from '../../services/gallery.service';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { ModalService } from '../../../../services';
|
|
6
|
-
import { Field } from '../../../../services/save-store
|
|
6
|
+
import { Field } from '../../../../services/save-store';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class GalleryItemComponent {
|
|
9
9
|
private _galleryService;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Field } from './models';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export interface
|
|
3
|
+
export interface AutoSaveState {
|
|
4
4
|
fields: Field[];
|
|
5
5
|
}
|
|
6
6
|
export declare class AutoSaveStore {
|
|
@@ -8,20 +8,20 @@ export declare class AutoSaveStore {
|
|
|
8
8
|
private readonly subscriptions;
|
|
9
9
|
readonly fields: import("@angular/core").Signal<Field[]>;
|
|
10
10
|
getField(id: string): import("@angular/core").Signal<Field | undefined>;
|
|
11
|
+
addId(id: string, groupId?: string | null): void;
|
|
12
|
+
start(): void;
|
|
13
|
+
startFor(id: string): void;
|
|
14
|
+
stop(): void;
|
|
15
|
+
stopFor(id: string): void;
|
|
16
|
+
success(): void;
|
|
17
|
+
successFor(id: string): void;
|
|
18
|
+
error(): void;
|
|
19
|
+
errorFor(id: string): void;
|
|
11
20
|
private upsertField;
|
|
12
21
|
private removeField;
|
|
13
22
|
private clear;
|
|
14
23
|
private clearSubscription;
|
|
15
24
|
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;
|
|
23
|
-
autosaveError(): void;
|
|
24
|
-
autosaveErrorFor(id: string): void;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoSaveStore, never>;
|
|
26
26
|
static ɵprov: i0.ɵɵInjectableDeclaration<AutoSaveStore>;
|
|
27
27
|
}
|