@servantcdh/ez-planet-labeling 1.0.14 → 1.0.15

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 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;
@@ -1463,6 +1468,12 @@ export declare interface LabelInsertData {
1463
1468
  isLabeled?: boolean;
1464
1469
  }
1465
1470
 
1471
+ declare interface LabelInsertPayloadState {
1472
+ payload: LabelInsertData | null;
1473
+ classMeta: ClassMeta | null;
1474
+ setPayload: (payload: LabelInsertData | null, classMeta?: ClassMeta | null) => void;
1475
+ }
1476
+
1466
1477
  declare type LabelInsertWithOptionalId = LabelInsertData & {
1467
1478
  id?: string;
1468
1479
  };
@@ -1738,6 +1749,8 @@ export declare const useImageTypeLabelingToolSelectionStore: UseBoundStore<Store
1738
1749
 
1739
1750
  export declare const useLabelBatchStore: UseBoundStore<StoreApi<LabelBatchState>>;
1740
1751
 
1752
+ export declare const useLabelInsertPayloadStore: UseBoundStore<StoreApi<LabelInsertPayloadState>>;
1753
+
1741
1754
  export declare const useToolbarSubMenuItemsStore: UseBoundStore<StoreApi<ToolbarSubMenuItemsState>>;
1742
1755
 
1743
1756
  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.14",
3592
+ version: "1.0.15",
3593
3593
  author: LIB_AUTHOR,
3594
3594
  contact: LIB_CONTACT,
3595
3595
  license: "Proprietary — See LICENSE"
@@ -26413,6 +26413,7 @@ export {
26413
26413
  useImageLabelHistoryStore,
26414
26414
  useImageTypeLabelingToolSelectionStore,
26415
26415
  useLabelBatchStore,
26416
+ useLabelInsertPayloadStore,
26416
26417
  useToolbarSubMenuItemsStore,
26417
26418
  useWorkspaceConfigStore,
26418
26419
  useWorkspaceNavigationDetailSelectionStore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servantcdh/ez-planet-labeling",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",