@qubesense/customer-farm 0.0.1 → 0.0.2

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.
@@ -1,14 +1,14 @@
1
1
  import { __awaiter } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
3
  import { Injectable, EventEmitter, Component, Output, Input, NgModule } from '@angular/core';
4
- import * as i2 from '@qubesense/base-services';
5
- import * as i1 from '@angular/forms';
4
+ import * as i3 from '@qubesense/base-services';
5
+ import * as i2 from '@angular/forms';
6
6
  import { Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
7
- import * as i3 from '@angular/material/form-field';
7
+ import * as i4 from '@angular/material/form-field';
8
8
  import { MatFormFieldModule } from '@angular/material/form-field';
9
- import * as i4 from '@angular/material/input';
9
+ import * as i5 from '@angular/material/input';
10
10
  import { MatInputModule } from '@angular/material/input';
11
- import * as i5 from '@angular/common';
11
+ import * as i6 from '@angular/common';
12
12
  import { CommonModule } from '@angular/common';
13
13
  import { MatCheckboxModule } from '@angular/material/checkbox';
14
14
  import { CdkStepperModule } from '@angular/cdk/stepper';
@@ -64,38 +64,44 @@ class CustomerFarmService {
64
64
  }
65
65
  });
66
66
  }
67
- // /**
68
- // * service for inserting customer data into database
69
- // *
70
- // * @param parentCustomerFarmModel
71
- // *
72
- // * @returns Response message from Database
73
- // */
74
- // public async InsertData(parentCustomerFarmModel: ParentCustomerFarmModel) {
75
- // try {
76
- // const url = this.customerFarmApiUrls.insertCustomerFarmDataUrl;
77
- // const resultResponse = await this.dataAccessService.InsertData(url, parentCustomerFarmModel);
78
- // return resultResponse;
79
- // } catch (error) {
80
- // throw error;
81
- // }
82
- // }
67
+ /**
68
+ * service for inserting customer data into database
69
+ *
70
+ * @param customerFarmModel
71
+ *
72
+ * @returns Response message from Database
73
+ */
74
+ InsertData(customerFarmModel) {
75
+ return __awaiter(this, void 0, void 0, function* () {
76
+ try {
77
+ const url = this.customerFarmApiUrls.insertCustomerFarmDataUrl;
78
+ const resultResponse = yield this.dataAccessService.InsertData(url, customerFarmModel);
79
+ return resultResponse;
80
+ }
81
+ catch (error) {
82
+ throw error;
83
+ }
84
+ });
85
+ }
83
86
  /**
84
87
  * service for update customer Data
85
88
  *
86
- * @param parentCustomerFarmModel
89
+ * @param customerFarmModel
87
90
  *
88
91
  * @returns Response message from Database
89
92
  */
90
- // public async UpdateData(parentCustomerFarmModel: ParentCustomerFarmModel) {
91
- // try {
92
- // const url = this.customerFarmApiUrls.updateCustomerFarmDataUrl;
93
- // const resultResponse = await this.dataAccessService.UpdateData(url, parentCustomerFarmModel);
94
- // return resultResponse;
95
- // } catch (error) {
96
- // throw error;
97
- // }
98
- // }
93
+ UpdateData(customerFarmModel) {
94
+ return __awaiter(this, void 0, void 0, function* () {
95
+ try {
96
+ const url = this.customerFarmApiUrls.updateCustomerFarmDataUrl;
97
+ const resultResponse = yield this.dataAccessService.UpdateData(url, customerFarmModel);
98
+ return resultResponse;
99
+ }
100
+ catch (error) {
101
+ throw error;
102
+ }
103
+ });
104
+ }
99
105
  /**
100
106
  * service for delete customer data by GUID
101
107
  *
@@ -122,15 +128,18 @@ class CustomerFarmService {
122
128
  *
123
129
  * @returns Response Data from Database
124
130
  */
125
- // public async GetListData(customerDataModel: CustomerDataModel) {
126
- // try {
127
- // const url = this.customerFarmApiUrls.getCustomerFarmListUrl;
128
- // const resultResponse = await this.dataAccessService.GetListData(url, customerDataModel);
129
- // return resultResponse;
130
- // } catch (error) {
131
- // throw error;
132
- // }
133
- // }
131
+ GetListData(customerDataModel) {
132
+ return __awaiter(this, void 0, void 0, function* () {
133
+ try {
134
+ const url = this.customerFarmApiUrls.getCustomerFarmListUrl;
135
+ const resultResponse = yield this.dataAccessService.GetListData(url, customerDataModel);
136
+ return resultResponse;
137
+ }
138
+ catch (error) {
139
+ throw error;
140
+ }
141
+ });
142
+ }
134
143
  /**
135
144
  * service for get data for customer DropDown List
136
145
  *
@@ -149,14 +158,14 @@ class CustomerFarmService {
149
158
  });
150
159
  }
151
160
  }
152
- CustomerFarmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: CustomerFarmService, deps: [{ token: i2.DataAccessService }], target: i0.ɵɵFactoryTarget.Injectable });
161
+ CustomerFarmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: CustomerFarmService, deps: [{ token: i3.DataAccessService }], target: i0.ɵɵFactoryTarget.Injectable });
153
162
  CustomerFarmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: CustomerFarmService, providedIn: 'root' });
154
163
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: CustomerFarmService, decorators: [{
155
164
  type: Injectable,
156
165
  args: [{
157
166
  providedIn: 'root'
158
167
  }]
159
- }], ctorParameters: function () { return [{ type: i2.DataAccessService }]; } });
168
+ }], ctorParameters: function () { return [{ type: i3.DataAccessService }]; } });
160
169
 
161
170
  class CustomerFarmModel {
162
171
  constructor() {
@@ -183,6 +192,7 @@ class CustomerFarmConfigrationModel {
183
192
  this.isSearchable = false;
184
193
  this.showClientData = false;
185
194
  this.customerData = null;
195
+ this.userMessages = false;
186
196
  this.requiredCustomerFarmSection = false;
187
197
  this.allowedCustomerFarmSection = false;
188
198
  this.requiredCustomerFarmFields = new RequiredCustomerFarmFields();
@@ -214,12 +224,14 @@ class AllowedCustomerFarmFields {
214
224
  }
215
225
 
216
226
  class CustomerFarmComponent {
217
- constructor(formBuilder, errorLogService, toastr) {
227
+ constructor(customerFarmService, formBuilder, errorLogService, toastr) {
228
+ this.customerFarmService = customerFarmService;
218
229
  this.formBuilder = formBuilder;
219
230
  this.errorLogService = errorLogService;
220
231
  this.toastr = toastr;
221
232
  this.customerFarmData = new EventEmitter();
222
233
  this.customerFarmConfiguration = new CustomerFarmConfigrationModel();
234
+ this.userMessages = [];
223
235
  }
224
236
  ngOnInit() {
225
237
  this.DeclareForm();
@@ -315,13 +327,71 @@ class CustomerFarmComponent {
315
327
  customerFarmModel = this.ConvertFormToModel();
316
328
  this.customerFarmData.emit(customerFarmModel);
317
329
  }
330
+ /**
331
+ * @description
332
+ *
333
+ * Insert customer data into database
334
+ */
335
+ InsertData() {
336
+ return __awaiter(this, void 0, void 0, function* () {
337
+ try {
338
+ let customerFarmModel = new CustomerFarmModel();
339
+ customerFarmModel = this.ConvertFormToModel();
340
+ if (!this.customerFarmForm.invalid) {
341
+ const getResponse = yield this.customerFarmService.InsertData(customerFarmModel);
342
+ this.userMessages = getResponse.message.userMessage;
343
+ if (this.customerFarmConfiguration.userMessages) {
344
+ this.toastr.ShowSuccess(this.userMessages.toString());
345
+ }
346
+ this.ClearForm();
347
+ }
348
+ else {
349
+ this.customerFarmForm.markAllAsTouched();
350
+ this.toastr.ShowWarning("Please enter valid data!");
351
+ }
352
+ }
353
+ catch (error) {
354
+ this.errorLogService.saveError(error);
355
+ this.toastr.ShowAllErrors(error.error.message.userMessage);
356
+ }
357
+ });
358
+ }
359
+ /**
360
+ * @description
361
+ *
362
+ * update customer data into database
363
+ */
364
+ UpdateData() {
365
+ return __awaiter(this, void 0, void 0, function* () {
366
+ try {
367
+ let customerFarmModel = new CustomerFarmModel();
368
+ customerFarmModel = this.ConvertFormToModel();
369
+ if (!this.customerFarmForm.invalid) {
370
+ const getResponse = yield this.customerFarmService.UpdateData(customerFarmModel);
371
+ this.userMessages = getResponse.message.userMessage;
372
+ if (this.customerFarmConfiguration.userMessages) {
373
+ this.toastr.ShowSuccess(this.userMessages.toString());
374
+ }
375
+ this.ClearForm();
376
+ }
377
+ else {
378
+ this.customerFarmForm.markAllAsTouched();
379
+ this.toastr.ShowWarning("Please enter valid data!");
380
+ }
381
+ }
382
+ catch (error) {
383
+ this.errorLogService.saveError(error);
384
+ this.toastr.ShowAllErrors(error.error.message.userMessage);
385
+ }
386
+ });
387
+ }
318
388
  }
