col-browser 2.3.2 → 2.3.3
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/taxon.js +220 -211
- package/es/taxon.js.map +1 -1
- package/package.json +1 -1
- package/umd/col-browser.js +44 -35
- 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/package.json
CHANGED
package/umd/col-browser.js
CHANGED
|
@@ -87235,7 +87235,7 @@ html body {
|
|
|
87235
87235
|
}
|
|
87236
87236
|
}
|
|
87237
87237
|
render() {
|
|
87238
|
-
var _a2, _b2, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B;
|
|
87238
|
+
var _a2, _b2, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C;
|
|
87239
87239
|
const {
|
|
87240
87240
|
datasetKey,
|
|
87241
87241
|
showDistributionMap,
|
|
@@ -87557,49 +87557,58 @@ html body {
|
|
|
87557
87557
|
get(taxon, "accordingToDate") && `, ${dayjs(get(taxon, "accordingToDate")).format("LL")}`
|
|
87558
87558
|
] }) }) }),
|
|
87559
87559
|
get(taxon, "scrutinizer") && /* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: 12, children: /* @__PURE__ */ jsxRuntimeExports.jsx(PresentationItem$1, { md: md * 2, label: "Taxonomic scrutiny", children: `${get(taxon, "scrutinizer")}${get(taxon, "scrutinizerDate") ? ", " + get(taxon, "scrutinizerDate") : ""}` }) }),
|
|
87560
|
-
get(sourceDataset, "title") && /* @__PURE__ */ jsxRuntimeExports.jsx(PresentationItem$1, { md, label: "Source", children: /* @__PURE__ */ jsxRuntimeExports.
|
|
87561
|
-
|
|
87562
|
-
|
|
87563
|
-
{
|
|
87564
|
-
|
|
87565
|
-
|
|
87566
|
-
|
|
87567
|
-
|
|
87568
|
-
|
|
87569
|
-
|
|
87570
|
-
|
|
87571
|
-
|
|
87572
|
-
|
|
87573
|
-
|
|
87574
|
-
|
|
87575
|
-
|
|
87576
|
-
|
|
87577
|
-
|
|
87578
|
-
|
|
87579
|
-
|
|
87580
|
-
|
|
87581
|
-
|
|
87582
|
-
|
|
87583
|
-
|
|
87584
|
-
|
|
87585
|
-
|
|
87586
|
-
|
|
87587
|
-
|
|
87588
|
-
|
|
87589
|
-
|
|
87590
|
-
|
|
87560
|
+
get(sourceDataset, "title") && /* @__PURE__ */ jsxRuntimeExports.jsx(PresentationItem$1, { md, label: "Source", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
87561
|
+
"div",
|
|
87562
|
+
{
|
|
87563
|
+
style: {
|
|
87564
|
+
display: "inline-block",
|
|
87565
|
+
paddingLeft: ((_n = info == null ? void 0 : info.usage) == null ? void 0 : _n.merged) ? "22px" : 0
|
|
87566
|
+
},
|
|
87567
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
87568
|
+
XrGutter,
|
|
87569
|
+
{
|
|
87570
|
+
merged: (_o = info == null ? void 0 : info.usage) == null ? void 0 : _o.merged,
|
|
87571
|
+
createdBy: (_p = info == null ? void 0 : info.usage) == null ? void 0 : _p.createdBy,
|
|
87572
|
+
datasetKey: (_q = info == null ? void 0 : info.usage) == null ? void 0 : _q.datasetKey,
|
|
87573
|
+
verbatimSourceKey: (_r = info == null ? void 0 : info.usage) == null ? void 0 : _r.verbatimSourceKey,
|
|
87574
|
+
sourceDatasetKey: (_s = info == null ? void 0 : info.source) == null ? void 0 : _s.sourceDatasetKey,
|
|
87575
|
+
sourceId: (_t = info == null ? void 0 : info.source) == null ? void 0 : _t.sourceId,
|
|
87576
|
+
children: [
|
|
87577
|
+
((_u = info == null ? void 0 : info.source) == null ? void 0 : _u.sourceId) ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
87578
|
+
"a",
|
|
87579
|
+
{
|
|
87580
|
+
href: `https://www.checklistbank.org/dataset/${(_v = info == null ? void 0 : info.source) == null ? void 0 : _v.sourceDatasetKey}/taxon/${(_w = info == null ? void 0 : info.source) == null ? void 0 : _w.sourceId}`,
|
|
87581
|
+
children: get(sourceDataset, "alias")
|
|
87582
|
+
}
|
|
87583
|
+
) : get(sourceDataset, "alias"),
|
|
87584
|
+
": ",
|
|
87585
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(LinkTo, { to: "source", args: get(sourceDataset, "key"), children: get(sourceDataset, "title") }),
|
|
87586
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { style: { marginLeft: "10px" }, children: get(sourceDataset, "completeness") && get(sourceDataset, "completeness") + "%" }),
|
|
87587
|
+
get(sourceDataset, "confidence") && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
87588
|
+
Rate,
|
|
87589
|
+
{
|
|
87590
|
+
style: { marginLeft: "10px" },
|
|
87591
|
+
value: get(sourceDataset, "confidence"),
|
|
87592
|
+
disabled: true
|
|
87593
|
+
}
|
|
87594
|
+
)
|
|
87595
|
+
]
|
|
87596
|
+
}
|
|
87597
|
+
)
|
|
87598
|
+
}
|
|
87599
|
+
) }),
|
|
87591
87600
|
get(taxon, "link") && /* @__PURE__ */ jsxRuntimeExports.jsx(PresentationItem$1, { md, label: "Original record", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: get(taxon, "link"), children: get(taxon, "link") }) }),
|
|
87592
|
-
((
|
|
87601
|
+
((_x = info == null ? void 0 : info.source) == null ? void 0 : _x.secondarySources) && /* @__PURE__ */ jsxRuntimeExports.jsx(PresentationItem$1, { md, label: "Secondary Sources", children: /* @__PURE__ */ jsxRuntimeExports.jsx(SecondarySources, { info, datasetKey }) }),
|
|
87593
87602
|
get(info, "references") && /* @__PURE__ */ jsxRuntimeExports.jsx(PresentationItem$1, { md, label: "References", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
87594
87603
|
ReferencesTable,
|
|
87595
87604
|
{
|
|
87596
87605
|
referenceIndexMap,
|
|
87597
|
-
primarySourceDatasetKey: (
|
|
87606
|
+
primarySourceDatasetKey: (_y = info == null ? void 0 : info.source) == null ? void 0 : _y.sourceDatasetKey,
|
|
87598
87607
|
data: get(info, "references"),
|
|
87599
87608
|
style: { marginTop: "-3px" }
|
|
87600
87609
|
}
|
|
87601
87610
|
) }),
|
|
87602
|
-
((
|
|
87611
|
+
((_A = (_z = window == null ? void 0 : window.location) == null ? void 0 : _z.hostname) == null ? void 0 : _A.endsWith("catalogueoflife.org")) && /* @__PURE__ */ jsxRuntimeExports.jsx(PresentationItem$1, { md, label: "", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Feedback, { taxonKey: (_C = (_B = this == null ? void 0 : this.state) == null ? void 0 : _B.taxon) == null ? void 0 : _C.id, datasetKey: this.props.datasetKey }) })
|
|
87603
87612
|
]
|
|
87604
87613
|
}
|
|
87605
87614
|
) });
|