@gravitee/ui-particles-angular 5.20.0 → 5.20.1-json-schema-code-editor-efd01f0

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.
Files changed (28) hide show
  1. package/esm2020/lib/gio-form-json-schema/gio-form-json-schema.component.mjs +31 -28
  2. package/esm2020/lib/gio-form-json-schema/gio-form-json-schema.module.mjs +27 -6
  3. package/esm2020/lib/gio-form-json-schema/gio-formly-json-schema.service.mjs +4 -1
  4. package/esm2020/lib/gio-form-json-schema/model/GioJsonSchema.mjs +1 -1
  5. package/esm2020/lib/gio-form-json-schema/type-component/code-editor-type.component.mjs +58 -0
  6. package/esm2020/lib/gio-form-json-schema/wrappers/gio-banner-wrapper.component.mjs +28 -0
  7. package/esm2020/lib/gio-monaco-editor/gio-monaco-editor-form-field.directive.mjs +149 -0
  8. package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.component.mjs +26 -28
  9. package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.module.mjs +5 -4
  10. package/esm2020/lib/gio-monaco-editor/services/gio-language-json.service.mjs +2 -1
  11. package/esm2020/lib/public-api.mjs +2 -1
  12. package/fesm2015/gravitee-ui-particles-angular.mjs +1075 -852
  13. package/fesm2015/gravitee-ui-particles-angular.mjs.map +1 -1
  14. package/fesm2020/gravitee-ui-particles-angular.mjs +1066 -850
  15. package/fesm2020/gravitee-ui-particles-angular.mjs.map +1 -1
  16. package/lib/gio-form-json-schema/gio-form-json-schema.component.d.ts +6 -4
  17. package/lib/gio-form-json-schema/gio-form-json-schema.module.d.ts +16 -13
  18. package/lib/gio-form-json-schema/model/GioJsonSchema.d.ts +4 -1
  19. package/lib/gio-form-json-schema/type-component/code-editor-type.component.d.ts +13 -0
  20. package/lib/gio-form-json-schema/wrappers/gio-banner-wrapper.component.d.ts +6 -0
  21. package/lib/gio-monaco-editor/gio-monaco-editor-form-field.directive.d.ts +45 -0
  22. package/lib/gio-monaco-editor/gio-monaco-editor.component.d.ts +9 -8
  23. package/lib/gio-monaco-editor/gio-monaco-editor.module.d.ts +5 -4
  24. package/lib/gio-monaco-editor/services/gio-language-json.service.d.ts +1 -0
  25. package/lib/public-api.d.ts +1 -0
  26. package/package.json +1 -1
  27. package/esm2020/lib/gio-form-json-schema/wrappers/gio-form-field-wrapper.component.mjs +0 -28
  28. package/lib/gio-form-json-schema/wrappers/gio-form-field-wrapper.component.d.ts +0 -6
@@ -1,14 +1,15 @@
1
- import { ElementRef, OnDestroy, OnInit } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor, FormGroup, NgControl } from '@angular/forms';
3
3
  import { FormlyFieldConfig, FormlyFormOptions } from '@ngx-formly/core';
4
4
  import { FocusMonitor } from '@angular/cdk/a11y';
5
5
  import { GioJsonSchema } from './model/GioJsonSchema';
6
6
  import { GioFormlyJsonSchemaService } from './gio-formly-json-schema.service';
7
7
  import * as i0 from "@angular/core";
