@wavemaker/app-rn-runtime 11.4.0-next.141708 → 11.4.0-next.1417080

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (511) hide show
  1. app-rn-runtime/actions/base-action.js.map +1 -1
  2. app-rn-runtime/actions/login-action.js.map +1 -1
  3. app-rn-runtime/actions/logout-action.js.map +1 -1
  4. app-rn-runtime/actions/navigation-action.js +14 -2
  5. app-rn-runtime/actions/navigation-action.js.map +1 -1
  6. app-rn-runtime/actions/notification-action.js +5 -4
  7. app-rn-runtime/actions/notification-action.js.map +1 -1
  8. app-rn-runtime/actions/timer-action.js.map +1 -1
  9. app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.component.js +1 -1
  10. app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.component.js.map +1 -1
  11. app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.props.js.map +1 -1
  12. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.component.js +1 -1
  13. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.component.js.map +1 -1
  14. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.props.js.map +1 -1
  15. app-rn-runtime/components/advanced/carousel/carousel.component.js +2 -2
  16. app-rn-runtime/components/advanced/carousel/carousel.component.js.map +1 -1
  17. app-rn-runtime/components/advanced/carousel/carousel.props.js.map +1 -1
  18. app-rn-runtime/components/advanced/carousel/carousel.styles.js +16 -0
  19. app-rn-runtime/components/advanced/carousel/carousel.styles.js.map +1 -1
  20. app-rn-runtime/components/advanced/login/login.component.js +1 -1
  21. app-rn-runtime/components/advanced/login/login.component.js.map +1 -1
  22. app-rn-runtime/components/advanced/login/login.props.js.map +1 -1
  23. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js +5 -5
  24. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -1
  25. app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.props.js.map +1 -1
  26. app-rn-runtime/components/advanced/webview/webview.component.js +1 -1
  27. app-rn-runtime/components/advanced/webview/webview.component.js.map +1 -1
  28. app-rn-runtime/components/advanced/webview/webview.props.js.map +1 -1
  29. app-rn-runtime/components/basic/anchor/anchor.component.js +2 -1
  30. app-rn-runtime/components/basic/anchor/anchor.component.js.map +1 -1
  31. app-rn-runtime/components/basic/anchor/anchor.props.js.map +1 -1
  32. app-rn-runtime/components/basic/anchor/anchor.styles.js +5 -0
  33. app-rn-runtime/components/basic/anchor/anchor.styles.js.map +1 -1
  34. app-rn-runtime/components/basic/animatedview.component.js +1 -3
  35. app-rn-runtime/components/basic/animatedview.component.js.map +1 -1
  36. app-rn-runtime/components/basic/audio/audio.component.js +232 -0
  37. app-rn-runtime/components/basic/audio/audio.component.js.map +1 -0
  38. app-rn-runtime/components/basic/audio/audio.props.js +15 -0
  39. app-rn-runtime/components/basic/audio/audio.props.js.map +1 -0
  40. app-rn-runtime/components/basic/audio/audio.styles.js +61 -0
  41. app-rn-runtime/components/basic/audio/audio.styles.js.map +1 -0
  42. app-rn-runtime/components/basic/button/button.component.js +1 -1
  43. app-rn-runtime/components/basic/button/button.component.js.map +1 -1
  44. app-rn-runtime/components/basic/button/button.props.js.map +1 -1
  45. app-rn-runtime/components/basic/button/button.styles.js.map +1 -1
  46. app-rn-runtime/components/basic/buttongroup/buttongroup.component.js +1 -1
  47. app-rn-runtime/components/basic/buttongroup/buttongroup.component.js.map +1 -1
  48. app-rn-runtime/components/basic/buttongroup/buttongroup.props.js.map +1 -1
  49. app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js.map +1 -1
  50. app-rn-runtime/components/basic/custom/custom.component.js +25 -0
  51. app-rn-runtime/components/basic/custom/custom.component.js.map +1 -0
  52. app-rn-runtime/components/basic/custom/custom.props.js +16 -0
  53. app-rn-runtime/components/basic/custom/custom.props.js.map +1 -0
  54. app-rn-runtime/components/basic/custom/custom.styles.js +18 -0
  55. app-rn-runtime/components/basic/custom/custom.styles.js.map +1 -0
  56. app-rn-runtime/components/basic/icon/icon.component.js +1 -1
  57. app-rn-runtime/components/basic/icon/icon.component.js.map +1 -1
  58. app-rn-runtime/components/basic/icon/icon.props.js.map +1 -1
  59. app-rn-runtime/components/basic/icon/icon.styles.js +5 -0
  60. app-rn-runtime/components/basic/icon/icon.styles.js.map +1 -1
  61. app-rn-runtime/components/basic/label/label.component.js +3 -2
  62. app-rn-runtime/components/basic/label/label.component.js.map +1 -1
  63. app-rn-runtime/components/basic/label/label.props.js.map +1 -1
  64. app-rn-runtime/components/basic/label/label.styles.js +8 -0
  65. app-rn-runtime/components/basic/label/label.styles.js.map +1 -1
  66. app-rn-runtime/components/basic/lottie/lottie.component.js +137 -0
  67. app-rn-runtime/components/basic/lottie/lottie.component.js.map +1 -0
  68. app-rn-runtime/components/basic/lottie/lottie.props.js +14 -0
  69. app-rn-runtime/components/basic/lottie/lottie.props.js.map +1 -0
  70. app-rn-runtime/components/basic/lottie/lottie.styles.js +11 -0
  71. app-rn-runtime/components/basic/lottie/lottie.styles.js.map +1 -0
  72. app-rn-runtime/components/basic/message/message.component.js +1 -1
  73. app-rn-runtime/components/basic/message/message.component.js.map +1 -1
  74. app-rn-runtime/components/basic/message/message.props.js.map +1 -1
  75. app-rn-runtime/components/basic/message/message.styles.js +22 -0
  76. app-rn-runtime/components/basic/message/message.styles.js.map +1 -1
  77. app-rn-runtime/components/basic/modal/modal.component.js.map +1 -1
  78. app-rn-runtime/components/basic/modal/modal.props.js.map +1 -1
  79. app-rn-runtime/components/basic/modal/modal.styles.js.map +1 -1
  80. app-rn-runtime/components/basic/picture/picture.component.js +40 -29
  81. app-rn-runtime/components/basic/picture/picture.component.js.map +1 -1
  82. app-rn-runtime/components/basic/picture/picture.props.js.map +1 -1
  83. app-rn-runtime/components/basic/picture/picture.styles.js.map +1 -1
  84. app-rn-runtime/components/basic/progress-bar/progress-bar.component.js +3 -2
  85. app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +1 -1
  86. app-rn-runtime/components/basic/progress-bar/progress-bar.props.js.map +1 -1
  87. app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js.map +1 -1
  88. app-rn-runtime/components/basic/progress-circle/progress-circle.component.js +1 -1
  89. app-rn-runtime/components/basic/progress-circle/progress-circle.component.js.map +1 -1
  90. app-rn-runtime/components/basic/progress-circle/progress-circle.props.js.map +1 -1
  91. app-rn-runtime/components/basic/progress-circle/progress-circle.styles.js.map +1 -1
  92. app-rn-runtime/components/basic/search/local-data-provider.js.map +1 -1
  93. app-rn-runtime/components/basic/search/search.component.js +5 -2
  94. app-rn-runtime/components/basic/search/search.component.js.map +1 -1
  95. app-rn-runtime/components/basic/search/search.props.js +1 -0
  96. app-rn-runtime/components/basic/search/search.props.js.map +1 -1
  97. app-rn-runtime/components/basic/search/search.styles.js +47 -0
  98. app-rn-runtime/components/basic/search/search.styles.js.map +1 -1
  99. app-rn-runtime/components/basic/skeleton/skeleton.component.js.map +1 -1
  100. app-rn-runtime/components/basic/spinner/spinner.component.js +13 -11
  101. app-rn-runtime/components/basic/spinner/spinner.component.js.map +1 -1
  102. app-rn-runtime/components/basic/spinner/spinner.props.js.map +1 -1
  103. app-rn-runtime/components/basic/spinner/spinner.styles.js +8 -0
  104. app-rn-runtime/components/basic/spinner/spinner.styles.js.map +1 -1
  105. app-rn-runtime/components/basic/video/video.component.js +56 -0
  106. app-rn-runtime/components/basic/video/video.component.js.map +1 -0
  107. app-rn-runtime/components/basic/video/video.props.js +22 -0
  108. app-rn-runtime/components/basic/video/video.props.js.map +1 -0
  109. app-rn-runtime/components/basic/video/video.styles.js +11 -0
  110. app-rn-runtime/components/basic/video/video.styles.js.map +1 -0
  111. app-rn-runtime/components/chart/area-chart/area-chart.component.js.map +1 -1
  112. app-rn-runtime/components/chart/bar-chart/bar-chart.component.js.map +1 -1
  113. app-rn-runtime/components/chart/bar-chart/bar-chart.props.js.map +1 -1
  114. app-rn-runtime/components/chart/basechart.component.js.map +1 -1
  115. app-rn-runtime/components/chart/basechart.props.js +1 -0
  116. app-rn-runtime/components/chart/basechart.props.js.map +1 -1
  117. app-rn-runtime/components/chart/basechart.styles.js +17 -0
  118. app-rn-runtime/components/chart/basechart.styles.js.map +1 -1
  119. app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js.map +1 -1
  120. app-rn-runtime/components/chart/column-chart/column-chart.component.js.map +1 -1
  121. app-rn-runtime/components/chart/donut-chart/donut-chart.component.js.map +1 -1
  122. app-rn-runtime/components/chart/donut-chart/donut-chart.props.js +0 -1
  123. app-rn-runtime/components/chart/donut-chart/donut-chart.props.js.map +1 -1
  124. app-rn-runtime/components/chart/legend/legend.component.js +36 -0
  125. app-rn-runtime/components/chart/legend/legend.component.js.map +1 -0
  126. app-rn-runtime/components/chart/line-chart/line-chart.component.js.map +1 -1
  127. app-rn-runtime/components/chart/line-chart/line-chart.props.js.map +1 -1
  128. app-rn-runtime/components/chart/pie-chart/pie-chart.component.js +119 -40
  129. app-rn-runtime/components/chart/pie-chart/pie-chart.component.js.map +1 -1
  130. app-rn-runtime/components/chart/pie-chart/pie-chart.props.js +1 -2
  131. app-rn-runtime/components/chart/pie-chart/pie-chart.props.js.map +1 -1
  132. app-rn-runtime/components/chart/theme/chart.theme.js.map +1 -1
  133. app-rn-runtime/components/container/accordion/accordion.component.js +75 -119
  134. app-rn-runtime/components/container/accordion/accordion.component.js.map +1 -1
  135. app-rn-runtime/components/container/accordion/accordion.props.js +1 -0
  136. app-rn-runtime/components/container/accordion/accordion.props.js.map +1 -1
  137. app-rn-runtime/components/container/accordion/accordion.styles.js +14 -4
  138. app-rn-runtime/components/container/accordion/accordion.styles.js.map +1 -1
  139. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js +49 -8
  140. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -1
  141. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.props.js.map +1 -1
  142. app-rn-runtime/components/container/container.component.js +1 -1
  143. app-rn-runtime/components/container/container.component.js.map +1 -1
  144. app-rn-runtime/components/container/container.props.js.map +1 -1
  145. app-rn-runtime/components/container/container.styles.js.map +1 -1
  146. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +1 -1
  147. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +1 -1
  148. app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +1 -1
  149. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.component.js +1 -1
  150. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.component.js.map +1 -1
  151. app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.props.js.map +1 -1
  152. app-rn-runtime/components/container/layoutgrid/layoutgrid.component.js +1 -1
  153. app-rn-runtime/components/container/layoutgrid/layoutgrid.component.js.map +1 -1
  154. app-rn-runtime/components/container/layoutgrid/layoutgrid.props.js.map +1 -1
  155. app-rn-runtime/components/container/layoutgrid/layoutgrid.styles.js.map +1 -1
  156. app-rn-runtime/components/container/linearlayout/linearlayout.component.js +1 -1
  157. app-rn-runtime/components/container/linearlayout/linearlayout.component.js.map +1 -1
  158. app-rn-runtime/components/container/linearlayout/linearlayout.props.js.map +1 -1
  159. app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +1 -1
  160. app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +1 -1
  161. app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +1 -1
  162. app-rn-runtime/components/container/panel/panel-content/panel-content.component.js +1 -1
  163. app-rn-runtime/components/container/panel/panel-content/panel-content.component.js.map +1 -1
  164. app-rn-runtime/components/container/panel/panel-content/panel-content.props.js.map +1 -1
  165. app-rn-runtime/components/container/panel/panel-footer/panel-footer.component.js +1 -1
  166. app-rn-runtime/components/container/panel/panel-footer/panel-footer.component.js.map +1 -1
  167. app-rn-runtime/components/container/panel/panel-footer/panel-footer.props.js.map +1 -1
  168. app-rn-runtime/components/container/panel/panel.component.js +1 -1
  169. app-rn-runtime/components/container/panel/panel.component.js.map +1 -1
  170. app-rn-runtime/components/container/panel/panel.props.js.map +1 -1
  171. app-rn-runtime/components/container/panel/panel.styles.js +9 -0
  172. app-rn-runtime/components/container/panel/panel.styles.js.map +1 -1
  173. app-rn-runtime/components/container/partial-host.component.js.map +1 -1
  174. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js +42 -9
  175. app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +1 -1
  176. app-rn-runtime/components/container/tabs/tabheader/tabheader.props.js.map +1 -1
  177. app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js +12 -2
  178. app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js.map +1 -1
  179. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js +5 -2
  180. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js.map +1 -1
  181. app-rn-runtime/components/container/tabs/tabpane/tabpane.props.js.map +1 -1
  182. app-rn-runtime/components/container/tabs/tabs.component.js +84 -65
  183. app-rn-runtime/components/container/tabs/tabs.component.js.map +1 -1
  184. app-rn-runtime/components/container/tabs/tabs.props.js +1 -0
  185. app-rn-runtime/components/container/tabs/tabs.props.js.map +1 -1
  186. app-rn-runtime/components/container/tabs/tabs.styles.js +40 -1
  187. app-rn-runtime/components/container/tabs/tabs.styles.js.map +1 -1
  188. app-rn-runtime/components/container/tile/tile.component.js +1 -1
  189. app-rn-runtime/components/container/tile/tile.component.js.map +1 -1
  190. app-rn-runtime/components/container/tile/tile.props.js.map +1 -1
  191. app-rn-runtime/components/container/tile/tile.styles.js.map +1 -1
  192. app-rn-runtime/components/container/wizard/wizard.component.js +16 -7
  193. app-rn-runtime/components/container/wizard/wizard.component.js.map +1 -1
  194. app-rn-runtime/components/container/wizard/wizard.props.js.map +1 -1
  195. app-rn-runtime/components/container/wizard/wizard.styles.js +53 -1
  196. app-rn-runtime/components/container/wizard/wizard.styles.js.map +1 -1
  197. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js +1 -1
  198. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -1
  199. app-rn-runtime/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -1
  200. app-rn-runtime/components/data/card/card-content/card-content.component.js +1 -1
  201. app-rn-runtime/components/data/card/card-content/card-content.component.js.map +1 -1
  202. app-rn-runtime/components/data/card/card-content/card-content.props.js.map +1 -1
  203. app-rn-runtime/components/data/card/card-footer/card-footer.component.js +1 -1
  204. app-rn-runtime/components/data/card/card-footer/card-footer.component.js.map +1 -1
  205. app-rn-runtime/components/data/card/card-footer/card-footer.props.js.map +1 -1
  206. app-rn-runtime/components/data/card/card.component.js +1 -1
  207. app-rn-runtime/components/data/card/card.component.js.map +1 -1
  208. app-rn-runtime/components/data/card/card.props.js.map +1 -1
  209. app-rn-runtime/components/data/form/form-action/form-action.component.js +0 -6
  210. app-rn-runtime/components/data/form/form-action/form-action.component.js.map +1 -1
  211. app-rn-runtime/components/data/form/form-action/form-action.props.js.map +1 -1
  212. app-rn-runtime/components/data/form/form-action/form-action.styles.js.map +1 -1
  213. app-rn-runtime/components/data/form/form-body/form-body.component.js +1 -1
  214. app-rn-runtime/components/data/form/form-body/form-body.component.js.map +1 -1
  215. app-rn-runtime/components/data/form/form-body/form-body.props.js.map +1 -1
  216. app-rn-runtime/components/data/form/form-field/form-field.component.js +3 -3
  217. app-rn-runtime/components/data/form/form-field/form-field.component.js.map +1 -1
  218. app-rn-runtime/components/data/form/form-field/form-field.props.js.map +1 -1
  219. app-rn-runtime/components/data/form/form-field/form-field.styles.js.map +1 -1
  220. app-rn-runtime/components/data/form/form-footer/form-footer.component.js +1 -1
  221. app-rn-runtime/components/data/form/form-footer/form-footer.component.js.map +1 -1
  222. app-rn-runtime/components/data/form/form-footer/form-footer.props.js.map +1 -1
  223. app-rn-runtime/components/data/form/form.component.js +3 -33
  224. app-rn-runtime/components/data/form/form.component.js.map +1 -1
  225. app-rn-runtime/components/data/form/form.props.js.map +1 -1
  226. app-rn-runtime/components/data/form/form.styles.js.map +1 -1
  227. app-rn-runtime/components/data/list/list-template/list-template.component.js +1 -1
  228. app-rn-runtime/components/data/list/list-template/list-template.component.js.map +1 -1
  229. app-rn-runtime/components/data/list/list-template/list-template.props.js.map +1 -1
  230. app-rn-runtime/components/data/list/list-template/list-template.styles.js.map +1 -1
  231. app-rn-runtime/components/data/list/list.component.js +94 -24
  232. app-rn-runtime/components/data/list/list.component.js.map +1 -1
  233. app-rn-runtime/components/data/list/list.props.js +2 -0
  234. app-rn-runtime/components/data/list/list.props.js.map +1 -1
  235. app-rn-runtime/components/data/list/list.styles.js.map +1 -1
  236. app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js +3 -2
  237. app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js.map +1 -1
  238. app-rn-runtime/components/device/barcodescanner/barcodescanner.props.js.map +1 -1
  239. app-rn-runtime/components/device/camera/camera.component.js +9 -4
  240. app-rn-runtime/components/device/camera/camera.component.js.map +1 -1
  241. app-rn-runtime/components/device/camera/camera.props.js +0 -1
  242. app-rn-runtime/components/device/camera/camera.props.js.map +1 -1
  243. app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js.map +1 -1
  244. app-rn-runtime/components/dialogs/alertdialog/alertdialog.props.js.map +1 -1
  245. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -1
  246. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -1
  247. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js +9 -0
  248. app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js.map +1 -1
  249. app-rn-runtime/components/dialogs/dialog/dialog.component.js +6 -3
  250. app-rn-runtime/components/dialogs/dialog/dialog.component.js.map +1 -1
  251. app-rn-runtime/components/dialogs/dialog/dialog.props.js.map +1 -1
  252. app-rn-runtime/components/dialogs/dialogactions/dialogactions.component.js +1 -1
  253. app-rn-runtime/components/dialogs/dialogactions/dialogactions.component.js.map +1 -1
  254. app-rn-runtime/components/dialogs/dialogactions/dialogactions.props.js.map +1 -1
  255. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js +1 -1
  256. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -1
  257. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.props.js.map +1 -1
  258. app-rn-runtime/components/input/basedataset/basedataset.component.js.map +1 -1
  259. app-rn-runtime/components/input/basedataset/basedataset.props.js.map +1 -1
  260. app-rn-runtime/components/input/baseinput/baseinput.component.js +8 -1
  261. app-rn-runtime/components/input/baseinput/baseinput.component.js.map +1 -1
  262. app-rn-runtime/components/input/baseinput/baseinput.props.js.map +1 -1
  263. app-rn-runtime/components/input/basenumber/basenumber.component.js +1 -1
  264. app-rn-runtime/components/input/basenumber/basenumber.component.js.map +1 -1
  265. app-rn-runtime/components/input/basenumber/basenumber.props.js.map +1 -1
  266. app-rn-runtime/components/input/calendar/calendar.component.js +1 -1
  267. app-rn-runtime/components/input/calendar/calendar.component.js.map +1 -1
  268. app-rn-runtime/components/input/calendar/calendar.props.js.map +1 -1
  269. app-rn-runtime/components/input/calendar/calendar.styles.js +22 -0
  270. app-rn-runtime/components/input/calendar/calendar.styles.js.map +1 -1
  271. app-rn-runtime/components/input/calendar/views/month-view.js +1 -0
  272. app-rn-runtime/components/input/calendar/views/month-view.js.map +1 -1
  273. app-rn-runtime/components/input/checkbox/checkbox.component.js +1 -16
  274. app-rn-runtime/components/input/checkbox/checkbox.component.js.map +1 -1
  275. app-rn-runtime/components/input/checkbox/checkbox.props.js.map +1 -1
  276. app-rn-runtime/components/input/checkboxset/checkboxset.component.js +0 -38
  277. app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +1 -1
  278. app-rn-runtime/components/input/checkboxset/checkboxset.props.js.map +1 -1
  279. app-rn-runtime/components/input/chips/chips.component.js +1 -0
  280. app-rn-runtime/components/input/chips/chips.component.js.map +1 -1
  281. app-rn-runtime/components/input/chips/chips.props.js.map +1 -1
  282. app-rn-runtime/components/input/composite/composite.component.js +1 -1
  283. app-rn-runtime/components/input/composite/composite.component.js.map +1 -1
  284. app-rn-runtime/components/input/composite/composite.props.js.map +1 -1
  285. app-rn-runtime/components/input/currency/currency.component.js +6 -4
  286. app-rn-runtime/components/input/currency/currency.component.js.map +1 -1
  287. app-rn-runtime/components/input/currency/currency.props.js +1 -1
  288. app-rn-runtime/components/input/currency/currency.props.js.map +1 -1
  289. app-rn-runtime/components/input/currency/currency.styles.js +9 -0
  290. app-rn-runtime/components/input/currency/currency.styles.js.map +1 -1
  291. app-rn-runtime/components/input/epoch/base-datetime.component.js +6 -3
  292. app-rn-runtime/components/input/epoch/base-datetime.component.js.map +1 -1
  293. app-rn-runtime/components/input/epoch/date/date.component.js.map +1 -1
  294. app-rn-runtime/components/input/epoch/date/date.props.js.map +1 -1
  295. app-rn-runtime/components/input/epoch/date/date.styles.js +9 -0
  296. app-rn-runtime/components/input/epoch/date/date.styles.js.map +1 -1
  297. app-rn-runtime/components/input/epoch/date-picker.component.js.map +1 -1
  298. app-rn-runtime/components/input/epoch/datetime/datetime.component.js.map +1 -1
  299. app-rn-runtime/components/input/epoch/datetime/datetime.props.js.map +1 -1
  300. app-rn-runtime/components/input/epoch/datetime/datetime.styles.js +9 -0
  301. app-rn-runtime/components/input/epoch/datetime/datetime.styles.js.map +1 -1
  302. app-rn-runtime/components/input/epoch/time/time.component.js.map +1 -1
  303. app-rn-runtime/components/input/epoch/time/time.props.js.map +1 -1
  304. app-rn-runtime/components/input/epoch/time/time.styles.js +9 -0
  305. app-rn-runtime/components/input/epoch/time/time.styles.js.map +1 -1
  306. app-rn-runtime/components/input/fileupload/fileupload.component.js +1 -1
  307. app-rn-runtime/components/input/fileupload/fileupload.component.js.map +1 -1
  308. app-rn-runtime/components/input/fileupload/fileupload.props.js.map +1 -1
  309. app-rn-runtime/components/input/number/number.component.js +6 -13
  310. app-rn-runtime/components/input/number/number.component.js.map +1 -1
  311. app-rn-runtime/components/input/number/number.props.js +1 -1
  312. app-rn-runtime/components/input/number/number.props.js.map +1 -1
  313. app-rn-runtime/components/input/number/number.styles.js +5 -0
  314. app-rn-runtime/components/input/number/number.styles.js.map +1 -1
  315. app-rn-runtime/components/input/radioset/radioset.component.js +0 -40
  316. app-rn-runtime/components/input/radioset/radioset.component.js.map +1 -1
  317. app-rn-runtime/components/input/radioset/radioset.props.js.map +1 -1
  318. app-rn-runtime/components/input/rating/rating.component.js +2 -2
  319. app-rn-runtime/components/input/rating/rating.component.js.map +1 -1
  320. app-rn-runtime/components/input/rating/rating.props.js.map +1 -1
  321. app-rn-runtime/components/input/select/select.component.js +1 -1
  322. app-rn-runtime/components/input/select/select.component.js.map +1 -1
  323. app-rn-runtime/components/input/select/select.props.js.map +1 -1
  324. app-rn-runtime/components/input/select/select.styles.js +10 -0
  325. app-rn-runtime/components/input/select/select.styles.js.map +1 -1
  326. app-rn-runtime/components/input/slider/slider.component.js +3 -2
  327. app-rn-runtime/components/input/slider/slider.component.js.map +1 -1
  328. app-rn-runtime/components/input/slider/slider.props.js.map +1 -1
  329. app-rn-runtime/components/input/switch/switch.component.js +19 -22
  330. app-rn-runtime/components/input/switch/switch.component.js.map +1 -1
  331. app-rn-runtime/components/input/switch/switch.props.js.map +1 -1
  332. app-rn-runtime/components/input/switch/switch.styles.js +43 -7
  333. app-rn-runtime/components/input/switch/switch.styles.js.map +1 -1
  334. app-rn-runtime/components/input/text/text.component.js +6 -13
  335. app-rn-runtime/components/input/text/text.component.js.map +1 -1
  336. app-rn-runtime/components/input/text/text.props.js.map +1 -1
  337. app-rn-runtime/components/input/text/text.styles.js +5 -0
  338. app-rn-runtime/components/input/text/text.styles.js.map +1 -1
  339. app-rn-runtime/components/input/textarea/textarea.component.js +5 -13
  340. app-rn-runtime/components/input/textarea/textarea.component.js.map +1 -1
  341. app-rn-runtime/components/input/textarea/textarea.props.js.map +1 -1
  342. app-rn-runtime/components/input/textarea/textarea.styles.js +5 -0
  343. app-rn-runtime/components/input/textarea/textarea.styles.js.map +1 -1
  344. app-rn-runtime/components/input/toggle/toggle.component.js +17 -11
  345. app-rn-runtime/components/input/toggle/toggle.component.js.map +1 -1
  346. app-rn-runtime/components/input/toggle/toggle.props.js.map +1 -1
  347. app-rn-runtime/components/input/toggle/toggle.styles.js +28 -3
  348. app-rn-runtime/components/input/toggle/toggle.styles.js.map +1 -1
  349. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js +1 -1
  350. app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +1 -1
  351. app-rn-runtime/components/navigation/appnavbar/appnavbar.props.js.map +1 -1
  352. app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js.map +1 -1
  353. app-rn-runtime/components/navigation/basenav/basenav.component.js.map +1 -1
  354. app-rn-runtime/components/navigation/basenav/basenav.props.js +1 -0
  355. app-rn-runtime/components/navigation/basenav/basenav.props.js.map +1 -1
  356. app-rn-runtime/components/navigation/menu/menu.component.js +2 -1
  357. app-rn-runtime/components/navigation/menu/menu.component.js.map +1 -1
  358. app-rn-runtime/components/navigation/menu/menu.props.js.map +1 -1
  359. app-rn-runtime/components/navigation/menu/menu.styles.js +6 -0
  360. app-rn-runtime/components/navigation/menu/menu.styles.js.map +1 -1
  361. app-rn-runtime/components/navigation/navbar/navbar.component.js +2 -0
  362. app-rn-runtime/components/navigation/navbar/navbar.component.js.map +1 -1
  363. app-rn-runtime/components/navigation/navbar/navbar.props.js.map +1 -1
  364. app-rn-runtime/components/navigation/navbar/navbar.styles.js.map +1 -1
  365. app-rn-runtime/components/navigation/navitem/navitem.component.js +4 -3
  366. app-rn-runtime/components/navigation/navitem/navitem.component.js.map +1 -1
  367. app-rn-runtime/components/navigation/navitem/navitem.props.js +1 -0
  368. app-rn-runtime/components/navigation/navitem/navitem.props.js.map +1 -1
  369. app-rn-runtime/components/navigation/navitem/navitem.styles.js.map +1 -1
  370. app-rn-runtime/components/navigation/popover/popover.component.js +1 -1
  371. app-rn-runtime/components/navigation/popover/popover.component.js.map +1 -1
  372. app-rn-runtime/components/navigation/popover/popover.props.js.map +1 -1
  373. app-rn-runtime/components/navigation/popover/popover.styles.js.map +1 -1
  374. app-rn-runtime/components/page/content/content.component.js +1 -1
  375. app-rn-runtime/components/page/content/content.component.js.map +1 -1
  376. app-rn-runtime/components/page/left-panel/left-panel.component.js +1 -1
  377. app-rn-runtime/components/page/left-panel/left-panel.component.js.map +1 -1
  378. app-rn-runtime/components/page/left-panel/left-panel.props.js.map +1 -1
  379. app-rn-runtime/components/page/page-content/page-content.component.js +2 -2
  380. app-rn-runtime/components/page/page-content/page-content.component.js.map +1 -1
  381. app-rn-runtime/components/page/page-content/page-content.props.js.map +1 -1
  382. app-rn-runtime/components/page/page.component.js +1 -1
  383. app-rn-runtime/components/page/page.component.js.map +1 -1
  384. app-rn-runtime/components/page/partial/partial.component.js +1 -1
  385. app-rn-runtime/components/page/partial/partial.component.js.map +1 -1
  386. app-rn-runtime/components/page/partial-container/partial-container.component.js +1 -1
  387. app-rn-runtime/components/page/partial-container/partial-container.component.js.map +1 -1
  388. app-rn-runtime/components/page/partial-container/partial-container.props.js.map +1 -1
  389. app-rn-runtime/components/page/partial-container/partial-container.styles.js +2 -1
  390. app-rn-runtime/components/page/partial-container/partial-container.styles.js.map +1 -1
  391. app-rn-runtime/components/page/tabbar/tabbar.component.js +2 -1
  392. app-rn-runtime/components/page/tabbar/tabbar.component.js.map +1 -1
  393. app-rn-runtime/components/page/tabbar/tabbar.props.js.map +1 -1
  394. app-rn-runtime/components/prefab/prefab-container.component.js +1 -1
  395. app-rn-runtime/components/prefab/prefab-container.component.js.map +1 -1
  396. app-rn-runtime/core/asset.provider.js +5 -0
  397. app-rn-runtime/core/asset.provider.js.map +1 -0
  398. app-rn-runtime/core/base.component.js +131 -54
  399. app-rn-runtime/core/base.component.js.map +1 -1
  400. app-rn-runtime/core/components/textinput.component.js +37 -0
  401. app-rn-runtime/core/components/textinput.component.js.map +1 -0
  402. app-rn-runtime/core/device/camera-service.js.map +1 -1
  403. app-rn-runtime/core/device/scan-service.js.map +1 -1
  404. app-rn-runtime/core/display.manager.js.map +1 -1
  405. app-rn-runtime/core/event-notifier.js.map +1 -1
  406. app-rn-runtime/core/fixed-view.component.js.map +1 -1
  407. app-rn-runtime/core/formatters.js.map +1 -1
  408. app-rn-runtime/core/i18n.service.js +2 -0
  409. app-rn-runtime/core/i18n.service.js.map +1 -0
  410. app-rn-runtime/core/if.component.js +3 -3
  411. app-rn-runtime/core/if.component.js.map +1 -1
  412. app-rn-runtime/core/imageSizeEstimator.js +1 -0
  413. app-rn-runtime/core/imageSizeEstimator.js.map +1 -1
  414. app-rn-runtime/core/injector.js +16 -1
  415. app-rn-runtime/core/injector.js.map +1 -1
  416. app-rn-runtime/core/logger.js +4 -1
  417. app-rn-runtime/core/logger.js.map +1 -1
  418. app-rn-runtime/core/modal.service.js.map +1 -1
  419. app-rn-runtime/core/navigation.service.js.map +1 -1
  420. app-rn-runtime/core/network.service.js +17 -15
  421. app-rn-runtime/core/network.service.js.map +1 -1
  422. app-rn-runtime/core/partial.service.js.map +1 -1
  423. app-rn-runtime/core/props.provider.js.map +1 -1
  424. app-rn-runtime/core/scroll-view.component.js.map +1 -1
  425. app-rn-runtime/core/security.service.js.map +1 -1
  426. app-rn-runtime/core/spinner.service.js.map +1 -1
  427. app-rn-runtime/core/storage.service.js.map +1 -1
  428. app-rn-runtime/core/tappable.component.js +20 -4
  429. app-rn-runtime/core/tappable.component.js.map +1 -1
  430. app-rn-runtime/core/toast.service.js.map +1 -1
  431. app-rn-runtime/core/utils.js +24 -0
  432. app-rn-runtime/core/utils.js.map +1 -1
  433. app-rn-runtime/core/viewport.js.map +1 -1
  434. app-rn-runtime/gestures/swipe.animation.js +110 -0
  435. app-rn-runtime/gestures/swipe.animation.js.map +1 -0
  436. app-rn-runtime/package.json +33 -32
  437. app-rn-runtime/runtime/App.js +38 -22
  438. app-rn-runtime/runtime/App.js.map +1 -1
  439. app-rn-runtime/runtime/App.navigator.js +13 -14
  440. app-rn-runtime/runtime/App.navigator.js.map +1 -1
  441. app-rn-runtime/runtime/base-fragment.component.js +12 -10
  442. app-rn-runtime/runtime/base-fragment.component.js.map +1 -1
  443. app-rn-runtime/runtime/base-page.component.js +2 -0
  444. app-rn-runtime/runtime/base-page.component.js.map +1 -1
  445. app-rn-runtime/runtime/base-partial.component.js.map +1 -1
  446. app-rn-runtime/runtime/base-prefab.component.js +1 -5
  447. app-rn-runtime/runtime/base-prefab.component.js.map +1 -1
  448. app-rn-runtime/runtime/lib-patch.js.map +1 -1
  449. app-rn-runtime/runtime/memo.component.js.map +1 -1
  450. app-rn-runtime/runtime/navigator/drawer.navigator.js +4 -0
  451. app-rn-runtime/runtime/navigator/drawer.navigator.js.map +1 -1
  452. app-rn-runtime/runtime/navigator/stack.navigator.js +5 -1
  453. app-rn-runtime/runtime/navigator/stack.navigator.js.map +1 -1
  454. app-rn-runtime/runtime/services/app-display-manager.service.js.map +1 -1
  455. app-rn-runtime/runtime/services/app-i18n.service.js +20 -0
  456. app-rn-runtime/runtime/services/app-i18n.service.js.map +1 -1
  457. app-rn-runtime/runtime/services/app-modal.service.js.map +1 -1
  458. app-rn-runtime/runtime/services/app-security.service.js +7 -7
  459. app-rn-runtime/runtime/services/app-security.service.js.map +1 -1
  460. app-rn-runtime/runtime/services/app-spinner.service.js +8 -3
  461. app-rn-runtime/runtime/services/app-spinner.service.js.map +1 -1
  462. app-rn-runtime/runtime/services/app-toast.service.js +1 -1
  463. app-rn-runtime/runtime/services/app-toast.service.js.map +1 -1
  464. app-rn-runtime/runtime/services/device/calendar-service.js.map +1 -1
  465. app-rn-runtime/runtime/services/device/camera-service.js +30 -9
  466. app-rn-runtime/runtime/services/device/camera-service.js.map +1 -1
  467. app-rn-runtime/runtime/services/device/contacts-service.js.map +1 -1
  468. app-rn-runtime/runtime/services/device/location-service.js.map +1 -1
  469. app-rn-runtime/runtime/services/device/permissions.js.map +1 -1
  470. app-rn-runtime/runtime/services/device/scan-service.js +15 -14
  471. app-rn-runtime/runtime/services/device/scan-service.js.map +1 -1
  472. app-rn-runtime/runtime/services/partial.service.js.map +1 -1
  473. app-rn-runtime/runtime/services/webprocess.service.js.map +1 -1
  474. app-rn-runtime/runtime/watcher.js.map +1 -1
  475. app-rn-runtime/styles/MediaQueryList.js.map +1 -1
  476. app-rn-runtime/styles/background.component.js +298 -0
  477. app-rn-runtime/styles/background.component.js.map +1 -0
  478. app-rn-runtime/styles/style-prop.validator.js +42 -8
  479. app-rn-runtime/styles/style-prop.validator.js.map +1 -1
  480. app-rn-runtime/styles/style-props.js +93 -0
  481. app-rn-runtime/styles/style-props.js.map +1 -0
  482. app-rn-runtime/styles/theme.js +14 -40
  483. app-rn-runtime/styles/theme.js.map +1 -1
  484. app-rn-runtime/styles/theme.variables.js +55 -1
  485. app-rn-runtime/styles/theme.variables.js.map +1 -1
  486. app-rn-runtime/variables/base-variable.js +3 -3
  487. app-rn-runtime/variables/base-variable.js.map +1 -1
  488. app-rn-runtime/variables/device/calendar/create-event.operation.js.map +1 -1
  489. app-rn-runtime/variables/device/calendar/delete-event.operation.js.map +1 -1
  490. app-rn-runtime/variables/device/calendar/get-events.operation.js.map +1 -1
  491. app-rn-runtime/variables/device/camera/capture-image.operation.js.map +1 -1
  492. app-rn-runtime/variables/device/camera/capture-video.operation.js.map +1 -1
  493. app-rn-runtime/variables/device/contacts/get-contacts.operation.js.map +1 -1
  494. app-rn-runtime/variables/device/device/app-info.operation.js.map +1 -1
  495. app-rn-runtime/variables/device/device/current-geo-position.operation.js.map +1 -1
  496. app-rn-runtime/variables/device/device/device-info.operation.js.map +1 -1
  497. app-rn-runtime/variables/device/device/network-info.operation.js.map +1 -1
  498. app-rn-runtime/variables/device/device/vibrate.operation.js.map +1 -1
  499. app-rn-runtime/variables/device/file/upload-file.operation.js +43 -21
  500. app-rn-runtime/variables/device/file/upload-file.operation.js.map +1 -1
  501. app-rn-runtime/variables/device/operation.provider.js.map +1 -1
  502. app-rn-runtime/variables/device/scan/scan.operation.js.map +1 -1
  503. app-rn-runtime/variables/device-variable.js.map +1 -1
  504. app-rn-runtime/variables/http.service.js +4 -13
  505. app-rn-runtime/variables/http.service.js.map +1 -1
  506. app-rn-runtime/variables/model-variable.js.map +1 -1
  507. app-rn-runtime/variables/service-variable.js +27 -11
  508. app-rn-runtime/variables/service-variable.js.map +1 -1
  509. app-rn-runtime/variables/utils/dataset-util.js.map +1 -1
  510. app-rn-runtime/variables/utils/inflight-queue.js.map +1 -1
  511. app-rn-runtime/variables/utils/variable.utils.js.map +1 -1
