@servantcdh/ez-planet-labeling 0.5.20 → 0.5.21
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 +51 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3587,7 +3587,7 @@ const LIB_AUTHOR = "최동호";
|
|
|
3587
3587
|
const LIB_CONTACT = "servantcdh@naver.com";
|
|
3588
3588
|
const __EZ_PLANET_META__ = Object.freeze({
|
|
3589
3589
|
name: LIB_NAME,
|
|
3590
|
-
version: "0.5.
|
|
3590
|
+
version: "0.5.21",
|
|
3591
3591
|
author: LIB_AUTHOR,
|
|
3592
3592
|
contact: LIB_CONTACT,
|
|
3593
3593
|
license: "Proprietary — See LICENSE"
|
|
@@ -18258,6 +18258,56 @@ function WorkspaceFloatingToolbar({
|
|
|
18258
18258
|
`${name}_${index2}`
|
|
18259
18259
|
);
|
|
18260
18260
|
}
|
|
18261
|
+
if (subButtonItem.variant === "radio") {
|
|
18262
|
+
const {
|
|
18263
|
+
iconType: iconType2,
|
|
18264
|
+
title: title2,
|
|
18265
|
+
tooltip: tooltip2,
|
|
18266
|
+
variant: _variant2,
|
|
18267
|
+
id,
|
|
18268
|
+
...radioProps
|
|
18269
|
+
} = subButtonItem;
|
|
18270
|
+
return /* @__PURE__ */ jsxs(
|
|
18271
|
+
"div",
|
|
18272
|
+
{
|
|
18273
|
+
className: `button button-icon button-md ${radioProps.disabled ? "disabled" : ""}`,
|
|
18274
|
+
"data-style": "transparent",
|
|
18275
|
+
title: tooltip2 ?? title2,
|
|
18276
|
+
onMouseDown: (e) => {
|
|
18277
|
+
var _a;
|
|
18278
|
+
(_a = subButtonItem == null ? void 0 : subButtonItem.onClick) == null ? void 0 : _a.call(
|
|
18279
|
+
subButtonItem,
|
|
18280
|
+
e
|
|
18281
|
+
);
|
|
18282
|
+
},
|
|
18283
|
+
children: [
|
|
18284
|
+
/* @__PURE__ */ jsx(
|
|
18285
|
+
"input",
|
|
18286
|
+
{
|
|
18287
|
+
type: "radio",
|
|
18288
|
+
id,
|
|
18289
|
+
name: radioProps.name,
|
|
18290
|
+
checked: radioProps.checked,
|
|
18291
|
+
disabled: radioProps.disabled,
|
|
18292
|
+
onChange: () => {
|
|
18293
|
+
}
|
|
18294
|
+
}
|
|
18295
|
+
),
|
|
18296
|
+
iconType2 && /* @__PURE__ */ jsx("label", { htmlFor: id, children: /* @__PURE__ */ jsx(Icon, { iconType: iconType2, size: "sm" }) })
|
|
18297
|
+
]
|
|
18298
|
+
},
|
|
18299
|
+
`${id}_${index2}`
|
|
18300
|
+
);
|
|
18301
|
+
}
|
|
18302
|
+
if (subButtonItem.variant === "toolbarDivider") {
|
|
18303
|
+
return /* @__PURE__ */ jsx(
|
|
18304
|
+
"div",
|
|
18305
|
+
{
|
|
18306
|
+
className: "toolbar-divider"
|
|
18307
|
+
},
|
|
18308
|
+
`toolbarDivider-${index2}`
|
|
18309
|
+
);
|
|
18310
|
+
}
|
|
18261
18311
|
return null;
|
|
18262
18312
|
}) })
|
|
18263
18313
|
] }, key) : renderButton(key);
|