bruce-models 5.7.9 → 5.8.1
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 +16 -3
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +16 -3
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/entity/entity-attribute.js +8 -0
- package/dist/lib/entity/entity-attribute.js.map +1 -1
- package/dist/lib/entity/entity-historic-data.js +7 -2
- package/dist/lib/entity/entity-historic-data.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/entity/entity-attribute.d.ts +17 -7
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -2323,6 +2323,14 @@
|
|
|
2323
2323
|
// String Entity ID.
|
|
2324
2324
|
EType["Entity"] = "Entity";
|
|
2325
2325
|
})(EType = EntityAttribute.EType || (EntityAttribute.EType = {}));
|
|
2326
|
+
/**
|
|
2327
|
+
* Describes url open behavior.
|
|
2328
|
+
*/
|
|
2329
|
+
let EOpenBehavior;
|
|
2330
|
+
(function (EOpenBehavior) {
|
|
2331
|
+
EOpenBehavior["POPUP"] = "POPUP";
|
|
2332
|
+
EOpenBehavior["NEW_TAB"] = "NEW_TAB";
|
|
2333
|
+
})(EOpenBehavior || (EOpenBehavior = {}));
|
|
2326
2334
|
/**
|
|
2327
2335
|
* Returns an attribute from a provided hierarchy of attributes.
|
|
2328
2336
|
* Eg: Use the path: ["Bruce", "ID"] to find the "ID" attribute.
|
|
@@ -2954,8 +2962,13 @@
|
|
|
2954
2962
|
api = exports.ENVIRONMENT.Api().GetBruceApi();
|
|
2955
2963
|
}
|
|
2956
2964
|
let attrKeyStr = null;
|
|
2957
|
-
if (attrKey
|
|
2958
|
-
|
|
2965
|
+
if (attrKey) {
|
|
2966
|
+
if (typeof attrKey != "string") {
|
|
2967
|
+
attrKeyStr = exports.PathUtils.Wrap(attrKey);
|
|
2968
|
+
}
|
|
2969
|
+
else {
|
|
2970
|
+
attrKeyStr = attrKey;
|
|
2971
|
+
}
|
|
2959
2972
|
}
|
|
2960
2973
|
// If we have more than 100 Entity IDs we'll have to split the request to avoid a URL that is too long.
|
|
2961
2974
|
const MAX_IDS = 100;
|
|
@@ -15019,7 +15032,7 @@
|
|
|
15019
15032
|
})(exports.Scenario || (exports.Scenario = {}));
|
|
15020
15033
|
|
|
15021
15034
|
// This is updated with the package.json version on build.
|
|
15022
|
-
const VERSION = "5.
|
|
15035
|
+
const VERSION = "5.8.1";
|
|
15023
15036
|
|
|
15024
15037
|
exports.VERSION = VERSION;
|
|
15025
15038
|
exports.AbstractApi = AbstractApi;
|