@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
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Platform","isNull","WmNumberProps","DEFAULT_CLASS","WMTextInput","BaseNumberComponent","BaseNumberState","WmNumberState","constructor","arguments","_defineProperty","WmNumber","props","renderWidget","_this$state$textValue","opts","valueExpr","OS","state","textValue","toString","createElement","_extends","getTestPropsForInput","ref","widgetRef","selectionStart","selectionEnd","cursor","style","styles","root","isValid","invalid","keyboardType","placeholderTextColor","placeholderText","color","autoFocus","autofocus","editable","disabled","readonly","placeholder","onBlur","bind","onFocus","onKeyPress","validateInputEntry","onChangeText","onChange","invokeChange","allowContentSelection","text","userSelect"],"sources":["number.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Platform } from 'react-native';\nimport { isNull } from 'lodash';\n\nimport WmNumberProps from './number.props';\nimport { DEFAULT_CLASS, WmNumberStyles } from './number.styles';\nimport { WMTextInput } from '@wavemaker/app-rn-runtime/core/components/textinput.component';\nimport {\n BaseNumberComponent,\n BaseNumberState\n} from '@wavemaker/app-rn-runtime/components/input/basenumber/basenumber.component';\n\nexport class WmNumberState extends BaseNumberState<WmNumberProps> {\n keyboardType: any;\n}\n\nexport default class WmNumber extends BaseNumberComponent<WmNumberProps, WmNumberState, WmNumberStyles> {\n\n constructor(props: WmNumberProps) {\n super(props, DEFAULT_CLASS, new WmNumberProps(), new WmNumberState());\n }\n\n renderWidget(props: WmNumberProps) {\n let opts: any = {};\n const valueExpr = Platform.OS === 'web' ? 'value' : 'defaultValue';\n opts[valueExpr] = this.state.textValue?.toString() || '';\n return (<WMTextInput\n {...this.getTestPropsForInput()}\n ref={(ref: any) => {this.widgetRef = ref;\n // @ts-ignore\n if (ref && !isNull(ref.selectionStart) && !isNull(ref.selectionEnd)) {\n // @ts-ignore\n ref.selectionStart = ref.selectionEnd = this.cursor;\n }}}\n {...opts}\n style={[this.styles.root, this.state.isValid ? {} : this.styles.invalid]}\n keyboardType=\"numeric\"\n placeholderTextColor={this.styles.placeholderText.color as any}\n autoFocus={props.autofocus}\n editable={props.disabled || props.readonly ? false : true}\n placeholder={props.placeholder}\n onBlur={this.onBlur.bind(this)}\n onFocus={this.onFocus.bind(this)}\n onKeyPress={this.validateInputEntry.bind(this)}\n onChangeText={this.onChangeText.bind(this)}\n onChange={this.invokeChange.bind(this)}\n allowContentSelection={this.styles.text.userSelect === 'text'}\n />);\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,cAAc;AACvC,SAASC,MAAM,QAAQ,QAAQ;AAE/B,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,SAASC,WAAW,QAA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ACG,OAAO,CAAE;MACzEC,YAAY,EAAC,SAAS;MACtBC,oBAAoB,EAAE,IAAI,CAACL,MAAM,CAACM,eAAe,CAACC,KAAa;MAC/DC,SAAS,EAAE1B,KAAK,CAAC2B,SAAU;MAC3BC,QAAQ,EAAE5B,KAAK,CAAC6B,QAAQ,IAAI7B,KAAK,CAAC8B,QAAQ,GAAG,KAAK,GAAG,IAAK;MAC1DC,WAAW,EAAE/B,KAAK,CAAC+B,WAAY;MAC/BC,MAAM,EAAE,IAAI,CAACA,MAAM,CAACC,IAAI,CAAC,IAAI,CAAE;MAC/BC,OAAO,EAAE,IAAI,CAACA,OAAO,CAACD,IAAI,CAAC,IAAI,CAAE;MACjCE,UAAU,EAAE,IAAI,CAACC,kBAAkB,CAACH,IAAI,CAAC,IAAI,CAAE;MAC/CI,YAAY,EAAE,IAAI,CAACA,YAAY,CAACJ,IAAI,CAAC,IAAI,CAAE;MAC3CK,QAAQ,EAAE,IAAI,CAACC,YAAY,CAACN,IAAI,CAAC,IAAI,CAAE;MACvCO,qBAAqB,EAAE,IAAI,CAACtB,MAAM,CAACuB,IAAI,CAACC,UAAU,KAAK;IAAO,EAC/D,CAAC;EACJ;AACF"}
@@ -0,0 +1,42 @@
1
+ import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
2
+ import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
3
+ export const DEFAULT_CLASS = 'app-number';
4
+ BASE_THEME.registerStyle((themeVariables, addStyle) => {
5
+ const defaultStyles = defineStyles({
6
+ root: {
7
+ minHeight: 42,
8
+ paddingTop: 8,
9
+ paddingBottom: 8,
10
+ borderWidth: 1,
11
+ borderStyle: 'solid',
12
+ borderColor: themeVariables.inputBorderColor,
13
+ backgroundColor: themeVariables.inputBackgroundColor,
14
+ borderRadius: 6,
15
+ paddingLeft: 16,
16
+ paddingRight: 16
17
+ },
18
+ text: {
19
+ fontSize: 16,
20
+ textAlign: 'left'
21
+ },
22
+ invalid: {
23
+ borderBottomColor: themeVariables.inputInvalidBorderColor
24
+ },
25
+ placeholderText: {
26
+ color: themeVariables.inputPlaceholderColor
27
+ },
28
+ skeleton: {}
29
+ });
30
+ addStyle(DEFAULT_CLASS, '', defaultStyles);
31
+ addStyle(DEFAULT_CLASS + '-disabled', '', {
32
+ root: {
33
+ backgroundColor: themeVariables.inputDisabledBgColor
34
+ }
35
+ });
36
+ addStyle(DEFAULT_CLASS + '-rtl', '', {
37
+ root: {
38
+ textAlign: 'right'
39
+ }
40
+ });
41
+ });
42
+ //# sourceMappingURL=number.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","minHeight","paddingTop","paddingBottom","borderWidth","borderStyle","borderColor","inputBorderColor","backgroundColor","inputBackgroundColor","borderRadius","paddingLeft","paddingRight","text","fontSize","textAlign","invalid","borderBottomColor","inputInvalidBorderColor","placeholderText","color","inputPlaceholderColor","skeleton","inputDisabledBgColor"],"sources":["number.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmSkeletonStyles } from '../../basic/skeleton/skeleton.styles';\n\nexport type WmNumberStyles = BaseStyles & {\n invalid: AllStyle;\n placeholderText: AllStyle;\n skeleton: WmSkeletonStyles;\n};\n\nexport const DEFAULT_CLASS = 'app-number';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmNumberStyles = defineStyles<WmNumberStyles>({\n root: {\n minHeight: 42,\n paddingTop: 8,\n paddingBottom: 8,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.inputBorderColor,\n backgroundColor: themeVariables.inputBackgroundColor,\n borderRadius: 6,\n paddingLeft: 16,\n paddingRight: 16\n },\n text: {\n fontSize: 16,\n textAlign: 'left'\n },\n invalid: {\n borderBottomColor: themeVariables.inputInvalidBorderColor\n },\n placeholderText: {\n color: themeVariables.inputPlaceholderColor\n },\n skeleton: {} as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n root : {\n backgroundColor: themeVariables.inputDisabledBgColor\n }\n });\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n root : {\n textAlign: 'right'\n }\n });\n});\n\n"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AASxF,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA6B,GAAGL,YAAY,CAAiB;IAC/DM,IAAI,EAAE;MACJC,SAAS,EAAE,EAAE;MACbC,UAAU,EAAE,CAAC;MACbC,aAAa,EAAE,CAAC;MAChBC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAE,OAAO;MACpBC,WAAW,EAAET,cAAc,CAACU,gBAAgB;MAC5CC,eAAe,EAAEX,cAAc,CAACY,oBAAoB;MACpDC,YAAY,EAAE,CAAC;MACfC,WAAW,EAAE,EAAE;MACfC,YAAY,EAAE;IAChB,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,SAAS,EAAE;IACb,CAAC;IACDC,OAAO,EAAE;MACPC,iBAAiB,EAAEpB,cAAc,CAACqB;IACpC,CAAC;IACDC,eAAe,EAAE;MACfC,KAAK,EAAEvB,cAAc,CAACwB;IACxB,CAAC;IACDC,QAAQ,EAAE,CAAC;EACf,CAAC,CAAC;EAEFxB,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,WAAW,EAAE,EAAE,EAAE;IACtCK,IAAI,EAAG;MACLQ,eAAe,EAAEX,cAAc,CAAC0B;IAClC;EACJ,CAAC,CAAC;EACFzB,QAAQ,CAACH,aAAa,GAAG,MAAM,EAAE,EAAE,EAAE;IACjCK,IAAI,EAAG;MACLe,SAAS,EAAE;IACb;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,61 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+ import React from 'react';
3
+ import { View, Text } from 'react-native';
4
+ import { RadioButton } from 'react-native-paper';
5
+ import WmRadiosetProps from './radioset.props';
6
+ import { DEFAULT_CLASS } from './radioset.styles';
7
+ import { BaseDatasetComponent, BaseDatasetState } from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.component';
8
+ export class WmRadiosetState extends BaseDatasetState {}
9
+ export default class WmRadioset extends BaseDatasetComponent {
10
+ constructor(props) {
11
+ super(props, DEFAULT_CLASS, new WmRadiosetProps());
12
+ }
13
+ onPress(value) {
14
+ this.invokeEventCallback('onTap', [null, this.proxy]);
15
+ this.onValueChange(value);
16
+ }
17
+ renderChild(item, index, colWidth) {
18
+ const displayText = item.displayexp || item.displayfield;
19
+ return /*#__PURE__*/React.createElement(View, {
20
+ style: [this.styles.radioHead, {
21
+ width: colWidth
22
+ }],
23
+ key: item.key
24
+ }, /*#__PURE__*/React.createElement(RadioButton.Android, _extends({}, this.getTestProps('' + index), {
25
+ value: this.state.props.datafield === 'All Fields' ? this.getItemKey(item.datafield) : item.datafield,
26
+ color: this.styles.root.color,
27
+ uncheckedColor: this.styles.root.color,
28
+ disabled: this.state.props.readonly || this.state.props.disabled
29
+ })), /*#__PURE__*/React.createElement(Text, {
30
+ style: this.styles.radioLabel
31
+ }, displayText));
32
+ }
33
+ renderGroupby() {
34
+ const groupedData = this.state.groupedData;
35
+ return /*#__PURE__*/React.createElement(View, null, groupedData && groupedData.length ? groupedData.map((groupObj, index) => {
36
+ return /*#__PURE__*/React.createElement(View, {
37
+ key: groupObj.key
38
+ }, /*#__PURE__*/React.createElement(Text, {
39
+ style: this.styles.groupHeaderTitle
40
+ }, groupObj.key), this.renderRadioButtons(groupObj.data));
41
+ }) : null);
42
+ }
43
+ renderRadioButtons(items) {
44
+ const props = this.state.props;
45
+ const noOfColumns = props.itemsperrow.xs || 1;
46
+ const colWidth = Math.round(100 / noOfColumns) + '%';
47
+ return /*#__PURE__*/React.createElement(RadioButton.Group, {
48
+ onValueChange: this.onPress.bind(this),
49
+ value: this.state.props.datafield === 'All Fields' ? this.getItemKey(props.datavalue) : props.datavalue
50
+ }, /*#__PURE__*/React.createElement(View, {
51
+ style: this.styles.group
52
+ }, items && items.length ? items.map((item, index) => this.renderChild(item, index, colWidth)) : null));
53
+ }
54
+ renderWidget(props) {
55
+ const items = this.state.dataItems;
56
+ return /*#__PURE__*/React.createElement(View, {
57
+ style: this.styles.root
58
+ }, props.groupby && this.renderGroupby(), !props.groupby && this.renderRadioButtons(items));
59
+ }
60
+ }
61
+ //# sourceMappingURL=radioset.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","Text","RadioButton","WmRadiosetProps","DEFAULT_CLASS","BaseDatasetComponent","BaseDatasetState","WmRadiosetState","WmRadioset","constructor","props","onPress","value","invokeEventCallback","proxy","onValueChange","renderChild","item","index","colWidth","displayText","displayexp","displayfield","createElement","style","styles","radioHead","width","key","Android","_extends","getTestProps","state","datafield","getItemKey","color","root","uncheckedColor","disabled","readonly","radioLabel","renderGroupby","groupedData","length","map","groupObj","groupHeaderTitle","renderRadioButtons","data","items","noOfColumns","itemsperrow","xs","Math","round","Group","bind","datavalue","group","renderWidget","dataItems","groupby"],"sources":["radioset.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, Text, DimensionValue } from 'react-native';\nimport { RadioButton } from 'react-native-paper';\n\nimport WmRadiosetProps from './radioset.props';\nimport { DEFAULT_CLASS, WmRadiosetStyles } from './radioset.styles';\nimport {\n BaseDatasetComponent,\n BaseDatasetState\n} from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.component';\nimport WmSkeleton, { createSkeleton } from '../../basic/skeleton/skeleton.component';\n\nexport class WmRadiosetState extends BaseDatasetState<WmRadiosetProps> {\n}\n\nexport default class WmRadioset extends BaseDatasetComponent<WmRadiosetProps, WmRadiosetState, WmRadiosetStyles> {\n\n constructor(props: WmRadiosetProps) {\n super(props, DEFAULT_CLASS, new WmRadiosetProps());\n }\n\n onPress(value: any) {\n this.invokeEventCallback('onTap', [null, this.proxy]);\n this.onValueChange(value);\n }\n\n renderChild(item: any, index: any, colWidth: DimensionValue) {\n const displayText = item.displayexp || item.displayfield;\n return (\n <View style={[this.styles.radioHead, {width: colWidth}]} key={item.key}>\n <RadioButton.Android\n {...this.getTestProps('' + index)}\n value={this.state.props.datafield === 'All Fields' ? this.getItemKey(item.datafield) : item.datafield}\n color={this.styles.root.color as string}\n uncheckedColor={this.styles.root.color as string}\n disabled={this.state.props.readonly || this.state.props.disabled}\n />\n <Text style={this.styles.radioLabel}>{displayText}</Text>\n </View>)\n }\n\n renderGroupby() {\n const groupedData = this.state.groupedData;\n return (\n <View>\n {groupedData && groupedData.length\n ? groupedData.map((groupObj: any, index: any) => {\n return(\n <View key={groupObj.key}>\n <Text style={this.styles.groupHeaderTitle}>{groupObj.key}</Text>\n {this.renderRadioButtons(groupObj.data)}\n </View>)\n })\n : null}\n </View>\n );\n }\n\n renderRadioButtons(items: any) {\n const props = this.state.props;\n const noOfColumns = props.itemsperrow.xs || 1;\n const colWidth = Math.round(100/ noOfColumns) + '%' as DimensionValue;\n return(<RadioButton.Group onValueChange={this.onPress.bind(this)} value={this.state.props.datafield === 'All Fields'? this.getItemKey(props.datavalue) : props.datavalue}>\n <View style={this.styles.group}>\n {items && items.length ?\n items.map((item: any, index: any) => this.renderChild(item, index, colWidth)): null}\n </View>\n </RadioButton.Group>)\n }\n\n renderWidget(props: WmRadiosetProps) {\n const items = this.state.dataItems;\n return (\n <View style={this.styles.root}>\n {props.groupby && this.renderGroupby()}\n {!props.groupby && this.renderRadioButtons(items)}\n </View>\n );\n }\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAwB,cAAc;AACzD,SAASC,WAAW,QAAQ,oBAAoB;AAEhD,OAAOC,eAAe,MAAM,kBAAkB;AAC9C,SAASC,aAAa,QAA0B,mBAAmB;AACnE,SACEC,oBAAoB,EACpBC,gBAAgB,QACX,8EAA8E;AAGrF,OAAO,MAAMC,eAAe,SAASD,gBAAgB,CAAkB;AAGvE,eAAe,MAAME,UAAU,SAASH,oBAAoB,CAAqD;EAE/GI,WAAWA,CAACC,KAAsB,EAAE;IAClC,KAAK,CAACA,KAAK,EAAEN,aAAa,EAAE,IAAID,eAAe,CAAC,CAAC,CAAC;EACpD;EAEAQ,OAAOA,CAACC,KAAU,EAAE;IAClB,IAAI,CAACC,mBAAmB,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,CAACC,KAAK,CAAC,CAAC;IACrD,IAAI,CAACC,aAAa,CAACH,KAAK,CAAC;EAC3B;EAEAI,WAAWA,CAACC,IAAS,EAAEC,KAAU,EAAEC,QAAwB,EAAE;IAC3D,MAAMC,WAAW,GAAGH,IAAI,CAACI,UAAU,IAAIJ,IAAI,CAACK,YAAY;IACxD,oBACEvB,KAAA,CAAAwB,aAAA,CAACvB,IAAI;MAACwB,KAAK,EAAE,CAAC,IAAI,CAACC,MAAM,CAACC,SAAS,EAAE;QAACC,KAAK,EAAER;MAAQ,CAAC,CAAE;MAACS,GAAG,EAAEX,IAAI,CAACW;IAAI,gBACnE7B,KAAA,CAAAwB,aAAA,CAACrB,WAAW,CAAC2B,OAAO,EAAAC,QAAA,KACd,IAAI,CAACC,YAAY,CAAC,EAAE,GAAGb,KAAK,CAAC;MACjCN,KAAK,EAAE,IAAI,CAACoB,KAAK,CAACtB,KAAK,CAACuB,SAAS,KAAK,YAAY,G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C,KAAK,CAAC,GAAG,GAAEJ,WAAW,CAAC,GAAG,GAAqB;IACrE,oBAAOnD,KAAA,CAAAwB,aAAA,CAACrB,WAAW,CAACqD,KAAK;MAACxC,aAAa,EAAE,IAAI,CAACJ,OAAO,CAAC6C,IAAI,CAAC,IAAI,CAAE;MAAC5C,KAAK,EAAE,IAAI,CAACoB,KAAK,CAACtB,KAAK,CAACuB,SAAS,KAAK,YAAY,GAAE,IAAI,CAACC,UAAU,CAACxB,KAAK,CAAC+C,SAAS,CAAC,GAAG/C,KAAK,CAAC+C;IAAU,gBACvK1D,KAAA,CAAAwB,aAAA,CAACvB,IAAI;MAACwB,KAAK,EAAE,IAAI,CAACC,MAAM,CAACiC;IAAM,GAC5BT,KAAK,IAAIA,KAAK,CAACN,MAAM,GACpBM,KAAK,CAACL,GAAG,CAAC,CAAC3B,IAAS,EAAEC,KAAU,KAAK,IAAI,CAACF,WAAW,CAACC,IAAI,EAAEC,KAAK,EAAEC,QAAQ,CAAC,CAAC,GAAE,IAC7E,CACW,CAAC;EACtB;EAEAwC,YAAYA,CAACjD,KAAsB,EAAE;IACnC,MAAMuC,KAAK,GAAG,IAAI,CAACjB,KAAK,CAAC4B,SAAS;IAClC,oBACI7D,KAAA,CAAAwB,aAAA,CAACvB,IAAI;MAACwB,KAAK,EAAE,IAAI,CAACC,MAAM,CAACW;IAAK,GAC3B1B,KAAK,CAACmD,OAAO,IAAI,IAAI,CAACpB,aAAa,CAAC,CAAC,EACrC,CAAC/B,KAAK,CAACmD,OAAO,IAAI,IAAI,CAACd,kBAAkB,CAACE,KAAK,CAC5C,CAAC;EAEb;AACF"}
@@ -0,0 +1,144 @@
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 { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
7
+ import WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';
8
+ import WmRatingProps from './rating.props';
9
+ import { DEFAULT_CLASS } from './rating.styles';
10
+ import { cloneDeep, isArray, isNumber, isString } from 'lodash-es';
11
+ export class WmRatingState extends BaseComponentState {
12
+ constructor() {
13
+ super(...arguments);
14
+ _defineProperty(this, "items", null);
15
+ _defineProperty(this, "caption", null);
16
+ _defineProperty(this, "selectedIndex", -1);
17
+ _defineProperty(this, "isDefault", false);
18
+ }
19
+ }
20
+ export default class WmRating extends BaseComponent {
21
+ constructor(props) {
22
+ super(props, DEFAULT_CLASS, new WmRatingProps());
23
+ }
24
+ get caption() {
25
+ return this.state.caption;
26
+ }
27
+ prepareItems(props) {
28
+ let items = [];
29
+ if (!props.dataset && props.maxvalue) {
30
+ items = Array.from(Array(+props.maxvalue).keys());
31
+ items = items.map(v => v + 1);
32
+ } else if (isString(props.dataset)) {
33
+ items = props.dataset.split(',');
34
+ } else {
35
+ items = props.dataset || [];
36
+ }
37
+ if (isArray(items) && items[0] !== Object(items[0])) {
38
+ items = items.map((v, i) => ({
39
+ key: i + 1,
40
+ value: v
41
+ }));
42
+ }
43
+ let selectedIndex = -1;
44
+ if (props.datavalue !== undefined && props.datavalue !== null) {
45
+ selectedIndex = items.findIndex((item, k) => item[props.datafield] == props.datavalue);
46
+ if (selectedIndex === -1 && isNumber(props.datavalue)) {
47
+ selectedIndex = props.datavalue;
48
+ }
49
+ }
50
+ let caption = '';
51
+ if (selectedIndex > -1 && props.showcaptions) {
52
+ const selectedItem = items[selectedIndex];
53
+ if (selectedItem) {
54
+ if (props.getDisplayExpression) {
55
+ caption = props.getDisplayExpression(selectedItem);
56
+ } else {
57
+ caption = selectedItem[props.displayfield];
58
+ }
59
+ } else {
60
+ caption = selectedIndex + 1;
61
+ }
62
+ }
63
+ this.updateState({
64
+ items: items,
65
+ selectedIndex: selectedIndex,
66
+ caption: caption
67
+ });
68
+ }
69
+ onPropertyChange(name, $new, $old) {
70
+ switch (name) {
71
+ case 'dataset':
72
+ case 'datafield':
73
+ case 'displayfield':
74
+ case 'maxvalue':
75
+ case 'datavalue':
76
+ this.prepareItems(this.state.props);
77
+ if (name === 'datavalue') {
78
+ const isDefault = this.state.isDefault;
79
+ if (isDefault) {
80
+ this.updateState({
81
+ isDefault: false
82
+ }, this.props.onFieldChange && this.props.onFieldChange.bind(this, 'datavalue', $new, $old, isDefault));
83
+ } else {
84
+ this.props.onFieldChange && this.props.onFieldChange('datavalue', $new, $old, isDefault);
85
+ }
86
+ }
87
+ break;
88
+ case 'readonly':
89
+ this.updateState({
90
+ props: {
91
+ disabled: $new
92
+ }
93
+ });
94
+ break;
95
+ }
96
+ }
97
+ changeValue(i) {
98
+ const props = this.state.props;
99
+ const oldValue = props.datavalue;
100
+ if (!props.readonly) {
101
+ let value = this.state.items[i] ? this.state.items[i][props.datafield || ''] : i;
102
+ this.updateState({
103
+ props: {
104
+ datavalue: value
105
+ }
106
+ }, () => {
107
+ !this.props.onFieldChange && value !== oldValue && this.invokeEventCallback('onChange', [undefined, this.proxy, value, oldValue]);
108
+ });
109
+ }
110
+ }
111
+ renderWidget(props) {
112
+ const maxValue = props.maxvalue ? +props.maxvalue : 5;
113
+ const arr = Array.from(Array(maxValue).keys());
114
+ let selectedIconStyles = this.styles.selectedIcon;
115
+ if (props.iconcolor) {
116
+ selectedIconStyles = cloneDeep(this.styles.selectedIcon);
117
+ selectedIconStyles.text.color = props.iconcolor;
118
+ }
119
+ return /*#__PURE__*/React.createElement(View, {
120
+ style: this.styles.root
121
+ }, this._background, arr.map((v, i) => this.state.selectedIndex > -1 && i <= this.state.selectedIndex ? /*#__PURE__*/React.createElement(WmIcon, {
122
+ id: this.getTestId('star' + i),
123
+ key: i,
124
+ iconclass: "wi wi-star",
125
+ iconsize: props.iconsize,
126
+ styles: selectedIconStyles,
127
+ onTap: () => {
128
+ this.changeValue(i);
129
+ }
130
+ }) : null), arr.map((v, i) => this.state.selectedIndex === -1 || i > this.state.selectedIndex ? /*#__PURE__*/React.createElement(WmIcon, {
131
+ id: this.getTestId('star' + i),
132
+ key: i,
133
+ iconclass: "wi wi-star-border",
134
+ iconsize: props.iconsize,
135
+ styles: this.styles.icon,
136
+ onTap: () => {
137
+ this.changeValue(i);
138
+ }
139
+ }) : null), !!props.showcaptions ? /*#__PURE__*/React.createElement(Text, {
140
+ style: this.styles.text
141
+ }, this.state.caption) : null);
142
+ }
143
+ }
144
+ //# sourceMappingURL=rating.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","Text","BaseComponent","BaseComponentState","WmIcon","WmRatingProps","DEFAULT_CLASS","cloneDeep","isArray","isNumber","isString","WmRatingState","constructor","arguments","_defineProperty","WmRating","props","caption","state","prepareItems","items","dataset","maxvalue","Array","from","keys","map","v","split","Object","i","key","value","selectedIndex","datavalue","undefined","findIndex","item","k","datafield","showcaptions","selectedItem","getDisplayExpression","displayfield","updateState","onPropertyChange","name","$new","$old","isDefault","onFieldChange","bind","disabled","changeValue","oldValue","readonly","invokeEventCallback","proxy","renderWidget","maxValue","arr","selectedIconStyles","styles","selectedIcon","iconcolor","text","color","createElement","style","root","_background","id","getTestId","iconclass","iconsize","onTap","icon"],"sources":["rating.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, Text } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\n\nimport WmRatingProps from './rating.props';\nimport { DEFAULT_CLASS, WmRatingStyles } from './rating.styles';\nimport { cloneDeep, isArray, isEmpty, isNumber, isString } from 'lodash-es';\n\nexport class WmRatingState extends BaseComponentState<WmRatingProps> {\n items: any[] = null as any;\n caption: any = null as any;\n selectedIndex = -1;\n isDefault = false;\n}\n\nexport default class WmRating extends BaseComponent<WmRatingProps, WmRatingState, WmRatingStyles> {\n\n constructor(props: WmRatingProps) {\n super(props, DEFAULT_CLASS, new WmRatingProps());\n }\n\n get caption() {\n return this.state.caption;\n }\n\n prepareItems(props: WmRatingProps) {\n let items: any[] = [];\n if (!props.dataset && props.maxvalue) {\n items = Array.from(Array(+props.maxvalue).keys());\n items = items.map(v => v + 1);\n } else if (isString(props.dataset)) {\n items = props.dataset.split(',');\n } else {\n items = props.dataset as any[] || [];\n }\n if (isArray(items) && items[0] !== Object(items[0])) {\n items = items.map((v, i) => ({\n key: i + 1,\n value: v\n }));\n }\n let selectedIndex = -1;\n if (props.datavalue !== undefined && props.datavalue !== null) {\n selectedIndex = items.findIndex((item: any, k) => item[props.datafield as string] == props.datavalue);\n if (selectedIndex === -1 && isNumber(props.datavalue)) {\n selectedIndex = props.datavalue;\n }\n }\n let caption: any = '';\n if (selectedIndex > -1 && props.showcaptions) {\n const selectedItem = items[selectedIndex];\n if (selectedItem) {\n if (props.getDisplayExpression) {\n caption = props.getDisplayExpression(selectedItem);\n } else {\n caption = selectedItem[props.displayfield as string];\n }\n } else {\n caption = selectedIndex + 1;\n }\n }\n this.updateState({\n items: items,\n selectedIndex: selectedIndex,\n caption: caption\n } as WmRatingState);\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch(name) {\n case 'dataset' :\n case 'datafield' :\n case 'displayfield' :\n case 'maxvalue':\n case 'datavalue' :\n this.prepareItems(this.state.props);\n if (name === 'datavalue') {\n const isDefault = this.state.isDefault;\n if (isDefault) {\n this.updateState({ isDefault: false } as WmRatingState, this.props.onFieldChange && this.props.onFieldChange.bind(this, 'datavalue', $new, $old, isDefault));\n } else {\n this.props.onFieldChange && this.props.onFieldChange('datavalue', $new, $old, isDefault);\n }\n }\n break;\n case 'readonly' :\n this.updateState({\n props: {\n disabled: $new\n }\n } as WmRatingState);\n break;\n }\n }\n\n changeValue(i: number) {\n const props = this.state.props;\n const oldValue = props.datavalue;\n if (!props.readonly) {\n let value = this.state.items[i] ? this.state.items[i][props.datafield || '']: i;\n this.updateState({\n props: {\n datavalue: value\n }\n } as WmRatingState, () => {\n !this.props.onFieldChange && value !== oldValue && this.invokeEventCallback('onChange', [undefined, this.proxy, value, oldValue]);\n });\n }\n }\n\n renderWidget(props: WmRatingProps) {\n const maxValue = props.maxvalue ? +props.maxvalue : 5;\n const arr = Array.from(Array(maxValue).keys());\n\n let selectedIconStyles = this.styles.selectedIcon;\n if (props.iconcolor) {\n selectedIconStyles = cloneDeep(this.styles.selectedIcon);\n selectedIconStyles.text.color = props.iconcolor;\n }\n return (\n <View style={this.styles.root}>\n {this._background}\n {arr.map((v, i) => (\n (this.state.selectedIndex > -1 && i <= this.state.selectedIndex) ? <WmIcon\n id={this.getTestId('star' + i)}\n key={i}\n iconclass=\"wi wi-star\"\n iconsize={props.iconsize}\n styles={selectedIconStyles}\n onTap={() => { this.changeValue(i)}}\n ></WmIcon> : null\n ))}\n {arr.map((v, i) => (\n (this.state.selectedIndex === -1 || i > this.state.selectedIndex) ? <WmIcon\n id={this.getTestId('star' + i)}\n key={i}\n iconclass=\"wi wi-star-border\"\n iconsize={props.iconsize}\n styles={this.styles.icon}\n onTap={() => { this.changeValue(i)}}\n ></WmIcon> : null\n ))}\n { !!props.showcaptions ? (<Text style={this.styles.text}>{this.state.caption}</Text>) : null }\n </View>);\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,MAAM,MAAM,gEAAgE;AAEnF,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,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,EAAED,kBAAmB;MAC3Bc,KAAK,EAAEA,CAAA,KAAM;QAAE,IAAI,CAACtB,WAAW,CAACvB,CAAC,CAAC;MAAA;IAAE,CAC7B,CAAC,GAAG,IACd,CAAC,EACD8B,GAAG,CAAClC,GAAG,CAAC,CAACC,CAAC,EAAEG,CAAC,KACX,IAAI,CAACZ,KAAK,CAACe,aAAa,KAAK,CAAC,CAAC,IAAIH,CAAC,GAAG,IAAI,CAACZ,KAAK,CAACe,aAAa,gBAAIlC,KAAA,CAAAoE,aAAA,CAAC/D,MAAM;MACzEmE,EAAE,EAAE,IAAI,CAACC,SAAS,CAAC,MAAM,GAAG1C,CAAC,CAAE;MAC/BC,GAAG,EAAED,CAAE;MACP2C,SAAS,EAAC,mBAAmB;MAC7BC,QAAQ,EAAE1D,KAAK,CAAC0D,QAAS;MACzBZ,MAAM,EAAE,IAAI,CAACA,MAAM,CAACc,IAAK;MACzBD,KAAK,EAAEA,CAAA,KAAM;QAAE,IAAI,CAACtB,WAAW,CAACvB,CAAC,CAAC;MAAA;IAAE,CAC7B,CAAC,GAAG,IACd,CAAC,EACA,CAAC,CAACd,KAAK,CAACwB,YAAY,gBAAIzC,KAAA,CAAAoE,aAAA,CAAClE,IAAI;MAACmE,KAAK,EAAE,IAAI,CAACN,MAAM,CAACG;IAAK,GAAE,IAAI,CAAC/C,KAAK,CAACD,OAAc,CAAC,GAAI,IACpF,CAAC;EACT;AACF"}
@@ -0,0 +1,185 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+ 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; }
3
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
4
+ 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); }
5
+ import React from 'react';
6
+ import { ScrollView, Text, View } from 'react-native';
7
+ import { find, isEmpty } from 'lodash';
8
+ import WmSelectProps from './select.props';
9
+ import { DEFAULT_CLASS } from './select.styles';
10
+ import { BaseDatasetComponent, BaseDatasetState } from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.component';
11
+ import WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';
12
+ import { ModalConsumer } from '@wavemaker/app-rn-runtime/core/modal.service';
13
+ import WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';
14
+ import { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
15
+ import ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';
16
+ export class WmSelectState extends BaseDatasetState {
17
+ constructor() {
18
+ super(...arguments);
19
+ _defineProperty(this, "modalOptions", {});
20
+ _defineProperty(this, "isOpened", false);
21
+ _defineProperty(this, "selectedValue", '');
22
+ }
23
+ }
24
+ export default class WmSelect extends BaseDatasetComponent {
25
+ constructor(props) {
26
+ super(props, DEFAULT_CLASS, new WmSelectProps(), new WmSelectState());
27
+ _defineProperty(this, "view", null);
28
+ _defineProperty(this, "widgetRef", null);
29
+ _defineProperty(this, "isDefaultValue", true);
30
+ _defineProperty(this, "showPopover", () => {
31
+ this.updateState({
32
+ isOpened: true
33
+ });
34
+ });
35
+ _defineProperty(this, "hide", () => {});
36
+ }
37
+ onPress(event) {
38
+ if (this.state.props.disabled) {
39
+ return;
40
+ }
41
+ if (!this.state.isOpened) {
42
+ this.showPopover();
43
+ }
44
+ this.invokeEventCallback('onFocus', [event, this.proxy]);
45
+ }
46
+ onPropertyChange(name, $new, $old) {
47
+ super.onPropertyChange(name, $new, $old);
48
+ switch (name) {
49
+ case 'datavalue':
50
+ if (isNaN($new) && isEmpty($new)) {
51
+ this.updateState({
52
+ props: {
53
+ displayValue: this.state.props.placeholder || ''
54
+ }
55
+ });
56
+ }
57
+ }
58
+ }
59
+ prepareModalOptions(content, styles, modalService) {
60
+ const o = this.state.modalOptions;
61
+ o.modalStyle = styles.modal;
62
+ o.contentStyle = {
63
+ ...styles.modalContent
64
+ };
65
+ o.content = content;
66
+ o.isModal = true;
67
+ o.centered = true;
68
+ o.onClose = () => {
69
+ this.hide = () => {};
70
+ if (this.isDefaultValue && this.state.props.displayValue === '') {
71
+ this.validate(this.state.props.displayValue);
72
+ this.props.triggerValidation && this.props.triggerValidation();
73
+ }
74
+ this.invokeEventCallback('onBlur', [{}, this.proxy]);
75
+ this.setState({
76
+ isOpened: false,
77
+ modalOptions: {}
78
+ });
79
+ };
80
+ this.hide = () => modalService.hideModal(this.state.modalOptions);
81
+ return o;
82
+ }
83
+ focus() {
84
+ var _this$widgetRef;
85
+ this === null || this === void 0 || (_this$widgetRef = this.widgetRef) === null || _this$widgetRef === void 0 ? void 0 : _this$widgetRef.focus();
86
+ }
87
+ renderSelect() {
88
+ const props = this.state.props;
89
+ return (
90
+ /*#__PURE__*/
91
+ /*
92
+ * onLayout function is required.
93
+ * https://github.com/naoufal/react-native-accordion/pull/19/files
94
+ */
95
+ React.createElement(View, {
96
+ style: [this.styles.root, this.state.isValid ? {} : this.styles.invalid, {
97
+ backgroundColor: props.disabled ? this.styles.disabledText.backgroundColor : this.styles.root.backgroundColor
98
+ }],
99
+ ref: ref => {
100
+ this.view = ref;
101
+ },
102
+ onLayout: () => {}
103
+ }, /*#__PURE__*/React.createElement(Text, _extends({
104
+ style: [this.styles.text, this.state.props.displayValue ? {} : {
105
+ color: this.styles.placeholderText.color
106
+ }],
107
+ ref: ref => {
108
+ this.widgetRef = ref;
109
+ }
110
+ }, this.getTestPropsForInput(), {
111
+ onPress: this.onPress.bind(this)
112
+ }), this.state.props.displayValue || props.placeholder || ' '), /*#__PURE__*/React.createElement(WmButton, {
113
+ styles: this.styles.arrowButton,
114
+ iconclass: 'wi wi-keyboard-arrow-down',
115
+ onTap: this.onPress.bind(this)
116
+ }))
117
+ );
118
+ }
119
+ isSelected(item) {
120
+ const val = this.state.props.datafield === 'All Fields' ? item.dataObject : item.datafield;
121
+ return this.state.props.datavalue === val;
122
+ }
123
+ onItemSelect(item, isPlaceholder) {
124
+ this.isDefaultValue = false;
125
+ this.onChange(isPlaceholder ? '' : this.state.props.datafield === 'All Fields' ? item.dataObject : item.datafield);
126
+ this.hide();
127
+ }
128
+ renderSelectItem(item, index, isPlaceholder, isLast) {
129
+ let selected = this.isSelected(item);
130
+ return /*#__PURE__*/React.createElement(Tappable, _extends({}, this.getTestPropsForAction(index + ''), {
131
+ onTap: this.onItemSelect.bind(this, item, isPlaceholder)
132
+ }), /*#__PURE__*/React.createElement(View, {
133
+ style: [this.styles.selectItem, isLast ? this.styles.lastSelectItem : null, selected ? this.styles.selectedItem : null]
134
+ }, /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForLabel(index + ''), {
135
+ style: [this.styles.selectItemText, {
136
+ color: isPlaceholder ? this.styles.placeholderText.color : selected ? this.styles.selectedItemText.color : this.styles.selectItemText.color
137
+ }]
138
+ }), isPlaceholder ? this.state.props.placeholder : item.displayexp || item.displayfield), /*#__PURE__*/React.createElement(WmIcon, {
139
+ id: this.getTestId('checkicon' + index),
140
+ iconclass: "wi wi-check",
141
+ styles: this.theme.mergeStyle(this.styles.checkIcon, {
142
+ root: {
143
+ opacity: !isPlaceholder && selected ? 1 : 0
144
+ }
145
+ })
146
+ })));
147
+ }
148
+ updateDefaultQueryModel() {
149
+ if (this.state.dataItems && this.state.dataItems.length && this.isDefaultValue) {
150
+ const selectedItem = find(this.state.dataItems, item => item.selected);
151
+ selectedItem && this.updateState({
152
+ props: {
153
+ displayValue: selectedItem.displayexp || selectedItem.displayfield || ''
154
+ }
155
+ });
156
+ }
157
+ }
158
+ componentDidMount() {
159
+ super.componentDidMount();
160
+ this.updateDefaultQueryModel();
161
+ }
162
+ onDataItemsUpdate() {
163
+ super.onDataItemsUpdate();
164
+ this.updateDefaultQueryModel();
165
+ }
166
+ renderWidget(props) {
167
+ return /*#__PURE__*/React.createElement(View, null, this.renderSelect(), this.state.isOpened ? /*#__PURE__*/React.createElement(ModalConsumer, null, modalService => {
168
+ const items = this.state.dataItems;
169
+ modalService.showModal(this.prepareModalOptions( /*#__PURE__*/React.createElement(ScrollView, {
170
+ style: {
171
+ width: '100%',
172
+ maxHeight: ThemeVariables.INSTANCE.maxModalHeight
173
+ },
174
+ contentContainerStyle: this.styles.dropDownContent
175
+ }, props.placeholder ? /*#__PURE__*/React.createElement(View, {
176
+ key: props.name + '_placeholder',
177
+ style: this.styles.placeholderText
178
+ }, this.renderSelectItem({}, 0, true, false)) : null, items && items.map((item, index) => /*#__PURE__*/React.createElement(View, {
179
+ key: item.key
180
+ }, this.renderSelectItem(item, index, false, index === items.length - 1)))), this.styles, modalService));
181
+ return null;
182
+ }) : null);
183
+ }
184
+ }
185
+ //# sourceMappingURL=select.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","ScrollView","Text","View","find","isEmpty","WmSelectProps","DEFAULT_CLASS","BaseDatasetComponent","BaseDatasetState","WmIcon","ModalConsumer","WmButton","Tappable","ThemeVariables","WmSelectState","constructor","arguments","_defineProperty","WmSelect","props","updateState","isOpened","onPress","event","state","disabled","showPopover","invokeEventCallback","proxy","onPropertyChange","name","$new","$old","isNaN","displayValue","placeholder","prepareModalOptions","content","styles","modalService","o","modalOptions","modalStyle","modal","contentStyle","modalContent","isModal","centered","onClose","hide","isDefaultValue","validate","triggerValidation","setState","hideModal","focus","_this$widgetRef","widgetRef","renderSelect","createElement","style","root","isValid","invalid","backgroundColor","disabledText","ref","view","onLayout","_extends","text","color","placeholderText","getTestPropsForInput","bind","arrowButton","iconclass","onTap","isSelected","item","val","datafield","dataObject","datavalue","onItemSelect","isPlaceholder","onChange","renderSelectItem","index","isLast","selected","getTestPropsForAction","selectItem","lastSelectItem","selectedItem","getTestPropsForLabel","selectItemText","selectedItemText","displayexp","displayfield","id","getTestId","theme","mergeStyle","checkIcon","opacity","updateDefaultQueryModel","dataItems","length","componentDidMount","onDataItemsUpdate","renderWidget","items","showModal","width","maxHeight","INSTANCE","maxModalHeight","contentContainerStyle","dropDownContent","key","map"],"sources":["select.component.tsx"],"sourcesContent":["import React from 'react';\nimport { ScrollView, Text, View } from 'react-native';\nimport { find, isEmpty } from 'lodash';\n\nimport WmSelectProps from './select.props';\nimport { DEFAULT_CLASS, WmSelectStyles } from './select.styles';\nimport {\n BaseDatasetComponent,\n BaseDatasetState\n} from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { ModalConsumer, ModalOptions, ModalService } from '@wavemaker/app-rn-runtime/core/modal.service';\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';\n\nexport class WmSelectState extends BaseDatasetState<WmSelectProps> {\n modalOptions = {} as ModalOptions;\n isOpened: boolean = false;\n selectedValue: any = '';\n}\n\nexport default class WmSelect extends BaseDatasetComponent<WmSelectProps, WmSelectState, WmSelectStyles> {\n constructor(props: WmSelectProps) {\n super(props, DEFAULT_CLASS, new WmSelectProps(), new WmSelectState());\n }\n view: View = null as any;\n public widgetRef: Text | null = null;\n private isDefaultValue: boolean = true;\n\n onPress(event: any) {\n if (this.state.props.disabled) {\n return;\n }\n if (!this.state.isOpened) {\n this.showPopover();\n }\n this.invokeEventCallback('onFocus', [event, this.proxy]);\n }\n\n onPropertyChange(name: string, $new: any, $old: any): void {\n super.onPropertyChange(name, $new, $old);\n switch(name) {\n case 'datavalue':\n if (isNaN($new) && isEmpty($new)) {\n this.updateState({\n props: {\n displayValue: this.state.props.placeholder || ''\n }\n } as WmSelectState);\n }\n }\n }\n\n prepareModalOptions(content: React.ReactNode, styles: WmSelectStyles, modalService: ModalService) {\n const o = this.state.modalOptions;\n o.modalStyle = styles.modal;\n o.contentStyle = {...styles.modalContent};\n o.content = content;\n o.isModal = true;\n o.centered = true;\n o.onClose = () => {\n this.hide = () => {};\n if (this.isDefaultValue && this.state.props.displayValue === '') {\n this.validate(this.state.props.displayValue);\n this.props.triggerValidation && this.props.triggerValidation();\n }\n this.invokeEventCallback('onBlur', [{}, this.proxy]);\n this.setState({ isOpened: false, modalOptions: {} as ModalOptions } as WmSelectState);\n };\n this.hide = () => modalService.hideModal(this.state.modalOptions);\n return o;\n }\n\n public showPopover = () => {\n this.updateState({ isOpened: true } as WmSelectState);\n };\n\n public hide = () => {};\n\n focus() {\n this?.widgetRef?.focus();\n }\n\n renderSelect() {\n const props = this.state.props;\n return (\n /*\n * onLayout function is required.\n * https://github.com/naoufal/react-native-accordion/pull/19/files\n */\n <View\n style={[this.styles.root, this.state.isValid ? {} : this.styles.invalid, { backgroundColor: props.disabled ? this.styles.disabledText.backgroundColor : this.styles.root.backgroundColor}]}\n ref={(ref) => {\n this.view = ref as View;\n }}\n onLayout={() => {}}>\n <Text\n style={[this.styles.text,\n this.state.props.displayValue ? {} : {color: this.styles.placeholderText.color}]}\n ref={(ref) => {\n this.widgetRef = ref;\n }}\n {...this.getTestPropsForInput()}\n onPress={this.onPress.bind(this)}>\n {this.state.props.displayValue || props.placeholder || ' '}\n </Text>\n <WmButton\n styles={this.styles.arrowButton}\n iconclass={'wi wi-keyboard-arrow-down'}\n onTap={this.onPress.bind(this)}\n />\n </View>\n );\n }\n\n isSelected(item: any) {\n const val = this.state.props.datafield === 'All Fields' ? item.dataObject : item.datafield;\n return this.state.props.datavalue === val;\n }\n\n onItemSelect(item: any, isPlaceholder?: boolean) {\n this.isDefaultValue = false;\n this.onChange(isPlaceholder ? '' : this.state.props.datafield === 'All Fields' ? item.dataObject : item.datafield);\n this.hide();\n }\n\n renderSelectItem(item: any, index: number, isPlaceholder: boolean, isLast: boolean) {\n let selected = this.isSelected(item);\n return (\n <Tappable {...this.getTestPropsForAction(index + '')} onTap={this.onItemSelect.bind(this, item, isPlaceholder)}>\n <View style={[this.styles.selectItem, isLast ? this.styles.lastSelectItem : null, selected ? this.styles.selectedItem : null ]}>\n <Text {...this.getTestPropsForLabel(index + '')} style={[this.styles.selectItemText, {color: isPlaceholder ? this.styles.placeholderText.color : selected ? this.styles.selectedItemText.color : this.styles.selectItemText.color}]}>\n {isPlaceholder ? this.state.props.placeholder : (item.displayexp || item.displayfield)}\n </Text>\n <WmIcon id={this.getTestId('checkicon' + index)} iconclass='wi wi-check' styles={this.theme.mergeStyle(this.styles.checkIcon, {\n root: {\n opacity: !isPlaceholder && selected ? 1 : 0\n }\n })}></WmIcon>\n </View>\n </Tappable>\n );\n }\n\n updateDefaultQueryModel() {\n if (this.state.dataItems && this.state.dataItems.length && this.isDefaultValue) {\n const selectedItem = find(this.state.dataItems, (item) => item.selected);\n selectedItem && this.updateState({\n props: {\n displayValue: selectedItem.displayexp || selectedItem.displayfield || ''\n }\n } as WmSelectState);\n }\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.updateDefaultQueryModel();\n }\n\n onDataItemsUpdate() {\n super.onDataItemsUpdate();\n this.updateDefaultQueryModel();\n }\n\n renderWidget(props: WmSelectProps) {\n return (\n <View>\n {this.renderSelect()}\n {this.state.isOpened ? (\n <ModalConsumer>\n {(modalService: ModalService) => {\n const items = this.state.dataItems;\n modalService.showModal(\n this.prepareModalOptions(\n <ScrollView style={{width: '100%', maxHeight: ThemeVariables.INSTANCE.maxModalHeight}} contentContainerStyle={this.styles.dropDownContent}>\n {props.placeholder ?\n <View key={props.name + '_placeholder'} style={this.styles.placeholderText}>\n {this.renderSelectItem({}, 0, true, false)}\n </View>\n : null}\n {items && items.map((item: any, index: number) => (\n <View key={item.key}>\n {this.renderSelectItem(item, index, false, index === items.length - 1)}\n </View>\n ))}\n </ScrollView>,\n this.styles,\n modalService\n )\n );\n return null;\n }}\n </ModalConsumer>\n ) : null}\n </View>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,IAAI,EAAEC,OAAO,QAAQ,QAAQ;AAEtC,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,SACEC,oBAAoB,EACpBC,gBAAgB,QACX,8EAA8E;AACrF,OAAOC,MAAM,MAAM,gEAAgE;AACnF,SAASC,aAAa,QAAoC,8CAA8C;AACxG,OAAOC,QAAQ,MAAM,oEAAoE;AACzF,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,OAAOC,cAAc,MAAM,kDAAkD;AAE7E,OAAO,MAAMC,aAAa,SAASN,gBAAgB,CAAgB;EAAAO,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,uBAClD,CAAC,CAAC;IAAAA,eAAA,mBACG,KAAK;IAAAA,eAAA,wBACJ,EAAE;EAAA;AACzB;AAEA,eAAe,MAAMC,QAAQ,SAASX,oBAAoB,CAA+C;EACvGQ,WAAWA,CAACI,KAAoB,EAAE;IAChC,KAAK,CAACA,KAAK,EAAEb,aAAa,EAAE,IAAID,aAAa,CAAC,CAAC,EAAE,IAAIS,aAAa,CAAC,CAAC,CAAC;IAACG,eAAA,eAE3D,IAAI;IAAAA,eAAA,oBACe,IAAI;IAAAA,eAAA,yBACF,IAAI;IAAAA,eAAA,sBA8CjB,MAAM;MACvB,IAAI,CAACG,WAAW,CAAC;QAAEC,QAAQ,EAAE;MAAK,CAAkB,CAAC;IACzD,CAAC;IAAAJ,eAAA,eAEa,MAAM,CAAC,CAAC;EArDtB;EAKAK,OAAOA,CAACC,KAAU,EAAE;IAClB,IAAI,IAAI,CAACC,KAAK,C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QACV6B,YAA0B,IAAK;MAC/B,MAAMyE,KAAK,GAAG,IAAI,CAACxF,KAAK,CAACmF,SAAS;MAClCpE,YAAY,CAAC0E,SAAS,CACpB,IAAI,CAAC7E,mBAAmB,eACtBrC,KAAA,CAAA4D,aAAA,CAAC3D,UAAU;QAAC4D,KAAK,EAAE;UAACsD,KAAK,EAAE,MAAM;UAAEC,SAAS,EAAEtG,cAAc,CAACuG,QAAQ,CAACC;QAAc,CAAE;QAACC,qBAAqB,EAAE,IAAI,CAAChF,MAAM,CAACiF;MAAgB,GACvIpG,KAAK,CAACgB,WAAW,gBAChBpC,KAAA,CAAA4D,aAAA,CAACzD,IAAI;QAACsH,GAAG,EAAErG,KAAK,CAACW,IAAI,GAAG,cAAe;QAAC8B,KAAK,EAAE,IAAI,CAACtB,MAAM,CAACkC;MAAgB,GACxE,IAAI,CAACe,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,CACrC,CAAC,GACL,IAAI,EACLyB,KAAK,IAAIA,KAAK,CAACS,GAAG,CAAC,CAAC1C,IAAS,EAAES,KAAa,kBAC3CzF,KAAA,CAAA4D,aAAA,CAACzD,IAAI;QAACsH,GAAG,EAAEzC,IAAI,CAACyC;MAAI,GACjB,IAAI,CAACjC,gBAAgB,CAACR,IAAI,EAAES,KAAK,EAAE,KAAK,EAAEA,KAAK,KAAKwB,KAAK,CAACJ,MAAM,GAAG,CAAC,CACjE,CACP,CACO,CAAC,EACb,IAAI,CAACtE,MAAM,EACXC,YACF,CACF,CAAC;MACD,OAAO,IAAI;IACb,CACa,CAAC,GACd,IACA,CAAC;EAEX;AACF"}
@@ -0,0 +1,101 @@
1
+ import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
2
+ import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
3
+ import { Platform } from 'react-native';
4
+ export const DEFAULT_CLASS = 'app-select';
5
+ BASE_THEME.registerStyle((themeVariables, addStyle) => {
6
+ const defaultStyles = defineStyles({
7
+ root: {
8
+ flexDirection: 'row',
9
+ padding: 12,
10
+ borderWidth: 1,
11
+ borderStyle: 'solid',
12
+ borderColor: themeVariables.inputBorderColor,
13
+ backgroundColor: themeVariables.inputBackgroundColor,
14
+ borderRadius: 6,
15
+ minWidth: 160,
16
+ alignItems: 'center'
17
+ },
18
+ invalid: {
19
+ borderBottomColor: themeVariables.inputInvalidBorderColor
20
+ },
21
+ text: {
22
+ fontSize: 16,
23
+ fontFamily: themeVariables.baseFont,
24
+ flex: 1,
25
+ color: themeVariables.inputTextColor
26
+ },
27
+ checkIcon: {
28
+ text: {
29
+ fontSize: 24,
30
+ color: themeVariables.primaryColor
31
+ }
32
+ },
33
+ disabledText: {
34
+ backgroundColor: themeVariables.inputDisabledBgColor
35
+ },
36
+ modal: {
37
+ backgroundColor: 'rgba(0, 0, 0, 0.3)',
38
+ height: '100%'
39
+ },
40
+ modalContent: {
41
+ backgroundColor: themeVariables.inputBackgroundColor,
42
+ borderRadius: 6,
43
+ position: 'absolute',
44
+ borderWidth: 1,
45
+ borderStyle: 'solid',
46
+ borderColor: themeVariables.inputBorderColor,
47
+ width: '90%'
48
+ },
49
+ selectItem: {
50
+ width: '100%',
51
+ paddingHorizontal: 16,
52
+ paddingVertical: 8,
53
+ borderBottomWidth: 1,
54
+ borderBottomStyle: 'solid',
55
+ borderBottomColor: themeVariables.selecttemBorderColor,
56
+ flexDirection: 'row',
57
+ alignItems: 'center'
58
+ },
59
+ lastSelectItem: {
60
+ borderBottomWidth: 0
61
+ },
62
+ selectItemText: {
63
+ fontSize: 16,
64
+ fontFamily: themeVariables.baseFont,
65
+ color: themeVariables.selectItemTextColor,
66
+ flex: 1
67
+ },
68
+ selectedItem: {},
69
+ selectedItemText: {},
70
+ placeholderText: {
71
+ color: themeVariables.inputPlaceholderColor
72
+ },
73
+ dropDownContent: {},
74
+ arrowButton: {
75
+ root: {
76
+ padding: 0,
77
+ minHeight: 0,
78
+ alignItems: 'center',
79
+ alignSelf: 'center',
80
+ justifyContent: 'center',
81
+ backgroundColor: 'transparent'
82
+ }
83
+ }
84
+ });
85
+ addStyle(DEFAULT_CLASS, '', defaultStyles);
86
+ addStyle(DEFAULT_CLASS + '-disabled', '', {
87
+ root: {
88
+ backgroundColor: themeVariables.inputDisabledBgColor
89
+ }
90
+ });
91
+ addStyle(DEFAULT_CLASS + '-rtl', '', Platform.OS == "web" ? {
92
+ text: {
93
+ textAlign: 'right'
94
+ }
95
+ } : {
96
+ text: {
97
+ textAlign: 'left'
98
+ }
99
+ });
100
+ });
101
+ //# sourceMappingURL=select.styles.js.map