@wavemaker-ai/app-ng-runtime 12.0.0-rc.335 → 12.0.1-rc.338

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 (351) hide show
  1. package/build-task/bundles/index.umd.js +15 -16
  2. package/build-task/fesm2022/index.mjs +15 -16
  3. package/build-task/fesm2022/index.mjs.map +1 -1
  4. package/components/advanced/carousel/bundles/index.umd.js +9 -9
  5. package/components/advanced/carousel/fesm2022/index.mjs +9 -9
  6. package/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
  7. package/components/advanced/carousel/types/index.d.ts +7 -7
  8. package/components/advanced/custom/bundles/index.umd.js +9 -10
  9. package/components/advanced/custom/fesm2022/index.mjs +9 -10
  10. package/components/advanced/custom/fesm2022/index.mjs.map +1 -1
  11. package/components/advanced/custom/types/index.d.ts +3 -3
  12. package/components/advanced/login/bundles/index.umd.js +3 -3
  13. package/components/advanced/login/fesm2022/index.mjs +3 -3
  14. package/components/advanced/login/fesm2022/index.mjs.map +1 -1
  15. package/components/advanced/login/types/index.d.ts +1 -1
  16. package/components/advanced/marquee/bundles/index.umd.js +3 -3
  17. package/components/advanced/marquee/fesm2022/index.mjs +3 -3
  18. package/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
  19. package/components/advanced/marquee/types/index.d.ts +1 -1
  20. package/components/base/bundles/index.umd.js +40 -46
  21. package/components/base/fesm2022/index.mjs +40 -46
  22. package/components/base/fesm2022/index.mjs.map +1 -1
  23. package/components/base/types/index.d.ts +47 -46
  24. package/components/basic/anchor/bundles/index.umd.js +3 -3
  25. package/components/basic/anchor/fesm2022/index.mjs +3 -3
  26. package/components/basic/anchor/fesm2022/index.mjs.map +1 -1
  27. package/components/basic/anchor/types/index.d.ts +3 -3
  28. package/components/basic/audio/bundles/index.umd.js +3 -3
  29. package/components/basic/audio/fesm2022/index.mjs +3 -3
  30. package/components/basic/audio/fesm2022/index.mjs.map +1 -1
  31. package/components/basic/audio/types/index.d.ts +1 -1
  32. package/components/basic/html/bundles/index.umd.js +10 -11
  33. package/components/basic/html/fesm2022/index.mjs +10 -11
  34. package/components/basic/html/fesm2022/index.mjs.map +1 -1
  35. package/components/basic/html/types/index.d.ts +3 -3
  36. package/components/basic/icon/bundles/index.umd.js +3 -3
  37. package/components/basic/icon/fesm2022/index.mjs +3 -3
  38. package/components/basic/icon/fesm2022/index.mjs.map +1 -1
  39. package/components/basic/icon/types/index.d.ts +1 -1
  40. package/components/basic/iframe/bundles/index.umd.js +5 -5
  41. package/components/basic/iframe/fesm2022/index.mjs +5 -5
  42. package/components/basic/iframe/fesm2022/index.mjs.map +1 -1
  43. package/components/basic/iframe/types/index.d.ts +3 -3
  44. package/components/basic/label/bundles/index.umd.js +10 -11
  45. package/components/basic/label/fesm2022/index.mjs +10 -11
  46. package/components/basic/label/fesm2022/index.mjs.map +1 -1
  47. package/components/basic/label/types/index.d.ts +1 -1
  48. package/components/basic/picture/bundles/index.umd.js +3 -3
  49. package/components/basic/picture/fesm2022/index.mjs +3 -3
  50. package/components/basic/picture/fesm2022/index.mjs.map +1 -1
  51. package/components/basic/picture/types/index.d.ts +2 -2
  52. package/components/basic/progress/progress-bar/bundles/index.umd.js +8 -10
  53. package/components/basic/progress/progress-bar/fesm2022/index.mjs +8 -10
  54. package/components/basic/progress/progress-bar/fesm2022/index.mjs.map +1 -1
  55. package/components/basic/progress/progress-bar/types/index.d.ts +2 -2
  56. package/components/basic/progress/progress-circle/bundles/index.umd.js +3 -3
  57. package/components/basic/progress/progress-circle/fesm2022/index.mjs +3 -3
  58. package/components/basic/progress/progress-circle/fesm2022/index.mjs.map +1 -1
  59. package/components/basic/progress/progress-circle/types/index.d.ts +2 -2
  60. package/components/basic/rich-text-editor/bundles/index.umd.js +3 -3
  61. package/components/basic/rich-text-editor/fesm2022/index.mjs +3 -3
  62. package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  63. package/components/basic/rich-text-editor/types/index.d.ts +3 -3
  64. package/components/basic/search/bundles/index.umd.js +40 -42
  65. package/components/basic/search/fesm2022/index.mjs +40 -42
  66. package/components/basic/search/fesm2022/index.mjs.map +1 -1
  67. package/components/basic/search/types/index.d.ts +13 -13
  68. package/components/basic/spinner/bundles/index.umd.js +3 -3
  69. package/components/basic/spinner/fesm2022/index.mjs +3 -3
  70. package/components/basic/spinner/fesm2022/index.mjs.map +1 -1
  71. package/components/basic/spinner/types/index.d.ts +3 -3
  72. package/components/basic/tree/bundles/index.umd.js +9 -9
  73. package/components/basic/tree/fesm2022/index.mjs +9 -9
  74. package/components/basic/tree/fesm2022/index.mjs.map +1 -1
  75. package/components/basic/tree/types/index.d.ts +7 -7
  76. package/components/basic/video/bundles/index.umd.js +3 -3
  77. package/components/basic/video/fesm2022/index.mjs +3 -3
  78. package/components/basic/video/fesm2022/index.mjs.map +1 -1
  79. package/components/basic/video/types/index.d.ts +2 -2
  80. package/components/chart/bundles/index.umd.js +19 -22
  81. package/components/chart/fesm2022/index.mjs +20 -23
  82. package/components/chart/fesm2022/index.mjs.map +1 -1
  83. package/components/chart/types/index.d.ts +9 -9
  84. package/components/containers/accordion/bundles/index.umd.js +10 -12
  85. package/components/containers/accordion/fesm2022/index.mjs +10 -12
  86. package/components/containers/accordion/fesm2022/index.mjs.map +1 -1
  87. package/components/containers/accordion/types/index.d.ts +9 -9
  88. package/components/containers/layout-grid/bundles/index.umd.js +9 -9
  89. package/components/containers/layout-grid/fesm2022/index.mjs +9 -9
  90. package/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
  91. package/components/containers/layout-grid/types/index.d.ts +4 -4
  92. package/components/containers/linear-layout/bundles/index.umd.js +6 -6
  93. package/components/containers/linear-layout/fesm2022/index.mjs +6 -6
  94. package/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
  95. package/components/containers/linear-layout/types/index.d.ts +2 -2
  96. package/components/containers/panel/bundles/index.umd.js +3 -3
  97. package/components/containers/panel/fesm2022/index.mjs +3 -3
  98. package/components/containers/panel/fesm2022/index.mjs.map +1 -1
  99. package/components/containers/panel/types/index.d.ts +3 -3
  100. package/components/containers/tabs/bundles/index.umd.js +9 -9
  101. package/components/containers/tabs/fesm2022/index.mjs +9 -9
  102. package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  103. package/components/containers/tabs/types/index.d.ts +8 -8
  104. package/components/containers/tile/bundles/index.umd.js +3 -3
  105. package/components/containers/tile/fesm2022/index.mjs +3 -3
  106. package/components/containers/tile/fesm2022/index.mjs.map +1 -1
  107. package/components/containers/tile/types/index.d.ts +1 -1
  108. package/components/containers/wizard/bundles/index.umd.js +18 -18
  109. package/components/containers/wizard/fesm2022/index.mjs +18 -18
  110. package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
  111. package/components/containers/wizard/types/index.d.ts +8 -8
  112. package/components/data/card/bundles/index.umd.js +12 -12
  113. package/components/data/card/fesm2022/index.mjs +12 -12
  114. package/components/data/card/fesm2022/index.mjs.map +1 -1
  115. package/components/data/card/types/index.d.ts +6 -6
  116. package/components/data/form/bundles/index.umd.js +72 -75
  117. package/components/data/form/fesm2022/index.mjs +72 -77
  118. package/components/data/form/fesm2022/index.mjs.map +1 -1
  119. package/components/data/form/types/index.d.ts +29 -29
  120. package/components/data/list/bundles/index.umd.js +22 -27
  121. package/components/data/list/fesm2022/index.mjs +22 -27
  122. package/components/data/list/fesm2022/index.mjs.map +1 -1
  123. package/components/data/list/types/index.d.ts +23 -23
  124. package/components/data/live-table/bundles/index.umd.js +3 -3
  125. package/components/data/live-table/fesm2022/index.mjs +3 -3
  126. package/components/data/live-table/fesm2022/index.mjs.map +1 -1
  127. package/components/data/live-table/types/index.d.ts +5 -5
  128. package/components/data/pagination/bundles/index.umd.js +27 -28
  129. package/components/data/pagination/fesm2022/index.mjs +27 -28
  130. package/components/data/pagination/fesm2022/index.mjs.map +1 -1
  131. package/components/data/pagination/types/index.d.ts +1 -1
  132. package/components/data/table/bundles/index.umd.js +131 -142
  133. package/components/data/table/fesm2022/index.mjs +131 -143
  134. package/components/data/table/fesm2022/index.mjs.map +1 -1
  135. package/components/data/table/types/index.d.ts +20 -20
  136. package/components/dialogs/alert-dialog/bundles/index.umd.js +3 -3
  137. package/components/dialogs/alert-dialog/fesm2022/index.mjs +3 -3
  138. package/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
  139. package/components/dialogs/alert-dialog/types/index.d.ts +1 -1
  140. package/components/dialogs/confirm-dialog/bundles/index.umd.js +3 -3
  141. package/components/dialogs/confirm-dialog/fesm2022/index.mjs +3 -3
  142. package/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
  143. package/components/dialogs/confirm-dialog/types/index.d.ts +1 -1
  144. package/components/dialogs/default/bundles/index.umd.js +12 -12
  145. package/components/dialogs/default/fesm2022/index.mjs +12 -12
  146. package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  147. package/components/dialogs/default/types/index.d.ts +3 -3
  148. package/components/dialogs/design-dialog/bundles/index.umd.js +3 -3
  149. package/components/dialogs/design-dialog/fesm2022/index.mjs +3 -3
  150. package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  151. package/components/dialogs/design-dialog/types/index.d.ts +1 -1
  152. package/components/dialogs/iframe-dialog/bundles/index.umd.js +3 -3
  153. package/components/dialogs/iframe-dialog/fesm2022/index.mjs +3 -3
  154. package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
  155. package/components/dialogs/iframe-dialog/types/index.d.ts +1 -1
  156. package/components/dialogs/login-dialog/bundles/index.umd.js +3 -3
  157. package/components/dialogs/login-dialog/fesm2022/index.mjs +3 -3
  158. package/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
  159. package/components/dialogs/login-dialog/types/index.d.ts +2 -2
  160. package/components/dialogs/partial-dialog/bundles/index.umd.js +3 -3
  161. package/components/dialogs/partial-dialog/fesm2022/index.mjs +3 -3
  162. package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
  163. package/components/dialogs/partial-dialog/types/index.d.ts +1 -1
  164. package/components/input/base-form/bundles/index.umd.js +4 -4
  165. package/components/input/base-form/fesm2022/index.mjs +4 -4
  166. package/components/input/base-form/fesm2022/index.mjs.map +1 -1
  167. package/components/input/base-form-custom/bundles/index.umd.js +3 -3
  168. package/components/input/base-form-custom/fesm2022/index.mjs +3 -3
  169. package/components/input/button/bundles/index.umd.js +3 -3
  170. package/components/input/button/fesm2022/index.mjs +3 -3
  171. package/components/input/button/fesm2022/index.mjs.map +1 -1
  172. package/components/input/button/types/index.d.ts +1 -1
  173. package/components/input/button-group/bundles/index.umd.js +3 -3
  174. package/components/input/button-group/fesm2022/index.mjs +3 -3
  175. package/components/input/button-group/fesm2022/index.mjs.map +1 -1
  176. package/components/input/button-group/types/index.d.ts +1 -1
  177. package/components/input/calendar/bundles/index.umd.js +4 -4
  178. package/components/input/calendar/fesm2022/index.mjs +4 -5
  179. package/components/input/calendar/fesm2022/index.mjs.map +1 -1
  180. package/components/input/calendar/types/index.d.ts +9 -9
  181. package/components/input/caption-position/bundles/index.umd.js +5 -5
  182. package/components/input/caption-position/fesm2022/index.mjs +5 -5
  183. package/components/input/caption-position/fesm2022/index.mjs.map +1 -1
  184. package/components/input/caption-position/types/index.d.ts +4 -4
  185. package/components/input/checkbox/bundles/index.umd.js +3 -3
  186. package/components/input/checkbox/fesm2022/index.mjs +3 -3
  187. package/components/input/checkbox/fesm2022/index.mjs.map +1 -1
  188. package/components/input/checkbox/types/index.d.ts +2 -2
  189. package/components/input/checkboxset/bundles/index.umd.js +4 -4
  190. package/components/input/checkboxset/fesm2022/index.mjs +4 -4
  191. package/components/input/checkboxset/fesm2022/index.mjs.map +1 -1
  192. package/components/input/checkboxset/types/index.d.ts +2 -2
  193. package/components/input/chips/bundles/index.umd.js +5 -5
  194. package/components/input/chips/fesm2022/index.mjs +5 -5
  195. package/components/input/chips/fesm2022/index.mjs.map +1 -1
  196. package/components/input/chips/types/index.d.ts +14 -14
  197. package/components/input/color-picker/bundles/index.umd.js +3 -3
  198. package/components/input/color-picker/fesm2022/index.mjs +3 -3
  199. package/components/input/color-picker/fesm2022/index.mjs.map +1 -1
  200. package/components/input/color-picker/types/index.d.ts +2 -2
  201. package/components/input/composite/bundles/index.umd.js +3 -3
  202. package/components/input/composite/fesm2022/index.mjs +3 -3
  203. package/components/input/composite/fesm2022/index.mjs.map +1 -1
  204. package/components/input/composite/types/index.d.ts +1 -1
  205. package/components/input/currency/bundles/index.umd.js +3 -3
  206. package/components/input/currency/fesm2022/index.mjs +3 -3
  207. package/components/input/currency/fesm2022/index.mjs.map +1 -1
  208. package/components/input/currency/types/index.d.ts +3 -3
  209. package/components/input/dataset-aware-form/bundles/index.umd.js +7 -7
  210. package/components/input/dataset-aware-form/fesm2022/index.mjs +7 -7
  211. package/components/input/dataset-aware-form/fesm2022/index.mjs.map +1 -1
  212. package/components/input/dataset-aware-form/types/index.d.ts +1 -1
  213. package/components/input/epoch/base-date-time/bundles/index.umd.js +10 -15
  214. package/components/input/epoch/base-date-time/fesm2022/index.mjs +10 -15
  215. package/components/input/epoch/base-date-time/fesm2022/index.mjs.map +1 -1
  216. package/components/input/epoch/base-date-time/types/index.d.ts +2 -2
  217. package/components/input/epoch/date/bundles/index.umd.js +5 -5
  218. package/components/input/epoch/date/fesm2022/index.mjs +5 -5
  219. package/components/input/epoch/date/fesm2022/index.mjs.map +1 -1
  220. package/components/input/epoch/date/types/index.d.ts +4 -4
  221. package/components/input/epoch/date-time/bundles/index.umd.js +3 -3
  222. package/components/input/epoch/date-time/fesm2022/index.mjs +3 -3
  223. package/components/input/epoch/date-time/fesm2022/index.mjs.map +1 -1
  224. package/components/input/epoch/date-time/types/index.d.ts +8 -8
  225. package/components/input/epoch/date-time-picker/bundles/index.umd.js +8 -8
  226. package/components/input/epoch/date-time-picker/fesm2022/index.mjs +8 -8
  227. package/components/input/epoch/date-time-picker/fesm2022/index.mjs.map +1 -1
  228. package/components/input/epoch/date-time-picker/types/index.d.ts +6 -7
  229. package/components/input/epoch/picker/bundles/index.umd.js +6 -6
  230. package/components/input/epoch/picker/fesm2022/index.mjs +6 -6
  231. package/components/input/epoch/picker/fesm2022/index.mjs.map +1 -1
  232. package/components/input/epoch/time/bundles/index.umd.js +4 -5
  233. package/components/input/epoch/time/fesm2022/index.mjs +5 -6
  234. package/components/input/epoch/time/fesm2022/index.mjs.map +1 -1
  235. package/components/input/epoch/time/types/index.d.ts +4 -4
  236. package/components/input/file-upload/bundles/index.umd.js +4 -4
  237. package/components/input/file-upload/fesm2022/index.mjs +4 -4
  238. package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  239. package/components/input/file-upload/types/index.d.ts +5 -5
  240. package/components/input/number/bundles/index.umd.js +3 -3
  241. package/components/input/number/fesm2022/index.mjs +3 -3
  242. package/components/input/number/fesm2022/index.mjs.map +1 -1
  243. package/components/input/number/types/index.d.ts +1 -1
  244. package/components/input/radioset/bundles/index.umd.js +4 -4
  245. package/components/input/radioset/fesm2022/index.mjs +4 -4
  246. package/components/input/radioset/fesm2022/index.mjs.map +1 -1
  247. package/components/input/radioset/types/index.d.ts +2 -2
  248. package/components/input/rating/bundles/index.umd.js +9 -11
  249. package/components/input/rating/fesm2022/index.mjs +9 -11
  250. package/components/input/rating/fesm2022/index.mjs.map +1 -1
  251. package/components/input/rating/types/index.d.ts +2 -2
  252. package/components/input/select/bundles/index.umd.js +4 -4
  253. package/components/input/select/fesm2022/index.mjs +4 -4
  254. package/components/input/select/fesm2022/index.mjs.map +1 -1
  255. package/components/input/select/types/index.d.ts +1 -1
  256. package/components/input/slider/bundles/index.umd.js +3 -3
  257. package/components/input/slider/fesm2022/index.mjs +3 -3
  258. package/components/input/slider/fesm2022/index.mjs.map +1 -1
  259. package/components/input/slider/types/index.d.ts +1 -1
  260. package/components/input/switch/bundles/index.umd.js +3 -3
  261. package/components/input/switch/fesm2022/index.mjs +3 -3
  262. package/components/input/switch/fesm2022/index.mjs.map +1 -1
  263. package/components/input/switch/types/index.d.ts +1 -1
  264. package/components/input/text/bundles/index.umd.js +31 -35
  265. package/components/input/text/fesm2022/index.mjs +31 -35
  266. package/components/input/text/fesm2022/index.mjs.map +1 -1
  267. package/components/input/text/types/index.d.ts +12 -12
  268. package/components/input/textarea/bundles/index.umd.js +3 -3
  269. package/components/input/textarea/fesm2022/index.mjs +3 -3
  270. package/components/input/textarea/fesm2022/index.mjs.map +1 -1
  271. package/components/input/textarea/types/index.d.ts +2 -2
  272. package/components/navigation/breadcrumb/bundles/index.umd.js +3 -3
  273. package/components/navigation/breadcrumb/fesm2022/index.mjs +3 -3
  274. package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
  275. package/components/navigation/breadcrumb/types/index.d.ts +4 -4
  276. package/components/navigation/menu/bundles/index.umd.js +25 -33
  277. package/components/navigation/menu/fesm2022/index.mjs +25 -33
  278. package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  279. package/components/navigation/menu/types/index.d.ts +21 -21
  280. package/components/navigation/navbar/bundles/index.umd.js +3 -3
  281. package/components/navigation/navbar/fesm2022/index.mjs +3 -3
  282. package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
  283. package/components/navigation/navbar/types/index.d.ts +1 -1
  284. package/components/navigation/popover/bundles/index.umd.js +4 -4
  285. package/components/navigation/popover/fesm2022/index.mjs +4 -4
  286. package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
  287. package/components/navigation/popover/types/index.d.ts +4 -4
  288. package/components/page/default/bundles/index.umd.js +23 -23
  289. package/components/page/default/fesm2022/index.mjs +23 -23
  290. package/components/page/default/fesm2022/index.mjs.map +1 -1
  291. package/components/page/default/types/index.d.ts +14 -14
  292. package/components/page/footer/bundles/index.umd.js +3 -3
  293. package/components/page/footer/fesm2022/index.mjs +3 -3
  294. package/components/page/footer/fesm2022/index.mjs.map +1 -1
  295. package/components/page/footer/types/index.d.ts +1 -1
  296. package/components/page/header/bundles/index.umd.js +3 -3
  297. package/components/page/header/fesm2022/index.mjs +3 -3
  298. package/components/page/header/fesm2022/index.mjs.map +1 -1
  299. package/components/page/header/types/index.d.ts +1 -1
  300. package/components/page/left-panel/bundles/index.umd.js +5 -5
  301. package/components/page/left-panel/fesm2022/index.mjs +5 -5
  302. package/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  303. package/components/page/left-panel/types/index.d.ts +3 -3
  304. package/components/page/right-panel/bundles/index.umd.js +3 -3
  305. package/components/page/right-panel/fesm2022/index.mjs +3 -3
  306. package/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  307. package/components/page/right-panel/types/index.d.ts +1 -1
  308. package/components/page/top-nav/bundles/index.umd.js +3 -3
  309. package/components/page/top-nav/fesm2022/index.mjs +3 -3
  310. package/components/page/top-nav/fesm2022/index.mjs.map +1 -1
  311. package/components/page/top-nav/types/index.d.ts +1 -1
  312. package/components/prefab/bundles/index.umd.js +7 -7
  313. package/components/prefab/fesm2022/index.mjs +7 -7
  314. package/components/prefab/fesm2022/index.mjs.map +1 -1
  315. package/components/prefab/types/index.d.ts +3 -3
  316. package/core/bundles/index.umd.js +84 -89
  317. package/core/fesm2022/index.mjs +84 -89
  318. package/core/fesm2022/index.mjs.map +1 -1
  319. package/core/types/index.d.ts +11 -11
  320. package/http/bundles/index.umd.js +6 -6
  321. package/http/fesm2022/index.mjs +6 -6
  322. package/http/fesm2022/index.mjs.map +1 -1
  323. package/http/types/index.d.ts +1 -1
  324. package/npm-shrinkwrap.json +2 -2
  325. package/oAuth/bundles/index.umd.js +17 -21
  326. package/oAuth/fesm2022/index.mjs +17 -21
  327. package/oAuth/fesm2022/index.mjs.map +1 -1
  328. package/oAuth/types/index.d.ts +1 -1
  329. package/package-lock.json +2 -2
  330. package/package.json +1 -1
  331. package/runtime/base/bundles/index.umd.js +253 -275
  332. package/runtime/base/fesm2022/index.mjs +253 -275
  333. package/runtime/base/fesm2022/index.mjs.map +1 -1
  334. package/runtime/base/types/index.d.ts +90 -96
  335. package/runtime/dynamic/bundles/index.umd.js +28 -28
  336. package/runtime/dynamic/fesm2022/index.mjs +28 -28
  337. package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  338. package/runtime/dynamic/types/index.d.ts +22 -22
  339. package/scripts/datatable/datatable.js +293 -271
  340. package/scripts/tree-keyboard-navigation/keyboard-navigation.js +68 -56
  341. package/security/bundles/index.umd.js +6 -6
  342. package/security/fesm2022/index.mjs +6 -6
  343. package/security/fesm2022/index.mjs.map +1 -1
  344. package/security/types/index.d.ts +5 -5
  345. package/transpiler/bundles/index.umd.js +3 -5
  346. package/transpiler/fesm2022/index.mjs +3 -5
  347. package/transpiler/fesm2022/index.mjs.map +1 -1
  348. package/variables/bundles/index.umd.js +69 -71
  349. package/variables/fesm2022/index.mjs +69 -72
  350. package/variables/fesm2022/index.mjs.map +1 -1
  351. package/variables/types/index.d.ts +9 -9
