ng-select2-component 15.0.1 → 15.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog of ng-select2
2
2
 
3
+ ## V15.2.0 (2024-08-03)
4
+
5
+ ### Changes
6
+
7
+ - Add templates for selection (see readme or code generator) #74
8
+
9
+ ## V15.1.0 (2024-08-02)
10
+
11
+ ### Changes
12
+
13
+ - Add grid layout mode in dropdown #72
14
+ - Fix init value in multiple mode #73
15
+ - Fix reset value
16
+
3
17
  ## V15.0.1 (2024-07-24)
4
18
 
5
19
  ### Changes
@@ -332,7 +346,7 @@
332
346
 
333
347
  ### Changes
334
348
 
335
- - add `limitSelection` attribute to limit multiple selection. (By defaut `0` for no limit)
349
+ - add `limitSelection` attribute to limit multiple selection. (By default `0` for no limit)
336
350
 
337
351
  ## V7.1.3 (2020-05-07)
338
352
 
@@ -399,8 +413,8 @@
399
413
 
400
414
  - with label and required is true, add a red `*` after the label
401
415
  - add new @input parameters :
402
- - `hideSelectedItems` : for `multiple`, remove selected values (by defaut : `false`)
403
- - `resultMaxHeight` : change the height size of results (by defaut : `200px`);
416
+ - `hideSelectedItems` : for `multiple`, remove selected values (by default : `false`)
417
+ - `resultMaxHeight` : change the height size of results (by default : `200px`);
404
418
 
405
419
  ### Corrections
406
420
 
package/README.md CHANGED
@@ -39,7 +39,7 @@ npm i ng-select2-component --save
39
39
  ## Features
40
40
 
41
41
  - select one
42
- - options or groups
42
+ - options or groups (list or grid)
43
43
  - scroll
44
44
  - local search
45
45
  - select by keyboard
@@ -74,44 +74,46 @@ class MainModule {}
74
74
 
75
75
  ### properties and events of the component
76
76
 
