@lichens-innovation/react-native-common 3.10.0 → 3.11.1

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 (547) hide show
  1. package/README.md +35 -0
  2. package/dist/index.d.ts +1860 -9
  3. package/dist/index.js +4666 -9
  4. package/dist/index.js.map +1 -1
  5. package/dist/rjsf.d.ts +125 -0
  6. package/dist/rjsf.js +1484 -0
  7. package/dist/rjsf.js.map +1 -0
  8. package/package.json +45 -8
  9. package/dist/components/battery/battery-level.d.ts +0 -9
  10. package/dist/components/battery/battery-level.js +0 -9
  11. package/dist/components/battery/battery-level.js.map +0 -1
  12. package/dist/components/battery/battery.utils.d.ts +0 -2
  13. package/dist/components/battery/battery.utils.js +0 -24
  14. package/dist/components/battery/battery.utils.js.map +0 -1
  15. package/dist/components/battery/index.d.ts +0 -2
  16. package/dist/components/battery/index.js +0 -3
  17. package/dist/components/battery/index.js.map +0 -1
  18. package/dist/components/bottom-sheet/bottom-sheet.constants.d.ts +0 -1
  19. package/dist/components/bottom-sheet/bottom-sheet.constants.js +0 -2
  20. package/dist/components/bottom-sheet/bottom-sheet.constants.js.map +0 -1
  21. package/dist/components/bottom-sheet/default-backdrop.d.ts +0 -3
  22. package/dist/components/bottom-sheet/default-backdrop.js +0 -4
  23. package/dist/components/bottom-sheet/default-backdrop.js.map +0 -1
  24. package/dist/components/bottom-sheet/default-backdrop.windows.d.ts +0 -2
  25. package/dist/components/bottom-sheet/default-backdrop.windows.js +0 -3
  26. package/dist/components/bottom-sheet/default-backdrop.windows.js.map +0 -1
  27. package/dist/components/bottom-sheet/default-sheet-background.d.ts +0 -3
  28. package/dist/components/bottom-sheet/default-sheet-background.js +0 -8
  29. package/dist/components/bottom-sheet/default-sheet-background.js.map +0 -1
  30. package/dist/components/bottom-sheet/index.d.ts +0 -4
  31. package/dist/components/bottom-sheet/index.js +0 -5
  32. package/dist/components/bottom-sheet/index.js.map +0 -1
  33. package/dist/components/bottom-sheet/use-bottom-sheet-toggler.d.ts +0 -7
  34. package/dist/components/bottom-sheet/use-bottom-sheet-toggler.js +0 -39
  35. package/dist/components/bottom-sheet/use-bottom-sheet-toggler.js.map +0 -1
  36. package/dist/components/code-scanner/barcode-scanner-dialog.d.ts +0 -11
  37. package/dist/components/code-scanner/barcode-scanner-dialog.js +0 -32
  38. package/dist/components/code-scanner/barcode-scanner-dialog.js.map +0 -1
  39. package/dist/components/code-scanner/barcode-scanner.d.ts +0 -7
  40. package/dist/components/code-scanner/barcode-scanner.js +0 -34
  41. package/dist/components/code-scanner/barcode-scanner.js.map +0 -1
  42. package/dist/components/code-scanner/barcode-scanner.utils.d.ts +0 -4
  43. package/dist/components/code-scanner/barcode-scanner.utils.js +0 -38
  44. package/dist/components/code-scanner/barcode-scanner.utils.js.map +0 -1
  45. package/dist/components/code-scanner/index.d.ts +0 -3
  46. package/dist/components/code-scanner/index.js +0 -4
  47. package/dist/components/code-scanner/index.js.map +0 -1
  48. package/dist/components/dialogs/dialog-close-only.d.ts +0 -12
  49. package/dist/components/dialogs/dialog-close-only.js +0 -39
  50. package/dist/components/dialogs/dialog-close-only.js.map +0 -1
  51. package/dist/components/dialogs/dialog-ok-cancel.d.ts +0 -13
  52. package/dist/components/dialogs/dialog-ok-cancel.js +0 -44
  53. package/dist/components/dialogs/dialog-ok-cancel.js.map +0 -1
  54. package/dist/components/dialogs/dialog-single-textinput.d.ts +0 -16
  55. package/dist/components/dialogs/dialog-single-textinput.js +0 -59
  56. package/dist/components/dialogs/dialog-single-textinput.js.map +0 -1
  57. package/dist/components/dialogs/dialog-syntax-color-result.d.ts +0 -14
  58. package/dist/components/dialogs/dialog-syntax-color-result.js +0 -47
  59. package/dist/components/dialogs/dialog-syntax-color-result.js.map +0 -1
  60. package/dist/components/dialogs/index.d.ts +0 -5
  61. package/dist/components/dialogs/index.js +0 -6
  62. package/dist/components/dialogs/index.js.map +0 -1
  63. package/dist/components/dialogs/use-dialog-styles.d.ts +0 -4
  64. package/dist/components/dialogs/use-dialog-styles.js +0 -13
  65. package/dist/components/dialogs/use-dialog-styles.js.map +0 -1
  66. package/dist/components/drop-down-selector/drop-down-selector-item.d.ts +0 -8
  67. package/dist/components/drop-down-selector/drop-down-selector-item.js +0 -24
  68. package/dist/components/drop-down-selector/drop-down-selector-item.js.map +0 -1
  69. package/dist/components/drop-down-selector/drop-down-selector-left-icon.d.ts +0 -7
  70. package/dist/components/drop-down-selector/drop-down-selector-left-icon.js +0 -9
  71. package/dist/components/drop-down-selector/drop-down-selector-left-icon.js.map +0 -1
  72. package/dist/components/drop-down-selector/drop-down-selector.d.ts +0 -17
  73. package/dist/components/drop-down-selector/drop-down-selector.js +0 -60
  74. package/dist/components/drop-down-selector/drop-down-selector.js.map +0 -1
  75. package/dist/components/drop-down-selector/drop-down-selector.utils.d.ts +0 -22
  76. package/dist/components/drop-down-selector/drop-down-selector.utils.js +0 -37
  77. package/dist/components/drop-down-selector/drop-down-selector.utils.js.map +0 -1
  78. package/dist/components/drop-down-selector/drop-down-selector.windows.d.ts +0 -2
  79. package/dist/components/drop-down-selector/drop-down-selector.windows.js +0 -3
  80. package/dist/components/drop-down-selector/drop-down-selector.windows.js.map +0 -1
  81. package/dist/components/drop-down-selector/index.d.ts +0 -1
  82. package/dist/components/drop-down-selector/index.js +0 -2
  83. package/dist/components/drop-down-selector/index.js.map +0 -1
  84. package/dist/components/error/error-boundary-screen.d.ts +0 -2
  85. package/dist/components/error/error-boundary-screen.js +0 -35
  86. package/dist/components/error/error-boundary-screen.js.map +0 -1
  87. package/dist/components/error/error-boundary-screen.windows.d.ts +0 -2
  88. package/dist/components/error/error-boundary-screen.windows.js +0 -3
  89. package/dist/components/error/error-boundary-screen.windows.js.map +0 -1
  90. package/dist/components/error/error-boundary.d.ts +0 -3
  91. package/dist/components/error/error-boundary.js +0 -27
  92. package/dist/components/error/error-boundary.js.map +0 -1
  93. package/dist/components/error/error-boundary.windows.d.ts +0 -2
  94. package/dist/components/error/error-boundary.windows.js +0 -3
  95. package/dist/components/error/error-boundary.windows.js.map +0 -1
  96. package/dist/components/error/error-details.d.ts +0 -7
  97. package/dist/components/error/error-details.js +0 -32
  98. package/dist/components/error/error-details.js.map +0 -1
  99. package/dist/components/error/index.d.ts +0 -4
  100. package/dist/components/error/index.js +0 -5
  101. package/dist/components/error/index.js.map +0 -1
  102. package/dist/components/error/use-error-details.d.ts +0 -7
  103. package/dist/components/error/use-error-details.js +0 -19
  104. package/dist/components/error/use-error-details.js.map +0 -1
  105. package/dist/components/event-logs/event-logs-screen.d.ts +0 -2
  106. package/dist/components/event-logs/event-logs-screen.js +0 -63
  107. package/dist/components/event-logs/event-logs-screen.js.map +0 -1
  108. package/dist/components/event-logs/index.d.ts +0 -2
  109. package/dist/components/event-logs/index.js +0 -3
  110. package/dist/components/event-logs/index.js.map +0 -1
  111. package/dist/components/event-logs/live-logs-viewer/index.d.ts +0 -6
  112. package/dist/components/event-logs/live-logs-viewer/index.js +0 -7
  113. package/dist/components/event-logs/live-logs-viewer/index.js.map +0 -1
  114. package/dist/components/event-logs/live-logs-viewer/log-entry-item-suffix.d.ts +0 -7
  115. package/dist/components/event-logs/live-logs-viewer/log-entry-item-suffix.js +0 -6
  116. package/dist/components/event-logs/live-logs-viewer/log-entry-item-suffix.js.map +0 -1
  117. package/dist/components/event-logs/live-logs-viewer/log-entry-item.d.ts +0 -7
  118. package/dist/components/event-logs/live-logs-viewer/log-entry-item.js +0 -35
  119. package/dist/components/event-logs/live-logs-viewer/log-entry-item.js.map +0 -1
  120. package/dist/components/event-logs/live-logs-viewer/logs-viewer.d.ts +0 -7
  121. package/dist/components/event-logs/live-logs-viewer/logs-viewer.js +0 -44
  122. package/dist/components/event-logs/live-logs-viewer/logs-viewer.js.map +0 -1
  123. package/dist/components/event-logs/live-logs-viewer/logs-viewer.utils.d.ts +0 -1
  124. package/dist/components/event-logs/live-logs-viewer/logs-viewer.utils.js +0 -6
  125. package/dist/components/event-logs/live-logs-viewer/logs-viewer.utils.js.map +0 -1
  126. package/dist/components/event-logs/live-logs-viewer/use-auto-scroll.d.ts +0 -7
  127. package/dist/components/event-logs/live-logs-viewer/use-auto-scroll.js +0 -20
  128. package/dist/components/event-logs/live-logs-viewer/use-auto-scroll.js.map +0 -1
  129. package/dist/components/event-logs/live-logs-viewer/use-logs-actions.d.ts +0 -6
  130. package/dist/components/event-logs/live-logs-viewer/use-logs-actions.js +0 -24
  131. package/dist/components/event-logs/live-logs-viewer/use-logs-actions.js.map +0 -1
  132. package/dist/components/header-actions/header-back-button.d.ts +0 -2
  133. package/dist/components/header-actions/header-back-button.js +0 -5
  134. package/dist/components/header-actions/header-back-button.js.map +0 -1
  135. package/dist/components/header-actions/header-back-button.windows.d.ts +0 -2
  136. package/dist/components/header-actions/header-back-button.windows.js +0 -3
  137. package/dist/components/header-actions/header-back-button.windows.js.map +0 -1
  138. package/dist/components/header-actions/header-button.d.ts +0 -7
  139. package/dist/components/header-actions/header-button.js +0 -18
  140. package/dist/components/header-actions/header-button.js.map +0 -1
  141. package/dist/components/header-actions/index.d.ts +0 -2
  142. package/dist/components/header-actions/index.js +0 -3
  143. package/dist/components/header-actions/index.js.map +0 -1
  144. package/dist/components/index.d.ts +0 -19
  145. package/dist/components/index.js +0 -20
  146. package/dist/components/index.js.map +0 -1
  147. package/dist/components/language-selector/index.d.ts +0 -4
  148. package/dist/components/language-selector/index.js +0 -5
  149. package/dist/components/language-selector/index.js.map +0 -1
  150. package/dist/components/language-selector/language-selector-menu.d.ts +0 -3
  151. package/dist/components/language-selector/language-selector-menu.js +0 -13
  152. package/dist/components/language-selector/language-selector-menu.js.map +0 -1
  153. package/dist/components/language-selector/language-selector-segmented.d.ts +0 -3
  154. package/dist/components/language-selector/language-selector-segmented.js +0 -9
  155. package/dist/components/language-selector/language-selector-segmented.js.map +0 -1
  156. package/dist/components/language-selector/language-selector.d.ts +0 -3
  157. package/dist/components/language-selector/language-selector.js +0 -10
  158. package/dist/components/language-selector/language-selector.js.map +0 -1
  159. package/dist/components/language-selector/language-selector.types.d.ts +0 -9
  160. package/dist/components/language-selector/language-selector.types.js +0 -1
  161. package/dist/components/language-selector/language-selector.types.js.map +0 -1
  162. package/dist/components/layout/full-centered.d.ts +0 -7
  163. package/dist/components/layout/full-centered.js +0 -4
  164. package/dist/components/layout/full-centered.js.map +0 -1
  165. package/dist/components/layout/index.d.ts +0 -4
  166. package/dist/components/layout/index.js +0 -5
  167. package/dist/components/layout/index.js.map +0 -1
  168. package/dist/components/layout/orientation-aware-tabs/index.d.ts +0 -2
  169. package/dist/components/layout/orientation-aware-tabs/index.js +0 -3
  170. package/dist/components/layout/orientation-aware-tabs/index.js.map +0 -1
  171. package/dist/components/layout/orientation-aware-tabs/orientation-aware-tab-button.d.ts +0 -9
  172. package/dist/components/layout/orientation-aware-tabs/orientation-aware-tab-button.js +0 -40
  173. package/dist/components/layout/orientation-aware-tabs/orientation-aware-tab-button.js.map +0 -1
  174. package/dist/components/layout/orientation-aware-tabs/orientation-aware-tabs-layout.d.ts +0 -15
  175. package/dist/components/layout/orientation-aware-tabs/orientation-aware-tabs-layout.js +0 -40
  176. package/dist/components/layout/orientation-aware-tabs/orientation-aware-tabs-layout.js.map +0 -1
  177. package/dist/components/layout/resizable/horizontal-resizable-split-view.d.ts +0 -3
  178. package/dist/components/layout/resizable/horizontal-resizable-split-view.js +0 -80
  179. package/dist/components/layout/resizable/horizontal-resizable-split-view.js.map +0 -1
  180. package/dist/components/layout/resizable/horizontal-resizable-split-view.types.d.ts +0 -20
  181. package/dist/components/layout/resizable/horizontal-resizable-split-view.types.js +0 -1
  182. package/dist/components/layout/resizable/horizontal-resizable-split-view.types.js.map +0 -1
  183. package/dist/components/layout/resizable/horizontal-resizable-split-view.utils.d.ts +0 -2
  184. package/dist/components/layout/resizable/horizontal-resizable-split-view.utils.js +0 -23
  185. package/dist/components/layout/resizable/horizontal-resizable-split-view.utils.js.map +0 -1
  186. package/dist/components/layout/resizable/index.d.ts +0 -6
  187. package/dist/components/layout/resizable/index.js +0 -7
  188. package/dist/components/layout/resizable/index.js.map +0 -1
  189. package/dist/components/layout/resizable/resizable-overlay-view.d.ts +0 -3
  190. package/dist/components/layout/resizable/resizable-overlay-view.js +0 -132
  191. package/dist/components/layout/resizable/resizable-overlay-view.js.map +0 -1
  192. package/dist/components/layout/resizable/resizable-overlay-view.utils.d.ts +0 -16
  193. package/dist/components/layout/resizable/resizable-overlay-view.utils.js +0 -19
  194. package/dist/components/layout/resizable/resizable-overlay-view.utils.js.map +0 -1
  195. package/dist/components/layout/resizable/vertical-resizable-overlay-view.types.d.ts +0 -28
  196. package/dist/components/layout/resizable/vertical-resizable-overlay-view.types.js +0 -1
  197. package/dist/components/layout/resizable/vertical-resizable-overlay-view.types.js.map +0 -1
  198. package/dist/components/layout/resizable/vertical-resizable-overlay-view.utils.d.ts +0 -2
  199. package/dist/components/layout/resizable/vertical-resizable-overlay-view.utils.js +0 -31
  200. package/dist/components/layout/resizable/vertical-resizable-overlay-view.utils.js.map +0 -1
  201. package/dist/components/layout/resizable/vertical-resizable-split-view.d.ts +0 -3
  202. package/dist/components/layout/resizable/vertical-resizable-split-view.js +0 -79
  203. package/dist/components/layout/resizable/vertical-resizable-split-view.js.map +0 -1
  204. package/dist/components/layout/resizable/vertical-resizable-split-view.types.d.ts +0 -20
  205. package/dist/components/layout/resizable/vertical-resizable-split-view.types.js +0 -1
  206. package/dist/components/layout/resizable/vertical-resizable-split-view.types.js.map +0 -1
  207. package/dist/components/layout/resizable/vertical-resizable-split-view.utils.d.ts +0 -2
  208. package/dist/components/layout/resizable/vertical-resizable-split-view.utils.js +0 -23
  209. package/dist/components/layout/resizable/vertical-resizable-split-view.utils.js.map +0 -1
  210. package/dist/components/layout/safe-container.d.ts +0 -8
  211. package/dist/components/layout/safe-container.js +0 -18
  212. package/dist/components/layout/safe-container.js.map +0 -1
  213. package/dist/components/layout/safe-container.windows.d.ts +0 -8
  214. package/dist/components/layout/safe-container.windows.js +0 -16
  215. package/dist/components/layout/safe-container.windows.js.map +0 -1
  216. package/dist/components/lists/index.d.ts +0 -2
  217. package/dist/components/lists/index.js +0 -3
  218. package/dist/components/lists/index.js.map +0 -1
  219. package/dist/components/lists/list-header.d.ts +0 -5
  220. package/dist/components/lists/list-header.js +0 -17
  221. package/dist/components/lists/list-header.js.map +0 -1
  222. package/dist/components/lists/list-items-separator.d.ts +0 -2
  223. package/dist/components/lists/list-items-separator.js +0 -17
  224. package/dist/components/lists/list-items-separator.js.map +0 -1
  225. package/dist/components/on-off-toggle/index.d.ts +0 -1
  226. package/dist/components/on-off-toggle/index.js +0 -2
  227. package/dist/components/on-off-toggle/index.js.map +0 -1
  228. package/dist/components/on-off-toggle/on-off-toggle.d.ts +0 -9
  229. package/dist/components/on-off-toggle/on-off-toggle.js +0 -27
  230. package/dist/components/on-off-toggle/on-off-toggle.js.map +0 -1
  231. package/dist/components/password-input/index.d.ts +0 -1
  232. package/dist/components/password-input/index.js +0 -2
  233. package/dist/components/password-input/index.js.map +0 -1
  234. package/dist/components/password-input/password-input.d.ts +0 -4
  235. package/dist/components/password-input/password-input.js +0 -27
  236. package/dist/components/password-input/password-input.js.map +0 -1
  237. package/dist/components/score-indicator/index.d.ts +0 -1
  238. package/dist/components/score-indicator/index.js +0 -2
  239. package/dist/components/score-indicator/index.js.map +0 -1
  240. package/dist/components/score-indicator/score-indicator.d.ts +0 -6
  241. package/dist/components/score-indicator/score-indicator.js +0 -31
  242. package/dist/components/score-indicator/score-indicator.js.map +0 -1
  243. package/dist/components/snack-bar/index.d.ts +0 -2
  244. package/dist/components/snack-bar/index.js +0 -3
  245. package/dist/components/snack-bar/index.js.map +0 -1
  246. package/dist/components/snack-bar/snackbar-provider.d.ts +0 -8
  247. package/dist/components/snack-bar/snackbar-provider.js +0 -31
  248. package/dist/components/snack-bar/snackbar-provider.js.map +0 -1
  249. package/dist/components/snack-bar/snackbar.constants.d.ts +0 -5
  250. package/dist/components/snack-bar/snackbar.constants.js +0 -6
  251. package/dist/components/snack-bar/snackbar.constants.js.map +0 -1
  252. package/dist/components/spinner/activity-progress-bar-stats.d.ts +0 -8
  253. package/dist/components/spinner/activity-progress-bar-stats.js +0 -27
  254. package/dist/components/spinner/activity-progress-bar-stats.js.map +0 -1
  255. package/dist/components/spinner/activity-progress-bar.d.ts +0 -10
  256. package/dist/components/spinner/activity-progress-bar.js +0 -21
  257. package/dist/components/spinner/activity-progress-bar.js.map +0 -1
  258. package/dist/components/spinner/activity-progress.utils.d.ts +0 -10
  259. package/dist/components/spinner/activity-progress.utils.js +0 -20
  260. package/dist/components/spinner/activity-progress.utils.js.map +0 -1
  261. package/dist/components/spinner/full-centered-spinner.d.ts +0 -2
  262. package/dist/components/spinner/full-centered-spinner.js +0 -5
  263. package/dist/components/spinner/full-centered-spinner.js.map +0 -1
  264. package/dist/components/spinner/index.d.ts +0 -5
  265. package/dist/components/spinner/index.js +0 -6
  266. package/dist/components/spinner/index.js.map +0 -1
  267. package/dist/components/spinner/modal-spinner.d.ts +0 -9
  268. package/dist/components/spinner/modal-spinner.js +0 -34
  269. package/dist/components/spinner/modal-spinner.js.map +0 -1
  270. package/dist/components/syntax/index.d.ts +0 -4
  271. package/dist/components/syntax/index.js +0 -5
  272. package/dist/components/syntax/index.js.map +0 -1
  273. package/dist/components/syntax/styles/dark.d.ts +0 -92
  274. package/dist/components/syntax/styles/dark.js +0 -92
  275. package/dist/components/syntax/styles/dark.js.map +0 -1
  276. package/dist/components/syntax/styles/index.d.ts +0 -2
  277. package/dist/components/syntax/styles/index.js +0 -3
  278. package/dist/components/syntax/styles/index.js.map +0 -1
  279. package/dist/components/syntax/styles/light.d.ts +0 -110
  280. package/dist/components/syntax/styles/light.js +0 -110
  281. package/dist/components/syntax/styles/light.js.map +0 -1
  282. package/dist/components/syntax/syntax-coloring-tag-code.d.ts +0 -9
  283. package/dist/components/syntax/syntax-coloring-tag-code.js +0 -27
  284. package/dist/components/syntax/syntax-coloring-tag-code.js.map +0 -1
  285. package/dist/components/syntax/syntax-coloring-tag-pre.d.ts +0 -9
  286. package/dist/components/syntax/syntax-coloring-tag-pre.js +0 -18
  287. package/dist/components/syntax/syntax-coloring-tag-pre.js.map +0 -1
  288. package/dist/components/syntax/syntax-coloring.d.ts +0 -8
  289. package/dist/components/syntax/syntax-coloring.js +0 -25
  290. package/dist/components/syntax/syntax-coloring.js.map +0 -1
  291. package/dist/components/tab-bar-icon.d.ts +0 -14
  292. package/dist/components/tab-bar-icon.js +0 -12
  293. package/dist/components/tab-bar-icon.js.map +0 -1
  294. package/dist/components/voice-recognition/index.d.ts +0 -2
  295. package/dist/components/voice-recognition/index.js +0 -3
  296. package/dist/components/voice-recognition/index.js.map +0 -1
  297. package/dist/components/voice-recognition/voice-recognition-text-input.d.ts +0 -10
  298. package/dist/components/voice-recognition/voice-recognition-text-input.js +0 -104
  299. package/dist/components/voice-recognition/voice-recognition-text-input.js.map +0 -1
  300. package/dist/components/voice-recognition/voice-recognition.utils.d.ts +0 -7
  301. package/dist/components/voice-recognition/voice-recognition.utils.js +0 -24
  302. package/dist/components/voice-recognition/voice-recognition.utils.js.map +0 -1
  303. package/dist/config/env.config.d.ts +0 -2
  304. package/dist/config/env.config.js +0 -4
  305. package/dist/config/env.config.js.map +0 -1
  306. package/dist/config/index.d.ts +0 -1
  307. package/dist/config/index.js +0 -2
  308. package/dist/config/index.js.map +0 -1
  309. package/dist/hooks/camera-image-picker/camera-image-picker.utils.d.ts +0 -4
  310. package/dist/hooks/camera-image-picker/camera-image-picker.utils.js +0 -16
  311. package/dist/hooks/camera-image-picker/camera-image-picker.utils.js.map +0 -1
  312. package/dist/hooks/camera-image-picker/index.d.ts +0 -2
  313. package/dist/hooks/camera-image-picker/index.js +0 -3
  314. package/dist/hooks/camera-image-picker/index.js.map +0 -1
  315. package/dist/hooks/camera-image-picker/use-camera-image-picker.d.ts +0 -5
  316. package/dist/hooks/camera-image-picker/use-camera-image-picker.js +0 -53
  317. package/dist/hooks/camera-image-picker/use-camera-image-picker.js.map +0 -1
  318. package/dist/hooks/index.d.ts +0 -9
  319. package/dist/hooks/index.js +0 -10
  320. package/dist/hooks/index.js.map +0 -1
  321. package/dist/hooks/use-animate-on-focus.windows.d.ts +0 -1
  322. package/dist/hooks/use-animate-on-focus.windows.js +0 -5
  323. package/dist/hooks/use-animate-on-focus.windows.js.map +0 -1
  324. package/dist/hooks/use-image-picker.d.ts +0 -11
  325. package/dist/hooks/use-image-picker.js +0 -35
  326. package/dist/hooks/use-image-picker.js.map +0 -1
  327. package/dist/hooks/use-image-picker.windows.d.ts +0 -1
  328. package/dist/hooks/use-image-picker.windows.js +0 -5
  329. package/dist/hooks/use-image-picker.windows.js.map +0 -1
  330. package/dist/hooks/use-invalidate-queries-on-focus.d.ts +0 -2
  331. package/dist/hooks/use-invalidate-queries-on-focus.js +0 -11
  332. package/dist/hooks/use-invalidate-queries-on-focus.js.map +0 -1
  333. package/dist/hooks/use-on-html-message.d.ts +0 -5
  334. package/dist/hooks/use-on-html-message.js +0 -30
  335. package/dist/hooks/use-on-html-message.js.map +0 -1
  336. package/dist/hooks/use-single-file-selector.d.ts +0 -17
  337. package/dist/hooks/use-single-file-selector.js +0 -32
  338. package/dist/hooks/use-single-file-selector.js.map +0 -1
  339. package/dist/hooks/use-single-file-selector.windows.d.ts +0 -1
  340. package/dist/hooks/use-single-file-selector.windows.js +0 -5
  341. package/dist/hooks/use-single-file-selector.windows.js.map +0 -1
  342. package/dist/hooks/use-timeout-state.d.ts +0 -1
  343. package/dist/hooks/use-timeout-state.js +0 -11
  344. package/dist/hooks/use-timeout-state.js.map +0 -1
  345. package/dist/hooks/use-timeout-toggle.d.ts +0 -1
  346. package/dist/hooks/use-timeout-toggle.js +0 -20
  347. package/dist/hooks/use-timeout-toggle.js.map +0 -1
  348. package/dist/hooks/use-updates.d.ts +0 -8
  349. package/dist/hooks/use-updates.js +0 -68
  350. package/dist/hooks/use-updates.js.map +0 -1
  351. package/dist/hooks/use-updates.windows.d.ts +0 -1
  352. package/dist/hooks/use-updates.windows.js +0 -5
  353. package/dist/hooks/use-updates.windows.js.map +0 -1
  354. package/dist/hooks/use-window-orientation.d.ts +0 -3
  355. package/dist/hooks/use-window-orientation.js +0 -10
  356. package/dist/hooks/use-window-orientation.js.map +0 -1
  357. package/dist/i18n/en/common.json +0 -188
  358. package/dist/i18n/fr/common.json +0 -188
  359. package/dist/i18n/i18n.d.ts +0 -17
  360. package/dist/i18n/i18n.js +0 -47
  361. package/dist/i18n/i18n.js.map +0 -1
  362. package/dist/i18n/i18n.utils.d.ts +0 -1
  363. package/dist/i18n/i18n.utils.js +0 -7
  364. package/dist/i18n/i18n.utils.js.map +0 -1
  365. package/dist/i18n/i18n.utils.windows.d.ts +0 -1
  366. package/dist/i18n/i18n.utils.windows.js +0 -6
  367. package/dist/i18n/i18n.utils.windows.js.map +0 -1
  368. package/dist/i18n/index.d.ts +0 -2
  369. package/dist/i18n/index.js +0 -3
  370. package/dist/i18n/index.js.map +0 -1
  371. package/dist/logger/index.d.ts +0 -4
  372. package/dist/logger/index.js +0 -5
  373. package/dist/logger/index.js.map +0 -1
  374. package/dist/logger/logger.d.ts +0 -17
  375. package/dist/logger/logger.js +0 -163
  376. package/dist/logger/logger.js.map +0 -1
  377. package/dist/logger/logger.types.d.ts +0 -25
  378. package/dist/logger/logger.types.js +0 -8
  379. package/dist/logger/logger.types.js.map +0 -1
  380. package/dist/logger/logger.utils.d.ts +0 -6
  381. package/dist/logger/logger.utils.js +0 -40
  382. package/dist/logger/logger.utils.js.map +0 -1
  383. package/dist/logger/logger.windows.d.ts +0 -18
  384. package/dist/logger/logger.windows.js +0 -65
  385. package/dist/logger/logger.windows.js.map +0 -1
  386. package/dist/logger/use-log-entry-color.d.ts +0 -1
  387. package/dist/logger/use-log-entry-color.js +0 -23
  388. package/dist/logger/use-log-entry-color.js.map +0 -1
  389. package/dist/services/device-finder/device-finder.d.ts +0 -31
  390. package/dist/services/device-finder/device-finder.js +0 -105
  391. package/dist/services/device-finder/device-finder.js.map +0 -1
  392. package/dist/services/device-finder/device-finder.types.d.ts +0 -8
  393. package/dist/services/device-finder/device-finder.types.js +0 -1
  394. package/dist/services/device-finder/device-finder.types.js.map +0 -1
  395. package/dist/services/device-finder/device-finder.windows.d.ts +0 -18
  396. package/dist/services/device-finder/device-finder.windows.js +0 -48
  397. package/dist/services/device-finder/device-finder.windows.js.map +0 -1
  398. package/dist/services/device-finder/index.d.ts +0 -2
  399. package/dist/services/device-finder/index.js +0 -3
  400. package/dist/services/device-finder/index.js.map +0 -1
  401. package/dist/services/files/index.d.ts +0 -2
  402. package/dist/services/files/index.js +0 -3
  403. package/dist/services/files/index.js.map +0 -1
  404. package/dist/services/files/native-file-system.d.ts +0 -15
  405. package/dist/services/files/native-file-system.js +0 -101
  406. package/dist/services/files/native-file-system.js.map +0 -1
  407. package/dist/services/files/native-file-system.types.d.ts +0 -38
  408. package/dist/services/files/native-file-system.types.js +0 -6
  409. package/dist/services/files/native-file-system.types.js.map +0 -1
  410. package/dist/services/files/native-file-system.windows.d.ts +0 -14
  411. package/dist/services/files/native-file-system.windows.js +0 -31
  412. package/dist/services/files/native-file-system.windows.js.map +0 -1
  413. package/dist/services/index.d.ts +0 -3
  414. package/dist/services/index.js +0 -4
  415. package/dist/services/index.js.map +0 -1
  416. package/dist/services/wifi/index.d.ts +0 -6
  417. package/dist/services/wifi/index.js +0 -7
  418. package/dist/services/wifi/index.js.map +0 -1
  419. package/dist/services/wifi/query-keys.d.ts +0 -10
  420. package/dist/services/wifi/query-keys.js +0 -11
  421. package/dist/services/wifi/query-keys.js.map +0 -1
  422. package/dist/services/wifi/use-wifi-info.d.ts +0 -472
  423. package/dist/services/wifi/use-wifi-info.js +0 -95
  424. package/dist/services/wifi/use-wifi-info.js.map +0 -1
  425. package/dist/services/wifi/wifi-info.types.d.ts +0 -22
  426. package/dist/services/wifi/wifi-info.types.js +0 -21
  427. package/dist/services/wifi/wifi-info.types.js.map +0 -1
  428. package/dist/services/wifi/wifi-info.utils.d.ts +0 -15
  429. package/dist/services/wifi/wifi-info.utils.js +0 -114
  430. package/dist/services/wifi/wifi-info.utils.js.map +0 -1
  431. package/dist/services/wifi/wifi-info.utils.simulator.d.ts +0 -3
  432. package/dist/services/wifi/wifi-info.utils.simulator.js +0 -23
  433. package/dist/services/wifi/wifi-info.utils.simulator.js.map +0 -1
  434. package/dist/services/wifi/wifi-info.utils.windows.d.ts +0 -2
  435. package/dist/services/wifi/wifi-info.utils.windows.js +0 -6
  436. package/dist/services/wifi/wifi-info.utils.windows.js.map +0 -1
  437. package/dist/services/wifi/wifi-infos-context.d.ts +0 -170
  438. package/dist/services/wifi/wifi-infos-context.js +0 -34
  439. package/dist/services/wifi/wifi-infos-context.js.map +0 -1
  440. package/dist/store/common-logs.store.d.ts +0 -13
  441. package/dist/store/common-logs.store.js +0 -32
  442. package/dist/store/common-logs.store.js.map +0 -1
  443. package/dist/store/common.store.d.ts +0 -12
  444. package/dist/store/common.store.js +0 -40
  445. package/dist/store/common.store.js.map +0 -1
  446. package/dist/store/index.d.ts +0 -3
  447. package/dist/store/index.js +0 -4
  448. package/dist/store/index.js.map +0 -1
  449. package/dist/store/react-query-provider.d.ts +0 -4
  450. package/dist/store/react-query-provider.js +0 -7
  451. package/dist/store/react-query-provider.js.map +0 -1
  452. package/dist/theme/dark-colors-scheme.d.ts +0 -42
  453. package/dist/theme/dark-colors-scheme.js +0 -44
  454. package/dist/theme/dark-colors-scheme.js.map +0 -1
  455. package/dist/theme/index.d.ts +0 -3
  456. package/dist/theme/index.js +0 -4
  457. package/dist/theme/index.js.map +0 -1
  458. package/dist/theme/light-colors-scheme.d.ts +0 -42
  459. package/dist/theme/light-colors-scheme.js +0 -44
  460. package/dist/theme/light-colors-scheme.js.map +0 -1
  461. package/dist/theme/theme.d.ts +0 -171
  462. package/dist/theme/theme.js +0 -27
  463. package/dist/theme/theme.js.map +0 -1
  464. package/dist/utils/alert.utils.d.ts +0 -1
  465. package/dist/utils/alert.utils.js +0 -12
  466. package/dist/utils/alert.utils.js.map +0 -1
  467. package/dist/utils/axios.config.d.ts +0 -2
  468. package/dist/utils/axios.config.js +0 -15
  469. package/dist/utils/axios.config.js.map +0 -1
  470. package/dist/utils/base64.utils.d.ts +0 -2
  471. package/dist/utils/base64.utils.js +0 -8
  472. package/dist/utils/base64.utils.js.map +0 -1
  473. package/dist/utils/clipboard.utils.d.ts +0 -1
  474. package/dist/utils/clipboard.utils.js +0 -12
  475. package/dist/utils/clipboard.utils.js.map +0 -1
  476. package/dist/utils/date.utils.d.ts +0 -3
  477. package/dist/utils/date.utils.js +0 -15
  478. package/dist/utils/date.utils.js.map +0 -1
  479. package/dist/utils/device.utils.d.ts +0 -4
  480. package/dist/utils/device.utils.js +0 -28
  481. package/dist/utils/device.utils.js.map +0 -1
  482. package/dist/utils/device.utils.windows.d.ts +0 -3
  483. package/dist/utils/device.utils.windows.js +0 -11
  484. package/dist/utils/device.utils.windows.js.map +0 -1
  485. package/dist/utils/digest-auth.d.ts +0 -32
  486. package/dist/utils/digest-auth.js +0 -157
  487. package/dist/utils/digest-auth.js.map +0 -1
  488. package/dist/utils/env.utils.d.ts +0 -5
  489. package/dist/utils/env.utils.js +0 -32
  490. package/dist/utils/env.utils.js.map +0 -1
  491. package/dist/utils/env.utils.windows.d.ts +0 -3
  492. package/dist/utils/env.utils.windows.js +0 -11
  493. package/dist/utils/env.utils.windows.js.map +0 -1
  494. package/dist/utils/errors.utils.d.ts +0 -6
  495. package/dist/utils/errors.utils.js +0 -9
  496. package/dist/utils/errors.utils.js.map +0 -1
  497. package/dist/utils/file-picker.utils.d.ts +0 -30
  498. package/dist/utils/file-picker.utils.js +0 -18
  499. package/dist/utils/file-picker.utils.js.map +0 -1
  500. package/dist/utils/file-picker.utils.windows.d.ts +0 -9
  501. package/dist/utils/file-picker.utils.windows.js +0 -6
  502. package/dist/utils/file-picker.utils.windows.js.map +0 -1
  503. package/dist/utils/file.utils.d.ts +0 -28
  504. package/dist/utils/file.utils.js +0 -105
  505. package/dist/utils/file.utils.js.map +0 -1
  506. package/dist/utils/filename.utils.d.ts +0 -40
  507. package/dist/utils/filename.utils.js +0 -129
  508. package/dist/utils/filename.utils.js.map +0 -1
  509. package/dist/utils/font.utils.d.ts +0 -1
  510. package/dist/utils/font.utils.js +0 -8
  511. package/dist/utils/font.utils.js.map +0 -1
  512. package/dist/utils/image.utils.d.ts +0 -1
  513. package/dist/utils/image.utils.js +0 -16
  514. package/dist/utils/image.utils.js.map +0 -1
  515. package/dist/utils/index.d.ts +0 -22
  516. package/dist/utils/index.js +0 -23
  517. package/dist/utils/index.js.map +0 -1
  518. package/dist/utils/licences.utils.d.ts +0 -16
  519. package/dist/utils/licences.utils.js +0 -19
  520. package/dist/utils/licences.utils.js.map +0 -1
  521. package/dist/utils/linking.utils.d.ts +0 -3
  522. package/dist/utils/linking.utils.js +0 -33
  523. package/dist/utils/linking.utils.js.map +0 -1
  524. package/dist/utils/network.utils.d.ts +0 -4
  525. package/dist/utils/network.utils.js +0 -41
  526. package/dist/utils/network.utils.js.map +0 -1
  527. package/dist/utils/platform.utils.d.ts +0 -1
  528. package/dist/utils/platform.utils.js +0 -6
  529. package/dist/utils/platform.utils.js.map +0 -1
  530. package/dist/utils/sharing.utils.d.ts +0 -9
  531. package/dist/utils/sharing.utils.js +0 -58
  532. package/dist/utils/sharing.utils.js.map +0 -1
  533. package/dist/utils/sharing.utils.windows.d.ts +0 -3
  534. package/dist/utils/sharing.utils.windows.js +0 -11
  535. package/dist/utils/sharing.utils.windows.js.map +0 -1
  536. package/dist/utils/sqlite.utils.d.ts +0 -10
  537. package/dist/utils/sqlite.utils.js +0 -36
  538. package/dist/utils/sqlite.utils.js.map +0 -1
  539. package/dist/utils/storage.d.ts +0 -10
  540. package/dist/utils/storage.js +0 -60
  541. package/dist/utils/storage.js.map +0 -1
  542. package/dist/utils/storage.windows.d.ts +0 -10
  543. package/dist/utils/storage.windows.js +0 -34
  544. package/dist/utils/storage.windows.js.map +0 -1
  545. package/dist/utils/webview.utils.d.ts +0 -9
  546. package/dist/utils/webview.utils.js +0 -18
  547. package/dist/utils/webview.utils.js.map +0 -1
