@gravitee/ui-particles-angular 5.5.0 → 5.7.0

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,5 +1,5 @@
1
1
  import { FormGroup } from '@angular/forms';
2
- import { FormlyFormOptions, FormlyFieldConfig } from '@ngx-formly/core';
2
+ import { FormlyFieldConfig, FormlyFormOptions } from '@ngx-formly/core';
3
3
  import { FormlyJsonschema } from '@ngx-formly/core/json-schema';
4
4
  import { GioJsonSchema } from './model/GioJsonSchema';
5
5
  import * as i0 from "@angular/core";
@@ -13,6 +13,7 @@ export declare class GioFormJsonSchemaComponent {
13
13
  fields: FormlyFieldConfig[];
14
14
  constructor(formlyJsonschema: FormlyJsonschema);
15
15
  private toFormlyFieldConfig;
16
+ private getBannerProperties;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<GioFormJsonSchemaComponent, never>;
17
18
  static ɵcmp: i0.ɵɵComponentDeclaration<GioFormJsonSchemaComponent, "gio-form-json-schema", never, { "jsonSchema": "jsonSchema"; "formGroup": "formGroup"; "options": "options"; "initialValue": "initialValue"; }, {}, never, never>;
18
19
  }
@@ -3,12 +3,14 @@ import * as i1 from "./gio-form-json-schema.component";
3
3
  import * as i2 from "./type-component/null-type.component";
4
4
  import * as i3 from "./type-component/object-type.component";
5
5
  import * as i4 from "./type-component/array-type.component";
6
- import * as i5 from "@angular/common";
7
- import * as i6 from "@angular/forms";
8
- import * as i7 from "@ngx-formly/core";
9
- import * as i8 from "@ngx-formly/material";
6
+ import * as i5 from "./wrappers/gio-form-field-wrapper.component";
7
+ import * as i6 from "@angular/common";
8
+ import * as i7 from "@angular/forms";
9
+ import * as i8 from "@ngx-formly/core";
10
+ import * as i9 from "@ngx-formly/material";
11
+ import * as i10 from "../gio-icons/gio-icons.module";
10
12
  export declare class GioFormJsonSchemaModule {
11
13
  static ɵfac: i0.ɵɵFactoryDeclaration<GioFormJsonSchemaModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<GioFormJsonSchemaModule, [typeof i1.GioFormJsonSchemaComponent, typeof i2.GioFjsNullTypeComponent, typeof i3.GioFjsObjectTypeComponent, typeof i4.GioFjsArrayTypeComponent], [typeof i5.CommonModule, typeof i6.ReactiveFormsModule, typeof i7.FormlyModule, typeof i8.FormlyMaterialModule], [typeof i1.GioFormJsonSchemaComponent, typeof i7.FormlyModule]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GioFormJsonSchemaModule, [typeof i1.GioFormJsonSchemaComponent, typeof i2.GioFjsNullTypeComponent, typeof i3.GioFjsObjectTypeComponent, typeof i4.GioFjsArrayTypeComponent, typeof i5.GioFormFieldWrapperComponent], [typeof i6.CommonModule, typeof i7.ReactiveFormsModule, typeof i8.FormlyModule, typeof i9.FormlyMaterialModule, typeof i10.GioIconsModule], [typeof i1.GioFormJsonSchemaComponent, typeof i8.FormlyModule]>;
13
15
  static ɵinj: i0.ɵɵInjectorDeclaration<GioFormJsonSchemaModule>;
14
16
  }
@@ -1,2 +1,14 @@
1
- import { FormlyJSONSchema7 } from './FormlyJSONSchema7';
2
- export declare type GioJsonSchema = FormlyJSONSchema7;
1
+ import { JSONSchema7 } from 'json-schema';
2
+ export interface GioJsonSchema extends JSONSchema7 {
3
+ gioConfig?: {
4
+ banner?: {
5
+ title: string;
6
+ text: string;
7
+ } | {
8
+ text: string;
9
+ };
10
+ };
11
+ properties?: {
12
+ [key: string]: GioJsonSchema;
13
+ };
14
+ }
@@ -2,5 +2,5 @@ import { FieldType } from '@ngx-formly/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class GioFjsNullTypeComponent extends FieldType {
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<GioFjsNullTypeComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<GioFjsNullTypeComponent, "gio-fjs-object-type", never, {}, {}, never, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<GioFjsNullTypeComponent, "gio-fjs-null-type", never, {}, {}, never, never>;
6
6
  }
@@ -0,0 +1,2 @@
1
+ import { FormlyFieldConfig } from '@ngx-formly/core';
2
+ export declare function bannerExtension(field: FormlyFieldConfig): void;
@@ -0,0 +1,6 @@
1
+ import { FieldWrapper } from '@ngx-formly/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class GioFormFieldWrapperComponent extends FieldWrapper {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioFormFieldWrapperComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<GioFormFieldWrapperComponent, "gio-form-field-wrapper", never, {}, {}, never, never>;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-particles-angular",
3
- "version": "5.5.0",
3
+ "version": "5.7.0",
4
4
  "description": "Gravitee.io - UI Particles Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybWx5SlNPTlNjaGVtYTcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1wYXJ0aWNsZXMtYW5ndWxhci9zcmMvbGliL2dpby1mb3JtLWpzb24tc2NoZW1hL21vZGVsL0Zvcm1seUpTT05TY2hlbWE3LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogQ29weXJpZ2h0IChDKSAyMDIzIFRoZSBHcmF2aXRlZSB0ZWFtIChodHRwOi8vZ3Jhdml0ZWUuaW8pXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2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l19
@@ -1,13 +0,0 @@
1
- import { FormlyFieldConfig } from '@ngx-formly/core';
2
- import { JSONSchema7 } from 'json-schema';
3
- /**
4
- * Extend the JSONSchema7 interface with the custom properties
5
- */
6
- export interface FormlyJSONSchema7 extends JSONSchema7 {
7
- widget?: {
8
- formlyConfig: FormlyFieldConfig;
9
- };
10
- properties?: {
11
- [key: string]: FormlyJSONSchema7;
12
- };
13
- }