@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
@@ -84,7 +84,7 @@ var DEFAULT_FORMATS;
84
84
  const getUploadEventTmpl = (attrs, counter, fieldName) => {
85
85
  let eventTmpl = '';
86
86
  attrs.forEach((val, key) => {
87
- if (key && key.endsWith('.event')) {
87
+ if (key?.endsWith('.event')) {
88
88
  const eventName = key.split('.')[0];
89
89
  const counterTl = counter ? `${counter}.` : '';
90
90
  eventTmpl = ` ${eventTmpl} (${eventName})="${counterTl}triggerUploadEvent($event, '${eventName}', '${fieldName}', row)" `;
@@ -175,7 +175,7 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
175
175
  const counter = options.counter;
176
176
  const pCounter = options.pCounter;
177
177
  const uploadProps = options.uploadProps;
178
- const eventTmpl = getUploadEventTmpl(attrs, counter, uploadProps && uploadProps.name);
178
+ const eventTmpl = getUploadEventTmpl(attrs, counter, uploadProps?.name);
179
179
  if (uploadProps) {
180
180
  tmpl = `<form name="${uploadProps.formName}" ${innerTmpl}>
181
181
  <input focus-target class="file-upload" type="file" name="${uploadProps.name}" ${eventTmpl} ${showTmpl}/>
@@ -269,7 +269,7 @@ const addDatasetBoundExprAttribute = (childNode, attr, attrValue) => {
269
269
  const checkIsCustomPipeExpression = function (exp) {
270
270
  let customRegEx = /(custom(\s*:))/g;
271
271
  let matches = exp.match(customRegEx);
272
- return matches && matches.length;
272
+ return matches?.length;
273
273
  };
274
274
  // The bound value is replaced with {{item.fieldname}} here. This is needed by the liveList when compiling inner elements
275
275
  const updateTemplateAttrs = (rootNode, parentDataSet, widgetName, instance = '', referenceName = 'item') => {
@@ -300,7 +300,7 @@ const updateTemplateAttrs = (rootNode, parentDataSet, widgetName, instance = '',
300
300
  const parentDataSetLengthRegex = new RegExp('bind:\\s*\\(*' + parentDataSet + '\\)*\\.length\\)*');
301
301
  childNode.attrs.forEach((attr) => {
302
302
  // trim the extra spaces in bindings
303
- let value = attr.value && attr.value.trim();
303
+ let value = attr.value?.trim();
304
304
  if (startsWith(value, 'bind:')) {
305
305
  // The markup of root node(table, list, carousel) attributes conatains same dataset variable binding then those attributes need to be updated only for specific properties mentioned in widgetList map.
306
306
  if (!widgetList[nodeName] || (widgetList[nodeName] && widgetList[nodeName].indexOf(attr.name) > -1)) {
@@ -320,7 +320,7 @@ const updateTemplateAttrs = (rootNode, parentDataSet, widgetName, instance = '',
320
320
  }
321
321
  }
322
322
  // Replace item if widget property is bound to livelist currentItem
323
- if (currentItemRegEx && currentItemRegEx.test(value)) {
323
+ if (currentItemRegEx?.test(value)) {
324
324
  // Change value from 'bind:Widgets.formName.formWidgets.listName.currentItem' to 'bind:Widgets.listName.currentItem'
325
325
  if (value.includes('.formWidgets') || value.includes('.filterWidgets')) {
326
326
  value = value.replace(formWidgetsRegex, 'Widgets');
@@ -328,7 +328,7 @@ const updateTemplateAttrs = (rootNode, parentDataSet, widgetName, instance = '',
328
328
  addDatasetBoundExprAttribute(childNode, attr, value);
329
329
  value = value.replace(currentItemRegEx, referenceName);
330
330
  }
331
- if (currentItemWidgetsRegEx && currentItemWidgetsRegEx.test(value)) {
331
+ if (currentItemWidgetsRegEx?.test(value)) {
332
332
  value = value.replace(currentItemWidgetsRegEx, `${instance}currentItemWidgets`);
333
333
  }
334
334
  attr.value = value;
@@ -2129,7 +2129,7 @@ function simpleFunctionEvaluator(expr, ctx, locals) {
2129
2129
  args = args.split(',');
2130
2130
  let computedArgs = [];
2131
2131
  args.forEach((arg) => {
2132
- arg = arg && arg.trim();
2132
+ arg = arg?.trim();
2133
2133
  computedArgs.push(get(_ctx, arg));
2134
2134
  });
2135
2135
  return computedFn.bind(_ctx)(...computedArgs);
@@ -2212,10 +2212,8 @@ const fnExecutor = (expr, exprType) => {
2212
2212
  pipeArgs.unshift(hasPurePipe ? new Map() : undefined);
2213
2213
  fn = fn.bind(undefined, ...pipeArgs);
2214
2214
  }
2215
- else {
2216
- if (exprType === ExpressionType.Binding) {
2217
- fn = fn.bind(undefined, undefined);
2218
- }
2215
+ else if (exprType === ExpressionType.Binding) {
2216
+ fn = fn.bind(undefined, undefined);
2219
2217
  }
2220
2218
  return fn;
2221
2219
  };
@@ -2272,7 +2270,8 @@ const getUpdatedWatcInfo = (expr, acceptsArray, listener) => {
2272
2270
  }
2273
2271
  // listener accepts array
2274
2272
  // replace all except the last `[$i]` with `[0]` and return the expression.
2275
- var index = expr.lastIndexOf($I), _expr = expr.substr(0, index).replace($I, $0), restExpr = expr.substr(index + 5), arrayConsumerFn = listener;
2273
+ const index = expr.lastIndexOf($I), _expr = expr.substr(0, index).replace($I, $0), restExpr = expr.substr(index + 5);
2274
+ let arrayConsumerFn = listener;
2276
2275
  if (restExpr) {
2277
2276
  arrayConsumerFn = arrayConsumer.bind(undefined, listener, restExpr);
2278
2277
  }
@@ -2313,7 +2312,7 @@ const triggerWatchers = (ignoreMuted) => {
2313
2312
  do {
2314
2313
  changeDetected = false;
2315
2314
  registry.forEach(watchInfo => {
2316
- if (watchInfo.isMuted && watchInfo.isMuted()) {
2315
+ if (watchInfo.isMuted?.()) {
2317
2316
  return;
2318
2317
  }
2319
2318
  const fn = watchInfo.fn;
@@ -2394,7 +2393,7 @@ function executeWatchers(ignoreMuted) {
2394
2393
  changeDetected = false;
2395
2394
  log(`-------executeWatchers (run #${consecutiveReruns + 1})--------- `);
2396
2395
  registry.forEach(watchInfo => {
2397
- if (watchInfo.isMuted && watchInfo.isMuted()) {
2396
+ if (watchInfo.isMuted?.()) {
2398
2397
  return;
2399
2398
  }
2400
2399
  const fn = watchInfo.fn;
@@ -2478,17 +2477,15 @@ const $appDigest = (() => {
2478
2477
  ngZone.run(() => appRef.tick());
2479
2478
  queued = false;
2480
2479
  }
2480
+ else if (queued) {
2481
+ return;
2482
+ }
2481
2483
  else {
2482
- if (queued) {
2483
- return;
2484
- }
2485
- else {
2486
- queued = true;
2487
- $RAF(() => {
2488
- ngZone.run(() => appRef.tick());
2489
- queued = false;
2490
- });
2491
- }
2484
+ queued = true;
2485
+ $RAF(() => {
2486
+ ngZone.run(() => appRef.tick());
2487
+ queued = false;
2488
+ });
2492
2489
  }
2493
2490
  };
2494
2491
  })();
@@ -2657,7 +2654,7 @@ const isLargeTabletPortrait = (landScapeWidth, landScapeHeight) => {
2657
2654
  const isMobile = () => isAndroid() || isIos() || isAndroidTablet() || $('#wm-mobile-display:visible').length > 0;
2658
2655
  const isTablet = () => {
2659
2656
  const scope = document.querySelector('.app-page').widget;
2660
- return scope && scope.viewParent.Viewport.isTabletType;
2657
+ return scope?.viewParent.Viewport.isTabletType;
2661
2658
  };
2662
2659
  const getAndroidVersion = () => {
2663
2660
  const match = (window.navigator.userAgent.toLowerCase()).match(/android\s([0-9\.]*)/);
@@ -2694,7 +2691,7 @@ const encodeUrlParams = (url) => {
2694
2691
  queryParams = queryParamsString.split('&');
2695
2692
  queryParams.forEach(function (param) {
2696
2693
  let decodedParamValue;
2697
- const i = includes(param, '=') ? param.indexOf('=') : (param && param.length), paramName = param.substr(0, i), paramValue = param.substr(i + 1);
2694
+ const i = includes(param, '=') ? param.indexOf('=') : (param?.length), paramName = param.substr(0, i), paramValue = param.substr(i + 1);
2698
2695
  // add the = for param name only when the param value exists in the given param or empty value is assigned
2699
2696
  if (paramValue || includes(param, '=')) {
2700
2697
  try {
@@ -2855,7 +2852,7 @@ function triggerFn(fn, ...argmnts) {
2855
2852
  args[start - 1] = arguments[start];
2856
2853
  }
2857
2854
  if (isFunction(fn)) {
2858
- return fn.apply(null, args);
2855
+ return fn(...args);
2859
2856
  }
2860
2857
  }
2861
2858
  /**
@@ -2890,7 +2887,7 @@ const hasOffsetStr = (dateStr) => {
2890
2887
  if (typeof dateStr !== 'string')
2891
2888
  return;
2892
2889
  const matches = dateStr.match(REGEX.ISO_DATE_FORMAT);
2893
- if (matches && matches[4]) {
2890
+ if (matches?.[4]) {
2894
2891
  return true;
2895
2892
  }
2896
2893
  };
@@ -2899,9 +2896,9 @@ const hasOffsetStr = (dateStr) => {
2899
2896
  */
2900
2897
  const getDateObj = (value, options, timezone) => {
2901
2898
  // Handling localization
2902
- if (options && options.pattern && options.pattern !== 'timestamp') {
2899
+ if (options?.pattern && options.pattern !== 'timestamp') {
2903
2900
  // Fix for WMS-19601, invalid date is returned on date selection.
2904
- const isNativePicker = (options && options.hasOwnProperty('isNativePicker')) ? get(options, 'isNativePicker') : isMobile();
2901
+ const isNativePicker = (options?.hasOwnProperty('isNativePicker')) ? get(options, 'isNativePicker') : isMobile();
2905
2902
  const pattern = isNativePicker ? 'YYYY/MM/DD HH:mm:ss' : momentPattern(options.pattern);
2906
2903
  value = moment(value, pattern).toDate();
2907
2904
  }
@@ -2971,7 +2968,7 @@ const getClonedObject = (object) => {
2971
2968
  };
2972
2969
  const getFiles = (formName, fieldName, isList) => {
2973
2970
  const files = get(document.forms, [formName, fieldName, 'files']);
2974
- return isList ? map(files, identity) : files && files[0];
2971
+ return isList ? map(files, identity) : files?.[0];
2975
2972
  };
2976
2973
  /*Function to generate a random number*/
2977
2974
  function random() {
@@ -2987,7 +2984,7 @@ const generateGUId = () => {
2987
2984
  const validateAccessRoles = (roleExp, loggedInUser) => {
2988
2985
  let roles;
2989
2986
  if (roleExp && loggedInUser) {
2990
- roles = roleExp && roleExp.split(',').map(Function.prototype.call, String.prototype.trim);
2987
+ roles = roleExp?.split(',').map(Function.prototype.call, String.prototype.trim);
2991
2988
  return intersection(roles, loggedInUser.userRoles).length;
2992
2989
  }
2993
2990
  return true;
@@ -3087,8 +3084,8 @@ const extractType = (typeRef) => {
3087
3084
  if (!typeRef) {
3088
3085
  return DataType.STRING;
3089
3086
  }
3090
- type = typeRef && typeRef.substring(typeRef.lastIndexOf('.') + 1);
3091
- type = type && type.toLowerCase();
3087
+ type = typeRef?.substring(typeRef.lastIndexOf('.') + 1);
3088
+ type = type?.toLowerCase();
3092
3089
  type = type === DataType.LOCALDATETIME ? DataType.DATETIME : type;
3093
3090
  return type;
3094
3091
  };
@@ -3115,7 +3112,7 @@ const scrollToElement = (element) => {
3115
3112
  };
3116
3113
  // Function will return whether the given element is in viewport or not
3117
3114
  const isElementInViewport = (element) => {
3118
- var rect = element.getBoundingClientRect();
3115
+ const rect = element.getBoundingClientRect();
3119
3116
  return (rect.top >= 0 &&
3120
3117
  rect.left >= 0 &&
3121
3118
  rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&
@@ -3136,7 +3133,7 @@ const isPageable = (obj) => {
3136
3133
  };
3137
3134
  // paginated object may or may not contain 'empty' property. In either case, Pageable should return as true.
3138
3135
  const paginatedObj = omit(obj, 'empty');
3139
- return (isEqual(keys(pageable), keys(paginatedObj).sort()));
3136
+ return (isEqual(keys(pageable), keys(paginatedObj).sort((a, b) => a.localeCompare(b))));
3140
3137
  };
3141
3138
  /*
3142
3139
  * Util method to replace patterns in string with object keys or array values
@@ -3176,17 +3173,17 @@ const getValidDateObject = (val, options) => {
3176
3173
  const defaultMeridian = ['AM', 'PM'];
3177
3174
  const momentMeridian = moment()._locale.meridiem();
3178
3175
  // Updating localized meridians with default meridians when moment meridian is not defined
3179
- if (options && options.meridians && includes(defaultMeridian, momentMeridian)) {
3176
+ if (options?.meridians && includes(defaultMeridian, momentMeridian)) {
3180
3177
  forEach(options.meridians, (meridian, index) => {
3181
3178
  if (includes(val, meridian)) {
3182
3179
  val = val.replace(meridian, defaultMeridian[index]);
3183
3180
  }
3184
3181
  });
3185
3182
  }
3186
- const isNativePicker = (options && options.hasOwnProperty('isNativePicker')) ? get(options, 'isNativePicker') : isMobile();
3183
+ const isNativePicker = (options?.hasOwnProperty('isNativePicker')) ? get(options, 'isNativePicker') : isMobile();
3187
3184
  const pattern = isNativePicker ? (get(options, 'pattern') || 'YYYY/MM/DD HH:mm:ss') : (momentPattern(get(options, 'pattern')) || '');
3188
3185
  // Handling localization
3189
- if (options && options.pattern && options.pattern !== 'timestamp') {
3186
+ if (options?.pattern && options.pattern !== 'timestamp') {
3190
3187
  if (!isNaN(moment(val, pattern).valueOf())) { // Fix for [WMS-27658]: Date() doesn't support some formats like 'dd/MM/yyyy' so using moment() to format the value
3191
3188
  // check whether val is a valid date or not
3192
3189
  if (isIos()) {
@@ -3212,11 +3209,10 @@ const getValidDateObject = (val, options) => {
3212
3209
  if (!isNaN(val)) {
3213
3210
  val = parseInt(val, 10);
3214
3211
  }
3215
- else {
3216
- /*if the value is in HH:mm:ss format, it returns a wrong date. So append the date to the given value to get date*/
3217
- if (!(new Date(val).getTime())) {
3218
- val = moment((moment().format('YYYY-MM-DD') + ' ' + val), 'YYYY-MM-DD HH:mm:ss A');
3219
- }
3212
+ else
3213
+ /*if the value is in HH:mm:ss format, it returns a wrong date. So append the date to the given value to get date*/
3214
+ if (!(new Date(val).getTime())) {
3215
+ val = moment((moment().format('YYYY-MM-DD') + ' ' + val), 'YYYY-MM-DD HH:mm:ss A');
3220
3216
  }
3221
3217
  return new Date(moment(val).valueOf());
3222
3218
  };
@@ -3292,7 +3288,7 @@ const loadStyleSheet = (url, attr) => {
3292
3288
  const link = document.createElement('link');
3293
3289
  link.href = url;
3294
3290
  // To add attributes to link tag
3295
- if (attr && attr.name) {
3291
+ if (attr?.name) {
3296
3292
  link.setAttribute(attr.name, attr.value);
3297
3293
  }
3298
3294
  link.setAttribute('rel', 'stylesheet');
@@ -3389,7 +3385,7 @@ const setSessionStorageItem = (key, value) => {
3389
3385
  */
3390
3386
  const getSessionStorageItem = key => {
3391
3387
  // sanity check for this to work with ng-codegen
3392
- let item = window && window.sessionStorage && window.sessionStorage.getItem(_WM_APP_PROJECT.id);
3388
+ let item = window?.sessionStorage?.getItem(_WM_APP_PROJECT.id);
3393
3389
  if (item) {
3394
3390
  item = JSON.parse(item);
3395
3391
  return item[key];
@@ -3429,8 +3425,8 @@ const openLink = (link, target = '_self') => {
3429
3425
  /* util function to load the content from a url */
3430
3426
  const fetchContent = (dataType, url, inSync = false, success, error) => {
3431
3427
  return $.ajax({ type: 'get', dataType: dataType, url: url, async: !inSync })
3432
- .done(response => success && success(response))
3433
- .fail(reason => error && error(reason));
3428
+ .done(response => success?.(response))
3429
+ .fail(reason => error?.(reason));
3434
3430
  };
3435
3431
  /**
3436
3432
  * If the given object is a promise, then object is returned. Otherwise, a promise is resolved with the given object.
@@ -3823,7 +3819,7 @@ const setTranslation3dPosition = (containerElem, containerEleTransformations) =>
3823
3819
  * @param containerElem elemet for the WebKitCSSMatrix
3824
3820
  */
3825
3821
  const getWebkitTraslationMatrix = (containerElem) => {
3826
- if (!containerElem || !containerElem[0]) {
3822
+ if (!containerElem?.[0]) {
3827
3823
  return null;
3828
3824
  }
3829
3825
  const computedStyle = window.getComputedStyle(containerElem[0]);
@@ -4029,8 +4025,7 @@ const getFontConfig = () => {
4029
4025
  return getWmProjectProperties()?.fontConfig || getPreviewProperties();
4030
4026
  };
4031
4027
  const adjustVerticalPosition = (containerElem, parentElem, ref, ele) => {
4032
- const zoneRef = ref._ngZone || ref.ngZone;
4033
- zoneRef.onStable.subscribe(() => {
4028
+ runAfterStable(ref, () => {
4034
4029
  const containerHeight = ele
4035
4030
  ? parseInt(ele.css('height'), 10)
4036
4031
  : parseInt(containerElem.css('height'), 10);
@@ -4221,7 +4216,7 @@ class EventNotifier {
4221
4216
  eventListener = this._subject
4222
4217
  .subscribe((event) => {
4223
4218
  if (event && isObject(event) && event.name === eventName) {
4224
- callback.apply(undefined, event.data);
4219
+ callback(...event.data);
4225
4220
  }
4226
4221
  });
4227
4222
  return () => {
@@ -4346,10 +4341,10 @@ class Viewport {
4346
4341
  }
4347
4342
  this.mediaQuery = null;
4348
4343
  }
4349
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: Viewport, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4350
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: Viewport, providedIn: 'root' }); }
4344
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: Viewport, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4345
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: Viewport, providedIn: 'root' }); }
4351
4346
  }
4352
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: Viewport, decorators: [{
4347
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: Viewport, decorators: [{
4353
4348
  type: Injectable,
4354
4349
  args: [{ providedIn: 'root' }]
4355
4350
  }], ctorParameters: () => [] });
@@ -4368,10 +4363,10 @@ class ConstantService {
4368
4363
  };
4369
4364
  this.VALIDATOR = VALIDATOR;
4370
4365
  }
4371
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: ConstantService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4372
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: ConstantService, providedIn: 'root' }); }
4366
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: ConstantService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4367
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: ConstantService, providedIn: 'root' }); }
4373
4368
  }
4374
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: ConstantService, decorators: [{
4369
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: ConstantService, decorators: [{
4375
4370
  type: Injectable,
4376
4371
  args: [{ providedIn: 'root' }]
4377
4372
  }] });
@@ -4380,10 +4375,10 @@ class UtilsService {
4380
4375
  constructor() {
4381
4376
  assign(this, Utils);
4382
4377
  }
4383
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: UtilsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4384
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: UtilsService, providedIn: 'root' }); }
4378
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: UtilsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4379
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: UtilsService, providedIn: 'root' }); }
4385
4380
  }
4386
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: UtilsService, decorators: [{
4381
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: UtilsService, decorators: [{
4387
4382
  type: Injectable,
4388
4383
  args: [{ providedIn: 'root' }]
4389
4384
  }], ctorParameters: () => [] });
@@ -4412,10 +4407,10 @@ class FieldTypeService {
4412
4407
  BLOB: 'blob'
4413
4408
  });
4414
4409
  }
4415
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: FieldTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4416
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: FieldTypeService, providedIn: 'root' }); }
4410
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: FieldTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4411
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: FieldTypeService, providedIn: 'root' }); }
4417
4412
  }
4418
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: FieldTypeService, decorators: [{
4413
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: FieldTypeService, decorators: [{
4419
4414
  type: Injectable,
4420
4415
  args: [{ providedIn: 'root' }]
4421
4416
  }], ctorParameters: () => [] });
@@ -4446,10 +4441,10 @@ class FieldWidgetService {
4446
4441
  COLORPICKER: 'colorpicker'
4447
4442
  });
4448
4443
  }
4449
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: FieldWidgetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4450
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: FieldWidgetService, providedIn: 'root' }); }
4444
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: FieldWidgetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4445
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: FieldWidgetService, providedIn: 'root' }); }
4451
4446
  }
