@wavemaker/app-rn-runtime 11.15.2-dev.4 → 11.15.2-rc.249

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 (1303) hide show
  1. package/actions/notification-action.js +1 -0
  2. package/actions/notification-action.js.map +1 -1
  3. package/components/advanced/carousel/carousel-template/carousel-template.props.js.map +1 -1
  4. package/components/advanced/carousel/carousel.component.js +3 -3
  5. package/components/advanced/carousel/carousel.component.js.map +1 -1
  6. package/components/advanced/carousel/carousel.props.js.map +1 -1
  7. package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js.map +1 -1
  8. package/components/advanced/login/login.component.js +1 -2
  9. package/components/advanced/login/login.component.js.map +1 -1
  10. package/components/advanced/login/login.props.js.map +1 -1
  11. package/components/basic/anchor/anchor.props.js +14 -16
  12. package/components/basic/anchor/anchor.props.js.map +1 -1
  13. package/components/basic/audio/audio.props.js +0 -3
  14. package/components/basic/audio/audio.props.js.map +1 -1
  15. package/components/basic/bottomsheet/bottomsheet.component.js +58 -23
  16. package/components/basic/bottomsheet/bottomsheet.component.js.map +1 -1
  17. package/components/basic/bottomsheet/bottomsheet.props.js +3 -6
  18. package/components/basic/bottomsheet/bottomsheet.props.js.map +1 -1
  19. package/components/basic/button/button.component.js +21 -8
  20. package/components/basic/button/button.component.js.map +1 -1
  21. package/components/basic/button/button.props.js +14 -18
  22. package/components/basic/button/button.props.js.map +1 -1
  23. package/components/basic/button/button.styles.js +5 -5
  24. package/components/basic/button/button.styles.js.map +1 -1
  25. package/components/basic/buttongroup/buttongroup.props.js +3 -6
  26. package/components/basic/buttongroup/buttongroup.props.js.map +1 -1
  27. package/components/basic/custom/custom.component.js.map +1 -1
  28. package/components/basic/custom/custom.props.js +3 -6
  29. package/components/basic/custom/custom.props.js.map +1 -1
  30. package/components/basic/icon/icon.props.js +10 -12
  31. package/components/basic/icon/icon.props.js.map +1 -1
  32. package/components/basic/label/label.props.js +10 -12
  33. package/components/basic/label/label.props.js.map +1 -1
  34. package/components/basic/lottie/lottie.props.js +0 -3
  35. package/components/basic/lottie/lottie.props.js.map +1 -1
  36. package/components/basic/message/message.component.js +2 -1
  37. package/components/basic/message/message.component.js.map +1 -1
  38. package/components/basic/message/message.props.js +4 -6
  39. package/components/basic/message/message.props.js.map +1 -1
  40. package/components/basic/modal/modal.props.js +1 -4
  41. package/components/basic/modal/modal.props.js.map +1 -1
  42. package/components/basic/picture/picture.component.js +52 -28
  43. package/components/basic/picture/picture.component.js.map +1 -1
  44. package/components/basic/picture/picture.props.js +11 -14
  45. package/components/basic/picture/picture.props.js.map +1 -1
  46. package/components/basic/progress-bar/progress-bar.component.js.map +1 -1
  47. package/components/basic/progress-bar/progress-bar.props.js +2 -5
  48. package/components/basic/progress-bar/progress-bar.props.js.map +1 -1
  49. package/components/basic/progress-circle/progress-circle.props.js +1 -4
  50. package/components/basic/progress-circle/progress-circle.props.js.map +1 -1
  51. package/components/basic/search/search.props.js +7 -8
  52. package/components/basic/search/search.props.js.map +1 -1
  53. package/components/basic/skeleton/skeleton.props.js +1 -4
  54. package/components/basic/skeleton/skeleton.props.js.map +1 -1
  55. package/components/basic/spinner/spinner.props.js +3 -6
  56. package/components/basic/spinner/spinner.props.js.map +1 -1
  57. package/components/basic/tooltip/tooltip.props.js +0 -3
  58. package/components/basic/tooltip/tooltip.props.js.map +1 -1
  59. package/components/basic/video/video.component.js.map +1 -1
  60. package/components/basic/video/video.props.js +8 -11
  61. package/components/basic/video/video.props.js.map +1 -1
  62. package/components/chart/area-chart/area-chart.component.js +26 -9
  63. package/components/chart/area-chart/area-chart.component.js.map +1 -1
  64. package/components/chart/area-chart/area-chart.props.js.map +1 -1
  65. package/components/chart/bar-chart/bar-chart.component.js +38 -6
  66. package/components/chart/bar-chart/bar-chart.component.js.map +1 -1
  67. package/components/chart/bar-chart/bar-chart.props.js +1 -0
  68. package/components/chart/bar-chart/bar-chart.props.js.map +1 -1
  69. package/components/chart/basechart.component.js +25 -18
  70. package/components/chart/basechart.component.js.map +1 -1
  71. package/components/chart/basechart.props.js +8 -9
  72. package/components/chart/basechart.props.js.map +1 -1
  73. package/components/chart/bubble-chart/bubble-chart.component.js +22 -5
  74. package/components/chart/bubble-chart/bubble-chart.component.js.map +1 -1
  75. package/components/chart/bubble-chart/bubble-chart.props.js.map +1 -1
  76. package/components/chart/column-chart/column-chart.props.js +1 -9
  77. package/components/chart/column-chart/column-chart.props.js.map +1 -1
  78. package/components/chart/donut-chart/donut-chart.props.js +0 -1
  79. package/components/chart/donut-chart/donut-chart.props.js.map +1 -1
  80. package/components/chart/line-chart/line-chart.component.js +22 -5
  81. package/components/chart/line-chart/line-chart.component.js.map +1 -1
  82. package/components/chart/line-chart/line-chart.props.js +2 -2
  83. package/components/chart/line-chart/line-chart.props.js.map +1 -1
  84. package/components/chart/pie-chart/pie-chart.component.js +27 -8
  85. package/components/chart/pie-chart/pie-chart.component.js.map +1 -1
  86. package/components/chart/pie-chart/pie-chart.props.js.map +1 -1
  87. package/components/chart/stack-chart/stack-chart.component.js.map +1 -1
  88. package/components/chart/stack-chart/stack-chart.props.js.map +1 -1
  89. package/components/container/accordion/accordion.component.js +14 -7
  90. package/components/container/accordion/accordion.component.js.map +1 -1
  91. package/components/container/accordion/accordion.props.js +0 -3
  92. package/components/container/accordion/accordion.props.js.map +1 -1
  93. package/components/container/accordion/accordion.styles.js +24 -21
  94. package/components/container/accordion/accordion.styles.js.map +1 -1
  95. package/components/container/accordion/accordionpane/accordionpane.component.js +6 -4
  96. package/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -1
  97. package/components/container/accordion/accordionpane/accordionpane.props.js +4 -7
  98. package/components/container/accordion/accordionpane/accordionpane.props.js.map +1 -1
  99. package/components/container/accordion/accordionpane/accordionpane.styles.js +0 -1
  100. package/components/container/accordion/accordionpane/accordionpane.styles.js.map +1 -1
  101. package/components/container/container.component.js +9 -182
  102. package/components/container/container.component.js.map +1 -1
  103. package/components/container/container.props.js +3 -5
  104. package/components/container/container.props.js.map +1 -1
  105. package/components/container/container.styles.js +3 -1
  106. package/components/container/container.styles.js.map +1 -1
  107. package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +2 -5
  108. package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +1 -1
  109. package/components/container/layoutgrid/gridrow/gridrow.props.js +0 -3
  110. package/components/container/layoutgrid/gridrow/gridrow.props.js.map +1 -1
  111. package/components/container/layoutgrid/layoutgrid.props.js +0 -3
  112. package/components/container/layoutgrid/layoutgrid.props.js.map +1 -1
  113. package/components/container/linearlayout/linearlayout.component.js +1 -0
  114. package/components/container/linearlayout/linearlayout.component.js.map +1 -1
  115. package/components/container/linearlayout/linearlayout.props.js +1 -4
  116. package/components/container/linearlayout/linearlayout.props.js.map +1 -1
  117. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +3 -6
  118. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +1 -1
  119. package/components/container/panel/panel-content/panel-content.props.js +0 -3
  120. package/components/container/panel/panel-content/panel-content.props.js.map +1 -1
  121. package/components/container/panel/panel-footer/panel-footer.props.js +0 -3
  122. package/components/container/panel/panel-footer/panel-footer.props.js.map +1 -1
  123. package/components/container/panel/panel.component.js +8 -2
  124. package/components/container/panel/panel.component.js.map +1 -1
  125. package/components/container/panel/panel.props.js +11 -12
  126. package/components/container/panel/panel.props.js.map +1 -1
  127. package/components/container/partial-host.component.js.map +1 -1
  128. package/components/container/tabs/tabheader/tabheader.component.js.map +1 -1
  129. package/components/container/tabs/tabheader/tabheader.props.js +1 -4
  130. package/components/container/tabs/tabheader/tabheader.props.js.map +1 -1
  131. package/components/container/tabs/tabpane/tabpane.component.js.map +1 -1
  132. package/components/container/tabs/tabpane/tabpane.props.js +3 -6
  133. package/components/container/tabs/tabpane/tabpane.props.js.map +1 -1
  134. package/components/container/tabs/tabs.component.js +62 -29
  135. package/components/container/tabs/tabs.component.js.map +1 -1
  136. package/components/container/tabs/tabs.props.js +1 -3
  137. package/components/container/tabs/tabs.props.js.map +1 -1
  138. package/components/container/tile/tile.component.js +3 -0
  139. package/components/container/tile/tile.component.js.map +1 -1
  140. package/components/container/tile/tile.props.js +2 -5
  141. package/components/container/tile/tile.props.js.map +1 -1
  142. package/components/container/wizard/wizard.component.js +5 -3
  143. package/components/container/wizard/wizard.component.js.map +1 -1
  144. package/components/container/wizard/wizard.props.js +2 -4
  145. package/components/container/wizard/wizard.props.js.map +1 -1
  146. package/components/container/wizard/wizard.styles.js +1 -16
  147. package/components/container/wizard/wizard.styles.js.map +1 -1
  148. package/components/container/wizard/wizardstep/wizardstep.props.js +0 -3
  149. package/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -1
  150. package/components/data/card/card-content/card-content.props.js +1 -4
  151. package/components/data/card/card-content/card-content.props.js.map +1 -1
  152. package/components/data/card/card-footer/card-footer.props.js +1 -4
  153. package/components/data/card/card-footer/card-footer.props.js.map +1 -1
  154. package/components/data/card/card.props.js +16 -19
  155. package/components/data/card/card.props.js.map +1 -1
  156. package/components/data/form/form-action/form-action.props.js +1 -4
  157. package/components/data/form/form-action/form-action.props.js.map +1 -1
  158. package/components/data/form/form-body/form-body.component.js +2 -1
  159. package/components/data/form/form-body/form-body.component.js.map +1 -1
  160. package/components/data/form/form-body/form-body.props.js +1 -4
  161. package/components/data/form/form-body/form-body.props.js.map +1 -1
  162. package/components/data/form/form-field/form-field.component.js +1 -0
  163. package/components/data/form/form-field/form-field.component.js.map +1 -1
  164. package/components/data/form/form-field/form-field.props.js +4 -6
  165. package/components/data/form/form-field/form-field.props.js.map +1 -1
  166. package/components/data/form/form-footer/form-footer.component.js +2 -1
  167. package/components/data/form/form-footer/form-footer.component.js.map +1 -1
  168. package/components/data/form/form-footer/form-footer.props.js +1 -4
  169. package/components/data/form/form-footer/form-footer.props.js.map +1 -1
  170. package/components/data/form/form.component.js +4 -1
  171. package/components/data/form/form.component.js.map +1 -1
  172. package/components/data/form/form.props.js +7 -10
  173. package/components/data/form/form.props.js.map +1 -1
  174. package/components/data/list/list-action-template/list-action-template.props.js +2 -5
  175. package/components/data/list/list-action-template/list-action-template.props.js.map +1 -1
  176. package/components/data/list/list-template/list-template.props.js +0 -3
  177. package/components/data/list/list-template/list-template.props.js.map +1 -1
  178. package/components/data/list/list.component.js.map +1 -1
  179. package/components/data/list/list.props.js +17 -18
  180. package/components/data/list/list.props.js.map +1 -1
  181. package/components/data/liveform/liveform.component.js +2 -2
  182. package/components/data/liveform/liveform.component.js.map +1 -1
  183. package/components/device/barcodescanner/barcodescanner.component.js.map +1 -1
  184. package/components/device/barcodescanner/barcodescanner.props.js +2 -5
  185. package/components/device/barcodescanner/barcodescanner.props.js.map +1 -1
  186. package/components/device/camera/camera.component.js.map +1 -1
  187. package/components/device/camera/camera.props.js +4 -7
  188. package/components/device/camera/camera.props.js.map +1 -1
  189. package/components/dialogs/alertdialog/alertdialog.props.js +7 -11
  190. package/components/dialogs/alertdialog/alertdialog.props.js.map +1 -1
  191. package/components/dialogs/confirmdialog/confirmdialog.props.js +7 -11
  192. package/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -1
  193. package/components/dialogs/dialog/dialog.component.js.map +1 -1
  194. package/components/dialogs/dialog/dialog.props.js +8 -12
  195. package/components/dialogs/dialog/dialog.props.js.map +1 -1
  196. package/components/dialogs/dialogactions/dialogactions.props.js +1 -4
  197. package/components/dialogs/dialogactions/dialogactions.props.js.map +1 -1
  198. package/components/dialogs/dialogcontent/dialogcontent.component.js +2 -1
  199. package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -1
  200. package/components/dialogs/dialogcontent/dialogcontent.props.js +1 -4
  201. package/components/dialogs/dialogcontent/dialogcontent.props.js.map +1 -1
  202. package/components/input/basedataset/basedataset.props.js +4 -7
  203. package/components/input/basedataset/basedataset.props.js.map +1 -1
  204. package/components/input/baseinput/baseinput.component.js +21 -3
  205. package/components/input/baseinput/baseinput.component.js.map +1 -1
  206. package/components/input/baseinput/baseinput.props.js +10 -12
  207. package/components/input/baseinput/baseinput.props.js.map +1 -1
  208. package/components/input/basenumber/basenumber.component.js +18 -3
  209. package/components/input/basenumber/basenumber.component.js.map +1 -1
  210. package/components/input/basenumber/basenumber.props.js +8 -10
  211. package/components/input/basenumber/basenumber.props.js.map +1 -1
  212. package/components/input/calendar/calendar.component.js.map +1 -1
  213. package/components/input/calendar/calendar.props.js +3 -9
  214. package/components/input/calendar/calendar.props.js.map +1 -1
  215. package/components/input/checkbox/checkbox.props.js +3 -9
  216. package/components/input/checkbox/checkbox.props.js.map +1 -1
  217. package/components/input/checkboxset/checkboxset.component.js +1 -1
  218. package/components/input/checkboxset/checkboxset.component.js.map +1 -1
  219. package/components/input/checkboxset/checkboxset.props.js +0 -3
  220. package/components/input/checkboxset/checkboxset.props.js.map +1 -1
  221. package/components/input/chips/chips.component.js +2 -3
  222. package/components/input/chips/chips.component.js.map +1 -1
  223. package/components/input/chips/chips.props.js +6 -9
  224. package/components/input/chips/chips.props.js.map +1 -1
  225. package/components/input/chips/chips.styles.js +3 -1
  226. package/components/input/chips/chips.styles.js.map +1 -1
  227. package/components/input/composite/composite.props.js +1 -4
  228. package/components/input/composite/composite.props.js.map +1 -1
  229. package/components/input/currency/currency.component.js +7 -3
  230. package/components/input/currency/currency.component.js.map +1 -1
  231. package/components/input/currency/currency.props.js +0 -1
  232. package/components/input/currency/currency.props.js.map +1 -1
  233. package/components/input/currency/currency.styles.js +4 -0
  234. package/components/input/currency/currency.styles.js.map +1 -1
  235. package/components/input/epoch/base-datetime.component.js +95 -91
  236. package/components/input/epoch/base-datetime.component.js.map +1 -1
  237. package/components/input/epoch/datetime/datetime.props.js +6 -12
  238. package/components/input/epoch/datetime/datetime.props.js.map +1 -1
  239. package/components/input/epoch/datetime/datetime.styles.js +2 -3
  240. package/components/input/epoch/datetime/datetime.styles.js.map +1 -1
  241. package/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -1
  242. package/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -1
  243. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -1
  244. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -1
  245. package/components/input/fileupload/fileupload.props.js +2 -5
  246. package/components/input/fileupload/fileupload.props.js.map +1 -1
  247. package/components/input/number/number.component.js +6 -3
  248. package/components/input/number/number.component.js.map +1 -1
  249. package/components/input/number/number.props.js +1 -2
  250. package/components/input/number/number.props.js.map +1 -1
  251. package/components/input/number/number.styles.js +4 -0
  252. package/components/input/number/number.styles.js.map +1 -1
  253. package/components/input/radioset/radioset.component.js +3 -1
  254. package/components/input/radioset/radioset.component.js.map +1 -1
  255. package/components/input/radioset/radioset.props.js +0 -3
  256. package/components/input/radioset/radioset.props.js.map +1 -1
  257. package/components/input/rating/rating.props.js +7 -13
  258. package/components/input/rating/rating.props.js.map +1 -1
  259. package/components/input/select/select.component.js +83 -37
  260. package/components/input/select/select.component.js.map +1 -1
  261. package/components/input/select/select.props.js +2 -5
  262. package/components/input/select/select.props.js.map +1 -1
  263. package/components/input/slider/slider.component.js.map +1 -1
  264. package/components/input/slider/slider.props.js +0 -3
  265. package/components/input/slider/slider.props.js.map +1 -1
  266. package/components/input/switch/switch.props.js +0 -3
  267. package/components/input/switch/switch.props.js.map +1 -1
  268. package/components/input/text/text.component.js +6 -3
  269. package/components/input/text/text.component.js.map +1 -1
  270. package/components/input/text/text.props.js +2 -4
  271. package/components/input/text/text.props.js.map +1 -1
  272. package/components/input/text/text.styles.js +5 -0
  273. package/components/input/text/text.styles.js.map +1 -1
  274. package/components/input/textarea/textarea.component.js +5 -3
  275. package/components/input/textarea/textarea.component.js.map +1 -1
  276. package/components/input/textarea/textarea.props.js +3 -4
  277. package/components/input/textarea/textarea.props.js.map +1 -1
  278. package/components/input/textarea/textarea.styles.js +4 -0
  279. package/components/input/textarea/textarea.styles.js.map +1 -1
  280. package/components/input/toggle/toggle.component.js +15 -5
  281. package/components/input/toggle/toggle.component.js.map +1 -1
  282. package/components/input/toggle/toggle.props.js +10 -11
  283. package/components/input/toggle/toggle.props.js.map +1 -1
  284. package/components/navigation/appnavbar/appnavbar.component.js +1 -1
  285. package/components/navigation/appnavbar/appnavbar.component.js.map +1 -1
  286. package/components/navigation/appnavbar/appnavbar.props.js +1 -4
  287. package/components/navigation/appnavbar/appnavbar.props.js.map +1 -1
  288. package/components/navigation/basenav/basenav.props.js +5 -5
  289. package/components/navigation/basenav/basenav.props.js.map +1 -1
  290. package/components/navigation/menu/menu.props.js +0 -3
  291. package/components/navigation/menu/menu.props.js.map +1 -1
  292. package/components/navigation/navbar/navbar.props.js +1 -4
  293. package/components/navigation/navbar/navbar.props.js.map +1 -1
  294. package/components/navigation/navitem/navitem.props.js +4 -7
  295. package/components/navigation/navitem/navitem.props.js.map +1 -1
  296. package/components/navigation/popover/popover.component.js +5 -1
  297. package/components/navigation/popover/popover.component.js.map +1 -1
  298. package/components/navigation/popover/popover.props.js +12 -17
  299. package/components/navigation/popover/popover.props.js.map +1 -1
  300. package/components/page/content/content.props.js.map +1 -1
  301. package/components/page/left-panel/left-panel.props.js +0 -3
  302. package/components/page/left-panel/left-panel.props.js.map +1 -1
  303. package/components/page/page-content/page-content.component.js.map +1 -1
  304. package/components/page/page-content/page-content.props.js +3 -6
  305. package/components/page/page-content/page-content.props.js.map +1 -1
  306. package/components/page/page.props.js +1 -5
  307. package/components/page/page.props.js.map +1 -1
  308. package/components/page/partial/partial.props.js.map +1 -1
  309. package/components/page/partial-container/partial-container.component.js.map +1 -1
  310. package/components/page/partial-container/partial-container.props.js +2 -5
  311. package/components/page/partial-container/partial-container.props.js.map +1 -1
  312. package/components/page/tabbar/tabbar.props.js +2 -5
  313. package/components/page/tabbar/tabbar.props.js.map +1 -1
  314. package/components/prefab/prefab-container.props.js.map +1 -1
  315. package/core/AppConfig.js.map +1 -1
  316. package/core/advanced-promise-rejection-tracker.js +207 -0
  317. package/core/advanced-promise-rejection-tracker.js.map +1 -0
  318. package/core/auto-layout.utils.js +262 -0
  319. package/core/auto-layout.utils.js.map +1 -0
  320. package/core/base.component.js +10 -7
  321. package/core/base.component.js.map +1 -1
  322. package/core/components/error-fallback/error-fallback.component.js +50 -18
  323. package/core/components/error-fallback/error-fallback.component.js.map +1 -1
  324. package/core/components/error-fallback/error-fallback.styles.js +4 -1
  325. package/core/components/error-fallback/error-fallback.styles.js.map +1 -1
  326. package/core/components/textinput.component.js +27 -5
  327. package/core/components/textinput.component.js.map +1 -1
  328. package/core/error-boundary.component.js +46 -2
  329. package/core/error-boundary.component.js.map +1 -1
  330. package/core/fixed-view.component.js +19 -2
  331. package/core/fixed-view.component.js.map +1 -1
  332. package/core/global-error-handler.service.js +177 -0
  333. package/core/global-error-handler.service.js.map +1 -0
  334. package/core/tappable.component.js +7 -4
  335. package/core/tappable.component.js.map +1 -1
  336. package/core/toast.service.js.map +1 -1
  337. package/core/viewport.js +13 -8
  338. package/core/viewport.js.map +1 -1
  339. package/gestures/carousel-swipe.animation.js +0 -1
  340. package/gestures/carousel-swipe.animation.js.map +1 -1
  341. package/npm-shrinkwrap.json +26706 -0
  342. package/package-lock.json +26706 -0
  343. package/package.json +2 -2
  344. package/runtime/App.js +176 -13
  345. package/runtime/App.js.map +1 -1
  346. package/runtime/base-fragment.component.js +1 -1
  347. package/runtime/base-fragment.component.js.map +1 -1
  348. package/runtime/base-page.component.js +11 -2
  349. package/runtime/base-page.component.js.map +1 -1
  350. package/runtime/navigator/drawer.navigator.js +1 -0
  351. package/runtime/navigator/drawer.navigator.js.map +1 -1
  352. package/runtime/navigator/stack.navigator.js +6 -0
  353. package/runtime/navigator/stack.navigator.js.map +1 -1
  354. package/runtime/services/device/camera-service.js +31 -20
  355. package/runtime/services/device/camera-service.js.map +1 -1
  356. package/styles/background.component.js +12 -6
  357. package/styles/background.component.js.map +1 -1
  358. package/styles/theme.js +163 -13
  359. package/styles/theme.js.map +1 -1
  360. package/styles/theme.variables.js +2 -0
  361. package/styles/theme.variables.js.map +1 -1
  362. package/actions/base-action.d.ts +0 -8
  363. package/actions/base-action.d.ts.map +0 -1
  364. package/actions/index.d.ts +0 -6
  365. package/actions/index.d.ts.map +0 -1
  366. package/actions/login-action.d.ts +0 -12
  367. package/actions/login-action.d.ts.map +0 -1
  368. package/actions/logout-action.d.ts +0 -11
  369. package/actions/logout-action.d.ts.map +0 -1
  370. package/actions/navigation-action.d.ts +0 -13
  371. package/actions/navigation-action.d.ts.map +0 -1
  372. package/actions/notification-action.d.ts +0 -20
  373. package/actions/notification-action.d.ts.map +0 -1
  374. package/actions/timer-action.d.ts +0 -20
  375. package/actions/timer-action.d.ts.map +0 -1
  376. package/components/advanced/carousel/carousel-content/carousel-content.component.d.ts +0 -11
  377. package/components/advanced/carousel/carousel-content/carousel-content.component.d.ts.map +0 -1
  378. package/components/advanced/carousel/carousel-content/carousel-content.props.d.ts +0 -5
  379. package/components/advanced/carousel/carousel-content/carousel-content.props.d.ts.map +0 -1
  380. package/components/advanced/carousel/carousel-content/carousel-content.styles.d.ts +0 -4
  381. package/components/advanced/carousel/carousel-content/carousel-content.styles.d.ts.map +0 -1
  382. package/components/advanced/carousel/carousel-template/carousel-template.component.d.ts +0 -11
  383. package/components/advanced/carousel/carousel-template/carousel-template.component.d.ts.map +0 -1
  384. package/components/advanced/carousel/carousel-template/carousel-template.props.d.ts +0 -5
  385. package/components/advanced/carousel/carousel-template/carousel-template.props.d.ts.map +0 -1
  386. package/components/advanced/carousel/carousel-template/carousel-template.styles.d.ts +0 -4
  387. package/components/advanced/carousel/carousel-template/carousel-template.styles.d.ts.map +0 -1
  388. package/components/advanced/carousel/carousel.component.d.ts +0 -36
  389. package/components/advanced/carousel/carousel.component.d.ts.map +0 -1
  390. package/components/advanced/carousel/carousel.props.d.ts +0 -19
  391. package/components/advanced/carousel/carousel.props.d.ts.map +0 -1
  392. package/components/advanced/carousel/carousel.styles.d.ts +0 -21
  393. package/components/advanced/carousel/carousel.styles.d.ts.map +0 -1
  394. package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.d.ts +0 -11
  395. package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.d.ts.map +0 -1
  396. package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.d.ts +0 -5
  397. package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.d.ts.map +0 -1
  398. package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.d.ts +0 -7
  399. package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.d.ts.map +0 -1
  400. package/components/advanced/login/login.component.d.ts +0 -16
  401. package/components/advanced/login/login.component.d.ts.map +0 -1
  402. package/components/advanced/login/login.props.d.ts +0 -7
  403. package/components/advanced/login/login.props.d.ts.map +0 -1
  404. package/components/advanced/login/login.styles.d.ts +0 -8
  405. package/components/advanced/login/login.styles.d.ts.map +0 -1
  406. package/components/advanced/network-info-toaster/network-info-toaster.component.d.ts +0 -18
  407. package/components/advanced/network-info-toaster/network-info-toaster.component.d.ts.map +0 -1
  408. package/components/advanced/network-info-toaster/network-info-toaster.props.d.ts +0 -5
  409. package/components/advanced/network-info-toaster/network-info-toaster.props.d.ts.map +0 -1
  410. package/components/advanced/network-info-toaster/network-info-toaster.styles.d.ts +0 -9
  411. package/components/advanced/network-info-toaster/network-info-toaster.styles.d.ts.map +0 -1
  412. package/components/advanced/webview/webview.component.d.ts +0 -31
  413. package/components/advanced/webview/webview.component.d.ts.map +0 -1
  414. package/components/advanced/webview/webview.props.d.ts +0 -12
  415. package/components/advanced/webview/webview.props.d.ts.map +0 -1
  416. package/components/advanced/webview/webview.styles.d.ts +0 -8
  417. package/components/advanced/webview/webview.styles.d.ts.map +0 -1
  418. package/components/basic/anchor/anchor.component.d.ts +0 -16
  419. package/components/basic/anchor/anchor.component.d.ts.map +0 -1
  420. package/components/basic/anchor/anchor.props.d.ts +0 -31
  421. package/components/basic/anchor/anchor.props.d.ts.map +0 -1
  422. package/components/basic/anchor/anchor.styles.d.ts +0 -12
  423. package/components/basic/anchor/anchor.styles.d.ts.map +0 -1
  424. package/components/basic/animatedview.component.d.ts +0 -22
  425. package/components/basic/animatedview.component.d.ts.map +0 -1
  426. package/components/basic/audio/audio.component.d.ts +0 -37
  427. package/components/basic/audio/audio.component.d.ts.map +0 -1
  428. package/components/basic/audio/audio.props.d.ts +0 -13
  429. package/components/basic/audio/audio.props.d.ts.map +0 -1
  430. package/components/basic/audio/audio.styles.d.ts +0 -14
  431. package/components/basic/audio/audio.styles.d.ts.map +0 -1
  432. package/components/basic/bottomsheet/bottomsheet.component.d.ts +0 -72
  433. package/components/basic/bottomsheet/bottomsheet.component.d.ts.map +0 -1
  434. package/components/basic/bottomsheet/bottomsheet.props.d.ts +0 -24
  435. package/components/basic/bottomsheet/bottomsheet.props.d.ts.map +0 -1
  436. package/components/basic/bottomsheet/bottomsheet.styles.d.ts +0 -17
  437. package/components/basic/bottomsheet/bottomsheet.styles.d.ts.map +0 -1
  438. package/components/basic/button/button.component.d.ts +0 -14
  439. package/components/basic/button/button.component.d.ts.map +0 -1
  440. package/components/basic/button/button.props.d.ts +0 -28
  441. package/components/basic/button/button.props.d.ts.map +0 -1
  442. package/components/basic/button/button.styles.d.ts +0 -12
  443. package/components/basic/button/button.styles.d.ts.map +0 -1
  444. package/components/basic/buttongroup/buttongroup.component.d.ts +0 -12
  445. package/components/basic/buttongroup/buttongroup.component.d.ts.map +0 -1
  446. package/components/basic/buttongroup/buttongroup.props.d.ts +0 -12
  447. package/components/basic/buttongroup/buttongroup.props.d.ts.map +0 -1
  448. package/components/basic/buttongroup/buttongroup.styles.d.ts +0 -7
  449. package/components/basic/buttongroup/buttongroup.styles.d.ts.map +0 -1
  450. package/components/basic/custom/custom.component.d.ts +0 -12
  451. package/components/basic/custom/custom.component.d.ts.map +0 -1
  452. package/components/basic/custom/custom.props.d.ts +0 -12
  453. package/components/basic/custom/custom.props.d.ts.map +0 -1
  454. package/components/basic/custom/custom.styles.d.ts +0 -7
  455. package/components/basic/custom/custom.styles.d.ts.map +0 -1
  456. package/components/basic/icon/icon.component.d.ts +0 -38
  457. package/components/basic/icon/icon.component.d.ts.map +0 -1
  458. package/components/basic/icon/icon.props.d.ts +0 -26
  459. package/components/basic/icon/icon.props.d.ts.map +0 -1
  460. package/components/basic/icon/icon.styles.d.ts +0 -10
  461. package/components/basic/icon/icon.styles.d.ts.map +0 -1
  462. package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.d.ts +0 -9
  463. package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.d.ts.map +0 -1
  464. package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.d.ts +0 -9
  465. package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.d.ts.map +0 -1
  466. package/components/basic/icon/wavicon/wavicon.component.d.ts +0 -9
  467. package/components/basic/icon/wavicon/wavicon.component.d.ts.map +0 -1
  468. package/components/basic/label/label.component.d.ts +0 -30
  469. package/components/basic/label/label.component.d.ts.map +0 -1
  470. package/components/basic/label/label.props.d.ts +0 -26
  471. package/components/basic/label/label.props.d.ts.map +0 -1
  472. package/components/basic/label/label.styles.d.ts +0 -11
  473. package/components/basic/label/label.styles.d.ts.map +0 -1
  474. package/components/basic/lottie/lottie.component.d.ts +0 -23
  475. package/components/basic/lottie/lottie.component.d.ts.map +0 -1
  476. package/components/basic/lottie/lottie.props.d.ts +0 -12
  477. package/components/basic/lottie/lottie.props.d.ts.map +0 -1
  478. package/components/basic/lottie/lottie.styles.d.ts +0 -7
  479. package/components/basic/lottie/lottie.styles.d.ts.map +0 -1
  480. package/components/basic/message/message.component.d.ts +0 -14
  481. package/components/basic/message/message.component.d.ts.map +0 -1
  482. package/components/basic/message/message.props.d.ts +0 -22
  483. package/components/basic/message/message.props.d.ts.map +0 -1
  484. package/components/basic/message/message.styles.d.ts +0 -11
  485. package/components/basic/message/message.styles.d.ts.map +0 -1
  486. package/components/basic/modal/modal.component.d.ts +0 -12
  487. package/components/basic/modal/modal.component.d.ts.map +0 -1
  488. package/components/basic/modal/modal.props.d.ts +0 -10
  489. package/components/basic/modal/modal.props.d.ts.map +0 -1
  490. package/components/basic/modal/modal.styles.d.ts +0 -7
  491. package/components/basic/modal/modal.styles.d.ts.map +0 -1
  492. package/components/basic/picture/picture.component.d.ts +0 -39
  493. package/components/basic/picture/picture.component.d.ts.map +0 -1
  494. package/components/basic/picture/picture.props.d.ts +0 -24
  495. package/components/basic/picture/picture.props.d.ts.map +0 -1
  496. package/components/basic/picture/picture.styles.d.ts +0 -9
  497. package/components/basic/picture/picture.styles.d.ts.map +0 -1
  498. package/components/basic/progress-bar/progress-bar.component.d.ts +0 -12
  499. package/components/basic/progress-bar/progress-bar.component.d.ts.map +0 -1
  500. package/components/basic/progress-bar/progress-bar.props.d.ts +0 -18
  501. package/components/basic/progress-bar/progress-bar.props.d.ts.map +0 -1
  502. package/components/basic/progress-bar/progress-bar.styles.d.ts +0 -11
  503. package/components/basic/progress-bar/progress-bar.styles.d.ts.map +0 -1
  504. package/components/basic/progress-circle/progress-circle.component.d.ts +0 -14
  505. package/components/basic/progress-circle/progress-circle.component.d.ts.map +0 -1
  506. package/components/basic/progress-circle/progress-circle.props.d.ts +0 -18
  507. package/components/basic/progress-circle/progress-circle.props.d.ts.map +0 -1
  508. package/components/basic/progress-circle/progress-circle.styles.d.ts +0 -9
  509. package/components/basic/progress-circle/progress-circle.styles.d.ts.map +0 -1
  510. package/components/basic/search/local-data-provider.d.ts +0 -12
  511. package/components/basic/search/local-data-provider.d.ts.map +0 -1
  512. package/components/basic/search/search.component.d.ts +0 -58
  513. package/components/basic/search/search.component.d.ts.map +0 -1
  514. package/components/basic/search/search.props.d.ts +0 -38
  515. package/components/basic/search/search.props.d.ts.map +0 -1
  516. package/components/basic/search/search.styles.d.ts +0 -21
  517. package/components/basic/search/search.styles.d.ts.map +0 -1
  518. package/components/basic/skeleton/skeleton.component.d.ts +0 -28
  519. package/components/basic/skeleton/skeleton.component.d.ts.map +0 -1
  520. package/components/basic/skeleton/skeleton.props.d.ts +0 -10
  521. package/components/basic/skeleton/skeleton.props.d.ts.map +0 -1
  522. package/components/basic/skeleton/skeleton.styles.d.ts +0 -11
  523. package/components/basic/skeleton/skeleton.styles.d.ts.map +0 -1
  524. package/components/basic/spinner/spinner.component.d.ts +0 -17
  525. package/components/basic/spinner/spinner.component.d.ts.map +0 -1
  526. package/components/basic/spinner/spinner.props.d.ts +0 -15
  527. package/components/basic/spinner/spinner.props.d.ts.map +0 -1
  528. package/components/basic/spinner/spinner.styles.d.ts +0 -11
  529. package/components/basic/spinner/spinner.styles.d.ts.map +0 -1
  530. package/components/basic/tooltip/tooltip.component.d.ts +0 -11
  531. package/components/basic/tooltip/tooltip.component.d.ts.map +0 -1
  532. package/components/basic/tooltip/tooltip.props.d.ts +0 -18
  533. package/components/basic/tooltip/tooltip.props.d.ts.map +0 -1
  534. package/components/basic/tooltip/tooltip.styles.d.ts +0 -8
  535. package/components/basic/tooltip/tooltip.styles.d.ts.map +0 -1
  536. package/components/basic/video/video.component.d.ts +0 -29
  537. package/components/basic/video/video.component.d.ts.map +0 -1
  538. package/components/basic/video/video.props.d.ts +0 -32
  539. package/components/basic/video/video.props.d.ts.map +0 -1
  540. package/components/basic/video/video.styles.d.ts +0 -9
  541. package/components/basic/video/video.styles.d.ts.map +0 -1
  542. package/components/chart/area-chart/area-chart.component.d.ts +0 -15
  543. package/components/chart/area-chart/area-chart.component.d.ts.map +0 -1
  544. package/components/chart/area-chart/area-chart.props.d.ts +0 -7
  545. package/components/chart/area-chart/area-chart.props.d.ts.map +0 -1
  546. package/components/chart/area-chart/area-chart.styles.d.ts +0 -5
  547. package/components/chart/area-chart/area-chart.styles.d.ts.map +0 -1
  548. package/components/chart/bar-chart/bar-chart.component.d.ts +0 -14
  549. package/components/chart/bar-chart/bar-chart.component.d.ts.map +0 -1
  550. package/components/chart/bar-chart/bar-chart.props.d.ts +0 -9
  551. package/components/chart/bar-chart/bar-chart.props.d.ts.map +0 -1
  552. package/components/chart/bar-chart/bar-chart.styles.d.ts +0 -5
  553. package/components/chart/bar-chart/bar-chart.styles.d.ts.map +0 -1
  554. package/components/chart/basechart.component.d.ts +0 -82
  555. package/components/chart/basechart.component.d.ts.map +0 -1
  556. package/components/chart/basechart.props.d.ts +0 -63
  557. package/components/chart/basechart.props.d.ts.map +0 -1
  558. package/components/chart/basechart.styles.d.ts +0 -36
  559. package/components/chart/basechart.styles.d.ts.map +0 -1
  560. package/components/chart/bubble-chart/bubble-chart.component.d.ts +0 -12
  561. package/components/chart/bubble-chart/bubble-chart.component.d.ts.map +0 -1
  562. package/components/chart/bubble-chart/bubble-chart.props.d.ts +0 -6
  563. package/components/chart/bubble-chart/bubble-chart.props.d.ts.map +0 -1
  564. package/components/chart/bubble-chart/bubble-chart.styles.d.ts +0 -5
  565. package/components/chart/bubble-chart/bubble-chart.styles.d.ts.map +0 -1
  566. package/components/chart/column-chart/column-chart.component.d.ts +0 -8
  567. package/components/chart/column-chart/column-chart.component.d.ts.map +0 -1
  568. package/components/chart/column-chart/column-chart.props.d.ts +0 -6
  569. package/components/chart/column-chart/column-chart.props.d.ts.map +0 -1
  570. package/components/chart/column-chart/column-chart.styles.d.ts +0 -4
  571. package/components/chart/column-chart/column-chart.styles.d.ts.map +0 -1
  572. package/components/chart/donut-chart/donut-chart.component.d.ts +0 -6
  573. package/components/chart/donut-chart/donut-chart.component.d.ts.map +0 -1
  574. package/components/chart/donut-chart/donut-chart.props.d.ts +0 -7
  575. package/components/chart/donut-chart/donut-chart.props.d.ts.map +0 -1
  576. package/components/chart/donut-chart/donut-chart.styles.d.ts +0 -5
  577. package/components/chart/donut-chart/donut-chart.styles.d.ts.map +0 -1
  578. package/components/chart/legend/legend.component.d.ts +0 -15
  579. package/components/chart/legend/legend.component.d.ts.map +0 -1
  580. package/components/chart/line-chart/line-chart.component.d.ts +0 -12
  581. package/components/chart/line-chart/line-chart.component.d.ts.map +0 -1
  582. package/components/chart/line-chart/line-chart.props.d.ts +0 -9
  583. package/components/chart/line-chart/line-chart.props.d.ts.map +0 -1
  584. package/components/chart/line-chart/line-chart.styles.d.ts +0 -5
  585. package/components/chart/line-chart/line-chart.styles.d.ts.map +0 -1
  586. package/components/chart/pie-chart/pie-chart.component.d.ts +0 -27
  587. package/components/chart/pie-chart/pie-chart.component.d.ts.map +0 -1
  588. package/components/chart/pie-chart/pie-chart.props.d.ts +0 -10
  589. package/components/chart/pie-chart/pie-chart.props.d.ts.map +0 -1
  590. package/components/chart/pie-chart/pie-chart.styles.d.ts +0 -5
  591. package/components/chart/pie-chart/pie-chart.styles.d.ts.map +0 -1
  592. package/components/chart/stack-chart/stack-chart.component.d.ts +0 -26
  593. package/components/chart/stack-chart/stack-chart.component.d.ts.map +0 -1
  594. package/components/chart/stack-chart/stack-chart.props.d.ts +0 -12
  595. package/components/chart/stack-chart/stack-chart.props.d.ts.map +0 -1
  596. package/components/chart/stack-chart/stack-chart.styles.d.ts +0 -5
  597. package/components/chart/stack-chart/stack-chart.styles.d.ts.map +0 -1
  598. package/components/chart/staticdata.d.ts +0 -41
  599. package/components/chart/staticdata.d.ts.map +0 -1
  600. package/components/chart/theme/chart.theme.d.ts +0 -8
  601. package/components/chart/theme/chart.theme.d.ts.map +0 -1
  602. package/components/container/accordion/accordion.component.d.ts +0 -27
  603. package/components/container/accordion/accordion.component.d.ts.map +0 -1
  604. package/components/container/accordion/accordion.props.d.ts +0 -15
  605. package/components/container/accordion/accordion.props.d.ts.map +0 -1
  606. package/components/container/accordion/accordion.styles.d.ts +0 -21
  607. package/components/container/accordion/accordion.styles.d.ts.map +0 -1
  608. package/components/container/accordion/accordionpane/accordionpane.component.d.ts +0 -23
  609. package/components/container/accordion/accordionpane/accordionpane.component.d.ts.map +0 -1
  610. package/components/container/accordion/accordionpane/accordionpane.props.d.ts +0 -16
  611. package/components/container/accordion/accordionpane/accordionpane.props.d.ts.map +0 -1
  612. package/components/container/accordion/accordionpane/accordionpane.styles.d.ts +0 -4
  613. package/components/container/accordion/accordionpane/accordionpane.styles.d.ts.map +0 -1
  614. package/components/container/container.component.d.ts +0 -38
  615. package/components/container/container.component.d.ts.map +0 -1
  616. package/components/container/container.props.d.ts +0 -21
  617. package/components/container/container.props.d.ts.map +0 -1
  618. package/components/container/container.styles.d.ts +0 -10
  619. package/components/container/container.styles.d.ts.map +0 -1
  620. package/components/container/layoutgrid/gridcolumn/gridcolumn.component.d.ts +0 -11
  621. package/components/container/layoutgrid/gridcolumn/gridcolumn.component.d.ts.map +0 -1
  622. package/components/container/layoutgrid/gridcolumn/gridcolumn.props.d.ts +0 -12
  623. package/components/container/layoutgrid/gridcolumn/gridcolumn.props.d.ts.map +0 -1
  624. package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.d.ts +0 -4
  625. package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.d.ts.map +0 -1
  626. package/components/container/layoutgrid/gridrow/gridrow.component.d.ts +0 -11
  627. package/components/container/layoutgrid/gridrow/gridrow.component.d.ts.map +0 -1
  628. package/components/container/layoutgrid/gridrow/gridrow.props.d.ts +0 -10
  629. package/components/container/layoutgrid/gridrow/gridrow.props.d.ts.map +0 -1
  630. package/components/container/layoutgrid/gridrow/gridrow.styles.d.ts +0 -7
  631. package/components/container/layoutgrid/gridrow/gridrow.styles.d.ts.map +0 -1
  632. package/components/container/layoutgrid/layoutgrid.component.d.ts +0 -13
  633. package/components/container/layoutgrid/layoutgrid.component.d.ts.map +0 -1
  634. package/components/container/layoutgrid/layoutgrid.props.d.ts +0 -10
  635. package/components/container/layoutgrid/layoutgrid.props.d.ts.map +0 -1
  636. package/components/container/layoutgrid/layoutgrid.styles.d.ts +0 -7
  637. package/components/container/layoutgrid/layoutgrid.styles.d.ts.map +0 -1
  638. package/components/container/linearlayout/linearlayout.component.d.ts +0 -15
  639. package/components/container/linearlayout/linearlayout.component.d.ts.map +0 -1
  640. package/components/container/linearlayout/linearlayout.props.d.ts +0 -14
  641. package/components/container/linearlayout/linearlayout.props.d.ts.map +0 -1
  642. package/components/container/linearlayout/linearlayout.styles.d.ts +0 -7
  643. package/components/container/linearlayout/linearlayout.styles.d.ts.map +0 -1
  644. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.d.ts +0 -11
  645. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.d.ts.map +0 -1
  646. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.d.ts +0 -12
  647. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.d.ts.map +0 -1
  648. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.d.ts +0 -4
  649. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.d.ts.map +0 -1
  650. package/components/container/panel/collapsible-pane.component.d.ts +0 -6
  651. package/components/container/panel/collapsible-pane.component.d.ts.map +0 -1
  652. package/components/container/panel/panel-content/panel-content.component.d.ts +0 -11
  653. package/components/container/panel/panel-content/panel-content.component.d.ts.map +0 -1
  654. package/components/container/panel/panel-content/panel-content.props.d.ts +0 -10
  655. package/components/container/panel/panel-content/panel-content.props.d.ts.map +0 -1
  656. package/components/container/panel/panel-content/panel-content.styles.d.ts +0 -4
  657. package/components/container/panel/panel-content/panel-content.styles.d.ts.map +0 -1
  658. package/components/container/panel/panel-footer/panel-footer.component.d.ts +0 -11
  659. package/components/container/panel/panel-footer/panel-footer.component.d.ts.map +0 -1
  660. package/components/container/panel/panel-footer/panel-footer.props.d.ts +0 -10
  661. package/components/container/panel/panel-footer/panel-footer.props.d.ts.map +0 -1
  662. package/components/container/panel/panel-footer/panel-footer.styles.d.ts +0 -4
  663. package/components/container/panel/panel-footer/panel-footer.styles.d.ts.map +0 -1
  664. package/components/container/panel/panel.component.d.ts +0 -20
  665. package/components/container/panel/panel.component.d.ts.map +0 -1
  666. package/components/container/panel/panel.props.d.ts +0 -23
  667. package/components/container/panel/panel.props.d.ts.map +0 -1
  668. package/components/container/panel/panel.styles.d.ts +0 -13
  669. package/components/container/panel/panel.styles.d.ts.map +0 -1
  670. package/components/container/partial-host.component.d.ts +0 -19
  671. package/components/container/partial-host.component.d.ts.map +0 -1
  672. package/components/container/tabs/tabheader/tabheader.component.d.ts +0 -27
  673. package/components/container/tabs/tabheader/tabheader.component.d.ts.map +0 -1
  674. package/components/container/tabs/tabheader/tabheader.props.d.ts +0 -18
  675. package/components/container/tabs/tabheader/tabheader.props.d.ts.map +0 -1
  676. package/components/container/tabs/tabheader/tabheader.styles.d.ts +0 -18
  677. package/components/container/tabs/tabheader/tabheader.styles.d.ts.map +0 -1
  678. package/components/container/tabs/tabpane/tabpane.component.d.ts +0 -22
  679. package/components/container/tabs/tabpane/tabpane.component.d.ts.map +0 -1
  680. package/components/container/tabs/tabpane/tabpane.props.d.ts +0 -19
  681. package/components/container/tabs/tabpane/tabpane.props.d.ts.map +0 -1
  682. package/components/container/tabs/tabpane/tabpane.styles.d.ts +0 -4
  683. package/components/container/tabs/tabpane/tabpane.styles.d.ts.map +0 -1
  684. package/components/container/tabs/tabs.component.d.ts +0 -37
  685. package/components/container/tabs/tabs.component.d.ts.map +0 -1
  686. package/components/container/tabs/tabs.props.d.ts +0 -13
  687. package/components/container/tabs/tabs.props.d.ts.map +0 -1
  688. package/components/container/tabs/tabs.styles.d.ts +0 -11
  689. package/components/container/tabs/tabs.styles.d.ts.map +0 -1
  690. package/components/container/tile/tile.component.d.ts +0 -13
  691. package/components/container/tile/tile.component.d.ts.map +0 -1
  692. package/components/container/tile/tile.props.d.ts +0 -12
  693. package/components/container/tile/tile.props.d.ts.map +0 -1
  694. package/components/container/tile/tile.styles.d.ts +0 -7
  695. package/components/container/tile/tile.styles.d.ts.map +0 -1
  696. package/components/container/wizard/wizard.component.d.ts +0 -47
  697. package/components/container/wizard/wizard.component.d.ts.map +0 -1
  698. package/components/container/wizard/wizard.props.d.ts +0 -28
  699. package/components/container/wizard/wizard.props.d.ts.map +0 -1
  700. package/components/container/wizard/wizard.styles.d.ts +0 -48
  701. package/components/container/wizard/wizard.styles.d.ts.map +0 -1
  702. package/components/container/wizard/wizardstep/wizardstep.component.d.ts +0 -21
  703. package/components/container/wizard/wizardstep/wizardstep.component.d.ts.map +0 -1
  704. package/components/container/wizard/wizardstep/wizardstep.props.d.ts +0 -21
  705. package/components/container/wizard/wizardstep/wizardstep.props.d.ts.map +0 -1
  706. package/components/container/wizard/wizardstep/wizardstep.styles.d.ts +0 -4
  707. package/components/container/wizard/wizardstep/wizardstep.styles.d.ts.map +0 -1
  708. package/components/data/card/card-content/card-content.component.d.ts +0 -14
  709. package/components/data/card/card-content/card-content.component.d.ts.map +0 -1
  710. package/components/data/card/card-content/card-content.props.d.ts +0 -11
  711. package/components/data/card/card-content/card-content.props.d.ts.map +0 -1
  712. package/components/data/card/card-content/card-content.styles.d.ts +0 -7
  713. package/components/data/card/card-content/card-content.styles.d.ts.map +0 -1
  714. package/components/data/card/card-footer/card-footer.component.d.ts +0 -11
  715. package/components/data/card/card-footer/card-footer.component.d.ts.map +0 -1
  716. package/components/data/card/card-footer/card-footer.props.d.ts +0 -10
  717. package/components/data/card/card-footer/card-footer.props.d.ts.map +0 -1
  718. package/components/data/card/card-footer/card-footer.styles.d.ts +0 -4
  719. package/components/data/card/card-footer/card-footer.styles.d.ts.map +0 -1
  720. package/components/data/card/card.component.d.ts +0 -13
  721. package/components/data/card/card.component.d.ts.map +0 -1
  722. package/components/data/card/card.props.d.ts +0 -26
  723. package/components/data/card/card.props.d.ts.map +0 -1
  724. package/components/data/card/card.styles.d.ts +0 -16
  725. package/components/data/card/card.styles.d.ts.map +0 -1
  726. package/components/data/form/form-action/form-action.component.d.ts +0 -14
  727. package/components/data/form/form-action/form-action.component.d.ts.map +0 -1
  728. package/components/data/form/form-action/form-action.props.d.ts +0 -16
  729. package/components/data/form/form-action/form-action.props.d.ts.map +0 -1
  730. package/components/data/form/form-action/form-action.styles.d.ts +0 -7
  731. package/components/data/form/form-action/form-action.styles.d.ts.map +0 -1
  732. package/components/data/form/form-body/form-body.component.d.ts +0 -11
  733. package/components/data/form/form-body/form-body.component.d.ts.map +0 -1
  734. package/components/data/form/form-body/form-body.props.d.ts +0 -10
  735. package/components/data/form/form-body/form-body.props.d.ts.map +0 -1
  736. package/components/data/form/form-body/form-body.styles.d.ts +0 -4
  737. package/components/data/form/form-body/form-body.styles.d.ts.map +0 -1
  738. package/components/data/form/form-field/form-field.component.d.ts +0 -31
  739. package/components/data/form/form-field/form-field.component.d.ts.map +0 -1
  740. package/components/data/form/form-field/form-field.props.d.ts +0 -34
  741. package/components/data/form/form-field/form-field.props.d.ts.map +0 -1
  742. package/components/data/form/form-field/form-field.styles.d.ts +0 -7
  743. package/components/data/form/form-field/form-field.styles.d.ts.map +0 -1
  744. package/components/data/form/form-footer/form-footer.component.d.ts +0 -11
  745. package/components/data/form/form-footer/form-footer.component.d.ts.map +0 -1
  746. package/components/data/form/form-footer/form-footer.props.d.ts +0 -10
  747. package/components/data/form/form-footer/form-footer.props.d.ts.map +0 -1
  748. package/components/data/form/form-footer/form-footer.styles.d.ts +0 -4
  749. package/components/data/form/form-footer/form-footer.styles.d.ts.map +0 -1
  750. package/components/data/form/form.component.d.ts +0 -62
  751. package/components/data/form/form.component.d.ts.map +0 -1
  752. package/components/data/form/form.props.d.ts +0 -31
  753. package/components/data/form/form.props.d.ts.map +0 -1
  754. package/components/data/form/form.styles.d.ts +0 -13
  755. package/components/data/form/form.styles.d.ts.map +0 -1
  756. package/components/data/list/list-action-template/list-action-template.component.d.ts +0 -13
  757. package/components/data/list/list-action-template/list-action-template.component.d.ts.map +0 -1
  758. package/components/data/list/list-action-template/list-action-template.props.d.ts +0 -11
  759. package/components/data/list/list-action-template/list-action-template.props.d.ts.map +0 -1
  760. package/components/data/list/list-action-template/list-action-template.styles.d.ts +0 -4
  761. package/components/data/list/list-action-template/list-action-template.styles.d.ts.map +0 -1
  762. package/components/data/list/list-template/list-template.component.d.ts +0 -11
  763. package/components/data/list/list-template/list-template.component.d.ts.map +0 -1
  764. package/components/data/list/list-template/list-template.props.d.ts +0 -11
  765. package/components/data/list/list-template/list-template.props.d.ts.map +0 -1
  766. package/components/data/list/list-template/list-template.styles.d.ts +0 -7
  767. package/components/data/list/list-template/list-template.styles.d.ts.map +0 -1
  768. package/components/data/list/list.component.d.ts +0 -60
  769. package/components/data/list/list.component.d.ts.map +0 -1
  770. package/components/data/list/list.props.d.ts +0 -50
  771. package/components/data/list/list.props.d.ts.map +0 -1
  772. package/components/data/list/list.styles.d.ts +0 -24
  773. package/components/data/list/list.styles.d.ts.map +0 -1
  774. package/components/data/liveform/liveform.component.d.ts +0 -15
  775. package/components/data/liveform/liveform.component.d.ts.map +0 -1
  776. package/components/device/barcodescanner/barcodescanner.component.d.ts +0 -15
  777. package/components/device/barcodescanner/barcodescanner.component.d.ts.map +0 -1
  778. package/components/device/barcodescanner/barcodescanner.props.d.ts +0 -18
  779. package/components/device/barcodescanner/barcodescanner.props.d.ts.map +0 -1
  780. package/components/device/barcodescanner/barcodescanner.styles.d.ts +0 -7
  781. package/components/device/barcodescanner/barcodescanner.styles.d.ts.map +0 -1
  782. package/components/device/camera/camera.component.d.ts +0 -16
  783. package/components/device/camera/camera.component.d.ts.map +0 -1
  784. package/components/device/camera/camera.props.d.ts +0 -24
  785. package/components/device/camera/camera.props.d.ts.map +0 -1
  786. package/components/device/camera/camera.styles.d.ts +0 -7
  787. package/components/device/camera/camera.styles.d.ts.map +0 -1
  788. package/components/dialogs/alertdialog/alertdialog.component.d.ts +0 -16
  789. package/components/dialogs/alertdialog/alertdialog.component.d.ts.map +0 -1
  790. package/components/dialogs/alertdialog/alertdialog.props.d.ts +0 -23
  791. package/components/dialogs/alertdialog/alertdialog.props.d.ts.map +0 -1
  792. package/components/dialogs/alertdialog/alertdialog.styles.d.ts +0 -15
  793. package/components/dialogs/alertdialog/alertdialog.styles.d.ts.map +0 -1
  794. package/components/dialogs/confirmdialog/confirmdialog.component.d.ts +0 -16
  795. package/components/dialogs/confirmdialog/confirmdialog.component.d.ts.map +0 -1
  796. package/components/dialogs/confirmdialog/confirmdialog.props.d.ts +0 -23
  797. package/components/dialogs/confirmdialog/confirmdialog.props.d.ts.map +0 -1
  798. package/components/dialogs/confirmdialog/confirmdialog.styles.d.ts +0 -16
  799. package/components/dialogs/confirmdialog/confirmdialog.styles.d.ts.map +0 -1
  800. package/components/dialogs/dialog/dialog.component.d.ts +0 -17
  801. package/components/dialogs/dialog/dialog.component.d.ts.map +0 -1
  802. package/components/dialogs/dialog/dialog.props.d.ts +0 -25
  803. package/components/dialogs/dialog/dialog.props.d.ts.map +0 -1
  804. package/components/dialogs/dialog/dialog.styles.d.ts +0 -12
  805. package/components/dialogs/dialog/dialog.styles.d.ts.map +0 -1
  806. package/components/dialogs/dialogactions/dialogactions.component.d.ts +0 -12
  807. package/components/dialogs/dialogactions/dialogactions.component.d.ts.map +0 -1
  808. package/components/dialogs/dialogactions/dialogactions.props.d.ts +0 -10
  809. package/components/dialogs/dialogactions/dialogactions.props.d.ts.map +0 -1
  810. package/components/dialogs/dialogactions/dialogactions.styles.d.ts +0 -4
  811. package/components/dialogs/dialogactions/dialogactions.styles.d.ts.map +0 -1
  812. package/components/dialogs/dialogcontent/dialogcontent.component.d.ts +0 -11
  813. package/components/dialogs/dialogcontent/dialogcontent.component.d.ts.map +0 -1
  814. package/components/dialogs/dialogcontent/dialogcontent.props.d.ts +0 -10
  815. package/components/dialogs/dialogcontent/dialogcontent.props.d.ts.map +0 -1
  816. package/components/dialogs/dialogcontent/dialogcontent.styles.d.ts +0 -4
  817. package/components/dialogs/dialogcontent/dialogcontent.styles.d.ts.map +0 -1
  818. package/components/input/basedataset/basedataset.component.d.ts +0 -28
  819. package/components/input/basedataset/basedataset.component.d.ts.map +0 -1
  820. package/components/input/basedataset/basedataset.props.d.ts +0 -31
  821. package/components/input/basedataset/basedataset.props.d.ts.map +0 -1
  822. package/components/input/basedataset/basedataset.styles.d.ts +0 -4
  823. package/components/input/basedataset/basedataset.styles.d.ts.map +0 -1
  824. package/components/input/baseinput/baseinput.component.d.ts +0 -33
  825. package/components/input/baseinput/baseinput.component.d.ts.map +0 -1
  826. package/components/input/baseinput/baseinput.props.d.ts +0 -29
  827. package/components/input/baseinput/baseinput.props.d.ts.map +0 -1
  828. package/components/input/baseinput/baseinput.styles.d.ts +0 -4
  829. package/components/input/baseinput/baseinput.styles.d.ts.map +0 -1
  830. package/components/input/basenumber/basenumber.component.d.ts +0 -58
  831. package/components/input/basenumber/basenumber.component.d.ts.map +0 -1
  832. package/components/input/basenumber/basenumber.props.d.ts +0 -26
  833. package/components/input/basenumber/basenumber.props.d.ts.map +0 -1
  834. package/components/input/basenumber/basenumber.styles.d.ts +0 -4
  835. package/components/input/basenumber/basenumber.styles.d.ts.map +0 -1
  836. package/components/input/calendar/calendar.component.d.ts +0 -23
  837. package/components/input/calendar/calendar.component.d.ts.map +0 -1
  838. package/components/input/calendar/calendar.props.d.ts +0 -15
  839. package/components/input/calendar/calendar.props.d.ts.map +0 -1
  840. package/components/input/calendar/calendar.styles.d.ts +0 -30
  841. package/components/input/calendar/calendar.styles.d.ts.map +0 -1
  842. package/components/input/calendar/views/month-view.d.ts +0 -55
  843. package/components/input/calendar/views/month-view.d.ts.map +0 -1
  844. package/components/input/calendar/views/month-view.styles.d.ts +0 -34
  845. package/components/input/calendar/views/month-view.styles.d.ts.map +0 -1
  846. package/components/input/checkbox/checkbox.component.d.ts +0 -20
  847. package/components/input/checkbox/checkbox.component.d.ts.map +0 -1
  848. package/components/input/checkbox/checkbox.props.d.ts +0 -19
  849. package/components/input/checkbox/checkbox.props.d.ts.map +0 -1
  850. package/components/input/checkbox/checkbox.styles.d.ts +0 -12
  851. package/components/input/checkbox/checkbox.styles.d.ts.map +0 -1
  852. package/components/input/checkboxset/checkboxset.component.d.ts +0 -22
  853. package/components/input/checkboxset/checkboxset.component.d.ts.map +0 -1
  854. package/components/input/checkboxset/checkboxset.props.d.ts +0 -15
  855. package/components/input/checkboxset/checkboxset.props.d.ts.map +0 -1
  856. package/components/input/checkboxset/checkboxset.styles.d.ts +0 -14
  857. package/components/input/checkboxset/checkboxset.styles.d.ts.map +0 -1
  858. package/components/input/chips/chips.component.d.ts +0 -44
  859. package/components/input/chips/chips.component.d.ts.map +0 -1
  860. package/components/input/chips/chips.props.d.ts +0 -27
  861. package/components/input/chips/chips.props.d.ts.map +0 -1
  862. package/components/input/chips/chips.styles.d.ts +0 -35
  863. package/components/input/chips/chips.styles.d.ts.map +0 -1
  864. package/components/input/composite/composite.component.d.ts +0 -11
  865. package/components/input/composite/composite.component.d.ts.map +0 -1
  866. package/components/input/composite/composite.props.d.ts +0 -11
  867. package/components/input/composite/composite.props.d.ts.map +0 -1
  868. package/components/input/composite/composite.styles.d.ts +0 -4
  869. package/components/input/composite/composite.styles.d.ts.map +0 -1
  870. package/components/input/currency/currency.component.d.ts +0 -15
  871. package/components/input/currency/currency.component.d.ts.map +0 -1
  872. package/components/input/currency/currency.props.d.ts +0 -9
  873. package/components/input/currency/currency.props.d.ts.map +0 -1
  874. package/components/input/currency/currency.styles.d.ts +0 -18
  875. package/components/input/currency/currency.styles.d.ts.map +0 -1
  876. package/components/input/epoch/base-datetime.component.d.ts +0 -50
  877. package/components/input/epoch/base-datetime.component.d.ts.map +0 -1
  878. package/components/input/epoch/date/date.component.d.ts +0 -9
  879. package/components/input/epoch/date/date.component.d.ts.map +0 -1
  880. package/components/input/epoch/date/date.props.d.ts +0 -5
  881. package/components/input/epoch/date/date.props.d.ts.map +0 -1
  882. package/components/input/epoch/date/date.styles.d.ts +0 -4
  883. package/components/input/epoch/date/date.styles.d.ts.map +0 -1
  884. package/components/input/epoch/date-picker.component.d.ts +0 -28
  885. package/components/input/epoch/date-picker.component.d.ts.map +0 -1
  886. package/components/input/epoch/datetime/datetime.component.d.ts +0 -9
  887. package/components/input/epoch/datetime/datetime.component.d.ts.map +0 -1
  888. package/components/input/epoch/datetime/datetime.props.d.ts +0 -37
  889. package/components/input/epoch/datetime/datetime.props.d.ts.map +0 -1
  890. package/components/input/epoch/datetime/datetime.styles.d.ts +0 -24
  891. package/components/input/epoch/datetime/datetime.styles.d.ts.map +0 -1
  892. package/components/input/epoch/time/time.component.d.ts +0 -11
  893. package/components/input/epoch/time/time.component.d.ts.map +0 -1
  894. package/components/input/epoch/time/time.props.d.ts +0 -6
  895. package/components/input/epoch/time/time.props.d.ts.map +0 -1
  896. package/components/input/epoch/time/time.styles.d.ts +0 -4
  897. package/components/input/epoch/time/time.styles.d.ts.map +0 -1
  898. package/components/input/epoch/wheel-date-picker.component.d.ts +0 -42
  899. package/components/input/epoch/wheel-date-picker.component.d.ts.map +0 -1
  900. package/components/input/epoch/wheel-time-picker.component.d.ts +0 -22
  901. package/components/input/epoch/wheel-time-picker.component.d.ts.map +0 -1
  902. package/components/input/epoch/wheelpicker/wheelpicker.component.d.ts +0 -18
  903. package/components/input/epoch/wheelpicker/wheelpicker.component.d.ts.map +0 -1
  904. package/components/input/epoch/wheelpicker/wheelpicker.props.d.ts +0 -10
  905. package/components/input/epoch/wheelpicker/wheelpicker.props.d.ts.map +0 -1
  906. package/components/input/epoch/wheelpicker/wheelpicker.styles.d.ts +0 -12
  907. package/components/input/epoch/wheelpicker/wheelpicker.styles.d.ts.map +0 -1
  908. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.d.ts +0 -13
  909. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.d.ts.map +0 -1
  910. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.d.ts +0 -14
  911. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.d.ts.map +0 -1
  912. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.d.ts +0 -12
  913. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.d.ts.map +0 -1
  914. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.d.ts +0 -13
  915. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.d.ts.map +0 -1
  916. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.d.ts +0 -13
  917. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.d.ts.map +0 -1
  918. package/components/input/fileupload/fileupload.component.d.ts +0 -21
  919. package/components/input/fileupload/fileupload.component.d.ts.map +0 -1
  920. package/components/input/fileupload/fileupload.props.d.ts +0 -18
  921. package/components/input/fileupload/fileupload.props.d.ts.map +0 -1
  922. package/components/input/fileupload/fileupload.styles.d.ts +0 -7
  923. package/components/input/fileupload/fileupload.styles.d.ts.map +0 -1
  924. package/components/input/number/number.component.d.ts +0 -14
  925. package/components/input/number/number.component.d.ts.map +0 -1
  926. package/components/input/number/number.props.d.ts +0 -9
  927. package/components/input/number/number.props.d.ts.map +0 -1
  928. package/components/input/number/number.styles.d.ts +0 -14
  929. package/components/input/number/number.styles.d.ts.map +0 -1
  930. package/components/input/radioset/radioset.component.d.ts +0 -19
  931. package/components/input/radioset/radioset.component.d.ts.map +0 -1
  932. package/components/input/radioset/radioset.props.d.ts +0 -14
  933. package/components/input/radioset/radioset.props.d.ts.map +0 -1
  934. package/components/input/radioset/radioset.styles.d.ts +0 -16
  935. package/components/input/radioset/radioset.styles.d.ts.map +0 -1
  936. package/components/input/rating/rating.component.d.ts +0 -19
  937. package/components/input/rating/rating.component.d.ts.map +0 -1
  938. package/components/input/rating/rating.props.d.ts +0 -27
  939. package/components/input/rating/rating.props.d.ts.map +0 -1
  940. package/components/input/rating/rating.styles.d.ts +0 -8
  941. package/components/input/rating/rating.styles.d.ts.map +0 -1
  942. package/components/input/select/select.component.d.ts +0 -37
  943. package/components/input/select/select.component.d.ts.map +0 -1
  944. package/components/input/select/select.props.d.ts +0 -10
  945. package/components/input/select/select.props.d.ts.map +0 -1
  946. package/components/input/select/select.styles.d.ts +0 -25
  947. package/components/input/select/select.styles.d.ts.map +0 -1
  948. package/components/input/slider/slider.component.d.ts +0 -55
  949. package/components/input/slider/slider.component.d.ts.map +0 -1
  950. package/components/input/slider/slider.props.d.ts +0 -22
  951. package/components/input/slider/slider.props.d.ts.map +0 -1
  952. package/components/input/slider/slider.styles.d.ts +0 -24
  953. package/components/input/slider/slider.styles.d.ts.map +0 -1
  954. package/components/input/switch/switch.component.d.ts +0 -15
  955. package/components/input/switch/switch.component.d.ts.map +0 -1
  956. package/components/input/switch/switch.props.d.ts +0 -11
  957. package/components/input/switch/switch.props.d.ts.map +0 -1
  958. package/components/input/switch/switch.styles.d.ts +0 -17
  959. package/components/input/switch/switch.styles.d.ts.map +0 -1
  960. package/components/input/text/text.component.d.ts +0 -13
  961. package/components/input/text/text.component.d.ts.map +0 -1
  962. package/components/input/text/text.props.d.ts +0 -13
  963. package/components/input/text/text.props.d.ts.map +0 -1
  964. package/components/input/text/text.styles.d.ts +0 -13
  965. package/components/input/text/text.styles.d.ts.map +0 -1
  966. package/components/input/textarea/textarea.component.d.ts +0 -13
  967. package/components/input/textarea/textarea.component.d.ts.map +0 -1
  968. package/components/input/textarea/textarea.props.d.ts +0 -11
  969. package/components/input/textarea/textarea.props.d.ts.map +0 -1
  970. package/components/input/textarea/textarea.styles.d.ts +0 -14
  971. package/components/input/textarea/textarea.styles.d.ts.map +0 -1
  972. package/components/input/toggle/toggle.component.d.ts +0 -25
  973. package/components/input/toggle/toggle.component.d.ts.map +0 -1
  974. package/components/input/toggle/toggle.props.d.ts +0 -27
  975. package/components/input/toggle/toggle.props.d.ts.map +0 -1
  976. package/components/input/toggle/toggle.styles.d.ts +0 -12
  977. package/components/input/toggle/toggle.styles.d.ts.map +0 -1
  978. package/components/navigation/appnavbar/appnavbar.component.d.ts +0 -18
  979. package/components/navigation/appnavbar/appnavbar.component.d.ts.map +0 -1
  980. package/components/navigation/appnavbar/appnavbar.props.d.ts +0 -21
  981. package/components/navigation/appnavbar/appnavbar.props.d.ts.map +0 -1
  982. package/components/navigation/appnavbar/appnavbar.styles.d.ts +0 -17
  983. package/components/navigation/appnavbar/appnavbar.styles.d.ts.map +0 -1
  984. package/components/navigation/basenav/basenav.component.d.ts +0 -24
  985. package/components/navigation/basenav/basenav.component.d.ts.map +0 -1
  986. package/components/navigation/basenav/basenav.props.d.ts +0 -12
  987. package/components/navigation/basenav/basenav.props.d.ts.map +0 -1
  988. package/components/navigation/basenav/basenav.styles.d.ts +0 -4
  989. package/components/navigation/basenav/basenav.styles.d.ts.map +0 -1
  990. package/components/navigation/menu/menu.component.d.ts +0 -14
  991. package/components/navigation/menu/menu.component.d.ts.map +0 -1
  992. package/components/navigation/menu/menu.props.d.ts +0 -12
  993. package/components/navigation/menu/menu.props.d.ts.map +0 -1
  994. package/components/navigation/menu/menu.styles.d.ts +0 -9
  995. package/components/navigation/menu/menu.styles.d.ts.map +0 -1
  996. package/components/navigation/navbar/navbar.component.d.ts +0 -18
  997. package/components/navigation/navbar/navbar.component.d.ts.map +0 -1
  998. package/components/navigation/navbar/navbar.props.d.ts +0 -17
  999. package/components/navigation/navbar/navbar.props.d.ts.map +0 -1
  1000. package/components/navigation/navbar/navbar.styles.d.ts +0 -10
  1001. package/components/navigation/navbar/navbar.styles.d.ts.map +0 -1
  1002. package/components/navigation/navitem/navitem.component.d.ts +0 -15
  1003. package/components/navigation/navitem/navitem.component.d.ts.map +0 -1
  1004. package/components/navigation/navitem/navitem.props.d.ts +0 -21
  1005. package/components/navigation/navitem/navitem.props.d.ts.map +0 -1
  1006. package/components/navigation/navitem/navitem.styles.d.ts +0 -11
  1007. package/components/navigation/navitem/navitem.styles.d.ts.map +0 -1
  1008. package/components/navigation/popover/popover.component.d.ts +0 -36
  1009. package/components/navigation/popover/popover.component.d.ts.map +0 -1
  1010. package/components/navigation/popover/popover.props.d.ts +0 -35
  1011. package/components/navigation/popover/popover.props.d.ts.map +0 -1
  1012. package/components/navigation/popover/popover.styles.d.ts +0 -16
  1013. package/components/navigation/popover/popover.styles.d.ts.map +0 -1
  1014. package/components/page/content/content.component.d.ts +0 -11
  1015. package/components/page/content/content.component.d.ts.map +0 -1
  1016. package/components/page/content/content.props.d.ts +0 -6
  1017. package/components/page/content/content.props.d.ts.map +0 -1
  1018. package/components/page/content/content.styles.d.ts +0 -4
  1019. package/components/page/content/content.styles.d.ts.map +0 -1
  1020. package/components/page/left-panel/left-panel.component.d.ts +0 -15
  1021. package/components/page/left-panel/left-panel.component.d.ts.map +0 -1
  1022. package/components/page/left-panel/left-panel.props.d.ts +0 -11
  1023. package/components/page/left-panel/left-panel.props.d.ts.map +0 -1
  1024. package/components/page/left-panel/left-panel.styles.d.ts +0 -4
  1025. package/components/page/left-panel/left-panel.styles.d.ts.map +0 -1
  1026. package/components/page/page-content/page-content.component.d.ts +0 -26
  1027. package/components/page/page-content/page-content.component.d.ts.map +0 -1
  1028. package/components/page/page-content/page-content.props.d.ts +0 -17
  1029. package/components/page/page-content/page-content.props.d.ts.map +0 -1
  1030. package/components/page/page-content/page-content.styles.d.ts +0 -7
  1031. package/components/page/page-content/page-content.styles.d.ts.map +0 -1
  1032. package/components/page/page.component.d.ts +0 -16
  1033. package/components/page/page.component.d.ts.map +0 -1
  1034. package/components/page/page.props.d.ts +0 -15
  1035. package/components/page/page.props.d.ts.map +0 -1
  1036. package/components/page/page.styles.d.ts +0 -7
  1037. package/components/page/page.styles.d.ts.map +0 -1
  1038. package/components/page/partial/partial.component.d.ts +0 -12
  1039. package/components/page/partial/partial.component.d.ts.map +0 -1
  1040. package/components/page/partial/partial.props.d.ts +0 -6
  1041. package/components/page/partial/partial.props.d.ts.map +0 -1
  1042. package/components/page/partial/partial.styles.d.ts +0 -7
  1043. package/components/page/partial/partial.styles.d.ts.map +0 -1
  1044. package/components/page/partial-container/partial-container.component.d.ts +0 -11
  1045. package/components/page/partial-container/partial-container.component.d.ts.map +0 -1
  1046. package/components/page/partial-container/partial-container.props.d.ts +0 -11
  1047. package/components/page/partial-container/partial-container.props.d.ts.map +0 -1
  1048. package/components/page/partial-container/partial-container.styles.d.ts +0 -4
  1049. package/components/page/partial-container/partial-container.styles.d.ts.map +0 -1
  1050. package/components/page/tabbar/curve.d.ts +0 -2
  1051. package/components/page/tabbar/curve.d.ts.map +0 -1
  1052. package/components/page/tabbar/tabbar.component.d.ts +0 -42
  1053. package/components/page/tabbar/tabbar.component.d.ts.map +0 -1
  1054. package/components/page/tabbar/tabbar.props.d.ts +0 -15
  1055. package/components/page/tabbar/tabbar.props.d.ts.map +0 -1
  1056. package/components/page/tabbar/tabbar.styles.d.ts +0 -20
  1057. package/components/page/tabbar/tabbar.styles.d.ts.map +0 -1
  1058. package/components/prefab/prefab-container.component.d.ts +0 -12
  1059. package/components/prefab/prefab-container.component.d.ts.map +0 -1
  1060. package/components/prefab/prefab-container.props.d.ts +0 -6
  1061. package/components/prefab/prefab-container.props.d.ts.map +0 -1
  1062. package/components/prefab/prefab-container.styles.d.ts +0 -7
  1063. package/components/prefab/prefab-container.styles.d.ts.map +0 -1
  1064. package/core/AppConfig.d.ts +0 -46
  1065. package/core/AppConfig.d.ts.map +0 -1
  1066. package/core/accessibility.d.ts +0 -61
  1067. package/core/accessibility.d.ts.map +0 -1
  1068. package/core/asset.provider.d.ts +0 -4
  1069. package/core/asset.provider.d.ts.map +0 -1
  1070. package/core/base.component.d.ts +0 -191
  1071. package/core/base.component.d.ts.map +0 -1
  1072. package/core/components/error-fallback/error-fallback.component.d.ts +0 -4
  1073. package/core/components/error-fallback/error-fallback.component.d.ts.map +0 -1
  1074. package/core/components/error-fallback/error-fallback.styles.d.ts +0 -29
  1075. package/core/components/error-fallback/error-fallback.styles.d.ts.map +0 -1
  1076. package/core/components/floatinglabel.component.d.ts +0 -8
  1077. package/core/components/floatinglabel.component.d.ts.map +0 -1
  1078. package/core/components/sticky-base.component.d.ts +0 -31
  1079. package/core/components/sticky-base.component.d.ts.map +0 -1
  1080. package/core/components/sticky-container.component.d.ts +0 -14
  1081. package/core/components/sticky-container.component.d.ts.map +0 -1
  1082. package/core/components/sticky-container.styles.d.ts +0 -11
  1083. package/core/components/sticky-container.styles.d.ts.map +0 -1
  1084. package/core/components/sticky-nav.component.d.ts +0 -14
  1085. package/core/components/sticky-nav.component.d.ts.map +0 -1
  1086. package/core/components/textinput.component.d.ts +0 -17
  1087. package/core/components/textinput.component.d.ts.map +0 -1
  1088. package/core/constant.service.d.ts +0 -18
  1089. package/core/constant.service.d.ts.map +0 -1
  1090. package/core/constants/currency-constants.d.ts +0 -1073
  1091. package/core/constants/currency-constants.d.ts.map +0 -1
  1092. package/core/currency-constants.d.ts +0 -2
  1093. package/core/currency-constants.d.ts.map +0 -1
  1094. package/core/device/av-service.d.ts +0 -13
  1095. package/core/device/av-service.d.ts.map +0 -1
  1096. package/core/device/calendar-service.d.ts +0 -25
  1097. package/core/device/calendar-service.d.ts.map +0 -1
  1098. package/core/device/camera-service.d.ts +0 -27
  1099. package/core/device/camera-service.d.ts.map +0 -1
  1100. package/core/device/contacts-service.d.ts +0 -17
  1101. package/core/device/contacts-service.d.ts.map +0 -1
  1102. package/core/device/fileupload-service.d.ts +0 -7
  1103. package/core/device/fileupload-service.d.ts.map +0 -1
  1104. package/core/device/location-service.d.ts +0 -17
  1105. package/core/device/location-service.d.ts.map +0 -1
  1106. package/core/device/openfile-service.d.ts +0 -52
  1107. package/core/device/openfile-service.d.ts.map +0 -1
  1108. package/core/device/scan-service.d.ts +0 -13
  1109. package/core/device/scan-service.d.ts.map +0 -1
  1110. package/core/display.manager.d.ts +0 -12
  1111. package/core/display.manager.d.ts.map +0 -1
  1112. package/core/error-boundary.component.d.ts +0 -21
  1113. package/core/error-boundary.component.d.ts.map +0 -1
  1114. package/core/event-notifier.d.ts +0 -14
  1115. package/core/event-notifier.d.ts.map +0 -1
  1116. package/core/file-extension-types.d.ts +0 -2
  1117. package/core/file-extension-types.d.ts.map +0 -1
  1118. package/core/fixed-view.component.d.ts +0 -33
  1119. package/core/fixed-view.component.d.ts.map +0 -1
  1120. package/core/formatters.d.ts +0 -28
  1121. package/core/formatters.d.ts.map +0 -1
  1122. package/core/i18n.service.d.ts +0 -6
  1123. package/core/i18n.service.d.ts.map +0 -1
  1124. package/core/if.component.d.ts +0 -12
  1125. package/core/if.component.d.ts.map +0 -1
  1126. package/core/imageSizeEstimator.d.ts +0 -14
  1127. package/core/imageSizeEstimator.d.ts.map +0 -1
  1128. package/core/injector.d.ts +0 -18
  1129. package/core/injector.d.ts.map +0 -1
  1130. package/core/key.extractor.d.ts +0 -7
  1131. package/core/key.extractor.d.ts.map +0 -1
  1132. package/core/logger.d.ts +0 -26
  1133. package/core/logger.d.ts.map +0 -1
  1134. package/core/modal.service.d.ts +0 -22
  1135. package/core/modal.service.d.ts.map +0 -1
  1136. package/core/navigation.service.d.ts +0 -32
  1137. package/core/navigation.service.d.ts.map +0 -1
  1138. package/core/network.service.d.ts +0 -114
  1139. package/core/network.service.d.ts.map +0 -1
  1140. package/core/partial.service.d.ts +0 -10
  1141. package/core/partial.service.d.ts.map +0 -1
  1142. package/core/props.provider.d.ts +0 -19
  1143. package/core/props.provider.d.ts.map +0 -1
  1144. package/core/responsive.utils.d.ts +0 -24
  1145. package/core/responsive.utils.d.ts.map +0 -1
  1146. package/core/screen-capture-protection.service.d.ts +0 -8
  1147. package/core/screen-capture-protection.service.d.ts.map +0 -1
  1148. package/core/scroll-view.component.d.ts +0 -19
  1149. package/core/scroll-view.component.d.ts.map +0 -1
  1150. package/core/secure-storage.service.d.ts +0 -10
  1151. package/core/secure-storage.service.d.ts.map +0 -1
  1152. package/core/security.service.d.ts +0 -13
  1153. package/core/security.service.d.ts.map +0 -1
  1154. package/core/spinner.service.d.ts +0 -13
  1155. package/core/spinner.service.d.ts.map +0 -1
  1156. package/core/sticky-view.component.d.ts +0 -21
  1157. package/core/sticky-view.component.d.ts.map +0 -1
  1158. package/core/sticky-wrapper.d.ts +0 -31
  1159. package/core/sticky-wrapper.d.ts.map +0 -1
  1160. package/core/storage.service.d.ts +0 -11
  1161. package/core/storage.service.d.ts.map +0 -1
  1162. package/core/tappable.component.d.ts +0 -40
  1163. package/core/tappable.component.d.ts.map +0 -1
  1164. package/core/testid.provider.d.ts +0 -4
  1165. package/core/testid.provider.d.ts.map +0 -1
  1166. package/core/toast.service.d.ts +0 -24
  1167. package/core/toast.service.d.ts.map +0 -1
  1168. package/core/ui-preferences.context.d.ts +0 -11
  1169. package/core/ui-preferences.context.d.ts.map +0 -1
  1170. package/core/utils.d.ts +0 -167
  1171. package/core/utils.d.ts.map +0 -1
  1172. package/core/viewport.d.ts +0 -19
  1173. package/core/viewport.d.ts.map +0 -1
  1174. package/core/wm-component-tree.d.ts +0 -22
  1175. package/core/wm-component-tree.d.ts.map +0 -1
  1176. package/gestures/carousel-swipe.animation.d.ts +0 -56
  1177. package/gestures/carousel-swipe.animation.d.ts.map +0 -1
  1178. package/gestures/swipe.animation.d.ts +0 -51
  1179. package/gestures/swipe.animation.d.ts.map +0 -1
  1180. package/index.d.ts +0 -2
  1181. package/index.d.ts.map +0 -1
  1182. package/runtime/App.d.ts +0 -129
  1183. package/runtime/App.d.ts.map +0 -1
  1184. package/runtime/App.navigator.d.ts +0 -11
  1185. package/runtime/App.navigator.d.ts.map +0 -1
  1186. package/runtime/base-customwidget.component.d.ts +0 -24
  1187. package/runtime/base-customwidget.component.d.ts.map +0 -1
  1188. package/runtime/base-fragment.component.d.ts +0 -91
  1189. package/runtime/base-fragment.component.d.ts.map +0 -1
  1190. package/runtime/base-page.component.d.ts +0 -42
  1191. package/runtime/base-page.component.d.ts.map +0 -1
  1192. package/runtime/base-partial.component.d.ts +0 -29
  1193. package/runtime/base-partial.component.d.ts.map +0 -1
  1194. package/runtime/base-prefab.component.d.ts +0 -29
  1195. package/runtime/base-prefab.component.d.ts.map +0 -1
  1196. package/runtime/lib-patch.d.ts +0 -8
  1197. package/runtime/lib-patch.d.ts.map +0 -1
  1198. package/runtime/memo.component.d.ts +0 -20
  1199. package/runtime/memo.component.d.ts.map +0 -1
  1200. package/runtime/navigator/drawer.navigator.d.ts +0 -14
  1201. package/runtime/navigator/drawer.navigator.d.ts.map +0 -1
  1202. package/runtime/navigator/stack.navigator.d.ts +0 -8
  1203. package/runtime/navigator/stack.navigator.d.ts.map +0 -1
  1204. package/runtime/platform.api.d.ts +0 -13
  1205. package/runtime/platform.api.d.ts.map +0 -1
  1206. package/runtime/services/app-display-manager.service.d.ts +0 -16
  1207. package/runtime/services/app-display-manager.service.d.ts.map +0 -1
  1208. package/runtime/services/app-i18n.service.d.ts +0 -33
  1209. package/runtime/services/app-i18n.service.d.ts.map +0 -1
  1210. package/runtime/services/app-modal.service.d.ts +0 -19
  1211. package/runtime/services/app-modal.service.d.ts.map +0 -1
  1212. package/runtime/services/app-security.service.d.ts +0 -30
  1213. package/runtime/services/app-security.service.d.ts.map +0 -1
  1214. package/runtime/services/app-spinner.service.d.ts +0 -20
  1215. package/runtime/services/app-spinner.service.d.ts.map +0 -1
  1216. package/runtime/services/app-toast.service.d.ts +0 -13
  1217. package/runtime/services/app-toast.service.d.ts.map +0 -1
  1218. package/runtime/services/device/calendar-service.d.ts +0 -11
  1219. package/runtime/services/device/calendar-service.d.ts.map +0 -1
  1220. package/runtime/services/device/camera-service.d.ts +0 -63
  1221. package/runtime/services/device/camera-service.d.ts.map +0 -1
  1222. package/runtime/services/device/contacts-service.d.ts +0 -7
  1223. package/runtime/services/device/contacts-service.d.ts.map +0 -1
  1224. package/runtime/services/device/location-service.d.ts +0 -6
  1225. package/runtime/services/device/location-service.d.ts.map +0 -1
  1226. package/runtime/services/device/permission-service.d.ts +0 -7
  1227. package/runtime/services/device/permission-service.d.ts.map +0 -1
  1228. package/runtime/services/device/permissions.d.ts +0 -5
  1229. package/runtime/services/device/permissions.d.ts.map +0 -1
  1230. package/runtime/services/device/scan-service.d.ts +0 -19
  1231. package/runtime/services/device/scan-service.d.ts.map +0 -1
  1232. package/runtime/services/partial.service.d.ts +0 -12
  1233. package/runtime/services/partial.service.d.ts.map +0 -1
  1234. package/runtime/services/webprocess.service.d.ts +0 -10
  1235. package/runtime/services/webprocess.service.d.ts.map +0 -1
  1236. package/runtime/watcher.d.ts +0 -33
  1237. package/runtime/watcher.d.ts.map +0 -1
  1238. package/styles/MediaQueryList.d.ts +0 -6
  1239. package/styles/MediaQueryList.d.ts.map +0 -1
  1240. package/styles/background.component.d.ts +0 -57
  1241. package/styles/background.component.d.ts.map +0 -1
  1242. package/styles/calc.d.ts +0 -24
  1243. package/styles/calc.d.ts.map +0 -1
  1244. package/styles/color-mix.d.ts +0 -5
  1245. package/styles/color-mix.d.ts.map +0 -1
  1246. package/styles/style-prop.validator.d.ts +0 -4
  1247. package/styles/style-prop.validator.d.ts.map +0 -1
  1248. package/styles/style-props.d.ts +0 -49
  1249. package/styles/style-props.d.ts.map +0 -1
  1250. package/styles/theme.d.ts +0 -66
  1251. package/styles/theme.d.ts.map +0 -1
  1252. package/styles/theme.variables.d.ts +0 -379
  1253. package/styles/theme.variables.d.ts.map +0 -1
  1254. package/variables/base-variable.d.ts +0 -50
  1255. package/variables/base-variable.d.ts.map +0 -1
  1256. package/variables/device/calendar/create-event.operation.d.ts +0 -18
  1257. package/variables/device/calendar/create-event.operation.d.ts.map +0 -1
  1258. package/variables/device/calendar/delete-event.operation.d.ts +0 -14
  1259. package/variables/device/calendar/delete-event.operation.d.ts.map +0 -1
  1260. package/variables/device/calendar/get-events.operation.d.ts +0 -18
  1261. package/variables/device/calendar/get-events.operation.d.ts.map +0 -1
  1262. package/variables/device/camera/capture-image.operation.d.ts +0 -14
  1263. package/variables/device/camera/capture-image.operation.d.ts.map +0 -1
  1264. package/variables/device/camera/capture-video.operation.d.ts +0 -14
  1265. package/variables/device/camera/capture-video.operation.d.ts.map +0 -1
  1266. package/variables/device/contacts/get-contacts.operation.d.ts +0 -19
  1267. package/variables/device/contacts/get-contacts.operation.d.ts.map +0 -1
  1268. package/variables/device/device/app-info.operation.d.ts +0 -13
  1269. package/variables/device/device/app-info.operation.d.ts.map +0 -1
  1270. package/variables/device/device/current-geo-position.operation.d.ts +0 -31
  1271. package/variables/device/device/current-geo-position.operation.d.ts.map +0 -1
  1272. package/variables/device/device/device-info.operation.d.ts +0 -11
  1273. package/variables/device/device/device-info.operation.d.ts.map +0 -1
  1274. package/variables/device/device/network-info.operation.d.ts +0 -14
  1275. package/variables/device/device/network-info.operation.d.ts.map +0 -1
  1276. package/variables/device/device/vibrate.operation.d.ts +0 -8
  1277. package/variables/device/device/vibrate.operation.d.ts.map +0 -1
  1278. package/variables/device/file/open-file.operation.d.ts +0 -31
  1279. package/variables/device/file/open-file.operation.d.ts.map +0 -1
  1280. package/variables/device/file/upload-file.operation.d.ts +0 -23
  1281. package/variables/device/file/upload-file.operation.d.ts.map +0 -1
  1282. package/variables/device/operation.provider.d.ts +0 -15
  1283. package/variables/device/operation.provider.d.ts.map +0 -1
  1284. package/variables/device/scan/scan.operation.d.ts +0 -21
  1285. package/variables/device/scan/scan.operation.d.ts.map +0 -1
  1286. package/variables/device-variable.d.ts +0 -10
  1287. package/variables/device-variable.d.ts.map +0 -1
  1288. package/variables/http.service.d.ts +0 -11
  1289. package/variables/http.service.d.ts.map +0 -1
  1290. package/variables/live-variable.d.ts +0 -44
  1291. package/variables/live-variable.d.ts.map +0 -1
  1292. package/variables/model-variable.d.ts +0 -10
  1293. package/variables/model-variable.d.ts.map +0 -1
  1294. package/variables/service-variable.d.ts +0 -33
  1295. package/variables/service-variable.d.ts.map +0 -1
  1296. package/variables/utils/dataset-util.d.ts +0 -32
  1297. package/variables/utils/dataset-util.d.ts.map +0 -1
  1298. package/variables/utils/inflight-queue.d.ts +0 -36
  1299. package/variables/utils/inflight-queue.d.ts.map +0 -1
  1300. package/variables/utils/variable.constants.d.ts +0 -22
  1301. package/variables/utils/variable.constants.d.ts.map +0 -1
  1302. package/variables/utils/variable.utils.d.ts +0 -21
  1303. package/variables/utils/variable.utils.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"names":["SkeletonAnimationProps","BaseChartComponentProps","constructor","args","_defineProperty"],"sources":["basechart.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { SkeletonAnimationProps } from '@wavemaker/app-rn-runtime/runtime/base-fragment.component';\nimport { AccessibilityRole } from 'react-native';\n\nexport default class BaseChartComponentProps extends SkeletonAnimationProps {\n xaxisdatakey?: string = '';\n yaxisdatakey?: string = '';\n iconclass?: string = '';\n dataset?: any;\n type?: string = '';\n title?: string = '';\n subheading?: string = '';\n theme?: string = '';\n xaxislabel?: string = '';\n xunits?: string = '';\n staggerlabels?: boolean = false;\n yaxislabel?: string = '';\n yunits?: string = '';\n yaxislabeldistance?: number;\n xaxislabeldistance?: number;\n offsetxaxis?: number;\n offsetyaxis?: number;\n customcolors?: string | Array<string> = '';\n legendheight?: number = 0;\n labellegendheight?: number = 0;\n labeltype?: 'percent' | 'value' | 'key-value' | 'key' = 'percent';\n bubblesize?: string = '';\n shape?: string = '';\n loadingicon?: string = 'fa fa-circle-o-notch fa-pulse';\n loadingdatamsg?: string = 'Loading...';\n nodatamessage?: string = 'No data found';\n offsetbottom?: number = 50;\n offsettop?: number = 70;\n offsetleft?: number = 65;\n offsetright?: number = 25;\n showlegend?: string = 'top';\n showlabels?: 'inside' | 'outside' | 'hide' = 'outside';\n tooltips?: boolean = true;\n interpolation?: string = 'linear';\n highlightpoints?: boolean = false;\n showvalues?: boolean = false;\n showyaxis?: boolean = true;\n showxaxis?: boolean = true;\n ydomain?: string = 'Min';\n xdomain?: string = 'Min';\n labelangle?: number = 0;\n xtickexpr?: (item: any, index: number, length: number) => any;\n ytickexpr?: (item: any, index: number, length: number) => any;\n hidegridxaxis?: boolean = false;\n hidegridyaxis?: boolean = false;\n autoadjustlabels?: boolean = false;\n accessible?: boolean = true;\n accessibilitylabel?: string;\n hint?: string;\n accessibilityrole?: AccessibilityRole;\n renderitempartial?: (item: any, index: number, partialName: string)=> React.ReactNode;\n ynumberformat?: string = '';\n showxaxislabels?: boolean = true;\n showyaxislabels?: boolean = true;\n onTap?: ($event: any, instance: any) => any;\n onDoubleTap?: ($event: any, instance: any) => any;\n onLongTap?: ($event: any, instance: any) => any;\n}\n"],"mappings":";;;AACA,SAASA,sBAAsB,QAAQ,2DAA2D;AAGlG,eAAe,MAAMC,uBAAuB,SAASD,sBAAsB,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA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AAAA,eAAA,0BACJ,IAAI;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;EAAA;AAIlC","ignoreList":[]}
