@myrtex-org/form 1.0.8 → 1.0.9

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 +1,5 @@
1
1
  export declare const STATE_NAME = "object-form";
2
+ export declare const API_PREFIX_NAME = "apiPrefix";
3
+ export declare const OBJECT_ID_NAME = "objectId";
4
+ export declare const SECTION_SYS_NAME_NAME = "sectionSysName";
5
+ export declare const TEMPLATE_SYS_NAME_NAME = "templateSysName";
@@ -2,7 +2,7 @@ import { Actions } from '@ngrx/effects';
2
2
  import { Store } from '@ngrx/store';
3
3
  import { Router } from '@angular/router';
4
4
  import { Observable } from 'rxjs';
5
- import { ObjectFormService } from '../services/object-form.service';
5
+ import { ObjectFormService } from '../services';
6
6
  import { objectFormActions } from '../store';
7
7
  import { TemplateModel } from '../models';
8
8
  import { ValueModel } from '../models';
@@ -17,34 +17,34 @@ export declare class ObjectFormEffects {
17
17
  private _toasterService;
18
18
  private _autoSaveStore;
19
19
  constructor(_actions$: Actions, _store: Store, _router: Router, _applicationService: ObjectFormService, _toasterService: ToasterService);
20
- loadTemplatePending$: Observable<import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadTemplateError> | ({
20
+ loadTemplatePending$: Observable<({
21
21
  templateSysName: string;
22
22
  } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadTemplateSuccess>) | ({
23
23
  templateSysName: string;
24
- } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadObjectPending>) | ({
24
+ } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadObjectPending>) | import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadTemplateError> | ({
25
25
  templateSysName: string;
26
26
  } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadPreviewTemplatePending>)> & import("@ngrx/effects").CreateEffectMetadata;
27
- loadPreviewTemplatePending: Observable<import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadPreviewTemplateError> | ({
27
+ loadPreviewTemplatePending: Observable<({
28
28
  templateSettings: TemplateModel;
29
29
  templateSysName: string;
30
- } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadPreviewTemplateSuccess>)> & import("@ngrx/effects").CreateEffectMetadata;
31
- loadApplicationPending$: Observable<import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadObjectError> | import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.CheckAllDependencyRules> | ({
30
+ } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadPreviewTemplateSuccess>) | import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadPreviewTemplateError>> & import("@ngrx/effects").CreateEffectMetadata;
31
+ loadApplicationPending$: Observable<({
32
32
  templateSettings: TemplateModel;
33
33
  sectionValues: import("../models").SectionValueModel[];
34
34
  applicationId: string;
35
35
  isDraft: boolean;
36
- } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadObjectSuccess>)> & import("@ngrx/effects").CreateEffectMetadata;
36
+ } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadObjectSuccess>) | import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.CheckAllDependencyRules> | import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadObjectError>> & import("@ngrx/effects").CreateEffectMetadata;
37
37
  checkCanUpdateValues$: Observable<[ValueModel | ValueModel[], any]> & import("@ngrx/effects").CreateEffectMetadata;
38
38
  saveValuesDebounced$: Observable<never> & import("@ngrx/effects").CreateEffectMetadata;
39
- updateApplicationValues$: Observable<import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.SaveValuesError> | ({
39
+ updateApplicationValues$: Observable<({
40
40
  result: import("../models").UpdateValueResult;
41
41
  objectId: string;
42
- } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.SaveValuesSuccess>)> & import("@ngrx/effects").CreateEffectMetadata;
42
+ } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.SaveValuesSuccess>) | import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.SaveValuesError>> & import("@ngrx/effects").CreateEffectMetadata;
43
43
  saveApplicationPending$: Observable<import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.SaveObjectSuccess> | import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.SaveObjectError>> & import("@ngrx/effects").CreateEffectMetadata;
44
44
  copyApplicationPending$: Observable<import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.CopyObjectSuccess> | import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.CopyObjectError>> & import("@ngrx/effects").CreateEffectMetadata;
45
- loadSectionFilesPending$: Observable<import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadSectionFilesError> | ({
45
+ loadSectionFilesPending$: Observable<({
46
46
  sectionFiles: FileModel[];
47
- } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadSectionFilesSuccess>)> & import("@ngrx/effects").CreateEffectMetadata;
47
+ } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadSectionFilesSuccess>) | import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadSectionFilesError>> & import("@ngrx/effects").CreateEffectMetadata;
48
48
  printDocument$: Observable<[never, any, any]> & import("@ngrx/effects").CreateEffectMetadata;
49
49
  static ɵfac: i0.ɵɵFactoryDeclaration<ObjectFormEffects, never>;
50
50
  static ɵprov: i0.ɵɵInjectableDeclaration<ObjectFormEffects>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myrtex-org/form",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0"