4452
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: FieldWidgetService, decorators: [{
4447
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: FieldWidgetService, decorators: [{
4453
4448
  type: Injectable,
4454
4449
  args: [{ providedIn: 'root' }]
4455
4450
  }], ctorParameters: () => [] });
@@ -4467,7 +4462,7 @@ class ScriptLoaderService {
4467
4462
  });
4468
4463
  }
4469
4464
  load(...scripts) {
4470
- if (scripts && scripts.length) {
4465
+ if (scripts?.length) {
4471
4466
  return Promise.all(scripts.map(s => {
4472
4467
  return this.loadScript(s);
4473
4468
  }));
@@ -4476,7 +4471,7 @@ class ScriptLoaderService {
4476
4471
  }
4477
4472
  loadScript(name) {
4478
4473
  return new Promise((resolve, reject) => {
4479
- if (this.scripts[name] && this.scripts[name].loaded) {
4474
+ if (this.scripts[name]?.loaded) {
4480
4475
  resolve({ script: name, loaded: true });
4481
4476
  return;
4482
4477
  }
@@ -4516,10 +4511,10 @@ class ScriptLoaderService {
4516
4511
  document.getElementsByTagName('head')[0].appendChild(script);
4517
4512
  });
4518
4513
  }
4519
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: ScriptLoaderService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
4520
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: ScriptLoaderService, providedIn: 'root' }); }
4514
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: ScriptLoaderService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
4515
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: ScriptLoaderService, providedIn: 'root' }); }
4521
4516
  }
