@evergis/api 3.0.106 → 3.0.109
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/api.cjs.development.js +5 -4
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +6 -4
- package/dist/api.esm.js.map +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/layers/EvergisTileLayer.d.ts +1 -0
- package/dist/services/Account.d.ts +0 -1
- package/dist/services/ClientSettings.d.ts +1 -0
- package/dist/services/Notification.d.ts +1 -1
- package/package.json +2 -2
package/dist/api.esm.js
CHANGED
|
@@ -4684,6 +4684,8 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
4684
4684
|
return AccountService;
|
|
4685
4685
|
}(Service);
|
|
4686
4686
|
|
|
4687
|
+
const API_USER_INFO_KEY = '@evergis/user-info';
|
|
4688
|
+
|
|
4687
4689
|
const getUserInfo = () => JSON.parse(localStorage.getItem(API_USER_INFO_KEY) || 'null') || void 0;
|
|
4688
4690
|
const updateUserInfo = newUserInfo => {
|
|
4689
4691
|
if (newUserInfo) {
|
|
@@ -4694,7 +4696,6 @@ const updateUserInfo = newUserInfo => {
|
|
|
4694
4696
|
}
|
|
4695
4697
|
};
|
|
4696
4698
|
|
|
4697
|
-
const API_USER_INFO_KEY = '@evergis/user-info';
|
|
4698
4699
|
let Account = /*#__PURE__*/function (_AccountService) {
|
|
4699
4700
|
_inherits(Account, _AccountService);
|
|
4700
4701
|
|
|
@@ -4909,7 +4910,7 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
|
|
|
4909
4910
|
value: async function fetchPreview1() {
|
|
4910
4911
|
var _response$headers$get;
|
|
4911
4912
|
|
|
4912
|
-
const url = this.getPreview(
|
|
4913
|
+
const url = this.getPreview('');
|
|
4913
4914
|
const response = await fetch(url);
|
|
4914
4915
|
const profile_photo = (_response$headers$get = response.headers.get('content-type')) != null && _response$headers$get.includes('text/plain') ? await response.text() : url + "?r=" + Math.random();
|
|
4915
4916
|
updateUserInfo({
|
|
@@ -6117,7 +6118,8 @@ let EvergisTileLayer = /*#__PURE__*/function (_TileLayer) {
|
|
|
6117
6118
|
_classCallCheck(this, EvergisTileLayer);
|
|
6118
6119
|
|
|
6119
6120
|
_this = _super.call(this, '', {
|
|
6120
|
-
crs: configuration.crs
|
|
6121
|
+
crs: configuration.crs,
|
|
6122
|
+
opacity: configuration.opacity
|
|
6121
6123
|
});
|
|
6122
6124
|
_this.api = api;
|
|
6123
6125
|
_this.name = configuration.name;
|
|
@@ -7104,5 +7106,5 @@ var TextVerticalAlignment;
|
|
|
7104
7106
|
TextVerticalAlignment["Middle"] = "middle";
|
|
7105
7107
|
})(TextVerticalAlignment || (TextVerticalAlignment = {}));
|
|
7106
7108
|
|
|
7107
|
-
export {
|
|
7109
|
+
export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeType, BulkOperations, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineEndingSize, LineEndingType, Names, Namespace, Notification, NotificationEvent, Operation, Permissions, PolicyType, PortalSettings, Projects, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TextAlignment, TextVerticalAlignment, Tools, UrlPath, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
|
|
7108
7110
|
//# sourceMappingURL=api.esm.js.map
|