@wavemaker/app-rn-runtime 11.15.1-rc.6451 → 11.15.2-dev.2

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 (1259) hide show
  1. package/actions/base-action.d.ts +8 -0
  2. package/actions/base-action.d.ts.map +1 -0
  3. package/actions/index.d.ts +6 -0
  4. package/actions/index.d.ts.map +1 -0
  5. package/actions/login-action.d.ts +12 -0
  6. package/actions/login-action.d.ts.map +1 -0
  7. package/actions/logout-action.d.ts +11 -0
  8. package/actions/logout-action.d.ts.map +1 -0
  9. package/actions/navigation-action.d.ts +13 -0
  10. package/actions/navigation-action.d.ts.map +1 -0
  11. package/actions/notification-action.d.ts +20 -0
  12. package/actions/notification-action.d.ts.map +1 -0
  13. package/actions/notification-action.js +0 -1
  14. package/actions/notification-action.js.map +1 -1
  15. package/actions/timer-action.d.ts +20 -0
  16. package/actions/timer-action.d.ts.map +1 -0
  17. package/components/advanced/carousel/carousel-content/carousel-content.component.d.ts +11 -0
  18. package/components/advanced/carousel/carousel-content/carousel-content.component.d.ts.map +1 -0
  19. package/components/advanced/carousel/carousel-content/carousel-content.props.d.ts +5 -0
  20. package/components/advanced/carousel/carousel-content/carousel-content.props.d.ts.map +1 -0
  21. package/components/advanced/carousel/carousel-content/carousel-content.styles.d.ts +4 -0
  22. package/components/advanced/carousel/carousel-content/carousel-content.styles.d.ts.map +1 -0
  23. package/components/advanced/carousel/carousel-template/carousel-template.component.d.ts +11 -0
  24. package/components/advanced/carousel/carousel-template/carousel-template.component.d.ts.map +1 -0
  25. package/components/advanced/carousel/carousel-template/carousel-template.props.d.ts +5 -0
  26. package/components/advanced/carousel/carousel-template/carousel-template.props.d.ts.map +1 -0
  27. package/components/advanced/carousel/carousel-template/carousel-template.props.js.map +1 -1
  28. package/components/advanced/carousel/carousel-template/carousel-template.styles.d.ts +4 -0
  29. package/components/advanced/carousel/carousel-template/carousel-template.styles.d.ts.map +1 -0
  30. package/components/advanced/carousel/carousel.component.d.ts +36 -0
  31. package/components/advanced/carousel/carousel.component.d.ts.map +1 -0
  32. package/components/advanced/carousel/carousel.component.js +3 -3
  33. package/components/advanced/carousel/carousel.component.js.map +1 -1
  34. package/components/advanced/carousel/carousel.props.d.ts +19 -0
  35. package/components/advanced/carousel/carousel.props.d.ts.map +1 -0
  36. package/components/advanced/carousel/carousel.props.js.map +1 -1
  37. package/components/advanced/carousel/carousel.styles.d.ts +21 -0
  38. package/components/advanced/carousel/carousel.styles.d.ts.map +1 -0
  39. package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.d.ts +11 -0
  40. package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.d.ts.map +1 -0
  41. package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.d.ts +5 -0
  42. package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.d.ts.map +1 -0
  43. package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js.map +1 -1
  44. package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.d.ts +7 -0
  45. package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.d.ts.map +1 -0
  46. package/components/advanced/login/login.component.d.ts +16 -0
  47. package/components/advanced/login/login.component.d.ts.map +1 -0
  48. package/components/advanced/login/login.component.js +2 -1
  49. package/components/advanced/login/login.component.js.map +1 -1
  50. package/components/advanced/login/login.props.d.ts +7 -0
  51. package/components/advanced/login/login.props.d.ts.map +1 -0
  52. package/components/advanced/login/login.props.js.map +1 -1
  53. package/components/advanced/login/login.styles.d.ts +8 -0
  54. package/components/advanced/login/login.styles.d.ts.map +1 -0
  55. package/components/advanced/network-info-toaster/network-info-toaster.component.d.ts +18 -0
  56. package/components/advanced/network-info-toaster/network-info-toaster.component.d.ts.map +1 -0
  57. package/components/advanced/network-info-toaster/network-info-toaster.props.d.ts +5 -0
  58. package/components/advanced/network-info-toaster/network-info-toaster.props.d.ts.map +1 -0
  59. package/components/advanced/network-info-toaster/network-info-toaster.styles.d.ts +9 -0
  60. package/components/advanced/network-info-toaster/network-info-toaster.styles.d.ts.map +1 -0
  61. package/components/advanced/webview/webview.component.d.ts +31 -0
  62. package/components/advanced/webview/webview.component.d.ts.map +1 -0
  63. package/components/advanced/webview/webview.props.d.ts +12 -0
  64. package/components/advanced/webview/webview.props.d.ts.map +1 -0
  65. package/components/advanced/webview/webview.styles.d.ts +8 -0
  66. package/components/advanced/webview/webview.styles.d.ts.map +1 -0
  67. package/components/basic/anchor/anchor.component.d.ts +16 -0
  68. package/components/basic/anchor/anchor.component.d.ts.map +1 -0
  69. package/components/basic/anchor/anchor.props.d.ts +31 -0
  70. package/components/basic/anchor/anchor.props.d.ts.map +1 -0
  71. package/components/basic/anchor/anchor.props.js +16 -14
  72. package/components/basic/anchor/anchor.props.js.map +1 -1
  73. package/components/basic/anchor/anchor.styles.d.ts +12 -0
  74. package/components/basic/anchor/anchor.styles.d.ts.map +1 -0
  75. package/components/basic/animatedview.component.d.ts +22 -0
  76. package/components/basic/animatedview.component.d.ts.map +1 -0
  77. package/components/basic/audio/audio.component.d.ts +37 -0
  78. package/components/basic/audio/audio.component.d.ts.map +1 -0
  79. package/components/basic/audio/audio.props.d.ts +13 -0
  80. package/components/basic/audio/audio.props.d.ts.map +1 -0
  81. package/components/basic/audio/audio.props.js +3 -0
  82. package/components/basic/audio/audio.props.js.map +1 -1
  83. package/components/basic/audio/audio.styles.d.ts +14 -0
  84. package/components/basic/audio/audio.styles.d.ts.map +1 -0
  85. package/components/basic/bottomsheet/bottomsheet.component.d.ts +72 -0
  86. package/components/basic/bottomsheet/bottomsheet.component.d.ts.map +1 -0
  87. package/components/basic/bottomsheet/bottomsheet.component.js +23 -58
  88. package/components/basic/bottomsheet/bottomsheet.component.js.map +1 -1
  89. package/components/basic/bottomsheet/bottomsheet.props.d.ts +24 -0
  90. package/components/basic/bottomsheet/bottomsheet.props.d.ts.map +1 -0
  91. package/components/basic/bottomsheet/bottomsheet.props.js +6 -3
  92. package/components/basic/bottomsheet/bottomsheet.props.js.map +1 -1
  93. package/components/basic/bottomsheet/bottomsheet.styles.d.ts +17 -0
  94. package/components/basic/bottomsheet/bottomsheet.styles.d.ts.map +1 -0
  95. package/components/basic/button/button.component.d.ts +14 -0
  96. package/components/basic/button/button.component.d.ts.map +1 -0
  97. package/components/basic/button/button.component.js +7 -56
  98. package/components/basic/button/button.component.js.map +1 -1
  99. package/components/basic/button/button.props.d.ts +28 -0
  100. package/components/basic/button/button.props.d.ts.map +1 -0
  101. package/components/basic/button/button.props.js +18 -14
  102. package/components/basic/button/button.props.js.map +1 -1
  103. package/components/basic/button/button.styles.d.ts +12 -0
  104. package/components/basic/button/button.styles.d.ts.map +1 -0
  105. package/components/basic/buttongroup/buttongroup.component.d.ts +12 -0
  106. package/components/basic/buttongroup/buttongroup.component.d.ts.map +1 -0
  107. package/components/basic/buttongroup/buttongroup.props.d.ts +12 -0
  108. package/components/basic/buttongroup/buttongroup.props.d.ts.map +1 -0
  109. package/components/basic/buttongroup/buttongroup.props.js +6 -3
  110. package/components/basic/buttongroup/buttongroup.props.js.map +1 -1
  111. package/components/basic/buttongroup/buttongroup.styles.d.ts +7 -0
  112. package/components/basic/buttongroup/buttongroup.styles.d.ts.map +1 -0
  113. package/components/basic/custom/custom.component.d.ts +12 -0
  114. package/components/basic/custom/custom.component.d.ts.map +1 -0
  115. package/components/basic/custom/custom.component.js.map +1 -1
  116. package/components/basic/custom/custom.props.d.ts +12 -0
  117. package/components/basic/custom/custom.props.d.ts.map +1 -0
  118. package/components/basic/custom/custom.props.js +6 -3
  119. package/components/basic/custom/custom.props.js.map +1 -1
  120. package/components/basic/custom/custom.styles.d.ts +7 -0
  121. package/components/basic/custom/custom.styles.d.ts.map +1 -0
  122. package/components/basic/icon/icon.component.d.ts +38 -0
  123. package/components/basic/icon/icon.component.d.ts.map +1 -0
  124. package/components/basic/icon/icon.props.d.ts +26 -0
  125. package/components/basic/icon/icon.props.d.ts.map +1 -0
  126. package/components/basic/icon/icon.props.js +12 -10
  127. package/components/basic/icon/icon.props.js.map +1 -1
  128. package/components/basic/icon/icon.styles.d.ts +10 -0
  129. package/components/basic/icon/icon.styles.d.ts.map +1 -0
  130. package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.d.ts +9 -0
  131. package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.d.ts.map +1 -0
  132. package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.d.ts +9 -0
  133. package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.d.ts.map +1 -0
  134. package/components/basic/icon/wavicon/wavicon.component.d.ts +9 -0
  135. package/components/basic/icon/wavicon/wavicon.component.d.ts.map +1 -0
  136. package/components/basic/label/label.component.d.ts +30 -0
  137. package/components/basic/label/label.component.d.ts.map +1 -0
  138. package/components/basic/label/label.props.d.ts +26 -0
  139. package/components/basic/label/label.props.d.ts.map +1 -0
  140. package/components/basic/label/label.props.js +12 -10
  141. package/components/basic/label/label.props.js.map +1 -1
  142. package/components/basic/label/label.styles.d.ts +11 -0
  143. package/components/basic/label/label.styles.d.ts.map +1 -0
  144. package/components/basic/lottie/lottie.component.d.ts +23 -0
  145. package/components/basic/lottie/lottie.component.d.ts.map +1 -0
  146. package/components/basic/lottie/lottie.props.d.ts +12 -0
  147. package/components/basic/lottie/lottie.props.d.ts.map +1 -0
  148. package/components/basic/lottie/lottie.props.js +3 -0
  149. package/components/basic/lottie/lottie.props.js.map +1 -1
  150. package/components/basic/lottie/lottie.styles.d.ts +7 -0
  151. package/components/basic/lottie/lottie.styles.d.ts.map +1 -0
  152. package/components/basic/message/message.component.d.ts +14 -0
  153. package/components/basic/message/message.component.d.ts.map +1 -0
  154. package/components/basic/message/message.component.js +1 -1
  155. package/components/basic/message/message.component.js.map +1 -1
  156. package/components/basic/message/message.props.d.ts +22 -0
  157. package/components/basic/message/message.props.d.ts.map +1 -0
  158. package/components/basic/message/message.props.js +6 -4
  159. package/components/basic/message/message.props.js.map +1 -1
  160. package/components/basic/message/message.styles.d.ts +11 -0
  161. package/components/basic/message/message.styles.d.ts.map +1 -0
  162. package/components/basic/modal/modal.component.d.ts +12 -0
  163. package/components/basic/modal/modal.component.d.ts.map +1 -0
  164. package/components/basic/modal/modal.props.d.ts +10 -0
  165. package/components/basic/modal/modal.props.d.ts.map +1 -0
  166. package/components/basic/modal/modal.props.js +4 -1
  167. package/components/basic/modal/modal.props.js.map +1 -1
  168. package/components/basic/modal/modal.styles.d.ts +7 -0
  169. package/components/basic/modal/modal.styles.d.ts.map +1 -0
  170. package/components/basic/picture/picture.component.d.ts +37 -0
  171. package/components/basic/picture/picture.component.d.ts.map +1 -0
  172. package/components/basic/picture/picture.component.js +19 -46
  173. package/components/basic/picture/picture.component.js.map +1 -1
  174. package/components/basic/picture/picture.props.d.ts +24 -0
  175. package/components/basic/picture/picture.props.d.ts.map +1 -0
  176. package/components/basic/picture/picture.props.js +14 -11
  177. package/components/basic/picture/picture.props.js.map +1 -1
  178. package/components/basic/picture/picture.styles.d.ts +9 -0
  179. package/components/basic/picture/picture.styles.d.ts.map +1 -0
  180. package/components/basic/progress-bar/progress-bar.component.d.ts +12 -0
  181. package/components/basic/progress-bar/progress-bar.component.d.ts.map +1 -0
  182. package/components/basic/progress-bar/progress-bar.component.js.map +1 -1
  183. package/components/basic/progress-bar/progress-bar.props.d.ts +18 -0
  184. package/components/basic/progress-bar/progress-bar.props.d.ts.map +1 -0
  185. package/components/basic/progress-bar/progress-bar.props.js +5 -2
  186. package/components/basic/progress-bar/progress-bar.props.js.map +1 -1
  187. package/components/basic/progress-bar/progress-bar.styles.d.ts +11 -0
  188. package/components/basic/progress-bar/progress-bar.styles.d.ts.map +1 -0
  189. package/components/basic/progress-circle/progress-circle.component.d.ts +14 -0
  190. package/components/basic/progress-circle/progress-circle.component.d.ts.map +1 -0
  191. package/components/basic/progress-circle/progress-circle.props.d.ts +18 -0
  192. package/components/basic/progress-circle/progress-circle.props.d.ts.map +1 -0
  193. package/components/basic/progress-circle/progress-circle.props.js +4 -1
  194. package/components/basic/progress-circle/progress-circle.props.js.map +1 -1
  195. package/components/basic/progress-circle/progress-circle.styles.d.ts +9 -0
  196. package/components/basic/progress-circle/progress-circle.styles.d.ts.map +1 -0
  197. package/components/basic/search/local-data-provider.d.ts +12 -0
  198. package/components/basic/search/local-data-provider.d.ts.map +1 -0
  199. package/components/basic/search/search.component.d.ts +58 -0
  200. package/components/basic/search/search.component.d.ts.map +1 -0
  201. package/components/basic/search/search.props.d.ts +38 -0
  202. package/components/basic/search/search.props.d.ts.map +1 -0
  203. package/components/basic/search/search.props.js +8 -7
  204. package/components/basic/search/search.props.js.map +1 -1
  205. package/components/basic/search/search.styles.d.ts +21 -0
  206. package/components/basic/search/search.styles.d.ts.map +1 -0
  207. package/components/basic/skeleton/skeleton.component.d.ts +28 -0
  208. package/components/basic/skeleton/skeleton.component.d.ts.map +1 -0
  209. package/components/basic/skeleton/skeleton.props.d.ts +10 -0
  210. package/components/basic/skeleton/skeleton.props.d.ts.map +1 -0
  211. package/components/basic/skeleton/skeleton.props.js +4 -1
  212. package/components/basic/skeleton/skeleton.props.js.map +1 -1
  213. package/components/basic/skeleton/skeleton.styles.d.ts +11 -0
  214. package/components/basic/skeleton/skeleton.styles.d.ts.map +1 -0
  215. package/components/basic/spinner/spinner.component.d.ts +17 -0
  216. package/components/basic/spinner/spinner.component.d.ts.map +1 -0
  217. package/components/basic/spinner/spinner.props.d.ts +15 -0
  218. package/components/basic/spinner/spinner.props.d.ts.map +1 -0
  219. package/components/basic/spinner/spinner.props.js +6 -3
  220. package/components/basic/spinner/spinner.props.js.map +1 -1
  221. package/components/basic/spinner/spinner.styles.d.ts +11 -0
  222. package/components/basic/spinner/spinner.styles.d.ts.map +1 -0
  223. package/components/basic/tooltip/tooltip.component.d.ts +11 -0
  224. package/components/basic/tooltip/tooltip.component.d.ts.map +1 -0
  225. package/components/basic/tooltip/tooltip.props.d.ts +18 -0
  226. package/components/basic/tooltip/tooltip.props.d.ts.map +1 -0
  227. package/components/basic/tooltip/tooltip.props.js +3 -0
  228. package/components/basic/tooltip/tooltip.props.js.map +1 -1
  229. package/components/basic/tooltip/tooltip.styles.d.ts +8 -0
  230. package/components/basic/tooltip/tooltip.styles.d.ts.map +1 -0
  231. package/components/basic/video/video.component.d.ts +29 -0
  232. package/components/basic/video/video.component.d.ts.map +1 -0
  233. package/components/basic/video/video.component.js.map +1 -1
  234. package/components/basic/video/video.props.d.ts +32 -0
  235. package/components/basic/video/video.props.d.ts.map +1 -0
  236. package/components/basic/video/video.props.js +11 -8
  237. package/components/basic/video/video.props.js.map +1 -1
  238. package/components/basic/video/video.styles.d.ts +9 -0
  239. package/components/basic/video/video.styles.d.ts.map +1 -0
  240. package/components/chart/area-chart/area-chart.component.d.ts +15 -0
  241. package/components/chart/area-chart/area-chart.component.d.ts.map +1 -0
  242. package/components/chart/area-chart/area-chart.props.d.ts +7 -0
  243. package/components/chart/area-chart/area-chart.props.d.ts.map +1 -0
  244. package/components/chart/area-chart/area-chart.props.js.map +1 -1
  245. package/components/chart/area-chart/area-chart.styles.d.ts +5 -0
  246. package/components/chart/area-chart/area-chart.styles.d.ts.map +1 -0
  247. package/components/chart/bar-chart/bar-chart.component.d.ts +14 -0
  248. package/components/chart/bar-chart/bar-chart.component.d.ts.map +1 -0
  249. package/components/chart/bar-chart/bar-chart.component.js +2 -13
  250. package/components/chart/bar-chart/bar-chart.component.js.map +1 -1
  251. package/components/chart/bar-chart/bar-chart.props.d.ts +9 -0
  252. package/components/chart/bar-chart/bar-chart.props.d.ts.map +1 -0
  253. package/components/chart/bar-chart/bar-chart.props.js +0 -1
  254. package/components/chart/bar-chart/bar-chart.props.js.map +1 -1
  255. package/components/chart/bar-chart/bar-chart.styles.d.ts +5 -0
  256. package/components/chart/bar-chart/bar-chart.styles.d.ts.map +1 -0
  257. package/components/chart/basechart.component.d.ts +82 -0
  258. package/components/chart/basechart.component.d.ts.map +1 -0
  259. package/components/chart/basechart.component.js +3 -1
  260. package/components/chart/basechart.component.js.map +1 -1
  261. package/components/chart/basechart.props.d.ts +63 -0
  262. package/components/chart/basechart.props.d.ts.map +1 -0
  263. package/components/chart/basechart.props.js +9 -6
  264. package/components/chart/basechart.props.js.map +1 -1
  265. package/components/chart/basechart.styles.d.ts +36 -0
  266. package/components/chart/basechart.styles.d.ts.map +1 -0
  267. package/components/chart/bubble-chart/bubble-chart.component.d.ts +12 -0
  268. package/components/chart/bubble-chart/bubble-chart.component.d.ts.map +1 -0
  269. package/components/chart/bubble-chart/bubble-chart.props.d.ts +6 -0
  270. package/components/chart/bubble-chart/bubble-chart.props.d.ts.map +1 -0
  271. package/components/chart/bubble-chart/bubble-chart.props.js.map +1 -1
  272. package/components/chart/bubble-chart/bubble-chart.styles.d.ts +5 -0
  273. package/components/chart/bubble-chart/bubble-chart.styles.d.ts.map +1 -0
  274. package/components/chart/column-chart/column-chart.component.d.ts +8 -0
  275. package/components/chart/column-chart/column-chart.component.d.ts.map +1 -0
  276. package/components/chart/column-chart/column-chart.props.d.ts +6 -0
  277. package/components/chart/column-chart/column-chart.props.d.ts.map +1 -0
  278. package/components/chart/column-chart/column-chart.props.js +9 -1
  279. package/components/chart/column-chart/column-chart.props.js.map +1 -1
  280. package/components/chart/column-chart/column-chart.styles.d.ts +4 -0
  281. package/components/chart/column-chart/column-chart.styles.d.ts.map +1 -0
  282. package/components/chart/donut-chart/donut-chart.component.d.ts +6 -0
  283. package/components/chart/donut-chart/donut-chart.component.d.ts.map +1 -0
  284. package/components/chart/donut-chart/donut-chart.props.d.ts +7 -0
  285. package/components/chart/donut-chart/donut-chart.props.d.ts.map +1 -0
  286. package/components/chart/donut-chart/donut-chart.props.js +1 -0
  287. package/components/chart/donut-chart/donut-chart.props.js.map +1 -1
  288. package/components/chart/donut-chart/donut-chart.styles.d.ts +5 -0
  289. package/components/chart/donut-chart/donut-chart.styles.d.ts.map +1 -0
  290. package/components/chart/legend/legend.component.d.ts +15 -0
  291. package/components/chart/legend/legend.component.d.ts.map +1 -0
  292. package/components/chart/line-chart/line-chart.component.d.ts +12 -0
  293. package/components/chart/line-chart/line-chart.component.d.ts.map +1 -0
  294. package/components/chart/line-chart/line-chart.props.d.ts +9 -0
  295. package/components/chart/line-chart/line-chart.props.d.ts.map +1 -0
  296. package/components/chart/line-chart/line-chart.props.js +2 -2
  297. package/components/chart/line-chart/line-chart.props.js.map +1 -1
  298. package/components/chart/line-chart/line-chart.styles.d.ts +5 -0
  299. package/components/chart/line-chart/line-chart.styles.d.ts.map +1 -0
  300. package/components/chart/pie-chart/pie-chart.component.d.ts +27 -0
  301. package/components/chart/pie-chart/pie-chart.component.d.ts.map +1 -0
  302. package/components/chart/pie-chart/pie-chart.component.js +4 -0
  303. package/components/chart/pie-chart/pie-chart.component.js.map +1 -1
  304. package/components/chart/pie-chart/pie-chart.props.d.ts +10 -0
  305. package/components/chart/pie-chart/pie-chart.props.d.ts.map +1 -0
  306. package/components/chart/pie-chart/pie-chart.props.js.map +1 -1
  307. package/components/chart/pie-chart/pie-chart.styles.d.ts +5 -0
  308. package/components/chart/pie-chart/pie-chart.styles.d.ts.map +1 -0
  309. package/components/chart/stack-chart/stack-chart.component.d.ts +26 -0
  310. package/components/chart/stack-chart/stack-chart.component.d.ts.map +1 -0
  311. package/components/chart/stack-chart/stack-chart.component.js.map +1 -1
  312. package/components/chart/stack-chart/stack-chart.props.d.ts +12 -0
  313. package/components/chart/stack-chart/stack-chart.props.d.ts.map +1 -0
  314. package/components/chart/stack-chart/stack-chart.props.js.map +1 -1
  315. package/components/chart/stack-chart/stack-chart.styles.d.ts +5 -0
  316. package/components/chart/stack-chart/stack-chart.styles.d.ts.map +1 -0
  317. package/components/chart/staticdata.d.ts +41 -0
  318. package/components/chart/staticdata.d.ts.map +1 -0
  319. package/components/chart/theme/chart.theme.d.ts +8 -0
  320. package/components/chart/theme/chart.theme.d.ts.map +1 -0
  321. package/components/container/accordion/accordion.component.d.ts +27 -0
  322. package/components/container/accordion/accordion.component.d.ts.map +1 -0
  323. package/components/container/accordion/accordion.component.js +7 -14
  324. package/components/container/accordion/accordion.component.js.map +1 -1
  325. package/components/container/accordion/accordion.props.d.ts +15 -0
  326. package/components/container/accordion/accordion.props.d.ts.map +1 -0
  327. package/components/container/accordion/accordion.props.js +3 -0
  328. package/components/container/accordion/accordion.props.js.map +1 -1
  329. package/components/container/accordion/accordion.styles.d.ts +21 -0
  330. package/components/container/accordion/accordion.styles.d.ts.map +1 -0
  331. package/components/container/accordion/accordion.styles.js +21 -24
  332. package/components/container/accordion/accordion.styles.js.map +1 -1
  333. package/components/container/accordion/accordionpane/accordionpane.component.d.ts +23 -0
  334. package/components/container/accordion/accordionpane/accordionpane.component.d.ts.map +1 -0
  335. package/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -1
  336. package/components/container/accordion/accordionpane/accordionpane.props.d.ts +16 -0
  337. package/components/container/accordion/accordionpane/accordionpane.props.d.ts.map +1 -0
  338. package/components/container/accordion/accordionpane/accordionpane.props.js +7 -4
  339. package/components/container/accordion/accordionpane/accordionpane.props.js.map +1 -1
  340. package/components/container/accordion/accordionpane/accordionpane.styles.d.ts +4 -0
  341. package/components/container/accordion/accordionpane/accordionpane.styles.d.ts.map +1 -0
  342. package/components/container/container.component.d.ts +38 -0
  343. package/components/container/container.component.d.ts.map +1 -0
  344. package/components/container/container.component.js +69 -149
  345. package/components/container/container.component.js.map +1 -1
  346. package/components/container/container.props.d.ts +21 -0
  347. package/components/container/container.props.d.ts.map +1 -0
  348. package/components/container/container.props.js +5 -3
  349. package/components/container/container.props.js.map +1 -1
  350. package/components/container/container.styles.d.ts +10 -0
  351. package/components/container/container.styles.d.ts.map +1 -0
  352. package/components/container/container.styles.js +1 -3
  353. package/components/container/container.styles.js.map +1 -1
  354. package/components/container/layoutgrid/gridcolumn/gridcolumn.component.d.ts +11 -0
  355. package/components/container/layoutgrid/gridcolumn/gridcolumn.component.d.ts.map +1 -0
  356. package/components/container/layoutgrid/gridcolumn/gridcolumn.props.d.ts +12 -0
  357. package/components/container/layoutgrid/gridcolumn/gridcolumn.props.d.ts.map +1 -0
  358. package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +5 -2
  359. package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +1 -1
  360. package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.d.ts +4 -0
  361. package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.d.ts.map +1 -0
  362. package/components/container/layoutgrid/gridrow/gridrow.component.d.ts +11 -0
  363. package/components/container/layoutgrid/gridrow/gridrow.component.d.ts.map +1 -0
  364. package/components/container/layoutgrid/gridrow/gridrow.props.d.ts +10 -0
  365. package/components/container/layoutgrid/gridrow/gridrow.props.d.ts.map +1 -0
  366. package/components/container/layoutgrid/gridrow/gridrow.props.js +3 -0
  367. package/components/container/layoutgrid/gridrow/gridrow.props.js.map +1 -1
  368. package/components/container/layoutgrid/gridrow/gridrow.styles.d.ts +7 -0
  369. package/components/container/layoutgrid/gridrow/gridrow.styles.d.ts.map +1 -0
  370. package/components/container/layoutgrid/layoutgrid.component.d.ts +13 -0
  371. package/components/container/layoutgrid/layoutgrid.component.d.ts.map +1 -0
  372. package/components/container/layoutgrid/layoutgrid.props.d.ts +10 -0
  373. package/components/container/layoutgrid/layoutgrid.props.d.ts.map +1 -0
  374. package/components/container/layoutgrid/layoutgrid.props.js +3 -0
  375. package/components/container/layoutgrid/layoutgrid.props.js.map +1 -1
  376. package/components/container/layoutgrid/layoutgrid.styles.d.ts +7 -0
  377. package/components/container/layoutgrid/layoutgrid.styles.d.ts.map +1 -0
  378. package/components/container/linearlayout/linearlayout.component.d.ts +15 -0
  379. package/components/container/linearlayout/linearlayout.component.d.ts.map +1 -0
  380. package/components/container/linearlayout/linearlayout.component.js +0 -1
  381. package/components/container/linearlayout/linearlayout.component.js.map +1 -1
  382. package/components/container/linearlayout/linearlayout.props.d.ts +14 -0
  383. package/components/container/linearlayout/linearlayout.props.d.ts.map +1 -0
  384. package/components/container/linearlayout/linearlayout.props.js +4 -1
  385. package/components/container/linearlayout/linearlayout.props.js.map +1 -1
  386. package/components/container/linearlayout/linearlayout.styles.d.ts +7 -0
  387. package/components/container/linearlayout/linearlayout.styles.d.ts.map +1 -0
  388. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.d.ts +11 -0
  389. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.d.ts.map +1 -0
  390. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.d.ts +12 -0
  391. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.d.ts.map +1 -0
  392. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +6 -3
  393. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +1 -1
  394. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.d.ts +4 -0
  395. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.d.ts.map +1 -0
  396. package/components/container/panel/collapsible-pane.component.d.ts +6 -0
  397. package/components/container/panel/collapsible-pane.component.d.ts.map +1 -0
  398. package/components/container/panel/panel-content/panel-content.component.d.ts +11 -0
  399. package/components/container/panel/panel-content/panel-content.component.d.ts.map +1 -0
  400. package/components/container/panel/panel-content/panel-content.props.d.ts +10 -0
  401. package/components/container/panel/panel-content/panel-content.props.d.ts.map +1 -0
  402. package/components/container/panel/panel-content/panel-content.props.js +3 -0
  403. package/components/container/panel/panel-content/panel-content.props.js.map +1 -1
  404. package/components/container/panel/panel-content/panel-content.styles.d.ts +4 -0
  405. package/components/container/panel/panel-content/panel-content.styles.d.ts.map +1 -0
  406. package/components/container/panel/panel-footer/panel-footer.component.d.ts +11 -0
  407. package/components/container/panel/panel-footer/panel-footer.component.d.ts.map +1 -0
  408. package/components/container/panel/panel-footer/panel-footer.props.d.ts +10 -0
  409. package/components/container/panel/panel-footer/panel-footer.props.d.ts.map +1 -0
  410. package/components/container/panel/panel-footer/panel-footer.props.js +3 -0
  411. package/components/container/panel/panel-footer/panel-footer.props.js.map +1 -1
  412. package/components/container/panel/panel-footer/panel-footer.styles.d.ts +4 -0
  413. package/components/container/panel/panel-footer/panel-footer.styles.d.ts.map +1 -0
  414. package/components/container/panel/panel.component.d.ts +20 -0
  415. package/components/container/panel/panel.component.d.ts.map +1 -0
  416. package/components/container/panel/panel.component.js +2 -8
  417. package/components/container/panel/panel.component.js.map +1 -1
  418. package/components/container/panel/panel.props.d.ts +23 -0
  419. package/components/container/panel/panel.props.d.ts.map +1 -0
  420. package/components/container/panel/panel.props.js +12 -11
  421. package/components/container/panel/panel.props.js.map +1 -1
  422. package/components/container/panel/panel.styles.d.ts +13 -0
  423. package/components/container/panel/panel.styles.d.ts.map +1 -0
  424. package/components/container/partial-host.component.d.ts +19 -0
  425. package/components/container/partial-host.component.d.ts.map +1 -0
  426. package/components/container/partial-host.component.js.map +1 -1
  427. package/components/container/tabs/tabheader/tabheader.component.d.ts +27 -0
  428. package/components/container/tabs/tabheader/tabheader.component.d.ts.map +1 -0
  429. package/components/container/tabs/tabheader/tabheader.component.js.map +1 -1
  430. package/components/container/tabs/tabheader/tabheader.props.d.ts +18 -0
  431. package/components/container/tabs/tabheader/tabheader.props.d.ts.map +1 -0
  432. package/components/container/tabs/tabheader/tabheader.props.js +4 -1
  433. package/components/container/tabs/tabheader/tabheader.props.js.map +1 -1
  434. package/components/container/tabs/tabheader/tabheader.styles.d.ts +18 -0
  435. package/components/container/tabs/tabheader/tabheader.styles.d.ts.map +1 -0
  436. package/components/container/tabs/tabpane/tabpane.component.d.ts +22 -0
  437. package/components/container/tabs/tabpane/tabpane.component.d.ts.map +1 -0
  438. package/components/container/tabs/tabpane/tabpane.component.js.map +1 -1
  439. package/components/container/tabs/tabpane/tabpane.props.d.ts +19 -0
  440. package/components/container/tabs/tabpane/tabpane.props.d.ts.map +1 -0
  441. package/components/container/tabs/tabpane/tabpane.props.js +6 -3
  442. package/components/container/tabs/tabpane/tabpane.props.js.map +1 -1
  443. package/components/container/tabs/tabpane/tabpane.styles.d.ts +4 -0
  444. package/components/container/tabs/tabpane/tabpane.styles.d.ts.map +1 -0
  445. package/components/container/tabs/tabs.component.d.ts +37 -0
  446. package/components/container/tabs/tabs.component.d.ts.map +1 -0
  447. package/components/container/tabs/tabs.props.d.ts +13 -0
  448. package/components/container/tabs/tabs.props.d.ts.map +1 -0
  449. package/components/container/tabs/tabs.props.js +3 -0
  450. package/components/container/tabs/tabs.props.js.map +1 -1
  451. package/components/container/tabs/tabs.styles.d.ts +11 -0
  452. package/components/container/tabs/tabs.styles.d.ts.map +1 -0
  453. package/components/container/tile/tile.component.d.ts +13 -0
  454. package/components/container/tile/tile.component.d.ts.map +1 -0
  455. package/components/container/tile/tile.component.js +0 -3
  456. package/components/container/tile/tile.component.js.map +1 -1
  457. package/components/container/tile/tile.props.d.ts +12 -0
  458. package/components/container/tile/tile.props.d.ts.map +1 -0
  459. package/components/container/tile/tile.props.js +5 -2
  460. package/components/container/tile/tile.props.js.map +1 -1
  461. package/components/container/tile/tile.styles.d.ts +7 -0
  462. package/components/container/tile/tile.styles.d.ts.map +1 -0
  463. package/components/container/wizard/wizard.component.d.ts +47 -0
  464. package/components/container/wizard/wizard.component.d.ts.map +1 -0
  465. package/components/container/wizard/wizard.component.js +2 -2
  466. package/components/container/wizard/wizard.component.js.map +1 -1
  467. package/components/container/wizard/wizard.props.d.ts +28 -0
  468. package/components/container/wizard/wizard.props.d.ts.map +1 -0
  469. package/components/container/wizard/wizard.props.js +4 -2
  470. package/components/container/wizard/wizard.props.js.map +1 -1
  471. package/components/container/wizard/wizard.styles.d.ts +48 -0
  472. package/components/container/wizard/wizard.styles.d.ts.map +1 -0
  473. package/components/container/wizard/wizard.styles.js +16 -1
  474. package/components/container/wizard/wizard.styles.js.map +1 -1
  475. package/components/container/wizard/wizardstep/wizardstep.component.d.ts +21 -0
  476. package/components/container/wizard/wizardstep/wizardstep.component.d.ts.map +1 -0
  477. package/components/container/wizard/wizardstep/wizardstep.props.d.ts +21 -0
  478. package/components/container/wizard/wizardstep/wizardstep.props.d.ts.map +1 -0
  479. package/components/container/wizard/wizardstep/wizardstep.props.js +3 -0
  480. package/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -1
  481. package/components/container/wizard/wizardstep/wizardstep.styles.d.ts +4 -0
  482. package/components/container/wizard/wizardstep/wizardstep.styles.d.ts.map +1 -0
  483. package/components/data/card/card-content/card-content.component.d.ts +14 -0
  484. package/components/data/card/card-content/card-content.component.d.ts.map +1 -0
  485. package/components/data/card/card-content/card-content.props.d.ts +11 -0
  486. package/components/data/card/card-content/card-content.props.d.ts.map +1 -0
  487. package/components/data/card/card-content/card-content.props.js +4 -1
  488. package/components/data/card/card-content/card-content.props.js.map +1 -1
  489. package/components/data/card/card-content/card-content.styles.d.ts +7 -0
  490. package/components/data/card/card-content/card-content.styles.d.ts.map +1 -0
  491. package/components/data/card/card-footer/card-footer.component.d.ts +11 -0
  492. package/components/data/card/card-footer/card-footer.component.d.ts.map +1 -0
  493. package/components/data/card/card-footer/card-footer.props.d.ts +10 -0
  494. package/components/data/card/card-footer/card-footer.props.d.ts.map +1 -0
  495. package/components/data/card/card-footer/card-footer.props.js +4 -1
  496. package/components/data/card/card-footer/card-footer.props.js.map +1 -1
  497. package/components/data/card/card-footer/card-footer.styles.d.ts +4 -0
  498. package/components/data/card/card-footer/card-footer.styles.d.ts.map +1 -0
  499. package/components/data/card/card.component.d.ts +13 -0
  500. package/components/data/card/card.component.d.ts.map +1 -0
  501. package/components/data/card/card.props.d.ts +26 -0
  502. package/components/data/card/card.props.d.ts.map +1 -0
  503. package/components/data/card/card.props.js +19 -16
  504. package/components/data/card/card.props.js.map +1 -1
  505. package/components/data/card/card.styles.d.ts +16 -0
  506. package/components/data/card/card.styles.d.ts.map +1 -0
  507. package/components/data/form/form-action/form-action.component.d.ts +14 -0
  508. package/components/data/form/form-action/form-action.component.d.ts.map +1 -0
  509. package/components/data/form/form-action/form-action.props.d.ts +16 -0
  510. package/components/data/form/form-action/form-action.props.d.ts.map +1 -0
  511. package/components/data/form/form-action/form-action.props.js +4 -1
  512. package/components/data/form/form-action/form-action.props.js.map +1 -1
  513. package/components/data/form/form-action/form-action.styles.d.ts +7 -0
  514. package/components/data/form/form-action/form-action.styles.d.ts.map +1 -0
  515. package/components/data/form/form-body/form-body.component.d.ts +11 -0
  516. package/components/data/form/form-body/form-body.component.d.ts.map +1 -0
  517. package/components/data/form/form-body/form-body.component.js +1 -2
  518. package/components/data/form/form-body/form-body.component.js.map +1 -1
  519. package/components/data/form/form-body/form-body.props.d.ts +10 -0
  520. package/components/data/form/form-body/form-body.props.d.ts.map +1 -0
  521. package/components/data/form/form-body/form-body.props.js +4 -1
  522. package/components/data/form/form-body/form-body.props.js.map +1 -1
  523. package/components/data/form/form-body/form-body.styles.d.ts +4 -0
  524. package/components/data/form/form-body/form-body.styles.d.ts.map +1 -0
  525. package/components/data/form/form-field/form-field.component.d.ts +31 -0
  526. package/components/data/form/form-field/form-field.component.d.ts.map +1 -0
  527. package/components/data/form/form-field/form-field.props.d.ts +34 -0
  528. package/components/data/form/form-field/form-field.props.d.ts.map +1 -0
  529. package/components/data/form/form-field/form-field.props.js +6 -3
  530. package/components/data/form/form-field/form-field.props.js.map +1 -1
  531. package/components/data/form/form-field/form-field.styles.d.ts +7 -0
  532. package/components/data/form/form-field/form-field.styles.d.ts.map +1 -0
  533. package/components/data/form/form-footer/form-footer.component.d.ts +11 -0
  534. package/components/data/form/form-footer/form-footer.component.d.ts.map +1 -0
  535. package/components/data/form/form-footer/form-footer.component.js +1 -2
  536. package/components/data/form/form-footer/form-footer.component.js.map +1 -1
  537. package/components/data/form/form-footer/form-footer.props.d.ts +10 -0
  538. package/components/data/form/form-footer/form-footer.props.d.ts.map +1 -0
  539. package/components/data/form/form-footer/form-footer.props.js +4 -1
  540. package/components/data/form/form-footer/form-footer.props.js.map +1 -1
  541. package/components/data/form/form-footer/form-footer.styles.d.ts +4 -0
  542. package/components/data/form/form-footer/form-footer.styles.d.ts.map +1 -0
  543. package/components/data/form/form.component.d.ts +62 -0
  544. package/components/data/form/form.component.d.ts.map +1 -0
  545. package/components/data/form/form.component.js.map +1 -1
  546. package/components/data/form/form.props.d.ts +31 -0
  547. package/components/data/form/form.props.d.ts.map +1 -0
  548. package/components/data/form/form.props.js +10 -7
  549. package/components/data/form/form.props.js.map +1 -1
  550. package/components/data/form/form.styles.d.ts +13 -0
  551. package/components/data/form/form.styles.d.ts.map +1 -0
  552. package/components/data/list/list-action-template/list-action-template.component.d.ts +13 -0
  553. package/components/data/list/list-action-template/list-action-template.component.d.ts.map +1 -0
  554. package/components/data/list/list-action-template/list-action-template.props.d.ts +11 -0
  555. package/components/data/list/list-action-template/list-action-template.props.d.ts.map +1 -0
  556. package/components/data/list/list-action-template/list-action-template.props.js +5 -2
  557. package/components/data/list/list-action-template/list-action-template.props.js.map +1 -1
  558. package/components/data/list/list-action-template/list-action-template.styles.d.ts +4 -0
  559. package/components/data/list/list-action-template/list-action-template.styles.d.ts.map +1 -0
  560. package/components/data/list/list-template/list-template.component.d.ts +11 -0
  561. package/components/data/list/list-template/list-template.component.d.ts.map +1 -0
  562. package/components/data/list/list-template/list-template.props.d.ts +11 -0
  563. package/components/data/list/list-template/list-template.props.d.ts.map +1 -0
  564. package/components/data/list/list-template/list-template.props.js +3 -0
  565. package/components/data/list/list-template/list-template.props.js.map +1 -1
  566. package/components/data/list/list-template/list-template.styles.d.ts +7 -0
  567. package/components/data/list/list-template/list-template.styles.d.ts.map +1 -0
  568. package/components/data/list/list.component.d.ts +60 -0
  569. package/components/data/list/list.component.d.ts.map +1 -0
  570. package/components/data/list/list.component.js.map +1 -1
  571. package/components/data/list/list.props.d.ts +50 -0
  572. package/components/data/list/list.props.d.ts.map +1 -0
  573. package/components/data/list/list.props.js +18 -17
  574. package/components/data/list/list.props.js.map +1 -1
  575. package/components/data/list/list.styles.d.ts +24 -0
  576. package/components/data/list/list.styles.d.ts.map +1 -0
  577. package/components/data/liveform/liveform.component.d.ts +15 -0
  578. package/components/data/liveform/liveform.component.d.ts.map +1 -0
  579. package/components/data/liveform/liveform.component.js +2 -2
  580. package/components/data/liveform/liveform.component.js.map +1 -1
  581. package/components/device/barcodescanner/barcodescanner.component.d.ts +15 -0
  582. package/components/device/barcodescanner/barcodescanner.component.d.ts.map +1 -0
  583. package/components/device/barcodescanner/barcodescanner.component.js.map +1 -1
  584. package/components/device/barcodescanner/barcodescanner.props.d.ts +18 -0
  585. package/components/device/barcodescanner/barcodescanner.props.d.ts.map +1 -0
  586. package/components/device/barcodescanner/barcodescanner.props.js +5 -2
  587. package/components/device/barcodescanner/barcodescanner.props.js.map +1 -1
  588. package/components/device/barcodescanner/barcodescanner.styles.d.ts +7 -0
  589. package/components/device/barcodescanner/barcodescanner.styles.d.ts.map +1 -0
  590. package/components/device/camera/camera.component.d.ts +16 -0
  591. package/components/device/camera/camera.component.d.ts.map +1 -0
  592. package/components/device/camera/camera.component.js.map +1 -1
  593. package/components/device/camera/camera.props.d.ts +24 -0
  594. package/components/device/camera/camera.props.d.ts.map +1 -0
  595. package/components/device/camera/camera.props.js +7 -4
  596. package/components/device/camera/camera.props.js.map +1 -1
  597. package/components/device/camera/camera.styles.d.ts +7 -0
  598. package/components/device/camera/camera.styles.d.ts.map +1 -0
  599. package/components/dialogs/alertdialog/alertdialog.component.d.ts +16 -0
  600. package/components/dialogs/alertdialog/alertdialog.component.d.ts.map +1 -0
  601. package/components/dialogs/alertdialog/alertdialog.props.d.ts +23 -0
  602. package/components/dialogs/alertdialog/alertdialog.props.d.ts.map +1 -0
  603. package/components/dialogs/alertdialog/alertdialog.props.js +11 -7
  604. package/components/dialogs/alertdialog/alertdialog.props.js.map +1 -1
  605. package/components/dialogs/alertdialog/alertdialog.styles.d.ts +15 -0
  606. package/components/dialogs/alertdialog/alertdialog.styles.d.ts.map +1 -0
  607. package/components/dialogs/confirmdialog/confirmdialog.component.d.ts +16 -0
  608. package/components/dialogs/confirmdialog/confirmdialog.component.d.ts.map +1 -0
  609. package/components/dialogs/confirmdialog/confirmdialog.props.d.ts +23 -0
  610. package/components/dialogs/confirmdialog/confirmdialog.props.d.ts.map +1 -0
  611. package/components/dialogs/confirmdialog/confirmdialog.props.js +11 -7
  612. package/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -1
  613. package/components/dialogs/confirmdialog/confirmdialog.styles.d.ts +16 -0
  614. package/components/dialogs/confirmdialog/confirmdialog.styles.d.ts.map +1 -0
  615. package/components/dialogs/dialog/dialog.component.d.ts +17 -0
  616. package/components/dialogs/dialog/dialog.component.d.ts.map +1 -0
  617. package/components/dialogs/dialog/dialog.component.js.map +1 -1
  618. package/components/dialogs/dialog/dialog.props.d.ts +25 -0
  619. package/components/dialogs/dialog/dialog.props.d.ts.map +1 -0
  620. package/components/dialogs/dialog/dialog.props.js +12 -8
  621. package/components/dialogs/dialog/dialog.props.js.map +1 -1
  622. package/components/dialogs/dialog/dialog.styles.d.ts +12 -0
  623. package/components/dialogs/dialog/dialog.styles.d.ts.map +1 -0
  624. package/components/dialogs/dialogactions/dialogactions.component.d.ts +12 -0
  625. package/components/dialogs/dialogactions/dialogactions.component.d.ts.map +1 -0
  626. package/components/dialogs/dialogactions/dialogactions.props.d.ts +10 -0
  627. package/components/dialogs/dialogactions/dialogactions.props.d.ts.map +1 -0
  628. package/components/dialogs/dialogactions/dialogactions.props.js +4 -1
  629. package/components/dialogs/dialogactions/dialogactions.props.js.map +1 -1
  630. package/components/dialogs/dialogactions/dialogactions.styles.d.ts +4 -0
  631. package/components/dialogs/dialogactions/dialogactions.styles.d.ts.map +1 -0
  632. package/components/dialogs/dialogcontent/dialogcontent.component.d.ts +11 -0
  633. package/components/dialogs/dialogcontent/dialogcontent.component.d.ts.map +1 -0
  634. package/components/dialogs/dialogcontent/dialogcontent.props.d.ts +10 -0
  635. package/components/dialogs/dialogcontent/dialogcontent.props.d.ts.map +1 -0
  636. package/components/dialogs/dialogcontent/dialogcontent.props.js +4 -1
  637. package/components/dialogs/dialogcontent/dialogcontent.props.js.map +1 -1
  638. package/components/dialogs/dialogcontent/dialogcontent.styles.d.ts +4 -0
  639. package/components/dialogs/dialogcontent/dialogcontent.styles.d.ts.map +1 -0
  640. package/components/input/basedataset/basedataset.component.d.ts +28 -0
  641. package/components/input/basedataset/basedataset.component.d.ts.map +1 -0
  642. package/components/input/basedataset/basedataset.props.d.ts +31 -0
  643. package/components/input/basedataset/basedataset.props.d.ts.map +1 -0
  644. package/components/input/basedataset/basedataset.props.js +7 -4
  645. package/components/input/basedataset/basedataset.props.js.map +1 -1
  646. package/components/input/basedataset/basedataset.styles.d.ts +4 -0
  647. package/components/input/basedataset/basedataset.styles.d.ts.map +1 -0
  648. package/components/input/baseinput/baseinput.component.d.ts +33 -0
  649. package/components/input/baseinput/baseinput.component.d.ts.map +1 -0
  650. package/components/input/baseinput/baseinput.props.d.ts +29 -0
  651. package/components/input/baseinput/baseinput.props.d.ts.map +1 -0
  652. package/components/input/baseinput/baseinput.props.js +12 -9
  653. package/components/input/baseinput/baseinput.props.js.map +1 -1
  654. package/components/input/baseinput/baseinput.styles.d.ts +4 -0
  655. package/components/input/baseinput/baseinput.styles.d.ts.map +1 -0
  656. package/components/input/basenumber/basenumber.component.d.ts +58 -0
  657. package/components/input/basenumber/basenumber.component.d.ts.map +1 -0
  658. package/components/input/basenumber/basenumber.component.js.map +1 -1
  659. package/components/input/basenumber/basenumber.props.d.ts +26 -0
  660. package/components/input/basenumber/basenumber.props.d.ts.map +1 -0
  661. package/components/input/basenumber/basenumber.props.js +10 -7
  662. package/components/input/basenumber/basenumber.props.js.map +1 -1
  663. package/components/input/basenumber/basenumber.styles.d.ts +4 -0
  664. package/components/input/basenumber/basenumber.styles.d.ts.map +1 -0
  665. package/components/input/calendar/calendar.component.d.ts +23 -0
  666. package/components/input/calendar/calendar.component.d.ts.map +1 -0
  667. package/components/input/calendar/calendar.component.js.map +1 -1
  668. package/components/input/calendar/calendar.props.d.ts +15 -0
  669. package/components/input/calendar/calendar.props.d.ts.map +1 -0
  670. package/components/input/calendar/calendar.props.js +9 -3
  671. package/components/input/calendar/calendar.props.js.map +1 -1
  672. package/components/input/calendar/calendar.styles.d.ts +30 -0
  673. package/components/input/calendar/calendar.styles.d.ts.map +1 -0
  674. package/components/input/calendar/views/month-view.d.ts +55 -0
  675. package/components/input/calendar/views/month-view.d.ts.map +1 -0
  676. package/components/input/calendar/views/month-view.styles.d.ts +34 -0
  677. package/components/input/calendar/views/month-view.styles.d.ts.map +1 -0
  678. package/components/input/checkbox/checkbox.component.d.ts +20 -0
  679. package/components/input/checkbox/checkbox.component.d.ts.map +1 -0
  680. package/components/input/checkbox/checkbox.props.d.ts +19 -0
  681. package/components/input/checkbox/checkbox.props.d.ts.map +1 -0
  682. package/components/input/checkbox/checkbox.props.js +9 -3
  683. package/components/input/checkbox/checkbox.props.js.map +1 -1
  684. package/components/input/checkbox/checkbox.styles.d.ts +12 -0
  685. package/components/input/checkbox/checkbox.styles.d.ts.map +1 -0
  686. package/components/input/checkboxset/checkboxset.component.d.ts +22 -0
  687. package/components/input/checkboxset/checkboxset.component.d.ts.map +1 -0
  688. package/components/input/checkboxset/checkboxset.props.d.ts +15 -0
  689. package/components/input/checkboxset/checkboxset.props.d.ts.map +1 -0
  690. package/components/input/checkboxset/checkboxset.props.js +3 -0
  691. package/components/input/checkboxset/checkboxset.props.js.map +1 -1
  692. package/components/input/checkboxset/checkboxset.styles.d.ts +14 -0
  693. package/components/input/checkboxset/checkboxset.styles.d.ts.map +1 -0
  694. package/components/input/chips/chips.component.d.ts +44 -0
  695. package/components/input/chips/chips.component.d.ts.map +1 -0
  696. package/components/input/chips/chips.component.js +2 -2
  697. package/components/input/chips/chips.component.js.map +1 -1
  698. package/components/input/chips/chips.props.d.ts +27 -0
  699. package/components/input/chips/chips.props.d.ts.map +1 -0
  700. package/components/input/chips/chips.props.js +9 -6
  701. package/components/input/chips/chips.props.js.map +1 -1
  702. package/components/input/chips/chips.styles.d.ts +35 -0
  703. package/components/input/chips/chips.styles.d.ts.map +1 -0
  704. package/components/input/chips/chips.styles.js +0 -1
  705. package/components/input/chips/chips.styles.js.map +1 -1
  706. package/components/input/composite/composite.component.d.ts +11 -0
  707. package/components/input/composite/composite.component.d.ts.map +1 -0
  708. package/components/input/composite/composite.props.d.ts +11 -0
  709. package/components/input/composite/composite.props.d.ts.map +1 -0
  710. package/components/input/composite/composite.props.js +4 -1
  711. package/components/input/composite/composite.props.js.map +1 -1
  712. package/components/input/composite/composite.styles.d.ts +4 -0
  713. package/components/input/composite/composite.styles.d.ts.map +1 -0
  714. package/components/input/currency/currency.component.d.ts +15 -0
  715. package/components/input/currency/currency.component.d.ts.map +1 -0
  716. package/components/input/currency/currency.component.js +1 -3
  717. package/components/input/currency/currency.component.js.map +1 -1
  718. package/components/input/currency/currency.props.d.ts +9 -0
  719. package/components/input/currency/currency.props.d.ts.map +1 -0
  720. package/components/input/currency/currency.props.js +1 -0
  721. package/components/input/currency/currency.props.js.map +1 -1
  722. package/components/input/currency/currency.styles.d.ts +18 -0
  723. package/components/input/currency/currency.styles.d.ts.map +1 -0
  724. package/components/input/epoch/base-datetime.component.d.ts +50 -0
  725. package/components/input/epoch/base-datetime.component.d.ts.map +1 -0
  726. package/components/input/epoch/base-datetime.component.js +89 -91
  727. package/components/input/epoch/base-datetime.component.js.map +1 -1
  728. package/components/input/epoch/date/date.component.d.ts +9 -0
  729. package/components/input/epoch/date/date.component.d.ts.map +1 -0
  730. package/components/input/epoch/date/date.props.d.ts +5 -0
  731. package/components/input/epoch/date/date.props.d.ts.map +1 -0
  732. package/components/input/epoch/date/date.styles.d.ts +4 -0
  733. package/components/input/epoch/date/date.styles.d.ts.map +1 -0
  734. package/components/input/epoch/date-picker.component.d.ts +28 -0
  735. package/components/input/epoch/date-picker.component.d.ts.map +1 -0
  736. package/components/input/epoch/datetime/datetime.component.d.ts +9 -0
  737. package/components/input/epoch/datetime/datetime.component.d.ts.map +1 -0
  738. package/components/input/epoch/datetime/datetime.props.d.ts +37 -0
  739. package/components/input/epoch/datetime/datetime.props.d.ts.map +1 -0
  740. package/components/input/epoch/datetime/datetime.props.js +12 -6
  741. package/components/input/epoch/datetime/datetime.props.js.map +1 -1
  742. package/components/input/epoch/datetime/datetime.styles.d.ts +24 -0
  743. package/components/input/epoch/datetime/datetime.styles.d.ts.map +1 -0
  744. package/components/input/epoch/datetime/datetime.styles.js +3 -2
  745. package/components/input/epoch/datetime/datetime.styles.js.map +1 -1
  746. package/components/input/epoch/time/time.component.d.ts +11 -0
  747. package/components/input/epoch/time/time.component.d.ts.map +1 -0
  748. package/components/input/epoch/time/time.props.d.ts +6 -0
  749. package/components/input/epoch/time/time.props.d.ts.map +1 -0
  750. package/components/input/epoch/time/time.styles.d.ts +4 -0
  751. package/components/input/epoch/time/time.styles.d.ts.map +1 -0
  752. package/components/input/epoch/wheel-date-picker.component.d.ts +42 -0
  753. package/components/input/epoch/wheel-date-picker.component.d.ts.map +1 -0
  754. package/components/input/epoch/wheel-time-picker.component.d.ts +22 -0
  755. package/components/input/epoch/wheel-time-picker.component.d.ts.map +1 -0
  756. package/components/input/epoch/wheelpicker/wheelpicker.component.d.ts +18 -0
  757. package/components/input/epoch/wheelpicker/wheelpicker.component.d.ts.map +1 -0
  758. package/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -1
  759. package/components/input/epoch/wheelpicker/wheelpicker.props.d.ts +10 -0
  760. package/components/input/epoch/wheelpicker/wheelpicker.props.d.ts.map +1 -0
  761. package/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -1
  762. package/components/input/epoch/wheelpicker/wheelpicker.styles.d.ts +12 -0
  763. package/components/input/epoch/wheelpicker/wheelpicker.styles.d.ts.map +1 -0
  764. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.d.ts +13 -0
  765. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.d.ts.map +1 -0
  766. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.d.ts +14 -0
  767. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.d.ts.map +1 -0
  768. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -1
  769. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.d.ts +12 -0
  770. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.d.ts.map +1 -0
  771. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.d.ts +13 -0
  772. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.d.ts.map +1 -0
  773. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.d.ts +13 -0
  774. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.d.ts.map +1 -0
  775. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -1
  776. package/components/input/fileupload/fileupload.component.d.ts +21 -0
  777. package/components/input/fileupload/fileupload.component.d.ts.map +1 -0
  778. package/components/input/fileupload/fileupload.props.d.ts +18 -0
  779. package/components/input/fileupload/fileupload.props.d.ts.map +1 -0
  780. package/components/input/fileupload/fileupload.props.js +5 -2
  781. package/components/input/fileupload/fileupload.props.js.map +1 -1
  782. package/components/input/fileupload/fileupload.styles.d.ts +7 -0
  783. package/components/input/fileupload/fileupload.styles.d.ts.map +1 -0
  784. package/components/input/number/number.component.d.ts +14 -0
  785. package/components/input/number/number.component.d.ts.map +1 -0
  786. package/components/input/number/number.component.js +1 -2
  787. package/components/input/number/number.component.js.map +1 -1
  788. package/components/input/number/number.props.d.ts +9 -0
  789. package/components/input/number/number.props.d.ts.map +1 -0
  790. package/components/input/number/number.props.js +2 -1
  791. package/components/input/number/number.props.js.map +1 -1
  792. package/components/input/number/number.styles.d.ts +14 -0
  793. package/components/input/number/number.styles.d.ts.map +1 -0
  794. package/components/input/radioset/radioset.component.d.ts +19 -0
  795. package/components/input/radioset/radioset.component.d.ts.map +1 -0
  796. package/components/input/radioset/radioset.props.d.ts +14 -0
  797. package/components/input/radioset/radioset.props.d.ts.map +1 -0
  798. package/components/input/radioset/radioset.props.js +3 -0
  799. package/components/input/radioset/radioset.props.js.map +1 -1
  800. package/components/input/radioset/radioset.styles.d.ts +16 -0
  801. package/components/input/radioset/radioset.styles.d.ts.map +1 -0
  802. package/components/input/rating/rating.component.d.ts +19 -0
  803. package/components/input/rating/rating.component.d.ts.map +1 -0
  804. package/components/input/rating/rating.props.d.ts +27 -0
  805. package/components/input/rating/rating.props.d.ts.map +1 -0
  806. package/components/input/rating/rating.props.js +13 -7
  807. package/components/input/rating/rating.props.js.map +1 -1
  808. package/components/input/rating/rating.styles.d.ts +8 -0
  809. package/components/input/rating/rating.styles.d.ts.map +1 -0
  810. package/components/input/select/select.component.d.ts +37 -0
  811. package/components/input/select/select.component.d.ts.map +1 -0
  812. package/components/input/select/select.component.js +35 -76
  813. package/components/input/select/select.component.js.map +1 -1
  814. package/components/input/select/select.props.d.ts +10 -0
  815. package/components/input/select/select.props.d.ts.map +1 -0
  816. package/components/input/select/select.props.js +5 -2
  817. package/components/input/select/select.props.js.map +1 -1
  818. package/components/input/select/select.styles.d.ts +25 -0
  819. package/components/input/select/select.styles.d.ts.map +1 -0
  820. package/components/input/slider/slider.component.d.ts +55 -0
  821. package/components/input/slider/slider.component.d.ts.map +1 -0
  822. package/components/input/slider/slider.component.js.map +1 -1
  823. package/components/input/slider/slider.props.d.ts +22 -0
  824. package/components/input/slider/slider.props.d.ts.map +1 -0
  825. package/components/input/slider/slider.props.js +3 -0
  826. package/components/input/slider/slider.props.js.map +1 -1
  827. package/components/input/slider/slider.styles.d.ts +24 -0
  828. package/components/input/slider/slider.styles.d.ts.map +1 -0
  829. package/components/input/switch/switch.component.d.ts +15 -0
  830. package/components/input/switch/switch.component.d.ts.map +1 -0
  831. package/components/input/switch/switch.props.d.ts +11 -0
  832. package/components/input/switch/switch.props.d.ts.map +1 -0
  833. package/components/input/switch/switch.props.js +3 -0
  834. package/components/input/switch/switch.props.js.map +1 -1
  835. package/components/input/switch/switch.styles.d.ts +17 -0
  836. package/components/input/switch/switch.styles.d.ts.map +1 -0
  837. package/components/input/text/text.component.d.ts +13 -0
  838. package/components/input/text/text.component.d.ts.map +1 -0
  839. package/components/input/text/text.component.js +1 -2
  840. package/components/input/text/text.component.js.map +1 -1
  841. package/components/input/text/text.props.d.ts +13 -0
  842. package/components/input/text/text.props.d.ts.map +1 -0
  843. package/components/input/text/text.props.js +4 -3
  844. package/components/input/text/text.props.js.map +1 -1
  845. package/components/input/text/text.styles.d.ts +13 -0
  846. package/components/input/text/text.styles.d.ts.map +1 -0
  847. package/components/input/textarea/textarea.component.d.ts +13 -0
  848. package/components/input/textarea/textarea.component.d.ts.map +1 -0
  849. package/components/input/textarea/textarea.component.js +1 -2
  850. package/components/input/textarea/textarea.component.js.map +1 -1
  851. package/components/input/textarea/textarea.props.d.ts +11 -0
  852. package/components/input/textarea/textarea.props.d.ts.map +1 -0
  853. package/components/input/textarea/textarea.props.js +4 -3
  854. package/components/input/textarea/textarea.props.js.map +1 -1
  855. package/components/input/textarea/textarea.styles.d.ts +14 -0
  856. package/components/input/textarea/textarea.styles.d.ts.map +1 -0
  857. package/components/input/toggle/toggle.component.d.ts +25 -0
  858. package/components/input/toggle/toggle.component.d.ts.map +1 -0
  859. package/components/input/toggle/toggle.component.js +4 -12
  860. package/components/input/toggle/toggle.component.js.map +1 -1
  861. package/components/input/toggle/toggle.props.d.ts +27 -0
  862. package/components/input/toggle/toggle.props.d.ts.map +1 -0
  863. package/components/input/toggle/toggle.props.js +11 -10
  864. package/components/input/toggle/toggle.props.js.map +1 -1
  865. package/components/input/toggle/toggle.styles.d.ts +12 -0
  866. package/components/input/toggle/toggle.styles.d.ts.map +1 -0
  867. package/components/navigation/appnavbar/appnavbar.component.d.ts +18 -0
  868. package/components/navigation/appnavbar/appnavbar.component.d.ts.map +1 -0
  869. package/components/navigation/appnavbar/appnavbar.component.js +1 -1
  870. package/components/navigation/appnavbar/appnavbar.component.js.map +1 -1
  871. package/components/navigation/appnavbar/appnavbar.props.d.ts +21 -0
  872. package/components/navigation/appnavbar/appnavbar.props.d.ts.map +1 -0
  873. package/components/navigation/appnavbar/appnavbar.props.js +4 -1
  874. package/components/navigation/appnavbar/appnavbar.props.js.map +1 -1
  875. package/components/navigation/appnavbar/appnavbar.styles.d.ts +17 -0
  876. package/components/navigation/appnavbar/appnavbar.styles.d.ts.map +1 -0
  877. package/components/navigation/basenav/basenav.component.d.ts +24 -0
  878. package/components/navigation/basenav/basenav.component.d.ts.map +1 -0
  879. package/components/navigation/basenav/basenav.props.d.ts +12 -0
  880. package/components/navigation/basenav/basenav.props.d.ts.map +1 -0
  881. package/components/navigation/basenav/basenav.props.js +5 -5
  882. package/components/navigation/basenav/basenav.props.js.map +1 -1
  883. package/components/navigation/basenav/basenav.styles.d.ts +4 -0
  884. package/components/navigation/basenav/basenav.styles.d.ts.map +1 -0
  885. package/components/navigation/menu/menu.component.d.ts +14 -0
  886. package/components/navigation/menu/menu.component.d.ts.map +1 -0
  887. package/components/navigation/menu/menu.props.d.ts +12 -0
  888. package/components/navigation/menu/menu.props.d.ts.map +1 -0
  889. package/components/navigation/menu/menu.props.js +3 -0
  890. package/components/navigation/menu/menu.props.js.map +1 -1
  891. package/components/navigation/menu/menu.styles.d.ts +9 -0
  892. package/components/navigation/menu/menu.styles.d.ts.map +1 -0
  893. package/components/navigation/navbar/navbar.component.d.ts +18 -0
  894. package/components/navigation/navbar/navbar.component.d.ts.map +1 -0
  895. package/components/navigation/navbar/navbar.props.d.ts +17 -0
  896. package/components/navigation/navbar/navbar.props.d.ts.map +1 -0
  897. package/components/navigation/navbar/navbar.props.js +4 -1
  898. package/components/navigation/navbar/navbar.props.js.map +1 -1
  899. package/components/navigation/navbar/navbar.styles.d.ts +10 -0
  900. package/components/navigation/navbar/navbar.styles.d.ts.map +1 -0
  901. package/components/navigation/navitem/navitem.component.d.ts +15 -0
  902. package/components/navigation/navitem/navitem.component.d.ts.map +1 -0
  903. package/components/navigation/navitem/navitem.props.d.ts +21 -0
  904. package/components/navigation/navitem/navitem.props.d.ts.map +1 -0
  905. package/components/navigation/navitem/navitem.props.js +7 -4
  906. package/components/navigation/navitem/navitem.props.js.map +1 -1
  907. package/components/navigation/navitem/navitem.styles.d.ts +11 -0
  908. package/components/navigation/navitem/navitem.styles.d.ts.map +1 -0
  909. package/components/navigation/popover/popover.component.d.ts +36 -0
  910. package/components/navigation/popover/popover.component.d.ts.map +1 -0
  911. package/components/navigation/popover/popover.component.js +1 -5
  912. package/components/navigation/popover/popover.component.js.map +1 -1
  913. package/components/navigation/popover/popover.props.d.ts +35 -0
  914. package/components/navigation/popover/popover.props.d.ts.map +1 -0
  915. package/components/navigation/popover/popover.props.js +17 -12
  916. package/components/navigation/popover/popover.props.js.map +1 -1
  917. package/components/navigation/popover/popover.styles.d.ts +16 -0
  918. package/components/navigation/popover/popover.styles.d.ts.map +1 -0
  919. package/components/page/content/content.component.d.ts +11 -0
  920. package/components/page/content/content.component.d.ts.map +1 -0
  921. package/components/page/content/content.props.d.ts +6 -0
  922. package/components/page/content/content.props.d.ts.map +1 -0
  923. package/components/page/content/content.props.js.map +1 -1
  924. package/components/page/content/content.styles.d.ts +4 -0
  925. package/components/page/content/content.styles.d.ts.map +1 -0
  926. package/components/page/left-panel/left-panel.component.d.ts +15 -0
  927. package/components/page/left-panel/left-panel.component.d.ts.map +1 -0
  928. package/components/page/left-panel/left-panel.props.d.ts +11 -0
  929. package/components/page/left-panel/left-panel.props.d.ts.map +1 -0
  930. package/components/page/left-panel/left-panel.props.js +3 -0
  931. package/components/page/left-panel/left-panel.props.js.map +1 -1
  932. package/components/page/left-panel/left-panel.styles.d.ts +4 -0
  933. package/components/page/left-panel/left-panel.styles.d.ts.map +1 -0
  934. package/components/page/page-content/page-content.component.d.ts +26 -0
  935. package/components/page/page-content/page-content.component.d.ts.map +1 -0
  936. package/components/page/page-content/page-content.component.js.map +1 -1
  937. package/components/page/page-content/page-content.props.d.ts +17 -0
  938. package/components/page/page-content/page-content.props.d.ts.map +1 -0
  939. package/components/page/page-content/page-content.props.js +6 -3
  940. package/components/page/page-content/page-content.props.js.map +1 -1
  941. package/components/page/page-content/page-content.styles.d.ts +7 -0
  942. package/components/page/page-content/page-content.styles.d.ts.map +1 -0
  943. package/components/page/page.component.d.ts +16 -0
  944. package/components/page/page.component.d.ts.map +1 -0
  945. package/components/page/page.props.d.ts +15 -0
  946. package/components/page/page.props.d.ts.map +1 -0
  947. package/components/page/page.props.js +5 -1
  948. package/components/page/page.props.js.map +1 -1
  949. package/components/page/page.styles.d.ts +7 -0
  950. package/components/page/page.styles.d.ts.map +1 -0
  951. package/components/page/partial/partial.component.d.ts +12 -0
  952. package/components/page/partial/partial.component.d.ts.map +1 -0
  953. package/components/page/partial/partial.props.d.ts +6 -0
  954. package/components/page/partial/partial.props.d.ts.map +1 -0
  955. package/components/page/partial/partial.props.js.map +1 -1
  956. package/components/page/partial/partial.styles.d.ts +7 -0
  957. package/components/page/partial/partial.styles.d.ts.map +1 -0
  958. package/components/page/partial-container/partial-container.component.d.ts +11 -0
  959. package/components/page/partial-container/partial-container.component.d.ts.map +1 -0
  960. package/components/page/partial-container/partial-container.component.js.map +1 -1
  961. package/components/page/partial-container/partial-container.props.d.ts +11 -0
  962. package/components/page/partial-container/partial-container.props.d.ts.map +1 -0
  963. package/components/page/partial-container/partial-container.props.js +5 -2
  964. package/components/page/partial-container/partial-container.props.js.map +1 -1
  965. package/components/page/partial-container/partial-container.styles.d.ts +4 -0
  966. package/components/page/partial-container/partial-container.styles.d.ts.map +1 -0
  967. package/components/page/tabbar/curve.d.ts +2 -0
  968. package/components/page/tabbar/curve.d.ts.map +1 -0
  969. package/components/page/tabbar/tabbar.component.d.ts +42 -0
  970. package/components/page/tabbar/tabbar.component.d.ts.map +1 -0
  971. package/components/page/tabbar/tabbar.props.d.ts +15 -0
  972. package/components/page/tabbar/tabbar.props.d.ts.map +1 -0
  973. package/components/page/tabbar/tabbar.props.js +5 -2
  974. package/components/page/tabbar/tabbar.props.js.map +1 -1
  975. package/components/page/tabbar/tabbar.styles.d.ts +20 -0
  976. package/components/page/tabbar/tabbar.styles.d.ts.map +1 -0
  977. package/components/prefab/prefab-container.component.d.ts +12 -0
  978. package/components/prefab/prefab-container.component.d.ts.map +1 -0
  979. package/components/prefab/prefab-container.props.d.ts +6 -0
  980. package/components/prefab/prefab-container.props.d.ts.map +1 -0
  981. package/components/prefab/prefab-container.props.js.map +1 -1
  982. package/components/prefab/prefab-container.styles.d.ts +7 -0
  983. package/components/prefab/prefab-container.styles.d.ts.map +1 -0
  984. package/core/AppConfig.d.ts +46 -0
  985. package/core/AppConfig.d.ts.map +1 -0
  986. package/core/accessibility.d.ts +61 -0
  987. package/core/accessibility.d.ts.map +1 -0
  988. package/core/asset.provider.d.ts +4 -0
  989. package/core/asset.provider.d.ts.map +1 -0
  990. package/core/base.component.d.ts +191 -0
  991. package/core/base.component.d.ts.map +1 -0
  992. package/core/base.component.js +7 -10
  993. package/core/base.component.js.map +1 -1
  994. package/core/components/error-fallback/error-fallback.component.d.ts +4 -0
  995. package/core/components/error-fallback/error-fallback.component.d.ts.map +1 -0
  996. package/core/components/error-fallback/error-fallback.component.js +18 -50
  997. package/core/components/error-fallback/error-fallback.component.js.map +1 -1
  998. package/core/components/error-fallback/error-fallback.styles.d.ts +29 -0
  999. package/core/components/error-fallback/error-fallback.styles.d.ts.map +1 -0
  1000. package/core/components/error-fallback/error-fallback.styles.js +1 -4
  1001. package/core/components/error-fallback/error-fallback.styles.js.map +1 -1
  1002. package/core/components/floatinglabel.component.d.ts +8 -0
  1003. package/core/components/floatinglabel.component.d.ts.map +1 -0
  1004. package/core/components/sticky-base.component.d.ts +31 -0
  1005. package/core/components/sticky-base.component.d.ts.map +1 -0
  1006. package/core/components/sticky-container.component.d.ts +14 -0
  1007. package/core/components/sticky-container.component.d.ts.map +1 -0
  1008. package/core/components/sticky-container.styles.d.ts +11 -0
  1009. package/core/components/sticky-container.styles.d.ts.map +1 -0
  1010. package/core/components/sticky-nav.component.d.ts +14 -0
  1011. package/core/components/sticky-nav.component.d.ts.map +1 -0
  1012. package/core/components/textinput.component.d.ts +17 -0
  1013. package/core/components/textinput.component.d.ts.map +1 -0
  1014. package/core/constant.service.d.ts +18 -0
  1015. package/core/constant.service.d.ts.map +1 -0
  1016. package/core/constants/currency-constants.d.ts +1073 -0
  1017. package/core/constants/currency-constants.d.ts.map +1 -0
  1018. package/core/currency-constants.d.ts +2 -0
  1019. package/core/currency-constants.d.ts.map +1 -0
  1020. package/core/device/av-service.d.ts +13 -0
  1021. package/core/device/av-service.d.ts.map +1 -0
  1022. package/core/device/calendar-service.d.ts +25 -0
  1023. package/core/device/calendar-service.d.ts.map +1 -0
  1024. package/core/device/camera-service.d.ts +27 -0
  1025. package/core/device/camera-service.d.ts.map +1 -0
  1026. package/core/device/contacts-service.d.ts +17 -0
  1027. package/core/device/contacts-service.d.ts.map +1 -0
  1028. package/core/device/fileupload-service.d.ts +7 -0
  1029. package/core/device/fileupload-service.d.ts.map +1 -0
  1030. package/core/device/location-service.d.ts +17 -0
  1031. package/core/device/location-service.d.ts.map +1 -0
  1032. package/core/device/openfile-service.d.ts +52 -0
  1033. package/core/device/openfile-service.d.ts.map +1 -0
  1034. package/core/device/scan-service.d.ts +13 -0
  1035. package/core/device/scan-service.d.ts.map +1 -0
  1036. package/core/display.manager.d.ts +12 -0
  1037. package/core/display.manager.d.ts.map +1 -0
  1038. package/core/error-boundary.component.d.ts +21 -0
  1039. package/core/error-boundary.component.d.ts.map +1 -0
  1040. package/core/error-boundary.component.js +1 -17
  1041. package/core/error-boundary.component.js.map +1 -1
  1042. package/core/event-notifier.d.ts +14 -0
  1043. package/core/event-notifier.d.ts.map +1 -0
  1044. package/core/file-extension-types.d.ts +2 -0
  1045. package/core/file-extension-types.d.ts.map +1 -0
  1046. package/core/fixed-view.component.d.ts +33 -0
  1047. package/core/fixed-view.component.d.ts.map +1 -0
  1048. package/core/fixed-view.component.js +2 -19
  1049. package/core/fixed-view.component.js.map +1 -1
  1050. package/core/formatters.d.ts +28 -0
  1051. package/core/formatters.d.ts.map +1 -0
  1052. package/core/i18n.service.d.ts +6 -0
  1053. package/core/i18n.service.d.ts.map +1 -0
  1054. package/core/if.component.d.ts +12 -0
  1055. package/core/if.component.d.ts.map +1 -0
  1056. package/core/imageSizeEstimator.d.ts +14 -0
  1057. package/core/imageSizeEstimator.d.ts.map +1 -0
  1058. package/core/injector.d.ts +18 -0
  1059. package/core/injector.d.ts.map +1 -0
  1060. package/core/key.extractor.d.ts +7 -0
  1061. package/core/key.extractor.d.ts.map +1 -0
  1062. package/core/logger.d.ts +26 -0
  1063. package/core/logger.d.ts.map +1 -0
  1064. package/core/modal.service.d.ts +22 -0
  1065. package/core/modal.service.d.ts.map +1 -0
  1066. package/core/navigation.service.d.ts +32 -0
  1067. package/core/navigation.service.d.ts.map +1 -0
  1068. package/core/network.service.d.ts +114 -0
  1069. package/core/network.service.d.ts.map +1 -0
  1070. package/core/partial.service.d.ts +10 -0
  1071. package/core/partial.service.d.ts.map +1 -0
  1072. package/core/props.provider.d.ts +19 -0
  1073. package/core/props.provider.d.ts.map +1 -0
  1074. package/core/responsive.utils.d.ts +24 -0
  1075. package/core/responsive.utils.d.ts.map +1 -0
  1076. package/core/screen-capture-protection.service.d.ts +8 -0
  1077. package/core/screen-capture-protection.service.d.ts.map +1 -0
  1078. package/core/scroll-view.component.d.ts +19 -0
  1079. package/core/scroll-view.component.d.ts.map +1 -0
  1080. package/core/secure-storage.service.d.ts +10 -0
  1081. package/core/secure-storage.service.d.ts.map +1 -0
  1082. package/core/security.service.d.ts +13 -0
  1083. package/core/security.service.d.ts.map +1 -0
  1084. package/core/spinner.service.d.ts +13 -0
  1085. package/core/spinner.service.d.ts.map +1 -0
  1086. package/core/sticky-view.component.d.ts +21 -0
  1087. package/core/sticky-view.component.d.ts.map +1 -0
  1088. package/core/sticky-wrapper.d.ts +31 -0
  1089. package/core/sticky-wrapper.d.ts.map +1 -0
  1090. package/core/storage.service.d.ts +11 -0
  1091. package/core/storage.service.d.ts.map +1 -0
  1092. package/core/tappable.component.d.ts +40 -0
  1093. package/core/tappable.component.d.ts.map +1 -0
  1094. package/core/tappable.component.js +4 -7
  1095. package/core/tappable.component.js.map +1 -1
  1096. package/core/testid.provider.d.ts +4 -0
  1097. package/core/testid.provider.d.ts.map +1 -0
  1098. package/core/toast.service.d.ts +24 -0
  1099. package/core/toast.service.d.ts.map +1 -0
  1100. package/core/toast.service.js.map +1 -1
  1101. package/core/ui-preferences.context.d.ts +11 -0
  1102. package/core/ui-preferences.context.d.ts.map +1 -0
  1103. package/core/utils.d.ts +167 -0
  1104. package/core/utils.d.ts.map +1 -0
  1105. package/core/viewport.d.ts +19 -0
  1106. package/core/viewport.d.ts.map +1 -0
  1107. package/core/wm-component-tree.d.ts +22 -0
  1108. package/core/wm-component-tree.d.ts.map +1 -0
  1109. package/gestures/carousel-swipe.animation.d.ts +56 -0
  1110. package/gestures/carousel-swipe.animation.d.ts.map +1 -0
  1111. package/gestures/swipe.animation.d.ts +51 -0
  1112. package/gestures/swipe.animation.d.ts.map +1 -0
  1113. package/index.d.ts +2 -0
  1114. package/index.d.ts.map +1 -0
  1115. package/package.json +2 -2
  1116. package/runtime/App.d.ts +129 -0
  1117. package/runtime/App.d.ts.map +1 -0
  1118. package/runtime/App.js +13 -124
  1119. package/runtime/App.js.map +1 -1
  1120. package/runtime/App.navigator.d.ts +11 -0
  1121. package/runtime/App.navigator.d.ts.map +1 -0
  1122. package/runtime/base-customwidget.component.d.ts +24 -0
  1123. package/runtime/base-customwidget.component.d.ts.map +1 -0
  1124. package/runtime/base-fragment.component.d.ts +91 -0
  1125. package/runtime/base-fragment.component.d.ts.map +1 -0
  1126. package/runtime/base-fragment.component.js +1 -1
  1127. package/runtime/base-fragment.component.js.map +1 -1
  1128. package/runtime/base-page.component.d.ts +42 -0
  1129. package/runtime/base-page.component.d.ts.map +1 -0
  1130. package/runtime/base-page.component.js +2 -11
  1131. package/runtime/base-page.component.js.map +1 -1
  1132. package/runtime/base-partial.component.d.ts +29 -0
  1133. package/runtime/base-partial.component.d.ts.map +1 -0
  1134. package/runtime/base-prefab.component.d.ts +29 -0
  1135. package/runtime/base-prefab.component.d.ts.map +1 -0
  1136. package/runtime/lib-patch.d.ts +8 -0
  1137. package/runtime/lib-patch.d.ts.map +1 -0
  1138. package/runtime/memo.component.d.ts +20 -0
  1139. package/runtime/memo.component.d.ts.map +1 -0
  1140. package/runtime/navigator/drawer.navigator.d.ts +14 -0
  1141. package/runtime/navigator/drawer.navigator.d.ts.map +1 -0
  1142. package/runtime/navigator/drawer.navigator.js +0 -1
  1143. package/runtime/navigator/drawer.navigator.js.map +1 -1
  1144. package/runtime/navigator/stack.navigator.d.ts +8 -0
  1145. package/runtime/navigator/stack.navigator.d.ts.map +1 -0
  1146. package/runtime/platform.api.d.ts +13 -0
  1147. package/runtime/platform.api.d.ts.map +1 -0
  1148. package/runtime/services/app-display-manager.service.d.ts +16 -0
  1149. package/runtime/services/app-display-manager.service.d.ts.map +1 -0
  1150. package/runtime/services/app-i18n.service.d.ts +33 -0
  1151. package/runtime/services/app-i18n.service.d.ts.map +1 -0
  1152. package/runtime/services/app-modal.service.d.ts +19 -0
  1153. package/runtime/services/app-modal.service.d.ts.map +1 -0
  1154. package/runtime/services/app-security.service.d.ts +30 -0
  1155. package/runtime/services/app-security.service.d.ts.map +1 -0
  1156. package/runtime/services/app-spinner.service.d.ts +20 -0
  1157. package/runtime/services/app-spinner.service.d.ts.map +1 -0
  1158. package/runtime/services/app-toast.service.d.ts +13 -0
  1159. package/runtime/services/app-toast.service.d.ts.map +1 -0
  1160. package/runtime/services/device/calendar-service.d.ts +11 -0
  1161. package/runtime/services/device/calendar-service.d.ts.map +1 -0
  1162. package/runtime/services/device/camera-service.d.ts +63 -0
  1163. package/runtime/services/device/camera-service.d.ts.map +1 -0
  1164. package/runtime/services/device/camera-service.js +20 -31
  1165. package/runtime/services/device/camera-service.js.map +1 -1
  1166. package/runtime/services/device/contacts-service.d.ts +7 -0
  1167. package/runtime/services/device/contacts-service.d.ts.map +1 -0
  1168. package/runtime/services/device/location-service.d.ts +6 -0
  1169. package/runtime/services/device/location-service.d.ts.map +1 -0
  1170. package/runtime/services/device/permission-service.d.ts +7 -0
  1171. package/runtime/services/device/permission-service.d.ts.map +1 -0
  1172. package/runtime/services/device/permissions.d.ts +5 -0
  1173. package/runtime/services/device/permissions.d.ts.map +1 -0
  1174. package/runtime/services/device/scan-service.d.ts +19 -0
  1175. package/runtime/services/device/scan-service.d.ts.map +1 -0
  1176. package/runtime/services/partial.service.d.ts +12 -0
  1177. package/runtime/services/partial.service.d.ts.map +1 -0
  1178. package/runtime/services/webprocess.service.d.ts +10 -0
  1179. package/runtime/services/webprocess.service.d.ts.map +1 -0
  1180. package/runtime/watcher.d.ts +33 -0
  1181. package/runtime/watcher.d.ts.map +1 -0
  1182. package/styles/MediaQueryList.d.ts +6 -0
  1183. package/styles/MediaQueryList.d.ts.map +1 -0
  1184. package/styles/background.component.d.ts +57 -0
  1185. package/styles/background.component.d.ts.map +1 -0
  1186. package/styles/background.component.js +2 -2
  1187. package/styles/background.component.js.map +1 -1
  1188. package/styles/calc.d.ts +24 -0
  1189. package/styles/calc.d.ts.map +1 -0
  1190. package/styles/color-mix.d.ts +5 -0
  1191. package/styles/color-mix.d.ts.map +1 -0
  1192. package/styles/style-prop.validator.d.ts +4 -0
  1193. package/styles/style-prop.validator.d.ts.map +1 -0
  1194. package/styles/style-props.d.ts +49 -0
  1195. package/styles/style-props.d.ts.map +1 -0
  1196. package/styles/theme.d.ts +66 -0
  1197. package/styles/theme.d.ts.map +1 -0
  1198. package/styles/theme.js +11 -27
  1199. package/styles/theme.js.map +1 -1
  1200. package/styles/theme.variables.d.ts +379 -0
  1201. package/styles/theme.variables.d.ts.map +1 -0
  1202. package/styles/theme.variables.js +0 -2
  1203. package/styles/theme.variables.js.map +1 -1
  1204. package/variables/base-variable.d.ts +50 -0
  1205. package/variables/base-variable.d.ts.map +1 -0
  1206. package/variables/device/calendar/create-event.operation.d.ts +18 -0
  1207. package/variables/device/calendar/create-event.operation.d.ts.map +1 -0
  1208. package/variables/device/calendar/delete-event.operation.d.ts +14 -0
  1209. package/variables/device/calendar/delete-event.operation.d.ts.map +1 -0
  1210. package/variables/device/calendar/get-events.operation.d.ts +18 -0
  1211. package/variables/device/calendar/get-events.operation.d.ts.map +1 -0
  1212. package/variables/device/camera/capture-image.operation.d.ts +14 -0
  1213. package/variables/device/camera/capture-image.operation.d.ts.map +1 -0
  1214. package/variables/device/camera/capture-video.operation.d.ts +14 -0
  1215. package/variables/device/camera/capture-video.operation.d.ts.map +1 -0
  1216. package/variables/device/contacts/get-contacts.operation.d.ts +19 -0
  1217. package/variables/device/contacts/get-contacts.operation.d.ts.map +1 -0
  1218. package/variables/device/device/app-info.operation.d.ts +13 -0
  1219. package/variables/device/device/app-info.operation.d.ts.map +1 -0
  1220. package/variables/device/device/current-geo-position.operation.d.ts +31 -0
  1221. package/variables/device/device/current-geo-position.operation.d.ts.map +1 -0
  1222. package/variables/device/device/device-info.operation.d.ts +11 -0
  1223. package/variables/device/device/device-info.operation.d.ts.map +1 -0
  1224. package/variables/device/device/network-info.operation.d.ts +14 -0
  1225. package/variables/device/device/network-info.operation.d.ts.map +1 -0
  1226. package/variables/device/device/vibrate.operation.d.ts +8 -0
  1227. package/variables/device/device/vibrate.operation.d.ts.map +1 -0
  1228. package/variables/device/file/open-file.operation.d.ts +31 -0
  1229. package/variables/device/file/open-file.operation.d.ts.map +1 -0
  1230. package/variables/device/file/upload-file.operation.d.ts +23 -0
  1231. package/variables/device/file/upload-file.operation.d.ts.map +1 -0
  1232. package/variables/device/operation.provider.d.ts +15 -0
  1233. package/variables/device/operation.provider.d.ts.map +1 -0
  1234. package/variables/device/scan/scan.operation.d.ts +21 -0
  1235. package/variables/device/scan/scan.operation.d.ts.map +1 -0
  1236. package/variables/device-variable.d.ts +10 -0
  1237. package/variables/device-variable.d.ts.map +1 -0
  1238. package/variables/http.service.d.ts +11 -0
  1239. package/variables/http.service.d.ts.map +1 -0
  1240. package/variables/live-variable.d.ts +44 -0
  1241. package/variables/live-variable.d.ts.map +1 -0
  1242. package/variables/model-variable.d.ts +10 -0
  1243. package/variables/model-variable.d.ts.map +1 -0
  1244. package/variables/service-variable.d.ts +33 -0
  1245. package/variables/service-variable.d.ts.map +1 -0
  1246. package/variables/utils/dataset-util.d.ts +32 -0
  1247. package/variables/utils/dataset-util.d.ts.map +1 -0
  1248. package/variables/utils/inflight-queue.d.ts +36 -0
  1249. package/variables/utils/inflight-queue.d.ts.map +1 -0
  1250. package/variables/utils/variable.constants.d.ts +22 -0
  1251. package/variables/utils/variable.constants.d.ts.map +1 -0
  1252. package/variables/utils/variable.utils.d.ts +21 -0
  1253. package/variables/utils/variable.utils.d.ts.map +1 -0
  1254. package/core/advanced-promise-rejection-tracker.js +0 -208
  1255. package/core/advanced-promise-rejection-tracker.js.map +0 -1
  1256. package/core/global-error-handler.service.js +0 -103
  1257. package/core/global-error-handler.service.js.map +0 -1
  1258. package/npm-shrinkwrap.json +0 -26091
  1259. package/package-lock.json +0 -26091
