@stackline/angular-multiselect-dropdown 19.0.0 → 20.0.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.
package/README.md CHANGED
@@ -6,13 +6,13 @@
6
6
  [![npm downloads](https://img.shields.io/npm/dt/@stackline/angular-multiselect-dropdown.svg?style=flat-square)](https://www.npmjs.com/package/@stackline/angular-multiselect-dropdown)
7
7
  [![npm monthly](https://img.shields.io/npm/dm/@stackline/angular-multiselect-dropdown.svg?style=flat-square)](https://www.npmjs.com/package/@stackline/angular-multiselect-dropdown)
8
8
  [![license](https://img.shields.io/npm/l/@stackline/angular-multiselect-dropdown.svg?style=flat-square)](https://github.com/alexandroit/angular-multiselect-dropdown/blob/master/LICENSE)
9
- [![Angular 19](https://img.shields.io/badge/Angular-19.x-red?style=flat-square&logo=angular)](https://alexandro.net/docs/angular/multiselect/angular-19/)
10
- [![TypeScript](https://img.shields.io/badge/TypeScript-5.8-blue?style=flat-square&logo=typescript)](https://www.typescriptlang.org)
9
+ [![Angular 20](https://img.shields.io/badge/Angular-20.x-red?style=flat-square&logo=angular)](https://alexandro.net/docs/angular/multiselect/angular-20/)
10
+ [![TypeScript](https://img.shields.io/badge/TypeScript-5.9-blue?style=flat-square&logo=typescript)](https://www.typescriptlang.org)
11
11
  [![GitHub stars](https://img.shields.io/github/stars/alexandroit/angular-multiselect-dropdown.svg?style=flat-square)](https://github.com/alexandroit/angular-multiselect-dropdown/stargazers)
12
12
 
13
- **[Documentation & Live Demos](https://alexandro.net/docs/angular/multiselect/)** | **[Angular 19 Demo](https://alexandro.net/docs/angular/multiselect/angular-19/)** | **[npm](https://www.npmjs.com/package/@stackline/angular-multiselect-dropdown)** | **[Issues](https://github.com/alexandroit/angular-multiselect-dropdown/issues)** | **[Repository](https://github.com/alexandroit/angular-multiselect-dropdown)**
13
+ **[Documentation & Live Demos](https://alexandro.net/docs/angular/multiselect/)** | **[Angular 20 Demo](https://alexandro.net/docs/angular/multiselect/angular-20/)** | **[npm](https://www.npmjs.com/package/@stackline/angular-multiselect-dropdown)** | **[Issues](https://github.com/alexandroit/angular-multiselect-dropdown/issues)** | **[Repository](https://github.com/alexandroit/angular-multiselect-dropdown)**
14
14
 
15
- **Latest tested npm release:** `19.0.0` for Angular `19.x`
15
+ **Latest tested npm release:** `20.0.0` for Angular `20.x`
16
16
 
17
17
  ---
18
18
 
@@ -24,15 +24,15 @@
24
24
 
25
25
  The original `angular2-multiselect-dropdown` package became difficult to keep current across multiple Angular generations. This maintained package keeps the classic API and template structure intact, introduces the new primary selector `<angular-multiselect>`, preserves the legacy alias `<angular2-multiselect>`, and publishes the project line by line so older applications can keep a predictable upgrade path.
26
26
 
27
- The repository contains the full documentation matrix from Angular 2 through Angular 21. The current public npm release is `19.0.0` for Angular 19.x applications.
27
+ The repository contains the full documentation matrix from Angular 2 through Angular 21. The current public npm release is `20.0.0` for Angular 20.x applications.
28
28
 
29
- The Angular 19 package is compatible with Angular 19.x and was tested in a real Angular 19.2.22 application before npm publication.
29
+ The Angular 20 package is compatible with Angular 20.x and was tested in a real Angular 20.3.21 application before npm publication.
30
30
 
31
31
  ## Features
32
32
 
33
33
  | Feature | Supported |
34
34
  | :--- | :---: |
35
- | Angular 19 tested published release line | ✅ |
35
+ | Angular 20 tested published release line | ✅ |
36
36
  | Multi-select and single-select modes | ✅ |
37
37
  | Search and filter | ✅ |
38
38
  | Group by field | ✅ |
@@ -54,7 +54,7 @@ The Angular 19 package is compatible with Angular 19.x and was tested in a real
54
54
  4. [Setup](#setup)
55
55
  5. [Custom CSS and SCSS Themes](#custom-css-and-scss-themes)
56
56
  6. [Basic Usage](#basic-usage)
57
- 7. [Official Angular 19 Test Matrix](#official-angular-19-test-matrix)
57
+ 7. [Official Angular 20 Test Matrix](#official-angular-20-test-matrix)
58
58
  8. [Custom Templates](#custom-templates)
59
59
  9. [Forms Integration](#forms-integration)
60
60
  10. [Lazy Loading and Remote Data](#lazy-loading-and-remote-data)
@@ -76,7 +76,7 @@ Each package family only installs on its matching Angular family. Framework majo
76
76
  | Package family | Framework family | Peer range | Tested release window | Demo link |
77
77
  | :---: | :---: | :---: | :---: | :--- |
78
78
  | **21.x** | **Angular 21 only** | **`>=21.0.0 <22.0.0`** | **21.0.0 -> 21.2.14** | [Angular 21 family docs](https://alexandro.net/docs/angular/multiselect/angular-21/) |
79
- | **20.x** | **Angular 20 only** | **`>=20.0.0 <21.0.0`** | **20.0.0 -> 20.3.18** | [Angular 20 family docs](https://alexandro.net/docs/angular/multiselect/angular-20/) |
79
+ | **20.x** | **Angular 20 only** | **`>=20.0.0 <21.0.0`** | **20.0.0 -> 20.3.21** | [Angular 20 family docs](https://alexandro.net/docs/angular/multiselect/angular-20/) |
80
80
  | **19.x** | **Angular 19 only** | **`>=19.0.0 <20.0.0`** | **19.0.0 -> 19.2.22** | [Angular 19 family docs](https://alexandro.net/docs/angular/multiselect/angular-19/) |
81
81
  | **18.x** | **Angular 18 only** | **`>=18.0.0 <19.0.0`** | **18.0.0 -> 18.2.14** | [Angular 18 family docs](https://alexandro.net/docs/angular/multiselect/angular-18/) |
82
82
  | **17.x** | **Angular 17 only** | **`>=17.0.0 <18.0.0`** | **17.0.0 -> 17.3.12** | [Angular 17 family docs](https://alexandro.net/docs/angular/multiselect/angular-17/) |
@@ -98,10 +98,10 @@ Each package family only installs on its matching Angular family. Framework majo
98
98
  ## Installation
99
99
 
100
100
  ```bash
101
- npm install @stackline/angular-multiselect-dropdown@19.0.0 --save-exact
101
+ npm install @stackline/angular-multiselect-dropdown@20.0.0 --save-exact
102
102
  ```
103
103
 
104
- Install `19.0.0` for Angular 19.x applications. This line keeps the tested Angular 19 behavior, makes `<angular-multiselect>` the documented standard selector, and keeps `<angular2-multiselect>` only as a legacy compatibility alias.
104
+ Install `20.0.0` for Angular 20.x applications. This line keeps the tested Angular 20 behavior, makes `<angular-multiselect>` the documented standard selector, and keeps `<angular2-multiselect>` only as a legacy compatibility alias.
105
105
 
106
106
  ## Setup
107
107
 
@@ -195,9 +195,9 @@ dropdownSettings = {
195
195
  </angular-multiselect>
196
196
  ```
197
197
 
198
- ## Official Angular 19 Test Matrix
198
+ ## Official Angular 20 Test Matrix
199
199
 
200
- The published Angular 19 release was tested in a real Angular `19.2.22` application with `@stackline/angular-multiselect-dropdown@19.0.0`. The docs now use the same examples from that test app.
200
+ The published Angular 20 release was tested in a real Angular `20.3.21` application with `@stackline/angular-multiselect-dropdown@20.0.0`. The docs now use the same examples from that test app.
201
201
 
202
202
  Switch between skins through the settings object:
203
203
 
@@ -33,10 +33,10 @@ class ClickOutsideDirective {
33
33
  this.clickOutside.emit(event);
34
34
  }
35
35
  }
36
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ClickOutsideDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
37
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: ClickOutsideDirective, isStandalone: false, selector: "[clickOutside]", outputs: { clickOutside: "clickOutside" }, host: { listeners: { "document:click": "onClick($event,$event.target)", "document:touchstart": "onClick($event,$event.target)" } }, ngImport: i0 });
36
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ClickOutsideDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
37
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.21", type: ClickOutsideDirective, isStandalone: false, selector: "[clickOutside]", outputs: { clickOutside: "clickOutside" }, host: { listeners: { "document:click": "onClick($event,$event.target)", "document:touchstart": "onClick($event,$event.target)" } }, ngImport: i0 });
38
38
  }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ClickOutsideDirective, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ClickOutsideDirective, decorators: [{
40
40
  type: Directive,
41
41
  args: [{
42
42
  standalone: false,
@@ -60,10 +60,10 @@ class ScrollDirective {
60
60
  onClick(event, targetElement) {
61
61
  this.scroll.emit(event);
62
62
  }
63
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ScrollDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
64
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: ScrollDirective, isStandalone: false, selector: "[scroll]", outputs: { scroll: "scroll" }, host: { listeners: { "scroll": "onClick($event)" } }, ngImport: i0 });
63
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ScrollDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
64
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.21", type: ScrollDirective, isStandalone: false, selector: "[scroll]", outputs: { scroll: "scroll" }, host: { listeners: { "scroll": "onClick($event)" } }, ngImport: i0 });
65
65
  }
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ScrollDirective, decorators: [{
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ScrollDirective, decorators: [{
67
67
  type: Directive,
68
68
  args: [{
69
69
  standalone: false,
@@ -87,10 +87,10 @@ class styleDirective {
87
87
  ngOnChanges() {
88
88
  this.el.nativeElement.style.top = this.styleVal;
89
89
  }
90
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: styleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
91
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: styleDirective, isStandalone: false, selector: "[styleProp]", inputs: { styleVal: ["styleProp", "styleVal"] }, usesOnChanges: true, ngImport: i0 });
90
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: styleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
91
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.21", type: styleDirective, isStandalone: false, selector: "[styleProp]", inputs: { styleVal: ["styleProp", "styleVal"] }, usesOnChanges: true, ngImport: i0 });
92
92
  }
93
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: styleDirective, decorators: [{
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: styleDirective, decorators: [{
94
94
  type: Directive,
95
95
  args: [{
96
96
  standalone: false,
@@ -121,10 +121,10 @@ class ListFilterPipe {
121
121
  }
122
122
  return found;
123
123
  }
124
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ListFilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
125
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: ListFilterPipe, isStandalone: false, name: "listFilter", pure: false });
124
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ListFilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
125
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.21", ngImport: i0, type: ListFilterPipe, isStandalone: false, name: "listFilter", pure: false });
126
126
  }
127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ListFilterPipe, decorators: [{
127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ListFilterPipe, decorators: [{
128
128
  type: Pipe,
129
129
  args: [{
130
130
  standalone: false,
@@ -137,10 +137,10 @@ class Item {
137
137
  template;
138
138
  constructor() {
139
139
  }
140
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: Item, deps: [], target: i0.ɵɵFactoryTarget.Component });
141
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.22", type: Item, isStandalone: false, selector: "c-item", queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: ``, isInline: true });
140
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: Item, deps: [], target: i0.ɵɵFactoryTarget.Component });
141
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: Item, isStandalone: false, selector: "c-item", queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: ``, isInline: true });
142
142
  }
143
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: Item, decorators: [{
143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: Item, decorators: [{
144
144
  type: Component,
145
145
  args: [{
146
146
  standalone: false,
@@ -155,10 +155,10 @@ class Badge {
155
155
  template;
156
156
  constructor() {
157
157
  }
158
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: Badge, deps: [], target: i0.ɵɵFactoryTarget.Component });
159
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.22", type: Badge, isStandalone: false, selector: "c-badge", queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: ``, isInline: true });
158
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: Badge, deps: [], target: i0.ɵɵFactoryTarget.Component });
159
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: Badge, isStandalone: false, selector: "c-badge", queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: ``, isInline: true });
160
160
  }
161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: Badge, decorators: [{
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: Badge, decorators: [{
162
162
  type: Component,
163
163
  args: [{
164
164
  standalone: false,
@@ -186,10 +186,10 @@ class TemplateRenderer {
186
186
  ngOnDestroy() {
187
187
  this.view.destroy();
188
188
  }
189
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: TemplateRenderer, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
190
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.22", type: TemplateRenderer, isStandalone: false, selector: "c-templateRenderer", inputs: { data: "data", item: "item" }, ngImport: i0, template: ``, isInline: true });
189
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: TemplateRenderer, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
190
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: TemplateRenderer, isStandalone: false, selector: "c-templateRenderer", inputs: { data: "data", item: "item" }, ngImport: i0, template: ``, isInline: true });
191
191
  }
192
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: TemplateRenderer, decorators: [{
192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: TemplateRenderer, decorators: [{
193
193
  type: Component,
194
194
  args: [{
195
195
  standalone: false,
@@ -551,10 +551,10 @@ class AngularMultiSelect {
551
551
  this.updateView(this.scrollTop);
552
552
  }
553
553
  }
554
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AngularMultiSelect, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
555
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.22", type: AngularMultiSelect, isStandalone: false, selector: "angular-multiselect, angular2-multiselect", inputs: { data: "data", settings: "settings" }, outputs: { onSelect: "onSelect", onDeSelect: "onDeSelect", onSelectAll: "onSelectAll", onDeSelectAll: "onDeSelectAll", onOpen: "onOpen", onClose: "onClose" }, host: { properties: { "class": "defaultSettings.classes" } }, providers: [DROPDOWN_CONTROL_VALUE_ACCESSOR, DROPDOWN_CONTROL_VALIDATION], queries: [{ propertyName: "itemTempl", first: true, predicate: Item, descendants: true }, { propertyName: "badgeTempl", first: true, predicate: Badge, descendants: true }], viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"stackline-dropdown\" [ngClass]=\"getDropdownClasses()\" (clickOutside)=\"closeDropdown()\">\n <div class=\"selected-list\">\n <div class=\"c-btn\" (click)=\"toggleDropdown($event)\" [ngClass]=\"{'disabled': settings.disabled}\">\n <span *ngIf=\"selectedItems?.length == 0\">{{settings.text}}</span>\n <span *ngIf=\"settings.singleSelection\">\n <span *ngFor=\"let item of selectedItems;trackBy: trackByFn;\">\n {{item[settings.labelKey]}}\n </span>\n </span>\n <div class=\"c-list\" *ngIf=\"selectedItems?.length > 0 && !settings.singleSelection\">\n <div class=\"c-token\" *ngFor=\"let item of selectedItems;trackBy: trackByFn;let k = index\" [hidden]=\"k > settings.badgeShowLimit-1\">\n <span *ngIf=\"!badgeTempl\" class=\"c-label\">{{item[settings.labelKey]}}</span>\n <span *ngIf=\"badgeTempl\" class=\"c-label\">\n <c-templateRenderer [data]=\"badgeTempl\" [item]=\"item\"></c-templateRenderer>\n </span>\n <span class=\"fa fa-remove\" (click)=\"onItemClick(item,k,$event)\"></span>\n </div>\n </div> \n <span class=\"countplaceholder\" *ngIf=\"selectedItems?.length > settings.badgeShowLimit\">+{{selectedItems?.length - settings.badgeShowLimit }}</span>\n <span class=\"fa\" [ngClass]=\"{'fa-angle-down': !isActive,'fa-angle-up':isActive}\"></span>\n </div> \n </div>\n <div class=\"dropdown-list\" [hidden]=\"!isActive\">\n <div class=\"arrow-up arrow-2\"></div>\n <div class=\"arrow-up\"></div>\n <div class=\"list-area\">\n <div class=\"pure-checkbox select-all\" *ngIf=\"settings.enableCheckAll && !settings.singleSelection && !settings.limitSelection\" (click)=\"toggleSelectAll()\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelectAll\" [disabled]=\"settings.limitSelection == selectedItems?.length\"/>\n <label>\n <span [hidden]=\"isSelectAll\">{{settings.selectAllText}}</span>\n <span [hidden]=\"!isSelectAll\">{{settings.unSelectAllText}}</span>\n </label>\n </div> \n <div class=\"list-filter\" *ngIf=\"settings.enableSearchFilter && !settings.lazyLoading\">\n <span class=\"fa fa-search\"></span>\n <input #searchInput type=\"text\" [placeholder]=\"settings.searchPlaceholderText\" [(ngModel)]=\"filter\">\n </div> \n <div class=\"list-filter\" *ngIf=\"settings.enableSearchFilter && settings.lazyLoading\">\n <span class=\"fa fa-search\"></span>\n <input #searchInput type=\"text\" [placeholder]=\"settings.searchPlaceholderText\" (keyup)=\"filterInfiniteList($event)\">\n </div>\n <ul *ngIf=\"!settings.groupBy\" [style.maxHeight] = \"settings.maxHeight+'px'\" class=\"lazyContainer\" >\n <span *ngIf=\"itemTempl\">\n <li *ngFor=\"let item of data | listFilter:filter; let i = index;\" (click)=\"onItemClick(item,i,$event)\" class=\"pure-checkbox\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelected(item)\" [disabled]=\"settings.limitSelection == selectedItems?.length && !isSelected(item)\"/>\n <label></label>\n <c-templateRenderer [data]=\"itemTempl\" [item]=\"item\"></c-templateRenderer>\n </li>\n </span>\n <span *ngIf=\"!itemTempl && !settings.lazyLoading\" >\n <li *ngFor=\"let item of data | listFilter:filter; let i = index;\" (click)=\"onItemClick(item,i,$event)\" class=\"pure-checkbox\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelected(item)\" [disabled]=\"settings.limitSelection == selectedItems?.length && !isSelected(item)\"/>\n <label>{{item[settings.labelKey]}}</label>\n </li>\n </span>\n <span *ngIf=\"!itemTempl && settings.lazyLoading\" >\n <div [ngStyle]=\"{'height':totalHeight+'px'}\" style=\"position: relative;\">\n\n \n <li *ngFor=\"let item of chunkArray | listFilter:filter; let i = index;\" (click)=\"onItemClick(item,i,$event)\" style=\"position: absolute;width: 100%;\" class=\"pure-checkbox\" [styleProp]=\"chunkIndex[i]\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelected(item)\" [disabled]=\"settings.limitSelection == selectedItems?.length && !isSelected(item)\"/>\n <label>{{item[settings.labelKey]}}</label>\n </li>\n </div>\n </span>\n </ul>\n <div *ngIf=\"settings.groupBy\" [style.maxHeight] = \"settings.maxHeight+'px'\" style=\"overflow: auto;\">\n <ul *ngFor=\"let obj of groupedData ; let i = index;\" class=\"list-grp\">\n <h4 *ngIf=\"(obj.value | listFilter:filter ).length > 0\">{{obj.key}}</h4>\n <span *ngIf=\"itemTempl\" >\n <li *ngFor=\"let item of obj.value | listFilter:filter; let i = index;\" (click)=\"onItemClick(item,i,$event)\" class=\"pure-checkbox\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelected(item)\" [disabled]=\"settings.limitSelection == selectedItems?.length && !isSelected(item)\"/>\n <label></label>\n <c-templateRenderer [data]=\"itemTempl\" [item]=\"item\"></c-templateRenderer>\n </li>\n </span>\n <span *ngIf=\"!itemTempl\" >\n <li *ngFor=\"let item of obj.value | listFilter:filter; let i = index;\" (click)=\"onItemClick(item,i,$event)\" class=\"pure-checkbox\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelected(item)\" [disabled]=\"settings.limitSelection == selectedItems?.length && !isSelected(item)\"/>\n <label>{{item[settings.labelKey]}}</label>\n </li>\n </span>\n </ul>\n </div>\n <h5 class=\"list-message\" *ngIf=\"data?.length == 0\">{{settings.noDataLabel}}</h5>\n </div>\n </div>\n</div>\n", isInline: true, styles: [".stackline-dropdown{position:relative}.c-btn{display:inline-block;background:#fff;border:1px solid #ccc;border-radius:3px;font-size:14px;color:#333}.c-btn.disabled{background:#ccc}.c-btn:focus{outline:none}.selected-list .c-list{display:flex;flex:1 1 auto;align-items:center;flex-wrap:wrap;min-width:0;float:none;padding:0;margin:0;width:auto}.selected-list .c-list .c-token{list-style:none;padding:0 5px;background:#0079fe;color:#fff;border-radius:2px;margin-right:4px;margin-top:2px;float:left}.selected-list .c-list .c-token .c-label{display:block;float:left}.selected-list .c-list .c-token .fa-remove{margin-left:1px;font-size:12px}.selected-list .fa-angle-down,.selected-list .fa-angle-up{font-size:15pt;position:absolute;right:10px;top:50%;transform:translateY(-50%)}.selected-list .countplaceholder{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;align-self:center;margin:0 0 0 6px;line-height:1}.selected-list .c-btn{box-sizing:border-box;width:100%;box-shadow:0 1px 5px #959595;padding:10px 36px 10px 10px;cursor:pointer;display:flex;align-items:center;flex-wrap:nowrap;position:relative}.dropdown-list{position:absolute;padding-top:14px;width:100%;z-index:9999}.dropdown-list ul{padding:0;list-style:none;overflow:auto;margin:0}.dropdown-list ul li{padding:10px;cursor:pointer;text-align:left}.dropdown-list ul li:first-child{padding-top:10px}.dropdown-list ul li:last-child{padding-bottom:10px}.dropdown-list ul li:hover{background:#f5f5f5}.dropdown-list ::-webkit-scrollbar{width:8px}.dropdown-list ::-webkit-scrollbar-thumb{background:#ccc;border-radius:5px}.dropdown-list ::-webkit-scrollbar-track{background:#f2f2f2}.arrow-up{width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-bottom:15px solid #fff;margin-left:15px;position:absolute;top:0}.arrow-2{border-bottom:15px solid #ccc;top:-1px}.list-area{border:1px solid #ccc;border-radius:3px;background:#fff;margin:0;box-shadow:0 1px 5px #959595}.select-all{padding:10px;border-bottom:1px solid #ccc;text-align:left}.list-filter{border-bottom:1px solid #ccc;position:relative}.list-filter input{border:0px;width:100%;height:35px;padding:0 0 0 35px}.list-filter input:focus{outline:none}.list-filter .fa{position:absolute;top:10px;left:13px;color:#888}.pure-checkbox input[type=checkbox]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.pure-checkbox input[type=checkbox]:focus+label:before,.pure-checkbox input[type=checkbox]:hover+label:before{border-color:#0079fe;background-color:#f2f2f2}.pure-checkbox input[type=checkbox]:active+label:before{transition-duration:0s}.pure-checkbox input[type=checkbox]+label{position:relative;padding-left:2em;vertical-align:middle;-webkit-user-select:none;user-select:none;cursor:pointer;margin:0;color:#000;font-weight:300}.pure-checkbox input[type=checkbox]+label:before{box-sizing:content-box;content:\"\";color:#0079fe;position:absolute;top:50%;left:0;width:14px;height:14px;margin-top:-9px;border:2px solid #0079FE;text-align:center;transition:all .4s ease}.pure-checkbox input[type=checkbox]+label:after{box-sizing:content-box;content:\"\";background-color:#0079fe;position:absolute;top:50%;left:4px;width:10px;height:10px;margin-top:-5px;transform:scale(0);transform-origin:50%;transition:transform .2s ease-out}.pure-checkbox input[type=checkbox]:disabled+label:before{border-color:#ccc}.pure-checkbox input[type=checkbox]:disabled:focus+label:before .pure-checkbox input[type=checkbox]:disabled:hover+label:before{background-color:inherit}.pure-checkbox input[type=checkbox]:disabled:checked+label:before{background-color:#ccc}.pure-checkbox input[type=checkbox]+label:after{background-color:transparent;top:50%;left:4px;width:8px;height:3px;margin-top:-4px;border-style:solid;border-color:#fff;border-width:0 0 3px 3px;border-image:none;transform:rotate(-45deg) scale(0)}.pure-checkbox input[type=checkbox]:checked+label:after{content:\"\";transform:rotate(-45deg) scale(1);transition:transform .2s ease-out}.pure-checkbox input[type=radio]:checked+label:before{background-color:#fff}.pure-checkbox input[type=radio]:checked+label:after{transform:scale(1)}.pure-checkbox input[type=radio]+label:before{border-radius:50%}.pure-checkbox input[type=checkbox]:checked+label:before{background:#0079fe}.pure-checkbox input[type=checkbox]:checked+label:after{transform:rotate(-45deg) scale(1)}.list-message{text-align:center}.list-grp{padding:0 15px!important}.list-grp h4{text-transform:capitalize;margin:15px 0 0;font-size:14px;font-weight:700}.list-grp>li{padding-left:15px!important}.stackline-dropdown.theme-material,.stackline-dropdown.theme-dark,.stackline-dropdown.theme-custom{--ms-primary: #3f51b5;--ms-primary-soft: rgba(63, 81, 181, .12);--ms-surface: #ffffff;--ms-surface-soft: #f5f7fb;--ms-surface-muted: #e8eaf6;--ms-outline: #c5cae9;--ms-outline-strong: #7986cb;--ms-on-surface: #212121;--ms-on-surface-muted: #5f6368;--ms-chip-bg: #e8eaf6;--ms-chip-text: #303f9f;--ms-chip-remove: #303f9f;--ms-divider: rgba(125, 119, 134, .16);--ms-section-bg: rgba(247, 242, 250, .76);--ms-selected-text: var(--ms-primary);--ms-shadow: 0 1px 2px rgba(33, 33, 33, .16), 0 12px 32px rgba(63, 81, 181, .12);--ms-shadow-soft: 0 1px 2px rgba(33, 33, 33, .12), 0 4px 12px rgba(33, 33, 33, .08);display:block;width:100%;color:var(--ms-on-surface);font:inherit}.stackline-dropdown.theme-dark{--ms-primary: #8ab4f8;--ms-primary-soft: rgba(138, 180, 248, .18);--ms-surface: #151a23;--ms-surface-soft: #202736;--ms-surface-muted: #111722;--ms-outline: #384456;--ms-outline-strong: #8ab4f8;--ms-on-surface: #edf2f7;--ms-on-surface-muted: #aab6c5;--ms-chip-bg: #263247;--ms-chip-text: #d7e6ff;--ms-chip-remove: #d7e6ff;--ms-divider: rgba(170, 182, 197, .18);--ms-section-bg: #101620;--ms-selected-text: #d7e6ff;--ms-shadow: 0 20px 50px rgba(0, 0, 0, .42);--ms-shadow-soft: 0 1px 2px rgba(0, 0, 0, .45), 0 10px 24px rgba(0, 0, 0, .28)}.stackline-dropdown.theme-custom{--ms-primary: var(--stackline-ms-primary, #0f766e);--ms-primary-soft: var(--stackline-ms-primary-soft, rgba(15, 118, 110, .14));--ms-surface: var(--stackline-ms-surface, #ffffff);--ms-surface-soft: var(--stackline-ms-surface-soft, #ecfdf5);--ms-surface-muted: var(--stackline-ms-surface-muted, #d1fae5);--ms-outline: var(--stackline-ms-outline, #99f6e4);--ms-outline-strong: var(--stackline-ms-outline-strong, #0f766e);--ms-on-surface: var(--stackline-ms-on-surface, #102a2a);--ms-on-surface-muted: var(--stackline-ms-on-surface-muted, #47615f);--ms-chip-bg: var(--stackline-ms-chip-bg, #ccfbf1);--ms-chip-text: var(--stackline-ms-chip-text, #115e59);--ms-chip-remove: var(--stackline-ms-chip-remove, #115e59);--ms-divider: var(--stackline-ms-divider, rgba(15, 118, 110, .16));--ms-section-bg: var(--stackline-ms-section-bg, #f0fdfa);--ms-selected-text: var(--stackline-ms-selected-text, var(--ms-primary));--ms-shadow: var(--stackline-ms-shadow, 0 18px 42px rgba(15, 118, 110, .15));--ms-shadow-soft: var(--stackline-ms-shadow-soft, 0 1px 2px rgba(15, 118, 110, .16), 0 8px 18px rgba(15, 118, 110, .09))}.stackline-dropdown.theme-material .selected-list,.stackline-dropdown.theme-dark .selected-list,.stackline-dropdown.theme-custom .selected-list{width:100%}.stackline-dropdown.theme-material .selected-list .c-btn,.stackline-dropdown.theme-dark .selected-list .c-btn,.stackline-dropdown.theme-custom .selected-list .c-btn{position:relative;display:flex;align-items:center;flex-wrap:nowrap;gap:8px;width:100%;min-height:56px;padding:11px 54px 11px 16px;border-radius:18px;border:1px solid var(--ms-outline);background:var(--ms-surface);box-shadow:var(--ms-shadow-soft);color:var(--ms-on-surface);cursor:pointer;font-size:inherit;line-height:1.45;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease,transform .16s ease}.stackline-dropdown.theme-material .selected-list .c-btn:hover,.stackline-dropdown.theme-dark .selected-list .c-btn:hover,.stackline-dropdown.theme-custom .selected-list .c-btn:hover{border-color:var(--ms-outline-strong)}.stackline-dropdown.theme-material .selected-list .c-btn.disabled,.stackline-dropdown.theme-dark .selected-list .c-btn.disabled,.stackline-dropdown.theme-custom .selected-list .c-btn.disabled{background:var(--ms-surface);cursor:not-allowed;opacity:.72}.stackline-dropdown.theme-material .selected-list .c-list,.stackline-dropdown.theme-dark .selected-list .c-list,.stackline-dropdown.theme-custom .selected-list .c-list{display:flex;flex:1 1 auto;flex-wrap:wrap;gap:8px;width:auto;min-width:0;margin:0;padding:0;float:none}.stackline-dropdown.theme-material .selected-list .c-list .c-token,.stackline-dropdown.theme-dark .selected-list .c-list .c-token,.stackline-dropdown.theme-custom .selected-list .c-list .c-token{position:relative;display:inline-block;vertical-align:middle;min-height:32px;max-width:100%;padding:6px 30px 6px 12px;background:var(--ms-chip-bg);color:var(--ms-chip-text);border-radius:999px;box-shadow:inset 0 0 0 1px #6750a414;line-height:1.35;white-space:normal;overflow-wrap:anywhere;margin:0;float:none}.stackline-dropdown.theme-material .selected-list .c-list .c-token .c-label,.stackline-dropdown.theme-dark .selected-list .c-list .c-token .c-label,.stackline-dropdown.theme-custom .selected-list .c-list .c-token .c-label{display:inline-flex;align-items:center;float:none;min-width:0;max-width:100%;line-height:1.3;font-weight:500;white-space:normal;overflow-wrap:anywhere}.stackline-dropdown.theme-material .selected-list .c-list .c-token .fa-remove,.stackline-dropdown.theme-dark .selected-list .c-list .c-token .fa-remove,.stackline-dropdown.theme-custom .selected-list .c-list .c-token .fa-remove{position:absolute;right:10px;top:50%;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:0;transform:translateY(-50%);color:var(--ms-chip-remove);cursor:pointer}.stackline-dropdown.theme-material .selected-list .countplaceholder,.stackline-dropdown.theme-dark .selected-list .countplaceholder,.stackline-dropdown.theme-custom .selected-list .countplaceholder{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;align-self:center;margin:0;line-height:1;color:var(--ms-on-surface-muted);font-size:.8rem;font-weight:600}.stackline-dropdown.theme-material .selected-list .fa-angle-down,.stackline-dropdown.theme-dark .selected-list .fa-angle-down,.stackline-dropdown.theme-custom .selected-list .fa-angle-down,.stackline-dropdown.theme-material .selected-list .fa-angle-up,.stackline-dropdown.theme-dark .selected-list .fa-angle-up,.stackline-dropdown.theme-custom .selected-list .fa-angle-up{position:absolute;top:50%;right:16px;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;transform:translateY(-50%);color:var(--ms-on-surface-muted);font-size:15pt;pointer-events:none}.stackline-dropdown.theme-material .dropdown-list,.stackline-dropdown.theme-dark .dropdown-list,.stackline-dropdown.theme-custom .dropdown-list{position:absolute;width:100%;padding-top:8px;z-index:99999}.stackline-dropdown.theme-material .arrow-up,.stackline-dropdown.theme-dark .arrow-up,.stackline-dropdown.theme-custom .arrow-up,.stackline-dropdown.theme-material .arrow-down,.stackline-dropdown.theme-dark .arrow-down,.stackline-dropdown.theme-custom .arrow-down,.stackline-dropdown.theme-material .arrow-2,.stackline-dropdown.theme-dark .arrow-2,.stackline-dropdown.theme-custom .arrow-2{display:none}.stackline-dropdown.theme-material .list-area,.stackline-dropdown.theme-dark .list-area,.stackline-dropdown.theme-custom .list-area{overflow:hidden;border-radius:22px;background:var(--ms-surface);border:1px solid var(--ms-outline);box-shadow:var(--ms-shadow);margin:0}.stackline-dropdown.theme-material .select-all,.stackline-dropdown.theme-dark .select-all,.stackline-dropdown.theme-custom .select-all{padding:10px 14px;border-bottom:1px solid var(--ms-divider);background:var(--ms-section-bg);text-align:left}.stackline-dropdown.theme-material .list-filter,.stackline-dropdown.theme-dark .list-filter,.stackline-dropdown.theme-custom .list-filter{position:relative;display:flex;align-items:center;min-height:52px;padding-left:48px;padding-right:44px;border-bottom:1px solid var(--ms-divider);background:var(--ms-surface)}.stackline-dropdown.theme-material .list-filter input,.stackline-dropdown.theme-dark .list-filter input,.stackline-dropdown.theme-custom .list-filter input{width:100%;height:100%;border:0;background:transparent;color:var(--ms-on-surface);font:inherit;padding:0}.stackline-dropdown.theme-material .list-filter input::placeholder,.stackline-dropdown.theme-dark .list-filter input::placeholder,.stackline-dropdown.theme-custom .list-filter input::placeholder{color:var(--ms-on-surface-muted)}.stackline-dropdown.theme-material .list-filter input:focus,.stackline-dropdown.theme-dark .list-filter input:focus,.stackline-dropdown.theme-custom .list-filter input:focus{outline:none}.stackline-dropdown.theme-material .list-filter .fa,.stackline-dropdown.theme-dark .list-filter .fa,.stackline-dropdown.theme-custom .list-filter .fa{position:absolute;top:50%;left:16px;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;transform:translateY(-50%);color:var(--ms-on-surface-muted)}.stackline-dropdown.theme-material .dropdown-list ul,.stackline-dropdown.theme-dark .dropdown-list ul,.stackline-dropdown.theme-custom .dropdown-list ul{list-style:none;margin:0;padding:8px;overflow:auto}.stackline-dropdown.theme-material .dropdown-list ul li,.stackline-dropdown.theme-dark .dropdown-list ul li,.stackline-dropdown.theme-custom .dropdown-list ul li{align-items:center;min-height:0;margin:4px;padding:12px 14px;border-radius:14px;cursor:pointer;text-align:left;line-height:1.35;transition:background-color .16s ease,color .16s ease}.stackline-dropdown.theme-material .dropdown-list ul li:first-child,.stackline-dropdown.theme-dark .dropdown-list ul li:first-child,.stackline-dropdown.theme-custom .dropdown-list ul li:first-child{padding-top:12px}.stackline-dropdown.theme-material .dropdown-list ul li:last-child,.stackline-dropdown.theme-dark .dropdown-list ul li:last-child,.stackline-dropdown.theme-custom .dropdown-list ul li:last-child{padding-bottom:12px}.stackline-dropdown.theme-material .dropdown-list ul li:hover,.stackline-dropdown.theme-dark .dropdown-list ul li:hover,.stackline-dropdown.theme-custom .dropdown-list ul li:hover{background:var(--ms-surface-soft)}.stackline-dropdown.theme-material .pure-checkbox,.stackline-dropdown.theme-dark .pure-checkbox,.stackline-dropdown.theme-custom .pure-checkbox{position:relative}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]+label,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]+label,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]+label{position:relative;display:block;width:100%;margin:0;padding-left:32px;color:inherit;cursor:pointer;font-weight:500;-webkit-user-select:none;user-select:none}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]+label:before,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]+label:before,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]+label:before{box-sizing:content-box;content:\"\";position:absolute;top:50%;left:0;width:16px;height:16px;margin-top:-10px;border:2px solid var(--ms-outline-strong);border-radius:5px;background:var(--ms-surface);transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]+label:after,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]+label:after,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]+label:after{box-sizing:content-box;content:\"\";position:absolute;top:50%;left:5px;width:8px;height:3px;margin-top:-4px;border-style:solid;border-color:#fff;border-width:0 0 3px 3px;border-image:none;background:transparent;transform:rotate(-45deg) scale(0);transform-origin:50%;transition:transform .16s ease}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:focus+label:before,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:focus+label:before,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:focus+label:before,.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:hover+label:before,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:hover+label:before,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:hover+label:before{border-color:var(--ms-primary);background:var(--ms-surface-soft)}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:checked+label:before,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:checked+label:before,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:checked+label:before{border-color:var(--ms-primary);background:var(--ms-primary)}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:checked+label:after,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:checked+label:after,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:checked+label:after{transform:rotate(-45deg) scale(1)}.stackline-dropdown.theme-material .list-message,.stackline-dropdown.theme-dark .list-message,.stackline-dropdown.theme-custom .list-message{margin:0;padding:20px 14px;color:var(--ms-on-surface-muted);text-align:center}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(() => i1.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i0.forwardRef(() => 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: i0.forwardRef(() => i2.NgControlStatus), selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i0.forwardRef(() => i2.NgModel), selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i0.forwardRef(() => ClickOutsideDirective), selector: "[clickOutside]", outputs: ["clickOutside"] }, { kind: "directive", type: i0.forwardRef(() => styleDirective), selector: "[styleProp]", inputs: ["styleProp"] }, { kind: "component", type: i0.forwardRef(() => TemplateRenderer), selector: "c-templateRenderer", inputs: ["data", "item"] }, { kind: "pipe", type: i0.forwardRef(() => ListFilterPipe), name: "listFilter" }] });
554
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: AngularMultiSelect, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
555
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: AngularMultiSelect, isStandalone: false, selector: "angular-multiselect, angular2-multiselect", inputs: { data: "data", settings: "settings" }, outputs: { onSelect: "onSelect", onDeSelect: "onDeSelect", onSelectAll: "onSelectAll", onDeSelectAll: "onDeSelectAll", onOpen: "onOpen", onClose: "onClose" }, host: { properties: { "class": "defaultSettings.classes" } }, providers: [DROPDOWN_CONTROL_VALUE_ACCESSOR, DROPDOWN_CONTROL_VALIDATION], queries: [{ propertyName: "itemTempl", first: true, predicate: Item, descendants: true }, { propertyName: "badgeTempl", first: true, predicate: Badge, descendants: true }], viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"stackline-dropdown\" [ngClass]=\"getDropdownClasses()\" (clickOutside)=\"closeDropdown()\">\n <div class=\"selected-list\">\n <div class=\"c-btn\" (click)=\"toggleDropdown($event)\" [ngClass]=\"{'disabled': settings.disabled}\">\n <span *ngIf=\"selectedItems?.length == 0\">{{settings.text}}</span>\n <span *ngIf=\"settings.singleSelection\">\n <span *ngFor=\"let item of selectedItems;trackBy: trackByFn;\">\n {{item[settings.labelKey]}}\n </span>\n </span>\n <div class=\"c-list\" *ngIf=\"selectedItems?.length > 0 && !settings.singleSelection\">\n <div class=\"c-token\" *ngFor=\"let item of selectedItems;trackBy: trackByFn;let k = index\" [hidden]=\"k > settings.badgeShowLimit-1\">\n <span *ngIf=\"!badgeTempl\" class=\"c-label\">{{item[settings.labelKey]}}</span>\n <span *ngIf=\"badgeTempl\" class=\"c-label\">\n <c-templateRenderer [data]=\"badgeTempl\" [item]=\"item\"></c-templateRenderer>\n </span>\n <span class=\"fa fa-remove\" (click)=\"onItemClick(item,k,$event)\"></span>\n </div>\n </div> \n <span class=\"countplaceholder\" *ngIf=\"selectedItems?.length > settings.badgeShowLimit\">+{{selectedItems?.length - settings.badgeShowLimit }}</span>\n <span class=\"fa\" [ngClass]=\"{'fa-angle-down': !isActive,'fa-angle-up':isActive}\"></span>\n </div> \n </div>\n <div class=\"dropdown-list\" [hidden]=\"!isActive\">\n <div class=\"arrow-up arrow-2\"></div>\n <div class=\"arrow-up\"></div>\n <div class=\"list-area\">\n <div class=\"pure-checkbox select-all\" *ngIf=\"settings.enableCheckAll && !settings.singleSelection && !settings.limitSelection\" (click)=\"toggleSelectAll()\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelectAll\" [disabled]=\"settings.limitSelection == selectedItems?.length\"/>\n <label>\n <span [hidden]=\"isSelectAll\">{{settings.selectAllText}}</span>\n <span [hidden]=\"!isSelectAll\">{{settings.unSelectAllText}}</span>\n </label>\n </div> \n <div class=\"list-filter\" *ngIf=\"settings.enableSearchFilter && !settings.lazyLoading\">\n <span class=\"fa fa-search\"></span>\n <input #searchInput type=\"text\" [placeholder]=\"settings.searchPlaceholderText\" [(ngModel)]=\"filter\">\n </div> \n <div class=\"list-filter\" *ngIf=\"settings.enableSearchFilter && settings.lazyLoading\">\n <span class=\"fa fa-search\"></span>\n <input #searchInput type=\"text\" [placeholder]=\"settings.searchPlaceholderText\" (keyup)=\"filterInfiniteList($event)\">\n </div>\n <ul *ngIf=\"!settings.groupBy\" [style.maxHeight] = \"settings.maxHeight+'px'\" class=\"lazyContainer\" >\n <span *ngIf=\"itemTempl\">\n <li *ngFor=\"let item of data | listFilter:filter; let i = index;\" (click)=\"onItemClick(item,i,$event)\" class=\"pure-checkbox\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelected(item)\" [disabled]=\"settings.limitSelection == selectedItems?.length && !isSelected(item)\"/>\n <label></label>\n <c-templateRenderer [data]=\"itemTempl\" [item]=\"item\"></c-templateRenderer>\n </li>\n </span>\n <span *ngIf=\"!itemTempl && !settings.lazyLoading\" >\n <li *ngFor=\"let item of data | listFilter:filter; let i = index;\" (click)=\"onItemClick(item,i,$event)\" class=\"pure-checkbox\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelected(item)\" [disabled]=\"settings.limitSelection == selectedItems?.length && !isSelected(item)\"/>\n <label>{{item[settings.labelKey]}}</label>\n </li>\n </span>\n <span *ngIf=\"!itemTempl && settings.lazyLoading\" >\n <div [ngStyle]=\"{'height':totalHeight+'px'}\" style=\"position: relative;\">\n\n \n <li *ngFor=\"let item of chunkArray | listFilter:filter; let i = index;\" (click)=\"onItemClick(item,i,$event)\" style=\"position: absolute;width: 100%;\" class=\"pure-checkbox\" [styleProp]=\"chunkIndex[i]\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelected(item)\" [disabled]=\"settings.limitSelection == selectedItems?.length && !isSelected(item)\"/>\n <label>{{item[settings.labelKey]}}</label>\n </li>\n </div>\n </span>\n </ul>\n <div *ngIf=\"settings.groupBy\" [style.maxHeight] = \"settings.maxHeight+'px'\" style=\"overflow: auto;\">\n <ul *ngFor=\"let obj of groupedData ; let i = index;\" class=\"list-grp\">\n <h4 *ngIf=\"(obj.value | listFilter:filter ).length > 0\">{{obj.key}}</h4>\n <span *ngIf=\"itemTempl\" >\n <li *ngFor=\"let item of obj.value | listFilter:filter; let i = index;\" (click)=\"onItemClick(item,i,$event)\" class=\"pure-checkbox\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelected(item)\" [disabled]=\"settings.limitSelection == selectedItems?.length && !isSelected(item)\"/>\n <label></label>\n <c-templateRenderer [data]=\"itemTempl\" [item]=\"item\"></c-templateRenderer>\n </li>\n </span>\n <span *ngIf=\"!itemTempl\" >\n <li *ngFor=\"let item of obj.value | listFilter:filter; let i = index;\" (click)=\"onItemClick(item,i,$event)\" class=\"pure-checkbox\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelected(item)\" [disabled]=\"settings.limitSelection == selectedItems?.length && !isSelected(item)\"/>\n <label>{{item[settings.labelKey]}}</label>\n </li>\n </span>\n </ul>\n </div>\n <h5 class=\"list-message\" *ngIf=\"data?.length == 0\">{{settings.noDataLabel}}</h5>\n </div>\n </div>\n</div>\n", isInline: true, styles: [".stackline-dropdown{position:relative}.c-btn{display:inline-block;background:#fff;border:1px solid #ccc;border-radius:3px;font-size:14px;color:#333}.c-btn.disabled{background:#ccc}.c-btn:focus{outline:none}.selected-list .c-list{display:flex;flex:1 1 auto;align-items:center;flex-wrap:wrap;min-width:0;float:none;padding:0;margin:0;width:auto}.selected-list .c-list .c-token{list-style:none;padding:0 5px;background:#0079fe;color:#fff;border-radius:2px;margin-right:4px;margin-top:2px;float:left}.selected-list .c-list .c-token .c-label{display:block;float:left}.selected-list .c-list .c-token .fa-remove{margin-left:1px;font-size:12px}.selected-list .fa-angle-down,.selected-list .fa-angle-up{font-size:15pt;position:absolute;right:10px;top:50%;transform:translateY(-50%)}.selected-list .countplaceholder{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;align-self:center;margin:0 0 0 6px;line-height:1}.selected-list .c-btn{box-sizing:border-box;width:100%;box-shadow:0 1px 5px #959595;padding:10px 36px 10px 10px;cursor:pointer;display:flex;align-items:center;flex-wrap:nowrap;position:relative}.dropdown-list{position:absolute;padding-top:14px;width:100%;z-index:9999}.dropdown-list ul{padding:0;list-style:none;overflow:auto;margin:0}.dropdown-list ul li{padding:10px;cursor:pointer;text-align:left}.dropdown-list ul li:first-child{padding-top:10px}.dropdown-list ul li:last-child{padding-bottom:10px}.dropdown-list ul li:hover{background:#f5f5f5}.dropdown-list ::-webkit-scrollbar{width:8px}.dropdown-list ::-webkit-scrollbar-thumb{background:#ccc;border-radius:5px}.dropdown-list ::-webkit-scrollbar-track{background:#f2f2f2}.arrow-up{width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-bottom:15px solid #fff;margin-left:15px;position:absolute;top:0}.arrow-2{border-bottom:15px solid #ccc;top:-1px}.list-area{border:1px solid #ccc;border-radius:3px;background:#fff;margin:0;box-shadow:0 1px 5px #959595}.select-all{padding:10px;border-bottom:1px solid #ccc;text-align:left}.list-filter{border-bottom:1px solid #ccc;position:relative}.list-filter input{border:0px;width:100%;height:35px;padding:0 0 0 35px}.list-filter input:focus{outline:none}.list-filter .fa{position:absolute;top:10px;left:13px;color:#888}.pure-checkbox input[type=checkbox]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.pure-checkbox input[type=checkbox]:focus+label:before,.pure-checkbox input[type=checkbox]:hover+label:before{border-color:#0079fe;background-color:#f2f2f2}.pure-checkbox input[type=checkbox]:active+label:before{transition-duration:0s}.pure-checkbox input[type=checkbox]+label{position:relative;padding-left:2em;vertical-align:middle;-webkit-user-select:none;user-select:none;cursor:pointer;margin:0;color:#000;font-weight:300}.pure-checkbox input[type=checkbox]+label:before{box-sizing:content-box;content:\"\";color:#0079fe;position:absolute;top:50%;left:0;width:14px;height:14px;margin-top:-9px;border:2px solid #0079FE;text-align:center;transition:all .4s ease}.pure-checkbox input[type=checkbox]+label:after{box-sizing:content-box;content:\"\";background-color:#0079fe;position:absolute;top:50%;left:4px;width:10px;height:10px;margin-top:-5px;transform:scale(0);transform-origin:50%;transition:transform .2s ease-out}.pure-checkbox input[type=checkbox]:disabled+label:before{border-color:#ccc}.pure-checkbox input[type=checkbox]:disabled:focus+label:before .pure-checkbox input[type=checkbox]:disabled:hover+label:before{background-color:inherit}.pure-checkbox input[type=checkbox]:disabled:checked+label:before{background-color:#ccc}.pure-checkbox input[type=checkbox]+label:after{background-color:transparent;top:50%;left:4px;width:8px;height:3px;margin-top:-4px;border-style:solid;border-color:#fff;border-width:0 0 3px 3px;border-image:none;transform:rotate(-45deg) scale(0)}.pure-checkbox input[type=checkbox]:checked+label:after{content:\"\";transform:rotate(-45deg) scale(1);transition:transform .2s ease-out}.pure-checkbox input[type=radio]:checked+label:before{background-color:#fff}.pure-checkbox input[type=radio]:checked+label:after{transform:scale(1)}.pure-checkbox input[type=radio]+label:before{border-radius:50%}.pure-checkbox input[type=checkbox]:checked+label:before{background:#0079fe}.pure-checkbox input[type=checkbox]:checked+label:after{transform:rotate(-45deg) scale(1)}.list-message{text-align:center}.list-grp{padding:0 15px!important}.list-grp h4{text-transform:capitalize;margin:15px 0 0;font-size:14px;font-weight:700}.list-grp>li{padding-left:15px!important}.stackline-dropdown.theme-material,.stackline-dropdown.theme-dark,.stackline-dropdown.theme-custom{--ms-primary: #3f51b5;--ms-primary-soft: rgba(63, 81, 181, .12);--ms-surface: #ffffff;--ms-surface-soft: #f5f7fb;--ms-surface-muted: #e8eaf6;--ms-outline: #c5cae9;--ms-outline-strong: #7986cb;--ms-on-surface: #212121;--ms-on-surface-muted: #5f6368;--ms-chip-bg: #e8eaf6;--ms-chip-text: #303f9f;--ms-chip-remove: #303f9f;--ms-divider: rgba(125, 119, 134, .16);--ms-section-bg: rgba(247, 242, 250, .76);--ms-selected-text: var(--ms-primary);--ms-shadow: 0 1px 2px rgba(33, 33, 33, .16), 0 12px 32px rgba(63, 81, 181, .12);--ms-shadow-soft: 0 1px 2px rgba(33, 33, 33, .12), 0 4px 12px rgba(33, 33, 33, .08);display:block;width:100%;color:var(--ms-on-surface);font:inherit}.stackline-dropdown.theme-dark{--ms-primary: #8ab4f8;--ms-primary-soft: rgba(138, 180, 248, .18);--ms-surface: #151a23;--ms-surface-soft: #202736;--ms-surface-muted: #111722;--ms-outline: #384456;--ms-outline-strong: #8ab4f8;--ms-on-surface: #edf2f7;--ms-on-surface-muted: #aab6c5;--ms-chip-bg: #263247;--ms-chip-text: #d7e6ff;--ms-chip-remove: #d7e6ff;--ms-divider: rgba(170, 182, 197, .18);--ms-section-bg: #101620;--ms-selected-text: #d7e6ff;--ms-shadow: 0 20px 50px rgba(0, 0, 0, .42);--ms-shadow-soft: 0 1px 2px rgba(0, 0, 0, .45), 0 10px 24px rgba(0, 0, 0, .28)}.stackline-dropdown.theme-custom{--ms-primary: var(--stackline-ms-primary, #0f766e);--ms-primary-soft: var(--stackline-ms-primary-soft, rgba(15, 118, 110, .14));--ms-surface: var(--stackline-ms-surface, #ffffff);--ms-surface-soft: var(--stackline-ms-surface-soft, #ecfdf5);--ms-surface-muted: var(--stackline-ms-surface-muted, #d1fae5);--ms-outline: var(--stackline-ms-outline, #99f6e4);--ms-outline-strong: var(--stackline-ms-outline-strong, #0f766e);--ms-on-surface: var(--stackline-ms-on-surface, #102a2a);--ms-on-surface-muted: var(--stackline-ms-on-surface-muted, #47615f);--ms-chip-bg: var(--stackline-ms-chip-bg, #ccfbf1);--ms-chip-text: var(--stackline-ms-chip-text, #115e59);--ms-chip-remove: var(--stackline-ms-chip-remove, #115e59);--ms-divider: var(--stackline-ms-divider, rgba(15, 118, 110, .16));--ms-section-bg: var(--stackline-ms-section-bg, #f0fdfa);--ms-selected-text: var(--stackline-ms-selected-text, var(--ms-primary));--ms-shadow: var(--stackline-ms-shadow, 0 18px 42px rgba(15, 118, 110, .15));--ms-shadow-soft: var(--stackline-ms-shadow-soft, 0 1px 2px rgba(15, 118, 110, .16), 0 8px 18px rgba(15, 118, 110, .09))}.stackline-dropdown.theme-material .selected-list,.stackline-dropdown.theme-dark .selected-list,.stackline-dropdown.theme-custom .selected-list{width:100%}.stackline-dropdown.theme-material .selected-list .c-btn,.stackline-dropdown.theme-dark .selected-list .c-btn,.stackline-dropdown.theme-custom .selected-list .c-btn{position:relative;display:flex;align-items:center;flex-wrap:nowrap;gap:8px;width:100%;min-height:56px;padding:11px 54px 11px 16px;border-radius:18px;border:1px solid var(--ms-outline);background:var(--ms-surface);box-shadow:var(--ms-shadow-soft);color:var(--ms-on-surface);cursor:pointer;font-size:inherit;line-height:1.45;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease,transform .16s ease}.stackline-dropdown.theme-material .selected-list .c-btn:hover,.stackline-dropdown.theme-dark .selected-list .c-btn:hover,.stackline-dropdown.theme-custom .selected-list .c-btn:hover{border-color:var(--ms-outline-strong)}.stackline-dropdown.theme-material .selected-list .c-btn.disabled,.stackline-dropdown.theme-dark .selected-list .c-btn.disabled,.stackline-dropdown.theme-custom .selected-list .c-btn.disabled{background:var(--ms-surface);cursor:not-allowed;opacity:.72}.stackline-dropdown.theme-material .selected-list .c-list,.stackline-dropdown.theme-dark .selected-list .c-list,.stackline-dropdown.theme-custom .selected-list .c-list{display:flex;flex:1 1 auto;flex-wrap:wrap;gap:8px;width:auto;min-width:0;margin:0;padding:0;float:none}.stackline-dropdown.theme-material .selected-list .c-list .c-token,.stackline-dropdown.theme-dark .selected-list .c-list .c-token,.stackline-dropdown.theme-custom .selected-list .c-list .c-token{position:relative;display:inline-block;vertical-align:middle;min-height:32px;max-width:100%;padding:6px 30px 6px 12px;background:var(--ms-chip-bg);color:var(--ms-chip-text);border-radius:999px;box-shadow:inset 0 0 0 1px #6750a414;line-height:1.35;white-space:normal;overflow-wrap:anywhere;margin:0;float:none}.stackline-dropdown.theme-material .selected-list .c-list .c-token .c-label,.stackline-dropdown.theme-dark .selected-list .c-list .c-token .c-label,.stackline-dropdown.theme-custom .selected-list .c-list .c-token .c-label{display:inline-flex;align-items:center;float:none;min-width:0;max-width:100%;line-height:1.3;font-weight:500;white-space:normal;overflow-wrap:anywhere}.stackline-dropdown.theme-material .selected-list .c-list .c-token .fa-remove,.stackline-dropdown.theme-dark .selected-list .c-list .c-token .fa-remove,.stackline-dropdown.theme-custom .selected-list .c-list .c-token .fa-remove{position:absolute;right:10px;top:50%;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:0;transform:translateY(-50%);color:var(--ms-chip-remove);cursor:pointer}.stackline-dropdown.theme-material .selected-list .countplaceholder,.stackline-dropdown.theme-dark .selected-list .countplaceholder,.stackline-dropdown.theme-custom .selected-list .countplaceholder{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;align-self:center;margin:0;line-height:1;color:var(--ms-on-surface-muted);font-size:.8rem;font-weight:600}.stackline-dropdown.theme-material .selected-list .fa-angle-down,.stackline-dropdown.theme-dark .selected-list .fa-angle-down,.stackline-dropdown.theme-custom .selected-list .fa-angle-down,.stackline-dropdown.theme-material .selected-list .fa-angle-up,.stackline-dropdown.theme-dark .selected-list .fa-angle-up,.stackline-dropdown.theme-custom .selected-list .fa-angle-up{position:absolute;top:50%;right:16px;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;transform:translateY(-50%);color:var(--ms-on-surface-muted);font-size:15pt;pointer-events:none}.stackline-dropdown.theme-material .dropdown-list,.stackline-dropdown.theme-dark .dropdown-list,.stackline-dropdown.theme-custom .dropdown-list{position:absolute;width:100%;padding-top:8px;z-index:99999}.stackline-dropdown.theme-material .arrow-up,.stackline-dropdown.theme-dark .arrow-up,.stackline-dropdown.theme-custom .arrow-up,.stackline-dropdown.theme-material .arrow-down,.stackline-dropdown.theme-dark .arrow-down,.stackline-dropdown.theme-custom .arrow-down,.stackline-dropdown.theme-material .arrow-2,.stackline-dropdown.theme-dark .arrow-2,.stackline-dropdown.theme-custom .arrow-2{display:none}.stackline-dropdown.theme-material .list-area,.stackline-dropdown.theme-dark .list-area,.stackline-dropdown.theme-custom .list-area{overflow:hidden;border-radius:22px;background:var(--ms-surface);border:1px solid var(--ms-outline);box-shadow:var(--ms-shadow);margin:0}.stackline-dropdown.theme-material .select-all,.stackline-dropdown.theme-dark .select-all,.stackline-dropdown.theme-custom .select-all{padding:10px 14px;border-bottom:1px solid var(--ms-divider);background:var(--ms-section-bg);text-align:left}.stackline-dropdown.theme-material .list-filter,.stackline-dropdown.theme-dark .list-filter,.stackline-dropdown.theme-custom .list-filter{position:relative;display:flex;align-items:center;min-height:52px;padding-left:48px;padding-right:44px;border-bottom:1px solid var(--ms-divider);background:var(--ms-surface)}.stackline-dropdown.theme-material .list-filter input,.stackline-dropdown.theme-dark .list-filter input,.stackline-dropdown.theme-custom .list-filter input{width:100%;height:100%;border:0;background:transparent;color:var(--ms-on-surface);font:inherit;padding:0}.stackline-dropdown.theme-material .list-filter input::placeholder,.stackline-dropdown.theme-dark .list-filter input::placeholder,.stackline-dropdown.theme-custom .list-filter input::placeholder{color:var(--ms-on-surface-muted)}.stackline-dropdown.theme-material .list-filter input:focus,.stackline-dropdown.theme-dark .list-filter input:focus,.stackline-dropdown.theme-custom .list-filter input:focus{outline:none}.stackline-dropdown.theme-material .list-filter .fa,.stackline-dropdown.theme-dark .list-filter .fa,.stackline-dropdown.theme-custom .list-filter .fa{position:absolute;top:50%;left:16px;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;transform:translateY(-50%);color:var(--ms-on-surface-muted)}.stackline-dropdown.theme-material .dropdown-list ul,.stackline-dropdown.theme-dark .dropdown-list ul,.stackline-dropdown.theme-custom .dropdown-list ul{list-style:none;margin:0;padding:8px;overflow:auto}.stackline-dropdown.theme-material .dropdown-list ul li,.stackline-dropdown.theme-dark .dropdown-list ul li,.stackline-dropdown.theme-custom .dropdown-list ul li{align-items:center;min-height:0;margin:4px;padding:12px 14px;border-radius:14px;cursor:pointer;text-align:left;line-height:1.35;transition:background-color .16s ease,color .16s ease}.stackline-dropdown.theme-material .dropdown-list ul li:first-child,.stackline-dropdown.theme-dark .dropdown-list ul li:first-child,.stackline-dropdown.theme-custom .dropdown-list ul li:first-child{padding-top:12px}.stackline-dropdown.theme-material .dropdown-list ul li:last-child,.stackline-dropdown.theme-dark .dropdown-list ul li:last-child,.stackline-dropdown.theme-custom .dropdown-list ul li:last-child{padding-bottom:12px}.stackline-dropdown.theme-material .dropdown-list ul li:hover,.stackline-dropdown.theme-dark .dropdown-list ul li:hover,.stackline-dropdown.theme-custom .dropdown-list ul li:hover{background:var(--ms-surface-soft)}.stackline-dropdown.theme-material .pure-checkbox,.stackline-dropdown.theme-dark .pure-checkbox,.stackline-dropdown.theme-custom .pure-checkbox{position:relative}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]+label,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]+label,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]+label{position:relative;display:block;width:100%;margin:0;padding-left:32px;color:inherit;cursor:pointer;font-weight:500;-webkit-user-select:none;user-select:none}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]+label:before,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]+label:before,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]+label:before{box-sizing:content-box;content:\"\";position:absolute;top:50%;left:0;width:16px;height:16px;margin-top:-10px;border:2px solid var(--ms-outline-strong);border-radius:5px;background:var(--ms-surface);transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]+label:after,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]+label:after,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]+label:after{box-sizing:content-box;content:\"\";position:absolute;top:50%;left:5px;width:8px;height:3px;margin-top:-4px;border-style:solid;border-color:#fff;border-width:0 0 3px 3px;border-image:none;background:transparent;transform:rotate(-45deg) scale(0);transform-origin:50%;transition:transform .16s ease}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:focus+label:before,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:focus+label:before,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:focus+label:before,.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:hover+label:before,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:hover+label:before,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:hover+label:before{border-color:var(--ms-primary);background:var(--ms-surface-soft)}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:checked+label:before,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:checked+label:before,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:checked+label:before{border-color:var(--ms-primary);background:var(--ms-primary)}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:checked+label:after,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:checked+label:after,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:checked+label:after{transform:rotate(-45deg) scale(1)}.stackline-dropdown.theme-material .list-message,.stackline-dropdown.theme-dark .list-message,.stackline-dropdown.theme-custom .list-message{margin:0;padding:20px 14px;color:var(--ms-on-surface-muted);text-align:center}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(() => i1.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i0.forwardRef(() => 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: i0.forwardRef(() => i2.NgControlStatus), selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i0.forwardRef(() => i2.NgModel), selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i0.forwardRef(() => ClickOutsideDirective), selector: "[clickOutside]", outputs: ["clickOutside"] }, { kind: "directive", type: i0.forwardRef(() => styleDirective), selector: "[styleProp]", inputs: ["styleProp"] }, { kind: "component", type: i0.forwardRef(() => TemplateRenderer), selector: "c-templateRenderer", inputs: ["data", "item"] }, { kind: "pipe", type: i0.forwardRef(() => ListFilterPipe), name: "listFilter" }] });
556
556
  }
557
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AngularMultiSelect, decorators: [{
557
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: AngularMultiSelect, decorators: [{
558
558
  type: Component,
559
559
  args: [{ standalone: false, selector: 'angular-multiselect, angular2-multiselect', template: "<div class=\"stackline-dropdown\" [ngClass]=\"getDropdownClasses()\" (clickOutside)=\"closeDropdown()\">\n <div class=\"selected-list\">\n <div class=\"c-btn\" (click)=\"toggleDropdown($event)\" [ngClass]=\"{'disabled': settings.disabled}\">\n <span *ngIf=\"selectedItems?.length == 0\">{{settings.text}}</span>\n <span *ngIf=\"settings.singleSelection\">\n <span *ngFor=\"let item of selectedItems;trackBy: trackByFn;\">\n {{item[settings.labelKey]}}\n </span>\n </span>\n <div class=\"c-list\" *ngIf=\"selectedItems?.length > 0 && !settings.singleSelection\">\n <div class=\"c-token\" *ngFor=\"let item of selectedItems;trackBy: trackByFn;let k = index\" [hidden]=\"k > settings.badgeShowLimit-1\">\n <span *ngIf=\"!badgeTempl\" class=\"c-label\">{{item[settings.labelKey]}}</span>\n <span *ngIf=\"badgeTempl\" class=\"c-label\">\n <c-templateRenderer [data]=\"badgeTempl\" [item]=\"item\"></c-templateRenderer>\n </span>\n <span class=\"fa fa-remove\" (click)=\"onItemClick(item,k,$event)\"></span>\n </div>\n </div> \n <span class=\"countplaceholder\" *ngIf=\"selectedItems?.length > settings.badgeShowLimit\">+{{selectedItems?.length - settings.badgeShowLimit }}</span>\n <span class=\"fa\" [ngClass]=\"{'fa-angle-down': !isActive,'fa-angle-up':isActive}\"></span>\n </div> \n </div>\n <div class=\"dropdown-list\" [hidden]=\"!isActive\">\n <div class=\"arrow-up arrow-2\"></div>\n <div class=\"arrow-up\"></div>\n <div class=\"list-area\">\n <div class=\"pure-checkbox select-all\" *ngIf=\"settings.enableCheckAll && !settings.singleSelection && !settings.limitSelection\" (click)=\"toggleSelectAll()\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelectAll\" [disabled]=\"settings.limitSelection == selectedItems?.length\"/>\n <label>\n <span [hidden]=\"isSelectAll\">{{settings.selectAllText}}</span>\n <span [hidden]=\"!isSelectAll\">{{settings.unSelectAllText}}</span>\n </label>\n </div> \n <div class=\"list-filter\" *ngIf=\"settings.enableSearchFilter && !settings.lazyLoading\">\n <span class=\"fa fa-search\"></span>\n <input #searchInput type=\"text\" [placeholder]=\"settings.searchPlaceholderText\" [(ngModel)]=\"filter\">\n </div> \n <div class=\"list-filter\" *ngIf=\"settings.enableSearchFilter && settings.lazyLoading\">\n <span class=\"fa fa-search\"></span>\n <input #searchInput type=\"text\" [placeholder]=\"settings.searchPlaceholderText\" (keyup)=\"filterInfiniteList($event)\">\n </div>\n <ul *ngIf=\"!settings.groupBy\" [style.maxHeight] = \"settings.maxHeight+'px'\" class=\"lazyContainer\" >\n <span *ngIf=\"itemTempl\">\n <li *ngFor=\"let item of data | listFilter:filter; let i = index;\" (click)=\"onItemClick(item,i,$event)\" class=\"pure-checkbox\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelected(item)\" [disabled]=\"settings.limitSelection == selectedItems?.length && !isSelected(item)\"/>\n <label></label>\n <c-templateRenderer [data]=\"itemTempl\" [item]=\"item\"></c-templateRenderer>\n </li>\n </span>\n <span *ngIf=\"!itemTempl && !settings.lazyLoading\" >\n <li *ngFor=\"let item of data | listFilter:filter; let i = index;\" (click)=\"onItemClick(item,i,$event)\" class=\"pure-checkbox\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelected(item)\" [disabled]=\"settings.limitSelection == selectedItems?.length && !isSelected(item)\"/>\n <label>{{item[settings.labelKey]}}</label>\n </li>\n </span>\n <span *ngIf=\"!itemTempl && settings.lazyLoading\" >\n <div [ngStyle]=\"{'height':totalHeight+'px'}\" style=\"position: relative;\">\n\n \n <li *ngFor=\"let item of chunkArray | listFilter:filter; let i = index;\" (click)=\"onItemClick(item,i,$event)\" style=\"position: absolute;width: 100%;\" class=\"pure-checkbox\" [styleProp]=\"chunkIndex[i]\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelected(item)\" [disabled]=\"settings.limitSelection == selectedItems?.length && !isSelected(item)\"/>\n <label>{{item[settings.labelKey]}}</label>\n </li>\n </div>\n </span>\n </ul>\n <div *ngIf=\"settings.groupBy\" [style.maxHeight] = \"settings.maxHeight+'px'\" style=\"overflow: auto;\">\n <ul *ngFor=\"let obj of groupedData ; let i = index;\" class=\"list-grp\">\n <h4 *ngIf=\"(obj.value | listFilter:filter ).length > 0\">{{obj.key}}</h4>\n <span *ngIf=\"itemTempl\" >\n <li *ngFor=\"let item of obj.value | listFilter:filter; let i = index;\" (click)=\"onItemClick(item,i,$event)\" class=\"pure-checkbox\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelected(item)\" [disabled]=\"settings.limitSelection == selectedItems?.length && !isSelected(item)\"/>\n <label></label>\n <c-templateRenderer [data]=\"itemTempl\" [item]=\"item\"></c-templateRenderer>\n </li>\n </span>\n <span *ngIf=\"!itemTempl\" >\n <li *ngFor=\"let item of obj.value | listFilter:filter; let i = index;\" (click)=\"onItemClick(item,i,$event)\" class=\"pure-checkbox\">\n <input *ngIf=\"settings.showCheckbox\" type=\"checkbox\" [checked]=\"isSelected(item)\" [disabled]=\"settings.limitSelection == selectedItems?.length && !isSelected(item)\"/>\n <label>{{item[settings.labelKey]}}</label>\n </li>\n </span>\n </ul>\n </div>\n <h5 class=\"list-message\" *ngIf=\"data?.length == 0\">{{settings.noDataLabel}}</h5>\n </div>\n </div>\n</div>\n", host: { '[class]': 'defaultSettings.classes' }, providers: [DROPDOWN_CONTROL_VALUE_ACCESSOR, DROPDOWN_CONTROL_VALIDATION], styles: [".stackline-dropdown{position:relative}.c-btn{display:inline-block;background:#fff;border:1px solid #ccc;border-radius:3px;font-size:14px;color:#333}.c-btn.disabled{background:#ccc}.c-btn:focus{outline:none}.selected-list .c-list{display:flex;flex:1 1 auto;align-items:center;flex-wrap:wrap;min-width:0;float:none;padding:0;margin:0;width:auto}.selected-list .c-list .c-token{list-style:none;padding:0 5px;background:#0079fe;color:#fff;border-radius:2px;margin-right:4px;margin-top:2px;float:left}.selected-list .c-list .c-token .c-label{display:block;float:left}.selected-list .c-list .c-token .fa-remove{margin-left:1px;font-size:12px}.selected-list .fa-angle-down,.selected-list .fa-angle-up{font-size:15pt;position:absolute;right:10px;top:50%;transform:translateY(-50%)}.selected-list .countplaceholder{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;align-self:center;margin:0 0 0 6px;line-height:1}.selected-list .c-btn{box-sizing:border-box;width:100%;box-shadow:0 1px 5px #959595;padding:10px 36px 10px 10px;cursor:pointer;display:flex;align-items:center;flex-wrap:nowrap;position:relative}.dropdown-list{position:absolute;padding-top:14px;width:100%;z-index:9999}.dropdown-list ul{padding:0;list-style:none;overflow:auto;margin:0}.dropdown-list ul li{padding:10px;cursor:pointer;text-align:left}.dropdown-list ul li:first-child{padding-top:10px}.dropdown-list ul li:last-child{padding-bottom:10px}.dropdown-list ul li:hover{background:#f5f5f5}.dropdown-list ::-webkit-scrollbar{width:8px}.dropdown-list ::-webkit-scrollbar-thumb{background:#ccc;border-radius:5px}.dropdown-list ::-webkit-scrollbar-track{background:#f2f2f2}.arrow-up{width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-bottom:15px solid #fff;margin-left:15px;position:absolute;top:0}.arrow-2{border-bottom:15px solid #ccc;top:-1px}.list-area{border:1px solid #ccc;border-radius:3px;background:#fff;margin:0;box-shadow:0 1px 5px #959595}.select-all{padding:10px;border-bottom:1px solid #ccc;text-align:left}.list-filter{border-bottom:1px solid #ccc;position:relative}.list-filter input{border:0px;width:100%;height:35px;padding:0 0 0 35px}.list-filter input:focus{outline:none}.list-filter .fa{position:absolute;top:10px;left:13px;color:#888}.pure-checkbox input[type=checkbox]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.pure-checkbox input[type=checkbox]:focus+label:before,.pure-checkbox input[type=checkbox]:hover+label:before{border-color:#0079fe;background-color:#f2f2f2}.pure-checkbox input[type=checkbox]:active+label:before{transition-duration:0s}.pure-checkbox input[type=checkbox]+label{position:relative;padding-left:2em;vertical-align:middle;-webkit-user-select:none;user-select:none;cursor:pointer;margin:0;color:#000;font-weight:300}.pure-checkbox input[type=checkbox]+label:before{box-sizing:content-box;content:\"\";color:#0079fe;position:absolute;top:50%;left:0;width:14px;height:14px;margin-top:-9px;border:2px solid #0079FE;text-align:center;transition:all .4s ease}.pure-checkbox input[type=checkbox]+label:after{box-sizing:content-box;content:\"\";background-color:#0079fe;position:absolute;top:50%;left:4px;width:10px;height:10px;margin-top:-5px;transform:scale(0);transform-origin:50%;transition:transform .2s ease-out}.pure-checkbox input[type=checkbox]:disabled+label:before{border-color:#ccc}.pure-checkbox input[type=checkbox]:disabled:focus+label:before .pure-checkbox input[type=checkbox]:disabled:hover+label:before{background-color:inherit}.pure-checkbox input[type=checkbox]:disabled:checked+label:before{background-color:#ccc}.pure-checkbox input[type=checkbox]+label:after{background-color:transparent;top:50%;left:4px;width:8px;height:3px;margin-top:-4px;border-style:solid;border-color:#fff;border-width:0 0 3px 3px;border-image:none;transform:rotate(-45deg) scale(0)}.pure-checkbox input[type=checkbox]:checked+label:after{content:\"\";transform:rotate(-45deg) scale(1);transition:transform .2s ease-out}.pure-checkbox input[type=radio]:checked+label:before{background-color:#fff}.pure-checkbox input[type=radio]:checked+label:after{transform:scale(1)}.pure-checkbox input[type=radio]+label:before{border-radius:50%}.pure-checkbox input[type=checkbox]:checked+label:before{background:#0079fe}.pure-checkbox input[type=checkbox]:checked+label:after{transform:rotate(-45deg) scale(1)}.list-message{text-align:center}.list-grp{padding:0 15px!important}.list-grp h4{text-transform:capitalize;margin:15px 0 0;font-size:14px;font-weight:700}.list-grp>li{padding-left:15px!important}.stackline-dropdown.theme-material,.stackline-dropdown.theme-dark,.stackline-dropdown.theme-custom{--ms-primary: #3f51b5;--ms-primary-soft: rgba(63, 81, 181, .12);--ms-surface: #ffffff;--ms-surface-soft: #f5f7fb;--ms-surface-muted: #e8eaf6;--ms-outline: #c5cae9;--ms-outline-strong: #7986cb;--ms-on-surface: #212121;--ms-on-surface-muted: #5f6368;--ms-chip-bg: #e8eaf6;--ms-chip-text: #303f9f;--ms-chip-remove: #303f9f;--ms-divider: rgba(125, 119, 134, .16);--ms-section-bg: rgba(247, 242, 250, .76);--ms-selected-text: var(--ms-primary);--ms-shadow: 0 1px 2px rgba(33, 33, 33, .16), 0 12px 32px rgba(63, 81, 181, .12);--ms-shadow-soft: 0 1px 2px rgba(33, 33, 33, .12), 0 4px 12px rgba(33, 33, 33, .08);display:block;width:100%;color:var(--ms-on-surface);font:inherit}.stackline-dropdown.theme-dark{--ms-primary: #8ab4f8;--ms-primary-soft: rgba(138, 180, 248, .18);--ms-surface: #151a23;--ms-surface-soft: #202736;--ms-surface-muted: #111722;--ms-outline: #384456;--ms-outline-strong: #8ab4f8;--ms-on-surface: #edf2f7;--ms-on-surface-muted: #aab6c5;--ms-chip-bg: #263247;--ms-chip-text: #d7e6ff;--ms-chip-remove: #d7e6ff;--ms-divider: rgba(170, 182, 197, .18);--ms-section-bg: #101620;--ms-selected-text: #d7e6ff;--ms-shadow: 0 20px 50px rgba(0, 0, 0, .42);--ms-shadow-soft: 0 1px 2px rgba(0, 0, 0, .45), 0 10px 24px rgba(0, 0, 0, .28)}.stackline-dropdown.theme-custom{--ms-primary: var(--stackline-ms-primary, #0f766e);--ms-primary-soft: var(--stackline-ms-primary-soft, rgba(15, 118, 110, .14));--ms-surface: var(--stackline-ms-surface, #ffffff);--ms-surface-soft: var(--stackline-ms-surface-soft, #ecfdf5);--ms-surface-muted: var(--stackline-ms-surface-muted, #d1fae5);--ms-outline: var(--stackline-ms-outline, #99f6e4);--ms-outline-strong: var(--stackline-ms-outline-strong, #0f766e);--ms-on-surface: var(--stackline-ms-on-surface, #102a2a);--ms-on-surface-muted: var(--stackline-ms-on-surface-muted, #47615f);--ms-chip-bg: var(--stackline-ms-chip-bg, #ccfbf1);--ms-chip-text: var(--stackline-ms-chip-text, #115e59);--ms-chip-remove: var(--stackline-ms-chip-remove, #115e59);--ms-divider: var(--stackline-ms-divider, rgba(15, 118, 110, .16));--ms-section-bg: var(--stackline-ms-section-bg, #f0fdfa);--ms-selected-text: var(--stackline-ms-selected-text, var(--ms-primary));--ms-shadow: var(--stackline-ms-shadow, 0 18px 42px rgba(15, 118, 110, .15));--ms-shadow-soft: var(--stackline-ms-shadow-soft, 0 1px 2px rgba(15, 118, 110, .16), 0 8px 18px rgba(15, 118, 110, .09))}.stackline-dropdown.theme-material .selected-list,.stackline-dropdown.theme-dark .selected-list,.stackline-dropdown.theme-custom .selected-list{width:100%}.stackline-dropdown.theme-material .selected-list .c-btn,.stackline-dropdown.theme-dark .selected-list .c-btn,.stackline-dropdown.theme-custom .selected-list .c-btn{position:relative;display:flex;align-items:center;flex-wrap:nowrap;gap:8px;width:100%;min-height:56px;padding:11px 54px 11px 16px;border-radius:18px;border:1px solid var(--ms-outline);background:var(--ms-surface);box-shadow:var(--ms-shadow-soft);color:var(--ms-on-surface);cursor:pointer;font-size:inherit;line-height:1.45;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease,transform .16s ease}.stackline-dropdown.theme-material .selected-list .c-btn:hover,.stackline-dropdown.theme-dark .selected-list .c-btn:hover,.stackline-dropdown.theme-custom .selected-list .c-btn:hover{border-color:var(--ms-outline-strong)}.stackline-dropdown.theme-material .selected-list .c-btn.disabled,.stackline-dropdown.theme-dark .selected-list .c-btn.disabled,.stackline-dropdown.theme-custom .selected-list .c-btn.disabled{background:var(--ms-surface);cursor:not-allowed;opacity:.72}.stackline-dropdown.theme-material .selected-list .c-list,.stackline-dropdown.theme-dark .selected-list .c-list,.stackline-dropdown.theme-custom .selected-list .c-list{display:flex;flex:1 1 auto;flex-wrap:wrap;gap:8px;width:auto;min-width:0;margin:0;padding:0;float:none}.stackline-dropdown.theme-material .selected-list .c-list .c-token,.stackline-dropdown.theme-dark .selected-list .c-list .c-token,.stackline-dropdown.theme-custom .selected-list .c-list .c-token{position:relative;display:inline-block;vertical-align:middle;min-height:32px;max-width:100%;padding:6px 30px 6px 12px;background:var(--ms-chip-bg);color:var(--ms-chip-text);border-radius:999px;box-shadow:inset 0 0 0 1px #6750a414;line-height:1.35;white-space:normal;overflow-wrap:anywhere;margin:0;float:none}.stackline-dropdown.theme-material .selected-list .c-list .c-token .c-label,.stackline-dropdown.theme-dark .selected-list .c-list .c-token .c-label,.stackline-dropdown.theme-custom .selected-list .c-list .c-token .c-label{display:inline-flex;align-items:center;float:none;min-width:0;max-width:100%;line-height:1.3;font-weight:500;white-space:normal;overflow-wrap:anywhere}.stackline-dropdown.theme-material .selected-list .c-list .c-token .fa-remove,.stackline-dropdown.theme-dark .selected-list .c-list .c-token .fa-remove,.stackline-dropdown.theme-custom .selected-list .c-list .c-token .fa-remove{position:absolute;right:10px;top:50%;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:0;transform:translateY(-50%);color:var(--ms-chip-remove);cursor:pointer}.stackline-dropdown.theme-material .selected-list .countplaceholder,.stackline-dropdown.theme-dark .selected-list .countplaceholder,.stackline-dropdown.theme-custom .selected-list .countplaceholder{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;align-self:center;margin:0;line-height:1;color:var(--ms-on-surface-muted);font-size:.8rem;font-weight:600}.stackline-dropdown.theme-material .selected-list .fa-angle-down,.stackline-dropdown.theme-dark .selected-list .fa-angle-down,.stackline-dropdown.theme-custom .selected-list .fa-angle-down,.stackline-dropdown.theme-material .selected-list .fa-angle-up,.stackline-dropdown.theme-dark .selected-list .fa-angle-up,.stackline-dropdown.theme-custom .selected-list .fa-angle-up{position:absolute;top:50%;right:16px;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;transform:translateY(-50%);color:var(--ms-on-surface-muted);font-size:15pt;pointer-events:none}.stackline-dropdown.theme-material .dropdown-list,.stackline-dropdown.theme-dark .dropdown-list,.stackline-dropdown.theme-custom .dropdown-list{position:absolute;width:100%;padding-top:8px;z-index:99999}.stackline-dropdown.theme-material .arrow-up,.stackline-dropdown.theme-dark .arrow-up,.stackline-dropdown.theme-custom .arrow-up,.stackline-dropdown.theme-material .arrow-down,.stackline-dropdown.theme-dark .arrow-down,.stackline-dropdown.theme-custom .arrow-down,.stackline-dropdown.theme-material .arrow-2,.stackline-dropdown.theme-dark .arrow-2,.stackline-dropdown.theme-custom .arrow-2{display:none}.stackline-dropdown.theme-material .list-area,.stackline-dropdown.theme-dark .list-area,.stackline-dropdown.theme-custom .list-area{overflow:hidden;border-radius:22px;background:var(--ms-surface);border:1px solid var(--ms-outline);box-shadow:var(--ms-shadow);margin:0}.stackline-dropdown.theme-material .select-all,.stackline-dropdown.theme-dark .select-all,.stackline-dropdown.theme-custom .select-all{padding:10px 14px;border-bottom:1px solid var(--ms-divider);background:var(--ms-section-bg);text-align:left}.stackline-dropdown.theme-material .list-filter,.stackline-dropdown.theme-dark .list-filter,.stackline-dropdown.theme-custom .list-filter{position:relative;display:flex;align-items:center;min-height:52px;padding-left:48px;padding-right:44px;border-bottom:1px solid var(--ms-divider);background:var(--ms-surface)}.stackline-dropdown.theme-material .list-filter input,.stackline-dropdown.theme-dark .list-filter input,.stackline-dropdown.theme-custom .list-filter input{width:100%;height:100%;border:0;background:transparent;color:var(--ms-on-surface);font:inherit;padding:0}.stackline-dropdown.theme-material .list-filter input::placeholder,.stackline-dropdown.theme-dark .list-filter input::placeholder,.stackline-dropdown.theme-custom .list-filter input::placeholder{color:var(--ms-on-surface-muted)}.stackline-dropdown.theme-material .list-filter input:focus,.stackline-dropdown.theme-dark .list-filter input:focus,.stackline-dropdown.theme-custom .list-filter input:focus{outline:none}.stackline-dropdown.theme-material .list-filter .fa,.stackline-dropdown.theme-dark .list-filter .fa,.stackline-dropdown.theme-custom .list-filter .fa{position:absolute;top:50%;left:16px;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;transform:translateY(-50%);color:var(--ms-on-surface-muted)}.stackline-dropdown.theme-material .dropdown-list ul,.stackline-dropdown.theme-dark .dropdown-list ul,.stackline-dropdown.theme-custom .dropdown-list ul{list-style:none;margin:0;padding:8px;overflow:auto}.stackline-dropdown.theme-material .dropdown-list ul li,.stackline-dropdown.theme-dark .dropdown-list ul li,.stackline-dropdown.theme-custom .dropdown-list ul li{align-items:center;min-height:0;margin:4px;padding:12px 14px;border-radius:14px;cursor:pointer;text-align:left;line-height:1.35;transition:background-color .16s ease,color .16s ease}.stackline-dropdown.theme-material .dropdown-list ul li:first-child,.stackline-dropdown.theme-dark .dropdown-list ul li:first-child,.stackline-dropdown.theme-custom .dropdown-list ul li:first-child{padding-top:12px}.stackline-dropdown.theme-material .dropdown-list ul li:last-child,.stackline-dropdown.theme-dark .dropdown-list ul li:last-child,.stackline-dropdown.theme-custom .dropdown-list ul li:last-child{padding-bottom:12px}.stackline-dropdown.theme-material .dropdown-list ul li:hover,.stackline-dropdown.theme-dark .dropdown-list ul li:hover,.stackline-dropdown.theme-custom .dropdown-list ul li:hover{background:var(--ms-surface-soft)}.stackline-dropdown.theme-material .pure-checkbox,.stackline-dropdown.theme-dark .pure-checkbox,.stackline-dropdown.theme-custom .pure-checkbox{position:relative}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]+label,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]+label,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]+label{position:relative;display:block;width:100%;margin:0;padding-left:32px;color:inherit;cursor:pointer;font-weight:500;-webkit-user-select:none;user-select:none}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]+label:before,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]+label:before,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]+label:before{box-sizing:content-box;content:\"\";position:absolute;top:50%;left:0;width:16px;height:16px;margin-top:-10px;border:2px solid var(--ms-outline-strong);border-radius:5px;background:var(--ms-surface);transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]+label:after,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]+label:after,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]+label:after{box-sizing:content-box;content:\"\";position:absolute;top:50%;left:5px;width:8px;height:3px;margin-top:-4px;border-style:solid;border-color:#fff;border-width:0 0 3px 3px;border-image:none;background:transparent;transform:rotate(-45deg) scale(0);transform-origin:50%;transition:transform .16s ease}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:focus+label:before,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:focus+label:before,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:focus+label:before,.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:hover+label:before,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:hover+label:before,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:hover+label:before{border-color:var(--ms-primary);background:var(--ms-surface-soft)}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:checked+label:before,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:checked+label:before,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:checked+label:before{border-color:var(--ms-primary);background:var(--ms-primary)}.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:checked+label:after,.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:checked+label:after,.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:checked+label:after{transform:rotate(-45deg) scale(1)}.stackline-dropdown.theme-material .list-message,.stackline-dropdown.theme-dark .list-message,.stackline-dropdown.theme-custom .list-message{margin:0;padding:20px 14px;color:var(--ms-on-surface-muted);text-align:center}\n"] }]
560
560
  }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { data: [{
@@ -590,11 +590,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
590
590
  args: ['searchInput', { static: false }]
591
591
  }] } });
592
592
  class AngularMultiSelectModule {
593
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AngularMultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
594
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: AngularMultiSelectModule, declarations: [AngularMultiSelect, ClickOutsideDirective, ScrollDirective, styleDirective, ListFilterPipe, Item, TemplateRenderer, Badge], imports: [CommonModule, FormsModule], exports: [AngularMultiSelect, ClickOutsideDirective, ScrollDirective, styleDirective, ListFilterPipe, Item, TemplateRenderer, Badge] });
595
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AngularMultiSelectModule, imports: [CommonModule, FormsModule] });
593
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: AngularMultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
594
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.21", ngImport: i0, type: AngularMultiSelectModule, declarations: [AngularMultiSelect, ClickOutsideDirective, ScrollDirective, styleDirective, ListFilterPipe, Item, TemplateRenderer, Badge], imports: [CommonModule, FormsModule], exports: [AngularMultiSelect, ClickOutsideDirective, ScrollDirective, styleDirective, ListFilterPipe, Item, TemplateRenderer, Badge] });
595
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: AngularMultiSelectModule, imports: [CommonModule, FormsModule] });
596
596
  }
597
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AngularMultiSelectModule, decorators: [{
597
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: AngularMultiSelectModule, decorators: [{
598
598
  type: NgModule,
599
599
  args: [{
600
600
  imports: [CommonModule, FormsModule],
@@ -1 +1 @@
1
- {"version":3,"file":"stackline-angular-multiselect-dropdown.mjs","sources":["../../src/lib/multiselect.model.ts","../../src/lib/clickOutside.ts","../../src/lib/list-filter.ts","../../src/lib/menu-item.ts","../../src/lib/multiselect.component.ts","../../src/stackline-angular-multiselect-dropdown.ts"],"sourcesContent":["export class ListItem{\n [key: string]: any;\n id: number;\n itemName: string\n}\nexport class MyException {\n\tstatus : number;\n\tbody : any;\n\tconstructor(status : number, body : any) {\n\t\tthis.status = status;\n\t\tthis.body = body;\n\t}\n\t\n}\n","import {Directive, ElementRef, Output, EventEmitter, HostListener, Input} from '@angular/core';\n\n@Directive({\n standalone: false,\n selector: '[clickOutside]'\n})\nexport class ClickOutsideDirective {\n constructor(private _elementRef: ElementRef) {\n }\n\n @Output()\n public clickOutside = new EventEmitter<MouseEvent>();\n\n @HostListener('document:click', ['$event', '$event.target'])\n @HostListener('document:touchstart', ['$event', '$event.target'])\n public onClick(event: MouseEvent, targetElement: HTMLElement): void {\n if (!targetElement) {\n return;\n }\n\n const clickedInside = this._elementRef.nativeElement.contains(targetElement);\n if (!clickedInside) {\n this.clickOutside.emit(event);\n }\n }\n}\n\n@Directive({\n standalone: false,\n selector: '[scroll]'\n})\nexport class ScrollDirective {\n constructor(private _elementRef: ElementRef) {\n }\n\n @Output()\n public scroll = new EventEmitter<MouseEvent>();\n\n @HostListener('scroll', ['$event'])\n public onClick(event: MouseEvent, targetElement: HTMLElement): void {\n this.scroll.emit(event);\n }\n}\n@Directive({\n standalone: false,\n selector: '[styleProp]'\n})\nexport class styleDirective {\n\n constructor(private el: ElementRef) {\n\n }\n\n @Input('styleProp') styleVal: number;\n\n ngOnInit() {\n\n this.el.nativeElement.style.top = this.styleVal;\n }\n ngOnChanges(): void {\n this.el.nativeElement.style.top = this.styleVal;\n }\n}","import { Pipe, PipeTransform } from '@angular/core';\n\nimport { ListItem } from './multiselect.model';\n\n@Pipe({\n standalone: false,\n name: 'listFilter',\n pure: false\n})\nexport class ListFilterPipe implements PipeTransform {\n transform(items: ListItem[], filter: any): ListItem[] {\n if (!items || !filter) {\n return items;\n }\n return items.filter((item: any) => this.applyFilter(item, filter));\n }\n applyFilter(item: any, filter: any): boolean {\n let found = false;\n for (var prop in item) {\n if (filter) {\n if (item[prop].toString().toLowerCase().indexOf(filter.toLowerCase()) >= 0) {\n found = true;\n }\n }\n else\n found = true;\n }\n return found;\n }\n}\n","import { Component, OnInit, OnDestroy, NgModule, TemplateRef, AfterContentInit, ContentChild, EmbeddedViewRef, OnChanges, ViewContainerRef, ViewEncapsulation, Input, Output, EventEmitter, ElementRef, AfterViewInit, Pipe, PipeTransform } from '@angular/core';\nimport { SafeResourceUrl, DomSanitizer } from '@angular/platform-browser';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n standalone: false,\n selector: 'c-item',\n template: ``\n})\n\nexport class Item { \n\n @ContentChild(TemplateRef, { static: false }) template: TemplateRef<any>\n constructor() { \n }\n\n}\n\n@Component({\n standalone: false,\n selector: 'c-badge',\n template: ``\n})\n\nexport class Badge { \n\n @ContentChild(TemplateRef, { static: false }) template: TemplateRef<any>\n constructor() { \n }\n\n}\n\n@Component({\n standalone: false,\n selector: 'c-templateRenderer',\n template: ``\n})\n\nexport class TemplateRenderer implements OnInit, OnDestroy { \n\n @Input() data: any\n @Input() item: any\n view: EmbeddedViewRef<any>;\n\n constructor(public viewContainer: ViewContainerRef) { \n }\n ngOnInit() {\n this.view = this.viewContainer.createEmbeddedView(this.data.template, {\n '\\$implicit': this.data,\n 'item':this.item\n });\n }\n\t\n ngOnDestroy() {\n\t\tthis.view.destroy();\n\t}\n\n}\n","import { Component, OnInit, NgModule, SimpleChanges, OnChanges, ViewEncapsulation, ContentChild, ViewChild, forwardRef, Input, Output, EventEmitter, ElementRef, AfterViewInit, Pipe, PipeTransform } from '@angular/core';\nimport { FormsModule, NG_VALUE_ACCESSOR, ControlValueAccessor, NG_VALIDATORS, Validator, FormControl } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { ListItem, MyException } from './multiselect.model';\nimport { DropdownSettings } from './multiselect.interface';\nimport { ClickOutsideDirective, ScrollDirective, styleDirective } from './clickOutside';\nimport { ListFilterPipe } from './list-filter';\nimport { Item, Badge, TemplateRenderer } from './menu-item';\n\nexport const DROPDOWN_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AngularMultiSelect),\n multi: true\n};\nexport const DROPDOWN_CONTROL_VALIDATION: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => AngularMultiSelect),\n multi: true,\n}\nconst noop = () => {\n};\n\n@Component({\n standalone: false,\n selector: 'angular-multiselect, angular2-multiselect',\n template: \"<div class=\\\"stackline-dropdown\\\" [ngClass]=\\\"getDropdownClasses()\\\" (clickOutside)=\\\"closeDropdown()\\\">\\n <div class=\\\"selected-list\\\">\\n <div class=\\\"c-btn\\\" (click)=\\\"toggleDropdown($event)\\\" [ngClass]=\\\"{'disabled': settings.disabled}\\\">\\n <span *ngIf=\\\"selectedItems?.length == 0\\\">{{settings.text}}</span>\\n <span *ngIf=\\\"settings.singleSelection\\\">\\n <span *ngFor=\\\"let item of selectedItems;trackBy: trackByFn;\\\">\\n {{item[settings.labelKey]}}\\n </span>\\n </span>\\n <div class=\\\"c-list\\\" *ngIf=\\\"selectedItems?.length > 0 && !settings.singleSelection\\\">\\n <div class=\\\"c-token\\\" *ngFor=\\\"let item of selectedItems;trackBy: trackByFn;let k = index\\\" [hidden]=\\\"k > settings.badgeShowLimit-1\\\">\\n <span *ngIf=\\\"!badgeTempl\\\" class=\\\"c-label\\\">{{item[settings.labelKey]}}</span>\\n <span *ngIf=\\\"badgeTempl\\\" class=\\\"c-label\\\">\\n <c-templateRenderer [data]=\\\"badgeTempl\\\" [item]=\\\"item\\\"></c-templateRenderer>\\n </span>\\n <span class=\\\"fa fa-remove\\\" (click)=\\\"onItemClick(item,k,$event)\\\"></span>\\n </div>\\n </div> \\n <span class=\\\"countplaceholder\\\" *ngIf=\\\"selectedItems?.length > settings.badgeShowLimit\\\">+{{selectedItems?.length - settings.badgeShowLimit }}</span>\\n <span class=\\\"fa\\\" [ngClass]=\\\"{'fa-angle-down': !isActive,'fa-angle-up':isActive}\\\"></span>\\n </div> \\n </div>\\n <div class=\\\"dropdown-list\\\" [hidden]=\\\"!isActive\\\">\\n <div class=\\\"arrow-up arrow-2\\\"></div>\\n <div class=\\\"arrow-up\\\"></div>\\n <div class=\\\"list-area\\\">\\n <div class=\\\"pure-checkbox select-all\\\" *ngIf=\\\"settings.enableCheckAll && !settings.singleSelection && !settings.limitSelection\\\" (click)=\\\"toggleSelectAll()\\\">\\n <input *ngIf=\\\"settings.showCheckbox\\\" type=\\\"checkbox\\\" [checked]=\\\"isSelectAll\\\" [disabled]=\\\"settings.limitSelection == selectedItems?.length\\\"/>\\n <label>\\n <span [hidden]=\\\"isSelectAll\\\">{{settings.selectAllText}}</span>\\n <span [hidden]=\\\"!isSelectAll\\\">{{settings.unSelectAllText}}</span>\\n </label>\\n </div> \\n <div class=\\\"list-filter\\\" *ngIf=\\\"settings.enableSearchFilter && !settings.lazyLoading\\\">\\n <span class=\\\"fa fa-search\\\"></span>\\n <input #searchInput type=\\\"text\\\" [placeholder]=\\\"settings.searchPlaceholderText\\\" [(ngModel)]=\\\"filter\\\">\\n </div> \\n <div class=\\\"list-filter\\\" *ngIf=\\\"settings.enableSearchFilter && settings.lazyLoading\\\">\\n <span class=\\\"fa fa-search\\\"></span>\\n <input #searchInput type=\\\"text\\\" [placeholder]=\\\"settings.searchPlaceholderText\\\" (keyup)=\\\"filterInfiniteList($event)\\\">\\n </div>\\n <ul *ngIf=\\\"!settings.groupBy\\\" [style.maxHeight] = \\\"settings.maxHeight+'px'\\\" class=\\\"lazyContainer\\\" >\\n <span *ngIf=\\\"itemTempl\\\">\\n <li *ngFor=\\\"let item of data | listFilter:filter; let i = index;\\\" (click)=\\\"onItemClick(item,i,$event)\\\" class=\\\"pure-checkbox\\\">\\n <input *ngIf=\\\"settings.showCheckbox\\\" type=\\\"checkbox\\\" [checked]=\\\"isSelected(item)\\\" [disabled]=\\\"settings.limitSelection == selectedItems?.length && !isSelected(item)\\\"/>\\n <label></label>\\n <c-templateRenderer [data]=\\\"itemTempl\\\" [item]=\\\"item\\\"></c-templateRenderer>\\n </li>\\n </span>\\n <span *ngIf=\\\"!itemTempl && !settings.lazyLoading\\\" >\\n <li *ngFor=\\\"let item of data | listFilter:filter; let i = index;\\\" (click)=\\\"onItemClick(item,i,$event)\\\" class=\\\"pure-checkbox\\\">\\n <input *ngIf=\\\"settings.showCheckbox\\\" type=\\\"checkbox\\\" [checked]=\\\"isSelected(item)\\\" [disabled]=\\\"settings.limitSelection == selectedItems?.length && !isSelected(item)\\\"/>\\n <label>{{item[settings.labelKey]}}</label>\\n </li>\\n </span>\\n <span *ngIf=\\\"!itemTempl && settings.lazyLoading\\\" >\\n <div [ngStyle]=\\\"{'height':totalHeight+'px'}\\\" style=\\\"position: relative;\\\">\\n\\n \\n <li *ngFor=\\\"let item of chunkArray | listFilter:filter; let i = index;\\\" (click)=\\\"onItemClick(item,i,$event)\\\" style=\\\"position: absolute;width: 100%;\\\" class=\\\"pure-checkbox\\\" [styleProp]=\\\"chunkIndex[i]\\\">\\n <input *ngIf=\\\"settings.showCheckbox\\\" type=\\\"checkbox\\\" [checked]=\\\"isSelected(item)\\\" [disabled]=\\\"settings.limitSelection == selectedItems?.length && !isSelected(item)\\\"/>\\n <label>{{item[settings.labelKey]}}</label>\\n </li>\\n </div>\\n </span>\\n </ul>\\n <div *ngIf=\\\"settings.groupBy\\\" [style.maxHeight] = \\\"settings.maxHeight+'px'\\\" style=\\\"overflow: auto;\\\">\\n <ul *ngFor=\\\"let obj of groupedData ; let i = index;\\\" class=\\\"list-grp\\\">\\n <h4 *ngIf=\\\"(obj.value | listFilter:filter ).length > 0\\\">{{obj.key}}</h4>\\n <span *ngIf=\\\"itemTempl\\\" >\\n <li *ngFor=\\\"let item of obj.value | listFilter:filter; let i = index;\\\" (click)=\\\"onItemClick(item,i,$event)\\\" class=\\\"pure-checkbox\\\">\\n <input *ngIf=\\\"settings.showCheckbox\\\" type=\\\"checkbox\\\" [checked]=\\\"isSelected(item)\\\" [disabled]=\\\"settings.limitSelection == selectedItems?.length && !isSelected(item)\\\"/>\\n <label></label>\\n <c-templateRenderer [data]=\\\"itemTempl\\\" [item]=\\\"item\\\"></c-templateRenderer>\\n </li>\\n </span>\\n <span *ngIf=\\\"!itemTempl\\\" >\\n <li *ngFor=\\\"let item of obj.value | listFilter:filter; let i = index;\\\" (click)=\\\"onItemClick(item,i,$event)\\\" class=\\\"pure-checkbox\\\">\\n <input *ngIf=\\\"settings.showCheckbox\\\" type=\\\"checkbox\\\" [checked]=\\\"isSelected(item)\\\" [disabled]=\\\"settings.limitSelection == selectedItems?.length && !isSelected(item)\\\"/>\\n <label>{{item[settings.labelKey]}}</label>\\n </li>\\n </span>\\n </ul>\\n </div>\\n <h5 class=\\\"list-message\\\" *ngIf=\\\"data?.length == 0\\\">{{settings.noDataLabel}}</h5>\\n </div>\\n </div>\\n</div>\\n\",\n host: { '[class]': 'defaultSettings.classes' },\n styles: [\".stackline-dropdown {\\n position: relative;\\n}\\n\\n.c-btn {\\n display: inline-block;\\n background: #fff;\\n border: 1px solid #ccc;\\n border-radius: 3px;\\n font-size: 14px;\\n color: #333;\\n}\\n\\n.c-btn.disabled {\\n background: #ccc;\\n}\\n\\n.c-btn:focus {\\n outline: none;\\n}\\n\\n.selected-list .c-list {\\n display: flex;\\n flex: 1 1 auto;\\n align-items: center;\\n flex-wrap: wrap;\\n min-width: 0;\\n float: none;\\n padding: 0px;\\n margin: 0px;\\n width: auto;\\n}\\n.selected-list .c-list .c-token {\\n list-style: none;\\n padding: 0px 5px;\\n background: #0079FE;\\n color: #fff;\\n border-radius: 2px;\\n margin-right: 4px;\\n margin-top: 2px;\\n float: left;\\n}\\n.selected-list .c-list .c-token .c-label {\\n display: block;\\n float: left;\\n /*width: 50px;\\n white-space: nowrap;\\n text-overflow: ellipsis;\\n overflow: hidden;*/\\n}\\n.selected-list .c-list .c-token .fa-remove {\\n margin-left: 1px;\\n font-size: 12px;\\n}\\n.selected-list .fa-angle-down, .selected-list .fa-angle-up {\\n font-size: 15pt;\\n position: absolute;\\n right: 10px;\\n top: 50%;\\n transform: translateY(-50%);\\n}\\n.selected-list .countplaceholder {\\n display: inline-flex;\\n flex: 0 0 auto;\\n align-items: center;\\n justify-content: center;\\n align-self: center;\\n margin: 0 0 0 6px;\\n line-height: 1;\\n}\\n.selected-list .c-btn {\\n box-sizing: border-box;\\n width: 100%;\\n box-shadow: 0px 1px 5px #959595;\\n padding: 10px 36px 10px 10px;\\n cursor: pointer;\\n display: flex;\\n align-items: center;\\n flex-wrap: nowrap;\\n position: relative;\\n}\\n\\n.dropdown-list {\\n position: absolute;\\n padding-top: 14px;\\n width: 100%;\\n z-index: 9999;\\n}\\n.dropdown-list ul {\\n padding: 0px;\\n list-style: none;\\n overflow: auto;\\n margin: 0px;\\n}\\n.dropdown-list ul li {\\n padding: 10px 10px;\\n cursor: pointer;\\n text-align: left;\\n}\\n.dropdown-list ul li:first-child {\\n padding-top: 10px;\\n}\\n.dropdown-list ul li:last-child {\\n padding-bottom: 10px;\\n}\\n.dropdown-list ul li:hover {\\n background: #f5f5f5;\\n}\\n.dropdown-list ::-webkit-scrollbar {\\n width: 8px;\\n}\\n.dropdown-list ::-webkit-scrollbar-thumb {\\n background: #cccccc;\\n border-radius: 5px;\\n}\\n.dropdown-list ::-webkit-scrollbar-track {\\n background: #f2f2f2;\\n}\\n\\n.arrow-up {\\n width: 0;\\n height: 0;\\n border-left: 13px solid transparent;\\n border-right: 13px solid transparent;\\n border-bottom: 15px solid #fff;\\n margin-left: 15px;\\n position: absolute;\\n top: 0;\\n}\\n\\n.arrow-2 {\\n border-bottom: 15px solid #ccc;\\n top: -1px;\\n}\\n\\n.list-area {\\n border: 1px solid #ccc;\\n border-radius: 3px;\\n background: #fff;\\n margin: 0px;\\n box-shadow: 0px 1px 5px #959595;\\n}\\n\\n.select-all {\\n padding: 10px;\\n border-bottom: 1px solid #ccc;\\n text-align: left;\\n}\\n\\n.list-filter {\\n border-bottom: 1px solid #ccc;\\n position: relative;\\n}\\n.list-filter input {\\n border: 0px;\\n width: 100%;\\n height: 35px;\\n padding: 0px 0px 0px 35px;\\n}\\n.list-filter input:focus {\\n outline: none;\\n}\\n.list-filter .fa {\\n position: absolute;\\n top: 10px;\\n left: 13px;\\n color: #888;\\n}\\n\\n.pure-checkbox input[type=checkbox] {\\n border: 0;\\n clip: rect(0 0 0 0);\\n height: 1px;\\n margin: -1px;\\n overflow: hidden;\\n padding: 0;\\n position: absolute;\\n width: 1px;\\n}\\n\\n.pure-checkbox input[type=checkbox]:focus + label:before,\\n.pure-checkbox input[type=checkbox]:hover + label:before {\\n border-color: #0079FE;\\n background-color: #f2f2f2;\\n}\\n\\n.pure-checkbox input[type=checkbox]:active + label:before {\\n transition-duration: 0s;\\n}\\n\\n.pure-checkbox input[type=checkbox] + label {\\n position: relative;\\n padding-left: 2em;\\n vertical-align: middle;\\n user-select: none;\\n cursor: pointer;\\n margin: 0px;\\n color: #000;\\n font-weight: 300;\\n}\\n\\n.pure-checkbox input[type=checkbox] + label:before {\\n box-sizing: content-box;\\n content: \\\"\\\";\\n color: #0079FE;\\n position: absolute;\\n top: 50%;\\n left: 0;\\n width: 14px;\\n height: 14px;\\n margin-top: -9px;\\n border: 2px solid #0079FE;\\n text-align: center;\\n transition: all 0.4s ease;\\n}\\n\\n.pure-checkbox input[type=checkbox] + label:after {\\n box-sizing: content-box;\\n content: \\\"\\\";\\n background-color: #0079FE;\\n position: absolute;\\n top: 50%;\\n left: 4px;\\n width: 10px;\\n height: 10px;\\n margin-top: -5px;\\n transform: scale(0);\\n transform-origin: 50%;\\n transition: transform 200ms ease-out;\\n}\\n\\n.pure-checkbox input[type=checkbox]:disabled + label:before {\\n border-color: #cccccc;\\n}\\n\\n.pure-checkbox input[type=checkbox]:disabled:focus + label:before .pure-checkbox input[type=checkbox]:disabled:hover + label:before {\\n background-color: inherit;\\n}\\n\\n.pure-checkbox input[type=checkbox]:disabled:checked + label:before {\\n background-color: #cccccc;\\n}\\n\\n.pure-checkbox input[type=checkbox] + label:after {\\n background-color: transparent;\\n top: 50%;\\n left: 4px;\\n width: 8px;\\n height: 3px;\\n margin-top: -4px;\\n border-style: solid;\\n border-color: #ffffff;\\n border-width: 0 0 3px 3px;\\n border-image: none;\\n transform: rotate(-45deg) scale(0);\\n}\\n\\n.pure-checkbox input[type=checkbox]:checked + label:after {\\n content: \\\"\\\";\\n transform: rotate(-45deg) scale(1);\\n transition: transform 200ms ease-out;\\n}\\n\\n.pure-checkbox input[type=radio]:checked + label:before {\\n background-color: white;\\n}\\n\\n.pure-checkbox input[type=radio]:checked + label:after {\\n transform: scale(1);\\n}\\n\\n.pure-checkbox input[type=radio] + label:before {\\n border-radius: 50%;\\n}\\n\\n.pure-checkbox input[type=checkbox]:checked + label:before {\\n background: #0079FE;\\n}\\n\\n.pure-checkbox input[type=checkbox]:checked + label:after {\\n transform: rotate(-45deg) scale(1);\\n}\\n\\n.list-message {\\n text-align: center;\\n}\\n\\n.list-grp {\\n padding: 0 15px !important;\\n}\\n\\n.list-grp h4 {\\n text-transform: capitalize;\\n margin: 15px 0px 0px 0px;\\n font-size: 14px;\\n font-weight: 700;\\n}\\n\\n.list-grp > li {\\n padding-left: 15px !important;\\n}\\n\\n.stackline-dropdown.theme-material,\\n.stackline-dropdown.theme-dark,\\n.stackline-dropdown.theme-custom {\\n --ms-primary: #3f51b5;\\n --ms-primary-soft: rgba(63, 81, 181, 0.12);\\n --ms-surface: #ffffff;\\n --ms-surface-soft: #f5f7fb;\\n --ms-surface-muted: #e8eaf6;\\n --ms-outline: #c5cae9;\\n --ms-outline-strong: #7986cb;\\n --ms-on-surface: #212121;\\n --ms-on-surface-muted: #5f6368;\\n --ms-chip-bg: #e8eaf6;\\n --ms-chip-text: #303f9f;\\n --ms-chip-remove: #303f9f;\\n --ms-divider: rgba(125, 119, 134, 0.16);\\n --ms-section-bg: rgba(247, 242, 250, 0.76);\\n --ms-selected-text: var(--ms-primary);\\n --ms-shadow: 0 1px 2px rgba(33, 33, 33, 0.16), 0 12px 32px rgba(63, 81, 181, 0.12);\\n --ms-shadow-soft: 0 1px 2px rgba(33, 33, 33, 0.12), 0 4px 12px rgba(33, 33, 33, 0.08);\\n display: block;\\n width: 100%;\\n color: var(--ms-on-surface);\\n font: inherit;\\n}\\n\\n.stackline-dropdown.theme-dark {\\n --ms-primary: #8ab4f8;\\n --ms-primary-soft: rgba(138, 180, 248, 0.18);\\n --ms-surface: #151a23;\\n --ms-surface-soft: #202736;\\n --ms-surface-muted: #111722;\\n --ms-outline: #384456;\\n --ms-outline-strong: #8ab4f8;\\n --ms-on-surface: #edf2f7;\\n --ms-on-surface-muted: #aab6c5;\\n --ms-chip-bg: #263247;\\n --ms-chip-text: #d7e6ff;\\n --ms-chip-remove: #d7e6ff;\\n --ms-divider: rgba(170, 182, 197, 0.18);\\n --ms-section-bg: #101620;\\n --ms-selected-text: #d7e6ff;\\n --ms-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);\\n --ms-shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.45), 0 10px 24px rgba(0, 0, 0, 0.28);\\n}\\n\\n.stackline-dropdown.theme-custom {\\n --ms-primary: var(--stackline-ms-primary, #0f766e);\\n --ms-primary-soft: var(--stackline-ms-primary-soft, rgba(15, 118, 110, 0.14));\\n --ms-surface: var(--stackline-ms-surface, #ffffff);\\n --ms-surface-soft: var(--stackline-ms-surface-soft, #ecfdf5);\\n --ms-surface-muted: var(--stackline-ms-surface-muted, #d1fae5);\\n --ms-outline: var(--stackline-ms-outline, #99f6e4);\\n --ms-outline-strong: var(--stackline-ms-outline-strong, #0f766e);\\n --ms-on-surface: var(--stackline-ms-on-surface, #102a2a);\\n --ms-on-surface-muted: var(--stackline-ms-on-surface-muted, #47615f);\\n --ms-chip-bg: var(--stackline-ms-chip-bg, #ccfbf1);\\n --ms-chip-text: var(--stackline-ms-chip-text, #115e59);\\n --ms-chip-remove: var(--stackline-ms-chip-remove, #115e59);\\n --ms-divider: var(--stackline-ms-divider, rgba(15, 118, 110, 0.16));\\n --ms-section-bg: var(--stackline-ms-section-bg, #f0fdfa);\\n --ms-selected-text: var(--stackline-ms-selected-text, var(--ms-primary));\\n --ms-shadow: var(--stackline-ms-shadow, 0 18px 42px rgba(15, 118, 110, 0.15));\\n --ms-shadow-soft: var(--stackline-ms-shadow-soft, 0 1px 2px rgba(15, 118, 110, 0.16), 0 8px 18px rgba(15, 118, 110, 0.09));\\n}\\n\\n.stackline-dropdown.theme-material .selected-list,\\n.stackline-dropdown.theme-dark .selected-list,\\n.stackline-dropdown.theme-custom .selected-list {\\n width: 100%;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .c-btn,\\n.stackline-dropdown.theme-dark .selected-list .c-btn,\\n.stackline-dropdown.theme-custom .selected-list .c-btn {\\n position: relative;\\n display: flex;\\n align-items: center;\\n flex-wrap: nowrap;\\n gap: 8px;\\n width: 100%;\\n min-height: 56px;\\n padding: 11px 54px 11px 16px;\\n border-radius: 18px;\\n border: 1px solid var(--ms-outline);\\n background: var(--ms-surface);\\n box-shadow: var(--ms-shadow-soft);\\n color: var(--ms-on-surface);\\n cursor: pointer;\\n font-size: inherit;\\n line-height: 1.45;\\n transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, transform 0.16s ease;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .c-btn:hover,\\n.stackline-dropdown.theme-dark .selected-list .c-btn:hover,\\n.stackline-dropdown.theme-custom .selected-list .c-btn:hover {\\n border-color: var(--ms-outline-strong);\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .c-btn.disabled,\\n.stackline-dropdown.theme-dark .selected-list .c-btn.disabled,\\n.stackline-dropdown.theme-custom .selected-list .c-btn.disabled {\\n background: var(--ms-surface);\\n cursor: not-allowed;\\n opacity: 0.72;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .c-list,\\n.stackline-dropdown.theme-dark .selected-list .c-list,\\n.stackline-dropdown.theme-custom .selected-list .c-list {\\n display: flex;\\n flex: 1 1 auto;\\n flex-wrap: wrap;\\n gap: 8px;\\n width: auto;\\n min-width: 0;\\n margin: 0;\\n padding: 0;\\n float: none;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .c-list .c-token,\\n.stackline-dropdown.theme-dark .selected-list .c-list .c-token,\\n.stackline-dropdown.theme-custom .selected-list .c-list .c-token {\\n position: relative;\\n display: inline-block;\\n vertical-align: middle;\\n min-height: 32px;\\n max-width: 100%;\\n padding: 6px 30px 6px 12px;\\n background: var(--ms-chip-bg);\\n color: var(--ms-chip-text);\\n border-radius: 999px;\\n box-shadow: inset 0 0 0 1px rgba(103, 80, 164, 0.08);\\n line-height: 1.35;\\n white-space: normal;\\n overflow-wrap: anywhere;\\n margin: 0;\\n float: none;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .c-list .c-token .c-label,\\n.stackline-dropdown.theme-dark .selected-list .c-list .c-token .c-label,\\n.stackline-dropdown.theme-custom .selected-list .c-list .c-token .c-label {\\n display: inline-flex;\\n align-items: center;\\n float: none;\\n min-width: 0;\\n max-width: 100%;\\n line-height: 1.3;\\n font-weight: 500;\\n white-space: normal;\\n overflow-wrap: anywhere;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .c-list .c-token .fa-remove,\\n.stackline-dropdown.theme-dark .selected-list .c-list .c-token .fa-remove,\\n.stackline-dropdown.theme-custom .selected-list .c-list .c-token .fa-remove {\\n position: absolute;\\n right: 10px;\\n top: 50%;\\n display: inline-flex;\\n align-items: center;\\n justify-content: center;\\n width: 16px;\\n height: 16px;\\n margin-left: 0;\\n transform: translateY(-50%);\\n color: var(--ms-chip-remove);\\n cursor: pointer;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .countplaceholder,\\n.stackline-dropdown.theme-dark .selected-list .countplaceholder,\\n.stackline-dropdown.theme-custom .selected-list .countplaceholder {\\n display: inline-flex;\\n flex: 0 0 auto;\\n align-items: center;\\n justify-content: center;\\n align-self: center;\\n margin: 0;\\n line-height: 1;\\n color: var(--ms-on-surface-muted);\\n font-size: 0.8rem;\\n font-weight: 600;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .fa-angle-down,\\n.stackline-dropdown.theme-dark .selected-list .fa-angle-down,\\n.stackline-dropdown.theme-custom .selected-list .fa-angle-down,\\n.stackline-dropdown.theme-material .selected-list .fa-angle-up,\\n.stackline-dropdown.theme-dark .selected-list .fa-angle-up,\\n.stackline-dropdown.theme-custom .selected-list .fa-angle-up {\\n position: absolute;\\n top: 50%;\\n right: 16px;\\n display: inline-flex;\\n align-items: center;\\n justify-content: center;\\n width: 20px;\\n height: 20px;\\n transform: translateY(-50%);\\n color: var(--ms-on-surface-muted);\\n font-size: 15pt;\\n pointer-events: none;\\n}\\n\\n.stackline-dropdown.theme-material .dropdown-list,\\n.stackline-dropdown.theme-dark .dropdown-list,\\n.stackline-dropdown.theme-custom .dropdown-list {\\n position: absolute;\\n width: 100%;\\n padding-top: 8px;\\n z-index: 99999;\\n}\\n\\n.stackline-dropdown.theme-material .arrow-up,\\n.stackline-dropdown.theme-dark .arrow-up,\\n.stackline-dropdown.theme-custom .arrow-up,\\n.stackline-dropdown.theme-material .arrow-down,\\n.stackline-dropdown.theme-dark .arrow-down,\\n.stackline-dropdown.theme-custom .arrow-down,\\n.stackline-dropdown.theme-material .arrow-2,\\n.stackline-dropdown.theme-dark .arrow-2,\\n.stackline-dropdown.theme-custom .arrow-2 {\\n display: none;\\n}\\n\\n.stackline-dropdown.theme-material .list-area,\\n.stackline-dropdown.theme-dark .list-area,\\n.stackline-dropdown.theme-custom .list-area {\\n overflow: hidden;\\n border-radius: 22px;\\n background: var(--ms-surface);\\n border: 1px solid var(--ms-outline);\\n box-shadow: var(--ms-shadow);\\n margin: 0;\\n}\\n\\n.stackline-dropdown.theme-material .select-all,\\n.stackline-dropdown.theme-dark .select-all,\\n.stackline-dropdown.theme-custom .select-all {\\n padding: 10px 14px;\\n border-bottom: 1px solid var(--ms-divider);\\n background: var(--ms-section-bg);\\n text-align: left;\\n}\\n\\n.stackline-dropdown.theme-material .list-filter,\\n.stackline-dropdown.theme-dark .list-filter,\\n.stackline-dropdown.theme-custom .list-filter {\\n position: relative;\\n display: flex;\\n align-items: center;\\n min-height: 52px;\\n padding-left: 48px;\\n padding-right: 44px;\\n border-bottom: 1px solid var(--ms-divider);\\n background: var(--ms-surface);\\n}\\n\\n.stackline-dropdown.theme-material .list-filter input,\\n.stackline-dropdown.theme-dark .list-filter input,\\n.stackline-dropdown.theme-custom .list-filter input {\\n width: 100%;\\n height: 100%;\\n border: 0;\\n background: transparent;\\n color: var(--ms-on-surface);\\n font: inherit;\\n padding: 0;\\n}\\n\\n.stackline-dropdown.theme-material .list-filter input::placeholder,\\n.stackline-dropdown.theme-dark .list-filter input::placeholder,\\n.stackline-dropdown.theme-custom .list-filter input::placeholder {\\n color: var(--ms-on-surface-muted);\\n}\\n\\n.stackline-dropdown.theme-material .list-filter input:focus,\\n.stackline-dropdown.theme-dark .list-filter input:focus,\\n.stackline-dropdown.theme-custom .list-filter input:focus {\\n outline: none;\\n}\\n\\n.stackline-dropdown.theme-material .list-filter .fa,\\n.stackline-dropdown.theme-dark .list-filter .fa,\\n.stackline-dropdown.theme-custom .list-filter .fa {\\n position: absolute;\\n top: 50%;\\n left: 16px;\\n display: inline-flex;\\n align-items: center;\\n justify-content: center;\\n width: 18px;\\n height: 18px;\\n transform: translateY(-50%);\\n color: var(--ms-on-surface-muted);\\n}\\n\\n.stackline-dropdown.theme-material .dropdown-list ul,\\n.stackline-dropdown.theme-dark .dropdown-list ul,\\n.stackline-dropdown.theme-custom .dropdown-list ul {\\n list-style: none;\\n margin: 0;\\n padding: 8px;\\n overflow: auto;\\n}\\n\\n.stackline-dropdown.theme-material .dropdown-list ul li,\\n.stackline-dropdown.theme-dark .dropdown-list ul li,\\n.stackline-dropdown.theme-custom .dropdown-list ul li {\\n align-items: center;\\n min-height: 0;\\n margin: 4px;\\n padding: 12px 14px;\\n border-radius: 14px;\\n cursor: pointer;\\n text-align: left;\\n line-height: 1.35;\\n transition: background-color 0.16s ease, color 0.16s ease;\\n}\\n\\n.stackline-dropdown.theme-material .dropdown-list ul li:first-child,\\n.stackline-dropdown.theme-dark .dropdown-list ul li:first-child,\\n.stackline-dropdown.theme-custom .dropdown-list ul li:first-child {\\n padding-top: 12px;\\n}\\n\\n.stackline-dropdown.theme-material .dropdown-list ul li:last-child,\\n.stackline-dropdown.theme-dark .dropdown-list ul li:last-child,\\n.stackline-dropdown.theme-custom .dropdown-list ul li:last-child {\\n padding-bottom: 12px;\\n}\\n\\n.stackline-dropdown.theme-material .dropdown-list ul li:hover,\\n.stackline-dropdown.theme-dark .dropdown-list ul li:hover,\\n.stackline-dropdown.theme-custom .dropdown-list ul li:hover {\\n background: var(--ms-surface-soft);\\n}\\n\\n.stackline-dropdown.theme-material .pure-checkbox,\\n.stackline-dropdown.theme-dark .pure-checkbox,\\n.stackline-dropdown.theme-custom .pure-checkbox {\\n position: relative;\\n}\\n\\n.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox] + label,\\n.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox] + label,\\n.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox] + label {\\n position: relative;\\n display: block;\\n width: 100%;\\n margin: 0;\\n padding-left: 32px;\\n color: inherit;\\n cursor: pointer;\\n font-weight: 500;\\n user-select: none;\\n}\\n\\n.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox] + label:before,\\n.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox] + label:before,\\n.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox] + label:before {\\n box-sizing: content-box;\\n content: \\\"\\\";\\n position: absolute;\\n top: 50%;\\n left: 0;\\n width: 16px;\\n height: 16px;\\n margin-top: -10px;\\n border: 2px solid var(--ms-outline-strong);\\n border-radius: 5px;\\n background: var(--ms-surface);\\n transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;\\n}\\n\\n.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox] + label:after,\\n.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox] + label:after,\\n.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox] + label:after {\\n box-sizing: content-box;\\n content: \\\"\\\";\\n position: absolute;\\n top: 50%;\\n left: 5px;\\n width: 8px;\\n height: 3px;\\n margin-top: -4px;\\n border-style: solid;\\n border-color: #ffffff;\\n border-width: 0 0 3px 3px;\\n border-image: none;\\n background: transparent;\\n transform: rotate(-45deg) scale(0);\\n transform-origin: 50%;\\n transition: transform 0.16s ease;\\n}\\n\\n.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:focus + label:before,\\n.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:focus + label:before,\\n.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:focus + label:before,\\n.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:hover + label:before,\\n.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:hover + label:before,\\n.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:hover + label:before {\\n border-color: var(--ms-primary);\\n background: var(--ms-surface-soft);\\n}\\n\\n.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:checked + label:before,\\n.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:checked + label:before,\\n.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:checked + label:before {\\n border-color: var(--ms-primary);\\n background: var(--ms-primary);\\n}\\n\\n.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:checked + label:after,\\n.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:checked + label:after,\\n.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:checked + label:after {\\n transform: rotate(-45deg) scale(1);\\n}\\n\\n.stackline-dropdown.theme-material .list-message,\\n.stackline-dropdown.theme-dark .list-message,\\n.stackline-dropdown.theme-custom .list-message {\\n margin: 0;\\n padding: 20px 14px;\\n color: var(--ms-on-surface-muted);\\n text-align: center;\\n}\\n\"],\n providers: [DROPDOWN_CONTROL_VALUE_ACCESSOR, DROPDOWN_CONTROL_VALIDATION]\n})\n\nexport class AngularMultiSelect implements OnInit, ControlValueAccessor, OnChanges, Validator {\n\n @Input()\n data: Array<ListItem>;\n\n @Input()\n settings: DropdownSettings;\n\n @Output('onSelect')\n onSelect: EventEmitter<ListItem> = new EventEmitter<ListItem>();\n\n @Output('onDeSelect')\n onDeSelect: EventEmitter<ListItem> = new EventEmitter<ListItem>();\n\n @Output('onSelectAll')\n onSelectAll: EventEmitter<Array<ListItem>> = new EventEmitter<Array<ListItem>>();\n\n @Output('onDeSelectAll')\n onDeSelectAll: EventEmitter<Array<ListItem>> = new EventEmitter<Array<ListItem>>();\n\n @Output('onOpen')\n onOpen: EventEmitter<any> = new EventEmitter<any>();\n\n @Output('onClose')\n onClose: EventEmitter<any> = new EventEmitter<any>();\n\n @ContentChild(Item, { static: false }) itemTempl: Item;\n @ContentChild(Badge, { static: false }) badgeTempl: Badge;\n\n\n @ViewChild('searchInput', { static: false }) searchInput: ElementRef;\n\n public selectedItems: Array<ListItem>;\n public isActive: boolean = false;\n public isSelectAll: boolean = false;\n public groupedData: Array<ListItem>;\n filter: any;\n public chunkArray:any[];\n public scrollTop:any;\n public chunkIndex:any[] = [];\n public cachedItems:any[] = [];\n public totalRows:any;\n public itemHeight:any = 41.6;\n public screenItemsLen:any;\n public cachedItemsLen:any;\n public totalHeight: any;\n public scroller:any;\n public maxBuffer:any;\n public lastScrolled:any;\n public lastRepaintY: any;\n\n defaultSettings: DropdownSettings = {\n singleSelection: false,\n text: 'Select',\n enableCheckAll: true,\n selectAllText: 'Select All',\n unSelectAllText: 'UnSelect All',\n enableSearchFilter: false,\n maxHeight: 300,\n badgeShowLimit: 999999999999,\n classes: '',\n disabled: false,\n searchPlaceholderText: 'Search',\n showCheckbox: true,\n noDataLabel: 'No Data Available',\n searchAutofocus: true,\n lazyLoading: false,\n labelKey: 'itemName',\n theme: 'classic',\n skin: 'classic'\n }\n public parseError: boolean;\n constructor(public _elementRef : ElementRef) {\n\n }\n getThemeName(): string {\n let rawTheme: any = 'classic';\n if (this.settings) {\n rawTheme = this.settings.skin || this.settings.theme || 'classic';\n }\n let theme = String(rawTheme).toLowerCase().replace(/[^a-z0-9_-]+/g, '-');\n theme = theme.replace(/^-+|-+$/g, '');\n return theme || 'classic';\n }\n getDropdownClasses(): string {\n let theme = this.getThemeName();\n let className = 'theme-' + theme;\n if (theme !== 'classic' && theme !== 'material' && theme !== 'dark' && theme !== 'custom') {\n className += ' theme-custom';\n }\n if (this.isActive) {\n className += ' is-open';\n }\n if (this.settings && this.settings.disabled) {\n className += ' is-disabled';\n }\n return className;\n }\n ngOnInit() {\n this.settings = Object.assign(this.defaultSettings, this.settings);\n if (this.settings.groupBy) {\n this.groupedData = this.transformData(this.data, this.settings.groupBy);\n }\n this.totalRows = (this.data && this.data.length);\n this.cachedItems = this.data;\n this.screenItemsLen = Math.ceil(this.settings.maxHeight / this.itemHeight);\n this.cachedItemsLen = this.screenItemsLen * 3;\n this.totalHeight = this.itemHeight * this.totalRows;\n this.maxBuffer = this.screenItemsLen * this.itemHeight;\n this.lastScrolled = 0;\n this.renderChunk(0, this.cachedItemsLen / 2);\n }\n ngOnChanges(changes: SimpleChanges) {\n if (changes.data && !changes.data.isFirstChange()) {\n if (this.settings.groupBy) {\n this.groupedData = this.transformData(this.data, this.settings.groupBy);\n if (this.data.length == 0) {\n this.selectedItems = [];\n }\n }\n }\n if (changes.settings && !changes.settings.isFirstChange()) {\n this.settings = Object.assign(this.defaultSettings, this.settings);\n }\n }\n ngDoCheck() {\n if (this.selectedItems) {\n if (this.selectedItems.length == 0 || this.data.length == 0 || this.selectedItems.length < this.data.length) {\n this.isSelectAll = false;\n }\n }\n }\n ngAfterViewInit() {\n if(this.settings.lazyLoading){\n this._elementRef.nativeElement.getElementsByClassName(\"lazyContainer\")[0].addEventListener('scroll', this.onScroll.bind(this));\n }\n }\n onItemClick(item: ListItem, index: number, evt: Event) {\n if (this.settings.disabled) {\n return false;\n }\n\n let found = this.isSelected(item);\n let limit = this.selectedItems.length < this.settings.limitSelection ? true : false;\n\n if (!found) {\n if (this.settings.limitSelection) {\n if (limit) {\n this.addSelected(item);\n this.onSelect.emit(item);\n }\n }\n else {\n this.addSelected(item);\n this.onSelect.emit(item);\n }\n\n }\n else {\n this.removeSelected(item);\n this.onDeSelect.emit(item);\n }\n if (this.isSelectAll || this.data.length > this.selectedItems.length) {\n this.isSelectAll = false;\n }\n if (this.data.length == this.selectedItems.length) {\n this.isSelectAll = true;\n }\n }\n public validate(c: FormControl): any {\n return null;\n }\n private onTouchedCallback: (_: any) => void = noop;\n private onChangeCallback: (_: any) => void = noop;\n\n writeValue(value: any) {\n if (value !== undefined && value !== null) {\n if (this.settings.singleSelection) {\n try {\n\n if (value.length > 1) {\n this.selectedItems = [value[0]];\n throw new MyException(404, { \"msg\": \"Single Selection Mode, Selected Items cannot have more than one item.\" });\n }\n else {\n this.selectedItems = value;\n }\n }\n catch (e) {\n console.error(e.body.msg);\n }\n\n }\n else {\n if (this.settings.limitSelection) {\n this.selectedItems = value.splice(0, this.settings.limitSelection);\n }\n else {\n this.selectedItems = value;\n }\n if (this.selectedItems.length === this.data.length && this.data.length > 0) {\n this.isSelectAll = true;\n }\n }\n } else {\n this.selectedItems = [];\n }\n }\n\n //From ControlValueAccessor interface\n registerOnChange(fn: any) {\n this.onChangeCallback = fn;\n }\n\n //From ControlValueAccessor interface\n registerOnTouched(fn: any) {\n this.onTouchedCallback = fn;\n }\n trackByFn(index: number, item: ListItem) {\n return item.id;\n }\n isSelected(clickedItem: ListItem) {\n let found = false;\n this.selectedItems && this.selectedItems.forEach(item => {\n if (clickedItem.id === item.id) {\n found = true;\n }\n });\n return found;\n }\n addSelected(item: ListItem) {\n if (this.settings.singleSelection) {\n this.selectedItems = [];\n this.selectedItems.push(item);\n this.closeDropdown();\n }\n else\n this.selectedItems.push(item);\n this.onChangeCallback(this.selectedItems);\n this.onTouchedCallback(this.selectedItems);\n }\n removeSelected(clickedItem: ListItem) {\n this.selectedItems && this.selectedItems.forEach(item => {\n if (clickedItem.id === item.id) {\n this.selectedItems.splice(this.selectedItems.indexOf(item), 1);\n }\n });\n this.onChangeCallback(this.selectedItems);\n this.onTouchedCallback(this.selectedItems);\n }\n toggleDropdown(evt: any) {\n if (this.settings.disabled) {\n return false;\n }\n this.isActive = !this.isActive;\n if (this.isActive) {\n if (this.settings.searchAutofocus && this.settings.enableSearchFilter) {\n setTimeout(() => {\n this.searchInput.nativeElement.focus();\n }, 0);\n }\n this.onOpen.emit(true);\n }\n else {\n this.onClose.emit(false);\n }\n evt.preventDefault();\n }\n closeDropdown() {\n if(this.searchInput){\n this.searchInput.nativeElement.value = \"\";\n this.data = [];\n this.data = this.cachedItems;\n this.totalHeight = this.itemHeight * this.data.length;\n this.totalRows = this.data.length;\n this.updateView(this.scrollTop);\n }\n this.filter = \"\";\n this.isActive = false;\n this.onClose.emit(false);\n }\n toggleSelectAll() {\n if (!this.isSelectAll) {\n this.selectedItems = [];\n this.selectedItems = this.data.slice();\n this.isSelectAll = true;\n this.onChangeCallback(this.selectedItems);\n this.onTouchedCallback(this.selectedItems);\n\n this.onSelectAll.emit(this.selectedItems);\n }\n else {\n this.selectedItems = [];\n this.isSelectAll = false;\n this.onChangeCallback(this.selectedItems);\n this.onTouchedCallback(this.selectedItems);\n\n this.onDeSelectAll.emit(this.selectedItems);\n }\n }\n transformData(arr: Array<ListItem>, field: any): Array<ListItem> {\n const groupedObj: any = arr.reduce((prev: any, cur: any) => {\n if (!prev[cur[field]]) {\n prev[cur[field]] = [cur];\n } else {\n prev[cur[field]].push(cur);\n }\n return prev;\n }, {});\n const tempArr: any = [];\n Object.keys(groupedObj).map(function (x) {\n tempArr.push({ key: x, value: groupedObj[x] });\n });\n return tempArr;\n }\n renderChunk(fromPos:any, howMany:any) {\n this.chunkArray = [];\n this.chunkIndex = [];\n var finalItem = fromPos + howMany;\n if (finalItem > this.totalRows)\n finalItem = this.totalRows;\n\n for (var i = fromPos; i < finalItem; i++) {\n this.chunkIndex.push((i * this.itemHeight) + 'px');\n this.chunkArray.push(this.data[i]);\n }\n }\n public onScroll(e:any) {\n this.scrollTop = e.target.scrollTop;\n this.updateView(this.scrollTop);\n\n }\n public updateView(scrollTop:any){\n var scrollPos = scrollTop ? scrollTop: 0;\n var first = (scrollPos / this.itemHeight) - this.screenItemsLen;\n var firstTemp = \"\"+first;\n first = parseInt(firstTemp) < 0 ? 0 : parseInt(firstTemp);\n this.renderChunk(first, this.cachedItemsLen);\n this.lastRepaintY = scrollPos;\n }\n public filterInfiniteList(evt: any){\n var filteredElems:Array<any> = [];\n this.data = this.cachedItems.slice();\n if(evt.target.value.toString() != ''){\n this.data.filter(function(el:any){\n for(var prop in el){\n if(el[prop].toString().toLowerCase().indexOf(evt.target.value.toString().toLowerCase()) >=0 ){\n filteredElems.push(el);\n break;\n }\n }\n });\n //this.cachedItems = this.data;\n this.totalHeight = this.itemHeight * filteredElems.length;\n this.totalRows = filteredElems.length;\n this.data = [];\n this.data = filteredElems;\n this.updateView(this.scrollTop);\n }\n else if(evt.target.value.toString() == '' && this.cachedItems.length > 0){\n this.data = [];\n this.data = this.cachedItems;\n this.totalHeight = this.itemHeight * this.data.length;\n this.totalRows = this.data.length;\n this.updateView(this.scrollTop);\n }\n }\n}\n\n@NgModule({\n imports: [CommonModule, FormsModule],\n declarations: [AngularMultiSelect, ClickOutsideDirective, ScrollDirective, styleDirective, ListFilterPipe, Item, TemplateRenderer, Badge],\n exports: [AngularMultiSelect, ClickOutsideDirective, ScrollDirective, styleDirective, ListFilterPipe, Item, TemplateRenderer, Badge]\n})\nexport class AngularMultiSelectModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;MAAa,QAAQ,CAAA;AAEjB,IAAA,EAAE;AACF,IAAA,QAAQ;AACX;MACY,WAAW,CAAA;AACvB,IAAA,MAAM;AACN,IAAA,IAAI;IACJ,WAAA,CAAY,MAAe,EAAE,IAAU,EAAA;AACtC,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM;AACpB,QAAA,IAAI,CAAC,IAAI,GAAG,IAAI;IACjB;AAEA;;MCPY,qBAAqB,CAAA;AACV,IAAA,WAAA;AAApB,IAAA,WAAA,CAAoB,WAAuB,EAAA;QAAvB,IAAA,CAAA,WAAW,GAAX,WAAW;IAC/B;AAGO,IAAA,YAAY,GAAG,IAAI,YAAY,EAAc;IAI7C,OAAO,CAAC,KAAiB,EAAE,aAA0B,EAAA;QACxD,IAAI,CAAC,aAAa,EAAE;YAChB;QACJ;AAEA,QAAA,MAAM,aAAa,GAAG,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC;QAC5E,IAAI,CAAC,aAAa,EAAE;AAChB,YAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;QACjC;IACJ;wGAlBS,qBAAqB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAArB,qBAAqB,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,OAAA,EAAA,EAAA,YAA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YAAY,EAAE,WAAW,CAAA,EAAA,OAAA,EAAA,CAlX1B,kBAAkB,EAoXG,qBAAqB,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,CAAA,EAAA,CAAA;yGAE1H,wBAAwB,EAAA,OAAA,EAAA,CAJvB,YAAY,EAAE,WAAW,CAAA,EAAA,CAAA;;4FAI1B,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC;AACpC,oBAAA,YAAY,EAAE,CAAC,kBAAkB,EAAE,qBAAqB,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,CAAC;AACzI,oBAAA,OAAO,EAAE,CAAC,kBAAkB,EAAE,qBAAqB,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK;AACtI,iBAAA;;;ACpZD;;AAEG;;;;"}
1
+ {"version":3,"file":"stackline-angular-multiselect-dropdown.mjs","sources":["../../src/lib/multiselect.model.ts","../../src/lib/clickOutside.ts","../../src/lib/list-filter.ts","../../src/lib/menu-item.ts","../../src/lib/multiselect.component.ts","../../src/stackline-angular-multiselect-dropdown.ts"],"sourcesContent":["export class ListItem{\n [key: string]: any;\n id: number;\n itemName: string\n}\nexport class MyException {\n\tstatus : number;\n\tbody : any;\n\tconstructor(status : number, body : any) {\n\t\tthis.status = status;\n\t\tthis.body = body;\n\t}\n\t\n}\n","import {Directive, ElementRef, Output, EventEmitter, HostListener, Input} from '@angular/core';\n\n@Directive({\n standalone: false,\n selector: '[clickOutside]'\n})\nexport class ClickOutsideDirective {\n constructor(private _elementRef: ElementRef) {\n }\n\n @Output()\n public clickOutside = new EventEmitter<MouseEvent>();\n\n @HostListener('document:click', ['$event', '$event.target'])\n @HostListener('document:touchstart', ['$event', '$event.target'])\n public onClick(event: MouseEvent, targetElement: HTMLElement): void {\n if (!targetElement) {\n return;\n }\n\n const clickedInside = this._elementRef.nativeElement.contains(targetElement);\n if (!clickedInside) {\n this.clickOutside.emit(event);\n }\n }\n}\n\n@Directive({\n standalone: false,\n selector: '[scroll]'\n})\nexport class ScrollDirective {\n constructor(private _elementRef: ElementRef) {\n }\n\n @Output()\n public scroll = new EventEmitter<MouseEvent>();\n\n @HostListener('scroll', ['$event'])\n public onClick(event: MouseEvent, targetElement: HTMLElement): void {\n this.scroll.emit(event);\n }\n}\n@Directive({\n standalone: false,\n selector: '[styleProp]'\n})\nexport class styleDirective {\n\n constructor(private el: ElementRef) {\n\n }\n\n @Input('styleProp') styleVal: number;\n\n ngOnInit() {\n\n this.el.nativeElement.style.top = this.styleVal;\n }\n ngOnChanges(): void {\n this.el.nativeElement.style.top = this.styleVal;\n }\n}","import { Pipe, PipeTransform } from '@angular/core';\n\nimport { ListItem } from './multiselect.model';\n\n@Pipe({\n standalone: false,\n name: 'listFilter',\n pure: false\n})\nexport class ListFilterPipe implements PipeTransform {\n transform(items: ListItem[], filter: any): ListItem[] {\n if (!items || !filter) {\n return items;\n }\n return items.filter((item: any) => this.applyFilter(item, filter));\n }\n applyFilter(item: any, filter: any): boolean {\n let found = false;\n for (var prop in item) {\n if (filter) {\n if (item[prop].toString().toLowerCase().indexOf(filter.toLowerCase()) >= 0) {\n found = true;\n }\n }\n else\n found = true;\n }\n return found;\n }\n}\n","import { Component, OnInit, OnDestroy, NgModule, TemplateRef, AfterContentInit, ContentChild, EmbeddedViewRef, OnChanges, ViewContainerRef, ViewEncapsulation, Input, Output, EventEmitter, ElementRef, AfterViewInit, Pipe, PipeTransform } from '@angular/core';\nimport { SafeResourceUrl, DomSanitizer } from '@angular/platform-browser';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n standalone: false,\n selector: 'c-item',\n template: ``\n})\n\nexport class Item { \n\n @ContentChild(TemplateRef, { static: false }) template: TemplateRef<any>\n constructor() { \n }\n\n}\n\n@Component({\n standalone: false,\n selector: 'c-badge',\n template: ``\n})\n\nexport class Badge { \n\n @ContentChild(TemplateRef, { static: false }) template: TemplateRef<any>\n constructor() { \n }\n\n}\n\n@Component({\n standalone: false,\n selector: 'c-templateRenderer',\n template: ``\n})\n\nexport class TemplateRenderer implements OnInit, OnDestroy { \n\n @Input() data: any\n @Input() item: any\n view: EmbeddedViewRef<any>;\n\n constructor(public viewContainer: ViewContainerRef) { \n }\n ngOnInit() {\n this.view = this.viewContainer.createEmbeddedView(this.data.template, {\n '\\$implicit': this.data,\n 'item':this.item\n });\n }\n\t\n ngOnDestroy() {\n\t\tthis.view.destroy();\n\t}\n\n}\n","import { Component, OnInit, NgModule, SimpleChanges, OnChanges, ViewEncapsulation, ContentChild, ViewChild, forwardRef, Input, Output, EventEmitter, ElementRef, AfterViewInit, Pipe, PipeTransform } from '@angular/core';\nimport { FormsModule, NG_VALUE_ACCESSOR, ControlValueAccessor, NG_VALIDATORS, Validator, FormControl } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { ListItem, MyException } from './multiselect.model';\nimport { DropdownSettings } from './multiselect.interface';\nimport { ClickOutsideDirective, ScrollDirective, styleDirective } from './clickOutside';\nimport { ListFilterPipe } from './list-filter';\nimport { Item, Badge, TemplateRenderer } from './menu-item';\n\nexport const DROPDOWN_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AngularMultiSelect),\n multi: true\n};\nexport const DROPDOWN_CONTROL_VALIDATION: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => AngularMultiSelect),\n multi: true,\n}\nconst noop = () => {\n};\n\n@Component({\n standalone: false,\n selector: 'angular-multiselect, angular2-multiselect',\n template: \"<div class=\\\"stackline-dropdown\\\" [ngClass]=\\\"getDropdownClasses()\\\" (clickOutside)=\\\"closeDropdown()\\\">\\n <div class=\\\"selected-list\\\">\\n <div class=\\\"c-btn\\\" (click)=\\\"toggleDropdown($event)\\\" [ngClass]=\\\"{'disabled': settings.disabled}\\\">\\n <span *ngIf=\\\"selectedItems?.length == 0\\\">{{settings.text}}</span>\\n <span *ngIf=\\\"settings.singleSelection\\\">\\n <span *ngFor=\\\"let item of selectedItems;trackBy: trackByFn;\\\">\\n {{item[settings.labelKey]}}\\n </span>\\n </span>\\n <div class=\\\"c-list\\\" *ngIf=\\\"selectedItems?.length > 0 && !settings.singleSelection\\\">\\n <div class=\\\"c-token\\\" *ngFor=\\\"let item of selectedItems;trackBy: trackByFn;let k = index\\\" [hidden]=\\\"k > settings.badgeShowLimit-1\\\">\\n <span *ngIf=\\\"!badgeTempl\\\" class=\\\"c-label\\\">{{item[settings.labelKey]}}</span>\\n <span *ngIf=\\\"badgeTempl\\\" class=\\\"c-label\\\">\\n <c-templateRenderer [data]=\\\"badgeTempl\\\" [item]=\\\"item\\\"></c-templateRenderer>\\n </span>\\n <span class=\\\"fa fa-remove\\\" (click)=\\\"onItemClick(item,k,$event)\\\"></span>\\n </div>\\n </div> \\n <span class=\\\"countplaceholder\\\" *ngIf=\\\"selectedItems?.length > settings.badgeShowLimit\\\">+{{selectedItems?.length - settings.badgeShowLimit }}</span>\\n <span class=\\\"fa\\\" [ngClass]=\\\"{'fa-angle-down': !isActive,'fa-angle-up':isActive}\\\"></span>\\n </div> \\n </div>\\n <div class=\\\"dropdown-list\\\" [hidden]=\\\"!isActive\\\">\\n <div class=\\\"arrow-up arrow-2\\\"></div>\\n <div class=\\\"arrow-up\\\"></div>\\n <div class=\\\"list-area\\\">\\n <div class=\\\"pure-checkbox select-all\\\" *ngIf=\\\"settings.enableCheckAll && !settings.singleSelection && !settings.limitSelection\\\" (click)=\\\"toggleSelectAll()\\\">\\n <input *ngIf=\\\"settings.showCheckbox\\\" type=\\\"checkbox\\\" [checked]=\\\"isSelectAll\\\" [disabled]=\\\"settings.limitSelection == selectedItems?.length\\\"/>\\n <label>\\n <span [hidden]=\\\"isSelectAll\\\">{{settings.selectAllText}}</span>\\n <span [hidden]=\\\"!isSelectAll\\\">{{settings.unSelectAllText}}</span>\\n </label>\\n </div> \\n <div class=\\\"list-filter\\\" *ngIf=\\\"settings.enableSearchFilter && !settings.lazyLoading\\\">\\n <span class=\\\"fa fa-search\\\"></span>\\n <input #searchInput type=\\\"text\\\" [placeholder]=\\\"settings.searchPlaceholderText\\\" [(ngModel)]=\\\"filter\\\">\\n </div> \\n <div class=\\\"list-filter\\\" *ngIf=\\\"settings.enableSearchFilter && settings.lazyLoading\\\">\\n <span class=\\\"fa fa-search\\\"></span>\\n <input #searchInput type=\\\"text\\\" [placeholder]=\\\"settings.searchPlaceholderText\\\" (keyup)=\\\"filterInfiniteList($event)\\\">\\n </div>\\n <ul *ngIf=\\\"!settings.groupBy\\\" [style.maxHeight] = \\\"settings.maxHeight+'px'\\\" class=\\\"lazyContainer\\\" >\\n <span *ngIf=\\\"itemTempl\\\">\\n <li *ngFor=\\\"let item of data | listFilter:filter; let i = index;\\\" (click)=\\\"onItemClick(item,i,$event)\\\" class=\\\"pure-checkbox\\\">\\n <input *ngIf=\\\"settings.showCheckbox\\\" type=\\\"checkbox\\\" [checked]=\\\"isSelected(item)\\\" [disabled]=\\\"settings.limitSelection == selectedItems?.length && !isSelected(item)\\\"/>\\n <label></label>\\n <c-templateRenderer [data]=\\\"itemTempl\\\" [item]=\\\"item\\\"></c-templateRenderer>\\n </li>\\n </span>\\n <span *ngIf=\\\"!itemTempl && !settings.lazyLoading\\\" >\\n <li *ngFor=\\\"let item of data | listFilter:filter; let i = index;\\\" (click)=\\\"onItemClick(item,i,$event)\\\" class=\\\"pure-checkbox\\\">\\n <input *ngIf=\\\"settings.showCheckbox\\\" type=\\\"checkbox\\\" [checked]=\\\"isSelected(item)\\\" [disabled]=\\\"settings.limitSelection == selectedItems?.length && !isSelected(item)\\\"/>\\n <label>{{item[settings.labelKey]}}</label>\\n </li>\\n </span>\\n <span *ngIf=\\\"!itemTempl && settings.lazyLoading\\\" >\\n <div [ngStyle]=\\\"{'height':totalHeight+'px'}\\\" style=\\\"position: relative;\\\">\\n\\n \\n <li *ngFor=\\\"let item of chunkArray | listFilter:filter; let i = index;\\\" (click)=\\\"onItemClick(item,i,$event)\\\" style=\\\"position: absolute;width: 100%;\\\" class=\\\"pure-checkbox\\\" [styleProp]=\\\"chunkIndex[i]\\\">\\n <input *ngIf=\\\"settings.showCheckbox\\\" type=\\\"checkbox\\\" [checked]=\\\"isSelected(item)\\\" [disabled]=\\\"settings.limitSelection == selectedItems?.length && !isSelected(item)\\\"/>\\n <label>{{item[settings.labelKey]}}</label>\\n </li>\\n </div>\\n </span>\\n </ul>\\n <div *ngIf=\\\"settings.groupBy\\\" [style.maxHeight] = \\\"settings.maxHeight+'px'\\\" style=\\\"overflow: auto;\\\">\\n <ul *ngFor=\\\"let obj of groupedData ; let i = index;\\\" class=\\\"list-grp\\\">\\n <h4 *ngIf=\\\"(obj.value | listFilter:filter ).length > 0\\\">{{obj.key}}</h4>\\n <span *ngIf=\\\"itemTempl\\\" >\\n <li *ngFor=\\\"let item of obj.value | listFilter:filter; let i = index;\\\" (click)=\\\"onItemClick(item,i,$event)\\\" class=\\\"pure-checkbox\\\">\\n <input *ngIf=\\\"settings.showCheckbox\\\" type=\\\"checkbox\\\" [checked]=\\\"isSelected(item)\\\" [disabled]=\\\"settings.limitSelection == selectedItems?.length && !isSelected(item)\\\"/>\\n <label></label>\\n <c-templateRenderer [data]=\\\"itemTempl\\\" [item]=\\\"item\\\"></c-templateRenderer>\\n </li>\\n </span>\\n <span *ngIf=\\\"!itemTempl\\\" >\\n <li *ngFor=\\\"let item of obj.value | listFilter:filter; let i = index;\\\" (click)=\\\"onItemClick(item,i,$event)\\\" class=\\\"pure-checkbox\\\">\\n <input *ngIf=\\\"settings.showCheckbox\\\" type=\\\"checkbox\\\" [checked]=\\\"isSelected(item)\\\" [disabled]=\\\"settings.limitSelection == selectedItems?.length && !isSelected(item)\\\"/>\\n <label>{{item[settings.labelKey]}}</label>\\n </li>\\n </span>\\n </ul>\\n </div>\\n <h5 class=\\\"list-message\\\" *ngIf=\\\"data?.length == 0\\\">{{settings.noDataLabel}}</h5>\\n </div>\\n </div>\\n</div>\\n\",\n host: { '[class]': 'defaultSettings.classes' },\n styles: [\".stackline-dropdown {\\n position: relative;\\n}\\n\\n.c-btn {\\n display: inline-block;\\n background: #fff;\\n border: 1px solid #ccc;\\n border-radius: 3px;\\n font-size: 14px;\\n color: #333;\\n}\\n\\n.c-btn.disabled {\\n background: #ccc;\\n}\\n\\n.c-btn:focus {\\n outline: none;\\n}\\n\\n.selected-list .c-list {\\n display: flex;\\n flex: 1 1 auto;\\n align-items: center;\\n flex-wrap: wrap;\\n min-width: 0;\\n float: none;\\n padding: 0px;\\n margin: 0px;\\n width: auto;\\n}\\n.selected-list .c-list .c-token {\\n list-style: none;\\n padding: 0px 5px;\\n background: #0079FE;\\n color: #fff;\\n border-radius: 2px;\\n margin-right: 4px;\\n margin-top: 2px;\\n float: left;\\n}\\n.selected-list .c-list .c-token .c-label {\\n display: block;\\n float: left;\\n /*width: 50px;\\n white-space: nowrap;\\n text-overflow: ellipsis;\\n overflow: hidden;*/\\n}\\n.selected-list .c-list .c-token .fa-remove {\\n margin-left: 1px;\\n font-size: 12px;\\n}\\n.selected-list .fa-angle-down, .selected-list .fa-angle-up {\\n font-size: 15pt;\\n position: absolute;\\n right: 10px;\\n top: 50%;\\n transform: translateY(-50%);\\n}\\n.selected-list .countplaceholder {\\n display: inline-flex;\\n flex: 0 0 auto;\\n align-items: center;\\n justify-content: center;\\n align-self: center;\\n margin: 0 0 0 6px;\\n line-height: 1;\\n}\\n.selected-list .c-btn {\\n box-sizing: border-box;\\n width: 100%;\\n box-shadow: 0px 1px 5px #959595;\\n padding: 10px 36px 10px 10px;\\n cursor: pointer;\\n display: flex;\\n align-items: center;\\n flex-wrap: nowrap;\\n position: relative;\\n}\\n\\n.dropdown-list {\\n position: absolute;\\n padding-top: 14px;\\n width: 100%;\\n z-index: 9999;\\n}\\n.dropdown-list ul {\\n padding: 0px;\\n list-style: none;\\n overflow: auto;\\n margin: 0px;\\n}\\n.dropdown-list ul li {\\n padding: 10px 10px;\\n cursor: pointer;\\n text-align: left;\\n}\\n.dropdown-list ul li:first-child {\\n padding-top: 10px;\\n}\\n.dropdown-list ul li:last-child {\\n padding-bottom: 10px;\\n}\\n.dropdown-list ul li:hover {\\n background: #f5f5f5;\\n}\\n.dropdown-list ::-webkit-scrollbar {\\n width: 8px;\\n}\\n.dropdown-list ::-webkit-scrollbar-thumb {\\n background: #cccccc;\\n border-radius: 5px;\\n}\\n.dropdown-list ::-webkit-scrollbar-track {\\n background: #f2f2f2;\\n}\\n\\n.arrow-up {\\n width: 0;\\n height: 0;\\n border-left: 13px solid transparent;\\n border-right: 13px solid transparent;\\n border-bottom: 15px solid #fff;\\n margin-left: 15px;\\n position: absolute;\\n top: 0;\\n}\\n\\n.arrow-2 {\\n border-bottom: 15px solid #ccc;\\n top: -1px;\\n}\\n\\n.list-area {\\n border: 1px solid #ccc;\\n border-radius: 3px;\\n background: #fff;\\n margin: 0px;\\n box-shadow: 0px 1px 5px #959595;\\n}\\n\\n.select-all {\\n padding: 10px;\\n border-bottom: 1px solid #ccc;\\n text-align: left;\\n}\\n\\n.list-filter {\\n border-bottom: 1px solid #ccc;\\n position: relative;\\n}\\n.list-filter input {\\n border: 0px;\\n width: 100%;\\n height: 35px;\\n padding: 0px 0px 0px 35px;\\n}\\n.list-filter input:focus {\\n outline: none;\\n}\\n.list-filter .fa {\\n position: absolute;\\n top: 10px;\\n left: 13px;\\n color: #888;\\n}\\n\\n.pure-checkbox input[type=checkbox] {\\n border: 0;\\n clip: rect(0 0 0 0);\\n height: 1px;\\n margin: -1px;\\n overflow: hidden;\\n padding: 0;\\n position: absolute;\\n width: 1px;\\n}\\n\\n.pure-checkbox input[type=checkbox]:focus + label:before,\\n.pure-checkbox input[type=checkbox]:hover + label:before {\\n border-color: #0079FE;\\n background-color: #f2f2f2;\\n}\\n\\n.pure-checkbox input[type=checkbox]:active + label:before {\\n transition-duration: 0s;\\n}\\n\\n.pure-checkbox input[type=checkbox] + label {\\n position: relative;\\n padding-left: 2em;\\n vertical-align: middle;\\n user-select: none;\\n cursor: pointer;\\n margin: 0px;\\n color: #000;\\n font-weight: 300;\\n}\\n\\n.pure-checkbox input[type=checkbox] + label:before {\\n box-sizing: content-box;\\n content: \\\"\\\";\\n color: #0079FE;\\n position: absolute;\\n top: 50%;\\n left: 0;\\n width: 14px;\\n height: 14px;\\n margin-top: -9px;\\n border: 2px solid #0079FE;\\n text-align: center;\\n transition: all 0.4s ease;\\n}\\n\\n.pure-checkbox input[type=checkbox] + label:after {\\n box-sizing: content-box;\\n content: \\\"\\\";\\n background-color: #0079FE;\\n position: absolute;\\n top: 50%;\\n left: 4px;\\n width: 10px;\\n height: 10px;\\n margin-top: -5px;\\n transform: scale(0);\\n transform-origin: 50%;\\n transition: transform 200ms ease-out;\\n}\\n\\n.pure-checkbox input[type=checkbox]:disabled + label:before {\\n border-color: #cccccc;\\n}\\n\\n.pure-checkbox input[type=checkbox]:disabled:focus + label:before .pure-checkbox input[type=checkbox]:disabled:hover + label:before {\\n background-color: inherit;\\n}\\n\\n.pure-checkbox input[type=checkbox]:disabled:checked + label:before {\\n background-color: #cccccc;\\n}\\n\\n.pure-checkbox input[type=checkbox] + label:after {\\n background-color: transparent;\\n top: 50%;\\n left: 4px;\\n width: 8px;\\n height: 3px;\\n margin-top: -4px;\\n border-style: solid;\\n border-color: #ffffff;\\n border-width: 0 0 3px 3px;\\n border-image: none;\\n transform: rotate(-45deg) scale(0);\\n}\\n\\n.pure-checkbox input[type=checkbox]:checked + label:after {\\n content: \\\"\\\";\\n transform: rotate(-45deg) scale(1);\\n transition: transform 200ms ease-out;\\n}\\n\\n.pure-checkbox input[type=radio]:checked + label:before {\\n background-color: white;\\n}\\n\\n.pure-checkbox input[type=radio]:checked + label:after {\\n transform: scale(1);\\n}\\n\\n.pure-checkbox input[type=radio] + label:before {\\n border-radius: 50%;\\n}\\n\\n.pure-checkbox input[type=checkbox]:checked + label:before {\\n background: #0079FE;\\n}\\n\\n.pure-checkbox input[type=checkbox]:checked + label:after {\\n transform: rotate(-45deg) scale(1);\\n}\\n\\n.list-message {\\n text-align: center;\\n}\\n\\n.list-grp {\\n padding: 0 15px !important;\\n}\\n\\n.list-grp h4 {\\n text-transform: capitalize;\\n margin: 15px 0px 0px 0px;\\n font-size: 14px;\\n font-weight: 700;\\n}\\n\\n.list-grp > li {\\n padding-left: 15px !important;\\n}\\n\\n.stackline-dropdown.theme-material,\\n.stackline-dropdown.theme-dark,\\n.stackline-dropdown.theme-custom {\\n --ms-primary: #3f51b5;\\n --ms-primary-soft: rgba(63, 81, 181, 0.12);\\n --ms-surface: #ffffff;\\n --ms-surface-soft: #f5f7fb;\\n --ms-surface-muted: #e8eaf6;\\n --ms-outline: #c5cae9;\\n --ms-outline-strong: #7986cb;\\n --ms-on-surface: #212121;\\n --ms-on-surface-muted: #5f6368;\\n --ms-chip-bg: #e8eaf6;\\n --ms-chip-text: #303f9f;\\n --ms-chip-remove: #303f9f;\\n --ms-divider: rgba(125, 119, 134, 0.16);\\n --ms-section-bg: rgba(247, 242, 250, 0.76);\\n --ms-selected-text: var(--ms-primary);\\n --ms-shadow: 0 1px 2px rgba(33, 33, 33, 0.16), 0 12px 32px rgba(63, 81, 181, 0.12);\\n --ms-shadow-soft: 0 1px 2px rgba(33, 33, 33, 0.12), 0 4px 12px rgba(33, 33, 33, 0.08);\\n display: block;\\n width: 100%;\\n color: var(--ms-on-surface);\\n font: inherit;\\n}\\n\\n.stackline-dropdown.theme-dark {\\n --ms-primary: #8ab4f8;\\n --ms-primary-soft: rgba(138, 180, 248, 0.18);\\n --ms-surface: #151a23;\\n --ms-surface-soft: #202736;\\n --ms-surface-muted: #111722;\\n --ms-outline: #384456;\\n --ms-outline-strong: #8ab4f8;\\n --ms-on-surface: #edf2f7;\\n --ms-on-surface-muted: #aab6c5;\\n --ms-chip-bg: #263247;\\n --ms-chip-text: #d7e6ff;\\n --ms-chip-remove: #d7e6ff;\\n --ms-divider: rgba(170, 182, 197, 0.18);\\n --ms-section-bg: #101620;\\n --ms-selected-text: #d7e6ff;\\n --ms-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);\\n --ms-shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.45), 0 10px 24px rgba(0, 0, 0, 0.28);\\n}\\n\\n.stackline-dropdown.theme-custom {\\n --ms-primary: var(--stackline-ms-primary, #0f766e);\\n --ms-primary-soft: var(--stackline-ms-primary-soft, rgba(15, 118, 110, 0.14));\\n --ms-surface: var(--stackline-ms-surface, #ffffff);\\n --ms-surface-soft: var(--stackline-ms-surface-soft, #ecfdf5);\\n --ms-surface-muted: var(--stackline-ms-surface-muted, #d1fae5);\\n --ms-outline: var(--stackline-ms-outline, #99f6e4);\\n --ms-outline-strong: var(--stackline-ms-outline-strong, #0f766e);\\n --ms-on-surface: var(--stackline-ms-on-surface, #102a2a);\\n --ms-on-surface-muted: var(--stackline-ms-on-surface-muted, #47615f);\\n --ms-chip-bg: var(--stackline-ms-chip-bg, #ccfbf1);\\n --ms-chip-text: var(--stackline-ms-chip-text, #115e59);\\n --ms-chip-remove: var(--stackline-ms-chip-remove, #115e59);\\n --ms-divider: var(--stackline-ms-divider, rgba(15, 118, 110, 0.16));\\n --ms-section-bg: var(--stackline-ms-section-bg, #f0fdfa);\\n --ms-selected-text: var(--stackline-ms-selected-text, var(--ms-primary));\\n --ms-shadow: var(--stackline-ms-shadow, 0 18px 42px rgba(15, 118, 110, 0.15));\\n --ms-shadow-soft: var(--stackline-ms-shadow-soft, 0 1px 2px rgba(15, 118, 110, 0.16), 0 8px 18px rgba(15, 118, 110, 0.09));\\n}\\n\\n.stackline-dropdown.theme-material .selected-list,\\n.stackline-dropdown.theme-dark .selected-list,\\n.stackline-dropdown.theme-custom .selected-list {\\n width: 100%;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .c-btn,\\n.stackline-dropdown.theme-dark .selected-list .c-btn,\\n.stackline-dropdown.theme-custom .selected-list .c-btn {\\n position: relative;\\n display: flex;\\n align-items: center;\\n flex-wrap: nowrap;\\n gap: 8px;\\n width: 100%;\\n min-height: 56px;\\n padding: 11px 54px 11px 16px;\\n border-radius: 18px;\\n border: 1px solid var(--ms-outline);\\n background: var(--ms-surface);\\n box-shadow: var(--ms-shadow-soft);\\n color: var(--ms-on-surface);\\n cursor: pointer;\\n font-size: inherit;\\n line-height: 1.45;\\n transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, transform 0.16s ease;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .c-btn:hover,\\n.stackline-dropdown.theme-dark .selected-list .c-btn:hover,\\n.stackline-dropdown.theme-custom .selected-list .c-btn:hover {\\n border-color: var(--ms-outline-strong);\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .c-btn.disabled,\\n.stackline-dropdown.theme-dark .selected-list .c-btn.disabled,\\n.stackline-dropdown.theme-custom .selected-list .c-btn.disabled {\\n background: var(--ms-surface);\\n cursor: not-allowed;\\n opacity: 0.72;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .c-list,\\n.stackline-dropdown.theme-dark .selected-list .c-list,\\n.stackline-dropdown.theme-custom .selected-list .c-list {\\n display: flex;\\n flex: 1 1 auto;\\n flex-wrap: wrap;\\n gap: 8px;\\n width: auto;\\n min-width: 0;\\n margin: 0;\\n padding: 0;\\n float: none;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .c-list .c-token,\\n.stackline-dropdown.theme-dark .selected-list .c-list .c-token,\\n.stackline-dropdown.theme-custom .selected-list .c-list .c-token {\\n position: relative;\\n display: inline-block;\\n vertical-align: middle;\\n min-height: 32px;\\n max-width: 100%;\\n padding: 6px 30px 6px 12px;\\n background: var(--ms-chip-bg);\\n color: var(--ms-chip-text);\\n border-radius: 999px;\\n box-shadow: inset 0 0 0 1px rgba(103, 80, 164, 0.08);\\n line-height: 1.35;\\n white-space: normal;\\n overflow-wrap: anywhere;\\n margin: 0;\\n float: none;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .c-list .c-token .c-label,\\n.stackline-dropdown.theme-dark .selected-list .c-list .c-token .c-label,\\n.stackline-dropdown.theme-custom .selected-list .c-list .c-token .c-label {\\n display: inline-flex;\\n align-items: center;\\n float: none;\\n min-width: 0;\\n max-width: 100%;\\n line-height: 1.3;\\n font-weight: 500;\\n white-space: normal;\\n overflow-wrap: anywhere;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .c-list .c-token .fa-remove,\\n.stackline-dropdown.theme-dark .selected-list .c-list .c-token .fa-remove,\\n.stackline-dropdown.theme-custom .selected-list .c-list .c-token .fa-remove {\\n position: absolute;\\n right: 10px;\\n top: 50%;\\n display: inline-flex;\\n align-items: center;\\n justify-content: center;\\n width: 16px;\\n height: 16px;\\n margin-left: 0;\\n transform: translateY(-50%);\\n color: var(--ms-chip-remove);\\n cursor: pointer;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .countplaceholder,\\n.stackline-dropdown.theme-dark .selected-list .countplaceholder,\\n.stackline-dropdown.theme-custom .selected-list .countplaceholder {\\n display: inline-flex;\\n flex: 0 0 auto;\\n align-items: center;\\n justify-content: center;\\n align-self: center;\\n margin: 0;\\n line-height: 1;\\n color: var(--ms-on-surface-muted);\\n font-size: 0.8rem;\\n font-weight: 600;\\n}\\n\\n.stackline-dropdown.theme-material .selected-list .fa-angle-down,\\n.stackline-dropdown.theme-dark .selected-list .fa-angle-down,\\n.stackline-dropdown.theme-custom .selected-list .fa-angle-down,\\n.stackline-dropdown.theme-material .selected-list .fa-angle-up,\\n.stackline-dropdown.theme-dark .selected-list .fa-angle-up,\\n.stackline-dropdown.theme-custom .selected-list .fa-angle-up {\\n position: absolute;\\n top: 50%;\\n right: 16px;\\n display: inline-flex;\\n align-items: center;\\n justify-content: center;\\n width: 20px;\\n height: 20px;\\n transform: translateY(-50%);\\n color: var(--ms-on-surface-muted);\\n font-size: 15pt;\\n pointer-events: none;\\n}\\n\\n.stackline-dropdown.theme-material .dropdown-list,\\n.stackline-dropdown.theme-dark .dropdown-list,\\n.stackline-dropdown.theme-custom .dropdown-list {\\n position: absolute;\\n width: 100%;\\n padding-top: 8px;\\n z-index: 99999;\\n}\\n\\n.stackline-dropdown.theme-material .arrow-up,\\n.stackline-dropdown.theme-dark .arrow-up,\\n.stackline-dropdown.theme-custom .arrow-up,\\n.stackline-dropdown.theme-material .arrow-down,\\n.stackline-dropdown.theme-dark .arrow-down,\\n.stackline-dropdown.theme-custom .arrow-down,\\n.stackline-dropdown.theme-material .arrow-2,\\n.stackline-dropdown.theme-dark .arrow-2,\\n.stackline-dropdown.theme-custom .arrow-2 {\\n display: none;\\n}\\n\\n.stackline-dropdown.theme-material .list-area,\\n.stackline-dropdown.theme-dark .list-area,\\n.stackline-dropdown.theme-custom .list-area {\\n overflow: hidden;\\n border-radius: 22px;\\n background: var(--ms-surface);\\n border: 1px solid var(--ms-outline);\\n box-shadow: var(--ms-shadow);\\n margin: 0;\\n}\\n\\n.stackline-dropdown.theme-material .select-all,\\n.stackline-dropdown.theme-dark .select-all,\\n.stackline-dropdown.theme-custom .select-all {\\n padding: 10px 14px;\\n border-bottom: 1px solid var(--ms-divider);\\n background: var(--ms-section-bg);\\n text-align: left;\\n}\\n\\n.stackline-dropdown.theme-material .list-filter,\\n.stackline-dropdown.theme-dark .list-filter,\\n.stackline-dropdown.theme-custom .list-filter {\\n position: relative;\\n display: flex;\\n align-items: center;\\n min-height: 52px;\\n padding-left: 48px;\\n padding-right: 44px;\\n border-bottom: 1px solid var(--ms-divider);\\n background: var(--ms-surface);\\n}\\n\\n.stackline-dropdown.theme-material .list-filter input,\\n.stackline-dropdown.theme-dark .list-filter input,\\n.stackline-dropdown.theme-custom .list-filter input {\\n width: 100%;\\n height: 100%;\\n border: 0;\\n background: transparent;\\n color: var(--ms-on-surface);\\n font: inherit;\\n padding: 0;\\n}\\n\\n.stackline-dropdown.theme-material .list-filter input::placeholder,\\n.stackline-dropdown.theme-dark .list-filter input::placeholder,\\n.stackline-dropdown.theme-custom .list-filter input::placeholder {\\n color: var(--ms-on-surface-muted);\\n}\\n\\n.stackline-dropdown.theme-material .list-filter input:focus,\\n.stackline-dropdown.theme-dark .list-filter input:focus,\\n.stackline-dropdown.theme-custom .list-filter input:focus {\\n outline: none;\\n}\\n\\n.stackline-dropdown.theme-material .list-filter .fa,\\n.stackline-dropdown.theme-dark .list-filter .fa,\\n.stackline-dropdown.theme-custom .list-filter .fa {\\n position: absolute;\\n top: 50%;\\n left: 16px;\\n display: inline-flex;\\n align-items: center;\\n justify-content: center;\\n width: 18px;\\n height: 18px;\\n transform: translateY(-50%);\\n color: var(--ms-on-surface-muted);\\n}\\n\\n.stackline-dropdown.theme-material .dropdown-list ul,\\n.stackline-dropdown.theme-dark .dropdown-list ul,\\n.stackline-dropdown.theme-custom .dropdown-list ul {\\n list-style: none;\\n margin: 0;\\n padding: 8px;\\n overflow: auto;\\n}\\n\\n.stackline-dropdown.theme-material .dropdown-list ul li,\\n.stackline-dropdown.theme-dark .dropdown-list ul li,\\n.stackline-dropdown.theme-custom .dropdown-list ul li {\\n align-items: center;\\n min-height: 0;\\n margin: 4px;\\n padding: 12px 14px;\\n border-radius: 14px;\\n cursor: pointer;\\n text-align: left;\\n line-height: 1.35;\\n transition: background-color 0.16s ease, color 0.16s ease;\\n}\\n\\n.stackline-dropdown.theme-material .dropdown-list ul li:first-child,\\n.stackline-dropdown.theme-dark .dropdown-list ul li:first-child,\\n.stackline-dropdown.theme-custom .dropdown-list ul li:first-child {\\n padding-top: 12px;\\n}\\n\\n.stackline-dropdown.theme-material .dropdown-list ul li:last-child,\\n.stackline-dropdown.theme-dark .dropdown-list ul li:last-child,\\n.stackline-dropdown.theme-custom .dropdown-list ul li:last-child {\\n padding-bottom: 12px;\\n}\\n\\n.stackline-dropdown.theme-material .dropdown-list ul li:hover,\\n.stackline-dropdown.theme-dark .dropdown-list ul li:hover,\\n.stackline-dropdown.theme-custom .dropdown-list ul li:hover {\\n background: var(--ms-surface-soft);\\n}\\n\\n.stackline-dropdown.theme-material .pure-checkbox,\\n.stackline-dropdown.theme-dark .pure-checkbox,\\n.stackline-dropdown.theme-custom .pure-checkbox {\\n position: relative;\\n}\\n\\n.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox] + label,\\n.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox] + label,\\n.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox] + label {\\n position: relative;\\n display: block;\\n width: 100%;\\n margin: 0;\\n padding-left: 32px;\\n color: inherit;\\n cursor: pointer;\\n font-weight: 500;\\n user-select: none;\\n}\\n\\n.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox] + label:before,\\n.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox] + label:before,\\n.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox] + label:before {\\n box-sizing: content-box;\\n content: \\\"\\\";\\n position: absolute;\\n top: 50%;\\n left: 0;\\n width: 16px;\\n height: 16px;\\n margin-top: -10px;\\n border: 2px solid var(--ms-outline-strong);\\n border-radius: 5px;\\n background: var(--ms-surface);\\n transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;\\n}\\n\\n.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox] + label:after,\\n.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox] + label:after,\\n.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox] + label:after {\\n box-sizing: content-box;\\n content: \\\"\\\";\\n position: absolute;\\n top: 50%;\\n left: 5px;\\n width: 8px;\\n height: 3px;\\n margin-top: -4px;\\n border-style: solid;\\n border-color: #ffffff;\\n border-width: 0 0 3px 3px;\\n border-image: none;\\n background: transparent;\\n transform: rotate(-45deg) scale(0);\\n transform-origin: 50%;\\n transition: transform 0.16s ease;\\n}\\n\\n.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:focus + label:before,\\n.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:focus + label:before,\\n.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:focus + label:before,\\n.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:hover + label:before,\\n.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:hover + label:before,\\n.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:hover + label:before {\\n border-color: var(--ms-primary);\\n background: var(--ms-surface-soft);\\n}\\n\\n.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:checked + label:before,\\n.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:checked + label:before,\\n.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:checked + label:before {\\n border-color: var(--ms-primary);\\n background: var(--ms-primary);\\n}\\n\\n.stackline-dropdown.theme-material .pure-checkbox input[type=checkbox]:checked + label:after,\\n.stackline-dropdown.theme-dark .pure-checkbox input[type=checkbox]:checked + label:after,\\n.stackline-dropdown.theme-custom .pure-checkbox input[type=checkbox]:checked + label:after {\\n transform: rotate(-45deg) scale(1);\\n}\\n\\n.stackline-dropdown.theme-material .list-message,\\n.stackline-dropdown.theme-dark .list-message,\\n.stackline-dropdown.theme-custom .list-message {\\n margin: 0;\\n padding: 20px 14px;\\n color: var(--ms-on-surface-muted);\\n text-align: center;\\n}\\n\"],\n providers: [DROPDOWN_CONTROL_VALUE_ACCESSOR, DROPDOWN_CONTROL_VALIDATION]\n})\n\nexport class AngularMultiSelect implements OnInit, ControlValueAccessor, OnChanges, Validator {\n\n @Input()\n data: Array<ListItem>;\n\n @Input()\n settings: DropdownSettings;\n\n @Output('onSelect')\n onSelect: EventEmitter<ListItem> = new EventEmitter<ListItem>();\n\n @Output('onDeSelect')\n onDeSelect: EventEmitter<ListItem> = new EventEmitter<ListItem>();\n\n @Output('onSelectAll')\n onSelectAll: EventEmitter<Array<ListItem>> = new EventEmitter<Array<ListItem>>();\n\n @Output('onDeSelectAll')\n onDeSelectAll: EventEmitter<Array<ListItem>> = new EventEmitter<Array<ListItem>>();\n\n @Output('onOpen')\n onOpen: EventEmitter<any> = new EventEmitter<any>();\n\n @Output('onClose')\n onClose: EventEmitter<any> = new EventEmitter<any>();\n\n @ContentChild(Item, { static: false }) itemTempl: Item;\n @ContentChild(Badge, { static: false }) badgeTempl: Badge;\n\n\n @ViewChild('searchInput', { static: false }) searchInput: ElementRef;\n\n public selectedItems: Array<ListItem>;\n public isActive: boolean = false;\n public isSelectAll: boolean = false;\n public groupedData: Array<ListItem>;\n filter: any;\n public chunkArray:any[];\n public scrollTop:any;\n public chunkIndex:any[] = [];\n public cachedItems:any[] = [];\n public totalRows:any;\n public itemHeight:any = 41.6;\n public screenItemsLen:any;\n public cachedItemsLen:any;\n public totalHeight: any;\n public scroller:any;\n public maxBuffer:any;\n public lastScrolled:any;\n public lastRepaintY: any;\n\n defaultSettings: DropdownSettings = {\n singleSelection: false,\n text: 'Select',\n enableCheckAll: true,\n selectAllText: 'Select All',\n unSelectAllText: 'UnSelect All',\n enableSearchFilter: false,\n maxHeight: 300,\n badgeShowLimit: 999999999999,\n classes: '',\n disabled: false,\n searchPlaceholderText: 'Search',\n showCheckbox: true,\n noDataLabel: 'No Data Available',\n searchAutofocus: true,\n lazyLoading: false,\n labelKey: 'itemName',\n theme: 'classic',\n skin: 'classic'\n }\n public parseError: boolean;\n constructor(public _elementRef : ElementRef) {\n\n }\n getThemeName(): string {\n let rawTheme: any = 'classic';\n if (this.settings) {\n rawTheme = this.settings.skin || this.settings.theme || 'classic';\n }\n let theme = String(rawTheme).toLowerCase().replace(/[^a-z0-9_-]+/g, '-');\n theme = theme.replace(/^-+|-+$/g, '');\n return theme || 'classic';\n }\n getDropdownClasses(): string {\n let theme = this.getThemeName();\n let className = 'theme-' + theme;\n if (theme !== 'classic' && theme !== 'material' && theme !== 'dark' && theme !== 'custom') {\n className += ' theme-custom';\n }\n if (this.isActive) {\n className += ' is-open';\n }\n if (this.settings && this.settings.disabled) {\n className += ' is-disabled';\n }\n return className;\n }\n ngOnInit() {\n this.settings = Object.assign(this.defaultSettings, this.settings);\n if (this.settings.groupBy) {\n this.groupedData = this.transformData(this.data, this.settings.groupBy);\n }\n this.totalRows = (this.data && this.data.length);\n this.cachedItems = this.data;\n this.screenItemsLen = Math.ceil(this.settings.maxHeight / this.itemHeight);\n this.cachedItemsLen = this.screenItemsLen * 3;\n this.totalHeight = this.itemHeight * this.totalRows;\n this.maxBuffer = this.screenItemsLen * this.itemHeight;\n this.lastScrolled = 0;\n this.renderChunk(0, this.cachedItemsLen / 2);\n }\n ngOnChanges(changes: SimpleChanges) {\n if (changes.data && !changes.data.isFirstChange()) {\n if (this.settings.groupBy) {\n this.groupedData = this.transformData(this.data, this.settings.groupBy);\n if (this.data.length == 0) {\n this.selectedItems = [];\n }\n }\n }\n if (changes.settings && !changes.settings.isFirstChange()) {\n this.settings = Object.assign(this.defaultSettings, this.settings);\n }\n }\n ngDoCheck() {\n if (this.selectedItems) {\n if (this.selectedItems.length == 0 || this.data.length == 0 || this.selectedItems.length < this.data.length) {\n this.isSelectAll = false;\n }\n }\n }\n ngAfterViewInit() {\n if(this.settings.lazyLoading){\n this._elementRef.nativeElement.getElementsByClassName(\"lazyContainer\")[0].addEventListener('scroll', this.onScroll.bind(this));\n }\n }\n onItemClick(item: ListItem, index: number, evt: Event) {\n if (this.settings.disabled) {\n return false;\n }\n\n let found = this.isSelected(item);\n let limit = this.selectedItems.length < this.settings.limitSelection ? true : false;\n\n if (!found) {\n if (this.settings.limitSelection) {\n if (limit) {\n this.addSelected(item);\n this.onSelect.emit(item);\n }\n }\n else {\n this.addSelected(item);\n this.onSelect.emit(item);\n }\n\n }\n else {\n this.removeSelected(item);\n this.onDeSelect.emit(item);\n }\n if (this.isSelectAll || this.data.length > this.selectedItems.length) {\n this.isSelectAll = false;\n }\n if (this.data.length == this.selectedItems.length) {\n this.isSelectAll = true;\n }\n }\n public validate(c: FormControl): any {\n return null;\n }\n private onTouchedCallback: (_: any) => void = noop;\n private onChangeCallback: (_: any) => void = noop;\n\n writeValue(value: any) {\n if (value !== undefined && value !== null) {\n if (this.settings.singleSelection) {\n try {\n\n if (value.length > 1) {\n this.selectedItems = [value[0]];\n throw new MyException(404, { \"msg\": \"Single Selection Mode, Selected Items cannot have more than one item.\" });\n }\n else {\n this.selectedItems = value;\n }\n }\n catch (e) {\n console.error(e.body.msg);\n }\n\n }\n else {\n if (this.settings.limitSelection) {\n this.selectedItems = value.splice(0, this.settings.limitSelection);\n }\n else {\n this.selectedItems = value;\n }\n if (this.selectedItems.length === this.data.length && this.data.length > 0) {\n this.isSelectAll = true;\n }\n }\n } else {\n this.selectedItems = [];\n }\n }\n\n //From ControlValueAccessor interface\n registerOnChange(fn: any) {\n this.onChangeCallback = fn;\n }\n\n //From ControlValueAccessor interface\n registerOnTouched(fn: any) {\n this.onTouchedCallback = fn;\n }\n trackByFn(index: number, item: ListItem) {\n return item.id;\n }\n isSelected(clickedItem: ListItem) {\n let found = false;\n this.selectedItems && this.selectedItems.forEach(item => {\n if (clickedItem.id === item.id) {\n found = true;\n }\n });\n return found;\n }\n addSelected(item: ListItem) {\n if (this.settings.singleSelection) {\n this.selectedItems = [];\n this.selectedItems.push(item);\n this.closeDropdown();\n }\n else\n this.selectedItems.push(item);\n this.onChangeCallback(this.selectedItems);\n this.onTouchedCallback(this.selectedItems);\n }\n removeSelected(clickedItem: ListItem) {\n this.selectedItems && this.selectedItems.forEach(item => {\n if (clickedItem.id === item.id) {\n this.selectedItems.splice(this.selectedItems.indexOf(item), 1);\n }\n });\n this.onChangeCallback(this.selectedItems);\n this.onTouchedCallback(this.selectedItems);\n }\n toggleDropdown(evt: any) {\n if (this.settings.disabled) {\n return false;\n }\n this.isActive = !this.isActive;\n if (this.isActive) {\n if (this.settings.searchAutofocus && this.settings.enableSearchFilter) {\n setTimeout(() => {\n this.searchInput.nativeElement.focus();\n }, 0);\n }\n this.onOpen.emit(true);\n }\n else {\n this.onClose.emit(false);\n }\n evt.preventDefault();\n }\n closeDropdown() {\n if(this.searchInput){\n this.searchInput.nativeElement.value = \"\";\n this.data = [];\n this.data = this.cachedItems;\n this.totalHeight = this.itemHeight * this.data.length;\n this.totalRows = this.data.length;\n this.updateView(this.scrollTop);\n }\n this.filter = \"\";\n this.isActive = false;\n this.onClose.emit(false);\n }\n toggleSelectAll() {\n if (!this.isSelectAll) {\n this.selectedItems = [];\n this.selectedItems = this.data.slice();\n this.isSelectAll = true;\n this.onChangeCallback(this.selectedItems);\n this.onTouchedCallback(this.selectedItems);\n\n this.onSelectAll.emit(this.selectedItems);\n }\n else {\n this.selectedItems = [];\n this.isSelectAll = false;\n this.onChangeCallback(this.selectedItems);\n this.onTouchedCallback(this.selectedItems);\n\n this.onDeSelectAll.emit(this.selectedItems);\n }\n }\n transformData(arr: Array<ListItem>, field: any): Array<ListItem> {\n const groupedObj: any = arr.reduce((prev: any, cur: any) => {\n if (!prev[cur[field]]) {\n prev[cur[field]] = [cur];\n } else {\n prev[cur[field]].push(cur);\n }\n return prev;\n }, {});\n const tempArr: any = [];\n Object.keys(groupedObj).map(function (x) {\n tempArr.push({ key: x, value: groupedObj[x] });\n });\n return tempArr;\n }\n renderChunk(fromPos:any, howMany:any) {\n this.chunkArray = [];\n this.chunkIndex = [];\n var finalItem = fromPos + howMany;\n if (finalItem > this.totalRows)\n finalItem = this.totalRows;\n\n for (var i = fromPos; i < finalItem; i++) {\n this.chunkIndex.push((i * this.itemHeight) + 'px');\n this.chunkArray.push(this.data[i]);\n }\n }\n public onScroll(e:any) {\n this.scrollTop = e.target.scrollTop;\n this.updateView(this.scrollTop);\n\n }\n public updateView(scrollTop:any){\n var scrollPos = scrollTop ? scrollTop: 0;\n var first = (scrollPos / this.itemHeight) - this.screenItemsLen;\n var firstTemp = \"\"+first;\n first = parseInt(firstTemp) < 0 ? 0 : parseInt(firstTemp);\n this.renderChunk(first, this.cachedItemsLen);\n this.lastRepaintY = scrollPos;\n }\n public filterInfiniteList(evt: any){\n var filteredElems:Array<any> = [];\n this.data = this.cachedItems.slice();\n if(evt.target.value.toString() != ''){\n this.data.filter(function(el:any){\n for(var prop in el){\n if(el[prop].toString().toLowerCase().indexOf(evt.target.value.toString().toLowerCase()) >=0 ){\n filteredElems.push(el);\n break;\n }\n }\n });\n //this.cachedItems = this.data;\n this.totalHeight = this.itemHeight * filteredElems.length;\n this.totalRows = filteredElems.length;\n this.data = [];\n this.data = filteredElems;\n this.updateView(this.scrollTop);\n }\n else if(evt.target.value.toString() == '' && this.cachedItems.length > 0){\n this.data = [];\n this.data = this.cachedItems;\n this.totalHeight = this.itemHeight * this.data.length;\n this.totalRows = this.data.length;\n this.updateView(this.scrollTop);\n }\n }\n}\n\n@NgModule({\n imports: [CommonModule, FormsModule],\n declarations: [AngularMultiSelect, ClickOutsideDirective, ScrollDirective, styleDirective, ListFilterPipe, Item, TemplateRenderer, Badge],\n exports: [AngularMultiSelect, ClickOutsideDirective, ScrollDirective, styleDirective, ListFilterPipe, Item, TemplateRenderer, Badge]\n})\nexport class AngularMultiSelectModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;MAAa,QAAQ,CAAA;AAEjB,IAAA,EAAE;AACF,IAAA,QAAQ;AACX;MACY,WAAW,CAAA;AACvB,IAAA,MAAM;AACN,IAAA,IAAI;IACJ,WAAA,CAAY,MAAe,EAAE,IAAU,EAAA;AACtC,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM;AACpB,QAAA,IAAI,CAAC,IAAI,GAAG,IAAI;IACjB;AAEA;;MCPY,qBAAqB,CAAA;AACV,IAAA,WAAA;AAApB,IAAA,WAAA,CAAoB,WAAuB,EAAA;QAAvB,IAAA,CAAA,WAAW,GAAX,WAAW;IAC/B;AAGO,IAAA,YAAY,GAAG,IAAI,YAAY,EAAc;IAI7C,OAAO,CAAC,KAAiB,EAAE,aAA0B,EAAA;QACxD,IAAI,CAAC,aAAa,EAAE;YAChB;QACJ;AAEA,Q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AoXG,qBAAqB,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,CAAA,EAAA,CAAA;yGAE1H,wBAAwB,EAAA,OAAA,EAAA,CAJvB,YAAY,EAAE,WAAW,CAAA,EAAA,CAAA;;4FAI1B,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC;AACpC,oBAAA,YAAY,EAAE,CAAC,kBAAkB,EAAE,qBAAqB,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,CAAC;AACzI,oBAAA,OAAO,EAAE,CAAC,kBAAkB,EAAE,qBAAqB,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK;AACtI,iBAAA;;;ACpZD;;AAEG;;;;"}
package/index.d.ts CHANGED
@@ -1,5 +1,167 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@stackline/angular-multiselect-dropdown" />
5
- export * from './public-api';
1
+ import * as i0 from '@angular/core';
2
+ import { TemplateRef, OnInit, OnDestroy, ViewContainerRef, EmbeddedViewRef, ElementRef, EventEmitter, PipeTransform, OnChanges, SimpleChanges } from '@angular/core';
3
+ import * as i5 from '@angular/forms';
4
+ import { ControlValueAccessor, Validator, FormControl } from '@angular/forms';
5
+ import * as i4 from '@angular/common';
6
+
7
+ declare class ListItem {
8
+ [key: string]: any;
9
+ id: number;
10
+ itemName: string;
11
+ }
12
+ declare class MyException {
13
+ status: number;
14
+ body: any;
15
+ constructor(status: number, body: any);
16
+ }
17
+
18
+ interface DropdownSettings {
19
+ singleSelection: boolean;
20
+ text: string;
21
+ enableCheckAll: boolean;
22
+ selectAllText: string;
23
+ unSelectAllText: string;
24
+ enableSearchFilter: boolean;
25
+ maxHeight: number;
26
+ badgeShowLimit: number;
27
+ classes: string;
28
+ limitSelection?: number;
29
+ disabled?: boolean;
30
+ searchPlaceholderText: string;
31
+ groupBy?: string;
32
+ showCheckbox?: boolean;
33
+ noDataLabel: string;
34
+ searchAutofocus?: boolean;
35
+ lazyLoading?: boolean;
36
+ labelKey?: string;
37
+ theme?: string;
38
+ skin?: string;
39
+ }
40
+
41
+ declare class Item {
42
+ template: TemplateRef<any>;
43
+ constructor();
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<Item, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<Item, "c-item", never, {}, {}, ["template"], never, false, never>;
46
+ }
47
+ declare class Badge {
48
+ template: TemplateRef<any>;
49
+ constructor();
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<Badge, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<Badge, "c-badge", never, {}, {}, ["template"], never, false, never>;
52
+ }
53
+ declare class TemplateRenderer implements OnInit, OnDestroy {
54
+ viewContainer: ViewContainerRef;
55
+ data: any;
56
+ item: any;
57
+ view: EmbeddedViewRef<any>;
58
+ constructor(viewContainer: ViewContainerRef);
59
+ ngOnInit(): void;
60
+ ngOnDestroy(): void;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<TemplateRenderer, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<TemplateRenderer, "c-templateRenderer", never, { "data": { "alias": "data"; "required": false; }; "item": { "alias": "item"; "required": false; }; }, {}, never, never, false, never>;
63
+ }
64
+
65
+ declare class ClickOutsideDirective {
66
+ private _elementRef;
67
+ constructor(_elementRef: ElementRef);
68
+ clickOutside: EventEmitter<MouseEvent>;
69
+ onClick(event: MouseEvent, targetElement: HTMLElement): void;
70
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
71
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[clickOutside]", never, {}, { "clickOutside": "clickOutside"; }, never, never, false, never>;
72
+ }
73
+ declare class ScrollDirective {
74
+ private _elementRef;
75
+ constructor(_elementRef: ElementRef);
76
+ scroll: EventEmitter<MouseEvent>;
77
+ onClick(event: MouseEvent, targetElement: HTMLElement): void;
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScrollDirective, never>;
79
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollDirective, "[scroll]", never, {}, { "scroll": "scroll"; }, never, never, false, never>;
80
+ }
81
+ declare class styleDirective {
82
+ private el;
83
+ constructor(el: ElementRef);
84
+ styleVal: number;
85
+ ngOnInit(): void;
86
+ ngOnChanges(): void;
87
+ static ɵfac: i0.ɵɵFactoryDeclaration<styleDirective, never>;
88
+ static ɵdir: i0.ɵɵDirectiveDeclaration<styleDirective, "[styleProp]", never, { "styleVal": { "alias": "styleProp"; "required": false; }; }, {}, never, never, false, never>;
89
+ }
90
+
91
+ declare class ListFilterPipe implements PipeTransform {
92
+ transform(items: ListItem[], filter: any): ListItem[];
93
+ applyFilter(item: any, filter: any): boolean;
94
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListFilterPipe, never>;
95
+ static ɵpipe: i0.ɵɵPipeDeclaration<ListFilterPipe, "listFilter", false>;
96
+ }
97
+
98
+ declare class AngularMultiSelect implements OnInit, ControlValueAccessor, OnChanges, Validator {
99
+ _elementRef: ElementRef;
100
+ data: Array<ListItem>;
101
+ settings: DropdownSettings;
102
+ onSelect: EventEmitter<ListItem>;
103
+ onDeSelect: EventEmitter<ListItem>;
104
+ onSelectAll: EventEmitter<Array<ListItem>>;
105
+ onDeSelectAll: EventEmitter<Array<ListItem>>;
106
+ onOpen: EventEmitter<any>;
107
+ onClose: EventEmitter<any>;
108
+ itemTempl: Item;
109
+ badgeTempl: Badge;
110
+ searchInput: ElementRef;
111
+ selectedItems: Array<ListItem>;
112
+ isActive: boolean;
113
+ isSelectAll: boolean;
114
+ groupedData: Array<ListItem>;
115
+ filter: any;
116
+ chunkArray: any[];
117
+ scrollTop: any;
118
+ chunkIndex: any[];
119
+ cachedItems: any[];
120
+ totalRows: any;
121
+ itemHeight: any;
122
+ screenItemsLen: any;
123
+ cachedItemsLen: any;
124
+ totalHeight: any;
125
+ scroller: any;
126
+ maxBuffer: any;
127
+ lastScrolled: any;
128
+ lastRepaintY: any;
129
+ defaultSettings: DropdownSettings;
130
+ parseError: boolean;
131
+ constructor(_elementRef: ElementRef);
132
+ getThemeName(): string;
133
+ getDropdownClasses(): string;
134
+ ngOnInit(): void;
135
+ ngOnChanges(changes: SimpleChanges): void;
136
+ ngDoCheck(): void;
137
+ ngAfterViewInit(): void;
138
+ onItemClick(item: ListItem, index: number, evt: Event): boolean;
139
+ validate(c: FormControl): any;
140
+ private onTouchedCallback;
141
+ private onChangeCallback;
142
+ writeValue(value: any): void;
143
+ registerOnChange(fn: any): void;
144
+ registerOnTouched(fn: any): void;
145
+ trackByFn(index: number, item: ListItem): number;
146
+ isSelected(clickedItem: ListItem): boolean;
147
+ addSelected(item: ListItem): void;
148
+ removeSelected(clickedItem: ListItem): void;
149
+ toggleDropdown(evt: any): boolean;
150
+ closeDropdown(): void;
151
+ toggleSelectAll(): void;
152
+ transformData(arr: Array<ListItem>, field: any): Array<ListItem>;
153
+ renderChunk(fromPos: any, howMany: any): void;
154
+ onScroll(e: any): void;
155
+ updateView(scrollTop: any): void;
156
+ filterInfiniteList(evt: any): void;
157
+ static ɵfac: i0.ɵɵFactoryDeclaration<AngularMultiSelect, never>;
158
+ static ɵcmp: i0.ɵɵComponentDeclaration<AngularMultiSelect, "angular-multiselect, angular2-multiselect", never, { "data": { "alias": "data"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; }, { "onSelect": "onSelect"; "onDeSelect": "onDeSelect"; "onSelectAll": "onSelectAll"; "onDeSelectAll": "onDeSelectAll"; "onOpen": "onOpen"; "onClose": "onClose"; }, ["itemTempl", "badgeTempl"], never, false, never>;
159
+ }
160
+ declare class AngularMultiSelectModule {
161
+ static ɵfac: i0.ɵɵFactoryDeclaration<AngularMultiSelectModule, never>;
162
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AngularMultiSelectModule, [typeof AngularMultiSelect, typeof ClickOutsideDirective, typeof ScrollDirective, typeof styleDirective, typeof ListFilterPipe, typeof Item, typeof TemplateRenderer, typeof Badge], [typeof i4.CommonModule, typeof i5.FormsModule], [typeof AngularMultiSelect, typeof ClickOutsideDirective, typeof ScrollDirective, typeof styleDirective, typeof ListFilterPipe, typeof Item, typeof TemplateRenderer, typeof Badge]>;
163
+ static ɵinj: i0.ɵɵInjectorDeclaration<AngularMultiSelectModule>;
164
+ }
165
+
166
+ export { AngularMultiSelect, AngularMultiSelectModule, Badge, ClickOutsideDirective, Item, ListFilterPipe, ListItem, MyException, ScrollDirective, TemplateRenderer, styleDirective };
167
+ export type { DropdownSettings };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stackline/angular-multiselect-dropdown",
3
- "version": "19.0.0",
4
- "description": "Angular 19 compatible multiselect dropdown package for the Stackline Angular 19 release line.",
3
+ "version": "20.0.0",
4
+ "description": "Angular 20 compatible multiselect dropdown package for the Stackline Angular 20 release line.",
5
5
  "license": "MIT",
6
6
  "author": "Pradeep Terli",
7
7
  "repository": {
@@ -11,17 +11,17 @@
11
11
  "bugs": {
12
12
  "url": "https://github.com/alexandroit/angular-multiselect-dropdown/issues"
13
13
  },
14
- "homepage": "https://alexandro.net/docs/angular/multiselect/angular-19/",
14
+ "homepage": "https://alexandro.net/docs/angular/multiselect/angular-20/",
15
15
  "keywords": [
16
16
  "angular 2 multiselect dropdown",
17
- "angular 19 multiselect dropdown",
17
+ "angular 20 multiselect dropdown",
18
18
  "angular multiselect",
19
19
  "angular dropdown"
20
20
  ],
21
21
  "peerDependencies": {
22
- "@angular/common": ">=19.0.0 <20.0.0",
23
- "@angular/core": ">=19.0.0 <20.0.0",
24
- "@angular/forms": ">=19.0.0 <20.0.0"
22
+ "@angular/common": ">=20.0.0 <21.0.0",
23
+ "@angular/core": ">=20.0.0 <21.0.0",
24
+ "@angular/forms": ">=20.0.0 <21.0.0"
25
25
  },
26
26
  "dependencies": {
27
27
  "font-awesome": "*",
@@ -1,27 +0,0 @@
1
- import { ElementRef, EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ClickOutsideDirective {
4
- private _elementRef;
5
- constructor(_elementRef: ElementRef);
6
- clickOutside: EventEmitter<MouseEvent>;
7
- onClick(event: MouseEvent, targetElement: HTMLElement): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[clickOutside]", never, {}, { "clickOutside": "clickOutside"; }, never, never, false, never>;
10
- }
11
- export declare class ScrollDirective {
12
- private _elementRef;
13
- constructor(_elementRef: ElementRef);
14
- scroll: EventEmitter<MouseEvent>;
15
- onClick(event: MouseEvent, targetElement: HTMLElement): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<ScrollDirective, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollDirective, "[scroll]", never, {}, { "scroll": "scroll"; }, never, never, false, never>;
18
- }
19
- export declare class styleDirective {
20
- private el;
21
- constructor(el: ElementRef);
22
- styleVal: number;
23
- ngOnInit(): void;
24
- ngOnChanges(): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<styleDirective, never>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<styleDirective, "[styleProp]", never, { "styleVal": { "alias": "styleProp"; "required": false; }; }, {}, never, never, false, never>;
27
- }
@@ -1,9 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { ListItem } from './multiselect.model';
3
- import * as i0 from "@angular/core";
4
- export declare class ListFilterPipe implements PipeTransform {
5
- transform(items: ListItem[], filter: any): ListItem[];
6
- applyFilter(item: any, filter: any): boolean;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<ListFilterPipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<ListFilterPipe, "listFilter", false>;
9
- }
@@ -1,25 +0,0 @@
1
- import { OnInit, OnDestroy, TemplateRef, EmbeddedViewRef, ViewContainerRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class Item {
4
- template: TemplateRef<any>;
5
- constructor();
6
- static ɵfac: i0.ɵɵFactoryDeclaration<Item, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<Item, "c-item", never, {}, {}, ["template"], never, false, never>;
8
- }
9
- export declare class Badge {
10
- template: TemplateRef<any>;
11
- constructor();
12
- static ɵfac: i0.ɵɵFactoryDeclaration<Badge, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<Badge, "c-badge", never, {}, {}, ["template"], never, false, never>;
14
- }
15
- export declare class TemplateRenderer implements OnInit, OnDestroy {
16
- viewContainer: ViewContainerRef;
17
- data: any;
18
- item: any;
19
- view: EmbeddedViewRef<any>;
20
- constructor(viewContainer: ViewContainerRef);
21
- ngOnInit(): void;
22
- ngOnDestroy(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<TemplateRenderer, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<TemplateRenderer, "c-templateRenderer", never, { "data": { "alias": "data"; "required": false; }; "item": { "alias": "item"; "required": false; }; }, {}, never, never, false, never>;
25
- }
@@ -1,80 +0,0 @@
1
- import { OnInit, SimpleChanges, OnChanges, EventEmitter, ElementRef } from '@angular/core';
2
- import { ControlValueAccessor, Validator, FormControl } from '@angular/forms';
3
- import { ListItem } from './multiselect.model';
4
- import { DropdownSettings } from './multiselect.interface';
5
- import { Item, Badge } from './menu-item';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "./clickOutside";
8
- import * as i2 from "./list-filter";
9
- import * as i3 from "./menu-item";
10
- import * as i4 from "@angular/common";
11
- import * as i5 from "@angular/forms";
12
- export declare const DROPDOWN_CONTROL_VALUE_ACCESSOR: any;
13
- export declare const DROPDOWN_CONTROL_VALIDATION: any;
14
- export declare class AngularMultiSelect implements OnInit, ControlValueAccessor, OnChanges, Validator {
15
- _elementRef: ElementRef;
16
- data: Array<ListItem>;
17
- settings: DropdownSettings;
18
- onSelect: EventEmitter<ListItem>;
19
- onDeSelect: EventEmitter<ListItem>;
20
- onSelectAll: EventEmitter<Array<ListItem>>;
21
- onDeSelectAll: EventEmitter<Array<ListItem>>;
22
- onOpen: EventEmitter<any>;
23
- onClose: EventEmitter<any>;
24
- itemTempl: Item;
25
- badgeTempl: Badge;
26
- searchInput: ElementRef;
27
- selectedItems: Array<ListItem>;
28
- isActive: boolean;
29
- isSelectAll: boolean;
30
- groupedData: Array<ListItem>;
31
- filter: any;
32
- chunkArray: any[];
33
- scrollTop: any;
34
- chunkIndex: any[];
35
- cachedItems: any[];
36
- totalRows: any;
37
- itemHeight: any;
38
- screenItemsLen: any;
39
- cachedItemsLen: any;
40
- totalHeight: any;
41
- scroller: any;
42
- maxBuffer: any;
43
- lastScrolled: any;
44
- lastRepaintY: any;
45
- defaultSettings: DropdownSettings;
46
- parseError: boolean;
47
- constructor(_elementRef: ElementRef);
48
- getThemeName(): string;
49
- getDropdownClasses(): string;
50
- ngOnInit(): void;
51
- ngOnChanges(changes: SimpleChanges): void;
52
- ngDoCheck(): void;
53
- ngAfterViewInit(): void;
54
- onItemClick(item: ListItem, index: number, evt: Event): boolean;
55
- validate(c: FormControl): any;
56
- private onTouchedCallback;
57
- private onChangeCallback;
58
- writeValue(value: any): void;
59
- registerOnChange(fn: any): void;
60
- registerOnTouched(fn: any): void;
61
- trackByFn(index: number, item: ListItem): number;
62
- isSelected(clickedItem: ListItem): boolean;
63
- addSelected(item: ListItem): void;
64
- removeSelected(clickedItem: ListItem): void;
65
- toggleDropdown(evt: any): boolean;
66
- closeDropdown(): void;
67
- toggleSelectAll(): void;
68
- transformData(arr: Array<ListItem>, field: any): Array<ListItem>;
69
- renderChunk(fromPos: any, howMany: any): void;
70
- onScroll(e: any): void;
71
- updateView(scrollTop: any): void;
72
- filterInfiniteList(evt: any): void;
73
- static ɵfac: i0.ɵɵFactoryDeclaration<AngularMultiSelect, never>;
74
- static ɵcmp: i0.ɵɵComponentDeclaration<AngularMultiSelect, "angular-multiselect, angular2-multiselect", never, { "data": { "alias": "data"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; }, { "onSelect": "onSelect"; "onDeSelect": "onDeSelect"; "onSelectAll": "onSelectAll"; "onDeSelectAll": "onDeSelectAll"; "onOpen": "onOpen"; "onClose": "onClose"; }, ["itemTempl", "badgeTempl"], never, false, never>;
75
- }
76
- export declare class AngularMultiSelectModule {
77
- static ɵfac: i0.ɵɵFactoryDeclaration<AngularMultiSelectModule, never>;
78
- static ɵmod: i0.ɵɵNgModuleDeclaration<AngularMultiSelectModule, [typeof AngularMultiSelect, typeof i1.ClickOutsideDirective, typeof i1.ScrollDirective, typeof i1.styleDirective, typeof i2.ListFilterPipe, typeof i3.Item, typeof i3.TemplateRenderer, typeof i3.Badge], [typeof i4.CommonModule, typeof i5.FormsModule], [typeof AngularMultiSelect, typeof i1.ClickOutsideDirective, typeof i1.ScrollDirective, typeof i1.styleDirective, typeof i2.ListFilterPipe, typeof i3.Item, typeof i3.TemplateRenderer, typeof i3.Badge]>;
79
- static ɵinj: i0.ɵɵInjectorDeclaration<AngularMultiSelectModule>;
80
- }
@@ -1,22 +0,0 @@
1
- export interface DropdownSettings {
2
- singleSelection: boolean;
3
- text: string;
4
- enableCheckAll: boolean;
5
- selectAllText: string;
6
- unSelectAllText: string;
7
- enableSearchFilter: boolean;
8
- maxHeight: number;
9
- badgeShowLimit: number;
10
- classes: string;
11
- limitSelection?: number;
12
- disabled?: boolean;
13
- searchPlaceholderText: string;
14
- groupBy?: string;
15
- showCheckbox?: boolean;
16
- noDataLabel: string;
17
- searchAutofocus?: boolean;
18
- lazyLoading?: boolean;
19
- labelKey?: string;
20
- theme?: string;
21
- skin?: string;
22
- }
@@ -1,10 +0,0 @@
1
- export declare class ListItem {
2
- [key: string]: any;
3
- id: number;
4
- itemName: string;
5
- }
6
- export declare class MyException {
7
- status: number;
8
- body: any;
9
- constructor(status: number, body: any);
10
- }
package/public-api.d.ts DELETED
@@ -1,6 +0,0 @@
1
- export { AngularMultiSelect, AngularMultiSelectModule } from './lib/multiselect.component';
2
- export { ClickOutsideDirective, ScrollDirective, styleDirective } from './lib/clickOutside';
3
- export { ListFilterPipe } from './lib/list-filter';
4
- export { Item, Badge, TemplateRenderer } from './lib/menu-item';
5
- export { DropdownSettings } from './lib/multiselect.interface';
6
- export { ListItem, MyException } from './lib/multiselect.model';