@bioturing/components 0.13.1
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/LICENSE +20 -0
- package/README.md +91 -0
- package/dist/Badge.js +41 -0
- package/dist/Breadcrumb.js +92 -0
- package/dist/Checkbox.js +13 -0
- package/dist/CodeBlock.js +497 -0
- package/dist/Collapse.js +50 -0
- package/dist/DSRoot.js +1024 -0
- package/dist/DropdownMenu.js +206 -0
- package/dist/Empty.js +53 -0
- package/dist/Field.js +69 -0
- package/dist/Form.js +126 -0
- package/dist/IconButton.js +83 -0
- package/dist/Input.js +49 -0
- package/dist/Modal.js +430 -0
- package/dist/Popover.js +10 -0
- package/dist/Radio.js +24 -0
- package/dist/ScrollArea.js +47 -0
- package/dist/Segmented.js +10 -0
- package/dist/Select.js +41 -0
- package/dist/Slider.js +39 -0
- package/dist/Spin.js +33 -0
- package/dist/Splitter.js +47 -0
- package/dist/Switch.js +10 -0
- package/dist/Table.js +125 -0
- package/dist/Tag.js +24 -0
- package/dist/ThemeProvider.js +261 -0
- package/dist/Toast.js +1009 -0
- package/dist/Tooltip.js +36 -0
- package/dist/Tour.js +54 -0
- package/dist/Tree.js +318 -0
- package/dist/Truncate.js +160 -0
- package/dist/Upload.js +419 -0
- package/dist/VerticalCollapsiblePanel.js +414 -0
- package/dist/assets/src/icons/ANOVAAnalysis.d.ts +7 -0
- package/dist/assets/src/icons/AUCell.d.ts +7 -0
- package/dist/assets/src/icons/Alphabet.d.ts +7 -0
- package/dist/assets/src/icons/BarChart.d.ts +7 -0
- package/dist/assets/src/icons/BoxPlot.d.ts +7 -0
- package/dist/assets/src/icons/BubbleHeatmap.d.ts +7 -0
- package/dist/assets/src/icons/CDR3Spectratyping.d.ts +7 -0
- package/dist/assets/src/icons/CancerPrediction.d.ts +7 -0
- package/dist/assets/src/icons/Cell.d.ts +7 -0
- package/dist/assets/src/icons/CellCellCommunication.d.ts +7 -0
- package/dist/assets/src/icons/CellSearch.d.ts +7 -0
- package/dist/assets/src/icons/CellTypePrediction.d.ts +7 -0
- package/dist/assets/src/icons/Cells.d.ts +7 -0
- package/dist/assets/src/icons/Circos.d.ts +7 -0
- package/dist/assets/src/icons/Clonotype.d.ts +7 -0
- package/dist/assets/src/icons/CoexpressionPlot.d.ts +7 -0
- package/dist/assets/src/icons/Composition.d.ts +7 -0
- package/dist/assets/src/icons/DEG.d.ts +7 -0
- package/dist/assets/src/icons/Digits.d.ts +7 -0
- package/dist/assets/src/icons/DiversityAnalysis.d.ts +7 -0
- package/dist/assets/src/icons/Embedding.d.ts +7 -0
- package/dist/assets/src/icons/EnrichmentTest.d.ts +7 -0
- package/dist/assets/src/icons/Eppendorf.d.ts +7 -0
- package/dist/assets/src/icons/FileArrowRight.d.ts +7 -0
- package/dist/assets/src/icons/FolderArrowRight.d.ts +7 -0
- package/dist/assets/src/icons/Heatmap.d.ts +7 -0
- package/dist/assets/src/icons/ImageSegmentation.d.ts +7 -0
- package/dist/assets/src/icons/IntersectionPlot.d.ts +7 -0
- package/dist/assets/src/icons/LouvainClustering.d.ts +7 -0
- package/dist/assets/src/icons/MarkerGenes.d.ts +7 -0
- package/dist/assets/src/icons/MixedView.d.ts +7 -0
- package/dist/assets/src/icons/NeighborhoodAnalysis.d.ts +7 -0
- package/dist/assets/src/icons/PenSize.d.ts +7 -0
- package/dist/assets/src/icons/Pertubation.d.ts +7 -0
- package/dist/assets/src/icons/Pseudotime.d.ts +7 -0
- package/dist/assets/src/icons/RegionSegmentation.d.ts +7 -0
- package/dist/assets/src/icons/ScatterPlotTissueImageView.d.ts +7 -0
- package/dist/assets/src/icons/ScatterPlotView.d.ts +7 -0
- package/dist/assets/src/icons/SegmentSelection.d.ts +7 -0
- package/dist/assets/src/icons/SpatialCellProportion.d.ts +7 -0
- package/dist/assets/src/icons/Species.d.ts +7 -0
- package/dist/assets/src/icons/SubClustering.d.ts +7 -0
- package/dist/assets/src/icons/TSNEUMAP.d.ts +7 -0
- package/dist/assets/src/icons/TissueImageScatterPlotView.d.ts +7 -0
- package/dist/assets/src/icons/TissueImageView.d.ts +7 -0
- package/dist/assets/src/icons/TwoD.d.ts +7 -0
- package/dist/assets/src/icons/VennDiagramAnalysis.d.ts +7 -0
- package/dist/assets/src/icons/ViolinPlot.d.ts +7 -0
- package/dist/assets/src/icons/custom.d.ts +48 -0
- package/dist/assets/src/icons/index.d.ts +2 -0
- package/dist/assets/src/icons/phosphor.d.ts +1 -0
- package/dist/assets/src/index.d.ts +2 -0
- package/dist/assets/src/logos/BBrowserX.d.ts +9 -0
- package/dist/assets/src/logos/BioStudio.d.ts +9 -0
- package/dist/assets/src/logos/BioTuring.d.ts +9 -0
- package/dist/assets/src/logos/BioTuringAlpha.d.ts +9 -0
- package/dist/assets/src/logos/Lens.d.ts +9 -0
- package/dist/assets/src/logos/Pixel.d.ts +9 -0
- package/dist/assets/src/logos/SmartBulk.d.ts +9 -0
- package/dist/assets/src/logos/SpatialX.d.ts +9 -0
- package/dist/assets/src/logos/Talk2Data.d.ts +9 -0
- package/dist/assets/src/logos/Vinci.d.ts +9 -0
- package/dist/assets/src/logos/index.d.ts +10 -0
- package/dist/components/src/components/Badge/component.d.ts +3 -0
- package/dist/components/src/components/Badge/index.d.ts +1 -0
- package/dist/components/src/components/Breadcrumb/component.d.ts +5 -0
- package/dist/components/src/components/Breadcrumb/index.d.ts +2 -0
- package/dist/components/src/components/Breadcrumb/types.d.ts +18 -0
- package/dist/components/src/components/Breadcrumb/useItemRender.d.ts +6 -0
- package/dist/components/src/components/Button/component.d.ts +7 -0
- package/dist/components/src/components/Button/index.d.ts +1 -0
- package/dist/components/src/components/Checkbox/component.d.ts +10 -0
- package/dist/components/src/components/Checkbox/index.d.ts +1 -0
- package/dist/components/src/components/CodeBlock/component.d.ts +2 -0
- package/dist/components/src/components/CodeBlock/index.d.ts +2 -0
- package/dist/components/src/components/CodeBlock/types.d.ts +47 -0
- package/dist/components/src/components/Collapse/component.d.ts +13 -0
- package/dist/components/src/components/Collapse/index.d.ts +1 -0
- package/dist/components/src/components/DSRoot/component.d.ts +13 -0
- package/dist/components/src/components/DSRoot/index.d.ts +1 -0
- package/dist/components/src/components/DropdownMenu/component.d.ts +25 -0
- package/dist/components/src/components/DropdownMenu/index.d.ts +2 -0
- package/dist/components/src/components/DropdownMenu/utils.d.ts +5 -0
- package/dist/components/src/components/Empty/component.d.ts +12 -0
- package/dist/components/src/components/Empty/index.d.ts +1 -0
- package/dist/components/src/components/Field/component.d.ts +41 -0
- package/dist/components/src/components/Field/index.d.ts +1 -0
- package/dist/components/src/components/Form/component.d.ts +18 -0
- package/dist/components/src/components/Form/index.d.ts +1 -0
- package/dist/components/src/components/Form/item.d.ts +5 -0
- package/dist/components/src/components/IconButton/component.d.ts +29 -0
- package/dist/components/src/components/IconButton/index.d.ts +1 -0
- package/dist/components/src/components/Input/component.d.ts +30 -0
- package/dist/components/src/components/Input/index.d.ts +1 -0
- package/dist/components/src/components/Modal/Modal.d.ts +69 -0
- package/dist/components/src/components/Modal/ModalProvider.d.ts +5 -0
- package/dist/components/src/components/Modal/ModalService.d.ts +33 -0
- package/dist/components/src/components/Modal/constants.d.ts +9 -0
- package/dist/components/src/components/Modal/functions.d.ts +27 -0
- package/dist/components/src/components/Modal/index.d.ts +14 -0
- package/dist/components/src/components/Popover/component.d.ts +9 -0
- package/dist/components/src/components/Popover/index.d.ts +1 -0
- package/dist/components/src/components/Radio/component.d.ts +7 -0
- package/dist/components/src/components/Radio/index.d.ts +2 -0
- package/dist/components/src/components/Radio/interface.d.ts +5 -0
- package/dist/components/src/components/ScrollArea/component.d.ts +10 -0
- package/dist/components/src/components/ScrollArea/index.d.ts +1 -0
- package/dist/components/src/components/Segmented/component.d.ts +9 -0
- package/dist/components/src/components/Segmented/index.d.ts +1 -0
- package/dist/components/src/components/Select/component.d.ts +11 -0
- package/dist/components/src/components/Select/index.d.ts +1 -0
- package/dist/components/src/components/Slider/component.d.ts +5 -0
- package/dist/components/src/components/Slider/index.d.ts +1 -0
- package/dist/components/src/components/Spin/component.d.ts +3 -0
- package/dist/components/src/components/Spin/index.d.ts +1 -0
- package/dist/components/src/components/Splitter/component.d.ts +12 -0
- package/dist/components/src/components/Splitter/index.d.ts +1 -0
- package/dist/components/src/components/Switch/component.d.ts +8 -0
- package/dist/components/src/components/Switch/index.d.ts +1 -0
- package/dist/components/src/components/Table/component.d.ts +19 -0
- package/dist/components/src/components/Table/index.d.ts +1 -0
- package/dist/components/src/components/Tag/component.d.ts +11 -0
- package/dist/components/src/components/Tag/index.d.ts +1 -0
- package/dist/components/src/components/ThemeProvider/component.d.ts +6 -0
- package/dist/components/src/components/ThemeProvider/index.d.ts +1 -0
- package/dist/components/src/components/Toast/component.d.ts +14 -0
- package/dist/components/src/components/Toast/function.d.ts +10 -0
- package/dist/components/src/components/Toast/index.d.ts +3 -0
- package/dist/components/src/components/Toast/types.d.ts +3 -0
- package/dist/components/src/components/Tooltip/component.d.ts +9 -0
- package/dist/components/src/components/Tooltip/index.d.ts +1 -0
- package/dist/components/src/components/Tour/component.d.ts +7 -0
- package/dist/components/src/components/Tour/index.d.ts +1 -0
- package/dist/components/src/components/Transition/component.d.ts +17 -0
- package/dist/components/src/components/Transition/index.d.ts +1 -0
- package/dist/components/src/components/Tree/components.d.ts +13 -0
- package/dist/components/src/components/Tree/helpers.d.ts +4 -0
- package/dist/components/src/components/Tree/index.d.ts +4 -0
- package/dist/components/src/components/Tree/types.d.ts +55 -0
- package/dist/components/src/components/Tree/useTreeCommon.d.ts +178 -0
- package/dist/components/src/components/Tree/useUniqueKeysTree.d.ts +33 -0
- package/dist/components/src/components/Truncate/component.d.ts +12 -0
- package/dist/components/src/components/Truncate/helpers.d.ts +5 -0
- package/dist/components/src/components/Truncate/index.d.ts +1 -0
- package/dist/components/src/components/Upload/component.d.ts +16 -0
- package/dist/components/src/components/Upload/dragger.d.ts +13 -0
- package/dist/components/src/components/Upload/hooks.d.ts +5 -0
- package/dist/components/src/components/Upload/index.d.ts +3 -0
- package/dist/components/src/components/Upload/item.d.ts +11 -0
- package/dist/components/src/components/Upload/utils.d.ts +1 -0
- package/dist/components/src/components/VerticalCollapsiblePanel/component.d.ts +64 -0
- package/dist/components/src/components/VerticalCollapsiblePanel/index.d.ts +1 -0
- package/dist/components/src/components/hooks/antd.d.ts +11 -0
- package/dist/components/src/components/hooks/base-ui.d.ts +7 -0
- package/dist/components/src/components/hooks/index.d.ts +3 -0
- package/dist/components/src/components/hooks/useControlledState.d.ts +1 -0
- package/dist/components/src/components/index.d.ts +39 -0
- package/dist/components/src/components/utils/WithAntdTokens.d.ts +7 -0
- package/dist/components/src/components/utils/antdUtils.d.ts +10 -0
- package/dist/components/src/components/utils/client.d.ts +2 -0
- package/dist/components/src/components/utils/cn.d.ts +4 -0
- package/dist/components/src/components/utils/index.d.ts +3 -0
- package/dist/components/src/components/utils/isTracebackError.d.ts +1 -0
- package/dist/components/src/components/utils/main.d.ts +3 -0
- package/dist/components/src/components/utils/reactToString.d.ts +2 -0
- package/dist/components/src/components/utils/types.d.ts +9 -0
- package/dist/components/src/index.d.ts +2 -0
- package/dist/components/src/tokens/index.d.ts +3 -0
- package/dist/index.js +2430 -0
- package/dist/style.css +1242 -0
- package/dist/style.js +0 -0
- package/dist/tailwind.css +4 -0
- package/dist/tailwind.js +0 -0
- package/dist/utils.js +78 -0
- package/package.json +153 -0
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__base_ui_components_react_5aaa6934__ from "@base-ui-components/react";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__bioturing_assets_dd0c210d__ from "@bioturing/assets";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE_antd_es_config_provider_6a57beb3__ from "antd/es/config-provider";
|
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE_antd_es_theme_useToken_e8911485__ from "antd/es/theme/useToken";
|
|
7
|
+
import "tailwind-merge";
|
|
8
|
+
import * as __WEBPACK_EXTERNAL_MODULE__base_ui_components_react_use_render_2fb9dc6d__ from "@base-ui-components/react/use-render";
|
|
9
|
+
import * as __WEBPACK_EXTERNAL_MODULE__base_ui_components_react_merge_props_04b69945__ from "@base-ui-components/react/merge-props";
|
|
10
|
+
import * as __WEBPACK_EXTERNAL_MODULE__base_ui_components_react_utils_d48cdb94__ from "@base-ui-components/react/utils";
|
|
11
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_dom_7136dc57__ from "react-dom";
|
|
12
|
+
import "antd/es/tooltip/style/css";
|
|
13
|
+
import * as __WEBPACK_EXTERNAL_MODULE_antd_es_tooltip_1091cc47__ from "antd/es/tooltip";
|
|
14
|
+
function cx(...args) {
|
|
15
|
+
const classes = [];
|
|
16
|
+
for (const arg of args)if (arg) {
|
|
17
|
+
if ("string" == typeof arg || "number" == typeof arg) classes.push(String(arg));
|
|
18
|
+
else if (Array.isArray(arg)) classes.push(...cx(...arg));
|
|
19
|
+
else if ("object" == typeof arg) {
|
|
20
|
+
for (const [key, value] of Object.entries(arg))if (value) classes.push(key);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return classes;
|
|
24
|
+
}
|
|
25
|
+
function clsx(...args) {
|
|
26
|
+
return cx(...args).join(" ");
|
|
27
|
+
}
|
|
28
|
+
"use client";
|
|
29
|
+
const useAntdCssVarClassname = ()=>{
|
|
30
|
+
var _token_;
|
|
31
|
+
const token = (0, __WEBPACK_EXTERNAL_MODULE_antd_es_theme_useToken_e8911485__["default"])();
|
|
32
|
+
return null == (_token_ = token[4]) ? void 0 : _token_.key;
|
|
33
|
+
};
|
|
34
|
+
const useCls = ()=>{
|
|
35
|
+
const { getPrefixCls } = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(__WEBPACK_EXTERNAL_MODULE_antd_es_config_provider_6a57beb3__["default"].ConfigContext);
|
|
36
|
+
return (...args)=>cx(...args).map((cls)=>getPrefixCls(cls)).join(" ");
|
|
37
|
+
};
|
|
38
|
+
"use client";
|
|
39
|
+
function useControlledState(value, onChange, defaultValue) {
|
|
40
|
+
const [internalState, setInternalState] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(defaultValue);
|
|
41
|
+
const isControlled = void 0 !== value;
|
|
42
|
+
const setState = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((next)=>{
|
|
43
|
+
const nextValue = "function" == typeof next ? next(value) : next;
|
|
44
|
+
if ("function" == typeof onChange) onChange(nextValue);
|
|
45
|
+
if (!isControlled) setInternalState(next);
|
|
46
|
+
}, [
|
|
47
|
+
value,
|
|
48
|
+
onChange,
|
|
49
|
+
isControlled
|
|
50
|
+
]);
|
|
51
|
+
const state = isControlled ? value : internalState;
|
|
52
|
+
return [
|
|
53
|
+
state,
|
|
54
|
+
setState
|
|
55
|
+
];
|
|
56
|
+
}
|
|
57
|
+
"use client";
|
|
58
|
+
const useEnhancedEffect = "undefined" != typeof window ? __WEBPACK_EXTERNAL_MODULE_react__.useLayoutEffect : __WEBPACK_EXTERNAL_MODULE_react__.useEffect;
|
|
59
|
+
function useEventCallback(fn) {
|
|
60
|
+
const ref = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(fn);
|
|
61
|
+
useEnhancedEffect(()=>{
|
|
62
|
+
ref.current = fn;
|
|
63
|
+
});
|
|
64
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((...args)=>{
|
|
65
|
+
var _ref_current;
|
|
66
|
+
return null == (_ref_current = ref.current) ? void 0 : _ref_current.call(ref, ...args);
|
|
67
|
+
}, []);
|
|
68
|
+
}
|
|
69
|
+
function useLatestRef(value) {
|
|
70
|
+
const ref = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(value);
|
|
71
|
+
useEnhancedEffect(()=>{
|
|
72
|
+
ref.current = value;
|
|
73
|
+
});
|
|
74
|
+
return ref;
|
|
75
|
+
}
|
|
76
|
+
function useAnimationsFinished(ref, waitForNextTick = false) {
|
|
77
|
+
const frameRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(-1);
|
|
78
|
+
const timeoutRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(-1);
|
|
79
|
+
const cancelTasks = useEventCallback(()=>{
|
|
80
|
+
cancelAnimationFrame(frameRef.current);
|
|
81
|
+
clearTimeout(timeoutRef.current);
|
|
82
|
+
});
|
|
83
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>cancelTasks, [
|
|
84
|
+
cancelTasks
|
|
85
|
+
]);
|
|
86
|
+
return useEventCallback((fnToExecute)=>{
|
|
87
|
+
cancelTasks();
|
|
88
|
+
const element = ref.current;
|
|
89
|
+
if (!element) return;
|
|
90
|
+
if ("function" != typeof element.getAnimations) fnToExecute();
|
|
91
|
+
else frameRef.current = requestAnimationFrame(()=>{
|
|
92
|
+
function exec() {
|
|
93
|
+
if (!element) return;
|
|
94
|
+
Promise.allSettled(element.getAnimations().map((anim)=>anim.finished)).then(()=>{
|
|
95
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react_dom_7136dc57__.flushSync)(fnToExecute);
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
if (waitForNextTick) timeoutRef.current = window.setTimeout(exec);
|
|
99
|
+
else exec();
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
"use client";
|
|
104
|
+
const Transition = (props)=>{
|
|
105
|
+
const { children = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {}), className, starting, ending, show = true, keepMounted = false, ...otherProps } = props;
|
|
106
|
+
const { mounted, setMounted, transitionStatus } = (0, __WEBPACK_EXTERNAL_MODULE__base_ui_components_react_utils_d48cdb94__.useTransitionStatus)(show);
|
|
107
|
+
const showRef = useLatestRef(show);
|
|
108
|
+
const combinedClassName = clsx(className, "starting" === transitionStatus && "string" == typeof starting && starting, "ending" === transitionStatus && "string" == typeof ending && ending);
|
|
109
|
+
const ref = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
|
|
110
|
+
const runOnceAnimationsFinish = useAnimationsFinished(ref, show);
|
|
111
|
+
const { renderElement } = (0, __WEBPACK_EXTERNAL_MODULE__base_ui_components_react_use_render_2fb9dc6d__.useRender)({
|
|
112
|
+
render: "function" == typeof children ? children(otherProps, {}) : children,
|
|
113
|
+
props: (0, __WEBPACK_EXTERNAL_MODULE__base_ui_components_react_merge_props_04b69945__.mergeProps)({
|
|
114
|
+
...otherProps,
|
|
115
|
+
ref,
|
|
116
|
+
className: combinedClassName,
|
|
117
|
+
...{
|
|
118
|
+
"data-starting": "starting" === transitionStatus ? "true" : void 0,
|
|
119
|
+
"data-ending": "ending" === transitionStatus ? "true" : void 0
|
|
120
|
+
},
|
|
121
|
+
style: {
|
|
122
|
+
..."starting" === transitionStatus && "object" == typeof starting ? starting : {},
|
|
123
|
+
..."ending" === transitionStatus && "object" == typeof ending ? ending : {}
|
|
124
|
+
}
|
|
125
|
+
})
|
|
126
|
+
});
|
|
127
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
128
|
+
if (keepMounted) return;
|
|
129
|
+
runOnceAnimationsFinish(()=>{
|
|
130
|
+
if (show === showRef.current) setMounted(show);
|
|
131
|
+
});
|
|
132
|
+
}, [
|
|
133
|
+
show,
|
|
134
|
+
keepMounted,
|
|
135
|
+
runOnceAnimationsFinish,
|
|
136
|
+
setMounted,
|
|
137
|
+
showRef
|
|
138
|
+
]);
|
|
139
|
+
return mounted ? renderElement() : null;
|
|
140
|
+
};
|
|
141
|
+
"use client";
|
|
142
|
+
const IconButtonImpl = (props, ref)=>{
|
|
143
|
+
const { label, size = "medium", negativeMargin = true, children, className, tooltipProps = {}, as, href, target, rel, download, hrefLang, referrerPolicy, ...rest } = props;
|
|
144
|
+
const cls = useCls();
|
|
145
|
+
const antdCssVarClassname = useAntdCssVarClassname();
|
|
146
|
+
const buttonClasses = [
|
|
147
|
+
cls("icon-button"),
|
|
148
|
+
cls(`icon-button-${size}`),
|
|
149
|
+
cls(negativeMargin ? "icon-button-negative-margin" : ""),
|
|
150
|
+
antdCssVarClassname,
|
|
151
|
+
className
|
|
152
|
+
].filter(Boolean).join(" ");
|
|
153
|
+
const Component = as || (href ? "a" : "button");
|
|
154
|
+
const anchorProps = "a" === Component ? {
|
|
155
|
+
...void 0 !== target && {
|
|
156
|
+
target
|
|
157
|
+
},
|
|
158
|
+
...void 0 !== rel && {
|
|
159
|
+
rel
|
|
160
|
+
},
|
|
161
|
+
...void 0 !== download && {
|
|
162
|
+
download
|
|
163
|
+
},
|
|
164
|
+
...void 0 !== hrefLang && {
|
|
165
|
+
hrefLang
|
|
166
|
+
},
|
|
167
|
+
...void 0 !== referrerPolicy && {
|
|
168
|
+
referrerPolicy
|
|
169
|
+
}
|
|
170
|
+
} : {};
|
|
171
|
+
const elementProps = {
|
|
172
|
+
ref,
|
|
173
|
+
className: buttonClasses,
|
|
174
|
+
..."button" === Component && {
|
|
175
|
+
type: "button"
|
|
176
|
+
},
|
|
177
|
+
...href && {
|
|
178
|
+
href
|
|
179
|
+
},
|
|
180
|
+
...anchorProps,
|
|
181
|
+
...rest
|
|
182
|
+
};
|
|
183
|
+
const element = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Component, {
|
|
184
|
+
...elementProps,
|
|
185
|
+
children: children
|
|
186
|
+
});
|
|
187
|
+
return label ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE_antd_es_tooltip_1091cc47__["default"], {
|
|
188
|
+
title: label,
|
|
189
|
+
arrow: false,
|
|
190
|
+
...tooltipProps,
|
|
191
|
+
children: element
|
|
192
|
+
}) : element;
|
|
193
|
+
};
|
|
194
|
+
const IconButton = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.forwardRef)(IconButtonImpl);
|
|
195
|
+
const measureText = (container)=>{
|
|
196
|
+
const span = document.createElement("span");
|
|
197
|
+
span.style.opacity = "0";
|
|
198
|
+
span.style.position = "absolute";
|
|
199
|
+
span.style.top = "-1000px";
|
|
200
|
+
span.style.left = "-1000px";
|
|
201
|
+
span.style.whiteSpace = "nowrap";
|
|
202
|
+
span.style.pointerEvents = "none";
|
|
203
|
+
container.appendChild(span);
|
|
204
|
+
return {
|
|
205
|
+
measure: (text)=>{
|
|
206
|
+
span.innerText = text;
|
|
207
|
+
return span.clientWidth;
|
|
208
|
+
},
|
|
209
|
+
destroy: ()=>{
|
|
210
|
+
container.removeChild(span);
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
const getMiddleTruncatedString = (text, ellipsis, container)=>{
|
|
215
|
+
var _Object_values_reverse_find;
|
|
216
|
+
if (!text) return text;
|
|
217
|
+
const { measure: getTextWidth, destroy: destroyMeasure } = measureText(container);
|
|
218
|
+
const textWidth = getTextWidth(text);
|
|
219
|
+
const containerWidth = container.clientWidth;
|
|
220
|
+
const initialOffset = Math.floor(containerWidth / textWidth * text.length);
|
|
221
|
+
if (textWidth <= containerWidth) {
|
|
222
|
+
destroyMeasure();
|
|
223
|
+
return text;
|
|
224
|
+
}
|
|
225
|
+
let offset = initialOffset;
|
|
226
|
+
const attempts = {};
|
|
227
|
+
const maxAttempts = 20;
|
|
228
|
+
const buffer = 10;
|
|
229
|
+
while(Object.values(attempts).length <= maxAttempts){
|
|
230
|
+
if (attempts[offset]) break;
|
|
231
|
+
if (offset <= 1) {
|
|
232
|
+
attempts[0] = [
|
|
233
|
+
0,
|
|
234
|
+
ellipsis
|
|
235
|
+
];
|
|
236
|
+
break;
|
|
237
|
+
}
|
|
238
|
+
const start = text.slice(0, Math.ceil((offset - ellipsis.length) / 2 - 1)).trimEnd();
|
|
239
|
+
const end = text.slice(Math.floor((offset - ellipsis.length) / 2) - offset).trimStart();
|
|
240
|
+
const truncatedStr = start + ellipsis + end;
|
|
241
|
+
const width = getTextWidth(truncatedStr);
|
|
242
|
+
attempts[offset] = [
|
|
243
|
+
width,
|
|
244
|
+
truncatedStr
|
|
245
|
+
];
|
|
246
|
+
if (width >= containerWidth) offset -= 2;
|
|
247
|
+
else {
|
|
248
|
+
if (containerWidth - width < buffer) break;
|
|
249
|
+
offset += 2;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
destroyMeasure();
|
|
253
|
+
return (null == (_Object_values_reverse_find = Object.values(attempts).reverse().find(([width])=>width < containerWidth)) ? void 0 : _Object_values_reverse_find[1]) ?? Object.values(attempts)[0][1];
|
|
254
|
+
};
|
|
255
|
+
"use client";
|
|
256
|
+
const Truncate = ({ children, position = "end", className, style, ...rest })=>{
|
|
257
|
+
const cls = useCls();
|
|
258
|
+
const containerRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
|
|
259
|
+
const [isTruncated, setIsTruncated] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
|
|
260
|
+
const [truncatedText, setTruncatedText] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(children);
|
|
261
|
+
const text = children;
|
|
262
|
+
const getContainerStyles = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)(()=>{
|
|
263
|
+
const baseStyles = {
|
|
264
|
+
overflow: "hidden",
|
|
265
|
+
whiteSpace: "nowrap",
|
|
266
|
+
textOverflow: "clip",
|
|
267
|
+
flexGrow: 1,
|
|
268
|
+
minWidth: 0,
|
|
269
|
+
maxWidth: "100%",
|
|
270
|
+
display: "block",
|
|
271
|
+
...style
|
|
272
|
+
};
|
|
273
|
+
if ("end" === position) return {
|
|
274
|
+
...baseStyles,
|
|
275
|
+
textOverflow: "ellipsis"
|
|
276
|
+
};
|
|
277
|
+
return baseStyles;
|
|
278
|
+
}, [
|
|
279
|
+
position,
|
|
280
|
+
style
|
|
281
|
+
]);
|
|
282
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useLayoutEffect)(()=>{
|
|
283
|
+
const container = containerRef.current;
|
|
284
|
+
if (!container) return;
|
|
285
|
+
let cancellationToken = {
|
|
286
|
+
cancelled: false
|
|
287
|
+
};
|
|
288
|
+
const calculateTruncatedString = ()=>{
|
|
289
|
+
if (cancellationToken) cancellationToken.cancelled = true;
|
|
290
|
+
const requestCancellationToken = {
|
|
291
|
+
cancelled: false
|
|
292
|
+
};
|
|
293
|
+
cancellationToken = requestCancellationToken;
|
|
294
|
+
const truncated = getMiddleTruncatedString(text, "\u2026", container);
|
|
295
|
+
if (requestCancellationToken.cancelled) return;
|
|
296
|
+
setTruncatedText(truncated);
|
|
297
|
+
};
|
|
298
|
+
if ("middle" == position) {
|
|
299
|
+
var _window_document_fonts_ready, _window_document_fonts;
|
|
300
|
+
null == (_window_document_fonts = window.document.fonts) || null == (_window_document_fonts_ready = _window_document_fonts.ready) || _window_document_fonts_ready.then(calculateTruncatedString);
|
|
301
|
+
}
|
|
302
|
+
if ("end" == position) setTruncatedText(text);
|
|
303
|
+
const observer = new ResizeObserver(()=>{
|
|
304
|
+
if ("middle" == position) window.requestAnimationFrame(calculateTruncatedString);
|
|
305
|
+
if ("end" == position) {
|
|
306
|
+
const isOverflowing = container.scrollWidth > container.clientWidth;
|
|
307
|
+
if (isOverflowing) setIsTruncated(true);
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
observer.observe(container);
|
|
311
|
+
return ()=>{
|
|
312
|
+
cancellationToken.cancelled = true;
|
|
313
|
+
observer.disconnect();
|
|
314
|
+
};
|
|
315
|
+
}, [
|
|
316
|
+
text,
|
|
317
|
+
position
|
|
318
|
+
]);
|
|
319
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
320
|
+
ref: containerRef,
|
|
321
|
+
style: getContainerStyles(),
|
|
322
|
+
className: clsx(cls("truncate"), className),
|
|
323
|
+
title: isTruncated ? text : void 0,
|
|
324
|
+
...rest,
|
|
325
|
+
children: text === truncatedText ? text : /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
326
|
+
children: truncatedText
|
|
327
|
+
})
|
|
328
|
+
});
|
|
329
|
+
};
|
|
330
|
+
"use client";
|
|
331
|
+
const VerticalCollapsiblePanel = ({ children, title, defaultOpen = false, open: controlledOpen, onOpenChange, className, headerClassName, headerInnerClassName, bodyClassName, contentPadding = "16px", afterTitle, actions, useTitleAsTrigger = true, keepMounted = false })=>{
|
|
332
|
+
const cls = useCls();
|
|
333
|
+
const [isOpen, setIsOpen] = useControlledState(controlledOpen, onOpenChange, defaultOpen);
|
|
334
|
+
const [isBodyOpen, setIsBodyOpen] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(isOpen);
|
|
335
|
+
const ref = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
|
|
336
|
+
const runOnceAnimationsFinish = useAnimationsFinished(ref, isOpen);
|
|
337
|
+
const cssVars = useAntdCssVarClassname();
|
|
338
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
339
|
+
runOnceAnimationsFinish(()=>{
|
|
340
|
+
setIsBodyOpen(isOpen);
|
|
341
|
+
});
|
|
342
|
+
}, [
|
|
343
|
+
isOpen,
|
|
344
|
+
runOnceAnimationsFinish
|
|
345
|
+
]);
|
|
346
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE__base_ui_components_react_5aaa6934__.Collapsible.Root, {
|
|
347
|
+
className: clsx(cls("collapsible-panel"), cssVars, className),
|
|
348
|
+
open: isOpen,
|
|
349
|
+
onOpenChange: setIsOpen,
|
|
350
|
+
ref: ref,
|
|
351
|
+
children: [
|
|
352
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
353
|
+
className: clsx(cls("collapsible-panel-header"), headerClassName),
|
|
354
|
+
children: [
|
|
355
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
356
|
+
className: clsx(cls("collapsible-panel-header-inner"), headerInnerClassName),
|
|
357
|
+
children: [
|
|
358
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
359
|
+
className: cls("collapsible-panel-header-text"),
|
|
360
|
+
onClick: useTitleAsTrigger ? ()=>setIsOpen((open)=>!open) : void 0,
|
|
361
|
+
style: useTitleAsTrigger ? {
|
|
362
|
+
cursor: "pointer"
|
|
363
|
+
} : {},
|
|
364
|
+
children: "string" == typeof title ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Truncate, {
|
|
365
|
+
children: title
|
|
366
|
+
}) : title
|
|
367
|
+
}),
|
|
368
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
369
|
+
className: cls("collapsible-panel-header-actions"),
|
|
370
|
+
children: [
|
|
371
|
+
isOpen && actions,
|
|
372
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__base_ui_components_react_5aaa6934__.Collapsible.Trigger, {
|
|
373
|
+
className: cls("collapsible-panel-trigger"),
|
|
374
|
+
render: isOpen ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(IconButton, {
|
|
375
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__bioturing_assets_dd0c210d__.MinusCircle, {
|
|
376
|
+
weight: "bold",
|
|
377
|
+
className: clsx(cls("collapsible-panel-caret"), isOpen && cls("collapsible-panel-caret-open"))
|
|
378
|
+
})
|
|
379
|
+
}) : /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(IconButton, {
|
|
380
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__bioturing_assets_dd0c210d__.PlusCircle, {
|
|
381
|
+
weight: "bold",
|
|
382
|
+
className: clsx(cls("collapsible-panel-caret"), isOpen && cls("collapsible-panel-caret-open"))
|
|
383
|
+
})
|
|
384
|
+
})
|
|
385
|
+
})
|
|
386
|
+
]
|
|
387
|
+
})
|
|
388
|
+
]
|
|
389
|
+
}),
|
|
390
|
+
isOpen && afterTitle && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
391
|
+
className: cls("collapsible-panel-header-after"),
|
|
392
|
+
children: afterTitle
|
|
393
|
+
})
|
|
394
|
+
]
|
|
395
|
+
}),
|
|
396
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__base_ui_components_react_5aaa6934__.Collapsible.Panel, {
|
|
397
|
+
className: cls("collapsible-panel-content"),
|
|
398
|
+
style: void 0 !== contentPadding ? {
|
|
399
|
+
"--ds-content-padding": false === contentPadding || 0 === contentPadding ? "0" : "number" == typeof contentPadding ? `${contentPadding}px` : contentPadding
|
|
400
|
+
} : {},
|
|
401
|
+
keepMounted: keepMounted,
|
|
402
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Transition, {
|
|
403
|
+
show: isBodyOpen,
|
|
404
|
+
className: clsx(cls("collapsible-panel-body"), bodyClassName),
|
|
405
|
+
keepMounted: true,
|
|
406
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
407
|
+
children: children
|
|
408
|
+
})
|
|
409
|
+
})
|
|
410
|
+
})
|
|
411
|
+
]
|
|
412
|
+
});
|
|
413
|
+
};
|
|
414
|
+
export { VerticalCollapsiblePanel };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ANOVAAnalysisProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const ANOVAAnalysis: React.ForwardRefExoticComponent<Omit<ANOVAAnalysisProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default ANOVAAnalysis;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface AUCellProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const AUCell: React.ForwardRefExoticComponent<Omit<AUCellProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default AUCell;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface AlphabetProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const Alphabet: React.ForwardRefExoticComponent<Omit<AlphabetProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default Alphabet;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface BarChartProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const BarChart: React.ForwardRefExoticComponent<Omit<BarChartProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default BarChart;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface BoxPlotProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const BoxPlot: React.ForwardRefExoticComponent<Omit<BoxPlotProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default BoxPlot;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface BubbleHeatmapProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const BubbleHeatmap: React.ForwardRefExoticComponent<Omit<BubbleHeatmapProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default BubbleHeatmap;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CDR3SpectratypingProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const CDR3Spectratyping: React.ForwardRefExoticComponent<Omit<CDR3SpectratypingProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default CDR3Spectratyping;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CancerPredictionProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const CancerPrediction: React.ForwardRefExoticComponent<Omit<CancerPredictionProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default CancerPrediction;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CellProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const Cell: React.ForwardRefExoticComponent<Omit<CellProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default Cell;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CellCellCommunicationProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const CellCellCommunication: React.ForwardRefExoticComponent<Omit<CellCellCommunicationProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default CellCellCommunication;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CellSearchProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const CellSearch: React.ForwardRefExoticComponent<Omit<CellSearchProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default CellSearch;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CellTypePredictionProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const CellTypePrediction: React.ForwardRefExoticComponent<Omit<CellTypePredictionProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default CellTypePrediction;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CellsProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const Cells: React.ForwardRefExoticComponent<Omit<CellsProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default Cells;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CircosProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const Circos: React.ForwardRefExoticComponent<Omit<CircosProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default Circos;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ClonotypeProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const Clonotype: React.ForwardRefExoticComponent<Omit<ClonotypeProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default Clonotype;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CoexpressionPlotProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const CoexpressionPlot: React.ForwardRefExoticComponent<Omit<CoexpressionPlotProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default CoexpressionPlot;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CompositionProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const Composition: React.ForwardRefExoticComponent<Omit<CompositionProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default Composition;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface DEGProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const DEG: React.ForwardRefExoticComponent<Omit<DEGProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default DEG;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface DigitsProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const Digits: React.ForwardRefExoticComponent<Omit<DigitsProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default Digits;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface DiversityAnalysisProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const DiversityAnalysis: React.ForwardRefExoticComponent<Omit<DiversityAnalysisProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default DiversityAnalysis;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface EmbeddingProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const Embedding: React.ForwardRefExoticComponent<Omit<EmbeddingProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default Embedding;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface EnrichmentTestProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const EnrichmentTest: React.ForwardRefExoticComponent<Omit<EnrichmentTestProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default EnrichmentTest;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface EppendorfProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const Eppendorf: React.ForwardRefExoticComponent<Omit<EppendorfProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default Eppendorf;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface FileArrowRightProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const FileArrowRight: React.ForwardRefExoticComponent<Omit<FileArrowRightProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default FileArrowRight;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface FolderArrowRightProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const FolderArrowRight: React.ForwardRefExoticComponent<Omit<FolderArrowRightProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default FolderArrowRight;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface HeatmapProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const Heatmap: React.ForwardRefExoticComponent<Omit<HeatmapProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default Heatmap;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ImageSegmentationProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
weight?: 'regular' | 'fill' | 'duotone';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const ImageSegmentation: React.ForwardRefExoticComponent<Omit<ImageSegmentationProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default ImageSegmentation;
|