@trudb/tru-common-lib 0.0.188 → 0.0.190
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/esm2020/lib/base-views/detail/tru-detail-view-base.mjs +2 -2
- package/esm2020/lib/services/tru-entity-accessor.mjs +2 -5
- package/fesm2015/trudb-tru-common-lib.mjs +3 -6
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +3 -6
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/lib/services/tru-entity-accessor.d.ts +0 -1
- package/package.json +1 -1
|
@@ -131,10 +131,10 @@ class TruDetailViewBase {
|
|
|
131
131
|
constructor() { }
|
|
132
132
|
}
|
|
133
133
|
TruDetailViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruDetailViewBase, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
134
|
-
TruDetailViewBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.2", type: TruDetailViewBase, selector: "tru-detail-view-base", ngImport: i0, template: "", styles: ["
|
|
134
|
+
TruDetailViewBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.2", type: TruDetailViewBase, selector: "tru-detail-view-base", ngImport: i0, template: "", styles: [""] });
|
|
135
135
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruDetailViewBase, decorators: [{
|
|
136
136
|
type: Component,
|
|
137
|
-
args: [{ selector: 'tru-detail-view-base', template: ""
|
|
137
|
+
args: [{ selector: 'tru-detail-view-base', template: "" }]
|
|
138
138
|
}], ctorParameters: function () { return []; } });
|
|
139
139
|
|
|
140
140
|
class DetailViewModule {
|
|
@@ -1117,7 +1117,7 @@ class TruEntityAccessor {
|
|
|
1117
1117
|
return 'Query' + entity.name;
|
|
1118
1118
|
};
|
|
1119
1119
|
this.warnIfMaxRecords = (entities, entityName) => {
|
|
1120
|
-
if (entities.length >= this.
|
|
1120
|
+
if (entities.length >= this._maxRecordCount)
|
|
1121
1121
|
this.uiNotification.warning('[' + entityName + '] has more records available than supported');
|
|
1122
1122
|
};
|
|
1123
1123
|
this.formatQueryChoices = (query, entities, pKeyName, hid = null) => {
|
|
@@ -1280,9 +1280,6 @@ class TruEntityAccessor {
|
|
|
1280
1280
|
this._breezeContext = dataContext.breezeContext;
|
|
1281
1281
|
this._entityManager = dataContext.entityManager;
|
|
1282
1282
|
}
|
|
1283
|
-
set maxRecordCount(maxRecordCount) {
|
|
1284
|
-
this.maxRecordCount = maxRecordCount;
|
|
1285
|
-
}
|
|
1286
1283
|
}
|
|
1287
1284
|
TruEntityAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruEntityAccessor, deps: [{ token: i1$2.HttpClient }, { token: TruAppEnvironment }, { token: TruUiNotification }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1288
1285
|
TruEntityAccessor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruEntityAccessor });
|