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.common.js
CHANGED
|
@@ -1399,7 +1399,7 @@ var actions = {
|
|
|
1399
1399
|
|
|
1400
1400
|
/***/ }),
|
|
1401
1401
|
|
|
1402
|
-
/***/
|
|
1402
|
+
/***/ 9103:
|
|
1403
1403
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1404
1404
|
|
|
1405
1405
|
"use strict";
|
|
@@ -1411,6 +1411,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1411
1411
|
"default": function() { return /* binding */ route; }
|
|
1412
1412
|
});
|
|
1413
1413
|
|
|
1414
|
+
// EXTERNAL MODULE: ./node_modules/e-vue-contextmenu/lib/e-vue-contextmenu.common.js
|
|
1415
|
+
var e_vue_contextmenu_common = __webpack_require__(8572);
|
|
1414
1416
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
1415
1417
|
var render = function render() {
|
|
1416
1418
|
var _vm = this,
|
|
@@ -2272,8 +2274,8 @@ var SysSetupvue_type_template_id_2497073a_scoped_true_render = function render()
|
|
|
2272
2274
|
};
|
|
2273
2275
|
var SysSetupvue_type_template_id_2497073a_scoped_true_staticRenderFns = [];
|
|
2274
2276
|
|
|
2275
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
2276
|
-
var
|
|
2277
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
2278
|
+
var MenuItemFormvue_type_template_id_c28e28c6_scoped_true_render = function render() {
|
|
2277
2279
|
var _vm = this,
|
|
2278
2280
|
_c = _vm._self._c;
|
|
2279
2281
|
return _c('el-form', {
|
|
@@ -3404,25 +3406,47 @@ var MenuItemFormvue_type_template_id_0e3e268e_scoped_true_render = function rend
|
|
|
3404
3406
|
expression: "'stageCode'"
|
|
3405
3407
|
}],
|
|
3406
3408
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
3407
|
-
}, [_vm._v("
|
|
3409
|
+
}, [_vm._v("H5是否禁用")]), _c('td', {
|
|
3408
3410
|
staticClass: "el-table__cell tdcont tdw33"
|
|
3409
|
-
}, [_c('el-
|
|
3411
|
+
}, [_c('el-radio-group', {
|
|
3410
3412
|
directives: [{
|
|
3411
3413
|
name: "can-edit",
|
|
3412
3414
|
rawName: "v-can-edit"
|
|
3413
3415
|
}],
|
|
3416
|
+
staticStyle: {
|
|
3417
|
+
"width": "100%"
|
|
3418
|
+
},
|
|
3414
3419
|
attrs: {
|
|
3415
|
-
"name": "
|
|
3416
|
-
"placeholder": _vm.$tx('ecwplat.menuForm.fields.stageCodeEnter', '请输入起始环节编码')
|
|
3420
|
+
"name": "h5Disable"
|
|
3417
3421
|
},
|
|
3418
3422
|
model: {
|
|
3419
|
-
value: _vm.vo.
|
|
3423
|
+
value: _vm.vo.h5Disable,
|
|
3420
3424
|
callback: function callback($$v) {
|
|
3421
|
-
_vm.$set(_vm.vo, "
|
|
3425
|
+
_vm.$set(_vm.vo, "h5Disable", $$v);
|
|
3422
3426
|
},
|
|
3423
|
-
expression: "vo.
|
|
3427
|
+
expression: "vo.h5Disable"
|
|
3428
|
+
}
|
|
3429
|
+
}, [_c('el-radio', {
|
|
3430
|
+
directives: [{
|
|
3431
|
+
name: "field-lbl",
|
|
3432
|
+
rawName: "v-field-lbl",
|
|
3433
|
+
value: 'navOption1',
|
|
3434
|
+
expression: "'navOption1'"
|
|
3435
|
+
}],
|
|
3436
|
+
attrs: {
|
|
3437
|
+
"label": 1
|
|
3424
3438
|
}
|
|
3425
|
-
}
|
|
3439
|
+
}, [_vm._v("禁用")]), _c('el-radio', {
|
|
3440
|
+
directives: [{
|
|
3441
|
+
name: "field-lbl",
|
|
3442
|
+
rawName: "v-field-lbl",
|
|
3443
|
+
value: 'navOption2',
|
|
3444
|
+
expression: "'navOption2'"
|
|
3445
|
+
}],
|
|
3446
|
+
attrs: {
|
|
3447
|
+
"label": 0
|
|
3448
|
+
}
|
|
3449
|
+
}, [_vm._v("不禁用")])], 1)], 1)]) : _vm._e(), _vm.vo.moduleLevel == 1 ? _c('tr', [_c('td', {
|
|
3426
3450
|
directives: [{
|
|
3427
3451
|
name: "field-lbl",
|
|
3428
3452
|
rawName: "v-field-lbl",
|
|
@@ -3747,7 +3771,7 @@ var MenuItemFormvue_type_template_id_0e3e268e_scoped_true_render = function rend
|
|
|
3747
3771
|
}
|
|
3748
3772
|
}, [_c('Icons')], 1) : _vm._e()], 1);
|
|
3749
3773
|
};
|
|
3750
|
-
var
|
|
3774
|
+
var MenuItemFormvue_type_template_id_c28e28c6_scoped_true_staticRenderFns = [];
|
|
3751
3775
|
|
|
3752
3776
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
3753
3777
|
/* harmony default export */ var MenuItemFormvue_type_script_lang_js = ({
|
|
@@ -4080,6 +4104,7 @@ var MenuItemFormvue_type_template_id_0e3e268e_scoped_true_staticRenderFns = [];
|
|
|
4080
4104
|
} else if (this.vo.leafFlag === 1 && (this.vo.target === 'leftMenuItem' || this.vo.target === 'rightLabel')) {
|
|
4081
4105
|
this.vo.target = '';
|
|
4082
4106
|
}
|
|
4107
|
+
this.vo.h5Disable = this.vo.h5Disable || 0;
|
|
4083
4108
|
this.refresh = true;
|
|
4084
4109
|
this.$nextTick(function () {
|
|
4085
4110
|
_this.refresh = false;
|
|
@@ -4163,9 +4188,9 @@ var MenuItemFormvue_type_template_id_0e3e268e_scoped_true_staticRenderFns = [];
|
|
|
4163
4188
|
});
|
|
4164
4189
|
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=script&lang=js
|
|
4165
4190
|
/* harmony default export */ var src_MenuItemFormvue_type_script_lang_js = (MenuItemFormvue_type_script_lang_js);
|
|
4166
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
4167
|
-
var
|
|
4168
|
-
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=
|
|
4191
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
4192
|
+
var MenuItemFormvue_type_style_index_0_id_c28e28c6_prod_scoped_true_lang_scss = __webpack_require__(1512);
|
|
4193
|
+
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=c28e28c6&prod&scoped=true&lang=scss
|
|
4169
4194
|
|
|
4170
4195
|
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue
|
|
4171
4196
|
|
|
@@ -4178,11 +4203,11 @@ var MenuItemFormvue_type_style_index_0_id_0e3e268e_prod_scoped_true_lang_scss =
|
|
|
4178
4203
|
|
|
4179
4204
|
var MenuItemForm_component = (0,componentNormalizer/* default */.A)(
|
|
4180
4205
|
src_MenuItemFormvue_type_script_lang_js,
|
|
4181
|
-
|
|
4182
|
-
|
|
4206
|
+
MenuItemFormvue_type_template_id_c28e28c6_scoped_true_render,
|
|
4207
|
+
MenuItemFormvue_type_template_id_c28e28c6_scoped_true_staticRenderFns,
|
|
4183
4208
|
false,
|
|
4184
4209
|
null,
|
|
4185
|
-
"
|
|
4210
|
+
"c28e28c6",
|
|
4186
4211
|
null
|
|
4187
4212
|
|
|
4188
4213
|
)
|
|
@@ -5635,10 +5660,15 @@ var Module_FrameLoader = FrameLoader;
|
|
|
5635
5660
|
// EXTERNAL MODULE: ./packages/common/websocket/index.js
|
|
5636
5661
|
var websocket = __webpack_require__(1831);
|
|
5637
5662
|
;// CONCATENATED MODULE: ./packages/common/store/modules/wapp/route.js
|
|
5663
|
+
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); }
|
|
5664
|
+
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; }
|
|
5665
|
+
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); }
|
|
5666
|
+
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); }); }; }
|
|
5638
5667
|
var defaultSettings = __webpack_require__(7710);
|
|
5639
5668
|
var showTopMenus = defaultSettings.showTopMenus;
|
|
5640
5669
|
|
|
5641
5670
|
|
|
5671
|
+
|
|
5642
5672
|
var state = {
|
|
5643
5673
|
routes: []
|
|
5644
5674
|
};
|
|
@@ -5651,48 +5681,88 @@ var actions = {
|
|
|
5651
5681
|
generateRoutes: function generateRoutes(_ref, nowf) {
|
|
5652
5682
|
var commit = _ref.commit;
|
|
5653
5683
|
return new Promise(function (resolve, reject) {
|
|
5654
|
-
window.$user.findNavMenus(nowf).then(function (
|
|
5655
|
-
var
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5684
|
+
window.$user.findNavMenus(nowf).then( /*#__PURE__*/function () {
|
|
5685
|
+
var _ref2 = route_asyncToGenerator( /*#__PURE__*/route_regeneratorRuntime().mark(function _callee(response) {
|
|
5686
|
+
var layout, accessedRoutes, topMenus, key, loginUser, dynamicRoutes, i, proute;
|
|
5687
|
+
return route_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5688
|
+
while (1) switch (_context.prev = _context.next) {
|
|
5689
|
+
case 0:
|
|
5690
|
+
layout = window.$loadComponent('@/wapp/common/layout/index');
|
|
5691
|
+
accessedRoutes = [];
|
|
5692
|
+
topMenus = response.body.listdata.filter(function (item) {
|
|
5693
|
+
if (item.moduleLevel === 1) return true;
|
|
5694
|
+
}); //模块菜单定义路由
|
|
5695
|
+
topMenus.forEach(function (item) {
|
|
5696
|
+
var view = layout;
|
|
5697
|
+
if (item.href && (item.href.substring(0, 2) === '@/' || item.href.substring(0, 10) === '#/dcontent') && item.target === '_top') {
|
|
5698
|
+
view = window.$loadComponent(item.href);
|
|
5699
|
+
}
|
|
5700
|
+
var route = convertToRoute(view, item, null, null, null);
|
|
5701
|
+
accessedRoutes.push(route);
|
|
5667
5702
|
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
if (response.body.wappRoutes !== undefined && response.body.wappRoutes !== null) {
|
|
5674
|
-
for (var key in response.body.wappRoutes) {
|
|
5675
|
-
loadWappRoutes(accessedRoutes, response.body.wappRoutes[key]);
|
|
5676
|
-
}
|
|
5677
|
-
}
|
|
5678
|
-
commit('SET_ROUTES', accessedRoutes);
|
|
5703
|
+
// if (item.leafFlag === 0) {
|
|
5704
|
+
var children = findChildrenRoute(view, response.body.listdata, item, null, null);
|
|
5705
|
+
accessedRoutes = accessedRoutes.concat(children);
|
|
5706
|
+
// }
|
|
5707
|
+
});
|
|
5679
5708
|
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5709
|
+
//产品定义子路由
|
|
5710
|
+
if (response.body.wappRoutes !== undefined && response.body.wappRoutes !== null) {
|
|
5711
|
+
for (key in response.body.wappRoutes) {
|
|
5712
|
+
loadWappRoutes(accessedRoutes, response.body.wappRoutes[key]);
|
|
5713
|
+
}
|
|
5714
|
+
}
|
|
5715
|
+
|
|
5716
|
+
//本次会话产品动态子路径
|
|
5717
|
+
_context.next = 7;
|
|
5718
|
+
return window.$user.getLoginUser(window.$auth.getToken());
|
|
5719
|
+
case 7:
|
|
5720
|
+
loginUser = _context.sent;
|
|
5721
|
+
dynamicRoutes = sessionStorage.getItem('dynamicRoutes-' + loginUser.personAccount);
|
|
5722
|
+
if (dynamicRoutes) {
|
|
5723
|
+
dynamicRoutes = JSON.parse(dynamicRoutes);
|
|
5724
|
+
if (dynamicRoutes[0].children.length > 0) {
|
|
5725
|
+
for (i = 0; i < accessedRoutes.length; i++) {
|
|
5726
|
+
proute = accessedRoutes[i];
|
|
5727
|
+
if (proute.meta && proute.meta.parentId === dynamicRoutes[0].children[0].meta.id) {
|
|
5728
|
+
//删除模块菜单配置的路由定义,保留本次话产品会动态子路径
|
|
5729
|
+
accessedRoutes.splice(i--, 1);
|
|
5730
|
+
}
|
|
5731
|
+
}
|
|
5732
|
+
}
|
|
5733
|
+
loadWappRoutes(accessedRoutes, dynamicRoutes);
|
|
5734
|
+
}
|
|
5735
|
+
commit('SET_ROUTES', accessedRoutes);
|
|
5736
|
+
|
|
5737
|
+
// 登录成功后连接webSocket
|
|
5738
|
+
websocket/* default */.A.connectWebSocket(window.$wapp);
|
|
5739
|
+
resolve(accessedRoutes);
|
|
5740
|
+
case 13:
|
|
5741
|
+
case "end":
|
|
5742
|
+
return _context.stop();
|
|
5743
|
+
}
|
|
5744
|
+
}, _callee);
|
|
5745
|
+
}));
|
|
5746
|
+
return function (_x) {
|
|
5747
|
+
return _ref2.apply(this, arguments);
|
|
5748
|
+
};
|
|
5749
|
+
}()).catch(function (error) {
|
|
5684
5750
|
reject(error);
|
|
5685
5751
|
});
|
|
5686
5752
|
});
|
|
5687
5753
|
},
|
|
5688
|
-
updateRoutes: function updateRoutes(
|
|
5689
|
-
var commit =
|
|
5754
|
+
updateRoutes: function updateRoutes(_ref3, routes) {
|
|
5755
|
+
var commit = _ref3.commit;
|
|
5690
5756
|
commit('SET_ROUTES', routes);
|
|
5691
5757
|
}
|
|
5692
5758
|
};
|
|
5693
5759
|
function loadWappRoutes(accessedRoutes, wappRoutes) {
|
|
5694
5760
|
wappRoutes.forEach(function (route) {
|
|
5695
|
-
route.component
|
|
5761
|
+
if (route.component && typeof route.component === 'string') {
|
|
5762
|
+
route.component = window.$loadComponent(route.component);
|
|
5763
|
+
} else if (route.meta && route.meta.href && (route.meta.href.indexOf('@/') === 0 || route.meta.href.indexOf('#/dcontent') === 0)) {
|
|
5764
|
+
route.component = window.$loadComponent(route.meta.href);
|
|
5765
|
+
}
|
|
5696
5766
|
accessedRoutes.push(route);
|
|
5697
5767
|
if (route.children !== undefined && route.children !== null) {
|
|
5698
5768
|
loadWappRoutes(accessedRoutes, route.children);
|
|
@@ -7535,7 +7605,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-d6f101a0] .van-nav-bar__title{
|
|
|
7535
7605
|
|
|
7536
7606
|
/***/ }),
|
|
7537
7607
|
|
|
7538
|
-
/***/
|
|
7608
|
+
/***/ 9915:
|
|
7539
7609
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7540
7610
|
|
|
7541
7611
|
"use strict";
|
|
@@ -7549,7 +7619,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7549
7619
|
|
|
7550
7620
|
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()));
|
|
7551
7621
|
// Module
|
|
7552
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-
|
|
7622
|
+
___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)}", ""]);
|
|
7553
7623
|
// Exports
|
|
7554
7624
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7555
7625
|
|
|
@@ -7771,7 +7841,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-69610664]{margin-top:1
|
|
|
7771
7841
|
|
|
7772
7842
|
/***/ }),
|
|
7773
7843
|
|
|
7774
|
-
/***/
|
|
7844
|
+
/***/ 4110:
|
|
7775
7845
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7776
7846
|
|
|
7777
7847
|
"use strict";
|
|
@@ -7785,7 +7855,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7785
7855
|
|
|
7786
7856
|
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()));
|
|
7787
7857
|
// Module
|
|
7788
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".icon-dialog[data-v-
|
|
7858
|
+
___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}", ""]);
|
|
7789
7859
|
// Exports
|
|
7790
7860
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7791
7861
|
|
|
@@ -8081,6 +8151,1671 @@ module.exports = function defineDataProperty(
|
|
|
8081
8151
|
};
|
|
8082
8152
|
|
|
8083
8153
|
|
|
8154
|
+
/***/ }),
|
|
8155
|
+
|
|
8156
|
+
/***/ 8572:
|
|
8157
|
+
/***/ (function(module) {
|
|
8158
|
+
|
|
8159
|
+
module.exports =
|
|
8160
|
+
/******/ (function(modules) { // webpackBootstrap
|
|
8161
|
+
/******/ // The module cache
|
|
8162
|
+
/******/ var installedModules = {};
|
|
8163
|
+
/******/
|
|
8164
|
+
/******/ // The require function
|
|
8165
|
+
/******/ function __nested_webpack_require_187__(moduleId) {
|
|
8166
|
+
/******/
|
|
8167
|
+
/******/ // Check if module is in cache
|
|
8168
|
+
/******/ if(installedModules[moduleId]) {
|
|
8169
|
+
/******/ return installedModules[moduleId].exports;
|
|
8170
|
+
/******/ }
|
|
8171
|
+
/******/ // Create a new module (and put it into the cache)
|
|
8172
|
+
/******/ var module = installedModules[moduleId] = {
|
|
8173
|
+
/******/ i: moduleId,
|
|
8174
|
+
/******/ l: false,
|
|
8175
|
+
/******/ exports: {}
|
|
8176
|
+
/******/ };
|
|
8177
|
+
/******/
|
|
8178
|
+
/******/ // Execute the module function
|
|
8179
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_187__);
|
|
8180
|
+
/******/
|
|
8181
|
+
/******/ // Flag the module as loaded
|
|
8182
|
+
/******/ module.l = true;
|
|
8183
|
+
/******/
|
|
8184
|
+
/******/ // Return the exports of the module
|
|
8185
|
+
/******/ return module.exports;
|
|
8186
|
+
/******/ }
|
|
8187
|
+
/******/
|
|
8188
|
+
/******/
|
|
8189
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
8190
|
+
/******/ __nested_webpack_require_187__.m = modules;
|
|
8191
|
+
/******/
|
|
8192
|
+
/******/ // expose the module cache
|
|
8193
|
+
/******/ __nested_webpack_require_187__.c = installedModules;
|
|
8194
|
+
/******/
|
|
8195
|
+
/******/ // define getter function for harmony exports
|
|
8196
|
+
/******/ __nested_webpack_require_187__.d = function(exports, name, getter) {
|
|
8197
|
+
/******/ if(!__nested_webpack_require_187__.o(exports, name)) {
|
|
8198
|
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
8199
|
+
/******/ }
|
|
8200
|
+
/******/ };
|
|
8201
|
+
/******/
|
|
8202
|
+
/******/ // define __esModule on exports
|
|
8203
|
+
/******/ __nested_webpack_require_187__.r = function(exports) {
|
|
8204
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
8205
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
8206
|
+
/******/ }
|
|
8207
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
8208
|
+
/******/ };
|
|
8209
|
+
/******/
|
|
8210
|
+
/******/ // create a fake namespace object
|
|
8211
|
+
/******/ // mode & 1: value is a module id, require it
|
|
8212
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
|
8213
|
+
/******/ // mode & 4: return value when already ns object
|
|
8214
|
+
/******/ // mode & 8|1: behave like require
|
|
8215
|
+
/******/ __nested_webpack_require_187__.t = function(value, mode) {
|
|
8216
|
+
/******/ if(mode & 1) value = __nested_webpack_require_187__(value);
|
|
8217
|
+
/******/ if(mode & 8) return value;
|
|
8218
|
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
8219
|
+
/******/ var ns = Object.create(null);
|
|
8220
|
+
/******/ __nested_webpack_require_187__.r(ns);
|
|
8221
|
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
8222
|
+
/******/ 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));
|
|
8223
|
+
/******/ return ns;
|
|
8224
|
+
/******/ };
|
|
8225
|
+
/******/
|
|
8226
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
8227
|
+
/******/ __nested_webpack_require_187__.n = function(module) {
|
|
8228
|
+
/******/ var getter = module && module.__esModule ?
|
|
8229
|
+
/******/ function getDefault() { return module['default']; } :
|
|
8230
|
+
/******/ function getModuleExports() { return module; };
|
|
8231
|
+
/******/ __nested_webpack_require_187__.d(getter, 'a', getter);
|
|
8232
|
+
/******/ return getter;
|
|
8233
|
+
/******/ };
|
|
8234
|
+
/******/
|
|
8235
|
+
/******/ // Object.prototype.hasOwnProperty.call
|
|
8236
|
+
/******/ __nested_webpack_require_187__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
8237
|
+
/******/
|
|
8238
|
+
/******/ // __webpack_public_path__
|
|
8239
|
+
/******/ __nested_webpack_require_187__.p = "";
|
|
8240
|
+
/******/
|
|
8241
|
+
/******/
|
|
8242
|
+
/******/ // Load entry module and return exports
|
|
8243
|
+
/******/ return __nested_webpack_require_187__(__nested_webpack_require_187__.s = "fb15");
|
|
8244
|
+
/******/ })
|
|
8245
|
+
/************************************************************************/
|
|
8246
|
+
/******/ ({
|
|
8247
|
+
|
|
8248
|
+
/***/ "02f4":
|
|
8249
|
+
/***/ (function(module, exports, __nested_webpack_require_3663__) {
|
|
8250
|
+
|
|
8251
|
+
var toInteger = __nested_webpack_require_3663__("4588");
|
|
8252
|
+
var defined = __nested_webpack_require_3663__("be13");
|
|
8253
|
+
// true -> String#at
|
|
8254
|
+
// false -> String#codePointAt
|
|
8255
|
+
module.exports = function (TO_STRING) {
|
|
8256
|
+
return function (that, pos) {
|
|
8257
|
+
var s = String(defined(that));
|
|
8258
|
+
var i = toInteger(pos);
|
|
8259
|
+
var l = s.length;
|
|
8260
|
+
var a, b;
|
|
8261
|
+
if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
|
|
8262
|
+
a = s.charCodeAt(i);
|
|
8263
|
+
return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
|
|
8264
|
+
? TO_STRING ? s.charAt(i) : a
|
|
8265
|
+
: TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
|
|
8266
|
+
};
|
|
8267
|
+
};
|
|
8268
|
+
|
|
8269
|
+
|
|
8270
|
+
/***/ }),
|
|
8271
|
+
|
|
8272
|
+
/***/ "0390":
|
|
8273
|
+
/***/ (function(module, exports, __nested_webpack_require_4376__) {
|
|
8274
|
+
|
|
8275
|
+
"use strict";
|
|
8276
|
+
|
|
8277
|
+
var at = __nested_webpack_require_4376__("02f4")(true);
|
|
8278
|
+
|
|
8279
|
+
// `AdvanceStringIndex` abstract operation
|
|
8280
|
+
// https://tc39.github.io/ecma262/#sec-advancestringindex
|
|
8281
|
+
module.exports = function (S, index, unicode) {
|
|
8282
|
+
return index + (unicode ? at(S, index).length : 1);
|
|
8283
|
+
};
|
|
8284
|
+
|
|
8285
|
+
|
|
8286
|
+
/***/ }),
|
|
8287
|
+
|
|
8288
|
+
/***/ "0bfb":
|
|
8289
|
+
/***/ (function(module, exports, __nested_webpack_require_4727__) {
|
|
8290
|
+
|
|
8291
|
+
"use strict";
|
|
8292
|
+
|
|
8293
|
+
// 21.2.5.3 get RegExp.prototype.flags
|
|
8294
|
+
var anObject = __nested_webpack_require_4727__("cb7c");
|
|
8295
|
+
module.exports = function () {
|
|
8296
|
+
var that = anObject(this);
|
|
8297
|
+
var result = '';
|
|
8298
|
+
if (that.global) result += 'g';
|
|
8299
|
+
if (that.ignoreCase) result += 'i';
|
|
8300
|
+
if (that.multiline) result += 'm';
|
|
8301
|
+
if (that.unicode) result += 'u';
|
|
8302
|
+
if (that.sticky) result += 'y';
|
|
8303
|
+
return result;
|
|
8304
|
+
};
|
|
8305
|
+
|
|
8306
|
+
|
|
8307
|
+
/***/ }),
|
|
8308
|
+
|
|
8309
|
+
/***/ "214f":
|
|
8310
|
+
/***/ (function(module, exports, __nested_webpack_require_5186__) {
|
|
8311
|
+
|
|
8312
|
+
"use strict";
|
|
8313
|
+
|
|
8314
|
+
__nested_webpack_require_5186__("b0c5");
|
|
8315
|
+
var redefine = __nested_webpack_require_5186__("2aba");
|
|
8316
|
+
var hide = __nested_webpack_require_5186__("32e9");
|
|
8317
|
+
var fails = __nested_webpack_require_5186__("79e5");
|
|
8318
|
+
var defined = __nested_webpack_require_5186__("be13");
|
|
8319
|
+
var wks = __nested_webpack_require_5186__("2b4c");
|
|
8320
|
+
var regexpExec = __nested_webpack_require_5186__("520a");
|
|
8321
|
+
|
|
8322
|
+
var SPECIES = wks('species');
|
|
8323
|
+
|
|
8324
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
|
|
8325
|
+
// #replace needs built-in support for named groups.
|
|
8326
|
+
// #match works fine because it just return the exec results, even if it has
|
|
8327
|
+
// a "grops" property.
|
|
8328
|
+
var re = /./;
|
|
8329
|
+
re.exec = function () {
|
|
8330
|
+
var result = [];
|
|
8331
|
+
result.groups = { a: '7' };
|
|
8332
|
+
return result;
|
|
8333
|
+
};
|
|
8334
|
+
return ''.replace(re, '$<a>') !== '7';
|
|
8335
|
+
});
|
|
8336
|
+
|
|
8337
|
+
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {
|
|
8338
|
+
// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
|
|
8339
|
+
var re = /(?:)/;
|
|
8340
|
+
var originalExec = re.exec;
|
|
8341
|
+
re.exec = function () { return originalExec.apply(this, arguments); };
|
|
8342
|
+
var result = 'ab'.split(re);
|
|
8343
|
+
return result.length === 2 && result[0] === 'a' && result[1] === 'b';
|
|
8344
|
+
})();
|
|
8345
|
+
|
|
8346
|
+
module.exports = function (KEY, length, exec) {
|
|
8347
|
+
var SYMBOL = wks(KEY);
|
|
8348
|
+
|
|
8349
|
+
var DELEGATES_TO_SYMBOL = !fails(function () {
|
|
8350
|
+
// String methods call symbol-named RegEp methods
|
|
8351
|
+
var O = {};
|
|
8352
|
+
O[SYMBOL] = function () { return 7; };
|
|
8353
|
+
return ''[KEY](O) != 7;
|
|
8354
|
+
});
|
|
8355
|
+
|
|
8356
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {
|
|
8357
|
+
// Symbol-named RegExp methods call .exec
|
|
8358
|
+
var execCalled = false;
|
|
8359
|
+
var re = /a/;
|
|
8360
|
+
re.exec = function () { execCalled = true; return null; };
|
|
8361
|
+
if (KEY === 'split') {
|
|
8362
|
+
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
|
8363
|
+
// a new one. We need to return the patched regex when creating the new one.
|
|
8364
|
+
re.constructor = {};
|
|
8365
|
+
re.constructor[SPECIES] = function () { return re; };
|
|
8366
|
+
}
|
|
8367
|
+
re[SYMBOL]('');
|
|
8368
|
+
return !execCalled;
|
|
8369
|
+
}) : undefined;
|
|
8370
|
+
|
|
8371
|
+
if (
|
|
8372
|
+
!DELEGATES_TO_SYMBOL ||
|
|
8373
|
+
!DELEGATES_TO_EXEC ||
|
|
8374
|
+
(KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||
|
|
8375
|
+
(KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
|
|
8376
|
+
) {
|
|
8377
|
+
var nativeRegExpMethod = /./[SYMBOL];
|
|
8378
|
+
var fns = exec(
|
|
8379
|
+
defined,
|
|
8380
|
+
SYMBOL,
|
|
8381
|
+
''[KEY],
|
|
8382
|
+
function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
8383
|
+
if (regexp.exec === regexpExec) {
|
|
8384
|
+
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
8385
|
+
// The native String method already delegates to @@method (this
|
|
8386
|
+
// polyfilled function), leasing to infinite recursion.
|
|
8387
|
+
// We avoid it by directly calling the native @@method method.
|
|
8388
|
+
return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
|
|
8389
|
+
}
|
|
8390
|
+
return { done: true, value: nativeMethod.call(str, regexp, arg2) };
|
|
8391
|
+
}
|
|
8392
|
+
return { done: false };
|
|
8393
|
+
}
|
|
8394
|
+
);
|
|
8395
|
+
var strfn = fns[0];
|
|
8396
|
+
var rxfn = fns[1];
|
|
8397
|
+
|
|
8398
|
+
redefine(String.prototype, KEY, strfn);
|
|
8399
|
+
hide(RegExp.prototype, SYMBOL, length == 2
|
|
8400
|
+
// 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
|
|
8401
|
+
// 21.2.5.11 RegExp.prototype[@@split](string, limit)
|
|
8402
|
+
? function (string, arg) { return rxfn.call(string, this, arg); }
|
|
8403
|
+
// 21.2.5.6 RegExp.prototype[@@match](string)
|
|
8404
|
+
// 21.2.5.9 RegExp.prototype[@@search](string)
|
|
8405
|
+
: function (string) { return rxfn.call(string, this); }
|
|
8406
|
+
);
|
|
8407
|
+
}
|
|
8408
|
+
};
|
|
8409
|
+
|
|
8410
|
+
|
|
8411
|
+
/***/ }),
|
|
8412
|
+
|
|
8413
|
+
/***/ "230e":
|
|
8414
|
+
/***/ (function(module, exports, __nested_webpack_require_8643__) {
|
|
8415
|
+
|
|
8416
|
+
var isObject = __nested_webpack_require_8643__("d3f4");
|
|
8417
|
+
var document = __nested_webpack_require_8643__("7726").document;
|
|
8418
|
+
// typeof document.createElement is 'object' in old IE
|
|
8419
|
+
var is = isObject(document) && isObject(document.createElement);
|
|
8420
|
+
module.exports = function (it) {
|
|
8421
|
+
return is ? document.createElement(it) : {};
|
|
8422
|
+
};
|
|
8423
|
+
|
|
8424
|
+
|
|
8425
|
+
/***/ }),
|
|
8426
|
+
|
|
8427
|
+
/***/ "2350":
|
|
8428
|
+
/***/ (function(module, exports) {
|
|
8429
|
+
|
|
8430
|
+
/*
|
|
8431
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
8432
|
+
Author Tobias Koppers @sokra
|
|
8433
|
+
*/
|
|
8434
|
+
// css base code, injected by the css-loader
|
|
8435
|
+
module.exports = function(useSourceMap) {
|
|
8436
|
+
var list = [];
|
|
8437
|
+
|
|
8438
|
+
// return the list of modules as css string
|
|
8439
|
+
list.toString = function toString() {
|
|
8440
|
+
return this.map(function (item) {
|
|
8441
|
+
var content = cssWithMappingToString(item, useSourceMap);
|
|
8442
|
+
if(item[2]) {
|
|
8443
|
+
return "@media " + item[2] + "{" + content + "}";
|
|
8444
|
+
} else {
|
|
8445
|
+
return content;
|
|
8446
|
+
}
|
|
8447
|
+
}).join("");
|
|
8448
|
+
};
|
|
8449
|
+
|
|
8450
|
+
// import a list of modules into the list
|
|
8451
|
+
list.i = function(modules, mediaQuery) {
|
|
8452
|
+
if(typeof modules === "string")
|
|
8453
|
+
modules = [[null, modules, ""]];
|
|
8454
|
+
var alreadyImportedModules = {};
|
|
8455
|
+
for(var i = 0; i < this.length; i++) {
|
|
8456
|
+
var id = this[i][0];
|
|
8457
|
+
if(typeof id === "number")
|
|
8458
|
+
alreadyImportedModules[id] = true;
|
|
8459
|
+
}
|
|
8460
|
+
for(i = 0; i < modules.length; i++) {
|
|
8461
|
+
var item = modules[i];
|
|
8462
|
+
// skip already imported module
|
|
8463
|
+
// this implementation is not 100% perfect for weird media query combinations
|
|
8464
|
+
// when a module is imported multiple times with different media queries.
|
|
8465
|
+
// I hope this will never occur (Hey this way we have smaller bundles)
|
|
8466
|
+
if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
|
|
8467
|
+
if(mediaQuery && !item[2]) {
|
|
8468
|
+
item[2] = mediaQuery;
|
|
8469
|
+
} else if(mediaQuery) {
|
|
8470
|
+
item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
|
|
8471
|
+
}
|
|
8472
|
+
list.push(item);
|
|
8473
|
+
}
|
|
8474
|
+
}
|
|
8475
|
+
};
|
|
8476
|
+
return list;
|
|
8477
|
+
};
|
|
8478
|
+
|
|
8479
|
+
function cssWithMappingToString(item, useSourceMap) {
|
|
8480
|
+
var content = item[1] || '';
|
|
8481
|
+
var cssMapping = item[3];
|
|
8482
|
+
if (!cssMapping) {
|
|
8483
|
+
return content;
|
|
8484
|
+
}
|
|
8485
|
+
|
|
8486
|
+
if (useSourceMap && typeof btoa === 'function') {
|
|
8487
|
+
var sourceMapping = toComment(cssMapping);
|
|
8488
|
+
var sourceURLs = cssMapping.sources.map(function (source) {
|
|
8489
|
+
return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'
|
|
8490
|
+
});
|
|
8491
|
+
|
|
8492
|
+
return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
|
|
8493
|
+
}
|
|
8494
|
+
|
|
8495
|
+
return [content].join('\n');
|
|
8496
|
+
}
|
|
8497
|
+
|
|
8498
|
+
// Adapted from convert-source-map (MIT)
|
|
8499
|
+
function toComment(sourceMap) {
|
|
8500
|
+
// eslint-disable-next-line no-undef
|
|
8501
|
+
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
|
|
8502
|
+
var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
|
|
8503
|
+
|
|
8504
|
+
return '/*# ' + data + ' */';
|
|
8505
|
+
}
|
|
8506
|
+
|
|
8507
|
+
|
|
8508
|
+
/***/ }),
|
|
8509
|
+
|
|
8510
|
+
/***/ "23c6":
|
|
8511
|
+
/***/ (function(module, exports, __nested_webpack_require_11350__) {
|
|
8512
|
+
|
|
8513
|
+
// getting tag from 19.1.3.6 Object.prototype.toString()
|
|
8514
|
+
var cof = __nested_webpack_require_11350__("2d95");
|
|
8515
|
+
var TAG = __nested_webpack_require_11350__("2b4c")('toStringTag');
|
|
8516
|
+
// ES3 wrong here
|
|
8517
|
+
var ARG = cof(function () { return arguments; }()) == 'Arguments';
|
|
8518
|
+
|
|
8519
|
+
// fallback for IE11 Script Access Denied error
|
|
8520
|
+
var tryGet = function (it, key) {
|
|
8521
|
+
try {
|
|
8522
|
+
return it[key];
|
|
8523
|
+
} catch (e) { /* empty */ }
|
|
8524
|
+
};
|
|
8525
|
+
|
|
8526
|
+
module.exports = function (it) {
|
|
8527
|
+
var O, T, B;
|
|
8528
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
8529
|
+
// @@toStringTag case
|
|
8530
|
+
: typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
|
|
8531
|
+
// builtinTag case
|
|
8532
|
+
: ARG ? cof(O)
|
|
8533
|
+
// ES3 arguments fallback
|
|
8534
|
+
: (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
|
|
8535
|
+
};
|
|
8536
|
+
|
|
8537
|
+
|
|
8538
|
+
/***/ }),
|
|
8539
|
+
|
|
8540
|
+
/***/ "2aba":
|
|
8541
|
+
/***/ (function(module, exports, __nested_webpack_require_12172__) {
|
|
8542
|
+
|
|
8543
|
+
var global = __nested_webpack_require_12172__("7726");
|
|
8544
|
+
var hide = __nested_webpack_require_12172__("32e9");
|
|
8545
|
+
var has = __nested_webpack_require_12172__("69a8");
|
|
8546
|
+
var SRC = __nested_webpack_require_12172__("ca5a")('src');
|
|
8547
|
+
var $toString = __nested_webpack_require_12172__("fa5b");
|
|
8548
|
+
var TO_STRING = 'toString';
|
|
8549
|
+
var TPL = ('' + $toString).split(TO_STRING);
|
|
8550
|
+
|
|
8551
|
+
__nested_webpack_require_12172__("8378").inspectSource = function (it) {
|
|
8552
|
+
return $toString.call(it);
|
|
8553
|
+
};
|
|
8554
|
+
|
|
8555
|
+
(module.exports = function (O, key, val, safe) {
|
|
8556
|
+
var isFunction = typeof val == 'function';
|
|
8557
|
+
if (isFunction) has(val, 'name') || hide(val, 'name', key);
|
|
8558
|
+
if (O[key] === val) return;
|
|
8559
|
+
if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
|
|
8560
|
+
if (O === global) {
|
|
8561
|
+
O[key] = val;
|
|
8562
|
+
} else if (!safe) {
|
|
8563
|
+
delete O[key];
|
|
8564
|
+
hide(O, key, val);
|
|
8565
|
+
} else if (O[key]) {
|
|
8566
|
+
O[key] = val;
|
|
8567
|
+
} else {
|
|
8568
|
+
hide(O, key, val);
|
|
8569
|
+
}
|
|
8570
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
8571
|
+
})(Function.prototype, TO_STRING, function toString() {
|
|
8572
|
+
return typeof this == 'function' && this[SRC] || $toString.call(this);
|
|
8573
|
+
});
|
|
8574
|
+
|
|
8575
|
+
|
|
8576
|
+
/***/ }),
|
|
8577
|
+
|
|
8578
|
+
/***/ "2b4c":
|
|
8579
|
+
/***/ (function(module, exports, __nested_webpack_require_13346__) {
|
|
8580
|
+
|
|
8581
|
+
var store = __nested_webpack_require_13346__("5537")('wks');
|
|
8582
|
+
var uid = __nested_webpack_require_13346__("ca5a");
|
|
8583
|
+
var Symbol = __nested_webpack_require_13346__("7726").Symbol;
|
|
8584
|
+
var USE_SYMBOL = typeof Symbol == 'function';
|
|
8585
|
+
|
|
8586
|
+
var $exports = module.exports = function (name) {
|
|
8587
|
+
return store[name] || (store[name] =
|
|
8588
|
+
USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
|
|
8589
|
+
};
|
|
8590
|
+
|
|
8591
|
+
$exports.store = store;
|
|
8592
|
+
|
|
8593
|
+
|
|
8594
|
+
/***/ }),
|
|
8595
|
+
|
|
8596
|
+
/***/ "2d00":
|
|
8597
|
+
/***/ (function(module, exports) {
|
|
8598
|
+
|
|
8599
|
+
module.exports = false;
|
|
8600
|
+
|
|
8601
|
+
|
|
8602
|
+
/***/ }),
|
|
8603
|
+
|
|
8604
|
+
/***/ "2d95":
|
|
8605
|
+
/***/ (function(module, exports) {
|
|
8606
|
+
|
|
8607
|
+
var toString = {}.toString;
|
|
8608
|
+
|
|
8609
|
+
module.exports = function (it) {
|
|
8610
|
+
return toString.call(it).slice(8, -1);
|
|
8611
|
+
};
|
|
8612
|
+
|
|
8613
|
+
|
|
8614
|
+
/***/ }),
|
|
8615
|
+
|
|
8616
|
+
/***/ "32e9":
|
|
8617
|
+
/***/ (function(module, exports, __nested_webpack_require_14068__) {
|
|
8618
|
+
|
|
8619
|
+
var dP = __nested_webpack_require_14068__("86cc");
|
|
8620
|
+
var createDesc = __nested_webpack_require_14068__("4630");
|
|
8621
|
+
module.exports = __nested_webpack_require_14068__("9e1e") ? function (object, key, value) {
|
|
8622
|
+
return dP.f(object, key, createDesc(1, value));
|
|
8623
|
+
} : function (object, key, value) {
|
|
8624
|
+
object[key] = value;
|
|
8625
|
+
return object;
|
|
8626
|
+
};
|
|
8627
|
+
|
|
8628
|
+
|
|
8629
|
+
/***/ }),
|
|
8630
|
+
|
|
8631
|
+
/***/ "3974":
|
|
8632
|
+
/***/ (function(module, exports, __nested_webpack_require_14444__) {
|
|
8633
|
+
|
|
8634
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
8635
|
+
|
|
8636
|
+
// load the styles
|
|
8637
|
+
var content = __nested_webpack_require_14444__("d5fa");
|
|
8638
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
8639
|
+
if(content.locals) module.exports = content.locals;
|
|
8640
|
+
// add the styles to the DOM
|
|
8641
|
+
var add = __nested_webpack_require_14444__("499e").default
|
|
8642
|
+
var update = add("64a34c43", content, true, {"sourceMap":false,"shadowMode":false});
|
|
8643
|
+
|
|
8644
|
+
/***/ }),
|
|
8645
|
+
|
|
8646
|
+
/***/ "4588":
|
|
8647
|
+
/***/ (function(module, exports) {
|
|
8648
|
+
|
|
8649
|
+
// 7.1.4 ToInteger
|
|
8650
|
+
var ceil = Math.ceil;
|
|
8651
|
+
var floor = Math.floor;
|
|
8652
|
+
module.exports = function (it) {
|
|
8653
|
+
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
|
|
8654
|
+
};
|
|
8655
|
+
|
|
8656
|
+
|
|
8657
|
+
/***/ }),
|
|
8658
|
+
|
|
8659
|
+
/***/ "4630":
|
|
8660
|
+
/***/ (function(module, exports) {
|
|
8661
|
+
|
|
8662
|
+
module.exports = function (bitmap, value) {
|
|
8663
|
+
return {
|
|
8664
|
+
enumerable: !(bitmap & 1),
|
|
8665
|
+
configurable: !(bitmap & 2),
|
|
8666
|
+
writable: !(bitmap & 4),
|
|
8667
|
+
value: value
|
|
8668
|
+
};
|
|
8669
|
+
};
|
|
8670
|
+
|
|
8671
|
+
|
|
8672
|
+
/***/ }),
|
|
8673
|
+
|
|
8674
|
+
/***/ "499e":
|
|
8675
|
+
/***/ (function(module, __nested_webpack_exports__, __nested_webpack_require_15409__) {
|
|
8676
|
+
|
|
8677
|
+
"use strict";
|
|
8678
|
+
__nested_webpack_require_15409__.r(__nested_webpack_exports__);
|
|
8679
|
+
|
|
8680
|
+
// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js
|
|
8681
|
+
/**
|
|
8682
|
+
* Translates the list format produced by css-loader into something
|
|
8683
|
+
* easier to manipulate.
|
|
8684
|
+
*/
|
|
8685
|
+
function listToStyles (parentId, list) {
|
|
8686
|
+
var styles = []
|
|
8687
|
+
var newStyles = {}
|
|
8688
|
+
for (var i = 0; i < list.length; i++) {
|
|
8689
|
+
var item = list[i]
|
|
8690
|
+
var id = item[0]
|
|
8691
|
+
var css = item[1]
|
|
8692
|
+
var media = item[2]
|
|
8693
|
+
var sourceMap = item[3]
|
|
8694
|
+
var part = {
|
|
8695
|
+
id: parentId + ':' + i,
|
|
8696
|
+
css: css,
|
|
8697
|
+
media: media,
|
|
8698
|
+
sourceMap: sourceMap
|
|
8699
|
+
}
|
|
8700
|
+
if (!newStyles[id]) {
|
|
8701
|
+
styles.push(newStyles[id] = { id: id, parts: [part] })
|
|
8702
|
+
} else {
|
|
8703
|
+
newStyles[id].parts.push(part)
|
|
8704
|
+
}
|
|
8705
|
+
}
|
|
8706
|
+
return styles
|
|
8707
|
+
}
|
|
8708
|
+
|
|
8709
|
+
// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js
|
|
8710
|
+
/* harmony export (binding) */ __nested_webpack_require_15409__.d(__nested_webpack_exports__, "default", function() { return addStylesClient; });
|
|
8711
|
+
/*
|
|
8712
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
8713
|
+
Author Tobias Koppers @sokra
|
|
8714
|
+
Modified by Evan You @yyx990803
|
|
8715
|
+
*/
|
|
8716
|
+
|
|
8717
|
+
|
|
8718
|
+
|
|
8719
|
+
var hasDocument = typeof document !== 'undefined'
|
|
8720
|
+
|
|
8721
|
+
if (typeof DEBUG !== 'undefined' && DEBUG) {
|
|
8722
|
+
if (!hasDocument) {
|
|
8723
|
+
throw new Error(
|
|
8724
|
+
'vue-style-loader cannot be used in a non-browser environment. ' +
|
|
8725
|
+
"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
|
|
8726
|
+
) }
|
|
8727
|
+
}
|
|
8728
|
+
|
|
8729
|
+
/*
|
|
8730
|
+
type StyleObject = {
|
|
8731
|
+
id: number;
|
|
8732
|
+
parts: Array<StyleObjectPart>
|
|
8733
|
+
}
|
|
8734
|
+
|
|
8735
|
+
type StyleObjectPart = {
|
|
8736
|
+
css: string;
|
|
8737
|
+
media: string;
|
|
8738
|
+
sourceMap: ?string
|
|
8739
|
+
}
|
|
8740
|
+
*/
|
|
8741
|
+
|
|
8742
|
+
var stylesInDom = {/*
|
|
8743
|
+
[id: number]: {
|
|
8744
|
+
id: number,
|
|
8745
|
+
refs: number,
|
|
8746
|
+
parts: Array<(obj?: StyleObjectPart) => void>
|
|
8747
|
+
}
|
|
8748
|
+
*/}
|
|
8749
|
+
|
|
8750
|
+
var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
|
|
8751
|
+
var singletonElement = null
|
|
8752
|
+
var singletonCounter = 0
|
|
8753
|
+
var isProduction = false
|
|
8754
|
+
var noop = function () {}
|
|
8755
|
+
var options = null
|
|
8756
|
+
var ssrIdKey = 'data-vue-ssr-id'
|
|
8757
|
+
|
|
8758
|
+
// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
|
|
8759
|
+
// tags it will allow on a page
|
|
8760
|
+
var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
|
|
8761
|
+
|
|
8762
|
+
function addStylesClient (parentId, list, _isProduction, _options) {
|
|
8763
|
+
isProduction = _isProduction
|
|
8764
|
+
|
|
8765
|
+
options = _options || {}
|
|
8766
|
+
|
|
8767
|
+
var styles = listToStyles(parentId, list)
|
|
8768
|
+
addStylesToDom(styles)
|
|
8769
|
+
|
|
8770
|
+
return function update (newList) {
|
|
8771
|
+
var mayRemove = []
|
|
8772
|
+
for (var i = 0; i < styles.length; i++) {
|
|
8773
|
+
var item = styles[i]
|
|
8774
|
+
var domStyle = stylesInDom[item.id]
|
|
8775
|
+
domStyle.refs--
|
|
8776
|
+
mayRemove.push(domStyle)
|
|
8777
|
+
}
|
|
8778
|
+
if (newList) {
|
|
8779
|
+
styles = listToStyles(parentId, newList)
|
|
8780
|
+
addStylesToDom(styles)
|
|
8781
|
+
} else {
|
|
8782
|
+
styles = []
|
|
8783
|
+
}
|
|
8784
|
+
for (var i = 0; i < mayRemove.length; i++) {
|
|
8785
|
+
var domStyle = mayRemove[i]
|
|
8786
|
+
if (domStyle.refs === 0) {
|
|
8787
|
+
for (var j = 0; j < domStyle.parts.length; j++) {
|
|
8788
|
+
domStyle.parts[j]()
|
|
8789
|
+
}
|
|
8790
|
+
delete stylesInDom[domStyle.id]
|
|
8791
|
+
}
|
|
8792
|
+
}
|
|
8793
|
+
}
|
|
8794
|
+
}
|
|
8795
|
+
|
|
8796
|
+
function addStylesToDom (styles /* Array<StyleObject> */) {
|
|
8797
|
+
for (var i = 0; i < styles.length; i++) {
|
|
8798
|
+
var item = styles[i]
|
|
8799
|
+
var domStyle = stylesInDom[item.id]
|
|
8800
|
+
if (domStyle) {
|
|
8801
|
+
domStyle.refs++
|
|
8802
|
+
for (var j = 0; j < domStyle.parts.length; j++) {
|
|
8803
|
+
domStyle.parts[j](item.parts[j])
|
|
8804
|
+
}
|
|
8805
|
+
for (; j < item.parts.length; j++) {
|
|
8806
|
+
domStyle.parts.push(addStyle(item.parts[j]))
|
|
8807
|
+
}
|
|
8808
|
+
if (domStyle.parts.length > item.parts.length) {
|
|
8809
|
+
domStyle.parts.length = item.parts.length
|
|
8810
|
+
}
|
|
8811
|
+
} else {
|
|
8812
|
+
var parts = []
|
|
8813
|
+
for (var j = 0; j < item.parts.length; j++) {
|
|
8814
|
+
parts.push(addStyle(item.parts[j]))
|
|
8815
|
+
}
|
|
8816
|
+
stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
|
|
8817
|
+
}
|
|
8818
|
+
}
|
|
8819
|
+
}
|
|
8820
|
+
|
|
8821
|
+
function createStyleElement () {
|
|
8822
|
+
var styleElement = document.createElement('style')
|
|
8823
|
+
styleElement.type = 'text/css'
|
|
8824
|
+
head.appendChild(styleElement)
|
|
8825
|
+
return styleElement
|
|
8826
|
+
}
|
|
8827
|
+
|
|
8828
|
+
function addStyle (obj /* StyleObjectPart */) {
|
|
8829
|
+
var update, remove
|
|
8830
|
+
var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]')
|
|
8831
|
+
|
|
8832
|
+
if (styleElement) {
|
|
8833
|
+
if (isProduction) {
|
|
8834
|
+
// has SSR styles and in production mode.
|
|
8835
|
+
// simply do nothing.
|
|
8836
|
+
return noop
|
|
8837
|
+
} else {
|
|
8838
|
+
// has SSR styles but in dev mode.
|
|
8839
|
+
// for some reason Chrome can't handle source map in server-rendered
|
|
8840
|
+
// style tags - source maps in <style> only works if the style tag is
|
|
8841
|
+
// created and inserted dynamically. So we remove the server rendered
|
|
8842
|
+
// styles and inject new ones.
|
|
8843
|
+
styleElement.parentNode.removeChild(styleElement)
|
|
8844
|
+
}
|
|
8845
|
+
}
|
|
8846
|
+
|
|
8847
|
+
if (isOldIE) {
|
|
8848
|
+
// use singleton mode for IE9.
|
|
8849
|
+
var styleIndex = singletonCounter++
|
|
8850
|
+
styleElement = singletonElement || (singletonElement = createStyleElement())
|
|
8851
|
+
update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
|
|
8852
|
+
remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
|
|
8853
|
+
} else {
|
|
8854
|
+
// use multi-style-tag mode in all other cases
|
|
8855
|
+
styleElement = createStyleElement()
|
|
8856
|
+
update = applyToTag.bind(null, styleElement)
|
|
8857
|
+
remove = function () {
|
|
8858
|
+
styleElement.parentNode.removeChild(styleElement)
|
|
8859
|
+
}
|
|
8860
|
+
}
|
|
8861
|
+
|
|
8862
|
+
update(obj)
|
|
8863
|
+
|
|
8864
|
+
return function updateStyle (newObj /* StyleObjectPart */) {
|
|
8865
|
+
if (newObj) {
|
|
8866
|
+
if (newObj.css === obj.css &&
|
|
8867
|
+
newObj.media === obj.media &&
|
|
8868
|
+
newObj.sourceMap === obj.sourceMap) {
|
|
8869
|
+
return
|
|
8870
|
+
}
|
|
8871
|
+
update(obj = newObj)
|
|
8872
|
+
} else {
|
|
8873
|
+
remove()
|
|
8874
|
+
}
|
|
8875
|
+
}
|
|
8876
|
+
}
|
|
8877
|
+
|
|
8878
|
+
var replaceText = (function () {
|
|
8879
|
+
var textStore = []
|
|
8880
|
+
|
|
8881
|
+
return function (index, replacement) {
|
|
8882
|
+
textStore[index] = replacement
|
|
8883
|
+
return textStore.filter(Boolean).join('\n')
|
|
8884
|
+
}
|
|
8885
|
+
})()
|
|
8886
|
+
|
|
8887
|
+
function applyToSingletonTag (styleElement, index, remove, obj) {
|
|
8888
|
+
var css = remove ? '' : obj.css
|
|
8889
|
+
|
|
8890
|
+
if (styleElement.styleSheet) {
|
|
8891
|
+
styleElement.styleSheet.cssText = replaceText(index, css)
|
|
8892
|
+
} else {
|
|
8893
|
+
var cssNode = document.createTextNode(css)
|
|
8894
|
+
var childNodes = styleElement.childNodes
|
|
8895
|
+
if (childNodes[index]) styleElement.removeChild(childNodes[index])
|
|
8896
|
+
if (childNodes.length) {
|
|
8897
|
+
styleElement.insertBefore(cssNode, childNodes[index])
|
|
8898
|
+
} else {
|
|
8899
|
+
styleElement.appendChild(cssNode)
|
|
8900
|
+
}
|
|
8901
|
+
}
|
|
8902
|
+
}
|
|
8903
|
+
|
|
8904
|
+
function applyToTag (styleElement, obj) {
|
|
8905
|
+
var css = obj.css
|
|
8906
|
+
var media = obj.media
|
|
8907
|
+
var sourceMap = obj.sourceMap
|
|
8908
|
+
|
|
8909
|
+
if (media) {
|
|
8910
|
+
styleElement.setAttribute('media', media)
|
|
8911
|
+
}
|
|
8912
|
+
if (options.ssrId) {
|
|
8913
|
+
styleElement.setAttribute(ssrIdKey, obj.id)
|
|
8914
|
+
}
|
|
8915
|
+
|
|
8916
|
+
if (sourceMap) {
|
|
8917
|
+
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
8918
|
+
// this makes source maps inside style tags work properly in Chrome
|
|
8919
|
+
css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
|
|
8920
|
+
// http://stackoverflow.com/a/26603875
|
|
8921
|
+
css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
|
|
8922
|
+
}
|
|
8923
|
+
|
|
8924
|
+
if (styleElement.styleSheet) {
|
|
8925
|
+
styleElement.styleSheet.cssText = css
|
|
8926
|
+
} else {
|
|
8927
|
+
while (styleElement.firstChild) {
|
|
8928
|
+
styleElement.removeChild(styleElement.firstChild)
|
|
8929
|
+
}
|
|
8930
|
+
styleElement.appendChild(document.createTextNode(css))
|
|
8931
|
+
}
|
|
8932
|
+
}
|
|
8933
|
+
|
|
8934
|
+
|
|
8935
|
+
/***/ }),
|
|
8936
|
+
|
|
8937
|
+
/***/ "4bf8":
|
|
8938
|
+
/***/ (function(module, exports, __nested_webpack_require_22632__) {
|
|
8939
|
+
|
|
8940
|
+
// 7.1.13 ToObject(argument)
|
|
8941
|
+
var defined = __nested_webpack_require_22632__("be13");
|
|
8942
|
+
module.exports = function (it) {
|
|
8943
|
+
return Object(defined(it));
|
|
8944
|
+
};
|
|
8945
|
+
|
|
8946
|
+
|
|
8947
|
+
/***/ }),
|
|
8948
|
+
|
|
8949
|
+
/***/ "520a":
|
|
8950
|
+
/***/ (function(module, exports, __nested_webpack_require_22854__) {
|
|
8951
|
+
|
|
8952
|
+
"use strict";
|
|
8953
|
+
|
|
8954
|
+
|
|
8955
|
+
var regexpFlags = __nested_webpack_require_22854__("0bfb");
|
|
8956
|
+
|
|
8957
|
+
var nativeExec = RegExp.prototype.exec;
|
|
8958
|
+
// This always refers to the native implementation, because the
|
|
8959
|
+
// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
|
|
8960
|
+
// which loads this file before patching the method.
|
|
8961
|
+
var nativeReplace = String.prototype.replace;
|
|
8962
|
+
|
|
8963
|
+
var patchedExec = nativeExec;
|
|
8964
|
+
|
|
8965
|
+
var LAST_INDEX = 'lastIndex';
|
|
8966
|
+
|
|
8967
|
+
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
8968
|
+
var re1 = /a/,
|
|
8969
|
+
re2 = /b*/g;
|
|
8970
|
+
nativeExec.call(re1, 'a');
|
|
8971
|
+
nativeExec.call(re2, 'a');
|
|
8972
|
+
return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
|
|
8973
|
+
})();
|
|
8974
|
+
|
|
8975
|
+
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
|
8976
|
+
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
|
|
8977
|
+
|
|
8978
|
+
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
|
|
8979
|
+
|
|
8980
|
+
if (PATCH) {
|
|
8981
|
+
patchedExec = function exec(str) {
|
|
8982
|
+
var re = this;
|
|
8983
|
+
var lastIndex, reCopy, match, i;
|
|
8984
|
+
|
|
8985
|
+
if (NPCG_INCLUDED) {
|
|
8986
|
+
reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re));
|
|
8987
|
+
}
|
|
8988
|
+
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
|
|
8989
|
+
|
|
8990
|
+
match = nativeExec.call(re, str);
|
|
8991
|
+
|
|
8992
|
+
if (UPDATES_LAST_INDEX_WRONG && match) {
|
|
8993
|
+
re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;
|
|
8994
|
+
}
|
|
8995
|
+
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
8996
|
+
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
8997
|
+
// for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
|
|
8998
|
+
// eslint-disable-next-line no-loop-func
|
|
8999
|
+
nativeReplace.call(match[0], reCopy, function () {
|
|
9000
|
+
for (i = 1; i < arguments.length - 2; i++) {
|
|
9001
|
+
if (arguments[i] === undefined) match[i] = undefined;
|
|
9002
|
+
}
|
|
9003
|
+
});
|
|
9004
|
+
}
|
|
9005
|
+
|
|
9006
|
+
return match;
|
|
9007
|
+
};
|
|
9008
|
+
}
|
|
9009
|
+
|
|
9010
|
+
module.exports = patchedExec;
|
|
9011
|
+
|
|
9012
|
+
|
|
9013
|
+
/***/ }),
|
|
9014
|
+
|
|
9015
|
+
/***/ "5537":
|
|
9016
|
+
/***/ (function(module, exports, __nested_webpack_require_24687__) {
|
|
9017
|
+
|
|
9018
|
+
var core = __nested_webpack_require_24687__("8378");
|
|
9019
|
+
var global = __nested_webpack_require_24687__("7726");
|
|
9020
|
+
var SHARED = '__core-js_shared__';
|
|
9021
|
+
var store = global[SHARED] || (global[SHARED] = {});
|
|
9022
|
+
|
|
9023
|
+
(module.exports = function (key, value) {
|
|
9024
|
+
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
9025
|
+
})('versions', []).push({
|
|
9026
|
+
version: core.version,
|
|
9027
|
+
mode: __nested_webpack_require_24687__("2d00") ? 'pure' : 'global',
|
|
9028
|
+
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
|
|
9029
|
+
});
|
|
9030
|
+
|
|
9031
|
+
|
|
9032
|
+
/***/ }),
|
|
9033
|
+
|
|
9034
|
+
/***/ "5ca1":
|
|
9035
|
+
/***/ (function(module, exports, __nested_webpack_require_25220__) {
|
|
9036
|
+
|
|
9037
|
+
var global = __nested_webpack_require_25220__("7726");
|
|
9038
|
+
var core = __nested_webpack_require_25220__("8378");
|
|
9039
|
+
var hide = __nested_webpack_require_25220__("32e9");
|
|
9040
|
+
var redefine = __nested_webpack_require_25220__("2aba");
|
|
9041
|
+
var ctx = __nested_webpack_require_25220__("9b43");
|
|
9042
|
+
var PROTOTYPE = 'prototype';
|
|
9043
|
+
|
|
9044
|
+
var $export = function (type, name, source) {
|
|
9045
|
+
var IS_FORCED = type & $export.F;
|
|
9046
|
+
var IS_GLOBAL = type & $export.G;
|
|
9047
|
+
var IS_STATIC = type & $export.S;
|
|
9048
|
+
var IS_PROTO = type & $export.P;
|
|
9049
|
+
var IS_BIND = type & $export.B;
|
|
9050
|
+
var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
|
|
9051
|
+
var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
|
|
9052
|
+
var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
|
|
9053
|
+
var key, own, out, exp;
|
|
9054
|
+
if (IS_GLOBAL) source = name;
|
|
9055
|
+
for (key in source) {
|
|
9056
|
+
// contains in native
|
|
9057
|
+
own = !IS_FORCED && target && target[key] !== undefined;
|
|
9058
|
+
// export native or passed
|
|
9059
|
+
out = (own ? target : source)[key];
|
|
9060
|
+
// bind timers to global for call from export context
|
|
9061
|
+
exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
|
|
9062
|
+
// extend global
|
|
9063
|
+
if (target) redefine(target, key, out, type & $export.U);
|
|
9064
|
+
// export
|
|
9065
|
+
if (exports[key] != out) hide(exports, key, exp);
|
|
9066
|
+
if (IS_PROTO && expProto[key] != out) expProto[key] = out;
|
|
9067
|
+
}
|
|
9068
|
+
};
|
|
9069
|
+
global.core = core;
|
|
9070
|
+
// type bitmap
|
|
9071
|
+
$export.F = 1; // forced
|
|
9072
|
+
$export.G = 2; // global
|
|
9073
|
+
$export.S = 4; // static
|
|
9074
|
+
$export.P = 8; // proto
|
|
9075
|
+
$export.B = 16; // bind
|
|
9076
|
+
$export.W = 32; // wrap
|
|
9077
|
+
$export.U = 64; // safe
|
|
9078
|
+
$export.R = 128; // real proto method for `library`
|
|
9079
|
+
module.exports = $export;
|
|
9080
|
+
|
|
9081
|
+
|
|
9082
|
+
/***/ }),
|
|
9083
|
+
|
|
9084
|
+
/***/ "5f1b":
|
|
9085
|
+
/***/ (function(module, exports, __nested_webpack_require_26945__) {
|
|
9086
|
+
|
|
9087
|
+
"use strict";
|
|
9088
|
+
|
|
9089
|
+
|
|
9090
|
+
var classof = __nested_webpack_require_26945__("23c6");
|
|
9091
|
+
var builtinExec = RegExp.prototype.exec;
|
|
9092
|
+
|
|
9093
|
+
// `RegExpExec` abstract operation
|
|
9094
|
+
// https://tc39.github.io/ecma262/#sec-regexpexec
|
|
9095
|
+
module.exports = function (R, S) {
|
|
9096
|
+
var exec = R.exec;
|
|
9097
|
+
if (typeof exec === 'function') {
|
|
9098
|
+
var result = exec.call(R, S);
|
|
9099
|
+
if (typeof result !== 'object') {
|
|
9100
|
+
throw new TypeError('RegExp exec method returned something other than an Object or null');
|
|
9101
|
+
}
|
|
9102
|
+
return result;
|
|
9103
|
+
}
|
|
9104
|
+
if (classof(R) !== 'RegExp') {
|
|
9105
|
+
throw new TypeError('RegExp#exec called on incompatible receiver');
|
|
9106
|
+
}
|
|
9107
|
+
return builtinExec.call(R, S);
|
|
9108
|
+
};
|
|
9109
|
+
|
|
9110
|
+
|
|
9111
|
+
/***/ }),
|
|
9112
|
+
|
|
9113
|
+
/***/ "69a8":
|
|
9114
|
+
/***/ (function(module, exports) {
|
|
9115
|
+
|
|
9116
|
+
var hasOwnProperty = {}.hasOwnProperty;
|
|
9117
|
+
module.exports = function (it, key) {
|
|
9118
|
+
return hasOwnProperty.call(it, key);
|
|
9119
|
+
};
|
|
9120
|
+
|
|
9121
|
+
|
|
9122
|
+
/***/ }),
|
|
9123
|
+
|
|
9124
|
+
/***/ "6a99":
|
|
9125
|
+
/***/ (function(module, exports, __nested_webpack_require_27834__) {
|
|
9126
|
+
|
|
9127
|
+
// 7.1.1 ToPrimitive(input [, PreferredType])
|
|
9128
|
+
var isObject = __nested_webpack_require_27834__("d3f4");
|
|
9129
|
+
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
|
|
9130
|
+
// and the second argument - flag - preferred type is a string
|
|
9131
|
+
module.exports = function (it, S) {
|
|
9132
|
+
if (!isObject(it)) return it;
|
|
9133
|
+
var fn, val;
|
|
9134
|
+
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
|
|
9135
|
+
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
|
|
9136
|
+
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
|
|
9137
|
+
throw TypeError("Can't convert object to primitive value");
|
|
9138
|
+
};
|
|
9139
|
+
|
|
9140
|
+
|
|
9141
|
+
/***/ }),
|
|
9142
|
+
|
|
9143
|
+
/***/ "7726":
|
|
9144
|
+
/***/ (function(module, exports) {
|
|
9145
|
+
|
|
9146
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
9147
|
+
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
|
9148
|
+
? window : typeof self != 'undefined' && self.Math == Math ? self
|
|
9149
|
+
// eslint-disable-next-line no-new-func
|
|
9150
|
+
: Function('return this')();
|
|
9151
|
+
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
|
9152
|
+
|
|
9153
|
+
|
|
9154
|
+
/***/ }),
|
|
9155
|
+
|
|
9156
|
+
/***/ "79e5":
|
|
9157
|
+
/***/ (function(module, exports) {
|
|
9158
|
+
|
|
9159
|
+
module.exports = function (exec) {
|
|
9160
|
+
try {
|
|
9161
|
+
return !!exec();
|
|
9162
|
+
} catch (e) {
|
|
9163
|
+
return true;
|
|
9164
|
+
}
|
|
9165
|
+
};
|
|
9166
|
+
|
|
9167
|
+
|
|
9168
|
+
/***/ }),
|
|
9169
|
+
|
|
9170
|
+
/***/ "7f7f":
|
|
9171
|
+
/***/ (function(module, exports, __nested_webpack_require_29176__) {
|
|
9172
|
+
|
|
9173
|
+
var dP = __nested_webpack_require_29176__("86cc").f;
|
|
9174
|
+
var FProto = Function.prototype;
|
|
9175
|
+
var nameRE = /^\s*function ([^ (]*)/;
|
|
9176
|
+
var NAME = 'name';
|
|
9177
|
+
|
|
9178
|
+
// 19.2.4.2 name
|
|
9179
|
+
NAME in FProto || __nested_webpack_require_29176__("9e1e") && dP(FProto, NAME, {
|
|
9180
|
+
configurable: true,
|
|
9181
|
+
get: function () {
|
|
9182
|
+
try {
|
|
9183
|
+
return ('' + this).match(nameRE)[1];
|
|
9184
|
+
} catch (e) {
|
|
9185
|
+
return '';
|
|
9186
|
+
}
|
|
9187
|
+
}
|
|
9188
|
+
});
|
|
9189
|
+
|
|
9190
|
+
|
|
9191
|
+
/***/ }),
|
|
9192
|
+
|
|
9193
|
+
/***/ "8378":
|
|
9194
|
+
/***/ (function(module, exports) {
|
|
9195
|
+
|
|
9196
|
+
var core = module.exports = { version: '2.6.5' };
|
|
9197
|
+
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
|
9198
|
+
|
|
9199
|
+
|
|
9200
|
+
/***/ }),
|
|
9201
|
+
|
|
9202
|
+
/***/ "86cc":
|
|
9203
|
+
/***/ (function(module, exports, __nested_webpack_require_29806__) {
|
|
9204
|
+
|
|
9205
|
+
var anObject = __nested_webpack_require_29806__("cb7c");
|
|
9206
|
+
var IE8_DOM_DEFINE = __nested_webpack_require_29806__("c69a");
|
|
9207
|
+
var toPrimitive = __nested_webpack_require_29806__("6a99");
|
|
9208
|
+
var dP = Object.defineProperty;
|
|
9209
|
+
|
|
9210
|
+
exports.f = __nested_webpack_require_29806__("9e1e") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
|
9211
|
+
anObject(O);
|
|
9212
|
+
P = toPrimitive(P, true);
|
|
9213
|
+
anObject(Attributes);
|
|
9214
|
+
if (IE8_DOM_DEFINE) try {
|
|
9215
|
+
return dP(O, P, Attributes);
|
|
9216
|
+
} catch (e) { /* empty */ }
|
|
9217
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
9218
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
9219
|
+
return O;
|
|
9220
|
+
};
|
|
9221
|
+
|
|
9222
|
+
|
|
9223
|
+
/***/ }),
|
|
9224
|
+
|
|
9225
|
+
/***/ "9b43":
|
|
9226
|
+
/***/ (function(module, exports, __nested_webpack_require_30496__) {
|
|
9227
|
+
|
|
9228
|
+
// optional / simple context binding
|
|
9229
|
+
var aFunction = __nested_webpack_require_30496__("d8e8");
|
|
9230
|
+
module.exports = function (fn, that, length) {
|
|
9231
|
+
aFunction(fn);
|
|
9232
|
+
if (that === undefined) return fn;
|
|
9233
|
+
switch (length) {
|
|
9234
|
+
case 1: return function (a) {
|
|
9235
|
+
return fn.call(that, a);
|
|
9236
|
+
};
|
|
9237
|
+
case 2: return function (a, b) {
|
|
9238
|
+
return fn.call(that, a, b);
|
|
9239
|
+
};
|
|
9240
|
+
case 3: return function (a, b, c) {
|
|
9241
|
+
return fn.call(that, a, b, c);
|
|
9242
|
+
};
|
|
9243
|
+
}
|
|
9244
|
+
return function (/* ...args */) {
|
|
9245
|
+
return fn.apply(that, arguments);
|
|
9246
|
+
};
|
|
9247
|
+
};
|
|
9248
|
+
|
|
9249
|
+
|
|
9250
|
+
/***/ }),
|
|
9251
|
+
|
|
9252
|
+
/***/ "9def":
|
|
9253
|
+
/***/ (function(module, exports, __nested_webpack_require_31103__) {
|
|
9254
|
+
|
|
9255
|
+
// 7.1.15 ToLength
|
|
9256
|
+
var toInteger = __nested_webpack_require_31103__("4588");
|
|
9257
|
+
var min = Math.min;
|
|
9258
|
+
module.exports = function (it) {
|
|
9259
|
+
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
|
|
9260
|
+
};
|
|
9261
|
+
|
|
9262
|
+
|
|
9263
|
+
/***/ }),
|
|
9264
|
+
|
|
9265
|
+
/***/ "9e1e":
|
|
9266
|
+
/***/ (function(module, exports, __nested_webpack_require_31405__) {
|
|
9267
|
+
|
|
9268
|
+
// Thank's IE8 for his funny defineProperty
|
|
9269
|
+
module.exports = !__nested_webpack_require_31405__("79e5")(function () {
|
|
9270
|
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
9271
|
+
});
|
|
9272
|
+
|
|
9273
|
+
|
|
9274
|
+
/***/ }),
|
|
9275
|
+
|
|
9276
|
+
/***/ "a481":
|
|
9277
|
+
/***/ (function(module, exports, __nested_webpack_require_31681__) {
|
|
9278
|
+
|
|
9279
|
+
"use strict";
|
|
9280
|
+
|
|
9281
|
+
|
|
9282
|
+
var anObject = __nested_webpack_require_31681__("cb7c");
|
|
9283
|
+
var toObject = __nested_webpack_require_31681__("4bf8");
|
|
9284
|
+
var toLength = __nested_webpack_require_31681__("9def");
|
|
9285
|
+
var toInteger = __nested_webpack_require_31681__("4588");
|
|
9286
|
+
var advanceStringIndex = __nested_webpack_require_31681__("0390");
|
|
9287
|
+
var regExpExec = __nested_webpack_require_31681__("5f1b");
|
|
9288
|
+
var max = Math.max;
|
|
9289
|
+
var min = Math.min;
|
|
9290
|
+
var floor = Math.floor;
|
|
9291
|
+
var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
|
|
9292
|
+
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
|
|
9293
|
+
|
|
9294
|
+
var maybeToString = function (it) {
|
|
9295
|
+
return it === undefined ? it : String(it);
|
|
9296
|
+
};
|
|
9297
|
+
|
|
9298
|
+
// @@replace logic
|
|
9299
|
+
__nested_webpack_require_31681__("214f")('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
|
|
9300
|
+
return [
|
|
9301
|
+
// `String.prototype.replace` method
|
|
9302
|
+
// https://tc39.github.io/ecma262/#sec-string.prototype.replace
|
|
9303
|
+
function replace(searchValue, replaceValue) {
|
|
9304
|
+
var O = defined(this);
|
|
9305
|
+
var fn = searchValue == undefined ? undefined : searchValue[REPLACE];
|
|
9306
|
+
return fn !== undefined
|
|
9307
|
+
? fn.call(searchValue, O, replaceValue)
|
|
9308
|
+
: $replace.call(String(O), searchValue, replaceValue);
|
|
9309
|
+
},
|
|
9310
|
+
// `RegExp.prototype[@@replace]` method
|
|
9311
|
+
// https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
|
|
9312
|
+
function (regexp, replaceValue) {
|
|
9313
|
+
var res = maybeCallNative($replace, regexp, this, replaceValue);
|
|
9314
|
+
if (res.done) return res.value;
|
|
9315
|
+
|
|
9316
|
+
var rx = anObject(regexp);
|
|
9317
|
+
var S = String(this);
|
|
9318
|
+
var functionalReplace = typeof replaceValue === 'function';
|
|
9319
|
+
if (!functionalReplace) replaceValue = String(replaceValue);
|
|
9320
|
+
var global = rx.global;
|
|
9321
|
+
if (global) {
|
|
9322
|
+
var fullUnicode = rx.unicode;
|
|
9323
|
+
rx.lastIndex = 0;
|
|
9324
|
+
}
|
|
9325
|
+
var results = [];
|
|
9326
|
+
while (true) {
|
|
9327
|
+
var result = regExpExec(rx, S);
|
|
9328
|
+
if (result === null) break;
|
|
9329
|
+
results.push(result);
|
|
9330
|
+
if (!global) break;
|
|
9331
|
+
var matchStr = String(result[0]);
|
|
9332
|
+
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
9333
|
+
}
|
|
9334
|
+
var accumulatedResult = '';
|
|
9335
|
+
var nextSourcePosition = 0;
|
|
9336
|
+
for (var i = 0; i < results.length; i++) {
|
|
9337
|
+
result = results[i];
|
|
9338
|
+
var matched = String(result[0]);
|
|
9339
|
+
var position = max(min(toInteger(result.index), S.length), 0);
|
|
9340
|
+
var captures = [];
|
|
9341
|
+
// NOTE: This is equivalent to
|
|
9342
|
+
// captures = result.slice(1).map(maybeToString)
|
|
9343
|
+
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
9344
|
+
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
|
9345
|
+
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
|
9346
|
+
for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
|
|
9347
|
+
var namedCaptures = result.groups;
|
|
9348
|
+
if (functionalReplace) {
|
|
9349
|
+
var replacerArgs = [matched].concat(captures, position, S);
|
|
9350
|
+
if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
|
|
9351
|
+
var replacement = String(replaceValue.apply(undefined, replacerArgs));
|
|
9352
|
+
} else {
|
|
9353
|
+
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
9354
|
+
}
|
|
9355
|
+
if (position >= nextSourcePosition) {
|
|
9356
|
+
accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
|
|
9357
|
+
nextSourcePosition = position + matched.length;
|
|
9358
|
+
}
|
|
9359
|
+
}
|
|
9360
|
+
return accumulatedResult + S.slice(nextSourcePosition);
|
|
9361
|
+
}
|
|
9362
|
+
];
|
|
9363
|
+
|
|
9364
|
+
// https://tc39.github.io/ecma262/#sec-getsubstitution
|
|
9365
|
+
function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
|
|
9366
|
+
var tailPos = position + matched.length;
|
|
9367
|
+
var m = captures.length;
|
|
9368
|
+
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
|
9369
|
+
if (namedCaptures !== undefined) {
|
|
9370
|
+
namedCaptures = toObject(namedCaptures);
|
|
9371
|
+
symbols = SUBSTITUTION_SYMBOLS;
|
|
9372
|
+
}
|
|
9373
|
+
return $replace.call(replacement, symbols, function (match, ch) {
|
|
9374
|
+
var capture;
|
|
9375
|
+
switch (ch.charAt(0)) {
|
|
9376
|
+
case '$': return '$';
|
|
9377
|
+
case '&': return matched;
|
|
9378
|
+
case '`': return str.slice(0, position);
|
|
9379
|
+
case "'": return str.slice(tailPos);
|
|
9380
|
+
case '<':
|
|
9381
|
+
capture = namedCaptures[ch.slice(1, -1)];
|
|
9382
|
+
break;
|
|
9383
|
+
default: // \d\d?
|
|
9384
|
+
var n = +ch;
|
|
9385
|
+
if (n === 0) return match;
|
|
9386
|
+
if (n > m) {
|
|
9387
|
+
var f = floor(n / 10);
|
|
9388
|
+
if (f === 0) return match;
|
|
9389
|
+
if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
|
|
9390
|
+
return match;
|
|
9391
|
+
}
|
|
9392
|
+
capture = captures[n - 1];
|
|
9393
|
+
}
|
|
9394
|
+
return capture === undefined ? '' : capture;
|
|
9395
|
+
});
|
|
9396
|
+
}
|
|
9397
|
+
});
|
|
9398
|
+
|
|
9399
|
+
|
|
9400
|
+
/***/ }),
|
|
9401
|
+
|
|
9402
|
+
/***/ "b0c5":
|
|
9403
|
+
/***/ (function(module, exports, __nested_webpack_require_36427__) {
|
|
9404
|
+
|
|
9405
|
+
"use strict";
|
|
9406
|
+
|
|
9407
|
+
var regexpExec = __nested_webpack_require_36427__("520a");
|
|
9408
|
+
__nested_webpack_require_36427__("5ca1")({
|
|
9409
|
+
target: 'RegExp',
|
|
9410
|
+
proto: true,
|
|
9411
|
+
forced: regexpExec !== /./.exec
|
|
9412
|
+
}, {
|
|
9413
|
+
exec: regexpExec
|
|
9414
|
+
});
|
|
9415
|
+
|
|
9416
|
+
|
|
9417
|
+
/***/ }),
|
|
9418
|
+
|
|
9419
|
+
/***/ "be13":
|
|
9420
|
+
/***/ (function(module, exports) {
|
|
9421
|
+
|
|
9422
|
+
// 7.2.1 RequireObjectCoercible(argument)
|
|
9423
|
+
module.exports = function (it) {
|
|
9424
|
+
if (it == undefined) throw TypeError("Can't call method on " + it);
|
|
9425
|
+
return it;
|
|
9426
|
+
};
|
|
9427
|
+
|
|
9428
|
+
|
|
9429
|
+
/***/ }),
|
|
9430
|
+
|
|
9431
|
+
/***/ "c4a0":
|
|
9432
|
+
/***/ (function(module, __webpack_exports__, __nested_webpack_require_36936__) {
|
|
9433
|
+
|
|
9434
|
+
"use strict";
|
|
9435
|
+
/* 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");
|
|
9436
|
+
/* 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__);
|
|
9437
|
+
/* unused harmony reexport * */
|
|
9438
|
+
/* 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);
|
|
9439
|
+
|
|
9440
|
+
/***/ }),
|
|
9441
|
+
|
|
9442
|
+
/***/ "c69a":
|
|
9443
|
+
/***/ (function(module, exports, __nested_webpack_require_39441__) {
|
|
9444
|
+
|
|
9445
|
+
module.exports = !__nested_webpack_require_39441__("9e1e") && !__nested_webpack_require_39441__("79e5")(function () {
|
|
9446
|
+
return Object.defineProperty(__nested_webpack_require_39441__("230e")('div'), 'a', { get: function () { return 7; } }).a != 7;
|
|
9447
|
+
});
|
|
9448
|
+
|
|
9449
|
+
|
|
9450
|
+
/***/ }),
|
|
9451
|
+
|
|
9452
|
+
/***/ "ca5a":
|
|
9453
|
+
/***/ (function(module, exports) {
|
|
9454
|
+
|
|
9455
|
+
var id = 0;
|
|
9456
|
+
var px = Math.random();
|
|
9457
|
+
module.exports = function (key) {
|
|
9458
|
+
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
|
|
9459
|
+
};
|
|
9460
|
+
|
|
9461
|
+
|
|
9462
|
+
/***/ }),
|
|
9463
|
+
|
|
9464
|
+
/***/ "cb7c":
|
|
9465
|
+
/***/ (function(module, exports, __nested_webpack_require_39962__) {
|
|
9466
|
+
|
|
9467
|
+
var isObject = __nested_webpack_require_39962__("d3f4");
|
|
9468
|
+
module.exports = function (it) {
|
|
9469
|
+
if (!isObject(it)) throw TypeError(it + ' is not an object!');
|
|
9470
|
+
return it;
|
|
9471
|
+
};
|
|
9472
|
+
|
|
9473
|
+
|
|
9474
|
+
/***/ }),
|
|
9475
|
+
|
|
9476
|
+
/***/ "d3f4":
|
|
9477
|
+
/***/ (function(module, exports) {
|
|
9478
|
+
|
|
9479
|
+
module.exports = function (it) {
|
|
9480
|
+
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
|
9481
|
+
};
|
|
9482
|
+
|
|
9483
|
+
|
|
9484
|
+
/***/ }),
|
|
9485
|
+
|
|
9486
|
+
/***/ "d5fa":
|
|
9487
|
+
/***/ (function(module, exports, __nested_webpack_require_40377__) {
|
|
9488
|
+
|
|
9489
|
+
exports = module.exports = __nested_webpack_require_40377__("2350")(false);
|
|
9490
|
+
// imports
|
|
9491
|
+
|
|
9492
|
+
|
|
9493
|
+
// module
|
|
9494
|
+
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}", ""]);
|
|
9495
|
+
|
|
9496
|
+
// exports
|
|
9497
|
+
|
|
9498
|
+
|
|
9499
|
+
/***/ }),
|
|
9500
|
+
|
|
9501
|
+
/***/ "d8e8":
|
|
9502
|
+
/***/ (function(module, exports) {
|
|
9503
|
+
|
|
9504
|
+
module.exports = function (it) {
|
|
9505
|
+
if (typeof it != 'function') throw TypeError(it + ' is not a function!');
|
|
9506
|
+
return it;
|
|
9507
|
+
};
|
|
9508
|
+
|
|
9509
|
+
|
|
9510
|
+
/***/ }),
|
|
9511
|
+
|
|
9512
|
+
/***/ "fa5b":
|
|
9513
|
+
/***/ (function(module, exports, __nested_webpack_require_41200__) {
|
|
9514
|
+
|
|
9515
|
+
module.exports = __nested_webpack_require_41200__("5537")('native-function-to-string', Function.toString);
|
|
9516
|
+
|
|
9517
|
+
|
|
9518
|
+
/***/ }),
|
|
9519
|
+
|
|
9520
|
+
/***/ "fb15":
|
|
9521
|
+
/***/ (function(module, __nested_webpack_exports__, __nested_webpack_require_41390__) {
|
|
9522
|
+
|
|
9523
|
+
"use strict";
|
|
9524
|
+
__nested_webpack_require_41390__.r(__nested_webpack_exports__);
|
|
9525
|
+
|
|
9526
|
+
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
9527
|
+
// This file is imported into lib/wc client bundles.
|
|
9528
|
+
|
|
9529
|
+
if (typeof window !== 'undefined') {
|
|
9530
|
+
var i
|
|
9531
|
+
if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
|
|
9532
|
+
__nested_webpack_require_41390__.p = i[1] // eslint-disable-line
|
|
9533
|
+
}
|
|
9534
|
+
}
|
|
9535
|
+
|
|
9536
|
+
// Indicate to webpack that this file can be concatenated
|
|
9537
|
+
/* harmony default export */ var setPublicPath = (null);
|
|
9538
|
+
|
|
9539
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.function.name.js
|
|
9540
|
+
var es6_function_name = __nested_webpack_require_41390__("7f7f");
|
|
9541
|
+
|
|
9542
|
+
// 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&
|
|
9543
|
+
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)}
|
|
9544
|
+
var staticRenderFns = []
|
|
9545
|
+
|
|
9546
|
+
|
|
9547
|
+
// CONCATENATED MODULE: ./packages/e-vue-contextmenu/e-vue-contextmenu.vue?vue&type=template&id=59f58ce6&scoped=true&
|
|
9548
|
+
|
|
9549
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.replace.js
|
|
9550
|
+
var es6_regexp_replace = __nested_webpack_require_41390__("a481");
|
|
9551
|
+
|
|
9552
|
+
// 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&
|
|
9553
|
+
|
|
9554
|
+
//
|
|
9555
|
+
//
|
|
9556
|
+
//
|
|
9557
|
+
//
|
|
9558
|
+
//
|
|
9559
|
+
//
|
|
9560
|
+
|
|
9561
|
+
/**
|
|
9562
|
+
* 第一步:实现点击出现
|
|
9563
|
+
* 第二步:出现在点击鼠标位置
|
|
9564
|
+
* 第三步:点击其他地方隐藏
|
|
9565
|
+
*/
|
|
9566
|
+
/* harmony default export */ var e_vue_contextmenuvue_type_script_lang_js_ = ({
|
|
9567
|
+
name: "e-vue-contextmenu",
|
|
9568
|
+
data: function data() {
|
|
9569
|
+
return {
|
|
9570
|
+
locals: {},
|
|
9571
|
+
ctxVisible: false,
|
|
9572
|
+
// 控制菜单显示隐藏
|
|
9573
|
+
ctxTop: 0,
|
|
9574
|
+
ctxLeft: 0
|
|
9575
|
+
};
|
|
9576
|
+
},
|
|
9577
|
+
// 监听计算属性,变量只要发生变化都会调用
|
|
9578
|
+
computed: {
|
|
9579
|
+
ctxStyle: function ctxStyle() {
|
|
9580
|
+
return {
|
|
9581
|
+
display: this.ctxVisible ? "block" : "none",
|
|
9582
|
+
top: (this.ctxTop || 0) + "px",
|
|
9583
|
+
left: (this.ctxLeft || 0) + "px"
|
|
9584
|
+
};
|
|
9585
|
+
}
|
|
9586
|
+
},
|
|
9587
|
+
methods: {
|
|
9588
|
+
// 全局监听事件
|
|
9589
|
+
addListener: function addListener() {
|
|
9590
|
+
window.addEventListener("click", this._onclick, true);
|
|
9591
|
+
},
|
|
9592
|
+
// 取消全局监听
|
|
9593
|
+
removerListener: function removerListener() {
|
|
9594
|
+
window.removeEventListener("click", this._onclick, true);
|
|
9595
|
+
},
|
|
9596
|
+
// 设置位置
|
|
9597
|
+
|
|
9598
|
+
/*
|
|
9599
|
+
* this function handles some cross-browser compat issues
|
|
9600
|
+
* thanks to https://github.com/callmenick/Custom-Context-Menu
|
|
9601
|
+
*/
|
|
9602
|
+
setPosition: function setPosition(e) {
|
|
9603
|
+
var _this = this;
|
|
9604
|
+
|
|
9605
|
+
e = e || window.event;
|
|
9606
|
+
var scrollingElement = document.scrollingElement || document.documentElement;
|
|
9607
|
+
|
|
9608
|
+
if (e.pageX || e.pageY) {
|
|
9609
|
+
this.ctxLeft = e.pageX;
|
|
9610
|
+
this.ctxTop = e.pageY - scrollingElement.scrollTop;
|
|
9611
|
+
} else if (e.clientX || e.clientY) {
|
|
9612
|
+
this.ctxLeft = e.clientX + scrollingElement.scrollLeft;
|
|
9613
|
+
this.ctxTop = e.clientY + scrollingElement.scrollTop;
|
|
9614
|
+
}
|
|
9615
|
+
|
|
9616
|
+
this.$nextTick(function () {
|
|
9617
|
+
var menu = _this.$el;
|
|
9618
|
+
var minHeight = (menu.style.minHeight || menu.style.height).replace("px", "") || 32;
|
|
9619
|
+
var minWidth = (menu.style.minWidth || menu.style.width).replace("px", "") || 32;
|
|
9620
|
+
var scrollHeight = menu.scrollHeight || minHeight;
|
|
9621
|
+
var scrollWidth = menu.scrollWidth || minWidth;
|
|
9622
|
+
var largestHeight = window.innerHeight - scrollHeight - 25;
|
|
9623
|
+
var largestWidth = window.innerWidth - scrollWidth - 25;
|
|
9624
|
+
if (_this.ctxTop > largestHeight) _this.ctxTop = largestHeight;
|
|
9625
|
+
if (_this.ctxLeft > largestWidth) _this.ctxLeft = largestWidth;
|
|
9626
|
+
});
|
|
9627
|
+
return e;
|
|
9628
|
+
},
|
|
9629
|
+
showMenu: function showMenu(e, data) {
|
|
9630
|
+
this.ctxVisible = true;
|
|
9631
|
+
this.setPosition(e);
|
|
9632
|
+
this.$emit("ctx-show", this.locals = data || {});
|
|
9633
|
+
this.addListener();
|
|
9634
|
+
},
|
|
9635
|
+
// 全局监听点击
|
|
9636
|
+
_onclick: function _onclick(e) {
|
|
9637
|
+
e = e || window.event;
|
|
9638
|
+
var isOpen = !!this.ctxVisible;
|
|
9639
|
+
var outsideClick = isOpen && !this.$el.contains(e.target);
|
|
9640
|
+
|
|
9641
|
+
if (outsideClick) {
|
|
9642
|
+
this.ctxVisible = false;
|
|
9643
|
+
this.$emit("ctx-hide", this.locals || {});
|
|
9644
|
+
this.removerListener();
|
|
9645
|
+
}
|
|
9646
|
+
},
|
|
9647
|
+
|
|
9648
|
+
/**
|
|
9649
|
+
* 隐藏菜单
|
|
9650
|
+
*/
|
|
9651
|
+
hideMenu: function hideMenu() {
|
|
9652
|
+
this.ctxVisible = false;
|
|
9653
|
+
}
|
|
9654
|
+
}
|
|
9655
|
+
});
|
|
9656
|
+
// CONCATENATED MODULE: ./packages/e-vue-contextmenu/e-vue-contextmenu.vue?vue&type=script&lang=js&
|
|
9657
|
+
/* harmony default export */ var e_vue_contextmenu_e_vue_contextmenuvue_type_script_lang_js_ = (e_vue_contextmenuvue_type_script_lang_js_);
|
|
9658
|
+
// EXTERNAL MODULE: ./packages/e-vue-contextmenu/e-vue-contextmenu.vue?vue&type=style&index=0&id=59f58ce6&lang=scss&scoped=true&
|
|
9659
|
+
var e_vue_contextmenuvue_type_style_index_0_id_59f58ce6_lang_scss_scoped_true_ = __nested_webpack_require_41390__("c4a0");
|
|
9660
|
+
|
|
9661
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
9662
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
9663
|
+
|
|
9664
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
9665
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
9666
|
+
// be included in the final webpack user bundle.
|
|
9667
|
+
|
|
9668
|
+
function normalizeComponent (
|
|
9669
|
+
scriptExports,
|
|
9670
|
+
render,
|
|
9671
|
+
staticRenderFns,
|
|
9672
|
+
functionalTemplate,
|
|
9673
|
+
injectStyles,
|
|
9674
|
+
scopeId,
|
|
9675
|
+
moduleIdentifier, /* server only */
|
|
9676
|
+
shadowMode /* vue-cli only */
|
|
9677
|
+
) {
|
|
9678
|
+
// Vue.extend constructor export interop
|
|
9679
|
+
var options = typeof scriptExports === 'function'
|
|
9680
|
+
? scriptExports.options
|
|
9681
|
+
: scriptExports
|
|
9682
|
+
|
|
9683
|
+
// render functions
|
|
9684
|
+
if (render) {
|
|
9685
|
+
options.render = render
|
|
9686
|
+
options.staticRenderFns = staticRenderFns
|
|
9687
|
+
options._compiled = true
|
|
9688
|
+
}
|
|
9689
|
+
|
|
9690
|
+
// functional template
|
|
9691
|
+
if (functionalTemplate) {
|
|
9692
|
+
options.functional = true
|
|
9693
|
+
}
|
|
9694
|
+
|
|
9695
|
+
// scopedId
|
|
9696
|
+
if (scopeId) {
|
|
9697
|
+
options._scopeId = 'data-v-' + scopeId
|
|
9698
|
+
}
|
|
9699
|
+
|
|
9700
|
+
var hook
|
|
9701
|
+
if (moduleIdentifier) { // server build
|
|
9702
|
+
hook = function (context) {
|
|
9703
|
+
// 2.3 injection
|
|
9704
|
+
context =
|
|
9705
|
+
context || // cached call
|
|
9706
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
9707
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
9708
|
+
// 2.2 with runInNewContext: true
|
|
9709
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
9710
|
+
context = __VUE_SSR_CONTEXT__
|
|
9711
|
+
}
|
|
9712
|
+
// inject component styles
|
|
9713
|
+
if (injectStyles) {
|
|
9714
|
+
injectStyles.call(this, context)
|
|
9715
|
+
}
|
|
9716
|
+
// register component module identifier for async chunk inferrence
|
|
9717
|
+
if (context && context._registeredComponents) {
|
|
9718
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
9719
|
+
}
|
|
9720
|
+
}
|
|
9721
|
+
// used by ssr in case component is cached and beforeCreate
|
|
9722
|
+
// never gets called
|
|
9723
|
+
options._ssrRegister = hook
|
|
9724
|
+
} else if (injectStyles) {
|
|
9725
|
+
hook = shadowMode
|
|
9726
|
+
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
|
9727
|
+
: injectStyles
|
|
9728
|
+
}
|
|
9729
|
+
|
|
9730
|
+
if (hook) {
|
|
9731
|
+
if (options.functional) {
|
|
9732
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
9733
|
+
// go through the normalizer
|
|
9734
|
+
options._injectStyles = hook
|
|
9735
|
+
// register for functioal component in vue file
|
|
9736
|
+
var originalRender = options.render
|
|
9737
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
9738
|
+
hook.call(context)
|
|
9739
|
+
return originalRender(h, context)
|
|
9740
|
+
}
|
|
9741
|
+
} else {
|
|
9742
|
+
// inject component registration as beforeCreate hook
|
|
9743
|
+
var existing = options.beforeCreate
|
|
9744
|
+
options.beforeCreate = existing
|
|
9745
|
+
? [].concat(existing, hook)
|
|
9746
|
+
: [hook]
|
|
9747
|
+
}
|
|
9748
|
+
}
|
|
9749
|
+
|
|
9750
|
+
return {
|
|
9751
|
+
exports: scriptExports,
|
|
9752
|
+
options: options
|
|
9753
|
+
}
|
|
9754
|
+
}
|
|
9755
|
+
|
|
9756
|
+
// CONCATENATED MODULE: ./packages/e-vue-contextmenu/e-vue-contextmenu.vue
|
|
9757
|
+
|
|
9758
|
+
|
|
9759
|
+
|
|
9760
|
+
|
|
9761
|
+
|
|
9762
|
+
|
|
9763
|
+
/* normalize component */
|
|
9764
|
+
|
|
9765
|
+
var component = normalizeComponent(
|
|
9766
|
+
e_vue_contextmenu_e_vue_contextmenuvue_type_script_lang_js_,
|
|
9767
|
+
render,
|
|
9768
|
+
staticRenderFns,
|
|
9769
|
+
false,
|
|
9770
|
+
null,
|
|
9771
|
+
"59f58ce6",
|
|
9772
|
+
null
|
|
9773
|
+
|
|
9774
|
+
)
|
|
9775
|
+
|
|
9776
|
+
/* harmony default export */ var e_vue_contextmenu = (component.exports);
|
|
9777
|
+
// CONCATENATED MODULE: ./packages/e-vue-contextmenu/index.js
|
|
9778
|
+
|
|
9779
|
+
|
|
9780
|
+
|
|
9781
|
+
e_vue_contextmenu.install = function (vue) {
|
|
9782
|
+
Vue.component(e_vue_contextmenu.name, e_vue_contextmenu);
|
|
9783
|
+
};
|
|
9784
|
+
|
|
9785
|
+
/* harmony default export */ var packages_e_vue_contextmenu = (e_vue_contextmenu);
|
|
9786
|
+
// CONCATENATED MODULE: ./packages/index.js
|
|
9787
|
+
|
|
9788
|
+
|
|
9789
|
+
var components = [packages_e_vue_contextmenu];
|
|
9790
|
+
|
|
9791
|
+
var install = function install(Vue) {
|
|
9792
|
+
if (install['installed']) return;
|
|
9793
|
+
components.map(function (component) {
|
|
9794
|
+
return Vue.component(component.name, component);
|
|
9795
|
+
});
|
|
9796
|
+
}; // 判断是否是直接引入文件
|
|
9797
|
+
|
|
9798
|
+
|
|
9799
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
9800
|
+
install(window.Vue);
|
|
9801
|
+
}
|
|
9802
|
+
|
|
9803
|
+
/* harmony default export */ var packages_0 = ({
|
|
9804
|
+
install: install,
|
|
9805
|
+
EVueContextmenu: packages_e_vue_contextmenu
|
|
9806
|
+
});
|
|
9807
|
+
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
9808
|
+
|
|
9809
|
+
|
|
9810
|
+
/* harmony default export */ var entry_lib = __nested_webpack_exports__["default"] = (packages_0);
|
|
9811
|
+
|
|
9812
|
+
|
|
9813
|
+
|
|
9814
|
+
/***/ })
|
|
9815
|
+
|
|
9816
|
+
/******/ });
|
|
9817
|
+
//# sourceMappingURL=e-vue-contextmenu.common.js.map
|
|
9818
|
+
|
|
8084
9819
|
/***/ }),
|
|
8085
9820
|
|
|
8086
9821
|
/***/ 655:
|
|
@@ -32775,19 +34510,19 @@ var update = add("4ff8cc4e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32775
34510
|
|
|
32776
34511
|
/***/ }),
|
|
32777
34512
|
|
|
32778
|
-
/***/
|
|
34513
|
+
/***/ 2993:
|
|
32779
34514
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32780
34515
|
|
|
32781
34516
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32782
34517
|
|
|
32783
34518
|
// load the styles
|
|
32784
|
-
var content = __webpack_require__(
|
|
34519
|
+
var content = __webpack_require__(9915);
|
|
32785
34520
|
if(content.__esModule) content = content.default;
|
|
32786
34521
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32787
34522
|
if(content.locals) module.exports = content.locals;
|
|
32788
34523
|
// add the styles to the DOM
|
|
32789
34524
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32790
|
-
var update = add("
|
|
34525
|
+
var update = add("ecf048de", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32791
34526
|
|
|
32792
34527
|
/***/ }),
|
|
32793
34528
|
|
|
@@ -32951,19 +34686,19 @@ var update = add("e368663c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32951
34686
|
|
|
32952
34687
|
/***/ }),
|
|
32953
34688
|
|
|
32954
|
-
/***/
|
|
34689
|
+
/***/ 1512:
|
|
32955
34690
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32956
34691
|
|
|
32957
34692
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32958
34693
|
|
|
32959
34694
|
// load the styles
|
|
32960
|
-
var content = __webpack_require__(
|
|
34695
|
+
var content = __webpack_require__(4110);
|
|
32961
34696
|
if(content.__esModule) content = content.default;
|
|
32962
34697
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32963
34698
|
if(content.locals) module.exports = content.locals;
|
|
32964
34699
|
// add the styles to the DOM
|
|
32965
34700
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32966
|
-
var update = add("
|
|
34701
|
+
var update = add("79025911", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32967
34702
|
|
|
32968
34703
|
/***/ }),
|
|
32969
34704
|
|
|
@@ -34516,7 +36251,7 @@ webpackContext.id = 2397;
|
|
|
34516
36251
|
|
|
34517
36252
|
var map = {
|
|
34518
36253
|
"./app.js": 3299,
|
|
34519
|
-
"./route.js":
|
|
36254
|
+
"./route.js": 9103,
|
|
34520
36255
|
"./settings.js": 8183,
|
|
34521
36256
|
"./tagsView.js": 314
|
|
34522
36257
|
};
|
|
@@ -39995,6 +41730,9 @@ var wfengine_install = function install(Vue) {
|
|
|
39995
41730
|
if ($scope.curTN.staffOrgName) {
|
|
39996
41731
|
$scope.curTN.staffOrgShortName = $scope.curTN.staffOrgName.substring($scope.curTN.staffOrgName.indexOf('-') + 1);
|
|
39997
41732
|
}
|
|
41733
|
+
if ($scope.$route.query.wfNodelogId && $scope.$route.query.wfNodelogId !== $scope.curTN.tnID) {
|
|
41734
|
+
$scope.$route.query.wfNodelogId = $scope.curTN.tnID;
|
|
41735
|
+
}
|
|
39998
41736
|
$scope.wfJsonData = $scope.wfInstance.passenger.wfJsonData;
|
|
39999
41737
|
if (typeof $scope.wfJsonData === 'string') {
|
|
40000
41738
|
$scope.wfJsonData = JSON.parse($scope.wfJsonData);
|
|
@@ -40934,41 +42672,48 @@ var wfengine_install = function install(Vue) {
|
|
|
40934
42672
|
checkPrarllelTodoCount: function checkPrarllelTodoCount($scope, params) {
|
|
40935
42673
|
var _this4 = this;
|
|
40936
42674
|
return new Promise(function (resole) {
|
|
40937
|
-
|
|
40938
|
-
|
|
40939
|
-
|
|
40940
|
-
|
|
40941
|
-
|
|
40942
|
-
|
|
40943
|
-
|
|
40944
|
-
|
|
40945
|
-
|
|
40946
|
-
|
|
40947
|
-
|
|
40948
|
-
|
|
40949
|
-
|
|
40950
|
-
|
|
40951
|
-
|
|
40952
|
-
if (res.
|
|
40953
|
-
|
|
40954
|
-
|
|
40955
|
-
|
|
40956
|
-
|
|
40957
|
-
|
|
40958
|
-
|
|
42675
|
+
if ($scope.wfJsonData && $scope.wfJsonData.routes && $scope.wfJsonData.routes.length > 0) {
|
|
42676
|
+
var selRoute = $scope.wfJsonData.routes[$scope.submitHandle.route.index];
|
|
42677
|
+
if ($scope.curTN.passenger.prarllelTodoCount > 1 && selRoute.type === '4') {
|
|
42678
|
+
//检查是否还有其它并行办理人
|
|
42679
|
+
var saveData = {
|
|
42680
|
+
wfInstance: JSON.stringify($scope.wfInstance),
|
|
42681
|
+
curTN: JSON.stringify($scope.curTN)
|
|
42682
|
+
};
|
|
42683
|
+
_this4.$http({
|
|
42684
|
+
method: 'POST',
|
|
42685
|
+
contentType: 'application/x-www-form-urlencoded',
|
|
42686
|
+
data: lib_default().stringify(saveData),
|
|
42687
|
+
params: $scope.$vnode.context.wfParams,
|
|
42688
|
+
url: 'workflow/wfInstance/getUdmNodeUsers'
|
|
42689
|
+
}).then(function (res) {
|
|
42690
|
+
if (res.code === 'success') {
|
|
42691
|
+
if (res.body.prarllelTodoCount === 1) {
|
|
42692
|
+
$scope.$set($scope.curTN.passenger, 'prarllelTodoCount', 1);
|
|
42693
|
+
$scope.$set($scope.wfInstance.passenger, 'udmNodeUsers', res.body.udmNodeUsers);
|
|
42694
|
+
resole({
|
|
42695
|
+
code: 'retry',
|
|
42696
|
+
message: '提交路径不可用,请重试。'
|
|
42697
|
+
});
|
|
42698
|
+
} else {
|
|
42699
|
+
resole({
|
|
42700
|
+
code: 'success',
|
|
42701
|
+
message: '未检测到并行冲突,可继续提交。'
|
|
42702
|
+
});
|
|
42703
|
+
}
|
|
40959
42704
|
} else {
|
|
40960
42705
|
resole({
|
|
40961
|
-
code: '
|
|
40962
|
-
message:
|
|
42706
|
+
code: 'warning',
|
|
42707
|
+
message: res.message
|
|
40963
42708
|
});
|
|
40964
42709
|
}
|
|
40965
|
-
}
|
|
40966
|
-
|
|
40967
|
-
|
|
40968
|
-
|
|
40969
|
-
|
|
40970
|
-
}
|
|
40971
|
-
}
|
|
42710
|
+
});
|
|
42711
|
+
} else {
|
|
42712
|
+
resole({
|
|
42713
|
+
code: 'success',
|
|
42714
|
+
message: '未检测到并行冲突,可继续提交。'
|
|
42715
|
+
});
|
|
42716
|
+
}
|
|
40972
42717
|
} else {
|
|
40973
42718
|
resole({
|
|
40974
42719
|
code: 'success',
|
|
@@ -57154,8 +58899,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
57154
58899
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
57155
58900
|
};
|
|
57156
58901
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
57157
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
57158
|
-
var
|
|
58902
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
58903
|
+
var Attachmentvue_type_template_id_60e13902_scoped_true_render = function render() {
|
|
57159
58904
|
var _vm = this,
|
|
57160
58905
|
_c = _vm._self._c;
|
|
57161
58906
|
return _c('div', {
|
|
@@ -57416,7 +59161,7 @@ var Attachmentvue_type_template_id_000b45fc_scoped_true_render = function render
|
|
|
57416
59161
|
}
|
|
57417
59162
|
})], 1) : _vm._e()], 1);
|
|
57418
59163
|
};
|
|
57419
|
-
var
|
|
59164
|
+
var Attachmentvue_type_template_id_60e13902_scoped_true_staticRenderFns = [];
|
|
57420
59165
|
|
|
57421
59166
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
57422
59167
|
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); }
|
|
@@ -57782,7 +59527,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57782
59527
|
handleUploadPreview: function handleUploadPreview(attach) {
|
|
57783
59528
|
var _this6 = this;
|
|
57784
59529
|
return Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
57785
|
-
var device, topdf, extName, tSessionId, hostname, downUrl, convertType, appUrl, _tSessionId, _downUrl, WfModule, WFBodyDocId, WFBusiDataId, params, _appUrl, _tSessionId2, _downUrl2, url, fileName;
|
|
59530
|
+
var device, topdf, extName, wfInstance, tSessionId, hostname, downUrl, convertType, appUrl, _tSessionId, _downUrl, WfModule, WFBodyDocId, WFBusiDataId, params, _appUrl, _tSessionId2, _downUrl2, url, fileName;
|
|
57786
59531
|
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
57787
59532
|
while (1) switch (_context.prev = _context.next) {
|
|
57788
59533
|
case 0:
|
|
@@ -57812,8 +59557,15 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57812
59557
|
topdf = true;
|
|
57813
59558
|
}
|
|
57814
59559
|
}
|
|
59560
|
+
if (!topdf) {
|
|
59561
|
+
wfInstance = _this6.$vnode.context.wfInstance || _this6.$vnode.context.$vnode.context.wfInstance;
|
|
59562
|
+
if (wfInstance && wfInstance.passenger && wfInstance.passenger.attachH5CanDownload === 0) {
|
|
59563
|
+
//只能在线预览、不能下载到本地
|
|
59564
|
+
_this6.$toast.fail('文件格式“' + extName + '”不支持在线预览');
|
|
59565
|
+
}
|
|
59566
|
+
}
|
|
57815
59567
|
if (!(_this6.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.ofd'))) {
|
|
57816
|
-
_context.next =
|
|
59568
|
+
_context.next = 22;
|
|
57817
59569
|
break;
|
|
57818
59570
|
}
|
|
57819
59571
|
tSessionId = res.body.tSessionId;
|
|
@@ -57838,11 +59590,11 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57838
59590
|
});
|
|
57839
59591
|
}
|
|
57840
59592
|
}, 'json');
|
|
57841
|
-
_context.next =
|
|
59593
|
+
_context.next = 65;
|
|
57842
59594
|
break;
|
|
57843
|
-
case
|
|
59595
|
+
case 22:
|
|
57844
59596
|
if (!(_this6.viewer === 'wpsh5' && (topdf || extName === '.ofd' || extName === '.wps'))) {
|
|
57845
|
-
_context.next =
|
|
59597
|
+
_context.next = 40;
|
|
57846
59598
|
break;
|
|
57847
59599
|
}
|
|
57848
59600
|
// 打开 wps h5
|
|
@@ -57850,9 +59602,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57850
59602
|
if (appUrl.indexOf('//127') !== -1 || appUrl.indexOf('//192') !== -1) {
|
|
57851
59603
|
appUrl = 'http://toa.ecinc.com.cn:2028/';
|
|
57852
59604
|
}
|
|
57853
|
-
_context.next =
|
|
59605
|
+
_context.next = 27;
|
|
57854
59606
|
return _this6.getSessionId();
|
|
57855
|
-
case
|
|
59607
|
+
case 27:
|
|
57856
59608
|
_tSessionId = _context.sent;
|
|
57857
59609
|
//正文下载地址
|
|
57858
59610
|
_downUrl = appUrl + "/apigw";
|
|
@@ -57892,26 +59644,26 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57892
59644
|
});
|
|
57893
59645
|
}
|
|
57894
59646
|
});
|
|
57895
|
-
_context.next =
|
|
59647
|
+
_context.next = 65;
|
|
57896
59648
|
break;
|
|
57897
|
-
case
|
|
59649
|
+
case 40:
|
|
57898
59650
|
if (!(_this6.viewer === 'fuxin' && (topdf || extName === '.ofd'))) {
|
|
57899
|
-
_context.next =
|
|
59651
|
+
_context.next = 57;
|
|
57900
59652
|
break;
|
|
57901
59653
|
}
|
|
57902
59654
|
_appUrl = location.href.split('#')[0].split('mindex.html')[0]; // url
|
|
57903
|
-
_context.next =
|
|
59655
|
+
_context.next = 44;
|
|
57904
59656
|
return _this6.getSessionId();
|
|
57905
|
-
case
|
|
59657
|
+
case 44:
|
|
57906
59658
|
_tSessionId2 = _context.sent;
|
|
57907
59659
|
if (!(imgType.indexOf(extName.substring(1)) > -1 && window.openImgView)) {
|
|
57908
|
-
_context.next =
|
|
59660
|
+
_context.next = 49;
|
|
57909
59661
|
break;
|
|
57910
59662
|
}
|
|
57911
59663
|
sessionStorage.setItem('IMG_INDEX_' + _this6.vo.id, attach.index);
|
|
57912
59664
|
window.open('#/imgView?wfAttachUrl=' + _this6.wfAttachUrl + '&busiDataId=' + _this6.vo.id);
|
|
57913
59665
|
return _context.abrupt("return");
|
|
57914
|
-
case
|
|
59666
|
+
case 49:
|
|
57915
59667
|
_downUrl2 = _appUrl + "/apigw";
|
|
57916
59668
|
_downUrl2 += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
|
|
57917
59669
|
_downUrl2 += '/downloadById?attachIds=' + attach.id + '&topdf=' + topdf;
|
|
@@ -57937,9 +59689,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57937
59689
|
}
|
|
57938
59690
|
});
|
|
57939
59691
|
}
|
|
57940
|
-
_context.next =
|
|
59692
|
+
_context.next = 65;
|
|
57941
59693
|
break;
|
|
57942
|
-
case
|
|
59694
|
+
case 57:
|
|
57943
59695
|
url = "/apigw";
|
|
57944
59696
|
url += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
|
|
57945
59697
|
url += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
|
|
@@ -57955,7 +59707,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57955
59707
|
}
|
|
57956
59708
|
}
|
|
57957
59709
|
_this6.$mappUtils.downLoadAndOpenFile(_this6, url, fileName, attach.fileRealSize);
|
|
57958
|
-
case
|
|
59710
|
+
case 65:
|
|
57959
59711
|
case "end":
|
|
57960
59712
|
return _context.stop();
|
|
57961
59713
|
}
|
|
@@ -58441,9 +60193,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
58441
60193
|
});
|
|
58442
60194
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
58443
60195
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
58444
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
58445
|
-
var
|
|
58446
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
60196
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
60197
|
+
var Attachmentvue_type_style_index_0_id_60e13902_prod_scoped_true_lang_scss = __webpack_require__(2993);
|
|
60198
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=60e13902&prod&scoped=true&lang=scss
|
|
58447
60199
|
|
|
58448
60200
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
58449
60201
|
|
|
@@ -58456,11 +60208,11 @@ var Attachmentvue_type_style_index_0_id_000b45fc_prod_scoped_true_lang_scss = __
|
|
|
58456
60208
|
|
|
58457
60209
|
var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
58458
60210
|
src_Attachmentvue_type_script_lang_js,
|
|
58459
|
-
|
|
58460
|
-
|
|
60211
|
+
Attachmentvue_type_template_id_60e13902_scoped_true_render,
|
|
60212
|
+
Attachmentvue_type_template_id_60e13902_scoped_true_staticRenderFns,
|
|
58461
60213
|
false,
|
|
58462
60214
|
null,
|
|
58463
|
-
"
|
|
60215
|
+
"60e13902",
|
|
58464
60216
|
null
|
|
58465
60217
|
|
|
58466
60218
|
)
|