ng-jvx-multiselect 1.2.8 → 1.3.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.
Files changed (39) hide show
  1. package/README.md +1 -0
  2. package/esm2020/lib/directives/ng-jvx-disabled-option.directive.mjs +3 -3
  3. package/esm2020/lib/directives/ng-jvx-focus.directive.mjs +3 -3
  4. package/esm2020/lib/directives/ng-jvx-group-header.directive.mjs +3 -3
  5. package/esm2020/lib/directives/ng-jvx-options-template.directive.mjs +3 -3
  6. package/esm2020/lib/directives/ng-jvx-selection-template.directive.mjs +3 -3
  7. package/esm2020/lib/ng-jvx-multiselect.component.mjs +28 -21
  8. package/esm2020/lib/ng-jvx-multiselect.module.mjs +11 -14
  9. package/esm2020/lib/ng-jvx-multiselect.service.mjs +3 -3
  10. package/esm2020/lib/ng-jvx-option/ng-jvx-option.component.mjs +5 -5
  11. package/fesm2015/ng-jvx-multiselect.mjs +78 -112
  12. package/fesm2015/ng-jvx-multiselect.mjs.map +1 -1
  13. package/fesm2020/ng-jvx-multiselect.mjs +78 -110
  14. package/fesm2020/ng-jvx-multiselect.mjs.map +1 -1
  15. package/lib/directives/ng-jvx-disabled-option.directive.d.ts +1 -1
  16. package/lib/directives/ng-jvx-disabled-option.directive.d.ts.map +1 -0
  17. package/lib/directives/ng-jvx-focus.directive.d.ts +1 -1
  18. package/lib/directives/ng-jvx-focus.directive.d.ts.map +1 -0
  19. package/lib/directives/ng-jvx-group-header.directive.d.ts +1 -1
  20. package/lib/directives/ng-jvx-group-header.directive.d.ts.map +1 -0
  21. package/lib/directives/ng-jvx-options-template.directive.d.ts +1 -1
  22. package/lib/directives/ng-jvx-options-template.directive.d.ts.map +1 -0
  23. package/lib/directives/ng-jvx-selection-template.directive.d.ts +1 -1
  24. package/lib/directives/ng-jvx-selection-template.directive.d.ts.map +1 -0
  25. package/lib/interfaces/ng-jvx-group-mapper.d.ts.map +1 -0
  26. package/lib/interfaces/ng-jvx-option-mapper.d.ts.map +1 -0
  27. package/lib/interfaces/ng-jvx-search-mapper.d.ts.map +1 -0
  28. package/lib/ng-jvx-multiselect.component.d.ts +5 -4
  29. package/lib/ng-jvx-multiselect.component.d.ts.map +1 -0
  30. package/lib/ng-jvx-multiselect.module.d.ts +16 -17
  31. package/lib/ng-jvx-multiselect.module.d.ts.map +1 -0
  32. package/lib/ng-jvx-multiselect.service.d.ts.map +1 -0
  33. package/lib/ng-jvx-option/ng-jvx-option.component.d.ts +2 -2
  34. package/lib/ng-jvx-option/ng-jvx-option.component.d.ts.map +1 -0
  35. package/lib/utils.d.ts.map +1 -0
  36. package/ng-jvx-multiselect.d.ts.map +1 -0
  37. package/package.json +8 -8
  38. package/public-api.d.ts.map +1 -0
  39. package/src/lib/ng-jvx-multiselect.component.scss +22 -2
@@ -1,5 +1,5 @@
1
1
  import { DoCheck, OnInit } from '@angular/core';
