@servantcdh/ez-planet-labeling 1.0.11 → 1.0.13
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.js +10 -5
- package/package.json +1 -1
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.13",
|
|
3593
3593
|
author: LIB_AUTHOR,
|
|
3594
3594
|
contact: LIB_CONTACT,
|
|
3595
3595
|
license: "Proprietary — See LICENSE"
|
|
@@ -18280,6 +18280,7 @@ function WorkspaceFloatingToolbar({
|
|
|
18280
18280
|
if (item.variant === "button") {
|
|
18281
18281
|
const {
|
|
18282
18282
|
iconType,
|
|
18283
|
+
renderIcon,
|
|
18283
18284
|
title,
|
|
18284
18285
|
tooltip,
|
|
18285
18286
|
variant: _variant,
|
|
@@ -18296,7 +18297,7 @@ function WorkspaceFloatingToolbar({
|
|
|
18296
18297
|
...title ? { title } : { style: "transparent" },
|
|
18297
18298
|
isSlim,
|
|
18298
18299
|
...btnProps,
|
|
18299
|
-
children: iconType
|
|
18300
|
+
children: renderIcon ? renderIcon() : iconType ? /* @__PURE__ */ jsx(Icon, { iconType, size: isSlim ? "xxs" : "sm" }) : null
|
|
18300
18301
|
},
|
|
18301
18302
|
buttonKey
|
|
18302
18303
|
);
|
|
@@ -18306,6 +18307,7 @@ function WorkspaceFloatingToolbar({
|
|
|
18306
18307
|
if (subButtonItem.variant === "button") {
|
|
18307
18308
|
const {
|
|
18308
18309
|
iconType: iconType2,
|
|
18310
|
+
renderIcon: renderIcon2,
|
|
18309
18311
|
title: title2,
|
|
18310
18312
|
tooltip: tooltip2,
|
|
18311
18313
|
variant: _variant2,
|
|
@@ -18319,7 +18321,7 @@ function WorkspaceFloatingToolbar({
|
|
|
18319
18321
|
size: "md",
|
|
18320
18322
|
...title2 ? { title: title2 } : { style: "transparent" },
|
|
18321
18323
|
...subBtnProps,
|
|
18322
|
-
children: iconType2
|
|
18324
|
+
children: renderIcon2 ? renderIcon2() : iconType2 ? /* @__PURE__ */ jsx(Icon, { iconType: iconType2, size: "sm" }) : null
|
|
18323
18325
|
},
|
|
18324
18326
|
`${title2 ?? "button"}_${index2}`
|
|
18325
18327
|
);
|
|
@@ -18345,6 +18347,7 @@ function WorkspaceFloatingToolbar({
|
|
|
18345
18347
|
if (subButtonItem.variant === "radio") {
|
|
18346
18348
|
const {
|
|
18347
18349
|
iconType: iconType2,
|
|
18350
|
+
renderIcon: renderIcon2,
|
|
18348
18351
|
title: title2,
|
|
18349
18352
|
tooltip: tooltip2,
|
|
18350
18353
|
variant: _variant2,
|
|
@@ -18377,7 +18380,7 @@ function WorkspaceFloatingToolbar({
|
|
|
18377
18380
|
}
|
|
18378
18381
|
}
|
|
18379
18382
|
),
|
|
18380
|
-
iconType2
|
|
18383
|
+
renderIcon2 ? /* @__PURE__ */ jsx("label", { htmlFor: id, children: renderIcon2() }) : iconType2 ? /* @__PURE__ */ jsx("label", { htmlFor: id, children: /* @__PURE__ */ jsx(Icon, { iconType: iconType2, size: "sm" }) }) : null
|
|
18381
18384
|
]
|
|
18382
18385
|
},
|
|
18383
18386
|
`${id}_${index2}`
|
|
@@ -18435,6 +18438,7 @@ function WorkspaceFloatingToolbar({
|
|
|
18435
18438
|
if (subButtonItem.variant === "button") {
|
|
18436
18439
|
const {
|
|
18437
18440
|
iconType: iconType2,
|
|
18441
|
+
renderIcon,
|
|
18438
18442
|
title: title2,
|
|
18439
18443
|
variant: _variant2,
|
|
18440
18444
|
subButtonItems: _subButtons,
|
|
@@ -18447,7 +18451,7 @@ function WorkspaceFloatingToolbar({
|
|
|
18447
18451
|
tooltip: title2,
|
|
18448
18452
|
...title2 ? { title: title2 } : { style: "transparent" },
|
|
18449
18453
|
...subBtnProps,
|
|
18450
|
-
children: iconType2
|
|
18454
|
+
children: renderIcon ? renderIcon() : iconType2 ? /* @__PURE__ */ jsx(Icon, { iconType: iconType2, size: "sm" }) : null
|
|
18451
18455
|
},
|
|
18452
18456
|
`${title2 ?? "button"}_${index2}`
|
|
18453
18457
|
);
|
|
@@ -18847,6 +18851,7 @@ const useImageLabelingUIMeta = ({
|
|
|
18847
18851
|
lastSelectedType === "extension" && lastSelectedExtension ? {
|
|
18848
18852
|
variant: "radio",
|
|
18849
18853
|
iconType: lastSelectedExtension.iconType,
|
|
18854
|
+
renderIcon: lastSelectedExtension.renderIcon,
|
|
18850
18855
|
name: "tool",
|
|
18851
18856
|
title: formatShortcutTitle(
|
|
18852
18857
|
lastSelectedExtension.name,
|