ngx-render-material-forms 1.5.8 → 1.6.0

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.
@@ -80,11 +80,11 @@ import SurveyComponent from 'formiojs/components/survey/Survey.js';
80
80
  import RadioComponent from 'formiojs/components/radio/Radio.js';
81
81
  import SelectBoxesComponent from 'formiojs/components/selectboxes/SelectBoxes.js';
82
82
  import SelectComponent from 'formiojs/components/select/Select.js';
83
- import { Subject } from 'rxjs';
83
+ import { BehaviorSubject, Subject } from 'rxjs';
84
84
  import { debounceTime, distinctUntilChanged, takeUntil } from 'rxjs/operators';
85
85
  import * as CryptoJS from 'crypto-js';
86
86
  import { isNullOrUndefined } from 'util';
87
- import * as i9 from 'ngx-mat-select-search';
87
+ import * as i10 from 'ngx-mat-select-search';
88
88
  import { NgxMatSelectSearchModule } from 'ngx-mat-select-search';
89
89
  import WellComponent from 'formiojs/components/well/Well.js';
90
90
  import DataGridComponent from 'formiojs/components/datagrid/DataGrid.js';
@@ -2543,12 +2543,116 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2543
2543
  }] });
2544
2544
  SelectBoxesComponent.MaterialComponent = MaterialSelectBoxesComponent;
2545
2545
 
