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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (473) hide show
  1. package/build-task/bundles/index.umd.js +2489 -2963
  2. package/build-task/fesm2022/index.mjs +2307 -2786
  3. package/build-task/fesm2022/index.mjs.map +1 -1
  4. package/build-task/types/index.d.ts +401 -844
  5. package/components/advanced/carousel/bundles/index.umd.js +387 -344
  6. package/components/advanced/carousel/fesm2022/index.mjs +363 -325
  7. package/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
  8. package/components/advanced/carousel/types/index.d.ts +85 -86
  9. package/components/advanced/custom/bundles/index.umd.js +298 -249
  10. package/components/advanced/custom/fesm2022/index.mjs +280 -236
  11. package/components/advanced/custom/fesm2022/index.mjs.map +1 -1
  12. package/components/advanced/custom/types/index.d.ts +49 -49
  13. package/components/advanced/login/bundles/index.umd.js +177 -127
  14. package/components/advanced/login/fesm2022/index.mjs +162 -117
  15. package/components/advanced/login/fesm2022/index.mjs.map +1 -1
  16. package/components/advanced/login/types/index.d.ts +33 -34
  17. package/components/advanced/marquee/bundles/index.umd.js +93 -63
  18. package/components/advanced/marquee/fesm2022/index.mjs +73 -48
  19. package/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
  20. package/components/advanced/marquee/types/index.d.ts +11 -12
  21. package/components/base/bundles/index.umd.js +5515 -6359
  22. package/components/base/fesm2022/index.mjs +5169 -6027
  23. package/components/base/fesm2022/index.mjs.map +1 -1
  24. package/components/base/types/index.d.ts +1198 -1154
  25. package/components/basic/anchor/bundles/index.umd.js +273 -195
  26. package/components/basic/anchor/fesm2022/index.mjs +251 -178
  27. package/components/basic/anchor/fesm2022/index.mjs.map +1 -1
  28. package/components/basic/anchor/types/index.d.ts +40 -41
  29. package/components/basic/audio/bundles/index.umd.js +124 -75
  30. package/components/basic/audio/fesm2022/index.mjs +104 -60
  31. package/components/basic/audio/fesm2022/index.mjs.map +1 -1
  32. package/components/basic/audio/types/index.d.ts +22 -23
  33. package/components/basic/html/bundles/index.umd.js +144 -113
  34. package/components/basic/html/fesm2022/index.mjs +125 -99
  35. package/components/basic/html/fesm2022/index.mjs.map +1 -1
  36. package/components/basic/html/types/index.d.ts +20 -17
  37. package/components/basic/icon/bundles/index.umd.js +144 -72
  38. package/components/basic/icon/fesm2022/index.mjs +124 -57
  39. package/components/basic/icon/fesm2022/index.mjs.map +1 -1
  40. package/components/basic/icon/types/index.d.ts +18 -19
  41. package/components/basic/iframe/bundles/index.umd.js +143 -93
  42. package/components/basic/iframe/fesm2022/index.mjs +124 -79
  43. package/components/basic/iframe/fesm2022/index.mjs.map +1 -1
  44. package/components/basic/iframe/types/index.d.ts +28 -29
  45. package/components/basic/label/bundles/index.umd.js +136 -120
  46. package/components/basic/label/fesm2022/index.mjs +118 -107
  47. package/components/basic/label/fesm2022/index.mjs.map +1 -1
  48. package/components/basic/label/types/index.d.ts +14 -15
  49. package/components/basic/picture/bundles/index.umd.js +171 -130
  50. package/components/basic/picture/fesm2022/index.mjs +152 -116
  51. package/components/basic/picture/fesm2022/index.mjs.map +1 -1
  52. package/components/basic/picture/types/index.d.ts +21 -22
  53. package/components/basic/progress/progress-bar/bundles/index.umd.js +211 -160
  54. package/components/basic/progress/progress-bar/fesm2022/index.mjs +193 -147
  55. package/components/basic/progress/progress-bar/fesm2022/index.mjs.map +1 -1
  56. package/components/basic/progress/progress-bar/types/index.d.ts +45 -41
  57. package/components/basic/progress/progress-circle/bundles/index.umd.js +294 -165
  58. package/components/basic/progress/progress-circle/fesm2022/index.mjs +274 -150
  59. package/components/basic/progress/progress-circle/fesm2022/index.mjs.map +1 -1
  60. package/components/basic/progress/progress-circle/types/index.d.ts +41 -42
  61. package/components/basic/progress/progress-utils/bundles/index.umd.js +27 -29
  62. package/components/basic/progress/progress-utils/fesm2022/index.mjs +18 -25
  63. package/components/basic/progress/progress-utils/fesm2022/index.mjs.map +1 -1
  64. package/components/basic/progress/progress-utils/types/index.d.ts +3 -5
  65. package/components/basic/rich-text-editor/bundles/index.umd.js +294 -228
  66. package/components/basic/rich-text-editor/fesm2022/index.mjs +275 -214
  67. package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  68. package/components/basic/rich-text-editor/types/index.d.ts +55 -56
  69. package/components/basic/search/bundles/index.umd.js +1129 -1090
  70. package/components/basic/search/fesm2022/index.mjs +1117 -1083
  71. package/components/basic/search/fesm2022/index.mjs.map +1 -1
  72. package/components/basic/search/types/index.d.ts +132 -130
  73. package/components/basic/spinner/bundles/index.umd.js +216 -120
  74. package/components/basic/spinner/fesm2022/index.mjs +201 -110
  75. package/components/basic/spinner/fesm2022/index.mjs.map +1 -1
  76. package/components/basic/spinner/types/index.d.ts +30 -31
  77. package/components/basic/tree/bundles/index.umd.js +756 -756
  78. package/components/basic/tree/fesm2022/index.mjs +740 -745
  79. package/components/basic/tree/fesm2022/index.mjs.map +1 -1
  80. package/components/basic/tree/types/index.d.ts +106 -97
  81. package/components/basic/video/bundles/index.umd.js +164 -108
  82. package/components/basic/video/fesm2022/index.mjs +145 -94
  83. package/components/basic/video/fesm2022/index.mjs.map +1 -1
  84. package/components/basic/video/types/index.d.ts +29 -30
  85. package/components/chart/bundles/index.umd.js +1768 -1737
  86. package/components/chart/fesm2022/index.mjs +1713 -1728
  87. package/components/chart/fesm2022/index.mjs.map +1 -1
  88. package/components/chart/types/index.d.ts +102 -104
  89. package/components/containers/accordion/bundles/index.umd.js +522 -494
  90. package/components/containers/accordion/fesm2022/index.mjs +502 -479
  91. package/components/containers/accordion/fesm2022/index.mjs.map +1 -1
  92. package/components/containers/accordion/types/index.d.ts +116 -116
  93. package/components/containers/layout-grid/bundles/index.umd.js +260 -164
  94. package/components/containers/layout-grid/fesm2022/index.mjs +231 -140
  95. package/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
  96. package/components/containers/layout-grid/types/index.d.ts +30 -27
  97. package/components/containers/linear-layout/bundles/index.umd.js +220 -178
  98. package/components/containers/linear-layout/fesm2022/index.mjs +193 -156
  99. package/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
  100. package/components/containers/linear-layout/types/index.d.ts +26 -26
  101. package/components/containers/panel/bundles/index.umd.js +343 -215
  102. package/components/containers/panel/fesm2022/index.mjs +330 -207
  103. package/components/containers/panel/fesm2022/index.mjs.map +1 -1
  104. package/components/containers/panel/types/index.d.ts +48 -49
  105. package/components/containers/tabs/bundles/index.umd.js +832 -779
  106. package/components/containers/tabs/fesm2022/index.mjs +811 -763
  107. package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  108. package/components/containers/tabs/types/index.d.ts +134 -126
  109. package/components/containers/tile/bundles/index.umd.js +93 -60
  110. package/components/containers/tile/fesm2022/index.mjs +75 -47
  111. package/components/containers/tile/fesm2022/index.mjs.map +1 -1
  112. package/components/containers/tile/types/index.d.ts +11 -12
  113. package/components/containers/wizard/bundles/index.umd.js +1096 -1078
  114. package/components/containers/wizard/fesm2022/index.mjs +1069 -1056
  115. package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
  116. package/components/containers/wizard/types/index.d.ts +258 -252
  117. package/components/data/card/bundles/index.umd.js +439 -229
  118. package/components/data/card/fesm2022/index.mjs +408 -203
  119. package/components/data/card/fesm2022/index.mjs.map +1 -1
  120. package/components/data/card/types/index.d.ts +50 -48
  121. package/components/data/form/bundles/index.umd.js +3392 -3339
  122. package/components/data/form/fesm2022/index.mjs +3350 -3304
  123. package/components/data/form/fesm2022/index.mjs.map +1 -1
  124. package/components/data/form/types/index.d.ts +561 -482
  125. package/components/data/list/bundles/index.umd.js +1523 -1601
  126. package/components/data/list/fesm2022/index.mjs +1507 -1590
  127. package/components/data/list/fesm2022/index.mjs.map +1 -1
  128. package/components/data/list/types/index.d.ts +300 -283
  129. package/components/data/live-table/bundles/index.umd.js +299 -280
  130. package/components/data/live-table/fesm2022/index.mjs +284 -270
  131. package/components/data/live-table/fesm2022/index.mjs.map +1 -1
  132. package/components/data/live-table/types/index.d.ts +42 -39
  133. package/components/data/pagination/bundles/index.umd.js +848 -881
  134. package/components/data/pagination/fesm2022/index.mjs +835 -879
  135. package/components/data/pagination/fesm2022/index.mjs.map +1 -1
  136. package/components/data/pagination/types/index.d.ts +110 -106
  137. package/components/data/table/bundles/index.umd.js +4977 -5042
  138. package/components/data/table/fesm2022/index.mjs +4937 -5007
  139. package/components/data/table/fesm2022/index.mjs.map +1 -1
  140. package/components/data/table/types/index.d.ts +770 -736
  141. package/components/dialogs/alert-dialog/bundles/index.umd.js +259 -118
  142. package/components/dialogs/alert-dialog/fesm2022/index.mjs +243 -109
  143. package/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
  144. package/components/dialogs/alert-dialog/types/index.d.ts +31 -26
  145. package/components/dialogs/confirm-dialog/bundles/index.umd.js +250 -121
  146. package/components/dialogs/confirm-dialog/fesm2022/index.mjs +236 -114
  147. package/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
  148. package/components/dialogs/confirm-dialog/types/index.d.ts +34 -29
  149. package/components/dialogs/default/bundles/index.umd.js +509 -373
  150. package/components/dialogs/default/fesm2022/index.mjs +485 -354
  151. package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  152. package/components/dialogs/default/types/index.d.ts +129 -86
  153. package/components/dialogs/design-dialog/bundles/index.umd.js +320 -142
  154. package/components/dialogs/design-dialog/fesm2022/index.mjs +305 -132
  155. package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  156. package/components/dialogs/design-dialog/types/index.d.ts +31 -20
  157. package/components/dialogs/iframe-dialog/bundles/index.umd.js +258 -111
  158. package/components/dialogs/iframe-dialog/fesm2022/index.mjs +245 -105
  159. package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
  160. package/components/dialogs/iframe-dialog/types/index.d.ts +27 -22
  161. package/components/dialogs/login-dialog/bundles/index.umd.js +139 -106
  162. package/components/dialogs/login-dialog/fesm2022/index.mjs +125 -97
  163. package/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
  164. package/components/dialogs/login-dialog/types/index.d.ts +27 -26
  165. package/components/dialogs/partial-dialog/bundles/index.umd.js +302 -149
  166. package/components/dialogs/partial-dialog/fesm2022/index.mjs +289 -143
  167. package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
  168. package/components/dialogs/partial-dialog/types/index.d.ts +37 -32
  169. package/components/input/base-form/bundles/index.umd.js +143 -139
  170. package/components/input/base-form/fesm2022/index.mjs +129 -130
  171. package/components/input/base-form/fesm2022/index.mjs.map +1 -1
  172. package/components/input/base-form/types/index.d.ts +28 -29
  173. package/components/input/base-form-custom/bundles/index.umd.js +107 -121
  174. package/components/input/base-form-custom/fesm2022/index.mjs +88 -107
  175. package/components/input/base-form-custom/fesm2022/index.mjs.map +1 -1
  176. package/components/input/base-form-custom/types/index.d.ts +23 -26
  177. package/components/input/button/bundles/index.umd.js +177 -89
  178. package/components/input/button/fesm2022/index.mjs +158 -75
  179. package/components/input/button/fesm2022/index.mjs.map +1 -1
  180. package/components/input/button/types/index.d.ts +24 -25
  181. package/components/input/button-group/bundles/index.umd.js +110 -72
  182. package/components/input/button-group/fesm2022/index.mjs +90 -57
  183. package/components/input/button-group/fesm2022/index.mjs.map +1 -1
  184. package/components/input/button-group/types/index.d.ts +13 -14
  185. package/components/input/calendar/bundles/index.umd.js +615 -647
  186. package/components/input/calendar/fesm2022/index.mjs +596 -649
  187. package/components/input/calendar/fesm2022/index.mjs.map +1 -1
  188. package/components/input/calendar/types/index.d.ts +130 -131
  189. package/components/input/caption-position/bundles/index.umd.js +175 -188
  190. package/components/input/caption-position/fesm2022/index.mjs +159 -177
  191. package/components/input/caption-position/fesm2022/index.mjs.map +1 -1
  192. package/components/input/caption-position/types/index.d.ts +31 -34
  193. package/components/input/checkbox/bundles/index.umd.js +339 -200
  194. package/components/input/checkbox/fesm2022/index.mjs +319 -185
  195. package/components/input/checkbox/fesm2022/index.mjs.map +1 -1
  196. package/components/input/checkbox/types/index.d.ts +46 -41
  197. package/components/input/checkboxset/bundles/index.umd.js +256 -170
  198. package/components/input/checkboxset/fesm2022/index.mjs +242 -161
  199. package/components/input/checkboxset/fesm2022/index.mjs.map +1 -1
  200. package/components/input/checkboxset/types/index.d.ts +26 -27
  201. package/components/input/chips/bundles/index.umd.js +721 -733
  202. package/components/input/chips/fesm2022/index.mjs +706 -723
  203. package/components/input/chips/fesm2022/index.mjs.map +1 -1
  204. package/components/input/chips/types/index.d.ts +101 -90
  205. package/components/input/color-picker/bundles/index.umd.js +312 -137
  206. package/components/input/color-picker/fesm2022/index.mjs +296 -126
  207. package/components/input/color-picker/fesm2022/index.mjs.map +1 -1
  208. package/components/input/color-picker/types/index.d.ts +35 -36
  209. package/components/input/composite/bundles/index.umd.js +127 -112
  210. package/components/input/composite/fesm2022/index.mjs +106 -96
  211. package/components/input/composite/fesm2022/index.mjs.map +1 -1
  212. package/components/input/composite/types/index.d.ts +26 -27
  213. package/components/input/currency/bundles/index.umd.js +237 -104
  214. package/components/input/currency/fesm2022/index.mjs +219 -91
  215. package/components/input/currency/fesm2022/index.mjs.map +1 -1
  216. package/components/input/currency/types/index.d.ts +30 -31
  217. package/components/input/dataset-aware-form/bundles/index.umd.js +298 -346
  218. package/components/input/dataset-aware-form/fesm2022/index.mjs +286 -339
  219. package/components/input/dataset-aware-form/fesm2022/index.mjs.map +1 -1
  220. package/components/input/dataset-aware-form/types/index.d.ts +80 -80
  221. package/components/input/epoch/base-date-time/bundles/index.umd.js +809 -1081
  222. package/components/input/epoch/base-date-time/fesm2022/index.mjs +796 -1073
  223. package/components/input/epoch/base-date-time/fesm2022/index.mjs.map +1 -1
  224. package/components/input/epoch/base-date-time/types/index.d.ts +244 -247
  225. package/components/input/epoch/date/bundles/index.umd.js +619 -513
  226. package/components/input/epoch/date/fesm2022/index.mjs +604 -503
  227. package/components/input/epoch/date/fesm2022/index.mjs.map +1 -1
  228. package/components/input/epoch/date/types/index.d.ts +63 -64
  229. package/components/input/epoch/date-time/bundles/index.umd.js +682 -511
  230. package/components/input/epoch/date-time/fesm2022/index.mjs +672 -506
  231. package/components/input/epoch/date-time/fesm2022/index.mjs.map +1 -1
  232. package/components/input/epoch/date-time/types/index.d.ts +111 -112
  233. package/components/input/epoch/date-time-picker/bundles/index.umd.js +417 -321
  234. package/components/input/epoch/date-time-picker/fesm2022/index.mjs +405 -314
  235. package/components/input/epoch/date-time-picker/fesm2022/index.mjs.map +1 -1
  236. package/components/input/epoch/date-time-picker/types/index.d.ts +135 -80
  237. package/components/input/epoch/picker/bundles/index.umd.js +201 -148
  238. package/components/input/epoch/picker/fesm2022/index.mjs +183 -135
  239. package/components/input/epoch/picker/fesm2022/index.mjs.map +1 -1
  240. package/components/input/epoch/picker/types/index.d.ts +46 -38
  241. package/components/input/epoch/time/bundles/index.umd.js +534 -392
  242. package/components/input/epoch/time/fesm2022/index.mjs +523 -386
  243. package/components/input/epoch/time/fesm2022/index.mjs.map +1 -1
  244. package/components/input/epoch/time/types/index.d.ts +107 -108
  245. package/components/input/file-upload/bundles/index.umd.js +500 -477
  246. package/components/input/file-upload/fesm2022/index.mjs +484 -466
  247. package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  248. package/components/input/file-upload/types/index.d.ts +110 -109
  249. package/components/input/number/bundles/index.umd.js +241 -101
  250. package/components/input/number/fesm2022/index.mjs +224 -89
  251. package/components/input/number/fesm2022/index.mjs.map +1 -1
  252. package/components/input/number/types/index.d.ts +28 -29
  253. package/components/input/radioset/bundles/index.umd.js +240 -156
  254. package/components/input/radioset/fesm2022/index.mjs +226 -147
  255. package/components/input/radioset/fesm2022/index.mjs.map +1 -1
  256. package/components/input/radioset/types/index.d.ts +25 -26
  257. package/components/input/rating/bundles/index.umd.js +353 -266
  258. package/components/input/rating/fesm2022/index.mjs +337 -255
  259. package/components/input/rating/fesm2022/index.mjs.map +1 -1
  260. package/components/input/rating/types/index.d.ts +52 -53
  261. package/components/input/select/bundles/index.umd.js +295 -217
  262. package/components/input/select/fesm2022/index.mjs +280 -207
  263. package/components/input/select/fesm2022/index.mjs.map +1 -1
  264. package/components/input/select/types/index.d.ts +38 -39
  265. package/components/input/slider/bundles/index.umd.js +316 -197
  266. package/components/input/slider/fesm2022/index.mjs +297 -183
  267. package/components/input/slider/fesm2022/index.mjs.map +1 -1
  268. package/components/input/slider/types/index.d.ts +43 -44
  269. package/components/input/switch/bundles/index.umd.js +257 -219
  270. package/components/input/switch/fesm2022/index.mjs +243 -210
  271. package/components/input/switch/fesm2022/index.mjs.map +1 -1
  272. package/components/input/switch/types/index.d.ts +34 -35
  273. package/components/input/text/bundles/index.umd.js +1585 -1120
  274. package/components/input/text/fesm2022/index.mjs +1542 -1082
  275. package/components/input/text/fesm2022/index.mjs.map +1 -1
  276. package/components/input/text/types/index.d.ts +313 -310
  277. package/components/input/textarea/bundles/index.umd.js +224 -100
  278. package/components/input/textarea/fesm2022/index.mjs +207 -88
  279. package/components/input/textarea/fesm2022/index.mjs.map +1 -1
  280. package/components/input/textarea/types/index.d.ts +32 -33
  281. package/components/navigation/breadcrumb/bundles/index.umd.js +205 -131
  282. package/components/navigation/breadcrumb/fesm2022/index.mjs +188 -118
  283. package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
  284. package/components/navigation/breadcrumb/types/index.d.ts +29 -28
  285. package/components/navigation/menu/bundles/index.umd.js +1461 -950
  286. package/components/navigation/menu/fesm2022/index.mjs +1416 -910
  287. package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  288. package/components/navigation/menu/types/index.d.ts +220 -193
  289. package/components/navigation/navbar/bundles/index.umd.js +172 -79
  290. package/components/navigation/navbar/fesm2022/index.mjs +155 -67
  291. package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
  292. package/components/navigation/navbar/types/index.d.ts +19 -20
  293. package/components/navigation/popover/bundles/index.umd.js +543 -519
  294. package/components/navigation/popover/fesm2022/index.mjs +524 -505
  295. package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
  296. package/components/navigation/popover/types/index.d.ts +86 -86
  297. package/components/page/default/bundles/index.umd.js +634 -451
  298. package/components/page/default/fesm2022/index.mjs +600 -422
  299. package/components/page/default/fesm2022/index.mjs.map +1 -1
  300. package/components/page/default/types/index.d.ts +123 -119
  301. package/components/page/footer/bundles/index.umd.js +91 -63
  302. package/components/page/footer/fesm2022/index.mjs +71 -48
  303. package/components/page/footer/fesm2022/index.mjs.map +1 -1
  304. package/components/page/footer/types/index.d.ts +11 -12
  305. package/components/page/header/bundles/index.umd.js +96 -59
  306. package/components/page/header/fesm2022/index.mjs +76 -44
  307. package/components/page/header/fesm2022/index.mjs.map +1 -1
  308. package/components/page/header/types/index.d.ts +12 -13
  309. package/components/page/left-panel/bundles/index.umd.js +405 -407
  310. package/components/page/left-panel/fesm2022/index.mjs +386 -393
  311. package/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  312. package/components/page/left-panel/types/index.d.ts +47 -40
  313. package/components/page/right-panel/bundles/index.umd.js +115 -78
  314. package/components/page/right-panel/fesm2022/index.mjs +96 -64
  315. package/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  316. package/components/page/right-panel/types/index.d.ts +14 -13
  317. package/components/page/top-nav/bundles/index.umd.js +91 -60
  318. package/components/page/top-nav/fesm2022/index.mjs +73 -47
  319. package/components/page/top-nav/fesm2022/index.mjs.map +1 -1
  320. package/components/page/top-nav/types/index.d.ts +11 -12
  321. package/components/prefab/bundles/index.umd.js +253 -173
  322. package/components/prefab/fesm2022/index.mjs +233 -158
  323. package/components/prefab/fesm2022/index.mjs.map +1 -1
  324. package/components/prefab/types/index.d.ts +35 -33
  325. package/core/bundles/index.umd.js +4466 -5642
  326. package/core/fesm2022/index.mjs +3997 -5202
  327. package/core/fesm2022/index.mjs.map +1 -1
  328. package/core/types/index.d.ts +1785 -1808
  329. package/http/bundles/index.umd.js +339 -413
  330. package/http/fesm2022/index.mjs +323 -402
  331. package/http/fesm2022/index.mjs.map +1 -1
  332. package/http/types/index.d.ts +107 -112
  333. package/locales/moment/am-et.js +73 -0
  334. package/locales/moment/bm.js +2 -0
  335. package/locales/moment/ca.js +1 -1
  336. package/locales/moment/de-at.js +29 -1
  337. package/locales/moment/de-ch.js +29 -1
  338. package/locales/moment/de.js +29 -1
  339. package/locales/moment/hu.js +3 -3
  340. package/locales/moment/id.js +12 -1
  341. package/locales/moment/ka.js +1 -1
  342. package/locales/moment/mk.js +0 -1
  343. package/locales/moment/nl-be.js +1 -1
  344. package/locales/moment/pl.js +1 -1
  345. package/locales/moment/ps.js +188 -0
  346. package/locales/moment/pt-br.js +14 -6
  347. package/locales/moment/sv.js +1 -1
  348. package/locales/moment/sw.js +56 -14
  349. package/locales/moment/uk.js +5 -4
  350. package/locales/moment/uz-latn.js +1 -1
  351. package/locales/moment/uz.js +1 -1
  352. package/npm-shrinkwrap.json +2 -2
  353. package/oAuth/bundles/index.umd.js +326 -483
  354. package/oAuth/fesm2022/index.mjs +267 -429
  355. package/oAuth/fesm2022/index.mjs.map +1 -1
  356. package/oAuth/types/index.d.ts +22 -26
  357. package/package-lock.json +2 -2
  358. package/package.json +1 -1
  359. package/runtime/base/bundles/index.umd.js +6380 -6093
  360. package/runtime/base/fesm2022/index.mjs +6368 -6107
  361. package/runtime/base/fesm2022/index.mjs.map +1 -1
  362. package/runtime/base/types/index.d.ts +1336 -1359
  363. package/runtime/dynamic/bundles/index.umd.js +1215 -851
  364. package/runtime/dynamic/fesm2022/index.mjs +1253 -898
  365. package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  366. package/runtime/dynamic/types/index.d.ts +140 -128
  367. package/scripts/datatable/datatable.js +20 -30
  368. package/security/bundles/index.umd.js +297 -438
  369. package/security/fesm2022/index.mjs +282 -443
  370. package/security/fesm2022/index.mjs.map +1 -1
  371. package/security/types/index.d.ts +127 -130
  372. package/swipey/bundles/index.umd.js +57 -48
  373. package/swipey/fesm2022/index.mjs +55 -50
  374. package/swipey/fesm2022/index.mjs.map +1 -1
  375. package/swipey/types/index.d.ts +19 -21
  376. package/transpiler/bundles/index.umd.js +1174 -811
  377. package/transpiler/fesm2022/index.mjs +1109 -757
  378. package/transpiler/fesm2022/index.mjs.map +1 -1
  379. package/transpiler/types/index.d.ts +32 -36
  380. package/variables/bundles/index.umd.js +2226 -3245
  381. package/variables/fesm2022/index.mjs +2117 -3237
  382. package/variables/fesm2022/index.mjs.map +1 -1
  383. package/variables/types/index.d.ts +410 -393
  384. package/build-task/.npmignore +0 -2
  385. package/components/advanced/carousel/.npmignore +0 -2
  386. package/components/advanced/custom/.npmignore +0 -2
  387. package/components/advanced/login/.npmignore +0 -2
  388. package/components/advanced/marquee/.npmignore +0 -2
  389. package/components/base/.npmignore +0 -2
  390. package/components/basic/anchor/.npmignore +0 -2
  391. package/components/basic/audio/.npmignore +0 -2
  392. package/components/basic/html/.npmignore +0 -2
  393. package/components/basic/icon/.npmignore +0 -2
  394. package/components/basic/iframe/.npmignore +0 -2
  395. package/components/basic/label/.npmignore +0 -2
  396. package/components/basic/picture/.npmignore +0 -2
  397. package/components/basic/progress/progress-bar/.npmignore +0 -2
  398. package/components/basic/progress/progress-circle/.npmignore +0 -2
  399. package/components/basic/progress/progress-utils/.npmignore +0 -2
  400. package/components/basic/rich-text-editor/.npmignore +0 -2
  401. package/components/basic/search/.npmignore +0 -2
  402. package/components/basic/spinner/.npmignore +0 -2
  403. package/components/basic/tree/.npmignore +0 -2
  404. package/components/basic/video/.npmignore +0 -2
  405. package/components/chart/.npmignore +0 -2
  406. package/components/containers/accordion/.npmignore +0 -2
  407. package/components/containers/layout-grid/.npmignore +0 -2
  408. package/components/containers/linear-layout/.npmignore +0 -2
  409. package/components/containers/panel/.npmignore +0 -2
  410. package/components/containers/tabs/.npmignore +0 -2
  411. package/components/containers/tile/.npmignore +0 -2
  412. package/components/containers/wizard/.npmignore +0 -2
  413. package/components/data/card/.npmignore +0 -2
  414. package/components/data/form/.npmignore +0 -2
  415. package/components/data/list/.npmignore +0 -2
  416. package/components/data/live-table/.npmignore +0 -2
  417. package/components/data/pagination/.npmignore +0 -2
  418. package/components/data/table/.npmignore +0 -2
  419. package/components/dialogs/alert-dialog/.npmignore +0 -2
  420. package/components/dialogs/confirm-dialog/.npmignore +0 -2
  421. package/components/dialogs/default/.npmignore +0 -2
  422. package/components/dialogs/design-dialog/.npmignore +0 -2
  423. package/components/dialogs/iframe-dialog/.npmignore +0 -2
  424. package/components/dialogs/login-dialog/.npmignore +0 -2
  425. package/components/dialogs/partial-dialog/.npmignore +0 -2
  426. package/components/input/base-form/.npmignore +0 -2
  427. package/components/input/base-form-custom/.npmignore +0 -2
  428. package/components/input/button/.npmignore +0 -2
  429. package/components/input/button-group/.npmignore +0 -2
  430. package/components/input/calendar/.npmignore +0 -2
  431. package/components/input/caption-position/.npmignore +0 -2
  432. package/components/input/checkbox/.npmignore +0 -2
  433. package/components/input/checkboxset/.npmignore +0 -2
  434. package/components/input/chips/.npmignore +0 -2
  435. package/components/input/color-picker/.npmignore +0 -2
  436. package/components/input/composite/.npmignore +0 -2
  437. package/components/input/currency/.npmignore +0 -2
  438. package/components/input/dataset-aware-form/.npmignore +0 -2
  439. package/components/input/epoch/base-date-time/.npmignore +0 -2
  440. package/components/input/epoch/date/.npmignore +0 -2
  441. package/components/input/epoch/date-time/.npmignore +0 -2
  442. package/components/input/epoch/date-time-picker/.npmignore +0 -2
  443. package/components/input/epoch/picker/.npmignore +0 -2
  444. package/components/input/epoch/time/.npmignore +0 -2
  445. package/components/input/file-upload/.npmignore +0 -2
  446. package/components/input/number/.npmignore +0 -2
  447. package/components/input/radioset/.npmignore +0 -2
  448. package/components/input/rating/.npmignore +0 -2
  449. package/components/input/select/.npmignore +0 -2
  450. package/components/input/slider/.npmignore +0 -2
  451. package/components/input/switch/.npmignore +0 -2
  452. package/components/input/text/.npmignore +0 -2
  453. package/components/input/textarea/.npmignore +0 -2
  454. package/components/navigation/breadcrumb/.npmignore +0 -2
  455. package/components/navigation/menu/.npmignore +0 -2
  456. package/components/navigation/navbar/.npmignore +0 -2
  457. package/components/navigation/popover/.npmignore +0 -2
  458. package/components/page/default/.npmignore +0 -2
  459. package/components/page/footer/.npmignore +0 -2
  460. package/components/page/header/.npmignore +0 -2
  461. package/components/page/left-panel/.npmignore +0 -2
  462. package/components/page/right-panel/.npmignore +0 -2
  463. package/components/page/top-nav/.npmignore +0 -2
  464. package/components/prefab/.npmignore +0 -2
  465. package/core/.npmignore +0 -2
  466. package/http/.npmignore +0 -2
  467. package/oAuth/.npmignore +0 -2
  468. package/runtime/base/.npmignore +0 -2
  469. package/runtime/dynamic/.npmignore +0 -2
  470. package/security/.npmignore +0 -2
  471. package/swipey/.npmignore +0 -2
  472. package/transpiler/.npmignore +0 -2
  473. package/variables/.npmignore +0 -2
