@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
@@ -5,7 +5,7 @@ import { FormComponent } from '@wm/components/data/form';
5
5
  import { ButtonComponent } from '@wm/components/input/button';
6
6
 
7
7
  declare class LoginComponent extends StylableComponent implements AfterViewInit, OnDestroy {
8
- static initializeProps: void;
8
+ static readonly initializeProps: void;
9
9
  loginBtnCmp: ButtonComponent;
10
10
  formCmp: FormComponent;
11
11
  buttonComponents: QueryList<ButtonComponent>;
@@ -45,12 +45,12 @@
45
45
  super(inj, WIDGET_CONFIG, explicitContext);
46
46
  base.styler(this.nativeElement, this);
47
47
  }
48
- static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: MarqueeDirective, deps: [{ token: i0__namespace.Injector }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
49
- static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.20", type: MarqueeDirective, isStandalone: true, selector: "[wmMarquee]", providers: [
48
+ static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: MarqueeDirective, deps: [{ token: i0__namespace.Injector }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
49
+ static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: MarqueeDirective, isStandalone: true, selector: "[wmMarquee]", providers: [
50
50
  base.provideAsWidgetRef(MarqueeDirective)
51
51
  ], usesInheritance: true, ngImport: i0__namespace }); }
52
52
  }
53
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0__namespace, type: MarqueeDirective, decorators: [{
53
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: MarqueeDirective, decorators: [{
54
54
  type: i0.Directive,
55
55
  args: [{
56
56
  standalone: true,
@@ -24,12 +24,12 @@ class MarqueeDirective extends StylableComponent {
24
24
  super(inj, WIDGET_CONFIG, explicitContext);
25
25
  styler(this.nativeElement, this);
26
26
  }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: MarqueeDirective, deps: [{ token: i0.Injector }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
28
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.20", type: MarqueeDirective, isStandalone: true, selector: "[wmMarquee]", providers: [
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: MarqueeDirective, deps: [{ token: i0.Injector }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
28
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: MarqueeDirective, isStandalone: true, selector: "[wmMarquee]", providers: [
29
29
  provideAsWidgetRef(MarqueeDirective)
30
30
  ], usesInheritance: true, ngImport: i0 }); }
31
31
  }
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: MarqueeDirective, decorators: [{
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: MarqueeDirective, decorators: [{
33
33
  type: Directive,
34
34
  args: [{
35
35
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/advanced/marquee/src/marquee.props.ts","../../../../../projects/components/widgets/advanced/marquee/src/marquee.directive.ts","../../../../../projects/components/widgets/advanced/marquee/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-marquee',\n new Map(\n [\n ['class', PROP_STRING],\n ['direction', PROP_STRING],\n ['name', PROP_STRING],\n ['scrollamount', PROP_NUMBER],\n ['scrolldelay', PROP_NUMBER],\n ['show', {value: true, ...PROP_BOOLEAN}]\n ]\n )\n );\n};\n","import {Directive, Inject, Injector, Optional} from '@angular/core';\n\nimport { IWidgetConfig, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\n\nimport { registerProps } from './marquee.props';\n\nconst DEFAULT_CLS = 'app-marquee app-container';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-marquee',\n hostClass: DEFAULT_CLS\n};\n\n@Directive({\n standalone: true,\n selector: '[wmMarquee]',\n providers: [\n provideAsWidgetRef(MarqueeDirective)\n ]\n})\nexport class MarqueeDirective extends StylableComponent {\n static initializeProps = registerProps();\n\n constructor(inj: Injector, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_CONFIG, explicitContext);\n\n styler(this.nativeElement, this);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,YAAY,EACZ,IAAI,GAAG,CACH;QACI,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,MAAM,EAAE,WAAW,CAAC;QACrB,CAAC,cAAc,EAAE,WAAW,CAAC;QAC7B,CAAC,aAAa,EAAE,WAAW,CAAC;QAC5B,CAAC,MAAM,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,GAAG,YAAY,EAAC;AAC1C,KAAA,CACJ,CACJ;AACL,CAAC;;ACVD,MAAM,WAAW,GAAG,2BAA2B;AAC/C,MAAM,aAAa,GAAkB;AACjC,IAAA,UAAU,EAAE,YAAY;AACxB,IAAA,SAAS,EAAE;CACd;AASK,MAAO,gBAAiB,SAAQ,iBAAiB,CAAA;AAC5C,IAAA,SAAA,IAAA,CAAA,eAAe,GAAG,aAAa,EAAhB,CAAmB;IAEzC,WAAA,CAAY,GAAa,EAA0C,eAAoB,EAAA;AACnF,QAAA,KAAK,CAAC,GAAG,EAAE,aAAa,EAAE,eAAe,CAAC;AAE1C,QAAA,MAAM,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC;IACpC;AAPS,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,0CAGU,kBAAkB,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAH5C,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,SAAA,EAJd;YACP,kBAAkB,CAAC,gBAAgB;AACtC,SAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAEQ,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAP5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AACd,oBAAA,QAAQ,EAAE,aAAa;AACvB,oBAAA,SAAS,EAAE;AACP,wBAAA,kBAAkB,CAAA,gBAAA;AACrB;AACJ,iBAAA;;0BAI+B,MAAM;2BAAC,kBAAkB;;0BAAG;;;ACtB5D;;AAEG;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/advanced/marquee/src/marquee.props.ts","../../../../../projects/components/widgets/advanced/marquee/src/marquee.directive.ts","../../../../../projects/components/widgets/advanced/marquee/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-marquee',\n new Map(\n [\n ['class', PROP_STRING],\n ['direction', PROP_STRING],\n ['name', PROP_STRING],\n ['scrollamount', PROP_NUMBER],\n ['scrolldelay', PROP_NUMBER],\n ['show', {value: true, ...PROP_BOOLEAN}]\n ]\n )\n );\n};\n","import {Directive, Inject, Injector, Optional} from '@angular/core';\n\nimport { IWidgetConfig, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\n\nimport { registerProps } from './marquee.props';\n\nconst DEFAULT_CLS = 'app-marquee app-container';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-marquee',\n hostClass: DEFAULT_CLS\n};\n\n@Directive({\n standalone: true,\n selector: '[wmMarquee]',\n providers: [\n provideAsWidgetRef(MarqueeDirective)\n ]\n})\nexport class MarqueeDirective extends StylableComponent {\n static readonly initializeProps = registerProps();\n\n constructor(inj: Injector, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_CONFIG, explicitContext);\n\n styler(this.nativeElement, this);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,YAAY,EACZ,IAAI,GAAG,CACH;QACI,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,MAAM,EAAE,WAAW,CAAC;QACrB,CAAC,cAAc,EAAE,WAAW,CAAC;QAC7B,CAAC,aAAa,EAAE,WAAW,CAAC;QAC5B,CAAC,MAAM,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,GAAG,YAAY,EAAC;AAC1C,KAAA,CACJ,CACJ;AACL,CAAC;;ACVD,MAAM,WAAW,GAAG,2BAA2B;AAC/C,MAAM,aAAa,GAAkB;AACjC,IAAA,UAAU,EAAE,YAAY;AACxB,IAAA,SAAS,EAAE;CACd;AASK,MAAO,gBAAiB,SAAQ,iBAAiB,CAAA;AACnC,IAAA,SAAA,IAAA,CAAA,eAAe,GAAG,aAAa,EAAhB,CAAmB;IAElD,WAAA,CAAY,GAAa,EAA0C,eAAoB,EAAA;AACnF,QAAA,KAAK,CAAC,GAAG,EAAE,aAAa,EAAE,eAAe,CAAC;AAE1C,QAAA,MAAM,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC;IACpC;AAPS,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,0CAGU,kBAAkB,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAH5C,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,SAAA,EAJd;YACP,kBAAkB,CAAC,gBAAgB;AACtC,SAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAEQ,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAP5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AACd,oBAAA,QAAQ,EAAE,aAAa;AACvB,oBAAA,SAAS,EAAE;AACP,wBAAA,kBAAkB,CAAA,gBAAA;AACrB;AACJ,iBAAA;;0BAI+B,MAAM;2BAAC,kBAAkB;;0BAAG;;;ACtB5D;;AAEG;;;;"}
@@ -3,7 +3,7 @@ import { Injector } from '@angular/core';
3
3
  import { StylableComponent } from '@wm/components/base';
4
4
 
5
5
  declare class MarqueeDirective extends StylableComponent {
6
- static initializeProps: void;
6
+ static readonly initializeProps: void;
7
7
  constructor(inj: Injector, explicitContext: any);
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<MarqueeDirective, [null, { optional: true; }]>;
9
9
  static ɵdir: i0.ɵɵDirectiveDeclaration<MarqueeDirective, "[wmMarquee]", never, {}, {}, never, never, true, never>;
@@ -102,7 +102,7 @@
102
102
  /* convert indexes to properties, so as to work for even 'key1[0].child1'*/
103
103
  strKey.replace(/\[(\w+)\]/g, '.$1').split('.').forEach(key => {
104
104
  // If obj is null, then assign val to null.
105
- val = (val && val[key]) || (lodashEs.isNull(obj) ? obj : obj[key]);
105
+ val = (val?.[key]) || (lodashEs.isNull(obj) ? obj : obj[key]);
106
106
  });
107
107
  return val;
108
108
  }
@@ -363,15 +363,13 @@
363
363
  if (options.noModifyTitle) {
364
364
  modifiedTitle = title;
365
365
  }
366
+ else if (lodashEs.isString(title)) {
367
+ modifiedTitle = i1.prettifyLabel(title);
368
+ modifiedTitle = i1.deHyphenate(modifiedTitle);
369
+ modifiedTitle = namePrefix ? i1.initCaps(namePrefix) + ' ' + modifiedTitle : modifiedTitle;
370
+ }
366
371
  else {
367
- if (lodashEs.isString(title)) {
368
- modifiedTitle = i1.prettifyLabel(title);
369
- modifiedTitle = i1.deHyphenate(modifiedTitle);
370
- modifiedTitle = namePrefix ? i1.initCaps(namePrefix) + ' ' + modifiedTitle : modifiedTitle;
371
- }
372
- else {
373
- modifiedTitle = title;
374
- }
372
+ modifiedTitle = title;
375
373
  }
376
374
  title = namePrefix ? namePrefix + '.' + title : title;
377
375
  if (isRelated) {
@@ -636,7 +634,7 @@
636
634
  primaryKeys = dataSource.execute(i1.DataSource.Operation.GET_RELATED_PRIMARY_KEYS, relatedField);
637
635
  formField.datafield = datafield;
638
636
  formField._primaryKey = lodashEs.isEmpty(primaryKeys) ? undefined : primaryKeys[0];
639
- formField.compareby = primaryKeys && primaryKeys.join(',');
637
+ formField.compareby = primaryKeys?.join(',');
640
638
  displayField = datafield === ALLFIELDS ? undefined : datafield;
641
639
  formField.displayfield = displayField = (formField.displayfield || displayField || formField._primaryKey);
642
640
  if (isSearchWidgetType(formField[options.widget])) {
@@ -1016,7 +1014,7 @@
1016
1014
  return;
1017
1015
  }
1018
1016
  // For related fields, add lookupfield for query generation
1019
- if (filterDef && filterDef['is-related']) {
1017
+ if (filterDef?.['is-related']) {
1020
1018
  filterOn += '.' + lookUpField;
1021
1019
  }
1022
1020
  if (i1.isDefined(newVal)) {
@@ -1086,19 +1084,18 @@
1086
1084
  }
1087
1085
  dataObject = [dataObject];
1088
1086
  }
1089
- else {
1090
- /*if the dataObject is an array and each value is a string, then lite-transform the string to an object
1091
- * lite-transform: just checking if the first value is string and then transforming the object, instead of traversing through the whole array
1092
- * */
1093
- if (lodashEs.isString(dataObject[0])) {
1094
- tempArr = [];
1095
- lodashEs.forEach(dataObject, str => {
1096
- newObj = {};
1097
- newObj[variableName.split('.').join('-')] = str;
1098
- tempArr.push(newObj);
1099
- });
1100
- dataObject = tempArr;
1101
- }
1087
+ else
1088
+ /*if the dataObject is an array and each value is a string, then lite-transform the string to an object
1089
+ * lite-transform: just checking if the first value is string and then transforming the object, instead of traversing through the whole array
1090
+ * */
1091
+ if (lodashEs.isString(dataObject[0])) {
1092
+ tempArr = [];
1093
+ lodashEs.forEach(dataObject, str => {
1094
+ newObj = {};
1095
+ newObj[variableName.split('.').join('-')] = str;
1096
+ tempArr.push(newObj);
1097
+ });
1098
+ dataObject = tempArr;
1102
1099
  }
1103
1100
  return dataObject;
1104
1101
  }
@@ -1703,7 +1700,7 @@
1703
1700
  };
1704
1701
  // Get filter widget applicable to the given type
1705
1702
  const getDataTableFilterWidget = type => {
1706
- let widget = fieldTypeWidgetTypeMap[type] && fieldTypeWidgetTypeMap[type][0];
1703
+ let widget = fieldTypeWidgetTypeMap[type]?.[0];
1707
1704
  if (type === i1.DataType.BOOLEAN) {
1708
1705
  widget = i1.FormWidgetType.SELECT;
1709
1706
  }
@@ -1728,7 +1725,7 @@
1728
1725
  if (colDef['related-entity-name'] && colDef['primary-key']) {
1729
1726
  return i1.FormWidgetType.SELECT;
1730
1727
  }
1731
- return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || i1.FormWidgetType.TEXT;
1728
+ return (fieldTypeWidgetTypeMap[colDef.type]?.[0]) || i1.FormWidgetType.TEXT;
1732
1729
  };
1733
1730
  /**
1734
1731
  * @ngdoc function
@@ -2162,10 +2159,10 @@
2162
2159
 
2163
2160
  // Gets list of classes to add and remove and applies on the $el
2164
2161
  const updateClasses = (toAdd, toRemove, el) => {
2165
- if (toRemove && toRemove.length) {
2162
+ if (toRemove?.length) {
2166
2163
  i1.removeClass(el, lodashEs.join(toRemove, ' '));
2167
2164
  }
2168
- if (toAdd && toAdd.length) {
2165
+ if (toAdd?.length) {
2169
2166
  i1.addClass(el, lodashEs.join(toAdd, ' '));
2170
2167
  }
2171
2168
  };
@@ -2291,7 +2288,7 @@
2291
2288
  }
2292
2289
  this.initWidget();
2293
2290
  this.setInitProps();
2294
- resolveFn && resolveFn();
2291
+ resolveFn?.();
2295
2292
  });
2296
2293
  }
2297
2294
  if (explicitContext) {
@@ -2658,7 +2655,7 @@
2658
2655
  getAttributes() {
2659
2656
  let _tNodeAttrs = this.inj._tNode.attrs, actualAttrs = Array.from(this.nativeElement.attributes).map(attr => attr.name);
2660
2657
  if (_tNodeAttrs === null) {
2661
- return actualAttrs.sort();
2658
+ return actualAttrs.sort((a, b) => a.localeCompare(b));
2662
2659
  }
2663
2660
  lodashEs.forEach(_tNodeAttrs, (attr, i) => {
2664
2661
  if (typeof attr === 'number') {
@@ -2679,7 +2676,7 @@
2679
2676
  If array is sorted, placeholder.bind value will be set finally.
2680
2677
  This is caused because of the way we are storing attribute names in watcher registry map
2681
2678
  */
2682
- return actualAttrs.sort();
2679
+ return actualAttrs.sort((a, b) => a.localeCompare(b));
2683
2680
  }
2684
2681
  /**
2685
2682
  * Process the attributes
@@ -2882,7 +2879,7 @@
2882
2879
  return;
2883
2880
  }
2884
2881
  else {
2885
- return widget.redraw && widget.redraw();
2882
+ return widget.redraw?.();
2886
2883
  }
2887
2884
  };
2888
2885
  }
@@ -2909,10 +2906,10 @@
2909
2906
  updateRedrawableComponents(widgets) {
2910
2907
  lodashEs.pickBy(widgets, widget => {
2911
2908
  // check for redrawable widget and whether it is already exist in reDrawableComponents query list or not
2912
- if (widget && widget.nativeElement && widget.nativeElement.hasAttribute('redrawable') && !lodashEs.includes(this.reDrawableComponents._results, widget)) {
2909
+ if (widget?.nativeElement?.hasAttribute('redrawable') && !lodashEs.includes(this.reDrawableComponents._results, widget)) {
2913
2910
  this.reDrawableComponents._results.push(widget);
2914
2911
  }
2915
- if (widget && widget.Widgets) {
2912
+ if (widget?.Widgets) {
2916
2913
  this.updateRedrawableComponents(widget.Widgets);
2917
2914
  }
2918
2915
  });
@@ -3296,7 +3293,7 @@
3296
3293
  // in place instead of destroying and recreating it (that used to cause a
3297
3294
  // visible flicker on every param change). Fall back to a full render only if
3298
3295
  // there's no live instance yet to refresh.
3299
- if (this.instanceRef && this.instanceRef.instance) {
3296
+ if (this.instanceRef?.instance) {
3300
3297
  i1.$appDigest(true);
3301
3298
  }
3302
3299
  else {
@@ -3652,7 +3649,7 @@
3652
3649
  this.setCustomValidationMessage();
3653
3650
  }
3654
3651
  setCustomValidationMessage() {
3655
- const fieldErrors = this.widgetControl && this.widgetControl.errors;
3652
+ const fieldErrors = this.widgetControl?.errors;
3656
3653
  if (!fieldErrors) {
3657
3654
  return;
3658
3655
  }
@@ -4437,13 +4434,11 @@
4437
4434
  }
4438
4435
  }
4439
4436
  }
4437
+ else if (dialogRefMap.size === 1) {
4438
+ dialogRef = dialogRefMap.entries().next().value[1];
4439
+ }
4440
4440
  else {
4441
- if (dialogRefMap.size === 1) {
4442
- dialogRef = dialogRefMap.entries().next().value[1];
4443
- }
4444
- else {
4445
- console.error('There are multiple instances of this dialog name. Please provide the Page/Partial/App instance in which the dialog exists.');
4446
- }
4441
+ console.error('There are multiple instances of this dialog name. Please provide the Page/Partial/App instance in which the dialog exists.');
4447
4442
  }
4448
4443
  return dialogRef;
4449
4444
  }
@@ -4639,7 +4634,7 @@
4639
4634
  fracSize = '1.' + fracSize + '-' + fracSize;
4640
4635
  }
4641
4636
  if (!isNaN(+data)) {
4642
- const locale = this.i18nService && this.i18nService.getwidgetLocale() ? this.i18nService.getwidgetLocale() : undefined;
4637
+ const locale = this.i18nService?.getwidgetLocale() ? this.i18nService.getwidgetLocale() : undefined;
4643
4638
  const formattedLocale = locale ? locale['number'] : null;
4644
4639
  return this.decimalPipe.transform(data, fracSize, formattedLocale);
4645
4640
  }
@@ -4663,7 +4658,7 @@
4663
4658
  }] }], null); })();
4664
4659
  class ToCurrencyPipe {
4665
4660
  transform(data, currencySymbol, fracSize) {
4666
- const _currencySymbol = (i1.CURRENCY_INFO[currencySymbol] || {}).symbol || currencySymbol || '';
4661
+ const _currencySymbol = (i1.CURRENCY_INFO[currencySymbol]?.symbol) || currencySymbol || '';
4667
4662
  let _val = new ToNumberPipe(this.decimalPipe, this.i18nService).transform(data, fracSize);
4668
4663
  const isNegativeNumber = lodashEs.startsWith(_val, '-');
4669
4664
  if (isNegativeNumber) {
@@ -5229,7 +5224,7 @@
5229
5224
  // --- override for cleanup ---
5230
5225
  proto.ngOnDestroy = function () {
5231
5226
  const store = this.__al_store;
5232
- if (store && store.destroySub) {
5227
+ if (store?.destroySub) {
5233
5228
  store.destroySub.next();
5234
5229
  store.destroySub.complete();
5235
5230
  }
@@ -5512,7 +5507,6 @@
5512
5507
  styles['flex-grow'] = '';
5513
5508
  styles['flex-shrink'] = '0';
5514
5509
  styles['flex-basis'] = '';
5515
- styles['flex-basis'] = '';
5516
5510
  styles['align-self'] = '';
5517
5511
  styles[minKey] = '';
5518
5512
  }
@@ -92,7 +92,7 @@ const getObjValueByKey = (obj, strKey) => {
92
92
  /* convert indexes to properties, so as to work for even 'key1[0].child1'*/
93
93
  strKey.replace(/\[(\w+)\]/g, '.$1').split('.').forEach(key => {
94
94
  // If obj is null, then assign val to null.
95
- val = (val && val[key]) || (isNull(obj) ? obj : obj[key]);
95
+ val = (val?.[key]) || (isNull(obj) ? obj : obj[key]);
96
96
  });
97
97
  return val;
98
98
  }
@@ -353,15 +353,13 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
353
353
  if (options.noModifyTitle) {
354
354
  modifiedTitle = title;
355
355
  }
356
+ else if (isString(title)) {
357
+ modifiedTitle = prettifyLabel(title);
358
+ modifiedTitle = deHyphenate(modifiedTitle);
359
+ modifiedTitle = namePrefix ? initCaps(namePrefix) + ' ' + modifiedTitle : modifiedTitle;
360
+ }
356
361
  else {
357
- if (isString(title)) {
358
- modifiedTitle = prettifyLabel(title);
359
- modifiedTitle = deHyphenate(modifiedTitle);
360
- modifiedTitle = namePrefix ? initCaps(namePrefix) + ' ' + modifiedTitle : modifiedTitle;
361
- }
362
- else {
363
- modifiedTitle = title;
364
- }
362
+ modifiedTitle = title;
365
363
  }
366
364
  title = namePrefix ? namePrefix + '.' + title : title;
367
365
  if (isRelated) {
@@ -626,7 +624,7 @@ function fetchRelatedFieldData(dataSource, formField, options) {
626
624
  primaryKeys = dataSource.execute(DataSource.Operation.GET_RELATED_PRIMARY_KEYS, relatedField);
627
625
  formField.datafield = datafield;
628
626
  formField._primaryKey = isEmpty(primaryKeys) ? undefined : primaryKeys[0];
629
- formField.compareby = primaryKeys && primaryKeys.join(',');
627
+ formField.compareby = primaryKeys?.join(',');
630
628
  displayField = datafield === ALLFIELDS ? undefined : datafield;
631
629
  formField.displayfield = displayField = (formField.displayfield || displayField || formField._primaryKey);
632
630
  if (isSearchWidgetType(formField[options.widget])) {
@@ -1006,7 +1004,7 @@ function applyFilterOnField(dataSource, filterDef, formFields, newVal, options =
1006
1004
  return;
1007
1005
  }
1008
1006
  // For related fields, add lookupfield for query generation
1009
- if (filterDef && filterDef['is-related']) {
1007
+ if (filterDef?.['is-related']) {
1010
1008
  filterOn += '.' + lookUpField;
1011
1009
  }
1012
1010
  if (isDefined(newVal)) {
@@ -1076,19 +1074,18 @@ function transformData(dataObject, variableName) {
1076
1074
  }
1077
1075
  dataObject = [dataObject];
1078
1076
  }
1079
- else {
1080
- /*if the dataObject is an array and each value is a string, then lite-transform the string to an object
1081
- * lite-transform: just checking if the first value is string and then transforming the object, instead of traversing through the whole array
1082
- * */
1083
- if (isString(dataObject[0])) {
1084
- tempArr = [];
1085
- forEach(dataObject, str => {
1086
- newObj = {};
1087
- newObj[variableName.split('.').join('-')] = str;
1088
- tempArr.push(newObj);
1089
- });
1090
- dataObject = tempArr;
1091
- }
1077
+ else
1078
+ /*if the dataObject is an array and each value is a string, then lite-transform the string to an object
1079
+ * lite-transform: just checking if the first value is string and then transforming the object, instead of traversing through the whole array
1080
+ * */
1081
+ if (isString(dataObject[0])) {
1082
+ tempArr = [];
1083
+ forEach(dataObject, str => {
1084
+ newObj = {};
1085
+ newObj[variableName.split('.').join('-')] = str;
1086
+ tempArr.push(newObj);
1087
+ });
1088
+ dataObject = tempArr;
1092
1089
  }
1093
1090
  return dataObject;
1094
1091
  }
@@ -1695,7 +1692,7 @@ const getFieldTypeWidgetTypesMap = () => {
1695
1692
  };
1696
1693
  // Get filter widget applicable to the given type
1697
1694
  const getDataTableFilterWidget = type => {
1698
- let widget = fieldTypeWidgetTypeMap[type] && fieldTypeWidgetTypeMap[type][0];
1695
+ let widget = fieldTypeWidgetTypeMap[type]?.[0];
1699
1696
  if (type === DataType.BOOLEAN) {
1700
1697
  widget = FormWidgetType.SELECT;
1701
1698
  }
@@ -1720,7 +1717,7 @@ const getEditModeWidget = colDef => {
1720
1717
  if (colDef['related-entity-name'] && colDef['primary-key']) {
1721
1718
  return FormWidgetType.SELECT;
1722
1719
  }
1723
- return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;
1720
+ return (fieldTypeWidgetTypeMap[colDef.type]?.[0]) || FormWidgetType.TEXT;
1724
1721
  };
1725
1722
  /**
1726
1723
  * @ngdoc function
@@ -2158,10 +2155,10 @@ class WidgetProxyProvider {
2158
2155
 
2159
2156
  // Gets list of classes to add and remove and applies on the $el
2160
2157
  const updateClasses = (toAdd, toRemove, el) => {
2161
- if (toRemove && toRemove.length) {
2158
+ if (toRemove?.length) {
2162
2159
  removeClass(el, join(toRemove, ' '));
2163
2160
  }
2164
- if (toAdd && toAdd.length) {
2161
+ if (toAdd?.length) {
2165
2162
  addClass(el, join(toAdd, ' '));
2166
2163
  }
2167
2164
  };
@@ -2287,7 +2284,7 @@ class BaseComponent {
2287
2284
  }
2288
2285
  this.initWidget();
2289
2286
  this.setInitProps();
2290
- resolveFn && resolveFn();
2287
+ resolveFn?.();
2291
2288
  });
2292
2289
  }
2293
2290
  if (explicitContext) {
@@ -2656,7 +2653,7 @@ class BaseComponent {
2656
2653
  getAttributes() {
2657
2654
  let _tNodeAttrs = this.inj._tNode.attrs, actualAttrs = Array.from(this.nativeElement.attributes).map(attr => attr.name);
2658
2655
  if (_tNodeAttrs === null) {
2659
- return actualAttrs.sort();
2656
+ return actualAttrs.sort((a, b) => a.localeCompare(b));
2660
2657
  }
2661
2658
  forEach(_tNodeAttrs, (attr, i) => {
2662
2659
  if (typeof attr === 'number') {
@@ -2677,7 +2674,7 @@ class BaseComponent {
2677
2674
  If array is sorted, placeholder.bind value will be set finally.
2678
2675
  This is caused because of the way we are storing attribute names in watcher registry map
2679
2676
  */
2680
- return actualAttrs.sort();
2677
+ return actualAttrs.sort((a, b) => a.localeCompare(b));
2681
2678
  }
2682
2679
  /**
2683
2680
  * Process the attributes
@@ -2880,7 +2877,7 @@ class RedrawableDirective {
2880
2877
  return;
2881
2878
  }
2882
2879
  else {
2883
- return widget.redraw && widget.redraw();
2880
+ return widget.redraw?.();
2884
2881
  }
2885
2882
  };
2886
2883
  }
@@ -2907,10 +2904,10 @@ class BaseContainerComponent extends StylableComponent {
2907
2904
  updateRedrawableComponents(widgets) {
2908
2905
  pickBy(widgets, widget => {
2909
2906
  // check for redrawable widget and whether it is already exist in reDrawableComponents query list or not
2910
- if (widget && widget.nativeElement && widget.nativeElement.hasAttribute('redrawable') && !includes(this.reDrawableComponents._results, widget)) {
2907
+ if (widget?.nativeElement?.hasAttribute('redrawable') && !includes(this.reDrawableComponents._results, widget)) {
2911
2908
  this.reDrawableComponents._results.push(widget);
2912
2909
  }
2913
- if (widget && widget.Widgets) {
2910
+ if (widget?.Widgets) {
2914
2911
  this.updateRedrawableComponents(widget.Widgets);
2915
2912
  }
2916
2913
  });
@@ -3294,7 +3291,7 @@ class PartialContainerDirective {
3294
3291
  // in place instead of destroying and recreating it (that used to cause a
3295
3292
  // visible flicker on every param change). Fall back to a full render only if
3296
3293
  // there's no live instance yet to refresh.
3297
- if (this.instanceRef && this.instanceRef.instance) {
3294
+ if (this.instanceRef?.instance) {
3298
3295
  $appDigest(true);
3299
3296
  }
3300
3297
  else {
@@ -3650,7 +3647,7 @@ class BaseFieldValidations {
3650
3647
  this.setCustomValidationMessage();
3651
3648
  }
3652
3649
  setCustomValidationMessage() {
3653
- const fieldErrors = this.widgetControl && this.widgetControl.errors;
3650
+ const fieldErrors = this.widgetControl?.errors;
3654
3651
  if (!fieldErrors) {
3655
3652
  return;
3656
3653
  }
@@ -4436,13 +4433,11 @@ class DialogServiceImpl {
4436
4433
  }
4437
4434
  }
4438
4435
  }
4436
+ else if (dialogRefMap.size === 1) {
4437
+ dialogRef = dialogRefMap.entries().next().value[1];
4438
+ }
4439
4439
  else {
4440
- if (dialogRefMap.size === 1) {
4441
- dialogRef = dialogRefMap.entries().next().value[1];
4442
- }
4443
- else {
4444
- console.error('There are multiple instances of this dialog name. Please provide the Page/Partial/App instance in which the dialog exists.');
4445
- }
4440
+ console.error('There are multiple instances of this dialog name. Please provide the Page/Partial/App instance in which the dialog exists.');
4446
4441
  }
4447
4442
  return dialogRef;
4448
4443
  }
@@ -4638,7 +4633,7 @@ class ToNumberPipe {
4638
4633
  fracSize = '1.' + fracSize + '-' + fracSize;
4639
4634
  }
4640
4635
  if (!isNaN(+data)) {
4641
- const locale = this.i18nService && this.i18nService.getwidgetLocale() ? this.i18nService.getwidgetLocale() : undefined;
4636
+ const locale = this.i18nService?.getwidgetLocale() ? this.i18nService.getwidgetLocale() : undefined;
4642
4637
  const formattedLocale = locale ? locale['number'] : null;
4643
4638
  return this.decimalPipe.transform(data, fracSize, formattedLocale);
4644
4639
  }
@@ -4662,7 +4657,7 @@ class ToNumberPipe {
4662
4657
  }] }], null); })();
4663
4658
  class ToCurrencyPipe {
4664
4659
  transform(data, currencySymbol, fracSize) {
4665
- const _currencySymbol = (CURRENCY_INFO[currencySymbol] || {}).symbol || currencySymbol || '';
4660
+ const _currencySymbol = (CURRENCY_INFO[currencySymbol]?.symbol) || currencySymbol || '';
4666
4661
  let _val = new ToNumberPipe(this.decimalPipe, this.i18nService).transform(data, fracSize);
4667
4662
  const isNegativeNumber = startsWith(_val, '-');
4668
4663
  if (isNegativeNumber) {
@@ -5228,7 +5223,7 @@ function AutoLayout(options = {}) {
5228
5223
  // --- override for cleanup ---
5229
5224
  proto.ngOnDestroy = function () {
5230
5225
  const store = this.__al_store;
5231
- if (store && store.destroySub) {
5226
+ if (store?.destroySub) {
5232
5227
  store.destroySub.next();
5233
5228
  store.destroySub.complete();
5234
5229
  }
@@ -5513,7 +5508,6 @@ function AutoLayout(options = {}) {
5513
5508
  styles['flex-grow'] = '';
5514
5509
  styles['flex-shrink'] = '0';
5515
5510
  styles['flex-basis'] = '';
5516
- styles['flex-basis'] = '';
5517
5511
  styles['align-self'] = '';
5518
5512
  styles[minKey] = '';
5519
5513
  }