Files
tekelanew_acs/acs/nladmin-ui/node_modules/.cache/babel-loader/7b640aa2f246815964d2952c13f0b02a.json
2024-12-05 09:33:18 +08:00

1 line
6.4 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"remainingRequest":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\babel-loader\\lib\\index.js!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\system\\logicflow\\editor\\components\\DiagramToolbar.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\system\\logicflow\\editor\\components\\DiagramToolbar.vue","mtime":1732871026747},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\babel.config.js","mtime":1732871025888},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\babel-loader\\lib\\index.js","mtime":1732872825017},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js","mtime":1732872825835}],"contextDependencies":[],"result":["\"use strict\";\n\nvar _interopRequireDefault = require(\"D:/data/hanguodoushan/acs2/nladmin-ui/node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nrequire(\"core-js/modules/web.dom.iterable\");\nvar _ZoomIn = _interopRequireDefault(require(\"./icon/ZoomIn.vue\"));\nvar _ZoomOut = _interopRequireDefault(require(\"./icon/ZoomOut.vue\"));\nvar _StepBack = _interopRequireDefault(require(\"./icon/StepBack.vue\"));\nvar _StepFoward = _interopRequireDefault(require(\"./icon/StepFoward.vue\"));\nvar _AreaSelect = _interopRequireDefault(require(\"./icon/AreaSelect.vue\"));\nvar _stage = _interopRequireDefault(require(\"@/api/logicflow/stage\"));\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar _default = exports.default = {\n components: {\n ZoomIn: _ZoomIn.default,\n ZoomOut: _ZoomOut.default,\n StepBack: _StepBack.default,\n StepFoward: _StepFoward.default,\n AreaSelect: _AreaSelect.default\n // SketchPicker: Sketch\n },\n props: {\n lf: Object,\n activeEdges: Array,\n fillColor: {\n type: String,\n default: ''\n }\n },\n data: function data() {\n return {\n selectionOpened: true,\n undoAble: false,\n redoAble: false,\n colors: '#345678',\n linetype: 'pro-polyline',\n lineOptions: [{\n value: 'pro-polyline',\n label: '折线'\n }, {\n value: 'pro-line',\n label: '直线'\n }, {\n value: 'pro-bezier',\n label: '曲线'\n }],\n stage_code: '',\n stageSelectList: []\n };\n },\n created: function created() {\n if (this.selectionOpened) {\n this.lf.extension.selectionSelect.openSelectionSelect();\n }\n },\n mounted: function mounted() {\n var _this = this;\n this.initStageList();\n this.$props.lf.on('history:change', function (_ref) {\n var _ref$data = _ref.data,\n undoAble = _ref$data.undoAble,\n redoAble = _ref$data.redoAble;\n _this.$data.redoAble = redoAble;\n _this.$data.undoAble = undoAble;\n });\n },\n methods: {\n initStageList: function initStageList() {\n var _this2 = this;\n // 初始化舞台下拉框\n _stage.default.selectStageList().then(function (data) {\n _this2.stageSelectList = data;\n });\n },\n $_changeFillColor: function $_changeFillColor(val) {\n this.$emit('changeNodeFillColor', val.hex);\n },\n $_cleanGraph: function $_cleanGraph() {\n this.$emit('cleanGraph');\n },\n $_saveGraph: function $_saveGraph() {\n // 保存转成js\n this.$emit('saveGraph');\n },\n $_zoomIn: function $_zoomIn() {\n this.$props.lf.zoom(true);\n },\n $_zoomOut: function $_zoomOut() {\n this.$props.lf.zoom(false);\n },\n $_undo: function $_undo() {\n if (this.$data.undoAble) {\n this.$props.lf.undo();\n }\n },\n $_redo: function $_redo() {\n if (this.$data.redoAble) {\n this.$props.lf.redo();\n }\n },\n $_selectionSelect: function $_selectionSelect() {\n this.selectionOpened = !this.selectionOpened;\n if (this.selectionOpened) {\n this.lf.extension.selectionSelect.openSelectionSelect();\n } else {\n this.lf.extension.selectionSelect.closeSelectionSelect();\n }\n },\n $_changeLineType: function $_changeLineType(value) {\n var _this$$props = this.$props,\n lf = _this$$props.lf,\n activeEdges = _this$$props.activeEdges;\n var graphModel = lf.graphModel;\n lf.setDefaultEdgeType(value);\n if (activeEdges && activeEdges.length > 0) {\n activeEdges.forEach(function (edge) {\n graphModel.changeEdgeType(edge.id, value);\n });\n }\n },\n $_lock: function $_lock() {\n this.$emit('lock');\n },\n $_unlock: function $_unlock() {\n this.$emit('unlock');\n },\n $_changeStage: function $_changeStage(val) {\n // 选择舞台\n this.$emit('changeStage', val);\n },\n $_verticalAlign: function $_verticalAlign() {\n // 垂直对齐\n this.$emit('verticalAlign');\n },\n $_horizontalAlign: function $_horizontalAlign() {\n // 水平对齐\n this.$emit('horizontalAlign');\n },\n $_leftAlign: function $_leftAlign() {\n // 左对齐\n this.$emit('leftAlign');\n },\n $_rightAlign: function $_rightAlign() {\n // 右对齐\n this.$emit('rightAlign');\n },\n $_upAlign: function $_upAlign() {\n this.$emit('upAlign');\n },\n $_downAlign: function $_downAlign() {\n this.$emit('downAlign');\n },\n $_horizontalDistribution: function $_horizontalDistribution() {\n this.$emit('horizontalDistribution');\n },\n $_verticalDistribution: function $_verticalDistribution() {\n this.$emit('verticalDistribution');\n }\n }\n};",null]}