@@ -1,6 +0,0 @@
1
- export declare const useLogsActions: () => {
2
- filterText: string;
3
- setFilterText: import("react").Dispatch<import("react").SetStateAction<string>>;
4
- filteredLogs: import("../../..").LogEntry[];
5
- handleCopyAllLogs: () => Promise<void>;
6
- };
@@ -1,24 +0,0 @@
1
- import { useDebounce } from '@uidotdev/usehooks';
2
- import { useState } from 'react';
3
- import { useTranslation } from 'react-i18next';
4
- import { commonLogsStore } from '../../../store/common-logs.store';
5
- import { setClipboardTextContent } from '../../../utils/clipboard.utils';
6
- import { useSnackbar } from '../../snack-bar/snackbar-provider';
7
- export const useLogsActions = () => {
8
- const { showSnackbarMessage } = useSnackbar();
9
- const { t } = useTranslation();
10
- const [filterText, setFilterText] = useState('');
11
- const debouncedFilterText = useDebounce(filterText, 300);
12
- const filteredLogs = commonLogsStore.filterLogs(debouncedFilterText);
13
- const handleCopyAllLogs = async () => {
14
- await setClipboardTextContent(commonLogsStore.allLogsAsText);
15
- showSnackbarMessage(t('common:copiedToClipboard'));
16
- };
17
- return {
18
- filterText,
19
- setFilterText,
20
- filteredLogs,
21
- handleCopyAllLogs,
22
- };
23
- };
24
- //# sourceMappingURL=use-logs-actions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-logs-actions.js","sourceRoot":"","sources":["../../../../src/components/event-logs/live-logs-viewer/use-logs-actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAEhE,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE;IACjC,MAAM,EAAE,mBAAmB,EAAE,GAAG,WAAW,EAAE,CAAC;IAC9C,MAAM,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,CAAC;IAE/B,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IACjD,MAAM,mBAAmB,GAAG,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;IACzD,MAAM,YAAY,GAAG,eAAe,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC;IAErE,MAAM,iBAAiB,GAAG,KAAK,IAAI,EAAE;QACnC,MAAM,uBAAuB,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC;QAC7D,mBAAmB,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC;IACrD,CAAC,CAAC;IAEF,OAAO;QACL,UAAU;QACV,aAAa;QACb,YAAY;QACZ,iBAAiB;KAClB,CAAC;AACJ,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- export declare const HeaderBackButton: FunctionComponent;
@@ -1,5 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { router } from 'expo-router';
3
- import { HeaderButton } from './header-button';
4
- export const HeaderBackButton = () => (_jsx(HeaderButton, { iconName: "arrow-left", onPress: () => router.back() }));
5
- //# sourceMappingURL=header-back-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"header-back-button.js","sourceRoot":"","sources":["../../../src/components/header-actions/header-back-button.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,CAAC,MAAM,gBAAgB,GAAsB,GAAG,EAAE,CAAC,CACvD,KAAC,YAAY,IAAC,QAAQ,EAAC,YAAY,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,GAAI,CACrE,CAAC"}
@@ -1,2 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- export declare const HeaderBackButton: FunctionComponent;
@@ -1,3 +0,0 @@
1
- import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
- export const HeaderBackButton = () => (_jsx(_Fragment, {}));
3
- //# sourceMappingURL=header-back-button.windows.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"header-back-button.windows.js","sourceRoot":"","sources":["../../../src/components/header-actions/header-back-button.windows.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAsB,GAAG,EAAE,CAAC,CAAC,mBAAK,CAAC,CAAC"}
@@ -1,7 +0,0 @@
1
- import { type FunctionComponent } from 'react';
2
- type Props = {
3
- iconName: string;
4
- onPress?: () => void;
5
- };
6
- export declare const HeaderButton: FunctionComponent<Props>;
7
- export {};
@@ -1,18 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { StyleSheet } from 'react-native';
3
- import { IconButton } from 'react-native-paper';
4
- import { useAppTheme } from '../../theme/theme';
5
- export const HeaderButton = ({ iconName, onPress }) => {
6
- const styles = useStyles();
7
- const theme = useAppTheme();
8
- return (_jsx(IconButton, { icon: iconName, size: 25, iconColor: theme.colors.primary, style: styles.iconStyle, onPress: onPress }));
9
- };
10
- const useStyles = () => {
11
- const theme = useAppTheme();
12
- return StyleSheet.create({
13
- iconStyle: {
14
- marginHorizontal: theme.spacing(2),
15
- },
16
- });
17
- };
18
- //# sourceMappingURL=header-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"header-button.js","sourceRoot":"","sources":["../../../src/components/header-actions/header-button.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAOhD,MAAM,CAAC,MAAM,YAAY,GAA6B,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IAC9E,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,KAAK,GAAG,WAAW,EAAE,CAAC;IAE5B,OAAO,CACL,KAAC,UAAU,IAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,GAAI,CACrH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,KAAK,GAAG,WAAW,EAAE,CAAC;IAE5B,OAAO,UAAU,CAAC,MAAM,CAAC;QACvB,SAAS,EAAE;YACT,gBAAgB,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;SACnC;KACF,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './header-back-button';
2
- export * from './header-button';
@@ -1,3 +0,0 @@
1
- export * from './header-back-button';
2
- export * from './header-button';
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/header-actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC"}
@@ -1,19 +0,0 @@
1
- export * from './battery';
2
- export * from './bottom-sheet';
3
- export * from './code-scanner';
4
- export * from './dialogs';
5
- export * from './drop-down-selector';
6
- export * from './error';
7
- export * from './event-logs';
8
- export * from './header-actions';
9
- export * from './language-selector';
10
- export * from './layout';
11
- export * from './lists';
12
- export * from './on-off-toggle';
13
- export * from './password-input';
14
- export * from './score-indicator';
15
- export * from './snack-bar';
16
- export * from './spinner';
17
- export * from './syntax';
18
- export * from './tab-bar-icon';
19
- export * from './voice-recognition';
@@ -1,20 +0,0 @@
1
- export * from './battery';
2
- export * from './bottom-sheet';
3
- export * from './code-scanner';
4
- export * from './dialogs';
5
- export * from './drop-down-selector';
6
- export * from './error';
7
- export * from './event-logs';
8
- export * from './header-actions';
9
- export * from './language-selector';
10
- export * from './layout';
11
- export * from './lists';
12
- export * from './on-off-toggle';
13
- export * from './password-input';
14
- export * from './score-indicator';
15
- export * from './snack-bar';
16
- export * from './spinner';
17
- export * from './syntax';
18
- export * from './tab-bar-icon';
19
- export * from './voice-recognition';
20
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC"}
@@ -1,4 +0,0 @@
1
- export * from './language-selector-menu';
2
- export * from './language-selector-segmented';
3
- export * from './language-selector';
4
- export * from './language-selector.types';
@@ -1,5 +0,0 @@
1
- export * from './language-selector-menu';
2
- export * from './language-selector-segmented';
3
- export * from './language-selector';
4
- export * from './language-selector.types';
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/language-selector/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC"}
@@ -1,3 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { LanguageSelectorProps } from './language-selector.types';
3
- export declare const LanguageSelectorMenu: FunctionComponent<LanguageSelectorProps>;
@@ -1,13 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useToggle } from '@uidotdev/usehooks';
3
- import { Button, Menu } from 'react-native-paper';
4
- export const LanguageSelectorMenu = ({ onLanguageChange, label, currentLanguage, supportedLanguages, }) => {
5
- const [isMenuVisible, toggleMenu] = useToggle(false);
6
- const actionLabel = `${label} (${currentLanguage})`;
7
- const onLanguageSelected = (newCode) => {
8
- onLanguageChange(newCode);
9
- toggleMenu(false);
10
- };
11
- return (_jsx(Menu, { visible: isMenuVisible, onDismiss: () => toggleMenu(false), anchorPosition: "bottom", anchor: _jsx(Button, { mode: "outlined", onPress: () => toggleMenu(true), icon: "translate", children: actionLabel }), children: supportedLanguages.map(({ code, selectionLabel }) => (_jsx(Menu.Item, { title: `${selectionLabel} (${code})`, trailingIcon: code === currentLanguage ? 'check' : undefined, onPress: () => onLanguageSelected(code) }, code))) }, String(isMenuVisible)));
12
- };
13
- //# sourceMappingURL=language-selector-menu.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"language-selector-menu.js","sourceRoot":"","sources":["../../../src/components/language-selector/language-selector-menu.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAGlD,MAAM,CAAC,MAAM,oBAAoB,GAA6C,CAAC,EAC7E,gBAAgB,EAChB,KAAK,EACL,eAAe,EACf,kBAAkB,GACnB,EAAE,EAAE;IACH,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC;IACrD,MAAM,WAAW,GAAG,GAAG,KAAK,KAAK,eAAe,GAAG,CAAC;IAEpD,MAAM,kBAAkB,GAAG,CAAC,OAAe,EAAE,EAAE;QAC7C,gBAAgB,CAAC,OAAO,CAAC,CAAC;QAC1B,UAAU,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,IAAI,IAEH,OAAO,EAAE,aAAa,EACtB,SAAS,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EAClC,cAAc,EAAC,QAAQ,EACvB,MAAM,EACJ,KAAC,MAAM,IAAC,IAAI,EAAC,UAAU,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAC,WAAW,YACtE,WAAW,GACL,YAGV,kBAAkB,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CACpD,KAAC,IAAI,CAAC,IAAI,IAER,KAAK,EAAE,GAAG,cAAc,KAAK,IAAI,GAAG,EACpC,YAAY,EAAE,IAAI,KAAK,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,EAC5D,OAAO,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAHlC,IAAI,CAIT,CACH,CAAC,IAjBG,MAAM,CAAC,aAAa,CAAC,CAkBrB,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { LanguageSelectorProps } from './language-selector.types';
3
- export declare const LanguageSelectorSegmented: FunctionComponent<LanguageSelectorProps>;
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { SegmentedButtons } from 'react-native-paper';
3
- export const LanguageSelectorSegmented = ({ onLanguageChange, currentLanguage, supportedLanguages, }) => {
4
- return (_jsx(SegmentedButtons, { value: currentLanguage, onValueChange: onLanguageChange, style: { minWidth: supportedLanguages.length * 100 }, buttons: supportedLanguages.map(({ code, selectionLabel }) => ({
5
- value: code,
6
- label: selectionLabel,
7
- })) }));
8
- };
9
- //# sourceMappingURL=language-selector-segmented.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"language-selector-segmented.js","sourceRoot":"","sources":["../../../src/components/language-selector/language-selector-segmented.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,MAAM,CAAC,MAAM,yBAAyB,GAA6C,CAAC,EAClF,gBAAgB,EAChB,eAAe,EACf,kBAAkB,GACnB,EAAE,EAAE;IACH,OAAO,CACL,KAAC,gBAAgB,IACf,KAAK,EAAE,eAAe,EACtB,aAAa,EAAE,gBAAgB,EAC/B,KAAK,EAAE,EAAE,QAAQ,EAAE,kBAAkB,CAAC,MAAM,GAAG,GAAG,EAAE,EACpD,OAAO,EAAE,kBAAkB,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CAAC;YAC7D,KAAK,EAAE,IAAI;YACX,KAAK,EAAE,cAAc;SACtB,CAAC,CAAC,GACH,CACH,CAAC;AACJ,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { LanguageSelectorProps } from './language-selector.types';
3
- export declare const LanguageSelector: FunctionComponent<LanguageSelectorProps>;
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { DropDownSelector } from '../drop-down-selector/drop-down-selector';
3
- export const LanguageSelector = ({ onLanguageChange, label, currentLanguage, supportedLanguages, placeholder, searchPlaceholder, }) => {
4
- const options = supportedLanguages.map((lang) => ({
5
- label: lang.selectionLabel,
6
- value: lang.code,
7
- }));
8
- return (_jsx(DropDownSelector, { label: label, value: currentLanguage, onChange: onLanguageChange, options: options, placeholder: placeholder, searchPlaceholder: searchPlaceholder }));
9
- };
10
- //# sourceMappingURL=language-selector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"language-selector.js","sourceRoot":"","sources":["../../../src/components/language-selector/language-selector.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAG5E,MAAM,CAAC,MAAM,gBAAgB,GAA6C,CAAC,EACzE,gBAAgB,EAChB,KAAK,EACL,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,iBAAiB,GAClB,EAAE,EAAE;IACH,MAAM,OAAO,GAAG,kBAAkB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAChD,KAAK,EAAE,IAAI,CAAC,cAAc;QAC1B,KAAK,EAAE,IAAI,CAAC,IAAI;KACjB,CAAC,CAAC,CAAC;IAEJ,OAAO,CACL,KAAC,gBAAgB,IACf,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,eAAe,EACtB,QAAQ,EAAE,gBAAgB,EAC1B,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,iBAAiB,EAAE,iBAAiB,GACpC,CACH,CAAC;AACJ,CAAC,CAAC"}
@@ -1,9 +0,0 @@
1
- import { SupportedLanguage } from '../../i18n/i18n';
2
- export interface LanguageSelectorProps {
3
- label?: string;
4
- currentLanguage: string;
5
- supportedLanguages: SupportedLanguage[];
6
- onLanguageChange: (language: string) => void;
7
- placeholder?: string;
8
- searchPlaceholder?: string;
9
- }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=language-selector.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"language-selector.types.js","sourceRoot":"","sources":["../../../src/components/language-selector/language-selector.types.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { PropsWithChildren, type FunctionComponent } from 'react';
2
- import { ViewStyle } from 'react-native';
3
- interface FullCenteredProps extends PropsWithChildren {
4
- style?: ViewStyle;
5
- }
6
- export declare const FullCentered: FunctionComponent<FullCenteredProps>;
7
- export {};
@@ -1,4 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { View } from 'react-native';
3
- export const FullCentered = ({ children, style }) => (_jsx(View, { style: [style, { flex: 1, justifyContent: 'center', alignItems: 'center' }], children: children }));
4
- //# sourceMappingURL=full-centered.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"full-centered.js","sourceRoot":"","sources":["../../../src/components/layout/full-centered.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAa,MAAM,cAAc,CAAC;AAM/C,MAAM,CAAC,MAAM,YAAY,GAAyC,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACzF,KAAC,IAAI,IAAC,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,cAAc,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,YAAG,QAAQ,GAAQ,CACrG,CAAC"}
@@ -1,4 +0,0 @@
1
- export * from './full-centered';
2
- export * from './orientation-aware-tabs/';
3
- export * from './resizable/';
4
- export * from './safe-container';
@@ -1,5 +0,0 @@
1
- export * from './full-centered';
2
- export * from './orientation-aware-tabs/';
3
- export * from './resizable/';
4
- export * from './safe-container';
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './orientation-aware-tab-button';
2
- export * from './orientation-aware-tabs-layout';
@@ -1,3 +0,0 @@
1
- export * from './orientation-aware-tab-button';
2
- export * from './orientation-aware-tabs-layout';
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/layout/orientation-aware-tabs/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC"}
@@ -1,9 +0,0 @@
1
- import { TabTriggerSlotProps } from 'expo-router/ui';
2
- import { FunctionComponent } from 'react';
3
- export type OrientationAwareTabButtonProps = TabTriggerSlotProps & {
4
- icon: string;
5
- title: string;
6
- activeColor: string;
7
- isLabelHidden?: boolean;
8
- };
9
- export declare const OrientationAwareTabButton: FunctionComponent<OrientationAwareTabButtonProps>;
@@ -1,40 +0,0 @@
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 { Pressable, StyleSheet } from 'react-native';
14
- import { Text } from 'react-native-paper';
15
- import { useIsLandscape } from '../../../hooks/use-window-orientation';
16
- import { useAppTheme } from '../../../theme/theme';
17
- import { TabBarIcon } from '../../tab-bar-icon';
18
- export const OrientationAwareTabButton = (_a) => {
19
- var { icon, title, activeColor, isFocused, isLabelHidden = false } = _a, props = __rest(_a, ["icon", "title", "activeColor", "isFocused", "isLabelHidden"]);
20
- const theme = useAppTheme();
21
- const styles = useStyles();
22
- const isLabelVisible = !isLabelHidden;
23
- const color = isFocused ? activeColor : theme.colors.onSurfaceDisabled;
24
- return (_jsxs(Pressable, Object.assign({}, props, { style: [styles.tabButton], children: [_jsx(TabBarIcon, { name: icon, color: color }), isLabelVisible && (_jsx(Text, { variant: "bodySmall", style: { color }, children: title }))] })));
25
- };
26
- const useStyles = () => {
27
- const theme = useAppTheme();
28
- const isLandscape = useIsLandscape();
29
- const padding = theme.spacing(0.5);
30
- return StyleSheet.create({
31
- tabButton: {
32
- flex: 1,
33
- alignItems: 'center',
34
- justifyContent: 'center',
35
- paddingLeft: isLandscape ? padding : 0,
36
- paddingTop: isLandscape ? 0 : padding,
37
- },
38
- });
39
- };
40
- //# sourceMappingURL=orientation-aware-tab-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"orientation-aware-tab-button.js","sourceRoot":"","sources":["../../../../src/components/layout/orientation-aware-tabs/orientation-aware-tab-button.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAEA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAShD,MAAM,CAAC,MAAM,yBAAyB,GAAsD,CAAC,EAO5F,EAAE,EAAE;QAPwF,EAC3F,IAAI,EACJ,KAAK,EACL,WAAW,EACX,SAAS,EACT,aAAa,GAAG,KAAK,OAEtB,EADI,KAAK,cANmF,8DAO5F,CADS;IAER,MAAM,KAAK,GAAG,WAAW,EAAE,CAAC;IAC5B,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,cAAc,GAAY,CAAC,aAAa,CAAC;IAC/C,MAAM,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,iBAAiB,CAAC;IAEvE,OAAO,CACL,MAAC,SAAS,oBAAK,KAAK,IAAE,KAAK,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,aAC7C,KAAC,UAAU,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,GAAI,EAEvC,cAAc,IAAI,CACjB,KAAC,IAAI,IAAC,OAAO,EAAC,WAAW,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,YACvC,KAAK,GACD,CACR,KACS,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,KAAK,GAAG,WAAW,EAAE,CAAC;IAC5B,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAEnC,OAAO,UAAU,CAAC,MAAM,CAAC;QACvB,SAAS,EAAE;YACT,IAAI,EAAE,CAAC;YACP,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;YACxB,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;YACtC,UAAU,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO;SACtC;KACF,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -1,15 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { ViewStyle } from 'react-native';
3
- export type TabItem = {
4
- name: string;
5
- href: string;
6
- title: string;
7
- icon: string;
8
- };
9
- export type OrientationAwareTabsLayoutProps = {
10
- tabs: TabItem[];
11
- activeColor?: string;
12
- containerStyle?: ViewStyle;
13
- tabListStyle?: ViewStyle;
14
- };
15
- export declare const OrientationAwareTabsLayout: FunctionComponent<OrientationAwareTabsLayoutProps>;
@@ -1,40 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { TabList, Tabs, TabSlot, TabTrigger } from 'expo-router/ui';
3
- import { StyleSheet } from 'react-native';
4
- import { useSafeAreaInsets } from 'react-native-safe-area-context';
5
- import { useIsLandscape } from '../../../hooks/use-window-orientation';
6
- import { useAppTheme } from '../../../theme/theme';
7
- import { OrientationAwareTabButton } from './orientation-aware-tab-button';
8
- export const OrientationAwareTabsLayout = ({ tabs, activeColor, containerStyle, tabListStyle, }) => {
9
- const theme = useAppTheme();
10
- const styles = useStyles();
11
- const isLandscape = useIsLandscape();
12
- return (_jsxs(Tabs, { style: [styles.tabsContainer, containerStyle], children: [_jsx(TabSlot, { style: styles.tabSlot }), _jsx(TabList, { style: [styles.tabList, tabListStyle], children: tabs.map((tab) => (_jsx(TabTrigger, { name: tab.name, href: tab.href, asChild: true, children: _jsx(OrientationAwareTabButton, { isLabelHidden: isLandscape, icon: tab.icon, title: tab.title, activeColor: activeColor !== null && activeColor !== void 0 ? activeColor : theme.colors.primary }) }, tab.name))) })] }));
13
- };
14
- const useStyles = () => {
15
- const theme = useAppTheme();
16
- const { bottom, right } = useSafeAreaInsets();
17
- const minPadding = theme.spacing(0.5);
18
- const isLandscape = useIsLandscape();
19
- return StyleSheet.create({
20
- tabsContainer: {
21
- flex: 1,
22
- flexDirection: isLandscape ? 'row' : 'column',
23
- },
24
- tabSlot: {
25
- flex: 1,
26
- },
27
- tabList: {
28
- backgroundColor: theme.colors.elevation.level1,
29
- justifyContent: 'space-around',
30
- flexDirection: isLandscape ? 'column' : 'row',
31
- paddingBottom: isLandscape ? minPadding : bottom,
32
- paddingRight: isLandscape ? right : minPadding,
33
- borderTopWidth: isLandscape ? undefined : StyleSheet.hairlineWidth,
34
- borderTopColor: isLandscape ? undefined : theme.colors.outline,
35
- borderLeftWidth: isLandscape ? StyleSheet.hairlineWidth : undefined,
36
- borderLeftColor: isLandscape ? theme.colors.outline : undefined,
37
- },
38
- });
39
- };
40
- //# sourceMappingURL=orientation-aware-tabs-layout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"orientation-aware-tabs-layout.js","sourceRoot":"","sources":["../../../../src/components/layout/orientation-aware-tabs/orientation-aware-tabs-layout.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEpE,OAAO,EAAE,UAAU,EAAa,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,iBA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iBAAiB,EAAE,CAAC;IAE9C,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAEtC,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IAErC,OAAO,UAAU,CAAC,MAAM,CAAC;QACvB,aAAa,EAAE;YACb,IAAI,EAAE,CAAC;YACP,aAAa,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ;SAC9C;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC;SACR;QACD,OAAO,EAAE;YACP,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM;YAC9C,cAAc,EAAE,cAAc;YAC9B,aAAa,EAAE,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK;YAC7C,aAAa,EAAE,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM;YAChD,YAAY,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU;YAC9C,cAAc,EAAE,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,aAAa;YAClE,cAAc,EAAE,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO;YAC9D,eAAe,EAAE,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS;YACnE,eAAe,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;SAChE;KACF,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- import { type FunctionComponent } from 'react';
2
- import { HorizontalResizableSplitViewProps } from './horizontal-resizable-split-view.types';
3
- export declare const HorizontalResizableSplitView: FunctionComponent<HorizontalResizableSplitViewProps>;
@@ -1,80 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useCallback, useState } from 'react';
3
- import { StyleSheet, View } from 'react-native';
4
- import { Gesture, GestureDetector } from 'react-native-gesture-handler';
5
- import Animated, { useAnimatedStyle, useSharedValue, withSpring } from 'react-native-reanimated';
6
- import { isDevelopment } from '../../../utils';
7
- import { validateResizableSplitViewProps } from './horizontal-resizable-split-view.utils';
8
- const DRAG_HANDLE_WIDTH = 20;
9
- const DEFAULT_ANIMATION_CONFIG = { damping: 25, stiffness: 300, mass: 0.8 };
10
- export const HorizontalResizableSplitView = (props) => {
11
- if (isDevelopment())
12
- validateResizableSplitViewProps(props);
13
- const { leftContent, rightContent, initialLeftRatio = 0.5, minLeftRatio = 0.15, maxLeftRatio = 0.85, handleContainerStyle, handleStyle, hideHandle = false, } = props;
14
- // Track measured container width
15
- const [isReady, setIsReady] = useState(false);
16
- // Shared values for animation
17
- const leftSectionWidth = useSharedValue(0);
18
- const minWidth = useSharedValue(0);
19
- const maxWidth = useSharedValue(0);
20
- const startX = useSharedValue(0);
21
- const isDragging = useSharedValue(false);
22
- // Handle container layout measurement
23
- const handleLayout = useCallback((event) => {
24
- const { width } = event.nativeEvent.layout;
25
- if (width > 0 && !isReady) {
26
- minWidth.value = width * minLeftRatio;
27
- maxWidth.value = width * maxLeftRatio;
28
- leftSectionWidth.value = width * initialLeftRatio;
29
- setIsReady(true);
30
- }
31
- }, [minLeftRatio, maxLeftRatio, initialLeftRatio, minWidth, maxWidth, leftSectionWidth, isReady]);
32
- const panGesture = Gesture.Pan()
33
- .onStart(() => {
34
- startX.value = leftSectionWidth.value;
35
- isDragging.value = true;
36
- })
37
- .onUpdate((event) => {
38
- const newWidth = startX.value + event.translationX;
39
- leftSectionWidth.value = Math.max(minWidth.value, Math.min(newWidth, maxWidth.value));
40
- })
41
- .onEnd(() => {
42
- isDragging.value = false;
43
- });
44
- const leftSectionAnimatedStyle = useAnimatedStyle(() => ({ width: leftSectionWidth.value }));
45
- const dragHandleContainerAnimatedStyle = useAnimatedStyle(() => ({
46
- left: leftSectionWidth.value - DRAG_HANDLE_WIDTH / 2,
47
- }));
48
- const dragHandleAnimatedStyle = useAnimatedStyle(() => ({
49
- transform: [{ scale: withSpring(isDragging.value ? 1.2 : 1, DEFAULT_ANIMATION_CONFIG) }],
50
- }));
51
- return (_jsxs(View, { style: [styles.container], onLayout: handleLayout, children: [_jsx(Animated.View, { style: [styles.leftSection, leftSectionAnimatedStyle], children: leftContent }), !hideHandle && (_jsx(GestureDetector, { gesture: panGesture, children: _jsx(Animated.View, { style: [styles.handleContainer, handleContainerStyle, dragHandleContainerAnimatedStyle], children: _jsx(Animated.View, { style: [styles.handle, handleStyle, dragHandleAnimatedStyle] }) }) })), _jsx(View, { style: [styles.rightSection], children: rightContent })] }));
52
- };
53
- const styles = StyleSheet.create({
54
- container: {
55
- flex: 1,
56
- flexDirection: 'row',
57
- },
58
- leftSection: {
59
- overflow: 'hidden',
60
- },
61
- rightSection: {
62
- flex: 1,
63
- overflow: 'hidden',
64
- },
65
- handleContainer: {
66
- position: 'absolute',
67
- top: 0,
68
- bottom: 0,
69
- width: DRAG_HANDLE_WIDTH,
70
- alignItems: 'center',
71
- justifyContent: 'center',
72
- },
73
- handle: {
74
- width: 4,
75
- height: 40,
76
- backgroundColor: '#888888',
77
- borderRadius: 2,
78
- },
79
- });
80
- //# sourceMappingURL=horizontal-resizable-split-view.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"horizontal-resizable-split-view.js","sourceRoot":"","sources":["../../../../src/components/layout/resizable/horizontal-resizable-split-view.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAA0B,MAAM,OAAO,CAAC;AACtE,OAAO,EAAqB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,QAAQ,EAAE,EAAE,gBAAgB,EAAE,cAAc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,QAAQ;KACzB;IACD,MAAM,EAAE;QACN,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,EAAE;QACV,eAAe,EAAE,SAAS;QAC1B,YAAY,EAAE,CAAC;KAChB;CACF,CAAC,CAAC"}
@@ -1,20 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { StyleProp, ViewStyle } from 'react-native';
3
- export interface HorizontalResizableSplitViewProps {
4
- /** Content to display in the left section */
5
- leftContent: ReactNode;
6
- /** Content to display in the right section */
7
- rightContent: ReactNode;
8
- /** Initial proportion for the left section (0 to 1). Default: 0.5 */
9
- initialLeftRatio?: number;
10
- /** Minimum proportion for the left section (0 to 1). Default: 0.15 */
11
- minLeftRatio?: number;
12
- /** Maximum proportion for the left section (0 to 1). Default: 0.85 */
13
- maxLeftRatio?: number;
14
- /** Style for the drag handle container */
15
- handleContainerStyle?: StyleProp<ViewStyle>;
16
- /** Style for the drag handle bar */
17
- handleStyle?: StyleProp<ViewStyle>;
18
- /** Whether to hide the drag handle. Default: false */
19
- hideHandle?: boolean;
20
- }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=horizontal-resizable-split-view.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"horizontal-resizable-split-view.types.js","sourceRoot":"","sources":["../../../../src/components/layout/resizable/horizontal-resizable-split-view.types.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { HorizontalResizableSplitViewProps } from './horizontal-resizable-split-view.types';
2
- export declare const validateResizableSplitViewProps: (props: HorizontalResizableSplitViewProps) => void;
@@ -1,23 +0,0 @@
1
- import { isNullish } from '@lichens-innovation/ts-common';
2
- export const validateResizableSplitViewProps = (props) => {
3
- const { initialLeftRatio, minLeftRatio, maxLeftRatio } = props;
4
- if (!isNullish(initialLeftRatio)) {
5
- if (initialLeftRatio < 0 || initialLeftRatio > 1)
6
- throw new Error(`initialLeftRatio must be between 0 and 1. Provided: ${initialLeftRatio}`);
7
- }
8
- if (!isNullish(minLeftRatio)) {
9
- if (minLeftRatio < 0 || minLeftRatio > 1)
10
- throw new Error(`minLeftRatio must be between 0 and 1. Provided: ${minLeftRatio}`);
11
- }
12
- if (!isNullish(maxLeftRatio)) {
13
- if (maxLeftRatio < 0 || maxLeftRatio > 1)
14
- throw new Error(`maxLeftRatio must be between 0 and 1. Provided: ${maxLeftRatio}`);
15
- }
16
- if (!isNullish(minLeftRatio) && !isNullish(maxLeftRatio) && minLeftRatio >= maxLeftRatio)
17
- throw new Error(`minLeftRatio must be less than maxLeftRatio. Provided: ${JSON.stringify({ minLeftRatio, maxLeftRatio })}`);
18
- if (!isNullish(initialLeftRatio) && !isNullish(minLeftRatio) && initialLeftRatio < minLeftRatio)
19
- throw new Error(`initialLeftRatio must be >= minLeftRatio. Provided: ${JSON.stringify({ initialLeftRatio, minLeftRatio })}`);
20
- if (!isNullish(initialLeftRatio) && !isNullish(maxLeftRatio) && initialLeftRatio > maxLeftRatio)
21
- throw new Error(`initialLeftRatio must be <= maxLeftRatio. Provided: ${JSON.stringify({ initialLeftRatio, maxLeftRatio })}`);
22
- };
23
- //# sourceMappingURL=horizontal-resizable-split-view.utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"horizontal-resizable-split-view.utils.js","sourceRoot":"","sources":["../../../../src/components/layout/resizable/horizontal-resizable-split-view.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAG1D,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,KAAwC,EAAE,EAAE;IAC1F,MAAM,EAAE,gBAAgB,EAAE,YAAY,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAE/D,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAAE,CAAC;QACjC,IAAI,gBAAgB,GAAG,CAAC,IAAI,gBAAgB,GAAG,CAAC;YAC9C,MAAM,IAAI,KAAK,CAAC,uDAAuD,gBAAgB,EAAE,CAAC,CAAC;IAC/F,CAAC;IAED,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,EAAE,CAAC;QAC7B,IAAI,YAAY,GAAG,CAAC,IAAI,YAAY,GAAG,CAAC;YACtC,MAAM,IAAI,KAAK,CAAC,mDAAmD,YAAY,EAAE,CAAC,CAAC;IACvF,CAAC;IAED,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,EAAE,CAAC;QAC7B,IAAI,YAAY,GAAG,CAAC,IAAI,YAAY,GAAG,CAAC;YACtC,MAAM,IAAI,KAAK,CAAC,mDAAmD,YAAY,EAAE,CAAC,CAAC;IACvF,CAAC;IAED,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,YAAY,IAAI,YAAY;QACtF,MAAM,IAAI,KAAK,CACb,0DAA0D,IAAI,CAAC,SAAS,CAAC,EAAE,YAAY,EAAE,YAAY,EAAE,CAAC,EAAE,CAC3G,CAAC;IAEJ,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,gBAAgB,GAAG,YAAY;QAC7F,MAAM,IAAI,KAAK,CACb,uDAAuD,IAAI,CAAC,SAAS,CAAC,EAAE,gBAAgB,EAAE,YAAY,EAAE,CAAC,EAAE,CAC5G,CAAC;IAEJ,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,gBAAgB,GAAG,YAAY;QAC7F,MAAM,IAAI,KAAK,CACb,uDAAuD,IAAI,CAAC,SAAS,CAAC,EAAE,gBAAgB,EAAE,YAAY,EAAE,CAAC,EAAE,CAC5G,CAAC;AACN,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- export * from './horizontal-resizable-split-view';
2
- export * from './horizontal-resizable-split-view.types';
3
- export * from './resizable-overlay-view';
4
- export * from './vertical-resizable-overlay-view.types';
5
- export * from './vertical-resizable-split-view';
6
- export * from './vertical-resizable-split-view.types';