@epam/uui-db 5.1.1 → 5.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/uui-db",
3
- "version": "5.1.1",
3
+ "version": "5.1.2",
4
4
  "description": "UUI - client-side relational state cache",
5
5
  "author": "EPAM",
6
6
  "license": "MIT",
@@ -14,7 +14,7 @@
14
14
  "prepublish": "yarn build"
15
15
  },
16
16
  "dependencies": {
17
- "@epam/uui-core": "5.1.1",
17
+ "@epam/uui-core": "5.1.2",
18
18
  "@types/lodash.countby": "4.6.6",
19
19
  "@types/lodash.filter": "4.6.6",
20
20
  "@types/lodash.foreach": "4.5.6",
@@ -62,7 +62,7 @@
62
62
  "type": "git",
63
63
  "url": "https://github.com/epam/UUI"
64
64
  },
65
- "gitHead": "be7a3fedf54f874be785ffd03a5ca076df569be4",
65
+ "gitHead": "d542534309b286f4edf98ed7bdf5950ac38661ad",
66
66
  "publishConfig": {
67
67
  "directory": "build"
68
68
  }
package/src/DbTable.d.ts CHANGED
@@ -1,19 +1,19 @@
1
1
  import { DbTablePatch, DbQuery, DbEntitySchema, DbPkFieldType, DbTablesSet } from './types';
2
2
  import * as I from 'immutable';
3
3
  import { SortDirection, DataQueryFilter, SortingOption } from '@epam/uui-core';
