@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,23 +1,22 @@
|
|
|
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
|
-
|
|
19
|
-
|
|
20
|
-
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, Injectable, InjectionToken, NgModule, NgZone, ViewEncapsulation, booleanAttribute, computed, contentChild, contentChildren, effect, inject, input, model, numberAttribute, output, signal, viewChild } from "@angular/core";
|
|
5
|
+
import { addStyle, appendChild, getOuterHeight, getOuterWidth, getViewport, hasClass, removeClass, setAttribute, uuid } from "@gravionlabs/helix-core/uix/utils";
|
|
6
|
+
import { HelixTemplate, OverlayService, SharedModule, TranslationKeys } from "@gravionlabs/helix-core/api";
|
|
7
|
+
import { BaseComponent, PARENT_INSTANCE } from "@gravionlabs/helix-core/basecomponent";
|
|
8
|
+
import * as i1 from "@gravionlabs/helix-core/bind";
|
|
9
|
+
import { Bind } from "@gravionlabs/helix-core/bind";
|
|
10
|
+
import { Button } from "@gravionlabs/helix-core/button";
|
|
11
|
+
import { DomHandler, blockBodyScroll, unblockBodyScroll } from "@gravionlabs/helix-core/dom";
|
|
12
|
+
import { FocusTrap } from "@gravionlabs/helix-core/focustrap";
|
|
13
|
+
import { TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon } from "@gravionlabs/helix-core/icons";
|
|
14
|
+
import * as i3 from "@gravionlabs/helix-core/motion";
|
|
15
|
+
import { MotionModule } from "@gravionlabs/helix-core/motion";
|
|
16
|
+
import { ZIndexUtils } from "@gravionlabs/helix-core/utils";
|
|
17
|
+
import { BaseStyle } from "@gravionlabs/helix-core/base";
|
|
18
|
+
export * from "@gravionlabs/helix-core/types/dialog";
|
|
19
|
+
const style = `
|
|
21
20
|
.h-dialog {
|
|
22
21
|
max-height: 90%;
|
|
23
22
|
transform: scale(1);
|
|
@@ -116,1043 +115,1849 @@ const style = /*css*/ `
|
|
|
116
115
|
}
|
|
117
116
|
}
|
|
118
117
|
`;
|
|
119
|
-
|
|
120
|
-
/* Position */
|
|
121
118
|
const inlineStyles = {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
: 'center',
|
|
139
|
-
pointerEvents: instance.modal() ? 'auto' : 'none'
|
|
140
|
-
}),
|
|
141
|
-
root: {
|
|
142
|
-
display: 'flex',
|
|
143
|
-
flexDirection: 'column',
|
|
144
|
-
pointerEvents: 'auto'
|
|
145
|
-
}
|
|
119
|
+
mask: ({ instance }) => ({
|
|
120
|
+
position: "fixed",
|
|
121
|
+
height: "100%",
|
|
122
|
+
width: "100%",
|
|
123
|
+
left: 0,
|
|
124
|
+
top: 0,
|
|
125
|
+
display: "flex",
|
|
126
|
+
justifyContent: instance.position() === "left" || instance.position() === "topleft" || instance.position() === "bottomleft" ? "flex-start" : instance.position() === "right" || instance.position() === "topright" || instance.position() === "bottomright" ? "flex-end" : "center",
|
|
127
|
+
alignItems: instance.position() === "top" || instance.position() === "topleft" || instance.position() === "topright" ? "flex-start" : instance.position() === "bottom" || instance.position() === "bottomleft" || instance.position() === "bottomright" ? "flex-end" : "center",
|
|
128
|
+
pointerEvents: instance.modal() ? "auto" : "none"
|
|
129
|
+
}),
|
|
130
|
+
root: {
|
|
131
|
+
display: "flex",
|
|
132
|
+
flexDirection: "column",
|
|
133
|
+
pointerEvents: "auto"
|
|
134
|
+
}
|
|
146
135
|
};
|
|
147
136
|
const classes = {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
137
|
+
mask: ({ instance }) => {
|
|
138
|
+
const pos = [
|
|
139
|
+
"left",
|
|
140
|
+
"right",
|
|
141
|
+
"top",
|
|
142
|
+
"topleft",
|
|
143
|
+
"topright",
|
|
144
|
+
"bottom",
|
|
145
|
+
"bottomleft",
|
|
146
|
+
"bottomright"
|
|
147
|
+
].find((item) => item === instance.position());
|
|
148
|
+
return [
|
|
149
|
+
"h-dialog-mask",
|
|
150
|
+
{ "h-overlay-mask": instance.modal() },
|
|
151
|
+
pos ? `h-dialog-${pos}` : ""
|
|
152
|
+
];
|
|
153
|
+
},
|
|
154
|
+
root: ({ instance }) => ["h-dialog h-component", { "h-dialog-maximized": instance.maximizable() && instance.maximized }],
|
|
155
|
+
header: "h-dialog-header",
|
|
156
|
+
title: "h-dialog-title",
|
|
157
|
+
resizeHandle: "h-resizable-handle",
|
|
158
|
+
headerActions: "h-dialog-header-actions",
|
|
159
|
+
pcMaximizeButton: "h-dialog-maximize-button",
|
|
160
|
+
pcCloseButton: "h-dialog-close-button",
|
|
161
|
+
content: () => ["h-dialog-content"],
|
|
162
|
+
footer: "h-dialog-footer"
|
|
167
163
|
};
|
|
168
|
-
class DialogStyle extends BaseStyle {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
164
|
+
var DialogStyle = class DialogStyle extends BaseStyle {
|
|
165
|
+
name = "dialog";
|
|
166
|
+
style = style;
|
|
167
|
+
classes = classes;
|
|
168
|
+
inlineStyles = inlineStyles;
|
|
169
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
170
|
+
minVersion: "12.0.0",
|
|
171
|
+
version: "22.2.1",
|
|
172
|
+
ngImport: i0,
|
|
173
|
+
type: DialogStyle,
|
|
174
|
+
deps: null,
|
|
175
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
176
|
+
});
|
|
177
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
178
|
+
minVersion: "12.0.0",
|
|
179
|
+
version: "22.2.1",
|
|
180
|
+
ngImport: i0,
|
|
181
|
+
type: DialogStyle
|
|
182
|
+
});
|
|
183
|
+
};
|
|
184
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
185
|
+
minVersion: "12.0.0",
|
|
186
|
+
version: "22.2.1",
|
|
187
|
+
ngImport: i0,
|
|
188
|
+
type: DialogStyle,
|
|
189
|
+
decorators: [{ type: Injectable }]
|
|
190
|
+
});
|
|
188
191
|
var DialogClasses;
|
|
189
|
-
(function
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
* Class name of the header element
|
|
200
|
-
*/
|
|
201
|
-
DialogClasses["header"] = "h-dialog-header";
|
|
202
|
-
/**
|
|
203
|
-
* Class name of the title element
|
|
204
|
-
*/
|
|
205
|
-
DialogClasses["title"] = "h-dialog-title";
|
|
206
|
-
/**
|
|
207
|
-
* Class name of the header actions element
|
|
208
|
-
*/
|
|
209
|
-
DialogClasses["headerActions"] = "h-dialog-header-actions";
|
|
210
|
-
/**
|
|
211
|
-
* Class name of the maximize button element
|
|
212
|
-
*/
|
|
213
|
-
DialogClasses["pcMaximizeButton"] = "h-dialog-maximize-button";
|
|
214
|
-
/**
|
|
215
|
-
* Class name of the close button element
|
|
216
|
-
*/
|
|
217
|
-
DialogClasses["pcCloseButton"] = "h-dialog-close-button";
|
|
218
|
-
/**
|
|
219
|
-
* Class name of the content element
|
|
220
|
-
*/
|
|
221
|
-
DialogClasses["content"] = "h-dialog-content";
|
|
222
|
-
/**
|
|
223
|
-
* Class name of the footer element
|
|
224
|
-
*/
|
|
225
|
-
DialogClasses["footer"] = "h-dialog-footer";
|
|
192
|
+
(function(DialogClasses) {
|
|
193
|
+
DialogClasses["mask"] = "h-dialog-mask";
|
|
194
|
+
DialogClasses["root"] = "h-dialog";
|
|
195
|
+
DialogClasses["header"] = "h-dialog-header";
|
|
196
|
+
DialogClasses["title"] = "h-dialog-title";
|
|
197
|
+
DialogClasses["headerActions"] = "h-dialog-header-actions";
|
|
198
|
+
DialogClasses["pcMaximizeButton"] = "h-dialog-maximize-button";
|
|
199
|
+
DialogClasses["pcCloseButton"] = "h-dialog-close-button";
|
|
200
|
+
DialogClasses["content"] = "h-dialog-content";
|
|
201
|
+
DialogClasses["footer"] = "h-dialog-footer";
|
|
226
202
|
})(DialogClasses || (DialogClasses = {}));
|
|
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
|
-
_footerTemplate = contentChild('footer', { ...(ngDevMode ? { debugName: "_footerTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
594
|
-
/**
|
|
595
|
-
* Custom close icon template.
|
|
596
|
-
* @group Templates
|
|
597
|
-
*/
|
|
598
|
-
_closeiconTemplate = contentChild('closeicon', { ...(ngDevMode ? { debugName: "_closeiconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
599
|
-
/**
|
|
600
|
-
* Custom maximize icon template.
|
|
601
|
-
* @group Templates
|
|
602
|
-
*/
|
|
603
|
-
_maximizeiconTemplate = contentChild('maximizeicon', { ...(ngDevMode ? { debugName: "_maximizeiconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
604
|
-
/**
|
|
605
|
-
* Custom minimize icon template.
|
|
606
|
-
* @group Templates
|
|
607
|
-
*/
|
|
608
|
-
_minimizeiconTemplate = contentChild('minimizeicon', { ...(ngDevMode ? { debugName: "_minimizeiconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
609
|
-
/**
|
|
610
|
-
* Custom headless template.
|
|
611
|
-
* @group Templates
|
|
612
|
-
*/
|
|
613
|
-
_headlessTemplate = contentChild('headless', { ...(ngDevMode ? { debugName: "_headlessTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
614
|
-
$appendTo = computed(() => this.appendTo() || this.config.overlayAppendTo(), /* @ts-ignore */
|
|
615
|
-
...(ngDevMode ? [{ debugName: "$appendTo" }] : /* istanbul ignore next */ []));
|
|
616
|
-
renderMask = signal(false, /* @ts-ignore */
|
|
617
|
-
...(ngDevMode ? [{ debugName: "renderMask" }] : /* istanbul ignore next */ []));
|
|
618
|
-
renderDialog = signal(false, /* @ts-ignore */
|
|
619
|
-
...(ngDevMode ? [{ debugName: "renderDialog" }] : /* istanbul ignore next */ []));
|
|
620
|
-
maskVisible;
|
|
621
|
-
container = signal(null, /* @ts-ignore */
|
|
622
|
-
...(ngDevMode ? [{ debugName: "container" }] : /* istanbul ignore next */ []));
|
|
623
|
-
wrapper;
|
|
624
|
-
dragging;
|
|
625
|
-
ariaLabelledBy = this.getAriaLabelledBy();
|
|
626
|
-
documentDragListener;
|
|
627
|
-
documentDragEndListener;
|
|
628
|
-
resizing;
|
|
629
|
-
documentResizeListener;
|
|
630
|
-
documentResizeEndListener;
|
|
631
|
-
documentEscapeListener;
|
|
632
|
-
maskClickListener;
|
|
633
|
-
lastPageX;
|
|
634
|
-
lastPageY;
|
|
635
|
-
preventVisibleChangePropagation;
|
|
636
|
-
maximized;
|
|
637
|
-
preMaximizeContentHeight;
|
|
638
|
-
preMaximizeContainerWidth;
|
|
639
|
-
preMaximizeContainerHeight;
|
|
640
|
-
preMaximizePageX;
|
|
641
|
-
preMaximizePageY;
|
|
642
|
-
id = uuid('pn_id_');
|
|
643
|
-
_style = {};
|
|
644
|
-
originalStyle;
|
|
645
|
-
transformOptions = 'scale(0.7)';
|
|
646
|
-
styleElement;
|
|
647
|
-
window;
|
|
648
|
-
_componentStyle = inject(DialogStyle);
|
|
649
|
-
headerT;
|
|
650
|
-
contentT;
|
|
651
|
-
footerT;
|
|
652
|
-
closeIconT;
|
|
653
|
-
maximizeIconT;
|
|
654
|
-
minimizeIconT;
|
|
655
|
-
headlessT;
|
|
656
|
-
zIndexForLayering;
|
|
657
|
-
get maximizeLabel() {
|
|
658
|
-
return this.config.getTranslation(TranslationKeys.ARIA)['maximizeLabel'];
|
|
659
|
-
}
|
|
660
|
-
get minimizeLabel() {
|
|
661
|
-
return this.config.getTranslation(TranslationKeys.ARIA)['minimizeLabel'];
|
|
662
|
-
}
|
|
663
|
-
zone = inject(NgZone);
|
|
664
|
-
overlayService = inject(OverlayService);
|
|
665
|
-
get maskClass() {
|
|
666
|
-
const positions = ['left', 'right', 'top', 'topleft', 'topright', 'bottom', 'bottomleft', 'bottomright'];
|
|
667
|
-
const pos = positions.find((item) => item === this.position());
|
|
668
|
-
return {
|
|
669
|
-
'h-dialog-mask': true,
|
|
670
|
-
'h-overlay-mask': this.modal() || this.dismissableMask(),
|
|
671
|
-
[`h-dialog-${pos}`]: pos
|
|
672
|
-
};
|
|
673
|
-
}
|
|
674
|
-
onInit() {
|
|
675
|
-
if (this.breakpoints()) {
|
|
676
|
-
this.createStyle();
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
templates = contentChildren(HelixTemplate, /* @ts-ignore */
|
|
680
|
-
...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
|
|
681
|
-
onAfterContentInit() {
|
|
682
|
-
this.templates()?.forEach((item) => {
|
|
683
|
-
switch (item.getType()) {
|
|
684
|
-
case 'header':
|
|
685
|
-
this.headerT = item.template;
|
|
686
|
-
break;
|
|
687
|
-
case 'content':
|
|
688
|
-
this.contentT = item.template;
|
|
689
|
-
break;
|
|
690
|
-
case 'footer':
|
|
691
|
-
this.footerT = item.template;
|
|
692
|
-
break;
|
|
693
|
-
case 'closeicon':
|
|
694
|
-
this.closeIconT = item.template;
|
|
695
|
-
break;
|
|
696
|
-
case 'maximizeicon':
|
|
697
|
-
this.maximizeIconT = item.template;
|
|
698
|
-
break;
|
|
699
|
-
case 'minimizeicon':
|
|
700
|
-
this.minimizeIconT = item.template;
|
|
701
|
-
break;
|
|
702
|
-
case 'headless':
|
|
703
|
-
this.headlessT = item.template;
|
|
704
|
-
break;
|
|
705
|
-
default:
|
|
706
|
-
this.contentT = item.template;
|
|
707
|
-
break;
|
|
708
|
-
}
|
|
709
|
-
});
|
|
710
|
-
}
|
|
711
|
-
getAriaLabelledBy() {
|
|
712
|
-
return this.header() !== null ? uuid('pn_id_') + '_header' : null;
|
|
713
|
-
}
|
|
714
|
-
parseDurationToMilliseconds(durationString) {
|
|
715
|
-
const transitionTimeRegex = /([\d\.]+)(ms|s)\b/g;
|
|
716
|
-
let totalMilliseconds = 0;
|
|
717
|
-
let match;
|
|
718
|
-
while ((match = transitionTimeRegex.exec(durationString)) !== null) {
|
|
719
|
-
const value = parseFloat(match[1]);
|
|
720
|
-
const unit = match[2];
|
|
721
|
-
if (unit === 'ms') {
|
|
722
|
-
totalMilliseconds += value;
|
|
723
|
-
}
|
|
724
|
-
else if (unit === 's') {
|
|
725
|
-
totalMilliseconds += value * 1000;
|
|
726
|
-
}
|
|
727
|
-
}
|
|
728
|
-
if (totalMilliseconds === 0) {
|
|
729
|
-
return undefined;
|
|
730
|
-
}
|
|
731
|
-
return totalMilliseconds;
|
|
732
|
-
}
|
|
733
|
-
_focus(focusParentElement) {
|
|
734
|
-
if (focusParentElement) {
|
|
735
|
-
const timeoutDuration = this.parseDurationToMilliseconds(this.transitionOptions());
|
|
736
|
-
let _focusableElements = DomHandler.getFocusableElements(focusParentElement);
|
|
737
|
-
if (_focusableElements && _focusableElements.length > 0) {
|
|
738
|
-
this.zone.runOutsideAngular(() => {
|
|
739
|
-
setTimeout(() => _focusableElements[0].focus(), timeoutDuration || 5);
|
|
740
|
-
});
|
|
741
|
-
return true;
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
return false;
|
|
745
|
-
}
|
|
746
|
-
focus(focusParentElement = this.contentViewChild()?.nativeElement) {
|
|
747
|
-
let focused = this._focus(focusParentElement);
|
|
748
|
-
if (!focused) {
|
|
749
|
-
focused = this._focus(this.footerViewChild()?.nativeElement);
|
|
750
|
-
if (!focused) {
|
|
751
|
-
focused = this._focus(this.headerViewChild()?.nativeElement);
|
|
752
|
-
if (!focused) {
|
|
753
|
-
this._focus(this.contentViewChild()?.nativeElement);
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
close(event) {
|
|
759
|
-
this.visible.set(false);
|
|
760
|
-
event.preventDefault();
|
|
761
|
-
}
|
|
762
|
-
enableModality() {
|
|
763
|
-
if (this.closable() && this.dismissableMask()) {
|
|
764
|
-
this.maskClickListener = this.renderer.listen(this.wrapper, 'mousedown', (event) => {
|
|
765
|
-
if (this.wrapper && this.wrapper.isSameNode(event.target)) {
|
|
766
|
-
this.close(event);
|
|
767
|
-
}
|
|
768
|
-
});
|
|
769
|
-
}
|
|
770
|
-
if (this.modal()) {
|
|
771
|
-
blockBodyScroll();
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
disableModality() {
|
|
775
|
-
if (this.wrapper) {
|
|
776
|
-
if (this.dismissableMask()) {
|
|
777
|
-
this.unbindMaskClickListener();
|
|
778
|
-
}
|
|
779
|
-
// for nested dialogs w/modal
|
|
780
|
-
const scrollBlockers = document.querySelectorAll('[data-h-scrollblocker-active="true"]');
|
|
781
|
-
if (this.modal() && scrollBlockers && scrollBlockers.length == 1) {
|
|
782
|
-
unblockBodyScroll();
|
|
783
|
-
}
|
|
784
|
-
if (!this.cd.destroyed) {
|
|
785
|
-
this.cd.detectChanges();
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
maximize() {
|
|
790
|
-
this.maximized = !this.maximized;
|
|
791
|
-
if (!this.modal() && !this.blockScroll()) {
|
|
792
|
-
if (this.maximized) {
|
|
793
|
-
blockBodyScroll();
|
|
794
|
-
}
|
|
795
|
-
else {
|
|
796
|
-
unblockBodyScroll();
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
this.onMaximize.emit({ maximized: this.maximized });
|
|
800
|
-
}
|
|
801
|
-
unbindMaskClickListener() {
|
|
802
|
-
if (this.maskClickListener) {
|
|
803
|
-
this.maskClickListener();
|
|
804
|
-
this.maskClickListener = null;
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
moveOnTop() {
|
|
808
|
-
if (this.autoZIndex()) {
|
|
809
|
-
ZIndexUtils.set('modal', this.container(), this.baseZIndex() + this.config.zIndex.modal);
|
|
810
|
-
this.wrapper.style.zIndex = String(parseInt(this.container().style.zIndex, 10) - 1);
|
|
811
|
-
}
|
|
812
|
-
else {
|
|
813
|
-
this.zIndexForLayering = ZIndexUtils.generateZIndex('modal', (this.baseZIndex() ?? 0) + this.config.zIndex.modal);
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
createStyle() {
|
|
817
|
-
if (isPlatformBrowser(this.platformId)) {
|
|
818
|
-
if (!this.styleElement && !this.$unstyled()) {
|
|
819
|
-
this.styleElement = this.renderer.createElement('style');
|
|
820
|
-
this.styleElement.type = 'text/css';
|
|
821
|
-
setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);
|
|
822
|
-
this.renderer.appendChild(this.document.head, this.styleElement);
|
|
823
|
-
let innerHTML = '';
|
|
824
|
-
for (let breakpoint in this.breakpoints()) {
|
|
825
|
-
innerHTML += `
|
|
203
|
+
const DIALOG_INSTANCE = new InjectionToken("DIALOG_INSTANCE");
|
|
204
|
+
var Dialog = class Dialog extends BaseComponent {
|
|
205
|
+
componentName = "Dialog";
|
|
206
|
+
hostName = input("", ...ngDevMode ? [{ debugName: "hostName" }] : /* istanbul ignore next */ []);
|
|
207
|
+
$pcDialog = inject(DIALOG_INSTANCE, {
|
|
208
|
+
optional: true,
|
|
209
|
+
skipSelf: true
|
|
210
|
+
}) ?? void 0;
|
|
211
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
212
|
+
onAfterViewChecked() {
|
|
213
|
+
this.bindDirectiveInstance.setAttrs(this.ptm("host"));
|
|
214
|
+
}
|
|
215
|
+
header = input(...ngDevMode ? [void 0, { debugName: "header" }] : /* istanbul ignore next */ []);
|
|
216
|
+
draggable = input(true, {
|
|
217
|
+
...ngDevMode ? { debugName: "draggable" } : /* istanbul ignore next */ {},
|
|
218
|
+
transform: booleanAttribute
|
|
219
|
+
});
|
|
220
|
+
resizable = input(true, {
|
|
221
|
+
...ngDevMode ? { debugName: "resizable" } : /* istanbul ignore next */ {},
|
|
222
|
+
transform: booleanAttribute
|
|
223
|
+
});
|
|
224
|
+
contentStyle = input(...ngDevMode ? [void 0, { debugName: "contentStyle" }] : /* istanbul ignore next */ []);
|
|
225
|
+
contentStyleClass = input(...ngDevMode ? [void 0, { debugName: "contentStyleClass" }] : /* istanbul ignore next */ []);
|
|
226
|
+
modal = input(false, {
|
|
227
|
+
...ngDevMode ? { debugName: "modal" } : /* istanbul ignore next */ {},
|
|
228
|
+
transform: booleanAttribute
|
|
229
|
+
});
|
|
230
|
+
closeOnEscape = input(true, {
|
|
231
|
+
...ngDevMode ? { debugName: "closeOnEscape" } : /* istanbul ignore next */ {},
|
|
232
|
+
transform: booleanAttribute
|
|
233
|
+
});
|
|
234
|
+
dismissableMask = input(false, {
|
|
235
|
+
...ngDevMode ? { debugName: "dismissableMask" } : /* istanbul ignore next */ {},
|
|
236
|
+
transform: booleanAttribute
|
|
237
|
+
});
|
|
238
|
+
rtl = input(false, {
|
|
239
|
+
...ngDevMode ? { debugName: "rtl" } : /* istanbul ignore next */ {},
|
|
240
|
+
transform: booleanAttribute
|
|
241
|
+
});
|
|
242
|
+
closable = input(true, {
|
|
243
|
+
...ngDevMode ? { debugName: "closable" } : /* istanbul ignore next */ {},
|
|
244
|
+
transform: booleanAttribute
|
|
245
|
+
});
|
|
246
|
+
breakpoints = input(...ngDevMode ? [void 0, { debugName: "breakpoints" }] : /* istanbul ignore next */ []);
|
|
247
|
+
styleClass = input(...ngDevMode ? [void 0, { debugName: "styleClass" }] : /* istanbul ignore next */ []);
|
|
248
|
+
maskStyleClass = input(...ngDevMode ? [void 0, { debugName: "maskStyleClass" }] : /* istanbul ignore next */ []);
|
|
249
|
+
maskStyle = input(...ngDevMode ? [void 0, { debugName: "maskStyle" }] : /* istanbul ignore next */ []);
|
|
250
|
+
showHeader = input(true, {
|
|
251
|
+
...ngDevMode ? { debugName: "showHeader" } : /* istanbul ignore next */ {},
|
|
252
|
+
transform: booleanAttribute
|
|
253
|
+
});
|
|
254
|
+
blockScroll = input(false, {
|
|
255
|
+
...ngDevMode ? { debugName: "blockScroll" } : /* istanbul ignore next */ {},
|
|
256
|
+
transform: booleanAttribute
|
|
257
|
+
});
|
|
258
|
+
autoZIndex = input(true, {
|
|
259
|
+
...ngDevMode ? { debugName: "autoZIndex" } : /* istanbul ignore next */ {},
|
|
260
|
+
transform: booleanAttribute
|
|
261
|
+
});
|
|
262
|
+
baseZIndex = input(0, {
|
|
263
|
+
...ngDevMode ? { debugName: "baseZIndex" } : /* istanbul ignore next */ {},
|
|
264
|
+
transform: numberAttribute
|
|
265
|
+
});
|
|
266
|
+
minX = input(0, {
|
|
267
|
+
...ngDevMode ? { debugName: "minX" } : /* istanbul ignore next */ {},
|
|
268
|
+
transform: numberAttribute
|
|
269
|
+
});
|
|
270
|
+
minY = input(0, {
|
|
271
|
+
...ngDevMode ? { debugName: "minY" } : /* istanbul ignore next */ {},
|
|
272
|
+
transform: numberAttribute
|
|
273
|
+
});
|
|
274
|
+
focusOnShow = input(true, {
|
|
275
|
+
...ngDevMode ? { debugName: "focusOnShow" } : /* istanbul ignore next */ {},
|
|
276
|
+
transform: booleanAttribute
|
|
277
|
+
});
|
|
278
|
+
maximizable = input(false, {
|
|
279
|
+
...ngDevMode ? { debugName: "maximizable" } : /* istanbul ignore next */ {},
|
|
280
|
+
transform: booleanAttribute
|
|
281
|
+
});
|
|
282
|
+
keepInViewport = input(true, {
|
|
283
|
+
...ngDevMode ? { debugName: "keepInViewport" } : /* istanbul ignore next */ {},
|
|
284
|
+
transform: booleanAttribute
|
|
285
|
+
});
|
|
286
|
+
focusTrap = input(true, {
|
|
287
|
+
...ngDevMode ? { debugName: "focusTrap" } : /* istanbul ignore next */ {},
|
|
288
|
+
transform: booleanAttribute
|
|
289
|
+
});
|
|
290
|
+
transitionOptions = input("150ms cubic-bezier(0, 0, 0.2, 1)", ...ngDevMode ? [{ debugName: "transitionOptions" }] : /* istanbul ignore next */ []);
|
|
291
|
+
maskMotionOptions = input(void 0, ...ngDevMode ? [{ debugName: "maskMotionOptions" }] : /* istanbul ignore next */ []);
|
|
292
|
+
computedMaskMotionOptions = computed(() => {
|
|
293
|
+
return {
|
|
294
|
+
...this.ptm("maskMotion"),
|
|
295
|
+
...this.maskMotionOptions()
|
|
296
|
+
};
|
|
297
|
+
}, ...ngDevMode ? [{ debugName: "computedMaskMotionOptions" }] : /* istanbul ignore next */ []);
|
|
298
|
+
motionOptions = input(void 0, ...ngDevMode ? [{ debugName: "motionOptions" }] : /* istanbul ignore next */ []);
|
|
299
|
+
computedMotionOptions = computed(() => {
|
|
300
|
+
return {
|
|
301
|
+
...this.ptm("motion"),
|
|
302
|
+
...this.motionOptions()
|
|
303
|
+
};
|
|
304
|
+
}, ...ngDevMode ? [{ debugName: "computedMotionOptions" }] : /* istanbul ignore next */ []);
|
|
305
|
+
closeIcon = input(...ngDevMode ? [void 0, { debugName: "closeIcon" }] : /* istanbul ignore next */ []);
|
|
306
|
+
closeAriaLabel = input(...ngDevMode ? [void 0, { debugName: "closeAriaLabel" }] : /* istanbul ignore next */ []);
|
|
307
|
+
closeTabindex = input("0", ...ngDevMode ? [{ debugName: "closeTabindex" }] : /* istanbul ignore next */ []);
|
|
308
|
+
minimizeIcon = input(...ngDevMode ? [void 0, { debugName: "minimizeIcon" }] : /* istanbul ignore next */ []);
|
|
309
|
+
maximizeIcon = input(...ngDevMode ? [void 0, { debugName: "maximizeIcon" }] : /* istanbul ignore next */ []);
|
|
310
|
+
closeButtonProps = input({
|
|
311
|
+
severity: "secondary",
|
|
312
|
+
variant: "text",
|
|
313
|
+
rounded: true
|
|
314
|
+
}, ...ngDevMode ? [{ debugName: "closeButtonProps" }] : /* istanbul ignore next */ []);
|
|
315
|
+
maximizeButtonProps = input({
|
|
316
|
+
severity: "secondary",
|
|
317
|
+
variant: "text",
|
|
318
|
+
rounded: true
|
|
319
|
+
}, ...ngDevMode ? [{ debugName: "maximizeButtonProps" }] : /* istanbul ignore next */ []);
|
|
320
|
+
visible = model(false, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
|
|
321
|
+
_visibleEffect = effect(() => {
|
|
322
|
+
if (this.visible() && !this.maskVisible) {
|
|
323
|
+
this.maskVisible = true;
|
|
324
|
+
this.renderMask.set(true);
|
|
325
|
+
this.renderDialog.set(true);
|
|
326
|
+
}
|
|
327
|
+
}, ...ngDevMode ? [{ debugName: "_visibleEffect" }] : /* istanbul ignore next */ []);
|
|
328
|
+
style = input(void 0, ...ngDevMode ? [{ debugName: "style" }] : /* istanbul ignore next */ []);
|
|
329
|
+
_styleEffect = effect(() => {
|
|
330
|
+
const value = this.style();
|
|
331
|
+
if (value) {
|
|
332
|
+
this._style = { ...value };
|
|
333
|
+
this.originalStyle = value;
|
|
334
|
+
}
|
|
335
|
+
}, ...ngDevMode ? [{ debugName: "_styleEffect" }] : /* istanbul ignore next */ []);
|
|
336
|
+
position = input(void 0, ...ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []);
|
|
337
|
+
role = input("dialog", ...ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []);
|
|
338
|
+
appendTo = input(void 0, ...ngDevMode ? [{ debugName: "appendTo" }] : /* istanbul ignore next */ []);
|
|
339
|
+
onShow = output();
|
|
340
|
+
onHide = output();
|
|
341
|
+
onResizeInit = output();
|
|
342
|
+
onResizeEnd = output();
|
|
343
|
+
onDragEnd = output();
|
|
344
|
+
onMaximize = output();
|
|
345
|
+
headerViewChild = viewChild("titlebar", ...ngDevMode ? [{ debugName: "headerViewChild" }] : /* istanbul ignore next */ []);
|
|
346
|
+
contentViewChild = viewChild("content", ...ngDevMode ? [{ debugName: "contentViewChild" }] : /* istanbul ignore next */ []);
|
|
347
|
+
footerViewChild = viewChild("footer", ...ngDevMode ? [{ debugName: "footerViewChild" }] : /* istanbul ignore next */ []);
|
|
348
|
+
headerTemplate = input(void 0, {
|
|
349
|
+
...ngDevMode ? { debugName: "headerTemplate" } : /* istanbul ignore next */ {},
|
|
350
|
+
alias: "content"
|
|
351
|
+
});
|
|
352
|
+
contentTemplate = input(...ngDevMode ? [void 0, { debugName: "contentTemplate" }] : /* istanbul ignore next */ []);
|
|
353
|
+
footerTemplate = input(...ngDevMode ? [void 0, { debugName: "footerTemplate" }] : /* istanbul ignore next */ []);
|
|
354
|
+
closeIconTemplate = input(...ngDevMode ? [void 0, { debugName: "closeIconTemplate" }] : /* istanbul ignore next */ []);
|
|
355
|
+
maximizeIconTemplate = input(...ngDevMode ? [void 0, { debugName: "maximizeIconTemplate" }] : /* istanbul ignore next */ []);
|
|
356
|
+
minimizeIconTemplate = input(...ngDevMode ? [void 0, { debugName: "minimizeIconTemplate" }] : /* istanbul ignore next */ []);
|
|
357
|
+
headlessTemplate = input(...ngDevMode ? [void 0, { debugName: "headlessTemplate" }] : /* istanbul ignore next */ []);
|
|
358
|
+
_headerTemplate = contentChild("header", {
|
|
359
|
+
...ngDevMode ? { debugName: "_headerTemplate" } : /* istanbul ignore next */ {},
|
|
360
|
+
descendants: false
|
|
361
|
+
});
|
|
362
|
+
_contentTemplate = contentChild("content", {
|
|
363
|
+
...ngDevMode ? { debugName: "_contentTemplate" } : /* istanbul ignore next */ {},
|
|
364
|
+
descendants: false
|
|
365
|
+
});
|
|
366
|
+
_footerTemplate = contentChild("footer", {
|
|
367
|
+
...ngDevMode ? { debugName: "_footerTemplate" } : /* istanbul ignore next */ {},
|
|
368
|
+
descendants: false
|
|
369
|
+
});
|
|
370
|
+
_closeiconTemplate = contentChild("closeicon", {
|
|
371
|
+
...ngDevMode ? { debugName: "_closeiconTemplate" } : /* istanbul ignore next */ {},
|
|
372
|
+
descendants: false
|
|
373
|
+
});
|
|
374
|
+
_maximizeiconTemplate = contentChild("maximizeicon", {
|
|
375
|
+
...ngDevMode ? { debugName: "_maximizeiconTemplate" } : /* istanbul ignore next */ {},
|
|
376
|
+
descendants: false
|
|
377
|
+
});
|
|
378
|
+
_minimizeiconTemplate = contentChild("minimizeicon", {
|
|
379
|
+
...ngDevMode ? { debugName: "_minimizeiconTemplate" } : /* istanbul ignore next */ {},
|
|
380
|
+
descendants: false
|
|
381
|
+
});
|
|
382
|
+
_headlessTemplate = contentChild("headless", {
|
|
383
|
+
...ngDevMode ? { debugName: "_headlessTemplate" } : /* istanbul ignore next */ {},
|
|
384
|
+
descendants: false
|
|
385
|
+
});
|
|
386
|
+
$appendTo = computed(() => this.appendTo() || this.config.overlayAppendTo(), ...ngDevMode ? [{ debugName: "$appendTo" }] : /* istanbul ignore next */ []);
|
|
387
|
+
renderMask = signal(false, ...ngDevMode ? [{ debugName: "renderMask" }] : /* istanbul ignore next */ []);
|
|
388
|
+
renderDialog = signal(false, ...ngDevMode ? [{ debugName: "renderDialog" }] : /* istanbul ignore next */ []);
|
|
389
|
+
maskVisible;
|
|
390
|
+
container = signal(null, ...ngDevMode ? [{ debugName: "container" }] : /* istanbul ignore next */ []);
|
|
391
|
+
wrapper;
|
|
392
|
+
dragging;
|
|
393
|
+
ariaLabelledBy = this.getAriaLabelledBy();
|
|
394
|
+
documentDragListener;
|
|
395
|
+
documentDragEndListener;
|
|
396
|
+
resizing;
|
|
397
|
+
documentResizeListener;
|
|
398
|
+
documentResizeEndListener;
|
|
399
|
+
documentEscapeListener;
|
|
400
|
+
maskClickListener;
|
|
401
|
+
lastPageX;
|
|
402
|
+
lastPageY;
|
|
403
|
+
preventVisibleChangePropagation;
|
|
404
|
+
maximized;
|
|
405
|
+
preMaximizeContentHeight;
|
|
406
|
+
preMaximizeContainerWidth;
|
|
407
|
+
preMaximizeContainerHeight;
|
|
408
|
+
preMaximizePageX;
|
|
409
|
+
preMaximizePageY;
|
|
410
|
+
id = uuid("pn_id_");
|
|
411
|
+
_style = {};
|
|
412
|
+
originalStyle;
|
|
413
|
+
transformOptions = "scale(0.7)";
|
|
414
|
+
styleElement;
|
|
415
|
+
window;
|
|
416
|
+
_componentStyle = inject(DialogStyle);
|
|
417
|
+
headerT;
|
|
418
|
+
contentT;
|
|
419
|
+
footerT;
|
|
420
|
+
closeIconT;
|
|
421
|
+
maximizeIconT;
|
|
422
|
+
minimizeIconT;
|
|
423
|
+
headlessT;
|
|
424
|
+
zIndexForLayering;
|
|
425
|
+
get maximizeLabel() {
|
|
426
|
+
return this.config.getTranslation(TranslationKeys.ARIA)["maximizeLabel"];
|
|
427
|
+
}
|
|
428
|
+
get minimizeLabel() {
|
|
429
|
+
return this.config.getTranslation(TranslationKeys.ARIA)["minimizeLabel"];
|
|
430
|
+
}
|
|
431
|
+
zone = inject(NgZone);
|
|
432
|
+
overlayService = inject(OverlayService);
|
|
433
|
+
get maskClass() {
|
|
434
|
+
const pos = [
|
|
435
|
+
"left",
|
|
436
|
+
"right",
|
|
437
|
+
"top",
|
|
438
|
+
"topleft",
|
|
439
|
+
"topright",
|
|
440
|
+
"bottom",
|
|
441
|
+
"bottomleft",
|
|
442
|
+
"bottomright"
|
|
443
|
+
].find((item) => item === this.position());
|
|
444
|
+
return {
|
|
445
|
+
"h-dialog-mask": true,
|
|
446
|
+
"h-overlay-mask": this.modal() || this.dismissableMask(),
|
|
447
|
+
[`h-dialog-${pos}`]: pos
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
onInit() {
|
|
451
|
+
if (this.breakpoints()) this.createStyle();
|
|
452
|
+
}
|
|
453
|
+
templates = contentChildren(HelixTemplate, ...ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []);
|
|
454
|
+
onAfterContentInit() {
|
|
455
|
+
this.templates()?.forEach((item) => {
|
|
456
|
+
switch (item.getType()) {
|
|
457
|
+
case "header":
|
|
458
|
+
this.headerT = item.template;
|
|
459
|
+
break;
|
|
460
|
+
case "content":
|
|
461
|
+
this.contentT = item.template;
|
|
462
|
+
break;
|
|
463
|
+
case "footer":
|
|
464
|
+
this.footerT = item.template;
|
|
465
|
+
break;
|
|
466
|
+
case "closeicon":
|
|
467
|
+
this.closeIconT = item.template;
|
|
468
|
+
break;
|
|
469
|
+
case "maximizeicon":
|
|
470
|
+
this.maximizeIconT = item.template;
|
|
471
|
+
break;
|
|
472
|
+
case "minimizeicon":
|
|
473
|
+
this.minimizeIconT = item.template;
|
|
474
|
+
break;
|
|
475
|
+
case "headless":
|
|
476
|
+
this.headlessT = item.template;
|
|
477
|
+
break;
|
|
478
|
+
default:
|
|
479
|
+
this.contentT = item.template;
|
|
480
|
+
break;
|
|
481
|
+
}
|
|
482
|
+
});
|
|
483
|
+
}
|
|
484
|
+
getAriaLabelledBy() {
|
|
485
|
+
return this.header() !== null ? uuid("pn_id_") + "_header" : null;
|
|
486
|
+
}
|
|
487
|
+
parseDurationToMilliseconds(durationString) {
|
|
488
|
+
const transitionTimeRegex = /([\d\.]+)(ms|s)\b/g;
|
|
489
|
+
let totalMilliseconds = 0;
|
|
490
|
+
let match;
|
|
491
|
+
while ((match = transitionTimeRegex.exec(durationString)) !== null) {
|
|
492
|
+
const value = parseFloat(match[1]);
|
|
493
|
+
const unit = match[2];
|
|
494
|
+
if (unit === "ms") totalMilliseconds += value;
|
|
495
|
+
else if (unit === "s") totalMilliseconds += value * 1e3;
|
|
496
|
+
}
|
|
497
|
+
if (totalMilliseconds === 0) return;
|
|
498
|
+
return totalMilliseconds;
|
|
499
|
+
}
|
|
500
|
+
_focus(focusParentElement) {
|
|
501
|
+
if (focusParentElement) {
|
|
502
|
+
const timeoutDuration = this.parseDurationToMilliseconds(this.transitionOptions());
|
|
503
|
+
let _focusableElements = DomHandler.getFocusableElements(focusParentElement);
|
|
504
|
+
if (_focusableElements && _focusableElements.length > 0) {
|
|
505
|
+
this.zone.runOutsideAngular(() => {
|
|
506
|
+
setTimeout(() => _focusableElements[0].focus(), timeoutDuration || 5);
|
|
507
|
+
});
|
|
508
|
+
return true;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
return false;
|
|
512
|
+
}
|
|
513
|
+
focus(focusParentElement = this.contentViewChild()?.nativeElement) {
|
|
514
|
+
let focused = this._focus(focusParentElement);
|
|
515
|
+
if (!focused) {
|
|
516
|
+
focused = this._focus(this.footerViewChild()?.nativeElement);
|
|
517
|
+
if (!focused) {
|
|
518
|
+
focused = this._focus(this.headerViewChild()?.nativeElement);
|
|
519
|
+
if (!focused) this._focus(this.contentViewChild()?.nativeElement);
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
close(event) {
|
|
524
|
+
this.visible.set(false);
|
|
525
|
+
event.preventDefault();
|
|
526
|
+
}
|
|
527
|
+
enableModality() {
|
|
528
|
+
if (this.closable() && this.dismissableMask()) this.maskClickListener = this.renderer.listen(this.wrapper, "mousedown", (event) => {
|
|
529
|
+
if (this.wrapper && this.wrapper.isSameNode(event.target)) this.close(event);
|
|
530
|
+
});
|
|
531
|
+
if (this.modal()) blockBodyScroll();
|
|
532
|
+
}
|
|
533
|
+
disableModality() {
|
|
534
|
+
if (this.wrapper) {
|
|
535
|
+
if (this.dismissableMask()) this.unbindMaskClickListener();
|
|
536
|
+
const scrollBlockers = document.querySelectorAll("[data-h-scrollblocker-active=\"true\"]");
|
|
537
|
+
if (this.modal() && scrollBlockers && scrollBlockers.length == 1) unblockBodyScroll();
|
|
538
|
+
if (!this.cd.destroyed) this.cd.detectChanges();
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
maximize() {
|
|
542
|
+
this.maximized = !this.maximized;
|
|
543
|
+
if (!this.modal() && !this.blockScroll()) if (this.maximized) blockBodyScroll();
|
|
544
|
+
else unblockBodyScroll();
|
|
545
|
+
this.onMaximize.emit({ maximized: this.maximized });
|
|
546
|
+
}
|
|
547
|
+
unbindMaskClickListener() {
|
|
548
|
+
if (this.maskClickListener) {
|
|
549
|
+
this.maskClickListener();
|
|
550
|
+
this.maskClickListener = null;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
moveOnTop() {
|
|
554
|
+
if (this.autoZIndex()) {
|
|
555
|
+
ZIndexUtils.set("modal", this.container(), this.baseZIndex() + this.config.zIndex.modal);
|
|
556
|
+
this.wrapper.style.zIndex = String(parseInt(this.container().style.zIndex, 10) - 1);
|
|
557
|
+
} else this.zIndexForLayering = ZIndexUtils.generateZIndex("modal", (this.baseZIndex() ?? 0) + this.config.zIndex.modal);
|
|
558
|
+
}
|
|
559
|
+
createStyle() {
|
|
560
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
561
|
+
if (!this.styleElement && !this.$unstyled()) {
|
|
562
|
+
this.styleElement = this.renderer.createElement("style");
|
|
563
|
+
this.styleElement.type = "text/css";
|
|
564
|
+
setAttribute(this.styleElement, "nonce", this.config?.csp()?.nonce);
|
|
565
|
+
this.renderer.appendChild(this.document.head, this.styleElement);
|
|
566
|
+
let innerHTML = "";
|
|
567
|
+
for (let breakpoint in this.breakpoints()) innerHTML += `
|
|
826
568
|
@media screen and (max-width: ${breakpoint}) {
|
|
827
569
|
.h-dialog[${this.id}]:not(.h-dialog-maximized) {
|
|
828
570
|
width: ${this.breakpoints()[breakpoint]} !important;
|
|
829
571
|
}
|
|
830
572
|
}
|
|
831
573
|
`;
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: Dialog, isStandalone: true, selector: "h-dialog", inputs: { hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, draggable: { classPropertyName: "draggable", publicName: "draggable", isSignal: true, isRequired: false, transformFunction: null }, resizable: { classPropertyName: "resizable", publicName: "resizable", isSignal: true, isRequired: false, transformFunction: null }, contentStyle: { classPropertyName: "contentStyle", publicName: "contentStyle", isSignal: true, isRequired: false, transformFunction: null }, contentStyleClass: { classPropertyName: "contentStyleClass", publicName: "contentStyleClass", isSignal: true, isRequired: false, transformFunction: null }, modal: { classPropertyName: "modal", publicName: "modal", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, dismissableMask: { classPropertyName: "dismissableMask", publicName: "dismissableMask", isSignal: true, isRequired: false, transformFunction: null }, rtl: { classPropertyName: "rtl", publicName: "rtl", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, breakpoints: { classPropertyName: "breakpoints", publicName: "breakpoints", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, maskStyleClass: { classPropertyName: "maskStyleClass", publicName: "maskStyleClass", isSignal: true, isRequired: false, transformFunction: null }, maskStyle: { classPropertyName: "maskStyle", publicName: "maskStyle", isSignal: true, isRequired: false, transformFunction: null }, showHeader: { classPropertyName: "showHeader", publicName: "showHeader", isSignal: true, isRequired: false, transformFunction: null }, blockScroll: { classPropertyName: "blockScroll", publicName: "blockScroll", 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 }, minX: { classPropertyName: "minX", publicName: "minX", isSignal: true, isRequired: false, transformFunction: null }, minY: { classPropertyName: "minY", publicName: "minY", isSignal: true, isRequired: false, transformFunction: null }, focusOnShow: { classPropertyName: "focusOnShow", publicName: "focusOnShow", isSignal: true, isRequired: false, transformFunction: null }, maximizable: { classPropertyName: "maximizable", publicName: "maximizable", isSignal: true, isRequired: false, transformFunction: null }, keepInViewport: { classPropertyName: "keepInViewport", publicName: "keepInViewport", isSignal: true, isRequired: false, transformFunction: null }, focusTrap: { classPropertyName: "focusTrap", publicName: "focusTrap", isSignal: true, isRequired: false, transformFunction: null }, transitionOptions: { classPropertyName: "transitionOptions", publicName: "transitionOptions", isSignal: true, isRequired: false, transformFunction: null }, maskMotionOptions: { classPropertyName: "maskMotionOptions", publicName: "maskMotionOptions", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, closeIcon: { classPropertyName: "closeIcon", publicName: "closeIcon", isSignal: true, isRequired: false, transformFunction: null }, closeAriaLabel: { classPropertyName: "closeAriaLabel", publicName: "closeAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, closeTabindex: { classPropertyName: "closeTabindex", publicName: "closeTabindex", isSignal: true, isRequired: false, transformFunction: null }, minimizeIcon: { classPropertyName: "minimizeIcon", publicName: "minimizeIcon", isSignal: true, isRequired: false, transformFunction: null }, maximizeIcon: { classPropertyName: "maximizeIcon", publicName: "maximizeIcon", isSignal: true, isRequired: false, transformFunction: null }, closeButtonProps: { classPropertyName: "closeButtonProps", publicName: "closeButtonProps", isSignal: true, isRequired: false, transformFunction: null }, maximizeButtonProps: { classPropertyName: "maximizeButtonProps", publicName: "maximizeButtonProps", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, role: { classPropertyName: "role", publicName: "role", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, headerTemplate: { classPropertyName: "headerTemplate", publicName: "content", isSignal: true, isRequired: false, transformFunction: null }, contentTemplate: { classPropertyName: "contentTemplate", publicName: "contentTemplate", isSignal: true, isRequired: false, transformFunction: null }, footerTemplate: { classPropertyName: "footerTemplate", publicName: "footerTemplate", isSignal: true, isRequired: false, transformFunction: null }, closeIconTemplate: { classPropertyName: "closeIconTemplate", publicName: "closeIconTemplate", isSignal: true, isRequired: false, transformFunction: null }, maximizeIconTemplate: { classPropertyName: "maximizeIconTemplate", publicName: "maximizeIconTemplate", isSignal: true, isRequired: false, transformFunction: null }, minimizeIconTemplate: { classPropertyName: "minimizeIconTemplate", publicName: "minimizeIconTemplate", isSignal: true, isRequired: false, transformFunction: null }, headlessTemplate: { classPropertyName: "headlessTemplate", publicName: "headlessTemplate", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange", onShow: "onShow", onHide: "onHide", onResizeInit: "onResizeInit", onResizeEnd: "onResizeEnd", onDragEnd: "onDragEnd", onMaximize: "onMaximize" }, providers: [DialogStyle, { provide: DIALOG_INSTANCE, useExisting: Dialog }, { provide: PARENT_INSTANCE, useExisting: Dialog }], queries: [{ propertyName: "_headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "_contentTemplate", first: true, predicate: ["content"], isSignal: true }, { propertyName: "_footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "_closeiconTemplate", first: true, predicate: ["closeicon"], isSignal: true }, { propertyName: "_maximizeiconTemplate", first: true, predicate: ["maximizeicon"], isSignal: true }, { propertyName: "_minimizeiconTemplate", first: true, predicate: ["minimizeicon"], isSignal: true }, { propertyName: "_headlessTemplate", first: true, predicate: ["headless"], isSignal: true }, { propertyName: "templates", predicate: HelixTemplate, isSignal: true }], viewQueries: [{ propertyName: "headerViewChild", first: true, predicate: ["titlebar"], descendants: true, isSignal: true }, { propertyName: "contentViewChild", first: true, predicate: ["content"], descendants: true, isSignal: true }, { propertyName: "footerViewChild", first: true, predicate: ["footer"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: "@if (renderMask()) {\n <div\n [class]=\"cn(cx('mask'), maskStyleClass())\"\n [style]=\"sx('mask')\"\n [ngStyle]=\"maskStyle()\"\n [hBind]=\"ptm('mask')\"\n [hMotion]=\"maskVisible\"\n [pMotionAppear]=\"true\"\n [pMotionEnterActiveClass]=\"modal() ? 'h-overlay-mask-enter-active' : ''\"\n [pMotionLeaveActiveClass]=\"modal() ? 'h-overlay-mask-leave-active' : ''\"\n [pMotionOptions]=\"computedMaskMotionOptions()\"\n (pMotionOnAfterLeave)=\"onMaskAfterLeave()\"\n [attr.data-h-scrollblocker-active]=\"modal() || blockScroll()\"\n [attr.data-h]=\"dataP\"\n >\n @if (renderDialog()) {\n <div\n #container\n [class]=\"cn(cx('root'), styleClass())\"\n [style]=\"sx('root')\"\n [ngStyle]=\"style\"\n [hBind]=\"ptm('root')\"\n hFocusTrap\n [pFocusTrapDisabled]=\"focusTrap() === false\"\n [hMotion]=\"visible\"\n [pMotionAppear]=\"true\"\n [pMotionName]=\"'h-dialog'\"\n [pMotionOptions]=\"computedMotionOptions()\"\n (pMotionOnBeforeEnter)=\"onBeforeEnter($event)\"\n (pMotionOnAfterEnter)=\"onAfterEnter($event)\"\n (pMotionOnBeforeLeave)=\"onBeforeLeave($event)\"\n (pMotionOnAfterLeave)=\"onAfterLeave($event)\"\n [attr.role]=\"role()\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.aria-modal]=\"true\"\n [attr.data-h]=\"dataP\"\n >\n @if (_headlessTemplate() || headlessTemplate() || headlessT) {\n <ng-container *ngTemplateOutlet=\"_headlessTemplate() || headlessTemplate() || headlessT\"></ng-container>\n } @else {\n @if (resizable()) {\n <div [class]=\"cx('resizeHandle')\" [hBind]=\"ptm('resizeHandle')\" [style.z-index]=\"90\" (mousedown)=\"initResize($event)\"></div>\n }\n @if (showHeader()) {\n <div #titlebar [class]=\"cx('header')\" [hBind]=\"ptm('header')\" (mousedown)=\"initDrag($event)\">\n @if (!_headerTemplate() && !headerTemplate() && !headerT) {\n <span [id]=\"ariaLabelledBy\" [class]=\"cx('title')\" [hBind]=\"ptm('title')\">{{ header() }}</span>\n }\n <ng-container *ngTemplateOutlet=\"_headerTemplate() || headerTemplate() || headerT; context: { ariaLabelledBy: ariaLabelledBy }\"></ng-container>\n <div [class]=\"cx('headerActions')\" [hBind]=\"ptm('headerActions')\">\n @if (maximizable()) {\n <h-button\n [pt]=\"ptm('pcMaximizeButton')\"\n [styleClass]=\"cx('pcMaximizeButton')\"\n [ariaLabel]=\"maximized ? minimizeLabel : maximizeLabel\"\n (onClick)=\"maximize()\"\n (keydown.enter)=\"maximize()\"\n [tabindex]=\"maximizable() ? '0' : '-1'\"\n [buttonProps]=\"maximizeButtonProps()\"\n [unstyled]=\"unstyled()\"\n [attr.data-pc-group-section]=\"'headericon'\"\n >\n <ng-template #icon>\n @if (maximizeIcon() && !_maximizeiconTemplate() && !_minimizeiconTemplate()) {\n <span [ngClass]=\"maximized ? minimizeIcon() : maximizeIcon()\"></span>\n }\n @if (!maximizeIcon() && !maximizeButtonProps()?.icon) {\n @if (!maximized && !_maximizeiconTemplate() && !maximizeIconTemplate() && !maximizeIconT) {\n <svg data-h-icon=\"window-maximize\" />\n }\n @if (maximized && !_minimizeiconTemplate() && !minimizeIconTemplate() && !minimizeIconT) {\n <svg data-h-icon=\"window-minimize\" />\n }\n }\n @if (!maximized) {\n <ng-template *ngTemplateOutlet=\"_maximizeiconTemplate() || maximizeIconTemplate() || maximizeIconT\"></ng-template>\n }\n @if (maximized) {\n <ng-template *ngTemplateOutlet=\"_minimizeiconTemplate() || minimizeIconTemplate() || minimizeIconT\"></ng-template>\n }\n </ng-template>\n </h-button>\n }\n @if (closable()) {\n <h-button\n [pt]=\"ptm('pcCloseButton')\"\n [styleClass]=\"cx('pcCloseButton')\"\n [ariaLabel]=\"closeAriaLabel()\"\n (onClick)=\"close($event)\"\n (keydown.enter)=\"close($event)\"\n [tabindex]=\"closeTabindex()\"\n [buttonProps]=\"closeButtonProps()\"\n [unstyled]=\"unstyled()\"\n [attr.data-pc-group-section]=\"'headericon'\"\n >\n <ng-template #icon>\n @if (!_closeiconTemplate() && !closeIconTemplate() && !closeIconT && !closeButtonProps()?.icon) {\n @if (closeIcon()) {\n <span [class]=\"closeIcon()\"></span>\n }\n @if (!closeIcon()) {\n <svg data-h-icon=\"times\" />\n }\n }\n @if (_closeiconTemplate() || closeIconTemplate() || closeIconT) {\n <span>\n <ng-template *ngTemplateOutlet=\"_closeiconTemplate() || closeIconTemplate() || closeIconT\"></ng-template>\n </span>\n }\n </ng-template>\n </h-button>\n }\n </div>\n </div>\n }\n <div #content [class]=\"cn(cx('content'), contentStyleClass())\" [ngStyle]=\"contentStyle()\" [hBind]=\"ptm('content')\">\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"_contentTemplate() || contentTemplate() || contentT\"></ng-container>\n </div>\n @if (_footerTemplate() || footerTemplate() || footerT) {\n <div #footer [class]=\"cx('footer')\" [hBind]=\"ptm('footer')\">\n <ng-content select=\"h-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"_footerTemplate() || footerTemplate() || footerT\"></ng-container>\n </div>\n }\n }\n\n </div>\n }\n </div>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: Button, selector: "h-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "directive", type: FocusTrap, selector: "[hFocusTrap]", inputs: ["pFocusTrapDisabled"] }, { kind: "component", type: TimesIcon, selector: "[data-h-icon=\"times\"]" }, { kind: "component", type: WindowMaximizeIcon, selector: "[data-h-icon=\"window-maximize\"]" }, { kind: "component", type: WindowMinimizeIcon, selector: "[data-h-icon=\"window-minimize\"]" }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Bind, selector: "[hBind]", inputs: ["hBind"] }, { kind: "ngmodule", type: MotionModule }, { kind: "directive", type: i3.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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
574
|
+
this.renderer.setProperty(this.styleElement, "innerHTML", innerHTML);
|
|
575
|
+
setAttribute(this.styleElement, "nonce", this.config?.csp()?.nonce);
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
initDrag(event) {
|
|
580
|
+
if (event.target.closest("div")?.getAttribute("data-pc-section") === "headeractions") return;
|
|
581
|
+
if (this.draggable()) {
|
|
582
|
+
this.dragging = true;
|
|
583
|
+
this.lastPageX = event.pageX;
|
|
584
|
+
this.lastPageY = event.pageY;
|
|
585
|
+
this.container().style.margin = "0";
|
|
586
|
+
this.document.body.setAttribute("data-h-unselectable-text", "true");
|
|
587
|
+
!this.$unstyled() && addStyle(this.document.body, { "user-select": "none" });
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
onDrag(event) {
|
|
591
|
+
if (this.dragging && this.container()) {
|
|
592
|
+
const containerWidth = getOuterWidth(this.container());
|
|
593
|
+
const containerHeight = getOuterHeight(this.container());
|
|
594
|
+
const deltaX = event.pageX - this.lastPageX;
|
|
595
|
+
const deltaY = event.pageY - this.lastPageY;
|
|
596
|
+
const offset = this.container().getBoundingClientRect();
|
|
597
|
+
const containerComputedStyle = getComputedStyle(this.container());
|
|
598
|
+
const leftMargin = parseFloat(containerComputedStyle.marginLeft);
|
|
599
|
+
const topMargin = parseFloat(containerComputedStyle.marginTop);
|
|
600
|
+
const leftPos = offset.left + deltaX - leftMargin;
|
|
601
|
+
const topPos = offset.top + deltaY - topMargin;
|
|
602
|
+
const viewport = getViewport();
|
|
603
|
+
this.container().style.position = "fixed";
|
|
604
|
+
if (this.keepInViewport()) {
|
|
605
|
+
if (leftPos >= this.minX() && leftPos + containerWidth < viewport.width) {
|
|
606
|
+
this._style.left = `${leftPos}px`;
|
|
607
|
+
this.lastPageX = event.pageX;
|
|
608
|
+
this.container().style.left = `${leftPos}px`;
|
|
609
|
+
}
|
|
610
|
+
if (topPos >= this.minY() && topPos + containerHeight < viewport.height) {
|
|
611
|
+
this._style.top = `${topPos}px`;
|
|
612
|
+
this.lastPageY = event.pageY;
|
|
613
|
+
this.container().style.top = `${topPos}px`;
|
|
614
|
+
}
|
|
615
|
+
} else {
|
|
616
|
+
this.lastPageX = event.pageX;
|
|
617
|
+
this.container().style.left = `${leftPos}px`;
|
|
618
|
+
this.lastPageY = event.pageY;
|
|
619
|
+
this.container().style.top = `${topPos}px`;
|
|
620
|
+
}
|
|
621
|
+
this.overlayService.emitParentDrag(this.container());
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
endDrag(event) {
|
|
625
|
+
if (this.dragging) {
|
|
626
|
+
this.dragging = false;
|
|
627
|
+
this.document.body.removeAttribute("data-h-unselectable-text");
|
|
628
|
+
!this.$unstyled() && (this.document.body.style["user-select"] = "");
|
|
629
|
+
this.cd.detectChanges();
|
|
630
|
+
this.onDragEnd.emit(event);
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
resetPosition() {
|
|
634
|
+
this.container().style.position = "";
|
|
635
|
+
this.container().style.left = "";
|
|
636
|
+
this.container().style.top = "";
|
|
637
|
+
this.container().style.margin = "";
|
|
638
|
+
}
|
|
639
|
+
center() {
|
|
640
|
+
this.resetPosition();
|
|
641
|
+
}
|
|
642
|
+
initResize(event) {
|
|
643
|
+
if (this.resizable()) {
|
|
644
|
+
this.resizing = true;
|
|
645
|
+
this.lastPageX = event.pageX;
|
|
646
|
+
this.lastPageY = event.pageY;
|
|
647
|
+
this.document.body.setAttribute("data-h-unselectable-text", "true");
|
|
648
|
+
!this.$unstyled() && addStyle(this.document.body, { "user-select": "none" });
|
|
649
|
+
this.onResizeInit.emit(event);
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
onResize(event) {
|
|
653
|
+
if (this.resizing) {
|
|
654
|
+
let deltaX = event.pageX - this.lastPageX;
|
|
655
|
+
let deltaY = event.pageY - this.lastPageY;
|
|
656
|
+
let containerWidth = getOuterWidth(this.container());
|
|
657
|
+
let containerHeight = getOuterHeight(this.container());
|
|
658
|
+
const contentViewChild = this.contentViewChild();
|
|
659
|
+
let contentHeight = getOuterHeight(contentViewChild?.nativeElement);
|
|
660
|
+
let newWidth = containerWidth + deltaX;
|
|
661
|
+
let newHeight = containerHeight + deltaY;
|
|
662
|
+
let minWidth = this.container().style.minWidth;
|
|
663
|
+
let minHeight = this.container().style.minHeight;
|
|
664
|
+
let offset = this.container().getBoundingClientRect();
|
|
665
|
+
let viewport = getViewport();
|
|
666
|
+
if (!parseInt(this.container().style.top) || !parseInt(this.container().style.left)) {
|
|
667
|
+
newWidth += deltaX;
|
|
668
|
+
newHeight += deltaY;
|
|
669
|
+
}
|
|
670
|
+
if ((!minWidth || newWidth > parseInt(minWidth)) && offset.left + newWidth < viewport.width) {
|
|
671
|
+
this._style.width = newWidth + "px";
|
|
672
|
+
this.container().style.width = this._style.width;
|
|
673
|
+
}
|
|
674
|
+
if ((!minHeight || newHeight > parseInt(minHeight)) && offset.top + newHeight < viewport.height) {
|
|
675
|
+
contentViewChild.nativeElement.style.height = contentHeight + newHeight - containerHeight + "px";
|
|
676
|
+
if (this._style.height) {
|
|
677
|
+
this._style.height = newHeight + "px";
|
|
678
|
+
this.container().style.height = this._style.height;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
this.lastPageX = event.pageX;
|
|
682
|
+
this.lastPageY = event.pageY;
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
resizeEnd(event) {
|
|
686
|
+
if (this.resizing) {
|
|
687
|
+
this.resizing = false;
|
|
688
|
+
this.document.body.removeAttribute("data-h-unselectable-text");
|
|
689
|
+
!this.$unstyled() && (this.document.body.style["user-select"] = "");
|
|
690
|
+
this.onResizeEnd.emit(event);
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
bindGlobalListeners() {
|
|
694
|
+
if (this.draggable()) {
|
|
695
|
+
this.bindDocumentDragListener();
|
|
696
|
+
this.bindDocumentDragEndListener();
|
|
697
|
+
}
|
|
698
|
+
if (this.resizable()) this.bindDocumentResizeListeners();
|
|
699
|
+
if (this.closeOnEscape() && this.closable()) this.bindDocumentEscapeListener();
|
|
700
|
+
}
|
|
701
|
+
unbindGlobalListeners() {
|
|
702
|
+
this.unbindDocumentDragListener();
|
|
703
|
+
this.unbindDocumentDragEndListener();
|
|
704
|
+
this.unbindDocumentResizeListeners();
|
|
705
|
+
this.unbindDocumentEscapeListener();
|
|
706
|
+
}
|
|
707
|
+
bindDocumentDragListener() {
|
|
708
|
+
if (!this.documentDragListener) this.zone.runOutsideAngular(() => {
|
|
709
|
+
this.documentDragListener = this.renderer.listen(this.document.defaultView, "mousemove", this.onDrag.bind(this));
|
|
710
|
+
});
|
|
711
|
+
}
|
|
712
|
+
unbindDocumentDragListener() {
|
|
713
|
+
if (this.documentDragListener) {
|
|
714
|
+
this.documentDragListener();
|
|
715
|
+
this.documentDragListener = null;
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
bindDocumentDragEndListener() {
|
|
719
|
+
if (!this.documentDragEndListener) this.zone.runOutsideAngular(() => {
|
|
720
|
+
this.documentDragEndListener = this.renderer.listen(this.document.defaultView, "mouseup", this.endDrag.bind(this));
|
|
721
|
+
});
|
|
722
|
+
}
|
|
723
|
+
unbindDocumentDragEndListener() {
|
|
724
|
+
if (this.documentDragEndListener) {
|
|
725
|
+
this.documentDragEndListener();
|
|
726
|
+
this.documentDragEndListener = null;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
bindDocumentResizeListeners() {
|
|
730
|
+
if (!this.documentResizeListener && !this.documentResizeEndListener) this.zone.runOutsideAngular(() => {
|
|
731
|
+
this.documentResizeListener = this.renderer.listen(this.document.defaultView, "mousemove", this.onResize.bind(this));
|
|
732
|
+
this.documentResizeEndListener = this.renderer.listen(this.document.defaultView, "mouseup", this.resizeEnd.bind(this));
|
|
733
|
+
});
|
|
734
|
+
}
|
|
735
|
+
unbindDocumentResizeListeners() {
|
|
736
|
+
if (this.documentResizeListener && this.documentResizeEndListener) {
|
|
737
|
+
this.documentResizeListener();
|
|
738
|
+
this.documentResizeEndListener();
|
|
739
|
+
this.documentResizeListener = null;
|
|
740
|
+
this.documentResizeEndListener = null;
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
bindDocumentEscapeListener() {
|
|
744
|
+
const documentTarget = this.el ? this.el.nativeElement.ownerDocument : "document";
|
|
745
|
+
this.documentEscapeListener = this.renderer.listen(documentTarget, "keydown", (event) => {
|
|
746
|
+
if (event.key == "Escape") {
|
|
747
|
+
const container = this.container();
|
|
748
|
+
if (!container) return;
|
|
749
|
+
const currentZIndex = ZIndexUtils.getCurrent();
|
|
750
|
+
if (parseInt(container.style.zIndex) == currentZIndex || this.zIndexForLayering == currentZIndex) this.close(event);
|
|
751
|
+
}
|
|
752
|
+
});
|
|
753
|
+
}
|
|
754
|
+
unbindDocumentEscapeListener() {
|
|
755
|
+
if (this.documentEscapeListener) {
|
|
756
|
+
this.documentEscapeListener();
|
|
757
|
+
this.documentEscapeListener = null;
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
appendContainer() {
|
|
761
|
+
if (this.$appendTo() !== "self") appendChild(this.document.body, this.wrapper);
|
|
762
|
+
}
|
|
763
|
+
restoreAppend() {
|
|
764
|
+
if (this.container() && this.$appendTo() !== "self") this.renderer.appendChild(this.el.nativeElement, this.wrapper);
|
|
765
|
+
}
|
|
766
|
+
onBeforeEnter(event) {
|
|
767
|
+
this.container.set(event.element);
|
|
768
|
+
this.wrapper = this.container()?.parentElement;
|
|
769
|
+
this.$attrSelector && this.container()?.setAttribute(this.$attrSelector, "");
|
|
770
|
+
this.appendContainer();
|
|
771
|
+
this.moveOnTop();
|
|
772
|
+
this.bindGlobalListeners();
|
|
773
|
+
this.container()?.setAttribute(this.id, "");
|
|
774
|
+
if (this.modal()) this.enableModality();
|
|
775
|
+
}
|
|
776
|
+
onAfterEnter() {
|
|
777
|
+
if (this.focusOnShow()) this.focus();
|
|
778
|
+
this.onShow.emit({});
|
|
779
|
+
}
|
|
780
|
+
onBeforeLeave() {
|
|
781
|
+
if (this.modal()) this.maskVisible = false;
|
|
782
|
+
}
|
|
783
|
+
onAfterLeave() {
|
|
784
|
+
this.onContainerDestroy();
|
|
785
|
+
this.renderDialog.set(false);
|
|
786
|
+
if (this.modal()) this.renderMask.set(false);
|
|
787
|
+
else this.maskVisible = false;
|
|
788
|
+
this.onHide.emit({});
|
|
789
|
+
this.cd.markForCheck();
|
|
790
|
+
}
|
|
791
|
+
onMaskAfterLeave() {
|
|
792
|
+
if (!this.renderDialog()) this.renderMask.set(false);
|
|
793
|
+
}
|
|
794
|
+
onContainerDestroy() {
|
|
795
|
+
this.unbindGlobalListeners();
|
|
796
|
+
this.dragging = false;
|
|
797
|
+
if (this.maximized) {
|
|
798
|
+
removeClass(this.document.body, "h-overflow-hidden");
|
|
799
|
+
this.document.body.style.removeProperty("--scrollbar-width");
|
|
800
|
+
this.maximized = false;
|
|
801
|
+
}
|
|
802
|
+
if (this.modal()) this.disableModality();
|
|
803
|
+
if (hasClass(this.document.body, "h-overflow-hidden")) removeClass(this.document.body, "h-overflow-hidden");
|
|
804
|
+
if (this.container() && this.autoZIndex()) ZIndexUtils.clear(this.container());
|
|
805
|
+
if (this.zIndexForLayering) ZIndexUtils.revertZIndex(this.zIndexForLayering);
|
|
806
|
+
this.container.set(null);
|
|
807
|
+
this.wrapper = null;
|
|
808
|
+
this._style = this.originalStyle ? { ...this.originalStyle } : {};
|
|
809
|
+
}
|
|
810
|
+
destroyStyle() {
|
|
811
|
+
if (this.styleElement) {
|
|
812
|
+
this.renderer.removeChild(this.document.head, this.styleElement);
|
|
813
|
+
this.styleElement = null;
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
onDestroy() {
|
|
817
|
+
if (this.container()) {
|
|
818
|
+
this.restoreAppend();
|
|
819
|
+
this.onContainerDestroy();
|
|
820
|
+
}
|
|
821
|
+
this.destroyStyle();
|
|
822
|
+
}
|
|
823
|
+
get dataP() {
|
|
824
|
+
return this.cn({
|
|
825
|
+
maximized: this.maximized,
|
|
826
|
+
modal: this.modal()
|
|
827
|
+
});
|
|
828
|
+
}
|
|
829
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
830
|
+
minVersion: "12.0.0",
|
|
831
|
+
version: "22.2.1",
|
|
832
|
+
ngImport: i0,
|
|
833
|
+
type: Dialog,
|
|
834
|
+
deps: null,
|
|
835
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
836
|
+
});
|
|
837
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
838
|
+
minVersion: "17.0.0",
|
|
839
|
+
version: "22.2.1",
|
|
840
|
+
type: Dialog,
|
|
841
|
+
isStandalone: true,
|
|
842
|
+
selector: "h-dialog",
|
|
843
|
+
inputs: {
|
|
844
|
+
hostName: {
|
|
845
|
+
classPropertyName: "hostName",
|
|
846
|
+
publicName: "hostName",
|
|
847
|
+
isSignal: true,
|
|
848
|
+
isRequired: false,
|
|
849
|
+
transformFunction: null
|
|
850
|
+
},
|
|
851
|
+
header: {
|
|
852
|
+
classPropertyName: "header",
|
|
853
|
+
publicName: "header",
|
|
854
|
+
isSignal: true,
|
|
855
|
+
isRequired: false,
|
|
856
|
+
transformFunction: null
|
|
857
|
+
},
|
|
858
|
+
draggable: {
|
|
859
|
+
classPropertyName: "draggable",
|
|
860
|
+
publicName: "draggable",
|
|
861
|
+
isSignal: true,
|
|
862
|
+
isRequired: false,
|
|
863
|
+
transformFunction: null
|
|
864
|
+
},
|
|
865
|
+
resizable: {
|
|
866
|
+
classPropertyName: "resizable",
|
|
867
|
+
publicName: "resizable",
|
|
868
|
+
isSignal: true,
|
|
869
|
+
isRequired: false,
|
|
870
|
+
transformFunction: null
|
|
871
|
+
},
|
|
872
|
+
contentStyle: {
|
|
873
|
+
classPropertyName: "contentStyle",
|
|
874
|
+
publicName: "contentStyle",
|
|
875
|
+
isSignal: true,
|
|
876
|
+
isRequired: false,
|
|
877
|
+
transformFunction: null
|
|
878
|
+
},
|
|
879
|
+
contentStyleClass: {
|
|
880
|
+
classPropertyName: "contentStyleClass",
|
|
881
|
+
publicName: "contentStyleClass",
|
|
882
|
+
isSignal: true,
|
|
883
|
+
isRequired: false,
|
|
884
|
+
transformFunction: null
|
|
885
|
+
},
|
|
886
|
+
modal: {
|
|
887
|
+
classPropertyName: "modal",
|
|
888
|
+
publicName: "modal",
|
|
889
|
+
isSignal: true,
|
|
890
|
+
isRequired: false,
|
|
891
|
+
transformFunction: null
|
|
892
|
+
},
|
|
893
|
+
closeOnEscape: {
|
|
894
|
+
classPropertyName: "closeOnEscape",
|
|
895
|
+
publicName: "closeOnEscape",
|
|
896
|
+
isSignal: true,
|
|
897
|
+
isRequired: false,
|
|
898
|
+
transformFunction: null
|
|
899
|
+
},
|
|
900
|
+
dismissableMask: {
|
|
901
|
+
classPropertyName: "dismissableMask",
|
|
902
|
+
publicName: "dismissableMask",
|
|
903
|
+
isSignal: true,
|
|
904
|
+
isRequired: false,
|
|
905
|
+
transformFunction: null
|
|
906
|
+
},
|
|
907
|
+
rtl: {
|
|
908
|
+
classPropertyName: "rtl",
|
|
909
|
+
publicName: "rtl",
|
|
910
|
+
isSignal: true,
|
|
911
|
+
isRequired: false,
|
|
912
|
+
transformFunction: null
|
|
913
|
+
},
|
|
914
|
+
closable: {
|
|
915
|
+
classPropertyName: "closable",
|
|
916
|
+
publicName: "closable",
|
|
917
|
+
isSignal: true,
|
|
918
|
+
isRequired: false,
|
|
919
|
+
transformFunction: null
|
|
920
|
+
},
|
|
921
|
+
breakpoints: {
|
|
922
|
+
classPropertyName: "breakpoints",
|
|
923
|
+
publicName: "breakpoints",
|
|
924
|
+
isSignal: true,
|
|
925
|
+
isRequired: false,
|
|
926
|
+
transformFunction: null
|
|
927
|
+
},
|
|
928
|
+
styleClass: {
|
|
929
|
+
classPropertyName: "styleClass",
|
|
930
|
+
publicName: "styleClass",
|
|
931
|
+
isSignal: true,
|
|
932
|
+
isRequired: false,
|
|
933
|
+
transformFunction: null
|
|
934
|
+
},
|
|
935
|
+
maskStyleClass: {
|
|
936
|
+
classPropertyName: "maskStyleClass",
|
|
937
|
+
publicName: "maskStyleClass",
|
|
938
|
+
isSignal: true,
|
|
939
|
+
isRequired: false,
|
|
940
|
+
transformFunction: null
|
|
941
|
+
},
|
|
942
|
+
maskStyle: {
|
|
943
|
+
classPropertyName: "maskStyle",
|
|
944
|
+
publicName: "maskStyle",
|
|
945
|
+
isSignal: true,
|
|
946
|
+
isRequired: false,
|
|
947
|
+
transformFunction: null
|
|
948
|
+
},
|
|
949
|
+
showHeader: {
|
|
950
|
+
classPropertyName: "showHeader",
|
|
951
|
+
publicName: "showHeader",
|
|
952
|
+
isSignal: true,
|
|
953
|
+
isRequired: false,
|
|
954
|
+
transformFunction: null
|
|
955
|
+
},
|
|
956
|
+
blockScroll: {
|
|
957
|
+
classPropertyName: "blockScroll",
|
|
958
|
+
publicName: "blockScroll",
|
|
959
|
+
isSignal: true,
|
|
960
|
+
isRequired: false,
|
|
961
|
+
transformFunction: null
|
|
962
|
+
},
|
|
963
|
+
autoZIndex: {
|
|
964
|
+
classPropertyName: "autoZIndex",
|
|
965
|
+
publicName: "autoZIndex",
|
|
966
|
+
isSignal: true,
|
|
967
|
+
isRequired: false,
|
|
968
|
+
transformFunction: null
|
|
969
|
+
},
|
|
970
|
+
baseZIndex: {
|
|
971
|
+
classPropertyName: "baseZIndex",
|
|
972
|
+
publicName: "baseZIndex",
|
|
973
|
+
isSignal: true,
|
|
974
|
+
isRequired: false,
|
|
975
|
+
transformFunction: null
|
|
976
|
+
},
|
|
977
|
+
minX: {
|
|
978
|
+
classPropertyName: "minX",
|
|
979
|
+
publicName: "minX",
|
|
980
|
+
isSignal: true,
|
|
981
|
+
isRequired: false,
|
|
982
|
+
transformFunction: null
|
|
983
|
+
},
|
|
984
|
+
minY: {
|
|
985
|
+
classPropertyName: "minY",
|
|
986
|
+
publicName: "minY",
|
|
987
|
+
isSignal: true,
|
|
988
|
+
isRequired: false,
|
|
989
|
+
transformFunction: null
|
|
990
|
+
},
|
|
991
|
+
focusOnShow: {
|
|
992
|
+
classPropertyName: "focusOnShow",
|
|
993
|
+
publicName: "focusOnShow",
|
|
994
|
+
isSignal: true,
|
|
995
|
+
isRequired: false,
|
|
996
|
+
transformFunction: null
|
|
997
|
+
},
|
|
998
|
+
maximizable: {
|
|
999
|
+
classPropertyName: "maximizable",
|
|
1000
|
+
publicName: "maximizable",
|
|
1001
|
+
isSignal: true,
|
|
1002
|
+
isRequired: false,
|
|
1003
|
+
transformFunction: null
|
|
1004
|
+
},
|
|
1005
|
+
keepInViewport: {
|
|
1006
|
+
classPropertyName: "keepInViewport",
|
|
1007
|
+
publicName: "keepInViewport",
|
|
1008
|
+
isSignal: true,
|
|
1009
|
+
isRequired: false,
|
|
1010
|
+
transformFunction: null
|
|
1011
|
+
},
|
|
1012
|
+
focusTrap: {
|
|
1013
|
+
classPropertyName: "focusTrap",
|
|
1014
|
+
publicName: "focusTrap",
|
|
1015
|
+
isSignal: true,
|
|
1016
|
+
isRequired: false,
|
|
1017
|
+
transformFunction: null
|
|
1018
|
+
},
|
|
1019
|
+
transitionOptions: {
|
|
1020
|
+
classPropertyName: "transitionOptions",
|
|
1021
|
+
publicName: "transitionOptions",
|
|
1022
|
+
isSignal: true,
|
|
1023
|
+
isRequired: false,
|
|
1024
|
+
transformFunction: null
|
|
1025
|
+
},
|
|
1026
|
+
maskMotionOptions: {
|
|
1027
|
+
classPropertyName: "maskMotionOptions",
|
|
1028
|
+
publicName: "maskMotionOptions",
|
|
1029
|
+
isSignal: true,
|
|
1030
|
+
isRequired: false,
|
|
1031
|
+
transformFunction: null
|
|
1032
|
+
},
|
|
1033
|
+
motionOptions: {
|
|
1034
|
+
classPropertyName: "motionOptions",
|
|
1035
|
+
publicName: "motionOptions",
|
|
1036
|
+
isSignal: true,
|
|
1037
|
+
isRequired: false,
|
|
1038
|
+
transformFunction: null
|
|
1039
|
+
},
|
|
1040
|
+
closeIcon: {
|
|
1041
|
+
classPropertyName: "closeIcon",
|
|
1042
|
+
publicName: "closeIcon",
|
|
1043
|
+
isSignal: true,
|
|
1044
|
+
isRequired: false,
|
|
1045
|
+
transformFunction: null
|
|
1046
|
+
},
|
|
1047
|
+
closeAriaLabel: {
|
|
1048
|
+
classPropertyName: "closeAriaLabel",
|
|
1049
|
+
publicName: "closeAriaLabel",
|
|
1050
|
+
isSignal: true,
|
|
1051
|
+
isRequired: false,
|
|
1052
|
+
transformFunction: null
|
|
1053
|
+
},
|
|
1054
|
+
closeTabindex: {
|
|
1055
|
+
classPropertyName: "closeTabindex",
|
|
1056
|
+
publicName: "closeTabindex",
|
|
1057
|
+
isSignal: true,
|
|
1058
|
+
isRequired: false,
|
|
1059
|
+
transformFunction: null
|
|
1060
|
+
},
|
|
1061
|
+
minimizeIcon: {
|
|
1062
|
+
classPropertyName: "minimizeIcon",
|
|
1063
|
+
publicName: "minimizeIcon",
|
|
1064
|
+
isSignal: true,
|
|
1065
|
+
isRequired: false,
|
|
1066
|
+
transformFunction: null
|
|
1067
|
+
},
|
|
1068
|
+
maximizeIcon: {
|
|
1069
|
+
classPropertyName: "maximizeIcon",
|
|
1070
|
+
publicName: "maximizeIcon",
|
|
1071
|
+
isSignal: true,
|
|
1072
|
+
isRequired: false,
|
|
1073
|
+
transformFunction: null
|
|
1074
|
+
},
|
|
1075
|
+
closeButtonProps: {
|
|
1076
|
+
classPropertyName: "closeButtonProps",
|
|
1077
|
+
publicName: "closeButtonProps",
|
|
1078
|
+
isSignal: true,
|
|
1079
|
+
isRequired: false,
|
|
1080
|
+
transformFunction: null
|
|
1081
|
+
},
|
|
1082
|
+
maximizeButtonProps: {
|
|
1083
|
+
classPropertyName: "maximizeButtonProps",
|
|
1084
|
+
publicName: "maximizeButtonProps",
|
|
1085
|
+
isSignal: true,
|
|
1086
|
+
isRequired: false,
|
|
1087
|
+
transformFunction: null
|
|
1088
|
+
},
|
|
1089
|
+
visible: {
|
|
1090
|
+
classPropertyName: "visible",
|
|
1091
|
+
publicName: "visible",
|
|
1092
|
+
isSignal: true,
|
|
1093
|
+
isRequired: false,
|
|
1094
|
+
transformFunction: null
|
|
1095
|
+
},
|
|
1096
|
+
style: {
|
|
1097
|
+
classPropertyName: "style",
|
|
1098
|
+
publicName: "style",
|
|
1099
|
+
isSignal: true,
|
|
1100
|
+
isRequired: false,
|
|
1101
|
+
transformFunction: null
|
|
1102
|
+
},
|
|
1103
|
+
position: {
|
|
1104
|
+
classPropertyName: "position",
|
|
1105
|
+
publicName: "position",
|
|
1106
|
+
isSignal: true,
|
|
1107
|
+
isRequired: false,
|
|
1108
|
+
transformFunction: null
|
|
1109
|
+
},
|
|
1110
|
+
role: {
|
|
1111
|
+
classPropertyName: "role",
|
|
1112
|
+
publicName: "role",
|
|
1113
|
+
isSignal: true,
|
|
1114
|
+
isRequired: false,
|
|
1115
|
+
transformFunction: null
|
|
1116
|
+
},
|
|
1117
|
+
appendTo: {
|
|
1118
|
+
classPropertyName: "appendTo",
|
|
1119
|
+
publicName: "appendTo",
|
|
1120
|
+
isSignal: true,
|
|
1121
|
+
isRequired: false,
|
|
1122
|
+
transformFunction: null
|
|
1123
|
+
},
|
|
1124
|
+
headerTemplate: {
|
|
1125
|
+
classPropertyName: "headerTemplate",
|
|
1126
|
+
publicName: "content",
|
|
1127
|
+
isSignal: true,
|
|
1128
|
+
isRequired: false,
|
|
1129
|
+
transformFunction: null
|
|
1130
|
+
},
|
|
1131
|
+
contentTemplate: {
|
|
1132
|
+
classPropertyName: "contentTemplate",
|
|
1133
|
+
publicName: "contentTemplate",
|
|
1134
|
+
isSignal: true,
|
|
1135
|
+
isRequired: false,
|
|
1136
|
+
transformFunction: null
|
|
1137
|
+
},
|
|
1138
|
+
footerTemplate: {
|
|
1139
|
+
classPropertyName: "footerTemplate",
|
|
1140
|
+
publicName: "footerTemplate",
|
|
1141
|
+
isSignal: true,
|
|
1142
|
+
isRequired: false,
|
|
1143
|
+
transformFunction: null
|
|
1144
|
+
},
|
|
1145
|
+
closeIconTemplate: {
|
|
1146
|
+
classPropertyName: "closeIconTemplate",
|
|
1147
|
+
publicName: "closeIconTemplate",
|
|
1148
|
+
isSignal: true,
|
|
1149
|
+
isRequired: false,
|
|
1150
|
+
transformFunction: null
|
|
1151
|
+
},
|
|
1152
|
+
maximizeIconTemplate: {
|
|
1153
|
+
classPropertyName: "maximizeIconTemplate",
|
|
1154
|
+
publicName: "maximizeIconTemplate",
|
|
1155
|
+
isSignal: true,
|
|
1156
|
+
isRequired: false,
|
|
1157
|
+
transformFunction: null
|
|
1158
|
+
},
|
|
1159
|
+
minimizeIconTemplate: {
|
|
1160
|
+
classPropertyName: "minimizeIconTemplate",
|
|
1161
|
+
publicName: "minimizeIconTemplate",
|
|
1162
|
+
isSignal: true,
|
|
1163
|
+
isRequired: false,
|
|
1164
|
+
transformFunction: null
|
|
1165
|
+
},
|
|
1166
|
+
headlessTemplate: {
|
|
1167
|
+
classPropertyName: "headlessTemplate",
|
|
1168
|
+
publicName: "headlessTemplate",
|
|
1169
|
+
isSignal: true,
|
|
1170
|
+
isRequired: false,
|
|
1171
|
+
transformFunction: null
|
|
1172
|
+
}
|
|
1173
|
+
},
|
|
1174
|
+
outputs: {
|
|
1175
|
+
visible: "visibleChange",
|
|
1176
|
+
onShow: "onShow",
|
|
1177
|
+
onHide: "onHide",
|
|
1178
|
+
onResizeInit: "onResizeInit",
|
|
1179
|
+
onResizeEnd: "onResizeEnd",
|
|
1180
|
+
onDragEnd: "onDragEnd",
|
|
1181
|
+
onMaximize: "onMaximize"
|
|
1182
|
+
},
|
|
1183
|
+
providers: [
|
|
1184
|
+
DialogStyle,
|
|
1185
|
+
{
|
|
1186
|
+
provide: DIALOG_INSTANCE,
|
|
1187
|
+
useExisting: Dialog
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
provide: PARENT_INSTANCE,
|
|
1191
|
+
useExisting: Dialog
|
|
1192
|
+
}
|
|
1193
|
+
],
|
|
1194
|
+
queries: [
|
|
1195
|
+
{
|
|
1196
|
+
propertyName: "_headerTemplate",
|
|
1197
|
+
first: true,
|
|
1198
|
+
predicate: ["header"],
|
|
1199
|
+
isSignal: true
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
propertyName: "_contentTemplate",
|
|
1203
|
+
first: true,
|
|
1204
|
+
predicate: ["content"],
|
|
1205
|
+
isSignal: true
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
propertyName: "_footerTemplate",
|
|
1209
|
+
first: true,
|
|
1210
|
+
predicate: ["footer"],
|
|
1211
|
+
isSignal: true
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
propertyName: "_closeiconTemplate",
|
|
1215
|
+
first: true,
|
|
1216
|
+
predicate: ["closeicon"],
|
|
1217
|
+
isSignal: true
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
propertyName: "_maximizeiconTemplate",
|
|
1221
|
+
first: true,
|
|
1222
|
+
predicate: ["maximizeicon"],
|
|
1223
|
+
isSignal: true
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
propertyName: "_minimizeiconTemplate",
|
|
1227
|
+
first: true,
|
|
1228
|
+
predicate: ["minimizeicon"],
|
|
1229
|
+
isSignal: true
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
propertyName: "_headlessTemplate",
|
|
1233
|
+
first: true,
|
|
1234
|
+
predicate: ["headless"],
|
|
1235
|
+
isSignal: true
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
propertyName: "templates",
|
|
1239
|
+
predicate: HelixTemplate,
|
|
1240
|
+
isSignal: true
|
|
1241
|
+
}
|
|
1242
|
+
],
|
|
1243
|
+
viewQueries: [
|
|
1244
|
+
{
|
|
1245
|
+
propertyName: "headerViewChild",
|
|
1246
|
+
first: true,
|
|
1247
|
+
predicate: ["titlebar"],
|
|
1248
|
+
descendants: true,
|
|
1249
|
+
isSignal: true
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
propertyName: "contentViewChild",
|
|
1253
|
+
first: true,
|
|
1254
|
+
predicate: ["content"],
|
|
1255
|
+
descendants: true,
|
|
1256
|
+
isSignal: true
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
propertyName: "footerViewChild",
|
|
1260
|
+
first: true,
|
|
1261
|
+
predicate: ["footer"],
|
|
1262
|
+
descendants: true,
|
|
1263
|
+
isSignal: true
|
|
1264
|
+
}
|
|
1265
|
+
],
|
|
1266
|
+
usesInheritance: true,
|
|
1267
|
+
hostDirectives: [{ directive: i1.Bind }],
|
|
1268
|
+
ngImport: i0,
|
|
1269
|
+
template: "@if (renderMask()) {\n <div\n [class]=\"cn(cx('mask'), maskStyleClass())\"\n [style]=\"sx('mask')\"\n [ngStyle]=\"maskStyle()\"\n [hBind]=\"ptm('mask')\"\n [hMotion]=\"maskVisible\"\n [pMotionAppear]=\"true\"\n [pMotionEnterActiveClass]=\"modal() ? 'h-overlay-mask-enter-active' : ''\"\n [pMotionLeaveActiveClass]=\"modal() ? 'h-overlay-mask-leave-active' : ''\"\n [pMotionOptions]=\"computedMaskMotionOptions()\"\n (pMotionOnAfterLeave)=\"onMaskAfterLeave()\"\n [attr.data-h-scrollblocker-active]=\"modal() || blockScroll()\"\n [attr.data-h]=\"dataP\"\n >\n @if (renderDialog()) {\n <div\n #container\n [class]=\"cn(cx('root'), styleClass())\"\n [style]=\"sx('root')\"\n [ngStyle]=\"style\"\n [hBind]=\"ptm('root')\"\n hFocusTrap\n [pFocusTrapDisabled]=\"focusTrap() === false\"\n [hMotion]=\"visible\"\n [pMotionAppear]=\"true\"\n [pMotionName]=\"'h-dialog'\"\n [pMotionOptions]=\"computedMotionOptions()\"\n (pMotionOnBeforeEnter)=\"onBeforeEnter($event)\"\n (pMotionOnAfterEnter)=\"onAfterEnter($event)\"\n (pMotionOnBeforeLeave)=\"onBeforeLeave($event)\"\n (pMotionOnAfterLeave)=\"onAfterLeave($event)\"\n [attr.role]=\"role()\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.aria-modal]=\"true\"\n [attr.data-h]=\"dataP\"\n >\n @if (_headlessTemplate() || headlessTemplate() || headlessT) {\n <ng-container *ngTemplateOutlet=\"_headlessTemplate() || headlessTemplate() || headlessT\"></ng-container>\n } @else {\n @if (resizable()) {\n <div [class]=\"cx('resizeHandle')\" [hBind]=\"ptm('resizeHandle')\" [style.z-index]=\"90\" (mousedown)=\"initResize($event)\"></div>\n }\n @if (showHeader()) {\n <div #titlebar [class]=\"cx('header')\" [hBind]=\"ptm('header')\" (mousedown)=\"initDrag($event)\">\n @if (!_headerTemplate() && !headerTemplate() && !headerT) {\n <span [id]=\"ariaLabelledBy\" [class]=\"cx('title')\" [hBind]=\"ptm('title')\">{{ header() }}</span>\n }\n <ng-container *ngTemplateOutlet=\"_headerTemplate() || headerTemplate() || headerT; context: { ariaLabelledBy: ariaLabelledBy }\"></ng-container>\n <div [class]=\"cx('headerActions')\" [hBind]=\"ptm('headerActions')\">\n @if (maximizable()) {\n <h-button\n [pt]=\"ptm('pcMaximizeButton')\"\n [styleClass]=\"cx('pcMaximizeButton')\"\n [ariaLabel]=\"maximized ? minimizeLabel : maximizeLabel\"\n (onClick)=\"maximize()\"\n (keydown.enter)=\"maximize()\"\n [tabindex]=\"maximizable() ? '0' : '-1'\"\n [buttonProps]=\"maximizeButtonProps()\"\n [unstyled]=\"unstyled()\"\n [attr.data-pc-group-section]=\"'headericon'\"\n >\n <ng-template #icon>\n @if (maximizeIcon() && !_maximizeiconTemplate() && !_minimizeiconTemplate()) {\n <span [ngClass]=\"maximized ? minimizeIcon() : maximizeIcon()\"></span>\n }\n @if (!maximizeIcon() && !maximizeButtonProps()?.icon) {\n @if (!maximized && !_maximizeiconTemplate() && !maximizeIconTemplate() && !maximizeIconT) {\n <svg data-h-icon=\"window-maximize\" />\n }\n @if (maximized && !_minimizeiconTemplate() && !minimizeIconTemplate() && !minimizeIconT) {\n <svg data-h-icon=\"window-minimize\" />\n }\n }\n @if (!maximized) {\n <ng-template *ngTemplateOutlet=\"_maximizeiconTemplate() || maximizeIconTemplate() || maximizeIconT\"></ng-template>\n }\n @if (maximized) {\n <ng-template *ngTemplateOutlet=\"_minimizeiconTemplate() || minimizeIconTemplate() || minimizeIconT\"></ng-template>\n }\n </ng-template>\n </h-button>\n }\n @if (closable()) {\n <h-button\n [pt]=\"ptm('pcCloseButton')\"\n [styleClass]=\"cx('pcCloseButton')\"\n [ariaLabel]=\"closeAriaLabel()\"\n (onClick)=\"close($event)\"\n (keydown.enter)=\"close($event)\"\n [tabindex]=\"closeTabindex()\"\n [buttonProps]=\"closeButtonProps()\"\n [unstyled]=\"unstyled()\"\n [attr.data-pc-group-section]=\"'headericon'\"\n >\n <ng-template #icon>\n @if (!_closeiconTemplate() && !closeIconTemplate() && !closeIconT && !closeButtonProps()?.icon) {\n @if (closeIcon()) {\n <span [class]=\"closeIcon()\"></span>\n }\n @if (!closeIcon()) {\n <svg data-h-icon=\"times\" />\n }\n }\n @if (_closeiconTemplate() || closeIconTemplate() || closeIconT) {\n <span>\n <ng-template *ngTemplateOutlet=\"_closeiconTemplate() || closeIconTemplate() || closeIconT\"></ng-template>\n </span>\n }\n </ng-template>\n </h-button>\n }\n </div>\n </div>\n }\n <div #content [class]=\"cn(cx('content'), contentStyleClass())\" [ngStyle]=\"contentStyle()\" [hBind]=\"ptm('content')\">\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"_contentTemplate() || contentTemplate() || contentT\"></ng-container>\n </div>\n @if (_footerTemplate() || footerTemplate() || footerT) {\n <div #footer [class]=\"cx('footer')\" [hBind]=\"ptm('footer')\">\n <ng-content select=\"h-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"_footerTemplate() || footerTemplate() || footerT\"></ng-container>\n </div>\n }\n }\n\n </div>\n }\n </div>\n}\n",
|
|
1270
|
+
dependencies: [
|
|
1271
|
+
{
|
|
1272
|
+
kind: "ngmodule",
|
|
1273
|
+
type: CommonModule
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
kind: "directive",
|
|
1277
|
+
type: i2.NgClass,
|
|
1278
|
+
selector: "[ngClass]",
|
|
1279
|
+
inputs: ["class", "ngClass"]
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
kind: "directive",
|
|
1283
|
+
type: i2.NgTemplateOutlet,
|
|
1284
|
+
selector: "[ngTemplateOutlet]",
|
|
1285
|
+
inputs: [
|
|
1286
|
+
"ngTemplateOutletContext",
|
|
1287
|
+
"ngTemplateOutlet",
|
|
1288
|
+
"ngTemplateOutletInjector"
|
|
1289
|
+
]
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
kind: "directive",
|
|
1293
|
+
type: i2.NgStyle,
|
|
1294
|
+
selector: "[ngStyle]",
|
|
1295
|
+
inputs: ["ngStyle"]
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
kind: "component",
|
|
1299
|
+
type: Button,
|
|
1300
|
+
selector: "h-button",
|
|
1301
|
+
inputs: [
|
|
1302
|
+
"hostName",
|
|
1303
|
+
"type",
|
|
1304
|
+
"badge",
|
|
1305
|
+
"disabled",
|
|
1306
|
+
"raised",
|
|
1307
|
+
"rounded",
|
|
1308
|
+
"text",
|
|
1309
|
+
"plain",
|
|
1310
|
+
"outlined",
|
|
1311
|
+
"link",
|
|
1312
|
+
"tabindex",
|
|
1313
|
+
"size",
|
|
1314
|
+
"variant",
|
|
1315
|
+
"style",
|
|
1316
|
+
"styleClass",
|
|
1317
|
+
"badgeClass",
|
|
1318
|
+
"badgeSeverity",
|
|
1319
|
+
"ariaLabel",
|
|
1320
|
+
"autofocus",
|
|
1321
|
+
"iconPos",
|
|
1322
|
+
"icon",
|
|
1323
|
+
"label",
|
|
1324
|
+
"loading",
|
|
1325
|
+
"loadingIcon",
|
|
1326
|
+
"severity",
|
|
1327
|
+
"buttonProps",
|
|
1328
|
+
"fluid"
|
|
1329
|
+
],
|
|
1330
|
+
outputs: [
|
|
1331
|
+
"onClick",
|
|
1332
|
+
"onFocus",
|
|
1333
|
+
"onBlur"
|
|
1334
|
+
]
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
kind: "directive",
|
|
1338
|
+
type: FocusTrap,
|
|
1339
|
+
selector: "[hFocusTrap]",
|
|
1340
|
+
inputs: ["pFocusTrapDisabled"]
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
kind: "component",
|
|
1344
|
+
type: TimesIcon,
|
|
1345
|
+
selector: "[data-h-icon=\"times\"]"
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
kind: "component",
|
|
1349
|
+
type: WindowMaximizeIcon,
|
|
1350
|
+
selector: "[data-h-icon=\"window-maximize\"]"
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
kind: "component",
|
|
1354
|
+
type: WindowMinimizeIcon,
|
|
1355
|
+
selector: "[data-h-icon=\"window-minimize\"]"
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
kind: "ngmodule",
|
|
1359
|
+
type: SharedModule
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
kind: "directive",
|
|
1363
|
+
type: Bind,
|
|
1364
|
+
selector: "[hBind]",
|
|
1365
|
+
inputs: ["hBind"]
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
kind: "ngmodule",
|
|
1369
|
+
type: MotionModule
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
kind: "directive",
|
|
1373
|
+
type: i3.MotionDirective,
|
|
1374
|
+
selector: "[hMotion]",
|
|
1375
|
+
inputs: [
|
|
1376
|
+
"hMotion",
|
|
1377
|
+
"pMotionName",
|
|
1378
|
+
"pMotionType",
|
|
1379
|
+
"pMotionSafe",
|
|
1380
|
+
"pMotionDisabled",
|
|
1381
|
+
"pMotionAppear",
|
|
1382
|
+
"pMotionEnter",
|
|
1383
|
+
"pMotionLeave",
|
|
1384
|
+
"pMotionDuration",
|
|
1385
|
+
"pMotionHideStrategy",
|
|
1386
|
+
"pMotionEnterFromClass",
|
|
1387
|
+
"pMotionEnterToClass",
|
|
1388
|
+
"pMotionEnterActiveClass",
|
|
1389
|
+
"pMotionLeaveFromClass",
|
|
1390
|
+
"pMotionLeaveToClass",
|
|
1391
|
+
"pMotionLeaveActiveClass",
|
|
1392
|
+
"pMotionOptions"
|
|
1393
|
+
],
|
|
1394
|
+
outputs: [
|
|
1395
|
+
"pMotionOnBeforeEnter",
|
|
1396
|
+
"pMotionOnEnter",
|
|
1397
|
+
"pMotionOnAfterEnter",
|
|
1398
|
+
"pMotionOnEnterCancelled",
|
|
1399
|
+
"pMotionOnBeforeLeave",
|
|
1400
|
+
"pMotionOnLeave",
|
|
1401
|
+
"pMotionOnAfterLeave",
|
|
1402
|
+
"pMotionOnLeaveCancelled"
|
|
1403
|
+
]
|
|
1404
|
+
}
|
|
1405
|
+
],
|
|
1406
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1407
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
1408
|
+
});
|
|
1409
|
+
};
|
|
1410
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1411
|
+
minVersion: "12.0.0",
|
|
1412
|
+
version: "22.2.1",
|
|
1413
|
+
ngImport: i0,
|
|
1414
|
+
type: Dialog,
|
|
1415
|
+
decorators: [{
|
|
1416
|
+
type: Component,
|
|
1417
|
+
args: [{
|
|
1418
|
+
selector: "h-dialog",
|
|
1419
|
+
standalone: true,
|
|
1420
|
+
imports: [
|
|
1421
|
+
CommonModule,
|
|
1422
|
+
Button,
|
|
1423
|
+
FocusTrap,
|
|
1424
|
+
TimesIcon,
|
|
1425
|
+
WindowMaximizeIcon,
|
|
1426
|
+
WindowMinimizeIcon,
|
|
1427
|
+
SharedModule,
|
|
1428
|
+
Bind,
|
|
1429
|
+
MotionModule
|
|
1430
|
+
],
|
|
1431
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1432
|
+
encapsulation: ViewEncapsulation.None,
|
|
1433
|
+
providers: [
|
|
1434
|
+
DialogStyle,
|
|
1435
|
+
{
|
|
1436
|
+
provide: DIALOG_INSTANCE,
|
|
1437
|
+
useExisting: Dialog
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
provide: PARENT_INSTANCE,
|
|
1441
|
+
useExisting: Dialog
|
|
1442
|
+
}
|
|
1443
|
+
],
|
|
1444
|
+
hostDirectives: [Bind],
|
|
1445
|
+
template: "@if (renderMask()) {\n <div\n [class]=\"cn(cx('mask'), maskStyleClass())\"\n [style]=\"sx('mask')\"\n [ngStyle]=\"maskStyle()\"\n [hBind]=\"ptm('mask')\"\n [hMotion]=\"maskVisible\"\n [pMotionAppear]=\"true\"\n [pMotionEnterActiveClass]=\"modal() ? 'h-overlay-mask-enter-active' : ''\"\n [pMotionLeaveActiveClass]=\"modal() ? 'h-overlay-mask-leave-active' : ''\"\n [pMotionOptions]=\"computedMaskMotionOptions()\"\n (pMotionOnAfterLeave)=\"onMaskAfterLeave()\"\n [attr.data-h-scrollblocker-active]=\"modal() || blockScroll()\"\n [attr.data-h]=\"dataP\"\n >\n @if (renderDialog()) {\n <div\n #container\n [class]=\"cn(cx('root'), styleClass())\"\n [style]=\"sx('root')\"\n [ngStyle]=\"style\"\n [hBind]=\"ptm('root')\"\n hFocusTrap\n [pFocusTrapDisabled]=\"focusTrap() === false\"\n [hMotion]=\"visible\"\n [pMotionAppear]=\"true\"\n [pMotionName]=\"'h-dialog'\"\n [pMotionOptions]=\"computedMotionOptions()\"\n (pMotionOnBeforeEnter)=\"onBeforeEnter($event)\"\n (pMotionOnAfterEnter)=\"onAfterEnter($event)\"\n (pMotionOnBeforeLeave)=\"onBeforeLeave($event)\"\n (pMotionOnAfterLeave)=\"onAfterLeave($event)\"\n [attr.role]=\"role()\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.aria-modal]=\"true\"\n [attr.data-h]=\"dataP\"\n >\n @if (_headlessTemplate() || headlessTemplate() || headlessT) {\n <ng-container *ngTemplateOutlet=\"_headlessTemplate() || headlessTemplate() || headlessT\"></ng-container>\n } @else {\n @if (resizable()) {\n <div [class]=\"cx('resizeHandle')\" [hBind]=\"ptm('resizeHandle')\" [style.z-index]=\"90\" (mousedown)=\"initResize($event)\"></div>\n }\n @if (showHeader()) {\n <div #titlebar [class]=\"cx('header')\" [hBind]=\"ptm('header')\" (mousedown)=\"initDrag($event)\">\n @if (!_headerTemplate() && !headerTemplate() && !headerT) {\n <span [id]=\"ariaLabelledBy\" [class]=\"cx('title')\" [hBind]=\"ptm('title')\">{{ header() }}</span>\n }\n <ng-container *ngTemplateOutlet=\"_headerTemplate() || headerTemplate() || headerT; context: { ariaLabelledBy: ariaLabelledBy }\"></ng-container>\n <div [class]=\"cx('headerActions')\" [hBind]=\"ptm('headerActions')\">\n @if (maximizable()) {\n <h-button\n [pt]=\"ptm('pcMaximizeButton')\"\n [styleClass]=\"cx('pcMaximizeButton')\"\n [ariaLabel]=\"maximized ? minimizeLabel : maximizeLabel\"\n (onClick)=\"maximize()\"\n (keydown.enter)=\"maximize()\"\n [tabindex]=\"maximizable() ? '0' : '-1'\"\n [buttonProps]=\"maximizeButtonProps()\"\n [unstyled]=\"unstyled()\"\n [attr.data-pc-group-section]=\"'headericon'\"\n >\n <ng-template #icon>\n @if (maximizeIcon() && !_maximizeiconTemplate() && !_minimizeiconTemplate()) {\n <span [ngClass]=\"maximized ? minimizeIcon() : maximizeIcon()\"></span>\n }\n @if (!maximizeIcon() && !maximizeButtonProps()?.icon) {\n @if (!maximized && !_maximizeiconTemplate() && !maximizeIconTemplate() && !maximizeIconT) {\n <svg data-h-icon=\"window-maximize\" />\n }\n @if (maximized && !_minimizeiconTemplate() && !minimizeIconTemplate() && !minimizeIconT) {\n <svg data-h-icon=\"window-minimize\" />\n }\n }\n @if (!maximized) {\n <ng-template *ngTemplateOutlet=\"_maximizeiconTemplate() || maximizeIconTemplate() || maximizeIconT\"></ng-template>\n }\n @if (maximized) {\n <ng-template *ngTemplateOutlet=\"_minimizeiconTemplate() || minimizeIconTemplate() || minimizeIconT\"></ng-template>\n }\n </ng-template>\n </h-button>\n }\n @if (closable()) {\n <h-button\n [pt]=\"ptm('pcCloseButton')\"\n [styleClass]=\"cx('pcCloseButton')\"\n [ariaLabel]=\"closeAriaLabel()\"\n (onClick)=\"close($event)\"\n (keydown.enter)=\"close($event)\"\n [tabindex]=\"closeTabindex()\"\n [buttonProps]=\"closeButtonProps()\"\n [unstyled]=\"unstyled()\"\n [attr.data-pc-group-section]=\"'headericon'\"\n >\n <ng-template #icon>\n @if (!_closeiconTemplate() && !closeIconTemplate() && !closeIconT && !closeButtonProps()?.icon) {\n @if (closeIcon()) {\n <span [class]=\"closeIcon()\"></span>\n }\n @if (!closeIcon()) {\n <svg data-h-icon=\"times\" />\n }\n }\n @if (_closeiconTemplate() || closeIconTemplate() || closeIconT) {\n <span>\n <ng-template *ngTemplateOutlet=\"_closeiconTemplate() || closeIconTemplate() || closeIconT\"></ng-template>\n </span>\n }\n </ng-template>\n </h-button>\n }\n </div>\n </div>\n }\n <div #content [class]=\"cn(cx('content'), contentStyleClass())\" [ngStyle]=\"contentStyle()\" [hBind]=\"ptm('content')\">\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"_contentTemplate() || contentTemplate() || contentT\"></ng-container>\n </div>\n @if (_footerTemplate() || footerTemplate() || footerT) {\n <div #footer [class]=\"cx('footer')\" [hBind]=\"ptm('footer')\">\n <ng-content select=\"h-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"_footerTemplate() || footerTemplate() || footerT\"></ng-container>\n </div>\n }\n }\n\n </div>\n }\n </div>\n}\n"
|
|
1446
|
+
}]
|
|
1447
|
+
}],
|
|
1448
|
+
propDecorators: {
|
|
1449
|
+
hostName: [{
|
|
1450
|
+
type: i0.Input,
|
|
1451
|
+
args: [{
|
|
1452
|
+
isSignal: true,
|
|
1453
|
+
alias: "hostName",
|
|
1454
|
+
required: false
|
|
1455
|
+
}]
|
|
1456
|
+
}],
|
|
1457
|
+
header: [{
|
|
1458
|
+
type: i0.Input,
|
|
1459
|
+
args: [{
|
|
1460
|
+
isSignal: true,
|
|
1461
|
+
alias: "header",
|
|
1462
|
+
required: false
|
|
1463
|
+
}]
|
|
1464
|
+
}],
|
|
1465
|
+
draggable: [{
|
|
1466
|
+
type: i0.Input,
|
|
1467
|
+
args: [{
|
|
1468
|
+
isSignal: true,
|
|
1469
|
+
alias: "draggable",
|
|
1470
|
+
required: false
|
|
1471
|
+
}]
|
|
1472
|
+
}],
|
|
1473
|
+
resizable: [{
|
|
1474
|
+
type: i0.Input,
|
|
1475
|
+
args: [{
|
|
1476
|
+
isSignal: true,
|
|
1477
|
+
alias: "resizable",
|
|
1478
|
+
required: false
|
|
1479
|
+
}]
|
|
1480
|
+
}],
|
|
1481
|
+
contentStyle: [{
|
|
1482
|
+
type: i0.Input,
|
|
1483
|
+
args: [{
|
|
1484
|
+
isSignal: true,
|
|
1485
|
+
alias: "contentStyle",
|
|
1486
|
+
required: false
|
|
1487
|
+
}]
|
|
1488
|
+
}],
|
|
1489
|
+
contentStyleClass: [{
|
|
1490
|
+
type: i0.Input,
|
|
1491
|
+
args: [{
|
|
1492
|
+
isSignal: true,
|
|
1493
|
+
alias: "contentStyleClass",
|
|
1494
|
+
required: false
|
|
1495
|
+
}]
|
|
1496
|
+
}],
|
|
1497
|
+
modal: [{
|
|
1498
|
+
type: i0.Input,
|
|
1499
|
+
args: [{
|
|
1500
|
+
isSignal: true,
|
|
1501
|
+
alias: "modal",
|
|
1502
|
+
required: false
|
|
1503
|
+
}]
|
|
1504
|
+
}],
|
|
1505
|
+
closeOnEscape: [{
|
|
1506
|
+
type: i0.Input,
|
|
1507
|
+
args: [{
|
|
1508
|
+
isSignal: true,
|
|
1509
|
+
alias: "closeOnEscape",
|
|
1510
|
+
required: false
|
|
1511
|
+
}]
|
|
1512
|
+
}],
|
|
1513
|
+
dismissableMask: [{
|
|
1514
|
+
type: i0.Input,
|
|
1515
|
+
args: [{
|
|
1516
|
+
isSignal: true,
|
|
1517
|
+
alias: "dismissableMask",
|
|
1518
|
+
required: false
|
|
1519
|
+
}]
|
|
1520
|
+
}],
|
|
1521
|
+
rtl: [{
|
|
1522
|
+
type: i0.Input,
|
|
1523
|
+
args: [{
|
|
1524
|
+
isSignal: true,
|
|
1525
|
+
alias: "rtl",
|
|
1526
|
+
required: false
|
|
1527
|
+
}]
|
|
1528
|
+
}],
|
|
1529
|
+
closable: [{
|
|
1530
|
+
type: i0.Input,
|
|
1531
|
+
args: [{
|
|
1532
|
+
isSignal: true,
|
|
1533
|
+
alias: "closable",
|
|
1534
|
+
required: false
|
|
1535
|
+
}]
|
|
1536
|
+
}],
|
|
1537
|
+
breakpoints: [{
|
|
1538
|
+
type: i0.Input,
|
|
1539
|
+
args: [{
|
|
1540
|
+
isSignal: true,
|
|
1541
|
+
alias: "breakpoints",
|
|
1542
|
+
required: false
|
|
1543
|
+
}]
|
|
1544
|
+
}],
|
|
1545
|
+
styleClass: [{
|
|
1546
|
+
type: i0.Input,
|
|
1547
|
+
args: [{
|
|
1548
|
+
isSignal: true,
|
|
1549
|
+
alias: "styleClass",
|
|
1550
|
+
required: false
|
|
1551
|
+
}]
|
|
1552
|
+
}],
|
|
1553
|
+
maskStyleClass: [{
|
|
1554
|
+
type: i0.Input,
|
|
1555
|
+
args: [{
|
|
1556
|
+
isSignal: true,
|
|
1557
|
+
alias: "maskStyleClass",
|
|
1558
|
+
required: false
|
|
1559
|
+
}]
|
|
1560
|
+
}],
|
|
1561
|
+
maskStyle: [{
|
|
1562
|
+
type: i0.Input,
|
|
1563
|
+
args: [{
|
|
1564
|
+
isSignal: true,
|
|
1565
|
+
alias: "maskStyle",
|
|
1566
|
+
required: false
|
|
1567
|
+
}]
|
|
1568
|
+
}],
|
|
1569
|
+
showHeader: [{
|
|
1570
|
+
type: i0.Input,
|
|
1571
|
+
args: [{
|
|
1572
|
+
isSignal: true,
|
|
1573
|
+
alias: "showHeader",
|
|
1574
|
+
required: false
|
|
1575
|
+
}]
|
|
1576
|
+
}],
|
|
1577
|
+
blockScroll: [{
|
|
1578
|
+
type: i0.Input,
|
|
1579
|
+
args: [{
|
|
1580
|
+
isSignal: true,
|
|
1581
|
+
alias: "blockScroll",
|
|
1582
|
+
required: false
|
|
1583
|
+
}]
|
|
1584
|
+
}],
|
|
1585
|
+
autoZIndex: [{
|
|
1586
|
+
type: i0.Input,
|
|
1587
|
+
args: [{
|
|
1588
|
+
isSignal: true,
|
|
1589
|
+
alias: "autoZIndex",
|
|
1590
|
+
required: false
|
|
1591
|
+
}]
|
|
1592
|
+
}],
|
|
1593
|
+
baseZIndex: [{
|
|
1594
|
+
type: i0.Input,
|
|
1595
|
+
args: [{
|
|
1596
|
+
isSignal: true,
|
|
1597
|
+
alias: "baseZIndex",
|
|
1598
|
+
required: false
|
|
1599
|
+
}]
|
|
1600
|
+
}],
|
|
1601
|
+
minX: [{
|
|
1602
|
+
type: i0.Input,
|
|
1603
|
+
args: [{
|
|
1604
|
+
isSignal: true,
|
|
1605
|
+
alias: "minX",
|
|
1606
|
+
required: false
|
|
1607
|
+
}]
|
|
1608
|
+
}],
|
|
1609
|
+
minY: [{
|
|
1610
|
+
type: i0.Input,
|
|
1611
|
+
args: [{
|
|
1612
|
+
isSignal: true,
|
|
1613
|
+
alias: "minY",
|
|
1614
|
+
required: false
|
|
1615
|
+
}]
|
|
1616
|
+
}],
|
|
1617
|
+
focusOnShow: [{
|
|
1618
|
+
type: i0.Input,
|
|
1619
|
+
args: [{
|
|
1620
|
+
isSignal: true,
|
|
1621
|
+
alias: "focusOnShow",
|
|
1622
|
+
required: false
|
|
1623
|
+
}]
|
|
1624
|
+
}],
|
|
1625
|
+
maximizable: [{
|
|
1626
|
+
type: i0.Input,
|
|
1627
|
+
args: [{
|
|
1628
|
+
isSignal: true,
|
|
1629
|
+
alias: "maximizable",
|
|
1630
|
+
required: false
|
|
1631
|
+
}]
|
|
1632
|
+
}],
|
|
1633
|
+
keepInViewport: [{
|
|
1634
|
+
type: i0.Input,
|
|
1635
|
+
args: [{
|
|
1636
|
+
isSignal: true,
|
|
1637
|
+
alias: "keepInViewport",
|
|
1638
|
+
required: false
|
|
1639
|
+
}]
|
|
1640
|
+
}],
|
|
1641
|
+
focusTrap: [{
|
|
1642
|
+
type: i0.Input,
|
|
1643
|
+
args: [{
|
|
1644
|
+
isSignal: true,
|
|
1645
|
+
alias: "focusTrap",
|
|
1646
|
+
required: false
|
|
1647
|
+
}]
|
|
1648
|
+
}],
|
|
1649
|
+
transitionOptions: [{
|
|
1650
|
+
type: i0.Input,
|
|
1651
|
+
args: [{
|
|
1652
|
+
isSignal: true,
|
|
1653
|
+
alias: "transitionOptions",
|
|
1654
|
+
required: false
|
|
1655
|
+
}]
|
|
1656
|
+
}],
|
|
1657
|
+
maskMotionOptions: [{
|
|
1658
|
+
type: i0.Input,
|
|
1659
|
+
args: [{
|
|
1660
|
+
isSignal: true,
|
|
1661
|
+
alias: "maskMotionOptions",
|
|
1662
|
+
required: false
|
|
1663
|
+
}]
|
|
1664
|
+
}],
|
|
1665
|
+
motionOptions: [{
|
|
1666
|
+
type: i0.Input,
|
|
1667
|
+
args: [{
|
|
1668
|
+
isSignal: true,
|
|
1669
|
+
alias: "motionOptions",
|
|
1670
|
+
required: false
|
|
1671
|
+
}]
|
|
1672
|
+
}],
|
|
1673
|
+
closeIcon: [{
|
|
1674
|
+
type: i0.Input,
|
|
1675
|
+
args: [{
|
|
1676
|
+
isSignal: true,
|
|
1677
|
+
alias: "closeIcon",
|
|
1678
|
+
required: false
|
|
1679
|
+
}]
|
|
1680
|
+
}],
|
|
1681
|
+
closeAriaLabel: [{
|
|
1682
|
+
type: i0.Input,
|
|
1683
|
+
args: [{
|
|
1684
|
+
isSignal: true,
|
|
1685
|
+
alias: "closeAriaLabel",
|
|
1686
|
+
required: false
|
|
1687
|
+
}]
|
|
1688
|
+
}],
|
|
1689
|
+
closeTabindex: [{
|
|
1690
|
+
type: i0.Input,
|
|
1691
|
+
args: [{
|
|
1692
|
+
isSignal: true,
|
|
1693
|
+
alias: "closeTabindex",
|
|
1694
|
+
required: false
|
|
1695
|
+
}]
|
|
1696
|
+
}],
|
|
1697
|
+
minimizeIcon: [{
|
|
1698
|
+
type: i0.Input,
|
|
1699
|
+
args: [{
|
|
1700
|
+
isSignal: true,
|
|
1701
|
+
alias: "minimizeIcon",
|
|
1702
|
+
required: false
|
|
1703
|
+
}]
|
|
1704
|
+
}],
|
|
1705
|
+
maximizeIcon: [{
|
|
1706
|
+
type: i0.Input,
|
|
1707
|
+
args: [{
|
|
1708
|
+
isSignal: true,
|
|
1709
|
+
alias: "maximizeIcon",
|
|
1710
|
+
required: false
|
|
1711
|
+
}]
|
|
1712
|
+
}],
|
|
1713
|
+
closeButtonProps: [{
|
|
1714
|
+
type: i0.Input,
|
|
1715
|
+
args: [{
|
|
1716
|
+
isSignal: true,
|
|
1717
|
+
alias: "closeButtonProps",
|
|
1718
|
+
required: false
|
|
1719
|
+
}]
|
|
1720
|
+
}],
|
|
1721
|
+
maximizeButtonProps: [{
|
|
1722
|
+
type: i0.Input,
|
|
1723
|
+
args: [{
|
|
1724
|
+
isSignal: true,
|
|
1725
|
+
alias: "maximizeButtonProps",
|
|
1726
|
+
required: false
|
|
1727
|
+
}]
|
|
1728
|
+
}],
|
|
1729
|
+
visible: [{
|
|
1730
|
+
type: i0.Input,
|
|
1731
|
+
args: [{
|
|
1732
|
+
isSignal: true,
|
|
1733
|
+
alias: "visible",
|
|
1734
|
+
required: false
|
|
1735
|
+
}]
|
|
1736
|
+
}, {
|
|
1737
|
+
type: i0.Output,
|
|
1738
|
+
args: ["visibleChange"]
|
|
1739
|
+
}],
|
|
1740
|
+
style: [{
|
|
1741
|
+
type: i0.Input,
|
|
1742
|
+
args: [{
|
|
1743
|
+
isSignal: true,
|
|
1744
|
+
alias: "style",
|
|
1745
|
+
required: false
|
|
1746
|
+
}]
|
|
1747
|
+
}],
|
|
1748
|
+
position: [{
|
|
1749
|
+
type: i0.Input,
|
|
1750
|
+
args: [{
|
|
1751
|
+
isSignal: true,
|
|
1752
|
+
alias: "position",
|
|
1753
|
+
required: false
|
|
1754
|
+
}]
|
|
1755
|
+
}],
|
|
1756
|
+
role: [{
|
|
1757
|
+
type: i0.Input,
|
|
1758
|
+
args: [{
|
|
1759
|
+
isSignal: true,
|
|
1760
|
+
alias: "role",
|
|
1761
|
+
required: false
|
|
1762
|
+
}]
|
|
1763
|
+
}],
|
|
1764
|
+
appendTo: [{
|
|
1765
|
+
type: i0.Input,
|
|
1766
|
+
args: [{
|
|
1767
|
+
isSignal: true,
|
|
1768
|
+
alias: "appendTo",
|
|
1769
|
+
required: false
|
|
1770
|
+
}]
|
|
1771
|
+
}],
|
|
1772
|
+
onShow: [{
|
|
1773
|
+
type: i0.Output,
|
|
1774
|
+
args: ["onShow"]
|
|
1775
|
+
}],
|
|
1776
|
+
onHide: [{
|
|
1777
|
+
type: i0.Output,
|
|
1778
|
+
args: ["onHide"]
|
|
1779
|
+
}],
|
|
1780
|
+
onResizeInit: [{
|
|
1781
|
+
type: i0.Output,
|
|
1782
|
+
args: ["onResizeInit"]
|
|
1783
|
+
}],
|
|
1784
|
+
onResizeEnd: [{
|
|
1785
|
+
type: i0.Output,
|
|
1786
|
+
args: ["onResizeEnd"]
|
|
1787
|
+
}],
|
|
1788
|
+
onDragEnd: [{
|
|
1789
|
+
type: i0.Output,
|
|
1790
|
+
args: ["onDragEnd"]
|
|
1791
|
+
}],
|
|
1792
|
+
onMaximize: [{
|
|
1793
|
+
type: i0.Output,
|
|
1794
|
+
args: ["onMaximize"]
|
|
1795
|
+
}],
|
|
1796
|
+
headerViewChild: [{
|
|
1797
|
+
type: i0.ViewChild,
|
|
1798
|
+
args: ["titlebar", { isSignal: true }]
|
|
1799
|
+
}],
|
|
1800
|
+
contentViewChild: [{
|
|
1801
|
+
type: i0.ViewChild,
|
|
1802
|
+
args: ["content", { isSignal: true }]
|
|
1803
|
+
}],
|
|
1804
|
+
footerViewChild: [{
|
|
1805
|
+
type: i0.ViewChild,
|
|
1806
|
+
args: ["footer", { isSignal: true }]
|
|
1807
|
+
}],
|
|
1808
|
+
headerTemplate: [{
|
|
1809
|
+
type: i0.Input,
|
|
1810
|
+
args: [{
|
|
1811
|
+
isSignal: true,
|
|
1812
|
+
alias: "content",
|
|
1813
|
+
required: false
|
|
1814
|
+
}]
|
|
1815
|
+
}],
|
|
1816
|
+
contentTemplate: [{
|
|
1817
|
+
type: i0.Input,
|
|
1818
|
+
args: [{
|
|
1819
|
+
isSignal: true,
|
|
1820
|
+
alias: "contentTemplate",
|
|
1821
|
+
required: false
|
|
1822
|
+
}]
|
|
1823
|
+
}],
|
|
1824
|
+
footerTemplate: [{
|
|
1825
|
+
type: i0.Input,
|
|
1826
|
+
args: [{
|
|
1827
|
+
isSignal: true,
|
|
1828
|
+
alias: "footerTemplate",
|
|
1829
|
+
required: false
|
|
1830
|
+
}]
|
|
1831
|
+
}],
|
|
1832
|
+
closeIconTemplate: [{
|
|
1833
|
+
type: i0.Input,
|
|
1834
|
+
args: [{
|
|
1835
|
+
isSignal: true,
|
|
1836
|
+
alias: "closeIconTemplate",
|
|
1837
|
+
required: false
|
|
1838
|
+
}]
|
|
1839
|
+
}],
|
|
1840
|
+
maximizeIconTemplate: [{
|
|
1841
|
+
type: i0.Input,
|
|
1842
|
+
args: [{
|
|
1843
|
+
isSignal: true,
|
|
1844
|
+
alias: "maximizeIconTemplate",
|
|
1845
|
+
required: false
|
|
1846
|
+
}]
|
|
1847
|
+
}],
|
|
1848
|
+
minimizeIconTemplate: [{
|
|
1849
|
+
type: i0.Input,
|
|
1850
|
+
args: [{
|
|
1851
|
+
isSignal: true,
|
|
1852
|
+
alias: "minimizeIconTemplate",
|
|
1853
|
+
required: false
|
|
1854
|
+
}]
|
|
1855
|
+
}],
|
|
1856
|
+
headlessTemplate: [{
|
|
1857
|
+
type: i0.Input,
|
|
1858
|
+
args: [{
|
|
1859
|
+
isSignal: true,
|
|
1860
|
+
alias: "headlessTemplate",
|
|
1861
|
+
required: false
|
|
1862
|
+
}]
|
|
1863
|
+
}],
|
|
1864
|
+
_headerTemplate: [{
|
|
1865
|
+
type: i0.ContentChild,
|
|
1866
|
+
args: ["header", {
|
|
1867
|
+
descendants: false,
|
|
1868
|
+
isSignal: true
|
|
1869
|
+
}]
|
|
1870
|
+
}],
|
|
1871
|
+
_contentTemplate: [{
|
|
1872
|
+
type: i0.ContentChild,
|
|
1873
|
+
args: ["content", {
|
|
1874
|
+
descendants: false,
|
|
1875
|
+
isSignal: true
|
|
1876
|
+
}]
|
|
1877
|
+
}],
|
|
1878
|
+
_footerTemplate: [{
|
|
1879
|
+
type: i0.ContentChild,
|
|
1880
|
+
args: ["footer", {
|
|
1881
|
+
descendants: false,
|
|
1882
|
+
isSignal: true
|
|
1883
|
+
}]
|
|
1884
|
+
}],
|
|
1885
|
+
_closeiconTemplate: [{
|
|
1886
|
+
type: i0.ContentChild,
|
|
1887
|
+
args: ["closeicon", {
|
|
1888
|
+
descendants: false,
|
|
1889
|
+
isSignal: true
|
|
1890
|
+
}]
|
|
1891
|
+
}],
|
|
1892
|
+
_maximizeiconTemplate: [{
|
|
1893
|
+
type: i0.ContentChild,
|
|
1894
|
+
args: ["maximizeicon", {
|
|
1895
|
+
descendants: false,
|
|
1896
|
+
isSignal: true
|
|
1897
|
+
}]
|
|
1898
|
+
}],
|
|
1899
|
+
_minimizeiconTemplate: [{
|
|
1900
|
+
type: i0.ContentChild,
|
|
1901
|
+
args: ["minimizeicon", {
|
|
1902
|
+
descendants: false,
|
|
1903
|
+
isSignal: true
|
|
1904
|
+
}]
|
|
1905
|
+
}],
|
|
1906
|
+
_headlessTemplate: [{
|
|
1907
|
+
type: i0.ContentChild,
|
|
1908
|
+
args: ["headless", {
|
|
1909
|
+
descendants: false,
|
|
1910
|
+
isSignal: true
|
|
1911
|
+
}]
|
|
1912
|
+
}],
|
|
1913
|
+
templates: [{
|
|
1914
|
+
type: i0.ContentChildren,
|
|
1915
|
+
args: [i0.forwardRef(() => HelixTemplate), { isSignal: true }]
|
|
1916
|
+
}]
|
|
1917
|
+
}
|
|
1918
|
+
});
|
|
1919
|
+
var DialogModule = class DialogModule {
|
|
1920
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1921
|
+
minVersion: "12.0.0",
|
|
1922
|
+
version: "22.2.1",
|
|
1923
|
+
ngImport: i0,
|
|
1924
|
+
type: DialogModule,
|
|
1925
|
+
deps: [],
|
|
1926
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
1927
|
+
});
|
|
1928
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
1929
|
+
minVersion: "14.0.0",
|
|
1930
|
+
version: "22.2.1",
|
|
1931
|
+
ngImport: i0,
|
|
1932
|
+
type: DialogModule,
|
|
1933
|
+
imports: [Dialog, SharedModule],
|
|
1934
|
+
exports: [Dialog, SharedModule]
|
|
1935
|
+
});
|
|
1936
|
+
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
1937
|
+
minVersion: "12.0.0",
|
|
1938
|
+
version: "22.2.1",
|
|
1939
|
+
ngImport: i0,
|
|
1940
|
+
type: DialogModule,
|
|
1941
|
+
imports: [
|
|
1942
|
+
Dialog,
|
|
1943
|
+
SharedModule,
|
|
1944
|
+
SharedModule
|
|
1945
|
+
]
|
|
1946
|
+
});
|
|
1947
|
+
};
|
|
1948
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1949
|
+
minVersion: "12.0.0",
|
|
1950
|
+
version: "22.2.1",
|
|
1951
|
+
ngImport: i0,
|
|
1952
|
+
type: DialogModule,
|
|
1953
|
+
decorators: [{
|
|
1954
|
+
type: NgModule,
|
|
1955
|
+
args: [{
|
|
1956
|
+
imports: [Dialog, SharedModule],
|
|
1957
|
+
exports: [Dialog, SharedModule]
|
|
1958
|
+
}]
|
|
1959
|
+
}]
|
|
1960
|
+
});
|
|
1157
1961
|
export { Dialog, DialogClasses, DialogModule, DialogStyle };
|
|
1158
|
-
|
|
1962
|
+
|
|
1963
|
+
//# sourceMappingURL=gravionlabs-helix-core-dialog.mjs.map
|