c8osdkangular
Advanced tools
Comparing version 2.1.17 to 2.1.18
{ | ||
"name": "c8osdkangular", | ||
"version": "2.1.17", | ||
"version": "2.1.18", | ||
"description": "convertigo's service", | ||
@@ -5,0 +5,0 @@ "main": "bundle/index.umd.js", |
@@ -192,3 +192,9 @@ "use strict"; | ||
else { | ||
var uri = window.location.href.substring(0, window.location.href.indexOf("/www/") + 5) + "env.json"; | ||
var uri = ""; | ||
if (window.location.href.startsWith("file")) { | ||
uri = window.location.href.substring(0, window.location.href.indexOf("/www/") + 5) + "env.json"; | ||
} | ||
else { | ||
uri = window.location.origin + "/env.json"; | ||
} | ||
_this.http.get(uri) | ||
@@ -195,0 +201,0 @@ .map(function (res) { return res.json(); }) |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"C8o":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./c8oBase.service","name":"C8oBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"toString":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/http","name":"Http"}]}],"init":[{"__symbolic":"method"}],"extractendpoint":[{"__symbolic":"method"}],"call":[{"__symbolic":"method"}],"_call":[{"__symbolic":"method"}],"callJsonObject":[{"__symbolic":"method"}],"callJson":[{"__symbolic":"method"}],"handleCallException":[{"__symbolic":"method"}],"get_attachment":[{"__symbolic":"method"}],"addFullSyncChangeListener":[{"__symbolic":"method"}],"removeFullSyncChangeListener":[{"__symbolic":"method"}],"addLive":[{"__symbolic":"method"}],"cancelLive":[{"__symbolic":"method"}]},"statics":{"RE_REQUESTABLE":{"__symbolic":"error","message":"Expression form not supported","line":44,"character":36},"RE_ENDPOINT":{"__symbolic":"error","message":"Expression form not supported","line":50,"character":33},"ENGINE_PARAMETER_PROJECT":"__project","ENGINE_PARAMETER_SEQUENCE":"__sequence","ENGINE_PARAMETER_CONNECTOR":"__connector","ENGINE_PARAMETER_TRANSACTION":"__transaction","ENGINE_PARAMETER_ENCODED":"__encoded","ENGINE_PARAMETER_DEVICE_UUID":"__uuid","ENGINE_PARAMETER_PROGRESS":"__progress","ENGINE_PARAMETER_FROM_LIVE":"__fromLive","FS_POLICY":"_use_policy","FS_POLICY_NONE":"none","FS_POLICY_CREATE":"create","FS_POLICY_OVERRIDE":"override","FS_POLICY_MERGE":"merge","FS_SUBKEY_SEPARATOR":"_use_subkey_separator","FS_LIVE":"__live","LOCAL_CACHE_DOCUMENT_KEY_RESPONSE":"response","LOCAL_CACHE_DOCUMENT_KEY_RESPONSE_TYPE":"responseType","LOCAL_CACHE_DOCUMENT_KEY_EXPIRATION_DATE":"expirationDate","LOCAL_CACHE_DATABASE_NAME":"c8olocalcache","RESPONSE_TYPE_XML":"pxml","RESPONSE_TYPE_JSON":"json","deviceUUID":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"./c8oUtils.service","name":"C8oUtils"},"member":"getNewGUIDString"}},"getSdkVersion":{"__symbolic":"function","parameters":[],"value":"2.1.1"}}},"FullSyncPolicy":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":771,"character":39}]}]},"statics":{"NONE":{"__symbolic":"error","message":"Function call not supported","line":650,"character":80},"CREATE":{"__symbolic":"error","message":"Function call not supported","line":665,"character":84},"OVERRIDE":{"__symbolic":"error","message":"Function call not supported","line":680,"character":88},"MERGE":{"__symbolic":"error","message":"Function call not supported","line":721,"character":82},"values":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Expression form not supported","line":777,"character":16}}}},"FullSyncPostDocumentParameter":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]},"statics":{"POLICY":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"FullSyncPostDocumentParameter"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"C8o"},"member":"FS_POLICY"}]},"SUBKEY_SEPARATOR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"FullSyncPostDocumentParameter"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"C8o"},"member":"FS_SUBKEY_SEPARATOR"}]}}}}},{"__symbolic":"module","version":1,"metadata":{"C8o":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./c8oBase.service","name":"C8oBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"toString":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/http","name":"Http"}]}],"init":[{"__symbolic":"method"}],"extractendpoint":[{"__symbolic":"method"}],"call":[{"__symbolic":"method"}],"_call":[{"__symbolic":"method"}],"callJsonObject":[{"__symbolic":"method"}],"callJson":[{"__symbolic":"method"}],"handleCallException":[{"__symbolic":"method"}],"get_attachment":[{"__symbolic":"method"}],"addFullSyncChangeListener":[{"__symbolic":"method"}],"removeFullSyncChangeListener":[{"__symbolic":"method"}],"addLive":[{"__symbolic":"method"}],"cancelLive":[{"__symbolic":"method"}]},"statics":{"RE_REQUESTABLE":{"__symbolic":"error","message":"Expression form not supported","line":44,"character":36},"RE_ENDPOINT":{"__symbolic":"error","message":"Expression form not supported","line":50,"character":33},"ENGINE_PARAMETER_PROJECT":"__project","ENGINE_PARAMETER_SEQUENCE":"__sequence","ENGINE_PARAMETER_CONNECTOR":"__connector","ENGINE_PARAMETER_TRANSACTION":"__transaction","ENGINE_PARAMETER_ENCODED":"__encoded","ENGINE_PARAMETER_DEVICE_UUID":"__uuid","ENGINE_PARAMETER_PROGRESS":"__progress","ENGINE_PARAMETER_FROM_LIVE":"__fromLive","FS_POLICY":"_use_policy","FS_POLICY_NONE":"none","FS_POLICY_CREATE":"create","FS_POLICY_OVERRIDE":"override","FS_POLICY_MERGE":"merge","FS_SUBKEY_SEPARATOR":"_use_subkey_separator","FS_LIVE":"__live","LOCAL_CACHE_DOCUMENT_KEY_RESPONSE":"response","LOCAL_CACHE_DOCUMENT_KEY_RESPONSE_TYPE":"responseType","LOCAL_CACHE_DOCUMENT_KEY_EXPIRATION_DATE":"expirationDate","LOCAL_CACHE_DATABASE_NAME":"c8olocalcache","RESPONSE_TYPE_XML":"pxml","RESPONSE_TYPE_JSON":"json","deviceUUID":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"./c8oUtils.service","name":"C8oUtils"},"member":"getNewGUIDString"}},"getSdkVersion":{"__symbolic":"function","parameters":[],"value":"2.1.1"}}},"FullSyncPolicy":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":771,"character":39}]}]},"statics":{"NONE":{"__symbolic":"error","message":"Function call not supported","line":650,"character":80},"CREATE":{"__symbolic":"error","message":"Function call not supported","line":665,"character":84},"OVERRIDE":{"__symbolic":"error","message":"Function call not supported","line":680,"character":88},"MERGE":{"__symbolic":"error","message":"Function call not supported","line":721,"character":82},"values":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Expression form not supported","line":777,"character":16}}}},"FullSyncPostDocumentParameter":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]},"statics":{"POLICY":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"FullSyncPostDocumentParameter"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"C8o"},"member":"FS_POLICY"}]},"SUBKEY_SEPARATOR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"FullSyncPostDocumentParameter"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"C8o"},"member":"FS_SUBKEY_SEPARATOR"}]}}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"C8o":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./c8oBase.service","name":"C8oBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"toString":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/http","name":"Http"}]}],"init":[{"__symbolic":"method"}],"extractendpoint":[{"__symbolic":"method"}],"call":[{"__symbolic":"method"}],"_call":[{"__symbolic":"method"}],"callJsonObject":[{"__symbolic":"method"}],"callJson":[{"__symbolic":"method"}],"handleCallException":[{"__symbolic":"method"}],"get_attachment":[{"__symbolic":"method"}],"addFullSyncChangeListener":[{"__symbolic":"method"}],"removeFullSyncChangeListener":[{"__symbolic":"method"}],"addLive":[{"__symbolic":"method"}],"cancelLive":[{"__symbolic":"method"}]},"statics":{"RE_REQUESTABLE":{"__symbolic":"error","message":"Expression form not supported","line":44,"character":36},"RE_ENDPOINT":{"__symbolic":"error","message":"Expression form not supported","line":50,"character":33},"ENGINE_PARAMETER_PROJECT":"__project","ENGINE_PARAMETER_SEQUENCE":"__sequence","ENGINE_PARAMETER_CONNECTOR":"__connector","ENGINE_PARAMETER_TRANSACTION":"__transaction","ENGINE_PARAMETER_ENCODED":"__encoded","ENGINE_PARAMETER_DEVICE_UUID":"__uuid","ENGINE_PARAMETER_PROGRESS":"__progress","ENGINE_PARAMETER_FROM_LIVE":"__fromLive","FS_POLICY":"_use_policy","FS_POLICY_NONE":"none","FS_POLICY_CREATE":"create","FS_POLICY_OVERRIDE":"override","FS_POLICY_MERGE":"merge","FS_SUBKEY_SEPARATOR":"_use_subkey_separator","FS_LIVE":"__live","LOCAL_CACHE_DOCUMENT_KEY_RESPONSE":"response","LOCAL_CACHE_DOCUMENT_KEY_RESPONSE_TYPE":"responseType","LOCAL_CACHE_DOCUMENT_KEY_EXPIRATION_DATE":"expirationDate","LOCAL_CACHE_DATABASE_NAME":"c8olocalcache","RESPONSE_TYPE_XML":"pxml","RESPONSE_TYPE_JSON":"json","deviceUUID":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"./c8oUtils.service","name":"C8oUtils"},"member":"getNewGUIDString"}},"getSdkVersion":{"__symbolic":"function","parameters":[],"value":"2.1.1"}}},"FullSyncPolicy":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":777,"character":39}]}]},"statics":{"NONE":{"__symbolic":"error","message":"Function call not supported","line":656,"character":80},"CREATE":{"__symbolic":"error","message":"Function call not supported","line":671,"character":84},"OVERRIDE":{"__symbolic":"error","message":"Function call not supported","line":686,"character":88},"MERGE":{"__symbolic":"error","message":"Function call not supported","line":727,"character":82},"values":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Expression form not supported","line":783,"character":16}}}},"FullSyncPostDocumentParameter":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]},"statics":{"POLICY":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"FullSyncPostDocumentParameter"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"C8o"},"member":"FS_POLICY"}]},"SUBKEY_SEPARATOR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"FullSyncPostDocumentParameter"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"C8o"},"member":"FS_SUBKEY_SEPARATOR"}]}}}}},{"__symbolic":"module","version":1,"metadata":{"C8o":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./c8oBase.service","name":"C8oBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"toString":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/http","name":"Http"}]}],"init":[{"__symbolic":"method"}],"extractendpoint":[{"__symbolic":"method"}],"call":[{"__symbolic":"method"}],"_call":[{"__symbolic":"method"}],"callJsonObject":[{"__symbolic":"method"}],"callJson":[{"__symbolic":"method"}],"handleCallException":[{"__symbolic":"method"}],"get_attachment":[{"__symbolic":"method"}],"addFullSyncChangeListener":[{"__symbolic":"method"}],"removeFullSyncChangeListener":[{"__symbolic":"method"}],"addLive":[{"__symbolic":"method"}],"cancelLive":[{"__symbolic":"method"}]},"statics":{"RE_REQUESTABLE":{"__symbolic":"error","message":"Expression form not supported","line":44,"character":36},"RE_ENDPOINT":{"__symbolic":"error","message":"Expression form not supported","line":50,"character":33},"ENGINE_PARAMETER_PROJECT":"__project","ENGINE_PARAMETER_SEQUENCE":"__sequence","ENGINE_PARAMETER_CONNECTOR":"__connector","ENGINE_PARAMETER_TRANSACTION":"__transaction","ENGINE_PARAMETER_ENCODED":"__encoded","ENGINE_PARAMETER_DEVICE_UUID":"__uuid","ENGINE_PARAMETER_PROGRESS":"__progress","ENGINE_PARAMETER_FROM_LIVE":"__fromLive","FS_POLICY":"_use_policy","FS_POLICY_NONE":"none","FS_POLICY_CREATE":"create","FS_POLICY_OVERRIDE":"override","FS_POLICY_MERGE":"merge","FS_SUBKEY_SEPARATOR":"_use_subkey_separator","FS_LIVE":"__live","LOCAL_CACHE_DOCUMENT_KEY_RESPONSE":"response","LOCAL_CACHE_DOCUMENT_KEY_RESPONSE_TYPE":"responseType","LOCAL_CACHE_DOCUMENT_KEY_EXPIRATION_DATE":"expirationDate","LOCAL_CACHE_DATABASE_NAME":"c8olocalcache","RESPONSE_TYPE_XML":"pxml","RESPONSE_TYPE_JSON":"json","deviceUUID":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"./c8oUtils.service","name":"C8oUtils"},"member":"getNewGUIDString"}},"getSdkVersion":{"__symbolic":"function","parameters":[],"value":"2.1.1"}}},"FullSyncPolicy":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":777,"character":39}]}]},"statics":{"NONE":{"__symbolic":"error","message":"Function call not supported","line":656,"character":80},"CREATE":{"__symbolic":"error","message":"Function call not supported","line":671,"character":84},"OVERRIDE":{"__symbolic":"error","message":"Function call not supported","line":686,"character":88},"MERGE":{"__symbolic":"error","message":"Function call not supported","line":727,"character":82},"values":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Expression form not supported","line":783,"character":16}}}},"FullSyncPostDocumentParameter":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]},"statics":{"POLICY":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"FullSyncPostDocumentParameter"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"C8o"},"member":"FS_POLICY"}]},"SUBKEY_SEPARATOR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"FullSyncPostDocumentParameter"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"C8o"},"member":"FS_SUBKEY_SEPARATOR"}]}}}}}] |
@@ -1,1 +0,1 @@ | ||
{"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","statics":{"RE_REQUESTABLE":{"__symbolic":"error","message":"Expression form not supported","line":44,"character":36},"RE_ENDPOINT":{"__symbolic":"error","message":"Expression form not supported","line":50,"character":33},"ENGINE_PARAMETER_PROJECT":"__project","ENGINE_PARAMETER_SEQUENCE":"__sequence","ENGINE_PARAMETER_CONNECTOR":"__connector","ENGINE_PARAMETER_TRANSACTION":"__transaction","ENGINE_PARAMETER_ENCODED":"__encoded","ENGINE_PARAMETER_DEVICE_UUID":"__uuid","ENGINE_PARAMETER_PROGRESS":"__progress","ENGINE_PARAMETER_FROM_LIVE":"__fromLive","FS_POLICY":"_use_policy","FS_POLICY_NONE":"none","FS_POLICY_CREATE":"create","FS_POLICY_OVERRIDE":"override","FS_POLICY_MERGE":"merge","FS_SUBKEY_SEPARATOR":"_use_subkey_separator","FS_LIVE":"__live","LOCAL_CACHE_DOCUMENT_KEY_RESPONSE":"response","LOCAL_CACHE_DOCUMENT_KEY_RESPONSE_TYPE":"responseType","LOCAL_CACHE_DOCUMENT_KEY_EXPIRATION_DATE":"expirationDate","LOCAL_CACHE_DATABASE_NAME":"c8olocalcache","RESPONSE_TYPE_XML":"pxml","RESPONSE_TYPE_JSON":"json","deviceUUID":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbol":1,"members":[]},"member":"getNewGUIDString"}},"getSdkVersion":{"__symbolic":"function","parameters":[],"value":"2.1.1"}}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}}],"lifecycleHooks":[]}}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbolic":"class","statics":{"NONE":{"__symbolic":"error","message":"Function call not supported","line":650,"character":80},"CREATE":{"__symbolic":"error","message":"Function call not supported","line":665,"character":84},"OVERRIDE":{"__symbolic":"error","message":"Function call not supported","line":680,"character":88},"MERGE":{"__symbolic":"error","message":"Function call not supported","line":721,"character":82},"values":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Expression form not supported","line":777,"character":16}}}}},{"symbol":{"__symbol":3,"members":[]},"metadata":{"__symbolic":"class","statics":{"POLICY":{"__symbolic":"new","expression":{"__symbol":3,"members":[]},"arguments":[{"__symbolic":"select","expression":{"__symbol":0,"members":[]},"member":"FS_POLICY"}]},"SUBKEY_SEPARATOR":{"__symbolic":"new","expression":{"__symbol":3,"members":[]},"arguments":[{"__symbolic":"select","expression":{"__symbol":0,"members":[]},"member":"FS_SUBKEY_SEPARATOR"}]}}}}],"symbols":[{"__symbol":0,"name":"C8o","filePath":"C:/DEV_CG/TYPESCRIPT/ANGULAR/C8oSDKAngular2/src/c8o/c8o.service.d.ts"},{"__symbol":1,"name":"C8oUtils","filePath":"C:/DEV_CG/TYPESCRIPT/ANGULAR/C8oSDKAngular2/src/c8o/c8oUtils.service.d.ts"},{"__symbol":2,"name":"FullSyncPolicy","filePath":"C:/DEV_CG/TYPESCRIPT/ANGULAR/C8oSDKAngular2/src/c8o/c8o.service.d.ts"},{"__symbol":3,"name":"FullSyncPostDocumentParameter","filePath":"C:/DEV_CG/TYPESCRIPT/ANGULAR/C8oSDKAngular2/src/c8o/c8o.service.d.ts"},{"__symbol":4,"name":"Http","filePath":"C:/DEV_CG/TYPESCRIPT/ANGULAR/C8oSDKAngular2/node_modules/@angular/http/http.d.ts"}]} | ||
{"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","statics":{"RE_REQUESTABLE":{"__symbolic":"error","message":"Expression form not supported","line":44,"character":36},"RE_ENDPOINT":{"__symbolic":"error","message":"Expression form not supported","line":50,"character":33},"ENGINE_PARAMETER_PROJECT":"__project","ENGINE_PARAMETER_SEQUENCE":"__sequence","ENGINE_PARAMETER_CONNECTOR":"__connector","ENGINE_PARAMETER_TRANSACTION":"__transaction","ENGINE_PARAMETER_ENCODED":"__encoded","ENGINE_PARAMETER_DEVICE_UUID":"__uuid","ENGINE_PARAMETER_PROGRESS":"__progress","ENGINE_PARAMETER_FROM_LIVE":"__fromLive","FS_POLICY":"_use_policy","FS_POLICY_NONE":"none","FS_POLICY_CREATE":"create","FS_POLICY_OVERRIDE":"override","FS_POLICY_MERGE":"merge","FS_SUBKEY_SEPARATOR":"_use_subkey_separator","FS_LIVE":"__live","LOCAL_CACHE_DOCUMENT_KEY_RESPONSE":"response","LOCAL_CACHE_DOCUMENT_KEY_RESPONSE_TYPE":"responseType","LOCAL_CACHE_DOCUMENT_KEY_EXPIRATION_DATE":"expirationDate","LOCAL_CACHE_DATABASE_NAME":"c8olocalcache","RESPONSE_TYPE_XML":"pxml","RESPONSE_TYPE_JSON":"json","deviceUUID":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbol":1,"members":[]},"member":"getNewGUIDString"}},"getSdkVersion":{"__symbolic":"function","parameters":[],"value":"2.1.1"}}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}}],"lifecycleHooks":[]}}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbolic":"class","statics":{"NONE":{"__symbolic":"error","message":"Function call not supported","line":656,"character":80},"CREATE":{"__symbolic":"error","message":"Function call not supported","line":671,"character":84},"OVERRIDE":{"__symbolic":"error","message":"Function call not supported","line":686,"character":88},"MERGE":{"__symbolic":"error","message":"Function call not supported","line":727,"character":82},"values":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Expression form not supported","line":783,"character":16}}}}},{"symbol":{"__symbol":3,"members":[]},"metadata":{"__symbolic":"class","statics":{"POLICY":{"__symbolic":"new","expression":{"__symbol":3,"members":[]},"arguments":[{"__symbolic":"select","expression":{"__symbol":0,"members":[]},"member":"FS_POLICY"}]},"SUBKEY_SEPARATOR":{"__symbolic":"new","expression":{"__symbol":3,"members":[]},"arguments":[{"__symbolic":"select","expression":{"__symbol":0,"members":[]},"member":"FS_SUBKEY_SEPARATOR"}]}}}}],"symbols":[{"__symbol":0,"name":"C8o","filePath":"C:/DEV_CG/TYPESCRIPT/ANGULAR/C8oSDKAngular2/src/c8o/c8o.service.d.ts"},{"__symbol":1,"name":"C8oUtils","filePath":"C:/DEV_CG/TYPESCRIPT/ANGULAR/C8oSDKAngular2/src/c8o/c8oUtils.service.d.ts"},{"__symbol":2,"name":"FullSyncPolicy","filePath":"C:/DEV_CG/TYPESCRIPT/ANGULAR/C8oSDKAngular2/src/c8o/c8o.service.d.ts"},{"__symbol":3,"name":"FullSyncPostDocumentParameter","filePath":"C:/DEV_CG/TYPESCRIPT/ANGULAR/C8oSDKAngular2/src/c8o/c8o.service.d.ts"},{"__symbol":4,"name":"Http","filePath":"C:/DEV_CG/TYPESCRIPT/ANGULAR/C8oSDKAngular2/node_modules/@angular/http/http.d.ts"}]} |
@@ -323,3 +323,9 @@ import {Injectable} from "@angular/core"; | ||
else { | ||
let uri = window.location.href.substring(0, window.location.href.indexOf("/www/") + 5) + "env.json"; | ||
let uri =""; | ||
if(window.location.href.startsWith("file")){ | ||
uri = window.location.href.substring(0, window.location.href.indexOf("/www/") + 5) + "env.json"; | ||
} | ||
else{ | ||
uri = window.location.origin + "/env.json"; | ||
} | ||
this.http.get(uri) | ||
@@ -326,0 +332,0 @@ .map(res => res.json()) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
678054
8395