@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
@@ -653,7 +653,7 @@
653
653
  if (completed)
654
654
  return;
655
655
  const text = iFrameElement.contents().find('body').text();
656
- if (text && text.trim()) {
656
+ if (text?.trim()) {
657
657
  completed = true;
658
658
  let message;
659
659
  try {
@@ -773,13 +773,28 @@
773
773
  */
774
774
  let targetNodeKey;
775
775
  if (DOT_EXPR_REX.test(target)) {
776
- targetNodeKey = target.replace(/^(\[["'])|(["']\])$/g, '');
776
+ targetNodeKey = target.replace(/(^\[["'])|(["']\]$)/g, '');
777
777
  }
778
778
  else {
779
779
  targetNodeKey = target.split('.').pop();
780
780
  }
781
781
  return targetNodeKey;
782
782
  };
783
+ const applyMultiSlotValue = (targetObj, targetNodeKey, obj, value) => {
784
+ let values = targetObj[targetNodeKey];
785
+ if (!lodashEs.isArray(values)) {
786
+ values = targetObj[targetNodeKey] = lodashEs.isUndefined(values) ? [] : [values];
787
+ }
788
+ const slot = obj.multiIndex !== undefined ? obj.multiIndex : obj.__multiSlotIndex;
789
+ if (slot === undefined) {
790
+ obj.__multiSlotIndex = values.length;
791
+ values.push(value);
792
+ }
793
+ else {
794
+ obj.__multiSlotIndex = slot;
795
+ values[slot] = value;
796
+ }
797
+ };
783
798
  const setValueToNode = (target, obj, root, variable, value, noUpdate) => {
784
799
  const targetNodeKey = getTargetNodeKey(target), targetObj = getTargetObj(obj, root, variable);
785
800
  value = !lodashEs.isUndefined(value) ? value : obj.value;
@@ -790,19 +805,7 @@
790
805
  // (e.g. `bind:['fire', 'water']`), assign it directly instead of treating it
791
806
  // as a single slot's value — same as the non-multi assignment below.
792
807
  if (obj.collectionFormat === 'multi' && !lodashEs.isArray(value)) {
793
- let values = targetObj[targetNodeKey];
794
- if (!lodashEs.isArray(values)) {
795
- values = targetObj[targetNodeKey] = lodashEs.isUndefined(values) ? [] : [values];
796
- }
797
- let slot = obj.multiIndex !== undefined ? obj.multiIndex : obj.__multiSlotIndex;
798
- if (slot === undefined) {
799
- slot = obj.__multiSlotIndex = values.length;
800
- values.push(value);
801
- }
802
- else {
803
- obj.__multiSlotIndex = slot;
804
- values[slot] = value;
805
- }
808
+ applyMultiSlotValue(targetObj, targetNodeKey, obj, value);
806
809
  }
807
810
  else {
808
811
  targetObj[targetNodeKey] = value;
@@ -924,13 +927,13 @@
924
927
  const applyMultiIndexForDuplicateBindings = (bindMap) => {
925
928
  const targetOccurrences = {};
926
929
  bindMap.forEach(function (node) {
927
- if (node && node.target) {
930
+ if (node?.target) {
928
931
  targetOccurrences[node.target] = (targetOccurrences[node.target] || 0) + 1;
929
932
  }
930
933
  });
931
934
  const nextMultiIndex = {};
932
935
  bindMap.forEach(function (node) {
933
- if (node && node.target && targetOccurrences[node.target] > 1) {
936
+ if (node?.target && targetOccurrences[node.target] > 1) {
934
937
  if (!node.collectionFormat) {
935
938
  node.collectionFormat = 'multi';
936
939
  }
@@ -1133,7 +1136,7 @@
1133
1136
  * @param options
1134
1137
  */
1135
1138
  const navigate = (variable, options) => {
1136
- variable.dataSet = (options && options.data) || variable.dataSet;
1139
+ variable.dataSet = (options?.data) || variable.dataSet;
1137
1140
  let viewName;
1138
1141
  const pageName = variable.dataBinding.pageName || variable.pageName, operation = variable.operation, urlParams = lodashEs.clone(variable.dataSet), cacheable = lodashEs.isNil(options?.cacheable) ? variable.cacheable : options.cacheable;
1139
1142
  options = options || {};
@@ -1154,16 +1157,16 @@
1154
1157
  });
1155
1158
  break;
1156
1159
  case 'gotoView':
1157
- viewName = (variable.dataBinding && variable.dataBinding.viewName) || variable.viewName;
1160
+ viewName = (variable.dataBinding?.viewName) || variable.viewName;
1158
1161
  break;
1159
1162
  case 'gotoTab':
1160
- viewName = (variable.dataBinding && variable.dataBinding.tabName) || variable.tabName;
1163
+ viewName = (variable.dataBinding?.tabName) || variable.tabName;
1161
1164
  break;
1162
1165
  case 'gotoAccordion':
1163
- viewName = (variable.dataBinding && variable.dataBinding.accordionName) || variable.accordionName;
1166
+ viewName = (variable.dataBinding?.accordionName) || variable.accordionName;
1164
1167
  break;
1165
1168
  case 'gotoSegment':
1166
- viewName = (variable.dataBinding && variable.dataBinding.segmentName) || variable.segmentName;
1169
+ viewName = (variable.dataBinding?.segmentName) || variable.segmentName;
1167
1170
  break;
1168
1171
  }
1169
1172
  /* if view name found, call routine to navigate to it */
@@ -1225,7 +1228,7 @@
1225
1228
  if (toaster && !toaster._subscriptions) {
1226
1229
  toaster._subscriptions = [];
1227
1230
  }
1228
- if (toaster && toaster._subscriptions) {
1231
+ if (toaster?._subscriptions) {
1229
1232
  toaster._subscriptions.push(onClickSubscription);
1230
1233
  }
1231
1234
  }
@@ -1235,7 +1238,7 @@
1235
1238
  if (toaster && !toaster._subscriptions) {
1236
1239
  toaster._subscriptions = [];
1237
1240
  }
1238
- if (toaster && toaster._subscriptions) {
1241
+ if (toaster?._subscriptions) {
1239
1242
  toaster._subscriptions.push(onHideSubscription);
1240
1243
  }
1241
1244
  }
@@ -1376,7 +1379,7 @@
1376
1379
  httpCall(requestParams, variable, params) {
1377
1380
  return new Promise((resolve, reject) => {
1378
1381
  variable._observable = exports.httpService.sendCallAsObservable(requestParams, params).subscribe((response) => {
1379
- if (response && response.type) {
1382
+ if (response?.type) {
1380
1383
  this.setRequestTrackId(response, variable);
1381
1384
  resolve(response);
1382
1385
  }
@@ -1554,25 +1557,24 @@
1554
1557
  exports.routerService.navigate([`/`]);
1555
1558
  }
1556
1559
  }
1557
- else {
1558
- // login after a session timeout
1559
- // if redirect page found and same user logs in again, just navigate to redirect page
1560
- if (!lodashEs.isEmpty(redirectPage)) {
1561
- // same user logs in again, just redirect to the redirectPage
1562
- if (lastLoggedInUsername === params['j_username']) {
1563
- exports.routerService.navigate([`/${redirectPage}`], { queryParams: queryParamsObj });
1564
- }
1565
- else {
1566
- // different user logs in, reload the app and discard the redirectPage
1567
- this.redirectToAppBasePath();
1568
- }
1560
+ else
1561
+ // login after a session timeout
1562
+ // if redirect page found and same user logs in again, just navigate to redirect page
1563
+ if (!lodashEs.isEmpty(redirectPage)) {
1564
+ // same user logs in again, just redirect to the redirectPage
1565
+ if (lastLoggedInUsername === params['j_username']) {
1566
+ exports.routerService.navigate([`/${redirectPage}`], { queryParams: queryParamsObj });
1569
1567
  }
1570
1568
  else {
1571
- const securityConfig = exports.securityService.get(), sessionTimeoutLoginMode = lodashEs.get(securityConfig, 'loginConfig.sessionTimeout.type') || 'PAGE';
1572
- // if in dialog mode and a new user logs in OR login happening through page, reload the app
1573
- if (!isSameUserReloggedIn || sessionTimeoutLoginMode !== 'DIALOG') {
1574
- this.redirectToAppBasePath();
1575
- }
1569
+ // different user logs in, reload the app and discard the redirectPage
1570
+ this.redirectToAppBasePath();
1571
+ }
1572
+ }
1573
+ else {
1574
+ const securityConfig = exports.securityService.get(), sessionTimeoutLoginMode = lodashEs.get(securityConfig, 'loginConfig.sessionTimeout.type') || 'PAGE';
1575
+ // if in dialog mode and a new user logs in OR login happening through page, reload the app
1576
+ if (!isSameUserReloggedIn || sessionTimeoutLoginMode !== 'DIALOG') {
1577
+ this.redirectToAppBasePath();
1576
1578
  }
1577
1579
  }
1578
1580
  }
@@ -1640,7 +1642,7 @@
1640
1642
  });
1641
1643
  });
1642
1644
  // In case of CAS response will be the redirectUrl
1643
- if (redirectUrl && redirectUrl.result) {
1645
+ if (redirectUrl?.result) {
1644
1646
  window.location.href = redirectUrl.result;
1645
1647
  }
1646
1648
  else if (variable.useDefaultSuccessHandler) {
@@ -1828,7 +1830,7 @@
1828
1830
  static checkPaginationAtQuery(operationInfo, variable, options) {
1829
1831
  const paginationInfo = this.getPaginationInfo(operationInfo, variable);
1830
1832
  // If page is not first, pagination is present on the variable and paginationInfo's input meta has size set pagination in query params
1831
- const hasPagination = options && options['page'] && paginationInfo?.input.size && variable.pagination;
1833
+ const hasPagination = options?.['page'] && paginationInfo?.input.size && variable.pagination;
1832
1834
  if (!hasPagination) {
1833
1835
  return;
1834
1836
  }
@@ -1907,7 +1909,7 @@
1907
1909
  // assign bodyVal to updated pagination info object
1908
1910
  const bodyVal = JSON.parse(paramObj.sampleValue);
1909
1911
  const bodyParam = paginationInfo.input[inputParam].split('.')[1];
1910
- if (bodyVal && bodyVal[bodyParam]) {
1912
+ if (bodyVal?.[bodyParam]) {
1911
1913
  const inputBodyParam = paginationInfo.input[inputParam].split('.').splice(1).join('.');
1912
1914
  if (inputParam !== 'offset') {
1913
1915
  lodashEs.set(reqObj, inputBodyParam, variable.pagination['page']);
@@ -2045,13 +2047,11 @@
2045
2047
  else if (resOutput?.totalElements) {
2046
2048
  this.setPaginationItems(resOutput.totalElements, response, res, 'totalElements', resHeaders);
2047
2049
  }
2050
+ else if (paginationInfo.type === 'offset' || paginationInfo.input.offset) {
2051
+ res['totalElements'] = (res['size'] * (options['page'] ? options['page'] : 1)) + 1;
2052
+ }
2048
2053
  else {
2049
- if (paginationInfo.type === 'offset' || paginationInfo.input.offset) {
2050
- res['totalElements'] = (res['size'] * (options['page'] ? options['page'] : 1)) + 1;
2051
- }
2052
- else {
2053
- res['totalElements'] = (res['size'] * res['page']) + 1;
2054
- }
2054
+ res['totalElements'] = (res['size'] * res['page']) + 1;
2055
2055
  }
2056
2056
  /**
2057
2057
  * If hasMoreItems is present in the pagination's output metadata deduce hasMoreItems from api's response
@@ -2124,15 +2124,13 @@
2124
2124
  }
2125
2125
  formData.append(param.name, paramValue);
2126
2126
  }
2127
+ else if (lodashEs.isArray(paramValue) && paramType === 'file') {
2128
+ lodashEs.forEach(paramValue, function (fileObject) {
2129
+ formData.append(param.name, (fileObject?.content) || i1.getBlob(fileObject), fileObject.name);
2130
+ });
2131
+ }
2127
2132
  else {
2128
- if (lodashEs.isArray(paramValue) && paramType === 'file') {
2129
- lodashEs.forEach(paramValue, function (fileObject) {
2130
- formData.append(param.name, (fileObject && fileObject.content) || i1.getBlob(fileObject), fileObject.name);
2131
- });
2132
- }
2133
- else {
2134
- formData.append(param.name, i1.getBlob(paramValue, paramContentType), paramValue && paramValue.name);
2135
- }
2133
+ formData.append(param.name, i1.getBlob(paramValue, paramContentType), paramValue?.name);
2136
2134
  }
2137
2135
  return formData;
2138
2136
  }
@@ -2214,7 +2212,7 @@
2214
2212
  }
2215
2213
  };
2216
2214
  }
2217
- else if (operationInfo && operationInfo.invalid) {
2215
+ else if (operationInfo?.invalid) {
2218
2216
  return {
2219
2217
  'error': {
2220
2218
  'type': VARIABLE_CONSTANTS.REST_SERVICE.ERR_TYPE.CRUD_OPERATION_MISSING,
@@ -2377,7 +2375,7 @@
2377
2375
  if (!lodashEs.includes(WS_CONSTANTS.NON_BODY_HTTP_METHODS, lodashEs.toUpper(method))) {
2378
2376
  /*Based on the formData browser will automatically set the content type to 'multipart/form-data' and webkit boundary*/
2379
2377
  if (!(operationInfo.consumes && (operationInfo.consumes[0] === WS_CONSTANTS.CONTENT_TYPES.MULTIPART_FORMDATA))) {
2380
- headers['Content-Type'] = (operationInfo.consumes && operationInfo.consumes[0]) || 'application/json';
2378
+ headers['Content-Type'] = (operationInfo.consumes?.[0]) || 'application/json';
2381
2379
  }
2382
2380
  }
2383
2381
  // if the consumes has application/x-www-form-urlencoded and
@@ -2522,7 +2520,7 @@
2522
2520
  // call common method to prepare config for the service operation info.
2523
2521
  const config = ServiceVariableUtils.constructRequestParams(variable, opInfo, inputFields);
2524
2522
  /* if error found, return */
2525
- if (config.error && config.error.message) {
2523
+ if (config.error?.message) {
2526
2524
  this._onSocketError(variable, { data: config.error.message });
2527
2525
  return;
2528
2526
  }
@@ -3010,13 +3008,13 @@
3010
3008
  getByOperationId(operationId, context) {
3011
3009
  context = context || this.CONTEXT_APP;
3012
3010
  const map = this.metadataMap.get(context);
3013
- return map && map[operationId];
3011
+ return map?.[operationId];
3014
3012
  }
3015
3013
  // function to get Provider details from providerMap for the passed providerId
3016
3014
  getByProviderId(providerId, context) {
3017
3015
  context = context || this.CONTEXT_APP;
3018
3016
  const map = this.providerMap.get(context);
3019
- return map && map[providerId];
3017
+ return map?.[providerId];
3020
3018
  }
3021
3019
  getByCrudId(crudId, context) {
3022
3020
  context = context || this.CONTEXT_APP;
@@ -3029,10 +3027,10 @@
3029
3027
  }
3030
3028
  return ops;
3031
3029
  }
3032
- static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: MetadataService, deps: [{ token: i1__namespace.AbstractHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
3033
- static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: MetadataService }); }
3030
+ static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: MetadataService, deps: [{ token: i1__namespace.AbstractHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
3031
+ static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: MetadataService }); }
3034
3032
  }
3035
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: MetadataService, decorators: [{
3033
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: MetadataService, decorators: [{
3036
3034
  type: i0.Injectable
3037
3035
  }], ctorParameters: () => [{ type: i1__namespace.AbstractHttpService }] });
3038
3036
 
@@ -3092,7 +3090,7 @@
3092
3090
  const root = variables.getTarget(variable), targetNodeKey = variables.getTargetNodeKey(d.target);
3093
3091
  let v = lodashEs.isArray(d.value) ? d.value[0] : d.value;
3094
3092
  if (v) {
3095
- if (v.startsWith && v.startsWith('bind:')) {
3093
+ if (v.startsWith?.('bind:')) {
3096
3094
  const watchExpression = i1.$watch(v.replace('bind:', ''), scope, {}, variable.invokeOnParamChange.bind(variable, d), undefined, undefined, d, () => variable.isMuted);
3097
3095
  v = scope.registerDestroyListener ? scope.registerDestroyListener(watchExpression) : watchExpression;
3098
3096
  }
@@ -3222,10 +3220,10 @@
3222
3220
  setDependency(name, ref);
3223
3221
  variables.wmSetDependency(name, ref);
3224
3222
  }
3225
- static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: VariablesService, deps: [{ token: i1__namespace.AbstractHttpService }, { token: MetadataService }, { token: i1__namespace.AbstractNavigationService }, { token: i3__namespace.Router }, { token: i1__namespace.AbstractToasterService }, { token: i4__namespace.OAuthService }, { token: i5__namespace.SecurityService }, { token: i1__namespace.AbstractDialogService }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
3226
- static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: VariablesService }); }
3223
+ static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: VariablesService, deps: [{ token: i1__namespace.AbstractHttpService }, { token: MetadataService }, { token: i1__namespace.AbstractNavigationService }, { token: i3__namespace.Router }, { token: i1__namespace.AbstractToasterService }, { token: i4__namespace.OAuthService }, { token: i5__namespace.SecurityService }, { token: i1__namespace.AbstractDialogService }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
3224
+ static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: VariablesService }); }
3227
3225
  }
3228
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: VariablesService, decorators: [{
3226
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: VariablesService, decorators: [{
3229
3227
  type: i0.Injectable
3230
3228
  }], ctorParameters: () => [{ type: i1__namespace.AbstractHttpService }, { type: MetadataService }, { type: i1__namespace.AbstractNavigationService }, { type: i3__namespace.Router }, { type: i1__namespace.AbstractToasterService }, { type: i4__namespace.OAuthService }, { type: i5__namespace.SecurityService }, { type: i1__namespace.AbstractDialogService }] });
3231
3229
 
@@ -656,7 +656,7 @@ const downloadThroughIframe = (requestParams, success, dataBinding, error) => {
656
656
  if (completed)
657
657
  return;
658
658
  const text = iFrameElement.contents().find('body').text();
659
- if (text && text.trim()) {
659
+ if (text?.trim()) {
660
660
  completed = true;
661
661
  let message;
662
662
  try {
@@ -799,13 +799,28 @@ const getTargetNodeKey = (target) => {
799
799
  */
800
800
  let targetNodeKey;
801
801
  if (DOT_EXPR_REX.test(target)) {
802
- targetNodeKey = target.replace(/^(\[["'])|(["']\])$/g, '');
802
+ targetNodeKey = target.replace(/(^\[["'])|(["']\]$)/g, '');
803
803
  }
804
804
  else {
805
805
  targetNodeKey = target.split('.').pop();
806
806
  }
807
807
  return targetNodeKey;
808
808
  };
809
+ const applyMultiSlotValue = (targetObj, targetNodeKey, obj, value) => {
810
+ let values = targetObj[targetNodeKey];
811
+ if (!isArray(values)) {
812
+ values = targetObj[targetNodeKey] = isUndefined(values) ? [] : [values];
813
+ }
814
+ const slot = obj.multiIndex !== undefined ? obj.multiIndex : obj.__multiSlotIndex;
815
+ if (slot === undefined) {
816
+ obj.__multiSlotIndex = values.length;
817
+ values.push(value);
818
+ }
819
+ else {
820
+ obj.__multiSlotIndex = slot;
821
+ values[slot] = value;
822
+ }
823
+ };
809
824
  const setValueToNode = (target, obj, root, variable, value, noUpdate) => {
810
825
  const targetNodeKey = getTargetNodeKey(target), targetObj = getTargetObj(obj, root, variable);
811
826
  value = !isUndefined(value) ? value : obj.value;
@@ -816,19 +831,7 @@ const setValueToNode = (target, obj, root, variable, value, noUpdate) => {
816
831
  // (e.g. `bind:['fire', 'water']`), assign it directly instead of treating it
817
832
  // as a single slot's value — same as the non-multi assignment below.
818
833
  if (obj.collectionFormat === 'multi' && !isArray(value)) {
819
- let values = targetObj[targetNodeKey];
820
- if (!isArray(values)) {
821
- values = targetObj[targetNodeKey] = isUndefined(values) ? [] : [values];
822
- }
823
- let slot = obj.multiIndex !== undefined ? obj.multiIndex : obj.__multiSlotIndex;
824
- if (slot === undefined) {
825
- slot = obj.__multiSlotIndex = values.length;
826
- values.push(value);
827
- }
828
- else {
829
- obj.__multiSlotIndex = slot;
830
- values[slot] = value;
831
- }
834
+ applyMultiSlotValue(targetObj, targetNodeKey, obj, value);
832
835
  }
833
836
  else {
834
837
  targetObj[targetNodeKey] = value;
@@ -950,13 +953,13 @@ const processBindObject = (obj, scope, root, variable) => {
950
953
  const applyMultiIndexForDuplicateBindings = (bindMap) => {
951
954
  const targetOccurrences = {};
952
955
  bindMap.forEach(function (node) {
953
- if (node && node.target) {
956
+ if (node?.target) {
954
957
  targetOccurrences[node.target] = (targetOccurrences[node.target] || 0) + 1;
955
958
  }
956
959
  });
957
960
  const nextMultiIndex = {};
958
961
  bindMap.forEach(function (node) {
959
- if (node && node.target && targetOccurrences[node.target] > 1) {
962
+ if (node?.target && targetOccurrences[node.target] > 1) {
960
963
  if (!node.collectionFormat) {
961
964
  node.collectionFormat = 'multi';
962
965
  }
@@ -1204,7 +1207,7 @@ function htmlDecode(input) {
1204
1207
  * @param options
1205
1208
  */
1206
1209
  const navigate = (variable, options) => {
1207
- variable.dataSet = (options && options.data) || variable.dataSet;
1210
+ variable.dataSet = (options?.data) || variable.dataSet;
1208
1211
  let viewName;
1209
1212
  const pageName = variable.dataBinding.pageName || variable.pageName, operation = variable.operation, urlParams = clone(variable.dataSet), cacheable = isNil(options?.cacheable) ? variable.cacheable : options.cacheable;
1210
1213
  options = options || {};
@@ -1225,16 +1228,16 @@ const navigate = (variable, options) => {
1225
1228
  });
1226
1229
  break;
1227
1230
  case 'gotoView':
1228
- viewName = (variable.dataBinding && variable.dataBinding.viewName) || variable.viewName;
1231
+ viewName = (variable.dataBinding?.viewName) || variable.viewName;
1229
1232
  break;
1230
1233
  case 'gotoTab':
1231
- viewName = (variable.dataBinding && variable.dataBinding.tabName) || variable.tabName;
1234
+ viewName = (variable.dataBinding?.tabName) || variable.tabName;
1232
1235
  break;
1233
1236
  case 'gotoAccordion':
1234
- viewName = (variable.dataBinding && variable.dataBinding.accordionName) || variable.accordionName;
1237
+ viewName = (variable.dataBinding?.accordionName) || variable.accordionName;
1235
1238
  break;
1236
1239
  case 'gotoSegment':
1237
- viewName = (variable.dataBinding && variable.dataBinding.segmentName) || variable.segmentName;
1240
+ viewName = (variable.dataBinding?.segmentName) || variable.segmentName;
1238
1241
  break;
1239
1242
  }
1240
1243
  /* if view name found, call routine to navigate to it */
@@ -1296,7 +1299,7 @@ class NotificationActionManager extends BaseActionManager {
1296
1299
  if (toaster && !toaster._subscriptions) {
1297
1300
  toaster._subscriptions = [];
1298
1301
  }
1299
- if (toaster && toaster._subscriptions) {
1302
+ if (toaster?._subscriptions) {
1300
1303
  toaster._subscriptions.push(onClickSubscription);
1301
1304
  }
1302
1305
  }
@@ -1306,7 +1309,7 @@ class NotificationActionManager extends BaseActionManager {
1306
1309
  if (toaster && !toaster._subscriptions) {
1307
1310
  toaster._subscriptions = [];
1308
1311
  }
1309
- if (toaster && toaster._subscriptions) {
1312
+ if (toaster?._subscriptions) {
1310
1313
  toaster._subscriptions.push(onHideSubscription);
1311
1314
  }
1312
1315
  }
@@ -1447,7 +1450,7 @@ class BaseVariableManager {
1447
1450
  httpCall(requestParams, variable, params) {
1448
1451
  return new Promise((resolve, reject) => {
1449
1452
  variable._observable = httpService.sendCallAsObservable(requestParams, params).subscribe((response) => {
1450
- if (response && response.type) {
1453
+ if (response?.type) {
1451
1454
  this.setRequestTrackId(response, variable);
1452
1455
  resolve(response);
1453
1456
  }
@@ -1625,25 +1628,24 @@ class LoginActionManager extends BaseActionManager {
1625
1628
  routerService.navigate([`/`]);
1626
1629
  }
1627
1630
  }
1628
- else {
1629
- // login after a session timeout
1630
- // if redirect page found and same user logs in again, just navigate to redirect page
1631
- if (!isEmpty(redirectPage)) {
1632
- // same user logs in again, just redirect to the redirectPage
1633
- if (lastLoggedInUsername === params['j_username']) {
1634
- routerService.navigate([`/${redirectPage}`], { queryParams: queryParamsObj });
1635
- }
1636
- else {
1637
- // different user logs in, reload the app and discard the redirectPage
1638
- this.redirectToAppBasePath();
1639
- }
1631
+ else
1632
+ // login after a session timeout
1633
+ // if redirect page found and same user logs in again, just navigate to redirect page
1634
+ if (!isEmpty(redirectPage)) {
1635
+ // same user logs in again, just redirect to the redirectPage
1636
+ if (lastLoggedInUsername === params['j_username']) {
1637
+ routerService.navigate([`/${redirectPage}`], { queryParams: queryParamsObj });
1640
1638
  }
1641
1639
  else {
1642
- const securityConfig = securityService.get(), sessionTimeoutLoginMode = get(securityConfig, 'loginConfig.sessionTimeout.type') || 'PAGE';
1643
- // if in dialog mode and a new user logs in OR login happening through page, reload the app
1644
- if (!isSameUserReloggedIn || sessionTimeoutLoginMode !== 'DIALOG') {
1645
- this.redirectToAppBasePath();
1646
- }
1640
+ // different user logs in, reload the app and discard the redirectPage
1641
+ this.redirectToAppBasePath();
1642
+ }
1643
+ }
1644
+ else {
1645
+ const securityConfig = securityService.get(), sessionTimeoutLoginMode = get(securityConfig, 'loginConfig.sessionTimeout.type') || 'PAGE';
1646
+ // if in dialog mode and a new user logs in OR login happening through page, reload the app
1647
+ if (!isSameUserReloggedIn || sessionTimeoutLoginMode !== 'DIALOG') {
1648
+ this.redirectToAppBasePath();
1647
1649
  }
1648
1650
  }
1649
1651
  }
@@ -1711,7 +1713,7 @@ class LogoutActionManager extends BaseActionManager {
1711
1713
  });
1712
1714
  });
1713
1715
  // In case of CAS response will be the redirectUrl
1714
- if (redirectUrl && redirectUrl.result) {
1716
+ if (redirectUrl?.result) {
1715
1717
  window.location.href = redirectUrl.result;
1716
1718
  }
1717
1719
  else if (variable.useDefaultSuccessHandler) {
@@ -1906,7 +1908,7 @@ class PaginationUtils {
1906
1908
  static checkPaginationAtQuery(operationInfo, variable, options) {
1907
1909
  const paginationInfo = this.getPaginationInfo(operationInfo, variable);
1908
1910
  // If page is not first, pagination is present on the variable and paginationInfo's input meta has size set pagination in query params
1909
- const hasPagination = options && options['page'] && paginationInfo?.input.size && variable.pagination;
1911
+ const hasPagination = options?.['page'] && paginationInfo?.input.size && variable.pagination;
1910
1912
  if (!hasPagination) {
1911
1913
  return;
1912
1914
  }
@@ -1985,7 +1987,7 @@ class PaginationUtils {
1985
1987
  // assign bodyVal to updated pagination info object
1986
1988
  const bodyVal = JSON.parse(paramObj.sampleValue);
1987
1989
  const bodyParam = paginationInfo.input[inputParam].split('.')[1];
1988
- if (bodyVal && bodyVal[bodyParam]) {
1990
+ if (bodyVal?.[bodyParam]) {
1989
1991
  const inputBodyParam = paginationInfo.input[inputParam].split('.').splice(1).join('.');
1990
1992
  if (inputParam !== 'offset') {
1991
1993
  set(reqObj, inputBodyParam, variable.pagination['page']);
@@ -2123,13 +2125,11 @@ class PaginationUtils {
2123
2125
  else if (resOutput?.totalElements) {
2124
2126
  this.setPaginationItems(resOutput.totalElements, response, res, 'totalElements', resHeaders);
2125
2127
  }
2128
+ else if (paginationInfo.type === 'offset' || paginationInfo.input.offset) {
2129
+ res['totalElements'] = (res['size'] * (options['page'] ? options['page'] : 1)) + 1;
2130
+ }
2126
2131
  else {
2127
- if (paginationInfo.type === 'offset' || paginationInfo.input.offset) {
2128
- res['totalElements'] = (res['size'] * (options['page'] ? options['page'] : 1)) + 1;
2129
- }
2130
- else {
2131
- res['totalElements'] = (res['size'] * res['page']) + 1;
2132
- }
2132
+ res['totalElements'] = (res['size'] * res['page']) + 1;
2133
2133
  }
2134
2134
  /**
2135
2135
  * If hasMoreItems is present in the pagination's output metadata deduce hasMoreItems from api's response
@@ -2202,15 +2202,13 @@ const getFormData = (formData, param, paramValue) => {
2202
2202
  }
2203
2203
  formData.append(param.name, paramValue);
2204
2204
  }
2205
+ else if (isArray(paramValue) && paramType === 'file') {
2206
+ forEach(paramValue, function (fileObject) {
2207
+ formData.append(param.name, (fileObject?.content) || getBlob(fileObject), fileObject.name);
2208
+ });
2209
+ }
2205
2210
  else {
2206
- if (isArray(paramValue) && paramType === 'file') {
2207
- forEach(paramValue, function (fileObject) {
2208
- formData.append(param.name, (fileObject && fileObject.content) || getBlob(fileObject), fileObject.name);
2209
- });
2210
- }
2211
- else {
2212
- formData.append(param.name, getBlob(paramValue, paramContentType), paramValue && paramValue.name);
2213
- }
2211
+ formData.append(param.name, getBlob(paramValue, paramContentType), paramValue?.name);
2214
2212
  }
2215
2213
  return formData;
2216
2214
  }
@@ -2292,7 +2290,7 @@ class ServiceVariableUtils {
2292
2290
  }
2293
2291
  };
2294
2292
  }
2295
- else if (operationInfo && operationInfo.invalid) {
2293
+ else if (operationInfo?.invalid) {
2296
2294
  return {
2297
2295
  'error': {
2298
2296
  'type': VARIABLE_CONSTANTS.REST_SERVICE.ERR_TYPE.CRUD_OPERATION_MISSING,
@@ -2455,7 +2453,7 @@ class ServiceVariableUtils {
2455
2453
  if (!includes(WS_CONSTANTS.NON_BODY_HTTP_METHODS, toUpper(method))) {
2456
2454
  /*Based on the formData browser will automatically set the content type to 'multipart/form-data' and webkit boundary*/
2457
2455
  if (!(operationInfo.consumes && (operationInfo.consumes[0] === WS_CONSTANTS.CONTENT_TYPES.MULTIPART_FORMDATA))) {
2458
- headers['Content-Type'] = (operationInfo.consumes && operationInfo.consumes[0]) || 'application/json';
2456
+ headers['Content-Type'] = (operationInfo.consumes?.[0]) || 'application/json';
2459
2457
  }
2460
2458
  }
2461
2459
  // if the consumes has application/x-www-form-urlencoded and
@@ -2600,7 +2598,7 @@ class WebSocketVariableManager extends BaseVariableManager {
2600
2598
  // call common method to prepare config for the service operation info.
2601
2599
  const config = ServiceVariableUtils.constructRequestParams(variable, opInfo, inputFields);
2602
2600
  /* if error found, return */
2603
- if (config.error && config.error.message) {
2601
+ if (config.error?.message) {
2604
2602
  this._onSocketError(variable, { data: config.error.message });
2605
2603
  return;
2606
2604
  }
@@ -3088,13 +3086,13 @@ class MetadataService {
3088
3086
  getByOperationId(operationId, context) {
3089
3087
  context = context || this.CONTEXT_APP;
3090
3088
  const map = this.metadataMap.get(context);
3091
- return map && map[operationId];
3089
+ return map?.[operationId];
3092
3090
  }
3093
3091
  // function to get Provider details from providerMap for the passed providerId
3094
3092
  getByProviderId(providerId, context) {
3095
3093
  context = context || this.CONTEXT_APP;
3096
3094
  const map = this.providerMap.get(context);
3097
- return map && map[providerId];
3095
+ return map?.[providerId];
3098
3096
  }
3099
3097
  getByCrudId(crudId, context) {
3100
3098
  context = context || this.CONTEXT_APP;
@@ -3107,10 +3105,10 @@ class MetadataService {
3107
3105
  }
3108
3106
  return ops;
3109
3107
  }
3110
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: MetadataService, deps: [{ token: i1.AbstractHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3111
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: MetadataService }); }
3108
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: MetadataService, deps: [{ token: i1.AbstractHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3109
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: MetadataService }); }
3112
3110
  }
3113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: MetadataService, decorators: [{
3111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: MetadataService, decorators: [{
3114
3112
  type: Injectable
3115
3113
  }], ctorParameters: () => [{ type: i1.AbstractHttpService }] });
3116
3114
 
@@ -3170,7 +3168,7 @@ class VariablesService {
3170
3168
  const root = getTarget(variable), targetNodeKey = getTargetNodeKey$1(d.target), runMode = true;
3171
3169
  let v = isArray(d.value) ? d.value[0] : d.value;
3172
3170
  if (v) {
3173
- if (v.startsWith && v.startsWith('bind:')) {
3171
+ if (v.startsWith?.('bind:')) {
3174
3172
  const watchExpression = $watch(v.replace('bind:', ''), scope, {}, variable.invokeOnParamChange.bind(variable, d), undefined, undefined, d, () => variable.isMuted);
3175
3173
  v = scope.registerDestroyListener ? scope.registerDestroyListener(watchExpression) : watchExpression;
3176
3174
  }
@@ -3200,7 +3198,6 @@ class VariablesService {
3200
3198
  }
3201
3199
  processBinding(variable, context, bindSource, bindTarget) {
3202
3200
  bindSource = bindSource || 'dataBinding';
3203
- bindTarget = bindTarget || 'dataBinding';
3204
3201
  const bindMap = variable[bindSource];
3205
3202
  variable[bindSource] = {};
3206
3203
  variable['_bind' + bindSource] = bindMap;
@@ -3302,10 +3299,10 @@ class VariablesService {
3302
3299
  setDependency(name, ref);
3303
3300
  wmSetDependency(name, ref);
3304
3301
  }
3305
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: VariablesService, deps: [{ token: i1.AbstractHttpService }, { token: MetadataService }, { token: i1.AbstractNavigationService }, { token: i3.Router }, { token: i1.AbstractToasterService }, { token: i4.OAuthService }, { token: i5.SecurityService }, { token: i1.AbstractDialogService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3306
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: VariablesService }); }
3302
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: VariablesService, deps: [{ token: i1.AbstractHttpService }, { token: MetadataService }, { token: i1.AbstractNavigationService }, { token: i3.Router }, { token: i1.AbstractToasterService }, { token: i4.OAuthService }, { token: i5.SecurityService }, { token: i1.AbstractDialogService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3303
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: VariablesService }); }
3307
3304
  }
3308
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: VariablesService, decorators: [{
3305
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: VariablesService, decorators: [{
3309
3306
  type: Injectable
3310
3307
  }], ctorParameters: () => [{ type: i1.AbstractHttpService }, { type: MetadataService }, { type: i1.AbstractNavigationService }, { type: i3.Router }, { type: i1.AbstractToasterService }, { type: i4.OAuthService }, { type: i5.SecurityService }, { type: i1.AbstractDialogService }] });
3311
3308