@wavemaker/app-rn-runtime 11.7.0-next.42251 → 11.7.0-patch.1

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 (946) hide show
  1. {app-rn-runtime → package}/components/basic/anchor/anchor.component.js +3 -1
  2. package/components/basic/anchor/anchor.component.js.map +1 -0
  3. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js +1 -0
  4. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js.map +1 -1
  5. {app-rn-runtime → package}/components/basic/button/button.component.js +3 -1
  6. package/components/basic/button/button.component.js.map +1 -0
  7. {app-rn-runtime → package}/components/basic/button/button.styles.js +2 -1
  8. package/components/basic/button/button.styles.js.map +1 -0
  9. {app-rn-runtime → package}/components/basic/label/label.component.js +18 -10
  10. package/components/basic/label/label.component.js.map +1 -0
  11. {app-rn-runtime → package}/components/basic/search/search.component.js +8 -2
  12. package/components/basic/search/search.component.js.map +1 -0
  13. {app-rn-runtime → package}/components/basic/search/search.props.js +1 -0
  14. {app-rn-runtime → package}/components/basic/search/search.props.js.map +1 -1
  15. package/components/basic/tooltip/tooltip.component.js +79 -0
  16. package/components/basic/tooltip/tooltip.component.js.map +1 -0
  17. package/components/basic/tooltip/tooltip.props.js +18 -0
  18. package/components/basic/tooltip/tooltip.props.js.map +1 -0
  19. package/components/basic/tooltip/tooltip.styles.js +49 -0
  20. package/components/basic/tooltip/tooltip.styles.js.map +1 -0
  21. {app-rn-runtime → package}/components/chart/basechart.component.js +1 -0
  22. package/components/chart/basechart.component.js.map +1 -0
  23. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js +17 -10
  24. package/components/chart/stack-chart/stack-chart.component.js.map +1 -0
  25. {app-rn-runtime → package}/components/container/accordion/accordion.component.js +2 -2
  26. package/components/container/accordion/accordion.component.js.map +1 -0
  27. {app-rn-runtime → package}/components/container/container.component.js +1 -10
  28. package/components/container/container.component.js.map +1 -0
  29. {app-rn-runtime → package}/components/container/container.props.js +0 -1
  30. {app-rn-runtime → package}/components/container/container.props.js.map +1 -1
  31. {app-rn-runtime → package}/components/container/panel/panel.component.js +1 -1
  32. package/components/container/panel/panel.component.js.map +1 -0
  33. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.component.js +1 -1
  34. package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
  35. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js +20 -4
  36. package/components/container/tabs/tabpane/tabpane.component.js.map +1 -0
  37. {app-rn-runtime → package}/components/container/tabs/tabs.component.js +3 -0
  38. package/components/container/tabs/tabs.component.js.map +1 -0
  39. {app-rn-runtime → package}/components/container/wizard/wizard.component.js +1 -1
  40. package/components/container/wizard/wizard.component.js.map +1 -0
  41. {app-rn-runtime → package}/components/data/form/form-action/form-action.component.js +1 -0
  42. package/components/data/form/form-action/form-action.component.js.map +1 -0
  43. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js +1 -0
  44. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js.map +1 -1
  45. {app-rn-runtime → package}/components/data/form/form-field/form-field.component.js +11 -0
  46. package/components/data/form/form-field/form-field.component.js.map +1 -0
  47. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js +3 -0
  48. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js.map +1 -1
  49. {app-rn-runtime → package}/components/data/form/form.component.js +27 -5
  50. package/components/data/form/form.component.js.map +1 -0
  51. {app-rn-runtime → package}/components/data/form/form.props.js +3 -0
  52. package/components/data/form/form.props.js.map +1 -0
  53. {app-rn-runtime → package}/components/data/list/list.component.js +63 -56
  54. package/components/data/list/list.component.js.map +1 -0
  55. {app-rn-runtime → package}/components/data/list/list.props.js +2 -0
  56. package/components/data/list/list.props.js.map +1 -0
  57. {app-rn-runtime → package}/components/data/list/list.styles.js +5 -3
  58. package/components/data/list/list.styles.js.map +1 -0
  59. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js +4 -0
  60. package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -0
  61. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js +2 -2
  62. package/components/input/basedataset/basedataset.component.js.map +1 -0
  63. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js +3 -1
  64. package/components/input/baseinput/baseinput.component.js.map +1 -0
  65. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js +2 -0
  66. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js.map +1 -1
  67. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.component.js +13 -4
  68. package/components/input/checkboxset/checkboxset.component.js.map +1 -0
  69. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js +1 -0
  70. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js.map +1 -1
  71. {app-rn-runtime → package}/components/input/epoch/base-datetime.component.js +74 -1
  72. package/components/input/epoch/base-datetime.component.js.map +1 -0
  73. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js +2 -0
  74. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js.map +1 -1
  75. package/components/input/epoch/wheel-date-picker.component.js +87 -0
  76. package/components/input/epoch/wheel-date-picker.component.js.map +1 -0
  77. package/components/input/epoch/wheel-time-picker.component.js +107 -0
  78. package/components/input/epoch/wheel-time-picker.component.js.map +1 -0
  79. package/components/input/epoch/wheelpicker/wheelpicker.component.js +90 -0
  80. package/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -0
  81. package/components/input/epoch/wheelpicker/wheelpicker.props.js +17 -0
  82. package/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -0
  83. package/components/input/epoch/wheelpicker/wheelpicker.styles.js +55 -0
  84. package/components/input/epoch/wheelpicker/wheelpicker.styles.js.map +1 -0
  85. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +72 -0
  86. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -0
  87. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +15 -0
  88. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -0
  89. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js +66 -0
  90. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js.map +1 -0
  91. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +74 -0
  92. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +1 -0
  93. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +16 -0
  94. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -0
  95. package/components/input/radioset/radioset.component.js +94 -0
  96. package/components/input/radioset/radioset.component.js.map +1 -0
  97. {app-rn-runtime → package}/components/input/radioset/radioset.props.js +1 -0
  98. {app-rn-runtime → package}/components/input/radioset/radioset.props.js.map +1 -1
  99. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js +35 -2
  100. package/components/input/radioset/radioset.styles.js.map +1 -0
  101. package/components/input/slider/slider.component.js +439 -0
  102. package/components/input/slider/slider.component.js.map +1 -0
  103. package/components/input/slider/slider.component_backup.js +398 -0
  104. package/components/input/slider/slider.component_backup.js.map +1 -0
  105. {app-rn-runtime → package}/components/input/slider/slider.props.js +9 -5
  106. package/components/input/slider/slider.props.js.map +1 -0
  107. {app-rn-runtime → package}/components/input/slider/slider.styles.js +25 -2
  108. package/components/input/slider/slider.styles.js.map +1 -0
  109. {app-rn-runtime → package}/components/input/switch/switch.component.js +1 -1
  110. {app-rn-runtime → package}/components/input/switch/switch.component.js.map +1 -1
  111. {app-rn-runtime → package}/components/input/switch/switch.styles.js +6 -1
  112. package/components/input/switch/switch.styles.js.map +1 -0
  113. {app-rn-runtime → package}/components/input/text/text.component.js +4 -2
  114. package/components/input/text/text.component.js.map +1 -0
  115. {app-rn-runtime → package}/components/input/toggle/toggle.component.js +3 -2
  116. package/components/input/toggle/toggle.component.js.map +1 -0
  117. package/components/navigation/navbar/navbar.props.js.map +1 -0
  118. package/components/navigation/navitem/navitem.component.js.map +1 -0
  119. package/components/navigation/navitem/navitem.props.js.map +1 -0
  120. {app-rn-runtime → package}/components/navigation/popover/popover.component.js +4 -0
  121. package/components/navigation/popover/popover.component.js.map +1 -0
  122. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js +4 -0
  123. package/components/page/left-panel/left-panel.component.js.map +1 -0
  124. {app-rn-runtime → package}/core/accessibility.js +2 -2
  125. package/core/accessibility.js.map +1 -0
  126. {app-rn-runtime → package}/core/base.component.js +33 -18
  127. package/core/base.component.js.map +1 -0
  128. package/core/components/flatlist.component.js +38 -0
  129. package/core/components/flatlist.component.js.map +1 -0
  130. package/core/components/textinput.component.js +193 -0
  131. package/core/components/textinput.component.js.map +1 -0
  132. {app-rn-runtime → package}/core/event-notifier.js +31 -8
  133. package/core/event-notifier.js.map +1 -0
  134. {app-rn-runtime → package}/core/formatters.js +14 -1
  135. package/core/formatters.js.map +1 -0
  136. {app-rn-runtime → package}/core/tappable.component.js +75 -39
  137. package/core/tappable.component.js.map +1 -0
  138. {app-rn-runtime → package}/core/utils.js +62 -0
  139. package/core/utils.js.map +1 -0
  140. {app-rn-runtime → package}/package.json +4 -3
  141. {app-rn-runtime → package}/runtime/App.js +13 -3
  142. package/runtime/App.js.map +1 -0
  143. {app-rn-runtime → package}/runtime/base-fragment.component.js +5 -1
  144. package/runtime/base-fragment.component.js.map +1 -0
  145. {app-rn-runtime → package}/runtime/base-page.component.js +10 -2
  146. package/runtime/base-page.component.js.map +1 -0
  147. {app-rn-runtime → package}/runtime/base-partial.component.js +10 -5
  148. package/runtime/base-partial.component.js.map +1 -0
  149. {app-rn-runtime → package}/runtime/services/app-security.service.js +21 -7
  150. package/runtime/services/app-security.service.js.map +1 -0
  151. {app-rn-runtime → package}/styles/background.component.js +15 -4
  152. package/styles/background.component.js.map +1 -0
  153. {app-rn-runtime → package}/styles/theme.variables.js +7 -0
  154. package/styles/theme.variables.js.map +1 -0
  155. package/variables/device/device/network-info.operation.js +33 -0
  156. package/variables/device/device/network-info.operation.js.map +1 -0
  157. package/variables/device/operation.provider.js.map +1 -0
  158. {app-rn-runtime → package}/variables/device-variable.js +1 -1
  159. package/variables/device-variable.js.map +1 -0
  160. app-rn-runtime/components/basic/anchor/anchor.component.js.map +0 -1
  161. app-rn-runtime/components/basic/button/button.component.js.map +0 -1
  162. app-rn-runtime/components/basic/button/button.styles.js.map +0 -1
  163. app-rn-runtime/components/basic/label/label.component.js.map +0 -1
  164. app-rn-runtime/components/basic/search/search.component.js.map +0 -1
  165. app-rn-runtime/components/chart/basechart.component.js.map +0 -1
  166. app-rn-runtime/components/chart/stack-chart/stack-chart.component.js.map +0 -1
  167. app-rn-runtime/components/container/accordion/accordion.component.js.map +0 -1
  168. app-rn-runtime/components/container/container.component.js.map +0 -1
  169. app-rn-runtime/components/container/panel/panel.component.js.map +0 -1
  170. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +0 -1
  171. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js.map +0 -1
  172. app-rn-runtime/components/container/tabs/tabs.component.js.map +0 -1
  173. app-rn-runtime/components/container/wizard/wizard.component.js.map +0 -1
  174. app-rn-runtime/components/data/form/form-action/form-action.component.js.map +0 -1
  175. app-rn-runtime/components/data/form/form-field/form-field.component.js.map +0 -1
  176. app-rn-runtime/components/data/form/form.component.js.map +0 -1
  177. app-rn-runtime/components/data/form/form.props.js.map +0 -1
  178. app-rn-runtime/components/data/list/list.component.js.map +0 -1
  179. app-rn-runtime/components/data/list/list.props.js.map +0 -1
  180. app-rn-runtime/components/data/list/list.styles.js.map +0 -1
  181. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js.map +0 -1
  182. app-rn-runtime/components/input/basedataset/basedataset.component.js.map +0 -1
  183. app-rn-runtime/components/input/baseinput/baseinput.component.js.map +0 -1
  184. app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +0 -1
  185. app-rn-runtime/components/input/epoch/base-datetime.component.js.map +0 -1
  186. app-rn-runtime/components/input/radioset/radioset.component.js +0 -68
  187. app-rn-runtime/components/input/radioset/radioset.component.js.map +0 -1
  188. app-rn-runtime/components/input/radioset/radioset.styles.js.map +0 -1
  189. app-rn-runtime/components/input/slider/slider.component.js +0 -153
  190. app-rn-runtime/components/input/slider/slider.component.js.map +0 -1
  191. app-rn-runtime/components/input/slider/slider.props.js.map +0 -1
  192. app-rn-runtime/components/input/slider/slider.styles.js.map +0 -1
  193. app-rn-runtime/components/input/switch/switch.styles.js.map +0 -1
  194. app-rn-runtime/components/input/text/text.component.js.map +0 -1
  195. app-rn-runtime/components/input/toggle/toggle.component.js.map +0 -1
  196. app-rn-runtime/components/navigation/navbar/navbar.props.js.map +0 -1
  197. app-rn-runtime/components/navigation/navitem/navitem.component.js.map +0 -1
  198. app-rn-runtime/components/navigation/navitem/navitem.props.js.map +0 -1
  199. app-rn-runtime/components/navigation/popover/popover.component.js.map +0 -1
  200. app-rn-runtime/components/page/left-panel/left-panel.component.js.map +0 -1
  201. app-rn-runtime/core/accessibility.js.map +0 -1
  202. app-rn-runtime/core/base.component.js.map +0 -1
  203. app-rn-runtime/core/components/textinput.component.js +0 -60
  204. app-rn-runtime/core/components/textinput.component.js.map +0 -1
  205. app-rn-runtime/core/event-notifier.js.map +0 -1
  206. app-rn-runtime/core/formatters.js.map +0 -1
  207. app-rn-runtime/core/tappable.component.js.map +0 -1
  208. app-rn-runtime/core/utils.js.map +0 -1
  209. app-rn-runtime/runtime/App.js.map +0 -1
  210. app-rn-runtime/runtime/base-fragment.component.js.map +0 -1
  211. app-rn-runtime/runtime/base-page.component.js.map +0 -1
  212. app-rn-runtime/runtime/base-partial.component.js.map +0 -1
  213. app-rn-runtime/runtime/services/app-security.service.js.map +0 -1
  214. app-rn-runtime/styles/background.component.js.map +0 -1
  215. app-rn-runtime/styles/theme.variables.js.map +0 -1
  216. app-rn-runtime/variables/device/device/network-info.operation.js +0 -13
  217. app-rn-runtime/variables/device/device/network-info.operation.js.map +0 -1
  218. app-rn-runtime/variables/device/operation.provider.js.map +0 -1
  219. app-rn-runtime/variables/device-variable.js.map +0 -1
  220. {app-rn-runtime → package}/actions/base-action.js +0 -0
  221. {app-rn-runtime → package}/actions/base-action.js.map +0 -0
  222. {app-rn-runtime → package}/actions/index.js +0 -0
  223. {app-rn-runtime → package}/actions/index.js.map +0 -0
  224. {app-rn-runtime → package}/actions/login-action.js +0 -0
  225. {app-rn-runtime → package}/actions/login-action.js.map +0 -0
  226. {app-rn-runtime → package}/actions/logout-action.js +0 -0
  227. {app-rn-runtime → package}/actions/logout-action.js.map +0 -0
  228. {app-rn-runtime → package}/actions/navigation-action.js +0 -0
  229. {app-rn-runtime → package}/actions/navigation-action.js.map +0 -0
  230. {app-rn-runtime → package}/actions/notification-action.js +0 -0
  231. {app-rn-runtime → package}/actions/notification-action.js.map +0 -0
  232. {app-rn-runtime → package}/actions/timer-action.js +0 -0
  233. {app-rn-runtime → package}/actions/timer-action.js.map +0 -0
  234. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js +0 -0
  235. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js.map +0 -0
  236. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js +0 -0
  237. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js.map +0 -0
  238. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js +0 -0
  239. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +0 -0
  240. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js +0 -0
  241. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js.map +0 -0
  242. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js +0 -0
  243. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js.map +0 -0
  244. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js +0 -0
  245. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +0 -0
  246. {app-rn-runtime → package}/components/advanced/carousel/carousel.component.js +0 -0
  247. {app-rn-runtime → package}/components/advanced/carousel/carousel.component.js.map +0 -0
  248. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js +0 -0
  249. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js.map +0 -0
  250. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js +0 -0
  251. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js.map +0 -0
  252. {app-rn-runtime → package}/components/advanced/login/login.component.js +0 -0
  253. {app-rn-runtime → package}/components/advanced/login/login.component.js.map +0 -0
  254. {app-rn-runtime → package}/components/advanced/login/login.props.js +0 -0
  255. {app-rn-runtime → package}/components/advanced/login/login.props.js.map +0 -0
  256. {app-rn-runtime → package}/components/advanced/login/login.styles.js +0 -0
  257. {app-rn-runtime → package}/components/advanced/login/login.styles.js.map +0 -0
  258. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js +0 -0
  259. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js.map +0 -0
  260. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js +0 -0
  261. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js.map +0 -0
  262. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js +0 -0
  263. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +0 -0
  264. {app-rn-runtime → package}/components/advanced/webview/webview.component.js +0 -0
  265. {app-rn-runtime → package}/components/advanced/webview/webview.component.js.map +0 -0
  266. {app-rn-runtime → package}/components/advanced/webview/webview.props.js +0 -0
  267. {app-rn-runtime → package}/components/advanced/webview/webview.props.js.map +0 -0
  268. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js +0 -0
  269. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
  270. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js +0 -0
  271. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js.map +0 -0
  272. {app-rn-runtime → package}/components/basic/animatedview.component.js +0 -0
  273. {app-rn-runtime → package}/components/basic/animatedview.component.js.map +0 -0
  274. {app-rn-runtime → package}/components/basic/audio/audio.component.js +0 -0
  275. {app-rn-runtime → package}/components/basic/audio/audio.component.js.map +0 -0
  276. {app-rn-runtime → package}/components/basic/audio/audio.props.js +0 -0
  277. {app-rn-runtime → package}/components/basic/audio/audio.props.js.map +0 -0
  278. {app-rn-runtime → package}/components/basic/audio/audio.styles.js +0 -0
  279. {app-rn-runtime → package}/components/basic/audio/audio.styles.js.map +0 -0
  280. {app-rn-runtime → package}/components/basic/button/button.props.js +0 -0
  281. {app-rn-runtime → package}/components/basic/button/button.props.js.map +0 -0
  282. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js +0 -0
  283. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js.map +0 -0
  284. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js +0 -0
  285. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js.map +0 -0
  286. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js +0 -0
  287. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js.map +0 -0
  288. {app-rn-runtime → package}/components/basic/custom/custom.component.js +0 -0
  289. {app-rn-runtime → package}/components/basic/custom/custom.component.js.map +0 -0
  290. {app-rn-runtime → package}/components/basic/custom/custom.props.js +0 -0
  291. {app-rn-runtime → package}/components/basic/custom/custom.props.js.map +0 -0
  292. {app-rn-runtime → package}/components/basic/custom/custom.styles.js +0 -0
  293. {app-rn-runtime → package}/components/basic/custom/custom.styles.js.map +0 -0
  294. {app-rn-runtime → package}/components/basic/icon/icon.component.js +0 -0
  295. {app-rn-runtime → package}/components/basic/icon/icon.component.js.map +0 -0
  296. {app-rn-runtime → package}/components/basic/icon/icon.props.js +0 -0
  297. {app-rn-runtime → package}/components/basic/icon/icon.props.js.map +0 -0
  298. {app-rn-runtime → package}/components/basic/icon/icon.styles.js +0 -0
  299. {app-rn-runtime → package}/components/basic/icon/icon.styles.js.map +0 -0
  300. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +0 -0
  301. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +0 -0
  302. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
  303. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +0 -0
  304. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +0 -0
  305. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
  306. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js +0 -0
  307. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js.map +0 -0
  308. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.ttf +0 -0
  309. {app-rn-runtime → package}/components/basic/label/label.props.js +0 -0
  310. {app-rn-runtime → package}/components/basic/label/label.props.js.map +0 -0
  311. {app-rn-runtime → package}/components/basic/label/label.styles.js +0 -0
  312. {app-rn-runtime → package}/components/basic/label/label.styles.js.map +0 -0
  313. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js +0 -0
  314. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js.map +0 -0
  315. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js +0 -0
  316. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js.map +0 -0
  317. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js +0 -0
  318. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js.map +0 -0
  319. {app-rn-runtime → package}/components/basic/message/message.component.js +0 -0
  320. {app-rn-runtime → package}/components/basic/message/message.component.js.map +0 -0
  321. {app-rn-runtime → package}/components/basic/message/message.props.js +0 -0
  322. {app-rn-runtime → package}/components/basic/message/message.props.js.map +0 -0
  323. {app-rn-runtime → package}/components/basic/message/message.styles.js +0 -0
  324. {app-rn-runtime → package}/components/basic/message/message.styles.js.map +0 -0
  325. {app-rn-runtime → package}/components/basic/modal/modal.component.js +0 -0
  326. {app-rn-runtime → package}/components/basic/modal/modal.component.js.map +0 -0
  327. {app-rn-runtime → package}/components/basic/modal/modal.props.js +0 -0
  328. {app-rn-runtime → package}/components/basic/modal/modal.props.js.map +0 -0
  329. {app-rn-runtime → package}/components/basic/modal/modal.styles.js +0 -0
  330. {app-rn-runtime → package}/components/basic/modal/modal.styles.js.map +0 -0
  331. {app-rn-runtime → package}/components/basic/picture/picture.component.js +0 -0
  332. {app-rn-runtime → package}/components/basic/picture/picture.component.js.map +0 -0
  333. {app-rn-runtime → package}/components/basic/picture/picture.props.js +0 -0
  334. {app-rn-runtime → package}/components/basic/picture/picture.props.js.map +0 -0
  335. {app-rn-runtime → package}/components/basic/picture/picture.styles.js +0 -0
  336. {app-rn-runtime → package}/components/basic/picture/picture.styles.js.map +0 -0
  337. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js +0 -0
  338. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js.map +0 -0
  339. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js +0 -0
  340. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js.map +0 -0
  341. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js +0 -0
  342. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js.map +0 -0
  343. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js +0 -0
  344. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js.map +0 -0
  345. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js +0 -0
  346. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js.map +0 -0
  347. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js +0 -0
  348. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js.map +0 -0
  349. {app-rn-runtime → package}/components/basic/search/local-data-provider.js +0 -0
  350. {app-rn-runtime → package}/components/basic/search/local-data-provider.js.map +0 -0
  351. {app-rn-runtime → package}/components/basic/search/search.styles.js +0 -0
  352. {app-rn-runtime → package}/components/basic/search/search.styles.js.map +0 -0
  353. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js +0 -0
  354. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js.map +0 -0
  355. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js +0 -0
  356. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js.map +0 -0
  357. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js +0 -0
  358. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js.map +0 -0
  359. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js +0 -0
  360. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js.map +0 -0
  361. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js +0 -0
  362. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js.map +0 -0
  363. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js +0 -0
  364. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js.map +0 -0
  365. {app-rn-runtime → package}/components/basic/video/video.component.js +0 -0
  366. {app-rn-runtime → package}/components/basic/video/video.component.js.map +0 -0
  367. {app-rn-runtime → package}/components/basic/video/video.props.js +0 -0
  368. {app-rn-runtime → package}/components/basic/video/video.props.js.map +0 -0
  369. {app-rn-runtime → package}/components/basic/video/video.styles.js +0 -0
  370. {app-rn-runtime → package}/components/basic/video/video.styles.js.map +0 -0
  371. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js +0 -0
  372. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js.map +0 -0
  373. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js +0 -0
  374. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js.map +0 -0
  375. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js +0 -0
  376. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js.map +0 -0
  377. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js +0 -0
  378. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js.map +0 -0
  379. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js +0 -0
  380. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js.map +0 -0
  381. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js +0 -0
  382. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
  383. {app-rn-runtime → package}/components/chart/basechart.props.js +0 -0
  384. {app-rn-runtime → package}/components/chart/basechart.props.js.map +0 -0
  385. {app-rn-runtime → package}/components/chart/basechart.styles.js +0 -0
  386. {app-rn-runtime → package}/components/chart/basechart.styles.js.map +0 -0
  387. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js +0 -0
  388. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js.map +0 -0
  389. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js +0 -0
  390. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js.map +0 -0
  391. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js +0 -0
  392. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js.map +0 -0
  393. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js +0 -0
  394. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js.map +0 -0
  395. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js +0 -0
  396. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js.map +0 -0
  397. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js +0 -0
  398. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js.map +0 -0
  399. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js +0 -0
  400. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js.map +0 -0
  401. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js +0 -0
  402. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js.map +0 -0
  403. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js +0 -0
  404. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js.map +0 -0
  405. {app-rn-runtime → package}/components/chart/legend/legend.component.js +0 -0
  406. {app-rn-runtime → package}/components/chart/legend/legend.component.js.map +0 -0
  407. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js +0 -0
  408. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js.map +0 -0
  409. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js +0 -0
  410. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js.map +0 -0
  411. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
  412. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
  413. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js +0 -0
  414. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js.map +0 -0
  415. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js +0 -0
  416. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js.map +0 -0
  417. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js +0 -0
  418. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js.map +0 -0
  419. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js +0 -0
  420. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js.map +0 -0
  421. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js +0 -0
  422. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js.map +0 -0
  423. {app-rn-runtime → package}/components/chart/staticdata.js +0 -0
  424. {app-rn-runtime → package}/components/chart/staticdata.js.map +0 -0
  425. {app-rn-runtime → package}/components/chart/theme/chart.theme.js +0 -0
  426. {app-rn-runtime → package}/components/chart/theme/chart.theme.js.map +0 -0
  427. {app-rn-runtime → package}/components/container/accordion/accordion.props.js +0 -0
  428. {app-rn-runtime → package}/components/container/accordion/accordion.props.js.map +0 -0
  429. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js +0 -0
  430. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js.map +0 -0
  431. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js +0 -0
  432. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js.map +0 -0
  433. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js +0 -0
  434. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js.map +0 -0
  435. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js +0 -0
  436. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js.map +0 -0
  437. {app-rn-runtime → package}/components/container/container.styles.js +0 -0
  438. {app-rn-runtime → package}/components/container/container.styles.js.map +0 -0
  439. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
  440. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -0
  441. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -0
  442. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -0
  443. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
  444. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
  445. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js +0 -0
  446. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -0
  447. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js +0 -0
  448. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -0
  449. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
  450. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
  451. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js +0 -0
  452. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js.map +0 -0
  453. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js +0 -0
  454. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js.map +0 -0
  455. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
  456. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js.map +0 -0
  457. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js +0 -0
  458. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js.map +0 -0
  459. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js +0 -0
  460. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js.map +0 -0
  461. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
  462. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
  463. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -0
  464. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -0
  465. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -0
  466. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -0
  467. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
  468. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
  469. {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js +0 -0
  470. {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js.map +0 -0
  471. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js +0 -0
  472. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js.map +0 -0
  473. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js +0 -0
  474. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js.map +0 -0
  475. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js +0 -0
  476. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js.map +0 -0
  477. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js +0 -0
  478. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js.map +0 -0
  479. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js +0 -0
  480. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js.map +0 -0
  481. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js +0 -0
  482. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js.map +0 -0
  483. {app-rn-runtime → package}/components/container/panel/panel.props.js +0 -0
  484. {app-rn-runtime → package}/components/container/panel/panel.props.js.map +0 -0
  485. {app-rn-runtime → package}/components/container/panel/panel.styles.js +0 -0
  486. {app-rn-runtime → package}/components/container/panel/panel.styles.js.map +0 -0
  487. {app-rn-runtime → package}/components/container/partial-host.component.js +0 -0
  488. {app-rn-runtime → package}/components/container/partial-host.component.js.map +0 -0
  489. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js +0 -0
  490. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js.map +0 -0
  491. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js +0 -0
  492. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js.map +0 -0
  493. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js +0 -0
  494. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js.map +0 -0
  495. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
  496. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
  497. {app-rn-runtime → package}/components/container/tabs/tabs.props.js +0 -0
  498. {app-rn-runtime → package}/components/container/tabs/tabs.props.js.map +0 -0
  499. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js +0 -0
  500. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js.map +0 -0
  501. {app-rn-runtime → package}/components/container/tile/tile.component.js +0 -0
  502. {app-rn-runtime → package}/components/container/tile/tile.component.js.map +0 -0
  503. {app-rn-runtime → package}/components/container/tile/tile.props.js +0 -0
  504. {app-rn-runtime → package}/components/container/tile/tile.props.js.map +0 -0
  505. {app-rn-runtime → package}/components/container/tile/tile.styles.js +0 -0
  506. {app-rn-runtime → package}/components/container/tile/tile.styles.js.map +0 -0
  507. {app-rn-runtime → package}/components/container/wizard/wizard.props.js +0 -0
  508. {app-rn-runtime → package}/components/container/wizard/wizard.props.js.map +0 -0
  509. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js +0 -0
  510. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js.map +0 -0
  511. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js +0 -0
  512. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -0
  513. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js +0 -0
  514. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -0
  515. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js +0 -0
  516. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js.map +0 -0
  517. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js +0 -0
  518. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js.map +0 -0
  519. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js +0 -0
  520. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js.map +0 -0
  521. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js +0 -0
  522. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js.map +0 -0
  523. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js +0 -0
  524. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js.map +0 -0
  525. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js +0 -0
  526. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js.map +0 -0
  527. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js +0 -0
  528. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js.map +0 -0
  529. {app-rn-runtime → package}/components/data/card/card.component.js +0 -0
  530. {app-rn-runtime → package}/components/data/card/card.component.js.map +0 -0
  531. {app-rn-runtime → package}/components/data/card/card.props.js +0 -0
  532. {app-rn-runtime → package}/components/data/card/card.props.js.map +0 -0
  533. {app-rn-runtime → package}/components/data/card/card.styles.js +0 -0
  534. {app-rn-runtime → package}/components/data/card/card.styles.js.map +0 -0
  535. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js +0 -0
  536. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js.map +0 -0
  537. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js +0 -0
  538. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js.map +0 -0
  539. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js +0 -0
  540. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js.map +0 -0
  541. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js +0 -0
  542. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js.map +0 -0
  543. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js +0 -0
  544. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js.map +0 -0
  545. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js +0 -0
  546. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js.map +0 -0
  547. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js +0 -0
  548. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js.map +0 -0
  549. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js +0 -0
  550. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js.map +0 -0
  551. {app-rn-runtime → package}/components/data/form/form.styles.js +0 -0
  552. {app-rn-runtime → package}/components/data/form/form.styles.js.map +0 -0
  553. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js +0 -0
  554. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js.map +0 -0
  555. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js +0 -0
  556. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js.map +0 -0
  557. {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js +0 -0
  558. {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js.map +0 -0
  559. {app-rn-runtime → package}/components/data/liveform/liveform.component.js +0 -0
  560. {app-rn-runtime → package}/components/data/liveform/liveform.component.js.map +0 -0
  561. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js +0 -0
  562. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js.map +0 -0
  563. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js +0 -0
  564. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js.map +0 -0
  565. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js +0 -0
  566. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js.map +0 -0
  567. {app-rn-runtime → package}/components/device/camera/camera.component.js +0 -0
  568. {app-rn-runtime → package}/components/device/camera/camera.component.js.map +0 -0
  569. {app-rn-runtime → package}/components/device/camera/camera.props.js +0 -0
  570. {app-rn-runtime → package}/components/device/camera/camera.props.js.map +0 -0
  571. {app-rn-runtime → package}/components/device/camera/camera.styles.js +0 -0
  572. {app-rn-runtime → package}/components/device/camera/camera.styles.js.map +0 -0
  573. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js +0 -0
  574. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js.map +0 -0
  575. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js +0 -0
  576. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js.map +0 -0
  577. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js +0 -0
  578. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -0
  579. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js +0 -0
  580. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -0
  581. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js +0 -0
  582. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -0
  583. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js +0 -0
  584. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -0
  585. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js +0 -0
  586. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js.map +0 -0
  587. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js +0 -0
  588. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js.map +0 -0
  589. {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js +0 -0
  590. {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js.map +0 -0
  591. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js +0 -0
  592. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js.map +0 -0
  593. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js +0 -0
  594. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js.map +0 -0
  595. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js +0 -0
  596. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js.map +0 -0
  597. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js +0 -0
  598. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js.map +0 -0
  599. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js +0 -0
  600. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js.map +0 -0
  601. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js +0 -0
  602. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js.map +0 -0
  603. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js +0 -0
  604. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js.map +0 -0
  605. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js +0 -0
  606. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js.map +0 -0
  607. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js +0 -0
  608. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js.map +0 -0
  609. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js +0 -0
  610. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js.map +0 -0
  611. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js +0 -0
  612. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
  613. {app-rn-runtime → package}/components/input/calendar/calendar.component.js +0 -0
  614. {app-rn-runtime → package}/components/input/calendar/calendar.component.js.map +0 -0
  615. {app-rn-runtime → package}/components/input/calendar/calendar.props.js +0 -0
  616. {app-rn-runtime → package}/components/input/calendar/calendar.props.js.map +0 -0
  617. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js +0 -0
  618. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js.map +0 -0
  619. {app-rn-runtime → package}/components/input/calendar/views/month-view.js +0 -0
  620. {app-rn-runtime → package}/components/input/calendar/views/month-view.js.map +0 -0
  621. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js +0 -0
  622. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js.map +0 -0
  623. {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js +0 -0
  624. {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js.map +0 -0
  625. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js +0 -0
  626. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js.map +0 -0
  627. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js +0 -0
  628. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js.map +0 -0
  629. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js +0 -0
  630. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js.map +0 -0
  631. {app-rn-runtime → package}/components/input/chips/chips.component.js +0 -0
  632. {app-rn-runtime → package}/components/input/chips/chips.component.js.map +0 -0
  633. {app-rn-runtime → package}/components/input/chips/chips.props.js +0 -0
  634. {app-rn-runtime → package}/components/input/chips/chips.props.js.map +0 -0
  635. {app-rn-runtime → package}/components/input/chips/chips.styles.js +0 -0
  636. {app-rn-runtime → package}/components/input/chips/chips.styles.js.map +0 -0
  637. {app-rn-runtime → package}/components/input/composite/composite.component.js +0 -0
  638. {app-rn-runtime → package}/components/input/composite/composite.component.js.map +0 -0
  639. {app-rn-runtime → package}/components/input/composite/composite.props.js +0 -0
  640. {app-rn-runtime → package}/components/input/composite/composite.props.js.map +0 -0
  641. {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
  642. {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
  643. {app-rn-runtime → package}/components/input/currency/currency.component.js +0 -0
  644. {app-rn-runtime → package}/components/input/currency/currency.component.js.map +0 -0
  645. {app-rn-runtime → package}/components/input/currency/currency.props.js +0 -0
  646. {app-rn-runtime → package}/components/input/currency/currency.props.js.map +0 -0
  647. {app-rn-runtime → package}/components/input/currency/currency.styles.js +0 -0
  648. {app-rn-runtime → package}/components/input/currency/currency.styles.js.map +0 -0
  649. {app-rn-runtime → package}/components/input/epoch/date/date.component.js +0 -0
  650. {app-rn-runtime → package}/components/input/epoch/date/date.component.js.map +0 -0
  651. {app-rn-runtime → package}/components/input/epoch/date/date.props.js +0 -0
  652. {app-rn-runtime → package}/components/input/epoch/date/date.props.js.map +0 -0
  653. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js +0 -0
  654. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js.map +0 -0
  655. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js +0 -0
  656. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js.map +0 -0
  657. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js +0 -0
  658. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js.map +0 -0
  659. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js +0 -0
  660. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js.map +0 -0
  661. {app-rn-runtime → package}/components/input/epoch/time/time.component.js +0 -0
  662. {app-rn-runtime → package}/components/input/epoch/time/time.component.js.map +0 -0
  663. {app-rn-runtime → package}/components/input/epoch/time/time.props.js +0 -0
  664. {app-rn-runtime → package}/components/input/epoch/time/time.props.js.map +0 -0
  665. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js +0 -0
  666. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js.map +0 -0
  667. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js +0 -0
  668. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js.map +0 -0
  669. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js +0 -0
  670. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js.map +0 -0
  671. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js +0 -0
  672. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js.map +0 -0
  673. {app-rn-runtime → package}/components/input/number/number.component.js +0 -0
  674. {app-rn-runtime → package}/components/input/number/number.component.js.map +0 -0
  675. {app-rn-runtime → package}/components/input/number/number.props.js +0 -0
  676. {app-rn-runtime → package}/components/input/number/number.props.js.map +0 -0
  677. {app-rn-runtime → package}/components/input/number/number.styles.js +0 -0
  678. {app-rn-runtime → package}/components/input/number/number.styles.js.map +0 -0
  679. {app-rn-runtime → package}/components/input/rating/rating.component.js +0 -0
  680. {app-rn-runtime → package}/components/input/rating/rating.component.js.map +0 -0
  681. {app-rn-runtime → package}/components/input/rating/rating.props.js +0 -0
  682. {app-rn-runtime → package}/components/input/rating/rating.props.js.map +0 -0
  683. {app-rn-runtime → package}/components/input/rating/rating.styles.js +0 -0
  684. {app-rn-runtime → package}/components/input/rating/rating.styles.js.map +0 -0
  685. {app-rn-runtime → package}/components/input/select/select.component.js +0 -0
  686. {app-rn-runtime → package}/components/input/select/select.component.js.map +0 -0
  687. {app-rn-runtime → package}/components/input/select/select.props.js +0 -0
  688. {app-rn-runtime → package}/components/input/select/select.props.js.map +0 -0
  689. {app-rn-runtime → package}/components/input/select/select.styles.js +0 -0
  690. {app-rn-runtime → package}/components/input/select/select.styles.js.map +0 -0
  691. {app-rn-runtime → package}/components/input/switch/switch.props.js +0 -0
  692. {app-rn-runtime → package}/components/input/switch/switch.props.js.map +0 -0
  693. {app-rn-runtime → package}/components/input/text/text.props.js +0 -0
  694. {app-rn-runtime → package}/components/input/text/text.props.js.map +0 -0
  695. {app-rn-runtime → package}/components/input/text/text.styles.js +0 -0
  696. {app-rn-runtime → package}/components/input/text/text.styles.js.map +0 -0
  697. {app-rn-runtime → package}/components/input/textarea/textarea.component.js +0 -0
  698. {app-rn-runtime → package}/components/input/textarea/textarea.component.js.map +0 -0
  699. {app-rn-runtime → package}/components/input/textarea/textarea.props.js +0 -0
  700. {app-rn-runtime → package}/components/input/textarea/textarea.props.js.map +0 -0
  701. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js +0 -0
  702. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js.map +0 -0
  703. {app-rn-runtime → package}/components/input/toggle/toggle.props.js +0 -0
  704. {app-rn-runtime → package}/components/input/toggle/toggle.props.js.map +0 -0
  705. {app-rn-runtime → package}/components/input/toggle/toggle.styles.js +0 -0
  706. {app-rn-runtime → package}/components/input/toggle/toggle.styles.js.map +0 -0
  707. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js +0 -0
  708. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js.map +0 -0
  709. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js +0 -0
  710. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js.map +0 -0
  711. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js +0 -0
  712. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js.map +0 -0
  713. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js +0 -0
  714. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js.map +0 -0
  715. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js +0 -0
  716. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js.map +0 -0
  717. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js +0 -0
  718. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js.map +0 -0
  719. {app-rn-runtime → package}/components/navigation/menu/menu.component.js +0 -0
  720. {app-rn-runtime → package}/components/navigation/menu/menu.component.js.map +0 -0
  721. {app-rn-runtime → package}/components/navigation/menu/menu.props.js +0 -0
  722. {app-rn-runtime → package}/components/navigation/menu/menu.props.js.map +0 -0
  723. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js +0 -0
  724. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js.map +0 -0
  725. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js +0 -0
  726. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js.map +0 -0
  727. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js +0 -0
  728. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js +0 -0
  729. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js.map +0 -0
  730. {app-rn-runtime → package}/components/navigation/navitem/navitem.component.js +0 -0
  731. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js +0 -0
  732. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js +0 -0
  733. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js.map +0 -0
  734. {app-rn-runtime → package}/components/navigation/popover/popover.props.js +0 -0
  735. {app-rn-runtime → package}/components/navigation/popover/popover.props.js.map +0 -0
  736. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js +0 -0
  737. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js.map +0 -0
  738. {app-rn-runtime → package}/components/page/content/content.component.js +0 -0
  739. {app-rn-runtime → package}/components/page/content/content.component.js.map +0 -0
  740. {app-rn-runtime → package}/components/page/content/content.props.js +0 -0
  741. {app-rn-runtime → package}/components/page/content/content.props.js.map +0 -0
  742. {app-rn-runtime → package}/components/page/content/content.styles.js +0 -0
  743. {app-rn-runtime → package}/components/page/content/content.styles.js.map +0 -0
  744. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js +0 -0
  745. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js.map +0 -0
  746. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js +0 -0
  747. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js.map +0 -0
  748. {app-rn-runtime → package}/components/page/page-content/page-content.component.js +0 -0
  749. {app-rn-runtime → package}/components/page/page-content/page-content.component.js.map +0 -0
  750. {app-rn-runtime → package}/components/page/page-content/page-content.props.js +0 -0
  751. {app-rn-runtime → package}/components/page/page-content/page-content.props.js.map +0 -0
  752. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js +0 -0
  753. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js.map +0 -0
  754. {app-rn-runtime → package}/components/page/page.component.js +0 -0
  755. {app-rn-runtime → package}/components/page/page.component.js.map +0 -0
  756. {app-rn-runtime → package}/components/page/page.props.js +0 -0
  757. {app-rn-runtime → package}/components/page/page.props.js.map +0 -0
  758. {app-rn-runtime → package}/components/page/page.styles.js +0 -0
  759. {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
  760. {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
  761. {app-rn-runtime → package}/components/page/partial/partial.component.js.map +0 -0
  762. {app-rn-runtime → package}/components/page/partial/partial.props.js +0 -0
  763. {app-rn-runtime → package}/components/page/partial/partial.props.js.map +0 -0
  764. {app-rn-runtime → package}/components/page/partial/partial.styles.js +0 -0
  765. {app-rn-runtime → package}/components/page/partial/partial.styles.js.map +0 -0
  766. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js +0 -0
  767. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js.map +0 -0
  768. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js +0 -0
  769. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js.map +0 -0
  770. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js +0 -0
  771. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js.map +0 -0
  772. {app-rn-runtime → package}/components/page/tabbar/curve.js +0 -0
  773. {app-rn-runtime → package}/components/page/tabbar/curve.js.map +0 -0
  774. {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js +0 -0
  775. {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js.map +0 -0
  776. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js +0 -0
  777. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js.map +0 -0
  778. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js +0 -0
  779. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js.map +0 -0
  780. {app-rn-runtime → package}/components/prefab/prefab-container.component.js +0 -0
  781. {app-rn-runtime → package}/components/prefab/prefab-container.component.js.map +0 -0
  782. {app-rn-runtime → package}/components/prefab/prefab-container.props.js +0 -0
  783. {app-rn-runtime → package}/components/prefab/prefab-container.props.js.map +0 -0
  784. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js +0 -0
  785. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js.map +0 -0
  786. {app-rn-runtime → package}/core/AppConfig.js +0 -0
  787. {app-rn-runtime → package}/core/AppConfig.js.map +0 -0
  788. {app-rn-runtime → package}/core/asset.provider.js +0 -0
  789. {app-rn-runtime → package}/core/asset.provider.js.map +0 -0
  790. {app-rn-runtime → package}/core/components/floatinglabel.component.js +0 -0
  791. {app-rn-runtime → package}/core/components/floatinglabel.component.js.map +0 -0
  792. {app-rn-runtime → package}/core/constant.service.js +0 -0
  793. {app-rn-runtime → package}/core/constant.service.js.map +0 -0
  794. {app-rn-runtime → package}/core/constants/currency-constants.js +0 -0
  795. {app-rn-runtime → package}/core/constants/currency-constants.js.map +0 -0
  796. {app-rn-runtime → package}/core/currency-constants.js +0 -0
  797. {app-rn-runtime → package}/core/currency-constants.js.map +0 -0
  798. {app-rn-runtime → package}/core/device/calendar-service.js +0 -0
  799. {app-rn-runtime → package}/core/device/calendar-service.js.map +0 -0
  800. {app-rn-runtime → package}/core/device/camera-service.js +0 -0
  801. {app-rn-runtime → package}/core/device/camera-service.js.map +0 -0
  802. {app-rn-runtime → package}/core/device/contacts-service.js +0 -0
  803. {app-rn-runtime → package}/core/device/contacts-service.js.map +0 -0
  804. {app-rn-runtime → package}/core/device/location-service.js +0 -0
  805. {app-rn-runtime → package}/core/device/location-service.js.map +0 -0
  806. {app-rn-runtime → package}/core/device/scan-service.js +0 -0
  807. {app-rn-runtime → package}/core/device/scan-service.js.map +0 -0
  808. {app-rn-runtime → package}/core/display.manager.js +0 -0
  809. {app-rn-runtime → package}/core/display.manager.js.map +0 -0
  810. {app-rn-runtime → package}/core/file-extension-types.js +0 -0
  811. {app-rn-runtime → package}/core/file-extension-types.js.map +0 -0
  812. {app-rn-runtime → package}/core/fixed-view.component.js +0 -0
  813. {app-rn-runtime → package}/core/fixed-view.component.js.map +0 -0
  814. {app-rn-runtime → package}/core/i18n.service.js +0 -0
  815. {app-rn-runtime → package}/core/i18n.service.js.map +0 -0
  816. {app-rn-runtime → package}/core/if.component.js +0 -0
  817. {app-rn-runtime → package}/core/if.component.js.map +0 -0
  818. {app-rn-runtime → package}/core/imageSizeEstimator.js +0 -0
  819. {app-rn-runtime → package}/core/imageSizeEstimator.js.map +0 -0
  820. {app-rn-runtime → package}/core/injector.js +0 -0
  821. {app-rn-runtime → package}/core/injector.js.map +0 -0
  822. {app-rn-runtime → package}/core/key.extractor.js +0 -0
  823. {app-rn-runtime → package}/core/key.extractor.js.map +0 -0
  824. {app-rn-runtime → package}/core/logger.js +0 -0
  825. {app-rn-runtime → package}/core/logger.js.map +0 -0
  826. {app-rn-runtime → package}/core/modal.service.js +0 -0
  827. {app-rn-runtime → package}/core/modal.service.js.map +0 -0
  828. {app-rn-runtime → package}/core/navigation.service.js +0 -0
  829. {app-rn-runtime → package}/core/navigation.service.js.map +0 -0
  830. {app-rn-runtime → package}/core/network.service.js +0 -0
  831. {app-rn-runtime → package}/core/network.service.js.map +0 -0
  832. {app-rn-runtime → package}/core/partial.service.js +0 -0
  833. {app-rn-runtime → package}/core/partial.service.js.map +0 -0
  834. {app-rn-runtime → package}/core/props.provider.js +0 -0
  835. {app-rn-runtime → package}/core/props.provider.js.map +0 -0
  836. {app-rn-runtime → package}/core/scroll-view.component.js +0 -0
  837. {app-rn-runtime → package}/core/scroll-view.component.js.map +0 -0
  838. {app-rn-runtime → package}/core/security.service.js +0 -0
  839. {app-rn-runtime → package}/core/security.service.js.map +0 -0
  840. {app-rn-runtime → package}/core/spinner.service.js +0 -0
  841. {app-rn-runtime → package}/core/spinner.service.js.map +0 -0
  842. {app-rn-runtime → package}/core/storage.service.js +0 -0
  843. {app-rn-runtime → package}/core/storage.service.js.map +0 -0
  844. {app-rn-runtime → package}/core/testid.provider.js +0 -0
  845. {app-rn-runtime → package}/core/testid.provider.js.map +0 -0
  846. {app-rn-runtime → package}/core/toast.service.js +0 -0
  847. {app-rn-runtime → package}/core/toast.service.js.map +0 -0
  848. {app-rn-runtime → package}/core/viewport.js +0 -0
  849. {app-rn-runtime → package}/core/viewport.js.map +0 -0
  850. {app-rn-runtime → package}/gestures/swipe.animation.js +0 -0
  851. {app-rn-runtime → package}/gestures/swipe.animation.js.map +0 -0
  852. {app-rn-runtime → package}/index.js +0 -0
  853. {app-rn-runtime → package}/index.js.map +0 -0
  854. {app-rn-runtime → package}/runtime/App.navigator.js +0 -0
  855. {app-rn-runtime → package}/runtime/App.navigator.js.map +0 -0
  856. {app-rn-runtime → package}/runtime/base-prefab.component.js +0 -0
  857. {app-rn-runtime → package}/runtime/base-prefab.component.js.map +0 -0
  858. {app-rn-runtime → package}/runtime/lib-patch.js +0 -0
  859. {app-rn-runtime → package}/runtime/lib-patch.js.map +0 -0
  860. {app-rn-runtime → package}/runtime/memo.component.js +0 -0
  861. {app-rn-runtime → package}/runtime/memo.component.js.map +0 -0
  862. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js +0 -0
  863. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js.map +0 -0
  864. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js +0 -0
  865. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js.map +0 -0
  866. {app-rn-runtime → package}/runtime/platform.api.js +0 -0
  867. {app-rn-runtime → package}/runtime/platform.api.js.map +0 -0
  868. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js +0 -0
  869. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js.map +0 -0
  870. {app-rn-runtime → package}/runtime/services/app-i18n.service.js +0 -0
  871. {app-rn-runtime → package}/runtime/services/app-i18n.service.js.map +0 -0
  872. {app-rn-runtime → package}/runtime/services/app-modal.service.js +0 -0
  873. {app-rn-runtime → package}/runtime/services/app-modal.service.js.map +0 -0
  874. {app-rn-runtime → package}/runtime/services/app-spinner.service.js +0 -0
  875. {app-rn-runtime → package}/runtime/services/app-spinner.service.js.map +0 -0
  876. {app-rn-runtime → package}/runtime/services/app-toast.service.js +0 -0
  877. {app-rn-runtime → package}/runtime/services/app-toast.service.js.map +0 -0
  878. {app-rn-runtime → package}/runtime/services/device/calendar-service.js +0 -0
  879. {app-rn-runtime → package}/runtime/services/device/calendar-service.js.map +0 -0
  880. {app-rn-runtime → package}/runtime/services/device/camera-service.js +0 -0
  881. {app-rn-runtime → package}/runtime/services/device/camera-service.js.map +0 -0
  882. {app-rn-runtime → package}/runtime/services/device/contacts-service.js +0 -0
  883. {app-rn-runtime → package}/runtime/services/device/contacts-service.js.map +0 -0
  884. {app-rn-runtime → package}/runtime/services/device/location-service.js +0 -0
  885. {app-rn-runtime → package}/runtime/services/device/location-service.js.map +0 -0
  886. {app-rn-runtime → package}/runtime/services/device/permissions.js +0 -0
  887. {app-rn-runtime → package}/runtime/services/device/permissions.js.map +0 -0
  888. {app-rn-runtime → package}/runtime/services/device/scan-service.js +0 -0
  889. {app-rn-runtime → package}/runtime/services/device/scan-service.js.map +0 -0
  890. {app-rn-runtime → package}/runtime/services/partial.service.js +0 -0
  891. {app-rn-runtime → package}/runtime/services/partial.service.js.map +0 -0
  892. {app-rn-runtime → package}/runtime/services/webprocess.service.js +0 -0
  893. {app-rn-runtime → package}/runtime/services/webprocess.service.js.map +0 -0
  894. {app-rn-runtime → package}/runtime/watcher.js +0 -0
  895. {app-rn-runtime → package}/runtime/watcher.js.map +0 -0
  896. {app-rn-runtime → package}/styles/MediaQueryList.js +0 -0
  897. {app-rn-runtime → package}/styles/MediaQueryList.js.map +0 -0
  898. {app-rn-runtime → package}/styles/style-prop.validator.js +0 -0
  899. {app-rn-runtime → package}/styles/style-prop.validator.js.map +0 -0
  900. {app-rn-runtime → package}/styles/style-props.js +0 -0
  901. {app-rn-runtime → package}/styles/style-props.js.map +0 -0
  902. {app-rn-runtime → package}/styles/theme.js +0 -0
  903. {app-rn-runtime → package}/styles/theme.js.map +0 -0
  904. {app-rn-runtime → package}/variables/base-variable.js +0 -0
  905. {app-rn-runtime → package}/variables/base-variable.js.map +0 -0
  906. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js +0 -0
  907. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js.map +0 -0
  908. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js +0 -0
  909. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js.map +0 -0
  910. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js +0 -0
  911. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js.map +0 -0
  912. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js +0 -0
  913. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js.map +0 -0
  914. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js +0 -0
  915. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js.map +0 -0
  916. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js +0 -0
  917. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js.map +0 -0
  918. {app-rn-runtime → package}/variables/device/device/app-info.operation.js +0 -0
  919. {app-rn-runtime → package}/variables/device/device/app-info.operation.js.map +0 -0
  920. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js +0 -0
  921. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js.map +0 -0
  922. {app-rn-runtime → package}/variables/device/device/device-info.operation.js +0 -0
  923. {app-rn-runtime → package}/variables/device/device/device-info.operation.js.map +0 -0
  924. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js +0 -0
  925. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js.map +0 -0
  926. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js +0 -0
  927. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js.map +0 -0
  928. {app-rn-runtime → package}/variables/device/operation.provider.js +0 -0
  929. {app-rn-runtime → package}/variables/device/scan/scan.operation.js +0 -0
  930. {app-rn-runtime → package}/variables/device/scan/scan.operation.js.map +0 -0
  931. {app-rn-runtime → package}/variables/http.service.js +0 -0
  932. {app-rn-runtime → package}/variables/http.service.js.map +0 -0
  933. {app-rn-runtime → package}/variables/live-variable.js +0 -0
  934. {app-rn-runtime → package}/variables/live-variable.js.map +0 -0
  935. {app-rn-runtime → package}/variables/model-variable.js +0 -0
  936. {app-rn-runtime → package}/variables/model-variable.js.map +0 -0
  937. {app-rn-runtime → package}/variables/service-variable.js +0 -0
  938. {app-rn-runtime → package}/variables/service-variable.js.map +0 -0
  939. {app-rn-runtime → package}/variables/utils/dataset-util.js +0 -0
  940. {app-rn-runtime → package}/variables/utils/dataset-util.js.map +0 -0
  941. {app-rn-runtime → package}/variables/utils/inflight-queue.js +0 -0
  942. {app-rn-runtime → package}/variables/utils/inflight-queue.js.map +0 -0
  943. {app-rn-runtime → package}/variables/utils/variable.constants.js +0 -0
  944. {app-rn-runtime → package}/variables/utils/variable.constants.js.map +0 -0
  945. {app-rn-runtime → package}/variables/utils/variable.utils.js +0 -0
  946. {app-rn-runtime → package}/variables/utils/variable.utils.js.map +0 -0
@@ -0,0 +1 @@
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","constructSampleData","getChartType","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","yaxislabeldistance","crossAxis","label","xaxislabel","xaxisdatakey","xunits","axisLabel","mergeStyle","yAxisLabel","grid","hidegridxaxis","xGrid","axis","showxaxis","xAxis","ticks","xTicks","tickLabels","xTickLabels","fixLabelOverlap","autoadjustlabels","axisLabelComponent","tickLabelComponent","offsetyaxis","angle","labelangle","tickCount","invertAxis","isRTL","tickFormat","d","i","getYAxis","showyaxis","ytickexpr","xaxislabeldistance","yaxislabel","yaxisdatakey","yunits","hidegridyaxis","yGrid","yAxis","yTicks","yTickLabels","x","offsetxaxis","dependentAxis","getTooltip","tooltipContainer","xaxis","voronoiDimension","labels","_ref","datum","dataset","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","_yaxis","shape","yPts","o","xindex","xVal","yVal","parseFloat","bubblesize","invokeEventCallback","proxy","setTimeout","endAngle","updateData","renderLoadingIcon","loadingIcon","iconclass","loadingicon","caption","loadingdatamsg","labeltype","setTotal","ydomain","xdomain","loading","total","onPropertyChange","$new","$old","units","xLabel","yLabel","getDataType","widgetContext","Error"],"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\";\nimport { constructSampleData, getChartType } from \"./staticdata\";\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]: any} = {\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 let height = this.styles.root.height || 250;\n let yaxislabeldistance = props.yaxislabeldistance ? props.yaxislabeldistance : height as number - 20;\n if (height && typeof height === 'string') {\n height = parseInt(height);\n }\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),\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 axisLabelComponent={<VictoryLabel y={yaxislabeldistance}/>}\n tickLabelComponent={<VictoryLabel y={props.offsetyaxis ? props.offsetyaxis : height as number - 30} 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 let xaxislabeldistance = props.xaxislabeldistance ? props.xaxislabeldistance : 20\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),\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 axisLabelComponent={<VictoryLabel x={xaxislabeldistance}/>}\n tickLabelComponent={<VictoryLabel x={props.offsetxaxis ? props.offsetxaxis : 50}/>} \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 orientation={this.isRTL?\"right\":\"left\"}\n dependentAxis />;\n }\n \n getTooltip(props: BaseChartComponentProps) {\n const tooltipContainer = this.styles.tooltipContainer;\n const xaxis = props.xaxisdatakey;\n return (\n <VictoryVoronoiContainer\n voronoiDimension=\"x\"\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 = props.customcolors as string[];\n }\n if(props.customcolors===undefined) {\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).isValid() || isNaN(value) || typeof value === 'string' || typeof value === 'number') {\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 if (dataset.length === 0) {\n dataset = constructSampleData(getChartType(this.props), yaxis?.split(','), this.props.shape);\n xaxis = \"x\";\n yaxis = \"y\";\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}\nfunction getDataType(widgetContext: { yaxisdatakey: string | null | undefined; shape: any; }): any {\n throw new Error(\"Function not implemented.\");\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,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,MAAM,MAAM,gEAAgE;AACnF,OAAOC,YAAY,MAAO,8DAA8D;AAGxF,SAASC,aAAa,QAAiC,oBAAoB;AAE3E,SAASC,mBAAmB,EAAEC,YAAY,QAAQ,cAAc;AAEhE,OAAO,MAAMC,uBAAuB,SAA6CN,kBAAkB,CAAI;EAAAO,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,eACzF,EAAE;IAAAA,eAAA,kBACC,IAAI;IAAAA,eAAA,gBACI,EAAE;IAAAA,eAAA,0BACK,EAAE;IAAAA,eAAA,qBACd,EAAE;IAAAA,eAAA;I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AI,GAAGE;QACjB,CAAM,CAAC;QACP;IACJ;EACF;AACF;AACA,SAASG,WAAWA,CAACC,aAAuE,EAAO;EACjG,MAAM,IAAIC,KAAK,CAAC,2BAA2B,CAAC;AAC9C"}
@@ -51,7 +51,6 @@ export default class WmStackChart extends BaseChartComponent {
51
51
  return this.state.colors[0];
52
52
  } else {
53
53
  let colorCodes = cloneDeep(this.state.colors);
54
- ;
55
54
  if (this.state.data.length > 0) {
56
55
  const orderedData = this.getData();
57
56
  this.state.data[0].map((d, i) => {
@@ -67,20 +66,28 @@ export default class WmStackChart extends BaseChartComponent {
67
66
  const negativeValues = cloneDeep(this.getNegativeValuesArray());
68
67
  const data = this.getData();
69
68
  let currentValue = 0;
69
+ let cornerRadius;
70
70
  return data.map((d, i) => {
71
71
  let d1 = [];
72
72
  d.x = 0;
73
73
  d.y = d.y - currentValue;
74
74
  d1.push(d);
75
75
  currentValue = d.y < 0 && i === negativeValues.length - 1 ? 0 : d.y + currentValue;
76
+ if (i === 0) {
77
+ cornerRadius = {
78
+ top: 0,
79
+ bottom: -5
80
+ };
81
+ }
82
+ if (i === data.length - 1) {
83
+ cornerRadius = {
84
+ top: -5,
85
+ bottom: -5
86
+ };
87
+ }
76
88
  return /*#__PURE__*/React.createElement(VictoryBar, {
77
89
  key: props.name + '_' + i,
78
- cornerRadius: {
79
- bottomLeft: 1,
80
- bottomRight: 1,
81
- topLeft: 1,
82
- topRight: 1
83
- },
90
+ cornerRadius: cornerRadius,
84
91
  data: d1
85
92
  });
86
93
  });
@@ -157,8 +164,8 @@ export default class WmStackChart extends BaseChartComponent {
157
164
  let ticks = [];
158
165
  if (this.state.data[0].length) {
159
166
  let data = cloneDeep(this.state.data[0]);
160
- const maxValue = Math.max(...data.map(o => o.y));
161
- const minValue = Math.min(...data.map(o => o.y));
167
+ const maxValue = Math.max(...data.map(o => o.y ? o.y : 0));
168
+ const minValue = Math.min(...data.map(o => o.y ? o.y : 0));
162
169
  const scale = Scale.getBaseScale({}, 'x');
163
170
  scale.domain([minValue > 0 ? 0 : minValue, maxValue]);
164
171
  ticks = Axis.getTicks({}, scale);
@@ -203,7 +210,7 @@ export default class WmStackChart extends BaseChartComponent {
203
210
  theme: this.state.theme,
204
211
  minDomain: mindomain,
205
212
  height: this.styles.root.height,
206
- width: this.styles.root.width || this.state.chartWidth,
213
+ width: this.styles.root.width || this.state.chartWidth || 200,
207
214
  padding: {
208
215
  top: props.offsettop,
209
216
  bottom: props.offsetbottom,
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","Platform","Svg","VictoryStack","VictoryBar","VictoryChart","VictoryPie","VictoryLegend","VictoryAxis","Axis","Scale","orderBy","cloneDeep","findIndex","isString","AccessibilityWidgetType","getAccessibilityProps","WmStackChartProps","DEFAULT_CLASS","BaseChartComponent","BaseChartComponentState","WmStackChartState","constructor","arguments","_defineProperty","WmStackChart","props","e","viewWidth","nativeEvent","layout","width","updateState","chartWidth","componentDidMount","setHeightWidthOnChart","getNegativeValuesArray","negativeValuesArray","state","data","filter","d","y","getPositiveValuesArray","positiveValuesArray","getData","negativeValues","concat","updateColors","colors","length","colorCodes","orderedData","map","i","index","getBarChart","currentValue","cornerRadius","d1","x","push","top","bottom","createElement","key","name","getColorCodes","reverse","getArcChart","colorScaleArray","maxValue","Math","max","o","radius","min","chartHeight","colorScale","startAngle","endAngle","standalone","origin","innerRadius","thickness","labels","getArcAxis","ticks","getTickValues","axisData","forEach","yunits","style","fontSize","paddingLeft","paddingRight","labelRadius","minValue","scale","getBaseScale","domain","getTicks","unshift","minvalue","onSelect","event","value","label","xaxisDatakeyArr","datum","selectedItem","dataset","selectedChartItem","series","_dataObj","invokeEventCallback","proxy","renderWidget","mindomain","xdomain","chartMinX","undefined","ydomain","chartMinY","_extends","LINECHART","styles","root","onLayout","onViewLayoutChange","viewtype","theme","minDomain","height","padding","offsettop","offsetbottom","left","offsetleft","right","offsetright","containerComponent","getTooltip","title","fontFamily","subheading","orientation","gutter","getLegendView","crossAxis","tickLabels","fill","showyaxis","axisLabel","grid","stroke","tickValues","tickFormat","t","abbreviateNumber","dependentAxis","horizontal","strokeWidth","events","target","eventHandlers","OS","onClick","bind","onPress"],"sources":["stack-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport { LayoutChangeEvent, View, Platform } from 'react-native';\nimport { Svg } from 'react-native-svg';\nimport { VictoryStack, VictoryBar, VictoryChart, VictoryPie, VictoryLegend, VictoryAxis } from 'victory-native';\nimport { Axis, Scale } from 'victory-core';\nimport { orderBy, cloneDeep, findIndex, isString} from 'lodash';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\nimport WmStackChartProps from './stack-chart.props';\nimport { DEFAULT_CLASS, WmStackChartStyles } from './stack-chart.styles';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from '@wavemaker/app-rn-runtime/components/chart/basechart.component';\n\nexport class WmStackChartState extends BaseChartComponentState<WmStackChartProps> {\n chartWidth = 0;\n}\n\nexport default class WmStackChart extends BaseChartComponent<WmStackChartProps, WmStackChartState, WmStackChartStyles> {\n constructor(props: WmStackChartProps) {\n super(props, DEFAULT_CLASS, new WmStackChartProps(), new WmStackChartState());\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.setHeightWidthOnChart();\n }\n\n getNegativeValuesArray() {\n let negativeValuesArray = cloneDeep(this.state.data[0]).filter((d: any) => d.y < 0);\n negativeValuesArray = orderBy(negativeValuesArray, 'y', 'desc');\n return negativeValuesArray;\n }\n\n getPositiveValuesArray() {\n let positiveValuesArray = cloneDeep(this.state.data[0]).filter((d: any) => d.y > 0);\n positiveValuesArray = orderBy(positiveValuesArray, 'y', 'asc');\n return positiveValuesArray;\n }\n\n getData() {\n const negativeValues = cloneDeep(this.getNegativeValuesArray());\n return negativeValues.concat(cloneDeep(this.getPositiveValuesArray()));\n }\n\n updateColors() {\n if (this.state.colors.length === 1 ) {\n return this.state.colors[0];\n } else {\n let colorCodes = cloneDeep(this.state.colors);\n if ( this.state.data.length > 0 ) {\n const orderedData = this.getData();\n this.state.data[0].map((d: any, i: number) => {\n let index = findIndex(orderedData, d);\n colorCodes[index] = this.state.colors[i];\n })\n return colorCodes;\n }\n }\n }\n\n getBarChart(props: WmStackChartProps) {\n if ( this.state.data.length > 0 ) {\n const negativeValues = cloneDeep(this.getNegativeValuesArray());\n const data = this.getData();\n let currentValue = 0;\n let cornerRadius: any;\n\n return data.map((d: any, i: number) => {\n let d1: any = [];\n d.x = 0;\n d.y = d.y - currentValue;\n d1.push(d);\n currentValue = d.y < 0 && i === negativeValues.length -1 ? 0 : d.y + currentValue;\n if (i === 0) {\n cornerRadius = {top: 0, bottom: -5};\n }\n if (i === data.length - 1) {\n cornerRadius = {top: -5, bottom: -5};\n }\n return <VictoryBar key={props.name + '_' + i}\n cornerRadius={cornerRadius}\n data={d1}/>\n });\n }\n }\n\n private getColorCodes() {\n const colors = cloneDeep(this.updateColors());\n return isString(colors) ? [colors] : colors.reverse();\n }\n\n getArcChart(props: WmStackChartProps) {\n if ( this.state.data.length > 0 ) {\n let data = cloneDeep(this.state.data[0]);\n const colorScaleArray = this.getColorCodes();\n const maxValue = Math.max(...data.map((o: any) => o.y));\n data = orderBy(data, 'y', 'desc');\n const radius = Math.min(this.state.chartWidth/2, this.state.chartHeight - 50);\n return data.map((d: any, i: number) => {\n let d1: any = [];\n d1.push(d);\n d1.push({x: d.x, y: maxValue - d.y})\n return <VictoryPie key={props.name + '_' + i}\n radius={radius}\n colorScale={[colorScaleArray[i], '#fff0']}\n startAngle={-80}\n endAngle={80}\n cornerRadius={100}\n standalone={false}\n origin={{x: (this.state.chartWidth/2), y: (this.state.chartHeight - 50)}}\n innerRadius={radius - this.state.props.thickness}\n labels={[]}\n data={d1}/>\n });\n }\n }\n\n getArcAxis() {\n const ticks = this.getTickValues();\n const radius = Math.min(this.state.chartWidth/2, this.state.chartHeight-50);\n const axisData: any = [];\n ticks.forEach((d: any, i: any) => {\n axisData.push({x: `${this.state.props.yunits}${d}`, y: 1})\n });\n return <VictoryPie\n style={{\n labels: {\n fontSize: 12, paddingLeft: 50, paddingRight: 80\n }}\n }\n startAngle={-90}\n endAngle={90}\n standalone={false}\n colorScale={['#fff0']}\n origin={{x: (this.state.chartWidth/2 - 5), y: (this.state.chartHeight - 50)}}\n labelRadius={radius - this.state.props.thickness - 20}\n data={axisData}\n />\n }\n\n onViewLayoutChange = (e: LayoutChangeEvent) => {\n let viewWidth = e.nativeEvent.layout.width;\n this.updateState({\n chartWidth: viewWidth\n } as WmStackChartState);\n }\n\n getTickValues() {\n let ticks: any = [];\n if (this.state.data[0].length) {\n let data = cloneDeep(this.state.data[0]);\n const maxValue = Math.max(...data.map((o: any) => o.y ? o.y : 0));\n const minValue = Math.min(...data.map((o: any) => o.y ? o.y : 0));\n const scale = Scale.getBaseScale({}, 'x');\n scale.domain([minValue > 0 ? 0 : minValue, maxValue]);\n ticks = Axis.getTicks({}, scale);\n ticks[ticks.length -1] = maxValue;\n if ( minValue < 0 ) {\n if (ticks[0] === 0) {\n ticks.unshift(minValue);\n } else {\n ticks[0] = minValue;\n }\n } else {\n ticks[0] = this.state.props.minvalue;\n }\n }\n return ticks;\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: WmStackChartProps) {\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 (\n <View\n {...getAccessibilityProps(AccessibilityWidgetType.LINECHART, props)}\n style={this.styles.root} onLayout={this.onViewLayoutChange}\n >{\n props.viewtype === 'Bar' ?\n <VictoryChart\n theme={this.state.theme}\n minDomain={mindomain}\n height={this.styles.root.height as number}\n width={this.styles.root.width as number || this.state.chartWidth || 200}\n padding={{\n top: props.offsettop,\n bottom: props.offsetbottom,\n left: props.offsetleft,\n right: props.offsetright\n }}\n containerComponent={\n this.getTooltip(props)\n }\n >\n <VictoryLegend\n name={'legend'}\n containerComponent={<Svg />}\n style={{title: {\n fontFamily: \"'Helvetica Neue', 'Helvetica', sans-serif\",\n fontSize: 18\n }\n }}\n title={[props.title, props.subheading]}\n orientation=\"horizontal\"\n gutter={20}\n data={[]}\n theme={this.state.theme}\n />\n {this.getLegendView(this.updateColors())}\n <VictoryAxis crossAxis\n style={{\n tickLabels: { fill: this.state.props.showyaxis === false ? 'transparent' : '#000000', fontSize: 12, padding: this.state.props.thickness/2 + 5},\n axisLabel: { padding: (15 + this.state.props.thickness/2) },\n grid: {stroke: 'none'}\n }}\n theme={this.state.theme}\n tickValues={this.getTickValues()}\n tickFormat={(t) => this.state.props.yunits ? `${this.abbreviateNumber(t)}${this.state.props.yunits}` : `${this.abbreviateNumber(t)}`} dependentAxis />\n <VictoryStack\n colorScale={this.updateColors()}\n horizontal={true}\n style={{\n data: { strokeWidth: this.state.props.thickness }\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 this.getBarChart(props)\n }\n </VictoryStack>\n </VictoryChart> :\n <Svg width={this.state.chartWidth} height={this.state.chartHeight}>\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.getArcChart(props)}\n {this.getArcAxis()}\n </Svg>\n }\n </View>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAA4BC,IAAI,EAAEC,QAAQ,QAAQ,cAAc;AAChE,SAASC,GAA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AAC7F,KAAK,CAAC6F;IAAM,CACzB,CAAC,EACD,IAAI,CAAC9D,WAAW,CAAC3C,KAAK,CAAC,EACvB,IAAI,CAAC4D,UAAU,CAAC,CACd,CAEH,CAAC;EAEX;AACF"}
@@ -75,7 +75,7 @@ export default class WmAccordion extends BaseComponent {
75
75
  let accordionpanes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
76
76
  const showIconOnLeft = this.styles.leftToggleIcon.root.width !== undefined;
77
77
  const isExpanded = this.state.isExpanded[index];
78
- return /*#__PURE__*/React.createElement(View, {
78
+ return item.props.show != false ? /*#__PURE__*/React.createElement(View, {
79
79
  style: this.styles.pane,
80
80
  key: item.props.title
81
81
  }, /*#__PURE__*/React.createElement(TouchableOpacity, _extends({
@@ -97,7 +97,7 @@ export default class WmAccordion extends BaseComponent {
97
97
  style: [this.styles.text, this.styles.heading, isExpanded ? this.styles.activeHeaderTitle : {}]
98
98
  }, this.getTestPropsForAction(`header${index}_title`)), isDefined(item.props.title) ? item.props.title : 'Title'), item.props.description ? /*#__PURE__*/React.createElement(Text, _extends({
99
99
  style: this.styles.subheading
100
- }, this.getTestPropsForAction(`header${index}_description`)), item.props.description) : null), this.expandCollapseIcon(item, index, true, !showIconOnLeft, true, isExpanded)), item);
100
+ }, this.getTestPropsForAction(`header${index}_description`)), item.props.description) : null), this.expandCollapseIcon(item, index, true, !showIconOnLeft, true, isExpanded)), item) : null;
101
101
  }
102
102
  toggle(index) {
103
103
  let expand = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","TouchableOpacity","View","Badge","isArray","BaseComponent","BaseComponentState","WmAccordionProps","DEFAULT_CLASS","WmIcon","isDefined","WmAccordionState","constructor","arguments","_defineProperty","WmAccordion","props","addAccordionPane","accordionPane","_this$state$isExpande","i","accordionPanes","findIndex","t","title","newIndex","state","isExpanded","find","v","toggle","defaultpaneindex","expand","accordionName","name","collapse","expandCollapseIcon","item","index","showBadge","length","undefined","showIcon","useChevron","widgetProps","badge","badgevalue","createElement","_extends","style","styles","activeBadge","badgetype","getTestProps","iconclass","flexDirection","id","getTestId","theme","mergeStyle","icon","activeIcon","renderAccordionpane","accordionpanes","showIconOnLeft","leftToggleIcon","root","width","show","pane","key","getTestPropsForAction","header","firstHeader","lastHeader","activeHeader","onPress","bind","flex","justifyContent","text","heading","activeHeaderTitle","description","subheading","expandedId","collapseId","closeothers","lastExpandedIndex","collapsedPane","hide","Promise","resolve","then","expandedPane","setState","invokeEventCallback","proxy","componentDidMount","renderWidget","children","_background","map"],"sources":["accordion.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, TouchableOpacity, View } from 'react-native';\nimport { Badge } from 'react-native-paper';\nimport { isArray } from 'lodash';\n\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmAccordionProps from './accordion.props';\nimport { DEFAULT_CLASS, WmAccordionStyles } from './accordion.styles';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmAccordionpane from './accordionpane/accordionpane.component';\nimport { isDefined } from '@wavemaker/app-rn-runtime/core/utils';\n\nexport class WmAccordionState extends BaseComponentState<WmAccordionProps> {\n lastExpandedIndex = -1;\n isExpanded = [] as boolean[];\n}\n\nexport default class WmAccordion extends BaseComponent<WmAccordionProps, WmAccordionState, WmAccordionStyles> {\n public accordionPanes = [] as WmAccordionpane[];\n private newIndex = 0;\n\n constructor(props: WmAccordionProps) {\n super(props, DEFAULT_CLASS, new WmAccordionProps(), new WmAccordionState());\n }\n\n addAccordionPane(accordionPane: WmAccordionpane) {\n const i = this.accordionPanes.findIndex(t => t.props.title === accordionPane.props.title);\n if (i >= 0) {\n this.accordionPanes[i] = accordionPane;\n } else {\n this.accordionPanes[this.newIndex++] = accordionPane;\n }\n if (!(this.state.isExpanded?.find((v) => v))) {\n this.toggle(this.state.props.defaultpaneindex + 1);\n }\n }\n\n expand(accordionName: string) {\n const i = this.accordionPanes.findIndex(t => t.props.name === accordionName);\n this.toggle(i + 1, true);\n }\n\n collapse(accordionName: string) {\n const i = this.accordionPanes.findIndex(t => t.props.name === accordionName);\n this.toggle(i + 1, false);\n }\n\n expandCollapseIcon(item: any, index: number, showBadge = true, showIcon = true, useChevron = true, isExpanded = false) {\n const widgetProps = item.props;\n //@ts-ignore\n const badge = showBadge && widgetProps.badgevalue != undefined ? (\n <Badge style={[\n this.styles.badge,\n isExpanded ? this.styles.activeBadge: null,\n this.styles[widgetProps.badgetype || 'default']]}\n {...this.getTestProps('badge'+index)}>\n {widgetProps.badgevalue}\n </Badge>): null;\n let iconclass = null;\n if (useChevron) {\n iconclass = isExpanded ? 'wi wi-chevron-down' : 'wi wi-chevron-up';\n } else {\n iconclass = isExpanded ? 'wi wi-minus' : 'wi wi-plus';\n }\n return (<View style={{flexDirection: 'row'}}>\n {badge}\n {showIcon ? (\n <WmIcon\n id={this.getTestId('icon' + index)}\n styles={this.theme.mergeStyle({}, this.styles.icon, isExpanded ? this.styles.activeIcon : null)}\n name={'expand_collapse_icon'}\n iconclass={iconclass}></WmIcon>): null}\n </View>);\n }\n\n renderAccordionpane(item: any, index: any, accordionpanes: any[] = []) {\n const showIconOnLeft = this.styles.leftToggleIcon.root.width !== undefined;\n const isExpanded = this.state.isExpanded[index];\n return item.props.show != false ? (\n <View style={this.styles.pane} key={item.props.title}>\n <TouchableOpacity key={'accordionpane_' + (index + 1)}\n {...this.getTestPropsForAction(`header${index}`)}\n style={[this.styles.header,\n index === 0 ? this.styles.firstHeader: null,\n index === accordionpanes.length - 1 && !isExpanded ? this.styles.lastHeader: null,\n isExpanded ? this.styles.activeHeader : {}]}\n onPress={this.toggle.bind(this, index + 1, !isExpanded)}>\n {this.expandCollapseIcon(item, index, false, showIconOnLeft, true, isExpanded)}\n {item.props.iconclass ? <WmIcon styles={this.styles.icon} name={item.props.name + '_icon'} iconclass={item.props.iconclass}></WmIcon>: null}\n <View style={{flexDirection: 'column', flex: 1, justifyContent: 'center'}}>\n <Text style={[\n this.styles.text,\n this.styles.heading,\n isExpanded ? this.styles.activeHeaderTitle : {}]}\n {...this.getTestPropsForAction(`header${index}_title`)}>\n {isDefined(item.props.title) ? item.props.title : 'Title'}\n </Text>\n {item.props.description ? \n (<Text style={this.styles.subheading}\n {...this.getTestPropsForAction(`header${index}_description`)}>{item.props.description}</Text>) : null }\n </View>\n {this.expandCollapseIcon(item, index, true, !showIconOnLeft, true, isExpanded)}\n </TouchableOpacity>\n {item}\n </View>\n ): null;\n }\n\n toggle(index: number, expand = true) {\n let expandedId = expand ? index : -1;\n let collapseId = expand ? -1 : index;\n if (expand && this.state.isExpanded[expandedId - 1]\n || !expand && this.state.isExpanded[collapseId - 1] === false) {\n return;\n }\n if (collapseId < 0 && this.state.props.closeothers) {\n collapseId = this.state.lastExpandedIndex;\n }\n const collapsedPane = this.accordionPanes[collapseId -1];\n collapsedPane?.hide();\n Promise.resolve().then(() => {\n const expandedPane = expandedId ? this.accordionPanes[expandedId - 1]: null;\n expandedPane?.show();\n this.setState((state) => {\n if (collapseId > 0 && collapsedPane) {\n state.isExpanded[collapseId - 1] = false;\n }\n if (expandedId > 0 && expandedPane) {\n state.isExpanded[expandedId - 1] = true;\n }\n return {\n lastExpandedIndex: expandedId,\n isExpanded: [...state.isExpanded]\n };\n }, () => {\n this.invokeEventCallback('onChange', [{},\n this.proxy,\n expandedId - 1,\n collapseId ? collapseId - 1 : null,\n expandedPane && expandedPane.props.name,\n collapsedPane && collapsedPane.props.name]);\n });\n }, () => {});\n }\n\n public componentDidMount(): void {\n super.componentDidMount();\n this.toggle(this.state.props.defaultpaneindex + 1);\n }\n\n renderWidget(props: WmAccordionProps) {\n const accordionpanes = props.children;\n const expandedId = this.state.lastExpandedIndex || 0;\n return (\n <View style={this.styles.root}>\n {this._background}\n {accordionpanes\n ? isArray(accordionpanes) && accordionpanes.length\n ? accordionpanes.map((item: any, index: any) => this.renderAccordionpane(item, index, accordionpanes))\n : this.renderAccord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AC,GAC7C,IACF,CAAC;EAEb;AACF"}
@@ -13,27 +13,18 @@ export class WmContainerState extends PartialHostState {
13
13
  constructor() {
14
14
  super(...arguments);
15
15
  _defineProperty(this, "isPartialLoaded", false);
16
- _defineProperty(this, "showContent", false);
17
16
  }
18
17
  }
19
18
  export default class WmContainer extends PartialHost {
20
19
  constructor(props) {
21
20
  super(props, DEFAULT_CLASS, new WmContainerProps(), new WmContainerState());
22
- this.updateState({
23
- showContent: !this.state.props.deferload
24
- });
25
21
  }
26
22
  renderWidget(props) {
27
- if (!this.state.showContent && this.isVisible()) {
28
- this.updateState({
29
- showContent: true
30
- });
31
- }
32
23
  const dimensions = {
33
24
  width: this.styles.root.width ? '100%' : undefined,
34
25
  height: this.styles.root.height ? '100%' : undefined
35
26
  };
36
- return this.state.showContent && /*#__PURE__*/React.createElement(Animatedview, {
27
+ return /*#__PURE__*/React.createElement(Animatedview, {
37
28
  entryanimation: props.animation,
38
29
  style: this.styles.root
39
30
  }, this._background, /*#__PURE__*/React.createElement(Tappable, _extends({}, this.getTestPropsForAction(), {
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","WmContainerProps","DEFAULT_CLASS","Tappable","Animatedview","PartialHost","PartialHostState","WmContainerState","constructor","arguments","_defineProperty","WmContainer","props","renderWidget","dimensions","width","styles","root","undefined","height","createElement","entryanimation","animation","style","_background","_extends","getTestPropsForAction","target","content","renderContent"],"sources":["container.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, ViewStyle } from 'react-native';\n\nimport WmContainerProps from './container.props';\nimport { DEFAULT_CLASS, WmContainerStyles } from './container.styles';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport { PartialHost, PartialHostState } from './partial-host.component';\n\nexport class WmContainerState extends PartialHostState<WmContainerProps> {\n isPartialLoaded = false;\n}\n\nexport default class WmContainer extends PartialHost<WmContainerProps, WmContainerState, WmContainerStyles> {\n constructor(props: WmContainerProps) {\n super(props, DEFAULT_CLASS, new WmContainerProps(), new WmContainerState());\n }\n\n renderWidget(props: WmContainerProps) {\n const dimensions = {\n width: this.styles.root.width ? '100%' : undefined,\n height: this.styles.root.height ? '100%' : undefined\n };\n return (\n <Animatedview entryanimation={props.animation} style={this.styles.root}>\n {this._background}\n <Tappable {...this.getTestPropsForAction()} target={this} styles={dimensions}>\n <View style={[dimensions as ViewStyle, this.styles.content]}>{this.renderContent(props)}</View>\n </Tappable>\n </Animatedview>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAmB,cAAc;AAE9C,OAAOC,gBAAgB,MAAM,mBAAmB;AAChD,SAASC,aAAa,QAA2B,oBAAoB;AACrE,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAASC,WAAW,EAAEC,gBAAgB,QAAQ,0BAA0B;AAExE,OAAO,MAAMC,gBAAgB,SAASD,gBAAgB,CAAmB;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,0BACrD,KAAK;EAAA;AACzB;AAEA,eAAe,MAAMC,WAAW,SAASN,WAAW,CAAwD;EAC1GG,WAAWA,CAACI,KAAuB,EAAE;IACnC,KAAK,CAACA,KAAK,EAAEV,aAAa,EAAE,IAAID,gBAAgB,CAAC,CAAC,EAAE,IAAIM,gBAAgB,CAAC,CAAC,CAAC;EAC7E;EAEAM,YAAYA,CAACD,KAAuB,EAAE;IACpC,MAAME,UAAU,GAAG;MACjBC,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC,IAAI,CAACF,KAAK,GAAG,MAAM,GAAGG,SAAS;MAClDC,MAAM,EAAE,IAAI,CAACH,MAAM,CAACC,IAAI,CAACE,MAAM,GAAG,MAAM,GAAGD;IAC7C,CAAC;IACD,oBACEnB,KAAA,CAAAqB,aAAA,CAAChB,YAAY;MAACiB,cAAc,EAAET,KAAK,CAACU,SAAU;MAACC,KAAK,EAAE,IAAI,CAACP,MAAM,CAACC;IAAK,GACpE,IAAI,CAACO,WAAW,eACjBzB,KAAA,CAAAqB,aAAA,CAACjB,QAAQ,EAAAsB,QAAA,KAAK,IAAI,CAACC,qBAAqB,CAAC,CAAC;MAAEC,MAAM,EAAE,IAAK;MAACX,MAAM,EAAEF;IAAW,iBACzEf,KAAA,CAAAqB,aAAA,CAACpB,IAAI;MAACuB,KAAK,EAAE,CAACT,UAAU,EAAgB,IAAI,CAACE,MAAM,CAACY,OAAO;IAAE,GAAE,IAAI,CAACC,aAAa,CAACjB,KAAK,CAAQ,CACzF,CACE,CAAC;EAEnB;AACF"}
@@ -7,7 +7,6 @@ export default class WmContainerProps extends PartialHostProps {
7
7
  super(...arguments);
8
8
  _defineProperty(this, "animation", null);
9
9
  _defineProperty(this, "onLoad", void 0);
10
- _defineProperty(this, "deferload", false);
11
10
  }
12
11
  }
13
12
  //# sourceMappingURL=container.props.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["PartialHostProps","WmContainerProps","constructor","arguments","_defineProperty"],"sources":["container.props.ts"],"sourcesContent":["import { PartialHostProps } from './partial-host.component';\n\nexport default class WmContainerProps extends PartialHostProps {\n animation?: string = null as any;\n onLoad?: Function;\n deferload?: boolean = false;\n}\n"],"mappings":";;;AAAA,SAASA,gBAAgB,QAAQ,0BAA0B;AAE3D,eAAe,MAAMC,gBAAgB,SAASD,gBAAgB,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBACxC,IAAI;IAAAA,eAAA;IAAAA,eAAA,oBAEH,KAAK;EAAA;AAC7B"}
1
+ {"version":3,"names":["PartialHostProps","WmContainerProps","constructor","arguments","_defineProperty"],"sources":["container.props.ts"],"sourcesContent":["import { PartialHostProps } from './partial-host.component';\n\nexport default class WmContainerProps extends PartialHostProps {\n animation?: string = null as any;\n onLoad?: Function;\n}\n"],"mappings":";;;AAAA,SAASA,gBAAgB,QAAQ,0BAA0B;AAE3D,eAAe,MAAMC,gBAAgB,SAASD,gBAAgB,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBACxC,IAAI;IAAAA,eAAA;EAAA;AAE3B"}
@@ -95,7 +95,7 @@ export default class WmPanel extends BaseComponent {
95
95
  }
96
96
  renderPane(content) {
97
97
  const expanded = this.state.props.expanded;
98
- return isWebPreviewMode() ? /*#__PURE__*/React.createElement(View, {
98
+ return isWebPreviewMode() || this.styles.header.display == "none" ? /*#__PURE__*/React.createElement(View, {
99
99
  style: expanded ? {} : {
100
100
  maxHeight: 0,
101
101
  overflow: 'hidden'
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","View","TouchableOpacity","isUndefined","Badge","BaseComponent","BaseComponentState","WmIcon","WmPanelProps","DEFAULT_CLASS","isWebPreviewMode","CollapsiblePane","WmPanelState","constructor","arguments","_defineProperty","WmPanel","props","onPartialLoad","invokeEventCallback","renderContent","renderPartial","state","isPartialLoaded","setTimeout","updateState","bind","onPanelPress","collapsible","eventName","expanded","proxy","expandCollapseIcon","isExpanded","widgetProps","badge","badgevalue","undefined","createElement","style","styles","badgetype","iconclass","name","toggleIcon","flexDirection","alignItems","renderHeader","_extends","getTestPropsForAction","header","onPress","iconurl","icon","iconheight","iconwidth","iconmargin","flex","justifyContent","text","heading","title","subheading","renderPane","content","display","maxHeight","overflow","close","renderWidget","root","_background","Fragment","children"],"sources":["panel.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View, TouchableOpacity } from 'react-native';\nimport { isUndefined } from 'lodash';\nimport { Badge } from 'react-native-paper';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\n\nimport WmPanelProps from './panel.props';\nimport { DEFAULT_CLASS, WmPanelStyles } from './panel.styles';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\nimport { CollapsiblePane } from './collapsible-pane.component';\n\nexport class WmPanelState extends BaseComponentState<WmPanelProps> {\n isPartialLoaded = false;\n}\n\nexport default class WmPanel extends BaseComponent<WmPanelProps, WmPanelState, WmPanelStyles> {\n constructor(props: WmPanelProps) {\n super(props, DEFAULT_CLASS, new WmPanelProps());\n }\n\n onPartialLoad() {\n this.invokeEventCallback('onLoad', [this]);\n }\n\n renderContent(props: WmPanelProps) {\n if (props.renderPartial) {\n if (!this.state.isPartialLoaded) {\n setTimeout(() => {\n this.updateState({\n isPartialLoaded: true\n } as WmPanelState);\n });\n }\n return props.renderPartial(props, this.onPartialLoad.bind(this));\n }\n }\n\n onPanelPress() {\n if (!this.state.props.collapsible) {\n return;\n }\n const eventName = this.state.props.expanded ? 'onCollapse' : 'onExpand';\n this.updateState({\n props: {\n expanded: !this.state.props.expanded\n }\n } as WmPanelState);\n\n this.invokeEventCallback(eventName, [null, this.proxy]);\n }\n\n expandCollapseIcon(isExpanded: boolean) {\n const widgetProps = this.state.props;\n //@ts-ignore\n const badge = widgetProps.badgevalue != undefined ? (<Badge style={[this.styles.badge, this.styles[widgetProps.badgetype || 'default']]}>{widgetProps.badgevalue}</Badge>): null;\n const iconclass = isExpanded ? 'wi wi-chevron-up' : 'wi wi-chevron-down';\n const expandCollapseIcon = widgetProps.collapsible ? (<WmIcon name={'expand_collapse_icon'} styles={this.styles.toggleIcon} iconclass={iconclass}></WmIcon>) : null;\n return (<View style={{flexDirection: 'row', alignItems: 'center'}}>{badge}{expandCollapseIcon}</View>);\n }\n\n renderHeader() {\n const props = this.state.props;\n return (\n <TouchableOpacity\n {...this.getTestPropsForAction(`header`)}\n style={[this.styles.header]}\n onPress={this.onPanelPress.bind(this)}>\n {props.iconclass || props.iconurl ? \n <WmIcon styles={this.styles.icon} \n name={props.name + '_icon'}\n iconclass={props.iconclass}\n iconheight={props.iconheight}\n iconwidth={props.iconwidth}\n iconmargin={props.iconmargin}\n iconurl={props.iconurl}\n /> : null}\n <View style={{flexDirection: 'column', flex: 1, justifyContent: 'center'}}>\n <Text style={[\n this.styles.text,\n this.styles.heading]}\n {...this.getTestPropsForAction(`header_title`)}>\n {isUndefined(props.title) ? 'Title' : props.title}\n </Text>\n {props.subheading ? \n (<Text style={this.styles.subheading}\n {...this.getTestPropsForAction(`subheader`)}>{props.subheading}</Text>) : null }\n </View>\n {this.expandCollapseIcon(props.expanded)}\n </TouchableOpacity>\n );\n }\n\n renderPane(content: React.ReactNode) {\n const expanded = this.state.props.expanded;\n return isWebPreviewMode() || this.styles.header.display == \"none\" ? \n (<View style={expanded ? {} : {maxHeight: 0, overflow: 'hidden'}}>\n {content}\n </View>) :\n (<CollapsiblePane close={!expanded}>\n {content}\n </CollapsiblePane>);\n }\n\n renderWidget(props: WmPanelProps) {\n return (<View style={this.styles.root}>\n {this._background}\n {this.renderHeader()}\n {this.renderPane((\n <>\n {this.renderContent(props)}\n <View>{props.children}</View>\n </>\n ))}\n </View>);\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,gBAAgB,QAAQ,cAAc;AAC3D,SAASC,WAAW,QAAQ,QAAQ;AACpC,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,MAAM,MAAM,gEAAgE;AAEnF,OAAOC,YAAY,MAAM,eAAe;AACxC,SAASC,aAAa,QAAuB,gBAAgB;AAC7D,SAASC,gBAAgB,QAAQ,sCAAsC;AACvE,SAASC,eAAe,QAAQ,8BAA8B;AAE9D,OAAO,MAAMC,YAAY,SAASN,kBAAkB,CAAe;EAAAO,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,0BAC/C,KAAK;EAAA;AACzB;AAEA,eAAe,MAAMC,OAAO,SAASX,aAAa,CAA4C;EAC5FQ,WAAWA,CAACI,KAAmB,EAAE;IAC/B,KAAK,CAACA,KAAK,EAAER,aAAa,EAAE,IAAID,YAAY,CAAC,CA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E;EACvB;EAEAK,YAAYA,CAACpD,KAAmB,EAAE;IAChC,oBAAQlB,KAAA,CAAAuC,aAAA,CAACrC,IAAI;MAACsC,KAAK,EAAE,IAAI,CAACC,MAAM,CAAC8B;IAAK,GACnC,IAAI,CAACC,WAAW,EAChB,IAAI,CAACxB,YAAY,CAAC,CAAC,EACnB,IAAI,CAACgB,UAAU,eACdhE,KAAA,CAAAuC,aAAA,CAAAvC,KAAA,CAAAyE,QAAA,QACC,IAAI,CAACpD,aAAa,CAACH,KAAK,CAAC,eAC1BlB,KAAA,CAAAuC,aAAA,CAACrC,IAAI,QAAEgB,KAAK,CAACwD,QAAe,CAC1B,CACH,CACG,CAAC;EACT;AACF"}
@@ -116,7 +116,7 @@ export default class WmTabheader extends BaseComponent {
116
116
  }
117
117
  }, {
118
118
  ...this.styles.root,
119
- width: ((_this$styles$root = this.styles.root) === null || _this$styles$root === void 0 ? void 0 : _this$styles$root.width) || "100%",
119
+ width: ((_this$styles$root = this.styles.root) === null || _this$styles$root === void 0 ? void 0 : _this$styles$root.width) || "80%",
120
120
  height: ((_this$styles$root2 = this.styles.root) === null || _this$styles$root2 === void 0 ? void 0 : _this$styles$root2.height) || ((_this$styles$activeHe = this.styles.activeHeaderText) === null || _this$styles$activeHe === void 0 ? void 0 : _this$styles$activeHe.fontSize) || 16
121
121
  })));
122
122
  })), /*#__PURE__*/React.createElement(Animated.View, {
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Animated","Easing","Text","View","BaseComponent","BaseComponentState","WmTabheaderProps","DEFAULT_CLASS","Tappable","createSkeleton","BackgroundComponent","WmTabheaderState","WmTabheader","constructor","props","_defineProperty","Value","headerScrollPosition","addListener","_ref","value","headerScrollPositionValue","setHeaderPanelPositon","nativeEvent","headerPanelLayout","layout","forceUpdate","setHeaderPositon","index","headersLayout","selectedTabIndex","onTabSelection","state","onIndexChange","setPosition","_this$headersLayout$s","_this$headerPanelLayo","_this$headerPanelLayo2","toIndicatorPosition","toIndicatorWidth","width","toHeaderScrollPosition","totalWidth","data","length","forEach","p","i","minScrollPosition","maxScrollPosition","Math","max","min","positionIndicator","position","isRTL","parallel","timing","useNativeDriver","toValue","duration","easing","linear","indicatorWidth","reverseIndicatorWidth","indicatorPosition","start","renderSkeleton","createElement","style","transform","translateX","onLayout","bind","styles","root","map","header","_this$styles$root","_this$styles$root2","_this$styles$activeHe","isSelected","onTap","key","flex","activeHeader","theme","borderRadius","height","activeHeaderText","fontSize","activeIndicator","scaleX","renderWidget","arrowIndicator","overflow","zIndex","_background","_extends","getTestPropsForAction","flexGrow","undefined","numberOfLines","headerText","getTestPropsForLabel","title","backgroundImage","image","backgroundPosition","size","backgroundSize","repeat","backgroundRepeat","resizeMode","backgroundResizeMode","arrowIndicatorDot"],"sources":["tabheader.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Animated, Easing, LayoutChangeEvent, LayoutRectangle, Text, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmTabheaderProps from './tabheader.props';\nimport { DEFAULT_CLASS, WmTabheaderStyles } from './tabheader.styles';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport WmSkeleton, { createSkeleton } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.component';\nimport { WmSkeletonStyles } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.styles';\nimport { BackgroundComponent } from '@wavemaker/app-rn-runtime/styles/background.component';\n\nexport class WmTabheaderState extends BaseComponentState<WmTabheaderProps> {\n}\n\nexport default class WmTabheader extends BaseComponent<WmTabheaderProps, WmTabheaderState, WmTabheaderStyles> {\n\n private headerPanelLayout: LayoutRectangle = null as any;\n private headersLayout: LayoutRectangle[] = [];\n private headerScrollPosition = new Animated.Value(0);\n private headerScrollPositionValue = 0;\n private indicatorPosition = new Animated.Value(0);\n private reverseIndicatorWidth = new Animated.Value(0);\n private indicatorWidth = new Animated.Value(0);\n\n constructor(props: WmTabheaderProps) {\n super(props, DEFAULT_CLASS, new WmTabheaderProps(), new WmTabheaderState());\n this.headerScrollPosition.addListener(({value}) => this.headerScrollPositionValue = value);\n }\n\n setHeaderPanelPositon(nativeEvent: LayoutChangeEvent) {\n this.headerPanelLayout = nativeEvent.nativeEvent.layout;\n this.forceUpdate();\n }\n\n setHeaderPositon(index: number, nativeEvent: LayoutChangeEvent) {\n this.headersLayout[index] = nativeEvent.nativeEvent.layout;\n if (index === this.props.selectedTabIndex) {\n this.forceUpdate();\n }\n }\n\n onTabSelection(index: number) {\n if (this.state.props.selectedTabIndex != index) {\n this.state.props.onIndexChange && this.state.props.onIndexChange(index);\n }\n }\n\n setPosition() {\n const selectedTabIndex = this.state.props.selectedTabIndex;\n let toIndicatorPosition = 0;\n let toIndicatorWidth = this.headersLayout[selectedTabIndex]?.width || 0;\n let toHeaderScrollPosition = this.headerScrollPositionValue;\n let totalWidth = 0;\n if (this.state.props.data.length !== this.headersLayout.length) {\n return;\n }\n this.headersLayout.forEach((p, i) => {\n if (i < selectedTabIndex) {\n toIndicatorPosition += p.width;\n }\n totalWidth += p.width;\n });\n toHeaderScrollPosition = -1 * (toIndicatorPosition - (this.headerPanelLayout?.width || 0) / 2 + toIndicatorWidth/ 2) ;\n const minScrollPosition = -1 * (totalWidth - (this.headerPanelLayout?.width || 0));\n const maxScrollPosition = 0;\n toHeaderScrollPosition = Math.max(minScrollPosition, toHeaderScrollPosition);\n toHeaderScrollPosition = Math.min(maxScrollPosition, toHeaderScrollPosition);\n let positionIndicator = (toIndicatorPosition - (100 - toIndicatorWidth) / 2);\n let position = this.isRTL?-positionIndicator:positionIndicator;\n Animated.parallel([\n Animated.timing(this.headerScrollPosition, {\n useNativeDriver: true,\n toValue: toHeaderScrollPosition,\n duration: 200,\n easing: Easing.linear\n }),\n Animated.timing(this.indicatorWidth, {\n useNativeDriver: true,\n toValue: toIndicatorWidth / 100,\n duration: 200,\n easing: Easing.linear\n }),\n Animated.timing(this.reverseIndicatorWidth, {\n useNativeDriver: true,\n toValue: toIndicatorWidth ? 100 / toIndicatorWidth : 0,\n duration: 200,\n easing: Easing.linear\n }),\n Animated.timing(this.indicatorPosition, {\n useNativeDriver: true,\n toValue: position,\n duration: 200,\n easing: Easing.linear\n })\n ]).start();\n }\n\n public renderSkeleton(props: WmTabheaderProps){\n return(\n <Animated.View style={{\n transform: [{\n translateX: this.headerScrollPosition\n }]\n }}\n onLayout={this.setHeaderPanelPositon.bind(this)}>\n <View style={this.styles.root}>\n {this.props.data.map((header ,i) => {\n const isSelected = i === this.props.selectedTabIndex;\n return (\n <Tappable onTap={this.onTabSelection.bind(this, i)} key={header.key} styles={{flex: 1}}>\n <View onLayout={this.setHeaderPositon.bind(this, i)} style={[\n this.styles.header, \n isSelected ? this.styles.activeHeader : null]}>\n {\n createSkeleton(this.theme, { root: { borderRadius: 4 }} as WmSkeletonStyles, {\n ...this.styles.root,\n width: this.styles.root?.width || \"80%\",\n height: this.styles.root?.height || this.styles.activeHeaderText?.fontSize || 16\n })\n }\n </View>\n </Tappable>\n );\n })}\n </View>\n <Animated.View style={[this.styles.activeIndicator, {\n transform: [{\n translateX: this.indicatorPosition\n }, {\n scaleX: this.indicatorWidth\n }]\n }]}></Animated.View>\n </Animated.View>\n\n )\n }\n\n renderWidget(props: WmTabheaderProps) {\n this.setPosition();\n const arrowIndicator = this.styles.arrowIndicator as any;\n return (\n <View style={{overflow: 'hidden', zIndex: 16}}>\n <Animated.View style={{\n transform: [{\n translateX: this.headerScrollPosition\n }]\n }}\n onLayout={this.setHeaderPanelPositon.bind(this)}>\n <View style={this.styles.root}>\n {this._background}\n {props.data.map((header ,i) => {\n const isSelected = i === props.selectedTabIndex ;\n return (\n <Tappable onTap={this.onTabSelection.bind(this, i)}\n {...this.getTestPropsForAction(i +'')}\n key={header.key} \n styles={this.styles.header.flexGrow ? {flexGrow: this.styles.header.flexGrow} : null}>\n <View onLayout={this.setHeaderPositon.bind(this, i)}>\n <View style={[\n this.styles.header,\n {flexGrow: undefined},\n isSelected ? this.styles.activeHeader : null]}>\n <Text numberOfLines={1} style={[\n this.styles.headerText, \n isSelected ? this.styles.activeHeaderText : null]}\n {...this.getTestPropsForLabel(i + '_title')}\n >{header.title}</Text>\n </View>\n </View>\n </Tappable>\n );\n })}\n </View>\n <Animated.View style={[this.styles.activeIndicator, {\n transform: [{\n translateX: this.indicatorPosition\n }, {\n scaleX: this.indicatorWidth\n }]\n }]}>\n <Animated.View style={[{\n transform: [{\n scaleX: this.reverseIndicatorWidth\n }]\n },\n this.styles.arrowIndicator\n ]}>\n {arrowIndicator.backgroundImage ? (<BackgroundComponent\n image={arrowIndicator.backgroundImage}\n position={arrowIndicator.backgroundPosition}\n size={arrowIndicator.backgroundSize}\n repeat={arrowIndicator.backgroundRepeat}\n resizeMode={arrowIndicator.backgroundResizeMode}\n style={{borderRadius: this.styles.root.borderRadius}}\n ></BackgroundComponent>) : null }\n <View style={this.styles.arrowIndicatorDot}></View>\n </Animated.View>\n </Animated.View>\n </Animated.View>\n </View>\n ); \n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,EAAEC,MAAM,EAAsCC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAC/F,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,gBAAgB,MAAM,mBAAmB;AAChD,SAASC,aAAa,QAA2B,oBAAoB;AACrE,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAAqBC,cAAc,QAAQ,wEAAwE;AAEnH,SAASC,mBAAmB,QAAQ,uDAAuD;AAE3F,OAAO,MAAMC,gBAAgB,SAASN,kBAAkB,CAAmB;AAG3E,eAAe,MAAMO,WAAW,SAASR,aAAa,CAAwD;EAU5GS,WAAWA,CAACC,KAAuB,EAAE;IACnC,KAAK,CAACA,KAAK,EAAEP,aAAa,EAAE,IAAID,gBAAgB,CAAC,CAAC,EAAE,IAAIK,gBAAgB,CAAC,CAAC,CAAC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,CAAC;UACVC,UAAU,EAAE,IAAI,CAACN;QACnB,CAAC,EAAE;UACD2B,MAAM,EAAE,IAAI,CAAC7B;QACf,CAAC;MACH,CAAC;IAAE,gBACDhE,KAAA,CAAAqE,aAAA,CAACpE,QAAQ,CAACG,IAAI;MAACkE,KAAK,EAAE,CAAC;QACnBC,SAAS,EAAE,CAAC;UACVsB,MAAM,EAAE,IAAI,CAAC5B;QACf,CAAC;MACH,CAAC,EACD,IAAI,CAACU,MAAM,CAACoB,cAAc;IAC1B,GACCA,cAAc,CAACY,eAAe,gBAAI3G,KAAA,CAAAqE,aAAA,CAAC1D,mBAAmB;MACvDiG,KAAK,EAAEb,cAAc,CAACY,eAAgB;MACtCpD,QAAQ,EAAEwC,cAAc,CAACc,kBAAmB;MAC5CC,IAAI,EAAEf,cAAc,CAACgB,cAAe;MACpCC,MAAM,EAAEjB,cAAc,CAACkB,gBAAiB;MACxCC,UAAU,EAAEnB,cAAc,CAACoB,oBAAqB;MAChD7C,KAAK,EAAE;QAACkB,YAAY,EAAE,IAAI,CAACb,MAAM,CAACC,IAAI,CAACY;MAAY;IAAE,CACjC,CAAC,GAAI,IAAI,eAC7BxF,KAAA,CAAAqE,aAAA,CAACjE,IAAI;MAACkE,KAAK,EAAE,IAAI,CAACK,MAAM,CAACyC;IAAkB,CAAO,CACrC,CACF,CACF,CACT,CAAC;EAEX;AACF"}
@@ -2,7 +2,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
2
2
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
3
  function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
4
  import React from 'react';
5
- import { View } from 'react-native';
5
+ import { ScrollView } from 'react-native';
6
6
  import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
7
7
  import WmTabpaneProps from './tabpane.props';
8
8
  import { DEFAULT_CLASS } from './tabpane.styles';
@@ -10,11 +10,15 @@ export class WmTabpaneState extends BaseComponentState {
10
10
  constructor() {
11
11
  super(...arguments);
12
12
  _defineProperty(this, "isPartialLoaded", false);
13
+ _defineProperty(this, "isActive", false);
13
14
  }
14
15
  }
15
16
  export default class WmTabpane extends BaseComponent {
16
17
  constructor(props) {
17
- super(props, DEFAULT_CLASS, new WmTabpaneProps());
18
+ super(props, DEFAULT_CLASS, new WmTabpaneProps(), new WmTabpaneState());
19
+ this.subscribe('scroll', event => {
20
+ return this.state.isActive;
21
+ });
18
22
  }
19
23
  onPartialLoad() {
20
24
  this.invokeEventCallback('onLoad', [null, this]);
@@ -32,23 +36,35 @@ export default class WmTabpane extends BaseComponent {
32
36
  }
33
37
  return props.children;
34
38
  }
39
+ showView() {
40
+ return this.isVisible() && this.state.isActive;
41
+ }
35
42
  componentDidMount() {
36
43
  const tabs = this.parent;
37
44
  tabs.addTabPane(this.proxy);
38
45
  super.componentDidMount();
39
46
  }
40
47
  _onSelect() {
48
+ this.updateState({
49
+ isActive: true
50
+ });
41
51
  this.invokeEventCallback('onSelect', [null, this.proxy]);
42
52
  }
43
53
  _onDeselect() {
54
+ this.updateState({
55
+ isActive: false
56
+ });
44
57
  this.invokeEventCallback('onDeselect', [null, this.proxy]);
45
58
  }
46
59
  select() {
47
60
  this.parent.selectTabPane(this);
48
61
  }
49
62
  renderWidget(props) {
50
- return /*#__PURE__*/React.createElement(View, {
51
- style: this.styles.root
63
+ return /*#__PURE__*/React.createElement(ScrollView, {
64
+ style: this.styles.root,
65
+ onScroll: event => {
66
+ this.notify('scroll', [event]);
67
+ }
52
68
  }, this._background, this.renderContent(props));
53
69
  }
54
70
  }
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","ScrollView","BaseComponent","BaseComponentState","WmTabpaneProps","DEFAULT_CLASS","WmTabpaneState","constructor","arguments","_defineProperty","WmTabpane","props","subscribe","event","state","isActive","onPartialLoad","invokeEventCallback","renderContent","renderPartial","isPartialLoaded","setTimeout","updateState","bind","children","showView","isVisible","componentDidMount","tabs","parent","addTabPane","proxy","_onSelect","_onDeselect","select","selectTabPane","renderWidget","createElement","style","styles","root","onScroll","notify","_background"],"sources":["tabpane.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, ScrollView} from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmTabpaneProps from './tabpane.props';\nimport { DEFAULT_CLASS, WmTabpaneStyles } from './tabpane.styles';\nimport WmTabs from '../tabs.component';\n\nexport class WmTabpaneState extends BaseComponentState<WmTabpaneProps> {\n isPartialLoaded = false;\n isActive = false;\n}\n\nexport default class WmTabpane extends BaseComponent<WmTabpaneProps, WmTabpaneState, WmTabpaneStyles> {\n\n constructor(props: WmTabpaneProps) {\n super(props, DEFAULT_CLASS, new WmTabpaneProps(), new WmTabpaneState());\n this.subscribe('scroll', (event: any) => {\n return this.state.isActive;\n });\n }\n\n onPartialLoad() {\n this.invokeEventCallback('onLoad', [null, this]);\n }\n\n renderContent(props: WmTabpaneProps) {\n if (props.renderPartial) {\n if (!this.state.isPartialLoaded) {\n setTimeout(() => {\n this.updateState({\n isPartialLoaded: true\n } as WmTabpaneState);\n });\n }\n return props.renderPartial(props, this.onPartialLoad.bind(this));\n }\n return props.children;\n }\n\n showView(): boolean {\n return this.isVisible() && this.state.isActive;\n }\n\n componentDidMount() {\n const tabs = (this.parent) as WmTabs;\n tabs.addTabPane(this.proxy as WmTabpane);\n super.componentDidMount();\n }\n\n _onSelect() {\n this.updateState({\n isActive: true\n } as WmTabpaneState);\n this.invokeEventCallback('onSelect', [null, this.proxy]);\n }\n _onDeselect() {\n this.updateState({\n isActive: false\n } as WmTabpaneState);\n this.invokeEventCallback('onDeselect', [null, this.proxy]);\n }\n\n select() {\n (this.parent as WmTabs).selectTabPane(this);\n }\n\n renderWidget(props: WmTabpaneProps) {\n return (<ScrollView style={this.styles.root} \n onScroll={(event) => {this.notify('scroll', [event])}}>\n {this._background}\n {this.renderContent(props)}\n </ScrollView>);\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAeC,UAAU,QAAO,cAAc;AAC9C,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,aAAa,QAAyB,kBAAkB;AAGjE,OAAO,MAAMC,cAAc,SAASH,kBAAkB,CAAiB;EAAAI,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,0BACnD,KAAK;IAAAA,eAAA,mBACZ,KAAK;EAAA;AAClB;AAEA,eAAe,MAAMC,SAAS,SAASR,aAAa,CAAkD;EAEpGK,WAAWA,CAACI,KAAqB,EAAE;IACjC,KAAK,CAACA,KAAK,EAAEN,aAAa,EAAE,IAAID,cAAc,CAAC,CAAC,EAAE,IAAIE,cAAc,CAAC,CAAC,CAAC;IACvE,IAAI,CAACM,SAAS,CAAC,QAAQ,EAAGC,KAAU,IAAK;MACvC,OAAO,IAAI,CAACC,KAAK,CAACC,QAAQ;IAC5B,CAAC,CAAC;EACJ;EAEAC,aAAaA,CAAA,EAAG;IACd,IAAI,CAACC,mBAAmB,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;EAClD;EAEAC,aAAaA,CAACP,KAAqB,EAAE;IACnC,IAAIA,KAAK,CAACQ,aAAa,EAAE;MACvB,IAAI,CAAC,IAAI,CAACL,KAAK,CAACM,eAAe,EAAE;QAC/BC,UAAU,CAAC,MAAM;UACf,IAAI,CAACC,WAAW,CAAC;YACfF,eAAe,EAAE;UACnB,CAAmB,CAAC;QACtB,CAAC,CAAC;MACJ;MACA,OAAOT,KAAK,CAACQ,aAAa,CAACR,KAAK,EAAE,IAAI,CAACK,aAAa,CAACO,IAAI,CAAC,IAA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  this.goToTab(this.tabPanes.indexOf(tabPane));
83
83
  }
84
+ get selectedTabPane() {
85
+ return this.tabPanes[this.state.selectedTabIndex];
86
+ }
84
87
  goToTab() {
85
88
  var _this$tabLayout2, _this$animationView;
86
89
  let index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.state.selectedTabIndex;
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","BaseComponent","BaseComponentState","SwipeAnimation","isWebPreviewMode","WmTabsProps","DEFAULT_CLASS","WmTabheader","WmTabsState","constructor","arguments","_defineProperty","WmTabs","props","bounds","e","_this$tabLayout","activeTabIndex","state","selectedTabIndex","w","tabLayout","width","noOfTabs","tabPanes","length","lower","center","upper","onLower","onChange","onUpper","setTabLayout","event","nativeEvent","layout","forceUpdate","goToTab","setTabPaneHeights","index","_nativeEvent$nativeEv","tabPaneHeights","height","setTabShown","tabIndex","callback","tabsShown","setTimeout","updateState","addTabPane","tabPane","i","findIndex","t","name","newIndex","selectTabPane","indexOf","selectedTabPane","_this$tabLayout2","_this$animationView","undefined","position","animationView","setPosition","then","prev","_this$animationView2","goToLower","next","_this$animationView3","oldIndex","deselectedTab","_onDeselect","selectedTab","_onSelect","invokeEventCallback","proxy","renderSkeleton","Children","toArray","children","filter","item","show","headerData","map","p","title","icon","key","createElement","style","styles","root","borderBottomWidth","onLayout","bind","tabHeader","data","showskeleton","overflow","flexDirection","flexWrap","alignSelf","onPropertyChange","$new","$old","selectedIndex","renderWidget","_background","id","getTestId","onIndexChange","flex","maxHeight","tabContent","enableGestures","enablegestures","alignItems","direction","ref","r","handlers","animationHandlers"],"sources":["tabs.component.tsx"],"sourcesContent":["import React from 'react';\nimport { LayoutChangeEvent, LayoutRectangle, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport * as SwipeAnimation from '@wavemaker/app-rn-runtime/gestures/swipe.animation';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\n\nimport WmTabsProps from './tabs.props';\nimport { DEFAULT_CLASS, WmTabsStyles } from './tabs.styles';\nimport WmTabpane from './tabpane/tabpane.component';\nimport WmTabheader from './tabheader/tabheader.component';\n\nexport class WmTabsState extends BaseComponentState<WmTabsProps> {\n tabsShown: boolean[] = [];\n selectedTabIndex: number = 0;\n}\n\nexport default class WmTabs extends BaseComponent<WmTabsProps, WmTabsState, WmTabsStyles> {\n public tabPanes = [] as WmTabpane[];\n private newIndex = 0;\n private tabLayout: LayoutRectangle = null as any;\n private tabPaneHeights: number[] = [];\n private animationView: SwipeAnimation.View | null = null as any;\n private animationHandlers = {\n bounds: (e) => {\n const activeTabIndex = this.state.selectedTabIndex,\n w = this.tabLayout?.width || 0,\n noOfTabs = this.tabPanes.length;\n return {\n lower: -1 * (activeTabIndex - (activeTabIndex === 0 ? 0 : 1)) * w,\n center: -1 * activeTabIndex * w,\n upper: -1 * (activeTabIndex + (activeTabIndex === noOfTabs - 1 ? 0 : 1)) * w\n };\n },\n onLower: (e) => {\n this.onChange(this.state.selectedTabIndex - 1);\n },\n onUpper: (e) => {\n this.onChange(this.state.selectedTabIndex + 1);\n }\n } as SwipeAnimation.Handlers;\n\n constructor(props: WmTabsProps) {\n super(props, DEFAULT_CLASS, new WmTabsProps(), new WmTabsState());\n }\n \n setTabLayout(event: LayoutChangeEvent) {\n this.tabLayout = event.nativeEvent.layout;\n this.forceUpdate(() => {\n this.goToTab();\n });\n }\n\n setTabPaneHeights(index: number, nativeEvent: LayoutChangeEvent) {\n this.tabPaneHeights[index] = nativeEvent.nativeEvent.layout?.height;\n if (index === this.state.selectedTabIndex) {\n this.forceUpdate();\n }\n }\n\n setTabShown(tabIndex: number, callback: () => any) {\n if (!this.state.tabsShown[tabIndex]) {\n const tabsShown = [...this.state.tabsShown];\n tabsShown[tabIndex] = true;\n setTimeout(() => {\n this.updateState({\n tabsShown: tabsShown\n } as WmTabsState, callback);\n }, 300);\n } else {\n callback && callback();\n }\n }\n\n addTabPane(tabPane: WmTabpane) {\n const i = this.tabPanes.findIndex(t => t.props.name === tabPane.props.name);\n if (i >= 0) {\n this.tabPanes[i] = tabPane;\n } else {\n this.tabPanes[this.newIndex++] = tabPane;\n }\n }\n\n selectTabPane(tabPane: WmTabpane) {\n this.goToTab(this.tabPanes.indexOf(tabPane));\n }\n\n get selectedTabPane() {\n return this.tabPanes[this.state.selectedTabIndex];\n }\n\n goToTab(index = this.state.selectedTabIndex) {\n const position = -1 * index * (this.tabLayout?.width || 0);\n this.animationView?.setPosition(position)\n .then(() => this.onChange(index));\n }\n\n prev() {\n this.animationView?.goToLower();\n }\n\n next() {\n this.animationView?.goToLower();\n }\n\n onChange(newIndex: number) {\n if (newIndex < 0 || newIndex >= this.tabPanes.length) {\n return;\n }\n const oldIndex = this.state.selectedTabIndex;\n const deselectedTab = this.tabPanes[this.state.selectedTabIndex];\n this.newIndex = newIndex;\n deselectedTab?._onDeselect();\n this.updateState({\n selectedTabIndex: newIndex\n } as WmTabsState, () => {\n this.setTabShown(newIndex, () => {\n const selectedTab = this.tabPanes[newIndex];\n selectedTab?._onSelect();\n this.invokeEventCallback('onChange', [{}, this.proxy, newIndex, oldIndex]);\n });\n });\n }\n\n public renderSkeleton(props: WmTabsProps){\n const tabPanes = React.Children.toArray(this.props.children)\n .filter((item: any, index: number) => item.props.show != false);\n const headerData = tabPanes.map((p: any, i: number) => \n ({title: p.props.title || 'Tab Title', icon: '', key: `tab-${p.props.title}-${i}`}));\n return(\n <View style={[this.styles.root, { borderBottomWidth: 0}]}>\n <View onLayout={this.setTabLayout.bind(this)} style={{width: '100%'}}></View>\n <WmTabheader\n styles={this.styles.tabHeader}\n data={headerData}\n showskeleton={this.props.showskeleton}\n selectedTabIndex={this.state.selectedTabIndex}\n ></WmTabheader>\n <View \n //{...this.panResponder.panHandlers}\n style={{\n width: '100%',\n //height: this.tabPaneHeights[this.state.selectedTabIndex],\n overflow: 'hidden'\n }} >\n <View style={{\n flexDirection: 'row',\n flexWrap: 'nowrap'\n }}>\n {tabPanes.map((p: any, i) => {\n return (\n <View\n key={`tab-${p.props.title}-${i}`}\n style={{width: '100%', alignSelf: 'flex-start'}}\n onLayout={this.setTabPaneHeights.bind(this, i)}>\n {/* {this.state.tabsShown[i] ? p : null} */}\n {p}\n </View>);\n })}\n </View>\n </View>\n </View>\n\n )\n }\n\n public onPropertyChange(name: string, $new: any, $old: any): void {\n super.onPropertyChange(name, $new, $old);\n switch(name) {\n case \"defaultpaneindex\":\n const selectedIndex = $new || 0;\n const tabsShown: boolean[] = [];\n tabsShown[selectedIndex] = true;\n this.updateState({\n selectedTabIndex: selectedIndex,\n tabsShown: tabsShown\n } as WmTabsState);\n }\n }\n \n renderWidget(props: WmTabsProps) {\n const tabPanes = React.Children.toArray(props.children)\n .filter((item: any, index: number) => item.props.show != false);\n const headerData = tabPanes.map((p: any, i: number) => \n ({title: p.props.title || 'Tab Title', icon: '', key: `tab-${p.props.title}-${i}`}));\n return (\n <View style={this.styles.root}>\n {this._background}\n <View onLayout={this.setTabLayout.bind(this)} style={{width: '100%'}}></View>\n <WmTabheader\n id={this.getTestId('headers')}\n styles={this.styles.tabHeader}\n data={headerData}\n selectedTabIndex={this.state.selectedTabIndex}\n onIndexChange={this.goToTab.bind(this)}\n ></WmTabheader>\n <View\n style={[{\n width: '100%',\n flex: 1\n }, this.styles.root.height ? \n (isWebPreviewMode() ? {'overflow-x': 'hidden','overflow-y': 'auto'} as any : {overflow: 'scroll'}) \n : {\n overflow: 'hidden',\n maxHeight: this.tabPaneHeights[this.state.selectedTabIndex],\n }, this.styles.tabContent]} >\n <SwipeAnimation.View \n enableGestures={props.enablegestures}\n style={{\n flexDirection: 'row',\n flexWrap: 'nowrap',\n alignItems: 'flex-start'\n }}\n direction='horizontal'\n ref={(r) => {this.animationView = r}}\n handlers = {this.animationHandlers}\n >\n {tabPanes.map((p: any, i) => {\n return (\n <View \n key={`tab-${p.props.title}-${i}`}\n style={{\n width: '100%',\n height: this.styles.root.height ? undefined : 1000000,\n alignSelf: 'flex-start'}}>\n <View\n style={{width: '100%', alignSelf: 'flex-start'}}\n onLayout={this.setTabPaneHeights.bind(this, i)}>\n {/* {this.state.tabsShown[i] ? p : null} */}\n {p}\n </View>\n </View>);\n })}\n </SwipeAnimation.View>\n </View>\n </View>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAA6CC,IAAI,QAAQ,cAAc;AACvE,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAO,KAAKC,cAAc,MAAM,oDAAoD;AACpF,SAASC,gBAAgB,QAAQ,sCAAsC;AAEvE,OAAOC,WAAW,MAAM,cAAc;AACtC,SAASC,aAAa,QAAsB,eAAe;AAE3D,OAAOC,WAAW,MAAM,iCAAiC;AAEzD,OAAO,MAAMC,WAAW,SAASN,kBAAkB,CAAc;EAAAO,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBACxC,EAAE;IAAAA,eAAA,2BACE,CAAC;EAAA;AAC9B;AAEA,eAAe,MAAMC,MAAM,SAASX,aAAa,CAAyC;EAyBxFQ,WAAWA,CAACI,KAAkB,EAAE;IAC9B,KAAK,CAACA,KAAK,EAAEP,aAAa,EAAE,IAAID,WAAW,CAAC,CAAC,EAAE,IAAIG,WAAW,CAAC,CAAC,CAAC;IAACG,eAAA,mBAzBlD,EAAE;IAAAA,eAAA,mBACD,CAAC;IAAAA,eAAA,oBACiB,IAAI;IAAAA,eAAA,yBACN,EAAE;IAAAA,eAAA,wBACe,IAAI;IAAAA,eAAA,4BAC5B;MAC1BG,MAAM,EAAGC,CAAC,IAAK;QAAA,IAAAC,eAAA;QACb,MAAMC,cAAc,GAAG,IAAI,CAACC,KAAK,CAACC,gBAAgB;UAC5CC,CAAC,GAAG,EAAAJ,eAAA,OAAI,CAACK,SAAS,cAAAL,eAAA,uBAAdA,eAAA,CAAgBM,KAAK,KAAI,CAAC;UAC9BC,QAAQ,GAAG,IAAI,CAACC,QAAQ,CAACC,MAA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9C,CAAC;MAAE,GAE9CoC,CACG,CACF,CAAC;IACT,CAAC,CACkB,CACjB,CACF,CAAC;EAEX;AACF"}
@@ -185,7 +185,7 @@ export default class WmWizard extends BaseComponent {
185
185
  }
186
186
  }),
187
187
  iconclass: item.state.props.iconclass || 'wm-sl-l sl-check'
188
- })), (isNumberTextLayout && isActiveStep || !isNumberTextLayout) && /*#__PURE__*/React.createElement(Text, {
188
+ })), isActiveStep && /*#__PURE__*/React.createElement(Text, {
189
189
  style: this.styles.stepTitle
190
190
  }, item.state.props.title || 'Step Title'), this.numberOfSteps > 1 && isActiveStep && /*#__PURE__*/React.createElement(View, {
191
191
  style: [this.styles.numberTextStepConnector, {