@wavemaker-ai/app-rn-runtime 1.0.0-rc.647469

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 (998) hide show
  1. package/actions/base-action.js +12 -0
  2. package/actions/base-action.js.map +1 -0
  3. package/actions/index.js +6 -0
  4. package/actions/index.js.map +1 -0
  5. package/actions/login-action.js +32 -0
  6. package/actions/login-action.js.map +1 -0
  7. package/actions/logout-action.js +22 -0
  8. package/actions/logout-action.js.map +1 -0
  9. package/actions/navigation-action.js +44 -0
  10. package/actions/navigation-action.js.map +1 -0
  11. package/actions/notification-action.js +76 -0
  12. package/actions/notification-action.js.map +1 -0
  13. package/actions/timer-action.js +57 -0
  14. package/actions/timer-action.js.map +1 -0
  15. package/components/advanced/carousel/carousel-content/carousel-content.component.js +17 -0
  16. package/components/advanced/carousel/carousel-content/carousel-content.component.js.map +1 -0
  17. package/components/advanced/carousel/carousel-content/carousel-content.props.js +11 -0
  18. package/components/advanced/carousel/carousel-content/carousel-content.props.js.map +1 -0
  19. package/components/advanced/carousel/carousel-content/carousel-content.styles.js +17 -0
  20. package/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +1 -0
  21. package/components/advanced/carousel/carousel-template/carousel-template.component.js +20 -0
  22. package/components/advanced/carousel/carousel-template/carousel-template.component.js.map +1 -0
  23. package/components/advanced/carousel/carousel-template/carousel-template.props.js +11 -0
  24. package/components/advanced/carousel/carousel-template/carousel-template.props.js.map +1 -0
  25. package/components/advanced/carousel/carousel-template/carousel-template.styles.js +16 -0
  26. package/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +1 -0
  27. package/components/advanced/carousel/carousel.component.js +378 -0
  28. package/components/advanced/carousel/carousel.component.js.map +1 -0
  29. package/components/advanced/carousel/carousel.props.js +23 -0
  30. package/components/advanced/carousel/carousel.props.js.map +1 -0
  31. package/components/advanced/carousel/carousel.styles.js +179 -0
  32. package/components/advanced/carousel/carousel.styles.js.map +1 -0
  33. package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.js +14 -0
  34. package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.js.map +1 -0
  35. package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js +11 -0
  36. package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js.map +1 -0
  37. package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.js +14 -0
  38. package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.js.map +1 -0
  39. package/components/advanced/login/login.component.js +40 -0
  40. package/components/advanced/login/login.component.js.map +1 -0
  41. package/components/advanced/login/login.props.js +13 -0
  42. package/components/advanced/login/login.props.js.map +1 -0
  43. package/components/advanced/login/login.styles.js +31 -0
  44. package/components/advanced/login/login.styles.js.map +1 -0
  45. package/components/advanced/network-info-toaster/network-info-toaster.component.js +118 -0
  46. package/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -0
  47. package/components/advanced/network-info-toaster/network-info-toaster.props.js +11 -0
  48. package/components/advanced/network-info-toaster/network-info-toaster.props.js.map +1 -0
  49. package/components/advanced/network-info-toaster/network-info-toaster.styles.js +33 -0
  50. package/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +1 -0
  51. package/components/advanced/webview/webview.component.js +160 -0
  52. package/components/advanced/webview/webview.component.js.map +1 -0
  53. package/components/advanced/webview/webview.props.js +16 -0
  54. package/components/advanced/webview/webview.props.js.map +1 -0
  55. package/components/advanced/webview/webview.styles.js +18 -0
  56. package/components/advanced/webview/webview.styles.js.map +1 -0
  57. package/components/basic/anchor/anchor.component.js +124 -0
  58. package/components/basic/anchor/anchor.component.js.map +1 -0
  59. package/components/basic/anchor/anchor.props.js +34 -0
  60. package/components/basic/anchor/anchor.props.js.map +1 -0
  61. package/components/basic/anchor/anchor.styles.js +108 -0
  62. package/components/basic/anchor/anchor.styles.js.map +1 -0
  63. package/components/basic/animatedview.component.js +226 -0
  64. package/components/basic/animatedview.component.js.map +1 -0
  65. package/components/basic/audio/audio.component.js +257 -0
  66. package/components/basic/audio/audio.component.js.map +1 -0
  67. package/components/basic/audio/audio.props.js +15 -0
  68. package/components/basic/audio/audio.props.js.map +1 -0
  69. package/components/basic/audio/audio.styles.js +68 -0
  70. package/components/basic/audio/audio.styles.js.map +1 -0
  71. package/components/basic/bottomsheet/bottomsheet.component.js +772 -0
  72. package/components/basic/bottomsheet/bottomsheet.component.js.map +1 -0
  73. package/components/basic/bottomsheet/bottomsheet.props.js +26 -0
  74. package/components/basic/bottomsheet/bottomsheet.props.js.map +1 -0
  75. package/components/basic/bottomsheet/bottomsheet.styles.js +88 -0
  76. package/components/basic/bottomsheet/bottomsheet.styles.js.map +1 -0
  77. package/components/basic/button/button.component.js +124 -0
  78. package/components/basic/button/button.component.js.map +1 -0
  79. package/components/basic/button/button.props.js +28 -0
  80. package/components/basic/button/button.props.js.map +1 -0
  81. package/components/basic/button/button.styles.js +132 -0
  82. package/components/basic/button/button.styles.js.map +1 -0
  83. package/components/basic/buttongroup/buttongroup.component.js +28 -0
  84. package/components/basic/buttongroup/buttongroup.component.js.map +1 -0
  85. package/components/basic/buttongroup/buttongroup.props.js +14 -0
  86. package/components/basic/buttongroup/buttongroup.props.js.map +1 -0
  87. package/components/basic/buttongroup/buttongroup.styles.js +59 -0
  88. package/components/basic/buttongroup/buttongroup.styles.js.map +1 -0
  89. package/components/basic/custom/custom.component.js +26 -0
  90. package/components/basic/custom/custom.component.js.map +1 -0
  91. package/components/basic/custom/custom.props.js +16 -0
  92. package/components/basic/custom/custom.props.js.map +1 -0
  93. package/components/basic/custom/custom.styles.js +18 -0
  94. package/components/basic/custom/custom.styles.js.map +1 -0
  95. package/components/basic/icon/icon.component.js +270 -0
  96. package/components/basic/icon/icon.component.js.map +1 -0
  97. package/components/basic/icon/icon.props.js +28 -0
  98. package/components/basic/icon/icon.props.js.map +1 -0
  99. package/components/basic/icon/icon.styles.js +38 -0
  100. package/components/basic/icon/icon.styles.js.map +1 -0
  101. package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +245 -0
  102. package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +1 -0
  103. package/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
  104. package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +217 -0
  105. package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +1 -0
  106. package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
  107. package/components/basic/icon/wavicon/wavicon.component.js +1161 -0
  108. package/components/basic/icon/wavicon/wavicon.component.js.map +1 -0
  109. package/components/basic/icon/wavicon/wavicon.ttf +0 -0
  110. package/components/basic/label/label.component.js +406 -0
  111. package/components/basic/label/label.component.js.map +1 -0
  112. package/components/basic/label/label.props.js +28 -0
  113. package/components/basic/label/label.props.js.map +1 -0
  114. package/components/basic/label/label.styles.js +146 -0
  115. package/components/basic/label/label.styles.js.map +1 -0
  116. package/components/basic/lottie/lottie.component.js +139 -0
  117. package/components/basic/lottie/lottie.component.js.map +1 -0
  118. package/components/basic/lottie/lottie.props.js +14 -0
  119. package/components/basic/lottie/lottie.props.js.map +1 -0
  120. package/components/basic/lottie/lottie.styles.js +15 -0
  121. package/components/basic/lottie/lottie.styles.js.map +1 -0
  122. package/components/basic/message/message.component.js +87 -0
  123. package/components/basic/message/message.component.js.map +1 -0
  124. package/components/basic/message/message.props.js +24 -0
  125. package/components/basic/message/message.props.js.map +1 -0
  126. package/components/basic/message/message.styles.js +116 -0
  127. package/components/basic/message/message.styles.js.map +1 -0
  128. package/components/basic/modal/modal.component.js +24 -0
  129. package/components/basic/modal/modal.component.js.map +1 -0
  130. package/components/basic/modal/modal.props.js +12 -0
  131. package/components/basic/modal/modal.props.js.map +1 -0
  132. package/components/basic/modal/modal.styles.js +29 -0
  133. package/components/basic/modal/modal.styles.js.map +1 -0
  134. package/components/basic/picture/picture.component.js +321 -0
  135. package/components/basic/picture/picture.component.js.map +1 -0
  136. package/components/basic/picture/picture.props.js +25 -0
  137. package/components/basic/picture/picture.props.js.map +1 -0
  138. package/components/basic/picture/picture.styles.js +43 -0
  139. package/components/basic/picture/picture.styles.js.map +1 -0
  140. package/components/basic/progress-bar/progress-bar.component.js +96 -0
  141. package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
  142. package/components/basic/progress-bar/progress-bar.props.js +19 -0
  143. package/components/basic/progress-bar/progress-bar.props.js.map +1 -0
  144. package/components/basic/progress-bar/progress-bar.styles.js +45 -0
  145. package/components/basic/progress-bar/progress-bar.styles.js.map +1 -0
  146. package/components/basic/progress-circle/progress-circle.component.js +79 -0
  147. package/components/basic/progress-circle/progress-circle.component.js.map +1 -0
  148. package/components/basic/progress-circle/progress-circle.props.js +19 -0
  149. package/components/basic/progress-circle/progress-circle.props.js.map +1 -0
  150. package/components/basic/progress-circle/progress-circle.styles.js +82 -0
  151. package/components/basic/progress-circle/progress-circle.styles.js.map +1 -0
  152. package/components/basic/search/local-data-provider.js +113 -0
  153. package/components/basic/search/local-data-provider.js.map +1 -0
  154. package/components/basic/search/search.component.js +456 -0
  155. package/components/basic/search/search.component.js.map +1 -0
  156. package/components/basic/search/search.props.js +39 -0
  157. package/components/basic/search/search.props.js.map +1 -0
  158. package/components/basic/search/search.styles.js +187 -0
  159. package/components/basic/search/search.styles.js.map +1 -0
  160. package/components/basic/skeleton/skeleton.component.js +151 -0
  161. package/components/basic/skeleton/skeleton.component.js.map +1 -0
  162. package/components/basic/skeleton/skeleton.props.js +11 -0
  163. package/components/basic/skeleton/skeleton.props.js.map +1 -0
  164. package/components/basic/skeleton/skeleton.styles.js +41 -0
  165. package/components/basic/skeleton/skeleton.styles.js.map +1 -0
  166. package/components/basic/spinner/spinner.component.js +99 -0
  167. package/components/basic/spinner/spinner.component.js.map +1 -0
  168. package/components/basic/spinner/spinner.props.js +17 -0
  169. package/components/basic/spinner/spinner.props.js.map +1 -0
  170. package/components/basic/spinner/spinner.styles.js +41 -0
  171. package/components/basic/spinner/spinner.styles.js.map +1 -0
  172. package/components/basic/tooltip/tooltip.component.js +80 -0
  173. package/components/basic/tooltip/tooltip.component.js.map +1 -0
  174. package/components/basic/tooltip/tooltip.props.js +18 -0
  175. package/components/basic/tooltip/tooltip.props.js.map +1 -0
  176. package/components/basic/tooltip/tooltip.styles.js +49 -0
  177. package/components/basic/tooltip/tooltip.styles.js.map +1 -0
  178. package/components/basic/video/video.component.js +206 -0
  179. package/components/basic/video/video.component.js.map +1 -0
  180. package/components/basic/video/video.props.js +33 -0
  181. package/components/basic/video/video.props.js.map +1 -0
  182. package/components/basic/video/video.styles.js +33 -0
  183. package/components/basic/video/video.styles.js.map +1 -0
  184. package/components/chart/area-chart/area-chart.component.js +159 -0
  185. package/components/chart/area-chart/area-chart.component.js.map +1 -0
  186. package/components/chart/area-chart/area-chart.props.js +12 -0
  187. package/components/chart/area-chart/area-chart.props.js.map +1 -0
  188. package/components/chart/area-chart/area-chart.styles.js +13 -0
  189. package/components/chart/area-chart/area-chart.styles.js.map +1 -0
  190. package/components/chart/bar-chart/bar-chart.component.js +144 -0
  191. package/components/chart/bar-chart/bar-chart.component.js.map +1 -0
  192. package/components/chart/bar-chart/bar-chart.props.js +15 -0
  193. package/components/chart/bar-chart/bar-chart.props.js.map +1 -0
  194. package/components/chart/bar-chart/bar-chart.styles.js +13 -0
  195. package/components/chart/bar-chart/bar-chart.styles.js.map +1 -0
  196. package/components/chart/basechart.component.js +709 -0
  197. package/components/chart/basechart.component.js.map +1 -0
  198. package/components/chart/basechart.props.js +65 -0
  199. package/components/chart/basechart.props.js.map +1 -0
  200. package/components/chart/basechart.styles.js +97 -0
  201. package/components/chart/basechart.styles.js.map +1 -0
  202. package/components/chart/bubble-chart/bubble-chart.component.js +113 -0
  203. package/components/chart/bubble-chart/bubble-chart.component.js.map +1 -0
  204. package/components/chart/bubble-chart/bubble-chart.props.js +11 -0
  205. package/components/chart/bubble-chart/bubble-chart.props.js.map +1 -0
  206. package/components/chart/bubble-chart/bubble-chart.styles.js +13 -0
  207. package/components/chart/bubble-chart/bubble-chart.styles.js.map +1 -0
  208. package/components/chart/column-chart/column-chart.component.js +8 -0
  209. package/components/chart/column-chart/column-chart.component.js.map +1 -0
  210. package/components/chart/column-chart/column-chart.props.js +3 -0
  211. package/components/chart/column-chart/column-chart.props.js.map +1 -0
  212. package/components/chart/column-chart/column-chart.styles.js +13 -0
  213. package/components/chart/column-chart/column-chart.styles.js.map +1 -0
  214. package/components/chart/donut-chart/donut-chart.component.js +7 -0
  215. package/components/chart/donut-chart/donut-chart.component.js.map +1 -0
  216. package/components/chart/donut-chart/donut-chart.props.js +11 -0
  217. package/components/chart/donut-chart/donut-chart.props.js.map +1 -0
  218. package/components/chart/donut-chart/donut-chart.styles.js +13 -0
  219. package/components/chart/donut-chart/donut-chart.styles.js.map +1 -0
  220. package/components/chart/legend/legend.component.js +36 -0
  221. package/components/chart/legend/legend.component.js.map +1 -0
  222. package/components/chart/line-chart/line-chart.component.js +119 -0
  223. package/components/chart/line-chart/line-chart.component.js.map +1 -0
  224. package/components/chart/line-chart/line-chart.props.js +14 -0
  225. package/components/chart/line-chart/line-chart.props.js.map +1 -0
  226. package/components/chart/line-chart/line-chart.styles.js +13 -0
  227. package/components/chart/line-chart/line-chart.styles.js.map +1 -0
  228. package/components/chart/pie-chart/pie-chart.component.js +251 -0
  229. package/components/chart/pie-chart/pie-chart.component.js.map +1 -0
  230. package/components/chart/pie-chart/pie-chart.props.js +14 -0
  231. package/components/chart/pie-chart/pie-chart.props.js.map +1 -0
  232. package/components/chart/pie-chart/pie-chart.styles.js +13 -0
  233. package/components/chart/pie-chart/pie-chart.styles.js.map +1 -0
  234. package/components/chart/stack-chart/stack-chart.component.js +368 -0
  235. package/components/chart/stack-chart/stack-chart.component.js.map +1 -0
  236. package/components/chart/stack-chart/stack-chart.props.js +17 -0
  237. package/components/chart/stack-chart/stack-chart.props.js.map +1 -0
  238. package/components/chart/stack-chart/stack-chart.styles.js +7 -0
  239. package/components/chart/stack-chart/stack-chart.styles.js.map +1 -0
  240. package/components/chart/staticdata.js +215 -0
  241. package/components/chart/staticdata.js.map +1 -0
  242. package/components/chart/theme/chart.theme.js +360 -0
  243. package/components/chart/theme/chart.theme.js.map +1 -0
  244. package/components/container/accordion/accordion.component.js +202 -0
  245. package/components/container/accordion/accordion.component.js.map +1 -0
  246. package/components/container/accordion/accordion.props.js +16 -0
  247. package/components/container/accordion/accordion.props.js.map +1 -0
  248. package/components/container/accordion/accordion.styles.js +148 -0
  249. package/components/container/accordion/accordion.styles.js.map +1 -0
  250. package/components/container/accordion/accordionpane/accordionpane.component.js +87 -0
  251. package/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -0
  252. package/components/container/accordion/accordionpane/accordionpane.props.js +17 -0
  253. package/components/container/accordion/accordionpane/accordionpane.props.js.map +1 -0
  254. package/components/container/accordion/accordionpane/accordionpane.styles.js +16 -0
  255. package/components/container/accordion/accordionpane/accordionpane.styles.js.map +1 -0
  256. package/components/container/container.component.js +194 -0
  257. package/components/container/container.component.js.map +1 -0
  258. package/components/container/container.props.js +18 -0
  259. package/components/container/container.props.js.map +1 -0
  260. package/components/container/container.styles.js +48 -0
  261. package/components/container/container.styles.js.map +1 -0
  262. package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +29 -0
  263. package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +1 -0
  264. package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +13 -0
  265. package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +1 -0
  266. package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +12 -0
  267. package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +1 -0
  268. package/components/container/layoutgrid/gridrow/gridrow.component.js +22 -0
  269. package/components/container/layoutgrid/gridrow/gridrow.component.js.map +1 -0
  270. package/components/container/layoutgrid/gridrow/gridrow.props.js +11 -0
  271. package/components/container/layoutgrid/gridrow/gridrow.props.js.map +1 -0
  272. package/components/container/layoutgrid/gridrow/gridrow.styles.js +42 -0
  273. package/components/container/layoutgrid/gridrow/gridrow.styles.js.map +1 -0
  274. package/components/container/layoutgrid/layoutgrid.component.js +44 -0
  275. package/components/container/layoutgrid/layoutgrid.component.js.map +1 -0
  276. package/components/container/layoutgrid/layoutgrid.props.js +11 -0
  277. package/components/container/layoutgrid/layoutgrid.props.js.map +1 -0
  278. package/components/container/layoutgrid/layoutgrid.styles.js +34 -0
  279. package/components/container/layoutgrid/layoutgrid.styles.js.map +1 -0
  280. package/components/container/linearlayout/linearlayout.component.js +70 -0
  281. package/components/container/linearlayout/linearlayout.component.js.map +1 -0
  282. package/components/container/linearlayout/linearlayout.props.js +15 -0
  283. package/components/container/linearlayout/linearlayout.props.js.map +1 -0
  284. package/components/container/linearlayout/linearlayout.styles.js +14 -0
  285. package/components/container/linearlayout/linearlayout.styles.js.map +1 -0
  286. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +25 -0
  287. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +1 -0
  288. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +13 -0
  289. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +1 -0
  290. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +11 -0
  291. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +1 -0
  292. package/components/container/panel/collapsible-pane.component.js +26 -0
  293. package/components/container/panel/collapsible-pane.component.js.map +1 -0
  294. package/components/container/panel/panel-content/panel-content.component.js +17 -0
  295. package/components/container/panel/panel-content/panel-content.component.js.map +1 -0
  296. package/components/container/panel/panel-content/panel-content.props.js +11 -0
  297. package/components/container/panel/panel-content/panel-content.props.js.map +1 -0
  298. package/components/container/panel/panel-content/panel-content.styles.js +16 -0
  299. package/components/container/panel/panel-content/panel-content.styles.js.map +1 -0
  300. package/components/container/panel/panel-footer/panel-footer.component.js +17 -0
  301. package/components/container/panel/panel-footer/panel-footer.component.js.map +1 -0
  302. package/components/container/panel/panel-footer/panel-footer.props.js +11 -0
  303. package/components/container/panel/panel-footer/panel-footer.props.js.map +1 -0
  304. package/components/container/panel/panel-footer/panel-footer.styles.js +19 -0
  305. package/components/container/panel/panel-footer/panel-footer.styles.js.map +1 -0
  306. package/components/container/panel/panel.component.js +163 -0
  307. package/components/container/panel/panel.component.js.map +1 -0
  308. package/components/container/panel/panel.props.js +26 -0
  309. package/components/container/panel/panel.props.js.map +1 -0
  310. package/components/container/panel/panel.styles.js +108 -0
  311. package/components/container/panel/panel.styles.js.map +1 -0
  312. package/components/container/partial-host.component.js +42 -0
  313. package/components/container/partial-host.component.js.map +1 -0
  314. package/components/container/tabs/tabheader/tabheader.component.js +240 -0
  315. package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
  316. package/components/container/tabs/tabheader/tabheader.props.js +18 -0
  317. package/components/container/tabs/tabheader/tabheader.props.js.map +1 -0
  318. package/components/container/tabs/tabheader/tabheader.styles.js +111 -0
  319. package/components/container/tabs/tabheader/tabheader.styles.js.map +1 -0
  320. package/components/container/tabs/tabpane/tabpane.component.js +82 -0
  321. package/components/container/tabs/tabpane/tabpane.component.js.map +1 -0
  322. package/components/container/tabs/tabpane/tabpane.props.js +19 -0
  323. package/components/container/tabs/tabpane/tabpane.props.js.map +1 -0
  324. package/components/container/tabs/tabpane/tabpane.styles.js +13 -0
  325. package/components/container/tabs/tabpane/tabpane.styles.js.map +1 -0
  326. package/components/container/tabs/tabs.component.js +299 -0
  327. package/components/container/tabs/tabs.component.js.map +1 -0
  328. package/components/container/tabs/tabs.props.js +16 -0
  329. package/components/container/tabs/tabs.props.js.map +1 -0
  330. package/components/container/tabs/tabs.styles.js +65 -0
  331. package/components/container/tabs/tabs.styles.js.map +1 -0
  332. package/components/container/tile/tile.component.js +54 -0
  333. package/components/container/tile/tile.component.js.map +1 -0
  334. package/components/container/tile/tile.props.js +13 -0
  335. package/components/container/tile/tile.props.js.map +1 -0
  336. package/components/container/tile/tile.styles.js +38 -0
  337. package/components/container/tile/tile.styles.js.map +1 -0
  338. package/components/container/wizard/wizard.component.js +550 -0
  339. package/components/container/wizard/wizard.component.js.map +1 -0
  340. package/components/container/wizard/wizard.props.js +31 -0
  341. package/components/container/wizard/wizard.props.js.map +1 -0
  342. package/components/container/wizard/wizard.styles.js +415 -0
  343. package/components/container/wizard/wizard.styles.js.map +1 -0
  344. package/components/container/wizard/wizardaction/wizardaction.component.js +17 -0
  345. package/components/container/wizard/wizardaction/wizardaction.component.js.map +1 -0
  346. package/components/container/wizard/wizardaction/wizardaction.props.js +11 -0
  347. package/components/container/wizard/wizardaction/wizardaction.props.js.map +1 -0
  348. package/components/container/wizard/wizardaction/wizardaction.styles.js +11 -0
  349. package/components/container/wizard/wizardaction/wizardaction.styles.js.map +1 -0
  350. package/components/container/wizard/wizardstep/wizardstep.component.js +92 -0
  351. package/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -0
  352. package/components/container/wizard/wizardstep/wizardstep.props.js +22 -0
  353. package/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -0
  354. package/components/container/wizard/wizardstep/wizardstep.styles.js +13 -0
  355. package/components/container/wizard/wizardstep/wizardstep.styles.js.map +1 -0
  356. package/components/data/card/card-content/card-content.component.js +46 -0
  357. package/components/data/card/card-content/card-content.component.js.map +1 -0
  358. package/components/data/card/card-content/card-content.props.js +12 -0
  359. package/components/data/card/card-content/card-content.props.js.map +1 -0
  360. package/components/data/card/card-content/card-content.styles.js +17 -0
  361. package/components/data/card/card-content/card-content.styles.js.map +1 -0
  362. package/components/data/card/card-footer/card-footer.component.js +18 -0
  363. package/components/data/card/card-footer/card-footer.component.js.map +1 -0
  364. package/components/data/card/card-footer/card-footer.props.js +11 -0
  365. package/components/data/card/card-footer/card-footer.props.js.map +1 -0
  366. package/components/data/card/card-footer/card-footer.styles.js +18 -0
  367. package/components/data/card/card-footer/card-footer.styles.js.map +1 -0
  368. package/components/data/card/card.component.js +92 -0
  369. package/components/data/card/card.component.js.map +1 -0
  370. package/components/data/card/card.props.js +27 -0
  371. package/components/data/card/card.props.js.map +1 -0
  372. package/components/data/card/card.styles.js +51 -0
  373. package/components/data/card/card.styles.js.map +1 -0
  374. package/components/data/form/form-action/form-action.component.js +35 -0
  375. package/components/data/form/form-action/form-action.component.js.map +1 -0
  376. package/components/data/form/form-action/form-action.props.js +18 -0
  377. package/components/data/form/form-action/form-action.props.js.map +1 -0
  378. package/components/data/form/form-action/form-action.styles.js +34 -0
  379. package/components/data/form/form-action/form-action.styles.js.map +1 -0
  380. package/components/data/form/form-body/form-body.component.js +20 -0
  381. package/components/data/form/form-body/form-body.component.js.map +1 -0
  382. package/components/data/form/form-body/form-body.props.js +11 -0
  383. package/components/data/form/form-body/form-body.props.js.map +1 -0
  384. package/components/data/form/form-body/form-body.styles.js +13 -0
  385. package/components/data/form/form-body/form-body.styles.js.map +1 -0
  386. package/components/data/form/form-field/form-field.component.js +257 -0
  387. package/components/data/form/form-field/form-field.component.js.map +1 -0
  388. package/components/data/form/form-field/form-field.props.js +35 -0
  389. package/components/data/form/form-field/form-field.props.js.map +1 -0
  390. package/components/data/form/form-field/form-field.styles.js +40 -0
  391. package/components/data/form/form-field/form-field.styles.js.map +1 -0
  392. package/components/data/form/form-footer/form-footer.component.js +20 -0
  393. package/components/data/form/form-footer/form-footer.component.js.map +1 -0
  394. package/components/data/form/form-footer/form-footer.props.js +11 -0
  395. package/components/data/form/form-footer/form-footer.props.js.map +1 -0
  396. package/components/data/form/form-footer/form-footer.styles.js +18 -0
  397. package/components/data/form/form-footer/form-footer.styles.js.map +1 -0
  398. package/components/data/form/form.component.js +465 -0
  399. package/components/data/form/form.component.js.map +1 -0
  400. package/components/data/form/form.props.js +38 -0
  401. package/components/data/form/form.props.js.map +1 -0
  402. package/components/data/form/form.styles.js +53 -0
  403. package/components/data/form/form.styles.js.map +1 -0
  404. package/components/data/list/list-action-template/list-action-template.component.js +28 -0
  405. package/components/data/list/list-action-template/list-action-template.component.js.map +1 -0
  406. package/components/data/list/list-action-template/list-action-template.props.js +12 -0
  407. package/components/data/list/list-action-template/list-action-template.props.js.map +1 -0
  408. package/components/data/list/list-action-template/list-action-template.styles.js +36 -0
  409. package/components/data/list/list-action-template/list-action-template.styles.js.map +1 -0
  410. package/components/data/list/list-template/list-template.component.js +55 -0
  411. package/components/data/list/list-template/list-template.component.js.map +1 -0
  412. package/components/data/list/list-template/list-template.props.js +13 -0
  413. package/components/data/list/list-template/list-template.props.js.map +1 -0
  414. package/components/data/list/list-template/list-template.styles.js +35 -0
  415. package/components/data/list/list-template/list-template.styles.js.map +1 -0
  416. package/components/data/list/list.component.js +690 -0
  417. package/components/data/list/list.component.js.map +1 -0
  418. package/components/data/list/list.props.js +53 -0
  419. package/components/data/list/list.props.js.map +1 -0
  420. package/components/data/list/list.styles.js +151 -0
  421. package/components/data/list/list.styles.js.map +1 -0
  422. package/components/data/liveform/liveform.component.js +98 -0
  423. package/components/data/liveform/liveform.component.js.map +1 -0
  424. package/components/device/barcodescanner/barcodescanner.component.js +69 -0
  425. package/components/device/barcodescanner/barcodescanner.component.js.map +1 -0
  426. package/components/device/barcodescanner/barcodescanner.props.js +19 -0
  427. package/components/device/barcodescanner/barcodescanner.props.js.map +1 -0
  428. package/components/device/barcodescanner/barcodescanner.styles.js +38 -0
  429. package/components/device/barcodescanner/barcodescanner.styles.js.map +1 -0
  430. package/components/device/camera/camera.component.js +84 -0
  431. package/components/device/camera/camera.component.js.map +1 -0
  432. package/components/device/camera/camera.props.js +25 -0
  433. package/components/device/camera/camera.props.js.map +1 -0
  434. package/components/device/camera/camera.styles.js +39 -0
  435. package/components/device/camera/camera.styles.js.map +1 -0
  436. package/components/dialogs/alertdialog/alertdialog.component.js +72 -0
  437. package/components/dialogs/alertdialog/alertdialog.component.js.map +1 -0
  438. package/components/dialogs/alertdialog/alertdialog.props.js +24 -0
  439. package/components/dialogs/alertdialog/alertdialog.props.js.map +1 -0
  440. package/components/dialogs/alertdialog/alertdialog.styles.js +34 -0
  441. package/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -0
  442. package/components/dialogs/confirmdialog/confirmdialog.component.js +78 -0
  443. package/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -0
  444. package/components/dialogs/confirmdialog/confirmdialog.props.js +24 -0
  445. package/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -0
  446. package/components/dialogs/confirmdialog/confirmdialog.styles.js +58 -0
  447. package/components/dialogs/confirmdialog/confirmdialog.styles.js.map +1 -0
  448. package/components/dialogs/dialog/dialog.component.js +107 -0
  449. package/components/dialogs/dialog/dialog.component.js.map +1 -0
  450. package/components/dialogs/dialog/dialog.props.js +25 -0
  451. package/components/dialogs/dialog/dialog.props.js.map +1 -0
  452. package/components/dialogs/dialog/dialog.styles.js +78 -0
  453. package/components/dialogs/dialog/dialog.styles.js.map +1 -0
  454. package/components/dialogs/dialogactions/dialogactions.component.js +22 -0
  455. package/components/dialogs/dialogactions/dialogactions.component.js.map +1 -0
  456. package/components/dialogs/dialogactions/dialogactions.props.js +11 -0
  457. package/components/dialogs/dialogactions/dialogactions.props.js.map +1 -0
  458. package/components/dialogs/dialogactions/dialogactions.styles.js +17 -0
  459. package/components/dialogs/dialogactions/dialogactions.styles.js.map +1 -0
  460. package/components/dialogs/dialogcontent/dialogcontent.component.js +31 -0
  461. package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -0
  462. package/components/dialogs/dialogcontent/dialogcontent.props.js +11 -0
  463. package/components/dialogs/dialogcontent/dialogcontent.props.js.map +1 -0
  464. package/components/dialogs/dialogcontent/dialogcontent.styles.js +15 -0
  465. package/components/dialogs/dialogcontent/dialogcontent.styles.js.map +1 -0
  466. package/components/input/basedataset/basedataset.component.js +232 -0
  467. package/components/input/basedataset/basedataset.component.js.map +1 -0
  468. package/components/input/basedataset/basedataset.props.js +33 -0
  469. package/components/input/basedataset/basedataset.props.js.map +1 -0
  470. package/components/input/basedataset/basedataset.styles.js +11 -0
  471. package/components/input/basedataset/basedataset.styles.js.map +1 -0
  472. package/components/input/baseinput/baseinput.component.js +203 -0
  473. package/components/input/baseinput/baseinput.component.js.map +1 -0
  474. package/components/input/baseinput/baseinput.props.js +32 -0
  475. package/components/input/baseinput/baseinput.props.js.map +1 -0
  476. package/components/input/baseinput/baseinput.styles.js +11 -0
  477. package/components/input/baseinput/baseinput.styles.js.map +1 -0
  478. package/components/input/basenumber/basenumber.component.js +357 -0
  479. package/components/input/basenumber/basenumber.component.js.map +1 -0
  480. package/components/input/basenumber/basenumber.props.js +28 -0
  481. package/components/input/basenumber/basenumber.props.js.map +1 -0
  482. package/components/input/basenumber/basenumber.styles.js +11 -0
  483. package/components/input/basenumber/basenumber.styles.js.map +1 -0
  484. package/components/input/calendar/calendar.component.js +173 -0
  485. package/components/input/calendar/calendar.component.js.map +1 -0
  486. package/components/input/calendar/calendar.props.js +14 -0
  487. package/components/input/calendar/calendar.props.js.map +1 -0
  488. package/components/input/calendar/calendar.styles.js +162 -0
  489. package/components/input/calendar/calendar.styles.js.map +1 -0
  490. package/components/input/calendar/views/month-view.js +211 -0
  491. package/components/input/calendar/views/month-view.js.map +1 -0
  492. package/components/input/calendar/views/month-view.styles.js +39 -0
  493. package/components/input/calendar/views/month-view.styles.js.map +1 -0
  494. package/components/input/checkbox/checkbox.component.js +124 -0
  495. package/components/input/checkbox/checkbox.component.js.map +1 -0
  496. package/components/input/checkbox/checkbox.props.js +18 -0
  497. package/components/input/checkbox/checkbox.props.js.map +1 -0
  498. package/components/input/checkbox/checkbox.styles.js +94 -0
  499. package/components/input/checkbox/checkbox.styles.js.map +1 -0
  500. package/components/input/checkboxset/checkboxset.component.js +159 -0
  501. package/components/input/checkboxset/checkboxset.component.js.map +1 -0
  502. package/components/input/checkboxset/checkboxset.props.js +21 -0
  503. package/components/input/checkboxset/checkboxset.props.js.map +1 -0
  504. package/components/input/checkboxset/checkboxset.styles.js +88 -0
  505. package/components/input/checkboxset/checkboxset.styles.js.map +1 -0
  506. package/components/input/chips/chips.component.js +410 -0
  507. package/components/input/chips/chips.component.js.map +1 -0
  508. package/components/input/chips/chips.props.js +30 -0
  509. package/components/input/chips/chips.props.js.map +1 -0
  510. package/components/input/chips/chips.styles.js +221 -0
  511. package/components/input/chips/chips.styles.js.map +1 -0
  512. package/components/input/composite/composite.component.js +25 -0
  513. package/components/input/composite/composite.component.js.map +1 -0
  514. package/components/input/composite/composite.props.js +12 -0
  515. package/components/input/composite/composite.props.js.map +1 -0
  516. package/components/input/composite/composite.styles.js +29 -0
  517. package/components/input/composite/composite.styles.js.map +1 -0
  518. package/components/input/currency/currency.component.js +120 -0
  519. package/components/input/currency/currency.component.js.map +1 -0
  520. package/components/input/currency/currency.props.js +13 -0
  521. package/components/input/currency/currency.props.js.map +1 -0
  522. package/components/input/currency/currency.styles.js +148 -0
  523. package/components/input/currency/currency.styles.js.map +1 -0
  524. package/components/input/epoch/base-datetime.component.js +496 -0
  525. package/components/input/epoch/base-datetime.component.js.map +1 -0
  526. package/components/input/epoch/date/date.component.js +20 -0
  527. package/components/input/epoch/date/date.component.js.map +1 -0
  528. package/components/input/epoch/date/date.props.js +11 -0
  529. package/components/input/epoch/date/date.props.js.map +1 -0
  530. package/components/input/epoch/date/date.styles.js +48 -0
  531. package/components/input/epoch/date/date.styles.js.map +1 -0
  532. package/components/input/epoch/date-picker.component.js +136 -0
  533. package/components/input/epoch/date-picker.component.js.map +1 -0
  534. package/components/input/epoch/datetime/datetime.component.js +20 -0
  535. package/components/input/epoch/datetime/datetime.component.js.map +1 -0
  536. package/components/input/epoch/datetime/datetime.props.js +36 -0
  537. package/components/input/epoch/datetime/datetime.props.js.map +1 -0
  538. package/components/input/epoch/datetime/datetime.styles.js +163 -0
  539. package/components/input/epoch/datetime/datetime.styles.js.map +1 -0
  540. package/components/input/epoch/time/time.component.js +26 -0
  541. package/components/input/epoch/time/time.component.js.map +1 -0
  542. package/components/input/epoch/time/time.props.js +15 -0
  543. package/components/input/epoch/time/time.props.js.map +1 -0
  544. package/components/input/epoch/time/time.styles.js +48 -0
  545. package/components/input/epoch/time/time.styles.js.map +1 -0
  546. package/components/input/epoch/wheel-date-picker.component.js +206 -0
  547. package/components/input/epoch/wheel-date-picker.component.js.map +1 -0
  548. package/components/input/epoch/wheel-time-picker.component.js +107 -0
  549. package/components/input/epoch/wheel-time-picker.component.js.map +1 -0
  550. package/components/input/epoch/wheelpicker/wheelpicker.component.js +97 -0
  551. package/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -0
  552. package/components/input/epoch/wheelpicker/wheelpicker.props.js +17 -0
  553. package/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -0
  554. package/components/input/epoch/wheelpicker/wheelpicker.styles.js +55 -0
  555. package/components/input/epoch/wheelpicker/wheelpicker.styles.js.map +1 -0
  556. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +85 -0
  557. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -0
  558. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +20 -0
  559. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -0
  560. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js +66 -0
  561. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js.map +1 -0
  562. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +83 -0
  563. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +1 -0
  564. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +19 -0
  565. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -0
  566. package/components/input/fileupload/fileupload.component.js +70 -0
  567. package/components/input/fileupload/fileupload.component.js.map +1 -0
  568. package/components/input/fileupload/fileupload.props.js +19 -0
  569. package/components/input/fileupload/fileupload.props.js.map +1 -0
  570. package/components/input/fileupload/fileupload.styles.js +27 -0
  571. package/components/input/fileupload/fileupload.styles.js.map +1 -0
  572. package/components/input/number/number.component.js +86 -0
  573. package/components/input/number/number.component.js.map +1 -0
  574. package/components/input/number/number.props.js +13 -0
  575. package/components/input/number/number.props.js.map +1 -0
  576. package/components/input/number/number.styles.js +93 -0
  577. package/components/input/number/number.styles.js.map +1 -0
  578. package/components/input/radioset/radioset.component.js +147 -0
  579. package/components/input/radioset/radioset.component.js.map +1 -0
  580. package/components/input/radioset/radioset.props.js +20 -0
  581. package/components/input/radioset/radioset.props.js.map +1 -0
  582. package/components/input/radioset/radioset.styles.js +102 -0
  583. package/components/input/radioset/radioset.styles.js.map +1 -0
  584. package/components/input/rating/rating.component.js +155 -0
  585. package/components/input/rating/rating.component.js.map +1 -0
  586. package/components/input/rating/rating.props.js +25 -0
  587. package/components/input/rating/rating.props.js.map +1 -0
  588. package/components/input/rating/rating.styles.js +48 -0
  589. package/components/input/rating/rating.styles.js.map +1 -0
  590. package/components/input/select/select.component.js +303 -0
  591. package/components/input/select/select.component.js.map +1 -0
  592. package/components/input/select/select.props.js +12 -0
  593. package/components/input/select/select.props.js.map +1 -0
  594. package/components/input/select/select.styles.js +178 -0
  595. package/components/input/select/select.styles.js.map +1 -0
  596. package/components/input/slider/slider.component.js +538 -0
  597. package/components/input/slider/slider.component.js.map +1 -0
  598. package/components/input/slider/slider.props.js +20 -0
  599. package/components/input/slider/slider.props.js.map +1 -0
  600. package/components/input/slider/slider.styles.js +95 -0
  601. package/components/input/slider/slider.styles.js.map +1 -0
  602. package/components/input/switch/switch.component.js +99 -0
  603. package/components/input/switch/switch.component.js.map +1 -0
  604. package/components/input/switch/switch.props.js +13 -0
  605. package/components/input/switch/switch.props.js.map +1 -0
  606. package/components/input/switch/switch.styles.js +192 -0
  607. package/components/input/switch/switch.styles.js.map +1 -0
  608. package/components/input/text/text.component.js +132 -0
  609. package/components/input/text/text.component.js.map +1 -0
  610. package/components/input/text/text.props.js +21 -0
  611. package/components/input/text/text.props.js.map +1 -0
  612. package/components/input/text/text.styles.js +130 -0
  613. package/components/input/text/text.styles.js.map +1 -0
  614. package/components/input/textarea/textarea.component.js +88 -0
  615. package/components/input/textarea/textarea.component.js.map +1 -0
  616. package/components/input/textarea/textarea.props.js +15 -0
  617. package/components/input/textarea/textarea.props.js.map +1 -0
  618. package/components/input/textarea/textarea.styles.js +84 -0
  619. package/components/input/textarea/textarea.styles.js.map +1 -0
  620. package/components/input/toggle/toggle.component.js +202 -0
  621. package/components/input/toggle/toggle.component.js.map +1 -0
  622. package/components/input/toggle/toggle.props.js +32 -0
  623. package/components/input/toggle/toggle.props.js.map +1 -0
  624. package/components/input/toggle/toggle.styles.js +97 -0
  625. package/components/input/toggle/toggle.styles.js.map +1 -0
  626. package/components/navigation/appnavbar/appnavbar.component.js +114 -0
  627. package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
  628. package/components/navigation/appnavbar/appnavbar.props.js +22 -0
  629. package/components/navigation/appnavbar/appnavbar.props.js.map +1 -0
  630. package/components/navigation/appnavbar/appnavbar.styles.js +169 -0
  631. package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
  632. package/components/navigation/basenav/basenav.component.js +72 -0
  633. package/components/navigation/basenav/basenav.component.js.map +1 -0
  634. package/components/navigation/basenav/basenav.props.js +18 -0
  635. package/components/navigation/basenav/basenav.props.js.map +1 -0
  636. package/components/navigation/basenav/basenav.styles.js +11 -0
  637. package/components/navigation/basenav/basenav.styles.js.map +1 -0
  638. package/components/navigation/menu/menu.component.js +66 -0
  639. package/components/navigation/menu/menu.component.js.map +1 -0
  640. package/components/navigation/menu/menu.props.js +15 -0
  641. package/components/navigation/menu/menu.props.js.map +1 -0
  642. package/components/navigation/menu/menu.styles.js +70 -0
  643. package/components/navigation/menu/menu.styles.js.map +1 -0
  644. package/components/navigation/navbar/navbar.component.js +78 -0
  645. package/components/navigation/navbar/navbar.component.js.map +1 -0
  646. package/components/navigation/navbar/navbar.props.js +16 -0
  647. package/components/navigation/navbar/navbar.props.js.map +1 -0
  648. package/components/navigation/navbar/navbar.styles.js +41 -0
  649. package/components/navigation/navbar/navbar.styles.js.map +1 -0
  650. package/components/navigation/navitem/navitem.component.js +70 -0
  651. package/components/navigation/navitem/navitem.component.js.map +1 -0
  652. package/components/navigation/navitem/navitem.props.js +19 -0
  653. package/components/navigation/navitem/navitem.props.js.map +1 -0
  654. package/components/navigation/navitem/navitem.styles.js +80 -0
  655. package/components/navigation/navitem/navitem.styles.js.map +1 -0
  656. package/components/navigation/popover/popover.component.js +220 -0
  657. package/components/navigation/popover/popover.component.js.map +1 -0
  658. package/components/navigation/popover/popover.props.js +34 -0
  659. package/components/navigation/popover/popover.props.js.map +1 -0
  660. package/components/navigation/popover/popover.styles.js +92 -0
  661. package/components/navigation/popover/popover.styles.js.map +1 -0
  662. package/components/page/content/content.component.js +16 -0
  663. package/components/page/content/content.component.js.map +1 -0
  664. package/components/page/content/content.props.js +2 -0
  665. package/components/page/content/content.props.js.map +1 -0
  666. package/components/page/content/content.styles.js +13 -0
  667. package/components/page/content/content.styles.js.map +1 -0
  668. package/components/page/left-panel/left-panel.component.js +64 -0
  669. package/components/page/left-panel/left-panel.component.js.map +1 -0
  670. package/components/page/left-panel/left-panel.props.js +12 -0
  671. package/components/page/left-panel/left-panel.props.js.map +1 -0
  672. package/components/page/left-panel/left-panel.styles.js +18 -0
  673. package/components/page/left-panel/left-panel.styles.js.map +1 -0
  674. package/components/page/page-content/page-content.component.js +207 -0
  675. package/components/page/page-content/page-content.component.js.map +1 -0
  676. package/components/page/page-content/page-content.props.js +18 -0
  677. package/components/page/page-content/page-content.props.js.map +1 -0
  678. package/components/page/page-content/page-content.styles.js +20 -0
  679. package/components/page/page-content/page-content.styles.js.map +1 -0
  680. package/components/page/page.component.js +48 -0
  681. package/components/page/page.component.js.map +1 -0
  682. package/components/page/page.props.js +15 -0
  683. package/components/page/page.props.js.map +1 -0
  684. package/components/page/page.styles.js +24 -0
  685. package/components/page/page.styles.js.map +1 -0
  686. package/components/page/partial/partial.component.js +42 -0
  687. package/components/page/partial/partial.component.js.map +1 -0
  688. package/components/page/partial/partial.props.js +2 -0
  689. package/components/page/partial/partial.props.js.map +1 -0
  690. package/components/page/partial/partial.styles.js +18 -0
  691. package/components/page/partial/partial.styles.js.map +1 -0
  692. package/components/page/partial-container/partial-container.component.js +35 -0
  693. package/components/page/partial-container/partial-container.component.js.map +1 -0
  694. package/components/page/partial-container/partial-container.props.js +13 -0
  695. package/components/page/partial-container/partial-container.props.js.map +1 -0
  696. package/components/page/partial-container/partial-container.styles.js +14 -0
  697. package/components/page/partial-container/partial-container.styles.js.map +1 -0
  698. package/components/page/tabbar/curve.js +84 -0
  699. package/components/page/tabbar/curve.js.map +1 -0
  700. package/components/page/tabbar/tabbar.component.js +258 -0
  701. package/components/page/tabbar/tabbar.component.js.map +1 -0
  702. package/components/page/tabbar/tabbar.props.js +29 -0
  703. package/components/page/tabbar/tabbar.props.js.map +1 -0
  704. package/components/page/tabbar/tabbar.styles.js +160 -0
  705. package/components/page/tabbar/tabbar.styles.js.map +1 -0
  706. package/components/prefab/prefab-container.component.js +42 -0
  707. package/components/prefab/prefab-container.component.js.map +1 -0
  708. package/components/prefab/prefab-container.props.js +2 -0
  709. package/components/prefab/prefab-container.props.js.map +1 -0
  710. package/components/prefab/prefab-container.styles.js +16 -0
  711. package/components/prefab/prefab-container.styles.js.map +1 -0
  712. package/components-prism/advanced/carousel/carousel.component.js +322 -0
  713. package/components-prism/advanced/carousel/carousel.component.js.map +1 -0
  714. package/components-prism/advanced/carousel/carousel.props.js +24 -0
  715. package/components-prism/advanced/carousel/carousel.props.js.map +1 -0
  716. package/components-prism/advanced/carousel/carousel.styles.js +179 -0
  717. package/components-prism/advanced/carousel/carousel.styles.js.map +1 -0
  718. package/components-prism/basic/progress-bar/progress-bar.component.js +227 -0
  719. package/components-prism/basic/progress-bar/progress-bar.component.js.map +1 -0
  720. package/components-prism/basic/progress-bar/progress-bar.props.js +20 -0
  721. package/components-prism/basic/progress-bar/progress-bar.props.js.map +1 -0
  722. package/components-prism/basic/progress-bar/progress-bar.styles.js +43 -0
  723. package/components-prism/basic/progress-bar/progress-bar.styles.js.map +1 -0
  724. package/components-prism/basic/progress-circle/progress-circle.component.js +80 -0
  725. package/components-prism/basic/progress-circle/progress-circle.component.js.map +1 -0
  726. package/components-prism/basic/progress-circle/progress-circle.props.js +19 -0
  727. package/components-prism/basic/progress-circle/progress-circle.props.js.map +1 -0
  728. package/components-prism/basic/progress-circle/progress-circle.styles.js +82 -0
  729. package/components-prism/basic/progress-circle/progress-circle.styles.js.map +1 -0
  730. package/components-prism/data/list/list-template/list-template.styles.js +27 -0
  731. package/components-prism/data/list/list-template/list-template.styles.js.map +1 -0
  732. package/components-prism/input/slider/Thumb.js +35 -0
  733. package/components-prism/input/slider/Thumb.js.map +1 -0
  734. package/components-prism/input/slider/slider.component.js +108 -0
  735. package/components-prism/input/slider/slider.component.js.map +1 -0
  736. package/components-prism/input/slider/slider.props.js +20 -0
  737. package/components-prism/input/slider/slider.props.js.map +1 -0
  738. package/components-prism/input/slider/slider.styles.js +135 -0
  739. package/components-prism/input/slider/slider.styles.js.map +1 -0
  740. package/components-prism/input/slider/withSlider.js +339 -0
  741. package/components-prism/input/slider/withSlider.js.map +1 -0
  742. package/core/AppConfig.js +2 -0
  743. package/core/AppConfig.js.map +1 -0
  744. package/core/accessibility.js +195 -0
  745. package/core/accessibility.js.map +1 -0
  746. package/core/advanced-promise-rejection-tracker.js +208 -0
  747. package/core/advanced-promise-rejection-tracker.js.map +1 -0
  748. package/core/asset.provider.js +5 -0
  749. package/core/asset.provider.js.map +1 -0
  750. package/core/auto-layout-host.component.js +31 -0
  751. package/core/auto-layout-host.component.js.map +1 -0
  752. package/core/auto-layout.utils.js +250 -0
  753. package/core/auto-layout.utils.js.map +1 -0
  754. package/core/base.component.js +671 -0
  755. package/core/base.component.js.map +1 -0
  756. package/core/components/error-fallback/error-fallback.component.js +172 -0
  757. package/core/components/error-fallback/error-fallback.component.js.map +1 -0
  758. package/core/components/error-fallback/error-fallback.styles.js +227 -0
  759. package/core/components/error-fallback/error-fallback.styles.js.map +1 -0
  760. package/core/components/floatinglabel.component.js +86 -0
  761. package/core/components/floatinglabel.component.js.map +1 -0
  762. package/core/components/sticky-base.component.js +54 -0
  763. package/core/components/sticky-base.component.js.map +1 -0
  764. package/core/components/sticky-container.component.js +34 -0
  765. package/core/components/sticky-container.component.js.map +1 -0
  766. package/core/components/sticky-container.styles.js +98 -0
  767. package/core/components/sticky-container.styles.js.map +1 -0
  768. package/core/components/sticky-nav.component.js +28 -0
  769. package/core/components/sticky-nav.component.js.map +1 -0
  770. package/core/components/textinput.component.js +226 -0
  771. package/core/components/textinput.component.js.map +1 -0
  772. package/core/components-prism/progress-circle.js +217 -0
  773. package/core/components-prism/progress-circle.js.map +1 -0
  774. package/core/constant.service.js +22 -0
  775. package/core/constant.service.js.map +1 -0
  776. package/core/constants/currency-constants.js +1066 -0
  777. package/core/constants/currency-constants.js.map +1 -0
  778. package/core/currency-constants.js +1065 -0
  779. package/core/currency-constants.js.map +1 -0
  780. package/core/device/av-service.js +8 -0
  781. package/core/device/av-service.js.map +1 -0
  782. package/core/device/calendar-service.js +8 -0
  783. package/core/device/calendar-service.js.map +1 -0
  784. package/core/device/camera-service.js +11 -0
  785. package/core/device/camera-service.js.map +1 -0
  786. package/core/device/contacts-service.js +8 -0
  787. package/core/device/contacts-service.js.map +1 -0
  788. package/core/device/fileupload-service.js +8 -0
  789. package/core/device/fileupload-service.js.map +1 -0
  790. package/core/device/location-service.js +8 -0
  791. package/core/device/location-service.js.map +1 -0
  792. package/core/device/openfile-service.js +10 -0
  793. package/core/device/openfile-service.js.map +1 -0
  794. package/core/device/scan-service.js +11 -0
  795. package/core/device/scan-service.js.map +1 -0
  796. package/core/display.manager.js +5 -0
  797. package/core/display.manager.js.map +1 -0
  798. package/core/error-boundary.component.js +64 -0
  799. package/core/error-boundary.component.js.map +1 -0
  800. package/core/event-notifier.js +69 -0
  801. package/core/event-notifier.js.map +1 -0
  802. package/core/file-extension-types.js +70 -0
  803. package/core/file-extension-types.js.map +1 -0
  804. package/core/fixed-view.component.js +94 -0
  805. package/core/fixed-view.component.js.map +1 -0
  806. package/core/formatters.js +70 -0
  807. package/core/formatters.js.map +1 -0
  808. package/core/global-error-handler.service.js +103 -0
  809. package/core/global-error-handler.service.js.map +1 -0
  810. package/core/i18n.service.js +2 -0
  811. package/core/i18n.service.js.map +1 -0
  812. package/core/if.component.js +35 -0
  813. package/core/if.component.js.map +1 -0
  814. package/core/imageSizeEstimator.js +51 -0
  815. package/core/imageSizeEstimator.js.map +1 -0
  816. package/core/injector.js +27 -0
  817. package/core/injector.js.map +1 -0
  818. package/core/key.extractor.js +21 -0
  819. package/core/key.extractor.js.map +1 -0
  820. package/core/logger.js +123 -0
  821. package/core/logger.js.map +1 -0
  822. package/core/modal.service.js +5 -0
  823. package/core/modal.service.js.map +1 -0
  824. package/core/navigation.service.js +70 -0
  825. package/core/navigation.service.js.map +1 -0
  826. package/core/network.service.js +327 -0
  827. package/core/network.service.js.map +1 -0
  828. package/core/partial.service.js +5 -0
  829. package/core/partial.service.js.map +1 -0
  830. package/core/props.provider.js +88 -0
  831. package/core/props.provider.js.map +1 -0
  832. package/core/responsive.utils.js +51 -0
  833. package/core/responsive.utils.js.map +1 -0
  834. package/core/screen-capture-protection.service.js +5 -0
  835. package/core/screen-capture-protection.service.js.map +1 -0
  836. package/core/scroll-view.component.js +52 -0
  837. package/core/scroll-view.component.js.map +1 -0
  838. package/core/secure-storage.service.js +55 -0
  839. package/core/secure-storage.service.js.map +1 -0
  840. package/core/security.service.js +5 -0
  841. package/core/security.service.js.map +1 -0
  842. package/core/spinner.service.js +5 -0
  843. package/core/spinner.service.js.map +1 -0
  844. package/core/sticky-view.component.js +51 -0
  845. package/core/sticky-view.component.js.map +1 -0
  846. package/core/sticky-wrapper.js +133 -0
  847. package/core/sticky-wrapper.js.map +1 -0
  848. package/core/storage.service.js +38 -0
  849. package/core/storage.service.js.map +1 -0
  850. package/core/tappable.component.js +163 -0
  851. package/core/tappable.component.js.map +1 -0
  852. package/core/testid.provider.js +5 -0
  853. package/core/testid.provider.js.map +1 -0
  854. package/core/toast.service.js +5 -0
  855. package/core/toast.service.js.map +1 -0
  856. package/core/ui-preferences.context.js +10 -0
  857. package/core/ui-preferences.context.js.map +1 -0
  858. package/core/utils.js +867 -0
  859. package/core/utils.js.map +1 -0
  860. package/core/viewport.js +45 -0
  861. package/core/viewport.js.map +1 -0
  862. package/core/wm-component-tree.js +58 -0
  863. package/core/wm-component-tree.js.map +1 -0
  864. package/gestures/carousel-swipe.animation.js +225 -0
  865. package/gestures/carousel-swipe.animation.js.map +1 -0
  866. package/gestures/swipe.animation.js +220 -0
  867. package/gestures/swipe.animation.js.map +1 -0
  868. package/gestures-prism/carousel.flatlist.js +349 -0
  869. package/gestures-prism/carousel.flatlist.js.map +1 -0
  870. package/index.js +2 -0
  871. package/index.js.map +1 -0
  872. package/npm-shrinkwrap.json +26212 -0
  873. package/package-lock.json +26212 -0
  874. package/package.json +291 -0
  875. package/runtime/App.js +763 -0
  876. package/runtime/App.js.map +1 -0
  877. package/runtime/App.navigator.js +113 -0
  878. package/runtime/App.navigator.js.map +1 -0
  879. package/runtime/base-customwidget.component.js +52 -0
  880. package/runtime/base-customwidget.component.js.map +1 -0
  881. package/runtime/base-fragment.component.js +418 -0
  882. package/runtime/base-fragment.component.js.map +1 -0
  883. package/runtime/base-page.component.js +233 -0
  884. package/runtime/base-page.component.js.map +1 -0
  885. package/runtime/base-partial.component.js +63 -0
  886. package/runtime/base-partial.component.js.map +1 -0
  887. package/runtime/base-prefab.component.js +87 -0
  888. package/runtime/base-prefab.component.js.map +1 -0
  889. package/runtime/lib-patch.js +25 -0
  890. package/runtime/lib-patch.js.map +1 -0
  891. package/runtime/memo.component.js +44 -0
  892. package/runtime/memo.component.js.map +1 -0
  893. package/runtime/navigator/drawer.navigator.js +41 -0
  894. package/runtime/navigator/drawer.navigator.js.map +1 -0
  895. package/runtime/navigator/stack.navigator.js +78 -0
  896. package/runtime/navigator/stack.navigator.js.map +1 -0
  897. package/runtime/platform.api.js +7 -0
  898. package/runtime/platform.api.js.map +1 -0
  899. package/runtime/services/app-display-manager.service.js +52 -0
  900. package/runtime/services/app-display-manager.service.js.map +1 -0
  901. package/runtime/services/app-i18n.service.js +89 -0
  902. package/runtime/services/app-i18n.service.js.map +1 -0
  903. package/runtime/services/app-modal.service.js +73 -0
  904. package/runtime/services/app-modal.service.js.map +1 -0
  905. package/runtime/services/app-security.service.js +256 -0
  906. package/runtime/services/app-security.service.js.map +1 -0
  907. package/runtime/services/app-spinner.service.js +74 -0
  908. package/runtime/services/app-spinner.service.js.map +1 -0
  909. package/runtime/services/app-toast.service.js +60 -0
  910. package/runtime/services/app-toast.service.js.map +1 -0
  911. package/runtime/services/device/calendar-service.js +95 -0
  912. package/runtime/services/device/calendar-service.js.map +1 -0
  913. package/runtime/services/device/camera-service.js +377 -0
  914. package/runtime/services/device/camera-service.js.map +1 -0
  915. package/runtime/services/device/contacts-service.js +34 -0
  916. package/runtime/services/device/contacts-service.js.map +1 -0
  917. package/runtime/services/device/location-service.js +16 -0
  918. package/runtime/services/device/location-service.js.map +1 -0
  919. package/runtime/services/device/permission-service.js +5 -0
  920. package/runtime/services/device/permission-service.js.map +1 -0
  921. package/runtime/services/device/permissions.js +45 -0
  922. package/runtime/services/device/permissions.js.map +1 -0
  923. package/runtime/services/device/scan-service.js +163 -0
  924. package/runtime/services/device/scan-service.js.map +1 -0
  925. package/runtime/services/partial.service.js +26 -0
  926. package/runtime/services/partial.service.js.map +1 -0
  927. package/runtime/services/webprocess.service.js +107 -0
  928. package/runtime/services/webprocess.service.js.map +1 -0
  929. package/runtime/watcher.js +147 -0
  930. package/runtime/watcher.js.map +1 -0
  931. package/styles/MediaQueryList.js +19 -0
  932. package/styles/MediaQueryList.js.map +1 -0
  933. package/styles/background.component.js +317 -0
  934. package/styles/background.component.js.map +1 -0
  935. package/styles/calc.js +165 -0
  936. package/styles/calc.js.map +1 -0
  937. package/styles/color-mix.js +82 -0
  938. package/styles/color-mix.js.map +1 -0
  939. package/styles/style-prop.validator.js +467 -0
  940. package/styles/style-prop.validator.js.map +1 -0
  941. package/styles/style-props.js +105 -0
  942. package/styles/style-props.js.map +1 -0
  943. package/styles/theme.js +725 -0
  944. package/styles/theme.js.map +1 -0
  945. package/styles/theme.variables.js +444 -0
  946. package/styles/theme.variables.js.map +1 -0
  947. package/variables/base-variable.js +125 -0
  948. package/variables/base-variable.js.map +1 -0
  949. package/variables/device/calendar/create-event.operation.js +53 -0
  950. package/variables/device/calendar/create-event.operation.js.map +1 -0
  951. package/variables/device/calendar/delete-event.operation.js +15 -0
  952. package/variables/device/calendar/delete-event.operation.js.map +1 -0
  953. package/variables/device/calendar/get-events.operation.js +15 -0
  954. package/variables/device/calendar/get-events.operation.js.map +1 -0
  955. package/variables/device/camera/capture-image.operation.js +13 -0
  956. package/variables/device/camera/capture-image.operation.js.map +1 -0
  957. package/variables/device/camera/capture-video.operation.js +12 -0
  958. package/variables/device/camera/capture-video.operation.js.map +1 -0
  959. package/variables/device/contacts/get-contacts.operation.js +15 -0
  960. package/variables/device/contacts/get-contacts.operation.js.map +1 -0
  961. package/variables/device/device/app-info.operation.js +13 -0
  962. package/variables/device/device/app-info.operation.js.map +1 -0
  963. package/variables/device/device/current-geo-position.operation.js +15 -0
  964. package/variables/device/device/current-geo-position.operation.js.map +1 -0
  965. package/variables/device/device/device-info.operation.js +12 -0
  966. package/variables/device/device/device-info.operation.js.map +1 -0
  967. package/variables/device/device/network-info.operation.js +33 -0
  968. package/variables/device/device/network-info.operation.js.map +1 -0
  969. package/variables/device/device/vibrate.operation.js +8 -0
  970. package/variables/device/device/vibrate.operation.js.map +1 -0
  971. package/variables/device/file/open-file.operation.js +71 -0
  972. package/variables/device/file/open-file.operation.js.map +1 -0
  973. package/variables/device/file/upload-file.operation.js +66 -0
  974. package/variables/device/file/upload-file.operation.js.map +1 -0
  975. package/variables/device/operation.provider.js +11 -0
  976. package/variables/device/operation.provider.js.map +1 -0
  977. package/variables/device/scan/scan.operation.js +15 -0
  978. package/variables/device/scan/scan.operation.js.map +1 -0
  979. package/variables/device-variable.js +28 -0
  980. package/variables/device-variable.js.map +1 -0
  981. package/variables/http.service.js +84 -0
  982. package/variables/http.service.js.map +1 -0
  983. package/variables/live-variable.js +130 -0
  984. package/variables/live-variable.js.map +1 -0
  985. package/variables/model-variable.js +47 -0
  986. package/variables/model-variable.js.map +1 -0
  987. package/variables/service-variable.js +143 -0
  988. package/variables/service-variable.js.map +1 -0
  989. package/variables/utils/dataset-util.js +139 -0
  990. package/variables/utils/dataset-util.js.map +1 -0
  991. package/variables/utils/inflight-queue.js +114 -0
  992. package/variables/utils/inflight-queue.js.map +1 -0
  993. package/variables/utils/variable.constants.js +22 -0
  994. package/variables/utils/variable.constants.js.map +1 -0
  995. package/variables/utils/variable.utils.js +189 -0
  996. package/variables/utils/variable.utils.js.map +1 -0
  997. package/wm-namespace.js +15 -0
  998. package/wm-namespace.js.map +1 -0
