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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (946) hide show
  1. {app-rn-runtime → package}/components/basic/anchor/anchor.component.js +3 -1
  2. package/components/basic/anchor/anchor.component.js.map +1 -0
  3. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js +1 -0
  4. {app-rn-runtime → package}/components/basic/anchor/anchor.props.js.map +1 -1
  5. {app-rn-runtime → package}/components/basic/button/button.component.js +3 -1
  6. package/components/basic/button/button.component.js.map +1 -0
  7. {app-rn-runtime → package}/components/basic/button/button.styles.js +2 -1
  8. package/components/basic/button/button.styles.js.map +1 -0
  9. {app-rn-runtime → package}/components/basic/label/label.component.js +18 -10
  10. package/components/basic/label/label.component.js.map +1 -0
  11. {app-rn-runtime → package}/components/basic/search/search.component.js +8 -2
  12. package/components/basic/search/search.component.js.map +1 -0
  13. {app-rn-runtime → package}/components/basic/search/search.props.js +1 -0
  14. {app-rn-runtime → package}/components/basic/search/search.props.js.map +1 -1
  15. package/components/basic/tooltip/tooltip.component.js +79 -0
  16. package/components/basic/tooltip/tooltip.component.js.map +1 -0
  17. package/components/basic/tooltip/tooltip.props.js +18 -0
  18. package/components/basic/tooltip/tooltip.props.js.map +1 -0
  19. package/components/basic/tooltip/tooltip.styles.js +49 -0
  20. package/components/basic/tooltip/tooltip.styles.js.map +1 -0
  21. {app-rn-runtime → package}/components/chart/basechart.component.js +1 -0
  22. package/components/chart/basechart.component.js.map +1 -0
  23. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js +17 -10
  24. package/components/chart/stack-chart/stack-chart.component.js.map +1 -0
  25. {app-rn-runtime → package}/components/container/accordion/accordion.component.js +2 -2
  26. package/components/container/accordion/accordion.component.js.map +1 -0
  27. {app-rn-runtime → package}/components/container/container.component.js +1 -10
  28. package/components/container/container.component.js.map +1 -0
  29. {app-rn-runtime → package}/components/container/container.props.js +0 -1
  30. {app-rn-runtime → package}/components/container/container.props.js.map +1 -1
  31. {app-rn-runtime → package}/components/container/panel/panel.component.js +1 -1
  32. package/components/container/panel/panel.component.js.map +1 -0
  33. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.component.js +1 -1
  34. package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
  35. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js +20 -4
  36. package/components/container/tabs/tabpane/tabpane.component.js.map +1 -0
  37. {app-rn-runtime → package}/components/container/tabs/tabs.component.js +3 -0
  38. package/components/container/tabs/tabs.component.js.map +1 -0
  39. {app-rn-runtime → package}/components/container/wizard/wizard.component.js +1 -1
  40. package/components/container/wizard/wizard.component.js.map +1 -0
  41. {app-rn-runtime → package}/components/data/form/form-action/form-action.component.js +1 -0
  42. package/components/data/form/form-action/form-action.component.js.map +1 -0
  43. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js +1 -0
  44. {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js.map +1 -1
  45. {app-rn-runtime → package}/components/data/form/form-field/form-field.component.js +11 -0
  46. package/components/data/form/form-field/form-field.component.js.map +1 -0
  47. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js +3 -0
  48. {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js.map +1 -1
  49. {app-rn-runtime → package}/components/data/form/form.component.js +27 -5
  50. package/components/data/form/form.component.js.map +1 -0
  51. {app-rn-runtime → package}/components/data/form/form.props.js +3 -0
  52. package/components/data/form/form.props.js.map +1 -0
  53. {app-rn-runtime → package}/components/data/list/list.component.js +63 -56
  54. package/components/data/list/list.component.js.map +1 -0
  55. {app-rn-runtime → package}/components/data/list/list.props.js +2 -0
  56. package/components/data/list/list.props.js.map +1 -0
  57. {app-rn-runtime → package}/components/data/list/list.styles.js +5 -3
  58. package/components/data/list/list.styles.js.map +1 -0
  59. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js +4 -0
  60. package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -0
  61. {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js +2 -2
  62. package/components/input/basedataset/basedataset.component.js.map +1 -0
  63. {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js +3 -1
  64. package/components/input/baseinput/baseinput.component.js.map +1 -0
  65. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js +2 -0
  66. {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js.map +1 -1
  67. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.component.js +13 -4
  68. package/components/input/checkboxset/checkboxset.component.js.map +1 -0
  69. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js +1 -0
  70. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js.map +1 -1
  71. {app-rn-runtime → package}/components/input/epoch/base-datetime.component.js +74 -1
  72. package/components/input/epoch/base-datetime.component.js.map +1 -0
  73. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js +2 -0
  74. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js.map +1 -1
  75. package/components/input/epoch/wheel-date-picker.component.js +87 -0
  76. package/components/input/epoch/wheel-date-picker.component.js.map +1 -0
  77. package/components/input/epoch/wheel-time-picker.component.js +107 -0
  78. package/components/input/epoch/wheel-time-picker.component.js.map +1 -0
  79. package/components/input/epoch/wheelpicker/wheelpicker.component.js +90 -0
  80. package/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -0
  81. package/components/input/epoch/wheelpicker/wheelpicker.props.js +17 -0
  82. package/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -0
  83. package/components/input/epoch/wheelpicker/wheelpicker.styles.js +55 -0
  84. package/components/input/epoch/wheelpicker/wheelpicker.styles.js.map +1 -0
  85. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +72 -0
  86. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -0
  87. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +15 -0
  88. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -0
  89. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js +66 -0
  90. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js.map +1 -0
  91. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +74 -0
  92. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +1 -0
  93. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +16 -0
  94. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -0
  95. package/components/input/radioset/radioset.component.js +94 -0
  96. package/components/input/radioset/radioset.component.js.map +1 -0
  97. {app-rn-runtime → package}/components/input/radioset/radioset.props.js +1 -0
  98. {app-rn-runtime → package}/components/input/radioset/radioset.props.js.map +1 -1
  99. {app-rn-runtime → package}/components/input/radioset/radioset.styles.js +35 -2
  100. package/components/input/radioset/radioset.styles.js.map +1 -0
  101. package/components/input/slider/slider.component.js +439 -0
  102. package/components/input/slider/slider.component.js.map +1 -0
  103. package/components/input/slider/slider.component_backup.js +398 -0
  104. package/components/input/slider/slider.component_backup.js.map +1 -0
  105. {app-rn-runtime → package}/components/input/slider/slider.props.js +9 -5
  106. package/components/input/slider/slider.props.js.map +1 -0
  107. {app-rn-runtime → package}/components/input/slider/slider.styles.js +25 -2
  108. package/components/input/slider/slider.styles.js.map +1 -0
  109. {app-rn-runtime → package}/components/input/switch/switch.component.js +1 -1
  110. {app-rn-runtime → package}/components/input/switch/switch.component.js.map +1 -1
  111. {app-rn-runtime → package}/components/input/switch/switch.styles.js +6 -1
  112. package/components/input/switch/switch.styles.js.map +1 -0
  113. {app-rn-runtime → package}/components/input/text/text.component.js +4 -2
  114. package/components/input/text/text.component.js.map +1 -0
  115. {app-rn-runtime → package}/components/input/toggle/toggle.component.js +3 -2
  116. package/components/input/toggle/toggle.component.js.map +1 -0
  117. package/components/navigation/navbar/navbar.props.js.map +1 -0
  118. package/components/navigation/navitem/navitem.component.js.map +1 -0
  119. package/components/navigation/navitem/navitem.props.js.map +1 -0
  120. {app-rn-runtime → package}/components/navigation/popover/popover.component.js +4 -0
  121. package/components/navigation/popover/popover.component.js.map +1 -0
  122. {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js +4 -0
  123. package/components/page/left-panel/left-panel.component.js.map +1 -0
  124. {app-rn-runtime → package}/core/accessibility.js +2 -2
  125. package/core/accessibility.js.map +1 -0
  126. {app-rn-runtime → package}/core/base.component.js +33 -18
  127. package/core/base.component.js.map +1 -0
  128. package/core/components/flatlist.component.js +38 -0
  129. package/core/components/flatlist.component.js.map +1 -0
  130. package/core/components/textinput.component.js +193 -0
  131. package/core/components/textinput.component.js.map +1 -0
  132. {app-rn-runtime → package}/core/event-notifier.js +31 -8
  133. package/core/event-notifier.js.map +1 -0
  134. {app-rn-runtime → package}/core/formatters.js +14 -1
  135. package/core/formatters.js.map +1 -0
  136. {app-rn-runtime → package}/core/tappable.component.js +75 -39
  137. package/core/tappable.component.js.map +1 -0
  138. {app-rn-runtime → package}/core/utils.js +62 -0
  139. package/core/utils.js.map +1 -0
  140. {app-rn-runtime → package}/package.json +4 -3
  141. {app-rn-runtime → package}/runtime/App.js +13 -3
  142. package/runtime/App.js.map +1 -0
  143. {app-rn-runtime → package}/runtime/base-fragment.component.js +5 -1
  144. package/runtime/base-fragment.component.js.map +1 -0
  145. {app-rn-runtime → package}/runtime/base-page.component.js +10 -2
  146. package/runtime/base-page.component.js.map +1 -0
  147. {app-rn-runtime → package}/runtime/base-partial.component.js +10 -5
  148. package/runtime/base-partial.component.js.map +1 -0
  149. {app-rn-runtime → package}/runtime/services/app-security.service.js +21 -7
  150. package/runtime/services/app-security.service.js.map +1 -0
  151. {app-rn-runtime → package}/styles/background.component.js +15 -4
  152. package/styles/background.component.js.map +1 -0
  153. {app-rn-runtime → package}/styles/theme.variables.js +7 -0
  154. package/styles/theme.variables.js.map +1 -0
  155. package/variables/device/device/network-info.operation.js +33 -0
  156. package/variables/device/device/network-info.operation.js.map +1 -0
  157. package/variables/device/operation.provider.js.map +1 -0
  158. {app-rn-runtime → package}/variables/device-variable.js +1 -1
  159. package/variables/device-variable.js.map +1 -0
  160. app-rn-runtime/components/basic/anchor/anchor.component.js.map +0 -1
  161. app-rn-runtime/components/basic/button/button.component.js.map +0 -1
  162. app-rn-runtime/components/basic/button/button.styles.js.map +0 -1
  163. app-rn-runtime/components/basic/label/label.component.js.map +0 -1
  164. app-rn-runtime/components/basic/search/search.component.js.map +0 -1
  165. app-rn-runtime/components/chart/basechart.component.js.map +0 -1
  166. app-rn-runtime/components/chart/stack-chart/stack-chart.component.js.map +0 -1
  167. app-rn-runtime/components/container/accordion/accordion.component.js.map +0 -1
  168. app-rn-runtime/components/container/container.component.js.map +0 -1
  169. app-rn-runtime/components/container/panel/panel.component.js.map +0 -1
  170. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +0 -1
  171. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js.map +0 -1
  172. app-rn-runtime/components/container/tabs/tabs.component.js.map +0 -1
  173. app-rn-runtime/components/container/wizard/wizard.component.js.map +0 -1
  174. app-rn-runtime/components/data/form/form-action/form-action.component.js.map +0 -1
  175. app-rn-runtime/components/data/form/form-field/form-field.component.js.map +0 -1
  176. app-rn-runtime/components/data/form/form.component.js.map +0 -1
  177. app-rn-runtime/components/data/form/form.props.js.map +0 -1
  178. app-rn-runtime/components/data/list/list.component.js.map +0 -1
  179. app-rn-runtime/components/data/list/list.props.js.map +0 -1
  180. app-rn-runtime/components/data/list/list.styles.js.map +0 -1
  181. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js.map +0 -1
  182. app-rn-runtime/components/input/basedataset/basedataset.component.js.map +0 -1
  183. app-rn-runtime/components/input/baseinput/baseinput.component.js.map +0 -1
  184. app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +0 -1
  185. app-rn-runtime/components/input/epoch/base-datetime.component.js.map +0 -1
  186. app-rn-runtime/components/input/radioset/radioset.component.js +0 -68
  187. app-rn-runtime/components/input/radioset/radioset.component.js.map +0 -1
  188. app-rn-runtime/components/input/radioset/radioset.styles.js.map +0 -1
  189. app-rn-runtime/components/input/slider/slider.component.js +0 -153
  190. app-rn-runtime/components/input/slider/slider.component.js.map +0 -1
  191. app-rn-runtime/components/input/slider/slider.props.js.map +0 -1
  192. app-rn-runtime/components/input/slider/slider.styles.js.map +0 -1
  193. app-rn-runtime/components/input/switch/switch.styles.js.map +0 -1
  194. app-rn-runtime/components/input/text/text.component.js.map +0 -1
  195. app-rn-runtime/components/input/toggle/toggle.component.js.map +0 -1
  196. app-rn-runtime/components/navigation/navbar/navbar.props.js.map +0 -1
  197. app-rn-runtime/components/navigation/navitem/navitem.component.js.map +0 -1
  198. app-rn-runtime/components/navigation/navitem/navitem.props.js.map +0 -1
  199. app-rn-runtime/components/navigation/popover/popover.component.js.map +0 -1
  200. app-rn-runtime/components/page/left-panel/left-panel.component.js.map +0 -1
  201. app-rn-runtime/core/accessibility.js.map +0 -1
  202. app-rn-runtime/core/base.component.js.map +0 -1
  203. app-rn-runtime/core/components/textinput.component.js +0 -60
  204. app-rn-runtime/core/components/textinput.component.js.map +0 -1
  205. app-rn-runtime/core/event-notifier.js.map +0 -1
  206. app-rn-runtime/core/formatters.js.map +0 -1
  207. app-rn-runtime/core/tappable.component.js.map +0 -1
  208. app-rn-runtime/core/utils.js.map +0 -1
  209. app-rn-runtime/runtime/App.js.map +0 -1
  210. app-rn-runtime/runtime/base-fragment.component.js.map +0 -1
  211. app-rn-runtime/runtime/base-page.component.js.map +0 -1
  212. app-rn-runtime/runtime/base-partial.component.js.map +0 -1
  213. app-rn-runtime/runtime/services/app-security.service.js.map +0 -1
  214. app-rn-runtime/styles/background.component.js.map +0 -1
  215. app-rn-runtime/styles/theme.variables.js.map +0 -1
  216. app-rn-runtime/variables/device/device/network-info.operation.js +0 -13
  217. app-rn-runtime/variables/device/device/network-info.operation.js.map +0 -1
  218. app-rn-runtime/variables/device/operation.provider.js.map +0 -1
  219. app-rn-runtime/variables/device-variable.js.map +0 -1
  220. {app-rn-runtime → package}/actions/base-action.js +0 -0
  221. {app-rn-runtime → package}/actions/base-action.js.map +0 -0
  222. {app-rn-runtime → package}/actions/index.js +0 -0
  223. {app-rn-runtime → package}/actions/index.js.map +0 -0
  224. {app-rn-runtime → package}/actions/login-action.js +0 -0
  225. {app-rn-runtime → package}/actions/login-action.js.map +0 -0
  226. {app-rn-runtime → package}/actions/logout-action.js +0 -0
  227. {app-rn-runtime → package}/actions/logout-action.js.map +0 -0
  228. {app-rn-runtime → package}/actions/navigation-action.js +0 -0
  229. {app-rn-runtime → package}/actions/navigation-action.js.map +0 -0
  230. {app-rn-runtime → package}/actions/notification-action.js +0 -0
  231. {app-rn-runtime → package}/actions/notification-action.js.map +0 -0
  232. {app-rn-runtime → package}/actions/timer-action.js +0 -0
  233. {app-rn-runtime → package}/actions/timer-action.js.map +0 -0
  234. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js +0 -0
  235. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js.map +0 -0
  236. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js +0 -0
  237. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js.map +0 -0
  238. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js +0 -0
  239. {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +0 -0
  240. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js +0 -0
  241. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js.map +0 -0
  242. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js +0 -0
  243. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js.map +0 -0
  244. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js +0 -0
  245. {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +0 -0
  246. {app-rn-runtime → package}/components/advanced/carousel/carousel.component.js +0 -0
  247. {app-rn-runtime → package}/components/advanced/carousel/carousel.component.js.map +0 -0
  248. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js +0 -0
  249. {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js.map +0 -0
  250. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js +0 -0
  251. {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js.map +0 -0
  252. {app-rn-runtime → package}/components/advanced/login/login.component.js +0 -0
  253. {app-rn-runtime → package}/components/advanced/login/login.component.js.map +0 -0
  254. {app-rn-runtime → package}/components/advanced/login/login.props.js +0 -0
  255. {app-rn-runtime → package}/components/advanced/login/login.props.js.map +0 -0
  256. {app-rn-runtime → package}/components/advanced/login/login.styles.js +0 -0
  257. {app-rn-runtime → package}/components/advanced/login/login.styles.js.map +0 -0
  258. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js +0 -0
  259. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js.map +0 -0
  260. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js +0 -0
  261. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js.map +0 -0
  262. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js +0 -0
  263. {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +0 -0
  264. {app-rn-runtime → package}/components/advanced/webview/webview.component.js +0 -0
  265. {app-rn-runtime → package}/components/advanced/webview/webview.component.js.map +0 -0
  266. {app-rn-runtime → package}/components/advanced/webview/webview.props.js +0 -0
  267. {app-rn-runtime → package}/components/advanced/webview/webview.props.js.map +0 -0
  268. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js +0 -0
  269. {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
  270. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js +0 -0
  271. {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js.map +0 -0
  272. {app-rn-runtime → package}/components/basic/animatedview.component.js +0 -0
  273. {app-rn-runtime → package}/components/basic/animatedview.component.js.map +0 -0
  274. {app-rn-runtime → package}/components/basic/audio/audio.component.js +0 -0
  275. {app-rn-runtime → package}/components/basic/audio/audio.component.js.map +0 -0
  276. {app-rn-runtime → package}/components/basic/audio/audio.props.js +0 -0
  277. {app-rn-runtime → package}/components/basic/audio/audio.props.js.map +0 -0
  278. {app-rn-runtime → package}/components/basic/audio/audio.styles.js +0 -0
  279. {app-rn-runtime → package}/components/basic/audio/audio.styles.js.map +0 -0
  280. {app-rn-runtime → package}/components/basic/button/button.props.js +0 -0
  281. {app-rn-runtime → package}/components/basic/button/button.props.js.map +0 -0
  282. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js +0 -0
  283. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js.map +0 -0
  284. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js +0 -0
  285. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js.map +0 -0
  286. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js +0 -0
  287. {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js.map +0 -0
  288. {app-rn-runtime → package}/components/basic/custom/custom.component.js +0 -0
  289. {app-rn-runtime → package}/components/basic/custom/custom.component.js.map +0 -0
  290. {app-rn-runtime → package}/components/basic/custom/custom.props.js +0 -0
  291. {app-rn-runtime → package}/components/basic/custom/custom.props.js.map +0 -0
  292. {app-rn-runtime → package}/components/basic/custom/custom.styles.js +0 -0
  293. {app-rn-runtime → package}/components/basic/custom/custom.styles.js.map +0 -0
  294. {app-rn-runtime → package}/components/basic/icon/icon.component.js +0 -0
  295. {app-rn-runtime → package}/components/basic/icon/icon.component.js.map +0 -0
  296. {app-rn-runtime → package}/components/basic/icon/icon.props.js +0 -0
  297. {app-rn-runtime → package}/components/basic/icon/icon.props.js.map +0 -0
  298. {app-rn-runtime → package}/components/basic/icon/icon.styles.js +0 -0
  299. {app-rn-runtime → package}/components/basic/icon/icon.styles.js.map +0 -0
  300. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +0 -0
  301. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +0 -0
  302. {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
  303. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +0 -0
  304. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +0 -0
  305. {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
  306. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js +0 -0
  307. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js.map +0 -0
  308. {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.ttf +0 -0
  309. {app-rn-runtime → package}/components/basic/label/label.props.js +0 -0
  310. {app-rn-runtime → package}/components/basic/label/label.props.js.map +0 -0
  311. {app-rn-runtime → package}/components/basic/label/label.styles.js +0 -0
  312. {app-rn-runtime → package}/components/basic/label/label.styles.js.map +0 -0
  313. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js +0 -0
  314. {app-rn-runtime → package}/components/basic/lottie/lottie.component.js.map +0 -0
  315. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js +0 -0
  316. {app-rn-runtime → package}/components/basic/lottie/lottie.props.js.map +0 -0
  317. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js +0 -0
  318. {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js.map +0 -0
  319. {app-rn-runtime → package}/components/basic/message/message.component.js +0 -0
  320. {app-rn-runtime → package}/components/basic/message/message.component.js.map +0 -0
  321. {app-rn-runtime → package}/components/basic/message/message.props.js +0 -0
  322. {app-rn-runtime → package}/components/basic/message/message.props.js.map +0 -0
  323. {app-rn-runtime → package}/components/basic/message/message.styles.js +0 -0
  324. {app-rn-runtime → package}/components/basic/message/message.styles.js.map +0 -0
  325. {app-rn-runtime → package}/components/basic/modal/modal.component.js +0 -0
  326. {app-rn-runtime → package}/components/basic/modal/modal.component.js.map +0 -0
  327. {app-rn-runtime → package}/components/basic/modal/modal.props.js +0 -0
  328. {app-rn-runtime → package}/components/basic/modal/modal.props.js.map +0 -0
  329. {app-rn-runtime → package}/components/basic/modal/modal.styles.js +0 -0
  330. {app-rn-runtime → package}/components/basic/modal/modal.styles.js.map +0 -0
  331. {app-rn-runtime → package}/components/basic/picture/picture.component.js +0 -0
  332. {app-rn-runtime → package}/components/basic/picture/picture.component.js.map +0 -0
  333. {app-rn-runtime → package}/components/basic/picture/picture.props.js +0 -0
  334. {app-rn-runtime → package}/components/basic/picture/picture.props.js.map +0 -0
  335. {app-rn-runtime → package}/components/basic/picture/picture.styles.js +0 -0
  336. {app-rn-runtime → package}/components/basic/picture/picture.styles.js.map +0 -0
  337. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js +0 -0
  338. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js.map +0 -0
  339. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js +0 -0
  340. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js.map +0 -0
  341. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js +0 -0
  342. {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js.map +0 -0
  343. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js +0 -0
  344. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js.map +0 -0
  345. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js +0 -0
  346. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js.map +0 -0
  347. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js +0 -0
  348. {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js.map +0 -0
  349. {app-rn-runtime → package}/components/basic/search/local-data-provider.js +0 -0
  350. {app-rn-runtime → package}/components/basic/search/local-data-provider.js.map +0 -0
  351. {app-rn-runtime → package}/components/basic/search/search.styles.js +0 -0
  352. {app-rn-runtime → package}/components/basic/search/search.styles.js.map +0 -0
  353. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js +0 -0
  354. {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js.map +0 -0
  355. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js +0 -0
  356. {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js.map +0 -0
  357. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js +0 -0
  358. {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js.map +0 -0
  359. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js +0 -0
  360. {app-rn-runtime → package}/components/basic/spinner/spinner.component.js.map +0 -0
  361. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js +0 -0
  362. {app-rn-runtime → package}/components/basic/spinner/spinner.props.js.map +0 -0
  363. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js +0 -0
  364. {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js.map +0 -0
  365. {app-rn-runtime → package}/components/basic/video/video.component.js +0 -0
  366. {app-rn-runtime → package}/components/basic/video/video.component.js.map +0 -0
  367. {app-rn-runtime → package}/components/basic/video/video.props.js +0 -0
  368. {app-rn-runtime → package}/components/basic/video/video.props.js.map +0 -0
  369. {app-rn-runtime → package}/components/basic/video/video.styles.js +0 -0
  370. {app-rn-runtime → package}/components/basic/video/video.styles.js.map +0 -0
  371. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js +0 -0
  372. {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js.map +0 -0
  373. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js +0 -0
  374. {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js.map +0 -0
  375. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js +0 -0
  376. {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js.map +0 -0
  377. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js +0 -0
  378. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js.map +0 -0
  379. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js +0 -0
  380. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js.map +0 -0
  381. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js +0 -0
  382. {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
  383. {app-rn-runtime → package}/components/chart/basechart.props.js +0 -0
  384. {app-rn-runtime → package}/components/chart/basechart.props.js.map +0 -0
  385. {app-rn-runtime → package}/components/chart/basechart.styles.js +0 -0
  386. {app-rn-runtime → package}/components/chart/basechart.styles.js.map +0 -0
  387. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js +0 -0
  388. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js.map +0 -0
  389. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js +0 -0
  390. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js.map +0 -0
  391. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js +0 -0
  392. {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js.map +0 -0
  393. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js +0 -0
  394. {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js.map +0 -0
  395. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js +0 -0
  396. {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js.map +0 -0
  397. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js +0 -0
  398. {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js.map +0 -0
  399. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js +0 -0
  400. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js.map +0 -0
  401. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js +0 -0
  402. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js.map +0 -0
  403. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js +0 -0
  404. {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js.map +0 -0
  405. {app-rn-runtime → package}/components/chart/legend/legend.component.js +0 -0
  406. {app-rn-runtime → package}/components/chart/legend/legend.component.js.map +0 -0
  407. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js +0 -0
  408. {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js.map +0 -0
  409. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js +0 -0
  410. {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js.map +0 -0
  411. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
  412. {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
  413. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js +0 -0
  414. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js.map +0 -0
  415. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js +0 -0
  416. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js.map +0 -0
  417. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js +0 -0
  418. {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js.map +0 -0
  419. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js +0 -0
  420. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js.map +0 -0
  421. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js +0 -0
  422. {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js.map +0 -0
  423. {app-rn-runtime → package}/components/chart/staticdata.js +0 -0
  424. {app-rn-runtime → package}/components/chart/staticdata.js.map +0 -0
  425. {app-rn-runtime → package}/components/chart/theme/chart.theme.js +0 -0
  426. {app-rn-runtime → package}/components/chart/theme/chart.theme.js.map +0 -0
  427. {app-rn-runtime → package}/components/container/accordion/accordion.props.js +0 -0
  428. {app-rn-runtime → package}/components/container/accordion/accordion.props.js.map +0 -0
  429. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js +0 -0
  430. {app-rn-runtime → package}/components/container/accordion/accordion.styles.js.map +0 -0
  431. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js +0 -0
  432. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js.map +0 -0
  433. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js +0 -0
  434. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js.map +0 -0
  435. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js +0 -0
  436. {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js.map +0 -0
  437. {app-rn-runtime → package}/components/container/container.styles.js +0 -0
  438. {app-rn-runtime → package}/components/container/container.styles.js.map +0 -0
  439. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
  440. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -0
  441. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -0
  442. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -0
  443. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
  444. {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
  445. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js +0 -0
  446. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -0
  447. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js +0 -0
  448. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -0
  449. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
  450. {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
  451. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js +0 -0
  452. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js.map +0 -0
  453. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js +0 -0
  454. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js.map +0 -0
  455. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
  456. {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js.map +0 -0
  457. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js +0 -0
  458. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js.map +0 -0
  459. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js +0 -0
  460. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js.map +0 -0
  461. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
  462. {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
  463. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -0
  464. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -0
  465. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -0
  466. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -0
  467. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
  468. {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
  469. {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js +0 -0
  470. {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js.map +0 -0
  471. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js +0 -0
  472. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js.map +0 -0
  473. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js +0 -0
  474. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js.map +0 -0
  475. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js +0 -0
  476. {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js.map +0 -0
  477. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js +0 -0
  478. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js.map +0 -0
  479. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js +0 -0
  480. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js.map +0 -0
  481. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js +0 -0
  482. {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js.map +0 -0
  483. {app-rn-runtime → package}/components/container/panel/panel.props.js +0 -0
  484. {app-rn-runtime → package}/components/container/panel/panel.props.js.map +0 -0
  485. {app-rn-runtime → package}/components/container/panel/panel.styles.js +0 -0
  486. {app-rn-runtime → package}/components/container/panel/panel.styles.js.map +0 -0
  487. {app-rn-runtime → package}/components/container/partial-host.component.js +0 -0
  488. {app-rn-runtime → package}/components/container/partial-host.component.js.map +0 -0
  489. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js +0 -0
  490. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js.map +0 -0
  491. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js +0 -0
  492. {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js.map +0 -0
  493. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js +0 -0
  494. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js.map +0 -0
  495. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
  496. {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
  497. {app-rn-runtime → package}/components/container/tabs/tabs.props.js +0 -0
  498. {app-rn-runtime → package}/components/container/tabs/tabs.props.js.map +0 -0
  499. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js +0 -0
  500. {app-rn-runtime → package}/components/container/tabs/tabs.styles.js.map +0 -0
  501. {app-rn-runtime → package}/components/container/tile/tile.component.js +0 -0
  502. {app-rn-runtime → package}/components/container/tile/tile.component.js.map +0 -0
  503. {app-rn-runtime → package}/components/container/tile/tile.props.js +0 -0
  504. {app-rn-runtime → package}/components/container/tile/tile.props.js.map +0 -0
  505. {app-rn-runtime → package}/components/container/tile/tile.styles.js +0 -0
  506. {app-rn-runtime → package}/components/container/tile/tile.styles.js.map +0 -0
  507. {app-rn-runtime → package}/components/container/wizard/wizard.props.js +0 -0
  508. {app-rn-runtime → package}/components/container/wizard/wizard.props.js.map +0 -0
  509. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js +0 -0
  510. {app-rn-runtime → package}/components/container/wizard/wizard.styles.js.map +0 -0
  511. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js +0 -0
  512. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -0
  513. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js +0 -0
  514. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -0
  515. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js +0 -0
  516. {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js.map +0 -0
  517. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js +0 -0
  518. {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js.map +0 -0
  519. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js +0 -0
  520. {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js.map +0 -0
  521. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js +0 -0
  522. {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js.map +0 -0
  523. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js +0 -0
  524. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js.map +0 -0
  525. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js +0 -0
  526. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js.map +0 -0
  527. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js +0 -0
  528. {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js.map +0 -0
  529. {app-rn-runtime → package}/components/data/card/card.component.js +0 -0
  530. {app-rn-runtime → package}/components/data/card/card.component.js.map +0 -0
  531. {app-rn-runtime → package}/components/data/card/card.props.js +0 -0
  532. {app-rn-runtime → package}/components/data/card/card.props.js.map +0 -0
  533. {app-rn-runtime → package}/components/data/card/card.styles.js +0 -0
  534. {app-rn-runtime → package}/components/data/card/card.styles.js.map +0 -0
  535. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js +0 -0
  536. {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js.map +0 -0
  537. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js +0 -0
  538. {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js.map +0 -0
  539. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js +0 -0
  540. {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js.map +0 -0
  541. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js +0 -0
  542. {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js.map +0 -0
  543. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js +0 -0
  544. {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js.map +0 -0
  545. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js +0 -0
  546. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js.map +0 -0
  547. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js +0 -0
  548. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js.map +0 -0
  549. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js +0 -0
  550. {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js.map +0 -0
  551. {app-rn-runtime → package}/components/data/form/form.styles.js +0 -0
  552. {app-rn-runtime → package}/components/data/form/form.styles.js.map +0 -0
  553. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js +0 -0
  554. {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js.map +0 -0
  555. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js +0 -0
  556. {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js.map +0 -0
  557. {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js +0 -0
  558. {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js.map +0 -0
  559. {app-rn-runtime → package}/components/data/liveform/liveform.component.js +0 -0
  560. {app-rn-runtime → package}/components/data/liveform/liveform.component.js.map +0 -0
  561. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js +0 -0
  562. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js.map +0 -0
  563. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js +0 -0
  564. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js.map +0 -0
  565. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js +0 -0
  566. {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js.map +0 -0
  567. {app-rn-runtime → package}/components/device/camera/camera.component.js +0 -0
  568. {app-rn-runtime → package}/components/device/camera/camera.component.js.map +0 -0
  569. {app-rn-runtime → package}/components/device/camera/camera.props.js +0 -0
  570. {app-rn-runtime → package}/components/device/camera/camera.props.js.map +0 -0
  571. {app-rn-runtime → package}/components/device/camera/camera.styles.js +0 -0
  572. {app-rn-runtime → package}/components/device/camera/camera.styles.js.map +0 -0
  573. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js +0 -0
  574. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js.map +0 -0
  575. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js +0 -0
  576. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js.map +0 -0
  577. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js +0 -0
  578. {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -0
  579. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js +0 -0
  580. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -0
  581. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js +0 -0
  582. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -0
  583. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js +0 -0
  584. {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -0
  585. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js +0 -0
  586. {app-rn-runtime → package}/components/dialogs/dialog/dialog.component.js.map +0 -0
  587. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js +0 -0
  588. {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js.map +0 -0
  589. {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js +0 -0
  590. {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js.map +0 -0
  591. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js +0 -0
  592. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js.map +0 -0
  593. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js +0 -0
  594. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js.map +0 -0
  595. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js +0 -0
  596. {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js.map +0 -0
  597. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js +0 -0
  598. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js.map +0 -0
  599. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js +0 -0
  600. {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js.map +0 -0
  601. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js +0 -0
  602. {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js.map +0 -0
  603. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js +0 -0
  604. {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js.map +0 -0
  605. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js +0 -0
  606. {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js.map +0 -0
  607. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js +0 -0
  608. {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js.map +0 -0
  609. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js +0 -0
  610. {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js.map +0 -0
  611. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js +0 -0
  612. {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
  613. {app-rn-runtime → package}/components/input/calendar/calendar.component.js +0 -0
  614. {app-rn-runtime → package}/components/input/calendar/calendar.component.js.map +0 -0
  615. {app-rn-runtime → package}/components/input/calendar/calendar.props.js +0 -0
  616. {app-rn-runtime → package}/components/input/calendar/calendar.props.js.map +0 -0
  617. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js +0 -0
  618. {app-rn-runtime → package}/components/input/calendar/calendar.styles.js.map +0 -0
  619. {app-rn-runtime → package}/components/input/calendar/views/month-view.js +0 -0
  620. {app-rn-runtime → package}/components/input/calendar/views/month-view.js.map +0 -0
  621. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js +0 -0
  622. {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js.map +0 -0
  623. {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js +0 -0
  624. {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js.map +0 -0
  625. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js +0 -0
  626. {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js.map +0 -0
  627. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js +0 -0
  628. {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js.map +0 -0
  629. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js +0 -0
  630. {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js.map +0 -0
  631. {app-rn-runtime → package}/components/input/chips/chips.component.js +0 -0
  632. {app-rn-runtime → package}/components/input/chips/chips.component.js.map +0 -0
  633. {app-rn-runtime → package}/components/input/chips/chips.props.js +0 -0
  634. {app-rn-runtime → package}/components/input/chips/chips.props.js.map +0 -0
  635. {app-rn-runtime → package}/components/input/chips/chips.styles.js +0 -0
  636. {app-rn-runtime → package}/components/input/chips/chips.styles.js.map +0 -0
  637. {app-rn-runtime → package}/components/input/composite/composite.component.js +0 -0
  638. {app-rn-runtime → package}/components/input/composite/composite.component.js.map +0 -0
  639. {app-rn-runtime → package}/components/input/composite/composite.props.js +0 -0
  640. {app-rn-runtime → package}/components/input/composite/composite.props.js.map +0 -0
  641. {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
  642. {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
  643. {app-rn-runtime → package}/components/input/currency/currency.component.js +0 -0
  644. {app-rn-runtime → package}/components/input/currency/currency.component.js.map +0 -0
  645. {app-rn-runtime → package}/components/input/currency/currency.props.js +0 -0
  646. {app-rn-runtime → package}/components/input/currency/currency.props.js.map +0 -0
  647. {app-rn-runtime → package}/components/input/currency/currency.styles.js +0 -0
  648. {app-rn-runtime → package}/components/input/currency/currency.styles.js.map +0 -0
  649. {app-rn-runtime → package}/components/input/epoch/date/date.component.js +0 -0
  650. {app-rn-runtime → package}/components/input/epoch/date/date.component.js.map +0 -0
  651. {app-rn-runtime → package}/components/input/epoch/date/date.props.js +0 -0
  652. {app-rn-runtime → package}/components/input/epoch/date/date.props.js.map +0 -0
  653. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js +0 -0
  654. {app-rn-runtime → package}/components/input/epoch/date/date.styles.js.map +0 -0
  655. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js +0 -0
  656. {app-rn-runtime → package}/components/input/epoch/date-picker.component.js.map +0 -0
  657. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js +0 -0
  658. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js.map +0 -0
  659. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js +0 -0
  660. {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js.map +0 -0
  661. {app-rn-runtime → package}/components/input/epoch/time/time.component.js +0 -0
  662. {app-rn-runtime → package}/components/input/epoch/time/time.component.js.map +0 -0
  663. {app-rn-runtime → package}/components/input/epoch/time/time.props.js +0 -0
  664. {app-rn-runtime → package}/components/input/epoch/time/time.props.js.map +0 -0
  665. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js +0 -0
  666. {app-rn-runtime → package}/components/input/epoch/time/time.styles.js.map +0 -0
  667. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js +0 -0
  668. {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js.map +0 -0
  669. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js +0 -0
  670. {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js.map +0 -0
  671. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js +0 -0
  672. {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js.map +0 -0
  673. {app-rn-runtime → package}/components/input/number/number.component.js +0 -0
  674. {app-rn-runtime → package}/components/input/number/number.component.js.map +0 -0
  675. {app-rn-runtime → package}/components/input/number/number.props.js +0 -0
  676. {app-rn-runtime → package}/components/input/number/number.props.js.map +0 -0
  677. {app-rn-runtime → package}/components/input/number/number.styles.js +0 -0
  678. {app-rn-runtime → package}/components/input/number/number.styles.js.map +0 -0
  679. {app-rn-runtime → package}/components/input/rating/rating.component.js +0 -0
  680. {app-rn-runtime → package}/components/input/rating/rating.component.js.map +0 -0
  681. {app-rn-runtime → package}/components/input/rating/rating.props.js +0 -0
  682. {app-rn-runtime → package}/components/input/rating/rating.props.js.map +0 -0
  683. {app-rn-runtime → package}/components/input/rating/rating.styles.js +0 -0
  684. {app-rn-runtime → package}/components/input/rating/rating.styles.js.map +0 -0
  685. {app-rn-runtime → package}/components/input/select/select.component.js +0 -0
  686. {app-rn-runtime → package}/components/input/select/select.component.js.map +0 -0
  687. {app-rn-runtime → package}/components/input/select/select.props.js +0 -0
  688. {app-rn-runtime → package}/components/input/select/select.props.js.map +0 -0
  689. {app-rn-runtime → package}/components/input/select/select.styles.js +0 -0
  690. {app-rn-runtime → package}/components/input/select/select.styles.js.map +0 -0
  691. {app-rn-runtime → package}/components/input/switch/switch.props.js +0 -0
  692. {app-rn-runtime → package}/components/input/switch/switch.props.js.map +0 -0
  693. {app-rn-runtime → package}/components/input/text/text.props.js +0 -0
  694. {app-rn-runtime → package}/components/input/text/text.props.js.map +0 -0
  695. {app-rn-runtime → package}/components/input/text/text.styles.js +0 -0
  696. {app-rn-runtime → package}/components/input/text/text.styles.js.map +0 -0
  697. {app-rn-runtime → package}/components/input/textarea/textarea.component.js +0 -0
  698. {app-rn-runtime → package}/components/input/textarea/textarea.component.js.map +0 -0
  699. {app-rn-runtime → package}/components/input/textarea/textarea.props.js +0 -0
  700. {app-rn-runtime → package}/components/input/textarea/textarea.props.js.map +0 -0
  701. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js +0 -0
  702. {app-rn-runtime → package}/components/input/textarea/textarea.styles.js.map +0 -0
  703. {app-rn-runtime → package}/components/input/toggle/toggle.props.js +0 -0
  704. {app-rn-runtime → package}/components/input/toggle/toggle.props.js.map +0 -0
  705. {app-rn-runtime → package}/components/input/toggle/toggle.styles.js +0 -0
  706. {app-rn-runtime → package}/components/input/toggle/toggle.styles.js.map +0 -0
  707. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js +0 -0
  708. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js.map +0 -0
  709. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js +0 -0
  710. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js.map +0 -0
  711. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js +0 -0
  712. {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js.map +0 -0
  713. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js +0 -0
  714. {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js.map +0 -0
  715. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js +0 -0
  716. {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js.map +0 -0
  717. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js +0 -0
  718. {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js.map +0 -0
  719. {app-rn-runtime → package}/components/navigation/menu/menu.component.js +0 -0
  720. {app-rn-runtime → package}/components/navigation/menu/menu.component.js.map +0 -0
  721. {app-rn-runtime → package}/components/navigation/menu/menu.props.js +0 -0
  722. {app-rn-runtime → package}/components/navigation/menu/menu.props.js.map +0 -0
  723. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js +0 -0
  724. {app-rn-runtime → package}/components/navigation/menu/menu.styles.js.map +0 -0
  725. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js +0 -0
  726. {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js.map +0 -0
  727. {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js +0 -0
  728. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js +0 -0
  729. {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js.map +0 -0
  730. {app-rn-runtime → package}/components/navigation/navitem/navitem.component.js +0 -0
  731. {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js +0 -0
  732. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js +0 -0
  733. {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js.map +0 -0
  734. {app-rn-runtime → package}/components/navigation/popover/popover.props.js +0 -0
  735. {app-rn-runtime → package}/components/navigation/popover/popover.props.js.map +0 -0
  736. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js +0 -0
  737. {app-rn-runtime → package}/components/navigation/popover/popover.styles.js.map +0 -0
  738. {app-rn-runtime → package}/components/page/content/content.component.js +0 -0
  739. {app-rn-runtime → package}/components/page/content/content.component.js.map +0 -0
  740. {app-rn-runtime → package}/components/page/content/content.props.js +0 -0
  741. {app-rn-runtime → package}/components/page/content/content.props.js.map +0 -0
  742. {app-rn-runtime → package}/components/page/content/content.styles.js +0 -0
  743. {app-rn-runtime → package}/components/page/content/content.styles.js.map +0 -0
  744. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js +0 -0
  745. {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js.map +0 -0
  746. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js +0 -0
  747. {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js.map +0 -0
  748. {app-rn-runtime → package}/components/page/page-content/page-content.component.js +0 -0
  749. {app-rn-runtime → package}/components/page/page-content/page-content.component.js.map +0 -0
  750. {app-rn-runtime → package}/components/page/page-content/page-content.props.js +0 -0
  751. {app-rn-runtime → package}/components/page/page-content/page-content.props.js.map +0 -0
  752. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js +0 -0
  753. {app-rn-runtime → package}/components/page/page-content/page-content.styles.js.map +0 -0
  754. {app-rn-runtime → package}/components/page/page.component.js +0 -0
  755. {app-rn-runtime → package}/components/page/page.component.js.map +0 -0
  756. {app-rn-runtime → package}/components/page/page.props.js +0 -0
  757. {app-rn-runtime → package}/components/page/page.props.js.map +0 -0
  758. {app-rn-runtime → package}/components/page/page.styles.js +0 -0
  759. {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
  760. {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
  761. {app-rn-runtime → package}/components/page/partial/partial.component.js.map +0 -0
  762. {app-rn-runtime → package}/components/page/partial/partial.props.js +0 -0
  763. {app-rn-runtime → package}/components/page/partial/partial.props.js.map +0 -0
  764. {app-rn-runtime → package}/components/page/partial/partial.styles.js +0 -0
  765. {app-rn-runtime → package}/components/page/partial/partial.styles.js.map +0 -0
  766. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js +0 -0
  767. {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js.map +0 -0
  768. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js +0 -0
  769. {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js.map +0 -0
  770. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js +0 -0
  771. {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js.map +0 -0
  772. {app-rn-runtime → package}/components/page/tabbar/curve.js +0 -0
  773. {app-rn-runtime → package}/components/page/tabbar/curve.js.map +0 -0
  774. {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js +0 -0
  775. {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js.map +0 -0
  776. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js +0 -0
  777. {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js.map +0 -0
  778. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js +0 -0
  779. {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js.map +0 -0
  780. {app-rn-runtime → package}/components/prefab/prefab-container.component.js +0 -0
  781. {app-rn-runtime → package}/components/prefab/prefab-container.component.js.map +0 -0
  782. {app-rn-runtime → package}/components/prefab/prefab-container.props.js +0 -0
  783. {app-rn-runtime → package}/components/prefab/prefab-container.props.js.map +0 -0
  784. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js +0 -0
  785. {app-rn-runtime → package}/components/prefab/prefab-container.styles.js.map +0 -0
  786. {app-rn-runtime → package}/core/AppConfig.js +0 -0
  787. {app-rn-runtime → package}/core/AppConfig.js.map +0 -0
  788. {app-rn-runtime → package}/core/asset.provider.js +0 -0
  789. {app-rn-runtime → package}/core/asset.provider.js.map +0 -0
  790. {app-rn-runtime → package}/core/components/floatinglabel.component.js +0 -0
  791. {app-rn-runtime → package}/core/components/floatinglabel.component.js.map +0 -0
  792. {app-rn-runtime → package}/core/constant.service.js +0 -0
  793. {app-rn-runtime → package}/core/constant.service.js.map +0 -0
  794. {app-rn-runtime → package}/core/constants/currency-constants.js +0 -0
  795. {app-rn-runtime → package}/core/constants/currency-constants.js.map +0 -0
  796. {app-rn-runtime → package}/core/currency-constants.js +0 -0
  797. {app-rn-runtime → package}/core/currency-constants.js.map +0 -0
  798. {app-rn-runtime → package}/core/device/calendar-service.js +0 -0
  799. {app-rn-runtime → package}/core/device/calendar-service.js.map +0 -0
  800. {app-rn-runtime → package}/core/device/camera-service.js +0 -0
  801. {app-rn-runtime → package}/core/device/camera-service.js.map +0 -0
  802. {app-rn-runtime → package}/core/device/contacts-service.js +0 -0
  803. {app-rn-runtime → package}/core/device/contacts-service.js.map +0 -0
  804. {app-rn-runtime → package}/core/device/location-service.js +0 -0
  805. {app-rn-runtime → package}/core/device/location-service.js.map +0 -0
  806. {app-rn-runtime → package}/core/device/scan-service.js +0 -0
  807. {app-rn-runtime → package}/core/device/scan-service.js.map +0 -0
  808. {app-rn-runtime → package}/core/display.manager.js +0 -0
  809. {app-rn-runtime → package}/core/display.manager.js.map +0 -0
  810. {app-rn-runtime → package}/core/file-extension-types.js +0 -0
  811. {app-rn-runtime → package}/core/file-extension-types.js.map +0 -0
  812. {app-rn-runtime → package}/core/fixed-view.component.js +0 -0
  813. {app-rn-runtime → package}/core/fixed-view.component.js.map +0 -0
  814. {app-rn-runtime → package}/core/i18n.service.js +0 -0
  815. {app-rn-runtime → package}/core/i18n.service.js.map +0 -0
  816. {app-rn-runtime → package}/core/if.component.js +0 -0
  817. {app-rn-runtime → package}/core/if.component.js.map +0 -0
  818. {app-rn-runtime → package}/core/imageSizeEstimator.js +0 -0
  819. {app-rn-runtime → package}/core/imageSizeEstimator.js.map +0 -0
  820. {app-rn-runtime → package}/core/injector.js +0 -0
  821. {app-rn-runtime → package}/core/injector.js.map +0 -0
  822. {app-rn-runtime → package}/core/key.extractor.js +0 -0
  823. {app-rn-runtime → package}/core/key.extractor.js.map +0 -0
  824. {app-rn-runtime → package}/core/logger.js +0 -0
  825. {app-rn-runtime → package}/core/logger.js.map +0 -0
  826. {app-rn-runtime → package}/core/modal.service.js +0 -0
  827. {app-rn-runtime → package}/core/modal.service.js.map +0 -0
  828. {app-rn-runtime → package}/core/navigation.service.js +0 -0
  829. {app-rn-runtime → package}/core/navigation.service.js.map +0 -0
  830. {app-rn-runtime → package}/core/network.service.js +0 -0
  831. {app-rn-runtime → package}/core/network.service.js.map +0 -0
  832. {app-rn-runtime → package}/core/partial.service.js +0 -0
  833. {app-rn-runtime → package}/core/partial.service.js.map +0 -0
  834. {app-rn-runtime → package}/core/props.provider.js +0 -0
  835. {app-rn-runtime → package}/core/props.provider.js.map +0 -0
  836. {app-rn-runtime → package}/core/scroll-view.component.js +0 -0
  837. {app-rn-runtime → package}/core/scroll-view.component.js.map +0 -0
  838. {app-rn-runtime → package}/core/security.service.js +0 -0
  839. {app-rn-runtime → package}/core/security.service.js.map +0 -0
  840. {app-rn-runtime → package}/core/spinner.service.js +0 -0
  841. {app-rn-runtime → package}/core/spinner.service.js.map +0 -0
  842. {app-rn-runtime → package}/core/storage.service.js +0 -0
  843. {app-rn-runtime → package}/core/storage.service.js.map +0 -0
  844. {app-rn-runtime → package}/core/testid.provider.js +0 -0
  845. {app-rn-runtime → package}/core/testid.provider.js.map +0 -0
  846. {app-rn-runtime → package}/core/toast.service.js +0 -0
  847. {app-rn-runtime → package}/core/toast.service.js.map +0 -0
  848. {app-rn-runtime → package}/core/viewport.js +0 -0
  849. {app-rn-runtime → package}/core/viewport.js.map +0 -0
  850. {app-rn-runtime → package}/gestures/swipe.animation.js +0 -0
  851. {app-rn-runtime → package}/gestures/swipe.animation.js.map +0 -0
  852. {app-rn-runtime → package}/index.js +0 -0
  853. {app-rn-runtime → package}/index.js.map +0 -0
  854. {app-rn-runtime → package}/runtime/App.navigator.js +0 -0
  855. {app-rn-runtime → package}/runtime/App.navigator.js.map +0 -0
  856. {app-rn-runtime → package}/runtime/base-prefab.component.js +0 -0
  857. {app-rn-runtime → package}/runtime/base-prefab.component.js.map +0 -0
  858. {app-rn-runtime → package}/runtime/lib-patch.js +0 -0
  859. {app-rn-runtime → package}/runtime/lib-patch.js.map +0 -0
  860. {app-rn-runtime → package}/runtime/memo.component.js +0 -0
  861. {app-rn-runtime → package}/runtime/memo.component.js.map +0 -0
  862. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js +0 -0
  863. {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js.map +0 -0
  864. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js +0 -0
  865. {app-rn-runtime → package}/runtime/navigator/stack.navigator.js.map +0 -0
  866. {app-rn-runtime → package}/runtime/platform.api.js +0 -0
  867. {app-rn-runtime → package}/runtime/platform.api.js.map +0 -0
  868. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js +0 -0
  869. {app-rn-runtime → package}/runtime/services/app-display-manager.service.js.map +0 -0
  870. {app-rn-runtime → package}/runtime/services/app-i18n.service.js +0 -0
  871. {app-rn-runtime → package}/runtime/services/app-i18n.service.js.map +0 -0
  872. {app-rn-runtime → package}/runtime/services/app-modal.service.js +0 -0
  873. {app-rn-runtime → package}/runtime/services/app-modal.service.js.map +0 -0
  874. {app-rn-runtime → package}/runtime/services/app-spinner.service.js +0 -0
  875. {app-rn-runtime → package}/runtime/services/app-spinner.service.js.map +0 -0
  876. {app-rn-runtime → package}/runtime/services/app-toast.service.js +0 -0
  877. {app-rn-runtime → package}/runtime/services/app-toast.service.js.map +0 -0
  878. {app-rn-runtime → package}/runtime/services/device/calendar-service.js +0 -0
  879. {app-rn-runtime → package}/runtime/services/device/calendar-service.js.map +0 -0
  880. {app-rn-runtime → package}/runtime/services/device/camera-service.js +0 -0
  881. {app-rn-runtime → package}/runtime/services/device/camera-service.js.map +0 -0
  882. {app-rn-runtime → package}/runtime/services/device/contacts-service.js +0 -0
  883. {app-rn-runtime → package}/runtime/services/device/contacts-service.js.map +0 -0
  884. {app-rn-runtime → package}/runtime/services/device/location-service.js +0 -0
  885. {app-rn-runtime → package}/runtime/services/device/location-service.js.map +0 -0
  886. {app-rn-runtime → package}/runtime/services/device/permissions.js +0 -0
  887. {app-rn-runtime → package}/runtime/services/device/permissions.js.map +0 -0
  888. {app-rn-runtime → package}/runtime/services/device/scan-service.js +0 -0
  889. {app-rn-runtime → package}/runtime/services/device/scan-service.js.map +0 -0
  890. {app-rn-runtime → package}/runtime/services/partial.service.js +0 -0
  891. {app-rn-runtime → package}/runtime/services/partial.service.js.map +0 -0
  892. {app-rn-runtime → package}/runtime/services/webprocess.service.js +0 -0
  893. {app-rn-runtime → package}/runtime/services/webprocess.service.js.map +0 -0
  894. {app-rn-runtime → package}/runtime/watcher.js +0 -0
  895. {app-rn-runtime → package}/runtime/watcher.js.map +0 -0
  896. {app-rn-runtime → package}/styles/MediaQueryList.js +0 -0
  897. {app-rn-runtime → package}/styles/MediaQueryList.js.map +0 -0
  898. {app-rn-runtime → package}/styles/style-prop.validator.js +0 -0
  899. {app-rn-runtime → package}/styles/style-prop.validator.js.map +0 -0
  900. {app-rn-runtime → package}/styles/style-props.js +0 -0
  901. {app-rn-runtime → package}/styles/style-props.js.map +0 -0
  902. {app-rn-runtime → package}/styles/theme.js +0 -0
  903. {app-rn-runtime → package}/styles/theme.js.map +0 -0
  904. {app-rn-runtime → package}/variables/base-variable.js +0 -0
  905. {app-rn-runtime → package}/variables/base-variable.js.map +0 -0
  906. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js +0 -0
  907. {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js.map +0 -0
  908. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js +0 -0
  909. {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js.map +0 -0
  910. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js +0 -0
  911. {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js.map +0 -0
  912. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js +0 -0
  913. {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js.map +0 -0
  914. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js +0 -0
  915. {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js.map +0 -0
  916. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js +0 -0
  917. {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js.map +0 -0
  918. {app-rn-runtime → package}/variables/device/device/app-info.operation.js +0 -0
  919. {app-rn-runtime → package}/variables/device/device/app-info.operation.js.map +0 -0
  920. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js +0 -0
  921. {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js.map +0 -0
  922. {app-rn-runtime → package}/variables/device/device/device-info.operation.js +0 -0
  923. {app-rn-runtime → package}/variables/device/device/device-info.operation.js.map +0 -0
  924. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js +0 -0
  925. {app-rn-runtime → package}/variables/device/device/vibrate.operation.js.map +0 -0
  926. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js +0 -0
  927. {app-rn-runtime → package}/variables/device/file/upload-file.operation.js.map +0 -0
  928. {app-rn-runtime → package}/variables/device/operation.provider.js +0 -0
  929. {app-rn-runtime → package}/variables/device/scan/scan.operation.js +0 -0
  930. {app-rn-runtime → package}/variables/device/scan/scan.operation.js.map +0 -0
  931. {app-rn-runtime → package}/variables/http.service.js +0 -0
  932. {app-rn-runtime → package}/variables/http.service.js.map +0 -0
  933. {app-rn-runtime → package}/variables/live-variable.js +0 -0
  934. {app-rn-runtime → package}/variables/live-variable.js.map +0 -0
  935. {app-rn-runtime → package}/variables/model-variable.js +0 -0
  936. {app-rn-runtime → package}/variables/model-variable.js.map +0 -0
  937. {app-rn-runtime → package}/variables/service-variable.js +0 -0
  938. {app-rn-runtime → package}/variables/service-variable.js.map +0 -0
  939. {app-rn-runtime → package}/variables/utils/dataset-util.js +0 -0
  940. {app-rn-runtime → package}/variables/utils/dataset-util.js.map +0 -0
  941. {app-rn-runtime → package}/variables/utils/inflight-queue.js +0 -0
  942. {app-rn-runtime → package}/variables/utils/inflight-queue.js.map +0 -0
  943. {app-rn-runtime → package}/variables/utils/variable.constants.js +0 -0
  944. {app-rn-runtime → package}/variables/utils/variable.constants.js.map +0 -0
  945. {app-rn-runtime → package}/variables/utils/variable.utils.js +0 -0
  946. {app-rn-runtime → package}/variables/utils/variable.utils.js.map +0 -0
@@ -79,7 +79,9 @@ export default class WmAnchor extends BaseComponent {
79
79
  onTap: props.hyperlink || props.onTap ? e => this.onTap(navigationService, e) : undefined
80
80
  }), this._background, props.iconposition === 'top' && icon, props.iconposition === 'left' && icon, props.caption ? /*#__PURE__*/React.createElement(Text, _extends({
81
81
  style: this.styles.text
82
- }, this.getTestPropsForLabel('caption'), getAccessibilityProps(AccessibilityWidgetType.ANCHOR, props)), props.caption) : null, props.iconposition === 'right' && icon, badge)));
82
+ }, this.getTestPropsForLabel('caption'), getAccessibilityProps(AccessibilityWidgetType.ANCHOR, props), {
83
+ numberOfLines: props.nooflines
84
+ }), props.caption) : null, props.iconposition === 'right' && icon, badge)));
83
85
  }
84
86
  }
85
87
  //# sourceMappingURL=anchor.component.js.map
@@ -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,SAAS,CAACW,KAAK,CAACK,SAAS,CAAC,GAAGL,KAAK,CAACK,SAAS;MAC3EH,iBAAiB,C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I,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"}
@@ -25,6 +25,7 @@ export default class WmAnchorProps extends BaseProps {
25
25
  _defineProperty(this, "accessibilitylabel", undefined);
26
26
  _defineProperty(this, "hint", undefined);
27
27
  _defineProperty(this, "accessibilityrole", 'link');
28
+ _defineProperty(this, "nooflines", undefined);
28
29
  }
29
30
  }
30
31
  //# sourceMappingURL=anchor.props.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["BaseProps","WmAnchorProps","constructor","arguments","_defineProperty","undefined"],"sources":["anchor.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\nexport default class WmAnchorProps extends BaseProps {\n animation?: string = null as any;\n caption? = 'Link';\n hyperlink?: string = null as any;\n encodeurl?: boolean = false;\n badgevalue?: string = null as any;\n width?: string = null as any;\n height?: string = null as any;\n iconclass?: string = null as any;\n iconposition?: string = 'left';\n target?: string = '_blank';\n onTap?: any;\n skeletonwidth?: number;\n skeletonheight?: number;\n iconurl?: string = null as any;\n iconheight?: number = null as any;\n iconwidth?: number = null as any;\n iconmargin?: number = null as any;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'link';\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,aAAa,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBAC5B,IAAI;IAAAA,eAAA,kBACd,MAAM;IAAAA,eAAA,oBACI,IAAI;IAAAA,eAAA,oBACH,KAAK;IAAAA,eAAA,qBACL,IAAI;IAAAA,eAAA,gBACT,IAAI;IAAAA,eAAA,iBACH,IAAI;IAAAA,eAAA,oBACD,IAAI;IAAAA,eAAA,uBACD,MAAM;IAAAA,eAAA,iBACZ,QAAQ;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,kBAIP,IAAI;IAAAA,eAAA,qBACD,IAAI;IAAAA,eAAA,oBACL,IAAI;IAAAA,eAAA,qBACH,IAAI;IAAAA,eAAA,6BACIC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,MAAM;EAAA;AAClD"}
1
+ {"version":3,"names":["BaseProps","WmAnchorProps","constructor","arguments","_defineProperty","undefined"],"sources":["anchor.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\nexport default class WmAnchorProps extends BaseProps {\n animation?: string = null as any;\n caption? = 'Link';\n hyperlink?: string = null as any;\n encodeurl?: boolean = false;\n badgevalue?: string = null as any;\n width?: string = null as any;\n height?: string = null as any;\n iconclass?: string = null as any;\n iconposition?: string = 'left';\n target?: string = '_blank';\n onTap?: any;\n skeletonwidth?: number;\n skeletonheight?: number;\n iconurl?: string = null as any;\n iconheight?: number = null as any;\n iconwidth?: number = null as any;\n iconmargin?: number = null as any;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'link';\n nooflines?: any = undefined;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,aAAa,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBAC5B,IAAI;IAAAA,eAAA,kBACd,MAAM;IAAAA,eAAA,oBACI,IAAI;IAAAA,eAAA,oBACH,KAAK;IAAAA,eAAA,qBACL,IAAI;IAAAA,eAAA,gBACT,IAAI;IAAAA,eAAA,iBACH,IAAI;IAAAA,eAAA,oBACD,IAAI;IAAAA,eAAA,uBACD,MAAM;IAAAA,eAAA,iBACZ,QAAQ;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,kBAIP,IAAI;IAAAA,eAAA,qBACD,IAAI;IAAAA,eAAA,oBACL,IAAI;IAAAA,eAAA,qBACH,IAAI;IAAAA,eAAA,6BACIC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,MAAM;IAAAA,eAAA,oBAC5BC,SAAS;EAAA;AAC/B"}
@@ -67,7 +67,9 @@ export default class WmButton extends BaseComponent {
67
67
  paddingTop: this.styles.root.paddingTop,
68
68
  paddingBottom: this.styles.root.paddingBottom,
69
69
  paddingLeft: this.styles.root.paddingLeft,
70
- paddingRight: this.styles.root.paddingRight
70
+ paddingRight: this.styles.root.paddingRight,
71
+ height: '100%',
72
+ justifyContent: 'center'
71
73
  },
72
74
  rippleColor: this.styles.root.rippleColor,
73
75
  target: this
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","Tappable","Badge","WmButtonProps","DEFAULT_CLASS","WmIcon","Animatedview","createSkeleton","AccessibilityWidgetType","getAccessibilityProps","WmButtonState","WmButton","constructor","props","prepareIcon","_ref","iconclass","iconurl","name","iconsize","iconheight","iconmargin","iconwidth","createElement","_extends","getTestPropsForLabel","styles","icon","prepareBadge","style","badge","badgevalue","renderSkeleton","prop","theme","skeleton","root","width","skeletonwidth","height","skeletonheight","renderWidget","Fragment","entryanimation","animation","paddingTop","paddingBottom","paddingLeft","paddingRight","overflow","accessibilityProps","BUTTON","_background","justifyContent","rippleColor","target","getTestPropsForAction","content","flexDirection","iconposition","caption","text","importantForAccessibility"],"sources":["button.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 { Badge } from 'react-native-paper';\n\nimport WmButtonProps from './button.props';\nimport { DEFAULT_CLASS, WmButtonStyles } from './button.styles';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport { createSkeleton } from '../skeleton/skeleton.component';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nexport class WmButtonState extends BaseComponentState<WmButtonProps> {\n\n}\n\nexport default class WmButton extends BaseComponent<WmButtonProps, WmButtonState, WmButtonStyles> {\n\n constructor(props: WmButtonProps) {\n super(props, DEFAULT_CLASS, new WmButtonProps());\n }\n\n private prepareIcon({\n iconclass,\n iconurl,\n name,\n iconsize,\n iconheight,\n iconmargin,\n iconwidth,\n }: any) {\n return iconclass || iconurl\n ? (<WmIcon\n {...this.getTestPropsForLabel('icon')}\n styles={this.styles.icon} \n name={`${name}_icon`} \n iconclass={iconclass}\n iconsize={iconsize}\n iconurl={iconurl} \n iconheight={iconheight}\n iconmargin={iconmargin}\n iconwidth={iconwidth}\n />): null;\n }\n\n private prepareBadge(props: any) {\n //@ts-ignore\n return (<Badge style={this.styles.badge}>{props.badgevalue}</Badge>);\n }\n\n public renderSkeleton(prop: WmButtonProps) {\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.styles.root.width)as DimensionValue,\n height: (this.props.skeletonheight || this.styles.root.height) as DimensionValue\n });\n }\n\n renderWidget(props: WmButtonProps) {\n return (\n <>\n <Animatedview entryanimation={props.animation}\n style={[\n this.styles.root,\n {\n paddingTop: 0,\n paddingBottom: 0,\n paddingLeft: 0,\n paddingRight: 0,\n overflow: 'hidden'\n }\n ]}\n accessibilityProps={{...getAccessibilityProps(\n AccessibilityWidgetType.BUTTON,\n props\n )}}\n >\n {this._background}\n <Tappable\n styles={{\n paddingTop: this.styles.root.paddingTop,\n paddingBottom: this.styles.root.paddingBottom,\n paddingLeft: this.styles.root.paddingLeft,\n paddingRight: this.styles.root.paddingRight,\n height: '100%',\n justifyContent: 'center',\n }}\n rippleColor = {this.styles.root.rippleColor}\n target={this}\n {...this.getTestPropsForAction()}>\n <View\n style={[\n this.styles.content,\n { flexDirection: props.iconposition === 'top' ? 'column' : 'row' }\n ]}>\n {props.iconposition === 'top' && this.prepareIcon(props)}\n {props.iconposition === 'left' && this.prepareIcon(props)}\n {props.caption ? (\n <Text\n style={this.styles.text}\n {...this.getTestPropsForLabel('caption')}\n importantForAccessibility={'no'}\n // accessibilityLabel={`${props.caption}`}\n >\n {props.caption}\n </Text>\n ) : null}\n {props.iconposition === 'right' && this.prepareIcon(props)}\n </View>\n </Tappable>\n </Animatedview>\n {props.badgevalue && this.prepareBadge(props)}\n </>\n );\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,SAASC,KAAK,QAAQ,oBAAoB;AAE1C,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,OAAOC,MAAM,MAAM,gEAAgE;AACnF,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAASC,cAAc,QAAQ,gCAAgC;AAC/D,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,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EACnB;QAAEC,aAAa,EAAE7C,KAAK,CAAC8C,YAAY,KAAK,KAAK,GAAG,QAAQ,GAAG;MAAM,CAAC;IAClE,GACD9C,KAAK,CAAC8C,YAAY,KAAK,KAAK,IAAI,IAAI,CAAC7C,WAAW,CAACD,KAAK,CAAC,EACvDA,KAAK,CAAC8C,YAAY,KAAK,MAAM,IAAI,IAAI,CAAC7C,WAAW,CAACD,KAAK,CAAC,EACxDA,KAAK,CAAC+C,OAAO,gBACZhE,KAAA,CAAA2B,aAAA,CAAC1B,IAAI,EAAA2B,QAAA;MACHK,KAAK,EAAE,IAAI,CAACH,MAAM,CAACmC;IAAK,GACpB,IAAI,CAACpC,oBAAoB,CAAC,SAAS,CAAC;MACxCqC,yBAAyB,EAAE;MAC3B;IAAA,IAECjD,KAAK,CAAC+C,OACH,CAAC,GACL,IAAI,EACP/C,KAAK,CAAC8C,YAAY,KAAK,OAAO,IAAI,IAAI,CAAC7C,WAAW,CAACD,KAAK,CACrD,CACE,CACE,CAAC,EACdA,KAAK,CAACkB,UAAU,IAAI,IAAI,CAACH,YAAY,CAACf,KAAK,CAC1C,CAAC;EAEP;AACF"}
@@ -11,7 +11,8 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
11
11
  paddingLeft: 24,
12
12
  paddingRight: 24,
13
13
  alignSelf: 'flex-start',
14
- rippleColor: themeVariables.rippleColor
14
+ rippleColor: themeVariables.rippleColor,
15
+ height: 40
15
16
  },
16
17
  content: {
17
18
  flexDirection: 'row',
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","minHeight","borderRadius","paddingTop","paddingBottom","paddingLeft","paddingRight","alignSelf","rippleColor","height","content","flexDirection","alignItems","justifyContent","text","fontSize","fontFamily","baseFont","fontWeight","textAlign","textTransform","badge","backgroundColor","buttonBadgeBackgroundColor","color","buttonBadgeTextColor","position","bottom","marginRight","borderWidth","borderStyle","icon","buttonTextPadding","skeleton","width","opacity","getButtonStyles","bgColor","borderColor","arguments","length","undefined","linkBtnStyle","buttonLinkColor","buttonLinkTextColor","buttonWithOnlyLabel","paddingVertical","textDecorationColor","textDecorationLine","textDecorationStyle","buttonDefaultColor","buttonDefaultTextColor","buttonBorderColor","buttonInfoColor","buttonInfoTextColor","buttonPrimaryColor","buttonPrimaryTextColor","buttonSecondaryColor","buttonSecondaryTextColor","buttonDangerColor","buttonDangerTextColor","buttonSuccessColor","buttonSuccessTextColor","buttonWarningColor","buttonWarningTextColor","buttonDarkColor","buttonDarkTextColor","buttonLightColor","buttonLightTextColor","getStyle","right","marginLeft"],"sources":["button.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmIconStyles } from '../icon/icon.styles';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmButtonStyles = BaseStyles & {\n content: AllStyle,\n badge: AllStyle,\n icon: WmIconStyles,\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-button';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmButtonStyles = defineStyles<WmButtonStyles>({\n root: {\n minHeight: 40,\n borderRadius: 32,\n paddingTop: 12,\n paddingBottom: 12,\n paddingLeft: 24,\n paddingRight: 24,\n alignSelf: 'flex-start',\n rippleColor: themeVariables.rippleColor,\n height: 40\n },\n content: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'center'\n },\n text: {\n fontSize: 14,\n fontFamily: themeVariables.baseFont,\n fontWeight: '500',\n textAlign: 'center',\n textTransform: 'capitalize',\n },\n badge: {\n backgroundColor: themeVariables.buttonBadgeBackgroundColor,\n color: themeVariables.buttonBadgeTextColor,\n alignSelf: 'flex-end',\n position: 'relative',\n bottom: 60 ,\n marginRight: 18,\n borderWidth: 1,\n borderStyle: 'solid',\n },\n icon: {\n root : {\n alignSelf: 'auto',\n paddingLeft: -8,\n paddingRight: -8\n },\n text: {\n paddingRight: themeVariables.buttonTextPadding,\n fontSize: 16\n }\n } as WmIconStyles,\n skeleton: {\n root: {\n width: 96,\n height: 48,\n borderRadius: 4\n }\n } as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n root : {\n opacity: 0.5\n }\n });\n\n const getButtonStyles = (bgColor: string, color: string, borderColor = bgColor) => {\n return {\n root: {\n borderWidth: 1,\n borderColor: borderColor,\n borderStyle: 'solid',\n backgroundColor: bgColor\n },\n text: {\n color: color\n },\n badge: {\n backgroundColor: color,\n color: bgColor,\n borderColor: bgColor\n },\n icon: {\n text: {\n color: color\n }\n }\n } as WmButtonStyles;\n }\n\n const linkBtnStyle = getButtonStyles(themeVariables.buttonLinkColor, themeVariables.buttonLinkTextColor );\nconst buttonWithOnlyLabel = getButtonStyles(themeVariables.buttonLinkColor, themeVariables.buttonLinkTextColor );\n\n linkBtnStyle.root.paddingVertical = 4;\n linkBtnStyle.text.textDecorationColor = themeVariables.buttonLinkTextColor;\n linkBtnStyle.text.textDecorationLine = 'underline';\n linkBtnStyle.text.textDecorationStyle = 'solid';\n\n addStyle('btn-default', '', getButtonStyles(themeVariables.buttonDefaultColor, themeVariables.buttonDefaultTextColor, themeVariables.buttonBorderColor));\n addStyle('btn-info', '', getButtonStyles(themeVariables.buttonInfoColor, themeVariables.buttonInfoTextColor));\n addStyle('btn-primary', '', getButtonStyles(themeVariables.buttonPrimaryColor, themeVariables.buttonPrimaryTextColor));\n addStyle('btn-secondary', '', getButtonStyles(themeVariables.buttonSecondaryColor, themeVariables.buttonSecondaryTextColor, themeVariables.buttonSecondaryTextColor));\n addStyle('btn-danger', '', getButtonStyles(themeVariables.buttonDangerColor, themeVariables.buttonDangerTextColor));\n addStyle('btn-success', '', getButtonStyles(themeVariables.buttonSuccessColor, themeVariables.buttonSuccessTextColor));\n addStyle('btn-warning', '', getButtonStyles(themeVariables.buttonWarningColor, themeVariables.buttonWarningTextColor));\n addStyle('btn-link', '', linkBtnStyle);\n addStyle('btn-only-label', '', buttonWithOnlyLabel);\n addStyle('btn-dark', '', getButtonStyles(themeVariables.buttonDarkColor, themeVariables.buttonDarkTextColor));\n addStyle('btn-light', '', getButtonStyles(themeVariables.buttonLightColor, themeVariables.buttonLightTextColor));\n addStyle('fab-btn', 'btn-primary', {\n root : {\n ...BASE_THEME.getStyle('elevate2').root,\n position: 'fixed' as any,\n bottom: 160,\n right: 48,\n width: 56,\n height: 56,\n borderRadius: 56,\n justifyContent: 'center',\n alignItems: 'center'\n },\n text: {\n marginLeft: 0,\n marginRight: 0\n },\n icon: {\n icon: {\n fontSize: 24\n }\n } as WmIconStyles\n } as WmButtonStyles);\n addStyle('mini-fab-btn', 'fab-btn', {\n root : {\n width: 40,\n height: 40\n }\n } as WmButtonStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AAWxF,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA6B,GAAGL,YAAY,CAAiB;IAC/DM,IAAI,EAAE;MACFC,SAAS,EAAE,EAAE;MACbC,YAAY,EAAE,EAAE;MAChBC,UAAU,EAAE,EAAE;MACdC,aAAa,EAAE,EAAE;MACjBC,WAAW,EAAE,EAAE;MACfC,YAAY,EAAE,EAAE;MAChBC,SAAS,EAAE,YAAY;MACvBC,WAAW,EAAEX,cAAc,CAACW,WAAW;MACvCC,MAAM,EAAE;IACZ,CAAC;IACDC,OAAO,EAAE;MACPC,aAAa,EAAE,KAAK;MACpBC,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE;IAClB,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,UAAU,E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IACF;EACF,CAAmB,CAAC;EACpBjB,QAAQ,CAAC,cAAc,EAAE,SAAS,EAAE;IAClCE,IAAI,EAAG;MACLkC,KAAK,EAAE,EAAE;MACTzB,MAAM,EAAE;IACV;EACF,CAAmB,CAAC;AACtB,CAAC,CAAC"}
@@ -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
  }
@@ -55,13 +55,14 @@ export default class WmLabel extends BaseComponent {
55
55
  return [];
56
56
  }
57
57
  caption += '';
58
+ caption = caption.replace(/\s*\(\s*\$event,\s*\$widget\s*\)\s*/, '');
58
59
  caption = caption.replace(/\(\s*\)/, '(#/__EMPTY__)');
59
60
  const pattern = /\[([^\]]+)\]\(([^)]*)\)/g;
60
- const linkRegex = /^(((http|https):\/\/)|#)[^ "]+$/;
61
+ const linkRegex = /^(((http|https):\/\/)|javascript:|#).+$/;
61
62
  const captionSplit = caption.split(pattern);
62
63
  let parts = [];
63
64
  for (let i = 0; i < captionSplit.length; i++) {
64
- const isLink = captionSplit[i] === "" || linkRegex.test(captionSplit[i]);
65
+ const isLink = linkRegex.test(captionSplit[i]);
65
66
  let part = {};
66
67
  const isNextTextALink = linkRegex.test(captionSplit[i + 1]);
67
68
  if (isLink) {
@@ -103,18 +104,18 @@ export default class WmLabel extends BaseComponent {
103
104
  entryanimation: props.animation,
104
105
  style: this.styles.root
105
106
  }, this._background, /*#__PURE__*/React.createElement(NavigationServiceConsumer, null, navigationService => {
106
- var _this$state$parts;
107
+ var _this$state$parts, _this$state$parts2;
107
108
  return /*#__PURE__*/React.createElement(Tappable, {
108
109
  target: this
109
110
  }, /*#__PURE__*/React.createElement(Text, _extends({
110
- style: {
111
+ style: this.state.parts.length <= 1 ? this.styles.text : {
111
112
  flexWrap: "wrap",
112
113
  textAlign: this.styles.text.textAlign
113
114
  }
114
115
  }, this.state.parts.length <= 1 ? this.getTestPropsForLabel('caption') : {}, {
115
116
  numberOfLines: props.nooflines,
116
117
  ellipsizeMode: "tail"
117
- }), (_this$state$parts = this.state.parts) === null || _this$state$parts === void 0 ? void 0 : _this$state$parts.map((part, index) => {
118
+ }), ((_this$state$parts = this.state.parts) === null || _this$state$parts === void 0 ? void 0 : _this$state$parts.length) === 1 ? this.state.props.caption : (_this$state$parts2 = this.state.parts) === null || _this$state$parts2 === void 0 ? void 0 : _this$state$parts2.map((part, index) => {
118
119
  const isLink = !isNil(part.link);
119
120
  return /*#__PURE__*/React.createElement(Text, _extends({
120
121
  key: `part_${index}`,
@@ -122,12 +123,19 @@ export default class WmLabel extends BaseComponent {
122
123
  color: 'red'
123
124
  }]
124
125
  }, this.getTestPropsForLabel(isLink ? `link_${index}` : `caption_${index}`), {
125
- selectable: this.styles.text.userSelect === 'text'
126
- }, part.link ? {
126
+ selectable: this.styles.text.userSelect === 'text',
127
127
  onPress: () => {
128
- part.link && navigationService.openUrl(part.link, '_blank');
128
+ if (part.link) {
129
+ if (part.link.startsWith('http:') || part.link.startsWith('https:') || part.link.startsWith('#')) {
130
+ navigationService.openUrl(part.link, '_blank');
131
+ } else if (part.link.startsWith('javascript:')) {
132
+ const eventName = part.link.substring(11);
133
+ this.invokeEventCallback(eventName, [null, this.proxy]);
134
+ }
135
+ }
136
+ this.invokeEventCallback('onTap', [null, this.proxy]);
129
137
  }
130
- } : {}, getAccessibilityProps(AccessibilityWidgetType.LABEL, props)), toString(part.text), props.required && this.getAsterisk());
138
+ }, getAccessibilityProps(AccessibilityWidgetType.LABEL, props)), toString(part.text), props.required && this.getAsterisk());
131
139
  })));
132
140
  })) : null;
133
141
  }
@@ -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;AAC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,GAE9DR,QAAQ,CAACuC,IAAI,CAACE,IAAI,CAAC,EACnBjC,KAAK,CAAC+E,QAAQ,IAAI,IAAI,CAAC9E,WAAW,CAAC,CAChC,CAAC;MAEX,CAAC,CACG,CACE,CAAC;IAAC,CACa,CACf,CAAC,GACb,IAAI;EACV;AACF"}
@@ -22,6 +22,7 @@ export class WmSearchState extends BaseDatasetState {
22
22
  super(...arguments);
23
23
  _defineProperty(this, "isOpened", false);
24
24
  _defineProperty(this, "modalOptions", {});
25
+ _defineProperty(this, "template", "");
25
26
  _defineProperty(this, "position", {
26
27
  top: 0,
27
28
  left: 0
@@ -351,14 +352,14 @@ export default class WmSearch extends BaseDatasetComponent {
351
352
  onTap: this.onItemSelect.bind(this, item)
352
353
  }, this.getTestProps(`action${index}`)), /*#__PURE__*/React.createElement(View, {
353
354
  style: this.styles.searchItem
354
- }, /*#__PURE__*/React.createElement(WmPicture, {
355
+ }, !isEmpty(this.state.template) && this.props.renderitempartial ? this.props.renderitempartial(item.dataObject, index, this.state.template) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(WmPicture, {
355
356
  id: this.getTestId(`picture${index}`),
356
357
  styles: imageStyles,
357
358
  name: props.name + '_image',
358
359
  picturesource: item.imgSrc
359
360
  }), /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForLabel(index + ''), {
360
361
  style: this.styles.searchItemText
361
- }), item.displayexp || item.displayfield)));
362
+ }), item.displayexp || item.displayfield))));
362
363
  }
363
364
  updateDefaultQueryModel() {
364
365
  if (this.state.dataItems && this.state.dataItems.length && this.isDefaultQuery) {
@@ -394,6 +395,11 @@ export default class WmSearch extends BaseDatasetComponent {
394
395
  }
395
396
  super.onPropertyChange(name, $new, $old);
396
397
  }
398
+ setTemplate(partialName) {
399
+ this.updateState({
400
+ template: partialName
401
+ });
402
+ }
397
403
  renderWidget(props) {
398
404
  const result = this.state.data;
399
405
  return /*#__PURE__*/React.createElement(View, null, this.renderSearchBar(), this.state.isOpened ? /*#__PURE__*/React.createElement(ModalConsumer, null, modalService => {
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Keyboard","Platform","ScrollView","Text","TextInput","View","find","isNull","WmSearchProps","DEFAULT_CLASS","ModalConsumer","DataProvider","AccessibilityWidgetType","getAccessibilityProps","BaseDatasetComponent","BaseDatasetState","WmAnchor","WmPicture","Tappable","WmButton","get","isArray","isEmpty","isObject","AssetProvider","WmSearchState","constructor","arguments","_defineProperty","top","left","WmSearch","props","_this","this","Promise","resolve","position","view","measure","x","length","undefined","y","width","height","px","py","updateState","computePosition","then","isOpened","dataProvider","datavalue","query","clearSearch","invokeEventCallback","hide","dataItems","state","map","item","selected","type","updateFilteredData","_filteredData","queryText","filterOptions","entries","filteredData","minchars","_this$dataProvider","searchkey","updateRequired","init","invokeVariable","response","dataSet","setDataItems","filter","result","dataObject","data","isFocused","showPopover","focus","_this$widgetRef","widgetRef","onChange","value","isDefaultQuery","prevQuery","searchon","validate","invokeEvent","proxy","invokeChange","e","OS","cursor","target","selectionStart","onFocus","disabled","_this$state$props$que","onBlur","setTimeout","triggerValidation","prepareModalOptions","content","styles","modalService","o","modalOptions","modalContentSTyles","searchInputWidth","modalContent","borderWidth","modalStyle","modal","contentStyle","isModal","onClose","dismiss","setState","hideModal","searchIconPress","onItemSelect","displayexp","displayfield","datafield","updateDatavalue","prevDatavalue","queryModel","renderSearchBar","_this$state$dataItems","opts","valueExpr","createElement","style","root","ref","onLayout","searchInputWrapper","_extends","text","isValid","invalid","focusedText","selectionEnd","getTestPropsForInput","SEARCH","placeholderTextColor","placeholderText","color","placeholder","autoFocus","autofocus","editable","readonly","onChangeText","bind","nativeEvent","layout","showclear","onTap","id","getTestId","clearButton","iconclass","showSearchIcon","searchButton","reset","renderSearchItem","index","imageStyles","imagewidth","getTestProps","searchItem","template","renderitempartial","Fragment","name","picturesource","imgSrc","getTestPropsForLabel","searchItemText","updateDefaultQueryModel","selectedItem","onDataItemsUpdate","componentDidMount","onPropertyChange","$new","$old","dataset","setTemplate","partialName","renderWidget","showModal","maxHeight","contentContainerStyle","dropDownContent","loadAsset","key","limit","caption","datacompletemsg","dataCompleteItem"],"sources":["search.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Keyboard, Platform, ScrollView, Text, TextInput, View } from 'react-native';\nimport { find, isNull } from 'lodash';\n\nimport WmSearchProps from './search.props';\nimport { DEFAULT_CLASS, WmSearchStyles } from './search.styles';\nimport { ModalConsumer, ModalOptions, ModalService} from \"@wavemaker/app-rn-runtime/core/modal.service\";\nimport { DataProvider } from '@wavemaker/app-rn-runtime/components/basic/search/local-data-provider';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \n\nimport {\n BaseDatasetComponent,\n BaseDatasetState\n} from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.component';\nimport WmAnchor from '@wavemaker/app-rn-runtime/components/basic/anchor/anchor.component';\nimport WmPicture from '@wavemaker/app-rn-runtime/components/basic/picture/picture.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\nimport { get, isArray, isEmpty, isObject } from \"lodash-es\";\nimport { AssetProvider } from '@wavemaker/app-rn-runtime/core/asset.provider';\n\nexport class WmSearchState extends BaseDatasetState<WmSearchProps> {\n isOpened: boolean = false;\n modalOptions = {} as ModalOptions;\n template: string = \"\";\n position = {\n top: 0,\n left: 0\n } as DropdownPosition;\n data: any = [];\n}\n\nexport interface DropdownPosition {\n top?: number;\n bottom?: number;\n left?: number;\n right?: number;\n}\n\nexport default class WmSearch extends BaseDatasetComponent<WmSearchProps, WmSearchState, WmSearchStyles> {\n view: View = null as any;\n private prevDatavalue: any;\n private queryModel: any;\n private searchInputWidth: any;\n private isDefaultQuery: boolean = true;\n private dataProvider: DataProvider;\n public widgetRef: TextInput | null = null;\n private cursor: any = 0;\n private isFocused: boolean = false;\n private updateRequired: any;\n\n constructor(props: WmSearchProps) {\n super(props, DEFAULT_CLASS, new WmSearchProps(), new WmSearchState());\n this.dataProvider = new DataProvider();\n if (this.props.datavalue) {\n this.updateState({\n props: {\n query: this.props.datavalue\n }\n } as WmSearchState);\n }\n }\n\n computePosition = () => {\n return new Promise<void>((resolve) => {\n const position = {} as DropdownPosition;\n this.view.measure((x = 0, y = 0, width = 0, height = 0, px = 0, py = 0) => {\n position.left = px;\n position.top = py + height;\n this.updateState({ position: position } as WmSearchState, resolve);\n });\n });\n }\n\n clearSearch() {\n this.invokeEventCallback('onClear', [null, this]);\n this.hide();\n this.updateState({\n props: {\n query: ''\n },\n dataItems: this.state.dataItems ? this.state.dataItems.map((item: any) => {\n item.selected = false;\n return item;\n }) : []\n } as WmSearchState, () => {\n if (this.state.props.type === 'autocomplete') {\n this.updateFilteredData('');\n }\n });\n }\n\n updateFilteredData(queryText: string = '') {\n const props = this.state.props;\n const filterOptions = {\n query: queryText,\n props: props,\n entries: this.state.dataItems\n };\n let filteredData: Array<any> = [];\n if (props.minchars && queryText.length < props.minchars) {\n filteredData = [];\n } else if (props.type === 'search' && !queryText) {\n filteredData = [];\n } else {\n if (this.props.searchkey && this.updateRequired === undefined) {\n this.updateRequired = this.dataProvider.init(this);\n }\n // for service variables invoke the variable with params.\n if (this.props.searchkey && this.updateRequired && this.state.props.query !== queryText) {\n this.dataProvider.invokeVariable(this, queryText).then((response: any) => {\n if (response) {\n response = response.dataSet;\n if (isEmpty(response)) {\n filteredData = [];\n } else {\n if (isObject(response) && !isArray(response)) {\n response = [response];\n }\n this.setDataItems(response);\n }\n }\n }, () => {});\n return;\n }\n filteredData = this.dataProvider?.filter(filterOptions);\n }\n this.updateState({\n props: { result: filteredData?.map( (item: any) => item.dataObject), query: queryText },\n data: filteredData,\n } as WmSearchState);\n if (!this.state.isOpened && this.isFocused) {\n this.showPopover && this.showPopover();\n }\n }\n\n focus() {\n this?.widgetRef?.focus();\n }\n\n onChange(value: any) {\n this.isDefaultQuery = false;\n const prevQuery = this.state.props.query;\n if (this.state.props.searchon === 'onsearchiconclick') {\n this.updateState({\n props: {result: [], query: value},\n data: []\n } as WmSearchState);\n } else {\n this.updateFilteredData(value);\n }\n if (value === '') {\n this.validate(value);\n this.updateState({\n props: {\n datavalue: '',\n },\n } as WmSearchState);\n if (value === prevQuery) {\n return;\n }\n }\n if (this.props.invokeEvent) {\n this.props.invokeEvent('onChange', [undefined, this.proxy, value, prevQuery]);\n }\n this.invokeEventCallback('onChange', [ undefined, this.proxy, value, prevQuery ]);\n }\n\n invokeChange(e: any) {\n if (Platform.OS === 'web') {\n this.cursor = e.target.selectionStart;\n this.updateState({ props: { query: e.target.value } } as WmSearchState);\n }\n }\n\n onFocus() {\n this.isFocused = true;\n if (!this.state.props.disabled && this.state.props.type === 'autocomplete') {\n this.cursor = this.state.props.query?.length || 0;\n this.updateFilteredData(this.state.props.query || '');\n }\n this.invokeEventCallback('onFocus', [null, this]);\n }\n\n onBlur() {\n this.isFocused = false;\n this.validate(this.state.props.datavalue);\n if (!this.state.props.datavalue) {\n setTimeout(() => {\n this.props.triggerValidation && this.props.triggerValidation();\n })\n }\n this.invokeEventCallback('onBlur', [null, this]);\n }\n\n public showPopover = () => {\n this.computePosition().then(() => {\n this.updateState({ isOpened: true } as WmSearchState);\n });\n };\n\n public hide = () => {};\n\n prepareModalOptions(content: React.ReactNode, styles: WmSearchStyles, modalService: ModalService) {\n const o = this.state.modalOptions;\n const modalContentSTyles = {\n width: this.searchInputWidth - 2 * (styles.modalContent.borderWidth || 0),\n left: (this.state.position.left || 0) + 2 * (styles.modalContent.borderWidth || 0) };\n o.modalStyle = {...styles.modal};\n o.contentStyle = {...styles.modalContent, ...this.state.position, ...modalContentSTyles};\n o.content = content;\n o.isModal = true;\n o.onClose = () => {\n this.hide = () => {};\n Keyboard.dismiss();\n if (this.state.isOpened) {\n this.setState({isOpened: false, modalOptions: {} as ModalOptions} as WmSearchState);\n }\n };\n this.hide = () => {\n modalService.hideModal(this.state.modalOptions);\n if (this.state.isOpened) {\n this.setState({ isOpened: false, modalOptions: {} as ModalOptions } as WmSearchState);\n }\n }\n return o;\n }\n\n searchIconPress() {\n this.isFocused = false;\n if (this.state.props.searchon === 'onsearchiconclick') {\n this.updateFilteredData(this.state.props.query);\n } else {\n this.onItemSelect(this.state.data[0]);\n }\n }\n\n onItemSelect(item: any) {\n this.isFocused = false;\n this.updateState({ props: {\n query: item.displayexp || item.displayfield\n }\n } as WmSearchState);\n this.validate(item.datafield);\n this.updateDatavalue(item.datafield);\n this.prevDatavalue = item.datafield;\n this.queryModel = item;\n if (get(this.props, 'formfield')) {\n // @ts-ignore\n this.props.invokeEvent('onSelect', [null, this, item.datafield]);\n // @ts-ignore\n this.props.invokeEvent('onSubmit', [null, this]);\n } else {\n this.invokeEventCallback('onSelect', [null, this, item.datafield]);\n this.invokeEventCallback('onSubmit', [null, this]);\n }\n this.hide();\n }\n\n renderSearchBar() {\n const props = this.state.props;\n let opts: any = {};\n const valueExpr = Platform.OS === 'web' ? 'value' : 'defaultValue';\n opts[valueExpr] = this.state.props.query || '';\n return(\n /*\n * onLayout function is required.\n * https://github.com/naoufal/react-native-accordion/pull/19/files\n */\n <View style={this.styles.root} ref={ref => {this.view = ref as View}} onLayout={() => {}}>\n <View style={this.styles.searchInputWrapper}>\n <TextInput style={[this.styles.text, this.state.isValid ? {} : this.styles.invalid, this.state.isOpened && this.state.dataItems?.length > 0? this.styles.focusedText : null]}\n ref={ref => {this.widgetRef = ref;\n // @ts-ignore\n if (ref && !isNull(ref.selectionStart) && !isNull(ref.selectionEnd)) {\n // @ts-ignore\n ref.selectionStart = ref.selectionEnd = this.cursor;\n }}}\n {...this.getTestPropsForInput()}\n {...getAccessibilityProps(AccessibilityWidgetType.SEARCH, props)}\n placeholderTextColor={this.styles.placeholderText.color as any}\n placeholder={props.placeholder || 'Search'}\n autoFocus={props.autofocus}\n editable={props.disabled || props.readonly ? false : true}\n onChangeText={this.onChange.bind(this)}\n onChange={this.invokeChange.bind(this)}\n onFocus={this.onFocus.bind(this)}\n onLayout={e => {this.searchInputWidth = e.nativeEvent.layout.width}}\n onBlur={this.onBlur.bind(this)}\n {...opts}>\n </TextInput>\n {props.showclear && this.state.props.query ? <WmButton onTap={this.clearSearch.bind(this)}\n id={this.getTestId('clear')}\n styles={this.styles.clearButton} iconclass={'wi wi-clear'}></WmButton> : null}\n </View>\n {props.showSearchIcon && props.type === 'search' ? <WmButton styles={this.styles.searchButton}\n id={this.getTestId('search')}\n iconclass={'wm-sl-l sl-search'} onTap={this.searchIconPress.bind(this)}></WmButton> : null}\n </View>\n );\n }\n\n reset() {\n if (this.state.props.query) {\n this.updateState({\n props: {\n query: ''\n }\n } as WmSearchState);\n }\n }\n\n renderSearchItem(item: any, index: number) {\n const props = this.state.props;\n const imageStyles = { root: {height:props.imagewidth, width:props.imagewidth}}\n return (\n <Tappable onTap={this.onItemSelect.bind(this, item)} {...this.getTestProps(`action${index}`)}>\n <View style={this.styles.searchItem}>\n {!isEmpty(this.state.template) && this.props.renderitempartial ?\n this.props.renderitempartial(item.dataObject, index, this.state.template) : (<>\n <WmPicture id={this.getTestId(`picture${index}`)} styles={imageStyles} name={props.name + '_image'} picturesource={item.imgSrc}></WmPicture>\n <Text {...this.getTestPropsForLabel(index + '')} style={this.styles.searchItemText}>{item.displayexp || item.displayfield}</Text>\n </>)}\n </View>\n </Tappable>\n );\n }\n\n updateDefaultQueryModel() {\n if (this.state.dataItems && this.state.dataItems.length && this.isDefaultQuery) {\n const selectedItem = find(this.state.dataItems, (item) => item.selected);\n this.updateState({ props: {\n query: selectedItem ? (selectedItem.displayexp || selectedItem.displayfield) : ''\n }\n } as WmSearchState);\n }\n }\n\n onDataItemsUpdate() {\n super.onDataItemsUpdate();\n this.isFocused && this.state.dataItems.length && this.updateFilteredData(this.state.props.query);\n this.updateDefaultQueryModel();\n }\n\n componentDidMount(): void {\n super.componentDidMount();\n this.updateDefaultQueryModel();\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch (name) {\n case 'dataset':\n if (!isEmpty($new) && isObject($new) && !isArray($new)) {\n $new = [$new];\n this.updateState({\n props: {\n dataset: $new\n }\n } as WmSearchState);\n }\n break;\n }\n super.onPropertyChange(name, $new, $old);\n }\n\n setTemplate(partialName: any) {\n this.updateState({ template: partialName} as WmSearchState);\n }\n\n renderWidget(props: WmSearchProps) {\n const result = this.state.data;\n return (\n <View>\n {this.renderSearchBar()}\n {this.state.isOpened ? (\n <ModalConsumer>\n {(modalService: ModalService) => {\n modalService.showModal(this.prepareModalOptions((\n <ScrollView style={{width: '100%', maxHeight: 200}} contentContainerStyle={this.styles.dropDownContent}>\n <AssetProvider value={this.loadAsset}>\n {result && result.map((item: any, index: any) => (\n <View key={item.key}>\n {\n (!props.limit) || (props.limit && index+1 <= props.limit) ?\n this.renderSearchItem(item, index)\n : null\n }\n {\n index === result.length - 1 ?\n <WmAnchor caption={props.datacompletemsg} styles={this.styles.dataCompleteItem}></WmAnchor> : null\n }\n </View>\n ))}\n </AssetProvider>\n </ScrollView>\n ), this.styles, modalService));\n return null;\n }}\n </ModalConsumer>) : null}\n </View>\n\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,UAAU,EAAEC,IAAI,EAAEC,SAAS,EAAEC,IAAI,QAAQ,cAAc;AACpF,SAASC,IAAI,EAAEC,MAAM,QAAQ,QAAQ;AAErC,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,SAASC,aAAa,QAAmC,8CAA8C;AACvG,SAASC,YAAY,QAAQ,uEAAuE;AACpG,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,SACEC,oBAAoB,EACpBC,gBAAgB,QACX,8EAA8E;AACrF,OAAOC,QAAQ,MAAM,oEAAoE;AACzF,OAAOC,SAAS,MAAM,sEAAsE;AAC5F,SAASC,QAAQ,QAAQ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 export default class WmSearchProps extends BaseDatasetProps {
27
27
  _defineProperty(this, "accessibilitylabel", undefined);
28
28
  _defineProperty(this, "hint", undefined);
29
29
  _defineProperty(this, "accessibilityrole", 'search');
30
+ _defineProperty(this, "renderitempartial", void 0);
30
31
  }
31
32
  }
32
33
  //# sourceMappingURL=search.props.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["BaseDatasetProps","WmSearchProps","constructor","arguments","_defineProperty","undefined"],"sources":["search.props.ts"],"sourcesContent":["import BaseDatasetProps from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.props';\nimport {BaseComponent} from \"@wavemaker/app-rn-runtime/core/base.component\";\nimport { AccessibilityRole } from 'react-native';\n\nexport default class WmSearchProps extends BaseDatasetProps {\n autofocus: boolean = false;\n query?: string = '';\n searchkey?: any;\n type: 'search' | 'autocomplete' = 'search';\n datacompletemsg?: string = 'No more data to load';\n placeholder?: string = 'Search';\n limit?: number = null as any;\n minchars?: number = null as any;\n imagewidth?: any = 32;\n imageheight?: any = 32;\n searchon?: string = 'typing';\n onSubmit?: any;\n onChange?: Function = null as any;\n result?: any;\n showclear: boolean = false;\n showSearchIcon: boolean = true; // internal property\n invokeEvent?: Function;\n formFieldInstance?: BaseComponent<any, any, any>;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'search';\n}\n"],"mappings":";;;AAAA,OAAOA,gBAAgB,MAAM,0EAA0E;AAIvG,eAAe,MAAMC,aAAa,SAASD,gBAAgB,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBACrC,KAAK;IAAAA,eAAA,gBACT,EAAE;IAAAA,eAAA;IAAAA,eAAA,eAEe,QAAQ;IAAAA,eAAA,0BACf,sBAAsB;IAAAA,eAAA,sBAC1B,QAAQ;IAAAA,eAAA,gBACd,IAAI;IAAAA,eAAA,mBACD,IAAI;IAAAA,eAAA,qBACL,EAAE;IAAAA,eAAA,sBACD,EAAE;IAAAA,eAAA,mBACF,QAAQ;IAAAA,eAAA;IAAAA,eAAA,mBAEN,IAAI;IAAAA,eAAA;IAAAA,eAAA,oBAEL,KAAK;IAAAA,eAAA,yBACA,IAAI;IAAE;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,6BAGFC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,QAAQ;EAAA;AAClD"}
1
+ {"version":3,"names":["BaseDatasetProps","WmSearchProps","constructor","arguments","_defineProperty","undefined"],"sources":["search.props.ts"],"sourcesContent":["import BaseDatasetProps from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.props';\nimport {BaseComponent} from \"@wavemaker/app-rn-runtime/core/base.component\";\nimport { AccessibilityRole } from 'react-native';\n\nexport default class WmSearchProps extends BaseDatasetProps {\n autofocus: boolean = false;\n query?: string = '';\n searchkey?: any;\n type: 'search' | 'autocomplete' = 'search';\n datacompletemsg?: string = 'No more data to load';\n placeholder?: string = 'Search';\n limit?: number = null as any;\n minchars?: number = null as any;\n imagewidth?: any = 32;\n imageheight?: any = 32;\n searchon?: string = 'typing';\n onSubmit?: any;\n onChange?: Function = null as any;\n result?: any;\n showclear: boolean = false;\n showSearchIcon: boolean = true; // internal property\n invokeEvent?: Function;\n formFieldInstance?: BaseComponent<any, any, any>;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'search';\n renderitempartial?: (item: any, index: number, partialName: string)=> React.ReactNode;\n}\n"],"mappings":";;;AAAA,OAAOA,gBAAgB,MAAM,0EAA0E;AAIvG,eAAe,MAAMC,aAAa,SAASD,gBAAgB,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBACrC,KAAK;IAAAA,eAAA,gBACT,EAAE;IAAAA,eAAA;IAAAA,eAAA,eAEe,QAAQ;IAAAA,eAAA,0BACf,sBAAsB;IAAAA,eAAA,sBAC1B,QAAQ;IAAAA,eAAA,gBACd,IAAI;IAAAA,eAAA,mBACD,IAAI;IAAAA,eAAA,qBACL,EAAE;IAAAA,eAAA,sBACD,EAAE;IAAAA,eAAA,mBACF,QAAQ;IAAAA,eAAA;IAAAA,eAAA,mBAEN,IAAI;IAAAA,eAAA;IAAAA,eAAA,oBAEL,KAAK;IAAAA,eAAA,yBACA,IAAI;IAAE;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,6BAGFC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,QAAQ;IAAAA,eAAA;EAAA;AAElD"}
@@ -0,0 +1,79 @@
1
+ import React from 'react';
2
+ import { Animated, Text, View } from "react-native";
3
+ import { 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,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CACT;UACExB,MAAM,EAAEW,KAAK,CAACQ,SAAS,GACnBrB,eAAe,CAACa,KAAK,CAACQ,SAAS,CAAC,CAACnB,MAAM,GACvC;QACN,CAAC;MAEL,CAAC,EACDW,KAAK,CAACQ,SAAS,GACX;QAAE,GAAGrB,eAAe,CAACa,KAAK,CAACQ,SAAS,CAAC,CAAChB;MAAe,CAAC,GACtD;QAAEC,MAAM,EAAE,CAAC;MAAG,CAAC,EACnBO,KAAK,CAACc,oBAAoB,EAC1B;QAAEC,iBAAiB,EAAE,EAAAb,mBAAA,GAAAF,KAAK,CAACS,YAAY,cAAAP,mBAAA,uBAAlBA,mBAAA,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"}
@@ -205,6 +205,7 @@ export class BaseChartComponent extends BaseComponent {
205
205
  const tooltipContainer = this.styles.tooltipContainer;
206
206
  const xaxis = props.xaxisdatakey;
207
207
  return /*#__PURE__*/React.createElement(VictoryVoronoiContainer, {
208
+ voronoiDimension: "x",
208
209
  labels: _ref => {
209
210
  let {
210
211
  datum