@exhaustive-ui/core 3.0.0-alpha.0 → 3.0.0-alpha.1
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/fesm2022/exhaustive-ui-core-accordion.mjs +51 -78
- package/fesm2022/exhaustive-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-animateonscroll.mjs +72 -73
- package/fesm2022/exhaustive-ui-core-animateonscroll.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-api.mjs +6 -13
- package/fesm2022/exhaustive-ui-core-api.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs +485 -683
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-autofocus.mjs +21 -31
- package/fesm2022/exhaustive-ui-core-autofocus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-avatar.mjs +47 -63
- package/fesm2022/exhaustive-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-badge.mjs +88 -115
- package/fesm2022/exhaustive-ui-core-badge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-blockui.mjs +58 -91
- package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +155 -169
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-button.mjs +280 -385
- package/fesm2022/exhaustive-ui-core-button.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-carousel.mjs +379 -451
- package/fesm2022/exhaustive-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +388 -507
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-chart.mjs +75 -91
- package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-checkbox.mjs +109 -160
- package/fesm2022/exhaustive-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-chip.mjs +98 -137
- package/fesm2022/exhaustive-ui-core-chip.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-colorpicker.mjs +123 -190
- package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +157 -332
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +187 -210
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs +315 -361
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dataview.mjs +225 -272
- package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-datepicker.mjs +1012 -1157
- package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dialog.mjs +370 -507
- package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dock.mjs +87 -115
- package/fesm2022/exhaustive-ui-core-dock.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dragdrop.mjs +98 -105
- package/fesm2022/exhaustive-ui-core-dragdrop.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-drawer.mjs +174 -235
- package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +42 -280
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-editor.mjs +109 -121
- package/fesm2022/exhaustive-ui-core-editor.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fieldset.mjs +90 -132
- package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fileupload.mjs +486 -541
- package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-floatlabel.mjs +13 -16
- package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-focustrap.mjs +44 -40
- package/fesm2022/exhaustive-ui-core-focustrap.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-galleria.mjs +642 -853
- package/fesm2022/exhaustive-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-iconfield.mjs +15 -27
- package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs +8 -13
- package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-image.mjs +209 -251
- package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs +39 -48
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inplace.mjs +64 -98
- package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs +10 -20
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs +15 -24
- package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputicon.mjs +11 -22
- package/fesm2022/exhaustive-ui-core-inputicon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputmask.mjs +423 -392
- package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs +397 -469
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputotp.mjs +75 -95
- package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputtext.mjs +27 -36
- package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-keyfilter.mjs +29 -46
- package/fesm2022/exhaustive-ui-core-keyfilter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-knob.mjs +140 -187
- package/fesm2022/exhaustive-ui-core-knob.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-listbox.mjs +365 -546
- package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-megamenu.mjs +320 -371
- package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menu.mjs +298 -348
- package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menubar.mjs +277 -372
- package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-metergroup.mjs +138 -166
- package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-multiselect.mjs +647 -835
- package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-orderlist.mjs +337 -409
- package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs +114 -175
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +22 -47
- package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-paginator.mjs +232 -320
- package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-panel.mjs +114 -174
- package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs +171 -282
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-password.mjs +317 -377
- package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-picklist.mjs +557 -655
- package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-popover.mjs +154 -181
- package/fesm2022/exhaustive-ui-core-popover.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-rating.mjs +87 -119
- package/fesm2022/exhaustive-ui-core-rating.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scroller.mjs +465 -596
- package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scrollpanel.mjs +147 -155
- package/fesm2022/exhaustive-ui-core-scrollpanel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scrolltop.mjs +81 -115
- package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-select.mjs +581 -784
- package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs +84 -120
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-slider.mjs +322 -352
- package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-speeddial.mjs +209 -268
- package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs +153 -249
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitter.mjs +221 -237
- package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-steps.mjs +56 -72
- package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-styleclass.mjs +145 -146
- package/fesm2022/exhaustive-ui-core-styleclass.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-table.mjs +2213 -2543
- package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-terminal.mjs +50 -67
- package/fesm2022/exhaustive-ui-core-terminal.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-textarea.mjs +23 -36
- package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +318 -394
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-timeline.mjs +56 -74
- package/fesm2022/exhaustive-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs +86 -129
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +57 -94
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toolbar.mjs +36 -55
- package/fesm2022/exhaustive-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tooltip.mjs +264 -343
- package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tree.mjs +508 -639
- package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treeselect.mjs +327 -421
- package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treetable.mjs +1267 -1473
- package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
- package/package.json +5 -5
- package/schematics/migrations/remove-dead-inputs/migration.js +213 -7
- package/schematics/migrations/renamed-inputs/migration.js +97 -0
- package/schematics/migrations/styleclass-to-class/migration.js +92 -1
- package/schematics/migrations.json +7 -2
- package/schematics/utils/removed-inputs.js +0 -0
- package/schematics/utils/renamed-inputs.js +175 -0
- package/schematics/utils/styleclass.js +24 -8
- package/schematics/utils/versions.json +8 -8
- package/types/exhaustive-ui-core-accordion.d.ts +8 -24
- package/types/exhaustive-ui-core-animateonscroll.d.ts +19 -21
- package/types/exhaustive-ui-core-api.d.ts +2 -3
- package/types/exhaustive-ui-core-autocomplete.d.ts +103 -176
- package/types/exhaustive-ui-core-autofocus.d.ts +4 -7
- package/types/exhaustive-ui-core-avatar.d.ts +18 -25
- package/types/exhaustive-ui-core-badge.d.ts +13 -27
- package/types/exhaustive-ui-core-blockui.d.ts +18 -30
- package/types/exhaustive-ui-core-breadcrumb.d.ts +21 -22
- package/types/exhaustive-ui-core-button.d.ts +57 -89
- package/types/exhaustive-ui-core-carousel.d.ts +56 -82
- package/types/exhaustive-ui-core-cascadeselect.d.ts +77 -111
- package/types/exhaustive-ui-core-chart.d.ts +21 -29
- package/types/exhaustive-ui-core-checkbox.d.ts +25 -39
- package/types/exhaustive-ui-core-chip.d.ts +31 -38
- package/types/exhaustive-ui-core-colorpicker.d.ts +23 -57
- package/types/exhaustive-ui-core-confirmdialog.d.ts +39 -109
- package/types/exhaustive-ui-core-confirmpopup.d.ts +24 -43
- package/types/exhaustive-ui-core-contextmenu.d.ts +54 -71
- package/types/exhaustive-ui-core-dataview.d.ts +42 -65
- package/types/exhaustive-ui-core-datepicker.d.ts +109 -191
- package/types/exhaustive-ui-core-dialog.d.ts +73 -123
- package/types/exhaustive-ui-core-dock.d.ts +16 -25
- package/types/exhaustive-ui-core-dragdrop.d.ts +32 -36
- package/types/exhaustive-ui-core-drawer.d.ts +32 -64
- package/types/exhaustive-ui-core-dynamicdialog.d.ts +9 -54
- package/types/exhaustive-ui-core-editor.d.ts +15 -25
- package/types/exhaustive-ui-core-fieldset.d.ts +15 -35
- package/types/exhaustive-ui-core-fileupload.d.ts +69 -95
- package/types/exhaustive-ui-core-floatlabel.d.ts +4 -6
- package/types/exhaustive-ui-core-focustrap.d.ts +5 -10
- package/types/exhaustive-ui-core-galleria.d.ts +124 -194
- package/types/exhaustive-ui-core-iconfield.d.ts +5 -13
- package/types/exhaustive-ui-core-icons-baseicon.d.ts +4 -5
- package/types/exhaustive-ui-core-image.d.ts +35 -68
- package/types/exhaustive-ui-core-imagecompare.d.ts +19 -20
- package/types/exhaustive-ui-core-inplace.d.ts +30 -42
- package/types/exhaustive-ui-core-inputgroup.d.ts +2 -9
- package/types/exhaustive-ui-core-inputgroupaddon.d.ts +6 -10
- package/types/exhaustive-ui-core-inputicon.d.ts +4 -11
- package/types/exhaustive-ui-core-inputmask.d.ts +53 -66
- package/types/exhaustive-ui-core-inputnumber.d.ts +62 -84
- package/types/exhaustive-ui-core-inputotp.d.ts +16 -20
- package/types/exhaustive-ui-core-inputtext.d.ts +5 -8
- package/types/exhaustive-ui-core-keyfilter.d.ts +11 -15
- package/types/exhaustive-ui-core-knob.d.ts +45 -60
- package/types/exhaustive-ui-core-listbox.d.ts +90 -126
- package/types/exhaustive-ui-core-megamenu.d.ts +45 -66
- package/types/exhaustive-ui-core-menu.d.ts +33 -53
- package/types/exhaustive-ui-core-menubar.d.ts +38 -85
- package/types/exhaustive-ui-core-metergroup.d.ts +39 -48
- package/types/exhaustive-ui-core-multiselect.d.ts +166 -219
- package/types/exhaustive-ui-core-orderlist.d.ts +58 -81
- package/types/exhaustive-ui-core-organizationchart.d.ts +32 -67
- package/types/exhaustive-ui-core-overlaybadge.d.ts +10 -20
- package/types/exhaustive-ui-core-paginator.d.ts +41 -69
- package/types/exhaustive-ui-core-panel.d.ts +18 -45
- package/types/exhaustive-ui-core-panelmenu.d.ts +31 -76
- package/types/exhaustive-ui-core-password.d.ts +56 -93
- package/types/exhaustive-ui-core-picklist.d.ts +107 -121
- package/types/exhaustive-ui-core-popover.d.ts +23 -47
- package/types/exhaustive-ui-core-rating.d.ts +18 -26
- package/types/exhaustive-ui-core-scroller.d.ts +90 -120
- package/types/exhaustive-ui-core-scrollpanel.d.ts +35 -46
- package/types/exhaustive-ui-core-scrolltop.d.ts +28 -45
- package/types/exhaustive-ui-core-select.d.ts +137 -188
- package/types/exhaustive-ui-core-selectbutton.d.ts +35 -44
- package/types/exhaustive-ui-core-slider.d.ts +52 -67
- package/types/exhaustive-ui-core-speeddial.d.ts +40 -56
- package/types/exhaustive-ui-core-splitbutton.d.ts +31 -71
- package/types/exhaustive-ui-core-splitter.d.ts +47 -59
- package/types/exhaustive-ui-core-steps.d.ts +24 -31
- package/types/exhaustive-ui-core-styleclass.d.ts +27 -33
- package/types/exhaustive-ui-core-table.d.ts +349 -453
- package/types/exhaustive-ui-core-terminal.d.ts +10 -22
- package/types/exhaustive-ui-core-textarea.d.ts +7 -10
- package/types/exhaustive-ui-core-tieredmenu.d.ts +49 -84
- package/types/exhaustive-ui-core-timeline.d.ts +20 -28
- package/types/exhaustive-ui-core-togglebutton.d.ts +32 -48
- package/types/exhaustive-ui-core-toggleswitch.d.ts +26 -37
- package/types/exhaustive-ui-core-toolbar.d.ts +17 -25
- package/types/exhaustive-ui-core-tooltip.d.ts +53 -88
- package/types/exhaustive-ui-core-tree.d.ts +82 -119
- package/types/exhaustive-ui-core-treeselect.d.ts +63 -92
- package/types/exhaustive-ui-core-treetable.d.ts +203 -280
- package/types/exhaustive-ui-core-types-chip.d.ts +1 -1
|
@@ -2,7 +2,7 @@ export * from '@exhaustive-ui/core/types/dock';
|
|
|
2
2
|
import * as i2 from '@angular/common';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { Injectable,
|
|
5
|
+
import { Injectable, input, computed, output, viewChild, signal, inject, afterEveryRender, contentChild, contentChildren, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
6
6
|
import * as i3 from '@angular/router';
|
|
7
7
|
import { RouterModule, RouterLink, RouterLinkActive } from '@angular/router';
|
|
8
8
|
import { uuid, resolve, find, findSingle } from '@exhaustive-ui/utils';
|
|
@@ -20,7 +20,7 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
|
|
|
20
20
|
const classes = {
|
|
21
21
|
root: ({ instance }) => [
|
|
22
22
|
'p-dock p-component',
|
|
23
|
-
`p-dock-${instance.position}`,
|
|
23
|
+
`p-dock-${instance.position()}`,
|
|
24
24
|
{
|
|
25
25
|
'p-dock-mobile': instance.queryMatches()
|
|
26
26
|
}
|
|
@@ -89,51 +89,51 @@ var DockClasses;
|
|
|
89
89
|
DockClasses["itemIcon"] = "p-dock-item-icon";
|
|
90
90
|
})(DockClasses || (DockClasses = {}));
|
|
91
91
|
|
|
92
|
-
const DOCK_INSTANCE = new InjectionToken('DOCK_INSTANCE');
|
|
93
92
|
/**
|
|
94
93
|
* Dock is a navigation component consisting of menuitems.
|
|
95
94
|
* @group Components
|
|
96
95
|
*/
|
|
97
96
|
class Dock extends BaseComponent {
|
|
98
|
-
cd = inject(ChangeDetectorRef);
|
|
99
97
|
componentName = 'Dock';
|
|
100
98
|
/**
|
|
101
99
|
* Current id state as a string.
|
|
102
100
|
* @group Props
|
|
103
101
|
*/
|
|
104
|
-
id
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
* @group Props
|
|
109
|
-
*/
|
|
110
|
-
styleClass;
|
|
102
|
+
id = input(/* @ts-ignore */
|
|
103
|
+
...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
104
|
+
_id = computed(() => this.id() || uuid('pn_id_'), /* @ts-ignore */
|
|
105
|
+
...(ngDevMode ? [{ debugName: "_id" }] : /* istanbul ignore next */ []));
|
|
111
106
|
/**
|
|
112
107
|
* MenuModel instance to define the action items.
|
|
113
108
|
* @group Props
|
|
114
109
|
*/
|
|
115
|
-
model = null
|
|
110
|
+
model = input(null, /* @ts-ignore */
|
|
111
|
+
...(ngDevMode ? [{ debugName: "model" }] : /* istanbul ignore next */ []));
|
|
116
112
|
/**
|
|
117
113
|
* Position of element.
|
|
118
114
|
* @group Props
|
|
119
115
|
*/
|
|
120
|
-
position = 'bottom'
|
|
116
|
+
position = input('bottom', /* @ts-ignore */
|
|
117
|
+
...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
|
|
121
118
|
/**
|
|
122
119
|
* Defines a string that labels the input for accessibility.
|
|
123
120
|
* @group Props
|
|
124
121
|
*/
|
|
125
|
-
ariaLabel
|
|
122
|
+
ariaLabel = input(/* @ts-ignore */
|
|
123
|
+
...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
126
124
|
/**
|
|
127
125
|
* The breakpoint to define the maximum width boundary.
|
|
128
126
|
* @defaultValue 960px
|
|
129
127
|
* @group Props
|
|
130
128
|
*/
|
|
131
|
-
breakpoint = '960px'
|
|
129
|
+
breakpoint = input('960px', /* @ts-ignore */
|
|
130
|
+
...(ngDevMode ? [{ debugName: "breakpoint" }] : /* istanbul ignore next */ []));
|
|
132
131
|
/**
|
|
133
132
|
* Defines a string that labels the dropdown button for accessibility.
|
|
134
133
|
* @group Props
|
|
135
134
|
*/
|
|
136
|
-
ariaLabelledBy
|
|
135
|
+
ariaLabelledBy = input(/* @ts-ignore */
|
|
136
|
+
...(ngDevMode ? [undefined, { debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
|
|
137
137
|
/**
|
|
138
138
|
* Callback to execute when button is focused.
|
|
139
139
|
* @param {FocusEvent} event - Focus event.
|
|
@@ -148,28 +148,33 @@ class Dock extends BaseComponent {
|
|
|
148
148
|
onBlur = output();
|
|
149
149
|
listViewChild = viewChild.required('list', /* @ts-ignore */
|
|
150
150
|
...(ngDevMode ? [{ debugName: "listViewChild" }] : /* istanbul ignore next */ []));
|
|
151
|
-
currentIndex
|
|
151
|
+
currentIndex = signal(-3, /* @ts-ignore */
|
|
152
|
+
...(ngDevMode ? [{ debugName: "currentIndex" }] : /* istanbul ignore next */ []));
|
|
152
153
|
tabindex = 0;
|
|
153
|
-
focused = false
|
|
154
|
-
|
|
154
|
+
focused = signal(false, /* @ts-ignore */
|
|
155
|
+
...(ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []));
|
|
156
|
+
focusedOptionIndex = signal(-1, /* @ts-ignore */
|
|
157
|
+
...(ngDevMode ? [{ debugName: "focusedOptionIndex" }] : /* istanbul ignore next */ []));
|
|
155
158
|
_componentStyle = inject(DockStyle);
|
|
156
159
|
bindDirectiveInstance = inject(Bind, { self: true });
|
|
157
|
-
|
|
158
|
-
matchMediaListener;
|
|
159
|
-
query
|
|
160
|
+
matchMediaListener = signal(undefined, /* @ts-ignore */
|
|
161
|
+
...(ngDevMode ? [{ debugName: "matchMediaListener" }] : /* istanbul ignore next */ []));
|
|
162
|
+
query = signal(undefined, /* @ts-ignore */
|
|
163
|
+
...(ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []));
|
|
160
164
|
queryMatches = signal(false, /* @ts-ignore */
|
|
161
165
|
...(ngDevMode ? [{ debugName: "queryMatches" }] : /* istanbul ignore next */ []));
|
|
162
166
|
mobileActive = signal(false, /* @ts-ignore */
|
|
163
167
|
...(ngDevMode ? [{ debugName: "mobileActive" }] : /* istanbul ignore next */ []));
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
168
|
+
focusedOptionId = computed(() => {
|
|
169
|
+
const focusedOptionIndex = this.focusedOptionIndex();
|
|
170
|
+
return focusedOptionIndex !== -1 && focusedOptionIndex !== '-1' ? String(focusedOptionIndex) : null;
|
|
171
|
+
}, /* @ts-ignore */
|
|
172
|
+
...(ngDevMode ? [{ debugName: "focusedOptionId" }] : /* istanbul ignore next */ []));
|
|
167
173
|
constructor() {
|
|
168
174
|
super();
|
|
169
|
-
this.
|
|
175
|
+
afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));
|
|
170
176
|
}
|
|
171
177
|
onInit() {
|
|
172
|
-
this.id = this.id || uuid('pn_id_');
|
|
173
178
|
this.bindMatchMediaListener();
|
|
174
179
|
}
|
|
175
180
|
onDestroy() {
|
|
@@ -182,7 +187,8 @@ class Dock extends BaseComponent {
|
|
|
182
187
|
*/
|
|
183
188
|
itemTemplate = contentChild('item', /* @ts-ignore */
|
|
184
189
|
...(ngDevMode ? [{ debugName: "itemTemplate" }] : /* istanbul ignore next */ []));
|
|
185
|
-
_itemTemplate
|
|
190
|
+
_itemTemplate = computed(() => this.templates().at(-1)?.template, /* @ts-ignore */
|
|
191
|
+
...(ngDevMode ? [{ debugName: "_itemTemplate" }] : /* istanbul ignore next */ []));
|
|
186
192
|
getItemId(item, index) {
|
|
187
193
|
return item && item?.id ? item.id : `${index}`;
|
|
188
194
|
}
|
|
@@ -193,17 +199,13 @@ class Dock extends BaseComponent {
|
|
|
193
199
|
return typeof item.disabled === 'function' ? item.disabled() : item.disabled || false;
|
|
194
200
|
}
|
|
195
201
|
isItemActive(id) {
|
|
196
|
-
return String(id) === String(this.focusedOptionIndex);
|
|
202
|
+
return String(id) === String(this.focusedOptionIndex());
|
|
197
203
|
}
|
|
198
204
|
onListMouseLeave() {
|
|
199
|
-
this.currentIndex
|
|
200
|
-
this.cd.markForCheck();
|
|
205
|
+
this.currentIndex.set(-3);
|
|
201
206
|
}
|
|
202
207
|
onItemMouseEnter(index) {
|
|
203
|
-
this.currentIndex
|
|
204
|
-
if (index === 1) {
|
|
205
|
-
}
|
|
206
|
-
this.cd.markForCheck();
|
|
208
|
+
this.currentIndex.set(index);
|
|
207
209
|
}
|
|
208
210
|
onItemClick(e, item) {
|
|
209
211
|
if (item.command) {
|
|
@@ -211,37 +213,37 @@ class Dock extends BaseComponent {
|
|
|
211
213
|
}
|
|
212
214
|
}
|
|
213
215
|
onListFocus(event) {
|
|
214
|
-
this.focused
|
|
216
|
+
this.focused.set(true);
|
|
215
217
|
this.changeFocusedOptionIndex(0);
|
|
216
218
|
this.onFocus.emit(event);
|
|
217
219
|
}
|
|
218
220
|
onListBlur(event) {
|
|
219
|
-
this.focused
|
|
220
|
-
this.focusedOptionIndex
|
|
221
|
+
this.focused.set(false);
|
|
222
|
+
this.focusedOptionIndex.set(-1);
|
|
221
223
|
this.onBlur.emit(event);
|
|
222
224
|
}
|
|
223
225
|
onListKeyDown(event) {
|
|
224
226
|
switch (event.code) {
|
|
225
227
|
case 'ArrowDown': {
|
|
226
|
-
if (this.position === 'left' || this.position === 'right')
|
|
228
|
+
if (this.position() === 'left' || this.position() === 'right')
|
|
227
229
|
this.onArrowDownKey();
|
|
228
230
|
event.preventDefault();
|
|
229
231
|
break;
|
|
230
232
|
}
|
|
231
233
|
case 'ArrowUp': {
|
|
232
|
-
if (this.position === 'left' || this.position === 'right')
|
|
234
|
+
if (this.position() === 'left' || this.position() === 'right')
|
|
233
235
|
this.onArrowUpKey();
|
|
234
236
|
event.preventDefault();
|
|
235
237
|
break;
|
|
236
238
|
}
|
|
237
239
|
case 'ArrowRight': {
|
|
238
|
-
if (this.position === 'top' || this.position === 'bottom')
|
|
240
|
+
if (this.position() === 'top' || this.position() === 'bottom')
|
|
239
241
|
this.onArrowDownKey();
|
|
240
242
|
event.preventDefault();
|
|
241
243
|
break;
|
|
242
244
|
}
|
|
243
245
|
case 'ArrowLeft': {
|
|
244
|
-
if (this.position === 'top' || this.position === 'bottom')
|
|
246
|
+
if (this.position() === 'top' || this.position() === 'bottom')
|
|
245
247
|
this.onArrowUpKey();
|
|
246
248
|
event.preventDefault();
|
|
247
249
|
break;
|
|
@@ -267,11 +269,11 @@ class Dock extends BaseComponent {
|
|
|
267
269
|
}
|
|
268
270
|
}
|
|
269
271
|
onArrowDownKey() {
|
|
270
|
-
const optionIndex = this.findNextOptionIndex(this.focusedOptionIndex);
|
|
272
|
+
const optionIndex = this.findNextOptionIndex(this.focusedOptionIndex());
|
|
271
273
|
this.changeFocusedOptionIndex(optionIndex);
|
|
272
274
|
}
|
|
273
275
|
onArrowUpKey() {
|
|
274
|
-
const optionIndex = this.findPrevOptionIndex(this.focusedOptionIndex);
|
|
276
|
+
const optionIndex = this.findPrevOptionIndex(this.focusedOptionIndex());
|
|
275
277
|
this.changeFocusedOptionIndex(optionIndex);
|
|
276
278
|
}
|
|
277
279
|
onHomeKey() {
|
|
@@ -281,7 +283,7 @@ class Dock extends BaseComponent {
|
|
|
281
283
|
this.changeFocusedOptionIndex(find(this.listViewChild().nativeElement, 'li[data-pc-section="item"][data-p-disabled="false"]').length - 1);
|
|
282
284
|
}
|
|
283
285
|
onSpaceKey() {
|
|
284
|
-
const element = findSingle(this.listViewChild().nativeElement, `li[id="${`${this.focusedOptionIndex}`}"]`);
|
|
286
|
+
const element = findSingle(this.listViewChild().nativeElement, `li[id="${`${this.focusedOptionIndex()}`}"]`);
|
|
285
287
|
const anchorElement = element && findSingle(element, 'a,button');
|
|
286
288
|
anchorElement ? anchorElement.click() : element && element.click();
|
|
287
289
|
}
|
|
@@ -293,7 +295,7 @@ class Dock extends BaseComponent {
|
|
|
293
295
|
changeFocusedOptionIndex(index) {
|
|
294
296
|
const menuitems = find(this.listViewChild().nativeElement, 'li[data-pc-section="item"][data-p-disabled="false"]');
|
|
295
297
|
let order = index >= menuitems.length ? menuitems.length - 1 : index < 0 ? 0 : index;
|
|
296
|
-
this.focusedOptionIndex
|
|
298
|
+
this.focusedOptionIndex.set(menuitems[order]?.getAttribute('id'));
|
|
297
299
|
}
|
|
298
300
|
findPrevOptionIndex(index) {
|
|
299
301
|
const menuitems = find(this.listViewChild().nativeElement, 'li[data-pc-section="item"][data-p-disabled="false"]');
|
|
@@ -305,21 +307,6 @@ class Dock extends BaseComponent {
|
|
|
305
307
|
}
|
|
306
308
|
templates = contentChildren(PrimeTemplate, /* @ts-ignore */
|
|
307
309
|
...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
|
|
308
|
-
onAfterContentInit() {
|
|
309
|
-
this.templates()?.forEach((item) => {
|
|
310
|
-
switch (item.getType()) {
|
|
311
|
-
case 'item':
|
|
312
|
-
this._itemTemplate = item.template;
|
|
313
|
-
break;
|
|
314
|
-
default:
|
|
315
|
-
this._itemTemplate = item.template;
|
|
316
|
-
break;
|
|
317
|
-
}
|
|
318
|
-
});
|
|
319
|
-
}
|
|
320
|
-
onAfterViewChecked() {
|
|
321
|
-
this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
|
|
322
|
-
}
|
|
323
310
|
getPTOptions(item, index, key) {
|
|
324
311
|
return this.ptm(key, {
|
|
325
312
|
context: {
|
|
@@ -329,44 +316,44 @@ class Dock extends BaseComponent {
|
|
|
329
316
|
});
|
|
330
317
|
}
|
|
331
318
|
bindMatchMediaListener() {
|
|
332
|
-
if (!this.matchMediaListener) {
|
|
333
|
-
const query = window.matchMedia(`(max-width: ${this.breakpoint})`);
|
|
334
|
-
this.query
|
|
319
|
+
if (!this.matchMediaListener()) {
|
|
320
|
+
const query = window.matchMedia(`(max-width: ${this.breakpoint()})`);
|
|
321
|
+
this.query.set(query);
|
|
335
322
|
this.queryMatches.set(query.matches);
|
|
336
|
-
this.matchMediaListener
|
|
323
|
+
this.matchMediaListener.set(() => {
|
|
337
324
|
this.queryMatches.set(query.matches);
|
|
338
325
|
this.mobileActive.set(false);
|
|
339
|
-
};
|
|
340
|
-
this.renderer.listen(this.query, 'change', this.matchMediaListener.bind(this));
|
|
326
|
+
});
|
|
327
|
+
this.renderer.listen(this.query(), 'change', this.matchMediaListener().bind(this));
|
|
341
328
|
}
|
|
342
329
|
}
|
|
343
330
|
unbindMatchMediaListener() {
|
|
344
|
-
if (this.matchMediaListener) {
|
|
345
|
-
this.matchMediaListener();
|
|
346
|
-
this.matchMediaListener
|
|
347
|
-
this.query
|
|
331
|
+
if (this.matchMediaListener()) {
|
|
332
|
+
this.matchMediaListener()();
|
|
333
|
+
this.matchMediaListener.set(null);
|
|
334
|
+
this.query.set(null);
|
|
348
335
|
}
|
|
349
336
|
}
|
|
350
337
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Dock, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
351
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Dock, isStandalone: true, selector: "p-dock", inputs: { id: "id",
|
|
338
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Dock, isStandalone: true, selector: "p-dock", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, model: { classPropertyName: "model", publicName: "model", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, breakpoint: { classPropertyName: "breakpoint", publicName: "breakpoint", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onFocus: "onFocus", onBlur: "onBlur" }, host: { properties: { "class": "cx('root')" } }, providers: [DockStyle, { provide: PARENT_INSTANCE, useExisting: Dock }], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], descendants: true, isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "listViewChild", first: true, predicate: ["list"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
352
339
|
<div [class]="cx('listContainer')" [pBind]="ptm('listContainer')">
|
|
353
340
|
<ul
|
|
354
341
|
#list
|
|
355
|
-
[attr.id]="
|
|
342
|
+
[attr.id]="_id()"
|
|
356
343
|
[class]="cx('list')"
|
|
357
344
|
role="menu"
|
|
358
|
-
[attr.aria-orientation]="position === 'bottom' || position === 'top' ? 'horizontal' : 'vertical'"
|
|
359
|
-
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
|
345
|
+
[attr.aria-orientation]="position() === 'bottom' || position() === 'top' ? 'horizontal' : 'vertical'"
|
|
346
|
+
[attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
|
|
360
347
|
[tabindex]="tabindex"
|
|
361
|
-
[attr.aria-label]="ariaLabel"
|
|
362
|
-
[attr.aria-labelledby]="ariaLabelledBy"
|
|
348
|
+
[attr.aria-label]="ariaLabel()"
|
|
349
|
+
[attr.aria-labelledby]="ariaLabelledBy()"
|
|
363
350
|
(focus)="onListFocus($event)"
|
|
364
351
|
(blur)="onListBlur($event)"
|
|
365
352
|
(keydown)="onListKeyDown($event)"
|
|
366
353
|
(mouseleave)="onListMouseLeave()"
|
|
367
354
|
[pBind]="ptm('list')"
|
|
368
355
|
>
|
|
369
|
-
@for (item of model; track item.label; let i = $index) {
|
|
356
|
+
@for (item of model(); track item.label; let i = $index) {
|
|
370
357
|
@if (item.visible !== false) {
|
|
371
358
|
<li
|
|
372
359
|
[attr.id]="getItemId(item, i)"
|
|
@@ -407,12 +394,12 @@ class Dock extends BaseComponent {
|
|
|
407
394
|
[attr.aria-hidden]="true"
|
|
408
395
|
[pBind]="getPTOptions(item, i, 'itemLink')"
|
|
409
396
|
>
|
|
410
|
-
@if (item.icon && !itemTemplate() && !_itemTemplate) {
|
|
397
|
+
@if (item.icon && !itemTemplate() && !_itemTemplate()) {
|
|
411
398
|
<span [class]="cn(cx('itemIcon'), item.icon, item.iconClass)" [ngStyle]="item.iconStyle" [pBind]="getPTOptions(item, i, 'itemIcon')"></span>
|
|
412
399
|
}
|
|
413
|
-
<ng-container *ngTemplateOutlet="itemTemplate() ||
|
|
400
|
+
<ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate(); context: { $implicit: item }"></ng-container>
|
|
414
401
|
@if (item.badge) {
|
|
415
|
-
<p-badge [
|
|
402
|
+
<p-badge [class]="item.badgeStyleClass" [value]="item.badge" [pt]="getPTOptions(item, i, 'pcBadge')" [unstyled]="unstyled()" />
|
|
416
403
|
}
|
|
417
404
|
</a>
|
|
418
405
|
} @else {
|
|
@@ -432,12 +419,12 @@ class Dock extends BaseComponent {
|
|
|
432
419
|
[attr.aria-hidden]="true"
|
|
433
420
|
[pBind]="getPTOptions(item, i, 'itemLink')"
|
|
434
421
|
>
|
|
435
|
-
@if (item.icon && !itemTemplate() && !_itemTemplate) {
|
|
422
|
+
@if (item.icon && !itemTemplate() && !_itemTemplate()) {
|
|
436
423
|
<span [class]="cn(cx('itemIcon'), item.icon, item.iconClass)" [ngStyle]="item.iconStyle" [pBind]="getPTOptions(item, i, 'itemIcon')"></span>
|
|
437
424
|
}
|
|
438
|
-
<ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate; context: { $implicit: item }"></ng-container>
|
|
425
|
+
<ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate(); context: { $implicit: item }"></ng-container>
|
|
439
426
|
@if (item.badge) {
|
|
440
|
-
<p-badge [
|
|
427
|
+
<p-badge [class]="item.badgeStyleClass" [value]="item.badge" [pt]="getPTOptions(item, i, 'pcBadge')" [unstyled]="unstyled()" />
|
|
441
428
|
}
|
|
442
429
|
</a>
|
|
443
430
|
}
|
|
@@ -447,33 +434,32 @@ class Dock extends BaseComponent {
|
|
|
447
434
|
}
|
|
448
435
|
</ul>
|
|
449
436
|
</div>
|
|
450
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "directive", type: i3.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i4.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }, { kind: "ngmodule", type: SharedModule }, { kind: "component", type: Badge, selector: "p-badge", inputs: ["
|
|
437
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "directive", type: i3.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i4.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }, { kind: "ngmodule", type: SharedModule }, { kind: "component", type: Badge, selector: "p-badge", inputs: ["badgeSize", "size", "severity", "value", "badgeDisabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
451
438
|
}
|
|
452
439
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Dock, decorators: [{
|
|
453
440
|
type: Component,
|
|
454
441
|
args: [{
|
|
455
442
|
selector: 'p-dock',
|
|
456
|
-
standalone: true,
|
|
457
443
|
imports: [CommonModule, RouterModule, RouterLink, RouterLinkActive, Ripple, TooltipModule, SharedModule, Bind, Badge],
|
|
458
444
|
template: `
|
|
459
445
|
<div [class]="cx('listContainer')" [pBind]="ptm('listContainer')">
|
|
460
446
|
<ul
|
|
461
447
|
#list
|
|
462
|
-
[attr.id]="
|
|
448
|
+
[attr.id]="_id()"
|
|
463
449
|
[class]="cx('list')"
|
|
464
450
|
role="menu"
|
|
465
|
-
[attr.aria-orientation]="position === 'bottom' || position === 'top' ? 'horizontal' : 'vertical'"
|
|
466
|
-
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
|
451
|
+
[attr.aria-orientation]="position() === 'bottom' || position() === 'top' ? 'horizontal' : 'vertical'"
|
|
452
|
+
[attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
|
|
467
453
|
[tabindex]="tabindex"
|
|
468
|
-
[attr.aria-label]="ariaLabel"
|
|
469
|
-
[attr.aria-labelledby]="ariaLabelledBy"
|
|
454
|
+
[attr.aria-label]="ariaLabel()"
|
|
455
|
+
[attr.aria-labelledby]="ariaLabelledBy()"
|
|
470
456
|
(focus)="onListFocus($event)"
|
|
471
457
|
(blur)="onListBlur($event)"
|
|
472
458
|
(keydown)="onListKeyDown($event)"
|
|
473
459
|
(mouseleave)="onListMouseLeave()"
|
|
474
460
|
[pBind]="ptm('list')"
|
|
475
461
|
>
|
|
476
|
-
@for (item of model; track item.label; let i = $index) {
|
|
462
|
+
@for (item of model(); track item.label; let i = $index) {
|
|
477
463
|
@if (item.visible !== false) {
|
|
478
464
|
<li
|
|
479
465
|
[attr.id]="getItemId(item, i)"
|
|
@@ -514,12 +500,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
514
500
|
[attr.aria-hidden]="true"
|
|
515
501
|
[pBind]="getPTOptions(item, i, 'itemLink')"
|
|
516
502
|
>
|
|
517
|
-
@if (item.icon && !itemTemplate() && !_itemTemplate) {
|
|
503
|
+
@if (item.icon && !itemTemplate() && !_itemTemplate()) {
|
|
518
504
|
<span [class]="cn(cx('itemIcon'), item.icon, item.iconClass)" [ngStyle]="item.iconStyle" [pBind]="getPTOptions(item, i, 'itemIcon')"></span>
|
|
519
505
|
}
|
|
520
|
-
<ng-container *ngTemplateOutlet="itemTemplate() ||
|
|
506
|
+
<ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate(); context: { $implicit: item }"></ng-container>
|
|
521
507
|
@if (item.badge) {
|
|
522
|
-
<p-badge [
|
|
508
|
+
<p-badge [class]="item.badgeStyleClass" [value]="item.badge" [pt]="getPTOptions(item, i, 'pcBadge')" [unstyled]="unstyled()" />
|
|
523
509
|
}
|
|
524
510
|
</a>
|
|
525
511
|
} @else {
|
|
@@ -539,12 +525,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
539
525
|
[attr.aria-hidden]="true"
|
|
540
526
|
[pBind]="getPTOptions(item, i, 'itemLink')"
|
|
541
527
|
>
|
|
542
|
-
@if (item.icon && !itemTemplate() && !_itemTemplate) {
|
|
528
|
+
@if (item.icon && !itemTemplate() && !_itemTemplate()) {
|
|
543
529
|
<span [class]="cn(cx('itemIcon'), item.icon, item.iconClass)" [ngStyle]="item.iconStyle" [pBind]="getPTOptions(item, i, 'itemIcon')"></span>
|
|
544
530
|
}
|
|
545
|
-
<ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate; context: { $implicit: item }"></ng-container>
|
|
531
|
+
<ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate(); context: { $implicit: item }"></ng-container>
|
|
546
532
|
@if (item.badge) {
|
|
547
|
-
<p-badge [
|
|
533
|
+
<p-badge [class]="item.badgeStyleClass" [value]="item.badge" [pt]="getPTOptions(item, i, 'pcBadge')" [unstyled]="unstyled()" />
|
|
548
534
|
}
|
|
549
535
|
</a>
|
|
550
536
|
}
|
|
@@ -557,27 +543,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
557
543
|
`,
|
|
558
544
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
559
545
|
encapsulation: ViewEncapsulation.None,
|
|
560
|
-
providers: [DockStyle, { provide:
|
|
546
|
+
providers: [DockStyle, { provide: PARENT_INSTANCE, useExisting: Dock }],
|
|
561
547
|
host: {
|
|
562
|
-
'[class]':
|
|
548
|
+
'[class]': "cx('root')"
|
|
563
549
|
},
|
|
564
550
|
hostDirectives: [Bind]
|
|
565
551
|
}]
|
|
566
|
-
}], ctorParameters: () => [], propDecorators: { id: [{
|
|
567
|
-
type: Input
|
|
568
|
-
}], styleClass: [{
|
|
569
|
-
type: Input
|
|
570
|
-
}], model: [{
|
|
571
|
-
type: Input
|
|
572
|
-
}], position: [{
|
|
573
|
-
type: Input
|
|
574
|
-
}], ariaLabel: [{
|
|
575
|
-
type: Input
|
|
576
|
-
}], breakpoint: [{
|
|
577
|
-
type: Input
|
|
578
|
-
}], ariaLabelledBy: [{
|
|
579
|
-
type: Input
|
|
580
|
-
}], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], listViewChild: [{ type: i0.ViewChild, args: ['list', { isSignal: true }] }], itemTemplate: [{ type: i0.ContentChild, args: ['item', { isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
|
|
552
|
+
}], ctorParameters: () => [], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], model: [{ type: i0.Input, args: [{ isSignal: true, alias: "model", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], breakpoint: [{ type: i0.Input, args: [{ isSignal: true, alias: "breakpoint", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], listViewChild: [{ type: i0.ViewChild, args: ['list', { isSignal: true }] }], itemTemplate: [{ type: i0.ContentChild, args: ['item', { isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
|
|
581
553
|
class DockModule {
|
|
582
554
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: DockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
583
555
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: DockModule, imports: [Dock, SharedModule], exports: [Dock, SharedModule] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exhaustive-ui-core-dock.mjs","sources":["../../src/dock/style/dockstyle.ts","../../src/dock/dock.ts","../../src/dock/exhaustive-ui-core-dock.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@exhaustive-ui/styles/dock';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst classes = {\n root: ({ instance }) => [\n 'p-dock p-component',\n `p-dock-${instance.position}`,\n {\n 'p-dock-mobile': instance.queryMatches()\n }\n ],\n listContainer: 'p-dock-list-container',\n list: 'p-dock-list',\n item: ({ instance, item, id }) => [\n 'p-dock-item',\n {\n 'p-focus': instance.isItemActive(id),\n 'p-disabled': instance.disabled(item)\n }\n ],\n itemContent: 'p-dock-item-content',\n itemLink: 'p-dock-item-link',\n itemIcon: 'p-dock-item-icon'\n};\n\n@Injectable()\nexport class DockStyle extends BaseStyle {\n name = 'dock';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * Dock is a navigation component consisting of menuitems.\n *\n * [Live Demo](https://exhaustive-ui.e-xiste.com/dock/)\n *\n * @module dockstyle\n *\n */\nexport enum DockClasses {\n /**\n * Class name of the root element\n */\n root = 'p-dock',\n /**\n * Class name of the list container element\n */\n listContainer = 'p-dock-list-container',\n /**\n * Class name of the list element\n */\n list = 'p-dock-list',\n /**\n * Class name of the item element\n */\n item = 'p-dock-item',\n /**\n * Class name of the item content element\n */\n itemContent = 'p-dock-item-content',\n /**\n * Class name of the item link element\n */\n itemLink = 'p-dock-item-link',\n /**\n * Class name of the item icon element\n */\n itemIcon = 'p-dock-item-icon'\n}\n\nexport interface DockStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, inject, InjectionToken, Input, NgModule, signal, TemplateRef, ViewEncapsulation, viewChild, contentChild, contentChildren, output } from '@angular/core';\nimport { RouterLink, RouterLinkActive, RouterModule } from '@angular/router';\nimport { find, findSingle, resolve, uuid } from '@exhaustive-ui/utils';\nimport { MenuItem, PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';\nimport { Badge } from '@exhaustive-ui/core/badge';\nimport { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { Bind } from '@exhaustive-ui/core/bind';\nimport { Ripple } from '@exhaustive-ui/core/ripple';\nimport { TooltipModule } from '@exhaustive-ui/core/tooltip';\nimport { DockItemTemplateContext, DockPassThrough } from '@exhaustive-ui/core/types/dock';\nimport { DockStyle } from './style/dockstyle';\n\nconst DOCK_INSTANCE = new InjectionToken<Dock>('DOCK_INSTANCE');\n\n/**\n * Dock is a navigation component consisting of menuitems.\n * @group Components\n */\n@Component({\n selector: 'p-dock',\n standalone: true,\n imports: [CommonModule, RouterModule, RouterLink, RouterLinkActive, Ripple, TooltipModule, SharedModule, Bind, Badge],\n template: `\n <div [class]=\"cx('listContainer')\" [pBind]=\"ptm('listContainer')\">\n <ul\n #list\n [attr.id]=\"id\"\n [class]=\"cx('list')\"\n role=\"menu\"\n [attr.aria-orientation]=\"position === 'bottom' || position === 'top' ? 'horizontal' : 'vertical'\"\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\n [tabindex]=\"tabindex\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n (focus)=\"onListFocus($event)\"\n (blur)=\"onListBlur($event)\"\n (keydown)=\"onListKeyDown($event)\"\n (mouseleave)=\"onListMouseLeave()\"\n [pBind]=\"ptm('list')\"\n >\n @for (item of model; track item.label; let i = $index) {\n @if (item.visible !== false) {\n <li\n [attr.id]=\"getItemId(item, i)\"\n [class]=\"cn(cx('item', { item, id: getItemId(item, i) }), item?.styleClass)\"\n [ngStyle]=\"item.style\"\n role=\"menuitem\"\n [attr.aria-label]=\"item.label\"\n [attr.aria-disabled]=\"disabled(item) || false\"\n (click)=\"onItemClick($event, item)\"\n (mouseenter)=\"onItemMouseEnter(i)\"\n [pBind]=\"getPTOptions(item, i, 'item')\"\n [attr.data-p-focused]=\"isItemActive(getItemId(item, i))\"\n [attr.data-p-disabled]=\"disabled(item) || false\"\n >\n <div [class]=\"cx('itemContent')\" [pBind]=\"getPTOptions(item, i, 'itemContent')\">\n @if (isClickableRouterLink(item)) {\n <a\n pRipple\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [class]=\"cn(cx('itemLink'), item?.linkClass)\"\n [ngStyle]=\"item?.linkStyle\"\n routerLinkActive=\"router-link-active\"\n [routerLinkActiveOptions]=\"item.routerLinkActiveOptions || { exact: false }\"\n [target]=\"item.target\"\n [attr.title]=\"item.title\"\n [attr.data-automationid]=\"item.automationId\"\n [attr.tabindex]=\"item.disabled ? null : item.tabindex ? item.tabindex : '-1'\"\n pTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [pTooltipUnstyled]=\"unstyled()\"\n [fragment]=\"item.fragment\"\n [queryParamsHandling]=\"item.queryParamsHandling\"\n [preserveFragment]=\"item.preserveFragment\"\n [skipLocationChange]=\"item.skipLocationChange\"\n [replaceUrl]=\"item.replaceUrl\"\n [state]=\"item.state\"\n [attr.aria-hidden]=\"true\"\n [pBind]=\"getPTOptions(item, i, 'itemLink')\"\n >\n @if (item.icon && !itemTemplate() && !_itemTemplate) {\n <span [class]=\"cn(cx('itemIcon'), item.icon, item.iconClass)\" [ngStyle]=\"item.iconStyle\" [pBind]=\"getPTOptions(item, i, 'itemIcon')\"></span>\n }\n <ng-container *ngTemplateOutlet=\"itemTemplate() || itemTemplate(); context: { $implicit: item }\"></ng-container>\n @if (item.badge) {\n <p-badge [styleClass]=\"item.badgeStyleClass\" [value]=\"item.badge\" [pt]=\"getPTOptions(item, i, 'pcBadge')\" [unstyled]=\"unstyled()\" />\n }\n </a>\n } @else {\n <a\n [tooltipPosition]=\"item.tooltipPosition\"\n [attr.href]=\"item.url || null\"\n [class]=\"cn(cx('itemLink'), item?.linkClass)\"\n [ngStyle]=\"item?.linkStyle\"\n pRipple\n pTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [pTooltipUnstyled]=\"unstyled()\"\n [target]=\"item.target\"\n [attr.title]=\"item.title\"\n [attr.data-automationid]=\"item.automationId\"\n [attr.tabindex]=\"item.disabled ? null : item.tabindex ? item.tabindex : '-1'\"\n [attr.aria-hidden]=\"true\"\n [pBind]=\"getPTOptions(item, i, 'itemLink')\"\n >\n @if (item.icon && !itemTemplate() && !_itemTemplate) {\n <span [class]=\"cn(cx('itemIcon'), item.icon, item.iconClass)\" [ngStyle]=\"item.iconStyle\" [pBind]=\"getPTOptions(item, i, 'itemIcon')\"></span>\n }\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item }\"></ng-container>\n @if (item.badge) {\n <p-badge [styleClass]=\"item.badgeStyleClass\" [value]=\"item.badge\" [pt]=\"getPTOptions(item, i, 'pcBadge')\" [unstyled]=\"unstyled()\" />\n }\n </a>\n }\n </div>\n </li>\n }\n }\n </ul>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [DockStyle, { provide: DOCK_INSTANCE, useExisting: Dock }, { provide: PARENT_INSTANCE, useExisting: Dock }],\n host: {\n '[class]': 'cn(cx(\"root\"), styleClass)'\n },\n hostDirectives: [Bind]\n})\nexport class Dock extends BaseComponent<DockPassThrough> {\n cd = inject(ChangeDetectorRef);\n\n componentName = 'Dock';\n\n /**\n * Current id state as a string.\n * @group Props\n */\n @Input() id: string | undefined;\n /**\n * Class of the element.\n * @deprecated since v20.0.0, use `class` instead.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * MenuModel instance to define the action items.\n * @group Props\n */\n @Input() model: MenuItem[] | undefined | null = null;\n /**\n * Position of element.\n * @group Props\n */\n @Input() position: 'bottom' | 'top' | 'left' | 'right' = 'bottom';\n /**\n * Defines a string that labels the input for accessibility.\n * @group Props\n */\n @Input() ariaLabel: string | undefined;\n /**\n * The breakpoint to define the maximum width boundary.\n * @defaultValue 960px\n * @group Props\n */\n @Input() breakpoint: string | undefined = '960px';\n /**\n * Defines a string that labels the dropdown button for accessibility.\n * @group Props\n */\n @Input() ariaLabelledBy: string | undefined;\n /**\n * Callback to execute when button is focused.\n * @param {FocusEvent} event - Focus event.\n * @group Emits\n */\n readonly onFocus = output<FocusEvent>();\n /**\n * Callback to invoke when the component loses focus.\n * @param {FocusEvent} event - Focus event.\n * @group Emits\n */\n readonly onBlur = output<FocusEvent>();\n\n readonly listViewChild = viewChild.required<ElementRef>('list');\n\n currentIndex: number;\n\n tabindex: number = 0;\n\n focused: boolean = false;\n\n focusedOptionIndex: string | number = -1;\n\n _componentStyle = inject(DockStyle);\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n $pcDock: Dock | undefined = inject(DOCK_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n matchMediaListener: any;\n\n query: any;\n\n queryMatches = signal<boolean>(false);\n\n mobileActive = signal<boolean>(false);\n\n get focusedOptionId() {\n return this.focusedOptionIndex !== -1 && this.focusedOptionIndex !== '-1' ? String(this.focusedOptionIndex) : null;\n }\n\n constructor() {\n super();\n this.currentIndex = -3;\n }\n\n onInit() {\n this.id = this.id || uuid('pn_id_');\n this.bindMatchMediaListener();\n }\n\n onDestroy() {\n this.unbindMatchMediaListener();\n }\n\n /**\n * Custom item template.\n * @param {DockItemTemplateContext} context - item template context.\n * @group Templates\n */\n readonly itemTemplate = contentChild<TemplateRef<DockItemTemplateContext>>('item');\n\n _itemTemplate: TemplateRef<DockItemTemplateContext> | undefined;\n\n getItemId(item, index) {\n return item && item?.id ? item.id : `${index}`;\n }\n\n getItemProp(processedItem, name) {\n return processedItem && processedItem.item ? resolve(processedItem.item[name]) : undefined;\n }\n\n disabled(item) {\n return typeof item.disabled === 'function' ? item.disabled() : item.disabled || false;\n }\n\n isItemActive(id) {\n return String(id) === String(this.focusedOptionIndex);\n }\n\n onListMouseLeave() {\n this.currentIndex = -3;\n this.cd.markForCheck();\n }\n\n onItemMouseEnter(index: number) {\n this.currentIndex = index;\n\n if (index === 1) {\n }\n\n this.cd.markForCheck();\n }\n\n onItemClick(e: Event, item: MenuItem) {\n if (item.command) {\n item.command({ originalEvent: e, item });\n }\n }\n\n onListFocus(event) {\n this.focused = true;\n this.changeFocusedOptionIndex(0);\n this.onFocus.emit(event);\n }\n\n onListBlur(event) {\n this.focused = false;\n this.focusedOptionIndex = -1;\n this.onBlur.emit(event);\n }\n\n onListKeyDown(event) {\n switch (event.code) {\n case 'ArrowDown': {\n if (this.position === 'left' || this.position === 'right') this.onArrowDownKey();\n event.preventDefault();\n break;\n }\n\n case 'ArrowUp': {\n if (this.position === 'left' || this.position === 'right') this.onArrowUpKey();\n event.preventDefault();\n break;\n }\n\n case 'ArrowRight': {\n if (this.position === 'top' || this.position === 'bottom') this.onArrowDownKey();\n event.preventDefault();\n break;\n }\n\n case 'ArrowLeft': {\n if (this.position === 'top' || this.position === 'bottom') this.onArrowUpKey();\n event.preventDefault();\n break;\n }\n\n case 'Home': {\n this.onHomeKey();\n event.preventDefault();\n break;\n }\n\n case 'End': {\n this.onEndKey();\n event.preventDefault();\n break;\n }\n\n case 'Enter':\n\n case 'Space': {\n this.onSpaceKey();\n event.preventDefault();\n break;\n }\n\n default:\n break;\n }\n }\n\n onArrowDownKey() {\n const optionIndex = this.findNextOptionIndex(this.focusedOptionIndex);\n\n this.changeFocusedOptionIndex(optionIndex);\n }\n\n onArrowUpKey() {\n const optionIndex = this.findPrevOptionIndex(this.focusedOptionIndex);\n\n this.changeFocusedOptionIndex(optionIndex);\n }\n\n onHomeKey() {\n this.changeFocusedOptionIndex(0);\n }\n\n onEndKey() {\n this.changeFocusedOptionIndex(find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]').length - 1);\n }\n\n onSpaceKey() {\n const element = <HTMLElement>findSingle(this.listViewChild().nativeElement, `li[id=\"${`${this.focusedOptionIndex}`}\"]`);\n const anchorElement = element && <HTMLElement>findSingle(element, 'a,button');\n\n anchorElement ? anchorElement.click() : element && element.click();\n }\n\n findNextOptionIndex(index) {\n const menuitems = find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]');\n const matchedOptionIndex = [...menuitems].findIndex((link) => link.id === index);\n\n return matchedOptionIndex > -1 ? matchedOptionIndex + 1 : 0;\n }\n\n changeFocusedOptionIndex(index) {\n const menuitems = <any>find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]');\n\n let order = index >= menuitems.length ? menuitems.length - 1 : index < 0 ? 0 : index;\n\n this.focusedOptionIndex = menuitems[order]?.getAttribute('id');\n }\n\n findPrevOptionIndex(index) {\n const menuitems = find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]');\n const matchedOptionIndex = [...menuitems].findIndex((link) => link.id === index);\n\n return matchedOptionIndex > -1 ? matchedOptionIndex - 1 : 0;\n }\n\n isClickableRouterLink(item: any) {\n return !!item.routerLink && !this.disabled(item);\n }\n\n readonly templates = contentChildren(PrimeTemplate);\n\n onAfterContentInit() {\n this.templates()?.forEach((item) => {\n switch (item.getType()) {\n case 'item':\n this._itemTemplate = item.template;\n break;\n\n default:\n this._itemTemplate = item.template;\n break;\n }\n });\n }\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\n }\n\n getPTOptions(item: MenuItem, index: number, key: string) {\n return this.ptm(key, {\n context: {\n item,\n index\n }\n });\n }\n\n bindMatchMediaListener() {\n if (!this.matchMediaListener) {\n const query = window.matchMedia(`(max-width: ${this.breakpoint})`);\n this.query = query;\n this.queryMatches.set(query.matches);\n\n this.matchMediaListener = () => {\n this.queryMatches.set(query.matches);\n this.mobileActive.set(false);\n };\n\n this.renderer.listen(this.query, 'change', this.matchMediaListener.bind(this));\n }\n }\n\n unbindMatchMediaListener() {\n if (this.matchMediaListener) {\n this.matchMediaListener();\n this.matchMediaListener = null;\n this.query = null;\n }\n }\n}\n\n@NgModule({\n imports: [Dock, SharedModule],\n exports: [Dock, SharedModule]\n})\nexport class DockModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAIA,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK;QACpB,oBAAoB;QACpB,CAAA,OAAA,EAAU,Q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AAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MA4J5C,aAAa,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;MAyDzC,UAAU,CAAA;uGAAV,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAV,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,YA3TV,IAAI,EAwTG,YAAY,CAAA,EAAA,OAAA,EAAA,CAxTnB,IAAI,EAyTG,YAAY,CAAA,EAAA,CAAA;AAEnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,EAAA,OAAA,EAAA,CAHT,IAAI,EAAE,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA;;2FAEnB,UAAU,EAAA,UAAA,EAAA,CAAA;kBAJtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,IAAI,EAAE,YAAY,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,IAAI,EAAE,YAAY;AAC/B,iBAAA;;;AC7bD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"exhaustive-ui-core-dock.mjs","sources":["../../src/dock/style/dockstyle.ts","../../src/dock/dock.ts","../../src/dock/exhaustive-ui-core-dock.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@exhaustive-ui/styles/dock';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst classes = {\n root: ({ instance }) => [\n 'p-dock p-component',\n `p-dock-${instance.position()}`,\n {\n 'p-dock-mobile': instance.queryMatches()\n }\n ],\n listContainer: 'p-dock-list-container',\n list: 'p-dock-list',\n item: ({ instance, item, id }) => [\n 'p-dock-item',\n {\n 'p-focus': instance.isItemActive(id),\n 'p-disabled': instance.disabled(item)\n }\n ],\n itemContent: 'p-dock-item-content',\n itemLink: 'p-dock-item-link',\n itemIcon: 'p-dock-item-icon'\n};\n\n@Injectable()\nexport class DockStyle extends BaseStyle {\n name = 'dock';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * Dock is a navigation component consisting of menuitems.\n *\n * [Live Demo](https://exhaustive-ui.e-xiste.com/dock/)\n *\n * @module dockstyle\n *\n */\nexport enum DockClasses {\n /**\n * Class name of the root element\n */\n root = 'p-dock',\n /**\n * Class name of the list container element\n */\n listContainer = 'p-dock-list-container',\n /**\n * Class name of the list element\n */\n list = 'p-dock-list',\n /**\n * Class name of the item element\n */\n item = 'p-dock-item',\n /**\n * Class name of the item content element\n */\n itemContent = 'p-dock-item-content',\n /**\n * Class name of the item link element\n */\n itemLink = 'p-dock-item-link',\n /**\n * Class name of the item icon element\n */\n itemIcon = 'p-dock-item-icon'\n}\n\nexport interface DockStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { afterEveryRender, ChangeDetectionStrategy, Component, computed, ElementRef, inject, input, NgModule, signal, TemplateRef, ViewEncapsulation, viewChild, contentChild, contentChildren, output } from '@angular/core';\nimport { RouterLink, RouterLinkActive, RouterModule } from '@angular/router';\nimport { find, findSingle, resolve, uuid } from '@exhaustive-ui/utils';\nimport { MenuItem, PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';\nimport { Badge } from '@exhaustive-ui/core/badge';\nimport { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { Bind } from '@exhaustive-ui/core/bind';\nimport { Ripple } from '@exhaustive-ui/core/ripple';\nimport { TooltipModule } from '@exhaustive-ui/core/tooltip';\nimport { DockItemTemplateContext, DockPassThrough } from '@exhaustive-ui/core/types/dock';\nimport { DockStyle } from './style/dockstyle';\n\n/**\n * Dock is a navigation component consisting of menuitems.\n * @group Components\n */\n@Component({\n selector: 'p-dock',\n imports: [CommonModule, RouterModule, RouterLink, RouterLinkActive, Ripple, TooltipModule, SharedModule, Bind, Badge],\n template: `\n <div [class]=\"cx('listContainer')\" [pBind]=\"ptm('listContainer')\">\n <ul\n #list\n [attr.id]=\"_id()\"\n [class]=\"cx('list')\"\n role=\"menu\"\n [attr.aria-orientation]=\"position() === 'bottom' || position() === 'top' ? 'horizontal' : 'vertical'\"\n [attr.aria-activedescendant]=\"focused() ? focusedOptionId() : undefined\"\n [tabindex]=\"tabindex\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n (focus)=\"onListFocus($event)\"\n (blur)=\"onListBlur($event)\"\n (keydown)=\"onListKeyDown($event)\"\n (mouseleave)=\"onListMouseLeave()\"\n [pBind]=\"ptm('list')\"\n >\n @for (item of model(); track item.label; let i = $index) {\n @if (item.visible !== false) {\n <li\n [attr.id]=\"getItemId(item, i)\"\n [class]=\"cn(cx('item', { item, id: getItemId(item, i) }), item?.styleClass)\"\n [ngStyle]=\"item.style\"\n role=\"menuitem\"\n [attr.aria-label]=\"item.label\"\n [attr.aria-disabled]=\"disabled(item) || false\"\n (click)=\"onItemClick($event, item)\"\n (mouseenter)=\"onItemMouseEnter(i)\"\n [pBind]=\"getPTOptions(item, i, 'item')\"\n [attr.data-p-focused]=\"isItemActive(getItemId(item, i))\"\n [attr.data-p-disabled]=\"disabled(item) || false\"\n >\n <div [class]=\"cx('itemContent')\" [pBind]=\"getPTOptions(item, i, 'itemContent')\">\n @if (isClickableRouterLink(item)) {\n <a\n pRipple\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [class]=\"cn(cx('itemLink'), item?.linkClass)\"\n [ngStyle]=\"item?.linkStyle\"\n routerLinkActive=\"router-link-active\"\n [routerLinkActiveOptions]=\"item.routerLinkActiveOptions || { exact: false }\"\n [target]=\"item.target\"\n [attr.title]=\"item.title\"\n [attr.data-automationid]=\"item.automationId\"\n [attr.tabindex]=\"item.disabled ? null : item.tabindex ? item.tabindex : '-1'\"\n pTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [pTooltipUnstyled]=\"unstyled()\"\n [fragment]=\"item.fragment\"\n [queryParamsHandling]=\"item.queryParamsHandling\"\n [preserveFragment]=\"item.preserveFragment\"\n [skipLocationChange]=\"item.skipLocationChange\"\n [replaceUrl]=\"item.replaceUrl\"\n [state]=\"item.state\"\n [attr.aria-hidden]=\"true\"\n [pBind]=\"getPTOptions(item, i, 'itemLink')\"\n >\n @if (item.icon && !itemTemplate() && !_itemTemplate()) {\n <span [class]=\"cn(cx('itemIcon'), item.icon, item.iconClass)\" [ngStyle]=\"item.iconStyle\" [pBind]=\"getPTOptions(item, i, 'itemIcon')\"></span>\n }\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate(); context: { $implicit: item }\"></ng-container>\n @if (item.badge) {\n <p-badge [class]=\"item.badgeStyleClass\" [value]=\"item.badge\" [pt]=\"getPTOptions(item, i, 'pcBadge')\" [unstyled]=\"unstyled()\" />\n }\n </a>\n } @else {\n <a\n [tooltipPosition]=\"item.tooltipPosition\"\n [attr.href]=\"item.url || null\"\n [class]=\"cn(cx('itemLink'), item?.linkClass)\"\n [ngStyle]=\"item?.linkStyle\"\n pRipple\n pTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [pTooltipUnstyled]=\"unstyled()\"\n [target]=\"item.target\"\n [attr.title]=\"item.title\"\n [attr.data-automationid]=\"item.automationId\"\n [attr.tabindex]=\"item.disabled ? null : item.tabindex ? item.tabindex : '-1'\"\n [attr.aria-hidden]=\"true\"\n [pBind]=\"getPTOptions(item, i, 'itemLink')\"\n >\n @if (item.icon && !itemTemplate() && !_itemTemplate()) {\n <span [class]=\"cn(cx('itemIcon'), item.icon, item.iconClass)\" [ngStyle]=\"item.iconStyle\" [pBind]=\"getPTOptions(item, i, 'itemIcon')\"></span>\n }\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate(); context: { $implicit: item }\"></ng-container>\n @if (item.badge) {\n <p-badge [class]=\"item.badgeStyleClass\" [value]=\"item.badge\" [pt]=\"getPTOptions(item, i, 'pcBadge')\" [unstyled]=\"unstyled()\" />\n }\n </a>\n }\n </div>\n </li>\n }\n }\n </ul>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [DockStyle, { provide: PARENT_INSTANCE, useExisting: Dock }],\n host: {\n '[class]': \"cx('root')\"\n },\n hostDirectives: [Bind]\n})\nexport class Dock extends BaseComponent<DockPassThrough> {\n componentName = 'Dock';\n\n /**\n * Current id state as a string.\n * @group Props\n */\n readonly id = input<string | undefined>();\n\n readonly _id = computed(() => this.id() || uuid('pn_id_'));\n /**\n * MenuModel instance to define the action items.\n * @group Props\n */\n readonly model = input<MenuItem[] | undefined | null>(null);\n /**\n * Position of element.\n * @group Props\n */\n readonly position = input<'bottom' | 'top' | 'left' | 'right'>('bottom');\n /**\n * Defines a string that labels the input for accessibility.\n * @group Props\n */\n readonly ariaLabel = input<string | undefined>();\n /**\n * The breakpoint to define the maximum width boundary.\n * @defaultValue 960px\n * @group Props\n */\n readonly breakpoint = input<string | undefined>('960px');\n /**\n * Defines a string that labels the dropdown button for accessibility.\n * @group Props\n */\n readonly ariaLabelledBy = input<string | undefined>();\n /**\n * Callback to execute when button is focused.\n * @param {FocusEvent} event - Focus event.\n * @group Emits\n */\n readonly onFocus = output<FocusEvent>();\n /**\n * Callback to invoke when the component loses focus.\n * @param {FocusEvent} event - Focus event.\n * @group Emits\n */\n readonly onBlur = output<FocusEvent>();\n\n readonly listViewChild = viewChild.required<ElementRef>('list');\n\n currentIndex = signal<number>(-3);\n\n tabindex: number = 0;\n\n focused = signal<boolean>(false);\n\n focusedOptionIndex = signal<string | number>(-1);\n\n _componentStyle = inject(DockStyle);\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n matchMediaListener = signal<any>(undefined);\n\n query = signal<any>(undefined);\n\n queryMatches = signal<boolean>(false);\n\n mobileActive = signal<boolean>(false);\n\n readonly focusedOptionId = computed(() => {\n const focusedOptionIndex = this.focusedOptionIndex();\n\n return focusedOptionIndex !== -1 && focusedOptionIndex !== '-1' ? String(focusedOptionIndex) : null;\n });\n\n constructor() {\n super();\n afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));\n }\n\n onInit() {\n this.bindMatchMediaListener();\n }\n\n onDestroy() {\n this.unbindMatchMediaListener();\n }\n\n /**\n * Custom item template.\n * @param {DockItemTemplateContext} context - item template context.\n * @group Templates\n */\n readonly itemTemplate = contentChild<TemplateRef<DockItemTemplateContext>>('item');\n\n readonly _itemTemplate = computed<TemplateRef<DockItemTemplateContext> | undefined>(() => this.templates().at(-1)?.template);\n\n getItemId(item, index) {\n return item && item?.id ? item.id : `${index}`;\n }\n\n getItemProp(processedItem, name) {\n return processedItem && processedItem.item ? resolve(processedItem.item[name]) : undefined;\n }\n\n disabled(item) {\n return typeof item.disabled === 'function' ? item.disabled() : item.disabled || false;\n }\n\n isItemActive(id) {\n return String(id) === String(this.focusedOptionIndex());\n }\n\n onListMouseLeave() {\n this.currentIndex.set(-3);\n }\n\n onItemMouseEnter(index: number) {\n this.currentIndex.set(index);\n }\n\n onItemClick(e: Event, item: MenuItem) {\n if (item.command) {\n item.command({ originalEvent: e, item });\n }\n }\n\n onListFocus(event) {\n this.focused.set(true);\n this.changeFocusedOptionIndex(0);\n this.onFocus.emit(event);\n }\n\n onListBlur(event) {\n this.focused.set(false);\n this.focusedOptionIndex.set(-1);\n this.onBlur.emit(event);\n }\n\n onListKeyDown(event) {\n switch (event.code) {\n case 'ArrowDown': {\n if (this.position() === 'left' || this.position() === 'right') this.onArrowDownKey();\n event.preventDefault();\n break;\n }\n\n case 'ArrowUp': {\n if (this.position() === 'left' || this.position() === 'right') this.onArrowUpKey();\n event.preventDefault();\n break;\n }\n\n case 'ArrowRight': {\n if (this.position() === 'top' || this.position() === 'bottom') this.onArrowDownKey();\n event.preventDefault();\n break;\n }\n\n case 'ArrowLeft': {\n if (this.position() === 'top' || this.position() === 'bottom') this.onArrowUpKey();\n event.preventDefault();\n break;\n }\n\n case 'Home': {\n this.onHomeKey();\n event.preventDefault();\n break;\n }\n\n case 'End': {\n this.onEndKey();\n event.preventDefault();\n break;\n }\n\n case 'Enter':\n\n case 'Space': {\n this.onSpaceKey();\n event.preventDefault();\n break;\n }\n\n default:\n break;\n }\n }\n\n onArrowDownKey() {\n const optionIndex = this.findNextOptionIndex(this.focusedOptionIndex());\n\n this.changeFocusedOptionIndex(optionIndex);\n }\n\n onArrowUpKey() {\n const optionIndex = this.findPrevOptionIndex(this.focusedOptionIndex());\n\n this.changeFocusedOptionIndex(optionIndex);\n }\n\n onHomeKey() {\n this.changeFocusedOptionIndex(0);\n }\n\n onEndKey() {\n this.changeFocusedOptionIndex(find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]').length - 1);\n }\n\n onSpaceKey() {\n const element = <HTMLElement>findSingle(this.listViewChild().nativeElement, `li[id=\"${`${this.focusedOptionIndex()}`}\"]`);\n const anchorElement = element && <HTMLElement>findSingle(element, 'a,button');\n\n anchorElement ? anchorElement.click() : element && element.click();\n }\n\n findNextOptionIndex(index) {\n const menuitems = find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]');\n const matchedOptionIndex = [...menuitems].findIndex((link) => link.id === index);\n\n return matchedOptionIndex > -1 ? matchedOptionIndex + 1 : 0;\n }\n\n changeFocusedOptionIndex(index) {\n const menuitems = <any>find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]');\n\n let order = index >= menuitems.length ? menuitems.length - 1 : index < 0 ? 0 : index;\n\n this.focusedOptionIndex.set(menuitems[order]?.getAttribute('id'));\n }\n\n findPrevOptionIndex(index) {\n const menuitems = find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]');\n const matchedOptionIndex = [...menuitems].findIndex((link) => link.id === index);\n\n return matchedOptionIndex > -1 ? matchedOptionIndex - 1 : 0;\n }\n\n isClickableRouterLink(item: any) {\n return !!item.routerLink && !this.disabled(item);\n }\n\n readonly templates = contentChildren(PrimeTemplate);\n\n getPTOptions(item: MenuItem, index: number, key: string) {\n return this.ptm(key, {\n context: {\n item,\n index\n }\n });\n }\n\n bindMatchMediaListener() {\n if (!this.matchMediaListener()) {\n const query = window.matchMedia(`(max-width: ${this.breakpoint()})`);\n this.query.set(query);\n this.queryMatches.set(query.matches);\n\n this.matchMediaListener.set(() => {\n this.queryMatches.set(query.matches);\n this.mobileActive.set(false);\n });\n\n this.renderer.listen(this.query(), 'change', this.matchMediaListener().bind(this));\n }\n }\n\n unbindMatchMediaListener() {\n if (this.matchMediaListener()) {\n this.matchMediaListener()();\n this.matchMediaListener.set(null);\n this.query.set(null);\n }\n }\n}\n\n@NgModule({\n imports: [Dock, SharedModule],\n exports: [Dock, SharedModule]\n})\nexport class DockModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAIA,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK;QACpB,oBAAoB;AACpB,QAAA,CAAA,OAAA,EAAU,QAAQ,CAAC,QAAQ,EAAE,CAAA,CAAE;AAC/B,QAAA;AACI,YAAA,eAAe,EAAE,QAAQ,CAAC,YAAY;AACzC;AACJ,KAAA;AACD,IAAA,aAAa,EAAE,uBAAuB;AACtC,IAAA,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EA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