@myrtex-org/form 1.0.11 → 1.0.14
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/components/elements/input/table/input-table.component.mjs +36 -3
- package/esm2022/lib/modules/object-form/services/object-form.service.mjs +1 -1
- package/esm2022/lib/modules/object-form/store/object-form.effects.mjs +2 -1
- package/esm2022/lib/modules/object-form/store/object-form.selector.mjs +3 -3
- package/esm2022/lib/modules/shared-form/store/shared-form.selector.mjs +2 -1
- package/fesm2022/myrtex-org-form.mjs +53 -14
- 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/components/elements/input/table/input-table.component.d.ts +4 -0
- package/lib/modules/object-form/services/object-form.service.d.ts +1 -1
- package/lib/modules/object-form/store/object-form.effects.d.ts +12 -12
- 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>;
|
|
@@ -18,9 +18,11 @@ export declare class InputTableComponent implements OnInit, OnDestroy {
|
|
|
18
18
|
dataSource: {
|
|
19
19
|
[key: string]: any;
|
|
20
20
|
}[];
|
|
21
|
+
columns: any[];
|
|
21
22
|
values: SectionValueModel[];
|
|
22
23
|
set data(settings: ComponentModelBase);
|
|
23
24
|
dataGrid: DxDataGridComponent;
|
|
25
|
+
editTemplate: any;
|
|
24
26
|
changed: EventEmitter<ComponentValueModel | ComponentValueModel[]>;
|
|
25
27
|
ngOnInit(): void;
|
|
26
28
|
ngOnDestroy(): void;
|
|
@@ -33,6 +35,8 @@ export declare class InputTableComponent implements OnInit, OnDestroy {
|
|
|
33
35
|
isTotalColumn(component: ComponentModelBase): boolean;
|
|
34
36
|
private _initModel;
|
|
35
37
|
private _initDataSource;
|
|
38
|
+
private _initColumns;
|
|
39
|
+
private _transformColumn;
|
|
36
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputTableComponent, never>;
|
|
37
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputTableComponent, "app-input-table", never, { "values": { "alias": "values"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
|
|
38
42
|
}
|
|
@@ -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
|
-
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.
|
|
26
|
+
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadObjectPending>) | ({
|
|
27
27
|
templateSysName: string;
|
|
28
|
-
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.
|
|
28
|
+
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadPreviewTemplatePending>) | ({
|
|
29
29
|
templateSysName: string;
|
|
30
|
-
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.
|
|
31
|
-
loadPreviewTemplatePending: Observable<({
|
|
30
|
+
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadTemplateSuccess>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
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>;
|