@gravionlabs/helix-core 22.1.2 → 22.1.3
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,932 +1,858 @@
|
|
|
1
|
-
import * as i4 from
|
|
2
|
-
import { CommonModule, DOCUMENT } from
|
|
3
|
-
import * as i0 from
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { BaseComponent, PARENT_INSTANCE } from
|
|
8
|
-
import * as i3 from
|
|
9
|
-
import { Bind, BindModule } from
|
|
10
|
-
import {
|
|
11
|
-
import { Subject } from
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
1
|
+
import * as i4 from "@angular/common";
|
|
2
|
+
import { CommonModule, DOCUMENT } from "@angular/common";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { ChangeDetectionStrategy, Component, Directive, Inject, Injectable, InjectionToken, NgModule, ViewEncapsulation, createComponent, inject, viewChild } from "@angular/core";
|
|
5
|
+
import { appendChild, uuid } from "@gravionlabs/helix-core/uix/utils";
|
|
6
|
+
import { SharedModule, TranslationKeys } from "@gravionlabs/helix-core/api";
|
|
7
|
+
import { BaseComponent, PARENT_INSTANCE } from "@gravionlabs/helix-core/basecomponent";
|
|
8
|
+
import * as i3 from "@gravionlabs/helix-core/bind";
|
|
9
|
+
import { Bind, BindModule } from "@gravionlabs/helix-core/bind";
|
|
10
|
+
import { Dialog, DialogStyle } from "@gravionlabs/helix-core/dialog";
|
|
11
|
+
import { Subject } from "rxjs";
|
|
12
|
+
var DynamicDialogContent = class DynamicDialogContent {
|
|
13
|
+
viewContainerRef;
|
|
14
|
+
constructor(viewContainerRef) {
|
|
15
|
+
this.viewContainerRef = viewContainerRef;
|
|
16
|
+
}
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
18
|
+
minVersion: "12.0.0",
|
|
19
|
+
version: "22.2.1",
|
|
20
|
+
ngImport: i0,
|
|
21
|
+
type: DynamicDialogContent,
|
|
22
|
+
deps: [{ token: i0.ViewContainerRef }],
|
|
23
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
24
|
+
});
|
|
25
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
26
|
+
minVersion: "14.0.0",
|
|
27
|
+
version: "22.2.1",
|
|
28
|
+
type: DynamicDialogContent,
|
|
29
|
+
isStandalone: true,
|
|
30
|
+
selector: "[hDynamicDialogContent]",
|
|
31
|
+
ngImport: i0
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
35
|
+
minVersion: "12.0.0",
|
|
36
|
+
version: "22.2.1",
|
|
37
|
+
ngImport: i0,
|
|
38
|
+
type: DynamicDialogContent,
|
|
39
|
+
decorators: [{
|
|
40
|
+
type: Directive,
|
|
41
|
+
args: [{
|
|
42
|
+
selector: "[hDynamicDialogContent]",
|
|
43
|
+
standalone: true
|
|
44
|
+
}]
|
|
45
|
+
}],
|
|
46
|
+
ctorParameters: () => [{ type: i0.ViewContainerRef }]
|
|
47
|
+
});
|
|
48
|
+
var DynamicDialogStyle = class DynamicDialogStyle extends DialogStyle {
|
|
49
|
+
name = "dialog";
|
|
50
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
51
|
+
minVersion: "12.0.0",
|
|
52
|
+
version: "22.2.1",
|
|
53
|
+
ngImport: i0,
|
|
54
|
+
type: DynamicDialogStyle,
|
|
55
|
+
deps: null,
|
|
56
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
57
|
+
});
|
|
58
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
59
|
+
minVersion: "12.0.0",
|
|
60
|
+
version: "22.2.1",
|
|
61
|
+
ngImport: i0,
|
|
62
|
+
type: DynamicDialogStyle
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
66
|
+
minVersion: "12.0.0",
|
|
67
|
+
version: "22.2.1",
|
|
68
|
+
ngImport: i0,
|
|
69
|
+
type: DynamicDialogStyle,
|
|
70
|
+
decorators: [{ type: Injectable }]
|
|
71
|
+
});
|
|
46
72
|
var DynamicDialogClasses;
|
|
47
|
-
(function
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
* Class name of the header element
|
|
58
|
-
*/
|
|
59
|
-
DynamicDialogClasses["header"] = "h-dialog-header";
|
|
60
|
-
/**
|
|
61
|
-
* Class name of the title element
|
|
62
|
-
*/
|
|
63
|
-
DynamicDialogClasses["title"] = "h-dialog-title";
|
|
64
|
-
/**
|
|
65
|
-
* Class name of the header actions element
|
|
66
|
-
*/
|
|
67
|
-
DynamicDialogClasses["headerActions"] = "h-dialog-header-actions";
|
|
68
|
-
/**
|
|
69
|
-
* Class name of the maximize button element
|
|
70
|
-
*/
|
|
71
|
-
DynamicDialogClasses["pcMaximizeButton"] = "h-dialog-maximize-button";
|
|
72
|
-
/**
|
|
73
|
-
* Class name of the close button element
|
|
74
|
-
*/
|
|
75
|
-
DynamicDialogClasses["pcCloseButton"] = "h-dialog-close-button";
|
|
76
|
-
/**
|
|
77
|
-
* Class name of the content element
|
|
78
|
-
*/
|
|
79
|
-
DynamicDialogClasses["content"] = "h-dialog-content";
|
|
80
|
-
/**
|
|
81
|
-
* Class name of the footer element
|
|
82
|
-
*/
|
|
83
|
-
DynamicDialogClasses["footer"] = "h-dialog-footer";
|
|
73
|
+
(function(DynamicDialogClasses) {
|
|
74
|
+
DynamicDialogClasses["mask"] = "h-dialog-mask";
|
|
75
|
+
DynamicDialogClasses["root"] = "h-dialog";
|
|
76
|
+
DynamicDialogClasses["header"] = "h-dialog-header";
|
|
77
|
+
DynamicDialogClasses["title"] = "h-dialog-title";
|
|
78
|
+
DynamicDialogClasses["headerActions"] = "h-dialog-header-actions";
|
|
79
|
+
DynamicDialogClasses["pcMaximizeButton"] = "h-dialog-maximize-button";
|
|
80
|
+
DynamicDialogClasses["pcCloseButton"] = "h-dialog-close-button";
|
|
81
|
+
DynamicDialogClasses["content"] = "h-dialog-content";
|
|
82
|
+
DynamicDialogClasses["footer"] = "h-dialog-footer";
|
|
84
83
|
})(DynamicDialogClasses || (DynamicDialogClasses = {}));
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
ariaLabelledBy;
|
|
492
|
-
_style = {};
|
|
493
|
-
styleElement;
|
|
494
|
-
lastPageX;
|
|
495
|
-
lastPageY;
|
|
496
|
-
contentViewChild;
|
|
497
|
-
footerViewChild;
|
|
498
|
-
headerViewChild;
|
|
499
|
-
maskViewChild;
|
|
500
|
-
maskClickListener;
|
|
501
|
-
documentDragListener;
|
|
502
|
-
documentDragEndListener;
|
|
503
|
-
documentResizeListener;
|
|
504
|
-
documentResizeEndListener;
|
|
505
|
-
documentEscapeListener;
|
|
506
|
-
constructor(ddconfig, dialogRef) {
|
|
507
|
-
super();
|
|
508
|
-
this.ddconfig = ddconfig;
|
|
509
|
-
this.dialogRef = dialogRef;
|
|
510
|
-
}
|
|
511
|
-
onVisibleChange(visible) {
|
|
512
|
-
if (!visible) {
|
|
513
|
-
this.dialogRef.close();
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
onAfterViewInit() {
|
|
517
|
-
this.loadChildComponent(this.childComponentType);
|
|
518
|
-
this.ariaLabelledBy = this.getAriaLabelledBy();
|
|
519
|
-
this.cd.detectChanges();
|
|
520
|
-
}
|
|
521
|
-
getAriaLabelledBy() {
|
|
522
|
-
const { header, showHeader } = this.ddconfig;
|
|
523
|
-
if (header === null || showHeader === false) {
|
|
524
|
-
return null;
|
|
525
|
-
}
|
|
526
|
-
return uuid('pn_id_') + '_header';
|
|
527
|
-
}
|
|
528
|
-
loadChildComponent(componentType) {
|
|
529
|
-
let viewContainerRef = this.insertionPoint()?.viewContainerRef;
|
|
530
|
-
viewContainerRef?.clear();
|
|
531
|
-
this.componentRef = viewContainerRef?.createComponent(componentType);
|
|
532
|
-
if (this.inputValues && this.componentRef) {
|
|
533
|
-
Object.entries(this.inputValues).forEach(([key, value]) => {
|
|
534
|
-
this.componentRef.setInput(key, value);
|
|
535
|
-
});
|
|
536
|
-
}
|
|
537
|
-
this.dialogRef.onChildComponentLoaded.next(this.componentRef.instance);
|
|
538
|
-
}
|
|
539
|
-
onDialogHide(event) {
|
|
540
|
-
this.dialogRef.destroy();
|
|
541
|
-
}
|
|
542
|
-
onDialogMaximize(event) {
|
|
543
|
-
this.maximized = event.maximized;
|
|
544
|
-
this.dialogRef.maximize(event);
|
|
545
|
-
}
|
|
546
|
-
onDialogResizeInit(event) {
|
|
547
|
-
this.resizing = true;
|
|
548
|
-
this.dialogRef.resizeInit(event);
|
|
549
|
-
}
|
|
550
|
-
onDialogResizeEnd(event) {
|
|
551
|
-
this.resizing = false;
|
|
552
|
-
this.dialogRef.resizeEnd(event);
|
|
553
|
-
}
|
|
554
|
-
onDialogDragEnd(event) {
|
|
555
|
-
this.dragging = false;
|
|
556
|
-
this.dialogRef.dragEnd(event);
|
|
557
|
-
}
|
|
558
|
-
close() {
|
|
559
|
-
this.visible = false;
|
|
560
|
-
this.cd.markForCheck();
|
|
561
|
-
}
|
|
562
|
-
hide() {
|
|
563
|
-
if (this.dialogRef) {
|
|
564
|
-
this.dialogRef.close();
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
get _parent() {
|
|
568
|
-
const domElements = Array.from(this.document.getElementsByClassName('h-dialog'));
|
|
569
|
-
if (domElements.length > 1) {
|
|
570
|
-
return domElements.pop();
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
get parentContent() {
|
|
574
|
-
const domElements = Array.from(this.document.getElementsByClassName('h-dialog'));
|
|
575
|
-
if (domElements.length > 0) {
|
|
576
|
-
const contentElements = domElements[domElements.length - 1].querySelector('.h-dialog-content');
|
|
577
|
-
if (contentElements)
|
|
578
|
-
return Array.isArray(contentElements) ? contentElements[0] : contentElements;
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
container;
|
|
582
|
-
wrapper;
|
|
583
|
-
unbindGlobalListeners() {
|
|
584
|
-
this.unbindDocumentEscapeListener();
|
|
585
|
-
this.unbindDocumentResizeListeners();
|
|
586
|
-
this.unbindDocumentDragListener();
|
|
587
|
-
this.unbindDocumentDragEndListener();
|
|
588
|
-
}
|
|
589
|
-
onAnimationStart(event) {
|
|
590
|
-
if (event.toState === 'visible') {
|
|
591
|
-
// If parent dialog exists, unbind its listeners first
|
|
592
|
-
if (this._parent) {
|
|
593
|
-
this.unbindGlobalListeners();
|
|
594
|
-
}
|
|
595
|
-
if (this.ddconfig.modal) {
|
|
596
|
-
this.enableModality();
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
onAnimationEnd(event) {
|
|
601
|
-
if (event.toState === 'void') {
|
|
602
|
-
this.onContainerDestroy();
|
|
603
|
-
this.dialogRef.destroy();
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
onContainerDestroy() {
|
|
607
|
-
this.unbindGlobalListeners();
|
|
608
|
-
if (this.ddconfig.modal) {
|
|
609
|
-
this.disableModality();
|
|
610
|
-
}
|
|
611
|
-
this.container = null;
|
|
612
|
-
}
|
|
613
|
-
bindDocumentDragListener() {
|
|
614
|
-
if (!this.documentDragListener) {
|
|
615
|
-
this.documentDragListener = this.renderer.listen(this.document.defaultView, 'mousemove', (event) => {
|
|
616
|
-
this.onDrag(event);
|
|
617
|
-
});
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
bindDocumentDragEndListener() {
|
|
621
|
-
if (!this.documentDragEndListener) {
|
|
622
|
-
this.documentDragEndListener = this.renderer.listen(this.document.defaultView, 'mouseup', (event) => {
|
|
623
|
-
this.endDrag(event);
|
|
624
|
-
});
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
unbindDocumentDragEndListener() {
|
|
628
|
-
if (this.documentDragEndListener) {
|
|
629
|
-
this.documentDragEndListener();
|
|
630
|
-
this.documentDragEndListener = null;
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
unbindDocumentDragListener() {
|
|
634
|
-
if (this.documentDragListener) {
|
|
635
|
-
this.documentDragListener();
|
|
636
|
-
this.documentDragListener = null;
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
initDrag(event) {
|
|
640
|
-
// Don't initialize drag when clicking on header icons
|
|
641
|
-
if (event.target instanceof HTMLElement) {
|
|
642
|
-
const target = event.target;
|
|
643
|
-
if (target.closest('.h-dialog-header-icon') || target.closest('.h-dialog-header-icons')) {
|
|
644
|
-
return;
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
this.dragging = true;
|
|
648
|
-
this.lastPageX = event.pageX;
|
|
649
|
-
this.lastPageY = event.pageY;
|
|
650
|
-
this.dialogRef.dragStart(event);
|
|
651
|
-
this.bindDocumentDragListener();
|
|
652
|
-
this.bindDocumentDragEndListener();
|
|
653
|
-
// Handled by Dialog component
|
|
654
|
-
}
|
|
655
|
-
onDrag(event) {
|
|
656
|
-
if (this.dragging) {
|
|
657
|
-
this.lastPageX = event.pageX;
|
|
658
|
-
this.lastPageY = event.pageY;
|
|
659
|
-
if (this.ddconfig.keepInViewport && this.container) {
|
|
660
|
-
this.container.style.position = 'fixed';
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
endDrag(event) {
|
|
665
|
-
if (this.dragging) {
|
|
666
|
-
this.dragging = false;
|
|
667
|
-
this.dialogRef.dragEnd(event);
|
|
668
|
-
this.cd.detectChanges();
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
resetPosition() {
|
|
672
|
-
if (this.container) {
|
|
673
|
-
this.container.style.position = '';
|
|
674
|
-
this.container.style.left = '';
|
|
675
|
-
this.container.style.top = '';
|
|
676
|
-
this.container.style.margin = '';
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
bindDocumentResizeListeners() {
|
|
680
|
-
if (!this.documentResizeListener) {
|
|
681
|
-
this.documentResizeListener = this.renderer.listen(this.document.defaultView, 'mousemove', (event) => {
|
|
682
|
-
this.onResize(event);
|
|
683
|
-
});
|
|
684
|
-
}
|
|
685
|
-
if (!this.documentResizeEndListener) {
|
|
686
|
-
this.documentResizeEndListener = this.renderer.listen(this.document.defaultView, 'mouseup', (event) => {
|
|
687
|
-
this.resizeEnd(event);
|
|
688
|
-
});
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
unbindDocumentResizeListeners() {
|
|
692
|
-
if (this.documentResizeListener) {
|
|
693
|
-
this.documentResizeListener();
|
|
694
|
-
this.documentResizeListener = null;
|
|
695
|
-
}
|
|
696
|
-
if (this.documentResizeEndListener) {
|
|
697
|
-
this.documentResizeEndListener();
|
|
698
|
-
this.documentResizeEndListener = null;
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
initResize(event) {
|
|
702
|
-
this.resizing = true;
|
|
703
|
-
this.lastPageX = event.pageX;
|
|
704
|
-
this.lastPageY = event.pageY;
|
|
705
|
-
this.dialogRef.resizeInit(event);
|
|
706
|
-
}
|
|
707
|
-
onResize(event) {
|
|
708
|
-
if (this.resizing) {
|
|
709
|
-
this.lastPageX = event.pageX;
|
|
710
|
-
this.lastPageY = event.pageY;
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
resizeEnd(event) {
|
|
714
|
-
if (this.resizing) {
|
|
715
|
-
this.resizing = false;
|
|
716
|
-
this.dialogRef.resizeEnd(event);
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
maximize() {
|
|
720
|
-
this.maximized = !this.maximized;
|
|
721
|
-
this.dialogRef.maximize({ maximized: this.maximized });
|
|
722
|
-
}
|
|
723
|
-
enableModality() {
|
|
724
|
-
if (this.ddconfig.dismissableMask && this.wrapper) {
|
|
725
|
-
this.maskClickListener = this.renderer.listen(this.wrapper, 'mousedown', (event) => {
|
|
726
|
-
if (this.wrapper && this.wrapper.isSameNode(event.target)) {
|
|
727
|
-
this.hide();
|
|
728
|
-
}
|
|
729
|
-
});
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
disableModality() {
|
|
733
|
-
this.unbindMaskClickListener();
|
|
734
|
-
this.cd.detectChanges();
|
|
735
|
-
}
|
|
736
|
-
unbindMaskClickListener() {
|
|
737
|
-
if (this.maskClickListener) {
|
|
738
|
-
this.maskClickListener();
|
|
739
|
-
this.maskClickListener = null;
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
bindDocumentEscapeListener() {
|
|
743
|
-
if (this.ddconfig.closeOnEscape) {
|
|
744
|
-
this.documentEscapeListener = this.renderer.listen(this.document, 'keydown', (event) => {
|
|
745
|
-
if (event.key === 'Escape' && this.container) {
|
|
746
|
-
this.hide();
|
|
747
|
-
}
|
|
748
|
-
});
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
unbindDocumentEscapeListener() {
|
|
752
|
-
if (this.documentEscapeListener) {
|
|
753
|
-
this.documentEscapeListener();
|
|
754
|
-
this.documentEscapeListener = null;
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
createStyle() {
|
|
758
|
-
if (!this.styleElement && this.breakpoints) {
|
|
759
|
-
this.styleElement = this.renderer.createElement('style');
|
|
760
|
-
this.styleElement.type = 'text/css';
|
|
761
|
-
this.renderer.appendChild(this.document.head, this.styleElement);
|
|
762
|
-
let innerHTML = '';
|
|
763
|
-
for (let breakpoint in this.breakpoints) {
|
|
764
|
-
innerHTML += `
|
|
84
|
+
var DynamicDialogConfig = class {
|
|
85
|
+
data;
|
|
86
|
+
inputValues;
|
|
87
|
+
header;
|
|
88
|
+
ariaLabelledBy;
|
|
89
|
+
footer;
|
|
90
|
+
width;
|
|
91
|
+
height;
|
|
92
|
+
closeOnEscape = false;
|
|
93
|
+
focusOnShow = true;
|
|
94
|
+
focusTrap = true;
|
|
95
|
+
baseZIndex;
|
|
96
|
+
autoZIndex = false;
|
|
97
|
+
dismissableMask = false;
|
|
98
|
+
rtl = false;
|
|
99
|
+
style;
|
|
100
|
+
contentStyle;
|
|
101
|
+
styleClass;
|
|
102
|
+
transitionOptions;
|
|
103
|
+
closable = false;
|
|
104
|
+
showHeader = false;
|
|
105
|
+
modal = false;
|
|
106
|
+
maskStyleClass;
|
|
107
|
+
resizable = false;
|
|
108
|
+
draggable = false;
|
|
109
|
+
keepInViewport = false;
|
|
110
|
+
minX;
|
|
111
|
+
minY;
|
|
112
|
+
maximizable = false;
|
|
113
|
+
maximizeIcon;
|
|
114
|
+
minimizeIcon;
|
|
115
|
+
position;
|
|
116
|
+
closeAriaLabel;
|
|
117
|
+
appendTo;
|
|
118
|
+
duplicate = false;
|
|
119
|
+
breakpoints;
|
|
120
|
+
templates;
|
|
121
|
+
pt;
|
|
122
|
+
unstyled;
|
|
123
|
+
};
|
|
124
|
+
var DynamicDialogRef = class {
|
|
125
|
+
constructor() {}
|
|
126
|
+
close(result) {
|
|
127
|
+
this._onClose.next(result);
|
|
128
|
+
setTimeout(() => {
|
|
129
|
+
this._onClose.complete();
|
|
130
|
+
}, 1e3);
|
|
131
|
+
}
|
|
132
|
+
destroy() {
|
|
133
|
+
this._onDestroy.next(null);
|
|
134
|
+
}
|
|
135
|
+
dragStart(event) {
|
|
136
|
+
this._onDragStart.next(event);
|
|
137
|
+
}
|
|
138
|
+
dragEnd(event) {
|
|
139
|
+
this._onDragEnd.next(event);
|
|
140
|
+
}
|
|
141
|
+
resizeInit(event) {
|
|
142
|
+
this._onResizeInit.next(event);
|
|
143
|
+
}
|
|
144
|
+
resizeEnd(event) {
|
|
145
|
+
this._onResizeEnd.next(event);
|
|
146
|
+
}
|
|
147
|
+
maximize(value) {
|
|
148
|
+
this._onMaximize.next(value);
|
|
149
|
+
}
|
|
150
|
+
_onClose = new Subject();
|
|
151
|
+
onClose = this._onClose.asObservable();
|
|
152
|
+
_onDestroy = new Subject();
|
|
153
|
+
onDestroy = this._onDestroy.asObservable();
|
|
154
|
+
_onDragStart = new Subject();
|
|
155
|
+
onDragStart = this._onDragStart.asObservable();
|
|
156
|
+
_onDragEnd = new Subject();
|
|
157
|
+
onDragEnd = this._onDragEnd.asObservable();
|
|
158
|
+
_onResizeInit = new Subject();
|
|
159
|
+
onResizeInit = this._onResizeInit.asObservable();
|
|
160
|
+
_onResizeEnd = new Subject();
|
|
161
|
+
onResizeEnd = this._onResizeEnd.asObservable();
|
|
162
|
+
_onMaximize = new Subject();
|
|
163
|
+
onMaximize = this._onMaximize.asObservable();
|
|
164
|
+
onChildComponentLoaded = new Subject();
|
|
165
|
+
};
|
|
166
|
+
const DYNAMIC_DIALOG_INSTANCE = new InjectionToken("DYNAMIC_DIALOG_INSTANCE");
|
|
167
|
+
var DynamicDialog = class DynamicDialog extends BaseComponent {
|
|
168
|
+
ddconfig;
|
|
169
|
+
dialogRef;
|
|
170
|
+
componentName = "Dialog";
|
|
171
|
+
_componentStyle = inject(DynamicDialogStyle);
|
|
172
|
+
$pcDynamicDialog = inject(DYNAMIC_DIALOG_INSTANCE, {
|
|
173
|
+
optional: true,
|
|
174
|
+
skipSelf: true
|
|
175
|
+
}) ?? void 0;
|
|
176
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
177
|
+
onAfterViewChecked() {
|
|
178
|
+
this.bindDirectiveInstance.setAttrs(this.ptms(["host", "root"]));
|
|
179
|
+
}
|
|
180
|
+
visible = true;
|
|
181
|
+
componentRef;
|
|
182
|
+
id = uuid("pn_id_");
|
|
183
|
+
insertionPoint = viewChild(DynamicDialogContent, ...ngDevMode ? [{ debugName: "insertionPoint" }] : /* istanbul ignore next */ []);
|
|
184
|
+
dialog = viewChild(Dialog, ...ngDevMode ? [{ debugName: "dialog" }] : /* istanbul ignore next */ []);
|
|
185
|
+
childComponentType;
|
|
186
|
+
inputValues;
|
|
187
|
+
get minX() {
|
|
188
|
+
return this.ddconfig.minX ? this.ddconfig.minX : 0;
|
|
189
|
+
}
|
|
190
|
+
get minY() {
|
|
191
|
+
return this.ddconfig.minY ? this.ddconfig.minY : 0;
|
|
192
|
+
}
|
|
193
|
+
get keepInViewport() {
|
|
194
|
+
return this.ddconfig.keepInViewport;
|
|
195
|
+
}
|
|
196
|
+
get maximizable() {
|
|
197
|
+
return this.ddconfig.maximizable;
|
|
198
|
+
}
|
|
199
|
+
get maximizeIcon() {
|
|
200
|
+
return this.ddconfig.maximizeIcon;
|
|
201
|
+
}
|
|
202
|
+
get minimizeIcon() {
|
|
203
|
+
return this.ddconfig.minimizeIcon;
|
|
204
|
+
}
|
|
205
|
+
get closable() {
|
|
206
|
+
return this.ddconfig.closable;
|
|
207
|
+
}
|
|
208
|
+
get position() {
|
|
209
|
+
return this.ddconfig.position;
|
|
210
|
+
}
|
|
211
|
+
get defaultCloseAriaLabel() {
|
|
212
|
+
return this.config.getTranslation(TranslationKeys.ARIA)["close"];
|
|
213
|
+
}
|
|
214
|
+
get breakpoints() {
|
|
215
|
+
return this.ddconfig.breakpoints;
|
|
216
|
+
}
|
|
217
|
+
get footerTemplate() {
|
|
218
|
+
return this.ddconfig?.templates?.footer;
|
|
219
|
+
}
|
|
220
|
+
get headerTemplate() {
|
|
221
|
+
return this.ddconfig?.templates?.header;
|
|
222
|
+
}
|
|
223
|
+
get contentTemplate() {
|
|
224
|
+
return this.ddconfig?.templates?.content;
|
|
225
|
+
}
|
|
226
|
+
get minimizeIconTemplate() {
|
|
227
|
+
return this.ddconfig?.templates?.minimizeicon;
|
|
228
|
+
}
|
|
229
|
+
get maximizeIconTemplate() {
|
|
230
|
+
return this.ddconfig?.templates?.maximizeicon;
|
|
231
|
+
}
|
|
232
|
+
get closeIconTemplate() {
|
|
233
|
+
return this.ddconfig?.templates?.closeicon;
|
|
234
|
+
}
|
|
235
|
+
get dialogStyle() {
|
|
236
|
+
return {
|
|
237
|
+
...this.ddconfig?.style || {},
|
|
238
|
+
...this.ddconfig?.width && { width: this.ddconfig.width },
|
|
239
|
+
...this.ddconfig?.height && { height: this.ddconfig.height }
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
get header() {
|
|
243
|
+
return this.ddconfig.header;
|
|
244
|
+
}
|
|
245
|
+
get data() {
|
|
246
|
+
return this.ddconfig.data;
|
|
247
|
+
}
|
|
248
|
+
get dialogId() {
|
|
249
|
+
return this.$attrSelector;
|
|
250
|
+
}
|
|
251
|
+
get isUnstyled() {
|
|
252
|
+
return this.ddconfig.unstyled || this.$unstyled();
|
|
253
|
+
}
|
|
254
|
+
maximized;
|
|
255
|
+
dragging;
|
|
256
|
+
resizing;
|
|
257
|
+
ariaLabelledBy;
|
|
258
|
+
_style = {};
|
|
259
|
+
styleElement;
|
|
260
|
+
lastPageX;
|
|
261
|
+
lastPageY;
|
|
262
|
+
contentViewChild;
|
|
263
|
+
footerViewChild;
|
|
264
|
+
headerViewChild;
|
|
265
|
+
maskViewChild;
|
|
266
|
+
maskClickListener;
|
|
267
|
+
documentDragListener;
|
|
268
|
+
documentDragEndListener;
|
|
269
|
+
documentResizeListener;
|
|
270
|
+
documentResizeEndListener;
|
|
271
|
+
documentEscapeListener;
|
|
272
|
+
constructor(ddconfig, dialogRef) {
|
|
273
|
+
super();
|
|
274
|
+
this.ddconfig = ddconfig;
|
|
275
|
+
this.dialogRef = dialogRef;
|
|
276
|
+
}
|
|
277
|
+
onVisibleChange(visible) {
|
|
278
|
+
if (!visible) this.dialogRef.close();
|
|
279
|
+
}
|
|
280
|
+
onAfterViewInit() {
|
|
281
|
+
this.loadChildComponent(this.childComponentType);
|
|
282
|
+
this.ariaLabelledBy = this.getAriaLabelledBy();
|
|
283
|
+
this.cd.detectChanges();
|
|
284
|
+
}
|
|
285
|
+
getAriaLabelledBy() {
|
|
286
|
+
const { header, showHeader } = this.ddconfig;
|
|
287
|
+
if (header === null || showHeader === false) return null;
|
|
288
|
+
return uuid("pn_id_") + "_header";
|
|
289
|
+
}
|
|
290
|
+
loadChildComponent(componentType) {
|
|
291
|
+
let viewContainerRef = this.insertionPoint()?.viewContainerRef;
|
|
292
|
+
viewContainerRef?.clear();
|
|
293
|
+
this.componentRef = viewContainerRef?.createComponent(componentType);
|
|
294
|
+
if (this.inputValues && this.componentRef) Object.entries(this.inputValues).forEach(([key, value]) => {
|
|
295
|
+
this.componentRef.setInput(key, value);
|
|
296
|
+
});
|
|
297
|
+
this.dialogRef.onChildComponentLoaded.next(this.componentRef.instance);
|
|
298
|
+
}
|
|
299
|
+
onDialogHide(event) {
|
|
300
|
+
this.dialogRef.destroy();
|
|
301
|
+
}
|
|
302
|
+
onDialogMaximize(event) {
|
|
303
|
+
this.maximized = event.maximized;
|
|
304
|
+
this.dialogRef.maximize(event);
|
|
305
|
+
}
|
|
306
|
+
onDialogResizeInit(event) {
|
|
307
|
+
this.resizing = true;
|
|
308
|
+
this.dialogRef.resizeInit(event);
|
|
309
|
+
}
|
|
310
|
+
onDialogResizeEnd(event) {
|
|
311
|
+
this.resizing = false;
|
|
312
|
+
this.dialogRef.resizeEnd(event);
|
|
313
|
+
}
|
|
314
|
+
onDialogDragEnd(event) {
|
|
315
|
+
this.dragging = false;
|
|
316
|
+
this.dialogRef.dragEnd(event);
|
|
317
|
+
}
|
|
318
|
+
close() {
|
|
319
|
+
this.visible = false;
|
|
320
|
+
this.cd.markForCheck();
|
|
321
|
+
}
|
|
322
|
+
hide() {
|
|
323
|
+
if (this.dialogRef) this.dialogRef.close();
|
|
324
|
+
}
|
|
325
|
+
get _parent() {
|
|
326
|
+
const domElements = Array.from(this.document.getElementsByClassName("h-dialog"));
|
|
327
|
+
if (domElements.length > 1) return domElements.pop();
|
|
328
|
+
}
|
|
329
|
+
get parentContent() {
|
|
330
|
+
const domElements = Array.from(this.document.getElementsByClassName("h-dialog"));
|
|
331
|
+
if (domElements.length > 0) {
|
|
332
|
+
const contentElements = domElements[domElements.length - 1].querySelector(".h-dialog-content");
|
|
333
|
+
if (contentElements) return Array.isArray(contentElements) ? contentElements[0] : contentElements;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
container;
|
|
337
|
+
wrapper;
|
|
338
|
+
unbindGlobalListeners() {
|
|
339
|
+
this.unbindDocumentEscapeListener();
|
|
340
|
+
this.unbindDocumentResizeListeners();
|
|
341
|
+
this.unbindDocumentDragListener();
|
|
342
|
+
this.unbindDocumentDragEndListener();
|
|
343
|
+
}
|
|
344
|
+
onAnimationStart(event) {
|
|
345
|
+
if (event.toState === "visible") {
|
|
346
|
+
if (this._parent) this.unbindGlobalListeners();
|
|
347
|
+
if (this.ddconfig.modal) this.enableModality();
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
onAnimationEnd(event) {
|
|
351
|
+
if (event.toState === "void") {
|
|
352
|
+
this.onContainerDestroy();
|
|
353
|
+
this.dialogRef.destroy();
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
onContainerDestroy() {
|
|
357
|
+
this.unbindGlobalListeners();
|
|
358
|
+
if (this.ddconfig.modal) this.disableModality();
|
|
359
|
+
this.container = null;
|
|
360
|
+
}
|
|
361
|
+
bindDocumentDragListener() {
|
|
362
|
+
if (!this.documentDragListener) this.documentDragListener = this.renderer.listen(this.document.defaultView, "mousemove", (event) => {
|
|
363
|
+
this.onDrag(event);
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
bindDocumentDragEndListener() {
|
|
367
|
+
if (!this.documentDragEndListener) this.documentDragEndListener = this.renderer.listen(this.document.defaultView, "mouseup", (event) => {
|
|
368
|
+
this.endDrag(event);
|
|
369
|
+
});
|
|
370
|
+
}
|
|
371
|
+
unbindDocumentDragEndListener() {
|
|
372
|
+
if (this.documentDragEndListener) {
|
|
373
|
+
this.documentDragEndListener();
|
|
374
|
+
this.documentDragEndListener = null;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
unbindDocumentDragListener() {
|
|
378
|
+
if (this.documentDragListener) {
|
|
379
|
+
this.documentDragListener();
|
|
380
|
+
this.documentDragListener = null;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
initDrag(event) {
|
|
384
|
+
if (event.target instanceof HTMLElement) {
|
|
385
|
+
const target = event.target;
|
|
386
|
+
if (target.closest(".h-dialog-header-icon") || target.closest(".h-dialog-header-icons")) return;
|
|
387
|
+
}
|
|
388
|
+
this.dragging = true;
|
|
389
|
+
this.lastPageX = event.pageX;
|
|
390
|
+
this.lastPageY = event.pageY;
|
|
391
|
+
this.dialogRef.dragStart(event);
|
|
392
|
+
this.bindDocumentDragListener();
|
|
393
|
+
this.bindDocumentDragEndListener();
|
|
394
|
+
}
|
|
395
|
+
onDrag(event) {
|
|
396
|
+
if (this.dragging) {
|
|
397
|
+
this.lastPageX = event.pageX;
|
|
398
|
+
this.lastPageY = event.pageY;
|
|
399
|
+
if (this.ddconfig.keepInViewport && this.container) this.container.style.position = "fixed";
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
endDrag(event) {
|
|
403
|
+
if (this.dragging) {
|
|
404
|
+
this.dragging = false;
|
|
405
|
+
this.dialogRef.dragEnd(event);
|
|
406
|
+
this.cd.detectChanges();
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
resetPosition() {
|
|
410
|
+
if (this.container) {
|
|
411
|
+
this.container.style.position = "";
|
|
412
|
+
this.container.style.left = "";
|
|
413
|
+
this.container.style.top = "";
|
|
414
|
+
this.container.style.margin = "";
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
bindDocumentResizeListeners() {
|
|
418
|
+
if (!this.documentResizeListener) this.documentResizeListener = this.renderer.listen(this.document.defaultView, "mousemove", (event) => {
|
|
419
|
+
this.onResize(event);
|
|
420
|
+
});
|
|
421
|
+
if (!this.documentResizeEndListener) this.documentResizeEndListener = this.renderer.listen(this.document.defaultView, "mouseup", (event) => {
|
|
422
|
+
this.resizeEnd(event);
|
|
423
|
+
});
|
|
424
|
+
}
|
|
425
|
+
unbindDocumentResizeListeners() {
|
|
426
|
+
if (this.documentResizeListener) {
|
|
427
|
+
this.documentResizeListener();
|
|
428
|
+
this.documentResizeListener = null;
|
|
429
|
+
}
|
|
430
|
+
if (this.documentResizeEndListener) {
|
|
431
|
+
this.documentResizeEndListener();
|
|
432
|
+
this.documentResizeEndListener = null;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
initResize(event) {
|
|
436
|
+
this.resizing = true;
|
|
437
|
+
this.lastPageX = event.pageX;
|
|
438
|
+
this.lastPageY = event.pageY;
|
|
439
|
+
this.dialogRef.resizeInit(event);
|
|
440
|
+
}
|
|
441
|
+
onResize(event) {
|
|
442
|
+
if (this.resizing) {
|
|
443
|
+
this.lastPageX = event.pageX;
|
|
444
|
+
this.lastPageY = event.pageY;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
resizeEnd(event) {
|
|
448
|
+
if (this.resizing) {
|
|
449
|
+
this.resizing = false;
|
|
450
|
+
this.dialogRef.resizeEnd(event);
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
maximize() {
|
|
454
|
+
this.maximized = !this.maximized;
|
|
455
|
+
this.dialogRef.maximize({ maximized: this.maximized });
|
|
456
|
+
}
|
|
457
|
+
enableModality() {
|
|
458
|
+
if (this.ddconfig.dismissableMask && this.wrapper) this.maskClickListener = this.renderer.listen(this.wrapper, "mousedown", (event) => {
|
|
459
|
+
if (this.wrapper && this.wrapper.isSameNode(event.target)) this.hide();
|
|
460
|
+
});
|
|
461
|
+
}
|
|
462
|
+
disableModality() {
|
|
463
|
+
this.unbindMaskClickListener();
|
|
464
|
+
this.cd.detectChanges();
|
|
465
|
+
}
|
|
466
|
+
unbindMaskClickListener() {
|
|
467
|
+
if (this.maskClickListener) {
|
|
468
|
+
this.maskClickListener();
|
|
469
|
+
this.maskClickListener = null;
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
bindDocumentEscapeListener() {
|
|
473
|
+
if (this.ddconfig.closeOnEscape) this.documentEscapeListener = this.renderer.listen(this.document, "keydown", (event) => {
|
|
474
|
+
if (event.key === "Escape" && this.container) this.hide();
|
|
475
|
+
});
|
|
476
|
+
}
|
|
477
|
+
unbindDocumentEscapeListener() {
|
|
478
|
+
if (this.documentEscapeListener) {
|
|
479
|
+
this.documentEscapeListener();
|
|
480
|
+
this.documentEscapeListener = null;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
createStyle() {
|
|
484
|
+
if (!this.styleElement && this.breakpoints) {
|
|
485
|
+
this.styleElement = this.renderer.createElement("style");
|
|
486
|
+
this.styleElement.type = "text/css";
|
|
487
|
+
this.renderer.appendChild(this.document.head, this.styleElement);
|
|
488
|
+
let innerHTML = "";
|
|
489
|
+
for (let breakpoint in this.breakpoints) innerHTML += `
|
|
765
490
|
@media screen and (max-width: ${breakpoint}) {
|
|
766
491
|
.h-dialog[${this.dialogId}] {
|
|
767
492
|
width: ${this.breakpoints[breakpoint]} !important;
|
|
768
493
|
}
|
|
769
494
|
}
|
|
770
495
|
`;
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
}
|
|
791
|
-
i0.ɵɵ
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
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
|
-
|
|
496
|
+
this.renderer.setProperty(this.styleElement, "innerHTML", innerHTML);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
destroyStyle() {
|
|
500
|
+
if (this.styleElement) {
|
|
501
|
+
this.renderer.removeChild(this.document.head, this.styleElement);
|
|
502
|
+
this.styleElement = null;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
onDestroy() {
|
|
506
|
+
this.onContainerDestroy();
|
|
507
|
+
if (this.componentRef && typeof this.componentRef.destroy === "function") this.componentRef.destroy();
|
|
508
|
+
this.destroyStyle();
|
|
509
|
+
}
|
|
510
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
511
|
+
minVersion: "12.0.0",
|
|
512
|
+
version: "22.2.1",
|
|
513
|
+
ngImport: i0,
|
|
514
|
+
type: DynamicDialog,
|
|
515
|
+
deps: [{ token: DynamicDialogConfig }, { token: DynamicDialogRef }],
|
|
516
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
517
|
+
});
|
|
518
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
519
|
+
minVersion: "17.0.0",
|
|
520
|
+
version: "22.2.1",
|
|
521
|
+
type: DynamicDialog,
|
|
522
|
+
isStandalone: true,
|
|
523
|
+
selector: "h-dynamicDialog, h-dynamicdialog, h-dynamic-dialog",
|
|
524
|
+
providers: [
|
|
525
|
+
DynamicDialogStyle,
|
|
526
|
+
{
|
|
527
|
+
provide: DYNAMIC_DIALOG_INSTANCE,
|
|
528
|
+
useExisting: DynamicDialog
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
provide: PARENT_INSTANCE,
|
|
532
|
+
useExisting: DynamicDialog
|
|
533
|
+
}
|
|
534
|
+
],
|
|
535
|
+
viewQueries: [{
|
|
536
|
+
propertyName: "insertionPoint",
|
|
537
|
+
first: true,
|
|
538
|
+
predicate: DynamicDialogContent,
|
|
539
|
+
descendants: true,
|
|
540
|
+
isSignal: true
|
|
541
|
+
}, {
|
|
542
|
+
propertyName: "dialog",
|
|
543
|
+
first: true,
|
|
544
|
+
predicate: Dialog,
|
|
545
|
+
descendants: true,
|
|
546
|
+
isSignal: true
|
|
547
|
+
}],
|
|
548
|
+
usesInheritance: true,
|
|
549
|
+
hostDirectives: [{ directive: i3.Bind }],
|
|
550
|
+
ngImport: i0,
|
|
551
|
+
template: "<h-dialog\n [(visible)]=\"visible\"\n [header]=\"$safeNavigationMigration(ddconfig?.header)\"\n [draggable]=\"ddconfig?.draggable !== false\"\n [resizable]=\"ddconfig?.resizable !== false\"\n [contentStyle]=\"$safeNavigationMigration(ddconfig?.contentStyle)\"\n [modal]=\"ddconfig?.modal !== false\"\n [closeOnEscape]=\"ddconfig?.closeOnEscape !== false\"\n [dismissableMask]=\"$safeNavigationMigration(ddconfig?.dismissableMask)\"\n [rtl]=\"$safeNavigationMigration(ddconfig?.rtl)\"\n [closable]=\"closable\"\n [breakpoints]=\"breakpoints\"\n [styleClass]=\"$safeNavigationMigration(ddconfig?.styleClass)\"\n [maskStyleClass]=\"$safeNavigationMigration(ddconfig?.maskStyleClass)\"\n [showHeader]=\"ddconfig?.showHeader !== false\"\n [autoZIndex]=\"ddconfig?.autoZIndex !== false\"\n [baseZIndex]=\"ddconfig?.baseZIndex || 0\"\n [minX]=\"minX\"\n [minY]=\"minY\"\n [focusOnShow]=\"ddconfig?.focusOnShow !== false\"\n [maximizable]=\"maximizable\"\n [keepInViewport]=\"keepInViewport\"\n [focusTrap]=\"ddconfig?.focusTrap !== false\"\n [transitionOptions]=\"ddconfig?.transitionOptions || '150ms cubic-bezier(0, 0, 0.2, 1)'\"\n [closeAriaLabel]=\"ddconfig?.closeAriaLabel || defaultCloseAriaLabel\"\n [minimizeIcon]=\"minimizeIcon\"\n [maximizeIcon]=\"maximizeIcon\"\n [closeButtonProps]=\"{ severity: 'secondary', variant: 'text', rounded: true }\"\n [maximizeButtonProps]=\"{ severity: 'secondary', variant: 'text', rounded: true }\"\n [style]=\"dialogStyle\"\n [position]=\"position\"\n (onHide)=\"onDialogHide($event)\"\n (onMaximize)=\"onDialogMaximize($event)\"\n (onResizeInit)=\"onDialogResizeInit($event)\"\n (onResizeEnd)=\"onDialogResizeEnd($event)\"\n (onDragEnd)=\"onDialogDragEnd($event)\"\n (visibleChange)=\"onVisibleChange($event)\"\n [pt]=\"ddconfig.pt\"\n appendTo=\"self\"\n hostName=\"DynamicDialog\"\n [unstyled]=\"isUnstyled\"\n >\n @if (headerTemplate) {\n <ng-template #header>\n <ng-container *ngComponentOutlet=\"headerTemplate\"></ng-container>\n </ng-template>\n }\n @if (contentTemplate) {\n <ng-template #content>\n <ng-container *ngComponentOutlet=\"contentTemplate\"></ng-container>\n </ng-template>\n }\n @if (footerTemplate) {\n <ng-template #footer>\n <ng-container *ngComponentOutlet=\"footerTemplate\"></ng-container>\n </ng-template>\n }\n @if (closeIconTemplate) {\n <ng-template #closeicon>\n <ng-container *ngComponentOutlet=\"closeIconTemplate\"></ng-container>\n </ng-template>\n }\n @if (maximizeIconTemplate) {\n <ng-template #maximizeicon>\n <ng-container *ngComponentOutlet=\"maximizeIconTemplate\"></ng-container>\n </ng-template>\n }\n @if (minimizeIconTemplate) {\n <ng-template #minimizeicon>\n <ng-container *ngComponentOutlet=\"minimizeIconTemplate\"></ng-container>\n </ng-template>\n }\n\n @if (!contentTemplate) {\n <ng-template hDynamicDialogContent></ng-template>\n }\n @if (ddconfig.footer && !footerTemplate) {\n <div>{{ ddconfig.footer }}</div>\n }\n</h-dialog>\n",
|
|
552
|
+
dependencies: [
|
|
553
|
+
{
|
|
554
|
+
kind: "ngmodule",
|
|
555
|
+
type: CommonModule
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
kind: "directive",
|
|
559
|
+
type: i4.NgComponentOutlet,
|
|
560
|
+
selector: "[ngComponentOutlet]",
|
|
561
|
+
inputs: [
|
|
562
|
+
"ngComponentOutlet",
|
|
563
|
+
"ngComponentOutletInputs",
|
|
564
|
+
"ngComponentOutletInjector",
|
|
565
|
+
"ngComponentOutletEnvironmentInjector",
|
|
566
|
+
"ngComponentOutletContent",
|
|
567
|
+
"ngComponentOutletNgModule"
|
|
568
|
+
],
|
|
569
|
+
exportAs: ["ngComponentOutlet"]
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
kind: "ngmodule",
|
|
573
|
+
type: SharedModule
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
kind: "directive",
|
|
577
|
+
type: DynamicDialogContent,
|
|
578
|
+
selector: "[hDynamicDialogContent]"
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
kind: "component",
|
|
582
|
+
type: Dialog,
|
|
583
|
+
selector: "h-dialog",
|
|
584
|
+
inputs: [
|
|
585
|
+
"hostName",
|
|
586
|
+
"header",
|
|
587
|
+
"draggable",
|
|
588
|
+
"resizable",
|
|
589
|
+
"contentStyle",
|
|
590
|
+
"contentStyleClass",
|
|
591
|
+
"modal",
|
|
592
|
+
"closeOnEscape",
|
|
593
|
+
"dismissableMask",
|
|
594
|
+
"rtl",
|
|
595
|
+
"closable",
|
|
596
|
+
"breakpoints",
|
|
597
|
+
"styleClass",
|
|
598
|
+
"maskStyleClass",
|
|
599
|
+
"maskStyle",
|
|
600
|
+
"showHeader",
|
|
601
|
+
"blockScroll",
|
|
602
|
+
"autoZIndex",
|
|
603
|
+
"baseZIndex",
|
|
604
|
+
"minX",
|
|
605
|
+
"minY",
|
|
606
|
+
"focusOnShow",
|
|
607
|
+
"maximizable",
|
|
608
|
+
"keepInViewport",
|
|
609
|
+
"focusTrap",
|
|
610
|
+
"transitionOptions",
|
|
611
|
+
"maskMotionOptions",
|
|
612
|
+
"motionOptions",
|
|
613
|
+
"closeIcon",
|
|
614
|
+
"closeAriaLabel",
|
|
615
|
+
"closeTabindex",
|
|
616
|
+
"minimizeIcon",
|
|
617
|
+
"maximizeIcon",
|
|
618
|
+
"closeButtonProps",
|
|
619
|
+
"maximizeButtonProps",
|
|
620
|
+
"visible",
|
|
621
|
+
"style",
|
|
622
|
+
"position",
|
|
623
|
+
"role",
|
|
624
|
+
"appendTo",
|
|
625
|
+
"content",
|
|
626
|
+
"contentTemplate",
|
|
627
|
+
"footerTemplate",
|
|
628
|
+
"closeIconTemplate",
|
|
629
|
+
"maximizeIconTemplate",
|
|
630
|
+
"minimizeIconTemplate",
|
|
631
|
+
"headlessTemplate"
|
|
632
|
+
],
|
|
633
|
+
outputs: [
|
|
634
|
+
"visibleChange",
|
|
635
|
+
"onShow",
|
|
636
|
+
"onHide",
|
|
637
|
+
"onResizeInit",
|
|
638
|
+
"onResizeEnd",
|
|
639
|
+
"onDragEnd",
|
|
640
|
+
"onMaximize"
|
|
641
|
+
]
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
kind: "ngmodule",
|
|
645
|
+
type: BindModule
|
|
646
|
+
}
|
|
647
|
+
],
|
|
648
|
+
changeDetection: i0.ChangeDetectionStrategy.Eager,
|
|
649
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
650
|
+
});
|
|
651
|
+
};
|
|
652
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
653
|
+
minVersion: "12.0.0",
|
|
654
|
+
version: "22.2.1",
|
|
655
|
+
ngImport: i0,
|
|
656
|
+
type: DynamicDialog,
|
|
657
|
+
decorators: [{
|
|
658
|
+
type: Component,
|
|
659
|
+
args: [{
|
|
660
|
+
selector: "h-dynamicDialog, h-dynamicdialog, h-dynamic-dialog",
|
|
661
|
+
standalone: true,
|
|
662
|
+
imports: [
|
|
663
|
+
CommonModule,
|
|
664
|
+
SharedModule,
|
|
665
|
+
DynamicDialogContent,
|
|
666
|
+
Dialog,
|
|
667
|
+
BindModule
|
|
668
|
+
],
|
|
669
|
+
changeDetection: ChangeDetectionStrategy.Eager,
|
|
670
|
+
encapsulation: ViewEncapsulation.None,
|
|
671
|
+
providers: [
|
|
672
|
+
DynamicDialogStyle,
|
|
673
|
+
{
|
|
674
|
+
provide: DYNAMIC_DIALOG_INSTANCE,
|
|
675
|
+
useExisting: DynamicDialog
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
provide: PARENT_INSTANCE,
|
|
679
|
+
useExisting: DynamicDialog
|
|
680
|
+
}
|
|
681
|
+
],
|
|
682
|
+
hostDirectives: [Bind],
|
|
683
|
+
template: "<h-dialog\n [(visible)]=\"visible\"\n [header]=\"$safeNavigationMigration(ddconfig?.header)\"\n [draggable]=\"ddconfig?.draggable !== false\"\n [resizable]=\"ddconfig?.resizable !== false\"\n [contentStyle]=\"$safeNavigationMigration(ddconfig?.contentStyle)\"\n [modal]=\"ddconfig?.modal !== false\"\n [closeOnEscape]=\"ddconfig?.closeOnEscape !== false\"\n [dismissableMask]=\"$safeNavigationMigration(ddconfig?.dismissableMask)\"\n [rtl]=\"$safeNavigationMigration(ddconfig?.rtl)\"\n [closable]=\"closable\"\n [breakpoints]=\"breakpoints\"\n [styleClass]=\"$safeNavigationMigration(ddconfig?.styleClass)\"\n [maskStyleClass]=\"$safeNavigationMigration(ddconfig?.maskStyleClass)\"\n [showHeader]=\"ddconfig?.showHeader !== false\"\n [autoZIndex]=\"ddconfig?.autoZIndex !== false\"\n [baseZIndex]=\"ddconfig?.baseZIndex || 0\"\n [minX]=\"minX\"\n [minY]=\"minY\"\n [focusOnShow]=\"ddconfig?.focusOnShow !== false\"\n [maximizable]=\"maximizable\"\n [keepInViewport]=\"keepInViewport\"\n [focusTrap]=\"ddconfig?.focusTrap !== false\"\n [transitionOptions]=\"ddconfig?.transitionOptions || '150ms cubic-bezier(0, 0, 0.2, 1)'\"\n [closeAriaLabel]=\"ddconfig?.closeAriaLabel || defaultCloseAriaLabel\"\n [minimizeIcon]=\"minimizeIcon\"\n [maximizeIcon]=\"maximizeIcon\"\n [closeButtonProps]=\"{ severity: 'secondary', variant: 'text', rounded: true }\"\n [maximizeButtonProps]=\"{ severity: 'secondary', variant: 'text', rounded: true }\"\n [style]=\"dialogStyle\"\n [position]=\"position\"\n (onHide)=\"onDialogHide($event)\"\n (onMaximize)=\"onDialogMaximize($event)\"\n (onResizeInit)=\"onDialogResizeInit($event)\"\n (onResizeEnd)=\"onDialogResizeEnd($event)\"\n (onDragEnd)=\"onDialogDragEnd($event)\"\n (visibleChange)=\"onVisibleChange($event)\"\n [pt]=\"ddconfig.pt\"\n appendTo=\"self\"\n hostName=\"DynamicDialog\"\n [unstyled]=\"isUnstyled\"\n >\n @if (headerTemplate) {\n <ng-template #header>\n <ng-container *ngComponentOutlet=\"headerTemplate\"></ng-container>\n </ng-template>\n }\n @if (contentTemplate) {\n <ng-template #content>\n <ng-container *ngComponentOutlet=\"contentTemplate\"></ng-container>\n </ng-template>\n }\n @if (footerTemplate) {\n <ng-template #footer>\n <ng-container *ngComponentOutlet=\"footerTemplate\"></ng-container>\n </ng-template>\n }\n @if (closeIconTemplate) {\n <ng-template #closeicon>\n <ng-container *ngComponentOutlet=\"closeIconTemplate\"></ng-container>\n </ng-template>\n }\n @if (maximizeIconTemplate) {\n <ng-template #maximizeicon>\n <ng-container *ngComponentOutlet=\"maximizeIconTemplate\"></ng-container>\n </ng-template>\n }\n @if (minimizeIconTemplate) {\n <ng-template #minimizeicon>\n <ng-container *ngComponentOutlet=\"minimizeIconTemplate\"></ng-container>\n </ng-template>\n }\n\n @if (!contentTemplate) {\n <ng-template hDynamicDialogContent></ng-template>\n }\n @if (ddconfig.footer && !footerTemplate) {\n <div>{{ ddconfig.footer }}</div>\n }\n</h-dialog>\n"
|
|
684
|
+
}]
|
|
685
|
+
}],
|
|
686
|
+
ctorParameters: () => [{ type: DynamicDialogConfig }, { type: DynamicDialogRef }],
|
|
687
|
+
propDecorators: {
|
|
688
|
+
insertionPoint: [{
|
|
689
|
+
type: i0.ViewChild,
|
|
690
|
+
args: [i0.forwardRef(() => DynamicDialogContent), { isSignal: true }]
|
|
691
|
+
}],
|
|
692
|
+
dialog: [{
|
|
693
|
+
type: i0.ViewChild,
|
|
694
|
+
args: [i0.forwardRef(() => Dialog), { isSignal: true }]
|
|
695
|
+
}]
|
|
696
|
+
}
|
|
697
|
+
});
|
|
698
|
+
var DynamicDialogModule = class DynamicDialogModule {
|
|
699
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
700
|
+
minVersion: "12.0.0",
|
|
701
|
+
version: "22.2.1",
|
|
702
|
+
ngImport: i0,
|
|
703
|
+
type: DynamicDialogModule,
|
|
704
|
+
deps: [],
|
|
705
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
706
|
+
});
|
|
707
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
708
|
+
minVersion: "14.0.0",
|
|
709
|
+
version: "22.2.1",
|
|
710
|
+
ngImport: i0,
|
|
711
|
+
type: DynamicDialogModule,
|
|
712
|
+
imports: [DynamicDialog, SharedModule],
|
|
713
|
+
exports: [DynamicDialog, SharedModule]
|
|
714
|
+
});
|
|
715
|
+
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
716
|
+
minVersion: "12.0.0",
|
|
717
|
+
version: "22.2.1",
|
|
718
|
+
ngImport: i0,
|
|
719
|
+
type: DynamicDialogModule,
|
|
720
|
+
imports: [
|
|
721
|
+
DynamicDialog,
|
|
722
|
+
SharedModule,
|
|
723
|
+
SharedModule
|
|
724
|
+
]
|
|
725
|
+
});
|
|
726
|
+
};
|
|
727
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
728
|
+
minVersion: "12.0.0",
|
|
729
|
+
version: "22.2.1",
|
|
730
|
+
ngImport: i0,
|
|
731
|
+
type: DynamicDialogModule,
|
|
732
|
+
decorators: [{
|
|
733
|
+
type: NgModule,
|
|
734
|
+
args: [{
|
|
735
|
+
imports: [DynamicDialog, SharedModule],
|
|
736
|
+
exports: [DynamicDialog, SharedModule]
|
|
737
|
+
}]
|
|
738
|
+
}]
|
|
739
|
+
});
|
|
740
|
+
var DynamicDialogInjector = class {
|
|
741
|
+
_parentInjector;
|
|
742
|
+
_additionalTokens;
|
|
743
|
+
constructor(_parentInjector, _additionalTokens) {
|
|
744
|
+
this._parentInjector = _parentInjector;
|
|
745
|
+
this._additionalTokens = _additionalTokens;
|
|
746
|
+
}
|
|
747
|
+
get(token, notFoundValue, options) {
|
|
748
|
+
const value = this._additionalTokens.get(token);
|
|
749
|
+
if (value) return value;
|
|
750
|
+
return this._parentInjector.get(token, notFoundValue);
|
|
751
|
+
}
|
|
752
|
+
};
|
|
753
|
+
var DialogService = class DialogService {
|
|
754
|
+
appRef;
|
|
755
|
+
injector;
|
|
756
|
+
document;
|
|
757
|
+
dialogComponentRefMap = /* @__PURE__ */ new Map();
|
|
758
|
+
constructor(appRef, injector, document) {
|
|
759
|
+
this.appRef = appRef;
|
|
760
|
+
this.injector = injector;
|
|
761
|
+
this.document = document;
|
|
762
|
+
}
|
|
763
|
+
open(componentType, config) {
|
|
764
|
+
if (!this.duplicationPermission(componentType, config)) return null;
|
|
765
|
+
const dialogRef = this.appendDialogComponentToBody(config, componentType);
|
|
766
|
+
const componentRefInstance = this.dialogComponentRefMap.get(dialogRef);
|
|
767
|
+
if (componentRefInstance) {
|
|
768
|
+
componentRefInstance.instance.childComponentType = componentType;
|
|
769
|
+
componentRefInstance.instance.inputValues = config.inputValues || {};
|
|
770
|
+
}
|
|
771
|
+
return dialogRef;
|
|
772
|
+
}
|
|
773
|
+
getInstance(ref) {
|
|
774
|
+
return this.dialogComponentRefMap.get(ref)?.instance;
|
|
775
|
+
}
|
|
776
|
+
appendDialogComponentToBody(config, componentType) {
|
|
777
|
+
const map = /* @__PURE__ */ new WeakMap();
|
|
778
|
+
map.set(DynamicDialogConfig, config);
|
|
779
|
+
const dialogRef = new DynamicDialogRef();
|
|
780
|
+
map.set(DynamicDialogRef, dialogRef);
|
|
781
|
+
const sub = dialogRef.onClose.subscribe(() => {
|
|
782
|
+
this.dialogComponentRefMap.get(dialogRef)?.instance.close();
|
|
783
|
+
});
|
|
784
|
+
const destroySub = dialogRef.onDestroy.subscribe(() => {
|
|
785
|
+
this.removeDialogComponentFromBody(dialogRef);
|
|
786
|
+
destroySub.unsubscribe();
|
|
787
|
+
sub.unsubscribe();
|
|
788
|
+
});
|
|
789
|
+
const componentRef = createComponent(DynamicDialog, {
|
|
790
|
+
environmentInjector: this.appRef.injector,
|
|
791
|
+
elementInjector: new DynamicDialogInjector(this.injector, map)
|
|
792
|
+
});
|
|
793
|
+
this.appRef.attachView(componentRef.hostView);
|
|
794
|
+
const domElem = componentRef.hostView.rootNodes[0];
|
|
795
|
+
if (!config.appendTo || config.appendTo === "body") this.document.body.appendChild(domElem);
|
|
796
|
+
else appendChild(config.appendTo, domElem);
|
|
797
|
+
this.dialogComponentRefMap.set(dialogRef, componentRef);
|
|
798
|
+
return dialogRef;
|
|
799
|
+
}
|
|
800
|
+
removeDialogComponentFromBody(dialogRef) {
|
|
801
|
+
if (!dialogRef || !this.dialogComponentRefMap.has(dialogRef)) return;
|
|
802
|
+
const dialogComponentRef = this.dialogComponentRefMap.get(dialogRef);
|
|
803
|
+
if (dialogComponentRef) {
|
|
804
|
+
this.appRef.detachView(dialogComponentRef.hostView);
|
|
805
|
+
dialogComponentRef.destroy();
|
|
806
|
+
dialogComponentRef.changeDetectorRef.detectChanges();
|
|
807
|
+
}
|
|
808
|
+
this.dialogComponentRefMap.delete(dialogRef);
|
|
809
|
+
}
|
|
810
|
+
duplicationPermission(componentType, config) {
|
|
811
|
+
if (config.duplicate) return true;
|
|
812
|
+
let permission = true;
|
|
813
|
+
for (const [key, value] of this.dialogComponentRefMap) if (value.instance.childComponentType === componentType) {
|
|
814
|
+
permission = false;
|
|
815
|
+
break;
|
|
816
|
+
}
|
|
817
|
+
return permission;
|
|
818
|
+
}
|
|
819
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
820
|
+
minVersion: "12.0.0",
|
|
821
|
+
version: "22.2.1",
|
|
822
|
+
ngImport: i0,
|
|
823
|
+
type: DialogService,
|
|
824
|
+
deps: [
|
|
825
|
+
{ token: i0.ApplicationRef },
|
|
826
|
+
{ token: i0.Injector },
|
|
827
|
+
{ token: DOCUMENT }
|
|
828
|
+
],
|
|
829
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
830
|
+
});
|
|
831
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
832
|
+
minVersion: "12.0.0",
|
|
833
|
+
version: "22.2.1",
|
|
834
|
+
ngImport: i0,
|
|
835
|
+
type: DialogService
|
|
836
|
+
});
|
|
837
|
+
};
|
|
838
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
839
|
+
minVersion: "12.0.0",
|
|
840
|
+
version: "22.2.1",
|
|
841
|
+
ngImport: i0,
|
|
842
|
+
type: DialogService,
|
|
843
|
+
decorators: [{ type: Injectable }],
|
|
844
|
+
ctorParameters: () => [
|
|
845
|
+
{ type: i0.ApplicationRef },
|
|
846
|
+
{ type: i0.Injector },
|
|
847
|
+
{
|
|
848
|
+
type: Document,
|
|
849
|
+
decorators: [{
|
|
850
|
+
type: Inject,
|
|
851
|
+
args: [DOCUMENT]
|
|
852
|
+
}]
|
|
853
|
+
}
|
|
854
|
+
]
|
|
855
|
+
});
|
|
931
856
|
export { DialogService, DynamicDialog, DynamicDialogClasses, DynamicDialogConfig, DynamicDialogInjector, DynamicDialogModule, DynamicDialogRef, DynamicDialogStyle };
|
|
932
|
-
|
|
857
|
+
|
|
858
|
+
//# sourceMappingURL=gravionlabs-helix-core-dynamicdialog.mjs.map
|