@@ -0,0 +1,36 @@
1
+ import * as React from 'react';
2
+ import { View, Text } from "react-native";
3
+ export const Legend = function (props) {
4
+ var _props$data;
5
+ return /*#__PURE__*/React.createElement(View, {
6
+ style: [props.orientation === 'vertical' ? {
7
+ flexDirection: 'column',
8
+ justifyContent: 'center'
9
+ } : {
10
+ flexDirection: 'row',
11
+ justifyContent: 'center',
12
+ flexWrap: 'wrap'
13
+ }]
14
+ }, (_props$data = props.data) === null || _props$data === void 0 ? void 0 : _props$data.map(d => {
15
+ return /*#__PURE__*/React.createElement(View, {
16
+ key: d.name,
17
+ style: {
18
+ flexDirection: 'row',
19
+ alignItems: 'center',
20
+ padding: 4
21
+ }
22
+ }, /*#__PURE__*/React.createElement(View, {
23
+ style: [{
24
+ width: 12,
25
+ height: 12
26
+ }, props.dotStyle, {
27
+ backgroundColor: d.color
28
+ }]
29
+ }), /*#__PURE__*/React.createElement(Text, {
30
+ style: [{
31
+ paddingLeft: 4
32
+ }, props.testStyle]
33
+ }, d.name));
34
+ }));
35
+ };
36
+ //# sourceMappingURL=legend.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","Text","Legend","props","_props$data","createElement","style","orientation","flexDirection","justifyContent","flexWrap","data","map","d","key","name","alignItems","padding","width","height","dotStyle","backgroundColor","color","paddingLeft","testStyle"],"sources":["legend.component.tsx"],"sourcesContent":["import * as React from 'react';\nimport { TextStyle, View, Text, ViewStyle } from \"react-native\";\n\nexport interface LegendProps {\n data : [{\n name: string,\n color: string\n }];\n dotStyle?: ViewStyle;\n testStyle?: TextStyle;\n orientation?: 'vertical' | 'horizontal';\n}\n\nexport const Legend = function(props: LegendProps) {\n return (\n <View style={[\n props.orientation === 'vertical' ? {\n flexDirection: 'column',\n justifyContent: 'center'\n } : {\n flexDirection: 'row',\n justifyContent: 'center',\n flexWrap: 'wrap'\n }]}>\n {props.data?.map(d => {\n return (\n <View key={d.name} style={{\n flexDirection: 'row',\n alignItems: 'center',\n padding: 4}}>\n <View style={[{\n width: 12,\n height: 12\n }, props.dotStyle, {\n backgroundColor: d.color\n }]}></View>\n <Text style={[{ \n paddingLeft: 4\n }, props.testStyle]}>{d.name}</Text>\n </View>);\n })}\n </View>\n );\n};"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAAoBC,IAAI,EAAEC,IAAI,QAAmB,cAAc;AAY/D,OAAO,MAAMC,MAAM,GAAG,SAAAA,CAASC,KAAkB,EAAE;EAAA,IAAAC,WAAA;EAC/C,oBACIL,KAAA,CAAAM,aAAA,CAACL,IAAI;IAACM,KAAK,EAAE,CACbH,KAAK,CAACI,WAAW,KAAK,UAAU,GAAI;MAChCC,aAAa,EAAE,QAAQ;MACvBC,cAAc,EAAE;IACpB,CAAC,GAAG;MACAD,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE,QAAQ;MACxBC,QAAQ,EAAE;IACd,CAAC;EAAE,IAAAN,WAAA,GACED,KAAK,CAACQ,IAAI,cAAAP,WAAA,uBAAVA,WAAA,CAAYQ,GAAG,CAACC,CAAC,IAAI;IAClB,oBACAd,KAAA,CAAAM,aAAA,CAACL,IAAI;MAACc,GAAG,EAAED,CAAC,CAACE,IAAK;MAACT,KAAK,EAAE;QACtBE,aAAa,EAAE,KAAK;QACpBQ,UAAU,EAAE,QAAQ;QACpBC,OAAO,EAAE;MAAC;IAAE,gBACZlB,KAAA,CAAAM,aAAA,CAACL,IAAI;MAACM,KAAK,EAAE,CAAC;QACVY,KAAK,EAAE,EAAE;QACTC,MAAM,EAAE;MACZ,CAAC,EAAEhB,KAAK,CAACiB,QAAQ,EAAE;QACfC,eAAe,EAAER,CAAC,CAACS;MACvB,CAAC;IAAE,CAAO,CAAC,eACXvB,KAAA,CAAAM,aAAA,CAACJ,IAAI;MAACK,KAAK,EAAE,CAAC;QACViB,WAAW,EAAE;MACjB,CAAC,EAAEpB,KAAK,CAACqB,SAAS;IAAE,GAAEX,CAAC,CAACE,IAAW,CACjC,CAAC;EACX,CAAC,CACC,CAAC;AAEf,CAAC","ignoreList":[]}
@@ -0,0 +1,119 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ import React from 'react';
3
+ import { Text, View, Platform } from 'react-native';
4
+ import { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker-ai/app-rn-runtime/core/accessibility';
5
+ import { VictoryChart, VictoryLine, VictoryScatter, VictoryGroup } from 'victory-native';
6
+ import WmLineChartProps from './line-chart.props';
7
+ import { DEFAULT_CLASS } from './line-chart.styles';
8
+ import { BaseChartComponent, BaseChartComponentState } from "@wavemaker-ai/app-rn-runtime/components/chart/basechart.component";
9
+ import ThemeVariables from '@wavemaker-ai/app-rn-runtime/styles/theme.variables';
10
+ import WmIcon from '@wavemaker-ai/app-rn-runtime/components/basic/icon/icon.component';
11
+ export class WmLineChartState extends BaseChartComponentState {}
12
+ export default class WmLineChart extends BaseChartComponent {
13
+ constructor(props) {
14
+ super(props, DEFAULT_CLASS, new WmLineChartProps(), new WmLineChartState());
15
+ }
16
+ onSelect(event, data) {
17
+ if (!this.viewRef.current) return;
18
+ if (!this.state.props.dataset) return;
19
+ this.viewRef.current.measureInWindow((chartX, chartY) => {
20
+ let value = data.data[data.index].y;
21
+ let label = this.state.xaxisDatakeyArr[data.datum.x];
22
+ let selectedItem = this.props.dataset[data.index];
23
+ const nativeEvent = event.nativeEvent;
24
+ let tooltipX = nativeEvent.pageX - chartX;
25
+ let tooltipY = nativeEvent.pageY - chartY;
26
+ let selectedChartItem = [{
27
+ series: 0,
28
+ x: data.index,
29
+ y: value,
30
+ _dataObj: selectedItem
31
+ }, data.index];
32
+ this.updateState({
33
+ tooltipXaxis: label,
34
+ tooltipYaxis: value,
35
+ isTooltipOpen: true,
36
+ selectedItem: {
37
+ ...selectedItem,
38
+ index: data.index
39
+ },
40
+ tooltipXPosition: tooltipX - this.state.tooltipoffsetx,
41
+ tooltipYPosition: tooltipY - this.state.tooltipoffsety
42
+ });
43
+ this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem]);
44
+ });
45
+ }
46
+ renderWidget(props) {
47
+ var _this$state$data;
48
+ this.invokeEventCallback('onBeforerender', [this.proxy, null]);
49
+ if (!((_this$state$data = this.state.data) !== null && _this$state$data !== void 0 && _this$state$data.length)) {
50
+ return null;
51
+ }
52
+ return /*#__PURE__*/React.createElement(View, _extends({
53
+ style: this.styles.root
54
+ }, getAccessibilityProps(AccessibilityWidgetType.LINECHART, props), {
55
+ onLayout: this.onViewLayoutChange
56
+ }), /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(View, {
57
+ style: {
58
+ flexDirection: 'row',
59
+ alignItems: 'center'
60
+ }
61
+ }, props.iconclass ? /*#__PURE__*/React.createElement(WmIcon, {
62
+ iconclass: props.iconclass,
63
+ styles: this.styles.icon
64
+ }) : null, /*#__PURE__*/React.createElement(Text, {
65
+ style: this.styles.title
66
+ }, props.title)), /*#__PURE__*/React.createElement(Text, {
67
+ style: this.styles.subHeading
68
+ }, props.subheading)), /*#__PURE__*/React.createElement(View, {
69
+ ref: this.viewRef
70
+ }, this.getTooltip(), /*#__PURE__*/React.createElement(VictoryChart, {
71
+ theme: this.state.theme,
72
+ height: this.styles.root.height,
73
+ width: this.state.chartWidth || this.screenWidth,
74
+ padding: {
75
+ top: props.offsettop,
76
+ bottom: props.offsetbottom,
77
+ left: this.isRTL ? props.offsetright : props.offsetleft,
78
+ right: this.isRTL ? props.offsetleft : props.offsetright
79
+ }
80
+ }, this.getLegendView(), this.getXaxis(), this.getYAxis(), this.state.data.map((d, i) => {
81
+ return /*#__PURE__*/React.createElement(VictoryGroup, {
82
+ key: props.name + '_line_group_' + i
83
+ }, /*#__PURE__*/React.createElement(VictoryLine, {
84
+ interpolation: props.interpolation,
85
+ key: props.name + '_line_' + i,
86
+ name: props.name + '_' + i,
87
+ standalone: true,
88
+ style: {
89
+ data: {
90
+ stroke: this.state.colors[i] || ThemeVariables.INSTANCE.chartLineColor,
91
+ strokeWidth: props.linethickness
92
+ }
93
+ },
94
+ data: d
95
+ }), /*#__PURE__*/React.createElement(VictoryScatter, {
96
+ size: 5,
97
+ key: props.name + '_scatter' + i,
98
+ style: {
99
+ data: props.highlightpoints || this.state.data.length === 1 ? {
100
+ fill: this.state.colors[i],
101
+ opacity: 0.8
102
+ } : {
103
+ opacity: 0
104
+ }
105
+ },
106
+ data: d,
107
+ events: [{
108
+ target: 'data',
109
+ eventHandlers: Platform.OS == "web" ? {
110
+ onClick: this.onSelect.bind(this)
111
+ } : {
112
+ onPress: this.onSelect.bind(this)
113
+ }
114
+ }]
115
+ }));
116
+ }))));
117
+ }
118
+ }
119
+ //# sourceMappingURL=line-chart.component.js.map
@@ -0,0 +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-ai/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-ai/app-rn-runtime/components/chart/basechart.component\";\nimport ThemeVariables from '@wavemaker-ai/app-rn-runtime/styles/theme.variables';\nimport {InterpolationPropType} from \"victory-core\";\nimport WmIcon from '@wavemaker-ai/app-rn-runtime/components/basic/icon/icon.component';\nimport { isWebPreviewMode } from '@wavemaker-ai/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,EAAEC,IAAI,EAAEC,QAAQ,QAA2B,cAAc;AACtE,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,iDAAiD;AAChH,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,mEAAmE;AAC1E,OAAOC,cAAc,MAAM,qDAAqD;AAEhF,OAAOC,MAAM,MAAM,mEAAmE;AAGtF,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,CAA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AC3BI,UAAU,EAAE,IAAK;QACjBvC,KAAK,EAAE;UACLvC,IAAI,EAAE;YACJ+E,MAAM,EAAG,IAAI,CAAC5E,KAAK,CAAC6E,MAAM,CAACN,CAAC,CAAC,IAAIlF,cAAc,CAACyF,QAAQ,CAACC,cAAe;YACxEC,WAAW,EAAEtF,KAAK,CAACuF;UACrB;QACF,CAAE;QACFpF,IAAI,EAAEyE;MAAE,CACT,CAAC,eAEA/F,KAAA,CAAA2D,aAAA,CAACnD,cAAc;QAACmG,IAAI,EAAE,CAAE;QAACV,GAAG,EAAE9E,KAAK,CAAC+E,IAAI,GAAG,UAAU,GAAGF,CAAE;QACtDnC,KAAK,EAAE;UACLvC,IAAI,EAAGH,KAAK,CAACyF,eAAe,IAAI,IAAI,CAACnF,KAAK,CAACH,IAAI,CAACoC,MAAM,KAAK,CAAC,GAAI;YAACmD,IAAI,EAAE,IAAI,CAACpF,KAAK,CAAC6E,MAAM,CAACN,CAAC,CAAC;YAAEc,OAAO,EAAE;UAAG,CAAC,GAAG;YAACA,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":[]}
@@ -0,0 +1,14 @@
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
+ import BaseChartComponentProps from "@wavemaker-ai/app-rn-runtime/components/chart/basechart.props";
5
+ export default class WmLineChartProps extends BaseChartComponentProps {
6
+ constructor(...args) {
7
+ super(...args);
8
+ _defineProperty(this, "linethickness", 2);
9
+ _defineProperty(this, "onSelect", void 0);
10
+ _defineProperty(this, "skeletonheight", null);
11
+ _defineProperty(this, "skeletonwidth", null);
12
+ }
13
+ }
14
+ //# sourceMappingURL=line-chart.props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BaseChartComponentProps","WmLineChartProps","constructor","args","_defineProperty"],"sources":["line-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from \"@wavemaker-ai/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,+DAA+D;AACnG,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":[]}
@@ -0,0 +1,13 @@
1
+ import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';
2
+ import { DEFAULT_CLASS as BASE_CHART_DEFAULT_CLASS } from '../basechart.styles';
3
+ export const DEFAULT_CLASS = 'app-line-chart';
4
+ BASE_THEME.registerStyle((themeVariables, addStyle) => {
5
+ addStyle(DEFAULT_CLASS, BASE_CHART_DEFAULT_CLASS, {
6
+ skeleton: {
7
+ root: {
8
+ height: 200
9
+ }
10
+ }
11
+ });
12
+ });
13
+ //# sourceMappingURL=line-chart.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","DEFAULT_CLASS","BASE_CHART_DEFAULT_CLASS","registerStyle","themeVariables","addStyle","skeleton","root","height"],"sources":["line-chart.styles.ts"],"sourcesContent":["import BASE_THEME, {AllStyle} from '@wavemaker-ai/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport {BaseChartComponentStyles, DEFAULT_CLASS as BASE_CHART_DEFAULT_CLASS } from '../basechart.styles';\nimport { WmSkeletonStyles } from '@wavemaker-ai/app-rn-runtime/components/basic/skeleton/skeleton.styles';\n\nexport type WmLineChartStyles = BaseStyles & BaseChartComponentStyles;\n\nexport const DEFAULT_CLASS = 'app-line-chart';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n addStyle(DEFAULT_CLASS, BASE_CHART_DEFAULT_CLASS, {\n skeleton: {\n root: {\n height: 200\n }\n } as WmSkeletonStyles\n });\n});\n\n"],"mappings":"AAAA,OAAOA,UAAU,MAAkB,2CAA2C;AAE9E,SAAkCC,aAAa,IAAIC,wBAAwB,QAAQ,qBAAqB;AAKxG,OAAO,MAAMD,aAAa,GAAG,gBAAgB;AAC7CD,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnDA,QAAQ,CAACJ,aAAa,EAAEC,wBAAwB,EAAE;IAC9CI,QAAQ,EAAE;MACNC,IAAI,EAAE;QACFC,MAAM,EAAE;MACZ;IACJ;EACJ,CAAC,CAAC;AACN,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,251 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ 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; }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
4
+ 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); }
5
+ import React from 'react';
6
+ import { View, Text, Platform } from 'react-native';
7
+ import { Svg } from 'react-native-svg';
8
+ import { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker-ai/app-rn-runtime/core/accessibility';
9
+ import { VictoryLabel, VictoryPie } from 'victory-native';
10
+ import WmPieChartProps from './pie-chart.props';
11
+ import { DEFAULT_CLASS } from './pie-chart.styles';
12
+ import { formatCompactNumber } from '@wavemaker-ai/app-rn-runtime/core/utils';
13
+ import WmIcon from '@wavemaker-ai/app-rn-runtime/components/basic/icon/icon.component';
14
+ import { BaseChartComponent, BaseChartComponentState } from '@wavemaker-ai/app-rn-runtime/components/chart/basechart.component';
15
+ import WmDonutChartProps from '@wavemaker-ai/app-rn-runtime/components/chart/donut-chart/donut-chart.props';
16
+ import { Legend } from '../legend/legend.component';
17
+ export class WmPieChartState extends BaseChartComponentState {
18
+ constructor(...args) {
19
+ super(...args);
20
+ _defineProperty(this, "chartWidth", 0);
21
+ _defineProperty(this, "totalHeight", 0);
22
+ _defineProperty(this, "infoHeight", 10);
23
+ _defineProperty(this, "legendWidth", 0);
24
+ _defineProperty(this, "legendHeight", 0);
25
+ _defineProperty(this, "opacity", 0);
26
+ }
27
+ }
28
+ export default class WmPieChart extends BaseChartComponent {
29
+ constructor(props) {
30
+ super(props, DEFAULT_CLASS, props.type === 'Donut' ? new WmDonutChartProps() : new WmPieChartProps(), new WmPieChartState());
31
+ _defineProperty(this, "onViewLayoutChange", e => {
32
+ var _e$nativeEvent;
33
+ let viewWidth = e.nativeEvent.layout.width;
34
+ this.handleLayout(e);
35
+ this.updateState({
36
+ chartWidth: viewWidth,
37
+ totalHeight: (_e$nativeEvent = e.nativeEvent) === null || _e$nativeEvent === void 0 ? void 0 : _e$nativeEvent.layout.height
38
+ });
39
+ });
40
+ _defineProperty(this, "onInfoViewLayoutChange", e => {
41
+ var _e$nativeEvent2;
42
+ this.updateState({
43
+ infoHeight: (_e$nativeEvent2 = e.nativeEvent) === null || _e$nativeEvent2 === void 0 ? void 0 : _e$nativeEvent2.layout.height,
44
+ opacity: 1
45
+ });
46
+ });
47
+ _defineProperty(this, "onLegendViewLayoutChange", e => {
48
+ var _e$nativeEvent3, _e$nativeEvent4;
49
+ this.updateState({
50
+ legendWidth: (_e$nativeEvent3 = e.nativeEvent) === null || _e$nativeEvent3 === void 0 ? void 0 : _e$nativeEvent3.layout.width,
51
+ legendHeight: (_e$nativeEvent4 = e.nativeEvent) === null || _e$nativeEvent4 === void 0 ? void 0 : _e$nativeEvent4.layout.height
52
+ });
53
+ });
54
+ }
55
+ componentDidMount() {
56
+ super.componentDidMount();
57
+ }
58
+ getLabel(d, props) {
59
+ switch (props.labeltype) {
60
+ case 'percent':
61
+ {
62
+ return Math.round(d.y * 100 / this.state.total) + '%';
63
+ }
64
+ case 'key':
65
+ {
66
+ return this.state.xaxisDatakeyArr[d.x];
67
+ }
68
+ case 'value':
69
+ {
70
+ return formatCompactNumber(d.y);
71
+ }
72
+ case 'key-value':
73
+ {
74
+ return this.state.xaxisDatakeyArr[d.x] + ' ' + d.y;
75
+ }
76
+ }
77
+ }
78
+ onSelect(event, data) {
79
+ if (!this.viewRef.current) return;
80
+ if (!this.state.props.dataset) return;
81
+ this.viewRef.current.measureInWindow((chartX, chartY) => {
82
+ let value = data.slice.value;
83
+ let label = this.state.xaxisDatakeyArr[data.datum.x];
84
+ let selectedItem = this.props.dataset[data.index];
85
+ let selectedChartItem = data.slice;
86
+ selectedChartItem["data"] = {
87
+ x: label,
88
+ y: value,
89
+ color: data.style.fill,
90
+ _dataObj: selectedItem
91
+ };
92
+ const nativeEvent = event.nativeEvent;
93
+ let tooltipX = nativeEvent.pageX - chartX;
94
+ let tooltipY = nativeEvent.pageY - chartY;
95
+ this.updateState({
96
+ tooltipXaxis: label,
97
+ tooltipYaxis: value,
98
+ isTooltipOpen: true,
99
+ selectedItem: {
100
+ ...selectedItem,
101
+ index: data.index
102
+ },
103
+ tooltipXPosition: tooltipX - this.state.tooltipoffsetx,
104
+ tooltipYPosition: tooltipY - this.state.tooltipoffsety
105
+ });
106
+ this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem]);
107
+ });
108
+ }
109
+ renderWidget(props) {
110
+ var _this$state$labelColo;
111
+ this.invokeEventCallback('onBeforerender', [this.proxy, null]);
112
+ if (!this.state.data.length) {
113
+ return null;
114
+ }
115
+ const pieData = this.state.data[0];
116
+ const chartWidth = this.state.chartWidth - (props.showlegend === 'right' ? this.state.legendWidth : 0);
117
+ const chartHeight = (this.styles.root.height ? this.state.totalHeight : chartWidth) - this.state.infoHeight - (props.showlegend === 'right' ? 0 : this.state.legendHeight);
118
+ let radius = (Math.min(chartWidth, chartHeight) - 40) / 2;
119
+ let innerRadius = props.donutratio * radius;
120
+ let styleProp = {};
121
+ let labelRadius;
122
+ if (props.showlabels === 'hide') {
123
+ styleProp = {
124
+ labels: {
125
+ display: "none"
126
+ }
127
+ };
128
+ } else if (props.showlabels === 'inside') {
129
+ labelRadius = radius / 2;
130
+ } else {
131
+ labelRadius = radius + 8;
132
+ }
133
+ const origin = {
134
+ x: chartWidth / 2,
135
+ y: chartHeight / 2
136
+ };
137
+ const orientation = props.showlegend === 'right' ? 'vertical' : 'horizontal';
138
+ let legendData = pieData.map((d, index) => {
139
+ return {
140
+ name: this.state.xaxisDatakeyArr[d.x],
141
+ color: this.state.colors[index % this.state.colors.length]
142
+ };
143
+ });
144
+ return /*#__PURE__*/React.createElement(View, _extends({
145
+ style: [{
146
+ opacity: this.state.opacity
147
+ }, this.styles.root]
148
+ }, getAccessibilityProps(AccessibilityWidgetType.LINECHART, props), {
149
+ onLayout: this.onViewLayoutChange,
150
+ key: `${props.title}_pie_chart`
151
+ }), /*#__PURE__*/React.createElement(View, {
152
+ onLayout: this.onInfoViewLayoutChange
153
+ }, props.title || props.iconclass ? /*#__PURE__*/React.createElement(View, {
154
+ testID: "title-icon-container",
155
+ style: {
156
+ flexDirection: 'row',
157
+ alignItems: 'center'
158
+ }
159
+ }, props.iconclass ? /*#__PURE__*/React.createElement(WmIcon, {
160
+ iconclass: props.iconclass,
161
+ styles: this.styles.icon
162
+ }) : null, props.title ? /*#__PURE__*/React.createElement(Text, {
163
+ style: this.styles.title
164
+ }, props.title) : null) : null, props.subheading ? /*#__PURE__*/React.createElement(Text, {
165
+ style: this.styles.subHeading
166
+ }, props.subheading) : null), props.showlegend === 'top' ? /*#__PURE__*/React.createElement(View, {
167
+ onLayout: this.onLegendViewLayoutChange
168
+ }, /*#__PURE__*/React.createElement(Legend, {
169
+ data: legendData,
170
+ testStyle: this.styles.legendText,
171
+ dotStyle: this.styles.legenedDot
172
+ })) : null, /*#__PURE__*/React.createElement(View, {
173
+ style: {
174
+ flexDirection: 'row',
175
+ justifyContent: 'center',
176
+ alignItems: 'center'
177
+ }
178
+ }, this.getTooltip(), /*#__PURE__*/React.createElement(View, {
179
+ style: {
180
+ flex: 1
181
+ },
182
+ ref: this.viewRef
183
+ }, chartWidth ? /*#__PURE__*/React.createElement(Svg, {
184
+ width: chartWidth,
185
+ height: chartHeight
186
+ }, /*#__PURE__*/React.createElement(VictoryPie, {
187
+ style: {
188
+ ...styleProp,
189
+ ...((_this$state$labelColo = this.state.labelColors) !== null && _this$state$labelColo !== void 0 && _this$state$labelColo.length ? {
190
+ labels: {
191
+ fill: ({
192
+ index
193
+ }) => {
194
+ const labelColorScale = this.isRTL ? [...this.state.labelColors].slice(0, pieData.length).reverse() : this.state.labelColors;
195
+ return labelColorScale[index % labelColorScale.length];
196
+ }
197
+ }
198
+ } : {})
199
+ },
200
+ standalone: false,
201
+ colorScale: this.isRTL ? [...this.state.colors].slice(0, pieData.length).reverse() : this.state.colors,
202
+ labels: ({
203
+ datum
204
+ }) => this.getLabel(datum, props),
205
+ endAngle: this.state.endAngle || 0,
206
+ radius: radius,
207
+ innerRadius: innerRadius,
208
+ theme: this.state.theme,
209
+ key: props.name,
210
+ name: props.name,
211
+ data: this.isRTL ? pieData.toReversed() : pieData,
212
+ origin: origin,
213
+ labelPlacement: props.labelplacement,
214
+ labelRadius: labelRadius,
215
+ events: [{
216
+ target: 'data',
217
+ eventHandlers: Platform.OS == "web" ? {
218
+ onClick: this.onSelect.bind(this)
219
+ } : {
220
+ onPress: this.onSelect.bind(this)
221
+ }
222
+ }]
223
+ }), /*#__PURE__*/React.createElement(VictoryLabel, {
224
+ textAnchor: "middle",
225
+ style: {
226
+ ...this.styles.centerLabel,
227
+ fill: this.styles.centerLabel.color
228
+ },
229
+ x: origin.x,
230
+ y: origin.y,
231
+ text: props.centerlabel
232
+ })) : null), props.showlegend === 'right' ? /*#__PURE__*/React.createElement(View, {
233
+ style: {
234
+ maxWidth: '50%'
235
+ },
236
+ onLayout: this.onLegendViewLayoutChange
237
+ }, /*#__PURE__*/React.createElement(Legend, {
238
+ data: legendData,
239
+ testStyle: this.styles.legendText,
240
+ dotStyle: this.styles.legenedDot,
241
+ orientation: "vertical"
242
+ })) : null), props.showlegend === 'bottom' ? /*#__PURE__*/React.createElement(View, {
243
+ onLayout: this.onLegendViewLayoutChange
244
+ }, /*#__PURE__*/React.createElement(Legend, {
245
+ data: legendData,
246
+ testStyle: this.styles.legendText,
247
+ dotStyle: this.styles.legenedDot
248
+ })) : null);
249
+ }
250
+ }
251
+ //# sourceMappingURL=pie-chart.component.js.map
@@ -0,0 +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","_this$state$labelColo","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","labelColors","labelColorScale","isRTL","reverse","standalone","colorScale","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-ai/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-ai/app-rn-runtime/core/utils';\nimport WmIcon from '@wavemaker-ai/app-rn-runtime/components/basic/icon/icon.component';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from '@wavemaker-ai/app-rn-runtime/components/chart/basechart.component';\nimport WmDonutChartProps from '@wavemaker-ai/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 = (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={{\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 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,QAAQ,QAAQ,cAAc;AACtE,SAASC,GAAG,QAAQ,kBAAkB;AACtC,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,iDAAiD;AAEhH,SAASC,YAAY,EAAEC,UAAU,QAAQ,gBAAgB;AAEzD,OAAOC,eAAe,MAAM,mBAAmB;AAC/C,SAASC,aAAa,QAA0B,oBAAoB;AAEpE,SAASC,mBAAmB,QAA0B,yCAAyC;AAC/F,OAAOC,MAAM,MAAM,mEAAmE;AACtF,SACEC,kBAAkB,EAClBC,uBAAuB,QAClB,mEAAmE;AAC1E,OAAOC,iBAAiB,MAAM,6EAA6E;AAC3G,SAASC,MAAM,QAAQ,4BAA4B;AAGnD,OAAO,MAAMC,eAAe,SAASH,uBAAuB,CAAkB;EAAAI,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,qBAC/D,CAAC;IAAAA,eAAA,sBACA,CAAC;IAAAA,eAAA,qBACF,EAAE;IAAAA,eAAA,sBACD,CAAC;IAAAA,eAAA,uBACA,CAAC;IAAAA,eAAA,kBACN,CAAC;EAAA;AACb;AAEA,eAAe,MAAMC,UAAU,SAASR,kBAAkB,CAAqD;EAE7GK,WAAWA,CAACI,KAAsB,EAAE;IAClC,KAAK,CAACA,KAA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6G,aAAA,CAACtG,YAAY;MACXgJ,UAAU,EAAC,QAAQ;MACnBjF,KAAK,EAAE;QAAE,GAAG,IAAI,CAACsB,MAAM,CAAC4D,WAAW;QAAEjF,IAAI,EAAE,IAAI,CAACqB,MAAM,CAAC4D,WAAW,CAACnF;MAAM,CAAE;MAC3EjB,CAAC,EAAEmD,MAAM,CAACnD,CAAE;MAACJ,CAAC,EAAEuD,MAAM,CAACvD,CAAE;MACzByG,IAAI,EAAEnI,KAAK,CAACoI;IAAY,CACzB,CACE,CAAC,GAAI,IACN,CAAC,EACNpI,KAAK,CAACoE,UAAU,KAAK,OAAO,gBAC1B1F,KAAA,CAAA6G,aAAA,CAAC5G,IAAI;MAACqE,KAAK,EAAE;QAACqF,QAAQ,EAAE;MAAK,CAAE;MAAC3C,QAAQ,EAAE,IAAI,CAACY;IAAyB,gBACvE5H,KAAA,CAAA6G,aAAA,CAAC7F,MAAM;MAACuC,IAAI,EAAEkD,UAAW;MACvBoB,SAAS,EAAE,IAAI,CAACjC,MAAM,CAACkC,UAAW;MAClCC,QAAQ,EAAE,IAAI,CAACnC,MAAM,CAACoC,UAAW;MACjCxB,WAAW,EAAC;IAAU,CAAS,CAC7B,CAAC,GAAI,IACT,CAAC,EACNlF,KAAK,CAACoE,UAAU,KAAK,QAAQ,gBAC3B1F,KAAA,CAAA6G,aAAA,CAAC5G,IAAI;MAAC+G,QAAQ,EAAE,IAAI,CAACY;IAAyB,gBAC7C5H,KAAA,CAAA6G,aAAA,CAAC7F,MAAM;MAACuC,IAAI,EAAEkD,UAAW;MACvBoB,SAAS,EAAE,IAAI,CAACjC,MAAM,CAACkC,UAAW;MAClCC,QAAQ,EAAE,IAAI,CAACnC,MAAM,CAACoC;IAAW,CAAS,CACxC,CAAC,GAAI,IACT,CAAC;EAEX;AACF","ignoreList":[]}
@@ -0,0 +1,14 @@
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
+ import BaseChartComponentProps from '@wavemaker-ai/app-rn-runtime/components/chart/basechart.props';
5
+ export default class WmPieChartProps extends BaseChartComponentProps {
6
+ constructor(...args) {
7
+ super(...args);
8
+ _defineProperty(this, "donutratio", 0);
9
+ _defineProperty(this, "labelplacement", 'vertical');
10
+ _defineProperty(this, "centerlabel", '');
11
+ _defineProperty(this, "onSelect", void 0);
12
+ }
13
+ }
14
+ //# sourceMappingURL=pie-chart.props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BaseChartComponentProps","WmPieChartProps","constructor","args","_defineProperty"],"sources":["pie-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from '@wavemaker-ai/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,+DAA+D;AAGnG,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":[]}
@@ -0,0 +1,13 @@
1
+ import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';
2
+ import { DEFAULT_CLASS as BASE_CHART_DEFAULT_CLASS } from '../basechart.styles';
3
+ export const DEFAULT_CLASS = 'app-pie-chart';
4
+ BASE_THEME.registerStyle((themeVariables, addStyle) => {
5
+ addStyle(DEFAULT_CLASS, BASE_CHART_DEFAULT_CLASS, {
6
+ skeleton: {
7
+ root: {
8
+ height: 200
9
+ }
10
+ }
11
+ });
12
+ });
13
+ //# sourceMappingURL=pie-chart.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","DEFAULT_CLASS","BASE_CHART_DEFAULT_CLASS","registerStyle","themeVariables","addStyle","skeleton","root","height"],"sources":["pie-chart.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport {BaseChartComponentStyles, DEFAULT_CLASS as BASE_CHART_DEFAULT_CLASS } from '../basechart.styles';\nimport { WmSkeletonStyles } from '@wavemaker-ai/app-rn-runtime/components/basic/skeleton/skeleton.styles';\n\nexport type WmPieChartStyles = BaseStyles & BaseChartComponentStyles;\n\nexport const DEFAULT_CLASS = 'app-pie-chart';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n addStyle(DEFAULT_CLASS, BASE_CHART_DEFAULT_CLASS, {\n skeleton: {\n root: {\n height: 200\n }\n } as WmSkeletonStyles\n });\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,2CAA2C;AAElE,SAAkCC,aAAa,IAAIC,wBAAwB,QAAQ,qBAAqB;AAKxG,OAAO,MAAMD,aAAa,GAAG,eAAe;AAC5CD,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnDA,QAAQ,CAACJ,aAAa,EAAEC,wBAAwB,EAAE;IAC9CI,QAAQ,EAAE;MACNC,IAAI,EAAE;QACFC,MAAM,EAAE;MACZ;IACJ;EACJ,CAAC,CAAC;AACN,CAAC,CAAC","ignoreList":[]}