bruce-models 6.4.6 → 6.4.7
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/dist/bruce-models.es5.js +9 -9
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +9 -9
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/data-lab/data-lab-group.js.map +1 -1
- package/dist/lib/data-lab/data-lab.js +2 -2
- package/dist/lib/data-lab/data-lab.js.map +1 -1
- package/dist/lib/project/menu-item.js.map +1 -1
- package/dist/lib/project/zoom-control.js.map +1 -1
- package/dist/lib/style/style.js +6 -6
- package/dist/lib/style/style.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/data-lab/data-lab-group.d.ts +1 -0
- package/dist/types/data-lab/data-lab.d.ts +2 -1
- package/dist/types/project/menu-item.d.ts +5 -5
- package/dist/types/project/zoom-control.d.ts +1 -1
- package/dist/types/style/style.d.ts +3 -2
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -8204,20 +8204,20 @@
|
|
|
8204
8204
|
*/
|
|
8205
8205
|
function Get(params) {
|
|
8206
8206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8207
|
-
let { api, styleId
|
|
8208
|
-
if (!
|
|
8209
|
-
throw ("
|
|
8207
|
+
let { api, styleId, req: reqParams } = params;
|
|
8208
|
+
if (!styleId) {
|
|
8209
|
+
throw ("styleId is required.");
|
|
8210
8210
|
}
|
|
8211
8211
|
if (!api) {
|
|
8212
8212
|
api = exports.ENVIRONMENT.Api().GetBruceApi();
|
|
8213
8213
|
}
|
|
8214
|
-
const cache = api.GetCacheItem(GetCacheKey(
|
|
8214
|
+
const cache = api.GetCacheItem(GetCacheKey(styleId), reqParams);
|
|
8215
8215
|
if (cache === null || cache === void 0 ? void 0 : cache.found) {
|
|
8216
8216
|
return cache.data;
|
|
8217
8217
|
}
|
|
8218
8218
|
const prom = new Promise((res, rej) => __awaiter(this, void 0, void 0, function* () {
|
|
8219
8219
|
try {
|
|
8220
|
-
const data = yield api.GET(`ui.entityDisplaySetting/${
|
|
8220
|
+
const data = yield api.GET(`ui.entityDisplaySetting/${styleId}`, exports.Api.PrepReqParams(reqParams));
|
|
8221
8221
|
res({
|
|
8222
8222
|
style: data
|
|
8223
8223
|
});
|
|
@@ -8227,7 +8227,7 @@
|
|
|
8227
8227
|
}
|
|
8228
8228
|
}));
|
|
8229
8229
|
api.SetCacheItem({
|
|
8230
|
-
key: GetCacheKey(
|
|
8230
|
+
key: GetCacheKey(styleId),
|
|
8231
8231
|
value: prom,
|
|
8232
8232
|
req: reqParams
|
|
8233
8233
|
});
|
|
@@ -14389,8 +14389,8 @@
|
|
|
14389
14389
|
function Get(params) {
|
|
14390
14390
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14391
14391
|
let { api, queryId, req } = params;
|
|
14392
|
-
if (!queryId
|
|
14393
|
-
throw new Error("queryId
|
|
14392
|
+
if (!queryId) {
|
|
14393
|
+
throw new Error("queryId must be provided.");
|
|
14394
14394
|
}
|
|
14395
14395
|
if (!api) {
|
|
14396
14396
|
api = exports.ENVIRONMENT.Api().GetBruceApi();
|
|
@@ -15715,7 +15715,7 @@
|
|
|
15715
15715
|
})(exports.Tracking || (exports.Tracking = {}));
|
|
15716
15716
|
|
|
15717
15717
|
// This is updated with the package.json version on build.
|
|
15718
|
-
const VERSION = "6.4.
|
|
15718
|
+
const VERSION = "6.4.7";
|
|
15719
15719
|
|
|
15720
15720
|
exports.VERSION = VERSION;
|
|
15721
15721
|
exports.AbstractApi = AbstractApi;
|