@wavemaker-ai/app-rn-runtime 1.0.0-rc.647469

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 (998) hide show
  1. package/actions/base-action.js +12 -0
  2. package/actions/base-action.js.map +1 -0
  3. package/actions/index.js +6 -0
  4. package/actions/index.js.map +1 -0
  5. package/actions/login-action.js +32 -0
  6. package/actions/login-action.js.map +1 -0
  7. package/actions/logout-action.js +22 -0
  8. package/actions/logout-action.js.map +1 -0
  9. package/actions/navigation-action.js +44 -0
  10. package/actions/navigation-action.js.map +1 -0
  11. package/actions/notification-action.js +76 -0
  12. package/actions/notification-action.js.map +1 -0
  13. package/actions/timer-action.js +57 -0
  14. package/actions/timer-action.js.map +1 -0
  15. package/components/advanced/carousel/carousel-content/carousel-content.component.js +17 -0
  16. package/components/advanced/carousel/carousel-content/carousel-content.component.js.map +1 -0
  17. package/components/advanced/carousel/carousel-content/carousel-content.props.js +11 -0
  18. package/components/advanced/carousel/carousel-content/carousel-content.props.js.map +1 -0
  19. package/components/advanced/carousel/carousel-content/carousel-content.styles.js +17 -0
  20. package/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +1 -0
  21. package/components/advanced/carousel/carousel-template/carousel-template.component.js +20 -0
  22. package/components/advanced/carousel/carousel-template/carousel-template.component.js.map +1 -0
  23. package/components/advanced/carousel/carousel-template/carousel-template.props.js +11 -0
  24. package/components/advanced/carousel/carousel-template/carousel-template.props.js.map +1 -0
  25. package/components/advanced/carousel/carousel-template/carousel-template.styles.js +16 -0
  26. package/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +1 -0
  27. package/components/advanced/carousel/carousel.component.js +378 -0
  28. package/components/advanced/carousel/carousel.component.js.map +1 -0
  29. package/components/advanced/carousel/carousel.props.js +23 -0
  30. package/components/advanced/carousel/carousel.props.js.map +1 -0
  31. package/components/advanced/carousel/carousel.styles.js +179 -0
  32. package/components/advanced/carousel/carousel.styles.js.map +1 -0
  33. package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.js +14 -0
  34. package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.js.map +1 -0
  35. package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js +11 -0
  36. package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js.map +1 -0
  37. package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.js +14 -0
  38. package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.js.map +1 -0
  39. package/components/advanced/login/login.component.js +40 -0
  40. package/components/advanced/login/login.component.js.map +1 -0
  41. package/components/advanced/login/login.props.js +13 -0
  42. package/components/advanced/login/login.props.js.map +1 -0
  43. package/components/advanced/login/login.styles.js +31 -0
  44. package/components/advanced/login/login.styles.js.map +1 -0
  45. package/components/advanced/network-info-toaster/network-info-toaster.component.js +118 -0
  46. package/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -0
  47. package/components/advanced/network-info-toaster/network-info-toaster.props.js +11 -0
  48. package/components/advanced/network-info-toaster/network-info-toaster.props.js.map +1 -0
  49. package/components/advanced/network-info-toaster/network-info-toaster.styles.js +33 -0
  50. package/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +1 -0
  51. package/components/advanced/webview/webview.component.js +160 -0
  52. package/components/advanced/webview/webview.component.js.map +1 -0
  53. package/components/advanced/webview/webview.props.js +16 -0
  54. package/components/advanced/webview/webview.props.js.map +1 -0
  55. package/components/advanced/webview/webview.styles.js +18 -0
  56. package/components/advanced/webview/webview.styles.js.map +1 -0
  57. package/components/basic/anchor/anchor.component.js +124 -0
  58. package/components/basic/anchor/anchor.component.js.map +1 -0
  59. package/components/basic/anchor/anchor.props.js +34 -0
  60. package/components/basic/anchor/anchor.props.js.map +1 -0
  61. package/components/basic/anchor/anchor.styles.js +108 -0
  62. package/components/basic/anchor/anchor.styles.js.map +1 -0
  63. package/components/basic/animatedview.component.js +226 -0
  64. package/components/basic/animatedview.component.js.map +1 -0
  65. package/components/basic/audio/audio.component.js +257 -0
  66. package/components/basic/audio/audio.component.js.map +1 -0
  67. package/components/basic/audio/audio.props.js +15 -0
  68. package/components/basic/audio/audio.props.js.map +1 -0
  69. package/components/basic/audio/audio.styles.js +68 -0
  70. package/components/basic/audio/audio.styles.js.map +1 -0
  71. package/components/basic/bottomsheet/bottomsheet.component.js +772 -0
  72. package/components/basic/bottomsheet/bottomsheet.component.js.map +1 -0
  73. package/components/basic/bottomsheet/bottomsheet.props.js +26 -0
  74. package/components/basic/bottomsheet/bottomsheet.props.js.map +1 -0
  75. package/components/basic/bottomsheet/bottomsheet.styles.js +88 -0
  76. package/components/basic/bottomsheet/bottomsheet.styles.js.map +1 -0
  77. package/components/basic/button/button.component.js +124 -0
  78. package/components/basic/button/button.component.js.map +1 -0
  79. package/components/basic/button/button.props.js +28 -0
  80. package/components/basic/button/button.props.js.map +1 -0
  81. package/components/basic/button/button.styles.js +132 -0
  82. package/components/basic/button/button.styles.js.map +1 -0
  83. package/components/basic/buttongroup/buttongroup.component.js +28 -0
  84. package/components/basic/buttongroup/buttongroup.component.js.map +1 -0
  85. package/components/basic/buttongroup/buttongroup.props.js +14 -0
  86. package/components/basic/buttongroup/buttongroup.props.js.map +1 -0
  87. package/components/basic/buttongroup/buttongroup.styles.js +59 -0
  88. package/components/basic/buttongroup/buttongroup.styles.js.map +1 -0
  89. package/components/basic/custom/custom.component.js +26 -0
  90. package/components/basic/custom/custom.component.js.map +1 -0
  91. package/components/basic/custom/custom.props.js +16 -0
  92. package/components/basic/custom/custom.props.js.map +1 -0
  93. package/components/basic/custom/custom.styles.js +18 -0
  94. package/components/basic/custom/custom.styles.js.map +1 -0
  95. package/components/basic/icon/icon.component.js +270 -0
  96. package/components/basic/icon/icon.component.js.map +1 -0
  97. package/components/basic/icon/icon.props.js +28 -0
  98. package/components/basic/icon/icon.props.js.map +1 -0
  99. package/components/basic/icon/icon.styles.js +38 -0
  100. package/components/basic/icon/icon.styles.js.map +1 -0
  101. package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +245 -0
  102. package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +1 -0
  103. package/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
  104. package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +217 -0
  105. package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +1 -0
  106. package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
  107. package/components/basic/icon/wavicon/wavicon.component.js +1161 -0
  108. package/components/basic/icon/wavicon/wavicon.component.js.map +1 -0
  109. package/components/basic/icon/wavicon/wavicon.ttf +0 -0
  110. package/components/basic/label/label.component.js +406 -0
  111. package/components/basic/label/label.component.js.map +1 -0
  112. package/components/basic/label/label.props.js +28 -0
  113. package/components/basic/label/label.props.js.map +1 -0
  114. package/components/basic/label/label.styles.js +146 -0
  115. package/components/basic/label/label.styles.js.map +1 -0
  116. package/components/basic/lottie/lottie.component.js +139 -0
  117. package/components/basic/lottie/lottie.component.js.map +1 -0
  118. package/components/basic/lottie/lottie.props.js +14 -0
  119. package/components/basic/lottie/lottie.props.js.map +1 -0
  120. package/components/basic/lottie/lottie.styles.js +15 -0
  121. package/components/basic/lottie/lottie.styles.js.map +1 -0
  122. package/components/basic/message/message.component.js +87 -0
  123. package/components/basic/message/message.component.js.map +1 -0
  124. package/components/basic/message/message.props.js +24 -0
  125. package/components/basic/message/message.props.js.map +1 -0
  126. package/components/basic/message/message.styles.js +116 -0
  127. package/components/basic/message/message.styles.js.map +1 -0
  128. package/components/basic/modal/modal.component.js +24 -0
  129. package/components/basic/modal/modal.component.js.map +1 -0
  130. package/components/basic/modal/modal.props.js +12 -0
  131. package/components/basic/modal/modal.props.js.map +1 -0
  132. package/components/basic/modal/modal.styles.js +29 -0
  133. package/components/basic/modal/modal.styles.js.map +1 -0
  134. package/components/basic/picture/picture.component.js +321 -0
  135. package/components/basic/picture/picture.component.js.map +1 -0
  136. package/components/basic/picture/picture.props.js +25 -0
  137. package/components/basic/picture/picture.props.js.map +1 -0
  138. package/components/basic/picture/picture.styles.js +43 -0
  139. package/components/basic/picture/picture.styles.js.map +1 -0
  140. package/components/basic/progress-bar/progress-bar.component.js +96 -0
  141. package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
  142. package/components/basic/progress-bar/progress-bar.props.js +19 -0
  143. package/components/basic/progress-bar/progress-bar.props.js.map +1 -0
  144. package/components/basic/progress-bar/progress-bar.styles.js +45 -0
  145. package/components/basic/progress-bar/progress-bar.styles.js.map +1 -0
  146. package/components/basic/progress-circle/progress-circle.component.js +79 -0
  147. package/components/basic/progress-circle/progress-circle.component.js.map +1 -0
  148. package/components/basic/progress-circle/progress-circle.props.js +19 -0
  149. package/components/basic/progress-circle/progress-circle.props.js.map +1 -0
  150. package/components/basic/progress-circle/progress-circle.styles.js +82 -0
  151. package/components/basic/progress-circle/progress-circle.styles.js.map +1 -0
  152. package/components/basic/search/local-data-provider.js +113 -0
  153. package/components/basic/search/local-data-provider.js.map +1 -0
  154. package/components/basic/search/search.component.js +456 -0
  155. package/components/basic/search/search.component.js.map +1 -0
  156. package/components/basic/search/search.props.js +39 -0
  157. package/components/basic/search/search.props.js.map +1 -0
  158. package/components/basic/search/search.styles.js +187 -0
  159. package/components/basic/search/search.styles.js.map +1 -0
  160. package/components/basic/skeleton/skeleton.component.js +151 -0
  161. package/components/basic/skeleton/skeleton.component.js.map +1 -0
  162. package/components/basic/skeleton/skeleton.props.js +11 -0
  163. package/components/basic/skeleton/skeleton.props.js.map +1 -0
  164. package/components/basic/skeleton/skeleton.styles.js +41 -0
  165. package/components/basic/skeleton/skeleton.styles.js.map +1 -0
  166. package/components/basic/spinner/spinner.component.js +99 -0
  167. package/components/basic/spinner/spinner.component.js.map +1 -0
  168. package/components/basic/spinner/spinner.props.js +17 -0
  169. package/components/basic/spinner/spinner.props.js.map +1 -0
  170. package/components/basic/spinner/spinner.styles.js +41 -0
  171. package/components/basic/spinner/spinner.styles.js.map +1 -0
  172. package/components/basic/tooltip/tooltip.component.js +80 -0
  173. package/components/basic/tooltip/tooltip.component.js.map +1 -0
  174. package/components/basic/tooltip/tooltip.props.js +18 -0
  175. package/components/basic/tooltip/tooltip.props.js.map +1 -0
  176. package/components/basic/tooltip/tooltip.styles.js +49 -0
  177. package/components/basic/tooltip/tooltip.styles.js.map +1 -0
  178. package/components/basic/video/video.component.js +206 -0
  179. package/components/basic/video/video.component.js.map +1 -0
  180. package/components/basic/video/video.props.js +33 -0
  181. package/components/basic/video/video.props.js.map +1 -0
  182. package/components/basic/video/video.styles.js +33 -0
  183. package/components/basic/video/video.styles.js.map +1 -0
  184. package/components/chart/area-chart/area-chart.component.js +159 -0
  185. package/components/chart/area-chart/area-chart.component.js.map +1 -0
  186. package/components/chart/area-chart/area-chart.props.js +12 -0
  187. package/components/chart/area-chart/area-chart.props.js.map +1 -0
  188. package/components/chart/area-chart/area-chart.styles.js +13 -0
  189. package/components/chart/area-chart/area-chart.styles.js.map +1 -0
  190. package/components/chart/bar-chart/bar-chart.component.js +144 -0
  191. package/components/chart/bar-chart/bar-chart.component.js.map +1 -0
  192. package/components/chart/bar-chart/bar-chart.props.js +15 -0
  193. package/components/chart/bar-chart/bar-chart.props.js.map +1 -0
  194. package/components/chart/bar-chart/bar-chart.styles.js +13 -0
  195. package/components/chart/bar-chart/bar-chart.styles.js.map +1 -0
  196. package/components/chart/basechart.component.js +709 -0
  197. package/components/chart/basechart.component.js.map +1 -0
  198. package/components/chart/basechart.props.js +65 -0
  199. package/components/chart/basechart.props.js.map +1 -0
  200. package/components/chart/basechart.styles.js +97 -0
  201. package/components/chart/basechart.styles.js.map +1 -0
  202. package/components/chart/bubble-chart/bubble-chart.component.js +113 -0
  203. package/components/chart/bubble-chart/bubble-chart.component.js.map +1 -0
  204. package/components/chart/bubble-chart/bubble-chart.props.js +11 -0
  205. package/components/chart/bubble-chart/bubble-chart.props.js.map +1 -0
  206. package/components/chart/bubble-chart/bubble-chart.styles.js +13 -0
  207. package/components/chart/bubble-chart/bubble-chart.styles.js.map +1 -0
  208. package/components/chart/column-chart/column-chart.component.js +8 -0
  209. package/components/chart/column-chart/column-chart.component.js.map +1 -0
  210. package/components/chart/column-chart/column-chart.props.js +3 -0
  211. package/components/chart/column-chart/column-chart.props.js.map +1 -0
  212. package/components/chart/column-chart/column-chart.styles.js +13 -0
  213. package/components/chart/column-chart/column-chart.styles.js.map +1 -0
  214. package/components/chart/donut-chart/donut-chart.component.js +7 -0
  215. package/components/chart/donut-chart/donut-chart.component.js.map +1 -0
  216. package/components/chart/donut-chart/donut-chart.props.js +11 -0
  217. package/components/chart/donut-chart/donut-chart.props.js.map +1 -0
  218. package/components/chart/donut-chart/donut-chart.styles.js +13 -0
  219. package/components/chart/donut-chart/donut-chart.styles.js.map +1 -0
  220. package/components/chart/legend/legend.component.js +36 -0
  221. package/components/chart/legend/legend.component.js.map +1 -0
  222. package/components/chart/line-chart/line-chart.component.js +119 -0
  223. package/components/chart/line-chart/line-chart.component.js.map +1 -0
  224. package/components/chart/line-chart/line-chart.props.js +14 -0
  225. package/components/chart/line-chart/line-chart.props.js.map +1 -0
  226. package/components/chart/line-chart/line-chart.styles.js +13 -0
  227. package/components/chart/line-chart/line-chart.styles.js.map +1 -0
  228. package/components/chart/pie-chart/pie-chart.component.js +251 -0
  229. package/components/chart/pie-chart/pie-chart.component.js.map +1 -0
  230. package/components/chart/pie-chart/pie-chart.props.js +14 -0
  231. package/components/chart/pie-chart/pie-chart.props.js.map +1 -0
  232. package/components/chart/pie-chart/pie-chart.styles.js +13 -0
  233. package/components/chart/pie-chart/pie-chart.styles.js.map +1 -0
  234. package/components/chart/stack-chart/stack-chart.component.js +368 -0
  235. package/components/chart/stack-chart/stack-chart.component.js.map +1 -0
  236. package/components/chart/stack-chart/stack-chart.props.js +17 -0
  237. package/components/chart/stack-chart/stack-chart.props.js.map +1 -0
  238. package/components/chart/stack-chart/stack-chart.styles.js +7 -0
  239. package/components/chart/stack-chart/stack-chart.styles.js.map +1 -0
  240. package/components/chart/staticdata.js +215 -0
  241. package/components/chart/staticdata.js.map +1 -0
  242. package/components/chart/theme/chart.theme.js +360 -0
  243. package/components/chart/theme/chart.theme.js.map +1 -0
  244. package/components/container/accordion/accordion.component.js +202 -0
  245. package/components/container/accordion/accordion.component.js.map +1 -0
  246. package/components/container/accordion/accordion.props.js +16 -0
  247. package/components/container/accordion/accordion.props.js.map +1 -0
  248. package/components/container/accordion/accordion.styles.js +148 -0
  249. package/components/container/accordion/accordion.styles.js.map +1 -0
  250. package/components/container/accordion/accordionpane/accordionpane.component.js +87 -0
  251. package/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -0
  252. package/components/container/accordion/accordionpane/accordionpane.props.js +17 -0
  253. package/components/container/accordion/accordionpane/accordionpane.props.js.map +1 -0
  254. package/components/container/accordion/accordionpane/accordionpane.styles.js +16 -0
  255. package/components/container/accordion/accordionpane/accordionpane.styles.js.map +1 -0
  256. package/components/container/container.component.js +194 -0
  257. package/components/container/container.component.js.map +1 -0
  258. package/components/container/container.props.js +18 -0
  259. package/components/container/container.props.js.map +1 -0
  260. package/components/container/container.styles.js +48 -0
  261. package/components/container/container.styles.js.map +1 -0
  262. package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +29 -0
  263. package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +1 -0
  264. package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +13 -0
  265. package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +1 -0
  266. package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +12 -0
  267. package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +1 -0
  268. package/components/container/layoutgrid/gridrow/gridrow.component.js +22 -0
  269. package/components/container/layoutgrid/gridrow/gridrow.component.js.map +1 -0
  270. package/components/container/layoutgrid/gridrow/gridrow.props.js +11 -0
  271. package/components/container/layoutgrid/gridrow/gridrow.props.js.map +1 -0
  272. package/components/container/layoutgrid/gridrow/gridrow.styles.js +42 -0
  273. package/components/container/layoutgrid/gridrow/gridrow.styles.js.map +1 -0
  274. package/components/container/layoutgrid/layoutgrid.component.js +44 -0
  275. package/components/container/layoutgrid/layoutgrid.component.js.map +1 -0
  276. package/components/container/layoutgrid/layoutgrid.props.js +11 -0
  277. package/components/container/layoutgrid/layoutgrid.props.js.map +1 -0
  278. package/components/container/layoutgrid/layoutgrid.styles.js +34 -0
  279. package/components/container/layoutgrid/layoutgrid.styles.js.map +1 -0
  280. package/components/container/linearlayout/linearlayout.component.js +70 -0
  281. package/components/container/linearlayout/linearlayout.component.js.map +1 -0
  282. package/components/container/linearlayout/linearlayout.props.js +15 -0
  283. package/components/container/linearlayout/linearlayout.props.js.map +1 -0
  284. package/components/container/linearlayout/linearlayout.styles.js +14 -0
  285. package/components/container/linearlayout/linearlayout.styles.js.map +1 -0
  286. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +25 -0
  287. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +1 -0
  288. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +13 -0
  289. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +1 -0
  290. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +11 -0
  291. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +1 -0
  292. package/components/container/panel/collapsible-pane.component.js +26 -0
  293. package/components/container/panel/collapsible-pane.component.js.map +1 -0
  294. package/components/container/panel/panel-content/panel-content.component.js +17 -0
  295. package/components/container/panel/panel-content/panel-content.component.js.map +1 -0
  296. package/components/container/panel/panel-content/panel-content.props.js +11 -0
  297. package/components/container/panel/panel-content/panel-content.props.js.map +1 -0
  298. package/components/container/panel/panel-content/panel-content.styles.js +16 -0
  299. package/components/container/panel/panel-content/panel-content.styles.js.map +1 -0
  300. package/components/container/panel/panel-footer/panel-footer.component.js +17 -0
  301. package/components/container/panel/panel-footer/panel-footer.component.js.map +1 -0
  302. package/components/container/panel/panel-footer/panel-footer.props.js +11 -0
  303. package/components/container/panel/panel-footer/panel-footer.props.js.map +1 -0
  304. package/components/container/panel/panel-footer/panel-footer.styles.js +19 -0
  305. package/components/container/panel/panel-footer/panel-footer.styles.js.map +1 -0
  306. package/components/container/panel/panel.component.js +163 -0
  307. package/components/container/panel/panel.component.js.map +1 -0
  308. package/components/container/panel/panel.props.js +26 -0
  309. package/components/container/panel/panel.props.js.map +1 -0
  310. package/components/container/panel/panel.styles.js +108 -0
  311. package/components/container/panel/panel.styles.js.map +1 -0
  312. package/components/container/partial-host.component.js +42 -0
  313. package/components/container/partial-host.component.js.map +1 -0
  314. package/components/container/tabs/tabheader/tabheader.component.js +240 -0
  315. package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
  316. package/components/container/tabs/tabheader/tabheader.props.js +18 -0
  317. package/components/container/tabs/tabheader/tabheader.props.js.map +1 -0
  318. package/components/container/tabs/tabheader/tabheader.styles.js +111 -0
  319. package/components/container/tabs/tabheader/tabheader.styles.js.map +1 -0
  320. package/components/container/tabs/tabpane/tabpane.component.js +82 -0
  321. package/components/container/tabs/tabpane/tabpane.component.js.map +1 -0
  322. package/components/container/tabs/tabpane/tabpane.props.js +19 -0
  323. package/components/container/tabs/tabpane/tabpane.props.js.map +1 -0
  324. package/components/container/tabs/tabpane/tabpane.styles.js +13 -0
  325. package/components/container/tabs/tabpane/tabpane.styles.js.map +1 -0
  326. package/components/container/tabs/tabs.component.js +299 -0
  327. package/components/container/tabs/tabs.component.js.map +1 -0
  328. package/components/container/tabs/tabs.props.js +16 -0
  329. package/components/container/tabs/tabs.props.js.map +1 -0
  330. package/components/container/tabs/tabs.styles.js +65 -0
  331. package/components/container/tabs/tabs.styles.js.map +1 -0
  332. package/components/container/tile/tile.component.js +54 -0
  333. package/components/container/tile/tile.component.js.map +1 -0
  334. package/components/container/tile/tile.props.js +13 -0
  335. package/components/container/tile/tile.props.js.map +1 -0
  336. package/components/container/tile/tile.styles.js +38 -0
  337. package/components/container/tile/tile.styles.js.map +1 -0
  338. package/components/container/wizard/wizard.component.js +550 -0
  339. package/components/container/wizard/wizard.component.js.map +1 -0
  340. package/components/container/wizard/wizard.props.js +31 -0
  341. package/components/container/wizard/wizard.props.js.map +1 -0
  342. package/components/container/wizard/wizard.styles.js +415 -0
  343. package/components/container/wizard/wizard.styles.js.map +1 -0
  344. package/components/container/wizard/wizardaction/wizardaction.component.js +17 -0
  345. package/components/container/wizard/wizardaction/wizardaction.component.js.map +1 -0
  346. package/components/container/wizard/wizardaction/wizardaction.props.js +11 -0
  347. package/components/container/wizard/wizardaction/wizardaction.props.js.map +1 -0
  348. package/components/container/wizard/wizardaction/wizardaction.styles.js +11 -0
  349. package/components/container/wizard/wizardaction/wizardaction.styles.js.map +1 -0
  350. package/components/container/wizard/wizardstep/wizardstep.component.js +92 -0
  351. package/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -0
  352. package/components/container/wizard/wizardstep/wizardstep.props.js +22 -0
  353. package/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -0
  354. package/components/container/wizard/wizardstep/wizardstep.styles.js +13 -0
  355. package/components/container/wizard/wizardstep/wizardstep.styles.js.map +1 -0
  356. package/components/data/card/card-content/card-content.component.js +46 -0
  357. package/components/data/card/card-content/card-content.component.js.map +1 -0
  358. package/components/data/card/card-content/card-content.props.js +12 -0
  359. package/components/data/card/card-content/card-content.props.js.map +1 -0
  360. package/components/data/card/card-content/card-content.styles.js +17 -0
  361. package/components/data/card/card-content/card-content.styles.js.map +1 -0
  362. package/components/data/card/card-footer/card-footer.component.js +18 -0
  363. package/components/data/card/card-footer/card-footer.component.js.map +1 -0
  364. package/components/data/card/card-footer/card-footer.props.js +11 -0
  365. package/components/data/card/card-footer/card-footer.props.js.map +1 -0
  366. package/components/data/card/card-footer/card-footer.styles.js +18 -0
  367. package/components/data/card/card-footer/card-footer.styles.js.map +1 -0
  368. package/components/data/card/card.component.js +92 -0
  369. package/components/data/card/card.component.js.map +1 -0
  370. package/components/data/card/card.props.js +27 -0
  371. package/components/data/card/card.props.js.map +1 -0
  372. package/components/data/card/card.styles.js +51 -0
  373. package/components/data/card/card.styles.js.map +1 -0
  374. package/components/data/form/form-action/form-action.component.js +35 -0
  375. package/components/data/form/form-action/form-action.component.js.map +1 -0
  376. package/components/data/form/form-action/form-action.props.js +18 -0
  377. package/components/data/form/form-action/form-action.props.js.map +1 -0
  378. package/components/data/form/form-action/form-action.styles.js +34 -0
  379. package/components/data/form/form-action/form-action.styles.js.map +1 -0
  380. package/components/data/form/form-body/form-body.component.js +20 -0
  381. package/components/data/form/form-body/form-body.component.js.map +1 -0
  382. package/components/data/form/form-body/form-body.props.js +11 -0
  383. package/components/data/form/form-body/form-body.props.js.map +1 -0
  384. package/components/data/form/form-body/form-body.styles.js +13 -0
  385. package/components/data/form/form-body/form-body.styles.js.map +1 -0
  386. package/components/data/form/form-field/form-field.component.js +257 -0
  387. package/components/data/form/form-field/form-field.component.js.map +1 -0
  388. package/components/data/form/form-field/form-field.props.js +35 -0
  389. package/components/data/form/form-field/form-field.props.js.map +1 -0
  390. package/components/data/form/form-field/form-field.styles.js +40 -0
  391. package/components/data/form/form-field/form-field.styles.js.map +1 -0
  392. package/components/data/form/form-footer/form-footer.component.js +20 -0
  393. package/components/data/form/form-footer/form-footer.component.js.map +1 -0
  394. package/components/data/form/form-footer/form-footer.props.js +11 -0
  395. package/components/data/form/form-footer/form-footer.props.js.map +1 -0
  396. package/components/data/form/form-footer/form-footer.styles.js +18 -0
  397. package/components/data/form/form-footer/form-footer.styles.js.map +1 -0
  398. package/components/data/form/form.component.js +465 -0
  399. package/components/data/form/form.component.js.map +1 -0
  400. package/components/data/form/form.props.js +38 -0
  401. package/components/data/form/form.props.js.map +1 -0
  402. package/components/data/form/form.styles.js +53 -0
  403. package/components/data/form/form.styles.js.map +1 -0
  404. package/components/data/list/list-action-template/list-action-template.component.js +28 -0
  405. package/components/data/list/list-action-template/list-action-template.component.js.map +1 -0
  406. package/components/data/list/list-action-template/list-action-template.props.js +12 -0
  407. package/components/data/list/list-action-template/list-action-template.props.js.map +1 -0
  408. package/components/data/list/list-action-template/list-action-template.styles.js +36 -0
  409. package/components/data/list/list-action-template/list-action-template.styles.js.map +1 -0
  410. package/components/data/list/list-template/list-template.component.js +55 -0
  411. package/components/data/list/list-template/list-template.component.js.map +1 -0
  412. package/components/data/list/list-template/list-template.props.js +13 -0
  413. package/components/data/list/list-template/list-template.props.js.map +1 -0
  414. package/components/data/list/list-template/list-template.styles.js +35 -0
  415. package/components/data/list/list-template/list-template.styles.js.map +1 -0
  416. package/components/data/list/list.component.js +690 -0
  417. package/components/data/list/list.component.js.map +1 -0
  418. package/components/data/list/list.props.js +53 -0
  419. package/components/data/list/list.props.js.map +1 -0
  420. package/components/data/list/list.styles.js +151 -0
  421. package/components/data/list/list.styles.js.map +1 -0
  422. package/components/data/liveform/liveform.component.js +98 -0
  423. package/components/data/liveform/liveform.component.js.map +1 -0
  424. package/components/device/barcodescanner/barcodescanner.component.js +69 -0
  425. package/components/device/barcodescanner/barcodescanner.component.js.map +1 -0
  426. package/components/device/barcodescanner/barcodescanner.props.js +19 -0
  427. package/components/device/barcodescanner/barcodescanner.props.js.map +1 -0
  428. package/components/device/barcodescanner/barcodescanner.styles.js +38 -0
  429. package/components/device/barcodescanner/barcodescanner.styles.js.map +1 -0
  430. package/components/device/camera/camera.component.js +84 -0
  431. package/components/device/camera/camera.component.js.map +1 -0
  432. package/components/device/camera/camera.props.js +25 -0
  433. package/components/device/camera/camera.props.js.map +1 -0
  434. package/components/device/camera/camera.styles.js +39 -0
  435. package/components/device/camera/camera.styles.js.map +1 -0
  436. package/components/dialogs/alertdialog/alertdialog.component.js +72 -0
  437. package/components/dialogs/alertdialog/alertdialog.component.js.map +1 -0
  438. package/components/dialogs/alertdialog/alertdialog.props.js +24 -0
  439. package/components/dialogs/alertdialog/alertdialog.props.js.map +1 -0
  440. package/components/dialogs/alertdialog/alertdialog.styles.js +34 -0
  441. package/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -0
  442. package/components/dialogs/confirmdialog/confirmdialog.component.js +78 -0
  443. package/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -0
  444. package/components/dialogs/confirmdialog/confirmdialog.props.js +24 -0
  445. package/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -0
  446. package/components/dialogs/confirmdialog/confirmdialog.styles.js +58 -0
  447. package/components/dialogs/confirmdialog/confirmdialog.styles.js.map +1 -0
  448. package/components/dialogs/dialog/dialog.component.js +107 -0
  449. package/components/dialogs/dialog/dialog.component.js.map +1 -0
  450. package/components/dialogs/dialog/dialog.props.js +25 -0
  451. package/components/dialogs/dialog/dialog.props.js.map +1 -0
  452. package/components/dialogs/dialog/dialog.styles.js +78 -0
  453. package/components/dialogs/dialog/dialog.styles.js.map +1 -0
  454. package/components/dialogs/dialogactions/dialogactions.component.js +22 -0
  455. package/components/dialogs/dialogactions/dialogactions.component.js.map +1 -0
  456. package/components/dialogs/dialogactions/dialogactions.props.js +11 -0
  457. package/components/dialogs/dialogactions/dialogactions.props.js.map +1 -0
  458. package/components/dialogs/dialogactions/dialogactions.styles.js +17 -0
  459. package/components/dialogs/dialogactions/dialogactions.styles.js.map +1 -0
  460. package/components/dialogs/dialogcontent/dialogcontent.component.js +31 -0
  461. package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -0
  462. package/components/dialogs/dialogcontent/dialogcontent.props.js +11 -0
  463. package/components/dialogs/dialogcontent/dialogcontent.props.js.map +1 -0
  464. package/components/dialogs/dialogcontent/dialogcontent.styles.js +15 -0
  465. package/components/dialogs/dialogcontent/dialogcontent.styles.js.map +1 -0
  466. package/components/input/basedataset/basedataset.component.js +232 -0
  467. package/components/input/basedataset/basedataset.component.js.map +1 -0
  468. package/components/input/basedataset/basedataset.props.js +33 -0
  469. package/components/input/basedataset/basedataset.props.js.map +1 -0
  470. package/components/input/basedataset/basedataset.styles.js +11 -0
  471. package/components/input/basedataset/basedataset.styles.js.map +1 -0
  472. package/components/input/baseinput/baseinput.component.js +203 -0
  473. package/components/input/baseinput/baseinput.component.js.map +1 -0
  474. package/components/input/baseinput/baseinput.props.js +32 -0
  475. package/components/input/baseinput/baseinput.props.js.map +1 -0
  476. package/components/input/baseinput/baseinput.styles.js +11 -0
  477. package/components/input/baseinput/baseinput.styles.js.map +1 -0
  478. package/components/input/basenumber/basenumber.component.js +357 -0
  479. package/components/input/basenumber/basenumber.component.js.map +1 -0
  480. package/components/input/basenumber/basenumber.props.js +28 -0
  481. package/components/input/basenumber/basenumber.props.js.map +1 -0
  482. package/components/input/basenumber/basenumber.styles.js +11 -0
  483. package/components/input/basenumber/basenumber.styles.js.map +1 -0
  484. package/components/input/calendar/calendar.component.js +173 -0
  485. package/components/input/calendar/calendar.component.js.map +1 -0
  486. package/components/input/calendar/calendar.props.js +14 -0
  487. package/components/input/calendar/calendar.props.js.map +1 -0
  488. package/components/input/calendar/calendar.styles.js +162 -0
  489. package/components/input/calendar/calendar.styles.js.map +1 -0
  490. package/components/input/calendar/views/month-view.js +211 -0
  491. package/components/input/calendar/views/month-view.js.map +1 -0
  492. package/components/input/calendar/views/month-view.styles.js +39 -0
  493. package/components/input/calendar/views/month-view.styles.js.map +1 -0
  494. package/components/input/checkbox/checkbox.component.js +124 -0
  495. package/components/input/checkbox/checkbox.component.js.map +1 -0
  496. package/components/input/checkbox/checkbox.props.js +18 -0
  497. package/components/input/checkbox/checkbox.props.js.map +1 -0
  498. package/components/input/checkbox/checkbox.styles.js +94 -0
  499. package/components/input/checkbox/checkbox.styles.js.map +1 -0
  500. package/components/input/checkboxset/checkboxset.component.js +159 -0
  501. package/components/input/checkboxset/checkboxset.component.js.map +1 -0
  502. package/components/input/checkboxset/checkboxset.props.js +21 -0
  503. package/components/input/checkboxset/checkboxset.props.js.map +1 -0
  504. package/components/input/checkboxset/checkboxset.styles.js +88 -0
  505. package/components/input/checkboxset/checkboxset.styles.js.map +1 -0
  506. package/components/input/chips/chips.component.js +410 -0
  507. package/components/input/chips/chips.component.js.map +1 -0
  508. package/components/input/chips/chips.props.js +30 -0
  509. package/components/input/chips/chips.props.js.map +1 -0
  510. package/components/input/chips/chips.styles.js +221 -0
  511. package/components/input/chips/chips.styles.js.map +1 -0
  512. package/components/input/composite/composite.component.js +25 -0
  513. package/components/input/composite/composite.component.js.map +1 -0
  514. package/components/input/composite/composite.props.js +12 -0
  515. package/components/input/composite/composite.props.js.map +1 -0
  516. package/components/input/composite/composite.styles.js +29 -0
  517. package/components/input/composite/composite.styles.js.map +1 -0
  518. package/components/input/currency/currency.component.js +120 -0
  519. package/components/input/currency/currency.component.js.map +1 -0
  520. package/components/input/currency/currency.props.js +13 -0
  521. package/components/input/currency/currency.props.js.map +1 -0
  522. package/components/input/currency/currency.styles.js +148 -0
  523. package/components/input/currency/currency.styles.js.map +1 -0
  524. package/components/input/epoch/base-datetime.component.js +496 -0
  525. package/components/input/epoch/base-datetime.component.js.map +1 -0
  526. package/components/input/epoch/date/date.component.js +20 -0
  527. package/components/input/epoch/date/date.component.js.map +1 -0
  528. package/components/input/epoch/date/date.props.js +11 -0
  529. package/components/input/epoch/date/date.props.js.map +1 -0
  530. package/components/input/epoch/date/date.styles.js +48 -0
  531. package/components/input/epoch/date/date.styles.js.map +1 -0
  532. package/components/input/epoch/date-picker.component.js +136 -0
  533. package/components/input/epoch/date-picker.component.js.map +1 -0
  534. package/components/input/epoch/datetime/datetime.component.js +20 -0
  535. package/components/input/epoch/datetime/datetime.component.js.map +1 -0
  536. package/components/input/epoch/datetime/datetime.props.js +36 -0
  537. package/components/input/epoch/datetime/datetime.props.js.map +1 -0
  538. package/components/input/epoch/datetime/datetime.styles.js +163 -0
  539. package/components/input/epoch/datetime/datetime.styles.js.map +1 -0
  540. package/components/input/epoch/time/time.component.js +26 -0
  541. package/components/input/epoch/time/time.component.js.map +1 -0
  542. package/components/input/epoch/time/time.props.js +15 -0
  543. package/components/input/epoch/time/time.props.js.map +1 -0
  544. package/components/input/epoch/time/time.styles.js +48 -0
  545. package/components/input/epoch/time/time.styles.js.map +1 -0
  546. package/components/input/epoch/wheel-date-picker.component.js +206 -0
  547. package/components/input/epoch/wheel-date-picker.component.js.map +1 -0
  548. package/components/input/epoch/wheel-time-picker.component.js +107 -0
  549. package/components/input/epoch/wheel-time-picker.component.js.map +1 -0
  550. package/components/input/epoch/wheelpicker/wheelpicker.component.js +97 -0
  551. package/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -0
  552. package/components/input/epoch/wheelpicker/wheelpicker.props.js +17 -0
  553. package/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -0
  554. package/components/input/epoch/wheelpicker/wheelpicker.styles.js +55 -0
  555. package/components/input/epoch/wheelpicker/wheelpicker.styles.js.map +1 -0
  556. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +85 -0
  557. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -0
  558. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +20 -0
  559. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -0
  560. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js +66 -0
  561. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js.map +1 -0
  562. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +83 -0
  563. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +1 -0
  564. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +19 -0
  565. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -0
  566. package/components/input/fileupload/fileupload.component.js +70 -0
  567. package/components/input/fileupload/fileupload.component.js.map +1 -0
  568. package/components/input/fileupload/fileupload.props.js +19 -0
  569. package/components/input/fileupload/fileupload.props.js.map +1 -0
  570. package/components/input/fileupload/fileupload.styles.js +27 -0
  571. package/components/input/fileupload/fileupload.styles.js.map +1 -0
  572. package/components/input/number/number.component.js +86 -0
  573. package/components/input/number/number.component.js.map +1 -0
  574. package/components/input/number/number.props.js +13 -0
  575. package/components/input/number/number.props.js.map +1 -0
  576. package/components/input/number/number.styles.js +93 -0
  577. package/components/input/number/number.styles.js.map +1 -0
  578. package/components/input/radioset/radioset.component.js +147 -0
  579. package/components/input/radioset/radioset.component.js.map +1 -0
  580. package/components/input/radioset/radioset.props.js +20 -0
  581. package/components/input/radioset/radioset.props.js.map +1 -0
  582. package/components/input/radioset/radioset.styles.js +102 -0
  583. package/components/input/radioset/radioset.styles.js.map +1 -0
  584. package/components/input/rating/rating.component.js +155 -0
  585. package/components/input/rating/rating.component.js.map +1 -0
  586. package/components/input/rating/rating.props.js +25 -0
  587. package/components/input/rating/rating.props.js.map +1 -0
  588. package/components/input/rating/rating.styles.js +48 -0
  589. package/components/input/rating/rating.styles.js.map +1 -0
  590. package/components/input/select/select.component.js +303 -0
  591. package/components/input/select/select.component.js.map +1 -0
  592. package/components/input/select/select.props.js +12 -0
  593. package/components/input/select/select.props.js.map +1 -0
  594. package/components/input/select/select.styles.js +178 -0
  595. package/components/input/select/select.styles.js.map +1 -0
  596. package/components/input/slider/slider.component.js +538 -0
  597. package/components/input/slider/slider.component.js.map +1 -0
  598. package/components/input/slider/slider.props.js +20 -0
  599. package/components/input/slider/slider.props.js.map +1 -0
  600. package/components/input/slider/slider.styles.js +95 -0
  601. package/components/input/slider/slider.styles.js.map +1 -0
  602. package/components/input/switch/switch.component.js +99 -0
  603. package/components/input/switch/switch.component.js.map +1 -0
  604. package/components/input/switch/switch.props.js +13 -0
  605. package/components/input/switch/switch.props.js.map +1 -0
  606. package/components/input/switch/switch.styles.js +192 -0
  607. package/components/input/switch/switch.styles.js.map +1 -0
  608. package/components/input/text/text.component.js +132 -0
  609. package/components/input/text/text.component.js.map +1 -0
  610. package/components/input/text/text.props.js +21 -0
  611. package/components/input/text/text.props.js.map +1 -0
  612. package/components/input/text/text.styles.js +130 -0
  613. package/components/input/text/text.styles.js.map +1 -0
  614. package/components/input/textarea/textarea.component.js +88 -0
  615. package/components/input/textarea/textarea.component.js.map +1 -0
  616. package/components/input/textarea/textarea.props.js +15 -0
  617. package/components/input/textarea/textarea.props.js.map +1 -0
  618. package/components/input/textarea/textarea.styles.js +84 -0
  619. package/components/input/textarea/textarea.styles.js.map +1 -0
  620. package/components/input/toggle/toggle.component.js +202 -0
  621. package/components/input/toggle/toggle.component.js.map +1 -0
  622. package/components/input/toggle/toggle.props.js +32 -0
  623. package/components/input/toggle/toggle.props.js.map +1 -0
  624. package/components/input/toggle/toggle.styles.js +97 -0
  625. package/components/input/toggle/toggle.styles.js.map +1 -0
  626. package/components/navigation/appnavbar/appnavbar.component.js +114 -0
  627. package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
  628. package/components/navigation/appnavbar/appnavbar.props.js +22 -0
  629. package/components/navigation/appnavbar/appnavbar.props.js.map +1 -0
  630. package/components/navigation/appnavbar/appnavbar.styles.js +169 -0
  631. package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
  632. package/components/navigation/basenav/basenav.component.js +72 -0
  633. package/components/navigation/basenav/basenav.component.js.map +1 -0
  634. package/components/navigation/basenav/basenav.props.js +18 -0
  635. package/components/navigation/basenav/basenav.props.js.map +1 -0
  636. package/components/navigation/basenav/basenav.styles.js +11 -0
  637. package/components/navigation/basenav/basenav.styles.js.map +1 -0
  638. package/components/navigation/menu/menu.component.js +66 -0
  639. package/components/navigation/menu/menu.component.js.map +1 -0
  640. package/components/navigation/menu/menu.props.js +15 -0
  641. package/components/navigation/menu/menu.props.js.map +1 -0
  642. package/components/navigation/menu/menu.styles.js +70 -0
  643. package/components/navigation/menu/menu.styles.js.map +1 -0
  644. package/components/navigation/navbar/navbar.component.js +78 -0
  645. package/components/navigation/navbar/navbar.component.js.map +1 -0
  646. package/components/navigation/navbar/navbar.props.js +16 -0
  647. package/components/navigation/navbar/navbar.props.js.map +1 -0
  648. package/components/navigation/navbar/navbar.styles.js +41 -0
  649. package/components/navigation/navbar/navbar.styles.js.map +1 -0
  650. package/components/navigation/navitem/navitem.component.js +70 -0
  651. package/components/navigation/navitem/navitem.component.js.map +1 -0
  652. package/components/navigation/navitem/navitem.props.js +19 -0
  653. package/components/navigation/navitem/navitem.props.js.map +1 -0
  654. package/components/navigation/navitem/navitem.styles.js +80 -0
  655. package/components/navigation/navitem/navitem.styles.js.map +1 -0
  656. package/components/navigation/popover/popover.component.js +220 -0
  657. package/components/navigation/popover/popover.component.js.map +1 -0
  658. package/components/navigation/popover/popover.props.js +34 -0
  659. package/components/navigation/popover/popover.props.js.map +1 -0
  660. package/components/navigation/popover/popover.styles.js +92 -0
  661. package/components/navigation/popover/popover.styles.js.map +1 -0
  662. package/components/page/content/content.component.js +16 -0
  663. package/components/page/content/content.component.js.map +1 -0
  664. package/components/page/content/content.props.js +2 -0
  665. package/components/page/content/content.props.js.map +1 -0
  666. package/components/page/content/content.styles.js +13 -0
  667. package/components/page/content/content.styles.js.map +1 -0
  668. package/components/page/left-panel/left-panel.component.js +64 -0
  669. package/components/page/left-panel/left-panel.component.js.map +1 -0
  670. package/components/page/left-panel/left-panel.props.js +12 -0
  671. package/components/page/left-panel/left-panel.props.js.map +1 -0
  672. package/components/page/left-panel/left-panel.styles.js +18 -0
  673. package/components/page/left-panel/left-panel.styles.js.map +1 -0
  674. package/components/page/page-content/page-content.component.js +207 -0
  675. package/components/page/page-content/page-content.component.js.map +1 -0
  676. package/components/page/page-content/page-content.props.js +18 -0
  677. package/components/page/page-content/page-content.props.js.map +1 -0
  678. package/components/page/page-content/page-content.styles.js +20 -0
  679. package/components/page/page-content/page-content.styles.js.map +1 -0
  680. package/components/page/page.component.js +48 -0
  681. package/components/page/page.component.js.map +1 -0
  682. package/components/page/page.props.js +15 -0
  683. package/components/page/page.props.js.map +1 -0
  684. package/components/page/page.styles.js +24 -0
  685. package/components/page/page.styles.js.map +1 -0
  686. package/components/page/partial/partial.component.js +42 -0
  687. package/components/page/partial/partial.component.js.map +1 -0
  688. package/components/page/partial/partial.props.js +2 -0
  689. package/components/page/partial/partial.props.js.map +1 -0
  690. package/components/page/partial/partial.styles.js +18 -0
  691. package/components/page/partial/partial.styles.js.map +1 -0
  692. package/components/page/partial-container/partial-container.component.js +35 -0
  693. package/components/page/partial-container/partial-container.component.js.map +1 -0
  694. package/components/page/partial-container/partial-container.props.js +13 -0
  695. package/components/page/partial-container/partial-container.props.js.map +1 -0
  696. package/components/page/partial-container/partial-container.styles.js +14 -0
  697. package/components/page/partial-container/partial-container.styles.js.map +1 -0
  698. package/components/page/tabbar/curve.js +84 -0
  699. package/components/page/tabbar/curve.js.map +1 -0
  700. package/components/page/tabbar/tabbar.component.js +258 -0
  701. package/components/page/tabbar/tabbar.component.js.map +1 -0
  702. package/components/page/tabbar/tabbar.props.js +29 -0
  703. package/components/page/tabbar/tabbar.props.js.map +1 -0
  704. package/components/page/tabbar/tabbar.styles.js +160 -0
  705. package/components/page/tabbar/tabbar.styles.js.map +1 -0
  706. package/components/prefab/prefab-container.component.js +42 -0
  707. package/components/prefab/prefab-container.component.js.map +1 -0
  708. package/components/prefab/prefab-container.props.js +2 -0
  709. package/components/prefab/prefab-container.props.js.map +1 -0
  710. package/components/prefab/prefab-container.styles.js +16 -0
  711. package/components/prefab/prefab-container.styles.js.map +1 -0
  712. package/components-prism/advanced/carousel/carousel.component.js +322 -0
  713. package/components-prism/advanced/carousel/carousel.component.js.map +1 -0
  714. package/components-prism/advanced/carousel/carousel.props.js +24 -0
  715. package/components-prism/advanced/carousel/carousel.props.js.map +1 -0
  716. package/components-prism/advanced/carousel/carousel.styles.js +179 -0
  717. package/components-prism/advanced/carousel/carousel.styles.js.map +1 -0
  718. package/components-prism/basic/progress-bar/progress-bar.component.js +227 -0
  719. package/components-prism/basic/progress-bar/progress-bar.component.js.map +1 -0
  720. package/components-prism/basic/progress-bar/progress-bar.props.js +20 -0
  721. package/components-prism/basic/progress-bar/progress-bar.props.js.map +1 -0
  722. package/components-prism/basic/progress-bar/progress-bar.styles.js +43 -0
  723. package/components-prism/basic/progress-bar/progress-bar.styles.js.map +1 -0
  724. package/components-prism/basic/progress-circle/progress-circle.component.js +80 -0
  725. package/components-prism/basic/progress-circle/progress-circle.component.js.map +1 -0
  726. package/components-prism/basic/progress-circle/progress-circle.props.js +19 -0
  727. package/components-prism/basic/progress-circle/progress-circle.props.js.map +1 -0
  728. package/components-prism/basic/progress-circle/progress-circle.styles.js +82 -0
  729. package/components-prism/basic/progress-circle/progress-circle.styles.js.map +1 -0
  730. package/components-prism/data/list/list-template/list-template.styles.js +27 -0
  731. package/components-prism/data/list/list-template/list-template.styles.js.map +1 -0
  732. package/components-prism/input/slider/Thumb.js +35 -0
  733. package/components-prism/input/slider/Thumb.js.map +1 -0
  734. package/components-prism/input/slider/slider.component.js +108 -0
  735. package/components-prism/input/slider/slider.component.js.map +1 -0
  736. package/components-prism/input/slider/slider.props.js +20 -0
  737. package/components-prism/input/slider/slider.props.js.map +1 -0
  738. package/components-prism/input/slider/slider.styles.js +135 -0
  739. package/components-prism/input/slider/slider.styles.js.map +1 -0
  740. package/components-prism/input/slider/withSlider.js +339 -0
  741. package/components-prism/input/slider/withSlider.js.map +1 -0
  742. package/core/AppConfig.js +2 -0
  743. package/core/AppConfig.js.map +1 -0
  744. package/core/accessibility.js +195 -0
  745. package/core/accessibility.js.map +1 -0
  746. package/core/advanced-promise-rejection-tracker.js +208 -0
  747. package/core/advanced-promise-rejection-tracker.js.map +1 -0
  748. package/core/asset.provider.js +5 -0
  749. package/core/asset.provider.js.map +1 -0
  750. package/core/auto-layout-host.component.js +31 -0
  751. package/core/auto-layout-host.component.js.map +1 -0
  752. package/core/auto-layout.utils.js +250 -0
  753. package/core/auto-layout.utils.js.map +1 -0
  754. package/core/base.component.js +671 -0
  755. package/core/base.component.js.map +1 -0
  756. package/core/components/error-fallback/error-fallback.component.js +172 -0
  757. package/core/components/error-fallback/error-fallback.component.js.map +1 -0
  758. package/core/components/error-fallback/error-fallback.styles.js +227 -0
  759. package/core/components/error-fallback/error-fallback.styles.js.map +1 -0
  760. package/core/components/floatinglabel.component.js +86 -0
  761. package/core/components/floatinglabel.component.js.map +1 -0
  762. package/core/components/sticky-base.component.js +54 -0
  763. package/core/components/sticky-base.component.js.map +1 -0
  764. package/core/components/sticky-container.component.js +34 -0
  765. package/core/components/sticky-container.component.js.map +1 -0
  766. package/core/components/sticky-container.styles.js +98 -0
  767. package/core/components/sticky-container.styles.js.map +1 -0
  768. package/core/components/sticky-nav.component.js +28 -0
  769. package/core/components/sticky-nav.component.js.map +1 -0
  770. package/core/components/textinput.component.js +226 -0
  771. package/core/components/textinput.component.js.map +1 -0
  772. package/core/components-prism/progress-circle.js +217 -0
  773. package/core/components-prism/progress-circle.js.map +1 -0
  774. package/core/constant.service.js +22 -0
  775. package/core/constant.service.js.map +1 -0
  776. package/core/constants/currency-constants.js +1066 -0
  777. package/core/constants/currency-constants.js.map +1 -0
  778. package/core/currency-constants.js +1065 -0
  779. package/core/currency-constants.js.map +1 -0
  780. package/core/device/av-service.js +8 -0
  781. package/core/device/av-service.js.map +1 -0
  782. package/core/device/calendar-service.js +8 -0
  783. package/core/device/calendar-service.js.map +1 -0
  784. package/core/device/camera-service.js +11 -0
  785. package/core/device/camera-service.js.map +1 -0
  786. package/core/device/contacts-service.js +8 -0
  787. package/core/device/contacts-service.js.map +1 -0
  788. package/core/device/fileupload-service.js +8 -0
  789. package/core/device/fileupload-service.js.map +1 -0
  790. package/core/device/location-service.js +8 -0
  791. package/core/device/location-service.js.map +1 -0
  792. package/core/device/openfile-service.js +10 -0
  793. package/core/device/openfile-service.js.map +1 -0
  794. package/core/device/scan-service.js +11 -0
  795. package/core/device/scan-service.js.map +1 -0
  796. package/core/display.manager.js +5 -0
  797. package/core/display.manager.js.map +1 -0
  798. package/core/error-boundary.component.js +64 -0
  799. package/core/error-boundary.component.js.map +1 -0
  800. package/core/event-notifier.js +69 -0
  801. package/core/event-notifier.js.map +1 -0
  802. package/core/file-extension-types.js +70 -0
  803. package/core/file-extension-types.js.map +1 -0
  804. package/core/fixed-view.component.js +94 -0
  805. package/core/fixed-view.component.js.map +1 -0
  806. package/core/formatters.js +70 -0
  807. package/core/formatters.js.map +1 -0
  808. package/core/global-error-handler.service.js +103 -0
  809. package/core/global-error-handler.service.js.map +1 -0
  810. package/core/i18n.service.js +2 -0
  811. package/core/i18n.service.js.map +1 -0
  812. package/core/if.component.js +35 -0
  813. package/core/if.component.js.map +1 -0
  814. package/core/imageSizeEstimator.js +51 -0
  815. package/core/imageSizeEstimator.js.map +1 -0
  816. package/core/injector.js +27 -0
  817. package/core/injector.js.map +1 -0
  818. package/core/key.extractor.js +21 -0
  819. package/core/key.extractor.js.map +1 -0
  820. package/core/logger.js +123 -0
  821. package/core/logger.js.map +1 -0
  822. package/core/modal.service.js +5 -0
  823. package/core/modal.service.js.map +1 -0
  824. package/core/navigation.service.js +70 -0
  825. package/core/navigation.service.js.map +1 -0
  826. package/core/network.service.js +327 -0
  827. package/core/network.service.js.map +1 -0
  828. package/core/partial.service.js +5 -0
  829. package/core/partial.service.js.map +1 -0
  830. package/core/props.provider.js +88 -0
  831. package/core/props.provider.js.map +1 -0
  832. package/core/responsive.utils.js +51 -0
  833. package/core/responsive.utils.js.map +1 -0
  834. package/core/screen-capture-protection.service.js +5 -0
  835. package/core/screen-capture-protection.service.js.map +1 -0
  836. package/core/scroll-view.component.js +52 -0
  837. package/core/scroll-view.component.js.map +1 -0
  838. package/core/secure-storage.service.js +55 -0
  839. package/core/secure-storage.service.js.map +1 -0
  840. package/core/security.service.js +5 -0
  841. package/core/security.service.js.map +1 -0
  842. package/core/spinner.service.js +5 -0
  843. package/core/spinner.service.js.map +1 -0
  844. package/core/sticky-view.component.js +51 -0
  845. package/core/sticky-view.component.js.map +1 -0
  846. package/core/sticky-wrapper.js +133 -0
  847. package/core/sticky-wrapper.js.map +1 -0
  848. package/core/storage.service.js +38 -0
  849. package/core/storage.service.js.map +1 -0
  850. package/core/tappable.component.js +163 -0
  851. package/core/tappable.component.js.map +1 -0
  852. package/core/testid.provider.js +5 -0
  853. package/core/testid.provider.js.map +1 -0
  854. package/core/toast.service.js +5 -0
  855. package/core/toast.service.js.map +1 -0
  856. package/core/ui-preferences.context.js +10 -0
  857. package/core/ui-preferences.context.js.map +1 -0
  858. package/core/utils.js +867 -0
  859. package/core/utils.js.map +1 -0
  860. package/core/viewport.js +45 -0
  861. package/core/viewport.js.map +1 -0
  862. package/core/wm-component-tree.js +58 -0
  863. package/core/wm-component-tree.js.map +1 -0
  864. package/gestures/carousel-swipe.animation.js +225 -0
  865. package/gestures/carousel-swipe.animation.js.map +1 -0
  866. package/gestures/swipe.animation.js +220 -0
  867. package/gestures/swipe.animation.js.map +1 -0
  868. package/gestures-prism/carousel.flatlist.js +349 -0
  869. package/gestures-prism/carousel.flatlist.js.map +1 -0
  870. package/index.js +2 -0
  871. package/index.js.map +1 -0
  872. package/npm-shrinkwrap.json +26212 -0
  873. package/package-lock.json +26212 -0
  874. package/package.json +291 -0
  875. package/runtime/App.js +763 -0
  876. package/runtime/App.js.map +1 -0
  877. package/runtime/App.navigator.js +113 -0
  878. package/runtime/App.navigator.js.map +1 -0
  879. package/runtime/base-customwidget.component.js +52 -0
  880. package/runtime/base-customwidget.component.js.map +1 -0
  881. package/runtime/base-fragment.component.js +418 -0
  882. package/runtime/base-fragment.component.js.map +1 -0
  883. package/runtime/base-page.component.js +233 -0
  884. package/runtime/base-page.component.js.map +1 -0
  885. package/runtime/base-partial.component.js +63 -0
  886. package/runtime/base-partial.component.js.map +1 -0
  887. package/runtime/base-prefab.component.js +87 -0
  888. package/runtime/base-prefab.component.js.map +1 -0
  889. package/runtime/lib-patch.js +25 -0
  890. package/runtime/lib-patch.js.map +1 -0
  891. package/runtime/memo.component.js +44 -0
  892. package/runtime/memo.component.js.map +1 -0
  893. package/runtime/navigator/drawer.navigator.js +41 -0
  894. package/runtime/navigator/drawer.navigator.js.map +1 -0
  895. package/runtime/navigator/stack.navigator.js +78 -0
  896. package/runtime/navigator/stack.navigator.js.map +1 -0
  897. package/runtime/platform.api.js +7 -0
  898. package/runtime/platform.api.js.map +1 -0
  899. package/runtime/services/app-display-manager.service.js +52 -0
  900. package/runtime/services/app-display-manager.service.js.map +1 -0
  901. package/runtime/services/app-i18n.service.js +89 -0
  902. package/runtime/services/app-i18n.service.js.map +1 -0
  903. package/runtime/services/app-modal.service.js +73 -0
  904. package/runtime/services/app-modal.service.js.map +1 -0
  905. package/runtime/services/app-security.service.js +256 -0
  906. package/runtime/services/app-security.service.js.map +1 -0
  907. package/runtime/services/app-spinner.service.js +74 -0
  908. package/runtime/services/app-spinner.service.js.map +1 -0
  909. package/runtime/services/app-toast.service.js +60 -0
  910. package/runtime/services/app-toast.service.js.map +1 -0
  911. package/runtime/services/device/calendar-service.js +95 -0
  912. package/runtime/services/device/calendar-service.js.map +1 -0
  913. package/runtime/services/device/camera-service.js +377 -0
  914. package/runtime/services/device/camera-service.js.map +1 -0
  915. package/runtime/services/device/contacts-service.js +34 -0
  916. package/runtime/services/device/contacts-service.js.map +1 -0
  917. package/runtime/services/device/location-service.js +16 -0
  918. package/runtime/services/device/location-service.js.map +1 -0
  919. package/runtime/services/device/permission-service.js +5 -0
  920. package/runtime/services/device/permission-service.js.map +1 -0
  921. package/runtime/services/device/permissions.js +45 -0
  922. package/runtime/services/device/permissions.js.map +1 -0
  923. package/runtime/services/device/scan-service.js +163 -0
  924. package/runtime/services/device/scan-service.js.map +1 -0
  925. package/runtime/services/partial.service.js +26 -0
  926. package/runtime/services/partial.service.js.map +1 -0
  927. package/runtime/services/webprocess.service.js +107 -0
  928. package/runtime/services/webprocess.service.js.map +1 -0
  929. package/runtime/watcher.js +147 -0
  930. package/runtime/watcher.js.map +1 -0
  931. package/styles/MediaQueryList.js +19 -0
  932. package/styles/MediaQueryList.js.map +1 -0
  933. package/styles/background.component.js +317 -0
  934. package/styles/background.component.js.map +1 -0
  935. package/styles/calc.js +165 -0
  936. package/styles/calc.js.map +1 -0
  937. package/styles/color-mix.js +82 -0
  938. package/styles/color-mix.js.map +1 -0
  939. package/styles/style-prop.validator.js +467 -0
  940. package/styles/style-prop.validator.js.map +1 -0
  941. package/styles/style-props.js +105 -0
  942. package/styles/style-props.js.map +1 -0
  943. package/styles/theme.js +725 -0
  944. package/styles/theme.js.map +1 -0
  945. package/styles/theme.variables.js +444 -0
  946. package/styles/theme.variables.js.map +1 -0
  947. package/variables/base-variable.js +125 -0
  948. package/variables/base-variable.js.map +1 -0
  949. package/variables/device/calendar/create-event.operation.js +53 -0
  950. package/variables/device/calendar/create-event.operation.js.map +1 -0
  951. package/variables/device/calendar/delete-event.operation.js +15 -0
  952. package/variables/device/calendar/delete-event.operation.js.map +1 -0
  953. package/variables/device/calendar/get-events.operation.js +15 -0
  954. package/variables/device/calendar/get-events.operation.js.map +1 -0
  955. package/variables/device/camera/capture-image.operation.js +13 -0
  956. package/variables/device/camera/capture-image.operation.js.map +1 -0
  957. package/variables/device/camera/capture-video.operation.js +12 -0
  958. package/variables/device/camera/capture-video.operation.js.map +1 -0
  959. package/variables/device/contacts/get-contacts.operation.js +15 -0
  960. package/variables/device/contacts/get-contacts.operation.js.map +1 -0
  961. package/variables/device/device/app-info.operation.js +13 -0
  962. package/variables/device/device/app-info.operation.js.map +1 -0
  963. package/variables/device/device/current-geo-position.operation.js +15 -0
  964. package/variables/device/device/current-geo-position.operation.js.map +1 -0
  965. package/variables/device/device/device-info.operation.js +12 -0
  966. package/variables/device/device/device-info.operation.js.map +1 -0
  967. package/variables/device/device/network-info.operation.js +33 -0
  968. package/variables/device/device/network-info.operation.js.map +1 -0
  969. package/variables/device/device/vibrate.operation.js +8 -0
  970. package/variables/device/device/vibrate.operation.js.map +1 -0
  971. package/variables/device/file/open-file.operation.js +71 -0
  972. package/variables/device/file/open-file.operation.js.map +1 -0
  973. package/variables/device/file/upload-file.operation.js +66 -0
  974. package/variables/device/file/upload-file.operation.js.map +1 -0
  975. package/variables/device/operation.provider.js +11 -0
  976. package/variables/device/operation.provider.js.map +1 -0
  977. package/variables/device/scan/scan.operation.js +15 -0
  978. package/variables/device/scan/scan.operation.js.map +1 -0
  979. package/variables/device-variable.js +28 -0
  980. package/variables/device-variable.js.map +1 -0
  981. package/variables/http.service.js +84 -0
  982. package/variables/http.service.js.map +1 -0
  983. package/variables/live-variable.js +130 -0
  984. package/variables/live-variable.js.map +1 -0
  985. package/variables/model-variable.js +47 -0
  986. package/variables/model-variable.js.map +1 -0
  987. package/variables/service-variable.js +143 -0
  988. package/variables/service-variable.js.map +1 -0
  989. package/variables/utils/dataset-util.js +139 -0
  990. package/variables/utils/dataset-util.js.map +1 -0
  991. package/variables/utils/inflight-queue.js +114 -0
  992. package/variables/utils/inflight-queue.js.map +1 -0
  993. package/variables/utils/variable.constants.js +22 -0
  994. package/variables/utils/variable.constants.js.map +1 -0
  995. package/variables/utils/variable.utils.js +189 -0
  996. package/variables/utils/variable.utils.js.map +1 -0
  997. package/wm-namespace.js +15 -0
  998. package/wm-namespace.js.map +1 -0