@@ -159,7 +159,7 @@
159
159
  if (!this.$element.find('.on-demand-datagrid').length && !this.dataNavigator.isDisableNext && this.onDemandLoad) {
160
160
  this.gridOptions.addLoadMoreBtn();
161
161
  }
162
- else if ((this._gridData && this._gridData.length) && (this.dataNavigator.isDisableNext || !this.isDataLoading)) {
162
+ else if ((this._gridData?.length) && (this.dataNavigator.isDisableNext || !this.isDataLoading)) {
163
163
  // when the next page is disabled or when the data is not loading remove the loading/load more button accordingly
164
164
  this.callDataGridMethod('hideLoadingIndicator', this.dataNavigator.isDisableNext, this.infScroll);
165
165
  }
@@ -282,7 +282,7 @@
282
282
  // Filter and Sort Methods
283
283
  this.rowFilter = {};
284
284
  this._searchSortHandler = noop;
285
- this.searchSortHandler = (...args) => { this._searchSortHandler.apply(this, args); };
285
+ this.searchSortHandler = (...args) => { this._searchSortHandler(...args); };
286
286
  this.onRowFilterChange = noop;
287
287
  this.onFilterConditionSelect = noop;
288
288
  this.showClearIcon = noop;
@@ -524,7 +524,7 @@
524
524
  // WMS-18774: If we invoke navigation action variable on rowclick callback, the navigation is triggering outside angular zone so adding ngZone.run
525
525
  this.ngZone.run(() => {
526
526
  // Call row click only if click is triggered by user
527
- if (e && e.hasOwnProperty('originalEvent')) {
527
+ if (e?.hasOwnProperty('originalEvent')) {
528
528
  const rowData = this.addRowIndex(row);
529
529
  this.invokeEventCallback('rowclick', { $data: rowData, $event: e, row: rowData });
530
530
  }
@@ -597,7 +597,7 @@
597
597
  },
598
598
  afterRowUpdate: (row, e, callBack, options) => {
599
599
  i2.muteWatchers();
600
- const v = lodashEs.get(this.datasource, 'category') === 'wm.Variable' && options && options.rowindex != null;
600
+ const v = lodashEs.get(this.datasource, 'category') === 'wm.Variable' && options?.rowindex != null;
601
601
  this.updateRecord(lodashEs.extend({}, options, { row, prevData: v ? options.rowindex : this.prevData, event: e, callBack }));
602
602
  setTimeout(() => {
603
603
  i2.unMuteWatchers();
@@ -808,10 +808,10 @@
808
808
  return this.ngform.controls[fieldName + '_new'] || {};
809
809
  },
810
810
  getValidationMessage: () => {
811
- return this.columns[fieldName] && this.columns[fieldName].validationmessage;
811
+ return this.columns[fieldName]?.validationmessage;
812
812
  },
813
813
  getPendingSpinnerStatusNew: () => {
814
- return this.columns[fieldName] && this.columns[fieldName].showPendingSpinnerNew;
814
+ return this.columns[fieldName]?.showPendingSpinnerNew;
815
815
  }
816
816
  };
817
817
  const rootNode = this.inlineEditNewViewRef.createEmbeddedView(tmpl, context).rootNodes[0];
@@ -834,10 +834,10 @@
834
834
  return this.ngform.controls[fieldName] || {};
835
835
  },
836
836
  getValidationMessage: () => {
837
- return this.columns[fieldName] && this.columns[fieldName].validationmessage;
837
+ return this.columns[fieldName]?.validationmessage;
838
838
  },
839
839
  getPendingSpinnerStatus: () => {
840
- return this.columns[fieldName] && this.columns[fieldName].showPendingSpinner;
840
+ return this.columns[fieldName]?.showPendingSpinner;
841
841
  }
842
842
  };
843
843
  const rootNode = this.inlineEditViewRef.createEmbeddedView(tmpl, context).rootNodes[0];
@@ -854,14 +854,14 @@
854
854
  return this.inlineCompliedTl[fieldName];
855
855
  },
856
856
  setFieldValue: (fieldName, value) => {
857
- const control = this.ngform.controls && this.ngform.controls[fieldName];
857
+ const control = this.ngform.controls?.[fieldName];
858
858
  if (control) {
859
859
  control.setValue(value);
860
860
  }
861
861
  },
862
862
  getFieldValue: fieldName => {
863
- const control = this.ngform.controls && this.ngform.controls[fieldName];
864
- return control && control.value;
863
+ const control = this.ngform.controls?.[fieldName];
864
+ return control?.value;
865
865
  },
866
866
  // function to add load more button to table
867
867
  addLoadMoreBtn: () => {
@@ -880,7 +880,7 @@
880
880
  },
881
881
  // function to bind scroll event
882
882
  bindScrollEvt: () => {
883
- if (this._gridData && this._gridData.length && this.infScroll) {
883
+ if (this._gridData?.length && this.infScroll) {
884
884
  // smoothscroll events will be binded.
885
885
  // Added timeout as the table html is rendered at runtime
886
886
  setTimeout(() => {
@@ -897,7 +897,7 @@
897
897
  const context = {
898
898
  changeFn: this.onRowFilterChange.bind(this),
899
899
  isDisabled: (fieldName) => {
900
- return this.emptyMatchModes.indexOf(this.rowFilter[fieldName] && this.rowFilter[fieldName].matchMode) > -1;
900
+ return this.emptyMatchModes.indexOf(this.rowFilter[fieldName]?.matchMode) > -1;
901
901
  }
902
902
  };
903
903
  const rootNode = this.filterViewRef.createEmbeddedView(tmpl, context).rootNodes[0];
@@ -943,9 +943,9 @@
943
943
  // Function to redraw the widgets on resize of columns
944
944
  redrawWidgets: () => {
945
945
  this.fieldDefs.forEach(col => {
946
- i2.triggerFn(col.inlineInstance && col.inlineInstance.redraw);
947
- i2.triggerFn(col.inlineInstanceNew && col.inlineInstanceNew.redraw);
948
- i2.triggerFn(col.filterInstance && col.filterInstance.redraw);
946
+ i2.triggerFn(col.inlineInstance?.redraw);
947
+ i2.triggerFn(col.inlineInstanceNew?.redraw);
948
+ i2.triggerFn(col.filterInstance?.redraw);
949
949
  });
950
950
  },
951
951
  searchHandler: this.searchSortHandler.bind(this),
@@ -969,17 +969,17 @@
969
969
  callLoadInlineWidgetData: () => {
970
970
  this.fullFieldDefs.forEach(col => {
971
971
  if (lodashEs.isUndefined(col.isDataSetBound)) {
972
- i2.triggerFn(col.loadInlineWidgetData && col.loadInlineWidgetData.bind(col));
972
+ i2.triggerFn(col.loadInlineWidgetData?.bind(col));
973
973
  }
974
974
  });
975
975
  },
976
976
  // Function to apply validators to Inline form controls
977
977
  applyValidations: (col, alwaysNewRow) => {
978
978
  if (alwaysNewRow) {
979
- i2.triggerFn(col.applyNewRowValidations && col.applyNewRowValidations.bind(col));
979
+ i2.triggerFn(col.applyNewRowValidations?.bind(col));
980
980
  }
981
981
  else {
982
- i2.triggerFn(col.applyValidations && col.applyValidations.bind(col));
982
+ i2.triggerFn(col.applyValidations?.bind(col));
983
983
  }
984
984
  },
985
985
  // Function to remove validators and set form state to untouched for inline form control
@@ -987,10 +987,10 @@
987
987
  this.fullFieldDefs.forEach(col => {
988
988
  if (!col.readonly && col.binding !== 'rowOperations') {
989
989
  if (alwaysNewRow) {
990
- i2.triggerFn(col.removeNewRowValidations && col.removeNewRowValidations.bind(col));
990
+ i2.triggerFn(col.removeNewRowValidations?.bind(col));
991
991
  }
992
992
  else {
993
- i2.triggerFn(col.removeValidations && col.removeValidations.bind(col));
993
+ i2.triggerFn(col.removeValidations?.bind(col));
994
994
  }
995
995
  }
996
996
  });
@@ -1017,7 +1017,7 @@
1017
1017
  this._pageLoad = false;
1018
1018
  const widgetState = this.statePersistence.getWidgetState(this);
1019
1019
  if (widgetState) {
1020
- options = this.handleStateParams(widgetState, options);
1020
+ this.handleStateParams(widgetState, options);
1021
1021
  }
1022
1022
  else {
1023
1023
  this.setDataGridOption('selectFirstRow', this.gridfirstrowselect);
@@ -1026,7 +1026,7 @@
1026
1026
  }),
1027
1027
  // Show loading status based on the variable life cycle
1028
1028
  this.app.subscribe('toggle-variable-state', options => {
1029
- if (this.datasource && this.datasource.execute(i2.DataSource.Operation.IS_API_AWARE) && i2.isDataSourceEqual(options.variable, this.datasource)) {
1029
+ if (this.datasource?.execute(i2.DataSource.Operation.IS_API_AWARE) && i2.isDataSourceEqual(options.variable, this.datasource)) {
1030
1030
  if (this._pageLoad && this.getConfiguredState() !== 'none') {
1031
1031
  this._pageLoad = false;
1032
1032
  const widgetState = this.statePersistence.getWidgetState(this);
@@ -1082,13 +1082,11 @@
1082
1082
  if (this.readonlygrid === 'true') {
1083
1083
  this.editmode = '';
1084
1084
  }
1085
+ else if (this.isPartOfLiveGrid) {
1086
+ this.editmode = this.isPartOfLiveGrid.formlayout === 'inline' ? i4.EDIT_MODE.FORM : i4.EDIT_MODE.DIALOG;
1087
+ }
1085
1088
  else {
1086
- if (this.isPartOfLiveGrid) {
1087
- this.editmode = this.isPartOfLiveGrid.formlayout === 'inline' ? i4.EDIT_MODE.FORM : i4.EDIT_MODE.DIALOG;
1088
- }
1089
- else {
1090
- this.editmode = this.readonlygrid ? i4.EDIT_MODE.INLINE : '';
1091
- }
1089
+ this.editmode = this.readonlygrid ? i4.EDIT_MODE.INLINE : '';
1092
1090
  }
1093
1091
  }
1094
1092
  this.gridOptions.colDefs = this.fullFieldDefs;
@@ -1154,7 +1152,7 @@
1154
1152
  }
1155
1153
  getConfiguredState() {
1156
1154
  const mode = this.statePersistence.computeMode(this.statehandler);
1157
- return mode && mode.toLowerCase();
1155
+ return mode?.toLowerCase();
1158
1156
  }
1159
1157
  handleStateParams(widgetState, options) {
1160
1158
  if (lodashEs.get(widgetState, 'selectedItem')) {
@@ -1214,7 +1212,7 @@
1214
1212
  this.rowFilter[filterObj.field].matchMode = filterObj.matchMode;
1215
1213
  this.rowFilter[filterObj.field].type = filterObj.type;
1216
1214
  if ($(this.rowFilterCompliedTl[filterObj.field]).length) {
1217
- filterObj.type === 'integer' ? parseInt(filterObj.value) : filterObj.value;
1215
+ //const val = filterObj.type === 'integer' ? parseInt(filterObj.value) : filterObj.value;
1218
1216
  $(this.rowFilterCompliedTl[filterObj.field]).find('input').val(filterObj.value);
1219
1217
  }
1220
1218
  }
@@ -1297,10 +1295,8 @@
1297
1295
  this.dataNavigator.pageChanged({ page: widgetState.pagination || 1, pagesize: widgetState.pagesize }, true);
1298
1296
  }
1299
1297
  }
1300
- else {
1301
- if (lodashEs.get(widgetState, 'pagination')) {
1302
- this.dataNavigator.pageChanged({ page: widgetState.pagination }, true);
1303
- }
1298
+ else if (lodashEs.get(widgetState, 'pagination')) {
1299
+ this.dataNavigator.pageChanged({ page: widgetState.pagination }, true);
1304
1300
  }
1305
1301
  }
1306
1302
  // After the setting the watch on navigator, dataset is triggered with undefined. In this case, return here.
@@ -1452,7 +1448,7 @@
1452
1448
  this.fullFieldDefs = [];
1453
1449
  this.__fullData = null;
1454
1450
  // MEMORY LEAK FIX: Destroy jQuery datatable widget before clearing gridOptions
1455
- if (this.datagridElement && this.datagridElement.datatable) {
1451
+ if (this.datagridElement?.datatable) {
1456
1452
  try {
1457
1453
  this.datagridElement.datatable('destroy');
1458
1454
  }
@@ -1552,14 +1548,13 @@
1552
1548
  if (data.active) {
1553
1549
  this.callDataGridMethod('setStatus', 'loading', this.loadingdatamsg);
1554
1550
  }
1551
+ else
1552
+ // If grid is in edit mode or grid has data, dont show the no data message
1553
+ if (!this.isGridEditMode && lodashEs.isEmpty(this.dataset)) {
1554
+ this.callDataGridMethod('setStatus', 'nodata', this.nodatamessage);
1555
+ }
1555
1556
  else {
1556
- // If grid is in edit mode or grid has data, dont show the no data message
1557
- if (!this.isGridEditMode && lodashEs.isEmpty(this.dataset)) {
1558
- this.callDataGridMethod('setStatus', 'nodata', this.nodatamessage);
1559
- }
1560
- else {
1561
- this.callDataGridMethod('setStatus', 'ready');
1562
- }
1557
+ this.callDataGridMethod('setStatus', 'ready');
1563
1558
  }
1564
1559
  }
1565
1560
  setDisabledOnField(operation, colDef, widgetType) {
@@ -1616,7 +1611,7 @@
1616
1611
  removeEmptyRecords(serviceData) {
1617
1612
  const allRecords = serviceData;
1618
1613
  let filteredData = [];
1619
- if (allRecords && allRecords.length) {
1614
+ if (allRecords?.length) {
1620
1615
  /*Comparing and pushing the non-empty data columns*/
1621
1616
  filteredData = allRecords.filter(record => {
1622
1617
  return record && !this.isEmptyRecord(record);
@@ -1642,7 +1637,7 @@
1642
1637
  this.gridData = data;
1643
1638
  }
1644
1639
  setDataGridOption(optionName, newVal, forceSet = false) {
1645
- if (!this.datagridElement || !this.datagridElement.datatable || !this.datagridElement.datatable('instance')) {
1640
+ if (!this.datagridElement?.datatable?.('instance')) {
1646
1641
  // Bound properties can update before the jQuery widget is initialized.
1647
1642
  // Keep gridOptions in sync so the initial datatable() call sees the latest value.
1648
1643
  this.gridOptions[optionName] = newVal;
@@ -1656,11 +1651,11 @@
1656
1651
  }
1657
1652
  }
1658
1653
  callDataGridMethod(...args) {
1659
- if (!this.datagridElement || !this.datagridElement.datatable('instance')) {
1654
+ if (!this.datagridElement?.datatable('instance')) {
1660
1655
  this.applyProps.set(args[1], args);
1661
1656
  return; // If datagrid is not initiliazed or destroyed, return here
1662
1657
  }
1663
- return this.datagridElement.datatable.apply(this.datagridElement, args);
1658
+ return this.datagridElement.datatable(...args);
1664
1659
  }
1665
1660
  renderOperationColumns() {
1666
1661
  let rowActionCol, insertPosition;
@@ -1722,16 +1717,14 @@
1722
1717
  if (lodashEs.isEqual(this.dataset, newVal)) {
1723
1718
  this.watchVariableDataSet(newVal);
1724
1719
  }
1720
+ else if (lodashEs.isArray(newVal)) {
1721
+ this.widget.dataset = [].concat(newVal);
1722
+ }
1723
+ else if (lodashEs.isObject(newVal)) {
1724
+ this.widget.dataset = lodashEs.extend({}, newVal);
1725
+ }
1725
1726
  else {
1726
- if (lodashEs.isArray(newVal)) {
1727
- this.widget.dataset = [].concat(newVal);
1728
- }
1729
- else if (lodashEs.isObject(newVal)) {
1730
- this.widget.dataset = lodashEs.extend({}, newVal);
1731
- }
1732
- else {
1733
- this.widget.dataset = newVal;
1734
- }
1727
+ this.widget.dataset = newVal;
1735
1728
  }
1736
1729
  }
1737
1730
  else {
@@ -1769,7 +1762,7 @@
1769
1762
  if (dataset.error) {
1770
1763
  error = dataset.error;
1771
1764
  }
1772
- if (dataset.data && dataset.data.error) {
1765
+ if (dataset.data?.error) {
1773
1766
  if (dataset.data.errorMessage) {
1774
1767
  error = dataset.data.errorMessage;
1775
1768
  }
@@ -1999,7 +1992,7 @@
1999
1992
  getSortExpr() {
2000
1993
  let sortExp;
2001
1994
  let pagingOptions;
2002
- if (this.datasource && this.datasource.execute(i2.DataSource.Operation.IS_PAGEABLE)) {
1995
+ if (this.datasource?.execute(i2.DataSource.Operation.IS_PAGEABLE)) {
2003
1996
  pagingOptions = this.datasource.execute(i2.DataSource.Operation.GET_PAGING_OPTIONS);
2004
1997
  sortExp = lodashEs.isEmpty(pagingOptions) ? '' : i4.getOrderByExpr(pagingOptions.sort);
2005
1998
  }
@@ -2290,7 +2283,7 @@
2290
2283
  }
2291
2284
  onDataSourceChange() {
2292
2285
  this.fieldDefs.forEach(col => {
2293
- i2.triggerFn(col.onDataSourceChange && col.onDataSourceChange.bind(col));
2286
+ i2.triggerFn(col.onDataSourceChange?.bind(col));
2294
2287
  });
2295
2288
  }
2296
2289
  refreshRowFilterDataFromDataset() {
@@ -2298,7 +2291,7 @@
2298
2291
  return;
2299
2292
  }
2300
2293
  this.fieldDefs.forEach(col => {
2301
- i2.triggerFn(col.loadFilterData && col.loadFilterData.bind(col));
2294
+ i2.triggerFn(col.loadFilterData?.bind(col));
2302
2295
  });
2303
2296
  }
2304
2297
  clearActionRowVars() {
@@ -2348,10 +2341,8 @@
2348
2341
  return;
2349
2342
  }
2350
2343
  }
2351
- else {
2352
- if (!tableColumn.pcDisplay) {
2353
- return;
2354
- }
2344
+ else if (!tableColumn.pcDisplay) {
2345
+ return;
2355
2346
  }
2356
2347
  if (tableColumn['primary-key']) {
2357
2348
  this.primaryKey.push(tableColumn.field);
@@ -2536,13 +2527,13 @@
2536
2527
  this._pageLoad = true;
2537
2528
  }
2538
2529
  }
2539
- static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableComponent, deps: [{ token: i0__namespace.Injector }, { token: i0__namespace.EnvironmentInjector }, { token: i1__namespace.FormBuilder }, { token: i2__namespace.App }, { token: i2__namespace.DynamicComponentRefProvider }, { token: i2__namespace.StatePersistence }, { token: i2__namespace.PaginationService }, { token: i2__namespace.Viewport }, { token: i3__namespace.ListComponent, optional: true }, { token: 'dataset.bind', attribute: true }, { token: 'datasource.bind', attribute: true }, { token: 'readonlygrid', attribute: true }, { token: i0__namespace.NgZone }, { token: i4__namespace.TrustAsPipe }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component }); }
2540
- static { this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.20", type: TableComponent, isStandalone: true, selector: "[wmTable]", host: { listeners: { "keypress": "onKeyPress($event)" } }, providers: [
2530
+ static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableComponent, deps: [{ token: i0__namespace.Injector }, { token: i0__namespace.EnvironmentInjector }, { token: i1__namespace.FormBuilder }, { token: i2__namespace.App }, { token: i2__namespace.DynamicComponentRefProvider }, { token: i2__namespace.StatePersistence }, { token: i2__namespace.PaginationService }, { token: i2__namespace.Viewport }, { token: i3__namespace.ListComponent, optional: true }, { token: 'dataset.bind', attribute: true }, { token: 'datasource.bind', attribute: true }, { token: 'readonlygrid', attribute: true }, { token: i0__namespace.NgZone }, { token: i4__namespace.TrustAsPipe }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component }); }
2531
+ static { this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.21", type: TableComponent, isStandalone: true, selector: "[wmTable]", host: { listeners: { "keypress": "onKeyPress($event)" } }, providers: [
2541
2532
  i4.provideAs(TableComponent, i1.NG_VALUE_ACCESSOR, true),
2542
2533
  i4.provideAsWidgetRef(TableComponent)
2543
2534
  ], queries: [{ propertyName: "rowExpansionTmpl", first: true, predicate: ["rowExpansionTmpl"], descendants: true }, { propertyName: "rowActionTmpl", predicate: ["rowActionTmpl"], descendants: true }, { propertyName: "filterTmpl", predicate: ["filterTmpl"], descendants: true }, { propertyName: "inlineWidgetTmpl", predicate: ["inlineWidgetTmpl"], descendants: true }, { propertyName: "inlineWidgetNewTmpl", predicate: ["inlineWidgetTmplNew"], descendants: true }, { propertyName: "customExprTmpl", predicate: ["customExprTmpl"], descendants: true }, { propertyName: "rowExpansionActionTmpl", predicate: ["rowExpansionActionTmpl"], descendants: true }], viewQueries: [{ propertyName: "dataNavigator", first: true, predicate: pagination.PaginationComponent, descendants: true, static: true }, { propertyName: "_tableElement", first: true, predicate: ["datagridElement"], descendants: true, static: true }, { propertyName: "rowActionsViewRef", first: true, predicate: ["rowActionsView"], descendants: true, read: i0.ViewContainerRef, static: true }, { propertyName: "filterViewRef", first: true, predicate: ["multiColumnFilterView"], descendants: true, read: i0.ViewContainerRef, static: true }, { propertyName: "inlineEditViewRef", first: true, predicate: ["inlineEditView"], descendants: true, read: i0.ViewContainerRef, static: true }, { propertyName: "inlineEditNewViewRef", first: true, predicate: ["inlineEditNewView"], descendants: true, read: i0.ViewContainerRef, static: true }, { propertyName: "customExprViewRef", first: true, predicate: ["customExprView"], descendants: true, read: i0.ViewContainerRef, static: true }, { propertyName: "rowDetailViewRef", first: true, predicate: ["rowDetailView"], descendants: true, read: i0.ViewContainerRef, static: true }, { propertyName: "rowExpansionActionViewRef", first: true, predicate: ["rowExpansionActionView"], descendants: true, read: i0.ViewContainerRef, static: true }, { propertyName: "dynamicTableRef", first: true, predicate: ["dynamicTable"], descendants: true, read: i0.ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0__namespace, template: "@if (title || subheading || iconclass || iconurl || exportOptions.length || _actions.header.length) {\n <div class=\"panel-heading\">\n <h3 class=\"panel-title\">\n <div class=\"pull-left\">\n @if (iconclass || iconurl) {\n <wm-app-icon [iconclass]=\"iconclass\" [iconurl]=\"iconurl\" [iconClasses]=\"iconurl ? 'panel-image-icon' : 'panel-icon'\" alt=\"Table icon\"></wm-app-icon>\n }\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n @if (exportOptions.length || _actions.header.length) {\n <div class=\"panel-actions app-datagrid-actions\">\n @for (btn of _actions.header; track btn; let index = $index) {\n <ng-container\n [ngTemplateOutlet]=\"btn.widgetType === 'button' ? buttonRef : anchorRef\"\n [ngTemplateOutletContext]=\"{btn:btn}\"\n [ngTemplateOutletInjector]=\"createCustomInjector('actions_header_' + index, {btn:btn})\">\n </ng-container>\n }\n @if (exportOptions.length) {\n <div wmMenu dropdown caption.bind=\"appLocale.LABEL_EXPORT\" autoclose=\"always\" attr.name=\"{{name}}-export\"\n dataset.bind=\"exportOptions\" select.event=\"export($item)\" menuposition=\"down,left\"></div>\n }\n </div>\n }\n </h3>\n </div>\n}\n<div class=\"app-datagrid\" #datagridElement></div>\n\n<div class=\"panel-footer clearfix\" [hidden]=\"!_actions.footer.length && (!shownavigation || (onDemandLoad && dataNavigator.isDisableNext)) \">\n <div class=\"app-datagrid-paginator\" [hidden]=\"(!dataNavigator?.dataSize && !dataNavigator.datasource?.pagination?.next) || !shownavigation || (onDemandLoad && dataNavigator.isDisableNext)\">\n <nav wmPagination show.bind=\"shownavigation\" navigationalign.bind=\"navigationalign\"\n navigationsize.bind=\"navigationSize\"\n navigation.bind=\"navControls\" showrecordcount.bind=\"showrecordcount\" maxsize.bind=\"maxsize\"\n boundarylinks.bind=\"boundarylinks\"\n forceellipses.bind=\"forceellipses\" directionlinks.bind=\"directionlinks\"></nav>\n </div>\n @if (_actions.footer.length) {\n <div class=\"app-datagrid-actions\">\n @for (btn of _actions.footer; track btn; let index = $index) {\n <ng-container\n [ngTemplateOutlet]=\"btn.widgetType === 'button' ? buttonRef : anchorRef\"\n [ngTemplateOutletContext]=\"{btn:btn}\"\n [ngTemplateOutletInjector]=\"createCustomInjector('actions_footer_' + index, {btn:btn})\">\n </ng-container>\n }\n </div>\n }\n</div>\n\n<ng-template #buttonRef let-btn=\"btn\">\n <button wmButton caption.bind=\"btn.displayName\" show.bind=\"btn.show\" class.bind=\"btn.class\" iconclass.bind=\"btn.iconclass\" (click)=\"invokeActionEvent($event, btn.action)\"\n [ngClass]=\"{'btn-sm': spacing === 'condensed', 'disabled-new': btn.key === 'addNewRow' && (isGridEditMode || isLoading)}\"\n type=\"button\" shortcutkey.bind=\"btn.shortcutkey\" tabindex.bind=\"btn.tabindex\" hint.bind=\"btn.title\" [attr.aria-label]=\"btn.displayName\" disabled.bind=\"btn.disabled\" conditionalclass.bind=\"btn.conditionalclass\" conditionalstyle.bind=\"btn.conditionalstyle\"></button>\n</ng-template>\n\n<ng-template #anchorRef let-btn=\"btn\">\n <a wmAnchor caption.bind=\"btn.displayName\" show.bind=\"btn.show\" class.bind=\"btn.class\" iconclass.bind=\"btn.iconclass\" (click)=\"invokeActionEvent($event, btn.action)\"\n [ngClass]=\"{'btn-sm': spacing === 'condensed', 'disabled-new': btn.key === 'addNewRow' && (isGridEditMode || isLoading)}\"\n shortcutkey.bind=\"btn.shortcutkey\" tabindex.bind=\"btn.tabindex\" hint.bind=\"btn.title\"\n hyperlink.bind=\"btn.hyperlink\" target.bind=\"btn.target\" conditionalclass.bind=\"btn.conditionalclass\" conditionalstyle.bind=\"btn.conditionalstyle\"></a>\n</ng-template>\n\n<div hidden>\n <ng-container #multiColumnFilterView></ng-container>\n\n <ng-container #inlineEditView></ng-container>\n\n <ng-container #inlineEditNewView></ng-container>\n\n <ng-container #rowActionsView></ng-container>\n\n <ng-container #rowExpansionActionView></ng-container>\n\n <ng-container #customExprView></ng-container>\n\n <ng-container #dynamicTable></ng-container>\n\n <ng-container #rowDetailView></ng-container>\n\n <div class=\"dynamic-table-container\"></div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: i5.CommonModule }, { kind: "directive", type: i5__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: anchor.AnchorComponent, selector: "a[wmAnchor]", exportAs: ["wmAnchor"] }, { kind: "component", type: pagination.PaginationComponent, selector: "[wmPagination]", outputs: ["resultEmitter", "maxResultsEmitter"] }, { kind: "component", type: button.ButtonComponent, selector: "button[wmButton]", exportAs: ["wmButton"] }, { kind: "ngmodule", type: i6.BsDropdownModule }, { kind: "directive", type: i6__namespace.BsDropdownDirective, selector: "[bsDropdown], [dropdown]", inputs: ["placement", "triggers", "container", "dropup", "autoClose", "isAnimated", "insideClick", "isDisabled", "isOpen"], outputs: ["isOpenChange", "onShown", "onHidden"], exportAs: ["bs-dropdown"] }, { kind: "component", type: menu.MenuComponent, selector: "[wmMenu]" }, { kind: "component", type: i4.WmAppIconComponent, selector: "wm-app-icon", inputs: ["icon", "iconclass", "iconurl", "defaultIconClass", "defaultClasses", "iconStyle", "alt"] }] }); }
2544
2535
  }
2545
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableComponent, decorators: [{
2536
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableComponent, decorators: [{
2546
2537
  type: i0.Component,
2547
2538
  args: [{ standalone: true, imports: [i5.CommonModule, anchor.AnchorComponent, pagination.PaginationComponent, button.ButtonComponent, i6.BsDropdownModule, menu.MenuComponent, i4.WmAppIconComponent], selector: '[wmTable]', providers: [
2548
2539
  i4.provideAs(TableComponent, i1.NG_VALUE_ACCESSOR, true),
@@ -2694,7 +2685,7 @@
2694
2685
  dataSource.execute(i2.DataSource.Operation.FETCH_DISTINCT_VALUES);
2695
2686
  if (!this.table.isNavigationEnabled()) {
2696
2687
  const sortInfo = this.table.sortInfo;
2697
- const sortOptions = sortInfo && sortInfo.direction ? (sortInfo.field + ' ' + sortInfo.direction) : '';
2688
+ const sortOptions = sortInfo?.direction ? (sortInfo.field + ' ' + sortInfo.direction) : '';
2698
2689
  i4.refreshDataSource(dataSource, {
2699
2690
  page: 1,
2700
2691
  filterFields: this.table.getFilterFields(this.table.filterInfo),
@@ -2896,7 +2887,7 @@
2896
2887
  deleteSuccessHandler(row, response, evt, callBack) {
2897
2888
  /* check the response whether the data successfully deleted or not , if any error occurred show the
2898
2889
  * corresponding error , other wise remove the row from grid */
2899
- if (response && response.error) {
2890
+ if (response?.error) {
2900
2891
  if (!this.table.onError) {
2901
2892
  this.table.toggleMessage(true, 'error', this.table.errormessage || response.error);
2902
2893
  }
@@ -3010,24 +3001,23 @@
3010
3001
  this.triggerWMEvent('update');
3011
3002
  return;
3012
3003
  }
3013
- if (evt && evt.target) {
3004
+ if (evt?.target) {
3014
3005
  this.table.callDataGridMethod('toggleEditRow', evt, { 'selectRow': true, action: 'edit' });
3015
3006
  }
3007
+ else
3008
+ // For live form, call the update function with selected item
3009
+ if (this.table.editmode === 'form' || this.table.editmode === 'dialog') {
3010
+ row = evt || this.table.selectedItems[0];
3011
+ this.table.gridOptions.beforeRowUpdate(row);
3012
+ }
3016
3013
  else {
3017
- // For live form, call the update function with selected item
3018
- if (this.table.editmode === 'form' || this.table.editmode === 'dialog') {
3019
- row = evt || this.table.selectedItems[0];
3020
- this.table.gridOptions.beforeRowUpdate(row);
3021
- }
3022
- else {
3023
- // Wait for the selected item to get updated
3024
- setTimeout(() => {
3025
- row = this.table.datagridElement.find('tr.active');
3026
- if (row.length) {
3027
- this.table.callDataGridMethod('toggleEditRow', undefined, { $row: row, action: 'edit' });
3028
- }
3029
- });
3030
- }
3014
+ // Wait for the selected item to get updated
3015
+ setTimeout(() => {
3016
+ row = this.table.datagridElement.find('tr.active');
3017
+ if (row.length) {
3018
+ this.table.callDataGridMethod('toggleEditRow', undefined, { $row: row, action: 'edit' });
3019
+ }
3020
+ });
3031
3021
  }
3032
3022
  this.table._triggeredByUser = true;
3033
3023
  // Fix for [WMS-23263]: set 'isDataUpdatedByUser' flag to false since dataset is not being updated from script
@@ -3054,7 +3044,7 @@
3054
3044
  }
3055
3045
  deleteRow(evt) {
3056
3046
  let row;
3057
- if (evt && evt.target) {
3047
+ if (evt?.target) {
3058
3048
  this.table.callDataGridMethod('deleteRowAndUpdateSelectAll', evt);
3059
3049
  }
3060
3050
  else {
@@ -3092,10 +3082,10 @@
3092
3082
  this.dialogService = null;
3093
3083
  this.app = null;
3094
3084
  }
3095
- static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableCUDDirective, deps: [{ token: TableComponent, self: true }, { token: i2__namespace.AbstractDialogService }, { token: i2__namespace.App }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
3096
- static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.20", type: TableCUDDirective, isStandalone: true, selector: "[wmTableCUD]", ngImport: i0__namespace }); }
3085
+ static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableCUDDirective, deps: [{ token: TableComponent, self: true }, { token: i2__namespace.AbstractDialogService }, { token: i2__namespace.App }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
3086
+ static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: TableCUDDirective, isStandalone: true, selector: "[wmTableCUD]", ngImport: i0__namespace }); }
3097
3087
  }
3098
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableCUDDirective, decorators: [{
3088
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableCUDDirective, decorators: [{
3099
3089
  type: i0.Directive,
3100
3090
  args: [{
3101
3091
  standalone: true,
@@ -3222,7 +3212,7 @@
3222
3212
  };
3223
3213
  // Set the filter fields as required by datasource
3224
3214
  const setFilterFields = (filterFields, searchObj, visibleCols = []) => {
3225
- const field = searchObj && searchObj.field;
3215
+ const field = searchObj?.field;
3226
3216
  /*Set the filter options when a field/column has been selected.*/
3227
3217
  if (field) {
3228
3218
  filterFields[field] = {
@@ -3426,7 +3416,7 @@
3426
3416
  }
3427
3417
  // Returns data sorted using sortObj
3428
3418
  getSortResult(data, sortObj) {
3429
- if (sortObj && sortObj.direction) {
3419
+ if (sortObj?.direction) {
3430
3420
  const sampleItem = lodashEs.find(data, (item) => {
3431
3421
  const v = lodashEs.get(item, sortObj.field);
3432
3422
  return typeof v === 'string' && !!v.trim();
@@ -3523,7 +3513,7 @@
3523
3513
  $row.hide();
3524
3514
  }
3525
3515
  });
3526
- if (data && data.length) {
3516
+ if (data?.length) {
3527
3517
  this.table.callDataGridMethod('setStatus', 'ready');
3528
3518
  // Select the first row after the search for single select
3529
3519
  if (this.table.gridfirstrowselect && !this.table.multiselect) {
@@ -3543,7 +3533,7 @@
3543
3533
  return;
3544
3534
  }
3545
3535
  const sortInfo = this.table.sortInfo;
3546
- const sortOptions = sortInfo && sortInfo.direction ? (sortInfo.field + ' ' + sortInfo.direction) : '';
3536
+ const sortOptions = sortInfo?.direction ? (sortInfo.field + ' ' + sortInfo.direction) : '';
3547
3537
  const filterFields = this.getFilterFields(searchObj);
3548
3538
  const logicalOp = this.getLogicalOperator(filterFields);
3549
3539
  i4.refreshDataSource(this.table.datasource, {
@@ -3563,7 +3553,7 @@
3563
3553
  this.table.gridOptions.sortInfo.field = sortObj.field;
3564
3554
  this.table.gridOptions.sortInfo.direction = sortObj.direction;
3565
3555
  this.table.sortInfo = i2.getClonedObject(sortObj);
3566
- const sortOptions = sortObj && sortObj.direction ? (sortObj.field + ' ' + sortObj.direction) : '';
3556
+ const sortOptions = sortObj?.direction ? (sortObj.field + ' ' + sortObj.direction) : '';
3567
3557
  const filterFields = this.getFilterFields(this.table.filterInfo);
3568
3558
  const condition = this.getLogicalOperator(filterFields);
3569
3559
  if (!statePersistenceTriggered && this.table.getConfiguredState() !== 'none') {
@@ -3576,7 +3566,7 @@
3576
3566
  condition: condition
3577
3567
  }).then((response) => {
3578
3568
  i2.$appDigest();
3579
- const data = (response && response.data) ? response.data : response;
3569
+ const data = (response?.data) ? response.data : response;
3580
3570
  this.table.invokeEventCallback('sort', { $event: e, $data: {
3581
3571
  data,
3582
3572
  sortDirection: sortObj.direction,
@@ -3651,11 +3641,11 @@
3651
3641
  filterFields.push({ field: key, matchMode: val.matchMode, type: val.type, value: val.value });
3652
3642
  });
3653
3643
  }
3654
- if (dataSource && dataSource.execute(i2.DataSource.Operation.SUPPORTS_SERVER_FILTER)) {
3644
+ if (dataSource?.execute(i2.DataSource.Operation.SUPPORTS_SERVER_FILTER)) {
3655
3645
  this.handleServerSideSearch(filterFields);
3656
3646
  return;
3657
3647
  }
3658
- if (dataSource && dataSource.execute(i2.DataSource.Operation.IS_API_AWARE) && dataSource.execute(i2.DataSource.Operation.IS_PAGEABLE)) {
3648
+ if (dataSource?.execute(i2.DataSource.Operation.IS_API_AWARE) && dataSource.execute(i2.DataSource.Operation.IS_PAGEABLE)) {
3659
3649
  this.handleSinglePageSearch(filterFields);
3660
3650
  }
3661
3651
  else {
@@ -3681,7 +3671,7 @@
3681
3671
  console.warn('Retain State handling on Widget ' + this.table.name + ' is not supported for current pagination type.');
3682
3672
  }
3683
3673
  // WMS-22387: For server side pagination, execute client side sorting
3684
- if (dataSource && dataSource.execute(i2.DataSource.Operation.IS_SORTABLE)) {
3674
+ if (dataSource?.execute(i2.DataSource.Operation.IS_SORTABLE)) {
3685
3675
  this.handleSeverSideSort(searchSortObj, e, statePersistenceTriggered);
3686
3676
  }
3687
3677
  else {
@@ -3711,12 +3701,12 @@
3711
3701
  }
3712
3702
  // Method to show/hide clear icon in multi column filter
3713
3703
  showClearIcon(fieldName) {
3714
- const value = this.table.rowFilter[fieldName] && this.table.rowFilter[fieldName].value;
3704
+ const value = this.table.rowFilter[fieldName]?.value;
3715
3705
  return i2.isDefined(value) && value !== '' && value !== null;
3716
3706
  }
3717
3707
  // Method clear the filter value in multi column filter
3718
3708
  clearRowFilter(fieldName) {
3719
- if (this.table.rowFilter && this.table.rowFilter[fieldName]) {
3709
+ if (this.table.rowFilter?.[fieldName]) {
3720
3710
  this.table.columns[fieldName].resetFilter();
3721
3711
  this.onRowFilterChange(fieldName);
3722
3712
  }
@@ -3730,21 +3720,20 @@
3730
3720
  this.table.columns[fieldName].resetFilter();
3731
3721
  this.table.onRowFilterChange();
3732
3722
  }
3723
+ else
3724
+ // If value is present, call the filter. Else, focus on the field
3725
+ if (i2.isDefined(this.table.rowFilter[fieldName].value) && this.table.rowFilter[fieldName].value !== '') {
3726
+ this.table.onRowFilterChange();
3727
+ }
3733
3728
  else {
3734
- // If value is present, call the filter. Else, focus on the field
3735
- if (i2.isDefined(this.table.rowFilter[fieldName].value) && this.table.rowFilter[fieldName].value !== '') {
3736
- this.table.onRowFilterChange();
3737
- }
3738
- else {
3739
- setTimeout(() => {
3740
- this.table.columns[fieldName].filterInstance.focus();
3741
- });
3742
- }
3729
+ setTimeout(() => {
3730
+ this.table.columns[fieldName].filterInstance.focus();
3731
+ });
3743
3732
  }
3744
3733
  }
3745
3734
  // Method to get the updated values when filter on field is changed for multicolumn filter
3746
3735
  getFilterOnFieldValues(filterDef) {
3747
- if (!this.table.datasource || !this.table.datasource.execute(i2.DataSource.Operation.SUPPORTS_DISTINCT_API)) {
3736
+ if (!this.table.datasource?.execute(i2.DataSource.Operation.SUPPORTS_DISTINCT_API)) {
3748
3737
  return;
3749
3738
  }
3750
3739
  const fieldName = filterDef.field;
@@ -3805,7 +3794,7 @@
3805
3794
  }
3806
3795
  const page = isSamePage ? this.table.dataNavigator.dn.currentPage : 1;
3807
3796
  const sortInfo = this.table.sortInfo;
3808
- const sortOptions = sortInfo && sortInfo.direction ? (sortInfo.field + ' ' + sortInfo.direction) : '';
3797
+ const sortOptions = sortInfo?.direction ? (sortInfo.field + ' ' + sortInfo.direction) : '';
3809
3798
  const filterFields = this.getFilterFields(this.table.filterInfo);
3810
3799
  const logicalOp = this.getLogicalOperator(filterFields);
3811
3800
  i4.refreshDataSource(this.table.datasource, {
@@ -3819,10 +3808,10 @@
3819
3808
  // MEMORY LEAK FIX: Clear table reference
3820
3809
  this.table = null;
3821
3810
  }
3822
- static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableFilterSortDirective, deps: [{ token: TableComponent, self: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
3823
- static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.20", type: TableFilterSortDirective, isStandalone: true, selector: "[wmTableFilterSort]", ngImport: i0__namespace }); }
3811
+ static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableFilterSortDirective, deps: [{ token: TableComponent, self: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
3812
+ static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: TableFilterSortDirective, isStandalone: true, selector: "[wmTableFilterSort]", ngImport: i0__namespace }); }
3824
3813
  }
3825
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableFilterSortDirective, decorators: [{
3814
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableFilterSortDirective, decorators: [{
3826
3815
  type: i0.Directive,
3827
3816
  args: [{
3828
3817
  standalone: true,
@@ -3912,12 +3901,12 @@
3912
3901
  // Call parent ngOnDestroy (BaseComponent has cleanup)
3913
3902
  super.ngOnDestroy();
3914
3903
  }
3915
- static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableActionDirective, deps: [{ token: i0__namespace.Injector }, { token: TableComponent, optional: true }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
3916
- static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.20", type: TableActionDirective, isStandalone: true, selector: "[wmTableAction]", providers: [
3904
+ static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableActionDirective, deps: [{ token: i0__namespace.Injector }, { token: TableComponent, optional: true }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
3905
+ static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: TableActionDirective, isStandalone: true, selector: "[wmTableAction]", providers: [
3917
3906
  i4.provideAsWidgetRef(TableActionDirective)
3918
3907
  ], usesInheritance: true, ngImport: i0__namespace }); }
3919
3908
  }
3920
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableActionDirective, decorators: [{
3909
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableActionDirective, decorators: [{
3921
3910
  type: i0.Directive,
3922
3911
  args: [{
3923
3912
  standalone: true,
@@ -4084,12 +4073,12 @@
4084
4073
  // Call parent ngOnDestroy (BaseComponent has cleanup)
4085
4074
  super.ngOnDestroy();
4086
4075
  }
4087
- static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableColumnGroupDirective, deps: [{ token: i0__namespace.Injector }, { token: TableColumnGroupDirective, optional: true, skipSelf: true }, { token: TableComponent, optional: true }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
4088
- static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.20", type: TableColumnGroupDirective, isStandalone: true, selector: "[wmTableColumnGroup]", providers: [
4076
+ static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableColumnGroupDirective, deps: [{ token: i0__namespace.Injector }, { token: TableColumnGroupDirective, optional: true, skipSelf: true }, { token: TableComponent, optional: true }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
4077
+ static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: TableColumnGroupDirective, isStandalone: true, selector: "[wmTableColumnGroup]", providers: [
4089
4078
  i4.provideAsWidgetRef(TableColumnGroupDirective)
4090
4079
  ], usesInheritance: true, ngImport: i0__namespace }); }
4091
4080
  }
4092
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableColumnGroupDirective, decorators: [{
4081
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableColumnGroupDirective, decorators: [{
4093
4082
  type: i0.Directive,
4094
4083
  args: [{
4095
4084
  standalone: true,
@@ -4187,7 +4176,7 @@
4187
4176
  // when column is inside a group then consider the col index and not header index.
4188
4177
  const colIndex = parseInt(this.getAttr('index'), 10);
4189
4178
  const headerIndex = parseInt(this.getAttr('headerIndex'), 10);
4190
- const fieldName = this.group && this.group.name;
4179
+ const fieldName = this.group?.name;
4191
4180
  // Register column with header config to create group structure
4192
4181
  i4.setHeaderConfigForTable(this.table.headerConfig, {
4193
4182
  field: this.field,
@@ -4222,7 +4211,7 @@
4222
4211
  if (this._isRowFilter) {
4223
4212
  // Listen on the inner row filter widget and setup the widget
4224
4213
  const s1 = this._filterInstances.changes.subscribe((val) => {
4225
- this.filterInstance = val.first && val.first.widget;
4214
+ this.filterInstance = val.first?.widget;
4226
4215
  this.setUpFilterWidget();
4227
4216
  });
4228
4217
  this.registerDestroyListener(() => s1.unsubscribe());
@@ -4230,7 +4219,7 @@
4230
4219
  if (this._isInlineEditable) {
4231
4220
  const s2 = this._inlineInstances.changes.subscribe((val) => {
4232
4221
  // Listen on the inner inline widget and setup the widget
4233
- this.inlineInstance = val.first && val.first.widget;
4222
+ this.inlineInstance = val.first?.widget;
4234
4223
  this.fieldValidations.formwidget = val.first;
4235
4224
  this.table.registerFormField(this.binding, new FieldDef(this.inlineInstance));
4236
4225
  this.setUpInlineWidget('inlineInstance');
@@ -4239,7 +4228,7 @@
4239
4228
  if (this._isNewEditableRow) {
4240
4229
  const s3 = this._inlineInstancesNew.changes.subscribe((val) => {
4241
4230
  // Listen on the inner inline widget and setup the widget
4242
- this.inlineInstanceNew = val.first && val.first.widget;
4231
+ this.inlineInstanceNew = val.first?.widget;
4243
4232
  this.fieldValidations_new.formwidget = val.first;
4244
4233
  this.setUpInlineWidget('inlineInstanceNew');
4245
4234
  });
@@ -4279,7 +4268,7 @@
4279
4268
  // Remove validators for the inline widget and set form to untouched
4280
4269
  removeValidations() {
4281
4270
  // Guard against component destruction or table/ngform being null
4282
- if (this.isDestroyed || !this.table || !this.table.ngform) {
4271
+ if (this.isDestroyed || !this.table?.ngform) {
4283
4272
  return;
4284
4273
  }
4285
4274
  this.table.ngform.markAsUntouched();
@@ -4294,7 +4283,7 @@
4294
4283
  // Apply default|sync|async|prop validators for QuickEdit new row form control
4295
4284
  applyNewRowValidations() {
4296
4285
  // Guard against component destruction or table/ngform being null
4297
- if (this.isDestroyed || !this.table || !this.table.ngform) {
4286
+ if (this.isDestroyed || !this.table?.ngform) {
4298
4287
  return;
4299
4288
  }
4300
4289
  if (!this._checkNewEditableRowControl()) {
@@ -4314,7 +4303,7 @@
4314
4303
  // Remove validators for the QuickEdit new row widget and set form to untouched
4315
4304
  removeNewRowValidations() {
4316
4305
  // Guard against component destruction or table/ngform being null
4317
- if (this.isDestroyed || !this.table || !this.table.ngform) {
4306
+ if (this.isDestroyed || !this.table?.ngform) {
4318
4307
  return;
4319
4308
  }
4320
4309
  this.table.ngform.markAsUntouched();
@@ -4331,7 +4320,7 @@
4331
4320
  }
4332
4321
  addFormControl(suffix) {
4333
4322
  // Guard against component destruction or table/ngform being null
4334
- if (this.isDestroyed || !this.table || !this.table.ngform) {
4323
+ if (this.isDestroyed || !this.table?.ngform) {
4335
4324
  return;
4336
4325
  }
4337
4326
  const ctrlName = suffix ? (this.binding + suffix) : this.binding;
@@ -4339,7 +4328,7 @@
4339
4328
  }
4340
4329
  getFormControl(suffix) {
4341
4330
  // Guard against component destruction or table/ngform being null
4342
- if (this.isDestroyed || !this.table || !this.table.ngform) {
4331
+ if (this.isDestroyed || !this.table?.ngform) {
4343
4332
  return null;
4344
4333
  }
4345
4334
  const ctrlName = suffix ? (this.binding + suffix) : this.binding;
@@ -4398,7 +4387,7 @@
4398
4387
  // When a row-filter widget value changes (multi-column filter),
4399
4388
  // apply cascading filter so dependent filter widgets update their datasets.
4400
4389
  // Example: filtering City should narrow down Street filter options.
4401
- if (this.isDestroyed || !this.table || !this.table.datasource) {
4390
+ if (this.isDestroyed || !this.table?.datasource) {
4402
4391
  return;
4403
4392
  }
4404
4393
  // Don't cascade on null/undefined; clearing a filter should reset dependent datasets via their own refresh.
@@ -4410,7 +4399,7 @@
4410
4399
  }
4411
4400
  // Get of the active from control
4412
4401
  get datavalue() {
4413
- return this[this.activeControlType] && this[this.activeControlType].datavalue;
4402
+ return this[this.activeControlType]?.datavalue;
4414
4403
  }
4415
4404
  set datavalue(val) {
4416
4405
  const control = this.getFormControl(this.activeControlType === 'inlineInstanceNew' ? '_new' : undefined);
@@ -4438,7 +4427,7 @@
4438
4427
  widget: 'edit-widget-type'
4439
4428
  });
4440
4429
  }
4441
- if (this.table.ngform && this.table.ngform.touched) {
4430
+ if (this.table.ngform?.touched) {
4442
4431
  this.activeControlType = widget;
4443
4432
  if (widget === 'inlineInstance') {
4444
4433
  this.notifyChanges();
@@ -4643,7 +4632,7 @@
4643
4632
  this.ngclass = this['col-ng-class'];
4644
4633
  this.formatpattern = this.formatpattern === 'toNumber' ? 'numberToString' : this.formatpattern;
4645
4634
  this.searchable = (this.type === 'blob' || this.type === 'clob') ? false : this.searchable;
4646
- this.showinfilter = (this.nativeElement.hasAttribute('showinfilter') && !(this.table && this.table.isdynamictable)) ? this.nativeElement.getAttribute('showinfilter') : (this.show);
4635
+ this.showinfilter = (this.nativeElement.hasAttribute('showinfilter') && !(this.table?.isdynamictable)) ? this.nativeElement.getAttribute('showinfilter') : (this.show);
4647
4636
  this.limit = this.limit ? +this.limit : undefined;
4648
4637
  this.editWidgetType = this['edit-widget-type'] = this['edit-widget-type'] || i4.getEditModeWidget(this);
4649
4638
  this.filterOn = this['filter-on'];
@@ -4677,7 +4666,7 @@
4677
4666
  this.setProperty('displayName', this.displayName);
4678
4667
  // Fix for [WMS-25934]: update the headerConfig list when there is change in display name
4679
4668
  // when column is inside a group then consider the col index and not header index.
4680
- const fieldName = this.group && this.group.name;
4669
+ const fieldName = this.group?.name;
4681
4670
  const index = fieldName ? parseInt(this.getAttr('index'), 10) : parseInt(this.getAttr('headerIndex'), 10);
4682
4671
  // Register column with header config to create group structure
4683
4672
  if (!this.table.headerConfig.some(value => this.field == value.field)) {
@@ -4813,12 +4802,12 @@
4813
4802
  // Call parent ngOnDestroy
4814
4803
  super.ngOnDestroy();
4815
4804
  }
4816
- static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableColumnDirective, deps: [{ token: i0__namespace.Injector }, { token: i2__namespace.AppDefaults }, { token: TableComponent, optional: true }, { token: TableColumnGroupDirective, optional: true }, { token: 'filterdataset.bind', attribute: true }, { token: 'dataset.bind', attribute: true }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
4817
- static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.20", type: TableColumnDirective, isStandalone: true, selector: "[wmTableColumn]", providers: [
4805
+ static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableColumnDirective, deps: [{ token: i0__namespace.Injector }, { token: i2__namespace.AppDefaults }, { token: TableComponent, optional: true }, { token: TableColumnGroupDirective, optional: true }, { token: 'filterdataset.bind', attribute: true }, { token: 'dataset.bind', attribute: true }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
4806
+ static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: TableColumnDirective, isStandalone: true, selector: "[wmTableColumn]", providers: [
4818
4807
  i4.provideAsWidgetRef(TableColumnDirective)
4819
4808
  ], queries: [{ propertyName: "customExprTmpl", first: true, predicate: ["customExprTmpl"], descendants: true }, { propertyName: "inlineWidthTempRef", first: true, predicate: ["inlineWidgetTmpl"], descendants: true }, { propertyName: "filterTemplateRef", first: true, predicate: ["filterTmpl"], descendants: true }, { propertyName: "_filterInstances", predicate: ["filterWidget"], descendants: true }, { propertyName: "_inlineInstances", predicate: ["inlineWidget"], descendants: true }, { propertyName: "_inlineInstancesNew", predicate: ["inlineWidgetNew"], descendants: true }], usesInheritance: true, ngImport: i0__namespace }); }
4820
4809
  }
4821
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableColumnDirective, decorators: [{
4810
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableColumnDirective, decorators: [{
4822
4811
  type: i0.Directive,
4823
4812
  args: [{
4824
4813
  standalone: true,
@@ -4914,12 +4903,12 @@
4914
4903
  // Call parent ngOnDestroy (BaseComponent has cleanup)
4915
4904
  super.ngOnDestroy();
4916
4905
  }
4917
- static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableRowDirective, deps: [{ token: i0__namespace.Injector }, { token: TableComponent, optional: true, skipSelf: true }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
4918
- static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.20", type: TableRowDirective, isStandalone: true, selector: "[wmTableRow]", providers: [
4906
+ static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableRowDirective, deps: [{ token: i0__namespace.Injector }, { token: TableComponent, optional: true, skipSelf: true }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
4907
+ static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: TableRowDirective, isStandalone: true, selector: "[wmTableRow]", providers: [
4919
4908
  i4.provideAsWidgetRef(TableRowDirective)
4920
4909
  ], usesInheritance: true, ngImport: i0__namespace }); }
4921
4910
  }
4922
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableRowDirective, decorators: [{
4911
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableRowDirective, decorators: [{
4923
4912
  type: i0.Directive,
4924
4913
  args: [{
4925
4914
  standalone: true,
@@ -5002,13 +4991,13 @@
5002
4991
  // Call parent ngOnDestroy (BaseComponent has cleanup)
5003
4992
  super.ngOnDestroy();
5004
4993
  }
5005
- static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableRowActionDirective, deps: [{ token: i0__namespace.Injector }, { token: TableComponent, optional: true }, { token: i4.Context, self: true }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
5006
- static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.20", type: TableRowActionDirective, isStandalone: true, selector: "[wmTableRowAction]", providers: [
4994
+ static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableRowActionDirective, deps: [{ token: i0__namespace.Injector }, { token: TableComponent, optional: true }, { token: i4.Context, self: true }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
4995
+ static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: TableRowActionDirective, isStandalone: true, selector: "[wmTableRowAction]", providers: [
5007
4996
  i4.provideAsWidgetRef(TableRowActionDirective),
5008
4997
  { provide: i4.Context, useFactory: () => { return {}; }, multi: true }
5009
4998
  ], usesInheritance: true, ngImport: i0__namespace }); }
5010
4999
  }
5011
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: TableRowActionDirective, decorators: [{
5000
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: TableRowActionDirective, decorators: [{
5012
5001
  type: i0.Directive,
5013
5002
  args: [{
5014
5003
  standalone: true,