star-horse-lowcode 2.8.13 → 2.8.14
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/README.md +12 -2
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +30 -5
- package/dist/types/index.d.ts +125 -85
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -75431,6 +75431,15 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
75431
75431
|
isActive: {
|
|
75432
75432
|
type: Boolean,
|
|
75433
75433
|
default: false
|
|
75434
|
+
},
|
|
75435
|
+
styles: {
|
|
75436
|
+
type: Object,
|
|
75437
|
+
default: () => {
|
|
75438
|
+
}
|
|
75439
|
+
},
|
|
75440
|
+
isDesign: {
|
|
75441
|
+
type: Boolean,
|
|
75442
|
+
default: false
|
|
75434
75443
|
}
|
|
75435
75444
|
},
|
|
75436
75445
|
emits: ["selectNode"],
|
|
@@ -75594,7 +75603,8 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
75594
75603
|
return (_ctx, _cache) => {
|
|
75595
75604
|
const _component_ContentMenu = __unplugin_components_5;
|
|
75596
75605
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
75597
|
-
|
|
75606
|
+
__props.isDesign ? (openBlock(), createElementBlock("div", {
|
|
75607
|
+
key: 0,
|
|
75598
75608
|
class: normalizeClass(["node", { active: __props.isActive }]),
|
|
75599
75609
|
style: normalizeStyle({
|
|
75600
75610
|
width: __props.node.width + "px !important",
|
|
@@ -75602,7 +75612,8 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
75602
75612
|
left: __props.node.left + "px!important",
|
|
75603
75613
|
top: __props.node.top + "px!important",
|
|
75604
75614
|
cursor: __props.isActive ? "move" : "default",
|
|
75605
|
-
zIndex: __props.node.zIndex
|
|
75615
|
+
zIndex: __props.node.zIndex,
|
|
75616
|
+
...__props.styles
|
|
75606
75617
|
}),
|
|
75607
75618
|
onContextmenu: contextmenu,
|
|
75608
75619
|
onMousedown: dragStart,
|
|
@@ -75621,10 +75632,24 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
75621
75632
|
}, null, 42, _hoisted_4$i);
|
|
75622
75633
|
}), 128)) : createCommentVNode("", true),
|
|
75623
75634
|
createElementVNode("div", _hoisted_5$f, [
|
|
75624
|
-
|
|
75635
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
75625
75636
|
])
|
|
75626
75637
|
])
|
|
75627
|
-
], 38),
|
|
75638
|
+
], 38)) : (openBlock(), createElementBlock("div", {
|
|
75639
|
+
key: 1,
|
|
75640
|
+
class: normalizeClass(["node", { active: __props.isActive }]),
|
|
75641
|
+
style: normalizeStyle({
|
|
75642
|
+
width: __props.node.width + "px !important",
|
|
75643
|
+
height: __props.node.height + "px !important",
|
|
75644
|
+
left: __props.node.left + "px!important",
|
|
75645
|
+
top: __props.node.top + "px!important",
|
|
75646
|
+
cursor: __props.isActive ? "move" : "default",
|
|
75647
|
+
zIndex: __props.node.zIndex,
|
|
75648
|
+
...__props.styles
|
|
75649
|
+
})
|
|
75650
|
+
}, [
|
|
75651
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
75652
|
+
], 6)),
|
|
75628
75653
|
(openBlock(), createBlock(Teleport$1, { to: "body" }, [
|
|
75629
75654
|
createVNode(_component_ContentMenu, {
|
|
75630
75655
|
ref_key: "contentMenuRef",
|
|
@@ -75639,7 +75664,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
75639
75664
|
|
|
75640
75665
|
/* unplugin-vue-components disabled */
|
|
75641
75666
|
|
|
75642
|
-
const StarHorseDraggable = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-
|
|
75667
|
+
const StarHorseDraggable = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-26425926"]]);
|
|
75643
75668
|
|
|
75644
75669
|
const StarHorseDraggable$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
75645
75670
|
__proto__: null,
|