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.
- 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 +3 -3
- 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/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
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
const LISTENER = 'Listener';
|
|
18
18
|
const RESULT = 'Result';
|
|
19
19
|
const GET = 'get';
|
|
20
|
+
const SET = 'set';
|
|
20
21
|
const ADD = 'add';
|
|
22
|
+
const DEL = 'del';
|
|
21
23
|
const HAS = 'Has';
|
|
22
24
|
const _HAS = 'has';
|
|
23
25
|
const IDS = 'Ids';
|
|
@@ -33,7 +35,19 @@
|
|
|
33
35
|
const VALUE = 'Value';
|
|
34
36
|
const VALUES = VALUE + 's';
|
|
35
37
|
const VALUE_IDS = VALUE + IDS;
|
|
38
|
+
const TRANSACTION = 'Transaction';
|
|
39
|
+
const PARTIAL = 'Partial';
|
|
40
|
+
const FINISH = 'Finish';
|
|
36
41
|
const STATUS = 'Status';
|
|
42
|
+
const METRIC = 'Metric';
|
|
43
|
+
const INDEX = 'Index';
|
|
44
|
+
const SLICE = 'Slice';
|
|
45
|
+
const RELATIONSHIP = 'Relationship';
|
|
46
|
+
const REMOTE_ROW_ID = 'Remote' + ROW + 'Id';
|
|
47
|
+
const LOCAL = 'Local';
|
|
48
|
+
const LINKED = 'Linked';
|
|
49
|
+
const QUERY = 'Query';
|
|
50
|
+
const CHECKPOINT = 'Checkpoint';
|
|
37
51
|
|
|
38
52
|
const GLOBAL = globalThis;
|
|
39
53
|
const isUndefined = (thing) => thing == void 0;
|
|
@@ -56,6 +70,34 @@
|
|
|
56
70
|
const arrayFilter = (array, cb) => array.filter(cb);
|
|
57
71
|
const arrayWith = (array, index, value) => array.with(index, value);
|
|
58
72
|
|
|
73
|
+
const {
|
|
74
|
+
PureComponent,
|
|
75
|
+
Fragment,
|
|
76
|
+
createContext,
|
|
77
|
+
createElement,
|
|
78
|
+
useCallback,
|
|
79
|
+
useContext,
|
|
80
|
+
useEffect,
|
|
81
|
+
useLayoutEffect,
|
|
82
|
+
useMemo,
|
|
83
|
+
useRef,
|
|
84
|
+
useState,
|
|
85
|
+
useSyncExternalStore,
|
|
86
|
+
} = React;
|
|
87
|
+
const getProps = (getProps2, ...ids) =>
|
|
88
|
+
isUndefined(getProps2) ? {} : getProps2(...ids);
|
|
89
|
+
const getRelationshipsStoreTableIds = (relationships, relationshipId) => [
|
|
90
|
+
relationships,
|
|
91
|
+
relationships?.getStore(),
|
|
92
|
+
relationships?.getLocalTableId(relationshipId),
|
|
93
|
+
relationships?.getRemoteTableId(relationshipId),
|
|
94
|
+
];
|
|
95
|
+
const getIndexStoreTableId = (indexes, indexId) => [
|
|
96
|
+
indexes,
|
|
97
|
+
indexes?.getStore(),
|
|
98
|
+
indexes?.getTableId(indexId),
|
|
99
|
+
];
|
|
100
|
+
|
|
59
101
|
const object = Object;
|
|
60
102
|
const getPrototypeOf = (obj) => object.getPrototypeOf(obj);
|
|
61
103
|
const objEntries = object.entries;
|
|
@@ -98,27 +140,11 @@
|
|
|
98
140
|
return obj[id];
|
|
99
141
|
};
|
|
100
142
|
|
|
101
|
-
const {
|
|
102
|
-
createContext,
|
|
103
|
-
useContext: useContext$1,
|
|
104
|
-
useEffect: useEffect$1,
|
|
105
|
-
} = React;
|
|
106
|
-
var Offsets = /* @__PURE__ */ ((Offsets2) => {
|
|
107
|
-
Offsets2[(Offsets2['Store'] = 0)] = 'Store';
|
|
108
|
-
Offsets2[(Offsets2['Metrics'] = 1)] = 'Metrics';
|
|
109
|
-
Offsets2[(Offsets2['Indexes'] = 2)] = 'Indexes';
|
|
110
|
-
Offsets2[(Offsets2['Relationships'] = 3)] = 'Relationships';
|
|
111
|
-
Offsets2[(Offsets2['Queries'] = 4)] = 'Queries';
|
|
112
|
-
Offsets2[(Offsets2['Checkpoints'] = 5)] = 'Checkpoints';
|
|
113
|
-
Offsets2[(Offsets2['Persister'] = 6)] = 'Persister';
|
|
114
|
-
Offsets2[(Offsets2['Synchronizer'] = 7)] = 'Synchronizer';
|
|
115
|
-
return Offsets2;
|
|
116
|
-
})(Offsets || {});
|
|
117
143
|
const Context = objEnsure(GLOBAL, TINYBASE + '_uirc', () =>
|
|
118
144
|
createContext([]),
|
|
119
145
|
);
|
|
120
146
|
const useThing = (id, offset) => {
|
|
121
|
-
const contextValue = useContext
|
|
147
|
+
const contextValue = useContext(Context);
|
|
122
148
|
return isUndefined(id)
|
|
123
149
|
? contextValue[offset * 2]
|
|
124
150
|
: isString(id)
|
|
@@ -132,15 +158,14 @@
|
|
|
132
158
|
: thingOrThingId;
|
|
133
159
|
};
|
|
134
160
|
const useProvideThing = (thingId, thing, offset) => {
|
|
135
|
-
const {16: addExtraThingById, 17: delExtraThingById} =
|
|
136
|
-
|
|
137
|
-
useEffect$1(() => {
|
|
161
|
+
const {16: addExtraThingById, 17: delExtraThingById} = useContext(Context);
|
|
162
|
+
useEffect(() => {
|
|
138
163
|
addExtraThingById?.(offset, thingId, thing);
|
|
139
164
|
return () => delExtraThingById?.(offset, thingId);
|
|
140
165
|
}, [addExtraThingById, thingId, thing, offset, delExtraThingById]);
|
|
141
166
|
};
|
|
142
167
|
const useThingIds = (offset) =>
|
|
143
|
-
objIds(useContext
|
|
168
|
+
objIds(useContext(Context)[offset * 2 + 1] ?? {});
|
|
144
169
|
const useStoreIds = () => useThingIds(0 /* Store */);
|
|
145
170
|
const useStore = (id) => useThing(id, 0 /* Store */);
|
|
146
171
|
const useStoreOrStoreById = (storeOrStoreId) =>
|
|
@@ -192,20 +217,6 @@
|
|
|
192
217
|
const useProvideSynchronizer = (persisterId, persister) =>
|
|
193
218
|
useProvideThing(persisterId, persister, 7 /* Synchronizer */);
|
|
194
219
|
|
|
195
|
-
const lower = (str) => str.toLowerCase();
|
|
196
|
-
lower(LISTENER);
|
|
197
|
-
const TRANSACTION = 'Transaction';
|
|
198
|
-
lower(TRANSACTION);
|
|
199
|
-
|
|
200
|
-
const {
|
|
201
|
-
useCallback: useCallback$2,
|
|
202
|
-
useEffect,
|
|
203
|
-
useMemo: useMemo$1,
|
|
204
|
-
useLayoutEffect: useLayoutEffect$1,
|
|
205
|
-
useRef: useRef$1,
|
|
206
|
-
useState: useState$2,
|
|
207
|
-
useSyncExternalStore,
|
|
208
|
-
} = React;
|
|
209
220
|
const EMPTY_ARRAY = [];
|
|
210
221
|
const DEFAULTS = [
|
|
211
222
|
{},
|
|
@@ -228,8 +239,8 @@
|
|
|
228
239
|
];
|
|
229
240
|
const isEqual = (thing1, thing2) => thing1 === thing2;
|
|
230
241
|
const useCreate = (store, create, createDeps = EMPTY_ARRAY) => {
|
|
231
|
-
const [, rerender] = useState
|
|
232
|
-
const [thing, setThing] = useState
|
|
242
|
+
const [, rerender] = useState();
|
|
243
|
+
const [thing, setThing] = useState();
|
|
233
244
|
useEffect(
|
|
234
245
|
() => {
|
|
235
246
|
const newThing = store ? create(store) : void 0;
|
|
@@ -247,8 +258,8 @@
|
|
|
247
258
|
return () => thing?.delListener(listenerId);
|
|
248
259
|
};
|
|
249
260
|
const useListenable = (listenable, thing, returnType, args = EMPTY_ARRAY) => {
|
|
250
|
-
const lastResult = useRef
|
|
251
|
-
const getResult = useCallback
|
|
261
|
+
const lastResult = useRef(DEFAULTS[returnType]);
|
|
262
|
+
const getResult = useCallback(
|
|
252
263
|
() => {
|
|
253
264
|
const nextResult =
|
|
254
265
|
thing?.[(returnType == 4 /* Boolean */ ? _HAS : GET) + listenable]?.(
|
|
@@ -264,7 +275,7 @@
|
|
|
264
275
|
/* eslint-disable-next-line react-hooks/exhaustive-deps */
|
|
265
276
|
[thing, returnType, listenable, ...args],
|
|
266
277
|
);
|
|
267
|
-
const subscribe = useCallback
|
|
278
|
+
const subscribe = useCallback(
|
|
268
279
|
(listener) =>
|
|
269
280
|
addAndDelListener(
|
|
270
281
|
thing,
|
|
@@ -285,7 +296,7 @@
|
|
|
285
296
|
preArgs = EMPTY_ARRAY,
|
|
286
297
|
...postArgs
|
|
287
298
|
) =>
|
|
288
|
-
useLayoutEffect
|
|
299
|
+
useLayoutEffect(
|
|
289
300
|
() =>
|
|
290
301
|
addAndDelListener(thing, listenable, ...preArgs, listener, ...postArgs),
|
|
291
302
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -301,12 +312,12 @@
|
|
|
301
312
|
...args
|
|
302
313
|
) => {
|
|
303
314
|
const store = useStoreOrStoreById(storeOrStoreId);
|
|
304
|
-
return useCallback
|
|
315
|
+
return useCallback(
|
|
305
316
|
(parameter) =>
|
|
306
317
|
ifNotUndefined(store, (store2) =>
|
|
307
318
|
ifNotUndefined(get(parameter, store2), (thing) =>
|
|
308
319
|
then(
|
|
309
|
-
store2[
|
|
320
|
+
store2[SET + settable](
|
|
310
321
|
...argsOrGetArgs(args, store2, parameter),
|
|
311
322
|
thing,
|
|
312
323
|
),
|
|
@@ -330,10 +341,10 @@
|
|
|
330
341
|
...args
|
|
331
342
|
) => {
|
|
332
343
|
const store = useStoreOrStoreById(storeOrStoreId);
|
|
333
|
-
return useCallback
|
|
344
|
+
return useCallback(
|
|
334
345
|
(parameter) =>
|
|
335
346
|
then(
|
|
336
|
-
store?.[
|
|
347
|
+
store?.[DEL + deletable](...argsOrGetArgs(args, store, parameter)),
|
|
337
348
|
),
|
|
338
349
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
339
350
|
[store, deletable, ...thenDeps, ...nonFunctionDeps(args)],
|
|
@@ -343,16 +354,16 @@
|
|
|
343
354
|
const checkpoints = useCheckpointsOrCheckpointsById(
|
|
344
355
|
checkpointsOrCheckpointsId,
|
|
345
356
|
);
|
|
346
|
-
return useCallback
|
|
357
|
+
return useCallback(
|
|
347
358
|
() => checkpoints?.[action](arg),
|
|
348
359
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
349
360
|
[checkpoints, action, arg],
|
|
350
361
|
);
|
|
351
362
|
};
|
|
352
363
|
const useCreateStore = (create, createDeps = EMPTY_ARRAY) =>
|
|
353
|
-
useMemo
|
|
364
|
+
useMemo(create, createDeps);
|
|
354
365
|
const useCreateMergeableStore = (create, createDeps = EMPTY_ARRAY) =>
|
|
355
|
-
useMemo
|
|
366
|
+
useMemo(create, createDeps);
|
|
356
367
|
const useHasTables = (storeOrStoreId) =>
|
|
357
368
|
useListenable(
|
|
358
369
|
TABLES,
|
|
@@ -532,7 +543,7 @@
|
|
|
532
543
|
reuseRowIds = true,
|
|
533
544
|
) => {
|
|
534
545
|
const store = useStoreOrStoreById(storeOrStoreId);
|
|
535
|
-
return useCallback
|
|
546
|
+
return useCallback(
|
|
536
547
|
(parameter) =>
|
|
537
548
|
ifNotUndefined(store, (store2) =>
|
|
538
549
|
ifNotUndefined(getRow(parameter, store2), (row) =>
|
|
@@ -562,7 +573,7 @@
|
|
|
562
573
|
) =>
|
|
563
574
|
useSetCallback(
|
|
564
575
|
storeOrStoreId,
|
|
565
|
-
|
|
576
|
+
PARTIAL + ROW,
|
|
566
577
|
getPartialRow,
|
|
567
578
|
getPartialRowDeps,
|
|
568
579
|
then,
|
|
@@ -615,7 +626,7 @@
|
|
|
615
626
|
) =>
|
|
616
627
|
useSetCallback(
|
|
617
628
|
storeOrStoreId,
|
|
618
|
-
|
|
629
|
+
PARTIAL + VALUES,
|
|
619
630
|
getPartialValues,
|
|
620
631
|
getPartialValuesDeps,
|
|
621
632
|
then,
|
|
@@ -980,7 +991,7 @@
|
|
|
980
991
|
storeOrStoreId,
|
|
981
992
|
) =>
|
|
982
993
|
useListener(
|
|
983
|
-
'
|
|
994
|
+
'Will' + FINISH + TRANSACTION,
|
|
984
995
|
useStoreOrStoreById(storeOrStoreId),
|
|
985
996
|
listener,
|
|
986
997
|
listenerDeps,
|
|
@@ -991,7 +1002,7 @@
|
|
|
991
1002
|
storeOrStoreId,
|
|
992
1003
|
) =>
|
|
993
1004
|
useListener(
|
|
994
|
-
'
|
|
1005
|
+
'Did' + FINISH + TRANSACTION,
|
|
995
1006
|
useStoreOrStoreById(storeOrStoreId),
|
|
996
1007
|
listener,
|
|
997
1008
|
listenerDeps,
|
|
@@ -1000,13 +1011,13 @@
|
|
|
1000
1011
|
useCreate(store, create, createDeps);
|
|
1001
1012
|
const useMetricIds = (metricsOrMetricsId) =>
|
|
1002
1013
|
useListenable(
|
|
1003
|
-
|
|
1014
|
+
METRIC + IDS,
|
|
1004
1015
|
useMetricsOrMetricsById(metricsOrMetricsId),
|
|
1005
1016
|
1 /* Array */,
|
|
1006
1017
|
);
|
|
1007
1018
|
const useMetric = (metricId, metricsOrMetricsId) =>
|
|
1008
1019
|
useListenable(
|
|
1009
|
-
|
|
1020
|
+
METRIC,
|
|
1010
1021
|
useMetricsOrMetricsById(metricsOrMetricsId),
|
|
1011
1022
|
3 /* CellOrValue */,
|
|
1012
1023
|
[metricId],
|
|
@@ -1018,7 +1029,7 @@
|
|
|
1018
1029
|
metricsOrMetricsId,
|
|
1019
1030
|
) =>
|
|
1020
1031
|
useListener(
|
|
1021
|
-
|
|
1032
|
+
METRIC,
|
|
1022
1033
|
useMetricsOrMetricsById(metricsOrMetricsId),
|
|
1023
1034
|
listener,
|
|
1024
1035
|
listenerDeps,
|
|
@@ -1028,20 +1039,20 @@
|
|
|
1028
1039
|
useCreate(store, create, createDeps);
|
|
1029
1040
|
const useSliceIds = (indexId, indexesOrIndexesId) =>
|
|
1030
1041
|
useListenable(
|
|
1031
|
-
|
|
1042
|
+
SLICE + IDS,
|
|
1032
1043
|
useIndexesOrIndexesById(indexesOrIndexesId),
|
|
1033
1044
|
1 /* Array */,
|
|
1034
1045
|
[indexId],
|
|
1035
1046
|
);
|
|
1036
1047
|
const useIndexIds = (indexesOrIndexesId) =>
|
|
1037
1048
|
useListenable(
|
|
1038
|
-
|
|
1049
|
+
INDEX + IDS,
|
|
1039
1050
|
useIndexesOrIndexesById(indexesOrIndexesId),
|
|
1040
1051
|
1 /* Array */,
|
|
1041
1052
|
);
|
|
1042
1053
|
const useSliceRowIds = (indexId, sliceId, indexesOrIndexesId) =>
|
|
1043
1054
|
useListenable(
|
|
1044
|
-
|
|
1055
|
+
SLICE + ROW_IDS,
|
|
1045
1056
|
useIndexesOrIndexesById(indexesOrIndexesId),
|
|
1046
1057
|
1 /* Array */,
|
|
1047
1058
|
[indexId, sliceId],
|
|
@@ -1053,7 +1064,7 @@
|
|
|
1053
1064
|
indexesOrIndexesId,
|
|
1054
1065
|
) =>
|
|
1055
1066
|
useListener(
|
|
1056
|
-
|
|
1067
|
+
SLICE + IDS,
|
|
1057
1068
|
useIndexesOrIndexesById(indexesOrIndexesId),
|
|
1058
1069
|
listener,
|
|
1059
1070
|
listenerDeps,
|
|
@@ -1067,7 +1078,7 @@
|
|
|
1067
1078
|
indexesOrIndexesId,
|
|
1068
1079
|
) =>
|
|
1069
1080
|
useListener(
|
|
1070
|
-
|
|
1081
|
+
SLICE + ROW_IDS,
|
|
1071
1082
|
useIndexesOrIndexesById(indexesOrIndexesId),
|
|
1072
1083
|
listener,
|
|
1073
1084
|
listenerDeps,
|
|
@@ -1077,7 +1088,7 @@
|
|
|
1077
1088
|
useCreate(store, create, createDeps);
|
|
1078
1089
|
const useRelationshipIds = (relationshipsOrRelationshipsId) =>
|
|
1079
1090
|
useListenable(
|
|
1080
|
-
|
|
1091
|
+
RELATIONSHIP + IDS,
|
|
1081
1092
|
useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
|
|
1082
1093
|
1 /* Array */,
|
|
1083
1094
|
);
|
|
@@ -1087,7 +1098,7 @@
|
|
|
1087
1098
|
relationshipsOrRelationshipsId,
|
|
1088
1099
|
) =>
|
|
1089
1100
|
useListenable(
|
|
1090
|
-
|
|
1101
|
+
REMOTE_ROW_ID,
|
|
1091
1102
|
useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
|
|
1092
1103
|
3 /* CellOrValue */,
|
|
1093
1104
|
[relationshipId, localRowId],
|
|
@@ -1098,7 +1109,7 @@
|
|
|
1098
1109
|
relationshipsOrRelationshipsId,
|
|
1099
1110
|
) =>
|
|
1100
1111
|
useListenable(
|
|
1101
|
-
|
|
1112
|
+
LOCAL + ROW_IDS,
|
|
1102
1113
|
useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
|
|
1103
1114
|
1 /* Array */,
|
|
1104
1115
|
[relationshipId, remoteRowId],
|
|
@@ -1109,7 +1120,7 @@
|
|
|
1109
1120
|
relationshipsOrRelationshipsId,
|
|
1110
1121
|
) =>
|
|
1111
1122
|
useListenable(
|
|
1112
|
-
|
|
1123
|
+
LINKED + ROW_IDS,
|
|
1113
1124
|
useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
|
|
1114
1125
|
1 /* Array */,
|
|
1115
1126
|
[relationshipId, firstRowId],
|
|
@@ -1122,7 +1133,7 @@
|
|
|
1122
1133
|
relationshipsOrRelationshipsId,
|
|
1123
1134
|
) =>
|
|
1124
1135
|
useListener(
|
|
1125
|
-
|
|
1136
|
+
REMOTE_ROW_ID,
|
|
1126
1137
|
useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
|
|
1127
1138
|
listener,
|
|
1128
1139
|
listenerDeps,
|
|
@@ -1136,7 +1147,7 @@
|
|
|
1136
1147
|
relationshipsOrRelationshipsId,
|
|
1137
1148
|
) =>
|
|
1138
1149
|
useListener(
|
|
1139
|
-
|
|
1150
|
+
LOCAL + ROW_IDS,
|
|
1140
1151
|
useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
|
|
1141
1152
|
listener,
|
|
1142
1153
|
listenerDeps,
|
|
@@ -1150,7 +1161,7 @@
|
|
|
1150
1161
|
relationshipsOrRelationshipsId,
|
|
1151
1162
|
) =>
|
|
1152
1163
|
useListener(
|
|
1153
|
-
|
|
1164
|
+
LINKED + ROW_IDS,
|
|
1154
1165
|
useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
|
|
1155
1166
|
listener,
|
|
1156
1167
|
listenerDeps,
|
|
@@ -1160,7 +1171,7 @@
|
|
|
1160
1171
|
useCreate(store, create, createDeps);
|
|
1161
1172
|
const useQueryIds = (queriesOrQueriesId) =>
|
|
1162
1173
|
useListenable(
|
|
1163
|
-
|
|
1174
|
+
QUERY + IDS,
|
|
1164
1175
|
useQueriesOrQueriesById(queriesOrQueriesId),
|
|
1165
1176
|
1 /* Array */,
|
|
1166
1177
|
);
|
|
@@ -1343,13 +1354,13 @@
|
|
|
1343
1354
|
useCreate(store, create, createDeps);
|
|
1344
1355
|
const useCheckpointIds = (checkpointsOrCheckpointsId) =>
|
|
1345
1356
|
useListenable(
|
|
1346
|
-
|
|
1357
|
+
CHECKPOINT + IDS,
|
|
1347
1358
|
useCheckpointsOrCheckpointsById(checkpointsOrCheckpointsId),
|
|
1348
1359
|
2 /* Checkpoints */,
|
|
1349
1360
|
);
|
|
1350
1361
|
const useCheckpoint = (checkpointId, checkpointsOrCheckpointsId) =>
|
|
1351
1362
|
useListenable(
|
|
1352
|
-
|
|
1363
|
+
CHECKPOINT,
|
|
1353
1364
|
useCheckpointsOrCheckpointsById(checkpointsOrCheckpointsId),
|
|
1354
1365
|
3 /* CellOrValue */,
|
|
1355
1366
|
[checkpointId],
|
|
@@ -1364,7 +1375,7 @@
|
|
|
1364
1375
|
const checkpoints = useCheckpointsOrCheckpointsById(
|
|
1365
1376
|
checkpointsOrCheckpointsId,
|
|
1366
1377
|
);
|
|
1367
|
-
return useCallback
|
|
1378
|
+
return useCallback(
|
|
1368
1379
|
(parameter) =>
|
|
1369
1380
|
ifNotUndefined(checkpoints, (checkpoints2) => {
|
|
1370
1381
|
const label = getCheckpoint(parameter);
|
|
@@ -1388,7 +1399,7 @@
|
|
|
1388
1399
|
const checkpoints = useCheckpointsOrCheckpointsById(
|
|
1389
1400
|
checkpointsOrCheckpointsId,
|
|
1390
1401
|
);
|
|
1391
|
-
return useCallback
|
|
1402
|
+
return useCallback(
|
|
1392
1403
|
(parameter) =>
|
|
1393
1404
|
ifNotUndefined(checkpoints, (checkpoints2) =>
|
|
1394
1405
|
ifNotUndefined(getCheckpointId(parameter), (checkpointId) =>
|
|
@@ -1431,7 +1442,7 @@
|
|
|
1431
1442
|
checkpointsOrCheckpointsId,
|
|
1432
1443
|
) =>
|
|
1433
1444
|
useListener(
|
|
1434
|
-
|
|
1445
|
+
CHECKPOINT + IDS,
|
|
1435
1446
|
useCheckpointsOrCheckpointsById(checkpointsOrCheckpointsId),
|
|
1436
1447
|
listener,
|
|
1437
1448
|
listenerDeps,
|
|
@@ -1443,7 +1454,7 @@
|
|
|
1443
1454
|
checkpointsOrCheckpointsId,
|
|
1444
1455
|
) =>
|
|
1445
1456
|
useListener(
|
|
1446
|
-
|
|
1457
|
+
CHECKPOINT,
|
|
1447
1458
|
useCheckpointsOrCheckpointsById(checkpointsOrCheckpointsId),
|
|
1448
1459
|
listener,
|
|
1449
1460
|
listenerDeps,
|
|
@@ -1458,8 +1469,8 @@
|
|
|
1458
1469
|
destroy,
|
|
1459
1470
|
destroyDeps = EMPTY_ARRAY,
|
|
1460
1471
|
) => {
|
|
1461
|
-
const [, rerender] = useState
|
|
1462
|
-
const [persister, setPersister] = useState
|
|
1472
|
+
const [, rerender] = useState();
|
|
1473
|
+
const [persister, setPersister] = useState();
|
|
1463
1474
|
useEffect(
|
|
1464
1475
|
() => {
|
|
1465
1476
|
(async () => {
|
|
@@ -1514,7 +1525,7 @@
|
|
|
1514
1525
|
destroy,
|
|
1515
1526
|
destroyDeps = EMPTY_ARRAY,
|
|
1516
1527
|
) => {
|
|
1517
|
-
const [synchronizer, setSynchronizer] = useState
|
|
1528
|
+
const [synchronizer, setSynchronizer] = useState();
|
|
1518
1529
|
useEffect(
|
|
1519
1530
|
() => {
|
|
1520
1531
|
(async () => {
|
|
@@ -1557,30 +1568,6 @@
|
|
|
1557
1568
|
[],
|
|
1558
1569
|
);
|
|
1559
1570
|
|
|
1560
|
-
const {
|
|
1561
|
-
PureComponent,
|
|
1562
|
-
Fragment,
|
|
1563
|
-
createElement,
|
|
1564
|
-
useCallback: useCallback$1,
|
|
1565
|
-
useLayoutEffect,
|
|
1566
|
-
useRef,
|
|
1567
|
-
useState: useState$1,
|
|
1568
|
-
} = React;
|
|
1569
|
-
const getProps = (getProps2, ...ids) =>
|
|
1570
|
-
isUndefined(getProps2) ? {} : getProps2(...ids);
|
|
1571
|
-
const getRelationshipsStoreTableIds = (relationships, relationshipId) => [
|
|
1572
|
-
relationships,
|
|
1573
|
-
relationships?.getStore(),
|
|
1574
|
-
relationships?.getLocalTableId(relationshipId),
|
|
1575
|
-
relationships?.getRemoteTableId(relationshipId),
|
|
1576
|
-
];
|
|
1577
|
-
const getIndexStoreTableId = (indexes, indexId) => [
|
|
1578
|
-
indexes,
|
|
1579
|
-
indexes?.getStore(),
|
|
1580
|
-
indexes?.getTableId(indexId),
|
|
1581
|
-
];
|
|
1582
|
-
|
|
1583
|
-
const {useCallback, useContext, useMemo, useState} = React;
|
|
1584
1571
|
const mergeParentThings = (
|
|
1585
1572
|
offset,
|
|
1586
1573
|
parentValue,
|
|
@@ -1762,56 +1749,56 @@
|
|
|
1762
1749
|
value: useMemo(
|
|
1763
1750
|
() => [
|
|
1764
1751
|
...mergeParentThings(
|
|
1765
|
-
|
|
1752
|
+
0 /* Store */,
|
|
1766
1753
|
parentValue,
|
|
1767
1754
|
store,
|
|
1768
1755
|
storesById,
|
|
1769
1756
|
extraThingsById,
|
|
1770
1757
|
),
|
|
1771
1758
|
...mergeParentThings(
|
|
1772
|
-
|
|
1759
|
+
1 /* Metrics */,
|
|
1773
1760
|
parentValue,
|
|
1774
1761
|
metrics,
|
|
1775
1762
|
metricsById,
|
|
1776
1763
|
extraThingsById,
|
|
1777
1764
|
),
|
|
1778
1765
|
...mergeParentThings(
|
|
1779
|
-
|
|
1766
|
+
2 /* Indexes */,
|
|
1780
1767
|
parentValue,
|
|
1781
1768
|
indexes,
|
|
1782
1769
|
indexesById,
|
|
1783
1770
|
extraThingsById,
|
|
1784
1771
|
),
|
|
1785
1772
|
...mergeParentThings(
|
|
1786
|
-
|
|
1773
|
+
3 /* Relationships */,
|
|
1787
1774
|
parentValue,
|
|
1788
1775
|
relationships,
|
|
1789
1776
|
relationshipsById,
|
|
1790
1777
|
extraThingsById,
|
|
1791
1778
|
),
|
|
1792
1779
|
...mergeParentThings(
|
|
1793
|
-
|
|
1780
|
+
4 /* Queries */,
|
|
1794
1781
|
parentValue,
|
|
1795
1782
|
queries,
|
|
1796
1783
|
queriesById,
|
|
1797
1784
|
extraThingsById,
|
|
1798
1785
|
),
|
|
1799
1786
|
...mergeParentThings(
|
|
1800
|
-
|
|
1787
|
+
5 /* Checkpoints */,
|
|
1801
1788
|
parentValue,
|
|
1802
1789
|
checkpoints,
|
|
1803
1790
|
checkpointsById,
|
|
1804
1791
|
extraThingsById,
|
|
1805
1792
|
),
|
|
1806
1793
|
...mergeParentThings(
|
|
1807
|
-
|
|
1794
|
+
6 /* Persister */,
|
|
1808
1795
|
parentValue,
|
|
1809
1796
|
persister,
|
|
1810
1797
|
persistersById,
|
|
1811
1798
|
extraThingsById,
|
|
1812
1799
|
),
|
|
1813
1800
|
...mergeParentThings(
|
|
1814
|
-
|
|
1801
|
+
7 /* Synchronizer */,
|
|
1815
1802
|
parentValue,
|
|
1816
1803
|
synchronizer,
|
|
1817
1804
|
synchronizersById,
|
|
@@ -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
|
|
51
|
+
useCallback,
|
|
52
|
+
useContext,
|
|
53
|
+
useEffect,
|
|
49
54
|
useLayoutEffect,
|
|
55
|
+
useMemo,
|
|
50
56
|
useRef,
|
|
51
|
-
useState
|
|
57
|
+
useState,
|
|
58
|
+
useSyncExternalStore,
|
|
52
59
|
} = React;
|
|
53
60
|
const getProps = (getProps2, ...ids) =>
|
|
54
61
|
isUndefined(getProps2) ? {} : getProps2(...ids);
|
|
@@ -74,7 +81,6 @@
|
|
|
74
81
|
const objMap = (obj, cb) =>
|
|
75
82
|
objNew(objToArray(obj, (value, id) => [id, cb(value, id)]));
|
|
76
83
|
|
|
77
|
-
const {useCallback, useMemo, useState} = React;
|
|
78
84
|
const DOT = '.';
|
|
79
85
|
const EDITABLE = 'editable';
|
|
80
86
|
const LEFT_ARROW = '\u2190';
|
|
@@ -295,7 +301,7 @@
|
|
|
295
301
|
idColumn === false
|
|
296
302
|
? null
|
|
297
303
|
: /* @__PURE__ */ createElement(
|
|
298
|
-
|
|
304
|
+
Fragment,
|
|
299
305
|
null,
|
|
300
306
|
/* @__PURE__ */ createElement('th', null, localRowId),
|
|
301
307
|
/* @__PURE__ */ createElement('th', null, remoteRowId),
|
|
@@ -303,7 +309,7 @@
|
|
|
303
309
|
objToArray(
|
|
304
310
|
cells,
|
|
305
311
|
({component: CellView2, getComponentProps}, compoundCellId) => {
|
|
306
|
-
const [tableId, cellId] = compoundCellId
|
|
312
|
+
const [tableId, cellId] = strSplit(compoundCellId, DOT, 2);
|
|
307
313
|
const rowId =
|
|
308
314
|
tableId === localTableId
|
|
309
315
|
? localRowId
|
|
@@ -607,7 +613,7 @@
|
|
|
607
613
|
idColumn === false
|
|
608
614
|
? null
|
|
609
615
|
: /* @__PURE__ */ createElement(
|
|
610
|
-
|
|
616
|
+
Fragment,
|
|
611
617
|
null,
|
|
612
618
|
/* @__PURE__ */ createElement(
|
|
613
619
|
'th',
|
|
@@ -756,11 +762,11 @@
|
|
|
756
762
|
offset + limit < total,
|
|
757
763
|
);
|
|
758
764
|
return /* @__PURE__ */ createElement(
|
|
759
|
-
|
|
765
|
+
Fragment,
|
|
760
766
|
null,
|
|
761
767
|
total > limit &&
|
|
762
768
|
/* @__PURE__ */ createElement(
|
|
763
|
-
|
|
769
|
+
Fragment,
|
|
764
770
|
null,
|
|
765
771
|
/* @__PURE__ */ createElement(
|
|
766
772
|
'button',
|