@gravionlabs/helix-core 22.1.2 → 22.1.4

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