@wavemaker/app-rn-runtime 11.4.3-next.30201 → 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
@@ -1 +0,0 @@
1
- {"version":3,"names":["Platform","BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","text","height","paddingTop","paddingBottom","paddingLeft","paddingRight","width","borderWidth","borderRightWidth","borderTopLeftRadius","borderBottomLeftRadius","borderColor","searchBorderColor","backgroundColor","searchDropdownBackgroundColor","invalid","borderBottomColor","inputInvalidBorderColor","focusedText","modal","transparent","modalContent","borderRadius","position","borderStyle","dropDownContent","searchInputWrapper","alignItems","justifyContent","flex","clearButton","marginLeft","padding","alignSelf","searchButton","borderTopRightRadius","borderBottomRightRadius","searchButtonColor","icon","fontSize","color","searchButtonTextColor","searchItem","marginBottom","paddingHorizontal","paddingVertical","searchItemBorderColor","searchItemTextColor","searchItemText","fontFamily","baseFont","dataCompleteItem","searchDataCompleteItemBgColor","textDecorationLine","placeholderText","inputPlaceholderColor","inputDisabledBgColor","OS","textAlign","borderLeftWidth","left"],"sources":["search.styles.ts"],"sourcesContent":["import { Platform, TextStyle } from 'react-native';\nimport BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmButtonStyles } from '@wavemaker/app-rn-runtime/components/basic/button/button.styles';\n\nexport type WmSearchStyles = BaseStyles & {\n focusedText: TextStyle,\n modal: AllStyle;\n modalContent: AllStyle;\n searchItem: AllStyle;\n dropDownContent: AllStyle;\n searchItemText: AllStyle;\n clearButton: WmButtonStyles;\n searchButton: WmButtonStyles;\n searchInputWrapper: AllStyle;\n placeholderText: AllStyle;\n invalid: AllStyle;\n};\n\nexport const DEFAULT_CLASS = 'app-search';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmSearchStyles = defineStyles({\n root: {\n flexDirection: 'row'\n },\n text: {\n height: 48,\n paddingTop: 8,\n paddingBottom: 8,\n paddingLeft: 12,\n paddingRight: 12,\n width: '100%',\n borderWidth: 1,\n borderRightWidth: 0,\n borderTopLeftRadius: 6,\n borderBottomLeftRadius: 6,\n borderColor: themeVariables.searchBorderColor,\n backgroundColor: themeVariables.searchDropdownBackgroundColor,\n },\n invalid: {\n borderBottomColor: themeVariables.inputInvalidBorderColor\n },\n focusedText : {\n borderBottomLeftRadius: 0,\n },\n modal: {\n backgroundColor: themeVariables.transparent,\n height: '100%'\n },\n modalContent: {\n backgroundColor: themeVariables.searchDropdownBackgroundColor,\n borderRadius: 6,\n position: 'absolute',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.searchBorderColor,\n width: '90%'\n },\n dropDownContent: {\n width: '100%'\n },\n searchInputWrapper: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'center',\n flex: 1\n },\n clearButton: {\n root: {\n marginLeft: -40,\n padding: 0,\n width: 36,\n alignItems: 'center',\n alignSelf: 'center',\n justifyContent: 'center',\n backgroundColor: 'transparent'\n }\n } as WmButtonStyles,\n searchButton: {\n root: {\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 0,\n borderTopRightRadius: 4,\n borderBottomRightRadius: 4,\n backgroundColor: themeVariables.searchButtonColor,\n height: 48\n },\n icon: {\n icon: {\n fontSize: 24,\n color: themeVariables.searchButtonTextColor,\n }\n }\n } as WmButtonStyles,\n searchItem: {\n width: '100%',\n marginBottom: 4,\n paddingHorizontal: 16,\n paddingVertical: 8,\n borderBottomColor: themeVariables.searchItemBorderColor,\n flexDirection: 'row',\n alignItems: 'center',\n color: themeVariables.searchItemTextColor\n },\n searchItemText: {\n fontSize: 16,\n paddingLeft: 8,\n fontFamily: themeVariables.baseFont\n },\n dataCompleteItem: {\n root: {\n backgroundColor: themeVariables.searchDataCompleteItemBgColor,\n justifyContent: 'center',\n padding: 8\n },\n text: {\n fontSize: 12,\n textDecorationLine: 'none',\n color: themeVariables.searchItemTextColor\n }\n },\n placeholderText: {\n color: themeVariables.inputPlaceholderColor\n }\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n text : {\n backgroundColor: themeVariables.inputDisabledBgColor\n }\n });\n\n addStyle(DEFAULT_CLASS + '-rtl', '', Platform.OS=='android'?{\n text : {\n textAlign: 'right',\n borderWidth: 1,\n borderLeftWidth: 0,\n borderRightWidth: 1,\n borderTopRightRadius: 6,\n borderBottomRightRadius: 6,\n },\n searchButton: {\n root: {\n borderTopRightRadius: 4,\n borderBottomRightRadius: 4,\n },\n }\n }:Platform.OS=='web'?{\n text : {\n textAlign: 'right',\n borderWidth: 1,\n borderRightWidth: 1,\n borderLeftWidth: 0,\n borderTopLeftRadius: 0,\n borderBottomLeftRadius: 0,\n borderTopRightRadius: 6,\n borderBottomRightRadius: 6,\n },\n searchButton: {\n root: {\n borderTopRightRadius: 0,\n borderBottomRightRadius: 0,\n borderTopLeftRadius: 4,\n borderBottomLeftRadius: 4,\n },\n },\n clearButton: {\n root: {\n left: 0,\n position: 'absolute',\n marginLeft: 0\n }\n } as WmButtonStyles,\n }:{\n text : {\n textAlign: 'right',\n }\n });\n\n addStyle('app-autocomplete', '', {\n text: {\n borderRightWidth: 1,\n borderTopRightRadius: 4,\n borderBottomRightRadius: 4,\n }\n } as WmSearchStyles);\n});\n"],"mappings":"AAAA,SAASA,QAAQ,QAAmB,cAAc;AAClD,OAAOC,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AAiBxF,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA6B,GAAGL,YAAY,CAAC;IAC/CM,IAAI,EAAE;MACJC,aAAa,EAAE;IACjB,CAAC;IACDC,IAAI,EAAE;MACJC,MAAM,EAAE,EAAE;MACVC,UAAU,EAAE,CAAC;MACbC,aAAa,EAAE,CAAC;MAChBC,WAAW,EAAE,EAAE;MACfC,YAAY,EAAE,EAAE;MAChBC,KAAK,EAAE,MAAM;MACbC,WAAW,EAAE,CAAC;MACdC,gBAAgB,EAAE,CAAC;MACnBC,mBAAmB,EAAE,CAAC;MACtBC,sBAAsB,EAAE,CAAC;MACzBC,WAAW,EAAEhB,cAAc,CAACiB,iBAAiB;MAC7CC,eAAe,EAAElB,cAAc,CAACmB;IAClC,CAAC;IACHC,OAAO,EAAE;MACPC,iBAAiB,EAAErB,cAAc,CAACsB;IACpC,CAAC;IACCC,WAAW,EAAG;MACZR,sBAAsB,EAAE;IAC1B,CAAC;IACHS,KAAK,EAAE;MACLN,eAAe,EAAElB,cAAc,CAACyB,WAAW;MAC3CnB,MAAM,EAAE;IACV,CAAC;IACDoB,YAAY,EAAE;MACZR,eAAe,EAAElB,cAAc,CAACmB,6BAA6B;MAC7DQ,YAAY,EAAE,CAAC;MACfC,QAAQ,EAAE,UAAU;MACpBhB,WAAW,EAAE,CAAC;MACdiB,WAAW,EAAE,OAAO;MACpBb,WAAW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DF,YAAY,EAAE;MACZpC,IAAI,EAAE;QACJqC,oBAAoB,EAAE,CAAC;QACvBC,uBAAuB,EAAE,CAAC;QAC1B3B,mBAAmB,EAAE,CAAC;QACtBC,sBAAsB,EAAE;MAC1B;IACF,CAAC;IACDoB,WAAW,EAAE;MACXhC,IAAI,EAAE;QACJ8D,IAAI,EAAE,CAAC;QACPrC,QAAQ,EAAE,UAAU;QACpBQ,UAAU,EAAE;MACd;IACF;EACF,CAAC,GAAC;IACA/B,IAAI,EAAG;MACL0D,SAAS,EAAE;IACb;EACF,CAAC,CAAC;EAEF9D,QAAQ,CAAC,kBAAkB,EAAE,EAAE,EAAE;IAC/BI,IAAI,EAAE;MACJQ,gBAAgB,EAAE,CAAC;MACnB2B,oBAAoB,EAAE,CAAC;MACvBC,uBAAuB,EAAE;IAC3B;EACF,CAAmB,CAAC;AACtB,CAAC,CAAC"}
@@ -1,87 +0,0 @@
1
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
- import React from 'react';
5
- import { Text, View, Platform } from 'react-native';
6
- import Color from "color";
7
- import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
8
- import WmSpinnerProps from './spinner.props';
9
- import { DEFAULT_CLASS } from './spinner.styles';
10
- import WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';
11
- import WmPicture from '@wavemaker/app-rn-runtime/components/basic/picture/picture.component';
12
- import LottieView from 'lottie-react-native';
13
- import ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';
14
- export class WmSpinnerState extends BaseComponentState {}
15
- export default class WmSpinner extends BaseComponent {
16
- constructor(props) {
17
- super(props, DEFAULT_CLASS, new WmSpinnerProps());
18
- _defineProperty(this, "recursiveSearch", (obj, colors) => {
19
- obj && Object.keys(obj).forEach(key => {
20
- let value = obj[key];
21
- let ind = Math.floor(Math.random() * (0 - colors.length) + colors.length);
22
- if (key == "nm" && (value.toLowerCase().includes('fill ') || value.toLowerCase().includes('stroke '))) {
23
- if (obj["c"] && obj["c"]["k"] && (obj["c"]["k"].length == 4 || obj["c"]["k"].length == 3 && typeof obj["c"]["k"][0] == 'number')) {
24
- obj["c"]["k"] = colors[ind];
25
- } else {
26
- if (obj["c"] && obj["c"]["k"]) {
27
- for (let shape in obj["c"]["k"]) {
28
- if (obj["c"]["k"][shape] && obj["c"]["k"][shape]["s"]) {
29
- obj["c"]["k"][shape]["s"] = colors[ind];
30
- }
31
- }
32
- }
33
- }
34
- } else if (typeof value === 'object') {
35
- this.recursiveSearch(value, colors);
36
- }
37
- });
38
- return obj;
39
- });
40
- }
41
- prepareIcon(props) {
42
- return /*#__PURE__*/React.createElement(WmIcon, {
43
- styles: this.styles.icon,
44
- iconclass: props.iconclass + ' fa-spin',
45
- iconsize: props.iconsize
46
- });
47
- }
48
- prepareImage(props) {
49
- return /*#__PURE__*/React.createElement(WmPicture, {
50
- styles: this.styles.image,
51
- picturesource: props.image
52
- });
53
- }
54
- toRgbArray(color) {
55
- return [color.red() / 255, color.green() / 255, color.blue() / 255, 1];
56
- }
57
- addClasstoLottie(lottiePath) {
58
- let primaryColor = Color(ThemeVariables.INSTANCE.primaryColor);
59
- let colors = [this.toRgbArray(primaryColor), this.toRgbArray(primaryColor.darken(0.2)), this.toRgbArray(primaryColor.darken(0.4)), this.toRgbArray(primaryColor.darken(0.6)), this.toRgbArray(primaryColor.darken(0.8))];
60
- return this.recursiveSearch(lottiePath.json, lottiePath.loader == 'circleSpinner' ? [colors[0]] : colors);
61
- }
62
- prepareLottie(props) {
63
- var _Lottie;
64
- let Lottie = Platform.OS == 'web' ? require('react-lottie-player') : null;
65
- Lottie = ((_Lottie = Lottie) === null || _Lottie === void 0 ? void 0 : _Lottie.default) || Lottie;
66
- return Platform.OS == 'web' ? /*#__PURE__*/React.createElement(Lottie, {
67
- animationData: this.addClasstoLottie(props.lottie),
68
- loop: true,
69
- play: true,
70
- style: this.styles.lottie
71
- }) : /*#__PURE__*/React.createElement(LottieView, {
72
- source: this.addClasstoLottie(props.lottie),
73
- resizeMode: "contain",
74
- autoPlay: true,
75
- loop: true,
76
- style: this.styles.lottie
77
- });
78
- }
79
- renderWidget(props) {
80
- return /*#__PURE__*/React.createElement(View, {
81
- style: this.styles.root
82
- }, this._background, props.lottie ? this.prepareLottie(props) : props.image ? this.prepareImage(props) : this.prepareIcon(props), props.caption ? /*#__PURE__*/React.createElement(Text, {
83
- style: this.styles.text
84
- }, props.caption) : null);
85
- }
86
- }
87
- //# sourceMappingURL=spinner.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Text","View","Platform","Color","BaseComponent","BaseComponentState","WmSpinnerProps","DEFAULT_CLASS","WmIcon","WmPicture","LottieView","ThemeVariables","WmSpinnerState","WmSpinner","constructor","props","_defineProperty","obj","colors","Object","keys","forEach","key","value","ind","Math","floor","random","length","toLowerCase","includes","shape","recursiveSearch","prepareIcon","createElement","styles","icon","iconclass","iconsize","prepareImage","image","picturesource","toRgbArray","color","red","green","blue","addClasstoLottie","lottiePath","primaryColor","INSTANCE","darken","json","loader","prepareLottie","_Lottie","Lottie","OS","require","default","animationData","lottie","loop","play","style","source","resizeMode","autoPlay","renderWidget","root","_background","caption","text"],"sources":["spinner.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View, Platform } from 'react-native';\nimport Color from \"color\";\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmSpinnerProps from './spinner.props';\nimport { DEFAULT_CLASS, WmSpinnerStyles } from './spinner.styles';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmPicture from '@wavemaker/app-rn-runtime/components/basic/picture/picture.component';\nimport LottieView from 'lottie-react-native';\nimport ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';\n\nexport class WmSpinnerState extends BaseComponentState<WmSpinnerProps> {\n\n}\n\nexport default class WmSpinner extends BaseComponent<WmSpinnerProps, WmSpinnerState, WmSpinnerStyles> {\n\n constructor(props: WmSpinnerProps) {\n super(props, DEFAULT_CLASS, new WmSpinnerProps());\n }\n\n private prepareIcon(props: any) {\n return (<WmIcon\n styles={this.styles.icon}\n iconclass={props.iconclass + ' fa-spin'} iconsize={props.iconsize}></WmIcon>);\n }\n\n private prepareImage(props: any) {\n return (<WmPicture\n styles={this.styles.image}\n picturesource={props.image}></WmPicture>);\n }\n\n private recursiveSearch = (obj: any, colors: any) => {\n obj && Object.keys(obj).forEach(key => {\n let value = obj[key];\n let ind = Math.floor(Math.random() * (0 - colors.length ) + colors.length);\n if (key == \"nm\" && (value.toLowerCase().includes('fill ') || value.toLowerCase().includes('stroke '))) {\n if (obj[\"c\"] && obj[\"c\"][\"k\"] \n && (obj[\"c\"][\"k\"].length == 4\n || (obj[\"c\"][\"k\"].length ==3 \n && typeof obj[\"c\"][\"k\"][0] == 'number'))) {\n obj[\"c\"][\"k\"] = colors[ind];\n }\n else {\n if (obj[\"c\"] && obj[\"c\"][\"k\"]){\n for (let shape in obj[\"c\"][\"k\"]) {\n if(obj[\"c\"][\"k\"][shape] && obj[\"c\"][\"k\"][shape][\"s\"]){\n obj[\"c\"][\"k\"][shape][\"s\"] = colors[ind];\n }\n }\n }\n }\n } else if (typeof value === 'object') {\n this.recursiveSearch(value, colors);\n }\n });\n return obj;\n };\n\n private toRgbArray(color: Color) {\n return [\n color.red()/255,\n color.green()/255,\n color.blue()/255,\n 1\n ]\n }\n\n private addClasstoLottie(lottiePath: any) {\n let primaryColor = Color(ThemeVariables.INSTANCE.primaryColor);\n let colors = [this.toRgbArray(primaryColor), \n this.toRgbArray(primaryColor.darken(0.2)), \n this.toRgbArray(primaryColor.darken(0.4)), \n this.toRgbArray(primaryColor.darken(0.6)), \n this.toRgbArray(primaryColor.darken(0.8))];\n return this.recursiveSearch(lottiePath.json, lottiePath.loader == 'circleSpinner' ? [colors[0]] : colors);\n }\n\n private prepareLottie(props: any) {\n let Lottie = Platform.OS == 'web' ? require('react-lottie-player') : null;\n Lottie = Lottie?.default || Lottie;\n return (\n Platform.OS == 'web' ? <Lottie animationData={this.addClasstoLottie(props.lottie)} loop={true} play={true} style={this.styles.lottie} /> : <LottieView\n source={this.addClasstoLottie(props.lottie)}\n resizeMode='contain'\n autoPlay={true}\n loop={true}\n style={this.styles.lottie}\n />\n )\n }\n\n renderWidget(props: WmSpinnerProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n {props.lottie ? this.prepareLottie(props) : props.image ? this.prepareImage(props) : this.prepareIcon(props)}\n {props.caption ? <Text style={this.styles.text}>{props.caption}</Text> : null}\n </View>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,QAAQ,QAAQ,cAAc;AACnD,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,aAAa,QAAyB,kBAAkB;AACjE,OAAOC,MAAM,MAAM,gEAAgE;AACnF,OAAOC,SAAS,MAAM,sEAAsE;AAC5F,OAAOC,UAAU,MAAM,qBAAqB;AAC5C,OAAOC,cAAc,MAAM,kDAAkD;AAE7E,OAAO,MAAMC,cAAc,SAASP,kBAAkB,CAAiB;AAIvE,eAAe,MAAMQ,SAAS,SAAST,aAAa,CAAkD;EAEpGU,WAAWA,CAACC,KAAqB,EAAE;IACjC,KAAK,CAACA,KAAK,EAAER,aAA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E,IAAI,CAAC7B,MAAM,CAAC0B;IAAO,CAC3B,CAAC;EAEN;EAEAO,YAAYA,CAACrD,KAAqB,EAAE;IAClC,oBACEhB,KAAA,CAAAmC,aAAA,CAACjC,IAAI;MAAC+D,KAAK,EAAE,IAAI,CAAC7B,MAAM,CAACkC;IAAK,GAC3B,IAAI,CAACC,WAAW,EAChBvD,KAAK,CAAC8C,MAAM,GAAG,IAAI,CAACP,aAAa,CAACvC,KAAK,CAAC,GAAGA,KAAK,CAACyB,KAAK,GAAG,IAAI,CAACD,YAAY,CAACxB,KAAK,CAAC,GAAG,IAAI,CAACkB,WAAW,CAAClB,KAAK,CAAC,EAC3GA,KAAK,CAACwD,OAAO,gBAAGxE,KAAA,CAAAmC,aAAA,CAAClC,IAAI;MAACgE,KAAK,EAAE,IAAI,CAAC7B,MAAM,CAACqC;IAAK,GAAEzD,KAAK,CAACwD,OAAc,CAAC,GAAG,IACrE,CAAC;EAEX;AACF"}
@@ -1,39 +0,0 @@
1
- import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
2
- import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
3
- export const DEFAULT_CLASS = 'app-spinner';
4
- BASE_THEME.registerStyle((themeVariables, addStyle) => {
5
- const defaultStyles = defineStyles({
6
- root: {
7
- flexDirection: 'row',
8
- justifyContent: 'center',
9
- alignItems: 'center'
10
- },
11
- text: {
12
- fontSize: 14,
13
- paddingLeft: 8
14
- },
15
- icon: {
16
- text: {
17
- fontSize: 24,
18
- color: themeVariables.spinnerIconColor
19
- }
20
- },
21
- image: {},
22
- lottie: {
23
- width: 100,
24
- height: 100,
25
- alignSelf: 'center',
26
- justifyContent: 'center'
27
- }
28
- });
29
- addStyle(DEFAULT_CLASS, '', defaultStyles);
30
- addStyle(DEFAULT_CLASS + '-rtl', '', {
31
- root: {
32
- textAlign: 'right'
33
- },
34
- text: {
35
- paddingRight: 8
36
- }
37
- });
38
- });
39
- //# sourceMappingURL=spinner.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["defineStyles","BASE_THEME","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","justifyContent","alignItems","text","fontSize","paddingLeft","icon","color","spinnerIconColor","image","lottie","width","height","alignSelf","textAlign","paddingRight"],"sources":["spinner.styles.ts"],"sourcesContent":["import { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport BASE_THEME, { NamedStyles, AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\nimport { WmPictureStyles } from '@wavemaker/app-rn-runtime/components/basic/picture/picture.styles';\n\nexport type WmSpinnerStyles = BaseStyles & {\n icon: WmIconStyles\n image: WmPictureStyles\n lottie: AllStyle\n};\n\nexport const DEFAULT_CLASS = 'app-spinner';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmSpinnerStyles = defineStyles({\n root: {\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center'\n },\n text: {\n fontSize: 14,\n paddingLeft: 8\n },\n icon: {\n text: {\n fontSize: 24,\n color: themeVariables.spinnerIconColor\n }\n } as WmIconStyles,\n image: {} as WmPictureStyles,\n lottie: {\n width: 100,\n height: 100,\n alignSelf: 'center',\n justifyContent: 'center'\n }\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n root : {\n textAlign: 'right'\n },\n text: {\n paddingRight: 8\n }\n });\n});\n"],"mappings":"AAAA,SAAqBA,YAAY,QAAQ,+CAA+C;AACxF,OAAOC,UAAU,MAAiC,wCAAwC;AAU1F,OAAO,MAAMC,aAAa,GAAG,aAAa;AAC1CD,UAAU,CAACE,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA8B,GAAGN,YAAY,CAAC;IAClDO,IAAI,EAAE;MACJC,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE;IACd,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,WAAW,EAAE;IACf,CAAC;IACDC,IAAI,EAAE;MACJH,IAAI,EAAE;QACJC,QAAQ,EAAE,EAAE;QACZG,KAAK,EAAEX,cAAc,CAACY;MACxB;IACF,CAAiB;IACjBC,KAAK,EAAE,CAAC,CAAoB;IAC5BC,MAAM,EAAE;MACNC,KAAK,EAAE,GAAG;MACVC,MAAM,EAAE,GAAG;MACXC,SAAS,EAAE,QAAQ;MACnBZ,cAAc,EAAE;IAClB;EACF,CAAC,CAAC;EAEFJ,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,MAAM,EAAE,EAAE,EAAE;IACnCK,IAAI,EAAG;MACLe,SAAS,EAAE;IACb,CAAC;IACDX,IAAI,EAAE;MACJY,YAAY,EAAE;IAChB;EACF,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -1,56 +0,0 @@
1
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
- import React from 'react';
5
- import { View } from 'react-native';
6
- import { ResizeMode, Video } from 'expo-av';
7
- import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
8
- import WmVideoProps from './video.props';
9
- import { DEFAULT_CLASS } from './video.styles';
10
- import { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';
11
- export class WmVideoState extends BaseComponentState {}
12
- export default class WmVideo extends BaseComponent {
13
- constructor(props) {
14
- super(props, DEFAULT_CLASS, new WmVideoProps(), new WmVideoState());
15
- _defineProperty(this, "video", null);
16
- }
17
- getSource(path) {
18
- if (!path) {
19
- return null;
20
- }
21
- const resource = this.loadAsset(path);
22
- if (isFullPathUrl(resource)) {
23
- return {
24
- uri: resource
25
- };
26
- }
27
- return resource;
28
- }
29
- componentDidMount() {
30
- if (this.state.props.autoplay) {
31
- var _this$video;
32
- (_this$video = this.video) === null || _this$video === void 0 ? void 0 : _this$video.playAsync();
33
- }
34
- }
35
- renderWidget(props) {
36
- return /*#__PURE__*/React.createElement(View, {
37
- style: this.styles.root
38
- }, this._background, /*#__PURE__*/React.createElement(Video, {
39
- ref: video => {
40
- this.video = video;
41
- },
42
- style: {
43
- width: '100%',
44
- height: '100%',
45
- flex: 1
46
- },
47
- source: this.getSource(props.mp4format || props.webmformat),
48
- posterSource: this.getSource(props.videoposter),
49
- useNativeControls: props.controls,
50
- resizeMode: ResizeMode.CONTAIN,
51
- isLooping: props.loop,
52
- isMuted: props.muted
53
- }));
54
- }
55
- }
56
- //# sourceMappingURL=video.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","ResizeMode","Video","BaseComponent","BaseComponentState","WmVideoProps","DEFAULT_CLASS","isFullPathUrl","WmVideoState","WmVideo","constructor","props","_defineProperty","getSource","path","resource","loadAsset","uri","componentDidMount","state","autoplay","_this$video","video","playAsync","renderWidget","createElement","style","styles","root","_background","ref","width","height","flex","source","mp4format","webmformat","posterSource","videoposter","useNativeControls","controls","resizeMode","CONTAIN","isLooping","loop","isMuted","muted"],"sources":["video.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View } from 'react-native';\nimport { ResizeMode, Video } from 'expo-av';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmVideoProps from './video.props';\nimport { DEFAULT_CLASS, WmVideoStyles } from './video.styles';\nimport { isString } from 'lodash-es';\nimport { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';\n\nexport class WmVideoState extends BaseComponentState<WmVideoProps> {}\n\nexport default class WmVideo extends BaseComponent<WmVideoProps, WmVideoState, WmVideoStyles> {\n\n private video: Video | null = null as any;\n\n constructor(props: WmVideoProps) {\n super(props, DEFAULT_CLASS, new WmVideoProps(), new WmVideoState());\n }\n\n getSource(path: string) {\n if (!path) {\n return null;\n }\n const resource = this.loadAsset(path);\n if (isFullPathUrl(resource as string)) {\n return {\n uri: resource\n };\n }\n return resource;\n }\n\n componentDidMount(): void {\n if (this.state.props.autoplay) {\n this.video?.playAsync();\n }\n }\n\n renderWidget(props: WmVideoProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n <Video\n ref={(video) => { this.video = video; }}\n style={{ width: '100%', height: '100%', flex: 1 }}\n source={this.getSource(\n props.mp4format\n || props.webmformat) as any}\n posterSource={ this.getSource(props.videoposter) as any }\n useNativeControls={props.controls}\n resizeMode={ResizeMode.CONTAIN}\n isLooping={props.loop}\n isMuted={props.muted}\n />\n </View>); \n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAeC,IAAI,QAAQ,cAAc;AACzC,SAASC,UAAU,EAAEC,KAAK,QAAQ,SAAS;AAC3C,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,YAAY,MAAM,eAAe;AACxC,SAASC,aAAa,QAAuB,gBAAgB;AAE7D,SAASC,aAAa,QAAQ,sCAAsC;AAEpE,OAAO,MAAMC,YAAY,SAASJ,kBAAkB,CAAe;AAEnE,eAAe,MAAMK,OAAO,SAASN,aAAa,CAA4C;EAI5FO,WAAWA,CAACC,KAAmB,EAAE;IAC/B,KAAK,CAACA,KAAK,EAAEL,aAAa,EAAE,IAAID,YAAY,CAAC,CAAC,EAAE,IAAIG,YAAY,CAAC,CAAC,CAAC;IAACI,eAAA,gBAHxC,IAAI;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@ -1,142 +0,0 @@
1
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
- import React from 'react';
5
- import { Text, TouchableOpacity, View } from 'react-native';
6
- import { Badge } from 'react-native-paper';
7
- import { isArray } from 'lodash';
8
- import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
9
- import WmAccordionProps from './accordion.props';
10
- import { DEFAULT_CLASS } from './accordion.styles';
11
- import WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';
12
- import { isDefined } from '@wavemaker/app-rn-runtime/core/utils';
13
- export class WmAccordionState extends BaseComponentState {
14
- constructor() {
15
- super(...arguments);
16
- _defineProperty(this, "lastExpandedIndex", -1);
17
- _defineProperty(this, "isExpanded", []);
18
- }
19
- }
20
- export default class WmAccordion extends BaseComponent {
21
- constructor(props) {
22
- super(props, DEFAULT_CLASS, new WmAccordionProps(), new WmAccordionState());
23
- _defineProperty(this, "accordionPanes", []);
24
- _defineProperty(this, "newIndex", 0);
25
- }
26
- addAccordionPane(accordionPane) {
27
- var _this$state$isExpande;
28
- const i = this.accordionPanes.findIndex(t => t.props.title === accordionPane.props.title);
29
- if (i >= 0) {
30
- this.accordionPanes[i] = accordionPane;
31
- } else {
32
- this.accordionPanes[this.newIndex++] = accordionPane;
33
- }
34
- if (!((_this$state$isExpande = this.state.isExpanded) !== null && _this$state$isExpande !== void 0 && _this$state$isExpande.find(v => v))) {
35
- this.toggle(this.state.props.defaultpaneindex + 1);
36
- }
37
- }
38
- expand(accordionName) {
39
- const i = this.accordionPanes.findIndex(t => t.props.name === accordionName);
40
- this.toggle(i + 1, true);
41
- }
42
- collapse(accordionName) {
43
- const i = this.accordionPanes.findIndex(t => t.props.name === accordionName);
44
- this.toggle(i + 1, false);
45
- }
46
- expandCollapseIcon(item) {
47
- let showBadge = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
48
- let showIcon = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
49
- let useChevron = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
50
- let isExpanded = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
51
- const widgetProps = item.props;
52
- //@ts-ignore
53
- const badge = showBadge && widgetProps.badgevalue != undefined ? /*#__PURE__*/React.createElement(Badge, {
54
- style: [this.styles.badge, isExpanded ? this.styles.activeBadge : null, this.styles[widgetProps.badgetype || 'default']]
55
- }, widgetProps.badgevalue) : null;
56
- let iconclass = null;
57
- if (useChevron) {
58
- iconclass = isExpanded ? 'wi wi-chevron-down' : 'wi wi-chevron-up';
59
- } else {
60
- iconclass = isExpanded ? 'wi wi-minus' : 'wi wi-plus';
61
- }
62
- return /*#__PURE__*/React.createElement(View, {
63
- style: {
64
- flexDirection: 'row'
65
- }
66
- }, badge, showIcon ? /*#__PURE__*/React.createElement(WmIcon, {
67
- styles: this.theme.mergeStyle({}, this.styles.icon, isExpanded ? this.styles.activeIcon : null),
68
- name: 'expand_collapse_icon',
69
- iconclass: iconclass
70
- }) : null);
71
- }
72
- renderAccordionpane(item, index) {
73
- let accordionpanes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
74
- const showIconOnLeft = this.styles.leftToggleIcon.root.width !== undefined;
75
- const isExpanded = this.state.isExpanded[index];
76
- return /*#__PURE__*/React.createElement(View, {
77
- style: this.styles.pane,
78
- key: item.props.title
79
- }, /*#__PURE__*/React.createElement(TouchableOpacity, {
80
- key: 'accordionpane_' + (index + 1),
81
- style: [this.styles.header, index === 0 ? this.styles.firstHeader : null, index === accordionpanes.length - 1 && !isExpanded ? this.styles.lastHeader : null, isExpanded ? this.styles.activeHeader : {}],
82
- onPress: this.toggle.bind(this, index + 1, !isExpanded)
83
- }, this.expandCollapseIcon(item, false, showIconOnLeft, true, isExpanded), item.props.iconclass ? /*#__PURE__*/React.createElement(WmIcon, {
84
- styles: this.styles.icon,
85
- name: item.props.name + '_icon',
86
- iconclass: item.props.iconclass
87
- }) : null, /*#__PURE__*/React.createElement(View, {
88
- style: {
89
- flexDirection: 'column',
90
- flex: 1,
91
- justifyContent: 'center'
92
- }
93
- }, /*#__PURE__*/React.createElement(Text, {
94
- style: [this.styles.text, this.styles.heading, isExpanded ? this.styles.activeHeaderTitle : {}]
95
- }, isDefined(item.props.title) ? item.props.title : 'Title'), item.props.description ? /*#__PURE__*/React.createElement(Text, {
96
- style: this.styles.subheading
97
- }, item.props.description) : null), this.expandCollapseIcon(item, true, !showIconOnLeft, true, isExpanded)), item);
98
- }
99
- toggle(index) {
100
- let expand = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
101
- let expandedId = expand ? index : -1;
102
- let collapseId = expand ? -1 : index;
103
- if (expand && this.state.isExpanded[expandedId - 1] || !expand && this.state.isExpanded[collapseId - 1] === false) {
104
- return;
105
- }
106
- if (collapseId < 0 && this.state.props.closeothers) {
107
- collapseId = this.state.lastExpandedIndex;
108
- }
109
- const collapsedPane = this.accordionPanes[collapseId - 1];
110
- collapsedPane === null || collapsedPane === void 0 ? void 0 : collapsedPane.hide();
111
- Promise.resolve().then(() => {
112
- const expandedPane = expandedId ? this.accordionPanes[expandedId - 1] : null;
113
- expandedPane === null || expandedPane === void 0 ? void 0 : expandedPane.show();
114
- this.setState(state => {
115
- if (collapseId > 0 && collapsedPane) {
116
- state.isExpanded[collapseId - 1] = false;
117
- }
118
- if (expandedId > 0 && expandedPane) {
119
- state.isExpanded[expandedId - 1] = true;
120
- }
121
- return {
122
- lastExpandedIndex: expandedId,
123
- isExpanded: [...state.isExpanded]
124
- };
125
- }, () => {
126
- this.invokeEventCallback('onChange', [{}, this.proxy, expandedId - 1, collapseId ? collapseId - 1 : null, expandedPane && expandedPane.props.name, collapsedPane && collapsedPane.props.name]);
127
- });
128
- }, () => {});
129
- }
130
- componentDidMount() {
131
- super.componentDidMount();
132
- this.toggle(this.state.props.defaultpaneindex + 1);
133
- }
134
- renderWidget(props) {
135
- const accordionpanes = props.children;
136
- const expandedId = this.state.lastExpandedIndex || 0;
137
- return /*#__PURE__*/React.createElement(View, {
138
- style: this.styles.root
139
- }, this._background, accordionpanes ? isArray(accordionpanes) && accordionpanes.length ? accordionpanes.map((item, index) => this.renderAccordionpane(item, index, accordionpanes)) : this.renderAccordionpane(accordionpanes, 0) : null);
140
- }
141
- }
142
- //# sourceMappingURL=accordion.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Text","TouchableOpacity","View","Badge","isArray","BaseComponent","BaseComponentState","WmAccordionProps","DEFAULT_CLASS","WmIcon","isDefined","WmAccordionState","constructor","arguments","_defineProperty","WmAccordion","props","addAccordionPane","accordionPane","_this$state$isExpande","i","accordionPanes","findIndex","t","title","newIndex","state","isExpanded","find","v","toggle","defaultpaneindex","expand","accordionName","name","collapse","expandCollapseIcon","item","showBadge","length","undefined","showIcon","useChevron","widgetProps","badge","badgevalue","createElement","style","styles","activeBadge","badgetype","iconclass","flexDirection","theme","mergeStyle","icon","activeIcon","renderAccordionpane","index","accordionpanes","showIconOnLeft","leftToggleIcon","root","width","pane","key","header","firstHeader","lastHeader","activeHeader","onPress","bind","flex","justifyContent","text","heading","activeHeaderTitle","description","subheading","expandedId","collapseId","closeothers","lastExpandedIndex","collapsedPane","hide","Promise","resolve","then","expandedPane","show","setState","invokeEventCallback","proxy","componentDidMount","renderWidget","children","_background","map"],"sources":["accordion.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, TouchableOpacity, View } from 'react-native';\nimport { Badge } from 'react-native-paper';\nimport { isArray } from 'lodash';\n\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmAccordionProps from './accordion.props';\nimport { DEFAULT_CLASS, WmAccordionStyles } from './accordion.styles';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmAccordionpane from './accordionpane/accordionpane.component';\nimport { isDefined } from '@wavemaker/app-rn-runtime/core/utils';\n\nexport class WmAccordionState extends BaseComponentState<WmAccordionProps> {\n lastExpandedIndex = -1;\n isExpanded = [] as boolean[];\n}\n\nexport default class WmAccordion extends BaseComponent<WmAccordionProps, WmAccordionState, WmAccordionStyles> {\n public accordionPanes = [] as WmAccordionpane[];\n private newIndex = 0;\n\n constructor(props: WmAccordionProps) {\n super(props, DEFAULT_CLASS, new WmAccordionProps(), new WmAccordionState());\n }\n\n addAccordionPane(accordionPane: WmAccordionpane) {\n const i = this.accordionPanes.findIndex(t => t.props.title === accordionPane.props.title);\n if (i >= 0) {\n this.accordionPanes[i] = accordionPane;\n } else {\n this.accordionPanes[this.newIndex++] = accordionPane;\n }\n if (!(this.state.isExpanded?.find((v) => v))) {\n this.toggle(this.state.props.defaultpaneindex + 1);\n }\n }\n\n expand(accordionName: string) {\n const i = this.accordionPanes.findIndex(t => t.props.name === accordionName);\n this.toggle(i + 1, true);\n }\n\n collapse(accordionName: string) {\n const i = this.accordionPanes.findIndex(t => t.props.name === accordionName);\n this.toggle(i + 1, false);\n }\n\n expandCollapseIcon(item: any, showBadge = true, showIcon = true, useChevron = true, isExpanded = false) {\n const widgetProps = item.props;\n //@ts-ignore\n const badge = showBadge && widgetProps.badgevalue != undefined ? (\n <Badge style={[\n this.styles.badge,\n isExpanded ? this.styles.activeBadge: null,\n this.styles[widgetProps.badgetype || 'default']]}>\n {widgetProps.badgevalue}\n </Badge>): null;\n let iconclass = null;\n if (useChevron) {\n iconclass = isExpanded ? 'wi wi-chevron-down' : 'wi wi-chevron-up';\n } else {\n iconclass = isExpanded ? 'wi wi-minus' : 'wi wi-plus';\n }\n return (<View style={{flexDirection: 'row'}}>\n {badge}\n {showIcon ? (\n <WmIcon\n styles={this.theme.mergeStyle({}, this.styles.icon, isExpanded ? this.styles.activeIcon : null)}\n name={'expand_collapse_icon'}\n iconclass={iconclass}></WmIcon>): null}\n </View>);\n }\n\n renderAccordionpane(item: any, index: any, accordionpanes: any[] = []) {\n const showIconOnLeft = this.styles.leftToggleIcon.root.width !== undefined;\n const isExpanded = this.state.isExpanded[index];\n return (\n <View style={this.styles.pane} key={item.props.title}>\n <TouchableOpacity key={'accordionpane_' + (index + 1)}\n style={[this.styles.header,\n index === 0 ? this.styles.firstHeader: null,\n index === accordionpanes.length - 1 && !isExpanded ? this.styles.lastHeader: null,\n isExpanded ? this.styles.activeHeader : {}]}\n onPress={this.toggle.bind(this, index + 1, !isExpanded)}>\n {this.expandCollapseIcon(item, false, showIconOnLeft, true, isExpanded)}\n {item.props.iconclass ? <WmIcon styles={this.styles.icon} name={item.props.name + '_icon'} iconclass={item.props.iconclass}></WmIcon>: null}\n <View style={{flexDirection: 'column', flex: 1, justifyContent: 'center'}}>\n <Text style={[\n this.styles.text,\n this.styles.heading,\n isExpanded ? this.styles.activeHeaderTitle : {}]}>\n {isDefined(item.props.title) ? item.props.title : 'Title'}\n </Text>\n {item.props.description ? \n (<Text style={this.styles.subheading}>{item.props.description}</Text>) : null }\n </View>\n {this.expandCollapseIcon(item, true, !showIconOnLeft, true, isExpanded)}\n </TouchableOpacity>\n {item}\n </View>\n );\n }\n\n toggle(index: number, expand = true) {\n let expandedId = expand ? index : -1;\n let collapseId = expand ? -1 : index;\n if (expand && this.state.isExpanded[expandedId - 1]\n || !expand && this.state.isExpanded[collapseId - 1] === false) {\n return;\n }\n if (collapseId < 0 && this.state.props.closeothers) {\n collapseId = this.state.lastExpandedIndex;\n }\n const collapsedPane = this.accordionPanes[collapseId -1];\n collapsedPane?.hide();\n Promise.resolve().then(() => {\n const expandedPane = expandedId ? this.accordionPanes[expandedId - 1]: null;\n expandedPane?.show();\n this.setState((state) => {\n if (collapseId > 0 && collapsedPane) {\n state.isExpanded[collapseId - 1] = false;\n }\n if (expandedId > 0 && expandedPane) {\n state.isExpanded[expandedId - 1] = true;\n }\n return {\n lastExpandedIndex: expandedId,\n isExpanded: [...state.isExpanded]\n };\n }, () => {\n this.invokeEventCallback('onChange', [{},\n this.proxy,\n expandedId - 1,\n collapseId ? collapseId - 1 : null,\n expandedPane && expandedPane.props.name,\n collapsedPane && collapsedPane.props.name]);\n });\n }, () => {});\n }\n\n public componentDidMount(): void {\n super.componentDidMount();\n this.toggle(this.state.props.defaultpaneindex + 1);\n }\n\n renderWidget(props: WmAccordionProps) {\n const accordionpanes = props.children;\n const expandedId = this.state.lastExpandedIndex || 0;\n return (\n <View style={this.styles.root}>\n {this._background}\n {accordionpanes\n ? isArray(accordionpanes) && accordionpanes.length\n ? accordionpanes.map((item: any, index: any) => this.renderAccordionpane(item, index, accordionpanes))\n : this.renderAccordionpane(accordionpanes, 0)\n : null}\n </View>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,gBAAgB,EAAEC,IAAI,QAAQ,cAAc;AAC3D,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,OAAO,QAAQ,QAAQ;AAEhC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,gBAAgB,MAAM,mBAAmB;AAChD,SAASC,aAAa,QAA2B,oBAAoB;AACrE,OAAOC,MAAM,MAAM,gEAAgE;AAEnF,SAASC,SAAS,QAAQ,sCAAsC;AAEhE,OAAO,MAAMC,gBAAgB,SAASL,kBAAkB,CAAmB;EAAAM,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,4BACrD,CAAC,CAAC;IAAAA,eAAA,qBACT,EAAE;EAAA;AACjB;AAEA,eAAe,MAAMC,WAAW,SAASV,aAAa,CAAwD;EAI5GO,WAAWA,CAACI,KAAuB,EAAE;IACnC,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IAAI,CAACD,mBAAmB,CAACpB,IAAI,EAAEqB,KAAK,EAAEC,cAAc,CAAC,CAAC,GACpG,IAAI,CAACF,mBAAmB,CAACE,cAAc,EAAE,CAAC,CAAC,GAC7C,IACF,CAAC;EAEb;AACF"}
@@ -1,94 +0,0 @@
1
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
- import React, { useState } from 'react';
5
- import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
6
- import WmAccordionpaneProps from './accordionpane.props';
7
- import { DEFAULT_CLASS } from './accordionpane.styles';
8
- import { View } from 'react-native';
9
- import { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';
10
- const Animated = isWebPreviewMode() ? {} : require('react-native-reanimated');
11
- export class WmAccordionpaneState extends BaseComponentState {
12
- constructor() {
13
- super(...arguments);
14
- _defineProperty(this, "isPartialLoaded", false);
15
- _defineProperty(this, "collapsed", true);
16
- }
17
- }
18
- const AnimatedView = props => {
19
- const [height, setHeight] = useState(0);
20
- const offset = Animated.useSharedValue(0);
21
- offset.value = props.close ? 0 : 1;
22
- const onLayoutChange = e => {
23
- var _e$nativeEvent;
24
- setHeight((((_e$nativeEvent = e.nativeEvent) === null || _e$nativeEvent === void 0 || (_e$nativeEvent = _e$nativeEvent.layout) === null || _e$nativeEvent === void 0 ? void 0 : _e$nativeEvent.height) || height || 100000000) + 1000);
25
- };
26
- const animatedStyles = Animated.useAnimatedStyle(() => {
27
- return {
28
- maxHeight: Animated.withTiming(offset.value * height)
29
- };
30
- });
31
- return /*#__PURE__*/React.createElement(Animated.default.View, {
32
- style: [animatedStyles]
33
- }, /*#__PURE__*/React.createElement(View, {
34
- onLayout: onLayoutChange
35
- }, props.children));
36
- };
37
- export default class WmAccordionpane extends BaseComponent {
38
- constructor(props) {
39
- super(props, DEFAULT_CLASS, new WmAccordionpaneProps(), new WmAccordionpaneState());
40
- }
41
- isCollapsed() {
42
- return this.state.collapsed;
43
- }
44
- show() {
45
- this.updateState({
46
- collapsed: false
47
- });
48
- this.invokeEventCallback('onExpand', [null, this.proxy]);
49
- }
50
- hide() {
51
- this.updateState({
52
- collapsed: true
53
- });
54
- this.invokeEventCallback('onCollapse', [null, this.proxy]);
55
- }
56
- expand() {
57
- this.parent.expand(this.props.name || '');
58
- }
59
- collapse() {
60
- this.parent.expand(this.props.name || '');
61
- }
62
- componentDidMount() {
63
- const accordion = this.parent;
64
- accordion.addAccordionPane(this);
65
- super.componentDidMount();
66
- }
67
- onPartialLoad() {
68
- this.invokeEventCallback('onLoad', [this]);
69
- }
70
- renderContent(props) {
71
- if (props.renderPartial) {
72
- if (!this.state.isPartialLoaded) {
73
- setTimeout(() => {
74
- this.updateState({
75
- isPartialLoaded: true
76
- });
77
- });
78
- }
79
- return props.renderPartial(props, this.onPartialLoad.bind(this));
80
- }
81
- return props.children;
82
- }
83
- renderWidget(props) {
84
- return isWebPreviewMode() ? /*#__PURE__*/React.createElement(View, {
85
- style: this.state.collapsed ? {
86
- maxHeight: 0,
87
- overflow: 'hidden'
88
- } : {}
89
- }, this._background, this.renderContent(props)) : /*#__PURE__*/React.createElement(AnimatedView, {
90
- close: this.state.collapsed
91
- }, this._background, this.renderContent(props));
92
- }
93
- }
94
- //# sourceMappingURL=accordionpane.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","useState","BaseComponent","BaseComponentState","WmAccordionpaneProps","DEFAULT_CLASS","View","isWebPreviewMode","Animated","require","WmAccordionpaneState","constructor","arguments","_defineProperty","AnimatedView","props","height","setHeight","offset","useSharedValue","value","close","onLayoutChange","e","_e$nativeEvent","nativeEvent","layout","animatedStyles","useAnimatedStyle","maxHeight","withTiming","createElement","default","style","onLayout","children","WmAccordionpane","isCollapsed","state","collapsed","show","updateState","invokeEventCallback","proxy","hide","expand","parent","name","collapse","componentDidMount","accordion","addAccordionPane","onPartialLoad","renderContent","renderPartial","isPartialLoaded","setTimeout","bind","renderWidget","overflow","_background"],"sources":["accordionpane.component.tsx"],"sourcesContent":["import React, { useCallback, useMemo, useState } from 'react';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmAccordionpaneProps from './accordionpane.props';\nimport { DEFAULT_CLASS, WmAccordionpaneStyles } from './accordionpane.styles';\nimport WmAccordion from '../accordion.component';\nimport { LayoutChangeEvent, View } from 'react-native';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\n\nconst Animated: any = isWebPreviewMode() ? {} : require('react-native-reanimated');\n\nexport class WmAccordionpaneState extends BaseComponentState<WmAccordionpaneProps> {\n isPartialLoaded = false;\n collapsed = true;\n}\n\nconst AnimatedView = (props: {\n close: boolean,\n children: any\n}) => {\n const [height, setHeight] = useState(0);\n const offset = Animated.useSharedValue(0);\n offset.value = props.close ? 0 : 1;\n const onLayoutChange = (e: LayoutChangeEvent) => {\n setHeight((e.nativeEvent?.layout?.height || height || 100000000) + 1000);\n };\n const animatedStyles = Animated.useAnimatedStyle(() => {\n return {\n maxHeight: Animated.withTiming(offset.value * height)\n };\n });\n return (\n <Animated.default.View style={[animatedStyles]}>\n <View onLayout={onLayoutChange}>\n {props.children}\n </View>\n </Animated.default.View>\n );\n};\n\nexport default class WmAccordionpane extends BaseComponent<WmAccordionpaneProps, WmAccordionpaneState, WmAccordionpaneStyles> {\n\n constructor(props: WmAccordionpaneProps) {\n super(props, DEFAULT_CLASS, new WmAccordionpaneProps(), new WmAccordionpaneState());\n }\n\n isCollapsed() {\n return this.state.collapsed;\n }\n \n show() {\n this.updateState({\n collapsed: false\n } as WmAccordionpaneState);\n this.invokeEventCallback('onExpand', [null, this.proxy]);\n }\n\n hide() {\n this.updateState({\n collapsed: true\n } as WmAccordionpaneState);\n this.invokeEventCallback('onCollapse', [null, this.proxy]);\n }\n\n expand() {\n (this.parent as WmAccordion).expand(this.props.name || '');\n }\n\n collapse() {\n (this.parent as WmAccordion).expand(this.props.name || '');\n }\n\n componentDidMount() {\n const accordion = (this.parent) as WmAccordion;\n accordion.addAccordionPane(this);\n super.componentDidMount();\n }\n\n onPartialLoad() {\n this.invokeEventCallback('onLoad', [this]);\n }\n\n renderContent(props: WmAccordionpaneProps) {\n if (props.renderPartial) {\n if (!this.state.isPartialLoaded) {\n setTimeout(() => {\n this.updateState({\n isPartialLoaded: true\n } as WmAccordionpaneState);\n });\n }\n return props.renderPartial(props, this.onPartialLoad.bind(this));\n }\n return props.children;\n }\n renderWidget(props: WmAccordionpaneProps) {\n return isWebPreviewMode() ? \n (<View style={this.state.collapsed ? {maxHeight: 0, overflow: 'hidden'} : {}}>\n {this._background}\n {this.renderContent(props)}\n </View>) :\n (<AnimatedView close={this.state.collapsed}>\n {this._background}\n {this.renderContent(props)}\n </AnimatedView>);\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,IAA0BC,QAAQ,QAAQ,OAAO;AAC7D,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,oBAAoB,MAAM,uBAAuB;AACxD,SAASC,aAAa,QAA+B,wBAAwB;AAE7E,SAA4BC,IAAI,QAAQ,cAAc;AACtD,SAASC,gBAAgB,QAAQ,sCAAsC;AAEvE,MAAMC,QAAa,GAAGD,gBAAgB,CAAC,CAAC,GAAG,CAAC,CAAC,GAAGE,OAAO,CAAC,yBAAyB,CAAC;AAElF,OAAO,MAAMC,oBAAoB,SAASP,kBAAkB,CAAuB;EAAAQ,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,0BAC/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CAACvC,KAAK,EAAE,IAAI,CAACqC,aAAa,CAACK,IAAI,CAAC,IAAI,CAAC,CAAC;IAClE;IACA,OAAO1C,KAAK,CAACoB,QAAQ;EACvB;EACAuB,YAAYA,CAAC3C,KAA2B,EAAE;IACxC,OAAOR,gBAAgB,CAAC,CAAC,gBACxBP,KAAA,CAAA+B,aAAA,CAACzB,IAAI;MAAC2B,KAAK,EAAE,IAAI,CAACK,KAAK,CAACC,SAAS,GAAG;QAACV,SAAS,EAAE,CAAC;QAAE8B,QAAQ,EAAE;MAAQ,CAAC,GAAG,CAAC;IAAE,GAC1E,IAAI,CAACC,WAAW,EAChB,IAAI,CAACP,aAAa,CAACtC,KAAK,CACrB,CAAC,gBACNf,KAAA,CAAA+B,aAAA,CAACjB,YAAY;MAACO,KAAK,EAAE,IAAI,CAACiB,KAAK,CAACC;IAAU,GACxC,IAAI,CAACqB,WAAW,EAChB,IAAI,CAACP,aAAa,CAACtC,KAAK,CACb,CAAE;EAClB;AACF"}
@@ -1,37 +0,0 @@
1
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
- import React from 'react';
5
- import { View } from 'react-native';
6
- import WmContainerProps from './container.props';
7
- import { DEFAULT_CLASS } from './container.styles';
8
- import { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
9
- import { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';
10
- import { PartialHost, PartialHostState } from './partial-host.component';
11
- export class WmContainerState extends PartialHostState {
12
- constructor() {
13
- super(...arguments);
14
- _defineProperty(this, "isPartialLoaded", false);
15
- }
16
- }
17
- export default class WmContainer extends PartialHost {
18
- constructor(props) {
19
- super(props, DEFAULT_CLASS, new WmContainerProps());
20
- }
21
- renderWidget(props) {
22
- const dimensions = {
23
- width: this.styles.root.width ? '100%' : undefined,
24
- height: this.styles.root.height ? '100%' : undefined
25
- };
26
- return /*#__PURE__*/React.createElement(Animatedview, {
27
- entryanimation: props.animation,
28
- style: this.styles.root
29
- }, this._background, /*#__PURE__*/React.createElement(Tappable, {
30
- target: this,
31
- styles: dimensions
32
- }, /*#__PURE__*/React.createElement(View, {
33
- style: [dimensions, this.styles.content]
34
- }, this.renderContent(props))));
35
- }
36
- }
37
- //# sourceMappingURL=container.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","WmContainerProps","DEFAULT_CLASS","Tappable","Animatedview","PartialHost","PartialHostState","WmContainerState","constructor","arguments","_defineProperty","WmContainer","props","renderWidget","dimensions","width","styles","root","undefined","height","createElement","entryanimation","animation","style","_background","target","content","renderContent"],"sources":["container.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, ViewStyle } from 'react-native';\n\nimport WmContainerProps from './container.props';\nimport { DEFAULT_CLASS, WmContainerStyles } from './container.styles';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport { PartialHost, PartialHostState } from './partial-host.component';\n\nexport class WmContainerState extends PartialHostState<WmContainerProps> {\n isPartialLoaded = false;\n}\n\nexport default class WmContainer extends PartialHost<WmContainerProps, WmContainerState, WmContainerStyles> {\n constructor(props: WmContainerProps) {\n super(props, DEFAULT_CLASS, new WmContainerProps());\n }\n\n renderWidget(props: WmContainerProps) {\n const dimensions = {\n width: this.styles.root.width ? '100%' : undefined,\n height: this.styles.root.height ? '100%' : undefined\n };\n return (\n <Animatedview entryanimation={props.animation} style={this.styles.root}>\n {this._background}\n <Tappable target={this} styles={dimensions}>\n <View style={[dimensions as ViewStyle, this.styles.content]}>{this.renderContent(props)}</View>\n </Tappable>\n </Animatedview>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAmB,cAAc;AAE9C,OAAOC,gBAAgB,MAAM,mBAAmB;AAChD,SAASC,aAAa,QAA2B,oBAAoB;AACrE,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAASC,WAAW,EAAEC,gBAAgB,QAAQ,0BAA0B;AAExE,OAAO,MAAMC,gBAAgB,SAASD,gBAAgB,CAAmB;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,0BACrD,KAAK;EAAA;AACzB;AAEA,eAAe,MAAMC,WAAW,SAASN,WAAW,CAAwD;EAC1GG,WAAWA,CAACI,KAAuB,EAAE;IACnC,KAAK,CAACA,KAAK,EAAEV,aAAa,EAAE,IAAID,gBAAgB,CAAC,CAAC,CAAC;EACrD;EAEAY,YAAYA,CAACD,KAAuB,EAAE;IACpC,MAAME,UAAU,GAAG;MACjBC,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC,IAAI,CAACF,KAAK,GAAG,MAAM,GAAGG,SAAS;MAClDC,MAAM,EAAE,IAAI,CAACH,MAAM,CAACC,IAAI,CAACE,MAAM,GAAG,MAAM,GAAGD;IAC7C,CAAC;IACD,oBACEnB,KAAA,CAAAqB,aAAA,CAAChB,YAAY;MAACiB,cAAc,EAAET,KAAK,CAACU,SAAU;MAACC,KAAK,EAAE,IAAI,CAACP,MAAM,CAACC;IAAK,GACpE,IAAI,CAACO,WAAW,eACjBzB,KAAA,CAAAqB,aAAA,CAACjB,QAAQ;MAACsB,MAAM,EAAE,IAAK;MAACT,MAAM,EAAEF;IAAW,gBACvCf,KAAA,CAAAqB,aAAA,CAACpB,IAAI;MAACuB,KAAK,EAAE,CAACT,UAAU,EAAgB,IAAI,CAACE,MAAM,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