@gravitee/ui-particles-angular 16.0.1 → 16.1.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/index.d.ts CHANGED
@@ -99,10 +99,15 @@ declare class GioSaveBarHarness extends ComponentHarness {
99
99
  }
100
100
 
101
101
  type Tags = Array<string>;
102
- type AutocompleteOptions = (string | {
102
+ type AutocompleteOptionsFlat = (string | {
103
103
  value: string;
104
104
  label: string;
105
105
  })[];
106
+ type AutocompleteOptionsGroup = {
107
+ groupLabel: string;
108
+ groupOptions: AutocompleteOptionsFlat;
109
+ }[];
110
+ type AutocompleteOptions = AutocompleteOptionsFlat | AutocompleteOptionsGroup;
106
111
  type DisplayValueWithFn = (value: string) => Observable<string>;
107
112
  declare class GioFormTagsInputComponent implements MatFormFieldControl<Tags>, ControlValueAccessor, DoCheck, OnDestroy {
108
113
  readonly ngControl: NgControl;
@@ -141,7 +146,13 @@ declare class GioFormTagsInputComponent implements MatFormFieldControl<Tags>, Co
141
146
  useAutocompleteOptionValueOnly: boolean;
142
147
  set tagInput(v: ElementRef<HTMLInputElement> | null);
143
148
  private _tagInput;
144
- autocompleteFilteredOptions$?: Observable<Record<string, string>[]>;
149
+ autocompleteFilteredOptions$?: Observable<{
150
+ groupLabel?: string;
151
+ groupOptions: {
152
+ value: string;
153
+ label: string;
154
+ }[];
155
+ }[]>;
145
156
  _displayValueWith?: (value: string) => Observable<string>;
146
157
  private displayValueCache;
147
158
  loading: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-particles-angular",
3
- "version": "16.0.1",
3
+ "version": "16.1.0",
4
4
  "description": "Gravitee.io - UI Particles Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -55,14 +55,14 @@
55
55
  "types": "./index.d.ts",
56
56
  "default": "./fesm2022/gravitee-ui-particles-angular.mjs"
57
57
  },
58
- "./gio-asciidoctor": {
59
- "types": "./gio-asciidoctor/index.d.ts",
60
- "default": "./fesm2022/gravitee-ui-particles-angular-gio-asciidoctor.mjs"
61
- },
62
58
  "./gio-el": {
63
59
  "types": "./gio-el/index.d.ts",
64
60
  "default": "./fesm2022/gravitee-ui-particles-angular-gio-el.mjs"
65
61
  },
62
+ "./gio-asciidoctor": {
63
+ "types": "./gio-asciidoctor/index.d.ts",
64
+ "default": "./fesm2022/gravitee-ui-particles-angular-gio-asciidoctor.mjs"
65
+ },
66
66
  "./testing": {
67
67
  "types": "./testing/index.d.ts",
68
68
  "default": "./fesm2022/gravitee-ui-particles-angular-testing.mjs"