@myrtex-org/form 1.0.14 → 1.0.16

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,2 +1,3 @@
1
1
  export * from './input-table.component';
2
2
  export * from './components/input-table-modal/input-table-modal.component';
3
+ export * from './models/column.model';
@@ -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: any[];
22
+ columns: ColumnModel[];
22
23
  values: SectionValueModel[];
23
24
  set data(settings: ComponentModelBase);
24
25
  dataGrid: DxDataGridComponent;
@@ -0,0 +1,2 @@
1
+ import DevExpress from 'devextreme';
2
+ export type ColumnModel = DevExpress.ui.dxDataGridColumn | string;
@@ -23,11 +23,11 @@ export declare class ObjectFormEffects {
23
23
  }> & import("@ngrx/effects").CreateEffectMetadata;
24
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.LoadObjectPending>) | ({
26
+ } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadTemplateSuccess>) | ({
27
27
  templateSysName: string;
28
- } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadPreviewTemplatePending>) | ({
28
+ } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadObjectPending>) | ({
29
29
  templateSysName: string;
30
- } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadTemplateSuccess>)> & import("@ngrx/effects").CreateEffectMetadata;
30
+ } & import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadPreviewTemplatePending>)> & import("@ngrx/effects").CreateEffectMetadata;
31
31
  loadPreviewTemplatePending: Observable<import("@ngrx/store/src/models").TypedAction<objectFormActions.EApplicationActions.LoadPreviewTemplateError> | ({
32
32
  templateSettings: TemplateModel;
33
33
  templateSysName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myrtex-org/form",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0"
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';