319
- CustomerFarmComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: CustomerFarmComponent, deps: [{ token: i1.FormBuilder }, { token: i2.ErrorLogService }, { token: i2.ToastrNotificationService }], target: i0.ɵɵFactoryTarget.Component });
320
- CustomerFarmComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: CustomerFarmComponent, selector: "lib-customer-farm", inputs: { customerFarmConfiguration: "customerFarmConfiguration" }, outputs: { customerFarmData: "customerFarmData" }, ngImport: i0, template: "<div class=\"flex flex-col flex-auto min-w-0 w-full\">\r\n <!-- form code starts here -->\r\n <!--content-->\r\n <div class=\"sm:w-full overflow-hidden\" *ngIf=\"customerFarmConfiguration.showModal\">\r\n\r\n <!--form body-->\r\n <form class=\"flex flex-col overflow-hidden\" [formGroup]=\"customerFarmForm\">\r\n <!-- Customer Farm section start -->\r\n\r\n <div class=\"sm:flex\">\r\n <div class=\"w-full\">\r\n <div class=\"sm:flex px-8 pt-4\">\r\n <mat-form-field class=\"flex-auto w-full mr-4\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.customerName\">\r\n <mat-label>Client Name</mat-label>\r\n <input matInput id=\"customerName\" placeholder=\"Client Name\" pattern=\"^[a-zA-Z ]*$\"\r\n minlength=\"3\" [formControlName]=\"'customerName'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('customerName').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.customerName \">\r\n Client Name is required\r\n </mat-error>\r\n <mat-error *ngIf=\"customerFarmForm.get('customerName').hasError('pattern')\">\r\n Please enter valid Client name\r\n </mat-error>\r\n <mat-error *ngIf=\"customerFarmForm.get('customerName').hasError('minlength')\">\r\n Client name must be of atleast 3 characters\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"flex-auto w-full\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.defaultWarehouse\">\r\n <mat-label>Default Warehouse</mat-label>\r\n <input matInput id=\"defaultWarehouse\" placeholder=\"Default Warehouse\"\r\n [formControlName]=\"'defaultWarehouse'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('defaultWarehouse').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.defaultWarehouse\">\r\n Default Warehouse is required\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"sm:flex px-8 pt-4\">\r\n <mat-form-field class=\"flex-auto w-full mr-4\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.personInCharge\">\r\n <mat-label>Person In Charge</mat-label>\r\n <input matInput id=\"personInCharge\" placeholder=\"Person In Charge\"\r\n [formControlName]=\"'personInCharge'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('personInCharge').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.personInCharge\">\r\n Person In Charge is required\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"flex-auto w-full\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.displayName\">\r\n <mat-label>Display Name</mat-label>\r\n <input matInput id=\"displayName\" placeholder=\"Display Name\"\r\n [formControlName]=\"'displayName'\" (change)=\"emitDataToParent()\">\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"sm:flex px-8 pt-4\">\r\n <mat-form-field class=\"flex-auto w-full mr-4\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.primaryVetId\">\r\n <mat-label>Primary Vet</mat-label>\r\n <input matInput id=\"primaryVetId\" placeholder=\"Primary Vet\"\r\n [formControlName]=\"'primaryVetId'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('primaryVetId').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.primaryVetId\">\r\n Primary Vet is required\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"flex-auto w-full\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.PICTattoo\">\r\n <mat-label>PIC/Tattoo (if applicable)</mat-label>\r\n <input matInput id=\"PICTattoo\" placeholder=\"PIC/Tattoo\" [formControlName]=\"'PICTattoo'\"\r\n (change)=\"emitDataToParent()\">\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n <!-- Customer Farm section End -->\r\n\r\n </form>\r\n </div>\r\n <!-- form code ends here -->\r\n\r\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: ["minlength"] }, { kind: "directive", type: i1.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
389
+ CustomerFarmComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: CustomerFarmComponent, deps: [{ token: CustomerFarmService }, { token: i2.FormBuilder }, { token: i3.ErrorLogService }, { token: i3.ToastrNotificationService }], target: i0.ɵɵFactoryTarget.Component });
390
+ CustomerFarmComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: CustomerFarmComponent, selector: "lib-customer-farm", inputs: { customerFarmConfiguration: "customerFarmConfiguration" }, outputs: { customerFarmData: "customerFarmData" }, ngImport: i0, template: "<div class=\"flex flex-col flex-auto min-w-0 w-full\">\r\n <!-- form code starts here -->\r\n <!--content-->\r\n <div class=\"sm:w-full overflow-hidden\" *ngIf=\"customerFarmConfiguration.showModal\">\r\n\r\n <!--form body-->\r\n <form class=\"flex flex-col overflow-hidden\" [formGroup]=\"customerFarmForm\">\r\n <!-- Customer Farm section start -->\r\n\r\n <div class=\"sm:flex\">\r\n <div class=\"w-full\">\r\n <div class=\"sm:flex px-8 pt-4\">\r\n <mat-form-field class=\"flex-auto w-full mr-4\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.customerName\">\r\n <mat-label>Client Name</mat-label>\r\n <input matInput id=\"customerName\" placeholder=\"Client Name\" pattern=\"^[a-zA-Z ]*$\"\r\n minlength=\"3\" [formControlName]=\"'customerName'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('customerName').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.customerName \">\r\n Client Name is required\r\n </mat-error>\r\n <mat-error *ngIf=\"customerFarmForm.get('customerName').hasError('pattern')\">\r\n Please enter valid Client name\r\n </mat-error>\r\n <mat-error *ngIf=\"customerFarmForm.get('customerName').hasError('minlength')\">\r\n Client name must be of atleast 3 characters\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"flex-auto w-full\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.defaultWarehouse\">\r\n <mat-label>Default Warehouse</mat-label>\r\n <input matInput id=\"defaultWarehouse\" placeholder=\"Default Warehouse\"\r\n [formControlName]=\"'defaultWarehouse'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('defaultWarehouse').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.defaultWarehouse\">\r\n Default Warehouse is required\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"sm:flex px-8 pt-4\">\r\n <mat-form-field class=\"flex-auto w-full mr-4\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.personInCharge\">\r\n <mat-label>Person In Charge</mat-label>\r\n <input matInput id=\"personInCharge\" placeholder=\"Person In Charge\"\r\n [formControlName]=\"'personInCharge'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('personInCharge').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.personInCharge\">\r\n Person In Charge is required\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"flex-auto w-full\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.displayName\">\r\n <mat-label>Display Name</mat-label>\r\n <input matInput id=\"displayName\" placeholder=\"Display Name\"\r\n [formControlName]=\"'displayName'\" (change)=\"emitDataToParent()\">\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"sm:flex px-8 pt-4\">\r\n <mat-form-field class=\"flex-auto w-full mr-4\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.primaryVetId\">\r\n <mat-label>Primary Vet</mat-label>\r\n <input matInput id=\"primaryVetId\" placeholder=\"Primary Vet\"\r\n [formControlName]=\"'primaryVetId'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('primaryVetId').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.primaryVetId\">\r\n Primary Vet is required\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"flex-auto w-full\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.PICTattoo\">\r\n <mat-label>PIC/Tattoo (if applicable)</mat-label>\r\n <input matInput id=\"PICTattoo\" placeholder=\"PIC/Tattoo\" [formControlName]=\"'PICTattoo'\"\r\n (change)=\"emitDataToParent()\">\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n <!-- Customer Farm section End -->\r\n\r\n </form>\r\n </div>\r\n <!-- form code ends here -->\r\n\r\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i4.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: ["minlength"] }, { kind: "directive", type: i2.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
321
391
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: CustomerFarmComponent, decorators: [{
322
392
  type: Component,
323
393
  args: [{ selector: 'lib-customer-farm', template: "<div class=\"flex flex-col flex-auto min-w-0 w-full\">\r\n <!-- form code starts here -->\r\n <!--content-->\r\n <div class=\"sm:w-full overflow-hidden\" *ngIf=\"customerFarmConfiguration.showModal\">\r\n\r\n <!--form body-->\r\n <form class=\"flex flex-col overflow-hidden\" [formGroup]=\"customerFarmForm\">\r\n <!-- Customer Farm section start -->\r\n\r\n <div class=\"sm:flex\">\r\n <div class=\"w-full\">\r\n <div class=\"sm:flex px-8 pt-4\">\r\n <mat-form-field class=\"flex-auto w-full mr-4\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.customerName\">\r\n <mat-label>Client Name</mat-label>\r\n <input matInput id=\"customerName\" placeholder=\"Client Name\" pattern=\"^[a-zA-Z ]*$\"\r\n minlength=\"3\" [formControlName]=\"'customerName'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('customerName').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.customerName \">\r\n Client Name is required\r\n </mat-error>\r\n <mat-error *ngIf=\"customerFarmForm.get('customerName').hasError('pattern')\">\r\n Please enter valid Client name\r\n </mat-error>\r\n <mat-error *ngIf=\"customerFarmForm.get('customerName').hasError('minlength')\">\r\n Client name must be of atleast 3 characters\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"flex-auto w-full\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.defaultWarehouse\">\r\n <mat-label>Default Warehouse</mat-label>\r\n <input matInput id=\"defaultWarehouse\" placeholder=\"Default Warehouse\"\r\n [formControlName]=\"'defaultWarehouse'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('defaultWarehouse').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.defaultWarehouse\">\r\n Default Warehouse is required\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"sm:flex px-8 pt-4\">\r\n <mat-form-field class=\"flex-auto w-full mr-4\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.personInCharge\">\r\n <mat-label>Person In Charge</mat-label>\r\n <input matInput id=\"personInCharge\" placeholder=\"Person In Charge\"\r\n [formControlName]=\"'personInCharge'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('personInCharge').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.personInCharge\">\r\n Person In Charge is required\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"flex-auto w-full\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.displayName\">\r\n <mat-label>Display Name</mat-label>\r\n <input matInput id=\"displayName\" placeholder=\"Display Name\"\r\n [formControlName]=\"'displayName'\" (change)=\"emitDataToParent()\">\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"sm:flex px-8 pt-4\">\r\n <mat-form-field class=\"flex-auto w-full mr-4\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.primaryVetId\">\r\n <mat-label>Primary Vet</mat-label>\r\n <input matInput id=\"primaryVetId\" placeholder=\"Primary Vet\"\r\n [formControlName]=\"'primaryVetId'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('primaryVetId').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.primaryVetId\">\r\n Primary Vet is required\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"flex-auto w-full\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.PICTattoo\">\r\n <mat-label>PIC/Tattoo (if applicable)</mat-label>\r\n <input matInput id=\"PICTattoo\" placeholder=\"PIC/Tattoo\" [formControlName]=\"'PICTattoo'\"\r\n (change)=\"emitDataToParent()\">\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n <!-- Customer Farm section End -->\r\n\r\n </form>\r\n </div>\r\n <!-- form code ends here -->\r\n\r\n</div>" }]
324
- }], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.ErrorLogService }, { type: i2.ToastrNotificationService }]; }, propDecorators: { customerFarmData: [{
394
+ }], ctorParameters: function () { return [{ type: CustomerFarmService }, { type: i2.FormBuilder }, { type: i3.ErrorLogService }, { type: i3.ToastrNotificationService }]; }, propDecorators: { customerFarmData: [{
325
395
  type: Output
326
396
  }], customerFarmConfiguration: [{
327
397
  type: Input
@@ -1 +1 @@
1
- {"version":3,"file":"qubesense-customer-farm.mjs","sources":["../../../projects/customer-farm/src/lib/dependencies/customer-farm-api-urls.ts","../../../projects/customer-farm/src/lib/customer-farm.service.ts","../../../projects/customer-farm/src/lib/dependencies/customer-farm-model.ts","../../../projects/customer-farm/src/lib/customer-farm.component.ts","../../../projects/customer-farm/src/lib/customer-farm.component.html","../../../projects/customer-farm/src/lib/customer-farm.module.ts","../../../projects/customer-farm/src/public-api.ts","../../../projects/customer-farm/src/qubesense-customer-farm.ts"],"sourcesContent":["export class CustomerFarmApiUrls {\r\n //api Url string for get data by Id\r\n getCustomerFarmByIdUrl: string = 'api/CustomerFarm/GetById';\r\n \r\n //api Url string for insert Customer data\r\n insertCustomerFarmDataUrl: string = 'api/CustomerFarm/Create';\r\n\r\n //api Url string for update Customer record\r\n updateCustomerFarmDataUrl: string = 'api/CustomerFarm/Update';\r\n\r\n //api Url string for delete Customer record\r\n deleteCustomerFarmDataUrl: string = 'api/CustomerFarm/Delete';\r\n\r\n //api Url string for get Customer list\r\n getCustomerFarmListUrl: string = 'api/CustomerFarm/GetAll';\r\n \r\n //api Url string for get Customer dropdown list\r\n getCustomerFarmDropdownListUrl: string = 'api/CustomerFarm/GetDropdownList';\r\n}","import { Injectable } from '@angular/core';\r\nimport { DataAccessService, WebApiResult } from '@qubesense/base-services';\r\nimport { CustomerFarmApiUrls } from './dependencies/customer-farm-api-urls';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CustomerFarmService {\r\n\r\n constructor(private dataAccessService: DataAccessService) { }\r\n\r\n customerFarmApiUrls = new CustomerFarmApiUrls();\r\n\r\n /**\r\n * service for get customer data by Id\r\n * \r\n * @param customerGUID \r\n * \r\n * @returns Response Data from Database\r\n */\r\n public async GetDataById(customerGUID: string): Promise<WebApiResult> {\r\n try {\r\n const url = this.customerFarmApiUrls.getCustomerFarmByIdUrl + '/' + customerGUID;\r\n const resultResponse = await this.dataAccessService.GetDataById(url);\r\n return resultResponse;\r\n } catch (error) {\r\n throw error;\r\n }\r\n }\r\n\r\n // /**\r\n // * service for inserting customer data into database\r\n // * \r\n // * @param parentCustomerFarmModel \r\n // * \r\n // * @returns Response message from Database\r\n // */\r\n // public async InsertData(parentCustomerFarmModel: ParentCustomerFarmModel) {\r\n // try {\r\n // const url = this.customerFarmApiUrls.insertCustomerFarmDataUrl;\r\n // const resultResponse = await this.dataAccessService.InsertData(url, parentCustomerFarmModel);\r\n // return resultResponse;\r\n // } catch (error) {\r\n // throw error;\r\n // }\r\n // }\r\n\r\n /**\r\n * service for update customer Data\r\n * \r\n * @param parentCustomerFarmModel \r\n * \r\n * @returns Response message from Database\r\n */\r\n // public async UpdateData(parentCustomerFarmModel: ParentCustomerFarmModel) {\r\n // try {\r\n // const url = this.customerFarmApiUrls.updateCustomerFarmDataUrl;\r\n // const resultResponse = await this.dataAccessService.UpdateData(url, parentCustomerFarmModel);\r\n // return resultResponse;\r\n // } catch (error) {\r\n // throw error;\r\n // }\r\n // }\r\n\r\n /**\r\n * service for delete customer data by GUID\r\n * \r\n * @param customerFarmModel \r\n * \r\n * @returns Response message from Database\r\n */\r\n public async DeleteData(recordId: any) {\r\n try {\r\n const url = this.customerFarmApiUrls.deleteCustomerFarmDataUrl + '/' + recordId;\r\n const resultResponse = await this.dataAccessService.DeleteData(url);\r\n return resultResponse;\r\n }\r\n catch (error) {\r\n throw error;\r\n }\r\n }\r\n\r\n /**\r\n * service for get data for customer grid \r\n * \r\n * @param customerFarmModel \r\n * \r\n * @returns Response Data from Database\r\n */\r\n // public async GetListData(customerDataModel: CustomerDataModel) {\r\n // try {\r\n // const url = this.customerFarmApiUrls.getCustomerFarmListUrl;\r\n // const resultResponse = await this.dataAccessService.GetListData(url, customerDataModel);\r\n // return resultResponse;\r\n // } catch (error) {\r\n // throw error;\r\n // }\r\n // }\r\n\r\n /**\r\n * service for get data for customer DropDown List\r\n * \r\n * @returns \r\n */\r\n public async GetCustomersDropdownList() {\r\n try {\r\n const url = this.customerFarmApiUrls.getCustomerFarmDropdownListUrl;\r\n const resultResponse = await this.dataAccessService.GetDropdownListData(url);\r\n return resultResponse;\r\n } catch (error) {\r\n throw error;\r\n }\r\n }\r\n}\r\n","export class CustomerFarmModel {\r\n formCode: string = null;\r\n formId: string = '';\r\n recordId: string = null;\r\n customerId: string = null;\r\n customerName: string = '';\r\n defaultWarehouse: string = '';\r\n personInCharge: string = '';\r\n displayName: string = '';\r\n primaryVetId: string = '';\r\n PICTattoo: string = '';\r\n isActive: boolean = true;\r\n isDeleted: boolean = false;\r\n}\r\n\r\nexport class CustomerFarmConfigrationModel {\r\n formCode: string = null;\r\n customerId: string = null;\r\n defaultView: boolean = false;\r\n showModal: boolean = false;\r\n isSearchable: boolean = false;\r\n showClientData: boolean = false;\r\n customerData: CustomerFarmModel = null;\r\n requiredCustomerFarmSection: boolean = false;\r\n allowedCustomerFarmSection: boolean = false;\r\n requiredCustomerFarmFields: RequiredCustomerFarmFields = new RequiredCustomerFarmFields();\r\n allowedCustomerFarmFields: AllowedCustomerFarmFields = new AllowedCustomerFarmFields();\r\n}\r\n\r\nexport class RequiredCustomerFarmFields {\r\n customerName: boolean = true;\r\n customerId: boolean = true;\r\n defaultWarehouse: boolean = true;\r\n personInCharge: boolean = true;\r\n primaryVetId: boolean = true;\r\n displayName: boolean = true;\r\n PICTattoo: boolean = false;\r\n profileImageURL: boolean = false;\r\n}\r\n\r\nexport class AllowedCustomerFarmFields {\r\n customerName: boolean = true;\r\n defaultWarehouse: boolean = true;\r\n personInCharge: boolean = true;\r\n primaryVetId: boolean = true;\r\n PICTattoo: boolean = true;\r\n displayName: boolean = true;\r\n profileImageURL: boolean = false;\r\n\r\n}\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { CustomerFarmConfigrationModel, CustomerFarmModel } from './dependencies/customer-farm-model';\nimport { ErrorLogService, ToastrNotificationService } from '@qubesense/base-services';\n\n@Component({\n selector: 'lib-customer-farm',\n templateUrl: './customer-farm.component.html',\n styleUrls: ['./customer-farm.component.scss']\n})\nexport class CustomerFarmComponent implements OnInit {\n @Output() customerFarmData = new EventEmitter<any>();\n @Input() public customerFarmConfiguration: CustomerFarmConfigrationModel = new CustomerFarmConfigrationModel();\n customerFarmForm: FormGroup;\n\n constructor(private formBuilder: FormBuilder,\n private errorLogService: ErrorLogService,\n private toastr: ToastrNotificationService\n ) { }\n\n ngOnInit() {\n this.DeclareForm();\n if (this.customerFarmConfiguration.customerData != null) {\n this.EditData();\n }\n }\n\n DeclareForm() {\n this.customerFarmForm = this.formBuilder.group({\n recordId : [null],\n customerId : [null],\n customerName : [null],\n defaultWarehouse : [null],\n personInCharge : [null],\n displayName : [null],\n primaryVetId : [null],\n PICTattoo : [null],\n isActive : [true]\n });\n if (this.customerFarmConfiguration.requiredCustomerFarmFields.customerName) {\n this.customerFarmForm.get('customerName').addValidators(Validators.required);\n this.customerFarmForm.get('customerName').addValidators(Validators.pattern('^[a-zA-Z ]*$'));\n this.customerFarmForm.get('customerName').addValidators(Validators.minLength(3));\n }\n if (this.customerFarmConfiguration.requiredCustomerFarmFields.defaultWarehouse) {\n this.customerFarmForm.get('defaultWarehouse').addValidators(Validators.required);\n }\n if (this.customerFarmConfiguration.requiredCustomerFarmFields.personInCharge) {\n this.customerFarmForm.get('personInCharge').addValidators(Validators.required);\n }\n if (this.customerFarmConfiguration.requiredCustomerFarmFields.primaryVetId) {\n this.customerFarmForm.get('primaryVetId').addValidators(Validators.required);\n }\n\n }\n\n ///////////////////////////////////standard methods/////////////////////////////////////////////////////\n\n /**\n * @description\n *\n * edit data list item using data item GUID\n *\n * @param recordId\n *\n * gets customer GUID from gridData and passes it to this function\n */\n async EditData() {\n try {\n this.customerFarmForm.controls['recordId'].setValue(this.customerFarmConfiguration.customerData.recordId);\n this.customerFarmForm.controls['customerId'].setValue(this.customerFarmConfiguration.customerData.customerId);\n this.customerFarmForm.controls['customerName'].setValue(this.customerFarmConfiguration.customerData.customerName);\n this.customerFarmForm.controls['defaultWarehouse'].setValue(this.customerFarmConfiguration.customerData.defaultWarehouse);\n this.customerFarmForm.controls['personInCharge'].setValue(this.customerFarmConfiguration.customerData.personInCharge);\n this.customerFarmForm.controls['displayName'].setValue(this.customerFarmConfiguration.customerData.displayName);\n this.customerFarmForm.controls['primaryVetId'].setValue(this.customerFarmConfiguration.customerData.primaryVetId);\n this.customerFarmForm.controls['PICTattoo'].setValue(this.customerFarmConfiguration.customerData.PICTattoo);\n this.customerFarmForm.controls['isActive'].setValue(this.customerFarmConfiguration.customerData.isActive);\n\n }\n catch (error) {\n this.errorLogService.saveError(error);\n this.toastr.ShowAllErrors(error.error.message.userMessage);\n }\n }\n\n\n\n /**\n * @description\n *\n * this method converts all form inputs into model class\n *\n * @returns model with new form values\n */\n ConvertFormToModel() {\n const customerFarmModel = new CustomerFarmModel();\n customerFarmModel.recordId = this.customerFarmForm.value.recordId;\n customerFarmModel.customerId = this.customerFarmForm.value.customerId;\n customerFarmModel.customerName = this.customerFarmForm.value.customerName;\n customerFarmModel.defaultWarehouse = this.customerFarmForm.value.defaultWarehouse;\n customerFarmModel.personInCharge = this.customerFarmForm.value.personInCharge;\n customerFarmModel.displayName = this.customerFarmForm.value.displayName;\n customerFarmModel.primaryVetId = this.customerFarmForm.value.primaryVetId;\n customerFarmModel.PICTattoo = this.customerFarmForm.value.PICTattoo;\n customerFarmModel.formCode = this.customerFarmConfiguration.formCode;\n\n return customerFarmModel;\n }\n\n /**\n * @description\n * clear form data\n */\n ClearForm() {\n this.DeclareForm();\n }\n\n emitDataToParent() {\n let customerFarmModel = new CustomerFarmModel();\n customerFarmModel = this.ConvertFormToModel();\n this.customerFarmData.emit(customerFarmModel);\n }\n\n}\n","<div class=\"flex flex-col flex-auto min-w-0 w-full\">\r\n <!-- form code starts here -->\r\n <!--content-->\r\n <div class=\"sm:w-full overflow-hidden\" *ngIf=\"customerFarmConfiguration.showModal\">\r\n\r\n <!--form body-->\r\n <form class=\"flex flex-col overflow-hidden\" [formGroup]=\"customerFarmForm\">\r\n <!-- Customer Farm section start -->\r\n\r\n <div class=\"sm:flex\">\r\n <div class=\"w-full\">\r\n <div class=\"sm:flex px-8 pt-4\">\r\n <mat-form-field class=\"flex-auto w-full mr-4\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.customerName\">\r\n <mat-label>Client Name</mat-label>\r\n <input matInput id=\"customerName\" placeholder=\"Client Name\" pattern=\"^[a-zA-Z ]*$\"\r\n minlength=\"3\" [formControlName]=\"'customerName'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('customerName').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.customerName \">\r\n Client Name is required\r\n </mat-error>\r\n <mat-error *ngIf=\"customerFarmForm.get('customerName').hasError('pattern')\">\r\n Please enter valid Client name\r\n </mat-error>\r\n <mat-error *ngIf=\"customerFarmForm.get('customerName').hasError('minlength')\">\r\n Client name must be of atleast 3 characters\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"flex-auto w-full\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.defaultWarehouse\">\r\n <mat-label>Default Warehouse</mat-label>\r\n <input matInput id=\"defaultWarehouse\" placeholder=\"Default Warehouse\"\r\n [formControlName]=\"'defaultWarehouse'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('defaultWarehouse').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.defaultWarehouse\">\r\n Default Warehouse is required\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"sm:flex px-8 pt-4\">\r\n <mat-form-field class=\"flex-auto w-full mr-4\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.personInCharge\">\r\n <mat-label>Person In Charge</mat-label>\r\n <input matInput id=\"personInCharge\" placeholder=\"Person In Charge\"\r\n [formControlName]=\"'personInCharge'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('personInCharge').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.personInCharge\">\r\n Person In Charge is required\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"flex-auto w-full\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.displayName\">\r\n <mat-label>Display Name</mat-label>\r\n <input matInput id=\"displayName\" placeholder=\"Display Name\"\r\n [formControlName]=\"'displayName'\" (change)=\"emitDataToParent()\">\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"sm:flex px-8 pt-4\">\r\n <mat-form-field class=\"flex-auto w-full mr-4\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.primaryVetId\">\r\n <mat-label>Primary Vet</mat-label>\r\n <input matInput id=\"primaryVetId\" placeholder=\"Primary Vet\"\r\n [formControlName]=\"'primaryVetId'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('primaryVetId').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.primaryVetId\">\r\n Primary Vet is required\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"flex-auto w-full\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.PICTattoo\">\r\n <mat-label>PIC/Tattoo (if applicable)</mat-label>\r\n <input matInput id=\"PICTattoo\" placeholder=\"PIC/Tattoo\" [formControlName]=\"'PICTattoo'\"\r\n (change)=\"emitDataToParent()\">\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n <!-- Customer Farm section End -->\r\n\r\n </form>\r\n </div>\r\n <!-- form code ends here -->\r\n\r\n</div>","import { NgModule } from '@angular/core';\nimport { CustomerFarmComponent } from './customer-farm.component';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { CdkStepperModule } from '@angular/cdk/stepper';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatOptionModule, MatNativeDateModule } from '@angular/material/core';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatGridListModule } from '@angular/material/grid-list';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatSelectModule } from '@angular/material/select';\nimport { MatStepperModule } from '@angular/material/stepper';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { ButtonsModule } from '@progress/kendo-angular-buttons';\nimport { GridModule, SharedModule, ExcelModule } from '@progress/kendo-angular-grid';\n\n@NgModule({\n declarations: [\n CustomerFarmComponent\n ],\n imports: [\n MatIconModule,\n MatInputModule,\n MatToolbarModule,\n ReactiveFormsModule,\n FormsModule,\n CommonModule,\n GridModule,\n ButtonsModule,\n MatGridListModule,\n MatFormFieldModule,\n ReactiveFormsModule,\n MatInputModule,\n MatOptionModule,\n MatSelectModule,\n MatCheckboxModule,\n SharedModule,\n MatButtonModule,\n MatDatepickerModule,\n MatNativeDateModule,\n ExcelModule,\n MatStepperModule,\n CdkStepperModule,\n ],\n exports: [\n CustomerFarmComponent\n ]\n})\nexport class CustomerFarmModule { }\n","/*\n * Public API Surface of customer-farm\n */\n\nexport * from './lib/customer-farm.service';\nexport * from './lib/customer-farm.component';\nexport * from './lib/customer-farm.module';\nexport * from './lib/dependencies/customer-farm-api-urls';\nexport * from './lib/dependencies/customer-farm-model';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;MAAa,mBAAmB,CAAA;AAAhC,IAAA,WAAA,GAAA;;AAEI,QAAA,IAAsB,CAAA,sBAAA,GAAW,0BAA0B,CAAC;;AAG5D,QAAA,IAAyB,CAAA,yBAAA,GAAW,yBAAyB,CAAC;;AAG9D,QAAA,IAAyB,CAAA,yBAAA,GAAW,yBAAyB,CAAC;;AAG9D,QAAA,IAAyB,CAAA,yBAAA,GAAW,yBAAyB,CAAC;;AAG9D,QAAA,IAAsB,CAAA,sBAAA,GAAW,yBAAyB,CAAC;;AAG3D,QAAA,IAA8B,CAAA,8BAAA,GAAW,kCAAkC,CAAC;KAC/E;AAAA;;MCVY,mBAAmB,CAAA;AAE5B,IAAA,WAAA,CAAoB,iBAAoC,EAAA;AAApC,QAAA,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAmB;AAExD,QAAA,IAAA,CAAA,mBAAmB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AA,UAAA,EAAA,CAAA;kBAhC9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,qBAAqB;AACtB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,aAAa;wBACT,cAAc;wBACd,gBAAgB;wBAChB,mBAAmB;wBACnB,WAAW;wBACX,YAAY;wBACZ,UAAU;wBACV,aAAa;wBACb,iBAAiB;wBACjB,kBAAkB;wBAClB,mBAAmB;wBACnB,cAAc;wBACd,eAAe;wBACf,eAAe;wBACf,iBAAiB;wBACjB,YAAY;wBACZ,eAAe;wBACf,mBAAmB;wBACnB,mBAAmB;wBACnB,WAAW;wBACX,gBAAgB;wBAChB,gBAAgB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,qBAAqB;AACtB,qBAAA;iBACF,CAAA;;;AClDD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"qubesense-customer-farm.mjs","sources":["../../../projects/customer-farm/src/lib/dependencies/customer-farm-api-urls.ts","../../../projects/customer-farm/src/lib/customer-farm.service.ts","../../../projects/customer-farm/src/lib/dependencies/customer-farm-model.ts","../../../projects/customer-farm/src/lib/customer-farm.component.ts","../../../projects/customer-farm/src/lib/customer-farm.component.html","../../../projects/customer-farm/src/lib/customer-farm.module.ts","../../../projects/customer-farm/src/public-api.ts","../../../projects/customer-farm/src/qubesense-customer-farm.ts"],"sourcesContent":["export class CustomerFarmApiUrls {\r\n //api Url string for get data by Id\r\n getCustomerFarmByIdUrl: string = 'api/CustomerFarm/GetById';\r\n \r\n //api Url string for insert Customer data\r\n insertCustomerFarmDataUrl: string = 'api/CustomerFarm/Create';\r\n\r\n //api Url string for update Customer record\r\n updateCustomerFarmDataUrl: string = 'api/CustomerFarm/Update';\r\n\r\n //api Url string for delete Customer record\r\n deleteCustomerFarmDataUrl: string = 'api/CustomerFarm/Delete';\r\n\r\n //api Url string for get Customer list\r\n getCustomerFarmListUrl: string = 'api/CustomerFarm/GetAll';\r\n \r\n //api Url string for get Customer dropdown list\r\n getCustomerFarmDropdownListUrl: string = 'api/CustomerFarm/GetDropdownList';\r\n}","import { Injectable } from '@angular/core';\r\nimport { DataAccessService, WebApiResult } from '@qubesense/base-services';\r\nimport { CustomerFarmApiUrls } from './dependencies/customer-farm-api-urls';\r\nimport { CustomerFarmModel } from './dependencies/customer-farm-model';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CustomerFarmService {\r\n\r\n constructor(private dataAccessService: DataAccessService) { }\r\n\r\n customerFarmApiUrls = new CustomerFarmApiUrls();\r\n\r\n /**\r\n * service for get customer data by Id\r\n * \r\n * @param customerGUID \r\n * \r\n * @returns Response Data from Database\r\n */\r\n public async GetDataById(customerGUID: string): Promise<WebApiResult> {\r\n try {\r\n const url = this.customerFarmApiUrls.getCustomerFarmByIdUrl + '/' + customerGUID;\r\n const resultResponse = await this.dataAccessService.GetDataById(url);\r\n return resultResponse;\r\n } catch (error) {\r\n throw error;\r\n }\r\n }\r\n\r\n /**\r\n * service for inserting customer data into database\r\n * \r\n * @param customerFarmModel \r\n * \r\n * @returns Response message from Database\r\n */\r\n public async InsertData(customerFarmModel: CustomerFarmModel) {\r\n try {\r\n const url = this.customerFarmApiUrls.insertCustomerFarmDataUrl;\r\n const resultResponse = await this.dataAccessService.InsertData(url, customerFarmModel);\r\n return resultResponse;\r\n } catch (error) {\r\n throw error;\r\n }\r\n }\r\n\r\n /**\r\n * service for update customer Data\r\n * \r\n * @param customerFarmModel \r\n * \r\n * @returns Response message from Database\r\n */\r\n public async UpdateData(customerFarmModel: CustomerFarmModel) {\r\n try {\r\n const url = this.customerFarmApiUrls.updateCustomerFarmDataUrl;\r\n const resultResponse = await this.dataAccessService.UpdateData(url, customerFarmModel);\r\n return resultResponse;\r\n } catch (error) {\r\n throw error;\r\n }\r\n }\r\n\r\n /**\r\n * service for delete customer data by GUID\r\n * \r\n * @param customerFarmModel \r\n * \r\n * @returns Response message from Database\r\n */\r\n public async DeleteData(recordId: any) {\r\n try {\r\n const url = this.customerFarmApiUrls.deleteCustomerFarmDataUrl + '/' + recordId;\r\n const resultResponse = await this.dataAccessService.DeleteData(url);\r\n return resultResponse;\r\n }\r\n catch (error) {\r\n throw error;\r\n }\r\n }\r\n\r\n /**\r\n * service for get data for customer grid \r\n * \r\n * @param customerFarmModel \r\n * \r\n * @returns Response Data from Database\r\n */\r\n public async GetListData(customerDataModel: CustomerFarmModel) {\r\n try {\r\n const url = this.customerFarmApiUrls.getCustomerFarmListUrl;\r\n const resultResponse = await this.dataAccessService.GetListData(url, customerDataModel);\r\n return resultResponse;\r\n } catch (error) {\r\n throw error;\r\n }\r\n }\r\n\r\n /**\r\n * service for get data for customer DropDown List\r\n * \r\n * @returns \r\n */\r\n public async GetCustomersDropdownList() {\r\n try {\r\n const url = this.customerFarmApiUrls.getCustomerFarmDropdownListUrl;\r\n const resultResponse = await this.dataAccessService.GetDropdownListData(url);\r\n return resultResponse;\r\n } catch (error) {\r\n throw error;\r\n }\r\n }\r\n}\r\n","export class CustomerFarmModel {\r\n formCode: string = null;\r\n formId: string = '';\r\n recordId: string = null;\r\n customerId: string = null;\r\n customerName: string = '';\r\n defaultWarehouse: string = '';\r\n personInCharge: string = '';\r\n displayName: string = '';\r\n primaryVetId: string = '';\r\n PICTattoo: string = '';\r\n isActive: boolean = true;\r\n isDeleted: boolean = false;\r\n}\r\n\r\nexport class CustomerFarmConfigrationModel {\r\n formCode: string = null;\r\n customerId: string = null;\r\n defaultView: boolean = false;\r\n showModal: boolean = false;\r\n isSearchable: boolean = false;\r\n showClientData: boolean = false;\r\n customerData: CustomerFarmModel = null;\r\n userMessages: boolean = false;\r\n requiredCustomerFarmSection: boolean = false;\r\n allowedCustomerFarmSection: boolean = false;\r\n requiredCustomerFarmFields: RequiredCustomerFarmFields = new RequiredCustomerFarmFields();\r\n allowedCustomerFarmFields: AllowedCustomerFarmFields = new AllowedCustomerFarmFields();\r\n}\r\n\r\nexport class RequiredCustomerFarmFields {\r\n customerName: boolean = true;\r\n customerId: boolean = true;\r\n defaultWarehouse: boolean = true;\r\n personInCharge: boolean = true;\r\n primaryVetId: boolean = true;\r\n displayName: boolean = true;\r\n PICTattoo: boolean = false;\r\n profileImageURL: boolean = false;\r\n}\r\n\r\nexport class AllowedCustomerFarmFields {\r\n customerName: boolean = true;\r\n defaultWarehouse: boolean = true;\r\n personInCharge: boolean = true;\r\n primaryVetId: boolean = true;\r\n PICTattoo: boolean = true;\r\n displayName: boolean = true;\r\n profileImageURL: boolean = false;\r\n\r\n}\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { CustomerFarmConfigrationModel, CustomerFarmModel } from './dependencies/customer-farm-model';\nimport { ErrorLogService, ToastrNotificationService } from '@qubesense/base-services';\nimport { CustomerFarmService } from './customer-farm.service';\n\n@Component({\n selector: 'lib-customer-farm',\n templateUrl: './customer-farm.component.html',\n styleUrls: ['./customer-farm.component.scss']\n})\nexport class CustomerFarmComponent implements OnInit {\n @Output() customerFarmData = new EventEmitter<any>();\n @Input() public customerFarmConfiguration: CustomerFarmConfigrationModel = new CustomerFarmConfigrationModel();\n customerFarmForm: FormGroup;\n userMessages: string[] = [];\n\n constructor(private customerFarmService: CustomerFarmService,\n private formBuilder: FormBuilder,\n private errorLogService: ErrorLogService,\n private toastr: ToastrNotificationService\n ) { }\n\n ngOnInit() {\n this.DeclareForm();\n if (this.customerFarmConfiguration.customerData != null) {\n this.EditData();\n }\n }\n\n DeclareForm() {\n this.customerFarmForm = this.formBuilder.group({\n recordId : [null],\n customerId : [null],\n customerName : [null],\n defaultWarehouse : [null],\n personInCharge : [null],\n displayName : [null],\n primaryVetId : [null],\n PICTattoo : [null],\n isActive : [true]\n });\n if (this.customerFarmConfiguration.requiredCustomerFarmFields.customerName) {\n this.customerFarmForm.get('customerName').addValidators(Validators.required);\n this.customerFarmForm.get('customerName').addValidators(Validators.pattern('^[a-zA-Z ]*$'));\n this.customerFarmForm.get('customerName').addValidators(Validators.minLength(3));\n }\n if (this.customerFarmConfiguration.requiredCustomerFarmFields.defaultWarehouse) {\n this.customerFarmForm.get('defaultWarehouse').addValidators(Validators.required);\n }\n if (this.customerFarmConfiguration.requiredCustomerFarmFields.personInCharge) {\n this.customerFarmForm.get('personInCharge').addValidators(Validators.required);\n }\n if (this.customerFarmConfiguration.requiredCustomerFarmFields.primaryVetId) {\n this.customerFarmForm.get('primaryVetId').addValidators(Validators.required);\n }\n\n }\n\n ///////////////////////////////////standard methods/////////////////////////////////////////////////////\n\n /**\n * @description\n *\n * edit data list item using data item GUID\n *\n * @param recordId\n *\n * gets customer GUID from gridData and passes it to this function\n */\n async EditData() {\n try {\n this.customerFarmForm.controls['recordId'].setValue(this.customerFarmConfiguration.customerData.recordId);\n this.customerFarmForm.controls['customerId'].setValue(this.customerFarmConfiguration.customerData.customerId);\n this.customerFarmForm.controls['customerName'].setValue(this.customerFarmConfiguration.customerData.customerName);\n this.customerFarmForm.controls['defaultWarehouse'].setValue(this.customerFarmConfiguration.customerData.defaultWarehouse);\n this.customerFarmForm.controls['personInCharge'].setValue(this.customerFarmConfiguration.customerData.personInCharge);\n this.customerFarmForm.controls['displayName'].setValue(this.customerFarmConfiguration.customerData.displayName);\n this.customerFarmForm.controls['primaryVetId'].setValue(this.customerFarmConfiguration.customerData.primaryVetId);\n this.customerFarmForm.controls['PICTattoo'].setValue(this.customerFarmConfiguration.customerData.PICTattoo);\n this.customerFarmForm.controls['isActive'].setValue(this.customerFarmConfiguration.customerData.isActive);\n\n }\n catch (error) {\n this.errorLogService.saveError(error);\n this.toastr.ShowAllErrors(error.error.message.userMessage);\n }\n }\n\n\n\n /**\n * @description\n *\n * this method converts all form inputs into model class\n *\n * @returns model with new form values\n */\n ConvertFormToModel() {\n const customerFarmModel = new CustomerFarmModel();\n customerFarmModel.recordId = this.customerFarmForm.value.recordId;\n customerFarmModel.customerId = this.customerFarmForm.value.customerId;\n customerFarmModel.customerName = this.customerFarmForm.value.customerName;\n customerFarmModel.defaultWarehouse = this.customerFarmForm.value.defaultWarehouse;\n customerFarmModel.personInCharge = this.customerFarmForm.value.personInCharge;\n customerFarmModel.displayName = this.customerFarmForm.value.displayName;\n customerFarmModel.primaryVetId = this.customerFarmForm.value.primaryVetId;\n customerFarmModel.PICTattoo = this.customerFarmForm.value.PICTattoo;\n customerFarmModel.formCode = this.customerFarmConfiguration.formCode;\n\n return customerFarmModel;\n }\n\n /**\n * @description\n * clear form data\n */\n ClearForm() {\n this.DeclareForm();\n }\n\n emitDataToParent() {\n let customerFarmModel = new CustomerFarmModel();\n customerFarmModel = this.ConvertFormToModel();\n this.customerFarmData.emit(customerFarmModel);\n }\n\n\n /**\n * @description\n *\n * Insert customer data into database\n */\n public async InsertData() {\n try {\n let customerFarmModel = new CustomerFarmModel();\n customerFarmModel = this.ConvertFormToModel();\n if (!this.customerFarmForm.invalid) {\n const getResponse = await this.customerFarmService.InsertData(customerFarmModel);\n this.userMessages = getResponse.message.userMessage;\n if (this.customerFarmConfiguration.userMessages) {\n this.toastr.ShowSuccess(this.userMessages.toString());\n }\n this.ClearForm();\n } else {\n this.customerFarmForm.markAllAsTouched();\n this.toastr.ShowWarning(\"Please enter valid data!\");\n }\n } catch (error) {\n this.errorLogService.saveError(error);\n this.toastr.ShowAllErrors(error.error.message.userMessage);\n }\n }\n \n /**\n * @description\n *\n * update customer data into database\n */\n public async UpdateData() {\n try {\n let customerFarmModel = new CustomerFarmModel();\n customerFarmModel = this.ConvertFormToModel();\n if (!this.customerFarmForm.invalid) {\n const getResponse = await this.customerFarmService.UpdateData(customerFarmModel);\n this.userMessages = getResponse.message.userMessage;\n if (this.customerFarmConfiguration.userMessages) {\n this.toastr.ShowSuccess(this.userMessages.toString());\n }\n this.ClearForm();\n } else {\n this.customerFarmForm.markAllAsTouched();\n this.toastr.ShowWarning(\"Please enter valid data!\");\n }\n } catch (error) {\n this.errorLogService.saveError(error);\n this.toastr.ShowAllErrors(error.error.message.userMessage);\n }\n }\n\n}\n","<div class=\"flex flex-col flex-auto min-w-0 w-full\">\r\n <!-- form code starts here -->\r\n <!--content-->\r\n <div class=\"sm:w-full overflow-hidden\" *ngIf=\"customerFarmConfiguration.showModal\">\r\n\r\n <!--form body-->\r\n <form class=\"flex flex-col overflow-hidden\" [formGroup]=\"customerFarmForm\">\r\n <!-- Customer Farm section start -->\r\n\r\n <div class=\"sm:flex\">\r\n <div class=\"w-full\">\r\n <div class=\"sm:flex px-8 pt-4\">\r\n <mat-form-field class=\"flex-auto w-full mr-4\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.customerName\">\r\n <mat-label>Client Name</mat-label>\r\n <input matInput id=\"customerName\" placeholder=\"Client Name\" pattern=\"^[a-zA-Z ]*$\"\r\n minlength=\"3\" [formControlName]=\"'customerName'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('customerName').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.customerName \">\r\n Client Name is required\r\n </mat-error>\r\n <mat-error *ngIf=\"customerFarmForm.get('customerName').hasError('pattern')\">\r\n Please enter valid Client name\r\n </mat-error>\r\n <mat-error *ngIf=\"customerFarmForm.get('customerName').hasError('minlength')\">\r\n Client name must be of atleast 3 characters\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"flex-auto w-full\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.defaultWarehouse\">\r\n <mat-label>Default Warehouse</mat-label>\r\n <input matInput id=\"defaultWarehouse\" placeholder=\"Default Warehouse\"\r\n [formControlName]=\"'defaultWarehouse'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('defaultWarehouse').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.defaultWarehouse\">\r\n Default Warehouse is required\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"sm:flex px-8 pt-4\">\r\n <mat-form-field class=\"flex-auto w-full mr-4\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.personInCharge\">\r\n <mat-label>Person In Charge</mat-label>\r\n <input matInput id=\"personInCharge\" placeholder=\"Person In Charge\"\r\n [formControlName]=\"'personInCharge'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('personInCharge').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.personInCharge\">\r\n Person In Charge is required\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"flex-auto w-full\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.displayName\">\r\n <mat-label>Display Name</mat-label>\r\n <input matInput id=\"displayName\" placeholder=\"Display Name\"\r\n [formControlName]=\"'displayName'\" (change)=\"emitDataToParent()\">\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"sm:flex px-8 pt-4\">\r\n <mat-form-field class=\"flex-auto w-full mr-4\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.primaryVetId\">\r\n <mat-label>Primary Vet</mat-label>\r\n <input matInput id=\"primaryVetId\" placeholder=\"Primary Vet\"\r\n [formControlName]=\"'primaryVetId'\" (change)=\"emitDataToParent()\">\r\n <mat-error\r\n *ngIf=\"customerFarmForm.get('primaryVetId').hasError('required') && customerFarmConfiguration.requiredCustomerFarmFields.primaryVetId\">\r\n Primary Vet is required\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"flex-auto w-full\"\r\n *ngIf=\"customerFarmConfiguration.allowedCustomerFarmFields.PICTattoo\">\r\n <mat-label>PIC/Tattoo (if applicable)</mat-label>\r\n <input matInput id=\"PICTattoo\" placeholder=\"PIC/Tattoo\" [formControlName]=\"'PICTattoo'\"\r\n (change)=\"emitDataToParent()\">\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n <!-- Customer Farm section End -->\r\n\r\n </form>\r\n </div>\r\n <!-- form code ends here -->\r\n\r\n</div>","import { NgModule } from '@angular/core';\nimport { CustomerFarmComponent } from './customer-farm.component';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { CdkStepperModule } from '@angular/cdk/stepper';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatOptionModule, MatNativeDateModule } from '@angular/material/core';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatGridListModule } from '@angular/material/grid-list';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatSelectModule } from '@angular/material/select';\nimport { MatStepperModule } from '@angular/material/stepper';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { ButtonsModule } from '@progress/kendo-angular-buttons';\nimport { GridModule, SharedModule, ExcelModule } from '@progress/kendo-angular-grid';\n\n@NgModule({\n declarations: [\n CustomerFarmComponent\n ],\n imports: [\n MatIconModule,\n MatInputModule,\n MatToolbarModule,\n ReactiveFormsModule,\n FormsModule,\n CommonModule,\n GridModule,\n ButtonsModule,\n MatGridListModule,\n MatFormFieldModule,\n ReactiveFormsModule,\n MatInputModule,\n MatOptionModule,\n MatSelectModule,\n MatCheckboxModule,\n SharedModule,\n MatButtonModule,\n MatDatepickerModule,\n MatNativeDateModule,\n ExcelModule,\n MatStepperModule,\n CdkStepperModule,\n ],\n exports: [\n CustomerFarmComponent\n ]\n})\nexport class CustomerFarmModule { }\n","/*\n * Public API Surface of customer-farm\n */\n\nexport * from './lib/customer-farm.service';\nexport * from './lib/customer-farm.component';\nexport * from './lib/customer-farm.module';\nexport * from './lib/dependencies/customer-farm-api-urls';\nexport * from './lib/dependencies/customer-farm-model';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i1.CustomerFarmService"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;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