col-browser 2.3.7 → 2.3.9
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/es/bibtex.js +2 -2
- package/es/chunks/{BibTex-BqzD3qLB.js → BibTex-CPaVr-5w.js} +2 -2
- package/es/chunks/{BibTex-BqzD3qLB.js.map → BibTex-CPaVr-5w.js.map} +1 -1
- package/es/chunks/{DatasetCitation-bkPmDDYB.js → DatasetCitation-JpNSTWz-.js} +2 -2
- package/es/chunks/{DatasetCitation-bkPmDDYB.js.map → DatasetCitation-JpNSTWz-.js.map} +1 -1
- package/es/chunks/{DatasetlogoWithFallback-B9WXvNCA.js → DatasetlogoWithFallback-BhWvpgDn.js} +2 -2
- package/es/chunks/{DatasetlogoWithFallback-B9WXvNCA.js.map → DatasetlogoWithFallback-BhWvpgDn.js.map} +1 -1
- package/es/chunks/{Distributions-B3TlCDkA.js → Distributions-CKn1-Qze.js} +3 -3
- package/es/chunks/Distributions-CKn1-Qze.js.map +1 -0
- package/es/chunks/{MergedDataBadge-CdQ7RzDt.js → MergedDataBadge-DK4XUXsL.js} +2 -2
- package/es/chunks/{MergedDataBadge-CdQ7RzDt.js.map → MergedDataBadge-DK4XUXsL.js.map} +1 -1
- package/es/chunks/{TaxonBreakdown-BzDHojmp.js → TaxonBreakdown-BYRnP8bH.js} +2 -2
- package/es/chunks/{TaxonBreakdown-BzDHojmp.js.map → TaxonBreakdown-BYRnP8bH.js.map} +1 -1
- package/es/chunks/{XrGutter-CG0gAVhH.js → XrGutter-CORP2r5Y.js} +2 -2
- package/es/chunks/{XrGutter-CG0gAVhH.js.map → XrGutter-CORP2r5Y.js.map} +1 -1
- package/es/chunks/config-B2Z9BaEd.js +30 -0
- package/es/chunks/{config-BPRXv9x8.js.map → config-B2Z9BaEd.js.map} +1 -1
- package/es/chunks/{dataset-DvQG4NjA.js → dataset-BuF063rn.js} +2 -2
- package/es/chunks/{dataset-DvQG4NjA.js.map → dataset-BuF063rn.js.map} +1 -1
- package/es/chunks/{enumeration-yDQXSZsf.js → enumeration-CC8SblcI.js} +2 -2
- package/es/chunks/{enumeration-yDQXSZsf.js.map → enumeration-CC8SblcI.js.map} +1 -1
- package/es/chunks/{sector-BnVzMnMO.js → sector-Behb-WCC.js} +2 -2
- package/es/chunks/{sector-BnVzMnMO.js.map → sector-Behb-WCC.js.map} +1 -1
- package/es/search.js +5 -5
- package/es/sourceDataset.js +4 -4
- package/es/sourceDatasetList.js +4 -4
- package/es/taxon.js +9 -9
- package/es/taxonBreakdown.js +2 -2
- package/es/taxonDistribution.js +2 -2
- package/es/tree.js +5 -5
- package/package.json +1 -1
- package/umd/col-browser.js +3 -4
- package/umd/col-browser.js.map +1 -1
- package/umd/col-browser.min.js +2 -2
- package/umd/col-browser.min.js.map +1 -1
- package/es/chunks/Distributions-B3TlCDkA.js.map +0 -1
- package/es/chunks/config-BPRXv9x8.js +0 -31
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as t } from "./jsx-runtime-BzflLqGi.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import { M as i } from "./MergedDataBadge-
|
|
3
|
+
import { M as i } from "./MergedDataBadge-DK4XUXsL.js";
|
|
4
4
|
const m = ({ merged: r, style: o, children: s, ...a }) => r ? /* @__PURE__ */ t.jsxs("span", { style: { position: "relative", display: "inline-block", ...o }, children: [
|
|
5
5
|
/* @__PURE__ */ t.jsx(
|
|
6
6
|
i,
|
|
@@ -20,4 +20,4 @@ const m = ({ merged: r, style: o, children: s, ...a }) => r ? /* @__PURE__ */ t.
|
|
|
20
20
|
export {
|
|
21
21
|
m as X
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=XrGutter-
|
|
23
|
+
//# sourceMappingURL=XrGutter-CORP2r5Y.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XrGutter-
|
|
1
|
+
{"version":3,"file":"XrGutter-CORP2r5Y.js","sources":["../../src/components/XrGutter.js"],"sourcesContent":["import React from \"react\";\nimport MergedDataBadge from \"./MergedDataBadge\";\n\n// Renders the XR (merged-data) badge in the left gutter of a line or table\n// cell. The badge is absolutely positioned just left of the content, so it\n// takes no flow width — the content stays at the same position whether or not\n// the badge is shown. This keeps list/table rows aligned (mirroring how the\n// taxon title places its XR badge) instead of appending the badge after the\n// name or wedging it mid-line.\n//\n// When `merged` is falsy the children render unchanged (no wrapper). Any extra\n// props are forwarded to MergedDataBadge (datasetKey, verbatimSourceKey,\n// sourceDatasetKey, sourceId, createdBy, …).\nconst XrGutter = ({ merged, style, children, ...badgeProps }) =>\n merged ? (\n <span style={{ position: \"relative\", display: \"inline-block\", ...style }}>\n <MergedDataBadge\n {...badgeProps}\n style={{\n position: \"absolute\",\n right: \"100%\",\n top: \"50%\",\n transform: \"translateY(-50%)\",\n marginRight: \"4px\",\n }}\n />\n {children}\n </span>\n ) : (\n <>{children}</>\n );\n\nexport default XrGutter;\n"],"names":["XrGutter","merged","style","children","badgeProps","jsx","MergedDataBadge"],"mappings":";;;AAaA,MAAMA,IAAW,CAAC,EAAE,QAAAC,GAAQ,OAAAC,GAAO,UAAAC,GAAU,GAAGC,QAC9CH,2BACG,QAAA,EAAK,OAAO,EAAE,UAAU,YAAY,SAAS,gBAAgB,GAAGC,KAC/D,UAAA;AAAA,EAAAG,gBAAAA,EAAAA;AAAAA,IAACC;AAAA,IAAA;AAAA,MACE,GAAGF;AAAA,MACJ,OAAO;AAAA,QACL,UAAU;AAAA,QACV,OAAO;AAAA,QACP,KAAK;AAAA,QACL,WAAW;AAAA,QACX,aAAa;AAAA,MAAA;AAAA,IACf;AAAA,EAAA;AAAA,EAEDD;AAAA,EAAA,CACH,wCAEG,UAAAA,EAAA,CAAS;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { j as e } from "./jsx-runtime-BzflLqGi.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { theme as m, ConfigProvider as p } from "antd";
|
|
4
|
+
function f(t) {
|
|
5
|
+
const a = (h) => {
|
|
6
|
+
const { theme: o, darkMode: r, ...s } = h;
|
|
7
|
+
if (!o && !r)
|
|
8
|
+
return /* @__PURE__ */ e.jsx(t, { ...s });
|
|
9
|
+
const i = { ...o || {} };
|
|
10
|
+
return r && !i.algorithm && (i.algorithm = m.darkAlgorithm), /* @__PURE__ */ e.jsx(p, { theme: i, children: /* @__PURE__ */ e.jsx(t, { darkMode: r, ...s }) });
|
|
11
|
+
};
|
|
12
|
+
return a.displayName = `withTheme(${t.displayName || t.name || "Component"})`, a;
|
|
13
|
+
}
|
|
14
|
+
const l = {
|
|
15
|
+
dataApi: "https://api.checklistbank.org/",
|
|
16
|
+
// Human-facing ChecklistBank portal. Used for outbound links to
|
|
17
|
+
// dataset / publisher pages we don't host ourselves.
|
|
18
|
+
clbPortal: "https://www.checklistbank.org",
|
|
19
|
+
// GBIF API base (no trailing slash). Used for the occurrence count and
|
|
20
|
+
// the v2 map tile endpoint.
|
|
21
|
+
gbifApi: "https://api.gbif.org",
|
|
22
|
+
// GBIF human-facing portal where the attribution link points. The
|
|
23
|
+
// multitaxonomy occurrence search now ships on the production portal.
|
|
24
|
+
gbifPortal: "https://www.gbif.org"
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
l as c,
|
|
28
|
+
f as w
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=config-B2Z9BaEd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-
|
|
1
|
+
{"version":3,"file":"config-B2Z9BaEd.js","sources":["../../src/withTheme.js","../../src/config.js"],"sourcesContent":["import React from \"react\";\nimport { ConfigProvider, theme as antdTheme } from \"antd\";\n\n// Optional antd theming. Embedders can pass:\n// - `theme`: a full antd ThemeConfig (token / algorithm / components),\n// forwarded straight to ConfigProvider.\n// - `darkMode`: convenience boolean. When true and theme.algorithm is not\n// set, antd's darkAlgorithm is applied.\n// When neither prop is provided we render the wrapped component directly,\n// without a ConfigProvider, so the library's defaults are untouched.\nexport function withTheme(Component) {\n const Wrapped = (props) => {\n const { theme, darkMode, ...rest } = props;\n\n if (!theme && !darkMode) {\n return <Component {...rest} />;\n }\n\n const merged = { ...(theme || {}) };\n if (darkMode && !merged.algorithm) {\n merged.algorithm = antdTheme.darkAlgorithm;\n }\n\n return (\n <ConfigProvider theme={merged}>\n <Component darkMode={darkMode} {...rest} />\n </ConfigProvider>\n );\n };\n Wrapped.displayName = `withTheme(${\n Component.displayName || Component.name || \"Component\"\n })`;\n return Wrapped;\n}\n\nexport default withTheme;\n","export default {\n dataApi: \"https://api.checklistbank.org/\",\n // Human-facing ChecklistBank portal. Used for outbound links to\n // dataset / publisher pages we don't host ourselves.\n clbPortal: \"https://www.checklistbank.org\",\n // GBIF API base (no trailing slash). Used for the occurrence count and\n // the v2 map tile endpoint.\n gbifApi: \"https://api.gbif.org\",\n // GBIF human-facing portal where the attribution link points. The\n // multitaxonomy occurrence search now ships on the production portal.\n gbifPortal: \"https://www.gbif.org\",\n};"],"names":["withTheme","Component","Wrapped","props","theme","darkMode","rest","jsx","merged","antdTheme","ConfigProvider","config"],"mappings":";;;AAUO,SAASA,EAAUC,GAAW;AACnC,QAAMC,IAAU,CAACC,MAAU;AACzB,UAAM,EAAA,OAAEC,GAAO,UAAAC,GAAU,GAAGC,MAASH;AAErC,QAAI,CAACC,KAAS,CAACC;AACb,aAAOE,gBAAAA,MAACN,GAAA,EAAW,GAAGK,EAAA,CAAM;AAG9B,UAAME,IAAS,EAAE,GAAIJ,KAAS,GAAC;AAC/B,WAAIC,KAAY,CAACG,EAAO,cACtBA,EAAO,YAAYC,EAAU,gBAI7BF,gBAAAA,EAAAA,IAACG,KAAe,OAAOF,GACrB,gCAACP,GAAA,EAAU,UAAAI,GAAqB,GAAGC,EAAA,CAAM,EAAA,CAC3C;AAAA,EAEJ;AACA,SAAAJ,EAAQ,cAAc,aACpBD,EAAU,eAAeA,EAAU,QAAQ,WAC7C,KACOC;AACT;ACjCA,MAAAS,IAAe;AAAA,EACX,SAAS;AAAA;AAAA;AAAA,EAGT,WAAW;AAAA;AAAA;AAAA,EAGX,SAAS;AAAA;AAAA;AAAA,EAGT,YAAY;AAChB;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c } from "./router-CssZk5qZ.js";
|
|
2
|
-
import { c as s } from "./config-
|
|
2
|
+
import { c as s } from "./config-B2Z9BaEd.js";
|
|
3
3
|
const p = (t) => t.then(
|
|
4
4
|
(e) => e.data,
|
|
5
5
|
(e) => null
|
|
@@ -27,4 +27,4 @@ export {
|
|
|
27
27
|
h as c,
|
|
28
28
|
g
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=dataset-
|
|
30
|
+
//# sourceMappingURL=dataset-BuF063rn.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataset-
|
|
1
|
+
{"version":3,"file":"dataset-BuF063rn.js","sources":["../../src/api/dataset.js"],"sourcesContent":["import client from \"./client\";\nimport config from \"../config\";\n\nconst reflect = (p) =>\n p.then(\n (v) => v.data,\n (e) => null\n );\n\n// Bulk lookup using the API's `/source/simple?id=…&id=…` endpoint. One\n// HTTP request resolves all ids in the batch. The endpoint returns a\n// lightweight dataset object per id; results may come back in any order,\n// so we reorder by `key` to match what DataLoader expects (same length\n// and same order as the requested ids).\n//\n// Tolerates any failure mode (404, network error, malformed response, …)\n// by resolving every id in the failing batch to null. Returning the\n// expected-length array is critical — DataLoader rejects every pending\n// load() if the batch function rejects or returns the wrong length, and\n// the per-id load() rejections would in turn reject the Promise.all in\n// TaxonSources and leave the popover spinner stuck.\nexport const getDatasetsBatch = (ids, datasetKey) => {\n if (!ids?.length) return Promise.resolve([]);\n const nullsForAll = () => ids.map(() => null);\n const params = ids.map((id) => `id=${encodeURIComponent(id)}`).join(\"&\");\n return client(`${config.dataApi}dataset/${datasetKey}/source/simple?${params}`)\n .then((res) => {\n try {\n const byKey = new Map();\n const arr = Array.isArray(res?.data) ? res.data : [];\n arr.forEach((d) => {\n if (d && d.key != null) byKey.set(d.key, d);\n });\n return ids.map((id) => byKey.get(id) ?? byKey.get(Number(id)) ?? null);\n } catch (parseErr) {\n return nullsForAll();\n }\n })\n .catch(() => nullsForAll());\n};\n\nexport const getPublishersBatch = (ids, datasetKey) => {\n return Promise.all(\n ids.map((i) =>\n reflect(client(`${config.dataApi}dataset/${datasetKey}/sector/publisher/${i}`))\n )\n );\n};\n\nexport const getCatalogues = () => {\n return client(`${config.dataApi}dataset/catalogues`).then(({ data }) =>\n getDatasetsBatch(data)\n );\n};\n\nexport const getDataset = (datasetKey) =>\n client(`${config.dataApi}dataset/${datasetKey}`);\n\n// Lightweight dataset descriptor — includes `origin`, `title`, `version`,\n// `key`, etc. Used by Search to gate filter UI on the dataset's origin.\n// TODO: switch to `/dataset/{key}/simple` once that endpoint deploys.\n// The full /dataset/{key} response is a superset, so it works today.\nexport const getDatasetSimple = (datasetKey) =>\n client(`${config.dataApi}dataset/${datasetKey}`);\n"],"names":["reflect","p","v","getDatasetsBatch","ids","datasetKey","nullsForAll","params","id","client","config","res","byKey","d","getPublishersBatch","i","getDataset","getDatasetSimple"],"mappings":";;AAGA,MAAMA,IAAU,CAACC,MACfA,EAAE;AAAA,EACA,CAACC,MAAMA,EAAE;AAAA,EACT,CAAC,MAAM;AACT,GAcWC,IAAmB,CAACC,GAAKC,MAAe;AACnD,MAAI,EAACD,KAAA,QAAAA,EAAK,gBAAe,QAAQ,QAAQ,CAAA,CAAE;AAC3C,QAAME,IAAc,MAAMF,EAAI,IAAI,MAAM,IAAI,GACtCG,IAASH,EAAI,IAAI,CAACI,MAAO,MAAM,mBAAmBA,CAAE,CAAC,EAAE,EAAE,KAAK,GAAG;AACvE,SAAOC,EAAO,GAAGC,EAAO,OAAO,WAAWL,CAAU,kBAAkBE,CAAM,EAAE,EAC3E,KAAK,CAACI,MAAQ;AACb,QAAI;AACF,YAAMC,wBAAY,IAAA;AAElB,cADY,MAAM,QAAQD,KAAA,gBAAAA,EAAK,IAAI,IAAIA,EAAI,OAAO,CAAA,GAC9C,QAAQ,CAACE,MAAM;AACjB,QAAIA,KAAKA,EAAE,OAAO,UAAY,IAAIA,EAAE,KAAKA,CAAC;AAAA,MAC5C,CAAC,GACMT,EAAI,IAAI,CAACI,MAAOI,EAAM,IAAIJ,CAAE,KAAKI,EAAM,IAAI,OAAOJ,CAAE,CAAC,KAAK,IAAI;AAAA,IACvE,QAAmB;AACjB,aAAOF,EAAA;AAAA,IACT;AAAA,EACF,CAAC,EACA,MAAM,MAAMA,GAAa;AAC9B,GAEaQ,IAAqB,CAACV,GAAKC,MAC/B,QAAQ;AAAA,EACbD,EAAI;AAAA,IAAI,CAACW,MACPf,EAAQS,EAAO,GAAGC,EAAO,OAAO,WAAWL,CAAU,qBAAqBU,CAAC,EAAE,CAAC;AAAA,EAAA;AAChF,GAUSC,IAAa,CAACX,MACzBI,EAAO,GAAGC,EAAO,OAAO,WAAWL,CAAU,EAAE,GAMpCY,IAAmB,CAACZ,MAC/BI,EAAO,GAAGC,EAAO,OAAO,WAAWL,CAAU,EAAE;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as a } from "./router-CssZk5qZ.js";
|
|
2
|
-
import { c as o } from "./config-
|
|
2
|
+
import { c as o } from "./config-B2Z9BaEd.js";
|
|
3
3
|
const c = () => a(`${o.dataApi}vocab/country`).then(
|
|
4
4
|
(t) => t.data
|
|
5
5
|
), e = () => a(`${o.dataApi}vocab/taxgroup`).then(
|
|
@@ -9,4 +9,4 @@ export {
|
|
|
9
9
|
e as a,
|
|
10
10
|
c as g
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=enumeration-
|
|
12
|
+
//# sourceMappingURL=enumeration-CC8SblcI.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enumeration-
|
|
1
|
+
{"version":3,"file":"enumeration-CC8SblcI.js","sources":["../../src/api/enumeration.js"],"sourcesContent":["// import axiosInstance from './util/axiosInstance';\nimport client from \"./client\";\nimport config from \"../config\";\n\nexport const getFrequency = () => {\n return client(`${config.dataApi}vocab/frequency`).then(res =>\n res.data.map(e => e.name)\n );\n};\n\nexport const getDatasetType = () => {\n return client(`${config.dataApi}vocab/datasettype`).then(res =>\n res.data.map(e => e.name)\n );\n};\n\nexport const getDataFormatType = () => {\n return client(`${config.dataApi}vocab/dataformat`).then(res =>\n res.data.map(e => e.name)\n );\n};\n\nexport const getDatasetOrigin = () => {\n return client(`${config.dataApi}vocab/datasetorigin`).then(res =>\n res.data.map(e => e.name)\n );\n};\n\nexport const getRank = () => {\n return client(`${config.dataApi}vocab/rank`).then(res =>\n res.data.map(e => e.name)\n );\n};\n\nexport const getTaxonomicStatus = () => {\n return client(`${config.dataApi}vocab/taxonomicstatus`).then(res =>\n res.data.map(e => e.name)\n );\n};\n\nexport const getIssue = () => {\n return client(`${config.dataApi}vocab/issue`).then(res =>\n res.data\n );\n};\n\nexport const getNameType = () => {\n return client(`${config.dataApi}vocab/nametype`).then(res =>\n res.data.map(e => e.name)\n );\n};\n\nexport const getNameField = () => {\n return client(`${config.dataApi}vocab/namefield`).then(res =>\n res.data.map(e => e.name)\n );\n};\n\nexport const getNomStatus = () => {\n return client(`${config.dataApi}vocab/nomstatus`).then(res =>\n res.data.map(e => e.name)\n );\n};\n\nexport const getLicense = () => {\n return client(`${config.dataApi}vocab/license`).then(res =>\n res.data.map(e => e.name)\n );\n};\n\nexport const getNomCode = () => {\n return client(`${config.dataApi}vocab/nomcode`).then(res =>\n res.data\n );\n};\n\nexport const getImportState = () => {\n return client(`${config.dataApi}vocab/importstate`).then(res =>\n res.data\n );\n};\n\nexport const getLifezones = () => {\n return client(`${config.dataApi}vocab/lifezone`).then(res =>\n res.data\n );\n};\n\nexport const getSectorImportState = () => {\n return client(`${config.dataApi}vocab/sectorimport$state`).then(res =>\n res.data.map(e => e.name)\n );\n};\n\nexport const getCountries = () => {\n return client(`${config.dataApi}vocab/country`).then(res =>\n res.data\n );\n};\n\nexport const getTaxGroup = () => {\n return client(`${config.dataApi}vocab/taxgroup`).then(res =>\n res.data\n );\n};\n\n\n\n\n"],"names":["getCountries","client","config","res","getTaxGroup"],"mappings":";;AA8FO,MAAMA,IAAe,MACnBC,EAAO,GAAGC,EAAO,OAAO,eAAe,EAAE;AAAA,EAAK,OACnDC,EAAI;AAAA,GAIKC,IAAc,MAClBH,EAAO,GAAGC,EAAO,OAAO,gBAAgB,EAAE;AAAA,EAAK,OACpDC,EAAI;AAAA;"}
|
|
@@ -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-B2Z9BaEd.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-Behb-WCC.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sector-
|
|
1
|
+
{"version":3,"file":"sector-Behb-WCC.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/search.js
CHANGED
|
@@ -2,21 +2,21 @@ var ut = Object.defineProperty;
|
|
|
2
2
|
var ct = (r, i, a) => i in r ? ut(r, i, { enumerable: !0, configurable: !0, writable: !0, value: a }) : r[i] = a;
|
|
3
3
|
var c = (r, i, a) => ct(r, typeof i != "symbol" ? i + "" : i, a);
|
|
4
4
|
import { a as ht } from "./chunks/withDatasetKey-BgMY05XE.js";
|
|
5
|
-
import { c as j, w as dt } from "./chunks/config-
|
|
5
|
+
import { c as j, w as dt } from "./chunks/config-B2Z9BaEd.js";
|
|
6
6
|
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 b, 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-BuF063rn.js";
|
|
11
|
+
import { a as xt } from "./chunks/enumeration-CC8SblcI.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
14
|
import Ct from "query-string";
|
|
15
15
|
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";
|
|
16
16
|
import { E as Ot } from "./chunks/ErrorMsg-K8k5PPTp.js";
|
|
17
|
-
import { C as F, N as wt } from "./chunks/DatasetCitation-
|
|
17
|
+
import { C as F, N as wt } from "./chunks/DatasetCitation-JpNSTWz-.js";
|
|
18
18
|
import Nt from "react-highlight-words";
|
|
19
|
-
import { X as Rt } from "./chunks/XrGutter-
|
|
19
|
+
import { X as Rt } from "./chunks/XrGutter-CORP2r5Y.js";
|
|
20
20
|
import { I as P } from "./chunks/AntdIcon-B1nMlqyh.js";
|
|
21
21
|
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" };
|
|
22
22
|
function w() {
|
package/es/sourceDataset.js
CHANGED
|
@@ -2,18 +2,18 @@ var C = Object.defineProperty;
|
|
|
2
2
|
var _ = (i, l, s) => l in i ? C(i, l, { enumerable: !0, configurable: !0, writable: !0, value: s }) : i[l] = s;
|
|
3
3
|
var c = (i, l, s) => _(i, typeof l != "symbol" ? l + "" : l, s);
|
|
4
4
|
import { a as A } from "./chunks/withDatasetKey-BgMY05XE.js";
|
|
5
|
-
import { c as x, w as I } from "./chunks/config-
|
|
5
|
+
import { c as x, w as I } from "./chunks/config-B2Z9BaEd.js";
|
|
6
6
|
import { j as t } from "./chunks/jsx-runtime-BzflLqGi.js";
|
|
7
7
|
import h from "react";
|
|
8
8
|
import { c as m, L as K, s as T, R, b as M } from "./chunks/router-CssZk5qZ.js";
|
|
9
9
|
import { Skeleton as E, Alert as P, Row as j, Col as u, Tooltip as L, Button as F, Rate as O } from "antd";
|
|
10
10
|
import { E as N } from "./chunks/ErrorMsg-K8k5PPTp.js";
|
|
11
|
-
import { D as z } from "./chunks/DatasetlogoWithFallback-
|
|
11
|
+
import { D as z } from "./chunks/DatasetlogoWithFallback-BhWvpgDn.js";
|
|
12
12
|
import { M as B } from "./chunks/MetricsPresentation-DKCJQOtf.js";
|
|
13
13
|
import { get as p, isEmpty as S, isArray as H } from "lodash-es";
|
|
14
14
|
import { P as o } from "./chunks/PresentationItem-C4yZ555-.js";
|
|
15
|
-
import { g as W } from "./chunks/enumeration-
|
|
16
|
-
import { B as G } from "./chunks/BibTex-
|
|
15
|
+
import { g as W } from "./chunks/enumeration-CC8SblcI.js";
|
|
16
|
+
import { B as G } from "./chunks/BibTex-CPaVr-5w.js";
|
|
17
17
|
import { marked as U } from "marked";
|
|
18
18
|
import V from "dompurify";
|
|
19
19
|
import { R as q } from "./chunks/LinkOutlined-2IkQWTV7.js";
|
package/es/sourceDatasetList.js
CHANGED
|
@@ -2,18 +2,18 @@ var $ = Object.defineProperty;
|
|
|
2
2
|
var B = (r, l, a) => l in r ? $(r, l, { enumerable: !0, configurable: !0, writable: !0, value: a }) : r[l] = a;
|
|
3
3
|
var m = (r, l, a) => B(r, typeof l != "symbol" ? l + "" : l, a);
|
|
4
4
|
import { a as D } from "./chunks/withDatasetKey-BgMY05XE.js";
|
|
5
|
-
import { c as x, w as P } from "./chunks/config-
|
|
5
|
+
import { c as x, w as P } from "./chunks/config-B2Z9BaEd.js";
|
|
6
6
|
import { j as s } from "./chunks/jsx-runtime-BzflLqGi.js";
|
|
7
7
|
import R from "react";
|
|
8
8
|
import { s as w, c as f, 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
10
|
import { get as M, merge as _, isArray as K } from "lodash-es";
|
|
11
11
|
import { E as G } from "./chunks/ErrorMsg-K8k5PPTp.js";
|
|
12
|
-
import { D as F } from "./chunks/DatasetlogoWithFallback-
|
|
12
|
+
import { D as F } from "./chunks/DatasetlogoWithFallback-BhWvpgDn.js";
|
|
13
13
|
import { M as H } from "./chunks/MetricsPresentation-DKCJQOtf.js";
|
|
14
14
|
import { P as k } from "./chunks/PresentationItem-C4yZ555-.js";
|
|
15
|
-
import { M as z } from "./chunks/MergedDataBadge-
|
|
16
|
-
import { X as L } from "./chunks/XrGutter-
|
|
15
|
+
import { M as z } from "./chunks/MergedDataBadge-DK4XUXsL.js";
|
|
16
|
+
import { X as L } from "./chunks/XrGutter-CORP2r5Y.js";
|
|
17
17
|
const S = (r) => {
|
|
18
18
|
const l = r.key ? { SECTOR_DATASET_KEY: r.key } : { SECTOR_PUBLISHER_KEY: r.id };
|
|
19
19
|
return K(r.sectorModes) && (l.sectorMode = r.sectorModes), l;
|
package/es/taxon.js
CHANGED
|
@@ -2,29 +2,29 @@ var a2 = Object.defineProperty;
|
|
|
2
2
|
var e2 = (r, i, o) => i in r ? a2(r, i, { enumerable: !0, configurable: !0, writable: !0, value: o }) : r[i] = o;
|
|
3
3
|
var R = (r, i, o) => e2(r, typeof i != "symbol" ? i + "" : i, o);
|
|
4
4
|
import { a as o2 } from "./chunks/withDatasetKey-BgMY05XE.js";
|
|
5
|
-
import { c as H, w as n2 } from "./chunks/config-
|
|
5
|
+
import { c as H, w as n2 } from "./chunks/config-B2Z9BaEd.js";
|
|
6
6
|
import { j as t } from "./chunks/jsx-runtime-BzflLqGi.js";
|
|
7
7
|
import * as r3 from "react";
|
|
8
8
|
import e3, { useRef as r2, useState as n3, useEffect as N3 } from "react";
|
|
9
|
-
import { g as l2 } from "./chunks/sector-
|
|
10
|
-
import { b as R3 } from "./chunks/dataset-
|
|
9
|
+
import { g as l2 } from "./chunks/sector-Behb-WCC.js";
|
|
10
|
+
import { b as R3 } from "./chunks/dataset-BuF063rn.js";
|
|
11
11
|
import u3 from "dataloader";
|
|
12
12
|
import { c as z, L as p3, p as s2, R as Y3, s as i2, b as p2 } from "./chunks/router-CssZk5qZ.js";
|
|
13
13
|
import { Row as d3, Col as G, Popover as H3, Tag as C3, Space as d2, Tooltip as E3, Table as c2, message as y2, Form as y3, Modal as g2, Alert as i3, Spin as f2, Input as $3, Button as w3, Rate as m2 } from "antd";
|
|
14
14
|
import { isArray as C2, get as n, capitalize as M3, values as u2, startCase as P3 } from "lodash-es";
|
|
15
15
|
import E2 from "react-jss";
|
|
16
16
|
import { w as h2, P as w, g as z3 } from "./chunks/PresentationItem-C4yZ555-.js";
|
|
17
|
-
import { R as W3, D as F2 } from "./chunks/Distributions-
|
|
18
|
-
import { X as l3 } from "./chunks/XrGutter-
|
|
17
|
+
import { R as W3, D as F2 } from "./chunks/Distributions-CKn1-Qze.js";
|
|
18
|
+
import { X as l3 } from "./chunks/XrGutter-CORP2r5Y.js";
|
|
19
19
|
import x3 from "linkify-html";
|
|
20
20
|
import { R as h3 } from "./chunks/LinkOutlined-2IkQWTV7.js";
|
|
21
21
|
import { I as S3 } from "./chunks/AntdIcon-B1nMlqyh.js";
|
|
22
|
-
import { g as B2 } from "./chunks/enumeration-
|
|
22
|
+
import { g as B2 } from "./chunks/enumeration-CC8SblcI.js";
|
|
23
23
|
import Z3 from "dompurify";
|
|
24
24
|
import { E as g3 } from "./chunks/ErrorMsg-K8k5PPTp.js";
|
|
25
|
-
import { D as k2 } from "./chunks/DatasetlogoWithFallback-
|
|
26
|
-
import { T as x2 } from "./chunks/TaxonBreakdown-
|
|
27
|
-
import { M as D3 } from "./chunks/MergedDataBadge-
|
|
25
|
+
import { D as k2 } from "./chunks/DatasetlogoWithFallback-BhWvpgDn.js";
|
|
26
|
+
import { T as x2 } from "./chunks/TaxonBreakdown-BYRnP8bH.js";
|
|
27
|
+
import { M as D3 } from "./chunks/MergedDataBadge-DK4XUXsL.js";
|
|
28
28
|
import { marked as S2 } from "marked";
|
|
29
29
|
var j2 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, name: "download", theme: "outlined" };
|
|
30
30
|
function F3() {
|
package/es/taxonBreakdown.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as e, w } from "./chunks/config-
|
|
1
|
+
import { c as e, w } from "./chunks/config-B2Z9BaEd.js";
|
|
2
2
|
import { j as n } from "./chunks/jsx-runtime-BzflLqGi.js";
|
|
3
|
-
import { T } from "./chunks/TaxonBreakdown-
|
|
3
|
+
import { T } from "./chunks/TaxonBreakdown-BYRnP8bH.js";
|
|
4
4
|
import { useState as s, useEffect as A } from "react";
|
|
5
5
|
import { s as b, c as r, R as v, b as B } from "./chunks/router-CssZk5qZ.js";
|
|
6
6
|
import { Row as D, Col as C, Spin as E } from "antd";
|
package/es/taxonDistribution.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as a, w as R } from "./chunks/config-
|
|
1
|
+
import { c as a, w as R } from "./chunks/config-B2Z9BaEd.js";
|
|
2
2
|
import { j as i } from "./chunks/jsx-runtime-BzflLqGi.js";
|
|
3
3
|
import { useState as s, useEffect as $ } from "react";
|
|
4
4
|
import { s as D, c as l, R as T, b as g } from "./chunks/router-CssZk5qZ.js";
|
|
5
5
|
import { Row as k, Col as v, Spin as w } from "antd";
|
|
6
|
-
import { D as A } from "./chunks/Distributions-
|
|
6
|
+
import { D as A } from "./chunks/Distributions-CKn1-Qze.js";
|
|
7
7
|
const C = ({
|
|
8
8
|
taxonId: o,
|
|
9
9
|
datasetKey: n,
|
package/es/tree.js
CHANGED
|
@@ -2,18 +2,18 @@ var J = Object.defineProperty;
|
|
|
2
2
|
var Q = (m, x, e) => x in m ? J(m, x, { enumerable: !0, configurable: !0, writable: !0, value: e }) : m[x] = e;
|
|
3
3
|
var p = (m, x, e) => Q(m, typeof x != "symbol" ? x + "" : x, e);
|
|
4
4
|
import { a as X } from "./chunks/withDatasetKey-BgMY05XE.js";
|
|
5
|
-
import { c as T, w as Y } from "./chunks/config-
|
|
5
|
+
import { c as T, w as Y } from "./chunks/config-B2Z9BaEd.js";
|
|
6
6
|
import { j as t } from "./chunks/jsx-runtime-BzflLqGi.js";
|
|
7
7
|
import j, { createContext as ee } from "react";
|
|
8
8
|
import { Popover as te, Divider as se, Spin as R, Tag as ae, Alert as b, Skeleton as oe, Tree as ne, Button as ie, Row as re, Col as v, Checkbox as $ } from "antd";
|
|
9
9
|
import { sortBy as N, get as y, isUndefined as I, flatten as le, isArray as A } from "lodash-es";
|
|
10
10
|
import { L, c as D, R as U, s as de, b as he } from "./chunks/router-CssZk5qZ.js";
|
|
11
11
|
import S from "dataloader";
|
|
12
|
-
import { c as W, b as H, g as ce } from "./chunks/dataset-
|
|
13
|
-
import { M as pe } from "./chunks/MergedDataBadge-
|
|
12
|
+
import { c as W, b as H, g as ce } from "./chunks/dataset-BuF063rn.js";
|
|
13
|
+
import { M as pe } from "./chunks/MergedDataBadge-DK4XUXsL.js";
|
|
14
14
|
import { E as ue } from "./chunks/ErrorMsg-K8k5PPTp.js";
|
|
15
|
-
import { g as fe } from "./chunks/sector-
|
|
16
|
-
import { C as F, N as xe } from "./chunks/DatasetCitation-
|
|
15
|
+
import { g as fe } from "./chunks/sector-Behb-WCC.js";
|
|
16
|
+
import { C as F, N as xe } from "./chunks/DatasetCitation-JpNSTWz-.js";
|
|
17
17
|
import { r as O, w as M } from "./chunks/storage-BgdCo9fV.js";
|
|
18
18
|
const w = ee({
|
|
19
19
|
datasetLoader: null,
|
package/package.json
CHANGED
package/umd/col-browser.js
CHANGED
|
@@ -67802,10 +67802,9 @@ html body {
|
|
|
67802
67802
|
// GBIF API base (no trailing slash). Used for the occurrence count and
|
|
67803
67803
|
// the v2 map tile endpoint.
|
|
67804
67804
|
gbifApi: "https://api.gbif.org",
|
|
67805
|
-
// GBIF human-facing portal where the attribution link points.
|
|
67806
|
-
//
|
|
67807
|
-
|
|
67808
|
-
gbifPortal: "https://demo.gbif.org"
|
|
67805
|
+
// GBIF human-facing portal where the attribution link points. The
|
|
67806
|
+
// multitaxonomy occurrence search now ships on the production portal.
|
|
67807
|
+
gbifPortal: "https://www.gbif.org"
|
|
67809
67808
|
};
|
|
67810
67809
|
var dataloader;
|
|
67811
67810
|
var hasRequiredDataloader;
|