@vitessce/vega 3.8.3 → 3.8.5

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 (2) hide show
  1. package/dist/index.js +13 -7
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -43,8 +43,7 @@ function splitAccessPath(p) {
43
43
  for (i = j = 0; j < n; ++j) {
44
44
  c2 = p[j];
45
45
  if (c2 === "\\") {
46
- s += p.substring(i, j);
47
- s += p.substring(++j, ++j);
46
+ s += p.substring(i, j++);
48
47
  i = j;
49
48
  } else if (c2 === q) {
50
49
  push2();
@@ -102,7 +101,8 @@ const Error$1 = 1;
102
101
  const Warn = 2;
103
102
  const Info = 3;
104
103
  const Debug = 4;
105
- function logger(_, method2, handler = log$1$1) {
104
+ function logger(_, method2) {
105
+ let handler = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : log$1$1;
106
106
  let level = _ || None$2;
107
107
  return {
108
108
  level(_2) {
@@ -136,7 +136,10 @@ function isObject$1(_) {
136
136
  return _ === Object(_);
137
137
  }
138
138
  const isLegalKey = (key2) => key2 !== "__proto__";
139
- function mergeConfig(...configs) {
139
+ function mergeConfig() {
140
+ for (var _len = arguments.length, configs = new Array(_len), _key = 0; _key < _len; _key++) {
141
+ configs[_key] = arguments[_key];
142
+ }
140
143
  return configs.reduce((out, source2) => {
141
144
  for (const key2 in source2) {
142
145
  if (key2 === "signals") {
@@ -374,9 +377,8 @@ function extentIndex(array2, f) {
374
377
  }
375
378
  return [u2, v];
376
379
  }
377
- const hop = Object.prototype.hasOwnProperty;
378
380
  function has$2(object2, property2) {
379
- return hop.call(object2, property2);
381
+ return Object.hasOwn(object2, property2);
380
382
  }
381
383
  const NULL = {};
382
384
  function fastmap(input) {
@@ -51757,6 +51759,7 @@ const CoordinationType$1 = {
51757
51759
  CoordinationType$1.FEATURE_SELECTION,
51758
51760
  CoordinationType$1.FEATURE_VALUE_COLORMAP,
51759
51761
  CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
51762
+ CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
51760
51763
  // TODO: CoordinationType.FEATURE_COLOR_ENCODING,
51761
51764
  // TODO: CoordinationType.ADDITIONAL_FEATURE_SETS,
51762
51765
  CoordinationType$1.TOOLTIPS_VISIBLE,
@@ -52356,7 +52359,10 @@ z.object({
52356
52359
  obsSets: obsSetsSpatialdataSchema,
52357
52360
  obsEmbedding: obsEmbeddingSpatialdataSchemaConvenience,
52358
52361
  // TODO: obsLabels
52359
- // TODO: featureLabels
52362
+ featureLabels: z.union([
52363
+ annDataFeatureLabels,
52364
+ z.array(annDataConvenienceFeatureLabelsItem)
52365
+ ]),
52360
52366
  // TODO: allow specifying tablePath and region at the top-level here.
52361
52367
  coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
52362
52368
  }).partial();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/vega",
3
- "version": "3.8.3",
3
+ "version": "3.8.5",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -21,9 +21,9 @@
21
21
  "vega": "^5.21.0",
22
22
  "vega-lite": "^5.1.1",
23
23
  "vega-tooltip": "^0.27.0",
24
- "@vitessce/styles": "3.8.3",
25
- "@vitessce/tooltip": "3.8.3",
26
- "@vitessce/legend": "3.8.3"
24
+ "@vitessce/styles": "3.8.5",
25
+ "@vitessce/tooltip": "3.8.5",
26
+ "@vitessce/legend": "3.8.5"
27
27
  },
28
28
  "devDependencies": {
29
29
  "react": "18.3.1",