@@ -1 +1 @@
1
- {"version":3,"names":["React","Image","View","EXPOImage","isNumber","Tappable","BaseComponent","BaseComponentState","ImageSizeEstimator","isFullPathUrl","AccessibilityWidgetType","getAccessibilityProps","WmPictureProps","DEFAULT_CLASS","Animatedview","createSkeleton","WmPictureState","constructor","args","_defineProperty","WmPicture","props","e","_this$styles","_this$styles2","_this$styles3","imageWidth","nativeEvent","layout","width","imageHeight","height","styles","root","includes","state","aspectratio","parseFloat","naturalImageHeight","naturalImageWidth","updateState","originalContainerWidth","originalContainerHeight","imageElement","loadImage","image","loadAsset","imageSrc","default","resolveAssetSource","cancel","getSize","cleanup","splice","indexOf","picturesource","_cleanupTracker","push","componentDidUpdate","prevProps","prevState","snapshot","forEach","func","onPropertyChange","name","$new","$old","_pictureSource","_picturePlaceHolder","createShape","shape","picture","borderRadius","theme","mergeStyle","getStyle","getContentFit","resizemode","mapping","toLowerCase","getElementToShow","imgSrc","shapeStyles","elementToshow","source","imgStyle","createElement","uri","_props$resizemode","_props$resizemode2","_extends","cachePolicy","getTestProps","style","fastload","opacity","contentFit","resizeMode","renderSkeleton","_this$styles$root","_shapeStyles$root","_shapeStyles$picture","_this$styles$root2","_shapeStyles$root2","_shapeStyles$picture2","_this$styles$root3","_shapeStyles$picture3","_shapeStyles$root3","_this$styles$root4","skeletonWidth","skeletonwidth","skeletonHeight","skeletonheight","skeleton","calculateBasedOnaspectratio","calculateBasedOnNaturalDimensions","widthAndHeightExistsInProps","renderWidget","_shapeStyles$picture4","aspectDimensions","naturalDimensions","dimensions","pictureplaceholder","isSvg","onLayout","event","handleLayout","_background","overflow","onViewLayoutChange","disableTouchEffect","disabletoucheffect","getTestPropsForAction","rippleColor","target","entryanimation","animation","delay","animationdelay","accessibilityProps","PICTURE","showImage"],"sources":["picture.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Image, LayoutChangeEvent, View } from 'react-native';\nimport {Image as EXPOImage} from 'expo-image';\nimport { isNumber } from 'lodash-es';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport ImageSizeEstimator from '@wavemaker/app-rn-runtime/core/imageSizeEstimator';\nimport { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nimport WmPictureProps from './picture.props';\nimport { DEFAULT_CLASS, WmPictureStyles } from './picture.styles';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\nexport class WmPictureState extends BaseComponentState<WmPictureProps> {\n naturalImageWidth: number = 0;\n naturalImageHeight: number = 0;\n imageWidth: number = 0;\n imageHeight: number = 0;\n originalContainerWidth: number = 0;\n originalContainerHeight: number = 0;\n}\n\nexport default class WmPicture extends BaseComponent<WmPictureProps, WmPictureState, WmPictureStyles> {\n\n private _pictureSource = null as any;\n private _picturePlaceHolder = null as any;\n\n // The below property will be used to track and remove the calculateImageSize listenrs of individual picturesource\n private _cleanupTracker = {} as any\n\n constructor(props: WmPictureProps) {\n super(props, DEFAULT_CLASS, new WmPictureProps());\n }\n\n loadImage(image: string | undefined) {\n if (!image || !this.loadAsset) {\n return null;\n }\n const imageSrc = this.loadAsset(image) as any;\n if (imageSrc && typeof imageSrc === 'object' && typeof imageSrc.default === 'function') {\n return null;\n }\n // if(this.state.props.aspectratio) {\n // return imageSrc;\n // }\n if (isNumber(imageSrc)) {\n const {width, height} = Image.resolveAssetSource(imageSrc);\n this.updateState({\n naturalImageWidth: width,\n naturalImageHeight: height\n } as WmPictureState);\n } else if (imageSrc !== null) {\n const cancel = ImageSizeEstimator.getSize(imageSrc, (width: number, height: number) => {\n this.updateState({\n naturalImageWidth: width,\n naturalImageHeight: height\n } as WmPictureState);\n this.cleanup.splice(this.cleanup.indexOf(cancel), 1);\n });\n if(this.props.picturesource && this._cleanupTracker[this.props.picturesource]) {\n this._cleanupTracker[this.props.picturesource].push(cancel)\n } else if(this.props.picturesource && !this._cleanupTracker[this.props.picturesource]) {\n this._cleanupTracker[this.props.picturesource] = [];\n this._cleanupTracker[this.props.picturesource].push(cancel)\n }\n this.cleanup.push(cancel);\n }\n return imageSrc;\n }\n\n // Check if the image source prop is changed from previous update to remove all listeners\n componentDidUpdate(prevProps: Readonly<WmPictureProps>, prevState: Readonly<WmPictureState>, snapshot?: any): void {\n if(this.state.props.picturesource !== prevProps.picturesource) {\n if(prevProps.picturesource && this._cleanupTracker[prevProps.picturesource]) {\n this._cleanupTracker[prevProps.picturesource].forEach((func: any) => {\n func();\n }); \n this._cleanupTracker[prevProps.picturesource] = []\n delete this._cleanupTracker[prevProps.picturesource] \n }\n }\n super.componentDidUpdate(prevProps, prevState)\n }\n\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch(name) {\n case 'picturesource':\n this._pictureSource = null;\n case 'pictureplaceholder':\n this._picturePlaceHolder = null;\n break;\n }\n }\n\n onViewLayoutChange = (e: LayoutChangeEvent) => {\n let imageWidth = e.nativeEvent.layout.width;\n let imageHeight = e.nativeEvent.layout.height;\n if (!imageWidth && !imageHeight) {\n return;\n }\n if (!this.styles?.root.height\n || (typeof this.styles?.root.height === 'string'\n && !this.styles?.root.height.includes('%'))) {\n imageHeight = 0;\n }\n if(this.state.props.aspectratio && !imageHeight && imageWidth) {\n imageHeight = imageWidth / parseFloat(this.state.props.aspectratio as string)\n } else if (this.state.props.aspectratio && !imageWidth && imageHeight) {\n imageWidth = imageWidth * parseFloat(this.state.props.aspectratio as string)\n } else if (imageWidth && !imageHeight) {\n imageHeight = imageWidth * this.state.naturalImageHeight / this.state.naturalImageWidth;\n } else if (imageHeight && !imageWidth) {\n imageWidth = imageHeight * this.state.naturalImageWidth / this.state.naturalImageHeight;\n }\n this.updateState({\n imageWidth: imageWidth,\n imageHeight: imageHeight,\n originalContainerWidth: this.styles.root.width ? e.nativeEvent.layout.width : 0,\n originalContainerHeight: this.styles.root.height ? e.nativeEvent.layout.height: 0\n } as WmPictureState);\n };\n\n createShape(shape: string | undefined, imageWidth?: number | string): WmPictureStyles {\n if (shape) {\n switch(shape) {\n case 'circle':\n return {\n picture: {\n borderRadius: isNumber(imageWidth) ? imageWidth / 2 : 4\n }\n } as WmPictureStyles;\n case 'rounded' :\n return (this.theme.mergeStyle({}, this.theme.getStyle('rounded-image')));\n case 'thumbnail' :\n return (this.theme.mergeStyle({}, this.theme.getStyle('thumbnail-image')));\n }\n }\n return {} as WmPictureStyles;\n }\n\n private getContentFit(resizemode: string): 'contain' | 'cover' | 'fill' | 'scale-down' | 'none' {\n if (!resizemode) return 'cover';\n const mapping: Record<string, 'contain' | 'cover' | 'fill' | 'scale-down' | 'none'> = {\n 'contain': 'contain',\n 'cover': 'cover',\n 'fill': 'fill',\n 'none': 'none',\n 'scale-down': 'scale-down',\n 'stretch': 'fill',\n 'center': 'none',\n 'repeat': 'none',\n };\n return mapping[resizemode?.toLowerCase()] || 'cover';\n }\n\n getElementToShow(props: WmPictureProps, imgSrc: any, shapeStyles: WmPictureStyles) {\n let elementToshow, source;\n if (imgSrc && typeof imgSrc === 'object' && typeof imgSrc?.default === 'function') {\n let imgStyle : any = {};\n if (props.resizemode === 'contain') {\n imgStyle['width'] = '100%';\n imgStyle['height'] = '100%';\n }\n elementToshow = React.createElement(imgSrc?.default, imgStyle);\n //} else if (!isWebPreviewMode() && props.isSvg) {\n // svg from uri\n // elementToshow = <SvgUri testID={this.getTestId('picture')} width={this.styles.root.width as NumberProp} height={this.styles.root.height as NumberProp} uri={imgSrc}/>;\n } else if (isFullPathUrl(imgSrc)) {\n source = {\n uri: imgSrc\n };\n } else {\n source = imgSrc;\n }\n if (this.state.naturalImageWidth || this.state.props.aspectratio) {\n\n if (props.resizemode?.toLowerCase() !== 'repeat' && props.resizemode?.toLowerCase() !== 'center') {\n elementToshow = (\n // * INFO: if any issue arises like freezing of application because of \n // * rendering large number of images, check the cache policy.\n <EXPOImage\n cachePolicy='memory' \n {...this.getTestProps('picture')}\n style={[this.styles.picture, shapeStyles.picture, (props.fastload || this.state.imageWidth) ? {opacity: 1} : {opacity: 0} ]}\n contentFit={this.getContentFit(props.resizemode)}\n source={source}\n />\n );\n }\n else {\n elementToshow = (\n <Image\n {...this.getTestProps('picture')}\n style={[this.styles.picture, shapeStyles.picture, (props.fastload || this.state.imageWidth) ? {opacity: 1} : {opacity: 0} ]}\n resizeMode={props.resizemode}\n source={source}\n />\n ); \n }\n }\n return elementToshow;\n }\n\n public renderSkeleton(props: WmPictureProps){\n const imageWidth = this.state.imageWidth;\n const imageHeight = this.state.imageHeight;\n const shapeStyles = this.createShape(this.props.shape, imageWidth);\n const skeletonWidth = this.props.skeletonwidth || this.styles.root?.width || shapeStyles.root?.width || shapeStyles.picture?.width || imageWidth;\n const skeletonHeight = this.props.skeletonheight || this.styles.root?.height || shapeStyles.root?.height || shapeStyles.picture?.height || imageHeight;\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n borderRadius: this.props.shape == 'circle' && this.styles.root?.width ? 25 : shapeStyles.picture?.borderRadius || shapeStyles.root?.borderRadius || this.styles.root?.borderRadius || 4,\n width: skeletonWidth as DimensionValue,\n height: skeletonHeight as DimensionValue\n });\n }\n\n showImage = (imageElement: any, props: WmPictureProps) => {\n return imageElement;\n }\n\n\n //TODO: remove the re calculation logic later. Keeping it as an extra safety. \n calculateBasedOnaspectratio(): {imageWidth: number, imageHeight: number} | null {\n if(this.state.props.aspectratio) {\n if(this.state.originalContainerWidth) {\n return {\n imageHeight: this.state.originalContainerWidth / parseFloat(this.state.props.aspectratio as string),\n imageWidth: this.state.originalContainerWidth\n }\n } else if(this.state.originalContainerHeight) {\n return {\n imageHeight: this.state.originalContainerHeight, \n imageWidth: this.state.originalContainerHeight * parseFloat(this.state.props.aspectratio as string),\n }\n }\n }\n return null\n }\n \n //TODO: remove the re calculation logic later. Keeping it as an extra safety. \n calculateBasedOnNaturalDimensions(): {imageWidth: number, imageHeight: number} | null {\n // No need to calculate width & height if the user already passign them explicitly from props. \n const widthAndHeightExistsInProps = this.styles.root.width && this.styles.root.height\n if(!this.state.props.aspectratio && !widthAndHeightExistsInProps) {\n if(this.state.originalContainerWidth) {\n return {\n imageHeight: this.state.originalContainerWidth * this.state.naturalImageHeight / this.state.naturalImageWidth,\n imageWidth: this.state.originalContainerWidth\n }\n } else if(this.state.originalContainerHeight) {\n return {\n imageHeight: this.state.originalContainerHeight, \n imageWidth: this.state.originalContainerHeight * this.state.naturalImageWidth / this.state.naturalImageHeight\n }\n }\n }\n return null\n }\n \n\n renderWidget(props: WmPictureProps) {\n let imageWidth = this.state.imageWidth;\n let imageHeight = this.state.imageHeight;\n\n\n //TODO: remove the re calculation logic later. Keeping it as an extra safety. \n const aspectDimensions = this.calculateBasedOnaspectratio();\n const naturalDimensions = this.calculateBasedOnNaturalDimensions();\n if(aspectDimensions) {\n const dimensions = aspectDimensions as {imageWidth: number, imageHeight: number}\n imageWidth = dimensions.imageWidth;\n imageHeight = dimensions.imageHeight\n } else if(naturalDimensions) {\n const dimensions = naturalDimensions as {imageWidth: number, imageHeight: number}\n imageHeight = dimensions.imageHeight\n imageWidth = dimensions.imageWidth\n }\n const shapeStyles = this.createShape(props.shape, imageWidth);\n this._pictureSource = this._pictureSource || this.loadImage(props.picturesource);\n this._picturePlaceHolder = props.fastload ? \n (this._pictureSource || this._picturePlaceHolder || this.loadImage(props.pictureplaceholder)) :\n (this._picturePlaceHolder || this.loadImage(props.pictureplaceholder));\n const imgSrc: any = this._pictureSource || this._picturePlaceHolder;\n let elementToshow;\n if (imgSrc) {\n elementToshow = this.getElementToShow(props, imgSrc, shapeStyles);\n }\n return imgSrc && (this.state.naturalImageWidth || props.isSvg || props.aspectratio) ? (\n <View \n style={[{\n width: imageWidth,\n height: imageHeight\n }, this.styles.root, shapeStyles.root, shapeStyles.picture]}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n <View style={[{overflow: 'hidden', width: '100%',\n height: '100%'}]} onLayout={this.onViewLayoutChange}>\n <Tappable\n disableTouchEffect={this.state.props.disabletoucheffect}\n {...this.getTestPropsForAction()}\n rippleColor={this.styles.root.rippleColor}\n target={this} styles={{width: imageWidth ? null : '100%', height: imageHeight ? null : '100%'}}>\n <Animatedview entryanimation={props.animation} delay={props.animationdelay} style={[{\n height: imageHeight,\n width: imageWidth,\n borderRadius: shapeStyles.picture?.borderRadius\n }]}\n accessibilityProps={{...getAccessibilityProps(AccessibilityWidgetType.PICTURE, props)}}>\n {this.showImage(elementToshow, props)}\n </Animatedview>\n </Tappable>\n </View>\n </View>\n ): null;\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAA0BC,KAAK,EAAqBC,IAAI,QAAQ,cAAc;AAC9E,SAAQD,KAAK,IAAIE,SAAS,QAAO,YAAY;AAC7C,SAASC,QAAQ,QAAQ,WAAW;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AAG,MAAM;QAAEK,MAAM,EAAED,WAAW,GAAG,IAAI,GAAG;MAAM;IAAE,iBAC/F9B,KAAA,CAAAuF,aAAA,CAACzE,YAAY;MAAC0H,cAAc,EAAEnH,KAAK,CAACoH,SAAU;MAACC,KAAK,EAAErH,KAAK,CAACsH,cAAe;MAAC7C,KAAK,EAAE,CAAC;QAC9E/D,MAAM,EAAED,WAAW;QACnBD,KAAK,EAAEH,UAAU;QACjB+C,YAAY,GAAA8C,qBAAA,GAAEpC,WAAW,CAACX,OAAO,cAAA+C,qBAAA,uBAAnBA,qBAAA,CAAqB9C;MACrC,CAAC,CAAE;MACLmE,kBAAkB,EAAE;QAAC,GAAGjI,qBAAqB,CAACD,uBAAuB,CAACmI,OAAO,EAAExH,KAAK;MAAC;IAAE,GAClF,IAAI,CAACyH,SAAS,CAAC1D,aAAa,EAAE/D,KAAK,CAC1B,CACN,CACN,CACF,CAAC,GACN,IAAI;EACT;AACF","ignoreList":[]}
1
+ {"version":3,"names":["React","Image","View","EXPOImage","isNumber","isString","Tappable","BaseComponent","BaseComponentState","ImageSizeEstimator","isFullPathUrl","AccessibilityWidgetType","getAccessibilityProps","WmPictureProps","DEFAULT_CLASS","Animatedview","createSkeleton","WmPictureState","constructor","args","_defineProperty","WmPicture","props","e","_this$styles","_this$styles2","_this$styles3","imageWidth","nativeEvent","layout","width","imageHeight","height","styles","root","includes","state","aspectratio","parseFloat","naturalImageHeight","naturalImageWidth","updateState","originalContainerWidth","originalContainerHeight","imageElement","loadImage","image","loadAsset","imageSrc","default","resolveAssetSource","cancel","getSize","cleanup","splice","indexOf","picturesource","_cleanupTracker","push","componentDidUpdate","prevProps","prevState","snapshot","forEach","func","onPropertyChange","name","$new","$old","_pictureSource","_picturePlaceHolder","createShape","shape","picture","borderRadius","theme","getStyle","getElementToShow","imgSrc","shapeStyles","elementToshow","source","imgStyle","resizemode","createElement","uri","_extends","cachePolicy","getTestProps","style","fastload","opacity","contentFit","renderSkeleton","_this$styles$root","_shapeStyles$root","_shapeStyles$picture","_this$styles$root2","_shapeStyles$root2","_shapeStyles$picture2","_this$styles$root3","_shapeStyles$picture3","_shapeStyles$root3","_this$styles$root4","skeletonWidth","skeletonwidth","skeletonHeight","skeletonheight","skeleton","calculateBasedOnaspectratio","calculateBasedOnNaturalDimensions","widthAndHeightExistsInProps","renderWidget","_shapeStyles$picture4","aspectDimensions","naturalDimensions","dimensions","pictureplaceholder","isSvg","onLayout","event","handleLayout","_background","overflow","onViewLayoutChange","disableTouchEffect","disabletoucheffect","getTestPropsForAction","rippleColor","target","entryanimation","animation","delay","animationdelay","accessibilityProps","PICTURE","showImage"],"sources":["picture.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Image, LayoutChangeEvent, View } from 'react-native';\nimport {Image as EXPOImage} from 'expo-image';\nimport { isNumber, isString } from 'lodash-es';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport ImageSizeEstimator from '@wavemaker/app-rn-runtime/core/imageSizeEstimator';\nimport { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nimport WmPictureProps from './picture.props';\nimport { DEFAULT_CLASS, WmPictureStyles } from './picture.styles';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\nexport class WmPictureState extends BaseComponentState<WmPictureProps> {\n naturalImageWidth: number = 0;\n naturalImageHeight: number = 0;\n imageWidth: number = 0;\n imageHeight: number = 0;\n originalContainerWidth: number = 0;\n originalContainerHeight: number = 0;\n}\n\nexport default class WmPicture extends BaseComponent<WmPictureProps, WmPictureState, WmPictureStyles> {\n\n private _pictureSource = null as any;\n private _picturePlaceHolder = null as any;\n\n // The below property will be used to track and remove the calculateImageSize listenrs of individual picturesource\n private _cleanupTracker = {} as any\n\n constructor(props: WmPictureProps) {\n super(props, DEFAULT_CLASS, new WmPictureProps());\n }\n\n loadImage(image: string | number | undefined) {\n if (!image || !this.loadAsset) {\n return null;\n }\n const imageSrc = isString(image) ? this.loadAsset(image) as any : image;\n if (imageSrc && typeof imageSrc === 'object' && typeof imageSrc.default === 'function') {\n return null;\n }\n // if(this.state.props.aspectratio) {\n // return imageSrc;\n // }\n if (isNumber(imageSrc)) {\n const {width, height} = Image.resolveAssetSource(imageSrc);\n this.updateState({\n naturalImageWidth: width,\n naturalImageHeight: height\n } as WmPictureState);\n } else if (imageSrc !== null) {\n const cancel = ImageSizeEstimator.getSize(imageSrc, (width: number, height: number) => {\n this.updateState({\n naturalImageWidth: width,\n naturalImageHeight: height\n } as WmPictureState);\n this.cleanup.splice(this.cleanup.indexOf(cancel), 1);\n });\n if(this.props.picturesource && this._cleanupTracker[this.props.picturesource]) {\n this._cleanupTracker[this.props.picturesource].push(cancel)\n } else if(this.props.picturesource && !this._cleanupTracker[this.props.picturesource]) {\n this._cleanupTracker[this.props.picturesource] = [];\n this._cleanupTracker[this.props.picturesource].push(cancel)\n }\n this.cleanup.push(cancel);\n }\n return imageSrc;\n }\n\n // Check if the image source prop is changed from previous update to remove all listeners\n componentDidUpdate(prevProps: Readonly<WmPictureProps>, prevState: Readonly<WmPictureState>, snapshot?: any): void {\n if(this.state.props.picturesource !== prevProps.picturesource) {\n if(prevProps.picturesource && this._cleanupTracker[prevProps.picturesource]) {\n this._cleanupTracker[prevProps.picturesource].forEach((func: any) => {\n func();\n }); \n this._cleanupTracker[prevProps.picturesource] = []\n delete this._cleanupTracker[prevProps.picturesource] \n }\n }\n super.componentDidUpdate(prevProps, prevState)\n }\n\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch(name) {\n case 'picturesource':\n this._pictureSource = null;\n case 'pictureplaceholder':\n this._picturePlaceHolder = null;\n break;\n }\n }\n\n onViewLayoutChange = (e: LayoutChangeEvent) => {\n let imageWidth = e.nativeEvent.layout.width;\n let imageHeight = e.nativeEvent.layout.height;\n if (!imageWidth && !imageHeight) {\n return;\n }\n if (!this.styles?.root.height\n || (typeof this.styles?.root.height === 'string'\n && !this.styles?.root.height.includes('%'))) {\n imageHeight = 0;\n }\n if(this.state.props.aspectratio && !imageHeight && imageWidth) {\n imageHeight = imageWidth / parseFloat(this.state.props.aspectratio as string)\n } else if (this.state.props.aspectratio && !imageWidth && imageHeight) {\n imageWidth = imageWidth * parseFloat(this.state.props.aspectratio as string)\n } else if (imageWidth && !imageHeight) {\n imageHeight = imageWidth * this.state.naturalImageHeight / this.state.naturalImageWidth;\n } else if (imageHeight && !imageWidth) {\n imageWidth = imageHeight * this.state.naturalImageWidth / this.state.naturalImageHeight;\n }\n this.updateState({\n imageWidth: imageWidth,\n imageHeight: imageHeight,\n originalContainerWidth: this.styles.root.width ? e.nativeEvent.layout.width : 0,\n originalContainerHeight: this.styles.root.height ? e.nativeEvent.layout.height: 0\n } as WmPictureState);\n };\n\n createShape(shape: string | undefined, imageWidth?: number | string): WmPictureStyles {\n if (shape) {\n switch(shape) {\n case 'circle':\n return {\n picture: {\n borderRadius: isNumber(imageWidth) ? imageWidth / 2 : 4\n }\n } as WmPictureStyles;\n case 'rounded' :\n return (this.theme.getStyle('rounded-image') as WmPictureStyles);\n case 'thumbnail' :\n return (this.theme.getStyle('thumbnail-image') as WmPictureStyles);\n }\n }\n return {} as WmPictureStyles;\n }\n\n getElementToShow(props: WmPictureProps, imgSrc: any, shapeStyles: WmPictureStyles) {\n let elementToshow, source;\n if (imgSrc && typeof imgSrc === 'object' && typeof imgSrc?.default === 'function') {\n let imgStyle : any = {};\n if (props.resizemode === 'contain') {\n imgStyle['width'] = '100%';\n imgStyle['height'] = '100%';\n }\n elementToshow = React.createElement(imgSrc?.default, imgStyle);\n //} else if (!isWebPreviewMode() && props.isSvg) {\n // svg from uri\n // elementToshow = <SvgUri testID={this.getTestId('picture')} width={this.styles.root.width as NumberProp} height={this.styles.root.height as NumberProp} uri={imgSrc}/>;\n } else if (isFullPathUrl(imgSrc)) {\n source = {\n uri: imgSrc\n };\n } else {\n source = imgSrc;\n }\n if (this.state.naturalImageWidth || this.state.props.aspectratio) {\n elementToshow = (\n // * INFO: if any issue arises like freezing of application because of \n // * rendering large number of images, check the cache policy.\n <EXPOImage\n cachePolicy='memory' \n {...this.getTestProps('picture')}\n style={[this.styles.picture, shapeStyles.picture, (props.fastload || this.state.imageWidth) ? {opacity: 1} : {opacity: 0} ]}\n contentFit={props.resizemode}\n source={source}\n />\n );\n }\n return elementToshow;\n }\n\n public renderSkeleton(props: WmPictureProps){\n const imageWidth = this.state.imageWidth;\n const imageHeight = this.state.imageHeight;\n const shapeStyles = this.createShape(this.props.shape, imageWidth);\n const skeletonWidth = this.props.skeletonwidth || this.styles.root?.width || shapeStyles.root?.width || shapeStyles.picture?.width || imageWidth;\n const skeletonHeight = this.props.skeletonheight || this.styles.root?.height || shapeStyles.root?.height || shapeStyles.picture?.height || imageHeight;\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n borderRadius: this.props.shape == 'circle' && this.styles.root?.width ? 25 : shapeStyles.picture?.borderRadius || shapeStyles.root?.borderRadius || this.styles.root?.borderRadius || 4,\n width: skeletonWidth as DimensionValue,\n height: skeletonHeight as DimensionValue\n });\n }\n\n showImage = (imageElement: any, props: WmPictureProps) => {\n return imageElement;\n }\n\n\n //TODO: remove the re calculation logic later. Keeping it as an extra safety. \n calculateBasedOnaspectratio(): {imageWidth: number, imageHeight: number} | null {\n if(this.state.props.aspectratio) {\n if(this.state.originalContainerWidth) {\n return {\n imageHeight: this.state.originalContainerWidth / parseFloat(this.state.props.aspectratio as string),\n imageWidth: this.state.originalContainerWidth\n }\n } else if(this.state.originalContainerHeight) {\n return {\n imageHeight: this.state.originalContainerHeight, \n imageWidth: this.state.originalContainerHeight * parseFloat(this.state.props.aspectratio as string),\n }\n }\n }\n return null\n }\n \n //TODO: remove the re calculation logic later. Keeping it as an extra safety. \n calculateBasedOnNaturalDimensions(): {imageWidth: number, imageHeight: number} | null {\n // No need to calculate width & height if the user already passign them explicitly from props. \n const widthAndHeightExistsInProps = this.styles.root.width && this.styles.root.height\n if(!this.state.props.aspectratio && !widthAndHeightExistsInProps) {\n if(this.state.originalContainerWidth) {\n return {\n imageHeight: this.state.originalContainerWidth * this.state.naturalImageHeight / this.state.naturalImageWidth,\n imageWidth: this.state.originalContainerWidth\n }\n } else if(this.state.originalContainerHeight) {\n return {\n imageHeight: this.state.originalContainerHeight, \n imageWidth: this.state.originalContainerHeight * this.state.naturalImageWidth / this.state.naturalImageHeight\n }\n }\n }\n return null\n }\n \n\n renderWidget(props: WmPictureProps) {\n let imageWidth = this.state.imageWidth;\n let imageHeight = this.state.imageHeight;\n\n\n //TODO: remove the re calculation logic later. Keeping it as an extra safety. \n const aspectDimensions = this.calculateBasedOnaspectratio();\n const naturalDimensions = this.calculateBasedOnNaturalDimensions();\n if(aspectDimensions) {\n const dimensions = aspectDimensions as {imageWidth: number, imageHeight: number}\n imageWidth = dimensions.imageWidth;\n imageHeight = dimensions.imageHeight\n } else if(naturalDimensions) {\n const dimensions = naturalDimensions as {imageWidth: number, imageHeight: number}\n imageHeight = dimensions.imageHeight\n imageWidth = dimensions.imageWidth\n }\n const shapeStyles = this.createShape(props.shape, imageWidth);\n this._pictureSource = this._pictureSource || this.loadImage(props.picturesource);\n this._picturePlaceHolder = props.fastload ? \n (this._pictureSource || this._picturePlaceHolder || this.loadImage(props.pictureplaceholder)) :\n (this._picturePlaceHolder || this.loadImage(props.pictureplaceholder));\n const imgSrc: any = this._pictureSource || this._picturePlaceHolder;\n let elementToshow;\n if (imgSrc) {\n elementToshow = this.getElementToShow(props, imgSrc, shapeStyles);\n }\n return imgSrc && (this.state.naturalImageWidth || props.isSvg || props.aspectratio) ? (\n <View \n style={[{\n width: imageWidth,\n height: imageHeight\n }, this.styles.root, shapeStyles.root, shapeStyles.picture]}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n <View style={[{overflow: 'hidden', width: '100%',\n height: '100%'}]} onLayout={this.onViewLayoutChange}>\n <Tappable\n disableTouchEffect={this.state.props.disabletoucheffect}\n {...this.getTestPropsForAction()}\n rippleColor={this.styles.root.rippleColor}\n target={this} styles={{width: imageWidth ? null : '100%', height: imageHeight ? null : '100%'}}>\n <Animatedview entryanimation={props.animation} delay={props.animationdelay} style={[{\n height: imageHeight,\n width: imageWidth,\n borderRadius: shapeStyles.picture?.borderRadius\n }]}\n accessibilityProps={{...getAccessibilityProps(AccessibilityWidgetType.PICTURE, props)}}>\n {this.showImage(elementToshow, props)}\n </Animatedview>\n </Tappable>\n </View>\n </View>\n ): null;\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAA0BC,KAAK,EAAqBC,IAAI,QAAQ,cAAc;AAC9E,SAAQD,KAAK,IAAIE,SAAS,QAAO,YAAY;AAC7C,SAASC,QAAQ,EAAEC,QAAQ,QAAQ,WAAW;AAC9C,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,kBAAkB,MAAM,mDAAmD;AAClF,SAASC,aAAa,QAAQ,sCAAsC;AACpE,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,aAAa,QAAyB,kBAAkB;AACjE,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAAqBC,cAAc,QAAQ,gCAAgC;AAE3E,OAAO,MAAMC,cAAc,SAAST,kBAAkB,CAAiB;EAAAU,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,4BACzC,CAAC;IAAAA,eAAA,6BACA,CAAC;IAAAA,eAAA,qBACT,CAAC;IAAAA,eAAA,sBACA,CAAC;IAAAA,eAAA,iCACU,CAAC;IAAAA,eAAA,kCACA,CAAC;EAAA;AACrC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,0 +1,24 @@
1
+ import { AccessibilityRole } from 'react-native';
2
+ import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
3
+ import WmPicture from './picture.component';
4
+ export default class WmPictureProps extends BaseProps {
5
+ animation?: string;
6
+ animationdelay?: number;
7
+ picturesource?: string | number;
8
+ pictureplaceholder?: string | number;
9
+ shape?: string;
10
+ isSvg?: string;
11
+ resizemode?: any;
12
+ skeletonheight?: string;
13
+ skeletonwidth?: string;
14
+ accessible?: boolean;
15
+ accessibilitylabel?: string;
16
+ hint?: string;
17
+ accessibilityrole?: AccessibilityRole;
18
+ fastload?: boolean;
19
+ aspectratio?: string | number | null;
20
+ onTap?: ($event: any, instance: WmPicture) => any;
21
+ onDoubleTap?: ($event: any, instance: WmPicture) => any;
22
+ onLongTap?: ($event: any, instance: WmPicture) => any;
23
+ }
24
+ //# sourceMappingURL=picture.props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"picture.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/picture/picture.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAmB,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAC1E,OAAO,SAAS,MAAM,qBAAqB,CAAC;AAE5C,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,SAAS;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,GAAG,CAAa;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAQ;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,iBAAiB,CAAW;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAS;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACrC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,KAAK,GAAG,CAAC;IAClD,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,KAAK,GAAG,CAAC;IACxD,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,KAAK,GAAG,CAAC;CACvD"}
@@ -5,21 +5,24 @@ import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
5
5
  export default class WmPictureProps extends BaseProps {
6
6
  constructor(...args) {
7
7
  super(...args);
8
- _defineProperty(this, "animation", null);
9
- _defineProperty(this, "animationdelay", null);
10
- _defineProperty(this, "picturesource", null);
11
- _defineProperty(this, "pictureplaceholder", null);
12
- _defineProperty(this, "shape", null);
13
- _defineProperty(this, "isSvg", null);
8
+ _defineProperty(this, "animation", void 0);
9
+ _defineProperty(this, "animationdelay", void 0);
10
+ _defineProperty(this, "picturesource", void 0);
11
+ _defineProperty(this, "pictureplaceholder", void 0);
12
+ _defineProperty(this, "shape", void 0);
13
+ _defineProperty(this, "isSvg", void 0);
14
14
  _defineProperty(this, "resizemode", 'stretch');
15
- _defineProperty(this, "skeletonheight", null);
16
- _defineProperty(this, "skeletonwidth", null);
15
+ _defineProperty(this, "skeletonheight", void 0);
16
+ _defineProperty(this, "skeletonwidth", void 0);
17
17
  _defineProperty(this, "accessible", true);
18
- _defineProperty(this, "accessibilitylabel", undefined);
19
- _defineProperty(this, "hint", undefined);
18
+ _defineProperty(this, "accessibilitylabel", void 0);
19
+ _defineProperty(this, "hint", void 0);
20
20
  _defineProperty(this, "accessibilityrole", 'image');
21
21
  _defineProperty(this, "fastload", false);
22
- _defineProperty(this, "aspectratio", null);
22
+ _defineProperty(this, "aspectratio", void 0);
23
+ _defineProperty(this, "onTap", void 0);
24
+ _defineProperty(this, "onDoubleTap", void 0);
25
+ _defineProperty(this, "onLongTap", void 0);
23
26
  }
24
27
  }
25
28
  //# sourceMappingURL=picture.props.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["BaseProps","WmPictureProps","constructor","args","_defineProperty","undefined"],"sources":["picture.props.ts"],"sourcesContent":["import { AccessibilityRole, ImageResizeMode } from 'react-native';\nimport { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmPictureProps extends BaseProps {\n animation?: string = null as any;\n animationdelay?: number = null as any;\n picturesource?: string = null as any;\n pictureplaceholder?: string = null as any;\n shape?: string = null as any;\n isSvg?: string = null as any;\n resizemode?: any = 'stretch' as any;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n accessible?: boolean = true;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'image';\n fastload?: boolean = false;\n aspectratio?: string | number | null = null;\n}\n"],"mappings":";;;AACA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,cAAc,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBAC/B,IAAI;IAAAA,eAAA,yBACC,IAAI;IAAAA,eAAA,wBACL,IAAI;IAAAA,eAAA,6BACC,IAAI;IAAAA,eAAA,gBACjB,IAAI;IAAAA,eAAA,gBACJ,IAAI;IAAAA,eAAA,qBACF,SAAS;IAAAA,eAAA,yBACF,IAAI;IAAAA,eAAA,wBACL,IAAI;IAAAA,eAAA,qBACN,IAAI;IAAAA,eAAA,6BACGC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,OAAO;IAAAA,eAAA,mBAC1B,KAAK;IAAAA,eAAA,sBACa,IAAI;EAAA;AAC7C","ignoreList":[]}
1
+ {"version":3,"names":["BaseProps","WmPictureProps","constructor","args","_defineProperty"],"sources":["picture.props.ts"],"sourcesContent":["import { AccessibilityRole, ImageResizeMode } from 'react-native';\nimport { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmPicture from './picture.component';\n\nexport default class WmPictureProps extends BaseProps {\n animation?: string;\n animationdelay?: number;\n picturesource?: string | number;\n pictureplaceholder?: string | number;\n shape?: string;\n isSvg?: string;\n resizemode?: any = 'stretch';\n skeletonheight?: string;\n skeletonwidth?: string;\n accessible?: boolean = true;\n accessibilitylabel?: string;\n hint?: string;\n accessibilityrole?: AccessibilityRole = 'image';\n fastload?: boolean = false;\n aspectratio?: string | number | null;\n onTap?: ($event: any, instance: WmPicture) => any;\n onDoubleTap?: ($event: any, instance: WmPicture) => any;\n onLongTap?: ($event: any, instance: WmPicture) => any;\n}\n"],"mappings":";;;AACA,SAASA,SAAS,QAAQ,+CAA+C;AAGzE,eAAe,MAAMC,cAAc,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,qBAOjC,SAAS;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,qBAGL,IAAI;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,4BAGa,OAAO;IAAAA,eAAA,mBAC1B,KAAK;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;EAAA;AAK5B","ignoreList":[]}
@@ -0,0 +1,9 @@
1
+ import { ImageStyle, ViewStyle } from 'react-native';
2
+ import { BaseStyles } from '@wavemaker/app-rn-runtime/core/base.component';
3
+ import { WmSkeletonStyles } from '../skeleton/skeleton.styles';
4
+ export type WmPictureStyles = BaseStyles & {
5
+ picture: ImageStyle & ViewStyle;
6
+ skeleton: WmSkeletonStyles;
7
+ };
8
+ export declare const DEFAULT_CLASS = "app-picture";
9
+ //# sourceMappingURL=picture.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"picture.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/picture/picture.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAErD,OAAO,EAAE,UAAU,EAAgB,MAAM,+CAA+C,CAAC;AACzF,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG;IACzC,OAAO,EAAE,UAAU,GAAG,SAAS,CAAC;IAChC,QAAQ,EAAE,gBAAgB,CAAA;CAC3B,CAAC;AAEF,eAAO,MAAM,aAAa,gBAAgB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
3
+ import WmProgressBarProps from './progress-bar.props';
4
+ import { WmProgressBarStyles } from './progress-bar.styles';
5
+ export declare class WmProgressBarState extends BaseComponentState<WmProgressBarProps> {
6
+ }
7
+ export default class WmProgressBar extends BaseComponent<WmProgressBarProps, WmProgressBarState, WmProgressBarStyles> {
8
+ constructor(props: WmProgressBarProps);
9
+ onTooltiptext: (minValue: number, maxValue: number, percentage: number) => any;
10
+ renderWidget(props: WmProgressBarProps): React.JSX.Element;
11
+ }
12
+ //# sourceMappingURL=progress-bar.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-bar.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/progress-bar/progress-bar.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAGlG,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAiB,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAI3E,qBAAa,kBAAmB,SAAQ,kBAAkB,CAAC,kBAAkB,CAAC;CAAG;AAEjF,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,aAAa,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,mBAAmB,CAAC;gBAEvG,KAAK,EAAE,kBAAkB;IAIrC,aAAa,aAAc,MAAM,YAAY,MAAM,cAAc,MAAM,SAiBtE;IAED,YAAY,CAAC,KAAK,EAAE,kBAAkB;CAuEvC"}
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","ProgressBar","LinearGradient","ExpoLinearGradient","Tappable","BaseComponent","BaseComponentState","AccessibilityWidgetType","getAccessibilityProps","WmProgressBarProps","DEFAULT_CLASS","parseProgressBarLinearGradient","WmTooltip","WmProgressBarState","WmProgressBar","constructor","props","_defineProperty","minValue","maxValue","percentage","showtooltip","onTooltiptext","result","invokeEventCallback","undefined","proxy","renderWidget","_styles$root","_styles$progressBar","value","datavalue","minvalue","maxvalue","styles","theme","mergeStyle","getStyle","type","hasLinearGradient","color1","color2","start","end","root","progressBar","backgroundColor","gradientColors","valuePercent","Math","round","progressValue","min","max","progressWidth","createElement","style","onLayout","event","handleLayout","_background","target","width","height","disableTouchEffect","state","disabletoucheffect","_extends","getTestPropsForAction","PROGRESSBAR","animatedValue","color","colors","position","borderRadius","Fragment","left","bottom","justifyContent","alignItems","zIndex","showTooltip","text","direction","tooltipposition","tooltipStyle","tooltip","tooltipLabelStyle","tooltipLabel","tooltipTriangleStyle","tooltipTriangle"],"sources":["progress-bar.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { ProgressBar } from 'react-native-paper';\nimport { LinearGradient as ExpoLinearGradient } from 'expo-linear-gradient';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nimport WmProgressBarProps from './progress-bar.props';\nimport { DEFAULT_CLASS, WmProgressBarStyles } from './progress-bar.styles';\nimport { parseProgressBarLinearGradient } from '@wavemaker/app-rn-runtime/core/utils';\nimport WmTooltip from '../tooltip/tooltip.component';\n\nexport class WmProgressBarState extends BaseComponentState<WmProgressBarProps> {}\n\nexport default class WmProgressBar extends BaseComponent<WmProgressBarProps, WmProgressBarState, WmProgressBarStyles> {\n\n constructor(props: WmProgressBarProps) {\n super(props, DEFAULT_CLASS, new WmProgressBarProps());\n }\n\n onTooltiptext = (minValue: number, maxValue: number, percentage: number) => {\n if (this.props.showtooltip && this.props.onTooltiptext) {\n const result = this.invokeEventCallback('onTooltiptext', [\n undefined,\n this.proxy,\n minValue,\n maxValue,\n percentage\n ]);\n\n if (result) {\n return result;\n }\n }\n\n // Default fallback to percentage display\n return `${percentage}%`;\n }\n\n renderWidget(props: WmProgressBarProps) {\n let value = (props.datavalue - props.minvalue) / (props.maxvalue - props.minvalue);\n const styles = this.theme.mergeStyle(this.theme.getStyle(`app-${props.type}-progress-bar`), this.styles);\n const {hasLinearGradient, color1, color2, start, end} = parseProgressBarLinearGradient(styles?.root?.progressBar?.backgroundColor as string);\n const gradientColors: [string, string, ...string[]] = [color1, color2];\n const valuePercent = `${Math.round(value * 100)}%`;\n const percentage = Math.round(value * 100);\n const progressValue = Math.min(Math.max(value, 0), 1); // Ensure value is between 0 and 1\n const progressWidth = progressValue * 100;\n\n return (\n <View \n style={styles.root}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n <Tappable target={this} styles={{root:{width: '100%', height: '100%'}}} disableTouchEffect={this.state.props.disabletoucheffect}>\n <ProgressBar\n {...this.getTestPropsForAction('progressbar')}\n {...getAccessibilityProps(AccessibilityWidgetType.PROGRESSBAR, props)}\n animatedValue={value}\n color={styles.progressValue.color}\n style={[styles.progressBar, {height: styles.root.height || styles.progressBar.height}]}\n />\n \n {/* Linear Gradient for filled portion */}\n {hasLinearGradient ? (\n <ExpoLinearGradient\n colors={gradientColors}\n start={start}\n end={end}\n style={[\n {\n width: valuePercent as any,\n height: styles.root.height || styles.progressBar.height,\n position: 'absolute',\n borderRadius: styles?.progressBar?.borderRadius || 0,\n },\n ]}\n />\n ) : (\n <></>\n )}\n \n {/* Tooltip positioned at progress value */}\n {props.showtooltip ?\n (\n <View\n style={{\n position: 'absolute',\n left: `${progressWidth}%`,\n bottom: 0,\n height: '100%',\n justifyContent: 'center',\n alignItems: 'center',\n zIndex: 10,\n }}\n >\n <WmTooltip\n showTooltip={props.showtooltip}\n text={this.onTooltiptext(props.minvalue, props.maxvalue, percentage)}\n direction={props.tooltipposition}\n tooltipStyle={styles.tooltip}\n tooltipLabelStyle={styles.tooltipLabel}\n tooltipTriangleStyle={styles.tooltipTriangle}\n />\n </View>\n ) : <></>}\n </Tappable>\n </View>); \n }\n}"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,WAAW,QAAQ,oBAAoB;AAChD,SAASC,cAAc,IAAIC,kBAAkB,QAAQ,sBAAsB;AAC3E,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,OAAOC,kBAAkB,MAAM,sBAAsB;AACrD,SAASC,aAAa,QAA6B,uBAAuB;AAC1E,SAASC,8BAA8B,QAAQ,sCAAsC;AACrF,OAAOC,SAAS,MAAM,8BAA8B;AAEpD,OAAO,MAAMC,kBAAkB,SAASP,kBAAkB,CAAqB;AAE/E,eAAe,MAAMQ,aAAa,SAAST,aAAa,CAA8D;EAEpHU,WAAWA,CAACC,KAAyB,EAAE;IACrC,KAAK,CAACA,KAAK,EAAEN,aAAa,EAAE,IAAID,kBAAkB,CAAC,CAAC,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able","BaseComponent","BaseComponentState","AccessibilityWidgetType","getAccessibilityProps","WmProgressBarProps","DEFAULT_CLASS","parseProgressBarLinearGradient","WmTooltip","WmProgressBarState","WmProgressBar","constructor","props","_defineProperty","minValue","maxValue","percentage","showtooltip","onTooltiptext","result","invokeEventCallback","undefined","proxy","renderWidget","_styles$root","_styles$progressBar","value","datavalue","minvalue","maxvalue","styles","theme","mergeStyle","getStyle","type","hasLinearGradient","color1","color2","start","end","root","progressBar","backgroundColor","gradientColors","valuePercent","Math","round","progressValue","min","max","progressWidth","createElement","style","onLayout","event","handleLayout","_background","target","width","height","disableTouchEffect","state","disabletoucheffect","_extends","getTestPropsForAction","PROGRESSBAR","animatedValue","color","colors","position","borderRadius","Fragment","left","bottom","justifyContent","alignItems","zIndex","showTooltip","text","direction","tooltipposition","tooltipStyle","tooltip","tooltipLabelStyle","tooltipLabel","tooltipTriangleStyle","tooltipTriangle"],"sources":["progress-bar.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { ProgressBar } from 'react-native-paper';\nimport { LinearGradient as ExpoLinearGradient } from 'expo-linear-gradient';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nimport WmProgressBarProps from './progress-bar.props';\nimport { DEFAULT_CLASS, WmProgressBarStyles } from './progress-bar.styles';\nimport { parseProgressBarLinearGradient } from '@wavemaker/app-rn-runtime/core/utils';\nimport WmTooltip from '../tooltip/tooltip.component';\n\nexport class WmProgressBarState extends BaseComponentState<WmProgressBarProps> {}\n\nexport default class WmProgressBar extends BaseComponent<WmProgressBarProps, WmProgressBarState, WmProgressBarStyles> {\n\n constructor(props: WmProgressBarProps) {\n super(props, DEFAULT_CLASS, new WmProgressBarProps());\n }\n\n onTooltiptext = (minValue: number, maxValue: number, percentage: number) => {\n if (this.props.showtooltip && this.props.onTooltiptext) {\n const result = this.invokeEventCallback('onTooltiptext', [\n undefined,\n this.proxy,\n minValue,\n maxValue,\n percentage\n ]);\n\n if (result) {\n return result;\n }\n }\n\n // Default fallback to percentage display\n return `${percentage}%`;\n }\n\n renderWidget(props: WmProgressBarProps) {\n let value = (props.datavalue! - props.minvalue!) / (props.maxvalue! - props.minvalue!);\n const styles = this.theme.mergeStyle(this.theme.getStyle(`app-${props.type}-progress-bar`), this.styles);\n const {hasLinearGradient, color1, color2, start, end} = parseProgressBarLinearGradient(styles?.root?.progressBar?.backgroundColor as string);\n const gradientColors: [string, string, ...string[]] = [color1, color2];\n const valuePercent = `${Math.round(value * 100)}%`;\n const percentage = Math.round(value * 100);\n const progressValue = Math.min(Math.max(value, 0), 1); // Ensure value is between 0 and 1\n const progressWidth = progressValue * 100;\n\n return (\n <View \n style={styles.root}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n <Tappable target={this} styles={{root:{width: '100%', height: '100%'}}} disableTouchEffect={this.state.props.disabletoucheffect}>\n <ProgressBar\n {...this.getTestPropsForAction('progressbar')}\n {...getAccessibilityProps(AccessibilityWidgetType.PROGRESSBAR, props)}\n animatedValue={value}\n color={styles.progressValue.color}\n style={[styles.progressBar, {height: styles.root.height || styles.progressBar.height}]}\n />\n \n {/* Linear Gradient for filled portion */}\n {hasLinearGradient ? (\n <ExpoLinearGradient\n colors={gradientColors}\n start={start}\n end={end}\n style={[\n {\n width: valuePercent as any,\n height: styles.root.height || styles.progressBar.height,\n position: 'absolute',\n borderRadius: styles?.progressBar?.borderRadius || 0,\n },\n ]}\n />\n ) : (\n <></>\n )}\n \n {/* Tooltip positioned at progress value */}\n {props.showtooltip ?\n (\n <View\n style={{\n position: 'absolute',\n left: `${progressWidth}%`,\n bottom: 0,\n height: '100%',\n justifyContent: 'center',\n alignItems: 'center',\n zIndex: 10,\n }}\n >\n <WmTooltip\n showTooltip={props.showtooltip}\n text={this.onTooltiptext(props.minvalue!, props.maxvalue!, percentage)}\n direction={props.tooltipposition}\n tooltipStyle={styles.tooltip}\n tooltipLabelStyle={styles.tooltipLabel}\n tooltipTriangleStyle={styles.tooltipTriangle}\n />\n </View>\n ) : <></>}\n </Tappable>\n </View>); \n }\n}"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,WAAW,QAAQ,oBAAoB;AAChD,SAASC,cAAc,IAAIC,kBAAkB,QAAQ,sBAAsB;AAC3E,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,OAAOC,kBAAkB,MAAM,sBAAsB;AACrD,SAASC,aAAa,QAA6B,uBAAuB;AAC1E,SAASC,8BAA8B,QAAQ,sCAAsC;AACrF,OAAOC,SAAS,MAAM,8BAA8B;AAEpD,OAAO,MAAMC,kBAAkB,SAASP,kBAAkB,CAAqB;AAE/E,eAAe,MAAMQ,aAAa,SAAST,aAAa,CAA8D;EAEpHU,WAAWA,CAACC,KAAyB,EAAE;IACrC,KAAK,CAACA,KAAK,EAAEN,aAAa,EAAE,IAAID,kBAAkB,CAAC,CAAC,CAAC;IAACQ,eAAA,wBAGxC,CAACC,QAAgB,EAAEC,QAAgB,EAAEC,UAAkB,KAAK;MAC1E,IAAI,IAAI,CAACJ,KAAK,CAACK,WAAW,IAAI,IAAI,CAACL,KAAK,CAACM,aAAa,EAAE;QACtD,MAAMC,MAAM,GAAG,IAAI,CAACC,mBAAmB,CAAC,eAAe,EAAE,CACvDC,SAAS,EACT,IAAI,CAACC,KAAK,EACVR,QAAQ,EACRC,QAAQ,EACRC,UAAU,CACX,CAAC;QAEF,IAAIG,MAAM,EAAE;UACV,OAAOA,MAAM;QACf;MACF;;MAEA;MACA,OAAO,GAAGH,UAAU,GAAG;IACzB,CAAC;EAnBD;EAqBAO,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,KAAA,CAAAwD,aAAA,CAACvD,IAAI;MACHwD,KAAK,EAAE;QACLiB,QAAQ,EAAE,UAAU;QACpBG,IAAI,EAAE,GAAGtB,aAAa,GAAG;QACzBuB,MAAM,EAAE,CAAC;QACTd,MAAM,EAAE,MAAM;QACde,cAAc,EAAE,QAAQ;QACxBC,UAAU,EAAE,QAAQ;QACpBC,MAAM,EAAE;MACV;IAAE,gBAEFjF,KAAA,CAAAwD,aAAA,CAAC3C,SAAS;MACRqE,WAAW,EAAEjE,KAAK,CAACK,WAAY;MAC/B6D,IAAI,EAAE,IAAI,CAAC5D,aAAa,CAACN,KAAK,CAACgB,QAAQ,EAAGhB,KAAK,CAACiB,QAAQ,EAAGb,UAAU,CAAE;MACvE+D,SAAS,EAAEnE,KAAK,CAACoE,eAAgB;MACjCC,YAAY,EAAEnD,MAAM,CAACoD,OAAQ;MAC7BC,iBAAiB,EAAErD,MAAM,CAACsD,YAAa;MACvCC,oBAAoB,EAAEvD,MAAM,CAACwD;IAAgB,CAC9C,CACG,CAAC,gBACL3F,KAAA,CAAAwD,aAAA,CAAAxD,KAAA,CAAA4E,QAAA,MAAI,CACF,CACN,CAAC;EACT;AACF","ignoreList":[]}
@@ -0,0 +1,18 @@
1
+ import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
2
+ import { AccessibilityRole } from 'react-native';
3
+ import WmProgressBar from './progress-bar.component';
4
+ export default class WmProgressBarProps extends BaseProps {
5
+ type?: 'default' | 'success' | 'info' | 'warning' | 'error';
6
+ datavalue?: number;
7
+ minvalue?: number;
8
+ maxvalue?: number;
9
+ accessibilitylabel?: string;
10
+ accessibilityrole?: AccessibilityRole;
11
+ showtooltip?: boolean;
12
+ tooltipposition?: 'up' | 'down' | 'left' | 'right';
13
+ onTooltiptext?: ($event: any, instance: WmProgressBar) => any;
14
+ onTap?: ($event: any, instance: WmProgressBar) => any;
15
+ onDoubleTap?: ($event: any, instance: WmProgressBar) => any;
16
+ onLongTap?: ($event: any, instance: WmProgressBar) => any;
17
+ }
18
+ //# sourceMappingURL=progress-bar.props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-bar.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/progress-bar/progress-bar.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,aAAa,MAAM,0BAA0B,CAAC;AAErD,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,SAAS;IACvD,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAa;IACxE,SAAS,CAAC,EAAE,MAAM,CAAM;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAK;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAO;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,iBAAiB,CAAiB;IACtD,WAAW,CAAC,EAAE,OAAO,CAAS;IAC9B,eAAe,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAQ;IAC1D,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,aAAa,KAAK,GAAG,CAAC;IAC9D,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,aAAa,KAAK,GAAG,CAAC;IACtD,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,aAAa,KAAK,GAAG,CAAC;IAC5D,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,aAAa,KAAK,GAAG,CAAC;CAC3D"}
@@ -9,11 +9,14 @@ export default class WmProgressBarProps extends BaseProps {
9
9
  _defineProperty(this, "datavalue", 30);
10
10
  _defineProperty(this, "minvalue", 0);
11
11
  _defineProperty(this, "maxvalue", 100);
12
- _defineProperty(this, "accessibilitylabel", undefined);
12
+ _defineProperty(this, "accessibilitylabel", void 0);
13
13
  _defineProperty(this, "accessibilityrole", 'progressbar');
14
14
  _defineProperty(this, "showtooltip", false);
15
15
  _defineProperty(this, "tooltipposition", 'up');
16
- _defineProperty(this, "onTooltiptext", null);
16
+ _defineProperty(this, "onTooltiptext", void 0);
17
+ _defineProperty(this, "onTap", void 0);
18
+ _defineProperty(this, "onDoubleTap", void 0);
19
+ _defineProperty(this, "onLongTap", void 0);
17
20
  }
18
21
  }
19
22
  //# sourceMappingURL=progress-bar.props.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["BaseProps","WmProgressBarProps","constructor","args","_defineProperty","undefined"],"sources":["progress-bar.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\nexport default class WmProgressBarProps extends BaseProps {\n type: 'default' | 'success' | 'info' | 'warning' | 'error' = 'default';\n datavalue: number = 30;\n minvalue: number = 0;\n maxvalue: number = 100;\n accessibilitylabel?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'progressbar';\n showtooltip?: boolean = false;\n tooltipposition?: 'up' | 'down' | 'left' | 'right' = 'up';\n onTooltiptext?: Function | null = null;\n}"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,kBAAkB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,eACK,SAAS;IAAAA,eAAA,oBAClD,EAAE;IAAAA,eAAA,mBACH,CAAC;IAAAA,eAAA,mBACD,GAAG;IAAAA,eAAA,6BACQC,SAAS;IAAAD,eAAA,4BACC,aAAa;IAAAA,eAAA,sBAC7B,KAAK;IAAAA,eAAA,0BACwB,IAAI;IAAAA,eAAA,wBACvB,IAAI;EAAA;AACxC","ignoreList":[]}
1
+ {"version":3,"names":["BaseProps","WmProgressBarProps","constructor","args","_defineProperty"],"sources":["progress-bar.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\nimport WmProgressBar from './progress-bar.component';\n\nexport default class WmProgressBarProps extends BaseProps {\n type?: 'default' | 'success' | 'info' | 'warning' | 'error' = 'default';\n datavalue?: number = 30;\n minvalue?: number = 0;\n maxvalue?: number = 100;\n accessibilitylabel?: string;\n accessibilityrole?: AccessibilityRole = 'progressbar';\n showtooltip?: boolean = false;\n tooltipposition?: 'up' | 'down' | 'left' | 'right' = 'up';\n onTooltiptext?: ($event: any, instance: WmProgressBar) => any;\n onTap?: ($event: any, instance: WmProgressBar) => any;\n onDoubleTap?: ($event: any, instance: WmProgressBar) => any;\n onLongTap?: ($event: any, instance: WmProgressBar) => any;\n}"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAIzE,eAAe,MAAMC,kBAAkB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,eACM,SAAS;IAAAA,eAAA,oBAClD,EAAE;IAAAA,eAAA,mBACH,CAAC;IAAAA,eAAA,mBACD,GAAG;IAAAA,eAAA;IAAAA,eAAA,4BAEiB,aAAa;IAAAA,eAAA,sBAC7B,KAAK;IAAAA,eAAA,0BACwB,IAAI;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;EAAA;AAK3D","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';
2
+ import { BaseStyles } from '@wavemaker/app-rn-runtime/core/base.component';
3
+ export type WmProgressBarStyles = BaseStyles & {
4
+ progressBar: AllStyle;
5
+ progressValue: AllStyle;
6
+ tooltip: AllStyle;
7
+ tooltipLabel: AllStyle;
8
+ tooltipTriangle: AllStyle;
9
+ };
10
+ export declare const DEFAULT_CLASS = "app-progress-bar";
11
+ //# sourceMappingURL=progress-bar.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-bar.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/progress-bar/progress-bar.styles.ts"],"names":[],"mappings":"AACA,OAAmB,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAgB,MAAM,+CAA+C,CAAC;AAGzF,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG;IAC3C,WAAW,EAAE,QAAQ,CAAC;IACtB,aAAa,EAAE,QAAQ,CAAC;IACxB,OAAO,EAAE,QAAQ,CAAC;IAClB,YAAY,EAAE,QAAQ,CAAC;IACvB,eAAe,EAAE,QAAQ,CAAA;CAC5B,CAAC;AAEF,eAAO,MAAM,aAAa,qBAAqB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { LayoutChangeEvent } from 'react-native';
3
+ import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
4
+ import WmProgressCircleProps from './progress-circle.props';
5
+ import { WmProgressCircleStyles } from './progress-circle.styles';
6
+ export declare class WmProgressCircleState extends BaseComponentState<WmProgressCircleProps> {
7
+ radius: number;
8
+ }
9
+ export default class WmProgressCircle extends BaseComponent<WmProgressCircleProps, WmProgressCircleState, WmProgressCircleStyles> {
10
+ constructor(props: WmProgressCircleProps);
11
+ onLayout(e: LayoutChangeEvent): void;
12
+ renderWidget(props: WmProgressCircleProps): React.JSX.Element;
13
+ }
14
+ //# sourceMappingURL=progress-circle.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-circle.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/progress-circle/progress-circle.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAc,MAAM,cAAc,CAAC;AAI7D,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAGlG,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAiB,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGjF,qBAAa,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IAClF,MAAM,SAAM;CACb;AAED,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,aAAa,CAAC,qBAAqB,EAAE,qBAAqB,EAAE,sBAAsB,CAAC;gBAEnH,KAAK,EAAE,qBAAqB;IAIxC,QAAQ,CAAC,CAAC,EAAE,iBAAiB;IAmB7B,YAAY,CAAC,KAAK,EAAE,qBAAqB;CA4B1C"}
@@ -0,0 +1,18 @@
1
+ import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
2
+ import { AccessibilityRole } from 'react-native';
3
+ import WmProgressCircle from './progress-circle.component';
4
+ export default class WmProgressCircleProps extends BaseProps {
5
+ type?: 'default' | 'success' | 'info' | 'warning' | 'error';
6
+ datavalue?: number;
7
+ minvalue?: number;
8
+ maxvalue?: number;
9
+ captionplacement?: string;
10
+ title?: string;
11
+ subtitle?: string;
12
+ accessibilitylabel?: string;
13
+ accessibilityrole?: AccessibilityRole;
14
+ onTap?: ($event: any, instance: WmProgressCircle) => any;
15
+ onDoubleTap?: ($event: any, instance: WmProgressCircle) => any;
16
+ onLongTap?: ($event: any, instance: WmProgressCircle) => any;
17
+ }
18
+ //# sourceMappingURL=progress-circle.props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-circle.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/progress-circle/progress-circle.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAE3D,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,SAAS;IAC1D,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAa;IACxE,SAAS,CAAC,EAAE,MAAM,CAAM;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAK;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAO;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAY;IACrC,KAAK,CAAC,EAAE,MAAM,CAAM;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAM;IACvB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,iBAAiB,CAAiB;IACtD,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,gBAAgB,KAAK,GAAG,CAAC;IACzD,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,gBAAgB,KAAK,GAAG,CAAC;IAC/D,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,gBAAgB,KAAK,GAAG,CAAC;CAC9D"}
@@ -12,8 +12,11 @@ export default class WmProgressCircleProps extends BaseProps {
12
12
  _defineProperty(this, "captionplacement", 'inside');
13
13
  _defineProperty(this, "title", '');
14
14
  _defineProperty(this, "subtitle", '');
15
- _defineProperty(this, "accessibilitylabel", undefined);
15
+ _defineProperty(this, "accessibilitylabel", void 0);
16
16
  _defineProperty(this, "accessibilityrole", 'progressbar');
17
+ _defineProperty(this, "onTap", void 0);
18
+ _defineProperty(this, "onDoubleTap", void 0);
19
+ _defineProperty(this, "onLongTap", void 0);
17
20
  }
18
21
  }
19
22
  //# sourceMappingURL=progress-circle.props.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["BaseProps","WmProgressCircleProps","constructor","args","_defineProperty","undefined"],"sources":["progress-circle.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\nexport default class WmProgressCircleProps extends BaseProps {\n type: 'default' | 'success' | 'info' | 'warning' | 'error' = 'default';\n datavalue: number = 30;\n minvalue: number = 0;\n maxvalue: number = 100;\n captionplacement: string = 'inside';\n title: string = '';\n subtitle: string = '';\n accessibilitylabel?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'progressbar';\n}"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,qBAAqB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,eACE,SAAS;IAAAA,eAAA,oBAClD,EAAE;IAAAA,eAAA,mBACH,CAAC;IAAAA,eAAA,mBACD,GAAG;IAAAA,eAAA,2BACK,QAAQ;IAAAA,eAAA,gBACnB,EAAE;IAAAA,eAAA,mBACC,EAAE;IAAAA,eAAA,6BACSC,SAAS;IAAAD,eAAA,4BACC,aAAa;EAAA;AACvD","ignoreList":[]}
1
+ {"version":3,"names":["BaseProps","WmProgressCircleProps","constructor","args","_defineProperty"],"sources":["progress-circle.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\nimport WmProgressCircle from './progress-circle.component';\n\nexport default class WmProgressCircleProps extends BaseProps {\n type?: 'default' | 'success' | 'info' | 'warning' | 'error' = 'default';\n datavalue?: number = 30;\n minvalue?: number = 0;\n maxvalue?: number = 100;\n captionplacement?: string = 'inside';\n title?: string = '';\n subtitle?: string = '';\n accessibilitylabel?: string;\n accessibilityrole?: AccessibilityRole = 'progressbar';\n onTap?: ($event: any, instance: WmProgressCircle) => any;\n onDoubleTap?: ($event: any, instance: WmProgressCircle) => any;\n onLongTap?: ($event: any, instance: WmProgressCircle) => any;\n}"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAIzE,eAAe,MAAMC,qBAAqB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,eACG,SAAS;IAAAA,eAAA,oBAClD,EAAE;IAAAA,eAAA,mBACH,CAAC;IAAAA,eAAA,mBACD,GAAG;IAAAA,eAAA,2BACK,QAAQ;IAAAA,eAAA,gBACnB,EAAE;IAAAA,eAAA,mBACC,EAAE;IAAAA,eAAA;IAAAA,eAAA,4BAEkB,aAAa;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;EAAA;AAIvD","ignoreList":[]}
@@ -0,0 +1,9 @@
1
+ import { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';
2
+ import { BaseStyles } from '@wavemaker/app-rn-runtime/core/base.component';
3
+ export type WmProgressCircleStyles = BaseStyles & {
4
+ progressCircle: AllStyle;
5
+ progressValue: AllStyle;
6
+ subTitle: AllStyle;
7
+ };
8
+ export declare const DEFAULT_CLASS = "app-progress-circle";
9
+ //# sourceMappingURL=progress-circle.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-circle.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/progress-circle/progress-circle.styles.ts"],"names":[],"mappings":"AACA,OAAmB,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAgB,MAAM,+CAA+C,CAAC;AAEzF,MAAM,MAAM,sBAAsB,GAAG,UAAU,GAAG;IAC9C,cAAc,EAAG,QAAQ,CAAC;IAC1B,aAAa,EAAE,QAAQ,CAAC;IACxB,QAAQ,EAAE,QAAQ,CAAA;CACrB,CAAC;AAEF,eAAO,MAAM,aAAa,wBAAwB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { BaseComponent } from "@wavemaker/app-rn-runtime/core/base.component";
2
+ export declare class DataProvider {
3
+ private localDataProvider;
4
+ init(self: BaseComponent<any, any, any>): any;
5
+ invokeVariable(self: BaseComponent<any, any, any>, query: string): Promise<any>;
6
+ filter(config: any, cb?: () => void | null): any;
7
+ }
8
+ export declare class LocalDataProvider {
9
+ private applyFilter;
10
+ filter(config: any): any;
11
+ }
12
+ //# sourceMappingURL=local-data-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local-data-provider.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/search/local-data-provider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAE9E,qBAAa,YAAY;IACvB,OAAO,CAAC,iBAAiB,CAA2B;IAGpD,IAAI,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IAMvC,cAAc,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAe/E,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC,EAAG,MAAM,IAAI,GAAG,IAAI;CAW5C;AAED,qBAAa,iBAAiB;IAE5B,OAAO,CAAC,WAAW;IAKnB,MAAM,CAAC,MAAM,EAAE,GAAG;CAqEnB"}
@@ -0,0 +1,58 @@
1
+ import React from 'react';
2
+ import { TextInput, View } from 'react-native';
3
+ import WmSearchProps from './search.props';
4
+ import { WmSearchStyles } from './search.styles';
5
+ import { ModalOptions, ModalService } from "@wavemaker/app-rn-runtime/core/modal.service";
6
+ import { BaseDatasetComponent, BaseDatasetState } from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.component';
7
+ export declare class WmSearchState extends BaseDatasetState<WmSearchProps> {
8
+ isOpened: boolean;
9
+ modalOptions: ModalOptions;
10
+ template: string;
11
+ position: DropdownPosition;
12
+ data: any;
13
+ }
14
+ export interface DropdownPosition {
15
+ top?: number;
16
+ bottom?: number;
17
+ left?: number;
18
+ right?: number;
19
+ }
20
+ export default class WmSearch extends BaseDatasetComponent<WmSearchProps, WmSearchState, WmSearchStyles> {
21
+ view: View;
22
+ private prevDatavalue;
23
+ private queryModel;
24
+ private searchInputWidth;
25
+ private isDefaultQuery;
26
+ private dataProvider;
27
+ widgetRef: TextInput | null;
28
+ private cursor;
29
+ private isFocused;
30
+ private updateRequired;
31
+ private timer;
32
+ constructor(props: WmSearchProps);
33
+ computePosition: () => Promise<void>;
34
+ clearSearch(): void;
35
+ updateFilteredData(queryText?: string): void;
36
+ focus(): void;
37
+ handleChange: (value: any) => void;
38
+ onChange(value: any): void;
39
+ invokeChange(e: any): void;
40
+ onFocus(): void;
41
+ onBlur(): void;
42
+ showPopover: () => void;
43
+ hide: () => void;
44
+ prepareModalOptions(content: React.ReactNode, styles: WmSearchStyles, modalService: ModalService): ModalOptions;
45
+ searchIconPress(): void;
46
+ onItemSelect(item: any): void;
47
+ renderSkeleton(props: WmSearchProps): React.ReactNode;
48
+ renderSearchBar(): React.JSX.Element;
49
+ reset(): void;
50
+ renderSearchItem(item: any, index: number): React.JSX.Element;
51
+ updateDefaultQueryModel(): void;
52
+ onDataItemsUpdate(): void;
53
+ componentDidMount(): void;
54
+ onPropertyChange(name: string, $new: any, $old: any): void;
55
+ setTemplate(partialName: any): void;
56
+ renderWidget(props: WmSearchProps): React.JSX.Element;
57
+ }
58
+ //# sourceMappingURL=search.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/search/search.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAA4C,SAAS,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAIzF,OAAO,aAAa,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAiB,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAiB,YAAY,EAAE,YAAY,EAAC,MAAM,8CAA8C,CAAC;AAIxG,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,8EAA8E,CAAC;AAStF,qBAAa,aAAc,SAAQ,gBAAgB,CAAC,aAAa,CAAC;IAChE,QAAQ,EAAE,OAA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AW5D,eAAe;IAiDf,KAAK;IAUL,gBAAgB,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM;IAgBzC,uBAAuB;IAUvB,iBAAiB;IAMjB,iBAAiB,IAAI,IAAI;IAKzB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG;IAgBnD,WAAW,CAAC,WAAW,EAAE,GAAG;IAI5B,YAAY,CAAC,KAAK,EAAE,aAAa;CAqClC"}
@@ -0,0 +1,38 @@
1
+ /// <reference types="react" />
2
+ import BaseDatasetProps from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.props';
3
+ import { BaseComponent } from "@wavemaker/app-rn-runtime/core/base.component";
4
+ import { AccessibilityRole } from 'react-native';
5
+ import WmSearch from './search.component';
6
+ export default class WmSearchProps extends BaseDatasetProps {
7
+ autofocus?: boolean;
8
+ query?: string;
9
+ searchkey?: any;
10
+ type?: 'search' | 'autocomplete';
11
+ datacompletemsg?: string;
12
+ placeholder?: string;
13
+ limit?: number;
14
+ minchars?: number;
15
+ imagewidth?: any;
16
+ imageheight?: any;
17
+ searchon?: string;
18
+ onSubmit?: ($event: any, instance: WmSearch) => any;
19
+ onTap?: ($event: any, instance: WmSearch) => any;
20
+ onDoubleTap?: ($event: any, instance: WmSearch) => any;
21
+ onLongTap?: ($event: any, instance: WmSearch) => any;
22
+ result?: any;
23
+ showclear?: boolean;
24
+ showSearchIcon?: boolean;
25
+ invokeEvent?: Function;
26
+ formFieldInstance?: BaseComponent<any, any, any>;
27
+ accessibilitylabel?: string;
28
+ hint?: string;
29
+ accessibilityrole?: AccessibilityRole;
30
+ renderitempartial?: (item: any, index: number, partialName: string) => React.ReactNode;
31
+ skeletonheight?: string;
32
+ skeletonwidth?: string;
33
+ iconclass?: string;
34
+ clearsearchiconclass?: string;
35
+ searchiconclass?: string;
36
+ debouncetime?: number;
37
+ }
38
+ //# sourceMappingURL=search.props.d.ts.map
@@ -0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