4522
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: ScriptLoaderService, decorators: [{
4517
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: ScriptLoaderService, decorators: [{
4523
4518
  type: Injectable,
4524
4519
  args: [{ providedIn: 'root' }]
4525
4520
  }], ctorParameters: () => [{ type: i1.HttpClient }] });
@@ -4537,10 +4532,10 @@ class CustomPipeManager {
4537
4532
  hasCustomPipe(key) {
4538
4533
  return this.customPipes.has(key);
4539
4534
  }
4540
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: CustomPipeManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4541
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: CustomPipeManager, providedIn: 'root' }); }
4535
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CustomPipeManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4536
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CustomPipeManager, providedIn: 'root' }); }
4542
4537
  }
4543
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: CustomPipeManager, decorators: [{
4538
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CustomPipeManager, decorators: [{
4544
4539
  type: Injectable,
4545
4540
  args: [{ providedIn: 'root' }]
4546
4541
  }] });
@@ -4569,10 +4564,10 @@ class CustomIconsLoaderService {
4569
4564
  .map(font => font.csspath);
4570
4565
  loadStyleSheets(cssPaths);
4571
4566
  }
4572
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: CustomIconsLoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4573
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: CustomIconsLoaderService, providedIn: 'root' }); }
4567
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CustomIconsLoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4568
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CustomIconsLoaderService, providedIn: 'root' }); }
4574
4569
  }
