@gravionlabs/helix-core 22.1.2 → 22.1.4
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/gravionlabs-helix-core-accordion.mjs +994 -541
- package/fesm2022/gravionlabs-helix-core-accordion.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-animateonscroll.mjs +265 -166
- package/fesm2022/gravionlabs-helix-core-animateonscroll.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-api.mjs +926 -836
- package/fesm2022/gravionlabs-helix-core-api.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-autocomplete.mjs +2603 -1611
- package/fesm2022/gravionlabs-helix-core-autocomplete.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-autofocus.mjs +115 -79
- package/fesm2022/gravionlabs-helix-core-autofocus.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-avatar.mjs +356 -180
- package/fesm2022/gravionlabs-helix-core-avatar.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-avatargroup.mjs +200 -84
- package/fesm2022/gravionlabs-helix-core-avatargroup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-badge.mjs +671 -390
- package/fesm2022/gravionlabs-helix-core-badge.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-base.mjs +113 -103
- package/fesm2022/gravionlabs-helix-core-base.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-basecomponent.mjs +498 -444
- package/fesm2022/gravionlabs-helix-core-basecomponent.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-baseeditableholder.mjs +131 -69
- package/fesm2022/gravionlabs-helix-core-baseeditableholder.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-baseinput.mjs +210 -94
- package/fesm2022/gravionlabs-helix-core-baseinput.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-basemodelholder.mjs +39 -26
- package/fesm2022/gravionlabs-helix-core-basemodelholder.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-bind.mjs +136 -98
- package/fesm2022/gravionlabs-helix-core-bind.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-blockui.mjs +390 -224
- package/fesm2022/gravionlabs-helix-core-blockui.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-breadcrumb.mjs +473 -212
- package/fesm2022/gravionlabs-helix-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-button.mjs +1739 -825
- package/fesm2022/gravionlabs-helix-core-button.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-buttongroup.mjs +116 -64
- package/fesm2022/gravionlabs-helix-core-buttongroup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-card.mjs +454 -205
- package/fesm2022/gravionlabs-helix-core-card.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-carousel.mjs +1238 -898
- package/fesm2022/gravionlabs-helix-core-carousel.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-cascadeselect.mjs +2373 -1337
- package/fesm2022/gravionlabs-helix-core-cascadeselect.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-chart.mjs +407 -214
- package/fesm2022/gravionlabs-helix-core-chart.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-checkbox.mjs +704 -346
- package/fesm2022/gravionlabs-helix-core-checkbox.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-chip.mjs +489 -251
- package/fesm2022/gravionlabs-helix-core-chip.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-classnames.mjs +95 -48
- package/fesm2022/gravionlabs-helix-core-classnames.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-colorpicker.mjs +975 -667
- package/fesm2022/gravionlabs-helix-core-colorpicker.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-config.mjs +395 -306
- package/fesm2022/gravionlabs-helix-core-config.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-confirmdialog.mjs +1222 -546
- package/fesm2022/gravionlabs-helix-core-confirmdialog.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-confirmpopup.mjs +878 -524
- package/fesm2022/gravionlabs-helix-core-confirmpopup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-contextmenu.mjs +1917 -1031
- package/fesm2022/gravionlabs-helix-core-contextmenu.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dataview.mjs +1075 -522
- package/fesm2022/gravionlabs-helix-core-dataview.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-datepicker.mjs +3797 -3313
- package/fesm2022/gravionlabs-helix-core-datepicker.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dialog.mjs +1852 -1047
- package/fesm2022/gravionlabs-helix-core-dialog.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-divider.mjs +288 -136
- package/fesm2022/gravionlabs-helix-core-divider.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dock.mjs +655 -387
- package/fesm2022/gravionlabs-helix-core-dock.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dom.mjs +589 -760
- package/fesm2022/gravionlabs-helix-core-dom.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dragdrop.mjs +457 -302
- package/fesm2022/gravionlabs-helix-core-dragdrop.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-drawer.mjs +986 -507
- package/fesm2022/gravionlabs-helix-core-drawer.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dynamicdialog.mjs +849 -923
- package/fesm2022/gravionlabs-helix-core-dynamicdialog.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-editor.mjs +578 -383
- package/fesm2022/gravionlabs-helix-core-editor.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-fieldset.mjs +593 -280
- package/fesm2022/gravionlabs-helix-core-fieldset.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-fileupload.mjs +1882 -994
- package/fesm2022/gravionlabs-helix-core-fileupload.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-firsterror.mjs +41 -23
- package/fesm2022/gravionlabs-helix-core-firsterror.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-floatlabel.mjs +197 -94
- package/fesm2022/gravionlabs-helix-core-floatlabel.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-fluid.mjs +149 -74
- package/fesm2022/gravionlabs-helix-core-fluid.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-focustrap.mjs +141 -104
- package/fesm2022/gravionlabs-helix-core-focustrap.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-galleria.mjs +2800 -1449
- package/fesm2022/gravionlabs-helix-core-galleria.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-iconfield.mjs +214 -98
- package/fesm2022/gravionlabs-helix-core-iconfield.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angledoubledown.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angledoubledown.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleleft.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleup.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angledown.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angledown.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angleleft.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angleleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angleright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angleright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angleup.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angleup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowdown.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-arrowdown.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownleft.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowleft.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-arrowleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-arrowright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowup.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-arrowup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-ban.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-ban.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-bars.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-bars.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-baseicon.mjs +120 -64
- package/fesm2022/gravionlabs-helix-core-icons-baseicon.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-blank.mjs +42 -23
- package/fesm2022/gravionlabs-helix-core-icons-blank.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-calendar.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-calendar.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-caretleft.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-caretleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-caretright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-caretright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-check.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-check.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-chevrondown.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-chevrondown.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-chevronleft.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-chevronleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-chevronright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-chevronright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-chevronup.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-chevronup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-exclamationtriangle.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-exclamationtriangle.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-eye.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-eye.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-eyeslash.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-eyeslash.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-filter.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-filter.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-filterfill.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-filterfill.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-filterslash.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-filterslash.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-home.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-home.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-infocircle.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-infocircle.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-minus.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-minus.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-pencil.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-pencil.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-plus.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-plus.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-refresh.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-refresh.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-search.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-search.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-searchminus.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-searchminus.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-searchplus.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-searchplus.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-sortalt.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-sortalt.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-sortamountdown.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-sortamountdown.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-sortamountupalt.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-sortamountupalt.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-spinner.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-spinner.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-star.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-star.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-starfill.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-starfill.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-thlarge.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-thlarge.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-times.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-times.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-timescircle.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-timescircle.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-trash.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-trash.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-undo.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-undo.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-upload.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-upload.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-windowmaximize.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-windowmaximize.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-windowminimize.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-windowminimize.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons.mjs +53 -63
- package/fesm2022/gravionlabs-helix-core-iftalabel.mjs +175 -81
- package/fesm2022/gravionlabs-helix-core-iftalabel.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-image.mjs +1089 -552
- package/fesm2022/gravionlabs-helix-core-image.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-imagecompare.mjs +348 -165
- package/fesm2022/gravionlabs-helix-core-imagecompare.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inplace.mjs +591 -249
- package/fesm2022/gravionlabs-helix-core-inplace.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputgroup.mjs +175 -91
- package/fesm2022/gravionlabs-helix-core-inputgroup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputgroupaddon.mjs +196 -73
- package/fesm2022/gravionlabs-helix-core-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputicon.mjs +207 -70
- package/fesm2022/gravionlabs-helix-core-inputicon.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputmask.mjs +1581 -1330
- package/fesm2022/gravionlabs-helix-core-inputmask.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputnumber.mjs +1696 -1294
- package/fesm2022/gravionlabs-helix-core-inputnumber.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputotp.mjs +576 -363
- package/fesm2022/gravionlabs-helix-core-inputotp.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputtext.mjs +344 -183
- package/fesm2022/gravionlabs-helix-core-inputtext.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-keyfilter.mjs +291 -252
- package/fesm2022/gravionlabs-helix-core-keyfilter.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-knob.mjs +642 -396
- package/fesm2022/gravionlabs-helix-core-knob.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-listbox.mjs +2354 -1401
- package/fesm2022/gravionlabs-helix-core-listbox.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-megamenu.mjs +1913 -1052
- package/fesm2022/gravionlabs-helix-core-megamenu.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-menu.mjs +1392 -767
- package/fesm2022/gravionlabs-helix-core-menu.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-menubar.mjs +1857 -984
- package/fesm2022/gravionlabs-helix-core-menubar.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-message.mjs +605 -288
- package/fesm2022/gravionlabs-helix-core-message.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-metergroup.mjs +719 -323
- package/fesm2022/gravionlabs-helix-core-metergroup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-motion.mjs +1178 -694
- package/fesm2022/gravionlabs-helix-core-motion.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-multiselect.mjs +3437 -1839
- package/fesm2022/gravionlabs-helix-core-multiselect.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-orderlist.mjs +1426 -753
- package/fesm2022/gravionlabs-helix-core-orderlist.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-organizationchart.mjs +755 -371
- package/fesm2022/gravionlabs-helix-core-organizationchart.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-overlay.mjs +984 -600
- package/fesm2022/gravionlabs-helix-core-overlay.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-overlaybadge.mjs +310 -107
- package/fesm2022/gravionlabs-helix-core-overlaybadge.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-paginator.mjs +1076 -564
- package/fesm2022/gravionlabs-helix-core-paginator.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-panel.mjs +759 -364
- package/fesm2022/gravionlabs-helix-core-panel.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-panelmenu.mjs +1909 -888
- package/fesm2022/gravionlabs-helix-core-panelmenu.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-passthrough.mjs +10 -18
- package/fesm2022/gravionlabs-helix-core-passthrough.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-password.mjs +1624 -894
- package/fesm2022/gravionlabs-helix-core-password.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-picklist.mjs +2415 -1359
- package/fesm2022/gravionlabs-helix-core-picklist.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-popover.mjs +708 -442
- package/fesm2022/gravionlabs-helix-core-popover.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-progressbar.mjs +380 -170
- package/fesm2022/gravionlabs-helix-core-progressbar.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-progressspinner.mjs +276 -121
- package/fesm2022/gravionlabs-helix-core-progressspinner.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-radiobutton.mjs +525 -291
- package/fesm2022/gravionlabs-helix-core-radiobutton.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-rating.mjs +529 -286
- package/fesm2022/gravionlabs-helix-core-rating.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-ripple.mjs +194 -175
- package/fesm2022/gravionlabs-helix-core-ripple.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-scroller.mjs +1384 -977
- package/fesm2022/gravionlabs-helix-core-scroller.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-scrollpanel.mjs +605 -458
- package/fesm2022/gravionlabs-helix-core-scrollpanel.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-scrolltop.mjs +565 -261
- package/fesm2022/gravionlabs-helix-core-scrolltop.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-select.mjs +2959 -1644
- package/fesm2022/gravionlabs-helix-core-select.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-selectbutton.mjs +644 -335
- package/fesm2022/gravionlabs-helix-core-selectbutton.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-skeleton.mjs +315 -160
- package/fesm2022/gravionlabs-helix-core-skeleton.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-slider.mjs +839 -630
- package/fesm2022/gravionlabs-helix-core-slider.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-speeddial.mjs +1183 -700
- package/fesm2022/gravionlabs-helix-core-speeddial.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-splitbutton.mjs +977 -375
- package/fesm2022/gravionlabs-helix-core-splitbutton.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-splitter.mjs +737 -509
- package/fesm2022/gravionlabs-helix-core-splitter.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-stepper.mjs +1397 -628
- package/fesm2022/gravionlabs-helix-core-stepper.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-steps.mjs +457 -272
- package/fesm2022/gravionlabs-helix-core-steps.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-styleclass.mjs +466 -344
- package/fesm2022/gravionlabs-helix-core-styleclass.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-table.mjs +9728 -5590
- package/fesm2022/gravionlabs-helix-core-table.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-tabs.mjs +1350 -735
- package/fesm2022/gravionlabs-helix-core-tabs.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-tag.mjs +343 -154
- package/fesm2022/gravionlabs-helix-core-tag.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-terminal.mjs +384 -214
- package/fesm2022/gravionlabs-helix-core-terminal.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-textarea.mjs +347 -209
- package/fesm2022/gravionlabs-helix-core-textarea.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-themes-aura.mjs +4846 -5618
- package/fesm2022/gravionlabs-helix-core-themes-aura.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-themes-lara.mjs +4961 -5809
- package/fesm2022/gravionlabs-helix-core-themes-lara.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-themes-nora.mjs +4780 -5567
- package/fesm2022/gravionlabs-helix-core-themes-nora.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-themes-types.mjs +0 -700
- package/fesm2022/gravionlabs-helix-core-themes.mjs +4 -9
- package/fesm2022/gravionlabs-helix-core-themes.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-tieredmenu.mjs +1967 -1048
- package/fesm2022/gravionlabs-helix-core-tieredmenu.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-timeline.mjs +370 -185
- package/fesm2022/gravionlabs-helix-core-timeline.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-toast.mjs +1083 -526
- package/fesm2022/gravionlabs-helix-core-toast.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-togglebutton.mjs +609 -315
- package/fesm2022/gravionlabs-helix-core-togglebutton.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-toggleswitch.mjs +504 -246
- package/fesm2022/gravionlabs-helix-core-toggleswitch.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-toolbar.mjs +350 -149
- package/fesm2022/gravionlabs-helix-core-toolbar.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-tooltip.mjs +1035 -795
- package/fesm2022/gravionlabs-helix-core-tooltip.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-tree.mjs +2673 -1668
- package/fesm2022/gravionlabs-helix-core-tree.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-treeselect.mjs +1773 -976
- package/fesm2022/gravionlabs-helix-core-treeselect.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-treetable.mjs +5963 -3647
- package/fesm2022/gravionlabs-helix-core-treetable.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-ts-helpers.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-accordion.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-autocomplete.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-avatar.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-avatargroup.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-badge.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-blockui.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-breadcrumb.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-button.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-card.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-carousel.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-cascadeselect.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-chart.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-checkbox.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-chip.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-colorpicker.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-confirmdialog.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-confirmpopup.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-contextmenu.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-dataview.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-datepicker.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-dialog.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-divider.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-dock.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-drawer.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-editor.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-fieldset.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-fileupload.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-floatlabel.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-fluid.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-galleria.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-iconfield.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-iftalabel.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-image.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-imagecompare.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inplace.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputgroup.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputgroupaddon.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputicon.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputmask.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputnumber.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputotp.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputtext.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-knob.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-listbox.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-megamenu.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-menu.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-menubar.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-message.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-metergroup.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-motion.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-multiselect.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-orderlist.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-organizationchart.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-overlay.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-overlaybadge.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-paginator.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-panel.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-panelmenu.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-password.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-picklist.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-popover.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-progressbar.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-progressspinner.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-radiobutton.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-rating.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-scroller.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-scrollpanel.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-scrolltop.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-select.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-selectbutton.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-skeleton.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-slider.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-speeddial.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-splitbutton.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-splitter.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-stepper.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-table.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-tabs.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-tag.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-terminal.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-textarea.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-tieredmenu.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-timeline.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-toast.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-togglebutton.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-toggleswitch.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-toolbar.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-tooltip.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-tree.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-treeselect.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-treetable.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-uix-motion.mjs +192 -282
- package/fesm2022/gravionlabs-helix-core-uix-motion.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-uix-styled.mjs +827 -813
- package/fesm2022/gravionlabs-helix-core-uix-styled.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-uix-utils.mjs +967 -1558
- package/fesm2022/gravionlabs-helix-core-uix-utils.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-usestyle.mjs +62 -52
- package/fesm2022/gravionlabs-helix-core-usestyle.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-utils.mjs +272 -366
- package/fesm2022/gravionlabs-helix-core-utils.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-validators.mjs +86 -93
- package/fesm2022/gravionlabs-helix-core-validators.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core.mjs +1 -5
- package/fesm2022/gravionlabs-helix-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/gravionlabs-helix-core-accordion.d.ts +317 -246
- package/types/gravionlabs-helix-core-animateonscroll.d.ts +89 -61
- package/types/gravionlabs-helix-core-api.d.ts +1743 -1777
- package/types/gravionlabs-helix-core-autocomplete.d.ts +1070 -750
- package/types/gravionlabs-helix-core-autofocus.d.ts +29 -26
- package/types/gravionlabs-helix-core-avatar.d.ts +165 -123
- package/types/gravionlabs-helix-core-avatargroup.d.ts +58 -48
- package/types/gravionlabs-helix-core-badge.d.ts +243 -162
- package/types/gravionlabs-helix-core-base.d.ts +46 -49
- package/types/gravionlabs-helix-core-basecomponent.d.ts +187 -170
- package/types/gravionlabs-helix-core-baseeditableholder.d.ts +63 -45
- package/types/gravionlabs-helix-core-baseinput.d.ts +121 -73
- package/types/gravionlabs-helix-core-basemodelholder.d.ts +9 -12
- package/types/gravionlabs-helix-core-bind.d.ts +36 -33
- package/types/gravionlabs-helix-core-blockui.d.ts +114 -90
- package/types/gravionlabs-helix-core-breadcrumb.d.ts +158 -132
- package/types/gravionlabs-helix-core-button.d.ts +716 -443
- package/types/gravionlabs-helix-core-buttongroup.d.ts +28 -33
- package/types/gravionlabs-helix-core-card.d.ts +156 -136
- package/types/gravionlabs-helix-core-carousel.d.ts +461 -361
- package/types/gravionlabs-helix-core-cascadeselect.d.ts +880 -604
- package/types/gravionlabs-helix-core-chart.d.ts +162 -115
- package/types/gravionlabs-helix-core-checkbox.d.ts +310 -211
- package/types/gravionlabs-helix-core-chip.d.ts +202 -147
- package/types/gravionlabs-helix-core-classnames.d.ts +23 -21
- package/types/gravionlabs-helix-core-colorpicker.d.ts +359 -290
- package/types/gravionlabs-helix-core-config.d.ts +249 -259
- package/types/gravionlabs-helix-core-confirmdialog.d.ts +498 -325
- package/types/gravionlabs-helix-core-confirmpopup.d.ts +273 -218
- package/types/gravionlabs-helix-core-contextmenu.d.ts +509 -351
- package/types/gravionlabs-helix-core-dataview.d.ts +507 -349
- package/types/gravionlabs-helix-core-datepicker.d.ts +1267 -954
- package/types/gravionlabs-helix-core-dialog.d.ts +758 -515
- package/types/gravionlabs-helix-core-divider.d.ts +126 -106
- package/types/gravionlabs-helix-core-dock.d.ts +219 -181
- package/types/gravionlabs-helix-core-dom.d.ts +97 -100
- package/types/gravionlabs-helix-core-dragdrop.d.ts +149 -107
- package/types/gravionlabs-helix-core-drawer.d.ts +382 -278
- package/types/gravionlabs-helix-core-dynamicdialog.d.ts +512 -519
- package/types/gravionlabs-helix-core-editor.d.ts +225 -173
- package/types/gravionlabs-helix-core-fieldset.d.ts +209 -170
- package/types/gravionlabs-helix-core-fileupload.d.ts +764 -533
- package/types/gravionlabs-helix-core-firsterror.d.ts +8 -11
- package/types/gravionlabs-helix-core-floatlabel.d.ts +57 -52
- package/types/gravionlabs-helix-core-fluid.d.ts +38 -39
- package/types/gravionlabs-helix-core-focustrap.d.ts +33 -30
- package/types/gravionlabs-helix-core-galleria.d.ts +957 -628
- package/types/gravionlabs-helix-core-iconfield.d.ts +72 -57
- package/types/gravionlabs-helix-core-icons-angledoubledown.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angledoubleleft.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angledoubleright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angledoubleup.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angledown.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angleleft.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angleright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angleup.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-arrowdown.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-arrowdownleft.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-arrowdownright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-arrowleft.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-arrowright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-arrowup.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-ban.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-bars.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-baseicon.d.ts +25 -24
- package/types/gravionlabs-helix-core-icons-blank.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-calendar.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-caretleft.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-caretright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-check.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-chevrondown.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-chevronleft.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-chevronright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-chevronup.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-exclamationtriangle.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-eye.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-eyeslash.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-filter.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-filterfill.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-filterslash.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-home.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-infocircle.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-minus.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-pencil.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-plus.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-refresh.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-search.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-searchminus.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-searchplus.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-sortalt.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-sortamountdown.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-sortamountupalt.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-spinner.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-star.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-starfill.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-thlarge.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-times.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-timescircle.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-trash.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-undo.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-upload.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-windowmaximize.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-windowminimize.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons.d.ts +53 -53
- package/types/gravionlabs-helix-core-iftalabel.d.ts +42 -43
- package/types/gravionlabs-helix-core-image.d.ts +440 -331
- package/types/gravionlabs-helix-core-imagecompare.d.ts +99 -84
- package/types/gravionlabs-helix-core-inplace.d.ts +188 -149
- package/types/gravionlabs-helix-core-inputgroup.d.ts +55 -50
- package/types/gravionlabs-helix-core-inputgroupaddon.d.ts +54 -43
- package/types/gravionlabs-helix-core-inputicon.d.ts +49 -38
- package/types/gravionlabs-helix-core-inputmask.d.ts +499 -353
- package/types/gravionlabs-helix-core-inputnumber.d.ts +581 -410
- package/types/gravionlabs-helix-core-inputotp.d.ts +206 -158
- package/types/gravionlabs-helix-core-inputtext.d.ts +142 -102
- package/types/gravionlabs-helix-core-keyfilter.d.ts +62 -53
- package/types/gravionlabs-helix-core-knob.d.ts +265 -188
- package/types/gravionlabs-helix-core-listbox.d.ts +897 -638
- package/types/gravionlabs-helix-core-megamenu.d.ts +512 -365
- package/types/gravionlabs-helix-core-menu.d.ts +441 -343
- package/types/gravionlabs-helix-core-menubar.d.ts +499 -361
- package/types/gravionlabs-helix-core-message.d.ts +267 -195
- package/types/gravionlabs-helix-core-metergroup.d.ts +256 -190
- package/types/gravionlabs-helix-core-motion.d.ts +602 -385
- package/types/gravionlabs-helix-core-multiselect.d.ts +1256 -855
- package/types/gravionlabs-helix-core-orderlist.d.ts +504 -351
- package/types/gravionlabs-helix-core-organizationchart.d.ts +264 -203
- package/types/gravionlabs-helix-core-overlay.d.ts +417 -307
- package/types/gravionlabs-helix-core-overlaybadge.d.ts +107 -71
- package/types/gravionlabs-helix-core-paginator.d.ts +445 -336
- package/types/gravionlabs-helix-core-panel.d.ts +285 -225
- package/types/gravionlabs-helix-core-panelmenu.d.ts +499 -340
- package/types/gravionlabs-helix-core-passthrough.d.ts +5 -7
- package/types/gravionlabs-helix-core-password.d.ts +657 -463
- package/types/gravionlabs-helix-core-picklist.d.ts +938 -647
- package/types/gravionlabs-helix-core-popover.d.ts +259 -190
- package/types/gravionlabs-helix-core-progressbar.d.ts +141 -106
- package/types/gravionlabs-helix-core-progressspinner.d.ts +101 -76
- package/types/gravionlabs-helix-core-radiobutton.d.ts +228 -174
- package/types/gravionlabs-helix-core-rating.d.ts +217 -178
- package/types/gravionlabs-helix-core-ripple.d.ts +43 -48
- package/types/gravionlabs-helix-core-scroller.d.ts +505 -371
- package/types/gravionlabs-helix-core-scrollpanel.d.ts +151 -141
- package/types/gravionlabs-helix-core-scrolltop.d.ts +195 -140
- package/types/gravionlabs-helix-core-select.d.ts +1095 -749
- package/types/gravionlabs-helix-core-selectbutton.d.ts +238 -165
- package/types/gravionlabs-helix-core-skeleton.d.ts +123 -88
- package/types/gravionlabs-helix-core-slider.d.ts +259 -201
- package/types/gravionlabs-helix-core-speeddial.d.ts +511 -390
- package/types/gravionlabs-helix-core-splitbutton.d.ts +422 -267
- package/types/gravionlabs-helix-core-splitter.d.ts +246 -192
- package/types/gravionlabs-helix-core-stepper.d.ts +428 -269
- package/types/gravionlabs-helix-core-steps.d.ts +162 -134
- package/types/gravionlabs-helix-core-styleclass.d.ts +165 -107
- package/types/gravionlabs-helix-core-table.d.ts +2908 -1935
- package/types/gravionlabs-helix-core-tabs.d.ts +471 -311
- package/types/gravionlabs-helix-core-tag.d.ts +123 -98
- package/types/gravionlabs-helix-core-terminal.d.ts +142 -124
- package/types/gravionlabs-helix-core-textarea.d.ts +147 -110
- package/types/gravionlabs-helix-core-themes-aura.d.ts +957 -942
- package/types/gravionlabs-helix-core-themes-lara.d.ts +968 -953
- package/types/gravionlabs-helix-core-themes-nora.d.ts +954 -939
- package/types/gravionlabs-helix-core-themes-types.d.ts +17940 -18746
- package/types/gravionlabs-helix-core-themes.d.ts +8 -11
- package/types/gravionlabs-helix-core-tieredmenu.d.ts +583 -398
- package/types/gravionlabs-helix-core-timeline.d.ts +145 -125
- package/types/gravionlabs-helix-core-toast.d.ts +408 -275
- package/types/gravionlabs-helix-core-togglebutton.d.ts +264 -188
- package/types/gravionlabs-helix-core-toggleswitch.d.ts +202 -150
- package/types/gravionlabs-helix-core-toolbar.d.ts +100 -90
- package/types/gravionlabs-helix-core-tooltip.d.ts +362 -256
- package/types/gravionlabs-helix-core-tree.d.ts +902 -630
- package/types/gravionlabs-helix-core-treeselect.d.ts +770 -559
- package/types/gravionlabs-helix-core-treetable.d.ts +1715 -1205
- package/types/gravionlabs-helix-core-ts-helpers.d.ts +4 -6
- package/types/gravionlabs-helix-core-types-accordion.d.ts +42 -45
- package/types/gravionlabs-helix-core-types-autocomplete.d.ts +230 -233
- package/types/gravionlabs-helix-core-types-avatar.d.ts +23 -26
- package/types/gravionlabs-helix-core-types-avatargroup.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-badge.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-blockui.d.ts +18 -21
- package/types/gravionlabs-helix-core-types-breadcrumb.d.ts +65 -68
- package/types/gravionlabs-helix-core-types-button.d.ts +90 -93
- package/types/gravionlabs-helix-core-types-card.d.ts +54 -57
- package/types/gravionlabs-helix-core-types-carousel.d.ts +107 -110
- package/types/gravionlabs-helix-core-types-cascadeselect.d.ts +151 -157
- package/types/gravionlabs-helix-core-types-chart.d.ts +15 -18
- package/types/gravionlabs-helix-core-types-checkbox.d.ts +48 -51
- package/types/gravionlabs-helix-core-types-chip.d.ts +49 -52
- package/types/gravionlabs-helix-core-types-colorpicker.d.ts +58 -61
- package/types/gravionlabs-helix-core-types-confirmdialog.d.ts +116 -119
- package/types/gravionlabs-helix-core-types-confirmpopup.d.ts +74 -77
- package/types/gravionlabs-helix-core-types-contextmenu.d.ts +71 -74
- package/types/gravionlabs-helix-core-types-dataview.d.ts +178 -181
- package/types/gravionlabs-helix-core-types-datepicker.d.ts +436 -439
- package/types/gravionlabs-helix-core-types-dialog.d.ts +86 -89
- package/types/gravionlabs-helix-core-types-divider.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-dock.d.ts +44 -47
- package/types/gravionlabs-helix-core-types-drawer.d.ts +61 -64
- package/types/gravionlabs-helix-core-types-editor.d.ts +143 -146
- package/types/gravionlabs-helix-core-types-fieldset.d.ts +69 -73
- package/types/gravionlabs-helix-core-types-fileupload.d.ts +260 -265
- package/types/gravionlabs-helix-core-types-floatlabel.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-fluid.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-galleria.d.ts +204 -207
- package/types/gravionlabs-helix-core-types-iconfield.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-iftalabel.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-image.d.ts +113 -116
- package/types/gravionlabs-helix-core-types-imagecompare.d.ts +22 -25
- package/types/gravionlabs-helix-core-types-inplace.d.ts +46 -49
- package/types/gravionlabs-helix-core-types-inputgroup.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-inputgroupaddon.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-inputicon.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-inputmask.d.ts +30 -33
- package/types/gravionlabs-helix-core-types-inputnumber.d.ts +68 -71
- package/types/gravionlabs-helix-core-types-inputotp.d.ts +67 -70
- package/types/gravionlabs-helix-core-types-inputtext.d.ts +7 -10
- package/types/gravionlabs-helix-core-types-knob.d.ts +23 -26
- package/types/gravionlabs-helix-core-types-listbox.d.ts +262 -266
- package/types/gravionlabs-helix-core-types-megamenu.d.ts +112 -115
- package/types/gravionlabs-helix-core-types-menu.d.ts +83 -86
- package/types/gravionlabs-helix-core-types-menubar.d.ts +98 -101
- package/types/gravionlabs-helix-core-types-message.d.ts +61 -64
- package/types/gravionlabs-helix-core-types-metergroup.d.ts +135 -138
- package/types/gravionlabs-helix-core-types-motion.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-multiselect.d.ts +302 -306
- package/types/gravionlabs-helix-core-types-orderlist.d.ts +125 -128
- package/types/gravionlabs-helix-core-types-organizationchart.d.ts +90 -96
- package/types/gravionlabs-helix-core-types-overlay.d.ts +31 -34
- package/types/gravionlabs-helix-core-types-overlaybadge.d.ts +17 -20
- package/types/gravionlabs-helix-core-types-paginator.d.ts +131 -134
- package/types/gravionlabs-helix-core-types-panel.d.ts +89 -93
- package/types/gravionlabs-helix-core-types-panelmenu.d.ts +105 -108
- package/types/gravionlabs-helix-core-types-password.d.ts +94 -97
- package/types/gravionlabs-helix-core-types-picklist.d.ts +240 -250
- package/types/gravionlabs-helix-core-types-popover.d.ts +33 -36
- package/types/gravionlabs-helix-core-types-progressbar.d.ts +32 -35
- package/types/gravionlabs-helix-core-types-progressspinner.d.ts +19 -22
- package/types/gravionlabs-helix-core-types-radiobutton.d.ts +29 -32
- package/types/gravionlabs-helix-core-types-rating.d.ts +62 -65
- package/types/gravionlabs-helix-core-types-scroller.d.ts +142 -146
- package/types/gravionlabs-helix-core-types-scrollpanel.d.ts +30 -33
- package/types/gravionlabs-helix-core-types-scrolltop.d.ts +35 -38
- package/types/gravionlabs-helix-core-types-select.d.ts +245 -248
- package/types/gravionlabs-helix-core-types-selectbutton.d.ts +56 -59
- package/types/gravionlabs-helix-core-types-skeleton.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-slider.d.ts +50 -53
- package/types/gravionlabs-helix-core-types-speeddial.d.ts +69 -72
- package/types/gravionlabs-helix-core-types-splitbutton.d.ts +41 -44
- package/types/gravionlabs-helix-core-types-splitter.d.ts +36 -40
- package/types/gravionlabs-helix-core-types-stepper.d.ts +68 -71
- package/types/gravionlabs-helix-core-types-table.d.ts +721 -727
- package/types/gravionlabs-helix-core-types-tabs.d.ts +51 -54
- package/types/gravionlabs-helix-core-types-tag.d.ts +26 -29
- package/types/gravionlabs-helix-core-types-terminal.d.ts +43 -46
- package/types/gravionlabs-helix-core-types-textarea.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-tieredmenu.d.ts +69 -72
- package/types/gravionlabs-helix-core-types-timeline.d.ts +58 -61
- package/types/gravionlabs-helix-core-types-toast.d.ts +86 -89
- package/types/gravionlabs-helix-core-types-togglebutton.d.ts +51 -54
- package/types/gravionlabs-helix-core-types-toggleswitch.d.ts +41 -44
- package/types/gravionlabs-helix-core-types-toolbar.d.ts +34 -37
- package/types/gravionlabs-helix-core-types-tooltip.d.ts +15 -18
- package/types/gravionlabs-helix-core-types-tree.d.ts +230 -239
- package/types/gravionlabs-helix-core-types-treeselect.d.ts +195 -199
- package/types/gravionlabs-helix-core-types-treetable.d.ts +486 -491
- package/types/gravionlabs-helix-core-uix-motion.d.ts +177 -190
- package/types/gravionlabs-helix-core-uix-styled.d.ts +254 -277
- package/types/gravionlabs-helix-core-uix-utils.d.ts +39 -176
- package/types/gravionlabs-helix-core-usestyle.d.ts +12 -15
- package/types/gravionlabs-helix-core-utils.d.ts +45 -50
- package/types/gravionlabs-helix-core-validators.d.ts +29 -34
- package/types/gravionlabs-helix-core.d.ts +2 -2
- package/fesm2022/gravionlabs-helix-core-icons.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-themes-types.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-ts-helpers.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-accordion.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-autocomplete.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-avatar.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-avatargroup.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-badge.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-blockui.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-breadcrumb.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-button.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-card.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-carousel.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-cascadeselect.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-chart.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-checkbox.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-chip.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-colorpicker.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-confirmdialog.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-confirmpopup.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-contextmenu.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-dataview.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-datepicker.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-dialog.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-divider.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-dock.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-drawer.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-editor.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-fieldset.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-fileupload.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-floatlabel.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-fluid.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-galleria.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-iconfield.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-iftalabel.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-image.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-imagecompare.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inplace.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputgroup.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputgroupaddon.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputicon.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputmask.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputnumber.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputotp.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputtext.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-knob.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-listbox.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-megamenu.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-menu.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-menubar.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-message.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-metergroup.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-motion.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-multiselect.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-orderlist.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-organizationchart.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-overlay.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-overlaybadge.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-paginator.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-panel.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-panelmenu.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-password.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-picklist.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-popover.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-progressbar.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-progressspinner.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-radiobutton.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-rating.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-scroller.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-scrollpanel.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-scrolltop.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-select.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-selectbutton.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-skeleton.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-slider.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-speeddial.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-splitbutton.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-splitter.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-stepper.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-table.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-tabs.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-tag.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-terminal.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-textarea.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-tieredmenu.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-timeline.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-toast.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-togglebutton.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-toggleswitch.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-toolbar.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-tooltip.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-tree.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-treeselect.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-treetable.mjs.map +0 -1
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const style = /*css*/ `
|
|
1
|
+
import * as i2 from "@angular/common";
|
|
2
|
+
import { CommonModule, isPlatformBrowser } from "@angular/common";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { ChangeDetectionStrategy, Component, Inject, Injectable, InjectionToken, NgModule, PLATFORM_ID, Pipe, ViewEncapsulation, booleanAttribute, computed, contentChild, contentChildren, forwardRef, inject, input, numberAttribute, output, signal, viewChild } from "@angular/core";
|
|
5
|
+
import * as i3 from "@angular/router";
|
|
6
|
+
import { RouterModule } from "@angular/router";
|
|
7
|
+
import { absolutePosition, addStyle, appendChild, find, findSingle, focus, isTouchDevice, uuid } from "@gravionlabs/helix-core/uix/utils";
|
|
8
|
+
import * as i6 from "@gravionlabs/helix-core/api";
|
|
9
|
+
import { HelixTemplate, SharedModule } from "@gravionlabs/helix-core/api";
|
|
10
|
+
import * as i5 from "@gravionlabs/helix-core/badge";
|
|
11
|
+
import { BadgeModule } from "@gravionlabs/helix-core/badge";
|
|
12
|
+
import { BaseComponent, PARENT_INSTANCE } from "@gravionlabs/helix-core/basecomponent";
|
|
13
|
+
import * as i4 from "@gravionlabs/helix-core/bind";
|
|
14
|
+
import { Bind, BindModule } from "@gravionlabs/helix-core/bind";
|
|
15
|
+
import { ConnectedOverlayScrollHandler } from "@gravionlabs/helix-core/dom";
|
|
16
|
+
import * as i8 from "@gravionlabs/helix-core/motion";
|
|
17
|
+
import { MotionModule } from "@gravionlabs/helix-core/motion";
|
|
18
|
+
import { Ripple } from "@gravionlabs/helix-core/ripple";
|
|
19
|
+
import * as i7 from "@gravionlabs/helix-core/tooltip";
|
|
20
|
+
import { TooltipModule } from "@gravionlabs/helix-core/tooltip";
|
|
21
|
+
import { ZIndexUtils } from "@gravionlabs/helix-core/utils";
|
|
22
|
+
import { BaseStyle } from "@gravionlabs/helix-core/base";
|
|
23
|
+
import * as i1 from "@angular/platform-browser";
|
|
24
|
+
export * from "@gravionlabs/helix-core/types/menu";
|
|
25
|
+
const style = `
|
|
27
26
|
.h-menu {
|
|
28
27
|
background: dt('menu.background');
|
|
29
28
|
color: dt('menu.color');
|
|
@@ -106,749 +105,1375 @@ const style = /*css*/ `
|
|
|
106
105
|
border-block-start: 1px solid dt('menu.separator.border.color');
|
|
107
106
|
}
|
|
108
107
|
`;
|
|
109
|
-
|
|
110
|
-
const inlineStyles = {
|
|
111
|
-
root: ({ instance }) => ({ position: instance.popup() ? 'absolute' : 'relative' })
|
|
112
|
-
};
|
|
108
|
+
const inlineStyles = { root: ({ instance }) => ({ position: instance.popup() ? "absolute" : "relative" }) };
|
|
113
109
|
const classes = {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
110
|
+
root: ({ instance }) => ["h-menu h-component", { "h-menu-overlay": instance.popup() }],
|
|
111
|
+
start: "h-menu-start",
|
|
112
|
+
list: "h-menu-list",
|
|
113
|
+
submenuLabel: "h-menu-submenu-label",
|
|
114
|
+
separator: "h-menu-separator",
|
|
115
|
+
end: "h-menu-end",
|
|
116
|
+
item: ({ instance, item, id }) => [
|
|
117
|
+
"h-menu-item",
|
|
118
|
+
{
|
|
119
|
+
"h-focus": instance.focusedOptionId() && id === instance.focusedOptionId(),
|
|
120
|
+
"h-disabled": instance.disabled(item.disabled)
|
|
121
|
+
},
|
|
122
|
+
item.styleClass
|
|
123
|
+
],
|
|
124
|
+
itemContent: "h-menu-item-content",
|
|
125
|
+
itemLink: "h-menu-item-link",
|
|
126
|
+
itemIcon: ({ item }) => [
|
|
127
|
+
"h-menu-item-icon",
|
|
128
|
+
item.icon,
|
|
129
|
+
item.iconClass
|
|
130
|
+
],
|
|
131
|
+
itemLabel: "h-menu-item-label"
|
|
132
|
+
};
|
|
133
|
+
var MenuStyle = class MenuStyle extends BaseStyle {
|
|
134
|
+
name = "menu";
|
|
135
|
+
style = style;
|
|
136
|
+
classes = classes;
|
|
137
|
+
inlineStyles = inlineStyles;
|
|
138
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
139
|
+
minVersion: "12.0.0",
|
|
140
|
+
version: "22.2.1",
|
|
141
|
+
ngImport: i0,
|
|
142
|
+
type: MenuStyle,
|
|
143
|
+
deps: null,
|
|
144
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
145
|
+
});
|
|
146
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
147
|
+
minVersion: "12.0.0",
|
|
148
|
+
version: "22.2.1",
|
|
149
|
+
ngImport: i0,
|
|
150
|
+
type: MenuStyle
|
|
151
|
+
});
|
|
137
152
|
};
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: MenuStyle, decorators: [{
|
|
147
|
-
type: Injectable
|
|
148
|
-
}] });
|
|
149
|
-
/**
|
|
150
|
-
*
|
|
151
|
-
* Menu is a navigation / command component that supports dynamic and static positioning.
|
|
152
|
-
*
|
|
153
|
-
* [Live Demo](https://www.primeng.org/menu/)
|
|
154
|
-
*
|
|
155
|
-
* @module menustyle
|
|
156
|
-
*
|
|
157
|
-
*/
|
|
153
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
154
|
+
minVersion: "12.0.0",
|
|
155
|
+
version: "22.2.1",
|
|
156
|
+
ngImport: i0,
|
|
157
|
+
type: MenuStyle,
|
|
158
|
+
decorators: [{ type: Injectable }]
|
|
159
|
+
});
|
|
158
160
|
var MenuClasses;
|
|
159
|
-
(function
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
MenuClasses["list"] = "h-menu-list";
|
|
172
|
-
/**
|
|
173
|
-
* Class name of the submenu item element
|
|
174
|
-
*/
|
|
175
|
-
MenuClasses["submenuItem"] = "h-menu-submenu-item";
|
|
176
|
-
/**
|
|
177
|
-
* Class name of the separator element
|
|
178
|
-
*/
|
|
179
|
-
MenuClasses["separator"] = "h-menu-separator";
|
|
180
|
-
/**
|
|
181
|
-
* Class name of the end element
|
|
182
|
-
*/
|
|
183
|
-
MenuClasses["end"] = "h-menu-end";
|
|
184
|
-
/**
|
|
185
|
-
* Class name of the item element
|
|
186
|
-
*/
|
|
187
|
-
MenuClasses["item"] = "h-menu-item";
|
|
188
|
-
/**
|
|
189
|
-
* Class name of the item content element
|
|
190
|
-
*/
|
|
191
|
-
MenuClasses["itemContent"] = "h-menu-item-content";
|
|
192
|
-
/**
|
|
193
|
-
* Class name of the item link element
|
|
194
|
-
*/
|
|
195
|
-
MenuClasses["itemLink"] = "h-menu-item-link";
|
|
196
|
-
/**
|
|
197
|
-
* Class name of the item icon element
|
|
198
|
-
*/
|
|
199
|
-
MenuClasses["itemIcon"] = "h-menu-item-icon";
|
|
200
|
-
/**
|
|
201
|
-
* Class name of the item label element
|
|
202
|
-
*/
|
|
203
|
-
MenuClasses["itemLabel"] = "h-menu-item-label";
|
|
161
|
+
(function(MenuClasses) {
|
|
162
|
+
MenuClasses["root"] = "h-menu";
|
|
163
|
+
MenuClasses["start"] = "h-menu-start";
|
|
164
|
+
MenuClasses["list"] = "h-menu-list";
|
|
165
|
+
MenuClasses["submenuItem"] = "h-menu-submenu-item";
|
|
166
|
+
MenuClasses["separator"] = "h-menu-separator";
|
|
167
|
+
MenuClasses["end"] = "h-menu-end";
|
|
168
|
+
MenuClasses["item"] = "h-menu-item";
|
|
169
|
+
MenuClasses["itemContent"] = "h-menu-item-content";
|
|
170
|
+
MenuClasses["itemLink"] = "h-menu-item-link";
|
|
171
|
+
MenuClasses["itemIcon"] = "h-menu-item-icon";
|
|
172
|
+
MenuClasses["itemLabel"] = "h-menu-item-label";
|
|
204
173
|
})(MenuClasses || (MenuClasses = {}));
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
}
|
|
223
|
-
i0.ɵɵ
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: Menu, isStandalone: true, selector: "h-menu", inputs: { model: { classPropertyName: "model", publicName: "model", isSignal: true, isRequired: false, transformFunction: null }, popup: { classPropertyName: "popup", publicName: "popup", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, autoZIndex: { classPropertyName: "autoZIndex", publicName: "autoZIndex", isSignal: true, isRequired: false, transformFunction: null }, baseZIndex: { classPropertyName: "baseZIndex", publicName: "baseZIndex", isSignal: true, isRequired: false, transformFunction: null }, showTransitionOptions: { classPropertyName: "showTransitionOptions", publicName: "showTransitionOptions", isSignal: true, isRequired: false, transformFunction: null }, hideTransitionOptions: { classPropertyName: "hideTransitionOptions", publicName: "hideTransitionOptions", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onShow: "onShow", onHide: "onHide", onBlur: "onBlur", onFocus: "onFocus" }, providers: [MenuStyle, { provide: MENU_INSTANCE, useExisting: Menu }, { provide: PARENT_INSTANCE, useExisting: Menu }], queries: [{ propertyName: "startTemplate", first: true, predicate: ["start"], isSignal: true }, { propertyName: "endTemplate", first: true, predicate: ["end"], isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"], isSignal: true }, { propertyName: "submenuHeaderTemplate", first: true, predicate: ["submenuheader"], isSignal: true }, { propertyName: "templates", predicate: HelixTemplate, isSignal: true }], viewQueries: [{ propertyName: "listViewChild", first: true, predicate: ["list"], descendants: true, isSignal: true }, { propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i4.Bind }], ngImport: i0, template: "@if (!popup() || overlayVisible) {\n <div\n #container\n [class]=\"cn(cx('root'), styleClass())\"\n [style]=\"sx('root')\"\n [ngStyle]=\"style()\"\n (click)=\"onOverlayClick($event)\"\n [attr.id]=\"$id()\"\n [hBind]=\"ptm('root')\"\n [attr.data-h]=\"dataP\"\n [hMotion]=\"visible || !popup()\"\n [pMotionName]=\"'h-anchored-overlay'\"\n [pMotionAppear]=\"!!popup()\"\n [pMotionDisabled]=\"!popup()\"\n [pMotionOptions]=\"computedMotionOptions()\"\n (pMotionOnBeforeEnter)=\"onOverlayBeforeEnter($event)\"\n (pMotionOnAfterLeave)=\"onOverlayAfterLeave()\"\n >\n @if (startTemplate() ?? _startTemplate) {\n <div [class]=\"cx('start')\" [hBind]=\"ptm('start')\" [attr.data-pc-section]=\"'start'\">\n <ng-container *ngTemplateOutlet=\"startTemplate() ?? _startTemplate\"></ng-container>\n </div>\n }\n <ul\n #list\n [class]=\"cx('list')\"\n [hBind]=\"ptm('list')\"\n role=\"menu\"\n [attr.id]=\"$id() + '_list'\"\n [attr.tabindex]=\"getTabIndexValue()\"\n [attr.data-pc-section]=\"'menu'\"\n [attr.aria-activedescendant]=\"activedescendant()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledBy]=\"ariaLabelledBy()\"\n (focus)=\"onListFocus($event)\"\n (blur)=\"onListBlur($event)\"\n (keydown)=\"onListKeyDown($event)\"\n >\n @for (submenu of model(); track submenu; let i = $index) {\n @if (hasSubMenu()) {\n @if (submenu.separator && submenu.visible !== false) {\n <li [class]=\"cx('separator')\" [hBind]=\"ptm('separator')\" role=\"separator\" [attr.data-pc-section]=\"'separator'\"></li>\n }\n @if (!submenu.separator) {\n <li\n [class]=\"cx('submenuLabel')\"\n [hBind]=\"ptm('submenuLabel')\"\n [attr.data-automationid]=\"submenu.automationId\"\n hTooltip\n [tooltipOptions]=\"submenu.tooltipOptions\"\n [pTooltipUnstyled]=\"unstyled()\"\n role=\"none\"\n [attr.id]=\"menuitemId(submenu, id, i)\"\n [attr.data-pc-section]=\"'submenulabel'\"\n >\n @if (!submenuHeaderTemplate() && !_submenuHeaderTemplate) {\n @if (submenu.escape !== false) {\n <span>{{ submenu.label }}</span>\n } @else {\n <span [innerHTML]=\"submenu.label | safeHtml\"></span>\n }\n }\n <ng-container *ngTemplateOutlet=\"submenuHeaderTemplate() ?? _submenuHeaderTemplate; context: { $implicit: submenu }\"></ng-container>\n </li>\n }\n @for (item of submenu.items; track item; let j = $index) {\n @if (item.separator && (item.visible !== false || submenu.visible !== false)) {\n <li [class]=\"cx('separator')\" [hBind]=\"ptm('separator')\" role=\"separator\" [attr.data-pc-section]=\"'separator'\"></li>\n }\n @if (!item.separator && item.visible !== false && (item.visible !== undefined || submenu.visible !== false)) {\n <li\n [class]=\"cn(cx('item', { item, id: menuitemId(item, id, i, j) }), $safeNavigationMigration(item?.styleClass))\"\n [hBind]=\"ptm('item')\"\n [hMenuItemContent]=\"item\"\n [itemTemplate()]=\"itemTemplate() ?? _itemTemplate\"\n [idx]=\"j\"\n [menuitemId]=\"menuitemId(item, id, i, j)\"\n [style]=\"item.style\"\n (onMenuItemClick)=\"itemClick($event, menuitemId(item, id, i, j))\"\n hTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [pTooltipUnstyled]=\"unstyled()\"\n [unstyled]=\"unstyled()\"\n role=\"menuitem\"\n [attr.aria-label]=\"label(item.label)\"\n [attr.data-h-focused]=\"isItemFocused(menuitemId(item, id, i, j))\"\n [attr.data-h-disabled]=\"disabled(item.disabled)\"\n [attr.aria-disabled]=\"disabled(item.disabled)\"\n [attr.id]=\"menuitemId(item, id, i, j)\"\n ></li>\n }\n }\n }\n }\n @for (item of model(); track item; let i = $index) {\n @if (!hasSubMenu()) {\n @if (item.separator && item.visible !== false) {\n <li [class]=\"cx('separator')\" [hBind]=\"ptm('separator')\" role=\"separator\" [attr.data-pc-section]=\"'separator'\"></li>\n }\n @if (!item.separator && item.visible !== false) {\n <li\n [class]=\"cn(cx('item', { item, id: menuitemId(item, id, i) }), $safeNavigationMigration(item?.styleClass))\"\n [hBind]=\"ptm('item')\"\n [hMenuItemContent]=\"item\"\n [itemTemplate()]=\"itemTemplate() ?? _itemTemplate\"\n [idx]=\"i\"\n [menuitemId]=\"menuitemId(item, id, i)\"\n [ngStyle]=\"item.style\"\n (onMenuItemClick)=\"itemClick($event, menuitemId(item, id, i))\"\n hTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [unstyled]=\"unstyled()\"\n [pTooltipUnstyled]=\"unstyled()\"\n role=\"menuitem\"\n [attr.aria-label]=\"label(item.label)\"\n [attr.data-h-focused]=\"isItemFocused(menuitemId(item, id, i))\"\n [attr.data-h-disabled]=\"disabled(item.disabled)\"\n [attr.aria-disabled]=\"disabled(item.disabled)\"\n [attr.id]=\"menuitemId(item, id, i)\"\n ></li>\n }\n }\n }\n </ul>\n @if (endTemplate() ?? _endTemplate) {\n <div [class]=\"cx('end')\" [hBind]=\"ptm('end')\" [attr.data-pc-section]=\"'end'\">\n <ng-container *ngTemplateOutlet=\"endTemplate() ?? _endTemplate\"></ng-container>\n </div>\n }\n </div>\n}\n", 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: "component", type: MenuItemContent, selector: "[hMenuItemContent]", inputs: ["hMenuItemContent", "itemTemplate", "menuitemId", "idx"], outputs: ["onMenuItemClick"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i7.Tooltip, selector: "[hTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "hTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "directive", type: i4.Bind, selector: "[hBind]", inputs: ["hBind"] }, { kind: "ngmodule", type: BadgeModule }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "ngmodule", type: MotionModule }, { kind: "directive", type: i8.MotionDirective, selector: "[hMotion]", inputs: ["hMotion", "pMotionName", "pMotionType", "pMotionSafe", "pMotionDisabled", "pMotionAppear", "pMotionEnter", "pMotionLeave", "pMotionDuration", "pMotionHideStrategy", "pMotionEnterFromClass", "pMotionEnterToClass", "pMotionEnterActiveClass", "pMotionLeaveFromClass", "pMotionLeaveToClass", "pMotionLeaveActiveClass", "pMotionOptions"], outputs: ["pMotionOnBeforeEnter", "pMotionOnEnter", "pMotionOnAfterEnter", "pMotionOnEnterCancelled", "pMotionOnBeforeLeave", "pMotionOnLeave", "pMotionOnAfterLeave", "pMotionOnLeaveCancelled"] }, { kind: "pipe", type: SafeHtmlPipe, name: "safeHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
174
|
+
const MENU_INSTANCE = new InjectionToken("MENU_INSTANCE");
|
|
175
|
+
var SafeHtmlPipe = class SafeHtmlPipe {
|
|
176
|
+
platformId;
|
|
177
|
+
sanitizer;
|
|
178
|
+
constructor(platformId, sanitizer) {
|
|
179
|
+
this.platformId = platformId;
|
|
180
|
+
this.sanitizer = sanitizer;
|
|
181
|
+
}
|
|
182
|
+
transform(value) {
|
|
183
|
+
if (!value || !isPlatformBrowser(this.platformId)) return value;
|
|
184
|
+
return this.sanitizer.bypassSecurityTrustHtml(value);
|
|
185
|
+
}
|
|
186
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
187
|
+
minVersion: "12.0.0",
|
|
188
|
+
version: "22.2.1",
|
|
189
|
+
ngImport: i0,
|
|
190
|
+
type: SafeHtmlPipe,
|
|
191
|
+
deps: [{ token: PLATFORM_ID }, { token: i1.DomSanitizer }],
|
|
192
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
193
|
+
});
|
|
194
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({
|
|
195
|
+
minVersion: "14.0.0",
|
|
196
|
+
version: "22.2.1",
|
|
197
|
+
ngImport: i0,
|
|
198
|
+
type: SafeHtmlPipe,
|
|
199
|
+
isStandalone: true,
|
|
200
|
+
name: "safeHtml"
|
|
201
|
+
});
|
|
202
|
+
};
|
|
203
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
204
|
+
minVersion: "12.0.0",
|
|
205
|
+
version: "22.2.1",
|
|
206
|
+
ngImport: i0,
|
|
207
|
+
type: SafeHtmlPipe,
|
|
208
|
+
decorators: [{
|
|
209
|
+
type: Pipe,
|
|
210
|
+
args: [{
|
|
211
|
+
name: "safeHtml",
|
|
212
|
+
standalone: true
|
|
213
|
+
}]
|
|
214
|
+
}],
|
|
215
|
+
ctorParameters: () => [{
|
|
216
|
+
type: void 0,
|
|
217
|
+
decorators: [{
|
|
218
|
+
type: Inject,
|
|
219
|
+
args: [PLATFORM_ID]
|
|
220
|
+
}]
|
|
221
|
+
}, { type: i1.DomSanitizer }]
|
|
222
|
+
});
|
|
223
|
+
var MenuItemContent = class MenuItemContent extends BaseComponent {
|
|
224
|
+
item = input(void 0, {
|
|
225
|
+
...ngDevMode ? { debugName: "item" } : /* istanbul ignore next */ {},
|
|
226
|
+
alias: "hMenuItemContent"
|
|
227
|
+
});
|
|
228
|
+
itemTemplate = input(...ngDevMode ? [void 0, { debugName: "itemTemplate" }] : /* istanbul ignore next */ []);
|
|
229
|
+
menuitemId = input("", ...ngDevMode ? [{ debugName: "menuitemId" }] : /* istanbul ignore next */ []);
|
|
230
|
+
idx = input(0, ...ngDevMode ? [{ debugName: "idx" }] : /* istanbul ignore next */ []);
|
|
231
|
+
onMenuItemClick = output();
|
|
232
|
+
menu;
|
|
233
|
+
_componentStyle = inject(MenuStyle);
|
|
234
|
+
hostName = "Menu";
|
|
235
|
+
constructor(menu) {
|
|
236
|
+
super();
|
|
237
|
+
this.menu = menu;
|
|
238
|
+
}
|
|
239
|
+
onItemClick(event, item) {
|
|
240
|
+
this.onMenuItemClick.emit({
|
|
241
|
+
originalEvent: event,
|
|
242
|
+
item
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
getPTOptions(key) {
|
|
246
|
+
return this.menu.getPTOptions(key, this.item(), this.idx(), this.menuitemId());
|
|
247
|
+
}
|
|
248
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
249
|
+
minVersion: "12.0.0",
|
|
250
|
+
version: "22.2.1",
|
|
251
|
+
ngImport: i0,
|
|
252
|
+
type: MenuItemContent,
|
|
253
|
+
deps: [{ token: forwardRef(() => Menu) }],
|
|
254
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
255
|
+
});
|
|
256
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
257
|
+
minVersion: "17.0.0",
|
|
258
|
+
version: "22.2.1",
|
|
259
|
+
type: MenuItemContent,
|
|
260
|
+
isStandalone: true,
|
|
261
|
+
selector: "[hMenuItemContent]",
|
|
262
|
+
inputs: {
|
|
263
|
+
item: {
|
|
264
|
+
classPropertyName: "item",
|
|
265
|
+
publicName: "hMenuItemContent",
|
|
266
|
+
isSignal: true,
|
|
267
|
+
isRequired: false,
|
|
268
|
+
transformFunction: null
|
|
269
|
+
},
|
|
270
|
+
itemTemplate: {
|
|
271
|
+
classPropertyName: "itemTemplate",
|
|
272
|
+
publicName: "itemTemplate",
|
|
273
|
+
isSignal: true,
|
|
274
|
+
isRequired: false,
|
|
275
|
+
transformFunction: null
|
|
276
|
+
},
|
|
277
|
+
menuitemId: {
|
|
278
|
+
classPropertyName: "menuitemId",
|
|
279
|
+
publicName: "menuitemId",
|
|
280
|
+
isSignal: true,
|
|
281
|
+
isRequired: false,
|
|
282
|
+
transformFunction: null
|
|
283
|
+
},
|
|
284
|
+
idx: {
|
|
285
|
+
classPropertyName: "idx",
|
|
286
|
+
publicName: "idx",
|
|
287
|
+
isSignal: true,
|
|
288
|
+
isRequired: false,
|
|
289
|
+
transformFunction: null
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
outputs: { onMenuItemClick: "onMenuItemClick" },
|
|
293
|
+
providers: [MenuStyle],
|
|
294
|
+
usesInheritance: true,
|
|
295
|
+
ngImport: i0,
|
|
296
|
+
template: "<div [class]=\"cx('itemContent')\" (click)=\"onItemClick($event, item())\" [attr.data-pc-section]=\"'content'\" [hBind]=\"getPTOptions('itemContent')\">\n @if (!itemTemplate()) {\n @if (!item()?.routerLink) {\n <a\n [attr.title]=\"item().title\"\n [attr.href]=\"item().url || null\"\n [attr.data-automationid]=\"item().automationId\"\n [attr.tabindex]=\"-1\"\n [class]=\"cn(cx('itemLink'), $safeNavigationMigration(item()?.linkClass))\"\n [ngStyle]=\"$safeNavigationMigration(item()?.linkStyle)\"\n [target]=\"item().target\"\n [hBind]=\"getPTOptions('itemLink')\"\n hRipple\n >\n <ng-container *ngTemplateOutlet=\"itemContent; context: { $implicit: item() }\"></ng-container>\n </a>\n }\n @if (item()?.routerLink) {\n <a\n [routerLink]=\"item().routerLink\"\n [attr.data-automationid]=\"item().automationId\"\n [attr.tabindex]=\"-1\"\n [attr.title]=\"item().title\"\n [queryParams]=\"item().queryParams\"\n routerLinkActive=\"h-menu-item()-link-active\"\n [routerLinkActiveOptions]=\"item().routerLinkActiveOptions || { exact: false }\"\n [class]=\"cn(cx('itemLink'), $safeNavigationMigration(item()?.linkClass))\"\n [ngStyle]=\"$safeNavigationMigration(item()?.linkStyle)\"\n [target]=\"item().target\"\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 [hBind]=\"getPTOptions('itemLink')\"\n hRipple\n >\n <ng-container *ngTemplateOutlet=\"itemContent; context: { $implicit: item() }\"></ng-container>\n </a>\n }\n }\n\n @if (itemTemplate()) {\n <ng-template *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item() }\"></ng-template>\n }\n\n <ng-template #itemContent>\n @if (item().icon) {\n <span [class]=\"cn(cx('itemIcon', { item: item() }), item().iconClass)\" [hBind]=\"getPTOptions('itemIcon')\" [ngStyle]=\"item().iconStyle\" [attr.data-pc-section]=\"'itemicon'\"></span>\n }\n @if (item().escape !== false) {\n <span [class]=\"cn(cx('itemLabel'), item().labelClass)\" [ngStyle]=\"item().labelStyle\" [hBind]=\"getPTOptions('itemLabel')\" [attr.data-pc-section]=\"'itemlabel'\">{{ item().label }}</span>\n } @else {\n <span [class]=\"cn(cx('itemLabel'), item().labelClass)\" [ngStyle]=\"item().labelStyle\" [attr.data-pc-section]=\"'itemlabel'\" [innerHTML]=\"item().label | safeHtml\" [hBind]=\"getPTOptions('itemLabel')\"></span>\n }\n @if (item().badge) {\n <h-badge [styleClass]=\"item().badgeStyleClass\" [value]=\"item().badge\" [pt]=\"getPTOptions('pcBadge')\" [unstyled]=\"unstyled()\" />\n }\n </ng-template>\n </div>\n",
|
|
297
|
+
dependencies: [
|
|
298
|
+
{
|
|
299
|
+
kind: "ngmodule",
|
|
300
|
+
type: CommonModule
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
kind: "directive",
|
|
304
|
+
type: i2.NgTemplateOutlet,
|
|
305
|
+
selector: "[ngTemplateOutlet]",
|
|
306
|
+
inputs: [
|
|
307
|
+
"ngTemplateOutletContext",
|
|
308
|
+
"ngTemplateOutlet",
|
|
309
|
+
"ngTemplateOutletInjector"
|
|
310
|
+
]
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
kind: "directive",
|
|
314
|
+
type: i2.NgStyle,
|
|
315
|
+
selector: "[ngStyle]",
|
|
316
|
+
inputs: ["ngStyle"]
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
kind: "ngmodule",
|
|
320
|
+
type: RouterModule
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
kind: "directive",
|
|
324
|
+
type: i3.RouterLink,
|
|
325
|
+
selector: "[routerLink]",
|
|
326
|
+
inputs: [
|
|
327
|
+
"target",
|
|
328
|
+
"queryParams",
|
|
329
|
+
"fragment",
|
|
330
|
+
"queryParamsHandling",
|
|
331
|
+
"state",
|
|
332
|
+
"info",
|
|
333
|
+
"relativeTo",
|
|
334
|
+
"preserveFragment",
|
|
335
|
+
"skipLocationChange",
|
|
336
|
+
"replaceUrl",
|
|
337
|
+
"browserUrl",
|
|
338
|
+
"routerLink"
|
|
339
|
+
]
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
kind: "directive",
|
|
343
|
+
type: i3.RouterLinkActive,
|
|
344
|
+
selector: "[routerLinkActive]",
|
|
345
|
+
inputs: [
|
|
346
|
+
"routerLinkActiveOptions",
|
|
347
|
+
"ariaCurrentWhenActive",
|
|
348
|
+
"routerLinkActive"
|
|
349
|
+
],
|
|
350
|
+
outputs: ["isActiveChange"],
|
|
351
|
+
exportAs: ["routerLinkActive"]
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
kind: "directive",
|
|
355
|
+
type: Ripple,
|
|
356
|
+
selector: "[hRipple]"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
kind: "ngmodule",
|
|
360
|
+
type: TooltipModule
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
kind: "directive",
|
|
364
|
+
type: i4.Bind,
|
|
365
|
+
selector: "[hBind]",
|
|
366
|
+
inputs: ["hBind"]
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
kind: "ngmodule",
|
|
370
|
+
type: BadgeModule
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
kind: "component",
|
|
374
|
+
type: i5.Badge,
|
|
375
|
+
selector: "h-badge",
|
|
376
|
+
inputs: [
|
|
377
|
+
"styleClass",
|
|
378
|
+
"badgeSize",
|
|
379
|
+
"size",
|
|
380
|
+
"severity",
|
|
381
|
+
"value",
|
|
382
|
+
"badgeDisabled"
|
|
383
|
+
]
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
kind: "ngmodule",
|
|
387
|
+
type: SharedModule
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
kind: "ngmodule",
|
|
391
|
+
type: BindModule
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
kind: "pipe",
|
|
395
|
+
type: SafeHtmlPipe,
|
|
396
|
+
name: "safeHtml"
|
|
397
|
+
}
|
|
398
|
+
],
|
|
399
|
+
changeDetection: i0.ChangeDetectionStrategy.Eager,
|
|
400
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
401
|
+
});
|
|
402
|
+
};
|
|
403
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
404
|
+
minVersion: "12.0.0",
|
|
405
|
+
version: "22.2.1",
|
|
406
|
+
ngImport: i0,
|
|
407
|
+
type: MenuItemContent,
|
|
408
|
+
decorators: [{
|
|
409
|
+
type: Component,
|
|
410
|
+
args: [{
|
|
411
|
+
selector: "[hMenuItemContent]",
|
|
412
|
+
standalone: true,
|
|
413
|
+
imports: [
|
|
414
|
+
CommonModule,
|
|
415
|
+
RouterModule,
|
|
416
|
+
Ripple,
|
|
417
|
+
TooltipModule,
|
|
418
|
+
BadgeModule,
|
|
419
|
+
SharedModule,
|
|
420
|
+
SafeHtmlPipe,
|
|
421
|
+
BindModule
|
|
422
|
+
],
|
|
423
|
+
encapsulation: ViewEncapsulation.None,
|
|
424
|
+
changeDetection: ChangeDetectionStrategy.Eager,
|
|
425
|
+
providers: [MenuStyle],
|
|
426
|
+
template: "<div [class]=\"cx('itemContent')\" (click)=\"onItemClick($event, item())\" [attr.data-pc-section]=\"'content'\" [hBind]=\"getPTOptions('itemContent')\">\n @if (!itemTemplate()) {\n @if (!item()?.routerLink) {\n <a\n [attr.title]=\"item().title\"\n [attr.href]=\"item().url || null\"\n [attr.data-automationid]=\"item().automationId\"\n [attr.tabindex]=\"-1\"\n [class]=\"cn(cx('itemLink'), $safeNavigationMigration(item()?.linkClass))\"\n [ngStyle]=\"$safeNavigationMigration(item()?.linkStyle)\"\n [target]=\"item().target\"\n [hBind]=\"getPTOptions('itemLink')\"\n hRipple\n >\n <ng-container *ngTemplateOutlet=\"itemContent; context: { $implicit: item() }\"></ng-container>\n </a>\n }\n @if (item()?.routerLink) {\n <a\n [routerLink]=\"item().routerLink\"\n [attr.data-automationid]=\"item().automationId\"\n [attr.tabindex]=\"-1\"\n [attr.title]=\"item().title\"\n [queryParams]=\"item().queryParams\"\n routerLinkActive=\"h-menu-item()-link-active\"\n [routerLinkActiveOptions]=\"item().routerLinkActiveOptions || { exact: false }\"\n [class]=\"cn(cx('itemLink'), $safeNavigationMigration(item()?.linkClass))\"\n [ngStyle]=\"$safeNavigationMigration(item()?.linkStyle)\"\n [target]=\"item().target\"\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 [hBind]=\"getPTOptions('itemLink')\"\n hRipple\n >\n <ng-container *ngTemplateOutlet=\"itemContent; context: { $implicit: item() }\"></ng-container>\n </a>\n }\n }\n\n @if (itemTemplate()) {\n <ng-template *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item() }\"></ng-template>\n }\n\n <ng-template #itemContent>\n @if (item().icon) {\n <span [class]=\"cn(cx('itemIcon', { item: item() }), item().iconClass)\" [hBind]=\"getPTOptions('itemIcon')\" [ngStyle]=\"item().iconStyle\" [attr.data-pc-section]=\"'itemicon'\"></span>\n }\n @if (item().escape !== false) {\n <span [class]=\"cn(cx('itemLabel'), item().labelClass)\" [ngStyle]=\"item().labelStyle\" [hBind]=\"getPTOptions('itemLabel')\" [attr.data-pc-section]=\"'itemlabel'\">{{ item().label }}</span>\n } @else {\n <span [class]=\"cn(cx('itemLabel'), item().labelClass)\" [ngStyle]=\"item().labelStyle\" [attr.data-pc-section]=\"'itemlabel'\" [innerHTML]=\"item().label | safeHtml\" [hBind]=\"getPTOptions('itemLabel')\"></span>\n }\n @if (item().badge) {\n <h-badge [styleClass]=\"item().badgeStyleClass\" [value]=\"item().badge\" [pt]=\"getPTOptions('pcBadge')\" [unstyled]=\"unstyled()\" />\n }\n </ng-template>\n </div>\n"
|
|
427
|
+
}]
|
|
428
|
+
}],
|
|
429
|
+
ctorParameters: () => [{
|
|
430
|
+
type: Menu,
|
|
431
|
+
decorators: [{
|
|
432
|
+
type: Inject,
|
|
433
|
+
args: [forwardRef(() => Menu)]
|
|
434
|
+
}]
|
|
435
|
+
}],
|
|
436
|
+
propDecorators: {
|
|
437
|
+
item: [{
|
|
438
|
+
type: i0.Input,
|
|
439
|
+
args: [{
|
|
440
|
+
isSignal: true,
|
|
441
|
+
alias: "hMenuItemContent",
|
|
442
|
+
required: false
|
|
443
|
+
}]
|
|
444
|
+
}],
|
|
445
|
+
itemTemplate: [{
|
|
446
|
+
type: i0.Input,
|
|
447
|
+
args: [{
|
|
448
|
+
isSignal: true,
|
|
449
|
+
alias: "itemTemplate",
|
|
450
|
+
required: false
|
|
451
|
+
}]
|
|
452
|
+
}],
|
|
453
|
+
menuitemId: [{
|
|
454
|
+
type: i0.Input,
|
|
455
|
+
args: [{
|
|
456
|
+
isSignal: true,
|
|
457
|
+
alias: "menuitemId",
|
|
458
|
+
required: false
|
|
459
|
+
}]
|
|
460
|
+
}],
|
|
461
|
+
idx: [{
|
|
462
|
+
type: i0.Input,
|
|
463
|
+
args: [{
|
|
464
|
+
isSignal: true,
|
|
465
|
+
alias: "idx",
|
|
466
|
+
required: false
|
|
467
|
+
}]
|
|
468
|
+
}],
|
|
469
|
+
onMenuItemClick: [{
|
|
470
|
+
type: i0.Output,
|
|
471
|
+
args: ["onMenuItemClick"]
|
|
472
|
+
}]
|
|
473
|
+
}
|
|
474
|
+
});
|
|
475
|
+
var Menu = class Menu extends BaseComponent {
|
|
476
|
+
overlayService;
|
|
477
|
+
componentName = "Menu";
|
|
478
|
+
model = input(...ngDevMode ? [void 0, { debugName: "model" }] : /* istanbul ignore next */ []);
|
|
479
|
+
popup = input(void 0, {
|
|
480
|
+
...ngDevMode ? { debugName: "popup" } : /* istanbul ignore next */ {},
|
|
481
|
+
transform: booleanAttribute
|
|
482
|
+
});
|
|
483
|
+
style = input(...ngDevMode ? [void 0, { debugName: "style" }] : /* istanbul ignore next */ []);
|
|
484
|
+
styleClass = input(...ngDevMode ? [void 0, { debugName: "styleClass" }] : /* istanbul ignore next */ []);
|
|
485
|
+
autoZIndex = input(true, {
|
|
486
|
+
...ngDevMode ? { debugName: "autoZIndex" } : /* istanbul ignore next */ {},
|
|
487
|
+
transform: booleanAttribute
|
|
488
|
+
});
|
|
489
|
+
baseZIndex = input(0, {
|
|
490
|
+
...ngDevMode ? { debugName: "baseZIndex" } : /* istanbul ignore next */ {},
|
|
491
|
+
transform: numberAttribute
|
|
492
|
+
});
|
|
493
|
+
showTransitionOptions = input(".12s cubic-bezier(0, 0, 0.2, 1)", ...ngDevMode ? [{ debugName: "showTransitionOptions" }] : /* istanbul ignore next */ []);
|
|
494
|
+
hideTransitionOptions = input(".1s linear", ...ngDevMode ? [{ debugName: "hideTransitionOptions" }] : /* istanbul ignore next */ []);
|
|
495
|
+
ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
496
|
+
ariaLabelledBy = input(...ngDevMode ? [void 0, { debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []);
|
|
497
|
+
id = input(...ngDevMode ? [void 0, { debugName: "id" }] : /* istanbul ignore next */ []);
|
|
498
|
+
autoId = uuid("pn_id_");
|
|
499
|
+
$id = computed(() => this.id() || this.autoId, ...ngDevMode ? [{ debugName: "$id" }] : /* istanbul ignore next */ []);
|
|
500
|
+
tabindex = input(0, {
|
|
501
|
+
...ngDevMode ? { debugName: "tabindex" } : /* istanbul ignore next */ {},
|
|
502
|
+
transform: numberAttribute
|
|
503
|
+
});
|
|
504
|
+
appendTo = input(void 0, ...ngDevMode ? [{ debugName: "appendTo" }] : /* istanbul ignore next */ []);
|
|
505
|
+
motionOptions = input(void 0, ...ngDevMode ? [{ debugName: "motionOptions" }] : /* istanbul ignore next */ []);
|
|
506
|
+
computedMotionOptions = computed(() => {
|
|
507
|
+
return {
|
|
508
|
+
...this.ptm("motion"),
|
|
509
|
+
...this.motionOptions()
|
|
510
|
+
};
|
|
511
|
+
}, ...ngDevMode ? [{ debugName: "computedMotionOptions" }] : /* istanbul ignore next */ []);
|
|
512
|
+
onShow = output();
|
|
513
|
+
onHide = output();
|
|
514
|
+
onBlur = output();
|
|
515
|
+
onFocus = output();
|
|
516
|
+
listViewChild = viewChild("list", ...ngDevMode ? [{ debugName: "listViewChild" }] : /* istanbul ignore next */ []);
|
|
517
|
+
containerViewChild = viewChild("container", ...ngDevMode ? [{ debugName: "containerViewChild" }] : /* istanbul ignore next */ []);
|
|
518
|
+
$appendTo = computed(() => this.appendTo() || this.config.overlayAppendTo(), ...ngDevMode ? [{ debugName: "$appendTo" }] : /* istanbul ignore next */ []);
|
|
519
|
+
container;
|
|
520
|
+
scrollHandler;
|
|
521
|
+
documentClickListener;
|
|
522
|
+
documentResizeListener;
|
|
523
|
+
preventDocumentDefault;
|
|
524
|
+
target;
|
|
525
|
+
visible;
|
|
526
|
+
focusedOptionId = computed(() => {
|
|
527
|
+
return this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : null;
|
|
528
|
+
}, ...ngDevMode ? [{ debugName: "focusedOptionId" }] : /* istanbul ignore next */ []);
|
|
529
|
+
focusedOptionIndex = signal(-1, ...ngDevMode ? [{ debugName: "focusedOptionIndex" }] : /* istanbul ignore next */ []);
|
|
530
|
+
selectedOptionIndex = signal(-1, ...ngDevMode ? [{ debugName: "selectedOptionIndex" }] : /* istanbul ignore next */ []);
|
|
531
|
+
focused = false;
|
|
532
|
+
overlayVisible = false;
|
|
533
|
+
$pcMenu = inject(MENU_INSTANCE, {
|
|
534
|
+
optional: true,
|
|
535
|
+
skipSelf: true
|
|
536
|
+
}) ?? void 0;
|
|
537
|
+
_componentStyle = inject(MenuStyle);
|
|
538
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
539
|
+
onAfterViewChecked() {
|
|
540
|
+
this.bindDirectiveInstance.setAttrs(this.ptm("host"));
|
|
541
|
+
}
|
|
542
|
+
constructor(overlayService) {
|
|
543
|
+
super();
|
|
544
|
+
this.overlayService = overlayService;
|
|
545
|
+
}
|
|
546
|
+
getPTOptions(key, item, index, id) {
|
|
547
|
+
return this.ptm(key, { context: {
|
|
548
|
+
item,
|
|
549
|
+
index,
|
|
550
|
+
focused: this.isItemFocused(id),
|
|
551
|
+
disabled: this.disabled(item.disabled)
|
|
552
|
+
} });
|
|
553
|
+
}
|
|
554
|
+
toggle(event) {
|
|
555
|
+
if (this.visible) this.hide();
|
|
556
|
+
else this.show(event);
|
|
557
|
+
this.preventDocumentDefault = true;
|
|
558
|
+
}
|
|
559
|
+
show(event) {
|
|
560
|
+
if (this.container && !this.overlayVisible) this.container = void 0;
|
|
561
|
+
this.target = event.currentTarget;
|
|
562
|
+
this.visible = true;
|
|
563
|
+
this.preventDocumentDefault = true;
|
|
564
|
+
this.overlayVisible = true;
|
|
565
|
+
this.cd.markForCheck();
|
|
566
|
+
}
|
|
567
|
+
onInit() {
|
|
568
|
+
if (!this.popup()) this.bindDocumentClickListener();
|
|
569
|
+
}
|
|
570
|
+
startTemplate = contentChild("start", {
|
|
571
|
+
...ngDevMode ? { debugName: "startTemplate" } : /* istanbul ignore next */ {},
|
|
572
|
+
descendants: false
|
|
573
|
+
});
|
|
574
|
+
_startTemplate;
|
|
575
|
+
endTemplate = contentChild("end", {
|
|
576
|
+
...ngDevMode ? { debugName: "endTemplate" } : /* istanbul ignore next */ {},
|
|
577
|
+
descendants: false
|
|
578
|
+
});
|
|
579
|
+
_endTemplate;
|
|
580
|
+
headerTemplate = contentChild("header", {
|
|
581
|
+
...ngDevMode ? { debugName: "headerTemplate" } : /* istanbul ignore next */ {},
|
|
582
|
+
descendants: false
|
|
583
|
+
});
|
|
584
|
+
_headerTemplate;
|
|
585
|
+
itemTemplate = contentChild("item", {
|
|
586
|
+
...ngDevMode ? { debugName: "itemTemplate" } : /* istanbul ignore next */ {},
|
|
587
|
+
descendants: false
|
|
588
|
+
});
|
|
589
|
+
_itemTemplate;
|
|
590
|
+
submenuHeaderTemplate = contentChild("submenuheader", {
|
|
591
|
+
...ngDevMode ? { debugName: "submenuHeaderTemplate" } : /* istanbul ignore next */ {},
|
|
592
|
+
descendants: false
|
|
593
|
+
});
|
|
594
|
+
_submenuHeaderTemplate;
|
|
595
|
+
templates = contentChildren(HelixTemplate, ...ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []);
|
|
596
|
+
onAfterContentInit() {
|
|
597
|
+
this.templates()?.forEach((item) => {
|
|
598
|
+
switch (item.getType()) {
|
|
599
|
+
case "start":
|
|
600
|
+
this._startTemplate = item.template;
|
|
601
|
+
break;
|
|
602
|
+
case "end":
|
|
603
|
+
this._endTemplate = item.template;
|
|
604
|
+
break;
|
|
605
|
+
case "item":
|
|
606
|
+
this._itemTemplate = item.template;
|
|
607
|
+
break;
|
|
608
|
+
case "submenuheader":
|
|
609
|
+
this._submenuHeaderTemplate = item.template;
|
|
610
|
+
break;
|
|
611
|
+
default:
|
|
612
|
+
this._itemTemplate = item.template;
|
|
613
|
+
break;
|
|
614
|
+
}
|
|
615
|
+
});
|
|
616
|
+
}
|
|
617
|
+
getTabIndexValue() {
|
|
618
|
+
const tabindex = this.tabindex();
|
|
619
|
+
return tabindex !== void 0 ? tabindex.toString() : null;
|
|
620
|
+
}
|
|
621
|
+
onOverlayBeforeEnter(event) {
|
|
622
|
+
this.container = event.element;
|
|
623
|
+
if (this.container) {
|
|
624
|
+
addStyle(this.container, {
|
|
625
|
+
position: "absolute",
|
|
626
|
+
top: "0"
|
|
627
|
+
});
|
|
628
|
+
this.appendOverlay();
|
|
629
|
+
this.moveOnTop();
|
|
630
|
+
this.$attrSelector && this.container?.setAttribute(this.$attrSelector, "");
|
|
631
|
+
this.bindDocumentClickListener();
|
|
632
|
+
this.bindDocumentResizeListener();
|
|
633
|
+
this.bindScrollListener();
|
|
634
|
+
absolutePosition(this.container, this.target);
|
|
635
|
+
focus(this.listViewChild()?.nativeElement);
|
|
636
|
+
this.onShow.emit({});
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
onOverlayAfterLeave() {
|
|
640
|
+
this.restoreOverlayAppend();
|
|
641
|
+
this.onOverlayHide();
|
|
642
|
+
this.overlayVisible = false;
|
|
643
|
+
this.onHide.emit({});
|
|
644
|
+
}
|
|
645
|
+
appendOverlay() {
|
|
646
|
+
if (this.$appendTo() && this.$appendTo() !== "self") if (this.$appendTo() === "body") appendChild(this.document.body, this.container);
|
|
647
|
+
else appendChild(this.$appendTo(), this.container);
|
|
648
|
+
}
|
|
649
|
+
restoreOverlayAppend() {
|
|
650
|
+
if (this.container && this.$appendTo() !== "self") appendChild(this.el.nativeElement, this.container);
|
|
651
|
+
}
|
|
652
|
+
moveOnTop() {
|
|
653
|
+
if (this.autoZIndex()) ZIndexUtils.set("menu", this.container, this.baseZIndex() + this.config.zIndex.menu);
|
|
654
|
+
}
|
|
655
|
+
hide() {
|
|
656
|
+
this.visible = false;
|
|
657
|
+
this.cd.markForCheck();
|
|
658
|
+
}
|
|
659
|
+
onWindowResize() {
|
|
660
|
+
if (this.visible && !isTouchDevice()) this.hide();
|
|
661
|
+
}
|
|
662
|
+
menuitemId(item, id, index, childIndex) {
|
|
663
|
+
return item?.id ?? `${id}_${index}${childIndex !== void 0 ? "_" + childIndex : ""}`;
|
|
664
|
+
}
|
|
665
|
+
isItemFocused(id) {
|
|
666
|
+
return this.focusedOptionId() === id;
|
|
667
|
+
}
|
|
668
|
+
label(label) {
|
|
669
|
+
return typeof label === "function" ? label() : label;
|
|
670
|
+
}
|
|
671
|
+
disabled(disabled) {
|
|
672
|
+
return typeof disabled === "function" ? disabled() : typeof disabled === "undefined" ? false : disabled;
|
|
673
|
+
}
|
|
674
|
+
activedescendant() {
|
|
675
|
+
return this.focused ? this.focusedOptionId() : void 0;
|
|
676
|
+
}
|
|
677
|
+
onListFocus(event) {
|
|
678
|
+
if (!this.focused) {
|
|
679
|
+
this.focused = true;
|
|
680
|
+
!this.popup() && this.changeFocusedOptionIndex(0);
|
|
681
|
+
this.onFocus.emit(event);
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
onListBlur(event) {
|
|
685
|
+
if (this.focused) {
|
|
686
|
+
this.focused = false;
|
|
687
|
+
this.changeFocusedOptionIndex(-1);
|
|
688
|
+
this.selectedOptionIndex.set(-1);
|
|
689
|
+
this.focusedOptionIndex.set(-1);
|
|
690
|
+
this.onBlur.emit(event);
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
onListKeyDown(event) {
|
|
694
|
+
switch (event.code) {
|
|
695
|
+
case "ArrowDown":
|
|
696
|
+
this.onArrowDownKey(event);
|
|
697
|
+
break;
|
|
698
|
+
case "ArrowUp":
|
|
699
|
+
this.onArrowUpKey(event);
|
|
700
|
+
break;
|
|
701
|
+
case "Home":
|
|
702
|
+
this.onHomeKey(event);
|
|
703
|
+
break;
|
|
704
|
+
case "End":
|
|
705
|
+
this.onEndKey(event);
|
|
706
|
+
break;
|
|
707
|
+
case "Enter":
|
|
708
|
+
this.onEnterKey(event);
|
|
709
|
+
break;
|
|
710
|
+
case "NumpadEnter":
|
|
711
|
+
this.onEnterKey(event);
|
|
712
|
+
break;
|
|
713
|
+
case "Space":
|
|
714
|
+
this.onSpaceKey(event);
|
|
715
|
+
break;
|
|
716
|
+
case "Escape":
|
|
717
|
+
case "Tab":
|
|
718
|
+
if (this.popup()) {
|
|
719
|
+
focus(this.target);
|
|
720
|
+
this.hide();
|
|
721
|
+
}
|
|
722
|
+
this.overlayVisible && this.hide();
|
|
723
|
+
break;
|
|
724
|
+
default: break;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
onArrowDownKey(event) {
|
|
728
|
+
const optionIndex = this.findNextOptionIndex(this.focusedOptionIndex());
|
|
729
|
+
this.changeFocusedOptionIndex(optionIndex);
|
|
730
|
+
event.preventDefault();
|
|
731
|
+
}
|
|
732
|
+
onArrowUpKey(event) {
|
|
733
|
+
if (event.altKey && this.popup()) {
|
|
734
|
+
focus(this.target);
|
|
735
|
+
this.hide();
|
|
736
|
+
event.preventDefault();
|
|
737
|
+
} else {
|
|
738
|
+
const optionIndex = this.findPrevOptionIndex(this.focusedOptionIndex());
|
|
739
|
+
this.changeFocusedOptionIndex(optionIndex);
|
|
740
|
+
event.preventDefault();
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
onHomeKey(event) {
|
|
744
|
+
this.changeFocusedOptionIndex(0);
|
|
745
|
+
event.preventDefault();
|
|
746
|
+
}
|
|
747
|
+
onEndKey(event) {
|
|
748
|
+
this.changeFocusedOptionIndex(find(this.containerViewChild()?.nativeElement, "li[data-pc-section=\"item\"][data-h-disabled=\"false\"]").length - 1);
|
|
749
|
+
event.preventDefault();
|
|
750
|
+
}
|
|
751
|
+
onEnterKey(event) {
|
|
752
|
+
const element = findSingle(this.containerViewChild()?.nativeElement, `li[id="${`${this.focusedOptionIndex()}`}"]`);
|
|
753
|
+
const anchorElement = element && (findSingle(element, "[data-pc-section=\"itemlink\"]") || findSingle(element, "a,button"));
|
|
754
|
+
this.popup() && focus(this.target);
|
|
755
|
+
anchorElement ? anchorElement.click() : element && element.click();
|
|
756
|
+
event.preventDefault();
|
|
757
|
+
}
|
|
758
|
+
onSpaceKey(event) {
|
|
759
|
+
this.onEnterKey(event);
|
|
760
|
+
}
|
|
761
|
+
findNextOptionIndex(index) {
|
|
762
|
+
const matchedOptionIndex = [...find(this.containerViewChild()?.nativeElement, "li[data-pc-section=\"item\"][data-h-disabled=\"false\"]")].findIndex((link) => link.id === index);
|
|
763
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex + 1 : 0;
|
|
764
|
+
}
|
|
765
|
+
findPrevOptionIndex(index) {
|
|
766
|
+
const matchedOptionIndex = [...find(this.containerViewChild()?.nativeElement, "li[data-pc-section=\"item\"][data-h-disabled=\"false\"]")].findIndex((link) => link.id === index);
|
|
767
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex - 1 : 0;
|
|
768
|
+
}
|
|
769
|
+
changeFocusedOptionIndex(index) {
|
|
770
|
+
const links = find(this.containerViewChild()?.nativeElement, "li[data-pc-section=\"item\"][data-h-disabled=\"false\"]");
|
|
771
|
+
if (links.length > 0) {
|
|
772
|
+
let order = index >= links.length ? links.length - 1 : index < 0 ? 0 : index;
|
|
773
|
+
order > -1 && this.focusedOptionIndex.set(links[order].getAttribute("id"));
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
itemClick(event, id) {
|
|
777
|
+
const { originalEvent, item } = event;
|
|
778
|
+
if (!this.focused) {
|
|
779
|
+
this.focused = true;
|
|
780
|
+
this.onFocus.emit(void 0);
|
|
781
|
+
}
|
|
782
|
+
if (item.disabled) {
|
|
783
|
+
originalEvent.preventDefault();
|
|
784
|
+
return;
|
|
785
|
+
}
|
|
786
|
+
if (!item.url && !item.routerLink) originalEvent.preventDefault();
|
|
787
|
+
if (item.command) item.command({
|
|
788
|
+
originalEvent,
|
|
789
|
+
item
|
|
790
|
+
});
|
|
791
|
+
if (this.popup()) this.hide();
|
|
792
|
+
if (!this.popup() && this.focusedOptionIndex() !== id) this.focusedOptionIndex.set(id);
|
|
793
|
+
}
|
|
794
|
+
onOverlayClick(event) {
|
|
795
|
+
if (this.popup()) this.overlayService.add({
|
|
796
|
+
originalEvent: event,
|
|
797
|
+
target: this.el.nativeElement
|
|
798
|
+
});
|
|
799
|
+
this.preventDocumentDefault = true;
|
|
800
|
+
}
|
|
801
|
+
bindDocumentClickListener() {
|
|
802
|
+
if (!this.documentClickListener && isPlatformBrowser(this.platformId)) {
|
|
803
|
+
const documentTarget = this.el ? this.el.nativeElement.ownerDocument : "document";
|
|
804
|
+
this.documentClickListener = this.renderer.listen(documentTarget, "click", (event) => {
|
|
805
|
+
const isOutsideContainer = this.containerViewChild()?.nativeElement && !this.containerViewChild()?.nativeElement.contains(event.target);
|
|
806
|
+
const isOutsideTarget = !(this.target && (this.target === event.target || this.target.contains(event.target)));
|
|
807
|
+
if (!this.popup() && isOutsideContainer && isOutsideTarget) this.onListBlur(event);
|
|
808
|
+
if (this.preventDocumentDefault && this.overlayVisible && isOutsideContainer && isOutsideTarget) {
|
|
809
|
+
this.hide();
|
|
810
|
+
this.preventDocumentDefault = false;
|
|
811
|
+
}
|
|
812
|
+
});
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
unbindDocumentClickListener() {
|
|
816
|
+
if (this.documentClickListener) {
|
|
817
|
+
this.documentClickListener();
|
|
818
|
+
this.documentClickListener = null;
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
bindDocumentResizeListener() {
|
|
822
|
+
if (!this.documentResizeListener && isPlatformBrowser(this.platformId)) {
|
|
823
|
+
const window = this.document.defaultView;
|
|
824
|
+
this.documentResizeListener = this.renderer.listen(window, "resize", this.onWindowResize.bind(this));
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
unbindDocumentResizeListener() {
|
|
828
|
+
if (this.documentResizeListener) {
|
|
829
|
+
this.documentResizeListener();
|
|
830
|
+
this.documentResizeListener = null;
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
bindScrollListener() {
|
|
834
|
+
if (!this.scrollHandler && isPlatformBrowser(this.platformId)) this.scrollHandler = new ConnectedOverlayScrollHandler(this.target, () => {
|
|
835
|
+
if (this.visible) this.hide();
|
|
836
|
+
});
|
|
837
|
+
this.scrollHandler?.bindScrollListener();
|
|
838
|
+
}
|
|
839
|
+
unbindScrollListener() {
|
|
840
|
+
if (this.scrollHandler) {
|
|
841
|
+
this.scrollHandler.unbindScrollListener();
|
|
842
|
+
this.scrollHandler = null;
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
onOverlayHide() {
|
|
846
|
+
this.unbindDocumentClickListener();
|
|
847
|
+
this.unbindDocumentResizeListener();
|
|
848
|
+
this.unbindScrollListener();
|
|
849
|
+
this.preventDocumentDefault = false;
|
|
850
|
+
if (!this.cd.destroyed) this.target = null;
|
|
851
|
+
if (this.container) {
|
|
852
|
+
if (this.autoZIndex()) ZIndexUtils.clear(this.container);
|
|
853
|
+
this.container = void 0;
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
onDestroy() {
|
|
857
|
+
if (this.popup()) {
|
|
858
|
+
if (this.scrollHandler) {
|
|
859
|
+
this.scrollHandler.destroy();
|
|
860
|
+
this.scrollHandler = null;
|
|
861
|
+
}
|
|
862
|
+
if (this.container) {
|
|
863
|
+
if (this.autoZIndex()) ZIndexUtils.clear(this.container);
|
|
864
|
+
this.container = void 0;
|
|
865
|
+
}
|
|
866
|
+
this.restoreOverlayAppend();
|
|
867
|
+
this.onOverlayHide();
|
|
868
|
+
}
|
|
869
|
+
if (!this.popup()) this.unbindDocumentClickListener();
|
|
870
|
+
}
|
|
871
|
+
hasSubMenu() {
|
|
872
|
+
return this.model()?.some((item) => item.items) ?? false;
|
|
873
|
+
}
|
|
874
|
+
isItemHidden(item) {
|
|
875
|
+
if (item.separator) return item.visible === false || item.items && item.items.some((subitem) => subitem.visible !== false);
|
|
876
|
+
return item.visible === false;
|
|
877
|
+
}
|
|
878
|
+
get dataP() {
|
|
879
|
+
return this.cn({ popup: this.popup() });
|
|
880
|
+
}
|
|
881
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
882
|
+
minVersion: "12.0.0",
|
|
883
|
+
version: "22.2.1",
|
|
884
|
+
ngImport: i0,
|
|
885
|
+
type: Menu,
|
|
886
|
+
deps: [{ token: i6.OverlayService }],
|
|
887
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
888
|
+
});
|
|
889
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
890
|
+
minVersion: "17.0.0",
|
|
891
|
+
version: "22.2.1",
|
|
892
|
+
type: Menu,
|
|
893
|
+
isStandalone: true,
|
|
894
|
+
selector: "h-menu",
|
|
895
|
+
inputs: {
|
|
896
|
+
model: {
|
|
897
|
+
classPropertyName: "model",
|
|
898
|
+
publicName: "model",
|
|
899
|
+
isSignal: true,
|
|
900
|
+
isRequired: false,
|
|
901
|
+
transformFunction: null
|
|
902
|
+
},
|
|
903
|
+
popup: {
|
|
904
|
+
classPropertyName: "popup",
|
|
905
|
+
publicName: "popup",
|
|
906
|
+
isSignal: true,
|
|
907
|
+
isRequired: false,
|
|
908
|
+
transformFunction: null
|
|
909
|
+
},
|
|
910
|
+
style: {
|
|
911
|
+
classPropertyName: "style",
|
|
912
|
+
publicName: "style",
|
|
913
|
+
isSignal: true,
|
|
914
|
+
isRequired: false,
|
|
915
|
+
transformFunction: null
|
|
916
|
+
},
|
|
917
|
+
styleClass: {
|
|
918
|
+
classPropertyName: "styleClass",
|
|
919
|
+
publicName: "styleClass",
|
|
920
|
+
isSignal: true,
|
|
921
|
+
isRequired: false,
|
|
922
|
+
transformFunction: null
|
|
923
|
+
},
|
|
924
|
+
autoZIndex: {
|
|
925
|
+
classPropertyName: "autoZIndex",
|
|
926
|
+
publicName: "autoZIndex",
|
|
927
|
+
isSignal: true,
|
|
928
|
+
isRequired: false,
|
|
929
|
+
transformFunction: null
|
|
930
|
+
},
|
|
931
|
+
baseZIndex: {
|
|
932
|
+
classPropertyName: "baseZIndex",
|
|
933
|
+
publicName: "baseZIndex",
|
|
934
|
+
isSignal: true,
|
|
935
|
+
isRequired: false,
|
|
936
|
+
transformFunction: null
|
|
937
|
+
},
|
|
938
|
+
showTransitionOptions: {
|
|
939
|
+
classPropertyName: "showTransitionOptions",
|
|
940
|
+
publicName: "showTransitionOptions",
|
|
941
|
+
isSignal: true,
|
|
942
|
+
isRequired: false,
|
|
943
|
+
transformFunction: null
|
|
944
|
+
},
|
|
945
|
+
hideTransitionOptions: {
|
|
946
|
+
classPropertyName: "hideTransitionOptions",
|
|
947
|
+
publicName: "hideTransitionOptions",
|
|
948
|
+
isSignal: true,
|
|
949
|
+
isRequired: false,
|
|
950
|
+
transformFunction: null
|
|
951
|
+
},
|
|
952
|
+
ariaLabel: {
|
|
953
|
+
classPropertyName: "ariaLabel",
|
|
954
|
+
publicName: "ariaLabel",
|
|
955
|
+
isSignal: true,
|
|
956
|
+
isRequired: false,
|
|
957
|
+
transformFunction: null
|
|
958
|
+
},
|
|
959
|
+
ariaLabelledBy: {
|
|
960
|
+
classPropertyName: "ariaLabelledBy",
|
|
961
|
+
publicName: "ariaLabelledBy",
|
|
962
|
+
isSignal: true,
|
|
963
|
+
isRequired: false,
|
|
964
|
+
transformFunction: null
|
|
965
|
+
},
|
|
966
|
+
id: {
|
|
967
|
+
classPropertyName: "id",
|
|
968
|
+
publicName: "id",
|
|
969
|
+
isSignal: true,
|
|
970
|
+
isRequired: false,
|
|
971
|
+
transformFunction: null
|
|
972
|
+
},
|
|
973
|
+
tabindex: {
|
|
974
|
+
classPropertyName: "tabindex",
|
|
975
|
+
publicName: "tabindex",
|
|
976
|
+
isSignal: true,
|
|
977
|
+
isRequired: false,
|
|
978
|
+
transformFunction: null
|
|
979
|
+
},
|
|
980
|
+
appendTo: {
|
|
981
|
+
classPropertyName: "appendTo",
|
|
982
|
+
publicName: "appendTo",
|
|
983
|
+
isSignal: true,
|
|
984
|
+
isRequired: false,
|
|
985
|
+
transformFunction: null
|
|
986
|
+
},
|
|
987
|
+
motionOptions: {
|
|
988
|
+
classPropertyName: "motionOptions",
|
|
989
|
+
publicName: "motionOptions",
|
|
990
|
+
isSignal: true,
|
|
991
|
+
isRequired: false,
|
|
992
|
+
transformFunction: null
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
outputs: {
|
|
996
|
+
onShow: "onShow",
|
|
997
|
+
onHide: "onHide",
|
|
998
|
+
onBlur: "onBlur",
|
|
999
|
+
onFocus: "onFocus"
|
|
1000
|
+
},
|
|
1001
|
+
providers: [
|
|
1002
|
+
MenuStyle,
|
|
1003
|
+
{
|
|
1004
|
+
provide: MENU_INSTANCE,
|
|
1005
|
+
useExisting: Menu
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
provide: PARENT_INSTANCE,
|
|
1009
|
+
useExisting: Menu
|
|
1010
|
+
}
|
|
1011
|
+
],
|
|
1012
|
+
queries: [
|
|
1013
|
+
{
|
|
1014
|
+
propertyName: "startTemplate",
|
|
1015
|
+
first: true,
|
|
1016
|
+
predicate: ["start"],
|
|
1017
|
+
isSignal: true
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
propertyName: "endTemplate",
|
|
1021
|
+
first: true,
|
|
1022
|
+
predicate: ["end"],
|
|
1023
|
+
isSignal: true
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
propertyName: "headerTemplate",
|
|
1027
|
+
first: true,
|
|
1028
|
+
predicate: ["header"],
|
|
1029
|
+
isSignal: true
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
propertyName: "itemTemplate",
|
|
1033
|
+
first: true,
|
|
1034
|
+
predicate: ["item"],
|
|
1035
|
+
isSignal: true
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
propertyName: "submenuHeaderTemplate",
|
|
1039
|
+
first: true,
|
|
1040
|
+
predicate: ["submenuheader"],
|
|
1041
|
+
isSignal: true
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
propertyName: "templates",
|
|
1045
|
+
predicate: HelixTemplate,
|
|
1046
|
+
isSignal: true
|
|
1047
|
+
}
|
|
1048
|
+
],
|
|
1049
|
+
viewQueries: [{
|
|
1050
|
+
propertyName: "listViewChild",
|
|
1051
|
+
first: true,
|
|
1052
|
+
predicate: ["list"],
|
|
1053
|
+
descendants: true,
|
|
1054
|
+
isSignal: true
|
|
1055
|
+
}, {
|
|
1056
|
+
propertyName: "containerViewChild",
|
|
1057
|
+
first: true,
|
|
1058
|
+
predicate: ["container"],
|
|
1059
|
+
descendants: true,
|
|
1060
|
+
isSignal: true
|
|
1061
|
+
}],
|
|
1062
|
+
usesInheritance: true,
|
|
1063
|
+
hostDirectives: [{ directive: i4.Bind }],
|
|
1064
|
+
ngImport: i0,
|
|
1065
|
+
template: "@if (!popup() || overlayVisible) {\n <div\n #container\n [class]=\"cn(cx('root'), styleClass())\"\n [style]=\"sx('root')\"\n [ngStyle]=\"style()\"\n (click)=\"onOverlayClick($event)\"\n [attr.id]=\"$id()\"\n [hBind]=\"ptm('root')\"\n [attr.data-h]=\"dataP\"\n [hMotion]=\"visible || !popup()\"\n [pMotionName]=\"'h-anchored-overlay'\"\n [pMotionAppear]=\"!!popup()\"\n [pMotionDisabled]=\"!popup()\"\n [pMotionOptions]=\"computedMotionOptions()\"\n (pMotionOnBeforeEnter)=\"onOverlayBeforeEnter($event)\"\n (pMotionOnAfterLeave)=\"onOverlayAfterLeave()\"\n >\n @if (startTemplate() ?? _startTemplate) {\n <div [class]=\"cx('start')\" [hBind]=\"ptm('start')\" [attr.data-pc-section]=\"'start'\">\n <ng-container *ngTemplateOutlet=\"startTemplate() ?? _startTemplate\"></ng-container>\n </div>\n }\n <ul\n #list\n [class]=\"cx('list')\"\n [hBind]=\"ptm('list')\"\n role=\"menu\"\n [attr.id]=\"$id() + '_list'\"\n [attr.tabindex]=\"getTabIndexValue()\"\n [attr.data-pc-section]=\"'menu'\"\n [attr.aria-activedescendant]=\"activedescendant()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledBy]=\"ariaLabelledBy()\"\n (focus)=\"onListFocus($event)\"\n (blur)=\"onListBlur($event)\"\n (keydown)=\"onListKeyDown($event)\"\n >\n @for (submenu of model(); track submenu; let i = $index) {\n @if (hasSubMenu()) {\n @if (submenu.separator && submenu.visible !== false) {\n <li [class]=\"cx('separator')\" [hBind]=\"ptm('separator')\" role=\"separator\" [attr.data-pc-section]=\"'separator'\"></li>\n }\n @if (!submenu.separator) {\n <li\n [class]=\"cx('submenuLabel')\"\n [hBind]=\"ptm('submenuLabel')\"\n [attr.data-automationid]=\"submenu.automationId\"\n hTooltip\n [tooltipOptions]=\"submenu.tooltipOptions\"\n [pTooltipUnstyled]=\"unstyled()\"\n role=\"none\"\n [attr.id]=\"menuitemId(submenu, id, i)\"\n [attr.data-pc-section]=\"'submenulabel'\"\n >\n @if (!submenuHeaderTemplate() && !_submenuHeaderTemplate) {\n @if (submenu.escape !== false) {\n <span>{{ submenu.label }}</span>\n } @else {\n <span [innerHTML]=\"submenu.label | safeHtml\"></span>\n }\n }\n <ng-container *ngTemplateOutlet=\"submenuHeaderTemplate() ?? _submenuHeaderTemplate; context: { $implicit: submenu }\"></ng-container>\n </li>\n }\n @for (item of submenu.items; track item; let j = $index) {\n @if (item.separator && (item.visible !== false || submenu.visible !== false)) {\n <li [class]=\"cx('separator')\" [hBind]=\"ptm('separator')\" role=\"separator\" [attr.data-pc-section]=\"'separator'\"></li>\n }\n @if (!item.separator && item.visible !== false && (item.visible !== undefined || submenu.visible !== false)) {\n <li\n [class]=\"cn(cx('item', { item, id: menuitemId(item, id, i, j) }), $safeNavigationMigration(item?.styleClass))\"\n [hBind]=\"ptm('item')\"\n [hMenuItemContent]=\"item\"\n [itemTemplate()]=\"itemTemplate() ?? _itemTemplate\"\n [idx]=\"j\"\n [menuitemId]=\"menuitemId(item, id, i, j)\"\n [style]=\"item.style\"\n (onMenuItemClick)=\"itemClick($event, menuitemId(item, id, i, j))\"\n hTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [pTooltipUnstyled]=\"unstyled()\"\n [unstyled]=\"unstyled()\"\n role=\"menuitem\"\n [attr.aria-label]=\"label(item.label)\"\n [attr.data-h-focused]=\"isItemFocused(menuitemId(item, id, i, j))\"\n [attr.data-h-disabled]=\"disabled(item.disabled)\"\n [attr.aria-disabled]=\"disabled(item.disabled)\"\n [attr.id]=\"menuitemId(item, id, i, j)\"\n ></li>\n }\n }\n }\n }\n @for (item of model(); track item; let i = $index) {\n @if (!hasSubMenu()) {\n @if (item.separator && item.visible !== false) {\n <li [class]=\"cx('separator')\" [hBind]=\"ptm('separator')\" role=\"separator\" [attr.data-pc-section]=\"'separator'\"></li>\n }\n @if (!item.separator && item.visible !== false) {\n <li\n [class]=\"cn(cx('item', { item, id: menuitemId(item, id, i) }), $safeNavigationMigration(item?.styleClass))\"\n [hBind]=\"ptm('item')\"\n [hMenuItemContent]=\"item\"\n [itemTemplate()]=\"itemTemplate() ?? _itemTemplate\"\n [idx]=\"i\"\n [menuitemId]=\"menuitemId(item, id, i)\"\n [ngStyle]=\"item.style\"\n (onMenuItemClick)=\"itemClick($event, menuitemId(item, id, i))\"\n hTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [unstyled]=\"unstyled()\"\n [pTooltipUnstyled]=\"unstyled()\"\n role=\"menuitem\"\n [attr.aria-label]=\"label(item.label)\"\n [attr.data-h-focused]=\"isItemFocused(menuitemId(item, id, i))\"\n [attr.data-h-disabled]=\"disabled(item.disabled)\"\n [attr.aria-disabled]=\"disabled(item.disabled)\"\n [attr.id]=\"menuitemId(item, id, i)\"\n ></li>\n }\n }\n }\n </ul>\n @if (endTemplate() ?? _endTemplate) {\n <div [class]=\"cx('end')\" [hBind]=\"ptm('end')\" [attr.data-pc-section]=\"'end'\">\n <ng-container *ngTemplateOutlet=\"endTemplate() ?? _endTemplate\"></ng-container>\n </div>\n }\n </div>\n}\n",
|
|
1066
|
+
dependencies: [
|
|
1067
|
+
{
|
|
1068
|
+
kind: "ngmodule",
|
|
1069
|
+
type: CommonModule
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
kind: "directive",
|
|
1073
|
+
type: i2.NgTemplateOutlet,
|
|
1074
|
+
selector: "[ngTemplateOutlet]",
|
|
1075
|
+
inputs: [
|
|
1076
|
+
"ngTemplateOutletContext",
|
|
1077
|
+
"ngTemplateOutlet",
|
|
1078
|
+
"ngTemplateOutletInjector"
|
|
1079
|
+
]
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
kind: "directive",
|
|
1083
|
+
type: i2.NgStyle,
|
|
1084
|
+
selector: "[ngStyle]",
|
|
1085
|
+
inputs: ["ngStyle"]
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
kind: "ngmodule",
|
|
1089
|
+
type: RouterModule
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
kind: "component",
|
|
1093
|
+
type: MenuItemContent,
|
|
1094
|
+
selector: "[hMenuItemContent]",
|
|
1095
|
+
inputs: [
|
|
1096
|
+
"hMenuItemContent",
|
|
1097
|
+
"itemTemplate",
|
|
1098
|
+
"menuitemId",
|
|
1099
|
+
"idx"
|
|
1100
|
+
],
|
|
1101
|
+
outputs: ["onMenuItemClick"]
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
kind: "ngmodule",
|
|
1105
|
+
type: TooltipModule
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
kind: "directive",
|
|
1109
|
+
type: i7.Tooltip,
|
|
1110
|
+
selector: "[hTooltip]",
|
|
1111
|
+
inputs: [
|
|
1112
|
+
"tooltipPosition",
|
|
1113
|
+
"tooltipEvent",
|
|
1114
|
+
"positionStyle",
|
|
1115
|
+
"tooltipStyleClass",
|
|
1116
|
+
"tooltipZIndex",
|
|
1117
|
+
"escape",
|
|
1118
|
+
"showDelay",
|
|
1119
|
+
"hideDelay",
|
|
1120
|
+
"life",
|
|
1121
|
+
"positionTop",
|
|
1122
|
+
"positionLeft",
|
|
1123
|
+
"autoHide",
|
|
1124
|
+
"fitContent",
|
|
1125
|
+
"hideOnEscape",
|
|
1126
|
+
"showOnEllipsis",
|
|
1127
|
+
"hTooltip",
|
|
1128
|
+
"tooltipDisabled",
|
|
1129
|
+
"tooltipOptions",
|
|
1130
|
+
"appendTo",
|
|
1131
|
+
"ptTooltip",
|
|
1132
|
+
"pTooltipPT",
|
|
1133
|
+
"pTooltipUnstyled"
|
|
1134
|
+
]
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
kind: "directive",
|
|
1138
|
+
type: i4.Bind,
|
|
1139
|
+
selector: "[hBind]",
|
|
1140
|
+
inputs: ["hBind"]
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
kind: "ngmodule",
|
|
1144
|
+
type: BadgeModule
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
kind: "ngmodule",
|
|
1148
|
+
type: SharedModule
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
kind: "ngmodule",
|
|
1152
|
+
type: BindModule
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
kind: "ngmodule",
|
|
1156
|
+
type: MotionModule
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
kind: "directive",
|
|
1160
|
+
type: i8.MotionDirective,
|
|
1161
|
+
selector: "[hMotion]",
|
|
1162
|
+
inputs: [
|
|
1163
|
+
"hMotion",
|
|
1164
|
+
"pMotionName",
|
|
1165
|
+
"pMotionType",
|
|
1166
|
+
"pMotionSafe",
|
|
1167
|
+
"pMotionDisabled",
|
|
1168
|
+
"pMotionAppear",
|
|
1169
|
+
"pMotionEnter",
|
|
1170
|
+
"pMotionLeave",
|
|
1171
|
+
"pMotionDuration",
|
|
1172
|
+
"pMotionHideStrategy",
|
|
1173
|
+
"pMotionEnterFromClass",
|
|
1174
|
+
"pMotionEnterToClass",
|
|
1175
|
+
"pMotionEnterActiveClass",
|
|
1176
|
+
"pMotionLeaveFromClass",
|
|
1177
|
+
"pMotionLeaveToClass",
|
|
1178
|
+
"pMotionLeaveActiveClass",
|
|
1179
|
+
"pMotionOptions"
|
|
1180
|
+
],
|
|
1181
|
+
outputs: [
|
|
1182
|
+
"pMotionOnBeforeEnter",
|
|
1183
|
+
"pMotionOnEnter",
|
|
1184
|
+
"pMotionOnAfterEnter",
|
|
1185
|
+
"pMotionOnEnterCancelled",
|
|
1186
|
+
"pMotionOnBeforeLeave",
|
|
1187
|
+
"pMotionOnLeave",
|
|
1188
|
+
"pMotionOnAfterLeave",
|
|
1189
|
+
"pMotionOnLeaveCancelled"
|
|
1190
|
+
]
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
kind: "pipe",
|
|
1194
|
+
type: SafeHtmlPipe,
|
|
1195
|
+
name: "safeHtml"
|
|
1196
|
+
}
|
|
1197
|
+
],
|
|
1198
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1199
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
1200
|
+
});
|
|
1201
|
+
};
|
|
1202
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1203
|
+
minVersion: "12.0.0",
|
|
1204
|
+
version: "22.2.1",
|
|
1205
|
+
ngImport: i0,
|
|
1206
|
+
type: Menu,
|
|
1207
|
+
decorators: [{
|
|
1208
|
+
type: Component,
|
|
1209
|
+
args: [{
|
|
1210
|
+
selector: "h-menu",
|
|
1211
|
+
standalone: true,
|
|
1212
|
+
imports: [
|
|
1213
|
+
CommonModule,
|
|
1214
|
+
RouterModule,
|
|
1215
|
+
MenuItemContent,
|
|
1216
|
+
TooltipModule,
|
|
1217
|
+
BadgeModule,
|
|
1218
|
+
SharedModule,
|
|
1219
|
+
SafeHtmlPipe,
|
|
1220
|
+
BindModule,
|
|
1221
|
+
MotionModule
|
|
1222
|
+
],
|
|
1223
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1224
|
+
encapsulation: ViewEncapsulation.None,
|
|
1225
|
+
providers: [
|
|
1226
|
+
MenuStyle,
|
|
1227
|
+
{
|
|
1228
|
+
provide: MENU_INSTANCE,
|
|
1229
|
+
useExisting: Menu
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
provide: PARENT_INSTANCE,
|
|
1233
|
+
useExisting: Menu
|
|
1234
|
+
}
|
|
1235
|
+
],
|
|
1236
|
+
hostDirectives: [Bind],
|
|
1237
|
+
template: "@if (!popup() || overlayVisible) {\n <div\n #container\n [class]=\"cn(cx('root'), styleClass())\"\n [style]=\"sx('root')\"\n [ngStyle]=\"style()\"\n (click)=\"onOverlayClick($event)\"\n [attr.id]=\"$id()\"\n [hBind]=\"ptm('root')\"\n [attr.data-h]=\"dataP\"\n [hMotion]=\"visible || !popup()\"\n [pMotionName]=\"'h-anchored-overlay'\"\n [pMotionAppear]=\"!!popup()\"\n [pMotionDisabled]=\"!popup()\"\n [pMotionOptions]=\"computedMotionOptions()\"\n (pMotionOnBeforeEnter)=\"onOverlayBeforeEnter($event)\"\n (pMotionOnAfterLeave)=\"onOverlayAfterLeave()\"\n >\n @if (startTemplate() ?? _startTemplate) {\n <div [class]=\"cx('start')\" [hBind]=\"ptm('start')\" [attr.data-pc-section]=\"'start'\">\n <ng-container *ngTemplateOutlet=\"startTemplate() ?? _startTemplate\"></ng-container>\n </div>\n }\n <ul\n #list\n [class]=\"cx('list')\"\n [hBind]=\"ptm('list')\"\n role=\"menu\"\n [attr.id]=\"$id() + '_list'\"\n [attr.tabindex]=\"getTabIndexValue()\"\n [attr.data-pc-section]=\"'menu'\"\n [attr.aria-activedescendant]=\"activedescendant()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledBy]=\"ariaLabelledBy()\"\n (focus)=\"onListFocus($event)\"\n (blur)=\"onListBlur($event)\"\n (keydown)=\"onListKeyDown($event)\"\n >\n @for (submenu of model(); track submenu; let i = $index) {\n @if (hasSubMenu()) {\n @if (submenu.separator && submenu.visible !== false) {\n <li [class]=\"cx('separator')\" [hBind]=\"ptm('separator')\" role=\"separator\" [attr.data-pc-section]=\"'separator'\"></li>\n }\n @if (!submenu.separator) {\n <li\n [class]=\"cx('submenuLabel')\"\n [hBind]=\"ptm('submenuLabel')\"\n [attr.data-automationid]=\"submenu.automationId\"\n hTooltip\n [tooltipOptions]=\"submenu.tooltipOptions\"\n [pTooltipUnstyled]=\"unstyled()\"\n role=\"none\"\n [attr.id]=\"menuitemId(submenu, id, i)\"\n [attr.data-pc-section]=\"'submenulabel'\"\n >\n @if (!submenuHeaderTemplate() && !_submenuHeaderTemplate) {\n @if (submenu.escape !== false) {\n <span>{{ submenu.label }}</span>\n } @else {\n <span [innerHTML]=\"submenu.label | safeHtml\"></span>\n }\n }\n <ng-container *ngTemplateOutlet=\"submenuHeaderTemplate() ?? _submenuHeaderTemplate; context: { $implicit: submenu }\"></ng-container>\n </li>\n }\n @for (item of submenu.items; track item; let j = $index) {\n @if (item.separator && (item.visible !== false || submenu.visible !== false)) {\n <li [class]=\"cx('separator')\" [hBind]=\"ptm('separator')\" role=\"separator\" [attr.data-pc-section]=\"'separator'\"></li>\n }\n @if (!item.separator && item.visible !== false && (item.visible !== undefined || submenu.visible !== false)) {\n <li\n [class]=\"cn(cx('item', { item, id: menuitemId(item, id, i, j) }), $safeNavigationMigration(item?.styleClass))\"\n [hBind]=\"ptm('item')\"\n [hMenuItemContent]=\"item\"\n [itemTemplate()]=\"itemTemplate() ?? _itemTemplate\"\n [idx]=\"j\"\n [menuitemId]=\"menuitemId(item, id, i, j)\"\n [style]=\"item.style\"\n (onMenuItemClick)=\"itemClick($event, menuitemId(item, id, i, j))\"\n hTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [pTooltipUnstyled]=\"unstyled()\"\n [unstyled]=\"unstyled()\"\n role=\"menuitem\"\n [attr.aria-label]=\"label(item.label)\"\n [attr.data-h-focused]=\"isItemFocused(menuitemId(item, id, i, j))\"\n [attr.data-h-disabled]=\"disabled(item.disabled)\"\n [attr.aria-disabled]=\"disabled(item.disabled)\"\n [attr.id]=\"menuitemId(item, id, i, j)\"\n ></li>\n }\n }\n }\n }\n @for (item of model(); track item; let i = $index) {\n @if (!hasSubMenu()) {\n @if (item.separator && item.visible !== false) {\n <li [class]=\"cx('separator')\" [hBind]=\"ptm('separator')\" role=\"separator\" [attr.data-pc-section]=\"'separator'\"></li>\n }\n @if (!item.separator && item.visible !== false) {\n <li\n [class]=\"cn(cx('item', { item, id: menuitemId(item, id, i) }), $safeNavigationMigration(item?.styleClass))\"\n [hBind]=\"ptm('item')\"\n [hMenuItemContent]=\"item\"\n [itemTemplate()]=\"itemTemplate() ?? _itemTemplate\"\n [idx]=\"i\"\n [menuitemId]=\"menuitemId(item, id, i)\"\n [ngStyle]=\"item.style\"\n (onMenuItemClick)=\"itemClick($event, menuitemId(item, id, i))\"\n hTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [unstyled]=\"unstyled()\"\n [pTooltipUnstyled]=\"unstyled()\"\n role=\"menuitem\"\n [attr.aria-label]=\"label(item.label)\"\n [attr.data-h-focused]=\"isItemFocused(menuitemId(item, id, i))\"\n [attr.data-h-disabled]=\"disabled(item.disabled)\"\n [attr.aria-disabled]=\"disabled(item.disabled)\"\n [attr.id]=\"menuitemId(item, id, i)\"\n ></li>\n }\n }\n }\n </ul>\n @if (endTemplate() ?? _endTemplate) {\n <div [class]=\"cx('end')\" [hBind]=\"ptm('end')\" [attr.data-pc-section]=\"'end'\">\n <ng-container *ngTemplateOutlet=\"endTemplate() ?? _endTemplate\"></ng-container>\n </div>\n }\n </div>\n}\n"
|
|
1238
|
+
}]
|
|
1239
|
+
}],
|
|
1240
|
+
ctorParameters: () => [{ type: i6.OverlayService }],
|
|
1241
|
+
propDecorators: {
|
|
1242
|
+
model: [{
|
|
1243
|
+
type: i0.Input,
|
|
1244
|
+
args: [{
|
|
1245
|
+
isSignal: true,
|
|
1246
|
+
alias: "model",
|
|
1247
|
+
required: false
|
|
1248
|
+
}]
|
|
1249
|
+
}],
|
|
1250
|
+
popup: [{
|
|
1251
|
+
type: i0.Input,
|
|
1252
|
+
args: [{
|
|
1253
|
+
isSignal: true,
|
|
1254
|
+
alias: "popup",
|
|
1255
|
+
required: false
|
|
1256
|
+
}]
|
|
1257
|
+
}],
|
|
1258
|
+
style: [{
|
|
1259
|
+
type: i0.Input,
|
|
1260
|
+
args: [{
|
|
1261
|
+
isSignal: true,
|
|
1262
|
+
alias: "style",
|
|
1263
|
+
required: false
|
|
1264
|
+
}]
|
|
1265
|
+
}],
|
|
1266
|
+
styleClass: [{
|
|
1267
|
+
type: i0.Input,
|
|
1268
|
+
args: [{
|
|
1269
|
+
isSignal: true,
|
|
1270
|
+
alias: "styleClass",
|
|
1271
|
+
required: false
|
|
1272
|
+
}]
|
|
1273
|
+
}],
|
|
1274
|
+
autoZIndex: [{
|
|
1275
|
+
type: i0.Input,
|
|
1276
|
+
args: [{
|
|
1277
|
+
isSignal: true,
|
|
1278
|
+
alias: "autoZIndex",
|
|
1279
|
+
required: false
|
|
1280
|
+
}]
|
|
1281
|
+
}],
|
|
1282
|
+
baseZIndex: [{
|
|
1283
|
+
type: i0.Input,
|
|
1284
|
+
args: [{
|
|
1285
|
+
isSignal: true,
|
|
1286
|
+
alias: "baseZIndex",
|
|
1287
|
+
required: false
|
|
1288
|
+
}]
|
|
1289
|
+
}],
|
|
1290
|
+
showTransitionOptions: [{
|
|
1291
|
+
type: i0.Input,
|
|
1292
|
+
args: [{
|
|
1293
|
+
isSignal: true,
|
|
1294
|
+
alias: "showTransitionOptions",
|
|
1295
|
+
required: false
|
|
1296
|
+
}]
|
|
1297
|
+
}],
|
|
1298
|
+
hideTransitionOptions: [{
|
|
1299
|
+
type: i0.Input,
|
|
1300
|
+
args: [{
|
|
1301
|
+
isSignal: true,
|
|
1302
|
+
alias: "hideTransitionOptions",
|
|
1303
|
+
required: false
|
|
1304
|
+
}]
|
|
1305
|
+
}],
|
|
1306
|
+
ariaLabel: [{
|
|
1307
|
+
type: i0.Input,
|
|
1308
|
+
args: [{
|
|
1309
|
+
isSignal: true,
|
|
1310
|
+
alias: "ariaLabel",
|
|
1311
|
+
required: false
|
|
1312
|
+
}]
|
|
1313
|
+
}],
|
|
1314
|
+
ariaLabelledBy: [{
|
|
1315
|
+
type: i0.Input,
|
|
1316
|
+
args: [{
|
|
1317
|
+
isSignal: true,
|
|
1318
|
+
alias: "ariaLabelledBy",
|
|
1319
|
+
required: false
|
|
1320
|
+
}]
|
|
1321
|
+
}],
|
|
1322
|
+
id: [{
|
|
1323
|
+
type: i0.Input,
|
|
1324
|
+
args: [{
|
|
1325
|
+
isSignal: true,
|
|
1326
|
+
alias: "id",
|
|
1327
|
+
required: false
|
|
1328
|
+
}]
|
|
1329
|
+
}],
|
|
1330
|
+
tabindex: [{
|
|
1331
|
+
type: i0.Input,
|
|
1332
|
+
args: [{
|
|
1333
|
+
isSignal: true,
|
|
1334
|
+
alias: "tabindex",
|
|
1335
|
+
required: false
|
|
1336
|
+
}]
|
|
1337
|
+
}],
|
|
1338
|
+
appendTo: [{
|
|
1339
|
+
type: i0.Input,
|
|
1340
|
+
args: [{
|
|
1341
|
+
isSignal: true,
|
|
1342
|
+
alias: "appendTo",
|
|
1343
|
+
required: false
|
|
1344
|
+
}]
|
|
1345
|
+
}],
|
|
1346
|
+
motionOptions: [{
|
|
1347
|
+
type: i0.Input,
|
|
1348
|
+
args: [{
|
|
1349
|
+
isSignal: true,
|
|
1350
|
+
alias: "motionOptions",
|
|
1351
|
+
required: false
|
|
1352
|
+
}]
|
|
1353
|
+
}],
|
|
1354
|
+
onShow: [{
|
|
1355
|
+
type: i0.Output,
|
|
1356
|
+
args: ["onShow"]
|
|
1357
|
+
}],
|
|
1358
|
+
onHide: [{
|
|
1359
|
+
type: i0.Output,
|
|
1360
|
+
args: ["onHide"]
|
|
1361
|
+
}],
|
|
1362
|
+
onBlur: [{
|
|
1363
|
+
type: i0.Output,
|
|
1364
|
+
args: ["onBlur"]
|
|
1365
|
+
}],
|
|
1366
|
+
onFocus: [{
|
|
1367
|
+
type: i0.Output,
|
|
1368
|
+
args: ["onFocus"]
|
|
1369
|
+
}],
|
|
1370
|
+
listViewChild: [{
|
|
1371
|
+
type: i0.ViewChild,
|
|
1372
|
+
args: ["list", { isSignal: true }]
|
|
1373
|
+
}],
|
|
1374
|
+
containerViewChild: [{
|
|
1375
|
+
type: i0.ViewChild,
|
|
1376
|
+
args: ["container", { isSignal: true }]
|
|
1377
|
+
}],
|
|
1378
|
+
startTemplate: [{
|
|
1379
|
+
type: i0.ContentChild,
|
|
1380
|
+
args: ["start", {
|
|
1381
|
+
descendants: false,
|
|
1382
|
+
isSignal: true
|
|
1383
|
+
}]
|
|
1384
|
+
}],
|
|
1385
|
+
endTemplate: [{
|
|
1386
|
+
type: i0.ContentChild,
|
|
1387
|
+
args: ["end", {
|
|
1388
|
+
descendants: false,
|
|
1389
|
+
isSignal: true
|
|
1390
|
+
}]
|
|
1391
|
+
}],
|
|
1392
|
+
headerTemplate: [{
|
|
1393
|
+
type: i0.ContentChild,
|
|
1394
|
+
args: ["header", {
|
|
1395
|
+
descendants: false,
|
|
1396
|
+
isSignal: true
|
|
1397
|
+
}]
|
|
1398
|
+
}],
|
|
1399
|
+
itemTemplate: [{
|
|
1400
|
+
type: i0.ContentChild,
|
|
1401
|
+
args: ["item", {
|
|
1402
|
+
descendants: false,
|
|
1403
|
+
isSignal: true
|
|
1404
|
+
}]
|
|
1405
|
+
}],
|
|
1406
|
+
submenuHeaderTemplate: [{
|
|
1407
|
+
type: i0.ContentChild,
|
|
1408
|
+
args: ["submenuheader", {
|
|
1409
|
+
descendants: false,
|
|
1410
|
+
isSignal: true
|
|
1411
|
+
}]
|
|
1412
|
+
}],
|
|
1413
|
+
templates: [{
|
|
1414
|
+
type: i0.ContentChildren,
|
|
1415
|
+
args: [i0.forwardRef(() => HelixTemplate), { isSignal: true }]
|
|
1416
|
+
}]
|
|
1417
|
+
}
|
|
1418
|
+
});
|
|
1419
|
+
var MenuModule = class MenuModule {
|
|
1420
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1421
|
+
minVersion: "12.0.0",
|
|
1422
|
+
version: "22.2.1",
|
|
1423
|
+
ngImport: i0,
|
|
1424
|
+
type: MenuModule,
|
|
1425
|
+
deps: [],
|
|
1426
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
1427
|
+
});
|
|
1428
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
1429
|
+
minVersion: "14.0.0",
|
|
1430
|
+
version: "22.2.1",
|
|
1431
|
+
ngImport: i0,
|
|
1432
|
+
type: MenuModule,
|
|
1433
|
+
imports: [
|
|
1434
|
+
Menu,
|
|
1435
|
+
SharedModule,
|
|
1436
|
+
SafeHtmlPipe
|
|
1437
|
+
],
|
|
1438
|
+
exports: [
|
|
1439
|
+
Menu,
|
|
1440
|
+
SharedModule,
|
|
1441
|
+
SafeHtmlPipe
|
|
1442
|
+
]
|
|
1443
|
+
});
|
|
1444
|
+
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
1445
|
+
minVersion: "12.0.0",
|
|
1446
|
+
version: "22.2.1",
|
|
1447
|
+
ngImport: i0,
|
|
1448
|
+
type: MenuModule,
|
|
1449
|
+
imports: [
|
|
1450
|
+
Menu,
|
|
1451
|
+
SharedModule,
|
|
1452
|
+
SharedModule
|
|
1453
|
+
]
|
|
1454
|
+
});
|
|
1455
|
+
};
|
|
1456
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1457
|
+
minVersion: "12.0.0",
|
|
1458
|
+
version: "22.2.1",
|
|
1459
|
+
ngImport: i0,
|
|
1460
|
+
type: MenuModule,
|
|
1461
|
+
decorators: [{
|
|
1462
|
+
type: NgModule,
|
|
1463
|
+
args: [{
|
|
1464
|
+
imports: [
|
|
1465
|
+
Menu,
|
|
1466
|
+
SharedModule,
|
|
1467
|
+
SafeHtmlPipe
|
|
1468
|
+
],
|
|
1469
|
+
exports: [
|
|
1470
|
+
Menu,
|
|
1471
|
+
SharedModule,
|
|
1472
|
+
SafeHtmlPipe
|
|
1473
|
+
]
|
|
1474
|
+
}]
|
|
1475
|
+
}]
|
|
1476
|
+
});
|
|
853
1477
|
export { Menu, MenuClasses, MenuItemContent, MenuModule, MenuStyle, SafeHtmlPipe };
|
|
854
|
-
|
|
1478
|
+
|
|
1479
|
+
//# sourceMappingURL=gravionlabs-helix-core-menu.mjs.map
|