mobicloud-core 1.0.282 → 1.0.284
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/api/api-utils.d.ts +1 -0
- package/api/mobicloud-data.service.d.ts +1 -0
- package/bundles/mobicloud-core-api.umd.js +11 -0
- package/bundles/mobicloud-core-api.umd.js.map +1 -1
- package/bundles/mobicloud-core.umd.js +18 -0
- package/bundles/mobicloud-core.umd.js.map +1 -1
- package/esm2015/api/api-utils.js +4 -1
- package/esm2015/api/mobicloud-data.service.js +5 -2
- package/esm2015/lib/types/country.js +7 -1
- package/fesm2015/mobicloud-core-api.js +7 -1
- package/fesm2015/mobicloud-core-api.js.map +1 -1
- package/fesm2015/mobicloud-core.js +7 -1
- package/fesm2015/mobicloud-core.js.map +1 -1
- package/lib/types/country.d.ts +50 -0
- package/package.json +1 -1
package/api/api-utils.d.ts
CHANGED
|
@@ -7,3 +7,4 @@ export declare class API_SETTINGS {
|
|
|
7
7
|
export declare function getBlobUrl(storageAccountName: string, blobPath: string): string;
|
|
8
8
|
export declare function getProfileImageUrl(img: StorageAccountImage | undefined): string | undefined;
|
|
9
9
|
export declare function getFlagUrl(): string | undefined;
|
|
10
|
+
export declare function getFlag2Url(): string | undefined;
|
|
@@ -18,6 +18,7 @@ export declare class MobiCloudDataService {
|
|
|
18
18
|
getImageBlobUrl(storageAccountName: string, blobFullname: string): string;
|
|
19
19
|
getDocumentBlobUrl(storageAccountName: string, blobFullname: string): string;
|
|
20
20
|
get FlagUrl(): string | undefined;
|
|
21
|
+
get Flag2Url(): string | undefined;
|
|
21
22
|
get OrganizationStorageUrl(): string;
|
|
22
23
|
get OrganizationImagesUrl(): string;
|
|
23
24
|
getOrganizationImageUrl(blobFullname: string): string;
|
|
@@ -375,6 +375,9 @@
|
|
|
375
375
|
}
|
|
376
376
|
function getFlagUrl() {
|
|
377
377
|
return "https://" + API_SETTINGS.MOBI_STORAGEACCOUNT_NAME + "." + API_SETTINGS.CLOUD_BLOB_BASEURL + "/public/flags/png32";
|
|
378
|
+
}
|
|
379
|
+
function getFlag2Url() {
|
|
380
|
+
return "https://" + API_SETTINGS.MOBI_STORAGEACCOUNT_NAME + "." + API_SETTINGS.CLOUD_BLOB_BASEURL + "/public/flags2";
|
|
378
381
|
}
|
|
379
382
|
|
|
380
383
|
var MobiCloudDataService = /** @class */ (function () {
|
|
@@ -410,6 +413,13 @@
|
|
|
410
413
|
enumerable: false,
|
|
411
414
|
configurable: true
|
|
412
415
|
});
|
|
416
|
+
Object.defineProperty(MobiCloudDataService.prototype, "Flag2Url", {
|
|
417
|
+
get: function () {
|
|
418
|
+
return getFlag2Url();
|
|
419
|
+
},
|
|
420
|
+
enumerable: false,
|
|
421
|
+
configurable: true
|
|
422
|
+
});
|
|
413
423
|
Object.defineProperty(MobiCloudDataService.prototype, "OrganizationStorageUrl", {
|
|
414
424
|
get: function () {
|
|
415
425
|
var _a;
|
|
@@ -4063,6 +4073,7 @@
|
|
|
4063
4073
|
exports.Workrule = Workrule;
|
|
4064
4074
|
exports.WorkruleDeviation = WorkruleDeviation;
|
|
4065
4075
|
exports.getBlobUrl = getBlobUrl;
|
|
4076
|
+
exports.getFlag2Url = getFlag2Url;
|
|
4066
4077
|
exports.getFlagUrl = getFlagUrl;
|
|
4067
4078
|
exports.getProfileImageUrl = getProfileImageUrl;
|
|
4068
4079
|
|