@wavemaker/app-rn-runtime 11.7.0-next.26341 → 11.7.0-patch.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (921) hide show
  1. package/components/basic/anchor/anchor.component.js.map +1 -0
  2. {app-rn-runtime → package}/components/basic/label/label.component.js +1 -1
  3. package/components/basic/label/label.component.js.map +1 -0
  4. package/components/basic/tooltip/tooltip.component.js +79 -0
  5. package/components/basic/tooltip/tooltip.component.js.map +1 -0
  6. package/components/basic/tooltip/tooltip.props.js +18 -0
  7. package/components/basic/tooltip/tooltip.props.js.map +1 -0
  8. package/components/basic/tooltip/tooltip.styles.js +49 -0
  9. package/components/basic/tooltip/tooltip.styles.js.map +1 -0
  10. {app-rn-runtime → package}/components/container/accordion/accordion.component.js +2 -2
  11. package/components/container/accordion/accordion.component.js.map +1 -0
  12. {app-rn-runtime → package}/components/container/panel/panel.component.js +1 -1
  13. package/components/container/panel/panel.component.js.map +1 -0
  14. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js +6 -3
  15. package/components/container/tabs/tabpane/tabpane.component.js.map +1 -0
  16. {app-rn-runtime → package}/components/container/wizard/wizard.component.js +1 -1
  17. package/components/container/wizard/wizard.component.js.map +1 -0
  18. package/components/data/form/form-action/form-action.component.js.map +1 -0
  19. {app-rn-runtime → package}/components/data/form/form.component.js +1 -1
  20. package/components/data/form/form.component.js.map +1 -0
  21. {app-rn-runtime → package}/components/data/list/list.component.js +21 -18
  22. package/components/data/list/list.component.js.map +1 -0
  23. {app-rn-runtime → package}/components/data/list/list.styles.js +0 -2
  24. package/components/data/list/list.styles.js.map +1 -0
  25. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js +2 -2
  26. package/components/input/basedataset/basedataset.component.js.map +1 -0
  27. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js +2 -0
  28. package/components/input/baseinput/baseinput.component.js.map +1 -0
  29. {app-rn-runtime → package}/components/input/epoch/base-datetime.component.js +74 -1
  30. package/components/input/epoch/base-datetime.component.js.map +1 -0
  31. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js +2 -0
  32. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js.map +1 -1
  33. package/components/input/epoch/wheel-date-picker.component.js +87 -0
  34. package/components/input/epoch/wheel-date-picker.component.js.map +1 -0
  35. package/components/input/epoch/wheel-time-picker.component.js +107 -0
  36. package/components/input/epoch/wheel-time-picker.component.js.map +1 -0
  37. package/components/input/epoch/wheelpicker/wheelpicker.component.js +90 -0
  38. package/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -0
  39. package/components/input/epoch/wheelpicker/wheelpicker.props.js +17 -0
  40. package/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -0
  41. package/components/input/epoch/wheelpicker/wheelpicker.styles.js +55 -0
  42. package/components/input/epoch/wheelpicker/wheelpicker.styles.js.map +1 -0
  43. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +72 -0
  44. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -0
  45. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +15 -0
  46. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -0
  47. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js +66 -0
  48. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js.map +1 -0
  49. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +74 -0
  50. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +1 -0
  51. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +16 -0
  52. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -0
  53. package/components/input/slider/slider.component.js +439 -0
  54. package/components/input/slider/slider.component.js.map +1 -0
  55. package/components/input/slider/slider.component_backup.js +398 -0
  56. package/components/input/slider/slider.component_backup.js.map +1 -0
  57. {app-rn-runtime → package}/components/input/slider/slider.props.js +9 -5
  58. package/components/input/slider/slider.props.js.map +1 -0
  59. {app-rn-runtime → package}/components/input/slider/slider.styles.js +25 -2
  60. package/components/input/slider/slider.styles.js.map +1 -0
  61. {app-rn-runtime → package}/components/input/switch/switch.component.js +1 -1
  62. {app-rn-runtime → package}/components/input/switch/switch.component.js.map +1 -1
  63. {app-rn-runtime → package}/components/input/switch/switch.styles.js +6 -1
  64. package/components/input/switch/switch.styles.js.map +1 -0
  65. package/components/navigation/navbar/navbar.props.js.map +1 -0
  66. package/components/navigation/navitem/navitem.component.js.map +1 -0
  67. package/components/navigation/navitem/navitem.props.js.map +1 -0
  68. package/components/navigation/popover/popover.component.js.map +1 -0
  69. {app-rn-runtime → package}/core/base.component.js +21 -15
  70. package/core/base.component.js.map +1 -0
  71. package/core/components/flatlist.component.js +38 -0
  72. package/core/components/flatlist.component.js.map +1 -0
  73. {app-rn-runtime → package}/core/event-notifier.js +13 -4
  74. package/core/event-notifier.js.map +1 -0
  75. {app-rn-runtime → package}/core/tappable.component.js +75 -39
  76. package/core/tappable.component.js.map +1 -0
  77. {app-rn-runtime → package}/core/utils.js +62 -0
  78. package/core/utils.js.map +1 -0
  79. {app-rn-runtime → package}/package.json +3 -3
  80. {app-rn-runtime → package}/runtime/App.js +8 -0
  81. package/runtime/App.js.map +1 -0
  82. {app-rn-runtime → package}/runtime/base-page.component.js +10 -2
  83. package/runtime/base-page.component.js.map +1 -0
  84. {app-rn-runtime → package}/runtime/base-partial.component.js +10 -5
  85. package/runtime/base-partial.component.js.map +1 -0
  86. {app-rn-runtime → package}/runtime/services/app-security.service.js +21 -7
  87. package/runtime/services/app-security.service.js.map +1 -0
  88. {app-rn-runtime → package}/styles/theme.variables.js +7 -0
  89. package/styles/theme.variables.js.map +1 -0
  90. package/variables/device/device/network-info.operation.js +33 -0
  91. package/variables/device/device/network-info.operation.js.map +1 -0
  92. package/variables/device/operation.provider.js.map +1 -0
  93. {app-rn-runtime → package}/variables/device-variable.js +1 -1
  94. package/variables/device-variable.js.map +1 -0
  95. app-rn-runtime/components/basic/anchor/anchor.component.js.map +0 -1
  96. app-rn-runtime/components/basic/label/label.component.js.map +0 -1
  97. app-rn-runtime/components/container/accordion/accordion.component.js.map +0 -1
  98. app-rn-runtime/components/container/panel/panel.component.js.map +0 -1
  99. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js.map +0 -1
  100. app-rn-runtime/components/container/wizard/wizard.component.js.map +0 -1
  101. app-rn-runtime/components/data/form/form-action/form-action.component.js.map +0 -1
  102. app-rn-runtime/components/data/form/form.component.js.map +0 -1
  103. app-rn-runtime/components/data/list/list.component.js.map +0 -1
  104. app-rn-runtime/components/data/list/list.styles.js.map +0 -1
  105. app-rn-runtime/components/input/basedataset/basedataset.component.js.map +0 -1
  106. app-rn-runtime/components/input/baseinput/baseinput.component.js.map +0 -1
  107. app-rn-runtime/components/input/epoch/base-datetime.component.js.map +0 -1
  108. app-rn-runtime/components/input/slider/slider.component.js +0 -154
  109. app-rn-runtime/components/input/slider/slider.component.js.map +0 -1
  110. app-rn-runtime/components/input/slider/slider.props.js.map +0 -1
  111. app-rn-runtime/components/input/slider/slider.styles.js.map +0 -1
  112. app-rn-runtime/components/input/switch/switch.styles.js.map +0 -1
  113. app-rn-runtime/components/navigation/navbar/navbar.props.js.map +0 -1
  114. app-rn-runtime/components/navigation/navitem/navitem.component.js.map +0 -1
  115. app-rn-runtime/components/navigation/navitem/navitem.props.js.map +0 -1
  116. app-rn-runtime/components/navigation/popover/popover.component.js.map +0 -1
  117. app-rn-runtime/core/base.component.js.map +0 -1
  118. app-rn-runtime/core/event-notifier.js.map +0 -1
  119. app-rn-runtime/core/tappable.component.js.map +0 -1
  120. app-rn-runtime/core/utils.js.map +0 -1
  121. app-rn-runtime/runtime/App.js.map +0 -1
  122. app-rn-runtime/runtime/base-page.component.js.map +0 -1
  123. app-rn-runtime/runtime/base-partial.component.js.map +0 -1
  124. app-rn-runtime/runtime/services/app-security.service.js.map +0 -1
  125. app-rn-runtime/styles/theme.variables.js.map +0 -1
  126. app-rn-runtime/variables/device/device/network-info.operation.js +0 -13
  127. app-rn-runtime/variables/device/device/network-info.operation.js.map +0 -1
  128. app-rn-runtime/variables/device/operation.provider.js.map +0 -1
  129. app-rn-runtime/variables/device-variable.js.map +0 -1
  130. {app-rn-runtime → package}/actions/base-action.js +0 -0
  131. {app-rn-runtime → package}/actions/base-action.js.map +0 -0
  132. {app-rn-runtime → package}/actions/index.js +0 -0
  133. {app-rn-runtime → package}/actions/index.js.map +0 -0
  134. {app-rn-runtime → package}/actions/login-action.js +0 -0
  135. {app-rn-runtime → package}/actions/login-action.js.map +0 -0
  136. {app-rn-runtime → package}/actions/logout-action.js +0 -0
  137. {app-rn-runtime → package}/actions/logout-action.js.map +0 -0
  138. {app-rn-runtime → package}/actions/navigation-action.js +0 -0
  139. {app-rn-runtime → package}/actions/navigation-action.js.map +0 -0
  140. {app-rn-runtime → package}/actions/notification-action.js +0 -0
  141. {app-rn-runtime → package}/actions/notification-action.js.map +0 -0
  142. {app-rn-runtime → package}/actions/timer-action.js +0 -0
  143. {app-rn-runtime → package}/actions/timer-action.js.map +0 -0
  144. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js +0 -0
  145. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js.map +0 -0
  146. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js +0 -0
  147. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js.map +0 -0
  148. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js +0 -0
  149. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +0 -0
  150. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js +0 -0
  151. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js.map +0 -0
  152. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js +0 -0
  153. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js.map +0 -0
  154. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js +0 -0
  155. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +0 -0
  156. {app-rn-runtime → package}/components/advanced/carousel/carousel.component.js +0 -0
  157. {app-rn-runtime → package}/components/advanced/carousel/carousel.component.js.map +0 -0
  158. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js +0 -0
  159. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js.map +0 -0
  160. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js +0 -0
  161. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js.map +0 -0
  162. {app-rn-runtime → package}/components/advanced/login/login.component.js +0 -0
  163. {app-rn-runtime → package}/components/advanced/login/login.component.js.map +0 -0
  164. {app-rn-runtime → package}/components/advanced/login/login.props.js +0 -0
  165. {app-rn-runtime → package}/components/advanced/login/login.props.js.map +0 -0
  166. {app-rn-runtime → package}/components/advanced/login/login.styles.js +0 -0
  167. {app-rn-runtime → package}/components/advanced/login/login.styles.js.map +0 -0
  168. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js +0 -0
  169. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js.map +0 -0
  170. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js +0 -0
  171. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js.map +0 -0
  172. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js +0 -0
  173. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +0 -0
  174. {app-rn-runtime → package}/components/advanced/webview/webview.component.js +0 -0
  175. {app-rn-runtime → package}/components/advanced/webview/webview.component.js.map +0 -0
  176. {app-rn-runtime → package}/components/advanced/webview/webview.props.js +0 -0
  177. {app-rn-runtime → package}/components/advanced/webview/webview.props.js.map +0 -0
  178. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js +0 -0
  179. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
  180. {app-rn-runtime → package}/components/basic/anchor/anchor.component.js +0 -0
  181. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js +0 -0
  182. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js.map +0 -0
  183. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js +0 -0
  184. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js.map +0 -0
  185. {app-rn-runtime → package}/components/basic/animatedview.component.js +0 -0
  186. {app-rn-runtime → package}/components/basic/animatedview.component.js.map +0 -0
  187. {app-rn-runtime → package}/components/basic/audio/audio.component.js +0 -0
  188. {app-rn-runtime → package}/components/basic/audio/audio.component.js.map +0 -0
  189. {app-rn-runtime → package}/components/basic/audio/audio.props.js +0 -0
  190. {app-rn-runtime → package}/components/basic/audio/audio.props.js.map +0 -0
  191. {app-rn-runtime → package}/components/basic/audio/audio.styles.js +0 -0
  192. {app-rn-runtime → package}/components/basic/audio/audio.styles.js.map +0 -0
  193. {app-rn-runtime → package}/components/basic/button/button.component.js +0 -0
  194. {app-rn-runtime → package}/components/basic/button/button.component.js.map +0 -0
  195. {app-rn-runtime → package}/components/basic/button/button.props.js +0 -0
  196. {app-rn-runtime → package}/components/basic/button/button.props.js.map +0 -0
  197. {app-rn-runtime → package}/components/basic/button/button.styles.js +0 -0
  198. {app-rn-runtime → package}/components/basic/button/button.styles.js.map +0 -0
  199. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js +0 -0
  200. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js.map +0 -0
  201. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js +0 -0
  202. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js.map +0 -0
  203. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js +0 -0
  204. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js.map +0 -0
  205. {app-rn-runtime → package}/components/basic/custom/custom.component.js +0 -0
  206. {app-rn-runtime → package}/components/basic/custom/custom.component.js.map +0 -0
  207. {app-rn-runtime → package}/components/basic/custom/custom.props.js +0 -0
  208. {app-rn-runtime → package}/components/basic/custom/custom.props.js.map +0 -0
  209. {app-rn-runtime → package}/components/basic/custom/custom.styles.js +0 -0
  210. {app-rn-runtime → package}/components/basic/custom/custom.styles.js.map +0 -0
  211. {app-rn-runtime → package}/components/basic/icon/icon.component.js +0 -0
  212. {app-rn-runtime → package}/components/basic/icon/icon.component.js.map +0 -0
  213. {app-rn-runtime → package}/components/basic/icon/icon.props.js +0 -0
  214. {app-rn-runtime → package}/components/basic/icon/icon.props.js.map +0 -0
  215. {app-rn-runtime → package}/components/basic/icon/icon.styles.js +0 -0
  216. {app-rn-runtime → package}/components/basic/icon/icon.styles.js.map +0 -0
  217. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +0 -0
  218. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +0 -0
  219. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
  220. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +0 -0
  221. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +0 -0
  222. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
  223. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js +0 -0
  224. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js.map +0 -0
  225. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.ttf +0 -0
  226. {app-rn-runtime → package}/components/basic/label/label.props.js +0 -0
  227. {app-rn-runtime → package}/components/basic/label/label.props.js.map +0 -0
  228. {app-rn-runtime → package}/components/basic/label/label.styles.js +0 -0
  229. {app-rn-runtime → package}/components/basic/label/label.styles.js.map +0 -0
  230. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js +0 -0
  231. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js.map +0 -0
  232. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js +0 -0
  233. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js.map +0 -0
  234. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js +0 -0
  235. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js.map +0 -0
  236. {app-rn-runtime → package}/components/basic/message/message.component.js +0 -0
  237. {app-rn-runtime → package}/components/basic/message/message.component.js.map +0 -0
  238. {app-rn-runtime → package}/components/basic/message/message.props.js +0 -0
  239. {app-rn-runtime → package}/components/basic/message/message.props.js.map +0 -0
  240. {app-rn-runtime → package}/components/basic/message/message.styles.js +0 -0
  241. {app-rn-runtime → package}/components/basic/message/message.styles.js.map +0 -0
  242. {app-rn-runtime → package}/components/basic/modal/modal.component.js +0 -0
  243. {app-rn-runtime → package}/components/basic/modal/modal.component.js.map +0 -0
  244. {app-rn-runtime → package}/components/basic/modal/modal.props.js +0 -0
  245. {app-rn-runtime → package}/components/basic/modal/modal.props.js.map +0 -0
  246. {app-rn-runtime → package}/components/basic/modal/modal.styles.js +0 -0
  247. {app-rn-runtime → package}/components/basic/modal/modal.styles.js.map +0 -0
  248. {app-rn-runtime → package}/components/basic/picture/picture.component.js +0 -0
  249. {app-rn-runtime → package}/components/basic/picture/picture.component.js.map +0 -0
  250. {app-rn-runtime → package}/components/basic/picture/picture.props.js +0 -0
  251. {app-rn-runtime → package}/components/basic/picture/picture.props.js.map +0 -0
  252. {app-rn-runtime → package}/components/basic/picture/picture.styles.js +0 -0
  253. {app-rn-runtime → package}/components/basic/picture/picture.styles.js.map +0 -0
  254. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js +0 -0
  255. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js.map +0 -0
  256. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js +0 -0
  257. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js.map +0 -0
  258. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js +0 -0
  259. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js.map +0 -0
  260. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js +0 -0
  261. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js.map +0 -0
  262. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js +0 -0
  263. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js.map +0 -0
  264. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js +0 -0
  265. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js.map +0 -0
  266. {app-rn-runtime → package}/components/basic/search/local-data-provider.js +0 -0
  267. {app-rn-runtime → package}/components/basic/search/local-data-provider.js.map +0 -0
  268. {app-rn-runtime → package}/components/basic/search/search.component.js +0 -0
  269. {app-rn-runtime → package}/components/basic/search/search.component.js.map +0 -0
  270. {app-rn-runtime → package}/components/basic/search/search.props.js +0 -0
  271. {app-rn-runtime → package}/components/basic/search/search.props.js.map +0 -0
  272. {app-rn-runtime → package}/components/basic/search/search.styles.js +0 -0
  273. {app-rn-runtime → package}/components/basic/search/search.styles.js.map +0 -0
  274. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js +0 -0
  275. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js.map +0 -0
  276. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js +0 -0
  277. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js.map +0 -0
  278. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js +0 -0
  279. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js.map +0 -0
  280. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js +0 -0
  281. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js.map +0 -0
  282. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js +0 -0
  283. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js.map +0 -0
  284. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js +0 -0
  285. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js.map +0 -0
  286. {app-rn-runtime → package}/components/basic/video/video.component.js +0 -0
  287. {app-rn-runtime → package}/components/basic/video/video.component.js.map +0 -0
  288. {app-rn-runtime → package}/components/basic/video/video.props.js +0 -0
  289. {app-rn-runtime → package}/components/basic/video/video.props.js.map +0 -0
  290. {app-rn-runtime → package}/components/basic/video/video.styles.js +0 -0
  291. {app-rn-runtime → package}/components/basic/video/video.styles.js.map +0 -0
  292. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js +0 -0
  293. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js.map +0 -0
  294. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js +0 -0
  295. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js.map +0 -0
  296. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js +0 -0
  297. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js.map +0 -0
  298. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js +0 -0
  299. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js.map +0 -0
  300. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js +0 -0
  301. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js.map +0 -0
  302. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js +0 -0
  303. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
  304. {app-rn-runtime → package}/components/chart/basechart.component.js +0 -0
  305. {app-rn-runtime → package}/components/chart/basechart.component.js.map +0 -0
  306. {app-rn-runtime → package}/components/chart/basechart.props.js +0 -0
  307. {app-rn-runtime → package}/components/chart/basechart.props.js.map +0 -0
  308. {app-rn-runtime → package}/components/chart/basechart.styles.js +0 -0
  309. {app-rn-runtime → package}/components/chart/basechart.styles.js.map +0 -0
  310. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js +0 -0
  311. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js.map +0 -0
  312. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js +0 -0
  313. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js.map +0 -0
  314. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js +0 -0
  315. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js.map +0 -0
  316. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js +0 -0
  317. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js.map +0 -0
  318. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js +0 -0
  319. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js.map +0 -0
  320. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js +0 -0
  321. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js.map +0 -0
  322. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js +0 -0
  323. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js.map +0 -0
  324. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js +0 -0
  325. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js.map +0 -0
  326. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js +0 -0
  327. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js.map +0 -0
  328. {app-rn-runtime → package}/components/chart/legend/legend.component.js +0 -0
  329. {app-rn-runtime → package}/components/chart/legend/legend.component.js.map +0 -0
  330. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js +0 -0
  331. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js.map +0 -0
  332. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js +0 -0
  333. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js.map +0 -0
  334. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
  335. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
  336. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js +0 -0
  337. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js.map +0 -0
  338. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js +0 -0
  339. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js.map +0 -0
  340. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js +0 -0
  341. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js.map +0 -0
  342. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js +0 -0
  343. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js.map +0 -0
  344. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js +0 -0
  345. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js.map +0 -0
  346. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js +0 -0
  347. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js.map +0 -0
  348. {app-rn-runtime → package}/components/chart/staticdata.js +0 -0
  349. {app-rn-runtime → package}/components/chart/staticdata.js.map +0 -0
  350. {app-rn-runtime → package}/components/chart/theme/chart.theme.js +0 -0
  351. {app-rn-runtime → package}/components/chart/theme/chart.theme.js.map +0 -0
  352. {app-rn-runtime → package}/components/container/accordion/accordion.props.js +0 -0
  353. {app-rn-runtime → package}/components/container/accordion/accordion.props.js.map +0 -0
  354. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js +0 -0
  355. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js.map +0 -0
  356. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js +0 -0
  357. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js.map +0 -0
  358. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js +0 -0
  359. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js.map +0 -0
  360. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js +0 -0
  361. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js.map +0 -0
  362. {app-rn-runtime → package}/components/container/container.component.js +0 -0
  363. {app-rn-runtime → package}/components/container/container.component.js.map +0 -0
  364. {app-rn-runtime → package}/components/container/container.props.js +0 -0
  365. {app-rn-runtime → package}/components/container/container.props.js.map +0 -0
  366. {app-rn-runtime → package}/components/container/container.styles.js +0 -0
  367. {app-rn-runtime → package}/components/container/container.styles.js.map +0 -0
  368. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
  369. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -0
  370. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -0
  371. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -0
  372. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
  373. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
  374. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js +0 -0
  375. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -0
  376. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js +0 -0
  377. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -0
  378. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
  379. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
  380. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js +0 -0
  381. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js.map +0 -0
  382. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js +0 -0
  383. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js.map +0 -0
  384. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
  385. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js.map +0 -0
  386. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js +0 -0
  387. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js.map +0 -0
  388. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js +0 -0
  389. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js.map +0 -0
  390. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
  391. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
  392. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -0
  393. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -0
  394. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -0
  395. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -0
  396. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
  397. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
  398. {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js +0 -0
  399. {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js.map +0 -0
  400. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js +0 -0
  401. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js.map +0 -0
  402. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js +0 -0
  403. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js.map +0 -0
  404. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js +0 -0
  405. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js.map +0 -0
  406. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js +0 -0
  407. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js.map +0 -0
  408. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js +0 -0
  409. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js.map +0 -0
  410. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js +0 -0
  411. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js.map +0 -0
  412. {app-rn-runtime → package}/components/container/panel/panel.props.js +0 -0
  413. {app-rn-runtime → package}/components/container/panel/panel.props.js.map +0 -0
  414. {app-rn-runtime → package}/components/container/panel/panel.styles.js +0 -0
  415. {app-rn-runtime → package}/components/container/panel/panel.styles.js.map +0 -0
  416. {app-rn-runtime → package}/components/container/partial-host.component.js +0 -0
  417. {app-rn-runtime → package}/components/container/partial-host.component.js.map +0 -0
  418. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.component.js +0 -0
  419. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.component.js.map +0 -0
  420. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js +0 -0
  421. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js.map +0 -0
  422. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js +0 -0
  423. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js.map +0 -0
  424. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js +0 -0
  425. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js.map +0 -0
  426. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
  427. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
  428. {app-rn-runtime → package}/components/container/tabs/tabs.component.js +0 -0
  429. {app-rn-runtime → package}/components/container/tabs/tabs.component.js.map +0 -0
  430. {app-rn-runtime → package}/components/container/tabs/tabs.props.js +0 -0
  431. {app-rn-runtime → package}/components/container/tabs/tabs.props.js.map +0 -0
  432. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js +0 -0
  433. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js.map +0 -0
  434. {app-rn-runtime → package}/components/container/tile/tile.component.js +0 -0
  435. {app-rn-runtime → package}/components/container/tile/tile.component.js.map +0 -0
  436. {app-rn-runtime → package}/components/container/tile/tile.props.js +0 -0
  437. {app-rn-runtime → package}/components/container/tile/tile.props.js.map +0 -0
  438. {app-rn-runtime → package}/components/container/tile/tile.styles.js +0 -0
  439. {app-rn-runtime → package}/components/container/tile/tile.styles.js.map +0 -0
  440. {app-rn-runtime → package}/components/container/wizard/wizard.props.js +0 -0
  441. {app-rn-runtime → package}/components/container/wizard/wizard.props.js.map +0 -0
  442. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js +0 -0
  443. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js.map +0 -0
  444. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js +0 -0
  445. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -0
  446. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js +0 -0
  447. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -0
  448. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js +0 -0
  449. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js.map +0 -0
  450. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js +0 -0
  451. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js.map +0 -0
  452. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js +0 -0
  453. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js.map +0 -0
  454. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js +0 -0
  455. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js.map +0 -0
  456. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js +0 -0
  457. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js.map +0 -0
  458. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js +0 -0
  459. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js.map +0 -0
  460. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js +0 -0
  461. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js.map +0 -0
  462. {app-rn-runtime → package}/components/data/card/card.component.js +0 -0
  463. {app-rn-runtime → package}/components/data/card/card.component.js.map +0 -0
  464. {app-rn-runtime → package}/components/data/card/card.props.js +0 -0
  465. {app-rn-runtime → package}/components/data/card/card.props.js.map +0 -0
  466. {app-rn-runtime → package}/components/data/card/card.styles.js +0 -0
  467. {app-rn-runtime → package}/components/data/card/card.styles.js.map +0 -0
  468. {app-rn-runtime → package}/components/data/form/form-action/form-action.component.js +0 -0
  469. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js +0 -0
  470. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js.map +0 -0
  471. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js +0 -0
  472. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js.map +0 -0
  473. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js +0 -0
  474. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js.map +0 -0
  475. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js +0 -0
  476. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js.map +0 -0
  477. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js +0 -0
  478. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js.map +0 -0
  479. {app-rn-runtime → package}/components/data/form/form-field/form-field.component.js +0 -0
  480. {app-rn-runtime → package}/components/data/form/form-field/form-field.component.js.map +0 -0
  481. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js +0 -0
  482. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js.map +0 -0
  483. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js +0 -0
  484. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js.map +0 -0
  485. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js +0 -0
  486. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js.map +0 -0
  487. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js +0 -0
  488. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js.map +0 -0
  489. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js +0 -0
  490. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js.map +0 -0
  491. {app-rn-runtime → package}/components/data/form/form.props.js +0 -0
  492. {app-rn-runtime → package}/components/data/form/form.props.js.map +0 -0
  493. {app-rn-runtime → package}/components/data/form/form.styles.js +0 -0
  494. {app-rn-runtime → package}/components/data/form/form.styles.js.map +0 -0
  495. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js +0 -0
  496. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js.map +0 -0
  497. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js +0 -0
  498. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js.map +0 -0
  499. {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js +0 -0
  500. {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js.map +0 -0
  501. {app-rn-runtime → package}/components/data/list/list.props.js +0 -0
  502. {app-rn-runtime → package}/components/data/list/list.props.js.map +0 -0
  503. {app-rn-runtime → package}/components/data/liveform/liveform.component.js +0 -0
  504. {app-rn-runtime → package}/components/data/liveform/liveform.component.js.map +0 -0
  505. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js +0 -0
  506. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js.map +0 -0
  507. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js +0 -0
  508. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js.map +0 -0
  509. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js +0 -0
  510. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js.map +0 -0
  511. {app-rn-runtime → package}/components/device/camera/camera.component.js +0 -0
  512. {app-rn-runtime → package}/components/device/camera/camera.component.js.map +0 -0
  513. {app-rn-runtime → package}/components/device/camera/camera.props.js +0 -0
  514. {app-rn-runtime → package}/components/device/camera/camera.props.js.map +0 -0
  515. {app-rn-runtime → package}/components/device/camera/camera.styles.js +0 -0
  516. {app-rn-runtime → package}/components/device/camera/camera.styles.js.map +0 -0
  517. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js +0 -0
  518. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js.map +0 -0
  519. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js +0 -0
  520. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js.map +0 -0
  521. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js +0 -0
  522. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -0
  523. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js +0 -0
  524. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -0
  525. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js +0 -0
  526. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -0
  527. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js +0 -0
  528. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -0
  529. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js +0 -0
  530. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js.map +0 -0
  531. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js +0 -0
  532. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js.map +0 -0
  533. {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js +0 -0
  534. {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js.map +0 -0
  535. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js +0 -0
  536. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js.map +0 -0
  537. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js +0 -0
  538. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js.map +0 -0
  539. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js +0 -0
  540. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js.map +0 -0
  541. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js +0 -0
  542. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js.map +0 -0
  543. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js +0 -0
  544. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js.map +0 -0
  545. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js +0 -0
  546. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js.map +0 -0
  547. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js +0 -0
  548. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js.map +0 -0
  549. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js +0 -0
  550. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js.map +0 -0
  551. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js +0 -0
  552. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js.map +0 -0
  553. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js +0 -0
  554. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js.map +0 -0
  555. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js +0 -0
  556. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js.map +0 -0
  557. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js +0 -0
  558. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js.map +0 -0
  559. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js +0 -0
  560. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
  561. {app-rn-runtime → package}/components/input/calendar/calendar.component.js +0 -0
  562. {app-rn-runtime → package}/components/input/calendar/calendar.component.js.map +0 -0
  563. {app-rn-runtime → package}/components/input/calendar/calendar.props.js +0 -0
  564. {app-rn-runtime → package}/components/input/calendar/calendar.props.js.map +0 -0
  565. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js +0 -0
  566. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js.map +0 -0
  567. {app-rn-runtime → package}/components/input/calendar/views/month-view.js +0 -0
  568. {app-rn-runtime → package}/components/input/calendar/views/month-view.js.map +0 -0
  569. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js +0 -0
  570. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js.map +0 -0
  571. {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js +0 -0
  572. {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js.map +0 -0
  573. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js +0 -0
  574. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js.map +0 -0
  575. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js +0 -0
  576. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js.map +0 -0
  577. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.component.js +0 -0
  578. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.component.js.map +0 -0
  579. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js +0 -0
  580. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js.map +0 -0
  581. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js +0 -0
  582. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js.map +0 -0
  583. {app-rn-runtime → package}/components/input/chips/chips.component.js +0 -0
  584. {app-rn-runtime → package}/components/input/chips/chips.component.js.map +0 -0
  585. {app-rn-runtime → package}/components/input/chips/chips.props.js +0 -0
  586. {app-rn-runtime → package}/components/input/chips/chips.props.js.map +0 -0
  587. {app-rn-runtime → package}/components/input/chips/chips.styles.js +0 -0
  588. {app-rn-runtime → package}/components/input/chips/chips.styles.js.map +0 -0
  589. {app-rn-runtime → package}/components/input/composite/composite.component.js +0 -0
  590. {app-rn-runtime → package}/components/input/composite/composite.component.js.map +0 -0
  591. {app-rn-runtime → package}/components/input/composite/composite.props.js +0 -0
  592. {app-rn-runtime → package}/components/input/composite/composite.props.js.map +0 -0
  593. {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
  594. {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
  595. {app-rn-runtime → package}/components/input/currency/currency.component.js +0 -0
  596. {app-rn-runtime → package}/components/input/currency/currency.component.js.map +0 -0
  597. {app-rn-runtime → package}/components/input/currency/currency.props.js +0 -0
  598. {app-rn-runtime → package}/components/input/currency/currency.props.js.map +0 -0
  599. {app-rn-runtime → package}/components/input/currency/currency.styles.js +0 -0
  600. {app-rn-runtime → package}/components/input/currency/currency.styles.js.map +0 -0
  601. {app-rn-runtime → package}/components/input/epoch/date/date.component.js +0 -0
  602. {app-rn-runtime → package}/components/input/epoch/date/date.component.js.map +0 -0
  603. {app-rn-runtime → package}/components/input/epoch/date/date.props.js +0 -0
  604. {app-rn-runtime → package}/components/input/epoch/date/date.props.js.map +0 -0
  605. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js +0 -0
  606. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js.map +0 -0
  607. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js +0 -0
  608. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js.map +0 -0
  609. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js +0 -0
  610. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js.map +0 -0
  611. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js +0 -0
  612. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js.map +0 -0
  613. {app-rn-runtime → package}/components/input/epoch/time/time.component.js +0 -0
  614. {app-rn-runtime → package}/components/input/epoch/time/time.component.js.map +0 -0
  615. {app-rn-runtime → package}/components/input/epoch/time/time.props.js +0 -0
  616. {app-rn-runtime → package}/components/input/epoch/time/time.props.js.map +0 -0
  617. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js +0 -0
  618. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js.map +0 -0
  619. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js +0 -0
  620. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js.map +0 -0
  621. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js +0 -0
  622. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js.map +0 -0
  623. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js +0 -0
  624. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js.map +0 -0
  625. {app-rn-runtime → package}/components/input/number/number.component.js +0 -0
  626. {app-rn-runtime → package}/components/input/number/number.component.js.map +0 -0
  627. {app-rn-runtime → package}/components/input/number/number.props.js +0 -0
  628. {app-rn-runtime → package}/components/input/number/number.props.js.map +0 -0
  629. {app-rn-runtime → package}/components/input/number/number.styles.js +0 -0
  630. {app-rn-runtime → package}/components/input/number/number.styles.js.map +0 -0
  631. {app-rn-runtime → package}/components/input/radioset/radioset.component.js +0 -0
  632. {app-rn-runtime → package}/components/input/radioset/radioset.component.js.map +0 -0
  633. {app-rn-runtime → package}/components/input/radioset/radioset.props.js +0 -0
  634. {app-rn-runtime → package}/components/input/radioset/radioset.props.js.map +0 -0
  635. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js +0 -0
  636. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js.map +0 -0
  637. {app-rn-runtime → package}/components/input/rating/rating.component.js +0 -0
  638. {app-rn-runtime → package}/components/input/rating/rating.component.js.map +0 -0
  639. {app-rn-runtime → package}/components/input/rating/rating.props.js +0 -0
  640. {app-rn-runtime → package}/components/input/rating/rating.props.js.map +0 -0
  641. {app-rn-runtime → package}/components/input/rating/rating.styles.js +0 -0
  642. {app-rn-runtime → package}/components/input/rating/rating.styles.js.map +0 -0
  643. {app-rn-runtime → package}/components/input/select/select.component.js +0 -0
  644. {app-rn-runtime → package}/components/input/select/select.component.js.map +0 -0
  645. {app-rn-runtime → package}/components/input/select/select.props.js +0 -0
  646. {app-rn-runtime → package}/components/input/select/select.props.js.map +0 -0
  647. {app-rn-runtime → package}/components/input/select/select.styles.js +0 -0
  648. {app-rn-runtime → package}/components/input/select/select.styles.js.map +0 -0
  649. {app-rn-runtime → package}/components/input/switch/switch.props.js +0 -0
  650. {app-rn-runtime → package}/components/input/switch/switch.props.js.map +0 -0
  651. {app-rn-runtime → package}/components/input/text/text.component.js +0 -0
  652. {app-rn-runtime → package}/components/input/text/text.component.js.map +0 -0
  653. {app-rn-runtime → package}/components/input/text/text.props.js +0 -0
  654. {app-rn-runtime → package}/components/input/text/text.props.js.map +0 -0
  655. {app-rn-runtime → package}/components/input/text/text.styles.js +0 -0
  656. {app-rn-runtime → package}/components/input/text/text.styles.js.map +0 -0
  657. {app-rn-runtime → package}/components/input/textarea/textarea.component.js +0 -0
  658. {app-rn-runtime → package}/components/input/textarea/textarea.component.js.map +0 -0
  659. {app-rn-runtime → package}/components/input/textarea/textarea.props.js +0 -0
  660. {app-rn-runtime → package}/components/input/textarea/textarea.props.js.map +0 -0
  661. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js +0 -0
  662. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js.map +0 -0
  663. {app-rn-runtime → package}/components/input/toggle/toggle.component.js +0 -0
  664. {app-rn-runtime → package}/components/input/toggle/toggle.component.js.map +0 -0
  665. {app-rn-runtime → package}/components/input/toggle/toggle.props.js +0 -0
  666. {app-rn-runtime → package}/components/input/toggle/toggle.props.js.map +0 -0
  667. {app-rn-runtime → package}/components/input/toggle/toggle.styles.js +0 -0
  668. {app-rn-runtime → package}/components/input/toggle/toggle.styles.js.map +0 -0
  669. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js +0 -0
  670. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js.map +0 -0
  671. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js +0 -0
  672. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js.map +0 -0
  673. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js +0 -0
  674. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js.map +0 -0
  675. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js +0 -0
  676. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js.map +0 -0
  677. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js +0 -0
  678. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js.map +0 -0
  679. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js +0 -0
  680. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js.map +0 -0
  681. {app-rn-runtime → package}/components/navigation/menu/menu.component.js +0 -0
  682. {app-rn-runtime → package}/components/navigation/menu/menu.component.js.map +0 -0
  683. {app-rn-runtime → package}/components/navigation/menu/menu.props.js +0 -0
  684. {app-rn-runtime → package}/components/navigation/menu/menu.props.js.map +0 -0
  685. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js +0 -0
  686. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js.map +0 -0
  687. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js +0 -0
  688. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js.map +0 -0
  689. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js +0 -0
  690. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js +0 -0
  691. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js.map +0 -0
  692. {app-rn-runtime → package}/components/navigation/navitem/navitem.component.js +0 -0
  693. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js +0 -0
  694. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js +0 -0
  695. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js.map +0 -0
  696. {app-rn-runtime → package}/components/navigation/popover/popover.component.js +0 -0
  697. {app-rn-runtime → package}/components/navigation/popover/popover.props.js +0 -0
  698. {app-rn-runtime → package}/components/navigation/popover/popover.props.js.map +0 -0
  699. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js +0 -0
  700. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js.map +0 -0
  701. {app-rn-runtime → package}/components/page/content/content.component.js +0 -0
  702. {app-rn-runtime → package}/components/page/content/content.component.js.map +0 -0
  703. {app-rn-runtime → package}/components/page/content/content.props.js +0 -0
  704. {app-rn-runtime → package}/components/page/content/content.props.js.map +0 -0
  705. {app-rn-runtime → package}/components/page/content/content.styles.js +0 -0
  706. {app-rn-runtime → package}/components/page/content/content.styles.js.map +0 -0
  707. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js +0 -0
  708. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js.map +0 -0
  709. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js +0 -0
  710. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js.map +0 -0
  711. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js +0 -0
  712. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js.map +0 -0
  713. {app-rn-runtime → package}/components/page/page-content/page-content.component.js +0 -0
  714. {app-rn-runtime → package}/components/page/page-content/page-content.component.js.map +0 -0
  715. {app-rn-runtime → package}/components/page/page-content/page-content.props.js +0 -0
  716. {app-rn-runtime → package}/components/page/page-content/page-content.props.js.map +0 -0
  717. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js +0 -0
  718. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js.map +0 -0
  719. {app-rn-runtime → package}/components/page/page.component.js +0 -0
  720. {app-rn-runtime → package}/components/page/page.component.js.map +0 -0
  721. {app-rn-runtime → package}/components/page/page.props.js +0 -0
  722. {app-rn-runtime → package}/components/page/page.props.js.map +0 -0
  723. {app-rn-runtime → package}/components/page/page.styles.js +0 -0
  724. {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
  725. {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
  726. {app-rn-runtime → package}/components/page/partial/partial.component.js.map +0 -0
  727. {app-rn-runtime → package}/components/page/partial/partial.props.js +0 -0
  728. {app-rn-runtime → package}/components/page/partial/partial.props.js.map +0 -0
  729. {app-rn-runtime → package}/components/page/partial/partial.styles.js +0 -0
  730. {app-rn-runtime → package}/components/page/partial/partial.styles.js.map +0 -0
  731. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js +0 -0
  732. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js.map +0 -0
  733. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js +0 -0
  734. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js.map +0 -0
  735. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js +0 -0
  736. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js.map +0 -0
  737. {app-rn-runtime → package}/components/page/tabbar/curve.js +0 -0
  738. {app-rn-runtime → package}/components/page/tabbar/curve.js.map +0 -0
  739. {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js +0 -0
  740. {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js.map +0 -0
  741. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js +0 -0
  742. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js.map +0 -0
  743. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js +0 -0
  744. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js.map +0 -0
  745. {app-rn-runtime → package}/components/prefab/prefab-container.component.js +0 -0
  746. {app-rn-runtime → package}/components/prefab/prefab-container.component.js.map +0 -0
  747. {app-rn-runtime → package}/components/prefab/prefab-container.props.js +0 -0
  748. {app-rn-runtime → package}/components/prefab/prefab-container.props.js.map +0 -0
  749. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js +0 -0
  750. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js.map +0 -0
  751. {app-rn-runtime → package}/core/AppConfig.js +0 -0
  752. {app-rn-runtime → package}/core/AppConfig.js.map +0 -0
  753. {app-rn-runtime → package}/core/accessibility.js +0 -0
  754. {app-rn-runtime → package}/core/accessibility.js.map +0 -0
  755. {app-rn-runtime → package}/core/asset.provider.js +0 -0
  756. {app-rn-runtime → package}/core/asset.provider.js.map +0 -0
  757. {app-rn-runtime → package}/core/components/floatinglabel.component.js +0 -0
  758. {app-rn-runtime → package}/core/components/floatinglabel.component.js.map +0 -0
  759. {app-rn-runtime → package}/core/components/textinput.component.js +0 -0
  760. {app-rn-runtime → package}/core/components/textinput.component.js.map +0 -0
  761. {app-rn-runtime → package}/core/constant.service.js +0 -0
  762. {app-rn-runtime → package}/core/constant.service.js.map +0 -0
  763. {app-rn-runtime → package}/core/constants/currency-constants.js +0 -0
  764. {app-rn-runtime → package}/core/constants/currency-constants.js.map +0 -0
  765. {app-rn-runtime → package}/core/currency-constants.js +0 -0
  766. {app-rn-runtime → package}/core/currency-constants.js.map +0 -0
  767. {app-rn-runtime → package}/core/device/calendar-service.js +0 -0
  768. {app-rn-runtime → package}/core/device/calendar-service.js.map +0 -0
  769. {app-rn-runtime → package}/core/device/camera-service.js +0 -0
  770. {app-rn-runtime → package}/core/device/camera-service.js.map +0 -0
  771. {app-rn-runtime → package}/core/device/contacts-service.js +0 -0
  772. {app-rn-runtime → package}/core/device/contacts-service.js.map +0 -0
  773. {app-rn-runtime → package}/core/device/location-service.js +0 -0
  774. {app-rn-runtime → package}/core/device/location-service.js.map +0 -0
  775. {app-rn-runtime → package}/core/device/scan-service.js +0 -0
  776. {app-rn-runtime → package}/core/device/scan-service.js.map +0 -0
  777. {app-rn-runtime → package}/core/display.manager.js +0 -0
  778. {app-rn-runtime → package}/core/display.manager.js.map +0 -0
  779. {app-rn-runtime → package}/core/file-extension-types.js +0 -0
  780. {app-rn-runtime → package}/core/file-extension-types.js.map +0 -0
  781. {app-rn-runtime → package}/core/fixed-view.component.js +0 -0
  782. {app-rn-runtime → package}/core/fixed-view.component.js.map +0 -0
  783. {app-rn-runtime → package}/core/formatters.js +0 -0
  784. {app-rn-runtime → package}/core/formatters.js.map +0 -0
  785. {app-rn-runtime → package}/core/i18n.service.js +0 -0
  786. {app-rn-runtime → package}/core/i18n.service.js.map +0 -0
  787. {app-rn-runtime → package}/core/if.component.js +0 -0
  788. {app-rn-runtime → package}/core/if.component.js.map +0 -0
  789. {app-rn-runtime → package}/core/imageSizeEstimator.js +0 -0
  790. {app-rn-runtime → package}/core/imageSizeEstimator.js.map +0 -0
  791. {app-rn-runtime → package}/core/injector.js +0 -0
  792. {app-rn-runtime → package}/core/injector.js.map +0 -0
  793. {app-rn-runtime → package}/core/key.extractor.js +0 -0
  794. {app-rn-runtime → package}/core/key.extractor.js.map +0 -0
  795. {app-rn-runtime → package}/core/logger.js +0 -0
  796. {app-rn-runtime → package}/core/logger.js.map +0 -0
  797. {app-rn-runtime → package}/core/modal.service.js +0 -0
  798. {app-rn-runtime → package}/core/modal.service.js.map +0 -0
  799. {app-rn-runtime → package}/core/navigation.service.js +0 -0
  800. {app-rn-runtime → package}/core/navigation.service.js.map +0 -0
  801. {app-rn-runtime → package}/core/network.service.js +0 -0
  802. {app-rn-runtime → package}/core/network.service.js.map +0 -0
  803. {app-rn-runtime → package}/core/partial.service.js +0 -0
  804. {app-rn-runtime → package}/core/partial.service.js.map +0 -0
  805. {app-rn-runtime → package}/core/props.provider.js +0 -0
  806. {app-rn-runtime → package}/core/props.provider.js.map +0 -0
  807. {app-rn-runtime → package}/core/scroll-view.component.js +0 -0
  808. {app-rn-runtime → package}/core/scroll-view.component.js.map +0 -0
  809. {app-rn-runtime → package}/core/security.service.js +0 -0
  810. {app-rn-runtime → package}/core/security.service.js.map +0 -0
  811. {app-rn-runtime → package}/core/spinner.service.js +0 -0
  812. {app-rn-runtime → package}/core/spinner.service.js.map +0 -0
  813. {app-rn-runtime → package}/core/storage.service.js +0 -0
  814. {app-rn-runtime → package}/core/storage.service.js.map +0 -0
  815. {app-rn-runtime → package}/core/testid.provider.js +0 -0
  816. {app-rn-runtime → package}/core/testid.provider.js.map +0 -0
  817. {app-rn-runtime → package}/core/toast.service.js +0 -0
  818. {app-rn-runtime → package}/core/toast.service.js.map +0 -0
  819. {app-rn-runtime → package}/core/viewport.js +0 -0
  820. {app-rn-runtime → package}/core/viewport.js.map +0 -0
  821. {app-rn-runtime → package}/gestures/swipe.animation.js +0 -0
  822. {app-rn-runtime → package}/gestures/swipe.animation.js.map +0 -0
  823. {app-rn-runtime → package}/index.js +0 -0
  824. {app-rn-runtime → package}/index.js.map +0 -0
  825. {app-rn-runtime → package}/runtime/App.navigator.js +0 -0
  826. {app-rn-runtime → package}/runtime/App.navigator.js.map +0 -0
  827. {app-rn-runtime → package}/runtime/base-fragment.component.js +0 -0
  828. {app-rn-runtime → package}/runtime/base-fragment.component.js.map +0 -0
  829. {app-rn-runtime → package}/runtime/base-prefab.component.js +0 -0
  830. {app-rn-runtime → package}/runtime/base-prefab.component.js.map +0 -0
  831. {app-rn-runtime → package}/runtime/lib-patch.js +0 -0
  832. {app-rn-runtime → package}/runtime/lib-patch.js.map +0 -0
  833. {app-rn-runtime → package}/runtime/memo.component.js +0 -0
  834. {app-rn-runtime → package}/runtime/memo.component.js.map +0 -0
  835. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js +0 -0
  836. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js.map +0 -0
  837. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js +0 -0
  838. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js.map +0 -0
  839. {app-rn-runtime → package}/runtime/platform.api.js +0 -0
  840. {app-rn-runtime → package}/runtime/platform.api.js.map +0 -0
  841. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js +0 -0
  842. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js.map +0 -0
  843. {app-rn-runtime → package}/runtime/services/app-i18n.service.js +0 -0
  844. {app-rn-runtime → package}/runtime/services/app-i18n.service.js.map +0 -0
  845. {app-rn-runtime → package}/runtime/services/app-modal.service.js +0 -0
  846. {app-rn-runtime → package}/runtime/services/app-modal.service.js.map +0 -0
  847. {app-rn-runtime → package}/runtime/services/app-spinner.service.js +0 -0
  848. {app-rn-runtime → package}/runtime/services/app-spinner.service.js.map +0 -0
  849. {app-rn-runtime → package}/runtime/services/app-toast.service.js +0 -0
  850. {app-rn-runtime → package}/runtime/services/app-toast.service.js.map +0 -0
  851. {app-rn-runtime → package}/runtime/services/device/calendar-service.js +0 -0
  852. {app-rn-runtime → package}/runtime/services/device/calendar-service.js.map +0 -0
  853. {app-rn-runtime → package}/runtime/services/device/camera-service.js +0 -0
  854. {app-rn-runtime → package}/runtime/services/device/camera-service.js.map +0 -0
  855. {app-rn-runtime → package}/runtime/services/device/contacts-service.js +0 -0
  856. {app-rn-runtime → package}/runtime/services/device/contacts-service.js.map +0 -0
  857. {app-rn-runtime → package}/runtime/services/device/location-service.js +0 -0
  858. {app-rn-runtime → package}/runtime/services/device/location-service.js.map +0 -0
  859. {app-rn-runtime → package}/runtime/services/device/permissions.js +0 -0
  860. {app-rn-runtime → package}/runtime/services/device/permissions.js.map +0 -0
  861. {app-rn-runtime → package}/runtime/services/device/scan-service.js +0 -0
  862. {app-rn-runtime → package}/runtime/services/device/scan-service.js.map +0 -0
  863. {app-rn-runtime → package}/runtime/services/partial.service.js +0 -0
  864. {app-rn-runtime → package}/runtime/services/partial.service.js.map +0 -0
  865. {app-rn-runtime → package}/runtime/services/webprocess.service.js +0 -0
  866. {app-rn-runtime → package}/runtime/services/webprocess.service.js.map +0 -0
  867. {app-rn-runtime → package}/runtime/watcher.js +0 -0
  868. {app-rn-runtime → package}/runtime/watcher.js.map +0 -0
  869. {app-rn-runtime → package}/styles/MediaQueryList.js +0 -0
  870. {app-rn-runtime → package}/styles/MediaQueryList.js.map +0 -0
  871. {app-rn-runtime → package}/styles/background.component.js +0 -0
  872. {app-rn-runtime → package}/styles/background.component.js.map +0 -0
  873. {app-rn-runtime → package}/styles/style-prop.validator.js +0 -0
  874. {app-rn-runtime → package}/styles/style-prop.validator.js.map +0 -0
  875. {app-rn-runtime → package}/styles/style-props.js +0 -0
  876. {app-rn-runtime → package}/styles/style-props.js.map +0 -0
  877. {app-rn-runtime → package}/styles/theme.js +0 -0
  878. {app-rn-runtime → package}/styles/theme.js.map +0 -0
  879. {app-rn-runtime → package}/variables/base-variable.js +0 -0
  880. {app-rn-runtime → package}/variables/base-variable.js.map +0 -0
  881. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js +0 -0
  882. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js.map +0 -0
  883. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js +0 -0
  884. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js.map +0 -0
  885. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js +0 -0
  886. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js.map +0 -0
  887. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js +0 -0
  888. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js.map +0 -0
  889. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js +0 -0
  890. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js.map +0 -0
  891. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js +0 -0
  892. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js.map +0 -0
  893. {app-rn-runtime → package}/variables/device/device/app-info.operation.js +0 -0
  894. {app-rn-runtime → package}/variables/device/device/app-info.operation.js.map +0 -0
  895. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js +0 -0
  896. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js.map +0 -0
  897. {app-rn-runtime → package}/variables/device/device/device-info.operation.js +0 -0
  898. {app-rn-runtime → package}/variables/device/device/device-info.operation.js.map +0 -0
  899. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js +0 -0
  900. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js.map +0 -0
  901. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js +0 -0
  902. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js.map +0 -0
  903. {app-rn-runtime → package}/variables/device/operation.provider.js +0 -0
  904. {app-rn-runtime → package}/variables/device/scan/scan.operation.js +0 -0
  905. {app-rn-runtime → package}/variables/device/scan/scan.operation.js.map +0 -0
  906. {app-rn-runtime → package}/variables/http.service.js +0 -0
  907. {app-rn-runtime → package}/variables/http.service.js.map +0 -0
  908. {app-rn-runtime → package}/variables/live-variable.js +0 -0
  909. {app-rn-runtime → package}/variables/live-variable.js.map +0 -0
  910. {app-rn-runtime → package}/variables/model-variable.js +0 -0
  911. {app-rn-runtime → package}/variables/model-variable.js.map +0 -0
  912. {app-rn-runtime → package}/variables/service-variable.js +0 -0
  913. {app-rn-runtime → package}/variables/service-variable.js.map +0 -0
  914. {app-rn-runtime → package}/variables/utils/dataset-util.js +0 -0
  915. {app-rn-runtime → package}/variables/utils/dataset-util.js.map +0 -0
  916. {app-rn-runtime → package}/variables/utils/inflight-queue.js +0 -0
  917. {app-rn-runtime → package}/variables/utils/inflight-queue.js.map +0 -0
  918. {app-rn-runtime → package}/variables/utils/variable.constants.js +0 -0
  919. {app-rn-runtime → package}/variables/utils/variable.constants.js.map +0 -0
  920. {app-rn-runtime → package}/variables/utils/variable.utils.js +0 -0
  921. {app-rn-runtime → package}/variables/utils/variable.utils.js.map +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","Badge","BaseComponent","BaseComponentState","Tappable","WmIcon","encodeUrl","AccessibilityWidgetType","getAccessibilityProps","NavigationServiceConsumer","WmAnchorProps","DEFAULT_CLASS","Animatedview","createSkeleton","WmAnchorState","WmAnchor","constructor","props","onTap","navigationService","e","state","hyperlink","link","encodeurl","openUrl","target","invokeEventCallback","proxy","renderSkeleton","theme","styles","skeleton","root","width","skeletonwidth","height","skeletonheight","renderWidget","iconclass","iconurl","name","iconheight","iconmargin","iconwidth","badgevalue","icon","text","color","createElement","id","getTestId","badge","undefined","style","entryanimation","animation","justifyContent","_extends","getTestPropsForAction","flexDirection","iconposition","_background","caption","getTestPropsForLabel","ANCHOR","numberOfLines","nooflines"],"sources":["anchor.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text } from 'react-native';\nimport { Badge } from 'react-native-paper';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { SyntheticEvent, Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { encodeUrl } from '@wavemaker/app-rn-runtime/core/utils';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\nimport NavigationService, { NavigationServiceConsumer } from '@wavemaker/app-rn-runtime/core/navigation.service';\n\nimport WmAnchorProps from './anchor.props';\nimport { DEFAULT_CLASS, WmAnchorStyles } from './anchor.styles';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport { createSkeleton } from '../skeleton/skeleton.component';\n\nexport class WmAnchorState extends BaseComponentState<WmAnchorProps> {\n\n}\n\nexport default class WmAnchor extends BaseComponent<WmAnchorProps, WmAnchorState, WmAnchorStyles> {\n\n constructor(props: WmAnchorProps) {\n super(props, DEFAULT_CLASS, new WmAnchorProps());\n }\n\n onTap(navigationService: NavigationService, e: SyntheticEvent) {\n const props = this.state.props;\n if (props.hyperlink) {\n const link = props.encodeurl ? encodeUrl(props.hyperlink) : props.hyperlink;\n navigationService.openUrl(link, {\n target: this.state.props.target\n });\n }\n this.invokeEventCallback('onTap', [e, this.proxy]);\n }\n\n public renderSkeleton(props: WmAnchorProps){\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: this.props.skeletonwidth || this.styles.root.width,\n height: this.props.skeletonheight || this.styles.root.height\n });\n }\n\n renderWidget(props: WmAnchorProps) {\n const {\n iconclass,\n iconurl,\n name,\n iconheight,\n iconmargin,\n iconwidth,\n badgevalue,\n } = props;\n \n if (this.styles.icon && this.styles.icon.text) {\n this.styles.icon.text.color = this.styles.text.color;\n }\n\n const icon = (iconclass || iconurl) && (\n <WmIcon\n id={this.getTestId('icon')}\n styles={this.styles.icon} \n name={name + '_icon'}\n iconclass={iconclass}\n iconurl={iconurl}\n iconheight={iconheight}\n iconmargin={iconmargin}\n iconwidth={iconwidth}\n />\n ); \n //@ts-ignore\n const badge = badgevalue != undefined ? (<Badge style={this.styles.badge}>{badgevalue}</Badge>): null;\n return (\n <NavigationServiceConsumer>\n {(navigationService: NavigationService) =>\n (<Animatedview entryanimation={props.animation} style={{width: this.styles.root.width, height: this.styles.root.height, justifyContent: 'center'}}>\n <Tappable {...this.getTestPropsForAction()} target={this} styles={[this.styles.root, this.styles.root.width && this.styles.root.height ? { width: '100%', height: '100%'} : null, {flexDirection: props.iconposition === 'top' ? 'column': 'row'}]}\n onTap={props.hyperlink || props.onTap ? (e: SyntheticEvent) => this.onTap(navigationService, e) : undefined}>\n {this._background}\n {props.iconposition === 'top' && icon}\n {props.iconposition === 'left' && icon}\n {props.caption ? (<Text style={this.styles.text}\n {...this.getTestPropsForLabel('caption')} \n {...getAccessibilityProps(AccessibilityWidgetType.ANCHOR, props)}\n numberOfLines={props.nooflines}>{props.caption}</Text>) : null}\n {props.iconposition === 'right' && icon}\n {badge}\n </Tappable>\n </Animatedview>)\n }\n </NavigationServiceConsumer>\n );\n }\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAAyBC,QAAQ,QAAQ,mDAAmD;AAC5F,OAAOC,MAAM,MAAM,gEAAgE;AACnF,SAASC,SAAS,QAAQ,sCAAsC;AAChE,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAC7G,SAA4BC,yBAAyB,QAAQ,mDAAmD;AAEhH,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAASC,cAAc,QAAQ,gCAAgC;AAE/D,OAAO,MAAMC,aAAa,SAASX,kBAAkB,CAAgB;AAIrE,eAAe,MAAMY,QAAQ,SAASb,aAAa,CAA+C;EAEhGc,WAAWA,CAACC,KAAoB,EAAE;IAChC,KAAK,CAACA,KAAK,EAAEN,aAAa,EAAE,IAAID,aAAa,CAAC,CAAC,CAAC;EAClD;EAEAQ,KAAKA,CAACC,iBAAoC,EAAEC,CAAiB,EAAE;IAC7D,MAAMH,KAAK,GAAG,IAAI,CAACI,KAAK,CAACJ,KAAK;IAC9B,IAAIA,KAAK,CAACK,SAAS,EAAE;MACnB,MAAMC,IAAI,GAAGN,KAAK,CAACO,SAAS,GAAGlB,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K,IAAI,CAACF,KAAK,CAACC,iBAAiB,EAAEC,CAAC,CAAC,GAAGiC;IAAU,IAC3G,IAAI,CAACS,WAAW,EAChB7C,KAAK,CAAC4C,YAAY,KAAK,KAAK,IAAIf,IAAI,EACpC7B,KAAK,CAAC4C,YAAY,KAAK,MAAM,IAAIf,IAAI,EACrC7B,KAAK,CAAC8C,OAAO,gBAAIhE,KAAA,CAAAkD,aAAA,CAACjD,IAAI,EAAA0D,QAAA;MAACJ,KAAK,EAAE,IAAI,CAACvB,MAAM,CAACgB;IAAK,GAC5C,IAAI,CAACiB,oBAAoB,CAAC,SAAS,CAAC,EACpCxD,qBAAqB,CAACD,uBAAuB,CAAC0D,MAAM,EAAEhD,KAAK,CAAC;MAChEiD,aAAa,EAAEjD,KAAK,CAACkD;IAAU,IAAElD,KAAK,CAAC8C,OAAc,CAAC,GAAI,IAAI,EAC7D9C,KAAK,CAAC4C,YAAY,KAAK,OAAO,IAAIf,IAAI,EACtCM,KACO,CACE,CAES,CAAC;EAEhC;AACF"}
@@ -33,7 +33,7 @@ export default class WmLabel extends BaseComponent {
33
33
  switch (name) {
34
34
  case "caption":
35
35
  this.updateState({
36
- parts: this.parseCaption($new)
36
+ parts: this.parseCaption(String($new))
37
37
  });
38
38
  break;
39
39
  }
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","Tappable","NavigationServiceConsumer","AccessibilityWidgetType","getAccessibilityProps","WmLabelProps","DEFAULT_CLASS","isNil","toString","Animatedview","createSkeleton","WmLabelState","constructor","arguments","_defineProperty","WmLabel","props","getAsterisk","createElement","style","styles","asterisk","onPropertyChange","name","$new","$old","updateState","parts","parseCaption","String","getMultilineSkeleton","width","height","borderRadius","marginBottom","theme","skeleton","caption","replace","pattern","linkRegex","captionSplit","split","i","length","isLink","test","part","isNextTextALink","text","link","push","renderSkeleton","_this$styles$root","_this$styles$root2","skeletonWidth","skeletonwidth","root","skeletonHeight","skeletonheight","fontSize","multilineskeleton","renderWidget","linkStyles","mergeStyle","entryanimation","animation","_background","navigationService","_this$state$parts","_this$state$parts2","target","_extends","state","flexWrap","textAlign","getTestPropsForLabel","numberOfLines","nooflines","ellipsizeMode","map","index","key","isValid","color","selectable","userSelect","onPress","startsWith","openUrl","eventName","substring","invokeEventCallback","proxy","LABEL","required"],"sources":["label.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Text, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport NavigationService, { NavigationServiceConsumer } from '@wavemaker/app-rn-runtime/core/navigation.service';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nimport WmLabelProps from './label.props';\nimport { DEFAULT_CLASS, WmLabelStyles } from './label.styles';\nimport { isNil, toString } from 'lodash-es';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\ntype PartType = {\n text?: string,\n link?: string,\n};\n\nexport class WmLabelState extends BaseComponentState<WmLabelProps> {\n parts: PartType[] = []\n}\n\nexport default class WmLabel extends BaseComponent<WmLabelProps, WmLabelState, WmLabelStyles> {\n\n constructor(props: WmLabelProps) {\n super(props, DEFAULT_CLASS, new WmLabelProps(), new WmLabelState());\n }\n\n private getAsterisk () {\n return <Text style={this.styles.asterisk}>*</Text>;\n }\n\n public onPropertyChange(name: string, $new: any, $old: any): void {\n super.onPropertyChange(name, $new, $old);\n\n switch(name) {\n case \"caption\":\n this.updateState({\n parts: this.parseCaption(String($new))\n } as WmLabelState);\n break;\n }\n }\n private getMultilineSkeleton(width: any, height: any) {\n const styles = {\n borderRadius:4,\n marginBottom: 10,\n height: height\n };\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...styles,\n width: width,\n height: height\n });\n }\n\n parseCaption(caption: string) {\n if (!caption) {\n return [];\n }\n caption += '';\n caption = caption.replace(/\\s*\\(\\s*\\$event,\\s*\\$widget\\s*\\)\\s*/, '');\n caption = caption.replace(/\\(\\s*\\)/, '(#/__EMPTY__)');\n const pattern = /\\[([^\\]]+)\\]\\(([^)]*)\\)/g;\n const linkRegex = /^(((http|https):\\/\\/)|javascript:|#).+$/;\n const captionSplit = caption.split(pattern);\n\n let parts = [];\n\n for (let i = 0; i < captionSplit.length; i++) {\n const isLink = linkRegex.test(captionSplit[i]);\n let part: PartType = {};\n \n const isNextTextALink = linkRegex.test(captionSplit[i + 1]);\n if (isLink) {\n part.text = captionSplit[i - 1] ?? '';\n part.link = captionSplit[i] === '#/__EMPTY__' ? '' : captionSplit[i];\n } else {\n part.text = isNextTextALink ? \"\" : captionSplit[i];\n };\n\n if (part.text) {\n parts.push(part);\n }\n }\n\n return parts;\n }\n\n public renderSkeleton(props: WmLabelProps){\n const skeletonWidth = this.props.skeletonwidth || this.styles.root?.width;\n const skeletonHeight = this.props.skeletonheight || this.styles.root?.height || this.styles.text.fontSize;\n if(this.props.multilineskeleton) {\n return (<View style={{\n width: skeletonWidth as DimensionValue\n }}>\n {this.getMultilineSkeleton('100%', skeletonHeight)}\n {this.getMultilineSkeleton('70%', skeletonHeight)}\n {this.getMultilineSkeleton('40%', skeletonHeight)}\n </View>)\n }\n else{\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: skeletonWidth as DimensionValue,\n height: skeletonHeight as DimensionValue\n }); \n }\n }\n\n renderWidget(props: WmLabelProps) {\n const linkStyles = this.theme.mergeStyle({text: this.styles.text}, this.styles.link);\n return !isNil(props.caption) ? (\n <Animatedview entryanimation={props.animation} style={this.styles.root}>\n {this._background}\n <NavigationServiceConsumer>\n {(navigationService: NavigationService) => {\n return (<Tappable target={this}>\n <Text style={ this.state.parts.length <= 1 ? this.styles.text : {flexWrap: \"wrap\", textAlign: this.styles.text.textAlign}}\n {...this.state.parts.length <= 1 ? this.getTestPropsForLabel('caption') : {}}\n numberOfLines={props.nooflines} ellipsizeMode=\"tail\">\n {this.state.parts?.length === 1 ? this.state.props.caption : this.state.parts?.map((part, index) => {\n const isLink = !isNil(part.link);\n return (\n <Text\n key={`part_${index}`}\n style={[\n this.styles.text,\n isLink ? this.styles.link.text : null,\n props.isValid ? null : { color: 'red'}\n ]}\n {...this.getTestPropsForLabel(isLink ? `link_${index}` : `caption_${index}`)}\n selectable={this.styles.text.userSelect === 'text'}\n onPress={() => {\n if (part.link) { \n if (part.link.startsWith('http:')\n || part.link.startsWith('https:')\n || part.link.startsWith('#')) {\n navigationService.openUrl(part.link, '_blank');\n } else if (part.link.startsWith('javascript:')) {\n const eventName = part.link.substring(11);\n this.invokeEventCallback(eventName, [null, this.proxy]);\n }\n }\n this.invokeEventCallback('onTap', [null, this.proxy]);\n }}\n {...getAccessibilityProps(AccessibilityWidgetType.LABEL, props)}\n >\n {toString(part.text)}\n {props.required && this.getAsterisk()}\n </Text>\n );\n })}\n </Text>\n </Tappable>)}}\n </NavigationServiceConsumer>\n </Animatedview>\n ) : null;\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAyBC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAA4BC,yBAAyB,QAAQ,mDAAmD;AAChH,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,OAAOC,YAAY,MAAM,eAAe;AACxC,SAASC,aAAa,QAAuB,gBAAgB;AAC7D,SAASC,KAAK,EAAEC,QAAQ,QAAQ,WAAW;AAC3C,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAAqBC,cAAc,QAAQ,gCAAgC;AAO3E,OAAO,MAAMC,YAAY,SAASX,kBAAkB,CAAe;EAAAY,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,gBAC7C,EAAE;EAAA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{ BaseComponent, BaseComponentState } from "@wavemaker/app-rn-runtime/core/base.component";
4
+ import WmTooltipProps from "./tooltip.props";
5
+ import { DEFAULT_CLASS } from "./tooltip.styles";
6
+
7
+ // * default tooltip direction - up
8
+ const directionConfig = {
9
+ up: {
10
+ rotate: '180deg',
11
+ styles: {
12
+ top: -60
13
+ },
14
+ triangleStyles: {
15
+ bottom: -10
16
+ }
17
+ },
18
+ down: {
19
+ rotate: '0deg',
20
+ styles: {
21
+ bottom: -40
22
+ },
23
+ triangleStyles: {
24
+ top: -10
25
+ }
26
+ },
27
+ left: {
28
+ rotate: '90deg',
29
+ styles: {
30
+ left: -40
31
+ },
32
+ triangleStyles: {
33
+ right: -10
34
+ }
35
+ },
36
+ right: {
37
+ rotate: '-90deg',
38
+ styles: {
39
+ right: -40
40
+ },
41
+ triangleStyles: {
42
+ left: -10
43
+ }
44
+ }
45
+ };
46
+ export class WmTooltipState extends BaseComponentState {}
47
+ export default class WmTooltip extends BaseComponent {
48
+ constructor(props) {
49
+ super(props, DEFAULT_CLASS, new WmTooltipProps());
50
+ }
51
+ renderWidget(props) {
52
+ var _props$tooltipStyle;
53
+ return /*#__PURE__*/React.createElement(View, {
54
+ style: this.styles.root
55
+ }, props.showTooltip ? /*#__PURE__*/React.createElement(Animated.View, {
56
+ style: [this.styles.tooltip, props.direction ? {
57
+ ...directionConfig[props.direction].styles
58
+ } : {
59
+ top: -60
60
+ }, props.tooltipStyle]
61
+ }, /*#__PURE__*/React.createElement(Text, {
62
+ style: [props.tooltipLabelStyle]
63
+ }, props.text), /*#__PURE__*/React.createElement(View, {
64
+ style: [this.styles.triangle, {
65
+ transform: [{
66
+ rotate: props.direction ? directionConfig[props.direction].rotate : '180deg'
67
+ }]
68
+ }, props.direction ? {
69
+ ...directionConfig[props.direction].triangleStyles
70
+ } : {
71
+ bottom: -10
72
+ }, props.tooltipTriangleStyle, {
73
+ borderBottomColor: ((_props$tooltipStyle = props.tooltipStyle) === null || _props$tooltipStyle === void 0 ? void 0 : _props$tooltipStyle.backgroundColor) || this.styles.tooltip.backgroundColor
74
+ }]
75
+ })) : null, props.children);
76
+ }
77
+ }
78
+ ;
79
+ //# sourceMappingURL=tooltip.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Animated","Text","View","BaseComponent","BaseComponentState","WmTooltipProps","DEFAULT_CLASS","directionConfig","up","rotate","styles","top","triangleStyles","bottom","down","left","right","WmTooltipState","WmTooltip","constructor","props","renderWidget","_props$tooltipStyle","createElement","style","root","showTooltip","tooltip","direction","tooltipStyle","tooltipLabelStyle","text","triangle","transform","tooltipTriangleStyle","borderBottomColor","backgroundColor","children"],"sources":["tooltip.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Animated, Text, View } from \"react-native\";\nimport { BaseComponent, BaseComponentState } from \"@wavemaker/app-rn-runtime/core/base.component\";\nimport WmTooltipProps from \"./tooltip.props\";\nimport { DEFAULT_CLASS, WmTooltipStyles } from \"./tooltip.styles\";\n\n// * default tooltip direction - up\nconst directionConfig = {\n up: { rotate: '180deg', styles: {top: -60}, triangleStyles: {bottom: -10} },\n down: { rotate: '0deg', styles: {bottom: -40}, triangleStyles: {top: -10} },\n left: { rotate: '90deg', styles: {left: -40}, triangleStyles: {right: -10} },\n right: { rotate: '-90deg', styles: {right: -40}, triangleStyles: {left: -10} },\n};\n\nexport class WmTooltipState extends BaseComponentState<WmTooltipProps> {}\n\nexport default class WmTooltip extends BaseComponent<WmTooltipProps, WmTooltipState, WmTooltipStyles> {\n constructor(props: WmTooltipProps) {\n super(props, DEFAULT_CLASS, new WmTooltipProps());\n }\n \n renderWidget(props: WmTooltipProps) {\n return (\n <View style={this.styles.root}>\n {props.showTooltip ? (\n <Animated.View\n style={[\n this.styles.tooltip,\n props.direction\n ? { ...directionConfig[props.direction].styles }\n : { top: -60 },\n props.tooltipStyle,\n ]}\n >\n <Text style={[props.tooltipLabelStyle]}>{props.text}</Text>\n <View\n style={[\n this.styles.triangle,\n {\n transform: [\n {\n rotate: props.direction\n ? directionConfig[props.direction].rotate\n : '180deg',\n },\n ],\n },\n props.direction\n ? { ...directionConfig[props.direction].triangleStyles }\n : { bottom: -10 },\n props.tooltipTriangleStyle,\n { borderBottomColor: props.tooltipStyle?.backgroundColor || this.styles.tooltip.backgroundColor }\n ]}\n />\n </Animated.View>\n ) : null}\n {props.children}\n </View>\n )\n }\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACnD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,aAAa,QAAyB,kBAAkB;;AAEjE;AACA,MAAMC,eAAe,GAAG;EACtBC,EAAE,EAAE;IAAEC,MAAM,EAAE,QAAQ;IAAEC,MAAM,EAAE;MAACC,GAAG,EAAE,CAAC;IAAE,CAAC;IAAEC,cAAc,EAAE;MAACC,MAAM,EAAE,CAAC;IAAE;EAAE,CAAC;EAC3EC,IAAI,EAAE;IAAEL,MAAM,EAAE,MAAM;IAAEC,MAAM,EAAE;MAACG,MAAM,EAAE,CAAC;IAAE,CAAC;IAAED,cAAc,EAAE;MAACD,GAAG,EAAE,CAAC;IAAE;EAAE,CAAC;EAC3EI,IAAI,EAAE;IAAEN,MAAM,EAAE,OAAO;IAAEC,MAAM,EAAE;MAACK,IAAI,EAAE,CAAC;IAAE,CAAC;IAAEH,cAAc,EAAE;MAACI,KAAK,EAAE,CAAC;IAAE;EAAE,CAAC;EAC5EA,KAAK,EAAE;IAAEP,MAAM,EAAE,QAAQ;IAAEC,MAAM,EAAE;MAACM,KAAK,EAAE,CAAC;IAAE,CAAC;IAAEJ,cAAc,EAAE;MAACG,IAAI,EAAE,CAAC;IAAE;EAAE;AAC/E,CAAC;AAED,OAAO,MAAME,cAAc,SAASb,kBAAkB,CAAiB;AAEvE,eAAe,MAAMc,SAAS,SAASf,aAAa,CAAkD;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BAAA,CAAoBc,eAAe,KAAI,IAAI,CAAC1B,MAAM,CAACiB,OAAO,CAACS;MAAgB,CAAC;IACjG,CACH,CACY,CAAC,GACd,IAAI,EACPhB,KAAK,CAACiB,QACH,CAAC;EAET;AACF;AAAC"}
@@ -0,0 +1,18 @@
1
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
+ function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
+ import { BaseProps } from "@wavemaker/app-rn-runtime/core/base.component";
5
+ export default class WmTooltipProps extends BaseProps {
6
+ constructor() {
7
+ super(...arguments);
8
+ _defineProperty(this, "showTooltip", false);
9
+ _defineProperty(this, "text", "");
10
+ _defineProperty(this, "tooltipStyle", void 0);
11
+ _defineProperty(this, "tooltipLabelStyle", void 0);
12
+ _defineProperty(this, "tooltipTriangleStyle", void 0);
13
+ _defineProperty(this, "direction", "up");
14
+ _defineProperty(this, "children", void 0);
15
+ }
16
+ }
17
+ ;
18
+ //# sourceMappingURL=tooltip.props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BaseProps","WmTooltipProps","constructor","arguments","_defineProperty"],"sources":["tooltip.props.ts"],"sourcesContent":["import { BaseProps } from \"@wavemaker/app-rn-runtime/core/base.component\";\nimport { ReactElement } from \"react\";\nimport { TextStyle, ViewStyle } from \"react-native\";\n\nexport type TooltipDirection = 'up' | 'down' | 'left' | 'right';\n\nexport default class WmTooltipProps extends BaseProps {\n showTooltip?: boolean = false;\n text: string | number = \"\";\n tooltipStyle?: any;\n tooltipLabelStyle?: TextStyle | TextStyle[];\n tooltipTriangleStyle?: ViewStyle | ViewStyle[];\n direction?: TooltipDirection = \"up\";\n children?: ReactElement;\n};\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAMzE,eAAe,MAAMC,cAAc,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,sBAC5B,KAAK;IAAAA,eAAA,eACL,EAAE;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,oBAIK,IAAI;IAAAA,eAAA;EAAA;AAErC;AAAC"}
@@ -0,0 +1,49 @@
1
+ import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
2
+ import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
3
+ export const DEFAULT_CLASS = 'app-tooltip';
4
+ BASE_THEME.registerStyle((themeVariables, addStyle) => {
5
+ const defaultStyles = defineStyles({
6
+ root: {
7
+ position: 'relative'
8
+ },
9
+ text: {
10
+ fontSize: 16
11
+ },
12
+ tooltip: {
13
+ position: 'absolute',
14
+ left: -30,
15
+ minWidth: 60,
16
+ minHeight: 25,
17
+ paddingHorizontal: 10,
18
+ borderRadius: 20,
19
+ backgroundColor: 'lightblue',
20
+ justifyContent: 'center',
21
+ alignItems: 'center',
22
+ // * shadow
23
+ shadowColor: '#000',
24
+ shadowOffset: {
25
+ width: 0,
26
+ height: 1
27
+ },
28
+ shadowOpacity: 0.22,
29
+ shadowRadius: 2.22,
30
+ elevation: 3
31
+ },
32
+ triangle: {
33
+ position: 'absolute',
34
+ width: 0,
35
+ height: 0,
36
+ backgroundColor: 'transparent',
37
+ borderStyle: 'solid',
38
+ borderLeftWidth: 8,
39
+ borderRightWidth: 8,
40
+ borderBottomWidth: 12,
41
+ borderLeftColor: 'transparent',
42
+ borderRightColor: 'transparent',
43
+ borderBottomColor: 'lightblue',
44
+ overflow: 'hidden'
45
+ }
46
+ });
47
+ addStyle(DEFAULT_CLASS, '', defaultStyles);
48
+ });
49
+ //# sourceMappingURL=tooltip.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","position","text","fontSize","tooltip","left","minWidth","minHeight","paddingHorizontal","borderRadius","backgroundColor","justifyContent","alignItems","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","triangle","borderStyle","borderLeftWidth","borderRightWidth","borderBottomWidth","borderLeftColor","borderRightColor","borderBottomColor","overflow"],"sources":["tooltip.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { ViewStyle } from 'react-native';\n\nexport type WmTooltipStyles = BaseStyles & {\n tooltip: ViewStyle;\n triangle: ViewStyle;\n};\n\nexport const DEFAULT_CLASS = 'app-tooltip';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmTooltipStyles = defineStyles({\n root: {\n position: 'relative',\n },\n text: {\n fontSize: 16\n },\n tooltip: {\n position: 'absolute',\n left: -30,\n minWidth: 60,\n minHeight: 25,\n paddingHorizontal: 10,\n borderRadius: 20,\n backgroundColor: 'lightblue',\n justifyContent: 'center',\n alignItems: 'center',\n \n // * shadow\n shadowColor: '#000',\n shadowOffset: {\n width: 0,\n height: 1,\n },\n shadowOpacity: 0.22,\n shadowRadius: 2.22,\n \n elevation: 3,\n },\n triangle: {\n position: 'absolute',\n width: 0,\n height: 0,\n backgroundColor: 'transparent',\n borderStyle: 'solid',\n borderLeftWidth: 8,\n borderRightWidth: 8,\n borderBottomWidth: 12,\n borderLeftColor: 'transparent',\n borderRightColor: 'transparent',\n borderBottomColor: 'lightblue',\n overflow: 'hidden',\n },\n })\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAQxF,OAAO,MAAMC,aAAa,GAAG,aAAa;AAC1CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA8B,GAAGL,YAAY,CAAC;IAClDM,IAAI,EAAE;MACJC,QAAQ,EAAE;IACZ,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE;IACZ,CAAC;IACDC,OAAO,EAAE;MACPH,QAAQ,EAAE,UAAU;MACpBI,IAAI,EAAE,CAAC,EAAE;MACTC,QAAQ,EAAE,EAAE;MACZC,SAAS,EAAE,EAAE;MACbC,iBAAiB,EAAE,EAAE;MACrBC,YAAY,EAAE,EAAE;MAChBC,eAAe,EAAE,WAAW;MAC5BC,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE,QAAQ;MAEpB;MACAC,WAAW,EAAE,MAAM;MACnBC,YAAY,EAAE;QACZC,KAAK,EAAE,CAAC;QACRC,MAAM,EAAE;MACV,CAAC;MACDC,aAAa,EAAE,IAAI;MACnBC,YAAY,EAAE,IAAI;MAElBC,SAAS,EAAE;IACb,CAAC;IACDC,QAAQ,EAAE;MACRnB,QAAQ,EAAE,UAAU;MACpBc,KAAK,EAAE,CAAC;MACRC,MAAM,EAAE,CAAC;MACTN,eAAe,EAAE,aAAa;MAC9BW,WAAW,EAAE,OAAO;MACpBC,eAAe,EAAE,CAAC;MAClBC,gBAAgB,EAAE,CAAC;MACnBC,iBAAiB,EAAE,EAAE;MACrBC,eAAe,EAAE,aAAa;MAC9BC,gBAAgB,EAAE,aAAa;MAC/BC,iBAAiB,EAAE,WAAW;MAC9BC,QAAQ,EAAE;IACZ;EACF,CAAC,CAAC;EAEF9B,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC"}
@@ -75,7 +75,7 @@ export default class WmAccordion extends BaseComponent {
75
75
  let accordionpanes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
76
76
  const showIconOnLeft = this.styles.leftToggleIcon.root.width !== undefined;
77
77
  const isExpanded = this.state.isExpanded[index];
78
- return /*#__PURE__*/React.createElement(View, {
78
+ return item.props.show != false ? /*#__PURE__*/React.createElement(View, {
79
79
  style: this.styles.pane,
80
80
  key: item.props.title
81
81
  }, /*#__PURE__*/React.createElement(TouchableOpacity, _extends({
@@ -97,7 +97,7 @@ export default class WmAccordion extends BaseComponent {
97
97
  style: [this.styles.text, this.styles.heading, isExpanded ? this.styles.activeHeaderTitle : {}]
98
98
  }, this.getTestPropsForAction(`header${index}_title`)), isDefined(item.props.title) ? item.props.title : 'Title'), item.props.description ? /*#__PURE__*/React.createElement(Text, _extends({
99
99
  style: this.styles.subheading
100
- }, this.getTestPropsForAction(`header${index}_description`)), item.props.description) : null), this.expandCollapseIcon(item, index, true, !showIconOnLeft, true, isExpanded)), item);
100
+ }, this.getTestPropsForAction(`header${index}_description`)), item.props.description) : null), this.expandCollapseIcon(item, index, true, !showIconOnLeft, true, isExpanded)), item) : null;
101
101
  }
102
102
  toggle(index) {
103
103
  let expand = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","TouchableOpacity","View","Badge","isArray","BaseComponent","BaseComponentState","WmAccordionProps","DEFAULT_CLASS","WmIcon","isDefined","WmAccordionState","constructor","arguments","_defineProperty","WmAccordion","props","addAccordionPane","accordionPane","_this$state$isExpande","i","accordionPanes","findIndex","t","title","newIndex","state","isExpanded","find","v","toggle","defaultpaneindex","expand","accordionName","name","collapse","expandCollapseIcon","item","index","showBadge","length","undefined","showIcon","useChevron","widgetProps","badge","badgevalue","createElement","_extends","style","styles","activeBadge","badgetype","getTestProps","iconclass","flexDirection","id","getTestId","theme","mergeStyle","icon","activeIcon","renderAccordionpane","accordionpanes","showIconOnLeft","leftToggleIcon","root","width","show","pane","key","getTestPropsForAction","header","firstHeader","lastHeader","activeHeader","onPress","bind","flex","justifyContent","text","heading","activeHeaderTitle","description","subheading","expandedId","collapseId","closeothers","lastExpandedIndex","collapsedPane","hide","Promise","resolve","then","expandedPane","setState","invokeEventCallback","proxy","componentDidMount","renderWidget","children","_background","map"],"sources":["accordion.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, TouchableOpacity, View } from 'react-native';\nimport { Badge } from 'react-native-paper';\nimport { isArray } from 'lodash';\n\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmAccordionProps from './accordion.props';\nimport { DEFAULT_CLASS, WmAccordionStyles } from './accordion.styles';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmAccordionpane from './accordionpane/accordionpane.component';\nimport { isDefined } from '@wavemaker/app-rn-runtime/core/utils';\n\nexport class WmAccordionState extends BaseComponentState<WmAccordionProps> {\n lastExpandedIndex = -1;\n isExpanded = [] as boolean[];\n}\n\nexport default class WmAccordion extends BaseComponent<WmAccordionProps, WmAccordionState, WmAccordionStyles> {\n public accordionPanes = [] as WmAccordionpane[];\n private newIndex = 0;\n\n constructor(props: WmAccordionProps) {\n super(props, DEFAULT_CLASS, new WmAccordionProps(), new WmAccordionState());\n }\n\n addAccordionPane(accordionPane: WmAccordionpane) {\n const i = this.accordionPanes.findIndex(t => t.props.title === accordionPane.props.title);\n if (i >= 0) {\n this.accordionPanes[i] = accordionPane;\n } else {\n this.accordionPanes[this.newIndex++] = accordionPane;\n }\n if (!(this.state.isExpanded?.find((v) => v))) {\n this.toggle(this.state.props.defaultpaneindex + 1);\n }\n }\n\n expand(accordionName: string) {\n const i = this.accordionPanes.findIndex(t => t.props.name === accordionName);\n this.toggle(i + 1, true);\n }\n\n collapse(accordionName: string) {\n const i = this.accordionPanes.findIndex(t => t.props.name === accordionName);\n this.toggle(i + 1, false);\n }\n\n expandCollapseIcon(item: any, index: number, showBadge = true, showIcon = true, useChevron = true, isExpanded = false) {\n const widgetProps = item.props;\n //@ts-ignore\n const badge = showBadge && widgetProps.badgevalue != undefined ? (\n <Badge style={[\n this.styles.badge,\n isExpanded ? this.styles.activeBadge: null,\n this.styles[widgetProps.badgetype || 'default']]}\n {...this.getTestProps('badge'+index)}>\n {widgetProps.badgevalue}\n </Badge>): null;\n let iconclass = null;\n if (useChevron) {\n iconclass = isExpanded ? 'wi wi-chevron-down' : 'wi wi-chevron-up';\n } else {\n iconclass = isExpanded ? 'wi wi-minus' : 'wi wi-plus';\n }\n return (<View style={{flexDirection: 'row'}}>\n {badge}\n {showIcon ? (\n <WmIcon\n id={this.getTestId('icon' + index)}\n styles={this.theme.mergeStyle({}, this.styles.icon, isExpanded ? this.styles.activeIcon : null)}\n name={'expand_collapse_icon'}\n iconclass={iconclass}></WmIcon>): null}\n </View>);\n }\n\n renderAccordionpane(item: any, index: any, accordionpanes: any[] = []) {\n const showIconOnLeft = this.styles.leftToggleIcon.root.width !== undefined;\n const isExpanded = this.state.isExpanded[index];\n return item.props.show != false ? (\n <View style={this.styles.pane} key={item.props.title}>\n <TouchableOpacity key={'accordionpane_' + (index + 1)}\n {...this.getTestPropsForAction(`header${index}`)}\n style={[this.styles.header,\n index === 0 ? this.styles.firstHeader: null,\n index === accordionpanes.length - 1 && !isExpanded ? this.styles.lastHeader: null,\n isExpanded ? this.styles.activeHeader : {}]}\n onPress={this.toggle.bind(this, index + 1, !isExpanded)}>\n {this.expandCollapseIcon(item, index, false, showIconOnLeft, true, isExpanded)}\n {item.props.iconclass ? <WmIcon styles={this.styles.icon} name={item.props.name + '_icon'} iconclass={item.props.iconclass}></WmIcon>: null}\n <View style={{flexDirection: 'column', flex: 1, justifyContent: 'center'}}>\n <Text style={[\n this.styles.text,\n this.styles.heading,\n isExpanded ? this.styles.activeHeaderTitle : {}]}\n {...this.getTestPropsForAction(`header${index}_title`)}>\n {isDefined(item.props.title) ? item.props.title : 'Title'}\n </Text>\n {item.props.description ? \n (<Text style={this.styles.subheading}\n {...this.getTestPropsForAction(`header${index}_description`)}>{item.props.description}</Text>) : null }\n </View>\n {this.expandCollapseIcon(item, index, true, !showIconOnLeft, true, isExpanded)}\n </TouchableOpacity>\n {item}\n </View>\n ): null;\n }\n\n toggle(index: number, expand = true) {\n let expandedId = expand ? index : -1;\n let collapseId = expand ? -1 : index;\n if (expand && this.state.isExpanded[expandedId - 1]\n || !expand && this.state.isExpanded[collapseId - 1] === false) {\n return;\n }\n if (collapseId < 0 && this.state.props.closeothers) {\n collapseId = this.state.lastExpandedIndex;\n }\n const collapsedPane = this.accordionPanes[collapseId -1];\n collapsedPane?.hide();\n Promise.resolve().then(() => {\n const expandedPane = expandedId ? this.accordionPanes[expandedId - 1]: null;\n expandedPane?.show();\n this.setState((state) => {\n if (collapseId > 0 && collapsedPane) {\n state.isExpanded[collapseId - 1] = false;\n }\n if (expandedId > 0 && expandedPane) {\n state.isExpanded[expandedId - 1] = true;\n }\n return {\n lastExpandedIndex: expandedId,\n isExpanded: [...state.isExpanded]\n };\n }, () => {\n this.invokeEventCallback('onChange', [{},\n this.proxy,\n expandedId - 1,\n collapseId ? collapseId - 1 : null,\n expandedPane && expandedPane.props.name,\n collapsedPane && collapsedPane.props.name]);\n });\n }, () => {});\n }\n\n public componentDidMount(): void {\n super.componentDidMount();\n this.toggle(this.state.props.defaultpaneindex + 1);\n }\n\n renderWidget(props: WmAccordionProps) {\n const accordionpanes = props.children;\n const expandedId = this.state.lastExpandedIndex || 0;\n return (\n <View style={this.styles.root}>\n {this._background}\n {accordionpanes\n ? isArray(accordionpanes) && accordionpanes.length\n ? accordionpanes.map((item: any, index: any) => this.renderAccordionpane(item, index, accordionpanes))\n : this.renderAccordionpane(accordionpanes, 0)\n : null}\n </View>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,gBAAgB,EAAEC,IAAI,QAAQ,cAAc;AAC3D,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,OAAO,QAAQ,QAAQ;AAEhC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA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,CAAC,EACdC,UAAU,GAAGA,UAAU,GAAG,CAAC,GAAG,IAAI,EAClCQ,YAAY,IAAIA,YAAY,CAAC9E,KAAK,CAACkB,IAAI,EACvCuD,aAAa,IAAIA,aAAa,CAACzE,KAAK,CAACkB,IAAI,CAAC,CAAC;MAC7C,CAAC,CAAC;IACN,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;EACd;EAEOgE,iBAAiBA,CAAA,EAAS;IAC7B,KAAK,CAACA,iBAAiB,CAAC,CAAC;IACzB,IAAI,CAACpE,MAAM,CAAC,IAAI,CAACJ,KAAK,CAACV,KAAK,CAACe,gBAAgB,GAAG,CAAC,CAAC;EACtD;EAEAoE,YAAYA,CAACnF,KAAuB,EAAE;IACpC,MAAM+C,cAAc,GAAG/C,KAAK,CAACoF,QAAQ;IACrC,MAAMf,UAAU,GAAG,IAAI,CAAC3D,KAAK,CAAC8D,iBAAiB,IAAI,CAAC;IACpD,oBACIzF,KAAA,CAAAgD,aAAA,CAAC7C,IAAI;MAAC+C,KAAK,EAAE,IAAI,CAACC,MAAM,CAACgB;IAAK,GAC3B,IAAI,CAACmC,WAAW,EACdtC,cAAc,GACX3D,OAAO,CAAC2D,cAAc,CAAC,IAAIA,cAAc,CAACvB,MAAM,GAC9CuB,cAAc,CAACuC,GAAG,CAAC,CAACjE,IAAS,EAAEC,KAAU,KAAK,IAAI,CAACwB,mBAAmB,CAACzB,IAAI,EAAEC,KAAK,EAAEyB,cAAc,CAAC,CAAC,GACpG,IAAI,CAACD,mBAAmB,CAACC,cAAc,EAAE,CAAC,CAAC,GAC7C,IACF,CAAC;EAEb;AACF"}
@@ -95,7 +95,7 @@ export default class WmPanel extends BaseComponent {
95
95
  }
96
96
  renderPane(content) {
97
97
  const expanded = this.state.props.expanded;
98
- return isWebPreviewMode() ? /*#__PURE__*/React.createElement(View, {
98
+ return isWebPreviewMode() || this.styles.header.display == "none" ? /*#__PURE__*/React.createElement(View, {
99
99
  style: expanded ? {} : {
100
100
  maxHeight: 0,
101
101
  overflow: 'hidden'
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","View","TouchableOpacity","isUndefined","Badge","BaseComponent","BaseComponentState","WmIcon","WmPanelProps","DEFAULT_CLASS","isWebPreviewMode","CollapsiblePane","WmPanelState","constructor","arguments","_defineProperty","WmPanel","props","onPartialLoad","invokeEventCallback","renderContent","renderPartial","state","isPartialLoaded","setTimeout","updateState","bind","onPanelPress","collapsible","eventName","expanded","proxy","expandCollapseIcon","isExpanded","widgetProps","badge","badgevalue","undefined","createElement","style","styles","badgetype","iconclass","name","toggleIcon","flexDirection","alignItems","renderHeader","_extends","getTestPropsForAction","header","onPress","iconurl","icon","iconheight","iconwidth","iconmargin","flex","justifyContent","text","heading","title","subheading","renderPane","content","display","maxHeight","overflow","close","renderWidget","root","_background","Fragment","children"],"sources":["panel.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View, TouchableOpacity } from 'react-native';\nimport { isUndefined } from 'lodash';\nimport { Badge } from 'react-native-paper';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\n\nimport WmPanelProps from './panel.props';\nimport { DEFAULT_CLASS, WmPanelStyles } from './panel.styles';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\nimport { CollapsiblePane } from './collapsible-pane.component';\n\nexport class WmPanelState extends BaseComponentState<WmPanelProps> {\n isPartialLoaded = false;\n}\n\nexport default class WmPanel extends BaseComponent<WmPanelProps, WmPanelState, WmPanelStyles> {\n constructor(props: WmPanelProps) {\n super(props, DEFAULT_CLASS, new WmPanelProps());\n }\n\n onPartialLoad() {\n this.invokeEventCallback('onLoad', [this]);\n }\n\n renderContent(props: WmPanelProps) {\n if (props.renderPartial) {\n if (!this.state.isPartialLoaded) {\n setTimeout(() => {\n this.updateState({\n isPartialLoaded: true\n } as WmPanelState);\n });\n }\n return props.renderPartial(props, this.onPartialLoad.bind(this));\n }\n }\n\n onPanelPress() {\n if (!this.state.props.collapsible) {\n return;\n }\n const eventName = this.state.props.expanded ? 'onCollapse' : 'onExpand';\n this.updateState({\n props: {\n expanded: !this.state.props.expanded\n }\n } as WmPanelState);\n\n this.invokeEventCallback(eventName, [null, this.proxy]);\n }\n\n expandCollapseIcon(isExpanded: boolean) {\n const widgetProps = this.state.props;\n //@ts-ignore\n const badge = widgetProps.badgevalue != undefined ? (<Badge style={[this.styles.badge, this.styles[widgetProps.badgetype || 'default']]}>{widgetProps.badgevalue}</Badge>): null;\n const iconclass = isExpanded ? 'wi wi-chevron-up' : 'wi wi-chevron-down';\n const expandCollapseIcon = widgetProps.collapsible ? (<WmIcon name={'expand_collapse_icon'} styles={this.styles.toggleIcon} iconclass={iconclass}></WmIcon>) : null;\n return (<View style={{flexDirection: 'row', alignItems: 'center'}}>{badge}{expandCollapseIcon}</View>);\n }\n\n renderHeader() {\n const props = this.state.props;\n return (\n <TouchableOpacity\n {...this.getTestPropsForAction(`header`)}\n style={[this.styles.header]}\n onPress={this.onPanelPress.bind(this)}>\n {props.iconclass || props.iconurl ? \n <WmIcon styles={this.styles.icon} \n name={props.name + '_icon'}\n iconclass={props.iconclass}\n iconheight={props.iconheight}\n iconwidth={props.iconwidth}\n iconmargin={props.iconmargin}\n iconurl={props.iconurl}\n /> : null}\n <View style={{flexDirection: 'column', flex: 1, justifyContent: 'center'}}>\n <Text style={[\n this.styles.text,\n this.styles.heading]}\n {...this.getTestPropsForAction(`header_title`)}>\n {isUndefined(props.title) ? 'Title' : props.title}\n </Text>\n {props.subheading ? \n (<Text style={this.styles.subheading}\n {...this.getTestPropsForAction(`subheader`)}>{props.subheading}</Text>) : null }\n </View>\n {this.expandCollapseIcon(props.expanded)}\n </TouchableOpacity>\n );\n }\n\n renderPane(content: React.ReactNode) {\n const expanded = this.state.props.expanded;\n return isWebPreviewMode() || this.styles.header.display == \"none\" ? \n (<View style={expanded ? {} : {maxHeight: 0, overflow: 'hidden'}}>\n {content}\n </View>) :\n (<CollapsiblePane close={!expanded}>\n {content}\n </CollapsiblePane>);\n }\n\n renderWidget(props: WmPanelProps) {\n return (<View style={this.styles.root}>\n {this._background}\n {this.renderHeader()}\n {this.renderPane((\n <>\n {this.renderContent(props)}\n <View>{props.children}</View>\n </>\n ))}\n </View>);\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,gBAAgB,QAAQ,cAAc;AAC3D,SAASC,WAAW,QAAQ,QAAQ;AACpC,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,MAAM,MAAM,gEAAgE;AAEnF,OAAOC,YAAY,MAAM,eAAe;AACxC,SAASC,aAAa,QAAuB,gBAAgB;AAC7D,SAASC,gBAAgB,QAAQ,sCAAsC;AACvE,SAASC,eAAe,QAAQ,8BAA8B;AAE9D,OAAO,MAAMC,YAAY,SAASN,kBAAkB,CAAe;EAAAO,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,0BAC/C,KAAK;EAAA;AACzB;AAEA,eAAe,MAAMC,OAAO,SAASX,aAAa,CAA4C;EAC5FQ,WAAWA,CAACI,KAAmB,EAAE;IAC/B,KAAK,CAACA,KAAK,EAAER,aAAa,EAAE,IAAID,YAAY,CAAC,CAAC,CAAC;EACjD;EAEAU,aAAaA,CAAA,EAAG;IACd,IAAI,CAACC,mBAAmB,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,CAAC;EAC5C;EAEAC,aAAaA,CAACH,KAAmB,EAAE;IACjC,IAAIA,KAAK,CAACI,aAAa,EAAE;MACvB,IAAI,CAAC,IAAI,CAACC,KAAK,CAACC,eAAe,EAAE;QAC/BC,UAAU,CAAC,MAAM;UACf,IAAI,CAACC,WAAW,CAAC;YACfF,eAAe,EAAE;UACnB,CAAiB,CAAC;QACpB,CAAC,CAAC;MACJ;MACA,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C,IAAI,QAAEgB,KAAK,CAACwD,QAAe,CAC1B,CACH,CACG,CAAC;EACT;AACF"}
@@ -2,7 +2,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
2
2
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
3
  function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
4
  import React from 'react';
5
- import { View } from 'react-native';
5
+ import { ScrollView } from 'react-native';
6
6
  import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
7
7
  import WmTabpaneProps from './tabpane.props';
8
8
  import { DEFAULT_CLASS } from './tabpane.styles';
@@ -60,8 +60,11 @@ export default class WmTabpane extends BaseComponent {
60
60
  this.parent.selectTabPane(this);
61
61
  }
62
62
  renderWidget(props) {
63
- return /*#__PURE__*/React.createElement(View, {
64
- style: this.styles.root
63
+ return /*#__PURE__*/React.createElement(ScrollView, {
64
+ style: this.styles.root,
65
+ onScroll: event => {
66
+ this.notify('scroll', [event]);
67
+ }
65
68
  }, this._background, this.renderContent(props));
66
69
  }
67
70
  }
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","ScrollView","BaseComponent","BaseComponentState","WmTabpaneProps","DEFAULT_CLASS","WmTabpaneState","constructor","arguments","_defineProperty","WmTabpane","props","subscribe","event","state","isActive","onPartialLoad","invokeEventCallback","renderContent","renderPartial","isPartialLoaded","setTimeout","updateState","bind","children","showView","isVisible","componentDidMount","tabs","parent","addTabPane","proxy","_onSelect","_onDeselect","select","selectTabPane","renderWidget","createElement","style","styles","root","onScroll","notify","_background"],"sources":["tabpane.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, ScrollView} from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmTabpaneProps from './tabpane.props';\nimport { DEFAULT_CLASS, WmTabpaneStyles } from './tabpane.styles';\nimport WmTabs from '../tabs.component';\n\nexport class WmTabpaneState extends BaseComponentState<WmTabpaneProps> {\n isPartialLoaded = false;\n isActive = false;\n}\n\nexport default class WmTabpane extends BaseComponent<WmTabpaneProps, WmTabpaneState, WmTabpaneStyles> {\n\n constructor(props: WmTabpaneProps) {\n super(props, DEFAULT_CLASS, new WmTabpaneProps(), new WmTabpaneState());\n this.subscribe('scroll', (event: any) => {\n return this.state.isActive;\n });\n }\n\n onPartialLoad() {\n this.invokeEventCallback('onLoad', [null, this]);\n }\n\n renderContent(props: WmTabpaneProps) {\n if (props.renderPartial) {\n if (!this.state.isPartialLoaded) {\n setTimeout(() => {\n this.updateState({\n isPartialLoaded: true\n } as WmTabpaneState);\n });\n }\n return props.renderPartial(props, this.onPartialLoad.bind(this));\n }\n return props.children;\n }\n\n showView(): boolean {\n return this.isVisible() && this.state.isActive;\n }\n\n componentDidMount() {\n const tabs = (this.parent) as WmTabs;\n tabs.addTabPane(this.proxy as WmTabpane);\n super.componentDidMount();\n }\n\n _onSelect() {\n this.updateState({\n isActive: true\n } as WmTabpaneState);\n this.invokeEventCallback('onSelect', [null, this.proxy]);\n }\n _onDeselect() {\n this.updateState({\n isActive: false\n } as WmTabpaneState);\n this.invokeEventCallback('onDeselect', [null, this.proxy]);\n }\n\n select() {\n (this.parent as WmTabs).selectTabPane(this);\n }\n\n renderWidget(props: WmTabpaneProps) {\n return (<ScrollView style={this.styles.root} \n onScroll={(event) => {this.notify('scroll', [event])}}>\n {this._background}\n {this.renderContent(props)}\n </ScrollView>);\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAeC,UAAU,QAAO,cAAc;AAC9C,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,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AK,CAACJ,iBAAiB,CAAC,CAAC;EAC3B;EAEAK,SAASA,CAAA,EAAG;IACV,IAAI,CAACV,WAAW,CAAC;MACfP,QAAQ,EAAE;IACZ,CAAmB,CAAC;IACpB,IAAI,CAACE,mBAAmB,CAAC,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,CAACc,KAAK,CAAC,CAAC;EAC1D;EACAE,WAAWA,CAAA,EAAG;IACZ,IAAI,CAACX,WAAW,CAAC;MACfP,QAAQ,EAAE;IACZ,CAAmB,CAAC;IACpB,IAAI,CAACE,mBAAmB,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,CAACc,KAAK,CAAC,CAAC;EAC5D;EAEAG,MAAMA,CAAA,EAAG;IACN,IAAI,CAACL,MAAM,CAAYM,aAAa,CAAC,IAAI,CAAC;EAC7C;EAEAC,YAAYA,CAACzB,KAAqB,EAAE;IAClC,oBAAQX,KAAA,CAAAqC,aAAA,CAACpC,UAAU;MAACqC,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC,IAAK;MAC5CC,QAAQ,EAAG5B,KAAK,IAAK;QAAC,IAAI,CAAC6B,MAAM,CAAC,QAAQ,EAAE,CAAC7B,KAAK,CAAC,CAAC;MAAA;IAAE,GACjD,IAAI,CAAC8B,WAAW,EAChB,IAAI,CAACzB,aAAa,CAACP,KAAK,CACf,CAAC;EACjB;AACF"}
@@ -185,7 +185,7 @@ export default class WmWizard extends BaseComponent {
185
185
  }
186
186
  }),
187
187
  iconclass: item.state.props.iconclass || 'wm-sl-l sl-check'
188
- })), (isNumberTextLayout && isActiveStep || !isNumberTextLayout) && /*#__PURE__*/React.createElement(Text, {
188
+ })), isActiveStep && /*#__PURE__*/React.createElement(Text, {
189
189
  style: this.styles.stepTitle
190
190
  }, item.state.props.title || 'Step Title'), this.numberOfSteps > 1 && isActiveStep && /*#__PURE__*/React.createElement(View, {
191
191
  style: [this.styles.numberTextStepConnector, {
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","View","TouchableOpacity","Platform","TouchableWithoutFeedback","isArray","merge","BaseComponent","BaseComponentState","WmWizardProps","DEFAULT_CLASS","WmButton","WmIcon","WmAnchor","WmProgressCircle","WmPopover","WmLabel","WmWizardState","constructor","arguments","_defineProperty","WmWizard","props","onComponentInit","c","popOverRef","steps","children","defaultStepIndex","defaultstep","map","item","index","name","updateCurrentStep","addWizardStep","step","forceUpdate","componentDidMount","showActiveStep","_this$steps$this$stat","state","currentStep","setActive","_this$steps$this$stat2","isDone","length","undefined","lastStep","setInActive","updateState","invokeEventCallback","proxy","getStepStyle","style","styles","push","doneStep","activeStep","renderMenuPopover","menuDataset","getmenudataexpression","Labels","title","createElement","id","getTestId","popover","contentanimation","caption","popoverheight","height","popoverwidth","width","listener","iconclass","popovericonclass","iconposition","type","currentMenuItem","key","onPress","hide","stepMenu","activeStepMenu","stepMenuActiveIcon","stepMenuIcon","stepMenuActiveLabel","stepMenuLabel","renderProgressCircleHeader","progressTitle","progresstitle","headerWrapper","stepWrapper","flex","alignItems","justifyContent","flexDirection","minvalue","maxvalue","datavalue","captionplacement","progresstype","subtitle","progressCircle","stepTitle","stepSubTitle","renderWizardHeader","isLastStep","numberOfSteps","isFirstStep","isActiveStep","isNumberTextLayout","classname","show","paddingRight","paddingLeft","bind","disabled","stepCounter","stepIcon","icon","color","numberTextStepConnector","stepConnector","left","OS","isRTL","prev","invokePrevCB","next","eventName","invokeSkipCB","invokeNextCB","done","$event","cancel","skip","renderWidget","_this$state$props$cla","isSkippable","enableskip","isProgressCircleHeader","includes","root","_background","wizardHeader","i","wizardBody","wizardFooter","actionsalignment","showdone","wizardActions","theme","getStyle","doneButton","donebtnlabel","onTap","disabledone","shownext","nextButton","nextbtnlabel","disablenext","showprev","prevButton","previousbtnlabel","disableprev","cancelable","cancelbtnlabel","cancelButton","skipLink"],"sources":["wizard.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View, TouchableOpacity, Platform, TouchableWithoutFeedback } from 'react-native';\nimport { isArray, merge } from 'lodash';\nimport { BaseComponent, BaseComponentState, LifecycleListener } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmWizardProps from './wizard.props';\nimport { DEFAULT_CLASS, WmWizardStyles } from './wizard.styles';\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmAnchor from '@wavemaker/app-rn-runtime/components/basic/anchor/anchor.component';\nimport WmWizardstep from './wizardstep/wizardstep.component';\nimport WmProgressCircle from '@wavemaker/app-rn-runtime/components/basic/progress-circle/progress-circle.component';\nimport WmPopover from '@wavemaker/app-rn-runtime/components/navigation/popover/popover.component';\nimport WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';\n\nexport class WmWizardState extends BaseComponentState<WmWizardProps> {\n currentStep: number = 0;\n isDone: boolean = false;\n}\n\nexport default class WmWizard extends BaseComponent<WmWizardProps, WmWizardState, WmWizardStyles> {\n private numberOfSteps: number = null as any;\n private steps = [] as WmWizardstep[];\n private popOverRef: WmPopover = null as any;\n\n private listener: LifecycleListener = {\n onComponentInit: (c) => {\n if (c instanceof WmPopover) {\n this.popOverRef = c;\n }\n }\n };\n\n constructor(props: WmWizardProps) {\n super(props, DEFAULT_CLASS, new WmWizardProps());\n const steps = props.children;\n let defaultStepIndex = 0;\n if (isArray(steps) && props.defaultstep) {\n steps.map((item: any, index: any) => {\n if (props.defaultstep === item.props.name) {\n defaultStepIndex = index;\n }\n })\n }\n this.updateCurrentStep(defaultStepIndex);\n }\n\n addWizardStep(step: WmWizardstep) {\n this.steps[step.props.index] = step;\n this.forceUpdate();\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.showActiveStep();\n }\n\n showActiveStep() {\n this.steps[this.state.currentStep]?.setActive();\n }\n\n updateCurrentStep(index: number, isDone = false) {\n const lastStep = this.state.currentStep;\n this.steps[this.state.currentStep]?.setInActive();\n this.updateState({\n currentStep: index,\n isDone: isDone\n } as WmWizardState, () => {\n this.showActiveStep();\n if (lastStep !== index) {\n this.invokeEventCallback('onChange', [null, this.proxy, index + 1, lastStep + 1]);\n }\n });\n }\n\n getStepStyle(index: number) {\n const style = [this.styles.step];\n if (this.state.isDone || index < this.state.currentStep) {\n style.push(this.styles.doneStep);\n } else if (this.state.currentStep === index) {\n style.push(this.styles.activeStep);\n }\n return style;\n }\n\n renderMenuPopover(){\n const menuDataset = this.props.getmenudataexpression || ((item: any, index: number) => '') ;\n const Labels = this.steps.map((step: WmWizardstep) => step.state.props.title);\n return (\n <WmPopover\n id={this.getTestId('menu')}\n styles={this.styles.popover}\n contentanimation={'slideInDown'}\n caption={''}\n popoverheight={this.styles.popover.popover.height as string | number | undefined || null}\n popoverwidth={this.styles.popover.popover.width as string | number | undefined || null}\n listener={this.listener}\n iconclass={this.props.popovericonclass || 'fa fa-caret-down'}\n iconposition=\"right\"\n type='dropdown'>\n <View style={this.styles.popover.popover}>\n {Labels.map((item: any, index: number) => {\n const currentMenuItem = index==this.state.currentStep;\n const caption = menuDataset({\"count\":this.steps.length}, index); \n return (\n <TouchableWithoutFeedback key={'wizard_menu_item_'+index} onPress={()=>{this.popOverRef.hide();}}>\n <View style={[this.styles.stepMenu, currentMenuItem?this.styles.activeStepMenu:{}]}>\n <WmIcon caption={caption} iconclass={currentMenuItem? \"wi wi-radio-button-checked\" : 'wi wi-radio-button-unchecked'} styles={currentMenuItem?this.styles.stepMenuActiveIcon:this.styles.stepMenuIcon}/>\n <WmLabel caption={item} styles={currentMenuItem?this.styles.stepMenuActiveLabel:this.styles.stepMenuLabel}/>\n </View>\n </TouchableWithoutFeedback>\n )})}\n </View>\n </WmPopover>\n );\n }\n\n renderProgressCircleHeader(item: any, index: number) {\n const progressTitle = this.props.progresstitle || (index + 1 + '/' + this.steps.length);\n return (\n <View style={[this.styles.headerWrapper]} key={index + 1}>\n <View style={this.styles.stepWrapper}>\n <View style={{ flex: 1, alignItems: 'flex-start', justifyContent: 'center', flexDirection:'row' }}>\n <WmProgressCircle minvalue={0} maxvalue={this.steps.length} datavalue={index + 1} captionplacement={'inside'} type={this.props.progresstype} title={progressTitle} subtitle={''} styles={this.styles.progressCircle} />\n </View>\n <View style={{ flex: 2, justifyContent: 'center', flexDirection: 'column' }}>\n <Text style={this.styles.stepTitle}>\n {item.props.title || 'Step Title'}</Text>\n <Text style={this.styles.stepSubTitle}>\n {item.props.subtitle || 'Step Sub Title'}</Text>\n </View>\n <View style={{ flexDirection: 'row', alignItems: 'flex-end', justifyContent: 'flex-end' }}>\n {this.renderMenuPopover()}\n </View>\n </View>\n </View>\n );\n }\n\n renderWizardHeader(item: any, index: number) {\n const isLastStep = index === this.numberOfSteps - 1;\n const isFirstStep = index === 0;\n const isActiveStep = index === this.state.currentStep;\n const isNumberTextLayout = this.state.props.classname === 'number-text-inline';\n return item.state.props.show != false ? (\n <View style={[this.styles.headerWrapper, isNumberTextLayout ?\n {paddingRight: isActiveStep ? 0 : 5, paddingLeft: index === this.state.currentStep + 1 ? 0 : 5}: {}]} key={index+1}>\n <TouchableOpacity style={this.styles.stepWrapper}\n onPress={this.updateCurrentStep.bind(this, index, false)} disabled={index >= this.state.currentStep}>\n <View style={this.getStepStyle(index)}>\n {index >= this.state.currentStep && !this.state.isDone &&\n <Text style={isActiveStep ? this.styles.activeStep : this.styles.stepCounter}>{index+1}</Text>}\n {(index < this.state.currentStep || this.state.isDone) &&\n <WmIcon styles={merge({}, this.styles.stepIcon, {icon: {color: this.styles.activeStep.color}})}\n iconclass={item.state.props.iconclass || 'wm-sl-l sl-check'}></WmIcon>}\n </View>\n {(isActiveStep) &&\n <Text style={this.styles.stepTitle}>\n {item.state.props.title || 'Step Title'}</Text> }\n {this.numberOfSteps > 1 && isActiveStep &&\n <View style={[this.styles.numberTextStepConnector, {width: isLastStep ? 0 : 50}]}></View>}\n </TouchableOpacity>\n {this.numberOfSteps > 1 && <View style={[this.styles.stepConnector, { width: isFirstStep || isLastStep ? '50%' : '100%',\n left: Platform.OS == \"web\"?(!this.isRTL && isFirstStep) || (this.isRTL && isLastStep) ? '50%': '0%': isFirstStep ? '50%': '0%'}]}></View>}\n </View>\n ) : null;\n }\n\n prev() {\n const index = this.state.currentStep;\n if (index <= 0) {\n return;\n }\n const currentStep = this.steps[index];\n if(currentStep.invokePrevCB(index) == false){\n return;\n }\n this.updateCurrentStep(index - 1);\n }\n\n next(eventName?: string) {\n const index = this.state.currentStep;\n if (index >= this.steps.length - 1) {\n return;\n }\n const currentStep = this.steps[index];\n if (eventName === 'skip') {\n currentStep.invokeSkipCB(index);\n } else if (currentStep.invokeNextCB(index) == false) {\n return;\n }\n this.updateCurrentStep(index + 1);\n }\n\n done($event: any) {\n if (this.state.currentStep !== this.steps.length - 1) {\n return;\n }\n this.updateState({\n isDone: true\n } as WmWizardState);\n this.invokeEventCallback('onDone', [$event, this.proxy]);\n }\n\n cancel() {\n this.invokeEventCallback('onCancel', [null, this.proxy]);\n }\n \n skip() {\n this.next('skip');\n }\n\n renderWidget(props: WmWizardProps) {\n this.numberOfSteps = this.steps.length;\n const activeStep = this.steps[this.state.currentStep];\n const isSkippable = activeStep && activeStep.state.props.enableskip;\n const isProgressCircleHeader = this.state.props.classname?.includes('progress-circle-header');\n return (\n <View style={this.styles.root}>\n {this._background}\n <View style={this.styles.wizardHeader}>\n {activeStep && isProgressCircleHeader ? (this.renderProgressCircleHeader(activeStep, this.state.currentStep)) : (this.steps ? this.steps.map((step, i) => this.renderWizardHeader(step, i)) : null)}\n </View>\n <View style={this.styles.wizardBody}>\n {props.children}\n </View>\n <View style={[this.styles.wizardFooter,\n {flexDirection: props.actionsalignment === 'right' ? 'row-reverse': 'row'}]}>\n {(this.state.currentStep+1) === this.numberOfSteps && activeStep.state.props.showdone &&\n <WmButton iconclass={'wm-sl-l sl-check'} styles={merge({}, this.styles.wizardActions, this.theme.getStyle('btn-default'), this.styles.doneButton)}\n id = {this.getTestId('donebtn')} caption={props.donebtnlabel} onTap={this.done.bind(this)} disabled={activeStep.state.props.disabledone}></WmButton>\n }\n {(this.state.currentStep+1) < this.numberOfSteps && activeStep.state.props.shownext &&\n <WmButton iconclass={'wi wi-chevron-right'} styles={merge({}, this.styles.wizardActions, this.theme.getStyle('btn-default'), this.styles.nextButton)}\n id = {this.getTestId('nextbtn')}\n iconposition={'right'} caption={props.nextbtnlabel} onTap={this.next.bind(this)} disabled={activeStep.state.props.disablenext}></WmButton>\n }\n {this.state.currentStep > 0 && activeStep.state.props.showprev &&\n <WmButton iconclass={'wi wi-chevron-left'} styles={merge({}, this.theme.getStyle('btn-default'), this.styles.wizardActions, this.styles.prevButton)} caption={props.previousbtnlabel}\n id = {this.getTestId('prevbtn')}\n onTap={this.prev.bind(this)} disabled={activeStep.state.props.disableprev}></WmButton>\n }\n {props.cancelable ?\n <WmButton id = {this.getTestId('cancelbtn')} caption={props.cancelbtnlabel} styles={merge({}, this.theme.getStyle('btn-default'), this.styles.wizardActions, this.styles.cancelButton)} onTap={this.cancel.bind(this)}></WmButton>\n : null\n }\n {isSkippable &&\n <WmAnchor iconclass={'wi wi-chevron-right'} iconposition={'right'} caption={'Skip'}\n id = {this.getTestId('skip')} \n styles={merge({}, this.styles.wizardActions, this.styles.skipLink)} onTap={this.skip.bind(this)}></WmAnchor>\n }\n </View>\n </View>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,QAAQ,EAAEC,wBAAwB,QAAQ,cAAc;AAC/F,SAASC,OAAO,EAAEC,KAAK,QAAQ,QAAQ;AACvC,SAASC,aAAa,EAAEC,kBAAkB,QAA2B,+CAA+C;AAEpH,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,OAAOC,QAAQ,MAAM,oEAAoE;AACzF,OAAOC,MAAM,MAAM,gEAAgE;AACnF,OAAOC,QAAQ,MAAM,oEAAoE;AAEzF,OAAOC,gBAAgB,MAAM,sFAAs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ACbxK,KAAA,CAAAiE,aAAA,CAACrD,QAAQ;MAACsD,EAAE,EAAI,IAAI,CAACC,SAAS,CAAC,WAAW,CAAE;MAAEG,OAAO,EAAE/C,KAAK,CAACkJ,cAAe;MAACjH,MAAM,EAAEjD,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAACmJ,KAAK,CAACC,QAAQ,CAAC,aAAa,CAAC,EAAE,IAAI,CAACnG,MAAM,CAACiG,aAAa,EAAE,IAAI,CAACjG,MAAM,CAACkH,YAAY,CAAE;MAACZ,KAAK,EAAE,IAAI,CAACrB,MAAM,CAACnB,IAAI,CAAC,IAAI;IAAE,CAAW,CAAC,GACjO,IAAI,EAETuB,WAAW,iBACR7I,KAAA,CAAAiE,aAAA,CAACnD,QAAQ;MAAC8D,SAAS,EAAE,qBAAsB;MAACE,YAAY,EAAE,OAAQ;MAACR,OAAO,EAAE,MAAO;MACjFJ,EAAE,EAAI,IAAI,CAACC,SAAS,CAAC,MAAM,CAAE;MAC7BX,MAAM,EAAEjD,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAACiD,MAAM,CAACiG,aAAa,EAAE,IAAI,CAACjG,MAAM,CAACmH,QAAQ,CAAE;MAACb,KAAK,EAAE,IAAI,CAACpB,IAAI,CAACpB,IAAI,CAAC,IAAI;IAAE,CAAW,CAE7G,CACF,CAAC;EAEX;AACF"}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","BaseComponent","BaseComponentState","WmButton","WmFormActionProps","DEFAULT_CLASS","debounce","WmFormActionState","WmFormAction","constructor","props","_defineProperty","onClick","$event","cb","renderWidget","createElement","id","getTestId","show","disabled","caption","displayName","styles","name","iconclass","iconposition","onTap","_debouncedFormAction","formAction"],"sources":["form-action.component.tsx"],"sourcesContent":["import React from 'react';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\nimport { SyntheticEvent } from '@wavemaker/app-rn-runtime/core/tappable.component';\n\nimport WmFormActionProps from './form-action.props';\nimport { DEFAULT_CLASS, WmFormActionStyles } from './form-action.styles';\nimport {debounce} from \"lodash\";\nimport WmSkeleton, { createSkeleton } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.component';\nimport { ThemeConsumer } from '@wavemaker/app-rn-runtime/styles/theme';\n\nexport class WmFormActionState extends BaseComponentState<WmFormActionProps> {}\n\nexport default class WmFormAction extends BaseComponent<WmFormActionProps, WmFormActionState, WmFormActionStyles> {\n\n constructor(props: WmFormActionProps) {\n super(props, DEFAULT_CLASS, new WmFormActionProps());\n }\n\n private _debouncedFormAction = debounce(this.onClick, 250);\n\n onClick($event: SyntheticEvent, cb: Function | undefined) {\n cb && cb($event);\n }\n\n renderWidget(props: WmFormActionProps) {\n return (\n <WmButton\n id={this.getTestId()}\n show={props.show}\n disabled={props.disabled}\n caption={props.displayName}\n styles={this.styles}\n name={props.name}\n iconclass={props.iconclass}\n iconposition={props.iconposition}\n onTap={($event: any) => {\n this._debouncedFormAction($event, props.formAction);\n }}\n />\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,QAAQ,MAAM,oEAAoE;AAGzF,OAAOC,iBAAiB,MAAM,qBAAqB;AACnD,SAASC,aAAa,QAA4B,sBAAsB;AACxE,SAAQC,QAAQ,QAAO,QAAQ;AAI/B,OAAO,MAAMC,iBAAiB,SAASL,kBAAkB,CAAoB;AAE7E,eAAe,MAAMM,YAAY,SAASP,aAAa,CAA2D;EAEhHQ,WAAWA,CAACC,KAAwB,EAAE;IACpC,KAAK,CAACA,KAAK,EAAEL,aAAa,EAAE,IAAID,iBAAiB,CAAC,CAAC,CAAC;IAACO,eAAA,+BAGxBL,QAAQ,CAAC,IAAI,CAACM,OAAO,EAAE,GAAG,CAAC;EAF1D;EAIAA,OAAOA,CAACC,MAAsB,EAAEC,EAAwB,EAAE;IACxDA,EAAE,IAAIA,EAAE,CAACD,MAAM,CAAC;EAClB;EAEAE,YAAYA,CAACL,KAAwB,EAAE;IACrC,oBACEV,KAAA,CAAAgB,aAAA,CAACb,QAAQ;MACPc,EAAE,EAAE,IAAI,CAACC,SAAS,CAAC,CAAE;MACrBC,IAAI,EAAET,KAAK,CAACS,IAAK;MACjBC,QAAQ,EAAEV,KAAK,CAACU,QAAS;MACzBC,OAAO,EAAEX,KAAK,CAACY,WAAY;MAC3BC,MAAM,EAAE,IAAI,CAACA,MAAO;MACpBC,IAAI,EAAEd,KAAK,CAACc,IAAK;MACjBC,SAAS,EAAEf,KAAK,CAACe,SAAU;MAC3BC,YAAY,EAAEhB,KAAK,CAACgB,YAAa;MACjCC,KAAK,EAAGd,MAAW,IAAK;QACtB,IAAI,CAACe,oBAAoB,CAACf,MAAM,EAAEH,KAAK,CAACmB,UAAU,CAAC;MACrD;IAAE,CACH,CAAC;EAEN;AACF"}
@@ -291,7 +291,7 @@ export default class WmForm extends BaseComponent {
291
291
  const val = field === null || field === void 0 ? void 0 : field.state.props.datavalue;
292
292
  const onValidate = get(field, 'props.onValidate');
293
293
  onValidate && onValidate(field);
294
- if (!val && field !== null && field !== void 0 && field.state.props.required) {
294
+ if (!val && field !== null && field !== void 0 && field.state.props.required && (field !== null && field !== void 0 && field.props.primaryKey && (field === null || field === void 0 ? void 0 : field.props.generator) === 'assigned' || !(field !== null && field !== void 0 && field.props.primaryKey))) {
295
295
  isValid = false;
296
296
  const msg = get(field.defaultValidatorMessages, 'required') || field.state.props.validationmessage;
297
297
  field.updateState({
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","BaseComponent","BaseComponentState","isDefined","debounce","find","forEach","isNil","get","set","cloneDeep","isEmpty","WmLabel","WmIcon","WmMessage","ToastConsumer","WmFormProps","DEFAULT_CLASS","isDataSetWidget","WmFormState","constructor","arguments","_defineProperty","WmForm","props","handleSubmit","componentDidMount","getParentFormRef","parentForm","pformName","current","parent","parentFormRef","setReadonlyFields","_this$formFields","formFields","field","setReadOnlyState","state","isUpdateMode","setReadonlyState","updateMode","updateState","setTimeout","showActions","edit","new","cancel","delete","registerFormFields","formWidgets","w","form","formwidget","formKey","name","f","formfields","applyFormData","applyDefaultValue","formdataoutput","datavalue","dataoutput","_this$buttonArray","buttonArray","action","show","registerFormActions","formActions","_updateFieldOnDataSourceChange","isDataSetBound","widget","isRelated","relatedData","_this$parentFormRef","formData","formdata","formField","_formField$props","fw","key","setState","isDefault","updateFormFieldDefaultValue","dv","defaultvalue","_formField$props2","invokeEventCallback","bind","undefined","formreset","ff","defaultValue","id","_widget","isValid","reset","submit","_debouncedSubmitForm","generateFormFields","userFields","fields","metadata","data","onBeforerender","proxy","dynamicForm","generateComponent","onPropertyChange","$new","$old","_this$formFields2","setPrimaryKey","fieldName","primaryKey","indexOf","push","validateFieldsOnSubmit","val","onValidate","required","generator","msg","defaultValidatorMessages","validationmessage","validate","event","preventDefault","onBeforesubmit","formSubmit","onResultCb","error","response","status","onSuccess","postmessage","toggleMessage","onError","errormessage","updateDataOutput","Object","assign","type","message","messagelayout","showInlineMsg","toaster","showToast","placement","styles","bottom","text","hideOnClick","duration","onMsgClose","renderWidget","createElement","toastService","style","root","_background","iconclass","title","subheading","heading","flex","flexDirection","getTestId","listIcon","caption","hideclose","onClose","children"],"sources":["form.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { isDefined, widgetsWithUndefinedValue } from '@wavemaker/app-rn-runtime/core/utils';\nimport { debounce, find, forEach, isNil, get, set, cloneDeep, isEmpty } from 'lodash';\n\nimport WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmFormField, { WmFormFieldState } from '@wavemaker/app-rn-runtime/components/data/form/form-field/form-field.component';\nimport WmMessage from '@wavemaker/app-rn-runtime/components/basic/message/message.component';\nimport { ToastConsumer, ToastService } from '@wavemaker/app-rn-runtime/core/toast.service';\n\nimport WmFormProps from './form.props';\nimport { DEFAULT_CLASS, WmFormStyles } from './form.styles';\nimport WmSkeleton, { createSkeleton } from '../../basic/skeleton/skeleton.component';\nimport { WmSkeletonStyles } from '../../basic/skeleton/skeleton.styles';\nimport { isDataSetWidget } from '@wavemaker/app-rn-runtime/core/utils';\nimport WmFormAction, {\n WmFormActionState\n} from '@wavemaker/app-rn-runtime/components/data/form/form-action/form-action.component';\n\nexport class WmFormState extends BaseComponentState<WmFormProps> {\n isValid = false;\n type: 'success' | 'warning' | 'error' | 'info' | 'loading' | undefined = 'success';\n message: string = '';\n showInlineMsg: boolean = false;\n isUpdateMode: boolean = true;\n dynamicForm: any;\n}\nexport default class WmForm extends BaseComponent<WmFormProps, WmFormState, WmFormStyles> {\n public formFields: Array<WmFormField> = []; // contains array of direct widget elements [WmText, WmNumber, WmCurrent]\n public parentFormRef: any;\n public formfields: {[key: string]: WmFormField} = {};\n public formdataoutput: any;\n private toaster: any;\n public formActions: Array<WmFormAction> = [];\n primaryKey = [];\n buttonArray: Array<WmFormAction> = [];\n formWidgets: { [key: string]: BaseComponent<any, any, any> } = {}; // object containing key as name of formField and value as WmFormField proxy.\n constructor(props: WmFormProps) {\n super(props, DEFAULT_CLASS, new WmFormProps(), new WmFormState());\n }\n\n private _debouncedSubmitForm = debounce(this.handleSubmit, 250);\n\n componentDidMount() {\n super.componentDidMount();\n this.getParentFormRef(this.props.parentForm);\n }\n\n getParentFormRef(pformName: string) {\n let current = this.parent;\n while (current) {\n if (get(current, 'props.name') === pformName) {\n this.parentFormRef = current;\n break;\n }\n current = current.parent;\n }\n }\n\n setReadonlyFields() {\n this.formFields?.forEach((field: any) => {\n field.setReadOnlyState(this.state.isUpdateMode);\n });\n }\n\n setReadonlyState(updateMode: any) {\n this.updateState({\n isUpdateMode: updateMode,\n } as WmFormState);\n setTimeout(() => {\n this.showActions();\n this.setReadonlyFields();\n }, 100);\n }\n\n edit() {\n this.setReadonlyState(true);\n }\n\n new() {\n this.setReadonlyState(true);\n }\n\n cancel() {\n this.setReadonlyState(false);\n }\n\n delete() { }\n\n registerFormFields(\n formFields: Array<WmFormField>,\n formWidgets: { [key: string]: BaseComponent<any, any, any> }\n ) {\n forEach(formFields, (w: WmFormField) => {\n if (!w.form) {\n w.form = this;\n w.formwidget = (w.props.formKey && formWidgets[w.props.formKey])\n || (w.props.name && formWidgets[w.props.name]);\n }\n });\n\n this.formFields = formFields;\n this.formWidgets = formWidgets;\n\n formFields?.forEach((f: WmFormField) => {\n if (f.props.name) {\n set(this.formfields, f.props.name, f);\n }\n })\n\n this.setReadonlyFields();\n\n this.applyFormData();\n this.applyDefaultValue();\n\n // setting default form dataoutput.\n if (!this.formdataoutput) {\n this.formdataoutput = {};\n formFields?.forEach((w: WmFormField) => {\n const name = get(w.props, 'formKey') || w.props.name;\n if (name) {\n set(this.formdataoutput, name, w.props.datavalue);\n }\n });\n this.updateState({\n props: {\n dataoutput: this.formdataoutput\n }\n } as WmFormState);\n }\n }\n\n showActions () {\n this.buttonArray?.forEach((action: any) => {\n action.updateState({\n props: {\n show: action.updateMode === this.state.isUpdateMode\n }} as WmFormActionState);\n });\n }\n\n registerFormActions(formActions: Array<WmFormAction>) {\n this.buttonArray = formActions;\n this.showActions();\n }\n\n private _updateFieldOnDataSourceChange(field: WmFormField, formFields: Array<WmFormField>) {\n if (!field.state.props.isDataSetBound && isDataSetWidget(field.props.widget)) {\n if (field.state.props.isRelated) {\n field.updateState({\n props: {\n isDataSetBound: true\n }} as WmFormFieldState);\n this.props.relatedData && this.props.relatedData(field);\n }\n }\n }\n\n applyFormData() {\n let formData = this.state.props.formdata || this.parentFormRef?.state.props.formdata;\n if (!formData || (this.parentFormRef && this.state.props.formdata)) {\n return;\n }\n forEach(this.formFields, (formField: WmFormField) => {\n let fw = formField.props?.name && this.formWidgets[formField.props.name];\n if (!fw) {\n fw = find(this.formWidgets, (fw: BaseComponent<any, any, any>) => {\n return get(fw, 'formfieldname') === formField.props.name\n });\n }\n let key = get(formField, 'formKey') || get(fw, 'props.name');\n fw && fw.setState({ isDefault: true });\n formField.updateState({\n props: {\n datavalue: get(formData, key)\n }\n } as WmFormFieldState);\n });\n }\n\n updateFormFieldDefaultValue(formField: WmFormField) {\n if (formField) {\n const dv = formField.state.props.defaultvalue;\n if (isDefined(dv) && dv !== null && this.formFields) {\n let field = formField.props?.name && this.formWidgets[formField.props.name];\n if (!field) {\n field = find(this.formWidgets, (fw: BaseComponent<any, any, any>) => {\n return get(fw, 'formfieldname') === formField.props.name\n });\n }\n if (field) {\n field.setState({ isDefault: true });\n field.updateState({\n props: {\n datavalue: dv\n }\n }, this.invokeEventCallback.bind(formField, 'onFieldChange', [undefined, formField, dv]));\n }\n }\n }\n }\n\n get dataoutput() {\n return this.formdataoutput;\n }\n\n applyDefaultValue(formField?: WmFormField) {\n if (formField) {\n this.updateFormFieldDefaultValue(formField);\n return;\n }\n forEach(this.formFields, (w: WmFormField) => {\n this.updateFormFieldDefaultValue(w);\n });\n }\n\n formreset() {\n this.formdataoutput = {};\n forEach(this.formFields, (ff: WmFormField) => {\n const defaultValue = isNil(ff.state.props.defaultvalue) ? '' : ff.state.props.defaultvalue;\n ff.updateState({\n props : {\n datavalue: defaultValue\n }\n } as WmFormFieldState, () => {\n const id = ff.props.formKey || ff.props.name;\n if (id) {\n let widget: BaseComponent<any, any, any> | undefined | any = this.formWidgets[id];\n if (!widget) {\n widget = find(this.formWidgets, (fw: BaseComponent<any, any, any>) => {\n return get(fw, 'formfieldname') === ff.props.name\n });\n }\n widget.updateState({\n isValid: true,\n props : {\n datavalue: defaultValue\n }\n }, () => ff.updateState({\n isValid: true\n } as WmFormFieldState));\n widget?.reset();\n }\n }\n );\n });\n }\n\n submit() {\n this._debouncedSubmitForm();\n }\n\n // Function to generate and compile the form fields from the metadata\n generateFormFields() {\n let userFields;\n let fields = this.state.props.metadata ? this.state.props.metadata.data || this.state.props.metadata : [];\n\n if (isEmpty(fields)) {\n return;\n }\n\n if (this.props.onBeforerender) {\n userFields = this.invokeEventCallback('onBeforerender', [fields, this.proxy]);\n if (userFields) {\n fields = userFields;\n }\n }\n\n this.updateState({\n dynamicForm: this.props.generateComponent(fields, this.props.name)\n } as WmFormState);\n\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch (name) {\n case 'formdata':\n if ($new) {\n this.applyFormData();\n }\n break;\n case 'defaultmode':\n this.updateState({\n isUpdateMode: $new && $new === 'Edit' ? true : false,\n } as WmFormState);\n break;\n case 'dataset':\n this.formFields?.forEach((w: WmFormField) => {\n this._updateFieldOnDataSourceChange(w, this.formFields);\n });\n break;\n case 'metadata':\n this.generateFormFields();\n break;\n }\n }\n setPrimaryKey(fieldName: string) {\n /*Store the primary key of data*/\n this.primaryKey = this.primaryKey || [];\n // @ts-ignore\n if (this.primaryKey.indexOf(fieldName) === -1) {\n // @ts-ignore\n this.primaryKey.push(fieldName);\n }\n }\n // Disable the form submit if form is in invalid state. Highlight all the invalid fields if validation type is default\n validateFieldsOnSubmit() {\n let isValid = true;\n forEach(this.formFields, (field) => {\n const val = field?.state.props.datavalue;\n\n const onValidate = get(field, 'props.onValidate');\n onValidate && onValidate(field);\n if (!val && field?.state.props.required && ((field?.props.primaryKey && field?.props.generator === 'assigned') || !field?.props.primaryKey)) {\n isValid = false;\n const msg = get(field.defaultValidatorMessages, 'required') || field.state.props.validationmessage;\n field.updateState({ isValid: isValid, props: {\n validationmessage: msg\n }} as WmFormFieldState);\n field.formwidget.validate && field.formwidget.validate(val);\n }\n // check for isvalid state of formwidget\n if (field.formwidget.state.isValid === false) {\n isValid = false;\n }\n });\n return isValid;\n }\n\n // @ts-ignore\n handleSubmit(event?: any) {\n event?.preventDefault();\n const formData = cloneDeep(this.state.props.dataoutput || this.formdataoutput);\n\n if (!this.validateFieldsOnSubmit()) {\n return false;\n }\n if (this.props.onBeforesubmit) {\n this.invokeEventCallback('onBeforesubmit', [ null, this.proxy, formData ]);\n }\n if (this.props.formSubmit) {\n this.props.formSubmit(formData, ((data: any) => {\n this.invokeEventCallback('onSubmit', [ null, this.proxy, formData ]);\n this.onResultCb(get(data, 'params'), 'success');\n }), ((error: any) => {\n this.invokeEventCallback('onSubmit', [ null, this.proxy, formData ]);\n this.onResultCb(error, '');\n }));\n } else {\n this.invokeEventCallback('onSubmit', [ null, this.proxy, formData ]);\n }\n }\n\n onResultCb(response: any, status: string, event?: any) {\n this.invokeEventCallback('onResult', [ null, this.proxy, response ]);\n if (status) {\n this.invokeEventCallback('onSuccess', [ null, this.proxy, response ]);\n !this.props.onSuccess && this.state.props.postmessage && this.toggleMessage('success', this.state.props.postmessage);\n } else {\n this.invokeEventCallback('onError', [ null, this.proxy, response ]);\n !this.props.onError && this.toggleMessage('error', this.state.props.errormessage || get(response, 'message'));\n }\n }\n\n updateDataOutput(key: string, val: any) {\n const current = this.formdataoutput || {};\n if (key) {\n set(current, key, val);\n } else {\n Object.assign(current, val)\n }\n this.formdataoutput = current;\n this.updateState({ props: { dataoutput: current }} as WmFormState);\n this.parentFormRef && this.parentFormRef.updateDataOutput(undefined, this.formdataoutput);\n this.updateState({\n props: {\n dataoutput: this.formdataoutput\n }\n } as WmFormState);\n }\n\n toggleMessage(\n type: 'success' | 'warning' | 'error' | 'info' | 'loading' | undefined,\n message: string\n ) {\n if (this.state.props.messagelayout === 'Inline') {\n this.setState({\n type: type,\n message: message,\n showInlineMsg: true\n } as WmFormState)\n return;\n }\n this.toaster.showToast({\n name: this, placement: \"\", styles: {bottom: 0},\n text: message,\n type: type,\n hideOnClick: true,\n duration: 5000\n });\n }\n\n onMsgClose() {\n this.setState({\n showInlineMsg: false\n } as WmFormState)\n }\n\n renderWidget(props: WmFormProps) {\n return (\n <ToastConsumer>\n {(toastService: ToastService) => {\n this.toaster = toastService;\n return <View style={this.styles.root}>\n {this._background}\n {props.iconclass || props.title || props.subheading ? (\n <View style={this.styles.heading}>\n <View style={{flex: 1, flexDirection: 'row'}}>\n <WmIcon id={this.getTestId('icon')} styles={this.styles.listIcon} iconclass={props.iconclass}></WmIcon>\n <View>\n <WmLabel id={this.getTestId('title')} styles={this.styles.title} caption={props.title}></WmLabel>\n <WmLabel id={this.getTestId('description')} styles={this.styles.subheading} caption={props.subheading}></WmLabel>\n </View>\n </View>\n </View>\n ) : null}\n {this.state.showInlineMsg ? <WmMessage type={this.state.type} caption={this.state.message} hideclose={false} onClose={this.onMsgClose.bind(this)}></WmMessage> : null\n }\n { props.metadata && this.state.dynamicForm }\n { props.children}\n </View>\n }\n }\n </ToastConsumer>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,SAAS,QAAmC,sCAAsC;AAC3F,SAASC,QAAQ,EAAEC,IAAI,EAAEC,OAAO,EAAEC,KAAK,EAAEC,GAAG,EAAEC,GAAG,EAAEC,SAAS,EAAEC,OAAO,QAAQ,QAAQ;AAErF,OAAOC,OAAO,MAAM,kEAAkE;AACtF,OAAOC,MAAM,MAAM,gEAAgE;AAEnF,OAAOC,SAAS,MAAM,sEAAsE;AAC5F,SAASC,aAAa,QAAsB,8CAA8C;AAE1F,OAAOC,WAAW,MAAM,cAAc;AACtC,SAASC,aAAa,QAAsB,eAAe;AAG3D,SAASC,eAAe,QAAQ,sCAAsC;AAKtE,OAAO,MAAMC,WAAW,SAASjB,kBAAkB,CAAc;EAAAkB,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,kBACrD,KAAK;IAAAA,eAAA,eAC0D,SAAS;IAAAA,eAAA,kBAChE,EAAE;IAAAA,eAAA,wBACK,KAAK;IAAAA,eAAA,uBACN,IAAI;IAAAA,eAAA;EAAA;AAE9B;AACA,eAAe,MAAMC,MAAM,SAAStB,aAAa,CAAyC;EASrB;EACnEmB,WAAWA,CAACI,KAAkB,EA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