@glodon-aiot/dataset-annotation 3.25.0-alpha.9 → 3.25.0

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.
Files changed (26) hide show
  1. package/dist/es/components/DetectionAnnotation/index.mjs +410 -398
  2. package/dist/es/components/VLMAnnotationDetail/VLMDetail/index.mjs +235 -234
  3. package/dist/es/components/VLMAnnotationDetail/VlmModal/index.mjs +52 -51
  4. package/dist/es/components/VLMAnnotationDetail/index.mjs +318 -285
  5. package/dist/es/index.mjs +1 -1
  6. package/dist/lib/index.js +3 -3
  7. package/dist/src/components/VLMAnnotationDetail/VLMDetail/index.d.ts +1 -0
  8. package/dist/src/components/VLMAnnotationDetail/VlmModal/index.d.ts +1 -1
  9. package/package.json +2 -2
  10. package/dist/dataset-annotation.js +0 -123598
  11. package/dist/dataset-annotation.umd.cjs +0 -1017
  12. package/dist/example/DatasetAnnotationDemo.d.ts +0 -3
  13. package/dist/example/DemoTabs.d.ts +0 -3
  14. package/dist/example/DetectionDatasetDemo.d.ts +0 -5
  15. package/dist/example/DetectionImageDemo.d.ts +0 -5
  16. package/dist/example/OcrDatasetDemo.d.ts +0 -5
  17. package/dist/example/OcrImageDemo.d.ts +0 -5
  18. package/dist/example/OcrkvcDatasetDemo.d.ts +0 -5
  19. package/dist/example/constant.local.d.ts +0 -6
  20. package/dist/example/index.d.ts +0 -1
  21. package/dist/src/components/VLMAnnotationDetail/MarkVLMBoxModal/ImageDetail/index.d.ts +0 -16
  22. package/dist/src/components/VLMAnnotationDetail/MarkVLMBoxModal/OCRBoxMaker/LabelEditorInput.d.ts +0 -12
  23. package/dist/src/components/VLMAnnotationDetail/MarkVLMBoxModal/OCRBoxMaker/LabelEditorItem.d.ts +0 -21
  24. package/dist/src/components/VLMAnnotationDetail/MarkVLMBoxModal/OCRBoxMaker/LableEditor.d.ts +0 -16
  25. package/dist/src/components/VLMAnnotationDetail/MarkVLMBoxModal/OCRBoxMaker/index.d.ts +0 -19
  26. package/dist/src/utils/reactCompatibility.d.ts +0 -5
@@ -11,6 +11,7 @@ interface VLMDetailProps {
11
11
  vlmMarkTmpl?: string;
12
12
  onClose: VoidFunction;
13
13
  onSave: (record: ISample) => Promise<boolean>;
14
+ onDeleteSample?: (deletedId: string) => void;
14
15
  filterMode?: string;
15
16
  onFilterModeChange?: (mode: string) => void;
16
17
  externalSamples?: ISample[];
@@ -12,7 +12,7 @@ interface ImageDetailModalProps {
12
12
  versionId?: string;
13
13
  ocrMarkTmpl?: string;
14
14
  handleMarkClick: (sampleId?: string) => void;
15
- updateSampleList: () => void;
15
+ updateSampleList: (deletedId?: string) => void;
16
16
  filterMode?: string;
17
17
  onFilterModeChange?: (mode: string) => void;
18
18
  onCurrentSampleChange?: (position: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glodon-aiot/dataset-annotation",
3
- "version": "3.25.0-alpha.9",
3
+ "version": "3.25.0",
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.25.0-alpha.9",
40
+ "@glodon-aiot/apis": "^3.25.0",
41
41
  "@glodon-aiot/minio": "^0.1.6",
42
42
  "@reduxjs/toolkit": "^1.9.5",
43
43
  "@types/fabric": "^5.3.2",