1
+ {"version":3,"names":["SkeletonAnimationProps","BaseChartComponentProps","constructor","args","_defineProperty","undefined"],"sources":["basechart.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { SkeletonAnimationProps } from '@wavemaker/app-rn-runtime/runtime/base-fragment.component';\nimport { AccessibilityRole } from 'react-native';\n\nexport default class BaseChartComponentProps extends SkeletonAnimationProps {\n xaxisdatakey: string = '';\n yaxisdatakey: string = '';\n iconclass = '';\n dataset: any;\n type: string = '';\n title: string = '';\n subheading: string = '';\n theme: string = '';\n xaxislabel: string = '';\n xunits: string = '';\n staggerlabels: boolean = false;\n yaxislabel: string = '';\n yunits: string = '';\n yaxislabeldistance?: number = undefined;\n xaxislabeldistance?: number = undefined;\n offsetxaxis?: number = undefined;\n offsetyaxis?: number = undefined;\n customcolors: string | Array<string> = '';\n labelcolors: string | Array<string> = '';\n legendheight: number = 0;\n labellegendheight: number = 0;\n labeltype: 'percent' | 'value' | 'key-value' | 'key' = 'percent';\n bubblesize: string= '';\n shape: string = '';\n loadingicon='fa fa-circle-o-notch fa-pulse';\n loadingdatamsg = 'Loading...';\n nodatamessage = 'No data found';\n offsetbottom: number = 50;\n offsettop: number = 70;\n offsetleft: number = 65;\n offsetright: number = 25;\n showlegend: string = 'top';\n showlabels: 'inside' | 'outside' | 'hide' = 'outside';\n tooltips: boolean = true;\n interpolation: string = 'linear';\n highlightpoints: boolean = false;\n showvalues: boolean = false;\n showyaxis: boolean = true;\n showxaxis: boolean = true;\n ydomain: string = 'Min';\n xdomain: string = 'Min';\n labelangle: number = 0;\n xtickexpr?: (item: any, index: number, length: number) => any;\n ytickexpr?: (item: any, index: number, length: number) => any;\n hidegridxaxis: boolean = false;\n hidegridyaxis: boolean = false;\n autoadjustlabels: boolean = false;\n accessible?: boolean = true;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole;\n renderitempartial?: (item: any, index: number, partialName: string)=> React.ReactNode;\n ynumberformat?: string = '';\n showxaxislabels: boolean = true;\n showyaxislabels: boolean = true;\n chartheight?: number;\n}\n"],"mappings":";;;AACA,SAASA,sBAAsB,QAAQ,2DAA2D;AAGlG,eAAe,MAAMC,uBAAuB,SAASD,sBAAsB,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,uBACnD,EAAE;IAAAA,eAAA,uBACF,EAAE;IAAAA,eAAA,oBACb,EAAE;IAAAA,eAAA;IAAAA,eAAA,eAEC,EAAE;IAAAA,eAAA,gBACD,EAAE;IAAAA,eAAA,qBACG,EAAE;IAAAA,eAAA,gBACP,EAAE;IAAAA,eAAA,qBACG,EAAE;IAAAA,eAAA,iBACN,EAAE;IAAAA,eAAA,wBACM,KAAK;IAAAA,eAAA,qBACT,EAAE;IAAAA,eAAA,iBACN,EAAE;IAAAA,eAAA,6BACWC,SAAS;IAAAD,eAAA,6BACTC,SAAS;IAAAD,eAAA,sBAChBC,SAAS;IAAAD,eAAA,sBACTC,SAAS;IAAAD,eAAA,uBACO,EAAE;IAAAA,eAAA,sBACH,EAAE;IAAAA,eAAA,uBACjB,CAAC;IAAAA,eAAA,4BACI,CAAC;IAAAA,eAAA,oBAC0B,SAAS;IAAAA,eAAA,qBAC5C,EAAE;IAAAA,eAAA,gBACN,EAAE;IAAAA,eAAA,sBACN,+BAA+B;IAAAA,eAAA,yBAC1B,YAAY;IAAAA,eAAA,wBACb,eAAe;IAAAA,eAAA,uBACR,EAAE;IAAAA,eAAA,oBACL,EAAE;IAAAA,eAAA,qBACD,EAAE;IAAAA,eAAA,sBACD,EAAE;IAAAA,eAAA,qBACH,KAAK;IAAAA,eAAA,qBACkB,SAAS;IAAAA,eAAA,mBACjC,IAAI;IAAAA,eAAA,wBACA,QAAQ;IAAAA,eAAA,0BACL,KAAK;IAAAA,eAAA,qBACV,KAAK;IAAAA,eAAA,oBACN,IAAI;IAAAA,eAAA,oBACJ,IAAI;IAAAA,eAAA,kBACP,KAAK;IAAAA,eAAA,kBACL,KAAK;IAAAA,eAAA,qBACF,CAAC;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,wBAGG,KAAK;IAAAA,eAAA,wBACL,KAAK;IAAAA,eAAA,2BACF,KAAK;IAAAA,eAAA,qBACV,IAAI;IAAAA,eAAA,6BACGC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA;IAAAA,eAAA;IAAAA,eAAA,wBAGA,EAAE;IAAAA,eAAA,0BACA,IAAI;IAAAA,eAAA,0BACJ,IAAI;IAAAA,eAAA;EAAA;AAEjC","ignoreList":[]}
@@ -44,13 +44,30 @@ export default class WmBubbleChart extends BaseChartComponent {
44
44
  });