4575
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: CustomIconsLoaderService, decorators: [{
4570
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CustomIconsLoaderService, decorators: [{
4576
4571
  type: Injectable,
4577
4572
  args: [{ providedIn: 'root' }]
4578
4573
  }] });
@@ -4654,7 +4649,7 @@ class StatePersistence {
4654
4649
  return;
4655
4650
  }
4656
4651
  let parsedStateInfo = this.getStateInformation(mode);
4657
- if (parsedStateInfo && widget && widget.getAppInstance().activePageName && (mode.toLowerCase() === 'localstorage' || mode.toLowerCase() === 'sessionstorage')) {
4652
+ if (parsedStateInfo && widget?.getAppInstance().activePageName && (mode.toLowerCase() === 'localstorage' || mode.toLowerCase() === 'sessionstorage')) {
4658
4653
  parsedStateInfo = parsedStateInfo[widget.getAppInstance().activePageName];
4659
4654
  }
4660
4655
  if (get(parsedStateInfo, this.WIDGET_STATE_KEY)) {
@@ -4843,7 +4838,7 @@ class StatePersistence {
4843
4838
  }
4844
4839
  }
4845
4840
  // for Local and Session Storage, wrap state object inside page name so that widget name conflicts don't arise between pages.
4846
- if (widget && widget.getAppInstance().activePageName && (mode.toLowerCase() === 'localstorage' || mode.toLowerCase() === 'sessionstorage')) {
4841
+ if (widget?.getAppInstance().activePageName && (mode.toLowerCase() === 'localstorage' || mode.toLowerCase() === 'sessionstorage')) {
4847
4842
  if (stateObj) {
4848
4843
  stateObj[widget.getAppInstance().activePageName] = parsedObj;
4849
4844
  parsedObj = stateObj;
@@ -4930,7 +4925,7 @@ class StatePersistence {
4930
4925
  }
4931
4926
  // Fix for [WMS-24698]: when table is inside a prefab, state persistence key is like "TestLabel_11.TestLabel_1.staticVariable1Table1"
4932
4927
  // get(parsedObj, stateParam + '.' + key) is undefined so using (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key]) condition.
4933
- if (get(parsedObj, stateParam + '.' + key) || (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key])) {
4928
+ if (get(parsedObj, stateParam + '.' + key) || (parsedObj?.[stateParam]?.[key])) {
4934
4929
  if (subParam) {
4935
4930
  delete parsedObj[stateParam][key][subParam];
4936
4931
  }
@@ -4948,7 +4943,7 @@ class StatePersistence {
4948
4943
  delete parsedObj[key];
4949
4944
  }
4950
4945
  // for Local and Session Storage, wrap state object inside page name so that widget name conflicts don't arise between pages.
4951
- if (widget && widget.getAppInstance().activePageName && (mode.toLowerCase() === 'localstorage' || mode.toLowerCase() === 'sessionstorage')) {
4946
+ if (widget?.getAppInstance().activePageName && (mode.toLowerCase() === 'localstorage' || mode.toLowerCase() === 'sessionstorage')) {
4952
4947
  if (stateObj) {
4953
4948
  stateObj[widget.getAppInstance().activePageName] = parsedObj;
4954
4949
  parsedObj = stateObj;
@@ -5066,10 +5061,10 @@ class StatePersistence {
5066
5061
  }
5067
5062
  return response;
5068
5063
  }
5069
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: StatePersistence, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5070
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: StatePersistence, providedIn: 'root' }); }
5064
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: StatePersistence, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5065
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: StatePersistence, providedIn: 'root' }); }
5071
5066
  }
