@wavemaker-ai/app-ng-runtime 12.0.2-rc.647771 → 12.1.0-rc.647821

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 (473) hide show
  1. package/build-task/bundles/index.umd.js +2489 -2963
  2. package/build-task/fesm2022/index.mjs +2307 -2786
  3. package/build-task/fesm2022/index.mjs.map +1 -1
  4. package/build-task/types/index.d.ts +401 -844
  5. package/components/advanced/carousel/bundles/index.umd.js +387 -344
  6. package/components/advanced/carousel/fesm2022/index.mjs +363 -325
  7. package/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
  8. package/components/advanced/carousel/types/index.d.ts +85 -86
  9. package/components/advanced/custom/bundles/index.umd.js +298 -249
  10. package/components/advanced/custom/fesm2022/index.mjs +280 -236
  11. package/components/advanced/custom/fesm2022/index.mjs.map +1 -1
  12. package/components/advanced/custom/types/index.d.ts +49 -49
  13. package/components/advanced/login/bundles/index.umd.js +177 -127
  14. package/components/advanced/login/fesm2022/index.mjs +162 -117
  15. package/components/advanced/login/fesm2022/index.mjs.map +1 -1
  16. package/components/advanced/login/types/index.d.ts +33 -34
  17. package/components/advanced/marquee/bundles/index.umd.js +93 -63
  18. package/components/advanced/marquee/fesm2022/index.mjs +73 -48
  19. package/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
  20. package/components/advanced/marquee/types/index.d.ts +11 -12
  21. package/components/base/bundles/index.umd.js +5515 -6359
  22. package/components/base/fesm2022/index.mjs +5169 -6027
  23. package/components/base/fesm2022/index.mjs.map +1 -1
  24. package/components/base/types/index.d.ts +1198 -1154
  25. package/components/basic/anchor/bundles/index.umd.js +273 -195
  26. package/components/basic/anchor/fesm2022/index.mjs +251 -178
  27. package/components/basic/anchor/fesm2022/index.mjs.map +1 -1
  28. package/components/basic/anchor/types/index.d.ts +40 -41
  29. package/components/basic/audio/bundles/index.umd.js +124 -75
  30. package/components/basic/audio/fesm2022/index.mjs +104 -60
  31. package/components/basic/audio/fesm2022/index.mjs.map +1 -1
  32. package/components/basic/audio/types/index.d.ts +22 -23
  33. package/components/basic/html/bundles/index.umd.js +144 -113
  34. package/components/basic/html/fesm2022/index.mjs +125 -99
  35. package/components/basic/html/fesm2022/index.mjs.map +1 -1
  36. package/components/basic/html/types/index.d.ts +20 -17
  37. package/components/basic/icon/bundles/index.umd.js +144 -72
  38. package/components/basic/icon/fesm2022/index.mjs +124 -57
  39. package/components/basic/icon/fesm2022/index.mjs.map +1 -1
  40. package/components/basic/icon/types/index.d.ts +18 -19
  41. package/components/basic/iframe/bundles/index.umd.js +143 -93
  42. package/components/basic/iframe/fesm2022/index.mjs +124 -79
  43. package/components/basic/iframe/fesm2022/index.mjs.map +1 -1
  44. package/components/basic/iframe/types/index.d.ts +28 -29
  45. package/components/basic/label/bundles/index.umd.js +136 -120
  46. package/components/basic/label/fesm2022/index.mjs +118 -107
  47. package/components/basic/label/fesm2022/index.mjs.map +1 -1
  48. package/components/basic/label/types/index.d.ts +14 -15
  49. package/components/basic/picture/bundles/index.umd.js +171 -130
  50. package/components/basic/picture/fesm2022/index.mjs +152 -116
  51. package/components/basic/picture/fesm2022/index.mjs.map +1 -1
  52. package/components/basic/picture/types/index.d.ts +21 -22
  53. package/components/basic/progress/progress-bar/bundles/index.umd.js +211 -160
  54. package/components/basic/progress/progress-bar/fesm2022/index.mjs +193 -147
  55. package/components/basic/progress/progress-bar/fesm2022/index.mjs.map +1 -1
  56. package/components/basic/progress/progress-bar/types/index.d.ts +45 -41
  57. package/components/basic/progress/progress-circle/bundles/index.umd.js +294 -165
  58. package/components/basic/progress/progress-circle/fesm2022/index.mjs +274 -150
  59. package/components/basic/progress/progress-circle/fesm2022/index.mjs.map +1 -1
  60. package/components/basic/progress/progress-circle/types/index.d.ts +41 -42
  61. package/components/basic/progress/progress-utils/bundles/index.umd.js +27 -29
  62. package/components/basic/progress/progress-utils/fesm2022/index.mjs +18 -25
  63. package/components/basic/progress/progress-utils/fesm2022/index.mjs.map +1 -1
  64. package/components/basic/progress/progress-utils/types/index.d.ts +3 -5
  65. package/components/basic/rich-text-editor/bundles/index.umd.js +294 -228
  66. package/components/basic/rich-text-editor/fesm2022/index.mjs +275 -214
  67. package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  68. package/components/basic/rich-text-editor/types/index.d.ts +55 -56
  69. package/components/basic/search/bundles/index.umd.js +1129 -1090
  70. package/components/basic/search/fesm2022/index.mjs +1117 -1083
  71. package/components/basic/search/fesm2022/index.mjs.map +1 -1
  72. package/components/basic/search/types/index.d.ts +132 -130
  73. package/components/basic/spinner/bundles/index.umd.js +216 -120
  74. package/components/basic/spinner/fesm2022/index.mjs +201 -110
  75. package/components/basic/spinner/fesm2022/index.mjs.map +1 -1
  76. package/components/basic/spinner/types/index.d.ts +30 -31
  77. package/components/basic/tree/bundles/index.umd.js +756 -756
  78. package/components/basic/tree/fesm2022/index.mjs +740 -745
  79. package/components/basic/tree/fesm2022/index.mjs.map +1 -1
  80. package/components/basic/tree/types/index.d.ts +106 -97
  81. package/components/basic/video/bundles/index.umd.js +164 -108
  82. package/components/basic/video/fesm2022/index.mjs +145 -94
  83. package/components/basic/video/fesm2022/index.mjs.map +1 -1
  84. package/components/basic/video/types/index.d.ts +29 -30
  85. package/components/chart/bundles/index.umd.js +1768 -1737
  86. package/components/chart/fesm2022/index.mjs +1713 -1728
  87. package/components/chart/fesm2022/index.mjs.map +1 -1
  88. package/components/chart/types/index.d.ts +102 -104
  89. package/components/containers/accordion/bundles/index.umd.js +522 -494
  90. package/components/containers/accordion/fesm2022/index.mjs +502 -479
  91. package/components/containers/accordion/fesm2022/index.mjs.map +1 -1
  92. package/components/containers/accordion/types/index.d.ts +116 -116
  93. package/components/containers/layout-grid/bundles/index.umd.js +260 -164
  94. package/components/containers/layout-grid/fesm2022/index.mjs +231 -140
  95. package/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
  96. package/components/containers/layout-grid/types/index.d.ts +30 -27
  97. package/components/containers/linear-layout/bundles/index.umd.js +220 -178
  98. package/components/containers/linear-layout/fesm2022/index.mjs +193 -156
  99. package/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
  100. package/components/containers/linear-layout/types/index.d.ts +26 -26
  101. package/components/containers/panel/bundles/index.umd.js +343 -215
  102. package/components/containers/panel/fesm2022/index.mjs +330 -207
  103. package/components/containers/panel/fesm2022/index.mjs.map +1 -1
  104. package/components/containers/panel/types/index.d.ts +48 -49
  105. package/components/containers/tabs/bundles/index.umd.js +832 -779
  106. package/components/containers/tabs/fesm2022/index.mjs +811 -763
  107. package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  108. package/components/containers/tabs/types/index.d.ts +134 -126
  109. package/components/containers/tile/bundles/index.umd.js +93 -60
  110. package/components/containers/tile/fesm2022/index.mjs +75 -47
  111. package/components/containers/tile/fesm2022/index.mjs.map +1 -1
  112. package/components/containers/tile/types/index.d.ts +11 -12
  113. package/components/containers/wizard/bundles/index.umd.js +1096 -1078
  114. package/components/containers/wizard/fesm2022/index.mjs +1069 -1056
  115. package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
  116. package/components/containers/wizard/types/index.d.ts +258 -252
  117. package/components/data/card/bundles/index.umd.js +439 -229
  118. package/components/data/card/fesm2022/index.mjs +408 -203
  119. package/components/data/card/fesm2022/index.mjs.map +1 -1
  120. package/components/data/card/types/index.d.ts +50 -48
  121. package/components/data/form/bundles/index.umd.js +3392 -3339
  122. package/components/data/form/fesm2022/index.mjs +3350 -3304
  123. package/components/data/form/fesm2022/index.mjs.map +1 -1
  124. package/components/data/form/types/index.d.ts +561 -482
  125. package/components/data/list/bundles/index.umd.js +1523 -1601
  126. package/components/data/list/fesm2022/index.mjs +1507 -1590
  127. package/components/data/list/fesm2022/index.mjs.map +1 -1
  128. package/components/data/list/types/index.d.ts +300 -283
  129. package/components/data/live-table/bundles/index.umd.js +299 -280
  130. package/components/data/live-table/fesm2022/index.mjs +284 -270
  131. package/components/data/live-table/fesm2022/index.mjs.map +1 -1
  132. package/components/data/live-table/types/index.d.ts +42 -39
  133. package/components/data/pagination/bundles/index.umd.js +848 -881
  134. package/components/data/pagination/fesm2022/index.mjs +835 -879
  135. package/components/data/pagination/fesm2022/index.mjs.map +1 -1
  136. package/components/data/pagination/types/index.d.ts +110 -106
  137. package/components/data/table/bundles/index.umd.js +4977 -5042
  138. package/components/data/table/fesm2022/index.mjs +4937 -5007
  139. package/components/data/table/fesm2022/index.mjs.map +1 -1
  140. package/components/data/table/types/index.d.ts +770 -736
  141. package/components/dialogs/alert-dialog/bundles/index.umd.js +259 -118
  142. package/components/dialogs/alert-dialog/fesm2022/index.mjs +243 -109
  143. package/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
  144. package/components/dialogs/alert-dialog/types/index.d.ts +31 -26
  145. package/components/dialogs/confirm-dialog/bundles/index.umd.js +250 -121
  146. package/components/dialogs/confirm-dialog/fesm2022/index.mjs +236 -114
  147. package/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
  148. package/components/dialogs/confirm-dialog/types/index.d.ts +34 -29
  149. package/components/dialogs/default/bundles/index.umd.js +509 -373
  150. package/components/dialogs/default/fesm2022/index.mjs +485 -354
  151. package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  152. package/components/dialogs/default/types/index.d.ts +129 -86
  153. package/components/dialogs/design-dialog/bundles/index.umd.js +320 -142
  154. package/components/dialogs/design-dialog/fesm2022/index.mjs +305 -132
  155. package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  156. package/components/dialogs/design-dialog/types/index.d.ts +31 -20
  157. package/components/dialogs/iframe-dialog/bundles/index.umd.js +258 -111
  158. package/components/dialogs/iframe-dialog/fesm2022/index.mjs +245 -105
  159. package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
  160. package/components/dialogs/iframe-dialog/types/index.d.ts +27 -22
  161. package/components/dialogs/login-dialog/bundles/index.umd.js +139 -106
  162. package/components/dialogs/login-dialog/fesm2022/index.mjs +125 -97
  163. package/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
  164. package/components/dialogs/login-dialog/types/index.d.ts +27 -26
  165. package/components/dialogs/partial-dialog/bundles/index.umd.js +302 -149
  166. package/components/dialogs/partial-dialog/fesm2022/index.mjs +289 -143
  167. package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
  168. package/components/dialogs/partial-dialog/types/index.d.ts +37 -32
  169. package/components/input/base-form/bundles/index.umd.js +143 -139
  170. package/components/input/base-form/fesm2022/index.mjs +129 -130
  171. package/components/input/base-form/fesm2022/index.mjs.map +1 -1
  172. package/components/input/base-form/types/index.d.ts +28 -29
  173. package/components/input/base-form-custom/bundles/index.umd.js +107 -121
  174. package/components/input/base-form-custom/fesm2022/index.mjs +88 -107
  175. package/components/input/base-form-custom/fesm2022/index.mjs.map +1 -1
  176. package/components/input/base-form-custom/types/index.d.ts +23 -26
  177. package/components/input/button/bundles/index.umd.js +177 -89
  178. package/components/input/button/fesm2022/index.mjs +158 -75
  179. package/components/input/button/fesm2022/index.mjs.map +1 -1
  180. package/components/input/button/types/index.d.ts +24 -25
  181. package/components/input/button-group/bundles/index.umd.js +110 -72
  182. package/components/input/button-group/fesm2022/index.mjs +90 -57
  183. package/components/input/button-group/fesm2022/index.mjs.map +1 -1
  184. package/components/input/button-group/types/index.d.ts +13 -14
  185. package/components/input/calendar/bundles/index.umd.js +615 -647
  186. package/components/input/calendar/fesm2022/index.mjs +596 -649
  187. package/components/input/calendar/fesm2022/index.mjs.map +1 -1
  188. package/components/input/calendar/types/index.d.ts +130 -131
  189. package/components/input/caption-position/bundles/index.umd.js +175 -188
  190. package/components/input/caption-position/fesm2022/index.mjs +159 -177
  191. package/components/input/caption-position/fesm2022/index.mjs.map +1 -1
  192. package/components/input/caption-position/types/index.d.ts +31 -34
  193. package/components/input/checkbox/bundles/index.umd.js +339 -200
  194. package/components/input/checkbox/fesm2022/index.mjs +319 -185
  195. package/components/input/checkbox/fesm2022/index.mjs.map +1 -1
  196. package/components/input/checkbox/types/index.d.ts +46 -41
  197. package/components/input/checkboxset/bundles/index.umd.js +256 -170
  198. package/components/input/checkboxset/fesm2022/index.mjs +242 -161
  199. package/components/input/checkboxset/fesm2022/index.mjs.map +1 -1
  200. package/components/input/checkboxset/types/index.d.ts +26 -27
  201. package/components/input/chips/bundles/index.umd.js +721 -733
  202. package/components/input/chips/fesm2022/index.mjs +706 -723
  203. package/components/input/chips/fesm2022/index.mjs.map +1 -1
  204. package/components/input/chips/types/index.d.ts +101 -90
  205. package/components/input/color-picker/bundles/index.umd.js +312 -137
  206. package/components/input/color-picker/fesm2022/index.mjs +296 -126
  207. package/components/input/color-picker/fesm2022/index.mjs.map +1 -1
  208. package/components/input/color-picker/types/index.d.ts +35 -36
  209. package/components/input/composite/bundles/index.umd.js +127 -112
  210. package/components/input/composite/fesm2022/index.mjs +106 -96
  211. package/components/input/composite/fesm2022/index.mjs.map +1 -1
  212. package/components/input/composite/types/index.d.ts +26 -27
  213. package/components/input/currency/bundles/index.umd.js +237 -104
  214. package/components/input/currency/fesm2022/index.mjs +219 -91
  215. package/components/input/currency/fesm2022/index.mjs.map +1 -1
  216. package/components/input/currency/types/index.d.ts +30 -31
  217. package/components/input/dataset-aware-form/bundles/index.umd.js +298 -346
  218. package/components/input/dataset-aware-form/fesm2022/index.mjs +286 -339
  219. package/components/input/dataset-aware-form/fesm2022/index.mjs.map +1 -1
  220. package/components/input/dataset-aware-form/types/index.d.ts +80 -80
  221. package/components/input/epoch/base-date-time/bundles/index.umd.js +809 -1081
  222. package/components/input/epoch/base-date-time/fesm2022/index.mjs +796 -1073
  223. package/components/input/epoch/base-date-time/fesm2022/index.mjs.map +1 -1
  224. package/components/input/epoch/base-date-time/types/index.d.ts +244 -247
  225. package/components/input/epoch/date/bundles/index.umd.js +619 -513
  226. package/components/input/epoch/date/fesm2022/index.mjs +604 -503
  227. package/components/input/epoch/date/fesm2022/index.mjs.map +1 -1
  228. package/components/input/epoch/date/types/index.d.ts +63 -64
  229. package/components/input/epoch/date-time/bundles/index.umd.js +682 -511
  230. package/components/input/epoch/date-time/fesm2022/index.mjs +672 -506
  231. package/components/input/epoch/date-time/fesm2022/index.mjs.map +1 -1
  232. package/components/input/epoch/date-time/types/index.d.ts +111 -112
  233. package/components/input/epoch/date-time-picker/bundles/index.umd.js +417 -321
  234. package/components/input/epoch/date-time-picker/fesm2022/index.mjs +405 -314
  235. package/components/input/epoch/date-time-picker/fesm2022/index.mjs.map +1 -1
  236. package/components/input/epoch/date-time-picker/types/index.d.ts +135 -80
  237. package/components/input/epoch/picker/bundles/index.umd.js +201 -148
  238. package/components/input/epoch/picker/fesm2022/index.mjs +183 -135
  239. package/components/input/epoch/picker/fesm2022/index.mjs.map +1 -1
  240. package/components/input/epoch/picker/types/index.d.ts +46 -38
  241. package/components/input/epoch/time/bundles/index.umd.js +534 -392
  242. package/components/input/epoch/time/fesm2022/index.mjs +523 -386
  243. package/components/input/epoch/time/fesm2022/index.mjs.map +1 -1
  244. package/components/input/epoch/time/types/index.d.ts +107 -108
  245. package/components/input/file-upload/bundles/index.umd.js +500 -477
  246. package/components/input/file-upload/fesm2022/index.mjs +484 -466
  247. package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  248. package/components/input/file-upload/types/index.d.ts +110 -109
  249. package/components/input/number/bundles/index.umd.js +241 -101
  250. package/components/input/number/fesm2022/index.mjs +224 -89
  251. package/components/input/number/fesm2022/index.mjs.map +1 -1
  252. package/components/input/number/types/index.d.ts +28 -29
  253. package/components/input/radioset/bundles/index.umd.js +240 -156
  254. package/components/input/radioset/fesm2022/index.mjs +226 -147
  255. package/components/input/radioset/fesm2022/index.mjs.map +1 -1
  256. package/components/input/radioset/types/index.d.ts +25 -26
  257. package/components/input/rating/bundles/index.umd.js +353 -266
  258. package/components/input/rating/fesm2022/index.mjs +337 -255
  259. package/components/input/rating/fesm2022/index.mjs.map +1 -1
  260. package/components/input/rating/types/index.d.ts +52 -53
  261. package/components/input/select/bundles/index.umd.js +295 -217
  262. package/components/input/select/fesm2022/index.mjs +280 -207
  263. package/components/input/select/fesm2022/index.mjs.map +1 -1
  264. package/components/input/select/types/index.d.ts +38 -39
  265. package/components/input/slider/bundles/index.umd.js +316 -197
  266. package/components/input/slider/fesm2022/index.mjs +297 -183
  267. package/components/input/slider/fesm2022/index.mjs.map +1 -1
  268. package/components/input/slider/types/index.d.ts +43 -44
  269. package/components/input/switch/bundles/index.umd.js +257 -219
  270. package/components/input/switch/fesm2022/index.mjs +243 -210
  271. package/components/input/switch/fesm2022/index.mjs.map +1 -1
  272. package/components/input/switch/types/index.d.ts +34 -35
  273. package/components/input/text/bundles/index.umd.js +1585 -1120
  274. package/components/input/text/fesm2022/index.mjs +1542 -1082
  275. package/components/input/text/fesm2022/index.mjs.map +1 -1
  276. package/components/input/text/types/index.d.ts +313 -310
  277. package/components/input/textarea/bundles/index.umd.js +224 -100
  278. package/components/input/textarea/fesm2022/index.mjs +207 -88
  279. package/components/input/textarea/fesm2022/index.mjs.map +1 -1
  280. package/components/input/textarea/types/index.d.ts +32 -33
  281. package/components/navigation/breadcrumb/bundles/index.umd.js +205 -131
  282. package/components/navigation/breadcrumb/fesm2022/index.mjs +188 -118
  283. package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
  284. package/components/navigation/breadcrumb/types/index.d.ts +29 -28
  285. package/components/navigation/menu/bundles/index.umd.js +1461 -950
  286. package/components/navigation/menu/fesm2022/index.mjs +1416 -910
  287. package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  288. package/components/navigation/menu/types/index.d.ts +220 -193
  289. package/components/navigation/navbar/bundles/index.umd.js +172 -79
  290. package/components/navigation/navbar/fesm2022/index.mjs +155 -67
  291. package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
  292. package/components/navigation/navbar/types/index.d.ts +19 -20
  293. package/components/navigation/popover/bundles/index.umd.js +543 -519
  294. package/components/navigation/popover/fesm2022/index.mjs +524 -505
  295. package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
  296. package/components/navigation/popover/types/index.d.ts +86 -86
  297. package/components/page/default/bundles/index.umd.js +634 -451
  298. package/components/page/default/fesm2022/index.mjs +600 -422
  299. package/components/page/default/fesm2022/index.mjs.map +1 -1
  300. package/components/page/default/types/index.d.ts +123 -119
  301. package/components/page/footer/bundles/index.umd.js +91 -63
  302. package/components/page/footer/fesm2022/index.mjs +71 -48
  303. package/components/page/footer/fesm2022/index.mjs.map +1 -1
  304. package/components/page/footer/types/index.d.ts +11 -12
  305. package/components/page/header/bundles/index.umd.js +96 -59
  306. package/components/page/header/fesm2022/index.mjs +76 -44
  307. package/components/page/header/fesm2022/index.mjs.map +1 -1
  308. package/components/page/header/types/index.d.ts +12 -13
  309. package/components/page/left-panel/bundles/index.umd.js +405 -407
  310. package/components/page/left-panel/fesm2022/index.mjs +386 -393
  311. package/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  312. package/components/page/left-panel/types/index.d.ts +47 -40
  313. package/components/page/right-panel/bundles/index.umd.js +115 -78
  314. package/components/page/right-panel/fesm2022/index.mjs +96 -64
  315. package/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  316. package/components/page/right-panel/types/index.d.ts +14 -13
  317. package/components/page/top-nav/bundles/index.umd.js +91 -60
  318. package/components/page/top-nav/fesm2022/index.mjs +73 -47
  319. package/components/page/top-nav/fesm2022/index.mjs.map +1 -1
  320. package/components/page/top-nav/types/index.d.ts +11 -12
  321. package/components/prefab/bundles/index.umd.js +253 -173
  322. package/components/prefab/fesm2022/index.mjs +233 -158
  323. package/components/prefab/fesm2022/index.mjs.map +1 -1
  324. package/components/prefab/types/index.d.ts +35 -33
  325. package/core/bundles/index.umd.js +4466 -5642
  326. package/core/fesm2022/index.mjs +3997 -5202
  327. package/core/fesm2022/index.mjs.map +1 -1
  328. package/core/types/index.d.ts +1785 -1808
  329. package/http/bundles/index.umd.js +339 -413
  330. package/http/fesm2022/index.mjs +323 -402
  331. package/http/fesm2022/index.mjs.map +1 -1
  332. package/http/types/index.d.ts +107 -112
  333. package/locales/moment/am-et.js +73 -0
  334. package/locales/moment/bm.js +2 -0
  335. package/locales/moment/ca.js +1 -1
  336. package/locales/moment/de-at.js +29 -1
  337. package/locales/moment/de-ch.js +29 -1
  338. package/locales/moment/de.js +29 -1
  339. package/locales/moment/hu.js +3 -3
  340. package/locales/moment/id.js +12 -1
  341. package/locales/moment/ka.js +1 -1
  342. package/locales/moment/mk.js +0 -1
  343. package/locales/moment/nl-be.js +1 -1
  344. package/locales/moment/pl.js +1 -1
  345. package/locales/moment/ps.js +188 -0
  346. package/locales/moment/pt-br.js +14 -6
  347. package/locales/moment/sv.js +1 -1
  348. package/locales/moment/sw.js +56 -14
  349. package/locales/moment/uk.js +5 -4
  350. package/locales/moment/uz-latn.js +1 -1
  351. package/locales/moment/uz.js +1 -1
  352. package/npm-shrinkwrap.json +2 -2
  353. package/oAuth/bundles/index.umd.js +326 -483
  354. package/oAuth/fesm2022/index.mjs +267 -429
  355. package/oAuth/fesm2022/index.mjs.map +1 -1
  356. package/oAuth/types/index.d.ts +22 -26
  357. package/package-lock.json +2 -2
  358. package/package.json +1 -1
  359. package/runtime/base/bundles/index.umd.js +6380 -6093
  360. package/runtime/base/fesm2022/index.mjs +6368 -6107
  361. package/runtime/base/fesm2022/index.mjs.map +1 -1
  362. package/runtime/base/types/index.d.ts +1336 -1359
  363. package/runtime/dynamic/bundles/index.umd.js +1215 -851
  364. package/runtime/dynamic/fesm2022/index.mjs +1253 -898
  365. package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  366. package/runtime/dynamic/types/index.d.ts +140 -128
  367. package/scripts/datatable/datatable.js +20 -30
  368. package/security/bundles/index.umd.js +297 -438
  369. package/security/fesm2022/index.mjs +282 -443
  370. package/security/fesm2022/index.mjs.map +1 -1
  371. package/security/types/index.d.ts +127 -130
  372. package/swipey/bundles/index.umd.js +57 -48
  373. package/swipey/fesm2022/index.mjs +55 -50
  374. package/swipey/fesm2022/index.mjs.map +1 -1
  375. package/swipey/types/index.d.ts +19 -21
  376. package/transpiler/bundles/index.umd.js +1174 -811
  377. package/transpiler/fesm2022/index.mjs +1109 -757
  378. package/transpiler/fesm2022/index.mjs.map +1 -1
  379. package/transpiler/types/index.d.ts +32 -36
  380. package/variables/bundles/index.umd.js +2226 -3245
  381. package/variables/fesm2022/index.mjs +2117 -3237
  382. package/variables/fesm2022/index.mjs.map +1 -1
  383. package/variables/types/index.d.ts +410 -393
  384. package/build-task/.npmignore +0 -2
  385. package/components/advanced/carousel/.npmignore +0 -2
  386. package/components/advanced/custom/.npmignore +0 -2
  387. package/components/advanced/login/.npmignore +0 -2
  388. package/components/advanced/marquee/.npmignore +0 -2
  389. package/components/base/.npmignore +0 -2
  390. package/components/basic/anchor/.npmignore +0 -2
  391. package/components/basic/audio/.npmignore +0 -2
  392. package/components/basic/html/.npmignore +0 -2
  393. package/components/basic/icon/.npmignore +0 -2
  394. package/components/basic/iframe/.npmignore +0 -2
  395. package/components/basic/label/.npmignore +0 -2
  396. package/components/basic/picture/.npmignore +0 -2
  397. package/components/basic/progress/progress-bar/.npmignore +0 -2
  398. package/components/basic/progress/progress-circle/.npmignore +0 -2
  399. package/components/basic/progress/progress-utils/.npmignore +0 -2
  400. package/components/basic/rich-text-editor/.npmignore +0 -2
  401. package/components/basic/search/.npmignore +0 -2
  402. package/components/basic/spinner/.npmignore +0 -2
  403. package/components/basic/tree/.npmignore +0 -2
  404. package/components/basic/video/.npmignore +0 -2
  405. package/components/chart/.npmignore +0 -2
  406. package/components/containers/accordion/.npmignore +0 -2
  407. package/components/containers/layout-grid/.npmignore +0 -2
  408. package/components/containers/linear-layout/.npmignore +0 -2
  409. package/components/containers/panel/.npmignore +0 -2
  410. package/components/containers/tabs/.npmignore +0 -2
  411. package/components/containers/tile/.npmignore +0 -2
  412. package/components/containers/wizard/.npmignore +0 -2
  413. package/components/data/card/.npmignore +0 -2
  414. package/components/data/form/.npmignore +0 -2
  415. package/components/data/list/.npmignore +0 -2
  416. package/components/data/live-table/.npmignore +0 -2
  417. package/components/data/pagination/.npmignore +0 -2
  418. package/components/data/table/.npmignore +0 -2
  419. package/components/dialogs/alert-dialog/.npmignore +0 -2
  420. package/components/dialogs/confirm-dialog/.npmignore +0 -2
  421. package/components/dialogs/default/.npmignore +0 -2
  422. package/components/dialogs/design-dialog/.npmignore +0 -2
  423. package/components/dialogs/iframe-dialog/.npmignore +0 -2
  424. package/components/dialogs/login-dialog/.npmignore +0 -2
  425. package/components/dialogs/partial-dialog/.npmignore +0 -2
  426. package/components/input/base-form/.npmignore +0 -2
  427. package/components/input/base-form-custom/.npmignore +0 -2
  428. package/components/input/button/.npmignore +0 -2
  429. package/components/input/button-group/.npmignore +0 -2
  430. package/components/input/calendar/.npmignore +0 -2
  431. package/components/input/caption-position/.npmignore +0 -2
  432. package/components/input/checkbox/.npmignore +0 -2
  433. package/components/input/checkboxset/.npmignore +0 -2
  434. package/components/input/chips/.npmignore +0 -2
  435. package/components/input/color-picker/.npmignore +0 -2
  436. package/components/input/composite/.npmignore +0 -2
  437. package/components/input/currency/.npmignore +0 -2
  438. package/components/input/dataset-aware-form/.npmignore +0 -2
  439. package/components/input/epoch/base-date-time/.npmignore +0 -2
  440. package/components/input/epoch/date/.npmignore +0 -2
  441. package/components/input/epoch/date-time/.npmignore +0 -2
  442. package/components/input/epoch/date-time-picker/.npmignore +0 -2
  443. package/components/input/epoch/picker/.npmignore +0 -2
  444. package/components/input/epoch/time/.npmignore +0 -2
  445. package/components/input/file-upload/.npmignore +0 -2
  446. package/components/input/number/.npmignore +0 -2
  447. package/components/input/radioset/.npmignore +0 -2
  448. package/components/input/rating/.npmignore +0 -2
  449. package/components/input/select/.npmignore +0 -2
  450. package/components/input/slider/.npmignore +0 -2
  451. package/components/input/switch/.npmignore +0 -2
  452. package/components/input/text/.npmignore +0 -2
  453. package/components/input/textarea/.npmignore +0 -2
  454. package/components/navigation/breadcrumb/.npmignore +0 -2
  455. package/components/navigation/menu/.npmignore +0 -2
  456. package/components/navigation/navbar/.npmignore +0 -2
  457. package/components/navigation/popover/.npmignore +0 -2
  458. package/components/page/default/.npmignore +0 -2
  459. package/components/page/footer/.npmignore +0 -2
  460. package/components/page/header/.npmignore +0 -2
  461. package/components/page/left-panel/.npmignore +0 -2
  462. package/components/page/right-panel/.npmignore +0 -2
  463. package/components/page/top-nav/.npmignore +0 -2
  464. package/components/prefab/.npmignore +0 -2
  465. package/core/.npmignore +0 -2
  466. package/http/.npmignore +0 -2
  467. package/oAuth/.npmignore +0 -2
  468. package/runtime/base/.npmignore +0 -2
  469. package/runtime/dynamic/.npmignore +0 -2
  470. package/security/.npmignore +0 -2
  471. package/swipey/.npmignore +0 -2
  472. package/transpiler/.npmignore +0 -2
  473. package/variables/.npmignore +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/containers/wizard/src/wizard.props.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard-step/wizard-step.props.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard-step/wizard-step.component.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard.component.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard.component.html","../../../../../projects/components/widgets/containers/wizard/src/wizard-action/wizard-action.props.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard-action/wizard-action.directive.ts","../../../../../projects/components/widgets/containers/wizard/src/index.ts"],"sourcesContent":["import {PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register} from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-wizard',\n new Map(\n [\n ['actionsalignment', {value: 'right', ...PROP_STRING}],\n ['cancelable', {value: true, ...PROP_BOOLEAN}],\n ['cancelbtnlabel', {value: 'Cancel', ...PROP_STRING}],\n ['class', {value: 'classic', ...PROP_STRING}],\n ['dataset', PROP_ANY],\n ['defaultstep', {value: 'none', ...PROP_STRING}],\n ['defaultstepindex', {value: 0, ...PROP_NUMBER}],\n ['donebtnlabel', {value: 'Done', ...PROP_STRING}],\n ['enablenext', {value: false, ...PROP_BOOLEAN}],\n ['name', PROP_STRING],\n ['nextbtnlabel', {value: 'Next', ...PROP_STRING}],\n ['nodatamessage', {value: 'No Data Found', ... PROP_STRING}],\n ['previousbtnlabel', {value: 'Previous', ...PROP_STRING}],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['stepstyle', {value: 'auto', ...PROP_STRING}],\n ['type', PROP_STRING]\n ]\n )\n );\n};\n","import {PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register} from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-wizardstep',\n new Map(\n [\n ['class', PROP_STRING],\n ['content', PROP_STRING],\n ['doneiconclass', {value: 'wi wi-done', ...PROP_STRING}],\n ['doneiconurl', PROP_STRING],\n ['dynamicStepIndex', PROP_NUMBER], // internal property\n ['enableskip', {value: false, ...PROP_BOOLEAN}],\n ['iconclass', {value: 'wi wi-person', ...PROP_STRING}],\n ['iconurl', PROP_STRING],\n ['isdynamic', PROP_STRING], // internal property\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['subtitle', PROP_STRING],\n ['title', {value: 'Step Title', ...PROP_STRING}]\n ]\n )\n );\n};\n","import {\n AfterViewInit,\n Component,\n ContentChildren,\n HostBinding,\n Inject,\n Injector,\n OnDestroy,\n OnInit,\n Optional,\n Self\n} from \"@angular/core\";\nimport {\n getCurrentWidgets,\n IWidgetConfig,\n provideAsWidgetRef,\n RedrawableDirective,\n StylableComponent\n} from \"@wm/components/base\";\nimport {NgForm} from \"@angular/forms\";\nimport {registerProps} from \"./wizard-step.props\";\nimport {App, noop} from \"@wm/core\";\nimport {WizardComponent} from \"../wizard.component\";\n\nconst DEFAULT_CLS = 'app-wizard-step-content';\n\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-wizardstep',\n hostClass: DEFAULT_CLS,\n};\n\nconst enum STEP_STATUS {\n CURRENT = 1,\n DISABLED,\n COMPLETED\n}\n\n@Component({\n standalone: true,\n selector: 'form[wmWizardStep]',\n template: `<ng-content partial-container-target></ng-content>`,\n providers: [\n provideAsWidgetRef(WizardStepComponent),\n NgForm\n ],\n exportAs: 'wmWizardStep'\n})\nexport class WizardStepComponent extends StylableComponent implements OnInit, AfterViewInit, OnDestroy {\n static readonly initializeProps = registerProps();\n\n public show: boolean;\n public name: string;\n public enableskip: any;\n public disablenext: boolean;\n public disabledone: boolean;\n public disableprevious: boolean;\n public isInitialized: boolean;\n private readonly isdynamic: boolean;\n public $lazyLoad = noop;\n isDone: boolean = false;\n nextCBInProgress: boolean = false;\n prevCBInProgress: boolean = false;\n\n private status: STEP_STATUS = STEP_STATUS.DISABLED;\n private wizardComponent: WizardComponent;\n private readonly _currentWizardWidgets ={}\n\n // reference to the components which needs a redraw(eg, grid, chart) when the height of this component changes\n @ContentChildren(RedrawableDirective, {descendants: true}) reDrawableComponents;\n public isPrism: boolean = false;\n\n @HostBinding('class.active')\n get activeClass() {\n return this.isPrism && this.active;\n }\n\n @HostBinding('class.current')\n get currentClass() {\n return !this.isPrism && this.active;\n }\n \n get isCurrent() {\n return this.active;\n }\n\n /**\n * along with the wizard form , also validate the forms\n * if there are any inside the wizard\n * @returns {boolean}\n */\n public get isValid() {\n return (this.ngForm.valid || this.ngForm.disabled) && this.areEmbeddedFormsValid();\n }\n\n /**\n * get all the forms inside the wizard if any and validate\n * @returns {boolean}\n */\n private areEmbeddedFormsValid() {\n for (const form of this.getAllEmbeddedForms()) {\n if (form.widget?.ngform && !form.widget.ngform.valid) {\n return false;\n }\n }\n return true;\n }\n\n private getAllEmbeddedForms() {\n return this.$element.find('form');\n }\n\n public get enableNext() {\n return !this.disablenext;\n }\n\n public get enableDone() {\n return !this.disabledone;\n }\n\n public get enablePrev() {\n return !this.disableprevious;\n }\n\n public set active(nv: boolean) {\n const isActive = this.active;\n this.status = STEP_STATUS.CURRENT;\n if (nv && !isActive) {\n this.redrawChildren();\n }\n }\n\n public get active(): boolean {\n return this.status === STEP_STATUS.CURRENT;\n }\n\n public set done(nv: boolean) {\n if (nv) {\n this.status = STEP_STATUS.COMPLETED;\n }\n }\n\n public get done(): boolean {\n return this.status === STEP_STATUS.COMPLETED;\n }\n\n public set disabled(nv: boolean) {\n if (nv) {\n this.status = STEP_STATUS.DISABLED;\n }\n }\n\n public get disabled(): boolean {\n return this.status === STEP_STATUS.DISABLED;\n }\n\n constructor(inj: Injector, @Self() private readonly ngForm: NgForm, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_CONFIG, explicitContext);\n // If we inject directly as a param in the constructor, getting circular dependency error in unit testcases\n this.wizardComponent = this.inj.get(WizardComponent);\n this.isPrism = !!this.inj.get(App, null)?.isPrism;\n }\n\n public invokeNextCB(index: number): boolean | Promise<boolean> {\n return this.invokeEventCallback('next', {currentStep: this, stepIndex: index});\n }\n\n public invokePrevCB(index: number): boolean | Promise<boolean> {\n return this.invokeEventCallback('prev', {currentStep: this, stepIndex: index});\n }\n\n public invokeSkipCB(index: number): boolean | Promise<boolean> {\n return this.invokeEventCallback('skip', {currentStep: this, stepIndex: index});\n }\n\n // redraw all the projected components which are projected.\n private redrawChildren() {\n setTimeout(() => {\n if (this.reDrawableComponents) {\n this.reDrawableComponents.forEach(c => c.redraw());\n }\n if ((this as any).wizardComponent) {\n const stepIndex = (this as any).wizardComponent.getCurrentStepIndex();\n this.invokeEventCallback('load', { stepIndex });\n }\n }, 100);\n }\n\n public remove() {\n if (this.active) {\n this === this.wizardComponent.steps.last ? this.wizardComponent.prev() : this.wizardComponent.next();\n }\n const availablePanes = this.wizardComponent.steps.toArray();\n availablePanes.splice((this as any).wizardComponent.getStepIndexByRef(this), 1);\n this.wizardComponent.steps.reset([...availablePanes]);\n this.nativeElement.remove();\n }\n\n get currentWizardWidgets() {\n return getCurrentWidgets(this.nativeElement, this._currentWizardWidgets);\n }\n\n onPropertyChange(key: string, nv: any, ov?: any) {\n if (key === 'content') {\n setTimeout(() => this.$lazyLoad(), 100);\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n ngOnInit() {\n super.ngOnInit();\n }\n\n ngAfterViewInit() {\n super.ngAfterViewInit();\n if (this.isdynamic) {\n this.wizardComponent.registerDynamicStep(this);\n }\n }\n\n ngOnDestroy() {\n // MEMORY LEAK FIX: Clear redrawable components references\n if (this.reDrawableComponents) {\n this.reDrawableComponents.reset([]);\n }\n\n // MEMORY LEAK FIX: Clear wizard component reference\n this.wizardComponent = null;\n\n // Call parent ngOnDestroy (StylableComponent → BaseComponent)\n // This will clear the context and unregister the widget\n super.ngOnDestroy();\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {\n APPLY_STYLES_TYPE,\n Context,\n createArrayFrom,\n IWidgetConfig,\n provideAsWidgetRef,\n StylableComponent,\n styler,\n TextContentDirective,\n WmAppIconComponent\n} from \"@wm/components/base\";\nimport {\n AfterContentInit,\n AfterViewChecked,\n AfterViewInit,\n Component,\n ContentChild,\n ContentChildren,\n Inject,\n Injector,\n OnDestroy,\n OnInit,\n Optional,\n QueryList,\n Self,\n TemplateRef\n} from '@angular/core';\n\nimport {DynamicComponentRefProvider, isDefined, noop} from '@wm/core';\n\nimport {registerProps} from './wizard.props';\n\nimport {WizardStepComponent} from \"./wizard-step/wizard-step.component\";\nimport {find, findIndex, forEach, get, indexOf, isArray, isNumber, isString} from \"lodash-es\";\n\n/**\n * Header row shape for icon/tab-stepper helpers. Uses this instead of `WizardStepComponent` on\n * those parameters so TypeScript/ng-packagr does not hit a circular resolution order\n * (wizard-step imports WizardComponent).\n */\ntype WizardStepHeaderModel = {\n isDone: boolean;\n iconclass?: string;\n iconurl?: string;\n doneiconclass?: string;\n doneiconurl?: string;\n};\n\nconst DEFAULT_CLS = 'app-wizard panel clearfix';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-wizard',\n hostClass: DEFAULT_CLS\n};\n\n@Component({\n standalone: true,\n imports: [CommonModule, TextContentDirective, WmAppIconComponent],\n selector: 'div[wmWizard]',\n templateUrl: './wizard.component.html',\n providers: [\n provideAsWidgetRef(WizardComponent),\n {provide: Context, useFactory: () => { return {} }, multi: true}\n ],\n exportAs: 'wmWizard'\n})\nexport class WizardComponent extends StylableComponent implements OnInit, AfterContentInit, AfterViewInit, AfterViewChecked, OnDestroy {\n static readonly initializeProps = registerProps();\n\n @ContentChildren(WizardStepComponent) steps: QueryList<WizardStepComponent>;\n @ContentChild('wizardAction', { read: TemplateRef, descendants: false }) wizardAction: TemplateRef<any>;\n\n public message: {caption: string, type: string};\n public currentStep: WizardStepComponent;\n\n public stepClass: string;\n public class;\n public name;\n private readonly promiseResolverFn: Function;\n public actionsalignment: any;\n public cancelable: any;\n public enablenext: any;\n public wizContext: any;\n public cancelbtnlabel: any;\n public donebtnlabel: any;\n public previousbtnlabel: any;\n public nextbtnlabel: any;\n public defaultstep;\n public fieldDefs;\n public type;\n public nodatamessage;\n private readonly dynamicComponentProvider;\n private _dynamicContext;\n private dynamicStepIndex;\n public dynamicWizard;\n public defaultstepindex;\n private _isFirstLoad: boolean = true;\n public autoActivation:boolean;\n private stepsSubscription: any; // MEMORY LEAK FIX: Store subscription for cleanup\n\n get hasPrevStep(): boolean {\n return !this._isFirstStep(this.currentStep);\n }\n\n get hasNextStep(): boolean {\n return !this._isLastStep(this.currentStep);\n }\n\n get showDoneBtn(): boolean {\n if (!this.currentStep) {\n return false;\n }\n return !this.hasNextStep && this.currentStep.enableDone;\n }\n\n get enablePrev(): boolean {\n if (!this.currentStep) {\n return false;\n }\n return this.currentStep.enablePrev;\n }\n\n get enableNext(): boolean {\n if (!this.currentStep) {\n return false;\n }\n return this.enablenext ? true : (this.currentStep.enableNext && this.currentStep.isValid);\n }\n\n /**\n * Step header icons (iconclass / doneiconclass): same rules as iconstepper, plus tabstepper\n * (e.g. wizard-tabstepper, tabstepper, tabstepper_vertical). Uses class property + host className\n * so preview stays correct when the DOM is updated before the bound property.\n */\n private wizardHostClassString(): string {\n const fromProp = typeof this.class === 'string' ? this.class : '';\n const rawDom = this.nativeElement?.className;\n const fromDom =\n typeof rawDom === 'string' ? rawDom : (rawDom as { baseVal?: string })?.baseVal || '';\n return `${fromProp} ${fromDom}`.trim();\n }\n\n get showWizardStepIcons(): boolean {\n const c = this.wizardHostClassString();\n if (!c) {\n return false;\n }\n return c.includes('iconstepper') || c.includes('tabstepper');\n }\n\n /** Tab layout only (not icon stepper): omit icon column when step has no icon. */\n get isTabStepperWizard(): boolean {\n const c = this.wizardHostClassString();\n return c.includes('tabstepper') && !c.includes('iconstepper');\n }\n\n /** Default matches wm-wizardstep props; used for icon stepper when iconclass is empty. */\n stepIconClassOrDefault(step: WizardStepHeaderModel): string {\n const c = step?.iconclass || step?.iconurl;\n return typeof c === 'string' && c.trim() ? c.trim() : 'wi wi-person';\n }\n\n hasNonEmptyIconClass(step: WizardStepHeaderModel): boolean {\n const ic = step?.iconclass || step?.iconurl;\n return typeof ic === 'string' && ic.trim() !== '';\n }\n\n /**\n * Primary `app-icon` for icon/tab stepper: only when `iconclass` is set (no default glyph for icon stepper).\n * When `doneiconclass` is set, the done row is shown instead of this primary icon.\n */\n shouldShowPrimaryStepIcon(step: WizardStepHeaderModel): boolean {\n if (!step || !this.showWizardStepIcons) {\n return false;\n }\n if (!step.isDone) {\n return this.hasNonEmptyIconClass(step);\n }\n const d = step.doneiconclass;\n const hasDone = typeof d === 'string' && d.trim() !== '';\n if (hasDone) {\n return false;\n }\n return this.hasNonEmptyIconClass(step);\n }\n\n /**\n * Tab stepper: no `wizard-step-number` when the step is done but `doneiconclass` is empty.\n * Icon stepper: omit the wrapper when there is no primary icon and no done icon to show.\n * Other layouts: keep the wrapper (numbers, dots, etc.).\n */\n shouldRenderWizardStepNumberSpan(step: WizardStepHeaderModel): boolean {\n if (!this.showWizardStepIcons) {\n return true;\n }\n if (this.isTabStepperWizard) {\n if (step.isDone && !this.hasNonEmptyDoneIconClass(step)) {\n return false;\n }\n return (\n this.shouldShowPrimaryStepIcon(step) ||\n (step.isDone && this.hasNonEmptyDoneIconClass(step))\n );\n }\n if (this.wizardHostClassString().includes('iconstepper')) {\n return (\n this.shouldShowPrimaryStepIcon(step) ||\n (step.isDone && this.hasNonEmptyDoneIconClass(step))\n );\n }\n return true;\n }\n\n /** Avoid `String()` in templates (strict mode treats it as a component property). */\n hasNonEmptyDoneIconClass(step: WizardStepHeaderModel): boolean {\n const d = step?.doneiconclass || step?.doneiconurl;\n return typeof d === 'string' && d.trim() !== '';\n }\n\n get enableDone(): boolean {\n if (!this.currentStep) {\n return false;\n }\n return this.currentStep.enableDone && this.currentStep.isValid;\n }\n\n /**\n * returns current step index of the Wizard's current step\n */\n get currentStepIndex() {\n return this.getStepIndexByRef(this.currentStep);\n }\n\n /**\n * returns weather the current step is first step or not\n */\n get isFirstStep(): boolean {\n return this._isFirstStep(this.currentStep);\n }\n\n /**\n * returns weather the current step is last step or not\n */\n get isLastStep(): boolean {\n return this._isLastStep(this.currentStep);\n }\n\n constructor(inj: Injector, dynamicComponentProvider: DynamicComponentRefProvider, @Self() @Inject(Context) contexts: Array<any>, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n let resolveFn: Function = noop;\n\n super(inj, WIDGET_CONFIG, explicitContext, new Promise(res => resolveFn = res));\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.SHELL);\n\n this.promiseResolverFn = resolveFn;\n\n // initialize the message object with default values\n this.message = {\n caption: '',\n type: ''\n };\n this.wizContext = contexts[0];\n this.dynamicComponentProvider = dynamicComponentProvider;\n this.dynamicWizard = [];\n this.dynamicStepIndex = 0;\n }\n\n /**\n * This method is used to register the dynamic steps.\n * After all steps are initialzed, update the querylist manually based on index.\n * @param stepRef - refrence of the wizardstep\n */\n public registerDynamicStep(stepRef) {\n this.dynamicWizard.push(stepRef);\n const isLastStep = this.dynamicWizard.length === this.dynamicStepIndex;\n if (isLastStep) {\n for (let i = 0; i < this.dynamicWizard.length; i++) {\n const newStepRef = find(this.dynamicWizard, step => step.dynamicStepIndex === i);\n const isStepAlreadyExist = find(this.steps.toArray(), newStepRef);\n if (!isStepAlreadyExist) {\n this.steps.reset([...this.steps.toArray(), newStepRef]);\n if (newStepRef.active) {\n setTimeout(() => {\n newStepRef.select();\n }, 20);\n }\n }\n }\n }\n }\n\n /**\n * This method is to add the wizard step dynamically\n * @param wizardSteps - list of wizardsteps\n */\n public addStep(wizardSteps) {\n if (!isArray(wizardSteps)) {\n wizardSteps = [wizardSteps];\n }\n const stepNamesList = [];\n forEach(wizardSteps, (step, index) => {\n const isStepAlreadyCreated = find(this.steps.toArray(), {name: step.name});\n const isStepNameExist = indexOf(stepNamesList, step.name);\n // If user tries to add wizardstep with the same name which is already exists then do not create the step\n if (isStepAlreadyCreated || isStepNameExist > 0) {\n console.warn(`The wizard step with name ${step.name} already exists`);\n return;\n }\n\n let paramMarkup = '';\n let propsTmpl = '';\n this.dynamicStepIndex++;\n const name = step.name ? step.name : `wizardstep${this.steps.toArray().length + (index + 1)}`;\n stepNamesList.push(name);\n const partialParams = get(step, 'params');\n\n forEach(step, (value, key) => {\n if (key !== 'params') {\n propsTmpl = `${propsTmpl} ${key}=\"${value}\"`;\n }\n });\n\n forEach(partialParams, (value, key) => {\n paramMarkup = `${paramMarkup} <wm-param name=\"${key}\" value=\"${value}\"></wm-param>`;\n });\n const markup = `<wm-wizardstep dynamicStepIndex=\"${this.dynamicStepIndex - 1}\" isdynamic=\"true\" name=\"${name}\" ${propsTmpl}>\n ${paramMarkup}\n </wm-wizardstep>`;\n\n if (!this._dynamicContext) {\n this._dynamicContext = Object.create(this.viewParent);\n this._dynamicContext[this.getAttr('wmWizard')] = this;\n }\n\n this.dynamicComponentProvider.addComponent(this.getNativeElement().querySelector('.app-wizard-body'), markup, this._dynamicContext, {inj: this.inj});\n\n });\n return stepNamesList;\n }\n\n /**\n * This method is to remove the wizard step\n * @param step - index or name of the step\n */\n public removeStep(step: number | string) {\n const stepRef = isString(step) ? this.getStepRefByName(step) : isNumber(step)\n ? this.getStepRefByIndex(step) : null;\n stepRef ? stepRef.remove() : console.warn(`Could not find step with name or index '${step}' to remove`);\n }\n\n /**\n * returns next valid step. the index passed is also checked if its valid step\n * @param index\n * @returns {WizardStepComponent}\n */\n private getNextValidStepFormIndex(index: number): WizardStepComponent {\n for (let i = index; i < this.steps.length; i++) {\n const step = this.getStepRefByIndex(i);\n if (step.show) {\n return step;\n }\n }\n }\n\n /**\n * returns previous valid step. the index passed is also checked if its valid step\n * @param index\n * @returns {WizardStepComponent}\n */\n private getPreviousValidStepFormIndex(index: number): WizardStepComponent {\n for (let i = index; i >= 0; i--) {\n const step = this.getStepRefByIndex(i);\n if (step.show) {\n return step;\n }\n }\n }\n\n /**\n * returns current step index value.\n * @returns {number}\n */\n private getCurrentStepIndex(): number {\n return this.getStepIndexByRef(this.currentStep);\n }\n\n /**\n * returns stepRef when index is passed.\n * @param {number} index\n * @returns {WizardStepComponent}\n */\n private getStepRefByIndex(index: number): WizardStepComponent {\n return this.steps.toArray()[index];\n }\n\n /**\n * returns the index value of the step.\n * @param {WizardStepComponent} wizardStep\n * @returns {number}\n */\n private getStepIndexByRef(wizardStep: WizardStepComponent): number {\n return this.steps.toArray().indexOf(wizardStep);\n }\n\n /**\n * gets stepRef by searching on the name property.\n * @param {string} name\n * @returns {WizardStepComponent}\n */\n private getStepRefByName(name: string): WizardStepComponent {\n return this.steps.find(step => step.name === name);\n }\n\n /**\n * sets default step as current step if configured\n * or finds first valid step and set it as current step.\n * @param {WizardStepComponent} step\n */\n private setDefaultStep(step: WizardStepComponent) {\n // If the default step has show true then only update the currentStep\n if (step?.show) {\n this.currentStep = step;\n step.active = true;\n step.isInitialized = true;\n // Mark all previous step status COMPLETED\n let index = this.getStepIndexByRef(step) - 1;\n while (index >= 0) {\n const prevStep = this.getStepRefByIndex(index);\n prevStep.done = true;\n prevStep.isInitialized = true;\n index--;\n }\n } else {\n // set next valid step as current step\n step = this.getNextValidStepFormIndex(0);\n if (step) {\n this.setDefaultStep(step);\n }\n }\n this.addMoreText();\n }\n\n /**\n * Selects the associated step when the wizard header is clicked.\n * @param $event\n * @param {WizardStepComponent} currentStep\n */\n private onWizardHeaderClick($event: Event, currentStep: WizardStepComponent) {\n // select the step if it's status is done\n if (currentStep.done) {\n // set all the next steps status as disabled and previous steps as done\n this.steps.forEach((step, index) => {\n if (index < this.getStepIndexByRef(currentStep)) {\n step.done = true;\n step.isDone = true;\n } else {\n step.disabled = true;\n step.isDone = false;\n }\n });\n // set the selected step as current step and make it active\n this.currentStep = currentStep;\n this.currentStep.active = true;\n this.addMoreText();\n }\n }\n\n private readonly isPromise = (obj) => obj instanceof Promise || (obj !== null && typeof obj === 'object' && typeof obj.then === 'function' && typeof obj.catch === 'function');\n\n // Method to navigate to next step\n\n private handleNext(value: boolean | Promise<boolean>, currentStep, currentStepIndex) {\n if (this.isPromise(value)) {\n (value as Promise<boolean>).then(response => {\n this.currentStep.nextCBInProgress = false;\n if (response === false) {\n return;\n }\n this.extendNextFn(currentStep, currentStepIndex);\n }, err => {\n this.currentStep.nextCBInProgress = false;\n })\n } else {\n this.currentStep.nextCBInProgress = false;\n if (value === false) {\n return;\n }\n this.extendNextFn(currentStep, currentStepIndex);\n }\n }\n\n public next(eventName: string = 'next') {\n if (this.currentStep.nextCBInProgress) {\n return;\n }\n\n const currentStep = this.currentStep;\n const currentStepIndex = this.getCurrentStepIndex();\n\n // abort if onSkip method returns false\n if (eventName === 'skip') {\n this.currentStep.nextCBInProgress = true;\n const response = currentStep.invokeSkipCB(currentStepIndex);\n this.handleNext(response, currentStep, currentStepIndex);\n } else if (this.currentStep.isValid && eventName === 'next') {\n this.currentStep.nextCBInProgress = true;\n const response = currentStep.invokeNextCB(currentStepIndex);\n this.handleNext(response, currentStep, currentStepIndex);\n } else if (this.enablenext && !this.currentStep.isValid){\n Array.from((<any>this).currentStep.getAllEmbeddedForms())?.forEach((form:any) => {\n form.widget.highlightInvalidFields();\n });\n const invalidFormInputElement = this.currentStep.nativeElement?.querySelector(\"input.ng-invalid\") as HTMLInputElement;\n invalidFormInputElement?.focus();\n\n }\n }\n\n private extendNextFn(currentStep, currentStepIndex) {\n const nextStep: WizardStepComponent = this.getNextValidStepFormIndex(currentStepIndex + 1);\n // If there are any steps which has show then only change state of current step else remain same\n if (nextStep) {\n nextStep.isInitialized = true;\n currentStep.isDone = true;\n currentStep.done = true;\n nextStep.active = true;\n this.currentStep = nextStep;\n // Remove 'active' class from all wizard steps in header\n const allStepItems = this.nativeElement.querySelectorAll('li[data-stepid]');\n allStepItems.forEach((el: Element) => {\n el.classList.remove('active');\n const anchor = el.querySelector('a');\n if (anchor) {\n anchor.setAttribute('tabindex', '-1');\n }\n });\n // Add 'active' to next step header item\n const newStepLi = this.nativeElement.querySelector(`li[data-stepid=\"${nextStep.widgetId}\"]`);\n const newStepAnchor = newStepLi?.querySelector('a') as HTMLElement;\n if (newStepLi && newStepAnchor) {\n newStepLi.classList.add('active');\n newStepAnchor.setAttribute('tabindex', '0');\n newStepAnchor.focus();\n }\n this.updateStepFocus();\n }\n this.addMoreText();\n }\n // Method to navigate to previous step\n public prev() {\n if (this.currentStep.prevCBInProgress) {\n return;\n }\n\n const currentStep = this.currentStep;\n const currentStepIndex = this.getCurrentStepIndex();\n\n this.currentStep.prevCBInProgress = true;\n // abort if onPrev method returns false.\n const response = currentStep.invokePrevCB(currentStepIndex);\n if (this.isPromise(response)) {\n (response as Promise<boolean>).then( response => {\n this.currentStep.prevCBInProgress = false;\n if (response === false) {\n return;\n }\n this.extendPrevFn(currentStep, currentStepIndex);\n }, err => {\n this.currentStep.prevCBInProgress = false;\n });\n } else {\n this.currentStep.prevCBInProgress = false;\n if (response === false) {\n return;\n }\n this.extendPrevFn(currentStep, currentStepIndex);\n }\n }\n\n private extendPrevFn(currentStep, currentStepIndex){\n const prevStep: WizardStepComponent = this.getPreviousValidStepFormIndex(currentStepIndex - 1);\n\n // If there are any steps which has show then only change state of current step else remain same\n if (prevStep) {\n currentStep.isDone = false;\n currentStep.disabled = true;\n prevStep.active = true;\n this.currentStep = prevStep;\n // Remove 'active' class from all steps\n const allStepItems = this.nativeElement.querySelectorAll('li[data-stepid]');\n allStepItems.forEach((el: Element) => {\n el.classList.remove('active');\n const anchor = el.querySelector('a');\n if (anchor) {\n anchor.setAttribute('tabindex', '-1');\n }\n });\n // Apply 'active' to prev step\n const prevStepLi = this.nativeElement.querySelector(`li[data-stepid=\"${prevStep.widgetId}\"]`);\n const prevStepAnchor = prevStepLi?.querySelector('a') as HTMLElement;\n if (prevStepLi && prevStepAnchor) {\n prevStepLi.classList.add('active');\n prevStepAnchor.setAttribute('tabindex', '0');\n prevStepAnchor.focus();\n }\n this.updateStepFocus();\n }\n this.addMoreText();\n }\n\n public skip() {\n this.next('skip');\n }\n\n /**\n * Navigates to the given step based on step name or step index\n * This will work only if the step is already in done state\n * @param step\n */\n public gotoStep(step: string | number) {\n let gotoStepIndex: number;\n if (isString(step)) {\n gotoStepIndex = this.steps.toArray().map(step => step.name).indexOf(step);\n if (gotoStepIndex === -1) {\n console.error(`Could not find step '${step}'`);\n return;\n }\n } else if (isNumber(step) && step >= 0) {\n gotoStepIndex = step;\n } else {\n console.error(\"Invalid step name or index provided\");\n return;\n }\n\n const gotoStep: WizardStepComponent = this.getStepRefByIndex(gotoStepIndex);\n\n if (gotoStep?.show) {\n this.onWizardHeaderClick(event, gotoStep);\n } else {\n console.error(\"The gotoStep function cannot navigate to hidden steps\");\n }\n }\n\n // Method to invoke on-Done event on wizard\n public done() {\n this.currentStep.isDone = true;\n this.invokeEventCallback('done', {steps: this.steps.toArray()});\n }\n // Method to invoke on-Cancel event on wizard\n public cancel () {\n this.invokeEventCallback('cancel', {steps: this.steps.toArray()});\n }\n public addMoreText(){\n setTimeout(() => {\n\n\n const newWindowWidth = $(window).width();\n if(newWindowWidth < 768){\n $(\".app-wizard-step.active .subtitle-wrapper .step-title\").css({\"height\":\"auto\",\"display\":\"block\"});\n const subtitleTextLength = $(\".app-wizard-step.active .subtitle-wrapper .step-title\").height();\n $(\".read_more\").css(\"display\",\"none\");\n $(\".app-wizard-step.active .subtitle-wrapper\").removeClass(\"readmore_subtitle\");\n\n if(subtitleTextLength>44){\n $(\".app-wizard-step.active .subtitle-wrapper .step-title\").css({\"height\":\"44px\",\"display\":\"-webkit-box\"});\n $(\".app-wizard-step.active .read_more\").css(\"display\",\"block\");\n $(\".app-wizard-step.finished .read_more\").css(\"display\",\"none\");\n $(\".app-wizard-step.default .read_more\").css(\"display\",\"none\");\n $(\".app-wizard-step>a\").css(\"height\",\"100px\")\n }\n }\n });\n\n }\n public readMoreSubtitle(){\n $(\".app-wizard-step.active .subtitle-wrapper\").addClass(\"readmore_subtitle\");\n $(\".app-wizard-step.active .read_more\").css(\"display\",\"none\");\n $(document).on(\"mouseup\",function(e:any)\n {\n const container = $(\".subtitle-wrapper\");\n // if the target of the click isn't the container nor a descendant of the container\n if (!container.is(e.target) && container.has(e.target).length === 0)\n {\n $(\".app-wizard-step.active .subtitle-wrapper\").removeClass(\"readmore_subtitle\");\n $(\".app-wizard-step.active .read_more\").css(\"display\",\"block\");\n $(document).off(\"mouseup\");\n }\n });\n }\n\n private _isFirstStep(stepRef: WizardStepComponent) {\n return this.steps.first === stepRef;\n }\n\n private _isLastStep(stepRef: WizardStepComponent) {\n return this.steps.last === stepRef;\n }\n\n private onDataChange(newVal) {\n this.fieldDefs = createArrayFrom(newVal);\n }\n\n private updateStepFocus() {\n setTimeout(() => {\n const currentStepElement = this.nativeElement.querySelector(\".app-wizard-heading li.active a\") as HTMLElement;\n currentStepElement?.focus();\n });\n }\n\n // Define the property change handler. This Method will be triggered when there is a change in the widget property\n onPropertyChange(key: string, nv: any, ov?: any) {\n // Monitoring changes for properties and accordingly handling respective changes\n\n if (key === 'stepstyle') {\n this.stepClass = nv === 'justified' ? 'nav-justified' : '';\n } else if (key === 'dataset') {\n this.onDataChange(nv);\n } else if (key === 'defaultstep') {\n this.setDefaultStep(this.getStepRefByName(nv));\n } else if (key === 'actionsalignment') {\n this.nativeElement.querySelector('div.app-wizard-actions')?.classList.replace(ov, nv);\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n ngAfterContentInit() {\n super.ngAfterContentInit();\n this.promiseResolverFn();\n this.wizContext.hasNextStep = () => this.hasNextStep;\n this.wizContext.hasPreviousStep = () => this.hasPrevStep;\n this.wizContext.hasNoNextStep = () => this.showDoneBtn;\n this.wizContext.cancelable = () => this.cancelable;\n this.wizContext.skippable = () => this.currentStep?.enableskip;\n this.wizContext.next = () => this.next();\n this.wizContext.previous = () => this.prev();\n this.wizContext.done = () => this.done();\n this.wizContext.cancel = () => this.cancel();\n this.wizContext.skip = () => this.skip();\n this.wizContext.nextbtnlabel = () => this.nextbtnlabel;\n this.wizContext.previousbtnlabel = () => this.previousbtnlabel;\n this.wizContext.donebtnlabel = () => this.donebtnlabel;\n this.wizContext.cancelbtnlabel = () => this.cancelbtnlabel;\n this.wizContext.actionsalignment = () => this.actionsalignment;\n this.wizContext.disableNext = () => !this.enableNext;\n this.wizContext.disablePrevious = () => !this.enablePrev;\n this.wizContext.disableDone = () => !this.enableDone;\n\n // MEMORY LEAK FIX: Store subscription for cleanup\n this.stepsSubscription = this.steps.changes.subscribe( () => {\n if (this.steps.length > 1 && this.type === 'dynamic' && this._isFirstLoad) {\n this.setDefaultStep(this.getStepRefByIndex(this.defaultstepindex));\n this._isFirstLoad = false;\n }\n });\n }\n private isSelectableStep(stepRef: WizardStepComponent): boolean {\n return stepRef.show && !stepRef.disabled;\n }\n private getSelectableStepBeforeIndex(index: number): WizardStepComponent {\n for (let i = index - 1; i >= 0; i--) {\n const step = this.getStepRefByIndex(i);\n if (this.isSelectableStep(step)) {\n return step;\n }\n }\n if (index === 0) {\n const step = this.getStepRefByIndex(this.steps.length - 1);\n if (this.isSelectableStep(step)) {\n return step;\n }\n }\n }\n private getSelectableStepAfterIndex(index: number): WizardStepComponent {\n for (let i = index + 1; i < this.steps.length; i++) {\n const step = this.getStepRefByIndex(i);\n if (this.isSelectableStep(step)) {\n return step;\n }\n }\n if (index === this.steps.length - 1) {\n const step = this.getStepRefByIndex(0);\n if (this.isSelectableStep(step)) {\n return step;\n }\n }\n }\n\n public getWidgets(widgteName: string, index?: number) {\n let $target;\n const retVal = [];\n\n if (!widgteName) {\n return;\n }\n\n if (!isDefined(index)) {\n forEach(this.steps.toArray(), (el) => {\n $target = get(el.currentWizardWidgets, widgteName);\n if ($target) {\n retVal.push($target);\n }\n });\n\n return retVal;\n }\n index = +index || 0;\n\n $target = get(this.steps.toArray(), index);\n\n if ($target) {\n return [get($target.currentWizardWidgets, widgteName)];\n }\n }\n\n\n ngAfterViewInit() {\n super.ngAfterViewInit();\n styler(\n this.nativeElement.querySelector('.panel-body') as HTMLElement,\n this,\n APPLY_STYLES_TYPE.INNER_SHELL\n );\n setTimeout(() => { if($(window).width()<768) {\n $(\".app-wizard\").removeClass(\"vertical\");\n }\n });\n }\n ngAfterViewChecked() {\n this.nativeElement.querySelectorAll('div.app-wizard-actions').forEach(el => el?.classList.add(this.actionsalignment));\n this.nativeElement.querySelectorAll('div.app-wizard-actions-right').forEach(el => el?.classList.remove('app-container'));\n }\n public getActiveStepIndex(): number {\n return findIndex(this.steps.toArray(), {isCurrent: true});\n }\n onkeydown(event) {\n let newStep;\n switch (event.key) {\n case 'ArrowLeft':\n case 'ArrowUp':\n event.preventDefault();\n newStep = this.autoActivation ? null : this.getSelectableStepBeforeIndex(this.getSelectedStepIndex());\n break;\n\n case 'ArrowRight':\n case 'ArrowDown':\n event.preventDefault();\n newStep = this.autoActivation ? null : this.getSelectableStepAfterIndex(this.getSelectedStepIndex());\n break;\n case 'Enter':\n case ' ':\n case 'Spacebar':\n event.preventDefault();\n setTimeout(() => {\n const activeElement = this.nativeElement.querySelector('li.active');\n const stepLi = activeElement.closest('li[data-stepid]');\n const isInWizardHeader = activeElement.closest('.app-wizard-heading');\n\n if (stepLi && isInWizardHeader) {\n const stepId = stepLi.getAttribute('data-stepid');\n const stepIndex = this.steps.toArray().findIndex(step => step.widgetId === stepId);\n const currentStep = this.steps.toArray()[stepIndex];\n\n if (currentStep && currentStep !== this.currentStep) {\n this.onWizardHeaderClick(event, currentStep);\n\n // Update tabindex for accessibility\n const allStepItems = this.nativeElement.querySelectorAll('li[data-stepid]');\n allStepItems.forEach((el: Element) => {\n (el as HTMLElement).setAttribute('tabindex', '-1');\n });\n\n const stepAnchor = stepLi.querySelector('a');\n if (stepAnchor) {\n stepAnchor.setAttribute('tabindex', '0');\n stepAnchor.focus();\n }\n }\n }\n }, 0);\n break;\n default:\n return;\n }\n if (newStep) {\n this.nativeElement.querySelector('li.active')?.classList.remove('active');\n this.nativeElement.querySelector(`li[data-stepid=\"${newStep.widgetId}\"]`)?.classList.add('active');\n const stepLi = this.nativeElement.querySelector(\".app-wizard-heading li.active a\") as HTMLElement;\n const allStepItems = this.nativeElement.querySelectorAll('li[data-stepid] a');\n allStepItems.forEach((el: Element) => {\n (el as HTMLElement).setAttribute('tabindex', '-1');\n });\n (stepLi).setAttribute('tabindex', '0');\n stepLi?.focus();\n }\n }\n getSelectedStepIndex() {\n const index = this.steps.toArray().findIndex(step =>\n this.nativeElement.querySelector(`li[data-stepid=\"${step.widgetId}\"]`)?.classList.contains(\"active\"));\n return index >= 0 ? index : this.getActiveStepIndex();\n }\n\n ngOnDestroy() {\n // MEMORY LEAK FIX: Unsubscribe from steps changes\n if (this.stepsSubscription) {\n this.stepsSubscription.unsubscribe();\n this.stepsSubscription = null;\n }\n\n // MEMORY LEAK FIX: Remove jQuery event handlers\n $(document).off(\"mouseup\");\n\n // MEMORY LEAK FIX: Clear wizard context to release references to step data\n if (this.wizContext) {\n Object.keys(this.wizContext).forEach(key => {\n delete this.wizContext[key];\n });\n this.wizContext = null;\n }\n\n // MEMORY LEAK FIX: Clear dynamic context\n if (this._dynamicContext) {\n Object.keys(this._dynamicContext).forEach(key => {\n delete this._dynamicContext[key];\n });\n this._dynamicContext = null;\n }\n\n // MEMORY LEAK FIX: Clear dynamic wizard array\n if (this.dynamicWizard) {\n this.dynamicWizard = [];\n }\n\n // MEMORY LEAK FIX: Clear current step reference\n this.currentStep = null;\n\n super.ngOnDestroy();\n }\n}\n","<div class=\"app-wizard-heading\">\n <ul class=\"app-wizard-steps nav nav-pills {{stepClass}}\">\n @for (step of steps; track step; let i = $index) {\n <li class=\"app-wizard-step\" [hidden]=\"!step.show\"\n [ngClass]=\"{finished: step.done, active: step.active, default: step.disabled}\"\n (click)=\"onWizardHeaderClick($event, step)\" [attr.data-stepid]=\"step.widgetId\">\n <a href=\"javascript:void(0)\" [attr.aria-current]=\"step.active ? 'step' : null\"\n [attr.aria-disabled]=\"step.disabled\" [attr.aria-label]='step.subtitle ? \"step \" + (i + 1) + \" \" + step.title + \" \" + step.subtitle : \"step \" + (i + 1) + \" \" + step.title' [attr.title]= \"step.title\"\n [ngClass]=\"{'title-center-align':class && class.includes('classic') && !step.subtitle}\" [tabindex]=\"step.active ? '0' : '-1'\" (keydown)=\"onkeydown($event)\">\n @if (class && class.includes('classic')) {\n <span class=\"arrow\"></span>\n }\n @if (shouldRenderWizardStepNumberSpan(step)) {\n <span class=\"wizard-step-number\">\n @if (class && class.includes('number') && !step.isDone && !showWizardStepIcons) {\n <span class=\"count\">{{i+1}}</span>\n }\n @if (class && (class.includes('dottedstepper') || class.includes('text-inline') && !showWizardStepIcons) && !step.isDone) {\n <i class=\"dottedstepper\"></i>\n }\n @if (class && (class.includes('dottedstepper') || class.includes('number')) && step.isDone) {\n <i class=\"app-icon wi wi-done\"></i>\n }\n @if (shouldShowPrimaryStepIcon(step)) {\n <wm-app-icon [iconclass]=\"stepIconClassOrDefault(step)\" [iconurl]=\"step.iconurl\"></wm-app-icon>\n }\n @if (showWizardStepIcons && step.isDone && hasNonEmptyDoneIconClass(step)) {\n <wm-app-icon [iconclass]=\"step.doneiconclass\" [iconurl]=\"step.doneiconurl\"></wm-app-icon>\n }\n </span>\n }\n <span class=\"title-wrapper\">\n @if (class && class.includes('text-inline')) {\n <span>{{'0' + (i+1)}}</span>\n }\n <span class=\"step-title\" [textContent]=\"step.title\"></span>\n </span>\n @if (step.subtitle) {\n <span class=\"subtitle-wrapper\" [attr.title]=\"step.subtitle\">\n <span class=\"step-title\" [textContent]=\"step.subtitle\"></span>\n <a class=\"read_more\" (click)=\"readMoreSubtitle()\" style=\"display:none\">more</a>\n </span>\n }\n </a>\n </li>\n }\n </ul>\n</div>\n@if (type !== 'dynamic') {\n<div class=\"app-wizard-body panel-body\">\n @if (message.caption) {\n <p wmMessage caption.bind=\"message.caption\" type.bind=\"message.type\"></p>\n }\n <ng-content ngProjectAs=\"form[wmWizardStep]\"></ng-content>\n</div>\n}\n@if (type === 'dynamic') {\n<div class=\"app-wizard-body panel-body\">\n @if(!fieldDefs?.length) {\n <div>{{nodatamessage}}</div>\n }\n <ng-content select=\"div[wmRepeatTemplate]\"></ng-content>\n</div>\n}\n@if(fieldDefs && fieldDefs.length || type !== 'dynamic') {\n <ng-container *ngTemplateOutlet=\"wizardAction\"></ng-container>\n}\n","import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-wizardaction',\n new Map([\n ['class', PROP_STRING],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}]\n ])\n );\n};\n","import {Directive, Inject, Injector, Optional} from '@angular/core';\nimport { BaseComponent, IWidgetConfig, provideAsWidgetRef } from '@wm/components/base';\nimport {registerProps} from \"./wizard-action.props\";\n\nconst WIDGET_INFO: IWidgetConfig = {\n widgetType: 'wm-wizardaction',\n hostClass: 'app-wizard-actions panel-footer '\n};\n\n@Directive({\n standalone: true,\n selector: 'div[wmWizardAction]',\n providers: [\n provideAsWidgetRef(WizardActionDirective)\n ],\n exportAs: 'wmWizardAction',\n})\nexport class WizardActionDirective extends BaseComponent {\n static readonly initializeProps = registerProps();\n\n constructor(inj: Injector, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_INFO, explicitContext);\n }\n}\n\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,EAAA;AACnF,QAAA,KAAK,CAAC,GAAG,EAAE,WAAW,EAAE,eAAe,CAAC;IAC5C;AALS,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,0CAGK,kBAAkB,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAH5C,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,SAAA,EALnB;YACP,kBAAkB,CAAC,qBAAqB;AAC3C,SAAA,EAAA,QAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAGQ,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBARjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AACd,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,oBAAA,SAAS,EAAE;AACP,wBAAA,kBAAkB,CAAA,qBAAA;AACrB,qBAAA;AACD,oBAAA,QAAQ,EAAE,gBAAgB;AAC7B,iBAAA;;0BAI+B,MAAM;2BAAC,kBAAkB;;0BAAG;;;ACpB5D;;AAEG;;;;"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../../../../projects/components/widgets/containers/wizard/src/wizard.props.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard-step/wizard-step.props.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard-step/wizard-step.component.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard.component.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard.component.html","../../../../../projects/components/widgets/containers/wizard/src/wizard-action/wizard-action.props.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard-action/wizard-action.directive.ts"],"sourcesContent":["import {PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register} from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-wizard',\n new Map(\n [\n ['actionsalignment', {value: 'right', ...PROP_STRING}],\n ['cancelable', {value: true, ...PROP_BOOLEAN}],\n ['cancelbtnlabel', {value: 'Cancel', ...PROP_STRING}],\n ['class', {value: 'classic', ...PROP_STRING}],\n ['dataset', PROP_ANY],\n ['defaultstep', {value: 'none', ...PROP_STRING}],\n ['defaultstepindex', {value: 0, ...PROP_NUMBER}],\n ['donebtnlabel', {value: 'Done', ...PROP_STRING}],\n ['enablenext', {value: false, ...PROP_BOOLEAN}],\n ['name', PROP_STRING],\n ['nextbtnlabel', {value: 'Next', ...PROP_STRING}],\n ['nodatamessage', {value: 'No Data Found', ... PROP_STRING}],\n ['previousbtnlabel', {value: 'Previous', ...PROP_STRING}],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['stepstyle', {value: 'auto', ...PROP_STRING}],\n ['type', PROP_STRING]\n ]\n )\n );\n};\n","import {PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register} from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-wizardstep',\n new Map(\n [\n ['class', PROP_STRING],\n ['content', PROP_STRING],\n ['doneiconclass', {value: 'wi wi-done', ...PROP_STRING}],\n ['doneiconurl', PROP_STRING],\n ['dynamicStepIndex', PROP_NUMBER], // internal property\n ['enableskip', {value: false, ...PROP_BOOLEAN}],\n ['iconclass', {value: 'wi wi-person', ...PROP_STRING}],\n ['iconurl', PROP_STRING],\n ['isdynamic', PROP_STRING], // internal property\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['subtitle', PROP_STRING],\n ['title', {value: 'Step Title', ...PROP_STRING}]\n ]\n )\n );\n};\n","import {\n AfterViewInit,\n Component,\n ContentChildren,\n HostBinding,\n Inject,\n Injector,\n OnDestroy,\n OnInit,\n Optional,\n Self, ChangeDetectionStrategy\n} from \"@angular/core\";\nimport {\n getCurrentWidgets,\n IWidgetConfig,\n provideAsWidgetRef,\n RedrawableDirective,\n StylableComponent\n} from \"@wm/components/base\";\nimport {NgForm} from \"@angular/forms\";\nimport {registerProps} from \"./wizard-step.props\";\nimport {App, noop} from \"@wm/core\";\nimport {WizardComponent} from \"../wizard.component\";\n\nconst DEFAULT_CLS = 'app-wizard-step-content';\n\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-wizardstep',\n hostClass: DEFAULT_CLS,\n};\n\nconst enum STEP_STATUS {\n CURRENT = 1,\n DISABLED,\n COMPLETED\n}\n\n@Component({\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: true,\n selector: 'form[wmWizardStep]',\n template: `<ng-content partial-container-target></ng-content>`,\n providers: [\n provideAsWidgetRef(WizardStepComponent),\n NgForm\n ],\n exportAs: 'wmWizardStep'\n})\nexport class WizardStepComponent extends StylableComponent implements OnInit, AfterViewInit, OnDestroy {\n static readonly initializeProps = registerProps();\n\n public show: boolean;\n public name: string;\n public enableskip: any;\n public disablenext: boolean;\n public disabledone: boolean;\n public disableprevious: boolean;\n public isInitialized: boolean;\n private readonly isdynamic: boolean;\n public $lazyLoad = noop;\n isDone: boolean = false;\n nextCBInProgress: boolean = false;\n prevCBInProgress: boolean = false;\n\n private status: STEP_STATUS = STEP_STATUS.DISABLED;\n private wizardComponent: WizardComponent;\n private readonly _currentWizardWidgets ={}\n\n // reference to the components which needs a redraw(eg, grid, chart) when the height of this component changes\n @ContentChildren(RedrawableDirective, {descendants: true}) reDrawableComponents;\n public isPrism: boolean = false;\n\n @HostBinding('class.active')\n get activeClass() {\n return this.isPrism && this.active;\n }\n\n @HostBinding('class.current')\n get currentClass() {\n return !this.isPrism && this.active;\n }\n \n get isCurrent() {\n return this.active;\n }\n\n /**\n * along with the wizard form , also validate the forms\n * if there are any inside the wizard\n * @returns {boolean}\n */\n public get isValid() {\n return (this.ngForm.valid || this.ngForm.disabled) && this.areEmbeddedFormsValid();\n }\n\n /**\n * get all the forms inside the wizard if any and validate\n * @returns {boolean}\n */\n private areEmbeddedFormsValid() {\n for (const form of this.getAllEmbeddedForms()) {\n if (form.widget?.ngform && !form.widget.ngform.valid) {\n return false;\n }\n }\n return true;\n }\n\n private getAllEmbeddedForms() {\n return this.$element.find('form');\n }\n\n public get enableNext() {\n return !this.disablenext;\n }\n\n public get enableDone() {\n return !this.disabledone;\n }\n\n public get enablePrev() {\n return !this.disableprevious;\n }\n\n public set active(nv: boolean) {\n const isActive = this.active;\n this.status = STEP_STATUS.CURRENT;\n if (nv && !isActive) {\n this.redrawChildren();\n }\n }\n\n public get active(): boolean {\n return this.status === STEP_STATUS.CURRENT;\n }\n\n public set done(nv: boolean) {\n if (nv) {\n this.status = STEP_STATUS.COMPLETED;\n }\n }\n\n public get done(): boolean {\n return this.status === STEP_STATUS.COMPLETED;\n }\n\n public set disabled(nv: boolean) {\n if (nv) {\n this.status = STEP_STATUS.DISABLED;\n }\n }\n\n public get disabled(): boolean {\n return this.status === STEP_STATUS.DISABLED;\n }\n\n constructor(inj: Injector, @Self() private readonly ngForm: NgForm, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_CONFIG, explicitContext);\n // If we inject directly as a param in the constructor, getting circular dependency error in unit testcases\n this.wizardComponent = this.inj.get(WizardComponent);\n this.isPrism = !!this.inj.get(App, null)?.isPrism;\n }\n\n public invokeNextCB(index: number): boolean | Promise<boolean> {\n return this.invokeEventCallback('next', {currentStep: this, stepIndex: index});\n }\n\n public invokePrevCB(index: number): boolean | Promise<boolean> {\n return this.invokeEventCallback('prev', {currentStep: this, stepIndex: index});\n }\n\n public invokeSkipCB(index: number): boolean | Promise<boolean> {\n return this.invokeEventCallback('skip', {currentStep: this, stepIndex: index});\n }\n\n // redraw all the projected components which are projected.\n private redrawChildren() {\n setTimeout(() => {\n if (this.reDrawableComponents) {\n this.reDrawableComponents.forEach(c => c.redraw());\n }\n if ((this as any).wizardComponent) {\n const stepIndex = (this as any).wizardComponent.getCurrentStepIndex();\n this.invokeEventCallback('load', { stepIndex });\n }\n }, 100);\n }\n\n public remove() {\n if (this.active) {\n this === this.wizardComponent.steps.last ? this.wizardComponent.prev() : this.wizardComponent.next();\n }\n const availablePanes = this.wizardComponent.steps.toArray();\n availablePanes.splice((this as any).wizardComponent.getStepIndexByRef(this), 1);\n this.wizardComponent.steps.reset([...availablePanes]);\n this.nativeElement.remove();\n }\n\n get currentWizardWidgets() {\n return getCurrentWidgets(this.nativeElement, this._currentWizardWidgets);\n }\n\n onPropertyChange(key: string, nv: any, ov?: any) {\n if (key === 'content') {\n setTimeout(() => this.$lazyLoad(), 100);\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n ngOnInit() {\n super.ngOnInit();\n }\n\n ngAfterViewInit() {\n super.ngAfterViewInit();\n if (this.isdynamic) {\n this.wizardComponent.registerDynamicStep(this);\n }\n }\n\n ngOnDestroy() {\n // MEMORY LEAK FIX: Clear redrawable components references\n if (this.reDrawableComponents) {\n this.reDrawableComponents.reset([]);\n }\n\n // MEMORY LEAK FIX: Clear wizard component reference\n this.wizardComponent = null;\n\n // Call parent ngOnDestroy (StylableComponent → BaseComponent)\n // This will clear the context and unregister the widget\n super.ngOnDestroy();\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {\n APPLY_STYLES_TYPE,\n Context,\n createArrayFrom,\n IWidgetConfig,\n provideAsWidgetRef,\n StylableComponent,\n styler,\n TextContentDirective,\n WmAppIconComponent\n} from \"@wm/components/base\";\nimport {\n AfterContentInit,\n AfterViewChecked,\n AfterViewInit,\n Component,\n ContentChild,\n ContentChildren,\n Inject,\n Injector,\n OnDestroy,\n OnInit,\n Optional,\n QueryList,\n Self,\n TemplateRef, ChangeDetectionStrategy\n} from '@angular/core';\n\nimport {DynamicComponentRefProvider, isDefined, noop} from '@wm/core';\n\nimport {registerProps} from './wizard.props';\n\nimport {WizardStepComponent} from \"./wizard-step/wizard-step.component\";\nimport {find, findIndex, forEach, get, indexOf, isArray, isNumber, isString} from \"lodash-es\";\n\n/**\n * Header row shape for icon/tab-stepper helpers. Uses this instead of `WizardStepComponent` on\n * those parameters so TypeScript/ng-packagr does not hit a circular resolution order\n * (wizard-step imports WizardComponent).\n */\ntype WizardStepHeaderModel = {\n isDone: boolean;\n iconclass?: string;\n iconurl?: string;\n doneiconclass?: string;\n doneiconurl?: string;\n};\n\nconst DEFAULT_CLS = 'app-wizard panel clearfix';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-wizard',\n hostClass: DEFAULT_CLS\n};\n\n@Component({\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: true,\n imports: [CommonModule, TextContentDirective, WmAppIconComponent],\n selector: 'div[wmWizard]',\n templateUrl: './wizard.component.html',\n providers: [\n provideAsWidgetRef(WizardComponent),\n {provide: Context, useFactory: () => { return {} }, multi: true}\n ],\n exportAs: 'wmWizard'\n})\nexport class WizardComponent extends StylableComponent implements OnInit, AfterContentInit, AfterViewInit, AfterViewChecked, OnDestroy {\n static readonly initializeProps = registerProps();\n\n @ContentChildren(WizardStepComponent) steps: QueryList<WizardStepComponent>;\n @ContentChild('wizardAction', { read: TemplateRef, descendants: false }) wizardAction: TemplateRef<any>;\n\n public message: {caption: string, type: string};\n public currentStep: WizardStepComponent;\n\n public stepClass: string;\n public class;\n public name;\n private readonly promiseResolverFn: Function;\n public actionsalignment: any;\n public cancelable: any;\n public enablenext: any;\n public wizContext: any;\n public cancelbtnlabel: any;\n public donebtnlabel: any;\n public previousbtnlabel: any;\n public nextbtnlabel: any;\n public defaultstep;\n public fieldDefs;\n public type;\n public nodatamessage;\n private readonly dynamicComponentProvider;\n private _dynamicContext;\n private dynamicStepIndex;\n public dynamicWizard;\n public defaultstepindex;\n private _isFirstLoad: boolean = true;\n public autoActivation:boolean;\n private stepsSubscription: any; // MEMORY LEAK FIX: Store subscription for cleanup\n\n get hasPrevStep(): boolean {\n return !this._isFirstStep(this.currentStep);\n }\n\n get hasNextStep(): boolean {\n return !this._isLastStep(this.currentStep);\n }\n\n get showDoneBtn(): boolean {\n if (!this.currentStep) {\n return false;\n }\n return !this.hasNextStep && this.currentStep.enableDone;\n }\n\n get enablePrev(): boolean {\n if (!this.currentStep) {\n return false;\n }\n return this.currentStep.enablePrev;\n }\n\n get enableNext(): boolean {\n if (!this.currentStep) {\n return false;\n }\n return this.enablenext ? true : (this.currentStep.enableNext && this.currentStep.isValid);\n }\n\n /**\n * Step header icons (iconclass / doneiconclass): same rules as iconstepper, plus tabstepper\n * (e.g. wizard-tabstepper, tabstepper, tabstepper_vertical). Uses class property + host className\n * so preview stays correct when the DOM is updated before the bound property.\n */\n private wizardHostClassString(): string {\n const fromProp = typeof this.class === 'string' ? this.class : '';\n const rawDom = this.nativeElement?.className;\n const fromDom =\n typeof rawDom === 'string' ? rawDom : (rawDom as { baseVal?: string })?.baseVal || '';\n return `${fromProp} ${fromDom}`.trim();\n }\n\n get showWizardStepIcons(): boolean {\n const c = this.wizardHostClassString();\n if (!c) {\n return false;\n }\n return c.includes('iconstepper') || c.includes('tabstepper');\n }\n\n /** Tab layout only (not icon stepper): omit icon column when step has no icon. */\n get isTabStepperWizard(): boolean {\n const c = this.wizardHostClassString();\n return c.includes('tabstepper') && !c.includes('iconstepper');\n }\n\n /** Default matches wm-wizardstep props; used for icon stepper when iconclass is empty. */\n stepIconClassOrDefault(step: WizardStepHeaderModel): string {\n const c = step?.iconclass || step?.iconurl;\n return typeof c === 'string' && c.trim() ? c.trim() : 'wi wi-person';\n }\n\n hasNonEmptyIconClass(step: WizardStepHeaderModel): boolean {\n const ic = step?.iconclass || step?.iconurl;\n return typeof ic === 'string' && ic.trim() !== '';\n }\n\n /**\n * Primary `app-icon` for icon/tab stepper: only when `iconclass` is set (no default glyph for icon stepper).\n * When `doneiconclass` is set, the done row is shown instead of this primary icon.\n */\n shouldShowPrimaryStepIcon(step: WizardStepHeaderModel): boolean {\n if (!step || !this.showWizardStepIcons) {\n return false;\n }\n if (!step.isDone) {\n return this.hasNonEmptyIconClass(step);\n }\n const d = step.doneiconclass;\n const hasDone = typeof d === 'string' && d.trim() !== '';\n if (hasDone) {\n return false;\n }\n return this.hasNonEmptyIconClass(step);\n }\n\n /**\n * Tab stepper: no `wizard-step-number` when the step is done but `doneiconclass` is empty.\n * Icon stepper: omit the wrapper when there is no primary icon and no done icon to show.\n * Other layouts: keep the wrapper (numbers, dots, etc.).\n */\n shouldRenderWizardStepNumberSpan(step: WizardStepHeaderModel): boolean {\n if (!this.showWizardStepIcons) {\n return true;\n }\n if (this.isTabStepperWizard) {\n if (step.isDone && !this.hasNonEmptyDoneIconClass(step)) {\n return false;\n }\n return (\n this.shouldShowPrimaryStepIcon(step) ||\n (step.isDone && this.hasNonEmptyDoneIconClass(step))\n );\n }\n if (this.wizardHostClassString().includes('iconstepper')) {\n return (\n this.shouldShowPrimaryStepIcon(step) ||\n (step.isDone && this.hasNonEmptyDoneIconClass(step))\n );\n }\n return true;\n }\n\n /** Avoid `String()` in templates (strict mode treats it as a component property). */\n hasNonEmptyDoneIconClass(step: WizardStepHeaderModel): boolean {\n const d = step?.doneiconclass || step?.doneiconurl;\n return typeof d === 'string' && d.trim() !== '';\n }\n\n get enableDone(): boolean {\n if (!this.currentStep) {\n return false;\n }\n return this.currentStep.enableDone && this.currentStep.isValid;\n }\n\n /**\n * returns current step index of the Wizard's current step\n */\n get currentStepIndex() {\n return this.getStepIndexByRef(this.currentStep);\n }\n\n /**\n * returns weather the current step is first step or not\n */\n get isFirstStep(): boolean {\n return this._isFirstStep(this.currentStep);\n }\n\n /**\n * returns weather the current step is last step or not\n */\n get isLastStep(): boolean {\n return this._isLastStep(this.currentStep);\n }\n\n constructor(inj: Injector, dynamicComponentProvider: DynamicComponentRefProvider, @Self() @Inject(Context) contexts: Array<any>, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n let resolveFn: Function = noop;\n\n super(inj, WIDGET_CONFIG, explicitContext, new Promise(res => resolveFn = res));\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.SHELL);\n\n this.promiseResolverFn = resolveFn;\n\n // initialize the message object with default values\n this.message = {\n caption: '',\n type: ''\n };\n this.wizContext = contexts[0];\n this.dynamicComponentProvider = dynamicComponentProvider;\n this.dynamicWizard = [];\n this.dynamicStepIndex = 0;\n }\n\n /**\n * This method is used to register the dynamic steps.\n * After all steps are initialzed, update the querylist manually based on index.\n * @param stepRef - refrence of the wizardstep\n */\n public registerDynamicStep(stepRef) {\n this.dynamicWizard.push(stepRef);\n const isLastStep = this.dynamicWizard.length === this.dynamicStepIndex;\n if (isLastStep) {\n for (let i = 0; i < this.dynamicWizard.length; i++) {\n const newStepRef = find(this.dynamicWizard, step => step.dynamicStepIndex === i);\n const isStepAlreadyExist = find(this.steps.toArray(), newStepRef);\n if (!isStepAlreadyExist) {\n this.steps.reset([...this.steps.toArray(), newStepRef]);\n if (newStepRef.active) {\n setTimeout(() => {\n newStepRef.select();\n }, 20);\n }\n }\n }\n }\n }\n\n /**\n * This method is to add the wizard step dynamically\n * @param wizardSteps - list of wizardsteps\n */\n public addStep(wizardSteps) {\n if (!isArray(wizardSteps)) {\n wizardSteps = [wizardSteps];\n }\n const stepNamesList = [];\n forEach(wizardSteps, (step, index) => {\n const isStepAlreadyCreated = find(this.steps.toArray(), {name: step.name});\n const isStepNameExist = indexOf(stepNamesList, step.name);\n // If user tries to add wizardstep with the same name which is already exists then do not create the step\n if (isStepAlreadyCreated || isStepNameExist > 0) {\n console.warn(`The wizard step with name ${step.name} already exists`);\n return;\n }\n\n let paramMarkup = '';\n let propsTmpl = '';\n this.dynamicStepIndex++;\n const name = step.name ? step.name : `wizardstep${this.steps.toArray().length + (index + 1)}`;\n stepNamesList.push(name);\n const partialParams = get(step, 'params');\n\n forEach(step, (value, key) => {\n if (key !== 'params') {\n propsTmpl = `${propsTmpl} ${key}=\"${value}\"`;\n }\n });\n\n forEach(partialParams, (value, key) => {\n paramMarkup = `${paramMarkup} <wm-param name=\"${key}\" value=\"${value}\"></wm-param>`;\n });\n const markup = `<wm-wizardstep dynamicStepIndex=\"${this.dynamicStepIndex - 1}\" isdynamic=\"true\" name=\"${name}\" ${propsTmpl}>\n ${paramMarkup}\n </wm-wizardstep>`;\n\n if (!this._dynamicContext) {\n this._dynamicContext = Object.create(this.viewParent);\n this._dynamicContext[this.getAttr('wmWizard')] = this;\n }\n\n this.dynamicComponentProvider.addComponent(this.getNativeElement().querySelector('.app-wizard-body'), markup, this._dynamicContext, {inj: this.inj});\n\n });\n return stepNamesList;\n }\n\n /**\n * This method is to remove the wizard step\n * @param step - index or name of the step\n */\n public removeStep(step: number | string) {\n const stepRef = isString(step) ? this.getStepRefByName(step) : isNumber(step)\n ? this.getStepRefByIndex(step) : null;\n stepRef ? stepRef.remove() : console.warn(`Could not find step with name or index '${step}' to remove`);\n }\n\n /**\n * returns next valid step. the index passed is also checked if its valid step\n * @param index\n * @returns {WizardStepComponent}\n */\n private getNextValidStepFormIndex(index: number): WizardStepComponent {\n for (let i = index; i < this.steps.length; i++) {\n const step = this.getStepRefByIndex(i);\n if (step.show) {\n return step;\n }\n }\n }\n\n /**\n * returns previous valid step. the index passed is also checked if its valid step\n * @param index\n * @returns {WizardStepComponent}\n */\n private getPreviousValidStepFormIndex(index: number): WizardStepComponent {\n for (let i = index; i >= 0; i--) {\n const step = this.getStepRefByIndex(i);\n if (step.show) {\n return step;\n }\n }\n }\n\n /**\n * returns current step index value.\n * @returns {number}\n */\n private getCurrentStepIndex(): number {\n return this.getStepIndexByRef(this.currentStep);\n }\n\n /**\n * returns stepRef when index is passed.\n * @param {number} index\n * @returns {WizardStepComponent}\n */\n private getStepRefByIndex(index: number): WizardStepComponent {\n return this.steps.toArray()[index];\n }\n\n /**\n * returns the index value of the step.\n * @param {WizardStepComponent} wizardStep\n * @returns {number}\n */\n private getStepIndexByRef(wizardStep: WizardStepComponent): number {\n return this.steps.toArray().indexOf(wizardStep);\n }\n\n /**\n * gets stepRef by searching on the name property.\n * @param {string} name\n * @returns {WizardStepComponent}\n */\n private getStepRefByName(name: string): WizardStepComponent {\n return this.steps.find(step => step.name === name);\n }\n\n /**\n * sets default step as current step if configured\n * or finds first valid step and set it as current step.\n * @param {WizardStepComponent} step\n */\n private setDefaultStep(step: WizardStepComponent) {\n // If the default step has show true then only update the currentStep\n if (step?.show) {\n this.currentStep = step;\n step.active = true;\n step.isInitialized = true;\n // Mark all previous step status COMPLETED\n let index = this.getStepIndexByRef(step) - 1;\n while (index >= 0) {\n const prevStep = this.getStepRefByIndex(index);\n prevStep.done = true;\n prevStep.isInitialized = true;\n index--;\n }\n } else {\n // set next valid step as current step\n step = this.getNextValidStepFormIndex(0);\n if (step) {\n this.setDefaultStep(step);\n }\n }\n this.addMoreText();\n }\n\n /**\n * Selects the associated step when the wizard header is clicked.\n * @param $event\n * @param {WizardStepComponent} currentStep\n */\n private onWizardHeaderClick($event: Event, currentStep: WizardStepComponent) {\n // select the step if it's status is done\n if (currentStep.done) {\n // set all the next steps status as disabled and previous steps as done\n this.steps.forEach((step, index) => {\n if (index < this.getStepIndexByRef(currentStep)) {\n step.done = true;\n step.isDone = true;\n } else {\n step.disabled = true;\n step.isDone = false;\n }\n });\n // set the selected step as current step and make it active\n this.currentStep = currentStep;\n this.currentStep.active = true;\n this.addMoreText();\n }\n }\n\n private readonly isPromise = (obj) => obj instanceof Promise || (obj !== null && typeof obj === 'object' && typeof obj.then === 'function' && typeof obj.catch === 'function');\n\n // Method to navigate to next step\n\n private handleNext(value: boolean | Promise<boolean>, currentStep, currentStepIndex) {\n if (this.isPromise(value)) {\n (value as Promise<boolean>).then(response => {\n this.currentStep.nextCBInProgress = false;\n if (response === false) {\n return;\n }\n this.extendNextFn(currentStep, currentStepIndex);\n }, err => {\n this.currentStep.nextCBInProgress = false;\n })\n } else {\n this.currentStep.nextCBInProgress = false;\n if (value === false) {\n return;\n }\n this.extendNextFn(currentStep, currentStepIndex);\n }\n }\n\n public next(eventName: string = 'next') {\n if (this.currentStep.nextCBInProgress) {\n return;\n }\n\n const currentStep = this.currentStep;\n const currentStepIndex = this.getCurrentStepIndex();\n\n // abort if onSkip method returns false\n if (eventName === 'skip') {\n this.currentStep.nextCBInProgress = true;\n const response = currentStep.invokeSkipCB(currentStepIndex);\n this.handleNext(response, currentStep, currentStepIndex);\n } else if (this.currentStep.isValid && eventName === 'next') {\n this.currentStep.nextCBInProgress = true;\n const response = currentStep.invokeNextCB(currentStepIndex);\n this.handleNext(response, currentStep, currentStepIndex);\n } else if (this.enablenext && !this.currentStep.isValid){\n Array.from((<any>this).currentStep.getAllEmbeddedForms())?.forEach((form:any) => {\n form.widget.highlightInvalidFields();\n });\n const invalidFormInputElement = this.currentStep.nativeElement?.querySelector(\"input.ng-invalid\") as HTMLInputElement;\n invalidFormInputElement?.focus();\n\n }\n }\n\n private extendNextFn(currentStep, currentStepIndex) {\n const nextStep: WizardStepComponent = this.getNextValidStepFormIndex(currentStepIndex + 1);\n // If there are any steps which has show then only change state of current step else remain same\n if (nextStep) {\n nextStep.isInitialized = true;\n currentStep.isDone = true;\n currentStep.done = true;\n nextStep.active = true;\n this.currentStep = nextStep;\n // Remove 'active' class from all wizard steps in header\n const allStepItems = this.nativeElement.querySelectorAll('li[data-stepid]');\n allStepItems.forEach((el: Element) => {\n el.classList.remove('active');\n const anchor = el.querySelector('a');\n if (anchor) {\n anchor.setAttribute('tabindex', '-1');\n }\n });\n // Add 'active' to next step header item\n const newStepLi = this.nativeElement.querySelector(`li[data-stepid=\"${nextStep.widgetId}\"]`);\n const newStepAnchor = newStepLi?.querySelector('a') as HTMLElement;\n if (newStepLi && newStepAnchor) {\n newStepLi.classList.add('active');\n newStepAnchor.setAttribute('tabindex', '0');\n newStepAnchor.focus();\n }\n this.updateStepFocus();\n }\n this.addMoreText();\n }\n // Method to navigate to previous step\n public prev() {\n if (this.currentStep.prevCBInProgress) {\n return;\n }\n\n const currentStep = this.currentStep;\n const currentStepIndex = this.getCurrentStepIndex();\n\n this.currentStep.prevCBInProgress = true;\n // abort if onPrev method returns false.\n const response = currentStep.invokePrevCB(currentStepIndex);\n if (this.isPromise(response)) {\n (response as Promise<boolean>).then( response => {\n this.currentStep.prevCBInProgress = false;\n if (response === false) {\n return;\n }\n this.extendPrevFn(currentStep, currentStepIndex);\n }, err => {\n this.currentStep.prevCBInProgress = false;\n });\n } else {\n this.currentStep.prevCBInProgress = false;\n if (response === false) {\n return;\n }\n this.extendPrevFn(currentStep, currentStepIndex);\n }\n }\n\n private extendPrevFn(currentStep, currentStepIndex){\n const prevStep: WizardStepComponent = this.getPreviousValidStepFormIndex(currentStepIndex - 1);\n\n // If there are any steps which has show then only change state of current step else remain same\n if (prevStep) {\n currentStep.isDone = false;\n currentStep.disabled = true;\n prevStep.active = true;\n this.currentStep = prevStep;\n // Remove 'active' class from all steps\n const allStepItems = this.nativeElement.querySelectorAll('li[data-stepid]');\n allStepItems.forEach((el: Element) => {\n el.classList.remove('active');\n const anchor = el.querySelector('a');\n if (anchor) {\n anchor.setAttribute('tabindex', '-1');\n }\n });\n // Apply 'active' to prev step\n const prevStepLi = this.nativeElement.querySelector(`li[data-stepid=\"${prevStep.widgetId}\"]`);\n const prevStepAnchor = prevStepLi?.querySelector('a') as HTMLElement;\n if (prevStepLi && prevStepAnchor) {\n prevStepLi.classList.add('active');\n prevStepAnchor.setAttribute('tabindex', '0');\n prevStepAnchor.focus();\n }\n this.updateStepFocus();\n }\n this.addMoreText();\n }\n\n public skip() {\n this.next('skip');\n }\n\n /**\n * Navigates to the given step based on step name or step index\n * This will work only if the step is already in done state\n * @param step\n */\n public gotoStep(step: string | number) {\n let gotoStepIndex: number;\n if (isString(step)) {\n gotoStepIndex = this.steps.toArray().map(step => step.name).indexOf(step);\n if (gotoStepIndex === -1) {\n console.error(`Could not find step '${step}'`);\n return;\n }\n } else if (isNumber(step) && step >= 0) {\n gotoStepIndex = step;\n } else {\n console.error(\"Invalid step name or index provided\");\n return;\n }\n\n const gotoStep: WizardStepComponent = this.getStepRefByIndex(gotoStepIndex);\n\n if (gotoStep?.show) {\n this.onWizardHeaderClick(event, gotoStep);\n } else {\n console.error(\"The gotoStep function cannot navigate to hidden steps\");\n }\n }\n\n // Method to invoke on-Done event on wizard\n public done() {\n this.currentStep.isDone = true;\n this.invokeEventCallback('done', {steps: this.steps.toArray()});\n }\n // Method to invoke on-Cancel event on wizard\n public cancel () {\n this.invokeEventCallback('cancel', {steps: this.steps.toArray()});\n }\n public addMoreText(){\n setTimeout(() => {\n\n\n const newWindowWidth = $(window).width();\n if(newWindowWidth < 768){\n $(\".app-wizard-step.active .subtitle-wrapper .step-title\").css({\"height\":\"auto\",\"display\":\"block\"});\n const subtitleTextLength = $(\".app-wizard-step.active .subtitle-wrapper .step-title\").height();\n $(\".read_more\").css(\"display\",\"none\");\n $(\".app-wizard-step.active .subtitle-wrapper\").removeClass(\"readmore_subtitle\");\n\n if(subtitleTextLength>44){\n $(\".app-wizard-step.active .subtitle-wrapper .step-title\").css({\"height\":\"44px\",\"display\":\"-webkit-box\"});\n $(\".app-wizard-step.active .read_more\").css(\"display\",\"block\");\n $(\".app-wizard-step.finished .read_more\").css(\"display\",\"none\");\n $(\".app-wizard-step.default .read_more\").css(\"display\",\"none\");\n $(\".app-wizard-step>a\").css(\"height\",\"100px\")\n }\n }\n });\n\n }\n public readMoreSubtitle(){\n $(\".app-wizard-step.active .subtitle-wrapper\").addClass(\"readmore_subtitle\");\n $(\".app-wizard-step.active .read_more\").css(\"display\",\"none\");\n $(document).on(\"mouseup\",function(e:any)\n {\n const container = $(\".subtitle-wrapper\");\n // if the target of the click isn't the container nor a descendant of the container\n if (!container.is(e.target) && container.has(e.target).length === 0)\n {\n $(\".app-wizard-step.active .subtitle-wrapper\").removeClass(\"readmore_subtitle\");\n $(\".app-wizard-step.active .read_more\").css(\"display\",\"block\");\n $(document).off(\"mouseup\");\n }\n });\n }\n\n private _isFirstStep(stepRef: WizardStepComponent) {\n return this.steps.first === stepRef;\n }\n\n private _isLastStep(stepRef: WizardStepComponent) {\n return this.steps.last === stepRef;\n }\n\n private onDataChange(newVal) {\n this.fieldDefs = createArrayFrom(newVal);\n }\n\n private updateStepFocus() {\n setTimeout(() => {\n const currentStepElement = this.nativeElement.querySelector(\".app-wizard-heading li.active a\") as HTMLElement;\n currentStepElement?.focus();\n });\n }\n\n // Define the property change handler. This Method will be triggered when there is a change in the widget property\n onPropertyChange(key: string, nv: any, ov?: any) {\n // Monitoring changes for properties and accordingly handling respective changes\n\n if (key === 'stepstyle') {\n this.stepClass = nv === 'justified' ? 'nav-justified' : '';\n } else if (key === 'dataset') {\n this.onDataChange(nv);\n } else if (key === 'defaultstep') {\n this.setDefaultStep(this.getStepRefByName(nv));\n } else if (key === 'actionsalignment') {\n this.nativeElement.querySelector('div.app-wizard-actions')?.classList.replace(ov, nv);\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n ngAfterContentInit() {\n super.ngAfterContentInit();\n this.promiseResolverFn();\n this.wizContext.hasNextStep = () => this.hasNextStep;\n this.wizContext.hasPreviousStep = () => this.hasPrevStep;\n this.wizContext.hasNoNextStep = () => this.showDoneBtn;\n this.wizContext.cancelable = () => this.cancelable;\n this.wizContext.skippable = () => this.currentStep?.enableskip;\n this.wizContext.next = () => this.next();\n this.wizContext.previous = () => this.prev();\n this.wizContext.done = () => this.done();\n this.wizContext.cancel = () => this.cancel();\n this.wizContext.skip = () => this.skip();\n this.wizContext.nextbtnlabel = () => this.nextbtnlabel;\n this.wizContext.previousbtnlabel = () => this.previousbtnlabel;\n this.wizContext.donebtnlabel = () => this.donebtnlabel;\n this.wizContext.cancelbtnlabel = () => this.cancelbtnlabel;\n this.wizContext.actionsalignment = () => this.actionsalignment;\n this.wizContext.disableNext = () => !this.enableNext;\n this.wizContext.disablePrevious = () => !this.enablePrev;\n this.wizContext.disableDone = () => !this.enableDone;\n\n // MEMORY LEAK FIX: Store subscription for cleanup\n this.stepsSubscription = this.steps.changes.subscribe( () => {\n if (this.steps.length > 1 && this.type === 'dynamic' && this._isFirstLoad) {\n this.setDefaultStep(this.getStepRefByIndex(this.defaultstepindex));\n this._isFirstLoad = false;\n }\n });\n }\n private isSelectableStep(stepRef: WizardStepComponent): boolean {\n return stepRef.show && !stepRef.disabled;\n }\n private getSelectableStepBeforeIndex(index: number): WizardStepComponent {\n for (let i = index - 1; i >= 0; i--) {\n const step = this.getStepRefByIndex(i);\n if (this.isSelectableStep(step)) {\n return step;\n }\n }\n if (index === 0) {\n const step = this.getStepRefByIndex(this.steps.length - 1);\n if (this.isSelectableStep(step)) {\n return step;\n }\n }\n }\n private getSelectableStepAfterIndex(index: number): WizardStepComponent {\n for (let i = index + 1; i < this.steps.length; i++) {\n const step = this.getStepRefByIndex(i);\n if (this.isSelectableStep(step)) {\n return step;\n }\n }\n if (index === this.steps.length - 1) {\n const step = this.getStepRefByIndex(0);\n if (this.isSelectableStep(step)) {\n return step;\n }\n }\n }\n\n public getWidgets(widgteName: string, index?: number) {\n let $target;\n const retVal = [];\n\n if (!widgteName) {\n return;\n }\n\n if (!isDefined(index)) {\n forEach(this.steps.toArray(), (el) => {\n $target = get(el.currentWizardWidgets, widgteName);\n if ($target) {\n retVal.push($target);\n }\n });\n\n return retVal;\n }\n index = +index || 0;\n\n $target = get(this.steps.toArray(), index);\n\n if ($target) {\n return [get($target.currentWizardWidgets, widgteName)];\n }\n }\n\n\n ngAfterViewInit() {\n super.ngAfterViewInit();\n styler(\n this.nativeElement.querySelector('.panel-body') as HTMLElement,\n this,\n APPLY_STYLES_TYPE.INNER_SHELL\n );\n setTimeout(() => { if($(window).width()<768) {\n $(\".app-wizard\").removeClass(\"vertical\");\n }\n });\n }\n ngAfterViewChecked() {\n this.nativeElement.querySelectorAll('div.app-wizard-actions').forEach(el => el?.classList.add(this.actionsalignment));\n this.nativeElement.querySelectorAll('div.app-wizard-actions-right').forEach(el => el?.classList.remove('app-container'));\n }\n public getActiveStepIndex(): number {\n return findIndex(this.steps.toArray(), {isCurrent: true});\n }\n onkeydown(event) {\n let newStep;\n switch (event.key) {\n case 'ArrowLeft':\n case 'ArrowUp':\n event.preventDefault();\n newStep = this.autoActivation ? null : this.getSelectableStepBeforeIndex(this.getSelectedStepIndex());\n break;\n\n case 'ArrowRight':\n case 'ArrowDown':\n event.preventDefault();\n newStep = this.autoActivation ? null : this.getSelectableStepAfterIndex(this.getSelectedStepIndex());\n break;\n case 'Enter':\n case ' ':\n case 'Spacebar':\n event.preventDefault();\n setTimeout(() => {\n const activeElement = this.nativeElement.querySelector('li.active');\n const stepLi = activeElement.closest('li[data-stepid]');\n const isInWizardHeader = activeElement.closest('.app-wizard-heading');\n\n if (stepLi && isInWizardHeader) {\n const stepId = stepLi.getAttribute('data-stepid');\n const stepIndex = this.steps.toArray().findIndex(step => step.widgetId === stepId);\n const currentStep = this.steps.toArray()[stepIndex];\n\n if (currentStep && currentStep !== this.currentStep) {\n this.onWizardHeaderClick(event, currentStep);\n\n // Update tabindex for accessibility\n const allStepItems = this.nativeElement.querySelectorAll('li[data-stepid]');\n allStepItems.forEach((el: Element) => {\n (el as HTMLElement).setAttribute('tabindex', '-1');\n });\n\n const stepAnchor = stepLi.querySelector('a');\n if (stepAnchor) {\n stepAnchor.setAttribute('tabindex', '0');\n stepAnchor.focus();\n }\n }\n }\n }, 0);\n break;\n default:\n return;\n }\n if (newStep) {\n this.nativeElement.querySelector('li.active')?.classList.remove('active');\n this.nativeElement.querySelector(`li[data-stepid=\"${newStep.widgetId}\"]`)?.classList.add('active');\n const stepLi = this.nativeElement.querySelector(\".app-wizard-heading li.active a\") as HTMLElement;\n const allStepItems = this.nativeElement.querySelectorAll('li[data-stepid] a');\n allStepItems.forEach((el: Element) => {\n (el as HTMLElement).setAttribute('tabindex', '-1');\n });\n (stepLi).setAttribute('tabindex', '0');\n stepLi?.focus();\n }\n }\n getSelectedStepIndex() {\n const index = this.steps.toArray().findIndex(step =>\n this.nativeElement.querySelector(`li[data-stepid=\"${step.widgetId}\"]`)?.classList.contains(\"active\"));\n return index >= 0 ? index : this.getActiveStepIndex();\n }\n\n ngOnDestroy() {\n // MEMORY LEAK FIX: Unsubscribe from steps changes\n if (this.stepsSubscription) {\n this.stepsSubscription.unsubscribe();\n this.stepsSubscription = null;\n }\n\n // MEMORY LEAK FIX: Remove jQuery event handlers\n $(document).off(\"mouseup\");\n\n // MEMORY LEAK FIX: Clear wizard context to release references to step data\n if (this.wizContext) {\n Object.keys(this.wizContext).forEach(key => {\n delete this.wizContext[key];\n });\n this.wizContext = null;\n }\n\n // MEMORY LEAK FIX: Clear dynamic context\n if (this._dynamicContext) {\n Object.keys(this._dynamicContext).forEach(key => {\n delete this._dynamicContext[key];\n });\n this._dynamicContext = null;\n }\n\n // MEMORY LEAK FIX: Clear dynamic wizard array\n if (this.dynamicWizard) {\n this.dynamicWizard = [];\n }\n\n // MEMORY LEAK FIX: Clear current step reference\n this.currentStep = null;\n\n super.ngOnDestroy();\n }\n}\n","<div class=\"app-wizard-heading\">\n <ul class=\"app-wizard-steps nav nav-pills {{stepClass}}\">\n @for (step of steps; track step; let i = $index) {\n <li class=\"app-wizard-step\" [hidden]=\"!step.show\"\n [ngClass]=\"{finished: step.done, active: step.active, default: step.disabled}\"\n (click)=\"onWizardHeaderClick($event, step)\" [attr.data-stepid]=\"step.widgetId\">\n <a href=\"javascript:void(0)\" [attr.aria-current]=\"step.active ? 'step' : null\"\n [attr.aria-disabled]=\"step.disabled\" [attr.aria-label]='step.subtitle ? \"step \" + (i + 1) + \" \" + step.title + \" \" + step.subtitle : \"step \" + (i + 1) + \" \" + step.title' [attr.title]= \"step.title\"\n [ngClass]=\"{'title-center-align':class && class.includes('classic') && !step.subtitle}\" [tabindex]=\"step.active ? '0' : '-1'\" (keydown)=\"onkeydown($event)\">\n @if (class && class.includes('classic')) {\n <span class=\"arrow\"></span>\n }\n @if (shouldRenderWizardStepNumberSpan(step)) {\n <span class=\"wizard-step-number\">\n @if (class && class.includes('number') && !step.isDone && !showWizardStepIcons) {\n <span class=\"count\">{{i+1}}</span>\n }\n @if (class && (class.includes('dottedstepper') || class.includes('text-inline') && !showWizardStepIcons) && !step.isDone) {\n <i class=\"dottedstepper\"></i>\n }\n @if (class && (class.includes('dottedstepper') || class.includes('number')) && step.isDone) {\n <i class=\"app-icon wi wi-done\"></i>\n }\n @if (shouldShowPrimaryStepIcon(step)) {\n <wm-app-icon [iconclass]=\"stepIconClassOrDefault(step)\" [iconurl]=\"step.iconurl\"></wm-app-icon>\n }\n @if (showWizardStepIcons && step.isDone && hasNonEmptyDoneIconClass(step)) {\n <wm-app-icon [iconclass]=\"step.doneiconclass\" [iconurl]=\"step.doneiconurl\"></wm-app-icon>\n }\n </span>\n }\n <span class=\"title-wrapper\">\n @if (class && class.includes('text-inline')) {\n <span>{{'0' + (i+1)}}</span>\n }\n <span class=\"step-title\" [textContent]=\"step.title\"></span>\n </span>\n @if (step.subtitle) {\n <span class=\"subtitle-wrapper\" [attr.title]=\"step.subtitle\">\n <span class=\"step-title\" [textContent]=\"step.subtitle\"></span>\n <a class=\"read_more\" (click)=\"readMoreSubtitle()\" style=\"display:none\">more</a>\n </span>\n }\n </a>\n </li>\n }\n </ul>\n</div>\n@if (type !== 'dynamic') {\n<div class=\"app-wizard-body panel-body\">\n @if (message.caption) {\n <p wmMessage caption.bind=\"message.caption\" type.bind=\"message.type\"></p>\n }\n <ng-content ngProjectAs=\"form[wmWizardStep]\"></ng-content>\n</div>\n}\n@if (type === 'dynamic') {\n<div class=\"app-wizard-body panel-body\">\n @if(!fieldDefs?.length) {\n <div>{{nodatamessage}}</div>\n }\n <ng-content select=\"div[wmRepeatTemplate]\"></ng-content>\n</div>\n}\n@if(fieldDefs && fieldDefs.length || type !== 'dynamic') {\n <ng-container *ngTemplateOutlet=\"wizardAction\"></ng-container>\n}\n","import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-wizardaction',\n new Map([\n ['class', PROP_STRING],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}]\n ])\n );\n};\n","import {Directive, Inject, Injector, Optional} from '@angular/core';\nimport { BaseComponent, IWidgetConfig, provideAsWidgetRef } from '@wm/components/base';\nimport {registerProps} from \"./wizard-action.props\";\n\nconst WIDGET_INFO: IWidgetConfig = {\n widgetType: 'wm-wizardaction',\n hostClass: 'app-wizard-actions panel-footer '\n};\n\n@Directive({\n standalone: true,\n selector: 'div[wmWizardAction]',\n providers: [\n provideAsWidgetRef(WizardActionDirective)\n ],\n exportAs: 'wmWizardAction',\n})\nexport class WizardActionDirective extends BaseComponent {\n static readonly initializeProps = registerProps();\n\n constructor(inj: Injector, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_INFO, explicitContext);\n }\n}\n\n"],"mappings":";;;;;;;;;;AAEA,MAAa,wBAAqB;CAC9B,SACI,6BACA,IAAI,IACA;EACI,CAAC,oBAAoB;GAAC,OAAO;GAAS,GAAG;EAAW,CAAC;EACrD,CAAC,cAAc;GAAC,OAAO;GAAM,GAAG;EAAY,CAAC;EAC7C,CAAC,kBAAkB;GAAC,OAAO;GAAU,GAAG;EAAW,CAAC;EACpD,CAAC,SAAS;GAAC,OAAO;GAAW,GAAG;EAAW,CAAC;EAC5C,CAAC,WAAW,QAAQ;EACpB,CAAC,eAAe;GAAC,OAAO;GAAQ,GAAG;EAAW,CAAC;EAC/C,CAAC,oBAAoB;GAAC,OAAO;GAAG,GAAG;EAAW,CAAC;EAC/C,CAAC,gBAAgB;GAAC,OAAO;GAAQ,GAAG;EAAW,CAAC;EAChD,CAAC,cAAc;GAAC,OAAO;GAAO,GAAG;EAAY,CAAC;EAC9C,CAAC,QAAQ,WAAW;EACpB,CAAC,gBAAgB;GAAC,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