@@ -0,0 +1,93 @@
1
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
+ function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
+ export class StyleProps {
5
+ constructor() {
6
+ _defineProperty(this, "backgroundimage", void 0);
7
+ _defineProperty(this, "backgroundsize", void 0);
8
+ _defineProperty(this, "backgroundrepeat", void 0);
9
+ _defineProperty(this, "backgroundresizemode", void 0);
10
+ _defineProperty(this, "backgroundposition", void 0);
11
+ _defineProperty(this, "backgroundcolor", void 0);
12
+ _defineProperty(this, "bordercolor", void 0);
13
+ _defineProperty(this, "borderradius", void 0);
14
+ _defineProperty(this, "borderstyle", void 0);
15
+ _defineProperty(this, "borderwidth", void 0);
16
+ _defineProperty(this, "borderbottomwidth", void 0);
17
+ _defineProperty(this, "borderleftwidth", void 0);
18
+ _defineProperty(this, "borderrightwidth", void 0);
19
+ _defineProperty(this, "bordertopwidth", void 0);
20
+ _defineProperty(this, "color", void 0);
21
+ _defineProperty(this, "display", void 0);
22
+ _defineProperty(this, "fontsize", void 0);
23
+ _defineProperty(this, "fontfamily", void 0);
24
+ _defineProperty(this, "fontstyle", void 0);
25
+ _defineProperty(this, "fontvariant", void 0);
26
+ _defineProperty(this, "fontweight", void 0);
27
+ _defineProperty(this, "height", void 0);
28
+ _defineProperty(this, "horizontalalign", void 0);
29
+ _defineProperty(this, "lineheight", void 0);
30
+ _defineProperty(this, "margin", void 0);
31
+ _defineProperty(this, "marginbottom", void 0);
32
+ _defineProperty(this, "marginleft", void 0);
33
+ _defineProperty(this, "marginright", void 0);
34
+ _defineProperty(this, "margintop", void 0);
35
+ _defineProperty(this, "opacity", void 0);
36
+ _defineProperty(this, "overflow", void 0);
37
+ _defineProperty(this, "padding", void 0);
38
+ _defineProperty(this, "paddingbottom", void 0);
39
+ _defineProperty(this, "paddingleft", void 0);
40
+ _defineProperty(this, "paddingright", void 0);
41
+ _defineProperty(this, "paddingtop", void 0);
42
+ _defineProperty(this, "textalign", void 0);
43
+ _defineProperty(this, "textdecoration", void 0);
44
+ _defineProperty(this, "verticalalign", void 0);
45
+ _defineProperty(this, "width", void 0);
46
+ _defineProperty(this, "zindex", void 0);
47
+ }
48
+ }
49
+ const styleMapping = {
50
+ backgroundimage: 'backgroundImage',
51
+ backgroundsize: 'backgroundSize',
52
+ backgroundrepeat: 'backgroundRepeat',
53
+ backgroundresizemode: 'backgroundResizeMode',
54
+ backgroundposition: 'backgroundPosition',
55
+ backgroundcolor: 'backgroundColor',
56
+ bordercolor: 'borderColor',
57
+ borderradius: 'borderRadius',
58
+ borderstyle: 'borderStyle',
59
+ borderwidth: 'borderWidth',
60
+ borderbottomwidth: 'borderBottomWidth',
61
+ borderleftwidth: 'borderLeftWidth',
62
+ borderrightwidth: 'borderRightWidth',
63
+ bordertopwidth: 'borderTopWidth',
64
+ color: 'color',
65
+ display: 'display',
66
+ fontsize: 'fontSize',
67
+ fontfamily: 'fontFamily',
68
+ fontstyle: 'fontStyle',
69
+ fontvariant: 'fontVariant',
70
+ fontweight: 'fontWeight',
71
+ height: 'height',
72
+ //horizontalalign: any;
73
+ lineheight: 'lineHeight',
74
+ margin: 'margin',
75
+ marginbottom: 'marginBottom',
76
+ marginleft: 'marginLeft',
77
+ marginright: 'marginRight',
78
+ margintop: 'marginTop',
79
+ opacity: 'opacity',
80
+ overflow: 'overflow',
81
+ padding: 'padding',
82
+ paddingbottom: 'paddingBottom',
83
+ paddingleft: 'paddingLeft',
84
+ paddingright: 'paddingRight',
85
+ paddingtop: 'paddingTop',
86
+ textalign: 'textAlign',
87
+ textdecoration: 'textDecoration',
88
+ verticalalign: 'verticalAlign',
89
+ width: 'width',
90
+ zindex: 'zindex'
91
+ };
92
+ export const getStyleName = name => styleMapping[name];
93
+ //# sourceMappingURL=style-props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleProps","constructor","_defineProperty","styleMapping","backgroundimage","backgroundsize","backgroundrepeat","backgroundresizemode","backgroundposition","backgroundcolor","bordercolor","borderradius","borderstyle","borderwidth","borderbottomwidth","borderleftwidth","borderrightwidth","bordertopwidth","color","display","fontsize","fontfamily","fontstyle","fontvariant","fontweight","height","lineheight","margin","marginbottom","marginleft","marginright","margintop","opacity","overflow","padding","paddingbottom","paddingleft","paddingright","paddingtop","textalign","textdecoration","verticalalign","width","zindex","getStyleName","name"],"sources":["style-props.ts"],"sourcesContent":["export class StyleProps {\n backgroundimage?: any;\n backgroundsize?: any;\n backgroundrepeat?: any;\n backgroundresizemode?: any;\n backgroundposition?: any;\n backgroundcolor?: any;\n bordercolor?: any;\n borderradius?: any;\n borderstyle?: any;\n borderwidth?: any;\n borderbottomwidth?: any;\n borderleftwidth?: any;\n borderrightwidth?: any;\n bordertopwidth?: any;\n color?: any;\n display?: any;\n fontsize?: any;\n fontfamily?: any;\n fontstyle?: any;\n fontvariant?: any;\n fontweight?: any;\n height?: any;\n horizontalalign?: any;\n lineheight?: any;\n margin?: any;\n marginbottom?: any;\n marginleft?: any;\n marginright?: any;\n margintop?: any;\n opacity?: any;\n overflow?: any;\n padding?: any;\n paddingbottom?: any;\n paddingleft?: any;\n paddingright?: any;\n paddingtop?: any;\n textalign?: any;\n textdecoration?: any;\n verticalalign?: any;\n width?: any;\n zindex?: any;\n}\n\nconst styleMapping = {\n backgroundimage: 'backgroundImage',\n backgroundsize: 'backgroundSize',\n backgroundrepeat: 'backgroundRepeat',\n backgroundresizemode: 'backgroundResizeMode',\n backgroundposition: 'backgroundPosition',\n backgroundcolor: 'backgroundColor',\n bordercolor: 'borderColor',\n borderradius: 'borderRadius',\n borderstyle: 'borderStyle',\n borderwidth: 'borderWidth',\n borderbottomwidth: 'borderBottomWidth',\n borderleftwidth: 'borderLeftWidth',\n borderrightwidth: 'borderRightWidth',\n bordertopwidth: 'borderTopWidth',\n color: 'color',\n display: 'display',\n fontsize: 'fontSize',\n fontfamily: 'fontFamily',\n fontstyle: 'fontStyle',\n fontvariant: 'fontVariant',\n fontweight: 'fontWeight',\n height: 'height',\n //horizontalalign: any;\n lineheight: 'lineHeight',\n margin: 'margin',\n marginbottom: 'marginBottom',\n marginleft: 'marginLeft',\n marginright: 'marginRight',\n margintop: 'marginTop',\n opacity: 'opacity',\n overflow: 'overflow',\n padding: 'padding',\n paddingbottom: 'paddingBottom',\n paddingleft: 'paddingLeft',\n paddingright: 'paddingRight',\n paddingtop: 'paddingTop',\n textalign: 'textAlign',\n textdecoration: 'textDecoration',\n verticalalign: 'verticalAlign',\n width: 'width',\n zindex: 'zindex'\n};\n\nexport const getStyleName = (name: string) => (styleMapping as any)[name];\n"],"mappings":";;;AAAA,OAAO,MAAMA,UAAU,CAAC;EAAAC,YAAA;IAAAC,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA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pBC,OAAO,EAAE,SAAS;EAClBC,aAAa,EAAE,eAAe;EAC9BC,WAAW,EAAE,aAAa;EAC1BC,YAAY,EAAE,cAAc;EAC5BC,UAAU,EAAE,YAAY;EACxBC,SAAS,EAAE,WAAW;EACtBC,cAAc,EAAE,gBAAgB;EAChCC,aAAa,EAAE,eAAe;EAC9BC,KAAK,EAAE,OAAO;EACdC,MAAM,EAAE;AACZ,CAAC;AAED,OAAO,MAAMC,YAAY,GAAIC,IAAY,IAAM1C,YAAY,CAAS0C,IAAI,CAAC"}
@@ -3,13 +3,12 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typ
3
3
  function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
