@glodon-aiot/dataset-annotation 3.23.0-alpha.2 → 3.23.0-alpha.4
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/dist/es/components/DetectionAnnotation/components/Labels/index.mjs +150 -118
- package/dist/es/components/DetectionAnnotation/index.mjs +375 -366
- package/dist/es/index.mjs +1 -1
- package/dist/es/utils/formatCount.mjs +12 -0
- package/dist/lib/index.js +4 -4
- package/dist/src/components/DetectionAnnotation/components/Labels/index.d.ts +2 -0
- package/dist/src/utils/formatCount.d.ts +9 -0
- package/package.json +2 -2
|
@@ -7,6 +7,8 @@ interface LabelsProps {
|
|
|
7
7
|
showZero?: boolean;
|
|
8
8
|
selectMode?: 'multiple' | 'single';
|
|
9
9
|
shortcut?: boolean;
|
|
10
|
+
/** 数据列表页展示「标注框数 / 图片数」与表头;详情/标注态的快捷键面板不传 */
|
|
11
|
+
showStatColumns?: boolean;
|
|
10
12
|
onItemClick?: (label: Label) => VoidFunction;
|
|
11
13
|
onSelectedChange?: (selected: Label[]) => void;
|
|
12
14
|
onRefresh?: VoidFunction;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glodon-aiot/dataset-annotation",
|
|
3
|
-
"version": "3.23.0-alpha.
|
|
3
|
+
"version": "3.23.0-alpha.4",
|
|
4
4
|
"module": "./dist/es/index.mjs",
|
|
5
5
|
"main": "./dist/lib/index.js",
|
|
6
6
|
"types": "./dist/src/index.d.ts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@ant-design/icons": "^5.3.4",
|
|
39
39
|
"@aws-crypto/sha256-js": "^3.0.0",
|
|
40
|
-
"@glodon-aiot/apis": "^3.23.0-alpha.
|
|
40
|
+
"@glodon-aiot/apis": "^3.23.0-alpha.4",
|
|
41
41
|
"@glodon-aiot/minio": "^0.1.6",
|
|
42
42
|
"@reduxjs/toolkit": "^1.9.5",
|
|
43
43
|
"@types/fabric": "^5.3.2",
|