77
- | name | type | status | default | description | required |
78
- | ------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -------- | -------------------- | -------------------------------------------------------------------------------------- | ------------------------------------ |
79
- | `data` | [`Select2Data`](#select2-data-structure) | required | | the data of the select2 | |
80
- | `value` | [`Select2Value`](#select2-data-structure) | | | initial value | |
81
- | `minCharForSearch` | `number` | | `0` | start the search when the number of characters is reached (`0` = unlimited) | |
82
- | `minCountForSearch` | `number` | | `6` | hide search box if `options.length < minCountForSearch` | |
83
- | `displaySearchStatus` | `'default'`<br>`'hidden'`<br>`'always'` | | `'default'` | display the search box (`default` : is based on `minCountForSearch`) | |
84
- | `placeholder` | `string` | | | the placeholder string if nothing selected | |
85
- | `noResultMessage` | `string` | | | the message string if no results when using the search field | |
86
- | `customSearchEnabled` | `boolean` | | `false` | will trigger `search` event, and disable inside filter | |
87
- | `multiple` | `boolean` | | `false` | select multiple options | |
88
- | `resettable` | `boolean` | | `false` | add a button to reset value | not `multiple` |
89
- | `resetSelectedValue` | `any` | | `undefined` | selected option when × is clicked | not `multiple` and with `resettable` |
90
- | `autoCreate` | `boolean` | | `false` | gives the possibility to add elements not present in the list. | |
91
- | `limitSelection` | `number` | | `0` | to limit multiple selection (`0` = unlimited) | |
92
- | `hideSelectedItems` | `boolean` | | `false` | remove selected values | with `multiple` |
93
- | `resultMaxHeight` | `string` | | `'200px'` | change the height size of results | |
94
- | `maxResults` | `number` | | `0` | maximum results limit (`0` = unlimited) | |
95
- | `maxResultsMessage` | `string` | | `'Too much result…'` | message when maximum result | |
96
- | `listPosition` | `'below'`<br>`'above'`<br>`'auto'` ¹ | | `'below'` | the position for the dropdown list | ¹ `'auto'`: only with `overlay` |
97
- | `infiniteScroll` | `boolean` | | `false` | active infiniteScroll on dropdown list | with `ngx-infinite-scroll` |
98
- | `infiniteScrollDistance` | `number` | | `1.5` | infiniteScroll distance | with `ngx-infinite-scroll` |
99
- | `infiniteScrollThrottle` | `number` | | `150` | infiniteScroll throttle | |
100
- | `overlay` | `boolean` | | `false` | active an overlay mode for dropdown list (with angular cdk). (See [Overlay](#overlay)) | |
101
- | `styleMode` | `'default'`<br>`'material'`<br>`'noStyle'`<br>`'borderless'` | | `'default'` | change style for material style or remove border and background color | |
102
- | `templates` | `TemplateRef`<br>`{option?: TemplateRef, group?: TemplateRef}`<br>`{templateId1: TemplateRef, ...}` | | | use templates for formatting content (see [Templating](#templating)) | |
103
- | `noLabelTemplate` | `boolean` | | `false` | do not use the template in the selection, stay in text mode | |
104
- | `editPattern` | `(str: string) => string` | | | use it for change the pattern of the filter search | |
105
- | `ngModel`<br>`id`<br>`required`<br>`disabled`<br>`readonly`<br>`tabIndex` | | | | just like a `select` control | |
106
- | `(update)` | `(event: `[`Select2UpdateEvent`](#select2-data-structure)`) => void` | event | | triggered when user select an option | |
107
- | `(open)` | `(event: Select2) => void` | event | | triggered when user open the options | |
108
- | `(close)` | `(event: Select2) => void` | event | | triggered when user close the options | |
109
- | `(focus)` | `(event: Select2) => void` | event | | triggered when user enters the component | |
110
- | `(blur)` | `(event: Select2) => void` | event | | triggered when user leaves the component | |
111
- | `(search)` | `(event: `[`Select2SearchEvent`](#select2-data-structure)`) => void` | event | | triggered when search text changed | with `customSearchEnabled` |
112
- | `(scroll)` | `(event: `[`Select2ScrollEvent`](#select2-data-structure)`) => void` | event | | triggered when infiniteScroll is on `up` or `down` position | with `ngx-infinite-scroll` |
113
- | `(removeOption)` | `(event: `[`Select2RemoveEvent`](#select2-data-structure)`) => void` | event | | triggered when an option is removed from the list of selected options options list | with `multiple` |
114
- | `(autoCreateItem)` | `(event: `[`Select2AutoCreateEvent`](#select2-data-structure)`) => void` | event | | triggered when a new item has been added | with `autoCreate` |
77
+ | name | type | status | default | description | required |
78
+ | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | -------- | -------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------ |
79
+ | `data` | [`Select2Data`](#select2-data-structure) | required | | the data of the select2 | |
80
+ | `value` | [`Select2Value`](#select2-data-structure) | | | initial value | |
81
+ | `minCharForSearch` | `number` | | `0` | start the search when the number of characters is reached (`0` = unlimited) | |
82
+ | `minCountForSearch` | `number` | | `6` | hide search box if `options.length < minCountForSearch` | |
83
+ | `displaySearchStatus` | `'default'`<br>`'hidden'`<br>`'always'` | | `'default'` | display the search box (`default` : is based on `minCountForSearch`) | |
84
+ | `placeholder` | `string` | | | the placeholder string if nothing selected | |
85
+ | `noResultMessage` | `string` | | | the message string if no results when using the search field | |
86
+ | `customSearchEnabled` | `boolean` | | `false` | will trigger `search` event, and disable inside filter | |
87
+ | `multiple` | `boolean` | | `false` | select multiple options | |
88
+ | `resettable` | `boolean` | | `false` | add a button to reset value | not `multiple` |
89
+ | `resetSelectedValue` | `any` | | `undefined` | selected option when × is clicked | not `multiple` and with `resettable` |
90
+ | `autoCreate` | `boolean` | | `false` | gives the possibility to add elements not present in the list. | |
91
+ | `limitSelection` | `number` | | `0` | to limit multiple selection (`0` = unlimited) | |
92
+ | `hideSelectedItems` | `boolean` | | `false` | remove selected values | with `multiple` |
93
+ | `resultMaxHeight` | `string` | | `'200px'` | change the height size of results | |
94
+ | `maxResults` | `number` | | `0` | maximum results limit (`0` = unlimited) | |
95
+ | `maxResultsMessage` | `string` | | `'Too much result…'` | message when maximum result | |
96
+ | `grid` | `number` or `string` | | | option by line in grid layout (empty or `0` = no grid layout)<br>number: item by line<br>string: minimal item width | |
97
+ | `listPosition` | `'below'`<br>`'above'`<br>`'auto'` ¹ | | `'below'` | the position for the dropdown list | ¹ `'auto'`: only with `overlay` |
98
+ | `infiniteScroll` | `boolean` | | `false` | active infiniteScroll on dropdown list | with `ngx-infinite-scroll` |
99
+ | `infiniteScrollDistance` | `number` | | `1.5` | infiniteScroll distance | with `ngx-infinite-scroll` |
100
+ | `infiniteScrollThrottle` | `number` | | `150` | infiniteScroll throttle | |
101
+ | `overlay` | `boolean` | | `false` | active an overlay mode for dropdown list (with angular cdk). (See [Overlay](#overlay)) | |
102
+ | `styleMode` | `'default'`<br>`'material'`<br>`'noStyle'`<br>`'borderless'` | | `'default'` | change style for material style or remove border and background color | |
103
+ | `templates` | `TemplateRef`<br>`{option?: TemplateRef, group?: TemplateRef}`<br>etc.<br>(see ”possible object” in [Templating](#templating)) | | | use templates for formatting content (see [Templating](#templating)) | |
104
+ | `templateSelection` | `TemplateRef` | | | use templates for formatting content (see [Templating](#templating)) | |
105
+ | `noLabelTemplate` | `boolean` | | `false` | do not use the template in the selection, stay in text mode | |
106
+ | `editPattern` | `(str: string) => string` | | | use it for change the pattern of the filter search | |
107
+ | `ngModel`<br>`id`<br>`required`<br>`disabled`<br>`readonly`<br>`tabIndex` | | | | just like a `select` control | |
108
+ | `(update)` | `(event: `[`Select2UpdateEvent`](#select2-data-structure)`) => void` | event | | triggered when user select an option | |
109
+ | `(open)` | `(event: Select2) => void` | event | | triggered when user open the options | |
110
+ | `(close)` | `(event: Select2) => void` | event | | triggered when user close the options | |
111
+ | `(focus)` | `(event: Select2) => void` | event | | triggered when user enters the component | |
112
+ | `(blur)` | `(event: Select2) => void` | event | | triggered when user leaves the component | |
113
+ | `(search)` | `(event: `[`Select2SearchEvent`](#select2-data-structure)`) => void` | event | | triggered when search text changed | with `customSearchEnabled` |
114
+ | `(scroll)` | `(event: `[`Select2ScrollEvent`](#select2-data-structure)`) => void` | event | | triggered when infiniteScroll is on `up` or `down` position | with `ngx-infinite-scroll` |
115
+ | `(removeOption)` | `(event: `[`Select2RemoveEvent`](#select2-data-structure)`) => void` | event | | triggered when an option is removed from the list of selected options options list | with `multiple` |
116
+ | `(autoCreateItem)` | `(event: `[`Select2AutoCreateEvent`](#select2-data-structure)`) => void` | event | | triggered when a new item has been added | with `autoCreate` |
115
117
 
116
118
  ### select2 data structure
117
119
 
@@ -269,6 +271,40 @@ const data: Select2Data = [
269
271
  ];
270
272
  ```
271
273
 
274
+ #### Possible object
275
+
276
+ - `TemplateRef`
277
+ - `{template: TemplateRef}`
278
+ - `{option?: TemplateRef, group?: TemplateRef}`
279
+ - `{templateId1: TemplateRef, ...}`
280
+
281
+ In addition to the rendering templates of options and groups, in addition to going through the `templateSelection` attribute, it is possible to define that of the selection :
282
+
283
+ - `{templateSelection: TemplateRef}`
284
+ - `{optionSelection: TemplateRef}`
285
+
286
+ #### Priority order
287
+
288
+ For group or option:
289
+
290
+ - `'id'` (from item data `templateId`)
291
+ - `'group'` or `'option'`
292
+ - `'template'`
293
+ - `TemplateRef` (from html attribute `templates`)
294
+ - Default render
295
+
296
+ For the selection:
297
+
298
+ - `'id'` (from item data `templateSelectionId`)
299
+ - `'optionSelection'`
300
+ - `'templateSelection'`
301
+ - `TemplateRef` (from html attribute `templateSelection`)
302
+ - `'id'` (from item data `templateId`)
303
+ - `'option'`
304
+ - `'template'`
305
+ - `TemplateRef` (from html attribute `templates`)
306
+ - Default render
307
+
272
308
  ### Overlay
273
309
 
274
310
  If the overlay mode is used / activated, add to the project root in CSS (with `ViewEncapsulation.None`)
@@ -1,10 +1,10 @@
1
1
  import { Directive } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export class Select2Hint {
4
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: Select2Hint, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: Select2Hint, selector: "select2-hint", ngImport: i0 }); }
4
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: Select2Hint, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: Select2Hint, selector: "select2-hint", ngImport: i0 }); }
6
6
  }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: Select2Hint, decorators: [{
7
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: Select2Hint, decorators: [{
8
8
  type: Directive,
9
9
  args: [{ selector: 'select2-hint' }]
10
10
  }] });
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0Mi1pbnRlcmZhY2VzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctc2VsZWN0Mi1jb21wb25lbnQvc3JjL2xpYi9zZWxlY3QyLWludGVyZmFjZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFNlbGVjdDIgfSBmcm9tICcuL3NlbGVjdDIuY29tcG9uZW50JztcblxuZXhwb3J0IGludGVyZmFjZSBTZWxlY3QyR3JvdXAge1xuICAgIC8qKiBsYWJlbCBvZiBncm91cCAqL1xuICAgIGxhYmVsOiBzdHJpbmc7XG4gICAgLyoqIG9wdGlvbnMgbGlzdCAqL1xuICAgIG9wdGlvbnM6IFNlbGVjdDJPcHRpb25bXTtcbiAgICAvKiogYWRkIGNsYXNzZXMgICovXG4gICAgY2xhc3Nlcz86IHN0cmluZztcbiAgICAvKiogdGVtcGxhdGUgaWQgICovXG4gICAgdGVtcGxhdGVJZD86IHN0cmluZztcbiAgICAvKiogdGVtcGxhdGUgZGF0YSAgKi9cbiAgICBkYXRhPzogYW55O1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIFNlbGVjdDJPcHRpb24ge1xuICAgIC8qKiB2YWx1ZSAgKi9cbiAgICB2YWx1ZTogU2VsZWN0MlZhbHVlO1xuICAgIC8qKiBsYWJlbCBvZiBvcHRpb24gKi9cbiAgICBsYWJlbDogc3RyaW5nO1xuICAgIC8qKiBubyBzZWxlY3RhYmxlIGlzIGRpc2FibGVkICovXG4gICAgZGlzYWJsZWQ/OiBib29sZWFuO1xuICAgIC8qKiBmb3IgaWRlbnRpZmljYXRpb24gKi9cbiAgICBpZD86IHN0cmluZztcbiAgICAvKiogYWR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bnQgZGF0YSBzb3VyY2UgKi9cbiAgICByZWFkb25seSBkYXRhOiBTZWxlY3QyRGF0YTtcbiAgICAvKiogbWV0aG9kIHRvIGNhbGwgdG8gdXBkYXRlIHRoZSBkYXRhICovXG4gICAgcmVhZG9ubHkgZmlsdGVyZWREYXRhOiAoZGF0YTogU2VsZWN0MkRhdGEpID0+IHZvaWQ7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgU2VsZWN0MlJlbW92ZUV2ZW50PFUgZXh0ZW5kcyBTZWxlY3QyVXBkYXRlVmFsdWUgPSBTZWxlY3QyVmFsdWU+IHtcbiAgICAvKiogY29tcG9uZW50ICovXG4gICAgcmVhZG9ubHkgY29tcG9uZW50OiBTZWxlY3QyO1xuICAgIC8qKiBjdXJyZW50IHNlbGVjdGVkIHZhbHVlICovXG4gICAgcmVhZG9ubHkgdmFsdWU6IFU7XG4gICAgLyoqIHJlbW92ZSAqL1xuICAgIHJlYWRvbmx5IHJlbW92ZWRPcHRpb246IFNlbGVjdDJPcHRpb247XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgU2VsZWN0MlNjcm9sbEV2ZW50IHtcbiAgICAvKiogY29tcG9uZW50ICovXG4gICAgcmVhZG9ubHkgY29tcG9uZW50OiBTZWxlY3QyO1xuICAgIC8qKiBzY3JvbGwgd2F5ICovXG4gICAgcmVhZG9ubHkgd2F5OiAndXAnIHwgJ2Rvd24nO1xuICAgIC8qKiBzZWFyY2ggdGV4dCAqL1xuICAgIHJlYWRvbmx5IHNlYXJjaDogc3RyaW5nO1xuICAgIC8qKiBjdXJyZW50IGRhdGEgKi9cbiAgICByZWFkb25seSBkYXRhOiBTZWxlY3QyRGF0YTtcbn1cbiJdfQ==
@@ -1,10 +1,10 @@
1
1
  import { Directive } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export class Select2Label {
4
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: Select2Label, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: Select2Label, selector: "select2-label", ngImport: i0 }); }
4
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: Select2Label, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: Select2Label, selector: "select2-label", ngImport: i0 }); }
6
6
  }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: Select2Label, decorators: [{
7
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: Select2Label, decorators: [{
8
8
  type: Directive,
9
9
  args: [{ selector: 'select2-label' }]
10
10
  }] });