((typeof self !== 'undefined' ? self : this)["webpackJsonpvcolorpicker"] = (typeof self !== 'undefined' ? self : this)["webpackJsonpvcolorpicker"] || []).push([[1],{

/***/ "a3aa":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"25dd08ce-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/redirect/RedirectTab.vue?vue&type=template&id=f5dc5360&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-card',{staticStyle:{"height":"100%"},attrs:{"bordered":false,"bodyStyle":_vm.bodyStyle}},[_c('redirect',_vm._g(_vm._b({attrs:{"func":_vm.func,"id":_vm.id,"code":_vm.formCode,"fks":_vm.fks,"ignoreSec":_vm.ignoreSec,"parentValue":_vm.parentValue,"showCloseBut":false,"processInstanceName":_vm.title},on:{"close":_vm.close,"refreshParent":_vm.refreshParent,"setTitle":_vm.setTitle,"setModelType":_vm.setModelType}},'redirect',_vm.$attrs,false),_vm.$listeners))],1)}
var staticRenderFns = []


// CONCATENATED MODULE: ./packages/components/redirect/RedirectTab.vue?vue&type=template&id=f5dc5360&

// EXTERNAL MODULE: ./packages/components/redirect/Redirect.vue + 4 modules
var Redirect = __webpack_require__("24e6");

// EXTERNAL MODULE: ./packages/utils/LocleUtil.js
var LocleUtil = __webpack_require__("6bf9");

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/redirect/RedirectTab.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//





/* harmony default export */ var RedirectTabvue_type_script_lang_js_ = ({
  name: 'RedirectModal',
  components: {
    Redirect: Redirect["a" /* default */]
  },
  props: {
    ignoreSec: Boolean,
    func: String,
    formCode: String,
    id: String,
    fks: {
      type: Array,
      default: () => []
    },
    parentValue: {
      type: Object,
      default: () => {
      }
    },
    stores: {
      type: Object,
      default: () => {
        return {}
      }
    },
  },
  data() {
    return {
      title: LocleUtil["a" /* default */].getLocale('m.bpm.common.bpmPage'),
      modelType: null,
    }
  },
  inject: ['closeCurrent', 'removeCache'],
  created() {
    this.$route.meta.title = this.title
  },
  computed: {
    bodyStyle() {
      const style = {};
      if (this.modelType === 'layout') {
        style.padding = 0;
        style.margin = 0;
        style.height = '100%';
      }
      return style;
    },
  },
  methods: {
    handleCancel() {
      this.closeCurrent()
    },
    //关闭页面
    close() {
      this.handleCancel()
    },
    //刷新父页面
    refreshParent() {
      // 刷新父页面
      this.removeCache(this.$route.meta.parentFullPath)
    },
    //设置标题
    setTitle(title) {
      this.title = title
      this.$route.meta.title = title
    },
    // 设置模型类型，组合页面或者表单页面
    setModelType(modelType) {
      this.modelType = modelType
    },
  }
});

// CONCATENATED MODULE: ./packages/components/redirect/RedirectTab.vue?vue&type=script&lang=js&
 /* harmony default export */ var redirect_RedirectTabvue_type_script_lang_js_ = (RedirectTabvue_type_script_lang_js_); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("2877");

// CONCATENATED MODULE: ./packages/components/redirect/RedirectTab.vue





/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  redirect_RedirectTabvue_type_script_lang_js_,
  render,
  staticRenderFns,
  false,
  null,
  null,
  null
  
)

/* harmony default export */ var RedirectTab = __webpack_exports__["default"] = (component.exports);

/***/ })

}]);
//# sourceMappingURL=vcolorpicker.umd.1.js.map