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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (946) hide show
  1. {app-rn-runtime → package}/components/basic/anchor/anchor.component.js +3 -1
  2. package/components/basic/anchor/anchor.component.js.map +1 -0
  3. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js +1 -0
  4. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js.map +1 -1
  5. {app-rn-runtime → package}/components/basic/button/button.component.js +3 -1
  6. package/components/basic/button/button.component.js.map +1 -0
  7. {app-rn-runtime → package}/components/basic/button/button.styles.js +2 -1
  8. package/components/basic/button/button.styles.js.map +1 -0
  9. {app-rn-runtime → package}/components/basic/label/label.component.js +18 -10
  10. package/components/basic/label/label.component.js.map +1 -0
  11. {app-rn-runtime → package}/components/basic/search/search.component.js +8 -2
  12. package/components/basic/search/search.component.js.map +1 -0
  13. {app-rn-runtime → package}/components/basic/search/search.props.js +1 -0
  14. {app-rn-runtime → package}/components/basic/search/search.props.js.map +1 -1
  15. package/components/basic/tooltip/tooltip.component.js +79 -0
  16. package/components/basic/tooltip/tooltip.component.js.map +1 -0
  17. package/components/basic/tooltip/tooltip.props.js +18 -0
  18. package/components/basic/tooltip/tooltip.props.js.map +1 -0
  19. package/components/basic/tooltip/tooltip.styles.js +49 -0
  20. package/components/basic/tooltip/tooltip.styles.js.map +1 -0
  21. {app-rn-runtime → package}/components/chart/basechart.component.js +1 -0
  22. package/components/chart/basechart.component.js.map +1 -0
  23. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js +17 -10
  24. package/components/chart/stack-chart/stack-chart.component.js.map +1 -0
  25. {app-rn-runtime → package}/components/container/accordion/accordion.component.js +2 -2
  26. package/components/container/accordion/accordion.component.js.map +1 -0
  27. {app-rn-runtime → package}/components/container/container.component.js +1 -10
  28. package/components/container/container.component.js.map +1 -0
  29. {app-rn-runtime → package}/components/container/container.props.js +0 -1
  30. {app-rn-runtime → package}/components/container/container.props.js.map +1 -1
  31. {app-rn-runtime → package}/components/container/panel/panel.component.js +1 -1
  32. package/components/container/panel/panel.component.js.map +1 -0
  33. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.component.js +1 -1
  34. package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
  35. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js +20 -4
  36. package/components/container/tabs/tabpane/tabpane.component.js.map +1 -0
  37. {app-rn-runtime → package}/components/container/tabs/tabs.component.js +3 -0
  38. package/components/container/tabs/tabs.component.js.map +1 -0
  39. {app-rn-runtime → package}/components/container/wizard/wizard.component.js +1 -1
  40. package/components/container/wizard/wizard.component.js.map +1 -0
  41. {app-rn-runtime → package}/components/data/form/form-action/form-action.component.js +1 -0
  42. package/components/data/form/form-action/form-action.component.js.map +1 -0
  43. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js +1 -0
  44. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js.map +1 -1
  45. {app-rn-runtime → package}/components/data/form/form-field/form-field.component.js +11 -0
  46. package/components/data/form/form-field/form-field.component.js.map +1 -0
  47. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js +3 -0
  48. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js.map +1 -1
  49. {app-rn-runtime → package}/components/data/form/form.component.js +27 -5
  50. package/components/data/form/form.component.js.map +1 -0
  51. {app-rn-runtime → package}/components/data/form/form.props.js +3 -0
  52. package/components/data/form/form.props.js.map +1 -0
  53. {app-rn-runtime → package}/components/data/list/list.component.js +63 -56
  54. package/components/data/list/list.component.js.map +1 -0
  55. {app-rn-runtime → package}/components/data/list/list.props.js +2 -0
  56. package/components/data/list/list.props.js.map +1 -0
  57. {app-rn-runtime → package}/components/data/list/list.styles.js +5 -3
  58. package/components/data/list/list.styles.js.map +1 -0
  59. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js +4 -0
  60. package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -0
  61. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js +2 -2
  62. package/components/input/basedataset/basedataset.component.js.map +1 -0
  63. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js +3 -1
  64. package/components/input/baseinput/baseinput.component.js.map +1 -0
  65. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js +2 -0
  66. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js.map +1 -1
  67. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.component.js +13 -4
  68. package/components/input/checkboxset/checkboxset.component.js.map +1 -0
  69. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js +1 -0
  70. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js.map +1 -1
  71. {app-rn-runtime → package}/components/input/epoch/base-datetime.component.js +74 -1
  72. package/components/input/epoch/base-datetime.component.js.map +1 -0
  73. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js +2 -0
  74. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js.map +1 -1
  75. package/components/input/epoch/wheel-date-picker.component.js +87 -0
  76. package/components/input/epoch/wheel-date-picker.component.js.map +1 -0
  77. package/components/input/epoch/wheel-time-picker.component.js +107 -0
  78. package/components/input/epoch/wheel-time-picker.component.js.map +1 -0
  79. package/components/input/epoch/wheelpicker/wheelpicker.component.js +90 -0
  80. package/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -0
  81. package/components/input/epoch/wheelpicker/wheelpicker.props.js +17 -0
  82. package/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -0
  83. package/components/input/epoch/wheelpicker/wheelpicker.styles.js +55 -0
  84. package/components/input/epoch/wheelpicker/wheelpicker.styles.js.map +1 -0
  85. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +72 -0
  86. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -0
  87. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +15 -0
  88. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -0
  89. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js +66 -0
  90. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js.map +1 -0
  91. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +74 -0
  92. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +1 -0
  93. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +16 -0
  94. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -0
  95. package/components/input/radioset/radioset.component.js +94 -0
  96. package/components/input/radioset/radioset.component.js.map +1 -0
  97. {app-rn-runtime → package}/components/input/radioset/radioset.props.js +1 -0
  98. {app-rn-runtime → package}/components/input/radioset/radioset.props.js.map +1 -1
  99. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js +35 -2
  100. package/components/input/radioset/radioset.styles.js.map +1 -0
  101. package/components/input/slider/slider.component.js +439 -0
  102. package/components/input/slider/slider.component.js.map +1 -0
  103. package/components/input/slider/slider.component_backup.js +398 -0
  104. package/components/input/slider/slider.component_backup.js.map +1 -0
  105. {app-rn-runtime → package}/components/input/slider/slider.props.js +9 -5
  106. package/components/input/slider/slider.props.js.map +1 -0
  107. {app-rn-runtime → package}/components/input/slider/slider.styles.js +25 -2
  108. package/components/input/slider/slider.styles.js.map +1 -0
  109. {app-rn-runtime → package}/components/input/switch/switch.component.js +1 -1
  110. {app-rn-runtime → package}/components/input/switch/switch.component.js.map +1 -1
  111. {app-rn-runtime → package}/components/input/switch/switch.styles.js +6 -1
  112. package/components/input/switch/switch.styles.js.map +1 -0
  113. {app-rn-runtime → package}/components/input/text/text.component.js +4 -2
  114. package/components/input/text/text.component.js.map +1 -0
  115. {app-rn-runtime → package}/components/input/toggle/toggle.component.js +3 -2
  116. package/components/input/toggle/toggle.component.js.map +1 -0
  117. package/components/navigation/navbar/navbar.props.js.map +1 -0
  118. package/components/navigation/navitem/navitem.component.js.map +1 -0
  119. package/components/navigation/navitem/navitem.props.js.map +1 -0
  120. {app-rn-runtime → package}/components/navigation/popover/popover.component.js +4 -0
  121. package/components/navigation/popover/popover.component.js.map +1 -0
  122. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js +4 -0
  123. package/components/page/left-panel/left-panel.component.js.map +1 -0
  124. {app-rn-runtime → package}/core/accessibility.js +2 -2
  125. package/core/accessibility.js.map +1 -0
  126. {app-rn-runtime → package}/core/base.component.js +33 -18
  127. package/core/base.component.js.map +1 -0
  128. package/core/components/flatlist.component.js +38 -0
  129. package/core/components/flatlist.component.js.map +1 -0
  130. package/core/components/textinput.component.js +193 -0
  131. package/core/components/textinput.component.js.map +1 -0
  132. {app-rn-runtime → package}/core/event-notifier.js +31 -8
  133. package/core/event-notifier.js.map +1 -0
  134. {app-rn-runtime → package}/core/formatters.js +14 -1
  135. package/core/formatters.js.map +1 -0
  136. {app-rn-runtime → package}/core/tappable.component.js +75 -39
  137. package/core/tappable.component.js.map +1 -0
  138. {app-rn-runtime → package}/core/utils.js +62 -0
  139. package/core/utils.js.map +1 -0
  140. {app-rn-runtime → package}/package.json +4 -3
  141. {app-rn-runtime → package}/runtime/App.js +13 -3
  142. package/runtime/App.js.map +1 -0
  143. {app-rn-runtime → package}/runtime/base-fragment.component.js +5 -1
  144. package/runtime/base-fragment.component.js.map +1 -0
  145. {app-rn-runtime → package}/runtime/base-page.component.js +10 -2
  146. package/runtime/base-page.component.js.map +1 -0
  147. {app-rn-runtime → package}/runtime/base-partial.component.js +10 -5
  148. package/runtime/base-partial.component.js.map +1 -0
  149. {app-rn-runtime → package}/runtime/services/app-security.service.js +21 -7
  150. package/runtime/services/app-security.service.js.map +1 -0
  151. {app-rn-runtime → package}/styles/background.component.js +15 -4
  152. package/styles/background.component.js.map +1 -0
  153. {app-rn-runtime → package}/styles/theme.variables.js +7 -0
  154. package/styles/theme.variables.js.map +1 -0
  155. package/variables/device/device/network-info.operation.js +33 -0
  156. package/variables/device/device/network-info.operation.js.map +1 -0
  157. package/variables/device/operation.provider.js.map +1 -0
  158. {app-rn-runtime → package}/variables/device-variable.js +1 -1
  159. package/variables/device-variable.js.map +1 -0
  160. app-rn-runtime/components/basic/anchor/anchor.component.js.map +0 -1
  161. app-rn-runtime/components/basic/button/button.component.js.map +0 -1
  162. app-rn-runtime/components/basic/button/button.styles.js.map +0 -1
  163. app-rn-runtime/components/basic/label/label.component.js.map +0 -1
  164. app-rn-runtime/components/basic/search/search.component.js.map +0 -1
  165. app-rn-runtime/components/chart/basechart.component.js.map +0 -1
  166. app-rn-runtime/components/chart/stack-chart/stack-chart.component.js.map +0 -1
  167. app-rn-runtime/components/container/accordion/accordion.component.js.map +0 -1
  168. app-rn-runtime/components/container/container.component.js.map +0 -1
  169. app-rn-runtime/components/container/panel/panel.component.js.map +0 -1
  170. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +0 -1
  171. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js.map +0 -1
  172. app-rn-runtime/components/container/tabs/tabs.component.js.map +0 -1
  173. app-rn-runtime/components/container/wizard/wizard.component.js.map +0 -1
  174. app-rn-runtime/components/data/form/form-action/form-action.component.js.map +0 -1
  175. app-rn-runtime/components/data/form/form-field/form-field.component.js.map +0 -1
  176. app-rn-runtime/components/data/form/form.component.js.map +0 -1
  177. app-rn-runtime/components/data/form/form.props.js.map +0 -1
  178. app-rn-runtime/components/data/list/list.component.js.map +0 -1
  179. app-rn-runtime/components/data/list/list.props.js.map +0 -1
  180. app-rn-runtime/components/data/list/list.styles.js.map +0 -1
  181. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js.map +0 -1
  182. app-rn-runtime/components/input/basedataset/basedataset.component.js.map +0 -1
  183. app-rn-runtime/components/input/baseinput/baseinput.component.js.map +0 -1
  184. app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +0 -1
  185. app-rn-runtime/components/input/epoch/base-datetime.component.js.map +0 -1
  186. app-rn-runtime/components/input/radioset/radioset.component.js +0 -68
  187. app-rn-runtime/components/input/radioset/radioset.component.js.map +0 -1
  188. app-rn-runtime/components/input/radioset/radioset.styles.js.map +0 -1
  189. app-rn-runtime/components/input/slider/slider.component.js +0 -153
  190. app-rn-runtime/components/input/slider/slider.component.js.map +0 -1
  191. app-rn-runtime/components/input/slider/slider.props.js.map +0 -1
  192. app-rn-runtime/components/input/slider/slider.styles.js.map +0 -1
  193. app-rn-runtime/components/input/switch/switch.styles.js.map +0 -1
  194. app-rn-runtime/components/input/text/text.component.js.map +0 -1
  195. app-rn-runtime/components/input/toggle/toggle.component.js.map +0 -1
  196. app-rn-runtime/components/navigation/navbar/navbar.props.js.map +0 -1
  197. app-rn-runtime/components/navigation/navitem/navitem.component.js.map +0 -1
  198. app-rn-runtime/components/navigation/navitem/navitem.props.js.map +0 -1
  199. app-rn-runtime/components/navigation/popover/popover.component.js.map +0 -1
  200. app-rn-runtime/components/page/left-panel/left-panel.component.js.map +0 -1
  201. app-rn-runtime/core/accessibility.js.map +0 -1
  202. app-rn-runtime/core/base.component.js.map +0 -1
  203. app-rn-runtime/core/components/textinput.component.js +0 -60
  204. app-rn-runtime/core/components/textinput.component.js.map +0 -1
  205. app-rn-runtime/core/event-notifier.js.map +0 -1
  206. app-rn-runtime/core/formatters.js.map +0 -1
  207. app-rn-runtime/core/tappable.component.js.map +0 -1
  208. app-rn-runtime/core/utils.js.map +0 -1
  209. app-rn-runtime/runtime/App.js.map +0 -1
  210. app-rn-runtime/runtime/base-fragment.component.js.map +0 -1
  211. app-rn-runtime/runtime/base-page.component.js.map +0 -1
  212. app-rn-runtime/runtime/base-partial.component.js.map +0 -1
  213. app-rn-runtime/runtime/services/app-security.service.js.map +0 -1
  214. app-rn-runtime/styles/background.component.js.map +0 -1
  215. app-rn-runtime/styles/theme.variables.js.map +0 -1
  216. app-rn-runtime/variables/device/device/network-info.operation.js +0 -13
  217. app-rn-runtime/variables/device/device/network-info.operation.js.map +0 -1
  218. app-rn-runtime/variables/device/operation.provider.js.map +0 -1
  219. app-rn-runtime/variables/device-variable.js.map +0 -1
  220. {app-rn-runtime → package}/actions/base-action.js +0 -0
  221. {app-rn-runtime → package}/actions/base-action.js.map +0 -0
  222. {app-rn-runtime → package}/actions/index.js +0 -0
  223. {app-rn-runtime → package}/actions/index.js.map +0 -0
  224. {app-rn-runtime → package}/actions/login-action.js +0 -0
  225. {app-rn-runtime → package}/actions/login-action.js.map +0 -0
  226. {app-rn-runtime → package}/actions/logout-action.js +0 -0
  227. {app-rn-runtime → package}/actions/logout-action.js.map +0 -0
  228. {app-rn-runtime → package}/actions/navigation-action.js +0 -0
  229. {app-rn-runtime → package}/actions/navigation-action.js.map +0 -0
  230. {app-rn-runtime → package}/actions/notification-action.js +0 -0
  231. {app-rn-runtime → package}/actions/notification-action.js.map +0 -0
  232. {app-rn-runtime → package}/actions/timer-action.js +0 -0
  233. {app-rn-runtime → package}/actions/timer-action.js.map +0 -0
  234. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js +0 -0
  235. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js.map +0 -0
  236. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js +0 -0
  237. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js.map +0 -0
  238. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js +0 -0
  239. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +0 -0
  240. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js +0 -0
  241. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js.map +0 -0
  242. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js +0 -0
  243. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js.map +0 -0
  244. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js +0 -0
  245. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +0 -0
  246. {app-rn-runtime → package}/components/advanced/carousel/carousel.component.js +0 -0
  247. {app-rn-runtime → package}/components/advanced/carousel/carousel.component.js.map +0 -0
  248. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js +0 -0
  249. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js.map +0 -0
  250. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js +0 -0
  251. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js.map +0 -0
  252. {app-rn-runtime → package}/components/advanced/login/login.component.js +0 -0
  253. {app-rn-runtime → package}/components/advanced/login/login.component.js.map +0 -0
  254. {app-rn-runtime → package}/components/advanced/login/login.props.js +0 -0
  255. {app-rn-runtime → package}/components/advanced/login/login.props.js.map +0 -0
  256. {app-rn-runtime → package}/components/advanced/login/login.styles.js +0 -0
  257. {app-rn-runtime → package}/components/advanced/login/login.styles.js.map +0 -0
  258. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js +0 -0
  259. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js.map +0 -0
  260. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js +0 -0
  261. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js.map +0 -0
  262. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js +0 -0
  263. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +0 -0
  264. {app-rn-runtime → package}/components/advanced/webview/webview.component.js +0 -0
  265. {app-rn-runtime → package}/components/advanced/webview/webview.component.js.map +0 -0
  266. {app-rn-runtime → package}/components/advanced/webview/webview.props.js +0 -0
  267. {app-rn-runtime → package}/components/advanced/webview/webview.props.js.map +0 -0
  268. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js +0 -0
  269. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
  270. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js +0 -0
  271. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js.map +0 -0
  272. {app-rn-runtime → package}/components/basic/animatedview.component.js +0 -0
  273. {app-rn-runtime → package}/components/basic/animatedview.component.js.map +0 -0
  274. {app-rn-runtime → package}/components/basic/audio/audio.component.js +0 -0
  275. {app-rn-runtime → package}/components/basic/audio/audio.component.js.map +0 -0
  276. {app-rn-runtime → package}/components/basic/audio/audio.props.js +0 -0
  277. {app-rn-runtime → package}/components/basic/audio/audio.props.js.map +0 -0
  278. {app-rn-runtime → package}/components/basic/audio/audio.styles.js +0 -0
  279. {app-rn-runtime → package}/components/basic/audio/audio.styles.js.map +0 -0
  280. {app-rn-runtime → package}/components/basic/button/button.props.js +0 -0
  281. {app-rn-runtime → package}/components/basic/button/button.props.js.map +0 -0
  282. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js +0 -0
  283. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js.map +0 -0
  284. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js +0 -0
  285. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js.map +0 -0
  286. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js +0 -0
  287. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js.map +0 -0
  288. {app-rn-runtime → package}/components/basic/custom/custom.component.js +0 -0
  289. {app-rn-runtime → package}/components/basic/custom/custom.component.js.map +0 -0
  290. {app-rn-runtime → package}/components/basic/custom/custom.props.js +0 -0
  291. {app-rn-runtime → package}/components/basic/custom/custom.props.js.map +0 -0
  292. {app-rn-runtime → package}/components/basic/custom/custom.styles.js +0 -0
  293. {app-rn-runtime → package}/components/basic/custom/custom.styles.js.map +0 -0
  294. {app-rn-runtime → package}/components/basic/icon/icon.component.js +0 -0
  295. {app-rn-runtime → package}/components/basic/icon/icon.component.js.map +0 -0
  296. {app-rn-runtime → package}/components/basic/icon/icon.props.js +0 -0
  297. {app-rn-runtime → package}/components/basic/icon/icon.props.js.map +0 -0
  298. {app-rn-runtime → package}/components/basic/icon/icon.styles.js +0 -0
  299. {app-rn-runtime → package}/components/basic/icon/icon.styles.js.map +0 -0
  300. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +0 -0
  301. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +0 -0
  302. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
  303. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +0 -0
  304. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +0 -0
  305. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
  306. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js +0 -0
  307. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js.map +0 -0
  308. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.ttf +0 -0
  309. {app-rn-runtime → package}/components/basic/label/label.props.js +0 -0
  310. {app-rn-runtime → package}/components/basic/label/label.props.js.map +0 -0
  311. {app-rn-runtime → package}/components/basic/label/label.styles.js +0 -0
  312. {app-rn-runtime → package}/components/basic/label/label.styles.js.map +0 -0
  313. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js +0 -0
  314. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js.map +0 -0
  315. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js +0 -0
  316. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js.map +0 -0
  317. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js +0 -0
  318. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js.map +0 -0
  319. {app-rn-runtime → package}/components/basic/message/message.component.js +0 -0
  320. {app-rn-runtime → package}/components/basic/message/message.component.js.map +0 -0
  321. {app-rn-runtime → package}/components/basic/message/message.props.js +0 -0
  322. {app-rn-runtime → package}/components/basic/message/message.props.js.map +0 -0
  323. {app-rn-runtime → package}/components/basic/message/message.styles.js +0 -0
  324. {app-rn-runtime → package}/components/basic/message/message.styles.js.map +0 -0
  325. {app-rn-runtime → package}/components/basic/modal/modal.component.js +0 -0
  326. {app-rn-runtime → package}/components/basic/modal/modal.component.js.map +0 -0
  327. {app-rn-runtime → package}/components/basic/modal/modal.props.js +0 -0
  328. {app-rn-runtime → package}/components/basic/modal/modal.props.js.map +0 -0
  329. {app-rn-runtime → package}/components/basic/modal/modal.styles.js +0 -0
  330. {app-rn-runtime → package}/components/basic/modal/modal.styles.js.map +0 -0
  331. {app-rn-runtime → package}/components/basic/picture/picture.component.js +0 -0
  332. {app-rn-runtime → package}/components/basic/picture/picture.component.js.map +0 -0
  333. {app-rn-runtime → package}/components/basic/picture/picture.props.js +0 -0
  334. {app-rn-runtime → package}/components/basic/picture/picture.props.js.map +0 -0
  335. {app-rn-runtime → package}/components/basic/picture/picture.styles.js +0 -0
  336. {app-rn-runtime → package}/components/basic/picture/picture.styles.js.map +0 -0
  337. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js +0 -0
  338. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js.map +0 -0
  339. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js +0 -0
  340. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js.map +0 -0
  341. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js +0 -0
  342. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js.map +0 -0
  343. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js +0 -0
  344. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js.map +0 -0
  345. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js +0 -0
  346. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js.map +0 -0
  347. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js +0 -0
  348. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js.map +0 -0
  349. {app-rn-runtime → package}/components/basic/search/local-data-provider.js +0 -0
  350. {app-rn-runtime → package}/components/basic/search/local-data-provider.js.map +0 -0
  351. {app-rn-runtime → package}/components/basic/search/search.styles.js +0 -0
  352. {app-rn-runtime → package}/components/basic/search/search.styles.js.map +0 -0
  353. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js +0 -0
  354. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js.map +0 -0
  355. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js +0 -0
  356. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js.map +0 -0
  357. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js +0 -0
  358. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js.map +0 -0
  359. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js +0 -0
  360. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js.map +0 -0
  361. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js +0 -0
  362. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js.map +0 -0
  363. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js +0 -0
  364. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js.map +0 -0
  365. {app-rn-runtime → package}/components/basic/video/video.component.js +0 -0
  366. {app-rn-runtime → package}/components/basic/video/video.component.js.map +0 -0
  367. {app-rn-runtime → package}/components/basic/video/video.props.js +0 -0
  368. {app-rn-runtime → package}/components/basic/video/video.props.js.map +0 -0
  369. {app-rn-runtime → package}/components/basic/video/video.styles.js +0 -0
  370. {app-rn-runtime → package}/components/basic/video/video.styles.js.map +0 -0
  371. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js +0 -0
  372. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js.map +0 -0
  373. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js +0 -0
  374. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js.map +0 -0
  375. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js +0 -0
  376. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js.map +0 -0
  377. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js +0 -0
  378. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js.map +0 -0
  379. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js +0 -0
  380. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js.map +0 -0
  381. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js +0 -0
  382. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
  383. {app-rn-runtime → package}/components/chart/basechart.props.js +0 -0
  384. {app-rn-runtime → package}/components/chart/basechart.props.js.map +0 -0
  385. {app-rn-runtime → package}/components/chart/basechart.styles.js +0 -0
  386. {app-rn-runtime → package}/components/chart/basechart.styles.js.map +0 -0
  387. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js +0 -0
  388. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js.map +0 -0
  389. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js +0 -0
  390. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js.map +0 -0
  391. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js +0 -0
  392. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js.map +0 -0
  393. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js +0 -0
  394. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js.map +0 -0
  395. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js +0 -0
  396. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js.map +0 -0
  397. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js +0 -0
  398. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js.map +0 -0
  399. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js +0 -0
  400. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js.map +0 -0
  401. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js +0 -0
  402. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js.map +0 -0
  403. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js +0 -0
  404. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js.map +0 -0
  405. {app-rn-runtime → package}/components/chart/legend/legend.component.js +0 -0
  406. {app-rn-runtime → package}/components/chart/legend/legend.component.js.map +0 -0
  407. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js +0 -0
  408. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js.map +0 -0
  409. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js +0 -0
  410. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js.map +0 -0
  411. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
  412. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
  413. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js +0 -0
  414. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js.map +0 -0
  415. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js +0 -0
  416. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js.map +0 -0
  417. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js +0 -0
  418. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js.map +0 -0
  419. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js +0 -0
  420. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js.map +0 -0
  421. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js +0 -0
  422. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js.map +0 -0
  423. {app-rn-runtime → package}/components/chart/staticdata.js +0 -0
  424. {app-rn-runtime → package}/components/chart/staticdata.js.map +0 -0
  425. {app-rn-runtime → package}/components/chart/theme/chart.theme.js +0 -0
  426. {app-rn-runtime → package}/components/chart/theme/chart.theme.js.map +0 -0
  427. {app-rn-runtime → package}/components/container/accordion/accordion.props.js +0 -0
  428. {app-rn-runtime → package}/components/container/accordion/accordion.props.js.map +0 -0
  429. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js +0 -0
  430. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js.map +0 -0
  431. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js +0 -0
  432. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js.map +0 -0
  433. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js +0 -0
  434. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js.map +0 -0
  435. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js +0 -0
  436. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js.map +0 -0
  437. {app-rn-runtime → package}/components/container/container.styles.js +0 -0
  438. {app-rn-runtime → package}/components/container/container.styles.js.map +0 -0
  439. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
  440. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -0
  441. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -0
  442. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -0
  443. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
  444. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
  445. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js +0 -0
  446. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -0
  447. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js +0 -0
  448. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -0
  449. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
  450. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
  451. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js +0 -0
  452. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js.map +0 -0
  453. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js +0 -0
  454. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js.map +0 -0
  455. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
  456. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js.map +0 -0
  457. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js +0 -0
  458. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js.map +0 -0
  459. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js +0 -0
  460. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js.map +0 -0
  461. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
  462. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
  463. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -0
  464. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -0
  465. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -0
  466. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -0
  467. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
  468. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
  469. {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js +0 -0
  470. {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js.map +0 -0
  471. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js +0 -0
  472. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js.map +0 -0
  473. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js +0 -0
  474. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js.map +0 -0
  475. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js +0 -0
  476. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js.map +0 -0
  477. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js +0 -0
  478. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js.map +0 -0
  479. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js +0 -0
  480. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js.map +0 -0
  481. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js +0 -0
  482. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js.map +0 -0
  483. {app-rn-runtime → package}/components/container/panel/panel.props.js +0 -0
  484. {app-rn-runtime → package}/components/container/panel/panel.props.js.map +0 -0
  485. {app-rn-runtime → package}/components/container/panel/panel.styles.js +0 -0
  486. {app-rn-runtime → package}/components/container/panel/panel.styles.js.map +0 -0
  487. {app-rn-runtime → package}/components/container/partial-host.component.js +0 -0
  488. {app-rn-runtime → package}/components/container/partial-host.component.js.map +0 -0
  489. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js +0 -0
  490. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js.map +0 -0
  491. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js +0 -0
  492. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js.map +0 -0
  493. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js +0 -0
  494. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js.map +0 -0
  495. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
  496. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
  497. {app-rn-runtime → package}/components/container/tabs/tabs.props.js +0 -0
  498. {app-rn-runtime → package}/components/container/tabs/tabs.props.js.map +0 -0
  499. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js +0 -0
  500. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js.map +0 -0
  501. {app-rn-runtime → package}/components/container/tile/tile.component.js +0 -0
  502. {app-rn-runtime → package}/components/container/tile/tile.component.js.map +0 -0
  503. {app-rn-runtime → package}/components/container/tile/tile.props.js +0 -0
  504. {app-rn-runtime → package}/components/container/tile/tile.props.js.map +0 -0
  505. {app-rn-runtime → package}/components/container/tile/tile.styles.js +0 -0
  506. {app-rn-runtime → package}/components/container/tile/tile.styles.js.map +0 -0
  507. {app-rn-runtime → package}/components/container/wizard/wizard.props.js +0 -0
  508. {app-rn-runtime → package}/components/container/wizard/wizard.props.js.map +0 -0
  509. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js +0 -0
  510. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js.map +0 -0
  511. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js +0 -0
  512. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -0
  513. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js +0 -0
  514. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -0
  515. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js +0 -0
  516. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js.map +0 -0
  517. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js +0 -0
  518. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js.map +0 -0
  519. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js +0 -0
  520. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js.map +0 -0
  521. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js +0 -0
  522. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js.map +0 -0
  523. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js +0 -0
  524. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js.map +0 -0
  525. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js +0 -0
  526. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js.map +0 -0
  527. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js +0 -0
  528. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js.map +0 -0
  529. {app-rn-runtime → package}/components/data/card/card.component.js +0 -0
  530. {app-rn-runtime → package}/components/data/card/card.component.js.map +0 -0
  531. {app-rn-runtime → package}/components/data/card/card.props.js +0 -0
  532. {app-rn-runtime → package}/components/data/card/card.props.js.map +0 -0
  533. {app-rn-runtime → package}/components/data/card/card.styles.js +0 -0
  534. {app-rn-runtime → package}/components/data/card/card.styles.js.map +0 -0
  535. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js +0 -0
  536. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js.map +0 -0
  537. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js +0 -0
  538. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js.map +0 -0
  539. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js +0 -0
  540. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js.map +0 -0
  541. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js +0 -0
  542. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js.map +0 -0
  543. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js +0 -0
  544. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js.map +0 -0
  545. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js +0 -0
  546. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js.map +0 -0
  547. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js +0 -0
  548. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js.map +0 -0
  549. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js +0 -0
  550. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js.map +0 -0
  551. {app-rn-runtime → package}/components/data/form/form.styles.js +0 -0
  552. {app-rn-runtime → package}/components/data/form/form.styles.js.map +0 -0
  553. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js +0 -0
  554. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js.map +0 -0
  555. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js +0 -0
  556. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js.map +0 -0
  557. {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js +0 -0
  558. {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js.map +0 -0
  559. {app-rn-runtime → package}/components/data/liveform/liveform.component.js +0 -0
  560. {app-rn-runtime → package}/components/data/liveform/liveform.component.js.map +0 -0
  561. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js +0 -0
  562. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js.map +0 -0
  563. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js +0 -0
  564. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js.map +0 -0
  565. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js +0 -0
  566. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js.map +0 -0
  567. {app-rn-runtime → package}/components/device/camera/camera.component.js +0 -0
  568. {app-rn-runtime → package}/components/device/camera/camera.component.js.map +0 -0
  569. {app-rn-runtime → package}/components/device/camera/camera.props.js +0 -0
  570. {app-rn-runtime → package}/components/device/camera/camera.props.js.map +0 -0
  571. {app-rn-runtime → package}/components/device/camera/camera.styles.js +0 -0
  572. {app-rn-runtime → package}/components/device/camera/camera.styles.js.map +0 -0
  573. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js +0 -0
  574. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js.map +0 -0
  575. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js +0 -0
  576. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js.map +0 -0
  577. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js +0 -0
  578. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -0
  579. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js +0 -0
  580. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -0
  581. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js +0 -0
  582. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -0
  583. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js +0 -0
  584. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -0
  585. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js +0 -0
  586. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js.map +0 -0
  587. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js +0 -0
  588. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js.map +0 -0
  589. {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js +0 -0
  590. {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js.map +0 -0
  591. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js +0 -0
  592. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js.map +0 -0
  593. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js +0 -0
  594. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js.map +0 -0
  595. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js +0 -0
  596. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js.map +0 -0
  597. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js +0 -0
  598. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js.map +0 -0
  599. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js +0 -0
  600. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js.map +0 -0
  601. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js +0 -0
  602. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js.map +0 -0
  603. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js +0 -0
  604. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js.map +0 -0
  605. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js +0 -0
  606. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js.map +0 -0
  607. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js +0 -0
  608. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js.map +0 -0
  609. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js +0 -0
  610. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js.map +0 -0
  611. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js +0 -0
  612. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
  613. {app-rn-runtime → package}/components/input/calendar/calendar.component.js +0 -0
  614. {app-rn-runtime → package}/components/input/calendar/calendar.component.js.map +0 -0
  615. {app-rn-runtime → package}/components/input/calendar/calendar.props.js +0 -0
  616. {app-rn-runtime → package}/components/input/calendar/calendar.props.js.map +0 -0
  617. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js +0 -0
  618. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js.map +0 -0
  619. {app-rn-runtime → package}/components/input/calendar/views/month-view.js +0 -0
  620. {app-rn-runtime → package}/components/input/calendar/views/month-view.js.map +0 -0
  621. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js +0 -0
  622. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js.map +0 -0
  623. {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js +0 -0
  624. {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js.map +0 -0
  625. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js +0 -0
  626. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js.map +0 -0
  627. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js +0 -0
  628. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js.map +0 -0
  629. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js +0 -0
  630. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js.map +0 -0
  631. {app-rn-runtime → package}/components/input/chips/chips.component.js +0 -0
  632. {app-rn-runtime → package}/components/input/chips/chips.component.js.map +0 -0
  633. {app-rn-runtime → package}/components/input/chips/chips.props.js +0 -0
  634. {app-rn-runtime → package}/components/input/chips/chips.props.js.map +0 -0
  635. {app-rn-runtime → package}/components/input/chips/chips.styles.js +0 -0
  636. {app-rn-runtime → package}/components/input/chips/chips.styles.js.map +0 -0
  637. {app-rn-runtime → package}/components/input/composite/composite.component.js +0 -0
  638. {app-rn-runtime → package}/components/input/composite/composite.component.js.map +0 -0
  639. {app-rn-runtime → package}/components/input/composite/composite.props.js +0 -0
  640. {app-rn-runtime → package}/components/input/composite/composite.props.js.map +0 -0
  641. {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
  642. {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
  643. {app-rn-runtime → package}/components/input/currency/currency.component.js +0 -0
  644. {app-rn-runtime → package}/components/input/currency/currency.component.js.map +0 -0
  645. {app-rn-runtime → package}/components/input/currency/currency.props.js +0 -0
  646. {app-rn-runtime → package}/components/input/currency/currency.props.js.map +0 -0
  647. {app-rn-runtime → package}/components/input/currency/currency.styles.js +0 -0
  648. {app-rn-runtime → package}/components/input/currency/currency.styles.js.map +0 -0
  649. {app-rn-runtime → package}/components/input/epoch/date/date.component.js +0 -0
  650. {app-rn-runtime → package}/components/input/epoch/date/date.component.js.map +0 -0
  651. {app-rn-runtime → package}/components/input/epoch/date/date.props.js +0 -0
  652. {app-rn-runtime → package}/components/input/epoch/date/date.props.js.map +0 -0
  653. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js +0 -0
  654. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js.map +0 -0
  655. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js +0 -0
  656. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js.map +0 -0
  657. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js +0 -0
  658. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js.map +0 -0
  659. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js +0 -0
  660. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js.map +0 -0
  661. {app-rn-runtime → package}/components/input/epoch/time/time.component.js +0 -0
  662. {app-rn-runtime → package}/components/input/epoch/time/time.component.js.map +0 -0
  663. {app-rn-runtime → package}/components/input/epoch/time/time.props.js +0 -0
  664. {app-rn-runtime → package}/components/input/epoch/time/time.props.js.map +0 -0
  665. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js +0 -0
  666. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js.map +0 -0
  667. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js +0 -0
  668. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js.map +0 -0
  669. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js +0 -0
  670. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js.map +0 -0
  671. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js +0 -0
  672. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js.map +0 -0
  673. {app-rn-runtime → package}/components/input/number/number.component.js +0 -0
  674. {app-rn-runtime → package}/components/input/number/number.component.js.map +0 -0
  675. {app-rn-runtime → package}/components/input/number/number.props.js +0 -0
  676. {app-rn-runtime → package}/components/input/number/number.props.js.map +0 -0
  677. {app-rn-runtime → package}/components/input/number/number.styles.js +0 -0
  678. {app-rn-runtime → package}/components/input/number/number.styles.js.map +0 -0
  679. {app-rn-runtime → package}/components/input/rating/rating.component.js +0 -0
  680. {app-rn-runtime → package}/components/input/rating/rating.component.js.map +0 -0
  681. {app-rn-runtime → package}/components/input/rating/rating.props.js +0 -0
  682. {app-rn-runtime → package}/components/input/rating/rating.props.js.map +0 -0
  683. {app-rn-runtime → package}/components/input/rating/rating.styles.js +0 -0
  684. {app-rn-runtime → package}/components/input/rating/rating.styles.js.map +0 -0
  685. {app-rn-runtime → package}/components/input/select/select.component.js +0 -0
  686. {app-rn-runtime → package}/components/input/select/select.component.js.map +0 -0
  687. {app-rn-runtime → package}/components/input/select/select.props.js +0 -0
  688. {app-rn-runtime → package}/components/input/select/select.props.js.map +0 -0
  689. {app-rn-runtime → package}/components/input/select/select.styles.js +0 -0
  690. {app-rn-runtime → package}/components/input/select/select.styles.js.map +0 -0
  691. {app-rn-runtime → package}/components/input/switch/switch.props.js +0 -0
  692. {app-rn-runtime → package}/components/input/switch/switch.props.js.map +0 -0
  693. {app-rn-runtime → package}/components/input/text/text.props.js +0 -0
  694. {app-rn-runtime → package}/components/input/text/text.props.js.map +0 -0
  695. {app-rn-runtime → package}/components/input/text/text.styles.js +0 -0
  696. {app-rn-runtime → package}/components/input/text/text.styles.js.map +0 -0
  697. {app-rn-runtime → package}/components/input/textarea/textarea.component.js +0 -0
  698. {app-rn-runtime → package}/components/input/textarea/textarea.component.js.map +0 -0
  699. {app-rn-runtime → package}/components/input/textarea/textarea.props.js +0 -0
  700. {app-rn-runtime → package}/components/input/textarea/textarea.props.js.map +0 -0
  701. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js +0 -0
  702. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js.map +0 -0
  703. {app-rn-runtime → package}/components/input/toggle/toggle.props.js +0 -0
  704. {app-rn-runtime → package}/components/input/toggle/toggle.props.js.map +0 -0
  705. {app-rn-runtime → package}/components/input/toggle/toggle.styles.js +0 -0
  706. {app-rn-runtime → package}/components/input/toggle/toggle.styles.js.map +0 -0
  707. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js +0 -0
  708. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js.map +0 -0
  709. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js +0 -0
  710. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js.map +0 -0
  711. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js +0 -0
  712. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js.map +0 -0
  713. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js +0 -0
  714. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js.map +0 -0
  715. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js +0 -0
  716. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js.map +0 -0
  717. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js +0 -0
  718. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js.map +0 -0
  719. {app-rn-runtime → package}/components/navigation/menu/menu.component.js +0 -0
  720. {app-rn-runtime → package}/components/navigation/menu/menu.component.js.map +0 -0
  721. {app-rn-runtime → package}/components/navigation/menu/menu.props.js +0 -0
  722. {app-rn-runtime → package}/components/navigation/menu/menu.props.js.map +0 -0
  723. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js +0 -0
  724. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js.map +0 -0
  725. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js +0 -0
  726. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js.map +0 -0
  727. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js +0 -0
  728. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js +0 -0
  729. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js.map +0 -0
  730. {app-rn-runtime → package}/components/navigation/navitem/navitem.component.js +0 -0
  731. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js +0 -0
  732. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js +0 -0
  733. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js.map +0 -0
  734. {app-rn-runtime → package}/components/navigation/popover/popover.props.js +0 -0
  735. {app-rn-runtime → package}/components/navigation/popover/popover.props.js.map +0 -0
  736. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js +0 -0
  737. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js.map +0 -0
  738. {app-rn-runtime → package}/components/page/content/content.component.js +0 -0
  739. {app-rn-runtime → package}/components/page/content/content.component.js.map +0 -0
  740. {app-rn-runtime → package}/components/page/content/content.props.js +0 -0
  741. {app-rn-runtime → package}/components/page/content/content.props.js.map +0 -0
  742. {app-rn-runtime → package}/components/page/content/content.styles.js +0 -0
  743. {app-rn-runtime → package}/components/page/content/content.styles.js.map +0 -0
  744. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js +0 -0
  745. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js.map +0 -0
  746. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js +0 -0
  747. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js.map +0 -0
  748. {app-rn-runtime → package}/components/page/page-content/page-content.component.js +0 -0
  749. {app-rn-runtime → package}/components/page/page-content/page-content.component.js.map +0 -0
  750. {app-rn-runtime → package}/components/page/page-content/page-content.props.js +0 -0
  751. {app-rn-runtime → package}/components/page/page-content/page-content.props.js.map +0 -0
  752. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js +0 -0
  753. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js.map +0 -0
  754. {app-rn-runtime → package}/components/page/page.component.js +0 -0
  755. {app-rn-runtime → package}/components/page/page.component.js.map +0 -0
  756. {app-rn-runtime → package}/components/page/page.props.js +0 -0
  757. {app-rn-runtime → package}/components/page/page.props.js.map +0 -0
  758. {app-rn-runtime → package}/components/page/page.styles.js +0 -0
  759. {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
  760. {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
  761. {app-rn-runtime → package}/components/page/partial/partial.component.js.map +0 -0
  762. {app-rn-runtime → package}/components/page/partial/partial.props.js +0 -0
  763. {app-rn-runtime → package}/components/page/partial/partial.props.js.map +0 -0
  764. {app-rn-runtime → package}/components/page/partial/partial.styles.js +0 -0
  765. {app-rn-runtime → package}/components/page/partial/partial.styles.js.map +0 -0
  766. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js +0 -0
  767. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js.map +0 -0
  768. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js +0 -0
  769. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js.map +0 -0
  770. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js +0 -0
  771. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js.map +0 -0
  772. {app-rn-runtime → package}/components/page/tabbar/curve.js +0 -0
  773. {app-rn-runtime → package}/components/page/tabbar/curve.js.map +0 -0
  774. {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js +0 -0
  775. {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js.map +0 -0
  776. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js +0 -0
  777. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js.map +0 -0
  778. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js +0 -0
  779. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js.map +0 -0
  780. {app-rn-runtime → package}/components/prefab/prefab-container.component.js +0 -0
  781. {app-rn-runtime → package}/components/prefab/prefab-container.component.js.map +0 -0
  782. {app-rn-runtime → package}/components/prefab/prefab-container.props.js +0 -0
  783. {app-rn-runtime → package}/components/prefab/prefab-container.props.js.map +0 -0
  784. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js +0 -0
  785. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js.map +0 -0
  786. {app-rn-runtime → package}/core/AppConfig.js +0 -0
  787. {app-rn-runtime → package}/core/AppConfig.js.map +0 -0
  788. {app-rn-runtime → package}/core/asset.provider.js +0 -0
  789. {app-rn-runtime → package}/core/asset.provider.js.map +0 -0
  790. {app-rn-runtime → package}/core/components/floatinglabel.component.js +0 -0
  791. {app-rn-runtime → package}/core/components/floatinglabel.component.js.map +0 -0
  792. {app-rn-runtime → package}/core/constant.service.js +0 -0
  793. {app-rn-runtime → package}/core/constant.service.js.map +0 -0
  794. {app-rn-runtime → package}/core/constants/currency-constants.js +0 -0
  795. {app-rn-runtime → package}/core/constants/currency-constants.js.map +0 -0
  796. {app-rn-runtime → package}/core/currency-constants.js +0 -0
  797. {app-rn-runtime → package}/core/currency-constants.js.map +0 -0
  798. {app-rn-runtime → package}/core/device/calendar-service.js +0 -0
  799. {app-rn-runtime → package}/core/device/calendar-service.js.map +0 -0
  800. {app-rn-runtime → package}/core/device/camera-service.js +0 -0
  801. {app-rn-runtime → package}/core/device/camera-service.js.map +0 -0
  802. {app-rn-runtime → package}/core/device/contacts-service.js +0 -0
  803. {app-rn-runtime → package}/core/device/contacts-service.js.map +0 -0
  804. {app-rn-runtime → package}/core/device/location-service.js +0 -0
  805. {app-rn-runtime → package}/core/device/location-service.js.map +0 -0
  806. {app-rn-runtime → package}/core/device/scan-service.js +0 -0
  807. {app-rn-runtime → package}/core/device/scan-service.js.map +0 -0
  808. {app-rn-runtime → package}/core/display.manager.js +0 -0
  809. {app-rn-runtime → package}/core/display.manager.js.map +0 -0
  810. {app-rn-runtime → package}/core/file-extension-types.js +0 -0
  811. {app-rn-runtime → package}/core/file-extension-types.js.map +0 -0
  812. {app-rn-runtime → package}/core/fixed-view.component.js +0 -0
  813. {app-rn-runtime → package}/core/fixed-view.component.js.map +0 -0
  814. {app-rn-runtime → package}/core/i18n.service.js +0 -0
  815. {app-rn-runtime → package}/core/i18n.service.js.map +0 -0
  816. {app-rn-runtime → package}/core/if.component.js +0 -0
  817. {app-rn-runtime → package}/core/if.component.js.map +0 -0
  818. {app-rn-runtime → package}/core/imageSizeEstimator.js +0 -0
  819. {app-rn-runtime → package}/core/imageSizeEstimator.js.map +0 -0
  820. {app-rn-runtime → package}/core/injector.js +0 -0
  821. {app-rn-runtime → package}/core/injector.js.map +0 -0
  822. {app-rn-runtime → package}/core/key.extractor.js +0 -0
  823. {app-rn-runtime → package}/core/key.extractor.js.map +0 -0
  824. {app-rn-runtime → package}/core/logger.js +0 -0
  825. {app-rn-runtime → package}/core/logger.js.map +0 -0
  826. {app-rn-runtime → package}/core/modal.service.js +0 -0
  827. {app-rn-runtime → package}/core/modal.service.js.map +0 -0
  828. {app-rn-runtime → package}/core/navigation.service.js +0 -0
  829. {app-rn-runtime → package}/core/navigation.service.js.map +0 -0
  830. {app-rn-runtime → package}/core/network.service.js +0 -0
  831. {app-rn-runtime → package}/core/network.service.js.map +0 -0
  832. {app-rn-runtime → package}/core/partial.service.js +0 -0
  833. {app-rn-runtime → package}/core/partial.service.js.map +0 -0
  834. {app-rn-runtime → package}/core/props.provider.js +0 -0
  835. {app-rn-runtime → package}/core/props.provider.js.map +0 -0
  836. {app-rn-runtime → package}/core/scroll-view.component.js +0 -0
  837. {app-rn-runtime → package}/core/scroll-view.component.js.map +0 -0
  838. {app-rn-runtime → package}/core/security.service.js +0 -0
  839. {app-rn-runtime → package}/core/security.service.js.map +0 -0
  840. {app-rn-runtime → package}/core/spinner.service.js +0 -0
  841. {app-rn-runtime → package}/core/spinner.service.js.map +0 -0
  842. {app-rn-runtime → package}/core/storage.service.js +0 -0
  843. {app-rn-runtime → package}/core/storage.service.js.map +0 -0
  844. {app-rn-runtime → package}/core/testid.provider.js +0 -0
  845. {app-rn-runtime → package}/core/testid.provider.js.map +0 -0
  846. {app-rn-runtime → package}/core/toast.service.js +0 -0
  847. {app-rn-runtime → package}/core/toast.service.js.map +0 -0
  848. {app-rn-runtime → package}/core/viewport.js +0 -0
  849. {app-rn-runtime → package}/core/viewport.js.map +0 -0
  850. {app-rn-runtime → package}/gestures/swipe.animation.js +0 -0
  851. {app-rn-runtime → package}/gestures/swipe.animation.js.map +0 -0
  852. {app-rn-runtime → package}/index.js +0 -0
  853. {app-rn-runtime → package}/index.js.map +0 -0
  854. {app-rn-runtime → package}/runtime/App.navigator.js +0 -0
  855. {app-rn-runtime → package}/runtime/App.navigator.js.map +0 -0
  856. {app-rn-runtime → package}/runtime/base-prefab.component.js +0 -0
  857. {app-rn-runtime → package}/runtime/base-prefab.component.js.map +0 -0
  858. {app-rn-runtime → package}/runtime/lib-patch.js +0 -0
  859. {app-rn-runtime → package}/runtime/lib-patch.js.map +0 -0
  860. {app-rn-runtime → package}/runtime/memo.component.js +0 -0
  861. {app-rn-runtime → package}/runtime/memo.component.js.map +0 -0
  862. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js +0 -0
  863. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js.map +0 -0
  864. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js +0 -0
  865. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js.map +0 -0
  866. {app-rn-runtime → package}/runtime/platform.api.js +0 -0
  867. {app-rn-runtime → package}/runtime/platform.api.js.map +0 -0
  868. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js +0 -0
  869. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js.map +0 -0
  870. {app-rn-runtime → package}/runtime/services/app-i18n.service.js +0 -0
  871. {app-rn-runtime → package}/runtime/services/app-i18n.service.js.map +0 -0
  872. {app-rn-runtime → package}/runtime/services/app-modal.service.js +0 -0
  873. {app-rn-runtime → package}/runtime/services/app-modal.service.js.map +0 -0
  874. {app-rn-runtime → package}/runtime/services/app-spinner.service.js +0 -0
  875. {app-rn-runtime → package}/runtime/services/app-spinner.service.js.map +0 -0
  876. {app-rn-runtime → package}/runtime/services/app-toast.service.js +0 -0
  877. {app-rn-runtime → package}/runtime/services/app-toast.service.js.map +0 -0
  878. {app-rn-runtime → package}/runtime/services/device/calendar-service.js +0 -0
  879. {app-rn-runtime → package}/runtime/services/device/calendar-service.js.map +0 -0
  880. {app-rn-runtime → package}/runtime/services/device/camera-service.js +0 -0
  881. {app-rn-runtime → package}/runtime/services/device/camera-service.js.map +0 -0
  882. {app-rn-runtime → package}/runtime/services/device/contacts-service.js +0 -0
  883. {app-rn-runtime → package}/runtime/services/device/contacts-service.js.map +0 -0
  884. {app-rn-runtime → package}/runtime/services/device/location-service.js +0 -0
  885. {app-rn-runtime → package}/runtime/services/device/location-service.js.map +0 -0
  886. {app-rn-runtime → package}/runtime/services/device/permissions.js +0 -0
  887. {app-rn-runtime → package}/runtime/services/device/permissions.js.map +0 -0
  888. {app-rn-runtime → package}/runtime/services/device/scan-service.js +0 -0
  889. {app-rn-runtime → package}/runtime/services/device/scan-service.js.map +0 -0
  890. {app-rn-runtime → package}/runtime/services/partial.service.js +0 -0
  891. {app-rn-runtime → package}/runtime/services/partial.service.js.map +0 -0
  892. {app-rn-runtime → package}/runtime/services/webprocess.service.js +0 -0
  893. {app-rn-runtime → package}/runtime/services/webprocess.service.js.map +0 -0
  894. {app-rn-runtime → package}/runtime/watcher.js +0 -0
  895. {app-rn-runtime → package}/runtime/watcher.js.map +0 -0
  896. {app-rn-runtime → package}/styles/MediaQueryList.js +0 -0
  897. {app-rn-runtime → package}/styles/MediaQueryList.js.map +0 -0
  898. {app-rn-runtime → package}/styles/style-prop.validator.js +0 -0
  899. {app-rn-runtime → package}/styles/style-prop.validator.js.map +0 -0
  900. {app-rn-runtime → package}/styles/style-props.js +0 -0
  901. {app-rn-runtime → package}/styles/style-props.js.map +0 -0
  902. {app-rn-runtime → package}/styles/theme.js +0 -0
  903. {app-rn-runtime → package}/styles/theme.js.map +0 -0
  904. {app-rn-runtime → package}/variables/base-variable.js +0 -0
  905. {app-rn-runtime → package}/variables/base-variable.js.map +0 -0
  906. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js +0 -0
  907. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js.map +0 -0
  908. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js +0 -0
  909. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js.map +0 -0
  910. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js +0 -0
  911. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js.map +0 -0
  912. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js +0 -0
  913. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js.map +0 -0
  914. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js +0 -0
  915. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js.map +0 -0
  916. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js +0 -0
  917. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js.map +0 -0
  918. {app-rn-runtime → package}/variables/device/device/app-info.operation.js +0 -0
  919. {app-rn-runtime → package}/variables/device/device/app-info.operation.js.map +0 -0
  920. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js +0 -0
  921. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js.map +0 -0
  922. {app-rn-runtime → package}/variables/device/device/device-info.operation.js +0 -0
  923. {app-rn-runtime → package}/variables/device/device/device-info.operation.js.map +0 -0
  924. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js +0 -0
  925. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js.map +0 -0
  926. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js +0 -0
  927. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js.map +0 -0
  928. {app-rn-runtime → package}/variables/device/operation.provider.js +0 -0
  929. {app-rn-runtime → package}/variables/device/scan/scan.operation.js +0 -0
  930. {app-rn-runtime → package}/variables/device/scan/scan.operation.js.map +0 -0
  931. {app-rn-runtime → package}/variables/http.service.js +0 -0
  932. {app-rn-runtime → package}/variables/http.service.js.map +0 -0
  933. {app-rn-runtime → package}/variables/live-variable.js +0 -0
  934. {app-rn-runtime → package}/variables/live-variable.js.map +0 -0
  935. {app-rn-runtime → package}/variables/model-variable.js +0 -0
  936. {app-rn-runtime → package}/variables/model-variable.js.map +0 -0
  937. {app-rn-runtime → package}/variables/service-variable.js +0 -0
  938. {app-rn-runtime → package}/variables/service-variable.js.map +0 -0
  939. {app-rn-runtime → package}/variables/utils/dataset-util.js +0 -0
  940. {app-rn-runtime → package}/variables/utils/dataset-util.js.map +0 -0
  941. {app-rn-runtime → package}/variables/utils/inflight-queue.js +0 -0
  942. {app-rn-runtime → package}/variables/utils/inflight-queue.js.map +0 -0
  943. {app-rn-runtime → package}/variables/utils/variable.constants.js +0 -0
  944. {app-rn-runtime → package}/variables/utils/variable.constants.js.map +0 -0
  945. {app-rn-runtime → package}/variables/utils/variable.utils.js +0 -0
  946. {app-rn-runtime → package}/variables/utils/variable.utils.js.map +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Platform","moment","FileSystem","isFunction","includes","isUndefined","isNull","orderBy","groupBy","toLower","get","forEach","sortBy","cloneDeep","keys","values","isArray","isString","isNumber","GROUP_BY_OPTIONS","ALPHABET","WORD","OTHERS","TIME_ROLLUP_OPTIONS","HOUR","DAY","WEEK","MONTH","YEAR","_deepCopy","o1","_len","arguments","length","o2","Array","_key","o","Object","k","v","deepCopy","_len2","objects","_key2","toBoolean","val","undefined","toNumber","parseFloat","e","encodeUrl","url","splits","split","hash","params","map","p","encodeURIComponent","join","encodeURI","isWebPreviewMode","OS","isDevMode","__DEV__","widgetsWithUndefinedValue","isAndroid","test","window","navigator","userAgent","isIos","getGroupKey","fieldDef","groupby","widgetScope","innerItem","apply","proxy","getGroupedData","fieldDefs","match","orderby","dateFormat","groupKey","groupedLiData","concatStr","toString","trim","substr","replace","format","getSortedGroupedData","getOrderedDataset","dataSet","items","fields","directions","obj","item","push","_groupedData","groupkey","index","liData","key","data","_groupIndex","isDefined","unStringify","defaultVal","number","parseInt","isNaN","retryIfFails","fn","interval","maxRetries","onBeforeRetry","Promise","resolve","retryCount","tryFn","reject","errorFn","errArgs","setTimeout","then","retry","getAbortableDefer","_defer","promise","onAbort","isAborted","abort","validateField","props","value","requiredCheck","regexCheck","required","errorType","isValid","regexp","condition","RegExp","maxchars","mindate","Date","datavalue","startOf","toDate","maxdate","endOf","countDecimalDigits","numberString","decimalMatch","decimalDigits","formatCompactNumber","isNegative","formattedNumber","toFixed","toBase64","path","readAsStringAsync","encoding","DATASET_WIDGETS","Set","isDataSetWidget","widget","has","isFullPathUrl","startsWith","removeUndefinedKeys","getDaysInMonth","month","year","getDate","getDates","getFullYear","daysInMonth","dates","from","i","monthNames","getMonths","months","name","substring","getYearRange","startYear","endYear","years","getDateObject","date","getHours","hours","hour","paddedHour","String","padStart","get24Hours","getMinutes","minutes","minute","paddedMinute","getTimeIndicators","getDateTimeObject"],"sources":["utils.ts"],"sourcesContent":["import { Platform } from 'react-native';\nimport moment from \"moment\";\nimport * as FileSystem from \"expo-file-system\";\nimport { isFunction, includes, isUndefined, isNull, orderBy, groupBy, toLower, get, forEach, sortBy, cloneDeep, keys, values, isArray, isString, isNumber} from 'lodash';\n\ndeclare const window: any;\nconst GROUP_BY_OPTIONS = {\n ALPHABET: 'alphabet',\n WORD: 'word',\n OTHERS: 'Others'\n};\nconst TIME_ROLLUP_OPTIONS = {\n HOUR: 'hour',\n DAY: 'day',\n WEEK: 'week',\n MONTH: 'month',\n YEAR: 'year'\n};\n\nconst _deepCopy = (o1: any, ...o2: any) => {\n o2.forEach((o: any) => {\n if (o) {\n Object.keys(o).forEach(k => {\n const v = o[k];\n if (v && !isString(v) && !isArray(v) && typeof v === 'object') {\n o1[k] = _deepCopy(o1[k] || {}, o[k]);\n } else {\n o1[k] = _deepCopy(v);\n }\n });\n }\n });\n return o1;\n};\n\nexport const deepCopy = (...objects: any) => _deepCopy({}, ...objects);\n\nexport const toBoolean = (val: any) => {\n return val === true\n || val === 'true'\n || !(val === false\n || val === null\n || val === undefined\n || val === '');\n};\n\nexport const toNumber = (val: any) => {\n try {\n return parseFloat(val) || 0;\n } catch(e) {\n return 0;\n }\n};\n\n/**\n * this method encodes the url and returns the encoded string\n */\n export const encodeUrl = (url: string): string => {\n let splits = url.split('#');\n const hash = splits[1];\n splits = splits[0].split('?');\n let params = '';\n if (splits.length > 1) {\n params = splits[1].split('&')\n .map(p => p.split('='))\n .map(p => p[0] +'=' + encodeURIComponent(p[1]))\n .join('&');\n }\n return encodeURI(splits[0]) + (params ? '?' + params: '') + (hash ? '#'+ hash : '');\n};\n\nexport const isWebPreviewMode = () => Platform.OS === 'web';\n\nexport const isDevMode = () => isWebPreviewMode() || __DEV__;\n\nexport const widgetsWithUndefinedValue = ['checkbox', 'toggle'];\n\nexport const isAndroid = () => (Platform.OS === 'android' || (Platform.OS === 'web' && /android/i.test(window.navigator.userAgent)));\n\nexport const isIos = () => (Platform.OS === 'ios' || (Platform.OS === 'web' && /iPhone|iPad/i.test(window.navigator.userAgent)));\n\nconst getGroupKey = (fieldDef: any, groupby: string, widgetScope: any, innerItem?: any) => isFunction(groupby) ? groupby.apply(widgetScope.proxy, [innerItem ? fieldDef[innerItem] : fieldDef]) : get(innerItem ? fieldDef[innerItem] : fieldDef, groupby);\n\n/**\n * This method prepares the grouped data.\n *\n * @param fieldDefs array of objects i.e. dataset\n * @param groupby string groupby\n * @param match string match\n * @param orderby string orderby\n * @param dateFormat string date format\n */\nexport const getGroupedData = (fieldDefs: any, groupby: string, match: string, orderby: string, dateFormat: string, widgetScope: any, innerItem?: any) => {\n\n // handling case-in-sensitive scenario\n // ordering the data based on groupby field. If there is innerItem then apply orderby using the innerItem's containing the groupby field.\n fieldDefs = orderBy(fieldDefs, fieldDef => {\n const groupKey = getGroupKey(fieldDef, groupby, widgetScope, innerItem);\n if (groupKey) {\n return toLower(groupKey);\n }\n return '';\n });\n\n // extract the grouped data based on the field obtained from 'groupDataByField'.\n const groupedLiData = groupBy(fieldDefs, function (fieldDef) {\n let concatStr = getGroupKey(fieldDef, groupby, widgetScope, innerItem);\n // by default set the undefined groupKey as 'others'\n if (isUndefined(concatStr) || isNull(concatStr) || concatStr.toString().trim() === '') {\n return GROUP_BY_OPTIONS.OTHERS;\n }\n // if match prop is alphabetic ,get the starting alphabet of the word as key.\n if (match === GROUP_BY_OPTIONS.ALPHABET) {\n concatStr = concatStr.substr(0, 1);\n }\n\n // if match contains the time options then get the concatStr using 'getTimeRolledUpString'\n if (includes(values(TIME_ROLLUP_OPTIONS), match)) {\n dateFormat = dateFormat && dateFormat.replace(/d/g, 'D');\n dateFormat = dateFormat && dateFormat.replace(/y/g, 'Y');\n concatStr = moment(concatStr).format(dateFormat);\n }\n\n return concatStr;\n });\n\n return getSortedGroupedData(groupedLiData, groupby, orderby, innerItem);\n};\n\n/**\n * function to get the ordered dataset based on the given orderby\n */\nexport const getOrderedDataset = (dataSet: any, orderby: string, innerItem?: any) => {\n if (!orderBy) {\n return cloneDeep(dataSet);\n }\n\n // The order by only works when the dataset contains list of objects.\n const items = orderby && orderby.split(','),\n fields: any = [],\n directions: any = [];\n items && items.forEach( obj => {\n const item = obj.split(':');\n fields.push(innerItem ? innerItem + '.' + item[0] : item[0]);\n directions.push(item[1]);\n });\n return orderBy(dataSet, fields, directions);\n};\n\n\n/**\n * This method returns sorted data based to groupkey.\n * Returns a array of objects, each object containing key which is groupKey and data is the sorted data which is sorted by groupby field in the data.\n *\n * @param groupedLiData, grouped data object with key as the groupKey and its value as the array of objects grouped under the groupKey.\n * @param groupBy, string groupby property\n * @returns {any[]}\n */\nexport const getSortedGroupedData = (groupedLiData: any, groupBy: string, orderby: string, innerItem?: any) => {\n const _groupedData: any = [];\n forEach(keys(groupedLiData), (groupkey, index) => {\n const liData = getOrderedDataset(groupedLiData[groupkey], orderby, innerItem);\n _groupedData.push({\n key: groupkey,\n data: sortBy(liData, data => {\n data._groupIndex = index;\n return get(data, groupBy) || get(data[innerItem], groupBy);\n })\n });\n });\n return _groupedData;\n};\n\nexport const isDefined = (v: any) => typeof v !== 'undefined';\n\n// try to convert the chekedvalue and unchecked values to boolean/number\nexport const unStringify = (val: any, defaultVal?: boolean) => {\n if (val === null) {\n return defaultVal;\n }\n\n if (val === true || val === 'true') {\n return true;\n }\n\n if (val === false || val === 'false') {\n return false;\n }\n\n const number = parseInt(val, 10);\n if (!isNaN(number)) {\n return number;\n }\n return val;\n};\n\n/**\n * This function invokes the given the function (fn) until the function successfully executes or the maximum number\n * of retries is reached or onBeforeRetry returns false.\n *\n * @param fn - a function that is needs to be invoked. The function can also return a promise as well.\n * @param interval - minimum time gap between successive retries. This argument should be greater or equal to 0.\n * @param maxRetries - maximum number of retries. This argument should be greater than 0. For all other values,\n * maxRetries is infinity.\n * @param onBeforeRetry - a callback function that will be invoked before re-invoking again. This function can\n * return false or a promise that is resolved to false to stop further retry attempts.\n * @returns {*} a promise that is resolved when fn is success (or) maximum retry attempts reached\n * (or) onBeforeRetry returned false.\n */\nexport const retryIfFails = (fn: Function, interval: number, maxRetries: number, onBeforeRetry = () => Promise.resolve(false)) => {\n let retryCount = 0;\n const tryFn = () => {\n retryCount++;\n if (isFunction(fn)) {\n return fn();\n }\n };\n maxRetries = (isNumber(maxRetries) && maxRetries > 0 ? maxRetries : 0);\n interval = (isNumber(interval) && interval > 0 ? interval : 0);\n return new Promise((resolve, reject) => {\n const errorFn = function () {\n const errArgs = arguments;\n setTimeout(() => {\n Promise.resolve().then(() => onBeforeRetry()).then(function (retry) {\n if (retry !== false && (!maxRetries || retryCount <= maxRetries)) {\n Promise.resolve().then(() => tryFn()).then(resolve, errorFn);\n } else {\n reject(errArgs);\n }\n }, () => reject(errArgs));\n }, interval);\n };\n Promise.resolve().then(() => tryFn()).then(resolve, errorFn);\n });\n};\n\n/**\n * Promise of a defer created using this function, has abort function that will reject the defer when called.\n * @returns {*} angular defer object\n */\nexport const getAbortableDefer = () => {\n const _defer: any = {\n promise: null,\n reject: null,\n resolve: null,\n onAbort: () => { },\n isAborted: false\n };\n _defer.promise = new Promise((resolve, reject) => {\n _defer.resolve = resolve;\n _defer.reject = reject;\n });\n _defer.promise.abort = () => {\n _defer.onAbort && _defer.onAbort();\n _defer.reject('aborted');\n _defer.isAborted = true;\n };\n return _defer;\n};\n\nexport const validateField = (props: any, value: any) => {\n let requiredCheck = true, regexCheck = true;\n if (props.required) {\n if (isArray(value)) {\n requiredCheck = value.length === 0 ? false : true\n } else {\n requiredCheck = !value ? false : true\n }\n if (!requiredCheck) {\n return {\n errorType : 'required',\n isValid: false\n }\n }\n }\n if (value && props.regexp) {\n const condition = new RegExp(\"^\" + props.regexp + \"$\", 'g');\n regexCheck = condition.test(value);\n if (!regexCheck) {\n return {\n errorType : 'regexp',\n isValid: false\n }\n }\n }\n if (value && props.maxchars && value.length > props.maxchars) {\n return {\n errorType : 'maxchars',\n isValid: false\n }\n\n }\n if (value && props.mindate && new Date(props.datavalue) < moment(props.mindate).startOf('day').toDate()) {\n return {\n errorType : 'mindate',\n isValid: false\n }\n }\n if (value && props.maxdate && new Date(props.datavalue) > moment(props.maxdate).endOf('day').toDate()) {\n return {\n errorType : 'maxdate',\n isValid: false\n }\n }\n\n return {\n isValid: true\n }\n};\n\nexport const countDecimalDigits = (number: number | string) => {\n if (!number) return 0;\n\n // * convert the number to a string\n const numberString = number.toString();\n \n // * regular expression to match and count the decimal digits\n const decimalMatch = numberString.match(/\\.(\\d+)/);\n\n if (decimalMatch) {\n const decimalDigits = decimalMatch[1];\n return decimalDigits.length;\n } else {\n return 0; // * no decimal digits found\n }\n}\n\nexport const formatCompactNumber = (number: number) => {\n const isNegative = number < 0;\n number = isNegative ? number * -1 : number;\n let formattedNumber = number + '';\n if (number >= 1000 && number < 1_000_000) {\n formattedNumber = (number / 1000).toFixed(1).replace(/\\.0$/, \"\") + \"K\";\n } else if (number >= 1_000_000 && number < 1_000_000_000) {\n formattedNumber = (number / 1_000_000).toFixed(1).replace(/\\.0$/, \"\") + \"M\";\n } else if (number >= 1_000_000_000 && number < 1_000_000_000_000) {\n formattedNumber = (number / 1_000_000_000).toFixed(1).replace(/\\.0$/, \"\") + \"B\";\n } else if (number >= 1_000_000_000_000 && number < 1_000_000_000_000_000) {\n formattedNumber = (number / 1_000_000_000_000).toFixed(1).replace(/\\.0$/, \"\") + \"T\";\n }\n return (isNegative ? '-' : '') + formattedNumber;\n}\n\nexport const toBase64 = function(path: string) {\n return FileSystem.readAsStringAsync(path, { encoding: 'base64' });\n};\n\nconst DATASET_WIDGETS = new Set([ 'select', 'checkboxset', 'radioset', 'switch', 'autocomplete', 'chips', 'typeahead', 'rating']);\nexport const isDataSetWidget = (widget: any) => {\n return DATASET_WIDGETS.has(widget);\n};\nexport const isFullPathUrl = (url: string) => {\n return isString(url) &&\n (url.startsWith('data:') \n || url.startsWith('http:') \n || url.startsWith('https:') \n || url.startsWith('file:'));\n};\n\nexport function removeUndefinedKeys(obj: any) {\n for (const key in obj) {\n if (obj[key] === undefined) {\n delete obj[key];\n } else if (typeof obj[key] === 'object') {\n // * if the value is an object, recursively call the function\n removeUndefinedKeys(obj[key]);\n }\n }\n\n return obj;\n}\n// * get total number of days in a month of a year\nfunction getDaysInMonth(month: number, year: number) {\n return new Date(year, month, 0).getDate();\n}\n\nexport const getDates = (\n month = 0, // zero-based\n year = new Date().getFullYear(),\n) => {\n const daysInMonth = getDaysInMonth(month, year);\n const dates = Array.from({length: daysInMonth}, (v, i) => i + 1);\n\n return dates;\n};\n\nexport const monthNames = [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n];\n\nexport const getMonths = () => {\n const months = monthNames.map(name => name.substring(0, 3));\n\n return months;\n};\n\nexport const getYearRange = (\n startYear: number = 1950,\n endYear: number = 2060,\n) => {\n const years = [];\n for (let year = startYear; year <= endYear; ++year) {\n years.push(year);\n }\n\n return years;\n};\n\nexport const getDateObject = (date: number, month: number, year: number) => {\n // * month is zero-based\n return new Date(year, month, date);\n};\n\nexport const getHours = () => {\n const hours = [];\n for (let hour = 1; hour <= 12; ++hour) {\n const paddedHour = String(hour).padStart(2, '0');\n hours.push(paddedHour);\n }\n\n return hours;\n}\n\nexport const get24Hours = () => {\n const hours = [];\n for (let hour = 0; hour <= 23; ++hour) {\n const paddedHour = String(hour).padStart(2, '0');\n hours.push(paddedHour);\n }\n\n return hours;\n}\n\nexport const getMinutes = () => {\n const minutes = [];\n for (let minute = 0; minute <= 59; ++minute) {\n const paddedMinute = String(minute).padStart(2, '0');\n minutes.push(paddedMinute);\n }\n\n return minutes;\n}\n\nexport const getTimeIndicators = () => {\n return ['AM', 'PM'];\n}\n\nexport const getDateTimeObject = (date: number, month: number, year: number, hour: number, minute: number) => {\n // * month is zero-based\n return new Date(year, month, date, hour, minute);\n};\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,OAAOC,MAAM,MAAM,QAAQ;AAC3B,OAAO,KAAKC,UAAU,MAAM,kBAAkB;AAC9C,SAASC,UAAU,EAAEC,QAAQ,EAAEC,WAAW,EAAEC,MAAM,EAAEC,OAAO,EAAEC,OAAO,EAAEC,OAAO,EAAEC,GAAG,EAAEC,OAAO,EAAEC,MAAM,EAAEC,SAAS,EAAEC,IAAI,EAAEC,MAAM,EAAEC,OAAO,EAAEC,QAAQ,EAAEC,QAAQ,Q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,CAAC,CAAC,EAAE,GAAG,CAAC;IACpDG,OAAO,CAACvG,IAAI,CAACyG,YAAY,CAAC;EAC5B;EAEA,OAAOF,OAAO;AAChB,CAAC;AAED,OAAO,MAAMG,iBAAiB,GAAGA,CAAA,KAAM;EACrC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC;AACrB,CAAC;AAED,OAAO,MAAMC,iBAAiB,GAAGA,CAACb,IAAY,EAAEnB,KAAa,EAAEC,IAAY,EAAEqB,IAAY,EAAEO,MAAc,KAAK;EAC5G;EACA,OAAO,IAAIxD,IAAI,CAAC4B,IAAI,EAAED,KAAK,EAAEmB,IAAI,EAAEG,IAAI,EAAEO,MAAM,CAAC;AAClD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/app-rn-runtime",
3
- "version": "11.7.0-next.42251",
3
+ "version": "11.7.0-patch.2",
4
4
  "description": "''",
5
5
  "main": "index",
6
6
  "module": "index",
@@ -49,7 +49,7 @@
49
49
  "@react-navigation/native": "6.1.7",
50
50
  "@react-navigation/stack": "^6.3.7",
51
51
  "@types/lodash-es": "^4.17.6",
52
- "@wavemaker/variables": "11.7.0-next.42251",
52
+ "@wavemaker/variables": "11.7.0-patch.2",
53
53
  "axios": "^1.4.0",
54
54
  "color": "4.2.3",
55
55
  "cross-env": "^5.2.0",
@@ -60,6 +60,7 @@
60
60
  "expo-linear-gradient": "12.3.0",
61
61
  "expo-modules-core": "~1.1.0",
62
62
  "fast-xml-parser": "^3.17.6",
63
+ "imask": "^7.5.0",
63
64
  "lodash-es": "^4.17.21",
64
65
  "lottie-react-native": "5.1.6",
65
66
  "moment": "^2.29.1",
@@ -130,7 +131,7 @@
130
131
  "typescript": "^5.1.3",
131
132
  "victory-native": "36.6.11",
132
133
  "yargs": "^16.2.0",
133
- "@wavemaker/variables": "11.7.0-next.42251"
134
+ "@wavemaker/variables": "1.0.0-dev"
134
135
  },
135
136
  "jest": {
136
137
  "preset": "react-native",
@@ -16,6 +16,7 @@ import EventNotifier from '@wavemaker/app-rn-runtime/core/event-notifier';
16
16
  import { ThemeProvider } from '@wavemaker/app-rn-runtime/styles/theme';
17
17
  import StorageService from '@wavemaker/app-rn-runtime/core/storage.service';
18
18
  import ConstantService from '@wavemaker/app-rn-runtime/core/constant.service';
19
+ import NetworkService from '@wavemaker/app-rn-runtime/core/network.service';
19
20
  import injector from '@wavemaker/app-rn-runtime/core/injector';
20
21
  import formatters from '@wavemaker/app-rn-runtime/core/formatters';
21
22
  import { deepCopy, isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';
@@ -115,6 +116,7 @@ export default class BaseApp extends React.Component {
115
116
  _defineProperty(this, "lib", preparePatch(() => {
116
117
  this.refresh();
117
118
  }));
119
+ _defineProperty(this, "networkStatus", {});
118
120
  SplashScreen.preventAutoHideAsync();
119
121
  setTimeout(() => SplashScreen.hideAsync(), 10000);
120
122
  this.appConfig.app = this;
@@ -152,6 +154,12 @@ export default class BaseApp extends React.Component {
152
154
  refreshAfterWait = true;
153
155
  }
154
156
  };
157
+ this.cleanup.push(NetworkService.notifier.subscribe('onNetworkStateChange', networkState => {
158
+ this.networkStatus = {
159
+ ...networkState
160
+ };
161
+ this.refresh();
162
+ }));
155
163
  }
156
164
  subscribe(event, fn) {
157
165
  return this.eventNotifier.subscribe(event, fn);
@@ -442,7 +450,9 @@ export default class BaseApp extends React.Component {
442
450
  style: {
443
451
  flex: 1
444
452
  }
445
- }, /*#__PURE__*/React.createElement(StatusBar, null), /*#__PURE__*/React.createElement(FixedViewContainer, null, /*#__PURE__*/React.createElement(KeyboardAvoidingView, {
453
+ }, /*#__PURE__*/React.createElement(StatusBar, null), /*#__PURE__*/React.createElement(FixedViewContainer, null, /*#__PURE__*/React.createElement(ThemeProvider, {
454
+ value: _this2.appConfig.theme
455
+ }, /*#__PURE__*/React.createElement(KeyboardAvoidingView, {
446
456
  behavior: Platform.OS === "ios" ? "padding" : undefined,
447
457
  style: {
448
458
  flex: 1
@@ -456,9 +466,9 @@ export default class BaseApp extends React.Component {
456
466
  hideDrawer: ((_this2$appConfig$draw = _this2.appConfig.drawer) === null || _this2$appConfig$draw === void 0 ? void 0 : _this2$appConfig$draw.getContent()) === null,
457
467
  drawerContent: () => _this2.appConfig.drawer ? _this2.getProviders(_this2.appConfig.drawer.getContent()) : null,
458
468
  drawerAnimation: (_this2$appConfig$draw2 = _this2.appConfig.drawer) === null || _this2$appConfig$draw2 === void 0 ? void 0 : _this2$appConfig$draw2.getAnimation()
459
- }), commonPartial, _this2.renderToasters(), _this2.renderDialogs(), _this2.renderDisplayManager())), /*#__PURE__*/React.createElement(WmNetworkInfoToaster, {
469
+ }), commonPartial, _this2.renderToasters(), _this2.renderDialogs(), _this2.renderDisplayManager())), _this2.appConfig.url ? /*#__PURE__*/React.createElement(WmNetworkInfoToaster, {
460
470
  appLocale: _this2.appConfig.appLocale
461
- }))));
471
+ }) : null))));
462
472
  }))));
463
473
  }
464
474
  }
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","axios","Platform","TouchableOpacity","View","StatusBar","KeyboardAvoidingView","ProtoTypes","SafeAreaProvider","SafeAreaInsetsContext","SafeAreaView","DefaultTheme","Provider","PaperProvider","Linking","NativeModulesProxy","WebBrowser","get","last","RENDER_LOGGER","EventNotifier","ThemeProvider","StorageService","ConstantService","NetworkService","injector","formatters","deepCopy","isWebPreviewMode","Utils","ModalProvider","FixedViewContainer","ToastProvider","NavigationServiceProvider","PartialProvider","WmNetworkInfoToaster","ThemeVariables","WmMessage","Animatedview","AppI18nService","Watcher","preparePatch","AppDisplayManagerService","AppModalService","AppToastService","AppPartialService","AppSpinnerService","AppNavigator","SecurityProvider","CameraProvider","CameraService","ScanProvider","ScanService","AppSecurityService","getValidJSON","parseErrors","MaterialCommunityIconsFont","SplashScreen","WmMemo","style","any","MIN_TIME_BETWEEN_REFRESH_CYCLES","DrawerImpl","constructor","onChange","_defineProperty","setContent","content","getContent","setAnimation","animation","getAnimation","SUPPORTED_SERVICES","CONSTANTS","BaseApp","Component","props","_this","this","ROOT","colors","primary","INSTANCE","primaryColor","refresh","preventAutoHideAsync","setTimeout","hideAsync","appConfig","app","drawer","setDefaultOptions","spinner","refreshAfterWait","baseUrl","url","wait","bindServiceInterceptors","complete","arguments","length","undefined","reload","debug","_this$commonPartial","_this$appConfig$curre","forceUpdate","commonPartial","currentPage","watcher","check","cleanup","push","notifier","subscribe","networkState","networkStatus","event","fn","eventNotifier","notify","_len","args","Array","_key","activePage","Widgets","_this$commonPartial2","goToPage","pageName","params","_this$appConfig$curre2","goBack","_this$appConfig$curre3","openUrl","_this$appConfig$curre4","onBeforeServiceCall","config","isSkeletonEnabled","loader","onServiceSuccess","data","response","onServiceError","errorMsg","error","invokeNativeApi","key","EmbedCommModule","OS","sendToNative","Promise","reject","onPageReady","activePageName","activePageScope","setTimezone","timezone","openBrowser","window","open","startsWith","target","openBrowserAsync","openURL","resolve","axiosInterceptorIds","interceptors","request","use","headers","console","log","_errorDetails","_errorDetails2","_error$response","_error$response2","_error$response3","_error$response4","errorDetails","errMsg","errors","message","includes","status","_this$appConfig$curre5","_this$appConfig$curre6","eval","failOnError","call","e","triggerStartUpVariables","all","startUpVariables","map","s","Variables","invoke","catch","componentDidMount","show","then","onAppVariablesReady","isStarted","startUpActions","a","Actions","componentWillUnmount","id","eject","forEach","getProviders","createElement","value","renderToasters","toastsOpened","render","watch","refreshCount","Fragment","o","i","theme","position","width","bottom","elevation","elevationIndex","zIndex","styles","onPress","onClick","text","name","type","caption","hideclose","renderDialogs","_last","modalsOpened","animatedRefs","modalOptions","onStartShouldSetResponder","onResponderEnd","isModal","hideModal","appModal","centered","centeredModal","modalStyle","entryanimation","ref","animatedRef","appModalContent","contentStyle","evt","stopPropagation","renderDisplayManager","displayOptions","displayViewContainer","renderIconsViewSupportForWeb","getSelectedLocale","selectedLocale","getDependency","serviceName","service","renderApp","_this2","autoUpdateVariables","_this$Variables$value","invokeOnParamChange","paperTheme","Consumer","_this2$props","_this2$appConfig$draw","_this2$appConfig$draw2","insets","top","left","right","flex","behavior","container","landingPage","landingPageParams","hideDrawer","drawerContent","drawerAnimation","appLocale","alignItems","flexDirection","justifyContent","backgroundColor","height"],"sources":["App.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport axios, { AxiosError, InternalAxiosRequestConfig, AxiosResponse } from 'axios';\nimport { Platform, TouchableOpacity, View, ViewStyle, StatusBar, KeyboardAvoidingView } from 'react-native';\nimport ProtoTypes from 'prop-types';\nimport { SafeAreaProvider, SafeAreaInsetsContext, SafeAreaView } from 'react-native-safe-area-context';\nimport { DefaultTheme, Provider as PaperProvider } from 'react-native-paper';\nimport { Linking } from 'react-native';\nimport { NativeModulesProxy } from 'expo-modules-core';\nimport * as WebBrowser from 'expo-web-browser';\nimport { get, last } from 'lodash';\nimport { RENDER_LOGGER } from '@wavemaker/app-rn-runtime/core/logger';\nimport EventNotifier from '@wavemaker/app-rn-runtime/core/event-notifier';\nimport { ThemeProvider } from '@wavemaker/app-rn-runtime/styles/theme';\nimport AppConfig, { Drawer } from '@wavemaker/app-rn-runtime/core/AppConfig';\nimport StorageService from '@wavemaker/app-rn-runtime/core/storage.service';\nimport ConstantService from '@wavemaker/app-rn-runtime/core/constant.service';\nimport NetworkService, { NetworkState } from '@wavemaker/app-rn-runtime/core/network.service';\nimport injector from '@wavemaker/app-rn-runtime/core/injector';\nimport formatters from '@wavemaker/app-rn-runtime/core/formatters';\nimport { deepCopy, isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\nimport * as Utils from '@wavemaker/app-rn-runtime/core/utils';\nimport { ModalProvider } from '@wavemaker/app-rn-runtime/core/modal.service';\nimport { FixedViewContainer } from '@wavemaker/app-rn-runtime/core/fixed-view.component';\nimport { ToastProvider } from '@wavemaker/app-rn-runtime/core/toast.service';\nimport NavigationService, { NavigationServiceProvider } from '@wavemaker/app-rn-runtime/core/navigation.service';\nimport { PartialProvider } from '@wavemaker/app-rn-runtime/core/partial.service';\nimport WmNetworkInfoToaster from '@wavemaker/app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component';\nimport ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';\nimport WmMessage from '@wavemaker/app-rn-runtime/components/basic/message/message.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport AppI18nService from '@wavemaker/app-rn-runtime/runtime/services/app-i18n.service';\n\nimport { Watcher } from './watcher';\nimport { preparePatch } from './lib-patch';\nimport AppDisplayManagerService from './services/app-display-manager.service';\nimport AppModalService from './services/app-modal.service';\nimport AppToastService from './services/app-toast.service';\nimport AppPartialService from './services/partial.service';\nimport AppSpinnerService from './services/app-spinner.service';\nimport { AppNavigator } from './App.navigator';\nimport { SecurityProvider } from '../core/security.service';\nimport { CameraProvider } from '../core/device/camera-service';\nimport CameraService from './services/device/camera-service';\nimport { ScanProvider } from '../core/device/scan-service';\nimport ScanService from './services/device/scan-service';\nimport AppSecurityService from './services/app-security.service';\nimport {getValidJSON, parseErrors} from '@wavemaker/app-rn-runtime/variables/utils/variable.utils';\nimport MaterialCommunityIconsFont from '@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf';\n\nimport * as SplashScreen from 'expo-splash-screen';\nimport BasePartial from './base-partial.component';\nimport BasePage from './base-page.component';\nimport { WmMemo } from './memo.component';\n\ndeclare const window: any;\n\n//some old react libraries need this\n((View as any)['propTypes'] = { style: ProtoTypes.any})\n\nconst MIN_TIME_BETWEEN_REFRESH_CYCLES = 200;\n\nclass DrawerImpl implements Drawer {\n content: ReactNode;\n animation: string = 'slide-in';\n\n constructor(private onChange: () => void) {\n\n }\n\n setContent(content: ReactNode) {\n this.content = content;\n this.onChange();\n }\n\n getContent() {\n return this.content;\n }\n\n setAnimation(animation: string) {\n this.animation = animation;\n this.onChange();\n }\n\n getAnimation() {\n return this.animation;\n }\n}\nconst SUPPORTED_SERVICES = {\n Utils: Utils,\n CONSTANTS: ConstantService,\n StorageService: StorageService,\n AppDisplayManagerService: AppDisplayManagerService\n};\n\nexport default abstract class BaseApp extends React.Component implements NavigationService {\n\n Actions: any = {};\n Variables: any = {};\n onAppVariablesReady = () => {};\n isStarted = false;\n appConfig = injector.get<AppConfig>('APP_CONFIG');\n private eventNotifier = new EventNotifier();\n public baseUrl = '';\n public targetPlatform = 'NATIVE_MOBILE';\n public cleanup = [] as Function[];\n public commonPartial: BasePartial = null as any;\n private startUpVariables: string[] = [];\n private startUpActions: string[] = [];\n private autoUpdateVariables: string[] = [];\n private axiosInterceptorIds: number[] = [];\n public formatters = formatters;\n public serviceDefinitions = {} as any;\n private animatedRef: any;\n public modalsOpened: number = 0;\n public toastsOpened: number = 0;\n public watcher: Watcher = Watcher.ROOT;\n public paperTheme = {\n ...DefaultTheme,\n colors: {\n ...DefaultTheme.colors,\n primary: ThemeVariables.INSTANCE.primaryColor\n }\n };\n public lib = preparePatch(() => {\n this.refresh();\n });\n\n public networkStatus = {} as NetworkState;\n\n constructor(props: any) {\n super(props);\n SplashScreen.preventAutoHideAsync();\n setTimeout(() => SplashScreen.hideAsync(), 10000);\n this.appConfig.app = this;\n this.appConfig.drawer = new DrawerImpl(() => this.refresh());\n AppSpinnerService.setDefaultOptions({\n spinner: this.appConfig.spinner\n });\n let refreshAfterWait = false;\n this.baseUrl = this.appConfig.url;\n let wait = 0;\n this.bindServiceInterceptors();\n this.appConfig.refresh = (complete = false) => {\n if (complete) {\n this.reload();\n return;\n }\n if (!wait) {\n RENDER_LOGGER.debug('refreshing the app...');\n wait = MIN_TIME_BETWEEN_REFRESH_CYCLES;\n refreshAfterWait = false;\n setTimeout(() => {\n this.forceUpdate();\n this.commonPartial?.forceUpdate();\n this.appConfig.currentPage?.forceUpdate();\n this.watcher.check();\n });\n setTimeout(() => {\n wait = 0;\n refreshAfterWait && this.appConfig.refresh();\n }, wait);\n } else {\n RENDER_LOGGER.debug('will refresh the app in the next cycle.');\n refreshAfterWait = true;\n }\n }\n this.cleanup.push(\n NetworkService.notifier.subscribe('onNetworkStateChange', (networkState: NetworkState) => {\n this.networkStatus = {...networkState};\n this.refresh();\n }\n ));\n }\n\n subscribe(event: string, fn: Function) {\n return this.eventNotifier.subscribe(event, fn);\n }\n\n notify(event: string, ...args: any) {\n return this.eventNotifier.notify(event, args);\n }\n\n get activePage() {\n return this.appConfig.currentPage;\n }\n\n get Widgets() {\n return this.commonPartial?.Widgets;\n }\n\n goToPage(pageName: string, params: any) {\n return this.appConfig.currentPage?.goToPage(pageName, params);\n }\n\n goBack(pageName: string, params: any) {\n return this.appConfig.currentPage?.goBack(pageName, params);\n }\n\n openUrl(url: string, params?: any) {\n return this.appConfig.currentPage?.openUrl(url, params);\n }\n\n onBeforeServiceCall(config: InternalAxiosRequestConfig) {\n //DO NOT WRITE CODE HERE:\n //This is a placeholder for the WaveMaker developer.\n return config;\n }\n\n isSkeletonEnabled() {\n return this.appConfig.spinner.loader == \"skeleton\";\n }\n\n onServiceSuccess(data: any, response: AxiosResponse) {\n //DO NOT WRITE CODE HERE:\n //This is a placeholder for the WaveMaker developer.\n }\n\n onServiceError(errorMsg: any, error: AxiosError<any>) {\n //DO NOT WRITE CODE HERE:\n //This is a placeholder for the WaveMaker developer.\n }\n\n invokeNativeApi(key: string, data: Object) {\n if (NativeModulesProxy.EmbedCommModule\n && (Platform.OS === 'android' || Platform.OS === 'ios')) {\n return NativeModulesProxy.EmbedCommModule.sendToNative(key, data || {});\n } else {\n return Promise.reject('Not able to invoke Native API in this platform.');\n }\n }\n\n onPageReady(activePageName: string, activePageScope: BasePage) {\n\n }\n\n setTimezone(timezone: any){\n AppI18nService.setTimezone(timezone);\n }\n \n get spinner() {\n return AppSpinnerService;\n }\n\n openBrowser(url: string, params = {} as any) {\n if (url) {\n if (isWebPreviewMode()) {\n window.open(url, '_blank');\n } else if (url.startsWith('http') && params.target === '_blank') {\n WebBrowser.openBrowserAsync(url);\n } else {\n return Linking.openURL(url);\n }\n }\n return Promise.resolve();\n }\n\n // To support old api\n reload() {}\n\n bindServiceInterceptors() {\n this.axiosInterceptorIds = [\n axios.interceptors.request.use((config: InternalAxiosRequestConfig) => {\n const url = config.url as string;\n if (!(url.startsWith('http://') || url.startsWith(\"https://\"))) {\n config.url = this.appConfig.url + '/' + url;\n }\n config.headers = config.headers || {};\n config.headers['X-Requested-With'] = 'XMLHttpRequest';\n console.log('onBeforeService call invoked on ' + config.url);\n return this.onBeforeServiceCall(config);\n }),\n axios.interceptors.response.use(\n (response: AxiosResponse) => {\n this.onServiceSuccess(response.data, response);\n return response;\n },(error: AxiosError<any>) => {\n let errorDetails: any = error.response, errMsg;\n errorDetails = getValidJSON(errorDetails?.data) || errorDetails?.data;\n if (errorDetails && errorDetails.errors) {\n errMsg = parseErrors(errorDetails.errors) || \"Service Call Failed\";\n } else {\n errMsg = error.message || \"Service Call Failed\";\n }\n error.message = errMsg;\n console.error(`Error ${errMsg} recieved from ${error.response?.config?.url}`);\n this.onServiceError(error.message, error);\n if (error.response?.config.url?.startsWith(this.appConfig.url) && !error.response?.config.url?.includes('/services/') && error.response?.status === 401) {\n this.appConfig.currentPage?.pageName !== 'Login' && this.appConfig.currentPage?.goToPage('Login');\n }\n return Promise.reject(error)\n })\n ];\n }\n\n eval(fn: Function, failOnError = false) {\n try {\n return fn.call(this);\n } catch (e) {\n if (failOnError) {\n throw e;\n } else {\n return null;\n }\n }\n }\n\n triggerStartUpVariables() {\n return Promise.all(this.startUpVariables.map(s => this.Variables[s] && this.Variables[s].invoke()))\n .catch(() => {});\n }\n\n componentDidMount() {\n AppSpinnerService.show({\n spinner: this.appConfig.spinner\n });\n this.triggerStartUpVariables()\n .then(() => {\n this.onAppVariablesReady();\n this.isStarted = true;\n this.forceUpdate();\n }, () => {}).then(() => {\n SplashScreen.hideAsync().then(() => {});\n });\n this.startUpActions.map(a => this.Actions[a] && this.Actions[a].invoke());\n }\n\n componentWillUnmount(): void {\n this.axiosInterceptorIds.map(id => {\n axios.interceptors.request.eject(id);\n });\n this.cleanup.forEach(fn => fn());\n }\n\n refresh() {\n this.appConfig.refresh();\n }\n\n getProviders(content: React.ReactNode) {\n return (\n <NavigationServiceProvider value={this}>\n <ToastProvider value={AppToastService}>\n <PartialProvider value={AppPartialService}>\n <SecurityProvider value={AppSecurityService}>\n <CameraProvider value={CameraService}>\n <ScanProvider value={ScanService}>\n <ModalProvider value={AppModalService}>\n { content }\n </ModalProvider>\n </ScanProvider>\n </CameraProvider>\n </SecurityProvider>\n </PartialProvider>\n </ToastProvider>\n </NavigationServiceProvider>\n );\n }\n\n renderToasters() {\n this.toastsOpened = AppToastService.toastsOpened.length;\n return <WmMemo watcher={this.watcher} render={(watch) => {\n watch(() => AppToastService.refreshCount);\n return (\n <>\n {AppToastService.toastsOpened.map((o, i) =>{\n return this.getProviders((\n <ThemeProvider value={this.appConfig.theme}>\n <View key={i} style={[{\n position: 'absolute',\n width: '100%',\n bottom: 0,\n elevation: o.elevationIndex,\n zIndex: o.elevationIndex\n }, o.styles]}>\n <TouchableOpacity onPress={() => o.onClick && o.onClick()}>\n {o.content}\n {o.text && <WmMessage name={\"message\"+ i} type={o.type} caption={o.text} hideclose={true}></WmMessage>}\n </TouchableOpacity>\n </View>\n </ThemeProvider>\n )\n )})}\n </>);\n }}/>;\n }\n\n renderDialogs(): ReactNode {\n return <WmMemo watcher={this.watcher} render={(watch) => {\n watch(() => last(AppModalService.modalsOpened)?.content);\n this.modalsOpened = AppModalService.modalsOpened.length;\n AppModalService.animatedRefs.length = 0;\n return(\n <>\n {AppModalService.modalOptions.content &&\n AppModalService.modalsOpened.map((o, i) => {\n return (\n <View key={(o.name || '') + i}\n onStartShouldSetResponder={() => true}\n onResponderEnd={() => o.isModal && AppModalService.hideModal(o)}\n style={deepCopy(styles.appModal,\n o.centered ? styles.centeredModal: null,\n o.modalStyle,\n { elevation: o.elevationIndex,\n zIndex: o.elevationIndex })}>\n <Animatedview entryanimation={o.animation || 'fadeIn'}\n ref={ref => {\n this.animatedRef = ref;\n AppModalService.animatedRefs[i] = ref;\n }}\n style={[styles.appModalContent, o.contentStyle]}>\n <View\n onStartShouldSetResponder={evt => true}\n onResponderEnd={(e) => e.stopPropagation()}\n style={{width: '100%', 'alignItems': 'center'}}>\n {this.getProviders(o.content)}\n </View>\n </Animatedview>\n </View>\n )}\n )\n }\n </>);\n }}/>;\n }\n\n renderDisplayManager(): ReactNode {\n return <WmMemo watcher={this.watcher} render={(watch) => {\n watch(() => AppDisplayManagerService.displayOptions.content);\n return AppDisplayManagerService.displayOptions.content\n ? (\n <ThemeProvider value={this.appConfig.theme}>\n <View style={[styles.displayViewContainer, {\n elevation: this.toastsOpened + this.modalsOpened + 1,\n zIndex: this.toastsOpened + this.modalsOpened + 1\n }]}>\n {AppDisplayManagerService.displayOptions.content}\n </View>\n </ThemeProvider>) : null;\n }}/>\n }\n\n renderIconsViewSupportForWeb() {\n try {\n return (<style type=\"text/css\">{`\n @font-face {\n font-family: 'MaterialCommunityIcons';\n src: url(${MaterialCommunityIconsFont}) format('truetype');\n }\n `}</style>);\n } catch (e) {\n console.log('require react-native-vector-icons could not be loaded.');\n }\n return null;\n }\n\n getSelectedLocale() {\n return this.appConfig.selectedLocale;\n }\n\n getDependency(serviceName: string): any {\n const service = get(SUPPORTED_SERVICES, serviceName);\n if (service) {\n return service;\n }\n }\n\n renderApp(commonPartial:React.ReactNode) {\n this.autoUpdateVariables.forEach(value => this.Variables[value]?.invokeOnParamChange());\n return (\n <SafeAreaProvider>\n <PaperProvider theme={this.paperTheme}>\n <React.Fragment>\n {Platform.OS === 'web' ? this.renderIconsViewSupportForWeb() : null}\n <SafeAreaInsetsContext.Consumer>\n {(insets = {top: 0, bottom: 0, left: 0, right: 0}) =>\n (this.getProviders(\n (<SafeAreaView style={{flex: 1}}>\n <StatusBar />\n <FixedViewContainer>\n <ThemeProvider value={this.appConfig.theme}>\n <KeyboardAvoidingView behavior={Platform.OS === \"ios\" ? \"padding\" : undefined}\n style={{ flex: 1 }}>\n <View style={styles.container}>\n <AppNavigator\n app={this}\n landingPage={(this.props as any).pageName}\n landingPageParams={(this.props as any)?.pageName && this.props}\n hideDrawer={this.appConfig.drawer?.getContent() === null}\n drawerContent={() => this.appConfig.drawer? this.getProviders(this.appConfig.drawer.getContent()) : null}\n drawerAnimation={this.appConfig.drawer?.getAnimation()}></AppNavigator>\n {commonPartial}\n {this.renderToasters()}\n {this.renderDialogs()}\n {this.renderDisplayManager()}\n </View>\n </KeyboardAvoidingView>\n {this.appConfig.url ? \n (<WmNetworkInfoToaster appLocale={this.appConfig.appLocale}></WmNetworkInfoToaster>)\n : null}\n </ThemeProvider>\n </FixedViewContainer>\n </SafeAreaView>))\n )\n }\n </SafeAreaInsetsContext.Consumer>\n </React.Fragment>\n </PaperProvider>\n </SafeAreaProvider>\n );\n }\n}\n\nconst styles = {\n container: {\n flex: 1\n },\n appModal: {\n position: 'absolute',\n width: '100%'\n },\n appModalContent : {\n flex: 1,\n width: '100%',\n alignItems: 'center',\n flexDirection: 'column',\n justifyContent: 'center'\n },\n centeredModal: {\n flex: 1,\n position: 'absolute',\n top: 0,\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center',\n backgroundColor: 'rgba(0, 0, 0, 0.4)',\n height: '100%'\n },\n displayViewContainer: {\n position: 'absolute',\n justifyContent: 'center',\n width: '100%',\n left: 0,\n right: 0,\n top: 0,\n bottom:0\n } as ViewStyle\n};\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAsB,OAAO;AACzC,OAAOC,KAAK,MAAiE,OAAO;AACpF,SAASC,QAAQ,EAAEC,gBAAgB,EAAEC,IAAI,EAAaC,SAAS,EAAEC,oBAAoB,QAAQ,cAAc;AAC3G,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,gBAAgB,EAAEC,qBAAqB,EAAEC,YAAY,QAAQ,gCAAgC;AACtG,SAASC,YAAY,EAAEC,QAAQ,IAAIC,aAAa,QAAQ,oBAAoB;AAC5E,SAASC,OAAO,QAAQ,cAAc;AACtC,SAASC,kBAAkB,QAAQ,mB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EAAE;IACTF,IAAI,EAAE;EACR,CAAC;EACDlC,QAAQ,EAAE;IACRvB,QAAQ,EAAE,UAAU;IACpBC,KAAK,EAAE;EACT,CAAC;EACD6B,eAAe,EAAG;IAChB2B,IAAI,EAAE,CAAC;IACPxD,KAAK,EAAE,MAAM;IACbiE,UAAU,EAAE,QAAQ;IACpBC,aAAa,EAAE,QAAQ;IACvBC,cAAc,EAAE;EAClB,CAAC;EACD3C,aAAa,EAAE;IACbgC,IAAI,EAAE,CAAC;IACPzD,QAAQ,EAAE,UAAU;IACpBsD,GAAG,EAAE,CAAC;IACNa,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,QAAQ;IACxBF,UAAU,EAAE,QAAQ;IACpBG,eAAe,EAAE,oBAAoB;IACrCC,MAAM,EAAE;EACV,CAAC;EACDlC,oBAAoB,EAAE;IACpBpC,QAAQ,EAAE,UAAU;IACpBoE,cAAc,EAAE,QAAQ;IACxBnE,KAAK,EAAE,MAAM;IACbsD,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRF,GAAG,EAAE,CAAC;IACNpD,MAAM,EAAC;EACT;AACF,CAAC"}
@@ -136,6 +136,9 @@ export default class BaseFragment extends BaseComponent {
136
136
  } else if (!this.Widgets[w.props.formRef].formFields) {
137
137
  this.Widgets[w.props.formRef].formFields = [];
138
138
  }
139
+ if (!this.Widgets[w.props.formRef].formWidgets) {
140
+ this.Widgets[w.props.formRef].formWidgets = {};
141
+ }
139
142
  this.Widgets[w.props.formRef].formWidgets[w.props.name] = w;
140
143
  return;
141
144
  }
@@ -279,8 +282,9 @@ export default class BaseFragment extends BaseComponent {
279
282
  ...this.fragmentActions
280
283
  }));
