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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (998) hide show
  1. package/actions/base-action.js +12 -0
  2. package/actions/base-action.js.map +1 -0
  3. package/actions/index.js +6 -0
  4. package/actions/index.js.map +1 -0
  5. package/actions/login-action.js +32 -0
  6. package/actions/login-action.js.map +1 -0
  7. package/actions/logout-action.js +22 -0
  8. package/actions/logout-action.js.map +1 -0
  9. package/actions/navigation-action.js +44 -0
  10. package/actions/navigation-action.js.map +1 -0
  11. package/actions/notification-action.js +76 -0
  12. package/actions/notification-action.js.map +1 -0
  13. package/actions/timer-action.js +57 -0
  14. package/actions/timer-action.js.map +1 -0
  15. package/components/advanced/carousel/carousel-content/carousel-content.component.js +17 -0
  16. package/components/advanced/carousel/carousel-content/carousel-content.component.js.map +1 -0
  17. package/components/advanced/carousel/carousel-content/carousel-content.props.js +11 -0
  18. package/components/advanced/carousel/carousel-content/carousel-content.props.js.map +1 -0
  19. package/components/advanced/carousel/carousel-content/carousel-content.styles.js +17 -0
  20. package/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +1 -0
  21. package/components/advanced/carousel/carousel-template/carousel-template.component.js +20 -0
  22. package/components/advanced/carousel/carousel-template/carousel-template.component.js.map +1 -0
  23. package/components/advanced/carousel/carousel-template/carousel-template.props.js +11 -0
  24. package/components/advanced/carousel/carousel-template/carousel-template.props.js.map +1 -0
  25. package/components/advanced/carousel/carousel-template/carousel-template.styles.js +16 -0
  26. package/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +1 -0
  27. package/components/advanced/carousel/carousel.component.js +378 -0
  28. package/components/advanced/carousel/carousel.component.js.map +1 -0
  29. package/components/advanced/carousel/carousel.props.js +23 -0
  30. package/components/advanced/carousel/carousel.props.js.map +1 -0
  31. package/components/advanced/carousel/carousel.styles.js +179 -0
  32. package/components/advanced/carousel/carousel.styles.js.map +1 -0
  33. package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.js +14 -0
  34. package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.js.map +1 -0
  35. package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js +11 -0
  36. package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js.map +1 -0
  37. package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.js +14 -0
  38. package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.js.map +1 -0
  39. package/components/advanced/login/login.component.js +40 -0
  40. package/components/advanced/login/login.component.js.map +1 -0
  41. package/components/advanced/login/login.props.js +13 -0
  42. package/components/advanced/login/login.props.js.map +1 -0
  43. package/components/advanced/login/login.styles.js +31 -0
  44. package/components/advanced/login/login.styles.js.map +1 -0
  45. package/components/advanced/network-info-toaster/network-info-toaster.component.js +118 -0
  46. package/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -0
  47. package/components/advanced/network-info-toaster/network-info-toaster.props.js +11 -0
  48. package/components/advanced/network-info-toaster/network-info-toaster.props.js.map +1 -0
  49. package/components/advanced/network-info-toaster/network-info-toaster.styles.js +33 -0
  50. package/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +1 -0
  51. package/components/advanced/webview/webview.component.js +160 -0
  52. package/components/advanced/webview/webview.component.js.map +1 -0
  53. package/components/advanced/webview/webview.props.js +16 -0
  54. package/components/advanced/webview/webview.props.js.map +1 -0
  55. package/components/advanced/webview/webview.styles.js +18 -0
  56. package/components/advanced/webview/webview.styles.js.map +1 -0
  57. package/components/basic/anchor/anchor.component.js +124 -0
  58. package/components/basic/anchor/anchor.component.js.map +1 -0
  59. package/components/basic/anchor/anchor.props.js +34 -0
  60. package/components/basic/anchor/anchor.props.js.map +1 -0
  61. package/components/basic/anchor/anchor.styles.js +108 -0
  62. package/components/basic/anchor/anchor.styles.js.map +1 -0
  63. package/components/basic/animatedview.component.js +226 -0
  64. package/components/basic/animatedview.component.js.map +1 -0
  65. package/components/basic/audio/audio.component.js +257 -0
  66. package/components/basic/audio/audio.component.js.map +1 -0
  67. package/components/basic/audio/audio.props.js +15 -0
  68. package/components/basic/audio/audio.props.js.map +1 -0
  69. package/components/basic/audio/audio.styles.js +68 -0
  70. package/components/basic/audio/audio.styles.js.map +1 -0
  71. package/components/basic/bottomsheet/bottomsheet.component.js +772 -0
  72. package/components/basic/bottomsheet/bottomsheet.component.js.map +1 -0
  73. package/components/basic/bottomsheet/bottomsheet.props.js +26 -0
  74. package/components/basic/bottomsheet/bottomsheet.props.js.map +1 -0
  75. package/components/basic/bottomsheet/bottomsheet.styles.js +88 -0
  76. package/components/basic/bottomsheet/bottomsheet.styles.js.map +1 -0
  77. package/components/basic/button/button.component.js +124 -0
  78. package/components/basic/button/button.component.js.map +1 -0
  79. package/components/basic/button/button.props.js +28 -0
  80. package/components/basic/button/button.props.js.map +1 -0
  81. package/components/basic/button/button.styles.js +132 -0
  82. package/components/basic/button/button.styles.js.map +1 -0
  83. package/components/basic/buttongroup/buttongroup.component.js +28 -0
  84. package/components/basic/buttongroup/buttongroup.component.js.map +1 -0
  85. package/components/basic/buttongroup/buttongroup.props.js +14 -0
  86. package/components/basic/buttongroup/buttongroup.props.js.map +1 -0
  87. package/components/basic/buttongroup/buttongroup.styles.js +59 -0
  88. package/components/basic/buttongroup/buttongroup.styles.js.map +1 -0
  89. package/components/basic/custom/custom.component.js +26 -0
  90. package/components/basic/custom/custom.component.js.map +1 -0
  91. package/components/basic/custom/custom.props.js +16 -0
  92. package/components/basic/custom/custom.props.js.map +1 -0
  93. package/components/basic/custom/custom.styles.js +18 -0
  94. package/components/basic/custom/custom.styles.js.map +1 -0
  95. package/components/basic/icon/icon.component.js +270 -0
  96. package/components/basic/icon/icon.component.js.map +1 -0
  97. package/components/basic/icon/icon.props.js +28 -0
  98. package/components/basic/icon/icon.props.js.map +1 -0
  99. package/components/basic/icon/icon.styles.js +38 -0
  100. package/components/basic/icon/icon.styles.js.map +1 -0
  101. package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +245 -0
  102. package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +1 -0
  103. package/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
  104. package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +217 -0
  105. package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +1 -0
  106. package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
  107. package/components/basic/icon/wavicon/wavicon.component.js +1161 -0
  108. package/components/basic/icon/wavicon/wavicon.component.js.map +1 -0
  109. package/components/basic/icon/wavicon/wavicon.ttf +0 -0
  110. package/components/basic/label/label.component.js +406 -0
  111. package/components/basic/label/label.component.js.map +1 -0
  112. package/components/basic/label/label.props.js +28 -0
  113. package/components/basic/label/label.props.js.map +1 -0
  114. package/components/basic/label/label.styles.js +146 -0
  115. package/components/basic/label/label.styles.js.map +1 -0
  116. package/components/basic/lottie/lottie.component.js +139 -0
  117. package/components/basic/lottie/lottie.component.js.map +1 -0
  118. package/components/basic/lottie/lottie.props.js +14 -0
  119. package/components/basic/lottie/lottie.props.js.map +1 -0
  120. package/components/basic/lottie/lottie.styles.js +15 -0
  121. package/components/basic/lottie/lottie.styles.js.map +1 -0
  122. package/components/basic/message/message.component.js +87 -0
  123. package/components/basic/message/message.component.js.map +1 -0
  124. package/components/basic/message/message.props.js +24 -0
  125. package/components/basic/message/message.props.js.map +1 -0
  126. package/components/basic/message/message.styles.js +116 -0
  127. package/components/basic/message/message.styles.js.map +1 -0
  128. package/components/basic/modal/modal.component.js +24 -0
  129. package/components/basic/modal/modal.component.js.map +1 -0
  130. package/components/basic/modal/modal.props.js +12 -0
  131. package/components/basic/modal/modal.props.js.map +1 -0
  132. package/components/basic/modal/modal.styles.js +29 -0
  133. package/components/basic/modal/modal.styles.js.map +1 -0
  134. package/components/basic/picture/picture.component.js +321 -0
  135. package/components/basic/picture/picture.component.js.map +1 -0
  136. package/components/basic/picture/picture.props.js +25 -0
  137. package/components/basic/picture/picture.props.js.map +1 -0
  138. package/components/basic/picture/picture.styles.js +43 -0
  139. package/components/basic/picture/picture.styles.js.map +1 -0
  140. package/components/basic/progress-bar/progress-bar.component.js +96 -0
  141. package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
  142. package/components/basic/progress-bar/progress-bar.props.js +19 -0
  143. package/components/basic/progress-bar/progress-bar.props.js.map +1 -0
  144. package/components/basic/progress-bar/progress-bar.styles.js +45 -0
  145. package/components/basic/progress-bar/progress-bar.styles.js.map +1 -0
  146. package/components/basic/progress-circle/progress-circle.component.js +79 -0
  147. package/components/basic/progress-circle/progress-circle.component.js.map +1 -0
  148. package/components/basic/progress-circle/progress-circle.props.js +19 -0
  149. package/components/basic/progress-circle/progress-circle.props.js.map +1 -0
  150. package/components/basic/progress-circle/progress-circle.styles.js +82 -0
  151. package/components/basic/progress-circle/progress-circle.styles.js.map +1 -0
  152. package/components/basic/search/local-data-provider.js +113 -0
  153. package/components/basic/search/local-data-provider.js.map +1 -0
  154. package/components/basic/search/search.component.js +456 -0
  155. package/components/basic/search/search.component.js.map +1 -0
  156. package/components/basic/search/search.props.js +39 -0
  157. package/components/basic/search/search.props.js.map +1 -0
  158. package/components/basic/search/search.styles.js +187 -0
  159. package/components/basic/search/search.styles.js.map +1 -0
  160. package/components/basic/skeleton/skeleton.component.js +151 -0
  161. package/components/basic/skeleton/skeleton.component.js.map +1 -0
  162. package/components/basic/skeleton/skeleton.props.js +11 -0
  163. package/components/basic/skeleton/skeleton.props.js.map +1 -0
  164. package/components/basic/skeleton/skeleton.styles.js +41 -0
  165. package/components/basic/skeleton/skeleton.styles.js.map +1 -0
  166. package/components/basic/spinner/spinner.component.js +99 -0
  167. package/components/basic/spinner/spinner.component.js.map +1 -0
  168. package/components/basic/spinner/spinner.props.js +17 -0
  169. package/components/basic/spinner/spinner.props.js.map +1 -0
  170. package/components/basic/spinner/spinner.styles.js +41 -0
  171. package/components/basic/spinner/spinner.styles.js.map +1 -0
  172. package/components/basic/tooltip/tooltip.component.js +80 -0
  173. package/components/basic/tooltip/tooltip.component.js.map +1 -0
  174. package/components/basic/tooltip/tooltip.props.js +18 -0
  175. package/components/basic/tooltip/tooltip.props.js.map +1 -0
  176. package/components/basic/tooltip/tooltip.styles.js +49 -0
  177. package/components/basic/tooltip/tooltip.styles.js.map +1 -0
  178. package/components/basic/video/video.component.js +206 -0
  179. package/components/basic/video/video.component.js.map +1 -0
  180. package/components/basic/video/video.props.js +33 -0
  181. package/components/basic/video/video.props.js.map +1 -0
  182. package/components/basic/video/video.styles.js +33 -0
  183. package/components/basic/video/video.styles.js.map +1 -0
  184. package/components/chart/area-chart/area-chart.component.js +159 -0
  185. package/components/chart/area-chart/area-chart.component.js.map +1 -0
  186. package/components/chart/area-chart/area-chart.props.js +12 -0
  187. package/components/chart/area-chart/area-chart.props.js.map +1 -0
  188. package/components/chart/area-chart/area-chart.styles.js +13 -0
  189. package/components/chart/area-chart/area-chart.styles.js.map +1 -0
  190. package/components/chart/bar-chart/bar-chart.component.js +144 -0
  191. package/components/chart/bar-chart/bar-chart.component.js.map +1 -0
  192. package/components/chart/bar-chart/bar-chart.props.js +15 -0
  193. package/components/chart/bar-chart/bar-chart.props.js.map +1 -0
  194. package/components/chart/bar-chart/bar-chart.styles.js +13 -0
  195. package/components/chart/bar-chart/bar-chart.styles.js.map +1 -0
  196. package/components/chart/basechart.component.js +709 -0
  197. package/components/chart/basechart.component.js.map +1 -0
  198. package/components/chart/basechart.props.js +65 -0
  199. package/components/chart/basechart.props.js.map +1 -0
  200. package/components/chart/basechart.styles.js +97 -0
  201. package/components/chart/basechart.styles.js.map +1 -0
  202. package/components/chart/bubble-chart/bubble-chart.component.js +113 -0
  203. package/components/chart/bubble-chart/bubble-chart.component.js.map +1 -0
  204. package/components/chart/bubble-chart/bubble-chart.props.js +11 -0
  205. package/components/chart/bubble-chart/bubble-chart.props.js.map +1 -0
  206. package/components/chart/bubble-chart/bubble-chart.styles.js +13 -0
  207. package/components/chart/bubble-chart/bubble-chart.styles.js.map +1 -0
  208. package/components/chart/column-chart/column-chart.component.js +8 -0
  209. package/components/chart/column-chart/column-chart.component.js.map +1 -0
  210. package/components/chart/column-chart/column-chart.props.js +3 -0
  211. package/components/chart/column-chart/column-chart.props.js.map +1 -0
  212. package/components/chart/column-chart/column-chart.styles.js +13 -0
  213. package/components/chart/column-chart/column-chart.styles.js.map +1 -0
  214. package/components/chart/donut-chart/donut-chart.component.js +7 -0
  215. package/components/chart/donut-chart/donut-chart.component.js.map +1 -0
  216. package/components/chart/donut-chart/donut-chart.props.js +11 -0
  217. package/components/chart/donut-chart/donut-chart.props.js.map +1 -0
  218. package/components/chart/donut-chart/donut-chart.styles.js +13 -0
  219. package/components/chart/donut-chart/donut-chart.styles.js.map +1 -0
  220. package/components/chart/legend/legend.component.js +36 -0
  221. package/components/chart/legend/legend.component.js.map +1 -0
  222. package/components/chart/line-chart/line-chart.component.js +119 -0
  223. package/components/chart/line-chart/line-chart.component.js.map +1 -0
  224. package/components/chart/line-chart/line-chart.props.js +14 -0
  225. package/components/chart/line-chart/line-chart.props.js.map +1 -0
  226. package/components/chart/line-chart/line-chart.styles.js +13 -0
  227. package/components/chart/line-chart/line-chart.styles.js.map +1 -0
  228. package/components/chart/pie-chart/pie-chart.component.js +251 -0
  229. package/components/chart/pie-chart/pie-chart.component.js.map +1 -0
  230. package/components/chart/pie-chart/pie-chart.props.js +14 -0
  231. package/components/chart/pie-chart/pie-chart.props.js.map +1 -0
  232. package/components/chart/pie-chart/pie-chart.styles.js +13 -0
  233. package/components/chart/pie-chart/pie-chart.styles.js.map +1 -0
  234. package/components/chart/stack-chart/stack-chart.component.js +368 -0
  235. package/components/chart/stack-chart/stack-chart.component.js.map +1 -0
  236. package/components/chart/stack-chart/stack-chart.props.js +17 -0
  237. package/components/chart/stack-chart/stack-chart.props.js.map +1 -0
  238. package/components/chart/stack-chart/stack-chart.styles.js +7 -0
  239. package/components/chart/stack-chart/stack-chart.styles.js.map +1 -0
  240. package/components/chart/staticdata.js +215 -0
  241. package/components/chart/staticdata.js.map +1 -0
  242. package/components/chart/theme/chart.theme.js +360 -0
  243. package/components/chart/theme/chart.theme.js.map +1 -0
  244. package/components/container/accordion/accordion.component.js +202 -0
  245. package/components/container/accordion/accordion.component.js.map +1 -0
  246. package/components/container/accordion/accordion.props.js +16 -0
  247. package/components/container/accordion/accordion.props.js.map +1 -0
  248. package/components/container/accordion/accordion.styles.js +148 -0
  249. package/components/container/accordion/accordion.styles.js.map +1 -0
  250. package/components/container/accordion/accordionpane/accordionpane.component.js +87 -0
  251. package/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -0
  252. package/components/container/accordion/accordionpane/accordionpane.props.js +17 -0
  253. package/components/container/accordion/accordionpane/accordionpane.props.js.map +1 -0
  254. package/components/container/accordion/accordionpane/accordionpane.styles.js +16 -0
  255. package/components/container/accordion/accordionpane/accordionpane.styles.js.map +1 -0
  256. package/components/container/container.component.js +194 -0
  257. package/components/container/container.component.js.map +1 -0
  258. package/components/container/container.props.js +18 -0
  259. package/components/container/container.props.js.map +1 -0
  260. package/components/container/container.styles.js +48 -0
  261. package/components/container/container.styles.js.map +1 -0
  262. package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +29 -0
  263. package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +1 -0
  264. package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +13 -0
  265. package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +1 -0
  266. package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +12 -0
  267. package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +1 -0
  268. package/components/container/layoutgrid/gridrow/gridrow.component.js +22 -0
  269. package/components/container/layoutgrid/gridrow/gridrow.component.js.map +1 -0
  270. package/components/container/layoutgrid/gridrow/gridrow.props.js +11 -0
  271. package/components/container/layoutgrid/gridrow/gridrow.props.js.map +1 -0
  272. package/components/container/layoutgrid/gridrow/gridrow.styles.js +42 -0
  273. package/components/container/layoutgrid/gridrow/gridrow.styles.js.map +1 -0
  274. package/components/container/layoutgrid/layoutgrid.component.js +44 -0
  275. package/components/container/layoutgrid/layoutgrid.component.js.map +1 -0
  276. package/components/container/layoutgrid/layoutgrid.props.js +11 -0
  277. package/components/container/layoutgrid/layoutgrid.props.js.map +1 -0
  278. package/components/container/layoutgrid/layoutgrid.styles.js +34 -0
  279. package/components/container/layoutgrid/layoutgrid.styles.js.map +1 -0
  280. package/components/container/linearlayout/linearlayout.component.js +70 -0
  281. package/components/container/linearlayout/linearlayout.component.js.map +1 -0
  282. package/components/container/linearlayout/linearlayout.props.js +15 -0
  283. package/components/container/linearlayout/linearlayout.props.js.map +1 -0
  284. package/components/container/linearlayout/linearlayout.styles.js +14 -0
  285. package/components/container/linearlayout/linearlayout.styles.js.map +1 -0
  286. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +25 -0
  287. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +1 -0
  288. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +13 -0
  289. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +1 -0
  290. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +11 -0
  291. package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +1 -0
  292. package/components/container/panel/collapsible-pane.component.js +26 -0
  293. package/components/container/panel/collapsible-pane.component.js.map +1 -0
  294. package/components/container/panel/panel-content/panel-content.component.js +17 -0
  295. package/components/container/panel/panel-content/panel-content.component.js.map +1 -0
  296. package/components/container/panel/panel-content/panel-content.props.js +11 -0
  297. package/components/container/panel/panel-content/panel-content.props.js.map +1 -0
  298. package/components/container/panel/panel-content/panel-content.styles.js +16 -0
  299. package/components/container/panel/panel-content/panel-content.styles.js.map +1 -0
  300. package/components/container/panel/panel-footer/panel-footer.component.js +17 -0
  301. package/components/container/panel/panel-footer/panel-footer.component.js.map +1 -0
  302. package/components/container/panel/panel-footer/panel-footer.props.js +11 -0
  303. package/components/container/panel/panel-footer/panel-footer.props.js.map +1 -0
  304. package/components/container/panel/panel-footer/panel-footer.styles.js +19 -0
  305. package/components/container/panel/panel-footer/panel-footer.styles.js.map +1 -0
  306. package/components/container/panel/panel.component.js +163 -0
  307. package/components/container/panel/panel.component.js.map +1 -0
  308. package/components/container/panel/panel.props.js +26 -0
  309. package/components/container/panel/panel.props.js.map +1 -0
  310. package/components/container/panel/panel.styles.js +108 -0
  311. package/components/container/panel/panel.styles.js.map +1 -0
  312. package/components/container/partial-host.component.js +42 -0
  313. package/components/container/partial-host.component.js.map +1 -0
  314. package/components/container/tabs/tabheader/tabheader.component.js +240 -0
  315. package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
  316. package/components/container/tabs/tabheader/tabheader.props.js +18 -0
  317. package/components/container/tabs/tabheader/tabheader.props.js.map +1 -0
  318. package/components/container/tabs/tabheader/tabheader.styles.js +111 -0
  319. package/components/container/tabs/tabheader/tabheader.styles.js.map +1 -0
  320. package/components/container/tabs/tabpane/tabpane.component.js +82 -0
  321. package/components/container/tabs/tabpane/tabpane.component.js.map +1 -0
  322. package/components/container/tabs/tabpane/tabpane.props.js +19 -0
  323. package/components/container/tabs/tabpane/tabpane.props.js.map +1 -0
  324. package/components/container/tabs/tabpane/tabpane.styles.js +13 -0
  325. package/components/container/tabs/tabpane/tabpane.styles.js.map +1 -0
  326. package/components/container/tabs/tabs.component.js +299 -0
  327. package/components/container/tabs/tabs.component.js.map +1 -0
  328. package/components/container/tabs/tabs.props.js +16 -0
  329. package/components/container/tabs/tabs.props.js.map +1 -0
  330. package/components/container/tabs/tabs.styles.js +65 -0
  331. package/components/container/tabs/tabs.styles.js.map +1 -0
  332. package/components/container/tile/tile.component.js +54 -0
  333. package/components/container/tile/tile.component.js.map +1 -0
  334. package/components/container/tile/tile.props.js +13 -0
  335. package/components/container/tile/tile.props.js.map +1 -0
  336. package/components/container/tile/tile.styles.js +38 -0
  337. package/components/container/tile/tile.styles.js.map +1 -0
  338. package/components/container/wizard/wizard.component.js +550 -0
  339. package/components/container/wizard/wizard.component.js.map +1 -0
  340. package/components/container/wizard/wizard.props.js +31 -0
  341. package/components/container/wizard/wizard.props.js.map +1 -0
  342. package/components/container/wizard/wizard.styles.js +415 -0
  343. package/components/container/wizard/wizard.styles.js.map +1 -0
  344. package/components/container/wizard/wizardaction/wizardaction.component.js +17 -0
  345. package/components/container/wizard/wizardaction/wizardaction.component.js.map +1 -0
  346. package/components/container/wizard/wizardaction/wizardaction.props.js +11 -0
  347. package/components/container/wizard/wizardaction/wizardaction.props.js.map +1 -0
  348. package/components/container/wizard/wizardaction/wizardaction.styles.js +11 -0
  349. package/components/container/wizard/wizardaction/wizardaction.styles.js.map +1 -0
  350. package/components/container/wizard/wizardstep/wizardstep.component.js +92 -0
  351. package/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -0
  352. package/components/container/wizard/wizardstep/wizardstep.props.js +22 -0
  353. package/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -0
  354. package/components/container/wizard/wizardstep/wizardstep.styles.js +13 -0
  355. package/components/container/wizard/wizardstep/wizardstep.styles.js.map +1 -0
  356. package/components/data/card/card-content/card-content.component.js +46 -0
  357. package/components/data/card/card-content/card-content.component.js.map +1 -0
  358. package/components/data/card/card-content/card-content.props.js +12 -0
  359. package/components/data/card/card-content/card-content.props.js.map +1 -0
  360. package/components/data/card/card-content/card-content.styles.js +17 -0
  361. package/components/data/card/card-content/card-content.styles.js.map +1 -0
  362. package/components/data/card/card-footer/card-footer.component.js +18 -0
  363. package/components/data/card/card-footer/card-footer.component.js.map +1 -0
  364. package/components/data/card/card-footer/card-footer.props.js +11 -0
  365. package/components/data/card/card-footer/card-footer.props.js.map +1 -0
  366. package/components/data/card/card-footer/card-footer.styles.js +18 -0
  367. package/components/data/card/card-footer/card-footer.styles.js.map +1 -0
  368. package/components/data/card/card.component.js +92 -0
  369. package/components/data/card/card.component.js.map +1 -0
  370. package/components/data/card/card.props.js +27 -0
  371. package/components/data/card/card.props.js.map +1 -0
  372. package/components/data/card/card.styles.js +51 -0
  373. package/components/data/card/card.styles.js.map +1 -0
  374. package/components/data/form/form-action/form-action.component.js +35 -0
  375. package/components/data/form/form-action/form-action.component.js.map +1 -0
  376. package/components/data/form/form-action/form-action.props.js +18 -0
  377. package/components/data/form/form-action/form-action.props.js.map +1 -0
  378. package/components/data/form/form-action/form-action.styles.js +34 -0
  379. package/components/data/form/form-action/form-action.styles.js.map +1 -0
  380. package/components/data/form/form-body/form-body.component.js +20 -0
  381. package/components/data/form/form-body/form-body.component.js.map +1 -0
  382. package/components/data/form/form-body/form-body.props.js +11 -0
  383. package/components/data/form/form-body/form-body.props.js.map +1 -0
  384. package/components/data/form/form-body/form-body.styles.js +13 -0
  385. package/components/data/form/form-body/form-body.styles.js.map +1 -0
  386. package/components/data/form/form-field/form-field.component.js +257 -0
  387. package/components/data/form/form-field/form-field.component.js.map +1 -0
  388. package/components/data/form/form-field/form-field.props.js +35 -0
  389. package/components/data/form/form-field/form-field.props.js.map +1 -0
  390. package/components/data/form/form-field/form-field.styles.js +40 -0
  391. package/components/data/form/form-field/form-field.styles.js.map +1 -0
  392. package/components/data/form/form-footer/form-footer.component.js +20 -0
  393. package/components/data/form/form-footer/form-footer.component.js.map +1 -0
  394. package/components/data/form/form-footer/form-footer.props.js +11 -0
  395. package/components/data/form/form-footer/form-footer.props.js.map +1 -0
  396. package/components/data/form/form-footer/form-footer.styles.js +18 -0
  397. package/components/data/form/form-footer/form-footer.styles.js.map +1 -0
  398. package/components/data/form/form.component.js +465 -0
  399. package/components/data/form/form.component.js.map +1 -0
  400. package/components/data/form/form.props.js +38 -0
  401. package/components/data/form/form.props.js.map +1 -0
  402. package/components/data/form/form.styles.js +53 -0
  403. package/components/data/form/form.styles.js.map +1 -0
  404. package/components/data/list/list-action-template/list-action-template.component.js +28 -0
  405. package/components/data/list/list-action-template/list-action-template.component.js.map +1 -0
  406. package/components/data/list/list-action-template/list-action-template.props.js +12 -0
  407. package/components/data/list/list-action-template/list-action-template.props.js.map +1 -0
  408. package/components/data/list/list-action-template/list-action-template.styles.js +36 -0
  409. package/components/data/list/list-action-template/list-action-template.styles.js.map +1 -0
  410. package/components/data/list/list-template/list-template.component.js +55 -0
  411. package/components/data/list/list-template/list-template.component.js.map +1 -0
  412. package/components/data/list/list-template/list-template.props.js +13 -0
  413. package/components/data/list/list-template/list-template.props.js.map +1 -0
  414. package/components/data/list/list-template/list-template.styles.js +35 -0
  415. package/components/data/list/list-template/list-template.styles.js.map +1 -0
  416. package/components/data/list/list.component.js +690 -0
  417. package/components/data/list/list.component.js.map +1 -0
  418. package/components/data/list/list.props.js +53 -0
  419. package/components/data/list/list.props.js.map +1 -0
  420. package/components/data/list/list.styles.js +151 -0
  421. package/components/data/list/list.styles.js.map +1 -0
  422. package/components/data/liveform/liveform.component.js +98 -0
  423. package/components/data/liveform/liveform.component.js.map +1 -0
  424. package/components/device/barcodescanner/barcodescanner.component.js +69 -0
  425. package/components/device/barcodescanner/barcodescanner.component.js.map +1 -0
  426. package/components/device/barcodescanner/barcodescanner.props.js +19 -0
  427. package/components/device/barcodescanner/barcodescanner.props.js.map +1 -0
  428. package/components/device/barcodescanner/barcodescanner.styles.js +38 -0
  429. package/components/device/barcodescanner/barcodescanner.styles.js.map +1 -0
  430. package/components/device/camera/camera.component.js +84 -0
  431. package/components/device/camera/camera.component.js.map +1 -0
  432. package/components/device/camera/camera.props.js +25 -0
  433. package/components/device/camera/camera.props.js.map +1 -0
  434. package/components/device/camera/camera.styles.js +39 -0
  435. package/components/device/camera/camera.styles.js.map +1 -0
  436. package/components/dialogs/alertdialog/alertdialog.component.js +72 -0
  437. package/components/dialogs/alertdialog/alertdialog.component.js.map +1 -0
  438. package/components/dialogs/alertdialog/alertdialog.props.js +24 -0
  439. package/components/dialogs/alertdialog/alertdialog.props.js.map +1 -0
  440. package/components/dialogs/alertdialog/alertdialog.styles.js +34 -0
  441. package/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -0
  442. package/components/dialogs/confirmdialog/confirmdialog.component.js +78 -0
  443. package/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -0
  444. package/components/dialogs/confirmdialog/confirmdialog.props.js +24 -0
  445. package/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -0
  446. package/components/dialogs/confirmdialog/confirmdialog.styles.js +58 -0
  447. package/components/dialogs/confirmdialog/confirmdialog.styles.js.map +1 -0
  448. package/components/dialogs/dialog/dialog.component.js +107 -0
  449. package/components/dialogs/dialog/dialog.component.js.map +1 -0
  450. package/components/dialogs/dialog/dialog.props.js +25 -0
  451. package/components/dialogs/dialog/dialog.props.js.map +1 -0
  452. package/components/dialogs/dialog/dialog.styles.js +78 -0
  453. package/components/dialogs/dialog/dialog.styles.js.map +1 -0
  454. package/components/dialogs/dialogactions/dialogactions.component.js +22 -0
  455. package/components/dialogs/dialogactions/dialogactions.component.js.map +1 -0
  456. package/components/dialogs/dialogactions/dialogactions.props.js +11 -0
  457. package/components/dialogs/dialogactions/dialogactions.props.js.map +1 -0
  458. package/components/dialogs/dialogactions/dialogactions.styles.js +17 -0
  459. package/components/dialogs/dialogactions/dialogactions.styles.js.map +1 -0
  460. package/components/dialogs/dialogcontent/dialogcontent.component.js +31 -0
  461. package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -0
  462. package/components/dialogs/dialogcontent/dialogcontent.props.js +11 -0
  463. package/components/dialogs/dialogcontent/dialogcontent.props.js.map +1 -0
  464. package/components/dialogs/dialogcontent/dialogcontent.styles.js +15 -0
  465. package/components/dialogs/dialogcontent/dialogcontent.styles.js.map +1 -0
  466. package/components/input/basedataset/basedataset.component.js +232 -0
  467. package/components/input/basedataset/basedataset.component.js.map +1 -0
  468. package/components/input/basedataset/basedataset.props.js +33 -0
  469. package/components/input/basedataset/basedataset.props.js.map +1 -0
  470. package/components/input/basedataset/basedataset.styles.js +11 -0
  471. package/components/input/basedataset/basedataset.styles.js.map +1 -0
  472. package/components/input/baseinput/baseinput.component.js +203 -0
  473. package/components/input/baseinput/baseinput.component.js.map +1 -0
  474. package/components/input/baseinput/baseinput.props.js +32 -0
  475. package/components/input/baseinput/baseinput.props.js.map +1 -0
  476. package/components/input/baseinput/baseinput.styles.js +11 -0
  477. package/components/input/baseinput/baseinput.styles.js.map +1 -0
  478. package/components/input/basenumber/basenumber.component.js +357 -0
  479. package/components/input/basenumber/basenumber.component.js.map +1 -0
  480. package/components/input/basenumber/basenumber.props.js +28 -0
  481. package/components/input/basenumber/basenumber.props.js.map +1 -0
  482. package/components/input/basenumber/basenumber.styles.js +11 -0
  483. package/components/input/basenumber/basenumber.styles.js.map +1 -0
  484. package/components/input/calendar/calendar.component.js +173 -0
  485. package/components/input/calendar/calendar.component.js.map +1 -0
  486. package/components/input/calendar/calendar.props.js +14 -0
  487. package/components/input/calendar/calendar.props.js.map +1 -0
  488. package/components/input/calendar/calendar.styles.js +162 -0
  489. package/components/input/calendar/calendar.styles.js.map +1 -0
  490. package/components/input/calendar/views/month-view.js +211 -0
  491. package/components/input/calendar/views/month-view.js.map +1 -0
  492. package/components/input/calendar/views/month-view.styles.js +39 -0
  493. package/components/input/calendar/views/month-view.styles.js.map +1 -0
  494. package/components/input/checkbox/checkbox.component.js +124 -0
  495. package/components/input/checkbox/checkbox.component.js.map +1 -0
  496. package/components/input/checkbox/checkbox.props.js +18 -0
  497. package/components/input/checkbox/checkbox.props.js.map +1 -0
  498. package/components/input/checkbox/checkbox.styles.js +94 -0
  499. package/components/input/checkbox/checkbox.styles.js.map +1 -0
  500. package/components/input/checkboxset/checkboxset.component.js +159 -0
  501. package/components/input/checkboxset/checkboxset.component.js.map +1 -0
  502. package/components/input/checkboxset/checkboxset.props.js +21 -0
  503. package/components/input/checkboxset/checkboxset.props.js.map +1 -0
  504. package/components/input/checkboxset/checkboxset.styles.js +88 -0
  505. package/components/input/checkboxset/checkboxset.styles.js.map +1 -0
  506. package/components/input/chips/chips.component.js +410 -0
  507. package/components/input/chips/chips.component.js.map +1 -0
  508. package/components/input/chips/chips.props.js +30 -0
  509. package/components/input/chips/chips.props.js.map +1 -0
  510. package/components/input/chips/chips.styles.js +221 -0
  511. package/components/input/chips/chips.styles.js.map +1 -0
  512. package/components/input/composite/composite.component.js +25 -0
  513. package/components/input/composite/composite.component.js.map +1 -0
  514. package/components/input/composite/composite.props.js +12 -0
  515. package/components/input/composite/composite.props.js.map +1 -0
  516. package/components/input/composite/composite.styles.js +29 -0
  517. package/components/input/composite/composite.styles.js.map +1 -0
  518. package/components/input/currency/currency.component.js +120 -0
  519. package/components/input/currency/currency.component.js.map +1 -0
  520. package/components/input/currency/currency.props.js +13 -0
  521. package/components/input/currency/currency.props.js.map +1 -0
  522. package/components/input/currency/currency.styles.js +148 -0
  523. package/components/input/currency/currency.styles.js.map +1 -0
  524. package/components/input/epoch/base-datetime.component.js +496 -0
  525. package/components/input/epoch/base-datetime.component.js.map +1 -0
  526. package/components/input/epoch/date/date.component.js +20 -0
  527. package/components/input/epoch/date/date.component.js.map +1 -0
  528. package/components/input/epoch/date/date.props.js +11 -0
  529. package/components/input/epoch/date/date.props.js.map +1 -0
  530. package/components/input/epoch/date/date.styles.js +48 -0
  531. package/components/input/epoch/date/date.styles.js.map +1 -0
  532. package/components/input/epoch/date-picker.component.js +136 -0
  533. package/components/input/epoch/date-picker.component.js.map +1 -0
  534. package/components/input/epoch/datetime/datetime.component.js +20 -0
  535. package/components/input/epoch/datetime/datetime.component.js.map +1 -0
  536. package/components/input/epoch/datetime/datetime.props.js +36 -0
  537. package/components/input/epoch/datetime/datetime.props.js.map +1 -0
  538. package/components/input/epoch/datetime/datetime.styles.js +163 -0
  539. package/components/input/epoch/datetime/datetime.styles.js.map +1 -0
  540. package/components/input/epoch/time/time.component.js +26 -0
  541. package/components/input/epoch/time/time.component.js.map +1 -0
  542. package/components/input/epoch/time/time.props.js +15 -0
  543. package/components/input/epoch/time/time.props.js.map +1 -0
  544. package/components/input/epoch/time/time.styles.js +48 -0
  545. package/components/input/epoch/time/time.styles.js.map +1 -0
  546. package/components/input/epoch/wheel-date-picker.component.js +206 -0
  547. package/components/input/epoch/wheel-date-picker.component.js.map +1 -0
  548. package/components/input/epoch/wheel-time-picker.component.js +107 -0
  549. package/components/input/epoch/wheel-time-picker.component.js.map +1 -0
  550. package/components/input/epoch/wheelpicker/wheelpicker.component.js +97 -0
  551. package/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -0
  552. package/components/input/epoch/wheelpicker/wheelpicker.props.js +17 -0
  553. package/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -0
  554. package/components/input/epoch/wheelpicker/wheelpicker.styles.js +55 -0
  555. package/components/input/epoch/wheelpicker/wheelpicker.styles.js.map +1 -0
  556. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +85 -0
  557. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -0
  558. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +20 -0
  559. package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -0
  560. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js +66 -0
  561. package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js.map +1 -0
  562. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +83 -0
  563. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +1 -0
  564. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +19 -0
  565. package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -0
  566. package/components/input/fileupload/fileupload.component.js +70 -0
  567. package/components/input/fileupload/fileupload.component.js.map +1 -0
  568. package/components/input/fileupload/fileupload.props.js +19 -0
  569. package/components/input/fileupload/fileupload.props.js.map +1 -0
  570. package/components/input/fileupload/fileupload.styles.js +27 -0
  571. package/components/input/fileupload/fileupload.styles.js.map +1 -0
  572. package/components/input/number/number.component.js +86 -0
  573. package/components/input/number/number.component.js.map +1 -0
  574. package/components/input/number/number.props.js +13 -0
  575. package/components/input/number/number.props.js.map +1 -0
  576. package/components/input/number/number.styles.js +93 -0
  577. package/components/input/number/number.styles.js.map +1 -0
  578. package/components/input/radioset/radioset.component.js +147 -0
  579. package/components/input/radioset/radioset.component.js.map +1 -0
  580. package/components/input/radioset/radioset.props.js +20 -0
  581. package/components/input/radioset/radioset.props.js.map +1 -0
  582. package/components/input/radioset/radioset.styles.js +102 -0
  583. package/components/input/radioset/radioset.styles.js.map +1 -0
  584. package/components/input/rating/rating.component.js +155 -0
  585. package/components/input/rating/rating.component.js.map +1 -0
  586. package/components/input/rating/rating.props.js +25 -0
  587. package/components/input/rating/rating.props.js.map +1 -0
  588. package/components/input/rating/rating.styles.js +48 -0
  589. package/components/input/rating/rating.styles.js.map +1 -0
  590. package/components/input/select/select.component.js +303 -0
  591. package/components/input/select/select.component.js.map +1 -0
  592. package/components/input/select/select.props.js +12 -0
  593. package/components/input/select/select.props.js.map +1 -0
  594. package/components/input/select/select.styles.js +178 -0
  595. package/components/input/select/select.styles.js.map +1 -0
  596. package/components/input/slider/slider.component.js +538 -0
  597. package/components/input/slider/slider.component.js.map +1 -0
  598. package/components/input/slider/slider.props.js +20 -0
  599. package/components/input/slider/slider.props.js.map +1 -0
  600. package/components/input/slider/slider.styles.js +95 -0
  601. package/components/input/slider/slider.styles.js.map +1 -0
  602. package/components/input/switch/switch.component.js +99 -0
  603. package/components/input/switch/switch.component.js.map +1 -0
  604. package/components/input/switch/switch.props.js +13 -0
  605. package/components/input/switch/switch.props.js.map +1 -0
  606. package/components/input/switch/switch.styles.js +192 -0
  607. package/components/input/switch/switch.styles.js.map +1 -0
  608. package/components/input/text/text.component.js +132 -0
  609. package/components/input/text/text.component.js.map +1 -0
  610. package/components/input/text/text.props.js +21 -0
  611. package/components/input/text/text.props.js.map +1 -0
  612. package/components/input/text/text.styles.js +130 -0
  613. package/components/input/text/text.styles.js.map +1 -0
  614. package/components/input/textarea/textarea.component.js +88 -0
  615. package/components/input/textarea/textarea.component.js.map +1 -0
  616. package/components/input/textarea/textarea.props.js +15 -0
  617. package/components/input/textarea/textarea.props.js.map +1 -0
  618. package/components/input/textarea/textarea.styles.js +84 -0
  619. package/components/input/textarea/textarea.styles.js.map +1 -0
  620. package/components/input/toggle/toggle.component.js +202 -0
  621. package/components/input/toggle/toggle.component.js.map +1 -0
  622. package/components/input/toggle/toggle.props.js +32 -0
  623. package/components/input/toggle/toggle.props.js.map +1 -0
  624. package/components/input/toggle/toggle.styles.js +97 -0
  625. package/components/input/toggle/toggle.styles.js.map +1 -0
  626. package/components/navigation/appnavbar/appnavbar.component.js +114 -0
  627. package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
  628. package/components/navigation/appnavbar/appnavbar.props.js +22 -0
  629. package/components/navigation/appnavbar/appnavbar.props.js.map +1 -0
  630. package/components/navigation/appnavbar/appnavbar.styles.js +169 -0
  631. package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
  632. package/components/navigation/basenav/basenav.component.js +72 -0
  633. package/components/navigation/basenav/basenav.component.js.map +1 -0
  634. package/components/navigation/basenav/basenav.props.js +18 -0
  635. package/components/navigation/basenav/basenav.props.js.map +1 -0
  636. package/components/navigation/basenav/basenav.styles.js +11 -0
  637. package/components/navigation/basenav/basenav.styles.js.map +1 -0
  638. package/components/navigation/menu/menu.component.js +66 -0
  639. package/components/navigation/menu/menu.component.js.map +1 -0
  640. package/components/navigation/menu/menu.props.js +15 -0
  641. package/components/navigation/menu/menu.props.js.map +1 -0
  642. package/components/navigation/menu/menu.styles.js +70 -0
  643. package/components/navigation/menu/menu.styles.js.map +1 -0
  644. package/components/navigation/navbar/navbar.component.js +78 -0
  645. package/components/navigation/navbar/navbar.component.js.map +1 -0
  646. package/components/navigation/navbar/navbar.props.js +16 -0
  647. package/components/navigation/navbar/navbar.props.js.map +1 -0
  648. package/components/navigation/navbar/navbar.styles.js +41 -0
  649. package/components/navigation/navbar/navbar.styles.js.map +1 -0
  650. package/components/navigation/navitem/navitem.component.js +70 -0
  651. package/components/navigation/navitem/navitem.component.js.map +1 -0
  652. package/components/navigation/navitem/navitem.props.js +19 -0
  653. package/components/navigation/navitem/navitem.props.js.map +1 -0
  654. package/components/navigation/navitem/navitem.styles.js +80 -0
  655. package/components/navigation/navitem/navitem.styles.js.map +1 -0
  656. package/components/navigation/popover/popover.component.js +220 -0
  657. package/components/navigation/popover/popover.component.js.map +1 -0
  658. package/components/navigation/popover/popover.props.js +34 -0
  659. package/components/navigation/popover/popover.props.js.map +1 -0
  660. package/components/navigation/popover/popover.styles.js +92 -0
  661. package/components/navigation/popover/popover.styles.js.map +1 -0
  662. package/components/page/content/content.component.js +16 -0
  663. package/components/page/content/content.component.js.map +1 -0
  664. package/components/page/content/content.props.js +2 -0
  665. package/components/page/content/content.props.js.map +1 -0
  666. package/components/page/content/content.styles.js +13 -0
  667. package/components/page/content/content.styles.js.map +1 -0
  668. package/components/page/left-panel/left-panel.component.js +64 -0
  669. package/components/page/left-panel/left-panel.component.js.map +1 -0
  670. package/components/page/left-panel/left-panel.props.js +12 -0
  671. package/components/page/left-panel/left-panel.props.js.map +1 -0
  672. package/components/page/left-panel/left-panel.styles.js +18 -0
  673. package/components/page/left-panel/left-panel.styles.js.map +1 -0
  674. package/components/page/page-content/page-content.component.js +207 -0
  675. package/components/page/page-content/page-content.component.js.map +1 -0
  676. package/components/page/page-content/page-content.props.js +18 -0
  677. package/components/page/page-content/page-content.props.js.map +1 -0
  678. package/components/page/page-content/page-content.styles.js +20 -0
  679. package/components/page/page-content/page-content.styles.js.map +1 -0
  680. package/components/page/page.component.js +48 -0
  681. package/components/page/page.component.js.map +1 -0
  682. package/components/page/page.props.js +15 -0
  683. package/components/page/page.props.js.map +1 -0
  684. package/components/page/page.styles.js +24 -0
  685. package/components/page/page.styles.js.map +1 -0
  686. package/components/page/partial/partial.component.js +42 -0
  687. package/components/page/partial/partial.component.js.map +1 -0
  688. package/components/page/partial/partial.props.js +2 -0
  689. package/components/page/partial/partial.props.js.map +1 -0
  690. package/components/page/partial/partial.styles.js +18 -0
  691. package/components/page/partial/partial.styles.js.map +1 -0
  692. package/components/page/partial-container/partial-container.component.js +35 -0
  693. package/components/page/partial-container/partial-container.component.js.map +1 -0
  694. package/components/page/partial-container/partial-container.props.js +13 -0
  695. package/components/page/partial-container/partial-container.props.js.map +1 -0
  696. package/components/page/partial-container/partial-container.styles.js +14 -0
  697. package/components/page/partial-container/partial-container.styles.js.map +1 -0
  698. package/components/page/tabbar/curve.js +84 -0
  699. package/components/page/tabbar/curve.js.map +1 -0
  700. package/components/page/tabbar/tabbar.component.js +258 -0
  701. package/components/page/tabbar/tabbar.component.js.map +1 -0
  702. package/components/page/tabbar/tabbar.props.js +29 -0
  703. package/components/page/tabbar/tabbar.props.js.map +1 -0
  704. package/components/page/tabbar/tabbar.styles.js +160 -0
  705. package/components/page/tabbar/tabbar.styles.js.map +1 -0
  706. package/components/prefab/prefab-container.component.js +42 -0
  707. package/components/prefab/prefab-container.component.js.map +1 -0
  708. package/components/prefab/prefab-container.props.js +2 -0
  709. package/components/prefab/prefab-container.props.js.map +1 -0
  710. package/components/prefab/prefab-container.styles.js +16 -0
  711. package/components/prefab/prefab-container.styles.js.map +1 -0
  712. package/components-prism/advanced/carousel/carousel.component.js +322 -0
  713. package/components-prism/advanced/carousel/carousel.component.js.map +1 -0
  714. package/components-prism/advanced/carousel/carousel.props.js +24 -0
  715. package/components-prism/advanced/carousel/carousel.props.js.map +1 -0
  716. package/components-prism/advanced/carousel/carousel.styles.js +179 -0
  717. package/components-prism/advanced/carousel/carousel.styles.js.map +1 -0
  718. package/components-prism/basic/progress-bar/progress-bar.component.js +227 -0
  719. package/components-prism/basic/progress-bar/progress-bar.component.js.map +1 -0
  720. package/components-prism/basic/progress-bar/progress-bar.props.js +20 -0
  721. package/components-prism/basic/progress-bar/progress-bar.props.js.map +1 -0
  722. package/components-prism/basic/progress-bar/progress-bar.styles.js +43 -0
  723. package/components-prism/basic/progress-bar/progress-bar.styles.js.map +1 -0
  724. package/components-prism/basic/progress-circle/progress-circle.component.js +80 -0
  725. package/components-prism/basic/progress-circle/progress-circle.component.js.map +1 -0
  726. package/components-prism/basic/progress-circle/progress-circle.props.js +19 -0
  727. package/components-prism/basic/progress-circle/progress-circle.props.js.map +1 -0
  728. package/components-prism/basic/progress-circle/progress-circle.styles.js +82 -0
  729. package/components-prism/basic/progress-circle/progress-circle.styles.js.map +1 -0
  730. package/components-prism/data/list/list-template/list-template.styles.js +27 -0
  731. package/components-prism/data/list/list-template/list-template.styles.js.map +1 -0
  732. package/components-prism/input/slider/Thumb.js +35 -0
  733. package/components-prism/input/slider/Thumb.js.map +1 -0
  734. package/components-prism/input/slider/slider.component.js +108 -0
  735. package/components-prism/input/slider/slider.component.js.map +1 -0
  736. package/components-prism/input/slider/slider.props.js +20 -0
  737. package/components-prism/input/slider/slider.props.js.map +1 -0
  738. package/components-prism/input/slider/slider.styles.js +135 -0
  739. package/components-prism/input/slider/slider.styles.js.map +1 -0
  740. package/components-prism/input/slider/withSlider.js +339 -0
  741. package/components-prism/input/slider/withSlider.js.map +1 -0
  742. package/core/AppConfig.js +2 -0
  743. package/core/AppConfig.js.map +1 -0
  744. package/core/accessibility.js +195 -0
  745. package/core/accessibility.js.map +1 -0
  746. package/core/advanced-promise-rejection-tracker.js +208 -0
  747. package/core/advanced-promise-rejection-tracker.js.map +1 -0
  748. package/core/asset.provider.js +5 -0
  749. package/core/asset.provider.js.map +1 -0
  750. package/core/auto-layout-host.component.js +31 -0
  751. package/core/auto-layout-host.component.js.map +1 -0
  752. package/core/auto-layout.utils.js +250 -0
  753. package/core/auto-layout.utils.js.map +1 -0
  754. package/core/base.component.js +671 -0
  755. package/core/base.component.js.map +1 -0
  756. package/core/components/error-fallback/error-fallback.component.js +172 -0
  757. package/core/components/error-fallback/error-fallback.component.js.map +1 -0
  758. package/core/components/error-fallback/error-fallback.styles.js +227 -0
  759. package/core/components/error-fallback/error-fallback.styles.js.map +1 -0
  760. package/core/components/floatinglabel.component.js +86 -0
  761. package/core/components/floatinglabel.component.js.map +1 -0
  762. package/core/components/sticky-base.component.js +54 -0
  763. package/core/components/sticky-base.component.js.map +1 -0
  764. package/core/components/sticky-container.component.js +34 -0
  765. package/core/components/sticky-container.component.js.map +1 -0
  766. package/core/components/sticky-container.styles.js +98 -0
  767. package/core/components/sticky-container.styles.js.map +1 -0
  768. package/core/components/sticky-nav.component.js +28 -0
  769. package/core/components/sticky-nav.component.js.map +1 -0
  770. package/core/components/textinput.component.js +226 -0
  771. package/core/components/textinput.component.js.map +1 -0
  772. package/core/components-prism/progress-circle.js +217 -0
  773. package/core/components-prism/progress-circle.js.map +1 -0
  774. package/core/constant.service.js +22 -0
  775. package/core/constant.service.js.map +1 -0
  776. package/core/constants/currency-constants.js +1066 -0
  777. package/core/constants/currency-constants.js.map +1 -0
  778. package/core/currency-constants.js +1065 -0
  779. package/core/currency-constants.js.map +1 -0
  780. package/core/device/av-service.js +8 -0
  781. package/core/device/av-service.js.map +1 -0
  782. package/core/device/calendar-service.js +8 -0
  783. package/core/device/calendar-service.js.map +1 -0
  784. package/core/device/camera-service.js +11 -0
  785. package/core/device/camera-service.js.map +1 -0
  786. package/core/device/contacts-service.js +8 -0
  787. package/core/device/contacts-service.js.map +1 -0
  788. package/core/device/fileupload-service.js +8 -0
  789. package/core/device/fileupload-service.js.map +1 -0
  790. package/core/device/location-service.js +8 -0
  791. package/core/device/location-service.js.map +1 -0
  792. package/core/device/openfile-service.js +10 -0
  793. package/core/device/openfile-service.js.map +1 -0
  794. package/core/device/scan-service.js +11 -0
  795. package/core/device/scan-service.js.map +1 -0
  796. package/core/display.manager.js +5 -0
  797. package/core/display.manager.js.map +1 -0
  798. package/core/error-boundary.component.js +64 -0
  799. package/core/error-boundary.component.js.map +1 -0
  800. package/core/event-notifier.js +69 -0
  801. package/core/event-notifier.js.map +1 -0
  802. package/core/file-extension-types.js +70 -0
  803. package/core/file-extension-types.js.map +1 -0
  804. package/core/fixed-view.component.js +94 -0
  805. package/core/fixed-view.component.js.map +1 -0
  806. package/core/formatters.js +70 -0
  807. package/core/formatters.js.map +1 -0
  808. package/core/global-error-handler.service.js +103 -0
  809. package/core/global-error-handler.service.js.map +1 -0
  810. package/core/i18n.service.js +2 -0
  811. package/core/i18n.service.js.map +1 -0
  812. package/core/if.component.js +35 -0
  813. package/core/if.component.js.map +1 -0
  814. package/core/imageSizeEstimator.js +51 -0
  815. package/core/imageSizeEstimator.js.map +1 -0
  816. package/core/injector.js +27 -0
  817. package/core/injector.js.map +1 -0
  818. package/core/key.extractor.js +21 -0
  819. package/core/key.extractor.js.map +1 -0
  820. package/core/logger.js +123 -0
  821. package/core/logger.js.map +1 -0
  822. package/core/modal.service.js +5 -0
  823. package/core/modal.service.js.map +1 -0
  824. package/core/navigation.service.js +70 -0
  825. package/core/navigation.service.js.map +1 -0
  826. package/core/network.service.js +327 -0
  827. package/core/network.service.js.map +1 -0
  828. package/core/partial.service.js +5 -0
  829. package/core/partial.service.js.map +1 -0
  830. package/core/props.provider.js +88 -0
  831. package/core/props.provider.js.map +1 -0
  832. package/core/responsive.utils.js +51 -0
  833. package/core/responsive.utils.js.map +1 -0
  834. package/core/screen-capture-protection.service.js +5 -0
  835. package/core/screen-capture-protection.service.js.map +1 -0
  836. package/core/scroll-view.component.js +52 -0
  837. package/core/scroll-view.component.js.map +1 -0
  838. package/core/secure-storage.service.js +55 -0
  839. package/core/secure-storage.service.js.map +1 -0
  840. package/core/security.service.js +5 -0
  841. package/core/security.service.js.map +1 -0
  842. package/core/spinner.service.js +5 -0
  843. package/core/spinner.service.js.map +1 -0
  844. package/core/sticky-view.component.js +51 -0
  845. package/core/sticky-view.component.js.map +1 -0
  846. package/core/sticky-wrapper.js +133 -0
  847. package/core/sticky-wrapper.js.map +1 -0
  848. package/core/storage.service.js +38 -0
  849. package/core/storage.service.js.map +1 -0
  850. package/core/tappable.component.js +163 -0
  851. package/core/tappable.component.js.map +1 -0
  852. package/core/testid.provider.js +5 -0
  853. package/core/testid.provider.js.map +1 -0
  854. package/core/toast.service.js +5 -0
  855. package/core/toast.service.js.map +1 -0
  856. package/core/ui-preferences.context.js +10 -0
  857. package/core/ui-preferences.context.js.map +1 -0
  858. package/core/utils.js +867 -0
  859. package/core/utils.js.map +1 -0
  860. package/core/viewport.js +45 -0
  861. package/core/viewport.js.map +1 -0
  862. package/core/wm-component-tree.js +58 -0
  863. package/core/wm-component-tree.js.map +1 -0
  864. package/gestures/carousel-swipe.animation.js +225 -0
  865. package/gestures/carousel-swipe.animation.js.map +1 -0
  866. package/gestures/swipe.animation.js +220 -0
  867. package/gestures/swipe.animation.js.map +1 -0
  868. package/gestures-prism/carousel.flatlist.js +349 -0
  869. package/gestures-prism/carousel.flatlist.js.map +1 -0
  870. package/index.js +2 -0
  871. package/index.js.map +1 -0
  872. package/npm-shrinkwrap.json +26212 -0
  873. package/package-lock.json +26212 -0
  874. package/package.json +291 -0
  875. package/runtime/App.js +763 -0
  876. package/runtime/App.js.map +1 -0
  877. package/runtime/App.navigator.js +113 -0
  878. package/runtime/App.navigator.js.map +1 -0
  879. package/runtime/base-customwidget.component.js +52 -0
  880. package/runtime/base-customwidget.component.js.map +1 -0
  881. package/runtime/base-fragment.component.js +418 -0
  882. package/runtime/base-fragment.component.js.map +1 -0
  883. package/runtime/base-page.component.js +233 -0
  884. package/runtime/base-page.component.js.map +1 -0
  885. package/runtime/base-partial.component.js +63 -0
  886. package/runtime/base-partial.component.js.map +1 -0
  887. package/runtime/base-prefab.component.js +87 -0
  888. package/runtime/base-prefab.component.js.map +1 -0
  889. package/runtime/lib-patch.js +25 -0
  890. package/runtime/lib-patch.js.map +1 -0
  891. package/runtime/memo.component.js +44 -0
  892. package/runtime/memo.component.js.map +1 -0
  893. package/runtime/navigator/drawer.navigator.js +41 -0
  894. package/runtime/navigator/drawer.navigator.js.map +1 -0
  895. package/runtime/navigator/stack.navigator.js +78 -0
  896. package/runtime/navigator/stack.navigator.js.map +1 -0
  897. package/runtime/platform.api.js +7 -0
  898. package/runtime/platform.api.js.map +1 -0
  899. package/runtime/services/app-display-manager.service.js +52 -0
  900. package/runtime/services/app-display-manager.service.js.map +1 -0
  901. package/runtime/services/app-i18n.service.js +89 -0
  902. package/runtime/services/app-i18n.service.js.map +1 -0
  903. package/runtime/services/app-modal.service.js +73 -0
  904. package/runtime/services/app-modal.service.js.map +1 -0
  905. package/runtime/services/app-security.service.js +256 -0
  906. package/runtime/services/app-security.service.js.map +1 -0
  907. package/runtime/services/app-spinner.service.js +74 -0
  908. package/runtime/services/app-spinner.service.js.map +1 -0
  909. package/runtime/services/app-toast.service.js +60 -0
  910. package/runtime/services/app-toast.service.js.map +1 -0
  911. package/runtime/services/device/calendar-service.js +95 -0
  912. package/runtime/services/device/calendar-service.js.map +1 -0
  913. package/runtime/services/device/camera-service.js +377 -0
  914. package/runtime/services/device/camera-service.js.map +1 -0
  915. package/runtime/services/device/contacts-service.js +34 -0
  916. package/runtime/services/device/contacts-service.js.map +1 -0
  917. package/runtime/services/device/location-service.js +16 -0
  918. package/runtime/services/device/location-service.js.map +1 -0
  919. package/runtime/services/device/permission-service.js +5 -0
  920. package/runtime/services/device/permission-service.js.map +1 -0
  921. package/runtime/services/device/permissions.js +45 -0
  922. package/runtime/services/device/permissions.js.map +1 -0
  923. package/runtime/services/device/scan-service.js +163 -0
  924. package/runtime/services/device/scan-service.js.map +1 -0
  925. package/runtime/services/partial.service.js +26 -0
  926. package/runtime/services/partial.service.js.map +1 -0
  927. package/runtime/services/webprocess.service.js +107 -0
  928. package/runtime/services/webprocess.service.js.map +1 -0
  929. package/runtime/watcher.js +147 -0
  930. package/runtime/watcher.js.map +1 -0
  931. package/styles/MediaQueryList.js +19 -0
  932. package/styles/MediaQueryList.js.map +1 -0
  933. package/styles/background.component.js +317 -0
  934. package/styles/background.component.js.map +1 -0
  935. package/styles/calc.js +165 -0
  936. package/styles/calc.js.map +1 -0
  937. package/styles/color-mix.js +82 -0
  938. package/styles/color-mix.js.map +1 -0
  939. package/styles/style-prop.validator.js +467 -0
  940. package/styles/style-prop.validator.js.map +1 -0
  941. package/styles/style-props.js +105 -0
  942. package/styles/style-props.js.map +1 -0
  943. package/styles/theme.js +725 -0
  944. package/styles/theme.js.map +1 -0
  945. package/styles/theme.variables.js +444 -0
  946. package/styles/theme.variables.js.map +1 -0
  947. package/variables/base-variable.js +125 -0
  948. package/variables/base-variable.js.map +1 -0
  949. package/variables/device/calendar/create-event.operation.js +53 -0
  950. package/variables/device/calendar/create-event.operation.js.map +1 -0
  951. package/variables/device/calendar/delete-event.operation.js +15 -0
  952. package/variables/device/calendar/delete-event.operation.js.map +1 -0
  953. package/variables/device/calendar/get-events.operation.js +15 -0
  954. package/variables/device/calendar/get-events.operation.js.map +1 -0
  955. package/variables/device/camera/capture-image.operation.js +13 -0
  956. package/variables/device/camera/capture-image.operation.js.map +1 -0
  957. package/variables/device/camera/capture-video.operation.js +12 -0
  958. package/variables/device/camera/capture-video.operation.js.map +1 -0
  959. package/variables/device/contacts/get-contacts.operation.js +15 -0
  960. package/variables/device/contacts/get-contacts.operation.js.map +1 -0
  961. package/variables/device/device/app-info.operation.js +13 -0
  962. package/variables/device/device/app-info.operation.js.map +1 -0
  963. package/variables/device/device/current-geo-position.operation.js +15 -0
  964. package/variables/device/device/current-geo-position.operation.js.map +1 -0
  965. package/variables/device/device/device-info.operation.js +12 -0
  966. package/variables/device/device/device-info.operation.js.map +1 -0
  967. package/variables/device/device/network-info.operation.js +33 -0
  968. package/variables/device/device/network-info.operation.js.map +1 -0
  969. package/variables/device/device/vibrate.operation.js +8 -0
  970. package/variables/device/device/vibrate.operation.js.map +1 -0
  971. package/variables/device/file/open-file.operation.js +71 -0
  972. package/variables/device/file/open-file.operation.js.map +1 -0
  973. package/variables/device/file/upload-file.operation.js +66 -0
  974. package/variables/device/file/upload-file.operation.js.map +1 -0
  975. package/variables/device/operation.provider.js +11 -0
  976. package/variables/device/operation.provider.js.map +1 -0
  977. package/variables/device/scan/scan.operation.js +15 -0
  978. package/variables/device/scan/scan.operation.js.map +1 -0
  979. package/variables/device-variable.js +28 -0
  980. package/variables/device-variable.js.map +1 -0
  981. package/variables/http.service.js +84 -0
  982. package/variables/http.service.js.map +1 -0
  983. package/variables/live-variable.js +130 -0
  984. package/variables/live-variable.js.map +1 -0
  985. package/variables/model-variable.js +47 -0
  986. package/variables/model-variable.js.map +1 -0
  987. package/variables/service-variable.js +143 -0
  988. package/variables/service-variable.js.map +1 -0
  989. package/variables/utils/dataset-util.js +139 -0
  990. package/variables/utils/dataset-util.js.map +1 -0
  991. package/variables/utils/inflight-queue.js +114 -0
  992. package/variables/utils/inflight-queue.js.map +1 -0
  993. package/variables/utils/variable.constants.js +22 -0
  994. package/variables/utils/variable.constants.js.map +1 -0
  995. package/variables/utils/variable.utils.js +189 -0
  996. package/variables/utils/variable.utils.js.map +1 -0
  997. package/wm-namespace.js +15 -0
  998. package/wm-namespace.js.map +1 -0
