{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\form\\customView\\SubImportMergeDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\form\\customView\\SubImportMergeDialog.vue","mtime":1675071992131},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { codemirror } from \"vue-codemirror\";\n\nvar Base64 = require(\"js-base64\").Base64;\n\nexport default {\n  name: \"sub-import-merge-dialog\",\n  components: {\n    codemirror: codemirror\n  },\n  props: [\"expression\"],\n  data: function data() {\n    return {\n      funcExp: null,\n      dialogVisible: false,\n      cmOptions: {\n        showCursorWhenSelecting: true,\n        value: \"\",\n        mode: \"javascript\",\n        readOnly: false,\n        smartIndent: true,\n        tabSize: 2,\n        theme: \"base16-light\",\n        lineNumbers: true,\n        line: true,\n        autofocus: true,\n        inputStyle: \"textarea\"\n      }\n    };\n  },\n  watch: {\n    dialogVisible: {\n      handler: function handler(newVal) {\n        if (newVal) {\n          if (this.expression) {\n            try {\n              this.funcExp = Base64.decode(this.expression);\n            } catch (err) {}\n          }\n        } else {\n          this.funcExp = null;\n        }\n      },\n      immediate: true\n    }\n  },\n  methods: {\n    // 打开对话框\n    open: function open() {\n      this.dialogVisible = true;\n    },\n    // 点击确定按钮\n    sure: function sure() {\n      var expInBase64 = Base64.encode(this.funcExp);\n      this.$emit(\"updateExpression\", expInBase64);\n      this.dialogVisible = false;\n    }\n  }\n};",null]}