@mx-sose-front/mx-sose-graph 1.1.0 → 1.1.1
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.esm.js +5 -9
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/view/graph.vue +0 -2
package/dist/index.esm.js
CHANGED
|
@@ -74042,7 +74042,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
74042
74042
|
emits: ["shapes-property", "shapes-edit-name", "connect-end", "action-button-click", "diagramDoubleClick", "model-type-property-id-button-click", "action-button-add", "scale-changed"],
|
|
74043
74043
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
74044
74044
|
useCssVars((_ctx) => ({
|
|
74045
|
-
"
|
|
74045
|
+
"69d8909a": currentScale.value
|
|
74046
74046
|
}));
|
|
74047
74047
|
registerShapes({
|
|
74048
74048
|
StrategicTaxonomyDiagram,
|
|
@@ -74062,8 +74062,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
74062
74062
|
const props2 = __props;
|
|
74063
74063
|
const emit = __emit;
|
|
74064
74064
|
const graphStore = useGraphStore();
|
|
74065
|
-
const diagramContentRef = ref(null);
|
|
74066
|
-
const shapeComponents = ref([]);
|
|
74067
74065
|
const resShape = ref({});
|
|
74068
74066
|
const currentScale = computed(() => graphStore.getScale());
|
|
74069
74067
|
const zoomValue = ref(currentScale.value);
|
|
@@ -74294,8 +74292,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
74294
74292
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
74295
74293
|
createElementVNode("div", {
|
|
74296
74294
|
class: "diagram-content",
|
|
74297
|
-
|
|
74298
|
-
ref: diagramContentRef,
|
|
74295
|
+
ref: "diagramContentRef",
|
|
74299
74296
|
onWheel: handleWheel
|
|
74300
74297
|
}, [
|
|
74301
74298
|
shapes.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
@@ -74310,8 +74307,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
74310
74307
|
onEdgeClick: handleEdgeClick,
|
|
74311
74308
|
"is-selected": ((_a3 = unref(graphStore).selectedShape) == null ? void 0 : _a3.id) === shape.id && shape.shapeType === "edge",
|
|
74312
74309
|
ref_for: true,
|
|
74313
|
-
|
|
74314
|
-
ref: shapeComponents,
|
|
74310
|
+
ref: "shapeComponents",
|
|
74315
74311
|
class: "shape-element",
|
|
74316
74312
|
"data-shape-id": shape.id,
|
|
74317
74313
|
onCompartmentMetrics: (m2, shape2) => onCompartmentMetrics(m2, shape2)
|
|
@@ -74374,8 +74370,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
74374
74370
|
};
|
|
74375
74371
|
}
|
|
74376
74372
|
});
|
|
74377
|
-
const
|
|
74378
|
-
const GraphView = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-
|
|
74373
|
+
const graph_vue_vue_type_style_index_0_scoped_6c90b4da_lang = "";
|
|
74374
|
+
const GraphView = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-6c90b4da"]]);
|
|
74379
74375
|
const MxSoseGraphPlugin = {
|
|
74380
74376
|
install(app, options) {
|
|
74381
74377
|
const externalPinia = (options == null ? void 0 : options.pinia) || // 优先使用显式传入的
|