@trudb/tru-common-lib 0.1.982 → 0.1.983
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.
|
@@ -1299,6 +1299,10 @@ class TruUtil {
|
|
|
1299
1299
|
var nodeName = target.nodeName.toLowerCase();
|
|
1300
1300
|
return nodeName === 'input' || nodeName === 'textarea' || nodeName === 'select' || nodeName === '#text';
|
|
1301
1301
|
};
|
|
1302
|
+
isLowerCase = (str) => {
|
|
1303
|
+
return str === str.toLowerCase() &&
|
|
1304
|
+
str !== str.toUpperCase();
|
|
1305
|
+
};
|
|
1302
1306
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TruUtil, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1303
1307
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TruUtil, providedIn: 'root' });
|
|
1304
1308
|
}
|
|
@@ -7339,7 +7343,9 @@ class TruDataGrid {
|
|
|
7339
7343
|
let properties = row.entityType.getPropertyNames();
|
|
7340
7344
|
properties
|
|
7341
7345
|
.filter((propertyName) => {
|
|
7342
|
-
return propertyName !== 'Ref' &&
|
|
7346
|
+
return propertyName !== 'Ref' &&
|
|
7347
|
+
propertyName !== this.config.resultConfig.entityType.name + 'Ref' &&
|
|
7348
|
+
!this.util.isLowerCase(propertyName.charAt(0));
|
|
7343
7349
|
})
|
|
7344
7350
|
.forEach((propertyName) => {
|
|
7345
7351
|
if (typeof newEntity.setProperty !== 'undefined')
|