2
- import { MatListOption } from '@angular/material/list';
2
+ import { MatLegacyListOption as MatListOption } from '@angular/material/legacy-list';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class NgJvxOptionComponent implements OnInit, DoCheck {
5
5
  listOption: MatListOption;
@@ -10,5 +10,5 @@ export declare class NgJvxOptionComponent implements OnInit, DoCheck {
10
10
  ngDoCheck(): void;
11
11
  deselect(): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<NgJvxOptionComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<NgJvxOptionComponent, "ng-jvx-option", never, { "value": "value"; }, {}, never, ["*"], false>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgJvxOptionComponent, "ng-jvx-option", never, { "value": "value"; }, {}, never, ["*"], false, never>;
14
14
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-jvx-option.component.d.ts","sourceRoot":"","sources":["../../../../projects/ng-jvx-multiselect/src/lib/ng-jvx-option/ng-jvx-option.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,OAAO,EAAqB,MAAM,EAAY,MAAM,eAAe,CAAC;AACvH,OAAO,EAAC,mBAAmB,IAAI,aAAa,EAAC,MAAM,+BAA+B,CAAC;;AAEnF,qBAMa,oBAAqB,YAAW,MAAM,EAAE,OAAO;IACjB,UAAU,EAAE,aAAa,CAAC;IAC1D,KAAK,EAAE,GAAG,CAAC;IACb,UAAU,UAAS;;IAK1B,QAAQ,IAAI,IAAI;IAIhB,SAAS,IAAI,IAAI;IAMjB,QAAQ,IAAI,IAAI;yCAlBL,oBAAoB;2CAApB,oBAAoB;CAqBhC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../projects/ng-jvx-multiselect/src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAEnE,eAAO,MAAM,cAAc,2BAA6C,CAAC;AACzE,eAAO,MAAM,UAAU,QAAO,GAAkD,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-jvx-multiselect.d.ts","sourceRoot":"","sources":["../../projects/ng-jvx-multiselect/src/ng-jvx-multiselect.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-jvx-multiselect",
3
- "version": "1.2.8",
3
+ "version": "1.3.0",
4
4
  "description": "ng-jvx-multiselect is a select based on angular material. It handles both single and multiple selections and allows to retrieves the options via asynchronous calls.",
5
5
  "exports": {
6
6
  ".": {
@@ -17,14 +17,11 @@
17
17
  }
18
18
  },
19
19
  "peerDependencies": {
20
- "@angular/common": "^14.0.2",
21
- "@angular/core": "^14.0.2",
22
- "@angular/material": "^14.0.2",
20
+ "@angular/common": "15.0.4",
21
+ "@angular/core": "15.0.4",
22
+ "@angular/material": "^15.0.3",
23
23
  "ngx-scrollbar": "^10.0.0"
24
24
  },
25
- "dependencies": {
26
- "tslib": "^2.0.0"
27
- },
28
25
  "umdModuleIds": {
29
26
  "ngx-scrollbar": "ngx-scrollbar"
30
27
  },
@@ -44,5 +41,8 @@
44
41
  "fesm2020": "fesm2020/ng-jvx-multiselect.mjs",
45
42
  "fesm2015": "fesm2015/ng-jvx-multiselect.mjs",
46
43
  "typings": "index.d.ts",
47
- "sideEffects": false
44
+ "sideEffects": false,
45
+ "dependencies": {
46
+ "tslib": "^2.3.0"
47
+ }
48
48
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../projects/ng-jvx-multiselect/src/public-api.ts"],"names":[],"mappings":"AAIA,cAAc,6CAA6C,CAAC;AAC5D,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,mDAAmD,CAAC;AAClE,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,sCAAsC,CAAC;AACrD,cAAc,aAAa,CAAC"}
@@ -177,11 +177,31 @@
177
177
  .mat-menu-panel.jvx-multiselect-panel {
178
178
  min-width: 100%;
179
179
  max-width: 100%;
180
-
180
+ position: relative;
181
+ overflow: visible;
182
+ .closeMenuButton {
183
+ height: 22px;
184
+ width: 22px;
185
+ background-color: #{$primary};
186
+ position: absolute;
187
+ top: -11px;
188
+ right: 11px;
189
+ border-radius: 100%;
190
+ cursor: pointer;
191
+ color: #fff;
192
+ z-index: 10;
193
+ mat-icon{
194
+ font-size: 15px;
195
+ height: 100%;
196
+ width: 100%;
197
+ display: flex;
198
+ align-items: center;
199
+ justify-content: center;
200
+ }
201
+ }
181
202
  .mat-menu-content {
182
203
  padding-top: 0 !important;
183
204
  padding-bottom: 0 !important;
184
-
185
205
  .menu-list-container {
186
206
  ng-scrollbar {
187
207
  --scrollbar-color: transparent;