@milaboratories/graph-maker 1.1.173 → 1.1.175

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/GraphMaker/components/LassoControls/index.vue.js +3 -2
  2. package/dist/GraphMaker/components/LassoControls/index.vue.js.map +1 -1
  3. package/dist/GraphMaker/index.vue.d.ts.map +1 -1
  4. package/dist/GraphMaker/index.vue.js +139 -133
  5. package/dist/GraphMaker/index.vue.js.map +1 -1
  6. package/dist/GraphMaker/store.d.ts +1 -0
  7. package/dist/GraphMaker/store.d.ts.map +1 -1
  8. package/dist/GraphMaker/store.js +30 -29
  9. package/dist/GraphMaker/store.js.map +1 -1
  10. package/dist/node_modules/@milaboratories/miplots4/dist/MiPlots.js +4 -4
  11. package/dist/node_modules/@milaboratories/miplots4/dist/heatmap/ChartRenderer.js +214 -214
  12. package/dist/node_modules/@milaboratories/miplots4/dist/heatmap/ChartRenderer.js.map +1 -1
  13. package/dist/node_modules/@milaboratories/miplots4/dist/heatmap/getClusters.js +20 -163
  14. package/dist/node_modules/@milaboratories/miplots4/dist/heatmap/getClusters.js.map +1 -1
  15. package/dist/node_modules/@milaboratories/miplots4/dist/heatmap/getDendrograms.js +47 -35
  16. package/dist/node_modules/@milaboratories/miplots4/dist/heatmap/getDendrograms.js.map +1 -1
  17. package/dist/node_modules/@milaboratories/miplots4/dist/heatmap/index.js +82 -79
  18. package/dist/node_modules/@milaboratories/miplots4/dist/heatmap/index.js.map +1 -1
  19. package/dist/node_modules/@milaboratories/miplots4/dist/node_modules/comlink/dist/esm/comlink.js +259 -0
  20. package/dist/node_modules/@milaboratories/miplots4/dist/node_modules/comlink/dist/esm/comlink.js.map +1 -0
  21. package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot-umap/ChartRenderer.js +52 -50
  22. package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot-umap/ChartRenderer.js.map +1 -1
  23. package/dist/node_modules/@milaboratories/miplots4/dist/types/common.js.map +1 -1
  24. package/dist/node_modules/@milaboratories/miplots4/dist/utils/WorkerFactory.js +14 -0
  25. package/dist/node_modules/@milaboratories/miplots4/dist/utils/WorkerFactory.js.map +1 -0
  26. package/package.json +2 -2
@@ -0,0 +1,14 @@
1
+ import { wrap as i } from "../node_modules/comlink/dist/esm/comlink.js";
2
+ var s = Object.defineProperty, a = (e, r, t) => r in e ? s(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, o = (e, r, t) => a(e, typeof r != "symbol" ? r + "" : r, t);
3
+ class p {
4
+ constructor(r) {
5
+ o(this, "getWorker"), o(this, "worker"), o(this, "wrapper"), this.getWorker = r, this.worker = r(), this.wrapper = i(this.worker);
6
+ }
7
+ reset() {
8
+ this.worker.terminate(), this.worker = this.getWorker(), this.wrapper = i(this.worker);
9
+ }
10
+ }
11
+ export {
12
+ p as WorkerFactory
13
+ };
14
+ //# sourceMappingURL=WorkerFactory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkerFactory.js","sources":["../../../../../../node_modules/@milaboratories/miplots4/src/utils/WorkerFactory.ts"],"sourcesContent":["import type { Remote} from 'comlink';\nimport { wrap } from 'comlink';\n\nexport class WorkerFactory<T> {\n private getWorker: () => Worker;\n private worker: Worker;\n wrapper: Remote<T>;\n \n constructor(getWorker: () => Worker) {\n this.getWorker = getWorker;\n this.worker = getWorker();\n this.wrapper = wrap<T>(this.worker);\n }\n\n reset() {\n this.worker.terminate();\n this.worker = this.getWorker();\n this.wrapper = wrap<T>(this.worker);\n }\n}\n"],"names":["WorkerFactory","getWorker","__publicField","wrap"],"mappings":";;AAGO,MAAMA,EAAiB;AAAA,EAK1B,YAAYC,GAAyB;AAJ7BC,MAAA,MAAA,WAAA,GACAA,EAAA,MAAA,QAAA,GACRA,EAAA,MAAA,SAAA,GAGI,KAAK,YAAYD,GACjB,KAAK,SAASA,KACd,KAAK,UAAUE,EAAQ,KAAK,MAAM;AAAA,EACtC;AAAA,EAEA,QAAQ;AACJ,SAAK,OAAO,aACZ,KAAK,SAAS,KAAK,UAAA,GACnB,KAAK,UAAUA,EAAQ,KAAK,MAAM;AAAA,EACtC;AACJ;","x_google_ignoreList":[0]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/graph-maker",
3
- "version": "1.1.173",
3
+ "version": "1.1.175",
4
4
  "type": "module",
5
5
  "main": "dist/lib.js",
6
6
  "types": "dist/lib.d.ts",
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "@ag-grid-community/core": "^32.3.3",
39
39
  "@milaboratories/helpers": "^1.6.15",
40
- "@milaboratories/miplots4": "^1.0.155",
40
+ "@milaboratories/miplots4": "^1.0.157",
41
41
  "@milaboratories/pf-plots": "^1.1.41",
42
42
  "@platforma-sdk/model": "^1.43.29",
43
43
  "@platforma-sdk/ui-vue": "^1.44.15",