45
45
  }
46
46
  renderWidget(props) {
47
- var _this$state$data;
47
+ var _this$state$data, _props$chartheight, _this$styles$root, _this$styles$root2, _this$styles$root3, _this$styles$root4, _this$styles$root5, _this$styles$root6;
48
48
  this.invokeEventCallback('onBeforerender', [this.proxy, null]);
49
49
  if (!((_this$state$data = this.state.data) !== null && _this$state$data !== void 0 && _this$state$data.length)) {
50
50
  return null;
51
51
  }
52
+ let offsetTop = props.offsettop;
53
+ let offsetHeight = 0;
54
+ let victoryChartHeight = (_props$chartheight = props.chartheight) !== null && _props$chartheight !== void 0 ? _props$chartheight : this.styles.root.height;
55
+ if ((_this$styles$root = this.styles.root) !== null && _this$styles$root !== void 0 && _this$styles$root.height && typeof ((_this$styles$root2 = this.styles.root) === null || _this$styles$root2 === void 0 ? void 0 : _this$styles$root2.height) === 'number') {
56
+ offsetTop = this.styles.root.height / 250 * props.offsettop;
57
+ offsetHeight = this.styles.root.height >= 250 && !props.chartheight && props.chartheight !== 0 ? 0 : offsetTop + props.offsetbottom;
58
+ }
59
+ if (typeof victoryChartHeight === 'number') {
60
+ victoryChartHeight = victoryChartHeight + offsetHeight;
61
+ }
62
+ let containerStyle = {
63
+ ...this.styles.root
64
+ };
65
+ if (containerStyle !== null && containerStyle !== void 0 && containerStyle.height) {
66
+ containerStyle['minHeight'] = containerStyle['height'];
67
+ delete containerStyle['height'];
68
+ }
52
69
  return /*#__PURE__*/React.createElement(View, _extends({}, getAccessibilityProps(AccessibilityWidgetType.LINECHART, props), {
53
- style: this.styles.root,
70
+ style: containerStyle,
54
71
  onLayout: this.onViewLayoutChange.bind(this)
55
72
  }), /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(View, {
56
73
  style: {
@@ -68,10 +85,10 @@ export default class WmBubbleChart extends BaseChartComponent {
68
85
  ref: this.viewRef
69
86
  }, this.getTooltip(), /*#__PURE__*/React.createElement(VictoryChart, {
70
87
  theme: this.state.theme,
71
- height: this.styles.root.height,
88
+ height: victoryChartHeight,
72
89
  width: this.state.chartWidth || this.screenWidth,
73
90
  padding: {
74
- top: props.offsettop,
91
+ top: offsetTop,
75
92
  bottom: props.offsetbottom,
76
93
  left: this.isRTL ? props.offsetright : props.offsetleft,
77
94
  right: this.isRTL ? props.offsetleft : props.offsetright
@@ -83,7 +100,7 @@ export default class WmBubbleChart extends BaseChartComponent {
83
100
  gutter: 20,
84
101
  data: [],
85
102
  theme: this.state.theme
86
- }), this.getLegendView(), this.getXaxis(), this.getYAxis(), this.state.data.map((d, i) => {
103
+ }), this.getLegendView(undefined, (_this$styles$root3 = this.styles.root) !== null && _this$styles$root3 !== void 0 && _this$styles$root3.height && typeof ((_this$styles$root4 = this.styles.root) === null || _this$styles$root4 === void 0 ? void 0 : _this$styles$root4.height) === 'string' || (_this$styles$root5 = this.styles.root) !== null && _this$styles$root5 !== void 0 && _this$styles$root5.height && typeof ((_this$styles$root6 = this.styles.root) === null || _this$styles$root6 === void 0 ? void 0 : _this$styles$root6.height) === 'number' && this.styles.root.height >= 250 ? 0 : offsetHeight), this.getXaxis(offsetHeight), this.getYAxis(), this.state.data.map((d, i) => {
87
104
  return /*#__PURE__*/React.createElement(VictoryScatter, {
88
105
  colorScale: this.state.colors,
89
106
  style: {
@@ -1 +1 @@
1
- {"version":3,"names":["React","Text","View","Platform","AccessibilityWidgetType","getAccessibilityProps","WmBubbleChartProps","DEFAULT_CLASS","BaseChartComponent","BaseChartComponentState","VictoryChart","VictoryLegend","VictoryScatter","Svg","WmIcon","WmBubbleChartState","WmBubbleChart","constructor","props","onSelect","event","data","viewRef","current","state","dataset","measureInWindow","chartX","chartY","value","index","y","label","xaxisDatakeyArr","datum","x","selectedItem","nativeEvent","tooltipX","pageX","tooltipY","pageY","selectedChartItem","series","_dataObj","updateState","tooltipXaxis","tooltipYaxis","isTooltipOpen","tooltipXPosition","tooltipoffsetx","tooltipYPosition","tooltipoffsety","invokeEventCallback","proxy","renderWidget","_this$state$data","length","createElement","_extends","LINECHART","style","styles","root","onLayout","onViewLayoutChange","bind","flexDirection","alignItems","iconclass","icon","title","subHeading","subheading","ref","getTooltip","theme","height","width","chartWidth","screenWidth","padding","top","offsettop","bottom","offsetbottom","left","isRTL","offsetright","offsetleft","right","name","containerComponent","orientation","gutter","getLegendView","getXaxis","getYAxis","map","d","i","colorScale","colors","fill","opacity","key","size","events","target","eventHandlers","OS","onClick","onPress"],"sources":["bubble-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport {Text, View, Platform} from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \n\nimport WmBubbleChartProps from './bubble-chart.props';\nimport { DEFAULT_CLASS, WmBubbleChartStyles } from './bubble-chart.styles';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from \"@wavemaker/app-rn-runtime/components/chart/basechart.component\";\nimport {VictoryAxis, VictoryChart, VictoryLegend, VictoryLine, VictoryScatter} from \"victory-native\";\nimport { ScatterSymbolType } from \"victory-core\";\nimport {Svg} from \"react-native-svg\";\nimport {get} from \"lodash-es\";\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\n\nexport class WmBubbleChartState extends BaseChartComponentState<WmBubbleChartProps> {}\n\nexport default class WmBubbleChart extends BaseChartComponent<WmBubbleChartProps, WmBubbleChartState, WmBubbleChartStyles> {\n\n constructor(props: WmBubbleChartProps) {\n super(props, DEFAULT_CLASS, new WmBubbleChartProps(), new WmBubbleChartState());\n }\n\n onSelect(event: any, data: any){\n if (!this.viewRef.current) return;\n if (!this.state.props.dataset) return;\n this.viewRef.current.measureInWindow((chartX: number, chartY: number) => {\n let value = data.data[data.index].y;\n let label = this.state.xaxisDatakeyArr[data.datum.x];\n let selectedItem = this.props.dataset[data.index];\n const nativeEvent = event.nativeEvent;\n let tooltipX = nativeEvent.pageX - chartX;\n let tooltipY = nativeEvent.pageY - chartY;\n let selectedChartItem = [{series: 0, x: data.index, y: value,_dataObj: selectedItem},data.index];\n this.updateState({\n tooltipXaxis: label,\n tooltipYaxis: value,\n isTooltipOpen: true,\n selectedItem: {...selectedItem, index: data.index},\n tooltipXPosition: tooltipX - this.state.tooltipoffsetx, \n tooltipYPosition: tooltipY - this.state.tooltipoffsety\n } as WmBubbleChartState)\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\n });\n }\n\n renderWidget(props: WmBubbleChartProps) {\n this.invokeEventCallback('onBeforerender', [this.proxy, null]);\n if (!this.state.data?.length) {\n return null;\n }\n return (<View\n {...getAccessibilityProps(AccessibilityWidgetType.LINECHART, props)}\n style={this.styles.root}\n onLayout={this.onViewLayoutChange.bind(this)}\n >\n <View>\n <View style={{flexDirection: 'row', alignItems: 'center'}}>\n { props.iconclass ? (<WmIcon iconclass={props.iconclass} styles={this.styles.icon}></WmIcon>) : null }\n <Text style={this.styles.title}>{props.title}</Text>\n </View>\n <Text style={this.styles.subHeading}>{props.subheading}</Text>\n </View>\n <View ref={this.viewRef}>\n {this.getTooltip()}\n <VictoryChart\n theme={this.state.theme}\n height={this.styles.root.height as number}\n width={this.state.chartWidth || this.screenWidth}\n padding={{ top: props.offsettop, bottom: props.offsetbottom, left: this.isRTL ? props.offsetright : props.offsetleft, right: this.isRTL ? props.offsetleft : props.offsetright }}\n >\n <VictoryLegend\n name={'legend'}\n containerComponent={<Svg />}\n orientation=\"horizontal\"\n gutter={20}\n data={[]}\n theme={this.state.theme}\n />\n {this.getLegendView()}\n {this.getXaxis()}\n {this.getYAxis()}\n {this.state.data.map((d: any, i: number) => {\n return <VictoryScatter\n colorScale={this.state.colors}\n style={{\n data: { fill: this.state.colors[i], opacity: ({ datum }: any) => datum.opacity }\n }}\n key={props.name + '_bubble_' + i}\n name={props.name + '_bubble_' + i}\n data={d}\n size={5}\n events={[{\n target: 'data',\n eventHandlers: Platform.OS == \"web\" ? {\n onClick: this.onSelect.bind(this)\n }:{\n onPress: this.onSelect.bind(this)\n }\n }]}\n />\n })}\n </VictoryChart></View></View>);\n }\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAQC,IAAI,EAAEC,IAAI,EAAEC,QAAQ,QAAO,cAAc;AAEjD,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,OAAOC,kBAAkB,MAAM,sBAAsB;AACrD,SAASC,aAAa,QAA6B,uBAAuB;AAC1E,SACEC,kBAAkB,EAClBC,uBAAuB,QAClB,gEAAgE;AACvE,SAAqBC,YAAY,EAAEC,aAAa,EAAeC,cAAc,QAAO,gBAAgB;AAEpG,SAAQC,GAAG,QAAO,kBAAkB;AAEpC,OAAOC,MAAM,MAAM,gEAAgE;AAGnF,OAAO,MAAMC,kBAAkB,SAASN,uBAAuB,CAAqB;AAEpF,eAAe,MAAMO,aAAa,SAASR,kBAAkB,CAA8D;EAEzHS,WAAWA,CAACC,KAAyB,EAAE;IACrC,KAAK,CAACA,KAAK,EAAEX,aAAa,EAAE,IAAID,kBAAkB,CAAC,CAAC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S,KAAK;MAC5C,oBAAOpG,KAAA,CAAA0D,aAAA,CAAC9C,cAAc;QACpByF,UAAU,EAAE,IAAI,CAAC7E,KAAK,CAAC8E,MAAO;QAC9BzC,KAAK,EAAE;UACLxC,IAAI,EAAE;YAAEkF,IAAI,EAAE,IAAI,CAAC/E,KAAK,CAAC8E,MAAM,CAACF,CAAC,CAAC;YAAEI,OAAO,EAAEA,CAAC;cAAEtE;YAAW,CAAC,KAAKA,KAAK,CAACsE;UAAQ;QACjF,CAAE;QACFC,GAAG,EAAEvF,KAAK,CAACyE,IAAI,GAAG,UAAU,GAAGS,CAAE;QACjCT,IAAI,EAAEzE,KAAK,CAACyE,IAAI,GAAG,UAAU,GAAGS,CAAE;QAClC/E,IAAI,EAAE8E,CAAE;QACRO,IAAI,EAAE,CAAE;QACRC,MAAM,EAAE,CAAC;UACPC,MAAM,EAAE,MAAM;UACdC,aAAa,EAAE1G,QAAQ,CAAC2G,EAAE,IAAI,KAAK,GAAG;YACpCC,OAAO,EAAE,IAAI,CAAC5F,QAAQ,CAAC+C,IAAI,CAAC,IAAI;UAClC,CAAC,GAAC;YACA8C,OAAO,EAAE,IAAI,CAAC7F,QAAQ,CAAC+C,IAAI,CAAC,IAAI;UAClC;QACF,CAAC;MAAE,CACJ,CAAC;IACJ,CAAC,CACa,CAAO,CAAO,CAAC;EACjC;AACF","ignoreList":[]}
1
+ {"version":3,"names":["React","Text","View","Platform","AccessibilityWidgetType","getAccessibilityProps","WmBubbleChartProps","DEFAULT_CLASS","BaseChartComponent","BaseChartComponentState","VictoryChart","VictoryLegend","VictoryScatter","Svg","WmIcon","WmBubbleChartState","WmBubbleChart","constructor","props","onSelect","event","data","viewRef","current","state","dataset","measureInWindow","chartX","chartY","value","index","y","label","xaxisDatakeyArr","datum","x","selectedItem","nativeEvent","tooltipX","pageX","tooltipY","pageY","selectedChartItem","series","_dataObj","updateState","tooltipXaxis","tooltipYaxis","isTooltipOpen","tooltipXPosition","tooltipoffsetx","tooltipYPosition","tooltipoffsety","invokeEventCallback","proxy","renderWidget","_this$state$data","_props$chartheight","_this$styles$root","_this$styles$root2","_this$styles$root3","_this$styles$root4","_this$styles$root5","_this$styles$root6","length","offsetTop","offsettop","offsetHeight","victoryChartHeight","chartheight","styles","root","height","offsetbottom","containerStyle","createElement","_extends","LINECHART","style","onLayout","onViewLayoutChange","bind","flexDirection","alignItems","iconclass","icon","title","subHeading","subheading","ref","getTooltip","theme","width","chartWidth","screenWidth","padding","top","bottom","left","isRTL","offsetright","offsetleft","right","name","containerComponent","orientation","gutter","getLegendView","undefined","getXaxis","getYAxis","map","d","i","colorScale","colors","fill","opacity","key","size","events","target","eventHandlers","OS","onClick","onPress"],"sources":["bubble-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport {Text, View, Platform} from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \n\nimport WmBubbleChartProps from './bubble-chart.props';\nimport { DEFAULT_CLASS, WmBubbleChartStyles } from './bubble-chart.styles';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from \"@wavemaker/app-rn-runtime/components/chart/basechart.component\";\nimport {VictoryAxis, VictoryChart, VictoryLegend, VictoryLine, VictoryScatter} from \"victory-native\";\nimport { ScatterSymbolType } from \"victory-core\";\nimport {Svg} from \"react-native-svg\";\nimport {get} from \"lodash-es\";\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\n\nexport class WmBubbleChartState extends BaseChartComponentState<WmBubbleChartProps> {}\n\nexport default class WmBubbleChart extends BaseChartComponent<WmBubbleChartProps, WmBubbleChartState, WmBubbleChartStyles> {\n\n constructor(props: WmBubbleChartProps) {\n super(props, DEFAULT_CLASS, new WmBubbleChartProps(), new WmBubbleChartState());\n }\n\n onSelect(event: any, data: any){\n if (!this.viewRef.current) return;\n if (!this.state.props.dataset) return;\n this.viewRef.current.measureInWindow((chartX: number, chartY: number) => {\n let value = data.data[data.index].y;\n let label = this.state.xaxisDatakeyArr[data.datum.x];\n let selectedItem = this.props.dataset[data.index];\n const nativeEvent = event.nativeEvent;\n let tooltipX = nativeEvent.pageX - chartX;\n let tooltipY = nativeEvent.pageY - chartY;\n let selectedChartItem = [{series: 0, x: data.index, y: value,_dataObj: selectedItem},data.index];\n this.updateState({\n tooltipXaxis: label,\n tooltipYaxis: value,\n isTooltipOpen: true,\n selectedItem: {...selectedItem, index: data.index},\n tooltipXPosition: tooltipX - this.state.tooltipoffsetx, \n tooltipYPosition: tooltipY - this.state.tooltipoffsety\n } as WmBubbleChartState)\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\n });\n }\n\n renderWidget(props: WmBubbleChartProps) {\n this.invokeEventCallback('onBeforerender', [this.proxy, null]);\n if (!this.state.data?.length) {\n return null;\n }\n\n let offsetTop = props.offsettop;\n let offsetHeight = 0;\n let victoryChartHeight = props.chartheight ?? this.styles.root.height;\n\n if(this.styles.root?.height && typeof this.styles.root?.height === 'number') {\n offsetTop = (this.styles.root.height / 250) * props.offsettop;\n offsetHeight = (this.styles.root.height >= 250 && !props.chartheight && props.chartheight !== 0) ? 0 : offsetTop + props.offsetbottom;\n }\n\n if(typeof victoryChartHeight === 'number') {\n victoryChartHeight = victoryChartHeight + offsetHeight;\n }\n\n let containerStyle = {...this.styles.root}\n if(containerStyle?.height) {\n containerStyle['minHeight'] = containerStyle['height'];\n delete containerStyle['height'];\n }\n\n return (<View\n {...getAccessibilityProps(AccessibilityWidgetType.LINECHART, props)}\n style={containerStyle}\n onLayout={this.onViewLayoutChange.bind(this)}\n >\n <View>\n <View style={{flexDirection: 'row', alignItems: 'center'}}>\n { props.iconclass ? (<WmIcon iconclass={props.iconclass} styles={this.styles.icon}></WmIcon>) : null }\n <Text style={this.styles.title}>{props.title}</Text>\n </View>\n <Text style={this.styles.subHeading}>{props.subheading}</Text>\n </View>\n <View ref={this.viewRef}>\n {this.getTooltip()}\n <VictoryChart\n theme={this.state.theme}\n height={victoryChartHeight as number}\n width={this.state.chartWidth || this.screenWidth}\n padding={{ top: offsetTop, bottom: props.offsetbottom, left: this.isRTL ? props.offsetright : props.offsetleft, right: this.isRTL ? props.offsetleft : props.offsetright }}\n >\n <VictoryLegend\n name={'legend'}\n containerComponent={<Svg />}\n orientation=\"horizontal\"\n gutter={20}\n data={[]}\n theme={this.state.theme}\n />\n {this.getLegendView(\n undefined, \n (\n (\n (this.styles.root?.height && typeof this.styles.root?.height === 'string') || \n (this.styles.root?.height && typeof this.styles.root?.height === 'number' && this.styles.root.height >= 250)) ? \n 0 : offsetHeight\n )\n )}\n {this.getXaxis(offsetHeight)}\n {this.getYAxis()}\n {this.state.data.map((d: any, i: number) => {\n return <VictoryScatter\n colorScale={this.state.colors}\n style={{\n data: { fill: this.state.colors[i], opacity: ({ datum }: any) => datum.opacity }\n }}\n key={props.name + '_bubble_' + i}\n name={props.name + '_bubble_' + i}\n data={d}\n size={5}\n events={[{\n target: 'data',\n eventHandlers: Platform.OS == \"web\" ? {\n onClick: this.onSelect.bind(this)\n }:{\n onPress: this.onSelect.bind(this)\n }\n }]}\n />\n })}\n </VictoryChart></View></View>);\n }\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAQC,IAAI,EAAEC,IAAI,EAAEC,QAAQ,QAAO,cAAc;AAEjD,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,OAAOC,kBAAkB,MAAM,sBAAsB;AACrD,SAASC,aAAa,QAA6B,uBAAuB;AAC1E,SACEC,kBAAkB,EAClBC,uBAAuB,QAClB,gEAAgE;AACvE,SAAqBC,YAAY,EAAEC,aAAa,EAAeC,cAAc,QAAO,gBAAgB;AAEpG,SAAQC,GAAG,QAAO,kBAAkB;AAEpC,OAAOC,MAAM,MAAM,gEAAgE;A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IAAI,KAAK,GAAG;YACpCC,OAAO,EAAE,IAAI,CAACzG,QAAQ,CAAC8D,IAAI,CAAC,IAAI;UAClC,CAAC,GAAC;YACA4C,OAAO,EAAE,IAAI,CAAC1G,QAAQ,CAAC8D,IAAI,CAAC,IAAI;UAClC;QACF,CAAC;MAAE,CACJ,CAAC;IACJ,CAAC,CACa,CAAO,CAAO,CAAC;EACjC;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["BaseChartComponentProps","WmBubbleChartProps","constructor","args","_defineProperty"],"sources":["bubble-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from \"@wavemaker/app-rn-runtime/components/chart/basechart.props\";\nimport WmBubbleChart from './bubble-chart.component';\n\nexport default class WmBubbleChartProps extends BaseChartComponentProps {\n onSelect?: ($event: any, instance: WmBubbleChart) => any;\n}\n"],"mappings":";;;AAAA,OAAOA,uBAAuB,MAAM,4DAA4D;AAGhG,eAAe,MAAMC,kBAAkB,SAASD,uBAAuB,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA;EAAA;AAExE","ignoreList":[]}
1
+ {"version":3,"names":["BaseChartComponentProps","WmBubbleChartProps","constructor","args","_defineProperty"],"sources":["bubble-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from \"@wavemaker/app-rn-runtime/components/chart/basechart.props\";\n\nexport default class WmBubbleChartProps extends BaseChartComponentProps {\n onSelect?: any;\n}\n"],"mappings":";;;AAAA,OAAOA,uBAAuB,MAAM,4DAA4D;AAEhG,eAAe,MAAMC,kBAAkB,SAASD,uBAAuB,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA;EAAA;AAExE","ignoreList":[]}
@@ -1,11 +1,3 @@
1
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
2
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
3
- function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
1
  import WmBarChartProps from "@wavemaker/app-rn-runtime/components/chart/bar-chart/bar-chart.props";
5
- export default class WmColumnChartProps extends WmBarChartProps {
6
- constructor(...args) {
7
- super(...args);
8
- _defineProperty(this, "onSelect", undefined);
9
- }
10
- }
2
+ export default class WmColumnChartProps extends WmBarChartProps {}
11
3
  //# sourceMappingURL=column-chart.props.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["WmBarChartProps","WmColumnChartProps","constructor","args","_defineProperty","undefined"],"sources":["column-chart.props.ts"],"sourcesContent":["import WmBarChartProps from \"@wavemaker/app-rn-runtime/components/chart/bar-chart/bar-chart.props\";\nimport WmColumnChart from './column-chart.component';\n\nexport default class WmColumnChartProps extends WmBarChartProps {\n onSelect?: ($event: any, instance: WmColumnChart) => any = undefined;\n}\n"],"mappings":";;;AAAA,OAAOA,eAAe,MAAM,sEAAsE;AAGlG,eAAe,MAAMC,kBAAkB,SAASD,eAAe,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,mBACHC,SAAS;EAAA;AACtE","ignoreList":[]}
1
+ {"version":3,"names":["WmBarChartProps","WmColumnChartProps"],"sources":["column-chart.props.ts"],"sourcesContent":["import WmBarChartProps from \"@wavemaker/app-rn-runtime/components/chart/bar-chart/bar-chart.props\";\n\nexport default class WmColumnChartProps extends WmBarChartProps {\n}\n"],"mappings":"AAAA,OAAOA,eAAe,MAAM,sEAAsE;AAElG,eAAe,MAAMC,kBAAkB,SAASD,eAAe,CAAC","ignoreList":[]}
@@ -6,7 +6,6 @@ export default class WmDonutChartProps extends WmPieChartProps {
6
6
  constructor(...args) {
7
7
  super(...args);
8
8
  _defineProperty(this, "donutratio", 0.5);
9
- _defineProperty(this, "onSelect", undefined);
10
9
  }
11
10
  }
12
11
  //# sourceMappingURL=donut-chart.props.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["WmPieChartProps","WmDonutChartProps","constructor","args","_defineProperty","undefined"],"sources":["donut-chart.props.ts"],"sourcesContent":["import WmPieChartProps from \"@wavemaker/app-rn-runtime/components/chart/pie-chart/pie-chart.props\";\nimport WmDonutChart from './donut-chart.component';\n\nexport default class WmDonutChartProps extends WmPieChartProps {\n donutratio?: number = 0.5;\n onSelect?: ($event: any, instance: WmDonutChart) => any = undefined;\n}\n"],"mappings":";;;AAAA,OAAOA,eAAe,MAAM,sEAAsE;AAGlG,eAAe,MAAMC,iBAAiB,SAASD,eAAe,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,qBACvC,GAAG;IAAAA,eAAA,mBACiCC,SAAS;EAAA;AACrE","ignoreList":[]}
1
+ {"version":3,"names":["WmPieChartProps","WmDonutChartProps","constructor","args","_defineProperty"],"sources":["donut-chart.props.ts"],"sourcesContent":["import WmPieChartProps from \"@wavemaker/app-rn-runtime/components/chart/pie-chart/pie-chart.props\";\n\nexport default class WmDonutChartProps extends WmPieChartProps {\n donutratio: number = 0.5;\n}\n"],"mappings":";;;AAAA,OAAOA,eAAe,MAAM,sEAAsE;AAElG,eAAe,MAAMC,iBAAiB,SAASD,eAAe,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,qBACxC,GAAG;EAAA;AAC1B","ignoreList":[]}
@@ -44,13 +44,30 @@ export default class WmLineChart extends BaseChartComponent {
44
44
  });
45
45
  }
46
46
  renderWidget(props) {
47
- var _this$state$data;
47
+ var _this$state$data, _props$chartheight, _this$styles$root, _this$styles$root2, _this$styles$root3, _this$styles$root4, _this$styles$root5, _this$styles$root6;
48
48
  this.invokeEventCallback('onBeforerender', [this.proxy, null]);
49
49
  if (!((_this$state$data = this.state.data) !== null && _this$state$data !== void 0 && _this$state$data.length)) {
50
50
  return null;
51
51
  }
52
+ let offsetTop = props.offsettop;
53
+ let offsetHeight = 0;
54
+ let victoryChartHeight = (_props$chartheight = props.chartheight) !== null && _props$chartheight !== void 0 ? _props$chartheight : this.styles.root.height;
55
+ if ((_this$styles$root = this.styles.root) !== null && _this$styles$root !== void 0 && _this$styles$root.height && typeof ((_this$styles$root2 = this.styles.root) === null || _this$styles$root2 === void 0 ? void 0 : _this$styles$root2.height) === 'number') {
56
+ offsetTop = this.styles.root.height / 250 * props.offsettop;
57
+ offsetHeight = this.styles.root.height >= 250 && !props.chartheight && props.chartheight !== 0 ? 0 : offsetTop + props.offsetbottom;
58
+ }
59
+ if (typeof victoryChartHeight === 'number') {
60
+ victoryChartHeight = victoryChartHeight + offsetHeight;
61
+ }
62
+ let containerStyle = {
63
+ ...this.styles.root
64
+ };
65
+ if (containerStyle !== null && containerStyle !== void 0 && containerStyle.height) {
66
+ containerStyle['minHeight'] = containerStyle['height'];
67
+ delete containerStyle['height'];
68
+ }
52
69
  return /*#__PURE__*/React.createElement(View, _extends({
53
- style: this.styles.root
70
+ style: containerStyle
54
71
  }, getAccessibilityProps(AccessibilityWidgetType.LINECHART, props), {
55
72
  onLayout: this.onViewLayoutChange
56
73
  }), /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(View, {
@@ -69,15 +86,15 @@ export default class WmLineChart extends BaseChartComponent {
69
86
  ref: this.viewRef
70
87
  }, this.getTooltip(), /*#__PURE__*/React.createElement(VictoryChart, {
71
88
  theme: this.state.theme,
72
- height: this.styles.root.height,
89
+ height: victoryChartHeight,
73
90
  width: this.state.chartWidth || this.screenWidth,
74
91
  padding: {
75
- top: props.offsettop,
92
+ top: offsetTop,
76
93
  bottom: props.offsetbottom,
77
94
  left: this.isRTL ? props.offsetright : props.offsetleft,
78
95
  right: this.isRTL ? props.offsetleft : props.offsetright
79
96
  }
80
- }, this.getLegendView(), this.getXaxis(), this.getYAxis(), this.state.data.map((d, i) => {
97
+ }, this.getLegendView(undefined, (_this$styles$root3 = this.styles.root) !== null && _this$styles$root3 !== void 0 && _this$styles$root3.height && typeof ((_this$styles$root4 = this.styles.root) === null || _this$styles$root4 === void 0 ? void 0 : _this$styles$root4.height) === 'string' || (_this$styles$root5 = this.styles.root) !== null && _this$styles$root5 !== void 0 && _this$styles$root5.height && typeof ((_this$styles$root6 = this.styles.root) === null || _this$styles$root6 === void 0 ? void 0 : _this$styles$root6.height) === 'number' && this.styles.root.height >= 250 ? 0 : offsetHeight), this.getXaxis(offsetHeight), this.getYAxis(), this.state.data.map((d, i) => {
81
98
  return /*#__PURE__*/React.createElement(VictoryGroup, {
82
99
  key: props.name + '_line_group_' + i
83
100
  }, /*#__PURE__*/React.createElement(VictoryLine, {
@@ -1 +1 @@
1
- {"version":3,"names":["React","Text","View","Platform","AccessibilityWidgetType","getAccessibilityProps","VictoryChart","VictoryLine","VictoryScatter","VictoryGroup","WmLineChartProps","DEFAULT_CLASS","BaseChartComponent","BaseChartComponentState","ThemeVariables","WmIcon","WmLineChartState","WmLineChart","constructor","props","onSelect","event","data","viewRef","current","state","dataset","measureInWindow","chartX","chartY","value","index","y","label","xaxisDatakeyArr","datum","x","selectedItem","nativeEvent","tooltipX","pageX","tooltipY","pageY","selectedChartItem","series","_dataObj","updateState","tooltipXaxis","tooltipYaxis","isTooltipOpen","tooltipXPosition","tooltipoffsetx","tooltipYPosition","tooltipoffsety","invokeEventCallback","proxy","renderWidget","_this$state$data","length","createElement","_extends","style","styles","root","LINECHART","onLayout","onViewLayoutChange","flexDirection","alignItems","iconclass","icon","title","subHeading","subheading","ref","getTooltip","theme","height","width","chartWidth","screenWidth","padding","top","offsettop","bottom","offsetbottom","left","isRTL","offsetright","offsetleft","right","getLegendView","getXaxis","getYAxis","map","d","i","key","name","interpolation","standalone","stroke","colors","INSTANCE","chartLineColor","strokeWidth","linethickness","size","highlightpoints","fill","opacity","events","target","eventHandlers","OS","onClick","bind","onPress"],"sources":["line-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View, Platform, LayoutChangeEvent } from 'react-native';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \nimport {\n VictoryChart,\n VictoryLine,\n VictoryScatter,\n VictoryGroup,\n} from 'victory-native';\n\nimport WmLineChartProps from './line-chart.props';\nimport { DEFAULT_CLASS, WmLineChartStyles } from './line-chart.styles';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from \"@wavemaker/app-rn-runtime/components/chart/basechart.component\";\nimport ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';\nimport {InterpolationPropType} from \"victory-core\";\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\n\nexport class WmLineChartState extends BaseChartComponentState<WmLineChartProps> {}\n\nexport default class WmLineChart extends BaseChartComponent<WmLineChartProps, WmLineChartState, WmLineChartStyles> {\n\n constructor(props: WmLineChartProps) {\n super(props, DEFAULT_CLASS, new WmLineChartProps(), new WmLineChartState());\n }\n \n onSelect(event: any, data: any){\n if (!this.viewRef.current) return;\n if (!this.state.props.dataset) return;\n this.viewRef.current.measureInWindow((chartX: number, chartY: number) => {\n let value = data.data[data.index].y;\n let label = this.state.xaxisDatakeyArr[data.datum.x];\n let selectedItem = this.props.dataset[data.index];\n const nativeEvent = event.nativeEvent;\n let tooltipX = nativeEvent.pageX - chartX;\n let tooltipY = nativeEvent.pageY - chartY;\n let selectedChartItem = [{series: 0, x: data.index, y: value,_dataObj: selectedItem},data.index];\n this.updateState({\n tooltipXaxis: label,\n tooltipYaxis: value,\n isTooltipOpen: true,\n selectedItem: {...selectedItem, index: data.index},\n tooltipXPosition: tooltipX - this.state.tooltipoffsetx, \n tooltipYPosition: tooltipY - this.state.tooltipoffsety\n } as WmLineChartState)\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\n });\n }\n\n\n\n renderWidget(props: WmLineChartProps) {\n this.invokeEventCallback('onBeforerender', [this.proxy, null]);\n if (!this.state.data?.length) {\n return null;\n }\n return (\n <View style={this.styles.root} {...getAccessibilityProps(AccessibilityWidgetType.LINECHART, props)} onLayout={this.onViewLayoutChange}>\n <View>\n <View style={{flexDirection: 'row', alignItems: 'center'}}>\n { props.iconclass ? (<WmIcon iconclass={props.iconclass} styles={this.styles.icon}></WmIcon>) : null }\n <Text style={this.styles.title}>{props.title}</Text>\n </View>\n <Text style={this.styles.subHeading}>{props.subheading}</Text>\n </View>\n <View ref={this.viewRef}>\n {this.getTooltip()}\n <VictoryChart\n theme={this.state.theme}\n height={(this.styles.root.height) as number}\n width={this.state.chartWidth || this.screenWidth}\n padding={{ top: props.offsettop, bottom: props.offsetbottom, left: this.isRTL ? props.offsetright : props.offsetleft, right: this.isRTL ? props.offsetleft : props.offsetright }}\n >\n {this.getLegendView()}\n {this.getXaxis()}\n {this.getYAxis()}\n {this.state.data.map((d: any, i: number) => {\n return <VictoryGroup key={props.name + '_line_group_' + i}>\n <VictoryLine interpolation={props.interpolation as InterpolationPropType} key={props.name + '_line_' + i}\n name={props.name + '_' + i}\n standalone={true}\n style={{\n data: {\n stroke: (this.state.colors[i] || ThemeVariables.INSTANCE.chartLineColor),\n strokeWidth: props.linethickness,\n }\n }} \n data={d}\n />\n \n <VictoryScatter size={5} key={props.name + '_scatter' + i}\n style={{\n data: (props.highlightpoints || this.state.data.length === 1) ? {fill: this.state.colors[i], opacity: 0.8} : {opacity:0}\n }}\n data={d}\n events={[{\n target: 'data',\n eventHandlers: Platform.OS == \"web\" ? {\n onClick: this.onSelect.bind(this)\n }:{\n onPress: this.onSelect.bind(this)\n }\n }]}\n />\n </VictoryGroup>\n })}\n </VictoryChart>\n </View>\n </View>);\n }\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAA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,OAAO,EAAC;UAAC;QACzH,CAAE;QACFxF,IAAI,EAAEyE,CAAE;QACRgB,MAAM,EAAE,CAAC;UACPC,MAAM,EAAE,MAAM;UACdC,aAAa,EAAE9G,QAAQ,CAAC+G,EAAE,IAAI,KAAK,GAAG;YACpCC,OAAO,EAAE,IAAI,CAAC/F,QAAQ,CAACgG,IAAI,CAAC,IAAI;UAClC,CAAC,GAAC;YACAC,OAAO,EAAE,IAAI,CAACjG,QAAQ,CAACgG,IAAI,CAAC,IAAI;UAClC;QACF,CAAC;MAAE,CACN,CACW,CAAC;IACnB,CAAC,CACW,CACR,CACF,CAAC;EACT;AACF","ignoreList":[]}
1
+ {"version":3,"names":["React","Text","View","Platform","AccessibilityWidgetType","getAccessibilityProps","VictoryChart","VictoryLine","VictoryScatter","VictoryGroup","WmLineChartProps","DEFAULT_CLASS","BaseChartComponent","BaseChartComponentState","ThemeVariables","WmIcon","WmLineChartState","WmLineChart","constructor","props","onSelect","event","data","viewRef","current","state","dataset","measureInWindow","chartX","chartY","value","index","y","label","xaxisDatakeyArr","datum","x","selectedItem","nativeEvent","tooltipX","pageX","tooltipY","pageY","selectedChartItem","series","_dataObj","updateState","tooltipXaxis","tooltipYaxis","isTooltipOpen","tooltipXPosition","tooltipoffsetx","tooltipYPosition","tooltipoffsety","invokeEventCallback","proxy","renderWidget","_this$state$data","_props$chartheight","_this$styles$root","_this$styles$root2","_this$styles$root3","_this$styles$root4","_this$styles$root5","_this$styles$root6","length","offsetTop","offsettop","offsetHeight","victoryChartHeight","chartheight","styles","root","height","offsetbottom","containerStyle","createElement","_extends","style","LINECHART","onLayout","onViewLayoutChange","flexDirection","alignItems","iconclass","icon","title","subHeading","subheading","ref","getTooltip","theme","width","chartWidth","screenWidth","padding","top","bottom","left","isRTL","offsetright","offsetleft","right","getLegendView","undefined","getXaxis","getYAxis","map","d","i","key","name","interpolation","standalone","stroke","colors","INSTANCE","chartLineColor","strokeWidth","linethickness","size","highlightpoints","fill","opacity","events","target","eventHandlers","OS","onClick","bind","onPress"],"sources":["line-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View, Platform, LayoutChangeEvent } from 'react-native';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \nimport {\n VictoryChart,\n VictoryLine,\n VictoryScatter,\n VictoryGroup,\n} from 'victory-native';\n\nimport WmLineChartProps from './line-chart.props';\nimport { DEFAULT_CLASS, WmLineChartStyles } from './line-chart.styles';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from \"@wavemaker/app-rn-runtime/components/chart/basechart.component\";\nimport ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';\nimport {InterpolationPropType} from \"victory-core\";\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\n\nexport class WmLineChartState extends BaseChartComponentState<WmLineChartProps> {}\n\nexport default class WmLineChart extends BaseChartComponent<WmLineChartProps, WmLineChartState, WmLineChartStyles> {\n\n constructor(props: WmLineChartProps) {\n super(props, DEFAULT_CLASS, new WmLineChartProps(), new WmLineChartState());\n }\n \n onSelect(event: any, data: any){\n if (!this.viewRef.current) return;\n if (!this.state.props.dataset) return;\n this.viewRef.current.measureInWindow((chartX: number, chartY: number) => {\n let value = data.data[data.index].y;\n let label = this.state.xaxisDatakeyArr[data.datum.x];\n let selectedItem = this.props.dataset[data.index];\n const nativeEvent = event.nativeEvent;\n let tooltipX = nativeEvent.pageX - chartX;\n let tooltipY = nativeEvent.pageY - chartY;\n let selectedChartItem = [{series: 0, x: data.index, y: value,_dataObj: selectedItem},data.index];\n this.updateState({\n tooltipXaxis: label,\n tooltipYaxis: value,\n isTooltipOpen: true,\n selectedItem: {...selectedItem, index: data.index},\n tooltipXPosition: tooltipX - this.state.tooltipoffsetx, \n tooltipYPosition: tooltipY - this.state.tooltipoffsety\n } as WmLineChartState)\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\n });\n }\n\n\n\n renderWidget(props: WmLineChartProps) {\n this.invokeEventCallback('onBeforerender', [this.proxy, null]);\n if (!this.state.data?.length) {\n return null;\n }\n\n let offsetTop = props.offsettop;\n let offsetHeight = 0;\n let victoryChartHeight = props.chartheight ?? this.styles.root.height;\n\n if(this.styles.root?.height && typeof this.styles.root?.height === 'number') {\n offsetTop = (this.styles.root.height / 250) * props.offsettop;\n offsetHeight = (this.styles.root.height >= 250 && !props.chartheight && props.chartheight !== 0) ? 0 : offsetTop + props.offsetbottom;\n }\n\n if(typeof victoryChartHeight === 'number') {\n victoryChartHeight = victoryChartHeight + offsetHeight;\n }\n\n let containerStyle = {...this.styles.root}\n if(containerStyle?.height) {\n containerStyle['minHeight'] = containerStyle['height'];\n delete containerStyle['height'];\n }\n\n return (\n <View \n style={containerStyle}\n {...getAccessibilityProps(AccessibilityWidgetType.LINECHART, props)} onLayout={this.onViewLayoutChange}\n >\n <View>\n <View style={{flexDirection: 'row', alignItems: 'center'}}>\n { props.iconclass ? (<WmIcon iconclass={props.iconclass} styles={this.styles.icon}></WmIcon>) : null }\n <Text style={this.styles.title}>{props.title}</Text>\n </View>\n <Text style={this.styles.subHeading}>{props.subheading}</Text>\n </View>\n <View ref={this.viewRef}>\n {this.getTooltip()}\n <VictoryChart\n theme={this.state.theme}\n height={victoryChartHeight as number}\n width={this.state.chartWidth || this.screenWidth}\n padding={{ top: offsetTop, bottom: props.offsetbottom, left: this.isRTL ? props.offsetright : props.offsetleft, right: this.isRTL ? props.offsetleft : props.offsetright }}\n >\n {this.getLegendView(\n undefined, \n (\n (\n (this.styles.root?.height && typeof this.styles.root?.height === 'string') || \n (this.styles.root?.height && typeof this.styles.root?.height === 'number' && this.styles.root.height >= 250)) ? \n 0 : offsetHeight\n )\n )}\n {this.getXaxis(offsetHeight)}\n {this.getYAxis()}\n {this.state.data.map((d: any, i: number) => {\n return <VictoryGroup key={props.name + '_line_group_' + i}>\n <VictoryLine interpolation={props.interpolation as InterpolationPropType} key={props.name + '_line_' + i}\n name={props.name + '_' + i}\n standalone={true}\n style={{\n data: {\n stroke: (this.state.colors[i] || ThemeVariables.INSTANCE.chartLineColor),\n strokeWidth: props.linethickness,\n }\n }} \n data={d}\n />\n \n <VictoryScatter size={5} key={props.name + '_scatter' + i}\n style={{\n data: (props.highlightpoints || this.state.data.length === 1) ? {fill: this.state.colors[i], opacity: 0.8} : {opacity:0}\n }}\n data={d}\n events={[{\n target: 'data',\n eventHandlers: Platform.OS == \"web\" ? {\n onClick: this.onSelect.bind(this)\n }:{\n onPress: this.onSelect.bind(this)\n }\n }]}\n />\n </VictoryGroup>\n })}\n </VictoryChart>\n </View>\n </View>);\n }\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,QAAQ,QAA2B,cAAc;AACtE,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAC7G,SACEC,YAAY,EACZC,WAAW,EACXC,cAAc,EACdC,YAAY,QACP,gBAAgB;AAEvB,OAAOC,gBAAgB,MAAM,oBAAoB;AACjD,SAASC,aAAa,QAA2B,qBAAqB;AACtE,SACEC,kBAAkB,EAClBC,uBAAuB,QAClB,gEAAgE;AACvE,OAAOC,cAAc,MAAM,kDAAkD;AAE7E,OAAOC,MAAM,MAAM,gEAAgE;AAGnF,OAAO,MAAMC,gBAAgB,SAASH,uBAAuB,CAAmB;AAEhF,eAAe,MAAMI,WAAW,SAASL,kBAAkB,CAAwD;EAEjHM,WAAWA,CAACC,KAAuB,EAAE;IACnC,KAAK,CAACA,KAAK,EAAER,aAAa,EAAE,IAAID,gBAAgB,CAAC,CAAC,EAAE,IAAIM,gBAAgB,CAAC,CAAC,CAAC;EAC7E;EAEAI,QAAQA,CAACC,KAAU,EAAEC,IAAS,EAAC;IAC7B,IAAI,CAAC,IAAI,CAACC,OAAO,CAACC,OAAO,EAAE;IAC3B,IAAI,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AE,IAAI,CAAC9G,QAAQ,CAAC6G,IAAI,CAAC,IAAI;UAClC;QACF,CAAC;MAAE,CACN,CACW,CAAC;IACnB,CAAC,CACW,CACR,CACF,CAAC;EACT;AACF","ignoreList":[]}
@@ -7,8 +7,8 @@ export default class WmLineChartProps extends BaseChartComponentProps {
7
7
  super(...args);
8
8
  _defineProperty(this, "linethickness", 2);
9
9
  _defineProperty(this, "onSelect", void 0);
10
- _defineProperty(this, "skeletonheight", void 0);
11
- _defineProperty(this, "skeletonwidth", void 0);
10
+ _defineProperty(this, "skeletonheight", null);
11
+ _defineProperty(this, "skeletonwidth", null);
12
12
  }
13
13
  }
14
14
  //# sourceMappingURL=line-chart.props.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["BaseChartComponentProps","WmLineChartProps","constructor","args","_defineProperty"],"sources":["line-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from \"@wavemaker/app-rn-runtime/components/chart/basechart.props\";\nimport WmLineChart from './line-chart.component';\n\nexport default class WmLineChartProps extends BaseChartComponentProps {\n linethickness?: number = 2;\n onSelect?: ($event: any, instance: WmLineChart) => any;\n skeletonheight?: string;\n skeletonwidth?: string;\n}\n"],"mappings":";;;AAAA,OAAOA,uBAAuB,MAAM,4DAA4D;AAGhG,eAAe,MAAMC,gBAAgB,SAASD,uBAAuB,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,wBAC3C,CAAC;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;EAAA;AAI5B","ignoreList":[]}
1
+ {"version":3,"names":["BaseChartComponentProps","WmLineChartProps","constructor","args","_defineProperty"],"sources":["line-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from \"@wavemaker/app-rn-runtime/components/chart/basechart.props\";\nexport default class WmLineChartProps extends BaseChartComponentProps {\n linethickness: number = 2;\n onSelect?: any;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n}\n"],"mappings":";;;AAAA,OAAOA,uBAAuB,MAAM,4DAA4D;AAChG,eAAe,MAAMC,gBAAgB,SAASD,uBAAuB,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,wBAC5C,CAAC;IAAAA,eAAA;IAAAA,eAAA,yBAEC,IAAI;IAAAA,eAAA,wBACL,IAAI;EAAA;AAC/B","ignoreList":[]}
@@ -73,10 +73,6 @@ export default class WmPieChart extends BaseChartComponent {
73
73
  {
74
74
  return this.state.xaxisDatakeyArr[d.x] + ' ' + d.y;
75
75
  }
76
- default:
77
- {
78
- return '';
79
- }
80
76
  }
81
77
  }
82
78
  onSelect(event, data) {
@@ -111,13 +107,14 @@ export default class WmPieChart extends BaseChartComponent {
111
107
  });
112
108
  }
113
109
  renderWidget(props) {
110
+ var _props$chartheight, _this$styles$root, _this$state$labelColo;
114
111
  this.invokeEventCallback('onBeforerender', [this.proxy, null]);
115
112
  if (!this.state.data.length) {
116
113
  return null;
117
114
  }
118
115
  const pieData = this.state.data[0];
119
116
  const chartWidth = this.state.chartWidth - (props.showlegend === 'right' ? this.state.legendWidth : 0);
120
- const chartHeight = (this.styles.root.height ? this.state.totalHeight : chartWidth) - this.state.infoHeight - (props.showlegend === 'right' ? 0 : this.state.legendHeight);
117
+ const chartHeight = (_props$chartheight = props.chartheight) !== null && _props$chartheight !== void 0 ? _props$chartheight : (this.styles.root.height ? this.state.totalHeight : chartWidth) - this.state.infoHeight - (props.showlegend === 'right' ? 0 : this.state.legendHeight);
121
118
  let radius = (Math.min(chartWidth, chartHeight) - 40) / 2;
122
119
  let innerRadius = props.donutratio * radius;
123
120
  let styleProp = {};
@@ -144,10 +141,21 @@ export default class WmPieChart extends BaseChartComponent {
144
141
  color: this.state.colors[index % this.state.colors.length]
145
142
  };
146
143
  });
144
+ const containerStyle = {
145
+ ...this.styles.root
146
+ };
147
+ if (props.chartheight && (_this$styles$root = this.styles.root) !== null && _this$styles$root !== void 0 && _this$styles$root.height) {
148
+ if (containerStyle['height']) {
149
+ containerStyle['minHeight'] = containerStyle['height'];
150
+ delete containerStyle['height'];
151
+ } else {
152
+ containerStyle['minHeight'] = this.state.totalHeight;
153
+ }
154
+ }
147
155
  return /*#__PURE__*/React.createElement(View, _extends({
148
156
  style: [{
149
157
  opacity: this.state.opacity
150
- }, this.styles.root]
158
+ }, containerStyle]
151
159
  }, getAccessibilityProps(AccessibilityWidgetType.LINECHART, props), {
152
160
  onLayout: this.onViewLayoutChange,
153
161
  key: `${props.title}_pie_chart`
@@ -187,13 +195,24 @@ export default class WmPieChart extends BaseChartComponent {
187
195
  width: chartWidth,
188
196
  height: chartHeight
189
197
  }, /*#__PURE__*/React.createElement(VictoryPie, {
190
- style: styleProp,
198
+ style: {
199
+ ...styleProp,
200
+ ...((_this$state$labelColo = this.state.labelColors) !== null && _this$state$labelColo !== void 0 && _this$state$labelColo.length ? {
201
+ labels: {
202
+ fill: ({
203
+ index
204
+ }) => {
205
+ const labelColorScale = this.isRTL ? [...this.state.labelColors].slice(0, pieData.length).reverse() : this.state.labelColors;
206
+ return labelColorScale[index % labelColorScale.length];
207
+ }
208
+ }
209
+ } : {})
210
+ },
191
211
  standalone: false,
192
212
  colorScale: this.isRTL ? [...this.state.colors].slice(0, pieData.length).reverse() : this.state.colors,
193
213
  labels: ({
194
214
  datum
195
215
  }) => this.getLabel(datum, props),
196
- endAngle: this.state.endAngle || 0,
197
216
  radius: radius,
198
217
  innerRadius: innerRadius,
199
218
  theme: this.state.theme,
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","Text","Platform","Svg","AccessibilityWidgetType","getAccessibilityProps","VictoryLabel","VictoryPie","WmPieChartProps","DEFAULT_CLASS","formatCompactNumber","WmIcon","BaseChartComponent","BaseChartComponentState","WmDonutChartProps","Legend","WmPieChartState","constructor","args","_defineProperty","WmPieChart","props","type","e","_e$nativeEvent","viewWidth","nativeEvent","layout","width","handleLayout","updateState","chartWidth","totalHeight","height","_e$nativeEvent2","infoHeight","opacity","_e$nativeEvent3","_e$nativeEvent4","legendWidth","legendHeight","componentDidMount","getLabel","d","labeltype","Math","round","y","state","total","xaxisDatakeyArr","x","onSelect","event","data","viewRef","current","dataset","measureInWindow","chartX","chartY","value","slice","label","datum","selectedItem","index","selectedChartItem","color","style","fill","_dataObj","tooltipX","pageX","tooltipY","pageY","tooltipXaxis","tooltipYaxis","isTooltipOpen","tooltipXPosition","tooltipoffsetx","tooltipYPosition","tooltipoffsety","invokeEventCallback","proxy","renderWidget","length","pieData","showlegend","chartHeight","styles","root","radius","min","innerRadius","donutratio","styleProp","labelRadius","showlabels","labels","display","origin","orientation","legendData","map","name","colors","createElement","_extends","LINECHART","onLayout","onViewLayoutChange","key","title","onInfoViewLayoutChange","iconclass","testID","flexDirection","alignItems","icon","subheading","subHeading","onLegendViewLayoutChange","testStyle","legendText","dotStyle","legenedDot","justifyContent","getTooltip","flex","ref","standalone","colorScale","isRTL","reverse","endAngle","theme","toReversed","labelPlacement","labelplacement","events","target","eventHandlers","OS","onClick","bind","onPress","textAnchor","centerLabel","text","centerlabel","maxWidth"],"sources":["pie-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport { LayoutChangeEvent, View, Text, Platform } from 'react-native';\nimport { Svg } from 'react-native-svg';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \n\nimport { VictoryLabel, VictoryPie } from 'victory-native';\n\nimport WmPieChartProps from './pie-chart.props';\nimport { DEFAULT_CLASS, WmPieChartStyles } from './pie-chart.styles';\n\nimport { formatCompactNumber, isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from '@wavemaker/app-rn-runtime/components/chart/basechart.component';\nimport WmDonutChartProps from '@wavemaker/app-rn-runtime/components/chart/donut-chart/donut-chart.props';\nimport { Legend } from '../legend/legend.component';\n\n\nexport class WmPieChartState extends BaseChartComponentState<WmPieChartProps> {\n chartWidth = 0;\n totalHeight = 0;\n infoHeight = 10;\n legendWidth = 0;\n legendHeight = 0;\n opacity = 0;\n}\n\nexport default class WmPieChart extends BaseChartComponent<WmPieChartProps, WmPieChartState, WmPieChartStyles> {\n\n constructor(props: WmPieChartProps) {\n super(props, DEFAULT_CLASS, props.type === 'Donut' ? new WmDonutChartProps() : new WmPieChartProps(), new WmPieChartState());\n }\n\n componentDidMount() {\n super.componentDidMount();\n }\n\n onViewLayoutChange = (e: LayoutChangeEvent) => {\n let viewWidth = e.nativeEvent.layout.width;\n\n this.handleLayout(e)\n\n this.updateState({\n chartWidth: viewWidth,\n totalHeight: e.nativeEvent?.layout.height\n } as WmPieChartState)\n }\n\n onInfoViewLayoutChange = (e: LayoutChangeEvent) => {\n this.updateState({\n infoHeight: e.nativeEvent?.layout.height,\n opacity: 1\n } as WmPieChartState);\n }\n\n onLegendViewLayoutChange = (e: LayoutChangeEvent) => {\n this.updateState({\n legendWidth: e.nativeEvent?.layout.width,\n legendHeight: e.nativeEvent?.layout.height\n } as WmPieChartState);\n }\n\n getLabel(d: {x: any, y: any}, props: WmPieChartProps): string {\n switch(props.labeltype) {\n case 'percent': {\n return Math.round(d.y * 100 /this.state.total) + '%';\n }\n case 'key': {\n return this.state.xaxisDatakeyArr[d.x];\n }\n case 'value': {\n return formatCompactNumber(d.y);\n }\n case 'key-value': {\n return this.state.xaxisDatakeyArr[d.x] + ' ' + d.y;\n }\n default: {\n return '';\n }\n }\n }\n\n onSelect(event: any, data: any){\n if (!this.viewRef.current) return;\n if (!this.state.props.dataset) return;\n this.viewRef.current.measureInWindow((chartX: number, chartY: number) => {\n let value = data.slice.value;\n let label = this.state.xaxisDatakeyArr[data.datum.x];\n let selectedItem = this.props.dataset[data.index];\n let selectedChartItem = data.slice;\n selectedChartItem[\"data\"] = {x: label, y: value, color: data.style.fill, _dataObj: selectedItem}\n const nativeEvent = event.nativeEvent;\n let tooltipX = nativeEvent.pageX - chartX;\n let tooltipY = nativeEvent.pageY - chartY;\n this.updateState({\n tooltipXaxis: label,\n tooltipYaxis: value,\n isTooltipOpen: true,\n selectedItem: {...selectedItem, index: data.index },\n tooltipXPosition: tooltipX - this.state.tooltipoffsetx, \n tooltipYPosition: tooltipY - this.state.tooltipoffsety\n } as any);\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\n });\n }\n\n renderWidget(props: WmPieChartProps) {\n this.invokeEventCallback('onBeforerender', [this.proxy, null]);\n if (!this.state.data.length) {\n return null;\n } \n const pieData = this.state.data[0];\n const chartWidth = this.state.chartWidth \n - (props.showlegend === 'right' ? this.state.legendWidth : 0);\n const chartHeight = (this.styles.root.height ? this.state.totalHeight : chartWidth) \n - this.state.infoHeight \n - (props.showlegend === 'right' ? 0 : this.state.legendHeight);\n let radius = (Math.min(chartWidth, chartHeight) - 40)/ 2;\n let innerRadius = props.donutratio! * radius;\n let styleProp = {};\n let labelRadius;\n if (props.showlabels === 'hide') {\n styleProp={labels: { display: \"none\" }};\n } else if (props.showlabels === 'inside') {\n labelRadius = radius/2;\n } else {\n labelRadius = radius + 8;\n }\n const origin = {x: (chartWidth/2), y: (chartHeight/2)};\n const orientation = props.showlegend === 'right' ? 'vertical' : 'horizontal';\n let legendData = pieData.map((d: {x: any, y: any}, index: number) => {\n return {\n name: this.state.xaxisDatakeyArr[d.x],\n color: this.state.colors[index % (this.state.colors.length)]\n };\n });\n return (\n <View style={[{opacity: this.state.opacity}, this.styles.root]}\n {...getAccessibilityProps(AccessibilityWidgetType.LINECHART, props)}\n onLayout={this.onViewLayoutChange}\n key={`${props.title}_pie_chart`}\n >\n <View onLayout={this.onInfoViewLayoutChange}>\n { (props.title || props.iconclass) ? (\n <View testID=\"title-icon-container\" style={{flexDirection: 'row', alignItems: 'center'}}>\n {props.iconclass ? (<WmIcon iconclass={props.iconclass} styles={this.styles.icon}></WmIcon>) : null }\n {props.title ? (<Text style={this.styles.title}>{props.title}</Text>) : null }\n </View>\n ) : null }\n { props.subheading? (\n <Text style={this.styles.subHeading}>{props.subheading}</Text> ) : null }\n </View>\n {props.showlegend === 'top' ? \n (<View onLayout={this.onLegendViewLayoutChange}>\n <Legend data={legendData}\n testStyle={this.styles.legendText}\n dotStyle={this.styles.legenedDot}></Legend>\n </View>) : null }\n <View style={{flexDirection: 'row', justifyContent: 'center', alignItems: 'center'}}>\n {this.getTooltip()}\n <View style={{flex: 1}} ref={this.viewRef}>\n {chartWidth ? (\n <Svg\n width={chartWidth}\n height={chartHeight}\n >\n <VictoryPie\n style={styleProp}\n standalone={false}\n colorScale={this.isRTL ? [...this.state.colors].slice(0, pieData.length).reverse() : this.state.colors}\n labels={({datum}) => this.getLabel(datum, props)}\n endAngle={this.state.endAngle || 0}\n radius={radius}\n innerRadius={innerRadius}\n theme={this.state.theme}\n key={props.name}\n name={props.name}\n data={this.isRTL?pieData.toReversed():pieData}\n origin={origin}\n labelPlacement={props.labelplacement}\n labelRadius={labelRadius}\n events={[{\n target: 'data',\n eventHandlers: Platform.OS == \"web\" ? {\n onClick: this.onSelect.bind(this)\n }:{\n onPress: this.onSelect.bind(this)\n }\n }]}\n />\n <VictoryLabel\n textAnchor=\"middle\"\n style={{ ...this.styles.centerLabel, fill: this.styles.centerLabel.color }}\n x={origin.x} y={origin.y}\n text={props.centerlabel}\n />\n </Svg>) : null}\n </View>\n {props.showlegend === 'right' ? \n (<View style={{maxWidth: '50%'}} onLayout={this.onLegendViewLayoutChange}>\n <Legend data={legendData}\n testStyle={this.styles.legendText}\n dotStyle={this.styles.legenedDot}\n orientation='vertical'></Legend>\n </View>) : null }\n </View>\n {props.showlegend === 'bottom' ? \n (<View onLayout={this.onLegendViewLayoutChange}>\n <Legend data={legendData}\n testStyle={this.styles.legendText}\n dotStyle={this.styles.legenedDot}></Legend>\n </View>) : null }\n </View>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAA4BC,IAAI,EAAEC,IAAI,EAAEC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SAAS,EAAE,IAAI,CAACjC,MAAM,CAACkC,UAAW;MAClCC,QAAQ,EAAE,IAAI,CAACnC,MAAM,CAACoC;IAAW,CAAS,CACxC,CAAC,GAAI,IACT,CAAC;EAEX;AACF","ignoreList":[]}
1
+ {"version":3,"names":["React","View","Text","Platform","Svg","AccessibilityWidgetType","getAccessibilityProps","VictoryLabel","VictoryPie","WmPieChartProps","DEFAULT_CLASS","formatCompactNumber","WmIcon","BaseChartComponent","BaseChartComponentState","WmDonutChartProps","Legend","WmPieChartState","constructor","args","_defineProperty","WmPieChart","props","type","e","_e$nativeEvent","viewWidth","nativeEvent","layout","width","handleLayout","updateState","chartWidth","totalHeight","height","_e$nativeEvent2","infoHeight","opacity","_e$nativeEvent3","_e$nativeEvent4","legendWidth","legendHeight","componentDidMount","getLabel","d","labeltype","Math","round","y","state","total","xaxisDatakeyArr","x","onSelect","event","data","viewRef","current","dataset","measureInWindow","chartX","chartY","value","slice","label","datum","selectedItem","index","selectedChartItem","color","style","fill","_dataObj","tooltipX","pageX","tooltipY","pageY","tooltipXaxis","tooltipYaxis","isTooltipOpen","tooltipXPosition","tooltipoffsetx","tooltipYPosition","tooltipoffsety","invokeEventCallback","proxy","renderWidget","_props$chartheight","_this$styles$root","_this$state$labelColo","length","pieData","showlegend","chartHeight","chartheight","styles","root","radius","min","innerRadius","donutratio","styleProp","labelRadius","showlabels","labels","display","origin","orientation","legendData","map","name","colors","containerStyle","createElement","_extends","LINECHART","onLayout","onViewLayoutChange","key","title","onInfoViewLayoutChange","iconclass","testID","flexDirection","alignItems","icon","subheading","subHeading","onLegendViewLayoutChange","testStyle","legendText","dotStyle","legenedDot","justifyContent","getTooltip","flex","ref","labelColors","labelColorScale","isRTL","reverse","standalone","colorScale","theme","toReversed","labelPlacement","labelplacement","events","target","eventHandlers","OS","onClick","bind","onPress","textAnchor","centerLabel","text","centerlabel","maxWidth"],"sources":["pie-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport { LayoutChangeEvent, View, Text, Platform } from 'react-native';\nimport { Svg } from 'react-native-svg';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \n\nimport { VictoryLabel, VictoryPie } from 'victory-native';\n\nimport WmPieChartProps from './pie-chart.props';\nimport { DEFAULT_CLASS, WmPieChartStyles } from './pie-chart.styles';\n\nimport { formatCompactNumber, isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from '@wavemaker/app-rn-runtime/components/chart/basechart.component';\nimport WmDonutChartProps from '@wavemaker/app-rn-runtime/components/chart/donut-chart/donut-chart.props';\nimport { Legend } from '../legend/legend.component';\n\n\nexport class WmPieChartState extends BaseChartComponentState<WmPieChartProps> {\n chartWidth = 0;\n totalHeight = 0;\n infoHeight = 10;\n legendWidth = 0;\n legendHeight = 0;\n opacity = 0;\n}\n\nexport default class WmPieChart extends BaseChartComponent<WmPieChartProps, WmPieChartState, WmPieChartStyles> {\n\n constructor(props: WmPieChartProps) {\n super(props, DEFAULT_CLASS, props.type === 'Donut' ? new WmDonutChartProps() : new WmPieChartProps(), new WmPieChartState());\n }\n\n componentDidMount() {\n super.componentDidMount();\n }\n\n onViewLayoutChange = (e: LayoutChangeEvent) => {\n let viewWidth = e.nativeEvent.layout.width;\n\n this.handleLayout(e)\n\n this.updateState({\n chartWidth: viewWidth,\n totalHeight: e.nativeEvent?.layout.height\n } as WmPieChartState)\n }\n\n onInfoViewLayoutChange = (e: LayoutChangeEvent) => {\n this.updateState({\n infoHeight: e.nativeEvent?.layout.height,\n opacity: 1\n } as WmPieChartState);\n }\n\n onLegendViewLayoutChange = (e: LayoutChangeEvent) => {\n this.updateState({\n legendWidth: e.nativeEvent?.layout.width,\n legendHeight: e.nativeEvent?.layout.height\n } as WmPieChartState);\n }\n\n getLabel(d: {x: any, y: any}, props: WmPieChartProps): string {\n switch(props.labeltype) {\n case 'percent': {\n return Math.round(d.y * 100 /this.state.total) + '%';\n }\n case 'key': {\n return this.state.xaxisDatakeyArr[d.x];\n }\n case 'value': {\n return formatCompactNumber(d.y);\n }\n case 'key-value': {\n return this.state.xaxisDatakeyArr[d.x] + ' ' + d.y;\n }\n }\n }\n\n onSelect(event: any, data: any){\n if (!this.viewRef.current) return;\n if (!this.state.props.dataset) return;\n this.viewRef.current.measureInWindow((chartX: number, chartY: number) => {\n let value = data.slice.value;\n let label = this.state.xaxisDatakeyArr[data.datum.x];\n let selectedItem = this.props.dataset[data.index];\n let selectedChartItem = data.slice;\n selectedChartItem[\"data\"] = {x: label, y: value, color: data.style.fill, _dataObj: selectedItem}\n const nativeEvent = event.nativeEvent;\n let tooltipX = nativeEvent.pageX - chartX;\n let tooltipY = nativeEvent.pageY - chartY;\n this.updateState({\n tooltipXaxis: label,\n tooltipYaxis: value,\n isTooltipOpen: true,\n selectedItem: {...selectedItem, index: data.index },\n tooltipXPosition: tooltipX - this.state.tooltipoffsetx, \n tooltipYPosition: tooltipY - this.state.tooltipoffsety\n } as any);\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\n });\n }\n\n renderWidget(props: WmPieChartProps) {\n this.invokeEventCallback('onBeforerender', [this.proxy, null]);\n if (!this.state.data.length) {\n return null;\n } \n const pieData = this.state.data[0];\n const chartWidth = this.state.chartWidth \n - (props.showlegend === 'right' ? this.state.legendWidth : 0);\n const chartHeight = props.chartheight ?? \n ((this.styles.root.height ? this.state.totalHeight : chartWidth) \n - this.state.infoHeight \n - (props.showlegend === 'right' ? 0 : this.state.legendHeight));\n let radius = (Math.min(chartWidth, chartHeight) - 40)/ 2;\n let innerRadius = props.donutratio * radius;\n let styleProp = {};\n let labelRadius;\n if (props.showlabels === 'hide') {\n styleProp={labels: { display: \"none\" }};\n } else if (props.showlabels === 'inside') {\n labelRadius = radius/2;\n } else {\n labelRadius = radius + 8;\n }\n const origin = {x: (chartWidth/2), y: (chartHeight/2)};\n const orientation = props.showlegend === 'right' ? 'vertical' : 'horizontal';\n let legendData = pieData.map((d: {x: any, y: any}, index: number) => {\n return {\n name: this.state.xaxisDatakeyArr[d.x],\n color: this.state.colors[index % (this.state.colors.length)]\n };\n });\n\n const containerStyle = {...this.styles.root}\n\n if(props.chartheight && this.styles.root?.height) {\n if(containerStyle['height']) {\n containerStyle['minHeight'] = containerStyle['height'];\n delete containerStyle['height'];\n } else {\n containerStyle['minHeight'] = this.state.totalHeight;\n }\n }\n\n return (\n <View style={[{opacity: this.state.opacity}, containerStyle]}\n {...getAccessibilityProps(AccessibilityWidgetType.LINECHART, props)}\n onLayout={this.onViewLayoutChange}\n key={`${props.title}_pie_chart`}\n >\n <View onLayout={this.onInfoViewLayoutChange}>\n { (props.title || props.iconclass) ? (\n <View testID=\"title-icon-container\" style={{flexDirection: 'row', alignItems: 'center'}}>\n {props.iconclass ? (<WmIcon iconclass={props.iconclass} styles={this.styles.icon}></WmIcon>) : null }\n {props.title ? (<Text style={this.styles.title}>{props.title}</Text>) : null }\n </View>\n ) : null }\n { props.subheading? (\n <Text style={this.styles.subHeading}>{props.subheading}</Text> ) : null }\n </View>\n {props.showlegend === 'top' ? \n (<View onLayout={this.onLegendViewLayoutChange}>\n <Legend data={legendData}\n testStyle={this.styles.legendText}\n dotStyle={this.styles.legenedDot}></Legend>\n </View>) : null }\n <View style={{flexDirection: 'row', justifyContent: 'center', alignItems: 'center'}}>\n {this.getTooltip()}\n <View style={{flex: 1}} ref={this.viewRef}>\n {chartWidth ? (\n <Svg\n width={chartWidth}\n height={chartHeight}\n >\n <VictoryPie\n style={{\n ...styleProp,\n ...(this.state.labelColors?.length ? {\n labels: {\n fill: ({ index }: any) => {\n const labelColorScale = this.isRTL\n ? [...this.state.labelColors].slice(0, pieData.length).reverse()\n : this.state.labelColors;\n return labelColorScale[index % labelColorScale.length];\n }\n }\n } : {})\n }}\n standalone={false}\n colorScale={this.isRTL ? [...this.state.colors].slice(0, pieData.length).reverse() : this.state.colors}\n labels={({datum}) => this.getLabel(datum, props)}\n radius={radius}\n innerRadius={innerRadius}\n theme={this.state.theme}\n key={props.name}\n name={props.name}\n data={this.isRTL?pieData.toReversed():pieData}\n origin={origin}\n labelPlacement={props.labelplacement}\n labelRadius={labelRadius}\n events={[{\n target: 'data',\n eventHandlers: Platform.OS == \"web\" ? {\n onClick: this.onSelect.bind(this)\n }:{\n onPress: this.onSelect.bind(this)\n }\n }]}\n />\n <VictoryLabel\n textAnchor=\"middle\"\n style={{ ...this.styles.centerLabel, fill: this.styles.centerLabel.color }}\n x={origin.x} y={origin.y}\n text={props.centerlabel}\n />\n </Svg>) : null}\n </View>\n {props.showlegend === 'right' ? \n (<View style={{maxWidth: '50%'}} onLayout={this.onLegendViewLayoutChange}>\n <Legend data={legendData}\n testStyle={this.styles.legendText}\n dotStyle={this.styles.legenedDot}\n orientation='vertical'></Legend>\n </View>) : null }\n </View>\n {props.showlegend === 'bottom' ? \n (<View onLayout={this.onLegendViewLayoutChange}>\n <Legend data={legendData}\n testStyle={this.styles.legendText}\n dotStyle={this.styles.legenedDot}></Legend>\n </View>) : null }\n </View>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAA4BC,IAAI,EAAEC,IAAI,EAAEC,QAAQ,QAAQ,cAAc;AACtE,SAASC,GAAG,QAAQ,kBAAkB;AACtC,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,SAASC,YAAY,EAAEC,UAAU,QAAQ,gBAAgB;AAEzD,OAAOC,eAAe,MAAM,mBAAmB;AAC/C,SAASC,aAAa,QAA0B,oBAAoB;AAEpE,SAASC,mBAAmB,QAA0B,sCAAsC;AAC5F,OAAOC,MAAM,MAAM,gEAAgE;AACnF,SACEC,kBAAkB,EAClBC,uBAAuB,QAClB,gEAAgE;AACvE,OAAOC,iBAAiB,MAAM,0EAA0E;AACxG,SAASC,MAAM,QAAQ,4BAA4B;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AAiH,aAAA,CAAChH,IAAI;MAACqE,KAAK,EAAE;QAACwF,QAAQ,EAAE;MAAK,CAAE;MAAC1C,QAAQ,EAAE,IAAI,CAACY;IAAyB,gBACvEhI,KAAA,CAAAiH,aAAA,CAACjG,MAAM;MAACuC,IAAI,EAAEqD,UAAW;MACvBqB,SAAS,EAAE,IAAI,CAAClC,MAAM,CAACmC,UAAW;MAClCC,QAAQ,EAAE,IAAI,CAACpC,MAAM,CAACqC,UAAW;MACjCzB,WAAW,EAAC;IAAU,CAAS,CAC7B,CAAC,GAAI,IACT,CAAC,EACNrF,KAAK,CAACsE,UAAU,KAAK,QAAQ,gBAC3B5F,KAAA,CAAAiH,aAAA,CAAChH,IAAI;MAACmH,QAAQ,EAAE,IAAI,CAACY;IAAyB,gBAC7ChI,KAAA,CAAAiH,aAAA,CAACjG,MAAM;MAACuC,IAAI,EAAEqD,UAAW;MACvBqB,SAAS,EAAE,IAAI,CAAClC,MAAM,CAACmC,UAAW;MAClCC,QAAQ,EAAE,IAAI,CAACpC,MAAM,CAACqC;IAAW,CAAS,CACxC,CAAC,GAAI,IACT,CAAC;EAEX;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["BaseChartComponentProps","WmPieChartProps","constructor","args","_defineProperty"],"sources":["pie-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from '@wavemaker/app-rn-runtime/components/chart/basechart.props';\nimport { VictorySliceLabelPlacementType } from 'victory-pie';\nimport WmPieChart from './pie-chart.component';\n\nexport default class WmPieChartProps extends BaseChartComponentProps {\n donutratio?: number = 0;\n labelplacement?: VictorySliceLabelPlacementType = 'vertical';\n centerlabel?: string = '';\n onSelect?: ($event: any, instance: WmPieChart) => any;\n}\n"],"mappings":";;;AAAA,OAAOA,uBAAuB,MAAM,4DAA4D;AAIhG,eAAe,MAAMC,eAAe,SAASD,uBAAuB,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,qBAC7C,CAAC;IAAAA,eAAA,yBAC2B,UAAU;IAAAA,eAAA,sBACrC,EAAE;IAAAA,eAAA;EAAA;AAE3B","ignoreList":[]}
1
+ {"version":3,"names":["BaseChartComponentProps","WmPieChartProps","constructor","args","_defineProperty"],"sources":["pie-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from '@wavemaker/app-rn-runtime/components/chart/basechart.props';\nimport { VictorySliceLabelPlacementType } from 'victory-pie';\n\nexport default class WmPieChartProps extends BaseChartComponentProps {\n donutratio: number = 0;\n labelplacement: VictorySliceLabelPlacementType = 'vertical';\n centerlabel = '';\n onSelect?: any;\n}\n"],"mappings":";;;AAAA,OAAOA,uBAAuB,MAAM,4DAA4D;AAGhG,eAAe,MAAMC,eAAe,SAASD,uBAAuB,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,qBAC9C,CAAC;IAAAA,eAAA,yBAC2B,UAAU;IAAAA,eAAA,sBAC7C,EAAE;IAAAA,eAAA;EAAA;AAElB","ignoreList":[]}