8
- export declare class GioFormJsonSchemaComponent implements ControlValueAccessor, OnInit, OnDestroy {
8
+ export declare class GioFormJsonSchemaComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
9
9
  private readonly gioFormlyJsonSchema;
10
10
  private readonly elRef;
11
11
  private readonly fm;
12
+ private readonly changeDetectorRef;
12
13
  readonly ngControl?: NgControl | undefined;
13
14
  static isDisplayable(jsonSchema: GioJsonSchema): boolean;
14
15
  private unsubscribe$;
@@ -23,13 +24,14 @@ export declare class GioFormJsonSchemaComponent implements ControlValueAccessor,
23
24
  _onTouched: () => void;
24
25
  private touched;
25
26
  private stateChanges$;
26
- constructor(gioFormlyJsonSchema: GioFormlyJsonSchemaService, elRef: ElementRef, fm: FocusMonitor, ngControl?: NgControl | undefined);
27
+ constructor(gioFormlyJsonSchema: GioFormlyJsonSchemaService, elRef: ElementRef, fm: FocusMonitor, changeDetectorRef: ChangeDetectorRef, ngControl?: NgControl | undefined);
27
28
  ngOnInit(): void;
29
+ ngAfterViewInit(): void;
28
30
  ngOnDestroy(): void;
29
31
  writeValue(value: unknown): void;
30
32
  registerOnChange(fn: (value: unknown | null) => void): void;
31
33
  registerOnTouched(fn: () => void): void;
32
34
  setDisabledState?(_isDisabled: boolean): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<GioFormJsonSchemaComponent, [null, null, null, { optional: true; host: true; }]>;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioFormJsonSchemaComponent, [null, null, null, null, { optional: true; host: true; }]>;
34
36
  static ɵcmp: i0.ɵɵComponentDeclaration<GioFormJsonSchemaComponent, "gio-form-json-schema", never, { "jsonSchema": "jsonSchema"; "options": "options"; }, {}, never, never>;
35
37
  }
@@ -6,20 +6,23 @@ import * as i4 from "./type-component/multischema-type.component";
6
6
  import * as i5 from "./type-component/array-type.component";
7
7
  import * as i6 from "./type-component/toggle-type.component";
8
8
  import * as i7 from "./type-component/headers-type.component";
9
- import * as i8 from "./wrappers/gio-form-field-wrapper.component";
10
- import * as i9 from "./wrappers/gio-password-eye.component";
11
- import * as i10 from "@angular/common";
12
- import * as i11 from "@angular/cdk/a11y";
13
- import * as i12 from "@angular/forms";
14
- import * as i13 from "@ngx-formly/core";
15
- import * as i14 from "@ngx-formly/material";
16
- import * as i15 from "../gio-icons/gio-icons.module";
17
- import * as i16 from "../gio-form-slide-toogle/gio-form-slide-toggle.module";
18
- import * as i17 from "../gio-form-headers/gio-form-headers.module";
19
- import * as i18 from "@angular/material/slide-toggle";
20
- import * as i19 from "@angular/material/button";
9
+ import * as i8 from "./type-component/code-editor-type.component";
10
+ import * as i9 from "./wrappers/gio-banner-wrapper.component";
11
+ import * as i10 from "./wrappers/gio-password-eye.component";
12
+ import * as i11 from "@angular/common";
13
+ import * as i12 from "@angular/cdk/a11y";
14
+ import * as i13 from "@angular/forms";
15
+ import * as i14 from "@ngx-formly/core";
16
+ import * as i15 from "@ngx-formly/material";
17
+ import * as i16 from "@angular/material/input";
18
+ import * as i17 from "../gio-icons/gio-icons.module";
19
+ import * as i18 from "../gio-form-slide-toogle/gio-form-slide-toggle.module";
20
+ import * as i19 from "../gio-form-headers/gio-form-headers.module";
21
+ import * as i20 from "../gio-monaco-editor/gio-monaco-editor.module";
22
+ import * as i21 from "@angular/material/slide-toggle";
23
+ import * as i22 from "@angular/material/button";
21
24
  export declare class GioFormJsonSchemaModule {
22
25
  static ɵfac: i0.ɵɵFactoryDeclaration<GioFormJsonSchemaModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<GioFormJsonSchemaModule, [typeof i1.GioFormJsonSchemaComponent, typeof i2.GioFjsNullTypeComponent, typeof i3.GioFjsObjectTypeComponent, typeof i4.GioFjsMultiSchemaTypeComponent, typeof i5.GioFjsArrayTypeComponent, typeof i6.GioFjsToggleTypeComponent, typeof i7.GioFjsHeadersTypeComponent, typeof i8.GioFormFieldWrapperComponent, typeof i9.GioPasswordEyeWrapperComponent], [typeof i10.CommonModule, typeof i11.A11yModule, typeof i12.ReactiveFormsModule, typeof i13.FormlyModule, typeof i14.FormlyMaterialModule, typeof i15.GioIconsModule, typeof i16.GioFormSlideToggleModule, typeof i17.GioFormHeadersModule, typeof i18.MatSlideToggleModule, typeof i19.MatButtonModule], [typeof i1.GioFormJsonSchemaComponent, typeof i13.FormlyModule]>;
26
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GioFormJsonSchemaModule, [typeof i1.GioFormJsonSchemaComponent, typeof i2.GioFjsNullTypeComponent, typeof i3.GioFjsObjectTypeComponent, typeof i4.GioFjsMultiSchemaTypeComponent, typeof i5.GioFjsArrayTypeComponent, typeof i6.GioFjsToggleTypeComponent, typeof i7.GioFjsHeadersTypeComponent, typeof i8.GioFjsCodeEditorTypeComponent, typeof i9.GioBannerWrapperComponent, typeof i10.GioPasswordEyeWrapperComponent], [typeof i11.CommonModule, typeof i12.A11yModule, typeof i13.ReactiveFormsModule, typeof i14.FormlyModule, typeof i15.FormlyMaterialModule, typeof i16.MatInputModule, typeof i17.GioIconsModule, typeof i18.GioFormSlideToggleModule, typeof i19.GioFormHeadersModule, typeof i20.GioMonacoEditorModule, typeof i21.MatSlideToggleModule, typeof i22.MatButtonModule], [typeof i1.GioFormJsonSchemaComponent, typeof i14.FormlyModule]>;
24
27
  static ɵinj: i0.ɵɵInjectorDeclaration<GioFormJsonSchemaModule>;
25
28
  }
