ngx-rs-ant 1.3.5 → 1.3.6
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/box-container/box-item/box-item.component.d.ts +3 -0
- package/data-grid/data-grid.component.d.ts +1 -1
- package/esm2020/box-container/box-item/box-item.component.mjs +5 -2
- package/esm2020/data-grid/data-grid.component.mjs +2 -1
- package/esm2020/form/form.component.mjs +2 -1
- package/fesm2015/ngx-rs-ant.mjs +3 -1
- package/fesm2015/ngx-rs-ant.mjs.map +1 -1
- package/fesm2020/ngx-rs-ant.mjs +6 -1
- package/fesm2020/ngx-rs-ant.mjs.map +1 -1
- package/form/form.component.d.ts +1 -1
- package/package.json +1 -1
package/fesm2020/ngx-rs-ant.mjs
CHANGED
|
@@ -589,7 +589,10 @@ class BoxItemComponent {
|
|
|
589
589
|
calcStyle(item) {
|
|
590
590
|
const width = item.style?.width ? item.style.width : 'auto';
|
|
591
591
|
const height = item.style?.height ? item.style.height : 'auto';
|
|
592
|
-
return
|
|
592
|
+
return {
|
|
593
|
+
...this._calcStyle(this.config.direction, width, height),
|
|
594
|
+
position: 'relative'
|
|
595
|
+
};
|
|
593
596
|
}
|
|
594
597
|
_calcStyle(direction, width, height) {
|
|
595
598
|
if (direction === 'row') {
|
|
@@ -2591,6 +2594,7 @@ class DataGridComponent {
|
|
|
2591
2594
|
constructor(factory, service) {
|
|
2592
2595
|
this.factory = factory;
|
|
2593
2596
|
this.service = service;
|
|
2597
|
+
this.tenant = 'T';
|
|
2594
2598
|
this.enableMasterDetail = false;
|
|
2595
2599
|
this.selectionMode = 'none';
|
|
2596
2600
|
this.onDxDataGridCellPrepared = new EventEmitter();
|
|
@@ -2924,6 +2928,7 @@ class FormComponent {
|
|
|
2924
2928
|
constructor(viewContainerRef, service) {
|
|
2925
2929
|
this.viewContainerRef = viewContainerRef;
|
|
2926
2930
|
this.service = service;
|
|
2931
|
+
this.tenant = 'T';
|
|
2927
2932
|
this.onlyFrontEnd = false; // 仅前端,不通过oid获取实例model
|
|
2928
2933
|
this.readonly = false;
|
|
2929
2934
|
this.submitCallback = new EventEmitter();
|