@tetacom/ng-components 1.0.118 → 1.0.120
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/component/property-grid/property-grid/property-grid-group/property-grid-group.component.d.ts +0 -1
- package/component/property-grid/property-grid.module.d.ts +2 -1
- package/esm2020/component/dropdown/dropdown-base.mjs +2 -2
- package/esm2020/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +7 -10
- package/esm2020/component/property-grid/property-grid.module.mjs +7 -3
- package/esm2020/component/select/select/select.component.mjs +2 -2
- package/esm2020/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.mjs +1 -1
- package/esm2020/directive/auto-position/auto-position.directive.mjs +3 -1
- package/esm2020/directive/dynamic-content-base.directive.mjs +2 -2
- package/fesm2015/tetacom-ng-components.mjs +12 -12
- package/fesm2015/tetacom-ng-components.mjs.map +1 -1
- package/fesm2020/tetacom-ng-components.mjs +12 -12
- package/fesm2020/tetacom-ng-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1223,7 +1223,7 @@ class DropdownBase {
|
|
|
1223
1223
|
this._zone = _zone;
|
|
1224
1224
|
this._renderer = _renderer;
|
|
1225
1225
|
this.align = Align.left;
|
|
1226
|
-
this.verticalAlign = VerticalAlign.
|
|
1226
|
+
this.verticalAlign = VerticalAlign.auto;
|
|
1227
1227
|
this.backdrop = false;
|
|
1228
1228
|
this.openChange = new EventEmitter();
|
|
1229
1229
|
this.autoClose = true;
|
|
@@ -3739,7 +3739,7 @@ class DynamicContentBaseDirective {
|
|
|
3739
3739
|
this._zone = _zone;
|
|
3740
3740
|
this._cdr = _cdr;
|
|
3741
3741
|
this.align = Align.left;
|
|
3742
|
-
this.verticalAlign = VerticalAlign.
|
|
3742
|
+
this.verticalAlign = VerticalAlign.auto;
|
|
3743
3743
|
this.openChange = new EventEmitter();
|
|
3744
3744
|
this._alive = true;
|
|
3745
3745
|
this._open = false;
|
|
@@ -4906,7 +4906,7 @@ class SelectComponent {
|
|
|
4906
4906
|
this._elementRef = _elementRef;
|
|
4907
4907
|
this._config = _config;
|
|
4908
4908
|
this.align = Align.minWidth;
|
|
4909
|
-
this.verticalAlign = VerticalAlign.
|
|
4909
|
+
this.verticalAlign = VerticalAlign.auto;
|
|
4910
4910
|
this.autoClose = true;
|
|
4911
4911
|
this.autoCloseIgnore = ['inside'];
|
|
4912
4912
|
this.itemSize = 32;
|
|
@@ -6683,20 +6683,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImpor
|
|
|
6683
6683
|
|
|
6684
6684
|
class PropertyGridGroupComponent {
|
|
6685
6685
|
constructor() {
|
|
6686
|
-
this.formClass = true;
|
|
6687
6686
|
this.controlValueChange = new EventEmitter();
|
|
6688
6687
|
}
|
|
6689
6688
|
ngOnInit() { }
|
|
6690
6689
|
}
|
|
6691
6690
|
PropertyGridGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PropertyGridGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6692
|
-
PropertyGridGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: PropertyGridGroupComponent, selector: "teta-property-grid-group", inputs: { column: "column", hideNonEditable: "hideNonEditable", dict: "dict", formGroup: "formGroup", horizontal: "horizontal" }, outputs: { controlValueChange: "controlValueChange" },
|
|
6691
|
+
PropertyGridGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: PropertyGridGroupComponent, selector: "teta-property-grid-group", inputs: { column: "column", hideNonEditable: "hideNonEditable", dict: "dict", formGroup: "formGroup", horizontal: "horizontal" }, outputs: { controlValueChange: "controlValueChange" }, ngImport: i0, template: "<teta-expand-card>\n <span class='font-title-3' ngProjectAs='head'>\n {{column.caption}}\n </span>\n <div class=\"form-container\">\n <ng-container *ngFor=\"let col of column.columns\">\n <ng-container *ngIf=\"col.columns?.length < 1\">\n <teta-property-grid-item *ngIf=\"column.editable || !hideNonEditable\"\n [id]=\"col.name\"\n [dict]=\"dict\"\n [column]=\"col\"\n [hideNonEditable]=\"hideNonEditable\"\n (controlValueChange)=\"controlValueChange.emit($event)\"\n [horizontal]=\"horizontal\"\n [formGroup]=\"formGroup\"></teta-property-grid-item>\n </ng-container>\n <ng-container *ngIf=\"col.columns?.length > 0\">\n <teta-property-grid-group [id]=\"col.name\"\n [dict]=\"dict\"\n [column]=\"col\"\n [hideNonEditable]=\"hideNonEditable\"\n [horizontal]=\"horizontal\"\n (controlValueChange)=\"controlValueChange.emit($event)\"\n [formGroup]=\"formGroup\"></teta-property-grid-group>\n </ng-container>\n </ng-container>\n </div>\n</teta-expand-card>\n", styles: [":host{display:flex;flex-direction:column}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: ExpandCardComponent, selector: "teta-expand-card", inputs: ["open", "showCross"], outputs: ["openChange", "crossClick"], exportAs: ["expand-card"] }, { kind: "component", type: PropertyGridGroupComponent, selector: "teta-property-grid-group", inputs: ["column", "hideNonEditable", "dict", "formGroup", "horizontal"], outputs: ["controlValueChange"] }, { kind: "component", type: PropertyGridItemComponent, selector: "teta-property-grid-item", inputs: ["column", "hideNonEditable", "dict", "formGroup", "horizontal"], outputs: ["controlValueChange"] }] });
|
|
6693
6692
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PropertyGridGroupComponent, decorators: [{
|
|
6694
6693
|
type: Component,
|
|
6695
|
-
args: [{ selector: 'teta-property-grid-group', template: "<
|
|
6696
|
-
}], ctorParameters: function () { return []; }, propDecorators: {
|
|
6697
|
-
type: HostBinding,
|
|
6698
|
-
args: ['class.form-container']
|
|
6699
|
-
}], column: [{
|
|
6694
|
+
args: [{ selector: 'teta-property-grid-group', template: "<teta-expand-card>\n <span class='font-title-3' ngProjectAs='head'>\n {{column.caption}}\n </span>\n <div class=\"form-container\">\n <ng-container *ngFor=\"let col of column.columns\">\n <ng-container *ngIf=\"col.columns?.length < 1\">\n <teta-property-grid-item *ngIf=\"column.editable || !hideNonEditable\"\n [id]=\"col.name\"\n [dict]=\"dict\"\n [column]=\"col\"\n [hideNonEditable]=\"hideNonEditable\"\n (controlValueChange)=\"controlValueChange.emit($event)\"\n [horizontal]=\"horizontal\"\n [formGroup]=\"formGroup\"></teta-property-grid-item>\n </ng-container>\n <ng-container *ngIf=\"col.columns?.length > 0\">\n <teta-property-grid-group [id]=\"col.name\"\n [dict]=\"dict\"\n [column]=\"col\"\n [hideNonEditable]=\"hideNonEditable\"\n [horizontal]=\"horizontal\"\n (controlValueChange)=\"controlValueChange.emit($event)\"\n [formGroup]=\"formGroup\"></teta-property-grid-group>\n </ng-container>\n </ng-container>\n </div>\n</teta-expand-card>\n", styles: [":host{display:flex;flex-direction:column}\n"] }]
|
|
6695
|
+
}], ctorParameters: function () { return []; }, propDecorators: { column: [{
|
|
6700
6696
|
type: Input
|
|
6701
6697
|
}], hideNonEditable: [{
|
|
6702
6698
|
type: Input
|
|
@@ -6879,7 +6875,8 @@ PropertyGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", vers
|
|
|
6879
6875
|
ToggleModule,
|
|
6880
6876
|
ReactiveFormsModule,
|
|
6881
6877
|
TranslocoModule,
|
|
6882
|
-
HintModule
|
|
6878
|
+
HintModule,
|
|
6879
|
+
ExpandCardModule], exports: [PropertyGridComponent] });
|
|
6883
6880
|
PropertyGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PropertyGridModule, providers: [
|
|
6884
6881
|
{
|
|
6885
6882
|
provide: TRANSLOCO_SCOPE,
|
|
@@ -6896,7 +6893,8 @@ PropertyGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
|
|
|
6896
6893
|
ToggleModule,
|
|
6897
6894
|
ReactiveFormsModule,
|
|
6898
6895
|
TranslocoModule,
|
|
6899
|
-
HintModule
|
|
6896
|
+
HintModule,
|
|
6897
|
+
ExpandCardModule] });
|
|
6900
6898
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PropertyGridModule, decorators: [{
|
|
6901
6899
|
type: NgModule,
|
|
6902
6900
|
args: [{
|
|
@@ -6922,6 +6920,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImpor
|
|
|
6922
6920
|
ReactiveFormsModule,
|
|
6923
6921
|
TranslocoModule,
|
|
6924
6922
|
HintModule,
|
|
6923
|
+
ExpandCardModule,
|
|
6925
6924
|
],
|
|
6926
6925
|
providers: [
|
|
6927
6926
|
{
|
|
@@ -11325,6 +11324,7 @@ class AutoPositionDirective {
|
|
|
11325
11324
|
constructor(_elementRef, _zone) {
|
|
11326
11325
|
this._elementRef = _elementRef;
|
|
11327
11326
|
this._zone = _zone;
|
|
11327
|
+
this.verticalAlign = VerticalAlign.auto;
|
|
11328
11328
|
this.fixed = 'fixed';
|
|
11329
11329
|
this._alive = true;
|
|
11330
11330
|
}
|