@gravitee/ui-particles-angular 16.2.1-apim-11833-llm-proxy-ui-does-not-match-designs-d7b6a16 → 16.2.1-apim-11833-llm-proxy-ui-does-not-match-designs-35aa20b

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.
@@ -3016,7 +3016,6 @@ class GioFormlyJsonSchemaService {
3016
3016
  mappedField = {
3017
3017
  key: mappedField.key,
3018
3018
  type: mapSource.gioConfig?.uiType,
3019
- wrappers: ['gio-currency-prefix'],
3020
3019
  props: {
3021
3020
  ...mappedField.props,
3022
3021
  ...mapSource.gioConfig?.uiTypeProps,
@@ -3073,15 +3072,6 @@ class GioFormlyJsonSchemaService {
3073
3072
  },
3074
3073
  };
3075
3074
  }
3076
- if (mapSource.gioConfig?.currency) {
3077
- mappedField.props = {
3078
- ...mappedField.props,
3079
- attributes: {
3080
- ...mappedField.props?.attributes,
3081
- currency: 1,
3082
- },
3083
- };
3084
- }
3085
3075
  return mappedField;
3086
3076
  }
3087
3077
  bannerMap(mappedField, mapSource) {
@@ -5467,47 +5457,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
5467
5457
  args: [{ selector: 'gio-banner-wrapper', standalone: false, 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: ["@charset \"UTF-8\";.gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #ffc2ac);color:var(--gio-oem-palette--active-contrast, #1e1b1b)}::ng-deep gio-banner-wrapper ul{padding-inline-start:16px}.wrapper{padding:8px 0}.banner{display:flex;flex-direction:row;align-items:flex-start;padding:8px;border-radius:8px;margin-bottom:8px;background:#f7f7f8;gap:8px}.banner__icon{padding-top:2px}.banner__icon mat-icon{width:16px;height:16px;color:#da3b00}.banner__title{font-size:14px;font-weight:700;line-height:20px;font-family:Manrope,sans-serif;letter-spacing:.4px}.banner__text{font-size:14px;font-weight:500;line-height:22px;font-family:Manrope,sans-serif;letter-spacing:.4px;color:#322f2f}\n"] }]
5468
5458
  }] });
5469
5459
 
