@lichens-innovation/react-native-common 2.11.0

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 (487) hide show
  1. package/README.md +194 -0
  2. package/dist/components/battery/battery-level.d.ts +9 -0
  3. package/dist/components/battery/battery-level.js +9 -0
  4. package/dist/components/battery/battery-level.js.map +1 -0
  5. package/dist/components/battery/battery.utils.d.ts +2 -0
  6. package/dist/components/battery/battery.utils.js +25 -0
  7. package/dist/components/battery/battery.utils.js.map +1 -0
  8. package/dist/components/battery/index.d.ts +2 -0
  9. package/dist/components/battery/index.js +3 -0
  10. package/dist/components/battery/index.js.map +1 -0
  11. package/dist/components/bottom-sheet/bottom-sheet.constants.d.ts +1 -0
  12. package/dist/components/bottom-sheet/bottom-sheet.constants.js +2 -0
  13. package/dist/components/bottom-sheet/bottom-sheet.constants.js.map +1 -0
  14. package/dist/components/bottom-sheet/default-backdrop.d.ts +3 -0
  15. package/dist/components/bottom-sheet/default-backdrop.js +4 -0
  16. package/dist/components/bottom-sheet/default-backdrop.js.map +1 -0
  17. package/dist/components/bottom-sheet/default-backdrop.windows.d.ts +2 -0
  18. package/dist/components/bottom-sheet/default-backdrop.windows.js +3 -0
  19. package/dist/components/bottom-sheet/default-backdrop.windows.js.map +1 -0
  20. package/dist/components/bottom-sheet/default-sheet-background.d.ts +3 -0
  21. package/dist/components/bottom-sheet/default-sheet-background.js +8 -0
  22. package/dist/components/bottom-sheet/default-sheet-background.js.map +1 -0
  23. package/dist/components/bottom-sheet/index.d.ts +4 -0
  24. package/dist/components/bottom-sheet/index.js +5 -0
  25. package/dist/components/bottom-sheet/index.js.map +1 -0
  26. package/dist/components/bottom-sheet/use-bottom-sheet-toggler.d.ts +7 -0
  27. package/dist/components/bottom-sheet/use-bottom-sheet-toggler.js +39 -0
  28. package/dist/components/bottom-sheet/use-bottom-sheet-toggler.js.map +1 -0
  29. package/dist/components/code-scanner/barcode-scanner-dialog.d.ts +11 -0
  30. package/dist/components/code-scanner/barcode-scanner-dialog.js +32 -0
  31. package/dist/components/code-scanner/barcode-scanner-dialog.js.map +1 -0
  32. package/dist/components/code-scanner/barcode-scanner.d.ts +7 -0
  33. package/dist/components/code-scanner/barcode-scanner.js +34 -0
  34. package/dist/components/code-scanner/barcode-scanner.js.map +1 -0
  35. package/dist/components/code-scanner/barcode-scanner.utils.d.ts +4 -0
  36. package/dist/components/code-scanner/barcode-scanner.utils.js +38 -0
  37. package/dist/components/code-scanner/barcode-scanner.utils.js.map +1 -0
  38. package/dist/components/code-scanner/index.d.ts +3 -0
  39. package/dist/components/code-scanner/index.js +4 -0
  40. package/dist/components/code-scanner/index.js.map +1 -0
  41. package/dist/components/dialogs/dialog-close-only.d.ts +12 -0
  42. package/dist/components/dialogs/dialog-close-only.js +39 -0
  43. package/dist/components/dialogs/dialog-close-only.js.map +1 -0
  44. package/dist/components/dialogs/dialog-ok-cancel.d.ts +13 -0
  45. package/dist/components/dialogs/dialog-ok-cancel.js +44 -0
  46. package/dist/components/dialogs/dialog-ok-cancel.js.map +1 -0
  47. package/dist/components/dialogs/dialog-syntax-color-result.d.ts +14 -0
  48. package/dist/components/dialogs/dialog-syntax-color-result.js +47 -0
  49. package/dist/components/dialogs/dialog-syntax-color-result.js.map +1 -0
  50. package/dist/components/dialogs/index.d.ts +4 -0
  51. package/dist/components/dialogs/index.js +5 -0
  52. package/dist/components/dialogs/index.js.map +1 -0
  53. package/dist/components/dialogs/use-dialog-styles.d.ts +4 -0
  54. package/dist/components/dialogs/use-dialog-styles.js +13 -0
  55. package/dist/components/dialogs/use-dialog-styles.js.map +1 -0
  56. package/dist/components/drop-down-selector/drop-down-selector.d.ts +15 -0
  57. package/dist/components/drop-down-selector/drop-down-selector.js +59 -0
  58. package/dist/components/drop-down-selector/drop-down-selector.js.map +1 -0
  59. package/dist/components/drop-down-selector/drop-down-selector.windows.d.ts +2 -0
  60. package/dist/components/drop-down-selector/drop-down-selector.windows.js +3 -0
  61. package/dist/components/drop-down-selector/drop-down-selector.windows.js.map +1 -0
  62. package/dist/components/drop-down-selector/index.d.ts +1 -0
  63. package/dist/components/drop-down-selector/index.js +2 -0
  64. package/dist/components/drop-down-selector/index.js.map +1 -0
  65. package/dist/components/error/error-boundary-screen.d.ts +2 -0
  66. package/dist/components/error/error-boundary-screen.js +35 -0
  67. package/dist/components/error/error-boundary-screen.js.map +1 -0
  68. package/dist/components/error/error-boundary-screen.windows.d.ts +2 -0
  69. package/dist/components/error/error-boundary-screen.windows.js +3 -0
  70. package/dist/components/error/error-boundary-screen.windows.js.map +1 -0
  71. package/dist/components/error/error-boundary.d.ts +3 -0
  72. package/dist/components/error/error-boundary.js +27 -0
  73. package/dist/components/error/error-boundary.js.map +1 -0
  74. package/dist/components/error/error-boundary.windows.d.ts +2 -0
  75. package/dist/components/error/error-boundary.windows.js +3 -0
  76. package/dist/components/error/error-boundary.windows.js.map +1 -0
  77. package/dist/components/error/error-details.d.ts +7 -0
  78. package/dist/components/error/error-details.js +32 -0
  79. package/dist/components/error/error-details.js.map +1 -0
  80. package/dist/components/error/index.d.ts +4 -0
  81. package/dist/components/error/index.js +5 -0
  82. package/dist/components/error/index.js.map +1 -0
  83. package/dist/components/error/use-error-details.d.ts +7 -0
  84. package/dist/components/error/use-error-details.js +19 -0
  85. package/dist/components/error/use-error-details.js.map +1 -0
  86. package/dist/components/event-logs/event-logs-screen.d.ts +2 -0
  87. package/dist/components/event-logs/event-logs-screen.js +63 -0
  88. package/dist/components/event-logs/event-logs-screen.js.map +1 -0
  89. package/dist/components/event-logs/index.d.ts +2 -0
  90. package/dist/components/event-logs/index.js +3 -0
  91. package/dist/components/event-logs/index.js.map +1 -0
  92. package/dist/components/event-logs/live-logs-viewer/index.d.ts +6 -0
  93. package/dist/components/event-logs/live-logs-viewer/index.js +7 -0
  94. package/dist/components/event-logs/live-logs-viewer/index.js.map +1 -0
  95. package/dist/components/event-logs/live-logs-viewer/log-entry-item-suffix.d.ts +7 -0
  96. package/dist/components/event-logs/live-logs-viewer/log-entry-item-suffix.js +6 -0
  97. package/dist/components/event-logs/live-logs-viewer/log-entry-item-suffix.js.map +1 -0
  98. package/dist/components/event-logs/live-logs-viewer/log-entry-item.d.ts +7 -0
  99. package/dist/components/event-logs/live-logs-viewer/log-entry-item.js +35 -0
  100. package/dist/components/event-logs/live-logs-viewer/log-entry-item.js.map +1 -0
  101. package/dist/components/event-logs/live-logs-viewer/logs-viewer.d.ts +7 -0
  102. package/dist/components/event-logs/live-logs-viewer/logs-viewer.js +44 -0
  103. package/dist/components/event-logs/live-logs-viewer/logs-viewer.js.map +1 -0
  104. package/dist/components/event-logs/live-logs-viewer/logs-viewer.utils.d.ts +1 -0
  105. package/dist/components/event-logs/live-logs-viewer/logs-viewer.utils.js +6 -0
  106. package/dist/components/event-logs/live-logs-viewer/logs-viewer.utils.js.map +1 -0
  107. package/dist/components/event-logs/live-logs-viewer/use-auto-scroll.d.ts +7 -0
  108. package/dist/components/event-logs/live-logs-viewer/use-auto-scroll.js +20 -0
  109. package/dist/components/event-logs/live-logs-viewer/use-auto-scroll.js.map +1 -0
  110. package/dist/components/event-logs/live-logs-viewer/use-logs-actions.d.ts +6 -0
  111. package/dist/components/event-logs/live-logs-viewer/use-logs-actions.js +24 -0
  112. package/dist/components/event-logs/live-logs-viewer/use-logs-actions.js.map +1 -0
  113. package/dist/components/header-actions/header-back-button.d.ts +2 -0
  114. package/dist/components/header-actions/header-back-button.js +5 -0
  115. package/dist/components/header-actions/header-back-button.js.map +1 -0
  116. package/dist/components/header-actions/header-back-button.windows.d.ts +2 -0
  117. package/dist/components/header-actions/header-back-button.windows.js +3 -0
  118. package/dist/components/header-actions/header-back-button.windows.js.map +1 -0
  119. package/dist/components/header-actions/header-button.d.ts +7 -0
  120. package/dist/components/header-actions/header-button.js +18 -0
  121. package/dist/components/header-actions/header-button.js.map +1 -0
  122. package/dist/components/header-actions/index.d.ts +2 -0
  123. package/dist/components/header-actions/index.js +3 -0
  124. package/dist/components/header-actions/index.js.map +1 -0
  125. package/dist/components/index.d.ts +16 -0
  126. package/dist/components/index.js +17 -0
  127. package/dist/components/index.js.map +1 -0
  128. package/dist/components/language-selector/index.d.ts +4 -0
  129. package/dist/components/language-selector/index.js +5 -0
  130. package/dist/components/language-selector/index.js.map +1 -0
  131. package/dist/components/language-selector/language-selector-menu.d.ts +3 -0
  132. package/dist/components/language-selector/language-selector-menu.js +13 -0
  133. package/dist/components/language-selector/language-selector-menu.js.map +1 -0
  134. package/dist/components/language-selector/language-selector-segmented.d.ts +3 -0
  135. package/dist/components/language-selector/language-selector-segmented.js +9 -0
  136. package/dist/components/language-selector/language-selector-segmented.js.map +1 -0
  137. package/dist/components/language-selector/language-selector.d.ts +3 -0
  138. package/dist/components/language-selector/language-selector.js +10 -0
  139. package/dist/components/language-selector/language-selector.js.map +1 -0
  140. package/dist/components/language-selector/language-selector.types.d.ts +9 -0
  141. package/dist/components/language-selector/language-selector.types.js +1 -0
  142. package/dist/components/language-selector/language-selector.types.js.map +1 -0
  143. package/dist/components/layout/full-centered.d.ts +7 -0
  144. package/dist/components/layout/full-centered.js +4 -0
  145. package/dist/components/layout/full-centered.js.map +1 -0
  146. package/dist/components/layout/index.d.ts +2 -0
  147. package/dist/components/layout/index.js +3 -0
  148. package/dist/components/layout/index.js.map +1 -0
  149. package/dist/components/layout/safe-container.d.ts +8 -0
  150. package/dist/components/layout/safe-container.js +18 -0
  151. package/dist/components/layout/safe-container.js.map +1 -0
  152. package/dist/components/layout/safe-container.windows.d.ts +8 -0
  153. package/dist/components/layout/safe-container.windows.js +16 -0
  154. package/dist/components/layout/safe-container.windows.js.map +1 -0
  155. package/dist/components/on-off-toggle/index.d.ts +1 -0
  156. package/dist/components/on-off-toggle/index.js +2 -0
  157. package/dist/components/on-off-toggle/index.js.map +1 -0
  158. package/dist/components/on-off-toggle/on-off-toggle.d.ts +9 -0
  159. package/dist/components/on-off-toggle/on-off-toggle.js +27 -0
  160. package/dist/components/on-off-toggle/on-off-toggle.js.map +1 -0
  161. package/dist/components/score-indicator/index.d.ts +1 -0
  162. package/dist/components/score-indicator/index.js +2 -0
  163. package/dist/components/score-indicator/index.js.map +1 -0
  164. package/dist/components/score-indicator/score-indicator.d.ts +6 -0
  165. package/dist/components/score-indicator/score-indicator.js +31 -0
  166. package/dist/components/score-indicator/score-indicator.js.map +1 -0
  167. package/dist/components/snack-bar/index.d.ts +2 -0
  168. package/dist/components/snack-bar/index.js +3 -0
  169. package/dist/components/snack-bar/index.js.map +1 -0
  170. package/dist/components/snack-bar/snackbar-provider.d.ts +8 -0
  171. package/dist/components/snack-bar/snackbar-provider.js +31 -0
  172. package/dist/components/snack-bar/snackbar-provider.js.map +1 -0
  173. package/dist/components/snack-bar/snackbar.constants.d.ts +5 -0
  174. package/dist/components/snack-bar/snackbar.constants.js +6 -0
  175. package/dist/components/snack-bar/snackbar.constants.js.map +1 -0
  176. package/dist/components/spinner/activity-progress-bar-stats.d.ts +8 -0
  177. package/dist/components/spinner/activity-progress-bar-stats.js +27 -0
  178. package/dist/components/spinner/activity-progress-bar-stats.js.map +1 -0
  179. package/dist/components/spinner/activity-progress-bar.d.ts +10 -0
  180. package/dist/components/spinner/activity-progress-bar.js +21 -0
  181. package/dist/components/spinner/activity-progress-bar.js.map +1 -0
  182. package/dist/components/spinner/activity-progress.utils.d.ts +10 -0
  183. package/dist/components/spinner/activity-progress.utils.js +20 -0
  184. package/dist/components/spinner/activity-progress.utils.js.map +1 -0
  185. package/dist/components/spinner/full-centered-spinner.d.ts +2 -0
  186. package/dist/components/spinner/full-centered-spinner.js +5 -0
  187. package/dist/components/spinner/full-centered-spinner.js.map +1 -0
  188. package/dist/components/spinner/index.d.ts +5 -0
  189. package/dist/components/spinner/index.js +6 -0
  190. package/dist/components/spinner/index.js.map +1 -0
  191. package/dist/components/spinner/modal-spinner.d.ts +9 -0
  192. package/dist/components/spinner/modal-spinner.js +34 -0
  193. package/dist/components/spinner/modal-spinner.js.map +1 -0
  194. package/dist/components/syntax/index.d.ts +4 -0
  195. package/dist/components/syntax/index.js +5 -0
  196. package/dist/components/syntax/index.js.map +1 -0
  197. package/dist/components/syntax/styles/dark.d.ts +92 -0
  198. package/dist/components/syntax/styles/dark.js +92 -0
  199. package/dist/components/syntax/styles/dark.js.map +1 -0
  200. package/dist/components/syntax/styles/index.d.ts +2 -0
  201. package/dist/components/syntax/styles/index.js +3 -0
  202. package/dist/components/syntax/styles/index.js.map +1 -0
  203. package/dist/components/syntax/styles/light.d.ts +110 -0
  204. package/dist/components/syntax/styles/light.js +110 -0
  205. package/dist/components/syntax/styles/light.js.map +1 -0
  206. package/dist/components/syntax/syntax-coloring-tag-code.d.ts +9 -0
  207. package/dist/components/syntax/syntax-coloring-tag-code.js +27 -0
  208. package/dist/components/syntax/syntax-coloring-tag-code.js.map +1 -0
  209. package/dist/components/syntax/syntax-coloring-tag-pre.d.ts +9 -0
  210. package/dist/components/syntax/syntax-coloring-tag-pre.js +18 -0
  211. package/dist/components/syntax/syntax-coloring-tag-pre.js.map +1 -0
  212. package/dist/components/syntax/syntax-coloring.d.ts +8 -0
  213. package/dist/components/syntax/syntax-coloring.js +25 -0
  214. package/dist/components/syntax/syntax-coloring.js.map +1 -0
  215. package/dist/components/tab-bar-icon.d.ts +14 -0
  216. package/dist/components/tab-bar-icon.js +12 -0
  217. package/dist/components/tab-bar-icon.js.map +1 -0
  218. package/dist/config/env.config.d.ts +2 -0
  219. package/dist/config/env.config.js +4 -0
  220. package/dist/config/env.config.js.map +1 -0
  221. package/dist/config/index.d.ts +1 -0
  222. package/dist/config/index.js +2 -0
  223. package/dist/config/index.js.map +1 -0
  224. package/dist/hooks/camera-image-picker/camera-image-picker.utils.d.ts +4 -0
  225. package/dist/hooks/camera-image-picker/camera-image-picker.utils.js +16 -0
  226. package/dist/hooks/camera-image-picker/camera-image-picker.utils.js.map +1 -0
  227. package/dist/hooks/camera-image-picker/index.d.ts +2 -0
  228. package/dist/hooks/camera-image-picker/index.js +3 -0
  229. package/dist/hooks/camera-image-picker/index.js.map +1 -0
  230. package/dist/hooks/camera-image-picker/use-camera-image-picker.d.ts +5 -0
  231. package/dist/hooks/camera-image-picker/use-camera-image-picker.js +53 -0
  232. package/dist/hooks/camera-image-picker/use-camera-image-picker.js.map +1 -0
  233. package/dist/hooks/index.d.ts +8 -0
  234. package/dist/hooks/index.js +9 -0
  235. package/dist/hooks/index.js.map +1 -0
  236. package/dist/hooks/use-animate-on-focus.windows.d.ts +1 -0
  237. package/dist/hooks/use-animate-on-focus.windows.js +5 -0
  238. package/dist/hooks/use-animate-on-focus.windows.js.map +1 -0
  239. package/dist/hooks/use-image-picker.d.ts +11 -0
  240. package/dist/hooks/use-image-picker.js +35 -0
  241. package/dist/hooks/use-image-picker.js.map +1 -0
  242. package/dist/hooks/use-image-picker.windows.d.ts +1 -0
  243. package/dist/hooks/use-image-picker.windows.js +5 -0
  244. package/dist/hooks/use-image-picker.windows.js.map +1 -0
  245. package/dist/hooks/use-invalidate-queries-on-focus.d.ts +2 -0
  246. package/dist/hooks/use-invalidate-queries-on-focus.js +11 -0
  247. package/dist/hooks/use-invalidate-queries-on-focus.js.map +1 -0
  248. package/dist/hooks/use-on-html-message.d.ts +5 -0
  249. package/dist/hooks/use-on-html-message.js +30 -0
  250. package/dist/hooks/use-on-html-message.js.map +1 -0
  251. package/dist/hooks/use-single-file-selector.d.ts +17 -0
  252. package/dist/hooks/use-single-file-selector.js +32 -0
  253. package/dist/hooks/use-single-file-selector.js.map +1 -0
  254. package/dist/hooks/use-single-file-selector.windows.d.ts +1 -0
  255. package/dist/hooks/use-single-file-selector.windows.js +5 -0
  256. package/dist/hooks/use-single-file-selector.windows.js.map +1 -0
  257. package/dist/hooks/use-timeout-state.d.ts +1 -0
  258. package/dist/hooks/use-timeout-state.js +11 -0
  259. package/dist/hooks/use-timeout-state.js.map +1 -0
  260. package/dist/hooks/use-timeout-toggle.d.ts +1 -0
  261. package/dist/hooks/use-timeout-toggle.js +20 -0
  262. package/dist/hooks/use-timeout-toggle.js.map +1 -0
  263. package/dist/hooks/use-updates.d.ts +8 -0
  264. package/dist/hooks/use-updates.js +68 -0
  265. package/dist/hooks/use-updates.js.map +1 -0
  266. package/dist/hooks/use-updates.windows.d.ts +1 -0
  267. package/dist/hooks/use-updates.windows.js +5 -0
  268. package/dist/hooks/use-updates.windows.js.map +1 -0
  269. package/dist/i18n/en/common.json +183 -0
  270. package/dist/i18n/fr/common.json +183 -0
  271. package/dist/i18n/i18n.d.ts +17 -0
  272. package/dist/i18n/i18n.js +47 -0
  273. package/dist/i18n/i18n.js.map +1 -0
  274. package/dist/i18n/i18n.utils.d.ts +1 -0
  275. package/dist/i18n/i18n.utils.js +7 -0
  276. package/dist/i18n/i18n.utils.js.map +1 -0
  277. package/dist/i18n/i18n.utils.windows.d.ts +1 -0
  278. package/dist/i18n/i18n.utils.windows.js +6 -0
  279. package/dist/i18n/i18n.utils.windows.js.map +1 -0
  280. package/dist/i18n/index.d.ts +2 -0
  281. package/dist/i18n/index.js +3 -0
  282. package/dist/i18n/index.js.map +1 -0
  283. package/dist/index.d.ts +9 -0
  284. package/dist/index.js +10 -0
  285. package/dist/index.js.map +1 -0
  286. package/dist/logger/index.d.ts +3 -0
  287. package/dist/logger/index.js +4 -0
  288. package/dist/logger/index.js.map +1 -0
  289. package/dist/logger/logger.d.ts +17 -0
  290. package/dist/logger/logger.js +142 -0
  291. package/dist/logger/logger.js.map +1 -0
  292. package/dist/logger/logger.utils.d.ts +30 -0
  293. package/dist/logger/logger.utils.js +46 -0
  294. package/dist/logger/logger.utils.js.map +1 -0
  295. package/dist/logger/logger.windows.d.ts +18 -0
  296. package/dist/logger/logger.windows.js +65 -0
  297. package/dist/logger/logger.windows.js.map +1 -0
  298. package/dist/logger/use-log-entry-color.d.ts +1 -0
  299. package/dist/logger/use-log-entry-color.js +23 -0
  300. package/dist/logger/use-log-entry-color.js.map +1 -0
  301. package/dist/services/device-finder/device-finder.d.ts +31 -0
  302. package/dist/services/device-finder/device-finder.js +104 -0
  303. package/dist/services/device-finder/device-finder.js.map +1 -0
  304. package/dist/services/device-finder/device-finder.types.d.ts +8 -0
  305. package/dist/services/device-finder/device-finder.types.js +1 -0
  306. package/dist/services/device-finder/device-finder.types.js.map +1 -0
  307. package/dist/services/device-finder/device-finder.windows.d.ts +18 -0
  308. package/dist/services/device-finder/device-finder.windows.js +48 -0
  309. package/dist/services/device-finder/device-finder.windows.js.map +1 -0
  310. package/dist/services/device-finder/index.d.ts +2 -0
  311. package/dist/services/device-finder/index.js +3 -0
  312. package/dist/services/device-finder/index.js.map +1 -0
  313. package/dist/services/files/index.d.ts +2 -0
  314. package/dist/services/files/index.js +3 -0
  315. package/dist/services/files/index.js.map +1 -0
  316. package/dist/services/files/native-file-system.d.ts +15 -0
  317. package/dist/services/files/native-file-system.js +101 -0
  318. package/dist/services/files/native-file-system.js.map +1 -0
  319. package/dist/services/files/native-file-system.types.d.ts +38 -0
  320. package/dist/services/files/native-file-system.types.js +6 -0
  321. package/dist/services/files/native-file-system.types.js.map +1 -0
  322. package/dist/services/files/native-file-system.windows.d.ts +14 -0
  323. package/dist/services/files/native-file-system.windows.js +31 -0
  324. package/dist/services/files/native-file-system.windows.js.map +1 -0
  325. package/dist/services/index.d.ts +3 -0
  326. package/dist/services/index.js +4 -0
  327. package/dist/services/index.js.map +1 -0
  328. package/dist/services/wifi/index.d.ts +6 -0
  329. package/dist/services/wifi/index.js +7 -0
  330. package/dist/services/wifi/index.js.map +1 -0
  331. package/dist/services/wifi/query-keys.d.ts +10 -0
  332. package/dist/services/wifi/query-keys.js +11 -0
  333. package/dist/services/wifi/query-keys.js.map +1 -0
  334. package/dist/services/wifi/use-wifi-info.d.ts +472 -0
  335. package/dist/services/wifi/use-wifi-info.js +95 -0
  336. package/dist/services/wifi/use-wifi-info.js.map +1 -0
  337. package/dist/services/wifi/wifi-info.types.d.ts +22 -0
  338. package/dist/services/wifi/wifi-info.types.js +21 -0
  339. package/dist/services/wifi/wifi-info.types.js.map +1 -0
  340. package/dist/services/wifi/wifi-info.utils.d.ts +15 -0
  341. package/dist/services/wifi/wifi-info.utils.js +114 -0
  342. package/dist/services/wifi/wifi-info.utils.js.map +1 -0
  343. package/dist/services/wifi/wifi-info.utils.simulator.d.ts +3 -0
  344. package/dist/services/wifi/wifi-info.utils.simulator.js +23 -0
  345. package/dist/services/wifi/wifi-info.utils.simulator.js.map +1 -0
  346. package/dist/services/wifi/wifi-info.utils.windows.d.ts +2 -0
  347. package/dist/services/wifi/wifi-info.utils.windows.js +6 -0
  348. package/dist/services/wifi/wifi-info.utils.windows.js.map +1 -0
  349. package/dist/services/wifi/wifi-infos-context.d.ts +170 -0
  350. package/dist/services/wifi/wifi-infos-context.js +34 -0
  351. package/dist/services/wifi/wifi-infos-context.js.map +1 -0
  352. package/dist/store/common-logs.store.d.ts +13 -0
  353. package/dist/store/common-logs.store.js +32 -0
  354. package/dist/store/common-logs.store.js.map +1 -0
  355. package/dist/store/common.store.d.ts +12 -0
  356. package/dist/store/common.store.js +40 -0
  357. package/dist/store/common.store.js.map +1 -0
  358. package/dist/store/index.d.ts +3 -0
  359. package/dist/store/index.js +4 -0
  360. package/dist/store/index.js.map +1 -0
  361. package/dist/store/react-query-provider.d.ts +4 -0
  362. package/dist/store/react-query-provider.js +7 -0
  363. package/dist/store/react-query-provider.js.map +1 -0
  364. package/dist/theme/dark-colors-scheme.d.ts +42 -0
  365. package/dist/theme/dark-colors-scheme.js +44 -0
  366. package/dist/theme/dark-colors-scheme.js.map +1 -0
  367. package/dist/theme/index.d.ts +3 -0
  368. package/dist/theme/index.js +4 -0
  369. package/dist/theme/index.js.map +1 -0
  370. package/dist/theme/light-colors-scheme.d.ts +42 -0
  371. package/dist/theme/light-colors-scheme.js +44 -0
  372. package/dist/theme/light-colors-scheme.js.map +1 -0
  373. package/dist/theme/theme.d.ts +171 -0
  374. package/dist/theme/theme.js +27 -0
  375. package/dist/theme/theme.js.map +1 -0
  376. package/dist/utils/alert.utils.d.ts +1 -0
  377. package/dist/utils/alert.utils.js +12 -0
  378. package/dist/utils/alert.utils.js.map +1 -0
  379. package/dist/utils/axios.config.d.ts +2 -0
  380. package/dist/utils/axios.config.js +15 -0
  381. package/dist/utils/axios.config.js.map +1 -0
  382. package/dist/utils/base64.utils.d.ts +2 -0
  383. package/dist/utils/base64.utils.js +8 -0
  384. package/dist/utils/base64.utils.js.map +1 -0
  385. package/dist/utils/clipboard.utils.d.ts +1 -0
  386. package/dist/utils/clipboard.utils.js +12 -0
  387. package/dist/utils/clipboard.utils.js.map +1 -0
  388. package/dist/utils/color.utils.d.ts +1 -0
  389. package/dist/utils/color.utils.js +27 -0
  390. package/dist/utils/color.utils.js.map +1 -0
  391. package/dist/utils/date.utils.d.ts +7 -0
  392. package/dist/utils/date.utils.js +20 -0
  393. package/dist/utils/date.utils.js.map +1 -0
  394. package/dist/utils/device.utils.d.ts +4 -0
  395. package/dist/utils/device.utils.js +28 -0
  396. package/dist/utils/device.utils.js.map +1 -0
  397. package/dist/utils/device.utils.windows.d.ts +3 -0
  398. package/dist/utils/device.utils.windows.js +11 -0
  399. package/dist/utils/device.utils.windows.js.map +1 -0
  400. package/dist/utils/digest-auth.d.ts +32 -0
  401. package/dist/utils/digest-auth.js +151 -0
  402. package/dist/utils/digest-auth.js.map +1 -0
  403. package/dist/utils/env.utils.d.ts +5 -0
  404. package/dist/utils/env.utils.js +32 -0
  405. package/dist/utils/env.utils.js.map +1 -0
  406. package/dist/utils/env.utils.windows.d.ts +3 -0
  407. package/dist/utils/env.utils.windows.js +11 -0
  408. package/dist/utils/env.utils.windows.js.map +1 -0
  409. package/dist/utils/errors.utils.d.ts +7 -0
  410. package/dist/utils/errors.utils.js +20 -0
  411. package/dist/utils/errors.utils.js.map +1 -0
  412. package/dist/utils/file-picker.utils.d.ts +30 -0
  413. package/dist/utils/file-picker.utils.js +18 -0
  414. package/dist/utils/file-picker.utils.js.map +1 -0
  415. package/dist/utils/file-picker.utils.windows.d.ts +9 -0
  416. package/dist/utils/file-picker.utils.windows.js +6 -0
  417. package/dist/utils/file-picker.utils.windows.js.map +1 -0
  418. package/dist/utils/file.utils.d.ts +31 -0
  419. package/dist/utils/file.utils.js +108 -0
  420. package/dist/utils/file.utils.js.map +1 -0
  421. package/dist/utils/filename.utils.d.ts +14 -0
  422. package/dist/utils/filename.utils.js +72 -0
  423. package/dist/utils/filename.utils.js.map +1 -0
  424. package/dist/utils/font.utils.d.ts +1 -0
  425. package/dist/utils/font.utils.js +8 -0
  426. package/dist/utils/font.utils.js.map +1 -0
  427. package/dist/utils/http.utils.d.ts +3 -0
  428. package/dist/utils/http.utils.js +20 -0
  429. package/dist/utils/http.utils.js.map +1 -0
  430. package/dist/utils/image.utils.d.ts +1 -0
  431. package/dist/utils/image.utils.js +16 -0
  432. package/dist/utils/image.utils.js.map +1 -0
  433. package/dist/utils/index.d.ts +29 -0
  434. package/dist/utils/index.js +30 -0
  435. package/dist/utils/index.js.map +1 -0
  436. package/dist/utils/licences.utils.d.ts +16 -0
  437. package/dist/utils/licences.utils.js +19 -0
  438. package/dist/utils/licences.utils.js.map +1 -0
  439. package/dist/utils/linking.utils.d.ts +3 -0
  440. package/dist/utils/linking.utils.js +33 -0
  441. package/dist/utils/linking.utils.js.map +1 -0
  442. package/dist/utils/network.utils.d.ts +4 -0
  443. package/dist/utils/network.utils.js +42 -0
  444. package/dist/utils/network.utils.js.map +1 -0
  445. package/dist/utils/number.utils.d.ts +1 -0
  446. package/dist/utils/number.utils.js +13 -0
  447. package/dist/utils/number.utils.js.map +1 -0
  448. package/dist/utils/platform.utils.d.ts +1 -0
  449. package/dist/utils/platform.utils.js +6 -0
  450. package/dist/utils/platform.utils.js.map +1 -0
  451. package/dist/utils/regex.d.ts +2 -0
  452. package/dist/utils/regex.js +3 -0
  453. package/dist/utils/regex.js.map +1 -0
  454. package/dist/utils/sharing.utils.d.ts +9 -0
  455. package/dist/utils/sharing.utils.js +58 -0
  456. package/dist/utils/sharing.utils.js.map +1 -0
  457. package/dist/utils/sharing.utils.windows.d.ts +3 -0
  458. package/dist/utils/sharing.utils.windows.js +11 -0
  459. package/dist/utils/sharing.utils.windows.js.map +1 -0
  460. package/dist/utils/sqlite.utils.d.ts +10 -0
  461. package/dist/utils/sqlite.utils.js +37 -0
  462. package/dist/utils/sqlite.utils.js.map +1 -0
  463. package/dist/utils/storage.d.ts +10 -0
  464. package/dist/utils/storage.js +60 -0
  465. package/dist/utils/storage.js.map +1 -0
  466. package/dist/utils/storage.windows.d.ts +10 -0
  467. package/dist/utils/storage.windows.js +34 -0
  468. package/dist/utils/storage.windows.js.map +1 -0
  469. package/dist/utils/string.utils.d.ts +16 -0
  470. package/dist/utils/string.utils.js +30 -0
  471. package/dist/utils/string.utils.js.map +1 -0
  472. package/dist/utils/thread.utils.d.ts +1 -0
  473. package/dist/utils/thread.utils.js +2 -0
  474. package/dist/utils/thread.utils.js.map +1 -0
  475. package/dist/utils/time.utils.d.ts +12 -0
  476. package/dist/utils/time.utils.js +13 -0
  477. package/dist/utils/time.utils.js.map +1 -0
  478. package/dist/utils/types.utils.d.ts +4 -0
  479. package/dist/utils/types.utils.js +24 -0
  480. package/dist/utils/types.utils.js.map +1 -0
  481. package/dist/utils/uri.utils.d.ts +11 -0
  482. package/dist/utils/uri.utils.js +19 -0
  483. package/dist/utils/uri.utils.js.map +1 -0
  484. package/dist/utils/webview.utils.d.ts +9 -0
  485. package/dist/utils/webview.utils.js +18 -0
  486. package/dist/utils/webview.utils.js.map +1 -0
  487. package/package.json +176 -0
