@wavemaker/app-rn-runtime 11.5.3-next.51552 → 11.5.3-patch.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (923) hide show
  1. {app-rn-runtime → package}/components/advanced/carousel/carousel.component.js +9 -7
  2. package/components/advanced/carousel/carousel.component.js.map +1 -0
  3. {app-rn-runtime → package}/components/advanced/webview/webview.component.js +27 -11
  4. package/components/advanced/webview/webview.component.js.map +1 -0
  5. {app-rn-runtime → package}/components/advanced/webview/webview.props.js +0 -1
  6. package/components/advanced/webview/webview.props.js.map +1 -0
  7. {app-rn-runtime → package}/components/basic/button/button.component.js +13 -1
  8. package/components/basic/button/button.component.js.map +1 -0
  9. {app-rn-runtime → package}/components/basic/button/button.styles.js +3 -3
  10. package/components/basic/button/button.styles.js.map +1 -0
  11. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js +9 -4
  12. package/components/basic/buttongroup/buttongroup.styles.js.map +1 -0
  13. {app-rn-runtime → package}/components/basic/icon/icon.styles.js +2 -1
  14. package/components/basic/icon/icon.styles.js.map +1 -0
  15. {app-rn-runtime → package}/components/basic/label/label.component.js +33 -26
  16. package/components/basic/label/label.component.js.map +1 -0
  17. {app-rn-runtime → package}/components/basic/label/label.styles.js +1 -4
  18. package/components/basic/label/label.styles.js.map +1 -0
  19. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js +2 -2
  20. package/components/chart/area-chart/area-chart.component.js.map +1 -0
  21. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js +7 -1
  22. package/components/chart/bar-chart/bar-chart.component.js.map +1 -0
  23. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js +0 -2
  24. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js.map +1 -1
  25. {app-rn-runtime → package}/components/chart/basechart.component.js +19 -6
  26. package/components/chart/basechart.component.js.map +1 -0
  27. {app-rn-runtime → package}/components/chart/basechart.props.js +4 -2
  28. package/components/chart/basechart.props.js.map +1 -0
  29. {app-rn-runtime → package}/components/chart/basechart.styles.js +7 -1
  30. package/components/chart/basechart.styles.js.map +1 -0
  31. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js +3 -3
  32. package/components/chart/line-chart/line-chart.component.js.map +1 -0
  33. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js +1 -1
  34. package/components/chart/pie-chart/pie-chart.component.js.map +1 -0
  35. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js +28 -7
  36. package/components/chart/stack-chart/stack-chart.component.js.map +1 -0
  37. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js +1 -0
  38. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js.map +1 -1
  39. package/components/chart/staticdata.js +215 -0
  40. package/components/chart/staticdata.js.map +1 -0
  41. {app-rn-runtime → package}/components/container/container.component.js +11 -2
  42. package/components/container/container.component.js.map +1 -0
  43. {app-rn-runtime → package}/components/container/container.props.js +1 -0
  44. {app-rn-runtime → package}/components/container/container.props.js.map +1 -1
  45. {app-rn-runtime → package}/components/container/wizard/wizard.component.js +11 -8
  46. package/components/container/wizard/wizard.component.js.map +1 -0
  47. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js +21 -2
  48. package/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -0
  49. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js +3 -0
  50. package/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -0
  51. {app-rn-runtime → package}/components/data/list/list.component.js +54 -2
  52. package/components/data/list/list.component.js.map +1 -0
  53. {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js +10 -2
  54. package/components/dialogs/dialog/dialog.styles.js.map +1 -0
  55. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js +12 -6
  56. package/components/input/basenumber/basenumber.component.js.map +1 -0
  57. {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js +5 -5
  58. package/components/input/checkbox/checkbox.component.js.map +1 -0
  59. package/components/input/checkbox/checkbox.styles.js +66 -0
  60. package/components/input/checkbox/checkbox.styles.js.map +1 -0
  61. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.component.js +6 -6
  62. package/components/input/checkboxset/checkboxset.component.js.map +1 -0
  63. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js +39 -10
  64. package/components/input/checkboxset/checkboxset.styles.js.map +1 -0
  65. {app-rn-runtime → package}/components/input/composite/composite.component.js +1 -1
  66. {app-rn-runtime → package}/components/input/composite/composite.component.js.map +1 -1
  67. {app-rn-runtime → package}/components/input/composite/composite.props.js +1 -1
  68. package/components/input/composite/composite.props.js.map +1 -0
  69. {app-rn-runtime → package}/components/input/currency/currency.component.js +17 -2
  70. package/components/input/currency/currency.component.js.map +1 -0
  71. {app-rn-runtime → package}/components/input/currency/currency.props.js +1 -0
  72. {app-rn-runtime → package}/components/input/currency/currency.props.js.map +1 -1
  73. {app-rn-runtime → package}/components/input/currency/currency.styles.js +19 -1
  74. package/components/input/currency/currency.styles.js.map +1 -0
  75. {app-rn-runtime → package}/components/input/epoch/base-datetime.component.js +13 -5
  76. package/components/input/epoch/base-datetime.component.js.map +1 -0
  77. {app-rn-runtime → package}/components/input/epoch/date/date.component.js +8 -0
  78. package/components/input/epoch/date/date.component.js.map +1 -0
  79. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js +16 -0
  80. package/components/input/epoch/date/date.styles.js.map +1 -0
  81. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js +8 -0
  82. package/components/input/epoch/datetime/datetime.component.js.map +1 -0
  83. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js +1 -0
  84. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js.map +1 -1
  85. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js +21 -1
  86. package/components/input/epoch/datetime/datetime.styles.js.map +1 -0
  87. {app-rn-runtime → package}/components/input/epoch/time/time.component.js +8 -0
  88. package/components/input/epoch/time/time.component.js.map +1 -0
  89. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js +16 -0
  90. package/components/input/epoch/time/time.styles.js.map +1 -0
  91. {app-rn-runtime → package}/components/input/number/number.component.js +11 -0
  92. package/components/input/number/number.component.js.map +1 -0
  93. {app-rn-runtime → package}/components/input/number/number.props.js +1 -0
  94. {app-rn-runtime → package}/components/input/number/number.props.js.map +1 -1
  95. {app-rn-runtime → package}/components/input/number/number.styles.js +17 -0
  96. package/components/input/number/number.styles.js.map +1 -0
  97. {app-rn-runtime → package}/components/input/slider/slider.styles.js +3 -3
  98. {app-rn-runtime → package}/components/input/slider/slider.styles.js.map +1 -1
  99. {app-rn-runtime → package}/components/input/switch/switch.component.js +3 -0
  100. package/components/input/switch/switch.component.js.map +1 -0
  101. {app-rn-runtime → package}/components/input/switch/switch.styles.js +8 -5
  102. package/components/input/switch/switch.styles.js.map +1 -0
  103. {app-rn-runtime → package}/components/input/text/text.component.js +11 -0
  104. package/components/input/text/text.component.js.map +1 -0
  105. {app-rn-runtime → package}/components/input/text/text.props.js +1 -0
  106. package/components/input/text/text.props.js.map +1 -0
  107. {app-rn-runtime → package}/components/input/text/text.styles.js +17 -0
  108. package/components/input/text/text.styles.js.map +1 -0
  109. {app-rn-runtime → package}/components/input/textarea/textarea.component.js +11 -0
  110. package/components/input/textarea/textarea.component.js.map +1 -0
  111. {app-rn-runtime → package}/components/input/textarea/textarea.props.js +1 -0
  112. {app-rn-runtime → package}/components/input/textarea/textarea.props.js.map +1 -1
  113. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js +17 -0
  114. package/components/input/textarea/textarea.styles.js.map +1 -0
  115. {app-rn-runtime → package}/components/input/toggle/toggle.component.js +43 -5
  116. package/components/input/toggle/toggle.component.js.map +1 -0
  117. {app-rn-runtime → package}/components/input/toggle/toggle.styles.js +5 -12
  118. package/components/input/toggle/toggle.styles.js.map +1 -0
  119. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js +6 -1
  120. package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
  121. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js +1 -0
  122. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js.map +1 -1
  123. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js +6 -0
  124. package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
  125. package/components/page/tabbar/curve.js +84 -0
  126. package/components/page/tabbar/curve.js.map +1 -0
  127. {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js +43 -9
  128. package/components/page/tabbar/tabbar.component.js.map +1 -0
  129. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js +54 -1
  130. package/components/page/tabbar/tabbar.styles.js.map +1 -0
  131. {app-rn-runtime → package}/core/base.component.js +5 -1
  132. package/core/base.component.js.map +1 -0
  133. package/core/components/flatlist.component.js +38 -0
  134. package/core/components/flatlist.component.js.map +1 -0
  135. package/core/components/floatinglabel.component.js +45 -0
  136. package/core/components/floatinglabel.component.js.map +1 -0
  137. package/core/components/scrollsmart.view.js +23 -0
  138. package/core/components/scrollsmart.view.js.map +1 -0
  139. {app-rn-runtime → package}/core/components/textinput.component.js +25 -2
  140. package/core/components/textinput.component.js.map +1 -0
  141. {app-rn-runtime → package}/core/tappable.component.js +36 -9
  142. package/core/tappable.component.js.map +1 -0
  143. {app-rn-runtime → package}/package.json +5 -3
  144. {app-rn-runtime → package}/runtime/services/webprocess.service.js +0 -1
  145. package/runtime/services/webprocess.service.js.map +1 -0
  146. package/styles/platform-theme-overrides.js +353 -0
  147. package/styles/platform-theme-overrides.js.map +1 -0
  148. app-rn-runtime/styles/theme.js → package/styles/theme copy.js +1 -1
  149. package/styles/theme copy.js.map +1 -0
  150. package/styles/theme.js +389 -0
  151. package/styles/theme.js.map +1 -0
  152. {app-rn-runtime → package}/styles/theme.variables.js +20 -3
  153. package/styles/theme.variables.js.map +1 -0
  154. {app-rn-runtime → package}/variables/model-variable.js +2 -1
  155. package/variables/model-variable.js.map +1 -0
  156. app-rn-runtime/components/advanced/carousel/carousel.component.js.map +0 -1
  157. app-rn-runtime/components/advanced/webview/webview.component.js.map +0 -1
  158. app-rn-runtime/components/advanced/webview/webview.props.js.map +0 -1
  159. app-rn-runtime/components/basic/button/button.component.js.map +0 -1
  160. app-rn-runtime/components/basic/button/button.styles.js.map +0 -1
  161. app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js.map +0 -1
  162. app-rn-runtime/components/basic/icon/icon.styles.js.map +0 -1
  163. app-rn-runtime/components/basic/label/label.component.js.map +0 -1
  164. app-rn-runtime/components/basic/label/label.styles.js.map +0 -1
  165. app-rn-runtime/components/chart/area-chart/area-chart.component.js.map +0 -1
  166. app-rn-runtime/components/chart/bar-chart/bar-chart.component.js.map +0 -1
  167. app-rn-runtime/components/chart/basechart.component.js.map +0 -1
  168. app-rn-runtime/components/chart/basechart.props.js.map +0 -1
  169. app-rn-runtime/components/chart/basechart.styles.js.map +0 -1
  170. app-rn-runtime/components/chart/line-chart/line-chart.component.js.map +0 -1
  171. app-rn-runtime/components/chart/pie-chart/pie-chart.component.js.map +0 -1
  172. app-rn-runtime/components/chart/stack-chart/stack-chart.component.js.map +0 -1
  173. app-rn-runtime/components/container/container.component.js.map +0 -1
  174. app-rn-runtime/components/container/wizard/wizard.component.js.map +0 -1
  175. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -1
  176. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -1
  177. app-rn-runtime/components/data/list/list.component.js.map +0 -1
  178. app-rn-runtime/components/dialogs/dialog/dialog.styles.js.map +0 -1
  179. app-rn-runtime/components/input/basenumber/basenumber.component.js.map +0 -1
  180. app-rn-runtime/components/input/checkbox/checkbox.component.js.map +0 -1
  181. app-rn-runtime/components/input/checkbox/checkbox.styles.js +0 -36
  182. app-rn-runtime/components/input/checkbox/checkbox.styles.js.map +0 -1
  183. app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +0 -1
  184. app-rn-runtime/components/input/checkboxset/checkboxset.styles.js.map +0 -1
  185. app-rn-runtime/components/input/composite/composite.props.js.map +0 -1
  186. app-rn-runtime/components/input/currency/currency.component.js.map +0 -1
  187. app-rn-runtime/components/input/currency/currency.styles.js.map +0 -1
  188. app-rn-runtime/components/input/epoch/base-datetime.component.js.map +0 -1
  189. app-rn-runtime/components/input/epoch/date/date.component.js.map +0 -1
  190. app-rn-runtime/components/input/epoch/date/date.styles.js.map +0 -1
  191. app-rn-runtime/components/input/epoch/datetime/datetime.component.js.map +0 -1
  192. app-rn-runtime/components/input/epoch/datetime/datetime.styles.js.map +0 -1
  193. app-rn-runtime/components/input/epoch/time/time.component.js.map +0 -1
  194. app-rn-runtime/components/input/epoch/time/time.styles.js.map +0 -1
  195. app-rn-runtime/components/input/number/number.component.js.map +0 -1
  196. app-rn-runtime/components/input/number/number.styles.js.map +0 -1
  197. app-rn-runtime/components/input/switch/switch.component.js.map +0 -1
  198. app-rn-runtime/components/input/switch/switch.styles.js.map +0 -1
  199. app-rn-runtime/components/input/text/text.component.js.map +0 -1
  200. app-rn-runtime/components/input/text/text.props.js.map +0 -1
  201. app-rn-runtime/components/input/text/text.styles.js.map +0 -1
  202. app-rn-runtime/components/input/textarea/textarea.component.js.map +0 -1
  203. app-rn-runtime/components/input/textarea/textarea.styles.js.map +0 -1
  204. app-rn-runtime/components/input/toggle/toggle.component.js.map +0 -1
  205. app-rn-runtime/components/input/toggle/toggle.styles.js.map +0 -1
  206. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +0 -1
  207. app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js.map +0 -1
  208. app-rn-runtime/components/page/tabbar/tabbar.component.js.map +0 -1
  209. app-rn-runtime/components/page/tabbar/tabbar.styles.js.map +0 -1
  210. app-rn-runtime/core/base.component.js.map +0 -1
  211. app-rn-runtime/core/components/textinput.component.js.map +0 -1
  212. app-rn-runtime/core/tappable.component.js.map +0 -1
  213. app-rn-runtime/runtime/services/webprocess.service.js.map +0 -1
  214. app-rn-runtime/styles/theme.js.map +0 -1
  215. app-rn-runtime/styles/theme.variables.js.map +0 -1
  216. app-rn-runtime/variables/model-variable.js.map +0 -1
  217. {app-rn-runtime → package}/actions/base-action.js +0 -0
  218. {app-rn-runtime → package}/actions/base-action.js.map +0 -0
  219. {app-rn-runtime → package}/actions/index.js +0 -0
  220. {app-rn-runtime → package}/actions/index.js.map +0 -0
  221. {app-rn-runtime → package}/actions/login-action.js +0 -0
  222. {app-rn-runtime → package}/actions/login-action.js.map +0 -0
  223. {app-rn-runtime → package}/actions/logout-action.js +0 -0
  224. {app-rn-runtime → package}/actions/logout-action.js.map +0 -0
  225. {app-rn-runtime → package}/actions/navigation-action.js +0 -0
  226. {app-rn-runtime → package}/actions/navigation-action.js.map +0 -0
  227. {app-rn-runtime → package}/actions/notification-action.js +0 -0
  228. {app-rn-runtime → package}/actions/notification-action.js.map +0 -0
  229. {app-rn-runtime → package}/actions/timer-action.js +0 -0
  230. {app-rn-runtime → package}/actions/timer-action.js.map +0 -0
  231. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js +0 -0
  232. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js.map +0 -0
  233. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js +0 -0
  234. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js.map +0 -0
  235. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js +0 -0
  236. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +0 -0
  237. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js +0 -0
  238. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js.map +0 -0
  239. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js +0 -0
  240. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js.map +0 -0
  241. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js +0 -0
  242. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +0 -0
  243. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js +0 -0
  244. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js.map +0 -0
  245. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js +0 -0
  246. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js.map +0 -0
  247. {app-rn-runtime → package}/components/advanced/login/login.component.js +0 -0
  248. {app-rn-runtime → package}/components/advanced/login/login.component.js.map +0 -0
  249. {app-rn-runtime → package}/components/advanced/login/login.props.js +0 -0
  250. {app-rn-runtime → package}/components/advanced/login/login.props.js.map +0 -0
  251. {app-rn-runtime → package}/components/advanced/login/login.styles.js +0 -0
  252. {app-rn-runtime → package}/components/advanced/login/login.styles.js.map +0 -0
  253. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js +0 -0
  254. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js.map +0 -0
  255. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js +0 -0
  256. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js.map +0 -0
  257. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js +0 -0
  258. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +0 -0
  259. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js +0 -0
  260. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
  261. {app-rn-runtime → package}/components/basic/anchor/anchor.component.js +0 -0
  262. {app-rn-runtime → package}/components/basic/anchor/anchor.component.js.map +0 -0
  263. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js +0 -0
  264. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js.map +0 -0
  265. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js +0 -0
  266. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js.map +0 -0
  267. {app-rn-runtime → package}/components/basic/animatedview.component.js +0 -0
  268. {app-rn-runtime → package}/components/basic/animatedview.component.js.map +0 -0
  269. {app-rn-runtime → package}/components/basic/audio/audio.component.js +0 -0
  270. {app-rn-runtime → package}/components/basic/audio/audio.component.js.map +0 -0
  271. {app-rn-runtime → package}/components/basic/audio/audio.props.js +0 -0
  272. {app-rn-runtime → package}/components/basic/audio/audio.props.js.map +0 -0
  273. {app-rn-runtime → package}/components/basic/audio/audio.styles.js +0 -0
  274. {app-rn-runtime → package}/components/basic/audio/audio.styles.js.map +0 -0
  275. {app-rn-runtime → package}/components/basic/button/button.props.js +0 -0
  276. {app-rn-runtime → package}/components/basic/button/button.props.js.map +0 -0
  277. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js +0 -0
  278. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js.map +0 -0
  279. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js +0 -0
  280. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js.map +0 -0
  281. {app-rn-runtime → package}/components/basic/custom/custom.component.js +0 -0
  282. {app-rn-runtime → package}/components/basic/custom/custom.component.js.map +0 -0
  283. {app-rn-runtime → package}/components/basic/custom/custom.props.js +0 -0
  284. {app-rn-runtime → package}/components/basic/custom/custom.props.js.map +0 -0
  285. {app-rn-runtime → package}/components/basic/custom/custom.styles.js +0 -0
  286. {app-rn-runtime → package}/components/basic/custom/custom.styles.js.map +0 -0
  287. {app-rn-runtime → package}/components/basic/icon/icon.component.js +0 -0
  288. {app-rn-runtime → package}/components/basic/icon/icon.component.js.map +0 -0
  289. {app-rn-runtime → package}/components/basic/icon/icon.props.js +0 -0
  290. {app-rn-runtime → package}/components/basic/icon/icon.props.js.map +0 -0
  291. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +0 -0
  292. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +0 -0
  293. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
  294. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +0 -0
  295. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +0 -0
  296. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
  297. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js +0 -0
  298. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js.map +0 -0
  299. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.ttf +0 -0
  300. {app-rn-runtime → package}/components/basic/label/label.props.js +0 -0
  301. {app-rn-runtime → package}/components/basic/label/label.props.js.map +0 -0
  302. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js +0 -0
  303. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js.map +0 -0
  304. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js +0 -0
  305. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js.map +0 -0
  306. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js +0 -0
  307. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js.map +0 -0
  308. {app-rn-runtime → package}/components/basic/message/message.component.js +0 -0
  309. {app-rn-runtime → package}/components/basic/message/message.component.js.map +0 -0
  310. {app-rn-runtime → package}/components/basic/message/message.props.js +0 -0
  311. {app-rn-runtime → package}/components/basic/message/message.props.js.map +0 -0
  312. {app-rn-runtime → package}/components/basic/message/message.styles.js +0 -0
  313. {app-rn-runtime → package}/components/basic/message/message.styles.js.map +0 -0
  314. {app-rn-runtime → package}/components/basic/modal/modal.component.js +0 -0
  315. {app-rn-runtime → package}/components/basic/modal/modal.component.js.map +0 -0
  316. {app-rn-runtime → package}/components/basic/modal/modal.props.js +0 -0
  317. {app-rn-runtime → package}/components/basic/modal/modal.props.js.map +0 -0
  318. {app-rn-runtime → package}/components/basic/modal/modal.styles.js +0 -0
  319. {app-rn-runtime → package}/components/basic/modal/modal.styles.js.map +0 -0
  320. {app-rn-runtime → package}/components/basic/picture/picture.component.js +0 -0
  321. {app-rn-runtime → package}/components/basic/picture/picture.component.js.map +0 -0
  322. {app-rn-runtime → package}/components/basic/picture/picture.props.js +0 -0
  323. {app-rn-runtime → package}/components/basic/picture/picture.props.js.map +0 -0
  324. {app-rn-runtime → package}/components/basic/picture/picture.styles.js +0 -0
  325. {app-rn-runtime → package}/components/basic/picture/picture.styles.js.map +0 -0
  326. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js +0 -0
  327. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js.map +0 -0
  328. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js +0 -0
  329. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js.map +0 -0
  330. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js +0 -0
  331. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js.map +0 -0
  332. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js +0 -0
  333. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js.map +0 -0
  334. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js +0 -0
  335. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js.map +0 -0
  336. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js +0 -0
  337. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js.map +0 -0
  338. {app-rn-runtime → package}/components/basic/search/local-data-provider.js +0 -0
  339. {app-rn-runtime → package}/components/basic/search/local-data-provider.js.map +0 -0
  340. {app-rn-runtime → package}/components/basic/search/search.component.js +0 -0
  341. {app-rn-runtime → package}/components/basic/search/search.component.js.map +0 -0
  342. {app-rn-runtime → package}/components/basic/search/search.props.js +0 -0
  343. {app-rn-runtime → package}/components/basic/search/search.props.js.map +0 -0
  344. {app-rn-runtime → package}/components/basic/search/search.styles.js +0 -0
  345. {app-rn-runtime → package}/components/basic/search/search.styles.js.map +0 -0
  346. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js +0 -0
  347. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js.map +0 -0
  348. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js +0 -0
  349. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js.map +0 -0
  350. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js +0 -0
  351. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js.map +0 -0
  352. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js +0 -0
  353. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js.map +0 -0
  354. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js +0 -0
  355. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js.map +0 -0
  356. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js +0 -0
  357. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js.map +0 -0
  358. {app-rn-runtime → package}/components/basic/video/video.component.js +0 -0
  359. {app-rn-runtime → package}/components/basic/video/video.component.js.map +0 -0
  360. {app-rn-runtime → package}/components/basic/video/video.props.js +0 -0
  361. {app-rn-runtime → package}/components/basic/video/video.props.js.map +0 -0
  362. {app-rn-runtime → package}/components/basic/video/video.styles.js +0 -0
  363. {app-rn-runtime → package}/components/basic/video/video.styles.js.map +0 -0
  364. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js +0 -0
  365. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js.map +0 -0
  366. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js +0 -0
  367. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js.map +0 -0
  368. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js +0 -0
  369. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
  370. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js +0 -0
  371. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js.map +0 -0
  372. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js +0 -0
  373. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js.map +0 -0
  374. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js +0 -0
  375. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js.map +0 -0
  376. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js +0 -0
  377. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js.map +0 -0
  378. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js +0 -0
  379. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js.map +0 -0
  380. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js +0 -0
  381. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js.map +0 -0
  382. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js +0 -0
  383. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js.map +0 -0
  384. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js +0 -0
  385. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js.map +0 -0
  386. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js +0 -0
  387. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js.map +0 -0
  388. {app-rn-runtime → package}/components/chart/legend/legend.component.js +0 -0
  389. {app-rn-runtime → package}/components/chart/legend/legend.component.js.map +0 -0
  390. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js +0 -0
  391. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js.map +0 -0
  392. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
  393. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
  394. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js +0 -0
  395. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js.map +0 -0
  396. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js +0 -0
  397. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js.map +0 -0
  398. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js +0 -0
  399. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js.map +0 -0
  400. {app-rn-runtime → package}/components/chart/theme/chart.theme.js +0 -0
  401. {app-rn-runtime → package}/components/chart/theme/chart.theme.js.map +0 -0
  402. {app-rn-runtime → package}/components/container/accordion/accordion.component.js +0 -0
  403. {app-rn-runtime → package}/components/container/accordion/accordion.component.js.map +0 -0
  404. {app-rn-runtime → package}/components/container/accordion/accordion.props.js +0 -0
  405. {app-rn-runtime → package}/components/container/accordion/accordion.props.js.map +0 -0
  406. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js +0 -0
  407. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js.map +0 -0
  408. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js +0 -0
  409. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js.map +0 -0
  410. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js +0 -0
  411. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js.map +0 -0
  412. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js +0 -0
  413. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js.map +0 -0
  414. {app-rn-runtime → package}/components/container/container.styles.js +0 -0
  415. {app-rn-runtime → package}/components/container/container.styles.js.map +0 -0
  416. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
  417. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -0
  418. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -0
  419. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -0
  420. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
  421. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
  422. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js +0 -0
  423. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -0
  424. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js +0 -0
  425. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -0
  426. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
  427. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
  428. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js +0 -0
  429. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js.map +0 -0
  430. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js +0 -0
  431. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js.map +0 -0
  432. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
  433. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js.map +0 -0
  434. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js +0 -0
  435. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js.map +0 -0
  436. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js +0 -0
  437. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js.map +0 -0
  438. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
  439. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
  440. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -0
  441. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -0
  442. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -0
  443. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -0
  444. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
  445. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
  446. {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js +0 -0
  447. {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js.map +0 -0
  448. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js +0 -0
  449. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js.map +0 -0
  450. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js +0 -0
  451. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js.map +0 -0
  452. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js +0 -0
  453. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js.map +0 -0
  454. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js +0 -0
  455. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js.map +0 -0
  456. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js +0 -0
  457. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js.map +0 -0
  458. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js +0 -0
  459. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js.map +0 -0
  460. {app-rn-runtime → package}/components/container/panel/panel.component.js +0 -0
  461. {app-rn-runtime → package}/components/container/panel/panel.component.js.map +0 -0
  462. {app-rn-runtime → package}/components/container/panel/panel.props.js +0 -0
  463. {app-rn-runtime → package}/components/container/panel/panel.props.js.map +0 -0
  464. {app-rn-runtime → package}/components/container/panel/panel.styles.js +0 -0
  465. {app-rn-runtime → package}/components/container/panel/panel.styles.js.map +0 -0
  466. {app-rn-runtime → package}/components/container/partial-host.component.js +0 -0
  467. {app-rn-runtime → package}/components/container/partial-host.component.js.map +0 -0
  468. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.component.js +0 -0
  469. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.component.js.map +0 -0
  470. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js +0 -0
  471. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js.map +0 -0
  472. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js +0 -0
  473. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js.map +0 -0
  474. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js +0 -0
  475. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js.map +0 -0
  476. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js +0 -0
  477. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js.map +0 -0
  478. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
  479. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
  480. {app-rn-runtime → package}/components/container/tabs/tabs.component.js +0 -0
  481. {app-rn-runtime → package}/components/container/tabs/tabs.component.js.map +0 -0
  482. {app-rn-runtime → package}/components/container/tabs/tabs.props.js +0 -0
  483. {app-rn-runtime → package}/components/container/tabs/tabs.props.js.map +0 -0
  484. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js +0 -0
  485. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js.map +0 -0
  486. {app-rn-runtime → package}/components/container/tile/tile.component.js +0 -0
  487. {app-rn-runtime → package}/components/container/tile/tile.component.js.map +0 -0
  488. {app-rn-runtime → package}/components/container/tile/tile.props.js +0 -0
  489. {app-rn-runtime → package}/components/container/tile/tile.props.js.map +0 -0
  490. {app-rn-runtime → package}/components/container/tile/tile.styles.js +0 -0
  491. {app-rn-runtime → package}/components/container/tile/tile.styles.js.map +0 -0
  492. {app-rn-runtime → package}/components/container/wizard/wizard.props.js +0 -0
  493. {app-rn-runtime → package}/components/container/wizard/wizard.props.js.map +0 -0
  494. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js +0 -0
  495. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js.map +0 -0
  496. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js +0 -0
  497. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js.map +0 -0
  498. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js +0 -0
  499. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js.map +0 -0
  500. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js +0 -0
  501. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js.map +0 -0
  502. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js +0 -0
  503. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js.map +0 -0
  504. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js +0 -0
  505. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js.map +0 -0
  506. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js +0 -0
  507. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js.map +0 -0
  508. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js +0 -0
  509. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js.map +0 -0
  510. {app-rn-runtime → package}/components/data/card/card.component.js +0 -0
  511. {app-rn-runtime → package}/components/data/card/card.component.js.map +0 -0
  512. {app-rn-runtime → package}/components/data/card/card.props.js +0 -0
  513. {app-rn-runtime → package}/components/data/card/card.props.js.map +0 -0
  514. {app-rn-runtime → package}/components/data/card/card.styles.js +0 -0
  515. {app-rn-runtime → package}/components/data/card/card.styles.js.map +0 -0
  516. {app-rn-runtime → package}/components/data/form/form-action/form-action.component.js +0 -0
  517. {app-rn-runtime → package}/components/data/form/form-action/form-action.component.js.map +0 -0
  518. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js +0 -0
  519. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js.map +0 -0
  520. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js +0 -0
  521. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js.map +0 -0
  522. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js +0 -0
  523. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js.map +0 -0
  524. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js +0 -0
  525. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js.map +0 -0
  526. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js +0 -0
  527. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js.map +0 -0
  528. {app-rn-runtime → package}/components/data/form/form-field/form-field.component.js +0 -0
  529. {app-rn-runtime → package}/components/data/form/form-field/form-field.component.js.map +0 -0
  530. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js +0 -0
  531. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js.map +0 -0
  532. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js +0 -0
  533. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js.map +0 -0
  534. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js +0 -0
  535. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js.map +0 -0
  536. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js +0 -0
  537. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js.map +0 -0
  538. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js +0 -0
  539. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js.map +0 -0
  540. {app-rn-runtime → package}/components/data/form/form.component.js +0 -0
  541. {app-rn-runtime → package}/components/data/form/form.component.js.map +0 -0
  542. {app-rn-runtime → package}/components/data/form/form.props.js +0 -0
  543. {app-rn-runtime → package}/components/data/form/form.props.js.map +0 -0
  544. {app-rn-runtime → package}/components/data/form/form.styles.js +0 -0
  545. {app-rn-runtime → package}/components/data/form/form.styles.js.map +0 -0
  546. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js +0 -0
  547. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js.map +0 -0
  548. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js +0 -0
  549. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js.map +0 -0
  550. {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js +0 -0
  551. {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js.map +0 -0
  552. {app-rn-runtime → package}/components/data/list/list.props.js +0 -0
  553. {app-rn-runtime → package}/components/data/list/list.props.js.map +0 -0
  554. {app-rn-runtime → package}/components/data/list/list.styles.js +0 -0
  555. {app-rn-runtime → package}/components/data/list/list.styles.js.map +0 -0
  556. {app-rn-runtime → package}/components/data/liveform/liveform.component.js +0 -0
  557. {app-rn-runtime → package}/components/data/liveform/liveform.component.js.map +0 -0
  558. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js +0 -0
  559. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js.map +0 -0
  560. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js +0 -0
  561. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js.map +0 -0
  562. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js +0 -0
  563. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js.map +0 -0
  564. {app-rn-runtime → package}/components/device/camera/camera.component.js +0 -0
  565. {app-rn-runtime → package}/components/device/camera/camera.component.js.map +0 -0
  566. {app-rn-runtime → package}/components/device/camera/camera.props.js +0 -0
  567. {app-rn-runtime → package}/components/device/camera/camera.props.js.map +0 -0
  568. {app-rn-runtime → package}/components/device/camera/camera.styles.js +0 -0
  569. {app-rn-runtime → package}/components/device/camera/camera.styles.js.map +0 -0
  570. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js +0 -0
  571. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js.map +0 -0
  572. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js +0 -0
  573. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js.map +0 -0
  574. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js +0 -0
  575. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -0
  576. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js +0 -0
  577. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -0
  578. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js +0 -0
  579. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -0
  580. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js +0 -0
  581. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -0
  582. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js +0 -0
  583. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js.map +0 -0
  584. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js +0 -0
  585. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js.map +0 -0
  586. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js +0 -0
  587. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js.map +0 -0
  588. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js +0 -0
  589. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js.map +0 -0
  590. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js +0 -0
  591. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js.map +0 -0
  592. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js +0 -0
  593. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js.map +0 -0
  594. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js +0 -0
  595. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js.map +0 -0
  596. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js +0 -0
  597. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js.map +0 -0
  598. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js +0 -0
  599. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js.map +0 -0
  600. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js +0 -0
  601. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js.map +0 -0
  602. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js +0 -0
  603. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js.map +0 -0
  604. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js +0 -0
  605. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js.map +0 -0
  606. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js +0 -0
  607. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js.map +0 -0
  608. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js +0 -0
  609. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js.map +0 -0
  610. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js +0 -0
  611. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js.map +0 -0
  612. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js +0 -0
  613. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
  614. {app-rn-runtime → package}/components/input/calendar/calendar.component.js +0 -0
  615. {app-rn-runtime → package}/components/input/calendar/calendar.component.js.map +0 -0
  616. {app-rn-runtime → package}/components/input/calendar/calendar.props.js +0 -0
  617. {app-rn-runtime → package}/components/input/calendar/calendar.props.js.map +0 -0
  618. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js +0 -0
  619. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js.map +0 -0
  620. {app-rn-runtime → package}/components/input/calendar/views/month-view.js +0 -0
  621. {app-rn-runtime → package}/components/input/calendar/views/month-view.js.map +0 -0
  622. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js +0 -0
  623. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js.map +0 -0
  624. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js +0 -0
  625. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js.map +0 -0
  626. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js +0 -0
  627. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js.map +0 -0
  628. {app-rn-runtime → package}/components/input/chips/chips.component.js +0 -0
  629. {app-rn-runtime → package}/components/input/chips/chips.component.js.map +0 -0
  630. {app-rn-runtime → package}/components/input/chips/chips.props.js +0 -0
  631. {app-rn-runtime → package}/components/input/chips/chips.props.js.map +0 -0
  632. {app-rn-runtime → package}/components/input/chips/chips.styles.js +0 -0
  633. {app-rn-runtime → package}/components/input/chips/chips.styles.js.map +0 -0
  634. {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
  635. {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
  636. {app-rn-runtime → package}/components/input/epoch/date/date.props.js +0 -0
  637. {app-rn-runtime → package}/components/input/epoch/date/date.props.js.map +0 -0
  638. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js +0 -0
  639. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js.map +0 -0
  640. {app-rn-runtime → package}/components/input/epoch/time/time.props.js +0 -0
  641. {app-rn-runtime → package}/components/input/epoch/time/time.props.js.map +0 -0
  642. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js +0 -0
  643. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js.map +0 -0
  644. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js +0 -0
  645. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js.map +0 -0
  646. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js +0 -0
  647. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js.map +0 -0
  648. {app-rn-runtime → package}/components/input/radioset/radioset.component.js +0 -0
  649. {app-rn-runtime → package}/components/input/radioset/radioset.component.js.map +0 -0
  650. {app-rn-runtime → package}/components/input/radioset/radioset.props.js +0 -0
  651. {app-rn-runtime → package}/components/input/radioset/radioset.props.js.map +0 -0
  652. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js +0 -0
  653. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js.map +0 -0
  654. {app-rn-runtime → package}/components/input/rating/rating.component.js +0 -0
  655. {app-rn-runtime → package}/components/input/rating/rating.component.js.map +0 -0
  656. {app-rn-runtime → package}/components/input/rating/rating.props.js +0 -0
  657. {app-rn-runtime → package}/components/input/rating/rating.props.js.map +0 -0
  658. {app-rn-runtime → package}/components/input/rating/rating.styles.js +0 -0
  659. {app-rn-runtime → package}/components/input/rating/rating.styles.js.map +0 -0
  660. {app-rn-runtime → package}/components/input/select/select.component.js +0 -0
  661. {app-rn-runtime → package}/components/input/select/select.component.js.map +0 -0
  662. {app-rn-runtime → package}/components/input/select/select.props.js +0 -0
  663. {app-rn-runtime → package}/components/input/select/select.props.js.map +0 -0
  664. {app-rn-runtime → package}/components/input/select/select.styles.js +0 -0
  665. {app-rn-runtime → package}/components/input/select/select.styles.js.map +0 -0
  666. {app-rn-runtime → package}/components/input/slider/slider.component.js +0 -0
  667. {app-rn-runtime → package}/components/input/slider/slider.component.js.map +0 -0
  668. {app-rn-runtime → package}/components/input/slider/slider.props.js +0 -0
  669. {app-rn-runtime → package}/components/input/slider/slider.props.js.map +0 -0
  670. {app-rn-runtime → package}/components/input/switch/switch.props.js +0 -0
  671. {app-rn-runtime → package}/components/input/switch/switch.props.js.map +0 -0
  672. {app-rn-runtime → package}/components/input/toggle/toggle.props.js +0 -0
  673. {app-rn-runtime → package}/components/input/toggle/toggle.props.js.map +0 -0
  674. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js +0 -0
  675. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js.map +0 -0
  676. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js +0 -0
  677. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js.map +0 -0
  678. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js +0 -0
  679. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js.map +0 -0
  680. {app-rn-runtime → package}/components/navigation/menu/menu.component.js +0 -0
  681. {app-rn-runtime → package}/components/navigation/menu/menu.component.js.map +0 -0
  682. {app-rn-runtime → package}/components/navigation/menu/menu.props.js +0 -0
  683. {app-rn-runtime → package}/components/navigation/menu/menu.props.js.map +0 -0
  684. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js +0 -0
  685. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js.map +0 -0
  686. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js +0 -0
  687. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js.map +0 -0
  688. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js +0 -0
  689. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js.map +0 -0
  690. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js +0 -0
  691. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js.map +0 -0
  692. {app-rn-runtime → package}/components/navigation/navitem/navitem.component.js +0 -0
  693. {app-rn-runtime → package}/components/navigation/navitem/navitem.component.js.map +0 -0
  694. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js +0 -0
  695. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js.map +0 -0
  696. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js +0 -0
  697. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js.map +0 -0
  698. {app-rn-runtime → package}/components/navigation/popover/popover.component.js +0 -0
  699. {app-rn-runtime → package}/components/navigation/popover/popover.component.js.map +0 -0
  700. {app-rn-runtime → package}/components/navigation/popover/popover.props.js +0 -0
  701. {app-rn-runtime → package}/components/navigation/popover/popover.props.js.map +0 -0
  702. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js +0 -0
  703. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js.map +0 -0
  704. {app-rn-runtime → package}/components/page/content/content.component.js +0 -0
  705. {app-rn-runtime → package}/components/page/content/content.component.js.map +0 -0
  706. {app-rn-runtime → package}/components/page/content/content.props.js +0 -0
  707. {app-rn-runtime → package}/components/page/content/content.props.js.map +0 -0
  708. {app-rn-runtime → package}/components/page/content/content.styles.js +0 -0
  709. {app-rn-runtime → package}/components/page/content/content.styles.js.map +0 -0
  710. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js +0 -0
  711. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js.map +0 -0
  712. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js +0 -0
  713. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js.map +0 -0
  714. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js +0 -0
  715. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js.map +0 -0
  716. {app-rn-runtime → package}/components/page/page-content/page-content.component.js +0 -0
  717. {app-rn-runtime → package}/components/page/page-content/page-content.component.js.map +0 -0
  718. {app-rn-runtime → package}/components/page/page-content/page-content.props.js +0 -0
  719. {app-rn-runtime → package}/components/page/page-content/page-content.props.js.map +0 -0
  720. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js +0 -0
  721. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js.map +0 -0
  722. {app-rn-runtime → package}/components/page/page.component.js +0 -0
  723. {app-rn-runtime → package}/components/page/page.component.js.map +0 -0
  724. {app-rn-runtime → package}/components/page/page.props.js +0 -0
  725. {app-rn-runtime → package}/components/page/page.props.js.map +0 -0
  726. {app-rn-runtime → package}/components/page/page.styles.js +0 -0
  727. {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
  728. {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
  729. {app-rn-runtime → package}/components/page/partial/partial.component.js.map +0 -0
  730. {app-rn-runtime → package}/components/page/partial/partial.props.js +0 -0
  731. {app-rn-runtime → package}/components/page/partial/partial.props.js.map +0 -0
  732. {app-rn-runtime → package}/components/page/partial/partial.styles.js +0 -0
  733. {app-rn-runtime → package}/components/page/partial/partial.styles.js.map +0 -0
  734. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js +0 -0
  735. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js.map +0 -0
  736. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js +0 -0
  737. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js.map +0 -0
  738. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js +0 -0
  739. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js.map +0 -0
  740. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js +0 -0
  741. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js.map +0 -0
  742. {app-rn-runtime → package}/components/prefab/prefab-container.component.js +0 -0
  743. {app-rn-runtime → package}/components/prefab/prefab-container.component.js.map +0 -0
  744. {app-rn-runtime → package}/components/prefab/prefab-container.props.js +0 -0
  745. {app-rn-runtime → package}/components/prefab/prefab-container.props.js.map +0 -0
  746. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js +0 -0
  747. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js.map +0 -0
  748. {app-rn-runtime → package}/core/AppConfig.js +0 -0
  749. {app-rn-runtime → package}/core/AppConfig.js.map +0 -0
  750. {app-rn-runtime → package}/core/asset.provider.js +0 -0
  751. {app-rn-runtime → package}/core/asset.provider.js.map +0 -0
  752. {app-rn-runtime → package}/core/constant.service.js +0 -0
  753. {app-rn-runtime → package}/core/constant.service.js.map +0 -0
  754. {app-rn-runtime → package}/core/constants/currency-constants.js +0 -0
  755. {app-rn-runtime → package}/core/constants/currency-constants.js.map +0 -0
  756. {app-rn-runtime → package}/core/currency-constants.js +0 -0
  757. {app-rn-runtime → package}/core/currency-constants.js.map +0 -0
  758. {app-rn-runtime → package}/core/device/calendar-service.js +0 -0
  759. {app-rn-runtime → package}/core/device/calendar-service.js.map +0 -0
  760. {app-rn-runtime → package}/core/device/camera-service.js +0 -0
  761. {app-rn-runtime → package}/core/device/camera-service.js.map +0 -0
  762. {app-rn-runtime → package}/core/device/contacts-service.js +0 -0
  763. {app-rn-runtime → package}/core/device/contacts-service.js.map +0 -0
  764. {app-rn-runtime → package}/core/device/location-service.js +0 -0
  765. {app-rn-runtime → package}/core/device/location-service.js.map +0 -0
  766. {app-rn-runtime → package}/core/device/scan-service.js +0 -0
  767. {app-rn-runtime → package}/core/device/scan-service.js.map +0 -0
  768. {app-rn-runtime → package}/core/display.manager.js +0 -0
  769. {app-rn-runtime → package}/core/display.manager.js.map +0 -0
  770. {app-rn-runtime → package}/core/event-notifier.js +0 -0
  771. {app-rn-runtime → package}/core/event-notifier.js.map +0 -0
  772. {app-rn-runtime → package}/core/file-extension-types.js +0 -0
  773. {app-rn-runtime → package}/core/file-extension-types.js.map +0 -0
  774. {app-rn-runtime → package}/core/fixed-view.component.js +0 -0
  775. {app-rn-runtime → package}/core/fixed-view.component.js.map +0 -0
  776. {app-rn-runtime → package}/core/formatters.js +0 -0
  777. {app-rn-runtime → package}/core/formatters.js.map +0 -0
  778. {app-rn-runtime → package}/core/i18n.service.js +0 -0
  779. {app-rn-runtime → package}/core/i18n.service.js.map +0 -0
  780. {app-rn-runtime → package}/core/if.component.js +0 -0
  781. {app-rn-runtime → package}/core/if.component.js.map +0 -0
  782. {app-rn-runtime → package}/core/imageSizeEstimator.js +0 -0
  783. {app-rn-runtime → package}/core/imageSizeEstimator.js.map +0 -0
  784. {app-rn-runtime → package}/core/injector.js +0 -0
  785. {app-rn-runtime → package}/core/injector.js.map +0 -0
  786. {app-rn-runtime → package}/core/key.extractor.js +0 -0
  787. {app-rn-runtime → package}/core/key.extractor.js.map +0 -0
  788. {app-rn-runtime → package}/core/logger.js +0 -0
  789. {app-rn-runtime → package}/core/logger.js.map +0 -0
  790. {app-rn-runtime → package}/core/modal.service.js +0 -0
  791. {app-rn-runtime → package}/core/modal.service.js.map +0 -0
  792. {app-rn-runtime → package}/core/navigation.service.js +0 -0
  793. {app-rn-runtime → package}/core/navigation.service.js.map +0 -0
  794. {app-rn-runtime → package}/core/network.service.js +0 -0
  795. {app-rn-runtime → package}/core/network.service.js.map +0 -0
  796. {app-rn-runtime → package}/core/partial.service.js +0 -0
  797. {app-rn-runtime → package}/core/partial.service.js.map +0 -0
  798. {app-rn-runtime → package}/core/props.provider.js +0 -0
  799. {app-rn-runtime → package}/core/props.provider.js.map +0 -0
  800. {app-rn-runtime → package}/core/scroll-view.component.js +0 -0
  801. {app-rn-runtime → package}/core/scroll-view.component.js.map +0 -0
  802. {app-rn-runtime → package}/core/security.service.js +0 -0
  803. {app-rn-runtime → package}/core/security.service.js.map +0 -0
  804. {app-rn-runtime → package}/core/spinner.service.js +0 -0
  805. {app-rn-runtime → package}/core/spinner.service.js.map +0 -0
  806. {app-rn-runtime → package}/core/storage.service.js +0 -0
  807. {app-rn-runtime → package}/core/storage.service.js.map +0 -0
  808. {app-rn-runtime → package}/core/testid.provider.js +0 -0
  809. {app-rn-runtime → package}/core/testid.provider.js.map +0 -0
  810. {app-rn-runtime → package}/core/toast.service.js +0 -0
  811. {app-rn-runtime → package}/core/toast.service.js.map +0 -0
  812. {app-rn-runtime → package}/core/utils.js +0 -0
  813. {app-rn-runtime → package}/core/utils.js.map +0 -0
  814. {app-rn-runtime → package}/core/viewport.js +0 -0
  815. {app-rn-runtime → package}/core/viewport.js.map +0 -0
  816. {app-rn-runtime → package}/gestures/swipe.animation.js +0 -0
  817. {app-rn-runtime → package}/gestures/swipe.animation.js.map +0 -0
  818. {app-rn-runtime → package}/index.js +0 -0
  819. {app-rn-runtime → package}/index.js.map +0 -0
  820. {app-rn-runtime → package}/runtime/App.js +0 -0
  821. {app-rn-runtime → package}/runtime/App.js.map +0 -0
  822. {app-rn-runtime → package}/runtime/App.navigator.js +0 -0
  823. {app-rn-runtime → package}/runtime/App.navigator.js.map +0 -0
  824. {app-rn-runtime → package}/runtime/base-fragment.component.js +0 -0
  825. {app-rn-runtime → package}/runtime/base-fragment.component.js.map +0 -0
  826. {app-rn-runtime → package}/runtime/base-page.component.js +0 -0
  827. {app-rn-runtime → package}/runtime/base-page.component.js.map +0 -0
  828. {app-rn-runtime → package}/runtime/base-partial.component.js +0 -0
  829. {app-rn-runtime → package}/runtime/base-partial.component.js.map +0 -0
  830. {app-rn-runtime → package}/runtime/base-prefab.component.js +0 -0
  831. {app-rn-runtime → package}/runtime/base-prefab.component.js.map +0 -0
  832. {app-rn-runtime → package}/runtime/lib-patch.js +0 -0
  833. {app-rn-runtime → package}/runtime/lib-patch.js.map +0 -0
  834. {app-rn-runtime → package}/runtime/memo.component.js +0 -0
  835. {app-rn-runtime → package}/runtime/memo.component.js.map +0 -0
  836. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js +0 -0
  837. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js.map +0 -0
  838. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js +0 -0
  839. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js.map +0 -0
  840. {app-rn-runtime → package}/runtime/platform.api.js +0 -0
  841. {app-rn-runtime → package}/runtime/platform.api.js.map +0 -0
  842. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js +0 -0
  843. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js.map +0 -0
  844. {app-rn-runtime → package}/runtime/services/app-i18n.service.js +0 -0
  845. {app-rn-runtime → package}/runtime/services/app-i18n.service.js.map +0 -0
  846. {app-rn-runtime → package}/runtime/services/app-modal.service.js +0 -0
  847. {app-rn-runtime → package}/runtime/services/app-modal.service.js.map +0 -0
  848. {app-rn-runtime → package}/runtime/services/app-security.service.js +0 -0
  849. {app-rn-runtime → package}/runtime/services/app-security.service.js.map +0 -0
  850. {app-rn-runtime → package}/runtime/services/app-spinner.service.js +0 -0
  851. {app-rn-runtime → package}/runtime/services/app-spinner.service.js.map +0 -0
  852. {app-rn-runtime → package}/runtime/services/app-toast.service.js +0 -0
  853. {app-rn-runtime → package}/runtime/services/app-toast.service.js.map +0 -0
  854. {app-rn-runtime → package}/runtime/services/device/calendar-service.js +0 -0
  855. {app-rn-runtime → package}/runtime/services/device/calendar-service.js.map +0 -0
  856. {app-rn-runtime → package}/runtime/services/device/camera-service.js +0 -0
  857. {app-rn-runtime → package}/runtime/services/device/camera-service.js.map +0 -0
  858. {app-rn-runtime → package}/runtime/services/device/contacts-service.js +0 -0
  859. {app-rn-runtime → package}/runtime/services/device/contacts-service.js.map +0 -0
  860. {app-rn-runtime → package}/runtime/services/device/location-service.js +0 -0
  861. {app-rn-runtime → package}/runtime/services/device/location-service.js.map +0 -0
  862. {app-rn-runtime → package}/runtime/services/device/permissions.js +0 -0
  863. {app-rn-runtime → package}/runtime/services/device/permissions.js.map +0 -0
  864. {app-rn-runtime → package}/runtime/services/device/scan-service.js +0 -0
  865. {app-rn-runtime → package}/runtime/services/device/scan-service.js.map +0 -0
  866. {app-rn-runtime → package}/runtime/services/partial.service.js +0 -0
  867. {app-rn-runtime → package}/runtime/services/partial.service.js.map +0 -0
  868. {app-rn-runtime → package}/runtime/watcher.js +0 -0
  869. {app-rn-runtime → package}/runtime/watcher.js.map +0 -0
  870. {app-rn-runtime → package}/styles/MediaQueryList.js +0 -0
  871. {app-rn-runtime → package}/styles/MediaQueryList.js.map +0 -0
  872. {app-rn-runtime → package}/styles/background.component.js +0 -0
  873. {app-rn-runtime → package}/styles/background.component.js.map +0 -0
  874. {app-rn-runtime → package}/styles/style-prop.validator.js +0 -0
  875. {app-rn-runtime → package}/styles/style-prop.validator.js.map +0 -0
  876. {app-rn-runtime → package}/styles/style-props.js +0 -0
  877. {app-rn-runtime → package}/styles/style-props.js.map +0 -0
  878. {app-rn-runtime → package}/variables/base-variable.js +0 -0
  879. {app-rn-runtime → package}/variables/base-variable.js.map +0 -0
  880. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js +0 -0
  881. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js.map +0 -0
  882. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js +0 -0
  883. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js.map +0 -0
  884. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js +0 -0
  885. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js.map +0 -0
  886. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js +0 -0
  887. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js.map +0 -0
  888. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js +0 -0
  889. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js.map +0 -0
  890. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js +0 -0
  891. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js.map +0 -0
  892. {app-rn-runtime → package}/variables/device/device/app-info.operation.js +0 -0
  893. {app-rn-runtime → package}/variables/device/device/app-info.operation.js.map +0 -0
  894. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js +0 -0
  895. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js.map +0 -0
  896. {app-rn-runtime → package}/variables/device/device/device-info.operation.js +0 -0
  897. {app-rn-runtime → package}/variables/device/device/device-info.operation.js.map +0 -0
  898. {app-rn-runtime → package}/variables/device/device/network-info.operation.js +0 -0
  899. {app-rn-runtime → package}/variables/device/device/network-info.operation.js.map +0 -0
  900. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js +0 -0
  901. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js.map +0 -0
  902. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js +0 -0
  903. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js.map +0 -0
  904. {app-rn-runtime → package}/variables/device/operation.provider.js +0 -0
  905. {app-rn-runtime → package}/variables/device/operation.provider.js.map +0 -0
  906. {app-rn-runtime → package}/variables/device/scan/scan.operation.js +0 -0
  907. {app-rn-runtime → package}/variables/device/scan/scan.operation.js.map +0 -0
  908. {app-rn-runtime → package}/variables/device-variable.js +0 -0
  909. {app-rn-runtime → package}/variables/device-variable.js.map +0 -0
  910. {app-rn-runtime → package}/variables/http.service.js +0 -0
  911. {app-rn-runtime → package}/variables/http.service.js.map +0 -0
  912. {app-rn-runtime → package}/variables/live-variable.js +0 -0
  913. {app-rn-runtime → package}/variables/live-variable.js.map +0 -0
  914. {app-rn-runtime → package}/variables/service-variable.js +0 -0
  915. {app-rn-runtime → package}/variables/service-variable.js.map +0 -0
  916. {app-rn-runtime → package}/variables/utils/dataset-util.js +0 -0
  917. {app-rn-runtime → package}/variables/utils/dataset-util.js.map +0 -0
  918. {app-rn-runtime → package}/variables/utils/inflight-queue.js +0 -0
  919. {app-rn-runtime → package}/variables/utils/inflight-queue.js.map +0 -0
  920. {app-rn-runtime → package}/variables/utils/variable.constants.js +0 -0
  921. {app-rn-runtime → package}/variables/utils/variable.constants.js.map +0 -0
  922. {app-rn-runtime → package}/variables/utils/variable.utils.js +0 -0
  923. {app-rn-runtime → package}/variables/utils/variable.utils.js.map +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Color","Dimensions","StatusBar","ThemeVariables","constructor","_defineProperty","primaryColor","lighten","rgb","toString","defaultColorF","defaultColor","defaultColorA","get","height","currentHeight","width","defaultColorE","defaultColor3","primaryContrastColor","defaultColorC","fade","widgetBorderColor","navitemActiveTextColor","defaultTextColor","secondaryColor","successColor","infoColor","warningColor","dangerColor","lightColor","darkColor","widgetBgColor","widgetHeaderBgColor","widgetHeaderTextColor","transparent","tabContentBgColor","defaultColor8","dangerContrastColor","infoContrastColor","successContrastColor","warningContrastColor","muteColor","defaultColor6","badgeColor","badgeContrastColor","defaultColorD","defaultColorB","defaultColor4","defaultColor1","popoverBackgroundColor","listTitleColor","listSubTitleColor","widgetActiveHeaderBgColor","widgetActiveHeaderTextColor","primaryColor1","primaryColor2","primaryColor3","defaultColor9","defaultColor2","defaultColor7","defaultColor5","networkToastTextColor","_class"],"sources":["theme.variables.ts"],"sourcesContent":["import Color, { rgb } from \"color\";\nimport { Dimensions, StatusBar } from \"react-native\";\n\nexport default class ThemeVariables {\n \n primaryColor = '#4263eb';\n primaryColor1 = Color(this.primaryColor).lighten(0.2).rgb().toString();\n primaryColor2 = Color(this.primaryColor).lighten(0.4).rgb().toString();\n primaryColor3 = Color(this.primaryColor).lighten(0.6).rgb().toString();\n primaryContrastColor = '#ffffff';\n secondaryColor = '#6c757d';\n secondaryContrastColor = '#ffffff';\n successColor = '#28a745';\n successContrastColor = '#ffffff';\n infoColor = '#17a2b8';\n infoContrastColor = '#ffffff';\n warningColor = '#ffc107';\n warningContrastColor = '#ffffff';\n dangerColor = '#dc3545';\n dangerContrastColor = '#ffffff';\n defaultColor = '#000000';\n defaultColor1 = '#111111';\n defaultColor2 = '#222222';\n defaultColor3 = '#333333';\n defaultColor4 = '#444444';\n defaultColor5 = '#555555';\n defaultColor6 = '#666666';\n defaultColor7 = '#777777';\n defaultColor8 = '#888888';\n defaultColor9 = '#999999';\n defaultColorA = '#aaaaaa';\n defaultColorB = '#bbbbbb';\n defaultColorC = '#cccccc';\n defaultColorD = '#dddddd';\n defaultColorE = '#eeeeee';\n defaultColorF = '#ffffff';\n defaultBgColor = this.defaultColorF;\n defaultTextColor = '#151420';\n lightColor = this.defaultColorF;\n darkColor = this.defaultColor;\n muteColor = this.defaultColorA;\n heading1FontSize = 36;\n heading2FontSize = 30;\n heading3FontSize = 24;\n heading4FontSize = 18;\n heading5FontSize = 14;\n heading6FontSize = 12;\n transparent = 'transparent';\n badgeColor = '#6c757d';\n badgeContrastColor = '#ffffff';\n baseFont = 'Roboto';\n maxModalHeight = Dimensions.get('window').height - 64 - (StatusBar.currentHeight || 0);\n maxWidth = Dimensions.get(\"window\").width; \n\n // page\n pageContentBgColor = this.defaultColorE;\n\n // common widget color\n widgetHeaderBgColor = this.defaultColorF;\n widgetHeaderTextColor = this.defaultColor3;\n widgetActiveHeaderBgColor = this.primaryColor;\n widgetActiveHeaderTextColor = this.primaryContrastColor;\n widgetBorderColor = this.defaultColorC;\n widgetBgColor = this.defaultColorF;\n\n //App Navbar\n titleBadgeBackgroundColor = Color('#151420').fade(0.8).rgb().toString();\n titleBadgeTextColor = '#151420';\n\n // Navbar variables\n navbarBackgroundColor = this.defaultColorF;\n navbarBorderColor = this.widgetBorderColor;\n navbarTextColor = '#151420';\n navbarIconSize = 32;\n navbarFontSize = 24;\n navbarImageSize = 32;\n navbarCaretColor = this.primaryColor;\n navitemChildBackgroundColor = this.primaryContrastColor;\n navitemChildTextColor = this.primaryColor;\n navitemChildIconColor = this.primaryColor;\n navitemActiveBackgroundColor = this.primaryColor;\n navitemActiveTextColor = this.primaryContrastColor;\n navitemActiveIconColor = this.navitemActiveTextColor;\n\n //Anchor variables\n linkDefaultColor = this.defaultTextColor;\n linkPrimaryColor = this.primaryColor;\n linkSecondaryColor = this.secondaryColor;\n linkSuccessColor = this.successColor;\n linkInfoColor = this.infoColor;\n linkWarningColor = this.warningColor;\n linkDangerColor = this.dangerColor;\n linkLightColor = this.lightColor;\n linkDarkColor = this.darkColor;\n anchorTextPadding = 2;\n\n //Grid Layout variables\n layoutGridBgColor = this.widgetBgColor;\n layoutGridBorderColor = this.widgetBorderColor;\n layoutGridStripColor1 = Color(this.primaryColor).lighten(0.9).rgb().toString();\n layoutGridHeaderBgColor = this.widgetHeaderBgColor;\n layoutGridHeaderTextColor = this.widgetHeaderTextColor;\n layoutGridStripColor2 = this.transparent;\n gridColumnBorderColor = this.widgetBorderColor;\n\n //Spinner Variables\n spinnerIconColor = this.primaryColor;\n\n //tabbar variables\n tabbarBackgroundColor = this.primaryContrastColor;\n tabbarTextColor = this.primaryColor;\n tabbarIconColor = this.primaryColor;\n centerHubItemColor = '@primaryColor';\n centerHubIconColor = '@defaultColorF';\n centerHubLabelColor = '@defaultColorF';\n\n // tab variables\n tabHeaderBgColor = this.widgetBgColor;\n tabHeaderTextColor = this.defaultColorA;\n tabHeaderIconColor = this.defaultColorA;\n tabActiveHeaderBgColor = this.defaultColorF;\n tabActiveHeaderTextColor = this.primaryColor;\n tabActiveIndicatorBgColor = this.primaryColor;\n tabActiveHeaderIconColor = this.primaryColor;\n tabBorderColor = this.widgetBorderColor;\n tabContentBgColor = this.widgetBgColor;\n tabArrowIndicatorBgColor = this.tabContentBgColor;\n tabArrowIndicatorDotColor = this.primaryColor;\n\n //label Variables\n labelHeaderColor = '#151420';\n labelDefaultColor = this.defaultColor8;\n labelDefaultContrastColor = this.defaultColorF;\n labelDangerColor = this.dangerColor;\n labelDangerContrastColor = this.dangerContrastColor;\n labelInfoColor = this.infoColor;\n labelInfoContrastColor = this.infoContrastColor;\n labelPrimaryColor = this.primaryColor;\n labelPrimaryContrastColor = this.primaryContrastColor;\n labelSuccessColor = this.successColor;\n labelSuccessContrastColor = this.successContrastColor;\n labelWarningColor = this.warningColor;\n labelWarningContrastColor = this.warningContrastColor;\n labelTextSuccessColor = this.successColor;\n labelTextDangerColor = this.dangerColor;\n labelTextInfoColor = this.infoColor;\n labelTextMutedColor = this.muteColor;\n labelTextPrimaryColor = this.primaryColor;\n labelTextWarningColor = this.warningColor;\n labelAsteriskColor = this.dangerColor;\n\n //List\n listHeaderBgColor = this.widgetHeaderBgColor;\n listTitleColor = this.widgetHeaderTextColor;\n listSubTitleColor = this.defaultColor6;\n listDividerColor = this.widgetBorderColor;\n itemBgColor = this.defaultColorF;\n selectedItemBorderColor = this.primaryColor;\n\n //button Variables\n buttonBorderColor = this.widgetBorderColor;\n buttonBadgeBackgroundColor = this.badgeColor;\n buttonBadgeTextColor = this.badgeContrastColor;\n buttonTextPadding = 2;\n buttonSuccessColor = this.successColor;\n buttonDefaultColor = this.defaultColorF;\n buttonPrimaryColor = this.primaryColor;\n buttonSecondaryColor = this.defaultColorF;\n buttonDangerColor = this.dangerColor;\n buttonWarningColor = this.warningColor;\n buttonInfoColor = this.infoColor;\n buttonSuccessTextColor = this.successContrastColor;\n buttonDefaultTextColor = this.defaultTextColor;\n buttonPrimaryTextColor = this.primaryContrastColor;\n buttonSecondaryTextColor = this.primaryColor;\n buttonDangerTextColor = this.dangerContrastColor;\n buttonWarningTextColor = this.warningContrastColor;\n buttonInfoTextColor = this.infoContrastColor;\n buttonLinkColor = this.transparent;\n buttonLinkTextColor = this.primaryColor;\n buttonDarkColor = this.darkColor;\n buttonDarkTextColor = this.lightColor;\n buttonLightColor = this.lightColor;\n buttonLightTextColor = this.darkColor;\n buttonGrpBorderColor = this.widgetBorderColor;\n buttonGrpBgColor = this.defaultColorF;\n\n //picture variables\n pictureThumbBgColor = this.defaultColorF;\n pictureThumbBorderColor = this.defaultColorD;\n\n //input variables\n inputTextColor = this.defaultTextColor;\n inputBorderColor = this.defaultColorD;\n inputBackgroundColor = this.defaultColorF;\n inputDisabledBgColor = '#f6f6f6';\n inputFocusBorderColor = this.primaryColor;\n inputInvalidBorderColor = this.dangerColor;\n inputPlaceholderColor = this.defaultColorB;\n\n //floating label\n floatingLabelColor = '@inputPlaceholderColor';\n activeFloatingLabelColor = '@primaryColor';\n\n //slider variables\n minimumTrackTintColor = this.primaryColor;\n maximumTrackTintColor = this.widgetHeaderBgColor;\n thumbTintColor = this.primaryColor;\n\n //rating color\n ratingIconColor = this.defaultColorA;\n ratingSelectedIconColor = '#eb8600';\n\n //toggle variables\n toggleOnColor = Color(this.primaryColor).lighten(0.4).rgb().toString();\n toggleOffColor = this.defaultColorB;\n toggleHandleColor = this.primaryColor;\n toggleHandleDisableColor = this.defaultColorA;\n toggleOffBorderColor = this.defaultColorB;\n toggleUnselectedTrackbgColor = this.defaultColorC;\n\n // radioset, checkboxset variables\n groupHeadingBgColor = '@transparent';\n checkedColor = '@primaryColor';\n checkedDisabledColor = '@defaultColorA';\n checkedEnabledColor = '@defaultColorF';\n checkboxBorderColor = '@defaultColor9';\n checkedBgColor = '@primaryColor';\n uncheckedBgColor = '@transparent';\n checkedIconColor = '@defaultColorF';\n checkedBorderColor = '@primaryColor';\n uncheckedBorderColor = '@defaultColor9';\n \n //form\n formBorderColor = this.widgetBorderColor;\n formTitleColor = this.defaultTextColor;\n formSubTitleColor = this.defaultColor6;\n\n //dialog\n dialogBackgroundColor = this.widgetBgColor;\n dialogBorderColor = this.widgetBorderColor;\n dialogCloseIconColor = this.defaultColorA;\n dialogLabelColor = this.defaultColor3;\n dialogIconColor = this.defaultColor4;\n dialogSupportingTextColor = this.defaultColor1;\n\n //alert dialog\n alertMessageColor = this.defaultColor8;\n\n badgeTextColor = this.defaultColorF;\n\n //popover\n popoverBackgroundColor = this.defaultColorF;\n popoverTitleBackgroundColor = this.defaultColorD;\n popoverTitleColor = this.defaultColor1;\n\n //menu\n menuIconColor = this.defaultColor6;\n menuTextColor = this.defaultColor6;\n menuBackgroundColor = this.popoverBackgroundColor;\n menuItemBorderColor = this.widgetBorderColor;\n menuItemIconColor = this.defaultColor6;\n menuItemTextColor = this.defaultColor6;\n\n //tile Variables\n tileDangerColor = this.dangerColor;\n tileInfoColor = this.infoColor;\n tilePrimaryColor = this.primaryColor;\n tileSuccessColor = this.successColor;\n tileWarningColor = this.warningColor;\n tileWellbgColor = this.defaultColorF;\n tileWellBorderColor = this.defaultColorE;\n tilePrimaryTextColor = this.primaryContrastColor;\n\n //switch\n switchBgColor = this.widgetBgColor;\n switchTextColor = this.defaultTextColor;\n switchActiveBgColor = this.primaryColor;\n switchActiveTextColor = this.primaryContrastColor;\n switchBorderColor = this.widgetBorderColor;\n\n //message\n messageSuccessColor = this.successColor;\n messageErrorColor = this.dangerColor;\n messageWarningColor = this.warningColor;\n messageInfoColor = this.infoColor;\n messageLoadingColor = this.infoColor;\n\n //panel\n panelBgColor = this.widgetBgColor;\n panelHeaderBgColor = this.widgetHeaderBgColor;\n panelHeaderTextColor = this.widgetHeaderTextColor;\n panelFooterColor = this.defaultColorD;\n panelBorderColor = this.widgetBorderColor;\n panelDangerColor = this.dangerColor;\n panelDefaultColor = this.defaultColor;\n panelInfoColor = this.infoColor;\n panelPrimaryColor = this.primaryColor;\n panelSuccessColor = this.successColor;\n panelWarningColor = this.warningColor;\n panelTextColor = this.defaultColorF;\n\n //card\n cardHeaderBgColor = this.defaultColorD;\n cardBgColor = this.widgetBgColor;\n cardTitleColor = this.listTitleColor;\n cardShadowColor = this.defaultColor;\n cardSubTitleColor = this.listSubTitleColor;\n cardBorderColor = this.defaultColorD;\n cardContentBgColor = this.defaultColorF;\n cardFooterBgColor = this.defaultColorF;\n cardFooterBorderColor = this.defaultColorD;\n\n //progress bar\n progressBarDefaultColor = this.primaryColor;\n progressBarTrackColor = this.defaultColorD;\n progressBarSuccessColor = this.successColor;\n progressBarDangerColor = this.dangerColor;\n progressBarInfoColor = this.infoColor;\n progressBarWarningColor = this.warningColor;\n\n //progress circle\n progressCircleDefaultColor = this.primaryColor;\n progressCircleSuccessColor = this.successColor;\n progressCircleDangerColor = this.dangerColor;\n progressCircleInfoColor = this.infoColor;\n progressCircleWarningColor = this.warningColor;\n\n //container\n containerOutlineColor = this.defaultColorC;\n\n //accordion\n accordionBgColor = this.widgetBgColor;\n accordionTitleColor = this.widgetHeaderTextColor;\n accordionHeaderBgColor = this.defaultColorF;\n accordionIconColor= this.defaultColorB;\n accordionActiveIconColor= this.defaultColorF;\n accordionActiveHeaderBgColor = this.widgetActiveHeaderBgColor;\n accordionActiveHeaderTextColor = this.widgetActiveHeaderTextColor;\n accordionBorderColor = this.defaultColorE;\n accordionPaneBgColor = this.defaultColorF;\n\n //carousel\n carouselPrevBtnColor=this.defaultColorF;\n carouselPrevBgColor=Color(this.defaultColorF).fade(0.6).rgb().toString();\n carouselNextBtnColor=this.defaultColorF;\n carouselNextBgColor=Color(this.defaultColorF).fade(0.6).rgb().toString();\n carouselDotWrapperBgColor=this.transparent;\n carouselDotColor=this.defaultColorF;\n carouselActiveDotColor=this.defaultColorF;\n\n //calendar\n calendarBgColor = this.defaultColorF;\n calendarHeaderBgColor = this.defaultColorF;\n calendarHeaderTextColor = this.defaultTextColor;\n calendarWeekDayTextColor = this.defaultColorA;\n calendarDateColor = this.defaultColor;\n calendarNotCurrentMonthDateColor = this.defaultColor6;\n calendarHeaderColor = this.defaultColorF;\n calendarPrevYearIconColor = this.defaultColorA;\n calendarNextYearIconColor = this.defaultColorA;\n calendarPrevMonthIconColor = this.defaultColorA;\n calendarNextMonthIconColor = this.defaultColorA;\n calendarDayBgColor = this.defaultColor;\n calendarSelectedDayBgColor = this.primaryColor;\n calendarSelectedDayTextColor = this.defaultColorF;\n calendarTodayBgColor = this.defaultColorE;\n calendarEventDay1Color = this.primaryColor1;\n calendarEventDay2Color = this.primaryColor2;\n calendarEventDay3Color = this.primaryColor3;\n\n //date picker\n datepickerBgColor = this.defaultColorF;\n\n //wizard\n wizardBackgroundColor = this.widgetBgColor;\n wizardStepActiveColor = this.primaryColor;\n wizardStepDoneColor = this.successColor;\n wizardStepDoneTextColor = this.defaultColorF;\n wizardStepIconColor = this.defaultColor9;\n wizardStepColor = this.defaultColor9;\n wizardActiveStepColor = this.defaultColorF;\n wizardDoneStepColor = this.defaultColorF;\n wizardStepTitleColor = this.defaultColorA;\n wizardNextBtnColor= this.primaryColor;\n wizardDoneBtnColor = this.successColor;\n wizardStepConnectorColor = this.defaultColorE;\n wizardStepCounerColor = this.defaultColor9;\n wizardBorderColor = this.widgetBorderColor;\n\n //Search\n searchBorderColor = this.defaultColorD;\n searchButtonColor = this.primaryColor;\n searchButtonTextColor = this.primaryContrastColor;\n searchItemBorderColor = this.defaultColorD;\n searchItemTextColor = this.defaultColor6;\n searchDropdownBackgroundColor = this.defaultColorF;\n searchDataCompleteItemBgColor = this.defaultColorE;\n searchBgContainerColor = this.defaultColorD;\n //Select\n selectBorderColor = this.defaultColorD;\n selecttemBorderColor = this.defaultColorD;\n selectItemTextColor = this.defaultColor6;\n selectDropdownBackgroundColor = this.defaultColorF;\n\n //Chip\n chipActiveTextColor = this.defaultColorF;\n chipDefaultTextColor = this.defaultColorA;\n chipborderColor = this.defaultColorD;\n chipContainerColor = this.defaultColor2; \n chipIconColor = this.primaryColor;\n chipSelectedOutlineColor = this.defaultColor6;\n chipSelectedContainerColor = this.defaultColor7;\n //Login\n loginErrorMsgColor = this.dangerContrastColor;\n loginErrorMsgBgColor = this.dangerColor;\n loginErrorMsgBorderColor = this.dangerColor;\n\n //camera\n cameraBgColor = this.defaultColorF;\n cameraBorderColor = this.widgetBorderColor;\n cameraTextColor = this.defaultTextColor;\n\n //barcode-scanner\n barcodeScannerBgColor = this.defaultColorF;\n barcodeScannerBorderColor = this.widgetBorderColor;\n barcodeScannerTextColor = this.defaultTextColor;\n\n //fileupload\n fileuploadBgColor = this.defaultColorF;\n fileuploadBorderColor = this.widgetBorderColor;\n fileuploadTextColor = this.defaultTextColor;\n\n //charts\n chartLabelColor = this.defaultTextColor;\n chartGraphLinesColor = this.defaultColorC;\n chartLineColor = this.defaultColor8;\n chartLegendBorder = this.defaultColor7;\n chartAxisColor = this.defaultColor5;\n chartAxisPointColor = this.defaultColor9;\n chartTitleColor = this.widgetHeaderTextColor;\n chartSubTitleColor = this.defaultColor6;\n\n // Network Toast\n networkToastBgColor = this.defaultColor3;\n networkToastTextColor = this.defaultColorF;\n networkToastActionTextColor = this.primaryColor;\n networkToastActionSeparatorColor = this.networkToastTextColor;\n\n // Skeleton\n skeletonBgColor = this.defaultColorE;\n skeletonAnimatedBgColor = this.defaultColorE;\n skeletonGradientBgColor = this.defaultColorF;\n skeletonGradientShadowColor = this.defaultColorF;\n skeletonGradientForegroundColor = this.transparent;\n\n // Audio\n audioPlayerBgColor = this.defaultColorF;\n audioPlayerFgColor = this.defaultColor3;\n\n //Tool tip\n tooltipBgColor = Color(\"#fff\").fade(0.6).rgb().toString();\n tooltipBorderColor = '#404040';\n static INSTANCE = new ThemeVariables();\n}"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAe,OAAO;AAClC,SAASC,UAAU,EAAEC,SAAS,QAAQ,cAAc;AAEpD,eAAe,MAAMC,cAAc,CAAC;EAAAC,YAAA;IAAAC,eAAA,uBAEjB,SAAS;IAAAA,eAAA,wBACRL,KAAK,CAAC,IAAI,CAACM,YAAY,CAAC,CAACC,OAAO,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;IAAAJ,eAAA,wBACtDL,KAAK,CAAC,IAAI,CAACM,YAAY,CAAC,CAACC,OAAO,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;IAAAJ,eAAA,wBACtDL,KAAK,CAAC,IAAI,CAACM,YAAY,CAAC,CAACC,OAAO,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;IAAAJ,eAAA,+BAC/C,SAAS;IAAAA,eAAA,yBACf,SAAS;IAAAA,eAAA,iCACD,SAAS;IAAAA,eAAA,uBACnB,SAAS;IAAAA,eAAA,+BACD,SAAS;IAAAA,eAAA,oBACpB,SAAS;IAAAA,eAAA,4BACD,SAAS;IAAAA,eAAA,uBACd,SAAS;IAAAA,eAAA,+BACD,SAAS;IAAAA,eAAA,sBAClB,SAAS;IAAAA,eAAA,8BACD,SAAS;IAAAA,eAAA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IAAA7B,eAAA,6BACvB,IAAI,CAACsC,aAAa;IAEvC;IAAAtC,eAAA,8BACsB,IAAI,CAACa,aAAa;IAAAb,eAAA,gCAChB,IAAI,CAACK,aAAa;IAAAL,eAAA,sCACZ,IAAI,CAACC,YAAY;IAAAD,eAAA,2CACZ,IAAI,CAACyD,qBAAqB;IAE7D;IAAAzD,eAAA,0BACkB,IAAI,CAACY,aAAa;IAAAZ,eAAA,kCACV,IAAI,CAACY,aAAa;IAAAZ,eAAA,kCAClB,IAAI,CAACK,aAAa;IAAAL,eAAA,sCACd,IAAI,CAACK,aAAa;IAAAL,eAAA,0CACd,IAAI,CAAC8B,WAAW;IAElD;IAAA9B,eAAA,6BACqB,IAAI,CAACK,aAAa;IAAAL,eAAA,6BAClB,IAAI,CAACa,aAAa;IAEvC;IAAAb,eAAA,yBACiBL,KAAK,CAAC,MAAM,CAAC,CAACqB,IAAI,CAAC,GAAG,CAAC,CAACb,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;IAAAJ,eAAA,6BACpC,SAAS;EAAA;AAElC;AAAC0D,MAAA,GA7coB5D,cAAc;AAAAE,eAAA,CAAdF,cAAc,cA4cb,IAAIA,MAAc,CAAC,CAAC"}
@@ -9,7 +9,8 @@ export class ModelVariable extends _ModelVariable {
9
9
  const variable = {
10
10
  name: config.name,
11
11
  dataSet: config.paramProvider(),
12
- isList: config.isList
12
+ isList: config.isList,
13
+ twoWayBinding: config.twoWayBinding
13
14
  };
14
15
  super(variable);
15
16
  _defineProperty(this, "config", void 0);
@@ -0,0 +1 @@
1
+ {"version":3,"names":["clone","isEqual","VariableEvents","ModelVariable","_ModelVariable","constructor","config","variable","name","dataSet","paramProvider","isList","twoWayBinding","_defineProperty","invoke","params","onSuccess","onError","result","notify","BEFORE_INVOKE","execute","SUCCESS","error","ERROR","AFTER_INVOKE","invokeOnParamChange","latest","lastParams","Promise","resolve"],"sources":["model-variable.ts"],"sourcesContent":["import { assignIn, clone, isEqual } from 'lodash-es';\nimport { BaseVariable, VariableConfig, VariableEvents } from './base-variable';\nimport { ModelVariable as _ModelVariable } from '@wavemaker/variables/src/model/variable/model-variable';\n\nexport class ModelVariable extends _ModelVariable {\n config: any;\n lastParams: any;\n\n constructor(config: VariableConfig) {\n const variable = {\n name: config.name,\n dataSet: config.paramProvider(),\n isList: config.isList,\n twoWayBinding: config.twoWayBinding\n }\n super(variable);\n this.config = config;\n this.invoke();\n }\n\n invoke(params?: any, onSuccess?: Function, onError?: Function) {\n let result;\n this.dataSet = this.config.paramProvider();\n this.notify(VariableEvents.BEFORE_INVOKE, [this, this.dataSet]);\n try{\n result = super.execute(params, ()=>{});\n this.config.onSuccess && this.config.onSuccess(this, this.dataSet);\n onSuccess && onSuccess(this, this.dataSet);\n this.notify(VariableEvents.SUCCESS, [this, this.dataSet]);\n }\n catch(error){\n this.config.onError && this.config.onError(this, this.dataSet);\n onError && onError(this, this.dataSet);\n this.notify(VariableEvents.ERROR, [this, this.dataSet]);\n }\n\n this.notify(VariableEvents.AFTER_INVOKE, [this, this.dataSet]);\n return result;\n }\n\n invokeOnParamChange() {\n const latest = this.config.paramProvider();\n if (!isEqual(this.lastParams, latest)) {\n this.invoke();\n this.lastParams = clone(latest);\n }\n return Promise.resolve(this);\n }\n}\n"],"mappings":";;;AAAA,SAAmBA,KAAK,EAAEC,OAAO,QAAQ,WAAW;AACpD,SAAuCC,cAAc,QAAQ,iBAAiB;AAC9E,SAASC,aAAa,IAAIC,cAAc,QAAQ,wDAAwD;AAExG,OAAO,MAAMD,aAAa,SAASC,cAAc,CAAC;EAIhDC,WAAWA,CAACC,MAAsB,EAAE;IAClC,MAAMC,QAAQ,GAAG;MACfC,IAAI,EAAEF,MAAM,CAACE,IAAI;MACjBC,OAAO,EAAEH,MAAM,CAACI,aAAa,CAAC,CAAC;MAC/BC,MAAM,EAAEL,MAAM,CAACK,MAAM;MACrBC,aAAa,EAAEN,MAAM,CAACM;IACxB,CAAC;IACD,KAAK,CAACL,QAAQ,C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AAA,EAAG;IACpB,MAAMC,MAAM,GAAG,IAAI,CAACrB,MAAM,CAACI,aAAa,CAAC,CAAC;IAC1C,IAAI,CAACT,OAAO,CAAC,IAAI,CAAC2B,UAAU,EAAED,MAAM,CAAC,EAAE;MACnC,IAAI,CAACb,MAAM,CAAC,CAAC;MACb,IAAI,CAACc,UAAU,GAAG5B,KAAK,CAAC2B,MAAM,CAAC;IACnC;IACA,OAAOE,OAAO,CAACC,OAAO,CAAC,IAAI,CAAC;EAC9B;AACF"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","isArray","isUndefined","Animated","Easing","View","DefaultKeyExtractor","WmIcon","BaseComponent","BaseComponentState","SwipeAnimation","WmCarouselProps","DEFAULT_CLASS","WmCarouselState","constructor","arguments","_defineProperty","WmCarousel","props","Value","bounds","e","_this$slidesLayout","_this$slidesLayout$ac","activeTabIndex","state","activeIndex","lower","slidesLayout","filter","l","i","reduce","s","width","center","upper","computePhase","value","_this$slidesLayout$ac2","w","Math","abs","onLower","onSlideChange","onUpper","index","prevIndex","updateState","invokeEventCallback","animatePagination","item","type","renderSlide","children","data","dataset","length","_this$animationView","animationView","setPosition","_this$animationView2","goToUpper","_this$animationView3","goToLower","cleanup","push","stopPlay","addSlideLayout","nativeEvent","layout","forceUpdate","generateItemKey","itemkey","_showSkeleton","keyExtractor","getKey","autoPlay","animation","animationinterval","intervalId","setInterval","next","clearInterval","setTimeout","_this$animationView4","onPropertyChange","name","$new","$old","_this$keyExtractor","clear","min","_this$styles$dotStyle","_this$styles$dotStyle2","_this$styles$dotStyle3","margin","styles","dotStyle","marginLeft","marginRight","size","position","max","scale","options","useNativeDriver","duration","easing","out","linear","sequence","timing","dotScale","toValue","parallel","dotPosition","isRTL","start","renderPagination","maxNoOfDots","maxnoofdots","minIndex","maxIndex","createElement","style","dotsWrapperStyle","flexDirection","map","key","activeDotStyle","undefined","height","transform","translateX","right","left","renderWidget","_data","_this$styles$slide","hasNavs","controls","hasDots","noOfSlides","slideScale","slideTranslateX","slide","_this$styles$slide2","_this$styles$slide3","find","o","root","_background","enableGestures","enablegestures","direction","ref","r","handlers","animationHandlers","slideMinWidth","_this$animationView5","_this$animationView6","isActive","animationPhase","interpolate","inputRange","outputRange","onLayout","bind","onTouchEnd","_this$animationView7","firstSlide","lastSlide","activeSlide","renderItem","btnPanel","id","getTestId","iconclass","prevBtn","onTap","prev","nextBtn"],"sources":["carousel.component.tsx"],"sourcesContent":["import React from 'react';\nimport { isArray, isUndefined } from 'lodash-es';\nimport { Animated, Easing, View, LayoutChangeEvent, LayoutRectangle } from 'react-native';\nimport { DefaultKeyExtractor } from '@wavemaker/app-rn-runtime/core/key.extractor';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport * as SwipeAnimation from '@wavemaker/app-rn-runtime/gestures/swipe.animation';\n\nimport WmCarouselProps from './carousel.props';\nimport { DEFAULT_CLASS, WmCarouselStyles } from './carousel.styles';\n\nexport class WmCarouselState extends BaseComponentState<WmCarouselProps> {\n activeIndex = 1;\n}\n\nexport default class WmCarousel extends BaseComponent<WmCarouselProps, WmCarouselState, WmCarouselStyles> {\n\n noOfSlides: number = 0;\n private slidesLayout: LayoutRectangle[] = [];\n private keyExtractor = new DefaultKeyExtractor();\n stopPlay: Function = null as any;\n private dotScale = new Animated.Value(0);\n private dotPosition = new Animated.Value(0);\n private animationView: SwipeAnimation.View | null = null as any;\n private animationHandlers = {\n bounds: (e) => {\n const activeTabIndex = this.state.activeIndex - 1;\n let lower = 0;\n if (activeTabIndex > 0) {\n lower = this.slidesLayout\n .filter((l , i) => i < activeTabIndex - 1)\n .reduce((s, l) => s + l.width, 0);\n }\n let center = lower + (this.slidesLayout[activeTabIndex - 1]?.width || 0);\n let upper = center + (this.slidesLayout[activeTabIndex]?.width || 0);\n return {\n lower: -1 * lower,\n center: -1 * center,\n upper: -1 * upper\n };\n },\n computePhase: (value) => {\n const activeTabIndex = this.state.activeIndex - 1;\n const w = this.slidesLayout[activeTabIndex]?.width || 0;\n return w && Math.abs(value / w);\n },\n onLower: (e) => {\n this.onSlideChange(this.state.activeIndex - 1);\n },\n onUpper: (e) => {\n this.onSlideChange(this.state.activeIndex + 1);\n }\n } as SwipeAnimation.Handlers;\n\n constructor(props: WmCarouselProps) {\n super(props, DEFAULT_CLASS, new WmCarouselProps(), new WmCarouselState());\n this.cleanup.push(() => {\n this.stopPlay && this.stopPlay();\n })\n }\n\n addSlideLayout(index: number, nativeEvent: LayoutChangeEvent) {\n this.slidesLayout[index] = nativeEvent.nativeEvent.layout;\n if (index === this.state.activeIndex) {\n this.forceUpdate();\n }\n }\n\n private generateItemKey(item: any, index: number, props: WmCarouselProps) {\n if (props.itemkey && item && !this._showSkeleton) {\n return props.itemkey(item, index);\n }\n return 'list_item_' + this.keyExtractor.getKey(item, true);\n }\n\n autoPlay() {\n const props = this.state.props;\n this.stopPlay && this.stopPlay();\n if (props.animation === 'auto' && props.animationinterval) {\n const intervalId = setInterval(() => {\n this.next();\n }, props.animationinterval * 1000);\n this.stopPlay = () => clearInterval(intervalId);\n } else {\n setTimeout(() => {\n this.onSlideChange(1);\n this.animationView?.setPosition(0);\n }, 1000);\n }\n }\n\n onPropertyChange(name: string, $new: any, $old: any): void {\n super.onPropertyChange(name, $new, $old);\n switch (name) {\n case 'dataset': {\n this.keyExtractor?.clear();\n this.updateState({\n activeIndex: Math.min(this.state.activeIndex, $new?.length || 1)\n } as WmCarouselState);\n break;\n }\n case 'animation':\n case 'animationinterval' : {\n this.autoPlay();\n }\n }\n }\n\n animatePagination(index: number) {\n const prevIndex = this.state.activeIndex;\n const margin = ((this.styles.dotStyle?.marginLeft as number)|| 0) + \n ((this.styles.dotStyle?.marginRight as number)|| 0)\n const width = (this.styles.dotStyle?.width as number)|| 2;\n const size = margin + width;\n const position = Math.max(index - 1, 0) * size;\n const scale = Math.abs(index - prevIndex) * size;\n const options = {\n useNativeDriver: true,\n duration: 200,\n easing: Easing.out(Easing.linear)\n };\n if (prevIndex < index) {\n Animated.sequence([\n Animated.timing(this.dotScale, {\n toValue: scale,\n ...options\n }),\n Animated.parallel([\n Animated.timing(this.dotScale, {\n toValue: 0,\n ...options\n }),\n Animated.timing(this.dotPosition, {\n toValue: (this.isRTL ? -1: 1) * position,\n ...options\n })\n ])\n ]).start();\n } else if (prevIndex > index) {\n Animated.sequence([\n Animated.parallel([\n Animated.timing(this.dotScale, {\n toValue: scale,\n ...options\n }),\n Animated.timing(this.dotPosition, {\n toValue: (this.isRTL ? -1: 1) * position,\n ...options\n })\n ]),\n Animated.timing(this.dotScale, {\n toValue: 0,\n ...options\n }),\n ]).start();\n } \n }\n\n onSlideChange = (index: number) => {\n const prevIndex = this.state.activeIndex;\n this.updateState({\n activeIndex: index\n } as WmCarouselState,\n () => this.invokeEventCallback('onChange', [this, index, prevIndex]));\n this.animatePagination(index);\n }\n\n renderItem = (item: any, index: number) => {\n const props = this.state.props;\n if (props.type === 'dynamic') {\n return props.renderSlide ? props.renderSlide(item, index, this) : null;\n }\n return props.children[index];\n }\n\n next = () => {\n const props = this.state.props;\n const data = props.type === 'dynamic' ? props.dataset : props.children;\n if (this.state.activeIndex >= data?.length || 0) {\n this.onSlideChange(1);\n this.animationView?.setPosition(0);\n } else {\n this.animationView?.goToUpper();\n }\n }\n\n prev = () => {\n this.animationView?.goToLower();\n }\n\n renderPagination(data: any) {\n const maxNoOfDots = this.state.props.maxnoofdots;\n let minIndex = Math.max(this.state.activeIndex - maxNoOfDots + 1, 0);\n let maxIndex = Math.min(minIndex + maxNoOfDots - 1, data.length);\n if (maxIndex === data.length) {\n minIndex = maxIndex - maxNoOfDots;\n }\n return (<View style={this.styles.dotsWrapperStyle}>\n <View style={{flexDirection: this.isRTL ? 'row-reverse' : 'row'}}>\n {\n data.map((item: any, index: number) => {\n return index >= minIndex && index <= maxIndex ? (\n <View key={'dots_' + this.generateItemKey(item, index, this.state.props)} \n style={[this.styles.dotStyle]}>\n </View>) : null;\n })\n }\n <Animated.View style={[\n this.styles.dotStyle,\n this.styles.activeDotStyle, {\n width: undefined,\n height: undefined,\n transform: [{\n translateX: this.dotPosition\n }]\n }, this.isRTL ? { right: 0 } : { left: 0}]}>\n <Animated.View style={[{\n width: 1,\n height: 1\n }, {\n // This is failing in Android\n // minWidth: this.dotScale\n }]}>\n </Animated.View>\n </Animated.View>\n </View>\n </View>);\n }\n\n renderWidget(props: WmCarouselProps) {\n const hasNavs = props.controls === 'both' || props.controls ==='navs';\n const hasDots = props.controls === 'both' || props.controls ==='indicators';\n let styles = this.styles;\n let data = props.type === 'dynamic' ? props.dataset : props.children;\n data = isArray(data) ? data : [];\n this.noOfSlides = data?.length || 0;\n let slideScale = undefined as any;\n let slideTranslateX = undefined as any;\n if (isArray(this.styles.slide?.transform)) {\n slideScale = (this.styles.slide?.transform?.find(o => !isUndefined((o as any).scale)) as any)?.scale;\n slideTranslateX = (this.styles.slide?.transform?.find(o => !isUndefined((o as any).translateX)) as any)?.translateX;\n }\n // TODO: loop prop on Carousel is not working Refer: https://github.com/meliorence/react-native-snap-carousel/issues/608\n return (\n <View style={styles.root}>\n {this._background}\n <SwipeAnimation.View \n enableGestures={props.enablegestures}\n style={{\n height: props.type === 'dynamic' ? undefined : '100%',\n }}\n direction='horizontal'\n ref={(r) => {this.animationView = r}}\n handlers = {this.animationHandlers}\n slideMinWidth={this.styles.slide.width}\n >\n {data.map((item: any, index: number) => {\n const isActive = index === this.state.activeIndex - 1;\n let scale = this.animationView?.animationPhase.interpolate({\n inputRange: [-2000, index - 1, index, index + 1, 2000],\n outputRange: [slideScale, slideScale, 1, slideScale, slideScale]\n });\n let translateX = this.animationView?.animationPhase.interpolate({\n inputRange: [-2000, index - 1, index, index + 1, 2000],\n outputRange: [-56, -56, 0, 56, 56]\n });\n return (\n <Animated.View key={this.generateItemKey(item, index, props)}\n onLayout={this.addSlideLayout.bind(this, index)}\n onTouchEnd={() => {\n this.onSlideChange(index + 1);\n const position = this.slidesLayout\n .filter((l , i) => i < index)\n .reduce((s, l) => s + l.width, 0);\n this.animationView?.setPosition(-1 * position);\n }}\n style={[\n {height: props.type === 'dynamic' ? undefined : '100%'},\n this.styles.slide,\n index === 0 ? this.styles.firstSlide : null,\n index === data.length - 1 ? this.styles.lastSlide: null,\n isActive ? this.styles.activeSlide: null,\n translateX && scale ? {\n transform: [\n {\n translateX: !isUndefined(slideTranslateX) ? slideTranslateX : translateX\n }, {\n scale: scale\n }\n ]\n } : null]}>\n {this.renderItem(item, index)}\n </Animated.View>\n );\n })}\n </SwipeAnimation.View>\n {hasNavs ? (\n <View style={styles.btnPanel}>\n <WmIcon\n id={this.getTestId('prev_icon')}\n iconclass=\"wi wi-chevron-left fa-2x\"\n styles={styles.prevBtn}\n onTap={this.prev}/>\n <WmIcon\n id={this.getTestId('next_icon')}\n iconclass=\"wi wi-chevron-right fa-2x\"\n styles={styles.nextBtn}\n onTap={this.next}/>\n </View>): null}\n {hasDots && data ? this.renderPagination(data) : null}\n </View>);\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,OAAO,EAAEC,WAAW,QAAQ,WAAW;AAChD,SAASC,QAAQ,EAAEC,MAAM,EAAEC,IAAI,QAA4C,cAAc;AACzF,SAASC,mBAAmB,QAAQ,8CAA8C;AAClF,OAAOC,MAAM,MAAM,gEAAgE;AACnF,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAO,KAAKC,cAAc,MAAM,oDAAoD;AAEpF,OAAOC,eAAe,MAAM,kBAAkB;AAC9C,SAASC,aAAa,QAA0B,mBAAmB;AAEnE,OAAO,MAAMC,eAAe,SAASJ,kBAAkB,CAAkB;EAAAK,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,sBACzD,CAAC;EAAA;AACjB;AAEA,eAAe,MAAMC,UAAU,SAAST,aAAa,CAAqD;EAuCxGM,WAAWA,CAACI,MAAsB,EAAE;IAClC,KAA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H,aAAA,CAACvH,IAAI;MAACwH,KAAK,EAAE5B,MAAM,CAAC+E;IAAS,gBAC3BhL,KAAA,CAAA4H,aAAA,CAACrH,MAAM;MACL0K,EAAE,EAAE,IAAI,CAACC,SAAS,CAAC,WAAW,CAAE;MAChCC,SAAS,EAAC,0BAA0B;MACpClF,MAAM,EAAEA,MAAM,CAACmF,OAAQ;MACvBC,KAAK,EAAE,IAAI,CAACC;IAAK,CAAC,CAAC,eACrBtL,KAAA,CAAA4H,aAAA,CAACrH,MAAM;MACL0K,EAAE,EAAE,IAAI,CAACC,SAAS,CAAC,WAAW,CAAE;MAChCC,SAAS,EAAC,2BAA2B;MACrClF,MAAM,EAAEA,MAAM,CAACsF,OAAQ;MACvBF,KAAK,EAAE,IAAI,CAACnG;IAAK,CAAC,CAChB,CAAC,GAAG,IAAI,EACb4D,OAAO,IAAIvF,IAAI,GAAG,IAAI,CAACgE,gBAAgB,CAAChE,IAAI,CAAC,GAAG,IAC/C,CAAC;EACX;AACF"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","BackHandler","Platform","View","WebView","HideMode","BaseComponent","BaseComponentState","WmWebviewProps","DEFAULT_CLASS","WmWebViewState","WmWebview","constructor","props","_defineProperty","webview","webViewState","canGoBack","goBack","event","_event$nativeEvent","data","nativeEvent","startsWith","id","match","callback","invokeJSCallbacks","result","substring","indexOf","parseResult","invokeEventCallback","e","title","url","updateState","src","hideMode","DONOT_ADD_TO_DOM","addEventListener","handleBackButtonPress","componentWillUnmount","removeEventListener","executeScript","fn","Promise","resolve","reject","Date","now","injectJavaScript","insertCSS","style","arguments","length","undefined","replace","JSON","parse","getTitle","iframe","currentTarget","contentWindow","document","renderWidget","createElement","styles","root","_background","OS","width","height","onLoad","ref","nestedScrollEnabled","source","uri","testID","getTestId","incognito","onMessage","sharedCookiesEnabled","onNavigationStateChange","state","scrollEnabled","onLoadEnd"],"sources":["webview.component.tsx"],"sourcesContent":["import React from 'react';\nimport { BackHandler, Platform, View } from 'react-native';\nimport { WebView, WebViewNavigation, WebViewMessageEvent } from 'react-native-webview';\nimport { HideMode } from '@wavemaker/app-rn-runtime/core/if.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmWebviewProps from './webview.props';\nimport { DEFAULT_CLASS, WebviewStyles } from './webview.styles';\n\nclass WmWebViewState extends BaseComponentState<WmWebviewProps> {\n\n}\n\nexport default class WmWebview extends BaseComponent<WmWebviewProps, WmWebViewState, WebviewStyles> {\n\n private webview: WebView | null = null as any;\n private webViewState: WebViewNavigation = null as any;\n private invokeJSCallbacks = {} as any;\n\n constructor(props: WmWebviewProps) {\n super(props, DEFAULT_CLASS, new WmWebviewProps());\n this.hideMode = HideMode.DONOT_ADD_TO_DOM;\n BackHandler.addEventListener('hardwareBackPress', this.handleBackButtonPress);\n }\n\n componentWillUnmount() {\n super.componentWillUnmount();\n BackHandler.removeEventListener('hardwareBackPress', this.handleBackButtonPress);\n }\n\n handleBackButtonPress = (): boolean => {\n if (this.webview && this.webViewState && this.webViewState.canGoBack) {\n this.webview.goBack();\n return true;\n }\n return false;\n }\n\n executeScript(fn: string) {\n return new Promise((resolve, reject) => {\n if (this.webview) {\n const id = '' + Date.now();\n this.invokeJSCallbacks[id] = resolve;\n fn = `\n (function(){\n try{\n return (${fn});\n } catch(e) {\n return e.getMessage();\n }\n }())\n `;\n this.webview.injectJavaScript(\n `window.ReactNativeWebView.postMessage('afterInjectJavaScript:' + ${id} + ':' + JSON.stringify(${fn}))`\n );\n } else {\n reject();\n }\n });\n }\n\n insertCSS(style = '') {\n style = style.replace(/[\\n\\t\\r]/g, '');\n return this.executeScript(`\n function() {\n const style = document.createElement('style');\n style.innerHTML = '${style}';\n document.head.appendChild(style);\n return 'SUCCESS';\n }()\n `);\n }\n\n parseResult(result: string) {\n try {\n return JSON.parse(result);\n } catch(e) {\n if (result === 'undefined' || result === 'null') {\n return null;\n }\n return result;\n }\n }\n\n onMessage = (event: WebViewMessageEvent) => {\n const data: string = event.nativeEvent?.data;\n if (data && data.startsWith('afterInjectJavaScript')) {\n const id = data?.match(/\\:([0-9]+)\\:/);\n const callback = id && this.invokeJSCallbacks[id[1]];\n const result = data.substring(data.indexOf(':', data.indexOf(':') + 1) + 1);\n callback && callback(this.parseResult(result));\n } else {\n this.invokeEventCallback('onMessage', [event, this]);\n }\n }\n\n getTitle(iframe: any) {\n try {\n return iframe.currentTarget.contentWindow.document.title;\n } catch(e) {\n // browser blocks cross origin access to iframe content.\n }\n }\n\n public onLoad = (e: any, title: string, url: string) => {\n this.updateState({\n props: {\n title: title,\n src: url\n }\n } as WmWebViewState, () => {\n this.invokeEventCallback('onLoad', [e, this]);\n });\n }\n\n protected renderWidget(props: WmWebviewProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n {Platform.OS === 'web' ?\n (<iframe src={props.src} width={'100%'} height={'100%'}\n onLoad={(e) => this.onLoad(e, this.getTitle(e.currentTarget), (e.currentTarget as any).src)}></iframe>) :\n (<WebView\n ref={(ref) => this.webview = ref}\n nestedScrollEnabled={true}\n style={this.styles.webview}\n source={{\n uri: props.src\n }}\n testID={this.getTestId('web_view')}\n incognito={props.incognito}\n onMessage={this.onMessage}\n sharedCookiesEnabled={true}\n onNavigationStateChange={(state) => {\n this.webViewState = state;\n }}\n scrollEnabled={true}\n onLoadEnd={(e) => this.onLoad(e, e.nativeEvent.title, e.nativeEvent.url)}>\n </WebView>)}\n </View>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,WAAW,EAAEC,QAAQ,EAAEC,IAAI,QAAQ,cAAc;AAC1D,SAASC,OAAO,QAAgD,sBAAsB;AACtF,SAASC,QAAQ,QAAQ,6CAA6C;AACtE,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,aAAa,QAAuB,kBAAkB;AAE/D,MAAMC,cAAc,SAASH,kBAAkB,C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C,mBAAmB,EAAE,IAAK;MAC1BtB,KAAK,EAAE,IAAI,CAACc,MAAM,CAACpD,OAAQ;MAC3B6D,MAAM,EAAE;QACNC,GAAG,EAAEhE,KAAK,CAACwB;MACb,CAAE;MACFyC,MAAM,EAAE,IAAI,CAACC,SAAS,CAAC,UAAU,CAAE;MACnCC,SAAS,EAAEnE,KAAK,CAACmE,SAAU;MAC3BC,SAAS,EAAE,IAAI,CAACA,SAAU;MAC1BC,oBAAoB,EAAE,IAAK;MAC3BC,uBAAuB,EAAGC,KAAK,IAAK;QAClC,IAAI,CAACpE,YAAY,GAAGoE,KAAK;MAC3B,CAAE;MACFC,aAAa,EAAE,IAAK;MACpBC,SAAS,EAAGrD,CAAC,IAAK,IAAI,CAACwC,MAAM,CAACxC,CAAC,EAAEA,CAAC,CAACX,WAAW,CAACY,KAAK,EAAED,CAAC,CAACX,WAAW,CAACa,GAAG;IAAE,CAClE,CACP,CAAC;EAEX;AACF"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["BaseProps","WmWebviewProps","constructor","arguments","_defineProperty"],"sources":["webview.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmWebview from './webview.component';\n\nexport default class WmWebviewProps extends BaseProps {\n src: string = null as any;\n title: string = null as any;\n incognito? = false;\n onLoad?: ($event: any, $widget: WmWebview) => void = null as any;\n}"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAGzE,eAAe,MAAMC,cAAc,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,cACtC,IAAI;IAAAA,eAAA,gBACF,IAAI;IAAAA,eAAA,oBACP,KAAK;IAAAA,eAAA,iBACmC,IAAI;EAAA;AAC3D"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","Tappable","Badge","WmButtonProps","DEFAULT_CLASS","WmIcon","Animatedview","createSkeleton","WmButtonState","WmButton","constructor","props","prepareIcon","iconclass","createElement","_extends","getTestPropsForLabel","styles","icon","name","iconsize","prepareBadge","style","badge","badgevalue","renderSkeleton","prop","theme","skeleton","root","width","skeletonwidth","height","skeletonheight","renderWidget","entryanimation","animation","_background","target","getTestPropsForAction","content","flexDirection","iconposition","caption","text"],"sources":["button.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Text, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { Badge } from 'react-native-paper';\n\nimport WmButtonProps from './button.props';\nimport { DEFAULT_CLASS, WmButtonStyles } from './button.styles';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport { createSkeleton } from '../skeleton/skeleton.component';\n\nexport class WmButtonState extends BaseComponentState<WmButtonProps> {\n\n}\n\nexport default class WmButton extends BaseComponent<WmButtonProps, WmButtonState, WmButtonStyles> {\n\n constructor(props: WmButtonProps) {\n super(props, DEFAULT_CLASS, new WmButtonProps());\n }\n\n private prepareIcon(props: any) {\n return (props.iconclass? <WmIcon\n {...this.getTestPropsForLabel('icon')}\n styles={this.styles.icon} name={props.name + '_icon'} iconclass={props.iconclass} iconsize={props.iconsize}></WmIcon>: null);\n }\n\n private prepareBadge(props: any) {\n //@ts-ignore\n return (<Badge style={this.styles.badge}>{props.badgevalue}</Badge>);\n }\n\n public renderSkeleton(prop: WmButtonProps) {\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.styles.root.width)as DimensionValue,\n height: (this.props.skeletonheight || this.styles.root.height) as DimensionValue\n });\n }\n\n renderWidget(props: WmButtonProps) {\n return (\n <Animatedview entryanimation={props.animation} style={this.styles.root}>\n {this._background}\n <Tappable target={this} {...this.getTestPropsForAction()}>\n <View style={[this.styles.content, {flexDirection: props.iconposition === 'top' ? 'column': 'row'}]}>\n {props.iconposition === 'top' && this.prepareIcon(props)}\n {props.iconposition === 'left' && this.prepareIcon(props)}\n {props.caption ? (<Text style={this.styles.text} \n {...this.getTestPropsForLabel('caption')}>{props.caption}</Text>): null}\n {props.iconposition === 'right' && this.prepareIcon(props)}\n {props.badgevalue && this.prepareBadge(props)}\n </View>\n </Tappable>\n </Animatedview>\n );\n }\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAyBC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,KAAK,QAAQ,oBAAoB;AAE1C,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,OAAOC,MAAM,MAAM,gEAAgE;AACnF,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAASC,cAAc,QAAQ,gCAAgC;AAE/D,OAAO,MAAMC,aAAa,SAASR,kBAAkB,CAAgB;AAIrE,eAAe,MAAMS,QAAQ,SAASV,aAAa,CAA+C;EAEhGW,WAAWA,CAACC,KAAoB,EAAE;IAChC,KAAK,CAACA,KAAK,EAAEP,aAAa,EAAE,IAAID,aAAa,CAAC,CAAC,CAAC;EAClD;EAEQS,WAAWA,CAACD,KAAU,EAAE;IAC9B,OAAQA,KAAK,CAACE,SAAS,gBAAEjB,KAAA,CAAAkB,aAAA,CAACT,MAAM,EAAAU,QAAA,KAC1B,IAAI,CAACC,oBAAoB,CAAC,MAAM,CAAC;MACrCC,MAAM,EAAE,IAAI,CAACA,MAAM,CAACC,IAAK;MAACC,IAAI,EAAER,KAAK,CAACQ,IAAI,GAAG,OAAQ;MAACN,SAAS,EAAEF,KAAK,CAACE,SAAU;MAACO,QAAQ,EAAET,KAAK,CAACS;IAAS,EAAS,CAAC,GAAE,IAAI;EAC/H;EAEQC,YAA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ACxDA,KAAK,CAACgC,OAAO,gBAAI/C,KAAA,CAAAkB,aAAA,CAACjB,IAAI,EAAAkB,QAAA;MAACO,KAAK,EAAE,IAAI,CAACL,MAAM,CAAC2B;IAAK,GAC1C,IAAI,CAAC5B,oBAAoB,CAAC,SAAS,CAAC,GAAGL,KAAK,CAACgC,OAAc,CAAC,GAAG,IAAI,EACxEhC,KAAK,CAAC+B,YAAY,KAAK,OAAO,IAAI,IAAI,CAAC9B,WAAW,CAACD,KAAK,CAAC,EACzDA,KAAK,CAACa,UAAU,IAAI,IAAI,CAACH,YAAY,CAACV,KAAK,CACxC,CACE,CACE,CAAC;EAEnB;AACF"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","minHeight","borderRadius","paddingTop","paddingBottom","paddingLeft","paddingRight","alignSelf","content","flexDirection","alignItems","justifyContent","text","fontSize","fontFamily","baseFont","fontWeight","textAlign","textTransform","marginHorizontal","badge","backgroundColor","buttonBadgeBackgroundColor","color","buttonBadgeTextColor","position","top","marginLeft","borderWidth","borderStyle","icon","buttonTextPadding","skeleton","width","height","opacity","getButtonStyles","bgColor","borderColor","arguments","length","undefined","linkBtnStyle","buttonLinkColor","buttonLinkTextColor","buttonWithOnlyLabel","paddingVertical","textDecorationColor","textDecorationLine","textDecorationStyle","buttonDefaultColor","buttonDefaultTextColor","buttonBorderColor","buttonInfoColor","buttonInfoTextColor","buttonPrimaryColor","buttonPrimaryTextColor","buttonSecondaryColor","buttonSecondaryTextColor","buttonDangerColor","buttonDangerTextColor","buttonSuccessColor","buttonSuccessTextColor","buttonWarningColor","buttonWarningTextColor","buttonDarkColor","buttonDarkTextColor","buttonLightColor","buttonLightTextColor","getStyle","bottom","right","marginRight"],"sources":["button.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmIconStyles } from '../icon/icon.styles';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmButtonStyles = BaseStyles & {\n content: AllStyle,\n badge: AllStyle,\n icon: WmIconStyles,\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-button';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmButtonStyles = defineStyles<WmButtonStyles>({\n root: {\n minHeight: 40,\n borderRadius: 6,\n paddingTop: 11,\n paddingBottom: 11,\n paddingLeft: 24,\n paddingRight: 24,\n alignSelf: 'flex-start'\n },\n content: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'center'\n },\n text: {\n fontSize: 14,\n fontFamily: themeVariables.baseFont,\n fontWeight: '500',\n textAlign: 'center',\n textTransform: 'capitalize',\n marginHorizontal: 4\n },\n badge: {\n backgroundColor: themeVariables.buttonBadgeBackgroundColor,\n color: themeVariables.buttonBadgeTextColor,\n alignSelf: 'flex-start',\n position: 'relative',\n minHeight: 6,\n top: -20,\n marginLeft: -16,\n borderWidth: 1,\n borderStyle: 'solid'\n },\n icon: {\n root : {\n alignSelf: 'auto',\n paddingLeft: -8,\n paddingRight: -8\n },\n text: {\n paddingRight: themeVariables.buttonTextPadding,\n fontSize: 16\n }\n } as WmIconStyles,\n skeleton: {\n root: {\n width: 96,\n height: 48,\n borderRadius: 4\n }\n } as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n root : {\n opacity: 0.5\n }\n });\n\n const getButtonStyles = (bgColor: string, color: string, borderColor = bgColor) => {\n return {\n root: {\n borderWidth: 1,\n borderColor: borderColor,\n borderStyle: 'solid',\n backgroundColor: bgColor\n },\n text: {\n color: color\n },\n badge: {\n backgroundColor: color,\n color: bgColor,\n borderColor: bgColor\n },\n icon: {\n text: {\n color: color\n }\n }\n } as WmButtonStyles;\n }\n\n const linkBtnStyle = getButtonStyles(themeVariables.buttonLinkColor, themeVariables.buttonLinkTextColor );\nconst buttonWithOnlyLabel = getButtonStyles(themeVariables.buttonLinkColor, themeVariables.buttonLinkTextColor );\n\n linkBtnStyle.root.paddingVertical = 4;\n linkBtnStyle.text.textDecorationColor = themeVariables.buttonLinkTextColor;\n linkBtnStyle.text.textDecorationLine = 'underline';\n linkBtnStyle.text.textDecorationStyle = 'solid';\n\n addStyle('btn-default', '', getButtonStyles(themeVariables.buttonDefaultColor, themeVariables.buttonDefaultTextColor, themeVariables.buttonBorderColor));\n addStyle('btn-info', '', getButtonStyles(themeVariables.buttonInfoColor, themeVariables.buttonInfoTextColor));\n addStyle('btn-primary', '', getButtonStyles(themeVariables.buttonPrimaryColor, themeVariables.buttonPrimaryTextColor));\n addStyle('btn-secondary', '', getButtonStyles(themeVariables.buttonSecondaryColor, themeVariables.buttonSecondaryTextColor, themeVariables.buttonSecondaryTextColor));\n addStyle('btn-danger', '', getButtonStyles(themeVariables.buttonDangerColor, themeVariables.buttonDangerTextColor));\n addStyle('btn-success', '', getButtonStyles(themeVariables.buttonSuccessColor, themeVariables.buttonSuccessTextColor));\n addStyle('btn-warning', '', getButtonStyles(themeVariables.buttonWarningColor, themeVariables.buttonWarningTextColor));\n addStyle('btn-link', '', linkBtnStyle);\n addStyle('btn-only-label', '', buttonWithOnlyLabel);\n addStyle('btn-dark', '', getButtonStyles(themeVariables.buttonDarkColor, themeVariables.buttonDarkTextColor));\n addStyle('btn-light', '', getButtonStyles(themeVariables.buttonLightColor, themeVariables.buttonLightTextColor));\n addStyle('fab-btn', 'btn-primary', {\n root : {\n ...BASE_THEME.getStyle('elevate2').root,\n position: 'fixed' as any,\n bottom: 160,\n right: 48,\n width: 56,\n height: 56,\n borderRadius: 56,\n justifyContent: 'center',\n alignItems: 'center'\n },\n text: {\n marginLeft: 0,\n marginRight: 0\n },\n icon: {\n icon: {\n fontSize: 24\n }\n } as WmIconStyles\n } as WmButtonStyles);\n addStyle('mini-f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C,UAAU,EAAE,EAAE,EAAEsC,eAAe,CAACvC,cAAc,CAACoE,eAAe,EAAEpE,cAAc,CAACqE,mBAAmB,CAAC,CAAC;EAC7GpE,QAAQ,CAAC,WAAW,EAAE,EAAE,EAAEsC,eAAe,CAACvC,cAAc,CAACsE,gBAAgB,EAAEtE,cAAc,CAACuE,oBAAoB,CAAC,CAAC;EAChHtE,QAAQ,CAAC,SAAS,EAAE,aAAa,EAAE;IACjCE,IAAI,EAAG;MACL,GAAGP,UAAU,CAAC4E,QAAQ,CAAC,UAAU,CAAC,CAACrE,IAAI;MACvCyB,QAAQ,EAAE,OAAc;MACxB6C,MAAM,EAAE,GAAG;MACXC,KAAK,EAAE,EAAE;MACTtC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE,EAAE;MACVhC,YAAY,EAAE,EAAE;MAChBS,cAAc,EAAE,QAAQ;MACxBD,UAAU,EAAE;IACd,CAAC;IACDE,IAAI,EAAE;MACJe,UAAU,EAAE,CAAC;MACb6C,WAAW,EAAE;IACf,CAAC;IACD1C,IAAI,EAAE;MACJA,IAAI,EAAE;QACJjB,QAAQ,EAAE;MACZ;IACF;EACF,CAAmB,CAAC;EACpBf,QAAQ,CAAC,cAAc,EAAE,SAAS,EAAE;IAClCE,IAAI,EAAG;MACLiC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE;IACV;EACF,CAAmB,CAAC;AACtB,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","alignSelf","alignItems","borderRadius","borderWidth","borderStyle","borderColor","buttonGrpBorderColor","backgroundColor","buttonGrpBgColor","text","skeleton","width","height","borderTopWidth","borderBottomWidth","borderLeftWidth","borderRightWidth","flex","color","defaultColor9"],"sources":["buttongroup.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmButtonStyles } from '../button/button.styles';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmButtongroupStyles = BaseStyles & {\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-buttongroup';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmButtongroupStyles = defineStyles({\n root: {\n flexDirection: 'row',\n alignSelf: 'flex-start',\n alignItems: 'center',\n borderRadius: 100,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.buttonGrpBorderColor,\n backgroundColor: themeVariables.buttonGrpBgColor\n }, \n text: {},\n skeleton: {\n root : {\n width: '100%',\n height: 48,\n borderRadius: 4,\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as any as WmSkeletonStyles\n });\n\n\n addStyle('btn-group-child', '', {\n root: {\n borderTopWidth: 0,\n borderBottomWidth: 0,\n borderLeftWidth: 1,\n borderRightWidth: 0,\n borderRadius: 0,\n backgroundColor: 'transparent',\n flex: 1,\n borderColor: themeVariables.buttonGrpBorderColor,\n },\n text: {\n color: themeVariables.defaultColor9,\n }\n } as WmButtonStyles);\n addStyle('btn-group-first-child', '', {\n root: {\n borderLeftWidth: 0,\n borderRadius: 0,\n backgroundColor: 'transparent',\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as WmButtonStyles);\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAQxF,OAAO,MAAMC,aAAa,GAAG,iBAAiB;AAC9CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAAkC,GAAGL,YAAY,CAAC;IACpDM,IAAI,EAAE;MACJC,aAAa,EAAE,KAAK;MACpBC,SAAS,EAAE,YAAY;MACvBC,UAAU,EAAE,QAAQ;MACpBC,YAAY,EAAE,GAAG;MACjBC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAE,OAAO;MACpBC,WAAW,EAAEV,cAAc,CAACW,oBAAoB;MAChDC,eAAe,EAAEZ,cAAc,CAACa;IAClC,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,QAAQ,EAAE;MACRZ,IAAI,EAAG;QACLa,KAAK,EAAE,MAAM;QACbC,MAAM,EAAE,EAAE;QACVV,YAAY,EAAE,CAAC;QACfG,WAAW,EAAEV,cAAc,CAACW;MAC9B;IACF;EACJ,CAAC,CAAC;EAGFV,QAAQ,CAAC,iBAAiB,EAAE,EAAE,EAAE;IAC9BE,IAAI,EAAE;MACJe,cAAc,EAAE,CAAC;MACjBC,iBAAiB,EAAE,CAAC;MACpBC,eAAe,EAAE,CAAC;MAClBC,gBAAgB,EAAE,CAAC;MACnBd,YAAY,EAAE,CAAC;MACfK,eAAe,EAAE,aAAa;MAC9BU,IAAI,EAAE,CAAC;MACPZ,WAAW,EAAEV,cAAc,CAACW;IAC9B,CAAC;IACDG,IAAI,EAAE;MACJS,KAAK,EAAEvB,cAAc,CAACwB;IACxB;EACF,CAAmB,CAAC;EACpBvB,QAAQ,CAAC,uBAAuB,EAAE,EAAE,EAAE;IACpCE,IAAI,EAAE;MACJiB,eAAe,EAAE,CAAC;MAClBb,YAAY,EAAE,CAAC;MACfK,eAAe,EAAE,aAAa;MAC9BF,WAAW,EAAEV,cAAc,CAACW;IAC9B;EACF,CAAmB,CAAC;EACpBV,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","alignSelf","alignItems","icon","paddingLeft","text","skeleton","width","height","borderRadius","paddingRight"],"sources":["icon.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmIconStyles = BaseStyles & {\n icon?: AllStyle,\n skeleton: WmSkeletonStyles\n};\nexport const DEFAULT_CLASS = 'app-icon';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmIconStyles = defineStyles({\n root: {\n flexDirection: 'row',\n alignSelf: 'flex-start',\n alignItems: 'center'\n },\n icon: {\n paddingLeft: 0\n },\n text: {\n paddingLeft: 8\n },\n skeleton:{\n root: {\n width: 32,\n height: 32,\n borderRadius: 4\n }\n } as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n text: {\n paddingRight: 8 \n }\n });\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAqB,wCAAwC;AAC9E,SAAqBC,YAAY,QAAQ,+CAA+C;AAOxF,OAAO,MAAMC,aAAa,GAAG,UAAU;AACvCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAA2B,GAAGL,YAAY,CAAC;IAC7CM,IAAI,EAAE;MACFC,aAAa,EAAE,KAAK;MACpBC,SAAS,EAAE,YAAY;MACvBC,UAAU,EAAE;IAChB,CAAC;IACDC,IAAI,EAAE;MACFC,WAAW,EAAE;IACjB,CAAC;IACDC,IAAI,EAAE;MACFD,WAAW,EAAE;IACjB,CAAC;IACDE,QAAQ,EAAC;MACLP,IAAI,EAAE;QACFQ,KAAK,EAAE,EAAE;QACTC,MAAM,EAAE,EAAE;QACVC,YAAY,EAAE;MAClB;IACJ;EACJ,CAAC,CAAC;EAEFZ,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,MAAM,EAAE,EAAE,EAAE;IACjCW,IAAI,EAAE;MACFK,YAAY,EAAE;IAClB;EACJ,CAAC,CAAC;AACN,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","Tappable","WmLabelProps","DEFAULT_CLASS","isNil","toString","Animatedview","createSkeleton","WmAnchor","WmLabelState","constructor","arguments","_defineProperty","WmLabel","props","getAsterisk","createElement","style","styles","asterisk","onPropertyChange","name","$new","$old","updateState","parts","parseCaption","getMultilineSkeleton","width","height","borderRadius","marginBottom","theme","skeleton","caption","pattern","linkRegex","captionSplit","split","i","length","isLink","test","part","isNextTextALink","text","link","push","renderSkeleton","_this$styles$root","_this$styles$root2","skeletonWidth","skeletonwidth","root","skeletonHeight","skeletonheight","fontSize","multilineskeleton","renderWidget","_this$state$parts","linkStyles","mergeStyle","entryanimation","animation","_background","target","flexWrap","textAlign","numberOfLines","nooflines","ellipsizeMode","state","map","index","Fragment","key","hyperlink","color","isValid","selectable","userSelect","required"],"sources":["label.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Text, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\n\nimport WmLabelProps from './label.props';\nimport { DEFAULT_CLASS, WmLabelStyles } from './label.styles';\nimport { isNil, toString } from 'lodash-es';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\nimport WmAnchor from '../anchor/anchor.component';\n\ntype PartType = {\n text?: string,\n link?: string,\n};\n\nexport class WmLabelState extends BaseComponentState<WmLabelProps> {\n parts: PartType[] = []\n}\n\nexport default class WmLabel extends BaseComponent<WmLabelProps, WmLabelState, WmLabelStyles> {\n\n constructor(props: WmLabelProps) {\n super(props, DEFAULT_CLASS, new WmLabelProps(), new WmLabelState());\n }\n\n private getAsterisk () {\n return <Text style={this.styles.asterisk}>*</Text>;\n }\n\n public onPropertyChange(name: string, $new: any, $old: any): void {\n super.onPropertyChange(name, $new, $old);\n\n switch(name) {\n case \"caption\":\n this.updateState({\n parts: this.parseCaption($new)\n } as WmLabelState);\n break;\n }\n }\n private getMultilineSkeleton(width: any, height: any) {\n const styles = {\n borderRadius:4,\n marginBottom: 10,\n height: height\n };\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...styles,\n width: width,\n height: height\n });\n }\n\n parseCaption(caption: string) {\n if (!caption) {\n return [];\n }\n caption += '';\n const pattern = /\\[([^\\]]+)\\]\\(([^)]*)\\)/g;\n const linkRegex = /^(((http|https):\\/\\/)|#)[^ \"]+$/;\n const captionSplit = caption.split(pattern);\n\n let parts = [];\n\n for (let i = 0; i < captionSplit.length; i++) {\n const isLink = captionSplit[i] === \"\" || linkRegex.test(captionSplit[i]);\n let part: PartType = {};\n \n const isNextTextALink = captionSplit[i + 1] === \"\" || linkRegex.test(captionSplit[i + 1]) || false;\n if (isLink) {\n part.text = captionSplit[i - 1] ?? '';\n part.link = captionSplit[i];\n } else {\n part.text = isNextTextALink ? \"\" : captionSplit[i];\n };\n\n if (part.text) {\n parts.push(part);\n }\n }\n\n return parts;\n }\n\n public renderSkeleton(props: WmLabelProps){\n const skeletonWidth = this.props.skeletonwidth || this.styles.root?.width;\n const skeletonHeight = this.props.skeletonheight || this.styles.root?.height || this.styles.text.fontSize;\n if(this.props.multilineskeleton) {\n return (<View style={{\n width: skeletonWidth as DimensionValue\n }}>\n {this.getMultilineSkeleton('100%', skeletonHeight)}\n {this.getMultilineSkeleton('70%', skeletonHeight)}\n {this.getMultilineSkeleton('40%', skeletonHeight)}\n </View>)\n }\n else{\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: skeletonWidth as DimensionValue,\n height: skeletonHeight as DimensionValue\n }); \n }\n }\n\n renderWidget(props: WmLabelProps) {\n const linkStyles = this.theme.mergeStyle({text: this.styles.text}, this.styles.link);\n return !isNil(props.caption) ? (\n <Animatedview entryanimation={props.animation} style={this.styles.root}>\n {this._background}\n <Tappable target={this}>\n <Text style={{flexWrap: \"wrap\", textAlign: this.styles.text.textAlign}} numberOfLines={props.nooflines} ellipsizeMode=\"tail\">\n {this.state.parts?.map((part, index) => (\n <React.Fragment key={`part_${index}`}>\n {!isNil(part.link) ? (\n <WmAnchor styles={linkStyles} caption={part.text} hyperlink={part.link} />\n ) : (\n <Text\n style={[\n this.styles.text,\n {\n color:\n props.isValid === false\n ? 'red'\n : this.styles.text.color,\n },\n ]}\n selectable={this.styles.text.userSelect === 'text'}\n >\n {toString(part.text)}\n {props.required && this.getAsterisk()}\n </Text>\n )}\n </React.Fragment>\n ))}\n </Text>\n </Tappable>\n </Animatedview>\n ) : null;\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAyBC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,QAAQ,QAAQ,mDAAmD;AAE5E,OAAOC,YAAY,MAAM,eAAe;AACxC,SAASC,aAAa,QAAuB,gBAAgB;AAC7D,SAASC,KAAK,EAAEC,QAAQ,QAAQ,WAAW;AAC3C,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAAqBC,cAAc,QAAQ,gCAAgC;AAC3E,OAAOC,QAAQ,MAAM,4BAA4B;AAOjD,OAAO,MAAMC,YAAY,SAAST,kBAAkB,CAAe;EAAAU,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,gBAC7C,EAAE;EAAA;AACxB;AAEA,eAAe,MAAMC,OAAO,SAASd,aAAa,CAA4C;EAE5FW,WAAWA,CAACI,KAAmB,EAAE;IAC/B,KAAK,CAACA,KAAK,EAAEX,aAAa,EAAE,IAAID,YAAY,CAAC,CAAC,EAAE,IAAIO,YAAY,CAAC,CAAC,CAAC;EACrE;EAEQM,WAAWA,CAAA,EAAI;IACrB,oBAAOnB,KAAA,CAAAoB,aAAA,CAACnB,IAAI;MAACoB,KAAK,EAAE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8E,QAAQ;MAACC,GAAG,EAAG,QAAOF,KAAM;IAAE,GAClC,CAACrE,KAAK,CAACuC,IAAI,CAACG,IAAI,CAAC,gBAChBlD,KAAA,CAAAoB,aAAA,CAACR,QAAQ;MAACU,MAAM,EAAE0C,UAAW;MAAC1B,OAAO,EAAES,IAAI,CAACE,IAAK;MAAC+B,SAAS,EAAEjC,IAAI,CAACG;IAAK,CAAE,CAAC,gBAE1ElD,KAAA,CAAAoB,aAAA,CAACnB,IAAI;MACHoB,KAAK,EAAE,CACL,IAAI,CAACC,MAAM,CAAC2B,IAAI,EAChB;QACEgC,KAAK,EACH/D,KAAK,CAACgE,OAAO,KAAK,KAAK,GACnB,KAAK,GACL,IAAI,CAAC5D,MAAM,CAAC2B,IAAI,CAACgC;MACzB,CAAC,CACD;MACFE,UAAU,EAAE,IAAI,CAAC7D,MAAM,CAAC2B,IAAI,CAACmC,UAAU,KAAK;IAAO,GAElD3E,QAAQ,CAACsC,IAAI,CAACE,IAAI,CAAC,EACnB/B,KAAK,CAACmE,QAAQ,IAAI,IAAI,CAAClE,WAAW,CAAC,CAChC,CAEM,CACjB,CACG,CACE,CACE,CAAC,GACb,IAAI;EACV;AACF"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["BASE_THEME","deepCopy","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","fontSize","color","labelDefaultColor","asterisk","labelAsteriskColor","marginLeft","skeleton","width","height","borderRadius","link","marginBottom","padding","flexDirection","textAlign","getLabelStyles","textColor","backgroundColor","paddingLeft","paddingTop","paddingRight","paddingBottom","fontWeight","labelDangerColor","labelDangerContrastColor","labelDefaultContrastColor","labelInfoColor","labelInfoContrastColor","labelPrimaryColor","labelPrimaryContrastColor","labelSuccessColor","labelSuccessContrastColor","labelWarningColor","labelWarningContrastColor","getTextStyles","labelTextDangerColor","labelTextInfoColor","labelTextPrimaryColor","labelTextSuccessColor","labelTextWarningColor","getHeadingStyles","overrides","margin","labelHeaderColor","heading1FontSize","heading2FontSize","heading3FontSize","heading4FontSize","heading5FontSize","heading6FontSize","labelTextMutedColor"],"sources":["label.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { deepCopy } from '@wavemaker/app-rn-runtime/core/utils';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\nimport { WmAnchorStyles } from '../anchor/anchor.styles';\n\nexport type WmLabelStyles = BaseStyles & {\n asterisk: AllStyle,\n skeleton: WmSkeletonStyles \n link: WmAnchorStyles\n};\n\nexport const DEFAULT_CLASS = 'app-label';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmLabelStyles = defineStyles({\n root: {\n },\n text: {\n fontSize: 16,\n color: themeVariables.labelDefaultColor\n },\n asterisk: {\n color: themeVariables.labelAsteriskColor,\n marginLeft: 2\n },\n skeleton: {\n root:{\n width: '100%',\n height: 16,\n borderRadius: 4\n }\n } as any as WmSkeletonStyles,\n link: {\n root: {\n marginBottom: -4\n },\n text: {\n padding: 0\n }\n } as WmAnchorStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n root : {\n flexDirection: 'row',\n textAlign: 'right'\n }\n });\n const getLabelStyles = (color: string, textColor: string): WmLabelStyles => {\n return {\n root: {\n backgroundColor: color,\n paddingLeft: 32,\n paddingTop: 16,\n paddingRight: 32,\n paddingBottom: 16,\n borderRadius: 6\n },\n text: {\n color: textColor,\n fontWeight: 'bold'\n }\n } as WmLabelStyles;\n };\n\n addStyle('label-danger', '', getLabelStyles(themeVariables.labelDangerColor, themeVariables.labelDangerContrastColor));\n addStyle('label-default', '', getLabelStyles(themeVariables.labelDefaultColor, themeVariables.labelDefaultContrastColor));\n addStyle('label-info', '', getLabelStyles(themeVariables.labelInfoColor, themeVariables.labelInfoContrastColor));\n addStyle('label-primary', '', getLabelStyles(themeVariables.labelPrimaryColor, themeVariables.labelPrimaryContrastColor));\n addStyle('label-success', '', getLabelStyles(themeVariables.labelSuccessColor, themeVariables.labelSuccessContrastColor));\n addStyle('label-warning', '', getLabelStyles(themeVariables.labelWarningColor, themeVariables.labelWarningContrastColor));\n addStyle('label-test', '', getLabelStyles('yellow', 'red'));\n addStyle('label-test1', '', getLabelStyles('blue', 'orange'));\n\n const getTextStyles = (color: string) => {\n return {\n text: {\n color: color\n }\n } as WmLabelStyles;\n };\n\n addStyle('text-danger', '', getTextStyles(themeVariables.labelTextDangerColor));\n addStyle('text-info', '', getTextStyles(themeVariables.labelTextInfoColor));\n addStyle('text-primary', '', getTextStyles(themeVariables.labelTextPrimaryColor));\n addStyle('text-success', '', getTextStyles(themeVariables.labelTextSuccessColor));\n addStyle('text-warning', '', getTextStyles(themeVariables.labelTextWarningColor));\n addStyle('text-center', '', {\n root: {\n textAlign: 'center'\n }\n } as WmLabelStyles);\n addStyle('text-left', '', {\n root: {\n textAlign: 'left'\n }\n } as WmLabelStyles);\n addStyle('text-right', '', {\n root: {\n textAlign: 'right'\n }\n } as WmLabelStyles);\n\n\n const getHeadingStyles = (fontSize: number, overrides?: WmLabelStyles) => {\n return deepCopy({\n text: {\n fontWeight: '400',\n fontSize: fontSize,\n margin: 4,\n color: themeVariables.labelHeaderColor\n }\n } as WmLabelStyles, overrides);\n };\n addStyle('h1', '', getHeadingStyles(themeVariables.heading1FontSize, {text: {fontWeight: 'bold'}} as WmLabelStyles));\n addStyle('h2', '', getHeadingStyles(themeVariables.heading2FontSize, {text: {fontWeight: '500'}} as WmLabelStyles));\n addStyle('h3', '', getHeadingStyles(themeVariables.heading3FontSize));\n addStyle('h4', '', getHeadingStyles(themeVariables.heading4FontSize));\n addStyle('h5', '', getHeadingStyles(themeVariables.heading5FontSize));\n addStyle('h6', '', getHeadingStyles(themeVariables.heading6FontSize));\n addStyle('media-heading', '', {\n text : {\n fontSize: 16\n }\n } as WmLabelStyles);\n addStyle('text-muted', '', {\n text : {\n color: themeVariables.labelTextMutedColor\n }\n } as WmLabelStyles);\n addStyle('p', '', {\n text : {\n fontSize: 12\n }\n } as WmLabelStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAqB,wCAAwC;AAC9E,SAASC,QAAQ,QAAQ,sCAAsC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAUxF,OAAO,MAAMC,aAAa,GAAG,WAAW;AACxCH,UAAU,CAACI,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA4B,GAAGL,YAAY,CAAC;IAC9CM,IAAI,EAAE,CACN,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,KAAK,EAAEN,cAAc,CAACO;IACxB,CAAC;IACDC,QAAQ,EAAE;MACRF,KAAK,EAAEN,cAAc,CAACS,kBAAkB;MACxCC,UAAU,EAAE;IACd,CAAC;IACDC,QAAQ,EAAE;MACRR,IAAI,EAAC;QACHS,KAAK,EAAE,MAAM;QACbC,MAAM,EAAE,EAAE;QACVC,YAAY,EAAE;MAChB;IACF,CAA4B;IAC5BC,IAAI,EAAE;MACJZ,IAAI,EAAE;QACJa,YAAY,EAAE,CAAC;MACjB,CAAC;MACDZ,IAAI,EAAE;QACJa,OAAO,EAAE;MACX;IACF;EACJ,CAAC,CAAC;EAEFhB,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,MAAM,EAAE,EAAE,EAAE;IACnCK,IAAI,EAAG;MACLe,aAAa,EAAE,KAAK;MACpBC,SAAS,EAAE;IACb;EACF,CAAC,CAAC;EACF,MAAMC,cAAc,GAAGA,CAACd,KAAa,EAAEe,SAAiB,KAAoB;IAC1E,OAAO;MACLlB,IAAI,EAAE;QACJmB,eAAe,EAAEhB,KAAK;QACtBiB,WAAW,EAAE,EAAE;QACfC,UAAU,EAAE,EAAE;QACdC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H1B,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE4C,gBAAgB,CAAC7C,cAAc,CAACkD,gBAAgB,EAAE;IAAC9C,IAAI,EAAE;MAACuB,UAAU,EAAE;IAAK;EAAC,CAAkB,CAAC,CAAC;EACnH1B,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE4C,gBAAgB,CAAC7C,cAAc,CAACmD,gBAAgB,CAAC,CAAC;EACrElD,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE4C,gBAAgB,CAAC7C,cAAc,CAACoD,gBAAgB,CAAC,CAAC;EACrEnD,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE4C,gBAAgB,CAAC7C,cAAc,CAACqD,gBAAgB,CAAC,CAAC;EACrEpD,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE4C,gBAAgB,CAAC7C,cAAc,CAACsD,gBAAgB,CAAC,CAAC;EACrErD,QAAQ,CAAC,eAAe,EAAE,EAAE,EAAE;IAC5BG,IAAI,EAAG;MACLC,QAAQ,EAAE;IACZ;EACF,CAAkB,CAAC;EACnBJ,QAAQ,CAAC,YAAY,EAAE,EAAE,EAAE;IACzBG,IAAI,EAAG;MACLE,KAAK,EAAEN,cAAc,CAACuD;IACxB;EACF,CAAkB,CAAC;EACnBtD,QAAQ,CAAC,GAAG,EAAE,EAAE,EAAE;IAChBG,IAAI,EAAG;MACLC,QAAQ,EAAE;IACZ;EACF,CAAkB,CAAC;AACrB,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Color","View","Platform","Defs","LinearGradient","Stop","Svg","VictoryArea","VictoryChart","VictoryLegend","VictoryStack","VictoryScatter","VictoryGroup","WmAreaChartProps","DEFAULT_CLASS","BaseChartComponent","BaseChartComponentState","isNumber","WmAreaChartState","constructor","arguments","_defineProperty","WmAreaChart","props","e","viewWidth","nativeEvent","layout","width","updateState","chartWidth","onSelect","event","data","value","index","y","label","state","xaxisDatakeyArr","datum","x","selectedItem","dataset","selectedChartItem","series","_dataObj","invokeEventCallback","proxy","renderWidget","_this$state$data","length","mindomain","xdomain","chartMinX","undefined","ydomain","chartMinY","chartName","name","gradientStop","chartMaxY","createElement","style","styles","root","onLayout","onViewLayoutChange","bind","theme","height","padding","top","bottom","left","right","minDomain","containerComponent","getTooltip","title","subheading","orientation","gutter","getLegendView","getXaxis","getYAxis","map","d","i","key","id","x1","y1","x2","y2","offset","stopColor","colors","lighten","rgb","toString","interpolation","fill","stroke","strokeWidth","linethickness","highlightpoints","size","darken","events","target","eventHandlers","OS","onClick","onPress"],"sources":["area-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport Color from \"color\";\nimport { LayoutChangeEvent, View, Text, Platform } from 'react-native';\nimport { Defs, LinearGradient, Stop, Svg } from 'react-native-svg';\nimport { VictoryArea, VictoryLine, VictoryChart, VictoryLegend, VictoryStack, VictoryScatter, VictoryGroup } from \"victory-native\";\nimport { InterpolationPropType } from 'victory-core';\nimport WmAreaChartProps from './area-chart.props';\nimport { DEFAULT_CLASS, WmAreaChartStyles } from './area-chart.styles';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from \"@wavemaker/app-rn-runtime/components/chart/basechart.component\";\nimport ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';\nimport { isNil, isNumber } from 'lodash-es';\n\nexport class WmAreaChartState extends BaseChartComponentState<WmAreaChartProps> {\n chartWidth = 0;\n}\n\nexport default class WmAreaChart extends BaseChartComponent<WmAreaChartProps, WmAreaChartState, WmAreaChartStyles> {\n\n constructor(props: WmAreaChartProps) {\n super(props, DEFAULT_CLASS, new WmAreaChartProps(), new WmAreaChartState());\n }\n\n onViewLayoutChange = (e: LayoutChangeEvent) => {\n let viewWidth = e.nativeEvent.layout.width;\n this.updateState({\n chartWidth: viewWidth\n } as WmAreaChartState)\n }\n\n onSelect(event: any, data: any){\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 let selectedChartItem = [{series: 0, x: data.index, y: value,_dataObj: selectedItem},data.index];\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\n }\n\n renderWidget(props: WmAreaChartProps) {\n this.invokeEventCallback('onBeforerender', [this.proxy, null]);\n if (!this.state.data?.length) {\n return null;\n }\n let mindomain={\n x: props.xdomain === 'Min' ? this.state.chartMinX: undefined,\n y: props.ydomain === 'Min' ? this.state.chartMinY: undefined\n };\n const chartName = this.props.name ?? 'nonameAreachart';\n let gradientStop = '100%';\n if (isNumber(this.state.chartMaxY) && isNumber(this.state.chartMinY) && this.state.chartMaxY > 0) {\n gradientStop = (this.state.chartMaxY - this.state.chartMinY) * 100 / this.state.chartMaxY + '%';\n }\n return (\n <View\n style={this.styles.root}\n onLayout={this.onViewLayoutChange.bind(this)}\n >\n {this.state.chartWidth ? \n (\n <VictoryChart\n theme={this.state.theme}\n height={this.styles.root.height as number}\n width={this.state.chartWidth || 120}\n padding={{ top: 70, bottom: 50, left: 50, right: 30 }}\n minDomain={mindomain}\n containerComponent={\n this.getTooltip(props)\n }\n > \n <VictoryLegend\n name={'legend'}\n containerComponent={<Svg />}\n title={[props.title, props.subheading]}\n orientation=\"horizontal\"\n gutter={20}\n data={[]}\n theme={this.state.theme}\n />\n {this.getLegendView()}\n {this.getXaxis()}\n {this.getYAxis()}\n <VictoryStack>\n {\n this.state.data.map((d: any, i: number) => {\n return <VictoryGroup key={props.name + '_area_group_' + i}>\n <Defs>\n <LinearGradient id={`${chartName}Gradient${i}`} x1=\"0%\" y1=\"0%\" x2=\"0%\" y2=\"100%\">\n <Stop offset=\"0%\" stopColor={Color(this.state.colors[i]).lighten(0.2).rgb().toString()}/>\n <Stop offset={gradientStop} stopColor={Color(this.state.colors[i]).lighten(0.6).rgb().toString()}/>\n </LinearGradient>\n </Defs>\n <VictoryArea\n interpolation={props.interpolation as InterpolationPropType}\n key={props.name + '_' + i}\n name={props.name + '_' + i}\n style={{\n data: {\n fill: `url(#${chartName}Gradient${i})`,\n stroke: this.state.colors[i],\n strokeWidth: props.linethickness,\n }\n }}\n data={d}\n />\n {props.highlightpoints ?\n <VictoryScatter\n size={5}\n key={props.name + '_scatter' + i}\n style={{\n data: { \n fill: Color(this.state.colors[i]).darken(0.2).rgb().toString()}\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 : null}\n </VictoryGroup>\n })\n }\n </VictoryStack>\n </VictoryChart>\n )\n : null}\n </View>);\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK,MAAM,OAAO;AACzB,SAA4BC,IAAI,EAAQC,QAAQ,QAAQ,cAAc;AACtE,SAASC,IAAI,EAAEC,cAAc,EAAEC,IAAI,EAAEC,GAAG,QAAQ,kBAAkB;AAClE,SAASC,WAAW,EAAeC,YAAY,EAAEC,aAAa,EAAEC,YAAY,EAAEC,cAAc,EAAEC,YAAY,QAAQ,gBAAgB;AAElI,OAAOC,gBAAgB,MAAM,oBAAoB;AACjD,SAASC,aAAa,QAA2B,qBAAqB;AACtE,SACEC,kBAAkB,EAClBC,uBAAuB,QAClB,gEAAgE;AAEvE,SAAgBC,QAAQ,QAAQ,WAAW;AAE3C,OAAO,MAAMC,gBAAgB,SAASF,uBAAuB,CAAmB;EAAAG,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,qBACjE,CAAC;EAAA;AAChB;AAEA,eAAe,MAAMC,WAAW,SAASP,kBAAkB,CAAwD;EAEjHI,WAAWA,CAACI,KAAuB,EAAE;IACnC,KAAK,CAACA,KAAK,EAAET,aAAa,EAAE,IAAID,gBAAgB,CAAC,CAAC,EAAE,IAAIK,gBAAgB,CAAC,CAAC,CAAC;IAACG,eAAA,6BAGxDG,CAAoB,IAAK;MAC7C,IAAIC,SAAS,GAAGD,CAAC,CAACE,WAAW,CAACC,MAAM,CAACC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8C,OAAO,EAAE,IAAI,CAACnF,QAAQ,CAACqC,IAAI,CAAC,IAAI;UAClC;QACF,CAAC;MAAE,CACF,CAAC,GACJ,IACU,CAAC;IACjB,CAAC,CAEW,CACF,CAAC,GAEjB,IACE,CAAC;EACT;AACF"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","Platform","VictoryChart","VictoryBar","VictoryLegend","VictoryStack","VictoryGroup","BaseChartComponent","BaseChartComponentState","WmBarChartProps","DEFAULT_CLASS","Svg","WmBarChartState","WmBarChart","constructor","props","labelFn","data","abbreviateNumber","datum","y","getBarChart","state","map","d","i","createElement","key","name","horizontal","labels","showvalues","bind","undefined","height","style","customcolors","fill","_ref","colors","x","length","events","target","eventHandlers","OS","onClick","onSelect","onPress","event","value","index","label","xaxisDatakeyArr","selectedItem","dataset","selectedChartItem","series","_dataObj","invokeEventCallback","nativeEvent","proxy","renderWidget","mindomain","xdomain","chartMinX","ydomain","chartMinY","styles","root","theme","width","screenWidth","minDomain","padding","top","offsettop","bottom","offsetbottom","left","offsetleft","right","offsetright","containerComponent","getTooltip","title","subheading","orientation","gutter","getLegendView","getXaxis","getYAxis","viewtype","colorScale","offset"],"sources":["bar-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, Platform } from 'react-native';\n\nimport {\n VictoryChart,\n VictoryBar,\n VictoryLegend,\n VictoryStack,\n VictoryGroup\n} from \"victory-native\";\n\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from \"@wavemaker/app-rn-runtime/components/chart/basechart.component\";\nimport WmBarChartProps from './bar-chart.props';\nimport { DEFAULT_CLASS, WmBarChartStyles } from './bar-chart.styles';\nimport { Svg } from \"react-native-svg\";\n\nexport class WmBarChartState extends BaseChartComponentState<WmBarChartProps> {}\n\nexport default class WmBarChart extends BaseChartComponent<WmBarChartProps, WmBarChartState, WmBarChartStyles> {\n\n constructor(props: WmBarChartProps) {\n super(props, DEFAULT_CLASS, new WmBarChartProps(), new WmBarChartState());\n }\n\n labelFn(data: any): string | number | string[] | number[] | null {\n return this.abbreviateNumber(data.datum.y);\n }\n\n getBarChart(props: WmBarChartProps) {\n return this.state.data.map((d: any, i: number) => {\n return <VictoryBar key={props.name + '_' + i}\n horizontal={props.horizontal} labels={props.showvalues ? this.labelFn.bind(this) : undefined}\n data={d}\n height={100}\n style={props.customcolors?{\n data: {\n fill: ({ datum }) => this.state.colors[datum.x] ?? this.state.colors[datum.x % this.state.colors.length]\n }\n }:{}}\n events={[{\n target: 'data',\n eventHandlers: Platform.OS == \"web\" ? {\n onClick: this.onSelect.bind(this)\n }:{\n onPress: this.onSelect.bind(this)\n }\n }]}/>\n });\n}\n\nonSelect(event: any, data: any){\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 let selectedChartItem = [{series: 0, x: data.index, y: value,_dataObj: selectedItem},data.index];\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\n}\n\n renderWidget(props: WmBarChartProps) {\n this.invokeEventCallback('onBeforerender', [this.proxy, null]);\n if (!this.state.data.length) {\n return null;\n }\n let mindomain={x: this.props.xdomain === 'Min' ? this.state.chartMinX: undefined, y: this.props.ydomain === 'Min' ? this.state.chartMinY: undefined};\n return (<View\n style={this.styles.root}\n ><VictoryChart theme={this.state.theme}\n height={this.styles.root.height as number}\n width={this.styles.root.width as number || this.screenWidth}\n minDomain={mindomain}\n padding={{ top: props.offsettop, bottom: props.offsetbottom, left: props.offsetleft, right: props.offsetright }}\n containerComponent={\n this.getTooltip(props)\n }>\n <VictoryLegend\n name={'legend'}\n containerComponent={<Svg />}\n title={[props.title, props.subheading]}\n orientation=\"horizontal\"\n gutter={20}\n data={[]}\n theme={this.state.theme}\n />\n {this.getLegendView()}\n {this.getXaxis()}\n {this.getYAxis()}\n {\n props.viewtype === 'Stacked' ? <VictoryStack colorScale={this.state.colors}>\n {\n this.getBarChart(props)\n }\n </VictoryStack> : <VictoryGroup colorScale={this.state.colors} offset={5}>\n {\n this.getBarChart(props)\n }\n </VictoryGroup>\n }\n </VictoryChart></View>);\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,QAAQ,QAAQ,cAAc;AAE7C,SACEC,YAAY,EACZC,UAAU,EACVC,aAAa,EACbC,YAAY,EACZC,YAAY,QACP,gBAAgB;AAEvB,SACEC,kBAAkB,EAClBC,uBAAuB,QAClB,gEAAgE;AACvE,OAAOC,eAAe,MAAM,mBAAmB;AAC/C,SAASC,aAAa,QAA0B,oBAAoB;AACpE,SAASC,GAAG,QAAQ,kBAAkB;AAEtC,OAAO,MAAMC,eAAe,SAASJ,uBAAuB,CAAkB;AAE9E,eAAe,MAAMK,UAAU,SAASN,kBAAkB,CAAqD;EAE7GO,WAAWA,CAACC,KAAsB,EAAE;IAClC,KAAK,CAACA,KAAK,EAAEL,aAAa,EAAE,IAAID,eAAe,CAAC,CAAC,EAAE,IAAIG,eAAe,CAAC,CAAC,CAAC;EAC3E;EAEAI,OAAOA,CAACC,IAAS,EAAgD;IAC/D,OAAO,IAAI,CAACC,gBAAgB,CAACD,IAAI,CAACE,KAAK,CAACC,CAAC,CAAC;EAC5C;EAEAC,WAAWA,CAACN,KAAsB,EAAE;IACpC,OAAO,IAAI,CAACO,KAAK,CAACL,IAAI,CAACM,GAAG,CAAC,CAACC,CAAM,EAAEC,CAAS,KAAK;MAChD,oBAAO1B,KAAA,CAAA2B,aAAA,CAACvB,UAAU;QAACwB,GAAG,EAAEZ,KAAK,CAACa,IAAI,GAAG,GAAG,GAAGH,CAAE;QACzCI,UAAU,EAAEd,KAAK,CAACc,UAAW;QAACC,MAAM,EAAEf,KAAK,CAACgB,UAAU,GAAG,IAAI,CAACf,OAAO,CAACgB,IAAI,CAAC,IAAI,CAAC,GAAGC,SAAU;QAC7FhB,IAAI,EAAEO,CAAE;QACRU,MAAM,EAAE,GAAI;QACZC,KAAK,EAAEpB,KAAK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rBhB,KAAA,CAAA2B,aAAA,CAACtB,aAAa;MACZwB,IAAI,EAAE,QAAS;MACfuD,kBAAkB,eAAEpF,KAAA,CAAA2B,aAAA,CAACf,GAAG,MAAE,CAAE;MAC5B0E,KAAK,EAAE,CAACtE,KAAK,CAACsE,KAAK,EAAEtE,KAAK,CAACuE,UAAU,CAAE;MACvCC,WAAW,EAAC,YAAY;MACxBC,MAAM,EAAE,EAAG;MACXvE,IAAI,EAAE,EAAG;MACTqD,KAAK,EAAE,IAAI,CAAChD,KAAK,CAACgD;IAAM,CACzB,CAAC,EACD,IAAI,CAACmB,aAAa,CAAC,CAAC,EACpB,IAAI,CAACC,QAAQ,CAAC,CAAC,EACf,IAAI,CAACC,QAAQ,CAAC,CAAC,EAEd5E,KAAK,CAAC6E,QAAQ,KAAK,SAAS,gBAAG7F,KAAA,CAAA2B,aAAA,CAACrB,YAAY;MAACwF,UAAU,EAAE,IAAI,CAACvE,KAAK,CAACiB;IAAO,GAEvE,IAAI,CAAClB,WAAW,CAACN,KAAK,CAEZ,CAAC,gBAAGhB,KAAA,CAAA2B,aAAA,CAACpB,YAAY;MAACuF,UAAU,EAAE,IAAI,CAACvE,KAAK,CAACiB,MAAO;MAACuD,MAAM,EAAE;IAAE,GAErE,IAAI,CAACzE,WAAW,CAACN,KAAK,CAEZ,CAEJ,CAAO,CAAC;EACxB;AACF"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Dimensions","moment","forEach","get","isArray","isEmpty","isObject","maxBy","minBy","set","trim","orderBy","VictoryAxis","VictoryLegend","VictoryLabel","VictoryVoronoiContainer","VictoryTooltip","BaseComponent","BaseComponentState","WmIcon","ThemeFactory","DEFAULT_CLASS","BaseChartComponentState","constructor","arguments","_defineProperty","undefined","screenWidth","width","shapes","SI_SYMBOL","BaseChartComponent","props","defaultClass","length","defaultProps","defaultState","theme","applyTheme","componentDidMount","abbreviateNumber","number","tier","Math","log10","abs","suffix","scale","pow","scaled","toFixed","getLegendView","colorScale","state","showlegend","top","parseInt","styles","root","height","orientation","createElement","name","gutter","data","legendData","style","border","stroke","borderPadding","left","y","getYScaleMinValue","value","_min","floor","getXaxis","minIndex","maxIndex","xaxisDatakeyArr","getTickValueLabel","xtickexpr","crossAxis","label","xaxislabel","xaxisdatakey","xunits","axisLabel","mergeStyle","yAxisLabel","padding","yaxislabeldistance","grid","hidegridxaxis","xGrid","axis","showxaxis","xAxis","ticks","xTicks","tickLabels","xTickLabels","fixLabelOverlap","autoadjustlabels","tickLabelComponent","angle","labelangle","tickCount","invertAxis","isRTL","tickFormat","d","i","getYAxis","showyaxis","ytickexpr","yaxislabel","yaxisdatakey","yunits","hidegridyaxis","yGrid","yAxis","yTicks","yTickLabels","dependentAxis","getTooltip","tooltipContainer","xaxis","labels","_ref","datum","dataset","x","voronoiBlacklist","map","item","labelComponent","fill","tooltipXText","color","tooltipYText","tooltiporientation","pointerLength","tooltippointerlength","pointerWidth","tooltippointerwidth","flyoutHeight","tooltipheight","flyoutWidth","tooltipwidth","flyoutStyle","backgroundColor","borderColor","strokeWidth","borderWidth","flyoutPadding","paddingTop","bottom","paddingBottom","paddingLeft","right","paddingRight","cornerRadius","borderRadius","centerOffset","tooltipcenteroffsetx","tooltipcenteroffsety","constrainToVisibleArea","isAxisDomainSupported","type","isAxisDomainValid","areMinMaxValuesValid","values","isFinite","min","max","setDomainValues","xDomainValues","yDomainValues","getXMinMaxValues","getYMinMaxValues","updateState","chartMinX","chartMaxX","yMin","chartMinY","chartMaxY","xValues","dataObject","yValues","minValues","maxValues","push","setHeightWidthOnChart","cb","chartHeight","chartWidth","themeName","colorsToUse","customcolors","split","themeToUse","getColorsObj","getTheme","colors","prepareLegendData","ldata","prepareEvents","_","idx","childName","target","eventKey","String","eventHandlers","onClick","mutation","onMouseOver","onMouseOut","getxAxisVal","dataObj","xKey","index","isValid","isNaN","prepareDataItems","yaxis","datasets","yPts","o","xindex","xVal","yVal","parseFloat","bubblesize","shape","invokeEventCallback","proxy","setTimeout","endAngle","updateData","renderLoadingIcon","loadingIcon","iconclass","loadingicon","caption","loadingdatamsg","labeltype","setTotal","ydomain","xdomain","loading","total","onPropertyChange","$new","$old","units","xLabel","yLabel"],"sources":["basechart.component.tsx"],"sourcesContent":["import React from \"react\";\nimport { Dimensions } from 'react-native';\nimport moment from \"moment\";\nimport {forEach, get, isArray, isEmpty, isObject, maxBy, minBy, set, trim, orderBy} from \"lodash-es\";\nimport { ScatterSymbolType } from \"victory-core\";\nimport {VictoryAxis, VictoryLegend, VictoryLabel, VictoryVoronoiContainer, VictoryTooltip} from \"victory-native\";\n\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmIcon from \"@wavemaker/app-rn-runtime/components/basic/icon/icon.component\";\nimport ThemeFactory from \"@wavemaker/app-rn-runtime/components/chart/theme/chart.theme\";\n\nimport BaseChartComponentProps from \"./basechart.props\";\nimport { DEFAULT_CLASS, BaseChartComponentStyles} from \"./basechart.styles\";\nimport _ from \"lodash\";\n\n\nexport class BaseChartComponentState <T extends BaseChartComponentProps> extends BaseComponentState<T> {\n data: any = [];\n content: any = null;\n yAxis: Array<string> = [];\n xaxisDatakeyArr: Array<any> = [];\n legendData: any = [];\n theme: any;\n colors: any;\n xLabel: string = '';\n yLabel: string = '';\n total: number = 0;\n endAngle: number = 0;\n loading: boolean = true;\n chartHeight: number = 0;\n chartWidth: number = 0;\n chartMinY: number | undefined = undefined;\n chartMinX: number | undefined = undefined;\n chartMaxY: number | undefined = undefined;\n chartMaxX: number | undefined = undefined;\n}\n\nconst screenWidth = Dimensions.get(\"window\").width;\n\nconst shapes: {[key: string]: ScatterSymbolType} = {\n 'circle': 'circle',\n 'cross': 'cross',\n 'diamond': 'diamond',\n 'plus': 'plus',\n 'minus': 'minus',\n 'square': 'square',\n 'star': 'star',\n 'triangle-down': 'triangleDown',\n 'triangle-up': 'triangleUp'\n};\n\nconst SI_SYMBOL = [\"\", \"k\", \"M\", \"G\", \"T\", \"P\", \"E\"];\n\nexport abstract class BaseChartComponent<T extends BaseChartComponentProps, S extends BaseChartComponentState<T>, L extends BaseChartComponentStyles> extends BaseComponent<T, S, L> {\n protected screenWidth: number = screenWidth;\n constructor(props: T, public defaultClass: string = DEFAULT_CLASS, defaultProps?: T, defaultState?: S) {\n super(props, defaultClass, defaultProps, defaultState);\n if (!props.theme) {\n this.applyTheme(props);\n }\n }\n\n componentDidMount() {\n super.componentDidMount();\n }\n\n abbreviateNumber(number: any) {\n if (typeof number !== 'number') {\n return number;\n }\n const tier = Math.log10(Math.abs(number)) / 3 | 0;\n\n if (tier == 0) {\n return number;\n }\n\n // get suffix and determine scale\n const suffix = SI_SYMBOL[tier];\n const scale = Math.pow(10, tier * 3);\n\n // scale the number\n var scaled = number / scale;\n\n // format number and add suffix\n return scaled.toFixed(1) + suffix;\n }\n\n getLegendView(colorScale?: any) {\n if (this.state.props.showlegend === 'hide') {\n return null;\n }\n const props = this.state.props;\n let top = props.showlegend === 'bottom' ? parseInt(this.styles.root.height as string) : 0;\n if (top) {\n top = top - (50); // remove legendHeight\n }\n const orientation = (props.showlegend === 'right' || props.showlegend === 'left') ? 'vertical' : 'horizontal';\n return <VictoryLegend\n colorScale={colorScale}\n name={'legendData'}\n orientation={orientation}\n gutter={20}\n data={this.state.legendData}\n style={{ border: { stroke: 'none' } }}\n borderPadding={{top: 30, left: 50}}\n y={top}\n />\n }\n\n getYScaleMinValue(value: number) {\n const _min = Math.floor(value);\n return Math.abs(value) - _min > 0 ? value - .1 : _min - 1;\n };\n\n // x axis with vertical lines having grid stroke colors\n getXaxis() {\n const minIndex = 0;\n const maxIndex = this.state.xaxisDatakeyArr.length - 1;\n const props = this.state.props;\n const getTickValueLabel = props.xtickexpr as any;\n return <VictoryAxis crossAxis={false} label={(props.xaxislabel || props.xaxisdatakey || \"name\") + (props.xunits ? `(${props.xunits})` : '')}\n style={{\n axisLabel: this.theme.mergeStyle(this.styles.axisLabel, this.styles.yAxisLabel, {padding: props.yaxislabeldistance}),\n grid: props.hidegridxaxis ?\n { stroke: null } : this.theme.mergeStyle(this.styles.grid, this.styles.xGrid),\n axis: props.showxaxis === false ?\n { stroke: 'none' } : this.theme.mergeStyle(this.styles.axis, this.styles.xAxis),\n ticks: this.theme.mergeStyle(this.styles.ticks, this.styles.xTicks),\n tickLabels: this.theme.mergeStyle(this.styles.tickLabels, this.styles.xTickLabels)\n }}\n fixLabelOverlap= {props.autoadjustlabels?true:false}\n tickLabelComponent={<VictoryLabel angle={props.labelangle || 0} />} theme={this.state.theme}\n tickCount={this.state.xaxisDatakeyArr.length} \n invertAxis={this.isRTL}\n tickFormat= {(d, i, ticks) => {\n if (getTickValueLabel) {\n return getTickValueLabel(this.state.xaxisDatakeyArr[d], i, (ticks || []).length);\n } else if (this.state.xaxisDatakeyArr) {\n return this.state.xaxisDatakeyArr[d];\n }\n return '';\n }}\n />; \n} \n\n\n /* y axis with horizontal lines having grid stroke colors*/\n getYAxis() {\n const props = this.state.props;\n if (props.showyaxis === false) {\n return null;\n }\n const getTickValueLabel = props.ytickexpr as any;\n return <VictoryAxis crossAxis={false} label={(props.yaxislabel || props.yaxisdatakey) + (props.yunits ? `(${props.yunits})` : '')}\n style={{\n axisLabel: this.theme.mergeStyle(this.styles.axisLabel, this.styles.yAxisLabel, {padding: props.yaxislabeldistance}),\n grid: props.hidegridyaxis ? { stroke: null } : this.theme.mergeStyle(this.styles.grid, this.styles.yGrid),\n axis: props.showxaxis === false ?\n { stroke: 'none' } : this.theme.mergeStyle(this.styles.axis, this.styles.yAxis),\n ticks: this.theme.mergeStyle(this.styles.ticks, this.styles.yTicks),\n tickLabels: this.theme.mergeStyle(this.styles.tickLabels, this.styles.yTickLabels)\n }}\n fixLabelOverlap= {props.autoadjustlabels?true:false}\n theme={this.state.theme}\n tickFormat= {(d, i, ticks) => {\n if (getTickValueLabel) {\n return getTickValueLabel(d, i, (ticks || []).length);\n }\n return this.abbreviateNumber(d);\n }}\n dependentAxis />;\n }\n \n getTooltip(props: BaseChartComponentProps) {\n const tooltipContainer = this.styles.tooltipContainer;\n const xaxis = props.xaxisdatakey;\n return (\n <VictoryVoronoiContainer\n labels={({ datum }) => `${props.dataset[datum.x][xaxis]} \\n Value ${datum.y} `}\n voronoiBlacklist={this.state.data.map((item: any, i: number) => props.name + '_' + i)}\n labelComponent={\n <VictoryTooltip\n style={[{fill: this.styles.tooltipXText.color,...this.styles.tooltipXText},{fill: this.styles.tooltipYText.color,...this.styles.tooltipYText}]}\n orientation={props.tooltiporientation}\n pointerLength={props.tooltippointerlength}\n pointerWidth={props.tooltippointerwidth}\n flyoutHeight={props.tooltipheight}\n flyoutWidth={props.tooltipwidth}\n flyoutStyle={{fill: tooltipContainer.backgroundColor, stroke: tooltipContainer.borderColor, strokeWidth: tooltipContainer.borderWidth,...this.styles.tooltipContainer}}\n flyoutPadding={{top: tooltipContainer.paddingTop, bottom: tooltipContainer.paddingBottom, left: tooltipContainer.paddingLeft, right: tooltipContainer.paddingRight}}\n cornerRadius={tooltipContainer.borderRadius}\n centerOffset={{ x: props.tooltipcenteroffsetx, y: props.tooltipcenteroffsety}}\n constrainToVisibleArea\n />\n }\n />\n );\n }\n \n\n // X/Y Domain properties are supported only for Column and Area charts\n isAxisDomainSupported(type: string) {\n return type === 'Column'|| type === 'Area';\n }\n\n // Check whether X/Y Domain was set to Min and is supported for the present chart\n isAxisDomainValid(axis: string) {\n const props = this.state.props;\n if (get(props, axis + 'domain') === 'Min' && (this.isAxisDomainSupported(props.type))) {\n return true;\n }\n return false;\n };\n\n// Check whether min and max values are finite or not\n areMinMaxValuesValid(values: any) {\n if (isFinite(values.min) && isFinite(values.max)) {\n return true;\n }\n return false;\n };\n\n setDomainValues() {\n let xDomainValues, yDomainValues;\n if (this.state.data.length > 0) {\n if (this.isAxisDomainValid('x') && typeof this.state.data[0].x === 'number') {\n xDomainValues = this.getXMinMaxValues(this.state.data[0]);\n }\n if (this.isAxisDomainValid('y')) {\n yDomainValues = this.getYMinMaxValues(this.state.data);\n }\n if (xDomainValues) {\n this.updateState({\n chartMinX: yDomainValues.min.x,\n chartMaxX: yDomainValues.max.x\n } as S)\n }\n let yMin;\n if (yDomainValues) {\n if (this.areMinMaxValuesValid({max: yDomainValues.max.y, min: yDomainValues.min.y})) {\n yMin = this.getYScaleMinValue(yDomainValues.min.y);\n }\n this.updateState({\n chartMinY: yMin ? yMin : yDomainValues.min.y,\n chartMaxY: yDomainValues.max.y\n } as S);\n }\n }\n }\n\n // Getting the min and max values among all the x values\n getXMinMaxValues(datum: Array<{x: number, y: any}>) {\n if (!datum) {\n return;\n }\n const xValues: any = {};\n /*\n compute the min x valuex\n eg: When data has objects\n input: [{x:1, y:2}, {x:2, y:3}, {x:3, y:4}]\n min x: 1\n eg: When data has arrays\n input: [[10, 20], [20, 30], [30, 40]];\n min x: 10\n */\n xValues.min = minBy(datum, (dataObject: {x: any, y: any}) => dataObject.x) || {x: undefined};\n /*\n compute the max x value\n eg: When data has objects\n input: [{x:1, y:2}, {x:2, y:3}, {x:3, y:4}]\n max x: 3\n eg: When data has arrays\n input: [[10, 20], [20, 30], [30, 40]];\n max x: 30\n */\n xValues.max = maxBy(datum, (dataObject: {x: any, y: any}) => dataObject.x)|| {x: undefined};\n return xValues;\n }\n\n // Getting the min and max values among all the y values\n getYMinMaxValues(datum: Array<Array<{x: any, y: number}>>) {\n const yValues: any = {},\n minValues: any = [],\n maxValues: any = [];\n if (!datum) {\n return;\n }\n\n /*\n Getting the min and max y values among all the series of data\n compute the min y value\n eg: When data has objects\n input: [[{x:1, y:2}, {x:2, y:3}, {x:3, y:4}], [{x:2, y:3}, {x:3, y:4}, {x:4, y:5}]]\n min y values : '2'(among first set) & '3'(among second set)\n max y values : '4'(among first set) & '5'(among second set)\n\n eg: When data has arrays\n input: [[[10, 20], [20, 30], [30, 40]], [[20, 30], [30, 40], [40, 50]]]\n min y values : '20'(among first set) & '30'(among second set)\n max y values : '40'(among first set) & '50'(among second set)\n */\n\n forEach(datum, data => {\n if (data && !isEmpty(data)) {\n minValues.push(minBy(data, (dataObject: {x: any, y: any}) => { return dataObject.y }));\n maxValues.push(maxBy(data, (dataObject: {x: any, y: any}) => { return dataObject.y }));\n }\n });\n // Gets the least and highest values among all the min and max values of respective series of data\n yValues.min = minBy(minValues, (dataObject: {x: any, y: any}) => dataObject.y) || {y: undefined};\n yValues.max = maxBy(maxValues, (dataObject: {x: any, y: any}) => dataObject.y) || {y: undefined};\n return yValues;\n }\n\n setHeightWidthOnChart(cb?: () => void) {\n let height = this.styles.root.height || 250;\n let width = this.styles.root.width || screenWidth;\n if (height && typeof height === 'string') {\n height = parseInt(height);\n }\n if (width && typeof width === 'string') {\n width = parseInt(width);\n }\n this.updateState({\n chartHeight: height,\n chartWidth: width\n } as S, cb);\n }\n\n applyTheme(props: BaseChartComponentProps) {\n let themeName = props.theme ? props.theme : (props.type === 'Pie' ? 'Azure' : 'Terrestrial');\n let colorsToUse = [];\n if (typeof props.customcolors === 'string' && !isEmpty(props.customcolors)) {\n colorsToUse = props.customcolors.split(',').map(trim);\n }\n let themeToUse;\n if (typeof themeName === 'string') {\n if (!colorsToUse.length) {\n colorsToUse = ThemeFactory.getColorsObj(themeName);\n }\n themeToUse = ThemeFactory.getTheme(themeName, props.styles, colorsToUse);\n } else if (typeof themeName === 'object') {\n // if theme is passed as an object then use that custom theme.\n themeToUse = props.theme;\n }\n this.updateState({\n colors: colorsToUse,\n theme: themeToUse\n } as S);\n }\n\n prepareLegendData() {\n const props = this.state.props;\n if (this.state.yAxis) {\n let ldata: any;\n if (props.type === 'Stack') {\n const data = orderBy(this.state.data[0], 'y', 'asc');\n ldata = data.map((d: any) => {\n return {\n name: this.state.xaxisDatakeyArr[d.x]\n }\n });\n } else {\n ldata = this.state.yAxis.map((d: string) => {\n return {\n name: d\n }\n });\n }\n\n this.updateState({\n legendData: ldata\n } as S);\n }\n }\n\n prepareEvents(name: string) {\n return this.state.legendData.map((_: any, idx: number) => {\n return {\n childName: ['legend'],\n target: 'data',\n eventKey: String(idx),\n eventHandlers: {\n onClick: () => {\n return [\n {\n childName: [name + '_' + idx],\n target: 'data',\n eventKey: 'all',\n mutation: (props: any) => {\n return null;\n }\n }\n ];\n },\n onMouseOver: () => {\n },\n onMouseOut: () => {\n }\n }\n };\n });\n }\n\n // If date string is bound to xaxis then we are pushing the x values as indexes.\n getxAxisVal(dataObj: {[key: string] : any}, xKey: string, index: number, xaxisDatakeyArr: Array<any>) {\n const value: any = get(dataObj, xKey);\n if (moment(value, true).isValid() || isNaN(value)) {\n xaxisDatakeyArr.push(value);\n return index;\n }\n return value;\n }\n\n prepareDataItems(dataset: any) {\n const props = this.state.props;\n let xaxis = props.xaxisdatakey;\n let yaxis = props.yaxisdatakey;\n let xaxisDatakeyArr: Array<any> = [];\n let datasets: any = [];\n\n if (xaxis && yaxis) {\n let yPts = yaxis.split(',');\n yPts.forEach((y: any) => {\n if (xaxis !== y) {\n datasets.push(dataset.map((o: {[key: string] : any}, xindex: number) => {\n const xVal = this.getxAxisVal(o, xaxis, xindex, xaxisDatakeyArr);\n let yVal: string | number = get(o, y);\n if (typeof yVal === 'string') {\n yVal = parseFloat(yVal) || yVal;\n }\n let dataObj = {\n x: xVal,\n y: yVal,\n };\n if (props.bubblesize) {\n set(dataObj, 'size', get(o, props.bubblesize, 5));\n }\n if (props.shape) {\n set(dataObj, 'symbol', shapes[props.shape]);\n }\n return dataObj;\n }));\n }\n });\n // chartTransform\n this.invokeEventCallback('onTransform', [undefined, this.proxy]);\n if (props.type == 'Pie' || props.type === 'Donut') {\n // for animation effect\n setTimeout(() => {\n this.updateState({\n endAngle: 360,\n } as S);\n }, 500);\n }\n this.updateData(datasets, yPts, xaxisDatakeyArr);\n }\n }\n\n\n protected renderLoadingIcon() {\n const props = this.state.props;\n return (<WmIcon styles={this.styles.loadingIcon}\n iconclass={props.loadingicon}\n caption={props.loadingdatamsg}></WmIcon>);\n }\n\n updateData(datasets: any, yPts: any, xaxisDatakeyArr: Array<any>) {\n const props = this.state.props;\n this.updateState({\n data: datasets as any,\n yAxis: yPts,\n xaxisDatakeyArr: xaxisDatakeyArr\n } as S, () => {\n this.prepareLegendData();\n if (!props.labeltype || props.labeltype === 'percent') {\n this.setTotal(this.state.data[0]);\n }\n if (this.isAxisDomainSupported(props.type) && (props.ydomain || props.xdomain)) {\n this.setDomainValues();\n }\n this.updateState({\n loading: false\n } as S);\n });\n }\n\n setTotal(data: Array<{x: any, y: number}>) {\n let total = 0;\n data.forEach((d: {x: any, y: any}) => {\n total += d.y as number;\n });\n this.updateState({\n total: total\n } as S);\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n super.onPropertyChange(name, $new, $old);\n const props = this.state.props;\n let units = '';\n switch(name) {\n case 'customcolors':\n if (isEmpty($new)) {\n return;\n }\n if (typeof $new === 'string') {\n $new = $new.split(',');\n }\n this.updateState({\n colors: $new\n } as S);\n break;\n case 'theme':\n this.applyTheme(props);\n break;\n case 'dataset':\n if (!isArray($new)) {\n if (isObject($new) && !isEmpty($new)) {\n $new = [$new];\n } else {\n $new = [];\n }\n }\n $new && this.prepareDataItems($new);\n break;\n case 'xaxislabel':\n if (props.xunits) {\n units = ' (' + props.xunits + ')';\n }\n this.updateState({\n xLabel: $new + units\n } as S);\n break;\n case 'yaxislabel':\n if (props.yunits) {\n units = ' (' + props.yunits + ')';\n }\n this.updateState({\n yLabel: $new + units\n } as S);\n break;\n }\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,QAAQ,cAAc;AACzC,OAAOC,MAAM,MAAM,QAAQ;AAC3B,SAAQC,OAAO,EAAEC,GAAG,EAAEC,OAAO,EAAEC,OAAO,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,KAAK,EAAEC,GAAG,EAAEC,IAAI,EAAEC,OAAO,QAAO,WAAW;AAEpG,SAAQC,WAAW,EAAEC,aAAa,EAAEC,YAAY,EAAEC,uBAAuB,EAAEC,cAAc,QAAO,gBAAgB;AAEhH,SAASC,aAAa,EAAE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,CAAC;UACf4E,MAAM,EAAEH,IAAI,GAAGE;QACjB,CAAM,CAAC;QACP;MACF,KAAK,YAAY;QACf,IAAIhO,KAAK,CAACsF,MAAM,EAAE;UAChB0I,KAAK,GAAG,IAAI,GAAGhO,KAAK,CAACsF,MAAM,GAAG,GAAG;QACnC;QACA,IAAI,CAAC+D,WAAW,CAAC;UACf6E,MAAM,EAAEJ,IAAI,GAAGE;QACjB,CAAM,CAAC;QACP;IACJ;EACF;AACF"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["BaseProps","BaseChartComponentProps","constructor","arguments","_defineProperty","undefined"],"sources":["basechart.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class BaseChartComponentProps extends BaseProps {\n xaxisdatakey: string = '';\n yaxisdatakey: string = '';\n iconclass = '';\n dataset: any;\n type: string = '';\n title: string = '';\n subheading: string = '';\n theme: string = '';\n xaxislabel: string = '';\n xunits: string = '';\n staggerlabels: boolean = false;\n yaxislabel: string = '';\n yunits: string = '';\n yaxislabeldistance: number = 60;\n xaxislabeldistance: number = 30;\n customcolors: string | Array<string> = '';\n legendheight: number = 0;\n labellegendheight: number = 0;\n labeltype: 'percent' | 'value' | 'key-value' | 'key' = 'percent';\n bubblesize: string= '';\n shape: string = '';\n loadingicon='fa fa-circle-o-notch fa-pulse';\n loadingdatamsg = 'Loading...';\n nodatamessage = 'No data found';\n offsetbottom: number = 50;\n offsettop: number = 70;\n offsetleft: number = 65;\n offsetright: number = 25;\n showlegend: string = 'top';\n showlabels: 'inside' | 'outside' | 'hide' = 'outside';\n tooltips: boolean = false;\n interpolation: string = 'linear';\n highlightpoints: boolean = false;\n showvalues: boolean = false;\n showyaxis: boolean = true;\n showxaxis: boolean = true;\n ydomain: string = 'Min';\n xdomain: string = 'Min';\n labelangle: number = 0;\n xtickexpr?: (item: any, index: number, length: number) => any;\n ytickexpr?: (item: any, index: number, length: number) => any;\n hidegridxaxis: boolean = false;\n hidegridyaxis: boolean = false;\n autoadjustlabels: boolean = false;\n tooltiporientation : 'top' | 'bottom' | 'left' |'right' = 'top';\n tooltipwidth?: number = undefined;\n tooltipheight?: number = undefined;\n tooltippointerlength?: number = undefined;\n tooltippointerwidth?: number = undefined;\n tooltipcenteroffsetx?: number = undefined;\n tooltipcenteroffsety?: number = undefined;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,uBAAuB,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,uBACtC,EAAE;IAAAA,eAAA,uBACF,EAAE;IAAAA,eAAA,oBACb,EAAE;IAAAA,eAAA;IAAAA,eAAA,eAEC,EAAE;IAAAA,eAAA,gBACD,EAAE;IAAAA,eAAA,qBACG,EAAE;IAAAA,eAAA,gBACP,EAAE;IAAAA,eAAA,qBACG,EAAE;IAAAA,eAAA,iBACN,EAAE;IAAAA,eAAA,wBACM,KAAK;IAAAA,eAAA,qBACT,EAAE;IAAAA,eAAA,iBACN,EAAE;IAAAA,eAAA,6BACU,EAAE;IAAAA,eAAA,6BACF,EAAE;IAAAA,eAAA,uBACQ,EAAE;IAAAA,eAAA,uBAClB,CAAC;IAAAA,eAAA,4BACI,CAAC;IAAAA,eAAA,oBAC0B,SAAS;IAAAA,eAAA,qBAC5C,EAAE;IAAAA,eAAA,gBACN,EAAE;IAAAA,eAAA,sBACN,+BAA+B;IAAAA,eAAA,yBAC1B,YAAY;IAAAA,eAAA,wBACb,eAAe;IAAAA,eAAA,uBACR,EAAE;IAAAA,eAAA,oBACL,EAAE;IAAAA,eAAA,qBACD,EAAE;IAAAA,eAAA,sBACD,EAAE;IAAAA,eAAA,qBACH,KAAK;IAAAA,eAAA,qBACkB,SAAS;IAAAA,eAAA,mBACjC,KAAK;IAAAA,eAAA,wBACD,QAAQ;IAAAA,eAAA,0BACL,KAAK;IAAAA,eAAA,qBACV,KAAK;IAAAA,eAAA,oBACN,IAAI;IAAAA,eAAA,oBACJ,IAAI;IAAAA,eAAA,kBACP,KAAK;IAAAA,eAAA,kBACL,KAAK;IAAAA,eAAA,qBACF,CAAC;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,wBAGG,KAAK;IAAAA,eAAA,wBACL,KAAK;IAAAA,eAAA,2BACF,KAAK;IAAAA,eAAA,6BACyB,KAAK;IAAAA,eAAA,uBACvCC,SAAS;IAAAD,eAAA,wBACRC,SAAS;IAAAD,eAAA,+BACFC,SAAS;IAAAD,eAAA,8BACVC,SAAS;IAAAD,eAAA,+BACRC,SAAS;IAAAD,eAAA,+BACTC,SAAS;EAAA;AAC3C"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["Color","BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","icon","fontSize","line","color","chartLineColor","title","chartTitleColor","lineHeight","subHeading","chartSubTitleColor","legendText","legenedDot","axis","stroke","chartAxisColor","fade","rgb","toString","xAxis","yAxis","axisLabel","xAxisLabel","yAxisLabel","grid","strokeDasharray","xGrid","yGrid","ticks","xTicks","yTicks","tickLabels","xTickLabels","yTickLabels","barChart","tooltipContainer","backgroundColor","tooltipBgColor","borderColor","tooltipBorderColor","borderWidth","paddingTop","paddingBottom","paddingLeft","paddingRight","borderRadius","tooltipXText","tooltipYText"],"sources":["basechart.styles.ts"],"sourcesContent":["import { TextStyle, ViewStyle } from 'react-native';\nimport Color from \"color\";\nimport BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { VictoryStyleObject } from \"victory-core\";\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\n\n\nexport type BaseChartComponentStyles = BaseStyles & {\n title: TextStyle,\n icon: WmIconStyles,\n subHeading: TextStyle,\n axis: VictoryStyleObject,\n xAxis: VictoryStyleObject,\n yAxis: VictoryStyleObject,\n axisLabel: VictoryStyleObject,\n xAxisLabel: VictoryStyleObject,\n yAxisLabel: VictoryStyleObject,\n ticks: VictoryStyleObject,\n xTicks: VictoryStyleObject,\n yTicks: VictoryStyleObject,\n tickLabels: VictoryStyleObject,\n xTickLabels: VictoryStyleObject,\n yTickLabels: VictoryStyleObject,\n grid: VictoryStyleObject,\n xGrid: VictoryStyleObject,\n yGrid: VictoryStyleObject,\n legendText: TextStyle,\n legenedDot: ViewStyle,\n tooltipContainer: any,\n tooltipXText: any,\n tooltipYText: any,\n};\n\nexport const DEFAULT_CLASS = 'app-chart';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: BaseChartComponentStyles = defineStyles({\n root: {},\n text: {},\n icon: {\n icon: {\n fontSize: 20\n }\n } as WmIconStyles,\n line: {\n color: themeVariables.chartLineColor\n },\n title: {\n color: themeVariables.chartTitleColor,\n fontSize: 20,\n lineHeight: 24,\n },\n subHeading: {\n fontSize: 12,\n lineHeight: 16,\n color: themeVariables.chartSubTitleColor\n },\n legendText: {},\n legenedDot: {},\n axis: {\n stroke: Color(themeVariables.chartAxisColor).fade(0.3).rgb().toString()\n } as any,\n xAxis: {} as any,\n yAxis: {} as any,\n axisLabel: {} as any,\n xAxisLabel: {} as any,\n yAxisLabel: {} as any,\n grid: {\n stroke: Color(themeVariables.chartAxisColor).fade(0.8).rgb().toString(),\n strokeDasharray: '16 4'\n } as any,\n xGrid: {} as any,\n yGrid: {} as any,\n ticks: {\n stroke: Color(themeVariables.chartAxisColor).fade(0.8).rgb().toString(),\n } as any,\n xTicks: {} as any,\n yTicks: {} as any,\n tickLabels: {\n stroke: Color(themeVariables.chartAxisColor).fade(0.8).rgb().toString(),\n } as any,\n xTickLabels: {} as any,\n yTickLabels: {} as any,\n barChart: {},\n tooltipContainer:{\n backgroundColor: themeVariables.tooltipBgColor,\n borderColor: themeVariables.tooltipBorderColor,\n borderWidth: 1,\n paddingTop: 10,\n paddingBottom: 10,\n paddingLeft: 6,\n paddingRight: 6,\n borderRadius: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AAG,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;MACvEO,eAAe,EAAE;IACnB,CAAQ;IACRC,KAAK,EAAE,CAAC,CAAQ;IAChBC,KAAK,EAAE,CAAC,CAAQ;IAChBC,KAAK,EAAE;MACLd,MAAM,EAAEvB,KAAK,CAACK,cAAc,CAACmB,cAAc,CAAC,CAACC,IAAI,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC;IACxE,CAAQ;IACRW,MAAM,EAAE,CAAC,CAAQ;IACjBC,MAAM,EAAE,CAAC,CAAQ;IACjBC,UAAU,EAAE;MACVjB,MAAM,EAAEvB,KAAK,CAACK,cAAc,CAACmB,cAAc,CAAC,CAACC,IAAI,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC;IACxE,CAAQ;IACRc,WAAW,EAAE,CAAC,CAAQ;IACtBC,WAAW,EAAE,CAAC,CAAQ;IACtBC,QAAQ,EAAE,CAAC,CAAC;IACZC,gBAAgB,EAAC;MACfC,eAAe,EAAExC,cAAc,CAACyC,cAAc;MAC9CC,WAAW,EAAE1C,cAAc,CAAC2C,kBAAkB;MAC9CC,WAAW,EAAE,CAAC;MACdC,UAAU,EAAE,EAAE;MACdC,aAAa,EAAE,EAAE;MACjBC,WAAW,EAAE,CAAC;MACdC,YAAY,EAAE,CAAC;MACfC,YAAY,EAAE;IAChB,CAAC;IACDC,YAAY,EAAC,CAAC,CAAC;IACfC,YAAY,EAAC,CAAC;EAChB,CAAC,CAAC;EAEFlD,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","Platform","Svg","VictoryChart","VictoryLine","VictoryLegend","VictoryScatter","VictoryGroup","WmLineChartProps","DEFAULT_CLASS","BaseChartComponent","BaseChartComponentState","ThemeVariables","WmLineChartState","WmLineChart","constructor","props","onSelect","event","data","value","index","y","label","state","xaxisDatakeyArr","datum","x","selectedItem","dataset","selectedChartItem","series","_dataObj","invokeEventCallback","nativeEvent","proxy","renderWidget","_this$state$data","length","createElement","style","styles","root","theme","height","width","screenWidth","padding","top","offsettop","bottom","offsetbottom","left","offsetleft","right","offsetright","containerComponent","getTooltip","name","title","subheading","orientation","gutter","getLegendView","getXaxis","getYAxis","map","d","i","key","interpolation","standalone","stroke","colors","INSTANCE","chartLineColor","strokeWidth","linethickness","highlightpoints","size","fill","opacity","events","target","eventHandlers","OS","onClick","bind","onPress"],"sources":["line-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, Platform } from 'react-native';\nimport { Svg } from 'react-native-svg';\n\nimport {\n VictoryChart,\n VictoryLine,\n VictoryLegend,\n VictoryScatter,\n VictoryGroup,\n } from 'victory-native';\n\nimport WmLineChartProps from './line-chart.props';\nimport { DEFAULT_CLASS, WmLineChartStyles } from './line-chart.styles';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from \"@wavemaker/app-rn-runtime/components/chart/basechart.component\";\nimport ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';\nimport {InterpolationPropType} from \"victory-core\";\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 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 let selectedChartItem = [{series: 0, x: data.index, y: value,_dataObj: selectedItem},data.index];\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\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}>\n <VictoryChart\n theme={this.state.theme}\n height={this.styles.root.height as number}\n width={this.styles.root.width as number || this.screenWidth}\n padding={{ top: props.offsettop, bottom: props.offsetbottom, left: props.offsetleft, right: props.offsetright }}\n containerComponent={\n this.getTooltip(props)\n }\n >\n <VictoryLegend\n name={'legend'}\n containerComponent={<Svg />}\n title={[props.title, props.subheading]}\n orientation=\"horizontal\"\n gutter={20}\n data={[]}\n theme={this.state.theme}\n y={0}\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 {(props.highlightpoints || this.state.data.length === 1) ?\n <VictoryScatter size={5} key={props.name + '_scatter' + i}\n style={{\n data: { fill: this.state.colors[i], opacity: 0.8,}\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 />: null}\n </VictoryGroup>\n })}\n </VictoryChart>\n </View>);\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,QAAQ,QAAQ,cAAc;AAC7C,SAASC,GAAG,QAAQ,kBAAkB;AAEtC,SACEC,YAAY,EACZC,WAAW,EACXC,aAAa,EACbC,cAAc,EACdC,YAAY,QACL,gBAAgB;AAEzB,OAAOC,gBAAgB,MAAM,oBAAoB;AACjD,SAASC,aAAa,QAA2B,qBAAqB;AACtE,SACEC,kBAAkB,EAClBC,uBAAuB,QAClB,gEAAgE;AACvE,OAAOC,cAAc,MAAM,kDAAkD;AAG7E,OAAO,MAAMC,gBAAg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