4
  import { cloneDeep, forEach, flatten, isArray, isEmpty, isObject, isString, get, reverse } from 'lodash';
5
5
  import React from 'react';
6
- import { ImageBackground } from 'react-native';
7
6
  import { deepCopy, isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';
8
7
  import EventNotifier from '@wavemaker/app-rn-runtime/core/event-notifier';
9
8
  import ViewPort, { EVENTS as ViewPortEvents } from '@wavemaker/app-rn-runtime/core/viewport';
10
9
  import MediaQueryList from './MediaQueryList';
11
10
  import ThemeVariables from './theme.variables';
12
- import { getStyleReference, isValidStyleProp } from './style-prop.validator';
11
+ import { getErrorMessage, getStyleReference, isValidStyleProp } from './style-prop.validator';
13
12
  export const DEFAULT_CLASS = 'DEFAULT_CLASS';
14
13
  if (typeof window !== "undefined") {
15
14
  // @ts-ignore: does not properly extend MediaQueryList
@@ -25,10 +24,10 @@ export const DEVICE_BREAK_POINTS = {
25
24
  'MIN_LARGE_DEVICE': '1200px',
26
25
  'MAX_LARGE_DEVICE': '1000000px'
27
26
  };
28
- export let ThemeEvent;
29
- (function (ThemeEvent) {
27
+ export let ThemeEvent = /*#__PURE__*/function (ThemeEvent) {
30
28
  ThemeEvent["CHANGE"] = "change";
31
- })(ThemeEvent || (ThemeEvent = {}));
29
+ return ThemeEvent;
30
+ }({});
32
31
  ;
33
32
  export class Theme {
34
33
  constructor(parent, name) {
@@ -64,15 +63,12 @@ export class Theme {
64
63
  checkStyleProperties(name, value) {
65
64
  if (isObject(value)) {
66
65
  Object.keys(value).map(k => this.checkStyleProperties(k, value[k]));
67
- } else if (!isValidStyleProp(name, value)) {
68
- console.log(`%cInvalid Style property: '${value}' is not a valid value to '${name}' in ${this.name}.`, 'background-color: #FF0000;font-weight: bold; color: #fff');
66
+ } else if (name && !isValidStyleProp(name, value)) {
67
+ console.log(`%cInvalid Style property in ${this.name}: ${getErrorMessage(name, value)}`, 'background-color: #FF0000;font-weight: bold; color: #fff');
69
68
  console.log(`Refer: ${getStyleReference(name)}`);
70
69
  }
71
70
  }
72
71
  addStyle(name, extend, style) {
73
- if (this !== Theme.BASE && isWebPreviewMode()) {
74
- this.checkStyleProperties(name, style);
75
- }
76
72
  this.styles[name] = deepCopy(this.getStyle(extend), this.styles[name], style);
77
73
  }
78
74
  addTrace(styleName, mergedChildstyle, childStyle, parentStyle) {
@@ -147,6 +143,9 @@ export class Theme {
147
143
  if (!mediaQuery || matchMedia(mediaQuery).matches) {
148
144
  clonedStyle = cloneDeep(this.styles[name]);
149
145
  }
146
+ if (this !== Theme.BASE && isWebPreviewMode()) {
147
+ this.checkStyleProperties('', clonedStyle);
148
+ }
150
149
  style = deepCopy(parentStyle, clonedStyle);
151
150
  this.addTrace(`@${this.name}:${name}`, style, clonedStyle, parentStyle);
152
151
  }
@@ -187,36 +186,6 @@ ViewPort.subscribe(ViewPortEvents.SIZE_CHANGE, () => {
187
186
  Theme.BASE.reset();
188
187
  });
189
188
  export default Theme.BASE;
190
- export const attachBackground = (c, style) => {
191
- const background = style._background;
192
- if (background) {
193
- const backgroundStyle = {
194
- width: style.width || '100%',
195
- height: style.height || '100%'
196
- };
197
- Object.keys(background).forEach(k => {
198
- if (k !== 'imageStyle') {
199
- backgroundStyle[k] = background[k];
200
- }
201
- });
202
- const imgSrc = background.uri;
203
- let source;
204
- if (isString(imgSrc) && (imgSrc.startsWith('http') || imgSrc.startsWith('file:'))) {
205
- source = {
206
- uri: imgSrc
207
- };
208
- } else {
209
- source = imgSrc;
210
- }
211
- return /*#__PURE__*/React.createElement(ImageBackground, {
212
- source: source,
213
- resizeMode: background.resizeMode || 'repeat',
214
- imageStyle: background.imageStyle,
215
- style: backgroundStyle
216
- }, c);
217
- }
218
- return c;
219
- };
220
189
  const ThemeContext = /*#__PURE__*/React.createContext(null);
221
190
  export const ThemeProvider = ThemeContext.Provider;
222
191
  export const ThemeConsumer = ThemeContext.Consumer;
@@ -344,5 +313,10 @@ Theme.BASE.registerStyle((themeVariables, addStyle) => {
344
313
  borderColor: themeVariables.warningColor
345
314
  }
346
315
  });
316
+ addStyle('hide-context-menu', '', {
317
+ text: {
318
+ userSelect: 'none'
319
+ }
320
+ });
347
321
  });
348
322
  //# sourceMappingURL=theme.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["cloneDeep","forEach","flatten","isArray","isEmpty","isObject","isString","get","reverse","React","ImageBackground","deepCopy","isWebPreviewMode","EventNotifier","ViewPort","EVENTS","ViewPortEvents","MediaQueryList","ThemeVariables","getStyleReference","isValidStyleProp","DEFAULT_CLASS","window","matchMedia","query","DEVICE_BREAK_POINTS","ThemeEvent","Theme","constructor","parent","name","traceEnabled","subscribe","event","fn","eventNotifer","notify","children","t","clearCache","cache","registerStyle","styleGenerators","push","INSTANCE","addStyle","bind","checkStyleProperties","value","Object","keys","map","k","console","log","extend","style","BASE","styles","getStyle","addTrace","styleName","mergedChildstyle","childStyle","parentStyle","v","__trace","prefix","result","collect","mergeStyle","flattenStyles","s","cs","filter","length","indexOf","split","c","mediaQuery","clonedStyle","matches","$new","newTheme","reset","destroy","i","splice","themeVariables","CHANGE","SIZE_CHANGE","attachBackground","background","_background","backgroundStyle","width","height","imgSrc","uri","source","startsWith","resizeMode","imageStyle","ThemeContext","createContext","ThemeProvider","Provider","ThemeConsumer","Consumer","addColStyles","device","minWidth","root","MIN_EXTRA_SMALL_DEVICE","MIN_SMALL_DEVICE","MIN_MEDIUM_DEVICE","MIN_LARGE_DEVICE","display","addDisplayStyles","maxWidth","MAX_LARGE_DEVICE","MAX_EXTRA_SMALL_DEVICE","MAX_SMALL_DEVICE","MAX_MEDIUM_DEVICE","addElevationClasses","shadowColor","shadowOffset","shadowOpacity","shadowRadius","elevation","zIndex","transform","scale","backgroundColor","dangerColor","infoColor","primaryColor","successColor","warningColor","borderColor"],"sources":["theme.tsx"],"sourcesContent":["import { cloneDeep, forEach, flatten, isArray, isEmpty, isObject, isString, isFunction, get, reverse } from 'lodash';\nimport React, { ReactNode } from 'react';\nimport { TextStyle, ViewStyle, ImageStyle, ImageBackground } from 'react-native';\nimport { deepCopy, isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\nimport EventNotifier from '@wavemaker/app-rn-runtime/core/event-notifier';\nimport ViewPort, {EVENTS as ViewPortEvents} from '@wavemaker/app-rn-runtime/core/viewport';\nimport MediaQueryList from './MediaQueryList';\nimport ThemeVariables from './theme.variables';\nimport { getStyleReference, isValidStyleProp } from './style-prop.validator';\nexport const DEFAULT_CLASS = 'DEFAULT_CLASS';\n\ndeclare const matchMedia: any, window: any;\n\nif (typeof window !== \"undefined\") {\n // @ts-ignore: does not properly extend MediaQueryList\n window.matchMedia = (query: string) => new MediaQueryList(query);\n}\n\nexport const DEVICE_BREAK_POINTS = {\n 'MIN_EXTRA_SMALL_DEVICE' : '0px',\n 'MAX_EXTRA_SMALL_DEVICE' : '767px',\n 'MIN_SMALL_DEVICE' : '768px',\n 'MAX_SMALL_DEVICE' : '991px',\n 'MIN_MEDIUM_DEVICE' : '992px',\n 'MAX_MEDIUM_DEVICE' : '1199px',\n 'MIN_LARGE_DEVICE' : '1200px',\n 'MAX_LARGE_DEVICE' : '1000000px',\n};\n\nexport type styleGeneratorFn<T extends NamedStyles<any>> = (\n themeVariables: ThemeVariables,\n addStyle: (name: string, extend: string, style: T) => void) => void\n\nexport enum ThemeEvent {\n CHANGE ='change'\n};\n\nexport class Theme {\n public static BASE = new Theme(null as any, 'default');\n\n static {\n ViewPort.subscribe(ViewPortEvents.SIZE_CHANGE, () => {\n Theme.BASE.reset();\n });\n }\n\n\n private eventNotifer = new EventNotifier();\n\n private children: Theme[] = [];\n\n private styles: any = {};\n\n private cache: any = {};\n\n private traceEnabled = false;\n\n private styleGenerators: styleGeneratorFn<any>[] = [];\n\n private constructor(private parent:Theme, public readonly name: string) {\n if (parent) {\n this.traceEnabled = parent.traceEnabled;\n } else {\n this.traceEnabled = isWebPreviewMode();\n }\n }\n\n public subscribe(event: ThemeEvent, fn: Function) {\n return this.eventNotifer.subscribe(event, fn);\n }\n\n public notify(event: ThemeEvent): void {\n this.eventNotifer.notify(event, []);\n this.children.forEach(t => t.notify(event));\n }\n\n clearCache() {\n this.cache = {};\n this.children.forEach((t) => t.clearCache());\n }\n\n registerStyle<T extends NamedStyles<any>>(fn: styleGeneratorFn<T>) {\n this.styleGenerators.push(fn);\n fn(ThemeVariables.INSTANCE, this.addStyle.bind(this));\n }\n\n checkStyleProperties(name: string, value : any) {\n if (isObject(value)) {\n Object.keys(value).map((k) => this.checkStyleProperties(k, (value as any)[k]));\n } else if(!isValidStyleProp(name, value)) {\n console.log(\n `%cInvalid Style property: '${value}' is not a valid value to '${name}' in ${this.name}.`,\n 'background-color: #FF0000;font-weight: bold; color: #fff'\n );\n console.log(`Refer: ${getStyleReference(name)}`);\n }\n }\n\n private addStyle<T extends NamedStyles<any>>(name: string, extend: string, style: T) {\n if (this !== Theme.BASE && isWebPreviewMode()) {\n this.checkStyleProperties(name, style);\n }\n this.styles[name] = deepCopy(this.getStyle(extend), this.styles[name], style);\n }\n\n private addTrace(styleName: string, mergedChildstyle: any, childStyle: any, parentStyle?: any) {\n if (!this.traceEnabled) {\n return;\n }\n let addTrace = !isEmpty(childStyle);\n forEach(mergedChildstyle, (v: any, k: string) => {\n if (v && !isString(v) && !isArray(v) && isObject(v)) {\n addTrace = false;\n this.addTrace(styleName + '.' + k, v, childStyle && childStyle[k], parentStyle && parentStyle[k])\n }\n });\n if (addTrace) {\n mergedChildstyle['__trace'] = [\n {\n name: styleName,\n value: childStyle\n },\n ...(parentStyle?.__trace|| [])\n ];\n } else {\n mergedChildstyle['__trace'] = [...(parentStyle?.__trace|| [])];\n }\n }\n\n private flatten(style: any, prefix = \"\", result = {} as any) {\n let collect = !isEmpty(style);\n forEach(style, (v: any, k: string) => {\n if (v && !isString(v) && !isArray(v) && isObject(v)) {\n collect = false;\n this.flatten(v, (prefix ? prefix + '.' : '') + k, result)\n }\n });\n if (collect) {\n result[prefix] = style;\n }\n return result;\n }\n\n mergeStyle(...styles: any) {\n const style = deepCopy(...styles);\n if (this.traceEnabled) {\n const flattenStyles = this.flatten(style);\n Object.keys(flattenStyles).forEach(k => {\n const s = flattenStyles[k];\n s['__trace'] = flatten(reverse(styles.map((v: any) => {\n const cs = get(v, k);\n if (cs && cs.__trace) {\n return [...cs.__trace];\n }\n return [];\n }).filter((t: any) => t.length > 0)));\n });\n }\n return style;\n }\n\n getStyle(name: string) {\n let style = this.cache[name];\n if (style) {\n return style;\n }\n if (!name) {\n return {};\n }\n if (name.indexOf(' ') > 0) {\n style = this.mergeStyle(...(name.split(' ').map(c => this.getStyle(c))));\n } else {\n const parentStyle = this.parent && this.parent.getStyle(name);\n const mediaQuery = (this.styles[name] || {})['@media'];\n let clonedStyle = {};\n if (!mediaQuery || matchMedia(mediaQuery).matches) {\n clonedStyle = cloneDeep(this.styles[name]);\n }\n style = deepCopy(parentStyle, clonedStyle);\n this.addTrace(`@${this.name}:${name}`, style, clonedStyle, parentStyle);\n }\n this.cache[name] = style;\n return style;\n }\n\n $new(name = \"\", styles = {} as NamedStyles<any>) {\n const newTheme = new Theme(this, name);\n newTheme.reset(styles);\n this.children.push(newTheme);\n return newTheme;\n }\n\n destroy() {\n const i = this.parent.children.indexOf(this);\n if (i >= 0) {\n this.parent.children.splice(i, 1);\n }\n }\n\n reset(styles?: NamedStyles<any>) {\n this.styles = {};\n this.clearCache();\n if (styles) {\n this.registerStyle((themeVariables, addStyle) => {\n Object.keys(styles).forEach(k => {\n addStyle(k, '', styles[k] as any);\n });\n });\n } else {\n this.styleGenerators.forEach(fn => \n fn(ThemeVariables.INSTANCE, this.addStyle.bind(this)));\n }\n this.notify(ThemeEvent.CHANGE);\n }\n}\nexport default Theme.BASE;\nexport type NamedStyles<T> = { [P in keyof T]: ViewStyle | TextStyle | ImageStyle | NamedStyles<T>};\nexport type BackgroundImageStyle = {\n backgroundImage: string,\n backgroundPosition: string,\n backgroundRepeat: string,\n backgroundSize: string | number\n};\nexport const attachBackground = (c: ReactNode, style: ViewStyle) => {\n const background = (style as any)._background;\n if (background) {\n const backgroundStyle = {\n width: style.width || '100%',\n height: style.height || '100%'\n } as any;\n Object.keys(background).forEach(k => {\n if (k !== 'imageStyle') {\n backgroundStyle[k] = background[k];\n }\n });\n const imgSrc = background.uri;\n let source;\n if (isString(imgSrc) && (imgSrc.startsWith('http') || imgSrc.startsWith('file:'))) {\n source = {\n uri: imgSrc\n };\n } else {\n source = imgSrc;\n }\n return (\n <ImageBackground\n source={source}\n resizeMode={background.resizeMode || 'repeat'}\n imageStyle={background.imageStyle}\n style={backgroundStyle}>\n {c}\n </ImageBackground>);\n }\n return c;\n};\nexport type AllStyle = (ViewStyle & TextStyle & ImageStyle);\n\nconst ThemeContext = React.createContext<Theme>(null as any);\n\nexport const ThemeProvider = ThemeContext.Provider;\nexport const ThemeConsumer = ThemeContext.Consumer;\n/**\n * Common styles\n */\n Theme.BASE.registerStyle((themeVariables, addStyle) => {\n const addColStyles = (device: string, minWidth: string) => {\n for(let i = 1; i <= 12; i++) {\n addStyle(`col-${device}-${i}`, '', {\n \"@media\": `(min-width: ${minWidth})`,\n root: {\n width: (100 * i / 12) + '%'\n }\n } as any)\n }\n };\n addColStyles('xs', DEVICE_BREAK_POINTS.MIN_EXTRA_SMALL_DEVICE);\n addColStyles('sm', DEVICE_BREAK_POINTS.MIN_SMALL_DEVICE);\n addColStyles('md', DEVICE_BREAK_POINTS.MIN_MEDIUM_DEVICE);\n addColStyles('lg', DEVICE_BREAK_POINTS.MIN_LARGE_DEVICE);\n\n addStyle('d-none', '', {\n root: {\n display: 'none'\n }\n } as any);\n addStyle('d-flex', '', {\n root: {\n display: 'flex'\n }\n } as any);\n\n const addDisplayStyles = (device: string, minWidth: string, maxWidth: string) => {\n addStyle(`d-${device}-none`, '', {\n \"@media\": `(min-width: ${minWidth}) and (max-width: ${maxWidth})`,\n root: {\n display: 'none'\n }\n } as any);\n addStyle(`d-${device}-flex`, '', {\n \"@media\": `(min-width: ${minWidth}) and (max-width: ${maxWidth})`,\n root: {\n display: 'flex'\n }\n } as any);\n };\n addDisplayStyles('all', \n DEVICE_BREAK_POINTS.MIN_EXTRA_SMALL_DEVICE,\n DEVICE_BREAK_POINTS.MAX_LARGE_DEVICE);\n addDisplayStyles('xs', \n DEVICE_BREAK_POINTS.MIN_EXTRA_SMALL_DEVICE,\n DEVICE_BREAK_POINTS.MAX_EXTRA_SMALL_DEVICE);\n addDisplayStyles('sm', \n DEVICE_BREAK_POINTS.MIN_SMALL_DEVICE,\n DEVICE_BREAK_POINTS.MAX_SMALL_DEVICE);\n addDisplayStyles('md', \n DEVICE_BREAK_POINTS.MIN_MEDIUM_DEVICE,\n DEVICE_BREAK_POINTS.MAX_MEDIUM_DEVICE);\n addDisplayStyles('lg', \n DEVICE_BREAK_POINTS.MIN_LARGE_DEVICE,\n DEVICE_BREAK_POINTS.MAX_LARGE_DEVICE);\n\n const addElevationClasses = () => {\n for(let i = 1; i <= 10; i++) {\n addStyle(`elevate${i}`, '', {\n root : {\n shadowColor: \"#000000\",\n shadowOffset: {\n width: i,\n height: i,\n },\n shadowOpacity: 0.27,\n shadowRadius: i,\n elevation: i,\n zIndex: 1\n }\n });\n }\n };\n addElevationClasses();\n addStyle('hidden', '', {\n root: {\n width: 0,\n height: 0,\n transform: [{ scale: 0 }]\n }\n });\n addStyle('bg-danger', '', { root: { backgroundColor: themeVariables.dangerColor }});\n addStyle('bg-info', '', { root: { backgroundColor: themeVariables.infoColor }});\n addStyle('bg-primary', '', { root: { backgroundColor: themeVariables.primaryColor }});\n addStyle('bg-success', '', { root: { backgroundColor: themeVariables.successColor }});\n addStyle('bg-warning', '', { root: { backgroundColor: themeVariables.warningColor }});\n\n addStyle('border-danger', '', { root: { borderColor: themeVariables.dangerColor }});\n addStyle('border-info', '', { root: { borderColor: themeVariables.infoColor }});\n addStyle('border-primary', '', { root: { borderColor: themeVariables.primaryColor }});\n addStyle('border-success', '', { root: { borderColor: themeVariables.successColor }});\n addStyle('border-warning', '', { root: { borderColor: themeVariables.warningColor }});\n});\n\n"],"mappings":";;;AAAA,SAASA,SAAS,EAAEC,OAAO,EAAEC,OAAO,EAAEC,OAAO,EAAEC,OAAO,EAAEC,QAAQ,EAAEC,QAAQ,EAAcC,GAAG,EAAEC,OAAO,QAAQ,QAAQ;AACpH,OAAOC,KAAK,MAAqB,OAAO;AACxC,SAA2CC,eAAe,QAAQ,cAAc;AAChF,SAASC,QAAQ,EAAEC,gBAAgB,QAAQ,sCAAsC;AACjF,OAAOC,aAAa,MAAM,+CAA+C;AACzE,OAAOC,QAAQ,IAAGC,MAAM,IAAIC,cAAc,QAAO,yCAAyC;AAC1F,OAAOC,cAAc,MAAM,kBAAkB;AAC7C,OAAOC,cAAc,MAAM,mBAAmB;AAC9C,SAASC,iBAAiB,EAAEC,gBAAgB,QAAQ,wBAAwB;AAC5E,OAAO,MAAMC,aAAa,GAAG,eAAe;AAI5C,IAAI,OAAOC,MAAM,KAAK,WAAW,EAAE;EAC/B;EACAA,MAAM,CAACC,UAAU,GAAIC,KAAa,IAAK,IAAIP,cAAc,CAACO,KAAK,CAAC;AACpE;A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B,WAAW,EAAEnD,cAAc,CAACiD;IAAa;EAAC,CAAC,CAAC;EACrF5F,QAAQ,CAAC,gBAAgB,EAAE,EAAE,EAAE;IAAEmE,IAAI,EAAE;MAAE2B,WAAW,EAAEnD,cAAc,CAACkD;IAAa;EAAC,CAAC,CAAC;AACzF,CAAC,CAAC"}
1
+ {"version":3,"names":["cloneDeep","forEach","flatten","isArray","isEmpty","isObject","isString","get","reverse","React","deepCopy","isWebPreviewMode","EventNotifier","ViewPort","EVENTS","ViewPortEvents","MediaQueryList","ThemeVariables","getErrorMessage","getStyleReference","isValidStyleProp","DEFAULT_CLASS","window","matchMedia","query","DEVICE_BREAK_POINTS","ThemeEvent","Theme","constructor","parent","name","_defineProperty","traceEnabled","subscribe","event","fn","eventNotifer","notify","children","t","clearCache","cache","registerStyle","styleGenerators","push","INSTANCE","addStyle","bind","checkStyleProperties","value","Object","keys","map","k","console","log","extend","style","styles","getStyle","addTrace","styleName","mergedChildstyle","childStyle","parentStyle","v","__trace","prefix","arguments","length","undefined","result","collect","mergeStyle","_len","Array","_key","flattenStyles","s","cs","filter","indexOf","split","c","mediaQuery","clonedStyle","matches","BASE","$new","newTheme","reset","destroy","i","splice","themeVariables","CHANGE","SIZE_CHANGE","ThemeContext","createContext","ThemeProvider","Provider","ThemeConsumer","Consumer","addColStyles","device","minWidth","root","width","MIN_EXTRA_SMALL_DEVICE","MIN_SMALL_DEVICE","MIN_MEDIUM_DEVICE","MIN_LARGE_DEVICE","display","addDisplayStyles","maxWidth","MAX_LARGE_DEVICE","MAX_EXTRA_SMALL_DEVICE","MAX_SMALL_DEVICE","MAX_MEDIUM_DEVICE","addElevationClasses","shadowColor","shadowOffset","height","shadowOpacity","shadowRadius","elevation","zIndex","transform","scale","backgroundColor","dangerColor","infoColor","primaryColor","successColor","warningColor","borderColor","text","userSelect"],"sources":["theme.tsx"],"sourcesContent":["import { cloneDeep, forEach, flatten, isArray, isEmpty, isObject, isString, isFunction, get, reverse } from 'lodash';\nimport React, { ReactNode } from 'react';\nimport { TextStyle, ViewStyle, ImageStyle, ImageBackground } from 'react-native';\nimport { deepCopy, isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\nimport EventNotifier from '@wavemaker/app-rn-runtime/core/event-notifier';\nimport ViewPort, {EVENTS as ViewPortEvents} from '@wavemaker/app-rn-runtime/core/viewport';\nimport MediaQueryList from './MediaQueryList';\nimport ThemeVariables from './theme.variables';\nimport { getErrorMessage, getStyleReference, isValidStyleProp } from './style-prop.validator';\nexport const DEFAULT_CLASS = 'DEFAULT_CLASS';\n\ndeclare const matchMedia: any, window: any;\n\nif (typeof window !== \"undefined\") {\n // @ts-ignore: does not properly extend MediaQueryList\n window.matchMedia = (query: string) => new MediaQueryList(query);\n}\n\nexport const DEVICE_BREAK_POINTS = {\n 'MIN_EXTRA_SMALL_DEVICE' : '0px',\n 'MAX_EXTRA_SMALL_DEVICE' : '767px',\n 'MIN_SMALL_DEVICE' : '768px',\n 'MAX_SMALL_DEVICE' : '991px',\n 'MIN_MEDIUM_DEVICE' : '992px',\n 'MAX_MEDIUM_DEVICE' : '1199px',\n 'MIN_LARGE_DEVICE' : '1200px',\n 'MAX_LARGE_DEVICE' : '1000000px',\n};\n\nexport type styleGeneratorFn<T extends NamedStyles<any>> = (\n themeVariables: ThemeVariables,\n addStyle: (name: string, extend: string, style: T) => void) => void\n\nexport enum ThemeEvent {\n CHANGE ='change'\n};\n\nexport class Theme {\n public static BASE = new Theme(null as any, 'default');\n\n static {\n ViewPort.subscribe(ViewPortEvents.SIZE_CHANGE, () => {\n Theme.BASE.reset();\n });\n }\n\n\n private eventNotifer = new EventNotifier();\n\n private children: Theme[] = [];\n\n private styles: any = {};\n\n private cache: any = {};\n\n private traceEnabled = false;\n\n private styleGenerators: styleGeneratorFn<any>[] = [];\n\n private constructor(private parent:Theme, public readonly name: string) {\n if (parent) {\n this.traceEnabled = parent.traceEnabled;\n } else {\n this.traceEnabled = isWebPreviewMode();\n }\n }\n\n public subscribe(event: ThemeEvent, fn: Function) {\n return this.eventNotifer.subscribe(event, fn);\n }\n\n public notify(event: ThemeEvent): void {\n this.eventNotifer.notify(event, []);\n this.children.forEach(t => t.notify(event));\n }\n\n clearCache() {\n this.cache = {};\n this.children.forEach((t) => t.clearCache());\n }\n\n registerStyle<T extends NamedStyles<any>>(fn: styleGeneratorFn<T>) {\n this.styleGenerators.push(fn);\n fn(ThemeVariables.INSTANCE, this.addStyle.bind(this));\n }\n\n checkStyleProperties(name: string, value : any) {\n if (isObject(value)) {\n Object.keys(value).map((k) => this.checkStyleProperties(k, (value as any)[k]));\n } else if(name && !isValidStyleProp(name, value)) {\n console.log(\n `%cInvalid Style property in ${this.name}: ${getErrorMessage(name, value)}`,\n 'background-color: #FF0000;font-weight: bold; color: #fff'\n );\n console.log(`Refer: ${getStyleReference(name)}`);\n }\n }\n\n private addStyle<T extends NamedStyles<any>>(name: string, extend: string, style: T) {\n this.styles[name] = deepCopy(this.getStyle(extend), this.styles[name], style);\n }\n\n private addTrace(styleName: string, mergedChildstyle: any, childStyle: any, parentStyle?: any) {\n if (!this.traceEnabled) {\n return;\n }\n let addTrace = !isEmpty(childStyle);\n forEach(mergedChildstyle, (v: any, k: string) => {\n if (v && !isString(v) && !isArray(v) && isObject(v)) {\n addTrace = false;\n this.addTrace(styleName + '.' + k, v, childStyle && childStyle[k], parentStyle && parentStyle[k])\n }\n });\n if (addTrace) {\n mergedChildstyle['__trace'] = [\n {\n name: styleName,\n value: childStyle\n },\n ...(parentStyle?.__trace|| [])\n ];\n } else {\n mergedChildstyle['__trace'] = [...(parentStyle?.__trace|| [])];\n }\n }\n\n private flatten(style: any, prefix = \"\", result = {} as any) {\n let collect = !isEmpty(style);\n forEach(style, (v: any, k: string) => {\n if (v && !isString(v) && !isArray(v) && isObject(v)) {\n collect = false;\n this.flatten(v, (prefix ? prefix + '.' : '') + k, result)\n }\n });\n if (collect) {\n result[prefix] = style;\n }\n return result;\n }\n\n mergeStyle(...styles: any) {\n const style = deepCopy(...styles);\n if (this.traceEnabled) {\n const flattenStyles = this.flatten(style);\n Object.keys(flattenStyles).forEach(k => {\n const s = flattenStyles[k];\n s['__trace'] = flatten(reverse(styles.map((v: any) => {\n const cs = get(v, k);\n if (cs && cs.__trace) {\n return [...cs.__trace];\n }\n return [];\n }).filter((t: any) => t.length > 0)));\n });\n }\n return style;\n }\n\n getStyle(name: string) {\n let style = this.cache[name];\n if (style) {\n return style;\n }\n if (!name) {\n return {};\n }\n if (name.indexOf(' ') > 0) {\n style = this.mergeStyle(...(name.split(' ').map(c => this.getStyle(c))));\n } else {\n const parentStyle = this.parent && this.parent.getStyle(name);\n const mediaQuery = (this.styles[name] || {})['@media'];\n let clonedStyle = {};\n if (!mediaQuery || matchMedia(mediaQuery).matches) {\n clonedStyle = cloneDeep(this.styles[name]);\n }\n if (this !== Theme.BASE && isWebPreviewMode()) {\n this.checkStyleProperties('', clonedStyle);\n }\n style = deepCopy(parentStyle, clonedStyle);\n this.addTrace(`@${this.name}:${name}`, style, clonedStyle, parentStyle);\n }\n this.cache[name] = style;\n return style;\n }\n\n $new(name = \"\", styles = {} as NamedStyles<any>) {\n const newTheme = new Theme(this, name);\n newTheme.reset(styles);\n this.children.push(newTheme);\n return newTheme;\n }\n\n destroy() {\n const i = this.parent.children.indexOf(this);\n if (i >= 0) {\n this.parent.children.splice(i, 1);\n }\n }\n\n reset(styles?: NamedStyles<any>) {\n this.styles = {};\n this.clearCache();\n if (styles) {\n this.registerStyle((themeVariables, addStyle) => {\n Object.keys(styles).forEach(k => {\n addStyle(k, '', styles[k] as any);\n });\n });\n } else {\n this.styleGenerators.forEach(fn => \n fn(ThemeVariables.INSTANCE, this.addStyle.bind(this)));\n }\n this.notify(ThemeEvent.CHANGE);\n }\n}\nexport default Theme.BASE;\nexport type NamedStyles<T> = { [P in keyof T]: AllStyle | NamedStyles<T>};\nexport type BackgroundImageStyle = {\n backgroundImage: string,\n backgroundPosition: string,\n backgroundRepeat: string,\n backgroundSize: string | number\n};\n\nexport type AllStyle = (ViewStyle & TextStyle & ImageStyle & {userSelect?: 'none'| 'text'});\n\nconst ThemeContext = React.createContext<Theme>(null as any);\n\nexport const ThemeProvider = ThemeContext.Provider;\nexport const ThemeConsumer = ThemeContext.Consumer;\n/**\n * Common styles\n */\n Theme.BASE.registerStyle((themeVariables, addStyle) => {\n const addColStyles = (device: string, minWidth: string) => {\n for(let i = 1; i <= 12; i++) {\n addStyle(`col-${device}-${i}`, '', {\n \"@media\": `(min-width: ${minWidth})`,\n root: {\n width: (100 * i / 12) + '%'\n }\n } as any)\n }\n };\n addColStyles('xs', DEVICE_BREAK_POINTS.MIN_EXTRA_SMALL_DEVICE);\n addColStyles('sm', DEVICE_BREAK_POINTS.MIN_SMALL_DEVICE);\n addColStyles('md', DEVICE_BREAK_POINTS.MIN_MEDIUM_DEVICE);\n addColStyles('lg', DEVICE_BREAK_POINTS.MIN_LARGE_DEVICE);\n\n addStyle('d-none', '', {\n root: {\n display: 'none'\n }\n } as any);\n addStyle('d-flex', '', {\n root: {\n display: 'flex'\n }\n } as any);\n\n const addDisplayStyles = (device: string, minWidth: string, maxWidth: string) => {\n addStyle(`d-${device}-none`, '', {\n \"@media\": `(min-width: ${minWidth}) and (max-width: ${maxWidth})`,\n root: {\n display: 'none'\n }\n } as any);\n addStyle(`d-${device}-flex`, '', {\n \"@media\": `(min-width: ${minWidth}) and (max-width: ${maxWidth})`,\n root: {\n display: 'flex'\n }\n } as any);\n };\n addDisplayStyles('all', \n DEVICE_BREAK_POINTS.MIN_EXTRA_SMALL_DEVICE,\n DEVICE_BREAK_POINTS.MAX_LARGE_DEVICE);\n addDisplayStyles('xs', \n DEVICE_BREAK_POINTS.MIN_EXTRA_SMALL_DEVICE,\n DEVICE_BREAK_POINTS.MAX_EXTRA_SMALL_DEVICE);\n addDisplayStyles('sm', \n DEVICE_BREAK_POINTS.MIN_SMALL_DEVICE,\n DEVICE_BREAK_POINTS.MAX_SMALL_DEVICE);\n addDisplayStyles('md', \n DEVICE_BREAK_POINTS.MIN_MEDIUM_DEVICE,\n DEVICE_BREAK_POINTS.MAX_MEDIUM_DEVICE);\n addDisplayStyles('lg', \n DEVICE_BREAK_POINTS.MIN_LARGE_DEVICE,\n DEVICE_BREAK_POINTS.MAX_LARGE_DEVICE);\n\n const addElevationClasses = () => {\n for(let i = 1; i <= 10; i++) {\n addStyle(`elevate${i}`, '', {\n root : {\n shadowColor: \"#000000\",\n shadowOffset: {\n width: i,\n height: i,\n },\n shadowOpacity: 0.27,\n shadowRadius: i,\n elevation: i,\n zIndex: 1\n }\n });\n }\n };\n addElevationClasses();\n addStyle('hidden', '', {\n root: {\n width: 0,\n height: 0,\n transform: [{ scale: 0 }]\n }\n });\n addStyle('bg-danger', '', { root: { backgroundColor: themeVariables.dangerColor }});\n addStyle('bg-info', '', { root: { backgroundColor: themeVariables.infoColor }});\n addStyle('bg-primary', '', { root: { backgroundColor: themeVariables.primaryColor }});\n addStyle('bg-success', '', { root: { backgroundColor: themeVariables.successColor }});\n addStyle('bg-warning', '', { root: { backgroundColor: themeVariables.warningColor }});\n\n addStyle('border-danger', '', { root: { borderColor: themeVariables.dangerColor }});\n addStyle('border-info', '', { root: { borderColor: themeVariables.infoColor }});\n addStyle('border-primary', '', { root: { borderColor: themeVariables.primaryColor }});\n addStyle('border-success', '', { root: { borderColor: themeVariables.successColor }});\n addStyle('border-warning', '', { root: { borderColor: themeVariables.warningColor }});\n\n addStyle('hide-context-menu', '', { text: { userSelect: 'none' }});\n});\n\n"],"mappings":";;;AAAA,SAASA,SAAS,EAAEC,OAAO,EAAEC,OAAO,EAAEC,OAAO,EAAEC,OAAO,EAAEC,QAAQ,EAAEC,QAAQ,EAAcC,GAAG,EAAEC,OAAO,QAAQ,QAAQ;AACpH,OAAOC,KAAK,MAAqB,OAAO;AAExC,SAASC,QAAQ,EAAEC,gBAAgB,QAAQ,sCAAsC;AACjF,OAAOC,aAAa,MAAM,+CAA+C;AACzE,OAAOC,QAAQ,IAAGC,MAA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EAAE;MAAE6B,WAAW,EAAEzC,cAAc,CAACwC;IAAa;EAAC,CAAC,CAAC;EAErFxF,QAAQ,CAAC,mBAAmB,EAAE,EAAE,EAAE;IAAE0F,IAAI,EAAE;MAAEC,UAAU,EAAE;IAAO;EAAC,CAAC,CAAC;AACtE,CAAC,CAAC"}
@@ -52,13 +52,16 @@ export default class ThemeVariables {
52
52
  _defineProperty(this, "badgeContrastColor", '#ffffff');
53
53
  _defineProperty(this, "baseFont", 'Roboto');
54
54
  _defineProperty(this, "maxModalHeight", Dimensions.get('window').height - 64 - (StatusBar.currentHeight || 0));
55
+ // page
55
56
  _defineProperty(this, "pageContentBgColor", this.defaultColorE);
57
+ // common widget color
56
58
  _defineProperty(this, "widgetHeaderBgColor", this.defaultColorF);
57
59
  _defineProperty(this, "widgetHeaderTextColor", this.defaultColor3);
58
60
  _defineProperty(this, "widgetActiveHeaderBgColor", this.primaryColor);
59
61
  _defineProperty(this, "widgetActiveHeaderTextColor", this.primaryContrastColor);
60
62
  _defineProperty(this, "widgetBorderColor", this.defaultColorC);
61
63
  _defineProperty(this, "widgetBgColor", this.defaultColorF);
64
+ // Navbar variables
62
65
  _defineProperty(this, "navbarBackgroundColor", this.defaultColorF);
63
66
  _defineProperty(this, "navbarBorderColor", this.widgetBorderColor);
64
67
  _defineProperty(this, "navbarTextColor", '#151420');
@@ -72,6 +75,7 @@ export default class ThemeVariables {
72
75
  _defineProperty(this, "navitemActiveBackgroundColor", this.primaryColor);
73
76
  _defineProperty(this, "navitemActiveTextColor", this.primaryContrastColor);
74
77
  _defineProperty(this, "navitemActiveIconColor", this.navitemActiveTextColor);
78
+ //Anchor variables
75
79
  _defineProperty(this, "linkDefaultColor", this.defaultTextColor);
76
80
  _defineProperty(this, "linkPrimaryColor", this.primaryColor);
77
81
  _defineProperty(this, "linkSecondaryColor", this.secondaryColor);
@@ -82,6 +86,7 @@ export default class ThemeVariables {
82
86
  _defineProperty(this, "linkLightColor", this.lightColor);
83
87
  _defineProperty(this, "linkDarkColor", this.darkColor);
84
88
  _defineProperty(this, "anchorTextPadding", 2);
89
+ //Grid Layout variables
85
90
  _defineProperty(this, "layoutGridBgColor", this.widgetBgColor);
86
91
  _defineProperty(this, "layoutGridBorderColor", this.widgetBorderColor);
87
92
  _defineProperty(this, "layoutGridStripColor1", Color(this.primaryColor).lighten(0.9).rgb().toString());
@@ -89,10 +94,13 @@ export default class ThemeVariables {
89
94
  _defineProperty(this, "layoutGridHeaderTextColor", this.widgetHeaderTextColor);
90
95
  _defineProperty(this, "layoutGridStripColor2", this.transparent);
91
96
  _defineProperty(this, "gridColumnBorderColor", this.widgetBorderColor);
97
+ //Spinner Variables
92
98
  _defineProperty(this, "spinnerIconColor", this.primaryColor);
99
+ //tabbar variables
93
100
  _defineProperty(this, "tabbarBackgroundColor", this.primaryContrastColor);
94
101
  _defineProperty(this, "tabbarTextColor", this.primaryColor);
95
102
  _defineProperty(this, "tabbarIconColor", this.primaryColor);
103
+ // tab variables
96
104
  _defineProperty(this, "tabHeaderBgColor", this.widgetBgColor);
97
105
  _defineProperty(this, "tabHeaderTextColor", this.defaultColorA);
98
106
  _defineProperty(this, "tabHeaderIconColor", this.defaultColorA);
@@ -102,6 +110,9 @@ export default class ThemeVariables {
102
110
  _defineProperty(this, "tabActiveHeaderIconColor", this.primaryColor);
103
111
  _defineProperty(this, "tabBorderColor", this.widgetBorderColor);
104
112
  _defineProperty(this, "tabContentBgColor", this.widgetBgColor);
113
+ _defineProperty(this, "tabArrowIndicatorBgColor", this.tabContentBgColor);
114
+ _defineProperty(this, "tabArrowIndicatorDotColor", this.primaryColor);
115
+ //label Variables
105
116
  _defineProperty(this, "labelHeaderColor", '#151420');
106
117
  _defineProperty(this, "labelDefaultColor", this.defaultColor8);
107
118
  _defineProperty(this, "labelDefaultContrastColor", this.defaultColorF);
@@ -122,12 +133,14 @@ export default class ThemeVariables {
122
133
  _defineProperty(this, "labelTextPrimaryColor", this.primaryColor);
123
134
  _defineProperty(this, "labelTextWarningColor", this.warningColor);
124
135
  _defineProperty(this, "labelAsteriskColor", this.dangerColor);
136
+ //List
125
137
  _defineProperty(this, "listHeaderBgColor", this.widgetHeaderBgColor);
126
138
  _defineProperty(this, "listTitleColor", this.widgetHeaderTextColor);
127
139
  _defineProperty(this, "listSubTitleColor", this.defaultColor6);
128
140
  _defineProperty(this, "listDividerColor", this.widgetBorderColor);
129
141
  _defineProperty(this, "itemBgColor", this.defaultColorF);
130
142
  _defineProperty(this, "selectedItemBorderColor", this.primaryColor);
143
+ //button Variables
131
144
  _defineProperty(this, "buttonBorderColor", this.widgetBorderColor);
132
145
  _defineProperty(this, "buttonBadgeBackgroundColor", this.badgeColor);
133
146
  _defineProperty(this, "buttonBadgeTextColor", this.badgeContrastColor);
@@ -154,8 +167,10 @@ export default class ThemeVariables {
154
167
  _defineProperty(this, "buttonLightTextColor", this.darkColor);
155
168
  _defineProperty(this, "buttonGrpBorderColor", this.widgetBorderColor);
156
169
  _defineProperty(this, "buttonGrpBgColor", this.defaultColorF);
170
+ //picture variables
157
171
  _defineProperty(this, "pictureThumbBgColor", this.defaultColorF);
158
172
  _defineProperty(this, "pictureThumbBorderColor", this.defaultColorD);
173
+ //input variables
159
174
  _defineProperty(this, "inputTextColor", this.defaultTextColor);
160
175
  _defineProperty(this, "inputBorderColor", this.defaultColorD);
161
176
  _defineProperty(this, "inputBackgroundColor", this.defaultColorF);
@@ -163,32 +178,44 @@ export default class ThemeVariables {
163
178
  _defineProperty(this, "inputFocusBorderColor", this.primaryColor);
164
179
  _defineProperty(this, "inputInvalidBorderColor", this.dangerColor);
165
180
  _defineProperty(this, "inputPlaceholderColor", this.defaultColorB);
181
+ //slider variables
166
182
  _defineProperty(this, "minimumTrackTintColor", this.primaryColor);
167
183
  _defineProperty(this, "maximumTrackTintColor", this.widgetHeaderBgColor);
168
184
  _defineProperty(this, "thumbTintColor", this.primaryColor);
185
+ //rating color
169
186
  _defineProperty(this, "ratingIconColor", this.defaultColorA);
170
187
  _defineProperty(this, "ratingSelectedIconColor", '#eb8600');
171
- _defineProperty(this, "toggleColor", this.primaryColor);
188
+ //toggle variables
189
+ _defineProperty(this, "toggleOnColor", Color(this.primaryColor).lighten(0.4).rgb().toString());
190
+ _defineProperty(this, "toggleOffColor", this.defaultColorB);
191
+ _defineProperty(this, "toggleHandleColor", this.primaryColor);
192
+ // radioset, checkboxset variables
172
193
  _defineProperty(this, "groupHeadingBgColor", this.transparent);
173
194
  _defineProperty(this, "checkedColor", this.primaryColor);
174
195
  _defineProperty(this, "checkedDisabledColor", this.defaultColorA);
196
+ //form
175
197
  _defineProperty(this, "formBorderColor", this.widgetBorderColor);
176
198
  _defineProperty(this, "formTitleColor", this.defaultTextColor);
177
199
  _defineProperty(this, "formSubTitleColor", this.defaultColor6);
200
+ //dialog
178
201
  _defineProperty(this, "dialogBackgroundColor", this.widgetBgColor);
179
202
  _defineProperty(this, "dialogBorderColor", this.widgetBorderColor);
180
203
  _defineProperty(this, "dialogCloseIconColor", this.defaultColorA);
204
+ //alert dialog
181
205
  _defineProperty(this, "alertMessageColor", this.defaultColor8);
182
206
  _defineProperty(this, "badgeTextColor", this.defaultColorF);
207
+ //popover
183
208
  _defineProperty(this, "popoverBackgroundColor", this.defaultColorF);
184
209
  _defineProperty(this, "popoverTitleBackgroundColor", this.defaultColorD);
185
210
  _defineProperty(this, "popoverTitleColor", this.defaultColor1);
211
+ //menu
186
212
  _defineProperty(this, "menuIconColor", this.defaultColor6);
187
213
  _defineProperty(this, "menuTextColor", this.defaultColor6);
188
214
  _defineProperty(this, "menuBackgroundColor", this.popoverBackgroundColor);
189
215
  _defineProperty(this, "menuItemBorderColor", this.widgetBorderColor);
190
216
  _defineProperty(this, "menuItemIconColor", this.defaultColor6);
191
217
  _defineProperty(this, "menuItemTextColor", this.defaultColor6);
218
+ //tile Variables
192
219
  _defineProperty(this, "tileDangerColor", this.dangerColor);
193
220
  _defineProperty(this, "tileInfoColor", this.infoColor);
194
221
  _defineProperty(this, "tilePrimaryColor", this.primaryColor);
@@ -197,16 +224,19 @@ export default class ThemeVariables {
197
224
  _defineProperty(this, "tileWellbgColor", this.defaultColorF);
198
225
  _defineProperty(this, "tileWellBorderColor", this.defaultColorE);
199
226
  _defineProperty(this, "tilePrimaryTextColor", this.primaryContrastColor);
227
+ //switch
200
228
  _defineProperty(this, "switchBgColor", this.widgetBgColor);
201
229
  _defineProperty(this, "switchTextColor", this.defaultTextColor);
202
230
  _defineProperty(this, "switchActiveBgColor", this.primaryColor);
203
231
  _defineProperty(this, "switchActiveTextColor", this.primaryContrastColor);
204
232
  _defineProperty(this, "switchBorderColor", this.widgetBorderColor);
233
+ //message
205
234
  _defineProperty(this, "messageSuccessColor", this.successColor);
206
235
  _defineProperty(this, "messageErrorColor", this.dangerColor);
207
236
  _defineProperty(this, "messageWarningColor", this.warningColor);
208
237
  _defineProperty(this, "messageInfoColor", this.infoColor);
209
238
  _defineProperty(this, "messageLoadingColor", this.infoColor);
239
+ //panel
210
240
  _defineProperty(this, "panelBgColor", this.widgetBgColor);
211
241
  _defineProperty(this, "panelHeaderBgColor", this.widgetHeaderBgColor);
212
242
  _defineProperty(this, "panelHeaderTextColor", this.widgetHeaderTextColor);
@@ -219,6 +249,7 @@ export default class ThemeVariables {
219
249
  _defineProperty(this, "panelSuccessColor", this.successColor);
220
250
  _defineProperty(this, "panelWarningColor", this.warningColor);
221
251
  _defineProperty(this, "panelTextColor", this.defaultColorF);
252
+ //card
222
253
  _defineProperty(this, "cardHeaderBgColor", this.defaultColorD);
223
254
  _defineProperty(this, "cardBgColor", this.widgetBgColor);
224
255
  _defineProperty(this, "cardTitleColor", this.listTitleColor);
@@ -228,17 +259,21 @@ export default class ThemeVariables {
228
259
  _defineProperty(this, "cardContentBgColor", this.defaultColorF);
229
260
  _defineProperty(this, "cardFooterBgColor", this.defaultColorF);
230
261
  _defineProperty(this, "cardFooterBorderColor", this.defaultColorD);
262
+ //progress bar
231
263
  _defineProperty(this, "progressBarDefaultColor", this.primaryColor);
232
264
  _defineProperty(this, "progressBarSuccessColor", this.successColor);
233
265
  _defineProperty(this, "progressBarDangerColor", this.dangerColor);
234
266
  _defineProperty(this, "progressBarInfoColor", this.infoColor);
235
267
  _defineProperty(this, "progressBarWarningColor", this.warningColor);
268
+ //progress circle
236
269
  _defineProperty(this, "progressCircleDefaultColor", this.primaryColor);
237
270
  _defineProperty(this, "progressCircleSuccessColor", this.successColor);
238
271
  _defineProperty(this, "progressCircleDangerColor", this.dangerColor);
239
272
  _defineProperty(this, "progressCircleInfoColor", this.infoColor);
240
273
  _defineProperty(this, "progressCircleWarningColor", this.warningColor);
274
+ //container
241
275
  _defineProperty(this, "containerOutlineColor", this.defaultColorC);
276
+ //accordion
242
277
  _defineProperty(this, "accordionBgColor", this.widgetBgColor);
243
278
  _defineProperty(this, "accordionTitleColor", this.widgetHeaderTextColor);
244
279
  _defineProperty(this, "accordionHeaderBgColor", this.defaultColorF);
@@ -248,6 +283,7 @@ export default class ThemeVariables {
248
283
  _defineProperty(this, "accordionActiveHeaderTextColor", this.widgetActiveHeaderTextColor);
249
284
  _defineProperty(this, "accordionBorderColor", this.defaultColorE);
250
285
  _defineProperty(this, "accordionPaneBgColor", this.defaultColorF);
286
+ //carousel
251
287
  _defineProperty(this, "carouselPrevBtnColor", this.defaultColorF);
252
288
  _defineProperty(this, "carouselPrevBgColor", Color(this.defaultColorF).fade(0.6).rgb().toString());
253
289
  _defineProperty(this, "carouselNextBtnColor", this.defaultColorF);
@@ -255,6 +291,7 @@ export default class ThemeVariables {
255
291
  _defineProperty(this, "carouselDotWrapperBgColor", this.transparent);
256
292
  _defineProperty(this, "carouselDotColor", this.defaultColorF);
257
293
  _defineProperty(this, "carouselActiveDotColor", this.defaultColorF);
294
+ //calendar
258
295
  _defineProperty(this, "calendarBgColor", this.defaultColorF);
259
296
  _defineProperty(this, "calendarHeaderBgColor", this.defaultColorF);
260
297
  _defineProperty(this, "calendarHeaderTextColor", this.defaultTextColor);
@@ -273,7 +310,9 @@ export default class ThemeVariables {
273
310
  _defineProperty(this, "calendarEventDay1Color", this.primaryColor1);
274
311
  _defineProperty(this, "calendarEventDay2Color", this.primaryColor2);
275
312
  _defineProperty(this, "calendarEventDay3Color", this.primaryColor3);
313
+ //date picker
276
314
  _defineProperty(this, "datepickerBgColor", this.defaultColorF);
315
+ //wizard
277
316
  _defineProperty(this, "wizardBackgroundColor", this.widgetBgColor);
278
317
  _defineProperty(this, "wizardStepActiveColor", this.primaryColor);
279
318
  _defineProperty(this, "wizardStepDoneColor", this.successColor);
@@ -288,6 +327,7 @@ export default class ThemeVariables {
288
327
  _defineProperty(this, "wizardStepConnectorColor", this.defaultColorE);
289
328
  _defineProperty(this, "wizardStepCounerColor", this.defaultColor9);
290
329
  _defineProperty(this, "wizardBorderColor", this.widgetBorderColor);
330
+ //Search
291
331
  _defineProperty(this, "searchBorderColor", this.defaultColorD);
292
332
  _defineProperty(this, "searchButtonColor", this.primaryColor);
293
333
  _defineProperty(this, "searchButtonTextColor", this.primaryContrastColor);
@@ -295,41 +335,55 @@ export default class ThemeVariables {
295
335
  _defineProperty(this, "searchItemTextColor", this.defaultColor6);
296
336
  _defineProperty(this, "searchDropdownBackgroundColor", this.defaultColorF);
297
337
  _defineProperty(this, "searchDataCompleteItemBgColor", this.defaultColorE);
338
+ //Select
298
339
  _defineProperty(this, "selectBorderColor", this.defaultColorD);
299
340
  _defineProperty(this, "selecttemBorderColor", this.defaultColorD);
300
341
  _defineProperty(this, "selectItemTextColor", this.defaultColor6);
301
342
  _defineProperty(this, "selectDropdownBackgroundColor", this.defaultColorF);
343
+ //Chip
302
344
  _defineProperty(this, "chipActiveBgColor", this.primaryColor);
303
345
  _defineProperty(this, "chipDefaultBgColor", this.defaultColorF);
304
346
  _defineProperty(this, "chipActiveTextColor", this.defaultColorF);
305
347
  _defineProperty(this, "chipDefaultTextColor", this.defaultColorA);
348
+ //Login
306
349
  _defineProperty(this, "loginErrorMsgColor", this.dangerContrastColor);
307
350
  _defineProperty(this, "loginErrorMsgBgColor", this.dangerColor);
308
351
  _defineProperty(this, "loginErrorMsgBorderColor", this.dangerColor);
352
+ //camera
309
353
  _defineProperty(this, "cameraBgColor", this.defaultColorF);
310
354
  _defineProperty(this, "cameraBorderColor", this.widgetBorderColor);
311
355
  _defineProperty(this, "cameraTextColor", this.defaultTextColor);
356
+ //barcode-scanner
312
357
  _defineProperty(this, "barcodeScannerBgColor", this.defaultColorF);
313
358
  _defineProperty(this, "barcodeScannerBorderColor", this.widgetBorderColor);
314
359
  _defineProperty(this, "barcodeScannerTextColor", this.defaultTextColor);
360
+ //fileupload
315
361
  _defineProperty(this, "fileuploadBgColor", this.defaultColorF);
316
362
  _defineProperty(this, "fileuploadBorderColor", this.widgetBorderColor);
317
363
  _defineProperty(this, "fileuploadTextColor", this.defaultTextColor);
364
+ //charts
318
365
  _defineProperty(this, "chartLabelColor", this.defaultTextColor);
319
366
  _defineProperty(this, "chartGraphLinesColor", this.defaultColorC);
320
367
  _defineProperty(this, "chartLineColor", this.defaultColor8);
321
368
  _defineProperty(this, "chartLegendBorder", this.defaultColor7);
322
369
  _defineProperty(this, "chartAxisColor", this.defaultColor5);
323
370
  _defineProperty(this, "chartAxisPointColor", this.defaultColor9);
371
+ _defineProperty(this, "chartTitleColor", this.widgetHeaderTextColor);
372
+ _defineProperty(this, "chartSubTitleColor", this.defaultColor6);
373
+ // Network Toast
324
374
  _defineProperty(this, "networkToastBgColor", this.defaultColor3);
325
375
  _defineProperty(this, "networkToastTextColor", this.defaultColorF);
326
376
  _defineProperty(this, "networkToastActionTextColor", this.primaryColor);
327
377
  _defineProperty(this, "networkToastActionSeparatorColor", this.networkToastTextColor);
378
+ // Skeleton
328
379
  _defineProperty(this, "skeletonBgColor", this.defaultColorE);
329
380
  _defineProperty(this, "skeletonAnimatedBgColor", this.defaultColorE);
330
381
  _defineProperty(this, "skeletonGradientBgColor", this.defaultColorF);
331
382
  _defineProperty(this, "skeletonGradientShadowColor", this.defaultColorF);
332
383
  _defineProperty(this, "skeletonGradientForegroundColor", this.transparent);
384
+ // Audio
385
+ _defineProperty(this, "audioPlayerBgColor", this.defaultColorF);
386
+ _defineProperty(this, "audioPlayerFgColor", this.defaultColor3);
333
387
  }
334
388
  }
335
389
  _defineProperty(ThemeVariables, "INSTANCE", new ThemeVariables());