281
284
  this.startUpActions.map(a => this.Actions[a] && this.Actions[a].invoke());
282
- return Promise.all(this.startUpVariables.map(s => this.Variables[s] && this.Variables[s].invoke())).catch(() => {
285
+ return Promise.all(this.startUpVariables.map(s => this.Variables[s] && this.Variables[s].invoke())).catch(error => {
283
286
  // catch errors and show content
287
+ console.error(error);
284
288
  }).then(() => {
285
289
  this.startUpVariablesLoaded = true;
286
290
  this.showContent = true;
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","get","filter","isNil","TestIdPrefixProvider","TextIdPrefixConsumer","injector","toBoolean","toNumber","isFullPathUrl","BaseComponent","BaseProps","BASE_THEME","ThemeProvider","VariableEvents","default","_viewPort","EVENTS","viewportEvents","WmFormField","WmForm","ToastConsumer","spinnerService","AppI18nService","WmFormAction","FragmentProps","BaseFragment","constructor","props","defaultProps","_defineProperty","createElement","text","title","okButtonText","cancelButtonText","onOk","onCancel","onClose","App","appConfig","app","formatters","Actions","Object","assign","Variables","cleanup","push","subscribe","ORIENTATION_CHANGE","$new","$old","isDetached","targetWidget","invokeEventCallback","proxy","screenWidth","width","screenHeight","height","SIZE_CHANGE","_this$theme","theme","destroy","baseUrl","url","resourceBaseUrl","onDestroy","onContentReady","onReady","refresh","onComponentChange","w","onComponentInit","id","name","formWidgets","formFields","formActions","Widgets","buttonArray","parentFormRef","pid","forEach","ff","formKey","registerFormFields","registerFormActions","formfield","formRef","fragments","onComponentDestroy","formfields","handleUrl","startsWith","getDateFormat","fmt","dateFormat","replace","getTimeFormat","timeFormat","getDateTimeFormat","dateTimeFormat","getCurrencySymbol","currencyCode","getStyle","classes","inlineStyles","arguments","length","undefined","trim","mergeStyle","resetAppLocale","appLocale","messages","values","f","eval","fn","failOnError","call","e","val","componentWillUnmount","componentDidMount","memoize","key","o","_memoize","initVariableSpinner","variables","v","actions","concat","map","BEFORE_INVOKE","show","message","spinner","AFTER_INVOKE","hide","onFragmentReady","cleanUpVariablesandActions","fragmentVariables","fragmentActions","startUpActions","a","invoke","Promise","all","startUpVariables","s","catch","error","console","then","startUpVariablesLoaded","showContent","onAttach","_this$targetWidget","watcher","isActive","unmute","refreshdataonattach","componentWillAttach","onDetach","_this$targetWidget2","mute","componentWillDetach","forceUpdate","generateTestIdPrefix","testId","getTestId","split","reduce","i","charCodeAt","render","autoUpdateVariables","value","_this$Variables$value","invokeOnParamChange","isVisible","testIdPrefix","toastService","toaster","renderWidget"],"sources":["base-fragment.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text } from 'react-native';\nimport { get, filter, isNil } from 'lodash';\n\nimport AppConfig from '@wavemaker/app-rn-runtime/core/AppConfig';\nimport { Formatter } from '@wavemaker/app-rn-runtime/core/formatters';\nimport { TestIdPrefixProvider, TextIdPrefixConsumer } from '@wavemaker/app-rn-runtime/core/testid.provider';\nimport injector from '@wavemaker/app-rn-runtime/core/injector';\nimport { toBoolean, toNumber, isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';\nimport { BaseComponent, BaseComponentState, BaseStyles, BaseProps, LifecycleListener } from '@wavemaker/app-rn-runtime/core/base.component';\nimport BASE_THEME, { Theme, ThemeProvider } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseVariable, VariableEvents } from '@wavemaker/app-rn-runtime/variables/base-variable';\nimport { default as _viewPort, EVENTS as viewportEvents } from '@wavemaker/app-rn-runtime/core/viewport';\nimport App from './App';\nimport WmFormField from '@wavemaker/app-rn-runtime/components/data/form/form-field/form-field.component';\nimport WmForm from '@wavemaker/app-rn-runtime/components/data/form/form.component';\nimport { ToastConsumer, ToastService } from '@wavemaker/app-rn-runtime/core/toast.service';\nimport spinnerService from '@wavemaker/app-rn-runtime/runtime/services/app-spinner.service';\n\nimport AppI18nService from './services/app-i18n.service';\nimport { Watcher } from './watcher';\nimport WmFormAction from '@wavemaker/app-rn-runtime/components/data/form/form-action/form-action.component';\n\nexport class FragmentProps extends BaseProps {\n\n}\n\nexport interface FragmentState<T extends FragmentProps> extends BaseComponentState<T> {}\n\nexport type FragmentStyles = BaseStyles & {};\nexport default abstract class BaseFragment<P extends FragmentProps, S extends FragmentState<P>> extends BaseComponent<P, S, FragmentStyles> implements LifecycleListener {\n public App: App;\n public onReady: Function = () => {};\n public baseUrl = '';\n public resourceBaseUrl = '';\n public targetWidget = null as unknown as BaseComponent<any, any, any>;\n public Widgets: any = {};\n public Variables: any = {};\n public theme: Theme = BASE_THEME;\n public appLocale: any = {};\n private startUpVariables: string[] = [];\n private startUpVariablesLoaded = false;\n private startUpActions: string[] = [];\n private autoUpdateVariables: string[] = [];\n private cleanUpVariablesandActions: BaseVariable<any>[] = [];\n public fragmentVariables: any = {};\n public fragmentActions: any = {};\n public Actions: any = {};\n public appConfig = injector.get<AppConfig>('APP_CONFIG');\n public cache = false;\n public refreshdataonattach= true;\n public isReactNativeApp = true;\n public fragments: any = {};\n public isDetached = false;\n public _memoize = {} as any;\n public toaster: any;\n public formatters: Map<string, Formatter>;\n public serviceDefinitions = {} as any;\n public Viewport = _viewPort;\n public loadingMessage = React.createElement(Text, [] as any, ['loading...']);\n public showContent = false;\n public notification = {\n text: '',\n title: '',\n okButtonText: '',\n cancelButtonText: '',\n onOk: () => {},\n onCancel: () => {},\n onClose: () => {}\n };\n public watcher: Watcher = null as any;\n constructor(props: P, defaultProps?: P) {\n super(props, null as any, defaultProps);\n this.App = this.appConfig.app;\n this.formatters = this.App.formatters;\n this.Actions = Object.assign({}, this.App.Actions);\n this.Variables = Object.assign({}, this.App.Variables);\n this.cleanup.push(_viewPort.subscribe(viewportEvents.ORIENTATION_CHANGE, ($new: any, $old: any) => {\n !this.isDetached && this.targetWidget && this.targetWidget.invokeEventCallback('onOrientationchange', [null, this.proxy,\n {screenWidth: _viewPort.width,\n screenHeight: _viewPort.height}]);\n }));\n this.cleanup.push(_viewPort.subscribe(viewportEvents.SIZE_CHANGE, ($new: any, $old: any) => {\n !this.isDetached && this.targetWidget && this.targetWidget.invokeEventCallback('onResize', [null, this.proxy,\n {screenWidth: $new.width,\n screenHeight: $new.height}]);\n }));\n this.cleanup.push(() => this.theme?.destroy());\n this.baseUrl = this.appConfig.url;\n this.resourceBaseUrl = this.appConfig.url;\n this.cleanup.push(() => this.onDestroy());\n }\n\n onContentReady() {\n this.onReady();\n this.appConfig.refresh();\n this.targetWidget && this.targetWidget.invokeEventCallback('onLoad', [null, this.proxy]);\n this.onContentReady = () => {};\n }\n\n onComponentChange(w: BaseComponent<any, any, any>) {\n this.refresh();\n }\n\n onComponentInit(w: BaseComponent<any, any, any>) {\n const id = w.props.id || w.props.name;\n let formWidgets: any, formFields: any, formActions: any;\n\n if (w instanceof WmForm) {\n if (!this.Widgets[id]) {\n this.Widgets[id] = w;\n }\n if (w.props.id) {\n const name: any = w.props.name;\n formWidgets = this.Widgets[name].formWidgets;\n formFields = this.Widgets[name].formFields;\n formActions = this.Widgets[name].buttonArray;\n this.Widgets[name].formFields = [];\n this.Widgets[name].buttonArray = [];\n this.Widgets[name].formWidgets = {};\n } else {\n formWidgets = this.Widgets[id].formWidgets;\n formFields = this.Widgets[id].formFields;\n formActions = this.Widgets[id].buttonArray;\n }\n this.Widgets[id] = w;\n if (w.parentFormRef) {\n let pid = w.parentFormRef.props.id || w.parentFormRef.props.name;\n formFields.forEach((ff: any) => {\n const formKey = ff.props.formKey || ff.props.name;\n this.Widgets[pid].formFields.push(ff);\n this.Widgets[pid].formWidgets[formKey] = formWidgets[ff.props.name];\n });\n }\n w.registerFormFields(formFields, formWidgets);\n w.registerFormActions(formActions);\n return;\n }\n if (w.props.formfield) {\n if (!this.Widgets[w.props.formRef]) {\n this.Widgets[w.props.formRef] = {formFields: [], formWidgets: {}};\n } else if (!this.Widgets[w.props.formRef].formFields) {\n this.Widgets[w.props.formRef].formFields = [];\n }\n if (!this.Widgets[w.props.formRef].formWidgets) {\n this.Widgets[w.props.formRef].formWidgets = {}\n }\n this.Widgets[w.props.formRef].formWidgets[w.props.name] = w;\n return;\n }\n if (w instanceof WmFormAction) {\n if (!this.Widgets[w.props.formKey]) {\n this.Widgets[w.props.formKey] = {};\n }\n if (!this.Widgets[w.props.formKey].buttonArray) {\n this.Widgets[w.props.formKey].buttonArray = [];\n }\n this.Widgets[w.props.formKey].buttonArray.push(w);\n return;\n }\n\n if (w instanceof WmFormField) {\n if (!this.Widgets[w.props.formRef]) {\n this.Widgets[w.props.formRef] = {};\n }\n if (!this.Widgets[w.props.formRef].formFields) {\n this.Widgets[w.props.formRef].formFields = [];\n }\n this.Widgets[w.props.formRef].formWidgets = this.Widgets[w.props.formRef].formWidgets || {};\n this.Widgets[w.props.formRef].formFields.push(w);\n return;\n }\n this.Widgets[id] = w;\n if (w instanceof BaseFragment && w !== this) {\n this.fragments[id] = w;\n }\n }\n\n onComponentDestroy(w: BaseComponent<any, any, any>) {\n const id = w.props.id || w.props.name;\n delete this.Widgets[id];\n if (w instanceof BaseFragment) {\n delete this.fragments[id];\n }\n if (w instanceof WmForm) {\n w.formWidgets = {};\n w.formFields = [];\n w.formfields = {};\n }\n }\n\n handleUrl(url: string) {\n if (isFullPathUrl(url)) {\n return url;\n }\n return this.appConfig.url + (url.startsWith('/') ? '' : '/') + url;\n }\n\n getDateFormat(fmt?: string) {\n // getting formats from appLocale when app locale is loaded locally.\n return (fmt || AppI18nService.dateFormat || get(this.appConfig, 'appLocale.formats.date')).replace(/d/g, 'D').replace(/E/g, 'd').replace(/y/g, 'Y');\n }\n\n getTimeFormat(fmt?: string) {\n return fmt || AppI18nService.timeFormat || get(this.appConfig, 'appLocale.formats.time');\n }\n\n getDateTimeFormat(fmt?: string) {\n return (fmt || AppI18nService.dateTimeFormat || (get(this.appConfig, 'appLocale.formats.date') + ' ' + get(this.appConfig, 'appLocale.formats.time'))).replace(/d/g, 'D').replace(/E/g, 'd').replace(/y/g, 'Y');\n }\n\n getCurrencySymbol(fmt?: string) {\n return (fmt || AppI18nService.currencyCode || 'USD');\n }\n\n getStyle(classes: string, inlineStyles:any = {}) {\n if (classes && classes.trim().length > 0) {\n return this.theme.mergeStyle({}, this.theme.getStyle(classes), inlineStyles);\n }\n return inlineStyles;\n }\n\n resetAppLocale() {\n this.appLocale = this.appConfig.appLocale.messages;\n Object.values(this.fragments).forEach((f: any) => (f as BaseFragment<any, any>).resetAppLocale());\n }\n\n eval(fn: Function, failOnError = false) {\n try {\n return fn.call(this);\n } catch (e) {\n if (failOnError) {\n throw e;\n } else {\n return null;\n }\n }\n }\n\n toBoolean(val: any) {\n if (isNil(val)) {\n return false;\n }\n return toBoolean(val);\n }\n\n toNumber(val: any) {\n if (isNil(val)) {\n return val;\n }\n return toNumber(val);\n }\n\n componentWillUnmount() {\n super.componentWillUnmount();\n this.targetWidget && this.targetWidget.invokeEventCallback('onDestroy', [null, this.proxy]);\n }\n\n componentDidMount(): void {\n this.resetAppLocale();\n super.componentDidMount();\n }\n\n memoize(key: string, o: any) {\n if (!this._memoize[key]) {\n this._memoize[key] = o;\n }\n return this._memoize[key];\n }\n\n initVariableSpinner() {\n let variables = filter(this.Variables, (v: BaseVariable<any>) => !!get(v, 'config.spinnerContext'));\n const actions = filter(this.Actions, (v: BaseVariable<any>) => !!get(v, 'config.spinnerContext'));\n variables = variables.concat(actions);\n if (!variables.length) {\n return;\n }\n this.cleanup.push(...variables.map(v => {\n return ((v as BaseVariable<any>)\n .subscribe(VariableEvents.BEFORE_INVOKE, () => {\n spinnerService.show({\n message: get(v, 'config.spinnerMessage'),\n spinner: this.App.appConfig.spinner\n });\n }))\n }));\n this.cleanup.push(...variables.map(v => {\n return ((v as BaseVariable<any>)\n .subscribe(VariableEvents.AFTER_INVOKE, () => {\n spinnerService.hide();\n }));\n }));\n }\n\n onFragmentReady() {\n this.cleanup.push(...Object.values({...this.Variables, ...this.Actions}).map(v => {\n return ((v as BaseVariable<any>)\n .subscribe(VariableEvents.AFTER_INVOKE, () => this.App.refresh()));\n }));\n this.initVariableSpinner();\n this.cleanUpVariablesandActions.push(...Object.values({...this.fragmentVariables, ...this.fragmentActions} as BaseVariable<any>));\n this.startUpActions.map(a => this.Actions[a] && this.Actions[a].invoke());\n return Promise.all(this.startUpVariables.map(s => this.Variables[s] && this.Variables[s].invoke()))\n .catch((error) => {\n // catch errors and show content\n console.error(error);\n })\n .then(() => {\n this.startUpVariablesLoaded = true;\n this.showContent = true;\n this.appConfig.refresh();\n });\n }\n\n onAttach() {\n this.isDetached = false;\n this.watcher.isActive = true;\n this.resetAppLocale();\n Object.values(this.fragments).forEach((f: any) => f.onAttach());\n this.cleanUpVariablesandActions.forEach((v: any) => v.unmute && v.unmute());\n this.targetWidget?.invokeEventCallback('onAttach', [null, this.proxy]);\n if (this.refreshdataonattach) {\n Promise.all(this.startUpVariables.map(s => this.Variables[s] && this.Variables[s].invoke()));\n }\n Object.values(this.Widgets).forEach((w: any) => {\n w.componentWillAttach && w.componentWillAttach();\n });\n }\n\n onDetach() {\n this.isDetached = true;\n this.watcher.isActive = false;\n Object.values(this.fragments).forEach((f: any) => f.onDetach());\n this.cleanUpVariablesandActions.forEach((v: any) => v.mute && v.mute());\n this.targetWidget?.invokeEventCallback('onDetach', [null, this.proxy]);\n Object.values(this.Widgets).forEach((w: any) => {\n w.componentWillDetach && w.componentWillDetach();\n });\n }\n\n onDestroy() {\n this.cleanUpVariablesandActions.forEach((v: any) => v.destroy());\n this.watcher.destroy();\n }\n\n refresh() {\n (injector.get('AppConfig') as AppConfig).refresh();\n }\n\n forceUpdate() {\n super.forceUpdate();\n Object.values(this.fragments).forEach((f: any) => (f as BaseFragment<any, any>).forceUpdate());\n }\n\n generateTestIdPrefix() {\n const testId = this.getTestId();\n return testId && (testId.split('')\n .reduce((a, v, i) => a + (v.charCodeAt(0) * (i + 1)), 0) + '');\n }\n\n render() {\n if (this.startUpVariablesLoaded) {\n this.autoUpdateVariables\n .forEach(value => this.Variables[value]?.invokeOnParamChange());\n }\n return this.isVisible() ? (\n <ThemeProvider value={this.theme}>\n <TextIdPrefixConsumer>\n {(testIdPrefix) => {\n this.testIdPrefix = testIdPrefix || '';\n return (\n <TestIdPrefixProvider value={this.generateTestIdPrefix() || ''}>\n <ToastConsumer>\n {(toastService: ToastService) => {\n this.toaster = toastService;\n return this.renderWidget(this.props);\n }}\n </ToastConsumer>\n </TestIdPrefixProvider>);\n }}\n </TextIdPrefixConsumer>\n\n </ThemeProvider>) : null;\n }\n}\n\n\n"],"mappings":";;;AAAA,O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,CAAC;MACtC,CACa,CACO,CAAC;IACzB,CACkB,CAET,CAAC,GAAI,IAAI;EAC1B;AACJ"}
@@ -29,7 +29,7 @@ export default class BasePage extends BaseFragment {
29
29
  AppSecurityService.canUserAccessPage(this.pageName).then(flag => {
30
30
  if (!flag) {
31
31
  this.cache = false;
32
- AppSecurityService.redirectToLogin();
32
+ AppSecurityService.redirectToLogin(this.toHashURL());
33
33
  }
34
34
  });
35
35
  }
@@ -94,7 +94,7 @@ export default class BasePage extends BaseFragment {
94
94
  const navigation = this.props.navigation;
95
95
  const _params = clone(params);
96
96
  _params && delete _params['pageName'];
97
- if (pageName !== this.pageName || !isEqual(_params, this.pageParams)) {
97
+ if (pageName !== this.pageName || !isEqual(_params || null, this.pageParams || null)) {
98
98
  if (pageName === this.pageName) {
99
99
  navigation.push(pageName, _params);
100
100
  } else if (clearCahe) {
@@ -118,6 +118,14 @@ export default class BasePage extends BaseFragment {
118
118
  }
119
119
  return Promise.resolve();
120
120
  }
121
+ navigateToLandingPage() {
122
+ AppSecurityService.navigateToLandingPage();
123
+ }
124
+ toHashURL() {
125
+ const hash = `#/${this.pageName}`;
126
+ const paramStr = Object.keys(this.pageParams || []).map(k => k && `${k}=${this.pageParams[k]}`).join('&');
127
+ return hash + (paramStr ? `?${paramStr}` : '');
128
+ }
121
129
  goBack() {
122
130
  const navigation = this.props.navigation;
123
131
  if (navigation.canGoBack()) {
@@ -0,0 +1 @@
1
+ {"version":3,"names":["clone","isEqual","React","CommonActions","WmPage","NavigationServiceProvider","AppSecurityService","AppSpinnerService","BaseFragment","Watcher","BasePage","constructor","props","_this$appConfig$drawe","_defineProperty","pageName","route","name","pageParams","params","appConfig","currentPage","drawer","setContent","serviceDefinitions","App","watcher","ROOT","create","canUserAccessPage","then","flag","cache","redirectToLogin","toHashURL","onComponentInit","w","targetWidget","refreshdataonattach","toggleDrawer","navigation","setDrawerContent","content","arguments","length","undefined","drawerContent","drawerType","hasDrawer","setTimeout","proxy","_this$appConfig$drawe2","_this$appConfig$drawe4","_this$appConfig$drawe3","createElement","value","setAnimation","onAttach","onFragmentReady","onContentReady","onPageReady","hide","cleanup","push","addListener","refresh","componentWillUnmount","goToPage","clearCahe","_params","dispatch","reset","index","routes","navigate","onDetach","destroyMe","closeDrawer","Promise","resolve","navigateToLandingPage","hash","paramStr","Object","keys","map","k","join","goBack","canGoBack","window","history","back","openUrl","url","startsWith","substring","splits","split","p","forEach","openBrowser","isActiveTabbarItem","_ref","label","link","links","possibleLinks","find","l","includes","renderWidget","renderPage"],"sources":["base-page.component.tsx"],"sourcesContent":["import { clone, isEqual } from 'lodash';\nimport React, { ReactNode } from 'react';\nimport { CommonActions } from '@react-navigation/native';\nimport { BaseComponent } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmPage from '@wavemaker/app-rn-runtime/components/page/page.component';\nimport NavigationService, { NavigationServiceProvider } from '@wavemaker/app-rn-runtime/core/navigation.service';\n\nimport AppSecurityService from './services/app-security.service';\nimport AppSpinnerService from './services/app-spinner.service';\nimport BaseFragment, { FragmentProps, FragmentState } from './base-fragment.component';\nimport { Watcher } from './watcher';\n\ndeclare const window: any;\n\nexport interface PageProps extends FragmentProps {\n route: any;\n navigation: any;\n destroyMe: Function;\n}\n\nexport interface PageState extends FragmentState<PageProps> {}\n\nexport default abstract class BasePage extends BaseFragment<PageProps, PageState> implements NavigationService {\n private pageName = null as unknown as string;\n private pageParams: any = {};\n private hasDrawer = false;\n private hasTabbar = false;\n private drawerContent = null as React.ReactNode;\n private drawerType = '';\n\n constructor(props: PageProps) {\n super(props);\n this.pageName = props.route.name;\n this.pageParams = props.route.params;\n this.appConfig.currentPage = this;\n this.appConfig.drawer?.setContent(null);\n this.serviceDefinitions = this.App.serviceDefinitions;\n this.watcher = Watcher.ROOT.create();\n AppSecurityService.canUserAccessPage(this.pageName)\n .then(flag => {\n if (!flag) {\n this.cache = false;\n AppSecurityService.redirectToLogin(this.toHashURL());\n }\n });\n }\n\n onComponentInit(w: BaseComponent<any, any, any>) {\n super.onComponentInit(w);\n if (w instanceof WmPage) {\n this.targetWidget = w;\n const props = w.props as any;\n this.cache = !(props.cache === false);\n this.refreshdataonattach = !(props.refreshdataonattach === false);\n }\n }\n\n toggleDrawer() {\n (this.props as PageProps).navigation.toggleDrawer();\n }\n\n setDrawerContent(content = this.drawerContent, drawerType = this.drawerType) {\n if (!content) {\n return;\n }\n this.drawerContent = content;\n this.drawerType = drawerType;\n this.hasDrawer = true;\n setTimeout(() => {\n if (this.appConfig.currentPage === this \n || this.appConfig.currentPage.proxy === this) {\n this.appConfig.drawer?.setContent(null);\n setTimeout(() => {\n this.appConfig.drawer?.setContent((\n <NavigationServiceProvider value={this}>\n {content}\n </NavigationServiceProvider>));\n }, 500);\n this.appConfig.drawer?.setAnimation(drawerType);\n }\n }, 10);\n }\n\n onAttach() {\n super.onAttach();\n this.setDrawerContent();\n }\n\n onFragmentReady() {\n return super.onFragmentReady().then(() => {\n this.onContentReady();\n this.App.onPageReady(this.pageName, this.proxy as BasePage);\n AppSpinnerService.hide(); \n this.cleanup.push((this.props as PageProps).navigation.addListener('focus', () => {\n if (this.appConfig.currentPage !== this) {\n this.appConfig.currentPage = this;\n this.onAttach();\n this.appConfig.refresh();\n }\n }));\n });\n }\n\n componentWillUnmount() {\n super.componentWillUnmount();\n }\n\n goToPage(pageName: string, params: any, clearCahe = false) {\n const navigation = (this.props as PageProps).navigation;\n const _params = clone(params);\n _params && delete _params['pageName'];\n if (pageName !== this.pageName || !isEqual(_params || null, this.pageParams || null)) {\n if (pageName === this.pageName) {\n navigation.push(pageName, _params);\n } else if (clearCahe) {\n navigation.dispatch(CommonActions.reset({\n index: 0,\n routes: [\n { name: pageName, params: params }\n ]}));\n } else {\n navigation.navigate(pageName, _params);\n }\n if (this.cache) {\n this.onDetach();\n } else {\n this.props.destroyMe();\n }\n } else {\n (this.props as PageProps).navigation.closeDrawer();\n }\n return Promise.resolve();\n }\n\n public navigateToLandingPage() {\n AppSecurityService.navigateToLandingPage();\n }\n\n public toHashURL() {\n const hash = `#/${this.pageName}`;\n const paramStr = Object.keys(this.pageParams || [])\n .map(k => k && `${k}=${this.pageParams[k]}`)\n .join('&');\n return hash + (paramStr ? `?${paramStr}` : '');\n }\n\n goBack() {\n const navigation = (this.props as PageProps).navigation;\n if (navigation.canGoBack()) {\n navigation.goBack();\n } else if (window && window.history) {\n window.history.back();\n }\n return Promise.resolve();\n }\n\n openUrl(url: string, params = {} as any) {\n if (url) {\n if (url.startsWith('#')) {\n url = url.substring(1);\n url = url.startsWith('/') ? url.substring(1) : url;\n const splits = url.split('?');\n const pageName = splits[0];\n let params = {} as any;\n if (splits.length > 1) {\n splits[1].split('&')\n .map(p => p.split('='))\n .forEach(p => params[p[0]] = p[1]);\n }\n return this.goToPage(pageName, params);\n } else {\n this.App.openBrowser(url, params);\n }\n }\n return Promise.resolve();\n }\n\n isActiveTabbarItem({label, link, links}: {label: string, link: string, links: string[]}) {\n const pageName = this.pageName;\n const possibleLinks = [pageName, '#' + pageName, '#/' + pageName];\n return links && links.find(l => possibleLinks.includes(l));\n }\n\n abstract renderPage(): ReactNode;\n\n renderWidget(props: PageProps) {\n return this.renderPage();\n }\n}\n"],"mappings":";;;AAAA,SAASA,KAAK,EAAEC,OAAO,QAAQ,QAAQ;AACvC,OAAOC,KAAK,MAAqB,OAAO;AACxC,SAASC,aAAa,QAAQ,0BAA0B;AAGxD,OAAOC,MAAM,MAAM,0DAA0D;AAC7E,SAA4BC,yBAAyB,QAAQ,mDAAmD;AAEhH,OAAOC,kBAAkB,MAAM,iCAAiC;AAChE,OAAOC,iBAAiB,MAAM,gCAAgC;AAC9D,OAAOC,YAAY,MAAwC,2BAA2B;AACtF,SAASC,OAAO,QAAQ,WAAW;AAYnC,eAAe,MAAeC,QAAQ,SAASF,YAAY,CAAoD;EAQ3GG,WAAWA,CAACC,KAAgB,EAAE;IAAA,IAAAC,qBAAA;IAC5B,KAAK,CAACD,KAAK,CAAC;IAACE,eAAA,mBARI,IAAI;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Q,EAAEI,MAAM,CAAC;MACxC,CAAC,MAAM;QACL,IAAI,CAACM,GAAG,CAAC4E,WAAW,CAACP,GAAG,EAAE3E,MAAM,CAAC;MACnC;IACF;IACA,OAAO2D,OAAO,CAACC,OAAO,CAAC,CAAC;EAC1B;EAEAuB,kBAAkBA,CAAAC,IAAA,EAAuE;IAAA,IAAtE;MAACC,KAAK;MAAEC,IAAI;MAAEC;IAAqD,CAAC,GAAAH,IAAA;IACrF,MAAMxF,QAAQ,GAAG,IAAI,CAACA,QAAQ;IAC9B,MAAM4F,aAAa,GAAG,CAAC5F,QAAQ,EAAE,GAAG,GAAGA,QAAQ,EAAE,IAAI,GAAGA,QAAQ,CAAC;IACjE,OAAO2F,KAAK,IAAIA,KAAK,CAACE,IAAI,CAACC,CAAC,IAAIF,aAAa,CAACG,QAAQ,CAACD,CAAC,CAAC,CAAC;EAC5D;EAIAE,YAAYA,CAACnG,KAAgB,EAAE;IAC7B,OAAO,IAAI,CAACoG,UAAU,CAAC,CAAC;EAC1B;AACJ"}
@@ -22,11 +22,6 @@ export default class BasePartial extends BaseFragment {
22
22
  onFragmentReady() {
23
23
  return super.onFragmentReady().then(() => {
24
24
  this.onContentReady();
25
- const parent = this.props.parent;
26
- if (parent) {
27
- parent.Widgets = this.Widgets;
28
- parent.Variables = this.fragmentVariables;
29
- }
30
25
  this.invokeEventCallback('onLoad', [this]);
31
26
  });
32
27
  }
@@ -48,6 +43,16 @@ export default class BasePartial extends BaseFragment {
48
43
  delete parent.Variables;
49
44
  }
50
45
  }
46
+ componentDidUpdate(prevProps, prevState, snapshot) {
47
+ super.componentDidUpdate(prevProps, prevState, snapshot);
48
+ const parent = this.props.parent;
49
+ if (parent) {
50
+ parent.pageParams = this.pageParams;
51
+ parent.partialParams = this.pageParams;
52
+ parent.Widgets = this.Widgets;
53
+ parent.Variables = this.fragmentVariables;
54
+ }
55
+ }
51
56
  renderWidget(props) {
52
57
  return this.renderPartial();
53
58
  }
@@ -0,0 +1 @@
1
+ {"version":3,"names":["WmPartial","BaseFragment","BasePartial","constructor","props","_defineProperty","isPartOfPrefab","prefab","App","appConfig","app","Actions","Object","assign","Variables","serviceDefinitions","Prefab","baseUrl","watcher","parentWatcher","create","onFragmentReady","then","onContentReady","invokeEventCallback","prefabname","_this$Prefab","onComponentInit","w","targetWidget","onComponentDestroy","parent","Widgets","componentDidUpdate","prevProps","prevState","snapshot","pageParams","partialParams","fragmentVariables","renderWidget","renderPartial"],"sources":["base-partial.component.tsx"],"sourcesContent":["import { BaseComponent } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmPartial from '@wavemaker/app-rn-runtime/components/page/partial/partial.component';\nimport BaseFragment, { FragmentProps, FragmentState } from './base-fragment.component';\nimport { ReactNode } from 'react';\nimport BasePrefab from './base-prefab.component';\nimport { Watcher } from './watcher';\nexport interface PartialProps extends FragmentProps {\n serviceDefinitions: any;\n prefab: any;\n parent: any;\n onLoad?: Function;\n parentWatcher: Watcher;\n}\n\nexport interface PartialState extends FragmentState<PartialProps> {}\n\nexport default abstract class BasePartial extends BaseFragment<PartialProps, PartialState> {\n private partialParams: any = {};\n Prefab: BasePrefab = null as any;\n\n constructor(props: PartialProps) {\n super(props);\n const isPartOfPrefab = !!this.props.prefab;\n this.App = this.appConfig.app;\n this.Actions = Object.assign({}, isPartOfPrefab ? {} : this.App.Actions);\n this.Variables = Object.assign({}, isPartOfPrefab ? {} : this.App.Variables);\n this.serviceDefinitions = this.props.serviceDefinitions;\n if (isPartOfPrefab) {\n this.Prefab = this.props.prefab;\n this.baseUrl =this.Prefab.baseUrl;\n }\n this.watcher = props.parentWatcher.create();\n }\n\n onFragmentReady() {\n return super.onFragmentReady().then(() => {\n this.onContentReady();\n this.invokeEventCallback('onLoad', [this]);\n });\n }\n\n get prefabname() {\n return this.Prefab?.props.prefabname;\n }\n\n onComponentInit(w: BaseComponent<any, any, any>) {\n super.onComponentInit(w);\n if (w instanceof WmPartial) {\n this.targetWidget = w;\n }\n }\n\n onComponentDestroy(w: BaseComponent<any, any, any>): void {\n super.onComponentDestroy(w);\n const parent: any = this.props.parent;\n if (parent) {\n delete (parent as any).Widgets;\n delete (parent as any).Variables;\n }\n }\n\n componentDidUpdate(prevProps: Readonly<PartialProps>, prevState: Readonly<PartialState>, snapshot?: any): void {\n super.componentDidUpdate(prevProps, prevState, snapshot);\n const parent: any = this.props.parent;\n if (parent) {\n parent.pageParams = (this as any).pageParams;\n parent.partialParams = (this as any).pageParams;\n parent.Widgets = this.Widgets;\n parent.Variables = this.fragmentVariables;\n }\n }\n\n abstract renderPartial(): ReactNode;\n\n renderWidget(props: PartialProps) {\n return this.renderPartial();\n }\n}\n"],"mappings":";;;AACA,OAAOA,SAAS,MAAM,qEAAqE;AAC3F,OAAOC,YAAY,MAAwC,2BAA2B;AActF,eAAe,MAAeC,WAAW,SAASD,YAAY,CAA6B;EAIvFE,WAAWA,CAACC,KAAmB,EAAE;IAC7B,KAAK,CAACA,KAAK,CAAC;IAACC,eAAA,wBAJY,CAAC,CAAC;IAAAA,eAAA,iBACV,IAAI;IAIrB,MAAMC,cAAc,GAAG,CAAC,CAAC,IAAI,CAACF,KAAK,CAACG,MAAM;IAC1C,IAAI,CAACC,GAAG,GAAG,IAAI,CAACC,SAAS,CAACC,GAAG;IAC7B,IAAI,CAACC,OAAO,GAAGC,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEP,cAAc,GAAG,CAAC,CAAC,GAAG,IAAI,CAACE,GAAG,CAACG,OAAO,CAAC;IACxE,IAAI,CAACG,SAAS,GAAGF,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEP,cAAc,GAAG,CAAC,CAAC,GAAG,IAAI,CAACE,GAAG,CAACM,SAAS,CAAC;IAC5E,IAAI,CAACC,kBAAkB,GAAG,IAAI,CAACX,KAAK,CAACW,kBAAkB;IACvD,IAAIT,cAAc,EAAE;MAClB,IAAI,CAACU,MAAM,GAAG,IAAI,CAACZ,KAAK,CAACG,MAAM;MAC/B,IAAI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I,CAASD,UAAU;MAChDN,MAAM,CAACC,OAAO,GAAG,IAAI,CAACA,OAAO;MAC7BD,MAAM,CAACjB,SAAS,GAAG,IAAI,CAACyB,iBAAiB;IAC3C;EACF;EAIAC,YAAYA,CAACpC,KAAmB,EAAE;IAChC,OAAO,IAAI,CAACqC,aAAa,CAAC,CAAC;EAC7B;AACJ"}
@@ -26,6 +26,7 @@ class AppSecurityService {
26
26
  _defineProperty(this, "appConfig", void 0);
27
27
  _defineProperty(this, "baseUrl", '');
28
28
  _defineProperty(this, "defaultSecurityConfig", void 0);
29
+ _defineProperty(this, "landingPage", '');
29
30
  axios.interceptors.request.use(config => this.onBeforeServiceCall(config));
30
31
  }
31
32
  onBeforeServiceCall(config) {
@@ -53,9 +54,17 @@ class AppSecurityService {
53
54
  getAppConfig() {
54
55
  return injector.get('APP_CONFIG');
55
56
  }
56
- navigateToLandingPage(details) {
57
- var _this$appConfig$curre, _details$userInfo;
58
- (_this$appConfig$curre = this.appConfig.currentPage) === null || _this$appConfig$curre === void 0 ? void 0 : _this$appConfig$curre.goToPage(((_details$userInfo = details.userInfo) === null || _details$userInfo === void 0 ? void 0 : _details$userInfo.landingPage) || 'Main', null, true);
57
+ navigateToLandingPage() {
58
+ var _this$appConfig$curre, _this$appConfig$logge;
59
+ (_this$appConfig$curre = this.appConfig.currentPage) === null || _this$appConfig$curre === void 0 ? void 0 : _this$appConfig$curre.goToPage(((_this$appConfig$logge = this.appConfig.loggedInUser) === null || _this$appConfig$logge === void 0 ? void 0 : _this$appConfig$logge.landingPage) || this.appConfig.landingPage || 'Main', null, true);
60
+ if (this.landingPage) {
61
+ const landingPage = this.landingPage;
62
+ this.landingPage = '';
63
+ setTimeout(() => {
64
+ var _this$appConfig$curre2;
65
+ (_this$appConfig$curre2 = this.appConfig.currentPage) === null || _this$appConfig$curre2 === void 0 ? void 0 : _this$appConfig$curre2.openUrl(landingPage);
66
+ }, 100);
67
+ }
59
68
  }
60
69
  appLogin(options) {
61
70
  // encode all parameters
@@ -88,7 +97,8 @@ class AppSecurityService {
88
97
  return this.appConfig.getServiceDefinitions(this.appConfig.url).then(() => Promise.resolve(this.defaultSecurityConfig));
89
98
  }).then(details => {
90
99
  const loggedInUser = {};
91
- this.securityConfig = details;
100
+ this.securityConfig = details || {};
101
+ this.securityConfig.isSecurityEnabled = !!(details !== null && details !== void 0 && details.securityEnabled);
92
102
  const appConfig = this.appConfig;
93
103
  if (typeof details !== 'string' && (!details.securityEnabled || details.authenticated)) {
94
104
  if (details.authenticated) {
@@ -99,6 +109,7 @@ class AppSecurityService {
99
109
  loggedInUser.id = details.userInfo.userId;
100
110
  loggedInUser.tenantId = details.userInfo.tenantId;
101
111
  loggedInUser.userAttributes = details.userInfo.userAttributes;
112
+ loggedInUser.landingPage = details.userInfo.landingPage;
102
113
  appConfig.loggedInUser = loggedInUser;
103
114
  this.loggedInUser.dataSet = loggedInUser;
104
115
  }
@@ -120,7 +131,7 @@ class AppSecurityService {
120
131
  }
121
132
  return this.load(baseURL);
122
133
  }
123
- redirectToLogin() {
134
+ redirectToLogin(redirectTo) {
124
135
  var _this$securityConfig;
125
136
  if (((_this$securityConfig = this.securityConfig) === null || _this$securityConfig === void 0 || (_this$securityConfig = _this$securityConfig.loginConfig) === null || _this$securityConfig === void 0 ? void 0 : _this$securityConfig.type) === 'SSO') {
126
137
  const authUrl = this.appConfig.url + '/services/security/ssologin';
@@ -146,10 +157,13 @@ class AppSecurityService {
146
157
  }, 1000);
147
158
  }
148
159
  } else {
149
- var _this$securityConfig$, _this$appConfig$curre2;
160
+ var _this$securityConfig$, _this$appConfig$curre3;
150
161
  const loginPage = ((_this$securityConfig$ = this.securityConfig.loginConfig) === null || _this$securityConfig$ === void 0 ? void 0 : _this$securityConfig$.pageName) || 'Login';
162
+ if (redirectTo && !redirectTo.startsWith('#/' + loginPage)) {
163
+ this.landingPage = redirectTo;
164
+ }
151
165
  injector.get('APP_CONFIG').landingPage = loginPage;
152
- (_this$appConfig$curre2 = this.appConfig.currentPage) === null || _this$appConfig$curre2 === void 0 ? void 0 : _this$appConfig$curre2.goToPage(loginPage, null, true);
166
+ (_this$appConfig$curre3 = this.appConfig.currentPage) === null || _this$appConfig$curre3 === void 0 ? void 0 : _this$appConfig$curre3.goToPage(loginPage, null, true);
153
167
  }
154
168
  this.appConfig.refresh();
155
169
  }