{"version":3,"sources":["webpack:///./src/apps/open/views/devCenter/myApp/DocEditCallback.vue?f2e4","webpack:///./src/apps/open/views/devCenter/myApp/DocEditCallback.vue","webpack:///./src/apps/open/views/devCenter/myApp/DocEditCallback.vue?066b","webpack:///./src/apps/open/views/devCenter/myApp/DocEditCallback.vue?c60a","webpack:///./node_modules/core-js/modules/es6.regexp.constructor.js","webpack:///./src/apps/open/views/devCenter/myApp/DocEditCallback.vue?01ff","webpack:///./src/apps/open/layout/ContentLayout.vue?d1e8","webpack:///./src/apps/open/layout/ContentLayout.vue","webpack:///./src/apps/open/layout/ContentLayout.vue?1dc7","webpack:///./src/apps/open/layout/ContentLayout.vue?b521","webpack:///./src/apps/open/layout/ContentLayout.vue?195b"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","directives","name","rawName","value","expression","ref","form","rules","nativeOn","$event","preventDefault","_v","model","callback","$$v","$set","saveCallbackConfig","staticRenderFns","callback_url","file_info","user_info","file_save","file_version","file_history","file_rename","file_online","onnotify","loading","isEdit","getCallbackInfo","$refs","validate","valid","params","appId","res","data","result","$message","success","info","object","$store","getters","urlReg","RegExp","urlRule","isPrivate","pattern","message","trigger","type","required","min","max","$route","id","components","ContentLayout","Button","component","global","inheritIfRequired","dP","f","gOPN","isRegExp","$flags","$RegExp","Base","proto","prototype","re1","re2","CORRECT_NEW","p","tiRE","piRE","fiU","undefined","constructor","source","call","proxy","key","configurable","get","set","it","keys","i","length","_s","title","_t"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,gBAAgB,CAACE,MAAM,CAAC,MAAQ,SAAS,CAACF,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,UAAU,CAACI,WAAW,CAAC,CAACC,KAAK,UAAUC,QAAQ,YAAYC,MAAOX,EAAW,QAAEY,WAAW,YAAYC,IAAI,OAAOP,M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AC/BG,IAAK,SAAUC,GAAMnB,EAAKe,GAAOI,MAG5BC,EAAOxB,EAAKI,GAAOqB,EAAI,EAAGD,EAAKE,OAASD,GAAIP,EAAMM,EAAKC,MAChEpB,EAAMU,YAAcZ,EACpBA,EAAQG,UAAYD,EACpB,EAAQ,OAAR,CAAuBT,EAAQ,SAAUO,GAG3C,EAAQ,OAAR,CAA0B,W,oCC1C1B,yBAAumB,EAAG,G,oCCA1mB,IAAI7E,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACG,YAAY,gBAAgB,CAACH,EAAG,MAAM,CAACG,YAAY,uBAAuB,CAACH,EAAG,OAAO,CAACG,YAAY,sBAAsB,CAACP,EAAImB,GAAGnB,EAAIoG,GAAGpG,EAAIqG,UAAUrG,EAAIsG,GAAG,gBAAgB,GAAGlG,EAAG,MAAM,CAACG,YAAY,qBAAqB,CAACP,EAAIsG,GAAG,YAAY,MACpV7E,EAAkB,G,wECeD,EAArB,kJAA2C,QAEzC,QADC,kB,4BADkB,EAAa,QADjC,QACoB,WChBuZ,I,wBCQxa2C,EAAY,eACd,EACArE,EACA0B,GACA,EACA,KACA,WACA,MAIa,OAAA2C,E,6CCnBf,yBAAmlB,EAAG,G","file":"js/chunk-7e475ca4.ba6833e6.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ContentLayout',{attrs:{\"title\":\"编辑回调\"}},[_c('div',{staticClass:\"root\"},[_c('el-form',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],ref:\"form\",attrs:{\"model\":_vm.form,\"rules\":_vm.rules},nativeOn:{\"submit\":function($event){$event.preventDefault();}}},[_c('h3',[_vm._v(\"域名配置\\n \")]),_c('el-form-item',{attrs:{\"label\":\"回调域名\",\"prop\":\"callback_url\"}},[_c('el-input',{staticClass:\"input-item\",attrs:{\"type\":\"text\",\"placeholder\":\"请输入http或https开头的回调地址\"},model:{value:(_vm.form.callback_url),callback:function ($$v) {_vm.$set(_vm.form, \"callback_url\", $$v)},expression:\"form.callback_url\"}})],1),_c('div',{staticClass:\"split-line\"}),_c('h3',[_vm._v(\"接口配置\")]),_c('el-form-item',{attrs:{\"label\":\"获取文件元数据\",\"prop\":\"file_info\"}},[_c('el-input',{staticClass:\"input-item\",attrs:{\"type\":\"text\",\"placeholder\":\"默认为:/v1/3rd/file/info\"},model:{value:(_vm.form.file_info),callback:function ($$v) {_vm.$set(_vm.form, \"file_info\", $$v)},expression:\"form.file_info\"}})],1),_c('el-form-item',{attrs:{\"label\":\"获取用户信息\",\"prop\":\"user_info\"}},[_c('el-input',{staticClass:\"input-item\",attrs:{\"type\":\"text\",\"placeholder\":\"默认为:/v1/3rd/user/info\"},model:{value:(_vm.form.user_info),callback:function ($$v) {_vm.$set(_vm.form, \"user_info\", $$v)},expression:\"form.user_info\"}})],1),_c('el-form-item',{attrs:{\"label\":\"上传文件新版本\",\"prop\":\"file_save\"}},[_c('el-input',{staticClass:\"input-item\",attrs:{\"type\":\"text\",\"placeholder\":\"默认为:/v1/3rd/file/save\"},model:{value:(_vm.form.file_save),callback:function ($$v) {_vm.$set(_vm.form, \"file_save\", $$v)},expression:\"form.file_save\"}})],1),_c('el-form-item',{attrs:{\"label\":\"获取指定版本信息\",\"prop\":\"file_version\"}},[_c('el-input',{staticClass:\"input-item\",attrs:{\"type\":\"text\",\"placeholder\":\"默认为:/v1/3rd/file/version/:version\"},model:{value:(_vm.form.file_version),callback:function ($$v) {_vm.$set(_vm.form, \"file_version\", $$v)},expression:\"form.file_version\"}})],1),_c('el-form-item',{attrs:{\"label\":\"获取所有版本信息\",\"prop\":\"file_history\"}},[_c('el-input',{staticClass:\"input-item\",attrs:{\"type\":\"text\",\"placeholder\":\"默认为:/v1/3rd/file/history\"},model:{value:(_vm.form.file_history),callback:function ($$v) {_vm.$set(_vm.form, \"file_history\", $$v)},expression:\"form.file_history\"}})],1),_c('el-form-item',{attrs:{\"label\":\"文件重命名\",\"prop\":\"file_rename\"}},[_c('el-input',{staticClass:\"input-item\",attrs:{\"type\":\"text\",\"placeholder\":\"默认为:/v1/3rd/file/rename\"},model:{value:(_vm.form.file_rename),callback:function ($$v) {_vm.$set(_vm.form, \"file_rename\", $$v)},expression:\"form.file_rename\"}})],1),_c('el-form-item',{attrs:{\"label\":\"获取文件状态\",\"prop\":\"file_online\"}},[_c('el-input',{staticClass:\"input-item\",attrs:{\"type\":\"text\",\"placeholder\":\"默认为:/v1/3rd/file/online\"},model:{value:(_vm.form.file_online),callback:function ($$v) {_vm.$set(_vm.form, \"file_online\", $$v)},expression:\"form.file_online\"}})],1),_c('el-form-item',{attrs:{\"label\":\"回调通知\",\"prop\":\"onnotify\"}},[_c('el-input',{staticClass:\"input-item\",attrs:{\"type\":\"text\",\"placeholder\":\"默认为:/v1/3rd/onnotify\"},model:{value:(_vm.form.onnotify),callback:function ($$v) {_vm.$set(_vm.form, \"onnotify\", $$v)},expression:\"form.onnotify\"}})],1)],1)],1),_c('Button',{staticClass:\"submit-btn\",attrs:{\"type\":\"primary\"},nativeOn:{\"click\":function($event){return _vm.saveCallbackConfig($event)}}},[_vm._v(\"保存\")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\r\nimport { Component, Vue, Mixins } from 'vue-property-decorator'\r\nimport ContentLayout from '@/apps/open/layout/ContentLayout.vue'\r\nimport { priUrlReg } from '@/apps/open/constants'\r\nimport Button from '@components/Button'\r\nimport { ElForm } from 'element-ui/types/form'\r\nimport { getDocEditCbConfig, setDocEditCbConfig } from '@/apps/open/services/app'\r\n\r\n@Component({\r\n components: {\r\n ContentLayout,\r\n Button\r\n }\r\n})\r\nexport default class Callback extends Vue {\r\n form = {\r\n callback_url: '',\r\n file_info: '',\r\n user_info: '',\r\n file_save: '',\r\n file_version: '',\r\n file_history: '',\r\n file_rename: '',\r\n file_online: '',\r\n // file_new: '',\r\n onnotify: ''\r\n }\r\n\r\n loading: boolean = false\r\n\r\n $refs!: {\r\n form: ElForm\r\n }\r\n\r\n get isPrivate () {\r\n return this.$store.getters['isPrivate']\r\n }\r\n\r\n get rules () {\r\n const urlReg = new RegExp(priUrlReg, 'i')\r\n const urlRule = this.isPrivate ? { pattern: urlReg, message: '请输入正确的回调域名', trigger: ['blur', 'change'] } : { type: 'url', message: '请输入正确的回调域名', trigger: ['blur', 'change'] }\r\n return {\r\n callback_url: [\r\n { required: true, message: '请填写回调域名', trigger: ['blur', 'change'] },\r\n { min: 1, max: 255, message: '长度不超过255个字符', trigger: ['blur', 'change'] },\r\n urlRule\r\n ],\r\n file_info: [\r\n { required: true, message: '请填写获取文件元数据接口配置', trigger: ['blur', 'change'] },\r\n { min: 1, max: 255, message: '长度不超过255个字符', trigger: ['blur', 'change'] }\r\n ],\r\n user_info: [\r\n { required: true, message: '请填写获取用户信息接口配置', trigger: ['blur', 'change'] },\r\n { min: 1, max: 255, message: '长度不超过255个字符', trigger: ['blur', 'change'] }\r\n ],\r\n file_save: [\r\n { required: true, message: '请填写上传文件新版本接口配置', trigger: ['blur', 'change'] },\r\n { min: 1, max: 255, message: '长度不超过255个字符', trigger: ['blur', 'change'] }\r\n ],\r\n file_version: [\r\n { required: true, message: '请填写获取指定版本信息接口配置', trigger: ['blur', 'change'] },\r\n { min: 1, max: 255, message: '长度不超过255个字符', trigger: ['blur', 'change'] }\r\n ],\r\n file_history: [\r\n { required: true, message: '请填写获取所有版本信息接口配置', trigger: ['blur', 'change'] },\r\n { min: 1, max: 255, message: '长度不超过255个字符', trigger: ['blur', 'change'] }\r\n ],\r\n file_rename: [\r\n { required: true, message: '请填写文件重命名接口配置', trigger: ['blur', 'change'] },\r\n { min: 1, max: 255, message: '长度不超过255个字符', trigger: ['blur', 'change'] }\r\n ],\r\n file_online: [\r\n { required: true, message: '请填写获取文件状态接口配置', trigger: ['blur', 'change'] },\r\n { min: 1, max: 255, message: '长度不超过255个字符', trigger: ['blur', 'change'] }\r\n ],\r\n /* file_new: [\r\n { required: true, message: '请填写新建文件接口配置', trigger: ['blur', 'change'] },\r\n { min: 1, max: 255, message: '长度不超过255个字符', trigger: ['blur', 'change'] }\r\n ], */\r\n onnotify: [\r\n { required: true, message: '请填写回调通知接口配置', trigger: ['blur', 'change'] },\r\n { min: 1, max: 255, message: '长度不超过255个字符', trigger: ['blur', 'change'] }\r\n ]\r\n }\r\n }\r\n\r\n isEdit: boolean = false\r\n\r\n get appId () {\r\n return this.$route.params.id\r\n }\r\n\r\n mounted () {\r\n this.getCallbackInfo()\r\n }\r\n\r\n saveCallbackConfig () {\r\n this.$refs.form.validate(async (valid: boolean) => {\r\n if (valid) {\r\n const params = this.form\r\n const res = await setDocEditCbConfig(this.appId, params)\r\n if (res.data.result === 'ok') {\r\n this.$message.success('更新成功')\r\n }\r\n }\r\n })\r\n }\r\n\r\n async getCallbackInfo () {\r\n const res = await getDocEditCbConfig(this.appId)\r\n if (res.data.result === 'ok') {\r\n const info = res.data.object\r\n this.form = info\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocEditCallback.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocEditCallback.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DocEditCallback.vue?vue&type=template&id=1c9767fa&\"\nimport script from \"./DocEditCallback.vue?vue&type=script&lang=ts&\"\nexport * from \"./DocEditCallback.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DocEditCallback.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var global = require('./_global');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar dP = require('./_object-dp').f;\nvar gOPN = require('./_object-gopn').f;\nvar isRegExp = require('./_is-regexp');\nvar $flags = require('./_flags');\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {\n re2[require('./_wks')('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n $RegExp = function RegExp(p, f) {\n var tiRE = this instanceof $RegExp;\n var piRE = isRegExp(p);\n var fiU = f === undefined;\n return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n : inheritIfRequired(CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n , tiRE ? this : proto, $RegExp);\n };\n var proxy = function (key) {\n key in $RegExp || dP($RegExp, key, {\n configurable: true,\n get: function () { return Base[key]; },\n set: function (it) { Base[key] = it; }\n });\n };\n for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n require('./_redefine')(global, 'RegExp', $RegExp);\n}\n\nrequire('./_set-species')('RegExp');\n","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocEditCallback.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocEditCallback.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"open-content\"},[_c('div',{staticClass:\"open-content-header\"},[_c('span',{staticClass:\"open-content-title\"},[_vm._v(_vm._s(_vm.title))]),_vm._t(\"after-title\")],2),_c('div',{staticClass:\"open-content-body\"},[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator'\n\n@Component\nexport default class ContentLayout extends Vue {\n @Prop()\n title?: string\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentLayout.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentLayout.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ContentLayout.vue?vue&type=template&id=155ecb03&scoped=true&\"\nimport script from \"./ContentLayout.vue?vue&type=script&lang=ts&\"\nexport * from \"./ContentLayout.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ContentLayout.vue?vue&type=style&index=0&id=155ecb03&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"155ecb03\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentLayout.vue?vue&type=style&index=0&id=155ecb03&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentLayout.vue?vue&type=style&index=0&id=155ecb03&lang=scss&scoped=true&\""],"sourceRoot":""}