@@ -0,0 +1,85 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
4
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
+ import React from 'react';
6
+ import { Modal, Platform, Text, TouchableWithoutFeedback, View } from 'react-native';
7
+ import WmWheelDatePicker from '../../wheel-date-picker.component';
8
+ import WmButton from '../../../../basic/button/button.component';
9
+ import { DEFAULT_CLASS } from '../styles/datetime-picker-modal.styles';
10
+ import { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';
11
+ import WmDatePickerModalProps from './date-picker-modal.props';
12
+ export class WmDatePickerModalState extends BaseComponentState {
13
+ constructor(...args) {
14
+ super(...args);
15
+ _defineProperty(this, "selectedDate", new Date());
16
+ }
17
+ }
18
+ export class WmDatePickerModal extends BaseComponent {
19
+ constructor(props) {
20
+ super(props, DEFAULT_CLASS, new WmDatePickerModalProps());
21
+ }
22
+ renderWidget() {
23
+ const {
24
+ isVisible,
25
+ minDate,
26
+ maxDate,
27
+ onClose,
28
+ onCancel,
29
+ onSelect,
30
+ dateheadertitle,
31
+ dateconfirmationtitle,
32
+ datecanceltitle
33
+ } = this.props;
34
+ const {
35
+ selectedDate
36
+ } = this.state;
37
+ const {
38
+ styles
39
+ } = this;
40
+ return /*#__PURE__*/React.createElement(Modal, {
41
+ animationType: "fade",
42
+ transparent: true,
43
+ visible: isVisible,
44
+ onRequestClose: onClose,
45
+ onDismiss: onClose
46
+ }, /*#__PURE__*/React.createElement(View, _extends({
47
+ style: styles.root,
48
+ onLayout: event => this.handleLayout(event)
49
+ // prevent swipe gesture from bubbling to parent (fixes scroll vs. bottom sheet swipe conflict)
50
+ }, Platform.OS === 'ios' ? {
51
+ onStartShouldSetResponder: () => true,
52
+ onResponderTerminationRequest: () => false
53
+ } : {}), /*#__PURE__*/React.createElement(TouchableWithoutFeedback, {
54
+ style: styles.flex1,
55
+ onPress: onClose
56
+ }, /*#__PURE__*/React.createElement(View, {
57
+ style: styles.flex1
58
+ })), /*#__PURE__*/React.createElement(View, {
59
+ style: styles.container
60
+ }, /*#__PURE__*/React.createElement(Text, {
61
+ style: styles.header
62
+ }, dateheadertitle), /*#__PURE__*/React.createElement(WmWheelDatePicker, {
63
+ minDate: minDate,
64
+ maxDate: maxDate,
65
+ selectedDate: this.props.selectedDate || selectedDate,
66
+ onDateChange: date => {
67
+ this.setState({
68
+ selectedDate: date
69
+ });
70
+ }
71
+ }), /*#__PURE__*/React.createElement(View, {
72
+ style: styles.buttonWrapper
73
+ }, /*#__PURE__*/React.createElement(WmButton, {
74
+ styles: styles.cancelBtn,
75
+ caption: datecanceltitle,
76
+ onTap: onCancel
77
+ }), /*#__PURE__*/React.createElement(WmButton, {
78
+ styles: styles.selectBtn,
79
+ caption: dateconfirmationtitle,
80
+ onTap: () => onSelect === null || onSelect === void 0 ? void 0 : onSelect(selectedDate || this.props.selectedDate || new Date())
81
+ })))));
82
+ }
83
+ }
84
+ export default WmDatePickerModal;
85
+ //# sourceMappingURL=date-picker-modal.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Modal","Platform","Text","TouchableWithoutFeedback","View","WmWheelDatePicker","WmButton","DEFAULT_CLASS","BaseComponent","BaseComponentState","WmDatePickerModalProps","WmDatePickerModalState","constructor","args","_defineProperty","Date","WmDatePickerModal","props","renderWidget","isVisible","minDate","maxDate","onClose","onCancel","onSelect","dateheadertitle","dateconfirmationtitle","datecanceltitle","selectedDate","state","styles","createElement","animationType","transparent","visible","onRequestClose","onDismiss","_extends","style","root","onLayout","event","handleLayout","OS","onStartShouldSetResponder","onResponderTerminationRequest","flex1","onPress","container","header","onDateChange","date","setState","buttonWrapper","cancelBtn","caption","onTap","selectBtn"],"sources":["date-picker-modal.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Modal, Platform, Text, TouchableWithoutFeedback, View } from 'react-native';\nimport WmWheelDatePicker from '../../wheel-date-picker.component';\nimport WmButton from '../../../../basic/button/button.component';\nimport {\n DEFAULT_CLASS,\n WmDateTimePickerModalStyles,\n} from '../styles/datetime-picker-modal.styles';\nimport {\n BaseComponent,\n BaseComponentState,\n} from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport WmDatePickerModalProps from './date-picker-modal.props';\n\nexport class WmDatePickerModalState extends BaseComponentState<WmDatePickerModalProps> {\n selectedDate: Date = new Date();\n}\n\nexport class WmDatePickerModal extends BaseComponent<\n WmDatePickerModalProps,\n WmDatePickerModalState,\n WmDateTimePickerModalStyles\n> {\n constructor(props: WmDatePickerModalProps) {\n super(props, DEFAULT_CLASS, new WmDatePickerModalProps());\n }\n\n renderWidget() {\n const { isVisible, minDate, maxDate, onClose, onCancel, onSelect, dateheadertitle, dateconfirmationtitle, datecanceltitle } = this.props;\n const { selectedDate } = this.state;\n const { styles } = this;\n\n return (\n <Modal\n animationType=\"fade\"\n transparent={true}\n visible={isVisible}\n onRequestClose={onClose}\n onDismiss={onClose}\n >\n <View style={styles.root} onLayout={(event) => this.handleLayout(event)}\n // prevent swipe gesture from bubbling to parent (fixes scroll vs. bottom sheet swipe conflict)\n {...(Platform.OS === 'ios'\n ? {\n onStartShouldSetResponder: () => true,\n onResponderTerminationRequest: () => false,\n }\n : {})}>\n <TouchableWithoutFeedback style={styles.flex1} onPress={onClose}>\n <View style={styles.flex1} />\n </TouchableWithoutFeedback>\n <View style={styles.container}>\n <Text style={styles.header}>{dateheadertitle}</Text>\n <WmWheelDatePicker\n minDate={minDate}\n maxDate={maxDate}\n selectedDate={this.props.selectedDate || selectedDate}\n onDateChange={(date) => {\n this.setState({ selectedDate: date });\n }}\n />\n <View style={styles.buttonWrapper}>\n <WmButton\n styles={styles.cancelBtn}\n caption={datecanceltitle}\n onTap={onCancel}\n />\n <WmButton\n styles={styles.selectBtn}\n caption={dateconfirmationtitle}\n onTap={() => onSelect?.(selectedDate || this.props.selectedDate || new Date())}\n />\n </View>\n </View>\n </View>\n </Modal>\n );\n }\n}\n\nexport default WmDatePickerModal;\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,QAAQ,EAAEC,IAAI,EAAEC,wBAAwB,EAAEC,IAAI,QAAQ,cAAc;AACpF,OAAOC,iBAAiB,MAAM,mCAAmC;AACjE,OAAOC,QAAQ,MAAM,2CAA2C;AAChE,SACEC,aAAa,QAER,wCAAwC;AAC/C,SACE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@@ -0,0 +1,20 @@
1
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
+ import { BaseProps } from "@wavemaker-ai/app-rn-runtime/core/base.component";
5
+ export default class WmDatePickerModalProps extends BaseProps {
6
+ constructor(...args) {
7
+ super(...args);
8
+ _defineProperty(this, "isVisible", false);
9
+ _defineProperty(this, "minDate", void 0);
10
+ _defineProperty(this, "maxDate", void 0);
11
+ _defineProperty(this, "selectedDate", void 0);
12
+ _defineProperty(this, "onClose", void 0);
13
+ _defineProperty(this, "onSelect", void 0);
14
+ _defineProperty(this, "onCancel", void 0);
15
+ _defineProperty(this, "dateheadertitle", "Select Date");
16
+ _defineProperty(this, "dateconfirmationtitle", "Select");
17
+ _defineProperty(this, "datecanceltitle", "Cancel");
18
+ }
19
+ }
20
+ //# sourceMappingURL=date-picker-modal.props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BaseProps","WmDatePickerModalProps","constructor","args","_defineProperty"],"sources":["date-picker-modal.props.ts"],"sourcesContent":["import { BaseProps } from \"@wavemaker-ai/app-rn-runtime/core/base.component\";\n\nexport default class WmDatePickerModalProps extends BaseProps {\n isVisible: boolean = false;\n minDate?: Date | string;\n maxDate?: Date | string;\n selectedDate?: any;\n onClose?: () => void;\n onSelect?: (date: Date) => void;\n onCancel?: () => void;\n dateheadertitle?: string = \"Select Date\";\n dateconfirmationtitle?: string = \"Select\";\n datecanceltitle?: string = \"Cancel\";\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAE5E,eAAe,MAAMC,sBAAsB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBACvC,KAAK;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,0BAOC,aAAa;IAAAA,eAAA,gCACP,QAAQ;IAAAA,eAAA,0BACd,QAAQ;EAAA;AACrC","ignoreList":[]}
@@ -0,0 +1,66 @@
1
+ import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';
2
+ import { defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';
3
+ export const DEFAULT_CLASS = 'app-datetime-picker-modal';
4
+ BASE_THEME.registerStyle((themeVariables, addStyle) => {
5
+ const defaultStyles = defineStyles({
6
+ root: {
7
+ flex: 1,
8
+ backgroundColor: 'rgba(0, 0, 0, 0.5)'
9
+ },
10
+ text: {
11
+ fontSize: 16
12
+ },
13
+ flex1: {
14
+ flex: 1
15
+ },
16
+ container: {
17
+ backgroundColor: 'white',
18
+ paddingHorizontal: 20,
19
+ paddingTop: 40,
20
+ paddingBottom: 20,
21
+ borderTopLeftRadius: 20,
22
+ borderTopRightRadius: 20,
23
+ alignItems: 'center'
24
+ },
25
+ header: {
26
+ width: '100%',
27
+ textAlign: 'left',
28
+ fontSize: 20,
29
+ fontWeight: 'bold',
30
+ marginBottom: 20
31
+ },
32
+ buttonWrapper: {
33
+ marginTop: 40,
34
+ marginBottom: 20,
35
+ flexDirection: 'row',
36
+ justifyContent: 'space-between',
37
+ gap: 20
38
+ },
39
+ cancelBtn: {
40
+ root: {
41
+ flex: 1,
42
+ borderWidth: 1,
43
+ borderColor: themeVariables.wheelHighlightBorder,
44
+ borderRadius: 20,
45
+ minHeight: 40
46
+ },
47
+ text: {
48
+ fontWeight: '600'
49
+ }
50
+ },
51
+ selectBtn: {
52
+ root: {
53
+ flex: 1,
54
+ backgroundColor: themeVariables.wheelHighlightBorder,
55
+ borderRadius: 20,
56
+ minHeight: 40
57
+ },
58
+ text: {
59
+ color: 'white',
60
+ fontWeight: '600'
61
+ }
62
+ }
63
+ });
64
+ addStyle(DEFAULT_CLASS, '', defaultStyles);
65
+ });
66
+ //# sourceMappingURL=datetime-picker-modal.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flex","backgroundColor","text","fontSize","flex1","container","paddingHorizontal","paddingTop","paddingBottom","borderTopLeftRadius","borderTopRightRadius","alignItems","header","width","textAlign","fontWeight","marginBottom","buttonWrapper","marginTop","flexDirection","justifyContent","gap","cancelBtn","borderWidth","borderColor","wheelHighlightBorder","borderRadius","minHeight","selectBtn","color"],"sources":["datetime-picker-modal.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker-ai/app-rn-runtime/styles/theme';\nimport {\n BaseStyles,\n defineStyles,\n} from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport { TextStyle, ViewStyle } from 'react-native';\n\nexport type WmDateTimePickerModalStyles = BaseStyles & {\n container: AllStyle;\n header: TextStyle;\n buttonWrapper: ViewStyle;\n cancelBtn: AllStyle;\n selectBtn: AllStyle;\n};\n\nexport const DEFAULT_CLASS = 'app-datetime-picker-modal';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmDateTimePickerModalStyles = defineStyles({\n root: {\n flex: 1,\n backgroundColor: 'rgba(0, 0, 0, 0.5)',\n },\n text: {\n fontSize: 16,\n },\n flex1: {\n flex: 1,\n },\n container: {\n backgroundColor: 'white',\n paddingHorizontal: 20,\n paddingTop: 40,\n paddingBottom: 20,\n borderTopLeftRadius: 20,\n borderTopRightRadius: 20,\n alignItems: 'center',\n },\n header: {\n width: '100%',\n textAlign: 'left',\n fontSize: 20,\n fontWeight: 'bold',\n marginBottom: 20,\n },\n buttonWrapper: {\n marginTop: 40,\n marginBottom: 20,\n flexDirection: 'row',\n justifyContent: 'space-between',\n gap: 20,\n },\n cancelBtn: {\n root: {\n flex: 1,\n borderWidth: 1,\n borderColor: themeVariables.wheelHighlightBorder,\n borderRadius: 20,\n minHeight: 40,\n },\n text: {\n fontWeight: '600',\n },\n },\n selectBtn: {\n root: {\n flex: 1,\n backgroundColor: themeVariables.wheelHighlightBorder,\n borderRadius: 20,\n minHeight: 40,\n },\n text: {\n color: 'white',\n fontWeight: '600',\n },\n },\n }) as WmDateTimePickerModalStyles;\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,2CAA2C;AAChF,SAEEC,YAAY,QACP,kDAAkD;AAWzD,OAAO,MAAMC,aAAa,GAAG,2BAA2B;AACxDF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA0C,GAAGL,YAAY,CAAC;IAC9DM,IAAI,EAAE;MACJC,IAAI,EAAE,CAAC;MACPC,eAAe,EAAE;IACnB,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE;IACZ,CAAC;IACDC,KAAK,EAAE;MACLJ,IAAI,EAAE;IACR,CAAC;IACDK,SAAS,EAAE;MACTJ,eAAe,EAAE,OAAO;MACxBK,iBAAiB,EAAE,EAAE;MACrBC,UAAU,EAAE,EAAE;MACdC,aAAa,EAAE,EAAE;MACjBC,mBAAmB,EAAE,EAAE;MACvBC,oBAAoB,EAAE,EAAE;MACxBC,UAAU,EAAE;IACd,CAAC;IACDC,MAAM,EAAE;MACNC,KAAK,EAAE,MAAM;MACbC,SAAS,EAAE,MAAM;MACjBX,QAAQ,EAAE,EAAE;MACZY,UAAU,EAAE,MAAM;MAClBC,YAAY,EAAE;IAChB,CAAC;IACDC,aAAa,EAAE;MACbC,SAAS,EAAE,EAAE;MACbF,YAAY,EAAE,EAAE;MAChBG,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE,eAAe;MAC/BC,GAAG,EAAE;IACP,CAAC;IACDC,SAAS,EAAE;MACTvB,IAAI,EAAE;QACJC,IAAI,EAAE,CAAC;QACPuB,WAAW,EAAE,CAAC;QACdC,WAAW,EAAE5B,cAAc,CAAC6B,oBAAoB;QAChDC,YAAY,EAAE,EAAE;QAChBC,SAAS,EAAE;MACb,CAAC;MACDzB,IAAI,EAAE;QACJa,UAAU,EAAE;MACd;IACF,CAAC;IACDa,SAAS,EAAE;MACT7B,IAAI,EAAE;QACJC,IAAI,EAAE,CAAC;QACPC,eAAe,EAAEL,cAAc,CAAC6B,oBAAoB;QACpDC,YAAY,EAAE,EAAE;QAChBC,SAAS,EAAE;MACb,CAAC;MACDzB,IAAI,EAAE;QACJ2B,KAAK,EAAE,OAAO;QACdd,UAAU,EAAE;MACd;IACF;EACF,CAAC,CAAgC;EAEjClB,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,83 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
4
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
+ import React from 'react';
6
+ import { Modal, Platform, Text, TouchableWithoutFeedback, View } from 'react-native';
7
+ import WmWheelTimePicker from '../../wheel-time-picker.component';
8
+ import WmButton from '../../../../basic/button/button.component';
9
+ import { DEFAULT_CLASS } from '../styles/datetime-picker-modal.styles';
10
+ import { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';
11
+ import WmTimePickerModalProps from './time-picker-modal.props';
12
+ export class WmTimePickerModalState extends BaseComponentState {
13
+ constructor(...args) {
14
+ super(...args);
15
+ _defineProperty(this, "selectedTime", new Date());
16
+ }
17
+ }
18
+ export class WmTimePickerModal extends BaseComponent {
19
+ constructor(props) {
20
+ super(props, DEFAULT_CLASS, new WmTimePickerModalProps());
21
+ }
22
+ renderWidget(props) {
23
+ const {
24
+ is24Hour,
25
+ isVisible,
26
+ onClose,
27
+ onCancel,
28
+ onSelect,
29
+ timeheadertitle,
30
+ timeconfirmationtitle,
31
+ timecanceltitle
32
+ } = this.props;
33
+ const {
34
+ selectedTime
35
+ } = this.state;
36
+ const {
37
+ styles
38
+ } = this;
39
+ return /*#__PURE__*/React.createElement(Modal, {
40
+ animationType: "fade",
41
+ transparent: true,
42
+ visible: isVisible,
43
+ onRequestClose: onClose,
44
+ onDismiss: onClose
45
+ }, /*#__PURE__*/React.createElement(View, _extends({
46
+ style: styles.root,
47
+ onLayout: event => this.handleLayout(event)
48
+ // prevent swipe gesture from bubbling to parent (fixes scroll vs. bottom sheet swipe conflict)
49
+ }, Platform.OS === 'ios' ? {
50
+ onStartShouldSetResponder: () => true,
51
+ onResponderTerminationRequest: () => false
52
+ } : {}), /*#__PURE__*/React.createElement(TouchableWithoutFeedback, {
53
+ style: styles.flex1,
54
+ onPress: onClose
55
+ }, /*#__PURE__*/React.createElement(View, {
56
+ style: styles.flex1
57
+ })), /*#__PURE__*/React.createElement(View, {
58
+ style: styles.container
59
+ }, /*#__PURE__*/React.createElement(Text, {
60
+ style: styles.header
61
+ }, timeheadertitle), /*#__PURE__*/React.createElement(WmWheelTimePicker, {
62
+ selectedTime: this.props.selectedDateTime || selectedTime,
63
+ is24Hour: is24Hour,
64
+ onTimeChange: time => {
65
+ this.setState({
66
+ selectedTime: time
67
+ });
68
+ }
69
+ }), /*#__PURE__*/React.createElement(View, {
70
+ style: styles.buttonWrapper
71
+ }, /*#__PURE__*/React.createElement(WmButton, {
72
+ styles: styles.cancelBtn,
73
+ caption: timecanceltitle,
74
+ onTap: onCancel
75
+ }), /*#__PURE__*/React.createElement(WmButton, {
76
+ styles: styles.selectBtn,
77
+ caption: timeconfirmationtitle,
78
+ onTap: () => onSelect === null || onSelect === void 0 ? void 0 : onSelect(selectedTime || this.props.selectedDateTime || new Date().setSeconds(0))
79
+ })))));
80
+ }
81
+ }
82
+ export default WmTimePickerModal;
83
+ //# sourceMappingURL=time-picker-modal.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Modal","Platform","Text","TouchableWithoutFeedback","View","WmWheelTimePicker","WmButton","DEFAULT_CLASS","BaseComponent","BaseComponentState","WmTimePickerModalProps","WmTimePickerModalState","constructor","args","_defineProperty","Date","WmTimePickerModal","props","renderWidget","is24Hour","isVisible","onClose","onCancel","onSelect","timeheadertitle","timeconfirmationtitle","timecanceltitle","selectedTime","state","styles","createElement","animationType","transparent","visible","onRequestClose","onDismiss","_extends","style","root","onLayout","event","handleLayout","OS","onStartShouldSetResponder","onResponderTerminationRequest","flex1","onPress","container","header","selectedDateTime","onTimeChange","time","setState","buttonWrapper","cancelBtn","caption","onTap","selectBtn","setSeconds"],"sources":["time-picker-modal.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Modal, Platform, Text, TouchableWithoutFeedback, View } from 'react-native';\nimport WmWheelTimePicker from '../../wheel-time-picker.component';\nimport WmButton from '../../../../basic/button/button.component';\nimport {\n DEFAULT_CLASS,\n WmDateTimePickerModalStyles,\n} from '../styles/datetime-picker-modal.styles';\nimport {\n BaseComponent,\n BaseComponentState,\n} from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport WmTimePickerModalProps from './time-picker-modal.props';\n\nexport class WmTimePickerModalState extends BaseComponentState<WmTimePickerModalProps> {\n selectedTime: Date = new Date();\n}\n\nexport class WmTimePickerModal extends BaseComponent<\n WmTimePickerModalProps,\n WmTimePickerModalState,\n WmDateTimePickerModalStyles\n> {\n constructor(props: WmTimePickerModalProps) {\n super(props, DEFAULT_CLASS, new WmTimePickerModalProps());\n }\n\n renderWidget(props: WmTimePickerModalProps) {\n const { is24Hour, isVisible, onClose, onCancel, onSelect, timeheadertitle, timeconfirmationtitle, timecanceltitle } = this.props;\n const { selectedTime } = this.state;\n const { styles } = this;\n\n return (\n <Modal\n animationType=\"fade\"\n transparent={true}\n visible={isVisible}\n onRequestClose={onClose}\n onDismiss={onClose}\n >\n <View style={styles.root} onLayout={(event) => this.handleLayout(event)}\n // prevent swipe gesture from bubbling to parent (fixes scroll vs. bottom sheet swipe conflict)\n {...(Platform.OS === 'ios'\n ? {\n onStartShouldSetResponder: () => true,\n onResponderTerminationRequest: () => false,\n }\n : {})}>\n <TouchableWithoutFeedback style={styles.flex1} onPress={onClose}>\n <View style={styles.flex1} />\n </TouchableWithoutFeedback>\n <View style={styles.container}>\n <Text style={styles.header}>{timeheadertitle}</Text>\n <WmWheelTimePicker\n selectedTime={this.props.selectedDateTime || selectedTime}\n is24Hour={is24Hour}\n onTimeChange={(time) => {\n this.setState({ selectedTime: time });\n }}\n />\n <View style={styles.buttonWrapper}>\n <WmButton\n styles={styles.cancelBtn}\n caption={timecanceltitle}\n onTap={onCancel}\n />\n <WmButton\n styles={styles.selectBtn}\n caption={timeconfirmationtitle}\n onTap={() => onSelect?.(selectedTime || this.props.selectedDateTime || new Date().setSeconds(0))}\n />\n </View>\n </View>\n </View>\n </Modal>\n );\n }\n}\n\nexport default WmTimePickerModal;\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,QAAQ,EAAEC,IAAI,EAAEC,wBAAwB,EAAEC,IAAI,QAAQ,cAAc;AACpF,OAAOC,iBAAiB,MAAM,mCAAmC;AACjE,OAAOC,QAAQ,MA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CACF,CACF,CACD,CAAC;EAEZ;AACF;AAEA,eAAe1C,iBAAiB","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
+ import { BaseProps } from "@wavemaker-ai/app-rn-runtime/core/base.component";
5
+ export default class WmTimePickerModalProps extends BaseProps {
6
+ constructor(...args) {
7
+ super(...args);
8
+ _defineProperty(this, "isVisible", false);
9
+ _defineProperty(this, "selectedDateTime", void 0);
10
+ _defineProperty(this, "is24Hour", true);
11
+ _defineProperty(this, "onClose", void 0);
12
+ _defineProperty(this, "onSelect", void 0);
13
+ _defineProperty(this, "onCancel", void 0);
14
+ _defineProperty(this, "timeheadertitle", "Select Time");
15
+ _defineProperty(this, "timeconfirmationtitle", "Select");
16
+ _defineProperty(this, "timecanceltitle", "Cancel");
17
+ }
18
+ }
19
+ //# sourceMappingURL=time-picker-modal.props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BaseProps","WmTimePickerModalProps","constructor","args","_defineProperty"],"sources":["time-picker-modal.props.ts"],"sourcesContent":["import { BaseProps } from \"@wavemaker-ai/app-rn-runtime/core/base.component\";\n\nexport default class WmTimePickerModalProps extends BaseProps {\n isVisible: boolean = false;\n selectedDateTime?: any;\n is24Hour?: boolean = true;\n onClose?: () => void;\n onSelect?: (time: Date) => void;\n onCancel?: () => void;\n timeheadertitle?: string = \"Select Time\";\n timeconfirmationtitle?: string = \"Select\";\n timecanceltitle?: string = \"Cancel\";\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAE5E,eAAe,MAAMC,sBAAsB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBACvC,KAAK;IAAAA,eAAA;IAAAA,eAAA,mBAEL,IAAI;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,0BAIE,aAAa;IAAAA,eAAA,gCACP,QAAQ;IAAAA,eAAA,0BACd,QAAQ;EAAA;AACrC","ignoreList":[]}
@@ -0,0 +1,70 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
4
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
+ import React from 'react';
6
+ import { Platform, View } from 'react-native';
7
+ import { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';
8
+ import WmFileuploadProps from './fileupload.props';
9
+ import { DEFAULT_CLASS } from './fileupload.styles';
10
+ import WmButton from '@wavemaker-ai/app-rn-runtime/components/basic/button/button.component';
11
+ import { getMimeType } from '@wavemaker-ai/app-rn-runtime/core/utils';
12
+ import { FileUploadPluginConsumer } from '@wavemaker-ai/app-rn-runtime/core/device/fileupload-service';
13
+ export class WmFileuploadState extends BaseComponentState {
14
+ constructor(...args) {
15
+ super(...args);
16
+ _defineProperty(this, "selectedFiles", void 0);
17
+ }
18
+ }
19
+ const namedParameters = {
20
+ copyToCacheDirectory: false,
21
+ multiple: false,
22
+ type: '*/*'
23
+ };
24
+ export default class WmFileupload extends BaseComponent {
25
+ constructor(props) {
26
+ super(props, DEFAULT_CLASS, new WmFileuploadProps());
27
+ _defineProperty(this, "fileUploadService", null);
28
+ }
29
+ onTap(props) {
30
+ namedParameters.type = getMimeType(props.contenttype);
31
+ this.fileUploadService.getDocumentAsync(namedParameters).then(response => {
32
+ let selectedFile;
33
+ if (Platform.OS !== 'web') {
34
+ selectedFile = response.assets[0];
35
+ selectedFile.type = selectedFile.mimeType;
36
+ } else {
37
+ selectedFile = [response.assets[0].file];
38
+ }
39
+ this.invokeEventCallback('onBeforeselect', [null, this.proxy, selectedFile]);
40
+ this.updateState({
41
+ props: {
42
+ selectedFiles: selectedFile
43
+ }
44
+ }, this.invokeEventCallback.bind(this, 'onSelect', [null, this.proxy, selectedFile]));
45
+ });
46
+ }
47
+ renderWidget(props) {
48
+ const accessibilityProps = {
49
+ accessible: props.accessible,
50
+ accessibilitylabel: props.accessibilitylabel,
51
+ hint: props.hint,
52
+ accessibilityrole: props.accessibilityrole
53
+ };
54
+ return /*#__PURE__*/React.createElement(FileUploadPluginConsumer, null, fileUploadPluginService => {
55
+ this.fileUploadService = fileUploadPluginService;
56
+ return /*#__PURE__*/React.createElement(View, {
57
+ style: this.styles.root,
58
+ onLayout: event => this.handleLayout(event)
59
+ }, this._background, /*#__PURE__*/React.createElement(WmButton, _extends({
60
+ id: this.getTestId(),
61
+ iconclass: props.iconclass,
62
+ caption: props.caption,
63
+ styles: this.styles.button,
64
+ iconsize: props.iconsize,
65
+ onTap: () => this.onTap.bind(this)(props)
66
+ }, accessibilityProps)));
67
+ });
68
+ }
69
+ }
70
+ //# sourceMappingURL=fileupload.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Platform","View","BaseComponent","BaseComponentState","WmFileuploadProps","DEFAULT_CLASS","WmButton","getMimeType","FileUploadPluginConsumer","WmFileuploadState","constructor","args","_defineProperty","namedParameters","copyToCacheDirectory","multiple","type","WmFileupload","props","onTap","contenttype","fileUploadService","getDocumentAsync","then","response","selectedFile","OS","assets","mimeType","file","invokeEventCallback","proxy","updateState","selectedFiles","bind","renderWidget","accessibilityProps","accessible","accessibilitylabel","hint","accessibilityrole","createElement","fileUploadPluginService","style","styles","root","onLayout","event","handleLayout","_background","_extends","id","getTestId","iconclass","caption","button","iconsize"],"sources":["fileupload.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Platform, View } from 'react-native';\n\nimport { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nimport WmFileuploadProps from './fileupload.props';\nimport { DEFAULT_CLASS, WmFileuploadStyles } from './fileupload.styles';\nimport WmButton from '@wavemaker-ai/app-rn-runtime/components/basic/button/button.component';\nimport { getMimeType } from '@wavemaker-ai/app-rn-runtime/core/utils';\nimport { FileUploadPluginConsumer, FileUploadPluginService } from '@wavemaker-ai/app-rn-runtime/core/device/fileupload-service';\n\nexport interface SelectFileOutput {\n mimeType: string;\n name: string;\n size: number;\n type: 'cancel' | 'success';\n uri: string;\n}\n\nexport class WmFileuploadState extends BaseComponentState<WmFileuploadProps> {\n selectedFiles: any;\n}\n\ntype NamedParametersType = {\n copyToCacheDirectory: boolean,\n multiple: boolean,\n type: string | string[]\n};\n\nconst namedParameters: NamedParametersType = {\n copyToCacheDirectory: false,\n multiple: false,\n type: '*/*'\n};\n\nexport default class WmFileupload extends BaseComponent<WmFileuploadProps, WmFileuploadState, WmFileuploadStyles> {\n public fileUploadService: any = null as any;\n\n constructor(props: WmFileuploadProps) {\n super(props, DEFAULT_CLASS, new WmFileuploadProps());\n }\n\n onTap(props: WmFileuploadProps) {\n namedParameters.type = getMimeType(props.contenttype);\n this.fileUploadService.getDocumentAsync(namedParameters).then((response: any) => {\n let selectedFile;\n if (Platform.OS !== 'web') {\n selectedFile = response.assets[0];\n selectedFile.type = selectedFile.mimeType;\n } else {\n selectedFile = [response.assets[0].file];\n }\n this.invokeEventCallback('onBeforeselect', [null, this.proxy, selectedFile]);\n\n this.updateState({\n props: {\n selectedFiles: selectedFile\n }\n } as WmFileuploadState, this.invokeEventCallback.bind(this, 'onSelect', [null, this.proxy, selectedFile]));\n });\n }\n\n renderWidget(props: WmFileuploadProps) {\n const accessibilityProps = {\n accessible: props.accessible,\n accessibilitylabel: props.accessibilitylabel,\n hint: props.hint,\n accessibilityrole: props.accessibilityrole,\n };\n\n return (\n <FileUploadPluginConsumer>\n {(fileUploadPluginService: FileUploadPluginService) => {\n this.fileUploadService = fileUploadPluginService;\n return (\n <View style={this.styles.root} onLayout={(event) => this.handleLayout(event)}>\n {this._background}\n <WmButton id={this.getTestId()} iconclass={props.iconclass} caption={props.caption} styles={this.styles.button} iconsize={props.iconsize} onTap={() => this.onTap.bind(this)(props)} {...accessibilityProps}></WmButton>\n </View>\n )}}\n </FileUploadPluginConsumer>\n )\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,EAAEC,IAAI,QAAQ,cAAc;AAE7C,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,kDAAkD;AAEpG,OAAOC,iBAAiB,MAAM,oBAAoB;AAClD,SAASC,aAAa,QAA4B,qBAAqB;AACvE,OAAOC,QAAQ,MAAM,uEAAuE;AAC5F,SAASC,WAAW,QAAQ,yCAAyC;AACrE,SAASC,wBAAwB,QAAiC,6DAA6D;AAU/H,OAAO,MAAMC,iBAAiB,SAASN,kBAAkB,CAAoB;EAAAO,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA;EAAA;AAE7E;AAQA,MAAMC,eAAoC,GAAG;EAC3CC,oBAAoB,EAAE,KAAK;EAC3BC,QAAQ,EAAE,KAAK;EACfC,IAAI,EAAE;AACR,CAAC;AAED,eAAe,MAAMC,YAAY,SAASf,aAAa,CAA2D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ED,oBACEzC,KAAA,CAAA0C,aAAA,CAACjC,wBAAwB,QACvBkC,uBAAgD,IAAK;MACvD,IAAI,CAACrB,iBAAiB,GAAGqB,uBAAuB;MAChD,oBACE3C,KAAA,CAAA0C,aAAA,CAACxC,IAAI;QAAC0C,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC,IAAK;QAACC,QAAQ,EAAGC,KAAK,IAAK,IAAI,CAACC,YAAY,CAACD,KAAK;MAAE,GAC1E,IAAI,CAACE,WAAW,eACjBlD,KAAA,CAAA0C,aAAA,CAACnC,QAAQ,EAAA4C,QAAA;QAACC,EAAE,EAAE,IAAI,CAACC,SAAS,CAAC,CAAE;QAACC,SAAS,EAAEnC,KAAK,CAACmC,SAAU;QAACC,OAAO,EAAEpC,KAAK,CAACoC,OAAQ;QAACV,MAAM,EAAE,IAAI,CAACA,MAAM,CAACW,MAAO;QAACC,QAAQ,EAAEtC,KAAK,CAACsC,QAAS;QAACrC,KAAK,EAAEA,CAAA,KAAM,IAAI,CAACA,KAAK,CAACe,IAAI,CAAC,IAAI,CAAC,CAAChB,KAAK;MAAE,GAAKkB,kBAAkB,CAAY,CACnN,CAAC;IACR,CACyB,CAAC;EAE/B;AACF","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
+ import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';
5
+ export default class WmFileuploadProps extends BaseProps {
6
+ constructor(...args) {
7
+ super(...args);
8
+ _defineProperty(this, "iconclass", 'wm-sl-l sl-cloud-upload');
9
+ _defineProperty(this, "iconsize", 16);
10
+ _defineProperty(this, "caption", 'Upload');
11
+ _defineProperty(this, "selectedFiles", void 0);
12
+ _defineProperty(this, "contenttype", void 0);
13
+ _defineProperty(this, "accessible", true);
14
+ _defineProperty(this, "accessibilitylabel", undefined);
15
+ _defineProperty(this, "accessibilityrole", 'button');
16
+ _defineProperty(this, "hint", undefined);
17
+ }
18
+ }
19
+ //# sourceMappingURL=fileupload.props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BaseProps","WmFileuploadProps","constructor","args","_defineProperty","undefined"],"sources":["fileupload.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport {AccessibilityRole} from 'react-native';\n\nexport default class WmFileuploadProps extends BaseProps {\n iconclass: string = 'wm-sl-l sl-cloud-upload';\n iconsize: number = 16;\n caption: string = 'Upload';\n selectedFiles?: any;\n contenttype?: string;\n accessible?: boolean = true;\n accessibilitylabel?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'button';\n hint?: string = undefined;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAG5E,eAAe,MAAMC,iBAAiB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBACnC,yBAAyB;IAAAA,eAAA,mBAC1B,EAAE;IAAAA,eAAA,kBACH,QAAQ;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,qBAGH,IAAI;IAAAA,eAAA,6BACGC,SAAS;IAAAD,eAAA,4BACC,QAAQ;IAAAA,eAAA,eAChCC,SAAS;EAAA;AAC3B","ignoreList":[]}
@@ -0,0 +1,27 @@
1
+ import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';
2
+ import { defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';
3
+ export const DEFAULT_CLASS = 'app-fileupload';
4
+ BASE_THEME.registerStyle((themeVariables, addStyle) => {
5
+ const defaultStyles = defineStyles({
6
+ root: {
7
+ borderRadius: 32,
8
+ alignSelf: 'flex-start',
9
+ borderWidth: 1,
10
+ borderColor: themeVariables.fileuploadBorderColor,
11
+ borderStyle: 'solid',
12
+ backgroundColor: themeVariables.fileuploadBgColor
13
+ },
14
+ text: {},
15
+ button: {
16
+ root: {},
17
+ text: {
18
+ fontSize: 16,
19
+ fontWeight: '500',
20
+ textAlign: 'center',
21
+ textTransform: 'capitalize'
22
+ }
23
+ }
24
+ });
25
+ addStyle(DEFAULT_CLASS, '', defaultStyles);
26
+ });
27
+ //# sourceMappingURL=fileupload.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","borderRadius","alignSelf","borderWidth","borderColor","fileuploadBorderColor","borderStyle","backgroundColor","fileuploadBgColor","text","button","fontSize","fontWeight","textAlign","textTransform"],"sources":["fileupload.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport { WmButtonStyles } from '@wavemaker-ai/app-rn-runtime/components/basic/button/button.styles';\n\nexport type WmFileuploadStyles = BaseStyles & {\n button: WmButtonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-fileupload';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmFileuploadStyles = defineStyles({\n root: {\n borderRadius: 32,\n alignSelf: 'flex-start',\n borderWidth: 1,\n borderColor: themeVariables.fileuploadBorderColor,\n borderStyle: 'solid',\n backgroundColor: themeVariables.fileuploadBgColor\n },\n text: {\n\n },\n button: {\n root: {},\n text: {\n fontSize: 16,\n fontWeight: '500',\n textAlign: 'center',\n textTransform: 'capitalize',\n }\n } as WmButtonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,2CAA2C;AAClE,SAAqBC,YAAY,QAAQ,kDAAkD;AAO3F,OAAO,MAAMC,aAAa,GAAG,gBAAgB;AAC7CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAAiC,GAAGL,YAAY,CAAC;IACrDM,IAAI,EAAE;MACJC,YAAY,EAAE,EAAE;MAChBC,SAAS,EAAE,YAAY;MACvBC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAEP,cAAc,CAACQ,qBAAqB;MACjDC,WAAW,EAAE,OAAO;MACpBC,eAAe,EAAEV,cAAc,CAACW;IAClC,CAAC;IACDC,IAAI,EAAE,CAEN,CAAC;IACDC,MAAM,EAAE;MACNV,IAAI,EAAE,CAAC,CAAC;MACRS,IAAI,EAAE;QACJE,QAAQ,EAAE,EAAE;QACZC,UAAU,EAAE,KAAK;QACjBC,SAAS,EAAE,QAAQ;QACnBC,aAAa,EAAE;MACjB;IACF;EACF,CAAC,CAAC;EAEFhB,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,86 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
4
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
+ import React from 'react';
6
+ import { Platform, View } from 'react-native';
7
+ import { isNull } from 'lodash';
8
+ import WmNumberProps from './number.props';
9
+ import { DEFAULT_CLASS } from './number.styles';
10
+ import { WMTextInput } from '@wavemaker-ai/app-rn-runtime/core/components/textinput.component';
11
+ import { BaseNumberComponent, BaseNumberState } from '@wavemaker-ai/app-rn-runtime/components/input/basenumber/basenumber.component';
12
+ import { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker-ai/app-rn-runtime/core/accessibility';
13
+ import { createSkeleton } from '@wavemaker-ai/app-rn-runtime/components/basic/skeleton/skeleton.component';
14
+ export class WmNumberState extends BaseNumberState {
15
+ constructor(...args) {
16
+ super(...args);
17
+ _defineProperty(this, "keyboardType", void 0);
18
+ }
19
+ }
20
+ export default class WmNumber extends BaseNumberComponent {
21
+ constructor(props) {
22
+ super(props, DEFAULT_CLASS, new WmNumberProps(), new WmNumberState());
23
+ }
24
+ getStyleClassName() {
25
+ const classes = [];
26
+ if (this.state.props.floatinglabel) {
27
+ classes.push('app-number-with-label');
28
+ }
29
+ classes.push(super.getStyleClassName());
30
+ return classes.join(' ');
31
+ }
32
+ renderTextSkeleton() {
33
+ return this.props.floatinglabel ? /*#__PURE__*/React.createElement(View, {
34
+ style: {
35
+ ...this.styles.root
36
+ }
37
+ }, createSkeleton(this.theme, {}, {
38
+ ...this.styles.skeletonLabel.root
39
+ })) : /*#__PURE__*/React.createElement(React.Fragment, null, createSkeleton(this.theme, {}, {
40
+ ...this.styles.skeleton.root
41
+ }));
42
+ }
43
+ renderWidget(props) {
44
+ var _this$state$textValue, _this$theme$getStyle, _this$theme$getStyle2;
45
+ let opts = {};
46
+ const valueExpr = Platform.OS === 'web' ? 'value' : 'defaultValue';
47
+ const foundationStyle = this.theme.getStyle('app-input');
48
+ const classname = this.state.props.classname ? this.state.props.classname.split(" ").pop() : '';
49
+ opts[valueExpr] = ((_this$state$textValue = this.state.textValue) === null || _this$state$textValue === void 0 ? void 0 : _this$state$textValue.toString()) || '';
50
+ return this._showSkeleton ? this.renderTextSkeleton() : /*#__PURE__*/React.createElement(WMTextInput, _extends({}, this.getTestPropsForInput(), getAccessibilityProps(AccessibilityWidgetType.NUMBER, props), {
51
+ ref: ref => {
52
+ this.widgetRef = ref;
53
+ // @ts-ignore
54
+ if (ref && !isNull(ref.selectionStart) && !isNull(ref.selectionEnd)) {
55
+ // @ts-ignore
56
+ ref.selectionStart = ref.selectionEnd = this.cursor;
57
+ }
58
+ }
59
+ }, opts, {
60
+ floatingLabel: props.floatinglabel,
61
+ floatingLabelStyle: this.styles.floatingLabel,
62
+ activeFloatingLabelStyle: this.theme.mergeStyle(this.styles.activeFloatingLabel, (_this$theme$getStyle = this.theme.getStyle('app-number-with-label')) === null || _this$theme$getStyle === void 0 ? void 0 : _this$theme$getStyle.activeFloatingLabel, (_this$theme$getStyle2 = this.theme.getStyle(`${classname}`)) === null || _this$theme$getStyle2 === void 0 ? void 0 : _this$theme$getStyle2.focused),
63
+ isInputFocused: this.state.isInputFocused,
64
+ style: [this.theme.mergeStyle(this.styles.root, foundationStyle === null || foundationStyle === void 0 ? void 0 : foundationStyle.root), this.state.isValid ? {} : this.theme.mergeStyle(this.styles.invalid, foundationStyle === null || foundationStyle === void 0 ? void 0 : foundationStyle.invalid), this.state.isInputFocused ? this.theme.mergeStyle(this.styles.focused, foundationStyle === null || foundationStyle === void 0 ? void 0 : foundationStyle.focused, this.theme.getStyle(`${classname}`).focused) : {}, this.state.props.disabled ? this.theme.mergeStyle(foundationStyle === null || foundationStyle === void 0 ? void 0 : foundationStyle.disabled, this.theme.getStyle(`${classname}`).disabled) : {}],
65
+ keyboardType: "numeric",
66
+ background: this._background,
67
+ placeholderTextColor: this.styles.placeholderText.color,
68
+ autoFocus: props.autofocus,
69
+ editable: props.disabled || props.readonly ? false : true,
70
+ placeholder: props.placeholder,
71
+ onBlur: event => {
72
+ this.onBlur.bind(this)(event, !!props.displayValue);
73
+ },
74
+ onFocus: this.onFocus.bind(this),
75
+ onKeyPress: this.validateInputEntry.bind(this),
76
+ onChangeText: text => {
77
+ this.onChangeText.bind(this)(text, 'number', !!props.displayValue);
78
+ },
79
+ onChange: this.invokeChange.bind(this),
80
+ allowContentSelection: this.styles.text.userSelect === 'text',
81
+ customDisplayValue: props.displayValue,
82
+ handleLayout: event => this.handleLayout(event)
83
+ }));
84
+ }
85
+ }
86
+ //# sourceMappingURL=number.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Platform","View","isNull","WmNumberProps","DEFAULT_CLASS","WMTextInput","BaseNumberComponent","BaseNumberState","AccessibilityWidgetType","getAccessibilityProps","createSkeleton","WmNumberState","constructor","args","_defineProperty","WmNumber","props","getStyleClassName","classes","state","floatinglabel","push","join","renderTextSkeleton","createElement","style","styles","root","theme","skeletonLabel","Fragment","skeleton","renderWidget","_this$state$textValue","_this$theme$getStyle","_this$theme$getStyle2","opts","valueExpr","OS","foundationStyle","getStyle","classname","split","pop","textValue","toString","_showSkeleton","_extends","getTestPropsForInput","NUMBER","ref","widgetRef","selectionStart","selectionEnd","cursor","floatingLabel","floatingLabelStyle","activeFloatingLabelStyle","mergeStyle","activeFloatingLabel","focused","isInputFocused","isValid","invalid","disabled","keyboardType","background","_background","placeholderTextColor","placeholderText","color","autoFocus","autofocus","editable","readonly","placeholder","onBlur","event","bind","displayValue","onFocus","onKeyPress","validateInputEntry","onChangeText","text","onChange","invokeChange","allowContentSelection","userSelect","customDisplayValue","handleLayout"],"sources":["number.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, LayoutChangeEvent, Platform, View } from 'react-native';\nimport { isNull } from 'lodash';\n\nimport WmNumberProps from './number.props';\nimport { DEFAULT_CLASS, WmNumberStyles } from './number.styles';\nimport { WMTextInput } from '@wavemaker-ai/app-rn-runtime/core/components/textinput.component';\nimport {\n BaseNumberComponent,\n BaseNumberState\n} from '@wavemaker-ai/app-rn-runtime/components/input/basenumber/basenumber.component';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker-ai/app-rn-runtime/core/accessibility';\nimport { createSkeleton } from '@wavemaker-ai/app-rn-runtime/components/basic/skeleton/skeleton.component';\nimport { WmSkeletonStyles } from '../../basic/skeleton/skeleton.styles';\n\nexport class WmNumberState extends BaseNumberState<WmNumberProps> {\n keyboardType: any;\n}\n\nexport default class WmNumber extends BaseNumberComponent<WmNumberProps, WmNumberState, WmNumberStyles> {\n\n constructor(props: WmNumberProps) {\n super(props, DEFAULT_CLASS, new WmNumberProps(), new WmNumberState());\n }\n\n public getStyleClassName(): string | undefined {\n const classes = [];\n if (this.state.props.floatinglabel) {\n classes.push('app-number-with-label');\n }\n classes.push(super.getStyleClassName());\n return classes.join(' ');\n }\n\n public renderTextSkeleton(): React.ReactNode {\n return this.props.floatinglabel ?\n <View style={{...this.styles.root}}>{createSkeleton(this.theme, {} as WmSkeletonStyles, {...this.styles.skeletonLabel.root})}</View>\n :<>{createSkeleton(this.theme, {} as WmSkeletonStyles, {\n ...this.styles.skeleton.root,\n })}</>\n }\n\n renderWidget(props: WmNumberProps) {\n let opts: any = {};\n const valueExpr = Platform.OS === 'web' ? 'value' : 'defaultValue';\n const foundationStyle = this.theme.getStyle('app-input');\n const classname = this.state.props.classname ? this.state.props.classname.split(\" \").pop() : '';\n opts[valueExpr] = this.state.textValue?.toString() || '';\n return (this._showSkeleton ? this.renderTextSkeleton() :\n <WMTextInput\n {...this.getTestPropsForInput()}\n {...getAccessibilityProps(AccessibilityWidgetType.NUMBER, props)}\n ref={(ref: any) => {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 {...opts}\n floatingLabel={props.floatinglabel}\n floatingLabelStyle={this.styles.floatingLabel}\n activeFloatingLabelStyle={this.theme.mergeStyle(this.styles.activeFloatingLabel,\n this.theme.getStyle('app-number-with-label')?.activeFloatingLabel, \n this.theme.getStyle(`${classname}`)?.focused)}\n isInputFocused={ this.state.isInputFocused }\n style={[\n this.theme.mergeStyle(this.styles.root, foundationStyle?.root),\n this.state.isValid ? {} : this.theme.mergeStyle(this.styles.invalid, foundationStyle?.invalid),\n this.state.isInputFocused ? this.theme.mergeStyle(this.styles.focused, foundationStyle?.focused, this.theme.getStyle(`${classname}`).focused) : {},\n this.state.props.disabled ? this.theme.mergeStyle(foundationStyle?.disabled, this.theme.getStyle(`${classname}`).disabled) : {},\n ]}\n keyboardType=\"numeric\"\n background={this._background}\n placeholderTextColor={this.styles.placeholderText.color as any}\n autoFocus={props.autofocus}\n editable={props.disabled || props.readonly ? false : true}\n placeholder={props.placeholder}\n onBlur={(event)=>{this.onBlur.bind(this)(event, !!props.displayValue)}}\n onFocus={this.onFocus.bind(this)}\n onKeyPress={this.validateInputEntry.bind(this)}\n onChangeText={(text) => {\n this.onChangeText.bind(this)(text, 'number', !!props.displayValue);\n }}\n onChange={this.invokeChange.bind(this)}\n allowContentSelection={this.styles.text.userSelect === 'text'}\n customDisplayValue={props.displayValue}\n handleLayout={(event: LayoutChangeEvent) => this.handleLayout(event)}\n />);\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAA4CC,QAAQ,EAAEC,IAAI,QAAQ,cAAc;AAChF,SAASC,MAAM,QAAQ,QAAQ;AAE/B,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,SAASC,WAAW,QAAQ,kEAAkE;AAC9F,SACEC,mBAAmB,EACnBC,eAAe,QACV,+EAA+E;AACtF,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,iDAAiD;AAChH,SAASC,cAAc,QAAQ,2EAA2E;AAG1G,OAAO,MAAMC,aAAa,SAASJ,eAAe,CAAgB;EAAAK,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA;EAAA;AAElE;AAEA,eAAe,MAAMC,QAAQ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,eAAe,CAACC,KAAa;MAC/DC,SAAS,EAAEvD,KAAK,CAACwD,SAAU;MAC3BC,QAAQ,EAAEzD,KAAK,CAACgD,QAAQ,IAAIhD,KAAK,CAAC0D,QAAQ,GAAG,KAAK,GAAG,IAAK;MAC1DC,WAAW,EAAE3D,KAAK,CAAC2D,WAAY;MAC/BC,MAAM,EAAGC,KAAK,IAAG;QAAC,IAAI,CAACD,MAAM,CAACE,IAAI,CAAC,IAAI,CAAC,CAACD,KAAK,EAAE,CAAC,CAAC7D,KAAK,CAAC+D,YAAY,CAAC;MAAA,CAAE;MACvEC,OAAO,EAAE,IAAI,CAACA,OAAO,CAACF,IAAI,CAAC,IAAI,CAAE;MACjCG,UAAU,EAAE,IAAI,CAACC,kBAAkB,CAACJ,IAAI,CAAC,IAAI,CAAE;MAC/CK,YAAY,EAAGC,IAAI,IAAK;QACtB,IAAI,CAACD,YAAY,CAACL,IAAI,CAAC,IAAI,CAAC,CAACM,IAAI,EAAE,QAAQ,EAAE,CAAC,CAACpE,KAAK,CAAC+D,YAAY,CAAC;MACpE,CAAE;MACFM,QAAQ,EAAE,IAAI,CAACC,YAAY,CAACR,IAAI,CAAC,IAAI,CAAE;MACvCS,qBAAqB,EAAE,IAAI,CAAC7D,MAAM,CAAC0D,IAAI,CAACI,UAAU,KAAK,MAAO;MAC9DC,kBAAkB,EAAEzE,KAAK,CAAC+D,YAAa;MACvCW,YAAY,EAAGb,KAAwB,IAAK,IAAI,CAACa,YAAY,CAACb,KAAK;IAAE,EACtE,CAAC;EACJ;AACF","ignoreList":[]}
@@ -0,0 +1,13 @@
1
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
+ import BaseNumberProps from '@wavemaker-ai/app-rn-runtime/components/input/basenumber/basenumber.props';
5
+ export default class WmNumberProps extends BaseNumberProps {
6
+ constructor(...args) {
7
+ super(...args);
8
+ _defineProperty(this, "autofocus", null);
9
+ _defineProperty(this, "floatinglabel", void 0);
10
+ _defineProperty(this, "placeholder", '');
11
+ }
12
+ }
13
+ //# sourceMappingURL=number.props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BaseNumberProps","WmNumberProps","constructor","args","_defineProperty"],"sources":["number.props.ts"],"sourcesContent":["import BaseNumberProps from '@wavemaker-ai/app-rn-runtime/components/input/basenumber/basenumber.props';\n\nexport default class WmNumberProps extends BaseNumberProps {\n autofocus: boolean = null as any;\n floatinglabel?: string;\n placeholder: string = '';\n}\n"],"mappings":";;;AAAA,OAAOA,eAAe,MAAM,2EAA2E;AAEvG,eAAe,MAAMC,aAAa,SAASD,eAAe,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBACpC,IAAI;IAAAA,eAAA;IAAAA,eAAA,sBAEH,EAAE;EAAA;AAC1B","ignoreList":[]}