@hitachivantara/uikit-react-viz 6.1.6 → 6.1.8
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 +201 -0
- package/dist/BarChart/BarChart.js +86 -112
- package/dist/BaseChart/BaseChart.js +53 -51
- package/dist/Boxplot/Boxplot.js +68 -83
- package/dist/Boxplot/Boxplot.styles.js +22 -23
- package/dist/Boxplot/useBoxplot.js +56 -70
- package/dist/Boxplot/useBoxplotData.js +34 -37
- package/dist/ConfusionMatrix/ConfusionMatrix.js +151 -150
- package/dist/ConfusionMatrix/ConfusionMatrix.styles.js +23 -27
- package/dist/ConfusionMatrix/utils.js +105 -138
- package/dist/DonutChart/DonutChart.js +67 -85
- package/dist/Heatmap/Heatmap.js +81 -97
- package/dist/Heatmap/Heatmap.styles.js +22 -23
- package/dist/LineChart/LineChart.js +84 -110
- package/dist/ScatterPlot/ScatterPlot.js +80 -102
- package/dist/Treemap/Treemap.js +36 -50
- package/dist/hooks/tooltip/styles.js +76 -77
- package/dist/hooks/tooltip/useTooltip.js +66 -89
- package/dist/hooks/useData.js +122 -162
- package/dist/hooks/useDataZoom.js +17 -25
- package/dist/hooks/useDataset.js +10 -14
- package/dist/hooks/useGrid.js +21 -37
- package/dist/hooks/useLegend.js +35 -44
- package/dist/hooks/useOption.js +12 -18
- package/dist/hooks/useSeries.js +84 -117
- package/dist/hooks/useVisualMap.js +38 -55
- package/dist/hooks/useXAxis.js +42 -61
- package/dist/hooks/useYAxis.js +31 -55
- package/dist/index.js +2 -16
- package/dist/providers/Provider.js +41 -21
- package/dist/utils/index.js +120 -186
- package/dist/utils/registerTheme.js +84 -122
- package/package.json +23 -11
package/dist/hooks/useData.js
CHANGED
|
@@ -1,164 +1,124 @@
|
|
|
1
|
+
import { getGroupKey, getHvArqueroCombinedFilters, normalizeColumnName, processTableData } from "../utils/index.js";
|
|
1
2
|
import { useMemo } from "react";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
{ [groupByKey]: expression },
|
|
122
|
-
{ after: groupByFields[groupByFields.length - 1] }
|
|
123
|
-
);
|
|
124
|
-
}
|
|
125
|
-
if (Object.keys(sortByFields).length > 0) {
|
|
126
|
-
tableData = tableData.orderby(
|
|
127
|
-
...Object.keys(sortByFields).filter((key) => allFields.includes(key)).map((key) => sortByFields[key] === "desc" ? desc(key) : key)
|
|
128
|
-
);
|
|
129
|
-
}
|
|
130
|
-
const reversedMapping = {};
|
|
131
|
-
for (const column of tableData.columnNames()) {
|
|
132
|
-
if (mapping[column] != null) {
|
|
133
|
-
reversedMapping[column] = mapping[column];
|
|
134
|
-
} else {
|
|
135
|
-
const found = Object.entries(mapping).find(
|
|
136
|
-
([key]) => column.includes(key)
|
|
137
|
-
);
|
|
138
|
-
if (found) {
|
|
139
|
-
const [key, value] = found;
|
|
140
|
-
reversedMapping[column] = column.replace(key, value);
|
|
141
|
-
} else {
|
|
142
|
-
reversedMapping[column] = column;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
tableData = tableData.select(reversedMapping);
|
|
147
|
-
if (groupByFields.length > 1) {
|
|
148
|
-
tableData = tableData.select(not(...groupByFields));
|
|
149
|
-
}
|
|
150
|
-
return { data: tableData, mapping: measuresMapping };
|
|
151
|
-
}, [
|
|
152
|
-
data,
|
|
153
|
-
filtersProp,
|
|
154
|
-
groupBy,
|
|
155
|
-
splitBy,
|
|
156
|
-
measures,
|
|
157
|
-
sortBy,
|
|
158
|
-
delta,
|
|
159
|
-
groupByKey
|
|
160
|
-
]);
|
|
161
|
-
};
|
|
162
|
-
export {
|
|
163
|
-
useData
|
|
3
|
+
import { desc, escape, not } from "arquero";
|
|
4
|
+
//#region src/hooks/useData.tsx
|
|
5
|
+
var getAgFunc = (func, field) => func === "count" ? "count()" : `${func}(d["${field}"])`;
|
|
6
|
+
var useData = ({ data, groupBy, measures, sortBy, splitBy, filters: filtersProp, delta }) => {
|
|
7
|
+
const groupByKey = getGroupKey(groupBy);
|
|
8
|
+
return useMemo(() => {
|
|
9
|
+
const { data: processedData, mapping } = processTableData(data);
|
|
10
|
+
let tableData = processedData;
|
|
11
|
+
if (filtersProp) {
|
|
12
|
+
const filters = (Array.isArray(filtersProp) ? filtersProp : [filtersProp]).map((filter) => ({
|
|
13
|
+
...filter,
|
|
14
|
+
field: normalizeColumnName(filter.field)
|
|
15
|
+
}));
|
|
16
|
+
tableData = tableData.filter(escape((row) => getHvArqueroCombinedFilters(row, filters)));
|
|
17
|
+
}
|
|
18
|
+
const groupByFields = (groupBy ? Array.isArray(groupBy) ? groupBy : [groupBy] : []).map((value) => normalizeColumnName(value));
|
|
19
|
+
const splitByFields = (Array.isArray(splitBy) ? splitBy : splitBy != null ? [splitBy] : []).map((value) => normalizeColumnName(value));
|
|
20
|
+
const measuresFields = [];
|
|
21
|
+
const measuresMapping = {};
|
|
22
|
+
let measuresColumns = {};
|
|
23
|
+
if (typeof measures === "string") {
|
|
24
|
+
measuresMapping[measures] = measures;
|
|
25
|
+
const normalizedMeasure = normalizeColumnName(measures);
|
|
26
|
+
measuresColumns[normalizedMeasure] = getAgFunc("sum", normalizedMeasure);
|
|
27
|
+
measuresFields.push(normalizedMeasure);
|
|
28
|
+
} else if (Array.isArray(measures)) measuresColumns = measures.reduce((acc, value) => {
|
|
29
|
+
let field;
|
|
30
|
+
let agFunction;
|
|
31
|
+
let columnName;
|
|
32
|
+
if (typeof value === "string") {
|
|
33
|
+
measuresMapping[value] = value;
|
|
34
|
+
field = normalizeColumnName(value);
|
|
35
|
+
agFunction = "sum";
|
|
36
|
+
columnName = field;
|
|
37
|
+
} else {
|
|
38
|
+
const appendAgg = measures.filter((m) => typeof m === "string" ? m === value.field : m.field === value.field).length > 1 && value.agg && value.agg !== "sum";
|
|
39
|
+
measuresMapping[appendAgg ? `${value.field}_${value.agg}` : value.field] = value;
|
|
40
|
+
field = normalizeColumnName(value.field);
|
|
41
|
+
agFunction = value.agg ?? "sum";
|
|
42
|
+
columnName = appendAgg ? `${field}_${value.agg}` : field;
|
|
43
|
+
}
|
|
44
|
+
measuresFields.push(field);
|
|
45
|
+
acc[columnName] = getAgFunc(agFunction, field);
|
|
46
|
+
return acc;
|
|
47
|
+
}, {});
|
|
48
|
+
else if (measures != null) {
|
|
49
|
+
measuresMapping[measures.field] = measures;
|
|
50
|
+
const normalizedMeasure = normalizeColumnName(measures.field);
|
|
51
|
+
measuresColumns[normalizedMeasure] = getAgFunc(measures.agg ?? "sum", normalizedMeasure);
|
|
52
|
+
measuresFields.push(normalizedMeasure);
|
|
53
|
+
}
|
|
54
|
+
let sortByFields = {};
|
|
55
|
+
if (typeof sortBy === "string") {
|
|
56
|
+
const normalizedSort = normalizeColumnName(sortBy);
|
|
57
|
+
sortByFields[normalizedSort] = "asc";
|
|
58
|
+
} else if (Array.isArray(sortBy)) sortByFields = sortBy.reduce((acc, value) => {
|
|
59
|
+
let field;
|
|
60
|
+
let orderFunction;
|
|
61
|
+
if (typeof value === "string") {
|
|
62
|
+
field = normalizeColumnName(value);
|
|
63
|
+
orderFunction = "asc";
|
|
64
|
+
} else {
|
|
65
|
+
field = normalizeColumnName(value.field);
|
|
66
|
+
orderFunction = value.order ?? "asc";
|
|
67
|
+
}
|
|
68
|
+
acc[field] = orderFunction;
|
|
69
|
+
return acc;
|
|
70
|
+
}, {});
|
|
71
|
+
else if (sortBy != null) {
|
|
72
|
+
const normalizedSort = normalizeColumnName(sortBy.field);
|
|
73
|
+
sortByFields[normalizedSort] = sortBy.order ?? "asc";
|
|
74
|
+
}
|
|
75
|
+
const allFields = [
|
|
76
|
+
...groupByFields,
|
|
77
|
+
...splitByFields,
|
|
78
|
+
...measuresFields
|
|
79
|
+
];
|
|
80
|
+
if (delta) {
|
|
81
|
+
const deltaExpression = Object.keys(measuresColumns).reduce((acc, curr) => {
|
|
82
|
+
const normalizedMeasure = normalizeColumnName(curr);
|
|
83
|
+
acc[normalizedMeasure] = `d => d.${normalizedMeasure} - d.${normalizeColumnName(delta)}`;
|
|
84
|
+
return acc;
|
|
85
|
+
}, {});
|
|
86
|
+
tableData = tableData.derive(deltaExpression);
|
|
87
|
+
}
|
|
88
|
+
tableData = tableData.select(...allFields);
|
|
89
|
+
if (groupByFields.length > 0) tableData = tableData.groupby(groupByFields);
|
|
90
|
+
if (splitByFields.length > 0) tableData = tableData.pivot(splitByFields, measuresColumns);
|
|
91
|
+
else tableData = tableData.rollup(measuresColumns);
|
|
92
|
+
if (groupByFields.length > 1) {
|
|
93
|
+
const expression = `d => ${groupByFields.map((field) => `d.${field}`).join(" + '_' + ")}`;
|
|
94
|
+
tableData = tableData.derive({ [groupByKey]: expression }, { after: groupByFields[groupByFields.length - 1] });
|
|
95
|
+
}
|
|
96
|
+
if (Object.keys(sortByFields).length > 0) tableData = tableData.orderby(...Object.keys(sortByFields).filter((key) => allFields.includes(key)).map((key) => sortByFields[key] === "desc" ? desc(key) : key));
|
|
97
|
+
const reversedMapping = {};
|
|
98
|
+
for (const column of tableData.columnNames()) if (mapping[column] != null) reversedMapping[column] = mapping[column];
|
|
99
|
+
else {
|
|
100
|
+
const found = Object.entries(mapping).find(([key]) => column.includes(key));
|
|
101
|
+
if (found) {
|
|
102
|
+
const [key, value] = found;
|
|
103
|
+
reversedMapping[column] = column.replace(key, value);
|
|
104
|
+
} else reversedMapping[column] = column;
|
|
105
|
+
}
|
|
106
|
+
tableData = tableData.select(reversedMapping);
|
|
107
|
+
if (groupByFields.length > 1) tableData = tableData.select(not(...groupByFields));
|
|
108
|
+
return {
|
|
109
|
+
data: tableData,
|
|
110
|
+
mapping: measuresMapping
|
|
111
|
+
};
|
|
112
|
+
}, [
|
|
113
|
+
data,
|
|
114
|
+
filtersProp,
|
|
115
|
+
groupBy,
|
|
116
|
+
splitBy,
|
|
117
|
+
measures,
|
|
118
|
+
sortBy,
|
|
119
|
+
delta,
|
|
120
|
+
groupByKey
|
|
121
|
+
]);
|
|
164
122
|
};
|
|
123
|
+
//#endregion
|
|
124
|
+
export { useData };
|
|
@@ -1,27 +1,19 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
zoomOnMouseWheel: "shift",
|
|
18
|
-
moveOnMouseWheel: true
|
|
19
|
-
}
|
|
20
|
-
] : []
|
|
21
|
-
};
|
|
22
|
-
}, [showHorizontal]);
|
|
23
|
-
return option;
|
|
24
|
-
};
|
|
25
|
-
export {
|
|
26
|
-
useDataZoom
|
|
2
|
+
//#region src/hooks/useDataZoom.tsx
|
|
3
|
+
var useDataZoom = ({ showHorizontal = false }) => {
|
|
4
|
+
return useMemo(() => {
|
|
5
|
+
return { dataZoom: showHorizontal ? [{
|
|
6
|
+
show: true,
|
|
7
|
+
type: "slider",
|
|
8
|
+
orient: "horizontal"
|
|
9
|
+
}, {
|
|
10
|
+
show: true,
|
|
11
|
+
type: "inside",
|
|
12
|
+
orient: "horizontal",
|
|
13
|
+
zoomOnMouseWheel: "shift",
|
|
14
|
+
moveOnMouseWheel: true
|
|
15
|
+
}] : [] };
|
|
16
|
+
}, [showHorizontal]);
|
|
27
17
|
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { useDataZoom };
|
package/dist/hooks/useDataset.js
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
}, [data]);
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
useDataset
|
|
2
|
+
//#region src/hooks/useDataset.tsx
|
|
3
|
+
var useDataset = (data) => {
|
|
4
|
+
return useMemo(() => {
|
|
5
|
+
return { dataset: { source: data.columnNames().reduce((acc, c) => {
|
|
6
|
+
acc[c] = data.array(c);
|
|
7
|
+
return acc;
|
|
8
|
+
}, {}) } };
|
|
9
|
+
}, [data]);
|
|
16
10
|
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { useDataset };
|
package/dist/hooks/useGrid.js
CHANGED
|
@@ -1,39 +1,23 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
left
|
|
22
|
-
},
|
|
23
|
-
...right != null && {
|
|
24
|
-
right
|
|
25
|
-
},
|
|
26
|
-
...width != null && {
|
|
27
|
-
width
|
|
28
|
-
},
|
|
29
|
-
...height != null && {
|
|
30
|
-
height
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
}, [top, left, right, bottom, height, width]);
|
|
35
|
-
return option;
|
|
36
|
-
};
|
|
37
|
-
export {
|
|
38
|
-
useGrid
|
|
2
|
+
//#region src/hooks/useGrid.tsx
|
|
3
|
+
var useGrid = ({ top, left, right, bottom, width, height }) => {
|
|
4
|
+
return useMemo(() => {
|
|
5
|
+
return { grid: {
|
|
6
|
+
...top != null && { top },
|
|
7
|
+
...bottom != null && { bottom },
|
|
8
|
+
...left != null && { left },
|
|
9
|
+
...right != null && { right },
|
|
10
|
+
...width != null && { width },
|
|
11
|
+
...height != null && { height }
|
|
12
|
+
} };
|
|
13
|
+
}, [
|
|
14
|
+
top,
|
|
15
|
+
left,
|
|
16
|
+
right,
|
|
17
|
+
bottom,
|
|
18
|
+
height,
|
|
19
|
+
width
|
|
20
|
+
]);
|
|
39
21
|
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { useGrid };
|
package/dist/hooks/useLegend.js
CHANGED
|
@@ -1,46 +1,37 @@
|
|
|
1
|
-
import { useMemo } from "react";
|
|
2
1
|
import { getLegendIcon } from "../utils/index.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
};
|
|
37
|
-
}) : void 0
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
}, [series, show, icon, formatter, positionProp, direction]);
|
|
42
|
-
return option;
|
|
43
|
-
};
|
|
44
|
-
export {
|
|
45
|
-
useLegend
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
//#region src/hooks/useLegend.tsx
|
|
4
|
+
var useLegend = ({ series, show, icon, formatter, position: positionProp, direction = "horizontal" }) => {
|
|
5
|
+
return useMemo(() => {
|
|
6
|
+
const position = {
|
|
7
|
+
y: positionProp?.y ?? "top",
|
|
8
|
+
x: positionProp?.x ?? "center"
|
|
9
|
+
};
|
|
10
|
+
return { legend: {
|
|
11
|
+
show: show ?? (Array.isArray(series) && series.length > 1),
|
|
12
|
+
itemGap: 20,
|
|
13
|
+
formatter,
|
|
14
|
+
orient: direction,
|
|
15
|
+
...position,
|
|
16
|
+
...icon && { icon: getLegendIcon(icon) },
|
|
17
|
+
...!icon && { data: show !== false && Array.isArray(series) ? series.map((s) => {
|
|
18
|
+
let iconType = "line";
|
|
19
|
+
if (s.areaStyle != null) iconType = "square";
|
|
20
|
+
if (s.type === "scatter") iconType = "circle";
|
|
21
|
+
return {
|
|
22
|
+
name: s.name,
|
|
23
|
+
icon: getLegendIcon(iconType)
|
|
24
|
+
};
|
|
25
|
+
}) : void 0 }
|
|
26
|
+
} };
|
|
27
|
+
}, [
|
|
28
|
+
series,
|
|
29
|
+
show,
|
|
30
|
+
icon,
|
|
31
|
+
formatter,
|
|
32
|
+
positionProp,
|
|
33
|
+
direction
|
|
34
|
+
]);
|
|
46
35
|
};
|
|
36
|
+
//#endregion
|
|
37
|
+
export { useLegend };
|
package/dist/hooks/useOption.js
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
const opt = { ...baseOption, ...optionProp };
|
|
14
|
-
return onOptionChange ? onOptionChange(opt) : opt;
|
|
15
|
-
}, [onOptionChange, optionProp]);
|
|
16
|
-
return option;
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
useOption
|
|
2
|
+
//#region src/hooks/useOption.ts
|
|
3
|
+
var useOption = ({ option: optionProp, onOptionChange }) => {
|
|
4
|
+
return useMemo(() => {
|
|
5
|
+
const opt = {
|
|
6
|
+
aria: { enabled: true },
|
|
7
|
+
animation: false,
|
|
8
|
+
...optionProp
|
|
9
|
+
};
|
|
10
|
+
return onOptionChange ? onOptionChange(opt) : opt;
|
|
11
|
+
}, [onOptionChange, optionProp]);
|
|
20
12
|
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { useOption };
|