@myrtex-org/form 1.0.11 → 1.0.13
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/modules/object-form/components/elements/base/base-field/base-field.component.mjs +1 -1
- package/esm2022/lib/modules/object-form/components/elements/input/file/input-file.component.mjs +16 -11
- package/esm2022/lib/modules/object-form/services/object-form.service.mjs +1 -1
- package/fesm2022/myrtex-org-form.mjs +14 -10
- package/fesm2022/myrtex-org-form.mjs.map +1 -1
- package/lib/modules/object-form/components/elements/input/file/input-file.component.d.ts +3 -1
- package/lib/modules/object-form/services/object-form.service.d.ts +1 -1
- package/lib/modules/object-form/store/object-form.effects.d.ts +10 -10
- package/package.json +1 -1
|
@@ -13,16 +13,18 @@ export declare class InputFileComponent extends BaseFieldComponent<InputFileBase
|
|
|
13
13
|
type: ComponentType;
|
|
14
14
|
_store: Store;
|
|
15
15
|
_detector: ChangeDetectorRef;
|
|
16
|
+
private _objectFormService;
|
|
16
17
|
private _changeFileSubject$;
|
|
17
18
|
private _fileSubscriptions$;
|
|
18
19
|
private _isFileCheckRequired;
|
|
19
20
|
applicationId$: Observable<string>;
|
|
20
21
|
files: any[];
|
|
21
22
|
ngOnInit(): void;
|
|
23
|
+
get apiUrl(): string;
|
|
24
|
+
get getInvalid(): boolean;
|
|
22
25
|
ngOnDestroy(): void;
|
|
23
26
|
filesChanged(files: InputFileModel[]): void;
|
|
24
27
|
deleteFile(file: InputFileModel): void;
|
|
25
|
-
get getInvalid(): boolean;
|
|
26
28
|
dispatchModify(): void;
|
|
27
29
|
private _initFiles;
|
|
28
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputFileComponent, never>;
|
|
@@ -7,7 +7,7 @@ export declare class ObjectFormService {
|
|
|
7
7
|
private _concurrencyService;
|
|
8
8
|
private _apiUrl;
|
|
9
9
|
private _concurrencyKey;
|
|
10
|
-
|
|
10
|
+
get apiUrl(): string;
|
|
11
11
|
updateApiUrl(apiUrl: string): void;
|
|
12
12
|
getTemplate(objectId: string): Observable<{
|
|
13
13
|
templateSysName: string;
|
|
@@ -21,34 +21,34 @@ export declare class ObjectFormEffects {
|
|
|
21
21
|
apiPrefix: string;
|
|
22
22
|
apiUrl: string;
|
|
23
23
|
}> & import("@ngrx/effects").CreateEffectMetadata;
|
|
24
|
-
loadTemplatePending$: Observable<({
|
|
24
|
+
loadTemplatePending$: Observable<import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadTemplateError> | ({
|
|
25
25
|
templateSysName: string;
|
|
26
26
|
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadTemplateSuccess>) | ({
|
|
27
27
|
templateSysName: string;
|
|
28
|
-
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadObjectPending>) |
|
|
28
|
+
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadObjectPending>) | ({
|
|
29
29
|
templateSysName: string;
|
|
30
30
|
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadPreviewTemplatePending>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
31
|
-
loadPreviewTemplatePending: Observable<({
|
|
31
|
+
loadPreviewTemplatePending: Observable<import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadPreviewTemplateError> | ({
|
|
32
32
|
templateSettings: TemplateModel;
|
|
33
33
|
templateSysName: string;
|
|
34
|
-
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadPreviewTemplateSuccess>)
|
|
35
|
-
loadApplicationPending$: Observable<({
|
|
34
|
+
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadPreviewTemplateSuccess>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
35
|
+
loadApplicationPending$: Observable<import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadObjectError> | import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.CheckAllDependencyRules> | ({
|
|
36
36
|
templateSettings: TemplateModel;
|
|
37
37
|
sectionValues: import("../models").SectionValueModel[];
|
|
38
38
|
applicationId: string;
|
|
39
39
|
isDraft: boolean;
|
|
40
|
-
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadObjectSuccess>)
|
|
40
|
+
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadObjectSuccess>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
41
41
|
checkCanUpdateValues$: Observable<[ValueModel | ValueModel[], any]> & import("@ngrx/effects").CreateEffectMetadata;
|
|
42
42
|
saveValuesDebounced$: Observable<never> & import("@ngrx/effects").CreateEffectMetadata;
|
|
43
|
-
updateApplicationValues$: Observable<({
|
|
43
|
+
updateApplicationValues$: Observable<import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.SaveValuesError> | ({
|
|
44
44
|
result: import("../models").UpdateValueResult;
|
|
45
45
|
objectId: string;
|
|
46
|
-
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.SaveValuesSuccess>)
|
|
46
|
+
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.SaveValuesSuccess>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
47
47
|
saveApplicationPending$: Observable<import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.SaveObjectSuccess> | import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.SaveObjectError>> & import("@ngrx/effects").CreateEffectMetadata;
|
|
48
48
|
copyApplicationPending$: Observable<import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.CopyObjectSuccess> | import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.CopyObjectError>> & import("@ngrx/effects").CreateEffectMetadata;
|
|
49
|
-
loadSectionFilesPending$: Observable<({
|
|
49
|
+
loadSectionFilesPending$: Observable<import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadSectionFilesError> | ({
|
|
50
50
|
sectionFiles: FileModel[];
|
|
51
|
-
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadSectionFilesSuccess>)
|
|
51
|
+
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadSectionFilesSuccess>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
52
52
|
printDocument$: Observable<[never, string, any]> & import("@ngrx/effects").CreateEffectMetadata;
|
|
53
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectFormEffects, never>;
|
|
54
54
|
static ɵprov: i0.ɵɵInjectableDeclaration<ObjectFormEffects>;
|