2546
+ class CommonService {
2547
+ constructor(http) {
2548
+ this.http = http;
2549
+ this.dropdownItemsSubject = new BehaviorSubject([]);
2550
+ this.dropdownItems$ = this.dropdownItemsSubject.asObservable();
2551
+ this.setFlag = new BehaviorSubject(false); // Initialize with false
2552
+ this.dropdownflag$ = this.setFlag.asObservable(); // Observable that emits the boolean value
2553
+ this.paramsData = JSON.parse(localStorage.getItem('productPickerParams'));
2554
+ this.currentUser = JSON.parse(localStorage.getItem('currentUser'));
2555
+ }
2556
+ getBaseApiUrl() {
2557
+ const baseUrlMapping = {
2558
+ 'localhost': 'http://localhost:58504',
2559
+ 'lincoln.vartopia.com': 'https://lincoln-api.vartopia.com',
2560
+ 'stage.vartopia.com': 'https://stage-api.vartopia.com',
2561
+ 'my.vartopia.com': 'https://reagan-api.vartopia.com',
2562
+ 'jackson.vartopia.com': 'https://jackson-api.vartopia.com'
2563
+ };
2564
+ // Get the current hostname
2565
+ const hostname = window.location.hostname;
2566
+ return baseUrlMapping[hostname] || null;
2567
+ }
2568
+ /* Intialization of api path and queryparams */
2569
+ initializeApiPath(getUrl, queryParams) {
2570
+ if (queryParams?.length) {
2571
+ const changeToObject = this.convertToObject(queryParams);
2572
+ if (Object.keys(changeToObject).length) {
2573
+ const queryString = this.convertToQueryString(changeToObject);
2574
+ const baseApiUrl = this.getBaseApiUrl();
2575
+ var apiUrl = `${baseApiUrl}/api/` + getUrl;
2576
+ apiUrl += '?' + queryString;
2577
+ return this.http.get(apiUrl);
2578
+ }
2579
+ }
2580
+ }
2581
+ /* Functon for convert array to object */
2582
+ convertToObject(queryParams) {
2583
+ if (queryParams.length) {
2584
+ var obj = {};
2585
+ queryParams.forEach(function (item) {
2586
+ obj[item.key] = item.value;
2587
+ });
2588
+ return obj;
2589
+ }
2590
+ }
2591
+ /* Append key and value to query string */
2592
+ convertToQueryString(queryParams) {
2593
+ const queryString = Object.keys(queryParams)
2594
+ .map(key => {
2595
+ if (queryParams[key] !== '' && queryParams[key] !== null) {
2596
+ return encodeURIComponent(key) + '=' + encodeURIComponent(queryParams[key]);
2597
+ }
2598
+ else {
2599
+ if (queryParams.hasOwnProperty('search')) {
2600
+ return encodeURIComponent(key) + '=' + encodeURIComponent(queryParams[key]);
2601
+ }
2602
+ }
2603
+ })
2604
+ .join('&');
2605
+ return queryString;
2606
+ }
2607
+ listProductCategory() {
2608
+ const vendorId = this.getValueByKey(this.paramsData, 'vendorId');
2609
+ const baseApiUrl = this.getBaseApiUrl();
2610
+ return this.http.get(`${baseApiUrl}/api/VendorFormBuilder/GetProductsCategory?vendorId=${vendorId}`);
2611
+ }
2612
+ // Function to get value by key from the array
2613
+ getValueByKey(data, key) {
2614
+ if (!data || data.length === 0) {
2615
+ return null; // Return null if data is empty or undefined
2616
+ }
2617
+ const item = data.find(kv => kv.key.toLowerCase() === key.toLowerCase());
2618
+ return item ? item.value : null;
2619
+ }
2620
+ /* Function for verify numbers and numbers with comma seperated values */
2621
+ onlyNumbers(str) {
2622
+ if (str) {
2623
+ return /^[0-9.,]+$/.test(str);
2624
+ }
2625
+ }
2626
+ /* End */
2627
+ setDropdownItems(items) {
2628
+ this.dropdownItemsSubject.next(items);
2629
+ }
2630
+ getDropdownItems() {
2631
+ return this.dropdownItemsSubject.getValue();
2632
+ }
2633
+ setDropDownFlag(flag) {
2634
+ this.setFlag.next(flag);
2635
+ }
2636
+ getDropDownFlag() {
2637
+ return this.setFlag.getValue();
2638
+ }
2639
+ }
2640
+ CommonService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: CommonService, deps: [{ token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
2641
+ CommonService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: CommonService, providedIn: 'root' });
2642
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: CommonService, decorators: [{
2643
+ type: Injectable,
2644
+ args: [{
2645
+ providedIn: 'root'
2646
+ }]
2647
+ }], ctorParameters: function () { return [{ type: i1$1.HttpClient }]; } });
2648
+
2546
2649
  class MaterialSelectComponent extends MaterialComponent {
2547
- constructor(element, ref, http) {
2650
+ constructor(element, ref, http, commonService) {
2548
2651
  super(element, ref);
2549
2652
  this.element = element;
2550
2653
  this.ref = ref;
2551
2654
  this.http = http;
2655
+ this.commonService = commonService;
2552
2656
  this.websiteMultiCtrl = new FormControl();
2553
2657
  this.websiteMultiFilterCtrl = new FormControl();
2554
2658
  this._onDestroy = new Subject();
@@ -2563,10 +2667,15 @@ class MaterialSelectComponent extends MaterialComponent {
2563
2667
  this.searching = false;
2564
2668
  this.productList = [];
2565
2669
  this.selectedValue = '';
2566
- this.searchItem = "";
2567
2670
  // Variable to hold the reference to the current panel element
2568
2671
  this.currentPanelElement = null;
2569
2672
  this.openCounter = 1;
2673
+ this.firstDropdownItems = [];
2674
+ this.secondDropdownItems = [];
2675
+ this.storeValue = [];
2676
+ this.storeDependentItems = [];
2677
+ this.executionFlag = false;
2678
+ this.apiCounter = 0;
2570
2679
  this.holy = CryptoJS.enc.Base64.parse('8F/2+T2NXqUBQERR12R4sw==');
2571
2680
  this.grail = CryptoJS.enc.Base64.parse('yE0CgQbYzK5wqeoKTVzhOQ==');
2572
2681
  }
@@ -2578,7 +2687,6 @@ class MaterialSelectComponent extends MaterialComponent {
2578
2687
  clearProducts() {
2579
2688
  if (this.instance.component.key.toLowerCase() === 'vendorproductid') {
2580
2689
  this.onClearAll();
2581
- this.searchItem = "";
2582
2690
  }
2583
2691
  }
2584
2692
  scrumble(msg) {
@@ -2772,18 +2880,63 @@ class MaterialSelectComponent extends MaterialComponent {
2772
2880
  this.loadData(this.pageNumber, this.pageSize, this.searchQuery);
2773
2881
  }
2774
2882
  }
2883
+ updateSecondDropdown(value) {
2884
+ const apiEndPoint = 'ManageVendors/GetReferenceDataItemsByVendorIdAndDataValue';
2885
+ let finalParams = JSON.parse(localStorage.getItem('cascadingDropdownsParams'));
2886
+ if (Array.isArray(finalParams)) {
2887
+ const index = finalParams.findIndex(param => param.key === 'dataValue');
2888
+ if (index !== -1) {
2889
+ // If the object exists, update its value
2890
+ finalParams[index].value = value;
2891
+ }
2892
+ else {
2893
+ // If the object doesn't exist, add it to the array
2894
+ finalParams.push({ key: 'dataValue', value: value });
2895
+ }
2896
+ this.commonService.initializeApiPath(apiEndPoint, finalParams).subscribe(response => {
2897
+ if (response && response.code === 200) {
2898
+ this.secondDropdownItems = response.data;
2899
+ this.commonService.setDropdownItems(this.secondDropdownItems);
2900
+ }
2901
+ });
2902
+ }
2903
+ }
2775
2904
  ngAfterViewInit() {
2905
+ const newProductPickerFlag = this.instance?.component?.attributes;
2906
+ let checkInvokeFromLibrary = this.checkIsAttributeTrue(newProductPickerFlag, "invokeFromLibrary");
2907
+ const firstLevel = (this.getVendorRefList(this.instance) && checkInvokeFromLibrary);
2908
+ if (firstLevel) {
2909
+ this.selectElem.valueChange.subscribe(res => {
2910
+ this.commonService.setDropDownFlag(true);
2911
+ this.updateSecondDropdown(res);
2912
+ });
2913
+ }
2914
+ this.selectElem.openedChange.subscribe(async (isOpen) => {
2915
+ if (isOpen) {
2916
+ if (this.checkVendorRefItems(this.instance) && checkInvokeFromLibrary) {
2917
+ this.storeDependentItems = [];
2918
+ this.secondDropdownItems = this.commonService.getDropdownItems();
2919
+ if (this.secondDropdownItems?.length) {
2920
+ this.secondDropdownItems.forEach((renderElement, index, array) => {
2921
+ this.storeDependentItems.push({ label: renderElement['text'], value: this.commonService.onlyNumbers(renderElement['value']) ? renderElement['value'] + ' ' : renderElement['value'] });
2922
+ });
2923
+ }
2924
+ if (!this.commonService.getDropDownFlag()) {
2925
+ this.storeDependentItems = this.instance.component.data.values;
2926
+ }
2927
+ this.filteredOptions = Promise.resolve(this.storeDependentItems);
2928
+ this.selectOptions = Promise.resolve(this.storeDependentItems);
2929
+ this.selectOptions.then(result => {
2930
+ this.filteredOptionsLength = result.length;
2931
+ });
2932
+ }
2933
+ }
2934
+ });
2776
2935
  if (this.instance.component.key.toLowerCase() === 'vendorproductid') {
2777
2936
  this.selectElem.openedChange.subscribe((isOpen) => {
2778
2937
  if (isOpen) {
2779
2938
  this.pageNumber = 1;
2780
2939
  this.pageSize = 20;
2781
- if (this.searchQuery?.length > 0) {
2782
- if (this.searchItem?.length > 0) {
2783
- this.websiteMultiFilterCtrl.setValue(this.searchItem);
2784
- this.ref.detectChanges();
2785
- }
2786
- }
2787
2940
  this.searchQuery = '';
2788
2941
  this.searching = false;
2789
2942
  //this.loadData(this.pageNumber, this.pageSize, this.searchQuery);
@@ -2792,14 +2945,14 @@ class MaterialSelectComponent extends MaterialComponent {
2792
2945
  else {
2793
2946
  this.removePanelScrollEvent();
2794
2947
  this.searching = false;
2795
- // this.selectedValue = this.getValue();
2796
- // if (this.selectedValue?.toString().length == 0) {
2797
- // this.productList = [];
2798
- // this.pageNumber = 1;
2799
- // this.pageSize = 20;
2800
- // this.searchQuery = '';
2801
- // this.loadData(this.pageNumber, this.pageSize, this.searchQuery);
2802
- // }
2948
+ this.selectedValue = this.getValue();
2949
+ if (this.selectedValue?.toString().length == 0) {
2950
+ this.productList = [];
2951
+ this.pageNumber = 1;
2952
+ this.pageSize = 20;
2953
+ this.searchQuery = '';
2954
+ this.loadData(this.pageNumber, this.pageSize, this.searchQuery);
2955
+ }
2803
2956
  }
2804
2957
  });
2805
2958
  }
@@ -2825,7 +2978,6 @@ class MaterialSelectComponent extends MaterialComponent {
2825
2978
  this.productList = [];
2826
2979
  this.searching = true;
2827
2980
  this.searchQuery = searchQuery;
2828
- this.searchItem = searchQuery;
2829
2981
  this.loadData(this.pageNumber, this.pageSize, searchQuery);
2830
2982
  }
2831
2983
  });
@@ -2846,6 +2998,20 @@ class MaterialSelectComponent extends MaterialComponent {
2846
2998
  });
2847
2999
  this.filteredOptions = this.selectOptions;
2848
3000
  }
3001
+ onSelectionChange(event, submitData, attributes) {
3002
+ }
3003
+ checkVendorRefItems(instance) {
3004
+ const selectValues = instance.component['selectValues'];
3005
+ const dataUrl = instance.component['data']?.url;
3006
+ const isSelectValuesValid = selectValues != null && selectValues !== '' && selectValues !== undefined;
3007
+ const isDataUrlInvalid = dataUrl == null || dataUrl === '' || dataUrl === undefined;
3008
+ return isSelectValuesValid && isDataUrlInvalid;
3009
+ }
3010
+ getVendorRefList(instance) {
3011
+ const dataUrl = instance.component['data']?.url;
3012
+ const isSelectValuesValid = dataUrl != null && dataUrl !== '' && dataUrl !== undefined;
3013
+ return isSelectValuesValid;
3014
+ }
2849
3015
  isError() {
2850
3016
  if (this.instance.error) {
2851
3017
  this.control.setErrors(this.instance.component.validate);
@@ -2875,8 +3041,12 @@ class MaterialSelectComponent extends MaterialComponent {
2875
3041
  compareObjects(o1, o2) {
2876
3042
  return _.isEqual(o1, o2);
2877
3043
  }
3044
+ checkIsAttributeTrue(newProductPickerFlag, attributeName) {
3045
+ return newProductPickerFlag && Object.keys(newProductPickerFlag).some(key => key.toLocaleLowerCase() === attributeName.toLowerCase() &&
3046
+ newProductPickerFlag[key].toLowerCase() === "true");
3047
+ }
2878
3048
  }
2879
- MaterialSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSelectComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Component });
3049
+ MaterialSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSelectComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.HttpClient }, { token: CommonService }], target: i0.ɵɵFactoryTarget.Component });
2880
3050
  MaterialSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialSelectComponent, selector: "mat-formio-select", viewQueries: [{ propertyName: "multiSelect", first: true, predicate: ["multiSelect"], descendants: true, static: true }, { propertyName: "selectElem", first: true, predicate: ["productSelect"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
2881
3051
  <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2882
3052
  <ng-template #componentTemplate let-hasLabel>
@@ -2917,7 +3087,7 @@ MaterialSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
2917
3087
  <mat-error *ngIf="isError()" >{{ getErrorMessage() }}</mat-error>
2918
3088
  </mat-form-field>
2919
3089
  </ng-template>
2920
- `, isInline: true, styles: [".example-viewport{height:200px}.product-picker{overflow-x:hidden}.virtual-full-view{height:auto!important;white-space:normal!important;line-height:1.4!important;text-overflow:initial!important;min-height:48px!important;overflow:visible!important;overflow:initial!important;padding-top:10px!important;padding-bottom:10px!important}::ng-deep .product-picker .cdk-virtual-scroll-content-wrapper{width:100%!important}.virtual-full-view .mat-pseudo-checkbox{align-self:top!important}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { 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: i3.MatPrefix, selector: "[matPrefix]" }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix]" }, { kind: "component", type: i4$3.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i5$1.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i4$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i5.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "component", type: i9.MatSelectSearchComponent, selector: "ngx-mat-select-search", inputs: ["placeholderLabel", "type", "closeIcon", "closeSvgIcon", "noEntriesFoundLabel", "indexAndLengthScreenReaderText", "clearSearchInput", "searching", "disableInitialFocus", "enableClearOnEscapePressed", "preventHomeEndKeyPropagation", "disableScrollToActiveOnOptionsChanged", "ariaLabel", "showToggleAllCheckbox", "toggleAllCheckboxChecked", "toggleAllCheckboxIndeterminate", "toggleAllCheckboxTooltipMessage", "toogleAllCheckboxTooltipPosition", "hideClearSearchButton", "alwaysRestoreSelectedOptionsMulti"], outputs: ["toggleAll"] }, { kind: "directive", type: i9.MatSelectSearchClearDirective, selector: "[ngxMatSelectSearchClear]" }, { kind: "component", type: FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: ["labelTemplate", "renderTopLabel", "showDescription", "renderElementOnly", "instance", "componentTemplate"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] });
3090
+ `, isInline: true, styles: [".example-viewport{height:200px}.product-picker{overflow-x:hidden}.virtual-full-view{height:auto!important;white-space:normal!important;line-height:1.4!important;text-overflow:initial!important;min-height:48px!important;overflow:visible!important;overflow:initial!important;padding-top:10px!important;padding-bottom:10px!important}::ng-deep .product-picker .cdk-virtual-scroll-content-wrapper{width:100%!important}.virtual-full-view .mat-pseudo-checkbox{align-self:top!important}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { 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: i3.MatPrefix, selector: "[matPrefix]" }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix]" }, { kind: "component", type: i4$3.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i5$1.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i4$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i5.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "component", type: i10.MatSelectSearchComponent, selector: "ngx-mat-select-search", inputs: ["placeholderLabel", "type", "closeIcon", "closeSvgIcon", "noEntriesFoundLabel", "indexAndLengthScreenReaderText", "clearSearchInput", "searching", "disableInitialFocus", "enableClearOnEscapePressed", "preventHomeEndKeyPropagation", "disableScrollToActiveOnOptionsChanged", "ariaLabel", "showToggleAllCheckbox", "toggleAllCheckboxChecked", "toggleAllCheckboxIndeterminate", "toggleAllCheckboxTooltipMessage", "toogleAllCheckboxTooltipPosition", "hideClearSearchButton", "alwaysRestoreSelectedOptionsMulti"], outputs: ["toggleAll"] }, { kind: "directive", type: i10.MatSelectSearchClearDirective, selector: "[ngxMatSelectSearchClear]" }, { kind: "component", type: FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: ["labelTemplate", "renderTopLabel", "showDescription", "renderElementOnly", "instance", "componentTemplate"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] });
2921
3091
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSelectComponent, decorators: [{
2922
3092
  type: Component,
2923
3093
  args: [{ selector: 'mat-formio-select', template: `
@@ -2961,7 +3131,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2961
3131
  </mat-form-field>
2962
3132
  </ng-template>
2963
3133
  `, styles: [".example-viewport{height:200px}.product-picker{overflow-x:hidden}.virtual-full-view{height:auto!important;white-space:normal!important;line-height:1.4!important;text-overflow:initial!important;min-height:48px!important;overflow:visible!important;overflow:initial!important;padding-top:10px!important;padding-bottom:10px!important}::ng-deep .product-picker .cdk-virtual-scroll-content-wrapper{width:100%!important}.virtual-full-view .mat-pseudo-checkbox{align-self:top!important}\n"] }]
2964
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$1.HttpClient }]; }, propDecorators: { multiSelect: [{
3134
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$1.HttpClient }, { type: CommonService }]; }, propDecorators: { multiSelect: [{
2965
3135
  type: ViewChild,
2966
3136
  args: ['multiSelect', { static: true }]
2967
3137
  }], selectElem: [{