5470
- /*
5471
- * Copyright (C) 2025 The Gravitee team (http://gravitee.io)
5472
- *
5473
- * Licensed under the Apache License, Version 2.0 (the "License");
5474
- * you may not use this file except in compliance with the License.
5475
- * You may obtain a copy of the License at
5476
- *
5477
- * http://www.apache.org/licenses/LICENSE-2.0
5478
- *
5479
- * Unless required by applicable law or agreed to in writing, software
5480
- * distributed under the License is distributed on an "AS IS" BASIS,
5481
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5482
- * See the License for the specific language governing permissions and
5483
- * limitations under the License.
5484
- */
5485
- class GioCurrencyPrefixWrapperComponent extends FieldWrapper {
5486
- constructor() {
5487
- super(...arguments);
5488
- this.hide = true;
5489
- }
5490
- ngAfterViewInit() {
5491
- if (this.matPrefix) {
5492
- this.props.prefix = this.matPrefix;
5493
- }
5494
- }
5495
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: GioCurrencyPrefixWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5496
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.3", type: GioCurrencyPrefixWrapperComponent, isStandalone: false, selector: "gio-currency-prefix-wrapper", viewQueries: [{ propertyName: "matPrefix", first: true, predicate: ["matPrefix"], descendants: true, static: true }], 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<ng-container #fieldComponent></ng-container>\n\n<ng-template #matPrefix>\n <span class=\"currency-prefix\">&nbsp; $</span>\n</ng-template>\n", styles: [".currency-prefix{margin-left:8px}\n"] }); }
5497
- }
5498
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: GioCurrencyPrefixWrapperComponent, decorators: [{
5499
- type: Component,
5500
- args: [{ selector: 'gio-currency-prefix-wrapper', standalone: false, 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<ng-container #fieldComponent></ng-container>\n\n<ng-template #matPrefix>\n <span class=\"currency-prefix\">&nbsp; $</span>\n</ng-template>\n", styles: [".currency-prefix{margin-left:8px}\n"] }]
5501
- }], propDecorators: { matPrefix: [{
5502
- type: ViewChild,
5503
- args: ['matPrefix', { static: true }]
5504
- }] } });
5505
- function currencyPrefixExtension(field) {
5506
- if (field.props?.attributes?.currency) {
5507
- field.wrappers = [...(field.wrappers || []), 'gio-currency-prefix'];
5508
- }
5509
- }
5510
-
5511
5460
  function bannerExtension(field) {
5512
5461
  if (!field.props || (field.wrappers && field.wrappers.indexOf('gio-with-banner') !== -1)) {
5513
5462
  return;
@@ -5982,8 +5931,7 @@ class GioFormJsonSchemaModule {
5982
5931
  GioFjsCronTypeComponent,
5983
5932
  GioBannerWrapperComponent,
5984
5933
  GioPasswordEyeWrapperComponent,
5985
- GioElHelperWrapperComponent,
5986
- GioCurrencyPrefixWrapperComponent], imports: [CommonModule,
5934
+ GioElHelperWrapperComponent], imports: [CommonModule,
5987
5935
  A11yModule,
5988
5936
  ReactiveFormsModule, i1$8.FormlyModule, FormlyMaterialModule,
5989
5937
  MatInputModule,
@@ -6020,7 +5968,6 @@ class GioFormJsonSchemaModule {
6020
5968
  { name: 'gio-with-banner', component: GioBannerWrapperComponent },
6021
5969
  { name: 'gio-password-eye', component: GioPasswordEyeWrapperComponent },
6022
5970
  { name: 'gio-el-help', component: GioElHelperWrapperComponent },
6023
- { name: 'gio-currency-prefix', component: GioCurrencyPrefixWrapperComponent },
6024
5971
  ],
6025
5972
  types: [
6026
5973
  { name: 'null', component: GioFjsNullTypeComponent, wrappers: ['form-field'] },
@@ -6049,7 +5996,6 @@ class GioFormJsonSchemaModule {
6049
5996
  { name: 'banner', extension: { onPopulate: bannerExtension } },
6050
5997
  { name: 'password-eye', extension: { onPopulate: passwordEyeExtension } },
6051
5998
  { name: 'el-help', extension: { onPopulate: elHelpExtension } },
6052
- { name: 'gio-currency-prefix', extension: { onPopulate: currencyPrefixExtension } },
6053
5999
  ],
6054
6000
  extras: {
6055
6001
  checkExpressionOn: 'changeDetectionCheck',
@@ -6086,7 +6032,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
6086
6032
  GioBannerWrapperComponent,
6087
6033
  GioPasswordEyeWrapperComponent,
6088
6034
  GioElHelperWrapperComponent,
6089
- GioCurrencyPrefixWrapperComponent,
6090
6035
  ],
6091
6036
  imports: [
6092
6037
  CommonModule,
@@ -6113,7 +6058,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
6113
6058
  { name: 'gio-with-banner', component: GioBannerWrapperComponent },
6114
6059
  { name: 'gio-password-eye', component: GioPasswordEyeWrapperComponent },
6115
6060
  { name: 'gio-el-help', component: GioElHelperWrapperComponent },
6116
- { name: 'gio-currency-prefix', component: GioCurrencyPrefixWrapperComponent },
6117
6061
  ],
6118
6062
  types: [
6119
6063
  { name: 'null', component: GioFjsNullTypeComponent, wrappers: ['form-field'] },
@@ -6142,7 +6086,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
6142
6086
  { name: 'banner', extension: { onPopulate: bannerExtension } },
6143
6087
  { name: 'password-eye', extension: { onPopulate: passwordEyeExtension } },
6144
6088
  { name: 'el-help', extension: { onPopulate: elHelpExtension } },
6145
- { name: 'gio-currency-prefix', extension: { onPopulate: currencyPrefixExtension } },
6146
6089
  ],
6147
6090
  extras: {
6148
6091
  checkExpressionOn: 'changeDetectionCheck',