tinybase 5.3.0 → 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.
- package/cjs/common/index.cjs +5 -7
- package/cjs/common/with-schemas/index.cjs +5 -7
- package/cjs/es6/common/index.cjs +5 -7
- package/cjs/es6/common/with-schemas/index.cjs +5 -7
- package/cjs/es6/index.cjs +18 -12
- package/cjs/es6/indexes/index.cjs +0 -6
- package/cjs/es6/indexes/with-schemas/index.cjs +0 -6
- package/cjs/es6/mergeable-store/index.cjs +17 -11
- package/cjs/es6/mergeable-store/with-schemas/index.cjs +17 -11
- package/cjs/es6/metrics/index.cjs +1 -1
- package/cjs/es6/metrics/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/common/index.cjs +1 -1
- package/cjs/es6/min/common/index.cjs.gz +0 -0
- package/cjs/es6/min/common/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/common/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/index.cjs +1 -1
- package/cjs/es6/min/index.cjs.gz +0 -0
- package/cjs/es6/min/indexes/index.cjs +1 -1
- package/cjs/es6/min/indexes/index.cjs.gz +0 -0
- package/cjs/es6/min/indexes/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/indexes/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/mergeable-store/index.cjs +1 -1
- package/cjs/es6/min/mergeable-store/index.cjs.gz +0 -0
- package/cjs/es6/min/mergeable-store/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/mergeable-store/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/persisters/persister-pglite/index.cjs +1 -1
- package/cjs/es6/min/persisters/persister-pglite/index.cjs.gz +0 -0
- package/cjs/es6/min/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/persisters/persister-pglite/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/store/index.cjs +1 -1
- package/cjs/es6/min/store/index.cjs.gz +0 -0
- package/cjs/es6/min/store/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/store/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-local/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-local/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-local/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-local/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-ws-server/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-server/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/tools/index.cjs +1 -1
- package/cjs/es6/min/tools/index.cjs.gz +0 -0
- package/cjs/es6/min/tools/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/tools/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react/index.cjs +1 -1
- package/cjs/es6/min/ui-react/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/ui-react/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-dom/index.cjs +1 -1
- package/cjs/es6/min/ui-react-dom/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-dom/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/ui-react-dom/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-inspector/index.cjs +1 -1
- package/cjs/es6/min/ui-react-inspector/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-inspector/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/ui-react-inspector/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/persisters/persister-pglite/index.cjs +1 -1
- package/cjs/es6/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/es6/queries/index.cjs +1 -1
- package/cjs/es6/queries/with-schemas/index.cjs +1 -1
- package/cjs/es6/store/index.cjs +0 -6
- package/cjs/es6/store/with-schemas/index.cjs +0 -6
- package/cjs/es6/synchronizers/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-broadcast-channel/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-local/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-local/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-client/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-server/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/with-schemas/index.cjs +5 -7
- package/cjs/es6/tools/index.cjs +7 -4
- package/cjs/es6/tools/with-schemas/index.cjs +7 -4
- package/cjs/es6/ui-react/index.cjs +101 -109
- package/cjs/es6/ui-react/with-schemas/index.cjs +101 -109
- package/cjs/es6/ui-react-dom/index.cjs +14 -8
- package/cjs/es6/ui-react-dom/with-schemas/index.cjs +14 -8
- package/cjs/es6/ui-react-inspector/index.cjs +18 -16
- package/cjs/es6/ui-react-inspector/with-schemas/index.cjs +18 -16
- package/cjs/es6/with-schemas/index.cjs +18 -12
- package/cjs/index.cjs +18 -12
- package/cjs/indexes/index.cjs +0 -6
- package/cjs/indexes/with-schemas/index.cjs +0 -6
- package/cjs/mergeable-store/index.cjs +17 -11
- package/cjs/mergeable-store/with-schemas/index.cjs +17 -11
- package/cjs/metrics/index.cjs +1 -1
- package/cjs/metrics/with-schemas/index.cjs +1 -1
- package/cjs/min/common/index.cjs +1 -1
- package/cjs/min/common/index.cjs.gz +0 -0
- package/cjs/min/common/with-schemas/index.cjs +1 -1
- package/cjs/min/common/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/index.cjs +1 -1
- package/cjs/min/index.cjs.gz +0 -0
- package/cjs/min/indexes/index.cjs +1 -1
- package/cjs/min/indexes/index.cjs.gz +0 -0
- package/cjs/min/indexes/with-schemas/index.cjs +1 -1
- package/cjs/min/indexes/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/mergeable-store/index.cjs +1 -1
- package/cjs/min/mergeable-store/index.cjs.gz +0 -0
- package/cjs/min/mergeable-store/with-schemas/index.cjs +1 -1
- package/cjs/min/mergeable-store/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/persisters/persister-pglite/index.cjs +1 -1
- package/cjs/min/persisters/persister-pglite/index.cjs.gz +0 -0
- package/cjs/min/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/min/persisters/persister-pglite/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/store/index.cjs +1 -1
- package/cjs/min/store/index.cjs.gz +0 -0
- package/cjs/min/store/with-schemas/index.cjs +1 -1
- package/cjs/min/store/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/index.cjs +1 -1
- package/cjs/min/synchronizers/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-broadcast-channel/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-broadcast-channel/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-local/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-local/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-local/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-local/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-ws-client/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-client/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-ws-server/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-server/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/tools/index.cjs +1 -1
- package/cjs/min/tools/index.cjs.gz +0 -0
- package/cjs/min/tools/with-schemas/index.cjs +1 -1
- package/cjs/min/tools/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/ui-react/index.cjs +1 -1
- package/cjs/min/ui-react/index.cjs.gz +0 -0
- package/cjs/min/ui-react/with-schemas/index.cjs +1 -1
- package/cjs/min/ui-react/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/ui-react-dom/index.cjs +1 -1
- package/cjs/min/ui-react-dom/index.cjs.gz +0 -0
- package/cjs/min/ui-react-dom/with-schemas/index.cjs +1 -1
- package/cjs/min/ui-react-dom/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/ui-react-inspector/index.cjs +1 -1
- package/cjs/min/ui-react-inspector/index.cjs.gz +0 -0
- package/cjs/min/ui-react-inspector/with-schemas/index.cjs +1 -1
- package/cjs/min/ui-react-inspector/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/with-schemas/index.cjs +1 -1
- package/cjs/min/with-schemas/index.cjs.gz +0 -0
- package/cjs/persisters/persister-pglite/index.cjs +1 -1
- package/cjs/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/queries/index.cjs +1 -1
- package/cjs/queries/with-schemas/index.cjs +1 -1
- package/cjs/store/index.cjs +0 -6
- package/cjs/store/with-schemas/index.cjs +0 -6
- package/cjs/synchronizers/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-broadcast-channel/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-local/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-local/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-client/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-server/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/with-schemas/index.cjs +5 -7
- package/cjs/tools/index.cjs +7 -4
- package/cjs/tools/with-schemas/index.cjs +7 -4
- package/cjs/ui-react/index.cjs +97 -107
- package/cjs/ui-react/with-schemas/index.cjs +97 -107
- package/cjs/ui-react-dom/index.cjs +14 -8
- package/cjs/ui-react-dom/with-schemas/index.cjs +14 -8
- package/cjs/ui-react-inspector/index.cjs +18 -16
- package/cjs/ui-react-inspector/with-schemas/index.cjs +18 -16
- package/cjs/with-schemas/index.cjs +18 -12
- package/common/index.js +5 -7
- package/common/with-schemas/index.js +5 -7
- package/es6/common/index.js +5 -7
- package/es6/common/with-schemas/index.js +5 -7
- package/es6/index.js +18 -12
- package/es6/indexes/index.js +0 -6
- package/es6/indexes/with-schemas/index.js +0 -6
- package/es6/mergeable-store/index.js +17 -11
- package/es6/mergeable-store/with-schemas/index.js +17 -11
- package/es6/metrics/index.js +1 -1
- package/es6/metrics/with-schemas/index.js +1 -1
- package/es6/min/common/index.js +1 -1
- package/es6/min/common/index.js.gz +0 -0
- package/es6/min/common/with-schemas/index.js +1 -1
- package/es6/min/common/with-schemas/index.js.gz +0 -0
- package/es6/min/index.js +1 -1
- package/es6/min/index.js.gz +0 -0
- package/es6/min/indexes/index.js +1 -1
- package/es6/min/indexes/index.js.gz +0 -0
- package/es6/min/indexes/with-schemas/index.js +1 -1
- package/es6/min/indexes/with-schemas/index.js.gz +0 -0
- package/es6/min/mergeable-store/index.js +1 -1
- package/es6/min/mergeable-store/index.js.gz +0 -0
- package/es6/min/mergeable-store/with-schemas/index.js +1 -1
- package/es6/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/es6/min/persisters/persister-pglite/index.js +1 -1
- package/es6/min/persisters/persister-pglite/index.js.gz +0 -0
- package/es6/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/es6/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/es6/min/store/index.js +1 -1
- package/es6/min/store/index.js.gz +0 -0
- package/es6/min/store/with-schemas/index.js +1 -1
- package/es6/min/store/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/index.js +1 -1
- package/es6/min/synchronizers/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-local/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-ws-server/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/es6/min/tools/index.js +1 -1
- package/es6/min/tools/index.js.gz +0 -0
- package/es6/min/tools/with-schemas/index.js +1 -1
- package/es6/min/tools/with-schemas/index.js.gz +0 -0
- package/es6/min/ui-react/index.js +1 -1
- package/es6/min/ui-react/index.js.gz +0 -0
- package/es6/min/ui-react/with-schemas/index.js +1 -1
- package/es6/min/ui-react/with-schemas/index.js.gz +0 -0
- package/es6/min/ui-react-dom/index.js +1 -1
- package/es6/min/ui-react-dom/index.js.gz +0 -0
- package/es6/min/ui-react-dom/with-schemas/index.js +1 -1
- package/es6/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/es6/min/ui-react-inspector/index.js +1 -1
- package/es6/min/ui-react-inspector/index.js.gz +0 -0
- package/es6/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/es6/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/es6/min/with-schemas/index.js +1 -1
- package/es6/min/with-schemas/index.js.gz +0 -0
- package/es6/persisters/persister-pglite/index.js +1 -1
- package/es6/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/es6/queries/index.js +1 -1
- package/es6/queries/with-schemas/index.js +1 -1
- package/es6/store/index.js +0 -6
- package/es6/store/with-schemas/index.js +0 -6
- package/es6/synchronizers/index.js +5 -7
- package/es6/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/es6/synchronizers/synchronizer-local/index.js +5 -7
- package/es6/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/es6/synchronizers/with-schemas/index.js +5 -7
- package/es6/tools/index.js +7 -4
- package/es6/tools/with-schemas/index.js +7 -4
- package/es6/ui-react/index.js +101 -109
- package/es6/ui-react/with-schemas/index.js +101 -109
- package/es6/ui-react-dom/index.js +14 -8
- package/es6/ui-react-dom/with-schemas/index.js +14 -8
- package/es6/ui-react-inspector/index.js +18 -16
- package/es6/ui-react-inspector/with-schemas/index.js +18 -16
- package/es6/with-schemas/index.js +18 -12
- package/index.js +18 -12
- package/indexes/index.js +0 -6
- package/indexes/with-schemas/index.js +0 -6
- package/mergeable-store/index.js +17 -11
- package/mergeable-store/with-schemas/index.js +17 -11
- package/metrics/index.js +1 -1
- package/metrics/with-schemas/index.js +1 -1
- package/min/common/index.js +1 -1
- package/min/common/index.js.gz +0 -0
- package/min/common/with-schemas/index.js +1 -1
- package/min/common/with-schemas/index.js.gz +0 -0
- package/min/index.js +1 -1
- package/min/index.js.gz +0 -0
- package/min/indexes/index.js +1 -1
- package/min/indexes/index.js.gz +0 -0
- package/min/indexes/with-schemas/index.js +1 -1
- package/min/indexes/with-schemas/index.js.gz +0 -0
- package/min/mergeable-store/index.js +1 -1
- package/min/mergeable-store/index.js.gz +0 -0
- package/min/mergeable-store/with-schemas/index.js +1 -1
- package/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-pglite/index.js +1 -1
- package/min/persisters/persister-pglite/index.js.gz +0 -0
- package/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/min/store/index.js +1 -1
- package/min/store/index.js.gz +0 -0
- package/min/store/with-schemas/index.js +1 -1
- package/min/store/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/index.js +1 -1
- package/min/synchronizers/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
- package/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-local/index.js +1 -1
- package/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-server/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/with-schemas/index.js +1 -1
- package/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/min/tools/index.js +1 -1
- package/min/tools/index.js.gz +0 -0
- package/min/tools/with-schemas/index.js +1 -1
- package/min/tools/with-schemas/index.js.gz +0 -0
- package/min/ui-react/index.js +1 -1
- package/min/ui-react/index.js.gz +0 -0
- package/min/ui-react/with-schemas/index.js +1 -1
- package/min/ui-react/with-schemas/index.js.gz +0 -0
- package/min/ui-react-dom/index.js +1 -1
- package/min/ui-react-dom/index.js.gz +0 -0
- package/min/ui-react-dom/with-schemas/index.js +1 -1
- package/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/min/ui-react-inspector/index.js +1 -1
- package/min/ui-react-inspector/index.js.gz +0 -0
- package/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/min/with-schemas/index.js +1 -1
- package/min/with-schemas/index.js.gz +0 -0
- package/package.json +5 -5
- package/persisters/persister-pglite/index.js +1 -1
- package/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/queries/index.js +1 -1
- package/queries/with-schemas/index.js +1 -1
- package/readme.md +14 -14
- package/releases.md +24 -24
- package/store/index.js +0 -6
- package/store/with-schemas/index.js +0 -6
- package/synchronizers/index.js +5 -7
- package/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/synchronizers/synchronizer-local/index.js +5 -7
- package/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/synchronizers/with-schemas/index.js +5 -7
- package/tools/index.js +7 -4
- package/tools/with-schemas/index.js +7 -4
- package/ui-react/index.js +97 -107
- package/ui-react/with-schemas/index.js +97 -107
- package/ui-react-dom/index.js +14 -8
- package/ui-react-dom/with-schemas/index.js +14 -8
- package/ui-react-inspector/index.js +18 -16
- package/ui-react-inspector/with-schemas/index.js +18 -16
- package/umd/common/index.js +5 -7
- package/umd/common/with-schemas/index.js +5 -7
- package/umd/es6/common/index.js +5 -7
- package/umd/es6/common/with-schemas/index.js +5 -7
- package/umd/es6/index.js +18 -12
- package/umd/es6/indexes/index.js +0 -6
- package/umd/es6/indexes/with-schemas/index.js +0 -6
- package/umd/es6/mergeable-store/index.js +17 -11
- package/umd/es6/mergeable-store/with-schemas/index.js +17 -11
- package/umd/es6/metrics/index.js +1 -1
- package/umd/es6/metrics/with-schemas/index.js +1 -1
- package/umd/es6/min/common/index.js +1 -1
- package/umd/es6/min/common/index.js.gz +0 -0
- package/umd/es6/min/common/with-schemas/index.js +1 -1
- package/umd/es6/min/common/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/index.js +1 -1
- package/umd/es6/min/index.js.gz +0 -0
- package/umd/es6/min/indexes/index.js +1 -1
- package/umd/es6/min/indexes/index.js.gz +0 -0
- package/umd/es6/min/indexes/with-schemas/index.js +1 -1
- package/umd/es6/min/indexes/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/mergeable-store/index.js +1 -1
- package/umd/es6/min/mergeable-store/index.js.gz +0 -0
- package/umd/es6/min/mergeable-store/with-schemas/index.js +1 -1
- package/umd/es6/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/persisters/persister-pglite/index.js +1 -1
- package/umd/es6/min/persisters/persister-pglite/index.js.gz +0 -0
- package/umd/es6/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/es6/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/store/index.js +1 -1
- package/umd/es6/min/store/index.js.gz +0 -0
- package/umd/es6/min/store/with-schemas/index.js +1 -1
- package/umd/es6/min/store/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/index.js +1 -1
- package/umd/es6/min/synchronizers/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-local/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-ws-server/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/tools/index.js +1 -1
- package/umd/es6/min/tools/index.js.gz +0 -0
- package/umd/es6/min/tools/with-schemas/index.js +1 -1
- package/umd/es6/min/tools/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/ui-react/index.js +1 -1
- package/umd/es6/min/ui-react/index.js.gz +0 -0
- package/umd/es6/min/ui-react/with-schemas/index.js +1 -1
- package/umd/es6/min/ui-react/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/ui-react-dom/index.js +1 -1
- package/umd/es6/min/ui-react-dom/index.js.gz +0 -0
- package/umd/es6/min/ui-react-dom/with-schemas/index.js +1 -1
- package/umd/es6/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/ui-react-inspector/index.js +1 -1
- package/umd/es6/min/ui-react-inspector/index.js.gz +0 -0
- package/umd/es6/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/umd/es6/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/with-schemas/index.js +1 -1
- package/umd/es6/min/with-schemas/index.js.gz +0 -0
- package/umd/es6/persisters/persister-pglite/index.js +1 -1
- package/umd/es6/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/es6/queries/index.js +1 -1
- package/umd/es6/queries/with-schemas/index.js +1 -1
- package/umd/es6/store/index.js +0 -6
- package/umd/es6/store/with-schemas/index.js +0 -6
- package/umd/es6/synchronizers/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-local/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/with-schemas/index.js +5 -7
- package/umd/es6/tools/index.js +7 -4
- package/umd/es6/tools/with-schemas/index.js +7 -4
- package/umd/es6/ui-react/index.js +101 -118
- package/umd/es6/ui-react/with-schemas/index.js +101 -118
- package/umd/es6/ui-react-dom/index.js +14 -8
- package/umd/es6/ui-react-dom/with-schemas/index.js +14 -8
- package/umd/es6/ui-react-inspector/index.js +18 -16
- package/umd/es6/ui-react-inspector/with-schemas/index.js +18 -16
- package/umd/es6/with-schemas/index.js +18 -12
- package/umd/index.js +18 -12
- package/umd/indexes/index.js +0 -6
- package/umd/indexes/with-schemas/index.js +0 -6
- package/umd/mergeable-store/index.js +17 -11
- package/umd/mergeable-store/with-schemas/index.js +17 -11
- package/umd/metrics/index.js +1 -1
- package/umd/metrics/with-schemas/index.js +1 -1
- package/umd/min/common/index.js +1 -1
- package/umd/min/common/index.js.gz +0 -0
- package/umd/min/common/with-schemas/index.js +1 -1
- package/umd/min/common/with-schemas/index.js.gz +0 -0
- package/umd/min/index.js +1 -1
- package/umd/min/index.js.gz +0 -0
- package/umd/min/indexes/index.js +1 -1
- package/umd/min/indexes/index.js.gz +0 -0
- package/umd/min/indexes/with-schemas/index.js +1 -1
- package/umd/min/indexes/with-schemas/index.js.gz +0 -0
- package/umd/min/mergeable-store/index.js +1 -1
- package/umd/min/mergeable-store/index.js.gz +0 -0
- package/umd/min/mergeable-store/with-schemas/index.js +1 -1
- package/umd/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/umd/min/persisters/persister-pglite/index.js +1 -1
- package/umd/min/persisters/persister-pglite/index.js.gz +0 -0
- package/umd/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/umd/min/store/index.js +1 -1
- package/umd/min/store/index.js.gz +0 -0
- package/umd/min/store/with-schemas/index.js +1 -1
- package/umd/min/store/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/index.js +1 -1
- package/umd/min/synchronizers/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-local/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-ws-server/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/umd/min/tools/index.js +1 -1
- package/umd/min/tools/index.js.gz +0 -0
- package/umd/min/tools/with-schemas/index.js +1 -1
- package/umd/min/tools/with-schemas/index.js.gz +0 -0
- package/umd/min/ui-react/index.js +1 -1
- package/umd/min/ui-react/index.js.gz +0 -0
- package/umd/min/ui-react/with-schemas/index.js +1 -1
- package/umd/min/ui-react/with-schemas/index.js.gz +0 -0
- package/umd/min/ui-react-dom/index.js +1 -1
- package/umd/min/ui-react-dom/index.js.gz +0 -0
- package/umd/min/ui-react-dom/with-schemas/index.js +1 -1
- package/umd/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/umd/min/ui-react-inspector/index.js +1 -1
- package/umd/min/ui-react-inspector/index.js.gz +0 -0
- package/umd/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/umd/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/umd/min/with-schemas/index.js +1 -1
- package/umd/min/with-schemas/index.js.gz +0 -0
- package/umd/persisters/persister-pglite/index.js +1 -1
- package/umd/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/queries/index.js +1 -1
- package/umd/queries/with-schemas/index.js +1 -1
- package/umd/store/index.js +0 -6
- package/umd/store/with-schemas/index.js +0 -6
- package/umd/synchronizers/index.js +5 -7
- package/umd/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/umd/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/umd/synchronizers/synchronizer-local/index.js +5 -7
- package/umd/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/umd/synchronizers/with-schemas/index.js +5 -7
- package/umd/tools/index.js +7 -4
- package/umd/tools/with-schemas/index.js +7 -4
- package/umd/ui-react/index.js +97 -110
- package/umd/ui-react/with-schemas/index.js +97 -110
- package/umd/ui-react-dom/index.js +14 -8
- package/umd/ui-react-dom/with-schemas/index.js +14 -8
- package/umd/ui-react-inspector/index.js +18 -16
- package/umd/ui-react-inspector/with-schemas/index.js +18 -16
- package/umd/with-schemas/index.js +18 -12
- package/with-schemas/index.js +18 -12
|
@@ -69,6 +69,8 @@ const CURRENT_TARGET = 'currentTarget';
|
|
|
69
69
|
const _VALUE = 'value';
|
|
70
70
|
const UNDEFINED = '\uFFFC';
|
|
71
71
|
const id = (key) => EMPTY_STRING + key;
|
|
72
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
73
|
+
str.split(separator, limit);
|
|
72
74
|
|
|
73
75
|
const GLOBAL = globalThis;
|
|
74
76
|
const WINDOW = GLOBAL.window;
|
|
@@ -94,11 +96,16 @@ const errorNew = (message) => {
|
|
|
94
96
|
const {
|
|
95
97
|
PureComponent,
|
|
96
98
|
Fragment,
|
|
99
|
+
createContext,
|
|
97
100
|
createElement,
|
|
98
|
-
useCallback
|
|
101
|
+
useCallback,
|
|
102
|
+
useContext,
|
|
103
|
+
useEffect,
|
|
99
104
|
useLayoutEffect,
|
|
105
|
+
useMemo,
|
|
100
106
|
useRef,
|
|
101
|
-
useState
|
|
107
|
+
useState,
|
|
108
|
+
useSyncExternalStore,
|
|
102
109
|
} = React;
|
|
103
110
|
const getProps = (getProps2, ...ids) =>
|
|
104
111
|
isUndefined(getProps2) ? {} : getProps2(...ids);
|
|
@@ -200,7 +207,7 @@ const getUniqueId = (...args) => jsonStringWithMap(args);
|
|
|
200
207
|
const sortedIdsMap = (ids, callback) => arrayMap(arraySort([...ids]), callback);
|
|
201
208
|
const useEditable = (uniqueId, s) => [
|
|
202
209
|
!!useCell(STATE_TABLE, uniqueId, EDITABLE_CELL, s),
|
|
203
|
-
useCallback
|
|
210
|
+
useCallback(
|
|
204
211
|
(event) => {
|
|
205
212
|
s.setCell(STATE_TABLE, uniqueId, EDITABLE_CELL, (editable) => !editable);
|
|
206
213
|
event.preventDefault();
|
|
@@ -381,7 +388,6 @@ const setOrDelValue = (store, valueId, value) =>
|
|
|
381
388
|
const getTypeCase = (type, stringCase, numberCase, booleanCase) =>
|
|
382
389
|
type == STRING ? stringCase : type == NUMBER ? numberCase : booleanCase;
|
|
383
390
|
|
|
384
|
-
const {useCallback, useMemo, useState} = React;
|
|
385
391
|
const DOT = '.';
|
|
386
392
|
const EDITABLE = 'editable';
|
|
387
393
|
const LEFT_ARROW = '\u2190';
|
|
@@ -594,7 +600,7 @@ const RelationshipInHtmlRow = ({
|
|
|
594
600
|
idColumn === false
|
|
595
601
|
? null
|
|
596
602
|
: /* @__PURE__ */ createElement(
|
|
597
|
-
|
|
603
|
+
Fragment,
|
|
598
604
|
null,
|
|
599
605
|
/* @__PURE__ */ createElement('th', null, localRowId),
|
|
600
606
|
/* @__PURE__ */ createElement('th', null, remoteRowId),
|
|
@@ -602,7 +608,7 @@ const RelationshipInHtmlRow = ({
|
|
|
602
608
|
objToArray(
|
|
603
609
|
cells,
|
|
604
610
|
({component: CellView2, getComponentProps}, compoundCellId) => {
|
|
605
|
-
const [tableId, cellId] = compoundCellId
|
|
611
|
+
const [tableId, cellId] = strSplit(compoundCellId, DOT, 2);
|
|
606
612
|
const rowId =
|
|
607
613
|
tableId === localTableId
|
|
608
614
|
? localRowId
|
|
@@ -887,7 +893,7 @@ const RelationshipInHtmlTable = ({
|
|
|
887
893
|
idColumn === false
|
|
888
894
|
? null
|
|
889
895
|
: /* @__PURE__ */ createElement(
|
|
890
|
-
|
|
896
|
+
Fragment,
|
|
891
897
|
null,
|
|
892
898
|
/* @__PURE__ */ createElement(
|
|
893
899
|
'th',
|
|
@@ -1013,11 +1019,11 @@ const SortedTablePaginator = ({
|
|
|
1013
1019
|
offset + limit < total,
|
|
1014
1020
|
);
|
|
1015
1021
|
return /* @__PURE__ */ createElement(
|
|
1016
|
-
|
|
1022
|
+
Fragment,
|
|
1017
1023
|
null,
|
|
1018
1024
|
total > limit &&
|
|
1019
1025
|
/* @__PURE__ */ createElement(
|
|
1020
|
-
|
|
1026
|
+
Fragment,
|
|
1021
1027
|
null,
|
|
1022
1028
|
/* @__PURE__ */ createElement(
|
|
1023
1029
|
'button',
|
|
@@ -1350,7 +1356,7 @@ const StoreView = ({storeId, s}) => {
|
|
|
1350
1356
|
const Body = ({s}) => {
|
|
1351
1357
|
const articleRef = useRef(null);
|
|
1352
1358
|
const idleCallbackRef = useRef(0);
|
|
1353
|
-
const [scrolled, setScrolled] = useState
|
|
1359
|
+
const [scrolled, setScrolled] = useState(false);
|
|
1354
1360
|
const {scrollLeft, scrollTop} = useValues(s);
|
|
1355
1361
|
useLayoutEffect(() => {
|
|
1356
1362
|
const article = articleRef.current;
|
|
@@ -1367,7 +1373,7 @@ const Body = ({s}) => {
|
|
|
1367
1373
|
return () => observer.disconnect();
|
|
1368
1374
|
}
|
|
1369
1375
|
}, [scrolled, scrollLeft, scrollTop]);
|
|
1370
|
-
const handleScroll = useCallback
|
|
1376
|
+
const handleScroll = useCallback(
|
|
1371
1377
|
(event) => {
|
|
1372
1378
|
const {scrollLeft: scrollLeft2, scrollTop: scrollTop2} =
|
|
1373
1379
|
event[CURRENT_TARGET];
|
|
@@ -1948,11 +1954,7 @@ const pairNewMap = () => [mapNew(), mapNew()];
|
|
|
1948
1954
|
const pairClone = (array) => [...array];
|
|
1949
1955
|
const pairIsEqual = ([entry1, entry2]) => entry1 === entry2;
|
|
1950
1956
|
|
|
1951
|
-
|
|
1952
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
|
|
1953
|
-
EMPTY_STRING,
|
|
1954
|
-
);
|
|
1955
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
1957
|
+
strSplit('-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz');
|
|
1956
1958
|
|
|
1957
1959
|
const defaultSorter = (sortKey1, sortKey2) =>
|
|
1958
1960
|
(sortKey1 ?? 0) < (sortKey2 ?? 0) ? -1 : 1;
|
|
@@ -69,6 +69,8 @@ const CURRENT_TARGET = 'currentTarget';
|
|
|
69
69
|
const _VALUE = 'value';
|
|
70
70
|
const UNDEFINED = '\uFFFC';
|
|
71
71
|
const id = (key) => EMPTY_STRING + key;
|
|
72
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
73
|
+
str.split(separator, limit);
|
|
72
74
|
|
|
73
75
|
const GLOBAL = globalThis;
|
|
74
76
|
const WINDOW = GLOBAL.window;
|
|
@@ -94,11 +96,16 @@ const errorNew = (message) => {
|
|
|
94
96
|
const {
|
|
95
97
|
PureComponent,
|
|
96
98
|
Fragment,
|
|
99
|
+
createContext,
|
|
97
100
|
createElement,
|
|
98
|
-
useCallback
|
|
101
|
+
useCallback,
|
|
102
|
+
useContext,
|
|
103
|
+
useEffect,
|
|
99
104
|
useLayoutEffect,
|
|
105
|
+
useMemo,
|
|
100
106
|
useRef,
|
|
101
|
-
useState
|
|
107
|
+
useState,
|
|
108
|
+
useSyncExternalStore,
|
|
102
109
|
} = React;
|
|
103
110
|
const getProps = (getProps2, ...ids) =>
|
|
104
111
|
isUndefined(getProps2) ? {} : getProps2(...ids);
|
|
@@ -200,7 +207,7 @@ const getUniqueId = (...args) => jsonStringWithMap(args);
|
|
|
200
207
|
const sortedIdsMap = (ids, callback) => arrayMap(arraySort([...ids]), callback);
|
|
201
208
|
const useEditable = (uniqueId, s) => [
|
|
202
209
|
!!useCell(STATE_TABLE, uniqueId, EDITABLE_CELL, s),
|
|
203
|
-
useCallback
|
|
210
|
+
useCallback(
|
|
204
211
|
(event) => {
|
|
205
212
|
s.setCell(STATE_TABLE, uniqueId, EDITABLE_CELL, (editable) => !editable);
|
|
206
213
|
event.preventDefault();
|
|
@@ -381,7 +388,6 @@ const setOrDelValue = (store, valueId, value) =>
|
|
|
381
388
|
const getTypeCase = (type, stringCase, numberCase, booleanCase) =>
|
|
382
389
|
type == STRING ? stringCase : type == NUMBER ? numberCase : booleanCase;
|
|
383
390
|
|
|
384
|
-
const {useCallback, useMemo, useState} = React;
|
|
385
391
|
const DOT = '.';
|
|
386
392
|
const EDITABLE = 'editable';
|
|
387
393
|
const LEFT_ARROW = '\u2190';
|
|
@@ -594,7 +600,7 @@ const RelationshipInHtmlRow = ({
|
|
|
594
600
|
idColumn === false
|
|
595
601
|
? null
|
|
596
602
|
: /* @__PURE__ */ createElement(
|
|
597
|
-
|
|
603
|
+
Fragment,
|
|
598
604
|
null,
|
|
599
605
|
/* @__PURE__ */ createElement('th', null, localRowId),
|
|
600
606
|
/* @__PURE__ */ createElement('th', null, remoteRowId),
|
|
@@ -602,7 +608,7 @@ const RelationshipInHtmlRow = ({
|
|
|
602
608
|
objToArray(
|
|
603
609
|
cells,
|
|
604
610
|
({component: CellView2, getComponentProps}, compoundCellId) => {
|
|
605
|
-
const [tableId, cellId] = compoundCellId
|
|
611
|
+
const [tableId, cellId] = strSplit(compoundCellId, DOT, 2);
|
|
606
612
|
const rowId =
|
|
607
613
|
tableId === localTableId
|
|
608
614
|
? localRowId
|
|
@@ -887,7 +893,7 @@ const RelationshipInHtmlTable = ({
|
|
|
887
893
|
idColumn === false
|
|
888
894
|
? null
|
|
889
895
|
: /* @__PURE__ */ createElement(
|
|
890
|
-
|
|
896
|
+
Fragment,
|
|
891
897
|
null,
|
|
892
898
|
/* @__PURE__ */ createElement(
|
|
893
899
|
'th',
|
|
@@ -1013,11 +1019,11 @@ const SortedTablePaginator = ({
|
|
|
1013
1019
|
offset + limit < total,
|
|
1014
1020
|
);
|
|
1015
1021
|
return /* @__PURE__ */ createElement(
|
|
1016
|
-
|
|
1022
|
+
Fragment,
|
|
1017
1023
|
null,
|
|
1018
1024
|
total > limit &&
|
|
1019
1025
|
/* @__PURE__ */ createElement(
|
|
1020
|
-
|
|
1026
|
+
Fragment,
|
|
1021
1027
|
null,
|
|
1022
1028
|
/* @__PURE__ */ createElement(
|
|
1023
1029
|
'button',
|
|
@@ -1350,7 +1356,7 @@ const StoreView = ({storeId, s}) => {
|
|
|
1350
1356
|
const Body = ({s}) => {
|
|
1351
1357
|
const articleRef = useRef(null);
|
|
1352
1358
|
const idleCallbackRef = useRef(0);
|
|
1353
|
-
const [scrolled, setScrolled] = useState
|
|
1359
|
+
const [scrolled, setScrolled] = useState(false);
|
|
1354
1360
|
const {scrollLeft, scrollTop} = useValues(s);
|
|
1355
1361
|
useLayoutEffect(() => {
|
|
1356
1362
|
const article = articleRef.current;
|
|
@@ -1367,7 +1373,7 @@ const Body = ({s}) => {
|
|
|
1367
1373
|
return () => observer.disconnect();
|
|
1368
1374
|
}
|
|
1369
1375
|
}, [scrolled, scrollLeft, scrollTop]);
|
|
1370
|
-
const handleScroll = useCallback
|
|
1376
|
+
const handleScroll = useCallback(
|
|
1371
1377
|
(event) => {
|
|
1372
1378
|
const {scrollLeft: scrollLeft2, scrollTop: scrollTop2} =
|
|
1373
1379
|
event[CURRENT_TARGET];
|
|
@@ -1948,11 +1954,7 @@ const pairNewMap = () => [mapNew(), mapNew()];
|
|
|
1948
1954
|
const pairClone = (array) => [...array];
|
|
1949
1955
|
const pairIsEqual = ([entry1, entry2]) => entry1 === entry2;
|
|
1950
1956
|
|
|
1951
|
-
|
|
1952
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
|
|
1953
|
-
EMPTY_STRING,
|
|
1954
|
-
);
|
|
1955
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
1957
|
+
strSplit('-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz');
|
|
1956
1958
|
|
|
1957
1959
|
const defaultSorter = (sortKey1, sortKey2) =>
|
|
1958
1960
|
(sortKey1 ?? 0) < (sortKey2 ?? 0) ? -1 : 1;
|
package/umd/common/index.js
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
'use strict';
|
|
11
11
|
|
|
12
12
|
const EMPTY_STRING = '';
|
|
13
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
14
|
+
str.split(separator, limit);
|
|
13
15
|
|
|
14
16
|
const GLOBAL = globalThis;
|
|
15
17
|
const math = Math;
|
|
@@ -18,14 +20,10 @@
|
|
|
18
20
|
const arrayMap = (array, cb) => array.map(cb);
|
|
19
21
|
const arrayReduce = (array, cb, initial) => array.reduce(cb, initial);
|
|
20
22
|
|
|
21
|
-
const mapNew = (entries) => new Map(entries);
|
|
22
|
-
|
|
23
23
|
const MASK6 = 63;
|
|
24
|
-
const ENCODE =
|
|
25
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
26
|
-
|
|
27
|
-
);
|
|
28
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
24
|
+
const ENCODE = strSplit(
|
|
25
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
26
|
+
);
|
|
29
27
|
const encode = (num) => ENCODE[num & MASK6];
|
|
30
28
|
|
|
31
29
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
'use strict';
|
|
11
11
|
|
|
12
12
|
const EMPTY_STRING = '';
|
|
13
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
14
|
+
str.split(separator, limit);
|
|
13
15
|
|
|
14
16
|
const GLOBAL = globalThis;
|
|
15
17
|
const math = Math;
|
|
@@ -18,14 +20,10 @@
|
|
|
18
20
|
const arrayMap = (array, cb) => array.map(cb);
|
|
19
21
|
const arrayReduce = (array, cb, initial) => array.reduce(cb, initial);
|
|
20
22
|
|
|
21
|
-
const mapNew = (entries) => new Map(entries);
|
|
22
|
-
|
|
23
23
|
const MASK6 = 63;
|
|
24
|
-
const ENCODE =
|
|
25
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
26
|
-
|
|
27
|
-
);
|
|
28
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
24
|
+
const ENCODE = strSplit(
|
|
25
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
26
|
+
);
|
|
29
27
|
const encode = (num) => ENCODE[num & MASK6];
|
|
30
28
|
|
|
31
29
|
const getRandomValues = GLOBAL.crypto
|
package/umd/es6/common/index.js
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
'use strict';
|
|
11
11
|
|
|
12
12
|
const EMPTY_STRING = '';
|
|
13
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
14
|
+
str.split(separator, limit);
|
|
13
15
|
|
|
14
16
|
const GLOBAL = globalThis;
|
|
15
17
|
const math = Math;
|
|
@@ -18,14 +20,10 @@
|
|
|
18
20
|
const arrayMap = (array, cb) => array.map(cb);
|
|
19
21
|
const arrayReduce = (array, cb, initial) => array.reduce(cb, initial);
|
|
20
22
|
|
|
21
|
-
const mapNew = (entries) => new Map(entries);
|
|
22
|
-
|
|
23
23
|
const MASK6 = 63;
|
|
24
|
-
const ENCODE =
|
|
25
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
26
|
-
|
|
27
|
-
);
|
|
28
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
24
|
+
const ENCODE = strSplit(
|
|
25
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
26
|
+
);
|
|
29
27
|
const encode = (num) => ENCODE[num & MASK6];
|
|
30
28
|
|
|
31
29
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
'use strict';
|
|
11
11
|
|
|
12
12
|
const EMPTY_STRING = '';
|
|
13
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
14
|
+
str.split(separator, limit);
|
|
13
15
|
|
|
14
16
|
const GLOBAL = globalThis;
|
|
15
17
|
const math = Math;
|
|
@@ -18,14 +20,10 @@
|
|
|
18
20
|
const arrayMap = (array, cb) => array.map(cb);
|
|
19
21
|
const arrayReduce = (array, cb, initial) => array.reduce(cb, initial);
|
|
20
22
|
|
|
21
|
-
const mapNew = (entries) => new Map(entries);
|
|
22
|
-
|
|
23
23
|
const MASK6 = 63;
|
|
24
|
-
const ENCODE =
|
|
25
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
26
|
-
|
|
27
|
-
);
|
|
28
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
24
|
+
const ENCODE = strSplit(
|
|
25
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
26
|
+
);
|
|
29
27
|
const encode = (num) => ENCODE[num & MASK6];
|
|
30
28
|
|
|
31
29
|
const getRandomValues = GLOBAL.crypto
|
package/umd/es6/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;
|
|
@@ -830,11 +835,12 @@
|
|
|
830
835
|
);
|
|
831
836
|
|
|
832
837
|
const MASK6 = 63;
|
|
833
|
-
const ENCODE =
|
|
834
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
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,
|
|
3941
|
-
strStartsWith(name,
|
|
3946
|
+
strStartsWith(name, SET) ||
|
|
3947
|
+
strStartsWith(name, DEL) ||
|
|
3942
3948
|
strStartsWith(name, 'apply') ||
|
|
3943
|
-
strEndsWith(name,
|
|
3944
|
-
name == '
|
|
3949
|
+
strEndsWith(name, TRANSACTION) ||
|
|
3950
|
+
name == 'call' + LISTENER
|
|
3945
3951
|
? (...args) => {
|
|
3946
3952
|
method(...args);
|
|
3947
3953
|
return mergeableStore;
|
|
3948
3954
|
}
|
|
3949
|
-
: strStartsWith(name,
|
|
3955
|
+
: strStartsWith(name, ADD) && strEndsWith(name, LISTENER)
|
|
3950
3956
|
? (...args) => {
|
|
3951
3957
|
var _a;
|
|
3952
3958
|
const listenerArg =
|
package/umd/es6/indexes/index.js
CHANGED
|
@@ -297,12 +297,6 @@
|
|
|
297
297
|
};
|
|
298
298
|
};
|
|
299
299
|
|
|
300
|
-
const ENCODE =
|
|
301
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
|
|
302
|
-
EMPTY_STRING,
|
|
303
|
-
);
|
|
304
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
305
|
-
|
|
306
300
|
const defaultSorter = (sortKey1, sortKey2) =>
|
|
307
301
|
(sortKey1 != null ? sortKey1 : 0) < (sortKey2 != null ? sortKey2 : 0)
|
|
308
302
|
? -1
|
|
@@ -297,12 +297,6 @@
|
|
|
297
297
|
};
|
|
298
298
|
};
|
|
299
299
|
|
|
300
|
-
const ENCODE =
|
|
301
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
|
|
302
|
-
EMPTY_STRING,
|
|
303
|
-
);
|
|
304
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
305
|
-
|
|
306
300
|
const defaultSorter = (sortKey1, sortKey2) =>
|
|
307
301
|
(sortKey1 != null ? sortKey1 : 0) < (sortKey2 != null ? sortKey2 : 0)
|
|
308
302
|
? -1
|
|
@@ -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;
|
|
@@ -256,7 +261,7 @@
|
|
|
256
261
|
},
|
|
257
262
|
);
|
|
258
263
|
|
|
259
|
-
const textEncoder = new GLOBAL.TextEncoder();
|
|
264
|
+
const textEncoder = /* @__PURE__ */ new GLOBAL.TextEncoder();
|
|
260
265
|
const getHash = (value) => {
|
|
261
266
|
let hash = 2166136261;
|
|
262
267
|
arrayForEach(textEncoder.encode(value), (char) => {
|
|
@@ -455,11 +460,12 @@
|
|
|
455
460
|
);
|
|
456
461
|
|
|
457
462
|
const MASK6 = 63;
|
|
458
|
-
const ENCODE =
|
|
459
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
+
const ENCODE = strSplit(
|
|
464
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
465
|
+
);
|
|
466
|
+
const DECODE = /* @__PURE__ */ mapNew(
|
|
467
|
+
/* @__PURE__ */ arrayMap(ENCODE, (char, index) => [char, index]),
|
|
468
|
+
);
|
|
463
469
|
const encode = (num) => ENCODE[num & MASK6];
|
|
464
470
|
const decode = (str, pos) => {
|
|
465
471
|
var _a;
|
|
@@ -2410,16 +2416,16 @@
|
|
|
2410
2416
|
store,
|
|
2411
2417
|
(method, name) =>
|
|
2412
2418
|
(mergeableStore[name] = // fluent methods
|
|
2413
|
-
strStartsWith(name,
|
|
2414
|
-
strStartsWith(name,
|
|
2419
|
+
strStartsWith(name, SET) ||
|
|
2420
|
+
strStartsWith(name, DEL) ||
|
|
2415
2421
|
strStartsWith(name, 'apply') ||
|
|
2416
|
-
strEndsWith(name,
|
|
2417
|
-
name == '
|
|
2422
|
+
strEndsWith(name, TRANSACTION) ||
|
|
2423
|
+
name == 'call' + LISTENER
|
|
2418
2424
|
? (...args) => {
|
|
2419
2425
|
method(...args);
|
|
2420
2426
|
return mergeableStore;
|
|
2421
2427
|
}
|
|
2422
|
-
: strStartsWith(name,
|
|
2428
|
+
: strStartsWith(name, ADD) && strEndsWith(name, LISTENER)
|
|
2423
2429
|
? (...args) => {
|
|
2424
2430
|
var _a;
|
|
2425
2431
|
const 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;
|
|
@@ -256,7 +261,7 @@
|
|
|
256
261
|
},
|
|
257
262
|
);
|
|
258
263
|
|
|
259
|
-
const textEncoder = new GLOBAL.TextEncoder();
|
|
264
|
+
const textEncoder = /* @__PURE__ */ new GLOBAL.TextEncoder();
|
|
260
265
|
const getHash = (value) => {
|
|
261
266
|
let hash = 2166136261;
|
|
262
267
|
arrayForEach(textEncoder.encode(value), (char) => {
|
|
@@ -455,11 +460,12 @@
|
|
|
455
460
|
);
|
|
456
461
|
|
|
457
462
|
const MASK6 = 63;
|
|
458
|
-
const ENCODE =
|
|
459
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
+
const ENCODE = strSplit(
|
|
464
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
465
|
+
);
|
|
466
|
+
const DECODE = /* @__PURE__ */ mapNew(
|
|
467
|
+
/* @__PURE__ */ arrayMap(ENCODE, (char, index) => [char, index]),
|
|
468
|
+
);
|
|
463
469
|
const encode = (num) => ENCODE[num & MASK6];
|
|
464
470
|
const decode = (str, pos) => {
|
|
465
471
|
var _a;
|
|
@@ -2410,16 +2416,16 @@
|
|
|
2410
2416
|
store,
|
|
2411
2417
|
(method, name) =>
|
|
2412
2418
|
(mergeableStore[name] = // fluent methods
|
|
2413
|
-
strStartsWith(name,
|
|
2414
|
-
strStartsWith(name,
|
|
2419
|
+
strStartsWith(name, SET) ||
|
|
2420
|
+
strStartsWith(name, DEL) ||
|
|
2415
2421
|
strStartsWith(name, 'apply') ||
|
|
2416
|
-
strEndsWith(name,
|
|
2417
|
-
name == '
|
|
2422
|
+
strEndsWith(name, TRANSACTION) ||
|
|
2423
|
+
name == 'call' + LISTENER
|
|
2418
2424
|
? (...args) => {
|
|
2419
2425
|
method(...args);
|
|
2420
2426
|
return mergeableStore;
|
|
2421
2427
|
}
|
|
2422
|
-
: strStartsWith(name,
|
|
2428
|
+
: strStartsWith(name, ADD) && strEndsWith(name, LISTENER)
|
|
2423
2429
|
? (...args) => {
|
|
2424
2430
|
var _a;
|
|
2425
2431
|
const listenerArg =
|
package/umd/es6/metrics/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e,o;e=this,o=function(e){"use strict";const o=globalThis,t=Math,n=t.floor,
|
|
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)=>(null!=e?e:0)<(null!=o?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,
|
|
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)=>(null!=e?e:0)<(null!=o?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
|