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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1040) 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/audio/audio.component.js +245 -0
  12. package/components/basic/audio/audio.component.js.map +1 -0
  13. package/components/basic/button/button.component.js +53 -0
  14. package/components/basic/button/button.component.js.map +1 -0
  15. package/components/basic/button/button.styles.js +134 -0
  16. package/components/basic/button/button.styles.js.map +1 -0
  17. package/components/basic/buttongroup/buttongroup.styles.js +51 -0
  18. package/components/basic/buttongroup/buttongroup.styles.js.map +1 -0
  19. package/components/basic/icon/icon.component.js +196 -0
  20. package/components/basic/icon/icon.component.js.map +1 -0
  21. package/components/basic/label/label.component.js +122 -0
  22. package/components/basic/label/label.component.js.map +1 -0
  23. package/components/basic/label/label.styles.js +123 -0
  24. package/components/basic/label/label.styles.js.map +1 -0
  25. package/components/basic/message/message.component.js +76 -0
  26. package/components/basic/message/message.component.js.map +1 -0
  27. package/components/basic/picture/picture.component.js +189 -0
  28. package/components/basic/picture/picture.component.js.map +1 -0
  29. package/components/basic/progress-bar/progress-bar.component.js +38 -0
  30. package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
  31. package/components/basic/progress-bar/progress-bar.styles.js +29 -0
  32. package/components/basic/progress-bar/progress-bar.styles.js.map +1 -0
  33. package/components/basic/progress-circle/progress-circle.component.js +76 -0
  34. package/components/basic/progress-circle/progress-circle.component.js.map +1 -0
  35. package/components/basic/search/search.component.js +417 -0
  36. package/components/basic/search/search.component.js.map +1 -0
  37. package/components/basic/search/search.styles.js +172 -0
  38. package/components/basic/search/search.styles.js.map +1 -0
  39. package/components/basic/spinner/spinner.component.js +91 -0
  40. package/components/basic/spinner/spinner.component.js.map +1 -0
  41. package/components/basic/spinner/spinner.styles.js +40 -0
  42. package/components/basic/spinner/spinner.styles.js.map +1 -0
  43. package/components/basic/video/video.component.js +57 -0
  44. package/components/basic/video/video.component.js.map +1 -0
  45. package/components/container/accordion/accordion.component.js +145 -0
  46. package/components/container/accordion/accordion.component.js.map +1 -0
  47. package/components/container/accordion/accordionpane/accordionpane.component.js +75 -0
  48. package/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -0
  49. package/components/container/container.component.js +38 -0
  50. package/components/container/container.component.js.map +1 -0
  51. package/components/container/panel/collapsible-pane.component.js +26 -0
  52. package/components/container/panel/collapsible-pane.component.js.map +1 -0
  53. package/components/container/panel/panel.component.js +109 -0
  54. package/components/container/panel/panel.component.js.map +1 -0
  55. package/components/container/panel/panel.styles.js +105 -0
  56. package/components/container/panel/panel.styles.js.map +1 -0
  57. package/components/container/tabs/tabheader/tabheader.component.js +184 -0
  58. package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
  59. package/components/container/tabs/tabheader/tabheader.styles.js +68 -0
  60. package/components/container/tabs/tabheader/tabheader.styles.js.map +1 -0
  61. package/components/container/tabs/tabs.component.js +230 -0
  62. package/components/container/tabs/tabs.component.js.map +1 -0
  63. package/components/container/tile/tile.component.js +22 -0
  64. package/components/container/tile/tile.component.js.map +1 -0
  65. package/components/container/wizard/wizard.component.js +181 -0
  66. package/components/container/wizard/wizard.component.js.map +1 -0
  67. package/components/container/wizard/wizard.styles.js +194 -0
  68. package/components/container/wizard/wizard.styles.js.map +1 -0
  69. package/components/data/card/card.component.js +68 -0
  70. package/components/data/card/card.component.js.map +1 -0
  71. package/components/data/form/form-action/form-action.component.js +34 -0
  72. package/components/data/form/form-action/form-action.component.js.map +1 -0
  73. package/components/data/form/form-field/form-field.component.js +226 -0
  74. package/components/data/form/form-field/form-field.component.js.map +1 -0
  75. package/components/data/form/form.component.js +399 -0
  76. package/components/data/form/form.component.js.map +1 -0
  77. package/components/data/list/list-template/list-template.styles.js +26 -0
  78. package/components/data/list/list-template/list-template.styles.js.map +1 -0
  79. package/components/data/list/list.component.js +313 -0
  80. package/components/data/list/list.component.js.map +1 -0
  81. package/components/data/list/list.styles.js +129 -0
  82. package/components/data/list/list.styles.js.map +1 -0
  83. package/components/device/barcodescanner/barcodescanner.component.js +47 -0
  84. package/components/device/barcodescanner/barcodescanner.component.js.map +1 -0
  85. package/components/device/barcodescanner/barcodescanner.styles.js +31 -0
  86. package/components/device/barcodescanner/barcodescanner.styles.js.map +1 -0
  87. package/components/device/camera/camera.component.js +65 -0
  88. package/components/device/camera/camera.component.js.map +1 -0
  89. package/components/device/camera/camera.styles.js +31 -0
  90. package/components/device/camera/camera.styles.js.map +1 -0
  91. package/components/dialogs/alertdialog/alertdialog.component.js +67 -0
  92. package/components/dialogs/alertdialog/alertdialog.component.js.map +1 -0
  93. package/components/dialogs/alertdialog/alertdialog.styles.js +33 -0
  94. package/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -0
  95. package/components/dialogs/confirmdialog/confirmdialog.component.js +73 -0
  96. package/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -0
  97. package/components/dialogs/confirmdialog/confirmdialog.styles.js +58 -0
  98. package/components/dialogs/confirmdialog/confirmdialog.styles.js.map +1 -0
  99. package/components/dialogs/dialog/dialog.component.js +94 -0
  100. package/components/dialogs/dialog/dialog.component.js.map +1 -0
  101. package/components/dialogs/dialog/dialog.styles.js +70 -0
  102. package/components/dialogs/dialog/dialog.styles.js.map +1 -0
  103. package/components/input/calendar/calendar.component.js +139 -0
  104. package/components/input/calendar/calendar.component.js.map +1 -0
  105. package/components/input/calendar/calendar.styles.js +143 -0
  106. package/components/input/calendar/calendar.styles.js.map +1 -0
  107. package/components/input/calendar/views/month-view.js +195 -0
  108. package/components/input/calendar/views/month-view.js.map +1 -0
  109. package/components/input/checkbox/checkbox.component.js +95 -0
  110. package/components/input/checkbox/checkbox.component.js.map +1 -0
  111. package/components/input/checkboxset/checkboxset.component.js +92 -0
  112. package/components/input/checkboxset/checkboxset.component.js.map +1 -0
  113. package/components/input/chips/chips.component.js +270 -0
  114. package/components/input/chips/chips.component.js.map +1 -0
  115. package/components/input/chips/chips.styles.js +93 -0
  116. package/components/input/chips/chips.styles.js.map +1 -0
  117. package/components/input/currency/currency.component.js +70 -0
  118. package/components/input/currency/currency.component.js.map +1 -0
  119. package/components/input/currency/currency.styles.js +72 -0
  120. package/components/input/currency/currency.styles.js.map +1 -0
  121. package/components/input/epoch/base-datetime.component.js +274 -0
  122. package/components/input/epoch/base-datetime.component.js.map +1 -0
  123. package/components/input/fileupload/fileupload.component.js +56 -0
  124. package/components/input/fileupload/fileupload.component.js.map +1 -0
  125. package/components/input/number/number.component.js +52 -0
  126. package/components/input/number/number.component.js.map +1 -0
  127. package/components/input/number/number.styles.js +42 -0
  128. package/components/input/number/number.styles.js.map +1 -0
  129. package/components/input/radioset/radioset.component.js +61 -0
  130. package/components/input/radioset/radioset.component.js.map +1 -0
  131. package/components/input/rating/rating.component.js +144 -0
  132. package/components/input/rating/rating.component.js.map +1 -0
  133. package/components/input/select/select.component.js +184 -0
  134. package/components/input/select/select.component.js.map +1 -0
  135. package/components/input/select/select.styles.js +99 -0
  136. package/components/input/select/select.styles.js.map +1 -0
  137. package/components/input/slider/slider.component.js +148 -0
  138. package/components/input/slider/slider.component.js.map +1 -0
  139. package/components/input/slider/slider.styles.js +58 -0
  140. package/components/input/slider/slider.styles.js.map +1 -0
  141. package/components/input/switch/switch.component.js +73 -0
  142. package/components/input/switch/switch.component.js.map +1 -0
  143. package/components/input/switch/switch.styles.js +117 -0
  144. package/components/input/switch/switch.styles.js.map +1 -0
  145. package/components/input/text/text.component.js +47 -0
  146. package/components/input/text/text.component.js.map +1 -0
  147. package/components/input/text/text.styles.js +48 -0
  148. package/components/input/text/text.styles.js.map +1 -0
  149. package/components/input/textarea/textarea.component.js +48 -0
  150. package/components/input/textarea/textarea.component.js.map +1 -0
  151. package/components/input/toggle/toggle.component.js +95 -0
  152. package/components/input/toggle/toggle.component.js.map +1 -0
  153. package/components/input/toggle/toggle.styles.js +55 -0
  154. package/components/input/toggle/toggle.styles.js.map +1 -0
  155. package/components/navigation/appnavbar/appnavbar.component.js +57 -0
  156. package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
  157. package/components/navigation/appnavbar/appnavbar.styles.js +160 -0
  158. package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
  159. package/components/navigation/menu/menu.component.js +63 -0
  160. package/components/navigation/menu/menu.component.js.map +1 -0
  161. package/components/navigation/menu/menu.styles.js +71 -0
  162. package/components/navigation/menu/menu.styles.js.map +1 -0
  163. package/components/navigation/navbar/navbar.component.js +77 -0
  164. package/components/navigation/navbar/navbar.component.js.map +1 -0
  165. package/components/navigation/navitem/navitem.component.js +66 -0
  166. package/components/navigation/navitem/navitem.component.js.map +1 -0
  167. package/components/navigation/navitem/navitem.styles.js +80 -0
  168. package/components/navigation/navitem/navitem.styles.js.map +1 -0
  169. package/components/navigation/popover/popover.component.js +129 -0
  170. package/components/navigation/popover/popover.component.js.map +1 -0
  171. package/components/navigation/popover/popover.styles.js +75 -0
  172. package/components/navigation/popover/popover.styles.js.map +1 -0
  173. package/components/page/left-panel/left-panel.styles.js +18 -0
  174. package/components/page/left-panel/left-panel.styles.js.map +1 -0
  175. package/components/page/tabbar/tabbar.component.js +103 -0
  176. package/components/page/tabbar/tabbar.component.js.map +1 -0
  177. package/core/base.component.js +425 -0
  178. package/core/base.component.js.map +1 -0
  179. package/core/change.queue.js +26 -0
  180. package/core/change.queue.js.map +1 -0
  181. package/core/formatters.js +61 -0
  182. package/core/formatters.js.map +1 -0
  183. package/core/tappable.component.js +82 -0
  184. package/core/tappable.component.js.map +1 -0
  185. package/core/testid.provider.js +5 -0
  186. package/core/testid.provider.js.map +1 -0
  187. package/package.json +244 -0
  188. package/runtime/App.js +480 -0
  189. package/runtime/App.js.map +1 -0
  190. package/runtime/base-fragment.component.js +340 -0
  191. package/runtime/base-fragment.component.js.map +1 -0
  192. package/runtime/services/device/camera-service.js +349 -0
  193. package/runtime/services/device/camera-service.js.map +1 -0
  194. package/runtime/services/device/scan-service.js +136 -0
  195. package/runtime/services/device/scan-service.js.map +1 -0
  196. package/styles/fdfd.css +56 -0
  197. package/styles/theme.variables.js +403 -0
  198. package/styles/theme.variables.js.map +1 -0
  199. app-rn-runtime/components/advanced/carousel/carousel.component.js +0 -201
  200. app-rn-runtime/components/advanced/carousel/carousel.component.js.map +0 -1
  201. app-rn-runtime/components/advanced/login/login.component.js +0 -38
  202. app-rn-runtime/components/advanced/login/login.component.js.map +0 -1
  203. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js +0 -113
  204. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js.map +0 -1
  205. app-rn-runtime/components/advanced/webview/webview.component.js +0 -129
  206. app-rn-runtime/components/advanced/webview/webview.component.js.map +0 -1
  207. app-rn-runtime/components/basic/anchor/anchor.component.js +0 -69
  208. app-rn-runtime/components/basic/anchor/anchor.component.js.map +0 -1
  209. app-rn-runtime/components/basic/audio/audio.component.js +0 -240
  210. app-rn-runtime/components/basic/audio/audio.component.js.map +0 -1
  211. app-rn-runtime/components/basic/button/button.component.js +0 -52
  212. app-rn-runtime/components/basic/button/button.component.js.map +0 -1
  213. app-rn-runtime/components/basic/button/button.styles.js +0 -124
  214. app-rn-runtime/components/basic/button/button.styles.js.map +0 -1
  215. app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js +0 -50
  216. app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js.map +0 -1
  217. app-rn-runtime/components/basic/icon/icon.component.js +0 -195
  218. app-rn-runtime/components/basic/icon/icon.component.js.map +0 -1
  219. app-rn-runtime/components/basic/label/label.component.js +0 -65
  220. app-rn-runtime/components/basic/label/label.component.js.map +0 -1
  221. app-rn-runtime/components/basic/label/label.styles.js +0 -122
  222. app-rn-runtime/components/basic/label/label.styles.js.map +0 -1
  223. app-rn-runtime/components/basic/message/message.component.js +0 -73
  224. app-rn-runtime/components/basic/message/message.component.js.map +0 -1
  225. app-rn-runtime/components/basic/picture/picture.component.js +0 -187
  226. app-rn-runtime/components/basic/picture/picture.component.js.map +0 -1
  227. app-rn-runtime/components/basic/progress-bar/progress-bar.component.js +0 -36
  228. app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +0 -1
  229. app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js +0 -29
  230. app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js.map +0 -1
  231. app-rn-runtime/components/basic/progress-circle/progress-circle.component.js +0 -75
  232. app-rn-runtime/components/basic/progress-circle/progress-circle.component.js.map +0 -1
  233. app-rn-runtime/components/basic/search/search.component.js +0 -413
  234. app-rn-runtime/components/basic/search/search.component.js.map +0 -1
  235. app-rn-runtime/components/basic/search/search.styles.js +0 -171
  236. app-rn-runtime/components/basic/search/search.styles.js.map +0 -1
  237. app-rn-runtime/components/basic/spinner/spinner.component.js +0 -87
  238. app-rn-runtime/components/basic/spinner/spinner.component.js.map +0 -1
  239. app-rn-runtime/components/basic/spinner/spinner.styles.js +0 -39
  240. app-rn-runtime/components/basic/spinner/spinner.styles.js.map +0 -1
  241. app-rn-runtime/components/basic/video/video.component.js +0 -56
  242. app-rn-runtime/components/basic/video/video.component.js.map +0 -1
  243. app-rn-runtime/components/container/accordion/accordion.component.js +0 -142
  244. app-rn-runtime/components/container/accordion/accordion.component.js.map +0 -1
  245. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js +0 -94
  246. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js.map +0 -1
  247. app-rn-runtime/components/container/container.component.js +0 -37
  248. app-rn-runtime/components/container/container.component.js.map +0 -1
  249. app-rn-runtime/components/container/panel/panel.component.js +0 -127
  250. app-rn-runtime/components/container/panel/panel.component.js.map +0 -1
  251. app-rn-runtime/components/container/panel/panel.styles.js +0 -98
  252. app-rn-runtime/components/container/panel/panel.styles.js.map +0 -1
  253. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js +0 -182
  254. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +0 -1
  255. app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js +0 -64
  256. app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js.map +0 -1
  257. app-rn-runtime/components/container/tabs/tabs.component.js +0 -229
  258. app-rn-runtime/components/container/tabs/tabs.component.js.map +0 -1
  259. app-rn-runtime/components/container/tile/tile.component.js +0 -21
  260. app-rn-runtime/components/container/tile/tile.component.js.map +0 -1
  261. app-rn-runtime/components/container/wizard/wizard.component.js +0 -176
  262. app-rn-runtime/components/container/wizard/wizard.component.js.map +0 -1
  263. app-rn-runtime/components/container/wizard/wizard.styles.js +0 -183
  264. app-rn-runtime/components/container/wizard/wizard.styles.js.map +0 -1
  265. app-rn-runtime/components/data/card/card.component.js +0 -67
  266. app-rn-runtime/components/data/card/card.component.js.map +0 -1
  267. app-rn-runtime/components/data/form/form-action/form-action.component.js +0 -33
  268. app-rn-runtime/components/data/form/form-action/form-action.component.js.map +0 -1
  269. app-rn-runtime/components/data/form/form-field/form-field.component.js +0 -225
  270. app-rn-runtime/components/data/form/form-field/form-field.component.js.map +0 -1
  271. app-rn-runtime/components/data/form/form.component.js +0 -396
  272. app-rn-runtime/components/data/form/form.component.js.map +0 -1
  273. app-rn-runtime/components/data/list/list-template/list-template.styles.js +0 -22
  274. app-rn-runtime/components/data/list/list-template/list-template.styles.js.map +0 -1
  275. app-rn-runtime/components/data/list/list.component.js +0 -307
  276. app-rn-runtime/components/data/list/list.component.js.map +0 -1
  277. app-rn-runtime/components/data/list/list.styles.js +0 -122
  278. app-rn-runtime/components/data/list/list.styles.js.map +0 -1
  279. app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js +0 -46
  280. app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js.map +0 -1
  281. app-rn-runtime/components/device/barcodescanner/barcodescanner.styles.js +0 -30
  282. app-rn-runtime/components/device/barcodescanner/barcodescanner.styles.js.map +0 -1
  283. app-rn-runtime/components/device/camera/camera.component.js +0 -64
  284. app-rn-runtime/components/device/camera/camera.component.js.map +0 -1
  285. app-rn-runtime/components/device/camera/camera.styles.js +0 -30
  286. app-rn-runtime/components/device/camera/camera.styles.js.map +0 -1
  287. app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js +0 -64
  288. app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js.map +0 -1
  289. app-rn-runtime/components/dialogs/alertdialog/alertdialog.styles.js +0 -27
  290. app-rn-runtime/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -1
  291. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js +0 -69
  292. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -1
  293. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js +0 -58
  294. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -1
  295. app-rn-runtime/components/dialogs/dialog/dialog.component.js +0 -92
  296. app-rn-runtime/components/dialogs/dialog/dialog.component.js.map +0 -1
  297. app-rn-runtime/components/dialogs/dialog/dialog.styles.js +0 -61
  298. app-rn-runtime/components/dialogs/dialog/dialog.styles.js.map +0 -1
  299. app-rn-runtime/components/input/calendar/calendar.component.js +0 -135
  300. app-rn-runtime/components/input/calendar/calendar.component.js.map +0 -1
  301. app-rn-runtime/components/input/calendar/calendar.styles.js +0 -132
  302. app-rn-runtime/components/input/calendar/calendar.styles.js.map +0 -1
  303. app-rn-runtime/components/input/calendar/views/month-view.js +0 -191
  304. app-rn-runtime/components/input/calendar/views/month-view.js.map +0 -1
  305. app-rn-runtime/components/input/checkbox/checkbox.component.js +0 -95
  306. app-rn-runtime/components/input/checkbox/checkbox.component.js.map +0 -1
  307. app-rn-runtime/components/input/checkboxset/checkboxset.component.js +0 -91
  308. app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +0 -1
  309. app-rn-runtime/components/input/chips/chips.component.js +0 -266
  310. app-rn-runtime/components/input/chips/chips.component.js.map +0 -1
  311. app-rn-runtime/components/input/chips/chips.styles.js +0 -85
  312. app-rn-runtime/components/input/chips/chips.styles.js.map +0 -1
  313. app-rn-runtime/components/input/currency/currency.component.js +0 -70
  314. app-rn-runtime/components/input/currency/currency.component.js.map +0 -1
  315. app-rn-runtime/components/input/currency/currency.styles.js +0 -64
  316. app-rn-runtime/components/input/currency/currency.styles.js.map +0 -1
  317. app-rn-runtime/components/input/epoch/base-datetime.component.js +0 -272
  318. app-rn-runtime/components/input/epoch/base-datetime.component.js.map +0 -1
  319. app-rn-runtime/components/input/fileupload/fileupload.component.js +0 -55
  320. app-rn-runtime/components/input/fileupload/fileupload.component.js.map +0 -1
  321. app-rn-runtime/components/input/number/number.component.js +0 -52
  322. app-rn-runtime/components/input/number/number.component.js.map +0 -1
  323. app-rn-runtime/components/input/number/number.styles.js +0 -38
  324. app-rn-runtime/components/input/number/number.styles.js.map +0 -1
  325. app-rn-runtime/components/input/radioset/radioset.component.js +0 -60
  326. app-rn-runtime/components/input/radioset/radioset.component.js.map +0 -1
  327. app-rn-runtime/components/input/rating/rating.component.js +0 -142
  328. app-rn-runtime/components/input/rating/rating.component.js.map +0 -1
  329. app-rn-runtime/components/input/select/select.component.js +0 -181
  330. app-rn-runtime/components/input/select/select.component.js.map +0 -1
  331. app-rn-runtime/components/input/select/select.styles.js +0 -98
  332. app-rn-runtime/components/input/select/select.styles.js.map +0 -1
  333. app-rn-runtime/components/input/slider/slider.component.js +0 -77
  334. app-rn-runtime/components/input/slider/slider.component.js.map +0 -1
  335. app-rn-runtime/components/input/slider/slider.styles.js +0 -33
  336. app-rn-runtime/components/input/slider/slider.styles.js.map +0 -1
  337. app-rn-runtime/components/input/switch/switch.component.js +0 -71
  338. app-rn-runtime/components/input/switch/switch.component.js.map +0 -1
  339. app-rn-runtime/components/input/switch/switch.styles.js +0 -115
  340. app-rn-runtime/components/input/switch/switch.styles.js.map +0 -1
  341. app-rn-runtime/components/input/text/text.component.js +0 -47
  342. app-rn-runtime/components/input/text/text.component.js.map +0 -1
  343. app-rn-runtime/components/input/text/text.styles.js +0 -44
  344. app-rn-runtime/components/input/text/text.styles.js.map +0 -1
  345. app-rn-runtime/components/input/textarea/textarea.component.js +0 -48
  346. app-rn-runtime/components/input/textarea/textarea.component.js.map +0 -1
  347. app-rn-runtime/components/input/toggle/toggle.component.js +0 -94
  348. app-rn-runtime/components/input/toggle/toggle.component.js.map +0 -1
  349. app-rn-runtime/components/input/toggle/toggle.styles.js +0 -43
  350. app-rn-runtime/components/input/toggle/toggle.styles.js.map +0 -1
  351. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js +0 -52
  352. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +0 -1
  353. app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js +0 -160
  354. app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js.map +0 -1
  355. app-rn-runtime/components/navigation/menu/menu.component.js +0 -61
  356. app-rn-runtime/components/navigation/menu/menu.component.js.map +0 -1
  357. app-rn-runtime/components/navigation/menu/menu.styles.js +0 -67
  358. app-rn-runtime/components/navigation/menu/menu.styles.js.map +0 -1
  359. app-rn-runtime/components/navigation/navbar/navbar.component.js +0 -74
  360. app-rn-runtime/components/navigation/navbar/navbar.component.js.map +0 -1
  361. app-rn-runtime/components/navigation/navitem/navitem.component.js +0 -62
  362. app-rn-runtime/components/navigation/navitem/navitem.component.js.map +0 -1
  363. app-rn-runtime/components/navigation/navitem/navitem.styles.js +0 -76
  364. app-rn-runtime/components/navigation/navitem/navitem.styles.js.map +0 -1
  365. app-rn-runtime/components/navigation/popover/popover.component.js +0 -126
  366. app-rn-runtime/components/navigation/popover/popover.component.js.map +0 -1
  367. app-rn-runtime/components/navigation/popover/popover.styles.js +0 -69
  368. app-rn-runtime/components/navigation/popover/popover.styles.js.map +0 -1
  369. app-rn-runtime/components/page/left-panel/left-panel.styles.js +0 -13
  370. app-rn-runtime/components/page/left-panel/left-panel.styles.js.map +0 -1
  371. app-rn-runtime/components/page/tabbar/tabbar.component.js +0 -102
  372. app-rn-runtime/components/page/tabbar/tabbar.component.js.map +0 -1
  373. app-rn-runtime/core/base.component.js +0 -382
  374. app-rn-runtime/core/base.component.js.map +0 -1
  375. app-rn-runtime/core/formatters.js +0 -54
  376. app-rn-runtime/core/formatters.js.map +0 -1
  377. app-rn-runtime/core/tappable.component.js +0 -72
  378. app-rn-runtime/core/tappable.component.js.map +0 -1
  379. app-rn-runtime/package.json +0 -243
  380. app-rn-runtime/runtime/App.js +0 -465
  381. app-rn-runtime/runtime/App.js.map +0 -1
  382. app-rn-runtime/runtime/base-fragment.component.js +0 -330
  383. app-rn-runtime/runtime/base-fragment.component.js.map +0 -1
  384. app-rn-runtime/runtime/services/device/camera-service.js +0 -332
  385. app-rn-runtime/runtime/services/device/camera-service.js.map +0 -1
  386. app-rn-runtime/runtime/services/device/scan-service.js +0 -122
  387. app-rn-runtime/runtime/services/device/scan-service.js.map +0 -1
  388. app-rn-runtime/styles/theme.variables.js +0 -392
  389. app-rn-runtime/styles/theme.variables.js.map +0 -1
  390. {app-rn-runtime → package}/actions/base-action.js +0 -0
  391. {app-rn-runtime → package}/actions/base-action.js.map +0 -0
  392. {app-rn-runtime → package}/actions/index.js +0 -0
  393. {app-rn-runtime → package}/actions/index.js.map +0 -0
  394. {app-rn-runtime → package}/actions/login-action.js +0 -0
  395. {app-rn-runtime → package}/actions/login-action.js.map +0 -0
  396. {app-rn-runtime → package}/actions/logout-action.js +0 -0
  397. {app-rn-runtime → package}/actions/logout-action.js.map +0 -0
  398. {app-rn-runtime → package}/actions/navigation-action.js +0 -0
  399. {app-rn-runtime → package}/actions/navigation-action.js.map +0 -0
  400. {app-rn-runtime → package}/actions/notification-action.js +0 -0
  401. {app-rn-runtime → package}/actions/notification-action.js.map +0 -0
  402. {app-rn-runtime → package}/actions/timer-action.js +0 -0
  403. {app-rn-runtime → package}/actions/timer-action.js.map +0 -0
  404. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js +0 -0
  405. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js.map +0 -0
  406. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js +0 -0
  407. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js.map +0 -0
  408. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js +0 -0
  409. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +0 -0
  410. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js +0 -0
  411. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js.map +0 -0
  412. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js +0 -0
  413. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js.map +0 -0
  414. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js +0 -0
  415. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +0 -0
  416. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js +0 -0
  417. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js.map +0 -0
  418. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js +0 -0
  419. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js.map +0 -0
  420. {app-rn-runtime → package}/components/advanced/login/login.props.js +0 -0
  421. {app-rn-runtime → package}/components/advanced/login/login.props.js.map +0 -0
  422. {app-rn-runtime → package}/components/advanced/login/login.styles.js +0 -0
  423. {app-rn-runtime → package}/components/advanced/login/login.styles.js.map +0 -0
  424. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js +0 -0
  425. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js.map +0 -0
  426. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js +0 -0
  427. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +0 -0
  428. {app-rn-runtime → package}/components/advanced/webview/webview.props.js +0 -0
  429. {app-rn-runtime → package}/components/advanced/webview/webview.props.js.map +0 -0
  430. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js +0 -0
  431. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
  432. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js +0 -0
  433. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js.map +0 -0
  434. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js +0 -0
  435. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js.map +0 -0
  436. {app-rn-runtime → package}/components/basic/animatedview.component.js +0 -0
  437. {app-rn-runtime → package}/components/basic/animatedview.component.js.map +0 -0
  438. {app-rn-runtime → package}/components/basic/audio/audio.props.js +0 -0
  439. {app-rn-runtime → package}/components/basic/audio/audio.props.js.map +0 -0
  440. {app-rn-runtime → package}/components/basic/audio/audio.styles.js +0 -0
  441. {app-rn-runtime → package}/components/basic/audio/audio.styles.js.map +0 -0
  442. {app-rn-runtime → package}/components/basic/button/button.props.js +0 -0
  443. {app-rn-runtime → package}/components/basic/button/button.props.js.map +0 -0
  444. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js +0 -0
  445. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js.map +0 -0
  446. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js +0 -0
  447. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js.map +0 -0
  448. {app-rn-runtime → package}/components/basic/custom/custom.component.js +0 -0
  449. {app-rn-runtime → package}/components/basic/custom/custom.component.js.map +0 -0
  450. {app-rn-runtime → package}/components/basic/custom/custom.props.js +0 -0
  451. {app-rn-runtime → package}/components/basic/custom/custom.props.js.map +0 -0
  452. {app-rn-runtime → package}/components/basic/custom/custom.styles.js +0 -0
  453. {app-rn-runtime → package}/components/basic/custom/custom.styles.js.map +0 -0
  454. {app-rn-runtime → package}/components/basic/icon/icon.props.js +0 -0
  455. {app-rn-runtime → package}/components/basic/icon/icon.props.js.map +0 -0
  456. {app-rn-runtime → package}/components/basic/icon/icon.styles.js +0 -0
  457. {app-rn-runtime → package}/components/basic/icon/icon.styles.js.map +0 -0
  458. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +0 -0
  459. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +0 -0
  460. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
  461. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +0 -0
  462. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +0 -0
  463. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
  464. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js +0 -0
  465. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js.map +0 -0
  466. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.ttf +0 -0
  467. {app-rn-runtime → package}/components/basic/label/label.props.js +0 -0
  468. {app-rn-runtime → package}/components/basic/label/label.props.js.map +0 -0
  469. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js +0 -0
  470. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js.map +0 -0
  471. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js +0 -0
  472. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js.map +0 -0
  473. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js +0 -0
  474. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js.map +0 -0
  475. {app-rn-runtime → package}/components/basic/message/message.props.js +0 -0
  476. {app-rn-runtime → package}/components/basic/message/message.props.js.map +0 -0
  477. {app-rn-runtime → package}/components/basic/message/message.styles.js +0 -0
  478. {app-rn-runtime → package}/components/basic/message/message.styles.js.map +0 -0
  479. {app-rn-runtime → package}/components/basic/modal/modal.component.js +0 -0
  480. {app-rn-runtime → package}/components/basic/modal/modal.component.js.map +0 -0
  481. {app-rn-runtime → package}/components/basic/modal/modal.props.js +0 -0
  482. {app-rn-runtime → package}/components/basic/modal/modal.props.js.map +0 -0
  483. {app-rn-runtime → package}/components/basic/modal/modal.styles.js +0 -0
  484. {app-rn-runtime → package}/components/basic/modal/modal.styles.js.map +0 -0
  485. {app-rn-runtime → package}/components/basic/picture/picture.props.js +0 -0
  486. {app-rn-runtime → package}/components/basic/picture/picture.props.js.map +0 -0
  487. {app-rn-runtime → package}/components/basic/picture/picture.styles.js +0 -0
  488. {app-rn-runtime → package}/components/basic/picture/picture.styles.js.map +0 -0
  489. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js +0 -0
  490. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js.map +0 -0
  491. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js +0 -0
  492. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js.map +0 -0
  493. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js +0 -0
  494. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js.map +0 -0
  495. {app-rn-runtime → package}/components/basic/search/local-data-provider.js +0 -0
  496. {app-rn-runtime → package}/components/basic/search/local-data-provider.js.map +0 -0
  497. {app-rn-runtime → package}/components/basic/search/search.props.js +0 -0
  498. {app-rn-runtime → package}/components/basic/search/search.props.js.map +0 -0
  499. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js +0 -0
  500. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js.map +0 -0
  501. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js +0 -0
  502. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js.map +0 -0
  503. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js +0 -0
  504. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js.map +0 -0
  505. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js +0 -0
  506. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js.map +0 -0
  507. {app-rn-runtime → package}/components/basic/video/video.props.js +0 -0
  508. {app-rn-runtime → package}/components/basic/video/video.props.js.map +0 -0
  509. {app-rn-runtime → package}/components/basic/video/video.styles.js +0 -0
  510. {app-rn-runtime → package}/components/basic/video/video.styles.js.map +0 -0
  511. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js +0 -0
  512. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js.map +0 -0
  513. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js +0 -0
  514. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js.map +0 -0
  515. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js +0 -0
  516. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js.map +0 -0
  517. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js +0 -0
  518. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js.map +0 -0
  519. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js +0 -0
  520. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js.map +0 -0
  521. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js +0 -0
  522. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
  523. {app-rn-runtime → package}/components/chart/basechart.component.js +0 -0
  524. {app-rn-runtime → package}/components/chart/basechart.component.js.map +0 -0
  525. {app-rn-runtime → package}/components/chart/basechart.props.js +0 -0
  526. {app-rn-runtime → package}/components/chart/basechart.props.js.map +0 -0
  527. {app-rn-runtime → package}/components/chart/basechart.styles.js +0 -0
  528. {app-rn-runtime → package}/components/chart/basechart.styles.js.map +0 -0
  529. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js +0 -0
  530. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js.map +0 -0
  531. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js +0 -0
  532. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js.map +0 -0
  533. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js +0 -0
  534. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js.map +0 -0
  535. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js +0 -0
  536. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js.map +0 -0
  537. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js +0 -0
  538. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js.map +0 -0
  539. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js +0 -0
  540. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js.map +0 -0
  541. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js +0 -0
  542. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js.map +0 -0
  543. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js +0 -0
  544. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js.map +0 -0
  545. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js +0 -0
  546. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js.map +0 -0
  547. {app-rn-runtime → package}/components/chart/legend/legend.component.js +0 -0
  548. {app-rn-runtime → package}/components/chart/legend/legend.component.js.map +0 -0
  549. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js +0 -0
  550. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js.map +0 -0
  551. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js +0 -0
  552. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js.map +0 -0
  553. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
  554. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
  555. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js +0 -0
  556. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js.map +0 -0
  557. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js +0 -0
  558. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js.map +0 -0
  559. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js +0 -0
  560. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js.map +0 -0
  561. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js +0 -0
  562. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js.map +0 -0
  563. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js +0 -0
  564. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js.map +0 -0
  565. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js +0 -0
  566. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js.map +0 -0
  567. {app-rn-runtime → package}/components/chart/theme/chart.theme.js +0 -0
  568. {app-rn-runtime → package}/components/chart/theme/chart.theme.js.map +0 -0
  569. {app-rn-runtime → package}/components/container/accordion/accordion.props.js +0 -0
  570. {app-rn-runtime → package}/components/container/accordion/accordion.props.js.map +0 -0
  571. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js +0 -0
  572. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js.map +0 -0
  573. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js +0 -0
  574. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js.map +0 -0
  575. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js +0 -0
  576. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js.map +0 -0
  577. {app-rn-runtime → package}/components/container/container.props.js +0 -0
  578. {app-rn-runtime → package}/components/container/container.props.js.map +0 -0
  579. {app-rn-runtime → package}/components/container/container.styles.js +0 -0
  580. {app-rn-runtime → package}/components/container/container.styles.js.map +0 -0
  581. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
  582. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -0
  583. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -0
  584. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -0
  585. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
  586. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
  587. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js +0 -0
  588. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -0
  589. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js +0 -0
  590. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -0
  591. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
  592. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
  593. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js +0 -0
  594. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js.map +0 -0
  595. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js +0 -0
  596. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js.map +0 -0
  597. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
  598. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js.map +0 -0
  599. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js +0 -0
  600. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js.map +0 -0
  601. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js +0 -0
  602. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js.map +0 -0
  603. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
  604. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
  605. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -0
  606. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -0
  607. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -0
  608. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -0
  609. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
  610. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
  611. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js +0 -0
  612. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js.map +0 -0
  613. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js +0 -0
  614. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js.map +0 -0
  615. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js +0 -0
  616. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js.map +0 -0
  617. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js +0 -0
  618. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js.map +0 -0
  619. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js +0 -0
  620. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js.map +0 -0
  621. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js +0 -0
  622. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js.map +0 -0
  623. {app-rn-runtime → package}/components/container/panel/panel.props.js +0 -0
  624. {app-rn-runtime → package}/components/container/panel/panel.props.js.map +0 -0
  625. {app-rn-runtime → package}/components/container/partial-host.component.js +0 -0
  626. {app-rn-runtime → package}/components/container/partial-host.component.js.map +0 -0
  627. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js +0 -0
  628. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js.map +0 -0
  629. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js +0 -0
  630. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js.map +0 -0
  631. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js +0 -0
  632. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js.map +0 -0
  633. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
  634. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
  635. {app-rn-runtime → package}/components/container/tabs/tabs.props.js +0 -0
  636. {app-rn-runtime → package}/components/container/tabs/tabs.props.js.map +0 -0
  637. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js +0 -0
  638. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js.map +0 -0
  639. {app-rn-runtime → package}/components/container/tile/tile.props.js +0 -0
  640. {app-rn-runtime → package}/components/container/tile/tile.props.js.map +0 -0
  641. {app-rn-runtime → package}/components/container/tile/tile.styles.js +0 -0
  642. {app-rn-runtime → package}/components/container/tile/tile.styles.js.map +0 -0
  643. {app-rn-runtime → package}/components/container/wizard/wizard.props.js +0 -0
  644. {app-rn-runtime → package}/components/container/wizard/wizard.props.js.map +0 -0
  645. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js +0 -0
  646. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -0
  647. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js +0 -0
  648. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -0
  649. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js +0 -0
  650. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js.map +0 -0
  651. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js +0 -0
  652. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js.map +0 -0
  653. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js +0 -0
  654. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js.map +0 -0
  655. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js +0 -0
  656. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js.map +0 -0
  657. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js +0 -0
  658. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js.map +0 -0
  659. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js +0 -0
  660. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js.map +0 -0
  661. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js +0 -0
  662. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js.map +0 -0
  663. {app-rn-runtime → package}/components/data/card/card.props.js +0 -0
  664. {app-rn-runtime → package}/components/data/card/card.props.js.map +0 -0
  665. {app-rn-runtime → package}/components/data/card/card.styles.js +0 -0
  666. {app-rn-runtime → package}/components/data/card/card.styles.js.map +0 -0
  667. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js +0 -0
  668. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js.map +0 -0
  669. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js +0 -0
  670. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js.map +0 -0
  671. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js +0 -0
  672. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js.map +0 -0
  673. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js +0 -0
  674. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js.map +0 -0
  675. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js +0 -0
  676. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js.map +0 -0
  677. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js +0 -0
  678. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js.map +0 -0
  679. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js +0 -0
  680. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js.map +0 -0
  681. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js +0 -0
  682. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js.map +0 -0
  683. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js +0 -0
  684. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js.map +0 -0
  685. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js +0 -0
  686. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js.map +0 -0
  687. {app-rn-runtime → package}/components/data/form/form.props.js +0 -0
  688. {app-rn-runtime → package}/components/data/form/form.props.js.map +0 -0
  689. {app-rn-runtime → package}/components/data/form/form.styles.js +0 -0
  690. {app-rn-runtime → package}/components/data/form/form.styles.js.map +0 -0
  691. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js +0 -0
  692. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js.map +0 -0
  693. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js +0 -0
  694. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js.map +0 -0
  695. {app-rn-runtime → package}/components/data/list/list.props.js +0 -0
  696. {app-rn-runtime → package}/components/data/list/list.props.js.map +0 -0
  697. {app-rn-runtime → package}/components/data/liveform/liveform.component.js +0 -0
  698. {app-rn-runtime → package}/components/data/liveform/liveform.component.js.map +0 -0
  699. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js +0 -0
  700. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js.map +0 -0
  701. {app-rn-runtime → package}/components/device/camera/camera.props.js +0 -0
  702. {app-rn-runtime → package}/components/device/camera/camera.props.js.map +0 -0
  703. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js +0 -0
  704. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js.map +0 -0
  705. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js +0 -0
  706. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -0
  707. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js +0 -0
  708. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js.map +0 -0
  709. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js +0 -0
  710. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js.map +0 -0
  711. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js +0 -0
  712. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js.map +0 -0
  713. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js +0 -0
  714. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js.map +0 -0
  715. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js +0 -0
  716. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js.map +0 -0
  717. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js +0 -0
  718. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js.map +0 -0
  719. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js +0 -0
  720. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js.map +0 -0
  721. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js +0 -0
  722. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js.map +0 -0
  723. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js +0 -0
  724. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js.map +0 -0
  725. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js +0 -0
  726. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js.map +0 -0
  727. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js +0 -0
  728. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js.map +0 -0
  729. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js +0 -0
  730. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js.map +0 -0
  731. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js +0 -0
  732. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js.map +0 -0
  733. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js +0 -0
  734. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js.map +0 -0
  735. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js +0 -0
  736. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js.map +0 -0
  737. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js +0 -0
  738. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
  739. {app-rn-runtime → package}/components/input/calendar/calendar.props.js +0 -0
  740. {app-rn-runtime → package}/components/input/calendar/calendar.props.js.map +0 -0
  741. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js +0 -0
  742. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js.map +0 -0
  743. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js +0 -0
  744. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js.map +0 -0
  745. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js +0 -0
  746. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js.map +0 -0
  747. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js +0 -0
  748. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js.map +0 -0
  749. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js +0 -0
  750. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js.map +0 -0
  751. {app-rn-runtime → package}/components/input/chips/chips.props.js +0 -0
  752. {app-rn-runtime → package}/components/input/chips/chips.props.js.map +0 -0
  753. {app-rn-runtime → package}/components/input/composite/composite.component.js +0 -0
  754. {app-rn-runtime → package}/components/input/composite/composite.component.js.map +0 -0
  755. {app-rn-runtime → package}/components/input/composite/composite.props.js +0 -0
  756. {app-rn-runtime → package}/components/input/composite/composite.props.js.map +0 -0
  757. {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
  758. {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
  759. {app-rn-runtime → package}/components/input/currency/currency.props.js +0 -0
  760. {app-rn-runtime → package}/components/input/currency/currency.props.js.map +0 -0
  761. {app-rn-runtime → package}/components/input/epoch/date/date.component.js +0 -0
  762. {app-rn-runtime → package}/components/input/epoch/date/date.component.js.map +0 -0
  763. {app-rn-runtime → package}/components/input/epoch/date/date.props.js +0 -0
  764. {app-rn-runtime → package}/components/input/epoch/date/date.props.js.map +0 -0
  765. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js +0 -0
  766. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js.map +0 -0
  767. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js +0 -0
  768. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js.map +0 -0
  769. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js +0 -0
  770. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js.map +0 -0
  771. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js +0 -0
  772. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js.map +0 -0
  773. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js +0 -0
  774. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js.map +0 -0
  775. {app-rn-runtime → package}/components/input/epoch/time/time.component.js +0 -0
  776. {app-rn-runtime → package}/components/input/epoch/time/time.component.js.map +0 -0
  777. {app-rn-runtime → package}/components/input/epoch/time/time.props.js +0 -0
  778. {app-rn-runtime → package}/components/input/epoch/time/time.props.js.map +0 -0
  779. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js +0 -0
  780. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js.map +0 -0
  781. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js +0 -0
  782. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js.map +0 -0
  783. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js +0 -0
  784. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js.map +0 -0
  785. {app-rn-runtime → package}/components/input/number/number.props.js +0 -0
  786. {app-rn-runtime → package}/components/input/number/number.props.js.map +0 -0
  787. {app-rn-runtime → package}/components/input/radioset/radioset.props.js +0 -0
  788. {app-rn-runtime → package}/components/input/radioset/radioset.props.js.map +0 -0
  789. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js +0 -0
  790. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js.map +0 -0
  791. {app-rn-runtime → package}/components/input/rating/rating.props.js +0 -0
  792. {app-rn-runtime → package}/components/input/rating/rating.props.js.map +0 -0
  793. {app-rn-runtime → package}/components/input/rating/rating.styles.js +0 -0
  794. {app-rn-runtime → package}/components/input/rating/rating.styles.js.map +0 -0
  795. {app-rn-runtime → package}/components/input/select/select.props.js +0 -0
  796. {app-rn-runtime → package}/components/input/select/select.props.js.map +0 -0
  797. {app-rn-runtime → package}/components/input/slider/slider.props.js +0 -0
  798. {app-rn-runtime → package}/components/input/slider/slider.props.js.map +0 -0
  799. {app-rn-runtime → package}/components/input/switch/switch.props.js +0 -0
  800. {app-rn-runtime → package}/components/input/switch/switch.props.js.map +0 -0
  801. {app-rn-runtime → package}/components/input/text/text.props.js +0 -0
  802. {app-rn-runtime → package}/components/input/text/text.props.js.map +0 -0
  803. {app-rn-runtime → package}/components/input/textarea/textarea.props.js +0 -0
  804. {app-rn-runtime → package}/components/input/textarea/textarea.props.js.map +0 -0
  805. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js +0 -0
  806. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js.map +0 -0
  807. {app-rn-runtime → package}/components/input/toggle/toggle.props.js +0 -0
  808. {app-rn-runtime → package}/components/input/toggle/toggle.props.js.map +0 -0
  809. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js +0 -0
  810. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js.map +0 -0
  811. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js +0 -0
  812. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js.map +0 -0
  813. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js +0 -0
  814. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js.map +0 -0
  815. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js +0 -0
  816. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js.map +0 -0
  817. {app-rn-runtime → package}/components/navigation/menu/menu.props.js +0 -0
  818. {app-rn-runtime → package}/components/navigation/menu/menu.props.js.map +0 -0
  819. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js +0 -0
  820. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js.map +0 -0
  821. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js +0 -0
  822. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js.map +0 -0
  823. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js +0 -0
  824. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js.map +0 -0
  825. {app-rn-runtime → package}/components/navigation/popover/popover.props.js +0 -0
  826. {app-rn-runtime → package}/components/navigation/popover/popover.props.js.map +0 -0
  827. {app-rn-runtime → package}/components/page/content/content.component.js +0 -0
  828. {app-rn-runtime → package}/components/page/content/content.component.js.map +0 -0
  829. {app-rn-runtime → package}/components/page/content/content.props.js +0 -0
  830. {app-rn-runtime → package}/components/page/content/content.props.js.map +0 -0
  831. {app-rn-runtime → package}/components/page/content/content.styles.js +0 -0
  832. {app-rn-runtime → package}/components/page/content/content.styles.js.map +0 -0
  833. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js +0 -0
  834. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js.map +0 -0
  835. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js +0 -0
  836. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js.map +0 -0
  837. {app-rn-runtime → package}/components/page/page-content/page-content.component.js +0 -0
  838. {app-rn-runtime → package}/components/page/page-content/page-content.component.js.map +0 -0
  839. {app-rn-runtime → package}/components/page/page-content/page-content.props.js +0 -0
  840. {app-rn-runtime → package}/components/page/page-content/page-content.props.js.map +0 -0
  841. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js +0 -0
  842. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js.map +0 -0
  843. {app-rn-runtime → package}/components/page/page.component.js +0 -0
  844. {app-rn-runtime → package}/components/page/page.component.js.map +0 -0
  845. {app-rn-runtime → package}/components/page/page.props.js +0 -0
  846. {app-rn-runtime → package}/components/page/page.props.js.map +0 -0
  847. {app-rn-runtime → package}/components/page/page.styles.js +0 -0
  848. {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
  849. {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
  850. {app-rn-runtime → package}/components/page/partial/partial.component.js.map +0 -0
  851. {app-rn-runtime → package}/components/page/partial/partial.props.js +0 -0
  852. {app-rn-runtime → package}/components/page/partial/partial.props.js.map +0 -0
  853. {app-rn-runtime → package}/components/page/partial/partial.styles.js +0 -0
  854. {app-rn-runtime → package}/components/page/partial/partial.styles.js.map +0 -0
  855. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js +0 -0
  856. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js.map +0 -0
  857. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js +0 -0
  858. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js.map +0 -0
  859. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js +0 -0
  860. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js.map +0 -0
  861. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js +0 -0
  862. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js.map +0 -0
  863. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js +0 -0
  864. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js.map +0 -0
  865. {app-rn-runtime → package}/components/prefab/prefab-container.component.js +0 -0
  866. {app-rn-runtime → package}/components/prefab/prefab-container.component.js.map +0 -0
  867. {app-rn-runtime → package}/components/prefab/prefab-container.props.js +0 -0
  868. {app-rn-runtime → package}/components/prefab/prefab-container.props.js.map +0 -0
  869. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js +0 -0
  870. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js.map +0 -0
  871. {app-rn-runtime → package}/core/AppConfig.js +0 -0
  872. {app-rn-runtime → package}/core/AppConfig.js.map +0 -0
  873. {app-rn-runtime → package}/core/asset.provider.js +0 -0
  874. {app-rn-runtime → package}/core/asset.provider.js.map +0 -0
  875. {app-rn-runtime → package}/core/components/textinput.component.js +0 -0
  876. {app-rn-runtime → package}/core/components/textinput.component.js.map +0 -0
  877. {app-rn-runtime → package}/core/constants/currency-constants.js +0 -0
  878. {app-rn-runtime → package}/core/constants/currency-constants.js.map +0 -0
  879. {app-rn-runtime → package}/core/currency-constants.js +0 -0
  880. {app-rn-runtime → package}/core/currency-constants.js.map +0 -0
  881. {app-rn-runtime → package}/core/device/calendar-service.js +0 -0
  882. {app-rn-runtime → package}/core/device/calendar-service.js.map +0 -0
  883. {app-rn-runtime → package}/core/device/camera-service.js +0 -0
  884. {app-rn-runtime → package}/core/device/camera-service.js.map +0 -0
  885. {app-rn-runtime → package}/core/device/contacts-service.js +0 -0
  886. {app-rn-runtime → package}/core/device/contacts-service.js.map +0 -0
  887. {app-rn-runtime → package}/core/device/location-service.js +0 -0
  888. {app-rn-runtime → package}/core/device/location-service.js.map +0 -0
  889. {app-rn-runtime → package}/core/device/scan-service.js +0 -0
  890. {app-rn-runtime → package}/core/device/scan-service.js.map +0 -0
  891. {app-rn-runtime → package}/core/display.manager.js +0 -0
  892. {app-rn-runtime → package}/core/display.manager.js.map +0 -0
  893. {app-rn-runtime → package}/core/event-notifier.js +0 -0
  894. {app-rn-runtime → package}/core/event-notifier.js.map +0 -0
  895. {app-rn-runtime → package}/core/file-extension-types.js +0 -0
  896. {app-rn-runtime → package}/core/file-extension-types.js.map +0 -0
  897. {app-rn-runtime → package}/core/fixed-view.component.js +0 -0
  898. {app-rn-runtime → package}/core/fixed-view.component.js.map +0 -0
  899. {app-rn-runtime → package}/core/i18n.service.js +0 -0
  900. {app-rn-runtime → package}/core/i18n.service.js.map +0 -0
  901. {app-rn-runtime → package}/core/if.component.js +0 -0
  902. {app-rn-runtime → package}/core/if.component.js.map +0 -0
  903. {app-rn-runtime → package}/core/imageSizeEstimator.js +0 -0
  904. {app-rn-runtime → package}/core/imageSizeEstimator.js.map +0 -0
  905. {app-rn-runtime → package}/core/injector.js +0 -0
  906. {app-rn-runtime → package}/core/injector.js.map +0 -0
  907. {app-rn-runtime → package}/core/key.extractor.js +0 -0
  908. {app-rn-runtime → package}/core/key.extractor.js.map +0 -0
  909. {app-rn-runtime → package}/core/logger.js +0 -0
  910. {app-rn-runtime → package}/core/logger.js.map +0 -0
  911. {app-rn-runtime → package}/core/modal.service.js +0 -0
  912. {app-rn-runtime → package}/core/modal.service.js.map +0 -0
  913. {app-rn-runtime → package}/core/navigation.service.js +0 -0
  914. {app-rn-runtime → package}/core/navigation.service.js.map +0 -0
  915. {app-rn-runtime → package}/core/network.service.js +0 -0
  916. {app-rn-runtime → package}/core/network.service.js.map +0 -0
  917. {app-rn-runtime → package}/core/partial.service.js +0 -0
  918. {app-rn-runtime → package}/core/partial.service.js.map +0 -0
  919. {app-rn-runtime → package}/core/props.provider.js +0 -0
  920. {app-rn-runtime → package}/core/props.provider.js.map +0 -0
  921. {app-rn-runtime → package}/core/scroll-view.component.js +0 -0
  922. {app-rn-runtime → package}/core/scroll-view.component.js.map +0 -0
  923. {app-rn-runtime → package}/core/security.service.js +0 -0
  924. {app-rn-runtime → package}/core/security.service.js.map +0 -0
  925. {app-rn-runtime → package}/core/spinner.service.js +0 -0
  926. {app-rn-runtime → package}/core/spinner.service.js.map +0 -0
  927. {app-rn-runtime → package}/core/storage.service.js +0 -0
  928. {app-rn-runtime → package}/core/storage.service.js.map +0 -0
  929. {app-rn-runtime → package}/core/toast.service.js +0 -0
  930. {app-rn-runtime → package}/core/toast.service.js.map +0 -0
  931. {app-rn-runtime → package}/core/utils.js +0 -0
  932. {app-rn-runtime → package}/core/utils.js.map +0 -0
  933. {app-rn-runtime → package}/core/viewport.js +0 -0
  934. {app-rn-runtime → package}/core/viewport.js.map +0 -0
  935. {app-rn-runtime → package}/gestures/swipe.animation.js +0 -0
  936. {app-rn-runtime → package}/gestures/swipe.animation.js.map +0 -0
  937. {app-rn-runtime → package}/index.js +0 -0
  938. {app-rn-runtime → package}/index.js.map +0 -0
  939. {app-rn-runtime → package}/runtime/App.navigator.js +0 -0
  940. {app-rn-runtime → package}/runtime/App.navigator.js.map +0 -0
  941. {app-rn-runtime → package}/runtime/base-page.component.js +0 -0
  942. {app-rn-runtime → package}/runtime/base-page.component.js.map +0 -0
  943. {app-rn-runtime → package}/runtime/base-partial.component.js +0 -0
  944. {app-rn-runtime → package}/runtime/base-partial.component.js.map +0 -0
  945. {app-rn-runtime → package}/runtime/base-prefab.component.js +0 -0
  946. {app-rn-runtime → package}/runtime/base-prefab.component.js.map +0 -0
  947. {app-rn-runtime → package}/runtime/lib-patch.js +0 -0
  948. {app-rn-runtime → package}/runtime/lib-patch.js.map +0 -0
  949. {app-rn-runtime → package}/runtime/memo.component.js +0 -0
  950. {app-rn-runtime → package}/runtime/memo.component.js.map +0 -0
  951. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js +0 -0
  952. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js.map +0 -0
  953. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js +0 -0
  954. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js.map +0 -0
  955. {app-rn-runtime → package}/runtime/platform.api.js +0 -0
  956. {app-rn-runtime → package}/runtime/platform.api.js.map +0 -0
  957. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js +0 -0
  958. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js.map +0 -0
  959. {app-rn-runtime → package}/runtime/services/app-i18n.service.js +0 -0
  960. {app-rn-runtime → package}/runtime/services/app-i18n.service.js.map +0 -0
  961. {app-rn-runtime → package}/runtime/services/app-modal.service.js +0 -0
  962. {app-rn-runtime → package}/runtime/services/app-modal.service.js.map +0 -0
  963. {app-rn-runtime → package}/runtime/services/app-security.service.js +0 -0
  964. {app-rn-runtime → package}/runtime/services/app-security.service.js.map +0 -0
  965. {app-rn-runtime → package}/runtime/services/app-spinner.service.js +0 -0
  966. {app-rn-runtime → package}/runtime/services/app-spinner.service.js.map +0 -0
  967. {app-rn-runtime → package}/runtime/services/app-toast.service.js +0 -0
  968. {app-rn-runtime → package}/runtime/services/app-toast.service.js.map +0 -0
  969. {app-rn-runtime → package}/runtime/services/device/calendar-service.js +0 -0
  970. {app-rn-runtime → package}/runtime/services/device/calendar-service.js.map +0 -0
  971. {app-rn-runtime → package}/runtime/services/device/contacts-service.js +0 -0
  972. {app-rn-runtime → package}/runtime/services/device/contacts-service.js.map +0 -0
  973. {app-rn-runtime → package}/runtime/services/device/location-service.js +0 -0
  974. {app-rn-runtime → package}/runtime/services/device/location-service.js.map +0 -0
  975. {app-rn-runtime → package}/runtime/services/device/permissions.js +0 -0
  976. {app-rn-runtime → package}/runtime/services/device/permissions.js.map +0 -0
  977. {app-rn-runtime → package}/runtime/services/partial.service.js +0 -0
  978. {app-rn-runtime → package}/runtime/services/partial.service.js.map +0 -0
  979. {app-rn-runtime → package}/runtime/services/webprocess.service.js +0 -0
  980. {app-rn-runtime → package}/runtime/services/webprocess.service.js.map +0 -0
  981. {app-rn-runtime → package}/runtime/watcher.js +0 -0
  982. {app-rn-runtime → package}/runtime/watcher.js.map +0 -0
  983. {app-rn-runtime → package}/styles/MediaQueryList.js +0 -0
  984. {app-rn-runtime → package}/styles/MediaQueryList.js.map +0 -0
  985. {app-rn-runtime → package}/styles/background.component.js +0 -0
  986. {app-rn-runtime → package}/styles/background.component.js.map +0 -0
  987. {app-rn-runtime → package}/styles/style-prop.validator.js +0 -0
  988. {app-rn-runtime → package}/styles/style-prop.validator.js.map +0 -0
  989. {app-rn-runtime → package}/styles/style-props.js +0 -0
  990. {app-rn-runtime → package}/styles/style-props.js.map +0 -0
  991. {app-rn-runtime → package}/styles/theme.js +0 -0
  992. {app-rn-runtime → package}/styles/theme.js.map +0 -0
  993. {app-rn-runtime → package}/variables/base-variable.js +0 -0
  994. {app-rn-runtime → package}/variables/base-variable.js.map +0 -0
  995. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js +0 -0
  996. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js.map +0 -0
  997. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js +0 -0
  998. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js.map +0 -0
  999. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js +0 -0
  1000. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js.map +0 -0
  1001. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js +0 -0
  1002. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js.map +0 -0
  1003. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js +0 -0
  1004. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js.map +0 -0
  1005. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js +0 -0
  1006. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js.map +0 -0
  1007. {app-rn-runtime → package}/variables/device/device/app-info.operation.js +0 -0
  1008. {app-rn-runtime → package}/variables/device/device/app-info.operation.js.map +0 -0
  1009. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js +0 -0
  1010. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js.map +0 -0
  1011. {app-rn-runtime → package}/variables/device/device/device-info.operation.js +0 -0
  1012. {app-rn-runtime → package}/variables/device/device/device-info.operation.js.map +0 -0
  1013. {app-rn-runtime → package}/variables/device/device/network-info.operation.js +0 -0
  1014. {app-rn-runtime → package}/variables/device/device/network-info.operation.js.map +0 -0
  1015. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js +0 -0
  1016. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js.map +0 -0
  1017. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js +0 -0
  1018. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js.map +0 -0
  1019. {app-rn-runtime → package}/variables/device/operation.provider.js +0 -0
  1020. {app-rn-runtime → package}/variables/device/operation.provider.js.map +0 -0
  1021. {app-rn-runtime → package}/variables/device/scan/scan.operation.js +0 -0
  1022. {app-rn-runtime → package}/variables/device/scan/scan.operation.js.map +0 -0
  1023. {app-rn-runtime → package}/variables/device-variable.js +0 -0
  1024. {app-rn-runtime → package}/variables/device-variable.js.map +0 -0
  1025. {app-rn-runtime → package}/variables/http.service.js +0 -0
  1026. {app-rn-runtime → package}/variables/http.service.js.map +0 -0
  1027. {app-rn-runtime → package}/variables/live-variable.js +0 -0
  1028. {app-rn-runtime → package}/variables/live-variable.js.map +0 -0
  1029. {app-rn-runtime → package}/variables/model-variable.js +0 -0
  1030. {app-rn-runtime → package}/variables/model-variable.js.map +0 -0
  1031. {app-rn-runtime → package}/variables/service-variable.js +0 -0
  1032. {app-rn-runtime → package}/variables/service-variable.js.map +0 -0
  1033. {app-rn-runtime → package}/variables/utils/dataset-util.js +0 -0
  1034. {app-rn-runtime → package}/variables/utils/dataset-util.js.map +0 -0
  1035. {app-rn-runtime → package}/variables/utils/inflight-queue.js +0 -0
  1036. {app-rn-runtime → package}/variables/utils/inflight-queue.js.map +0 -0
  1037. {app-rn-runtime → package}/variables/utils/variable.constants.js +0 -0
  1038. {app-rn-runtime → package}/variables/utils/variable.constants.js.map +0 -0
  1039. {app-rn-runtime → package}/variables/utils/variable.utils.js +0 -0
  1040. {app-rn-runtime → package}/variables/utils/variable.utils.js.map +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","alignSelf","alignItems","borderRadius","borderWidth","borderStyle","borderColor","buttonGrpBorderColor","backgroundColor","buttonGrpBgColor","text","skeleton","width","height","borderTopWidth","borderBottomWidth","borderLeftWidth","borderRightWidth","flex","color","defaultColor9"],"sources":["buttongroup.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmButtonStyles } from '../button/button.styles';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmButtongroupStyles = BaseStyles & {\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-buttongroup';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmButtongroupStyles = defineStyles({\n root: {\n flexDirection: 'row',\n alignSelf: 'flex-start',\n alignItems: 'center',\n borderRadius: 100,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.buttonGrpBorderColor,\n backgroundColor: themeVariables.buttonGrpBgColor\n }, \n text: {},\n skeleton: {\n root : {\n width: '100%',\n height: 48,\n borderRadius: 4,\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as any as WmSkeletonStyles\n });\n\n\n addStyle('btn-group-child', '', {\n root: {\n borderTopWidth: 0,\n borderBottomWidth: 0,\n borderLeftWidth: 1,\n borderRightWidth: 0,\n borderRadius: 0,\n backgroundColor: 'transparent',\n flex: 1,\n borderColor: themeVariables.buttonGrpBorderColor,\n },\n text: {\n color: themeVariables.defaultColor9,\n }\n } as WmButtonStyles);\n addStyle('btn-group-first-child', '', {\n root: {\n borderLeftWidth: 0,\n borderRadius: 0,\n backgroundColor: 'transparent',\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as WmButtonStyles);\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAQxF,OAAO,MAAMC,aAAa,GAAG,iBAAiB;AAC9CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAAkC,GAAGL,YAAY,CAAC;IACpDM,IAAI,EAAE;MACJC,aAAa,EAAE,KAAK;MACpBC,SAAS,EAAE,YAAY;MACvBC,UAAU,EAAE,QAAQ;MACpBC,YAAY,EAAE,GAAG;MACjBC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAE,OAAO;MACpBC,WAAW,EAAEV,cAAc,CAACW,oBAAoB;MAChDC,eAAe,EAAEZ,cAAc,CAACa;IAClC,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,QAAQ,EAAE;MACRZ,IAAI,EAAG;QACLa,KAAK,EAAE,MAAM;QACbC,MAAM,EAAE,EAAE;QACVV,YAAY,EAAE,CAAC;QACfG,WAAW,EAAEV,cAAc,CAACW;MAC9B;IACF;EACJ,CAAC,CAAC;EAGFV,QAAQ,CAAC,iBAAiB,EAAE,EAAE,EAAE;IAC9BE,IAAI,EAAE;MACJe,cAAc,EAAE,CAAC;MACjBC,iBAAiB,EAAE,CAAC;MACpBC,eAAe,EAAE,CAAC;MAClBC,gBAAgB,EAAE,CAAC;MACnBd,YAAY,EAAE,CAAC;MACfK,eAAe,EAAE,aAAa;MAC9BU,IAAI,EAAE,CAAC;MACPZ,WAAW,EAAEV,cAAc,CAACW;IAC9B,CAAC;IACDG,IAAI,EAAE;MACJS,KAAK,EAAEvB,cAAc,CAACwB;IACxB;EACF,CAAmB,CAAC;EACpBvB,QAAQ,CAAC,uBAAuB,EAAE,EAAE,EAAE;IACpCE,IAAI,EAAE;MACJiB,eAAe,EAAE,CAAC;MAClBb,YAAY,EAAE,CAAC;MACfK,eAAe,EAAE,aAAa;MAC9BF,WAAW,EAAEV,cAAc,CAACW;IAC9B;EACF,CAAmB,CAAC;EACpBV,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC"}
@@ -0,0 +1,196 @@
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 { Animated, Easing, Text } from 'react-native';
7
+ import { FontAwesome } from '@expo/vector-icons';
8
+ import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
9
+ import WmIconProps from './icon.props';
10
+ import { DEFAULT_CLASS } from './icon.styles';
11
+ import WavIcon from './wavicon/wavicon.component';
12
+ import StreamlineLightIcon from './streamline-light-icon/streamline-light-icon.component';
13
+ import StreamlineRegularIcon from './streamline-regular-icon/streamline-regular-icon.component';
14
+ import { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
15
+ import { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';
16
+ import { createSkeleton } from '../skeleton/skeleton.component';
17
+ const ICON_SIZES = new Map([['fa-lg', 24], ['fa-2x', 36], ['fa-3x', 48], ['fa-4x', 60], ['fa-5x', 72]]);
18
+ const ICON_ROTATTION = new Map([['fa-rotate-90', '90deg'], ['fa-rotate-180', '180deg'], ['fa-rotate-270', '270deg']]);
19
+ export class WmIconState extends BaseComponentState {
20
+ constructor() {
21
+ super(...arguments);
22
+ _defineProperty(this, "iconDef", {});
23
+ }
24
+ }
25
+ export default class WmIcon extends BaseComponent {
26
+ constructor(props) {
27
+ super(props, DEFAULT_CLASS, new WmIconProps());
28
+ _defineProperty(this, "spinValue", new Animated.Value(0));
29
+ _defineProperty(this, "pulseValue", new Animated.Value(0));
30
+ _defineProperty(this, "stopAnimation", true);
31
+ }
32
+ getIconDef(iconClass) {
33
+ const iconDef = {
34
+ rotate: '0'
35
+ };
36
+ const splits = iconClass.split(' ');
37
+ iconDef.isFontAwesome = !!splits.find(v => v === 'fa');
38
+ iconDef.isStreamlineLightIcon = !!splits.find(v => v === 'wm-sl-l');
39
+ iconDef.isStreamlineRegularIcon = !!splits.find(v => v === 'wm-sl-r');
40
+ if (iconDef.isFontAwesome) {
41
+ var _splits$find;
42
+ iconDef.type = ((_splits$find = splits.find(v => v.startsWith('fa-'))) === null || _splits$find === void 0 ? void 0 : _splits$find.substring(3)) || '';
43
+ } else if (iconDef.isStreamlineLightIcon) {
44
+ var _splits$find2;
45
+ iconDef.type = ((_splits$find2 = splits.find(v => v.startsWith('sl-'))) === null || _splits$find2 === void 0 ? void 0 : _splits$find2.substring(3)) || '';
46
+ } else if (iconDef.isStreamlineRegularIcon) {
47
+ var _splits$find3;
48
+ iconDef.type = ((_splits$find3 = splits.find(v => v.startsWith('sl-'))) === null || _splits$find3 === void 0 ? void 0 : _splits$find3.substring(3)) || '';
49
+ } else {
50
+ var _splits$find4;
51
+ iconDef.isWavIcon = !iconDef.isFontAwesome && !!splits.find(v => v === 'wi');
52
+ iconDef.type = iconDef.isWavIcon && ((_splits$find4 = splits.find(v => v.startsWith('wi-'))) === null || _splits$find4 === void 0 ? void 0 : _splits$find4.substring(3)) || '';
53
+ }
54
+ if (iconClass.indexOf('fa-spin') >= 0) {
55
+ iconDef.animation = 'spin';
56
+ } else if (iconClass.indexOf('fa-pulse') >= 0) {
57
+ iconDef.animation = 'pulse';
58
+ }
59
+ iconDef.size = splits.map(v => ICON_SIZES.get(v)).find(v => !!v) || 12;
60
+ iconDef.rotate = splits.map(v => ICON_ROTATTION.get(v)).find(v => !!v) || '0deg';
61
+ return iconDef;
62
+ }
63
+ spin() {
64
+ if (this.stopAnimation) {
65
+ return;
66
+ }
67
+ this.spinValue.setValue(0);
68
+ Animated.timing(this.spinValue, {
69
+ toValue: 1,
70
+ duration: 1000,
71
+ easing: Easing.linear,
72
+ useNativeDriver: true
73
+ }).start(() => this.spin());
74
+ }
75
+ componentDidMount() {
76
+ super.componentDidMount();
77
+ this.spin();
78
+ }
79
+ componentWillUnmount() {
80
+ super.componentWillUnmount();
81
+ this.stopAnimation = true;
82
+ }
83
+ onPropertyChange(name, $new, $old) {
84
+ super.onPropertyChange(name, $new, $old);
85
+ switch (name) {
86
+ case 'iconclass':
87
+ $new && this.updateState({
88
+ iconDef: this.getIconDef($new)
89
+ });
90
+ break;
91
+ }
92
+ }
93
+ getCustomIcon(props, style) {
94
+ var _this$theme$getStyle;
95
+ const customIcon = this.theme.mergeStyle({}, ((_this$theme$getStyle = this.theme.getStyle((props === null || props === void 0 ? void 0 : props.iconclass) || '')) === null || _this$theme$getStyle === void 0 ? void 0 : _this$theme$getStyle.icon) || this.styles.icon);
96
+ const customIconContent = customIcon === null || customIcon === void 0 ? void 0 : customIcon.content;
97
+ if (customIconContent) {
98
+ delete customIcon.content;
99
+ return /*#__PURE__*/React.createElement(Text, {
100
+ style: [style, customIcon.fontFamily ? {
101
+ fontFamily: customIcon.fontFamily
102
+ } : null]
103
+ }, decodeURIComponent(customIconContent));
104
+ }
105
+ return null;
106
+ }
107
+ renderSkeleton(props) {
108
+ return createSkeleton(this.theme, this.styles.skeleton, {
109
+ ...this.styles.root,
110
+ width: this.props.skeletonwidth || this.props.iconsize || this.styles.root.width,
111
+ height: this.props.skeletonheight || this.props.iconsize || this.styles.root.height
112
+ });
113
+ }
114
+ renderIcon(props) {
115
+ const iconDef = this.state.iconDef;
116
+ if (!iconDef) {
117
+ return null;
118
+ }
119
+ let icon = null;
120
+ const style = [{
121
+ color: this.styles.root.color || this.styles.text.color
122
+ }, this.styles.icon, {
123
+ transform: [{
124
+ rotate: iconDef.rotate
125
+ }]
126
+ }];
127
+ const customIcon = this.getCustomIcon(props, style);
128
+ const iconSize = props.iconsize || this.styles.root.fontSize || this.styles.text.fontSize || iconDef.size;
129
+ if (props.show && iconDef && iconDef.isFontAwesome) {
130
+ //@ts-ignore type information is not matching
131
+ icon = /*#__PURE__*/React.createElement(FontAwesome, {
132
+ name: customIcon ? '' : iconDef.type,
133
+ style: style,
134
+ size: iconSize
135
+ }, customIcon);
136
+ } else if (props.show && iconDef) {
137
+ var _this$styles$icon;
138
+ let WMCustomIcon = WavIcon;
139
+ if (iconDef.isStreamlineLightIcon) {
140
+ WMCustomIcon = StreamlineLightIcon;
141
+ } else if (iconDef.isStreamlineRegularIcon) {
142
+ WMCustomIcon = StreamlineRegularIcon;
143
+ } else if (!iconDef.isWavIcon && !customIcon && !((_this$styles$icon = this.styles.icon) !== null && _this$styles$icon !== void 0 && _this$styles$icon.fontFamily)) {
144
+ return null;
145
+ }
146
+ //@ts-ignore type information is not matching
147
+ icon = WMCustomIcon ? /*#__PURE__*/React.createElement(WMCustomIcon, {
148
+ name: customIcon ? '' : iconDef.type,
149
+ style: style,
150
+ size: iconSize
151
+ }, customIcon) : null;
152
+ }
153
+ if (icon && iconDef.animation === 'spin') {
154
+ const rotate = this.spinValue.interpolate({
155
+ inputRange: [0, 1],
156
+ outputRange: ['0deg', '360deg']
157
+ });
158
+ const animation = {
159
+ transform: [{
160
+ rotate
161
+ }]
162
+ };
163
+ this.stopAnimation = false;
164
+ return /*#__PURE__*/React.createElement(Animated.View, {
165
+ style: animation
166
+ }, icon);
167
+ } else if (icon && iconDef.animation === 'pulse') {
168
+ const opacity = this.spinValue.interpolate({
169
+ inputRange: [0, 1],
170
+ outputRange: [0, 1]
171
+ });
172
+ const animation = {
173
+ opacity: opacity
174
+ };
175
+ this.stopAnimation = false;
176
+ return /*#__PURE__*/React.createElement(Animated.View, {
177
+ style: animation
178
+ }, icon);
179
+ } else {
180
+ this.stopAnimation = true;
181
+ }
182
+ return icon;
183
+ }
184
+ renderWidget(props) {
185
+ let icon = this.renderIcon(props);
186
+ return /*#__PURE__*/React.createElement(Tappable, _extends({
187
+ target: this
188
+ }, this.getTestPropsForAction()), /*#__PURE__*/React.createElement(Animatedview, {
189
+ entryanimation: props.animation,
190
+ style: this.styles.root
191
+ }, this._background, props.iconposition === 'left' && icon || null, props.caption && /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForLabel('caption'), {
192
+ style: this.styles.text
193
+ }), props.caption) || null, props.iconposition === 'right' && icon || null));
194
+ }
195
+ }
196
+ //# sourceMappingURL=icon.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Animated","Easing","Text","FontAwesome","BaseComponent","BaseComponentState","WmIconProps","DEFAULT_CLASS","WavIcon","StreamlineLightIcon","StreamlineRegularIcon","Tappable","Animatedview","createSkeleton","ICON_SIZES","Map","ICON_ROTATTION","WmIconState","constructor","arguments","_defineProperty","WmIcon","props","Value","getIconDef","iconClass","iconDef","rotate","splits","split","isFontAwesome","find","v","isStreamlineLightIcon","isStreamlineRegularIcon","_splits$find","type","startsWith","substring","_splits$find2","_splits$find3","_splits$find4","isWavIcon","indexOf","animation","size","map","get","spin","stopAnimation","spinValue","setValue","timing","toValue","duration","easing","linear","useNativeDriver","start","componentDidMount","componentWillUnmount","onPropertyChange","name","$new","$old","updateState","getCustomIcon","style","_this$theme$getStyle","customIcon","theme","mergeStyle","getStyle","iconclass","icon","styles","customIconContent","content","createElement","fontFamily","decodeURIComponent","renderSkeleton","skeleton","root","width","skeletonwidth","iconsize","height","skeletonheight","renderIcon","state","color","text","transform","iconSize","fontSize","show","_this$styles$icon","WMCustomIcon","interpolate","inputRange","outputRange","View","opacity","renderWidget","_extends","target","getTestPropsForAction","entryanimation","_background","iconposition","caption","getTestPropsForLabel"],"sources":["icon.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Animated, DimensionValue, Easing, Text } from 'react-native';\nimport { FontAwesome } from '@expo/vector-icons';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmIconProps from './icon.props';\nimport { DEFAULT_CLASS, WmIconStyles } from './icon.styles';\nimport WavIcon from './wavicon/wavicon.component';\nimport StreamlineLightIcon from './streamline-light-icon/streamline-light-icon.component';\nimport StreamlineRegularIcon from './streamline-regular-icon/streamline-regular-icon.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\ninterface IconDef {\n isFontAwesome: boolean;\n isWavIcon: boolean;\n isStreamlineLightIcon: boolean;\n isStreamlineRegularIcon: boolean;\n type: string;\n rotate: string;\n size: number;\n animation: string;\n}\n\nconst ICON_SIZES = new Map([\n ['fa-lg', 24],\n ['fa-2x', 36],\n ['fa-3x', 48],\n ['fa-4x', 60],\n ['fa-5x', 72]\n]);\n\nconst ICON_ROTATTION = new Map([\n ['fa-rotate-90', '90deg'],\n ['fa-rotate-180', '180deg'],\n ['fa-rotate-270', '270deg']\n]);\n\nexport class WmIconState extends BaseComponentState<WmIconProps> {\n public iconDef = {} as IconDef;\n}\n\nexport default class WmIcon extends BaseComponent<WmIconProps, WmIconState, WmIconStyles> {\n spinValue = new Animated.Value(0);\n pulseValue = new Animated.Value(0);\n public stopAnimation = true; \n\n constructor(props: WmIconProps) {\n super(props, DEFAULT_CLASS, new WmIconProps());\n }\n\n getIconDef(iconClass: string): IconDef {\n const iconDef = {\n rotate: '0'\n } as IconDef;\n const splits = iconClass.split(' ');\n iconDef.isFontAwesome = !!splits.find(v => v === 'fa');\n iconDef.isStreamlineLightIcon = !!splits.find(v => v === 'wm-sl-l');\n iconDef.isStreamlineRegularIcon = !!splits.find(v => v === 'wm-sl-r');\n if (iconDef.isFontAwesome) {\n iconDef.type = splits.find(v => v.startsWith('fa-'))?.substring(3) || '';\n } else if (iconDef.isStreamlineLightIcon) {\n iconDef.type = splits.find(v => v.startsWith('sl-'))?.substring(3) || '';\n } else if (iconDef.isStreamlineRegularIcon) {\n iconDef.type = splits.find(v => v.startsWith('sl-'))?.substring(3) || '';\n } else {\n iconDef.isWavIcon = !iconDef.isFontAwesome && !!splits.find(v => v === 'wi');\n iconDef.type = (iconDef.isWavIcon && splits.find(v => v.startsWith('wi-'))?.substring(3)) || '';\n }\n if (iconClass.indexOf('fa-spin') >= 0) {\n iconDef.animation = 'spin';\n } else if (iconClass.indexOf('fa-pulse') >= 0) {\n iconDef.animation = 'pulse';\n }\n iconDef.size = splits.map(v => ICON_SIZES.get(v)).find(v => !!v) || 12;\n iconDef.rotate = splits.map(v => ICON_ROTATTION.get(v)).find(v => !!v) || '0deg';\n return iconDef;\n }\n\n private spin () {\n if (this.stopAnimation) {\n return;\n }\n this.spinValue.setValue(0);\n Animated.timing(\n this.spinValue,\n {\n toValue: 1,\n duration: 1000,\n easing: Easing.linear,\n useNativeDriver: true\n }\n ).start(() => this.spin());\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.spin();\n }\n\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.stopAnimation = true;\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n super.onPropertyChange(name, $new, $old);\n switch(name) {\n case 'iconclass':\n $new && this.updateState({iconDef: this.getIconDef($new)} as WmIconState);\n break;\n }\n }\n\n private getCustomIcon(props: WmIconProps, style: any) {\n const customIcon = this.theme.mergeStyle({}, this.theme.getStyle(props?.iconclass || '')?.icon || this.styles.icon);\n const customIconContent = customIcon?.content;\n if (customIconContent) {\n delete customIcon.content;\n return (<Text\n style={[style, customIcon.fontFamily ? {fontFamily: customIcon.fontFamily}: null]}>\n {decodeURIComponent(customIconContent)}\n </Text>);\n }\n return null;\n }\n\n public renderSkeleton(props: WmIconProps) {\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.props.iconsize || this.styles.root.width) as DimensionValue,\n height: (this.props.skeletonheight || this.props.iconsize || this.styles.root.height) as DimensionValue\n });\n }\n\n renderIcon(props: WmIconProps) {\n const iconDef = this.state.iconDef;\n if (!iconDef) {\n return null;\n }\n let icon = null;\n const style = [{\n color: this.styles.root.color || this.styles.text.color\n }, this.styles.icon, {transform: [{rotate: iconDef.rotate}]}];\n const customIcon = this.getCustomIcon(props, style);\n const iconSize = props.iconsize || this.styles.root.fontSize || this.styles.text.fontSize || iconDef.size;\n if (props.show && iconDef && iconDef.isFontAwesome) {\n //@ts-ignore type information is not matching\n icon = (<FontAwesome name={customIcon ? '' : iconDef.type}\n style={style}\n size={iconSize}>\n {customIcon}\n </FontAwesome>);\n } else if (props.show && iconDef) {\n let WMCustomIcon = WavIcon as unknown;\n if (iconDef.isStreamlineLightIcon) {\n WMCustomIcon = StreamlineLightIcon;\n } else if (iconDef.isStreamlineRegularIcon) {\n WMCustomIcon = StreamlineRegularIcon;\n } else if (!iconDef.isWavIcon && !customIcon && !this.styles.icon?.fontFamily) {\n return null;\n }\n //@ts-ignore type information is not matching\n icon = WMCustomIcon ? (<WMCustomIcon name={customIcon ? '' : iconDef.type}\n style={style}\n size={iconSize}>\n {customIcon}\n </WMCustomIcon>) : null;\n }\n if (icon && iconDef.animation === 'spin') {\n const rotate = this.spinValue.interpolate({ inputRange: [0, 1], outputRange: ['0deg', '360deg']});\n const animation = { transform: [{ rotate }] };\n this.stopAnimation = false;\n return (<Animated.View style={animation}>{icon}</Animated.View>);\n } else if (icon && iconDef.animation === 'pulse') {\n const opacity = this.spinValue.interpolate({ inputRange: [0, 1], outputRange: [0, 1]});\n const animation = { opacity: opacity };\n this.stopAnimation = false;\n return (<Animated.View style={animation}>{icon}</Animated.View>);\n } else {\n this.stopAnimation = true;\n }\n return icon;\n }\n\n renderWidget(props: WmIconProps) {\n let icon = this.renderIcon(props);\n return (\n <Tappable target={this} {...this.getTestPropsForAction()}>\n <Animatedview entryanimation={props.animation} style={this.styles.root}>\n {this._background}\n {(props.iconposition === 'left' && icon) || null}\n {(props.caption && (<Text {...this.getTestPropsForLabel('caption')}style={this.styles.text}>{props.caption}</Text>)) || null}\n {(props.iconposition === 'right' && icon) || null}\n </Animatedview>\n </Tappable>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,EAAkBC,MAAM,EAAEC,IAAI,QAAQ,cAAc;AACrE,SAASC,WAAW,QAAQ,oBAAoB;AAChD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,WAAW,MAAM,cAAc;AACtC,SAASC,aAAa,QAAsB,eAAe;AAC3D,OAAOC,OAAO,MAAM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,CAACwF,YAAY,KAAK,MAAM,IAAIpC,IAAI,IAAK,IAAI,EAC9CpD,KAAK,CAACyF,OAAO,iBAAKhH,KAAA,CAAA+E,aAAA,CAAC5E,IAAI,EAAAuG,QAAA,KAAK,IAAI,CAACO,oBAAoB,CAAC,SAAS,CAAC;MAAC7C,KAAK,EAAE,IAAI,CAACQ,MAAM,CAACiB;IAAK,IAAEtE,KAAK,CAACyF,OAAc,CAAE,IAAK,IAAI,EAC1HzF,KAAK,CAACwF,YAAY,KAAK,OAAO,IAAIpC,IAAI,IAAK,IACjC,CACN,CAAC;EAEf;AACF"}
@@ -0,0 +1,122 @@
1
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
+ function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
+ import React from 'react';
5
+ import { Text, View } from 'react-native';
6
+ import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
7
+ import { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
8
+ import WmLabelProps from './label.props';
9
+ import { DEFAULT_CLASS } from './label.styles';
10
+ import { isNil, toString } from 'lodash-es';
11
+ import { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';
12
+ import { createSkeleton } from '../skeleton/skeleton.component';
13
+ import WmAnchor from '../anchor/anchor.component';
14
+ export class WmLabelState extends BaseComponentState {
15
+ constructor() {
16
+ super(...arguments);
17
+ _defineProperty(this, "parts", []);
18
+ }
19
+ }
20
+ export default class WmLabel extends BaseComponent {
21
+ constructor(props) {
22
+ super(props, DEFAULT_CLASS, new WmLabelProps(), new WmLabelState());
23
+ }
24
+ getAsterisk() {
25
+ return /*#__PURE__*/React.createElement(Text, {
26
+ style: this.styles.asterisk
27
+ }, "*");
28
+ }
29
+ onPropertyChange(name, $new, $old) {
30
+ super.onPropertyChange(name, $new, $old);
31
+ switch (name) {
32
+ case "caption":
33
+ this.updateState({
34
+ parts: this.parseCaption($new)
35
+ });
36
+ break;
37
+ }
38
+ }
39
+ getMultilineSkeleton(width, height) {
40
+ const styles = {
41
+ borderRadius: 4,
42
+ marginBottom: 10,
43
+ height: height
44
+ };
45
+ return createSkeleton(this.theme, this.styles.skeleton, {
46
+ ...styles,
47
+ width: width,
48
+ height: height
49
+ });
50
+ }
51
+ parseCaption(caption) {
52
+ if (!caption) {
53
+ return [];
54
+ }
55
+ caption += '';
56
+ const pattern = /\[([^\]]+)\]\((http.*?[^)])\)/g;
57
+ const linkRegex = /^(http|https):\/\/[^ "]+$/;
58
+ const captionSplit = caption.split(pattern);
59
+ let parts = [];
60
+ for (let i = 0; i < captionSplit.length; i++) {
61
+ const isLink = linkRegex.test(captionSplit[i]);
62
+ let part = {};
63
+ const isNextTextALink = linkRegex.test(captionSplit[i + 1]) || false;
64
+ if (isLink) {
65
+ part.text = captionSplit[i - 1] ?? '';
66
+ part.link = captionSplit[i];
67
+ } else {
68
+ part.text = isNextTextALink ? "" : captionSplit[i];
69
+ }
70
+ ;
71
+ if (part.text) {
72
+ parts.push(part);
73
+ }
74
+ }
75
+ return parts;
76
+ }
77
+ renderSkeleton(props) {
78
+ var _this$styles$root, _this$styles$root2;
79
+ const skeletonWidth = this.props.skeletonwidth || ((_this$styles$root = this.styles.root) === null || _this$styles$root === void 0 ? void 0 : _this$styles$root.width);
80
+ const skeletonHeight = this.props.skeletonheight || ((_this$styles$root2 = this.styles.root) === null || _this$styles$root2 === void 0 ? void 0 : _this$styles$root2.height) || this.styles.text.fontSize;
81
+ if (this.props.multilineskeleton) {
82
+ return /*#__PURE__*/React.createElement(View, {
83
+ style: {
84
+ width: skeletonWidth
85
+ }
86
+ }, this.getMultilineSkeleton('100%', skeletonHeight), this.getMultilineSkeleton('70%', skeletonHeight), this.getMultilineSkeleton('40%', skeletonHeight));
87
+ } else {
88
+ return createSkeleton(this.theme, this.styles.skeleton, {
89
+ ...this.styles.root,
90
+ width: skeletonWidth,
91
+ height: skeletonHeight
92
+ });
93
+ }
94
+ }
95
+ renderWidget(props) {
96
+ var _this$state$parts;
97
+ return !isNil(props.caption) ? /*#__PURE__*/React.createElement(Animatedview, {
98
+ entryanimation: props.animation,
99
+ style: this.styles.root
100
+ }, this._background, /*#__PURE__*/React.createElement(Tappable, {
101
+ target: this
102
+ }, /*#__PURE__*/React.createElement(Text, {
103
+ style: {
104
+ flex: 1,
105
+ flexWrap: "wrap"
106
+ }
107
+ }, (_this$state$parts = this.state.parts) === null || _this$state$parts === void 0 ? void 0 : _this$state$parts.map((part, index) => /*#__PURE__*/React.createElement(React.Fragment, {
108
+ key: `part_${index}`
109
+ }, part.link ? /*#__PURE__*/React.createElement(WmAnchor, {
110
+ styles: this.styles.link,
111
+ caption: part.text,
112
+ hyperlink: part.link
113
+ }) : /*#__PURE__*/React.createElement(Text, {
114
+ style: [this.styles.text, {
115
+ color: props.isValid === false ? 'red' : this.styles.text.color
116
+ }],
117
+ numberOfLines: props.wrap ? undefined : 1,
118
+ selectable: this.styles.text.userSelect === 'text'
119
+ }, toString(part.text), props.required && this.getAsterisk())))))) : null;
120
+ }
121
+ }
122
+ //# sourceMappingURL=label.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","Tappable","WmLabelProps","DEFAULT_CLASS","isNil","toString","Animatedview","createSkeleton","WmAnchor","WmLabelState","constructor","arguments","_defineProperty","WmLabel","props","getAsterisk","createElement","style","styles","asterisk","onPropertyChange","name","$new","$old","updateState","parts","parseCaption","getMultilineSkeleton","width","height","borderRadius","marginBottom","theme","skeleton","caption","pattern","linkRegex","captionSplit","split","i","length","isLink","test","part","isNextTextALink","text","link","push","renderSkeleton","_this$styles$root","_this$styles$root2","skeletonWidth","skeletonwidth","root","skeletonHeight","skeletonheight","fontSize","multilineskeleton","renderWidget","_this$state$parts","entryanimation","animation","_background","target","flex","flexWrap","state","map","index","Fragment","key","hyperlink","color","isValid","numberOfLines","wrap","undefined","selectable","userSelect","required"],"sources":["label.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Text, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\n\nimport WmLabelProps from './label.props';\nimport { DEFAULT_CLASS, WmLabelStyles } from './label.styles';\nimport { isNil, toString } from 'lodash-es';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\nimport { totalMonths } from 'react-native-paper-dates/lib/typescript/Date/dateUtils';\nimport WmAnchor from '../anchor/anchor.component';\n\ntype PartType = {\n text?: string,\n link?: string,\n};\n\nexport class WmLabelState extends BaseComponentState<WmLabelProps> {\n parts: PartType[] = []\n}\n\nexport default class WmLabel extends BaseComponent<WmLabelProps, WmLabelState, WmLabelStyles> {\n\n constructor(props: WmLabelProps) {\n super(props, DEFAULT_CLASS, new WmLabelProps(), new WmLabelState());\n }\n\n private getAsterisk () {\n return <Text style={this.styles.asterisk}>*</Text>;\n }\n\n public onPropertyChange(name: string, $new: any, $old: any): void {\n super.onPropertyChange(name, $new, $old);\n\n switch(name) {\n case \"caption\":\n this.updateState({\n parts: this.parseCaption($new)\n } as WmLabelState);\n break;\n }\n }\n private getMultilineSkeleton(width: any, height: any) {\n const styles = {\n borderRadius:4,\n marginBottom: 10,\n height: height\n };\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...styles,\n width: width,\n height: height\n });\n }\n\n parseCaption(caption: string) {\n if (!caption) {\n return [];\n }\n caption += '';\n const pattern = /\\[([^\\]]+)\\]\\((http.*?[^)])\\)/g;\n const linkRegex = /^(http|https):\\/\\/[^ \"]+$/;\n const captionSplit = caption.split(pattern);\n\n let parts = [];\n\n for (let i = 0; i < captionSplit.length; i++) {\n const isLink = linkRegex.test(captionSplit[i]);\n let part: PartType = {};\n \n const isNextTextALink = linkRegex.test(captionSplit[i + 1]) || false;\n if (isLink) {\n part.text = captionSplit[i - 1] ?? '';\n part.link = captionSplit[i];\n } else {\n part.text = isNextTextALink ? \"\" : captionSplit[i];\n };\n\n if (part.text) {\n parts.push(part);\n }\n }\n\n return parts;\n }\n\n public renderSkeleton(props: WmLabelProps){\n const skeletonWidth = this.props.skeletonwidth || this.styles.root?.width;\n const skeletonHeight = this.props.skeletonheight || this.styles.root?.height || this.styles.text.fontSize;\n if(this.props.multilineskeleton) {\n return (<View style={{\n width: skeletonWidth as DimensionValue\n }}>\n {this.getMultilineSkeleton('100%', skeletonHeight)}\n {this.getMultilineSkeleton('70%', skeletonHeight)}\n {this.getMultilineSkeleton('40%', skeletonHeight)}\n </View>)\n }\n else{\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: skeletonWidth as DimensionValue,\n height: skeletonHeight as DimensionValue\n }); \n }\n }\n\n renderWidget(props: WmLabelProps) {\n return !isNil(props.caption) ? (\n <Animatedview entryanimation={props.animation} style={this.styles.root}>\n {this._background}\n <Tappable target={this}>\n <Text style={{flex: 1, flexWrap: \"wrap\"}}>\n {this.state.parts?.map((part, index) => (\n <React.Fragment key={`part_${index}`}>\n {part.link ? (\n <WmAnchor styles={this.styles.link} caption={part.text} hyperlink={part.link} />\n ) : (\n <Text\n style={[\n this.styles.text,\n {\n color:\n props.isValid === false\n ? 'red'\n : this.styles.text.color,\n },\n ]}\n numberOfLines={props.wrap ? undefined : 1}\n selectable={this.styles.text.userSelect === 'text'}\n >\n {toString(part.text)}\n {props.required && this.getAsterisk()}\n </Text>\n )}\n </React.Fragment>\n ))}\n </Text>\n </Tappable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CAAC,GACb,IAAI;EACV;AACF"}
@@ -0,0 +1,123 @@
1
+ import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
2
+ import { deepCopy } from '@wavemaker/app-rn-runtime/core/utils';
3
+ import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
4
+ export const DEFAULT_CLASS = 'app-label';
5
+ BASE_THEME.registerStyle((themeVariables, addStyle) => {
6
+ const defaultStyles = defineStyles({
7
+ root: {},
8
+ text: {
9
+ fontSize: 16,
10
+ color: themeVariables.labelDefaultColor
11
+ },
12
+ asterisk: {
13
+ color: themeVariables.labelAsteriskColor,
14
+ marginLeft: 2
15
+ },
16
+ skeleton: {
17
+ root: {
18
+ width: '100%',
19
+ height: 16,
20
+ borderRadius: 4
21
+ }
22
+ },
23
+ link: {}
24
+ });
25
+ addStyle(DEFAULT_CLASS, '', defaultStyles);
26
+ addStyle(DEFAULT_CLASS + '-rtl', '', {
27
+ root: {
28
+ flexDirection: 'row',
29
+ textAlign: 'right'
30
+ }
31
+ });
32
+ const getLabelStyles = (color, textColor) => {
33
+ return {
34
+ root: {
35
+ backgroundColor: color,
36
+ paddingLeft: 32,
37
+ paddingTop: 16,
38
+ paddingRight: 32,
39
+ paddingBottom: 16,
40
+ borderRadius: 6
41
+ },
42
+ text: {
43
+ color: textColor,
44
+ fontWeight: 'bold'
45
+ }
46
+ };
47
+ };
48
+ addStyle('label-danger', '', getLabelStyles(themeVariables.labelDangerColor, themeVariables.labelDangerContrastColor));
49
+ addStyle('label-default', '', getLabelStyles(themeVariables.labelDefaultColor, themeVariables.labelDefaultContrastColor));
50
+ addStyle('label-info', '', getLabelStyles(themeVariables.labelInfoColor, themeVariables.labelInfoContrastColor));
51
+ addStyle('label-primary', '', getLabelStyles(themeVariables.labelPrimaryColor, themeVariables.labelPrimaryContrastColor));
52
+ addStyle('label-success', '', getLabelStyles(themeVariables.labelSuccessColor, themeVariables.labelSuccessContrastColor));
53
+ addStyle('label-warning', '', getLabelStyles(themeVariables.labelWarningColor, themeVariables.labelWarningContrastColor));
54
+ addStyle('label-test', '', getLabelStyles('yellow', 'red'));
55
+ addStyle('label-test1', '', getLabelStyles('blue', 'orange'));
56
+ const getTextStyles = color => {
57
+ return {
58
+ text: {
59
+ color: color
60
+ }
61
+ };
62
+ };
63
+ addStyle('text-danger', '', getTextStyles(themeVariables.labelTextDangerColor));
64
+ addStyle('text-info', '', getTextStyles(themeVariables.labelTextInfoColor));
65
+ addStyle('text-primary', '', getTextStyles(themeVariables.labelTextPrimaryColor));
66
+ addStyle('text-success', '', getTextStyles(themeVariables.labelTextSuccessColor));
67
+ addStyle('text-warning', '', getTextStyles(themeVariables.labelTextWarningColor));
68
+ addStyle('text-center', '', {
69
+ root: {
70
+ textAlign: 'center'
71
+ }
72
+ });
73
+ addStyle('text-left', '', {
74
+ root: {
75
+ textAlign: 'left'
76
+ }
77
+ });
78
+ addStyle('text-right', '', {
79
+ root: {
80
+ textAlign: 'right'
81
+ }
82
+ });
83
+ const getHeadingStyles = (fontSize, overrides) => {
84
+ return deepCopy({
85
+ text: {
86
+ fontWeight: '400',
87
+ fontSize: fontSize,
88
+ margin: 4,
89
+ color: themeVariables.labelHeaderColor
90
+ }
91
+ }, overrides);
92
+ };
93
+ addStyle('h1', '', getHeadingStyles(themeVariables.heading1FontSize, {
94
+ text: {
95
+ fontWeight: 'bold'
96
+ }
97
+ }));
98
+ addStyle('h2', '', getHeadingStyles(themeVariables.heading2FontSize, {
99
+ text: {
100
+ fontWeight: '500'
101
+ }
102
+ }));
103
+ addStyle('h3', '', getHeadingStyles(themeVariables.heading3FontSize));
104
+ addStyle('h4', '', getHeadingStyles(themeVariables.heading4FontSize));
105
+ addStyle('h5', '', getHeadingStyles(themeVariables.heading5FontSize));
106
+ addStyle('h6', '', getHeadingStyles(themeVariables.heading6FontSize));
107
+ addStyle('media-heading', '', {
108
+ text: {
109
+ fontSize: 16
110
+ }
111
+ });
112
+ addStyle('text-muted', '', {
113
+ text: {
114
+ color: themeVariables.labelTextMutedColor
115
+ }
116
+ });
117
+ addStyle('p', '', {
118
+ text: {
119
+ fontSize: 12
120
+ }
121
+ });
122
+ });
123
+ //# sourceMappingURL=label.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","deepCopy","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","fontSize","color","labelDefaultColor","asterisk","labelAsteriskColor","marginLeft","skeleton","width","height","borderRadius","link","flexDirection","textAlign","getLabelStyles","textColor","backgroundColor","paddingLeft","paddingTop","paddingRight","paddingBottom","fontWeight","labelDangerColor","labelDangerContrastColor","labelDefaultContrastColor","labelInfoColor","labelInfoContrastColor","labelPrimaryColor","labelPrimaryContrastColor","labelSuccessColor","labelSuccessContrastColor","labelWarningColor","labelWarningContrastColor","getTextStyles","labelTextDangerColor","labelTextInfoColor","labelTextPrimaryColor","labelTextSuccessColor","labelTextWarningColor","getHeadingStyles","overrides","margin","labelHeaderColor","heading1FontSize","heading2FontSize","heading3FontSize","heading4FontSize","heading5FontSize","heading6FontSize","labelTextMutedColor"],"sources":["label.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { deepCopy } from '@wavemaker/app-rn-runtime/core/utils';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\nimport { WmAnchorStyles } from '../anchor/anchor.styles';\n\nexport type WmLabelStyles = BaseStyles & {\n asterisk: AllStyle,\n skeleton: WmSkeletonStyles \n link: WmAnchorStyles\n};\n\nexport const DEFAULT_CLASS = 'app-label';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmLabelStyles = defineStyles({\n root: {\n },\n text: {\n fontSize: 16,\n color: themeVariables.labelDefaultColor\n },\n asterisk: {\n color: themeVariables.labelAsteriskColor,\n marginLeft: 2\n },\n skeleton: {\n root:{\n width: '100%',\n height: 16,\n borderRadius: 4\n }\n } as any as WmSkeletonStyles,\n link: {} as WmAnchorStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n root : {\n flexDirection: 'row',\n textAlign: 'right'\n }\n });\n const getLabelStyles = (color: string, textColor: string): WmLabelStyles => {\n return {\n root: {\n backgroundColor: color,\n paddingLeft: 32,\n paddingTop: 16,\n paddingRight: 32,\n paddingBottom: 16,\n borderRadius: 6\n },\n text: {\n color: textColor,\n fontWeight: 'bold'\n }\n } as WmLabelStyles;\n };\n\n addStyle('label-danger', '', getLabelStyles(themeVariables.labelDangerColor, themeVariables.labelDangerContrastColor));\n addStyle('label-default', '', getLabelStyles(themeVariables.labelDefaultColor, themeVariables.labelDefaultContrastColor));\n addStyle('label-info', '', getLabelStyles(themeVariables.labelInfoColor, themeVariables.labelInfoContrastColor));\n addStyle('label-primary', '', getLabelStyles(themeVariables.labelPrimaryColor, themeVariables.labelPrimaryContrastColor));\n addStyle('label-success', '', getLabelStyles(themeVariables.labelSuccessColor, themeVariables.labelSuccessContrastColor));\n addStyle('label-warning', '', getLabelStyles(themeVariables.labelWarningColor, themeVariables.labelWarningContrastColor));\n addStyle('label-test', '', getLabelStyles('yellow', 'red'));\n addStyle('label-test1', '', getLabelStyles('blue', 'orange'));\n\n const getTextStyles = (color: string) => {\n return {\n text: {\n color: color\n }\n } as WmLabelStyles;\n };\n\n addStyle('text-danger', '', getTextStyles(themeVariables.labelTextDangerColor));\n addStyle('text-info', '', getTextStyles(themeVariables.labelTextInfoColor));\n addStyle('text-primary', '', getTextStyles(themeVariables.labelTextPrimaryColor));\n addStyle('text-success', '', getTextStyles(themeVariables.labelTextSuccessColor));\n addStyle('text-warning', '', getTextStyles(themeVariables.labelTextWarningColor));\n addStyle('text-center', '', {\n root: {\n textAlign: 'center'\n }\n } as WmLabelStyles);\n addStyle('text-left', '', {\n root: {\n textAlign: 'left'\n }\n } as WmLabelStyles);\n addStyle('text-right', '', {\n root: {\n textAlign: 'right'\n }\n } as WmLabelStyles);\n\n\n const getHeadingStyles = (fontSize: number, overrides?: WmLabelStyles) => {\n return deepCopy({\n text: {\n fontWeight: '400',\n fontSize: fontSize,\n margin: 4,\n color: themeVariables.labelHeaderColor\n }\n } as WmLabelStyles, overrides);\n };\n addStyle('h1', '', getHeadingStyles(themeVariables.heading1FontSize, {text: {fontWeight: 'bold'}} as WmLabelStyles));\n addStyle('h2', '', getHeadingStyles(themeVariables.heading2FontSize, {text: {fontWeight: '500'}} as WmLabelStyles));\n addStyle('h3', '', getHeadingStyles(themeVariables.heading3FontSize));\n addStyle('h4', '', getHeadingStyles(themeVariables.heading4FontSize));\n addStyle('h5', '', getHeadingStyles(themeVariables.heading5FontSize));\n addStyle('h6', '', getHeadingStyles(themeVariables.heading6FontSize));\n addStyle('media-heading', '', {\n text : {\n fontSize: 16\n }\n } as WmLabelStyles);\n addStyle('text-muted', '', {\n text : {\n color: themeVariables.labelTextMutedColor\n }\n } as WmLabelStyles);\n addStyle('p', '', {\n text : {\n fontSize: 12\n }\n } as WmLabelStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAqB,wCAAwC;AAC9E,SAASC,QAAQ,QAAQ,sCAAsC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAUxF,OAAO,MAAMC,aAAa,GAAG,WAAW;AACxCH,UAAU,CAACI,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA4B,GAAGL,YAAY,CAAC;IAC9CM,IAAI,EAAE,CACN,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,KAAK,EAAEN,cAAc,CAACO;IACxB,CAAC;IACDC,QAAQ,EAAE;MACRF,KAAK,EAAEN,cAAc,CAACS,kBAAkB;MACxCC,UAAU,EAAE;IACd,CAAC;IACDC,QAAQ,EAAE;MACRR,IAAI,EAAC;QACHS,KAAK,EAAE,MAAM;QACbC,MAAM,EAAE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AAkB,CAAC;EACnBpD,QAAQ,CAAC,GAAG,EAAE,EAAE,EAAE;IAChBG,IAAI,EAAG;MACLC,QAAQ,EAAE;IACZ;EACF,CAAkB,CAAC;AACrB,CAAC,CAAC"}
@@ -0,0 +1,76 @@
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 { View, Text } from 'react-native';
7
+ import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
8
+ import WmMessageProps from './message.props';
9
+ import { DEFAULT_CLASS } from './message.styles';
10
+ import WmIcon from '../icon/icon.component';
11
+ import WmButton from '../button/button.component';
12
+ import { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';
13
+ export class WmMessageState extends BaseComponentState {}
14
+ const MESSAGE_ICONS = {
15
+ 'success': 'wm-sl-l sl-check',
16
+ 'warning': 'wm-sl-l sl-alarm-bell',
17
+ 'error': 'fa fa-times-circle',
18
+ 'info': 'wi wi-info',
19
+ 'loading': 'fa fa-spinner fa-spin'
20
+ };
21
+ const DEFAULT_TITLE = {
22
+ 'success': 'Success',
23
+ 'warning': 'Warning',
24
+ 'error': 'Error',
25
+ 'info': 'Info',
26
+ 'loading': 'Processing'
27
+ };
28
+ export default class WmMessage extends BaseComponent {
29
+ constructor(props) {
30
+ super(props, DEFAULT_CLASS, new WmMessageProps());
31
+ _defineProperty(this, "close", () => {
32
+ this.updateState({
33
+ props: {
34
+ show: false
35
+ }
36
+ }, () => this.invokeEventCallback('onClose', [null, this]));
37
+ });
38
+ }
39
+ showMessage() {
40
+ this.updateState({
41
+ props: {
42
+ show: true
43
+ }
44
+ });
45
+ }
46
+ hideMessage() {
47
+ this.updateState({
48
+ props: {
49
+ show: false
50
+ }
51
+ });
52
+ }
53
+ renderWidget(props) {
54
+ const styles = this.theme.mergeStyle(this.theme.getStyle(`${props.type}-${props.variant}-message`), this.styles);
55
+ return /*#__PURE__*/React.createElement(Animatedview, {
56
+ entryanimation: props.animation,
57
+ style: styles.root
58
+ }, this._background, /*#__PURE__*/React.createElement(WmIcon, {
59
+ id: this.getTestId('icon'),
60
+ iconclass: props.type && MESSAGE_ICONS[props.type],
61
+ styles: styles.icon
62
+ }), /*#__PURE__*/React.createElement(View, {
63
+ style: styles.message
64
+ }, /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForLabel('title'), {
65
+ style: styles.title
66
+ }), props.title || DEFAULT_TITLE[props.type || '']), /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForLabel('caption'), {
67
+ style: styles.text
68
+ }), props.caption)), props.hideclose ? null : /*#__PURE__*/React.createElement(WmButton, {
69
+ id: this.getTestId('close'),
70
+ iconclass: "wi wi-close",
71
+ styles: styles.closeBtn,
72
+ onTap: this.close
73
+ }));
74
+ }
75
+ }
76
+ //# sourceMappingURL=message.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","Text","BaseComponent","BaseComponentState","WmMessageProps","DEFAULT_CLASS","WmIcon","WmButton","Animatedview","WmMessageState","MESSAGE_ICONS","DEFAULT_TITLE","WmMessage","constructor","props","_defineProperty","updateState","show","invokeEventCallback","showMessage","hideMessage","renderWidget","styles","theme","mergeStyle","getStyle","type","variant","createElement","entryanimation","animation","style","root","_background","id","getTestId","iconclass","icon","message","_extends","getTestPropsForLabel","title","text","caption","hideclose","closeBtn","onTap","close"],"sources":["message.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, Text } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmMessageProps from './message.props';\nimport { DEFAULT_CLASS, WmMessageStyles } from './message.styles';\nimport WmIcon from '../icon/icon.component';\nimport WmButton from '../button/button.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\n\nexport class WmMessageState extends BaseComponentState<WmMessageProps> {}\n\nconst MESSAGE_ICONS = {\n 'success': 'wm-sl-l sl-check',\n 'warning': 'wm-sl-l sl-alarm-bell',\n 'error': 'fa fa-times-circle',\n 'info': 'wi wi-info',\n 'loading': 'fa fa-spinner fa-spin'\n};\n\nconst DEFAULT_TITLE = {\n 'success': 'Success',\n 'warning': 'Warning',\n 'error': 'Error',\n 'info': 'Info',\n 'loading': 'Processing'\n} as any;\n\nexport default class WmMessage extends BaseComponent<WmMessageProps, WmMessageState, WmMessageStyles> {\n\n constructor(props: WmMessageProps) {\n super(props, DEFAULT_CLASS, new WmMessageProps());\n }\n\n showMessage() {\n this.updateState({\n props: {\n show: true\n }\n } as WmMessageState);\n }\n\n hideMessage() {\n this.updateState({\n props: {\n show: false\n }\n } as WmMessageState);\n }\n\n close = () => {\n this.updateState({props: {\n show : false\n }}, () => this.invokeEventCallback('onClose', [null, this]));\n }\n\n renderWidget(props: WmMessageProps) {\n const styles = this.theme.mergeStyle(this.theme.getStyle(`${props.type}-${props.variant}-message`), this.styles);\n return (<Animatedview entryanimation={props.animation} style={styles.root}>\n {this._background}\n <WmIcon\n id={this.getTestId('icon')}\n iconclass={props.type && MESSAGE_ICONS[props.type]}\n styles={styles.icon}></WmIcon>\n <View style={styles.message}>\n <Text {...this.getTestPropsForLabel('title')} style={styles.title}>{props.title || DEFAULT_TITLE[props.type || '']}</Text>\n <Text {...this.getTestPropsForLabel('caption')} style={styles.text}>{props.caption}</Text>\n </View>\n {props.hideclose ? null : (\n <WmButton\n id={this.getTestId('close')}\n iconclass=\"wi wi-close\"\n styles={styles.closeBtn}\n onTap={this.close}></WmButton>\n )}\n </Animatedview>);\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,aAAa,QAAyB,kBAAkB;AACjE,OAAOC,MAAM,MAAM,wBAAwB;AAC3C,OAAOC,QAAQ,MAAM,4BAA4B;AACjD,SAASC,YAAY,QAAQ,mEAAmE;AAEhG,OAAO,MAAMC,cAAc,SAASN,kBAAkB,CAAiB;AAEvE,MAAMO,aAAa,GAAG;EACpB,SAAS,EAAE,kBAAkB;EAC7B,SAAS,EAAE,uBAAuB;EAClC,OAAO,EAAE,oBAAoB;EAC7B,MAAM,EAAE,YAAY;EACpB,SAAS,EAAE;AACb,CAAC;AAED,MAAMC,aAAa,GAAG;EACpB,SAAS,EAAE,SAAS;EACpB,SAAS,EAAE,SAAS;EACpB,OAAO,EAAE,OAAO;EAChB,MAAM,EAAE,MAAM;EACd,SAAS,EAAE;AACb,CAAQ;AAER,eAAe,MAAMC,SAAS,SAASV,aAAa,CAAkD;EAEpGW,WAAWA,CAACC,KAAqB,EAAE;IACjC,KAAK,CAACA,KAAK,EAAET,aAAa,EAAE,IAAID,cAAc,CAAC,CAAC,CAAC;IAACW,eAAA,gBAmB5C,MAAM;MACZ,IAAI,CAACC,WAAW,CAAC;QAACF,KAAK,EAAE;UACvBG,IAAI,EAAG;QACT;MAAC,CAAC,EAAE,MAAM,IAAI,CAACC,mBAAmB,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;IAC9D,CAAC;EA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