@gravitee/ui-particles-angular 16.2.1-apim-11833-llm-proxy-ui-does-not-match-designs-2eb195a → 16.2.1-apim-11427-b9db356
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.
|
@@ -2964,8 +2964,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
|
|
|
2964
2964
|
* limitations under the License.
|
|
2965
2965
|
*/
|
|
2966
2966
|
class GioFormlyJsonSchemaService {
|
|
2967
|
-
constructor(formlyJsonschema) {
|
|
2967
|
+
constructor(formlyJsonschema, builder) {
|
|
2968
2968
|
this.formlyJsonschema = formlyJsonschema;
|
|
2969
|
+
this.builder = builder;
|
|
2969
2970
|
}
|
|
2970
2971
|
toFormlyFieldConfig(jsonSchema, context) {
|
|
2971
2972
|
return this.formlyJsonschema.toFieldConfig(jsonSchema, {
|
|
@@ -3015,7 +3016,6 @@ class GioFormlyJsonSchemaService {
|
|
|
3015
3016
|
mappedField = {
|
|
3016
3017
|
key: mappedField.key,
|
|
3017
3018
|
type: mapSource.gioConfig?.uiType,
|
|
3018
|
-
wrappers: ['gio-currency-prefix'],
|
|
3019
3019
|
props: {
|
|
3020
3020
|
...mappedField.props,
|
|
3021
3021
|
...mapSource.gioConfig?.uiTypeProps,
|
|
@@ -3072,15 +3072,6 @@ class GioFormlyJsonSchemaService {
|
|
|
3072
3072
|
},
|
|
3073
3073
|
};
|
|
3074
3074
|
}
|
|
3075
|
-
if (mapSource.gioConfig?.currency) {
|
|
3076
|
-
mappedField.props = {
|
|
3077
|
-
...mappedField.props,
|
|
3078
|
-
attributes: {
|
|
3079
|
-
...mappedField.props?.attributes,
|
|
3080
|
-
currency: 1,
|
|
3081
|
-
},
|
|
3082
|
-
};
|
|
3083
|
-
}
|
|
3084
3075
|
return mappedField;
|
|
3085
3076
|
}
|
|
3086
3077
|
bannerMap(mappedField, mapSource) {
|
|
@@ -3183,12 +3174,12 @@ class GioFormlyJsonSchemaService {
|
|
|
3183
3174
|
}
|
|
3184
3175
|
return mappedField;
|
|
3185
3176
|
}
|
|
3186
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: GioFormlyJsonSchemaService, deps: [{ token: i1$7.FormlyJsonschema }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3177
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: GioFormlyJsonSchemaService, deps: [{ token: i1$7.FormlyJsonschema }, { token: i1$8.FormlyFormBuilder }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3187
3178
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: GioFormlyJsonSchemaService }); }
|
|
3188
3179
|
}
|
|
3189
3180
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: GioFormlyJsonSchemaService, decorators: [{
|
|
3190
3181
|
type: Injectable
|
|
3191
|
-
}], ctorParameters: () => [{ type: i1$7.FormlyJsonschema }] });
|
|
3182
|
+
}], ctorParameters: () => [{ type: i1$7.FormlyJsonschema }, { type: i1$8.FormlyFormBuilder }] });
|
|
3192
3183
|
const getBannerProperties = (banner) => {
|
|
3193
3184
|
return {
|
|
3194
3185
|
bannerText: banner.text,
|
|
@@ -5405,50 +5396,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
|
|
|
5405
5396
|
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"] }]
|
|
5406
5397
|
}] });
|
|
5407
5398
|
|
|
5408
|
-
/*
|
|
5409
|
-
* Copyright (C) 2025 The Gravitee team (http://gravitee.io)
|
|
5410
|
-
*
|
|
5411
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5412
|
-
* you may not use this file except in compliance with the License.
|
|
5413
|
-
* You may obtain a copy of the License at
|
|
5414
|
-
*
|
|
5415
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
5416
|
-
*
|
|
5417
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
5418
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
5419
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
5420
|
-
* See the License for the specific language governing permissions and
|
|
5421
|
-
* limitations under the License.
|
|
5422
|
-
*/
|
|
5423
|
-
class GioCurrencyPrefixWrapperComponent extends FieldWrapper {
|
|
5424
|
-
constructor() {
|
|
5425
|
-
super(...arguments);
|
|
5426
|
-
this.hide = true;
|
|
5427
|
-
}
|
|
5428
|
-
ngAfterViewInit() {
|
|
5429
|
-
if (this.matPrefix) {
|
|
5430
|
-
this.props.prefix = this.matPrefix;
|
|
5431
|
-
}
|
|
5432
|
-
}
|
|
5433
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: GioCurrencyPrefixWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5434
|
-
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\"> $</span>\n</ng-template>\n", styles: [".currency-prefix{margin-left:8px;color:#0009}\n"] }); }
|
|
5435
|
-
}
|
|
5436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: GioCurrencyPrefixWrapperComponent, decorators: [{
|
|
5437
|
-
type: Component,
|
|
5438
|
-
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\"> $</span>\n</ng-template>\n", styles: [".currency-prefix{margin-left:8px;color:#0009}\n"] }]
|
|
5439
|
-
}], propDecorators: { matPrefix: [{
|
|
5440
|
-
type: ViewChild,
|
|
5441
|
-
args: ['matPrefix', { static: true }]
|
|
5442
|
-
}] } });
|
|
5443
|
-
function currencyPrefixExtension(field) {
|
|
5444
|
-
/*if (field.props?.attributes?.currency) {
|
|
5445
|
-
field.wrappers = [...(field.wrappers || []), 'gio-currency-prefix'];
|
|
5446
|
-
}*/
|
|
5447
|
-
if (field.props?.attributes?.currency) {
|
|
5448
|
-
field.wrappers = [...(field.wrappers || []), 'gio-currency-prefix'];
|
|
5449
|
-
}
|
|
5450
|
-
}
|
|
5451
|
-
|
|
5452
5399
|
function bannerExtension(field) {
|
|
5453
5400
|
if (!field.props || (field.wrappers && field.wrappers.indexOf('gio-with-banner') !== -1)) {
|
|
5454
5401
|
return;
|
|
@@ -5923,8 +5870,7 @@ class GioFormJsonSchemaModule {
|
|
|
5923
5870
|
GioFjsCronTypeComponent,
|
|
5924
5871
|
GioBannerWrapperComponent,
|
|
5925
5872
|
GioPasswordEyeWrapperComponent,
|
|
5926
|
-
GioElHelperWrapperComponent,
|
|
5927
|
-
GioCurrencyPrefixWrapperComponent], imports: [CommonModule,
|
|
5873
|
+
GioElHelperWrapperComponent], imports: [CommonModule,
|
|
5928
5874
|
A11yModule,
|
|
5929
5875
|
ReactiveFormsModule, i1$8.FormlyModule, FormlyMaterialModule,
|
|
5930
5876
|
MatInputModule,
|
|
@@ -5961,7 +5907,6 @@ class GioFormJsonSchemaModule {
|
|
|
5961
5907
|
{ name: 'gio-with-banner', component: GioBannerWrapperComponent },
|
|
5962
5908
|
{ name: 'gio-password-eye', component: GioPasswordEyeWrapperComponent },
|
|
5963
5909
|
{ name: 'gio-el-help', component: GioElHelperWrapperComponent },
|
|
5964
|
-
{ name: 'gio-currency-prefix', component: GioCurrencyPrefixWrapperComponent },
|
|
5965
5910
|
],
|
|
5966
5911
|
types: [
|
|
5967
5912
|
{ name: 'null', component: GioFjsNullTypeComponent, wrappers: ['form-field'] },
|
|
@@ -5990,7 +5935,6 @@ class GioFormJsonSchemaModule {
|
|
|
5990
5935
|
{ name: 'banner', extension: { onPopulate: bannerExtension } },
|
|
5991
5936
|
{ name: 'password-eye', extension: { onPopulate: passwordEyeExtension } },
|
|
5992
5937
|
{ name: 'el-help', extension: { onPopulate: elHelpExtension } },
|
|
5993
|
-
{ name: 'gio-currency-prefix', extension: { onPopulate: currencyPrefixExtension } },
|
|
5994
5938
|
],
|
|
5995
5939
|
extras: {
|
|
5996
5940
|
checkExpressionOn: 'changeDetectionCheck',
|
|
@@ -6027,7 +5971,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
|
|
|
6027
5971
|
GioBannerWrapperComponent,
|
|
6028
5972
|
GioPasswordEyeWrapperComponent,
|
|
6029
5973
|
GioElHelperWrapperComponent,
|
|
6030
|
-
GioCurrencyPrefixWrapperComponent,
|
|
6031
5974
|
],
|
|
6032
5975
|
imports: [
|
|
6033
5976
|
CommonModule,
|
|
@@ -6054,7 +5997,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
|
|
|
6054
5997
|
{ name: 'gio-with-banner', component: GioBannerWrapperComponent },
|
|
6055
5998
|
{ name: 'gio-password-eye', component: GioPasswordEyeWrapperComponent },
|
|
6056
5999
|
{ name: 'gio-el-help', component: GioElHelperWrapperComponent },
|
|
6057
|
-
{ name: 'gio-currency-prefix', component: GioCurrencyPrefixWrapperComponent },
|
|
6058
6000
|
],
|
|
6059
6001
|
types: [
|
|
6060
6002
|
{ name: 'null', component: GioFjsNullTypeComponent, wrappers: ['form-field'] },
|
|
@@ -6083,7 +6025,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
|
|
|
6083
6025
|
{ name: 'banner', extension: { onPopulate: bannerExtension } },
|
|
6084
6026
|
{ name: 'password-eye', extension: { onPopulate: passwordEyeExtension } },
|
|
6085
6027
|
{ name: 'el-help', extension: { onPopulate: elHelpExtension } },
|
|
6086
|
-
{ name: 'gio-currency-prefix', extension: { onPopulate: currencyPrefixExtension } },
|
|
6087
6028
|
],
|
|
6088
6029
|
extras: {
|
|
6089
6030
|
checkExpressionOn: 'changeDetectionCheck',
|