@wavemaker/app-rn-runtime 12.0.0-next.140535 → 12.0.0-next.141131

Sign up to get free protection for your applications and to get access to all the features.
Files changed (286) hide show
  1. app-rn-runtime/components/advanced/carousel/carousel.component.js +5 -32
  2. app-rn-runtime/components/advanced/carousel/carousel.component.js.map +1 -1
  3. app-rn-runtime/components/advanced/carousel/carousel.props.js +0 -1
  4. app-rn-runtime/components/advanced/carousel/carousel.props.js.map +1 -1
  5. app-rn-runtime/components/advanced/carousel/carousel.styles.js +0 -15
  6. app-rn-runtime/components/advanced/carousel/carousel.styles.js.map +1 -1
  7. app-rn-runtime/components/advanced/webview/webview.component.js.map +1 -1
  8. app-rn-runtime/components/basic/anchor/anchor.component.js +5 -15
  9. app-rn-runtime/components/basic/anchor/anchor.component.js.map +1 -1
  10. app-rn-runtime/components/basic/anchor/anchor.styles.js +0 -3
  11. app-rn-runtime/components/basic/anchor/anchor.styles.js.map +1 -1
  12. app-rn-runtime/components/basic/animatedview.component.js +2 -6
  13. app-rn-runtime/components/basic/animatedview.component.js.map +1 -1
  14. app-rn-runtime/components/basic/audio/audio.component.js.map +1 -1
  15. app-rn-runtime/components/basic/button/button.component.js +6 -20
  16. app-rn-runtime/components/basic/button/button.component.js.map +1 -1
  17. app-rn-runtime/components/basic/icon/icon.component.js +6 -14
  18. app-rn-runtime/components/basic/icon/icon.component.js.map +1 -1
  19. app-rn-runtime/components/basic/label/label.component.js +3 -13
  20. app-rn-runtime/components/basic/label/label.component.js.map +1 -1
  21. app-rn-runtime/components/basic/label/label.styles.js.map +1 -1
  22. app-rn-runtime/components/basic/message/message.component.js.map +1 -1
  23. app-rn-runtime/components/basic/picture/picture.component.js +2 -1
  24. app-rn-runtime/components/basic/picture/picture.component.js.map +1 -1
  25. app-rn-runtime/components/basic/progress-bar/progress-bar.component.js +2 -2
  26. app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +1 -1
  27. app-rn-runtime/components/basic/progress-circle/progress-circle.component.js +5 -5
  28. app-rn-runtime/components/basic/progress-circle/progress-circle.component.js.map +1 -1
  29. app-rn-runtime/components/basic/search/search.component.js +0 -12
  30. app-rn-runtime/components/basic/search/search.component.js.map +1 -1
  31. app-rn-runtime/components/basic/search/search.props.js +0 -2
  32. app-rn-runtime/components/basic/search/search.props.js.map +1 -1
  33. app-rn-runtime/components/basic/search/search.styles.js +0 -6
  34. app-rn-runtime/components/basic/search/search.styles.js.map +1 -1
  35. app-rn-runtime/components/basic/skeleton/skeleton.component.js +3 -4
  36. app-rn-runtime/components/basic/skeleton/skeleton.component.js.map +1 -1
  37. app-rn-runtime/components/basic/skeleton/skeleton.props.js +1 -9
  38. app-rn-runtime/components/basic/skeleton/skeleton.props.js.map +1 -1
  39. app-rn-runtime/components/basic/spinner/spinner.component.js +3 -2
  40. app-rn-runtime/components/basic/spinner/spinner.component.js.map +1 -1
  41. app-rn-runtime/components/basic/spinner/spinner.styles.js +2 -3
  42. app-rn-runtime/components/basic/spinner/spinner.styles.js.map +1 -1
  43. app-rn-runtime/components/basic/video/video.component.js.map +1 -1
  44. app-rn-runtime/components/basic/video/video.styles.js +1 -4
  45. app-rn-runtime/components/basic/video/video.styles.js.map +1 -1
  46. app-rn-runtime/components/chart/area-chart/area-chart.component.js.map +1 -1
  47. app-rn-runtime/components/chart/area-chart/area-chart.styles.js +1 -7
  48. app-rn-runtime/components/chart/area-chart/area-chart.styles.js.map +1 -1
  49. app-rn-runtime/components/chart/bar-chart/bar-chart.styles.js +1 -7
  50. app-rn-runtime/components/chart/bar-chart/bar-chart.styles.js.map +1 -1
  51. app-rn-runtime/components/chart/basechart.component.js +2 -54
  52. app-rn-runtime/components/chart/basechart.component.js.map +1 -1
  53. app-rn-runtime/components/chart/basechart.props.js +2 -3
  54. app-rn-runtime/components/chart/basechart.props.js.map +1 -1
  55. app-rn-runtime/components/chart/basechart.styles.js +0 -4
  56. app-rn-runtime/components/chart/basechart.styles.js.map +1 -1
  57. app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js +3 -15
  58. app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js.map +1 -1
  59. app-rn-runtime/components/chart/bubble-chart/bubble-chart.styles.js +1 -7
  60. app-rn-runtime/components/chart/bubble-chart/bubble-chart.styles.js.map +1 -1
  61. app-rn-runtime/components/chart/column-chart/column-chart.styles.js +1 -7
  62. app-rn-runtime/components/chart/column-chart/column-chart.styles.js.map +1 -1
  63. app-rn-runtime/components/chart/donut-chart/donut-chart.styles.js +1 -7
  64. app-rn-runtime/components/chart/donut-chart/donut-chart.styles.js.map +1 -1
  65. app-rn-runtime/components/chart/line-chart/line-chart.props.js +0 -2
  66. app-rn-runtime/components/chart/line-chart/line-chart.props.js.map +1 -1
  67. app-rn-runtime/components/chart/line-chart/line-chart.styles.js +1 -7
  68. app-rn-runtime/components/chart/line-chart/line-chart.styles.js.map +1 -1
  69. app-rn-runtime/components/chart/pie-chart/pie-chart.component.js +1 -4
  70. app-rn-runtime/components/chart/pie-chart/pie-chart.component.js.map +1 -1
  71. app-rn-runtime/components/chart/pie-chart/pie-chart.styles.js +1 -7
  72. app-rn-runtime/components/chart/pie-chart/pie-chart.styles.js.map +1 -1
  73. app-rn-runtime/components/chart/stack-chart/stack-chart.component.js +11 -37
  74. app-rn-runtime/components/chart/stack-chart/stack-chart.component.js.map +1 -1
  75. app-rn-runtime/components/container/accordion/accordion.component.js +5 -47
  76. app-rn-runtime/components/container/accordion/accordion.component.js.map +1 -1
  77. app-rn-runtime/components/container/accordion/accordion.props.js.map +1 -1
  78. app-rn-runtime/components/container/accordion/accordion.styles.js +0 -5
  79. app-rn-runtime/components/container/accordion/accordion.styles.js.map +1 -1
  80. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js +1 -4
  81. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -1
  82. app-rn-runtime/components/container/container.component.js +2 -36
  83. app-rn-runtime/components/container/container.component.js.map +1 -1
  84. app-rn-runtime/components/container/container.styles.js +0 -7
  85. app-rn-runtime/components/container/container.styles.js.map +1 -1
  86. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +1 -1
  87. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.component.js +1 -5
  88. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.component.js.map +1 -1
  89. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.styles.js +1 -6
  90. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.styles.js.map +1 -1
  91. app-rn-runtime/components/container/layoutgrid/layoutgrid.component.js +2 -27
  92. app-rn-runtime/components/container/layoutgrid/layoutgrid.component.js.map +1 -1
  93. app-rn-runtime/components/container/layoutgrid/layoutgrid.props.js.map +1 -1
  94. app-rn-runtime/components/container/layoutgrid/layoutgrid.styles.js +1 -4
  95. app-rn-runtime/components/container/layoutgrid/layoutgrid.styles.js.map +1 -1
  96. app-rn-runtime/components/container/linearlayout/linearlayout.component.js +5 -31
  97. app-rn-runtime/components/container/linearlayout/linearlayout.component.js.map +1 -1
  98. app-rn-runtime/components/container/linearlayout/linearlayout.props.js.map +1 -1
  99. app-rn-runtime/components/container/linearlayout/linearlayout.styles.js +1 -4
  100. app-rn-runtime/components/container/linearlayout/linearlayout.styles.js.map +1 -1
  101. app-rn-runtime/components/container/panel/panel.component.js +6 -46
  102. app-rn-runtime/components/container/panel/panel.component.js.map +1 -1
  103. app-rn-runtime/components/container/panel/panel.props.js.map +1 -1
  104. app-rn-runtime/components/container/panel/panel.styles.js +0 -3
  105. app-rn-runtime/components/container/panel/panel.styles.js.map +1 -1
  106. app-rn-runtime/components/container/partial-host.component.js.map +1 -1
  107. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js +4 -3
  108. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +1 -1
  109. app-rn-runtime/components/container/tabs/tabheader/tabheader.props.js.map +1 -1
  110. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js +1 -4
  111. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js.map +1 -1
  112. app-rn-runtime/components/container/tabs/tabpane/tabpane.props.js.map +1 -1
  113. app-rn-runtime/components/container/tabs/tabs.component.js +3 -31
  114. app-rn-runtime/components/container/tabs/tabs.component.js.map +1 -1
  115. app-rn-runtime/components/container/tabs/tabs.props.js.map +1 -1
  116. app-rn-runtime/components/container/tabs/tabs.styles.js +1 -4
  117. app-rn-runtime/components/container/tabs/tabs.styles.js.map +1 -1
  118. app-rn-runtime/components/container/tile/tile.component.js +1 -23
  119. app-rn-runtime/components/container/tile/tile.component.js.map +1 -1
  120. app-rn-runtime/components/container/tile/tile.props.js.map +1 -1
  121. app-rn-runtime/components/container/tile/tile.styles.js +1 -6
  122. app-rn-runtime/components/container/tile/tile.styles.js.map +1 -1
  123. app-rn-runtime/components/container/wizard/wizard.component.js +13 -54
  124. app-rn-runtime/components/container/wizard/wizard.component.js.map +1 -1
  125. app-rn-runtime/components/container/wizard/wizard.props.js.map +1 -1
  126. app-rn-runtime/components/container/wizard/wizard.styles.js +0 -3
  127. app-rn-runtime/components/container/wizard/wizard.styles.js.map +1 -1
  128. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js +1 -4
  129. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -1
  130. app-rn-runtime/components/data/card/card-content/card-content.component.js +2 -6
  131. app-rn-runtime/components/data/card/card-content/card-content.component.js.map +1 -1
  132. app-rn-runtime/components/data/card/card-content/card-content.styles.js +1 -4
  133. app-rn-runtime/components/data/card/card-content/card-content.styles.js.map +1 -1
  134. app-rn-runtime/components/data/card/card.component.js +0 -18
  135. app-rn-runtime/components/data/card/card.component.js.map +1 -1
  136. app-rn-runtime/components/data/card/card.styles.js +0 -3
  137. app-rn-runtime/components/data/card/card.styles.js.map +1 -1
  138. app-rn-runtime/components/data/form/form-field/form-field.component.js.map +1 -1
  139. app-rn-runtime/components/data/form/form.component.js +1 -1
  140. app-rn-runtime/components/data/form/form.component.js.map +1 -1
  141. app-rn-runtime/components/data/form/form.props.js +0 -1
  142. app-rn-runtime/components/data/form/form.props.js.map +1 -1
  143. app-rn-runtime/components/data/list/list-template/list-template.component.js +1 -15
  144. app-rn-runtime/components/data/list/list-template/list-template.component.js.map +1 -1
  145. app-rn-runtime/components/data/list/list-template/list-template.props.js +0 -1
  146. app-rn-runtime/components/data/list/list-template/list-template.props.js.map +1 -1
  147. app-rn-runtime/components/data/list/list-template/list-template.styles.js +1 -11
  148. app-rn-runtime/components/data/list/list-template/list-template.styles.js.map +1 -1
  149. app-rn-runtime/components/data/list/list.component.js +33 -54
  150. app-rn-runtime/components/data/list/list.component.js.map +1 -1
  151. app-rn-runtime/components/data/list/list.props.js +0 -1
  152. app-rn-runtime/components/data/list/list.props.js.map +1 -1
  153. app-rn-runtime/components/data/list/list.styles.js +0 -9
  154. app-rn-runtime/components/data/list/list.styles.js.map +1 -1
  155. app-rn-runtime/components/dialogs/dialog/dialog.component.js +3 -5
  156. app-rn-runtime/components/dialogs/dialog/dialog.component.js.map +1 -1
  157. app-rn-runtime/components/dialogs/dialog/dialog.styles.js.map +1 -1
  158. app-rn-runtime/components/input/basedataset/basedataset.component.js.map +1 -1
  159. app-rn-runtime/components/input/baseinput/baseinput.component.js +4 -11
  160. app-rn-runtime/components/input/baseinput/baseinput.component.js.map +1 -1
  161. app-rn-runtime/components/input/baseinput/baseinput.props.js +0 -1
  162. app-rn-runtime/components/input/baseinput/baseinput.props.js.map +1 -1
  163. app-rn-runtime/components/input/basenumber/basenumber.component.js +12 -25
  164. app-rn-runtime/components/input/basenumber/basenumber.component.js.map +1 -1
  165. app-rn-runtime/components/input/basenumber/basenumber.props.js +0 -2
  166. app-rn-runtime/components/input/basenumber/basenumber.props.js.map +1 -1
  167. app-rn-runtime/components/input/checkbox/checkbox.component.js +6 -5
  168. app-rn-runtime/components/input/checkbox/checkbox.component.js.map +1 -1
  169. app-rn-runtime/components/input/checkbox/checkbox.styles.js.map +1 -1
  170. app-rn-runtime/components/input/checkboxset/checkboxset.component.js +2 -23
  171. app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +1 -1
  172. app-rn-runtime/components/input/checkboxset/checkboxset.props.js +0 -1
  173. app-rn-runtime/components/input/checkboxset/checkboxset.props.js.map +1 -1
  174. app-rn-runtime/components/input/checkboxset/checkboxset.styles.js.map +1 -1
  175. app-rn-runtime/components/input/chips/chips.component.js +2 -3
  176. app-rn-runtime/components/input/chips/chips.component.js.map +1 -1
  177. app-rn-runtime/components/input/currency/currency.component.js +1 -16
  178. app-rn-runtime/components/input/currency/currency.component.js.map +1 -1
  179. app-rn-runtime/components/input/epoch/base-datetime.component.js +5 -22
  180. app-rn-runtime/components/input/epoch/base-datetime.component.js.map +1 -1
  181. app-rn-runtime/components/input/epoch/wheel-date-picker.component.js +12 -123
  182. app-rn-runtime/components/input/epoch/wheel-date-picker.component.js.map +1 -1
  183. app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -1
  184. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +0 -4
  185. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -1
  186. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +0 -2
  187. app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -1
  188. app-rn-runtime/components/input/fileupload/fileupload.component.js +2 -4
  189. app-rn-runtime/components/input/fileupload/fileupload.component.js.map +1 -1
  190. app-rn-runtime/components/input/fileupload/fileupload.props.js +0 -1
  191. app-rn-runtime/components/input/fileupload/fileupload.props.js.map +1 -1
  192. app-rn-runtime/components/input/number/number.component.js +3 -6
  193. app-rn-runtime/components/input/number/number.component.js.map +1 -1
  194. app-rn-runtime/components/input/radioset/radioset.component.js +6 -26
  195. app-rn-runtime/components/input/radioset/radioset.component.js.map +1 -1
  196. app-rn-runtime/components/input/radioset/radioset.props.js +0 -1
  197. app-rn-runtime/components/input/radioset/radioset.props.js.map +1 -1
  198. app-rn-runtime/components/input/radioset/radioset.styles.js.map +1 -1
  199. app-rn-runtime/components/input/select/select.component.js +9 -23
  200. app-rn-runtime/components/input/select/select.component.js.map +1 -1
  201. app-rn-runtime/components/input/switch/switch.component.js +2 -2
  202. app-rn-runtime/components/input/switch/switch.component.js.map +1 -1
  203. app-rn-runtime/components/input/text/text.component.js +0 -21
  204. app-rn-runtime/components/input/text/text.component.js.map +1 -1
  205. app-rn-runtime/components/input/text/text.props.js +0 -2
  206. app-rn-runtime/components/input/text/text.props.js.map +1 -1
  207. app-rn-runtime/components/input/text/text.styles.js.map +1 -1
  208. app-rn-runtime/components/input/textarea/textarea.component.js +0 -21
  209. app-rn-runtime/components/input/textarea/textarea.component.js.map +1 -1
  210. app-rn-runtime/components/input/textarea/textarea.props.js +0 -2
  211. app-rn-runtime/components/input/textarea/textarea.props.js.map +1 -1
  212. app-rn-runtime/components/input/toggle/toggle.component.js +4 -2
  213. app-rn-runtime/components/input/toggle/toggle.component.js.map +1 -1
  214. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js +2 -2
  215. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +1 -1
  216. app-rn-runtime/components/navigation/basenav/basenav.component.js.map +1 -1
  217. app-rn-runtime/components/navigation/navitem/navitem.component.js +3 -2
  218. app-rn-runtime/components/navigation/navitem/navitem.component.js.map +1 -1
  219. app-rn-runtime/components/navigation/popover/popover.component.js.map +1 -1
  220. app-rn-runtime/components/page/page-content/page-content.component.js +2 -27
  221. app-rn-runtime/components/page/page-content/page-content.component.js.map +1 -1
  222. app-rn-runtime/components/page/page-content/page-content.props.js +2 -2
  223. app-rn-runtime/components/page/page-content/page-content.props.js.map +1 -1
  224. app-rn-runtime/components/page/page-content/page-content.styles.js +1 -6
  225. app-rn-runtime/components/page/page-content/page-content.styles.js.map +1 -1
  226. app-rn-runtime/components/page/page.component.js.map +1 -1
  227. app-rn-runtime/components/page/page.props.js.map +1 -1
  228. app-rn-runtime/components/page/page.styles.js +1 -7
  229. app-rn-runtime/components/page/page.styles.js.map +1 -1
  230. app-rn-runtime/components/page/partial/partial.component.js +0 -21
  231. app-rn-runtime/components/page/partial/partial.component.js.map +1 -1
  232. app-rn-runtime/components/page/partial/partial.props.js.map +1 -1
  233. app-rn-runtime/components/page/partial/partial.styles.js +1 -6
  234. app-rn-runtime/components/page/partial/partial.styles.js.map +1 -1
  235. app-rn-runtime/components/page/tabbar/curve.js.map +1 -1
  236. app-rn-runtime/components/page/tabbar/tabbar.component.js.map +1 -1
  237. app-rn-runtime/components/page/tabbar/tabbar.props.js +0 -1
  238. app-rn-runtime/components/page/tabbar/tabbar.props.js.map +1 -1
  239. app-rn-runtime/components/prefab/prefab-container.component.js +0 -22
  240. app-rn-runtime/components/prefab/prefab-container.component.js.map +1 -1
  241. app-rn-runtime/components/prefab/prefab-container.props.js.map +1 -1
  242. app-rn-runtime/components/prefab/prefab-container.styles.js +1 -6
  243. app-rn-runtime/components/prefab/prefab-container.styles.js.map +1 -1
  244. app-rn-runtime/core/base.component.js +3 -5
  245. app-rn-runtime/core/base.component.js.map +1 -1
  246. app-rn-runtime/core/components/textinput.component.js +3 -4
  247. app-rn-runtime/core/components/textinput.component.js.map +1 -1
  248. app-rn-runtime/core/formatters.js.map +1 -1
  249. app-rn-runtime/core/key.extractor.js.map +1 -1
  250. app-rn-runtime/core/props.provider.js +0 -4
  251. app-rn-runtime/core/props.provider.js.map +1 -1
  252. app-rn-runtime/core/storage.service.js.map +1 -1
  253. app-rn-runtime/core/tappable.component.js +25 -26
  254. app-rn-runtime/core/tappable.component.js.map +1 -1
  255. app-rn-runtime/core/utils.js +4 -87
  256. app-rn-runtime/core/utils.js.map +1 -1
  257. app-rn-runtime/package.json +7 -30
  258. app-rn-runtime/runtime/App.js +1 -2
  259. app-rn-runtime/runtime/App.js.map +1 -1
  260. app-rn-runtime/runtime/App.navigator.js.map +1 -1
  261. app-rn-runtime/runtime/base-fragment.component.js +13 -43
  262. app-rn-runtime/runtime/base-fragment.component.js.map +1 -1
  263. app-rn-runtime/runtime/base-page.component.js.map +1 -1
  264. app-rn-runtime/runtime/base-partial.component.js.map +1 -1
  265. app-rn-runtime/runtime/base-prefab.component.js.map +1 -1
  266. app-rn-runtime/runtime/navigator/stack.navigator.js.map +1 -1
  267. app-rn-runtime/runtime/services/app-i18n.service.js +0 -10
  268. app-rn-runtime/runtime/services/app-i18n.service.js.map +1 -1
  269. app-rn-runtime/runtime/services/app-security.service.js +1 -25
  270. app-rn-runtime/runtime/services/app-security.service.js.map +1 -1
  271. app-rn-runtime/runtime/services/app-spinner.service.js +1 -1
  272. app-rn-runtime/runtime/services/app-spinner.service.js.map +1 -1
  273. app-rn-runtime/runtime/services/webprocess.service.js.map +1 -1
  274. app-rn-runtime/runtime/watcher.js.map +1 -1
  275. app-rn-runtime/styles/background.component.js +0 -1
  276. app-rn-runtime/styles/background.component.js.map +1 -1
  277. app-rn-runtime/styles/style-prop.validator.js.map +1 -1
  278. app-rn-runtime/styles/theme.js.map +1 -1
  279. app-rn-runtime/styles/theme.variables.js +0 -1
  280. app-rn-runtime/styles/theme.variables.js.map +1 -1
  281. app-rn-runtime/variables/base-variable.js.map +1 -1
  282. app-rn-runtime/variables/device/file/upload-file.operation.js.map +1 -1
  283. app-rn-runtime/variables/device-variable.js.map +1 -1
  284. app-rn-runtime/variables/service-variable.js.map +1 -1
  285. app-rn-runtime/core/ui-preferences.context.js +0 -7
  286. app-rn-runtime/core/ui-preferences.context.js.map +0 -1