@@ -0,0 +1,13 @@
1
+ import { type ComponentProps, type FunctionComponent, type ReactNode } from 'react';
2
+ import { Dialog } from 'react-native-paper';
3
+ type DialogProps = ComponentProps<typeof Dialog>;
4
+ interface DialogOkCancelProps extends Omit<DialogProps, 'children' | 'visible'> {
5
+ icon?: string;
6
+ title?: ReactNode;
7
+ description?: ReactNode;
8
+ onOk: () => void;
9
+ onCancel: () => void;
10
+ isVisible: boolean;
11
+ }
12
+ export declare const DialogOkCancel: FunctionComponent<DialogOkCancelProps>;
13
+ export {};
@@ -0,0 +1,44 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { useTranslation } from 'react-i18next';
14
+ import { StyleSheet } from 'react-native';
15
+ import { Button, Dialog, Portal, Text } from 'react-native-paper';
16
+ import { useDialogStyles } from './use-dialog-styles';
17
+ export const DialogOkCancel = (_a) => {
18
+ var { icon, title, description, onOk, onCancel, isVisible } = _a, rest = __rest(_a, ["icon", "title", "description", "onOk", "onCancel", "isVisible"]);
19
+ const { style: dialogStyleProp } = rest, dialogProps = __rest(rest, ["style"]);
20
+ const styles = useStyles();
21
+ const { t } = useTranslation();
22
+ const hasIcon = !!icon;
23
+ const hasTitle = !!title;
24
+ const hasTitleString = typeof title === 'string';
25
+ const hasDescription = !!description;
26
+ const hasDescriptionString = typeof description === 'string';
27
+ if (!isVisible) {
28
+ return null;
29
+ }
30
+ return (_jsx(Portal, { children: _jsxs(Dialog, Object.assign({ style: [styles.dialog, dialogStyleProp], visible: true, onDismiss: onCancel }, dialogProps, { children: [hasIcon && _jsx(Dialog.Icon, { icon: icon }), hasTitle && _jsx(Dialog.Title, { children: hasTitleString ? _jsx(Text, { children: title }) : title }), hasDescription && (_jsx(Dialog.Content, { children: hasDescriptionString ? _jsx(Text, { children: description }) : description })), _jsxs(Dialog.Actions, { children: [_jsx(Button, { onPress: onCancel, children: t('common:cancel') }), _jsx(Button, { style: styles.button, mode: "contained", onPress: onOk, children: t('common:ok') })] })] })) }));
31
+ };
32
+ const useStyles = () => {
33
+ const { width, alignSelf } = useDialogStyles();
34
+ return StyleSheet.create({
35
+ button: {
36
+ width: 60,
37
+ },
38
+ dialog: {
39
+ width,
40
+ alignSelf,
41
+ },
42
+ });
43
+ };
44
+ //# sourceMappingURL=dialog-ok-cancel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog-ok-cancel.js","sourceRoot":"","sources":["../../../src/components/dialogs/dialog-ok-cancel.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAatD,MAAM,CAAC,MAAM,cAAc,GAA2C,CAAC,EAQtE,EAAE,EAAE;QARkE,EACrE,IAAI,EACJ,KAAK,EACL,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,SAAS,OAEV,EADI,IAAI,cAP8D,iEAQtE,CADQ;IAEP,MAAM,EAAE,KAAK,EAAE,eAAe,KAAqB,IAAI,EAApB,WAAW,UAAK,IAAI,EAAjD,SAA0C,CAAO,CAAC;IACxD,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,CAAC;IAE/B,MAAM,OAAO,GAAG,CAAC,CAAC,IAAI,CAAC;IAEvB,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC;IACzB,MAAM,cAAc,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC;IAEjD,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC;IACrC,MAAM,oBAAoB,GAAG,OAAO,WAAW,KAAK,QAAQ,CAAC;IAE7D,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,KAAC,MAAM,cACL,MAAC,MAAM,kBAAC,KAAK,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,IAAM,WAAW,eACjG,OAAO,IAAI,KAAC,MAAM,CAAC,IAAI,IAAC,IAAI,EAAE,IAAI,GAAI,EAEtC,QAAQ,IAAI,KAAC,MAAM,CAAC,KAAK,cAAE,cAAc,CAAC,CAAC,CAAC,KAAC,IAAI,cAAE,KAAK,GAAQ,CAAC,CAAC,CAAC,KAAK,GAAgB,EAExF,cAAc,IAAI,CACjB,KAAC,MAAM,CAAC,OAAO,cAAE,oBAAoB,CAAC,CAAC,CAAC,KAAC,IAAI,cAAE,WAAW,GAAQ,CAAC,CAAC,CAAC,WAAW,GAAkB,CACnG,EAED,MAAC,MAAM,CAAC,OAAO,eACb,KAAC,MAAM,IAAC,OAAO,EAAE,QAAQ,YAAG,CAAC,CAAC,eAAe,CAAC,GAAU,EACxD,KAAC,MAAM,IAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,EAAC,WAAW,EAAC,OAAO,EAAE,IAAI,YACzD,CAAC,CAAC,WAAW,CAAC,GACR,IACM,KACV,GACF,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,eAAe,EAAE,CAAC;IAE/C,OAAO,UAAU,CAAC,MAAM,CAAC;QACvB,MAAM,EAAE;YACN,KAAK,EAAE,EAAE;SACV;QACD,MAAM,EAAE;YACN,KAAK;YACL,SAAS;SACV;KACF,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { type ComponentProps, type FunctionComponent, type ReactNode } from 'react';
2
+ import { Dialog } from 'react-native-paper';
3
+ type DialogProps = ComponentProps<typeof Dialog>;
4
+ interface DialogSyntaxColorResultProps extends Omit<DialogProps, 'children' | 'visible'> {
5
+ icon?: string;
6
+ title: ReactNode;
7
+ code: string;
8
+ language: string;
9
+ maxCodeLength?: number;
10
+ onClose: () => void;
11
+ isVisible: boolean;
12
+ }
13
+ export declare const DialogSyntaxColorResult: FunctionComponent<DialogSyntaxColorResultProps>;
14
+ export {};
@@ -0,0 +1,47 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { useTranslation } from 'react-i18next';
14
+ import { ScrollView, StyleSheet, useWindowDimensions } from 'react-native';
15
+ import { Button, Dialog, Portal } from 'react-native-paper';
16
+ import { setClipboardTextContent } from '../../utils/clipboard.utils';
17
+ import { useSnackbar } from '../snack-bar/snackbar-provider';
18
+ import { SyntaxColoring } from '../syntax/syntax-coloring';
19
+ import { useDialogStyles } from './use-dialog-styles';
20
+ export const DialogSyntaxColorResult = (_a) => {
21
+ var { icon, title, code, language, maxCodeLength, onClose, isVisible } = _a, dialogProps = __rest(_a, ["icon", "title", "code", "language", "maxCodeLength", "onClose", "isVisible"]);
22
+ const styles = useStyles();
23
+ const { showSnackbarMessage } = useSnackbar();
24
+ const { t } = useTranslation();
25
+ const hasIcon = !!icon;
26
+ const hasTitle = !!title;
27
+ const onCopy = () => {
28
+ setClipboardTextContent(code);
29
+ showSnackbarMessage(t('common:copiedToClipboard'));
30
+ };
31
+ if (!isVisible) {
32
+ return null;
33
+ }
34
+ return (_jsx(Portal, { children: _jsxs(Dialog, Object.assign({ visible: true, onDismiss: onClose, style: styles.dialog }, dialogProps, { children: [hasIcon && _jsx(Dialog.Icon, { icon: icon }), hasTitle && _jsx(Dialog.Title, { children: title }), _jsx(Dialog.ScrollArea, { children: _jsx(ScrollView, { children: _jsx(SyntaxColoring, { code: code, language: language, maxCodeLength: maxCodeLength }) }) }), _jsxs(Dialog.Actions, { children: [_jsx(Button, { mode: "outlined", onPress: onCopy, icon: "content-copy", children: t('common:copy') }), _jsx(Button, { mode: "contained", onPress: onClose, children: t('common:close') })] })] })) }));
35
+ };
36
+ const useStyles = () => {
37
+ const { width, alignSelf } = useDialogStyles();
38
+ const { height } = useWindowDimensions();
39
+ return StyleSheet.create({
40
+ dialog: {
41
+ maxHeight: height * 0.8,
42
+ width,
43
+ alignSelf,
44
+ },
45
+ });
46
+ };
47
+ //# sourceMappingURL=dialog-syntax-color-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog-syntax-color-result.js","sourceRoot":"","sources":["../../../src/components/dialogs/dialog-syntax-color-result.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AActD,MAAM,CAAC,MAAM,uBAAuB,GAAoD,CAAC,EASxF,EAAE,EAAE;QAToF,EACvF,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,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ACM,KACV,GACF,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,eAAe,EAAE,CAAC;IAC/C,MAAM,EAAE,MAAM,EAAE,GAAG,mBAAmB,EAAE,CAAC;IAEzC,OAAO,UAAU,CAAC,MAAM,CAAC;QACvB,MAAM,EAAE;YACN,SAAS,EAAE,MAAM,GAAG,GAAG;YACvB,KAAK;YACL,SAAS;SACV;KACF,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './dialog-close-only';
2
+ export * from './dialog-ok-cancel';
3
+ export * from './dialog-syntax-color-result';
4
+ export * from './use-dialog-styles';
@@ -0,0 +1,5 @@
1
+ export * from './dialog-close-only';
2
+ export * from './dialog-ok-cancel';
3
+ export * from './dialog-syntax-color-result';
4
+ export * from './use-dialog-styles';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/dialogs/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const useDialogStyles: () => {
2
+ width: number | undefined;
3
+ alignSelf: "center" | undefined;
4
+ };
@@ -0,0 +1,13 @@
1
+ import { useWindowDimensions } from 'react-native';
2
+ const LARGE_SCREEN_WIDTH = 600;
3
+ const MAX_DIALOG_WIDTH = 500;
4
+ export const useDialogStyles = () => {
5
+ const { width: deviceWidth } = useWindowDimensions();
6
+ const width = deviceWidth > LARGE_SCREEN_WIDTH ? MAX_DIALOG_WIDTH : undefined;
7
+ const alignSelf = width ? 'center' : undefined;
8
+ return {
9
+ width,
10
+ alignSelf,
11
+ };
12
+ };
13
+ //# sourceMappingURL=use-dialog-styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-dialog-styles.js","sourceRoot":"","sources":["../../../src/components/dialogs/use-dialog-styles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAa,MAAM,cAAc,CAAC;AAE9D,MAAM,kBAAkB,GAAG,GAAG,CAAC;AAC/B,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAE7B,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE;IAClC,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,mBAAmB,EAAE,CAAC;IACrD,MAAM,KAAK,GAAG,WAAW,GAAG,kBAAkB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;IAC9E,MAAM,SAAS,GAA2B,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;IAEvE,OAAO;QACL,KAAK;QACL,SAAS;KACV,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { FunctionComponent } from 'react';
2
+ export interface SelectOption {
3
+ label: string;
4
+ value: string;
5
+ }
6
+ export type DropDownSelectorProps = {
7
+ label?: string;
8
+ value?: string;
9
+ onChange: (code: string) => void;
10
+ isError?: boolean;
11
+ options: SelectOption[];
12
+ placeholder?: string;
13
+ searchPlaceholder?: string;
14
+ };
15
+ export declare const DropDownSelector: FunctionComponent<DropDownSelectorProps>;
@@ -0,0 +1,59 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from 'react';
3
+ import { StyleSheet, View } from 'react-native';
4
+ import { Dropdown } from 'react-native-element-dropdown';
5
+ import { Text } from 'react-native-paper';
6
+ import { useAppTheme } from '../../theme/theme';
7
+ export const DropDownSelector = ({ label, value, onChange, isError, options, placeholder, searchPlaceholder, }) => {
8
+ const theme = useAppTheme();
9
+ const { primary, error } = theme.colors;
10
+ const [isFocus, setIsFocus] = useState(false);
11
+ const hasLabel = !!label;
12
+ const styles = useStyles({ isFocus, hasLabel });
13
+ return (_jsxs(View, { children: [hasLabel && (_jsx(Text, { variant: 'bodySmall', style: [styles.dropdownTitle, isFocus && { color: primary }, isError && { color: error }], children: label })), _jsx(Dropdown, { style: [styles.dropdown, isFocus && { borderColor: primary }, isError && { borderColor: error }], autoScroll: false, placeholderStyle: styles.placeholderStyle, selectedTextStyle: styles.selectedTextStyle, inputSearchStyle: styles.inputSearchStyle, iconStyle: styles.iconStyle, data: options, search: false, maxHeight: 300, labelField: "label", valueField: "value", placeholder: isFocus ? '' : placeholder, searchPlaceholder: searchPlaceholder, value: value, onFocus: () => setIsFocus(true), onBlur: () => setIsFocus(false), onChange: ({ value }) => {
14
+ onChange(value);
15
+ setIsFocus(false);
16
+ } })] }));
17
+ };
18
+ const useStyles = ({ isFocus, hasLabel }) => {
19
+ const theme = useAppTheme();
20
+ return StyleSheet.create({
21
+ dropdownTitle: {
22
+ position: 'absolute',
23
+ top: -theme.spacing(1),
24
+ left: theme.spacing(1),
25
+ backgroundColor: theme.colors.surface,
26
+ paddingHorizontal: theme.spacing(0.75),
27
+ color: theme.colors.onSurface,
28
+ zIndex: 1,
29
+ },
30
+ dropdown: {
31
+ height: 50,
32
+ borderColor: isFocus ? theme.colors.primary : theme.colors.outline,
33
+ borderWidth: isFocus ? 2 : 1,
34
+ borderRadius: theme.roundness,
35
+ paddingHorizontal: theme.spacing(1),
36
+ },
37
+ icon: {
38
+ marginRight: 5,
39
+ },
40
+ placeholderStyle: {
41
+ fontSize: 16,
42
+ color: isFocus ? theme.colors.primary : theme.colors.secondary,
43
+ },
44
+ selectedTextStyle: {
45
+ fontSize: 16,
46
+ color: isFocus ? theme.colors.primary : theme.colors.secondary,
47
+ paddingLeft: theme.spacing(1),
48
+ },
49
+ iconStyle: {
50
+ width: 20,
51
+ height: 20,
52
+ },
53
+ inputSearchStyle: {
54
+ height: 40,
55
+ fontSize: 16,
56
+ },
57
+ });
58
+ };
59
+ //# sourceMappingURL=drop-down-selector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drop-down-selector.js","sourceRoot":"","sources":["../../../src/components/drop-down-selector/drop-down-selector.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAqB,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAkBhD,MAAM,CAAC,MAAM,gBAAgB,GAA6C,CAAC,EACzE,KAAK,EACL,KAAK,EACL,QAAQ,EACR,OAAO,EACP,OAAO,EACP,WAAW,EACX,iBAAiB,GAClB,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,WAAW,EAAE,CAAC;IAC5B,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC;IACxC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC;IACzB,MAAM,MAAM,GAAG,SAAS,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC;IAEhD,OAAO,CACL,MAAC,IAAI,eACF,QAAQ,IAAI,CACX,KAAC,IAAI,IAAC,OAAO,EAAC,WAAW,EAAC,KAAK,EAAE,CAAC,MAAM,CAAC,aAAa,EAAE,OAAO,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,OAAO,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAAG,KAAK,GAAQ,CACpI,EAED,KAAC,QAAQ,IACP,KAAK,EAAE,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,OAAO,IAAI,E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YAC7B,MAAM,EAAE,CAAC;SACV;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,EAAE;YACV,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO;YAClE,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAC5B,YAAY,EAAE,KAAK,CAAC,SAAS;YAC7B,iBAAiB,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;SACpC;QACD,IAAI,EAAE;YACJ,WAAW,EAAE,CAAC;SACf;QACD,gBAAgB,EAAE;YAChB,QAAQ,EAAE,EAAE;YACZ,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS;SAC/D;QACD,iBAAiB,EAAE;YACjB,QAAQ,EAAE,EAAE;YACZ,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS;YAC9D,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;SAC9B;QACD,SAAS,EAAE;YACT,KAAK,EAAE,EAAE;YACT,MAAM,EAAE,EAAE;SACX;QACD,gBAAgB,EAAE;YAChB,MAAM,EAAE,EAAE;YACV,QAAQ,EAAE,EAAE;SACb;KACF,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { FunctionComponent } from 'react';
2
+ export declare const DropDownSelector: FunctionComponent<any>;
@@ -0,0 +1,3 @@
1
+ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
+ export const DropDownSelector = () => _jsx(_Fragment, {});
3
+ //# sourceMappingURL=drop-down-selector.windows.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drop-down-selector.windows.js","sourceRoot":"","sources":["../../../src/components/drop-down-selector/drop-down-selector.windows.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,gBAAgB,GAA2B,GAAG,EAAE,CAAC,mBAAK,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './drop-down-selector';
@@ -0,0 +1,2 @@
1
+ export * from './drop-down-selector';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/drop-down-selector/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { type FunctionComponent } from 'react';
2
+ export declare const ErrorBoundaryScreen: FunctionComponent;
@@ -0,0 +1,35 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { router, useLocalSearchParams } from 'expo-router';
3
+ import { useTranslation } from 'react-i18next';
4
+ import { StyleSheet, View } from 'react-native';
5
+ import { Button, Card, Text } from 'react-native-paper';
6
+ import { useAppTheme } from '../../theme/theme';
7
+ import { shareCurrentLogsFile } from '../../utils/sharing.utils';
8
+ export const ErrorBoundaryScreen = () => {
9
+ const styles = useStyles();
10
+ const { t } = useTranslation();
11
+ const { title, description, id } = useLocalSearchParams();
12
+ return (_jsx(View, { style: styles.container, children: _jsxs(Card, { style: styles.card, children: [_jsx(Card.Title, { title: title, titleStyle: styles.errorText }), _jsxs(Card.Content, { children: [_jsx(Text, { variant: "titleMedium", style: styles.label, children: "ID:" }), _jsx(Text, { variant: "bodySmall", children: id }), _jsx(Text, { variant: "titleMedium", style: styles.label, children: "Description:" }), _jsx(Text, { variant: "bodySmall", children: description })] }), _jsxs(Card.Actions, { children: [_jsx(Button, { mode: "outlined", onPress: shareCurrentLogsFile, children: t('common:errorBoundary.details') }), _jsx(Button, { mode: "contained", onPress: () => router.replace('/'), children: t('common:close') })] })] }) }));
13
+ };
14
+ const useStyles = () => {
15
+ const theme = useAppTheme();
16
+ return StyleSheet.create({
17
+ container: {
18
+ flex: 1,
19
+ marginTop: theme.spacing(2),
20
+ padding: theme.spacing(2),
21
+ },
22
+ card: {
23
+ borderWidth: StyleSheet.hairlineWidth,
24
+ borderColor: theme.colors.error,
25
+ },
26
+ errorText: {
27
+ color: theme.colors.error,
28
+ },
29
+ label: {
30
+ marginTop: theme.spacing(1),
31
+ color: theme.colors.onSurfaceVariant,
32
+ },
33
+ });
34
+ };
35
+ //# sourceMappingURL=error-boundary-screen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-boundary-screen.js","sourceRoot":"","sources":["../../../src/components/error/error-boundary-screen.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAE3D,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,CAAC,MAAM,mBAAmB,GAAsB,GAAG,EAAE;IACzD,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,CAAC;IAE/B,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,EAAE,GAAG,oBAAoB,EAAE,CAAC;IAE1D,OAAO,CACL,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,SAAS,YAC3B,MAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,aACtB,KAAC,IAAI,CAAC,KAAK,IAAC,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,CAAC,SAAS,GAAI,EAE1D,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AAC,CAAC;AACL,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { type FunctionComponent } from 'react';
2
+ export declare const ErrorBoundaryScreen: FunctionComponent;
@@ -0,0 +1,3 @@
1
+ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
+ export const ErrorBoundaryScreen = () => (_jsx(_Fragment, {}));
3
+ //# sourceMappingURL=error-boundary-screen.windows.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-boundary-screen.windows.js","sourceRoot":"","sources":["../../../src/components/error/error-boundary-screen.windows.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,mBAAmB,GAAsB,GAAG,EAAE,CAAC,CAAC,mBAAK,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { ErrorBoundaryProps } from 'expo-router';
2
+ import { FunctionComponent } from 'react';
3
+ export declare const ErrorBoundary: FunctionComponent<ErrorBoundaryProps>;
@@ -0,0 +1,27 @@
1
+ import { useRouter } from 'expo-router';
2
+ import * as Sentry from '@sentry/react-native';
3
+ import { useEffect } from 'react';
4
+ import { logger } from '../../logger/logger';
5
+ import { useErrorDetails } from './use-error-details';
6
+ export const ErrorBoundary = ({ error }) => {
7
+ const router = useRouter();
8
+ const { title, description, errorMsg, id, stack } = useErrorDetails(error);
9
+ useEffect(() => {
10
+ logger.error(`ErrorBoundary Unexpected error: ${errorMsg} (ID: ${id}). Stack: ${stack}`, error);
11
+ Sentry.captureException(error, {
12
+ extra: {
13
+ title,
14
+ description,
15
+ errorMsg,
16
+ id,
17
+ stack,
18
+ },
19
+ });
20
+ router.replace({
21
+ pathname: '/error',
22
+ params: { title, description, errorMsg, id },
23
+ });
24
+ }, [router, error]);
25
+ return null;
26
+ };
27
+ //# sourceMappingURL=error-boundary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-boundary.js","sourceRoot":"","sources":["../../../src/components/error/error-boundary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,SAAS,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAqB,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,MAAM,CAAC,MAAM,aAAa,GAA0C,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IAChF,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;IAE3E,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,CAAC,KAAK,CAAC,mCAAmC,QAAQ,SAAS,EAAE,aAAa,KAAK,EAAE,EAAE,KAAK,CAAC,CAAC;QAChG,MAAM,CAAC,gBAAgB,CAAC,KAAK,EAAE;YAC7B,KAAK,EAAE;gBACL,KAAK;gBACL,WAAW;gBACX,QAAQ;gBACR,EAAE;gBACF,KAAK;aACN;SACF,CAAC,CAAC;QAEH,MAAM,CAAC,OAAO,CAAC;YACb,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,EAAE;SAC7C,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IAEpB,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { FunctionComponent } from 'react';
2
+ export declare const ErrorBoundary: FunctionComponent<any>;
@@ -0,0 +1,3 @@
1
+ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
+ export const ErrorBoundary = () => (_jsx(_Fragment, {}));
3
+ //# sourceMappingURL=error-boundary.windows.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-boundary.windows.js","sourceRoot":"","sources":["../../../src/components/error/error-boundary.windows.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,aAAa,GAA2B,GAAG,EAAE,CAAC,CAAC,mBAAK,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { FunctionComponent } from 'react';
2
+ interface ErrorDetailsProps {
3
+ error: Error;
4
+ title?: string;
5
+ }
6
+ export declare const ErrorDetails: FunctionComponent<ErrorDetailsProps>;
7
+ export {};
@@ -0,0 +1,32 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Platform, StyleSheet } from 'react-native';
3
+ import { ScrollView } from 'react-native-gesture-handler';
4
+ import { Text } from 'react-native-paper';
5
+ import { useAppTheme } from '../../theme/theme';
6
+ export const ErrorDetails = ({ error, title = 'Error' }) => {
7
+ const styles = useStyles();
8
+ const errorToStringify = Object.assign(Object.assign({}, error), { stack: undefined });
9
+ return (_jsxs(ScrollView, { style: styles.container, children: [_jsx(Text, { variant: "bodySmall", style: styles.errorText, children: title }), _jsx(Text, { style: styles.jsonText, children: JSON.stringify(errorToStringify, null, 2) })] }));
10
+ };
11
+ const useStyles = () => {
12
+ const theme = useAppTheme();
13
+ return StyleSheet.create({
14
+ container: {
15
+ flex: 1,
16
+ padding: theme.spacing(2),
17
+ borderWidth: StyleSheet.hairlineWidth,
18
+ borderColor: theme.colors.error,
19
+ },
20
+ errorText: {
21
+ color: theme.colors.error,
22
+ },
23
+ jsonText: {
24
+ fontSize: 12,
25
+ fontFamily: Platform.select({
26
+ ios: 'Menlo',
27
+ default: 'monospace',
28
+ }),
29
+ },
30
+ });
31
+ };
32
+ //# sourceMappingURL=error-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-details.js","sourceRoot":"","sources":["../../../src/components/error/error-details.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,UAAU,EAA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0 +1,4 @@
1
+ export * from './error-boundary-screen';
2
+ export * from './error-boundary';
3
+ export * from './error-details';
4
+ export * from './use-error-details';
@@ -0,0 +1,5 @@
1
+ export * from './error-boundary-screen';
2
+ export * from './error-boundary';
3
+ export * from './error-details';
4
+ export * from './use-error-details';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/error/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare const useErrorDetails: (error: unknown) => {
2
+ id: string;
3
+ title: string;
4
+ errorMsg: string;
5
+ description: string;
6
+ stack: string | undefined;
7
+ };
@@ -0,0 +1,19 @@
1
+ import { useTranslation } from 'react-i18next';
2
+ import uuid from 'react-native-uuid';
3
+ import { getErrorMessage } from '../../utils/errors.utils';
4
+ export const useErrorDetails = (error) => {
5
+ const { t } = useTranslation();
6
+ const id = uuid.v4();
7
+ const title = t('common:error');
8
+ const errorMsg = getErrorMessage(error) || 'Unknown';
9
+ const description = t('common:errorBoundary.error', { id, errorMsg });
10
+ const stack = error instanceof Error ? error.stack : '';
11
+ return {
12
+ id,
13
+ title,
14
+ errorMsg,
15
+ description,
16
+ stack,
17
+ };
18
+ };
19
+ //# sourceMappingURL=use-error-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-error-details.js","sourceRoot":"","sources":["../../../src/components/error/use-error-details.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,IAAI,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAc,EAAE,EAAE;IAChD,MAAM,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,CAAC;IAE/B,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;IACrB,MAAM,KAAK,GAAG,CAAC,CAAC,cAAc,CAAC,CAAC;IAChC,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,CAAC,IAAI,SAAS,CAAC;IACrD,MAAM,WAAW,GAAG,CAAC,CAAC,4BAA4B,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;IACtE,MAAM,KAAK,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;IAExD,OAAO;QACL,EAAE;QACF,KAAK;QACL,QAAQ;QACR,WAAW;QACX,KAAK;KACN,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { FunctionComponent } from 'react';
2
+ export declare const EventLogsScreen: FunctionComponent;
@@ -0,0 +1,63 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { LegendList } from '@legendapp/list';
3
+ import { useToggle } from '@uidotdev/usehooks';
4
+ import { format } from 'date-fns';
5
+ import { filesize } from 'filesize';
6
+ import { useEffect, useState } from 'react';
7
+ import { useTranslation } from 'react-i18next';
8
+ import { StyleSheet, View } from 'react-native';
9
+ import { Button, Icon, IconButton, List, Text } from 'react-native-paper';
10
+ import { deleteAllLogFiles, loadAllLogFilesInfo } from '../../logger/logger';
11
+ import { useAppTheme } from '../../theme/theme';
12
+ import { shareTextFile } from '../../utils/sharing.utils';
13
+ import { DialogOkCancel } from '../dialogs/dialog-ok-cancel';
14
+ export const EventLogsScreen = () => {
15
+ const styles = useStyles();
16
+ const theme = useAppTheme();
17
+ const { t } = useTranslation();
18
+ const [files, setFiles] = useState([]);
19
+ useEffect(() => {
20
+ loadAllLogFilesInfo().then(setFiles);
21
+ }, []);
22
+ const [isDeleteDialogVisible, toggleDeleteConfirmVisibility] = useToggle(false);
23
+ const onDeleteConfirmed = () => {
24
+ deleteAllLogFiles()
25
+ .then(() => setFiles([]))
26
+ .finally(() => toggleDeleteConfirmVisibility());
27
+ };
28
+ return (_jsxs(View, { style: styles.container, children: [_jsx(Text, { variant: "titleMedium", style: styles.title, children: t('common:eventLogs') }), _jsx(LegendList, { data: files, renderItem: ({ item }) => {
29
+ var _a, _b;
30
+ const title = item.uri.split('/').pop();
31
+ const updatedAt = 'modificationTime' in item ? new Date(((_a = item.modificationTime) !== null && _a !== void 0 ? _a : 0)) : new Date();
32
+ const formattedUpdatedAt = format(updatedAt, 'yyyy-MM-dd HH:mm:ss');
33
+ const size = 'size' in item ? filesize((_b = item.size) !== null && _b !== void 0 ? _b : 0) : '';
34
+ const description = `${formattedUpdatedAt} [ ${size} ]`;
35
+ return (_jsx(List.Item, { title: title, description: description, left: (props) => (_jsx(List.Icon, Object.assign({}, props, { icon: (props) => _jsx(Icon, Object.assign({ source: "file-document" }, props)) }))), right: () => (_jsx(IconButton, { iconColor: theme.colors.primary, icon: "share", onPress: () => shareTextFile(item.uri) })) }));
36
+ }, estimatedItemSize: 30 }), _jsx(View, { style: styles.actions, children: _jsx(Button, { mode: "outlined", icon: "delete", onPress: () => toggleDeleteConfirmVisibility(), children: t('common:delete') }) }), _jsx(DialogOkCancel, { icon: "alert", title: t('common:confirm'), description: t('common:deleteAllLogsFilesConfirmation'), isVisible: isDeleteDialogVisible, onOk: onDeleteConfirmed, onCancel: toggleDeleteConfirmVisibility })] }));
37
+ };
38
+ const useStyles = () => {
39
+ const theme = useAppTheme();
40
+ return StyleSheet.create({
41
+ container: {
42
+ flex: 1,
43
+ padding: theme.spacing(2),
44
+ },
45
+ title: {
46
+ marginBottom: theme.spacing(2),
47
+ },
48
+ fileItem: {
49
+ padding: theme.spacing(2),
50
+ borderBottomWidth: 1,
51
+ borderBottomColor: theme.colors.outline,
52
+ },
53
+ actions: {
54
+ flexDirection: 'row',
55
+ justifyContent: 'center',
56
+ gap: theme.spacing(2),
57
+ },
58
+ sharePressed: {
59
+ opacity: 0.5,
60
+ },
61
+ });
62
+ };
63
+ //# sourceMappingURL=event-logs-screen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-logs-screen.js","sourceRoot":"","sources":["../../../src/components/event-logs/event-logs-screen.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAc,EAAqB,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,MAAM,CAAC,MAAM,eAAe,GAAsB,GAAG,EAAE;IACrD,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,KAAK,GAAG,WAAW,EAAE,CAAC;IAC5B,MAAM,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,CAAC;IAC/B,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAa,EAAE,CAAC,CAAC;IAEnD,SAAS,CAAC,GAAG,EAAE;QACb,mBAAmB,EAAE,CAAC,IAAI,CAAC,QAAQ,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KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;SAC/B;QACD,QAAQ,EAAE;YACR,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;YACzB,iBAAiB,EAAE,CAAC;YACpB,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO;SACxC;QACD,OAAO,EAAE;YACP,aAAa,EAAE,KAAK;YACpB,cAAc,EAAE,QAAQ;YACxB,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;SACtB;QACD,YAAY,EAAE;YACZ,OAAO,EAAE,GAAG;SACb;KACF,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './event-logs-screen';
2
+ export * from './live-logs-viewer';
@@ -0,0 +1,3 @@
1
+ export * from './event-logs-screen';
2
+ export * from './live-logs-viewer';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/event-logs/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './log-entry-item-suffix';
2
+ export * from './log-entry-item';
3
+ export * from './logs-viewer';
4
+ export * from './logs-viewer.utils';
5
+ export * from './use-auto-scroll';
6
+ export * from './use-logs-actions';
@@ -0,0 +1,7 @@
1
+ export * from './log-entry-item-suffix';
2
+ export * from './log-entry-item';
3
+ export * from './logs-viewer';
4
+ export * from './logs-viewer.utils';
5
+ export * from './use-auto-scroll';
6
+ export * from './use-logs-actions';
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/event-logs/live-logs-viewer/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}