@servantcdh/ez-planet-labeling 1.0.14 → 1.0.16
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/index.d.ts +20 -0
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -151,6 +151,11 @@ export declare interface ClassificationValue {
|
|
|
151
151
|
className?: string;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
+
declare interface ClassMeta {
|
|
155
|
+
color?: string;
|
|
156
|
+
opacity?: number;
|
|
157
|
+
}
|
|
158
|
+
|
|
154
159
|
declare interface CommonItemType {
|
|
155
160
|
title?: string;
|
|
156
161
|
iconType?: IconName;
|
|
@@ -1257,6 +1262,11 @@ export declare interface LabelingApiHeaders {
|
|
|
1257
1262
|
userName?: string;
|
|
1258
1263
|
}
|
|
1259
1264
|
|
|
1265
|
+
declare interface LabelingCanvasObjectsState {
|
|
1266
|
+
objects: LabeledFabricObject[];
|
|
1267
|
+
setObjects: (objects: LabeledFabricObject[]) => void;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1260
1270
|
/**
|
|
1261
1271
|
* Data that the host feeds into the labeling workspace.
|
|
1262
1272
|
* Each field mirrors one of the former react-query hooks.
|
|
@@ -1463,6 +1473,12 @@ export declare interface LabelInsertData {
|
|
|
1463
1473
|
isLabeled?: boolean;
|
|
1464
1474
|
}
|
|
1465
1475
|
|
|
1476
|
+
declare interface LabelInsertPayloadState {
|
|
1477
|
+
payload: LabelInsertData | null;
|
|
1478
|
+
classMeta: ClassMeta | null;
|
|
1479
|
+
setPayload: (payload: LabelInsertData | null, classMeta?: ClassMeta | null) => void;
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1466
1482
|
declare type LabelInsertWithOptionalId = LabelInsertData & {
|
|
1467
1483
|
id?: string;
|
|
1468
1484
|
};
|
|
@@ -1738,6 +1754,10 @@ export declare const useImageTypeLabelingToolSelectionStore: UseBoundStore<Store
|
|
|
1738
1754
|
|
|
1739
1755
|
export declare const useLabelBatchStore: UseBoundStore<StoreApi<LabelBatchState>>;
|
|
1740
1756
|
|
|
1757
|
+
export declare const useLabelingCanvasObjectsStore: UseBoundStore<StoreApi<LabelingCanvasObjectsState>>;
|
|
1758
|
+
|
|
1759
|
+
export declare const useLabelInsertPayloadStore: UseBoundStore<StoreApi<LabelInsertPayloadState>>;
|
|
1760
|
+
|
|
1741
1761
|
export declare const useToolbarSubMenuItemsStore: UseBoundStore<StoreApi<ToolbarSubMenuItemsState>>;
|
|
1742
1762
|
|
|
1743
1763
|
export declare const useWorkspaceConfigStore: UseBoundStore<StoreApi<WorkspaceConfigState>>;
|
package/dist/index.js
CHANGED
|
@@ -3589,7 +3589,7 @@ const LIB_AUTHOR = "최동호";
|
|
|
3589
3589
|
const LIB_CONTACT = "servantcdh@naver.com";
|
|
3590
3590
|
const __EZ_PLANET_META__ = Object.freeze({
|
|
3591
3591
|
name: LIB_NAME,
|
|
3592
|
-
version: "1.0.
|
|
3592
|
+
version: "1.0.16",
|
|
3593
3593
|
author: LIB_AUTHOR,
|
|
3594
3594
|
contact: LIB_CONTACT,
|
|
3595
3595
|
license: "Proprietary — See LICENSE"
|
|
@@ -26413,6 +26413,8 @@ export {
|
|
|
26413
26413
|
useImageLabelHistoryStore,
|
|
26414
26414
|
useImageTypeLabelingToolSelectionStore,
|
|
26415
26415
|
useLabelBatchStore,
|
|
26416
|
+
useLabelInsertPayloadStore,
|
|
26417
|
+
useLabelingCanvasObjectsStore,
|
|
26416
26418
|
useToolbarSubMenuItemsStore,
|
|
26417
26419
|
useWorkspaceConfigStore,
|
|
26418
26420
|
useWorkspaceNavigationDetailSelectionStore
|