@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,18 @@
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 WmFormActionProps extends BaseProps {
6
+ constructor(...args) {
7
+ super(...args);
8
+ _defineProperty(this, "displayName", '');
9
+ _defineProperty(this, "formKey", '');
10
+ _defineProperty(this, "action", '');
11
+ _defineProperty(this, "show", true);
12
+ _defineProperty(this, "iconclass", void 0);
13
+ _defineProperty(this, "updateMode", true);
14
+ _defineProperty(this, "formAction", null);
15
+ _defineProperty(this, "iconposition", 'left');
16
+ }
17
+ }
18
+ //# sourceMappingURL=form-action.props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BaseProps","WmFormActionProps","constructor","args","_defineProperty"],"sources":["form-action.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nexport default class WmFormActionProps extends BaseProps {\n displayName: string = '';\n formKey: string = '';\n action: any = '';\n show: boolean = true;\n iconclass: any;\n updateMode: boolean = true;\n formAction: Function = null as any;\n iconposition? = 'left';\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAE5E,eAAe,MAAMC,iBAAiB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,sBACjC,EAAE;IAAAA,eAAA,kBACN,EAAE;IAAAA,eAAA,iBACN,EAAE;IAAAA,eAAA,eACA,IAAI;IAAAA,eAAA;IAAAA,eAAA,qBAEE,IAAI;IAAAA,eAAA,qBACH,IAAI;IAAAA,eAAA,uBACX,MAAM;EAAA;AACxB","ignoreList":[]}
@@ -0,0 +1,34 @@
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-form-action';
4
+ BASE_THEME.registerStyle((themeVariables, addStyle) => {
5
+ const defaultStyles = defineStyles({
6
+ root: {
7
+ marginTop: 0,
8
+ marginLeft: 4,
9
+ marginRight: 4,
10
+ marginBottom: 0,
11
+ flex: 1,
12
+ rippleColor: themeVariables.rippleColor
13
+ },
14
+ text: {},
15
+ icon: {
16
+ icon: {
17
+ fontSize: 20
18
+ }
19
+ },
20
+ skeleton: {
21
+ root: {
22
+ width: 96,
23
+ height: 48
24
+ }
25
+ }
26
+ });
27
+ addStyle(DEFAULT_CLASS + '-disabled', '', {
28
+ root: {
29
+ opacity: 0.5
30
+ }
31
+ });
32
+ addStyle(DEFAULT_CLASS, '', defaultStyles);
33
+ });
34
+ //# sourceMappingURL=form-action.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","marginTop","marginLeft","marginRight","marginBottom","flex","rippleColor","text","icon","fontSize","skeleton","width","height","opacity"],"sources":["form-action.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';\nimport { WmSkeletonStyles } from '@wavemaker-ai/app-rn-runtime/components/basic/skeleton/skeleton.styles';\n\nexport type WmFormActionStyles = WmButtonStyles & {\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-form-action';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmFormActionStyles = defineStyles({\n root: {\n marginTop: 0,\n marginLeft: 4,\n marginRight: 4,\n marginBottom: 0,\n flex: 1,\n rippleColor: themeVariables.rippleColor\n },\n text: {},\n icon : {\n icon: {\n fontSize: 20\n }\n },\n skeleton: {\n root: {\n width: 96,\n height: 48\n }\n } as WmSkeletonStyles\n } as WmFormActionStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n root : {\n opacity: 0.5\n }\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,2CAA2C;AAClE,SAAqBC,YAAY,QAAQ,kDAAkD;AAQ3F,OAAO,MAAMC,aAAa,GAAG,iBAAiB;AAC9CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAAiC,GAAGL,YAAY,CAAC;IACrDM,IAAI,EAAE;MACJC,SAAS,EAAE,CAAC;MACZC,UAAU,EAAE,CAAC;MACbC,WAAW,EAAE,CAAC;MACdC,YAAY,EAAE,CAAC;MACfC,IAAI,EAAE,CAAC;MACPC,WAAW,EAAET,cAAc,CAACS;IAC9B,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAG;MACLA,IAAI,EAAE;QACJC,QAAQ,EAAE;MACZ;IACF,CAAC;IACDC,QAAQ,EAAE;MACRV,IAAI,EAAE;QACJW,KAAK,EAAE,EAAE;QACTC,MAAM,EAAE;MACV;IACF;EACF,CAAuB,CAAC;EACxBd,QAAQ,CAACH,aAAa,GAAG,WAAW,EAAE,EAAE,EAAE;IACxCK,IAAI,EAAG;MACLa,OAAO,EAAE;IACX;EACF,CAAC,CAAC;EAEFf,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';
4
+ import WmFormBodyProps from './form-body.props';
5
+ import { DEFAULT_CLASS } from './form-body.styles';
6
+ export class WmFormBodyState extends BaseComponentState {}
7
+ export default class WmFormBody extends BaseComponent {
8
+ constructor(props) {
9
+ super(props, DEFAULT_CLASS, new WmFormBodyProps());
10
+ }
11
+ renderWidget(props) {
12
+ var _foundationStyle$body;
13
+ const foundationStyle = this.theme.getStyle('app-form');
14
+ return /*#__PURE__*/React.createElement(View, {
15
+ style: this.theme.mergeStyle(this.styles.root, foundationStyle === null || foundationStyle === void 0 || (_foundationStyle$body = foundationStyle.body) === null || _foundationStyle$body === void 0 ? void 0 : _foundationStyle$body.root),
16
+ onLayout: event => this.handleLayout(event)
17
+ }, this._background, props.children);
18
+ }
19
+ }
20
+ //# sourceMappingURL=form-body.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmFormBodyProps","DEFAULT_CLASS","WmFormBodyState","WmFormBody","constructor","props","renderWidget","_foundationStyle$body","foundationStyle","theme","getStyle","createElement","style","mergeStyle","styles","root","body","onLayout","event","handleLayout","_background","children"],"sources":["form-body.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nimport WmFormBodyProps from './form-body.props';\nimport { DEFAULT_CLASS, WmFormBodyStyles } from './form-body.styles';\n\nexport class WmFormBodyState extends BaseComponentState<WmFormBodyProps> {}\n\nexport default class WmFormBody extends BaseComponent<WmFormBodyProps, WmFormBodyState, WmFormBodyStyles> {\n\n constructor(props: WmFormBodyProps) {\n super(props, DEFAULT_CLASS, new WmFormBodyProps());\n }\n\n renderWidget(props: WmFormBodyProps) {\n const foundationStyle = this.theme.getStyle('app-form');\n return (\n <View\n style={this.theme.mergeStyle(this.styles.root, foundationStyle?.body?.root)}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n {props.children}\n </View>\n );\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,kDAAkD;AAEpG,OAAOC,eAAe,MAAM,mBAAmB;AAC/C,SAASC,aAAa,QAA0B,oBAAoB;AAEpE,OAAO,MAAMC,eAAe,SAASH,kBAAkB,CAAkB;AAEzE,eAAe,MAAMI,UAAU,SAASL,aAAa,CAAqD;EAExGM,WAAWA,CAACC,KAAsB,EAAE;IAClC,KAAK,CAACA,KAAK,EAAEJ,aAAa,EAAE,IAAID,eAAe,CAAC,CAAC,CAAC;EACpD;EAEAM,YAAYA,CAACD,KAAsB,EAAE;IAAA,IAAAE,qBAAA;IACjC,MAAMC,eAAe,GAAG,IAAI,CAACC,KAAK,CAACC,QAAQ,CAAC,UAAU,CAAC;IACzD,oBACEd,KAAA,CAAAe,aAAA,CAACd,IAAI;MACHe,KAAK,EAAE,IAAI,CAACH,KAAK,CAACI,UAAU,CAAC,IAAI,CAACC,MAAM,CAACC,IAAI,EAAEP,eAAe,aAAfA,eAAe,gBAAAD,qBAAA,GAAfC,eAAe,CAAEQ,IAAI,cAAAT,qBAAA,uBAArBA,qBAAA,CAAuBQ,IAAI,CAAE;MAC5EE,QAAQ,EAAGC,KAAK,IAAK,IAAI,CAACC,YAAY,CAACD,KAAK;IAAE,GAE7C,IAAI,CAACE,WAAW,EAChBf,KAAK,CAACgB,QACH,CAAC;EAEX;AACF","ignoreList":[]}
@@ -0,0 +1,11 @@
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 WmFormBodyProps extends BaseProps {
6
+ constructor(...args) {
7
+ super(...args);
8
+ _defineProperty(this, "children", []);
9
+ }
10
+ }
11
+ //# sourceMappingURL=form-body.props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BaseProps","WmFormBodyProps","constructor","args","_defineProperty"],"sources":["form-body.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nexport default class WmFormBodyProps extends BaseProps {\n children: any = [] as any;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAE5E,eAAe,MAAMC,eAAe,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,mBACnC,EAAE;EAAA;AACtB","ignoreList":[]}
@@ -0,0 +1,13 @@
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-form-body';
4
+ BASE_THEME.registerStyle((themeVariables, addStyle) => {
5
+ const defaultStyles = defineStyles({
6
+ root: {
7
+ flex: 1
8
+ },
9
+ text: {}
10
+ });
11
+ addStyle(DEFAULT_CLASS, '', defaultStyles);
12
+ });
13
+ //# sourceMappingURL=form-body.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flex","text"],"sources":["form-body.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';\n\nexport type WmFormBodyStyles = BaseStyles & {};\n\nexport const DEFAULT_CLASS = 'app-form-body';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmFormBodyStyles = defineStyles({\n root: {\n flex: 1\n },\n text: {}\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,2CAA2C;AAClE,SAAqBC,YAAY,QAAQ,kDAAkD;AAI3F,OAAO,MAAMC,aAAa,GAAG,eAAe;AAC5CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAA+B,GAAGL,YAAY,CAAC;IACjDM,IAAI,EAAE;MACFC,IAAI,EAAE;IACV,CAAC;IACDC,IAAI,EAAE,CAAC;EACX,CAAC,CAAC;EAEFJ,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC9C,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,257 @@
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 { Text, View } from 'react-native';
7
+ import { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';
8
+ import { isEqual, isNil, get, find, cloneDeep, forEach, keys } from 'lodash';
9
+ import WmFormFieldProps from './form-field.props';
10
+ import { DEFAULT_CLASS } from './form-field.styles';
11
+ import { PERFORMANCE_LOGGER } from "@wavemaker-ai/app-rn-runtime/core/logger";
12
+ export class WmFormFieldState extends BaseComponentState {
13
+ constructor(...args) {
14
+ super(...args);
15
+ _defineProperty(this, "isValid", true);
16
+ }
17
+ }
18
+ export default class WmFormField extends BaseComponent {
19
+ constructor(props) {
20
+ super(props, DEFAULT_CLASS, new WmFormFieldProps(), new WmFormFieldState());
21
+ _defineProperty(this, "form", void 0);
22
+ _defineProperty(this, "formwidget", void 0);
23
+ _defineProperty(this, "_syncValidators", void 0);
24
+ _defineProperty(this, "defaultValidatorMessages", []);
25
+ _defineProperty(this, "notifyForFields", []);
26
+ _defineProperty(this, "_asyncValidatorFn", void 0);
27
+ if (!this.form) {
28
+ this.form = props.formScope && props.formScope();
29
+ }
30
+ }
31
+ componentDidMount() {
32
+ var _this$form, _this$form2, _this$form3;
33
+ super.componentDidMount();
34
+ this.formwidget = this.props.formKey && ((_this$form = this.form) === null || _this$form === void 0 ? void 0 : _this$form.formWidgets[this.props.formKey]) || this.props.name && ((_this$form2 = this.form) === null || _this$form2 === void 0 ? void 0 : _this$form2.formWidgets[this.props.name]);
35
+ (_this$form3 = this.form) === null || _this$form3 === void 0 || _this$form3.registerFormFields(this.form.formFields, this.form.formWidgets);
36
+ }
37
+ onFieldChangeEvt(name, $new, $old, isDefault) {
38
+ this.notifyChanges();
39
+ if (!isEqual($old, $new)) {
40
+ this.updateState({
41
+ props: {
42
+ datavalue: $new
43
+ }
44
+ }, () => {
45
+ !isDefault && this.invokeEventCallback('onChange', [undefined, this, $new, $old]);
46
+ this.validateFormField();
47
+ });
48
+ if (this.form) {
49
+ this.form.updateDataOutput.call(this.form, get(this.props, 'formKey', this.props.name), $new);
50
+ }
51
+ }
52
+ }
53
+
54
+ // Registers observer of validation fields
55
+ observeOn(fields) {
56
+ forEach(fields, field => {
57
+ const formfield = find(this.form.formFields, f => f.proxy.name === field);
58
+ if (formfield) {
59
+ formfield.notifyForFields.push(this);
60
+ }
61
+ });
62
+ }
63
+
64
+ // Notifies changes to observing validation fields
65
+ notifyChanges() {
66
+ forEach(this.notifyForFields, field => {
67
+ field.formwidget.validate(field.formwidget.datavalue);
68
+ setTimeout(() => field.validateFormField());
69
+ });
70
+ }
71
+ getPromiseList(validators) {
72
+ const arr = [];
73
+ forEach(validators, fn => {
74
+ let promise = fn;
75
+ if (fn instanceof Function && fn.bind) {
76
+ promise = fn(this.formwidget.proxy, this.form);
77
+ }
78
+ if (promise instanceof Promise) {
79
+ arr.push(promise);
80
+ }
81
+ });
82
+ return arr;
83
+ }
84
+
85
+ // this method sets the asyncValidation on the form field. Assigns validationmessages from the returned response
86
+ setAsyncValidators(validators) {
87
+ this._asyncValidatorFn = () => {
88
+ return Promise.all(this.getPromiseList(validators)).then(() => {
89
+ return null;
90
+ }, err => {
91
+ let validationMsg;
92
+ // if err obj has validationMessage key, then set validationMessage using this value
93
+ // else return the value of the first key in the err object as validation message.
94
+ if (err.hasOwnProperty('errorMessage')) {
95
+ validationMsg = get(err, 'errorMessage');
96
+ } else {
97
+ const messageKeys = keys(err);
98
+ validationMsg = err[messageKeys[0]].toString();
99
+ }
100
+ this.setInvalidState(validationMsg);
101
+ return err;
102
+ });
103
+ };
104
+ }
105
+
106
+ // sets the default validation on the form field
107
+ setValidators(validators) {
108
+ let _cloneValidators = cloneDeep(validators);
109
+ this._syncValidators = [];
110
+ forEach(_cloneValidators, (obj, index) => {
111
+ // custom validation is bound to function.
112
+ if (obj && obj instanceof Function) {
113
+ // passing formwidget and form as arguments to the obj (i.e. validator function)
114
+ _cloneValidators[index] = obj.bind(undefined, this.formwidget.proxy, this.form);
115
+ this._syncValidators.push(_cloneValidators[index]);
116
+ } else {
117
+ // checks for default validator like required, maxchars etc.
118
+ const key = get(obj, 'type');
119
+ this.defaultValidatorMessages[key] = get(obj, 'errorMessage');
120
+ const value = get(obj, 'validator');
121
+ let propsObj = {
122
+ props: {}
123
+ };
124
+ propsObj.props[key] = value;
125
+ key === 'required' && this.updateState(propsObj);
126
+ this.formwidget.updateState(propsObj);
127
+ }
128
+ });
129
+ }
130
+ updateFormWidgetDataset(res, displayField) {
131
+ this.formwidget.updateState({
132
+ props: {
133
+ dataset: res.data,
134
+ datafield: 'All Fields',
135
+ displayfield: this.formwidget.state.props.displayfield || displayField
136
+ }
137
+ });
138
+ }
139
+ setInvalidState(msg) {
140
+ this.updateState({
141
+ isValid: false,
142
+ props: {
143
+ validationmessage: msg
144
+ }
145
+ });
146
+ this.formwidget.updateState({
147
+ isValid: false,
148
+ props: {
149
+ validationmessage: msg
150
+ }
151
+ });
152
+ }
153
+ onPropertyChange(name, $new, $old) {
154
+ switch (name) {
155
+ case 'datavalue':
156
+ if (!isEqual($old, $new)) {
157
+ PERFORMANCE_LOGGER.debug(`form field ${this.props.name} changed from ${$old} to ${$new}`);
158
+ }
159
+ break;
160
+ case 'defaultvalue':
161
+ if (!isEqual($old, $new)) {
162
+ get(this, 'form') && this.form.applyDefaultValue(this);
163
+ }
164
+ break;
165
+ case 'primary-key':
166
+ if ($new) {
167
+ this.form.setPrimaryKey(this.props.name);
168
+ }
169
+ break;
170
+ }
171
+ }
172
+ setReadOnlyState(updateMode) {
173
+ var _this$formwidget;
174
+ (_this$formwidget = this.formwidget) === null || _this$formwidget === void 0 || _this$formwidget.updateState({
175
+ props: {
176
+ readonly: !updateMode
177
+ }
178
+ });
179
+ }
180
+ validateFormField() {
181
+ var _this$formwidget2, _this$_syncValidators;
182
+ if (((_this$formwidget2 = this.formwidget) === null || _this$formwidget2 === void 0 ? void 0 : _this$formwidget2.state.isValid) === false) {
183
+ var _this$formwidget3;
184
+ const errorType = (_this$formwidget3 = this.formwidget) === null || _this$formwidget3 === void 0 || (_this$formwidget3 = _this$formwidget3.state) === null || _this$formwidget3 === void 0 ? void 0 : _this$formwidget3.errorType;
185
+ let validationMsg = get(this.defaultValidatorMessages, errorType);
186
+ if (validationMsg) {
187
+ if (validationMsg instanceof Function) {
188
+ // passing formwidget and form as arguments to the errorMessage function.
189
+ validationMsg = validationMsg(this.formwidget.proxy, this.form);
190
+ }
191
+ this.updateState({
192
+ props: {
193
+ validationmessage: validationMsg
194
+ }
195
+ });
196
+ }
197
+ this.updateState({
198
+ isValid: false
199
+ });
200
+ } else {
201
+ this.updateState({
202
+ isValid: true
203
+ });
204
+ }
205
+ (_this$_syncValidators = this._syncValidators) === null || _this$_syncValidators === void 0 || _this$_syncValidators.forEach(fn => {
206
+ const errormsg = fn();
207
+ let validationMsg = errormsg === null || errormsg === void 0 ? void 0 : errormsg.errorMessage;
208
+ if (validationMsg) {
209
+ if (validationMsg instanceof Function) {
210
+ // passing formwidget and form as arguments to the errorMessage function.
211
+ validationMsg = validationMsg(this.formwidget.proxy, this.form);
212
+ }
213
+ this.setInvalidState(validationMsg);
214
+ }
215
+ });
216
+ this._asyncValidatorFn && this._asyncValidatorFn();
217
+ }
218
+ get value() {
219
+ return this.state.props.datavalue;
220
+ }
221
+ renderWidget(props) {
222
+ var _this$styles$root, _this$form4, _layoutStyle$flexGrow, _layoutStyle$flexShri;
223
+ var childrenWithProps = React.Children.map(props.renderFormFields(this.proxy).props.children, child => {
224
+ var _child$props;
225
+ return /*#__PURE__*/React.cloneElement(child, {
226
+ datavalue: props.datavalue || (child === null || child === void 0 || (_child$props = child.props) === null || _child$props === void 0 ? void 0 : _child$props.datavalue),
227
+ value: this.value,
228
+ isValid: this.state.isValid,
229
+ maskchar: props.maskchar,
230
+ displayformat: props.displayformat,
231
+ autocomplete: props.autocomplete,
232
+ invokeEvent: this.invokeEventCallback.bind(this),
233
+ triggerValidation: this.validateFormField.bind(this),
234
+ onFieldChange: this.onFieldChangeEvt.bind(this),
235
+ formRef: props.formRef,
236
+ isdefault: props.defaultvalue !== undefined ? true : false,
237
+ ...(!isNil(props === null || props === void 0 ? void 0 : props.placeholder) ? {
238
+ placeholder: props.placeholder
239
+ } : {})
240
+ });
241
+ });
242
+ const hasUserDefinedWidth = ((_this$styles$root = this.styles.root) === null || _this$styles$root === void 0 ? void 0 : _this$styles$root.width) !== undefined;
243
+ const layoutStyle = (_this$form4 = this.form) === null || _this$form4 === void 0 || (_this$form4 = _this$form4.state) === null || _this$form4 === void 0 ? void 0 : _this$form4.fieldLayoutStyle;
244
+ const flexStyle = hasUserDefinedWidth ? {} : {
245
+ width: (layoutStyle === null || layoutStyle === void 0 ? void 0 : layoutStyle.width) || '100%',
246
+ flexGrow: (_layoutStyle$flexGrow = layoutStyle === null || layoutStyle === void 0 ? void 0 : layoutStyle.flexGrow) !== null && _layoutStyle$flexGrow !== void 0 ? _layoutStyle$flexGrow : 0,
247
+ flexShrink: (_layoutStyle$flexShri = layoutStyle === null || layoutStyle === void 0 ? void 0 : layoutStyle.flexShrink) !== null && _layoutStyle$flexShri !== void 0 ? _layoutStyle$flexShri : 0
248
+ };
249
+ return /*#__PURE__*/React.createElement(View, {
250
+ style: [this.styles.root, flexStyle],
251
+ onLayout: event => this.handleLayout(event)
252
+ }, this._background, childrenWithProps, this.state.isValid === false && /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForLabel('error_msg'), {
253
+ style: this.styles.errorMsg
254
+ }), props.validationmessage));
255
+ }
256
+ }
257
+ //# sourceMappingURL=form-field.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","isEqual","isNil","get","find","cloneDeep","forEach","keys","WmFormFieldProps","DEFAULT_CLASS","PERFORMANCE_LOGGER","WmFormFieldState","constructor","args","_defineProperty","WmFormField","props","form","formScope","componentDidMount","_this$form","_this$form2","_this$form3","formwidget","formKey","formWidgets","name","registerFormFields","formFields","onFieldChangeEvt","$new","$old","isDefault","notifyChanges","updateState","datavalue","invokeEventCallback","undefined","validateFormField","updateDataOutput","call","observeOn","fields","field","formfield","f","proxy","notifyForFields","push","validate","setTimeout","getPromiseList","validators","arr","fn","promise","Function","bind","Promise","setAsyncValidators","_asyncValidatorFn","all","then","err","validationMsg","hasOwnProperty","messageKeys","toString","setInvalidState","setValidators","_cloneValidators","_syncValidators","obj","index","key","defaultValidatorMessages","value","propsObj","updateFormWidgetDataset","res","displayField","dataset","data","datafield","displayfield","state","msg","isValid","validationmessage","onPropertyChange","debug","applyDefaultValue","setPrimaryKey","setReadOnlyState","updateMode","_this$formwidget","readonly","_this$formwidget2","_this$_syncValidators","_this$formwidget3","errorType","errormsg","errorMessage","renderWidget","_this$styles$root","_this$form4","_layoutStyle$flexGrow","_layoutStyle$flexShri","childrenWithProps","Children","map","renderFormFields","children","child","_child$props","cloneElement","maskchar","displayformat","autocomplete","invokeEvent","triggerValidation","onFieldChange","formRef","isdefault","defaultvalue","placeholder","hasUserDefinedWidth","styles","root","width","layoutStyle","fieldLayoutStyle","flexStyle","flexGrow","flexShrink","createElement","style","onLayout","event","handleLayout","_background","_extends","getTestPropsForLabel","errorMsg"],"sources":["form-field.component.tsx"],"sourcesContent":["import React from 'react';\nimport {DimensionValue, Text, View} from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport { widgetsWithUndefinedValue } from '@wavemaker-ai/app-rn-runtime/core/utils';\nimport { isEqual, isNil, get, find, cloneDeep, forEach, keys } from 'lodash';\n\nimport WmFormFieldProps from './form-field.props';\nimport { DEFAULT_CLASS, WmFormFieldStyles } from './form-field.styles';\nimport {PERFORMANCE_LOGGER} from \"@wavemaker-ai/app-rn-runtime/core/logger\";\n\nexport class WmFormFieldState extends BaseComponentState<WmFormFieldProps> {\n isValid = true;\n}\n\nexport default class WmFormField extends BaseComponent<WmFormFieldProps, WmFormFieldState, WmFormFieldStyles> {\n public form: any;\n public formwidget: any;\n public _syncValidators: any;\n public defaultValidatorMessages: any = [];\n private notifyForFields: any = [];\n private _asyncValidatorFn: any;\n constructor(props: WmFormFieldProps) {\n super(props, DEFAULT_CLASS, new WmFormFieldProps(), new WmFormFieldState());\n if (!this.form) {\n this.form = props.formScope && props.formScope();\n }\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.formwidget = (this.props.formKey && this.form?.formWidgets[this.props.formKey])\n || (this.props.name && this.form?.formWidgets[this.props.name]);\n this.form?.registerFormFields(this.form.formFields, this.form.formWidgets);\n }\n\n onFieldChangeEvt(name: string, $new: any, $old: any, isDefault: boolean) {\n this.notifyChanges();\n if (!isEqual($old, $new)) {\n this.updateState({ props: { datavalue: $new }} as WmFormFieldState, () => {\n !isDefault && this.invokeEventCallback('onChange', [undefined, this, $new, $old]);\n this.validateFormField();\n });\n if (this.form) {\n this.form.updateDataOutput.call(this.form, get(this.props, 'formKey', this.props.name), $new);\n }\n }\n }\n\n // Registers observer of validation fields\n observeOn(fields: any) {\n forEach(fields, (field) => {\n const formfield = find(this.form.formFields, (f) => f.proxy.name === field);\n if (formfield) {\n formfield.notifyForFields.push(this);\n }\n });\n }\n\n // Notifies changes to observing validation fields\n notifyChanges() {\n forEach(this.notifyForFields, (field) => {\n field.formwidget.validate(field.formwidget.datavalue);\n setTimeout(() => field.validateFormField());\n });\n }\n\n getPromiseList(validators: any) {\n const arr: any = [];\n forEach(validators, (fn) => {\n let promise = fn;\n if (fn instanceof Function && fn.bind) {\n promise = fn(this.formwidget.proxy, this.form);\n }\n if (promise instanceof Promise) {\n arr.push(promise);\n }\n });\n return arr;\n }\n\n // this method sets the asyncValidation on the form field. Assigns validationmessages from the returned response\n setAsyncValidators(validators: any) {\n this._asyncValidatorFn = () => {\n return Promise.all(this.getPromiseList(validators)).then(() => {\n return null;\n }, err => {\n let validationMsg: string;\n // if err obj has validationMessage key, then set validationMessage using this value\n // else return the value of the first key in the err object as validation message.\n if (err.hasOwnProperty('errorMessage')) {\n validationMsg = get(err, 'errorMessage');\n } else {\n const messageKeys = keys(err);\n validationMsg = (err[messageKeys[0]]).toString();\n }\n this.setInvalidState(validationMsg);\n return err;\n })\n };\n }\n\n // sets the default validation on the form field\n setValidators(validators: any) {\n let _cloneValidators = cloneDeep(validators);\n this._syncValidators = [];\n forEach(_cloneValidators, (obj, index) => {\n // custom validation is bound to function.\n if (obj && obj instanceof Function) {\n // passing formwidget and form as arguments to the obj (i.e. validator function)\n _cloneValidators[index] = obj.bind(undefined, this.formwidget.proxy, this.form);\n this._syncValidators.push(_cloneValidators[index]);\n } else {\n // checks for default validator like required, maxchars etc.\n const key = get(obj, 'type');\n this.defaultValidatorMessages[key] = get(obj, 'errorMessage');\n const value = get(obj, 'validator');\n let propsObj: any = {\n props: {}\n };\n propsObj.props[key] = value;\n key === 'required' && this.updateState(propsObj as WmFormFieldState);\n this.formwidget.updateState(propsObj as WmFormFieldState);\n }\n });\n }\n\n updateFormWidgetDataset(res: any, displayField: string) {\n this.formwidget.updateState({\n props: {\n dataset: res.data,\n datafield: 'All Fields',\n displayfield: this.formwidget.state.props.displayfield || displayField,\n }\n } as WmFormFieldState);\n }\n\n setInvalidState(msg: string) {\n this.updateState({\n isValid: false,\n props: {\n validationmessage: msg\n }\n } as WmFormFieldState)\n this.formwidget.updateState({\n isValid: false,\n props: {\n validationmessage: msg\n }\n } as WmFormFieldState);\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch (name) {\n case 'datavalue':\n if (!isEqual($old, $new)) {\n PERFORMANCE_LOGGER.debug(`form field ${this.props.name} changed from ${$old} to ${$new}`);\n }\n break;\n case 'defaultvalue':\n if (!isEqual($old, $new)) {\n get(this, 'form') && this.form.applyDefaultValue(this);\n }\n break;\n case 'primary-key':\n if ($new) {\n this.form.setPrimaryKey(this.props.name);\n }\n break;\n }\n }\n\n setReadOnlyState(updateMode: any) {\n this.formwidget?.updateState({\n props: {\n readonly: !updateMode,\n }\n } as WmFormFieldState);\n }\n\n validateFormField() {\n if (this.formwidget?.state.isValid === false) {\n const errorType = this.formwidget?.state?.errorType;\n let validationMsg = get(this.defaultValidatorMessages, errorType);\n if (validationMsg) {\n if (validationMsg instanceof Function) {\n // passing formwidget and form as arguments to the errorMessage function.\n validationMsg = validationMsg(this.formwidget.proxy, this.form);\n }\n this.updateState({ props: {\n validationmessage: validationMsg\n }} as WmFormFieldState);\n }\n this.updateState({ isValid: false} as WmFormFieldState);\n } else {\n this.updateState({ isValid: true } as WmFormFieldState);\n }\n\n this._syncValidators?.forEach((fn: any) => {\n const errormsg = fn();\n let validationMsg = errormsg?.errorMessage;\n if (validationMsg) {\n if (validationMsg instanceof Function) {\n // passing formwidget and form as arguments to the errorMessage function.\n validationMsg = validationMsg(this.formwidget.proxy, this.form);\n }\n this.setInvalidState(validationMsg);\n }\n })\n\n this._asyncValidatorFn && this._asyncValidatorFn();\n\n }\n\n get value(){\n return this.state.props.datavalue;\n }\n\n renderWidget(props: WmFormFieldProps) {\n var childrenWithProps = React.Children.map(props.renderFormFields(this.proxy).props.children, (child) => {\n return React.cloneElement(child, {\n datavalue: props.datavalue || child?.props?.datavalue,\n value: this.value,\n isValid: this.state.isValid,\n maskchar: props.maskchar,\n displayformat: props.displayformat,\n autocomplete: props.autocomplete,\n invokeEvent: this.invokeEventCallback.bind(this),\n triggerValidation: this.validateFormField.bind(this),\n onFieldChange: this.onFieldChangeEvt.bind(this),\n formRef: props.formRef,\n isdefault: props.defaultvalue !== undefined ? true : false,\n ...(!isNil(props?.placeholder) ? { placeholder: props.placeholder } : {})\n });\n });\n\n const hasUserDefinedWidth = this.styles.root?.width !== undefined;\n const layoutStyle = this.form?.state?.fieldLayoutStyle;\n\n const flexStyle = hasUserDefinedWidth ? {} : {\n width: layoutStyle?.width || '100%',\n flexGrow: layoutStyle?.flexGrow ?? 0,\n flexShrink: layoutStyle?.flexShrink ?? 0,\n };\n\n return (\n <View\n style={[this.styles.root, flexStyle]}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n {childrenWithProps}\n {this.state.isValid === false && <Text {...this.getTestPropsForLabel('error_msg')} style={this.styles.errorMsg}>{props.validationmessage}</Text>}\n </View>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAwBC,IAAI,EAAEC,IAAI,QAAO,cAAc;AACvD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,kDAAkD;AAEpG,SAASC,OAAO,EAAEC,KAAK,EAAEC,GAAG,EAAEC,IAAI,EAAEC,SAAS,EAAEC,OAAO,EAAEC,IAAI,QAAQ,QAAQ;AAE5E,OAAOC,gBAAgB,MAAM,oBAAoB;AACjD,SAASC,aAAa,QAA2B,qBAAqB;AACtE,SAAQC,kBAAkB,QAAO,0CAA0C;AAE3E,OAAO,MAAMC,gBAAgB,SAASX,kBAAkB,CAAmB;EAAAY,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,kBAC/D,IAAI;EAAA;AAChB;AAEA,eAAe,MAAMC,WAAW,SAAShB,aAAa,CAAwD;EAO5Ga,WAAWA,CAACI,KAAuB,EAAE;IACnC,KAAK,CAACA,KAAK,EAAEP,aAAa,EAAE,IAAID,gBAAgB,CAAC,CAAC,EAAE,IAAIG,gBAAgB,CAAC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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 WmFormFieldProps extends BaseProps {
6
+ constructor(...args) {
7
+ super(...args);
8
+ _defineProperty(this, "children", void 0);
9
+ _defineProperty(this, "formRef", void 0);
10
+ _defineProperty(this, "placeholder", void 0);
11
+ _defineProperty(this, "defaultvalue", void 0);
12
+ _defineProperty(this, "generator", '');
13
+ _defineProperty(this, "datavalue", void 0);
14
+ _defineProperty(this, "onChange", void 0);
15
+ _defineProperty(this, "renderFormFields", void 0);
16
+ _defineProperty(this, "validationmessage", void 0);
17
+ _defineProperty(this, "required", false);
18
+ _defineProperty(this, "primaryKey", false);
19
+ _defineProperty(this, "isRelated", void 0);
20
+ _defineProperty(this, "widget", void 0);
21
+ _defineProperty(this, "onFieldChange", void 0);
22
+ _defineProperty(this, "formKey", '');
23
+ _defineProperty(this, "dataset", void 0);
24
+ _defineProperty(this, "displayfield", void 0);
25
+ _defineProperty(this, "datafield", '');
26
+ _defineProperty(this, "isDataSetBound", false);
27
+ _defineProperty(this, "readonly", false);
28
+ _defineProperty(this, "onValidate", void 0);
29
+ _defineProperty(this, "formScope", () => {});
30
+ _defineProperty(this, "maskchar", null);
31
+ _defineProperty(this, "displayformat", null);
32
+ _defineProperty(this, "autocomplete", "username");
33
+ }
34
+ }
35
+ //# sourceMappingURL=form-field.props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BaseProps","WmFormFieldProps","constructor","args","_defineProperty"],"sources":["form-field.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nexport default class WmFormFieldProps extends BaseProps {\n children: any;\n formRef: any;\n placeholder?: string;\n defaultvalue: any;\n generator: string = '';\n datavalue: any;\n onChange: any;\n renderFormFields: any;\n validationmessage: any;\n required: Boolean = false;\n primaryKey: Boolean = false;\n isRelated: any;\n widget: any;\n onFieldChange: any;\n formKey: string = '';\n dataset: any;\n displayfield: any;\n datafield: string = '';\n isDataSetBound: boolean = false;\n readonly: boolean = false;\n onValidate?: Function;\n formScope?: Function = () => {};\n maskchar: string = null as any;\n displayformat: string = null as any;\n autocomplete: string = \"username\";\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAE5E,eAAe,MAAMC,gBAAgB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,oBAKlC,EAAE;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,mBAKF,KAAK;IAAAA,eAAA,qBACH,KAAK;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,kBAIT,EAAE;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,oBAGA,EAAE;IAAAA,eAAA,yBACI,KAAK;IAAAA,eAAA,mBACX,KAAK;IAAAA,eAAA;IAAAA,eAAA,oBAEF,MAAM,CAAC,CAAC;IAAAA,eAAA,mBACZ,IAAI;IAAAA,eAAA,wBACC,IAAI;IAAAA,eAAA,uBACL,UAAU;EAAA;AACnC","ignoreList":[]}
@@ -0,0 +1,40 @@
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-form-field';
4
+ BASE_THEME.registerStyle((themeVariables, addStyle) => {
5
+ const defaultStyles = defineStyles({
6
+ root: {
7
+ marginBottom: 24
8
+ },
9
+ text: {},
10
+ errorMsg: {
11
+ color: 'red',
12
+ fontSize: 13,
13
+ paddingTop: 6,
14
+ fontFamily: themeVariables.baseFont
15
+ }
16
+ });
17
+
18
+ // Add horizontal form field layout class - positioned early to avoid overriding more specific styles
19
+ addStyle('app-form-field-horizontal', '', {
20
+ root: {
21
+ marginBottom: 24,
22
+ flexDirection: 'row',
23
+ alignItems: 'flex-start',
24
+ minHeight: 40,
25
+ width: '100%' // Ensure form field takes full width
26
+ },
27
+ text: {}
28
+ });
29
+ addStyle('form-label', '', {
30
+ root: {
31
+ paddingBottom: 5
32
+ },
33
+ text: {
34
+ color: themeVariables.defaultTextColor,
35
+ fontSize: themeVariables.heading5FontSize
36
+ }
37
+ });
38
+ addStyle(DEFAULT_CLASS, '', defaultStyles);
39
+ });
40
+ //# sourceMappingURL=form-field.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","marginBottom","text","errorMsg","color","fontSize","paddingTop","fontFamily","baseFont","flexDirection","alignItems","minHeight","width","paddingBottom","defaultTextColor","heading5FontSize"],"sources":["form-field.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 { TextStyle } from 'react-native';\n\nexport type WmFormFieldStyles = BaseStyles & {\n errorMsg: TextStyle\n};\n\nexport const DEFAULT_CLASS = 'app-form-field';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmFormFieldStyles = defineStyles({\n root: {\n marginBottom: 24\n },\n text: {},\n errorMsg: {\n color: 'red',\n fontSize: 13,\n paddingTop: 6,\n fontFamily: themeVariables.baseFont\n }\n });\n\n // Add horizontal form field layout class - positioned early to avoid overriding more specific styles\n addStyle('app-form-field-horizontal', '', {\n root: {\n marginBottom: 24,\n flexDirection: 'row',\n alignItems: 'flex-start',\n minHeight: 40,\n width: '100%' // Ensure form field takes full width\n },\n text: {}\n } as BaseStyles);\n\n addStyle('form-label', '', {\n root : {\n paddingBottom: 5\n },\n text: {\n color: themeVariables.defaultTextColor,\n fontSize: themeVariables.heading5FontSize\n }\n } as BaseStyles);\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;EACnD,MAAMC,aAAgC,GAAGL,YAAY,CAAC;IAClDM,IAAI,EAAE;MACFC,YAAY,EAAE;IAClB,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,QAAQ,EAAE;MACNC,KAAK,EAAE,KAAK;MACZC,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE,CAAC;MACbC,UAAU,EAAEV,cAAc,CAACW;IAC/B;EACJ,CAAC,CAAC;;EAEF;EACAV,QAAQ,CAAC,2BAA2B,EAAE,EAAE,EAAE;IACtCE,IAAI,EAAE;MACFC,YAAY,EAAE,EAAE;MAChBQ,aAAa,EAAE,KAAK;MACpBC,UAAU,EAAE,YAAY;MACxBC,SAAS,EAAE,EAAE;MACbC,KAAK,EAAE,MAAM,CAAC;IAClB,CAAC;IACDV,IAAI,EAAE,CAAC;EACX,CAAe,CAAC;EAEhBJ,QAAQ,CAAC,YAAY,EAAE,EAAE,EAAE;IACvBE,IAAI,EAAG;MACHa,aAAa,EAAE;IACnB,CAAC;IACDX,IAAI,EAAE;MACFE,KAAK,EAAEP,cAAc,CAACiB,gBAAgB;MACtCT,QAAQ,EAAER,cAAc,CAACkB;IAC7B;EACJ,CAAe,CAAC;EAEhBjB,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC9C,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';
4
+ import WmFormFooterProps from './form-footer.props';
5
+ import { DEFAULT_CLASS } from './form-footer.styles';
6
+ export class WmFormFooterState extends BaseComponentState {}
7
+ export default class WmFormFooter extends BaseComponent {
8
+ constructor(props) {
9
+ super(props, DEFAULT_CLASS, new WmFormFooterProps());
10
+ }
11
+ renderWidget(props) {
12
+ var _foundationStyle$foot;
13
+ const foundationStyle = this.theme.getStyle('app-form');
14
+ return /*#__PURE__*/React.createElement(View, {
15
+ style: this.theme.mergeStyle(this.styles.root, foundationStyle === null || foundationStyle === void 0 || (_foundationStyle$foot = foundationStyle.footer) === null || _foundationStyle$foot === void 0 ? void 0 : _foundationStyle$foot.root),
16
+ onLayout: event => this.handleLayout(event)
17
+ }, this._background, props.children);
18
+ }
19
+ }
20
+ //# sourceMappingURL=form-footer.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmFormFooterProps","DEFAULT_CLASS","WmFormFooterState","WmFormFooter","constructor","props","renderWidget","_foundationStyle$foot","foundationStyle","theme","getStyle","createElement","style","mergeStyle","styles","root","footer","onLayout","event","handleLayout","_background","children"],"sources":["form-footer.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nimport WmFormFooterProps from './form-footer.props';\nimport { DEFAULT_CLASS, WmFormFooterStyles } from './form-footer.styles';\n\nexport class WmFormFooterState extends BaseComponentState<WmFormFooterProps> {}\n\nexport default class WmFormFooter extends BaseComponent<WmFormFooterProps, WmFormFooterState, WmFormFooterStyles> {\n\n constructor(props: WmFormFooterProps) {\n super(props, DEFAULT_CLASS, new WmFormFooterProps());\n }\n\n renderWidget(props: WmFormFooterProps) {\n const foundationStyle = this.theme.getStyle('app-form');\n return (\n <View\n style={this.theme.mergeStyle(this.styles.root, foundationStyle?.footer?.root)}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n {props.children}\n </View>\n );\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,kDAAkD;AAEpG,OAAOC,iBAAiB,MAAM,qBAAqB;AACnD,SAASC,aAAa,QAA4B,sBAAsB;AAExE,OAAO,MAAMC,iBAAiB,SAASH,kBAAkB,CAAoB;AAE7E,eAAe,MAAMI,YAAY,SAASL,aAAa,CAA2D;EAEhHM,WAAWA,CAACC,KAAwB,EAAE;IACpC,KAAK,CAACA,KAAK,EAAEJ,aAAa,EAAE,IAAID,iBAAiB,CAAC,CAAC,CAAC;EACtD;EAEAM,YAAYA,CAACD,KAAwB,EAAE;IAAA,IAAAE,qBAAA;IACrC,MAAMC,eAAe,GAAG,IAAI,CAACC,KAAK,CAACC,QAAQ,CAAC,UAAU,CAAC;IACvD,oBACEd,KAAA,CAAAe,aAAA,CAACd,IAAI;MACHe,KAAK,EAAE,IAAI,CAACH,KAAK,CAACI,UAAU,CAAC,IAAI,CAACC,MAAM,CAACC,IAAI,EAAEP,eAAe,aAAfA,eAAe,gBAAAD,qBAAA,GAAfC,eAAe,CAAEQ,MAAM,cAAAT,qBAAA,uBAAvBA,qBAAA,CAAyBQ,IAAI,CAAE;MAC9EE,QAAQ,EAAGC,KAAK,IAAK,IAAI,CAACC,YAAY,CAACD,KAAK;IAAE,GAE7C,IAAI,CAACE,WAAW,EAChBf,KAAK,CAACgB,QACH,CAAC;EAEX;AACF","ignoreList":[]}
@@ -0,0 +1,11 @@
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 WmFormFooterProps extends BaseProps {
6
+ constructor(...args) {
7
+ super(...args);
8
+ _defineProperty(this, "children", []);
9
+ }
10
+ }
11
+ //# sourceMappingURL=form-footer.props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BaseProps","WmFormFooterProps","constructor","args","_defineProperty"],"sources":["form-footer.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nexport default class WmFormFooterProps extends BaseProps {\n children: any = [] as any;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAE5E,eAAe,MAAMC,iBAAiB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,mBACrC,EAAE;EAAA;AACtB","ignoreList":[]}
@@ -0,0 +1,18 @@
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-form-footer';
4
+ BASE_THEME.registerStyle((themeVariables, addStyle) => {
5
+ const defaultStyles = defineStyles({
6
+ root: {
7
+ flexDirection: 'row',
8
+ padding: 8,
9
+ justifyContent: 'flex-end',
10
+ borderStyle: 'solid',
11
+ borderTopWidth: 1,
12
+ borderColor: themeVariables.formBorderColor
13
+ },
14
+ text: {}
15
+ });
16
+ addStyle(DEFAULT_CLASS, '', defaultStyles);
17
+ });
18
+ //# sourceMappingURL=form-footer.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","padding","justifyContent","borderStyle","borderTopWidth","borderColor","formBorderColor","text"],"sources":["form-footer.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';\n\nexport type WmFormFooterStyles = BaseStyles & {};\n\nexport const DEFAULT_CLASS = 'app-form-footer';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmFormFooterStyles = defineStyles({\n root: {\n flexDirection: 'row',\n padding: 8,\n justifyContent: 'flex-end',\n borderStyle: 'solid',\n borderTopWidth: 1,\n borderColor: themeVariables.formBorderColor\n },\n text: {}\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,2CAA2C;AAClE,SAAqBC,YAAY,QAAQ,kDAAkD;AAI3F,OAAO,MAAMC,aAAa,GAAG,iBAAiB;AAC9CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAiC,GAAGL,YAAY,CAAC;IACnDM,IAAI,EAAE;MACFC,aAAa,EAAE,KAAK;MACpBC,OAAO,EAAE,CAAC;MACVC,cAAc,EAAE,UAAU;MAC1BC,WAAW,EAAE,OAAO;MACpBC,cAAc,EAAE,CAAC;MACjBC,WAAW,EAAET,cAAc,CAACU;IAChC,CAAC;IACDC,IAAI,EAAE,CAAC;EACX,CAAC,CAAC;EAEFV,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC9C,CAAC,CAAC","ignoreList":[]}