mobicloud-core 1.0.288 → 1.0.289
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/bundles/mobicloud-core-components.umd.js +10 -14
- package/bundles/mobicloud-core-components.umd.js.map +1 -1
- package/esm2015/components/dimension/dimension-group-box/dimension-group-box.component.js +2 -2
- package/esm2015/components/service-object/service-object-general/service-object-general.component.js +2 -2
- package/esm2015/components/service-object/service-object-image/service-object-image.component.js +2 -2
- package/esm2015/components/service-object/service-object-inventory/service-object-inventory.component.js +2 -2
- package/esm2015/components/service-object/service-object-location/service-object-location.component.js +2 -2
- package/esm2015/components/service-object/service-object-service/service-object-service.component.js +2 -2
- package/esm2015/components/vendor-user/vendor-user-address/vendor-user-address.component.js +2 -3
- package/esm2015/components/vendor-user/vendor-user-details/vendor-user-details.component.js +2 -3
- package/esm2015/components/vendor-user/vendor-user-general/vendor-user-general.component.js +2 -3
- package/esm2015/components/vendor-user/vendor-user-image/vendor-user-image.component.js +2 -3
- package/fesm2015/mobicloud-core-components.js +10 -14
- package/fesm2015/mobicloud-core-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -4126,8 +4126,7 @@
|
|
|
4126
4126
|
}
|
|
4127
4127
|
VendorUserAddressComponent.prototype.ngOnInit = function () {
|
|
4128
4128
|
var _this = this;
|
|
4129
|
-
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.fullEditAllowed = _this.coreService.isMasterOrganizationUserAuthenticated(); });
|
|
4130
|
-
this.coreService.mobiUserProfileObservable.subscribe(function (p) { var _a; return _this.fullEditAllowed = (_this.coreService.isMasterOrganizationUserAuthenticated() || (p === null || p === void 0 ? void 0 : p.user_id) == ((_a = _this.user) === null || _a === void 0 ? void 0 : _a.Id)); });
|
|
4129
|
+
this.coreService.mobiUserProfileObservable.subscribe(function (p) { var _a; return _this.fullEditAllowed = ((_this.coreService.isMasterOrganizationUserAuthenticated() || _this.coreService.isEmployeeAuthenticated()) || (p === null || p === void 0 ? void 0 : p.user_id) == ((_a = _this.user) === null || _a === void 0 ? void 0 : _a.Id)); });
|
|
4131
4130
|
this.user_store = new ODataStore__default["default"]({
|
|
4132
4131
|
url: this.cloudDataService.getMobiManagementODataUrl("VendorUser"),
|
|
4133
4132
|
withCredentials: true,
|
|
@@ -4323,8 +4322,7 @@
|
|
|
4323
4322
|
}
|
|
4324
4323
|
VendorUserDetailsComponent.prototype.ngOnInit = function () {
|
|
4325
4324
|
var _this = this;
|
|
4326
|
-
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.fullEditAllowed = _this.coreService.isMasterOrganizationUserAuthenticated(); });
|
|
4327
|
-
this.coreService.mobiUserProfileObservable.subscribe(function (p) { var _a; return _this.fullEditAllowed = (_this.coreService.isMasterOrganizationUserAuthenticated() || (p === null || p === void 0 ? void 0 : p.user_id) == ((_a = _this.user) === null || _a === void 0 ? void 0 : _a.Id)); });
|
|
4325
|
+
this.coreService.mobiUserProfileObservable.subscribe(function (p) { var _a; return _this.fullEditAllowed = ((_this.coreService.isMasterOrganizationUserAuthenticated() || _this.coreService.isEmployeeAuthenticated()) || (p === null || p === void 0 ? void 0 : p.user_id) == ((_a = _this.user) === null || _a === void 0 ? void 0 : _a.Id)); });
|
|
4328
4326
|
this.user_store = new ODataStore__default["default"]({
|
|
4329
4327
|
url: this.cloudDataService.getMobiManagementODataUrl("VendorUser"),
|
|
4330
4328
|
withCredentials: true,
|
|
@@ -4498,8 +4496,7 @@
|
|
|
4498
4496
|
}
|
|
4499
4497
|
VendorUserGeneralComponent.prototype.ngOnInit = function () {
|
|
4500
4498
|
var _this = this;
|
|
4501
|
-
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.fullEditAllowed = _this.coreService.isMasterOrganizationUserAuthenticated(); });
|
|
4502
|
-
this.coreService.mobiUserProfileObservable.subscribe(function (p) { var _a; return _this.fullEditAllowed = (_this.coreService.isMasterOrganizationUserAuthenticated() || (p === null || p === void 0 ? void 0 : p.user_id) == ((_a = _this.user) === null || _a === void 0 ? void 0 : _a.Id)); });
|
|
4499
|
+
this.coreService.mobiUserProfileObservable.subscribe(function (p) { var _a; return _this.fullEditAllowed = ((_this.coreService.isMasterOrganizationUserAuthenticated() || _this.coreService.isEmployeeAuthenticated()) || (p === null || p === void 0 ? void 0 : p.user_id) == ((_a = _this.user) === null || _a === void 0 ? void 0 : _a.Id)); });
|
|
4503
4500
|
this.initializeDataSources();
|
|
4504
4501
|
};
|
|
4505
4502
|
VendorUserGeneralComponent.prototype.initializeDataSources = function () {
|
|
@@ -4709,8 +4706,7 @@
|
|
|
4709
4706
|
VendorUserImageComponent.prototype.ngOnInit = function () {
|
|
4710
4707
|
var _this = this;
|
|
4711
4708
|
var _a;
|
|
4712
|
-
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.fullEditAllowed = _this.coreService.isMasterOrganizationUserAuthenticated(); });
|
|
4713
|
-
this.coreService.mobiUserProfileObservable.subscribe(function (p) { var _a; return _this.fullEditAllowed = (_this.coreService.isMasterOrganizationUserAuthenticated() || (p === null || p === void 0 ? void 0 : p.user_id) == ((_a = _this.user) === null || _a === void 0 ? void 0 : _a.Id)); });
|
|
4709
|
+
this.coreService.mobiUserProfileObservable.subscribe(function (p) { var _a; return _this.fullEditAllowed = ((_this.coreService.isMasterOrganizationUserAuthenticated() || _this.coreService.isEmployeeAuthenticated()) || (p === null || p === void 0 ? void 0 : p.user_id) == ((_a = _this.user) === null || _a === void 0 ? void 0 : _a.Id)); });
|
|
4714
4710
|
this.uploadUrl = this.cloudDataService.getMobiManagementODataUrl("vendoruser(" + ((_a = this.user) === null || _a === void 0 ? void 0 : _a.Id) + ")/UploadProfileImage");
|
|
4715
4711
|
};
|
|
4716
4712
|
VendorUserImageComponent.prototype.getProfileImageUrl = function () {
|
|
@@ -6357,7 +6353,7 @@
|
|
|
6357
6353
|
});
|
|
6358
6354
|
DimensionGroupBoxComponent.prototype.ngOnInit = function () {
|
|
6359
6355
|
var _this = this;
|
|
6360
|
-
this.cloudDataService.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.editAllowed = _this.cloudDataService.coreService.isMasterOrganizationUserAuthenticated(); });
|
|
6356
|
+
this.cloudDataService.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.editAllowed = _this.cloudDataService.coreService.isMasterOrganizationUserAuthenticated() || _this.cloudDataService.coreService.isEmployeeAuthenticated(); });
|
|
6361
6357
|
this.initializeDataStore();
|
|
6362
6358
|
};
|
|
6363
6359
|
DimensionGroupBoxComponent.prototype.initializeDataStore = function () {
|
|
@@ -7977,7 +7973,7 @@
|
|
|
7977
7973
|
}
|
|
7978
7974
|
ServiceObjectGeneralComponent.prototype.ngOnInit = function () {
|
|
7979
7975
|
var _this = this;
|
|
7980
|
-
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.editAllowed = _this.coreService.isMasterOrganizationUserAuthenticated(); });
|
|
7976
|
+
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.editAllowed = _this.coreService.isMasterOrganizationUserAuthenticated() || _this.coreService.isEmployeeAuthenticated(); });
|
|
7981
7977
|
this.initializeDataSource();
|
|
7982
7978
|
this.createCustomerDataSource();
|
|
7983
7979
|
this.createBeaconDataSource();
|
|
@@ -8176,7 +8172,7 @@
|
|
|
8176
8172
|
ServiceObjectImageComponent.prototype.ngOnInit = function () {
|
|
8177
8173
|
var _this = this;
|
|
8178
8174
|
var _a;
|
|
8179
|
-
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.editAllowed = _this.coreService.isMasterOrganizationUserAuthenticated(); });
|
|
8175
|
+
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.editAllowed = _this.coreService.isMasterOrganizationUserAuthenticated() || _this.coreService.isEmployeeAuthenticated(); });
|
|
8180
8176
|
this.uploadUrl = this.cloudDataService.getMobiManagementODataUrl("ServiceObject(" + ((_a = this.serviceObject) === null || _a === void 0 ? void 0 : _a.Id) + ")/UploadImage");
|
|
8181
8177
|
};
|
|
8182
8178
|
ServiceObjectImageComponent.prototype.getLogoUrl = function () {
|
|
@@ -8253,7 +8249,7 @@
|
|
|
8253
8249
|
}
|
|
8254
8250
|
ServiceObjectInventoryComponent.prototype.ngOnInit = function () {
|
|
8255
8251
|
var _this = this;
|
|
8256
|
-
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.editAllowed = _this.coreService.isMasterOrganizationUserAuthenticated(); });
|
|
8252
|
+
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.editAllowed = _this.coreService.isMasterOrganizationUserAuthenticated() || _this.coreService.isEmployeeAuthenticated(); });
|
|
8257
8253
|
this.initializeDataSource();
|
|
8258
8254
|
this.createInventLocationDataSource();
|
|
8259
8255
|
this.createWMSLocationDataSource();
|
|
@@ -8452,7 +8448,7 @@
|
|
|
8452
8448
|
}
|
|
8453
8449
|
ServiceObjectLocationComponent.prototype.ngOnInit = function () {
|
|
8454
8450
|
var _this = this;
|
|
8455
|
-
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.editAllowed = _this.coreService.isMasterOrganizationUserAuthenticated(); });
|
|
8451
|
+
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.editAllowed = _this.coreService.isMasterOrganizationUserAuthenticated() || _this.coreService.isEmployeeAuthenticated(); });
|
|
8456
8452
|
this.initializeDataSource();
|
|
8457
8453
|
this.createCountryDataSource();
|
|
8458
8454
|
};
|
|
@@ -8668,7 +8664,7 @@
|
|
|
8668
8664
|
}
|
|
8669
8665
|
ServiceObjectServiceComponent.prototype.ngOnInit = function () {
|
|
8670
8666
|
var _this = this;
|
|
8671
|
-
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.editAllowed = _this.coreService.isMasterOrganizationUserAuthenticated(); });
|
|
8667
|
+
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.editAllowed = _this.coreService.isMasterOrganizationUserAuthenticated() || _this.coreService.isEmployeeAuthenticated(); });
|
|
8672
8668
|
this.initializeDataSource();
|
|
8673
8669
|
this.createSchemaTypeDataSource();
|
|
8674
8670
|
};
|