@wavemaker/app-rn-runtime 11.4.3-next.30202 → 11.4.3-patch.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1045) hide show
  1. package/components/advanced/carousel/carousel.component.js +209 -0
  2. package/components/advanced/carousel/carousel.component.js.map +1 -0
  3. package/components/advanced/login/login.component.js +39 -0
  4. package/components/advanced/login/login.component.js.map +1 -0
  5. package/components/advanced/network-info-toaster/network-info-toaster.component.js +114 -0
  6. package/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -0
  7. package/components/advanced/webview/webview.component.js +130 -0
  8. package/components/advanced/webview/webview.component.js.map +1 -0
  9. package/components/basic/anchor/anchor.component.js +71 -0
  10. package/components/basic/anchor/anchor.component.js.map +1 -0
  11. package/components/basic/animatedview.component.js +214 -0
  12. package/components/basic/animatedview.component.js.map +1 -0
  13. package/components/basic/audio/audio.component.js +245 -0
  14. package/components/basic/audio/audio.component.js.map +1 -0
  15. package/components/basic/button/button.component.js +53 -0
  16. package/components/basic/button/button.component.js.map +1 -0
  17. package/components/basic/button/button.styles.js +134 -0
  18. package/components/basic/button/button.styles.js.map +1 -0
  19. package/components/basic/buttongroup/buttongroup.styles.js +51 -0
  20. package/components/basic/buttongroup/buttongroup.styles.js.map +1 -0
  21. package/components/basic/icon/icon.component.js +198 -0
  22. package/components/basic/icon/icon.component.js.map +1 -0
  23. package/components/basic/icon/icon.props.js +19 -0
  24. package/components/basic/icon/icon.props.js.map +1 -0
  25. package/components/basic/label/label.component.js +122 -0
  26. package/components/basic/label/label.component.js.map +1 -0
  27. package/components/basic/label/label.styles.js +123 -0
  28. package/components/basic/label/label.styles.js.map +1 -0
  29. package/components/basic/message/message.component.js +76 -0
  30. package/components/basic/message/message.component.js.map +1 -0
  31. package/components/basic/picture/picture.component.js +189 -0
  32. package/components/basic/picture/picture.component.js.map +1 -0
  33. package/components/basic/progress-bar/progress-bar.component.js +38 -0
  34. package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
  35. package/components/basic/progress-bar/progress-bar.styles.js +29 -0
  36. package/components/basic/progress-bar/progress-bar.styles.js.map +1 -0
  37. package/components/basic/progress-circle/progress-circle.component.js +76 -0
  38. package/components/basic/progress-circle/progress-circle.component.js.map +1 -0
  39. package/components/basic/search/search.component.js +417 -0
  40. package/components/basic/search/search.component.js.map +1 -0
  41. package/components/basic/search/search.styles.js +172 -0
  42. package/components/basic/search/search.styles.js.map +1 -0
  43. package/components/basic/spinner/spinner.component.js +91 -0
  44. package/components/basic/spinner/spinner.component.js.map +1 -0
  45. package/components/basic/spinner/spinner.styles.js +40 -0
  46. package/components/basic/spinner/spinner.styles.js.map +1 -0
  47. package/components/basic/video/video.component.js +57 -0
  48. package/components/basic/video/video.component.js.map +1 -0
  49. package/components/chart/pie-chart/pie-chart.component.js +212 -0
  50. package/components/chart/pie-chart/pie-chart.component.js.map +1 -0
  51. package/components/chart/pie-chart/pie-chart.props.js +14 -0
  52. package/components/chart/pie-chart/pie-chart.props.js.map +1 -0
  53. package/components/container/accordion/accordion.component.js +145 -0
  54. package/components/container/accordion/accordion.component.js.map +1 -0
  55. package/components/container/accordion/accordionpane/accordionpane.component.js +75 -0
  56. package/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -0
  57. package/components/container/container.component.js +38 -0
  58. package/components/container/container.component.js.map +1 -0
  59. package/components/container/panel/collapsible-pane.component.js +26 -0
  60. package/components/container/panel/collapsible-pane.component.js.map +1 -0
  61. package/components/container/panel/panel.component.js +109 -0
  62. package/components/container/panel/panel.component.js.map +1 -0
  63. package/components/container/panel/panel.styles.js +105 -0
  64. package/components/container/panel/panel.styles.js.map +1 -0
  65. package/components/container/tabs/tabheader/tabheader.component.js +184 -0
  66. package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
  67. package/components/container/tabs/tabheader/tabheader.styles.js +68 -0
  68. package/components/container/tabs/tabheader/tabheader.styles.js.map +1 -0
  69. package/components/container/tabs/tabs.component.js +230 -0
  70. package/components/container/tabs/tabs.component.js.map +1 -0
  71. package/components/container/tile/tile.component.js +22 -0
  72. package/components/container/tile/tile.component.js.map +1 -0
  73. package/components/container/wizard/wizard.component.js +181 -0
  74. package/components/container/wizard/wizard.component.js.map +1 -0
  75. package/components/container/wizard/wizard.styles.js +194 -0
  76. package/components/container/wizard/wizard.styles.js.map +1 -0
  77. package/components/data/card/card.component.js +68 -0
  78. package/components/data/card/card.component.js.map +1 -0
  79. package/components/data/form/form-action/form-action.component.js +34 -0
  80. package/components/data/form/form-action/form-action.component.js.map +1 -0
  81. package/components/data/form/form-field/form-field.component.js +226 -0
  82. package/components/data/form/form-field/form-field.component.js.map +1 -0
  83. package/components/data/form/form.component.js +399 -0
  84. package/components/data/form/form.component.js.map +1 -0
  85. package/components/data/list/list-template/list-template.styles.js +26 -0
  86. package/components/data/list/list-template/list-template.styles.js.map +1 -0
  87. package/components/data/list/list.component.js +313 -0
  88. package/components/data/list/list.component.js.map +1 -0
  89. package/components/data/list/list.styles.js +129 -0
  90. package/components/data/list/list.styles.js.map +1 -0
  91. package/components/device/barcodescanner/barcodescanner.component.js +47 -0
  92. package/components/device/barcodescanner/barcodescanner.component.js.map +1 -0
  93. package/components/device/barcodescanner/barcodescanner.styles.js +31 -0
  94. package/components/device/barcodescanner/barcodescanner.styles.js.map +1 -0
  95. package/components/device/camera/camera.component.js +65 -0
  96. package/components/device/camera/camera.component.js.map +1 -0
  97. package/components/device/camera/camera.styles.js +31 -0
  98. package/components/device/camera/camera.styles.js.map +1 -0
  99. package/components/dialogs/alertdialog/alertdialog.component.js +67 -0
  100. package/components/dialogs/alertdialog/alertdialog.component.js.map +1 -0
  101. package/components/dialogs/alertdialog/alertdialog.styles.js +33 -0
  102. package/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -0
  103. package/components/dialogs/confirmdialog/confirmdialog.component.js +73 -0
  104. package/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -0
  105. package/components/dialogs/confirmdialog/confirmdialog.styles.js +58 -0
  106. package/components/dialogs/confirmdialog/confirmdialog.styles.js.map +1 -0
  107. package/components/dialogs/dialog/dialog.component.js +94 -0
  108. package/components/dialogs/dialog/dialog.component.js.map +1 -0
  109. package/components/dialogs/dialog/dialog.styles.js +70 -0
  110. package/components/dialogs/dialog/dialog.styles.js.map +1 -0
  111. package/components/input/calendar/calendar.component.js +139 -0
  112. package/components/input/calendar/calendar.component.js.map +1 -0
  113. package/components/input/calendar/calendar.styles.js +143 -0
  114. package/components/input/calendar/calendar.styles.js.map +1 -0
  115. package/components/input/calendar/views/month-view.js +195 -0
  116. package/components/input/calendar/views/month-view.js.map +1 -0
  117. package/components/input/checkbox/checkbox.component.js +95 -0
  118. package/components/input/checkbox/checkbox.component.js.map +1 -0
  119. package/components/input/checkboxset/checkboxset.component.js +92 -0
  120. package/components/input/checkboxset/checkboxset.component.js.map +1 -0
  121. package/components/input/chips/chips.component.js +270 -0
  122. package/components/input/chips/chips.component.js.map +1 -0
  123. package/components/input/chips/chips.styles.js +93 -0
  124. package/components/input/chips/chips.styles.js.map +1 -0
  125. package/components/input/currency/currency.component.js +70 -0
  126. package/components/input/currency/currency.component.js.map +1 -0
  127. package/components/input/currency/currency.styles.js +72 -0
  128. package/components/input/currency/currency.styles.js.map +1 -0
  129. package/components/input/epoch/base-datetime.component.js +274 -0
  130. package/components/input/epoch/base-datetime.component.js.map +1 -0
  131. package/components/input/fileupload/fileupload.component.js +56 -0
  132. package/components/input/fileupload/fileupload.component.js.map +1 -0
  133. package/components/input/number/number.component.js +52 -0
  134. package/components/input/number/number.component.js.map +1 -0
  135. package/components/input/number/number.styles.js +42 -0
  136. package/components/input/number/number.styles.js.map +1 -0
  137. package/components/input/radioset/radioset.component.js +61 -0
  138. package/components/input/radioset/radioset.component.js.map +1 -0
  139. package/components/input/rating/rating.component.js +144 -0
  140. package/components/input/rating/rating.component.js.map +1 -0
  141. package/components/input/select/select.component.js +185 -0
  142. package/components/input/select/select.component.js.map +1 -0
  143. package/components/input/select/select.styles.js +101 -0
  144. package/components/input/select/select.styles.js.map +1 -0
  145. package/components/input/slider/slider.component.js +148 -0
  146. package/components/input/slider/slider.component.js.map +1 -0
  147. package/components/input/slider/slider.styles.js +58 -0
  148. package/components/input/slider/slider.styles.js.map +1 -0
  149. package/components/input/switch/switch.component.js +73 -0
  150. package/components/input/switch/switch.component.js.map +1 -0
  151. package/components/input/switch/switch.styles.js +117 -0
  152. package/components/input/switch/switch.styles.js.map +1 -0
  153. package/components/input/text/text.component.js +47 -0
  154. package/components/input/text/text.component.js.map +1 -0
  155. package/components/input/text/text.styles.js +48 -0
  156. package/components/input/text/text.styles.js.map +1 -0
  157. package/components/input/textarea/textarea.component.js +48 -0
  158. package/components/input/textarea/textarea.component.js.map +1 -0
  159. package/components/input/toggle/toggle.component.js +95 -0
  160. package/components/input/toggle/toggle.component.js.map +1 -0
  161. package/components/input/toggle/toggle.styles.js +55 -0
  162. package/components/input/toggle/toggle.styles.js.map +1 -0
  163. package/components/navigation/appnavbar/appnavbar.component.js +57 -0
  164. package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
  165. package/components/navigation/appnavbar/appnavbar.styles.js +160 -0
  166. package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
  167. package/components/navigation/menu/menu.component.js +63 -0
  168. package/components/navigation/menu/menu.component.js.map +1 -0
  169. package/components/navigation/menu/menu.styles.js +71 -0
  170. package/components/navigation/menu/menu.styles.js.map +1 -0
  171. package/components/navigation/navbar/navbar.component.js +77 -0
  172. package/components/navigation/navbar/navbar.component.js.map +1 -0
  173. package/components/navigation/navitem/navitem.component.js +66 -0
  174. package/components/navigation/navitem/navitem.component.js.map +1 -0
  175. package/components/navigation/navitem/navitem.styles.js +80 -0
  176. package/components/navigation/navitem/navitem.styles.js.map +1 -0
  177. package/components/navigation/popover/popover.component.js +129 -0
  178. package/components/navigation/popover/popover.component.js.map +1 -0
  179. package/components/navigation/popover/popover.styles.js +75 -0
  180. package/components/navigation/popover/popover.styles.js.map +1 -0
  181. package/components/page/left-panel/left-panel.styles.js +18 -0
  182. package/components/page/left-panel/left-panel.styles.js.map +1 -0
  183. package/components/page/tabbar/tabbar.component.js +103 -0
  184. package/components/page/tabbar/tabbar.component.js.map +1 -0
  185. package/core/base.component.js +425 -0
  186. package/core/base.component.js.map +1 -0
  187. package/core/formatters.js +61 -0
  188. package/core/formatters.js.map +1 -0
  189. package/core/tappable.component.js +82 -0
  190. package/core/tappable.component.js.map +1 -0
  191. package/core/testid.provider.js +5 -0
  192. package/core/testid.provider.js.map +1 -0
  193. package/package.json +244 -0
  194. package/runtime/App.js +485 -0
  195. package/runtime/App.js.map +1 -0
  196. package/runtime/base-fragment.component.js +340 -0
  197. package/runtime/base-fragment.component.js.map +1 -0
  198. package/runtime/services/device/camera-service.js +349 -0
  199. package/runtime/services/device/camera-service.js.map +1 -0
  200. package/runtime/services/device/scan-service.js +136 -0
  201. package/runtime/services/device/scan-service.js.map +1 -0
  202. package/styles/theme.variables.js +403 -0
  203. package/styles/theme.variables.js.map +1 -0
  204. app-rn-runtime/components/advanced/carousel/carousel.component.js +0 -201
  205. app-rn-runtime/components/advanced/carousel/carousel.component.js.map +0 -1
  206. app-rn-runtime/components/advanced/login/login.component.js +0 -38
  207. app-rn-runtime/components/advanced/login/login.component.js.map +0 -1
  208. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js +0 -113
  209. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js.map +0 -1
  210. app-rn-runtime/components/advanced/webview/webview.component.js +0 -129
  211. app-rn-runtime/components/advanced/webview/webview.component.js.map +0 -1
  212. app-rn-runtime/components/basic/anchor/anchor.component.js +0 -69
  213. app-rn-runtime/components/basic/anchor/anchor.component.js.map +0 -1
  214. app-rn-runtime/components/basic/animatedview.component.js +0 -164
  215. app-rn-runtime/components/basic/animatedview.component.js.map +0 -1
  216. app-rn-runtime/components/basic/audio/audio.component.js +0 -240
  217. app-rn-runtime/components/basic/audio/audio.component.js.map +0 -1
  218. app-rn-runtime/components/basic/button/button.component.js +0 -52
  219. app-rn-runtime/components/basic/button/button.component.js.map +0 -1
  220. app-rn-runtime/components/basic/button/button.styles.js +0 -124
  221. app-rn-runtime/components/basic/button/button.styles.js.map +0 -1
  222. app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js +0 -50
  223. app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js.map +0 -1
  224. app-rn-runtime/components/basic/icon/icon.component.js +0 -195
  225. app-rn-runtime/components/basic/icon/icon.component.js.map +0 -1
  226. app-rn-runtime/components/basic/icon/icon.props.js +0 -18
  227. app-rn-runtime/components/basic/icon/icon.props.js.map +0 -1
  228. app-rn-runtime/components/basic/label/label.component.js +0 -65
  229. app-rn-runtime/components/basic/label/label.component.js.map +0 -1
  230. app-rn-runtime/components/basic/label/label.styles.js +0 -122
  231. app-rn-runtime/components/basic/label/label.styles.js.map +0 -1
  232. app-rn-runtime/components/basic/message/message.component.js +0 -73
  233. app-rn-runtime/components/basic/message/message.component.js.map +0 -1
  234. app-rn-runtime/components/basic/picture/picture.component.js +0 -187
  235. app-rn-runtime/components/basic/picture/picture.component.js.map +0 -1
  236. app-rn-runtime/components/basic/progress-bar/progress-bar.component.js +0 -36
  237. app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +0 -1
  238. app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js +0 -29
  239. app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js.map +0 -1
  240. app-rn-runtime/components/basic/progress-circle/progress-circle.component.js +0 -75
  241. app-rn-runtime/components/basic/progress-circle/progress-circle.component.js.map +0 -1
  242. app-rn-runtime/components/basic/search/search.component.js +0 -413
  243. app-rn-runtime/components/basic/search/search.component.js.map +0 -1
  244. app-rn-runtime/components/basic/search/search.styles.js +0 -171
  245. app-rn-runtime/components/basic/search/search.styles.js.map +0 -1
  246. app-rn-runtime/components/basic/spinner/spinner.component.js +0 -87
  247. app-rn-runtime/components/basic/spinner/spinner.component.js.map +0 -1
  248. app-rn-runtime/components/basic/spinner/spinner.styles.js +0 -39
  249. app-rn-runtime/components/basic/spinner/spinner.styles.js.map +0 -1
  250. app-rn-runtime/components/basic/video/video.component.js +0 -56
  251. app-rn-runtime/components/basic/video/video.component.js.map +0 -1
  252. app-rn-runtime/components/chart/pie-chart/pie-chart.component.js +0 -191
  253. app-rn-runtime/components/chart/pie-chart/pie-chart.component.js.map +0 -1
  254. app-rn-runtime/components/chart/pie-chart/pie-chart.props.js +0 -13
  255. app-rn-runtime/components/chart/pie-chart/pie-chart.props.js.map +0 -1
  256. app-rn-runtime/components/container/accordion/accordion.component.js +0 -142
  257. app-rn-runtime/components/container/accordion/accordion.component.js.map +0 -1
  258. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js +0 -94
  259. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js.map +0 -1
  260. app-rn-runtime/components/container/container.component.js +0 -37
  261. app-rn-runtime/components/container/container.component.js.map +0 -1
  262. app-rn-runtime/components/container/panel/panel.component.js +0 -127
  263. app-rn-runtime/components/container/panel/panel.component.js.map +0 -1
  264. app-rn-runtime/components/container/panel/panel.styles.js +0 -98
  265. app-rn-runtime/components/container/panel/panel.styles.js.map +0 -1
  266. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js +0 -182
  267. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +0 -1
  268. app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js +0 -64
  269. app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js.map +0 -1
  270. app-rn-runtime/components/container/tabs/tabs.component.js +0 -229
  271. app-rn-runtime/components/container/tabs/tabs.component.js.map +0 -1
  272. app-rn-runtime/components/container/tile/tile.component.js +0 -21
  273. app-rn-runtime/components/container/tile/tile.component.js.map +0 -1
  274. app-rn-runtime/components/container/wizard/wizard.component.js +0 -176
  275. app-rn-runtime/components/container/wizard/wizard.component.js.map +0 -1
  276. app-rn-runtime/components/container/wizard/wizard.styles.js +0 -183
  277. app-rn-runtime/components/container/wizard/wizard.styles.js.map +0 -1
  278. app-rn-runtime/components/data/card/card.component.js +0 -67
  279. app-rn-runtime/components/data/card/card.component.js.map +0 -1
  280. app-rn-runtime/components/data/form/form-action/form-action.component.js +0 -33
  281. app-rn-runtime/components/data/form/form-action/form-action.component.js.map +0 -1
  282. app-rn-runtime/components/data/form/form-field/form-field.component.js +0 -225
  283. app-rn-runtime/components/data/form/form-field/form-field.component.js.map +0 -1
  284. app-rn-runtime/components/data/form/form.component.js +0 -396
  285. app-rn-runtime/components/data/form/form.component.js.map +0 -1
  286. app-rn-runtime/components/data/list/list-template/list-template.styles.js +0 -22
  287. app-rn-runtime/components/data/list/list-template/list-template.styles.js.map +0 -1
  288. app-rn-runtime/components/data/list/list.component.js +0 -307
  289. app-rn-runtime/components/data/list/list.component.js.map +0 -1
  290. app-rn-runtime/components/data/list/list.styles.js +0 -122
  291. app-rn-runtime/components/data/list/list.styles.js.map +0 -1
  292. app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js +0 -46
  293. app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js.map +0 -1
  294. app-rn-runtime/components/device/barcodescanner/barcodescanner.styles.js +0 -30
  295. app-rn-runtime/components/device/barcodescanner/barcodescanner.styles.js.map +0 -1
  296. app-rn-runtime/components/device/camera/camera.component.js +0 -64
  297. app-rn-runtime/components/device/camera/camera.component.js.map +0 -1
  298. app-rn-runtime/components/device/camera/camera.styles.js +0 -30
  299. app-rn-runtime/components/device/camera/camera.styles.js.map +0 -1
  300. app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js +0 -64
  301. app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js.map +0 -1
  302. app-rn-runtime/components/dialogs/alertdialog/alertdialog.styles.js +0 -27
  303. app-rn-runtime/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -1
  304. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js +0 -69
  305. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -1
  306. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js +0 -58
  307. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -1
  308. app-rn-runtime/components/dialogs/dialog/dialog.component.js +0 -92
  309. app-rn-runtime/components/dialogs/dialog/dialog.component.js.map +0 -1
  310. app-rn-runtime/components/dialogs/dialog/dialog.styles.js +0 -61
  311. app-rn-runtime/components/dialogs/dialog/dialog.styles.js.map +0 -1
  312. app-rn-runtime/components/input/calendar/calendar.component.js +0 -135
  313. app-rn-runtime/components/input/calendar/calendar.component.js.map +0 -1
  314. app-rn-runtime/components/input/calendar/calendar.styles.js +0 -132
  315. app-rn-runtime/components/input/calendar/calendar.styles.js.map +0 -1
  316. app-rn-runtime/components/input/calendar/views/month-view.js +0 -191
  317. app-rn-runtime/components/input/calendar/views/month-view.js.map +0 -1
  318. app-rn-runtime/components/input/checkbox/checkbox.component.js +0 -95
  319. app-rn-runtime/components/input/checkbox/checkbox.component.js.map +0 -1
  320. app-rn-runtime/components/input/checkboxset/checkboxset.component.js +0 -91
  321. app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +0 -1
  322. app-rn-runtime/components/input/chips/chips.component.js +0 -266
  323. app-rn-runtime/components/input/chips/chips.component.js.map +0 -1
  324. app-rn-runtime/components/input/chips/chips.styles.js +0 -85
  325. app-rn-runtime/components/input/chips/chips.styles.js.map +0 -1
  326. app-rn-runtime/components/input/currency/currency.component.js +0 -70
  327. app-rn-runtime/components/input/currency/currency.component.js.map +0 -1
  328. app-rn-runtime/components/input/currency/currency.styles.js +0 -64
  329. app-rn-runtime/components/input/currency/currency.styles.js.map +0 -1
  330. app-rn-runtime/components/input/epoch/base-datetime.component.js +0 -272
  331. app-rn-runtime/components/input/epoch/base-datetime.component.js.map +0 -1
  332. app-rn-runtime/components/input/fileupload/fileupload.component.js +0 -55
  333. app-rn-runtime/components/input/fileupload/fileupload.component.js.map +0 -1
  334. app-rn-runtime/components/input/number/number.component.js +0 -52
  335. app-rn-runtime/components/input/number/number.component.js.map +0 -1
  336. app-rn-runtime/components/input/number/number.styles.js +0 -38
  337. app-rn-runtime/components/input/number/number.styles.js.map +0 -1
  338. app-rn-runtime/components/input/radioset/radioset.component.js +0 -60
  339. app-rn-runtime/components/input/radioset/radioset.component.js.map +0 -1
  340. app-rn-runtime/components/input/rating/rating.component.js +0 -142
  341. app-rn-runtime/components/input/rating/rating.component.js.map +0 -1
  342. app-rn-runtime/components/input/select/select.component.js +0 -181
  343. app-rn-runtime/components/input/select/select.component.js.map +0 -1
  344. app-rn-runtime/components/input/select/select.styles.js +0 -98
  345. app-rn-runtime/components/input/select/select.styles.js.map +0 -1
  346. app-rn-runtime/components/input/slider/slider.component.js +0 -77
  347. app-rn-runtime/components/input/slider/slider.component.js.map +0 -1
  348. app-rn-runtime/components/input/slider/slider.styles.js +0 -33
  349. app-rn-runtime/components/input/slider/slider.styles.js.map +0 -1
  350. app-rn-runtime/components/input/switch/switch.component.js +0 -71
  351. app-rn-runtime/components/input/switch/switch.component.js.map +0 -1
  352. app-rn-runtime/components/input/switch/switch.styles.js +0 -115
  353. app-rn-runtime/components/input/switch/switch.styles.js.map +0 -1
  354. app-rn-runtime/components/input/text/text.component.js +0 -47
  355. app-rn-runtime/components/input/text/text.component.js.map +0 -1
  356. app-rn-runtime/components/input/text/text.styles.js +0 -44
  357. app-rn-runtime/components/input/text/text.styles.js.map +0 -1
  358. app-rn-runtime/components/input/textarea/textarea.component.js +0 -48
  359. app-rn-runtime/components/input/textarea/textarea.component.js.map +0 -1
  360. app-rn-runtime/components/input/toggle/toggle.component.js +0 -94
  361. app-rn-runtime/components/input/toggle/toggle.component.js.map +0 -1
  362. app-rn-runtime/components/input/toggle/toggle.styles.js +0 -43
  363. app-rn-runtime/components/input/toggle/toggle.styles.js.map +0 -1
  364. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js +0 -52
  365. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +0 -1
  366. app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js +0 -160
  367. app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js.map +0 -1
  368. app-rn-runtime/components/navigation/menu/menu.component.js +0 -61
  369. app-rn-runtime/components/navigation/menu/menu.component.js.map +0 -1
  370. app-rn-runtime/components/navigation/menu/menu.styles.js +0 -67
  371. app-rn-runtime/components/navigation/menu/menu.styles.js.map +0 -1
  372. app-rn-runtime/components/navigation/navbar/navbar.component.js +0 -74
  373. app-rn-runtime/components/navigation/navbar/navbar.component.js.map +0 -1
  374. app-rn-runtime/components/navigation/navitem/navitem.component.js +0 -62
  375. app-rn-runtime/components/navigation/navitem/navitem.component.js.map +0 -1
  376. app-rn-runtime/components/navigation/navitem/navitem.styles.js +0 -76
  377. app-rn-runtime/components/navigation/navitem/navitem.styles.js.map +0 -1
  378. app-rn-runtime/components/navigation/popover/popover.component.js +0 -126
  379. app-rn-runtime/components/navigation/popover/popover.component.js.map +0 -1
  380. app-rn-runtime/components/navigation/popover/popover.styles.js +0 -69
  381. app-rn-runtime/components/navigation/popover/popover.styles.js.map +0 -1
  382. app-rn-runtime/components/page/left-panel/left-panel.styles.js +0 -13
  383. app-rn-runtime/components/page/left-panel/left-panel.styles.js.map +0 -1
  384. app-rn-runtime/components/page/tabbar/tabbar.component.js +0 -102
  385. app-rn-runtime/components/page/tabbar/tabbar.component.js.map +0 -1
  386. app-rn-runtime/core/base.component.js +0 -382
  387. app-rn-runtime/core/base.component.js.map +0 -1
  388. app-rn-runtime/core/formatters.js +0 -54
  389. app-rn-runtime/core/formatters.js.map +0 -1
  390. app-rn-runtime/core/tappable.component.js +0 -72
  391. app-rn-runtime/core/tappable.component.js.map +0 -1
  392. app-rn-runtime/package.json +0 -243
  393. app-rn-runtime/runtime/App.js +0 -465
  394. app-rn-runtime/runtime/App.js.map +0 -1
  395. app-rn-runtime/runtime/base-fragment.component.js +0 -330
  396. app-rn-runtime/runtime/base-fragment.component.js.map +0 -1
  397. app-rn-runtime/runtime/services/device/camera-service.js +0 -332
  398. app-rn-runtime/runtime/services/device/camera-service.js.map +0 -1
  399. app-rn-runtime/runtime/services/device/scan-service.js +0 -122
  400. app-rn-runtime/runtime/services/device/scan-service.js.map +0 -1
  401. app-rn-runtime/styles/theme.variables.js +0 -392
  402. app-rn-runtime/styles/theme.variables.js.map +0 -1
  403. {app-rn-runtime → package}/actions/base-action.js +0 -0
  404. {app-rn-runtime → package}/actions/base-action.js.map +0 -0
  405. {app-rn-runtime → package}/actions/index.js +0 -0
  406. {app-rn-runtime → package}/actions/index.js.map +0 -0
  407. {app-rn-runtime → package}/actions/login-action.js +0 -0
  408. {app-rn-runtime → package}/actions/login-action.js.map +0 -0
  409. {app-rn-runtime → package}/actions/logout-action.js +0 -0
  410. {app-rn-runtime → package}/actions/logout-action.js.map +0 -0
  411. {app-rn-runtime → package}/actions/navigation-action.js +0 -0
  412. {app-rn-runtime → package}/actions/navigation-action.js.map +0 -0
  413. {app-rn-runtime → package}/actions/notification-action.js +0 -0
  414. {app-rn-runtime → package}/actions/notification-action.js.map +0 -0
  415. {app-rn-runtime → package}/actions/timer-action.js +0 -0
  416. {app-rn-runtime → package}/actions/timer-action.js.map +0 -0
  417. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js +0 -0
  418. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js.map +0 -0
  419. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js +0 -0
  420. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js.map +0 -0
  421. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js +0 -0
  422. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +0 -0
  423. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js +0 -0
  424. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js.map +0 -0
  425. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js +0 -0
  426. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js.map +0 -0
  427. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js +0 -0
  428. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +0 -0
  429. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js +0 -0
  430. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js.map +0 -0
  431. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js +0 -0
  432. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js.map +0 -0
  433. {app-rn-runtime → package}/components/advanced/login/login.props.js +0 -0
  434. {app-rn-runtime → package}/components/advanced/login/login.props.js.map +0 -0
  435. {app-rn-runtime → package}/components/advanced/login/login.styles.js +0 -0
  436. {app-rn-runtime → package}/components/advanced/login/login.styles.js.map +0 -0
  437. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js +0 -0
  438. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js.map +0 -0
  439. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js +0 -0
  440. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +0 -0
  441. {app-rn-runtime → package}/components/advanced/webview/webview.props.js +0 -0
  442. {app-rn-runtime → package}/components/advanced/webview/webview.props.js.map +0 -0
  443. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js +0 -0
  444. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
  445. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js +0 -0
  446. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js.map +0 -0
  447. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js +0 -0
  448. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js.map +0 -0
  449. {app-rn-runtime → package}/components/basic/audio/audio.props.js +0 -0
  450. {app-rn-runtime → package}/components/basic/audio/audio.props.js.map +0 -0
  451. {app-rn-runtime → package}/components/basic/audio/audio.styles.js +0 -0
  452. {app-rn-runtime → package}/components/basic/audio/audio.styles.js.map +0 -0
  453. {app-rn-runtime → package}/components/basic/button/button.props.js +0 -0
  454. {app-rn-runtime → package}/components/basic/button/button.props.js.map +0 -0
  455. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js +0 -0
  456. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js.map +0 -0
  457. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js +0 -0
  458. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js.map +0 -0
  459. {app-rn-runtime → package}/components/basic/custom/custom.component.js +0 -0
  460. {app-rn-runtime → package}/components/basic/custom/custom.component.js.map +0 -0
  461. {app-rn-runtime → package}/components/basic/custom/custom.props.js +0 -0
  462. {app-rn-runtime → package}/components/basic/custom/custom.props.js.map +0 -0
  463. {app-rn-runtime → package}/components/basic/custom/custom.styles.js +0 -0
  464. {app-rn-runtime → package}/components/basic/custom/custom.styles.js.map +0 -0
  465. {app-rn-runtime → package}/components/basic/icon/icon.styles.js +0 -0
  466. {app-rn-runtime → package}/components/basic/icon/icon.styles.js.map +0 -0
  467. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +0 -0
  468. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +0 -0
  469. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
  470. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +0 -0
  471. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +0 -0
  472. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
  473. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js +0 -0
  474. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js.map +0 -0
  475. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.ttf +0 -0
  476. {app-rn-runtime → package}/components/basic/label/label.props.js +0 -0
  477. {app-rn-runtime → package}/components/basic/label/label.props.js.map +0 -0
  478. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js +0 -0
  479. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js.map +0 -0
  480. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js +0 -0
  481. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js.map +0 -0
  482. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js +0 -0
  483. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js.map +0 -0
  484. {app-rn-runtime → package}/components/basic/message/message.props.js +0 -0
  485. {app-rn-runtime → package}/components/basic/message/message.props.js.map +0 -0
  486. {app-rn-runtime → package}/components/basic/message/message.styles.js +0 -0
  487. {app-rn-runtime → package}/components/basic/message/message.styles.js.map +0 -0
  488. {app-rn-runtime → package}/components/basic/modal/modal.component.js +0 -0
  489. {app-rn-runtime → package}/components/basic/modal/modal.component.js.map +0 -0
  490. {app-rn-runtime → package}/components/basic/modal/modal.props.js +0 -0
  491. {app-rn-runtime → package}/components/basic/modal/modal.props.js.map +0 -0
  492. {app-rn-runtime → package}/components/basic/modal/modal.styles.js +0 -0
  493. {app-rn-runtime → package}/components/basic/modal/modal.styles.js.map +0 -0
  494. {app-rn-runtime → package}/components/basic/picture/picture.props.js +0 -0
  495. {app-rn-runtime → package}/components/basic/picture/picture.props.js.map +0 -0
  496. {app-rn-runtime → package}/components/basic/picture/picture.styles.js +0 -0
  497. {app-rn-runtime → package}/components/basic/picture/picture.styles.js.map +0 -0
  498. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js +0 -0
  499. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js.map +0 -0
  500. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js +0 -0
  501. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js.map +0 -0
  502. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js +0 -0
  503. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js.map +0 -0
  504. {app-rn-runtime → package}/components/basic/search/local-data-provider.js +0 -0
  505. {app-rn-runtime → package}/components/basic/search/local-data-provider.js.map +0 -0
  506. {app-rn-runtime → package}/components/basic/search/search.props.js +0 -0
  507. {app-rn-runtime → package}/components/basic/search/search.props.js.map +0 -0
  508. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js +0 -0
  509. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js.map +0 -0
  510. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js +0 -0
  511. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js.map +0 -0
  512. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js +0 -0
  513. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js.map +0 -0
  514. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js +0 -0
  515. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js.map +0 -0
  516. {app-rn-runtime → package}/components/basic/video/video.props.js +0 -0
  517. {app-rn-runtime → package}/components/basic/video/video.props.js.map +0 -0
  518. {app-rn-runtime → package}/components/basic/video/video.styles.js +0 -0
  519. {app-rn-runtime → package}/components/basic/video/video.styles.js.map +0 -0
  520. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js +0 -0
  521. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js.map +0 -0
  522. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js +0 -0
  523. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js.map +0 -0
  524. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js +0 -0
  525. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js.map +0 -0
  526. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js +0 -0
  527. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js.map +0 -0
  528. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js +0 -0
  529. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js.map +0 -0
  530. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js +0 -0
  531. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
  532. {app-rn-runtime → package}/components/chart/basechart.component.js +0 -0
  533. {app-rn-runtime → package}/components/chart/basechart.component.js.map +0 -0
  534. {app-rn-runtime → package}/components/chart/basechart.props.js +0 -0
  535. {app-rn-runtime → package}/components/chart/basechart.props.js.map +0 -0
  536. {app-rn-runtime → package}/components/chart/basechart.styles.js +0 -0
  537. {app-rn-runtime → package}/components/chart/basechart.styles.js.map +0 -0
  538. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js +0 -0
  539. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js.map +0 -0
  540. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js +0 -0
  541. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js.map +0 -0
  542. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js +0 -0
  543. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js.map +0 -0
  544. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js +0 -0
  545. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js.map +0 -0
  546. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js +0 -0
  547. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js.map +0 -0
  548. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js +0 -0
  549. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js.map +0 -0
  550. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js +0 -0
  551. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js.map +0 -0
  552. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js +0 -0
  553. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js.map +0 -0
  554. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js +0 -0
  555. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js.map +0 -0
  556. {app-rn-runtime → package}/components/chart/legend/legend.component.js +0 -0
  557. {app-rn-runtime → package}/components/chart/legend/legend.component.js.map +0 -0
  558. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js +0 -0
  559. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js.map +0 -0
  560. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js +0 -0
  561. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js.map +0 -0
  562. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
  563. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
  564. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js +0 -0
  565. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js.map +0 -0
  566. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js +0 -0
  567. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js.map +0 -0
  568. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js +0 -0
  569. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js.map +0 -0
  570. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js +0 -0
  571. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js.map +0 -0
  572. {app-rn-runtime → package}/components/chart/theme/chart.theme.js +0 -0
  573. {app-rn-runtime → package}/components/chart/theme/chart.theme.js.map +0 -0
  574. {app-rn-runtime → package}/components/container/accordion/accordion.props.js +0 -0
  575. {app-rn-runtime → package}/components/container/accordion/accordion.props.js.map +0 -0
  576. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js +0 -0
  577. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js.map +0 -0
  578. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js +0 -0
  579. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js.map +0 -0
  580. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js +0 -0
  581. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js.map +0 -0
  582. {app-rn-runtime → package}/components/container/container.props.js +0 -0
  583. {app-rn-runtime → package}/components/container/container.props.js.map +0 -0
  584. {app-rn-runtime → package}/components/container/container.styles.js +0 -0
  585. {app-rn-runtime → package}/components/container/container.styles.js.map +0 -0
  586. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
  587. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -0
  588. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -0
  589. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -0
  590. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
  591. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
  592. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js +0 -0
  593. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -0
  594. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js +0 -0
  595. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -0
  596. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
  597. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
  598. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js +0 -0
  599. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js.map +0 -0
  600. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js +0 -0
  601. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js.map +0 -0
  602. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
  603. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js.map +0 -0
  604. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js +0 -0
  605. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js.map +0 -0
  606. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js +0 -0
  607. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js.map +0 -0
  608. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
  609. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
  610. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -0
  611. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -0
  612. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -0
  613. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -0
  614. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
  615. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
  616. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js +0 -0
  617. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js.map +0 -0
  618. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js +0 -0
  619. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js.map +0 -0
  620. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js +0 -0
  621. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js.map +0 -0
  622. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js +0 -0
  623. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js.map +0 -0
  624. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js +0 -0
  625. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js.map +0 -0
  626. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js +0 -0
  627. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js.map +0 -0
  628. {app-rn-runtime → package}/components/container/panel/panel.props.js +0 -0
  629. {app-rn-runtime → package}/components/container/panel/panel.props.js.map +0 -0
  630. {app-rn-runtime → package}/components/container/partial-host.component.js +0 -0
  631. {app-rn-runtime → package}/components/container/partial-host.component.js.map +0 -0
  632. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js +0 -0
  633. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js.map +0 -0
  634. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js +0 -0
  635. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js.map +0 -0
  636. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js +0 -0
  637. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js.map +0 -0
  638. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
  639. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
  640. {app-rn-runtime → package}/components/container/tabs/tabs.props.js +0 -0
  641. {app-rn-runtime → package}/components/container/tabs/tabs.props.js.map +0 -0
  642. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js +0 -0
  643. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js.map +0 -0
  644. {app-rn-runtime → package}/components/container/tile/tile.props.js +0 -0
  645. {app-rn-runtime → package}/components/container/tile/tile.props.js.map +0 -0
  646. {app-rn-runtime → package}/components/container/tile/tile.styles.js +0 -0
  647. {app-rn-runtime → package}/components/container/tile/tile.styles.js.map +0 -0
  648. {app-rn-runtime → package}/components/container/wizard/wizard.props.js +0 -0
  649. {app-rn-runtime → package}/components/container/wizard/wizard.props.js.map +0 -0
  650. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js +0 -0
  651. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -0
  652. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js +0 -0
  653. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -0
  654. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js +0 -0
  655. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js.map +0 -0
  656. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js +0 -0
  657. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js.map +0 -0
  658. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js +0 -0
  659. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js.map +0 -0
  660. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js +0 -0
  661. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js.map +0 -0
  662. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js +0 -0
  663. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js.map +0 -0
  664. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js +0 -0
  665. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js.map +0 -0
  666. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js +0 -0
  667. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js.map +0 -0
  668. {app-rn-runtime → package}/components/data/card/card.props.js +0 -0
  669. {app-rn-runtime → package}/components/data/card/card.props.js.map +0 -0
  670. {app-rn-runtime → package}/components/data/card/card.styles.js +0 -0
  671. {app-rn-runtime → package}/components/data/card/card.styles.js.map +0 -0
  672. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js +0 -0
  673. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js.map +0 -0
  674. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js +0 -0
  675. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js.map +0 -0
  676. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js +0 -0
  677. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js.map +0 -0
  678. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js +0 -0
  679. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js.map +0 -0
  680. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js +0 -0
  681. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js.map +0 -0
  682. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js +0 -0
  683. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js.map +0 -0
  684. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js +0 -0
  685. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js.map +0 -0
  686. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js +0 -0
  687. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js.map +0 -0
  688. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js +0 -0
  689. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js.map +0 -0
  690. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js +0 -0
  691. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js.map +0 -0
  692. {app-rn-runtime → package}/components/data/form/form.props.js +0 -0
  693. {app-rn-runtime → package}/components/data/form/form.props.js.map +0 -0
  694. {app-rn-runtime → package}/components/data/form/form.styles.js +0 -0
  695. {app-rn-runtime → package}/components/data/form/form.styles.js.map +0 -0
  696. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js +0 -0
  697. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js.map +0 -0
  698. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js +0 -0
  699. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js.map +0 -0
  700. {app-rn-runtime → package}/components/data/list/list.props.js +0 -0
  701. {app-rn-runtime → package}/components/data/list/list.props.js.map +0 -0
  702. {app-rn-runtime → package}/components/data/liveform/liveform.component.js +0 -0
  703. {app-rn-runtime → package}/components/data/liveform/liveform.component.js.map +0 -0
  704. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js +0 -0
  705. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js.map +0 -0
  706. {app-rn-runtime → package}/components/device/camera/camera.props.js +0 -0
  707. {app-rn-runtime → package}/components/device/camera/camera.props.js.map +0 -0
  708. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js +0 -0
  709. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js.map +0 -0
  710. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js +0 -0
  711. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -0
  712. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js +0 -0
  713. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js.map +0 -0
  714. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js +0 -0
  715. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js.map +0 -0
  716. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js +0 -0
  717. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js.map +0 -0
  718. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js +0 -0
  719. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js.map +0 -0
  720. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js +0 -0
  721. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js.map +0 -0
  722. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js +0 -0
  723. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js.map +0 -0
  724. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js +0 -0
  725. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js.map +0 -0
  726. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js +0 -0
  727. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js.map +0 -0
  728. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js +0 -0
  729. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js.map +0 -0
  730. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js +0 -0
  731. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js.map +0 -0
  732. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js +0 -0
  733. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js.map +0 -0
  734. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js +0 -0
  735. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js.map +0 -0
  736. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js +0 -0
  737. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js.map +0 -0
  738. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js +0 -0
  739. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js.map +0 -0
  740. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js +0 -0
  741. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js.map +0 -0
  742. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js +0 -0
  743. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
  744. {app-rn-runtime → package}/components/input/calendar/calendar.props.js +0 -0
  745. {app-rn-runtime → package}/components/input/calendar/calendar.props.js.map +0 -0
  746. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js +0 -0
  747. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js.map +0 -0
  748. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js +0 -0
  749. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js.map +0 -0
  750. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js +0 -0
  751. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js.map +0 -0
  752. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js +0 -0
  753. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js.map +0 -0
  754. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js +0 -0
  755. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js.map +0 -0
  756. {app-rn-runtime → package}/components/input/chips/chips.props.js +0 -0
  757. {app-rn-runtime → package}/components/input/chips/chips.props.js.map +0 -0
  758. {app-rn-runtime → package}/components/input/composite/composite.component.js +0 -0
  759. {app-rn-runtime → package}/components/input/composite/composite.component.js.map +0 -0
  760. {app-rn-runtime → package}/components/input/composite/composite.props.js +0 -0
  761. {app-rn-runtime → package}/components/input/composite/composite.props.js.map +0 -0
  762. {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
  763. {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
  764. {app-rn-runtime → package}/components/input/currency/currency.props.js +0 -0
  765. {app-rn-runtime → package}/components/input/currency/currency.props.js.map +0 -0
  766. {app-rn-runtime → package}/components/input/epoch/date/date.component.js +0 -0
  767. {app-rn-runtime → package}/components/input/epoch/date/date.component.js.map +0 -0
  768. {app-rn-runtime → package}/components/input/epoch/date/date.props.js +0 -0
  769. {app-rn-runtime → package}/components/input/epoch/date/date.props.js.map +0 -0
  770. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js +0 -0
  771. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js.map +0 -0
  772. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js +0 -0
  773. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js.map +0 -0
  774. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js +0 -0
  775. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js.map +0 -0
  776. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js +0 -0
  777. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js.map +0 -0
  778. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js +0 -0
  779. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js.map +0 -0
  780. {app-rn-runtime → package}/components/input/epoch/time/time.component.js +0 -0
  781. {app-rn-runtime → package}/components/input/epoch/time/time.component.js.map +0 -0
  782. {app-rn-runtime → package}/components/input/epoch/time/time.props.js +0 -0
  783. {app-rn-runtime → package}/components/input/epoch/time/time.props.js.map +0 -0
  784. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js +0 -0
  785. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js.map +0 -0
  786. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js +0 -0
  787. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js.map +0 -0
  788. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js +0 -0
  789. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js.map +0 -0
  790. {app-rn-runtime → package}/components/input/number/number.props.js +0 -0
  791. {app-rn-runtime → package}/components/input/number/number.props.js.map +0 -0
  792. {app-rn-runtime → package}/components/input/radioset/radioset.props.js +0 -0
  793. {app-rn-runtime → package}/components/input/radioset/radioset.props.js.map +0 -0
  794. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js +0 -0
  795. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js.map +0 -0
  796. {app-rn-runtime → package}/components/input/rating/rating.props.js +0 -0
  797. {app-rn-runtime → package}/components/input/rating/rating.props.js.map +0 -0
  798. {app-rn-runtime → package}/components/input/rating/rating.styles.js +0 -0
  799. {app-rn-runtime → package}/components/input/rating/rating.styles.js.map +0 -0
  800. {app-rn-runtime → package}/components/input/select/select.props.js +0 -0
  801. {app-rn-runtime → package}/components/input/select/select.props.js.map +0 -0
  802. {app-rn-runtime → package}/components/input/slider/slider.props.js +0 -0
  803. {app-rn-runtime → package}/components/input/slider/slider.props.js.map +0 -0
  804. {app-rn-runtime → package}/components/input/switch/switch.props.js +0 -0
  805. {app-rn-runtime → package}/components/input/switch/switch.props.js.map +0 -0
  806. {app-rn-runtime → package}/components/input/text/text.props.js +0 -0
  807. {app-rn-runtime → package}/components/input/text/text.props.js.map +0 -0
  808. {app-rn-runtime → package}/components/input/textarea/textarea.props.js +0 -0
  809. {app-rn-runtime → package}/components/input/textarea/textarea.props.js.map +0 -0
  810. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js +0 -0
  811. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js.map +0 -0
  812. {app-rn-runtime → package}/components/input/toggle/toggle.props.js +0 -0
  813. {app-rn-runtime → package}/components/input/toggle/toggle.props.js.map +0 -0
  814. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js +0 -0
  815. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js.map +0 -0
  816. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js +0 -0
  817. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js.map +0 -0
  818. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js +0 -0
  819. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js.map +0 -0
  820. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js +0 -0
  821. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js.map +0 -0
  822. {app-rn-runtime → package}/components/navigation/menu/menu.props.js +0 -0
  823. {app-rn-runtime → package}/components/navigation/menu/menu.props.js.map +0 -0
  824. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js +0 -0
  825. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js.map +0 -0
  826. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js +0 -0
  827. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js.map +0 -0
  828. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js +0 -0
  829. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js.map +0 -0
  830. {app-rn-runtime → package}/components/navigation/popover/popover.props.js +0 -0
  831. {app-rn-runtime → package}/components/navigation/popover/popover.props.js.map +0 -0
  832. {app-rn-runtime → package}/components/page/content/content.component.js +0 -0
  833. {app-rn-runtime → package}/components/page/content/content.component.js.map +0 -0
  834. {app-rn-runtime → package}/components/page/content/content.props.js +0 -0
  835. {app-rn-runtime → package}/components/page/content/content.props.js.map +0 -0
  836. {app-rn-runtime → package}/components/page/content/content.styles.js +0 -0
  837. {app-rn-runtime → package}/components/page/content/content.styles.js.map +0 -0
  838. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js +0 -0
  839. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js.map +0 -0
  840. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js +0 -0
  841. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js.map +0 -0
  842. {app-rn-runtime → package}/components/page/page-content/page-content.component.js +0 -0
  843. {app-rn-runtime → package}/components/page/page-content/page-content.component.js.map +0 -0
  844. {app-rn-runtime → package}/components/page/page-content/page-content.props.js +0 -0
  845. {app-rn-runtime → package}/components/page/page-content/page-content.props.js.map +0 -0
  846. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js +0 -0
  847. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js.map +0 -0
  848. {app-rn-runtime → package}/components/page/page.component.js +0 -0
  849. {app-rn-runtime → package}/components/page/page.component.js.map +0 -0
  850. {app-rn-runtime → package}/components/page/page.props.js +0 -0
  851. {app-rn-runtime → package}/components/page/page.props.js.map +0 -0
  852. {app-rn-runtime → package}/components/page/page.styles.js +0 -0
  853. {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
  854. {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
  855. {app-rn-runtime → package}/components/page/partial/partial.component.js.map +0 -0
  856. {app-rn-runtime → package}/components/page/partial/partial.props.js +0 -0
  857. {app-rn-runtime → package}/components/page/partial/partial.props.js.map +0 -0
  858. {app-rn-runtime → package}/components/page/partial/partial.styles.js +0 -0
  859. {app-rn-runtime → package}/components/page/partial/partial.styles.js.map +0 -0
  860. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js +0 -0
  861. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js.map +0 -0
  862. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js +0 -0
  863. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js.map +0 -0
  864. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js +0 -0
  865. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js.map +0 -0
  866. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js +0 -0
  867. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js.map +0 -0
  868. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js +0 -0
  869. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js.map +0 -0
  870. {app-rn-runtime → package}/components/prefab/prefab-container.component.js +0 -0
  871. {app-rn-runtime → package}/components/prefab/prefab-container.component.js.map +0 -0
  872. {app-rn-runtime → package}/components/prefab/prefab-container.props.js +0 -0
  873. {app-rn-runtime → package}/components/prefab/prefab-container.props.js.map +0 -0
  874. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js +0 -0
  875. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js.map +0 -0
  876. {app-rn-runtime → package}/core/AppConfig.js +0 -0
  877. {app-rn-runtime → package}/core/AppConfig.js.map +0 -0
  878. {app-rn-runtime → package}/core/asset.provider.js +0 -0
  879. {app-rn-runtime → package}/core/asset.provider.js.map +0 -0
  880. {app-rn-runtime → package}/core/components/textinput.component.js +0 -0
  881. {app-rn-runtime → package}/core/components/textinput.component.js.map +0 -0
  882. {app-rn-runtime → package}/core/constants/currency-constants.js +0 -0
  883. {app-rn-runtime → package}/core/constants/currency-constants.js.map +0 -0
  884. {app-rn-runtime → package}/core/currency-constants.js +0 -0
  885. {app-rn-runtime → package}/core/currency-constants.js.map +0 -0
  886. {app-rn-runtime → package}/core/device/calendar-service.js +0 -0
  887. {app-rn-runtime → package}/core/device/calendar-service.js.map +0 -0
  888. {app-rn-runtime → package}/core/device/camera-service.js +0 -0
  889. {app-rn-runtime → package}/core/device/camera-service.js.map +0 -0
  890. {app-rn-runtime → package}/core/device/contacts-service.js +0 -0
  891. {app-rn-runtime → package}/core/device/contacts-service.js.map +0 -0
  892. {app-rn-runtime → package}/core/device/location-service.js +0 -0
  893. {app-rn-runtime → package}/core/device/location-service.js.map +0 -0
  894. {app-rn-runtime → package}/core/device/scan-service.js +0 -0
  895. {app-rn-runtime → package}/core/device/scan-service.js.map +0 -0
  896. {app-rn-runtime → package}/core/display.manager.js +0 -0
  897. {app-rn-runtime → package}/core/display.manager.js.map +0 -0
  898. {app-rn-runtime → package}/core/event-notifier.js +0 -0
  899. {app-rn-runtime → package}/core/event-notifier.js.map +0 -0
  900. {app-rn-runtime → package}/core/file-extension-types.js +0 -0
  901. {app-rn-runtime → package}/core/file-extension-types.js.map +0 -0
  902. {app-rn-runtime → package}/core/fixed-view.component.js +0 -0
  903. {app-rn-runtime → package}/core/fixed-view.component.js.map +0 -0
  904. {app-rn-runtime → package}/core/i18n.service.js +0 -0
  905. {app-rn-runtime → package}/core/i18n.service.js.map +0 -0
  906. {app-rn-runtime → package}/core/if.component.js +0 -0
  907. {app-rn-runtime → package}/core/if.component.js.map +0 -0
  908. {app-rn-runtime → package}/core/imageSizeEstimator.js +0 -0
  909. {app-rn-runtime → package}/core/imageSizeEstimator.js.map +0 -0
  910. {app-rn-runtime → package}/core/injector.js +0 -0
  911. {app-rn-runtime → package}/core/injector.js.map +0 -0
  912. {app-rn-runtime → package}/core/key.extractor.js +0 -0
  913. {app-rn-runtime → package}/core/key.extractor.js.map +0 -0
  914. {app-rn-runtime → package}/core/logger.js +0 -0
  915. {app-rn-runtime → package}/core/logger.js.map +0 -0
  916. {app-rn-runtime → package}/core/modal.service.js +0 -0
  917. {app-rn-runtime → package}/core/modal.service.js.map +0 -0
  918. {app-rn-runtime → package}/core/navigation.service.js +0 -0
  919. {app-rn-runtime → package}/core/navigation.service.js.map +0 -0
  920. {app-rn-runtime → package}/core/network.service.js +0 -0
  921. {app-rn-runtime → package}/core/network.service.js.map +0 -0
  922. {app-rn-runtime → package}/core/partial.service.js +0 -0
  923. {app-rn-runtime → package}/core/partial.service.js.map +0 -0
  924. {app-rn-runtime → package}/core/props.provider.js +0 -0
  925. {app-rn-runtime → package}/core/props.provider.js.map +0 -0
  926. {app-rn-runtime → package}/core/scroll-view.component.js +0 -0
  927. {app-rn-runtime → package}/core/scroll-view.component.js.map +0 -0
  928. {app-rn-runtime → package}/core/security.service.js +0 -0
  929. {app-rn-runtime → package}/core/security.service.js.map +0 -0
  930. {app-rn-runtime → package}/core/spinner.service.js +0 -0
  931. {app-rn-runtime → package}/core/spinner.service.js.map +0 -0
  932. {app-rn-runtime → package}/core/storage.service.js +0 -0
  933. {app-rn-runtime → package}/core/storage.service.js.map +0 -0
  934. {app-rn-runtime → package}/core/toast.service.js +0 -0
  935. {app-rn-runtime → package}/core/toast.service.js.map +0 -0
  936. {app-rn-runtime → package}/core/utils.js +0 -0
  937. {app-rn-runtime → package}/core/utils.js.map +0 -0
  938. {app-rn-runtime → package}/core/viewport.js +0 -0
  939. {app-rn-runtime → package}/core/viewport.js.map +0 -0
  940. {app-rn-runtime → package}/gestures/swipe.animation.js +0 -0
  941. {app-rn-runtime → package}/gestures/swipe.animation.js.map +0 -0
  942. {app-rn-runtime → package}/index.js +0 -0
  943. {app-rn-runtime → package}/index.js.map +0 -0
  944. {app-rn-runtime → package}/runtime/App.navigator.js +0 -0
  945. {app-rn-runtime → package}/runtime/App.navigator.js.map +0 -0
  946. {app-rn-runtime → package}/runtime/base-page.component.js +0 -0
  947. {app-rn-runtime → package}/runtime/base-page.component.js.map +0 -0
  948. {app-rn-runtime → package}/runtime/base-partial.component.js +0 -0
  949. {app-rn-runtime → package}/runtime/base-partial.component.js.map +0 -0
  950. {app-rn-runtime → package}/runtime/base-prefab.component.js +0 -0
  951. {app-rn-runtime → package}/runtime/base-prefab.component.js.map +0 -0
  952. {app-rn-runtime → package}/runtime/lib-patch.js +0 -0
  953. {app-rn-runtime → package}/runtime/lib-patch.js.map +0 -0
  954. {app-rn-runtime → package}/runtime/memo.component.js +0 -0
  955. {app-rn-runtime → package}/runtime/memo.component.js.map +0 -0
  956. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js +0 -0
  957. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js.map +0 -0
  958. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js +0 -0
  959. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js.map +0 -0
  960. {app-rn-runtime → package}/runtime/platform.api.js +0 -0
  961. {app-rn-runtime → package}/runtime/platform.api.js.map +0 -0
  962. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js +0 -0
  963. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js.map +0 -0
  964. {app-rn-runtime → package}/runtime/services/app-i18n.service.js +0 -0
  965. {app-rn-runtime → package}/runtime/services/app-i18n.service.js.map +0 -0
  966. {app-rn-runtime → package}/runtime/services/app-modal.service.js +0 -0
  967. {app-rn-runtime → package}/runtime/services/app-modal.service.js.map +0 -0
  968. {app-rn-runtime → package}/runtime/services/app-security.service.js +0 -0
  969. {app-rn-runtime → package}/runtime/services/app-security.service.js.map +0 -0
  970. {app-rn-runtime → package}/runtime/services/app-spinner.service.js +0 -0
  971. {app-rn-runtime → package}/runtime/services/app-spinner.service.js.map +0 -0
  972. {app-rn-runtime → package}/runtime/services/app-toast.service.js +0 -0
  973. {app-rn-runtime → package}/runtime/services/app-toast.service.js.map +0 -0
  974. {app-rn-runtime → package}/runtime/services/device/calendar-service.js +0 -0
  975. {app-rn-runtime → package}/runtime/services/device/calendar-service.js.map +0 -0
  976. {app-rn-runtime → package}/runtime/services/device/contacts-service.js +0 -0
  977. {app-rn-runtime → package}/runtime/services/device/contacts-service.js.map +0 -0
  978. {app-rn-runtime → package}/runtime/services/device/location-service.js +0 -0
  979. {app-rn-runtime → package}/runtime/services/device/location-service.js.map +0 -0
  980. {app-rn-runtime → package}/runtime/services/device/permissions.js +0 -0
  981. {app-rn-runtime → package}/runtime/services/device/permissions.js.map +0 -0
  982. {app-rn-runtime → package}/runtime/services/partial.service.js +0 -0
  983. {app-rn-runtime → package}/runtime/services/partial.service.js.map +0 -0
  984. {app-rn-runtime → package}/runtime/services/webprocess.service.js +0 -0
  985. {app-rn-runtime → package}/runtime/services/webprocess.service.js.map +0 -0
  986. {app-rn-runtime → package}/runtime/watcher.js +0 -0
  987. {app-rn-runtime → package}/runtime/watcher.js.map +0 -0
  988. {app-rn-runtime → package}/styles/MediaQueryList.js +0 -0
  989. {app-rn-runtime → package}/styles/MediaQueryList.js.map +0 -0
  990. {app-rn-runtime → package}/styles/background.component.js +0 -0
  991. {app-rn-runtime → package}/styles/background.component.js.map +0 -0
  992. {app-rn-runtime → package}/styles/style-prop.validator.js +0 -0
  993. {app-rn-runtime → package}/styles/style-prop.validator.js.map +0 -0
  994. {app-rn-runtime → package}/styles/style-props.js +0 -0
  995. {app-rn-runtime → package}/styles/style-props.js.map +0 -0
  996. {app-rn-runtime → package}/styles/theme.js +0 -0
  997. {app-rn-runtime → package}/styles/theme.js.map +0 -0
  998. {app-rn-runtime → package}/variables/base-variable.js +0 -0
  999. {app-rn-runtime → package}/variables/base-variable.js.map +0 -0
  1000. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js +0 -0
  1001. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js.map +0 -0
  1002. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js +0 -0
  1003. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js.map +0 -0
  1004. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js +0 -0
  1005. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js.map +0 -0
  1006. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js +0 -0
  1007. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js.map +0 -0
  1008. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js +0 -0
  1009. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js.map +0 -0
  1010. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js +0 -0
  1011. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js.map +0 -0
  1012. {app-rn-runtime → package}/variables/device/device/app-info.operation.js +0 -0
  1013. {app-rn-runtime → package}/variables/device/device/app-info.operation.js.map +0 -0
  1014. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js +0 -0
  1015. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js.map +0 -0
  1016. {app-rn-runtime → package}/variables/device/device/device-info.operation.js +0 -0
  1017. {app-rn-runtime → package}/variables/device/device/device-info.operation.js.map +0 -0
  1018. {app-rn-runtime → package}/variables/device/device/network-info.operation.js +0 -0
  1019. {app-rn-runtime → package}/variables/device/device/network-info.operation.js.map +0 -0
  1020. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js +0 -0
  1021. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js.map +0 -0
  1022. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js +0 -0
  1023. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js.map +0 -0
  1024. {app-rn-runtime → package}/variables/device/operation.provider.js +0 -0
  1025. {app-rn-runtime → package}/variables/device/operation.provider.js.map +0 -0
  1026. {app-rn-runtime → package}/variables/device/scan/scan.operation.js +0 -0
  1027. {app-rn-runtime → package}/variables/device/scan/scan.operation.js.map +0 -0
  1028. {app-rn-runtime → package}/variables/device-variable.js +0 -0
  1029. {app-rn-runtime → package}/variables/device-variable.js.map +0 -0
  1030. {app-rn-runtime → package}/variables/http.service.js +0 -0
  1031. {app-rn-runtime → package}/variables/http.service.js.map +0 -0
  1032. {app-rn-runtime → package}/variables/live-variable.js +0 -0
  1033. {app-rn-runtime → package}/variables/live-variable.js.map +0 -0
  1034. {app-rn-runtime → package}/variables/model-variable.js +0 -0
  1035. {app-rn-runtime → package}/variables/model-variable.js.map +0 -0
  1036. {app-rn-runtime → package}/variables/service-variable.js +0 -0
  1037. {app-rn-runtime → package}/variables/service-variable.js.map +0 -0
  1038. {app-rn-runtime → package}/variables/utils/dataset-util.js +0 -0
  1039. {app-rn-runtime → package}/variables/utils/dataset-util.js.map +0 -0
  1040. {app-rn-runtime → package}/variables/utils/inflight-queue.js +0 -0
  1041. {app-rn-runtime → package}/variables/utils/inflight-queue.js.map +0 -0
  1042. {app-rn-runtime → package}/variables/utils/variable.constants.js +0 -0
  1043. {app-rn-runtime → package}/variables/utils/variable.constants.js.map +0 -0
  1044. {app-rn-runtime → package}/variables/utils/variable.utils.js +0 -0
  1045. {app-rn-runtime → package}/variables/utils/variable.utils.js.map +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"names":["Platform","BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","text","height","paddingTop","paddingBottom","paddingLeft","paddingRight","width","borderWidth","borderRightWidth","borderTopLeftRadius","borderBottomLeftRadius","borderColor","searchBorderColor","backgroundColor","searchDropdownBackgroundColor","invalid","borderBottomColor","inputInvalidBorderColor","focusedText","modal","transparent","modalContent","borderRadius","position","borderStyle","dropDownContent","searchInputWrapper","alignItems","justifyContent","flex","clearButton","marginLeft","padding","alignSelf","searchButton","borderTopRightRadius","borderBottomRightRadius","searchButtonColor","icon","fontSize","color","searchButtonTextColor","searchItem","marginBottom","paddingHorizontal","paddingVertical","searchItemBorderColor","searchItemTextColor","searchItemText","fontFamily","baseFont","dataCompleteItem","searchDataCompleteItemBgColor","textDecorationLine","placeholderText","inputPlaceholderColor","inputDisabledBgColor","OS","textAlign","borderLeftWidth","left"],"sources":["search.styles.ts"],"sourcesContent":["import { Platform, TextStyle } from 'react-native';\nimport BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmButtonStyles } from '@wavemaker/app-rn-runtime/components/basic/button/button.styles';\n\nexport type WmSearchStyles = BaseStyles & {\n focusedText: TextStyle,\n modal: AllStyle;\n modalContent: AllStyle;\n searchItem: AllStyle;\n dropDownContent: AllStyle;\n searchItemText: AllStyle;\n clearButton: WmButtonStyles;\n searchButton: WmButtonStyles;\n searchInputWrapper: AllStyle;\n placeholderText: AllStyle;\n invalid: AllStyle;\n};\n\nexport const DEFAULT_CLASS = 'app-search';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmSearchStyles = defineStyles({\n root: {\n flexDirection: 'row'\n },\n text: {\n height: 48,\n paddingTop: 8,\n paddingBottom: 8,\n paddingLeft: 12,\n paddingRight: 12,\n width: '100%',\n borderWidth: 1,\n borderRightWidth: 0,\n borderTopLeftRadius: 6,\n borderBottomLeftRadius: 6,\n borderColor: themeVariables.searchBorderColor,\n backgroundColor: themeVariables.searchDropdownBackgroundColor,\n },\n invalid: {\n borderBottomColor: themeVariables.inputInvalidBorderColor\n },\n focusedText : {\n borderBottomLeftRadius: 0,\n },\n modal: {\n backgroundColor: themeVariables.transparent,\n height: '100%'\n },\n modalContent: {\n backgroundColor: themeVariables.searchDropdownBackgroundColor,\n borderRadius: 6,\n position: 'absolute',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.searchBorderColor,\n width: '90%'\n },\n dropDownContent: {\n width: '100%'\n },\n searchInputWrapper: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'center',\n flex: 1\n },\n clearButton: {\n root: {\n marginLeft: -40,\n padding: 0,\n width: 36,\n alignItems: 'center',\n alignSelf: 'center',\n justifyContent: 'center',\n backgroundColor: 'transparent'\n }\n } as WmButtonStyles,\n searchButton: {\n root: {\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 0,\n borderTopRightRadius: 4,\n borderBottomRightRadius: 4,\n backgroundColor: themeVariables.searchButtonColor,\n height: 48\n },\n icon: {\n icon: {\n fontSize: 24,\n color: themeVariables.searchButtonTextColor,\n }\n }\n } as WmButtonStyles,\n searchItem: {\n width: '100%',\n marginBottom: 4,\n paddingHorizontal: 16,\n paddingVertical: 8,\n borderBottomColor: themeVariables.searchItemBorderColor,\n flexDirection: 'row',\n alignItems: 'center',\n color: themeVariables.searchItemTextColor\n },\n searchItemText: {\n fontSize: 16,\n paddingLeft: 8,\n fontFamily: themeVariables.baseFont\n },\n dataCompleteItem: {\n root: {\n backgroundColor: themeVariables.searchDataCompleteItemBgColor,\n justifyContent: 'center',\n padding: 8\n },\n text: {\n fontSize: 12,\n textDecorationLine: 'none',\n color: themeVariables.searchItemTextColor\n }\n },\n placeholderText: {\n color: themeVariables.inputPlaceholderColor\n }\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n text : {\n backgroundColor: themeVariables.inputDisabledBgColor\n }\n });\n\n addStyle(DEFAULT_CLASS + '-rtl', '', Platform.OS=='android'?{\n text : {\n textAlign: 'right',\n borderWidth: 1,\n borderLeftWidth: 0,\n borderRightWidth: 1,\n borderTopRightRadius: 6,\n borderBottomRightRadius: 6,\n },\n searchButton: {\n root: {\n borderTopRightRadius: 4,\n borderBottomRightRadius: 4,\n },\n }\n }:Platform.OS=='web'?{\n text : {\n textAlign: 'right',\n borderWidth: 1,\n borderRightWidth: 1,\n borderLeftWidth: 0,\n borderTopLeftRadius: 0,\n borderBottomLeftRadius: 0,\n borderTopRightRadius: 6,\n borderBottomRightRadius: 6,\n },\n searchButton: {\n root: {\n borderTopRightRadius: 0,\n borderBottomRightRadius: 0,\n borderTopLeftRadius: 4,\n borderBottomLeftRadius: 4,\n },\n },\n clearButton: {\n root: {\n left: 0,\n position: 'absolute',\n marginLeft: 0\n }\n } as WmButtonStyles,\n }:{\n text : {\n textAlign: 'right',\n }\n });\n\n addStyle('app-autocomplete', '', {\n text: {\n borderRightWidth: 1,\n borderTopRightRadius: 4,\n borderBottomRightRadius: 4,\n }\n } as WmSearchStyles);\n});\n"],"mappings":"AAAA,SAASA,QAAQ,QAAmB,cAAc;AAClD,OAAOC,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AAiBxF,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA6B,GAAGL,YAAY,CAAC;IAC/CM,IAAI,EAAE;MACJC,aAAa,EAAE;IACjB,CAAC;IACDC,IAAI,EAAE;MACJC,MAAM,EAAE,EAAE;MACVC,UAAU,EAAE,CAAC;MACbC,aAAa,EAAE,CAAC;MAChBC,WAAW,EAAE,EAAE;MACfC,YAAY,EAAE,EAAE;MAChBC,KAAK,EAAE,MAAM;MACbC,WAAW,EAAE,CAAC;MACdC,gBAAgB,EAAE,CAAC;MACnBC,mBAAmB,EAAE,CAAC;MACtBC,sBAAsB,EAAE,CAAC;MACzBC,WAAW,EAAEhB,cAAc,CAACiB,iBAAiB;MAC7CC,eAAe,EAAElB,cAAc,CAACmB;IAClC,CAAC;IACHC,OAAO,EAAE;MACPC,iBAAiB,EAAErB,cAAc,CAACsB;IACpC,CAAC;IACCC,WAAW,EAAG;MACZR,sBAAsB,EAAE;IAC1B,CAAC;IACHS,KAAK,EAAE;MACLN,eAAe,EAAElB,cAAc,CAACyB,WAAW;MAC3CnB,MAAM,EAAE;IACV,CAAC;IACDo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dC,gBAAgB,EAAE,CAAC;MACnBmD,eAAe,EAAE,CAAC;MAClBlD,mBAAmB,EAAE,CAAC;MACtBC,sBAAsB,EAAE,CAAC;MACzByB,oBAAoB,EAAE,CAAC;MACvBC,uBAAuB,EAAE;IAC3B,CAAC;IACDF,YAAY,EAAE;MACZpC,IAAI,EAAE;QACJqC,oBAAoB,EAAE,CAAC;QACvBC,uBAAuB,EAAE,CAAC;QAC1B3B,mBAAmB,EAAE,CAAC;QACtBC,sBAAsB,EAAE;MAC1B;IACF,CAAC;IACDoB,WAAW,EAAE;MACXhC,IAAI,EAAE;QACJ8D,IAAI,EAAE,CAAC;QACPrC,QAAQ,EAAE,UAAU;QACpBQ,UAAU,EAAE;MACd;IACF;EACF,CAAC,GAAC;IACA/B,IAAI,EAAG;MACL0D,SAAS,EAAE;IACb;EACF,CAAC,CAAC;EAEF9D,QAAQ,CAAC,kBAAkB,EAAE,EAAE,EAAE;IAC/BI,IAAI,EAAE;MACJQ,gBAAgB,EAAE,CAAC;MACnB2B,oBAAoB,EAAE,CAAC;MACvBC,uBAAuB,EAAE;IAC3B;EACF,CAAmB,CAAC;AACtB,CAAC,CAAC"}
@@ -1,87 +0,0 @@
1
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
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
- import React from 'react';
5
- import { Text, View, Platform } from 'react-native';
6
- import Color from "color";
7
- import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
8
- import WmSpinnerProps from './spinner.props';
9
- import { DEFAULT_CLASS } from './spinner.styles';
10
- import WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';
11
- import WmPicture from '@wavemaker/app-rn-runtime/components/basic/picture/picture.component';
12
- import LottieView from 'lottie-react-native';
13
- import ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';
14
- export class WmSpinnerState extends BaseComponentState {}
15
- export default class WmSpinner extends BaseComponent {
16
- constructor(props) {
17
- super(props, DEFAULT_CLASS, new WmSpinnerProps());
18
- _defineProperty(this, "recursiveSearch", (obj, colors) => {
19
- obj && Object.keys(obj).forEach(key => {
20
- let value = obj[key];
21
- let ind = Math.floor(Math.random() * (0 - colors.length) + colors.length);
22
- if (key == "nm" && (value.toLowerCase().includes('fill ') || value.toLowerCase().includes('stroke '))) {
23
- if (obj["c"] && obj["c"]["k"] && (obj["c"]["k"].length == 4 || obj["c"]["k"].length == 3 && typeof obj["c"]["k"][0] == 'number')) {
24
- obj["c"]["k"] = colors[ind];
25
- } else {
26
- if (obj["c"] && obj["c"]["k"]) {
27
- for (let shape in obj["c"]["k"]) {
28
- if (obj["c"]["k"][shape] && obj["c"]["k"][shape]["s"]) {
29
- obj["c"]["k"][shape]["s"] = colors[ind];
30
- }
31
- }
32
- }
33
- }
34
- } else if (typeof value === 'object') {
35
- this.recursiveSearch(value, colors);
36
- }
37
- });
38
- return obj;
39
- });
40
- }
41
- prepareIcon(props) {
42
- return /*#__PURE__*/React.createElement(WmIcon, {
43
- styles: this.styles.icon,
44
- iconclass: props.iconclass + ' fa-spin',
45
- iconsize: props.iconsize
46
- });
47
- }
48
- prepareImage(props) {
49
- return /*#__PURE__*/React.createElement(WmPicture, {
50
- styles: this.styles.image,
51
- picturesource: props.image
52
- });
53
- }
54
- toRgbArray(color) {
55
- return [color.red() / 255, color.green() / 255, color.blue() / 255, 1];
56
- }
57
- addClasstoLottie(lottiePath) {
58
- let primaryColor = Color(ThemeVariables.INSTANCE.primaryColor);
59
- let colors = [this.toRgbArray(primaryColor), this.toRgbArray(primaryColor.darken(0.2)), this.toRgbArray(primaryColor.darken(0.4)), this.toRgbArray(primaryColor.darken(0.6)), this.toRgbArray(primaryColor.darken(0.8))];
60
- return this.recursiveSearch(lottiePath.json, lottiePath.loader == 'circleSpinner' ? [colors[0]] : colors);
61
- }
62
- prepareLottie(props) {
63
- var _Lottie;
64
- let Lottie = Platform.OS == 'web' ? require('react-lottie-player') : null;
65
- Lottie = ((_Lottie = Lottie) === null || _Lottie === void 0 ? void 0 : _Lottie.default) || Lottie;
66
- return Platform.OS == 'web' ? /*#__PURE__*/React.createElement(Lottie, {
67
- animationData: this.addClasstoLottie(props.lottie),
68
- loop: true,
69
- play: true,
70
- style: this.styles.lottie
71
- }) : /*#__PURE__*/React.createElement(LottieView, {
72
- source: this.addClasstoLottie(props.lottie),
73
- resizeMode: "contain",
74
- autoPlay: true,
75
- loop: true,
76
- style: this.styles.lottie
77
- });
78
- }
79
- renderWidget(props) {
80
- return /*#__PURE__*/React.createElement(View, {
81
- style: this.styles.root
82
- }, this._background, props.lottie ? this.prepareLottie(props) : props.image ? this.prepareImage(props) : this.prepareIcon(props), props.caption ? /*#__PURE__*/React.createElement(Text, {
83
- style: this.styles.text
84
- }, props.caption) : null);
85
- }
86
- }
87
- //# sourceMappingURL=spinner.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Text","View","Platform","Color","BaseComponent","BaseComponentState","WmSpinnerProps","DEFAULT_CLASS","WmIcon","WmPicture","LottieView","ThemeVariables","WmSpinnerState","WmSpinner","constructor","props","_defineProperty","obj","colors","Object","keys","forEach","key","value","ind","Math","floor","random","length","toLowerCase","includes","shape","recursiveSearch","prepareIcon","createElement","styles","icon","iconclass","iconsize","prepareImage","image","picturesource","toRgbArray","color","red","green","blue","addClasstoLottie","lottiePath","primaryColor","INSTANCE","darken","json","loader","prepareLottie","_Lottie","Lottie","OS","require","default","animationData","lottie","loop","play","style","source","resizeMode","autoPlay","renderWidget","root","_background","caption","text"],"sources":["spinner.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View, Platform } from 'react-native';\nimport Color from \"color\";\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmSpinnerProps from './spinner.props';\nimport { DEFAULT_CLASS, WmSpinnerStyles } from './spinner.styles';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmPicture from '@wavemaker/app-rn-runtime/components/basic/picture/picture.component';\nimport LottieView from 'lottie-react-native';\nimport ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';\n\nexport class WmSpinnerState extends BaseComponentState<WmSpinnerProps> {\n\n}\n\nexport default class WmSpinner extends BaseComponent<WmSpinnerProps, WmSpinnerState, WmSpinnerStyles> {\n\n constructor(props: WmSpinnerProps) {\n super(props, DEFAULT_CLASS, new WmSpinnerProps());\n }\n\n private prepareIcon(props: any) {\n return (<WmIcon\n styles={this.styles.icon}\n iconclass={props.iconclass + ' fa-spin'} iconsize={props.iconsize}></WmIcon>);\n }\n\n private prepareImage(props: any) {\n return (<WmPicture\n styles={this.styles.image}\n picturesource={props.image}></WmPicture>);\n }\n\n private recursiveSearch = (obj: any, colors: any) => {\n obj && Object.keys(obj).forEach(key => {\n let value = obj[key];\n let ind = Math.floor(Math.random() * (0 - colors.length ) + colors.length);\n if (key == \"nm\" && (value.toLowerCase().includes('fill ') || value.toLowerCase().includes('stroke '))) {\n if (obj[\"c\"] && obj[\"c\"][\"k\"] \n && (obj[\"c\"][\"k\"].length == 4\n || (obj[\"c\"][\"k\"].length ==3 \n && typeof obj[\"c\"][\"k\"][0] == 'number'))) {\n obj[\"c\"][\"k\"] = colors[ind];\n }\n else {\n if (obj[\"c\"] && obj[\"c\"][\"k\"]){\n for (let shape in obj[\"c\"][\"k\"]) {\n if(obj[\"c\"][\"k\"][shape] && obj[\"c\"][\"k\"][shape][\"s\"]){\n obj[\"c\"][\"k\"][shape][\"s\"] = colors[ind];\n }\n }\n }\n }\n } else if (typeof value === 'object') {\n this.recursiveSearch(value, colors);\n }\n });\n return obj;\n };\n\n private toRgbArray(color: Color) {\n return [\n color.red()/255,\n color.green()/255,\n color.blue()/255,\n 1\n ]\n }\n\n private addClasstoLottie(lottiePath: any) {\n let primaryColor = Color(ThemeVariables.INSTANCE.primaryColor);\n let colors = [this.toRgbArray(primaryColor), \n this.toRgbArray(primaryColor.darken(0.2)), \n this.toRgbArray(primaryColor.darken(0.4)), \n this.toRgbArray(primaryColor.darken(0.6)), \n this.toRgbArray(primaryColor.darken(0.8))];\n return this.recursiveSearch(lottiePath.json, lottiePath.loader == 'circleSpinner' ? [colors[0]] : colors);\n }\n\n private prepareLottie(props: any) {\n let Lottie = Platform.OS == 'web' ? require('react-lottie-player') : null;\n Lottie = Lottie?.default || Lottie;\n return (\n Platform.OS == 'web' ? <Lottie animationData={this.addClasstoLottie(props.lottie)} loop={true} play={true} style={this.styles.lottie} /> : <LottieView\n source={this.addClasstoLottie(props.lottie)}\n resizeMode='contain'\n autoPlay={true}\n loop={true}\n style={this.styles.lottie}\n />\n )\n }\n\n renderWidget(props: WmSpinnerProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n {props.lottie ? this.prepareLottie(props) : props.image ? this.prepareImage(props) : this.prepareIcon(props)}\n {props.caption ? <Text style={this.styles.text}>{props.caption}</Text> : null}\n </View>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,QAAQ,QAAQ,cAAc;AACnD,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,aAAa,QAAyB,kBAAkB;AACjE,OAAOC,MAAM,MAAM,gEAAgE;AACnF,OAAOC,SAAS,MAAM,sEAAsE;AAC5F,OAAOC,UAAU,MAAM,qBAAqB;AAC5C,OAAOC,cAAc,MAAM,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AU;MACpJuD,MAAM,EAAE,IAAI,CAAClB,gBAAgB,CAAChC,KAAK,CAAC8C,MAAM,CAAE;MAC5CK,UAAU,EAAC,SAAS;MACpBC,QAAQ,EAAE,IAAK;MACfL,IAAI,EAAE,IAAK;MACXE,KAAK,EAAE,IAAI,CAAC7B,MAAM,CAAC0B;IAAO,CAC3B,CAAC;EAEN;EAEAO,YAAYA,CAACrD,KAAqB,EAAE;IAClC,oBACEhB,KAAA,CAAAmC,aAAA,CAACjC,IAAI;MAAC+D,KAAK,EAAE,IAAI,CAAC7B,MAAM,CAACkC;IAAK,GAC3B,IAAI,CAACC,WAAW,EAChBvD,KAAK,CAAC8C,MAAM,GAAG,IAAI,CAACP,aAAa,CAACvC,KAAK,CAAC,GAAGA,KAAK,CAACyB,KAAK,GAAG,IAAI,CAACD,YAAY,CAACxB,KAAK,CAAC,GAAG,IAAI,CAACkB,WAAW,CAAClB,KAAK,CAAC,EAC3GA,KAAK,CAACwD,OAAO,gBAAGxE,KAAA,CAAAmC,aAAA,CAAClC,IAAI;MAACgE,KAAK,EAAE,IAAI,CAAC7B,MAAM,CAACqC;IAAK,GAAEzD,KAAK,CAACwD,OAAc,CAAC,GAAG,IACrE,CAAC;EAEX;AACF"}
@@ -1,39 +0,0 @@
1
- import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
2
- import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
3
- export const DEFAULT_CLASS = 'app-spinner';
4
- BASE_THEME.registerStyle((themeVariables, addStyle) => {
5
- const defaultStyles = defineStyles({
6
- root: {
7
- flexDirection: 'row',
8
- justifyContent: 'center',
9
- alignItems: 'center'
10
- },
11
- text: {
12
- fontSize: 14,
13
- paddingLeft: 8
14
- },
15
- icon: {
16
- text: {
17
- fontSize: 24,
18
- color: themeVariables.spinnerIconColor
19
- }
20
- },
21
- image: {},
22
- lottie: {
23
- width: 100,
24
- height: 100,
25
- alignSelf: 'center',
26
- justifyContent: 'center'
27
- }
28
- });
29
- addStyle(DEFAULT_CLASS, '', defaultStyles);
30
- addStyle(DEFAULT_CLASS + '-rtl', '', {
31
- root: {
32
- textAlign: 'right'
33
- },
34
- text: {
35
- paddingRight: 8
36
- }
37
- });
38
- });
39
- //# sourceMappingURL=spinner.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["defineStyles","BASE_THEME","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","justifyContent","alignItems","text","fontSize","paddingLeft","icon","color","spinnerIconColor","image","lottie","width","height","alignSelf","textAlign","paddingRight"],"sources":["spinner.styles.ts"],"sourcesContent":["import { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport BASE_THEME, { NamedStyles, AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\nimport { WmPictureStyles } from '@wavemaker/app-rn-runtime/components/basic/picture/picture.styles';\n\nexport type WmSpinnerStyles = BaseStyles & {\n icon: WmIconStyles\n image: WmPictureStyles\n lottie: AllStyle\n};\n\nexport const DEFAULT_CLASS = 'app-spinner';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmSpinnerStyles = defineStyles({\n root: {\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center'\n },\n text: {\n fontSize: 14,\n paddingLeft: 8\n },\n icon: {\n text: {\n fontSize: 24,\n color: themeVariables.spinnerIconColor\n }\n } as WmIconStyles,\n image: {} as WmPictureStyles,\n lottie: {\n width: 100,\n height: 100,\n alignSelf: 'center',\n justifyContent: 'center'\n }\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n root : {\n textAlign: 'right'\n },\n text: {\n paddingRight: 8\n }\n });\n});\n"],"mappings":"AAAA,SAAqBA,YAAY,QAAQ,+CAA+C;AACxF,OAAOC,UAAU,MAAiC,wCAAwC;AAU1F,OAAO,MAAMC,aAAa,GAAG,aAAa;AAC1CD,UAAU,CAACE,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA8B,GAAGN,YAAY,CAAC;IAClDO,IAAI,EAAE;MACJC,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE;IACd,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,WAAW,EAAE;IACf,CAAC;IACDC,IAAI,EAAE;MACJH,IAAI,EAAE;QACJC,QAAQ,EAAE,EAAE;QACZG,KAAK,EAAEX,cAAc,CAACY;MACxB;IACF,CAAiB;IACjBC,KAAK,EAAE,CAAC,CAAoB;IAC5BC,MAAM,EAAE;MACNC,KAAK,EAAE,GAAG;MACVC,MAAM,EAAE,GAAG;MACXC,SAAS,EAAE,QAAQ;MACnBZ,cAAc,EAAE;IAClB;EACF,CAAC,CAAC;EAEFJ,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,MAAM,EAAE,EAAE,EAAE;IACnCK,IAAI,EAAG;MACLe,SAAS,EAAE;IACb,CAAC;IACDX,IAAI,EAAE;MACJY,YAAY,EAAE;IAChB;EACF,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -1,56 +0,0 @@
1
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
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
- import React from 'react';
5
- import { View } from 'react-native';
6
- import { ResizeMode, Video } from 'expo-av';
7
- import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
8
- import WmVideoProps from './video.props';
9
- import { DEFAULT_CLASS } from './video.styles';
10
- import { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';
11
- export class WmVideoState extends BaseComponentState {}
12
- export default class WmVideo extends BaseComponent {
13
- constructor(props) {
14
- super(props, DEFAULT_CLASS, new WmVideoProps(), new WmVideoState());
15
- _defineProperty(this, "video", null);
16
- }
17
- getSource(path) {
18
- if (!path) {
19
- return null;
20
- }
21
- const resource = this.loadAsset(path);
22
- if (isFullPathUrl(resource)) {
23
- return {
24
- uri: resource
25
- };
26
- }
27
- return resource;
28
- }
29
- componentDidMount() {
30
- if (this.state.props.autoplay) {
31
- var _this$video;
32
- (_this$video = this.video) === null || _this$video === void 0 ? void 0 : _this$video.playAsync();
33
- }
34
- }
35
- renderWidget(props) {
36
- return /*#__PURE__*/React.createElement(View, {
37
- style: this.styles.root
38
- }, this._background, /*#__PURE__*/React.createElement(Video, {
39
- ref: video => {
40
- this.video = video;
41
- },
42
- style: {
43
- width: '100%',
44
- height: '100%',
45
- flex: 1
46
- },
47
- source: this.getSource(props.mp4format || props.webmformat),
48
- posterSource: this.getSource(props.videoposter),
49
- useNativeControls: props.controls,
50
- resizeMode: ResizeMode.CONTAIN,
51
- isLooping: props.loop,
52
- isMuted: props.muted
53
- }));
54
- }
55
- }
56
- //# sourceMappingURL=video.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","ResizeMode","Video","BaseComponent","BaseComponentState","WmVideoProps","DEFAULT_CLASS","isFullPathUrl","WmVideoState","WmVideo","constructor","props","_defineProperty","getSource","path","resource","loadAsset","uri","componentDidMount","state","autoplay","_this$video","video","playAsync","renderWidget","createElement","style","styles","root","_background","ref","width","height","flex","source","mp4format","webmformat","posterSource","videoposter","useNativeControls","controls","resizeMode","CONTAIN","isLooping","loop","isMuted","muted"],"sources":["video.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View } from 'react-native';\nimport { ResizeMode, Video } from 'expo-av';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmVideoProps from './video.props';\nimport { DEFAULT_CLASS, WmVideoStyles } from './video.styles';\nimport { isString } from 'lodash-es';\nimport { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';\n\nexport class WmVideoState extends BaseComponentState<WmVideoProps> {}\n\nexport default class WmVideo extends BaseComponent<WmVideoProps, WmVideoState, WmVideoStyles> {\n\n private video: Video | null = null as any;\n\n constructor(props: WmVideoProps) {\n super(props, DEFAULT_CLASS, new WmVideoProps(), new WmVideoState());\n }\n\n getSource(path: string) {\n if (!path) {\n return null;\n }\n const resource = this.loadAsset(path);\n if (isFullPathUrl(resource as string)) {\n return {\n uri: resource\n };\n }\n return resource;\n }\n\n componentDidMount(): void {\n if (this.state.props.autoplay) {\n this.video?.playAsync();\n }\n }\n\n renderWidget(props: WmVideoProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n <Video\n ref={(video) => { this.video = video; }}\n style={{ width: '100%', height: '100%', flex: 1 }}\n source={this.getSource(\n props.mp4format\n || props.webmformat) as any}\n posterSource={ this.getSource(props.videoposter) as any }\n useNativeControls={props.controls}\n resizeMode={ResizeMode.CONTAIN}\n isLooping={props.loop}\n isMuted={props.muted}\n />\n </View>); \n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAeC,IAAI,QAAQ,cAAc;AACzC,SAASC,UAAU,EAAEC,KAAK,QAAQ,SAAS;AAC3C,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,YAAY,MAAM,eAAe;AACxC,SAASC,aAAa,QAAuB,gBAAgB;AAE7D,SAASC,aAAa,QAAQ,sCAAsC;AAEpE,OAAO,MAAMC,YAAY,SAASJ,kBAAkB,CAAe;AAEnE,eAAe,MAAMK,OAAO,SAASN,aAAa,CA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AAK,CAAC6B,QAAS;MAClCC,UAAU,EAAExC,UAAU,CAACyC,OAAQ;MAC/BC,SAAS,EAAEhC,KAAK,CAACiC,IAAK;MACtBC,OAAO,EAAElC,KAAK,CAACmC;IAAM,CACtB,CACG,CAAC;EACX;AACF"}
@@ -1,191 +0,0 @@
1
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
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
- import React from 'react';
5
- import { View, Text } from 'react-native';
6
- import { Svg } from 'react-native-svg';
7
- import { VictoryLabel, VictoryPie } from 'victory-native';
8
- import WmPieChartProps from './pie-chart.props';
9
- import { DEFAULT_CLASS } from './pie-chart.styles';
10
- import { formatCompactNumber } from '@wavemaker/app-rn-runtime/core/utils';
11
- import WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';
12
- import { BaseChartComponent, BaseChartComponentState } from '@wavemaker/app-rn-runtime/components/chart/basechart.component';
13
- import WmDonutChartProps from '@wavemaker/app-rn-runtime/components/chart/donut-chart/donut-chart.props';
14
- import { Legend } from '../legend/legend.component';
15
- export class WmPieChartState extends BaseChartComponentState {
16
- constructor() {
17
- super(...arguments);
18
- _defineProperty(this, "chartWidth", 0);
19
- _defineProperty(this, "totalHeight", 0);
20
- _defineProperty(this, "infoHeight", 10);
21
- _defineProperty(this, "legendWidth", 0);
22
- _defineProperty(this, "legendHeight", 0);
23
- _defineProperty(this, "opacity", 0);
24
- }
25
- }
26
- export default class WmPieChart extends BaseChartComponent {
27
- constructor(props) {
28
- super(props, DEFAULT_CLASS, props.type === 'Donut' ? new WmDonutChartProps() : new WmPieChartProps(), new WmPieChartState());
29
- _defineProperty(this, "onViewLayoutChange", e => {
30
- var _e$nativeEvent;
31
- let viewWidth = e.nativeEvent.layout.width;
32
- this.updateState({
33
- chartWidth: viewWidth,
34
- totalHeight: (_e$nativeEvent = e.nativeEvent) === null || _e$nativeEvent === void 0 ? void 0 : _e$nativeEvent.layout.height
35
- });
36
- });
37
- _defineProperty(this, "onInfoViewLayoutChange", e => {
38
- var _e$nativeEvent2;
39
- this.updateState({
40
- infoHeight: (_e$nativeEvent2 = e.nativeEvent) === null || _e$nativeEvent2 === void 0 ? void 0 : _e$nativeEvent2.layout.height,
41
- opacity: 1
42
- });
43
- });
44
- _defineProperty(this, "onLegendViewLayoutChange", e => {
45
- var _e$nativeEvent3, _e$nativeEvent4;
46
- this.updateState({
47
- legendWidth: (_e$nativeEvent3 = e.nativeEvent) === null || _e$nativeEvent3 === void 0 ? void 0 : _e$nativeEvent3.layout.width,
48
- legendHeight: (_e$nativeEvent4 = e.nativeEvent) === null || _e$nativeEvent4 === void 0 ? void 0 : _e$nativeEvent4.layout.height
49
- });
50
- });
51
- }
52
- componentDidMount() {
53
- super.componentDidMount();
54
- }
55
- getLabel(d, props) {
56
- switch (props.labeltype) {
57
- case 'percent':
58
- {
59
- return Math.round(d.y * 100 / this.state.total) + '%';
60
- }
61
- case 'key':
62
- {
63
- return this.state.xaxisDatakeyArr[d.x];
64
- }
65
- case 'value':
66
- {
67
- return formatCompactNumber(d.y);
68
- }
69
- case 'key-value':
70
- {
71
- return this.state.xaxisDatakeyArr[d.x] + ' ' + d.y;
72
- }
73
- }
74
- }
75
- renderWidget(props) {
76
- if (!this.state.data.length) {
77
- return null;
78
- }
79
- const pieData = this.state.data[0];
80
- const chartWidth = this.state.chartWidth - (props.showlegend === 'right' ? this.state.legendWidth : 0);
81
- const chartHeight = (this.styles.root.height ? this.state.totalHeight : chartWidth) - this.state.infoHeight - (props.showlegend === 'right' ? 0 : this.state.legendHeight);
82
- let radius = (Math.min(chartWidth, chartHeight) - 40) / 2;
83
- let innerRadius = props.donutratio * radius;
84
- let styleProp = {};
85
- let labelRadius;
86
- if (props.showlabels === 'hide') {
87
- styleProp = {
88
- labels: {
89
- display: "none"
90
- }
91
- };
92
- } else if (props.showlabels === 'inside') {
93
- labelRadius = radius / 2;
94
- } else {
95
- labelRadius = radius + 8;
96
- }
97
- const origin = {
98
- x: chartWidth / 2,
99
- y: chartHeight / 2
100
- };
101
- const orientation = props.showlegend === 'right' ? 'vertical' : 'horizontal';
102
- let legendData = pieData.map((d, index) => {
103
- return {
104
- name: this.state.xaxisDatakeyArr[d.x],
105
- color: this.state.colors[index % this.state.colors.length]
106
- };
107
- });
108
- return /*#__PURE__*/React.createElement(View, {
109
- style: [{
110
- opacity: this.state.opacity
111
- }, this.styles.root],
112
- onLayout: this.onViewLayoutChange
113
- }, /*#__PURE__*/React.createElement(View, {
114
- onLayout: this.onInfoViewLayoutChange
115
- }, /*#__PURE__*/React.createElement(View, {
116
- style: {
117
- flexDirection: 'row',
118
- alignItems: 'center'
119
- }
120
- }, props.iconclass ? /*#__PURE__*/React.createElement(WmIcon, {
121
- iconclass: props.iconclass,
122
- styles: this.styles.icon
123
- }) : null, /*#__PURE__*/React.createElement(Text, {
124
- style: this.styles.title
125
- }, props.title)), /*#__PURE__*/React.createElement(Text, {
126
- style: this.styles.subHeading
127
- }, props.subheading)), props.showlegend === 'top' ? /*#__PURE__*/React.createElement(View, {
128
- onLayout: this.onLegendViewLayoutChange
129
- }, /*#__PURE__*/React.createElement(Legend, {
130
- data: legendData,
131
- testStyle: this.styles.legendText,
132
- dotStyle: this.styles.legenedDot
133
- })) : null, /*#__PURE__*/React.createElement(View, {
134
- style: {
135
- flexDirection: 'row',
136
- justifyContent: 'center',
137
- alignItems: 'center'
138
- }
139
- }, /*#__PURE__*/React.createElement(View, {
140
- style: {
141
- flex: 1
142
- }
143
- }, chartWidth ? /*#__PURE__*/React.createElement(Svg, {
144
- width: chartWidth,
145
- height: chartHeight
146
- }, /*#__PURE__*/React.createElement(VictoryPie, {
147
- style: styleProp,
148
- standalone: false,
149
- colorScale: this.state.colors,
150
- labels: _ref => {
151
- let {
152
- datum
153
- } = _ref;
154
- return this.getLabel(datum, props);
155
- },
156
- endAngle: this.state.endAngle || 0,
157
- radius: radius,
158
- innerRadius: innerRadius,
159
- theme: this.state.theme,
160
- key: props.name,
161
- name: props.name,
162
- data: pieData,
163
- origin: origin,
164
- labelPlacement: props.labelplacement,
165
- labelRadius: labelRadius
166
- }), /*#__PURE__*/React.createElement(VictoryLabel, {
167
- textAnchor: "middle",
168
- style: this.styles.title,
169
- x: origin.x,
170
- y: origin.y,
171
- text: props.centerlabel
172
- })) : null), props.showlegend === 'right' ? /*#__PURE__*/React.createElement(View, {
173
- style: {
174
- maxWidth: '50%'
175
- },
176
- onLayout: this.onLegendViewLayoutChange
177
- }, /*#__PURE__*/React.createElement(Legend, {
178
- data: legendData,
179
- testStyle: this.styles.legendText,
180
- dotStyle: this.styles.legenedDot,
181
- orientation: "vertical"
182
- })) : null), props.showlegend === 'bottom' ? /*#__PURE__*/React.createElement(View, {
183
- onLayout: this.onLegendViewLayoutChange
184
- }, /*#__PURE__*/React.createElement(Legend, {
185
- data: legendData,
186
- testStyle: this.styles.legendText,
187
- dotStyle: this.styles.legenedDot
188
- })) : null);
189
- }
190
- }
191
- //# sourceMappingURL=pie-chart.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","Text","Svg","VictoryLabel","VictoryPie","WmPieChartProps","DEFAULT_CLASS","formatCompactNumber","WmIcon","BaseChartComponent","BaseChartComponentState","WmDonutChartProps","Legend","WmPieChartState","constructor","arguments","_defineProperty","WmPieChart","props","type","e","_e$nativeEvent","viewWidth","nativeEvent","layout","width","updateState","chartWidth","totalHeight","height","_e$nativeEvent2","infoHeight","opacity","_e$nativeEvent3","_e$nativeEvent4","legendWidth","legendHeight","componentDidMount","getLabel","d","labeltype","Math","round","y","state","total","xaxisDatakeyArr","x","renderWidget","data","length","pieData","showlegend","chartHeight","styles","root","radius","min","innerRadius","donutratio","styleProp","labelRadius","showlabels","labels","display","origin","orientation","legendData","map","index","name","color","colors","createElement","style","onLayout","onViewLayoutChange","onInfoViewLayoutChange","flexDirection","alignItems","iconclass","icon","title","subHeading","subheading","onLegendViewLayoutChange","testStyle","legendText","dotStyle","legenedDot","justifyContent","flex","standalone","colorScale","_ref","datum","endAngle","theme","key","labelPlacement","labelplacement","textAnchor","text","centerlabel","maxWidth"],"sources":["pie-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport { LayoutChangeEvent, View, Text } from 'react-native';\nimport { Svg } from 'react-native-svg';\n\nimport { VictoryLabel, VictoryLegend, VictoryPie } from 'victory-native';\n\nimport WmPieChartProps from './pie-chart.props';\nimport { DEFAULT_CLASS, WmPieChartStyles } from './pie-chart.styles';\n\nimport { formatCompactNumber } from '@wavemaker/app-rn-runtime/core/utils';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from '@wavemaker/app-rn-runtime/components/chart/basechart.component';\nimport WmDonutChartProps from '@wavemaker/app-rn-runtime/components/chart/donut-chart/donut-chart.props';\nimport { Legend } from '../legend/legend.component';\n\nexport class WmPieChartState extends BaseChartComponentState<WmPieChartProps> {\n chartWidth = 0;\n totalHeight = 0;\n infoHeight = 10;\n legendWidth = 0;\n legendHeight = 0;\n opacity = 0;\n}\n\nexport default class WmPieChart extends BaseChartComponent<WmPieChartProps, WmPieChartState, WmPieChartStyles> {\n\n constructor(props: WmPieChartProps) {\n super(props, DEFAULT_CLASS, props.type === 'Donut' ? new WmDonutChartProps() : new WmPieChartProps(), new WmPieChartState());\n }\n\n componentDidMount() {\n super.componentDidMount();\n }\n\n onViewLayoutChange = (e: LayoutChangeEvent) => {\n let viewWidth = e.nativeEvent.layout.width;\n this.updateState({\n chartWidth: viewWidth,\n totalHeight: e.nativeEvent?.layout.height\n } as WmPieChartState)\n }\n\n onInfoViewLayoutChange = (e: LayoutChangeEvent) => {\n this.updateState({\n infoHeight: e.nativeEvent?.layout.height,\n opacity: 1\n } as WmPieChartState);\n }\n\n onLegendViewLayoutChange = (e: LayoutChangeEvent) => {\n this.updateState({\n legendWidth: e.nativeEvent?.layout.width,\n legendHeight: e.nativeEvent?.layout.height\n } as WmPieChartState);\n }\n\n getLabel(d: {x: any, y: any}, props: WmPieChartProps): string {\n switch(props.labeltype) {\n case 'percent': {\n return Math.round(d.y * 100 /this.state.total) + '%';\n }\n case 'key': {\n return this.state.xaxisDatakeyArr[d.x];\n }\n case 'value': {\n return formatCompactNumber(d.y);\n }\n case 'key-value': {\n return this.state.xaxisDatakeyArr[d.x] + ' ' + d.y;\n }\n }\n }\n\n renderWidget(props: WmPieChartProps) {\n if (!this.state.data.length) {\n return null;\n }\n const pieData = this.state.data[0];\n const chartWidth = this.state.chartWidth \n - (props.showlegend === 'right' ? this.state.legendWidth : 0);\n const chartHeight = (this.styles.root.height ? this.state.totalHeight : chartWidth) \n - this.state.infoHeight \n - (props.showlegend === 'right' ? 0 : this.state.legendHeight);\n let radius = (Math.min(chartWidth, chartHeight) - 40)/ 2;\n let innerRadius = props.donutratio * radius;\n let styleProp = {};\n let labelRadius;\n if (props.showlabels === 'hide') {\n styleProp={labels: { display: \"none\" }};\n } else if (props.showlabels === 'inside') {\n labelRadius = radius/2;\n } else {\n labelRadius = radius + 8;\n }\n const origin = {x: (chartWidth/2), y: (chartHeight/2)};\n const orientation = props.showlegend === 'right' ? 'vertical' : 'horizontal';\n let legendData = pieData.map((d: {x: any, y: any}, index: number) => {\n return {\n name: this.state.xaxisDatakeyArr[d.x],\n color: this.state.colors[index % (this.state.colors.length)]\n };\n });\n return (\n <View style={[{opacity: this.state.opacity}, this.styles.root]}\n onLayout={this.onViewLayoutChange}>\n <View onLayout={this.onInfoViewLayoutChange}>\n <View style={{flexDirection: 'row', alignItems: 'center'}}>\n {props.iconclass ? (<WmIcon iconclass={props.iconclass} styles={this.styles.icon}></WmIcon>) : null }\n <Text style={this.styles.title}>{props.title}</Text>\n </View>\n <Text style={this.styles.subHeading}>{props.subheading}</Text>\n </View>\n {props.showlegend === 'top' ? \n (<View onLayout={this.onLegendViewLayoutChange}>\n <Legend data={legendData}\n testStyle={this.styles.legendText}\n dotStyle={this.styles.legenedDot}></Legend>\n </View>) : null }\n <View style={{flexDirection: 'row', justifyContent: 'center', alignItems: 'center'}}>\n <View style={{flex: 1}}>\n {chartWidth ? (\n <Svg\n width={chartWidth}\n height={chartHeight}\n >\n <VictoryPie\n style={styleProp}\n standalone={false}\n colorScale={this.state.colors}\n labels={({datum}) => this.getLabel(datum, props)}\n endAngle={this.state.endAngle || 0}\n radius={radius}\n innerRadius={innerRadius}\n theme={this.state.theme}\n key={props.name}\n name={props.name}\n data={pieData}\n origin={origin}\n labelPlacement={props.labelplacement}\n labelRadius={labelRadius}\n />\n <VictoryLabel\n textAnchor=\"middle\"\n style={this.styles.title as any}\n x={origin.x} y={origin.y}\n text={props.centerlabel}\n />\n </Svg>) : null}\n </View>\n {props.showlegend === 'right' ? \n (<View style={{maxWidth: '50%'}} onLayout={this.onLegendViewLayoutChange}>\n <Legend data={legendData}\n testStyle={this.styles.legendText}\n dotStyle={this.styles.legenedDot}\n orientation='vertical'></Legend>\n </View>) : null }\n </View>\n {props.showlegend === 'bottom' ? \n (<View onLayout={this.onLegendViewLayoutChange}>\n <Legend data={legendData}\n testStyle={this.styles.legendText}\n dotStyle={this.styles.legenedDot}></Legend>\n </View>) : null }\n </View>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAA4BC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAC5D,SAASC,GAAG,QAAQ,kBAAkB;AAEtC,SAASC,YAAY,EAAiBC,UAAU,QAAQ,gBAAgB;AAExE,OAAOC,eAAe,MAAM,mBAAmB;AAC/C,SAASC,aAAa,QAA0B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C,eACF9D,KAAA,CAAA0E,aAAA,CAACtE,YAAY;MACXkG,UAAU,EAAC,QAAQ;MACnB3B,KAAK,EAAE,IAAI,CAACpB,MAAM,CAAC4B,KAAa;MAChCnC,CAAC,EAAEkB,MAAM,CAAClB,CAAE;MAACJ,CAAC,EAAEsB,MAAM,CAACtB,CAAE;MACzB2D,IAAI,EAAEpF,KAAK,CAACqF;IAAY,CACzB,CACE,CAAC,GAAI,IACN,CAAC,EACNrF,KAAK,CAACkC,UAAU,KAAK,OAAO,gBAC1BrD,KAAA,CAAA0E,aAAA,CAACzE,IAAI;MAAC0E,KAAK,EAAE;QAAC8B,QAAQ,EAAE;MAAK,CAAE;MAAC7B,QAAQ,EAAE,IAAI,CAACU;IAAyB,gBACvEtF,KAAA,CAAA0E,aAAA,CAAC7D,MAAM;MAACqC,IAAI,EAAEkB,UAAW;MACvBmB,SAAS,EAAE,IAAI,CAAChC,MAAM,CAACiC,UAAW;MAClCC,QAAQ,EAAE,IAAI,CAAClC,MAAM,CAACmC,UAAW;MACjCvB,WAAW,EAAC;IAAU,CAAS,CAC7B,CAAC,GAAI,IACT,CAAC,EACNhD,KAAK,CAACkC,UAAU,KAAK,QAAQ,gBAC3BrD,KAAA,CAAA0E,aAAA,CAACzE,IAAI;MAAC2E,QAAQ,EAAE,IAAI,CAACU;IAAyB,gBAC7CtF,KAAA,CAAA0E,aAAA,CAAC7D,MAAM;MAACqC,IAAI,EAAEkB,UAAW;MACvBmB,SAAS,EAAE,IAAI,CAAChC,MAAM,CAACiC,UAAW;MAClCC,QAAQ,EAAE,IAAI,CAAClC,MAAM,CAACmC;IAAW,CAAS,CACxC,CAAC,GAAI,IACT,CAAC;EAEX;AACF"}
@@ -1,13 +0,0 @@
1
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
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
- import BaseChartComponentProps from '@wavemaker/app-rn-runtime/components/chart/basechart.props';
5
- export default class WmPieChartProps extends BaseChartComponentProps {
6
- constructor() {
7
- super(...arguments);
8
- _defineProperty(this, "donutratio", 0);
9
- _defineProperty(this, "labelplacement", 'vertical');
10
- _defineProperty(this, "centerlabel", '');
11
- }
12
- }
13
- //# sourceMappingURL=pie-chart.props.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["BaseChartComponentProps","WmPieChartProps","constructor","arguments","_defineProperty"],"sources":["pie-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from '@wavemaker/app-rn-runtime/components/chart/basechart.props';\nimport { VictorySliceLabelPlacementType } from 'victory-pie';\n\nexport default class WmPieChartProps extends BaseChartComponentProps {\n donutratio: number = 0;\n labelplacement: VictorySliceLabelPlacementType = 'vertical';\n centerlabel = '';\n}\n"],"mappings":";;;AAAA,OAAOA,uBAAuB,MAAM,4DAA4D;AAGhG,eAAe,MAAMC,eAAe,SAASD,uBAAuB,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,qBAC9C,CAAC;IAAAA,eAAA,yBAC2B,UAAU;IAAAA,eAAA,sBAC7C,EAAE;EAAA;AAClB"}
@@ -1,142 +0,0 @@
1
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
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
- import React from 'react';
5
- import { Text, TouchableOpacity, View } from 'react-native';
6
- import { Badge } from 'react-native-paper';
7
- import { isArray } from 'lodash';
8
- import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
9
- import WmAccordionProps from './accordion.props';
10
- import { DEFAULT_CLASS } from './accordion.styles';
11
- import WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';
12
- import { isDefined } from '@wavemaker/app-rn-runtime/core/utils';
13
- export class WmAccordionState extends BaseComponentState {
14
- constructor() {
15
- super(...arguments);
16
- _defineProperty(this, "lastExpandedIndex", -1);
17
- _defineProperty(this, "isExpanded", []);
18
- }
19
- }
20
- export default class WmAccordion extends BaseComponent {
21
- constructor(props) {
22
- super(props, DEFAULT_CLASS, new WmAccordionProps(), new WmAccordionState());
23
- _defineProperty(this, "accordionPanes", []);
24
- _defineProperty(this, "newIndex", 0);
25
- }
26
- addAccordionPane(accordionPane) {
27
- var _this$state$isExpande;
28
- const i = this.accordionPanes.findIndex(t => t.props.title === accordionPane.props.title);
29
- if (i >= 0) {
30
- this.accordionPanes[i] = accordionPane;
31
- } else {
32
- this.accordionPanes[this.newIndex++] = accordionPane;
33
- }
34
- if (!((_this$state$isExpande = this.state.isExpanded) !== null && _this$state$isExpande !== void 0 && _this$state$isExpande.find(v => v))) {
35
- this.toggle(this.state.props.defaultpaneindex + 1);
36
- }
37
- }
38
- expand(accordionName) {
39
- const i = this.accordionPanes.findIndex(t => t.props.name === accordionName);
40
- this.toggle(i + 1, true);
41
- }
42
- collapse(accordionName) {
43
- const i = this.accordionPanes.findIndex(t => t.props.name === accordionName);
44
- this.toggle(i + 1, false);
45
- }
46
- expandCollapseIcon(item) {
47
- let showBadge = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
48
- let showIcon = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
49
- let useChevron = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
50
- let isExpanded = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
51
- const widgetProps = item.props;
52
- //@ts-ignore
53
- const badge = showBadge && widgetProps.badgevalue != undefined ? /*#__PURE__*/React.createElement(Badge, {
54
- style: [this.styles.badge, isExpanded ? this.styles.activeBadge : null, this.styles[widgetProps.badgetype || 'default']]
55
- }, widgetProps.badgevalue) : null;
56
- let iconclass = null;
57
- if (useChevron) {
58
- iconclass = isExpanded ? 'wi wi-chevron-down' : 'wi wi-chevron-up';
59
- } else {
60
- iconclass = isExpanded ? 'wi wi-minus' : 'wi wi-plus';
61
- }
62
- return /*#__PURE__*/React.createElement(View, {
63
- style: {
64
- flexDirection: 'row'
65
- }
66
- }, badge, showIcon ? /*#__PURE__*/React.createElement(WmIcon, {
67
- styles: this.theme.mergeStyle({}, this.styles.icon, isExpanded ? this.styles.activeIcon : null),
68
- name: 'expand_collapse_icon',
69
- iconclass: iconclass
70
- }) : null);
71
- }
72
- renderAccordionpane(item, index) {
73
- let accordionpanes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
74
- const showIconOnLeft = this.styles.leftToggleIcon.root.width !== undefined;
75
- const isExpanded = this.state.isExpanded[index];
76
- return /*#__PURE__*/React.createElement(View, {
77
- style: this.styles.pane,
78
- key: item.props.title
79
- }, /*#__PURE__*/React.createElement(TouchableOpacity, {
80
- key: 'accordionpane_' + (index + 1),
81
- style: [this.styles.header, index === 0 ? this.styles.firstHeader : null, index === accordionpanes.length - 1 && !isExpanded ? this.styles.lastHeader : null, isExpanded ? this.styles.activeHeader : {}],
82
- onPress: this.toggle.bind(this, index + 1, !isExpanded)
83
- }, this.expandCollapseIcon(item, false, showIconOnLeft, true, isExpanded), item.props.iconclass ? /*#__PURE__*/React.createElement(WmIcon, {
84
- styles: this.styles.icon,
85
- name: item.props.name + '_icon',
86
- iconclass: item.props.iconclass
87
- }) : null, /*#__PURE__*/React.createElement(View, {
88
- style: {
89
- flexDirection: 'column',
90
- flex: 1,
91
- justifyContent: 'center'
92
- }
93
- }, /*#__PURE__*/React.createElement(Text, {
94
- style: [this.styles.text, this.styles.heading, isExpanded ? this.styles.activeHeaderTitle : {}]
95
- }, isDefined(item.props.title) ? item.props.title : 'Title'), item.props.description ? /*#__PURE__*/React.createElement(Text, {
96
- style: this.styles.subheading
97
- }, item.props.description) : null), this.expandCollapseIcon(item, true, !showIconOnLeft, true, isExpanded)), item);
98
- }
99
- toggle(index) {
100
- let expand = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
101
- let expandedId = expand ? index : -1;
102
- let collapseId = expand ? -1 : index;
103
- if (expand && this.state.isExpanded[expandedId - 1] || !expand && this.state.isExpanded[collapseId - 1] === false) {
104
- return;
105
- }
106
- if (collapseId < 0 && this.state.props.closeothers) {
107
- collapseId = this.state.lastExpandedIndex;
108
- }
109
- const collapsedPane = this.accordionPanes[collapseId - 1];
110
- collapsedPane === null || collapsedPane === void 0 ? void 0 : collapsedPane.hide();
111
- Promise.resolve().then(() => {
112
- const expandedPane = expandedId ? this.accordionPanes[expandedId - 1] : null;
113
- expandedPane === null || expandedPane === void 0 ? void 0 : expandedPane.show();
114
- this.setState(state => {
115
- if (collapseId > 0 && collapsedPane) {
116
- state.isExpanded[collapseId - 1] = false;
117
- }
118
- if (expandedId > 0 && expandedPane) {
119
- state.isExpanded[expandedId - 1] = true;
120
- }
121
- return {
122
- lastExpandedIndex: expandedId,
123
- isExpanded: [...state.isExpanded]
124
- };
125
- }, () => {
126
- this.invokeEventCallback('onChange', [{}, this.proxy, expandedId - 1, collapseId ? collapseId - 1 : null, expandedPane && expandedPane.props.name, collapsedPane && collapsedPane.props.name]);
127
- });
128
- }, () => {});
129
- }
130
- componentDidMount() {
131
- super.componentDidMount();
132
- this.toggle(this.state.props.defaultpaneindex + 1);
133
- }
134
- renderWidget(props) {
135
- const accordionpanes = props.children;
136
- const expandedId = this.state.lastExpandedIndex || 0;
137
- return /*#__PURE__*/React.createElement(View, {
138
- style: this.styles.root
139
- }, this._background, accordionpanes ? isArray(accordionpanes) && accordionpanes.length ? accordionpanes.map((item, index) => this.renderAccordionpane(item, index, accordionpanes)) : this.renderAccordionpane(accordionpanes, 0) : null);
140
- }
141
- }
142
- //# sourceMappingURL=accordion.component.js.map