@@ -1,4 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
1
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
2
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
4
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); }
@@ -14,7 +13,6 @@ import WmAnchor from '@wavemaker/app-rn-runtime/components/basic/anchor/anchor.c
14
13
  import WmProgressCircle from '@wavemaker/app-rn-runtime/components/basic/progress-circle/progress-circle.component';
15
14
  import WmPopover from '@wavemaker/app-rn-runtime/components/navigation/popover/popover.component';
16
15
  import WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';
17
- import { createSkeleton } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.component';
18
16
  export class WmWizardState extends BaseComponentState {
19
17
  constructor(...args) {
20
18
  super(...args);
@@ -35,13 +33,10 @@ export default class WmWizard extends BaseComponent {
35
33
  }
36
34
  }
37
35
  });
38
- }
39
- updateDefaultStep() {
40
- const steps = this.steps;
41
- const props = this.props;
36
+ const steps = props.children;
42
37
  let defaultStepIndex = 0;
43
38
  if (isArray(steps) && props.defaultstep) {
44
- steps && steps.map((item, index) => {
39
+ steps.map((item, index) => {
45
40
  if (props.defaultstep === item.props.name) {
46
41
  defaultStepIndex = index;
47
42
  }
@@ -55,16 +50,7 @@ export default class WmWizard extends BaseComponent {
55
50
  }
56
51
  componentDidMount() {
57
52
  super.componentDidMount();
58
- if (this.props.defaultstep) {
59
- this.updateDefaultStep();
60
- }
61
- }
62
- componentDidUpdate(prevProps, prevState, snapshot) {
63
- super.componentDidUpdate && super.componentDidUpdate(prevProps, prevState, snapshot);
64
- // * when a variable is bind to default step
65
- if (this.props.defaultstep && prevProps.defaultstep !== this.props.defaultstep) {
66
- this.updateDefaultStep();
67
- }
53
+ this.showActiveStep();
68
54
  }
69
55
  showActiveStep() {
70
56
  var _this$steps$this$stat;
@@ -122,7 +108,6 @@ export default class WmWizard extends BaseComponent {
122
108
  }, /*#__PURE__*/React.createElement(View, {
123
109
  style: [this.styles.stepMenu, currentMenuItem ? this.styles.activeStepMenu : {}]
124
110
  }, /*#__PURE__*/React.createElement(WmIcon, {
125
- id: this.getTestId('icon'),
126
111
  caption: caption,
127
112
  iconclass: currentMenuItem ? "wi wi-radio-button-checked" : 'wi wi-radio-button-unchecked',
128
113
  styles: currentMenuItem ? this.styles.stepMenuActiveIcon : this.styles.stepMenuIcon
@@ -147,7 +132,6 @@ export default class WmWizard extends BaseComponent {
147
132
  flexDirection: 'row'
148
133
  }
149
134
  }, /*#__PURE__*/React.createElement(WmProgressCircle, {
150
- id: this.getTestId('progress'),
151
135
  minvalue: 0,
152
136
  maxvalue: this.steps.length,
153
137
  datavalue: index + 1,
@@ -162,11 +146,11 @@ export default class WmWizard extends BaseComponent {
162
146
  justifyContent: 'center',
163
147
  flexDirection: 'column'
164
148
  }
165
- }, /*#__PURE__*/React.createElement(Text, _extends({
149
+ }, /*#__PURE__*/React.createElement(Text, {
166
150
  style: this.styles.stepTitle
167
- }, this.getTestPropsForLabel('step' + (index + 1) + '_title')), item.props.title || 'Step Title'), /*#__PURE__*/React.createElement(Text, _extends({
151
+ }, item.props.title || 'Step Title'), /*#__PURE__*/React.createElement(Text, {
168
152
  style: this.styles.stepSubTitle
169
- }, this.getTestPropsForLabel('step' + (index + 1) + '_subtitle')), item.props.subtitle || 'Step Sub Title')), /*#__PURE__*/React.createElement(View, {
153
+ }, item.props.subtitle || 'Step Sub Title')), /*#__PURE__*/React.createElement(View, {
170
154
  style: {
171
155
  flexDirection: 'row',
172
156
  alignItems: 'flex-end',
@@ -191,21 +175,20 @@ export default class WmWizard extends BaseComponent {
191
175
  onPress: this.updateCurrentStep.bind(this, index, false),
192
176
  disabled: index >= this.state.currentStep || !this.state.props.headernavigation,
193
177
  accessibilityRole: "header"
194
- }, /*#__PURE__*/React.createElement(View, _extends({
178
+ }, /*#__PURE__*/React.createElement(View, {
195
179
  style: this.getStepStyle(index)
196
- }, this.getTestPropsForAction('step' + index)), index >= this.state.currentStep && !this.state.isDone && /*#__PURE__*/React.createElement(Text, _extends({
180
+ }, index >= this.state.currentStep && !this.state.isDone && /*#__PURE__*/React.createElement(Text, {
197
181
  style: isActiveStep ? [this.styles.activeStep, this.styles.activeStepCounter] : this.styles.stepCounter
198
- }, this.getTestPropsForLabel('step' + (index + 1) + '_indicator')), index + 1), (index < this.state.currentStep || this.state.isDone) && /*#__PURE__*/React.createElement(WmIcon, {
199
- id: this.getTestId('status'),
182
+ }, index + 1), (index < this.state.currentStep || this.state.isDone) && /*#__PURE__*/React.createElement(WmIcon, {
200
183
  styles: merge({}, this.styles.stepIcon, {
201
184
  icon: {
202
185
  color: this.styles.activeStep.color
203
186
  }
204
187
  }),
205
188
  iconclass: item.state.props.iconclass || 'wm-sl-l sl-check'
206
- })), isActiveStep && /*#__PURE__*/React.createElement(Text, _extends({
189
+ })), isActiveStep && /*#__PURE__*/React.createElement(Text, {
207
190
  style: this.styles.stepTitle
208
- }, this.getTestPropsForLabel('step' + (index + 1) + '_title')), item.state.props.title || 'Step Title'), this.numberOfSteps > 1 && isActiveStep && /*#__PURE__*/React.createElement(View, {
191
+ }, item.state.props.title || 'Step Title'), this.numberOfSteps > 1 && isActiveStep && /*#__PURE__*/React.createElement(View, {
209
192
  style: [this.styles.numberTextStepConnector, {
210
193
  width: isLastStep ? 0 : 50
211
194
  }]
@@ -255,39 +238,15 @@ export default class WmWizard extends BaseComponent {
255
238
  skip() {
256
239
  this.next('skip');
257
240
  }
258
- getBackground() {
259
- return this._showSkeleton ? null : this._background;
260
- }
261
- renderSkeleton(props) {
262
- if (!props.showskeletonchildren) {
263
- var _this$props;
264
- const skeletonStyles = ((_this$props = this.props) === null || _this$props === void 0 || (_this$props = _this$props.styles) === null || _this$props === void 0 ? void 0 : _this$props.skeleton) || {
265
- root: {},
266
- text: {}
267
- };
268
- return createSkeleton(this.theme, skeletonStyles, {
269
- ...this.styles.root
270
- }, /*#__PURE__*/React.createElement(View, {
271
- style: [this.styles.root, {
272
- opacity: 0
273
- }]
274
- }, props.children));
275
- }
276
- return null;
277
- }
278
241
  renderWidget(props) {
279
242
  var _this$state$props$cla;
280
243
  this.numberOfSteps = this.steps.length;
281
244
  const activeStep = this.steps[this.state.currentStep];
282
245
  const isSkippable = activeStep && activeStep.state.props.enableskip;
283
246
  const isProgressCircleHeader = (_this$state$props$cla = this.state.props.classname) === null || _this$state$props$cla === void 0 ? void 0 : _this$state$props$cla.includes('progress-circle-header');
284
- const styles = this._showSkeleton ? {
285
- ...this.styles.root,
286
- ...this.styles.skeleton.root
287
- } : this.styles.root;
288
247
  return /*#__PURE__*/React.createElement(View, {
289
- style: styles
290
- }, this.getBackground(), /*#__PURE__*/React.createElement(View, {
248
+ style: this.styles.root
249
+ }, this._background, /*#__PURE__*/React.createElement(View, {
291
250
  style: this.styles.wizardHeader
292
251
  }, activeStep && isProgressCircleHeader ? this.renderProgressCircleHeader(activeStep, this.state.currentStep) : this.steps ? this.steps.map((step, i) => this.renderWizardHeader(step, i)) : null), /*#__PURE__*/React.createElement(View, {
293
252
  style: this.styles.wizardBody
@@ -1 +1 @@
1
- {"version":3,"names":["React","Text","View","TouchableOpacity","Platform","TouchableWithoutFeedback","isArray","merge","BaseComponent","BaseComponentState","WmWizardProps","DEFAULT_CLASS","WmButton","WmIcon","WmAnchor","WmProgressCircle","WmPopover","WmLabel","createSkeleton","WmWizardState","constructor","args","_defineProperty","WmWizard","props","onComponentInit","c","popOverRef","updateDefaultStep","steps","defaultStepIndex","defaultstep","map","item","index","name","updateCurrentStep","addWizardStep","step","forceUpdate","componentDidMount","componentDidUpdate","prevProps","prevState","snapshot","showActiveStep","_this$steps$this$stat","state","currentStep","setActive","isDone","_this$steps$this$stat2","lastStep","setInActive","updateState","invokeEventCallback","proxy","getStepStyle","style","styles","push","doneStep","activeStep","renderMenuPopover","menuDataset","getmenudataexpression","Labels","title","createElement","id","getTestId","popover","contentanimation","caption","popoverheight","height","popoverwidth","width","listener","iconclass","popovericonclass","iconposition","type","currentMenuItem","length","key","onPress","hide","stepMenu","activeStepMenu","stepMenuActiveIcon","stepMenuIcon","stepMenuActiveLabel","stepMenuLabel","renderProgressCircleHeader","progressTitle","progresstitle","headerWrapper","stepWrapper","flex","alignItems","justifyContent","flexDirection","minvalue","maxvalue","datavalue","captionplacement","progresstype","subtitle","progressCircle","_extends","stepTitle","getTestPropsForLabel","stepSubTitle","renderWizardHeader","isLastStep","numberOfSteps","isFirstStep","isActiveStep","isNumberTextLayout","classname","show","paddingRight","paddingLeft","bind","disabled","headernavigation","accessibilityRole","getTestPropsForAction","activeStepCounter","stepCounter","stepIcon","icon","color","numberTextStepConnector","stepConnector","left","OS","isRTL","prev","invokePrevCB","next","eventName","invokeSkipCB","invokeNextCB","done","$event","cancel","skip","getBackground","_showSkeleton","_background","renderSkeleton","showskeletonchildren","_this$props","skeletonStyles","skeleton","root","text","theme","opacity","children","renderWidget","_this$state$props$cla","isSkippable","enableskip","isProgressCircleHeader","includes","wizardHeader","i","wizardBody","wizardFooter","actionsalignment","showdone","wizardActions","getStyle","doneButton","donebtnlabel","onTap","disabledone","shownext","nextButton","nextbtnlabel","disablenext","showprev","prevButton","previousbtnlabel","disableprev","cancelable","cancelbtnlabel","cancelButton","skipLink"],"sources":["wizard.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View, TouchableOpacity, Platform, TouchableWithoutFeedback } from 'react-native';\nimport { isArray, merge } from 'lodash';\nimport { BaseComponent, BaseComponentState, LifecycleListener } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmWizardProps from './wizard.props';\nimport { DEFAULT_CLASS, WmWizardStyles } from './wizard.styles';\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmAnchor from '@wavemaker/app-rn-runtime/components/basic/anchor/anchor.component';\nimport WmWizardstep from './wizardstep/wizardstep.component';\nimport WmProgressCircle from '@wavemaker/app-rn-runtime/components/basic/progress-circle/progress-circle.component';\nimport WmPopover from '@wavemaker/app-rn-runtime/components/navigation/popover/popover.component';\nimport WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';\nimport { WmSkeletonStyles } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.styles';\nimport { createSkeleton } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.component';\n\nexport class WmWizardState extends BaseComponentState<WmWizardProps> {\n currentStep: number = 0;\n isDone: boolean = false;\n}\n\nexport default class WmWizard extends BaseComponent<WmWizardProps, WmWizardState, WmWizardStyles> {\n private numberOfSteps: number = null as any;\n private steps = [] as WmWizardstep[];\n private popOverRef: WmPopover = null as any;\n\n private listener: LifecycleListener = {\n onComponentInit: (c) => {\n if (c instanceof WmPopover) {\n this.popOverRef = c;\n }\n }\n };\n\n constructor(props: WmWizardProps) {\n super(props, DEFAULT_CLASS, new WmWizardProps());\n }\n\n updateDefaultStep() {\n const steps = this.steps;\n const props = this.props;\n let defaultStepIndex = 0;\n if (isArray(steps) && props.defaultstep) {\n steps && steps.map((item: any, index: any) => {\n if (props.defaultstep === item.props.name) {\n defaultStepIndex = index;\n }\n })\n }\n this.updateCurrentStep(defaultStepIndex);\n }\n\n addWizardStep(step: WmWizardstep) {\n this.steps[step.props.index] = step;\n this.forceUpdate();\n }\n\n componentDidMount() {\n super.componentDidMount();\n if (this.props.defaultstep) {\n this.updateDefaultStep();\n }\n }\n\n componentDidUpdate(prevProps: Readonly<WmWizardProps>, prevState: Readonly<WmWizardState>, snapshot?: any): void {\n super.componentDidUpdate && super.componentDidUpdate(prevProps, prevState, snapshot);\n // * when a variable is bind to default step\n if (this.props.defaultstep && prevProps.defaultstep !== this.props.defaultstep) {\n this.updateDefaultStep();\n }\n }\n\n showActiveStep() {\n this.steps[this.state.currentStep]?.setActive();\n }\n\n updateCurrentStep(index: number, isDone = false) {\n const lastStep = this.state.currentStep;\n this.steps[this.state.currentStep]?.setInActive();\n this.updateState({\n currentStep: index,\n isDone: isDone\n } as WmWizardState, () => {\n this.showActiveStep();\n if (lastStep !== index) {\n this.invokeEventCallback('onChange', [null, this.proxy, index + 1, lastStep + 1]);\n }\n });\n }\n\n getStepStyle(index: number) {\n const style = [this.styles.step];\n if (this.state.isDone || index < this.state.currentStep) {\n style.push(this.styles.doneStep);\n } else if (this.state.currentStep === index) {\n style.push(this.styles.activeStep);\n }\n return style;\n }\n\n renderMenuPopover(){\n const menuDataset = this.props.getmenudataexpression || ((item: any, index: number) => '') ;\n const Labels = this.steps.map((step: WmWizardstep) => step.state.props.title);\n return (\n <WmPopover\n id={this.getTestId('menu')}\n styles={this.styles.popover}\n contentanimation={'slideInDown'}\n caption={''}\n popoverheight={this.styles.popover.popover.height as string | number | undefined || null}\n popoverwidth={this.styles.popover.popover.width as string | number | undefined || null}\n listener={this.listener}\n iconclass={this.props.popovericonclass || 'fa fa-caret-down'}\n iconposition=\"right\"\n type='dropdown'>\n <View style={this.styles.popover.popover}>\n {Labels.map((item: any, index: number) => {\n const currentMenuItem = index==this.state.currentStep;\n const caption = menuDataset({\"count\":this.steps.length}, index);\n return (\n <TouchableWithoutFeedback key={'wizard_menu_item_'+index} onPress={()=>{this.popOverRef.hide();}}>\n <View style={[this.styles.stepMenu, currentMenuItem?this.styles.activeStepMenu:{}]}>\n <WmIcon id={this.getTestId('icon')} caption={caption} iconclass={currentMenuItem? \"wi wi-radio-button-checked\" : 'wi wi-radio-button-unchecked'} styles={currentMenuItem?this.styles.stepMenuActiveIcon:this.styles.stepMenuIcon}/>\n <WmLabel caption={item} styles={currentMenuItem?this.styles.stepMenuActiveLabel:this.styles.stepMenuLabel}/>\n </View>\n </TouchableWithoutFeedback>\n )})}\n </View>\n </WmPopover>\n );\n }\n\n renderProgressCircleHeader(item: any, index: number) {\n const progressTitle = this.props.progresstitle || (index + 1 + '/' + this.steps.length);\n return (\n <View style={[this.styles.headerWrapper]} key={index + 1}>\n <View style={this.styles.stepWrapper}>\n <View style={{ flex: 1, alignItems: 'flex-start', justifyContent: 'center', flexDirection:'row' }}>\n <WmProgressCircle id={this.getTestId('progress')} minvalue={0} maxvalue={this.steps.length} datavalue={index + 1} captionplacement={'inside'} type={this.props.progresstype} title={progressTitle} subtitle={''} styles={this.styles.progressCircle}/>\n </View>\n <View style={{ flex: 2, justifyContent: 'center', flexDirection: 'column' }}>\n <Text style={this.styles.stepTitle} {...this.getTestPropsForLabel('step' + (index + 1) + '_title')}>\n {item.props.title || 'Step Title'}</Text>\n <Text style={this.styles.stepSubTitle} {...this.getTestPropsForLabel('step' + (index + 1)+ '_subtitle')}>\n {item.props.subtitle || 'Step Sub Title'}</Text>\n </View>\n <View style={{ flexDirection: 'row', alignItems: 'flex-end', justifyContent: 'flex-end', flex: 1 }}>\n {this.renderMenuPopover()}\n </View>\n </View>\n </View>\n );\n }\n\n renderWizardHeader(item: any, index: number) {\n const isLastStep = index === this.numberOfSteps - 1;\n const isFirstStep = index === 0;\n const isActiveStep = index === this.state.currentStep;\n const isNumberTextLayout = this.state.props.classname === 'number-text-inline';\n return item.state.props.show != false ? (\n <View style={[this.styles.headerWrapper, isNumberTextLayout ?\n {paddingRight: isActiveStep ? 0 : 5, paddingLeft: index === this.state.currentStep + 1 ? 0 : 5}: {}]} key={index+1}>\n <TouchableOpacity style={this.styles.stepWrapper}\n onPress={this.updateCurrentStep.bind(this, index, false)} disabled={index >= this.state.currentStep || !this.state.props.headernavigation}\n accessibilityRole='header'>\n <View style={this.getStepStyle(index)} {...this.getTestPropsForAction('step'+index)}>\n {index >= this.state.currentStep && !this.state.isDone &&\n <Text style={isActiveStep ? [this.styles.activeStep, this.styles.activeStepCounter] : this.styles.stepCounter} {...this.getTestPropsForLabel('step' + (index + 1) + '_indicator')}>{index+1}</Text>}\n {(index < this.state.currentStep || this.state.isDone) &&\n <WmIcon id={this.getTestId('status')} styles={merge({}, this.styles.stepIcon, {icon: {color: this.styles.activeStep.color}})}\n iconclass={item.state.props.iconclass || 'wm-sl-l sl-check'}></WmIcon>}\n </View>\n {(isActiveStep) &&\n <Text style={this.styles.stepTitle} {...this.getTestPropsForLabel('step' + (index + 1) + '_title')}>\n {item.state.props.title || 'Step Title'}</Text> }\n {this.numberOfSteps > 1 && isActiveStep &&\n <View style={[this.styles.numberTextStepConnector, {width: isLastStep ? 0 : 50}]}></View>}\n </TouchableOpacity>\n {this.numberOfSteps > 1 && <View style={[this.styles.stepConnector, { width: isFirstStep || isLastStep ? '50%' : '100%',\n left: Platform.OS == \"web\"?(!this.isRTL && isFirstStep) || (this.isRTL && isLastStep) ? '50%': '0%': isFirstStep ? '50%': '0%'}]}></View>}\n </View>\n ) : null;\n }\n\n prev() {\n const index = this.state.currentStep;\n if (index <= 0) {\n return;\n }\n const currentStep = this.steps[index];\n if(currentStep.invokePrevCB(index) == false){\n return;\n }\n this.updateCurrentStep(index - 1);\n }\n\n next(eventName?: string) {\n const index = this.state.currentStep;\n if (index >= this.steps.length - 1) {\n return;\n }\n const currentStep = this.steps[index];\n if (eventName === 'skip') {\n currentStep.invokeSkipCB(index);\n } else if (currentStep.invokeNextCB(index) == false) {\n return;\n }\n this.updateCurrentStep(index + 1);\n }\n\n done($event: any) {\n if (this.state.currentStep !== this.steps.length - 1) {\n return;\n }\n this.updateState({\n isDone: true\n } as WmWizardState);\n this.invokeEventCallback('onDone', [$event, this.proxy]);\n }\n\n cancel() {\n this.invokeEventCallback('onCancel', [null, this.proxy]);\n }\n\n skip() {\n this.next('skip');\n }\n\n getBackground(): React.JSX.Element | null {\n return this._showSkeleton ? null : this._background\n } \n \n public renderSkeleton(props: WmWizardProps): React.ReactNode {\n if(!props.showskeletonchildren) {\n const skeletonStyles: WmSkeletonStyles = this.props?.styles?.skeleton || { root: {}, text: {} } as WmSkeletonStyles\n return createSkeleton(this.theme, skeletonStyles, {\n ...this.styles.root\n }, (<View style={[this.styles.root, { opacity: 0 }]}>\n {props.children}\n </View>))\n }\n return null;\n }\n\n\n renderWidget(props: WmWizardProps) {\n this.numberOfSteps = this.steps.length;\n const activeStep = this.steps[this.state.currentStep];\n const isSkippable = activeStep && activeStep.state.props.enableskip;\n const isProgressCircleHeader = this.state.props.classname?.includes('progress-circle-header');\n const styles = this._showSkeleton ? {\n ...this.styles.root,\n ...this.styles.skeleton.root\n } : this.styles.root\n return (\n <View style={styles}>\n {this.getBackground()}\n <View style={this.styles.wizardHeader}>\n {activeStep && isProgressCircleHeader ? (this.renderProgressCircleHeader(activeStep, this.state.currentStep)) : (this.steps ? this.steps.map((step, i) => this.renderWizardHeader(step, i)) : null)}\n </View>\n <View style={this.styles.wizardBody}>\n {props.children}\n </View>\n <View style={[this.styles.wizardFooter,\n {flexDirection: props.actionsalignment === 'right' ? 'row-reverse': 'row'}]}>\n {(this.state.currentStep+1) === this.numberOfSteps && activeStep.state.props.showdone &&\n <WmButton iconclass={'wm-sl-l sl-check'} styles={merge({}, this.styles.wizardActions, this.theme.getStyle('btn-default'), this.styles.doneButton)}\n id = {this.getTestId('donebtn')} caption={props.donebtnlabel} onTap={this.done.bind(this)} disabled={activeStep.state.props.disabledone}></WmButton>\n }\n {(this.state.currentStep+1) < this.numberOfSteps && activeStep.state.props.shownext &&\n <WmButton iconclass={'wi wi-chevron-right'} styles={merge({}, this.styles.wizardActions, this.theme.getStyle('btn-default'), this.styles.nextButton)}\n id = {this.getTestId('nextbtn')}\n iconposition={'right'} caption={props.nextbtnlabel} onTap={this.next.bind(this)} disabled={activeStep.state.props.disablenext}></WmButton>\n }\n {this.state.currentStep > 0 && activeStep.state.props.showprev &&\n <WmButton iconclass={'wi wi-chevron-left'} styles={merge({}, this.theme.getStyle('btn-default'), this.styles.wizardActions, this.styles.prevButton)} caption={props.previousbtnlabel}\n id = {this.getTestId('prevbtn')}\n onTap={this.prev.bind(this)} disabled={activeStep.state.props.disableprev}></WmButton>\n }\n {props.cancelable ?\n <WmButton id = {this.getTestId('cancelbtn')} caption={props.cancelbtnlabel} styles={merge({}, this.theme.getStyle('btn-default'), this.styles.wizardActions, this.styles.cancelButton)} onTap={this.cancel.bind(this)}></WmButton>\n : null\n }\n {isSkippable &&\n <WmAnchor iconclass={'wi wi-chevron-right'} iconposition={'right'} caption={'Skip'}\n id = {this.getTestId('skip')}\n styles={merge({}, this.styles.wizardActions, this.styles.skipLink)} onTap={this.skip.bind(this)}></WmAnchor>\n }\n </View>\n </View>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,QAAQ,EAAEC,wBAAwB,QAAQ,cAAc;AAC/F,SAASC,OAAO,EAAEC,KAAK,QAAQ,QAAQ;AACvC,SAAUC,aAAa,EAAEC,kBAAkB,QAA2B,+CAA+C;AAErH,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,OAAOC,QAAQ,MAAM,oEAAoE;AACzF,OAAOC,MAAM,MAAM,gEAAgE;AACnF,OAAOC,QAAQ,MAAM,oEAAoE;AAEzF,OAAOC,gBAAgB,MAAM,sFAAsF;AACnH,OAAOC,SAAS,MAAM,2EAA2E;AACjG,OAAOC,OAAO,MAAM,kEAAkE;AAEtF,SAASC,cAAc,QAAQ,wEAAwE;AAEvG,OAAO,MAAMC,aAAa,SAASV,kBAAkB,CAAgB;EAAAW,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,sBAC7C,CAAC;IAAAA,eAAA,iBACL,KAAK;EAAA;AACzB;AAEA,eAAe,MAAMC,QAAQ,SAASf,aAAa,CAA+C;EAahGY,WAAWA,CAACI,KAAoB,EAAE;IAChC,KAAK,CAACA,KAAK,EAAEb,aAAa,EAAE,IAAID,aAAa,CAAC,CAAC,CAAC;IAACY,eAAA,wBAbnB,IAAI;IAAAA,eAAA,gBACpB,EAAE;IAAAA,eAAA,qBACc,IAAI;IAAAA,eAAA,mBAEE;MACpCG,eAAe,EAAGC,CAAC,I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I;IAAE,CAAW,CAE7G,CACF,CAAC;EAEX;AACF","ignoreList":[]}
1
+ {"version":3,"names":["React","Text","View","TouchableOpacity","Platform","TouchableWithoutFeedback","isArray","merge","BaseComponent","BaseComponentState","WmWizardProps","DEFAULT_CLASS","WmButton","WmIcon","WmAnchor","WmProgressCircle","WmPopover","WmLabel","WmWizardState","constructor","args","_defineProperty","WmWizard","props","onComponentInit","c","popOverRef","steps","children","defaultStepIndex","defaultstep","map","item","index","name","updateCurrentStep","addWizardStep","step","forceUpdate","componentDidMount","showActiveStep","_this$steps$this$stat","state","currentStep","setActive","isDone","_this$steps$this$stat2","lastStep","setInActive","updateState","invokeEventCallback","proxy","getStepStyle","style","styles","push","doneStep","activeStep","renderMenuPopover","menuDataset","getmenudataexpression","Labels","title","createElement","id","getTestId","popover","contentanimation","caption","popoverheight","height","popoverwidth","width","listener","iconclass","popovericonclass","iconposition","type","currentMenuItem","length","key","onPress","hide","stepMenu","activeStepMenu","stepMenuActiveIcon","stepMenuIcon","stepMenuActiveLabel","stepMenuLabel","renderProgressCircleHeader","progressTitle","progresstitle","headerWrapper","stepWrapper","flex","alignItems","justifyContent","flexDirection","minvalue","maxvalue","datavalue","captionplacement","progresstype","subtitle","progressCircle","stepTitle","stepSubTitle","renderWizardHeader","isLastStep","numberOfSteps","isFirstStep","isActiveStep","isNumberTextLayout","classname","show","paddingRight","paddingLeft","bind","disabled","headernavigation","accessibilityRole","activeStepCounter","stepCounter","stepIcon","icon","color","numberTextStepConnector","stepConnector","left","OS","isRTL","prev","invokePrevCB","next","eventName","invokeSkipCB","invokeNextCB","done","$event","cancel","skip","renderWidget","_this$state$props$cla","isSkippable","enableskip","isProgressCircleHeader","includes","root","_background","wizardHeader","i","wizardBody","wizardFooter","actionsalignment","showdone","wizardActions","theme","getStyle","doneButton","donebtnlabel","onTap","disabledone","shownext","nextButton","nextbtnlabel","disablenext","showprev","prevButton","previousbtnlabel","disableprev","cancelable","cancelbtnlabel","cancelButton","skipLink"],"sources":["wizard.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View, TouchableOpacity, Platform, TouchableWithoutFeedback } from 'react-native';\nimport { isArray, merge } from 'lodash';\nimport { BaseComponent, BaseComponentState, LifecycleListener } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmWizardProps from './wizard.props';\nimport { DEFAULT_CLASS, WmWizardStyles } from './wizard.styles';\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmAnchor from '@wavemaker/app-rn-runtime/components/basic/anchor/anchor.component';\nimport WmWizardstep from './wizardstep/wizardstep.component';\nimport WmProgressCircle from '@wavemaker/app-rn-runtime/components/basic/progress-circle/progress-circle.component';\nimport WmPopover from '@wavemaker/app-rn-runtime/components/navigation/popover/popover.component';\nimport WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';\n\nexport class WmWizardState extends BaseComponentState<WmWizardProps> {\n currentStep: number = 0;\n isDone: boolean = false;\n}\n\nexport default class WmWizard extends BaseComponent<WmWizardProps, WmWizardState, WmWizardStyles> {\n private numberOfSteps: number = null as any;\n private steps = [] as WmWizardstep[];\n private popOverRef: WmPopover = null as any;\n\n private listener: LifecycleListener = {\n onComponentInit: (c) => {\n if (c instanceof WmPopover) {\n this.popOverRef = c;\n }\n }\n };\n\n constructor(props: WmWizardProps) {\n super(props, DEFAULT_CLASS, new WmWizardProps());\n const steps = props.children;\n let defaultStepIndex = 0;\n if (isArray(steps) && props.defaultstep) {\n steps.map((item: any, index: any) => {\n if (props.defaultstep === item.props.name) {\n defaultStepIndex = index;\n }\n })\n }\n this.updateCurrentStep(defaultStepIndex);\n }\n\n addWizardStep(step: WmWizardstep) {\n this.steps[step.props.index] = step;\n this.forceUpdate();\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.showActiveStep();\n }\n\n showActiveStep() {\n this.steps[this.state.currentStep]?.setActive();\n }\n\n updateCurrentStep(index: number, isDone = false) {\n const lastStep = this.state.currentStep;\n this.steps[this.state.currentStep]?.setInActive();\n this.updateState({\n currentStep: index,\n isDone: isDone\n } as WmWizardState, () => {\n this.showActiveStep();\n if (lastStep !== index) {\n this.invokeEventCallback('onChange', [null, this.proxy, index + 1, lastStep + 1]);\n }\n });\n }\n\n getStepStyle(index: number) {\n const style = [this.styles.step];\n if (this.state.isDone || index < this.state.currentStep) {\n style.push(this.styles.doneStep);\n } else if (this.state.currentStep === index) {\n style.push(this.styles.activeStep);\n }\n return style;\n }\n\n renderMenuPopover(){\n const menuDataset = this.props.getmenudataexpression || ((item: any, index: number) => '') ;\n const Labels = this.steps.map((step: WmWizardstep) => step.state.props.title);\n return (\n <WmPopover\n id={this.getTestId('menu')}\n styles={this.styles.popover}\n contentanimation={'slideInDown'}\n caption={''}\n popoverheight={this.styles.popover.popover.height as string | number | undefined || null}\n popoverwidth={this.styles.popover.popover.width as string | number | undefined || null}\n listener={this.listener}\n iconclass={this.props.popovericonclass || 'fa fa-caret-down'}\n iconposition=\"right\"\n type='dropdown'>\n <View style={this.styles.popover.popover}>\n {Labels.map((item: any, index: number) => {\n const currentMenuItem = index==this.state.currentStep;\n const caption = menuDataset({\"count\":this.steps.length}, index);\n return (\n <TouchableWithoutFeedback key={'wizard_menu_item_'+index} onPress={()=>{this.popOverRef.hide();}}>\n <View style={[this.styles.stepMenu, currentMenuItem?this.styles.activeStepMenu:{}]}>\n <WmIcon caption={caption} iconclass={currentMenuItem? \"wi wi-radio-button-checked\" : 'wi wi-radio-button-unchecked'} styles={currentMenuItem?this.styles.stepMenuActiveIcon:this.styles.stepMenuIcon}/>\n <WmLabel caption={item} styles={currentMenuItem?this.styles.stepMenuActiveLabel:this.styles.stepMenuLabel}/>\n </View>\n </TouchableWithoutFeedback>\n )})}\n </View>\n </WmPopover>\n );\n }\n\n renderProgressCircleHeader(item: any, index: number) {\n const progressTitle = this.props.progresstitle || (index + 1 + '/' + this.steps.length);\n return (\n <View style={[this.styles.headerWrapper]} key={index + 1}>\n <View style={this.styles.stepWrapper}>\n <View style={{ flex: 1, alignItems: 'flex-start', justifyContent: 'center', flexDirection:'row' }}>\n <WmProgressCircle minvalue={0} maxvalue={this.steps.length} datavalue={index + 1} captionplacement={'inside'} type={this.props.progresstype} title={progressTitle} subtitle={''} styles={this.styles.progressCircle} />\n </View>\n <View style={{ flex: 2, justifyContent: 'center', flexDirection: 'column' }}>\n <Text style={this.styles.stepTitle}>\n {item.props.title || 'Step Title'}</Text>\n <Text style={this.styles.stepSubTitle}>\n {item.props.subtitle || 'Step Sub Title'}</Text>\n </View>\n <View style={{ flexDirection: 'row', alignItems: 'flex-end', justifyContent: 'flex-end', flex: 1 }}>\n {this.renderMenuPopover()}\n </View>\n </View>\n </View>\n );\n }\n\n renderWizardHeader(item: any, index: number) {\n const isLastStep = index === this.numberOfSteps - 1;\n const isFirstStep = index === 0;\n const isActiveStep = index === this.state.currentStep;\n const isNumberTextLayout = this.state.props.classname === 'number-text-inline';\n return item.state.props.show != false ? (\n <View style={[this.styles.headerWrapper, isNumberTextLayout ?\n {paddingRight: isActiveStep ? 0 : 5, paddingLeft: index === this.state.currentStep + 1 ? 0 : 5}: {}]} key={index+1}>\n <TouchableOpacity style={this.styles.stepWrapper}\n onPress={this.updateCurrentStep.bind(this, index, false)} disabled={index >= this.state.currentStep || !this.state.props.headernavigation}\n accessibilityRole='header'>\n <View style={this.getStepStyle(index)}>\n {index >= this.state.currentStep && !this.state.isDone &&\n <Text style={isActiveStep ? [this.styles.activeStep, this.styles.activeStepCounter] : this.styles.stepCounter}>{index+1}</Text>}\n {(index < this.state.currentStep || this.state.isDone) &&\n <WmIcon styles={merge({}, this.styles.stepIcon, {icon: {color: this.styles.activeStep.color}})}\n iconclass={item.state.props.iconclass || 'wm-sl-l sl-check'}></WmIcon>}\n </View>\n {(isActiveStep) &&\n <Text style={this.styles.stepTitle}>\n {item.state.props.title || 'Step Title'}</Text> }\n {this.numberOfSteps > 1 && isActiveStep &&\n <View style={[this.styles.numberTextStepConnector, {width: isLastStep ? 0 : 50}]}></View>}\n </TouchableOpacity>\n {this.numberOfSteps > 1 && <View style={[this.styles.stepConnector, { width: isFirstStep || isLastStep ? '50%' : '100%',\n left: Platform.OS == \"web\"?(!this.isRTL && isFirstStep) || (this.isRTL && isLastStep) ? '50%': '0%': isFirstStep ? '50%': '0%'}]}></View>}\n </View>\n ) : null;\n }\n\n prev() {\n const index = this.state.currentStep;\n if (index <= 0) {\n return;\n }\n const currentStep = this.steps[index];\n if(currentStep.invokePrevCB(index) == false){\n return;\n }\n this.updateCurrentStep(index - 1);\n }\n\n next(eventName?: string) {\n const index = this.state.currentStep;\n if (index >= this.steps.length - 1) {\n return;\n }\n const currentStep = this.steps[index];\n if (eventName === 'skip') {\n currentStep.invokeSkipCB(index);\n } else if (currentStep.invokeNextCB(index) == false) {\n return;\n }\n this.updateCurrentStep(index + 1);\n }\n\n done($event: any) {\n if (this.state.currentStep !== this.steps.length - 1) {\n return;\n }\n this.updateState({\n isDone: true\n } as WmWizardState);\n this.invokeEventCallback('onDone', [$event, this.proxy]);\n }\n\n cancel() {\n this.invokeEventCallback('onCancel', [null, this.proxy]);\n }\n\n skip() {\n this.next('skip');\n }\n\n renderWidget(props: WmWizardProps) {\n this.numberOfSteps = this.steps.length;\n const activeStep = this.steps[this.state.currentStep];\n const isSkippable = activeStep && activeStep.state.props.enableskip;\n const isProgressCircleHeader = this.state.props.classname?.includes('progress-circle-header');\n return (\n <View style={this.styles.root}>\n {this._background}\n <View style={this.styles.wizardHeader}>\n {activeStep && isProgressCircleHeader ? (this.renderProgressCircleHeader(activeStep, this.state.currentStep)) : (this.steps ? this.steps.map((step, i) => this.renderWizardHeader(step, i)) : null)}\n </View>\n <View style={this.styles.wizardBody}>\n {props.children}\n </View>\n <View style={[this.styles.wizardFooter,\n {flexDirection: props.actionsalignment === 'right' ? 'row-reverse': 'row'}]}>\n {(this.state.currentStep+1) === this.numberOfSteps && activeStep.state.props.showdone &&\n <WmButton iconclass={'wm-sl-l sl-check'} styles={merge({}, this.styles.wizardActions, this.theme.getStyle('btn-default'), this.styles.doneButton)}\n id = {this.getTestId('donebtn')} caption={props.donebtnlabel} onTap={this.done.bind(this)} disabled={activeStep.state.props.disabledone}></WmButton>\n }\n {(this.state.currentStep+1) < this.numberOfSteps && activeStep.state.props.shownext &&\n <WmButton iconclass={'wi wi-chevron-right'} styles={merge({}, this.styles.wizardActions, this.theme.getStyle('btn-default'), this.styles.nextButton)}\n id = {this.getTestId('nextbtn')}\n iconposition={'right'} caption={props.nextbtnlabel} onTap={this.next.bind(this)} disabled={activeStep.state.props.disablenext}></WmButton>\n }\n {this.state.currentStep > 0 && activeStep.state.props.showprev &&\n <WmButton iconclass={'wi wi-chevron-left'} styles={merge({}, this.theme.getStyle('btn-default'), this.styles.wizardActions, this.styles.prevButton)} caption={props.previousbtnlabel}\n id = {this.getTestId('prevbtn')}\n onTap={this.prev.bind(this)} disabled={activeStep.state.props.disableprev}></WmButton>\n }\n {props.cancelable ?\n <WmButton id = {this.getTestId('cancelbtn')} caption={props.cancelbtnlabel} styles={merge({}, this.theme.getStyle('btn-default'), this.styles.wizardActions, this.styles.cancelButton)} onTap={this.cancel.bind(this)}></WmButton>\n : null\n }\n {isSkippable &&\n <WmAnchor iconclass={'wi wi-chevron-right'} iconposition={'right'} caption={'Skip'}\n id = {this.getTestId('skip')}\n styles={merge({}, this.styles.wizardActions, this.styles.skipLink)} onTap={this.skip.bind(this)}></WmAnchor>\n }\n </View>\n </View>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,QAAQ,EAAEC,wBAAwB,QAAQ,cAAc;AAC/F,SAASC,OAAO,EAAEC,KAAK,QAAQ,QAAQ;AACvC,SAASC,aAAa,EAAEC,kBAAkB,QAA2B,+CAA+C;AAEpH,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QA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ACiJ,gBAAiB;MACjLxG,EAAE,EAAI,IAAI,CAACC,SAAS,CAAC,SAAS,CAAE;MAChC+F,KAAK,EAAE,IAAI,CAAC7B,IAAI,CAACd,IAAI,CAAC,IAAI,CAAE;MAACC,QAAQ,EAAE7D,UAAU,CAACf,KAAK,CAACnB,KAAK,CAACkJ;IAAY,CAAW,CAAC,EAE3FlJ,KAAK,CAACmJ,UAAU,gBACb1K,KAAA,CAAA+D,aAAA,CAACnD,QAAQ;MAACoD,EAAE,EAAI,IAAI,CAACC,SAAS,CAAC,WAAW,CAAE;MAAEG,OAAO,EAAE7C,KAAK,CAACoJ,cAAe;MAACrH,MAAM,EAAE/C,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAACqJ,KAAK,CAACC,QAAQ,CAAC,aAAa,CAAC,EAAE,IAAI,CAACvG,MAAM,CAACqG,aAAa,EAAE,IAAI,CAACrG,MAAM,CAACsH,YAAY,CAAE;MAACZ,KAAK,EAAE,IAAI,CAACrB,MAAM,CAACtB,IAAI,CAAC,IAAI;IAAE,CAAW,CAAC,GACjO,IAAI,EAET0B,WAAW,iBACR/I,KAAA,CAAA+D,aAAA,CAACjD,QAAQ;MAAC4D,SAAS,EAAE,qBAAsB;MAACE,YAAY,EAAE,OAAQ;MAACR,OAAO,EAAE,MAAO;MACjFJ,EAAE,EAAI,IAAI,CAACC,SAAS,CAAC,MAAM,CAAE;MAC7BX,MAAM,EAAE/C,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC+C,MAAM,CAACqG,aAAa,EAAE,IAAI,CAACrG,MAAM,CAACuH,QAAQ,CAAE;MAACb,KAAK,EAAE,IAAI,CAACpB,IAAI,CAACvB,IAAI,CAAC,IAAI;IAAE,CAAW,CAE7G,CACF,CAAC;EAEX;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["BaseProps","WmWizardProps","constructor","args","_defineProperty","undefined"],"sources":["wizard.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmWizardProps extends BaseProps {\n actionsalignment: string = 'right';\n children: any;\n cancelable: boolean = true;\n cancelbtnlabel: string = 'Cancel';\n donebtnlabel: string = 'Done';\n nextbtnlabel: string = 'Next';\n previousbtnlabel: string = 'Previous';\n defaultstep: string = 'none';\n progresstitle: string = '';\n progresstype: 'default' | 'success' | 'info' | 'warning' | 'error' = 'default';\n getmenudataexpression: any = undefined;\n popovericonclass: string = 'fa fa-caret-down';\n headernavigation: boolean = true\n}\n\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,aAAa,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,2BACxB,OAAO;IAAAA,eAAA;IAAAA,eAAA,qBAEZ,IAAI;IAAAA,eAAA,yBACD,QAAQ;IAAAA,eAAA,uBACV,MAAM;IAAAA,eAAA,uBACN,MAAM;IAAAA,eAAA,2BACF,UAAU;IAAAA,eAAA,sBACf,MAAM;IAAAA,eAAA,wBACJ,EAAE;IAAAA,eAAA,uBAC2C,SAAS;IAAAA,eAAA,gCACjDC,SAAS;IAAAD,eAAA,2BACX,kBAAkB;IAAAA,eAAA,2BACjB,IAAI;EAAA;AAClC","ignoreList":[]}
1
+ {"version":3,"names":["BaseProps","WmWizardProps","constructor","args","_defineProperty","undefined"],"sources":["wizard.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmWizardProps extends BaseProps {\n actionsalignment: string = 'right';\n children: any;\n cancelable: boolean = true;\n cancelbtnlabel: string = 'Cancel';\n donebtnlabel: string = 'Done';\n nextbtnlabel: string = 'Next';\n previousbtnlabel: string = 'Previous';\n defaultstep: string = 'none';\n progresstitle: string = '';\n progresstype: 'default' | 'success' | 'info' | 'warning' | 'error' = 'default';\n getmenudataexpression: any = undefined;\n popovericonclass: string = 'fa fa-caret-down';\n headernavigation: boolean = true\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,aAAa,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,2BACxB,OAAO;IAAAA,eAAA;IAAAA,eAAA,qBAEZ,IAAI;IAAAA,eAAA,yBACD,QAAQ;IAAAA,eAAA,uBACV,MAAM;IAAAA,eAAA,uBACN,MAAM;IAAAA,eAAA,2BACF,UAAU;IAAAA,eAAA,sBACf,MAAM;IAAAA,eAAA,wBACJ,EAAE;IAAAA,eAAA,uBAC2C,SAAS;IAAAA,eAAA,gCACjDC,SAAS;IAAAD,eAAA,2BACX,kBAAkB;IAAAA,eAAA,2BACjB,IAAI;EAAA;AAClC","ignoreList":[]}
@@ -153,9 +153,6 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
153
153
  activeStepCounter: {
154
154
  color: themeVariables.wizardActiveStepColor
155
155
  },
156
- skeleton: {
157
- root: {}
158
- },
159
156
  stepCounter: {
160
157
  fontSize: 15,
161
158
  color: themeVariables.wizardStepColor
@@ -1 +1 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","backgroundColor","wizardBackgroundColor","display","minHeight","text","activeStep","wizardStepActiveColor","borderColor","color","wizardActiveStepColor","doneStep","wizardStepDoneColor","wizardDoneStepColor","wizardHeader","padding","alignItems","justifyContent","stepWrapper","zIndex","headerWrapper","flex","wizardBody","alignSelf","paddingTop","width","borderWidth","borderTopWidth","borderBottomWidth","wizardBorderColor","wizardFooter","buttonWrapper","stepTitle","textTransform","fontSize","wizardStepTitleColor","stepSubTitle","step","height","borderRadius","wizardStepColor","wizardActions","marginRight","nextButton","paddingRight","wizardNextBtnColor","prevButton","paddingLeft","icon","cancelButton","doneButton","wizardDoneBtnColor","stepIcon","wizardStepIconColor","skipLink","stepConnector","wizardStepConnectorColor","position","top","numberTextStepConnector","activeStepCounter","skeleton","stepCounter","progressCircle","popover","stepMenu","activeStepMenu","stepMenuLabel","stepMenuActiveLabel","stepMenuIcon","stepMenuActiveIcon","paddingBottom","paddingHorizontal","progressValue","menuBackgroundColor","borderBottomLeftRadius","borderBottomRightRadius","popoverContent","undefined","modalContent","menuItemTextColor","primaryColor","transform","rotateY"],"sources":["wizard.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmButtonStyles } from '@wavemaker/app-rn-runtime/components/basic/button/button.styles';\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\nimport { WmAnchorStyles } from '@wavemaker/app-rn-runtime/components/basic/anchor/anchor.styles';\nimport { WmProgressCircleStyles } from '@wavemaker/app-rn-runtime/components/basic/progress-circle/progress-circle.styles';\nimport { WmPopoverStyles } from '@wavemaker/app-rn-runtime/components/navigation/popover/popover.styles';\nimport { WmLabelStyles } from '@wavemaker/app-rn-runtime/components/basic/label/label.styles';\nimport { TextStyle } from 'react-native';\nimport { WmSkeletonStyles } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.styles';\n\nexport type WmWizardStyles = BaseStyles & {\n wizardHeader: AllStyle,\n wizardBody: AllStyle,\n wizardFooter: AllStyle,\n wizardActions: WmButtonStyles,\n stepTitle: AllStyle,\n stepSubTitle: AllStyle,\n buttonWrapper: AllStyle,\n step: AllStyle,\n nextButton: WmButtonStyles,\n doneButton: WmButtonStyles,\n prevButton: WmButtonStyles,\n cancelButton: WmButtonStyles,\n stepIcon: WmIconStyles,\n skipLink: WmAnchorStyles,\n activeStep: AllStyle,\n doneStep: AllStyle,\n headerWrapper: AllStyle,\n stepWrapper: AllStyle,\n stepConnector: AllStyle,\n numberTextStepConnector: AllStyle,\n activeStepCounter: TextStyle,\n stepCounter: AllStyle,\n progressCircle: WmProgressCircleStyles,\n popover: WmPopoverStyles,\n stepMenu: AllStyle,\n activeStepMenu: AllStyle,\n stepMenuLabel: WmLabelStyles,\n stepMenuActiveLabel: WmLabelStyles\n stepMenuIcon: WmIconStyles,\n stepMenuActiveIcon: WmIconStyles,\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-wizard';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmWizardStyles = defineStyles({\n root: {\n flexDirection: 'column',\n backgroundColor: themeVariables.wizardBackgroundColor,\n display: 'flex',\n minHeight: 240\n },\n text: {},\n activeStep:{\n backgroundColor: themeVariables.wizardStepActiveColor,\n borderColor: themeVariables.wizardStepActiveColor,\n color: themeVariables.wizardActiveStepColor\n },\n doneStep: {\n backgroundColor: themeVariables.wizardStepDoneColor,\n color: themeVariables.wizardDoneStepColor,\n borderColor: themeVariables.wizardStepDoneColor\n },\n wizardHeader: {\n padding: 8,\n flexDirection: 'row',\n alignItems: 'flex-start',\n justifyContent: 'center'\n },\n stepWrapper: {\n alignItems: 'center',\n justifyContent: 'center',\n zIndex: 20\n },\n headerWrapper: {\n flex: 1\n },\n wizardBody: {\n alignSelf: 'flex-start',\n paddingTop: 10,\n width: '100%',\n borderWidth: 0,\n borderTopWidth: 1,\n borderBottomWidth: 1,\n borderColor: themeVariables.wizardBorderColor\n },\n wizardFooter: {\n flexDirection: 'row',\n justifyContent: 'flex-start',\n padding: 12,\n width: '100%',\n },\n buttonWrapper: {\n flexDirection: 'row',\n },\n stepTitle: {\n textTransform: 'capitalize',\n fontSize: 12,\n color: themeVariables.wizardStepTitleColor\n },\n stepSubTitle:{\n color: themeVariables.wizardStepTitleColor\n },\n step: {\n alignItems: 'center',\n justifyContent: 'center',\n width: 37,\n backgroundColor: themeVariables.wizardBackgroundColor,\n height: 37,\n borderWidth: 1,\n borderRadius: 18.5,\n color: themeVariables.wizardStepColor,\n borderColor: themeVariables.wizardStepColor\n },\n wizardActions: {\n root: {\n marginRight: 8\n },\n text : {\n textTransform: 'capitalize',\n fontSize: 14\n }\n } as WmButtonStyles,\n nextButton: {\n root: {\n marginRight: 0,\n paddingRight: 8,\n backgroundColor: themeVariables.wizardNextBtnColor,\n borderColor: themeVariables.wizardActiveStepColor\n },\n text:{\n color: themeVariables.wizardActiveStepColor\n }\n } as WmButtonStyles,\n prevButton: {\n root: {\n paddingLeft: 16\n },\n icon: {\n icon:{\n paddingRight: 0,\n paddingLeft: 0\n }\n } as WmIconStyles\n } as WmButtonStyles,\n cancelButton: {\n root:{\n minHeight: 46\n }\n } as WmButtonStyles,\n doneButton: {\n root: {\n marginRight: 0,\n backgroundColor: themeVariables.wizardDoneBtnColor,\n borderColor: themeVariables.wizardActiveStepColor\n },\n text:{\n color: themeVariables.wizardActiveStepColor\n },\n icon: {\n text: {\n fontSize: 12,\n color: themeVariables.wizardActiveStepColor\n }\n }\n } as WmButtonStyles,\n stepIcon: {\n root: {\n alignSelf: 'center',\n justifyContent: 'center',\n paddingLeft: 8\n },\n text: {\n color: themeVariables.wizardStepIconColor,\n fontSize: 15\n }\n } as WmIconStyles,\n skipLink: {\n root: {\n padding: 8,\n alignSelf: 'flex-end'\n },\n } as WmAnchorStyles,\n stepConnector: {\n backgroundColor: themeVariables.wizardStepConnectorColor,\n position: 'absolute',\n top: 17.5,\n zIndex: 10,\n height: 2\n },\n numberTextStepConnector: {\n display: 'none'\n },\n activeStepCounter: {\n color: themeVariables.wizardActiveStepColor\n },\n skeleton: { \n root: {\n }\n } as WmSkeletonStyles,\n stepCounter: {\n fontSize: 15,\n color: themeVariables.wizardStepColor\n },\n progressCircle:{} as WmProgressCircleStyles,\n popover:{} as WmPopoverStyles,\n stepMenu:{},\n activeStepMenu:{},\n stepMenuLabel: {} as WmLabelStyles,\n stepMenuActiveLabel: {} as WmLabelStyles,\n stepMenuIcon: {} as WmIconStyles,\n stepMenuActiveIcon: {} as WmIconStyles\n } as WmWizardStyles);\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle('number-text-inline', '', {\n stepConnector: {\n display: 'none'\n },\n numberTextStepConnector: {\n backgroundColor: themeVariables.wizardStepConnectorColor,\n height: 2,\n display: 'flex'\n },\n stepWrapper: {\n flexDirection: 'row'\n },\n wizardHeader: {\n justifyContent: 'flex-start'\n },\n headerWrapper: {\n flex: -1\n },\n stepTitle: {\n padding: 5\n },\n } as WmWizardStyles);\n addStyle('progress-circle-header', '', {\n stepWrapper: {\n paddingBottom: 4,\n flexDirection: 'row',\n alignItems: 'center'\n },\n wizardHeader: {\n justifyContent: 'flex-start',\n alignItems: 'center',\n backgroundColor: themeVariables.wizardBackgroundColor,\n height: 120,\n borderRadius: 30\n },\n stepSubTitle:{\n fontSize: 12,\n paddingHorizontal: 5\n },\n headerWrapper: {\n flex: 1\n },\n stepTitle: {\n fontSize: 16,\n paddingHorizontal: 5\n },\n progressCircle:{\n root: { \n height: 60, \n width: 60 \n }, \n text: {},\n progressValue:{\n height: 8\n }\n },\n popover:{\n popover:{\n width: 160,\n paddingTop: 8,\n paddingBottom: 8,\n backgroundColor: themeVariables.menuBackgroundColor,\n minHeight:160,\n borderBottomLeftRadius: 28,\n borderBottomRightRadius: 28 \n },\n popoverContent: {\n root:{\n //@ts-ignore\n flex: undefined\n }\n },\n modalContent:{\n borderBottomLeftRadius: 28,\n borderBottomRightRadius: 28\n }\n } as WmPopoverStyles,\n stepMenu:{\n flexDirection: 'row', \n padding: 14, \n alignItems: 'center', \n justifyContent:'flex-start'\n },\n activeStepMenu:{},\n stepMenuLabel:{\n text:{\n color:themeVariables.menuItemTextColor\n }\n },\n stepMenuActiveLabel:{\n text:{\n color: themeVariables.primaryColor\n }\n },\n stepMenuIcon: {\n root:{\n paddingRight: 4\n },\n text:{\n color:themeVariables.menuItemTextColor\n }\n },\n stepMenuActiveIcon:{\n root:{\n paddingRight: 4\n },\n text:{\n color: themeVariables.primaryColor\n }\n }\n } as WmWizardStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n wizardActions: {\n icon: {\n root:{\n transform: [{rotateY:'180deg'}]\n }\n },\n },\n nextButton:{\n root: {\n marginRight: 8,\n }\n },\n doneButton:{\n root: {\n marginRight: 8,\n },\n icon:{\n root:{\n transform: [{rotateY:'0deg'}]\n }\n }\n }\n });\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AA4CxF,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA6B,GAAGL,YAAY,CAAC;IAC/CM,IAAI,EAAE;MACJC,aAAa,EAAE,QAAQ;MACvBC,eAAe,EAAEL,cAAc,CAACM,qBAAqB;MACrDC,OAAO,EAAE,MAAM;MACfC,SAAS,EAAE;IACb,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,UAAU,EAAC;MACPL,eAAe,EAAEL,cAAc,CAACW,qBAAqB;MACrDC,WAAW,EAAEZ,cAAc,CAACW,qBAAqB;MACjDE,KAAK,EAAEb,cAAc,CAACc;IAC1B,CAAC;IACDC,QAAQ,EAAE;MACRV,eAAe,EAAEL,cAAc,CAACgB,mBAAmB;MACnDH,KAAK,EAAEb,cAAc,CAACiB,mBAAmB;MACzCL,WAAW,EAAEZ,cAAc,CAACgB;IAC9B,CAAC;IACDE,YAAY,EAAE;MACZC,OAAO,EAAE,CAAC;MACVf,aAAa,EAAE,KAAK;MACpBgB,UAAU,EAAE,YAAY;MACxBC,cAAc,EAAE;IAClB,CAAC;IACDC,WAAW,EAAE;MACXF,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE,QAAQ;MACxBE,MAAM,EAAE;IACV,CAAC;IACDC,aAAa,EAAE;MACbC,IAAI,EAAE;IACR,CAAC;IACDC,UAAU,EAAE;MACVC,SAAS,EAAE,YAAY;MACvBC,UAAU,EAAE,EAAE;MACdC,KAAK,EAAE,MAAM;MACbC,WAAW,E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6C,YAAY,EAAE;MAChB,CAAC;MACDvC,IAAI,EAAC;QACHI,KAAK,EAAEb,cAAc,CAACqF;MACxB;IACF;EACF,CAAmB,CAAC;EACpBpF,QAAQ,CAACH,aAAa,GAAG,MAAM,EAAE,EAAE,EAAE;IACnC+C,aAAa,EAAE;MACbO,IAAI,EAAE;QACJjD,IAAI,EAAC;UACHmF,SAAS,EAAE,CAAC;YAACC,OAAO,EAAC;UAAQ,CAAC;QAChC;MACF;IACF,CAAC;IACDxC,UAAU,EAAC;MACT5C,IAAI,EAAE;QACJ2C,WAAW,EAAE;MACf;IACF,CAAC;IACDQ,UAAU,EAAC;MACTnD,IAAI,EAAE;QACJ2C,WAAW,EAAE;MACf,CAAC;MACDM,IAAI,EAAC;QACHjD,IAAI,EAAC;UACHmF,SAAS,EAAE,CAAC;YAACC,OAAO,EAAC;UAAM,CAAC;QAC9B;MACF;IACF;EACF,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","backgroundColor","wizardBackgroundColor","display","minHeight","text","activeStep","wizardStepActiveColor","borderColor","color","wizardActiveStepColor","doneStep","wizardStepDoneColor","wizardDoneStepColor","wizardHeader","padding","alignItems","justifyContent","stepWrapper","zIndex","headerWrapper","flex","wizardBody","alignSelf","paddingTop","width","borderWidth","borderTopWidth","borderBottomWidth","wizardBorderColor","wizardFooter","buttonWrapper","stepTitle","textTransform","fontSize","wizardStepTitleColor","stepSubTitle","step","height","borderRadius","wizardStepColor","wizardActions","marginRight","nextButton","paddingRight","wizardNextBtnColor","prevButton","paddingLeft","icon","cancelButton","doneButton","wizardDoneBtnColor","stepIcon","wizardStepIconColor","skipLink","stepConnector","wizardStepConnectorColor","position","top","numberTextStepConnector","activeStepCounter","stepCounter","progressCircle","popover","stepMenu","activeStepMenu","stepMenuLabel","stepMenuActiveLabel","stepMenuIcon","stepMenuActiveIcon","paddingBottom","paddingHorizontal","progressValue","menuBackgroundColor","borderBottomLeftRadius","borderBottomRightRadius","popoverContent","undefined","modalContent","menuItemTextColor","primaryColor","transform","rotateY"],"sources":["wizard.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmButtonStyles } from '@wavemaker/app-rn-runtime/components/basic/button/button.styles';\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\nimport { WmAnchorStyles } from '@wavemaker/app-rn-runtime/components/basic/anchor/anchor.styles';\nimport { WmProgressCircleStyles } from '@wavemaker/app-rn-runtime/components/basic/progress-circle/progress-circle.styles';\nimport { WmPopoverStyles } from '@wavemaker/app-rn-runtime/components/navigation/popover/popover.styles';\nimport { WmLabelStyles } from '@wavemaker/app-rn-runtime/components/basic/label/label.styles';\nimport { TextStyle } from 'react-native';\n\nexport type WmWizardStyles = BaseStyles & {\n wizardHeader: AllStyle,\n wizardBody: AllStyle,\n wizardFooter: AllStyle,\n wizardActions: WmButtonStyles,\n stepTitle: AllStyle,\n stepSubTitle: AllStyle,\n buttonWrapper: AllStyle,\n step: AllStyle,\n nextButton: WmButtonStyles,\n doneButton: WmButtonStyles,\n prevButton: WmButtonStyles,\n cancelButton: WmButtonStyles,\n stepIcon: WmIconStyles,\n skipLink: WmAnchorStyles,\n activeStep: AllStyle,\n doneStep: AllStyle,\n headerWrapper: AllStyle,\n stepWrapper: AllStyle,\n stepConnector: AllStyle,\n numberTextStepConnector: AllStyle,\n activeStepCounter: TextStyle,\n stepCounter: AllStyle,\n progressCircle: WmProgressCircleStyles,\n popover: WmPopoverStyles,\n stepMenu: AllStyle,\n activeStepMenu: AllStyle,\n stepMenuLabel: WmLabelStyles,\n stepMenuActiveLabel: WmLabelStyles\n stepMenuIcon: WmIconStyles,\n stepMenuActiveIcon: WmIconStyles\n};\n\nexport const DEFAULT_CLASS = 'app-wizard';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmWizardStyles = defineStyles({\n root: {\n flexDirection: 'column',\n backgroundColor: themeVariables.wizardBackgroundColor,\n display: 'flex',\n minHeight: 240\n },\n text: {},\n activeStep:{\n backgroundColor: themeVariables.wizardStepActiveColor,\n borderColor: themeVariables.wizardStepActiveColor,\n color: themeVariables.wizardActiveStepColor\n },\n doneStep: {\n backgroundColor: themeVariables.wizardStepDoneColor,\n color: themeVariables.wizardDoneStepColor,\n borderColor: themeVariables.wizardStepDoneColor\n },\n wizardHeader: {\n padding: 8,\n flexDirection: 'row',\n alignItems: 'flex-start',\n justifyContent: 'center'\n },\n stepWrapper: {\n alignItems: 'center',\n justifyContent: 'center',\n zIndex: 20\n },\n headerWrapper: {\n flex: 1\n },\n wizardBody: {\n alignSelf: 'flex-start',\n paddingTop: 10,\n width: '100%',\n borderWidth: 0,\n borderTopWidth: 1,\n borderBottomWidth: 1,\n borderColor: themeVariables.wizardBorderColor\n },\n wizardFooter: {\n flexDirection: 'row',\n justifyContent: 'flex-start',\n padding: 12,\n width: '100%',\n },\n buttonWrapper: {\n flexDirection: 'row',\n },\n stepTitle: {\n textTransform: 'capitalize',\n fontSize: 12,\n color: themeVariables.wizardStepTitleColor\n },\n stepSubTitle:{\n color: themeVariables.wizardStepTitleColor\n },\n step: {\n alignItems: 'center',\n justifyContent: 'center',\n width: 37,\n backgroundColor: themeVariables.wizardBackgroundColor,\n height: 37,\n borderWidth: 1,\n borderRadius: 18.5,\n color: themeVariables.wizardStepColor,\n borderColor: themeVariables.wizardStepColor\n },\n wizardActions: {\n root: {\n marginRight: 8\n },\n text : {\n textTransform: 'capitalize',\n fontSize: 14\n }\n } as WmButtonStyles,\n nextButton: {\n root: {\n marginRight: 0,\n paddingRight: 8,\n backgroundColor: themeVariables.wizardNextBtnColor,\n borderColor: themeVariables.wizardActiveStepColor\n },\n text:{\n color: themeVariables.wizardActiveStepColor\n }\n } as WmButtonStyles,\n prevButton: {\n root: {\n paddingLeft: 16\n },\n icon: {\n icon:{\n paddingRight: 0,\n paddingLeft: 0\n }\n } as WmIconStyles\n } as WmButtonStyles,\n cancelButton: {\n root:{\n minHeight: 46\n }\n } as WmButtonStyles,\n doneButton: {\n root: {\n marginRight: 0,\n backgroundColor: themeVariables.wizardDoneBtnColor,\n borderColor: themeVariables.wizardActiveStepColor\n },\n text:{\n color: themeVariables.wizardActiveStepColor\n },\n icon: {\n text: {\n fontSize: 12,\n color: themeVariables.wizardActiveStepColor\n }\n }\n } as WmButtonStyles,\n stepIcon: {\n root: {\n alignSelf: 'center',\n justifyContent: 'center',\n paddingLeft: 8\n },\n text: {\n color: themeVariables.wizardStepIconColor,\n fontSize: 15\n }\n } as WmIconStyles,\n skipLink: {\n root: {\n padding: 8,\n alignSelf: 'flex-end'\n },\n } as WmAnchorStyles,\n stepConnector: {\n backgroundColor: themeVariables.wizardStepConnectorColor,\n position: 'absolute',\n top: 17.5,\n zIndex: 10,\n height: 2\n },\n numberTextStepConnector: {\n display: 'none'\n },\n activeStepCounter: {\n color: themeVariables.wizardActiveStepColor\n },\n stepCounter: {\n fontSize: 15,\n color: themeVariables.wizardStepColor\n },\n progressCircle:{} as WmProgressCircleStyles,\n popover:{} as WmPopoverStyles,\n stepMenu:{},\n activeStepMenu:{},\n stepMenuLabel: {} as WmLabelStyles,\n stepMenuActiveLabel: {} as WmLabelStyles,\n stepMenuIcon: {} as WmIconStyles,\n stepMenuActiveIcon: {} as WmIconStyles\n } as WmWizardStyles);\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle('number-text-inline', '', {\n stepConnector: {\n display: 'none'\n },\n numberTextStepConnector: {\n backgroundColor: themeVariables.wizardStepConnectorColor,\n height: 2,\n display: 'flex'\n },\n stepWrapper: {\n flexDirection: 'row'\n },\n wizardHeader: {\n justifyContent: 'flex-start'\n },\n headerWrapper: {\n flex: -1\n },\n stepTitle: {\n padding: 5\n },\n } as WmWizardStyles);\n addStyle('progress-circle-header', '', {\n stepWrapper: {\n paddingBottom: 4,\n flexDirection: 'row',\n alignItems: 'center'\n },\n wizardHeader: {\n justifyContent: 'flex-start',\n alignItems: 'center',\n backgroundColor: themeVariables.wizardBackgroundColor,\n height: 120,\n borderRadius: 30\n },\n stepSubTitle:{\n fontSize: 12,\n paddingHorizontal: 5\n },\n headerWrapper: {\n flex: 1\n },\n stepTitle: {\n fontSize: 16,\n paddingHorizontal: 5\n },\n progressCircle:{\n root: { \n height: 60, \n width: 60 \n }, \n text: {},\n progressValue:{\n height: 8\n }\n },\n popover:{\n popover:{\n width: 160,\n paddingTop: 8,\n paddingBottom: 8,\n backgroundColor: themeVariables.menuBackgroundColor,\n minHeight:160,\n borderBottomLeftRadius: 28,\n borderBottomRightRadius: 28 \n },\n popoverContent: {\n root:{\n //@ts-ignore\n flex: undefined\n }\n },\n modalContent:{\n borderBottomLeftRadius: 28,\n borderBottomRightRadius: 28\n }\n } as WmPopoverStyles,\n stepMenu:{\n flexDirection: 'row', \n padding: 14, \n alignItems: 'center', \n justifyContent:'flex-start'\n },\n activeStepMenu:{},\n stepMenuLabel:{\n text:{\n color:themeVariables.menuItemTextColor\n }\n },\n stepMenuActiveLabel:{\n text:{\n color: themeVariables.primaryColor\n }\n },\n stepMenuIcon: {\n root:{\n paddingRight: 4\n },\n text:{\n color:themeVariables.menuItemTextColor\n }\n },\n stepMenuActiveIcon:{\n root:{\n paddingRight: 4\n },\n text:{\n color: themeVariables.primaryColor\n }\n }\n } as WmWizardStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n wizardActions: {\n icon: {\n root:{\n transform: [{rotateY:'180deg'}]\n }\n },\n },\n nextButton:{\n root: {\n marginRight: 8,\n }\n },\n doneButton:{\n root: {\n marginRight: 8,\n },\n icon:{\n root:{\n transform: [{rotateY:'0deg'}]\n }\n }\n }\n });\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,Q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;IACF,CAAC;IACDvC,UAAU,EAAC;MACT5C,IAAI,EAAE;QACJ2C,WAAW,EAAE;MACf;IACF,CAAC;IACDQ,UAAU,EAAC;MACTnD,IAAI,EAAE;QACJ2C,WAAW,EAAE;MACf,CAAC;MACDM,IAAI,EAAC;QACHjD,IAAI,EAAC;UACHkF,SAAS,EAAE,CAAC;YAACC,OAAO,EAAC;UAAM,CAAC;QAC9B;MACF;IACF;EACF,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -19,10 +19,7 @@ export default class WmWizardstep extends BaseComponent {
19
19
  }
20
20
  componentDidMount() {
21
21
  const wizard = this.parent;
22
- // When skeleton is enabled in the wizard component, the parent would be WMSkeleton which doesnot have addWizardStep function
23
- if (wizard.addWizardStep) {
24
- wizard.addWizardStep(this);
25
- }
22
+ wizard.addWizardStep(this);
26
23
  super.componentDidMount();
27
24
  }
28
25
  onPropertyChange(name, $new, $old) {
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmWizardstepProps","DEFAULT_CLASS","WmWizardstepState","constructor","args","_defineProperty","WmWizardstep","props","componentDidMount","wizard","parent","addWizardStep","onPropertyChange","name","$new","$old","refresh","setTimeout","forceUpdate","setActive","updateState","active","setInActive","isVisible","state","invokeNextCB","index","invokeEventCallback","proxy","invokePrevCB","invokeSkipCB","renderWidget","showContent","createElement","style","styles","root","_background","children"],"sources":["wizardstep.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmWizardstepProps from './wizardstep.props';\nimport { DEFAULT_CLASS, WmWizardstepStyles } from './wizardstep.styles';\nimport WmWizard from '../wizard.component';\nimport { isBoolean } from 'lodash-es';\n\nexport class WmWizardstepState extends BaseComponentState<WmWizardstepProps> {\n active = false;\n showContent: boolean = false;\n}\n\nexport default class WmWizardstep extends BaseComponent<WmWizardstepProps, WmWizardstepState, WmWizardstepStyles> {\n\n constructor(props: WmWizardstepProps) {\n super(props, DEFAULT_CLASS, new WmWizardstepProps(), new WmWizardstepState());\n }\n\n componentDidMount() {\n const wizard = (this.parent) as WmWizard;\n // When skeleton is enabled in the wizard component, the parent would be WMSkeleton which doesnot have addWizardStep function\n if(wizard.addWizardStep) {\n wizard.addWizardStep(this);\n }\n super.componentDidMount();\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n super.onPropertyChange(name, $new, $old);\n switch(name) {\n case 'title':\n const wizard = (this.parent) as WmWizard;\n wizard?.refresh();\n break;\n case 'disableprev':\n case 'disablenext':\n case 'disabledone':\n case 'enableskip':\n setTimeout(() => {\n this.parent.forceUpdate();\n }, 10);\n break;\n }\n }\n\n setActive() {\n this.updateState({\n active: true\n } as WmWizardstepState);\n }\n\n setInActive() {\n this.updateState({\n active: false\n } as WmWizardstepState);\n }\n\n isVisible() {\n return super.isVisible() && this.state.active;\n }\n\n invokeNextCB(index: number) : boolean {\n return this.invokeEventCallback('onNext', [this.proxy, this, index]);\n }\n\n invokePrevCB(index: number) : boolean {\n return this.invokeEventCallback('onPrev', [this.proxy, this, index]);\n }\n\n invokeSkipCB(index: number) {\n this.invokeEventCallback('onSkip', [this.proxy, this, index]);\n }\n renderWidget(props: WmWizardstepProps) {\n if(!this.state.showContent && this.isVisible()){\n this.updateState({showContent: true} as WmWizardstepState, ()=>{\n this.invokeEventCallback('onLoad', [this]);\n });\n }\n return this.state.showContent && (<View style={this.styles.root}>{this._background}{props.children}</View>);\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,iBAAiB,MAAM,oBAAoB;AAClD,SAASC,aAAa,QAA4B,qBAAqB;AAIvE,OAAO,MAAMC,iBAAiB,SAASH,kBAAkB,CAAoB;EAAAI,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAA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AACH,MAAM;EAC/C;EAEAI,YAAYA,CAACC,KAAa,EAAY;IACpC,OAAO,IAAI,CAACC,mBAAmB,CAAC,QAAQ,EAAE,CAAC,IAAI,CAACC,KAAK,EAAE,IAAI,EAAEF,KAAK,CAAC,CAAC;EACtE;EAEAG,YAAYA,CAACH,KAAa,EAAY;IACpC,OAAO,IAAI,CAACC,mBAAmB,CAAC,QAAQ,EAAE,CAAC,IAAI,CAACC,KAAK,EAAE,IAAI,EAAEF,KAAK,CAAC,CAAC;EACtE;EAEAI,YAAYA,CAACJ,KAAa,EAAE;IAC1B,IAAI,CAACC,mBAAmB,CAAC,QAAQ,EAAE,CAAC,IAAI,CAACC,KAAK,EAAE,IAAI,EAAEF,KAAK,CAAC,CAAC;EAC/D;EACAK,YAAYA,CAACxB,KAAwB,EAAE;IACrC,IAAG,CAAC,IAAI,CAACiB,KAAK,CAACQ,WAAW,IAAI,IAAI,CAACT,SAAS,CAAC,CAAC,EAAC;MAC7C,IAAI,CAACH,WAAW,CAAC;QAACY,WAAW,EAAE;MAAI,CAAC,EAAuB,MAAI;QAC7D,IAAI,CAACL,mBAAmB,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,CAAC;MAC5C,CAAC,CAAC;IACJ;IACA,OAAO,IAAI,CAACH,KAAK,CAACQ,WAAW,iBAAKpC,KAAA,CAAAqC,aAAA,CAACpC,IAAI;MAACqC,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC;IAAK,GAAE,IAAI,CAACC,WAAW,EAAE9B,KAAK,CAAC+B,QAAe,CAAE;EAC7G;AACF","ignoreList":[]}
1
+ {"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmWizardstepProps","DEFAULT_CLASS","WmWizardstepState","constructor","args","_defineProperty","WmWizardstep","props","componentDidMount","wizard","parent","addWizardStep","onPropertyChange","name","$new","$old","refresh","setTimeout","forceUpdate","setActive","updateState","active","setInActive","isVisible","state","invokeNextCB","index","invokeEventCallback","proxy","invokePrevCB","invokeSkipCB","renderWidget","showContent","createElement","style","styles","root","_background","children"],"sources":["wizardstep.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmWizardstepProps from './wizardstep.props';\nimport { DEFAULT_CLASS, WmWizardstepStyles } from './wizardstep.styles';\nimport WmWizard from '../wizard.component';\nimport { isBoolean } from 'lodash-es';\n\nexport class WmWizardstepState extends BaseComponentState<WmWizardstepProps> {\n active = false;\n showContent: boolean = false;\n}\n\nexport default class WmWizardstep extends BaseComponent<WmWizardstepProps, WmWizardstepState, WmWizardstepStyles> {\n\n constructor(props: WmWizardstepProps) {\n super(props, DEFAULT_CLASS, new WmWizardstepProps(), new WmWizardstepState());\n }\n\n componentDidMount() {\n const wizard = (this.parent) as WmWizard;\n wizard.addWizardStep(this);\n super.componentDidMount();\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n super.onPropertyChange(name, $new, $old);\n switch(name) {\n case 'title':\n const wizard = (this.parent) as WmWizard;\n wizard?.refresh();\n break;\n case 'disableprev':\n case 'disablenext':\n case 'disabledone':\n case 'enableskip':\n setTimeout(() => {\n this.parent.forceUpdate();\n }, 10);\n break;\n }\n }\n\n setActive() {\n this.updateState({\n active: true\n } as WmWizardstepState);\n }\n\n setInActive() {\n this.updateState({\n active: false\n } as WmWizardstepState);\n }\n\n isVisible() {\n return super.isVisible() && this.state.active;\n }\n\n invokeNextCB(index: number) : boolean {\n return this.invokeEventCallback('onNext', [this.proxy, this, index]);\n }\n\n invokePrevCB(index: number) : boolean {\n return this.invokeEventCallback('onPrev', [this.proxy, this, index]);\n }\n\n invokeSkipCB(index: number) {\n this.invokeEventCallback('onSkip', [this.proxy, this, index]);\n }\n renderWidget(props: WmWizardstepProps) {\n if(!this.state.showContent && this.isVisible()){\n this.updateState({showContent: true} as WmWizardstepState, ()=>{\n this.invokeEventCallback('onLoad', [this]);\n });\n }\n return this.state.showContent && (<View style={this.styles.root}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AC7G;AACF","ignoreList":[]}
@@ -33,13 +33,9 @@ export default class WmCardContent extends BaseComponent {
33
33
  return props.children;
34
34
  }
35
35
  renderWidget(props) {
36
- const styles = this._showSkeleton ? {
37
- ...this.styles.root,
38
- ...this.styles.skeleton.root
39
- } : this.styles.root;
40
36
  return /*#__PURE__*/React.createElement(View, {
41
- style: styles
42
- }, !this._showSkeleton ? this._background : null, this.renderContent(props));
37
+ style: this.styles.root
38
+ }, this._background, this.renderContent(props));
43
39
  }
44
40
  }
45
41
  //# sourceMappingURL=card-content.component.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmCardContentProps","DEFAULT_CLASS","WmCardContentState","constructor","args","_defineProperty","WmCardContent","props","onPartialLoad","invokeEventCallback","renderContent","renderPartial","state","isPartialLoaded","setTimeout","updateState","bind","children","renderWidget","styles","_showSkeleton","root","skeleton","createElement","style","_background"],"sources":["card-content.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmCardContentProps from './card-content.props';\nimport { DEFAULT_CLASS, WmCardContentStyles } from './card-content.styles';\n\nexport class WmCardContentState extends BaseComponentState<WmCardContentProps> {\n isPartialLoaded = false;\n}\n\nexport default class WmCardContent extends BaseComponent<WmCardContentProps, WmCardContentState, WmCardContentStyles> {\n\n constructor(props: WmCardContentProps) {\n super(props, DEFAULT_CLASS, new WmCardContentProps());\n }\n\n onPartialLoad() {\n this.invokeEventCallback('onLoad', [null, this]);\n }\n\n renderContent(props: WmCardContentProps) {\n if (props.renderPartial) {\n if (!this.state.isPartialLoaded) {\n setTimeout(() => {\n this.updateState({\n isPartialLoaded: true\n } as WmCardContentState);\n });\n }\n return props.renderPartial(props, this.onPartialLoad.bind(this));\n }\n return props.children;\n }\n\n renderWidget(props: WmCardContentProps) {\n const styles = this._showSkeleton ? {\n ...this.styles.root,\n ...this.styles.skeleton.root\n } : this.styles.root\n\n return (<View style={styles}>{!this._showSkeleton ? this._background : null}{this.renderContent(props)}</View>);\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,kBAAkB,MAAM,sBAAsB;AACrD,SAASC,aAAa,QAA6B,uBAAuB;AAE1E,OAAO,MAAMC,kBAAkB,SAASH,kBAAkB,CAAqB;EAAAI,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,0BAC3D,KAAK;EAAA;AACzB;AAEA,eAAe,MAAMC,aAAa,SAASR,aAAa,CAA8D;EAEpHK,WAAWA,CAACI,KAAyB,EAAE;IACrC,KAAK,CAACA,KAAK,EAAEN,aAAa,EAAE,IAAID,kBAAkB,CAAC,CAAC,CAAC;EACvD;EAEAQ,aAAaA,CAAA,EAAG;IACd,IAAI,CAACC,mBAAmB,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;EAClD;EAEAC,aAAaA,CAACH,KAAyB,EAAE;IACvC,IAAIA,KAAK,CAACI,aAAa,EAAE;MACvB,IAAI,CAAC,IAAI,CAACC,KAAK,CAACC,eAAe,EAAE;QAC/BC,UAAU,CAAC,MAAM;UACf,IAAI,CAACC,WAAW,CAAC;YACfF,eAAe,EAAE;UACnB,CAAuB,CAAC;QAC1B,CAAC,CAAC;MACJ;MACA,OAAON,KAAK,CAACI,aAAa,CAACJ,KAAK,EAAE,IAAI,CAACC,aAAa,CAACQ,IAAI,CAAC,IAAI,CAAC,CAAC;IAClE;IACA,OAAOT,KAAK,CAACU,QAAQ;EACvB;EAEAC,YAAYA,CAACX,KAAyB,EAAE;IACtC,MAAMY,MAAM,GAAG,IAAI,CAACC,aAAa,GAAG;MAClC,GAAG,IAAI,CAACD,MAAM,CAACE,IAAI;MACnB,GAAG,IAAI,CAACF,MAAM,CAACG,QAAQ,CAACD;IAC1B,CAAC,GAAG,IAAI,CAACF,MAAM,CAACE,IAAI;IAEpB,oBAAQzB,KAAA,CAAA2B,aAAA,CAAC1B,IAAI;MAAC2B,KAAK,EAAEL;IAAO,GAAE,CAAC,IAAI,CAACC,aAAa,GAAG,IAAI,CAACK,WAAW,GAAG,IAAI,EAAE,IAAI,CAACf,aAAa,CAACH,KAAK,CAAQ,CAAC;EAChH;AACF","ignoreList":[]}
1
+ {"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmCardContentProps","DEFAULT_CLASS","WmCardContentState","constructor","args","_defineProperty","WmCardContent","props","onPartialLoad","invokeEventCallback","renderContent","renderPartial","state","isPartialLoaded","setTimeout","updateState","bind","children","renderWidget","createElement","style","styles","root","_background"],"sources":["card-content.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmCardContentProps from './card-content.props';\nimport { DEFAULT_CLASS, WmCardContentStyles } from './card-content.styles';\n\nexport class WmCardContentState extends BaseComponentState<WmCardContentProps> {\n isPartialLoaded = false;\n}\n\nexport default class WmCardContent extends BaseComponent<WmCardContentProps, WmCardContentState, WmCardContentStyles> {\n\n constructor(props: WmCardContentProps) {\n super(props, DEFAULT_CLASS, new WmCardContentProps());\n }\n\n onPartialLoad() {\n this.invokeEventCallback('onLoad', [null, this]);\n }\n\n renderContent(props: WmCardContentProps) {\n if (props.renderPartial) {\n if (!this.state.isPartialLoaded) {\n setTimeout(() => {\n this.updateState({\n isPartialLoaded: true\n } as WmCardContentState);\n });\n }\n return props.renderPartial(props, this.onPartialLoad.bind(this));\n }\n return props.children;\n }\n\n renderWidget(props: WmCardContentProps) {\n return (<View style={this.styles.root}>{this._background}{this.renderContent(props)}</View>);\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,kBAAkB,MAAM,sBAAsB;AACrD,SAASC,aAAa,QAA6B,uBAAuB;AAE1E,OAAO,MAAMC,kBAAkB,SAASH,kBAAkB,CAAqB;EAAAI,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,0BAC3D,KAAK;EAAA;AACzB;AAEA,eAAe,MAAMC,aAAa,SAASR,aAAa,CAA8D;EAEpHK,WAAWA,CAACI,KAAyB,EAAE;IACrC,KAAK,CAACA,KAAK,EAAEN,aAAa,EAAE,IAAID,kBAAkB,CAAC,CAAC,CAAC;EACvD;EAEAQ,aAAaA,CAAA,EAAG;IACd,IAAI,CAACC,mBAAmB,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;EAClD;EAEAC,aAAaA,CAACH,KAAyB,EAAE;IACvC,IAAIA,KAAK,CAACI,aAAa,EAAE;MACvB,IAAI,CAAC,IAAI,CAACC,KAAK,CAACC,eAAe,EAAE;QAC/BC,UAAU,CAAC,MAAM;UACf,IAAI,CAACC,WAAW,CAAC;YACfF,eAAe,EAAE;UACnB,CAAuB,CAAC;QAC1B,CAAC,CAAC;MACJ;MACA,OAAON,KAAK,CAACI,aAAa,CAACJ,KAAK,EAAE,IAAI,CAACC,aAAa,CAACQ,IAAI,CAAC,IAAI,CAAC,CAAC;IAClE;IACA,OAAOT,KAAK,CAACU,QAAQ;EACvB;EAEAC,YAAYA,CAACX,KAAyB,EAAE;IACtC,oBAAQX,KAAA,CAAAuB,aAAA,CAACtB,IAAI;MAACuB,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC;IAAK,GAAE,IAAI,CAACC,WAAW,EAAE,IAAI,CAACb,aAAa,CAACH,KAAK,CAAQ,CAAC;EAC7F;AACF","ignoreList":[]}
@@ -7,10 +7,7 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
7
7
  backgroundColor: themeVariables.cardContentBgColor,
8
8
  padding: 8
9
9
  },
10
- text: {},
11
- skeleton: {
12
- root: {}
13
- }
10
+ text: {}
14
11
  });
15
12
  addStyle(DEFAULT_CLASS, '', defaultStyles);
16
13
  });
@@ -1 +1 @@
1
- {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","backgroundColor","cardContentBgColor","padding","text","skeleton"],"sources":["card-content.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmSkeletonStyles } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.styles';\n\nexport type WmCardContentStyles = BaseStyles & {\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-card-content';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmCardContentStyles = defineStyles({\n root: {\n backgroundColor: themeVariables.cardContentBgColor,\n padding: 8\n },\n text: {},\n skeleton: {\n root: {\n }\n } as any as WmSkeletonStyles\n });\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAOxF,OAAO,MAAMC,aAAa,GAAG,kBAAkB;AAC/CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAkC,GAAGL,YAAY,CAAC;IACpDM,IAAI,EAAE;MACFC,eAAe,EAAEJ,cAAc,CAACK,kBAAkB;MAClDC,OAAO,EAAE;IACb,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,QAAQ,EAAE;MACNL,IAAI,EAAE,CACN;IACJ;EACJ,CAAC,CAAC;EACFF,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC9C,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","backgroundColor","cardContentBgColor","padding","text"],"sources":["card-content.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport type WmCardContentStyles = BaseStyles & {};\n\nexport const DEFAULT_CLASS = 'app-card-content';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmCardContentStyles = defineStyles({\n root: {\n backgroundColor: themeVariables.cardContentBgColor,\n padding: 8\n },\n text: {}\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAIxF,OAAO,MAAMC,aAAa,GAAG,kBAAkB;AAC/CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAkC,GAAGL,YAAY,CAAC;IACpDM,IAAI,EAAE;MACFC,eAAe,EAAEJ,cAAc,CAACK,kBAAkB;MAClDC,OAAO,EAAE;IACb,CAAC;IACDC,IAAI,EAAE,CAAC;EACX,CAAC,CAAC;EAEFN,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC9C,CAAC,CAAC","ignoreList":[]}
@@ -9,7 +9,6 @@ import { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
9
9
  import WmPicture from '@wavemaker/app-rn-runtime/components/basic/picture/picture.component';
10
10
  import WmCardProps from './card.props';
11
11
  import { DEFAULT_CLASS } from './card.styles';
12
- import { createSkeleton } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.component';
13
12
  export class WmCardState extends BaseComponentState {}
14
13
  export default class WmCard extends BaseComponent {
15
14
  constructor(props) {
@@ -58,23 +57,6 @@ export default class WmCard extends BaseComponent {
58
57
  }, this.styles.picture)
59
58
  }));
60
59
  }
61
- renderSkeleton(props) {
62
- if (!props.showskeletonchildren) {
63
- var _this$props;
64
- const skeletonStyles = ((_this$props = this.props) === null || _this$props === void 0 || (_this$props = _this$props.styles) === null || _this$props === void 0 ? void 0 : _this$props.skeleton) || {
65
- root: {},
66
- text: {}
67
- };
68
- return createSkeleton(this.theme, skeletonStyles, {
69
- ...this.styles.root
70
- }, /*#__PURE__*/React.createElement(View, {
71
- style: [this.styles.root, {
72
- opacity: 0
73
- }]
74
- }, props.children));
75
- }
76
- return null;
77
- }
78
60
  renderWidget(props) {
79
61
  return /*#__PURE__*/React.createElement(View, {
80
62
  style: this.styles.root
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmLabel","WmMenu","WmIcon","Tappable","WmPicture","WmCardProps","DEFAULT_CLASS","createSkeleton","WmCardState","WmCard","constructor","props","renderHeader","createElement","style","flexDirection","iconclass","title","subheading","actions","styles","heading","iconurl","cardIcon","iconheight","iconmargin","iconwidth","flex","caption","dataset","itemlabel","itemlink","itemicon","itembadge","isactive","itemchildren","picturesource","theme","mergeStyle","root","height","imageheight","picture","renderSkeleton","showskeletonchildren","_this$props","skeletonStyles","skeleton","text","opacity","children","renderWidget","_background","_extends","getTestPropsForAction","target","width"],"sources":["card.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';\nimport WmMenu from '@wavemaker/app-rn-runtime/components/navigation/menu/menu.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport WmPicture from '@wavemaker/app-rn-runtime/components/basic/picture/picture.component';\n\n\nimport WmCardProps from './card.props';\nimport { DEFAULT_CLASS, WmCardStyles } from './card.styles';\nimport { WmSkeletonStyles } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.styles';\nimport { createSkeleton } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.component';\n\nexport class WmCardState extends BaseComponentState<WmCardProps> {}\n\nexport default class WmCard extends BaseComponent<WmCardProps, WmCardState, WmCardStyles> {\n\n constructor(props: WmCardProps) {\n super(props, DEFAULT_CLASS, new WmCardProps());\n }\n\n renderHeader(props: WmCardProps) {\n return (\n <View style={{flexDirection: 'row'}}>\n {(props.iconclass || props.title || props.subheading || props.actions) ?\n (<View style={this.styles.heading}>\n {props.iconclass || props.iconurl ? \n <WmIcon styles={this.styles.cardIcon}\n iconclass={props.iconclass}\n iconurl={props.iconurl}\n iconheight={props.iconheight}\n iconmargin={props.iconmargin}\n iconwidth={props.iconwidth}\n /> : null} \n <View style={{flex: 1}}>\n <WmLabel styles={this.styles.title} caption={props.title}></WmLabel>\n <WmLabel styles={this.styles.subheading} caption={props.subheading}></WmLabel>\n </View>\n <WmMenu\n caption=\"\"\n iconclass=\"wm-sl-l sl-more-menu-vertical\"\n dataset={props.actions}\n itemlabel={props.itemlabel}\n itemlink={props.itemlink}\n itemicon={props.itemicon}\n itembadge={props.itembadge}\n isactive={props.isactive}\n itemchildren={props.itemchildren}></WmMenu>\n </View>) : null}\n {props.picturesource &&\n (<WmPicture\n picturesource={props.picturesource}\n styles={this.theme.mergeStyle({root : {height: props.imageheight}}, this.styles.picture)}></WmPicture>\n )}\n </View>);\n }\n\n public renderSkeleton(props: WmCardProps): React.ReactNode {\n if(!props.showskeletonchildren) {\n const skeletonStyles: WmSkeletonStyles = this.props?.styles?.skeleton || { root: {}, text: {} } as WmSkeletonStyles\n return createSkeleton(this.theme, skeletonStyles, {\n ...this.styles.root\n }, (<View style={[this.styles.root, { opacity: 0 }]}>\n {props.children}\n </View>))\n }\n return null;\n }\n\n renderWidget(props: WmCardProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n <Tappable {...this.getTestPropsForAction()} target={this} styles={{width: '100%', height: this.styles.root.height ? '100%' : null}}>\n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B,EAAmB;IACzD,IAAG,CAACA,KAAK,CAACiC,oBAAoB,EAAE;MAAA,IAAAC,WAAA;MAC9B,MAAMC,cAAgC,GAAG,EAAAD,WAAA,OAAI,CAAClC,KAAK,cAAAkC,WAAA,gBAAAA,WAAA,GAAVA,WAAA,CAAYzB,MAAM,cAAAyB,WAAA,uBAAlBA,WAAA,CAAoBE,QAAQ,KAAI;QAAER,IAAI,EAAE,CAAC,CAAC;QAAES,IAAI,EAAE,CAAC;MAAG,CAAqB;MACpH,OAAOzC,cAAc,CAAC,IAAI,CAAC8B,KAAK,EAAES,cAAc,EAAE;QAChD,GAAG,IAAI,CAAC1B,MAAM,CAACmB;MACjB,CAAC,eAAG3C,KAAA,CAAAiB,aAAA,CAAChB,IAAI;QAACiB,KAAK,EAAE,CAAC,IAAI,CAACM,MAAM,CAACmB,IAAI,EAAE;UAAEU,OAAO,EAAE;QAAE,CAAC;MAAE,GACjDtC,KAAK,CAACuC,QACH,CAAE,CAAC;IACX;IACA,OAAO,IAAI;EACb;EAEAC,YAAYA,CAACxC,KAAkB,EAAE;IAC5B,oBACDf,KAAA,CAAAiB,aAAA,CAAChB,IAAI;MAACiB,KAAK,EAAE,IAAI,CAACM,MAAM,CAACmB;IAAK,GAC3B,IAAI,CAACa,WAAW,eACjBxD,KAAA,CAAAiB,aAAA,CAACV,QAAQ,EAAAkD,QAAA,KAAK,IAAI,CAACC,qBAAqB,CAAC,CAAC;MAAEC,MAAM,EAAE,IAAK;MAACnC,MAAM,EAAE;QAACoC,KAAK,EAAE,MAAM;QAAEhB,MAAM,EAAE,IAAI,CAACpB,MAAM,CAACmB,IAAI,CAACC,MAAM,GAAG,MAAM,GAAG;MAAI;IAAE,IAC9H,IAAI,CAAC5B,YAAY,CAACD,KAAK,CAAC,EACxBA,KAAK,CAACuC,QACD,CACN,CAAC;EACX;AACF","ignoreList":[]}
1
+ {"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmLabel","WmMenu","WmIcon","Tappable","WmPicture","WmCardProps","DEFAULT_CLASS","WmCardState","WmCard","constructor","props","renderHeader","createElement","style","flexDirection","iconclass","title","subheading","actions","styles","heading","iconurl","cardIcon","iconheight","iconmargin","iconwidth","flex","caption","dataset","itemlabel","itemlink","itemicon","itembadge","isactive","itemchildren","picturesource","theme","mergeStyle","root","height","imageheight","picture","renderWidget","_background","_extends","getTestPropsForAction","target","width","children"],"sources":["card.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';\nimport WmMenu from '@wavemaker/app-rn-runtime/components/navigation/menu/menu.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport WmPicture from '@wavemaker/app-rn-runtime/components/basic/picture/picture.component';\n\n\nimport WmCardProps from './card.props';\nimport { DEFAULT_CLASS, WmCardStyles } from './card.styles';\n\nexport class WmCardState extends BaseComponentState<WmCardProps> {}\n\nexport default class WmCard extends BaseComponent<WmCardProps, WmCardState, WmCardStyles> {\n\n constructor(props: WmCardProps) {\n super(props, DEFAULT_CLASS, new WmCardProps());\n }\n\n renderHeader(props: WmCardProps) {\n return (\n <View style={{flexDirection: 'row'}}>\n {(props.iconclass || props.title || props.subheading || props.actions) ?\n (<View style={this.styles.heading}>\n {props.iconclass || props.iconurl ? \n <WmIcon styles={this.styles.cardIcon}\n iconclass={props.iconclass}\n iconurl={props.iconurl}\n iconheight={props.iconheight}\n iconmargin={props.iconmargin}\n iconwidth={props.iconwidth}\n /> : null} \n <View style={{flex: 1}}>\n <WmLabel styles={this.styles.title} caption={props.title}></WmLabel>\n <WmLabel styles={this.styles.subheading} caption={props.subheading}></WmLabel>\n </View>\n <WmMenu\n caption=\"\"\n iconclass=\"wm-sl-l sl-more-menu-vertical\"\n dataset={props.actions}\n itemlabel={props.itemlabel}\n itemlink={props.itemlink}\n itemicon={props.itemicon}\n itembadge={props.itembadge}\n isactive={props.isactive}\n itemchildren={props.itemchildren}></WmMenu>\n </View>) : null}\n {props.picturesource &&\n (<WmPicture\n picturesource={props.picturesource}\n styles={this.theme.mergeStyle({root : {height: props.imageheight}}, this.styles.picture)}></WmPicture>\n )}\n </View>);\n }\n\n renderWidget(props: WmCardProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n <Tappable {...this.getTestPropsForAction()} target={this} styles={{width: '100%', height: this.styles.root.height ? '100%' : null}}>\n {this.renderHeader(props)}\n {props.children}\n </Tappable>\n </View>);\n }\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,OAAO,MAAM,kEAAkE;AACtF,OAAOC,MAAM,MAAM,qEAAqE;AACxF,OAAOC,MAAM,MAAM,gEAAgE;AACnF,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,OAAOC,SAAS,MAAM,sEAAsE;AAG5F,OAAOC,WAAW,MAAM,cAAc;AACtC,SAASC,aAAa,QAAsB,eAAe;AAE3D,OAAO,MAAMC,WAAW,SAASR,kBAAkB,CAAc;AAEjE,eAAe,MAAMS,MAAM,SAASV,aAAa,CAAyC;EAExFW,WAAWA,CAACC,KAAkB,EAAE;IAC9B,KAAK,CAACA,KAAK,EAAEJ,aAAa,EAAE,IAAID,WAAW,CAAC,CAAC,CAAC;EAChD;EAEAM,YAAYA,CAACD,KAAkB,EAAE;IAC/B,oBACEd,KAAA,CAAAgB,aAAA,CAACf,IAAI;MAACgB,KAAK,EAAE;QAACC,aAAa,EAAE;MAAK;IAAE,GAChCJ,KAAK,CAACK,SAAS,IAAIL,KAAK,CAACM,KAAK,IAAIN,KAAK,CAACO,UAAU,IAAIP,KAAK,CAACQ,OAAO,gBACpEtB,KAAA,CAAAgB,aAAA,CAACf,IAAI;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Aa,iBACjBvC,KAAA,CAAAgB,aAAA,CAACR,SAAS;MACT+B,aAAa,EAAEzB,KAAK,CAACyB,aAAc;MACnChB,MAAM,EAAE,IAAI,CAACiB,KAAK,CAACC,UAAU,CAAC;QAACC,IAAI,EAAG;UAACC,MAAM,EAAE7B,KAAK,CAAC8B;QAAW;MAAC,CAAC,EAAE,IAAI,CAACrB,MAAM,CAACsB,OAAO;IAAE,CAAY,CAErG,CAAC;EACX;EAEAC,YAAYA,CAAChC,KAAkB,EAAE;IAC/B,oBACEd,KAAA,CAAAgB,aAAA,CAACf,IAAI;MAACgB,KAAK,EAAE,IAAI,CAACM,MAAM,CAACmB;IAAK,GAC3B,IAAI,CAACK,WAAW,eACjB/C,KAAA,CAAAgB,aAAA,CAACT,QAAQ,EAAAyC,QAAA,KAAK,IAAI,CAACC,qBAAqB,CAAC,CAAC;MAAEC,MAAM,EAAE,IAAK;MAAC3B,MAAM,EAAE;QAAC4B,KAAK,EAAE,MAAM;QAAER,MAAM,EAAE,IAAI,CAACpB,MAAM,CAACmB,IAAI,CAACC,MAAM,GAAG,MAAM,GAAG;MAAI;IAAE,IAC9H,IAAI,CAAC5B,YAAY,CAACD,KAAK,CAAC,EACxBA,KAAK,CAACsC,QACD,CACN,CAAC;EACX;AACF","ignoreList":[]}
@@ -41,9 +41,6 @@ BASE_THEME.registerStyle((themeVariables, addStyle) => {
41
41
  root: {
42
42
  width: '100%'
43
43
  }
44
- },
45
- skeleton: {
46
- root: {}
47
44
  }
48
45
  });
49
46
  addStyle(DEFAULT_CLASS, '', defaultStyles);