@zhangqingcq/vgce 0.1.0 → 0.1.2
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/style.css +1 -1
- package/dist/vgce.js +11 -11
- package/dist/vgce.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/config/index.ts +1 -1
- package/src/components/svg-editor/center-panel.vue +7 -5
- package/src/components/svg-editor/connection-line.vue +2 -2
- package/src/stores/system/index.ts +5 -5
package/dist/vgce.js
CHANGED
@@ -19726,7 +19726,7 @@ const connection_line_system = {
|
|
19726
19726
|
color: {
|
19727
19727
|
title: "颜色",
|
19728
19728
|
type: EConfigItemPropsType.Color,
|
19729
|
-
val: "#
|
19729
|
+
val: "#602a00"
|
19730
19730
|
},
|
19731
19731
|
reverse: {
|
19732
19732
|
title: "反转动画",
|
@@ -20124,7 +20124,7 @@ const useEditPrivateStore = defineStore("edit-private-store", {
|
|
20124
20124
|
info: {
|
20125
20125
|
[EContextMenuInfoType.Copy]: {
|
20126
20126
|
title: "复制",
|
20127
|
-
hot_key: "Ctrl+
|
20127
|
+
hot_key: "Ctrl + c",
|
20128
20128
|
enable: !0
|
20129
20129
|
},
|
20130
20130
|
[EContextMenuInfoType.Delete]: {
|
@@ -20134,22 +20134,22 @@ const useEditPrivateStore = defineStore("edit-private-store", {
|
|
20134
20134
|
},
|
20135
20135
|
[EContextMenuInfoType.MoveUpTopLevel]: {
|
20136
20136
|
title: "置于顶层",
|
20137
|
-
hot_key: "Ctrl
|
20137
|
+
hot_key: "Ctrl + →",
|
20138
20138
|
enable: !0
|
20139
20139
|
},
|
20140
20140
|
[EContextMenuInfoType.MoveDownTopLevel]: {
|
20141
20141
|
title: "置于底层",
|
20142
|
-
hot_key: "Ctrl
|
20142
|
+
hot_key: "Ctrl + ←",
|
20143
20143
|
enable: !0
|
20144
20144
|
},
|
20145
20145
|
[EContextMenuInfoType.MoveUpOneLevel]: {
|
20146
20146
|
title: "置于上一层",
|
20147
|
-
hot_key: "Ctrl
|
20147
|
+
hot_key: "Ctrl + ↑",
|
20148
20148
|
enable: !0
|
20149
20149
|
},
|
20150
20150
|
[EContextMenuInfoType.MoveDownOneLevel]: {
|
20151
20151
|
title: "置于下一层",
|
20152
|
-
hot_key: "Ctrl
|
20152
|
+
hot_key: "Ctrl + ↓",
|
20153
20153
|
enable: !0
|
20154
20154
|
}
|
20155
20155
|
}
|
@@ -21074,7 +21074,7 @@ const _withScopeId$2 = (r) => (pushScopeId("data-v-62907637"), r = r(), popScope
|
|
21074
21074
|
], 32)
|
21075
21075
|
], 8, _hoisted_1$e));
|
21076
21076
|
}
|
21077
|
-
}), connectionPanel_vue_vue_type_style_index_0_scoped_fb729c7a_lang = "", ConnectionPanel = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-fb729c7a"]]), _hoisted_1$d = ["d", "stroke-width"], _hoisted_2$a = ["d", "stroke-width"], _hoisted_3$9 = ["id", "d", "stroke", "stroke-width", "stroke-dasharray"], _hoisted_4$5 = ["from", "to", "dur", "repeatCount"], _hoisted_5$3 = ["d", "stroke", "stroke-width", "stroke-dasharray"], _hoisted_6$1 = ["from", "to", "dur", "repeatCount"], _hoisted_7$1 = ["r", "fill"], _hoisted_8$1 = ["path", "dur", "repeatCount"], _hoisted_9$1 = ["cx", "cy", "r"], _hoisted_10$1 = ["cx", "cy", "r", "stroke", "onMousedown"], _sfc_main$y = /* @__PURE__ */ defineComponent({
|
21077
|
+
}), connectionPanel_vue_vue_type_style_index_0_scoped_fb729c7a_lang = "", ConnectionPanel = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-fb729c7a"]]), _hoisted_1$d = ["d", "stroke-width"], _hoisted_2$a = ["d", "stroke-width"], _hoisted_3$9 = ["id", "d", "stroke", "stroke-width", "stroke-dasharray"], _hoisted_4$5 = ["from", "to", "dur", "repeatCount"], _hoisted_5$3 = ["d", "stroke", "stroke-width", "stroke-dasharray"], _hoisted_6$1 = ["from", "to", "dur", "repeatCount"], _hoisted_7$1 = ["r", "fill"], _hoisted_8$1 = ["path", "dur", "repeatCount"], _hoisted_9$1 = ["cx", "cy", "r", "stroke-width"], _hoisted_10$1 = ["cx", "cy", "r", "stroke", "onMousedown"], _sfc_main$y = /* @__PURE__ */ defineComponent({
|
21078
21078
|
__name: "connection-line",
|
21079
21079
|
props: {
|
21080
21080
|
itemInfo: {},
|
@@ -21112,7 +21112,7 @@ const _withScopeId$2 = (r) => (pushScopeId("data-v-62907637"), r = r(), popScope
|
|
21112
21112
|
fill: "none",
|
21113
21113
|
"fill-opacity": "0",
|
21114
21114
|
stroke: "#DE4517",
|
21115
|
-
"stroke-width": n.itemInfo.props["stroke-width"].val + 1,
|
21115
|
+
"stroke-width": Math.ceil(n.itemInfo.props["stroke-width"].val * 1.2) + 1,
|
21116
21116
|
"stroke-linecap": "round",
|
21117
21117
|
"stroke-linejoin": "round"
|
21118
21118
|
}, null, 8, _hoisted_1$d), [
|
@@ -21192,7 +21192,7 @@ const _withScopeId$2 = (r) => (pushScopeId("data-v-62907637"), r = r(), popScope
|
|
21192
21192
|
r: n.itemInfo.props.point_r.val + 1,
|
21193
21193
|
fill: "none",
|
21194
21194
|
"fill-opacity": "0",
|
21195
|
-
"stroke-width":
|
21195
|
+
"stroke-width": Math.ceil(n.itemInfo.props.point_r.val * 0.2) + 1,
|
21196
21196
|
stroke: "#DE4517"
|
21197
21197
|
}, null, 8, _hoisted_9$1)), [
|
21198
21198
|
[vShow, n.itemInfo.selected || n.itemInfo.id === ((T = unref(i).handle_svg_info) == null ? void 0 : T.info.id)]
|
@@ -21229,7 +21229,7 @@ const _withScopeId$2 = (r) => (pushScopeId("data-v-62907637"), r = r(), popScope
|
|
21229
21229
|
__name: "center-panel",
|
21230
21230
|
setup(r, { expose: n }) {
|
21231
21231
|
useCssVars((he) => ({
|
21232
|
-
"
|
21232
|
+
"49c79b5f": unref(p)
|
21233
21233
|
}));
|
21234
21234
|
const i = useGlobalStore(pinia), o = useConfigStore(pinia), a = useSvgEditLayoutStore(pinia), u = useEditPrivateStore(pinia), c = useContextMenuStore(pinia);
|
21235
21235
|
componentsRegister();
|
@@ -21883,7 +21883,7 @@ const _withScopeId$2 = (r) => (pushScopeId("data-v-62907637"), r = r(), popScope
|
|
21883
21883
|
])
|
21884
21884
|
], 64));
|
21885
21885
|
}
|
21886
|
-
}),
|
21886
|
+
}), centerPanel_vue_vue_type_style_index_0_scoped_97a3211c_lang = "", CenterPanel = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["__scopeId", "data-v-97a3211c"]]);
|
21887
21887
|
/*! Element Plus Icons Vue v2.1.0 */
|
21888
21888
|
var export_helper_default = (r, n) => {
|
21889
21889
|
let i = r.__vccOpts || r;
|