tinybase 5.3.1 → 5.3.2

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 (565) hide show
  1. package/cjs/common/index.cjs +5 -7
  2. package/cjs/common/with-schemas/index.cjs +5 -7
  3. package/cjs/es6/common/index.cjs +5 -7
  4. package/cjs/es6/common/with-schemas/index.cjs +5 -7
  5. package/cjs/es6/index.cjs +18 -12
  6. package/cjs/es6/indexes/index.cjs +0 -6
  7. package/cjs/es6/indexes/with-schemas/index.cjs +0 -6
  8. package/cjs/es6/mergeable-store/index.cjs +17 -11
  9. package/cjs/es6/mergeable-store/with-schemas/index.cjs +17 -11
  10. package/cjs/es6/metrics/index.cjs +1 -1
  11. package/cjs/es6/metrics/with-schemas/index.cjs +1 -1
  12. package/cjs/es6/min/common/index.cjs +1 -1
  13. package/cjs/es6/min/common/index.cjs.gz +0 -0
  14. package/cjs/es6/min/common/with-schemas/index.cjs +1 -1
  15. package/cjs/es6/min/common/with-schemas/index.cjs.gz +0 -0
  16. package/cjs/es6/min/index.cjs +1 -1
  17. package/cjs/es6/min/index.cjs.gz +0 -0
  18. package/cjs/es6/min/indexes/index.cjs +1 -1
  19. package/cjs/es6/min/indexes/index.cjs.gz +0 -0
  20. package/cjs/es6/min/indexes/with-schemas/index.cjs +1 -1
  21. package/cjs/es6/min/indexes/with-schemas/index.cjs.gz +0 -0
  22. package/cjs/es6/min/mergeable-store/index.cjs +1 -1
  23. package/cjs/es6/min/mergeable-store/index.cjs.gz +0 -0
  24. package/cjs/es6/min/mergeable-store/with-schemas/index.cjs +1 -1
  25. package/cjs/es6/min/mergeable-store/with-schemas/index.cjs.gz +0 -0
  26. package/cjs/es6/min/persisters/persister-pglite/index.cjs +1 -1
  27. package/cjs/es6/min/persisters/persister-pglite/index.cjs.gz +0 -0
  28. package/cjs/es6/min/persisters/persister-pglite/with-schemas/index.cjs +1 -1
  29. package/cjs/es6/min/persisters/persister-pglite/with-schemas/index.cjs.gz +0 -0
  30. package/cjs/es6/min/store/index.cjs +1 -1
  31. package/cjs/es6/min/store/index.cjs.gz +0 -0
  32. package/cjs/es6/min/store/with-schemas/index.cjs +1 -1
  33. package/cjs/es6/min/store/with-schemas/index.cjs.gz +0 -0
  34. package/cjs/es6/min/synchronizers/index.cjs +1 -1
  35. package/cjs/es6/min/synchronizers/index.cjs.gz +0 -0
  36. package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/index.cjs +1 -1
  37. package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/index.cjs.gz +0 -0
  38. package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +1 -1
  39. package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs.gz +0 -0
  40. package/cjs/es6/min/synchronizers/synchronizer-local/index.cjs +1 -1
  41. package/cjs/es6/min/synchronizers/synchronizer-local/index.cjs.gz +0 -0
  42. package/cjs/es6/min/synchronizers/synchronizer-local/with-schemas/index.cjs +1 -1
  43. package/cjs/es6/min/synchronizers/synchronizer-local/with-schemas/index.cjs.gz +0 -0
  44. package/cjs/es6/min/synchronizers/synchronizer-ws-client/index.cjs +1 -1
  45. package/cjs/es6/min/synchronizers/synchronizer-ws-client/index.cjs.gz +0 -0
  46. package/cjs/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +1 -1
  47. package/cjs/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs.gz +0 -0
  48. package/cjs/es6/min/synchronizers/synchronizer-ws-server/index.cjs +1 -1
  49. package/cjs/es6/min/synchronizers/synchronizer-ws-server/index.cjs.gz +0 -0
  50. package/cjs/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +1 -1
  51. package/cjs/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs.gz +0 -0
  52. package/cjs/es6/min/synchronizers/with-schemas/index.cjs +1 -1
  53. package/cjs/es6/min/synchronizers/with-schemas/index.cjs.gz +0 -0
  54. package/cjs/es6/min/tools/index.cjs +1 -1
  55. package/cjs/es6/min/tools/index.cjs.gz +0 -0
  56. package/cjs/es6/min/tools/with-schemas/index.cjs +1 -1
  57. package/cjs/es6/min/tools/with-schemas/index.cjs.gz +0 -0
  58. package/cjs/es6/min/ui-react/index.cjs +1 -1
  59. package/cjs/es6/min/ui-react/index.cjs.gz +0 -0
  60. package/cjs/es6/min/ui-react/with-schemas/index.cjs +1 -1
  61. package/cjs/es6/min/ui-react/with-schemas/index.cjs.gz +0 -0
  62. package/cjs/es6/min/ui-react-dom/index.cjs +1 -1
  63. package/cjs/es6/min/ui-react-dom/index.cjs.gz +0 -0
  64. package/cjs/es6/min/ui-react-dom/with-schemas/index.cjs +1 -1
  65. package/cjs/es6/min/ui-react-dom/with-schemas/index.cjs.gz +0 -0
  66. package/cjs/es6/min/ui-react-inspector/index.cjs +1 -1
  67. package/cjs/es6/min/ui-react-inspector/index.cjs.gz +0 -0
  68. package/cjs/es6/min/ui-react-inspector/with-schemas/index.cjs +1 -1
  69. package/cjs/es6/min/ui-react-inspector/with-schemas/index.cjs.gz +0 -0
  70. package/cjs/es6/min/with-schemas/index.cjs +1 -1
  71. package/cjs/es6/min/with-schemas/index.cjs.gz +0 -0
  72. package/cjs/es6/persisters/persister-pglite/index.cjs +1 -1
  73. package/cjs/es6/persisters/persister-pglite/with-schemas/index.cjs +1 -1
  74. package/cjs/es6/queries/index.cjs +1 -1
  75. package/cjs/es6/queries/with-schemas/index.cjs +1 -1
  76. package/cjs/es6/store/index.cjs +0 -6
  77. package/cjs/es6/store/with-schemas/index.cjs +0 -6
  78. package/cjs/es6/synchronizers/index.cjs +5 -7
  79. package/cjs/es6/synchronizers/synchronizer-broadcast-channel/index.cjs +5 -7
  80. package/cjs/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +5 -7
  81. package/cjs/es6/synchronizers/synchronizer-local/index.cjs +5 -7
  82. package/cjs/es6/synchronizers/synchronizer-local/with-schemas/index.cjs +5 -7
  83. package/cjs/es6/synchronizers/synchronizer-ws-client/index.cjs +5 -7
  84. package/cjs/es6/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +5 -7
  85. package/cjs/es6/synchronizers/synchronizer-ws-server/index.cjs +5 -7
  86. package/cjs/es6/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +5 -7
  87. package/cjs/es6/synchronizers/with-schemas/index.cjs +5 -7
  88. package/cjs/es6/tools/index.cjs +7 -4
  89. package/cjs/es6/tools/with-schemas/index.cjs +7 -4
  90. package/cjs/es6/ui-react/index.cjs +101 -109
  91. package/cjs/es6/ui-react/with-schemas/index.cjs +101 -109
  92. package/cjs/es6/ui-react-dom/index.cjs +14 -8
  93. package/cjs/es6/ui-react-dom/with-schemas/index.cjs +14 -8
  94. package/cjs/es6/ui-react-inspector/index.cjs +18 -16
  95. package/cjs/es6/ui-react-inspector/with-schemas/index.cjs +18 -16
  96. package/cjs/es6/with-schemas/index.cjs +18 -12
  97. package/cjs/index.cjs +18 -12
  98. package/cjs/indexes/index.cjs +0 -6
  99. package/cjs/indexes/with-schemas/index.cjs +0 -6
  100. package/cjs/mergeable-store/index.cjs +17 -11
  101. package/cjs/mergeable-store/with-schemas/index.cjs +17 -11
  102. package/cjs/metrics/index.cjs +1 -1
  103. package/cjs/metrics/with-schemas/index.cjs +1 -1
  104. package/cjs/min/common/index.cjs +1 -1
  105. package/cjs/min/common/index.cjs.gz +0 -0
  106. package/cjs/min/common/with-schemas/index.cjs +1 -1
  107. package/cjs/min/common/with-schemas/index.cjs.gz +0 -0
  108. package/cjs/min/index.cjs +1 -1
  109. package/cjs/min/index.cjs.gz +0 -0
  110. package/cjs/min/indexes/index.cjs +1 -1
  111. package/cjs/min/indexes/index.cjs.gz +0 -0
  112. package/cjs/min/indexes/with-schemas/index.cjs +1 -1
  113. package/cjs/min/indexes/with-schemas/index.cjs.gz +0 -0
  114. package/cjs/min/mergeable-store/index.cjs +1 -1
  115. package/cjs/min/mergeable-store/index.cjs.gz +0 -0
  116. package/cjs/min/mergeable-store/with-schemas/index.cjs +1 -1
  117. package/cjs/min/mergeable-store/with-schemas/index.cjs.gz +0 -0
  118. package/cjs/min/persisters/persister-pglite/index.cjs +1 -1
  119. package/cjs/min/persisters/persister-pglite/index.cjs.gz +0 -0
  120. package/cjs/min/persisters/persister-pglite/with-schemas/index.cjs +1 -1
  121. package/cjs/min/persisters/persister-pglite/with-schemas/index.cjs.gz +0 -0
  122. package/cjs/min/store/index.cjs +1 -1
  123. package/cjs/min/store/index.cjs.gz +0 -0
  124. package/cjs/min/store/with-schemas/index.cjs +1 -1
  125. package/cjs/min/store/with-schemas/index.cjs.gz +0 -0
  126. package/cjs/min/synchronizers/index.cjs +1 -1
  127. package/cjs/min/synchronizers/index.cjs.gz +0 -0
  128. package/cjs/min/synchronizers/synchronizer-broadcast-channel/index.cjs +1 -1
  129. package/cjs/min/synchronizers/synchronizer-broadcast-channel/index.cjs.gz +0 -0
  130. package/cjs/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +1 -1
  131. package/cjs/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs.gz +0 -0
  132. package/cjs/min/synchronizers/synchronizer-local/index.cjs +1 -1
  133. package/cjs/min/synchronizers/synchronizer-local/index.cjs.gz +0 -0
  134. package/cjs/min/synchronizers/synchronizer-local/with-schemas/index.cjs +1 -1
  135. package/cjs/min/synchronizers/synchronizer-local/with-schemas/index.cjs.gz +0 -0
  136. package/cjs/min/synchronizers/synchronizer-ws-client/index.cjs +1 -1
  137. package/cjs/min/synchronizers/synchronizer-ws-client/index.cjs.gz +0 -0
  138. package/cjs/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +1 -1
  139. package/cjs/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs.gz +0 -0
  140. package/cjs/min/synchronizers/synchronizer-ws-server/index.cjs +1 -1
  141. package/cjs/min/synchronizers/synchronizer-ws-server/index.cjs.gz +0 -0
  142. package/cjs/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +1 -1
  143. package/cjs/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs.gz +0 -0
  144. package/cjs/min/synchronizers/with-schemas/index.cjs +1 -1
  145. package/cjs/min/synchronizers/with-schemas/index.cjs.gz +0 -0
  146. package/cjs/min/tools/index.cjs +1 -1
  147. package/cjs/min/tools/index.cjs.gz +0 -0
  148. package/cjs/min/tools/with-schemas/index.cjs +1 -1
  149. package/cjs/min/tools/with-schemas/index.cjs.gz +0 -0
  150. package/cjs/min/ui-react/index.cjs +1 -1
  151. package/cjs/min/ui-react/index.cjs.gz +0 -0
  152. package/cjs/min/ui-react/with-schemas/index.cjs +1 -1
  153. package/cjs/min/ui-react/with-schemas/index.cjs.gz +0 -0
  154. package/cjs/min/ui-react-dom/index.cjs +1 -1
  155. package/cjs/min/ui-react-dom/index.cjs.gz +0 -0
  156. package/cjs/min/ui-react-dom/with-schemas/index.cjs +1 -1
  157. package/cjs/min/ui-react-dom/with-schemas/index.cjs.gz +0 -0
  158. package/cjs/min/ui-react-inspector/index.cjs +1 -1
  159. package/cjs/min/ui-react-inspector/index.cjs.gz +0 -0
  160. package/cjs/min/ui-react-inspector/with-schemas/index.cjs +1 -1
  161. package/cjs/min/ui-react-inspector/with-schemas/index.cjs.gz +0 -0
  162. package/cjs/min/with-schemas/index.cjs +1 -1
  163. package/cjs/min/with-schemas/index.cjs.gz +0 -0
  164. package/cjs/persisters/persister-pglite/index.cjs +1 -1
  165. package/cjs/persisters/persister-pglite/with-schemas/index.cjs +1 -1
  166. package/cjs/queries/index.cjs +1 -1
  167. package/cjs/queries/with-schemas/index.cjs +1 -1
  168. package/cjs/store/index.cjs +0 -6
  169. package/cjs/store/with-schemas/index.cjs +0 -6
  170. package/cjs/synchronizers/index.cjs +5 -7
  171. package/cjs/synchronizers/synchronizer-broadcast-channel/index.cjs +5 -7
  172. package/cjs/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +5 -7
  173. package/cjs/synchronizers/synchronizer-local/index.cjs +5 -7
  174. package/cjs/synchronizers/synchronizer-local/with-schemas/index.cjs +5 -7
  175. package/cjs/synchronizers/synchronizer-ws-client/index.cjs +5 -7
  176. package/cjs/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +5 -7
  177. package/cjs/synchronizers/synchronizer-ws-server/index.cjs +5 -7
  178. package/cjs/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +5 -7
  179. package/cjs/synchronizers/with-schemas/index.cjs +5 -7
  180. package/cjs/tools/index.cjs +7 -4
  181. package/cjs/tools/with-schemas/index.cjs +7 -4
  182. package/cjs/ui-react/index.cjs +97 -107
  183. package/cjs/ui-react/with-schemas/index.cjs +97 -107
  184. package/cjs/ui-react-dom/index.cjs +14 -8
  185. package/cjs/ui-react-dom/with-schemas/index.cjs +14 -8
  186. package/cjs/ui-react-inspector/index.cjs +18 -16
  187. package/cjs/ui-react-inspector/with-schemas/index.cjs +18 -16
  188. package/cjs/with-schemas/index.cjs +18 -12
  189. package/common/index.js +5 -7
  190. package/common/with-schemas/index.js +5 -7
  191. package/es6/common/index.js +5 -7
  192. package/es6/common/with-schemas/index.js +5 -7
  193. package/es6/index.js +18 -12
  194. package/es6/indexes/index.js +0 -6
  195. package/es6/indexes/with-schemas/index.js +0 -6
  196. package/es6/mergeable-store/index.js +17 -11
  197. package/es6/mergeable-store/with-schemas/index.js +17 -11
  198. package/es6/metrics/index.js +1 -1
  199. package/es6/metrics/with-schemas/index.js +1 -1
  200. package/es6/min/common/index.js +1 -1
  201. package/es6/min/common/index.js.gz +0 -0
  202. package/es6/min/common/with-schemas/index.js +1 -1
  203. package/es6/min/common/with-schemas/index.js.gz +0 -0
  204. package/es6/min/index.js +1 -1
  205. package/es6/min/index.js.gz +0 -0
  206. package/es6/min/indexes/index.js +1 -1
  207. package/es6/min/indexes/index.js.gz +0 -0
  208. package/es6/min/indexes/with-schemas/index.js +1 -1
  209. package/es6/min/indexes/with-schemas/index.js.gz +0 -0
  210. package/es6/min/mergeable-store/index.js +1 -1
  211. package/es6/min/mergeable-store/index.js.gz +0 -0
  212. package/es6/min/mergeable-store/with-schemas/index.js +1 -1
  213. package/es6/min/mergeable-store/with-schemas/index.js.gz +0 -0
  214. package/es6/min/persisters/persister-pglite/index.js +1 -1
  215. package/es6/min/persisters/persister-pglite/index.js.gz +0 -0
  216. package/es6/min/persisters/persister-pglite/with-schemas/index.js +1 -1
  217. package/es6/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
  218. package/es6/min/store/index.js +1 -1
  219. package/es6/min/store/index.js.gz +0 -0
  220. package/es6/min/store/with-schemas/index.js +1 -1
  221. package/es6/min/store/with-schemas/index.js.gz +0 -0
  222. package/es6/min/synchronizers/index.js +1 -1
  223. package/es6/min/synchronizers/index.js.gz +0 -0
  224. package/es6/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
  225. package/es6/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
  226. package/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
  227. package/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
  228. package/es6/min/synchronizers/synchronizer-local/index.js +1 -1
  229. package/es6/min/synchronizers/synchronizer-local/index.js.gz +0 -0
  230. package/es6/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
  231. package/es6/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
  232. package/es6/min/synchronizers/synchronizer-ws-client/index.js +1 -1
  233. package/es6/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
  234. package/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
  235. package/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
  236. package/es6/min/synchronizers/synchronizer-ws-server/index.js +1 -1
  237. package/es6/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
  238. package/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
  239. package/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
  240. package/es6/min/synchronizers/with-schemas/index.js +1 -1
  241. package/es6/min/synchronizers/with-schemas/index.js.gz +0 -0
  242. package/es6/min/tools/index.js +1 -1
  243. package/es6/min/tools/index.js.gz +0 -0
  244. package/es6/min/tools/with-schemas/index.js +1 -1
  245. package/es6/min/tools/with-schemas/index.js.gz +0 -0
  246. package/es6/min/ui-react/index.js +1 -1
  247. package/es6/min/ui-react/index.js.gz +0 -0
  248. package/es6/min/ui-react/with-schemas/index.js +1 -1
  249. package/es6/min/ui-react/with-schemas/index.js.gz +0 -0
  250. package/es6/min/ui-react-dom/index.js +1 -1
  251. package/es6/min/ui-react-dom/index.js.gz +0 -0
  252. package/es6/min/ui-react-dom/with-schemas/index.js +1 -1
  253. package/es6/min/ui-react-dom/with-schemas/index.js.gz +0 -0
  254. package/es6/min/ui-react-inspector/index.js +1 -1
  255. package/es6/min/ui-react-inspector/index.js.gz +0 -0
  256. package/es6/min/ui-react-inspector/with-schemas/index.js +1 -1
  257. package/es6/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
  258. package/es6/min/with-schemas/index.js +1 -1
  259. package/es6/min/with-schemas/index.js.gz +0 -0
  260. package/es6/persisters/persister-pglite/index.js +1 -1
  261. package/es6/persisters/persister-pglite/with-schemas/index.js +1 -1
  262. package/es6/queries/index.js +1 -1
  263. package/es6/queries/with-schemas/index.js +1 -1
  264. package/es6/store/index.js +0 -6
  265. package/es6/store/with-schemas/index.js +0 -6
  266. package/es6/synchronizers/index.js +5 -7
  267. package/es6/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
  268. package/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
  269. package/es6/synchronizers/synchronizer-local/index.js +5 -7
  270. package/es6/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
  271. package/es6/synchronizers/synchronizer-ws-client/index.js +5 -7
  272. package/es6/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
  273. package/es6/synchronizers/synchronizer-ws-server/index.js +5 -7
  274. package/es6/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
  275. package/es6/synchronizers/with-schemas/index.js +5 -7
  276. package/es6/tools/index.js +7 -4
  277. package/es6/tools/with-schemas/index.js +7 -4
  278. package/es6/ui-react/index.js +101 -109
  279. package/es6/ui-react/with-schemas/index.js +101 -109
  280. package/es6/ui-react-dom/index.js +14 -8
  281. package/es6/ui-react-dom/with-schemas/index.js +14 -8
  282. package/es6/ui-react-inspector/index.js +18 -16
  283. package/es6/ui-react-inspector/with-schemas/index.js +18 -16
  284. package/es6/with-schemas/index.js +18 -12
  285. package/index.js +18 -12
  286. package/indexes/index.js +0 -6
  287. package/indexes/with-schemas/index.js +0 -6
  288. package/mergeable-store/index.js +17 -11
  289. package/mergeable-store/with-schemas/index.js +17 -11
  290. package/metrics/index.js +1 -1
  291. package/metrics/with-schemas/index.js +1 -1
  292. package/min/common/index.js +1 -1
  293. package/min/common/index.js.gz +0 -0
  294. package/min/common/with-schemas/index.js +1 -1
  295. package/min/common/with-schemas/index.js.gz +0 -0
  296. package/min/index.js +1 -1
  297. package/min/index.js.gz +0 -0
  298. package/min/indexes/index.js +1 -1
  299. package/min/indexes/index.js.gz +0 -0
  300. package/min/indexes/with-schemas/index.js +1 -1
  301. package/min/indexes/with-schemas/index.js.gz +0 -0
  302. package/min/mergeable-store/index.js +1 -1
  303. package/min/mergeable-store/index.js.gz +0 -0
  304. package/min/mergeable-store/with-schemas/index.js +1 -1
  305. package/min/mergeable-store/with-schemas/index.js.gz +0 -0
  306. package/min/persisters/persister-pglite/index.js +1 -1
  307. package/min/persisters/persister-pglite/index.js.gz +0 -0
  308. package/min/persisters/persister-pglite/with-schemas/index.js +1 -1
  309. package/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
  310. package/min/store/index.js +1 -1
  311. package/min/store/index.js.gz +0 -0
  312. package/min/store/with-schemas/index.js +1 -1
  313. package/min/store/with-schemas/index.js.gz +0 -0
  314. package/min/synchronizers/index.js +1 -1
  315. package/min/synchronizers/index.js.gz +0 -0
  316. package/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
  317. package/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
  318. package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
  319. package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
  320. package/min/synchronizers/synchronizer-local/index.js +1 -1
  321. package/min/synchronizers/synchronizer-local/index.js.gz +0 -0
  322. package/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
  323. package/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
  324. package/min/synchronizers/synchronizer-ws-client/index.js +1 -1
  325. package/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
  326. package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
  327. package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
  328. package/min/synchronizers/synchronizer-ws-server/index.js +1 -1
  329. package/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
  330. package/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
  331. package/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
  332. package/min/synchronizers/with-schemas/index.js +1 -1
  333. package/min/synchronizers/with-schemas/index.js.gz +0 -0
  334. package/min/tools/index.js +1 -1
  335. package/min/tools/index.js.gz +0 -0
  336. package/min/tools/with-schemas/index.js +1 -1
  337. package/min/tools/with-schemas/index.js.gz +0 -0
  338. package/min/ui-react/index.js +1 -1
  339. package/min/ui-react/index.js.gz +0 -0
  340. package/min/ui-react/with-schemas/index.js +1 -1
  341. package/min/ui-react/with-schemas/index.js.gz +0 -0
  342. package/min/ui-react-dom/index.js +1 -1
  343. package/min/ui-react-dom/index.js.gz +0 -0
  344. package/min/ui-react-dom/with-schemas/index.js +1 -1
  345. package/min/ui-react-dom/with-schemas/index.js.gz +0 -0
  346. package/min/ui-react-inspector/index.js +1 -1
  347. package/min/ui-react-inspector/index.js.gz +0 -0
  348. package/min/ui-react-inspector/with-schemas/index.js +1 -1
  349. package/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
  350. package/min/with-schemas/index.js +1 -1
  351. package/min/with-schemas/index.js.gz +0 -0
  352. package/package.json +3 -3
  353. package/persisters/persister-pglite/index.js +1 -1
  354. package/persisters/persister-pglite/with-schemas/index.js +1 -1
  355. package/queries/index.js +1 -1
  356. package/queries/with-schemas/index.js +1 -1
  357. package/store/index.js +0 -6
  358. package/store/with-schemas/index.js +0 -6
  359. package/synchronizers/index.js +5 -7
  360. package/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
  361. package/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
  362. package/synchronizers/synchronizer-local/index.js +5 -7
  363. package/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
  364. package/synchronizers/synchronizer-ws-client/index.js +5 -7
  365. package/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
  366. package/synchronizers/synchronizer-ws-server/index.js +5 -7
  367. package/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
  368. package/synchronizers/with-schemas/index.js +5 -7
  369. package/tools/index.js +7 -4
  370. package/tools/with-schemas/index.js +7 -4
  371. package/ui-react/index.js +97 -107
  372. package/ui-react/with-schemas/index.js +97 -107
  373. package/ui-react-dom/index.js +14 -8
  374. package/ui-react-dom/with-schemas/index.js +14 -8
  375. package/ui-react-inspector/index.js +18 -16
  376. package/ui-react-inspector/with-schemas/index.js +18 -16
  377. package/umd/common/index.js +5 -7
  378. package/umd/common/with-schemas/index.js +5 -7
  379. package/umd/es6/common/index.js +5 -7
  380. package/umd/es6/common/with-schemas/index.js +5 -7
  381. package/umd/es6/index.js +18 -12
  382. package/umd/es6/indexes/index.js +0 -6
  383. package/umd/es6/indexes/with-schemas/index.js +0 -6
  384. package/umd/es6/mergeable-store/index.js +17 -11
  385. package/umd/es6/mergeable-store/with-schemas/index.js +17 -11
  386. package/umd/es6/metrics/index.js +1 -1
  387. package/umd/es6/metrics/with-schemas/index.js +1 -1
  388. package/umd/es6/min/common/index.js +1 -1
  389. package/umd/es6/min/common/index.js.gz +0 -0
  390. package/umd/es6/min/common/with-schemas/index.js +1 -1
  391. package/umd/es6/min/common/with-schemas/index.js.gz +0 -0
  392. package/umd/es6/min/index.js +1 -1
  393. package/umd/es6/min/index.js.gz +0 -0
  394. package/umd/es6/min/indexes/index.js +1 -1
  395. package/umd/es6/min/indexes/index.js.gz +0 -0
  396. package/umd/es6/min/indexes/with-schemas/index.js +1 -1
  397. package/umd/es6/min/indexes/with-schemas/index.js.gz +0 -0
  398. package/umd/es6/min/mergeable-store/index.js +1 -1
  399. package/umd/es6/min/mergeable-store/index.js.gz +0 -0
  400. package/umd/es6/min/mergeable-store/with-schemas/index.js +1 -1
  401. package/umd/es6/min/mergeable-store/with-schemas/index.js.gz +0 -0
  402. package/umd/es6/min/persisters/persister-pglite/index.js +1 -1
  403. package/umd/es6/min/persisters/persister-pglite/index.js.gz +0 -0
  404. package/umd/es6/min/persisters/persister-pglite/with-schemas/index.js +1 -1
  405. package/umd/es6/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
  406. package/umd/es6/min/store/index.js +1 -1
  407. package/umd/es6/min/store/index.js.gz +0 -0
  408. package/umd/es6/min/store/with-schemas/index.js +1 -1
  409. package/umd/es6/min/store/with-schemas/index.js.gz +0 -0
  410. package/umd/es6/min/synchronizers/index.js +1 -1
  411. package/umd/es6/min/synchronizers/index.js.gz +0 -0
  412. package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
  413. package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
  414. package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
  415. package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
  416. package/umd/es6/min/synchronizers/synchronizer-local/index.js +1 -1
  417. package/umd/es6/min/synchronizers/synchronizer-local/index.js.gz +0 -0
  418. package/umd/es6/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
  419. package/umd/es6/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
  420. package/umd/es6/min/synchronizers/synchronizer-ws-client/index.js +1 -1
  421. package/umd/es6/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
  422. package/umd/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
  423. package/umd/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
  424. package/umd/es6/min/synchronizers/synchronizer-ws-server/index.js +1 -1
  425. package/umd/es6/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
  426. package/umd/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
  427. package/umd/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
  428. package/umd/es6/min/synchronizers/with-schemas/index.js +1 -1
  429. package/umd/es6/min/synchronizers/with-schemas/index.js.gz +0 -0
  430. package/umd/es6/min/tools/index.js +1 -1
  431. package/umd/es6/min/tools/index.js.gz +0 -0
  432. package/umd/es6/min/tools/with-schemas/index.js +1 -1
  433. package/umd/es6/min/tools/with-schemas/index.js.gz +0 -0
  434. package/umd/es6/min/ui-react/index.js +1 -1
  435. package/umd/es6/min/ui-react/index.js.gz +0 -0
  436. package/umd/es6/min/ui-react/with-schemas/index.js +1 -1
  437. package/umd/es6/min/ui-react/with-schemas/index.js.gz +0 -0
  438. package/umd/es6/min/ui-react-dom/index.js +1 -1
  439. package/umd/es6/min/ui-react-dom/index.js.gz +0 -0
  440. package/umd/es6/min/ui-react-dom/with-schemas/index.js +1 -1
  441. package/umd/es6/min/ui-react-dom/with-schemas/index.js.gz +0 -0
  442. package/umd/es6/min/ui-react-inspector/index.js +1 -1
  443. package/umd/es6/min/ui-react-inspector/index.js.gz +0 -0
  444. package/umd/es6/min/ui-react-inspector/with-schemas/index.js +1 -1
  445. package/umd/es6/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
  446. package/umd/es6/min/with-schemas/index.js +1 -1
  447. package/umd/es6/min/with-schemas/index.js.gz +0 -0
  448. package/umd/es6/persisters/persister-pglite/index.js +1 -1
  449. package/umd/es6/persisters/persister-pglite/with-schemas/index.js +1 -1
  450. package/umd/es6/queries/index.js +1 -1
  451. package/umd/es6/queries/with-schemas/index.js +1 -1
  452. package/umd/es6/store/index.js +0 -6
  453. package/umd/es6/store/with-schemas/index.js +0 -6
  454. package/umd/es6/synchronizers/index.js +5 -7
  455. package/umd/es6/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
  456. package/umd/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
  457. package/umd/es6/synchronizers/synchronizer-local/index.js +5 -7
  458. package/umd/es6/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
  459. package/umd/es6/synchronizers/synchronizer-ws-client/index.js +5 -7
  460. package/umd/es6/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
  461. package/umd/es6/synchronizers/synchronizer-ws-server/index.js +5 -7
  462. package/umd/es6/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
  463. package/umd/es6/synchronizers/with-schemas/index.js +5 -7
  464. package/umd/es6/tools/index.js +7 -4
  465. package/umd/es6/tools/with-schemas/index.js +7 -4
  466. package/umd/es6/ui-react/index.js +101 -118
  467. package/umd/es6/ui-react/with-schemas/index.js +101 -118
  468. package/umd/es6/ui-react-dom/index.js +14 -8
  469. package/umd/es6/ui-react-dom/with-schemas/index.js +14 -8
  470. package/umd/es6/ui-react-inspector/index.js +18 -16
  471. package/umd/es6/ui-react-inspector/with-schemas/index.js +18 -16
  472. package/umd/es6/with-schemas/index.js +18 -12
  473. package/umd/index.js +18 -12
  474. package/umd/indexes/index.js +0 -6
  475. package/umd/indexes/with-schemas/index.js +0 -6
  476. package/umd/mergeable-store/index.js +17 -11
  477. package/umd/mergeable-store/with-schemas/index.js +17 -11
  478. package/umd/metrics/index.js +1 -1
  479. package/umd/metrics/with-schemas/index.js +1 -1
  480. package/umd/min/common/index.js +1 -1
  481. package/umd/min/common/index.js.gz +0 -0
  482. package/umd/min/common/with-schemas/index.js +1 -1
  483. package/umd/min/common/with-schemas/index.js.gz +0 -0
  484. package/umd/min/index.js +1 -1
  485. package/umd/min/index.js.gz +0 -0
  486. package/umd/min/indexes/index.js +1 -1
  487. package/umd/min/indexes/index.js.gz +0 -0
  488. package/umd/min/indexes/with-schemas/index.js +1 -1
  489. package/umd/min/indexes/with-schemas/index.js.gz +0 -0
  490. package/umd/min/mergeable-store/index.js +1 -1
  491. package/umd/min/mergeable-store/index.js.gz +0 -0
  492. package/umd/min/mergeable-store/with-schemas/index.js +1 -1
  493. package/umd/min/mergeable-store/with-schemas/index.js.gz +0 -0
  494. package/umd/min/persisters/persister-pglite/index.js +1 -1
  495. package/umd/min/persisters/persister-pglite/index.js.gz +0 -0
  496. package/umd/min/persisters/persister-pglite/with-schemas/index.js +1 -1
  497. package/umd/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
  498. package/umd/min/store/index.js +1 -1
  499. package/umd/min/store/index.js.gz +0 -0
  500. package/umd/min/store/with-schemas/index.js +1 -1
  501. package/umd/min/store/with-schemas/index.js.gz +0 -0
  502. package/umd/min/synchronizers/index.js +1 -1
  503. package/umd/min/synchronizers/index.js.gz +0 -0
  504. package/umd/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
  505. package/umd/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
  506. package/umd/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
  507. package/umd/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
  508. package/umd/min/synchronizers/synchronizer-local/index.js +1 -1
  509. package/umd/min/synchronizers/synchronizer-local/index.js.gz +0 -0
  510. package/umd/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
  511. package/umd/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
  512. package/umd/min/synchronizers/synchronizer-ws-client/index.js +1 -1
  513. package/umd/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
  514. package/umd/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
  515. package/umd/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
  516. package/umd/min/synchronizers/synchronizer-ws-server/index.js +1 -1
  517. package/umd/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
  518. package/umd/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
  519. package/umd/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
  520. package/umd/min/synchronizers/with-schemas/index.js +1 -1
  521. package/umd/min/synchronizers/with-schemas/index.js.gz +0 -0
  522. package/umd/min/tools/index.js +1 -1
  523. package/umd/min/tools/index.js.gz +0 -0
  524. package/umd/min/tools/with-schemas/index.js +1 -1
  525. package/umd/min/tools/with-schemas/index.js.gz +0 -0
  526. package/umd/min/ui-react/index.js +1 -1
  527. package/umd/min/ui-react/index.js.gz +0 -0
  528. package/umd/min/ui-react/with-schemas/index.js +1 -1
  529. package/umd/min/ui-react/with-schemas/index.js.gz +0 -0
  530. package/umd/min/ui-react-dom/index.js +1 -1
  531. package/umd/min/ui-react-dom/index.js.gz +0 -0
  532. package/umd/min/ui-react-dom/with-schemas/index.js +1 -1
  533. package/umd/min/ui-react-dom/with-schemas/index.js.gz +0 -0
  534. package/umd/min/ui-react-inspector/index.js +1 -1
  535. package/umd/min/ui-react-inspector/index.js.gz +0 -0
  536. package/umd/min/ui-react-inspector/with-schemas/index.js +1 -1
  537. package/umd/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
  538. package/umd/min/with-schemas/index.js +1 -1
  539. package/umd/min/with-schemas/index.js.gz +0 -0
  540. package/umd/persisters/persister-pglite/index.js +1 -1
  541. package/umd/persisters/persister-pglite/with-schemas/index.js +1 -1
  542. package/umd/queries/index.js +1 -1
  543. package/umd/queries/with-schemas/index.js +1 -1
  544. package/umd/store/index.js +0 -6
  545. package/umd/store/with-schemas/index.js +0 -6
  546. package/umd/synchronizers/index.js +5 -7
  547. package/umd/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
  548. package/umd/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
  549. package/umd/synchronizers/synchronizer-local/index.js +5 -7
  550. package/umd/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
  551. package/umd/synchronizers/synchronizer-ws-client/index.js +5 -7
  552. package/umd/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
  553. package/umd/synchronizers/synchronizer-ws-server/index.js +5 -7
  554. package/umd/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
  555. package/umd/synchronizers/with-schemas/index.js +5 -7
  556. package/umd/tools/index.js +7 -4
  557. package/umd/tools/with-schemas/index.js +7 -4
  558. package/umd/ui-react/index.js +97 -110
  559. package/umd/ui-react/with-schemas/index.js +97 -110
  560. package/umd/ui-react-dom/index.js +14 -8
  561. package/umd/ui-react-dom/with-schemas/index.js +14 -8
  562. package/umd/ui-react-inspector/index.js +18 -16
  563. package/umd/ui-react-inspector/with-schemas/index.js +18 -16
  564. package/umd/with-schemas/index.js +18 -12
  565. package/with-schemas/index.js +18 -12
