mobicloud-core 1.0.142 → 1.0.143

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.
@@ -6523,6 +6523,7 @@
6523
6523
  };
6524
6524
  ProjectGeneralComponent.prototype.saveProject = function () {
6525
6525
  var _this = this;
6526
+ var _a;
6526
6527
  if (this.project_store && this.project && this.formProject) {
6527
6528
  this.isLoadingData = true;
6528
6529
  this.loadingText = $localize(templateObject_17$3 || (templateObject_17$3 = __makeTemplateObject([":@@Updating-Text-Project:Updating project..."], [":@@Updating-Text-Project:Updating project..."])));
@@ -6536,7 +6537,8 @@
6536
6537
  ResponsibleId: this.formProject.ResponsibleId,
6537
6538
  SalesResponsibleId: this.formProject.SalesResponsibleId,
6538
6539
  ImplementationResponsibleId: this.formProject.ImplementationResponsibleId,
6539
- RequireSignature: this.formProject.RequireSignature
6540
+ RequireSignature: this.formProject.RequireSignature,
6541
+ MetaData: { ExternalId: (_a = this.formProject.MetaData) === null || _a === void 0 ? void 0 : _a.ExternalId },
6540
6542
  };
6541
6543
  this.project_store.update(this.project.Id, data)
6542
6544
  .then(function (dataObj) {
@@ -6621,7 +6623,7 @@
6621
6623
  ProjectGeneralComponent.decorators = [
6622
6624
  { type: core.Component, args: [{
6623
6625
  selector: 'mobicloud-project-general',
6624
- template: "<mobicloud-group-box title=\"General\" i18n-title=\"@@CaptionHeader-General\" [width]=\"[width]\" [contentheight]=[contentheight] class=\"projectGeneralForm\" [isLoadingData]=\"isLoadingData\" [loadingText]=\"loadingText\" \n [editAllowed]=\"editAllowed\" [inEditMode]=\"inEditMode\" [hasErrors]=\"hasErrors\" errorCaption=\"Error\" i18n-errorCaption=\"@@CaptionHeader-Error\" [errorText]=\"errorText\" [enableRetryOnError]=\"true\"\n (Edit_Click)=\"onEditClick()\" (Save_Click)=\"onSaveClick()\" (CancelEdit_Click)=\"onCancelEditClick()\" (Retry_Click)=\"onRetryClick()\">\n\n <dx-form #form id=\"form\"\n [formData]=\"formProject\"\n [readOnly]=\"!inEditMode\"\n [showColonAfterLabel]=\"true\"\n [showValidationSummary]=\"false\" \n [showRequiredMark] = \"false\"\n \n validationGroup=\"formProjectData_General\">\n\n <dxi-item itemType=\"group\" caption=\"\" [colCount]=\"2\">\n <dxi-item dataField=\"ProjectId\">\n <dxo-label text=\"Project id\" i18n-text=\"@@FieldCaption-ProjectId\"></dxo-label>\n <dxi-validation-rule type=\"required\" message=\"Project id is required\" i18n-message=\"@@ValidationText-ProjectId-Required\"></dxi-validation-rule>\n </dxi-item> \n \n <dxi-item dataField=\"Status\" editorType=\"dxSelectBox\" [editorOptions]=\"{ dataSource: status_ds, valueExpr: 'value', displayExpr: 'text' }\">\n <dxo-label text=\"Status\" i18n-text=\"@@FieldCaption-Status\"></dxo-label>\n </dxi-item> \n\n <dxi-item dataField=\"Name\">\n <dxo-label text=\"Name\" i18n-text=\"@@FieldCaption-Name\"></dxo-label>\n <dxi-validation-rule type=\"required\" message=\"Name is required\" i18n-message=\"@@ValidationText-Name-Required\"></dxi-validation-rule>\n </dxi-item>\n <dxi-item dataField=\"ProjectType\" editorType=\"dxSelectBox\" [editorOptions]=\"{ dataSource: projecttype_ds, valueExpr: 'id', displayExpr: 'description' }\">\n <dxo-label text=\"Project type\" i18n-text=\"@@FieldCaption-ProjectType\"></dxo-label>\n </dxi-item> \n\n <dxi-item dataField=\"ResponsibleId\" [colSpan]=\"2\" #responsible editorType=\"dxLookup\" [editorOptions]=\"{ itemTemplate:'employee_itemTemplate', fieldTemplate: 'employee_fieldTemplate', dataSource: responsible_ds, valueExpr: 'Id', displayExpr: 'Name', searchEnabled: true, searchExpr: ['EmployeeNumber','Name'], showClearButton: true }\">\n <dxo-label text=\"Responsible\" i18n-text=\"@@FieldCaption-Responsible\"></dxo-label>\n </dxi-item> \n \n <dxi-item dataField=\"SalesResponsibleId\" [colSpan]=\"2\" #responsible editorType=\"dxLookup\" [editorOptions]=\"{ itemTemplate:'employee_itemTemplate', fieldTemplate: 'employee_fieldTemplate', dataSource: salesResponsible_ds, valueExpr: 'Id', displayExpr: 'Name', searchEnabled: true, searchExpr: ['EmployeeNumber','Name'], showClearButton: true }\">\n <dxo-label text=\"Responsible (Sales)\" i18n-text=\"@@FieldCaption-SalesResponsible\"></dxo-label> \n </dxi-item> \n\n <dxi-item dataField=\"ImplementationResponsibleId\" [colSpan]=\"2\" #responsible editorType=\"dxLookup\" [editorOptions]=\"{ itemTemplate:'employee_itemTemplate', fieldTemplate: 'employee_fieldTemplate', dataSource: implementationResponsible_ds, valueExpr: 'Id', displayExpr: 'Name', searchEnabled: true, searchExpr: ['EmployeeNumber','Name'], showClearButton: true }\">\n <dxo-label text=\"Responsible (Implementation)\" i18n-text=\"@@FieldCaption-ImplementationResponsible\"></dxo-label> \n </dxi-item>\n \n <dxi-item dataField=\"Planable\" editorType=\"dxSelectBox\" [editorOptions]=\"{ dataSource: boolean_ds, valueExpr: 'id', displayExpr: 'description', placeholder: '' }\">\n <dxo-label text=\"Planable\" i18n-text=\"@@FieldCaption-Planable\"></dxo-label>\n </dxi-item>\n \n <dxi-item dataField=\"IsHeaderProject\" editorType=\"dxSelectBox\" [editorOptions]=\"{ dataSource: boolean_ds, valueExpr: 'id', displayExpr: 'description', placeholder: '' }\">\n <dxo-label text=\"Header project\" i18n-text=\"@@FieldCaption-HeaderProject\"></dxo-label>\n </dxi-item>\n\n <dxi-item dataField=\"RequireSignature\" [colSpan]=\"2\" editorType=\"dxSelectBox\" [editorOptions]=\"{ dataSource: boolean_ds, valueExpr: 'id', displayExpr: 'description', placeholder: '' }\">\n <dxo-label text=\"Require signature\" i18n-text=\"@@FieldCaption-RequireSignature\"></dxo-label>\n </dxi-item>\n \n </dxi-item>\n \n \n <!-- Templates -->\n <div *dxTemplate=\"let item of 'employee_itemTemplate'\">\n {{item?.Name}} {{ item?.EmployeeNumber ? ('(' + item.EmployeeNumber + ')') : ('') }}\n </div> \n <div *dxTemplate=\"let item of 'employee_fieldTemplate'\" [ngClass]=\"{'lookup-field-template-container':!inEditMode, 'lookup-field-template-container-readonly':!inEditMode}\">\n {{item?.Name}} {{ item?.EmployeeNumber ? ('(' + item.EmployeeNumber + ')') : ('') }}\n </div> \n </dx-form>\n\n</mobicloud-group-box>",
6626
+ template: "<mobicloud-group-box title=\"General\" i18n-title=\"@@CaptionHeader-General\" [width]=\"[width]\" [contentheight]=[contentheight] class=\"projectGeneralForm\" [isLoadingData]=\"isLoadingData\" [loadingText]=\"loadingText\" \n [editAllowed]=\"editAllowed\" [inEditMode]=\"inEditMode\" [hasErrors]=\"hasErrors\" errorCaption=\"Error\" i18n-errorCaption=\"@@CaptionHeader-Error\" [errorText]=\"errorText\" [enableRetryOnError]=\"true\"\n (Edit_Click)=\"onEditClick()\" (Save_Click)=\"onSaveClick()\" (CancelEdit_Click)=\"onCancelEditClick()\" (Retry_Click)=\"onRetryClick()\">\n\n <dx-form #form id=\"form\"\n [formData]=\"formProject\"\n [readOnly]=\"!inEditMode\"\n [showColonAfterLabel]=\"true\"\n [showValidationSummary]=\"false\" \n [showRequiredMark] = \"false\"\n \n validationGroup=\"formProjectData_General\">\n\n <dxi-item itemType=\"group\" caption=\"\" [colCount]=\"2\">\n <dxi-item dataField=\"ProjectId\">\n <dxo-label text=\"Project id\" i18n-text=\"@@FieldCaption-ProjectId\"></dxo-label>\n <dxi-validation-rule type=\"required\" message=\"Project id is required\" i18n-message=\"@@ValidationText-ProjectId-Required\"></dxi-validation-rule>\n </dxi-item> \n \n <dxi-item dataField=\"Status\" editorType=\"dxSelectBox\" [editorOptions]=\"{ dataSource: status_ds, valueExpr: 'value', displayExpr: 'text' }\">\n <dxo-label text=\"Status\" i18n-text=\"@@FieldCaption-Status\"></dxo-label>\n </dxi-item> \n\n <dxi-item dataField=\"Name\">\n <dxo-label text=\"Name\" i18n-text=\"@@FieldCaption-Name\"></dxo-label>\n <dxi-validation-rule type=\"required\" message=\"Name is required\" i18n-message=\"@@ValidationText-Name-Required\"></dxi-validation-rule>\n </dxi-item>\n <dxi-item dataField=\"ProjectType\" editorType=\"dxSelectBox\" [editorOptions]=\"{ dataSource: projecttype_ds, valueExpr: 'id', displayExpr: 'description' }\">\n <dxo-label text=\"Project type\" i18n-text=\"@@FieldCaption-ProjectType\"></dxo-label>\n </dxi-item> \n\n <dxi-item dataField=\"ResponsibleId\" [colSpan]=\"2\" #responsible editorType=\"dxLookup\" [editorOptions]=\"{ itemTemplate:'employee_itemTemplate', fieldTemplate: 'employee_fieldTemplate', dataSource: responsible_ds, valueExpr: 'Id', displayExpr: 'Name', searchEnabled: true, searchExpr: ['EmployeeNumber','Name'], showClearButton: true }\">\n <dxo-label text=\"Responsible\" i18n-text=\"@@FieldCaption-Responsible\"></dxo-label>\n </dxi-item> \n \n <dxi-item dataField=\"SalesResponsibleId\" [colSpan]=\"2\" #responsible editorType=\"dxLookup\" [editorOptions]=\"{ itemTemplate:'employee_itemTemplate', fieldTemplate: 'employee_fieldTemplate', dataSource: salesResponsible_ds, valueExpr: 'Id', displayExpr: 'Name', searchEnabled: true, searchExpr: ['EmployeeNumber','Name'], showClearButton: true }\">\n <dxo-label text=\"Responsible (Sales)\" i18n-text=\"@@FieldCaption-SalesResponsible\"></dxo-label> \n </dxi-item> \n\n <dxi-item dataField=\"ImplementationResponsibleId\" [colSpan]=\"2\" #responsible editorType=\"dxLookup\" [editorOptions]=\"{ itemTemplate:'employee_itemTemplate', fieldTemplate: 'employee_fieldTemplate', dataSource: implementationResponsible_ds, valueExpr: 'Id', displayExpr: 'Name', searchEnabled: true, searchExpr: ['EmployeeNumber','Name'], showClearButton: true }\">\n <dxo-label text=\"Responsible (Implementation)\" i18n-text=\"@@FieldCaption-ImplementationResponsible\"></dxo-label> \n </dxi-item>\n \n <dxi-item dataField=\"Planable\" editorType=\"dxSelectBox\" [editorOptions]=\"{ dataSource: boolean_ds, valueExpr: 'id', displayExpr: 'description', placeholder: '' }\">\n <dxo-label text=\"Planable\" i18n-text=\"@@FieldCaption-Planable\"></dxo-label>\n </dxi-item>\n \n <dxi-item dataField=\"IsHeaderProject\" editorType=\"dxSelectBox\" [editorOptions]=\"{ dataSource: boolean_ds, valueExpr: 'id', displayExpr: 'description', placeholder: '' }\">\n <dxo-label text=\"Header project\" i18n-text=\"@@FieldCaption-HeaderProject\"></dxo-label>\n </dxi-item>\n\n <dxi-item dataField=\"RequireSignature\" editorType=\"dxSelectBox\" [editorOptions]=\"{ dataSource: boolean_ds, valueExpr: 'id', displayExpr: 'description', placeholder: '' }\">\n <dxo-label text=\"Require signature\" i18n-text=\"@@FieldCaption-RequireSignature\"></dxo-label>\n </dxi-item>\n <dxi-item dataField=\"MetaData.ExternalId\">\n <dxo-label text=\"External id\" i18n-text=\"@@FieldCaption-ExternalId\"></dxo-label>\n </dxi-item>\n </dxi-item>\n \n \n <!-- Templates -->\n <div *dxTemplate=\"let item of 'employee_itemTemplate'\">\n {{item?.Name}} {{ item?.EmployeeNumber ? ('(' + item.EmployeeNumber + ')') : ('') }}\n </div> \n <div *dxTemplate=\"let item of 'employee_fieldTemplate'\" [ngClass]=\"{'lookup-field-template-container':!inEditMode, 'lookup-field-template-container-readonly':!inEditMode}\">\n {{item?.Name}} {{ item?.EmployeeNumber ? ('(' + item.EmployeeNumber + ')') : ('') }}\n </div> \n </dx-form>\n\n</mobicloud-group-box>",
6625
6627
  styles: [""]
6626
6628
  },] }
6627
6629
  ];
@@ -7194,7 +7196,7 @@
7194
7196
  };
7195
7197
  ServiceObjectGeneralComponent.prototype.initializeDataSource = function () {
7196
7198
  return __awaiter(this, void 0, void 0, function () {
7197
- return __generator(this, function (_d) {
7199
+ return __generator(this, function (_e) {
7198
7200
  this.serviceObject_store = new ODataStore__default['default']({
7199
7201
  url: this.cloudDataService.getMobiManagementODataUrl("ServiceObject"),
7200
7202
  withCredentials: true,
@@ -7252,7 +7254,7 @@
7252
7254
  };
7253
7255
  ServiceObjectGeneralComponent.prototype.saveServiceObject = function () {
7254
7256
  var _this = this;
7255
- var _a, _b, _c;
7257
+ var _a, _b, _c, _d;
7256
7258
  if (this.formserviceObject && ((_a = this.serviceObject) === null || _a === void 0 ? void 0 : _a.Id) && this.serviceObject_store) {
7257
7259
  this.isLoadingData = true;
7258
7260
  this.loadingText = $localize(templateObject_5$l || (templateObject_5$l = __makeTemplateObject([":@@Updating-Text-ServiceObject:Updating service object..."], [":@@Updating-Text-ServiceObject:Updating service object..."])));
@@ -7263,7 +7265,8 @@
7263
7265
  OrderReference: this.formserviceObject.OrderReference,
7264
7266
  CustomerId: (_b = this.formserviceObject) === null || _b === void 0 ? void 0 : _b.CustomerId,
7265
7267
  BeaconId: (_c = this.formserviceObject) === null || _c === void 0 ? void 0 : _c.BeaconId,
7266
- ExpireDate: this.formserviceObject.ExpireDate
7268
+ ExpireDate: this.formserviceObject.ExpireDate,
7269
+ MetaData: { ExternalId: (_d = this.formserviceObject.MetaData) === null || _d === void 0 ? void 0 : _d.ExternalId },
7267
7270
  };
7268
7271
  this.serviceObject_store.update(this.serviceObject.Id, data)
7269
7272
  .then(function (dataObj) {
@@ -7291,7 +7294,7 @@
7291
7294
  };
7292
7295
  ServiceObjectGeneralComponent.prototype.createCustomerDataSource = function () {
7293
7296
  return __awaiter(this, void 0, void 0, function () {
7294
- return __generator(this, function (_d) {
7297
+ return __generator(this, function (_e) {
7295
7298
  this.customer_ds = new DataSource__default['default']({
7296
7299
  store: new ODataStore__default['default']({
7297
7300
  url: this.cloudDataService.getMobiManagementODataUrl("Customer"),
@@ -7314,7 +7317,7 @@
7314
7317
  };
7315
7318
  ServiceObjectGeneralComponent.prototype.createBeaconDataSource = function () {
7316
7319
  return __awaiter(this, void 0, void 0, function () {
7317
- return __generator(this, function (_d) {
7320
+ return __generator(this, function (_e) {
7318
7321
  this.beacon_ds = new DataSource__default['default']({
7319
7322
  store: new ODataStore__default['default']({
7320
7323
  url: this.cloudDataService.getMobiManagementODataUrl("Beacon"),
@@ -7340,7 +7343,7 @@
7340
7343
  ServiceObjectGeneralComponent.decorators = [
7341
7344
  { type: core.Component, args: [{
7342
7345
  selector: 'mobicloud-service-object-general',
7343
- template: "<mobicloud-group-box title=\"General\" i18n-title=\"@@CaptionHeader-General\" [width]=\"[width]\" [contentheight]=[contentheight] class=\"serviceObjectGeneralForm\" [isLoadingData]=\"isLoadingData\" [loadingText]=\"loadingText\" \n [editAllowed]=\"editAllowed\" [inEditMode]=\"inEditMode\" [hasErrors]=\"hasErrors\" errorCaption=\"Error\" i18n-errorCaption=\"@@CaptionHeader-Error\" [errorText]=\"errorText\" [enableRetryOnError]=\"true\"\n (Edit_Click)=\"onEditClick()\" (Save_Click)=\"onSaveClick()\" (CancelEdit_Click)=\"onCancelEditClick()\" (Retry_Click)=\"onRetryClick()\">\n\n <dx-form #form id=\"form\"\n [formData]=\"formserviceObject\"\n [readOnly]=\"!inEditMode\"\n [showColonAfterLabel]=\"true\"\n labelLocation=\"top\"\n [showValidationSummary]=\"false\" \n [showRequiredMark] = \"false\"\n validationGroup=\"formServiceObjectData_General\">\n\n <dxi-item itemType=\"group\" caption=\"\" [colCount]=\"2\">\n <dxi-item dataField=\"ServiceObjectId\">\n <dxo-label text=\"Service Object id\" i18n-text=\"@@FieldCaption-ServiceObjectId\"></dxo-label>\n <dxi-validation-rule type=\"required\" message=\"Service Object id is required\" i18n-message=\"@@ValidationText-ServiceObjectId-Required\"></dxi-validation-rule>\n </dxi-item> \n <dxi-item dataField=\"Name\" [colSpan]=\"2\">\n <dxo-label text=\"Name\" i18n-text=\"@@FieldCaption-Name\"></dxo-label>\n <dxi-validation-rule type=\"required\" message=\"Name is required\" i18n-message=\"@@ValidationText-Name-Required\"></dxi-validation-rule>\n </dxi-item>\n\n <dxi-item dataField=\"Serialnumber\" [colSpan]=\"2\">\n <dxo-label text=\"Serialnumber\" i18n-text=\"@@FieldCaption-Serialnumber\"></dxo-label>\n </dxi-item>\n\n <dxi-item dataField=\"OrderReference\" [colSpan]=\"2\">\n <dxo-label text=\"Order ref.\" i18n-text=\"@@FieldCaption-OrderReference\"></dxo-label>\n </dxi-item>\n\n <dxi-item dataField=\"CustomerId\" #customer [colSpan]=\"2\" editorType=\"dxLookup\" [editorOptions]=\"{ itemTemplate:'customer_itemTemplate', fieldTemplate: 'customer_fieldTemplate', dataSource: customer_ds, valueExpr: 'Id', displayExpr: 'Name', searchEnabled: true, searchExpr: ['AccountNumber','Name'], showClearButton: true }\">\n <dxo-label text=\"Customer\" i18n-text=\"@@FieldCaption-Customer\"></dxo-label> \n </dxi-item>\n\n <dxi-item dataField=\"BeaconId\" #customer [colSpan]=\"2\" editorType=\"dxLookup\" [editorOptions]=\"{ itemTemplate:'beacon_itemTemplate', fieldTemplate: 'beacon_fieldTemplate', dataSource: beacon_ds, valueExpr: 'Id', displayExpr: 'Name', searchEnabled: true, searchExpr: ['BeaconId','Name'], showClearButton: true }\">\n <dxo-label text=\"Beacon\" i18n-text=\"@@FieldCaption-Beacon\"></dxo-label>\n </dxi-item>\n \n <dxi-item dataField=\"ExpireDate\" [colSpan]=\"2\" editorType=\"dxDateBox\">\n <dxo-label text=\"Expire date\" i18n-text=\"@@FieldCaption-ExpireDate\"></dxo-label>\n </dxi-item> \n \n </dxi-item>\n \n <!-- Templates -->\n <div *dxTemplate=\"let item of 'customer_itemTemplate'\">\n {{ item?.Name }} ({{ item?.AccountNumber }})\n </div> \n <div *dxTemplate=\"let fieldData of 'customer_fieldTemplate'\" [ngClass]=\"{'lookup-field-template-container':!inEditMode, 'lookup-field-template-container-readonly':!inEditMode}\">\n {{fieldData?.Name}} ({{ fieldData?.AccountNumber }})\n </div> \n \n <div *dxTemplate=\"let item of 'beacon_itemTemplate'\">\n {{ item?.Name }} ({{ item?.BeaconId }})\n </div> \n <div *dxTemplate=\"let fieldData of 'beacon_fieldTemplate'\" [ngClass]=\"{'lookup-field-template-container':!inEditMode, 'lookup-field-template-container-readonly':!inEditMode}\">\n {{fieldData?.Name}} ({{ fieldData?.BeaconId }})\n </div> \n </dx-form>\n\n</mobicloud-group-box>",
7346
+ template: "<mobicloud-group-box title=\"General\" i18n-title=\"@@CaptionHeader-General\" [width]=\"[width]\" [contentheight]=[contentheight] class=\"serviceObjectGeneralForm\" [isLoadingData]=\"isLoadingData\" [loadingText]=\"loadingText\" \n [editAllowed]=\"editAllowed\" [inEditMode]=\"inEditMode\" [hasErrors]=\"hasErrors\" errorCaption=\"Error\" i18n-errorCaption=\"@@CaptionHeader-Error\" [errorText]=\"errorText\" [enableRetryOnError]=\"true\"\n (Edit_Click)=\"onEditClick()\" (Save_Click)=\"onSaveClick()\" (CancelEdit_Click)=\"onCancelEditClick()\" (Retry_Click)=\"onRetryClick()\">\n\n <dx-form #form id=\"form\"\n [formData]=\"formserviceObject\"\n [readOnly]=\"!inEditMode\"\n [showColonAfterLabel]=\"true\"\n labelLocation=\"top\"\n [showValidationSummary]=\"false\" \n [showRequiredMark] = \"false\"\n validationGroup=\"formServiceObjectData_General\">\n\n <dxi-item itemType=\"group\" caption=\"\" [colCount]=\"2\">\n <dxi-item dataField=\"ServiceObjectId\">\n <dxo-label text=\"Service Object id\" i18n-text=\"@@FieldCaption-ServiceObjectId\"></dxo-label>\n <dxi-validation-rule type=\"required\" message=\"Service Object id is required\" i18n-message=\"@@ValidationText-ServiceObjectId-Required\"></dxi-validation-rule>\n </dxi-item> \n <dxi-item dataField=\"Name\" [colSpan]=\"2\">\n <dxo-label text=\"Name\" i18n-text=\"@@FieldCaption-Name\"></dxo-label>\n <dxi-validation-rule type=\"required\" message=\"Name is required\" i18n-message=\"@@ValidationText-Name-Required\"></dxi-validation-rule>\n </dxi-item>\n\n <dxi-item dataField=\"Serialnumber\">\n <dxo-label text=\"Serialnumber\" i18n-text=\"@@FieldCaption-Serialnumber\"></dxo-label>\n </dxi-item>\n\n <dxi-item dataField=\"OrderReference\">\n <dxo-label text=\"Order ref.\" i18n-text=\"@@FieldCaption-OrderReference\"></dxo-label>\n </dxi-item>\n <dxi-item dataField=\"MetaData.ExternalId\" [colSpan]=\"2\">\n <dxo-label text=\"External id\" i18n-text=\"@@FieldCaption-ExternalId\"></dxo-label>\n </dxi-item>\n <dxi-item dataField=\"CustomerId\" #customer [colSpan]=\"2\" editorType=\"dxLookup\" [editorOptions]=\"{ itemTemplate:'customer_itemTemplate', fieldTemplate: 'customer_fieldTemplate', dataSource: customer_ds, valueExpr: 'Id', displayExpr: 'Name', searchEnabled: true, searchExpr: ['AccountNumber','Name'], showClearButton: true }\">\n <dxo-label text=\"Customer\" i18n-text=\"@@FieldCaption-Customer\"></dxo-label> \n </dxi-item>\n\n <dxi-item dataField=\"BeaconId\" #customer [colSpan]=\"2\" editorType=\"dxLookup\" [editorOptions]=\"{ itemTemplate:'beacon_itemTemplate', fieldTemplate: 'beacon_fieldTemplate', dataSource: beacon_ds, valueExpr: 'Id', displayExpr: 'Name', searchEnabled: true, searchExpr: ['BeaconId','Name'], showClearButton: true }\">\n <dxo-label text=\"Beacon\" i18n-text=\"@@FieldCaption-Beacon\"></dxo-label>\n </dxi-item>\n \n <dxi-item dataField=\"ExpireDate\" [colSpan]=\"2\" editorType=\"dxDateBox\">\n <dxo-label text=\"Expire date\" i18n-text=\"@@FieldCaption-ExpireDate\"></dxo-label>\n </dxi-item> \n \n </dxi-item>\n \n <!-- Templates -->\n <div *dxTemplate=\"let item of 'customer_itemTemplate'\">\n {{ item?.Name }} ({{ item?.AccountNumber }})\n </div> \n <div *dxTemplate=\"let fieldData of 'customer_fieldTemplate'\" [ngClass]=\"{'lookup-field-template-container':!inEditMode, 'lookup-field-template-container-readonly':!inEditMode}\">\n {{fieldData?.Name}} ({{ fieldData?.AccountNumber }})\n </div> \n \n <div *dxTemplate=\"let item of 'beacon_itemTemplate'\">\n {{ item?.Name }} ({{ item?.BeaconId }})\n </div> \n <div *dxTemplate=\"let fieldData of 'beacon_fieldTemplate'\" [ngClass]=\"{'lookup-field-template-container':!inEditMode, 'lookup-field-template-container-readonly':!inEditMode}\">\n {{fieldData?.Name}} ({{ fieldData?.BeaconId }})\n </div> \n </dx-form>\n\n</mobicloud-group-box>",
7344
7347
  styles: [""]
7345
7348
  },] }
7346
7349
  ];
@@ -8253,7 +8256,7 @@
8253
8256
  DocumentCatalogComponent.decorators = [
8254
8257
  { type: core.Component, args: [{
8255
8258
  selector: 'mobicloud-document-catalog',
8256
- template: "<dx-file-manager #fileManager id=\"fileManager\"\n [fileSystemProvider]=\"remoteProvider\" selectionMode=\"single\" (onErrorOccurred)=\"onErrorOccurred($event)\"\n rootFolderName=\"Documents\" i18n-rootFolderName=\"@@DocumentsFolderName-Text\" (onSelectionChanged)=\"onSelectionChanged($event)\"(onSelectedFileOpened)=\"onSelectedFileOpened($event)\" (onContextMenuShowing)=\"onContextMenuShowing($event)\" (onContextMenuItemClick)=\"onContextMenuItemClick($event)\" height=\"100%\">\n\n <dxo-permissions \n [create]=\"editAllowed\"\n [copy]=\"editAllowed\"\n [move]=\"editAllowed\"\n [delete]=\"editAllowed\"\n [rename]=\"editAllowed\"\n [upload]=\"editAllowed\"\n [download]=\"downloadAllowed\">\n </dxo-permissions>\n \n <dxo-item-view [showParentFolder]=\"false\">\n <dxo-details>\n <dxi-column dataField=\"thumbnail\"></dxi-column>\n <dxi-column dataField=\"name\"></dxi-column>\n <dxi-column dataField=\"CategoryName\" caption=\"Category\"></dxi-column>\n <dxi-column dataField=\"TypeName\" caption=\"Type\"></dxi-column> \n <dxi-column dataField=\"dateModified\"></dxi-column>\n <!-- <dxi-column dataField=\"IsSystem\" caption=\"System\" [visible]=\"true\"></dxi-column> -->\n <dxi-column dataField=\"BlobFullName\" caption=\"Blob name\" [visible]=\"true\" *ngIf=\"editAllowed\"></dxi-column>\n <dxi-column dataField=\"SecurityVisibility\" caption=\"Security\" [visible]=\"true\" *ngIf=\"manageSecurity\"></dxi-column>\n <!-- <dxi-column dataField=\"size\"></dxi-column> -->\n </dxo-details>\n </dxo-item-view>\n <!-- <dxo-upload [chunkSize]=\"500000\"></dxo-upload> -->\n\n <dxo-context-menu>\n <!-- <dxi-item name=\"create\"></dxi-item>\n <dxi-item name=\"upload\"></dxi-item>\n <dxi-item name=\"rename\"></dxi-item>\n <dxi-item name=\"move\"></dxi-item> \n <dxi-item name=\"copy\"></dxi-item> \n <dxi-item name=\"delete\"></dxi-item> \n <dxi-item text=\"Category\" icon=\"tags\" beginGroup=\"true\">\n <dxi-item text=\"Work\" [options]=\"{ category: 'Work' }\"></dxi-item>\n <dxi-item text=\"Important\" [options]=\"{ category: 'Important' }\"></dxi-item>\n <dxi-item text=\"Home\" [options]=\"{ category: 'Home' }\"></dxi-item>\n <dxi-item text=\"None\" [options]=\"{ category: '' }\"></dxi-item>\n </dxi-item> \n <dxi-item name=\"refresh\" beginGroup=\"true\"></dxi-item>\n <dxi-item name=\"download\"></dxi-item> -->\n \n\n </dxo-context-menu> \n</dx-file-manager>",
8259
+ template: "<dx-file-manager #fileManager id=\"fileManager\"\n [fileSystemProvider]=\"remoteProvider\" selectionMode=\"single\" (onErrorOccurred)=\"onErrorOccurred($event)\"\n rootFolderName=\"Documents\" i18n-rootFolderName=\"@@DocumentsFolderName-Text\" (onSelectionChanged)=\"onSelectionChanged($event)\"(onSelectedFileOpened)=\"onSelectedFileOpened($event)\" (onContextMenuShowing)=\"onContextMenuShowing($event)\" (onContextMenuItemClick)=\"onContextMenuItemClick($event)\" height=\"100%\">\n\n <dxo-permissions \n [create]=\"editAllowed\"\n [copy]=\"editAllowed\"\n [move]=\"editAllowed\"\n [delete]=\"editAllowed\"\n [rename]=\"editAllowed\"\n [upload]=\"editAllowed\"\n [download]=\"downloadAllowed\">\n </dxo-permissions>\n \n <dxo-item-view [showParentFolder]=\"false\">\n <dxo-details>\n <dxi-column dataField=\"thumbnail\" hidingPriority=\"100\"></dxi-column>\n <dxi-column dataField=\"name\" hidingPriority=\"90\"></dxi-column>\n <dxi-column dataField=\"CategoryName\" caption=\"Category\" hidingPriority=\"80\"></dxi-column>\n <dxi-column dataField=\"TypeName\" caption=\"Type\" hidingPriority=\"70\"></dxi-column> \n <dxi-column dataField=\"dateModified\" hidingPriority=\"60\"></dxi-column>\n <!-- <dxi-column dataField=\"IsSystem\" caption=\"System\" [visible]=\"true\"></dxi-column> --> \n <dxi-column dataField=\"SecurityVisibility\" caption=\"Security\" hidingPriority=\"50\" [visible]=\"true\" *ngIf=\"manageSecurity\"></dxi-column>\n <dxi-column dataField=\"BlobFullName\" caption=\"Blob name\" hidingPriority=\"40\" [visible]=\"true\" *ngIf=\"editAllowed\"></dxi-column> \n <!-- <dxi-column dataField=\"size\"></dxi-column> -->\n </dxo-details>\n </dxo-item-view>\n <!-- <dxo-upload [chunkSize]=\"500000\"></dxo-upload> -->\n\n <dxo-context-menu>\n <!-- <dxi-item name=\"create\"></dxi-item>\n <dxi-item name=\"upload\"></dxi-item>\n <dxi-item name=\"rename\"></dxi-item>\n <dxi-item name=\"move\"></dxi-item> \n <dxi-item name=\"copy\"></dxi-item> \n <dxi-item name=\"delete\"></dxi-item> \n <dxi-item text=\"Category\" icon=\"tags\" beginGroup=\"true\">\n <dxi-item text=\"Work\" [options]=\"{ category: 'Work' }\"></dxi-item>\n <dxi-item text=\"Important\" [options]=\"{ category: 'Important' }\"></dxi-item>\n <dxi-item text=\"Home\" [options]=\"{ category: 'Home' }\"></dxi-item>\n <dxi-item text=\"None\" [options]=\"{ category: '' }\"></dxi-item>\n </dxi-item> \n <dxi-item name=\"refresh\" beginGroup=\"true\"></dxi-item>\n <dxi-item name=\"download\"></dxi-item> -->\n \n\n </dxo-context-menu> \n</dx-file-manager>",
8257
8260
  styles: [""]
8258
8261
  },] }
8259
8262
  ];