4
- interface DbIndex<TEntity, TId> {
4
+ interface DbIndex<TEntity> {
5
5
  field: keyof TEntity;
6
6
  map: I.Map<any, I.Set<any>>;
7
7
  }
8
- interface DbTableState<TEntity, TId extends DbPkFieldType, TTables extends DbTablesSet<TTables>> {
8
+ interface DbTableState<TEntity, TTables extends DbTablesSet<TTables>> {
9
9
  pk: I.Map<any, TEntity>;
10
- indexes: DbIndex<TEntity, TId>[];
10
+ indexes: DbIndex<TEntity>[];
11
11
  }
12
12
  export declare class DbTable<TEntity, TId extends DbPkFieldType, TTables extends DbTablesSet<TTables>> {
13
13
  readonly schema: DbEntitySchema<TEntity, TId, TTables>;
14
14
  private state?;
15
15
  private q?;
16
- constructor(schema: DbEntitySchema<TEntity, TId, TTables>, state?: DbTableState<TEntity, TId, TTables>, q?: DbQuery<TEntity>);
16
+ constructor(schema: DbEntitySchema<TEntity, TId, TTables>, state?: DbTableState<TEntity, TTables>, q?: DbQuery<TEntity>);
17
17
  protected keyToImmutable(id: TId): any;
18
18
  byId(id: TId): TEntity;
19
19
  getId(entity: Partial<TEntity>): TId;
@@ -1 +1 @@
1
- {"version":3,"file":"DbTable.d.ts","sourceRoot":"","sources":["../../src/DbTable.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,WAAW,EACpE,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EACH,aAAa,EAAwC,eAAe,EAAE,aAAa,EACtF,MAAM,gBAAgB,CAAC;AAOxB,UAAU,OAAO,CAAC,OAAO,EAAE,GAAG;IAC1B,KAAK,EAAE,MAAM,OAAO,CAAC;IACrB,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;CAC/B;AAED,UAAU,YAAY,CAAC,OAAO,EAAE,GAAG,SAAS,aAAa,EAAE,OAAO,SAAS,WAAW,CAAC,OAAO,CAAC;IAC3F,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC;CACpC;AAED,qBAAa,OAAO,CAAC,OAAO,EAAE,GAAG,SAAS,aAAa,EAAE,OAAO,SAAS,WAAW,CAAC,OAAO,CAAC;aAC7D,MAAM,EAAE,cAAc,CAAC,OAAO,EAAE,GAAG,EAAE,OAAO,CAAC;IAAE,OAAO,CAAC,KAAK,CAAC;IAAuC,OAAO,CAA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E,IAAI,EAAE,MAAM,KAAK,OAAO,EAClE,QAAQ,EAAE,CAAC,SAAS,EAAE,GAAG,EAAE,WAAW,EAAE,aAAa,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,UAAU,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,KAAK,IAAI,GACtI,IAAI;IA4BP,SAAS,CAAC,oBAAoB,CAAC,SAAS,EAAE,MAAM,OAAO;IAYhD,mBAAmB,CAAC,KAAK,EAAE,OAAO,CAAC,OAAO,CAAC;IAqD3C,mBAAmB,CAAC,KAAK,EAAE,OAAO,CAAC,OAAO,CAAC;IAmC3C,mBAAmB,CAAC,QAAQ,EAAE,cAAc,CAAC,OAAO,CAAC;CAoB/D"}
package/src/utils.d.ts CHANGED
@@ -6,5 +6,5 @@ export declare function defaultCompareViewDependencies<T>(prev: T, next: T): boo
6
6
  * @param {Object} base Object to compare with
7
7
  * @return {Object} Return a new object who represent the diff
8
8
  */
9
- export declare function difference(object: any, base: any): any;
9
+ export declare function difference(obj: any, baseObj: any): any;
10
10
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAuB,CAAC;AAEzE,wBAAgB,8BAA8B,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,CAQ3E;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,OAShD"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAuB,CAAC;AAEzE,wBAAgB,8BAA8B,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,CAQ3E;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,OAShD"}
package/stats.html CHANGED
@@ -4818,7 +4818,7 @@ var drawChart = (function (exports) {
4818
4818
  </script>
4819
4819
  <script>
4820
4820
  /*<!--*/
4821
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.esm.js","children":[{"name":"build/rollup:/@epam/uui-db","children":[{"name":"src","children":[{"uid":"ee3d-54","name":"types.ts"},{"uid":"ee3d-56","name":"utils.ts"},{"uid":"ee3d-58","name":"Db.ts"},{"uid":"ee3d-62","name":"DbTable.ts"},{"uid":"ee3d-64","name":"patchHelpers.ts"},{"uid":"ee3d-66","name":"tempIds.tsx"},{"uid":"ee3d-68","name":"Loader.ts"},{"uid":"ee3d-70","name":"SimpleLoadingTracker.ts"},{"uid":"ee3d-72","name":"ListLoadingTracker.ts"},{"uid":"ee3d-74","name":"DbRef.ts"},{"uid":"ee3d-76","name":"reactHooks.ts"}]},{"name":"node_modules/tslib/tslib.es6.js","uid":"ee3d-60"}]}]}],"isRoot":true},"nodeParts":{"ee3d-54":{"renderedLength":232,"gzipLength":0,"brotliLength":0,"metaUid":"ee3d-53"},"ee3d-56":{"renderedLength":775,"gzipLength":0,"brotliLength":0,"metaUid":"ee3d-55"},"ee3d-58":{"renderedLength":2104,"gzipLength":0,"brotliLength":0,"metaUid":"ee3d-57"},"ee3d-60":{"renderedLength":2229,"gzipLength":0,"brotliLength":0,"metaUid":"ee3d-59"},"ee3d-62":{"renderedLength":6566,"gzipLength":0,"brotliLength":0,"metaUid":"ee3d-61"},"ee3d-64":{"renderedLength":6081,"gzipLength":0,"brotliLength":0,"metaUid":"ee3d-63"},"ee3d-66":{"renderedLength":6328,"gzipLength":0,"brotliLength":0,"metaUid":"ee3d-65"},"ee3d-68":{"renderedLength":2277,"gzipLength":0,"brotliLength":0,"metaUid":"ee3d-67"},"ee3d-70":{"renderedLength":291,"gzipLength":0,"brotliLength":0,"metaUid":"ee3d-69"},"ee3d-72":{"renderedLength":2894,"gzipLength":0,"brotliLength":0,"metaUid":"ee3d-71"},"ee3d-74":{"renderedLength":5920,"gzipLength":0,"brotliLength":0,"metaUid":"ee3d-73"},"ee3d-76":{"renderedLength":442,"gzipLength":0,"brotliLength":0,"metaUid":"ee3d-75"}},"nodeMetas":{"ee3d-53":{"id":"/build/rollup:/@epam/uui-db/src/types.ts","moduleParts":{"index.esm.js":"ee3d-54"},"imported":[],"importedBy":[]},"ee3d-55":{"id":"/build/rollup:/@epam/uui-db/src/utils.ts","moduleParts":{"index.esm.js":"ee3d-56"},"imported":[],"importedBy":[]},"ee3d-57":{"id":"/build/rollup:/@epam/uui-db/src/Db.ts","moduleParts":{"index.esm.js":"ee3d-58"},"imported":[],"importedBy":[]},"ee3d-59":{"id":"/build/rollup:/@epam/uui-db/node_modules/tslib/tslib.es6.js","moduleParts":{"index.esm.js":"ee3d-60"},"imported":[],"importedBy":[]},"ee3d-61":{"id":"/build/rollup:/@epam/uui-db/src/DbTable.ts","moduleParts":{"index.esm.js":"ee3d-62"},"imported":[],"importedBy":[]},"ee3d-63":{"id":"/build/rollup:/@epam/uui-db/src/patchHelpers.ts","moduleParts":{"index.esm.js":"ee3d-64"},"imported":[],"importedBy":[]},"ee3d-65":{"id":"/build/rollup:/@epam/uui-db/src/tempIds.tsx","moduleParts":{"index.esm.js":"ee3d-66"},"imported":[],"importedBy":[]},"ee3d-67":{"id":"/build/rollup:/@epam/uui-db/src/Loader.ts","moduleParts":{"index.esm.js":"ee3d-68"},"imported":[],"importedBy":[]},"ee3d-69":{"id":"/build/rollup:/@epam/uui-db/src/SimpleLoadingTracker.ts","moduleParts":{"index.esm.js":"ee3d-70"},"imported":[],"importedBy":[]},"ee3d-71":{"id":"/build/rollup:/@epam/uui-db/src/ListLoadingTracker.ts","moduleParts":{"index.esm.js":"ee3d-72"},"imported":[],"importedBy":[]},"ee3d-73":{"id":"/build/rollup:/@epam/uui-db/src/DbRef.ts","moduleParts":{"index.esm.js":"ee3d-74"},"imported":[],"importedBy":[]},"ee3d-75":{"id":"/build/rollup:/@epam/uui-db/src/reactHooks.ts","moduleParts":{"index.esm.js":"ee3d-76"},"imported":[],"importedBy":[]},"ee3d-77":{"id":"/index.tsx","moduleParts":{},"imported":[{"uid":"ee3d-78"}],"importedBy":[],"isEntry":true},"ee3d-78":{"id":"/src/index.ts","moduleParts":{},"imported":[{"uid":"ee3d-79"},{"uid":"ee3d-80"},{"uid":"ee3d-81"},{"uid":"ee3d-82"},{"uid":"ee3d-83"},{"uid":"ee3d-84"},{"uid":"ee3d-85"},{"uid":"ee3d-86"}],"importedBy":[{"uid":"ee3d-77"}]},"ee3d-79":{"id":"/src/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-78"},{"uid":"ee3d-85"}]},"ee3d-80":{"id":"/src/Db.ts","moduleParts":{},"imported":[{"uid":"ee3d-84"},{"uid":"ee3d-87"}],"importedBy":[{"uid":"ee3d-78"}]},"ee3d-81":{"id":"/src/DbTable.ts","moduleParts":{},"imported":[{"uid":"ee3d-88"},{"uid":"ee3d-89"},{"uid":"ee3d-90"}],"importedBy":[{"uid":"ee3d-78"}]},"ee3d-82":{"id":"/src/DbRef.ts","moduleParts":{},"imported":[{"uid":"ee3d-88"},{"uid":"ee3d-85"},{"uid":"ee3d-83"},{"uid":"ee3d-84"},{"uid":"ee3d-91"},{"uid":"ee3d-92"},{"uid":"ee3d-90"},{"uid":"ee3d-93"},{"uid":"ee3d-94"}],"importedBy":[{"uid":"ee3d-78"}]},"ee3d-83":{"id":"/src/tempIds.tsx","moduleParts":{},"imported":[{"uid":"ee3d-84"}],"importedBy":[{"uid":"ee3d-78"},{"uid":"ee3d-82"}]},"ee3d-84":{"id":"/src/utils.ts","moduleParts":{},"imported":[{"uid":"ee3d-95"},{"uid":"ee3d-96"},{"uid":"ee3d-97"},{"uid":"ee3d-87"}],"importedBy":[{"uid":"ee3d-78"},{"uid":"ee3d-80"},{"uid":"ee3d-82"},{"uid":"ee3d-83"},{"uid":"ee3d-85"}]},"ee3d-85":{"id":"/src/patchHelpers.ts","moduleParts":{},"imported":[{"uid":"ee3d-79"},{"uid":"ee3d-89"},{"uid":"ee3d-84"},{"uid":"ee3d-98"},{"uid":"ee3d-99"},{"uid":"ee3d-100"},{"uid":"ee3d-101"},{"uid":"ee3d-102"},{"uid":"ee3d-103"},{"uid":"ee3d-104"}],"importedBy":[{"uid":"ee3d-78"},{"uid":"ee3d-82"}]},"ee3d-86":{"id":"/src/reactHooks.ts","moduleParts":{},"imported":[{"uid":"ee3d-105"}],"importedBy":[{"uid":"ee3d-78"}]},"ee3d-87":{"id":"lodash.isequal","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-80"},{"uid":"ee3d-84"}],"isExternal":true},"ee3d-88":{"id":"/Users/Aliaksei_Manetau/WebstormProjects/uui/node_modules/tslib/tslib.es6.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-81"},{"uid":"ee3d-82"},{"uid":"ee3d-94"}]},"ee3d-89":{"id":"immutable","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-81"},{"uid":"ee3d-85"}],"isExternal":true},"ee3d-90":{"id":"@epam/uui-core","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-81"},{"uid":"ee3d-82"}],"isExternal":true},"ee3d-91":{"id":"lodash.isempty","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-82"}],"isExternal":true},"ee3d-92":{"id":"/src/Loader.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-82"}]},"ee3d-93":{"id":"/src/SimpleLoadingTracker.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-82"}]},"ee3d-94":{"id":"/src/ListLoadingTracker.ts","moduleParts":{},"imported":[{"uid":"ee3d-88"}],"importedBy":[{"uid":"ee3d-82"}]},"ee3d-95":{"id":"shallowequal","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-84"}],"isExternal":true},"ee3d-96":{"id":"lodash.zip","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-84"}],"isExternal":true},"ee3d-97":{"id":"lodash.transform","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-84"}],"isExternal":true},"ee3d-98":{"id":"lodash.groupby","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-85"}],"isExternal":true},"ee3d-99":{"id":"lodash.map","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-85"}],"isExternal":true},"ee3d-100":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-85"}],"isExternal":true},"ee3d-101":{"id":"lodash.countby","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-85"}],"isExternal":true},"ee3d-102":{"id":"lodash.filter","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-85"}],"isExternal":true},"ee3d-103":{"id":"lodash.foreach","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-85"}],"isExternal":true},"ee3d-104":{"id":"lodash.pick","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-85"}],"isExternal":true},"ee3d-105":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"ee3d-86"}],"isExternal":true}},"env":{"rollup":"3.26.2"},"options":{"gzip":false,"brotli":false,"sourcemap":true}};
4821
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.esm.js","children":[{"name":"build/rollup:/@epam/uui-db","children":[{"name":"src","children":[{"uid":"8f02-54","name":"types.ts"},{"uid":"8f02-56","name":"utils.ts"},{"uid":"8f02-58","name":"Db.ts"},{"uid":"8f02-62","name":"DbTable.ts"},{"uid":"8f02-64","name":"patchHelpers.ts"},{"uid":"8f02-66","name":"tempIds.tsx"},{"uid":"8f02-68","name":"Loader.ts"},{"uid":"8f02-70","name":"SimpleLoadingTracker.ts"},{"uid":"8f02-72","name":"ListLoadingTracker.ts"},{"uid":"8f02-74","name":"DbRef.ts"},{"uid":"8f02-76","name":"reactHooks.ts"}]},{"name":"node_modules/tslib/tslib.es6.js","uid":"8f02-60"}]}]}],"isRoot":true},"nodeParts":{"8f02-54":{"renderedLength":232,"gzipLength":0,"brotliLength":0,"metaUid":"8f02-53"},"8f02-56":{"renderedLength":777,"gzipLength":0,"brotliLength":0,"metaUid":"8f02-55"},"8f02-58":{"renderedLength":2104,"gzipLength":0,"brotliLength":0,"metaUid":"8f02-57"},"8f02-60":{"renderedLength":2229,"gzipLength":0,"brotliLength":0,"metaUid":"8f02-59"},"8f02-62":{"renderedLength":6566,"gzipLength":0,"brotliLength":0,"metaUid":"8f02-61"},"8f02-64":{"renderedLength":6098,"gzipLength":0,"brotliLength":0,"metaUid":"8f02-63"},"8f02-66":{"renderedLength":6249,"gzipLength":0,"brotliLength":0,"metaUid":"8f02-65"},"8f02-68":{"renderedLength":2277,"gzipLength":0,"brotliLength":0,"metaUid":"8f02-67"},"8f02-70":{"renderedLength":291,"gzipLength":0,"brotliLength":0,"metaUid":"8f02-69"},"8f02-72":{"renderedLength":2894,"gzipLength":0,"brotliLength":0,"metaUid":"8f02-71"},"8f02-74":{"renderedLength":5956,"gzipLength":0,"brotliLength":0,"metaUid":"8f02-73"},"8f02-76":{"renderedLength":442,"gzipLength":0,"brotliLength":0,"metaUid":"8f02-75"}},"nodeMetas":{"8f02-53":{"id":"/build/rollup:/@epam/uui-db/src/types.ts","moduleParts":{"index.esm.js":"8f02-54"},"imported":[],"importedBy":[]},"8f02-55":{"id":"/build/rollup:/@epam/uui-db/src/utils.ts","moduleParts":{"index.esm.js":"8f02-56"},"imported":[],"importedBy":[]},"8f02-57":{"id":"/build/rollup:/@epam/uui-db/src/Db.ts","moduleParts":{"index.esm.js":"8f02-58"},"imported":[],"importedBy":[]},"8f02-59":{"id":"/build/rollup:/@epam/uui-db/node_modules/tslib/tslib.es6.js","moduleParts":{"index.esm.js":"8f02-60"},"imported":[],"importedBy":[]},"8f02-61":{"id":"/build/rollup:/@epam/uui-db/src/DbTable.ts","moduleParts":{"index.esm.js":"8f02-62"},"imported":[],"importedBy":[]},"8f02-63":{"id":"/build/rollup:/@epam/uui-db/src/patchHelpers.ts","moduleParts":{"index.esm.js":"8f02-64"},"imported":[],"importedBy":[]},"8f02-65":{"id":"/build/rollup:/@epam/uui-db/src/tempIds.tsx","moduleParts":{"index.esm.js":"8f02-66"},"imported":[],"importedBy":[]},"8f02-67":{"id":"/build/rollup:/@epam/uui-db/src/Loader.ts","moduleParts":{"index.esm.js":"8f02-68"},"imported":[],"importedBy":[]},"8f02-69":{"id":"/build/rollup:/@epam/uui-db/src/SimpleLoadingTracker.ts","moduleParts":{"index.esm.js":"8f02-70"},"imported":[],"importedBy":[]},"8f02-71":{"id":"/build/rollup:/@epam/uui-db/src/ListLoadingTracker.ts","moduleParts":{"index.esm.js":"8f02-72"},"imported":[],"importedBy":[]},"8f02-73":{"id":"/build/rollup:/@epam/uui-db/src/DbRef.ts","moduleParts":{"index.esm.js":"8f02-74"},"imported":[],"importedBy":[]},"8f02-75":{"id":"/build/rollup:/@epam/uui-db/src/reactHooks.ts","moduleParts":{"index.esm.js":"8f02-76"},"imported":[],"importedBy":[]},"8f02-77":{"id":"/index.tsx","moduleParts":{},"imported":[{"uid":"8f02-78"}],"importedBy":[],"isEntry":true},"8f02-78":{"id":"/src/index.ts","moduleParts":{},"imported":[{"uid":"8f02-79"},{"uid":"8f02-80"},{"uid":"8f02-81"},{"uid":"8f02-82"},{"uid":"8f02-83"},{"uid":"8f02-84"},{"uid":"8f02-85"},{"uid":"8f02-86"}],"importedBy":[{"uid":"8f02-77"}]},"8f02-79":{"id":"/src/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-78"},{"uid":"8f02-85"}]},"8f02-80":{"id":"/src/Db.ts","moduleParts":{},"imported":[{"uid":"8f02-84"},{"uid":"8f02-87"}],"importedBy":[{"uid":"8f02-78"}]},"8f02-81":{"id":"/src/DbTable.ts","moduleParts":{},"imported":[{"uid":"8f02-88"},{"uid":"8f02-89"},{"uid":"8f02-90"}],"importedBy":[{"uid":"8f02-78"}]},"8f02-82":{"id":"/src/DbRef.ts","moduleParts":{},"imported":[{"uid":"8f02-88"},{"uid":"8f02-85"},{"uid":"8f02-83"},{"uid":"8f02-84"},{"uid":"8f02-91"},{"uid":"8f02-92"},{"uid":"8f02-90"},{"uid":"8f02-93"},{"uid":"8f02-94"}],"importedBy":[{"uid":"8f02-78"}]},"8f02-83":{"id":"/src/tempIds.tsx","moduleParts":{},"imported":[{"uid":"8f02-84"}],"importedBy":[{"uid":"8f02-78"},{"uid":"8f02-82"}]},"8f02-84":{"id":"/src/utils.ts","moduleParts":{},"imported":[{"uid":"8f02-95"},{"uid":"8f02-96"},{"uid":"8f02-97"},{"uid":"8f02-87"}],"importedBy":[{"uid":"8f02-78"},{"uid":"8f02-80"},{"uid":"8f02-82"},{"uid":"8f02-83"},{"uid":"8f02-85"}]},"8f02-85":{"id":"/src/patchHelpers.ts","moduleParts":{},"imported":[{"uid":"8f02-79"},{"uid":"8f02-89"},{"uid":"8f02-84"},{"uid":"8f02-98"},{"uid":"8f02-99"},{"uid":"8f02-100"},{"uid":"8f02-101"},{"uid":"8f02-102"},{"uid":"8f02-103"},{"uid":"8f02-104"}],"importedBy":[{"uid":"8f02-78"},{"uid":"8f02-82"}]},"8f02-86":{"id":"/src/reactHooks.ts","moduleParts":{},"imported":[{"uid":"8f02-105"}],"importedBy":[{"uid":"8f02-78"}]},"8f02-87":{"id":"lodash.isequal","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-80"},{"uid":"8f02-84"}],"isExternal":true},"8f02-88":{"id":"/Users/Aliaksei_Manetau/WebstormProjects/uui/node_modules/tslib/tslib.es6.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-81"},{"uid":"8f02-82"},{"uid":"8f02-94"}]},"8f02-89":{"id":"immutable","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-81"},{"uid":"8f02-85"}],"isExternal":true},"8f02-90":{"id":"@epam/uui-core","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-81"},{"uid":"8f02-82"}],"isExternal":true},"8f02-91":{"id":"lodash.isempty","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-82"}],"isExternal":true},"8f02-92":{"id":"/src/Loader.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-82"}]},"8f02-93":{"id":"/src/SimpleLoadingTracker.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-82"}]},"8f02-94":{"id":"/src/ListLoadingTracker.ts","moduleParts":{},"imported":[{"uid":"8f02-88"}],"importedBy":[{"uid":"8f02-82"}]},"8f02-95":{"id":"shallowequal","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-84"}],"isExternal":true},"8f02-96":{"id":"lodash.zip","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-84"}],"isExternal":true},"8f02-97":{"id":"lodash.transform","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-84"}],"isExternal":true},"8f02-98":{"id":"lodash.groupby","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-85"}],"isExternal":true},"8f02-99":{"id":"lodash.map","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-85"}],"isExternal":true},"8f02-100":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-85"}],"isExternal":true},"8f02-101":{"id":"lodash.countby","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-85"}],"isExternal":true},"8f02-102":{"id":"lodash.filter","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-85"}],"isExternal":true},"8f02-103":{"id":"lodash.foreach","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-85"}],"isExternal":true},"8f02-104":{"id":"lodash.pick","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-85"}],"isExternal":true},"8f02-105":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"8f02-86"}],"isExternal":true}},"env":{"rollup":"3.26.2"},"options":{"gzip":false,"brotli":false,"sourcemap":true}};
4822
4822
 
4823
4823
  const run = () => {
4824
4824
  const width = window.innerWidth;