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