@myrtex-org/form 1.0.14 → 1.0.15
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/input/table/input-table.component.mjs +2 -1
- package/esm2022/lib/modules/object-form/components/elements/input/table/models/column.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/store/object-form.effects.mjs +1 -2
- package/esm2022/lib/modules/shared-form/store/shared-form.selector.mjs +1 -2
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/myrtex-org-form.mjs +2 -3
- package/fesm2022/myrtex-org-form.mjs.map +1 -1
- package/lib/modules/object-form/components/elements/input/table/input-table.component.d.ts +3 -2
- package/lib/modules/object-form/components/elements/input/table/models/column.model.d.ts +2 -0
- package/lib/modules/object-form/store/object-form.effects.d.ts +12 -12
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -4,6 +4,7 @@ import { ComponentModelBase } from '../../../../../shared-form/models';
|
|
|
4
4
|
import { DxDataGridComponent } from 'devextreme-angular';
|
|
5
5
|
import { ComponentValueModel, SectionValueModel, TableValueModel } from '../../../../models';
|
|
6
6
|
import { InputTableModel } from '../../../../models/elemets/inputs';
|
|
7
|
+
import { ColumnModel } from './models/column.model';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class InputTableComponent implements OnInit, OnDestroy {
|
|
9
10
|
type: ComponentType;
|
|
@@ -18,7 +19,7 @@ export declare class InputTableComponent implements OnInit, OnDestroy {
|
|
|
18
19
|
dataSource: {
|
|
19
20
|
[key: string]: any;
|
|
20
21
|
}[];
|
|
21
|
-
columns:
|
|
22
|
+
columns: ColumnModel[];
|
|
22
23
|
values: SectionValueModel[];
|
|
23
24
|
set data(settings: ComponentModelBase);
|
|
24
25
|
dataGrid: DxDataGridComponent;
|
|
@@ -29,7 +30,7 @@ export declare class InputTableComponent implements OnInit, OnDestroy {
|
|
|
29
30
|
createRow(): void;
|
|
30
31
|
deleteRow(event: any): void;
|
|
31
32
|
editRow(event: any): void;
|
|
32
|
-
getFormat(component: ComponentModelBase): "
|
|
33
|
+
getFormat(component: ComponentModelBase): "dd.MM.yyyy" | "";
|
|
33
34
|
getDataType(component: ComponentModelBase): "date" | undefined;
|
|
34
35
|
showTotal(component: ComponentModelBase): boolean;
|
|
35
36
|
isTotalColumn(component: ComponentModelBase): boolean;
|
|
@@ -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<({
|
|
25
25
|
templateSysName: string;
|
|
26
|
-
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.
|
|
26
|
+
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadTemplateSuccess>) | ({
|
|
27
27
|
templateSysName: string;
|
|
28
|
-
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.
|
|
28
|
+
} & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadObjectPending>) | import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadTemplateError> | ({
|
|
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.LoadPreviewTemplatePending>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
31
|
+
loadPreviewTemplatePending: Observable<({
|
|
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/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadPreviewTemplateError>> & import("@ngrx/effects").CreateEffectMetadata;
|
|
35
|
+
loadApplicationPending$: Observable<({
|
|
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>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
40
|
+
} & 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;
|
|
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<({
|
|
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/store/src/models").TypedAction<objectFormActions.EApplicationActions.SaveValuesError>> & 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<({
|
|
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/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadSectionFilesError>> & 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>;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './lib/modules/object-form/object-form.module';
|
|
|
2
2
|
export * from './lib/modules/object-form/models';
|
|
3
3
|
export * from './lib/modules/object-form/store';
|
|
4
4
|
export * from './lib/modules/object-form/constants';
|
|
5
|
+
export * from './lib/modules/object-form/components/elements/input/table';
|
|
5
6
|
export * from './lib/modules/shared-form/shared-form.module';
|
|
6
7
|
export * from './lib/modules/shared-form/store';
|
|
7
8
|
export * from './lib/modules/shared-form/enums';
|