@mediusinc/mng-commons 3.0.0-rc.0 → 3.0.0-rc.1

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.
@@ -5,6 +5,7 @@ import { MngFormlyFieldConfig } from '../../models';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class MngFormlyFieldCustomComponent<ET> extends FieldType<MngFormlyFieldConfig> implements OnInit {
7
7
  descriptor: FieldInputDescriptor<ET>;
8
+ inputs: Record<string, any>;
8
9
  ngOnInit(): void;
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<MngFormlyFieldCustomComponent<any>, never>;
10
11
  static ɵcmp: i0.ɵɵComponentDeclaration<MngFormlyFieldCustomComponent<any>, "mng-formly-field-custom", never, {}, {}, never, never, true, never>;
@@ -159,6 +159,7 @@ export declare class FieldInputDescriptor<ET> extends AFieldDescriptor<string |
159
159
  private _imageUrlInputHiddenOnDisabled;
160
160
  private _customComponentName?;
161
161
  private _customComponentType?;
162
+ private _customComponentInputs?;
162
163
  private _customComponentWrappers;
163
164
  constructor(editor: EditorDescriptor<ET>, property: string);
164
165
  /**
@@ -195,6 +196,7 @@ export declare class FieldInputDescriptor<ET> extends AFieldDescriptor<string |
195
196
  get imageUrlInputVisibleOnDisabled(): boolean;
196
197
  get customComponentName(): string | undefined;
197
198
  get customComponentType(): Type<AMngFormlyCustomFieldComponent> | undefined;
199
+ get customComponentInputs(): Record<string, any> | undefined;
198
200
  get customComponentWrappers(): string[];
199
201
  get locale(): string | undefined;
200
202
  get currency(): string | undefined;
@@ -214,7 +216,7 @@ export declare class FieldInputDescriptor<ET> extends AFieldDescriptor<string |
214
216
  asFile(multiple?: boolean, maxFileSize?: number, accept?: string): this;
215
217
  asImageFile(multiple?: boolean, maxFileSize?: number, accept?: string): this;
216
218
  asImageUrl(multiple?: boolean, preview?: boolean, inputVisibleOnDisabled?: boolean): this;
217
- asCustomComponent(customComponent: string | Type<AMngFormlyCustomFieldComponent>, useWrappers?: string[]): this;
219
+ asCustomComponent(customComponent: string | Type<AMngFormlyCustomFieldComponent>, useWrappers?: string[], componentInputs?: Record<string, any>): this;
218
220
  withNumberValidation(min?: number, max?: number, step?: number, autoCorrect?: boolean): this;
219
221
  withLocale(locale: string): this;
220
222
  withNumberFractions(min?: number, max?: number): this;
@@ -1,8 +1,7 @@
1
1
  import { Type } from '@angular/core';
2
2
  import { MediusQueryResult } from '../../api/models';
3
3
  import { ILookupDataProvider } from '../../data-providers';
4
- import { IColumnValueComponent } from '../../models';
5
- import { TableviewAttributeDef } from '../../models/tableview-attr.model';
4
+ import { IColumnValueComponent, TableviewAttributeDef } from '../../models';
6
5
  import { ClassType, EnumType } from '../../types';
7
6
  import { ModelDescriptor } from '../model.descriptor';
8
7
  import { ColumnDisplayTypeEnum, ColumnTypeEnum, TableDynamicColumnsModeEnum, TableFilterDisplayEnum, TablePaginationModeEnum, TableSizeEnum } from '../types';
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@mediusinc/mng-commons",
3
- "version": "3.0.0-rc.0",
3
+ "version": "3.0.0-rc.1",
4
4
  "peerDependencies": {
5
+ "@angular/animations": "^16.0.0",
5
6
  "@angular/common": "^16.0.0",
6
7
  "@angular/core": "^16.0.0",
7
8
  "@angular/forms": "^16.0.0",
8
- "@angular/router": "^16.0.0",
9
- "@angular/animations": "^16.0.0",
10
9
  "@angular/platform-browser": "^16.0.0",
10
+ "@angular/router": "^16.0.0",
11
11
  "@ngx-formly/core": "^6.1.3",
12
12
  "@ngx-translate/core": "^14.0.0",
13
13
  "primeng": "^16.0.0"