exports.ids = [12]; exports.modules = { /***/ 166: /***/ (function(module, exports) { // Exports module.exports = { }; /***/ }), /***/ 186: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ExportDialog_vue_vue_type_style_index_0_id_1381fc6c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(166); /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ExportDialog_vue_vue_type_style_index_0_id_1381fc6c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ExportDialog_vue_vue_type_style_index_0_id_1381fc6c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ExportDialog_vue_vue_type_style_index_0_id_1381fc6c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ExportDialog_vue_vue_type_style_index_0_id_1381fc6c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /***/ }), /***/ 196: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/ExportDialog.vue?vue&type=template&id=1381fc6c&scoped=true var render = function render() { var _vm = this, _c = _vm._self._c; return _c('el-dialog', { attrs: { "lock-scroll": false, "title": _vm.title, "visible": _vm.visible, "width": "700px", "before-close": _vm.handleClose, "close-on-click-modal": false, "top": "0" }, on: { "update:visible": function ($event) { _vm.visible = $event; } } }, [_c('el-form', { ref: "ruleForm", attrs: { "model": _vm.emailForm, "rules": _vm.rules } }, _vm._l(_vm.emailForm, function (val, key) { return _c('el-form-item', { key: key, attrs: { "label": _vm.labelShow ? key : '', "label-width": _vm.labelWidth + 'px', "prop": key } }, [_c('el-input', { attrs: { "readonly": "" }, model: { value: _vm.emailForm[key], callback: function ($$v) { _vm.$set(_vm.emailForm, key, $$v); }, expression: "emailForm[key]" } }), _c('el-button', { class: key, attrs: { "data-clipboard-text": _vm.emailForm[key], "type": "primary" }, on: { "click": function ($event) { $event.preventDefault(); return _vm.copyUrl(key); } } }, [_vm._v("copy link")])], 1); }), 1)], 1); }; var staticRenderFns = []; // CONCATENATED MODULE: ./components/ExportDialog.vue?vue&type=template&id=1381fc6c&scoped=true // EXTERNAL MODULE: external "clipboard" var external_clipboard_ = __webpack_require__(140); var external_clipboard_default = /*#__PURE__*/__webpack_require__.n(external_clipboard_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/ExportDialog.vue?vue&type=script&lang=js /* harmony default export */ var ExportDialogvue_type_script_lang_js = ({ props: { title: { type: String, default: 'Send Email' }, sendbtnCext: { type: String, default: 'SUBMIT REQUEST' }, isSendPdf: { type: Boolean, default: false }, labelShow: { type: Boolean, default: true }, emailForm: {}, rules: {}, labelWidth: Number, visible: { type: Boolean, default: false } }, methods: { copyUrl(key) { let clipboard = new external_clipboard_default.a(`.${key}`); clipboard.on('success', e => { this.$message.success("link copied to clipboard"); // 利用Element组件给予成功提示 clipboard.destroy(); // 释放内存 }); clipboard.on('error', e => { this.$message.error('The browser does not support automatic replication'); // 给予错误提示信息 clipboard.destroy(); // 释放内存 }); }, handleClose() { this.$emit('update:visible', false); } } }); // CONCATENATED MODULE: ./components/ExportDialog.vue?vue&type=script&lang=js /* harmony default export */ var components_ExportDialogvue_type_script_lang_js = (ExportDialogvue_type_script_lang_js); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(2); // CONCATENATED MODULE: ./components/ExportDialog.vue function injectStyles (context) { var style0 = __webpack_require__(186) if (style0.__inject__) style0.__inject__(context) } /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( components_ExportDialogvue_type_script_lang_js, render, staticRenderFns, false, injectStyles, "1381fc6c", "5781176c" ) /* harmony default export */ var ExportDialog = __webpack_exports__["default"] = (component.exports); /***/ }) };; //# sourceMappingURL=export-dialog.js.map