5072
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: StatePersistence, decorators: [{
5067
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: StatePersistence, decorators: [{
5073
5068
  type: Injectable,
5074
5069
  args: [{ providedIn: 'root' }]
5075
5070
  }] });
@@ -5398,10 +5393,10 @@ class PaginationService {
5398
5393
  lastScrollTop = scrollTop;
5399
5394
  });
5400
5395
  }
5401
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: PaginationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5402
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: PaginationService, providedIn: 'root' }); }
5396
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: PaginationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5397
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: PaginationService, providedIn: 'root' }); }
5403
5398
  }
5404
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: PaginationService, decorators: [{
5399
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: PaginationService, decorators: [{
5405
5400
  type: Injectable,
5406
5401
  args: [{ providedIn: 'root' }]
5407
5402
  }] });
@@ -5470,7 +5465,7 @@ class LRUCache {
5470
5465
  if (key && this.cache.has(key)) {
5471
5466
  const cachedData = this.cache.get(key);
5472
5467
  this.cache.delete(key);
5473
- this.onEvict && this.onEvict(key, cachedData.instance);
5468
+ this.onEvict?.(key, cachedData.instance);
5474
5469
  const index = this.evictQueue.findIndex(k => (k === key));
5475
5470
  if (index >= 0) {
5476
5471
  this.evictQueue.splice(index, 1);