@zhangqingcq/vgce 0.1.30 → 0.1.31
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/style.css +1 -1
- package/dist/vgce.js +32 -33
- package/dist/vgce.umd.cjs +3 -3
- package/package.json +1 -1
- package/src/components/svg-editor/connection-panel.vue +1 -0
- package/src/components/svg-editor/handle-panel.vue +0 -1
- package/src/config/vue/component/common-table.ts +16 -16
- package/src/config/vue/echarts/pie-charts.ts +10 -10
- package/src/stores/system/index.ts +0 -2
package/dist/vgce.js
CHANGED
@@ -631,7 +631,7 @@ const t$q = {
|
|
631
631
|
val: [
|
632
632
|
{
|
633
633
|
prop: "date",
|
634
|
-
label: "
|
634
|
+
label: "序号",
|
635
635
|
width: "120px",
|
636
636
|
fixed: !1,
|
637
637
|
sortable: !1,
|
@@ -639,7 +639,7 @@ const t$q = {
|
|
639
639
|
},
|
640
640
|
{
|
641
641
|
prop: "name",
|
642
|
-
label: "
|
642
|
+
label: "名字",
|
643
643
|
width: "120px",
|
644
644
|
fixed: !1,
|
645
645
|
sortable: !1,
|
@@ -647,7 +647,7 @@ const t$q = {
|
|
647
647
|
},
|
648
648
|
{
|
649
649
|
prop: "address",
|
650
|
-
label: "
|
650
|
+
label: "年龄",
|
651
651
|
width: "280px",
|
652
652
|
fixed: !1,
|
653
653
|
sortable: !1,
|
@@ -660,31 +660,31 @@ const t$q = {
|
|
660
660
|
type: EConfigItemPropsType.JsonEdit,
|
661
661
|
val: [
|
662
662
|
{
|
663
|
-
date: "
|
664
|
-
name: "
|
665
|
-
address: "
|
663
|
+
date: "1",
|
664
|
+
name: "Jack",
|
665
|
+
address: "34"
|
666
666
|
},
|
667
667
|
{
|
668
|
-
date: "
|
669
|
-
name: "
|
670
|
-
address: "
|
668
|
+
date: "2",
|
669
|
+
name: "Marry",
|
670
|
+
address: "18"
|
671
671
|
},
|
672
672
|
{
|
673
|
-
date: "
|
674
|
-
name: "
|
675
|
-
address: "
|
673
|
+
date: "3",
|
674
|
+
name: "Lee",
|
675
|
+
address: "23"
|
676
676
|
},
|
677
677
|
{
|
678
|
-
date: "
|
679
|
-
name: "
|
680
|
-
address: "
|
678
|
+
date: "4",
|
679
|
+
name: "Steve",
|
680
|
+
address: "31"
|
681
681
|
}
|
682
682
|
]
|
683
683
|
},
|
684
684
|
width: {
|
685
685
|
title: "宽度",
|
686
686
|
type: EConfigItemPropsType.InputNumber,
|
687
|
-
val:
|
687
|
+
val: 350
|
688
688
|
},
|
689
689
|
height: {
|
690
690
|
title: "高度",
|
@@ -955,24 +955,24 @@ const t$q = {
|
|
955
955
|
type: EConfigItemPropsType.JsonEdit,
|
956
956
|
val: [
|
957
957
|
{
|
958
|
-
value:
|
959
|
-
name: "
|
958
|
+
value: 998,
|
959
|
+
name: "20岁以下"
|
960
960
|
},
|
961
961
|
{
|
962
|
-
value:
|
963
|
-
name: "
|
962
|
+
value: 546,
|
963
|
+
name: "20-40岁"
|
964
964
|
},
|
965
965
|
{
|
966
|
-
value:
|
967
|
-
name: "
|
966
|
+
value: 354,
|
967
|
+
name: "40-60岁"
|
968
968
|
},
|
969
969
|
{
|
970
|
-
value:
|
971
|
-
name: "
|
970
|
+
value: 421,
|
971
|
+
name: "60-70岁"
|
972
972
|
},
|
973
973
|
{
|
974
|
-
value:
|
975
|
-
name: "
|
974
|
+
value: 607,
|
975
|
+
name: "70岁以上"
|
976
976
|
}
|
977
977
|
]
|
978
978
|
}
|
@@ -20324,13 +20324,13 @@ const useEditPrivateStore = defineStore("edit-private-store", {
|
|
20324
20324
|
},
|
20325
20325
|
actions: {
|
20326
20326
|
topUndoBtnClick() {
|
20327
|
-
if (
|
20327
|
+
if (this.history_now_index < 1)
|
20328
20328
|
return;
|
20329
20329
|
const i = useGlobalStore();
|
20330
20330
|
this.is_record_history = !1, this.history_now_index -= 1, i.setDoneJson(this.history_doneComponent[this.history_now_index]);
|
20331
20331
|
},
|
20332
20332
|
topRedoBtnClick() {
|
20333
|
-
if (
|
20333
|
+
if (this.history_now_index + 1 == this.history_doneComponent.length)
|
20334
20334
|
return;
|
20335
20335
|
const i = useGlobalStore();
|
20336
20336
|
this.is_record_history = !1, this.history_now_index += 1, i.setDoneJson(this.history_doneComponent[this.history_now_index]);
|
@@ -20921,7 +20921,7 @@ const _withScopeId$2 = (i) => (pushScopeId("data-v-e813974f"), i = i(), popScope
|
|
20921
20921
|
},
|
20922
20922
|
setup(i) {
|
20923
20923
|
useCssVars((g) => ({
|
20924
|
-
|
20924
|
+
f075dd6c: unref(c)
|
20925
20925
|
}));
|
20926
20926
|
const r = i, n = useGlobalStore(pinia), o = useConfigStore(pinia), a = useSvgEditLayoutStore(pinia), u = ref(4), c = ref("#ab712e"), d = [
|
20927
20927
|
{
|
@@ -20973,7 +20973,6 @@ const _withScopeId$2 = (i) => (pushScopeId("data-v-e813974f"), i = i(), popScope
|
|
20973
20973
|
type: EScaleInfoType.BottomRight
|
20974
20974
|
}
|
20975
20975
|
], f = computed(() => r.itemInfo.config.can_zoom), p = (g, y) => {
|
20976
|
-
console.log("handMousedown", y);
|
20977
20976
|
const { clientX: b, clientY: A } = y;
|
20978
20977
|
y.stopPropagation(), n.intention = EGlobalStoreIntention.Zoom;
|
20979
20978
|
const w = Math.round(
|
@@ -21160,7 +21159,7 @@ const _withScopeId$2 = (i) => (pushScopeId("data-v-e813974f"), i = i(), popScope
|
|
21160
21159
|
])
|
21161
21160
|
]));
|
21162
21161
|
}
|
21163
|
-
}),
|
21162
|
+
}), handlePanel_vue_vue_type_style_index_0_scoped_521db5d2_lang = "", HandlePanel = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["__scopeId", "data-v-521db5d2"]]), _hoisted_1$a = ["fill"], _hoisted_2$8 = ["cx", "cy", "r"], _hoisted_3$7 = ["cx", "cy", "r"], _hoisted_4$6 = ["cx", "cy", "r"], _hoisted_5$4 = ["cx", "cy", "r"], _hoisted_6$3 = ["cx", "cy", "r"], _hoisted_7$3 = ["cx", "cy", "r"], _hoisted_8$3 = ["cx", "cy", "r"], _hoisted_9$2 = ["cx", "cy", "r"], _sfc_main$A = /* @__PURE__ */ defineComponent({
|
21164
21163
|
__name: "connection-panel",
|
21165
21164
|
props: {
|
21166
21165
|
itemInfo: {}
|
@@ -21195,7 +21194,7 @@ const _withScopeId$2 = (i) => (pushScopeId("data-v-e813974f"), i = i(), popScope
|
|
21195
21194
|
})));
|
21196
21195
|
}, S = (T, x) => {
|
21197
21196
|
var L;
|
21198
|
-
c.intention === EGlobalStoreIntention.None ? (createLine(T, x, r.itemInfo), c.handle_svg_info && (c.handle_svg_info.info.props.point_position.val.length !== 1 ? c.handle_svg_info.info.props.point_position.val.push({
|
21197
|
+
T.stopPropagation(), c.intention === EGlobalStoreIntention.None ? (createLine(T, x, r.itemInfo), c.handle_svg_info && (c.handle_svg_info.info.props.point_position.val.length !== 1 ? c.handle_svg_info.info.props.point_position.val.push({
|
21199
21198
|
x: c.mouse_info.new_position_x - c.mouse_info.position_x - d.center_offset.x,
|
21200
21199
|
y: c.mouse_info.new_position_y - c.mouse_info.position_y - d.center_offset.y
|
21201
21200
|
}) : c.handle_svg_info.info.props.point_position.val.push({
|
@@ -21294,7 +21293,7 @@ const _withScopeId$2 = (i) => (pushScopeId("data-v-e813974f"), i = i(), popScope
|
|
21294
21293
|
], 32)
|
21295
21294
|
], 8, _hoisted_1$a));
|
21296
21295
|
}
|
21297
|
-
}),
|
21296
|
+
}), connectionPanel_vue_vue_type_style_index_0_scoped_065d9ea1_lang = "", ConnectionPanel = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__scopeId", "data-v-065d9ea1"]]), _hoisted_1$9 = ["d", "stroke-width"], _hoisted_2$7 = ["d", "stroke-width"], _hoisted_3$6 = ["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$2 = ["from", "to", "dur", "repeatCount"], _hoisted_7$2 = ["r", "fill"], _hoisted_8$2 = ["path", "dur", "repeatCount"], _hoisted_9$1 = ["cx", "cy", "r", "stroke-width"], _hoisted_10$1 = ["cx", "cy", "r", "stroke", "onMousedown"], _sfc_main$z = /* @__PURE__ */ defineComponent({
|
21298
21297
|
__name: "connection-line",
|
21299
21298
|
props: {
|
21300
21299
|
itemInfo: {},
|