col-browser 2.4.0 → 2.6.0
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/README.md +34 -2
- package/es/bibtex.js +1 -1
- package/es/chunks/{BibTex-79CCKAOK.js → BibTex-DRE71Hg-.js} +2 -2
- package/es/chunks/{BibTex-79CCKAOK.js.map → BibTex-DRE71Hg-.js.map} +1 -1
- package/es/chunks/{DatasetCitation-BXtAmjdZ.js → DatasetCitation-Cep2dces.js} +2 -2
- package/es/chunks/{DatasetCitation-BXtAmjdZ.js.map → DatasetCitation-Cep2dces.js.map} +1 -1
- package/es/chunks/{DatasetlogoWithFallback-Dava2uqZ.js → DatasetlogoWithFallback-Bb-kmHts.js} +2 -2
- package/es/chunks/{DatasetlogoWithFallback-Dava2uqZ.js.map → DatasetlogoWithFallback-Bb-kmHts.js.map} +1 -1
- package/es/chunks/Distributions-Czffme5Y.js +1185 -0
- package/es/chunks/Distributions-Czffme5Y.js.map +1 -0
- package/es/chunks/{MergedDataBadge-C1CgoRFz.js → MergedDataBadge-DK53L3R8.js} +2 -2
- package/es/chunks/{MergedDataBadge-C1CgoRFz.js.map → MergedDataBadge-DK53L3R8.js.map} +1 -1
- package/es/chunks/{TaxonBreakdown-DeWamLu_.js → TaxonBreakdown-DqdQ18QM.js} +2 -2
- package/es/chunks/{TaxonBreakdown-DeWamLu_.js.map → TaxonBreakdown-DqdQ18QM.js.map} +1 -1
- package/es/chunks/{XrGutter-CU7_QPAp.js → XrGutter-COJhHpia.js} +2 -2
- package/es/chunks/{XrGutter-CU7_QPAp.js.map → XrGutter-COJhHpia.js.map} +1 -1
- package/es/chunks/config--bs_09I6.js +32 -0
- package/es/chunks/config--bs_09I6.js.map +1 -0
- package/es/chunks/{dataset-BL6g4w0G.js → dataset-BZpjo3Yq.js} +2 -2
- package/es/chunks/{dataset-BL6g4w0G.js.map → dataset-BZpjo3Yq.js.map} +1 -1
- package/es/chunks/{enumeration-DM8Hb36g.js → enumeration-CV8i_q_O.js} +2 -2
- package/es/chunks/{enumeration-DM8Hb36g.js.map → enumeration-CV8i_q_O.js.map} +1 -1
- package/es/chunks/{sector-Qeo1zPxr.js → sector-ucUgPp75.js} +2 -2
- package/es/chunks/{sector-Qeo1zPxr.js.map → sector-ucUgPp75.js.map} +1 -1
- package/es/config.js +1 -1
- package/es/index.js +1 -1
- package/es/search.js +5 -5
- package/es/sourceDataset.js +4 -4
- package/es/sourceDatasetList.js +4 -4
- package/es/taxon.js +758 -754
- package/es/taxon.js.map +1 -1
- package/es/taxonBreakdown.js +2 -2
- package/es/taxonDistribution.js +21 -19
- package/es/taxonDistribution.js.map +1 -1
- package/es/tree.js +5 -5
- package/package.json +1 -1
- package/types/index.d.ts +25 -0
- package/umd/col-browser.js +67 -25
- package/umd/col-browser.js.map +1 -1
- package/umd/col-browser.min.js +4 -4
- package/umd/col-browser.min.js.map +1 -1
- package/es/chunks/Distributions-Bd4hFYdS.js +0 -1169
- package/es/chunks/Distributions-Bd4hFYdS.js.map +0 -1
- package/es/chunks/config-D1NH4DTr.js +0 -22
- package/es/chunks/config-D1NH4DTr.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as o } from "./router-CssZk5qZ.js";
|
|
2
|
-
import { c as r } from "./config
|
|
2
|
+
import { c as r } from "./config--bs_09I6.js";
|
|
3
3
|
const c = (a) => a.then((t) => t.data, (t) => null), i = (a, t) => Promise.all(
|
|
4
4
|
a.map((e) => c(o(`${r.dataApi}dataset/${t}/sector/${e}`)))
|
|
5
5
|
);
|
|
6
6
|
export {
|
|
7
7
|
i as g
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=sector-
|
|
9
|
+
//# sourceMappingURL=sector-ucUgPp75.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sector-
|
|
1
|
+
{"version":3,"file":"sector-ucUgPp75.js","sources":["../../src/api/sector.js"],"sourcesContent":["import client from \"./client\";\nimport config from \"../config\";\n\nconst reflect = p => p.then(v => v.data, e => null);\n\nexport const getSectorsBatch = (ids, datasetKey) => {\n return Promise.all(\n ids.map(i => reflect(client(`${config.dataApi}dataset/${datasetKey}/sector/${i}`)))\n );\n};\n"],"names":["reflect","p","v","getSectorsBatch","ids","datasetKey","i","client","config"],"mappings":";;AAGA,MAAMA,IAAU,OAAKC,EAAE,KAAK,OAAKC,EAAE,MAAM,OAAK,IAAI,GAErCC,IAAkB,CAACC,GAAKC,MAC5B,QAAQ;AAAA,EACbD,EAAI,IAAI,CAAAE,MAAKN,EAAQO,EAAO,GAAGC,EAAO,OAAO,WAAWH,CAAU,WAAWC,CAAC,EAAE,CAAC,CAAC;AAAA;"}
|
package/es/config.js
CHANGED
package/es/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { BibTex as u } from "./bibtex.js";
|
|
|
7
7
|
import { TaxonBreakdown as c } from "./taxonBreakdown.js";
|
|
8
8
|
import { TaxonDistribution as D } from "./taxonDistribution.js";
|
|
9
9
|
import { w as b } from "./chunks/index-BmhRLlZh.js";
|
|
10
|
-
import { a as h } from "./chunks/config
|
|
10
|
+
import { a as h } from "./chunks/config--bs_09I6.js";
|
|
11
11
|
export {
|
|
12
12
|
u as BibTex,
|
|
13
13
|
x as Search,
|
package/es/search.js
CHANGED
|
@@ -7,17 +7,17 @@ import { j as s } from "./chunks/jsx-runtime-BzflLqGi.js";
|
|
|
7
7
|
import * as C from "react";
|
|
8
8
|
import f from "react";
|
|
9
9
|
import { L as S, c as j, s as pt, R as mt, b as gt } from "./chunks/router-CssZk5qZ.js";
|
|
10
|
-
import { a as ft } from "./chunks/dataset-
|
|
11
|
-
import { a as xt } from "./chunks/enumeration-
|
|
10
|
+
import { a as ft } from "./chunks/dataset-BZpjo3Yq.js";
|
|
11
|
+
import { a as xt } from "./chunks/enumeration-CV8i_q_O.js";
|
|
12
12
|
import { r as St, w as vt } from "./chunks/storage-BgdCo9fV.js";
|
|
13
13
|
import { Input as G, Form as R, Select as k, Row as x, Col as g, AutoComplete as K, Radio as yt, Alert as jt, Button as I, Table as bt } from "antd";
|
|
14
|
-
import { c as b } from "./chunks/config
|
|
14
|
+
import { c as b } from "./chunks/config--bs_09I6.js";
|
|
15
15
|
import Ct from "query-string";
|
|
16
16
|
import { isArray as O, startCase as m, snakeCase as M, get as u, initial as z, debounce as At, isEqual as Dt, isEmpty as Tt, merge as $t, forEach as Et } from "lodash-es";
|
|
17
17
|
import { E as Ot } from "./chunks/ErrorMsg-K8k5PPTp.js";
|
|
18
|
-
import { C as F, N as wt } from "./chunks/DatasetCitation-
|
|
18
|
+
import { C as F, N as wt } from "./chunks/DatasetCitation-Cep2dces.js";
|
|
19
19
|
import Nt from "react-highlight-words";
|
|
20
|
-
import { X as Rt } from "./chunks/XrGutter-
|
|
20
|
+
import { X as Rt } from "./chunks/XrGutter-COJhHpia.js";
|
|
21
21
|
import { I as P } from "./chunks/AntdIcon-B1nMlqyh.js";
|
|
22
22
|
var kt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, name: "down", theme: "outlined" };
|
|
23
23
|
function w() {
|
package/es/sourceDataset.js
CHANGED
|
@@ -5,16 +5,16 @@ import { a as A } from "./chunks/withDatasetKey-BgMY05XE.js";
|
|
|
5
5
|
import { w as I } from "./chunks/withTheme-Dh6PRuII.js";
|
|
6
6
|
import { j as t } from "./chunks/jsx-runtime-BzflLqGi.js";
|
|
7
7
|
import h from "react";
|
|
8
|
-
import { c as x } from "./chunks/config
|
|
8
|
+
import { c as x } from "./chunks/config--bs_09I6.js";
|
|
9
9
|
import { c as m, L as K, s as T, R, b as M } from "./chunks/router-CssZk5qZ.js";
|
|
10
10
|
import { Skeleton as E, Alert as P, Row as j, Col as u, Tooltip as L, Button as F, Rate as O } from "antd";
|
|
11
11
|
import { E as N } from "./chunks/ErrorMsg-K8k5PPTp.js";
|
|
12
|
-
import { D as z } from "./chunks/DatasetlogoWithFallback-
|
|
12
|
+
import { D as z } from "./chunks/DatasetlogoWithFallback-Bb-kmHts.js";
|
|
13
13
|
import { M as B } from "./chunks/MetricsPresentation-DKCJQOtf.js";
|
|
14
14
|
import { get as p, isEmpty as S, isArray as H } from "lodash-es";
|
|
15
15
|
import { P as o } from "./chunks/PresentationItem-C4yZ555-.js";
|
|
16
|
-
import { g as W } from "./chunks/enumeration-
|
|
17
|
-
import { B as G } from "./chunks/BibTex-
|
|
16
|
+
import { g as W } from "./chunks/enumeration-CV8i_q_O.js";
|
|
17
|
+
import { B as G } from "./chunks/BibTex-DRE71Hg-.js";
|
|
18
18
|
import { marked as U } from "marked";
|
|
19
19
|
import V from "dompurify";
|
|
20
20
|
import { R as q } from "./chunks/LinkOutlined-2IkQWTV7.js";
|
package/es/sourceDatasetList.js
CHANGED
|
@@ -7,14 +7,14 @@ import { j as s } from "./chunks/jsx-runtime-BzflLqGi.js";
|
|
|
7
7
|
import R from "react";
|
|
8
8
|
import { s as w, c as x, L as d, R as v, b as T } from "./chunks/router-CssZk5qZ.js";
|
|
9
9
|
import { Row as j, Alert as I, Col as y, Checkbox as E, Table as A, Tooltip as C } from "antd";
|
|
10
|
-
import { c as f } from "./chunks/config
|
|
10
|
+
import { c as f } from "./chunks/config--bs_09I6.js";
|
|
11
11
|
import { get as M, merge as _, isArray as K } from "lodash-es";
|
|
12
12
|
import { E as G } from "./chunks/ErrorMsg-K8k5PPTp.js";
|
|
13
|
-
import { D as F } from "./chunks/DatasetlogoWithFallback-
|
|
13
|
+
import { D as F } from "./chunks/DatasetlogoWithFallback-Bb-kmHts.js";
|
|
14
14
|
import { M as H } from "./chunks/MetricsPresentation-DKCJQOtf.js";
|
|
15
15
|
import { P as k } from "./chunks/PresentationItem-C4yZ555-.js";
|
|
16
|
-
import { M as z } from "./chunks/MergedDataBadge-
|
|
17
|
-
import { X as L } from "./chunks/XrGutter-
|
|
16
|
+
import { M as z } from "./chunks/MergedDataBadge-DK53L3R8.js";
|
|
17
|
+
import { X as L } from "./chunks/XrGutter-COJhHpia.js";
|
|
18
18
|
const S = (r) => {
|
|
19
19
|
const l = r.key ? { SECTOR_DATASET_KEY: r.key } : { SECTOR_PUBLISHER_KEY: r.id };
|
|
20
20
|
return K(r.sectorModes) && (l.sectorMode = r.sectorModes), l;
|