@yuuvis/client-framework 2.3.12 → 2.3.14
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.
- package/fesm2022/yuuvis-client-framework-forms.mjs +11 -11
- package/fesm2022/yuuvis-client-framework-forms.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-metadata-form.mjs +10 -7
- package/fesm2022/yuuvis-client-framework-metadata-form.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-flavor.mjs +4 -2
- package/fesm2022/yuuvis-client-framework-object-flavor.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-form.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-preview.mjs +5 -2
- package/fesm2022/yuuvis-client-framework-object-preview.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-simple-search.mjs +2 -2
- package/fesm2022/yuuvis-client-framework-simple-search.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-sort.mjs +12 -2
- package/fesm2022/yuuvis-client-framework-sort.mjs.map +1 -1
- package/forms/lib/elements/catalog/catalog.component.d.ts +2 -2
- package/lib/assets/i18n/de.json +1 -0
- package/lib/assets/i18n/en.json +3 -2
- package/metadata-form/lib/object-metadata-element-template.directive.d.ts +2 -2
- package/object-preview/lib/services/object-preview.service.d.ts +1 -0
- package/package.json +8 -8
|
@@ -49,13 +49,11 @@ class EditTableDataComponent {
|
|
|
49
49
|
this.tableForm = this.#fb.group({});
|
|
50
50
|
this.isInnerTableForm = input(true);
|
|
51
51
|
this.formElement = this.#dialogData.formElement || {};
|
|
52
|
-
this.columns = (this.formElement['elements'] || []).map((c) => {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
};
|
|
58
|
-
});
|
|
52
|
+
this.columns = (this.formElement['elements'] || []).map((c) => ({
|
|
53
|
+
...c,
|
|
54
|
+
propertyType: c.type,
|
|
55
|
+
_internalType: this.#system.getInternalFormElementType(c.type, c.classifications)
|
|
56
|
+
}));
|
|
59
57
|
this.#elementData = this.#dialogData.elementData || {};
|
|
60
58
|
this.situation = this.#dialogData.situation || Situation.EDIT;
|
|
61
59
|
this.header = this.#dialogData.label || '';
|
|
@@ -1977,6 +1975,10 @@ class CatalogComponent extends AbstractMatFormField {
|
|
|
1977
1975
|
}
|
|
1978
1976
|
});
|
|
1979
1977
|
});
|
|
1978
|
+
/**
|
|
1979
|
+
* Possibles values are `EDIT` (default),`SEARCH`,`CREATE`. In search situation validation of the form element will be turned off, so you are able to enter search terms that do not meet the elements validators.
|
|
1980
|
+
*/
|
|
1981
|
+
this.situation = input();
|
|
1980
1982
|
this.ngControl = injectNgControl(this);
|
|
1981
1983
|
this.fc = new FormControl(undefined);
|
|
1982
1984
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
@@ -2022,14 +2024,12 @@ class CatalogComponent extends AbstractMatFormField {
|
|
|
2022
2024
|
super.onNgOnDestroy();
|
|
2023
2025
|
}
|
|
2024
2026
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CatalogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2025
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: CatalogComponent, isStandalone: true, selector: "yuv-catalog", inputs: { readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, classifications: { classPropertyName: "classifications", publicName: "classifications", isSignal: true, isRequired: false, transformFunction: null }, situation: { classPropertyName: "situation", publicName: "situation", isSignal:
|
|
2027
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: CatalogComponent, isStandalone: true, selector: "yuv-catalog", inputs: { readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, classifications: { classPropertyName: "classifications", publicName: "classifications", isSignal: true, isRequired: false, transformFunction: null }, situation: { classPropertyName: "situation", publicName: "situation", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: MatFormFieldControl, useExisting: CatalogComponent }], usesInheritance: true, ngImport: i0, template: "<mat-select [multiple]=\"multiple()\" [disabled]=\"readonly()\" [formControl]=\"fc\">\n @for (o of _options(); track o) {\n <mat-option [value]=\"o\">{{ o }}</mat-option>\n }\n</mat-select>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i1$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i1$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] }); }
|
|
2026
2028
|
}
|
|
2027
2029
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CatalogComponent, decorators: [{
|
|
2028
2030
|
type: Component,
|
|
2029
2031
|
args: [{ selector: 'yuv-catalog', imports: [CommonModule, MatSelectModule, ReactiveFormsModule], providers: [{ provide: MatFormFieldControl, useExisting: CatalogComponent }], template: "<mat-select [multiple]=\"multiple()\" [disabled]=\"readonly()\" [formControl]=\"fc\">\n @for (o of _options(); track o) {\n <mat-option [value]=\"o\">{{ o }}</mat-option>\n }\n</mat-select>\n" }]
|
|
2030
|
-
}]
|
|
2031
|
-
type: Input
|
|
2032
|
-
}] } });
|
|
2032
|
+
}] });
|
|
2033
2033
|
|
|
2034
2034
|
const formElementCmps = [
|
|
2035
2035
|
StringComponent,
|