@agorapulse/ui-components 20.1.9 → 20.1.10
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/agorapulse-ui-components-20.1.10.tgz +0 -0
- package/fesm2022/agorapulse-ui-components-nav-selector.mjs +76 -58
- package/fesm2022/agorapulse-ui-components-nav-selector.mjs.map +1 -1
- package/nav-selector/index.d.ts +13 -6
- package/package.json +6 -5
- package/agorapulse-ui-components-20.1.9.tgz +0 -0
package/nav-selector/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AvatarNetwork } from '@agorapulse/ui-components/avatar';
|
|
2
2
|
import { agorapulseSymbol } from '@agorapulse/ui-symbol';
|
|
3
3
|
import * as _angular_core from '@angular/core';
|
|
4
|
-
import { OnInit, TemplateRef
|
|
4
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
5
5
|
import * as i1 from '@agorapulse/ui-components/directives';
|
|
6
6
|
import { BaseButtonDirective } from '@agorapulse/ui-components/directives';
|
|
7
7
|
|
|
@@ -293,7 +293,8 @@ declare class NavSelectorPopoverItemComponent {
|
|
|
293
293
|
* It should be provided by the component to ensure that if many nav selectors are used in the same page, they don't share the same state.
|
|
294
294
|
*/
|
|
295
295
|
declare class NavSelectorState {
|
|
296
|
-
|
|
296
|
+
_entries: _angular_core.WritableSignal<InternalNavSelectorEntry[]>;
|
|
297
|
+
entries: _angular_core.Signal<InternalNavSelectorEntry[]>;
|
|
297
298
|
private multipleModeEnabled;
|
|
298
299
|
private _texts;
|
|
299
300
|
isMultipleModeEnabled: _angular_core.WritableSignal<boolean>;
|
|
@@ -302,7 +303,8 @@ declare class NavSelectorState {
|
|
|
302
303
|
texts: _angular_core.Signal<NavSelectorTranslatedTexts>;
|
|
303
304
|
expanded: _angular_core.WritableSignal<boolean>;
|
|
304
305
|
previousSelectedUids: string[];
|
|
305
|
-
selectedUidsChangeCallback
|
|
306
|
+
private selectedUidsChangeCallback;
|
|
307
|
+
private newSelectedUids;
|
|
306
308
|
constructor();
|
|
307
309
|
updateMultiModeEnabled(enabled: boolean): void;
|
|
308
310
|
initEntries(entries: NavSelectorEntry[], initialSelectedEntryUids: string[], detailsDisplayedLimit: number): void;
|
|
@@ -330,13 +332,12 @@ declare class NavSelectorState {
|
|
|
330
332
|
updateDetailsDisplayedLimit(detailsDisplayedLimit: number): void;
|
|
331
333
|
viewMore(leaf: InternalNavSelectorLeaf): void;
|
|
332
334
|
viewLess(leaf: InternalNavSelectorLeaf): void;
|
|
335
|
+
resetFocus(): void;
|
|
333
336
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavSelectorState, never>;
|
|
334
337
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<NavSelectorState>;
|
|
335
338
|
}
|
|
336
339
|
|
|
337
340
|
declare class NavSelectorComponent implements OnInit {
|
|
338
|
-
navSelectorState: NavSelectorState;
|
|
339
|
-
private el;
|
|
340
341
|
navSelectorEntries: _angular_core.InputSignal<NavSelectorEntry[]>;
|
|
341
342
|
translatedTexts: _angular_core.InputSignal<NavSelectorTranslatedTexts>;
|
|
342
343
|
multipleModeEnabled: _angular_core.InputSignal<boolean>;
|
|
@@ -357,9 +358,15 @@ declare class NavSelectorComponent implements OnInit {
|
|
|
357
358
|
onExpansionStateChange: _angular_core.OutputEmitterRef<{
|
|
358
359
|
expanded: boolean;
|
|
359
360
|
}>;
|
|
361
|
+
navSelectorState: NavSelectorState;
|
|
362
|
+
private el;
|
|
360
363
|
componentUid: string;
|
|
361
364
|
ready: _angular_core.WritableSignal<boolean>;
|
|
362
|
-
|
|
365
|
+
private expanded;
|
|
366
|
+
private entries;
|
|
367
|
+
private selectableEntryUids;
|
|
368
|
+
private existingSelectableUids;
|
|
369
|
+
constructor();
|
|
363
370
|
ngOnInit(): void;
|
|
364
371
|
onMinifiedSearchClicked(): void;
|
|
365
372
|
onArrowDown(event: Event): void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agorapulse/ui-components",
|
|
3
3
|
"description": "Agorapulse UI Components Library",
|
|
4
|
-
"version": "20.1.
|
|
4
|
+
"version": "20.1.10",
|
|
5
5
|
"author": "Benoit Hediard",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"@ng-select/ng-select": "15.1.3",
|
|
24
24
|
"@agorapulse/ngx-daterangepicker-material": "^6.0.5",
|
|
25
25
|
"dayjs": "^1.11.6",
|
|
26
|
+
"es-toolkit": "1.39.8",
|
|
26
27
|
"ngxtension": "4.1.0"
|
|
27
28
|
},
|
|
28
29
|
"module": "fesm2022/agorapulse-ui-components.mjs",
|
|
@@ -167,14 +168,14 @@
|
|
|
167
168
|
"types": "./radio/index.d.ts",
|
|
168
169
|
"default": "./fesm2022/agorapulse-ui-components-radio.mjs"
|
|
169
170
|
},
|
|
170
|
-
"./select": {
|
|
171
|
-
"types": "./select/index.d.ts",
|
|
172
|
-
"default": "./fesm2022/agorapulse-ui-components-select.mjs"
|
|
173
|
-
},
|
|
174
171
|
"./range-slider": {
|
|
175
172
|
"types": "./range-slider/index.d.ts",
|
|
176
173
|
"default": "./fesm2022/agorapulse-ui-components-range-slider.mjs"
|
|
177
174
|
},
|
|
175
|
+
"./select": {
|
|
176
|
+
"types": "./select/index.d.ts",
|
|
177
|
+
"default": "./fesm2022/agorapulse-ui-components-select.mjs"
|
|
178
|
+
},
|
|
178
179
|
"./slide-toggle": {
|
|
179
180
|
"types": "./slide-toggle/index.d.ts",
|
|
180
181
|
"default": "./fesm2022/agorapulse-ui-components-slide-toggle.mjs"
|
|
Binary file
|