@@ -1,32 +1,29 @@
1
- import * as i0 from '@angular/core';
2
- import { PipeTransform, InjectionToken, OnDestroy, OnInit, AfterViewInit, AfterContentInit, Injector, ViewContainerRef, ElementRef, EnvironmentInjector, SecurityContext, TemplateRef, OnChanges, SimpleChanges } from '@angular/core';
3
- import { DecimalPipe, DatePipe } from '@angular/common';
4
- import { CustomPipeManager, App, AbstractI18nService, PartialRefProvider, CustomWidgetRefProvider, Viewport, IDGenerator } from '@wm/core';
5
- import * as _wavemaker_focus_trap from '@wavemaker/focus-trap';
6
- import { Subject } from 'rxjs';
7
- import * as _angular_platform_browser from '@angular/platform-browser';
8
- import { EventManager, DomSanitizer, SafeValue, SafeHtml } from '@angular/platform-browser';
9
- import * as lodash from 'lodash';
10
- import { SwipeAnimation } from '@swipey';
11
-
12
- declare enum Live_Operations {
13
- INSERT = "insert",
14
- UPDATE = "update",
15
- DELETE = "delete",
16
- READ = "read"
1
+ import * as i0 from "@angular/core";
2
+ import { AfterContentInit, AfterViewInit, ElementRef, EnvironmentInjector, InjectionToken, Injector, OnChanges, OnDestroy, OnInit, PipeTransform, SecurityContext, SimpleChanges, TemplateRef, ViewContainerRef } from "@angular/core";
3
+ import { DatePipe, DecimalPipe } from "@angular/common";
4
+ import { AbstractI18nService, App, CustomPipeManager, CustomWidgetRefProvider, IDGenerator, PartialRefProvider, Viewport } from "@wm/core";
5
+ import { Subject } from "rxjs";
6
+ import { DomSanitizer, EventManager, SafeHtml, SafeValue } from "@angular/platform-browser";
7
+ import { SwipeAnimation } from "@swipey";
8
+ export declare enum Live_Operations {
9
+ INSERT = "insert",
10
+ UPDATE = "update",
11
+ DELETE = "delete",
12
+ READ = "read"
17
13
  }
18
- declare const ALLFIELDS = "All Fields";
19
- declare const LIVE_CONSTANTS: {
20
- EMPTY_KEY: string;
21
- EMPTY_VALUE: string;
22
- LABEL_KEY: string;
23
- LABEL_VALUE: string;
24
- NULL_EMPTY: string[];
25
- NULL: string;
26
- EMPTY: string;
14
+ export declare const ALLFIELDS = "All Fields";
15
+ export declare const LIVE_CONSTANTS: {
16
+ EMPTY_KEY: string;
17
+ EMPTY_VALUE: string;
18
+ LABEL_KEY: string;
19
+ LABEL_VALUE: string;
20
+ NULL_EMPTY: string[];
21
+ NULL: string;
22
+ EMPTY: string;
27
23
  };
28
- declare function performDataOperation(dataSource: any, requestData: any, options: any): Promise<any>;
29
- declare function refreshDataSource(dataSource: any, options: any): Promise<any>;
24
+ declare function isSearchWidgetType(widget: any): boolean;
25
+ export declare function performDataOperation(dataSource: any, requestData: any, options: any): Promise<any>;
26
+ export declare function refreshDataSource(dataSource: any, options: any): Promise<any>;
30
27
  /**
31
28
  * @ngdoc function
32
29
  * @name wm.widgets.live.fetchRelatedFieldData
@@ -43,14 +40,14 @@ declare function refreshDataSource(dataSource: any, options: any): Promise<any>;
43
40
  * @param {object} elScope element scope
44
41
  * @param {object} parentScope live form// grid scope
45
42
  */
46
- declare function fetchRelatedFieldData(dataSource: any, formField: any, options: any): void;
43
+ export declare function fetchRelatedFieldData(dataSource: any, formField: any, options: any): void;
47
44
  /**
48
45
  * used to interpolate the bind expression for keys in the query builder
49
46
  * @param context where we find the variable obj
50
47
  * @param filterexpressions - obj containing all the rule objs
51
48
  * @param callbackFn - function to be called with the new replaced values if any in the filterexpressions object
52
49
  */
53
- declare const interpolateBindExpressions: (context: any, filterexpressions: any, callbackFn: any) => void;
50
+ export declare const interpolateBindExpressions: (context: any, filterexpressions: any, callbackFn: any) => void;
54
51
  /**
55
52
  * @ngdoc function
56
53
  * @name wm.widgets.live.LiveWidgetUtils#getDistinctFieldProperties
@@ -64,7 +61,7 @@ declare const interpolateBindExpressions: (context: any, filterexpressions: any,
64
61
  * @param {object} formField definition of the column/ field
65
62
  *
66
63
  */
67
- declare const getDistinctFieldProperties: (dataSource: any, formField: any) => any;
64
+ export declare const getDistinctFieldProperties: (dataSource: any, formField: any) => any;
68
65
  /**
69
66
  * @ngdoc function
70
67
  * @name wm.widgets.live.LiveWidgetUtils#getDistinctValues
@@ -80,7 +77,7 @@ declare const getDistinctFieldProperties: (dataSource: any, formField: any) => a
80
77
  * @param {function} callBack Function to be executed after fetching results
81
78
  *
82
79
  */
83
- declare function getDistinctValues(dataSource: any, formField: any, widget: any): Promise<unknown>;
80
+ export declare function getDistinctValues(dataSource: any, formField: any, widget: any): Promise<unknown>;
84
81
  /**
85
82
  * @ngdoc function
86
83
  * @name wm.widgets.live.LiveWidgetUtils#fetchDistinctValues
@@ -96,7 +93,7 @@ declare function getDistinctValues(dataSource: any, formField: any, widget: any)
96
93
  * @param {boolean} isEnableEmptyFilter is null or empty values allowed on filter
97
94
  *
98
95
  */
99
- declare function fetchDistinctValues(dataSource: any, formFields: any, options: any): void;
96
+ export declare function fetchDistinctValues(dataSource: any, formFields: any, options: any): void;
100
97
  /**
101
98
  * @ngdoc function
102
99
  * @name wm.widgets.live.LiveWidgetUtils#getDistinctValuesForField
@@ -112,7 +109,7 @@ declare function fetchDistinctValues(dataSource: any, formFields: any, options:
112
109
  * @param {boolean} isEnableEmptyFilter is null or empty values allowed on filter
113
110
  *
114
111
  */
115
- declare function getDistinctValuesForField(dataSource: any, formField: any, options?: any): void;
112
+ export declare function getDistinctValuesForField(dataSource: any, formField: any, options?: any): void;
116
113
  /**
117
114
  * @ngdoc function
118
115
  * @name wm.widgets.live.getRangeFieldValue
@@ -125,7 +122,7 @@ declare function getDistinctValuesForField(dataSource: any, formField: any, opti
125
122
  * @param {string} minValue min value selected
126
123
  * @param {string} maxValue max value selected
127
124
  */
128
- declare function getRangeFieldValue(minValue: any, maxValue: any): any;
125
+ export declare function getRangeFieldValue(minValue: any, maxValue: any): any;
129
126
  /**
130
127
  * @ngdoc function
131
128
  * @name wm.widgets.live.getRangeMatchMode
@@ -138,7 +135,7 @@ declare function getRangeFieldValue(minValue: any, maxValue: any): any;
138
135
  * @param {string} minValue min value selected
139
136
  * @param {string} maxValue max value selected
140
137
  */
141
- declare function getRangeMatchMode(minValue: any, maxValue: any): any;
138
+ export declare function getRangeMatchMode(minValue: any, maxValue: any): any;
142
139
  /**
143
140
  * @ngdoc function
144
141
  * @name wm.widgets.live.getEnableEmptyFilter
@@ -150,7 +147,7 @@ declare function getRangeMatchMode(minValue: any, maxValue: any): any;
150
147
  *
151
148
  * @param {object} enableemptyfilter empty filter options
152
149
  */
153
- declare function getEnableEmptyFilter(enableemptyfilter: any): boolean;
150
+ export declare function getEnableEmptyFilter(enableemptyfilter: any): boolean;
154
151
  /**
155
152
  * @ngdoc function
156
153
  * @name wm.widgets.live.getEmptyMatchMode
@@ -162,7 +159,7 @@ declare function getEnableEmptyFilter(enableemptyfilter: any): boolean;
162
159
  *
163
160
  * @param {object} enableemptyfilter empty filter options
164
161
  */
165
- declare function getEmptyMatchMode(enableemptyfilter: any): any;
162
+ export declare function getEmptyMatchMode(enableemptyfilter: any): any;
166
163
  /**
167
164
  * converts the data passed to array.
168
165
  * -> Array: [1,2,3] - [1,2,3]
@@ -173,7 +170,7 @@ declare function getEmptyMatchMode(enableemptyfilter: any): any;
173
170
  * @param data
174
171
  * @returns {Array<any>}
175
172
  */
176
- declare const createArrayFrom: (data: any) => Array<any>;
173
+ export declare const createArrayFrom: (data: any) => Array<any>;
177
174
  /**
178
175
  * @ngdoc function
179
176
  * @name wm.widgets.live.applyFilterOnField
@@ -187,128 +184,125 @@ declare const createArrayFrom: (data: any) => Array<any>;
187
184
  * @param {object} filterDef filter/form definition of the field
188
185
  * @param {boolean} isFirst boolean value to check if this method is called on load
189
186
  */
190
- declare function applyFilterOnField(dataSource: any, filterDef: any, formFields: any, newVal: any, options?: any): void;
191
- declare function transformData(dataObject: any, variableName: any): any;
192
-
187
+ export declare function applyFilterOnField(dataSource: any, filterDef: any, formFields: any, newVal: any, options?: any): void;
188
+ export declare function transformData(dataObject: any, variableName: any): any;
193
189
  declare class WmPipe {
194
- private readonly pipeName;
195
- protected customPipeManager: CustomPipeManager;
196
- protected pipeRef: any;
197
- protected isCustomPipe: any;
198
- constructor(pipeName: any, customPipeManager: CustomPipeManager);
199
- customFormatter(data: any, args: any, variables: any): any;
190
+ private readonly pipeName;
191
+ protected customPipeManager: CustomPipeManager;
192
+ protected pipeRef: any;
193
+ protected isCustomPipe: any;
194
+ constructor(pipeName: any, customPipeManager: CustomPipeManager);
195
+ customFormatter(data: any, args: any, variables: any): any;
200
196
  }
201
-
202
- declare class TrailingZeroDecimalPipe implements PipeTransform {
203
- private readonly decimalPipe;
204
- transform(value: any, selectedLocale: string, numberfilter: string, localefilter: any, trailingzero: boolean, decimalValue: string, skipTrailingZeroCheck?: boolean, formattedLocale?: any): any;
205
- constructor(decimalPipe: DecimalPipe);
206
- static ɵfac: i0.ɵɵFactoryDeclaration<TrailingZeroDecimalPipe, never>;
207
- static ɵpipe: i0.ɵɵPipeDeclaration<TrailingZeroDecimalPipe, "trailingZeroDecimalPipe", true>;
197
+ export declare class TrailingZeroDecimalPipe implements PipeTransform {
198
+ private readonly decimalPipe;
199
+ transform(value: any, selectedLocale: string, numberfilter: string, localefilter: any, trailingzero: boolean, decimalValue: string, skipTrailingZeroCheck?: boolean, formattedLocale?: any): any;
200
+ constructor(decimalPipe: DecimalPipe);
201
+ static ɵfac: i0.ɵɵFactoryDeclaration<TrailingZeroDecimalPipe, never>;
202
+ static ɵpipe: i0.ɵɵPipeDeclaration<TrailingZeroDecimalPipe, "trailingZeroDecimalPipe", true>;
208
203
  }
209
- declare class ToDatePipe extends WmPipe implements PipeTransform {
210
- private readonly datePipe;
211
- private readonly i18nService;
212
- private readonly app;
213
- protected customPipeManager: CustomPipeManager;
214
- returnFn(data: any, args: any, variables: any): any;
215
- transform(data: any, format: any, timezone?: any, compInstance?: any): any;
216
- constructor(datePipe: DatePipe, i18nService: AbstractI18nService, app: App, customPipeManager: CustomPipeManager);
217
- static ɵfac: i0.ɵɵFactoryDeclaration<ToDatePipe, never>;
218
- static ɵpipe: i0.ɵɵPipeDeclaration<ToDatePipe, "toDate", true>;
204
+ export declare class ToDatePipe extends WmPipe implements PipeTransform {
205
+ private readonly datePipe;
206
+ private readonly i18nService;
207
+ private readonly app;
208
+ protected customPipeManager: CustomPipeManager;
209
+ returnFn(data: any, args: any, variables: any): any;
210
+ transform(data: any, format: any, timezone?: any, compInstance?: any): any;
211
+ constructor(datePipe: DatePipe, i18nService: AbstractI18nService, app: App, customPipeManager: CustomPipeManager);
212
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToDatePipe, never>;
213
+ static ɵpipe: i0.ɵɵPipeDeclaration<ToDatePipe, "toDate", true>;
219
214
  }
220
- declare class ToNumberPipe implements PipeTransform {
221
- private readonly decimalPipe;
222
- private readonly i18nService;
223
- transform(data: any, fracSize: any): string;
224
- constructor(decimalPipe: DecimalPipe, i18nService: AbstractI18nService);
225
- static ɵfac: i0.ɵɵFactoryDeclaration<ToNumberPipe, never>;
226
- static ɵpipe: i0.ɵɵPipeDeclaration<ToNumberPipe, "toNumber", true>;
215
+ export declare class ToNumberPipe implements PipeTransform {
216
+ private readonly decimalPipe;
217
+ private readonly i18nService;
218
+ transform(data: any, fracSize: any): string;
219
+ constructor(decimalPipe: DecimalPipe, i18nService: AbstractI18nService);
220
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToNumberPipe, never>;
221
+ static ɵpipe: i0.ɵɵPipeDeclaration<ToNumberPipe, "toNumber", true>;
227
222
  }
228
- declare class ToCurrencyPipe implements PipeTransform {
229
- private readonly decimalPipe;
230
- private readonly i18nService;
231
- transform(data: any, currencySymbol: any, fracSize: any): string;
232
- constructor(decimalPipe: DecimalPipe, i18nService: AbstractI18nService);
233
- static ɵfac: i0.ɵɵFactoryDeclaration<ToCurrencyPipe, never>;
234
- static ɵpipe: i0.ɵɵPipeDeclaration<ToCurrencyPipe, "toCurrency", true>;
223
+ export declare class ToCurrencyPipe implements PipeTransform {
224
+ private readonly decimalPipe;
225
+ private readonly i18nService;
226
+ transform(data: any, currencySymbol: any, fracSize: any): string;
227
+ constructor(decimalPipe: DecimalPipe, i18nService: AbstractI18nService);
228
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToCurrencyPipe, never>;
229
+ static ɵpipe: i0.ɵɵPipeDeclaration<ToCurrencyPipe, "toCurrency", true>;
235
230
  }
236
- declare class PrefixPipe implements PipeTransform {
237
- transform(data: any, padding: any): any;
238
- static ɵfac: i0.ɵɵFactoryDeclaration<PrefixPipe, never>;
239
- static ɵpipe: i0.ɵɵPipeDeclaration<PrefixPipe, "prefix", true>;
231
+ export declare class PrefixPipe implements PipeTransform {
232
+ transform(data: any, padding: any): any;
233
+ static ɵfac: i0.ɵɵFactoryDeclaration<PrefixPipe, never>;
234
+ static ɵpipe: i0.ɵɵPipeDeclaration<PrefixPipe, "prefix", true>;
240
235
  }
241
- declare class SuffixPipe implements PipeTransform {
242
- transform(data: any, padding: any): any;
243
- static ɵfac: i0.ɵɵFactoryDeclaration<SuffixPipe, never>;
244
- static ɵpipe: i0.ɵɵPipeDeclaration<SuffixPipe, "suffix", true>;
236
+ export declare class SuffixPipe implements PipeTransform {
237
+ transform(data: any, padding: any): any;
238
+ static ɵfac: i0.ɵɵFactoryDeclaration<SuffixPipe, never>;
239
+ static ɵpipe: i0.ɵɵPipeDeclaration<SuffixPipe, "suffix", true>;
245
240
  }
246
241
  /**
247
242
  * Custom pipe: It is work as interceptor between the user custom pipe function and angular pipe
248
243
  */
249
- declare class CustomPipe implements PipeTransform {
250
- private readonly app;
251
- private readonly custmeUserPipe;
252
- constructor(app: App, custmeUserPipe: CustomPipeManager);
253
- transform(data: any, pipename: any): any;
254
- static ɵfac: i0.ɵɵFactoryDeclaration<CustomPipe, never>;
255
- static ɵpipe: i0.ɵɵPipeDeclaration<CustomPipe, "custom", true>;
244
+ export declare class CustomPipe implements PipeTransform {
245
+ private readonly app;
246
+ private readonly custmeUserPipe;
247
+ constructor(app: App, custmeUserPipe: CustomPipeManager);
248
+ transform(data: any, pipename: any): any;
249
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomPipe, never>;
250
+ static ɵpipe: i0.ɵɵPipeDeclaration<CustomPipe, "custom", true>;
256
251
  }
257
- declare class TimeFromNowPipe implements PipeTransform {
258
- transform(data: any): string;
259
- static ɵfac: i0.ɵɵFactoryDeclaration<TimeFromNowPipe, never>;
260
- static ɵpipe: i0.ɵɵPipeDeclaration<TimeFromNowPipe, "timeFromNow", true>;
252
+ export declare class TimeFromNowPipe implements PipeTransform {
253
+ transform(data: any): string;
254
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimeFromNowPipe, never>;
255
+ static ɵpipe: i0.ɵɵPipeDeclaration<TimeFromNowPipe, "timeFromNow", true>;
261
256
  }
262
- declare class NumberToStringPipe extends ToNumberPipe implements PipeTransform {
263
- static ɵfac: i0.ɵɵFactoryDeclaration<NumberToStringPipe, never>;
264
- static ɵpipe: i0.ɵɵPipeDeclaration<NumberToStringPipe, "numberToString", true>;
257
+ export declare class NumberToStringPipe extends ToNumberPipe implements PipeTransform {
258
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberToStringPipe, never>;
259
+ static ɵpipe: i0.ɵɵPipeDeclaration<NumberToStringPipe, "numberToString", true>;
265
260
  }
266
- declare class StringToNumberPipe implements PipeTransform {
267
- transform(data: any): number;
268
- static ɵfac: i0.ɵɵFactoryDeclaration<StringToNumberPipe, never>;
269
- static ɵpipe: i0.ɵɵPipeDeclaration<StringToNumberPipe, "stringToNumber", true>;
261
+ export declare class StringToNumberPipe implements PipeTransform {
262
+ transform(data: any): number;
263
+ static ɵfac: i0.ɵɵFactoryDeclaration<StringToNumberPipe, never>;
264
+ static ɵpipe: i0.ɵɵPipeDeclaration<StringToNumberPipe, "stringToNumber", true>;
270
265
  }
271
- declare class FilterPipe implements PipeTransform {
272
- transform(data: any[], field: any, value: any): any[];
273
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterPipe, never>;
274
- static ɵpipe: i0.ɵɵPipeDeclaration<FilterPipe, "filter", true>;
266
+ export declare class FilterPipe implements PipeTransform {
267
+ transform(data: any[], field: any, value: any): any[];
268
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterPipe, never>;
269
+ static ɵpipe: i0.ɵɵPipeDeclaration<FilterPipe, "filter", true>;
275
270
  }
276
- declare class FileSizePipe implements PipeTransform {
277
- transform(bytes: number, precision: number): string;
278
- static ɵfac: i0.ɵɵFactoryDeclaration<FileSizePipe, never>;
279
- static ɵpipe: i0.ɵɵPipeDeclaration<FileSizePipe, "filesize", true>;
271
+ export declare class FileSizePipe implements PipeTransform {
272
+ transform(bytes: number, precision: number): string;
273
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileSizePipe, never>;
274
+ static ɵpipe: i0.ɵɵPipeDeclaration<FileSizePipe, "filesize", true>;
280
275
  }
281
- declare class FileIconClassPipe implements PipeTransform {
282
- transform(fileExtension: any): string;
283
- static ɵfac: i0.ɵɵFactoryDeclaration<FileIconClassPipe, never>;
284
- static ɵpipe: i0.ɵɵPipeDeclaration<FileIconClassPipe, "fileIconClass", true>;
276
+ export declare class FileIconClassPipe implements PipeTransform {
277
+ transform(fileExtension: any): string;
278
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileIconClassPipe, never>;
279
+ static ɵpipe: i0.ɵɵPipeDeclaration<FileIconClassPipe, "fileIconClass", true>;
285
280
  }
286
- declare class StateClassPipe implements PipeTransform {
287
- transform(state: any): any;
288
- static ɵfac: i0.ɵɵFactoryDeclaration<StateClassPipe, never>;
289
- static ɵpipe: i0.ɵɵPipeDeclaration<StateClassPipe, "stateClass", true>;
281
+ export declare class StateClassPipe implements PipeTransform {
282
+ transform(state: any): any;
283
+ static ɵfac: i0.ɵɵFactoryDeclaration<StateClassPipe, never>;
284
+ static ɵpipe: i0.ɵɵPipeDeclaration<StateClassPipe, "stateClass", true>;
290
285
  }
291
- declare class TemplateReplacePipe implements PipeTransform {
292
- transform(data: any, replaceObj: any): any;
293
- static ɵfac: i0.ɵɵFactoryDeclaration<TemplateReplacePipe, never>;
294
- static ɵpipe: i0.ɵɵPipeDeclaration<TemplateReplacePipe, "templateReplace", true>;
286
+ export declare class TemplateReplacePipe implements PipeTransform {
287
+ transform(data: any, replaceObj: any): any;
288
+ static ɵfac: i0.ɵɵFactoryDeclaration<TemplateReplacePipe, never>;
289
+ static ɵpipe: i0.ɵɵPipeDeclaration<TemplateReplacePipe, "templateReplace", true>;
295
290
  }
296
- declare class FileExtensionFromMimePipe implements PipeTransform {
297
- transform(mimeType: any): any;
298
- static ɵfac: i0.ɵɵFactoryDeclaration<FileExtensionFromMimePipe, never>;
299
- static ɵpipe: i0.ɵɵPipeDeclaration<FileExtensionFromMimePipe, "fileExtensionFromMime", true>;
291
+ export declare class FileExtensionFromMimePipe implements PipeTransform {
292
+ transform(mimeType: any): any;
293
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileExtensionFromMimePipe, never>;
294
+ static ɵpipe: i0.ɵɵPipeDeclaration<FileExtensionFromMimePipe, "fileExtensionFromMime", true>;
300
295
  }
301
-
302
296
  /**
303
297
  * function to get the ordered dataset based on the given orderby
304
298
  */
305
- declare const getOrderedDataset: (dataSet: any, orderBy: string, innerItem?: any) => any;
299
+ export declare const getOrderedDataset: (dataSet: any, orderBy: string, innerItem?: any) => any;
306
300
  /**
307
301
  * Returns an array of object, each object contain the DataSetItem whose key, value, label are extracted from object keys.
308
302
  */
309
- declare const transformDataWithKeys: (dataSet: any) => DataSetItem[];
310
- declare const extractDataAsArray: (data: any) => any;
311
- declare const convertDataToObject: (dataResult: any) => any;
303
+ export declare const transformDataWithKeys: (dataSet: any) => DataSetItem[];
304
+ export declare const extractDataAsArray: (data: any) => any;
305
+ export declare const convertDataToObject: (dataResult: any) => any;
312
306
  /**
313
307
  * The first step in datasetItems creation is data transformation:
314
308
  *
@@ -319,11 +313,11 @@ declare const convertDataToObject: (dataResult: any) => any;
319
313
  * 3) an object eg: {name: 'A', age: 20} => [ {key: 'name', value: 'A'}, {key: 'age', value: 20}]
320
314
  * 4) an array of objects...eg: [ {name: 'A', age: 20}, {name: 'B', age: 20}] ==> returns [{key: _DATAFIELD_, value: _DISPLAYFIELD, label: _DISPLAYVALUE}]
321
315
  */
322
- declare const transformFormData: (context: any, dataSet: any, myDataField?: string, displayOptions?: any, startIndex?: number, scope?: any) => Array<DataSetItem>;
316
+ export declare const transformFormData: (context: any, dataSet: any, myDataField?: string, displayOptions?: any, startIndex?: number, scope?: any) => Array<DataSetItem>;
323
317
  /**
324
318
  * Private method to get the unique objects by the data field
325
319
  */
326
- declare const getUniqObjsByDataField: (data: Array<DataSetItem>, dataField: string, displayField: string, allowEmptyFields?: boolean) => any;
320
+ export declare const getUniqObjsByDataField: (data: Array<DataSetItem>, dataField: string, displayField: string, allowEmptyFields?: boolean) => any;
327
321
  /**
328
322
  * This function sets the selectedItem by comparing the field values, where fields are passed by "compareby" property.
329
323
  * works only for datafield with ALL_FIELDS
@@ -331,7 +325,7 @@ declare const getUniqObjsByDataField: (data: Array<DataSetItem>, dataField: stri
331
325
  * @param compareWithDataObj represents the datavalue (object) whose properties are to be checked against each property of datasetItem.
332
326
  * @param compareByField specifies the property names on which datasetItem has to be compared against datavalue object.
333
327
  */
334
- declare const setItemByCompare: (datasetItems: Array<DataSetItem>, compareWithDataObj: Object, compareByField: string) => void;
328
+ export declare const setItemByCompare: (datasetItems: Array<DataSetItem>, compareWithDataObj: Object, compareByField: string) => void;
335
329
  /**
336
330
  * This method gets the groupedData using groupby property and match and returns the sorted array of objects.
337
331
  *
@@ -344,19 +338,19 @@ declare const setItemByCompare: (datasetItems: Array<DataSetItem>, compareWithDa
344
338
  * @param innerItem, represents the innerItem on which groupby has to be applied. Incase of datasetItems, 'dataObject' contains the full object. Here innerItem is dataObject.
345
339
  * @returns {any[]} groupedData, array of objects, each object having key and data.
346
340
  */
347
- declare const groupData: (compRef: any, data: Array<Object | DataSetItem>, groupby: string, match: string, orderby: string, dateformat: string, datePipe: ToDatePipe, innerItem?: string, AppDefaults?: any) => any[];
348
- declare const filterDate: (value: string | number, format: string, defaultFormat: string, datePipe: ToDatePipe) => any;
341
+ export declare const groupData: (compRef: any, data: Array<Object | DataSetItem>, groupby: string, match: string, orderby: string, dateformat: string, datePipe: ToDatePipe, innerItem?: string, AppDefaults?: any) => any[];
342
+ export declare const filterDate: (value: string | number, format: string, defaultFormat: string, datePipe: ToDatePipe) => any;
349
343
  /**
350
344
  * This method toggles all the list items inside the each list group.
351
345
  * @param el, component reference on which groupby is applied.
352
346
  */
353
- declare const toggleAllHeaders: (el: any) => void;
347
+ export declare const toggleAllHeaders: (el: any) => void;
354
348
  /**
355
349
  * On list header click, toggle the list items in this group.
356
350
  * and also toggle the header icon.
357
351
  * @param $event
358
352
  */
359
- declare const handleHeaderClick: ($event: Event) => void;
353
+ export declare const handleHeaderClick: ($event: Event) => void;
360
354
  /**
361
355
  * configures reordering the items.
362
356
  * @param $el element to be sortable
@@ -365,7 +359,7 @@ declare const handleHeaderClick: ($event: Event) => void;
365
359
  * @param updateCb callback triggerred when sorting is stopped and the DOM position has changed.
366
360
  * @param sortCb callback triggerred during the sorting of an element.
367
361
  */
368
- declare const configureDnD: ($el: any, options: object, startCb: Function, updateCb: Function, sortCb?: Function) => void;
362
+ export declare const configureDnD: ($el: any, options: object, startCb: Function, updateCb: Function, sortCb?: Function) => void;
369
363
  /**
370
364
  * key represents the datafield value
371
365
  * label represents display value or expression value
@@ -374,56 +368,55 @@ declare const configureDnD: ($el: any, options: object, startCb: Function, updat
374
368
  * imgSrc picture source
375
369
  * selected represents boolean to notify selected item.
376
370
  */
377
- declare class DataSetItem {
378
- key: any;
379
- label: any;
380
- value: any;
381
- dataObject?: Object;
382
- index?: number;
383
- imgSrc?: string;
384
- selected?: boolean;
371
+ export declare class DataSetItem {
372
+ key: any;
373
+ label: any;
374
+ value: any;
375
+ dataObject?: Object;
376
+ index?: number;
377
+ imgSrc?: string;
378
+ selected?: boolean;
385
379
  }
386
-
387
- declare const EDIT_MODE: {
388
- QUICK_EDIT: string;
389
- INLINE: string;
390
- FORM: string;
391
- DIALOG: string;
380
+ export declare const EDIT_MODE: {
381
+ QUICK_EDIT: string;
382
+ INLINE: string;
383
+ FORM: string;
384
+ DIALOG: string;
392
385
  };
393
- declare const setHeaderConfig: (headerConfig: any, config: any, field: any, index?: number) => void;
394
- declare const setHeaderConfigForTable: (headerConfig: any, config: any, fieldName: string, index?: number) => void;
395
- declare const getRowOperationsColumn: () => any;
386
+ export declare const setHeaderConfig: (headerConfig: any, config: any, field: any, index?: number) => void;
387
+ export declare const setHeaderConfigForTable: (headerConfig: any, config: any, fieldName: string, index?: number) => void;
388
+ export declare const getRowOperationsColumn: () => any;
396
389
  /**
397
390
  * Returns caption and widget bootstrap classes for the field
398
391
  */
399
- declare const getFieldLayoutConfig: (captionWidth: any, captionPosition: any, os: any) => any;
400
- declare const getDefaultViewModeWidget: (widget: any) => string;
401
- declare const parseValueByType: (value: any, type: any, widget: any, trailingzero?: any) => any;
402
- declare const getFieldTypeWidgetTypesMap: () => {
403
- integer: string[];
404
- big_integer: string[];
405
- short: string[];
406
- float: string[];
407
- big_decimal: string[];
408
- number: string[];
409
- double: string[];
410
- long: string[];
411
- byte: string[];
412
- string: string[];
413
- character: string[];
414
- text: string[];
415
- date: string[];
416
- time: string[];
417
- timestamp: string[];
418
- datetime: string[];
419
- boolean: string[];
420
- list: string[];
421
- clob: string[];
422
- blob: string[];
423
- file: string[];
424
- custom: string[];
392
+ export declare const getFieldLayoutConfig: (captionWidth: any, captionPosition: any, os: any) => any;
393
+ export declare const getDefaultViewModeWidget: (widget: any) => string;
394
+ export declare const parseValueByType: (value: any, type: any, widget: any, trailingzero?: any) => any;
395
+ export declare const getFieldTypeWidgetTypesMap: () => {
396
+ integer: string[];
397
+ big_integer: string[];
398
+ short: string[];
399
+ float: string[];
400
+ big_decimal: string[];
401
+ number: string[];
402
+ double: string[];
403
+ long: string[];
404
+ byte: string[];
405
+ string: string[];
406
+ character: string[];
407
+ text: string[];
408
+ date: string[];
409
+ time: string[];
410
+ timestamp: string[];
411
+ datetime: string[];
412
+ boolean: string[];
413
+ list: string[];
414
+ clob: string[];
415
+ blob: string[];
416
+ file: string[];
417
+ custom: string[];
425
418
  };
426
- declare const getDataTableFilterWidget: (type: any) => any;
419
+ export declare const getDataTableFilterWidget: (type: any) => any;
427
420
  /**
428
421
  * @ngdoc function
429
422
  * @name wm.widgets.live.getEditModeWidget
@@ -435,7 +428,7 @@ declare const getDataTableFilterWidget: (type: any) => any;
435
428
  *
436
429
  * @param {object} colDef field definition
437
430
  */
438
- declare const getEditModeWidget: (colDef: any) => any;
431
+ export declare const getEditModeWidget: (colDef: any) => any;
439
432
  /**
440
433
  * @ngdoc function
441
434
  * @name wm.widgets.live.LiveWidgetUtils#getDefaultValue
@@ -448,433 +441,429 @@ declare const getEditModeWidget: (colDef: any) => any;
448
441
  * @param {string} value value to be formatted
449
442
  * @param {string} type column type of the value
450
443
  */
451
- declare const getDefaultValue: (value: any, type: any, widget: any) => any;
452
-
453
- declare const WidgetConfig: InjectionToken<IWidgetConfig>;
454
- interface IWidgetConfig {
455
- widgetType: string;
456
- widgetSubType?: string;
457
- hostClass?: string;
458
- displayType?: string;
444
+ export declare const getDefaultValue: (value: any, type: any, widget: any) => any;
445
+ export declare const WidgetConfig: InjectionToken<IWidgetConfig>;
446
+ export interface IWidgetConfig {
447
+ widgetType: string;
448
+ widgetSubType?: string;
449
+ hostClass?: string;
450
+ displayType?: string;
459
451
  }
460
- interface IRedrawableComponent {
461
- redraw: Function;
452
+ export interface IRedrawableComponent {
453
+ redraw: Function;
462
454
  }
463
- type ChangeListener = (key: string, nv: any, ov?: any) => void;
464
- declare abstract class WidgetRef {
455
+ export type ChangeListener = (key: string, nv: any, ov?: any) => void;
456
+ export declare abstract class WidgetRef {}
457
+ export declare abstract class DialogRef<T extends BaseComponent> {
458
+ bsModal: any;
465
459
  }
466
- declare abstract class DialogRef<T extends BaseComponent> {
467
- bsModal: any;
460
+ export declare const Context: InjectionToken<unknown>;
461
+ export interface IDialog {
462
+ open: (initState?: any) => void;
463
+ close: () => void;
468
464
  }
469
- declare const Context: InjectionToken<unknown>;
470
- interface IDialog {
471
- open: (initState?: any) => void;
472
- close: () => void;
473
- }
474
-
475
465
  interface Child {
476
- widget: any;
477
- nativeElement: any;
466
+ widget: any;
467
+ nativeElement: any;
478
468
  }
479
- declare abstract class BaseComponent implements OnDestroy, OnInit, AfterViewInit, AfterContentInit {
480
- protected inj: Injector;
481
- /**
482
- * unique identifier for the widget
483
- */
484
- readonly widgetId: any;
485
- isDestroyed: boolean;
486
- isAttached: boolean;
487
- /**
488
- * jQuery nativeElement reference of the component root
489
- */
490
- get $element(): any;
491
- /**
492
- * DOM node reference of the component root
493
- */
494
- readonly nativeElement: HTMLElement;
495
- /**
496
- * Type of the component
497
- */
498
- protected readonly widgetType: string;
499
- /**
500
- * Most of the cases it is same as widgetType
501
- * for specific widgets like charts widgetType can be wm-chart where as the subtype can be wm-bar-chart
502
- */
503
- protected readonly widgetSubType: string;
504
- /**
505
- * Proxy for the component instance.
506
- */
507
- protected widget: any;
508
- /**
509
- * View parent component
510
- * eg, Page, Partial, Prefab
511
- */
512
- protected readonly viewParent: any;
513
- /**
514
- * EventManger to add/remove events
515
- */
516
- protected readonly eventManager: EventManager;
517
- /**
518
- * App Locale
519
- */
520
- readonly appLocale: any;
521
- /**
522
- * Style change subject and observable
523
- */
524
- private readonly styleChange;
525
- /**
526
- * Property change subject and observable
527
- */
528
- private readonly propertyChange;
529
- /**
530
- * On Ready State change subject and observable
531
- */
532
- private readonly readyState;
533
- /**
534
- * Component destroy subject and observable
535
- */
536
- private readonly destroy;
537
- /**
538
- * Map of event handler callbacks
539
- */
540
- private readonly eventHandlers;
541
- /**
542
- * context of the widget
543
- * when the widget is preset inside a repeater this context will have the repeater related properties
544
- */
545
- context: any;
546
- /**
547
- * Initial state of the widget.
548
- * Will be undefined once the initial properties are set on to the component
549
- */
550
- private initState;
551
- /**
552
- * Internal flag to determine whether to wait for the widget initialization or not
553
- * If the initPromise is provided in the construction wait till the promise is resolved
554
- * If the initPromise is not provided proceed with the initialization, which is the default behavior.
555
- */
556
- private readonly delayedInit;
557
- /**
558
- * Display type of the component. eg, block(Default), inline-block, inline etc
559
- */
560
- private readonly displayType;
561
- /**
562
- * Holds the event registration functions.
563
- * these functions needs to be executed after onViewInit
564
- */
565
- private readonly toBeSetupEventsQueue;
566
- __cloneable__: boolean;
567
- widgetProps: Map<string, any>;
568
- private readonly $attrs;
569
- private isMuted;
570
- viewContainerRef: ViewContainerRef;
571
- viewParentApp: App;
572
- /**
573
- * To avoid re-rendering of widget, passing unique id as contextKey to createCustomInjector
574
- * (for List, Dynamic Tabs, Accordion, Nav, Carousel)
575
- */
576
- trackId: string;
577
- customWidgetSubType: string;
578
- protected constructor(inj: Injector, config: IWidgetConfig, explicitContext?: any, initPromise?: Promise<any>);
579
- getNativeElement(): HTMLElement;
580
- getWidgetType(): string;
581
- getWidgetSubType(): string;
582
- getWidget(): any;
583
- setProperty(propName: any, propValue: any): void;
584
- getViewParent(): any;
585
- notifyStyleChange(key: string, nv: any, ov: any): void;
586
- notifyPropertyChange(key: string, nv: any, ov: any): void;
587
- registerStyleChangeListener(fn: ChangeListener, ctx?: any): void;
588
- registerReadyStateListener(fn: Function, ctx?: any): void;
589
- registerPropertyChangeListener(fn: ChangeListener, ctx?: any): void;
590
- registerDestroyListener(fn: Function, ctx?: any): void;
591
- getDisplayType(): string;
592
- protected createProxy(): any;
593
- protected initContext(): void;
594
- /**
595
- * set the value on the proxy object ie, widget
596
- * setting the property on the proxy will invoke the change listeners
597
- * @param {string} key
598
- * @param value
599
- */
600
- setWidgetProperty(key: string, value: any): void;
601
- getAttr(attrName: string): string;
602
- /**
603
- * returns app instance
604
- * @returns {App}
605
- */
606
- getAppInstance(): App;
607
- /**
608
- * Generates a unique id
609
- * Default pattern is `widget-id-${id}`
610
- * Components can override this method to generate a different id eg, bar-chart-1
611
- */
612
- protected generateWidgetId(): string;
613
- /**
614
- * Handles the common functionality across the components
615
- * eg,
616
- * 1. value of the class property will be applied on the host element
617
- * 2. based on the value of show property component is shown/hidden
618
- *
619
- * @param {string} key
620
- * @param nv
621
- * @param ov
622
- */
623
- protected onPropertyChange(key: string, nv: any, ov?: any): void;
624
- /**
625
- * Default style change handler
626
- */
627
- protected onStyleChange(k: string, nv: any, ov?: any): void;
628
- /**
629
- * Register the widget with the widgetRegistry
630
- */
631
- protected registerWidget(widgetName: string): void;
632
- /**
633
- * override the
634
- */
635
- protected getMappedEventName(eventName: any): any;
636
- /**
637
- * invoke the event handler
638
- * Components can override this method to execute custom logic before invoking the user callback
639
- */
640
- protected handleEvent(node: HTMLElement, eventName: string, eventCallback: Function, locals: any, meta?: string): void;
641
- /**
642
- * parse the event expression and save reference to the function inside eventHandlers map
643
- * If the component provides a override for an event through @Event decorator invoke that
644
- * else invoke the resolved function
645
- *
646
- * @param {string} eventName
647
- * @param {string} expr
648
- */
649
- protected processEventAttr(eventName: string, expr: string, meta?: string, child?: Child): void;
650
- /**
651
- * Process the bound property
652
- * Register a watch on the bound expression
653
- */
654
- protected processBindAttr(propName: string, expr: string, child?: any): void;
655
- /**
656
- * Remove watch on the bound property
657
- */
658
- protected removePropertyBinding(propName: string): void;
659
- /**
660
- * invoke the event callback method
661
- * @param {string} eventName
662
- * @param extraLocals
663
- */
664
- invokeEventCallback(eventName: string, extraLocals?: any): any;
665
- /**
666
- * Process the attribute
667
- * If the attribute is an event expression, generate a functional representation of the expression
668
- * and keep in eventHandlers
669
- * If the attribute is a bound expression, register a watch on the expression
670
- */
671
- protected processAttr(attrName: string, attrValue: string, child?: Child): void;
672
- /**
673
- * This is required as the native element attributes are case insensitive(camelcase) like customExpressions becomes customexpression
674
- * and our logic to check like these changes will fail. Before IVY changes, angular maintains a separate object with these attributes
675
- * as it is like in the camelcase. With IVY all those are gone. So need to maintain a separate list with the camelcasing of attributes
676
- * @private
677
- * _tNode.attrs attributes are stored in array(even index: key, odd index: value)
678
- */
679
- protected getAttributes(): string[];
680
- /**
681
- * Process the attributes
682
- */
683
- private processAttrs;
684
- /**
685
- * Update the initState with the default property values and the values provided in the markup
686
- * Process the attributes
687
- * Register the widget
688
- */
689
- protected initWidget(): void;
690
- /**
691
- * Update the default properties and the properties provided in the markup in component
692
- * Invoking this method will result in invocation of propertyChange handlers on the component for the first time
693
- */
694
- protected setInitProps(): void;
695
- /**
696
- * Returns true, if a listener registered for the given event on this widget markup.
697
- * @param eventName
698
- * @returns {boolean}
699
- */
700
- protected hasEventCallback(eventName: any): boolean;
701
- /**
702
- * Sets the focus on the widget
703
- */
704
- protected focus(): void;
705
- protected execute(operation: any, options: any): any;
706
- mute(): void;
707
- unmute(): void;
708
- private customInjectorMap;
709
- /**
710
- * After the Angular 17 upgrade, Angular is no longer sending ngTemplateContext to components in ng-template.
711
- * Wavemaker widgets inside ng-template require context to evaluate bind expressions.
712
- * So we're creating an injectionToken that returns the context as a value.
713
- * We are passing the injectionToken to the ngTemplateOutletInjector.
714
- * This injects the context into each widget in the ng-template.
715
- * In the widget component constructor we are getting the injectionToken using dependency injection.
716
- * If injectionToken is present, we extend the component context with the value of injectionToken.
717
- * @param contextKey
718
- * @param context
719
- * @returns injector
720
- */
721
- createCustomInjector(contextKey: string, context: any): any;
722
- /**
723
- * After the host page is attached from cache, this function is called.
724
- */
725
- ngOnAttach(): void;
726
- /**
727
- * Before the host page is detached from dom and stored in cache, this function is called.
728
- */
729
- ngOnDetach(): void;
730
- /**
731
- * nativeElement will be available by this time
732
- * if the delayInit is false, properties meta will be available by this time
733
- * Invoke the setInitProps if the delayInit is false
734
- */
735
- ngOnInit(): void;
736
- /**
737
- * Register the events
738
- */
739
- ngAfterViewInit(): void;
740
- ngAfterContentInit(): void;
741
- ngOnDestroy(): void;
742
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, [null, null, { optional: true; }, null]>;
743
- static ɵprov: i0.ɵɵInjectableDeclaration<BaseComponent>;
469
+ export declare abstract class BaseComponent implements OnDestroy, OnInit, AfterViewInit, AfterContentInit {
470
+ protected inj: Injector;
471
+ /**
472
+ * unique identifier for the widget
473
+ */
474
+ readonly widgetId: any;
475
+ isDestroyed: boolean;
476
+ isAttached: boolean;
477
+ /**
478
+ * jQuery nativeElement reference of the component root
479
+ */
480
+ get $element(): any;
481
+ /**
482
+ * DOM node reference of the component root
483
+ */
484
+ readonly nativeElement: HTMLElement;
485
+ /**
486
+ * Type of the component
487
+ */
488
+ protected readonly widgetType: string;
489
+ /**
490
+ * Most of the cases it is same as widgetType
491
+ * for specific widgets like charts widgetType can be wm-chart where as the subtype can be wm-bar-chart
492
+ */
493
+ protected readonly widgetSubType: string;
494
+ /**
495
+ * Proxy for the component instance.
496
+ */
497
+ protected widget: any;
498
+ /**
499
+ * View parent component
500
+ * eg, Page, Partial, Prefab
501
+ */
502
+ protected readonly viewParent: any;
503
+ /**
504
+ * EventManger to add/remove events
505
+ */
506
+ protected readonly eventManager: EventManager;
507
+ /**
508
+ * App Locale
509
+ */
510
+ readonly appLocale: any;
511
+ /**
512
+ * Style change subject and observable
513
+ */
514
+ private readonly styleChange;
515
+ /**
516
+ * Property change subject and observable
517
+ */
518
+ private readonly propertyChange;
519
+ /**
520
+ * On Ready State change subject and observable
521
+ */
522
+ private readonly readyState;
523
+ /**
524
+ * Component destroy subject and observable
525
+ */
526
+ private readonly destroy;
527
+ /**
528
+ * Map of event handler callbacks
529
+ */
530
+ private readonly eventHandlers;
531
+ /**
532
+ * context of the widget
533
+ * when the widget is preset inside a repeater this context will have the repeater related properties
534
+ */
535
+ context: any;
536
+ /**
537
+ * Initial state of the widget.
538
+ * Will be undefined once the initial properties are set on to the component
539
+ */
540
+ private initState;
541
+ /**
542
+ * Internal flag to determine whether to wait for the widget initialization or not
543
+ * If the initPromise is provided in the construction wait till the promise is resolved
544
+ * If the initPromise is not provided proceed with the initialization, which is the default behavior.
545
+ */
546
+ private readonly delayedInit;
547
+ /**
548
+ * Display type of the component. eg, block(Default), inline-block, inline etc
549
+ */
550
+ private readonly displayType;
551
+ /**
552
+ * Holds the event registration functions.
553
+ * these functions needs to be executed after onViewInit
554
+ */
555
+ private readonly toBeSetupEventsQueue;
556
+ __cloneable__: boolean;
557
+ widgetProps: Map<string, any>;
558
+ private readonly $attrs;
559
+ private isMuted;
560
+ viewContainerRef: ViewContainerRef;
561
+ viewParentApp: App;
562
+ /**
563
+ * To avoid re-rendering of widget, passing unique id as contextKey to createCustomInjector
564
+ * (for List, Dynamic Tabs, Accordion, Nav, Carousel)
565
+ */
566
+ trackId: string;
567
+ customWidgetSubType: string;
568
+ protected constructor(inj: Injector, config: IWidgetConfig, explicitContext?: any, initPromise?: Promise<any>);
569
+ getNativeElement(): HTMLElement;
570
+ getWidgetType(): string;
571
+ getWidgetSubType(): string;
572
+ getWidget(): any;
573
+ setProperty(propName: any, propValue: any): void;
574
+ getViewParent(): any;
575
+ notifyStyleChange(key: string, nv: any, ov: any): void;
576
+ notifyPropertyChange(key: string, nv: any, ov: any): void;
577
+ registerStyleChangeListener(fn: ChangeListener, ctx?: any): void;
578
+ registerReadyStateListener(fn: Function, ctx?: any): void;
579
+ registerPropertyChangeListener(fn: ChangeListener, ctx?: any): void;
580
+ registerDestroyListener(fn: Function, ctx?: any): void;
581
+ getDisplayType(): string;
582
+ protected createProxy(): any;
583
+ protected initContext(): void;
584
+ /**
585
+ * set the value on the proxy object ie, widget
586
+ * setting the property on the proxy will invoke the change listeners
587
+ * @param {string} key
588
+ * @param value
589
+ */
590
+ setWidgetProperty(key: string, value: any): void;
591
+ getAttr(attrName: string): string;
592
+ /**
593
+ * returns app instance
594
+ * @returns {App}
595
+ */
596
+ getAppInstance(): App;
597
+ /**
598
+ * Generates a unique id
599
+ * Default pattern is `widget-id-${id}`
600
+ * Components can override this method to generate a different id eg, bar-chart-1
601
+ */
602
+ protected generateWidgetId(): string;
603
+ /**
604
+ * Handles the common functionality across the components
605
+ * eg,
606
+ * 1. value of the class property will be applied on the host element
607
+ * 2. based on the value of show property component is shown/hidden
608
+ *
609
+ * @param {string} key
610
+ * @param nv
611
+ * @param ov
612
+ */
613
+ protected onPropertyChange(key: string, nv: any, ov?: any): void;
614
+ /**
615
+ * Default style change handler
616
+ */
617
+ protected onStyleChange(k: string, nv: any, ov?: any): void;
618
+ /**
619
+ * Register the widget with the widgetRegistry
620
+ */
621
+ protected registerWidget(widgetName: string): void;
622
+ /**
623
+ * override the
624
+ */
625
+ protected getMappedEventName(eventName: any): any;
626
+ /**
627
+ * invoke the event handler
628
+ * Components can override this method to execute custom logic before invoking the user callback
629
+ */
630
+ protected handleEvent(node: HTMLElement, eventName: string, eventCallback: Function, locals: any, meta?: string): void;
631
+ /**
632
+ * parse the event expression and save reference to the function inside eventHandlers map
633
+ * If the component provides a override for an event through @Event decorator invoke that
634
+ * else invoke the resolved function
635
+ *
636
+ * @param {string} eventName
637
+ * @param {string} expr
638
+ */
639
+ protected processEventAttr(eventName: string, expr: string, meta?: string, child?: Child): void;
640
+ /**
641
+ * Process the bound property
642
+ * Register a watch on the bound expression
643
+ */
644
+ protected processBindAttr(propName: string, expr: string, child?: any): void;
645
+ /**
646
+ * Remove watch on the bound property
647
+ */
648
+ protected removePropertyBinding(propName: string): void;
649
+ /**
650
+ * invoke the event callback method
651
+ * @param {string} eventName
652
+ * @param extraLocals
653
+ */
654
+ invokeEventCallback(eventName: string, extraLocals?: any): any;
655
+ /**
656
+ * Process the attribute
657
+ * If the attribute is an event expression, generate a functional representation of the expression
658
+ * and keep in eventHandlers
659
+ * If the attribute is a bound expression, register a watch on the expression
660
+ */
661
+ protected processAttr(attrName: string, attrValue: string, child?: Child): void;
662
+ /**
663
+ * This is required as the native element attributes are case insensitive(camelcase) like customExpressions becomes customexpression
664
+ * and our logic to check like these changes will fail. Before IVY changes, angular maintains a separate object with these attributes
665
+ * as it is like in the camelcase. With IVY all those are gone. So need to maintain a separate list with the camelcasing of attributes
666
+ * @private
667
+ * _tNode.attrs attributes are stored in array(even index: key, odd index: value)
668
+ */
669
+ protected getAttributes(): string[];
670
+ /**
671
+ * Process the attributes
672
+ */
673
+ private processAttrs;
674
+ /**
675
+ * Update the initState with the default property values and the values provided in the markup
676
+ * Process the attributes
677
+ * Register the widget
678
+ */
679
+ protected initWidget(): void;
680
+ /**
681
+ * Update the default properties and the properties provided in the markup in component
682
+ * Invoking this method will result in invocation of propertyChange handlers on the component for the first time
683
+ */
684
+ protected setInitProps(): void;
685
+ /**
686
+ * Returns true, if a listener registered for the given event on this widget markup.
687
+ * @param eventName
688
+ * @returns {boolean}
689
+ */
690
+ protected hasEventCallback(eventName: any): boolean;
691
+ /**
692
+ * Sets the focus on the widget
693
+ */
694
+ protected focus(): void;
695
+ protected execute(operation: any, options: any): any;
696
+ mute(): void;
697
+ unmute(): void;
698
+ private customInjectorMap;
699
+ /**
700
+ * After the Angular 17 upgrade, Angular is no longer sending ngTemplateContext to components in ng-template.
701
+ * Wavemaker widgets inside ng-template require context to evaluate bind expressions.
702
+ * So we're creating an injectionToken that returns the context as a value.
703
+ * We are passing the injectionToken to the ngTemplateOutletInjector.
704
+ * This injects the context into each widget in the ng-template.
705
+ * In the widget component constructor we are getting the injectionToken using dependency injection.
706
+ * If injectionToken is present, we extend the component context with the value of injectionToken.
707
+ * @param contextKey
708
+ * @param context
709
+ * @returns injector
710
+ */
711
+ createCustomInjector(contextKey: string, context: any): any;
712
+ /**
713
+ * After the host page is attached from cache, this function is called.
714
+ */
715
+ ngOnAttach(): void;
716
+ /**
717
+ * Before the host page is detached from dom and stored in cache, this function is called.
718
+ */
719
+ ngOnDetach(): void;
720
+ /**
721
+ * nativeElement will be available by this time
722
+ * if the delayInit is false, properties meta will be available by this time
723
+ * Invoke the setInitProps if the delayInit is false
724
+ */
725
+ ngOnInit(): void;
726
+ /**
727
+ * Register the events
728
+ */
729
+ ngAfterViewInit(): void;
730
+ ngAfterContentInit(): void;
731
+ ngOnDestroy(): void;
732
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, [null, null, {
733
+ optional: true;
734
+ }, null]>;
735
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
744
736
  }
745
-
746
- declare abstract class StylableComponent extends BaseComponent {
747
- backgroundattachment: string;
748
- backgroundcolor: string;
749
- backgroundgradient: string;
750
- backgroundimage: string;
751
- backgroundposition: string;
752
- backgroundrepeat: string;
753
- backgroundsize: string;
754
- bordercolor: string;
755
- borderradius: string;
756
- borderstyle: string;
757
- borderwidth: string;
758
- borderbottomwidth: string;
759
- borderleftwidth: string;
760
- borderrightwidth: string;
761
- bordertopwidth: string;
762
- color: string;
763
- cursor: string;
764
- display: string;
765
- fontsize: string;
766
- fontfamily: string;
767
- fontstyle: string;
768
- fontunit: string;
769
- fontvariant: string;
770
- fontweight: string;
771
- height: string;
772
- horizontalalign: string;
773
- lineheight: string;
774
- margin: string;
775
- marginbottom: string;
776
- marginleft: string;
777
- marginright: string;
778
- margintop: string;
779
- opacity: string;
780
- overflow: string;
781
- padding: string;
782
- paddingbottom: string;
783
- paddingleft: string;
784
- paddingright: string;
785
- paddingtop: string;
786
- picturesource: string;
787
- textalign: string;
788
- textdecoration: string;
789
- verticalalign: string;
790
- visibility: string;
791
- whitespace: string;
792
- width: string;
793
- wordbreak: string;
794
- zindex: string;
795
- static ɵfac: i0.ɵɵFactoryDeclaration<StylableComponent, never>;
796
- static ɵprov: i0.ɵɵInjectableDeclaration<StylableComponent>;
737
+ export declare abstract class StylableComponent extends BaseComponent {
738
+ backgroundattachment: string;
739
+ backgroundcolor: string;
740
+ backgroundgradient: string;
741
+ backgroundimage: string;
742
+ backgroundposition: string;
743
+ backgroundrepeat: string;
744
+ backgroundsize: string;
745
+ bordercolor: string;
746
+ borderradius: string;
747
+ borderstyle: string;
748
+ borderwidth: string;
749
+ borderbottomwidth: string;
750
+ borderleftwidth: string;
751
+ borderrightwidth: string;
752
+ bordertopwidth: string;
753
+ color: string;
754
+ cursor: string;
755
+ display: string;
756
+ fontsize: string;
757
+ fontfamily: string;
758
+ fontstyle: string;
759
+ fontunit: string;
760
+ fontvariant: string;
761
+ fontweight: string;
762
+ height: string;
763
+ horizontalalign: string;
764
+ lineheight: string;
765
+ margin: string;
766
+ marginbottom: string;
767
+ marginleft: string;
768
+ marginright: string;
769
+ margintop: string;
770
+ opacity: string;
771
+ overflow: string;
772
+ padding: string;
773
+ paddingbottom: string;
774
+ paddingleft: string;
775
+ paddingright: string;
776
+ paddingtop: string;
777
+ picturesource: string;
778
+ textalign: string;
779
+ textdecoration: string;
780
+ verticalalign: string;
781
+ visibility: string;
782
+ whitespace: string;
783
+ width: string;
784
+ wordbreak: string;
785
+ zindex: string;
786
+ static ɵfac: i0.ɵɵFactoryDeclaration<StylableComponent, never>;
787
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
797
788
  }
798
-
799
- declare abstract class DatasetAwareNavComponent extends StylableComponent implements OnDestroy {
800
- nodes: Array<NavNode>;
801
- dataset: any;
802
- itemicon: string;
803
- itemlabel: string;
804
- itemhint: string;
805
- itemlink: string;
806
- itemtarget: string;
807
- itembadge: string;
808
- itemchildren: string;
809
- itemaction: string;
810
- itemclass: string;
811
- itemid: string;
812
- isactive: string;
813
- userrole: string;
814
- orderby: string;
815
- datafield: string;
816
- displayfield: string;
817
- private _itemFieldMap;
818
- private binditemlabel;
819
- private binditemhint;
820
- private binditemicon;
821
- private binditemaction;
822
- private binditembadge;
823
- private binditemchildren;
824
- private binditemlink;
825
- private binditemtarget;
826
- private binduserrole;
827
- private bindisactive;
828
- private readonly securityService;
829
- protected binditemid: string | null;
830
- protected nodes$: Subject<unknown>;
831
- private readonly cancelLocaleChangeSubscription;
832
- constructor(inj: Injector, WIDGET_CONFIG: any, explicitContext: any);
833
- /**
834
- * constructs individual node for the widget model.
835
- * @param fields
836
- * @param node
837
- */
838
- private getNode;
839
- resetItemFieldMap(): void;
840
- getItemFieldsMap(): any;
841
- /**
842
- * returns array for the value passed as nv.
843
- * nv: 'a,b' => [{label:a, value:a}, {label:b, value:b}]
844
- * nv: [1,2] => [{label:1, value:1}, {label:2, value:2}]
845
- * nv: [{obj}, {obj}] => [{obj}, {obj}]
846
- * @param nv
847
- */
848
- private prepareNodeDataSet;
849
- /**
850
- * constructs dataset form the nav elements.
851
- */
852
- private getNodes;
853
- protected resetNodes(): void;
854
- private _resetNodes;
855
- onPropertyChange(key: any, nv: any, ov: any): void;
856
- ngOnDestroy(): void;
857
- static ɵfac: i0.ɵɵFactoryDeclaration<DatasetAwareNavComponent, never>;
858
- static ɵprov: i0.ɵɵInjectableDeclaration<DatasetAwareNavComponent>;
789
+ export declare abstract class DatasetAwareNavComponent extends StylableComponent implements OnDestroy {
790
+ nodes: Array<NavNode>;
791
+ dataset: any;
792
+ itemicon: string;
793
+ itemlabel: string;
794
+ itemhint: string;
795
+ itemlink: string;
796
+ itemtarget: string;
797
+ itembadge: string;
798
+ itemchildren: string;
799
+ itemaction: string;
800
+ itemclass: string;
801
+ itemid: string;
802
+ isactive: string;
803
+ userrole: string;
804
+ orderby: string;
805
+ datafield: string;
806
+ displayfield: string;
807
+ private _itemFieldMap;
808
+ private binditemlabel;
809
+ private binditemhint;
810
+ private binditemicon;
811
+ private binditemaction;
812
+ private binditembadge;
813
+ private binditemchildren;
814
+ private binditemlink;
815
+ private binditemtarget;
816
+ private binduserrole;
817
+ private bindisactive;
818
+ private readonly securityService;
819
+ protected binditemid: string | null;
820
+ protected nodes$: Subject<unknown>;
821
+ private readonly cancelLocaleChangeSubscription;
822
+ constructor(inj: Injector, WIDGET_CONFIG: any, explicitContext: any);
823
+ /**
824
+ * constructs individual node for the widget model.
825
+ * @param fields
826
+ * @param node
827
+ */
828
+ private getNode;
829
+ resetItemFieldMap(): void;
830
+ getItemFieldsMap(): any;
831
+ /**
832
+ * returns array for the value passed as nv.
833
+ * nv: 'a,b' => [{label:a, value:a}, {label:b, value:b}]
834
+ * nv: [1,2] => [{label:1, value:1}, {label:2, value:2}]
835
+ * nv: [{obj}, {obj}] => [{obj}, {obj}]
836
+ * @param nv
837
+ */
838
+ private prepareNodeDataSet;
839
+ /**
840
+ * constructs dataset form the nav elements.
841
+ */
842
+ private getNodes;
843
+ protected resetNodes(): void;
844
+ private _resetNodes;
845
+ onPropertyChange(key: any, nv: any, ov: any): void;
846
+ ngOnDestroy(): void;
847
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatasetAwareNavComponent, never>;
848
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
859
849
  }
860
- interface NavNode {
861
- label: string;
862
- action?: any;
863
- badge?: string;
864
- children?: Array<NavNode>;
865
- class?: string;
866
- disabled?: boolean;
867
- icon?: string;
868
- id?: string;
869
- link?: string;
870
- role?: string;
871
- value?: any;
850
+ export interface NavNode {
851
+ label: string;
852
+ action?: any;
853
+ badge?: string;
854
+ children?: Array<NavNode>;
855
+ class?: string;
856
+ disabled?: boolean;
857
+ icon?: string;
858
+ id?: string;
859
+ link?: string;
860
+ role?: string;
861
+ value?: any;
872
862
  }
873
-
874
863
  /**
875
864
  * Returns the value for the provided key in the object
876
865
  */
877
- declare const getObjValueByKey: (obj: any, strKey: string) => any;
866
+ export declare const getObjValueByKey: (obj: any, strKey: string) => any;
878
867
  /**
879
868
  * returns the display field data for any dataset widgets
880
869
  * Based on the bind display expression or display expression or display name,
@@ -883,552 +872,578 @@ declare const getObjValueByKey: (obj: any, strKey: string) => any;
883
872
  * If expression is given, evaluates the expression value.
884
873
  * else check for bindExpression, extract the value from the dataObj
885
874
  */
886
- declare const getEvaluatedData: (dataObj: any, options: any, context?: any) => any;
887
- declare const isActiveNavItem: (link: any, routeName: any) => boolean;
875
+ export declare const getEvaluatedData: (dataObj: any, options: any, context?: any) => any;
876
+ export declare const isActiveNavItem: (link: any, routeName: any) => boolean;
888
877
  /**
889
- * returns true if the menu has link to the current page.
890
- * @param nodes
891
- * @param routeUrl
892
- */
893
- declare const hasLinkToCurrentPage: (nodes: Array<NavNode>, routeUrl: any) => any;
878
+ * returns true if the menu has link to the current page.
879
+ * @param nodes
880
+ * @param routeUrl
881
+ */
882
+ export declare const hasLinkToCurrentPage: (nodes: Array<NavNode>, routeUrl: any) => any;
894
883
  /**
895
884
  * Returns the orderBy Expression based on the 'sort 'option in pageable object
896
885
  * returned by backend
897
886
  * @param pageableObj
898
887
  * @returns {string}
899
888
  */
900
- declare const getOrderByExpr: (pageableObj: any) => string;
901
- declare const isDataSetWidget: (widget: any) => boolean;
902
- declare const getImageUrl: (urlString: any, shouldEncode?: any, defaultUrl?: any) => any;
903
- declare const getBackGroundImageUrl: (urlString: any) => any;
904
- declare function provideAs(reference: any, key: any, multi?: boolean): {
905
- provide: any;
906
- useExisting: i0.Type<any>;
907
- multi: boolean;
889
+ export declare const getOrderByExpr: (pageableObj: any) => string;
890
+ export declare const isDataSetWidget: (widget: any) => boolean;
891
+ export declare const getImageUrl: (urlString: any, shouldEncode?: any, defaultUrl?: any) => any;
892
+ export declare const getBackGroundImageUrl: (urlString: any) => any;
893
+ export declare function provideAs(reference: any, key: any, multi?: boolean): {
894
+ provide: any;
895
+ useExisting: import("@angular/core").Type<any>;
896
+ multi: boolean;
908
897
  };
909
- declare function provideAsWidgetRef(reference: any): {
910
- provide: any;
911
- useExisting: i0.Type<any>;
912
- multi: boolean;
898
+ export declare function provideAsWidgetRef(reference: any): {
899
+ provide: any;
900
+ useExisting: import("@angular/core").Type<any>;
901
+ multi: boolean;
913
902
  };
914
- declare function provideAsDialogRef(reference: any): {
915
- provide: any;
916
- useExisting: i0.Type<any>;
917
- multi: boolean;
903
+ export declare function provideAsDialogRef(reference: any): {
904
+ provide: any;
905
+ useExisting: import("@angular/core").Type<any>;
906
+ multi: boolean;
918
907
  };
919
- declare const NAVIGATION_TYPE: {
920
- ADVANCED: string;
921
- BASIC: string;
922
- CLASSIC: string;
923
- INLINE: string;
924
- NONE: string;
925
- ONDEMAND: string;
926
- PAGER: string;
927
- SCROLL: string;
908
+ export declare const NAVIGATION_TYPE: {
909
+ ADVANCED: string;
910
+ BASIC: string;
911
+ CLASSIC: string;
912
+ INLINE: string;
913
+ NONE: string;
914
+ ONDEMAND: string;
915
+ PAGER: string;
916
+ SCROLL: string;
928
917
  };
929
- declare const INPUTMODE: {
930
- FINANCIAL: string;
931
- NATURAL: string;
918
+ export declare const INPUTMODE: {
919
+ FINANCIAL: string;
920
+ NATURAL: string;
932
921
  };
933
- declare const AUTOCLOSE_TYPE: {
934
- OUTSIDECLICK: string;
935
- ALWAYS: string;
936
- DISABLED: string;
922
+ export declare const AUTOCLOSE_TYPE: {
923
+ OUTSIDECLICK: string;
924
+ ALWAYS: string;
925
+ DISABLED: string;
937
926
  };
938
- declare const unsupportedStatePersistenceTypes: string[];
939
- declare const getWatchIdentifier: (...args: any[]) => string;
940
- declare const getMatchModeTypesMap: (multiMode?: any) => {
941
- boolean: string[];
942
- clob: any[];
943
- blob: any[];
927
+ export declare const unsupportedStatePersistenceTypes: string[];
928
+ export declare const getWatchIdentifier: (...args: any[]) => string;
929
+ export declare const getMatchModeTypesMap: (multiMode?: any) => {
930
+ boolean: string[];
931
+ clob: any[];
932
+ blob: any[];
944
933
  };
945
- declare const getMatchModeMsgs: (appLocale: any) => {
946
- start: any;
947
- startignorecase: any;
948
- end: any;
949
- endignorecase: any;
950
- anywhere: any;
951
- anywhereignorecase: any;
952
- exact: any;
953
- exactignorecase: any;
954
- notequals: any;
955
- notequalsignorecase: any;
956
- lessthan: any;
957
- lessthanequal: any;
958
- greaterthan: any;
959
- greaterthanequal: any;
960
- null: any;
961
- isnotnull: any;
962
- empty: any;
963
- isnotempty: any;
964
- nullorempty: any;
965
- in: any;
966
- notin: any;
967
- between: any;
934
+ export declare const getMatchModeMsgs: (appLocale: any) => {
935
+ start: any;
936
+ startignorecase: any;
937
+ end: any;
938
+ endignorecase: any;
939
+ anywhere: any;
940
+ anywhereignorecase: any;
941
+ exact: any;
942
+ exactignorecase: any;
943
+ notequals: any;
944
+ notequalsignorecase: any;
945
+ lessthan: any;
946
+ lessthanequal: any;
947
+ greaterthan: any;
948
+ greaterthanequal: any;
949
+ null: any;
950
+ isnotnull: any;
951
+ empty: any;
952
+ isnotempty: any;
953
+ nullorempty: any;
954
+ in: any;
955
+ notin: any;
956
+ between: any;
968
957
  };
969
- declare const getConditionalClasses: (nv: any, ov?: any) => {
970
- toAdd: any;
971
- toRemove: any;
958
+ export declare const getConditionalClasses: (nv: any, ov?: any) => {
959
+ toAdd: any;
960
+ toRemove: any;
972
961
  };
973
- declare const prepareFieldDefs: (data: any, options?: any) => any[] | {
974
- objects: any[];
975
- terminals: any[];
962
+ export declare const prepareFieldDefs: (data: any, options?: any) => any[] | {
963
+ objects: any[];
964
+ terminals: any[];
976
965
  };
977
966
  /**
978
967
  * To get container target element to append the list for search and datepicker panel when field present in dialog
979
968
  */
980
- declare const getContainerTargetClass: (element: any) => string;
969
+ export declare const getContainerTargetClass: (element: any) => string;
981
970
  /**
982
971
  * To extract the Variable Name from a Widget's binddatasource attribute
983
972
  */
984
- declare const extractDataSourceName: (bindDataSource: any) => any;
985
- declare const setFocusTrap: (container: any, allowOutsideClick: any, setReturnFocusElement?: any) => _wavemaker_focus_trap.FocusTrap;
973
+ export declare const extractDataSourceName: (bindDataSource: any) => any;
974
+ export declare const setFocusTrap: (container: any, allowOutsideClick: any, setReturnFocusElement?: any) => import("@wavemaker/focus-trap").FocusTrap;
986
975
  /**
987
976
  * Gets keyboard focusable elements within a specified element
988
977
  * @param element {HTMLElement}
989
978
  * @returns {Array}
990
979
  */
991
- declare const getKeyboardFocusableElements: (element: HTMLElement) => Element[];
992
- declare const getCurrentWidgets: (element: any, widgets: any) => any;
993
-
994
- declare abstract class BaseContainerComponent extends StylableComponent implements OnDestroy {
995
- reDrawableComponents: any;
996
- content: any;
997
- Widgets: any;
998
- constructor(inj: Injector, WIDGET_CONFIG: IWidgetConfig, explicitContext: any);
999
- private updateRedrawableComponents;
1000
- private redrawChildren;
1001
- onPropertyChange(key: string, nv: any, ov?: any): void;
1002
- ngOnDestroy(): void;
1003
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseContainerComponent, never>;
1004
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseContainerComponent, never, never, {}, {}, ["reDrawableComponents"], never, true, never>;
980
+ export declare const getKeyboardFocusableElements: (element: HTMLElement) => Element[];
981
+ export declare const getCurrentWidgets: (element: any, widgets: any) => any;
982
+ export declare abstract class BaseContainerComponent extends StylableComponent implements OnDestroy {
983
+ reDrawableComponents: any;
984
+ content: any;
985
+ Widgets: any;
986
+ constructor(inj: Injector, WIDGET_CONFIG: IWidgetConfig, explicitContext: any);
987
+ private updateRedrawableComponents;
988
+ private redrawChildren;
989
+ onPropertyChange(key: string, nv: any, ov?: any): void;
990
+ ngOnDestroy(): void;
991
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseContainerComponent, never>;
992
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseContainerComponent, never, never, {}, {}, ["reDrawableComponents"], never, true, never>;
1005
993
  }
1006
-
1007
- declare class PartialContainerDirective implements OnDestroy {
1008
- componentInstance: any;
1009
- vcRef: ViewContainerRef;
1010
- elRef: ElementRef;
1011
- inj: Injector;
1012
- private readonly envInjector;
1013
- private readonly app;
1014
- private readonly partialRefProvider;
1015
- private contentInitialized;
1016
- private $target;
1017
- private instanceRef;
1018
- get name(): any;
1019
- _renderPartial(partialName: string): Promise<void>;
1020
- /**
1021
- * Resolve prefab context for the partial
1022
- * Checks if partial is inside a prefab and returns the prefab name
1023
- */
1024
- private resolvePrefabContext;
1025
- renderPartial: lodash.DebouncedFunc<(partialName: string) => Promise<void>>;
1026
- onLoadSuccess(): void;
1027
- constructor(componentInstance: any, vcRef: ViewContainerRef, elRef: ElementRef, inj: Injector, envInjector: EnvironmentInjector, app: App, _content: string, partialRefProvider: PartialRefProvider);
1028
- ngOnDestroy(): void;
1029
- static ɵfac: i0.ɵɵFactoryDeclaration<PartialContainerDirective, [{ self: true; }, null, null, null, null, null, { attribute: "content"; }, null]>;
1030
- static ɵdir: i0.ɵɵDirectiveDeclaration<PartialContainerDirective, "[partialContainer]", never, {}, {}, never, never, true, never>;
994
+ export declare class PartialContainerDirective implements OnDestroy {
995
+ componentInstance: any;
996
+ vcRef: ViewContainerRef;
997
+ elRef: ElementRef;
998
+ inj: Injector;
999
+ private readonly envInjector;
1000
+ private readonly app;
1001
+ private readonly partialRefProvider;
1002
+ private contentInitialized;
1003
+ private $target;
1004
+ private instanceRef;
1005
+ get name(): any;
1006
+ _renderPartial(partialName: string): Promise<void>;
1007
+ /**
1008
+ * Resolve prefab context for the partial
1009
+ * Checks if partial is inside a prefab and returns the prefab name
1010
+ */
1011
+ private resolvePrefabContext;
1012
+ renderPartial: import("lodash").DebouncedFunc<(partialName: string) => Promise<void>>;
1013
+ onLoadSuccess(): void;
1014
+ constructor(componentInstance: any, vcRef: ViewContainerRef, elRef: ElementRef, inj: Injector, envInjector: EnvironmentInjector, app: App, _content: string, partialRefProvider: PartialRefProvider);
1015
+ ngOnDestroy(): void;
1016
+ static ɵfac: i0.ɵɵFactoryDeclaration<PartialContainerDirective, [{
1017
+ self: true;
1018
+ }, null, null, null, null, null, {
1019
+ attribute: "content";
1020
+ }, null]>;
1021
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PartialContainerDirective, "[partialContainer]", never, {}, {}, never, never, true, never>;
1031
1022
  }
1032
-
1033
- declare class CustomWidgetContainerDirective implements OnDestroy {
1034
- componentInstance: any;
1035
- vcRef: ViewContainerRef;
1036
- elRef: ElementRef;
1037
- inj: Injector;
1038
- private readonly envInjector;
1039
- private readonly app;
1040
- private readonly customWidgetRefProvider;
1041
- constructor(componentInstance: any, vcRef: ViewContainerRef, elRef: ElementRef, inj: Injector, envInjector: EnvironmentInjector, app: App, widgetname: string, customWidgetRefProvider: CustomWidgetRefProvider);
1042
- private loadCustomWidget;
1043
- ngOnDestroy(): void;
1044
- static ɵfac: i0.ɵɵFactoryDeclaration<CustomWidgetContainerDirective, [{ self: true; }, null, null, null, null, null, { attribute: "widgetname"; }, null]>;
1045
- static ɵdir: i0.ɵɵDirectiveDeclaration<CustomWidgetContainerDirective, "[customWidgetContainer][widgetname]", never, {}, {}, never, never, true, never>;
1023
+ export declare class CustomWidgetContainerDirective implements OnDestroy {
1024
+ componentInstance: any;
1025
+ vcRef: ViewContainerRef;
1026
+ elRef: ElementRef;
1027
+ inj: Injector;
1028
+ private readonly envInjector;
1029
+ private readonly app;
1030
+ private readonly customWidgetRefProvider;
1031
+ constructor(componentInstance: any, vcRef: ViewContainerRef, elRef: ElementRef, inj: Injector, envInjector: EnvironmentInjector, app: App, widgetname: string, customWidgetRefProvider: CustomWidgetRefProvider);
1032
+ private loadCustomWidget;
1033
+ ngOnDestroy(): void;
1034
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomWidgetContainerDirective, [{
1035
+ self: true;
1036
+ }, null, null, null, null, null, {
1037
+ attribute: "widgetname";
1038
+ }, null]>;
1039
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CustomWidgetContainerDirective, "[customWidgetContainer][widgetname]", never, {}, {}, never, never, true, never>;
1046
1040
  }
1047
-
1048
- declare class BaseFieldValidations {
1049
- private hasValidators;
1050
- private instance;
1051
- formwidget: any;
1052
- private readonly widgettype;
1053
- private widgetControl;
1054
- private widgetContext;
1055
- private readonly tableFieldType;
1056
- private defaultValidatorMessages;
1057
- private _syncValidators;
1058
- private _asyncValidatorFn;
1059
- constructor(instance: any, formwidget: any, widgettype: any, widgetControl: any, widgetContext: any, tableFieldType?: any);
1060
- private getDefaultValidators;
1061
- setUpValidators(customValidator?: any): void;
1062
- getPromiseList(validators: any): any[];
1063
- setAsyncValidators(validators: any): void;
1064
- isDefaultValidator(type: any): undefined;
1065
- setDefaultValidator(key: any, value: any): void;
1066
- setValidators(validators: any): void;
1067
- observeOn(fields: any, context: any): void;
1068
- validate(): void;
1069
- watchDefaultValidatorExpr(fn: any, key: any): void;
1070
- isNullOrEmptyOrFalsy(value: any): boolean;
1071
- applyDefaultValidators(): void;
1072
- setCustomValidationMessage(): void;
1073
- destroy(): void;
1041
+ export declare class BaseFieldValidations {
1042
+ private hasValidators;
1043
+ private instance;
1044
+ formwidget: any;
1045
+ private readonly widgettype;
1046
+ private widgetControl;
1047
+ private widgetContext;
1048
+ private readonly tableFieldType;
1049
+ private defaultValidatorMessages;
1050
+ private _syncValidators;
1051
+ private _asyncValidatorFn;
1052
+ constructor(instance: any, formwidget: any, widgettype: any, widgetControl: any, widgetContext: any, tableFieldType?: any);
1053
+ private getDefaultValidators;
1054
+ setUpValidators(customValidator?: any): void;
1055
+ getPromiseList(validators: any): any[];
1056
+ setAsyncValidators(validators: any): void;
1057
+ isDefaultValidator(type: any): undefined;
1058
+ setDefaultValidator(key: any, value: any): void;
1059
+ setValidators(validators: any): void;
1060
+ observeOn(fields: any, context: any): void;
1061
+ validate(): void;
1062
+ watchDefaultValidatorExpr(fn: any, key: any): void;
1063
+ isNullOrEmptyOrFalsy(value: any): boolean;
1064
+ applyDefaultValidators(): void;
1065
+ setCustomValidationMessage(): void;
1066
+ destroy(): void;
1074
1067
  }
1075
-
1076
- /**
1077
- * This directive is used to set custom template partial for an item and maintains separate scope for each item.
1078
- * This takes two inputs
1079
- * 1) template partial name as wmItemTemplate
1080
- * 2) item object as userComponentParams
1081
- * Example: Providing a custom template for the search/autocomplete widget (customized UI in the dropdown for each item)
1082
- * Add this directive to the li tag and provide item object and partial name like below. And also provide partialContainer and partial-container-target to render the partial.
1083
- * <li #liElements *ngFor="let match of matches" [wmItemTemplate]="content" [userComponentParams]="match.item" partialContainer>
1084
- * <a partial-container-target></a>
1085
- * </li>
1086
- */
1087
-
1088
- declare class ItemTemplateDirective extends StylableComponent implements OnInit, OnDestroy {
1089
- private readonly app;
1090
- static readonly initializeProps: void;
1091
- context: any;
1092
- content: any;
1093
- partialParams: any;
1094
- nativeElement: HTMLElement;
1095
- viewContainerRef: ViewContainerRef;
1096
- get $index(): any;
1097
- userComponentParams: any;
1098
- set wmItemTemplate(value: any);
1099
- constructor(inj: Injector, elRef: ElementRef, app: App, explicitContext: any);
1100
- ngOnInit(): void;
1101
- ngOnDestroy(): void;
1102
- static ɵfac: i0.ɵɵFactoryDeclaration<ItemTemplateDirective, [null, null, null, { optional: true; }]>;
1103
- static ɵdir: i0.ɵɵDirectiveDeclaration<ItemTemplateDirective, "[wmItemTemplate]", ["itemTemplateRef"], { "userComponentParams": { "alias": "userComponentParams"; "required": false; }; "wmItemTemplate": { "alias": "wmItemTemplate"; "required": false; }; }, {}, never, never, true, never>;
1068
+ export declare class ItemTemplateDirective extends StylableComponent implements OnInit, OnDestroy {
1069
+ private readonly app;
1070
+ static readonly initializeProps: void;
1071
+ context: any;
1072
+ content: any;
1073
+ partialParams: any;
1074
+ nativeElement: HTMLElement;
1075
+ viewContainerRef: ViewContainerRef;
1076
+ get $index(): any;
1077
+ userComponentParams: any;
1078
+ set wmItemTemplate(value: any);
1079
+ constructor(inj: Injector, elRef: ElementRef, app: App, explicitContext: any);
1080
+ ngOnInit(): void;
1081
+ ngOnDestroy(): void;
1082
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItemTemplateDirective, [null, null, null, {
1083
+ optional: true;
1084
+ }]>;
1085
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItemTemplateDirective, "[wmItemTemplate]", ["itemTemplateRef"], {
1086
+ "userComponentParams": {
1087
+ "alias": "userComponentParams";
1088
+ "required": false;
1089
+ };
1090
+ "wmItemTemplate": {
1091
+ "alias": "wmItemTemplate";
1092
+ "required": false;
1093
+ };
1094
+ }, {}, never, never, true, never>;
1104
1095
  }
1105
-
1106
- declare class RepeatTemplateDirective extends StylableComponent {
1107
- static readonly initializeProps: void;
1108
- constructor(inj: Injector, explicitContext: any);
1109
- static ɵfac: i0.ɵɵFactoryDeclaration<RepeatTemplateDirective, [null, { optional: true; }]>;
1110
- static ɵdir: i0.ɵɵDirectiveDeclaration<RepeatTemplateDirective, "[wmRepeatTemplate]", ["repeatItemRef"], {}, {}, never, never, true, never>;
1096
+ export declare class RepeatTemplateDirective extends StylableComponent {
1097
+ static readonly initializeProps: void;
1098
+ constructor(inj: Injector, explicitContext: any);
1099
+ static ɵfac: i0.ɵɵFactoryDeclaration<RepeatTemplateDirective, [null, {
1100
+ optional: true;
1101
+ }]>;
1102
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RepeatTemplateDirective, "[wmRepeatTemplate]", ["repeatItemRef"], {}, {}, never, never, true, never>;
1111
1103
  }
1112
-
1113
- declare class MessageComponent extends StylableComponent {
1114
- static readonly initializeProps: void;
1115
- messageClass: string;
1116
- messageIconClass: string;
1117
- type: string;
1118
- caption: string;
1119
- hideclose: any;
1120
- constructor(inj: Injector, explicitContext: any);
1121
- showMessage(caption?: string, type?: string): void;
1122
- hideMessage(): void;
1123
- dismiss($event: any): void;
1124
- private onMessageTypeChange;
1125
- onPropertyChange(key: any, nv: any, ov?: any): void;
1126
- static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, [null, { optional: true; }]>;
1127
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "[wmMessage]", ["wmMessage"], {}, {}, never, never, true, never>;
1104
+ export declare class MessageComponent extends StylableComponent {
1105
+ static readonly initializeProps: void;
1106
+ messageClass: string;
1107
+ messageIconClass: string;
1108
+ type: string;
1109
+ caption: string;
1110
+ hideclose: any;
1111
+ constructor(inj: Injector, explicitContext: any);
1112
+ showMessage(caption?: string, type?: string): void;
1113
+ hideMessage(): void;
1114
+ dismiss($event: any): void;
1115
+ private onMessageTypeChange;
1116
+ onPropertyChange(key: any, nv: any, ov?: any): void;
1117
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, [null, {
1118
+ optional: true;
1119
+ }]>;
1120
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "[wmMessage]", ["wmMessage"], {}, {}, never, never, true, never>;
1128
1121
  }
1129
-
1130
- declare class PullToRefresh extends SwipeAnimation {
1131
- private readonly $el;
1132
- private readonly app;
1133
- private readonly onPullToRefresh;
1134
- private infoContainer;
1135
- private runAnimation;
1136
- private count;
1137
- private spinner;
1138
- cancelSubscription: () => void;
1139
- private animationInProgress;
1140
- constructor($el: JQuery<HTMLElement>, app: App, onPullToRefresh: () => void);
1141
- threshold(): number;
1142
- direction(): any;
1143
- private subscribe;
1144
- bounds($event: any, $d: any): {
1145
- lower: any;
1146
- upper: any;
1147
- center?: undefined;
1148
- strict?: undefined;
1149
- } | {
1150
- lower: number;
1151
- center: number;
1152
- upper: number;
1153
- strict: boolean;
1122
+ export declare class PullToRefresh extends SwipeAnimation {
1123
+ private readonly $el;
1124
+ private readonly app;
1125
+ private readonly onPullToRefresh;
1126
+ private infoContainer;
1127
+ private runAnimation;
1128
+ private count;
1129
+ private spinner;
1130
+ cancelSubscription: () => void;
1131
+ private animationInProgress;
1132
+ constructor($el: JQuery<HTMLElement>, app: App, onPullToRefresh: () => void);
1133
+ threshold(): number;
1134
+ direction(): any;
1135
+ private subscribe;
1136
+ bounds($event: any, $d: any): {
1137
+ lower: any;
1138
+ upper: any;
1139
+ center?: undefined;
1140
+ strict?: undefined;
1141
+ } | {
1142
+ lower: number;
1143
+ center: number;
1144
+ upper: number;
1145
+ strict: boolean;
1146
+ };
1147
+ context(): object;
1148
+ animation(): {
1149
+ css: {
1150
+ transform: string;
1151
+ spin: string;
1152
+ opacity?: undefined;
1154
1153
  };
1155
- context(): object;
1156
- animation(): {
1157
- css: {
1158
- transform: string;
1159
- spin: string;
1160
- opacity?: undefined;
1161
- };
1162
- target?: undefined;
1163
- } | {
1164
- target: JQuery<HTMLElement>;
1165
- css: {
1166
- transform: string;
1167
- spin: string;
1168
- opacity: string;
1169
- };
1154
+ target?: undefined;
1155
+ } | {
1156
+ target: JQuery<HTMLElement>;
1157
+ css: {
1158
+ transform: string;
1159
+ spin: string;
1160
+ opacity: string;
1170
1161
  };
1171
- onAnimation(): void;
1172
- stopAnimation(): void;
1173
- wait(): void;
1174
- destroy(): void;
1162
+ };
1163
+ onAnimation(): void;
1164
+ stopAnimation(): void;
1165
+ wait(): void;
1166
+ destroy(): void;
1175
1167
  }
1176
-
1177
- declare class PartialDirective extends StylableComponent implements OnDestroy {
1178
- private readonly viewport;
1179
- static readonly initializeProps: void;
1180
- constructor(inj: Injector, viewport: Viewport, explicitContext: any);
1181
- private callback;
1182
- ngOnAttach(): void;
1183
- ngOnDetach(): void;
1184
- ngOnDestroy(): void;
1185
- static ɵfac: i0.ɵɵFactoryDeclaration<PartialDirective, [null, null, { optional: true; }]>;
1186
- static ɵdir: i0.ɵɵDirectiveDeclaration<PartialDirective, "[wmPartial]", never, {}, {}, never, never, true, never>;
1168
+ export declare class PartialDirective extends StylableComponent implements OnDestroy {
1169
+ private readonly viewport;
1170
+ static readonly initializeProps: void;
1171
+ constructor(inj: Injector, viewport: Viewport, explicitContext: any);
1172
+ private callback;
1173
+ ngOnAttach(): void;
1174
+ ngOnDetach(): void;
1175
+ ngOnDestroy(): void;
1176
+ static ɵfac: i0.ɵɵFactoryDeclaration<PartialDirective, [null, null, {
1177
+ optional: true;
1178
+ }]>;
1179
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PartialDirective, "[wmPartial]", never, {}, {}, never, never, true, never>;
1187
1180
  }
1188
-
1189
- declare class RedrawableDirective implements IRedrawableComponent {
1190
- redraw: Function;
1191
- constructor(widget: any);
1192
- static ɵfac: i0.ɵɵFactoryDeclaration<RedrawableDirective, [{ self: true; }]>;
1193
- static ɵdir: i0.ɵɵDirectiveDeclaration<RedrawableDirective, "[redrawable]", never, {}, {}, never, never, true, never>;
1181
+ export declare class RedrawableDirective implements IRedrawableComponent {
1182
+ redraw: Function;
1183
+ constructor(widget: any);
1184
+ static ɵfac: i0.ɵɵFactoryDeclaration<RedrawableDirective, [{
1185
+ self: true;
1186
+ }]>;
1187
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RedrawableDirective, "[redrawable]", never, {}, {}, never, never, true, never>;
1194
1188
  }
1195
-
1196
- declare const EVENTS_MAP: Map<string, string>;
1197
- declare const DISPLAY_TYPE: {
1198
- BLOCK: string;
1199
- INLINE_BLOCK: string;
1200
- INLINE: string;
1189
+ export declare const EVENTS_MAP: Map<string, string>;
1190
+ export declare const DISPLAY_TYPE: {
1191
+ BLOCK: string;
1192
+ INLINE_BLOCK: string;
1193
+ INLINE: string;
1201
1194
  };
1202
1195
  /**
1203
1196
  * Returns true if the provided key is a boolean attribute
1204
1197
  * @param {string} key
1205
1198
  * @returns {boolean}
1206
1199
  */
1207
- declare const isBooleanAttr: (key: string) => boolean;
1208
- declare const isDimensionProp: (key: string) => boolean;
1209
- declare const DEBOUNCE_TIMES: {
1210
- PAGINATION_DEBOUNCE_TIME: number;
1200
+ export declare const isBooleanAttr: (key: string) => boolean;
1201
+ export declare const isDimensionProp: (key: string) => boolean;
1202
+ export declare const DEBOUNCE_TIMES: {
1203
+ PAGINATION_DEBOUNCE_TIME: number;
1211
1204
  };
1212
-
1213
- declare const updateDeviceView: (element: HTMLElement, isTablet?: boolean) => void;
1214
-
1215
- declare enum APPLY_STYLES_TYPE {
1216
- CONTAINER = 0,
1217
- SCROLLABLE_CONTAINER = 1,
1218
- INNER_SHELL = 2,
1219
- SHELL = 3
1205
+ export declare const updateDeviceView: (element: HTMLElement, isTablet?: boolean) => void;
1206
+ export declare enum APPLY_STYLES_TYPE {
1207
+ CONTAINER = 0,
1208
+ SCROLLABLE_CONTAINER = 1,
1209
+ INNER_SHELL = 2,
1210
+ SHELL = 3
1220
1211
  }
1221
- declare const propNameCSSKeyMap: {
1222
- backgroundattachment: string;
1223
- backgroundcolor: string;
1224
- backgroundgradient: string;
1225
- backgroundimage: string;
1226
- backgroundposition: string;
1227
- backgroundrepeat: string;
1228
- backgroundsize: string;
1229
- bordercolor: string;
1230
- borderradius: string;
1231
- borderstyle: string;
1232
- borderwidth: string;
1233
- borderbottomwidth: string;
1234
- borderleftwidth: string;
1235
- borderrightwidth: string;
1236
- bordertopwidth: string;
1237
- color: string;
1238
- cursor: string;
1239
- display: string;
1240
- fontsize: string;
1241
- fontfamily: string;
1242
- fontstyle: string;
1243
- fontunit: string;
1244
- fontvariant: string;
1245
- fontweight: string;
1246
- height: string;
1247
- horizontalalign: string;
1248
- lineheight: string;
1249
- margin: string;
1250
- marginbottom: string;
1251
- marginleft: string;
1252
- marginright: string;
1253
- margintop: string;
1254
- opacity: string;
1255
- overflow: string;
1256
- padding: string;
1257
- paddingbottom: string;
1258
- paddingleft: string;
1259
- paddingright: string;
1260
- paddingtop: string;
1261
- picturesource: string;
1262
- textalign: string;
1263
- textdecoration: string;
1264
- verticalalign: string;
1265
- visibility: string;
1266
- whitespace: string;
1267
- width: string;
1268
- wordbreak: string;
1269
- zindex: string;
1212
+ export declare const propNameCSSKeyMap: {
1213
+ backgroundattachment: string;
1214
+ backgroundcolor: string;
1215
+ backgroundgradient: string;
1216
+ backgroundimage: string;
1217
+ backgroundposition: string;
1218
+ backgroundrepeat: string;
1219
+ backgroundsize: string;
1220
+ bordercolor: string;
1221
+ borderradius: string;
1222
+ borderstyle: string;
1223
+ borderwidth: string;
1224
+ borderbottomwidth: string;
1225
+ borderleftwidth: string;
1226
+ borderrightwidth: string;
1227
+ bordertopwidth: string;
1228
+ color: string;
1229
+ cursor: string;
1230
+ display: string;
1231
+ fontsize: string;
1232
+ fontfamily: string;
1233
+ fontstyle: string;
1234
+ fontunit: string;
1235
+ fontvariant: string;
1236
+ fontweight: string;
1237
+ height: string;
1238
+ horizontalalign: string;
1239
+ lineheight: string;
1240
+ margin: string;
1241
+ marginbottom: string;
1242
+ marginleft: string;
1243
+ marginright: string;
1244
+ margintop: string;
1245
+ opacity: string;
1246
+ overflow: string;
1247
+ padding: string;
1248
+ paddingbottom: string;
1249
+ paddingleft: string;
1250
+ paddingright: string;
1251
+ paddingtop: string;
1252
+ picturesource: string;
1253
+ textalign: string;
1254
+ textdecoration: string;
1255
+ verticalalign: string;
1256
+ visibility: string;
1257
+ whitespace: string;
1258
+ width: string;
1259
+ wordbreak: string;
1260
+ zindex: string;
1270
1261
  };
1271
- declare const isStyle: (key: any) => boolean;
1272
- declare function styler($node: HTMLElement, component: StylableComponent, type?: APPLY_STYLES_TYPE, skipList?: Array<string>): void;
1273
-
1274
- declare const widgetIdGenerator: IDGenerator;
1275
-
1276
- declare const getWidgetPropsByType: (identifier: string) => Map<string, any>;
1277
- declare const register: (identifier: string, props: Map<string, any>) => void;
1278
- declare const registerFormWidget: (identifier: string, props: Map<string, any>) => void;
1279
- declare enum PROP_TYPE {
1280
- BOOLEAN = 1,
1281
- NUMBER = 2,
1282
- STRING = 3
1262
+ export declare const isStyle: (key: any) => boolean;
1263
+ export declare function styler($node: HTMLElement, component: StylableComponent, type?: APPLY_STYLES_TYPE, skipList?: Array<string>): void;
1264
+ export declare const widgetIdGenerator: IDGenerator;
1265
+ export declare const getWidgetPropsByType: (identifier: string) => Map<string, any>;
1266
+ export declare const register: (identifier: string, props: Map<string, any>) => void;
1267
+ export declare const registerFormWidget: (identifier: string, props: Map<string, any>) => void;
1268
+ export declare enum PROP_TYPE {
1269
+ BOOLEAN = 1,
1270
+ NUMBER = 2,
1271
+ STRING = 3
1283
1272
  }
1284
- declare const PROP_STRING: any;
1285
- declare const PROP_NUMBER: any;
1286
- declare const PROP_BOOLEAN: any;
1287
- declare const PROP_ANY: any;
1288
-
1289
- declare class DialogServiceImpl {
1290
- /**
1291
- * map which contains the references to all dialogs by name
1292
- * @type {Map<any, any>}
1293
- * Ex Map[[dialogName, [[dialogScope, dialogRef]]]]
1294
- */
1295
- private readonly dialogRefsCollection;
1296
- private appConfirmDialog;
1297
- constructor();
1298
- /**
1299
- * Register dialog by name and scope
1300
- * @param {string} name
1301
- * @param {BaseDialog} dialogRef
1302
- * @param {scope}
1303
- */
1304
- register(name: string, dialogRef: any, scope: any): void;
1305
- getDialogRefsCollection(): Map<any, any>;
1306
- /**
1307
- * De Register dialog by name and scope
1308
- * @param name
1309
- * @param dialogRef
1310
- * @param scope
1311
- */
1312
- deRegister(name: string, scope: any): void;
1313
- private getDialogRef;
1314
- /**
1315
- * Opens the dialog with the given name
1316
- * @param {string} name
1317
- */
1318
- open(name: string, scope?: any, initState?: any): void;
1319
- /**
1320
- * closes the dialog with the given name
1321
- * @param {string} name
1322
- */
1323
- close(name: string, scope?: any, callBackFn?: any): void;
1324
- /**
1325
- * closes all the opened dialogs
1326
- */
1327
- closeAllDialogs(): void;
1328
- showAppConfirmDialog(initState?: any): void;
1329
- closeAppConfirmDialog(): void;
1330
- getAppConfirmDialog(): string;
1331
- setAppConfirmDialog(dialogName: string): void;
1332
- addToOpenedDialogs(ref: any): void;
1333
- getLastOpenedDialog(): any;
1334
- removeFromOpenedDialogs(ref: any): void;
1335
- getOpenedDialogs(): any[];
1336
- addToClosedDialogs(ref: any): void;
1337
- removeFromClosedDialogs(ref: any): void;
1338
- getDialogRefFromClosedDialogs(): any;
1339
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogServiceImpl, never>;
1340
- static ɵprov: i0.ɵɵInjectableDeclaration<DialogServiceImpl>;
1273
+ export declare const PROP_STRING: any;
1274
+ export declare const PROP_NUMBER: any;
1275
+ export declare const PROP_BOOLEAN: any;
1276
+ export declare const PROP_ANY: any;
1277
+ export declare class DialogServiceImpl {
1278
+ /**
1279
+ * map which contains the references to all dialogs by name
1280
+ * @type {Map<any, any>}
1281
+ * Ex Map[[dialogName, [[dialogScope, dialogRef]]]]
1282
+ */
1283
+ private readonly dialogRefsCollection;
1284
+ private appConfirmDialog;
1285
+ constructor();
1286
+ /**
1287
+ * Register dialog by name and scope
1288
+ * @param {string} name
1289
+ * @param {BaseDialog} dialogRef
1290
+ * @param {scope}
1291
+ */
1292
+ register(name: string, dialogRef: any, scope: any): void;
1293
+ getDialogRefsCollection(): Map<any, any>;
1294
+ /**
1295
+ * De Register dialog by name and scope
1296
+ * @param name
1297
+ * @param dialogRef
1298
+ * @param scope
1299
+ */
1300
+ deRegister(name: string, scope: any): void;
1301
+ private getDialogRef;
1302
+ /**
1303
+ * Opens the dialog with the given name
1304
+ * @param {string} name
1305
+ */
1306
+ open(name: string, scope?: any, initState?: any): void;
1307
+ /**
1308
+ * closes the dialog with the given name
1309
+ * @param {string} name
1310
+ */
1311
+ close(name: string, scope?: any, callBackFn?: any): void;
1312
+ /**
1313
+ * closes all the opened dialogs
1314
+ */
1315
+ closeAllDialogs(): void;
1316
+ showAppConfirmDialog(initState?: any): void;
1317
+ closeAppConfirmDialog(): void;
1318
+ getAppConfirmDialog(): string;
1319
+ setAppConfirmDialog(dialogName: string): void;
1320
+ addToOpenedDialogs(ref: any): void;
1321
+ getLastOpenedDialog(): any;
1322
+ removeFromOpenedDialogs(ref: any): void;
1323
+ getOpenedDialogs(): any[];
1324
+ addToClosedDialogs(ref: any): void;
1325
+ removeFromClosedDialogs(ref: any): void;
1326
+ getDialogRefFromClosedDialogs(): any;
1327
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogServiceImpl, never>;
1328
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1341
1329
  }
1342
-
1343
- declare class TrustAsPipe implements PipeTransform {
1344
- private readonly domSanitizer;
1345
- constructor(domSanitizer: DomSanitizer);
1346
- transform(content: string, context: string | SecurityContext): _angular_platform_browser.SafeHtml;
1347
- static ɵfac: i0.ɵɵFactoryDeclaration<TrustAsPipe, never>;
1348
- static ɵpipe: i0.ɵɵPipeDeclaration<TrustAsPipe, "trustAs", true>;
1330
+ export declare class TrustAsPipe implements PipeTransform {
1331
+ private readonly domSanitizer;
1332
+ constructor(domSanitizer: DomSanitizer);
1333
+ transform(content: string, context: string | SecurityContext): import("@angular/platform-browser").SafeHtml;
1334
+ static ɵfac: i0.ɵɵFactoryDeclaration<TrustAsPipe, never>;
1335
+ static ɵpipe: i0.ɵɵPipeDeclaration<TrustAsPipe, "trustAs", true>;
1349
1336
  }
1350
-
1351
- declare class SanitizePipe implements PipeTransform {
1352
- private readonly domSanitizer;
1353
- constructor(domSanitizer: DomSanitizer);
1354
- transform(content: string | SafeValue, context: string | SecurityContext): string;
1355
- static ɵfac: i0.ɵɵFactoryDeclaration<SanitizePipe, never>;
1356
- static ɵpipe: i0.ɵɵPipeDeclaration<SanitizePipe, "sanitize", true>;
1337
+ export declare class SanitizePipe implements PipeTransform {
1338
+ private readonly domSanitizer;
1339
+ constructor(domSanitizer: DomSanitizer);
1340
+ transform(content: string | SafeValue, context: string | SecurityContext): string;
1341
+ static ɵfac: i0.ɵɵFactoryDeclaration<SanitizePipe, never>;
1342
+ static ɵpipe: i0.ɵɵPipeDeclaration<SanitizePipe, "sanitize", true>;
1357
1343
  }
1358
-
1359
- declare class ImagePipe implements PipeTransform {
1360
- transform(url: string, encode?: boolean, defaultImageUrl?: string): any;
1361
- static ɵfac: i0.ɵɵFactoryDeclaration<ImagePipe, never>;
1362
- static ɵpipe: i0.ɵɵPipeDeclaration<ImagePipe, "image", true>;
1344
+ export declare class ImagePipe implements PipeTransform {
1345
+ transform(url: string, encode?: boolean, defaultImageUrl?: string): any;
1346
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImagePipe, never>;
1347
+ static ɵpipe: i0.ɵɵPipeDeclaration<ImagePipe, "image", true>;
1363
1348
  }
1364
-
1365
- declare class ContainerDirective extends BaseContainerComponent {
1366
- app?: App;
1367
- static readonly initializeProps: void;
1368
- isPrism: boolean;
1369
- constructor(inj: Injector, explicitContext?: any, app?: App);
1370
- static ɵfac: i0.ɵɵFactoryDeclaration<ContainerDirective, [null, { optional: true; }, null]>;
1371
- static ɵdir: i0.ɵɵDirectiveDeclaration<ContainerDirective, "[wmContainer]", never, {}, {}, never, never, true, never>;
1349
+ export declare class ContainerDirective extends BaseContainerComponent {
1350
+ app?: App;
1351
+ static readonly initializeProps: void;
1352
+ isPrism: boolean;
1353
+ constructor(inj: Injector, explicitContext?: any, app?: App);
1354
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContainerDirective, [null, {
1355
+ optional: true;
1356
+ }, null]>;
1357
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ContainerDirective, "[wmContainer]", never, {}, {}, never, never, true, never>;
1372
1358
  }
1373
-
1374
- declare class LazyLoadDirective implements OnDestroy {
1375
- private readonly templateRef;
1376
- private readonly viewContainer;
1377
- private readonly viewParent;
1378
- private context;
1379
- private embeddedView;
1380
- private unSubscribeFn;
1381
- constructor(inj: Injector, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, explicitContext?: any);
1382
- set lazyLoad(expr: any);
1383
- ngOnDestroy(): void;
1384
- static ɵfac: i0.ɵɵFactoryDeclaration<LazyLoadDirective, [null, null, null, { optional: true; }]>;
1385
- static ɵdir: i0.ɵɵDirectiveDeclaration<LazyLoadDirective, "[lazyLoad]", never, { "lazyLoad": { "alias": "lazyLoad"; "required": false; }; }, {}, never, never, true, never>;
1359
+ export declare class LazyLoadDirective implements OnDestroy {
1360
+ private readonly templateRef;
1361
+ private readonly viewContainer;
1362
+ private readonly viewParent;
1363
+ private context;
1364
+ private embeddedView;
1365
+ private unSubscribeFn;
1366
+ constructor(inj: Injector, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, explicitContext?: any);
1367
+ set lazyLoad(expr: any);
1368
+ ngOnDestroy(): void;
1369
+ static ɵfac: i0.ɵɵFactoryDeclaration<LazyLoadDirective, [null, null, null, {
1370
+ optional: true;
1371
+ }]>;
1372
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LazyLoadDirective, "[lazyLoad]", never, {
1373
+ "lazyLoad": {
1374
+ "alias": "lazyLoad";
1375
+ "required": false;
1376
+ };
1377
+ }, {}, never, never, true, never>;
1386
1378
  }
1387
-
1388
- declare class PartialParamHandlerDirective implements OnDestroy {
1389
- private readonly widgetRef;
1390
- constructor(widgetRef: any);
1391
- registerParams(name: string, value: string, bindExpr: string, type: string): void;
1392
- ngOnDestroy(): void;
1393
- static ɵfac: i0.ɵɵFactoryDeclaration<PartialParamHandlerDirective, [{ self: true; }]>;
1394
- static ɵdir: i0.ɵɵDirectiveDeclaration<PartialParamHandlerDirective, "[partialContainer]", never, {}, {}, never, never, true, never>;
1379
+ export declare class PartialParamHandlerDirective implements OnDestroy {
1380
+ private readonly widgetRef;
1381
+ constructor(widgetRef: any);
1382
+ registerParams(name: string, value: string, bindExpr: string, type: string): void;
1383
+ ngOnDestroy(): void;
1384
+ static ɵfac: i0.ɵɵFactoryDeclaration<PartialParamHandlerDirective, [{
1385
+ self: true;
1386
+ }]>;
1387
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PartialParamHandlerDirective, "[partialContainer]", never, {}, {}, never, never, true, never>;
1395
1388
  }
1396
- declare class PartialParamDirective implements OnInit {
1397
- bindValue: any;
1398
- type: any;
1399
- private readonly partialParamsProvider;
1400
- name: string;
1401
- value: any;
1402
- constructor(bindValue: any, type: any, partialParamsProvider: PartialParamHandlerDirective);
1403
- ngOnInit(): void;
1404
- static ɵfac: i0.ɵɵFactoryDeclaration<PartialParamDirective, [{ attribute: "value.bind"; }, { attribute: "type"; }, null]>;
1405
- static ɵdir: i0.ɵɵDirectiveDeclaration<PartialParamDirective, "[wmParam]", never, { "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
1389
+ export declare class PartialParamDirective implements OnInit {
1390
+ bindValue: any;
1391
+ type: any;
1392
+ private readonly partialParamsProvider;
1393
+ name: string;
1394
+ value: any;
1395
+ constructor(bindValue: any, type: any, partialParamsProvider: PartialParamHandlerDirective);
1396
+ ngOnInit(): void;
1397
+ static ɵfac: i0.ɵɵFactoryDeclaration<PartialParamDirective, [{
1398
+ attribute: "value.bind";
1399
+ }, {
1400
+ attribute: "type";
1401
+ }, null]>;
1402
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PartialParamDirective, "[wmParam]", never, {
1403
+ "name": {
1404
+ "alias": "name";
1405
+ "required": false;
1406
+ };
1407
+ "value": {
1408
+ "alias": "value";
1409
+ "required": false;
1410
+ };
1411
+ }, {}, never, never, true, never>;
1406
1412
  }
1407
-
1408
- declare class TextContentDirective {
1409
- private readonly elRef;
1410
- set textContent(nv: any);
1411
- constructor(elRef: ElementRef);
1412
- static ɵfac: i0.ɵɵFactoryDeclaration<TextContentDirective, never>;
1413
- static ɵdir: i0.ɵɵDirectiveDeclaration<TextContentDirective, "[textContent]", never, { "textContent": { "alias": "textContent"; "required": false; }; }, {}, never, never, true, never>;
1413
+ export declare class TextContentDirective {
1414
+ private readonly elRef;
1415
+ set textContent(nv: any);
1416
+ constructor(elRef: ElementRef);
1417
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextContentDirective, never>;
1418
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TextContentDirective, "[textContent]", never, {
1419
+ "textContent": {
1420
+ "alias": "textContent";
1421
+ "required": false;
1422
+ };
1423
+ }, {}, never, never, true, never>;
1414
1424
  }
1415
-
1416
- declare class ShowInDeviceDirective implements OnDestroy {
1417
- private readonly viewContainerRef;
1418
- private readonly templateRef;
1419
- private context;
1420
- private devices;
1421
- private embeddedView;
1422
- private boundOnResize;
1423
- constructor(viewContainerRef: ViewContainerRef, inj: Injector, templateRef: TemplateRef<any>, explicitContext: any);
1424
- set wmShowInDevice(devices: any);
1425
- private onResize;
1426
- ngOnDestroy(): void;
1427
- static ɵfac: i0.ɵɵFactoryDeclaration<ShowInDeviceDirective, [null, null, null, { optional: true; }]>;
1428
- static ɵdir: i0.ɵɵDirectiveDeclaration<ShowInDeviceDirective, "[wmShowInDevice]", never, { "wmShowInDevice": { "alias": "wmShowInDevice"; "required": false; }; }, {}, never, never, true, never>;
1425
+ export declare class ShowInDeviceDirective implements OnDestroy {
1426
+ private readonly viewContainerRef;
1427
+ private readonly templateRef;
1428
+ private context;
1429
+ private devices;
1430
+ private embeddedView;
1431
+ private boundOnResize;
1432
+ constructor(viewContainerRef: ViewContainerRef, inj: Injector, templateRef: TemplateRef<any>, explicitContext: any);
1433
+ set wmShowInDevice(devices: any);
1434
+ private onResize;
1435
+ ngOnDestroy(): void;
1436
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowInDeviceDirective, [null, null, null, {
1437
+ optional: true;
1438
+ }]>;
1439
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ShowInDeviceDirective, "[wmShowInDevice]", never, {
1440
+ "wmShowInDevice": {
1441
+ "alias": "wmShowInDevice";
1442
+ "required": false;
1443
+ };
1444
+ }, {}, never, never, true, never>;
1429
1445
  }
1430
-
1431
- declare function isSvgIconUrl(url: string | null | undefined): boolean;
1446
+ export declare function isSvgIconUrl(url: string | null | undefined): boolean;
1432
1447
  /**
1433
1448
  * Renders the SVG fetched from `iconUrl` inline on the host element so the
1434
1449
  * markup behaves like a font icon - it can be sized via `font-size`, supports
@@ -1450,39 +1465,43 @@ declare function isSvgIconUrl(url: string | null | undefined): boolean;
1450
1465
  * via the host's CSS `color`, author the source with `fill="currentColor"`
1451
1466
  * (the convention used by Material Icons, Heroicons, Font Awesome, etc.).
1452
1467
  */
1453
- declare class SvgIconDirective implements OnChanges, OnDestroy {
1454
- iconUrl: string;
1455
- /**
1456
- * Bound to the host's `innerHTML`. Set to a `SafeHtml` value produced by
1457
- * `DomSanitizer.bypassSecurityTrustHtml` so Angular's renderer skips
1458
- * re-sanitization and inlines the SVG as-is.
1459
- */
1460
- hostInnerHtml: SafeHtml | null;
1461
- private readonly http;
1462
- private readonly sanitizer;
1463
- private readonly imagePipe;
1464
- private sub?;
1465
- private lastResolvedUrl;
1466
- ngOnChanges(changes: SimpleChanges): void;
1467
- ngOnDestroy(): void;
1468
- private loadSvg;
1469
- private applySvg;
1470
- private cancelInflight;
1471
- /**
1472
- * Make the fetched SVG behave like a font icon:
1473
- * - replace any non-"none" fill/stroke attributes (single- or
1474
- * double-quoted) with currentColor so CSS `color` controls the icon
1475
- * - replace any non-"none" inline `fill:` / `stroke:` style values with
1476
- * currentColor
1477
- * - on the root <svg> tag, add `width="1em"`, `height="1em"`, and a
1478
- * default `fill="currentColor"` if missing so the icon scales with
1479
- * the host element's `font-size`
1480
- */
1481
- private normalizeSvg;
1482
- static ɵfac: i0.ɵɵFactoryDeclaration<SvgIconDirective, never>;
1483
- static ɵdir: i0.ɵɵDirectiveDeclaration<SvgIconDirective, "[iconUrl]", ["svgIcon"], { "iconUrl": { "alias": "iconUrl"; "required": false; }; }, {}, never, never, true, never>;
1468
+ export declare class SvgIconDirective implements OnChanges, OnDestroy {
1469
+ iconUrl: string;
1470
+ /**
1471
+ * Bound to the host's `innerHTML`. Set to a `SafeHtml` value produced by
1472
+ * `DomSanitizer.bypassSecurityTrustHtml` so Angular's renderer skips
1473
+ * re-sanitization and inlines the SVG as-is.
1474
+ */
1475
+ hostInnerHtml: SafeHtml | null;
1476
+ private readonly http;
1477
+ private readonly sanitizer;
1478
+ private readonly imagePipe;
1479
+ private sub?;
1480
+ private lastResolvedUrl;
1481
+ ngOnChanges(changes: SimpleChanges): void;
1482
+ ngOnDestroy(): void;
1483
+ private loadSvg;
1484
+ private applySvg;
1485
+ private cancelInflight;
1486
+ /**
1487
+ * Make the fetched SVG behave like a font icon:
1488
+ * - replace any non-"none" fill/stroke attributes (single- or
1489
+ * double-quoted) with currentColor so CSS `color` controls the icon
1490
+ * - replace any non-"none" inline `fill:` / `stroke:` style values with
1491
+ * currentColor
1492
+ * - on the root <svg> tag, add `width="1em"`, `height="1em"`, and a
1493
+ * default `fill="currentColor"` if missing so the icon scales with
1494
+ * the host element's `font-size`
1495
+ */
1496
+ private normalizeSvg;
1497
+ static ɵfac: i0.ɵɵFactoryDeclaration<SvgIconDirective, never>;
1498
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SvgIconDirective, "[iconUrl]", ["svgIcon"], {
1499
+ "iconUrl": {
1500
+ "alias": "iconUrl";
1501
+ "required": false;
1502
+ };
1503
+ }, {}, never, never, true, never>;
1484
1504
  }
1485
-
1486
1505
  /**
1487
1506
  * Single, reusable renderer for the SVG / image / font 3-way icon branch
1488
1507
  * that used to be duplicated across every widget that accepts an
@@ -1506,41 +1525,66 @@ declare class SvgIconDirective implements OnChanges, OnDestroy {
1506
1525
  * `.app-icon` directly inside the parent (e.g. `.btn .app-icon`) keep
1507
1526
  * working - the wrapper element is layout-transparent.
1508
1527
  */
1509
- declare class WmAppIconComponent {
1510
- icon: string | null | undefined;
1511
- /** Font-icon CSS class (e.g. `wi wi-user`). Lowest priority. */
1512
- iconclass: string | null | undefined;
1513
- /** Icon URL. `.svg` -> inline SVG, anything else -> `<img>`. Wins over `iconclass`. */
1514
- iconurl: string | null | undefined;
1515
- /** Fallback font-icon class used when both `iconclass` and `iconurl` are empty. */
1516
- defaultIconClass: string | null | undefined;
1517
- /** Extra classes appended to the rendered icon element on every branch (e.g. `'panel-icon'`). */
1518
- defaultClasses: string | string[] | null | undefined;
1519
- /** Forwarded to `ngStyle` on the rendered icon element. */
1520
- iconStyle: {
1521
- [k: string]: any;
1522
- } | null | undefined;
1523
- /** `alt` text for the `<img>` branch. */
1524
- alt: string | null | undefined;
1525
- get _effectiveIconurl(): string | null | undefined;
1526
- get _effectiveIconclass(): string | null | undefined;
1527
- get _isSvg(): boolean;
1528
- get _isImage(): boolean;
1529
- get _fontClass(): string;
1530
- private _extras;
1531
- get _svgClasses(): string[];
1532
- get _imageClasses(): string[];
1533
- get _fontClasses(): string[];
1534
- static ɵfac: i0.ɵɵFactoryDeclaration<WmAppIconComponent, never>;
1535
- static ɵcmp: i0.ɵɵComponentDeclaration<WmAppIconComponent, "wm-app-icon", never, { "icon": { "alias": "icon"; "required": false; }; "iconclass": { "alias": "iconclass"; "required": false; }; "iconurl": { "alias": "iconurl"; "required": false; }; "defaultIconClass": { "alias": "defaultIconClass"; "required": false; }; "defaultClasses": { "alias": "defaultClasses"; "required": false; }; "iconStyle": { "alias": "iconStyle"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; }, {}, never, never, true, never>;
1528
+ export declare class WmAppIconComponent {
1529
+ icon: string | null | undefined;
1530
+ /** Font-icon CSS class (e.g. `wi wi-user`). Lowest priority. */
1531
+ iconclass: string | null | undefined;
1532
+ /** Icon URL. `.svg` -> inline SVG, anything else -> `<img>`. Wins over `iconclass`. */
1533
+ iconurl: string | null | undefined;
1534
+ /** Fallback font-icon class used when both `iconclass` and `iconurl` are empty. */
1535
+ defaultIconClass: string | null | undefined;
1536
+ /** Extra classes appended to the rendered icon element on every branch (e.g. `'panel-icon'`). */
1537
+ defaultClasses: string | string[] | null | undefined;
1538
+ /** Forwarded to `ngStyle` on the rendered icon element. */
1539
+ iconStyle: {
1540
+ [k: string]: any;
1541
+ } | null | undefined;
1542
+ /** `alt` text for the `<img>` branch. */
1543
+ alt: string | null | undefined;
1544
+ get _effectiveIconurl(): string | null | undefined;
1545
+ get _effectiveIconclass(): string | null | undefined;
1546
+ get _isSvg(): boolean;
1547
+ get _isImage(): boolean;
1548
+ get _fontClass(): string;
1549
+ private _extras;
1550
+ get _svgClasses(): string[];
1551
+ get _imageClasses(): string[];
1552
+ get _fontClasses(): string[];
1553
+ static ɵfac: i0.ɵɵFactoryDeclaration<WmAppIconComponent, never>;
1554
+ static ɵcmp: i0.ɵɵComponentDeclaration<WmAppIconComponent, "wm-app-icon", never, {
1555
+ "icon": {
1556
+ "alias": "icon";
1557
+ "required": false;
1558
+ };
1559
+ "iconclass": {
1560
+ "alias": "iconclass";
1561
+ "required": false;
1562
+ };
1563
+ "iconurl": {
1564
+ "alias": "iconurl";
1565
+ "required": false;
1566
+ };
1567
+ "defaultIconClass": {
1568
+ "alias": "defaultIconClass";
1569
+ "required": false;
1570
+ };
1571
+ "defaultClasses": {
1572
+ "alias": "defaultClasses";
1573
+ "required": false;
1574
+ };
1575
+ "iconStyle": {
1576
+ "alias": "iconStyle";
1577
+ "required": false;
1578
+ };
1579
+ "alt": {
1580
+ "alias": "alt";
1581
+ "required": false;
1582
+ };
1583
+ }, {}, never, never, true, never>;
1536
1584
  }
1537
-
1538
- declare function AutoLayout(options?: {
1539
- targetSelector?: string;
1540
- bindParent?: string;
1585
+ export declare function AutoLayout(options?: {
1586
+ targetSelector?: string;
1587
+ bindParent?: string;
1541
1588
  }): (constructor: Function) => void;
1542
-
1543
- declare const AUTO_LAYOUT_PROPS: Map<string, any>;
1544
-
1545
- export { ALLFIELDS, APPLY_STYLES_TYPE, AUTOCLOSE_TYPE, AUTO_LAYOUT_PROPS, AutoLayout, BaseComponent, BaseContainerComponent, BaseFieldValidations, ContainerDirective, Context, CustomPipe, CustomWidgetContainerDirective, DEBOUNCE_TIMES, DISPLAY_TYPE, DataSetItem, DatasetAwareNavComponent, DialogRef, DialogServiceImpl, EDIT_MODE, EVENTS_MAP, FileExtensionFromMimePipe, FileIconClassPipe, FileSizePipe, FilterPipe, INPUTMODE, ImagePipe, ItemTemplateDirective, LIVE_CONSTANTS, LazyLoadDirective, Live_Operations, MessageComponent, NAVIGATION_TYPE, NumberToStringPipe, PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, PROP_TYPE, PartialContainerDirective, PartialDirective, PartialParamDirective, PartialParamHandlerDirective, PrefixPipe, PullToRefresh, RedrawableDirective, RepeatTemplateDirective, SanitizePipe, ShowInDeviceDirective, StateClassPipe, StringToNumberPipe, StylableComponent, SuffixPipe, SvgIconDirective, TemplateReplacePipe, TextContentDirective, TimeFromNowPipe, ToCurrencyPipe, ToDatePipe, ToNumberPipe, TrailingZeroDecimalPipe, TrustAsPipe, WidgetConfig, WidgetRef, WmAppIconComponent, applyFilterOnField, configureDnD, convertDataToObject, createArrayFrom, extractDataAsArray, extractDataSourceName, fetchDistinctValues, fetchRelatedFieldData, filterDate, getBackGroundImageUrl, getConditionalClasses, getContainerTargetClass, getCurrentWidgets, getDataTableFilterWidget, getDefaultValue, getDefaultViewModeWidget, getDistinctFieldProperties, getDistinctValues, getDistinctValuesForField, getEditModeWidget, getEmptyMatchMode, getEnableEmptyFilter, getEvaluatedData, getFieldLayoutConfig, getFieldTypeWidgetTypesMap, getImageUrl, getKeyboardFocusableElements, getMatchModeMsgs, getMatchModeTypesMap, getObjValueByKey, getOrderByExpr, getOrderedDataset, getRangeFieldValue, getRangeMatchMode, getRowOperationsColumn, getUniqObjsByDataField, getWatchIdentifier, getWidgetPropsByType, groupData, handleHeaderClick, hasLinkToCurrentPage, interpolateBindExpressions, isActiveNavItem, isBooleanAttr, isDataSetWidget, isDimensionProp, isStyle, isSvgIconUrl, parseValueByType, performDataOperation, prepareFieldDefs, propNameCSSKeyMap, provideAs, provideAsDialogRef, provideAsWidgetRef, refreshDataSource, register, registerFormWidget, setFocusTrap, setHeaderConfig, setHeaderConfigForTable, setItemByCompare, styler, toggleAllHeaders, transformData, transformDataWithKeys, transformFormData, unsupportedStatePersistenceTypes, updateDeviceView, widgetIdGenerator };
1546
- export type { ChangeListener, IDialog, IRedrawableComponent, IWidgetConfig, NavNode };
1589
+ export declare const AUTO_LAYOUT_PROPS: Map<string, any>;
1590
+ export {};