@@ -12,7 +12,10 @@ declare type GioBannerConfig = {
12
12
  } | {
13
13
  text: string;
14
14
  };
15
- declare type GioUiTypeConfig = 'gio-headers-array';
15
+ /**
16
+ * Used to override the default formly type. It's useful when we want to use a custom component.
17
+ */
18
+ declare type GioUiTypeConfig = 'gio-headers-array' | string;
16
19
  /**
17
20
  * Override the JSONSchema7 interface to add gioConfig
18
21
  * Use this way because the JSONSchema7 interface is recursive
@@ -0,0 +1,13 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FieldTypeConfig, FormlyFieldProps } from '@ngx-formly/core';
3
+ import { FieldType } from '@ngx-formly/material';
4
+ import { MonacoEditorLanguageConfig } from '../../gio-monaco-editor/gio-monaco-editor.component';
5
+ import * as i0 from "@angular/core";
6
+ declare type CodeEditorProps = FormlyFieldProps & {};
7
+ export declare class GioFjsCodeEditorTypeComponent extends FieldType<FieldTypeConfig<CodeEditorProps>> implements OnInit {
8
+ languageConfig?: MonacoEditorLanguageConfig;
9
+ ngOnInit(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioFjsCodeEditorTypeComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<GioFjsCodeEditorTypeComponent, "gio-fjs-code-editor-type", never, {}, {}, never, never>;
12
+ }
13
+ export {};
@@ -0,0 +1,6 @@
1
+ import { FieldWrapper } from '@ngx-formly/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class GioBannerWrapperComponent extends FieldWrapper {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioBannerWrapperComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<GioBannerWrapperComponent, "gio-banner-wrapper", never, {}, {}, never, never>;
6
+ }
@@ -0,0 +1,45 @@
1
+ import { FocusMonitor } from '@angular/cdk/a11y';
2
+ import { ChangeDetectorRef, DoCheck, ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
3
+ import { NgControl } from '@angular/forms';
4
+ import { MatFormFieldControl } from '@angular/material/form-field';
5
+ import { Subject } from 'rxjs';
6
+ import { GioMonacoEditorComponent } from './gio-monaco-editor.component';
7
+ import * as i0 from "@angular/core";
8
+ export declare class GioMonacoEditorFormFieldDirective implements OnInit, DoCheck, MatFormFieldControl<string>, OnDestroy {
9
+ private readonly elementRef;
10
+ private readonly focusMonitor;
11
+ private readonly renderer;
12
+ private readonly changeDetectorRef;
13
+ readonly hostGioMonacoEditorComponent: GioMonacoEditorComponent;
14
+ static nextId: number;
15
+ stateChanges: Subject<void>;
16
+ id: string;
17
+ userAriaDescribedBy: string;
18
+ get value(): string | null;
19
+ set placeholder(placeholder: string);
20
+ get placeholder(): string;
21
+ set required(required: boolean);
22
+ get required(): boolean;
23
+ set disabled(disabled: boolean);
24
+ get disabled(): boolean;
25
+ ngControl: NgControl | null;
26
+ focused: boolean;
27
+ get empty(): boolean;
28
+ get shouldLabelFloat(): boolean;
29
+ get shouldHideEditor(): boolean;
30
+ errorState: boolean;
31
+ controlType: string;
32
+ private _placeholder;
33
+ private _required;
34
+ private _disabled;
35
+ private maxHeight;
36
+ private unsubscribe$;
37
+ constructor(elementRef: ElementRef, focusMonitor: FocusMonitor, renderer: Renderer2, changeDetectorRef: ChangeDetectorRef, hostGioMonacoEditorComponent: GioMonacoEditorComponent);
38
+ ngOnInit(): void;
39
+ ngDoCheck(): void;
40
+ ngOnDestroy(): void;
41
+ setDescribedByIds(ids: string[]): void;
42
+ onContainerClick(_event: MouseEvent): void;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioMonacoEditorFormFieldDirective, [null, null, null, null, { optional: true; host: true; self: true; }]>;
44
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GioMonacoEditorFormFieldDirective, "[gioMonacoEditorFormField]", never, { "placeholder": "placeholder"; "required": "required"; "disabled": "disabled"; }, {}, never>;
45
+ }
@@ -1,6 +1,7 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
2
+ import { ControlValueAccessor, NgControl } from '@angular/forms';
3
3
  import { editor } from 'monaco-editor';
4
+ import { ReplaySubject } from 'rxjs';
4
5
  import { GioMonacoEditorConfig } from './models/GioMonacoEditorConfig';
5
6
  import { GioLanguageJsonService } from './services/gio-language-json.service';
6
7
  import { GioMonacoEditorService } from './services/gio-monaco-editor.service';
@@ -13,25 +14,25 @@ export declare type MonacoEditorLanguageConfig = {
13
14
  }[];
14
15
  };
15
16
  export declare class GioMonacoEditorComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
17
+ readonly hostElement: ElementRef;
16
18
  private readonly config;
17
19
  private readonly monacoEditorService;
18
20
  private readonly languageJsonService;
19
- private readonly hostElement;
20
21
  private readonly changeDetectorRef;
21
22
  private readonly ngZone;
23
+ readonly ngControl: NgControl;
22
24
  languageConfig?: MonacoEditorLanguageConfig;
23
25
  options: editor.IStandaloneEditorConstructionOptions;
24
- id: string;
25
- loading: boolean;
26
+ loaded$: ReplaySubject<boolean>;
26
27
  private defaultOptions;
27
- protected value: string;
28
+ value: string;
28
29
  protected readOnly: boolean;
29
- private standaloneCodeEditor?;
30
+ standaloneCodeEditor?: editor.IStandaloneCodeEditor;
30
31
  private textModel?;
31
32
  protected _onChange: (_value: string | null) => void;
32
33
  protected _onTouched: () => void;
33
34
  private unsubscribe$;
34
- constructor(config: GioMonacoEditorConfig, monacoEditorService: GioMonacoEditorService, languageJsonService: GioLanguageJsonService, hostElement: ElementRef, changeDetectorRef: ChangeDetectorRef, ngZone: NgZone);
35
+ constructor(hostElement: ElementRef, config: GioMonacoEditorConfig, monacoEditorService: GioMonacoEditorService, languageJsonService: GioLanguageJsonService, changeDetectorRef: ChangeDetectorRef, ngZone: NgZone, ngControl: NgControl);
35
36
  ngAfterViewInit(): void;
36
37
  ngOnDestroy(): void;
37
38
  writeValue(_value: string): void;
@@ -40,6 +41,6 @@ export declare class GioMonacoEditorComponent implements ControlValueAccessor, A
40
41
  setDisabledState(isDisabled: boolean): void;
41
42
  private setupEditor;
42
43
  private setupLanguage;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<GioMonacoEditorComponent, never>;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioMonacoEditorComponent, [null, null, null, null, null, null, { optional: true; self: true; }]>;
44
45
  static ɵcmp: i0.ɵɵComponentDeclaration<GioMonacoEditorComponent, "gio-monaco-editor", never, { "languageConfig": "languageConfig"; "options": "options"; }, {}, never, never>;
45
46
  }
@@ -1,9 +1,10 @@
1
1
  import { GioMonacoEditorConfig } from './models/GioMonacoEditorConfig';
2
2
  import * as i0 from "@angular/core";
3
3
  import * as i1 from "./gio-monaco-editor.component";
4
- import * as i2 from "@angular/common";
5
- import * as i3 from "@angular/common/http";
6
- import * as i4 from "@angular/forms";
4
+ import * as i2 from "./gio-monaco-editor-form-field.directive";
5
+ import * as i3 from "@angular/common";
6
+ import * as i4 from "@angular/common/http";
7
+ import * as i5 from "@angular/forms";
7
8
  export declare class GioMonacoEditorModule {
8
9
  static forRoot(config: GioMonacoEditorConfig): {
9
10
  ngModule: typeof GioMonacoEditorModule;
@@ -13,6 +14,6 @@ export declare class GioMonacoEditorModule {
13
14
  }[];
14
15
  };
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<GioMonacoEditorModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<GioMonacoEditorModule, [typeof i1.GioMonacoEditorComponent], [typeof i2.CommonModule, typeof i3.HttpClientModule, typeof i4.ReactiveFormsModule], [typeof i1.GioMonacoEditorComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GioMonacoEditorModule, [typeof i1.GioMonacoEditorComponent, typeof i2.GioMonacoEditorFormFieldDirective], [typeof i3.CommonModule, typeof i4.HttpClientModule, typeof i5.ReactiveFormsModule], [typeof i1.GioMonacoEditorComponent, typeof i2.GioMonacoEditorFormFieldDirective]>;
17
18
  static ɵinj: i0.ɵɵInjectorDeclaration<GioMonacoEditorModule>;
18
19
  }
@@ -3,6 +3,7 @@ import type Monaco from 'monaco-editor';
3
3
  import { GioMonacoEditorService } from './gio-monaco-editor.service';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class GioLanguageJsonService implements OnDestroy {
6
+ private readonly codeEditorService;
6
7
  private unsubscribe$;
7
8
  private monaco?;
8
9
  constructor(codeEditorService: GioMonacoEditorService);
@@ -33,6 +33,7 @@ export * from './gio-form-focus-first-invalid/gio-form-focus-first-invalid.direc
33
33
  export * from './gio-form-focus-first-invalid/gio-form-focus-first-invalid-ignore.directive';
34
34
  export * from './gio-form-focus-first-invalid/gio-form-focus-first-invalid.module';
35
35
  export * from './gio-monaco-editor/gio-monaco-editor.component';
36
+ export * from './gio-monaco-editor/gio-monaco-editor-form-field.directive';
36
37
  export * from './gio-monaco-editor/gio-monaco-editor.module';
37
38
  export * from './gio-monaco-editor/gio-monaco-editor.harness';
38
39
  export * from './gio-loader/gio-loader.module';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-particles-angular",
3
- "version": "5.20.0",
3
+ "version": "5.20.1-json-schema-code-editor-efd01f0",
4
4
  "description": "Gravitee.io - UI Particles Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,28 +0,0 @@
1
- /*
2
- * Copyright (C) 2023 The Gravitee team (http://gravitee.io)
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { FieldWrapper } from '@ngx-formly/core';
17
- import { Component } from '@angular/core';
18
- import * as i0 from "@angular/core";
19
- import * as i1 from "@angular/material/icon";
20
- export class GioFormFieldWrapperComponent extends FieldWrapper {
21
- }
22
- GioFormFieldWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioFormFieldWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
23
- GioFormFieldWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GioFormFieldWrapperComponent, selector: "gio-form-field-wrapper", usesInheritance: true, ngImport: i0, template: "<!--\n\n Copyright (C) 2023 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div class=\"wrapper\">\n <div class=\"banner\">\n <div class=\"banner__icon\"><mat-icon svgIcon=\"gio:info\"></mat-icon></div>\n <div>\n <div class=\"banner__title\" [innerHTML]=\"props.bannerTitle\"></div>\n <div class=\"banner__text\" [innerHTML]=\"props.bannerText\"></div>\n </div>\n </div>\n <ng-container #fieldComponent></ng-container>\n</div>\n", styles: [".wrapper{padding:8px 0}.banner{display:flex;flex-direction:row;align-items:flex-start;padding:8px;border-radius:8px;margin-bottom:8px;background:#e7e8ef;gap:8px}.banner__icon{padding-top:2px}.banner__icon mat-icon{width:16px;height:16px;color:#6c59bd}.banner__title{font:600 14px/20px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px}.banner__text{font:400 14px/20px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px;color:#606274}\n"], components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioFormFieldWrapperComponent, decorators: [{
25
- type: Component,
26
- args: [{ selector: 'gio-form-field-wrapper', template: "<!--\n\n Copyright (C) 2023 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div class=\"wrapper\">\n <div class=\"banner\">\n <div class=\"banner__icon\"><mat-icon svgIcon=\"gio:info\"></mat-icon></div>\n <div>\n <div class=\"banner__title\" [innerHTML]=\"props.bannerTitle\"></div>\n <div class=\"banner__text\" [innerHTML]=\"props.bannerText\"></div>\n </div>\n </div>\n <ng-container #fieldComponent></ng-container>\n</div>\n", styles: [".wrapper{padding:8px 0}.banner{display:flex;flex-direction:row;align-items:flex-start;padding:8px;border-radius:8px;margin-bottom:8px;background:#e7e8ef;gap:8px}.banner__icon{padding-top:2px}.banner__icon mat-icon{width:16px;height:16px;color:#6c59bd}.banner__title{font:600 14px/20px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px}.banner__text{font:400 14px/20px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px;color:#606274}\n"] }]
27
- }] });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2lvLWZvcm0tZmllbGQtd3JhcH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CIgW2lubmVySFRNTF09XCJwcm9wcy5iYW5uZXJUaXRsZVwiPjwvZGl2PlxuICAgICAgPGRpdiBjbGFzcz1cImJhbm5lcl9fdGV4dFwiIFtpbm5lckhUTUxdPVwicHJvcHMuYmFubmVyVGV4dFwiPjwvZGl2PlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbiAgPG5nLWNvbnRhaW5lciAjZmllbGRDb21wb25lbnQ+PC9uZy1jb250YWluZXI+XG48L2Rpdj5cbiJdfQ==
@@ -1,6 +0,0 @@
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
- }