@@ -22,6 +22,8 @@
22
22
  const VALUE = 'Value';
23
23
  const CURRENT_TARGET = 'currentTarget';
24
24
  const _VALUE = 'value';
25
+ const strSplit = (str, separator = EMPTY_STRING, limit) =>
26
+ str.split(separator, limit);
25
27
 
26
28
  const math = Math;
27
29
  const mathMin = math.min;
@@ -44,11 +46,16 @@
44
46
  const {
45
47
  PureComponent,
46
48
  Fragment,
49
+ createContext,
47
50
  createElement,
48
- useCallback: useCallback$1,
51
+ useCallback,
52
+ useContext,
53
+ useEffect,
49
54
  useLayoutEffect,
55
+ useMemo,
50
56
  useRef,
51
- useState: useState$1,
57
+ useState,
58
+ useSyncExternalStore,
52
59
  } = React;
53
60
  const getProps = (getProps2, ...ids) =>
54
61
  isUndefined(getProps2) ? {} : getProps2(...ids);
@@ -115,7 +122,6 @@
115
122
  }
116
123
  return target;
117
124
  };
118
- const {useCallback, useMemo, useState} = React;
119
125
  const DOT = '.';
120
126
  const EDITABLE = 'editable';
121
127
  const LEFT_ARROW = '\u2190';
