@vitessce/all 3.8.3 → 3.8.4
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/dist/{OrbitControls-CeIrm0B5.js → OrbitControls-CYynRaKW.js} +1 -1
- package/dist/{ReactNeuroglancer-BoUKguqy.js → ReactNeuroglancer-B784BBrr.js} +1 -1
- package/dist/{deflate-BmPQfLH1.js → deflate-Bi9jTZa_.js} +1 -1
- package/dist/{higlass-CHvsEtQd.js → higlass-DlJQBL8o.js} +1 -1
- package/dist/{index-BWxI6QUS.js → index-BiA0XI99.js} +2 -2
- package/dist/{index-BR7YdakD.js → index-SV2fA7OO.js} +3 -3
- package/dist/{index-BNUI-w49.js → index-se6p8sp4.js} +37 -14
- package/dist/index.js +1 -1
- package/dist/{jpeg-BB_ilRwM.js → jpeg-BUtzsoPi.js} +1 -1
- package/dist/{lerc-STi5EC9q.js → lerc-B9pxOoW2.js} +1 -1
- package/dist/{lzw-BlOU-CBg.js → lzw-KgXyy-19.js} +1 -1
- package/dist/{packbits-BkMUG84m.js → packbits-Bmv1iZNF.js} +1 -1
- package/dist/{raw-CDmwxpDL.js → raw-CGkykmix.js} +1 -1
- package/dist/{troika-three-text.esm-C8Q3aJRr.js → troika-three-text.esm-BtJXS2ob.js} +1 -1
- package/dist/{webimage-C4EDX2gd.js → webimage-C9QSeLIa.js} +1 -1
- package/dist-tsc/base-plugins.d.ts +28 -0
- package/dist-tsc/base-plugins.d.ts.map +1 -1
- package/dist-tsc/base-plugins.js +2 -2
- package/dist-tsc/joint-file-types.d.ts.map +1 -1
- package/dist-tsc/joint-file-types.js +14 -1
- package/package.json +33 -33
- package/src/base-plugins.ts +2 -1
- package/src/joint-file-types.ts +14 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aF as getDefaultExportFromCjs, aG as Raycaster, W as OrthographicCamera, K as PerspectiveCamera, av as Scene, aH as PCFSoftShadowMap, aI as VSMShadowMap, aJ as PCFShadowMap, aK as BasicShadowMap, aL as NoToneMapping, aM as ACESFilmicToneMapping, e as Vector3, V as Vector2, aN as Clock, aO as WebGLRenderer, aP as Camera, x as BufferGeometry, r as Material, aQ as Layers, a1 as Texture, aC as RGBAFormat, ay as UnsignedByteType, C as Color, aj as _extends, aR as THREE, aS as EventDispatcher, aT as MOUSE, aU as TOUCH, aV as Spherical, Q as Quaternion, an as Ray, ak as Plane } from "./index-
|
|
1
|
+
import { aF as getDefaultExportFromCjs, aG as Raycaster, W as OrthographicCamera, K as PerspectiveCamera, av as Scene, aH as PCFSoftShadowMap, aI as VSMShadowMap, aJ as PCFShadowMap, aK as BasicShadowMap, aL as NoToneMapping, aM as ACESFilmicToneMapping, e as Vector3, V as Vector2, aN as Clock, aO as WebGLRenderer, aP as Camera, x as BufferGeometry, r as Material, aQ as Layers, a1 as Texture, aC as RGBAFormat, ay as UnsignedByteType, C as Color, aj as _extends, aR as THREE, aS as EventDispatcher, aT as MOUSE, aU as TOUCH, aV as Spherical, Q as Quaternion, an as Ray, ak as Plane } from "./index-se6p8sp4.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import React__default, { useReducer, useRef, useEffect, useLayoutEffect, useDebugValue, useState, useMemo } from "react";
|
|
4
4
|
var constants = { exports: {} };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aF as getDefaultExportFromCjs, b0 as requireAssign, b1 as require_export, b2 as require_core, b3 as require_fails, b4 as require_toObject, b5 as require_objectKeys, b6 as require_cof, b7 as require_wks, b8 as require_iterators, b9 as requireWeb_dom_iterable, ba as requireEs6_string_iterator, bb as require_anObject, bc as require_hide, bd as require_ctx, be as require_toLength, bf as require_global, bg as require_objectDp, bh as require_descriptors, bi as require_isObject, bj as require_objectCreate, bk as require_iterDefine, bl as require_iterStep, bm as require_meta, bn as require_isArray, bo as require_iobject, bp as require_setToStringTag, bq as require_aFunction, br as requireIterator, bs as require_propertyDesc, aZ as commonjsGlobal, bt as requireEs6_symbol, bu as requireDefineProperty, bv as require_toIobject, bw as require_objectGopd, bx as require_html, by as require_domCreate, bz as require_library, bA as requireSymbol, bB as require_objectPie, bC as require_has, bD as require_redefine, bE as require_objectAssign, bF as diffCameraState, ao as jsxRuntimeExports } from "./index-
|
|
1
|
+
import { aF as getDefaultExportFromCjs, b0 as requireAssign, b1 as require_export, b2 as require_core, b3 as require_fails, b4 as require_toObject, b5 as require_objectKeys, b6 as require_cof, b7 as require_wks, b8 as require_iterators, b9 as requireWeb_dom_iterable, ba as requireEs6_string_iterator, bb as require_anObject, bc as require_hide, bd as require_ctx, be as require_toLength, bf as require_global, bg as require_objectDp, bh as require_descriptors, bi as require_isObject, bj as require_objectCreate, bk as require_iterDefine, bl as require_iterStep, bm as require_meta, bn as require_isArray, bo as require_iobject, bp as require_setToStringTag, bq as require_aFunction, br as requireIterator, bs as require_propertyDesc, aZ as commonjsGlobal, bt as requireEs6_symbol, bu as requireDefineProperty, bv as require_toIobject, bw as require_objectGopd, bx as require_html, by as require_domCreate, bz as require_library, bA as requireSymbol, bB as require_objectPie, bC as require_has, bD as require_redefine, bE as require_objectAssign, bF as diffCameraState, ao as jsxRuntimeExports } from "./index-se6p8sp4.js";
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
var assignExports = requireAssign();
|
|
4
4
|
const _Object$assign = /* @__PURE__ */ getDefaultExportFromCjs(assignExports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { aW as BaseDecoder } from "./index-
|
|
2
|
+
import { aW as BaseDecoder } from "./index-se6p8sp4.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$7 from "react";
|
|
2
2
|
import React__default, { isValidElement, PureComponent, Component, createElement, createContext, createRef } from "react";
|
|
3
3
|
import ReactDOM__default, { findDOMNode as findDOMNode$1 } from "react-dom";
|
|
4
|
-
import { aZ as commonjsGlobal$1, a_ as requireObjectAssign, aF as getDefaultExportFromCjs$1, a$ as earcut } from "./index-
|
|
4
|
+
import { aZ as commonjsGlobal$1, a_ as requireObjectAssign, aF as getDefaultExportFromCjs$1, a$ as earcut } from "./index-se6p8sp4.js";
|
|
5
5
|
var promise = {};
|
|
6
6
|
var hasRequiredPromise;
|
|
7
7
|
function requirePromise() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aw as log, ax as isEqual, ar as Data3DTexture, as as RedFormat, ay as UnsignedByteType, l as LinearFilter, az as RedIntegerFormat, aA as UnsignedIntType, m as NearestFilter, e as Vector3, V as Vector2, ag as Vector4, ae as UniformsUtils, aq as CoordinationType, aB as WebGLMultipleRenderTargets, aC as RGBAFormat, av as Scene, W as OrthographicCamera, ad as ShaderMaterial, z as Mesh, aD as PlaneGeometry, ao as jsxRuntimeExports, aE as GLSL3, am as BackSide } from "./index-
|
|
1
|
+
import { aw as log, ax as isEqual, ar as Data3DTexture, as as RedFormat, ay as UnsignedByteType, l as LinearFilter, az as RedIntegerFormat, aA as UnsignedIntType, m as NearestFilter, e as Vector3, V as Vector2, ag as Vector4, ae as UniformsUtils, aq as CoordinationType, aB as WebGLMultipleRenderTargets, aC as RGBAFormat, av as Scene, W as OrthographicCamera, ad as ShaderMaterial, z as Mesh, aD as PlaneGeometry, ao as jsxRuntimeExports, aE as GLSL3, am as BackSide } from "./index-se6p8sp4.js";
|
|
2
2
|
import { useRef, useState, useMemo, useEffect, useCallback } from "react";
|
|
3
|
-
import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-
|
|
3
|
+
import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-CYynRaKW.js";
|
|
4
4
|
const LogLevel = {
|
|
5
5
|
INFO: "info",
|
|
6
6
|
WARN: "warn",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { G as Group, M as Matrix4, T as TrianglesDrawMode, a as TriangleFanDrawMode, b as TriangleStripDrawMode, R as REVISION, L as Loader, c as LoaderUtils, F as FileLoader, d as MeshPhysicalMaterial, V as Vector2, C as Color, S as SpotLight, P as PointLight, D as DirectionalLight, e as Vector3, I as InstancedMesh, Q as Quaternion, O as Object3D, f as TextureLoader, g as ImageBitmapLoader, B as BufferAttribute, h as InterleavedBuffer, i as LinearMipmapLinearFilter, N as NearestMipmapLinearFilter, j as LinearMipmapNearestFilter, k as NearestMipmapNearestFilter, l as LinearFilter, m as NearestFilter, n as RepeatWrapping, o as MirroredRepeatWrapping, p as ClampToEdgeWrapping, q as PointsMaterial, r as Material, s as LineBasicMaterial, t as MeshStandardMaterial, u as DoubleSide, v as MeshBasicMaterial, w as PropertyBinding, x as BufferGeometry, y as SkinnedMesh, z as Mesh, A as LineSegments, E as Line$1, H as LineLoop, J as Points, K as PerspectiveCamera, U as MathUtils, W as OrthographicCamera, X as Skeleton, Y as InterpolateDiscrete, Z as InterpolateLinear, _ as AnimationClip, $ as Bone, a0 as InterleavedBufferAttribute, a1 as Texture, a2 as VectorKeyframeTrack, a3 as QuaternionKeyframeTrack, a4 as NumberKeyframeTrack, a5 as FrontSide, a6 as Interpolant, a7 as Box3, a8 as Sphere, a9 as InstancedBufferGeometry, aa as Float32BufferAttribute, ab as InstancedInterleavedBuffer, ac as WireframeGeometry, ad as ShaderMaterial, ae as UniformsUtils, af as UniformsLib, ag as Vector4, ah as Line3, ai as SphereGeometry, aj as _extends, ak as Plane, al as Triangle, am as BackSide, an as Ray$1, ao as jsxRuntimeExports, ap as Matrix3, aq as CoordinationType, ar as Data3DTexture, as as RedFormat, at as FloatType, au as getImageSize, av as Scene } from "./index-
|
|
1
|
+
import { G as Group, M as Matrix4, T as TrianglesDrawMode, a as TriangleFanDrawMode, b as TriangleStripDrawMode, R as REVISION, L as Loader, c as LoaderUtils, F as FileLoader, d as MeshPhysicalMaterial, V as Vector2, C as Color, S as SpotLight, P as PointLight, D as DirectionalLight, e as Vector3, I as InstancedMesh, Q as Quaternion, O as Object3D, f as TextureLoader, g as ImageBitmapLoader, B as BufferAttribute, h as InterleavedBuffer, i as LinearMipmapLinearFilter, N as NearestMipmapLinearFilter, j as LinearMipmapNearestFilter, k as NearestMipmapNearestFilter, l as LinearFilter, m as NearestFilter, n as RepeatWrapping, o as MirroredRepeatWrapping, p as ClampToEdgeWrapping, q as PointsMaterial, r as Material, s as LineBasicMaterial, t as MeshStandardMaterial, u as DoubleSide, v as MeshBasicMaterial, w as PropertyBinding, x as BufferGeometry, y as SkinnedMesh, z as Mesh, A as LineSegments, E as Line$1, H as LineLoop, J as Points, K as PerspectiveCamera, U as MathUtils, W as OrthographicCamera, X as Skeleton, Y as InterpolateDiscrete, Z as InterpolateLinear, _ as AnimationClip, $ as Bone, a0 as InterleavedBufferAttribute, a1 as Texture, a2 as VectorKeyframeTrack, a3 as QuaternionKeyframeTrack, a4 as NumberKeyframeTrack, a5 as FrontSide, a6 as Interpolant, a7 as Box3, a8 as Sphere, a9 as InstancedBufferGeometry, aa as Float32BufferAttribute, ab as InstancedInterleavedBuffer, ac as WireframeGeometry, ad as ShaderMaterial, ae as UniformsUtils, af as UniformsLib, ag as Vector4, ah as Line3, ai as SphereGeometry, aj as _extends, ak as Plane, al as Triangle, am as BackSide, an as Ray$1, ao as jsxRuntimeExports, ap as Matrix3, aq as CoordinationType, ar as Data3DTexture, as as RedFormat, at as FloatType, au as getImageSize, av as Scene } from "./index-se6p8sp4.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { useRef, useEffect, useState, forwardRef } from "react";
|
|
4
|
-
import { u as useThree, a as useFrame, c as create, e as extend, b as createPortal, O as OrbitControls, C as Canvas } from "./OrbitControls-
|
|
4
|
+
import { u as useThree, a as useFrame, c as create, e as extend, b as createPortal, O as OrbitControls, C as Canvas } from "./OrbitControls-CYynRaKW.js";
|
|
5
5
|
const isPromise = (promise) => typeof promise === "object" && typeof promise.then === "function";
|
|
6
6
|
const globalCache = [];
|
|
7
7
|
function shallowEqualArrays(arrA, arrB, equal = (a, b) => a === b) {
|
|
@@ -5027,7 +5027,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
|
|
|
5027
5027
|
const {
|
|
5028
5028
|
Text: TextMeshImpl,
|
|
5029
5029
|
preloadFont
|
|
5030
|
-
} = suspend(async () => import("./troika-three-text.esm-
|
|
5030
|
+
} = suspend(async () => import("./troika-three-text.esm-BtJXS2ob.js"), []);
|
|
5031
5031
|
const invalidate = useThree(({
|
|
5032
5032
|
invalidate: invalidate2
|
|
5033
5033
|
}) => invalidate2);
|
|
@@ -10838,7 +10838,10 @@ const spatialdataZarrSchema = z.object({
|
|
|
10838
10838
|
obsSets: obsSetsSpatialdataSchema,
|
|
10839
10839
|
obsEmbedding: obsEmbeddingSpatialdataSchemaConvenience,
|
|
10840
10840
|
// TODO: obsLabels
|
|
10841
|
-
|
|
10841
|
+
featureLabels: z.union([
|
|
10842
|
+
annDataFeatureLabels,
|
|
10843
|
+
z.array(annDataConvenienceFeatureLabelsItem)
|
|
10844
|
+
]),
|
|
10842
10845
|
// TODO: allow specifying tablePath and region at the top-level here.
|
|
10843
10846
|
coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
|
|
10844
10847
|
}).partial();
|
|
@@ -209319,22 +209322,22 @@ async function getDecoder(fileDirectory) {
|
|
|
209319
209322
|
const Decoder = await importFn();
|
|
209320
209323
|
return new Decoder(fileDirectory);
|
|
209321
209324
|
}
|
|
209322
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
209323
|
-
addDecoder(5, () => import("./lzw-
|
|
209325
|
+
addDecoder([void 0, 1], () => import("./raw-CGkykmix.js").then((m2) => m2.default));
|
|
209326
|
+
addDecoder(5, () => import("./lzw-KgXyy-19.js").then((m2) => m2.default));
|
|
209324
209327
|
addDecoder(6, () => {
|
|
209325
209328
|
throw new Error("old style JPEG compression is not supported.");
|
|
209326
209329
|
});
|
|
209327
|
-
addDecoder(7, () => import("./jpeg-
|
|
209328
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
209329
|
-
addDecoder(32773, () => import("./packbits-
|
|
209330
|
+
addDecoder(7, () => import("./jpeg-BUtzsoPi.js").then((m2) => m2.default));
|
|
209331
|
+
addDecoder([8, 32946], () => import("./deflate-Bi9jTZa_.js").then((m2) => m2.default));
|
|
209332
|
+
addDecoder(32773, () => import("./packbits-Bmv1iZNF.js").then((m2) => m2.default));
|
|
209330
209333
|
addDecoder(
|
|
209331
209334
|
34887,
|
|
209332
|
-
() => import("./lerc-
|
|
209335
|
+
() => import("./lerc-B9pxOoW2.js").then(async (m2) => {
|
|
209333
209336
|
await m2.zstd.init();
|
|
209334
209337
|
return m2;
|
|
209335
209338
|
}).then((m2) => m2.default)
|
|
209336
209339
|
);
|
|
209337
|
-
addDecoder(50001, () => import("./webimage-
|
|
209340
|
+
addDecoder(50001, () => import("./webimage-C9QSeLIa.js").then((m2) => m2.default));
|
|
209338
209341
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
|
209339
209342
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
|
209340
209343
|
}
|
|
@@ -253030,12 +253033,12 @@ class ErrorBoundary extends React__default.Component {
|
|
|
253030
253033
|
}
|
|
253031
253034
|
}
|
|
253032
253035
|
const LazySpatialThree = React__default.lazy(async () => {
|
|
253033
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
253036
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-SV2fA7OO.js");
|
|
253034
253037
|
return { default: SpatialWrapper2 };
|
|
253035
253038
|
});
|
|
253036
253039
|
const SpatialThreeAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialThree, { ...props }) }) }) }));
|
|
253037
253040
|
const LazySpatialAccelerated = React__default.lazy(async () => {
|
|
253038
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
253041
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-BiA0XI99.js");
|
|
253039
253042
|
return { default: SpatialWrapper2 };
|
|
253040
253043
|
});
|
|
253041
253044
|
const SpatialAcceleratedAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialAccelerated, { ...props }) }) }) }));
|
|
@@ -266236,7 +266239,7 @@ function HiglassGlobalStyles(props) {
|
|
|
266236
266239
|
}
|
|
266237
266240
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
|
266238
266241
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
|
266239
|
-
const { HiGlassComponent } = await import("./higlass-
|
|
266242
|
+
const { HiGlassComponent } = await import("./higlass-DlJQBL8o.js");
|
|
266240
266243
|
return { default: HiGlassComponent };
|
|
266241
266244
|
});
|
|
266242
266245
|
const HG_SIZE = 800;
|
|
@@ -269183,7 +269186,7 @@ function NeuroglancerGlobalStyles(props) {
|
|
|
269183
269186
|
const { classes: classes2 } = props;
|
|
269184
269187
|
return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsxRuntimeExports.jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
|
|
269185
269188
|
}
|
|
269186
|
-
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-
|
|
269189
|
+
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-B784BBrr.js"));
|
|
269187
269190
|
function createWorker() {
|
|
269188
269191
|
return new WorkerFactory();
|
|
269189
269192
|
}
|
|
@@ -357446,6 +357449,13 @@ class SpatialDataObsEmbeddingLoader extends ObsEmbeddingAnndataLoader {
|
|
|
357446
357449
|
this.tablePath = this.options.tablePath;
|
|
357447
357450
|
}
|
|
357448
357451
|
}
|
|
357452
|
+
class SpatialDataFeatureLabelsLoader extends FeatureLabelsAnndataLoader {
|
|
357453
|
+
constructor(dataSource, params2) {
|
|
357454
|
+
super(dataSource, params2);
|
|
357455
|
+
this.region = this.options.region;
|
|
357456
|
+
this.tablePath = this.options.tablePath;
|
|
357457
|
+
}
|
|
357458
|
+
}
|
|
357449
357459
|
class PrecomputedMeshSource {
|
|
357450
357460
|
constructor({ url, requestInit: requestInit2 }) {
|
|
357451
357461
|
this.url = url;
|
|
@@ -378792,7 +378802,20 @@ function expandSpatialdataZarr(fileDef) {
|
|
|
378792
378802
|
// TODO: obsPoints?
|
|
378793
378803
|
// TODO: obsLocations?
|
|
378794
378804
|
// TODO: obsLabels
|
|
378795
|
-
//
|
|
378805
|
+
// featureLabels
|
|
378806
|
+
...options.featureLabels ? [{
|
|
378807
|
+
...baseFileDef,
|
|
378808
|
+
fileType: getFileType(FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR),
|
|
378809
|
+
options: {
|
|
378810
|
+
...options.featureLabels,
|
|
378811
|
+
tablePath: options.tablePath,
|
|
378812
|
+
region: options.region
|
|
378813
|
+
},
|
|
378814
|
+
coordinationValues: {
|
|
378815
|
+
...extraCoordinationValues,
|
|
378816
|
+
featureType: baseFileDef.coordinationValues.featureType
|
|
378817
|
+
}
|
|
378818
|
+
}] : [],
|
|
378796
378819
|
// obsEmbedding
|
|
378797
378820
|
// eslint-disable-next-line no-nested-ternary
|
|
378798
378821
|
...options.obsEmbedding ? Array.isArray(options.obsEmbedding) ? options.obsEmbedding.map((oe) => ({
|
|
@@ -379245,7 +379268,7 @@ const baseFileTypes = [
|
|
|
379245
379268
|
...makeZarrFileTypes(FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR, DataType$3.OBS_FEATURE_MATRIX, ObsFeatureMatrixAnndataLoader, SpatialDataTableSource, obsFeatureMatrixSpatialdataSchema),
|
|
379246
379269
|
...makeZarrFileTypes(FileType$1.OBS_SETS_SPATIALDATA_ZARR, DataType$3.OBS_SETS, SpatialDataObsSetsLoader, SpatialDataTableSource, obsSetsSpatialdataSchema),
|
|
379247
379270
|
...makeZarrFileTypes(FileType$1.OBS_EMBEDDING_SPATIALDATA_ZARR, DataType$3.OBS_EMBEDDING, SpatialDataObsEmbeddingLoader, SpatialDataTableSource, obsEmbeddingSpatialdataSchema),
|
|
379248
|
-
...makeZarrFileTypes(FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR, DataType$3.FEATURE_LABELS,
|
|
379271
|
+
...makeZarrFileTypes(FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR, DataType$3.FEATURE_LABELS, SpatialDataFeatureLabelsLoader, SpatialDataTableSource, featureLabelsAnndataSchema),
|
|
379249
379272
|
makeFileType(FileType$1.OBS_SEGMENTATIONS_GLB, DataType$3.OBS_SEGMENTATIONS, GlbDataLoader, GlbSource, meshGlbSchema),
|
|
379250
379273
|
makeFileType(FileType$1.OBS_SEGMENTATIONS_NG_PRECOMPUTED, DataType$3.OBS_SEGMENTATIONS, PrecomputedMeshDataLoader, PrecomputedMeshSource, ngSchema),
|
|
379251
379274
|
// All legacy file types
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bQ, bO, bM, bP, bN, bL, bR } from "./index-
|
|
1
|
+
import { bQ, bO, bM, bP, bN, bL, bR } from "./index-se6p8sp4.js";
|
|
2
2
|
import { useComplexCoordination, useComplexCoordinationSecondary, useCoordination, useCoordinationScopes, useCoordinationScopesBy, useGridItemSize, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, usePageModeView } from "@vitessce/vit-s";
|
|
3
3
|
export {
|
|
4
4
|
bQ as PluginAsyncFunction,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { aF as getDefaultExportFromCjs, aW as BaseDecoder, aX as LercParameters, aY as LercAddCompression } from "./index-
|
|
2
|
+
import { aF as getDefaultExportFromCjs, aW as BaseDecoder, aX as LercParameters, aY as LercAddCompression } from "./index-se6p8sp4.js";
|
|
3
3
|
var LercDecode = { exports: {} };
|
|
4
4
|
var hasRequiredLercDecode;
|
|
5
5
|
function requireLercDecode() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bG as MeshDistanceMaterial, bH as MeshDepthMaterial, bI as RGBADepthPacking, ae as UniformsUtils, bJ as ShaderChunk, a9 as InstancedBufferGeometry, a8 as Sphere, a7 as Box3, am as BackSide, u as DoubleSide, z as Mesh, a5 as FrontSide, v as MeshBasicMaterial, C as Color, e as Vector3, M as Matrix4, V as Vector2, ap as Matrix3, ag as Vector4, a1 as Texture, l as LinearFilter, aD as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bK as InstancedBufferAttribute } from "./index-
|
|
1
|
+
import { bG as MeshDistanceMaterial, bH as MeshDepthMaterial, bI as RGBADepthPacking, ae as UniformsUtils, bJ as ShaderChunk, a9 as InstancedBufferGeometry, a8 as Sphere, a7 as Box3, am as BackSide, u as DoubleSide, z as Mesh, a5 as FrontSide, v as MeshBasicMaterial, C as Color, e as Vector3, M as Matrix4, V as Vector2, ap as Matrix3, ag as Vector4, a1 as Texture, l as LinearFilter, aD as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bK as InstancedBufferAttribute } from "./index-se6p8sp4.js";
|
|
2
2
|
function workerBootstrap() {
|
|
3
3
|
var modules = /* @__PURE__ */ Object.create(null);
|
|
4
4
|
function registerModule(ref, callback) {
|
|
@@ -363,6 +363,22 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
|
|
|
363
363
|
embeddingType: string;
|
|
364
364
|
dims?: number[] | undefined;
|
|
365
365
|
}>, "many">]>>;
|
|
366
|
+
featureLabels: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
367
|
+
path: z.ZodString;
|
|
368
|
+
}, "strip", z.ZodTypeAny, {
|
|
369
|
+
path: string;
|
|
370
|
+
}, {
|
|
371
|
+
path: string;
|
|
372
|
+
}>, z.ZodArray<z.ZodObject<{
|
|
373
|
+
path: z.ZodString;
|
|
374
|
+
featureLabelsType: z.ZodString;
|
|
375
|
+
}, "strip", z.ZodTypeAny, {
|
|
376
|
+
path: string;
|
|
377
|
+
featureLabelsType: string;
|
|
378
|
+
}, {
|
|
379
|
+
path: string;
|
|
380
|
+
featureLabelsType: string;
|
|
381
|
+
}>, "many">]>>;
|
|
366
382
|
coordinateSystem: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
367
383
|
}, "strip", z.ZodTypeAny, {
|
|
368
384
|
image?: {
|
|
@@ -408,6 +424,12 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
|
|
|
408
424
|
embeddingType: string;
|
|
409
425
|
dims?: number[] | undefined;
|
|
410
426
|
}[] | undefined;
|
|
427
|
+
featureLabels?: {
|
|
428
|
+
path: string;
|
|
429
|
+
} | {
|
|
430
|
+
path: string;
|
|
431
|
+
featureLabelsType: string;
|
|
432
|
+
}[] | undefined;
|
|
411
433
|
coordinateSystem?: string | undefined;
|
|
412
434
|
}, {
|
|
413
435
|
image?: {
|
|
@@ -453,6 +475,12 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
|
|
|
453
475
|
embeddingType: string;
|
|
454
476
|
dims?: number[] | undefined;
|
|
455
477
|
}[] | undefined;
|
|
478
|
+
featureLabels?: {
|
|
479
|
+
path: string;
|
|
480
|
+
} | {
|
|
481
|
+
path: string;
|
|
482
|
+
featureLabelsType: string;
|
|
483
|
+
}[] | undefined;
|
|
456
484
|
coordinateSystem?: string | undefined;
|
|
457
485
|
}>> | PluginJointFileType<z.ZodObject<{
|
|
458
486
|
xy: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-plugins.d.ts","sourceRoot":"","sources":["../src/base-plugins.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,CAAC,EAqDF,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"base-plugins.d.ts","sourceRoot":"","sources":["../src/base-plugins.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,CAAC,EAqDF,MAAM,mBAAmB,CAAC;AAmL3B,eAAO,MAAM,aAAa,kBA8BzB,CAAC;AAEF,eAAO,MAAM,aAAa,wDA2EzB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAuGwD,CAAC;gCAClE,CAAC;;;yBAGF,CAAC;gCAEa,CAAC;;;;;;;;;;;;;;;;iBAeZ,CAAC;;;;iBAGrB,CAAJ;;;;;;;YAOqB,CAAC;;;YAGpB,CAAC;;;;;;;YAK0G,CAAC;;;YAExG,CAAC;;;;;;;YAKU,CAAC;;;YAGd,CAAJ;;;;;;;;;;;;;;YAkBK,CAAC;;;YAEQ,CAAC;;;;;;;;YAYX,CAAC;;;;YAGS,CAAC;;;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;;;;;;;;;;;;;;;;;;;;;;;;kzBA4hB1C,CAAC;AAEF,eAAO,MAAM,kBAAkB,uBAK9B,CAAC"}
|
package/dist-tsc/base-plugins.js
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
// OME
|
|
38
38
|
OmeZarrLoader, OmeZarrAsObsSegmentationsLoader,
|
|
39
39
|
// SpatialData
|
|
40
|
-
SpatialDataTableSource, SpatialDataShapesSource, SpatialDataPointsSource, SpatialDataImageLoader, SpatialDataLabelsLoader, SpatialDataObsSpotsLoader, SpatialDataObsPointsLoader, SpatialDataObsSegmentationsLoader, SpatialDataObsSetsLoader, SpatialDataObsEmbeddingLoader,
|
|
40
|
+
SpatialDataTableSource, SpatialDataShapesSource, SpatialDataPointsSource, SpatialDataImageLoader, SpatialDataLabelsLoader, SpatialDataObsSpotsLoader, SpatialDataObsPointsLoader, SpatialDataObsSegmentationsLoader, SpatialDataObsSetsLoader, SpatialDataObsEmbeddingLoader, SpatialDataFeatureLabelsLoader,
|
|
41
41
|
// NG precomputed
|
|
42
42
|
NgPrecomputedMeshSource, NgPrecomputedMeshLoader, } from '@vitessce/spatial-zarr';
|
|
43
43
|
import { OmeTiffAsObsSegmentationsLoader, OmeTiffLoader, OmeTiffSource, } from '@vitessce/ome-tiff';
|
|
@@ -157,7 +157,7 @@ export const baseFileTypes = [
|
|
|
157
157
|
...makeZarrFileTypes(FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR, DataType.OBS_FEATURE_MATRIX, ObsFeatureMatrixAnndataLoader, SpatialDataTableSource, obsFeatureMatrixSpatialdataSchema),
|
|
158
158
|
...makeZarrFileTypes(FileType.OBS_SETS_SPATIALDATA_ZARR, DataType.OBS_SETS, SpatialDataObsSetsLoader, SpatialDataTableSource, obsSetsSpatialdataSchema),
|
|
159
159
|
...makeZarrFileTypes(FileType.OBS_EMBEDDING_SPATIALDATA_ZARR, DataType.OBS_EMBEDDING, SpatialDataObsEmbeddingLoader, SpatialDataTableSource, obsEmbeddingSpatialdataSchema),
|
|
160
|
-
...makeZarrFileTypes(FileType.FEATURE_LABELS_SPATIALDATA_ZARR, DataType.FEATURE_LABELS,
|
|
160
|
+
...makeZarrFileTypes(FileType.FEATURE_LABELS_SPATIALDATA_ZARR, DataType.FEATURE_LABELS, SpatialDataFeatureLabelsLoader, SpatialDataTableSource, featureLabelsAnndataSchema),
|
|
161
161
|
makeFileType(FileType.OBS_SEGMENTATIONS_GLB, DataType.OBS_SEGMENTATIONS, GlbLoader, GlbSource, meshGlbSchema),
|
|
162
162
|
makeFileType(FileType.OBS_SEGMENTATIONS_NG_PRECOMPUTED, DataType.OBS_SEGMENTATIONS, NgPrecomputedMeshLoader, NgPrecomputedMeshSource, ngSchema),
|
|
163
163
|
// All legacy file types
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"joint-file-types.d.ts","sourceRoot":"","sources":["../src/joint-file-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AA6B7D,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,SAsO7E;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,
|
|
1
|
+
{"version":3,"file":"joint-file-types.d.ts","sourceRoot":"","sources":["../src/joint-file-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AA6B7D,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,SAsO7E;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,SAiKjF"}
|
|
@@ -303,7 +303,20 @@ export function expandSpatialdataZarr(fileDef) {
|
|
|
303
303
|
// TODO: obsPoints?
|
|
304
304
|
// TODO: obsLocations?
|
|
305
305
|
// TODO: obsLabels
|
|
306
|
-
//
|
|
306
|
+
// featureLabels
|
|
307
|
+
...(options.featureLabels ? [{
|
|
308
|
+
...baseFileDef,
|
|
309
|
+
fileType: getFileType(FileType.FEATURE_LABELS_SPATIALDATA_ZARR),
|
|
310
|
+
options: {
|
|
311
|
+
...options.featureLabels,
|
|
312
|
+
tablePath: options.tablePath,
|
|
313
|
+
region: options.region,
|
|
314
|
+
},
|
|
315
|
+
coordinationValues: {
|
|
316
|
+
...extraCoordinationValues,
|
|
317
|
+
featureType: baseFileDef.coordinationValues.featureType,
|
|
318
|
+
},
|
|
319
|
+
}] : []),
|
|
307
320
|
// obsEmbedding
|
|
308
321
|
// eslint-disable-next-line no-nested-ternary
|
|
309
322
|
...(options.obsEmbedding ? (Array.isArray(options.obsEmbedding) ? options.obsEmbedding.map((oe) => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/all",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.4",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -17,38 +17,38 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"zod": "^3.21.4",
|
|
20
|
-
"@vitessce/styles": "3.8.
|
|
21
|
-
"@vitessce/constants-internal": "3.8.
|
|
22
|
-
"@vitessce/abstract": "3.8.
|
|
23
|
-
"@vitessce/error": "3.8.
|
|
24
|
-
"@vitessce/csv": "3.8.
|
|
25
|
-
"@vitessce/description": "3.8.
|
|
26
|
-
"@vitessce/feature-list": "3.8.
|
|
27
|
-
"@vitessce/genomic-profiles": "3.8.
|
|
28
|
-
"@vitessce/heatmap": "3.8.
|
|
29
|
-
"@vitessce/glb": "3.8.
|
|
30
|
-
"@vitessce/json": "3.8.
|
|
31
|
-
"@vitessce/layer-controller": "3.8.
|
|
32
|
-
"@vitessce/layer-controller-beta": "3.8.
|
|
33
|
-
"@vitessce/link-controller": "3.8.
|
|
34
|
-
"@vitessce/obs-sets-manager": "3.8.
|
|
35
|
-
"@vitessce/ome-tiff": "3.8.
|
|
36
|
-
"@vitessce/plugins": "3.8.
|
|
37
|
-
"@vitessce/scatterplot-embedding": "3.8.
|
|
38
|
-
"@vitessce/scatterplot-gating": "3.8.
|
|
39
|
-
"@vitessce/schemas": "3.8.
|
|
40
|
-
"@vitessce/spatial": "3.8.
|
|
41
|
-
"@vitessce/spatial-beta": "3.8.
|
|
42
|
-
"@vitessce/statistical-plots": "3.8.
|
|
43
|
-
"@vitessce/status": "3.8.
|
|
44
|
-
"@vitessce/vit-s": "3.8.
|
|
45
|
-
"@vitessce/zarr": "3.8.
|
|
46
|
-
"@vitessce/globals": "3.8.
|
|
47
|
-
"@vitessce/spatial-zarr": "3.8.
|
|
48
|
-
"@vitessce/spatial-three": "3.8.
|
|
49
|
-
"@vitessce/spatial-accelerated": "3.8.
|
|
50
|
-
"@vitessce/biomarker-select": "3.8.
|
|
51
|
-
"@vitessce/neuroglancer": "3.8.
|
|
20
|
+
"@vitessce/styles": "3.8.4",
|
|
21
|
+
"@vitessce/constants-internal": "3.8.4",
|
|
22
|
+
"@vitessce/abstract": "3.8.4",
|
|
23
|
+
"@vitessce/error": "3.8.4",
|
|
24
|
+
"@vitessce/csv": "3.8.4",
|
|
25
|
+
"@vitessce/description": "3.8.4",
|
|
26
|
+
"@vitessce/feature-list": "3.8.4",
|
|
27
|
+
"@vitessce/genomic-profiles": "3.8.4",
|
|
28
|
+
"@vitessce/heatmap": "3.8.4",
|
|
29
|
+
"@vitessce/glb": "3.8.4",
|
|
30
|
+
"@vitessce/json": "3.8.4",
|
|
31
|
+
"@vitessce/layer-controller": "3.8.4",
|
|
32
|
+
"@vitessce/layer-controller-beta": "3.8.4",
|
|
33
|
+
"@vitessce/link-controller": "3.8.4",
|
|
34
|
+
"@vitessce/obs-sets-manager": "3.8.4",
|
|
35
|
+
"@vitessce/ome-tiff": "3.8.4",
|
|
36
|
+
"@vitessce/plugins": "3.8.4",
|
|
37
|
+
"@vitessce/scatterplot-embedding": "3.8.4",
|
|
38
|
+
"@vitessce/scatterplot-gating": "3.8.4",
|
|
39
|
+
"@vitessce/schemas": "3.8.4",
|
|
40
|
+
"@vitessce/spatial": "3.8.4",
|
|
41
|
+
"@vitessce/spatial-beta": "3.8.4",
|
|
42
|
+
"@vitessce/statistical-plots": "3.8.4",
|
|
43
|
+
"@vitessce/status": "3.8.4",
|
|
44
|
+
"@vitessce/vit-s": "3.8.4",
|
|
45
|
+
"@vitessce/zarr": "3.8.4",
|
|
46
|
+
"@vitessce/globals": "3.8.4",
|
|
47
|
+
"@vitessce/spatial-zarr": "3.8.4",
|
|
48
|
+
"@vitessce/spatial-three": "3.8.4",
|
|
49
|
+
"@vitessce/spatial-accelerated": "3.8.4",
|
|
50
|
+
"@vitessce/biomarker-select": "3.8.4",
|
|
51
|
+
"@vitessce/neuroglancer": "3.8.4"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/react": "^18.0.28",
|
package/src/base-plugins.ts
CHANGED
|
@@ -181,6 +181,7 @@ import {
|
|
|
181
181
|
SpatialDataObsSegmentationsLoader,
|
|
182
182
|
SpatialDataObsSetsLoader,
|
|
183
183
|
SpatialDataObsEmbeddingLoader,
|
|
184
|
+
SpatialDataFeatureLabelsLoader,
|
|
184
185
|
// NG precomputed
|
|
185
186
|
NgPrecomputedMeshSource,
|
|
186
187
|
NgPrecomputedMeshLoader,
|
|
@@ -340,7 +341,7 @@ export const baseFileTypes = [
|
|
|
340
341
|
...makeZarrFileTypes(FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR, DataType.OBS_FEATURE_MATRIX, ObsFeatureMatrixAnndataLoader, SpatialDataTableSource, obsFeatureMatrixSpatialdataSchema),
|
|
341
342
|
...makeZarrFileTypes(FileType.OBS_SETS_SPATIALDATA_ZARR, DataType.OBS_SETS, SpatialDataObsSetsLoader, SpatialDataTableSource, obsSetsSpatialdataSchema),
|
|
342
343
|
...makeZarrFileTypes(FileType.OBS_EMBEDDING_SPATIALDATA_ZARR, DataType.OBS_EMBEDDING, SpatialDataObsEmbeddingLoader, SpatialDataTableSource, obsEmbeddingSpatialdataSchema),
|
|
343
|
-
...makeZarrFileTypes(FileType.FEATURE_LABELS_SPATIALDATA_ZARR, DataType.FEATURE_LABELS,
|
|
344
|
+
...makeZarrFileTypes(FileType.FEATURE_LABELS_SPATIALDATA_ZARR, DataType.FEATURE_LABELS, SpatialDataFeatureLabelsLoader, SpatialDataTableSource, featureLabelsAnndataSchema),
|
|
344
345
|
|
|
345
346
|
makeFileType(FileType.OBS_SEGMENTATIONS_GLB, DataType.OBS_SEGMENTATIONS, GlbLoader, GlbSource, meshGlbSchema),
|
|
346
347
|
makeFileType(FileType.OBS_SEGMENTATIONS_NG_PRECOMPUTED, DataType.OBS_SEGMENTATIONS, NgPrecomputedMeshLoader, NgPrecomputedMeshSource, ngSchema),
|
package/src/joint-file-types.ts
CHANGED
|
@@ -322,7 +322,20 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
|
|
|
322
322
|
// TODO: obsPoints?
|
|
323
323
|
// TODO: obsLocations?
|
|
324
324
|
// TODO: obsLabels
|
|
325
|
-
//
|
|
325
|
+
// featureLabels
|
|
326
|
+
...(options.featureLabels ? [{
|
|
327
|
+
...baseFileDef,
|
|
328
|
+
fileType: getFileType(FileType.FEATURE_LABELS_SPATIALDATA_ZARR),
|
|
329
|
+
options: {
|
|
330
|
+
...options.featureLabels,
|
|
331
|
+
tablePath: options.tablePath,
|
|
332
|
+
region: options.region,
|
|
333
|
+
},
|
|
334
|
+
coordinationValues: {
|
|
335
|
+
...extraCoordinationValues,
|
|
336
|
+
featureType: baseFileDef.coordinationValues.featureType,
|
|
337
|
+
},
|
|
338
|
+
}] : []),
|
|
326
339
|
// obsEmbedding
|
|
327
340
|
// eslint-disable-next-line no-nested-ternary
|
|
328
341
|
...(options.obsEmbedding ? (
|