@@ -0,0 +1,51 @@
1
+ import _viewPort from './viewport';
2
+ import { getBreakPointValue } from '../styles/theme';
3
+ const parseToNumberValue = name => {
4
+ return parseInt(getBreakPointValue(name).replace('px', ''));
5
+ };
6
+
7
+ /**
8
+ * Determines the current responsive breakpoint based on viewport width and pixel ratio
9
+ * @returns The current breakpoint ('xs' | 'sm' | 'md' | 'lg')
10
+ *
11
+ */
12
+ export const getCurrentBreakpoint = () => {
13
+ const width = _viewPort.width;
14
+ if (width >= parseToNumberValue('MIN_LARGE_DEVICE')) {
15
+ return 'lg';
16
+ } else if (width >= parseToNumberValue('MIN_MEDIUM_DEVICE')) {
17
+ return 'md';
18
+ } else if (width >= parseToNumberValue('MIN_SMALL_DEVICE')) {
19
+ return 'sm';
20
+ } else {
21
+ return 'xs';
22
+ }
23
+ };
24
+
25
+ /**
26
+ * Gets responsive value for current breakpoint with safe mobile-first fallback
27
+ * The fallback order is: current breakpoint -> smaller breakpoints -> xs (ultimate fallback)
28
+ *
29
+ * @param responsiveConfig Object containing values for each breakpoint (xs, sm, md, lg)
30
+ * @param currentBreakpoint Current breakpoint (optional, will be auto-detected if not provided)
31
+ * @returns The value for current breakpoint or fallback value
32
+ *
33
+ */
34
+ export const getNumberOfColumnsFromResponsiveConfig = (responsiveConfig, currentBreakpoint, fallback = false) => {
35
+ var _ref;
36
+ const breakpoint = currentBreakpoint || getCurrentBreakpoint();
37
+ let value = responsiveConfig[breakpoint];
38
+ if (!value && fallback) {
39
+ const fallbackOrder = ['lg', 'md', 'sm', 'xs'];
40
+ const currentIndex = fallbackOrder.indexOf(breakpoint);
41
+ for (let i = currentIndex - 1; i >= 0; i--) {
42
+ const fallbackBreakpoint = fallbackOrder[i];
43
+ if (responsiveConfig[fallbackBreakpoint]) {
44
+ value = responsiveConfig[fallbackBreakpoint];
45
+ break;
46
+ }
47
+ }
48
+ }
49
+ return (_ref = value !== null && value !== void 0 ? value : responsiveConfig.xs) !== null && _ref !== void 0 ? _ref : 1;
50
+ };
51
+ //# sourceMappingURL=responsive.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_viewPort","getBreakPointValue","parseToNumberValue","name","parseInt","replace","getCurrentBreakpoint","width","getNumberOfColumnsFromResponsiveConfig","responsiveConfig","currentBreakpoint","fallback","_ref","breakpoint","value","fallbackOrder","currentIndex","indexOf","i","fallbackBreakpoint","xs"],"sources":["responsive.utils.ts"],"sourcesContent":["import _viewPort from './viewport';\nimport { getBreakPointValue } from '../styles/theme';\n\nexport type ResponsiveBreakpoint = 'xs' | 'sm' | 'md' | 'lg';\n\nexport type ResponsiveConfig<T> = {\n xs?: T;\n sm?: T;\n md?: T;\n lg?: T;\n};\n\nconst parseToNumberValue = (name: string) => {\n return parseInt(getBreakPointValue(name).replace('px', ''));\n}\n\n/**\n * Determines the current responsive breakpoint based on viewport width and pixel ratio\n * @returns The current breakpoint ('xs' | 'sm' | 'md' | 'lg')\n * \n */\nexport const getCurrentBreakpoint = (): ResponsiveBreakpoint => {\n const width = _viewPort.width;\n if (width >= parseToNumberValue('MIN_LARGE_DEVICE')) {\n return 'lg';\n } else if (width >= parseToNumberValue('MIN_MEDIUM_DEVICE')) {\n return 'md';\n } else if (width >= parseToNumberValue('MIN_SMALL_DEVICE')) {\n return 'sm';\n } else {\n return 'xs';\n }\n};\n\n/**\n * Gets responsive value for current breakpoint with safe mobile-first fallback\n * The fallback order is: current breakpoint -> smaller breakpoints -> xs (ultimate fallback)\n * \n * @param responsiveConfig Object containing values for each breakpoint (xs, sm, md, lg)\n * @param currentBreakpoint Current breakpoint (optional, will be auto-detected if not provided)\n * @returns The value for current breakpoint or fallback value\n * \n */\nexport const getNumberOfColumnsFromResponsiveConfig = (\n responsiveConfig: ResponsiveConfig<number>,\n currentBreakpoint?: ResponsiveBreakpoint,\n fallback: boolean = false\n): number => {\n const breakpoint = currentBreakpoint || getCurrentBreakpoint();\n\n let value = responsiveConfig[breakpoint];\n \n if (!value && fallback) {\n const fallbackOrder = ['lg', 'md', 'sm', 'xs'];\n const currentIndex = fallbackOrder.indexOf(breakpoint);\n \n for (let i = currentIndex - 1; i >= 0; i--) {\n const fallbackBreakpoint = fallbackOrder[i] as keyof typeof responsiveConfig;\n if (responsiveConfig[fallbackBreakpoint]) {\n value = responsiveConfig[fallbackBreakpoint];\n break;\n }\n }\n }\n \n return value ?? responsiveConfig.xs ?? 1;\n};\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,SAASC,kBAAkB,QAAQ,iBAAiB;AAWpD,MAAMC,kBAAkB,GAAIC,IAAY,IAAK;EAC3C,OAAOC,QAAQ,CAACH,kBAAkB,CAACE,IAAI,CAAC,CAACE,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AAC7D,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,oBAAoB,GAAGA,CAAA,KAA4B;EAC9D,MAAMC,KAAK,GAAGP,SAAS,CAACO,KAAK;EAC7B,IAAIA,KAAK,IAAIL,kBAAkB,CAAC,kBAAkB,CA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ext(null);
3
+ export const ScreenCaptureProtectionProvider = ScreenCaptureProtectionContext.Provider;
4
+ export const ScreenCaptureProtectionConsumer = ScreenCaptureProtectionContext.Consumer;
5
+ //# sourceMappingURL=screen-capture-protection.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createContext","ScreenCaptureProtectionContext","ScreenCaptureProtectionProvider","Provider","ScreenCaptureProtectionConsumer","Consumer"],"sources":["screen-capture-protection.service.ts"],"sourcesContent":["import React, { createContext } from 'react';\n\nexport interface ScreenCaptureProtectionContextType {\n enableProtection: () => void;\n disableProtection: () => void;\n}\n\nconst ScreenCaptureProtectionContext = createContext<ScreenCaptureProtectionContextType | null>(null);\n\nexport const ScreenCaptureProtectionProvider = ScreenCaptureProtectionContext.Provider;\nexport const ScreenCaptureProtectionConsumer = ScreenCaptureProtectionContext.Consumer;"],"mappings":"AAAA,SAAgBA,aAAa,QAAQ,OAAO;AAO5C,MAAMC,8BAA8B,gBAAGD,aAAa,CAA4C,IAAI,CAAC;AAErG,OAAO,MAAME,+BAA+B,GAAGD,8BAA8B,CAACE,QAAQ;AACtF,OAAO,MAAMC,+BAA+B,GAAGH,8BAA8B,CAACI,QAAQ","ignoreList":[]}
@@ -0,0 +1,52 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
4
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
+ import React from 'react';
6
+ import { ScrollView as RNScrollView, View } from 'react-native';
7
+ const ScrollViewContext = /*#__PURE__*/React.createContext(null);
8
+ export const ScrollViewProvider = ScrollViewContext.Provider;
9
+ export const ScrollViewConsumer = ScrollViewContext.Consumer;
10
+ // TODO: implement scroll view that handles FlatList.
11
+ export class ScrollView extends React.Component {
12
+ constructor(props) {
13
+ super(props);
14
+ _defineProperty(this, "instance", null);
15
+ this.state = {
16
+ scrollEnabled: true
17
+ };
18
+ }
19
+ enableScroll() {
20
+ this.setState({
21
+ scrollEnabled: true
22
+ });
23
+ }
24
+ disableScroll() {
25
+ this.setState({
26
+ scrollEnabled: false
27
+ });
28
+ }
29
+ isScrollEnabled() {
30
+ return this.state.scrollEnabled;
31
+ }
32
+ get contentOffset() {
33
+ return this.instance.contentOffset;
34
+ }
35
+ render() {
36
+ return /*#__PURE__*/React.createElement(ScrollViewProvider, {
37
+ value: this
38
+ }, /*#__PURE__*/React.createElement(View, {
39
+ onStartShouldSetResponderCapture: () => {
40
+ this.setState({
41
+ scrollEnabled: true
42
+ });
43
+ return true;
44
+ }
45
+ }, /*#__PURE__*/React.createElement(RNScrollView, _extends({
46
+ ref: scrollRef => this.instance = scrollRef
47
+ }, this.props, {
48
+ scrollEnabled: this.state.scrollEnabled
49
+ }), this.props.children)));
50
+ }
51
+ }
52
+ //# sourceMappingURL=scroll-view.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","ScrollView","RNScrollView","View","ScrollViewContext","createContext","ScrollViewProvider","Provider","ScrollViewConsumer","Consumer","Component","constructor","props","_defineProperty","state","scrollEnabled","enableScroll","setState","disableScroll","isScrollEnabled","contentOffset","instance","render","createElement","value","onStartShouldSetResponderCapture","_extends","ref","scrollRef","children"],"sources":["scroll-view.component.tsx"],"sourcesContent":["import React from 'react';\nimport { ScrollView as RNScrollView, ScrollViewProps as RNScrollViewProps, View } from 'react-native';\n\nexport interface ScrollViewProps extends RNScrollViewProps {\n\n}\n\nexport interface ScrollViewState {\n scrollEnabled: boolean;\n}\n\nconst ScrollViewContext = React.createContext<ScrollView>(null as any);\n\nexport const ScrollViewProvider = ScrollViewContext.Provider;\nexport const ScrollViewConsumer = ScrollViewContext.Consumer;\n// TODO: implement scroll view that handles FlatList.\nexport class ScrollView extends React.Component<ScrollViewProps, ScrollViewState> {\n\n public instance: ScrollView = null as any;\n\n constructor(props: ScrollViewProps) {\n super(props);\n this.state = {\n scrollEnabled: true\n } as ScrollViewState;\n }\n\n enableScroll() {\n this.setState({\n scrollEnabled: true\n });\n }\n\n disableScroll() {\n this.setState({\n scrollEnabled: false\n });\n }\n\n isScrollEnabled() {\n return this.state.scrollEnabled;\n }\n\n get contentOffset(): number {\n return this.instance.contentOffset;\n }\n\n render() {\n return (\n <ScrollViewProvider value={this}>\n <View onStartShouldSetResponderCapture={() => {\n this.setState({\n scrollEnabled: true\n });\n return true;\n }}>\n <RNScrollView\n ref={scrollRef => (this.instance = scrollRef as any)}\n {...this.props} scrollEnabled={this.state.scrollEnabled}>\n {this.props.children}\n </RNScrollView>\n </View>\n </ScrollViewProvider>\n ); \n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,IAAIC,YAAY,EAAwCC,IAAI,QAAQ,cAAc;AAUrG,MAAMC,iBAAiB,gBAAGJ,KAAK,CAACK,aAAa,CAAa,IAAW,CAAC;AAEtE,OAAO,MAAMC,kBAAkB,GAAGF,iBAAiB,CAACG,QAAQ;AAC5D,OAAO,MAAMC,kBAAkB,GAAGJ,iBAAiB,CAACK,QAAQ;AAC5D;AACA,OAAO,MAAMR,UAAU,SAASD,KAAK,CAACU,SAAS,CAAmC;EAI9EC,WAAWA,CAACC,KAAsB,EAAE;IAChC,KAAK,CAACA,KAAK,CAAC;IAACC,eAAA,mBAHa,IAAI;IAI9B,IAAI,CAACC,KAAK,GAAG;MACTC,aAAa,EAAE;IACnB,CAAoB;EACxB;EAEAC,YAAYA,CAAA,EAAG;IACX,IAAI,CAACC,QAAQ,CAAC;MACVF,aAAa,EAAE;IACnB,CAAC,CAAC;EACN;EAEAG,aAAaA,CAAA,EAAG;IACZ,IAAI,CAACD,QAAQ,CAAC;MACVF,aAAa,EAAE;IACnB,CAAC,CAAC;EACN;EAEAI,eAAeA,CAAA,EAAG;IACd,OAAO,IAAI,CAACL,KAAK,CAACC,aAAa;EACnC;EAEA,IAAIK,aAAaA,CAAA,EAAW;IACxB,OAAO,IAAI,CAACC,QAAQ,CAACD,aAAa;EACtC;EAEAE,MAAMA,CAAA,EAAG;IACL,oBACItB,KAAA,CAAAuB,aAAA,CAACjB,kBAAkB;MAACkB,KAAK,EAAE;IAAK,gBAC5BxB,KAAA,CAAAuB,aAAA,CAACpB,IAAI;MAACsB,gCAAgC,EAAEA,CAAA,KAAM;QAC1C,IAAI,CAACR,QAAQ,CAAC;UACVF,aAAa,EAAE;QACnB,CAAC,CAAC;QACF,OAAO,IAAI;MACf;IAAE,gBACEf,KAAA,CAAAuB,aAAA,CAACrB,YAAY,EAAAwB,QAAA;MACTC,GAAG,EAAEC,SAAS,IAAK,IAAI,CAACP,QAAQ,GAAGO;IAAkB,GACjD,IAAI,CAAChB,KAAK;MAAEG,aAAa,EAAE,IAAI,CAACD,KAAK,CAACC;IAAc,IACvD,IAAI,CAACH,KAAK,CAACiB,QACF,CACZ,CACU,CAAC;EAE7B;AACJ","ignoreList":[]}
@@ -0,0 +1,55 @@
1
+ import { Platform } from 'react-native';
2
+ import * as SecureStore from 'expo-secure-store';
3
+ import { StorageService } from './storage.service';
4
+ export class SecureStorageService extends StorageService {
5
+ async getItem(key, callback) {
6
+ if (Platform.OS === 'web') {
7
+ return super.getItem(key, callback);
8
+ }
9
+ try {
10
+ const value = await SecureStore.getItemAsync(this.getKey(key));
11
+ callback === null || callback === void 0 || callback(null, value);
12
+ return value;
13
+ } catch (error) {
14
+ console.error('Error getting secure item:', error);
15
+ callback === null || callback === void 0 || callback(error, null);
16
+ return null;
17
+ }
18
+ }
19
+ async setItem(key, value, callback) {
20
+ if (Platform.OS === 'web') {
21
+ return super.setItem(key, value, callback);
22
+ }
23
+ try {
24
+ await SecureStore.setItemAsync(this.getKey(key), value);
25
+ callback === null || callback === void 0 || callback(null);
26
+ } catch (error) {
27
+ console.error('Error setting secure item:', error);
28
+ callback === null || callback === void 0 || callback(error);
29
+ throw error;
30
+ }
31
+ }
32
+ async removeItem(key, callback) {
33
+ if (Platform.OS === 'web') {
34
+ return super.removeItem(key, callback);
35
+ }
36
+ try {
37
+ await SecureStore.deleteItemAsync(this.getKey(key));
38
+ callback === null || callback === void 0 || callback(null);
39
+ } catch (error) {
40
+ console.error('Error removing secure item:', error);
41
+ callback === null || callback === void 0 || callback(error);
42
+ throw error;
43
+ }
44
+ }
45
+ async isSecureStorageAvailable() {
46
+ if (Platform.OS === 'web') return false;
47
+ try {
48
+ return await SecureStore.isAvailableAsync();
49
+ } catch {
50
+ return false;
51
+ }
52
+ }
53
+ }
54
+ export default new SecureStorageService();
55
+ //# sourceMappingURL=secure-storage.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Platform","SecureStore","StorageService","SecureStorageService","getItem","key","callback","OS","value","getItemAsync","getKey","error","console","setItem","setItemAsync","removeItem","deleteItemAsync","isSecureStorageAvailable","isAvailableAsync"],"sources":["secure-storage.service.ts"],"sourcesContent":["import { Platform } from 'react-native';\nimport * as SecureStore from 'expo-secure-store';\nimport { StorageService } from './storage.service';\n\nexport class SecureStorageService extends StorageService {\n async getItem(key: string, callback?: (error?: Error | null, result?: string | null) => void): Promise<string | null> {\n if (Platform.OS === 'web') {\n return super.getItem(key, callback);\n }\n try {\n const value = await SecureStore.getItemAsync(this.getKey(key));\n callback?.(null, value);\n return value;\n } catch (error) {\n console.error('Error getting secure item:', error);\n callback?.(error as Error, null);\n return null;\n }\n }\n\n async setItem(key: string, value: string, callback?: (error?: Error | null) => void): Promise<void> {\n if (Platform.OS === 'web') {\n return super.setItem(key, value, callback);\n }\n try {\n await SecureStore.setItemAsync(this.getKey(key), value);\n callback?.(null);\n } catch (error) {\n console.error('Error setting secure item:', error);\n callback?.(error as Error);\n throw error;\n }\n }\n\n async removeItem(key: string, callback?: (error?: Error | null) => void): Promise<void> {\n if (Platform.OS === 'web') {\n return super.removeItem(key, callback);\n }\n try {\n await SecureStore.deleteItemAsync(this.getKey(key));\n callback?.(null);\n } catch (error) {\n console.error('Error removing secure item:', error);\n callback?.(error as Error);\n throw error;\n }\n }\n\n async isSecureStorageAvailable(): Promise<boolean> {\n if (Platform.OS === 'web') return false;\n try {\n return await SecureStore.isAvailableAsync();\n } catch {\n return false;\n }\n }\n}\n\nexport default new SecureStorageService();\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,OAAO,KAAKC,WAAW,MAAM,mBAAmB;AAChD,SAASC,cAAc,QAAQ,mBAAmB;AAElD,OAAO,MAAMC,oBAAoB,SAASD,cAAc,CAAC;EACvD,MAAME,OAAOA,CAACC,GAAW,EAAEC,QAAiE,EAA0B;IACpH,IAAIN,QAAQ,CAACO,EAAE,KAAK,KAAK,EAAE;MACzB,OAAO,KAAK,CAACH,OAAO,CAACC,GAAG,EAAEC,QAAQ,CAAC;IACrC;IACA,IAAI;MACF,MAAME,KAAK,GAAG,MAAMP,WAAW,CAACQ,YAAY,CAAC,IAAI,CAACC,MAAM,CAACL,GAAG,CAAC,CAAC;MAC9DC,QAAQ,aAARA,QAAQ,eAARA,QAAQ,CAAG,IAAI,EAAEE,KAAK,CAAC;MACvB,OAAOA,KAAK;IACd,CAAC,CAAC,OAAOG,KAAK,EAAE;MACdC,OAAO,CAACD,KAAK,CAAC,4BAA4B,EAAEA,KAAK,CAAC;MAClDL,QAAQ,aAARA,QAAQ,eAARA,QAAQ,CAAGK,KAAK,EAAW,IAAI,CAAC;MAChC,OAAO,IAAI;IACb;EACF;EAEA,MAAME,OAAOA,CAACR,GAAW,EAAEG,KAAa,EAAEF,QAAy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If,oBAAoB,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ const SecurityContext = /*#__PURE__*/React.createContext(null);
3
+ export const SecurityProvider = SecurityContext.Provider;
4
+ export const SecurityConsumer = SecurityContext.Consumer;
5
+ //# sourceMappingURL=security.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","SecurityContext","createContext","SecurityProvider","Provider","SecurityConsumer","Consumer"],"sources":["security.service.ts"],"sourcesContent":["import React from 'react';\n\nexport interface SecurityOptions {}\n\nexport interface SecurityService {\n isLoggedIn: Boolean;\n loggedInUser: any;\n appLogin: (options: SecurityOptions, success?: any, failure?: any) => any;\n appLogout: (options: any, success?: any, failure?: any) => any;\n navigateToLandingPage: (data: any) => any;\n}\n\nconst SecurityContext = React.createContext<SecurityService>(null as any);\n\nexport const SecurityProvider = SecurityContext.Provider;\nexport const SecurityConsumer = SecurityContext.Consumer;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAYzB,MAAMC,eAAe,gBAAGD,KAAK,CAACE,aAAa,CAAkB,IAAW,CAAC;AAEzE,OAAO,MAAMC,gBAAgB,GAAGF,eAAe,CAACG,QAAQ;AACxD,OAAO,MAAMC,gBAAgB,GAAGJ,eAAe,CAACK,QAAQ","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ const SpinnerContext = /*#__PURE__*/React.createContext(null);
3
+ export const SpinnerProvider = SpinnerContext.Provider;
4
+ export const SpinnerConsumer = SpinnerContext.Consumer;
5
+ //# sourceMappingURL=spinner.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","SpinnerContext","createContext","SpinnerProvider","Provider","SpinnerConsumer","Consumer"],"sources":["spinner.service.ts"],"sourcesContent":["import React from 'react';\n\nexport interface DisplayOptions {\n content?: React.ReactNode;\n message?: string;\n spinner?: any;\n}\n\nexport interface SpinnerService {\n show: (options: DisplayOptions) => any;\n hide: (options: DisplayOptions) => any;\n}\n\nconst SpinnerContext = React.createContext<SpinnerService>(null as any);\n\nexport const SpinnerProvider = SpinnerContext.Provider;\nexport const SpinnerConsumer = SpinnerContext.Consumer;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAazB,MAAMC,cAAc,gBAAGD,KAAK,CAACE,aAAa,CAAiB,IAAW,CAAC;AAEvE,OAAO,MAAMC,eAAe,GAAGF,cAAc,CAACG,QAAQ;AACtD,OAAO,MAAMC,eAAe,GAAGJ,cAAc,CAACK,QAAQ","ignoreList":[]}
@@ -0,0 +1,51 @@
1
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
+ import React from "react";
5
+ import Animated from "react-native-reanimated";
6
+ import { StickyWrapper } from "./sticky-wrapper";
7
+ // StyickyComponentContext is used for the UI, stickyNav & stickyContainer components will be attached here.
8
+ export const StickyComponentsContext = /*#__PURE__*/React.createContext(null);
9
+ export class StickyViewComponents extends React.Component {
10
+ constructor(...args) {
11
+ super(...args);
12
+ _defineProperty(this, "children", new Map());
13
+ _defineProperty(this, "id", 0);
14
+ }
15
+ add(c, n) {
16
+ this.children.set(c, n);
17
+ setTimeout(() => this.setState({
18
+ id: ++this.id
19
+ }));
20
+ }
21
+ remove(c) {
22
+ this.children.delete(c);
23
+ setTimeout(() => this.setState({
24
+ id: ++this.id
25
+ }));
26
+ }
27
+ render() {
28
+ return /*#__PURE__*/React.createElement(StickyComponentsContext.Provider, {
29
+ value: this
30
+ }, /*#__PURE__*/React.createElement(StickyWrapper, {
31
+ hasAppnavbar: this.props.hasAppnavbar,
32
+ onscroll: this.props.onscroll,
33
+ notifier: this.props.notifier
34
+ }, this.props.children, /*#__PURE__*/React.createElement(Animated.View, {
35
+ style: {
36
+ position: 'absolute',
37
+ width: '100%',
38
+ zIndex: 10
39
+ },
40
+ pointerEvents: 'box-none'
41
+ }, Array.from(this.children.entries()).map(([view, node]) => {
42
+ var _element$props;
43
+ const element = node;
44
+ return /*#__PURE__*/React.cloneElement(element, {
45
+ key: `sticky-${view.id}`,
46
+ style: (_element$props = element.props) === null || _element$props === void 0 ? void 0 : _element$props.style
47
+ });
48
+ }))));
49
+ }
50
+ }
51
+ //# sourceMappingURL=sticky-view.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Animated","StickyWrapper","StickyComponentsContext","createContext","StickyViewComponents","Component","constructor","args","_defineProperty","Map","add","c","n","children","set","setTimeout","setState","id","remove","delete","render","createElement","Provider","value","hasAppnavbar","props","onscroll","notifier","View","style","position","width","zIndex","pointerEvents","Array","from","entries","map","view","node","_element$props","element","cloneElement","key"],"sources":["sticky-view.component.tsx"],"sourcesContent":["import React, {\n ReactNode,\n useContext,\n RefObject,\n Dispatch,\n SetStateAction,\n } from \"react\";\nimport { ViewStyle, NativeSyntheticEvent, NativeScrollEvent, LayoutRectangle } from \"react-native\";\nimport Animated, {\n useSharedValue,\n useAnimatedStyle,\n useAnimatedScrollHandler,\n runOnJS,\n ReanimatedEvent,\n ScrollEvent,\n AnimatedStyle,\n} from \"react-native-reanimated\";\nimport { BaseComponent, BaseComponentState, BaseProps, BaseStyles } from \"./base.component\";\nimport { SharedValue } from 'react-native-reanimated';\nimport EventNotifier from \"./event-notifier\";\nimport { useSafeAreaInsets } from \"react-native-safe-area-context\";\nimport AppConfig from '@wavemaker-ai/app-rn-runtime/core/AppConfig';\nimport injector from '@wavemaker-ai/app-rn-runtime/core/injector';\nimport { StickyBaseView } from \"./components/sticky-base.component\";\nimport { StickyWrapper } from \"./sticky-wrapper\";\n\nexport interface StickyViewComponentsProps {\n stickyNavAnimateStyle?: AnimatedStyle;\n stickyContainerAnimateStyle?: AnimatedStyle;\n children?: ReactNode;\n hasAppnavbar?: boolean;\n onscroll?: string;\n notifier: EventNotifier;\n}\n\n// StyickyComponentContext is used for the UI, stickyNav & stickyContainer components will be attached here.\nexport const StickyComponentsContext = React.createContext<StickyViewComponents>(null as any);\n\nexport class StickyViewComponents extends React.Component<StickyViewComponentsProps, any, any> {\n children: Map<StickyBaseView, React.ReactNode> = new Map();\n id = 0;\n\n add(c: StickyBaseView, n: React.ReactNode) {\n this.children.set(c, n);\n setTimeout(() => this.setState({ id: ++this.id }));\n }\n\n remove(c: StickyBaseView) {\n this.children.delete(c);\n setTimeout(() => this.setState({ id: ++this.id }));\n }\n\n render() {\n return (\n <StickyComponentsContext.Provider value={this}>\n <StickyWrapper hasAppnavbar={this.props.hasAppnavbar} onscroll={this.props.onscroll} notifier={this.props.notifier}>\n {(this.props as any).children}\n <Animated.View style={{ position: 'absolute', width: '100%', zIndex: 10 }} pointerEvents={'box-none'}>\n {Array.from(this.children.entries()).map(([view, node]) => {\n const element = node as React.ReactElement<any>;\n return React.cloneElement(element, {\n key: `sticky-${view.id}`,\n style: element.props?.style\n });\n })}\n </Animated.View>\n </StickyWrapper>\n </StickyComponentsContext.Provider>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAMJ,OAAO;AAEf,OAAOC,QAAQ,MAQR,yBAAyB;AAQhC,SAASC,aAAa,QAAQ,kBAAkB;AAWhD;AACA,OAAO,MAAMC,uBAAuB,gBAAGH,KAAK,CAACI,aAAa,CAAuB,IAAW,CAAC;AAE7F,OAAO,MAAMC,oBAAoB,SAASL,KAAK,CAACM,SAAS,CAAsC;EAAAC,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,mBAC5C,IAAIC,GAAG,CAAC,CAAC;IAAAD,eAAA,aACrD,CAAC;EAAA;EAENE,GAAGA,CAACC,CA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,CAACrB,EAAE,EAAE;QACxBY,KAAK,GAAAW,cAAA,GAAEC,OAAO,CAAChB,KAAK,cAAAe,cAAA,uBAAbA,cAAA,CAAeX;MACxB,CAAC,CAAC;IACJ,CAAC,CACY,CACF,CACiB,CAAC;EAEvC;AACF","ignoreList":[]}
@@ -0,0 +1,133 @@
1
+ import React from "react";
2
+ import { runOnJS, useAnimatedScrollHandler, useAnimatedStyle, useSharedValue } from "react-native-reanimated";
3
+ import injector from "./injector";
4
+ import { useSafeAreaInsets } from "react-native-safe-area-context";
5
+
6
+ // StickyWrapperContext is used for the usage & passing of hooks in StickyWrapper(functional component) to childrens.
7
+ export const StickyWrapperContext = /*#__PURE__*/React.createContext(undefined);
8
+ export const StickyWrapper = ({
9
+ children,
10
+ hasAppnavbar,
11
+ onscroll,
12
+ notifier
13
+ }) => {
14
+ var _appConfig$edgeToEdge;
15
+ const appConfig = injector.get('APP_CONFIG');
16
+ const scrollY = useSharedValue(0);
17
+ const prevScrollY = useSharedValue(0);
18
+ const scrollVelocity = useSharedValue(0);
19
+ const scrollDirection = useSharedValue(0);
20
+ const stickyContainerTranslateY = useSharedValue(0);
21
+ const stickyNavTranslateY = useSharedValue(0);
22
+
23
+ // Default navbar height from appnavbar styles is 80, maintaining this to minimize the navHeight immediate flicker (in page-content paddingTop)
24
+ const insets = useSafeAreaInsets();
25
+ const insetsVal = appConfig !== null && appConfig !== void 0 && (_appConfig$edgeToEdge = appConfig.edgeToEdgeConfig) !== null && _appConfig$edgeToEdge !== void 0 && _appConfig$edgeToEdge.isEdgeToEdgeApp ? insets === null || insets === void 0 ? void 0 : insets.top : 0;
26
+ const navHeight = useSharedValue(hasAppnavbar && (onscroll == 'topnav' || onscroll == 'topnav-bottomnav') ? 80 + insetsVal : 0);
27
+ const bottomTabHeight = useSharedValue(0);
28
+ const lastNotifyTime = useSharedValue(0);
29
+ const prevScrollTime = useSharedValue(0);
30
+ const stickyNavAnimateStyle = useAnimatedStyle(() => {
31
+ return {
32
+ transform: [{
33
+ translateY: -stickyNavTranslateY.value
34
+ }]
35
+ };
36
+ }, [stickyNavTranslateY]);
37
+ const stickyContainerAnimateStyle = useAnimatedStyle(() => {
38
+ const stickyNav = onscroll == 'topnav' || onscroll == 'topnav-bottomnav';
39
+ if (stickyNav) {
40
+ return {
41
+ transform: [{
42
+ translateY: Math.max(Math.max(stickyContainerTranslateY.value - navHeight.value - scrollY.value, -navHeight.value), -stickyNavTranslateY.value)
43
+ }]
44
+ };
45
+ } else {
46
+ return {
47
+ transform: [{
48
+ translateY: Math.max(stickyContainerTranslateY.value - scrollY.value, navHeight.value)
49
+ }]
50
+ };
51
+ }
52
+ }, [scrollY, stickyContainerTranslateY, navHeight, stickyNavTranslateY]);
53
+ const notifyEvent = event => {
54
+ if (notifier) {
55
+ notifier.notify('scroll', [{
56
+ nativeEvent: event
57
+ }]);
58
+ }
59
+ };
60
+ const onScroll = useAnimatedScrollHandler({
61
+ onScroll: event => {
62
+ 'worklet';
63
+
64
+ var _event$contentOffset;
65
+ const y = (_event$contentOffset = event.contentOffset) === null || _event$contentOffset === void 0 ? void 0 : _event$contentOffset.y;
66
+ const currentScrollTime = Date.now();
67
+ const delta = y - prevScrollY.value;
68
+ const delaTime = currentScrollTime - prevScrollTime.value;
69
+ if (delta != 0) scrollDirection.value = delta > 0 ? -1 : 1;
70
+ if (Math.abs(delta) >= 0.1) {
71
+ prevScrollY.value = y;
72
+ scrollY.value = Math.max(0, y);
73
+ stickyNavTranslateY.value = Math.max(Math.min(stickyNavTranslateY.value + delta, navHeight.value), 0);
74
+ scrollVelocity.value = Math.abs(delta) / delaTime;
75
+ prevScrollTime.value = currentScrollTime;
76
+ }
77
+ if (currentScrollTime - lastNotifyTime.value >= 100) {
78
+ var _event$contentOffset$, _event$contentOffset2, _event$contentSize$he, _event$contentSize, _event$layoutMeasurem, _event$layoutMeasurem2;
79
+ lastNotifyTime.value = currentScrollTime;
80
+ const safeEvent = {
81
+ contentOffset: {
82
+ y: (_event$contentOffset$ = (_event$contentOffset2 = event.contentOffset) === null || _event$contentOffset2 === void 0 ? void 0 : _event$contentOffset2.y) !== null && _event$contentOffset$ !== void 0 ? _event$contentOffset$ : 0
83
+ },
84
+ contentSize: {
85
+ height: (_event$contentSize$he = (_event$contentSize = event.contentSize) === null || _event$contentSize === void 0 ? void 0 : _event$contentSize.height) !== null && _event$contentSize$he !== void 0 ? _event$contentSize$he : 0
86
+ },
87
+ layoutMeasurement: {
88
+ height: (_event$layoutMeasurem = (_event$layoutMeasurem2 = event.layoutMeasurement) === null || _event$layoutMeasurem2 === void 0 ? void 0 : _event$layoutMeasurem2.height) !== null && _event$layoutMeasurem !== void 0 ? _event$layoutMeasurem : 0
89
+ },
90
+ scrollDirection: scrollDirection.value,
91
+ scrollDelta: delta
92
+ };
93
+ runOnJS(notifyEvent)(safeEvent);
94
+ }
95
+ }
96
+ });
97
+ const onScrollEndDrag = scrollRef => {
98
+ 'worklet';
99
+
100
+ const y = scrollY.value;
101
+ if (scrollVelocity.value < 0.3) {
102
+ if (scrollDirection.value < 0 && stickyNavTranslateY.value >= navHeight.value / 9.9) {
103
+ var _scrollRef$current;
104
+ // bottom visible
105
+ scrollRef === null || scrollRef === void 0 || (_scrollRef$current = scrollRef.current) === null || _scrollRef$current === void 0 || _scrollRef$current.scrollTo({
106
+ y: y + (navHeight.value - stickyNavTranslateY.value),
107
+ animated: true
108
+ });
109
+ } else if (scrollDirection.value > 0 && stickyNavTranslateY.value <= navHeight.value / 1.1) {
110
+ var _scrollRef$current2;
111
+ // top content visible
112
+ scrollRef === null || scrollRef === void 0 || (_scrollRef$current2 = scrollRef.current) === null || _scrollRef$current2 === void 0 || _scrollRef$current2.scrollTo({
113
+ y: y - stickyNavTranslateY.value,
114
+ animated: true
115
+ });
116
+ }
117
+ }
118
+ };
119
+ const contextValue = {
120
+ scrollDirection,
121
+ stickyNavAnimateStyle,
122
+ stickyContainerAnimateStyle,
123
+ stickyContainerTranslateY,
124
+ navHeight,
125
+ bottomTabHeight,
126
+ onScroll,
127
+ onScrollEndDrag
128
+ };
129
+ return /*#__PURE__*/React.createElement(StickyWrapperContext.Provider, {
130
+ value: contextValue
131
+ }, children);
132
+ };
133
+ //# sourceMappingURL=sticky-wrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","runOnJS","useAnimatedScrollHandler","useAnimatedStyle","useSharedValue","injector","useSafeAreaInsets","StickyWrapperContext","createContext","undefined","StickyWrapper","children","hasAppnavbar","onscroll","notifier","_appConfig$edgeToEdge","appConfig","get","scrollY","prevScrollY","scrollVelocity","scrollDirection","stickyContainerTranslateY","stickyNavTranslateY","insets","insetsVal","edgeToEdgeConfig","isEdgeToEdgeApp","top","navHeight","bottomTabHeight","lastNotifyTime","prevScrollTime","stickyNavAnimateStyle","transform","translateY","value","stickyContainerAnimateStyle","stickyNav","Math","max","notifyEvent","event","notify","nativeEvent","onScroll","_event$contentOffset","y","contentOffset","currentScrollTime","Date","now","delta","delaTime","abs","min","_event$contentOffset$","_event$contentOffset2","_event$contentSize$he","_event$contentSize","_event$layoutMeasurem","_event$layoutMeasurem2","safeEvent","contentSize","height","layoutMeasurement","scrollDelta","onScrollEndDrag","scrollRef","_scrollRef$current","current","scrollTo","animated","_scrollRef$current2","contextValue","createElement","Provider"],"sources":["sticky-wrapper.tsx"],"sourcesContent":["import React, { RefObject } from \"react\";\nimport { NativeScrollEvent, NativeSyntheticEvent } from \"react-native\";\nimport Animated, { AnimatedStyle, ReanimatedEvent, runOnJS, ScrollEvent, SharedValue, useAnimatedScrollHandler, useAnimatedStyle, useSharedValue } from \"react-native-reanimated\";\nimport { StickyViewComponentsProps } from \"./sticky-view.component\";\nimport injector from \"./injector\";\nimport AppConfig from \"./AppConfig\";\nimport { useSafeAreaInsets } from \"react-native-safe-area-context\";\n\n// StickyWrapperContext is used for the usage & passing of hooks in StickyWrapper(functional component) to childrens.\nexport const StickyWrapperContext = React.createContext<StickyWrapperContextType | undefined>(undefined);\n\nexport type CustomJsScrollEvent = {\n contentOffset: { y: number };\n contentSize: { height: number};\n layoutMeasurement: { height: number};\n scrollDirection: number;\n scrollDelta: number;\n};\n\n\nexport type StickyWrapperContextType = {\n stickyNavTranslateY?: SharedValue<number>;\n stickyContainerTranslateY: SharedValue<number>;\n\n stickyNavAnimateStyle: AnimatedStyle;\n stickyContainerAnimateStyle: AnimatedStyle;\n\n navHeight: SharedValue<number>;\n bottomTabHeight: SharedValue<number>;\n scrollDirection: SharedValue<number>;\n\n onScroll: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;\n onScrollEndDrag: (scrollRef: RefObject<Animated.ScrollView>) => void;\n};\n\nexport const StickyWrapper = ({ children, hasAppnavbar, onscroll, notifier }: StickyViewComponentsProps) => {\n const appConfig = injector.get<AppConfig>('APP_CONFIG');\n const scrollY = useSharedValue<number>(0);\n const prevScrollY = useSharedValue<number>(0);\n const scrollVelocity = useSharedValue<number>(0);\n const scrollDirection = useSharedValue<number>(0);\n\n const stickyContainerTranslateY = useSharedValue<number>(0);\n const stickyNavTranslateY = useSharedValue<number>(0);\n\n // Default navbar height from appnavbar styles is 80, maintaining this to minimize the navHeight immediate flicker (in page-content paddingTop)\n const insets = useSafeAreaInsets();\n const insetsVal = appConfig?.edgeToEdgeConfig?.isEdgeToEdgeApp ? insets?.top : 0;\n const navHeight = useSharedValue<number>(hasAppnavbar && (onscroll == 'topnav' || onscroll == 'topnav-bottomnav') ? (80 + insetsVal) : 0);\n const bottomTabHeight = useSharedValue<number>(0);\n\n const lastNotifyTime = useSharedValue<number>(0);\n const prevScrollTime = useSharedValue<number>(0);\n\n const stickyNavAnimateStyle = useAnimatedStyle(() => {\n return {\n transform: [{ translateY: -stickyNavTranslateY.value }]\n };\n }, [stickyNavTranslateY]);\n\n const stickyContainerAnimateStyle = useAnimatedStyle(() => {\n const stickyNav = onscroll == 'topnav' || onscroll == 'topnav-bottomnav';\n if(stickyNav){\n return {\n transform: [{ translateY: \n Math.max(\n Math.max(stickyContainerTranslateY.value - navHeight.value - scrollY.value, - navHeight.value), \n - stickyNavTranslateY.value\n )\n }],\n }\n }else{\n return {\n transform: [{ translateY: Math.max(stickyContainerTranslateY.value - scrollY.value, navHeight.value)}]\n }\n }\n }, [scrollY, stickyContainerTranslateY, navHeight, stickyNavTranslateY]);\n\n const notifyEvent = (event: CustomJsScrollEvent)=>{\n if(notifier) {\n notifier.notify('scroll', [{nativeEvent: event}]);\n }\n }\n\n const onScroll = useAnimatedScrollHandler({\n onScroll: (event: ReanimatedEvent<ScrollEvent>): void => {\n 'worklet';\n const y = event.contentOffset?.y;\n const currentScrollTime = Date.now();\n\n const delta = y - prevScrollY.value;\n const delaTime = currentScrollTime - prevScrollTime.value;\n if(delta != 0) scrollDirection.value = delta > 0 ? -1 : 1;\n\n if (Math.abs(delta) >= 0.1){\n prevScrollY.value = y;\n scrollY.value = Math.max(0, y);\n\n stickyNavTranslateY.value = Math.max(Math.min(stickyNavTranslateY.value + delta, navHeight.value), 0);\n\n scrollVelocity.value = Math.abs(delta) / delaTime;\n prevScrollTime.value = currentScrollTime;\n }\n\n if(currentScrollTime - lastNotifyTime.value >= 100){\n lastNotifyTime.value = currentScrollTime;\n const safeEvent = {\n contentOffset: {\n y: event.contentOffset?.y ?? 0,\n },\n contentSize: {\n height: event.contentSize?.height ?? 0,\n },\n layoutMeasurement: {\n height: event.layoutMeasurement?.height ?? 0,\n },\n scrollDirection: scrollDirection.value,\n scrollDelta: delta,\n };\n runOnJS(notifyEvent)(safeEvent);\n }\n }\n });\n\n const onScrollEndDrag = (scrollRef: RefObject<Animated.ScrollView>): void =>{\n 'worklet';\n const y = scrollY.value;\n if(scrollVelocity.value < 0.3){\n if(scrollDirection.value < 0 && stickyNavTranslateY.value >= (navHeight.value / 9.9)){ // bottom visible\n scrollRef?.current?.scrollTo({ y: y + (navHeight.value - stickyNavTranslateY.value), animated: true })\n } else if( scrollDirection.value > 0 && stickyNavTranslateY.value <= (navHeight.value / 1.1)) { // top content visible\n scrollRef?.current?.scrollTo({ y: y - stickyNavTranslateY.value, animated: true })\n }\n }\n }\n\n const contextValue = {\n scrollDirection,\n stickyNavAnimateStyle,\n stickyContainerAnimateStyle,\n stickyContainerTranslateY,\n navHeight,\n bottomTabHeight, \n onScroll,\n onScrollEndDrag\n };\n\n return (\n <StickyWrapperContext.Provider value={contextValue}>\n {children}\n </StickyWrapperContext.Provider>\n );\n};"],"mappings":"AAAA,OAAOA,KAAK,MAAqB,OAAO;AAExC,SAAmDC,OAAO,EAA4BC,wBAAwB,EAAEC,gBAAgB,EAAEC,cAAc,QAAQ,yBAAyB;AAEjL,OAAOC,QAAQ,MAAM,YAAY;AAEjC,SAASC,iBAAiB,QAAQ,gCAAgC;;AAElE;AACA,OAAO,MAAMC,oBAAoB,gBAAGP,KAAK,CAACQ,aAAa,CAAuCC,SAAS,CAAC;AA0BxG,OAAO,MAAMC,aAAa,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,YAAY;EAAEC,QAAQ;EAAEC;AAAoC,CAAC,KAAK;EAAA,IAAAC,qBAAA;EAC1G,MAAMC,SAAS,GAAGX,QAAQ,CAACY,GAAG,CAAY,YAAY,CAAC;EACvD,MAAMC,OAAO,GAAGd,cAAc,CAAS,CAAC,CAAC;EACzC,MAAMe,WAAW,GAAGf,cAAc,CAAS,CAAC,CAAC;EAC7C,MAAMgB,cAAc,GAAGhB,cAAc,CAAS,CAAC,CAAC;EAChD,MAAMiB,eAAe,GAAGjB,cAAc,CAAS,CAAC,CAAC;EAEjD,MAAMkB,yBAAyB,GAAGlB,cAAc,CAAS,CAAC,CAAC;EAC3D,MAAMmB,mBAAmB,GAAGnB,cAAc,CAAS,CAAC,CAAC;;EAErD;EACA,MAAMoB,MAAM,GAAGlB,iBAAiB,CAAC,CAAC;EAClC,MAAMmB,SAAS,GAAGT,SAAS,aAATA,SAAS,gBAAAD,qBAAA,GAATC,SAAS,CAAEU,gBAAgB,cAAAX,qBAAA,eAA3BA,qBAAA,CAA6BY,eAAe,GAAGH,MAAM,aAANA,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FD,SAAS,aAATA,SAAS,gBAAAC,kBAAA,GAATD,SAAS,CAAEE,OAAO,cAAAD,kBAAA,eAAlBA,kBAAA,CAAoBE,QAAQ,CAAC;UAAExB,CAAC,EAAEA,CAAC,IAAIlB,SAAS,CAACO,KAAK,GAAGb,mBAAmB,CAACa,KAAK,CAAC;UAAEoC,QAAQ,EAAE;QAAK,CAAC,CAAC;MACxG,CAAC,MAAM,IAAInD,eAAe,CAACe,KAAK,GAAG,CAAC,IAAKb,mBAAmB,CAACa,KAAK,IAAKP,SAAS,CAACO,KAAK,GAAG,GAAI,EAAE;QAAA,IAAAqC,mBAAA;QAAE;QAC/FL,SAAS,aAATA,SAAS,gBAAAK,mBAAA,GAATL,SAAS,CAAEE,OAAO,cAAAG,mBAAA,eAAlBA,mBAAA,CAAoBF,QAAQ,CAAC;UAAExB,CAAC,EAAEA,CAAC,GAAGxB,mBAAmB,CAACa,KAAK;UAAEoC,QAAQ,EAAE;QAAK,CAAC,CAAC;MACpF;IACF;EACF,CAAC;EAED,MAAME,YAAY,GAAG;IACnBrD,eAAe;IACfY,qBAAqB;IACrBI,2BAA2B;IAC3Bf,yBAAyB;IACzBO,SAAS;IACTC,eAAe;IACfe,QAAQ;IACRsB;EACF,CAAC;EAED,oBACEnE,KAAA,CAAA2E,aAAA,CAACpE,oBAAoB,CAACqE,QAAQ;IAACxC,KAAK,EAAEsC;EAAa,GAChD/D,QAC4B,CAAC;AAEpC,CAAC","ignoreList":[]}
@@ -0,0 +1,38 @@
1
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
+ import AsyncStorage from '@react-native-async-storage/async-storage';
5
+ export class StorageService {
6
+ constructor() {
7
+ _defineProperty(this, "target", 'GLOBAL');
8
+ }
9
+ getKey(key) {
10
+ return `${this.target}_${key}`;
11
+ }
12
+ getItem(key, callback) {
13
+ return AsyncStorage.getItem(this.getKey(key), callback);
14
+ }
15
+ setItem(key, value, callback) {
16
+ return AsyncStorage.setItem(this.getKey(key), value, callback);
17
+ }
18
+ removeItem(key, callback) {
19
+ return AsyncStorage.removeItem(this.getKey(key), callback);
20
+ }
21
+ async getAll() {
22
+ const keys = await AsyncStorage.getAllKeys();
23
+ const entries = await Promise.all(keys.map(async k => {
24
+ const v = await AsyncStorage.getItem(k);
25
+ return {
26
+ key: k,
27
+ value: v
28
+ };
29
+ }));
30
+ const o = {};
31
+ entries.forEach(e => {
32
+ o[e.key] = e.value;
33
+ });
34
+ return o;
35
+ }
36
+ }
37
+ export default new StorageService();
38
+ //# sourceMappingURL=storage.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["AsyncStorage","StorageService","constructor","_defineProperty","getKey","key","target","getItem","callback","setItem","value","removeItem","getAll","keys","getAllKeys","entries","Promise","all","map","k","v","o","forEach","e"],"sources":["storage.service.ts"],"sourcesContent":["import AsyncStorage from '@react-native-async-storage/async-storage';\n\nexport class StorageService {\n public target = 'GLOBAL';\n\n protected getKey(key: string) {\n return `${this.target}_${key}`;\n }\n \n getItem(key: string, callback?: (error?: Error | null, result?: string | null) => void): Promise<string | null> {\n return AsyncStorage.getItem(this.getKey(key), callback);\n }\n setItem(key: string, value: string, callback?: (error?: Error | null) => void): Promise<void> {\n return AsyncStorage.setItem(this.getKey(key), value, callback);\n }\n removeItem(key: string, callback?: (error?: Error | null) => void): Promise<void> {\n return AsyncStorage.removeItem(this.getKey(key), callback);\n }\n\n async getAll() {\n const keys = await AsyncStorage.getAllKeys();\n const entries = await Promise.all(keys.map(async k => {\n const v = await AsyncStorage.getItem(k);\n return {\n key: k,\n value: v\n };\n }));\n const o = {} as any;\n entries.forEach((e) => {\n o[e.key] = e.value;\n });\n return o;\n }\n}\n\nexport default new StorageService();\n"],"mappings":";;;AAAA,OAAOA,YAAY,MAAM,2CAA2C;AAEpE,OAAO,MAAMC,cAAc,CAAC;EAAAC,YAAA;IAAAC,eAAA,iBACV,QAAQ;EAAA;EAEdC,MAAMA,CAACC,GAAW,EAAE;IAC5B,OAAO,GAAG,IAAI,CAACC,MAAM,IAAID,GAAG,EAAE;EAChC;EAEAE,OAAOA,CAACF,GAAW,EAAEG,QAAiE,EAA0B;IAC9G,OAAOR,YAAY,CAACO,OAAO,CAAC,IAAI,CAACH,MAAM,CAACC,GAAG,CAAC,EAAEG,QAAQ,CAAC;EACzD;EACAC,OAAOA,CAACJ,GAAW,EAAEK,KAAa,EAAEF,QAAyC,EAAiB;IAC5F,OAAOR,YAAY,CAACS,OAAO,CAAC,IAAI,CAACL,MAAM,CAACC,GAAG,CAAC,EAAEK,KAAK,EAAEF,QAAQ,CAAC;EAChE;EACAG,UAAUA,CAACN,GAAW,EAAEG,QAAyC,EAAiB;IAChF,OAAOR,YAAY,CAACW,UAAU,CAAC,IAAI,CAACP,MAAM,CAACC,GAAG,CAAC,EAAEG,QAAQ,CAAC;EAC5D;EAEA,MAAMI,MAAMA,CAAA,EAAG;IACb,MAAMC,IAAI,GAAG,MAAMb,YAAY,CAACc,UAAU,CAAC,CAAC;IAC5C,MAAMC,OAAO,GAAG,MAAMC,OAAO,CAACC,GAAG,CAACJ,IAAI,CAACK,GAAG,CAAC,MAAMC,CAAC,IAAI;MACpD,MAAMC,CAAC,GAAG,MAAMpB,YAAY,CAACO,OAAO,CAACY,CAAC,CAAC;MACvC,OAAO;QACLd,GAAG,EAAEc,CAAC;QACNT,KAAK,EAAEU;MACT,CAAC;IACH,CAAC,CAAC,CAAC;IACH,MAAMC,CAAC,GAAG,CAAC,CAAQ;IACnBN,OAAO,CAACO,OAAO,C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