@gravitee/ui-particles-angular 13.8.1 → 13.9.0-fix-validation-message-d90e4ae

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.
@@ -13,7 +13,7 @@ import { ComponentHarness, HarnessPredicate, parallel, TestKey } from '@angular/
13
13
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
14
14
  import * as i6$1 from '@angular/material/form-field';
15
15
  import { MatFormFieldControl, MatFormFieldModule, MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
16
- import { isEmpty, isString, isObject, toLower, dropRight, isNil, isArray, remove, castArray, get, isEqual, cloneDeep, set, uniqueId, range, has, some, filter as filter$1, intersection } from 'lodash';
16
+ import { isEmpty, isString, isObject, toLower, dropRight, isNil, isArray, remove, get, set, castArray, isEqual, cloneDeep, uniqueId, range, has, some, filter as filter$1, intersection } from 'lodash';
17
17
  import * as i1$2 from '@angular/forms';
18
18
  import { FormsModule, UntypedFormArray, UntypedFormGroup, UntypedFormControl, Validators, NG_VALUE_ACCESSOR, NG_VALIDATORS, ReactiveFormsModule, NgControl, FormControl } from '@angular/forms';
19
19
  import * as i1$3 from '@angular/cdk/a11y';
@@ -2302,11 +2302,13 @@ class GioFormlyJsonSchemaService {
2302
2302
  map: (mappedField, mapSource) => {
2303
2303
  mappedField = this.displayIfMap(mappedField, mapSource, context);
2304
2304
  mappedField = this.uiTypeMap(mappedField, mapSource);
2305
+ mappedField = this.uiBorder(mappedField, mapSource);
2305
2306
  mappedField = this.formatMap(mappedField, mapSource);
2306
2307
  mappedField = this.bannerMap(mappedField, mapSource);
2307
2308
  mappedField = this.toggleMap(mappedField, mapSource);
2308
2309
  mappedField = this.disableIfMap(mappedField, mapSource, context);
2309
2310
  mappedField = this.enumLabelMap(mappedField, mapSource);
2311
+ mappedField = this.sanitizeOneOf(mappedField, mapSource);
2310
2312
  mappedField = this.deprecatedMap(mappedField, mapSource);
2311
2313
  return mappedField;
2312
2314
  },
@@ -2351,6 +2353,18 @@ class GioFormlyJsonSchemaService {
2351
2353
  }
2352
2354
  return mappedField;
2353
2355
  }
2356
+ uiBorder(mappedField, mapSource) {
2357
+ if (mapSource.gioConfig?.uiBorder) {
2358
+ mappedField = {
2359
+ ...mappedField,
2360
+ props: {
2361
+ ...mappedField.props,
2362
+ uiBorder: mapSource.gioConfig?.uiBorder,
2363
+ },
2364
+ };
2365
+ }
2366
+ return mappedField;
2367
+ }
2354
2368
  formatMap(mappedField, mapSource) {
2355
2369
  if (mapSource.type === 'string' && mapSource.format === 'text') {
2356
2370
  mappedField.type = 'textarea';
@@ -2396,34 +2410,35 @@ class GioFormlyJsonSchemaService {
2396
2410
  disableIfMap(mappedField, mapSource, context) {
2397
2411
  const disableIf = getGioIf(mapSource.gioConfig?.disableIf);
2398
2412
  if (disableIf) {
2413
+ const propsDisabled = field => {
2414
+ const isReadOnly = field.props?.readonly === true;
2415
+ const isParentDisabled = field.options?.formState?.parentDisabled === true;
2416
+ if (isParentDisabled || isReadOnly) {
2417
+ // Useful when field is readonly to avoid to enable it
2418
+ field.formControl?.disable({ emitEvent: false });
2419
+ return true;
2420
+ }
2421
+ let parentField = field;
2422
+ while (parentField.parent) {
2423
+ parentField = parentField.parent;
2424
+ }
2425
+ try {
2426
+ const isDisabled = disableIf({
2427
+ value: parentField.model,
2428
+ context,
2429
+ });
2430
+ // Useful when full form is re-enabled to sync the fromControl enable/disable state
2431
+ isDisabled ? field.formControl?.disable({ emitEvent: false }) : field.formControl?.enable({ emitEvent: false });
2432
+ return isDisabled;
2433
+ }
2434
+ catch (e) {
2435
+ // Ignore the error and keep default value
2436
+ return field.props?.disabled || false;
2437
+ }
2438
+ };
2399
2439
  mappedField.expressions = {
2400
2440
  ...mappedField.expressions,
2401
- 'props.disabled': field => {
2402
- const isReadOnly = field.props?.readonly === true;
2403
- const isParentDisabled = field.options?.formState?.parentDisabled === true;
2404
- if (isParentDisabled || isReadOnly) {
2405
- // Useful when field is readonly to avoid to enable it
2406
- field.formControl?.disable({ emitEvent: false });
2407
- return true;
2408
- }
2409
- let parentField = field;
2410
- while (parentField.parent) {
2411
- parentField = parentField.parent;
2412
- }
2413
- try {
2414
- const isDisabled = disableIf({
2415
- value: parentField.model,
2416
- context,
2417
- });
2418
- // Useful when full form is re-enabled to sync the fromControl enable/disable state
2419
- isDisabled ? field.formControl?.disable({ emitEvent: false }) : field.formControl?.enable({ emitEvent: false });
2420
- return isDisabled;
2421
- }
2422
- catch (e) {
2423
- // Ignore the error and keep default value
2424
- return field.props?.disabled;
2425
- }
2426
- },
2441
+ 'props.disabled': propsDisabled,
2427
2442
  };
2428
2443
  }
2429
2444
  return mappedField;
@@ -2452,6 +2467,26 @@ class GioFormlyJsonSchemaService {
2452
2467
  }
2453
2468
  return mappedField;
2454
2469
  }
2470
+ /**
2471
+ * Remove the label of the oneOf fields to avoid to display it twice (with the select and the object title)
2472
+ */
2473
+ sanitizeOneOf(mappedField, mapSource) {
2474
+ if (!mapSource.oneOf || !mappedField.fieldGroup || mappedField.fieldGroup.length < 1) {
2475
+ return mappedField;
2476
+ }
2477
+ const parentFieldGroup = mappedField.fieldGroup[mappedField.fieldGroup.length - 1];
2478
+ if (!parentFieldGroup || parentFieldGroup?.type != 'multischema') {
2479
+ return mappedField;
2480
+ }
2481
+ const contentFieldGroup = get(parentFieldGroup, 'fieldGroup[1]');
2482
+ if (!contentFieldGroup) {
2483
+ return mappedField;
2484
+ }
2485
+ contentFieldGroup.fieldGroup?.forEach((field) => {
2486
+ set(field, 'props.label', undefined);
2487
+ });
2488
+ return mappedField;
2489
+ }
2455
2490
  deprecatedMap(mappedField, mapSource) {
2456
2491
  if (mapSource.deprecated) {
2457
2492
  return {};
@@ -4335,6 +4370,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
4335
4370
  * limitations under the License.
4336
4371
  */
4337
4372
  class GioFjsObjectTypeComponent extends FieldType {
4373
+ constructor() {
4374
+ super(...arguments);
4375
+ this.classNoUiBorder = false;
4376
+ }
4377
+ ngOnInit() {
4378
+ this.classNoUiBorder = this.props.uiBorder === 'none';
4379
+ }
4338
4380
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GioFjsObjectTypeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4339
4381
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: GioFjsObjectTypeComponent, selector: "gio-fjs-object-type", usesInheritance: true, ngImport: i0, template: `
4340
4382
  <div class="wrapper">
@@ -4343,13 +4385,13 @@ class GioFjsObjectTypeComponent extends FieldType {
4343
4385
  <div class="wrapper__error gio-ng-invalid" *ngIf="showError && formControl.errors">
4344
4386
  <formly-validation-message [field]="field"></formly-validation-message>
4345
4387
  </div>
4346
- <div class="wrapper__fields">
4388
+ <div class="wrapper__fields" [class.noUiBorder]="classNoUiBorder">
4347
4389
  <ng-container *ngFor="let f of field.fieldGroup">
4348
4390
  <formly-field *ngIf="f.type" class="wrapper__fields__field" [field]="f"></formly-field>
4349
4391
  </ng-container>
4350
4392
  </div>
4351
4393
  </div>
4352
- `, isInline: true, styles: ["@charset \"UTF-8\";.gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}.wrapper{display:flex;flex-direction:column}.wrapper__title{font-size:18px;font-weight:600;line-height:24px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px;margin-bottom:16px}.wrapper:empty{display:none}.wrapper__error{font-size:12px;font-weight:400;line-height:16px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;color:#ec4899}.wrapper__fields{padding:8px;border:1px solid #d3d5dc;border-radius:8px}.wrapper__fields:empty{display:none}.wrapper__fields:has(>.wrapper__fields__field:only-child):has(>.wrapper__fields__field:empty){display:none}.wrapper__fields__field:empty{display:none}.wrapper__fields__field+.wrapper__fields__field:not(:empty){display:block;margin-top:8px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "component", type: i2$2.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }] }); }
4394
+ `, isInline: true, styles: ["@charset \"UTF-8\";.gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}.wrapper{display:flex;flex-direction:column}.wrapper__title{font-size:18px;font-weight:600;line-height:24px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px;margin-bottom:16px}.wrapper:empty{display:none}.wrapper__error{font-size:12px;font-weight:400;line-height:16px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;color:#ec4899}.wrapper__fields{padding:8px;border:1px solid #d3d5dc;border-radius:8px}.wrapper__fields.noUiBorder{padding:0;border:none}.wrapper__fields:empty{display:none}.wrapper__fields:has(>.wrapper__fields__field:only-child):has(>.wrapper__fields__field:empty){display:none}.wrapper__fields__field:empty{display:none}.wrapper__fields__field+.wrapper__fields__field:not(:empty){display:block;margin-top:8px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "component", type: i2$2.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }] }); }
4353
4395
  }
4354
4396
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GioFjsObjectTypeComponent, decorators: [{
4355
4397
  type: Component,
@@ -4360,13 +4402,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
4360
4402
  <div class="wrapper__error gio-ng-invalid" *ngIf="showError && formControl.errors">
4361
4403
  <formly-validation-message [field]="field"></formly-validation-message>
4362
4404
  </div>
4363
- <div class="wrapper__fields">
4405
+ <div class="wrapper__fields" [class.noUiBorder]="classNoUiBorder">
4364
4406
  <ng-container *ngFor="let f of field.fieldGroup">
4365
4407
  <formly-field *ngIf="f.type" class="wrapper__fields__field" [field]="f"></formly-field>
4366
4408
  </ng-container>
4367
4409
  </div>
4368
4410
  </div>
4369
- `, styles: ["@charset \"UTF-8\";.gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}.wrapper{display:flex;flex-direction:column}.wrapper__title{font-size:18px;font-weight:600;line-height:24px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px;margin-bottom:16px}.wrapper:empty{display:none}.wrapper__error{font-size:12px;font-weight:400;line-height:16px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;color:#ec4899}.wrapper__fields{padding:8px;border:1px solid #d3d5dc;border-radius:8px}.wrapper__fields:empty{display:none}.wrapper__fields:has(>.wrapper__fields__field:only-child):has(>.wrapper__fields__field:empty){display:none}.wrapper__fields__field:empty{display:none}.wrapper__fields__field+.wrapper__fields__field:not(:empty){display:block;margin-top:8px}\n"] }]
4411
+ `, styles: ["@charset \"UTF-8\";.gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}.wrapper{display:flex;flex-direction:column}.wrapper__title{font-size:18px;font-weight:600;line-height:24px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px;margin-bottom:16px}.wrapper:empty{display:none}.wrapper__error{font-size:12px;font-weight:400;line-height:16px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;color:#ec4899}.wrapper__fields{padding:8px;border:1px solid #d3d5dc;border-radius:8px}.wrapper__fields.noUiBorder{padding:0;border:none}.wrapper__fields:empty{display:none}.wrapper__fields:has(>.wrapper__fields__field:only-child):has(>.wrapper__fields__field:empty){display:none}.wrapper__fields__field:empty{display:none}.wrapper__fields__field+.wrapper__fields__field:not(:empty){display:block;margin-top:8px}\n"] }]
4370
4412
  }] });
4371
4413
 
4372
4414
  /*
@@ -4388,10 +4430,14 @@ class GioFjsArrayTypeComponent extends FieldArrayType {
4388
4430
  constructor() {
4389
4431
  super(...arguments);
4390
4432
  this.collapse = false;
4433
+ this.classNoUiBorder = false;
4434
+ }
4435
+ ngOnInit() {
4436
+ this.classNoUiBorder = this.props.uiBorder === 'none';
4391
4437
  }
4392
4438
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GioFjsArrayTypeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4393
4439
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: GioFjsArrayTypeComponent, selector: "gio-fjs-array-type", usesInheritance: true, ngImport: i0, template: `
4394
- <div class="wrapper" [class.error]="formControl.touched && formControl.invalid">
4440
+ <div class="wrapper" [class.error]="formControl.touched && formControl.invalid" [class.noUiBorder]="classNoUiBorder">
4395
4441
  <div class="wrapper__header">
4396
4442
  <div class="wrapper__header__text">
4397
4443
  <div class="wrapper__header__text__title" *ngIf="to.label">{{ to.label }}</div>
@@ -4425,12 +4471,12 @@ class GioFjsArrayTypeComponent extends FieldArrayType {
4425
4471
  </div>
4426
4472
  </div>
4427
4473
  </div>
4428
- `, isInline: true, styles: ["@charset \"UTF-8\";.gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}.wrapper{padding:8px;border:1px solid #d3d5dc;border-radius:8px}.wrapper.error{border-color:#ec4899}.wrapper:empty{display:none}.wrapper__header{display:flex}.wrapper__header__text{flex:1 1 auto}.wrapper__header__text__title{font-size:14px;font-weight:500;line-height:22px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px;margin-bottom:8px}.wrapper__header__collapse{flex:0 0 auto}.wrapper__header__collapse .collapse-open{transform:rotate(180deg);transition:transform 225ms cubic-bezier(.4,0,.2,1)}.wrapper__header__collapse .collapse-close{transform:rotate(0);transition:transform 225ms cubic-bezier(.4,0,.2,1)}.wrapper__error{font-size:12px;font-weight:400;line-height:16px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;color:#ec4899}.wrapper__rows__row{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.wrapper__rows__row+.wrapper__rows__row{padding-top:3px;border-top:1px solid #d3d5dc;margin-top:4px}.wrapper__rows__row__field{flex:1 1 auto}.wrapper__rows__row__remove{flex:0 0 auto}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "component", type: i2$2.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }] }); }
4474
+ `, isInline: true, styles: ["@charset \"UTF-8\";.gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}.wrapper{padding:8px;border:1px solid #d3d5dc;border-radius:8px}.wrapper.noUiBorder{padding:0;border:none}.wrapper.error{border-color:#ec4899}.wrapper:empty{display:none}.wrapper__header{display:flex}.wrapper__header__text{flex:1 1 auto}.wrapper__header__text__title{font-size:14px;font-weight:500;line-height:22px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px;margin-bottom:8px}.wrapper__header__collapse{flex:0 0 auto}.wrapper__header__collapse .collapse-open{transform:rotate(180deg);transition:transform 225ms cubic-bezier(.4,0,.2,1)}.wrapper__header__collapse .collapse-close{transform:rotate(0);transition:transform 225ms cubic-bezier(.4,0,.2,1)}.wrapper__error{font-size:12px;font-weight:400;line-height:16px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;color:#ec4899}.wrapper__rows__row{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.wrapper__rows__row+.wrapper__rows__row{padding-top:3px;border-top:1px solid #d3d5dc;margin-top:4px}.wrapper__rows__row__field{flex:1 1 auto}.wrapper__rows__row__remove{flex:0 0 auto}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "component", type: i2$2.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }] }); }
4429
4475
  }
4430
4476
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GioFjsArrayTypeComponent, decorators: [{
4431
4477
  type: Component,
4432
4478
  args: [{ selector: 'gio-fjs-array-type', template: `
4433
- <div class="wrapper" [class.error]="formControl.touched && formControl.invalid">
4479
+ <div class="wrapper" [class.error]="formControl.touched && formControl.invalid" [class.noUiBorder]="classNoUiBorder">
4434
4480
  <div class="wrapper__header">
4435
4481
  <div class="wrapper__header__text">
4436
4482
  <div class="wrapper__header__text__title" *ngIf="to.label">{{ to.label }}</div>
@@ -4464,7 +4510,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
4464
4510
  </div>
4465
4511
  </div>
4466
4512
  </div>
4467
- `, styles: ["@charset \"UTF-8\";.gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}.wrapper{padding:8px;border:1px solid #d3d5dc;border-radius:8px}.wrapper.error{border-color:#ec4899}.wrapper:empty{display:none}.wrapper__header{display:flex}.wrapper__header__text{flex:1 1 auto}.wrapper__header__text__title{font-size:14px;font-weight:500;line-height:22px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px;margin-bottom:8px}.wrapper__header__collapse{flex:0 0 auto}.wrapper__header__collapse .collapse-open{transform:rotate(180deg);transition:transform 225ms cubic-bezier(.4,0,.2,1)}.wrapper__header__collapse .collapse-close{transform:rotate(0);transition:transform 225ms cubic-bezier(.4,0,.2,1)}.wrapper__error{font-size:12px;font-weight:400;line-height:16px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;color:#ec4899}.wrapper__rows__row{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.wrapper__rows__row+.wrapper__rows__row{padding-top:3px;border-top:1px solid #d3d5dc;margin-top:4px}.wrapper__rows__row__field{flex:1 1 auto}.wrapper__rows__row__remove{flex:0 0 auto}\n"] }]
4513
+ `, styles: ["@charset \"UTF-8\";.gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}.wrapper{padding:8px;border:1px solid #d3d5dc;border-radius:8px}.wrapper.noUiBorder{padding:0;border:none}.wrapper.error{border-color:#ec4899}.wrapper:empty{display:none}.wrapper__header{display:flex}.wrapper__header__text{flex:1 1 auto}.wrapper__header__text__title{font-size:14px;font-weight:500;line-height:22px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px;margin-bottom:8px}.wrapper__header__collapse{flex:0 0 auto}.wrapper__header__collapse .collapse-open{transform:rotate(180deg);transition:transform 225ms cubic-bezier(.4,0,.2,1)}.wrapper__header__collapse .collapse-close{transform:rotate(0);transition:transform 225ms cubic-bezier(.4,0,.2,1)}.wrapper__error{font-size:12px;font-weight:400;line-height:16px;font-family:Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;color:#ec4899}.wrapper__rows__row{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.wrapper__rows__row+.wrapper__rows__row{padding-top:3px;border-top:1px solid #d3d5dc;margin-top:4px}.wrapper__rows__row__field{flex:1 1 auto}.wrapper__rows__row__remove{flex:0 0 auto}\n"] }]
4468
4514
  }] });
4469
4515
 
4470
4516
  function minItemsValidationMessage(error, field) {
@@ -4489,10 +4535,10 @@ function multipleOfValidationMessage(error, field) {
4489
4535
  return `Should be multiple of ${field.props?.step}`;
4490
4536
  }
4491
4537
  function exclusiveMinimumValidationMessage(error, field) {
4492
- return `Should be > ${field.props?.step}`;
4538
+ return `Should be > ${field.props?.exclusiveMinimum}`;
4493
4539
  }
4494
4540
  function exclusiveMaximumValidationMessage(error, field) {
4495
- return `Should be < ${field.props?.step}`;
4541
+ return `Should be < ${field.props?.exclusiveMaximum}`;
4496
4542
  }
4497
4543
  function constValidationMessage(error, field) {
4498
4544
  return `Should be equal to constant "${field.props?.const}"`;