@@ -350,7 +356,7 @@
350
356
  idColumn === false
351
357
  ? null
352
358
  : /* @__PURE__ */ createElement(
353
- React.Fragment,
359
+ Fragment,
354
360
  null,
355
361
  /* @__PURE__ */ createElement('th', null, localRowId),
356
362
  /* @__PURE__ */ createElement('th', null, remoteRowId),
@@ -358,7 +364,7 @@
358
364
  objToArray(
359
365
  cells,
360
366
  ({component: CellView2, getComponentProps}, compoundCellId) => {
361
- const [tableId, cellId] = compoundCellId.split(DOT, 2);
367
+ const [tableId, cellId] = strSplit(compoundCellId, DOT, 2);
362
368
  const rowId =
363
369
  tableId === localTableId
364
370
  ? localRowId
@@ -695,7 +701,7 @@
695
701
  idColumn === false
696
702
  ? null
697
703
  : /* @__PURE__ */ createElement(
698
- React.Fragment,
704
+ Fragment,
699
705
  null,
700
706
  /* @__PURE__ */ createElement(
701
707
  'th',
@@ -875,11 +881,11 @@
875
881
  offset + limit < total,
876
882
  );
877
883
  return /* @__PURE__ */ createElement(
878
- React.Fragment,
884
+ Fragment,
879
885
  null,
880
886
  total > limit &&
881
887
  /* @__PURE__ */ createElement(
882
- React.Fragment,
888
+ Fragment,
883
889
  null,
884
890
  /* @__PURE__ */ createElement(
885
891
  'button',
@@ -40,6 +40,8 @@
40
40
  const _VALUE = 'value';
41
41
  const UNDEFINED = '\uFFFC';
42
42
  const id = (key) => EMPTY_STRING + key;
43
+ const strSplit = (str, separator = EMPTY_STRING, limit) =>
44
+ str.split(separator, limit);
43
45
 
44
46
  const GLOBAL = globalThis;
45
47
  const WINDOW = GLOBAL.window;
@@ -69,11 +71,16 @@
69
71
  const {
70
72
  PureComponent,
71
73
  Fragment,
74
+ createContext,
72
75
  createElement,
73
- useCallback: useCallback$1,
76
+ useCallback,
77
+ useContext,
78
+ useEffect,
74
79
  useLayoutEffect,
80
+ useMemo,
75
81
  useRef,
76
- useState: useState$1,
82
+ useState,
83
+ useSyncExternalStore,
77
84
  } = React;
78
85
  const getProps = (getProps2, ...ids) =>
79
86
  isUndefined(getProps2) ? {} : getProps2(...ids);
@@ -180,7 +187,7 @@
180
187
  arrayMap(arraySort([...ids]), callback);
181
188
  const useEditable = (uniqueId, s) => [
182
189
  !!uiReact.useCell(STATE_TABLE, uniqueId, EDITABLE_CELL, s),
183
- useCallback$1(
190
+ useCallback(
184
191
  (event) => {
185
192
  s.setCell(
186
193
  STATE_TABLE,
@@ -463,7 +470,6 @@
463
470
  }
464
471
  return target;
465
472
  };
466
- const {useCallback, useMemo, useState} = React;
467
473
  const DOT = '.';
468
474
  const EDITABLE = 'editable';
469
475
  const LEFT_ARROW = '\u2190';
@@ -698,7 +704,7 @@
698
704
  idColumn === false
699
705
  ? null
700
706
  : /* @__PURE__ */ createElement(
701
- React.Fragment,
707
+ Fragment,
702
708
  null,
703
709
  /* @__PURE__ */ createElement('th', null, localRowId),
704
710
  /* @__PURE__ */ createElement('th', null, remoteRowId),
@@ -706,7 +712,7 @@
706
712
  objToArray(
707
713
  cells,
708
714
  ({component: CellView2, getComponentProps}, compoundCellId) => {
709
- const [tableId, cellId] = compoundCellId.split(DOT, 2);
715
+ const [tableId, cellId] = strSplit(compoundCellId, DOT, 2);
710
716
  const rowId =
711
717
  tableId === localTableId
712
718
  ? localRowId
@@ -1027,7 +1033,7 @@
1027
1033
  idColumn === false
1028
1034
  ? null
1029
1035
  : /* @__PURE__ */ createElement(
1030
- React.Fragment,
1036
+ Fragment,
1031
1037
  null,
1032
1038
  /* @__PURE__ */ createElement(
1033
1039
  'th',
@@ -1188,11 +1194,11 @@
1188
1194
  offset + limit < total,
1189
1195
  );
1190
1196
  return /* @__PURE__ */ createElement(
1191
- React.Fragment,
1197
+ Fragment,
1192
1198
  null,
1193
1199
  total > limit &&
1194
1200
  /* @__PURE__ */ createElement(
1195
- React.Fragment,
1201
+ Fragment,
1196
1202
  null,
1197
1203
  /* @__PURE__ */ createElement(
1198
1204
  'button',
@@ -1541,7 +1547,7 @@
1541
1547
  const Body = ({s}) => {
1542
1548
  const articleRef = useRef(null);
1543
1549
  const idleCallbackRef = useRef(0);
1544
- const [scrolled, setScrolled] = useState$1(false);
1550
+ const [scrolled, setScrolled] = useState(false);
1545
1551
  const {scrollLeft, scrollTop} = uiReact.useValues(s);
1546
1552
  useLayoutEffect(() => {
1547
1553
  const article = articleRef.current;
@@ -1559,7 +1565,7 @@
1559
1565
  return () => observer.disconnect();
1560
1566
  }
1561
1567
  }, [scrolled, scrollLeft, scrollTop]);
1562
- const handleScroll = useCallback$1(
1568
+ const handleScroll = useCallback(
1563
1569
  (event) => {
1564
1570
  const {scrollLeft: scrollLeft2, scrollTop: scrollTop2} =
1565
1571
  event[CURRENT_TARGET];
@@ -2321,11 +2327,7 @@
2321
2327
  const pairClone = (array) => [...array];
2322
2328
  const pairIsEqual = ([entry1, entry2]) => entry1 === entry2;
2323
2329
 
2324
- const ENCODE =
2325
- '-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
2326
- EMPTY_STRING,
2327
- );
2328
- mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
2330
+ strSplit('-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz');
2329
2331
 
2330
2332
  const defaultSorter = (sortKey1, sortKey2) =>
2331
2333
  (sortKey1 != null ? sortKey1 : 0) < (sortKey2 != null ? sortKey2 : 0)
@@ -40,6 +40,8 @@
40
40
  const _VALUE = 'value';
41
41
  const UNDEFINED = '\uFFFC';
42
42
  const id = (key) => EMPTY_STRING + key;
43
+ const strSplit = (str, separator = EMPTY_STRING, limit) =>
44
+ str.split(separator, limit);
43
45
 
44
46
  const GLOBAL = globalThis;
45
47
  const WINDOW = GLOBAL.window;
@@ -69,11 +71,16 @@
69
71
  const {
70
72
  PureComponent,
71
73
  Fragment,
74
+ createContext,
72
75
  createElement,
73
- useCallback: useCallback$1,
76
+ useCallback,
77
+ useContext,
78
+ useEffect,
74
79
  useLayoutEffect,
80
+ useMemo,
75
81
  useRef,
76
- useState: useState$1,
82
+ useState,
83
+ useSyncExternalStore,
77
84
  } = React;
78
85
  const getProps = (getProps2, ...ids) =>
79
86
  isUndefined(getProps2) ? {} : getProps2(...ids);
@@ -180,7 +187,7 @@
180
187
  arrayMap(arraySort([...ids]), callback);
181
188
  const useEditable = (uniqueId, s) => [
182
189
  !!uiReact.useCell(STATE_TABLE, uniqueId, EDITABLE_CELL, s),
183
- useCallback$1(
190
+ useCallback(
184
191
  (event) => {
185
192
  s.setCell(
186
193
  STATE_TABLE,
@@ -463,7 +470,6 @@
463
470
  }
464
471
  return target;
465
472
  };
466
- const {useCallback, useMemo, useState} = React;
467
473
  const DOT = '.';
468
474
  const EDITABLE = 'editable';
469
475
  const LEFT_ARROW = '\u2190';
@@ -698,7 +704,7 @@
698
704
  idColumn === false
699
705
  ? null
700
706
  : /* @__PURE__ */ createElement(
701
- React.Fragment,
707
+ Fragment,
702
708
  null,
703
709
  /* @__PURE__ */ createElement('th', null, localRowId),
704
710
  /* @__PURE__ */ createElement('th', null, remoteRowId),
@@ -706,7 +712,7 @@
706
712
  objToArray(
707
713
  cells,
708
714
  ({component: CellView2, getComponentProps}, compoundCellId) => {
709
- const [tableId, cellId] = compoundCellId.split(DOT, 2);
715
+ const [tableId, cellId] = strSplit(compoundCellId, DOT, 2);
710
716
  const rowId =
711
717
  tableId === localTableId
712
718
  ? localRowId
@@ -1027,7 +1033,7 @@
1027
1033
  idColumn === false
1028
1034
  ? null
1029
1035
  : /* @__PURE__ */ createElement(
1030
- React.Fragment,
1036
+ Fragment,
1031
1037
  null,
1032
1038
  /* @__PURE__ */ createElement(
1033
1039
  'th',
@@ -1188,11 +1194,11 @@
1188
1194
  offset + limit < total,
1189
1195
  );
1190
1196
  return /* @__PURE__ */ createElement(
1191
- React.Fragment,
1197
+ Fragment,
1192
1198
  null,
1193
1199
  total > limit &&
1194
1200
  /* @__PURE__ */ createElement(
1195
- React.Fragment,
1201
+ Fragment,
1196
1202
  null,
1197
1203
  /* @__PURE__ */ createElement(
1198
1204
  'button',
@@ -1541,7 +1547,7 @@
1541
1547
  const Body = ({s}) => {
1542
1548
  const articleRef = useRef(null);
1543
1549
  const idleCallbackRef = useRef(0);
1544
- const [scrolled, setScrolled] = useState$1(false);
1550
+ const [scrolled, setScrolled] = useState(false);
1545
1551
  const {scrollLeft, scrollTop} = uiReact.useValues(s);
1546
1552
  useLayoutEffect(() => {
1547
1553
  const article = articleRef.current;
@@ -1559,7 +1565,7 @@
1559
1565
  return () => observer.disconnect();
1560
1566
  }
1561
1567
  }, [scrolled, scrollLeft, scrollTop]);
1562
- const handleScroll = useCallback$1(
1568
+ const handleScroll = useCallback(
1563
1569
  (event) => {
1564
1570
  const {scrollLeft: scrollLeft2, scrollTop: scrollTop2} =
1565
1571
  event[CURRENT_TARGET];
@@ -2321,11 +2327,7 @@
2321
2327
  const pairClone = (array) => [...array];
2322
2328
  const pairIsEqual = ([entry1, entry2]) => entry1 === entry2;
2323
2329
 
2324
- const ENCODE =
2325
- '-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
2326
- EMPTY_STRING,
2327
- );
2328
- mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
2330
+ strSplit('-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz');
2329
2331
 
2330
2332
  const defaultSorter = (sortKey1, sortKey2) =>
2331
2333
  (sortKey1 != null ? sortKey1 : 0) < (sortKey2 != null ? sortKey2 : 0)
@@ -24,7 +24,9 @@
24
24
  const LISTENER = 'Listener';
25
25
  const RESULT = 'Result';
26
26
  const GET = 'get';
27
+ const SET = 'set';
27
28
  const ADD = 'add';
29
+ const DEL = 'del';
28
30
  const HAS = 'Has';
29
31
  const IDS = 'Ids';
30
32
  const TABLE = 'Table';
@@ -39,9 +41,12 @@
39
41
  const VALUE = 'Value';
40
42
  const VALUES = VALUE + 's';
41
43
  const VALUE_IDS = VALUE + IDS;
44
+ const TRANSACTION = 'Transaction';
42
45
  const id = (key) => EMPTY_STRING + key;
43
46
  const strStartsWith = (str, prefix) => str.startsWith(prefix);
44
47
  const strEndsWith = (str, suffix) => str.endsWith(suffix);
48
+ const strSplit = (str, separator = EMPTY_STRING, limit) =>
49
+ str.split(separator, limit);
45
50
 
46
51
  const GLOBAL = globalThis;
47
52
  const math = Math;
@@ -830,11 +835,12 @@
830
835
  );
831
836
 
832
837
  const MASK6 = 63;
833
- const ENCODE =
834
- '-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
835
- EMPTY_STRING,
836
- );
837
- const DECODE = mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
838
+ const ENCODE = strSplit(
839
+ '-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
840
+ );
841
+ const DECODE = /* @__PURE__ */ mapNew(
842
+ /* @__PURE__ */ arrayMap(ENCODE, (char, index) => [char, index]),
843
+ );
838
844
  const encode = (num) => ENCODE[num & MASK6];
839
845
  const decode = (str, pos) => {
840
846
  var _a;
@@ -1061,7 +1067,7 @@
1061
1067
  return objFreeze(indexes);
1062
1068
  });
1063
1069
 
1064
- const numericAggregators = mapNew([
1070
+ const numericAggregators = /* @__PURE__ */ mapNew([
1065
1071
  [
1066
1072
  AVG,
1067
1073
  [
@@ -1940,7 +1946,7 @@
1940
1946
  return objFreeze(relationships);
1941
1947
  });
1942
1948
 
1943
- const textEncoder = new GLOBAL.TextEncoder();
1949
+ const textEncoder = /* @__PURE__ */ new GLOBAL.TextEncoder();
1944
1950
  const getHash = (value) => {
1945
1951
  let hash = 2166136261;
1946
1952
  arrayForEach(textEncoder.encode(value), (char) => {
@@ -3937,16 +3943,16 @@
3937
3943
  store,
3938
3944
  (method, name) =>
3939
3945
  (mergeableStore[name] = // fluent methods
3940
- strStartsWith(name, 'set') ||
3941
- strStartsWith(name, 'del') ||
3946
+ strStartsWith(name, SET) ||
3947
+ strStartsWith(name, DEL) ||
3942
3948
  strStartsWith(name, 'apply') ||
3943
- strEndsWith(name, 'Transaction') ||
3944
- name == 'callListener'
3949
+ strEndsWith(name, TRANSACTION) ||
3950
+ name == 'call' + LISTENER
3945
3951
  ? (...args) => {
3946
3952
  method(...args);
3947
3953
  return mergeableStore;
3948
3954
  }
3949
- : strStartsWith(name, 'add') && strEndsWith(name, 'Listener')
3955
+ : strStartsWith(name, ADD) && strEndsWith(name, LISTENER)
3950
3956
  ? (...args) => {
3951
3957
  var _a;
3952
3958
  const listenerArg =
package/umd/index.js CHANGED
@@ -24,7 +24,9 @@
24
24
  const LISTENER = 'Listener';
25
25
  const RESULT = 'Result';
26
26
  const GET = 'get';
27
+ const SET = 'set';
27
28
  const ADD = 'add';
29
+ const DEL = 'del';
28
30
  const HAS = 'Has';
29
31
  const IDS = 'Ids';
30
32
  const TABLE = 'Table';
@@ -39,9 +41,12 @@
39
41
  const VALUE = 'Value';
40
42
  const VALUES = VALUE + 's';
41
43
  const VALUE_IDS = VALUE + IDS;
44
+ const TRANSACTION = 'Transaction';
42
45
  const id = (key) => EMPTY_STRING + key;
43
46
  const strStartsWith = (str, prefix) => str.startsWith(prefix);
44
47
  const strEndsWith = (str, suffix) => str.endsWith(suffix);
48
+ const strSplit = (str, separator = EMPTY_STRING, limit) =>
49
+ str.split(separator, limit);
45
50
 
46
51
  const GLOBAL = globalThis;
47
52
  const math = Math;
@@ -768,11 +773,12 @@
768
773
  );
769
774
 
770
775
  const MASK6 = 63;
771
- const ENCODE =
772
- '-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
773
- EMPTY_STRING,
774
- );
775
- const DECODE = mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
776
+ const ENCODE = strSplit(
777
+ '-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
778
+ );
779
+ const DECODE = /* @__PURE__ */ mapNew(
780
+ /* @__PURE__ */ arrayMap(ENCODE, (char, index) => [char, index]),
781
+ );
776
782
  const encode = (num) => ENCODE[num & MASK6];
777
783
  const decode = (str, pos) => mapGet(DECODE, str[pos]) ?? 0;
778
784
 
@@ -994,7 +1000,7 @@
994
1000
  return objFreeze(indexes);
995
1001
  });
996
1002
 
997
- const numericAggregators = mapNew([
1003
+ const numericAggregators = /* @__PURE__ */ mapNew([
998
1004
  [
999
1005
  AVG,
1000
1006
  [
@@ -1830,7 +1836,7 @@
1830
1836
  return objFreeze(relationships);
1831
1837
  });
1832
1838
 
1833
- const textEncoder = new GLOBAL.TextEncoder();
1839
+ const textEncoder = /* @__PURE__ */ new GLOBAL.TextEncoder();
1834
1840
  const getHash = (value) => {
1835
1841
  let hash = 2166136261;
1836
1842
  arrayForEach(textEncoder.encode(value), (char) => {
@@ -3787,16 +3793,16 @@
3787
3793
  store,
3788
3794
  (method, name) =>
3789
3795
  (mergeableStore[name] = // fluent methods
3790
- strStartsWith(name, 'set') ||
3791
- strStartsWith(name, 'del') ||
3796
+ strStartsWith(name, SET) ||
3797
+ strStartsWith(name, DEL) ||
3792
3798
  strStartsWith(name, 'apply') ||
3793
- strEndsWith(name, 'Transaction') ||
3794
- name == 'callListener'
3799
+ strEndsWith(name, TRANSACTION) ||
3800
+ name == 'call' + LISTENER
3795
3801
  ? (...args) => {
3796
3802
  method(...args);
3797
3803
  return mergeableStore;
3798
3804
  }
3799
- : strStartsWith(name, 'add') && strEndsWith(name, 'Listener')
3805
+ : strStartsWith(name, ADD) && strEndsWith(name, LISTENER)
3800
3806
  ? (...args) => {
3801
3807
  const listenerArg = LISTENER_ARGS[slice(name, 3, -8)] ?? 0;
3802
3808
  const listener = args[listenerArg];
@@ -274,12 +274,6 @@
274
274
  };
275
275
  };
276
276
 
277
- const ENCODE =
278
- '-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
279
- EMPTY_STRING,
280
- );
281
- mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
282
-
283
277
  const defaultSorter = (sortKey1, sortKey2) =>
284
278
  (sortKey1 ?? 0) < (sortKey2 ?? 0) ? -1 : 1;
285
279
 
@@ -274,12 +274,6 @@
274
274
  };
275
275
  };
276
276
 
277
- const ENCODE =
278
- '-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
279
- EMPTY_STRING,
280
- );
281
- mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
282
-
283
277
  const defaultSorter = (sortKey1, sortKey2) =>
284
278
  (sortKey1 ?? 0) < (sortKey2 ?? 0) ? -1 : 1;
285
279
 
@@ -18,7 +18,9 @@
18
18
  const TYPE = 'type';
19
19
  const DEFAULT = 'default';
20
20
  const LISTENER = 'Listener';
21
+ const SET = 'set';
21
22
  const ADD = 'add';
23
+ const DEL = 'del';
22
24
  const HAS = 'Has';
23
25
  const IDS = 'Ids';
24
26
  const TABLE = 'Table';
@@ -32,9 +34,12 @@
32
34
  const VALUE = 'Value';
33
35
  const VALUES = VALUE + 's';
34
36
  const VALUE_IDS = VALUE + IDS;
37
+ const TRANSACTION = 'Transaction';
35
38
  const id = (key) => EMPTY_STRING + key;
36
39
  const strStartsWith = (str, prefix) => str.startsWith(prefix);
37
40
  const strEndsWith = (str, suffix) => str.endsWith(suffix);
41
+ const strSplit = (str, separator = EMPTY_STRING, limit) =>
42
+ str.split(separator, limit);
38
43
 
39
44
  const GLOBAL = globalThis;
40
45
  const math = Math;
@@ -220,7 +225,7 @@
220
225
  },
221
226
  );
222
227
 
223
- const textEncoder = new GLOBAL.TextEncoder();
228
+ const textEncoder = /* @__PURE__ */ new GLOBAL.TextEncoder();
224
229
  const getHash = (value) => {
225
230
  let hash = 2166136261;
226
231
  arrayForEach(textEncoder.encode(value), (char) => {
@@ -386,11 +391,12 @@
386
391
  );
387
392
 
388
393
  const MASK6 = 63;
389
- const ENCODE =
390
- '-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
391
- EMPTY_STRING,
392
- );
393
- const DECODE = mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
394
+ const ENCODE = strSplit(
395
+ '-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
396
+ );
397
+ const DECODE = /* @__PURE__ */ mapNew(
398
+ /* @__PURE__ */ arrayMap(ENCODE, (char, index) => [char, index]),
399
+ );
394
400
  const encode = (num) => ENCODE[num & MASK6];
395
401
  const decode = (str, pos) => mapGet(DECODE, str[pos]) ?? 0;
396
402
 
@@ -2305,16 +2311,16 @@
2305
2311
  store,
2306
2312
  (method, name) =>
2307
2313
  (mergeableStore[name] = // fluent methods
2308
- strStartsWith(name, 'set') ||
2309
- strStartsWith(name, 'del') ||
2314
+ strStartsWith(name, SET) ||
2315
+ strStartsWith(name, DEL) ||
2310
2316
  strStartsWith(name, 'apply') ||
2311
- strEndsWith(name, 'Transaction') ||
2312
- name == 'callListener'
2317
+ strEndsWith(name, TRANSACTION) ||
2318
+ name == 'call' + LISTENER
2313
2319
  ? (...args) => {
2314
2320
  method(...args);
2315
2321
  return mergeableStore;
2316
2322
  }
2317
- : strStartsWith(name, 'add') && strEndsWith(name, 'Listener')
2323
+ : strStartsWith(name, ADD) && strEndsWith(name, LISTENER)
2318
2324
  ? (...args) => {
2319
2325
  const listenerArg = LISTENER_ARGS[slice(name, 3, -8)] ?? 0;
2320
2326
  const listener = args[listenerArg];
@@ -18,7 +18,9 @@
18
18
  const TYPE = 'type';
19
19
  const DEFAULT = 'default';
20
20
  const LISTENER = 'Listener';
21
+ const SET = 'set';
21
22
  const ADD = 'add';
23
+ const DEL = 'del';
22
24
  const HAS = 'Has';
23
25
  const IDS = 'Ids';
24
26
  const TABLE = 'Table';
@@ -32,9 +34,12 @@
32
34
  const VALUE = 'Value';
33
35
  const VALUES = VALUE + 's';
34
36
  const VALUE_IDS = VALUE + IDS;
37
+ const TRANSACTION = 'Transaction';
35
38
  const id = (key) => EMPTY_STRING + key;
36
39
  const strStartsWith = (str, prefix) => str.startsWith(prefix);
37
40
  const strEndsWith = (str, suffix) => str.endsWith(suffix);
41
+ const strSplit = (str, separator = EMPTY_STRING, limit) =>
42
+ str.split(separator, limit);
38
43
 
39
44
  const GLOBAL = globalThis;
40
45
  const math = Math;
@@ -220,7 +225,7 @@
220
225
  },
221
226
  );
222
227
 
223
- const textEncoder = new GLOBAL.TextEncoder();
228
+ const textEncoder = /* @__PURE__ */ new GLOBAL.TextEncoder();
224
229
  const getHash = (value) => {
225
230
  let hash = 2166136261;
226
231
  arrayForEach(textEncoder.encode(value), (char) => {
@@ -386,11 +391,12 @@
386
391
  );
387
392
 
388
393
  const MASK6 = 63;
389
- const ENCODE =
390
- '-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
391
- EMPTY_STRING,
392
- );
393
- const DECODE = mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
394
+ const ENCODE = strSplit(
395
+ '-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
396
+ );
397
+ const DECODE = /* @__PURE__ */ mapNew(
398
+ /* @__PURE__ */ arrayMap(ENCODE, (char, index) => [char, index]),
399
+ );
394
400
  const encode = (num) => ENCODE[num & MASK6];
395
401
  const decode = (str, pos) => mapGet(DECODE, str[pos]) ?? 0;
396
402
 
@@ -2305,16 +2311,16 @@
2305
2311
  store,
2306
2312
  (method, name) =>
2307
2313
  (mergeableStore[name] = // fluent methods
2308
- strStartsWith(name, 'set') ||
2309
- strStartsWith(name, 'del') ||
2314
+ strStartsWith(name, SET) ||
2315
+ strStartsWith(name, DEL) ||
2310
2316
  strStartsWith(name, 'apply') ||
2311
- strEndsWith(name, 'Transaction') ||
2312
- name == 'callListener'
2317
+ strEndsWith(name, TRANSACTION) ||
2318
+ name == 'call' + LISTENER
2313
2319
  ? (...args) => {
2314
2320
  method(...args);
2315
2321
  return mergeableStore;
2316
2322
  }
2317
- : strStartsWith(name, 'add') && strEndsWith(name, 'Listener')
2323
+ : strStartsWith(name, ADD) && strEndsWith(name, LISTENER)
2318
2324
  ? (...args) => {
2319
2325
  const listenerArg = LISTENER_ARGS[slice(name, 3, -8)] ?? 0;
2320
2326
  const listener = args[listenerArg];
@@ -98,7 +98,7 @@
98
98
  },
99
99
  );
100
100
 
101
- const numericAggregators = mapNew([
101
+ const numericAggregators = /* @__PURE__ */ mapNew([
102
102
  [
103
103
  AVG,
104
104
  [
@@ -98,7 +98,7 @@
98
98
  },
99
99
  );
100
100
 
101
- const numericAggregators = mapNew([
101
+ const numericAggregators = /* @__PURE__ */ mapNew([
102
102
  [
103
103
  AVG,
104
104
  [
@@ -1 +1 @@
1
- var e,o;e=this,o=function(e){"use strict";const o=globalThis,t=Math,n=t.floor,r=(e,o)=>e.map(o),a="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz".split("");var i;i=r(a,((e,o)=>[e,o])),new Map(i);const s=o.crypto?e=>o.crypto.getRandomValues(e):e=>r(e,(()=>n(256*t.random())));e.defaultSorter=(e,o)=>(e??0)<(o??0)?-1:1,e.getUniqueId=(e=16)=>{return o=(e,o)=>e+a[63&o],s(new Uint8Array(e)).reduce(o,"");var o}},"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).TinyBaseCommon={});
1
+ var e,o;e=this,o=function(e){"use strict";const o=globalThis,t=Math,n=t.floor,i=((e,o="")=>"-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz".split(o,void 0))(),r=o.crypto?e=>o.crypto.getRandomValues(e):e=>(e=>e.map((()=>n(256*t.random()))))(e);e.defaultSorter=(e,o)=>(e??0)<(o??0)?-1:1,e.getUniqueId=(e=16)=>{return o=(e,o)=>e+i[63&o],r(new Uint8Array(e)).reduce(o,"");var o}},"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).TinyBaseCommon={});
Binary file
@@ -1 +1 @@
1
- var e,o;e=this,o=function(e){"use strict";const o=globalThis,t=Math,n=t.floor,r=(e,o)=>e.map(o),a="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz".split("");var i;i=r(a,((e,o)=>[e,o])),new Map(i);const s=o.crypto?e=>o.crypto.getRandomValues(e):e=>r(e,(()=>n(256*t.random())));e.defaultSorter=(e,o)=>(e??0)<(o??0)?-1:1,e.getUniqueId=(e=16)=>{return o=(e,o)=>e+a[63&o],s(new Uint8Array(e)).reduce(o,"");var o}},"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).TinyBaseCommon={});
1
+ var e,o;e=this,o=function(e){"use strict";const o=globalThis,t=Math,n=t.floor,i=((e,o="")=>"-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz".split(o,void 0))(),r=o.crypto?e=>o.crypto.getRandomValues(e):e=>(e=>e.map((()=>n(256*t.random()))))(e);e.defaultSorter=(e,o)=>(e??0)<(o??0)?-1:1,e.getUniqueId=(e=16)=>{return o=(e,o)=>e+i[63&o],r(new Uint8Array(e)).reduce(o,"");var o}},"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).TinyBaseCommon={});