ecinc-cloud-mappaio 9.6.117 → 9.6.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ecmappaio.common.js +1869 -117
- package/lib/ecmappaio.umd.js +1869 -117
- package/lib/ecmappaio.umd.min.js +4 -4
- package/package.json +1 -1
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -1409,7 +1409,7 @@ var actions = {
|
|
|
1409
1409
|
|
|
1410
1410
|
/***/ }),
|
|
1411
1411
|
|
|
1412
|
-
/***/
|
|
1412
|
+
/***/ 4682:
|
|
1413
1413
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1414
1414
|
|
|
1415
1415
|
"use strict";
|
|
@@ -1421,6 +1421,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1421
1421
|
"default": function() { return /* binding */ route; }
|
|
1422
1422
|
});
|
|
1423
1423
|
|
|
1424
|
+
// EXTERNAL MODULE: ./node_modules/e-vue-contextmenu/lib/e-vue-contextmenu.common.js
|
|
1425
|
+
var e_vue_contextmenu_common = __webpack_require__(8572);
|
|
1424
1426
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/index.vue?vue&type=template&id=3801b56a&scoped=true
|
|
1425
1427
|
var render = function render() {
|
|
1426
1428
|
var _vm = this,
|
|
@@ -2282,8 +2284,8 @@ var SysSetupvue_type_template_id_2497073a_scoped_true_render = function render()
|
|
|
2282
2284
|
};
|
|
2283
2285
|
var SysSetupvue_type_template_id_2497073a_scoped_true_staticRenderFns = [];
|
|
2284
2286
|
|
|
2285
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=template&id=
|
|
2286
|
-
var
|
|
2287
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=template&id=c28e28c6&scoped=true
|
|
2288
|
+
var MenuItemFormvue_type_template_id_c28e28c6_scoped_true_render = function render() {
|
|
2287
2289
|
var _vm = this,
|
|
2288
2290
|
_c = _vm._self._c;
|
|
2289
2291
|
return _c('el-form', {
|
|
@@ -3414,25 +3416,47 @@ var MenuItemFormvue_type_template_id_0e3e268e_scoped_true_render = function rend
|
|
|
3414
3416
|
expression: "'stageCode'"
|
|
3415
3417
|
}],
|
|
3416
3418
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
3417
|
-
}, [_vm._v("
|
|
3419
|
+
}, [_vm._v("H5是否禁用")]), _c('td', {
|
|
3418
3420
|
staticClass: "el-table__cell tdcont tdw33"
|
|
3419
|
-
}, [_c('el-
|
|
3421
|
+
}, [_c('el-radio-group', {
|
|
3420
3422
|
directives: [{
|
|
3421
3423
|
name: "can-edit",
|
|
3422
3424
|
rawName: "v-can-edit"
|
|
3423
3425
|
}],
|
|
3426
|
+
staticStyle: {
|
|
3427
|
+
"width": "100%"
|
|
3428
|
+
},
|
|
3424
3429
|
attrs: {
|
|
3425
|
-
"name": "
|
|
3426
|
-
"placeholder": _vm.$tx('ecwplat.menuForm.fields.stageCodeEnter', '请输入起始环节编码')
|
|
3430
|
+
"name": "h5Disable"
|
|
3427
3431
|
},
|
|
3428
3432
|
model: {
|
|
3429
|
-
value: _vm.vo.
|
|
3433
|
+
value: _vm.vo.h5Disable,
|
|
3430
3434
|
callback: function callback($$v) {
|
|
3431
|
-
_vm.$set(_vm.vo, "
|
|
3435
|
+
_vm.$set(_vm.vo, "h5Disable", $$v);
|
|
3432
3436
|
},
|
|
3433
|
-
expression: "vo.
|
|
3437
|
+
expression: "vo.h5Disable"
|
|
3438
|
+
}
|
|
3439
|
+
}, [_c('el-radio', {
|
|
3440
|
+
directives: [{
|
|
3441
|
+
name: "field-lbl",
|
|
3442
|
+
rawName: "v-field-lbl",
|
|
3443
|
+
value: 'navOption1',
|
|
3444
|
+
expression: "'navOption1'"
|
|
3445
|
+
}],
|
|
3446
|
+
attrs: {
|
|
3447
|
+
"label": 1
|
|
3434
3448
|
}
|
|
3435
|
-
}
|
|
3449
|
+
}, [_vm._v("禁用")]), _c('el-radio', {
|
|
3450
|
+
directives: [{
|
|
3451
|
+
name: "field-lbl",
|
|
3452
|
+
rawName: "v-field-lbl",
|
|
3453
|
+
value: 'navOption2',
|
|
3454
|
+
expression: "'navOption2'"
|
|
3455
|
+
}],
|
|
3456
|
+
attrs: {
|
|
3457
|
+
"label": 0
|
|
3458
|
+
}
|
|
3459
|
+
}, [_vm._v("不禁用")])], 1)], 1)]) : _vm._e(), _vm.vo.moduleLevel == 1 ? _c('tr', [_c('td', {
|
|
3436
3460
|
directives: [{
|
|
3437
3461
|
name: "field-lbl",
|
|
3438
3462
|
rawName: "v-field-lbl",
|
|
@@ -3757,7 +3781,7 @@ var MenuItemFormvue_type_template_id_0e3e268e_scoped_true_render = function rend
|
|
|
3757
3781
|
}
|
|
3758
3782
|
}, [_c('Icons')], 1) : _vm._e()], 1);
|
|
3759
3783
|
};
|
|
3760
|
-
var
|
|
3784
|
+
var MenuItemFormvue_type_template_id_c28e28c6_scoped_true_staticRenderFns = [];
|
|
3761
3785
|
|
|
3762
3786
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=script&lang=js
|
|
3763
3787
|
/* harmony default export */ var MenuItemFormvue_type_script_lang_js = ({
|
|
@@ -4090,6 +4114,7 @@ var MenuItemFormvue_type_template_id_0e3e268e_scoped_true_staticRenderFns = [];
|
|
|
4090
4114
|
} else if (this.vo.leafFlag === 1 && (this.vo.target === 'leftMenuItem' || this.vo.target === 'rightLabel')) {
|
|
4091
4115
|
this.vo.target = '';
|
|
4092
4116
|
}
|
|
4117
|
+
this.vo.h5Disable = this.vo.h5Disable || 0;
|
|
4093
4118
|
this.refresh = true;
|
|
4094
4119
|
this.$nextTick(function () {
|
|
4095
4120
|
_this.refresh = false;
|
|
@@ -4173,9 +4198,9 @@ var MenuItemFormvue_type_template_id_0e3e268e_scoped_true_staticRenderFns = [];
|
|
|
4173
4198
|
});
|
|
4174
4199
|
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=script&lang=js
|
|
4175
4200
|
/* harmony default export */ var src_MenuItemFormvue_type_script_lang_js = (MenuItemFormvue_type_script_lang_js);
|
|
4176
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=
|
|
4177
|
-
var
|
|
4178
|
-
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=
|
|
4201
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=c28e28c6&prod&scoped=true&lang=scss
|
|
4202
|
+
var MenuItemFormvue_type_style_index_0_id_c28e28c6_prod_scoped_true_lang_scss = __webpack_require__(7882);
|
|
4203
|
+
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=c28e28c6&prod&scoped=true&lang=scss
|
|
4179
4204
|
|
|
4180
4205
|
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue
|
|
4181
4206
|
|
|
@@ -4188,11 +4213,11 @@ var MenuItemFormvue_type_style_index_0_id_0e3e268e_prod_scoped_true_lang_scss =
|
|
|
4188
4213
|
|
|
4189
4214
|
var MenuItemForm_component = (0,componentNormalizer/* default */.A)(
|
|
4190
4215
|
src_MenuItemFormvue_type_script_lang_js,
|
|
4191
|
-
|
|
4192
|
-
|
|
4216
|
+
MenuItemFormvue_type_template_id_c28e28c6_scoped_true_render,
|
|
4217
|
+
MenuItemFormvue_type_template_id_c28e28c6_scoped_true_staticRenderFns,
|
|
4193
4218
|
false,
|
|
4194
4219
|
null,
|
|
4195
|
-
"
|
|
4220
|
+
"c28e28c6",
|
|
4196
4221
|
null
|
|
4197
4222
|
|
|
4198
4223
|
)
|
|
@@ -5645,10 +5670,15 @@ var Module_FrameLoader = FrameLoader;
|
|
|
5645
5670
|
// EXTERNAL MODULE: ./packages/common/websocket/index.js
|
|
5646
5671
|
var websocket = __webpack_require__(6613);
|
|
5647
5672
|
;// CONCATENATED MODULE: ./packages/common/store/modules/wapp/route.js
|
|
5673
|
+
function route_typeof(o) { "@babel/helpers - typeof"; return route_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, route_typeof(o); }
|
|
5674
|
+
function route_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ route_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == route_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(route_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
5675
|
+
function route_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
5676
|
+
function route_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { route_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { route_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
5648
5677
|
var defaultSettings = __webpack_require__(3844);
|
|
5649
5678
|
var showTopMenus = defaultSettings.showTopMenus;
|
|
5650
5679
|
|
|
5651
5680
|
|
|
5681
|
+
|
|
5652
5682
|
var state = {
|
|
5653
5683
|
routes: []
|
|
5654
5684
|
};
|
|
@@ -5661,48 +5691,88 @@ var actions = {
|
|
|
5661
5691
|
generateRoutes: function generateRoutes(_ref, nowf) {
|
|
5662
5692
|
var commit = _ref.commit;
|
|
5663
5693
|
return new Promise(function (resolve, reject) {
|
|
5664
|
-
window.$user.findNavMenus(nowf).then(function (
|
|
5665
|
-
var
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5694
|
+
window.$user.findNavMenus(nowf).then( /*#__PURE__*/function () {
|
|
5695
|
+
var _ref2 = route_asyncToGenerator( /*#__PURE__*/route_regeneratorRuntime().mark(function _callee(response) {
|
|
5696
|
+
var layout, accessedRoutes, topMenus, key, loginUser, dynamicRoutes, i, proute;
|
|
5697
|
+
return route_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5698
|
+
while (1) switch (_context.prev = _context.next) {
|
|
5699
|
+
case 0:
|
|
5700
|
+
layout = window.$loadComponent('@/wapp/common/layout/index');
|
|
5701
|
+
accessedRoutes = [];
|
|
5702
|
+
topMenus = response.body.listdata.filter(function (item) {
|
|
5703
|
+
if (item.moduleLevel === 1) return true;
|
|
5704
|
+
}); //模块菜单定义路由
|
|
5705
|
+
topMenus.forEach(function (item) {
|
|
5706
|
+
var view = layout;
|
|
5707
|
+
if (item.href && (item.href.substring(0, 2) === '@/' || item.href.substring(0, 10) === '#/dcontent') && item.target === '_top') {
|
|
5708
|
+
view = window.$loadComponent(item.href);
|
|
5709
|
+
}
|
|
5710
|
+
var route = convertToRoute(view, item, null, null, null);
|
|
5711
|
+
accessedRoutes.push(route);
|
|
5677
5712
|
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
if (response.body.wappRoutes !== undefined && response.body.wappRoutes !== null) {
|
|
5684
|
-
for (var key in response.body.wappRoutes) {
|
|
5685
|
-
loadWappRoutes(accessedRoutes, response.body.wappRoutes[key]);
|
|
5686
|
-
}
|
|
5687
|
-
}
|
|
5688
|
-
commit('SET_ROUTES', accessedRoutes);
|
|
5713
|
+
// if (item.leafFlag === 0) {
|
|
5714
|
+
var children = findChildrenRoute(view, response.body.listdata, item, null, null);
|
|
5715
|
+
accessedRoutes = accessedRoutes.concat(children);
|
|
5716
|
+
// }
|
|
5717
|
+
});
|
|
5689
5718
|
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5719
|
+
//产品定义子路由
|
|
5720
|
+
if (response.body.wappRoutes !== undefined && response.body.wappRoutes !== null) {
|
|
5721
|
+
for (key in response.body.wappRoutes) {
|
|
5722
|
+
loadWappRoutes(accessedRoutes, response.body.wappRoutes[key]);
|
|
5723
|
+
}
|
|
5724
|
+
}
|
|
5725
|
+
|
|
5726
|
+
//本次会话产品动态子路径
|
|
5727
|
+
_context.next = 7;
|
|
5728
|
+
return window.$user.getLoginUser(window.$auth.getToken());
|
|
5729
|
+
case 7:
|
|
5730
|
+
loginUser = _context.sent;
|
|
5731
|
+
dynamicRoutes = sessionStorage.getItem('dynamicRoutes-' + loginUser.personAccount);
|
|
5732
|
+
if (dynamicRoutes) {
|
|
5733
|
+
dynamicRoutes = JSON.parse(dynamicRoutes);
|
|
5734
|
+
if (dynamicRoutes[0].children.length > 0) {
|
|
5735
|
+
for (i = 0; i < accessedRoutes.length; i++) {
|
|
5736
|
+
proute = accessedRoutes[i];
|
|
5737
|
+
if (proute.meta && proute.meta.parentId === dynamicRoutes[0].children[0].meta.id) {
|
|
5738
|
+
//删除模块菜单配置的路由定义,保留本次话产品会动态子路径
|
|
5739
|
+
accessedRoutes.splice(i--, 1);
|
|
5740
|
+
}
|
|
5741
|
+
}
|
|
5742
|
+
}
|
|
5743
|
+
loadWappRoutes(accessedRoutes, dynamicRoutes);
|
|
5744
|
+
}
|
|
5745
|
+
commit('SET_ROUTES', accessedRoutes);
|
|
5746
|
+
|
|
5747
|
+
// 登录成功后连接webSocket
|
|
5748
|
+
websocket/* default */.A.connectWebSocket(window.$wapp);
|
|
5749
|
+
resolve(accessedRoutes);
|
|
5750
|
+
case 13:
|
|
5751
|
+
case "end":
|
|
5752
|
+
return _context.stop();
|
|
5753
|
+
}
|
|
5754
|
+
}, _callee);
|
|
5755
|
+
}));
|
|
5756
|
+
return function (_x) {
|
|
5757
|
+
return _ref2.apply(this, arguments);
|
|
5758
|
+
};
|
|
5759
|
+
}()).catch(function (error) {
|
|
5694
5760
|
reject(error);
|
|
5695
5761
|
});
|
|
5696
5762
|
});
|
|
5697
5763
|
},
|
|
5698
|
-
updateRoutes: function updateRoutes(
|
|
5699
|
-
var commit =
|
|
5764
|
+
updateRoutes: function updateRoutes(_ref3, routes) {
|
|
5765
|
+
var commit = _ref3.commit;
|
|
5700
5766
|
commit('SET_ROUTES', routes);
|
|
5701
5767
|
}
|
|
5702
5768
|
};
|
|
5703
5769
|
function loadWappRoutes(accessedRoutes, wappRoutes) {
|
|
5704
5770
|
wappRoutes.forEach(function (route) {
|
|
5705
|
-
route.component
|
|
5771
|
+
if (route.component && typeof route.component === 'string') {
|
|
5772
|
+
route.component = window.$loadComponent(route.component);
|
|
5773
|
+
} else if (route.meta && route.meta.href && (route.meta.href.indexOf('@/') === 0 || route.meta.href.indexOf('#/dcontent') === 0)) {
|
|
5774
|
+
route.component = window.$loadComponent(route.meta.href);
|
|
5775
|
+
}
|
|
5706
5776
|
accessedRoutes.push(route);
|
|
5707
5777
|
if (route.children !== undefined && route.children !== null) {
|
|
5708
5778
|
loadWappRoutes(accessedRoutes, route.children);
|
|
@@ -7545,7 +7615,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-d6f101a0] .van-nav-bar__title{
|
|
|
7545
7615
|
|
|
7546
7616
|
/***/ }),
|
|
7547
7617
|
|
|
7548
|
-
/***/
|
|
7618
|
+
/***/ 3371:
|
|
7549
7619
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7550
7620
|
|
|
7551
7621
|
"use strict";
|
|
@@ -7559,7 +7629,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7559
7629
|
|
|
7560
7630
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
7561
7631
|
// Module
|
|
7562
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-
|
|
7632
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-60e13902],.wfattach-container[data-v-60e13902] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-60e13902] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-60e13902] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-60e13902] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-60e13902] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-60e13902] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-60e13902] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-60e13902]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-60e13902]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-60e13902]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-60e13902]:first-child:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;top:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title[data-v-60e13902]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-60e13902]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-60e13902]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-60e13902]{position:relative}.van-attachment-field[data-v-60e13902]:after{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;top:unset;border-width:0;right:0;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}", ""]);
|
|
7563
7633
|
// Exports
|
|
7564
7634
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7565
7635
|
|
|
@@ -7781,7 +7851,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-69610664]{margin-top:1
|
|
|
7781
7851
|
|
|
7782
7852
|
/***/ }),
|
|
7783
7853
|
|
|
7784
|
-
/***/
|
|
7854
|
+
/***/ 7566:
|
|
7785
7855
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7786
7856
|
|
|
7787
7857
|
"use strict";
|
|
@@ -7795,7 +7865,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7795
7865
|
|
|
7796
7866
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
7797
7867
|
// Module
|
|
7798
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".icon-dialog[data-v-
|
|
7868
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".icon-dialog[data-v-c28e28c6] .el-dialog__body{height:650px;overflow-y:auto;padding:0 0 20px 0}.icon-dialog[data-v-c28e28c6] .el-dialog__body .el-tabs--top{margin-top:0}", ""]);
|
|
7799
7869
|
// Exports
|
|
7800
7870
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7801
7871
|
|
|
@@ -8091,6 +8161,1671 @@ module.exports = function defineDataProperty(
|
|
|
8091
8161
|
};
|
|
8092
8162
|
|
|
8093
8163
|
|
|
8164
|
+
/***/ }),
|
|
8165
|
+
|
|
8166
|
+
/***/ 8572:
|
|
8167
|
+
/***/ (function(module) {
|
|
8168
|
+
|
|
8169
|
+
module.exports =
|
|
8170
|
+
/******/ (function(modules) { // webpackBootstrap
|
|
8171
|
+
/******/ // The module cache
|
|
8172
|
+
/******/ var installedModules = {};
|
|
8173
|
+
/******/
|
|
8174
|
+
/******/ // The require function
|
|
8175
|
+
/******/ function __nested_webpack_require_187__(moduleId) {
|
|
8176
|
+
/******/
|
|
8177
|
+
/******/ // Check if module is in cache
|
|
8178
|
+
/******/ if(installedModules[moduleId]) {
|
|
8179
|
+
/******/ return installedModules[moduleId].exports;
|
|
8180
|
+
/******/ }
|
|
8181
|
+
/******/ // Create a new module (and put it into the cache)
|
|
8182
|
+
/******/ var module = installedModules[moduleId] = {
|
|
8183
|
+
/******/ i: moduleId,
|
|
8184
|
+
/******/ l: false,
|
|
8185
|
+
/******/ exports: {}
|
|
8186
|
+
/******/ };
|
|
8187
|
+
/******/
|
|
8188
|
+
/******/ // Execute the module function
|
|
8189
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_187__);
|
|
8190
|
+
/******/
|
|
8191
|
+
/******/ // Flag the module as loaded
|
|
8192
|
+
/******/ module.l = true;
|
|
8193
|
+
/******/
|
|
8194
|
+
/******/ // Return the exports of the module
|
|
8195
|
+
/******/ return module.exports;
|
|
8196
|
+
/******/ }
|
|
8197
|
+
/******/
|
|
8198
|
+
/******/
|
|
8199
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
8200
|
+
/******/ __nested_webpack_require_187__.m = modules;
|
|
8201
|
+
/******/
|
|
8202
|
+
/******/ // expose the module cache
|
|
8203
|
+
/******/ __nested_webpack_require_187__.c = installedModules;
|
|
8204
|
+
/******/
|
|
8205
|
+
/******/ // define getter function for harmony exports
|
|
8206
|
+
/******/ __nested_webpack_require_187__.d = function(exports, name, getter) {
|
|
8207
|
+
/******/ if(!__nested_webpack_require_187__.o(exports, name)) {
|
|
8208
|
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
8209
|
+
/******/ }
|
|
8210
|
+
/******/ };
|
|
8211
|
+
/******/
|
|
8212
|
+
/******/ // define __esModule on exports
|
|
8213
|
+
/******/ __nested_webpack_require_187__.r = function(exports) {
|
|
8214
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
8215
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
8216
|
+
/******/ }
|
|
8217
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
8218
|
+
/******/ };
|
|
8219
|
+
/******/
|
|
8220
|
+
/******/ // create a fake namespace object
|
|
8221
|
+
/******/ // mode & 1: value is a module id, require it
|
|
8222
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
|
8223
|
+
/******/ // mode & 4: return value when already ns object
|
|
8224
|
+
/******/ // mode & 8|1: behave like require
|
|
8225
|
+
/******/ __nested_webpack_require_187__.t = function(value, mode) {
|
|
8226
|
+
/******/ if(mode & 1) value = __nested_webpack_require_187__(value);
|
|
8227
|
+
/******/ if(mode & 8) return value;
|
|
8228
|
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
8229
|
+
/******/ var ns = Object.create(null);
|
|
8230
|
+
/******/ __nested_webpack_require_187__.r(ns);
|
|
8231
|
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
8232
|
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __nested_webpack_require_187__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
8233
|
+
/******/ return ns;
|
|
8234
|
+
/******/ };
|
|
8235
|
+
/******/
|
|
8236
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
8237
|
+
/******/ __nested_webpack_require_187__.n = function(module) {
|
|
8238
|
+
/******/ var getter = module && module.__esModule ?
|
|
8239
|
+
/******/ function getDefault() { return module['default']; } :
|
|
8240
|
+
/******/ function getModuleExports() { return module; };
|
|
8241
|
+
/******/ __nested_webpack_require_187__.d(getter, 'a', getter);
|
|
8242
|
+
/******/ return getter;
|
|
8243
|
+
/******/ };
|
|
8244
|
+
/******/
|
|
8245
|
+
/******/ // Object.prototype.hasOwnProperty.call
|
|
8246
|
+
/******/ __nested_webpack_require_187__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
8247
|
+
/******/
|
|
8248
|
+
/******/ // __webpack_public_path__
|
|
8249
|
+
/******/ __nested_webpack_require_187__.p = "";
|
|
8250
|
+
/******/
|
|
8251
|
+
/******/
|
|
8252
|
+
/******/ // Load entry module and return exports
|
|
8253
|
+
/******/ return __nested_webpack_require_187__(__nested_webpack_require_187__.s = "fb15");
|
|
8254
|
+
/******/ })
|
|
8255
|
+
/************************************************************************/
|
|
8256
|
+
/******/ ({
|
|
8257
|
+
|
|
8258
|
+
/***/ "02f4":
|
|
8259
|
+
/***/ (function(module, exports, __nested_webpack_require_3663__) {
|
|
8260
|
+
|
|
8261
|
+
var toInteger = __nested_webpack_require_3663__("4588");
|
|
8262
|
+
var defined = __nested_webpack_require_3663__("be13");
|
|
8263
|
+
// true -> String#at
|
|
8264
|
+
// false -> String#codePointAt
|
|
8265
|
+
module.exports = function (TO_STRING) {
|
|
8266
|
+
return function (that, pos) {
|
|
8267
|
+
var s = String(defined(that));
|
|
8268
|
+
var i = toInteger(pos);
|
|
8269
|
+
var l = s.length;
|
|
8270
|
+
var a, b;
|
|
8271
|
+
if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
|
|
8272
|
+
a = s.charCodeAt(i);
|
|
8273
|
+
return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
|
|
8274
|
+
? TO_STRING ? s.charAt(i) : a
|
|
8275
|
+
: TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
|
|
8276
|
+
};
|
|
8277
|
+
};
|
|
8278
|
+
|
|
8279
|
+
|
|
8280
|
+
/***/ }),
|
|
8281
|
+
|
|
8282
|
+
/***/ "0390":
|
|
8283
|
+
/***/ (function(module, exports, __nested_webpack_require_4376__) {
|
|
8284
|
+
|
|
8285
|
+
"use strict";
|
|
8286
|
+
|
|
8287
|
+
var at = __nested_webpack_require_4376__("02f4")(true);
|
|
8288
|
+
|
|
8289
|
+
// `AdvanceStringIndex` abstract operation
|
|
8290
|
+
// https://tc39.github.io/ecma262/#sec-advancestringindex
|
|
8291
|
+
module.exports = function (S, index, unicode) {
|
|
8292
|
+
return index + (unicode ? at(S, index).length : 1);
|
|
8293
|
+
};
|
|
8294
|
+
|
|
8295
|
+
|
|
8296
|
+
/***/ }),
|
|
8297
|
+
|
|
8298
|
+
/***/ "0bfb":
|
|
8299
|
+
/***/ (function(module, exports, __nested_webpack_require_4727__) {
|
|
8300
|
+
|
|
8301
|
+
"use strict";
|
|
8302
|
+
|
|
8303
|
+
// 21.2.5.3 get RegExp.prototype.flags
|
|
8304
|
+
var anObject = __nested_webpack_require_4727__("cb7c");
|
|
8305
|
+
module.exports = function () {
|
|
8306
|
+
var that = anObject(this);
|
|
8307
|
+
var result = '';
|
|
8308
|
+
if (that.global) result += 'g';
|
|
8309
|
+
if (that.ignoreCase) result += 'i';
|
|
8310
|
+
if (that.multiline) result += 'm';
|
|
8311
|
+
if (that.unicode) result += 'u';
|
|
8312
|
+
if (that.sticky) result += 'y';
|
|
8313
|
+
return result;
|
|
8314
|
+
};
|
|
8315
|
+
|
|
8316
|
+
|
|
8317
|
+
/***/ }),
|
|
8318
|
+
|
|
8319
|
+
/***/ "214f":
|
|
8320
|
+
/***/ (function(module, exports, __nested_webpack_require_5186__) {
|
|
8321
|
+
|
|
8322
|
+
"use strict";
|
|
8323
|
+
|
|
8324
|
+
__nested_webpack_require_5186__("b0c5");
|
|
8325
|
+
var redefine = __nested_webpack_require_5186__("2aba");
|
|
8326
|
+
var hide = __nested_webpack_require_5186__("32e9");
|
|
8327
|
+
var fails = __nested_webpack_require_5186__("79e5");
|
|
8328
|
+
var defined = __nested_webpack_require_5186__("be13");
|
|
8329
|
+
var wks = __nested_webpack_require_5186__("2b4c");
|
|
8330
|
+
var regexpExec = __nested_webpack_require_5186__("520a");
|
|
8331
|
+
|
|
8332
|
+
var SPECIES = wks('species');
|
|
8333
|
+
|
|
8334
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
|
|
8335
|
+
// #replace needs built-in support for named groups.
|
|
8336
|
+
// #match works fine because it just return the exec results, even if it has
|
|
8337
|
+
// a "grops" property.
|
|
8338
|
+
var re = /./;
|
|
8339
|
+
re.exec = function () {
|
|
8340
|
+
var result = [];
|
|
8341
|
+
result.groups = { a: '7' };
|
|
8342
|
+
return result;
|
|
8343
|
+
};
|
|
8344
|
+
return ''.replace(re, '$<a>') !== '7';
|
|
8345
|
+
});
|
|
8346
|
+
|
|
8347
|
+
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {
|
|
8348
|
+
// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
|
|
8349
|
+
var re = /(?:)/;
|
|
8350
|
+
var originalExec = re.exec;
|
|
8351
|
+
re.exec = function () { return originalExec.apply(this, arguments); };
|
|
8352
|
+
var result = 'ab'.split(re);
|
|
8353
|
+
return result.length === 2 && result[0] === 'a' && result[1] === 'b';
|
|
8354
|
+
})();
|
|
8355
|
+
|
|
8356
|
+
module.exports = function (KEY, length, exec) {
|
|
8357
|
+
var SYMBOL = wks(KEY);
|
|
8358
|
+
|
|
8359
|
+
var DELEGATES_TO_SYMBOL = !fails(function () {
|
|
8360
|
+
// String methods call symbol-named RegEp methods
|
|
8361
|
+
var O = {};
|
|
8362
|
+
O[SYMBOL] = function () { return 7; };
|
|
8363
|
+
return ''[KEY](O) != 7;
|
|
8364
|
+
});
|
|
8365
|
+
|
|
8366
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {
|
|
8367
|
+
// Symbol-named RegExp methods call .exec
|
|
8368
|
+
var execCalled = false;
|
|
8369
|
+
var re = /a/;
|
|
8370
|
+
re.exec = function () { execCalled = true; return null; };
|
|
8371
|
+
if (KEY === 'split') {
|
|
8372
|
+
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
|
8373
|
+
// a new one. We need to return the patched regex when creating the new one.
|
|
8374
|
+
re.constructor = {};
|
|
8375
|
+
re.constructor[SPECIES] = function () { return re; };
|
|
8376
|
+
}
|
|
8377
|
+
re[SYMBOL]('');
|
|
8378
|
+
return !execCalled;
|
|
8379
|
+
}) : undefined;
|
|
8380
|
+
|
|
8381
|
+
if (
|
|
8382
|
+
!DELEGATES_TO_SYMBOL ||
|
|
8383
|
+
!DELEGATES_TO_EXEC ||
|
|
8384
|
+
(KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||
|
|
8385
|
+
(KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
|
|
8386
|
+
) {
|
|
8387
|
+
var nativeRegExpMethod = /./[SYMBOL];
|
|
8388
|
+
var fns = exec(
|
|
8389
|
+
defined,
|
|
8390
|
+
SYMBOL,
|
|
8391
|
+
''[KEY],
|
|
8392
|
+
function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
8393
|
+
if (regexp.exec === regexpExec) {
|
|
8394
|
+
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
8395
|
+
// The native String method already delegates to @@method (this
|
|
8396
|
+
// polyfilled function), leasing to infinite recursion.
|
|
8397
|
+
// We avoid it by directly calling the native @@method method.
|
|
8398
|
+
return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
|
|
8399
|
+
}
|
|
8400
|
+
return { done: true, value: nativeMethod.call(str, regexp, arg2) };
|
|
8401
|
+
}
|
|
8402
|
+
return { done: false };
|
|
8403
|
+
}
|
|
8404
|
+
);
|
|
8405
|
+
var strfn = fns[0];
|
|
8406
|
+
var rxfn = fns[1];
|
|
8407
|
+
|
|
8408
|
+
redefine(String.prototype, KEY, strfn);
|
|
8409
|
+
hide(RegExp.prototype, SYMBOL, length == 2
|
|
8410
|
+
// 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
|
|
8411
|
+
// 21.2.5.11 RegExp.prototype[@@split](string, limit)
|
|
8412
|
+
? function (string, arg) { return rxfn.call(string, this, arg); }
|
|
8413
|
+
// 21.2.5.6 RegExp.prototype[@@match](string)
|
|
8414
|
+
// 21.2.5.9 RegExp.prototype[@@search](string)
|
|
8415
|
+
: function (string) { return rxfn.call(string, this); }
|
|
8416
|
+
);
|
|
8417
|
+
}
|
|
8418
|
+
};
|
|
8419
|
+
|
|
8420
|
+
|
|
8421
|
+
/***/ }),
|
|
8422
|
+
|
|
8423
|
+
/***/ "230e":
|
|
8424
|
+
/***/ (function(module, exports, __nested_webpack_require_8643__) {
|
|
8425
|
+
|
|
8426
|
+
var isObject = __nested_webpack_require_8643__("d3f4");
|
|
8427
|
+
var document = __nested_webpack_require_8643__("7726").document;
|
|
8428
|
+
// typeof document.createElement is 'object' in old IE
|
|
8429
|
+
var is = isObject(document) && isObject(document.createElement);
|
|
8430
|
+
module.exports = function (it) {
|
|
8431
|
+
return is ? document.createElement(it) : {};
|
|
8432
|
+
};
|
|
8433
|
+
|
|
8434
|
+
|
|
8435
|
+
/***/ }),
|
|
8436
|
+
|
|
8437
|
+
/***/ "2350":
|
|
8438
|
+
/***/ (function(module, exports) {
|
|
8439
|
+
|
|
8440
|
+
/*
|
|
8441
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
8442
|
+
Author Tobias Koppers @sokra
|
|
8443
|
+
*/
|
|
8444
|
+
// css base code, injected by the css-loader
|
|
8445
|
+
module.exports = function(useSourceMap) {
|
|
8446
|
+
var list = [];
|
|
8447
|
+
|
|
8448
|
+
// return the list of modules as css string
|
|
8449
|
+
list.toString = function toString() {
|
|
8450
|
+
return this.map(function (item) {
|
|
8451
|
+
var content = cssWithMappingToString(item, useSourceMap);
|
|
8452
|
+
if(item[2]) {
|
|
8453
|
+
return "@media " + item[2] + "{" + content + "}";
|
|
8454
|
+
} else {
|
|
8455
|
+
return content;
|
|
8456
|
+
}
|
|
8457
|
+
}).join("");
|
|
8458
|
+
};
|
|
8459
|
+
|
|
8460
|
+
// import a list of modules into the list
|
|
8461
|
+
list.i = function(modules, mediaQuery) {
|
|
8462
|
+
if(typeof modules === "string")
|
|
8463
|
+
modules = [[null, modules, ""]];
|
|
8464
|
+
var alreadyImportedModules = {};
|
|
8465
|
+
for(var i = 0; i < this.length; i++) {
|
|
8466
|
+
var id = this[i][0];
|
|
8467
|
+
if(typeof id === "number")
|
|
8468
|
+
alreadyImportedModules[id] = true;
|
|
8469
|
+
}
|
|
8470
|
+
for(i = 0; i < modules.length; i++) {
|
|
8471
|
+
var item = modules[i];
|
|
8472
|
+
// skip already imported module
|
|
8473
|
+
// this implementation is not 100% perfect for weird media query combinations
|
|
8474
|
+
// when a module is imported multiple times with different media queries.
|
|
8475
|
+
// I hope this will never occur (Hey this way we have smaller bundles)
|
|
8476
|
+
if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
|
|
8477
|
+
if(mediaQuery && !item[2]) {
|
|
8478
|
+
item[2] = mediaQuery;
|
|
8479
|
+
} else if(mediaQuery) {
|
|
8480
|
+
item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
|
|
8481
|
+
}
|
|
8482
|
+
list.push(item);
|
|
8483
|
+
}
|
|
8484
|
+
}
|
|
8485
|
+
};
|
|
8486
|
+
return list;
|
|
8487
|
+
};
|
|
8488
|
+
|
|
8489
|
+
function cssWithMappingToString(item, useSourceMap) {
|
|
8490
|
+
var content = item[1] || '';
|
|
8491
|
+
var cssMapping = item[3];
|
|
8492
|
+
if (!cssMapping) {
|
|
8493
|
+
return content;
|
|
8494
|
+
}
|
|
8495
|
+
|
|
8496
|
+
if (useSourceMap && typeof btoa === 'function') {
|
|
8497
|
+
var sourceMapping = toComment(cssMapping);
|
|
8498
|
+
var sourceURLs = cssMapping.sources.map(function (source) {
|
|
8499
|
+
return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'
|
|
8500
|
+
});
|
|
8501
|
+
|
|
8502
|
+
return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
|
|
8503
|
+
}
|
|
8504
|
+
|
|
8505
|
+
return [content].join('\n');
|
|
8506
|
+
}
|
|
8507
|
+
|
|
8508
|
+
// Adapted from convert-source-map (MIT)
|
|
8509
|
+
function toComment(sourceMap) {
|
|
8510
|
+
// eslint-disable-next-line no-undef
|
|
8511
|
+
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
|
|
8512
|
+
var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
|
|
8513
|
+
|
|
8514
|
+
return '/*# ' + data + ' */';
|
|
8515
|
+
}
|
|
8516
|
+
|
|
8517
|
+
|
|
8518
|
+
/***/ }),
|
|
8519
|
+
|
|
8520
|
+
/***/ "23c6":
|
|
8521
|
+
/***/ (function(module, exports, __nested_webpack_require_11350__) {
|
|
8522
|
+
|
|
8523
|
+
// getting tag from 19.1.3.6 Object.prototype.toString()
|
|
8524
|
+
var cof = __nested_webpack_require_11350__("2d95");
|
|
8525
|
+
var TAG = __nested_webpack_require_11350__("2b4c")('toStringTag');
|
|
8526
|
+
// ES3 wrong here
|
|
8527
|
+
var ARG = cof(function () { return arguments; }()) == 'Arguments';
|
|
8528
|
+
|
|
8529
|
+
// fallback for IE11 Script Access Denied error
|
|
8530
|
+
var tryGet = function (it, key) {
|
|
8531
|
+
try {
|
|
8532
|
+
return it[key];
|
|
8533
|
+
} catch (e) { /* empty */ }
|
|
8534
|
+
};
|
|
8535
|
+
|
|
8536
|
+
module.exports = function (it) {
|
|
8537
|
+
var O, T, B;
|
|
8538
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
8539
|
+
// @@toStringTag case
|
|
8540
|
+
: typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
|
|
8541
|
+
// builtinTag case
|
|
8542
|
+
: ARG ? cof(O)
|
|
8543
|
+
// ES3 arguments fallback
|
|
8544
|
+
: (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
|
|
8545
|
+
};
|
|
8546
|
+
|
|
8547
|
+
|
|
8548
|
+
/***/ }),
|
|
8549
|
+
|
|
8550
|
+
/***/ "2aba":
|
|
8551
|
+
/***/ (function(module, exports, __nested_webpack_require_12172__) {
|
|
8552
|
+
|
|
8553
|
+
var global = __nested_webpack_require_12172__("7726");
|
|
8554
|
+
var hide = __nested_webpack_require_12172__("32e9");
|
|
8555
|
+
var has = __nested_webpack_require_12172__("69a8");
|
|
8556
|
+
var SRC = __nested_webpack_require_12172__("ca5a")('src');
|
|
8557
|
+
var $toString = __nested_webpack_require_12172__("fa5b");
|
|
8558
|
+
var TO_STRING = 'toString';
|
|
8559
|
+
var TPL = ('' + $toString).split(TO_STRING);
|
|
8560
|
+
|
|
8561
|
+
__nested_webpack_require_12172__("8378").inspectSource = function (it) {
|
|
8562
|
+
return $toString.call(it);
|
|
8563
|
+
};
|
|
8564
|
+
|
|
8565
|
+
(module.exports = function (O, key, val, safe) {
|
|
8566
|
+
var isFunction = typeof val == 'function';
|
|
8567
|
+
if (isFunction) has(val, 'name') || hide(val, 'name', key);
|
|
8568
|
+
if (O[key] === val) return;
|
|
8569
|
+
if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
|
|
8570
|
+
if (O === global) {
|
|
8571
|
+
O[key] = val;
|
|
8572
|
+
} else if (!safe) {
|
|
8573
|
+
delete O[key];
|
|
8574
|
+
hide(O, key, val);
|
|
8575
|
+
} else if (O[key]) {
|
|
8576
|
+
O[key] = val;
|
|
8577
|
+
} else {
|
|
8578
|
+
hide(O, key, val);
|
|
8579
|
+
}
|
|
8580
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
8581
|
+
})(Function.prototype, TO_STRING, function toString() {
|
|
8582
|
+
return typeof this == 'function' && this[SRC] || $toString.call(this);
|
|
8583
|
+
});
|
|
8584
|
+
|
|
8585
|
+
|
|
8586
|
+
/***/ }),
|
|
8587
|
+
|
|
8588
|
+
/***/ "2b4c":
|
|
8589
|
+
/***/ (function(module, exports, __nested_webpack_require_13346__) {
|
|
8590
|
+
|
|
8591
|
+
var store = __nested_webpack_require_13346__("5537")('wks');
|
|
8592
|
+
var uid = __nested_webpack_require_13346__("ca5a");
|
|
8593
|
+
var Symbol = __nested_webpack_require_13346__("7726").Symbol;
|
|
8594
|
+
var USE_SYMBOL = typeof Symbol == 'function';
|
|
8595
|
+
|
|
8596
|
+
var $exports = module.exports = function (name) {
|
|
8597
|
+
return store[name] || (store[name] =
|
|
8598
|
+
USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
|
|
8599
|
+
};
|
|
8600
|
+
|
|
8601
|
+
$exports.store = store;
|
|
8602
|
+
|
|
8603
|
+
|
|
8604
|
+
/***/ }),
|
|
8605
|
+
|
|
8606
|
+
/***/ "2d00":
|
|
8607
|
+
/***/ (function(module, exports) {
|
|
8608
|
+
|
|
8609
|
+
module.exports = false;
|
|
8610
|
+
|
|
8611
|
+
|
|
8612
|
+
/***/ }),
|
|
8613
|
+
|
|
8614
|
+
/***/ "2d95":
|
|
8615
|
+
/***/ (function(module, exports) {
|
|
8616
|
+
|
|
8617
|
+
var toString = {}.toString;
|
|
8618
|
+
|
|
8619
|
+
module.exports = function (it) {
|
|
8620
|
+
return toString.call(it).slice(8, -1);
|
|
8621
|
+
};
|
|
8622
|
+
|
|
8623
|
+
|
|
8624
|
+
/***/ }),
|
|
8625
|
+
|
|
8626
|
+
/***/ "32e9":
|
|
8627
|
+
/***/ (function(module, exports, __nested_webpack_require_14068__) {
|
|
8628
|
+
|
|
8629
|
+
var dP = __nested_webpack_require_14068__("86cc");
|
|
8630
|
+
var createDesc = __nested_webpack_require_14068__("4630");
|
|
8631
|
+
module.exports = __nested_webpack_require_14068__("9e1e") ? function (object, key, value) {
|
|
8632
|
+
return dP.f(object, key, createDesc(1, value));
|
|
8633
|
+
} : function (object, key, value) {
|
|
8634
|
+
object[key] = value;
|
|
8635
|
+
return object;
|
|
8636
|
+
};
|
|
8637
|
+
|
|
8638
|
+
|
|
8639
|
+
/***/ }),
|
|
8640
|
+
|
|
8641
|
+
/***/ "3974":
|
|
8642
|
+
/***/ (function(module, exports, __nested_webpack_require_14444__) {
|
|
8643
|
+
|
|
8644
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
8645
|
+
|
|
8646
|
+
// load the styles
|
|
8647
|
+
var content = __nested_webpack_require_14444__("d5fa");
|
|
8648
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
8649
|
+
if(content.locals) module.exports = content.locals;
|
|
8650
|
+
// add the styles to the DOM
|
|
8651
|
+
var add = __nested_webpack_require_14444__("499e").default
|
|
8652
|
+
var update = add("64a34c43", content, true, {"sourceMap":false,"shadowMode":false});
|
|
8653
|
+
|
|
8654
|
+
/***/ }),
|
|
8655
|
+
|
|
8656
|
+
/***/ "4588":
|
|
8657
|
+
/***/ (function(module, exports) {
|
|
8658
|
+
|
|
8659
|
+
// 7.1.4 ToInteger
|
|
8660
|
+
var ceil = Math.ceil;
|
|
8661
|
+
var floor = Math.floor;
|
|
8662
|
+
module.exports = function (it) {
|
|
8663
|
+
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
|
|
8664
|
+
};
|
|
8665
|
+
|
|
8666
|
+
|
|
8667
|
+
/***/ }),
|
|
8668
|
+
|
|
8669
|
+
/***/ "4630":
|
|
8670
|
+
/***/ (function(module, exports) {
|
|
8671
|
+
|
|
8672
|
+
module.exports = function (bitmap, value) {
|
|
8673
|
+
return {
|
|
8674
|
+
enumerable: !(bitmap & 1),
|
|
8675
|
+
configurable: !(bitmap & 2),
|
|
8676
|
+
writable: !(bitmap & 4),
|
|
8677
|
+
value: value
|
|
8678
|
+
};
|
|
8679
|
+
};
|
|
8680
|
+
|
|
8681
|
+
|
|
8682
|
+
/***/ }),
|
|
8683
|
+
|
|
8684
|
+
/***/ "499e":
|
|
8685
|
+
/***/ (function(module, __nested_webpack_exports__, __nested_webpack_require_15409__) {
|
|
8686
|
+
|
|
8687
|
+
"use strict";
|
|
8688
|
+
__nested_webpack_require_15409__.r(__nested_webpack_exports__);
|
|
8689
|
+
|
|
8690
|
+
// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js
|
|
8691
|
+
/**
|
|
8692
|
+
* Translates the list format produced by css-loader into something
|
|
8693
|
+
* easier to manipulate.
|
|
8694
|
+
*/
|
|
8695
|
+
function listToStyles (parentId, list) {
|
|
8696
|
+
var styles = []
|
|
8697
|
+
var newStyles = {}
|
|
8698
|
+
for (var i = 0; i < list.length; i++) {
|
|
8699
|
+
var item = list[i]
|
|
8700
|
+
var id = item[0]
|
|
8701
|
+
var css = item[1]
|
|
8702
|
+
var media = item[2]
|
|
8703
|
+
var sourceMap = item[3]
|
|
8704
|
+
var part = {
|
|
8705
|
+
id: parentId + ':' + i,
|
|
8706
|
+
css: css,
|
|
8707
|
+
media: media,
|
|
8708
|
+
sourceMap: sourceMap
|
|
8709
|
+
}
|
|
8710
|
+
if (!newStyles[id]) {
|
|
8711
|
+
styles.push(newStyles[id] = { id: id, parts: [part] })
|
|
8712
|
+
} else {
|
|
8713
|
+
newStyles[id].parts.push(part)
|
|
8714
|
+
}
|
|
8715
|
+
}
|
|
8716
|
+
return styles
|
|
8717
|
+
}
|
|
8718
|
+
|
|
8719
|
+
// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js
|
|
8720
|
+
/* harmony export (binding) */ __nested_webpack_require_15409__.d(__nested_webpack_exports__, "default", function() { return addStylesClient; });
|
|
8721
|
+
/*
|
|
8722
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
8723
|
+
Author Tobias Koppers @sokra
|
|
8724
|
+
Modified by Evan You @yyx990803
|
|
8725
|
+
*/
|
|
8726
|
+
|
|
8727
|
+
|
|
8728
|
+
|
|
8729
|
+
var hasDocument = typeof document !== 'undefined'
|
|
8730
|
+
|
|
8731
|
+
if (typeof DEBUG !== 'undefined' && DEBUG) {
|
|
8732
|
+
if (!hasDocument) {
|
|
8733
|
+
throw new Error(
|
|
8734
|
+
'vue-style-loader cannot be used in a non-browser environment. ' +
|
|
8735
|
+
"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
|
|
8736
|
+
) }
|
|
8737
|
+
}
|
|
8738
|
+
|
|
8739
|
+
/*
|
|
8740
|
+
type StyleObject = {
|
|
8741
|
+
id: number;
|
|
8742
|
+
parts: Array<StyleObjectPart>
|
|
8743
|
+
}
|
|
8744
|
+
|
|
8745
|
+
type StyleObjectPart = {
|
|
8746
|
+
css: string;
|
|
8747
|
+
media: string;
|
|
8748
|
+
sourceMap: ?string
|
|
8749
|
+
}
|
|
8750
|
+
*/
|
|
8751
|
+
|
|
8752
|
+
var stylesInDom = {/*
|
|
8753
|
+
[id: number]: {
|
|
8754
|
+
id: number,
|
|
8755
|
+
refs: number,
|
|
8756
|
+
parts: Array<(obj?: StyleObjectPart) => void>
|
|
8757
|
+
}
|
|
8758
|
+
*/}
|
|
8759
|
+
|
|
8760
|
+
var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
|
|
8761
|
+
var singletonElement = null
|
|
8762
|
+
var singletonCounter = 0
|
|
8763
|
+
var isProduction = false
|
|
8764
|
+
var noop = function () {}
|
|
8765
|
+
var options = null
|
|
8766
|
+
var ssrIdKey = 'data-vue-ssr-id'
|
|
8767
|
+
|
|
8768
|
+
// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
|
|
8769
|
+
// tags it will allow on a page
|
|
8770
|
+
var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
|
|
8771
|
+
|
|
8772
|
+
function addStylesClient (parentId, list, _isProduction, _options) {
|
|
8773
|
+
isProduction = _isProduction
|
|
8774
|
+
|
|
8775
|
+
options = _options || {}
|
|
8776
|
+
|
|
8777
|
+
var styles = listToStyles(parentId, list)
|
|
8778
|
+
addStylesToDom(styles)
|
|
8779
|
+
|
|
8780
|
+
return function update (newList) {
|
|
8781
|
+
var mayRemove = []
|
|
8782
|
+
for (var i = 0; i < styles.length; i++) {
|
|
8783
|
+
var item = styles[i]
|
|
8784
|
+
var domStyle = stylesInDom[item.id]
|
|
8785
|
+
domStyle.refs--
|
|
8786
|
+
mayRemove.push(domStyle)
|
|
8787
|
+
}
|
|
8788
|
+
if (newList) {
|
|
8789
|
+
styles = listToStyles(parentId, newList)
|
|
8790
|
+
addStylesToDom(styles)
|
|
8791
|
+
} else {
|
|
8792
|
+
styles = []
|
|
8793
|
+
}
|
|
8794
|
+
for (var i = 0; i < mayRemove.length; i++) {
|
|
8795
|
+
var domStyle = mayRemove[i]
|
|
8796
|
+
if (domStyle.refs === 0) {
|
|
8797
|
+
for (var j = 0; j < domStyle.parts.length; j++) {
|
|
8798
|
+
domStyle.parts[j]()
|
|
8799
|
+
}
|
|
8800
|
+
delete stylesInDom[domStyle.id]
|
|
8801
|
+
}
|
|
8802
|
+
}
|
|
8803
|
+
}
|
|
8804
|
+
}
|
|
8805
|
+
|
|
8806
|
+
function addStylesToDom (styles /* Array<StyleObject> */) {
|
|
8807
|
+
for (var i = 0; i < styles.length; i++) {
|
|
8808
|
+
var item = styles[i]
|
|
8809
|
+
var domStyle = stylesInDom[item.id]
|
|
8810
|
+
if (domStyle) {
|
|
8811
|
+
domStyle.refs++
|
|
8812
|
+
for (var j = 0; j < domStyle.parts.length; j++) {
|
|
8813
|
+
domStyle.parts[j](item.parts[j])
|
|
8814
|
+
}
|
|
8815
|
+
for (; j < item.parts.length; j++) {
|
|
8816
|
+
domStyle.parts.push(addStyle(item.parts[j]))
|
|
8817
|
+
}
|
|
8818
|
+
if (domStyle.parts.length > item.parts.length) {
|
|
8819
|
+
domStyle.parts.length = item.parts.length
|
|
8820
|
+
}
|
|
8821
|
+
} else {
|
|
8822
|
+
var parts = []
|
|
8823
|
+
for (var j = 0; j < item.parts.length; j++) {
|
|
8824
|
+
parts.push(addStyle(item.parts[j]))
|
|
8825
|
+
}
|
|
8826
|
+
stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
|
|
8827
|
+
}
|
|
8828
|
+
}
|
|
8829
|
+
}
|
|
8830
|
+
|
|
8831
|
+
function createStyleElement () {
|
|
8832
|
+
var styleElement = document.createElement('style')
|
|
8833
|
+
styleElement.type = 'text/css'
|
|
8834
|
+
head.appendChild(styleElement)
|
|
8835
|
+
return styleElement
|
|
8836
|
+
}
|
|
8837
|
+
|
|
8838
|
+
function addStyle (obj /* StyleObjectPart */) {
|
|
8839
|
+
var update, remove
|
|
8840
|
+
var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]')
|
|
8841
|
+
|
|
8842
|
+
if (styleElement) {
|
|
8843
|
+
if (isProduction) {
|
|
8844
|
+
// has SSR styles and in production mode.
|
|
8845
|
+
// simply do nothing.
|
|
8846
|
+
return noop
|
|
8847
|
+
} else {
|
|
8848
|
+
// has SSR styles but in dev mode.
|
|
8849
|
+
// for some reason Chrome can't handle source map in server-rendered
|
|
8850
|
+
// style tags - source maps in <style> only works if the style tag is
|
|
8851
|
+
// created and inserted dynamically. So we remove the server rendered
|
|
8852
|
+
// styles and inject new ones.
|
|
8853
|
+
styleElement.parentNode.removeChild(styleElement)
|
|
8854
|
+
}
|
|
8855
|
+
}
|
|
8856
|
+
|
|
8857
|
+
if (isOldIE) {
|
|
8858
|
+
// use singleton mode for IE9.
|
|
8859
|
+
var styleIndex = singletonCounter++
|
|
8860
|
+
styleElement = singletonElement || (singletonElement = createStyleElement())
|
|
8861
|
+
update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
|
|
8862
|
+
remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
|
|
8863
|
+
} else {
|
|
8864
|
+
// use multi-style-tag mode in all other cases
|
|
8865
|
+
styleElement = createStyleElement()
|
|
8866
|
+
update = applyToTag.bind(null, styleElement)
|
|
8867
|
+
remove = function () {
|
|
8868
|
+
styleElement.parentNode.removeChild(styleElement)
|
|
8869
|
+
}
|
|
8870
|
+
}
|
|
8871
|
+
|
|
8872
|
+
update(obj)
|
|
8873
|
+
|
|
8874
|
+
return function updateStyle (newObj /* StyleObjectPart */) {
|
|
8875
|
+
if (newObj) {
|
|
8876
|
+
if (newObj.css === obj.css &&
|
|
8877
|
+
newObj.media === obj.media &&
|
|
8878
|
+
newObj.sourceMap === obj.sourceMap) {
|
|
8879
|
+
return
|
|
8880
|
+
}
|
|
8881
|
+
update(obj = newObj)
|
|
8882
|
+
} else {
|
|
8883
|
+
remove()
|
|
8884
|
+
}
|
|
8885
|
+
}
|
|
8886
|
+
}
|
|
8887
|
+
|
|
8888
|
+
var replaceText = (function () {
|
|
8889
|
+
var textStore = []
|
|
8890
|
+
|
|
8891
|
+
return function (index, replacement) {
|
|
8892
|
+
textStore[index] = replacement
|
|
8893
|
+
return textStore.filter(Boolean).join('\n')
|
|
8894
|
+
}
|
|
8895
|
+
})()
|
|
8896
|
+
|
|
8897
|
+
function applyToSingletonTag (styleElement, index, remove, obj) {
|
|
8898
|
+
var css = remove ? '' : obj.css
|
|
8899
|
+
|
|
8900
|
+
if (styleElement.styleSheet) {
|
|
8901
|
+
styleElement.styleSheet.cssText = replaceText(index, css)
|
|
8902
|
+
} else {
|
|
8903
|
+
var cssNode = document.createTextNode(css)
|
|
8904
|
+
var childNodes = styleElement.childNodes
|
|
8905
|
+
if (childNodes[index]) styleElement.removeChild(childNodes[index])
|
|
8906
|
+
if (childNodes.length) {
|
|
8907
|
+
styleElement.insertBefore(cssNode, childNodes[index])
|
|
8908
|
+
} else {
|
|
8909
|
+
styleElement.appendChild(cssNode)
|
|
8910
|
+
}
|
|
8911
|
+
}
|
|
8912
|
+
}
|
|
8913
|
+
|
|
8914
|
+
function applyToTag (styleElement, obj) {
|
|
8915
|
+
var css = obj.css
|
|
8916
|
+
var media = obj.media
|
|
8917
|
+
var sourceMap = obj.sourceMap
|
|
8918
|
+
|
|
8919
|
+
if (media) {
|
|
8920
|
+
styleElement.setAttribute('media', media)
|
|
8921
|
+
}
|
|
8922
|
+
if (options.ssrId) {
|
|
8923
|
+
styleElement.setAttribute(ssrIdKey, obj.id)
|
|
8924
|
+
}
|
|
8925
|
+
|
|
8926
|
+
if (sourceMap) {
|
|
8927
|
+
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
8928
|
+
// this makes source maps inside style tags work properly in Chrome
|
|
8929
|
+
css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
|
|
8930
|
+
// http://stackoverflow.com/a/26603875
|
|
8931
|
+
css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
|
|
8932
|
+
}
|
|
8933
|
+
|
|
8934
|
+
if (styleElement.styleSheet) {
|
|
8935
|
+
styleElement.styleSheet.cssText = css
|
|
8936
|
+
} else {
|
|
8937
|
+
while (styleElement.firstChild) {
|
|
8938
|
+
styleElement.removeChild(styleElement.firstChild)
|
|
8939
|
+
}
|
|
8940
|
+
styleElement.appendChild(document.createTextNode(css))
|
|
8941
|
+
}
|
|
8942
|
+
}
|
|
8943
|
+
|
|
8944
|
+
|
|
8945
|
+
/***/ }),
|
|
8946
|
+
|
|
8947
|
+
/***/ "4bf8":
|
|
8948
|
+
/***/ (function(module, exports, __nested_webpack_require_22632__) {
|
|
8949
|
+
|
|
8950
|
+
// 7.1.13 ToObject(argument)
|
|
8951
|
+
var defined = __nested_webpack_require_22632__("be13");
|
|
8952
|
+
module.exports = function (it) {
|
|
8953
|
+
return Object(defined(it));
|
|
8954
|
+
};
|
|
8955
|
+
|
|
8956
|
+
|
|
8957
|
+
/***/ }),
|
|
8958
|
+
|
|
8959
|
+
/***/ "520a":
|
|
8960
|
+
/***/ (function(module, exports, __nested_webpack_require_22854__) {
|
|
8961
|
+
|
|
8962
|
+
"use strict";
|
|
8963
|
+
|
|
8964
|
+
|
|
8965
|
+
var regexpFlags = __nested_webpack_require_22854__("0bfb");
|
|
8966
|
+
|
|
8967
|
+
var nativeExec = RegExp.prototype.exec;
|
|
8968
|
+
// This always refers to the native implementation, because the
|
|
8969
|
+
// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
|
|
8970
|
+
// which loads this file before patching the method.
|
|
8971
|
+
var nativeReplace = String.prototype.replace;
|
|
8972
|
+
|
|
8973
|
+
var patchedExec = nativeExec;
|
|
8974
|
+
|
|
8975
|
+
var LAST_INDEX = 'lastIndex';
|
|
8976
|
+
|
|
8977
|
+
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
8978
|
+
var re1 = /a/,
|
|
8979
|
+
re2 = /b*/g;
|
|
8980
|
+
nativeExec.call(re1, 'a');
|
|
8981
|
+
nativeExec.call(re2, 'a');
|
|
8982
|
+
return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
|
|
8983
|
+
})();
|
|
8984
|
+
|
|
8985
|
+
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
|
8986
|
+
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
|
|
8987
|
+
|
|
8988
|
+
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
|
|
8989
|
+
|
|
8990
|
+
if (PATCH) {
|
|
8991
|
+
patchedExec = function exec(str) {
|
|
8992
|
+
var re = this;
|
|
8993
|
+
var lastIndex, reCopy, match, i;
|
|
8994
|
+
|
|
8995
|
+
if (NPCG_INCLUDED) {
|
|
8996
|
+
reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re));
|
|
8997
|
+
}
|
|
8998
|
+
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
|
|
8999
|
+
|
|
9000
|
+
match = nativeExec.call(re, str);
|
|
9001
|
+
|
|
9002
|
+
if (UPDATES_LAST_INDEX_WRONG && match) {
|
|
9003
|
+
re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;
|
|
9004
|
+
}
|
|
9005
|
+
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
9006
|
+
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
9007
|
+
// for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
|
|
9008
|
+
// eslint-disable-next-line no-loop-func
|
|
9009
|
+
nativeReplace.call(match[0], reCopy, function () {
|
|
9010
|
+
for (i = 1; i < arguments.length - 2; i++) {
|
|
9011
|
+
if (arguments[i] === undefined) match[i] = undefined;
|
|
9012
|
+
}
|
|
9013
|
+
});
|
|
9014
|
+
}
|
|
9015
|
+
|
|
9016
|
+
return match;
|
|
9017
|
+
};
|
|
9018
|
+
}
|
|
9019
|
+
|
|
9020
|
+
module.exports = patchedExec;
|
|
9021
|
+
|
|
9022
|
+
|
|
9023
|
+
/***/ }),
|
|
9024
|
+
|
|
9025
|
+
/***/ "5537":
|
|
9026
|
+
/***/ (function(module, exports, __nested_webpack_require_24687__) {
|
|
9027
|
+
|
|
9028
|
+
var core = __nested_webpack_require_24687__("8378");
|
|
9029
|
+
var global = __nested_webpack_require_24687__("7726");
|
|
9030
|
+
var SHARED = '__core-js_shared__';
|
|
9031
|
+
var store = global[SHARED] || (global[SHARED] = {});
|
|
9032
|
+
|
|
9033
|
+
(module.exports = function (key, value) {
|
|
9034
|
+
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
9035
|
+
})('versions', []).push({
|
|
9036
|
+
version: core.version,
|
|
9037
|
+
mode: __nested_webpack_require_24687__("2d00") ? 'pure' : 'global',
|
|
9038
|
+
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
|
|
9039
|
+
});
|
|
9040
|
+
|
|
9041
|
+
|
|
9042
|
+
/***/ }),
|
|
9043
|
+
|
|
9044
|
+
/***/ "5ca1":
|
|
9045
|
+
/***/ (function(module, exports, __nested_webpack_require_25220__) {
|
|
9046
|
+
|
|
9047
|
+
var global = __nested_webpack_require_25220__("7726");
|
|
9048
|
+
var core = __nested_webpack_require_25220__("8378");
|
|
9049
|
+
var hide = __nested_webpack_require_25220__("32e9");
|
|
9050
|
+
var redefine = __nested_webpack_require_25220__("2aba");
|
|
9051
|
+
var ctx = __nested_webpack_require_25220__("9b43");
|
|
9052
|
+
var PROTOTYPE = 'prototype';
|
|
9053
|
+
|
|
9054
|
+
var $export = function (type, name, source) {
|
|
9055
|
+
var IS_FORCED = type & $export.F;
|
|
9056
|
+
var IS_GLOBAL = type & $export.G;
|
|
9057
|
+
var IS_STATIC = type & $export.S;
|
|
9058
|
+
var IS_PROTO = type & $export.P;
|
|
9059
|
+
var IS_BIND = type & $export.B;
|
|
9060
|
+
var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
|
|
9061
|
+
var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
|
|
9062
|
+
var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
|
|
9063
|
+
var key, own, out, exp;
|
|
9064
|
+
if (IS_GLOBAL) source = name;
|
|
9065
|
+
for (key in source) {
|
|
9066
|
+
// contains in native
|
|
9067
|
+
own = !IS_FORCED && target && target[key] !== undefined;
|
|
9068
|
+
// export native or passed
|
|
9069
|
+
out = (own ? target : source)[key];
|
|
9070
|
+
// bind timers to global for call from export context
|
|
9071
|
+
exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
|
|
9072
|
+
// extend global
|
|
9073
|
+
if (target) redefine(target, key, out, type & $export.U);
|
|
9074
|
+
// export
|
|
9075
|
+
if (exports[key] != out) hide(exports, key, exp);
|
|
9076
|
+
if (IS_PROTO && expProto[key] != out) expProto[key] = out;
|
|
9077
|
+
}
|
|
9078
|
+
};
|
|
9079
|
+
global.core = core;
|
|
9080
|
+
// type bitmap
|
|
9081
|
+
$export.F = 1; // forced
|
|
9082
|
+
$export.G = 2; // global
|
|
9083
|
+
$export.S = 4; // static
|
|
9084
|
+
$export.P = 8; // proto
|
|
9085
|
+
$export.B = 16; // bind
|
|
9086
|
+
$export.W = 32; // wrap
|
|
9087
|
+
$export.U = 64; // safe
|
|
9088
|
+
$export.R = 128; // real proto method for `library`
|
|
9089
|
+
module.exports = $export;
|
|
9090
|
+
|
|
9091
|
+
|
|
9092
|
+
/***/ }),
|
|
9093
|
+
|
|
9094
|
+
/***/ "5f1b":
|
|
9095
|
+
/***/ (function(module, exports, __nested_webpack_require_26945__) {
|
|
9096
|
+
|
|
9097
|
+
"use strict";
|
|
9098
|
+
|
|
9099
|
+
|
|
9100
|
+
var classof = __nested_webpack_require_26945__("23c6");
|
|
9101
|
+
var builtinExec = RegExp.prototype.exec;
|
|
9102
|
+
|
|
9103
|
+
// `RegExpExec` abstract operation
|
|
9104
|
+
// https://tc39.github.io/ecma262/#sec-regexpexec
|
|
9105
|
+
module.exports = function (R, S) {
|
|
9106
|
+
var exec = R.exec;
|
|
9107
|
+
if (typeof exec === 'function') {
|
|
9108
|
+
var result = exec.call(R, S);
|
|
9109
|
+
if (typeof result !== 'object') {
|
|
9110
|
+
throw new TypeError('RegExp exec method returned something other than an Object or null');
|
|
9111
|
+
}
|
|
9112
|
+
return result;
|
|
9113
|
+
}
|
|
9114
|
+
if (classof(R) !== 'RegExp') {
|
|
9115
|
+
throw new TypeError('RegExp#exec called on incompatible receiver');
|
|
9116
|
+
}
|
|
9117
|
+
return builtinExec.call(R, S);
|
|
9118
|
+
};
|
|
9119
|
+
|
|
9120
|
+
|
|
9121
|
+
/***/ }),
|
|
9122
|
+
|
|
9123
|
+
/***/ "69a8":
|
|
9124
|
+
/***/ (function(module, exports) {
|
|
9125
|
+
|
|
9126
|
+
var hasOwnProperty = {}.hasOwnProperty;
|
|
9127
|
+
module.exports = function (it, key) {
|
|
9128
|
+
return hasOwnProperty.call(it, key);
|
|
9129
|
+
};
|
|
9130
|
+
|
|
9131
|
+
|
|
9132
|
+
/***/ }),
|
|
9133
|
+
|
|
9134
|
+
/***/ "6a99":
|
|
9135
|
+
/***/ (function(module, exports, __nested_webpack_require_27834__) {
|
|
9136
|
+
|
|
9137
|
+
// 7.1.1 ToPrimitive(input [, PreferredType])
|
|
9138
|
+
var isObject = __nested_webpack_require_27834__("d3f4");
|
|
9139
|
+
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
|
|
9140
|
+
// and the second argument - flag - preferred type is a string
|
|
9141
|
+
module.exports = function (it, S) {
|
|
9142
|
+
if (!isObject(it)) return it;
|
|
9143
|
+
var fn, val;
|
|
9144
|
+
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
|
|
9145
|
+
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
|
|
9146
|
+
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
|
|
9147
|
+
throw TypeError("Can't convert object to primitive value");
|
|
9148
|
+
};
|
|
9149
|
+
|
|
9150
|
+
|
|
9151
|
+
/***/ }),
|
|
9152
|
+
|
|
9153
|
+
/***/ "7726":
|
|
9154
|
+
/***/ (function(module, exports) {
|
|
9155
|
+
|
|
9156
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
9157
|
+
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
|
9158
|
+
? window : typeof self != 'undefined' && self.Math == Math ? self
|
|
9159
|
+
// eslint-disable-next-line no-new-func
|
|
9160
|
+
: Function('return this')();
|
|
9161
|
+
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
|
9162
|
+
|
|
9163
|
+
|
|
9164
|
+
/***/ }),
|
|
9165
|
+
|
|
9166
|
+
/***/ "79e5":
|
|
9167
|
+
/***/ (function(module, exports) {
|
|
9168
|
+
|
|
9169
|
+
module.exports = function (exec) {
|
|
9170
|
+
try {
|
|
9171
|
+
return !!exec();
|
|
9172
|
+
} catch (e) {
|
|
9173
|
+
return true;
|
|
9174
|
+
}
|
|
9175
|
+
};
|
|
9176
|
+
|
|
9177
|
+
|
|
9178
|
+
/***/ }),
|
|
9179
|
+
|
|
9180
|
+
/***/ "7f7f":
|
|
9181
|
+
/***/ (function(module, exports, __nested_webpack_require_29176__) {
|
|
9182
|
+
|
|
9183
|
+
var dP = __nested_webpack_require_29176__("86cc").f;
|
|
9184
|
+
var FProto = Function.prototype;
|
|
9185
|
+
var nameRE = /^\s*function ([^ (]*)/;
|
|
9186
|
+
var NAME = 'name';
|
|
9187
|
+
|
|
9188
|
+
// 19.2.4.2 name
|
|
9189
|
+
NAME in FProto || __nested_webpack_require_29176__("9e1e") && dP(FProto, NAME, {
|
|
9190
|
+
configurable: true,
|
|
9191
|
+
get: function () {
|
|
9192
|
+
try {
|
|
9193
|
+
return ('' + this).match(nameRE)[1];
|
|
9194
|
+
} catch (e) {
|
|
9195
|
+
return '';
|
|
9196
|
+
}
|
|
9197
|
+
}
|
|
9198
|
+
});
|
|
9199
|
+
|
|
9200
|
+
|
|
9201
|
+
/***/ }),
|
|
9202
|
+
|
|
9203
|
+
/***/ "8378":
|
|
9204
|
+
/***/ (function(module, exports) {
|
|
9205
|
+
|
|
9206
|
+
var core = module.exports = { version: '2.6.5' };
|
|
9207
|
+
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
|
9208
|
+
|
|
9209
|
+
|
|
9210
|
+
/***/ }),
|
|
9211
|
+
|
|
9212
|
+
/***/ "86cc":
|
|
9213
|
+
/***/ (function(module, exports, __nested_webpack_require_29806__) {
|
|
9214
|
+
|
|
9215
|
+
var anObject = __nested_webpack_require_29806__("cb7c");
|
|
9216
|
+
var IE8_DOM_DEFINE = __nested_webpack_require_29806__("c69a");
|
|
9217
|
+
var toPrimitive = __nested_webpack_require_29806__("6a99");
|
|
9218
|
+
var dP = Object.defineProperty;
|
|
9219
|
+
|
|
9220
|
+
exports.f = __nested_webpack_require_29806__("9e1e") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
|
9221
|
+
anObject(O);
|
|
9222
|
+
P = toPrimitive(P, true);
|
|
9223
|
+
anObject(Attributes);
|
|
9224
|
+
if (IE8_DOM_DEFINE) try {
|
|
9225
|
+
return dP(O, P, Attributes);
|
|
9226
|
+
} catch (e) { /* empty */ }
|
|
9227
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
9228
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
9229
|
+
return O;
|
|
9230
|
+
};
|
|
9231
|
+
|
|
9232
|
+
|
|
9233
|
+
/***/ }),
|
|
9234
|
+
|
|
9235
|
+
/***/ "9b43":
|
|
9236
|
+
/***/ (function(module, exports, __nested_webpack_require_30496__) {
|
|
9237
|
+
|
|
9238
|
+
// optional / simple context binding
|
|
9239
|
+
var aFunction = __nested_webpack_require_30496__("d8e8");
|
|
9240
|
+
module.exports = function (fn, that, length) {
|
|
9241
|
+
aFunction(fn);
|
|
9242
|
+
if (that === undefined) return fn;
|
|
9243
|
+
switch (length) {
|
|
9244
|
+
case 1: return function (a) {
|
|
9245
|
+
return fn.call(that, a);
|
|
9246
|
+
};
|
|
9247
|
+
case 2: return function (a, b) {
|
|
9248
|
+
return fn.call(that, a, b);
|
|
9249
|
+
};
|
|
9250
|
+
case 3: return function (a, b, c) {
|
|
9251
|
+
return fn.call(that, a, b, c);
|
|
9252
|
+
};
|
|
9253
|
+
}
|
|
9254
|
+
return function (/* ...args */) {
|
|
9255
|
+
return fn.apply(that, arguments);
|
|
9256
|
+
};
|
|
9257
|
+
};
|
|
9258
|
+
|
|
9259
|
+
|
|
9260
|
+
/***/ }),
|
|
9261
|
+
|
|
9262
|
+
/***/ "9def":
|
|
9263
|
+
/***/ (function(module, exports, __nested_webpack_require_31103__) {
|
|
9264
|
+
|
|
9265
|
+
// 7.1.15 ToLength
|
|
9266
|
+
var toInteger = __nested_webpack_require_31103__("4588");
|
|
9267
|
+
var min = Math.min;
|
|
9268
|
+
module.exports = function (it) {
|
|
9269
|
+
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
|
|
9270
|
+
};
|
|
9271
|
+
|
|
9272
|
+
|
|
9273
|
+
/***/ }),
|
|
9274
|
+
|
|
9275
|
+
/***/ "9e1e":
|
|
9276
|
+
/***/ (function(module, exports, __nested_webpack_require_31405__) {
|
|
9277
|
+
|
|
9278
|
+
// Thank's IE8 for his funny defineProperty
|
|
9279
|
+
module.exports = !__nested_webpack_require_31405__("79e5")(function () {
|
|
9280
|
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
9281
|
+
});
|
|
9282
|
+
|
|
9283
|
+
|
|
9284
|
+
/***/ }),
|
|
9285
|
+
|
|
9286
|
+
/***/ "a481":
|
|
9287
|
+
/***/ (function(module, exports, __nested_webpack_require_31681__) {
|
|
9288
|
+
|
|
9289
|
+
"use strict";
|
|
9290
|
+
|
|
9291
|
+
|
|
9292
|
+
var anObject = __nested_webpack_require_31681__("cb7c");
|
|
9293
|
+
var toObject = __nested_webpack_require_31681__("4bf8");
|
|
9294
|
+
var toLength = __nested_webpack_require_31681__("9def");
|
|
9295
|
+
var toInteger = __nested_webpack_require_31681__("4588");
|
|
9296
|
+
var advanceStringIndex = __nested_webpack_require_31681__("0390");
|
|
9297
|
+
var regExpExec = __nested_webpack_require_31681__("5f1b");
|
|
9298
|
+
var max = Math.max;
|
|
9299
|
+
var min = Math.min;
|
|
9300
|
+
var floor = Math.floor;
|
|
9301
|
+
var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
|
|
9302
|
+
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
|
|
9303
|
+
|
|
9304
|
+
var maybeToString = function (it) {
|
|
9305
|
+
return it === undefined ? it : String(it);
|
|
9306
|
+
};
|
|
9307
|
+
|
|
9308
|
+
// @@replace logic
|
|
9309
|
+
__nested_webpack_require_31681__("214f")('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
|
|
9310
|
+
return [
|
|
9311
|
+
// `String.prototype.replace` method
|
|
9312
|
+
// https://tc39.github.io/ecma262/#sec-string.prototype.replace
|
|
9313
|
+
function replace(searchValue, replaceValue) {
|
|
9314
|
+
var O = defined(this);
|
|
9315
|
+
var fn = searchValue == undefined ? undefined : searchValue[REPLACE];
|
|
9316
|
+
return fn !== undefined
|
|
9317
|
+
? fn.call(searchValue, O, replaceValue)
|
|
9318
|
+
: $replace.call(String(O), searchValue, replaceValue);
|
|
9319
|
+
},
|
|
9320
|
+
// `RegExp.prototype[@@replace]` method
|
|
9321
|
+
// https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
|
|
9322
|
+
function (regexp, replaceValue) {
|
|
9323
|
+
var res = maybeCallNative($replace, regexp, this, replaceValue);
|
|
9324
|
+
if (res.done) return res.value;
|
|
9325
|
+
|
|
9326
|
+
var rx = anObject(regexp);
|
|
9327
|
+
var S = String(this);
|
|
9328
|
+
var functionalReplace = typeof replaceValue === 'function';
|
|
9329
|
+
if (!functionalReplace) replaceValue = String(replaceValue);
|
|
9330
|
+
var global = rx.global;
|
|
9331
|
+
if (global) {
|
|
9332
|
+
var fullUnicode = rx.unicode;
|
|
9333
|
+
rx.lastIndex = 0;
|
|
9334
|
+
}
|
|
9335
|
+
var results = [];
|
|
9336
|
+
while (true) {
|
|
9337
|
+
var result = regExpExec(rx, S);
|
|
9338
|
+
if (result === null) break;
|
|
9339
|
+
results.push(result);
|
|
9340
|
+
if (!global) break;
|
|
9341
|
+
var matchStr = String(result[0]);
|
|
9342
|
+
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
9343
|
+
}
|
|
9344
|
+
var accumulatedResult = '';
|
|
9345
|
+
var nextSourcePosition = 0;
|
|
9346
|
+
for (var i = 0; i < results.length; i++) {
|
|
9347
|
+
result = results[i];
|
|
9348
|
+
var matched = String(result[0]);
|
|
9349
|
+
var position = max(min(toInteger(result.index), S.length), 0);
|
|
9350
|
+
var captures = [];
|
|
9351
|
+
// NOTE: This is equivalent to
|
|
9352
|
+
// captures = result.slice(1).map(maybeToString)
|
|
9353
|
+
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
9354
|
+
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
|
9355
|
+
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
|
9356
|
+
for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
|
|
9357
|
+
var namedCaptures = result.groups;
|
|
9358
|
+
if (functionalReplace) {
|
|
9359
|
+
var replacerArgs = [matched].concat(captures, position, S);
|
|
9360
|
+
if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
|
|
9361
|
+
var replacement = String(replaceValue.apply(undefined, replacerArgs));
|
|
9362
|
+
} else {
|
|
9363
|
+
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
9364
|
+
}
|
|
9365
|
+
if (position >= nextSourcePosition) {
|
|
9366
|
+
accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
|
|
9367
|
+
nextSourcePosition = position + matched.length;
|
|
9368
|
+
}
|
|
9369
|
+
}
|
|
9370
|
+
return accumulatedResult + S.slice(nextSourcePosition);
|
|
9371
|
+
}
|
|
9372
|
+
];
|
|
9373
|
+
|
|
9374
|
+
// https://tc39.github.io/ecma262/#sec-getsubstitution
|
|
9375
|
+
function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
|
|
9376
|
+
var tailPos = position + matched.length;
|
|
9377
|
+
var m = captures.length;
|
|
9378
|
+
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
|
9379
|
+
if (namedCaptures !== undefined) {
|
|
9380
|
+
namedCaptures = toObject(namedCaptures);
|
|
9381
|
+
symbols = SUBSTITUTION_SYMBOLS;
|
|
9382
|
+
}
|
|
9383
|
+
return $replace.call(replacement, symbols, function (match, ch) {
|
|
9384
|
+
var capture;
|
|
9385
|
+
switch (ch.charAt(0)) {
|
|
9386
|
+
case '$': return '$';
|
|
9387
|
+
case '&': return matched;
|
|
9388
|
+
case '`': return str.slice(0, position);
|
|
9389
|
+
case "'": return str.slice(tailPos);
|
|
9390
|
+
case '<':
|
|
9391
|
+
capture = namedCaptures[ch.slice(1, -1)];
|
|
9392
|
+
break;
|
|
9393
|
+
default: // \d\d?
|
|
9394
|
+
var n = +ch;
|
|
9395
|
+
if (n === 0) return match;
|
|
9396
|
+
if (n > m) {
|
|
9397
|
+
var f = floor(n / 10);
|
|
9398
|
+
if (f === 0) return match;
|
|
9399
|
+
if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
|
|
9400
|
+
return match;
|
|
9401
|
+
}
|
|
9402
|
+
capture = captures[n - 1];
|
|
9403
|
+
}
|
|
9404
|
+
return capture === undefined ? '' : capture;
|
|
9405
|
+
});
|
|
9406
|
+
}
|
|
9407
|
+
});
|
|
9408
|
+
|
|
9409
|
+
|
|
9410
|
+
/***/ }),
|
|
9411
|
+
|
|
9412
|
+
/***/ "b0c5":
|
|
9413
|
+
/***/ (function(module, exports, __nested_webpack_require_36427__) {
|
|
9414
|
+
|
|
9415
|
+
"use strict";
|
|
9416
|
+
|
|
9417
|
+
var regexpExec = __nested_webpack_require_36427__("520a");
|
|
9418
|
+
__nested_webpack_require_36427__("5ca1")({
|
|
9419
|
+
target: 'RegExp',
|
|
9420
|
+
proto: true,
|
|
9421
|
+
forced: regexpExec !== /./.exec
|
|
9422
|
+
}, {
|
|
9423
|
+
exec: regexpExec
|
|
9424
|
+
});
|
|
9425
|
+
|
|
9426
|
+
|
|
9427
|
+
/***/ }),
|
|
9428
|
+
|
|
9429
|
+
/***/ "be13":
|
|
9430
|
+
/***/ (function(module, exports) {
|
|
9431
|
+
|
|
9432
|
+
// 7.2.1 RequireObjectCoercible(argument)
|
|
9433
|
+
module.exports = function (it) {
|
|
9434
|
+
if (it == undefined) throw TypeError("Can't call method on " + it);
|
|
9435
|
+
return it;
|
|
9436
|
+
};
|
|
9437
|
+
|
|
9438
|
+
|
|
9439
|
+
/***/ }),
|
|
9440
|
+
|
|
9441
|
+
/***/ "c4a0":
|
|
9442
|
+
/***/ (function(module, __webpack_exports__, __nested_webpack_require_36936__) {
|
|
9443
|
+
|
|
9444
|
+
"use strict";
|
|
9445
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_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_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_e_vue_contextmenu_vue_vue_type_style_index_0_id_59f58ce6_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_36936__("3974");
|
|
9446
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_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_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_e_vue_contextmenu_vue_vue_type_style_index_0_id_59f58ce6_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_36936__.n(_node_modules_vue_style_loader_index_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_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_e_vue_contextmenu_vue_vue_type_style_index_0_id_59f58ce6_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
9447
|
+
/* unused harmony reexport * */
|
|
9448
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_vue_style_loader_index_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_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_e_vue_contextmenu_vue_vue_type_style_index_0_id_59f58ce6_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
9449
|
+
|
|
9450
|
+
/***/ }),
|
|
9451
|
+
|
|
9452
|
+
/***/ "c69a":
|
|
9453
|
+
/***/ (function(module, exports, __nested_webpack_require_39441__) {
|
|
9454
|
+
|
|
9455
|
+
module.exports = !__nested_webpack_require_39441__("9e1e") && !__nested_webpack_require_39441__("79e5")(function () {
|
|
9456
|
+
return Object.defineProperty(__nested_webpack_require_39441__("230e")('div'), 'a', { get: function () { return 7; } }).a != 7;
|
|
9457
|
+
});
|
|
9458
|
+
|
|
9459
|
+
|
|
9460
|
+
/***/ }),
|
|
9461
|
+
|
|
9462
|
+
/***/ "ca5a":
|
|
9463
|
+
/***/ (function(module, exports) {
|
|
9464
|
+
|
|
9465
|
+
var id = 0;
|
|
9466
|
+
var px = Math.random();
|
|
9467
|
+
module.exports = function (key) {
|
|
9468
|
+
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
|
|
9469
|
+
};
|
|
9470
|
+
|
|
9471
|
+
|
|
9472
|
+
/***/ }),
|
|
9473
|
+
|
|
9474
|
+
/***/ "cb7c":
|
|
9475
|
+
/***/ (function(module, exports, __nested_webpack_require_39962__) {
|
|
9476
|
+
|
|
9477
|
+
var isObject = __nested_webpack_require_39962__("d3f4");
|
|
9478
|
+
module.exports = function (it) {
|
|
9479
|
+
if (!isObject(it)) throw TypeError(it + ' is not an object!');
|
|
9480
|
+
return it;
|
|
9481
|
+
};
|
|
9482
|
+
|
|
9483
|
+
|
|
9484
|
+
/***/ }),
|
|
9485
|
+
|
|
9486
|
+
/***/ "d3f4":
|
|
9487
|
+
/***/ (function(module, exports) {
|
|
9488
|
+
|
|
9489
|
+
module.exports = function (it) {
|
|
9490
|
+
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
|
9491
|
+
};
|
|
9492
|
+
|
|
9493
|
+
|
|
9494
|
+
/***/ }),
|
|
9495
|
+
|
|
9496
|
+
/***/ "d5fa":
|
|
9497
|
+
/***/ (function(module, exports, __nested_webpack_require_40377__) {
|
|
9498
|
+
|
|
9499
|
+
exports = module.exports = __nested_webpack_require_40377__("2350")(false);
|
|
9500
|
+
// imports
|
|
9501
|
+
|
|
9502
|
+
|
|
9503
|
+
// module
|
|
9504
|
+
exports.push([module.i, ".ctx-menu-container[data-v-59f58ce6]{position:fixed;padding:0;top:100%;left:0;z-index:1000;display:block;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:.9rem;color:#373a3c;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;-webkit-box-shadow:0 0 5px #ccc;box-shadow:0 0 5px #ccc}", ""]);
|
|
9505
|
+
|
|
9506
|
+
// exports
|
|
9507
|
+
|
|
9508
|
+
|
|
9509
|
+
/***/ }),
|
|
9510
|
+
|
|
9511
|
+
/***/ "d8e8":
|
|
9512
|
+
/***/ (function(module, exports) {
|
|
9513
|
+
|
|
9514
|
+
module.exports = function (it) {
|
|
9515
|
+
if (typeof it != 'function') throw TypeError(it + ' is not a function!');
|
|
9516
|
+
return it;
|
|
9517
|
+
};
|
|
9518
|
+
|
|
9519
|
+
|
|
9520
|
+
/***/ }),
|
|
9521
|
+
|
|
9522
|
+
/***/ "fa5b":
|
|
9523
|
+
/***/ (function(module, exports, __nested_webpack_require_41200__) {
|
|
9524
|
+
|
|
9525
|
+
module.exports = __nested_webpack_require_41200__("5537")('native-function-to-string', Function.toString);
|
|
9526
|
+
|
|
9527
|
+
|
|
9528
|
+
/***/ }),
|
|
9529
|
+
|
|
9530
|
+
/***/ "fb15":
|
|
9531
|
+
/***/ (function(module, __nested_webpack_exports__, __nested_webpack_require_41390__) {
|
|
9532
|
+
|
|
9533
|
+
"use strict";
|
|
9534
|
+
__nested_webpack_require_41390__.r(__nested_webpack_exports__);
|
|
9535
|
+
|
|
9536
|
+
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
9537
|
+
// This file is imported into lib/wc client bundles.
|
|
9538
|
+
|
|
9539
|
+
if (typeof window !== 'undefined') {
|
|
9540
|
+
var i
|
|
9541
|
+
if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
|
|
9542
|
+
__nested_webpack_require_41390__.p = i[1] // eslint-disable-line
|
|
9543
|
+
}
|
|
9544
|
+
}
|
|
9545
|
+
|
|
9546
|
+
// Indicate to webpack that this file can be concatenated
|
|
9547
|
+
/* harmony default export */ var setPublicPath = (null);
|
|
9548
|
+
|
|
9549
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.function.name.js
|
|
9550
|
+
var es6_function_name = __nested_webpack_require_41390__("7f7f");
|
|
9551
|
+
|
|
9552
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1dcdf57b-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/e-vue-contextmenu/e-vue-contextmenu.vue?vue&type=template&id=59f58ce6&scoped=true&
|
|
9553
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"contextMenu",staticClass:"ctx-menu-container",style:(_vm.ctxStyle)},[_vm._t("default")],2)}
|
|
9554
|
+
var staticRenderFns = []
|
|
9555
|
+
|
|
9556
|
+
|
|
9557
|
+
// CONCATENATED MODULE: ./packages/e-vue-contextmenu/e-vue-contextmenu.vue?vue&type=template&id=59f58ce6&scoped=true&
|
|
9558
|
+
|
|
9559
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.replace.js
|
|
9560
|
+
var es6_regexp_replace = __nested_webpack_require_41390__("a481");
|
|
9561
|
+
|
|
9562
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/e-vue-contextmenu/e-vue-contextmenu.vue?vue&type=script&lang=js&
|
|
9563
|
+
|
|
9564
|
+
//
|
|
9565
|
+
//
|
|
9566
|
+
//
|
|
9567
|
+
//
|
|
9568
|
+
//
|
|
9569
|
+
//
|
|
9570
|
+
|
|
9571
|
+
/**
|
|
9572
|
+
* 第一步:实现点击出现
|
|
9573
|
+
* 第二步:出现在点击鼠标位置
|
|
9574
|
+
* 第三步:点击其他地方隐藏
|
|
9575
|
+
*/
|
|
9576
|
+
/* harmony default export */ var e_vue_contextmenuvue_type_script_lang_js_ = ({
|
|
9577
|
+
name: "e-vue-contextmenu",
|
|
9578
|
+
data: function data() {
|
|
9579
|
+
return {
|
|
9580
|
+
locals: {},
|
|
9581
|
+
ctxVisible: false,
|
|
9582
|
+
// 控制菜单显示隐藏
|
|
9583
|
+
ctxTop: 0,
|
|
9584
|
+
ctxLeft: 0
|
|
9585
|
+
};
|
|
9586
|
+
},
|
|
9587
|
+
// 监听计算属性,变量只要发生变化都会调用
|
|
9588
|
+
computed: {
|
|
9589
|
+
ctxStyle: function ctxStyle() {
|
|
9590
|
+
return {
|
|
9591
|
+
display: this.ctxVisible ? "block" : "none",
|
|
9592
|
+
top: (this.ctxTop || 0) + "px",
|
|
9593
|
+
left: (this.ctxLeft || 0) + "px"
|
|
9594
|
+
};
|
|
9595
|
+
}
|
|
9596
|
+
},
|
|
9597
|
+
methods: {
|
|
9598
|
+
// 全局监听事件
|
|
9599
|
+
addListener: function addListener() {
|
|
9600
|
+
window.addEventListener("click", this._onclick, true);
|
|
9601
|
+
},
|
|
9602
|
+
// 取消全局监听
|
|
9603
|
+
removerListener: function removerListener() {
|
|
9604
|
+
window.removeEventListener("click", this._onclick, true);
|
|
9605
|
+
},
|
|
9606
|
+
// 设置位置
|
|
9607
|
+
|
|
9608
|
+
/*
|
|
9609
|
+
* this function handles some cross-browser compat issues
|
|
9610
|
+
* thanks to https://github.com/callmenick/Custom-Context-Menu
|
|
9611
|
+
*/
|
|
9612
|
+
setPosition: function setPosition(e) {
|
|
9613
|
+
var _this = this;
|
|
9614
|
+
|
|
9615
|
+
e = e || window.event;
|
|
9616
|
+
var scrollingElement = document.scrollingElement || document.documentElement;
|
|
9617
|
+
|
|
9618
|
+
if (e.pageX || e.pageY) {
|
|
9619
|
+
this.ctxLeft = e.pageX;
|
|
9620
|
+
this.ctxTop = e.pageY - scrollingElement.scrollTop;
|
|
9621
|
+
} else if (e.clientX || e.clientY) {
|
|
9622
|
+
this.ctxLeft = e.clientX + scrollingElement.scrollLeft;
|
|
9623
|
+
this.ctxTop = e.clientY + scrollingElement.scrollTop;
|
|
9624
|
+
}
|
|
9625
|
+
|
|
9626
|
+
this.$nextTick(function () {
|
|
9627
|
+
var menu = _this.$el;
|
|
9628
|
+
var minHeight = (menu.style.minHeight || menu.style.height).replace("px", "") || 32;
|
|
9629
|
+
var minWidth = (menu.style.minWidth || menu.style.width).replace("px", "") || 32;
|
|
9630
|
+
var scrollHeight = menu.scrollHeight || minHeight;
|
|
9631
|
+
var scrollWidth = menu.scrollWidth || minWidth;
|
|
9632
|
+
var largestHeight = window.innerHeight - scrollHeight - 25;
|
|
9633
|
+
var largestWidth = window.innerWidth - scrollWidth - 25;
|
|
9634
|
+
if (_this.ctxTop > largestHeight) _this.ctxTop = largestHeight;
|
|
9635
|
+
if (_this.ctxLeft > largestWidth) _this.ctxLeft = largestWidth;
|
|
9636
|
+
});
|
|
9637
|
+
return e;
|
|
9638
|
+
},
|
|
9639
|
+
showMenu: function showMenu(e, data) {
|
|
9640
|
+
this.ctxVisible = true;
|
|
9641
|
+
this.setPosition(e);
|
|
9642
|
+
this.$emit("ctx-show", this.locals = data || {});
|
|
9643
|
+
this.addListener();
|
|
9644
|
+
},
|
|
9645
|
+
// 全局监听点击
|
|
9646
|
+
_onclick: function _onclick(e) {
|
|
9647
|
+
e = e || window.event;
|
|
9648
|
+
var isOpen = !!this.ctxVisible;
|
|
9649
|
+
var outsideClick = isOpen && !this.$el.contains(e.target);
|
|
9650
|
+
|
|
9651
|
+
if (outsideClick) {
|
|
9652
|
+
this.ctxVisible = false;
|
|
9653
|
+
this.$emit("ctx-hide", this.locals || {});
|
|
9654
|
+
this.removerListener();
|
|
9655
|
+
}
|
|
9656
|
+
},
|
|
9657
|
+
|
|
9658
|
+
/**
|
|
9659
|
+
* 隐藏菜单
|
|
9660
|
+
*/
|
|
9661
|
+
hideMenu: function hideMenu() {
|
|
9662
|
+
this.ctxVisible = false;
|
|
9663
|
+
}
|
|
9664
|
+
}
|
|
9665
|
+
});
|
|
9666
|
+
// CONCATENATED MODULE: ./packages/e-vue-contextmenu/e-vue-contextmenu.vue?vue&type=script&lang=js&
|
|
9667
|
+
/* harmony default export */ var e_vue_contextmenu_e_vue_contextmenuvue_type_script_lang_js_ = (e_vue_contextmenuvue_type_script_lang_js_);
|
|
9668
|
+
// EXTERNAL MODULE: ./packages/e-vue-contextmenu/e-vue-contextmenu.vue?vue&type=style&index=0&id=59f58ce6&lang=scss&scoped=true&
|
|
9669
|
+
var e_vue_contextmenuvue_type_style_index_0_id_59f58ce6_lang_scss_scoped_true_ = __nested_webpack_require_41390__("c4a0");
|
|
9670
|
+
|
|
9671
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
9672
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
9673
|
+
|
|
9674
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
9675
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
9676
|
+
// be included in the final webpack user bundle.
|
|
9677
|
+
|
|
9678
|
+
function normalizeComponent (
|
|
9679
|
+
scriptExports,
|
|
9680
|
+
render,
|
|
9681
|
+
staticRenderFns,
|
|
9682
|
+
functionalTemplate,
|
|
9683
|
+
injectStyles,
|
|
9684
|
+
scopeId,
|
|
9685
|
+
moduleIdentifier, /* server only */
|
|
9686
|
+
shadowMode /* vue-cli only */
|
|
9687
|
+
) {
|
|
9688
|
+
// Vue.extend constructor export interop
|
|
9689
|
+
var options = typeof scriptExports === 'function'
|
|
9690
|
+
? scriptExports.options
|
|
9691
|
+
: scriptExports
|
|
9692
|
+
|
|
9693
|
+
// render functions
|
|
9694
|
+
if (render) {
|
|
9695
|
+
options.render = render
|
|
9696
|
+
options.staticRenderFns = staticRenderFns
|
|
9697
|
+
options._compiled = true
|
|
9698
|
+
}
|
|
9699
|
+
|
|
9700
|
+
// functional template
|
|
9701
|
+
if (functionalTemplate) {
|
|
9702
|
+
options.functional = true
|
|
9703
|
+
}
|
|
9704
|
+
|
|
9705
|
+
// scopedId
|
|
9706
|
+
if (scopeId) {
|
|
9707
|
+
options._scopeId = 'data-v-' + scopeId
|
|
9708
|
+
}
|
|
9709
|
+
|
|
9710
|
+
var hook
|
|
9711
|
+
if (moduleIdentifier) { // server build
|
|
9712
|
+
hook = function (context) {
|
|
9713
|
+
// 2.3 injection
|
|
9714
|
+
context =
|
|
9715
|
+
context || // cached call
|
|
9716
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
9717
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
9718
|
+
// 2.2 with runInNewContext: true
|
|
9719
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
9720
|
+
context = __VUE_SSR_CONTEXT__
|
|
9721
|
+
}
|
|
9722
|
+
// inject component styles
|
|
9723
|
+
if (injectStyles) {
|
|
9724
|
+
injectStyles.call(this, context)
|
|
9725
|
+
}
|
|
9726
|
+
// register component module identifier for async chunk inferrence
|
|
9727
|
+
if (context && context._registeredComponents) {
|
|
9728
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
9729
|
+
}
|
|
9730
|
+
}
|
|
9731
|
+
// used by ssr in case component is cached and beforeCreate
|
|
9732
|
+
// never gets called
|
|
9733
|
+
options._ssrRegister = hook
|
|
9734
|
+
} else if (injectStyles) {
|
|
9735
|
+
hook = shadowMode
|
|
9736
|
+
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
|
9737
|
+
: injectStyles
|
|
9738
|
+
}
|
|
9739
|
+
|
|
9740
|
+
if (hook) {
|
|
9741
|
+
if (options.functional) {
|
|
9742
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
9743
|
+
// go through the normalizer
|
|
9744
|
+
options._injectStyles = hook
|
|
9745
|
+
// register for functioal component in vue file
|
|
9746
|
+
var originalRender = options.render
|
|
9747
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
9748
|
+
hook.call(context)
|
|
9749
|
+
return originalRender(h, context)
|
|
9750
|
+
}
|
|
9751
|
+
} else {
|
|
9752
|
+
// inject component registration as beforeCreate hook
|
|
9753
|
+
var existing = options.beforeCreate
|
|
9754
|
+
options.beforeCreate = existing
|
|
9755
|
+
? [].concat(existing, hook)
|
|
9756
|
+
: [hook]
|
|
9757
|
+
}
|
|
9758
|
+
}
|
|
9759
|
+
|
|
9760
|
+
return {
|
|
9761
|
+
exports: scriptExports,
|
|
9762
|
+
options: options
|
|
9763
|
+
}
|
|
9764
|
+
}
|
|
9765
|
+
|
|
9766
|
+
// CONCATENATED MODULE: ./packages/e-vue-contextmenu/e-vue-contextmenu.vue
|
|
9767
|
+
|
|
9768
|
+
|
|
9769
|
+
|
|
9770
|
+
|
|
9771
|
+
|
|
9772
|
+
|
|
9773
|
+
/* normalize component */
|
|
9774
|
+
|
|
9775
|
+
var component = normalizeComponent(
|
|
9776
|
+
e_vue_contextmenu_e_vue_contextmenuvue_type_script_lang_js_,
|
|
9777
|
+
render,
|
|
9778
|
+
staticRenderFns,
|
|
9779
|
+
false,
|
|
9780
|
+
null,
|
|
9781
|
+
"59f58ce6",
|
|
9782
|
+
null
|
|
9783
|
+
|
|
9784
|
+
)
|
|
9785
|
+
|
|
9786
|
+
/* harmony default export */ var e_vue_contextmenu = (component.exports);
|
|
9787
|
+
// CONCATENATED MODULE: ./packages/e-vue-contextmenu/index.js
|
|
9788
|
+
|
|
9789
|
+
|
|
9790
|
+
|
|
9791
|
+
e_vue_contextmenu.install = function (vue) {
|
|
9792
|
+
Vue.component(e_vue_contextmenu.name, e_vue_contextmenu);
|
|
9793
|
+
};
|
|
9794
|
+
|
|
9795
|
+
/* harmony default export */ var packages_e_vue_contextmenu = (e_vue_contextmenu);
|
|
9796
|
+
// CONCATENATED MODULE: ./packages/index.js
|
|
9797
|
+
|
|
9798
|
+
|
|
9799
|
+
var components = [packages_e_vue_contextmenu];
|
|
9800
|
+
|
|
9801
|
+
var install = function install(Vue) {
|
|
9802
|
+
if (install['installed']) return;
|
|
9803
|
+
components.map(function (component) {
|
|
9804
|
+
return Vue.component(component.name, component);
|
|
9805
|
+
});
|
|
9806
|
+
}; // 判断是否是直接引入文件
|
|
9807
|
+
|
|
9808
|
+
|
|
9809
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
9810
|
+
install(window.Vue);
|
|
9811
|
+
}
|
|
9812
|
+
|
|
9813
|
+
/* harmony default export */ var packages_0 = ({
|
|
9814
|
+
install: install,
|
|
9815
|
+
EVueContextmenu: packages_e_vue_contextmenu
|
|
9816
|
+
});
|
|
9817
|
+
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
9818
|
+
|
|
9819
|
+
|
|
9820
|
+
/* harmony default export */ var entry_lib = __nested_webpack_exports__["default"] = (packages_0);
|
|
9821
|
+
|
|
9822
|
+
|
|
9823
|
+
|
|
9824
|
+
/***/ })
|
|
9825
|
+
|
|
9826
|
+
/******/ });
|
|
9827
|
+
//# sourceMappingURL=e-vue-contextmenu.common.js.map
|
|
9828
|
+
|
|
8094
9829
|
/***/ }),
|
|
8095
9830
|
|
|
8096
9831
|
/***/ 655:
|
|
@@ -32785,19 +34520,19 @@ var update = add("2f575395", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32785
34520
|
|
|
32786
34521
|
/***/ }),
|
|
32787
34522
|
|
|
32788
|
-
/***/
|
|
34523
|
+
/***/ 519:
|
|
32789
34524
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32790
34525
|
|
|
32791
34526
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32792
34527
|
|
|
32793
34528
|
// load the styles
|
|
32794
|
-
var content = __webpack_require__(
|
|
34529
|
+
var content = __webpack_require__(3371);
|
|
32795
34530
|
if(content.__esModule) content = content.default;
|
|
32796
34531
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32797
34532
|
if(content.locals) module.exports = content.locals;
|
|
32798
34533
|
// add the styles to the DOM
|
|
32799
34534
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32800
|
-
var update = add("
|
|
34535
|
+
var update = add("4a14fe55", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32801
34536
|
|
|
32802
34537
|
/***/ }),
|
|
32803
34538
|
|
|
@@ -32961,19 +34696,19 @@ var update = add("4ed8efa6", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32961
34696
|
|
|
32962
34697
|
/***/ }),
|
|
32963
34698
|
|
|
32964
|
-
/***/
|
|
34699
|
+
/***/ 7882:
|
|
32965
34700
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32966
34701
|
|
|
32967
34702
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32968
34703
|
|
|
32969
34704
|
// load the styles
|
|
32970
|
-
var content = __webpack_require__(
|
|
34705
|
+
var content = __webpack_require__(7566);
|
|
32971
34706
|
if(content.__esModule) content = content.default;
|
|
32972
34707
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32973
34708
|
if(content.locals) module.exports = content.locals;
|
|
32974
34709
|
// add the styles to the DOM
|
|
32975
34710
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32976
|
-
var update = add("
|
|
34711
|
+
var update = add("4ad1dad5", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32977
34712
|
|
|
32978
34713
|
/***/ }),
|
|
32979
34714
|
|
|
@@ -34526,7 +36261,7 @@ webpackContext.id = 2397;
|
|
|
34526
36261
|
|
|
34527
36262
|
var map = {
|
|
34528
36263
|
"./app.js": 5905,
|
|
34529
|
-
"./route.js":
|
|
36264
|
+
"./route.js": 4682,
|
|
34530
36265
|
"./settings.js": 7577,
|
|
34531
36266
|
"./tagsView.js": 7556
|
|
34532
36267
|
};
|
|
@@ -40005,6 +41740,9 @@ var wfengine_install = function install(Vue) {
|
|
|
40005
41740
|
if ($scope.curTN.staffOrgName) {
|
|
40006
41741
|
$scope.curTN.staffOrgShortName = $scope.curTN.staffOrgName.substring($scope.curTN.staffOrgName.indexOf('-') + 1);
|
|
40007
41742
|
}
|
|
41743
|
+
if ($scope.$route.query.wfNodelogId && $scope.$route.query.wfNodelogId !== $scope.curTN.tnID) {
|
|
41744
|
+
$scope.$route.query.wfNodelogId = $scope.curTN.tnID;
|
|
41745
|
+
}
|
|
40008
41746
|
$scope.wfJsonData = $scope.wfInstance.passenger.wfJsonData;
|
|
40009
41747
|
if (typeof $scope.wfJsonData === 'string') {
|
|
40010
41748
|
$scope.wfJsonData = JSON.parse($scope.wfJsonData);
|
|
@@ -40944,41 +42682,48 @@ var wfengine_install = function install(Vue) {
|
|
|
40944
42682
|
checkPrarllelTodoCount: function checkPrarllelTodoCount($scope, params) {
|
|
40945
42683
|
var _this4 = this;
|
|
40946
42684
|
return new Promise(function (resole) {
|
|
40947
|
-
|
|
40948
|
-
|
|
40949
|
-
|
|
40950
|
-
|
|
40951
|
-
|
|
40952
|
-
|
|
40953
|
-
|
|
40954
|
-
|
|
40955
|
-
|
|
40956
|
-
|
|
40957
|
-
|
|
40958
|
-
|
|
40959
|
-
|
|
40960
|
-
|
|
40961
|
-
|
|
40962
|
-
if (res.
|
|
40963
|
-
|
|
40964
|
-
|
|
40965
|
-
|
|
40966
|
-
|
|
40967
|
-
|
|
40968
|
-
|
|
42685
|
+
if ($scope.wfJsonData && $scope.wfJsonData.routes && $scope.wfJsonData.routes.length > 0) {
|
|
42686
|
+
var selRoute = $scope.wfJsonData.routes[$scope.submitHandle.route.index];
|
|
42687
|
+
if ($scope.curTN.passenger.prarllelTodoCount > 1 && selRoute.type === '4') {
|
|
42688
|
+
//检查是否还有其它并行办理人
|
|
42689
|
+
var saveData = {
|
|
42690
|
+
wfInstance: JSON.stringify($scope.wfInstance),
|
|
42691
|
+
curTN: JSON.stringify($scope.curTN)
|
|
42692
|
+
};
|
|
42693
|
+
_this4.$http({
|
|
42694
|
+
method: 'POST',
|
|
42695
|
+
contentType: 'application/x-www-form-urlencoded',
|
|
42696
|
+
data: lib_default().stringify(saveData),
|
|
42697
|
+
params: $scope.$vnode.context.wfParams,
|
|
42698
|
+
url: 'workflow/wfInstance/getUdmNodeUsers'
|
|
42699
|
+
}).then(function (res) {
|
|
42700
|
+
if (res.code === 'success') {
|
|
42701
|
+
if (res.body.prarllelTodoCount === 1) {
|
|
42702
|
+
$scope.$set($scope.curTN.passenger, 'prarllelTodoCount', 1);
|
|
42703
|
+
$scope.$set($scope.wfInstance.passenger, 'udmNodeUsers', res.body.udmNodeUsers);
|
|
42704
|
+
resole({
|
|
42705
|
+
code: 'retry',
|
|
42706
|
+
message: '提交路径不可用,请重试。'
|
|
42707
|
+
});
|
|
42708
|
+
} else {
|
|
42709
|
+
resole({
|
|
42710
|
+
code: 'success',
|
|
42711
|
+
message: '未检测到并行冲突,可继续提交。'
|
|
42712
|
+
});
|
|
42713
|
+
}
|
|
40969
42714
|
} else {
|
|
40970
42715
|
resole({
|
|
40971
|
-
code: '
|
|
40972
|
-
message:
|
|
42716
|
+
code: 'warning',
|
|
42717
|
+
message: res.message
|
|
40973
42718
|
});
|
|
40974
42719
|
}
|
|
40975
|
-
}
|
|
40976
|
-
|
|
40977
|
-
|
|
40978
|
-
|
|
40979
|
-
|
|
40980
|
-
}
|
|
40981
|
-
}
|
|
42720
|
+
});
|
|
42721
|
+
} else {
|
|
42722
|
+
resole({
|
|
42723
|
+
code: 'success',
|
|
42724
|
+
message: '未检测到并行冲突,可继续提交。'
|
|
42725
|
+
});
|
|
42726
|
+
}
|
|
40982
42727
|
} else {
|
|
40983
42728
|
resole({
|
|
40984
42729
|
code: 'success',
|
|
@@ -57164,8 +58909,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
57164
58909
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
57165
58910
|
};
|
|
57166
58911
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
57167
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=
|
|
57168
|
-
var
|
|
58912
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=60e13902&scoped=true
|
|
58913
|
+
var Attachmentvue_type_template_id_60e13902_scoped_true_render = function render() {
|
|
57169
58914
|
var _vm = this,
|
|
57170
58915
|
_c = _vm._self._c;
|
|
57171
58916
|
return _c('div', {
|
|
@@ -57426,7 +59171,7 @@ var Attachmentvue_type_template_id_000b45fc_scoped_true_render = function render
|
|
|
57426
59171
|
}
|
|
57427
59172
|
})], 1) : _vm._e()], 1);
|
|
57428
59173
|
};
|
|
57429
|
-
var
|
|
59174
|
+
var Attachmentvue_type_template_id_60e13902_scoped_true_staticRenderFns = [];
|
|
57430
59175
|
|
|
57431
59176
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
57432
59177
|
function Attachmentvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return Attachmentvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, Attachmentvue_type_script_lang_js_typeof(o); }
|
|
@@ -57792,7 +59537,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57792
59537
|
handleUploadPreview: function handleUploadPreview(attach) {
|
|
57793
59538
|
var _this6 = this;
|
|
57794
59539
|
return Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
57795
|
-
var device, topdf, extName, tSessionId, hostname, downUrl, convertType, appUrl, _tSessionId, _downUrl, WfModule, WFBodyDocId, WFBusiDataId, params, _appUrl, _tSessionId2, _downUrl2, url, fileName;
|
|
59540
|
+
var device, topdf, extName, wfInstance, tSessionId, hostname, downUrl, convertType, appUrl, _tSessionId, _downUrl, WfModule, WFBodyDocId, WFBusiDataId, params, _appUrl, _tSessionId2, _downUrl2, url, fileName;
|
|
57796
59541
|
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
57797
59542
|
while (1) switch (_context.prev = _context.next) {
|
|
57798
59543
|
case 0:
|
|
@@ -57822,8 +59567,15 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57822
59567
|
topdf = true;
|
|
57823
59568
|
}
|
|
57824
59569
|
}
|
|
59570
|
+
if (!topdf) {
|
|
59571
|
+
wfInstance = _this6.$vnode.context.wfInstance || _this6.$vnode.context.$vnode.context.wfInstance;
|
|
59572
|
+
if (wfInstance && wfInstance.passenger && wfInstance.passenger.attachH5CanDownload === 0) {
|
|
59573
|
+
//只能在线预览、不能下载到本地
|
|
59574
|
+
_this6.$toast.fail('文件格式“' + extName + '”不支持在线预览');
|
|
59575
|
+
}
|
|
59576
|
+
}
|
|
57825
59577
|
if (!(_this6.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.ofd'))) {
|
|
57826
|
-
_context.next =
|
|
59578
|
+
_context.next = 22;
|
|
57827
59579
|
break;
|
|
57828
59580
|
}
|
|
57829
59581
|
tSessionId = res.body.tSessionId;
|
|
@@ -57848,11 +59600,11 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57848
59600
|
});
|
|
57849
59601
|
}
|
|
57850
59602
|
}, 'json');
|
|
57851
|
-
_context.next =
|
|
59603
|
+
_context.next = 65;
|
|
57852
59604
|
break;
|
|
57853
|
-
case
|
|
59605
|
+
case 22:
|
|
57854
59606
|
if (!(_this6.viewer === 'wpsh5' && (topdf || extName === '.ofd' || extName === '.wps'))) {
|
|
57855
|
-
_context.next =
|
|
59607
|
+
_context.next = 40;
|
|
57856
59608
|
break;
|
|
57857
59609
|
}
|
|
57858
59610
|
// 打开 wps h5
|
|
@@ -57860,9 +59612,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57860
59612
|
if (appUrl.indexOf('//127') !== -1 || appUrl.indexOf('//192') !== -1) {
|
|
57861
59613
|
appUrl = 'http://toa.ecinc.com.cn:2028/';
|
|
57862
59614
|
}
|
|
57863
|
-
_context.next =
|
|
59615
|
+
_context.next = 27;
|
|
57864
59616
|
return _this6.getSessionId();
|
|
57865
|
-
case
|
|
59617
|
+
case 27:
|
|
57866
59618
|
_tSessionId = _context.sent;
|
|
57867
59619
|
//正文下载地址
|
|
57868
59620
|
_downUrl = appUrl + "/apigw";
|
|
@@ -57902,26 +59654,26 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57902
59654
|
});
|
|
57903
59655
|
}
|
|
57904
59656
|
});
|
|
57905
|
-
_context.next =
|
|
59657
|
+
_context.next = 65;
|
|
57906
59658
|
break;
|
|
57907
|
-
case
|
|
59659
|
+
case 40:
|
|
57908
59660
|
if (!(_this6.viewer === 'fuxin' && (topdf || extName === '.ofd'))) {
|
|
57909
|
-
_context.next =
|
|
59661
|
+
_context.next = 57;
|
|
57910
59662
|
break;
|
|
57911
59663
|
}
|
|
57912
59664
|
_appUrl = location.href.split('#')[0].split('mindex.html')[0]; // url
|
|
57913
|
-
_context.next =
|
|
59665
|
+
_context.next = 44;
|
|
57914
59666
|
return _this6.getSessionId();
|
|
57915
|
-
case
|
|
59667
|
+
case 44:
|
|
57916
59668
|
_tSessionId2 = _context.sent;
|
|
57917
59669
|
if (!(imgType.indexOf(extName.substring(1)) > -1 && window.openImgView)) {
|
|
57918
|
-
_context.next =
|
|
59670
|
+
_context.next = 49;
|
|
57919
59671
|
break;
|
|
57920
59672
|
}
|
|
57921
59673
|
sessionStorage.setItem('IMG_INDEX_' + _this6.vo.id, attach.index);
|
|
57922
59674
|
window.open('#/imgView?wfAttachUrl=' + _this6.wfAttachUrl + '&busiDataId=' + _this6.vo.id);
|
|
57923
59675
|
return _context.abrupt("return");
|
|
57924
|
-
case
|
|
59676
|
+
case 49:
|
|
57925
59677
|
_downUrl2 = _appUrl + "/apigw";
|
|
57926
59678
|
_downUrl2 += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
|
|
57927
59679
|
_downUrl2 += '/downloadById?attachIds=' + attach.id + '&topdf=' + topdf;
|
|
@@ -57947,9 +59699,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57947
59699
|
}
|
|
57948
59700
|
});
|
|
57949
59701
|
}
|
|
57950
|
-
_context.next =
|
|
59702
|
+
_context.next = 65;
|
|
57951
59703
|
break;
|
|
57952
|
-
case
|
|
59704
|
+
case 57:
|
|
57953
59705
|
url = "/apigw";
|
|
57954
59706
|
url += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
|
|
57955
59707
|
url += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
|
|
@@ -57965,7 +59717,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57965
59717
|
}
|
|
57966
59718
|
}
|
|
57967
59719
|
_this6.$mappUtils.downLoadAndOpenFile(_this6, url, fileName, attach.fileRealSize);
|
|
57968
|
-
case
|
|
59720
|
+
case 65:
|
|
57969
59721
|
case "end":
|
|
57970
59722
|
return _context.stop();
|
|
57971
59723
|
}
|
|
@@ -58451,9 +60203,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
58451
60203
|
});
|
|
58452
60204
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
58453
60205
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
58454
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
58455
|
-
var
|
|
58456
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
60206
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=60e13902&prod&scoped=true&lang=scss
|
|
60207
|
+
var Attachmentvue_type_style_index_0_id_60e13902_prod_scoped_true_lang_scss = __webpack_require__(519);
|
|
60208
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=60e13902&prod&scoped=true&lang=scss
|
|
58457
60209
|
|
|
58458
60210
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
58459
60211
|
|
|
@@ -58466,11 +60218,11 @@ var Attachmentvue_type_style_index_0_id_000b45fc_prod_scoped_true_lang_scss = __
|
|
|
58466
60218
|
|
|
58467
60219
|
var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
58468
60220
|
src_Attachmentvue_type_script_lang_js,
|
|
58469
|
-
|
|
58470
|
-
|
|
60221
|
+
Attachmentvue_type_template_id_60e13902_scoped_true_render,
|
|
60222
|
+
Attachmentvue_type_template_id_60e13902_scoped_true_staticRenderFns,
|
|
58471
60223
|
false,
|
|
58472
60224
|
null,
|
|
58473
|
-
"
|
|
60225
|
+
"60e13902",
|
|
58474
60226
|
null
|
|
58475
60227
|
|
|
58476
60228
|
)
|