ecinc-cloud-mappaio 9.7.12 → 9.7.14
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 +1366 -154
- package/lib/ecmappaio.umd.js +1366 -154
- package/lib/ecmappaio.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -6780,7 +6780,7 @@ function sendSocketPing(loginUser, ticket) {
|
|
|
6780
6780
|
|
|
6781
6781
|
/***/ }),
|
|
6782
6782
|
|
|
6783
|
-
/***/
|
|
6783
|
+
/***/ 7726:
|
|
6784
6784
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6785
6785
|
|
|
6786
6786
|
"use strict";
|
|
@@ -6793,7 +6793,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
6793
6793
|
PdfViewer: function() { return /* binding */ PdfViewer; }
|
|
6794
6794
|
});
|
|
6795
6795
|
|
|
6796
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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/PdfTools/src/index.vue?vue&type=template&id=
|
|
6796
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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/PdfTools/src/index.vue?vue&type=template&id=5c630b6e&scoped=true
|
|
6797
6797
|
var render = function render() {
|
|
6798
6798
|
var _vm = this,
|
|
6799
6799
|
_c = _vm._self._c;
|
|
@@ -6805,6 +6805,27 @@ var render = function render() {
|
|
|
6805
6805
|
staticClass: "box"
|
|
6806
6806
|
}, [_c('div', {
|
|
6807
6807
|
staticClass: "box-inner"
|
|
6808
|
+
}, [_c('span', {
|
|
6809
|
+
directives: [{
|
|
6810
|
+
name: "show",
|
|
6811
|
+
rawName: "v-show",
|
|
6812
|
+
value: _vm.showViewer,
|
|
6813
|
+
expression: "showViewer"
|
|
6814
|
+
}]
|
|
6815
|
+
}, [_c('ShowViewer', {
|
|
6816
|
+
attrs: {
|
|
6817
|
+
"body-url": _vm.addType ? _vm.sealFileUrl : _vm.bodyFileUrl,
|
|
6818
|
+
"view-body-file-show": _vm.viewBodyFileShow,
|
|
6819
|
+
"type": 1,
|
|
6820
|
+
"orientation": _vm.orientation
|
|
6821
|
+
}
|
|
6822
|
+
})], 1), _c('span', {
|
|
6823
|
+
directives: [{
|
|
6824
|
+
name: "show",
|
|
6825
|
+
rawName: "v-show",
|
|
6826
|
+
value: !_vm.showViewer,
|
|
6827
|
+
expression: "!showViewer"
|
|
6828
|
+
}]
|
|
6808
6829
|
}, [_vm.viewBodyFileShow === 'ofd' ? [_c('div', {
|
|
6809
6830
|
staticStyle: {
|
|
6810
6831
|
"width": "17px",
|
|
@@ -6858,28 +6879,7 @@ var render = function render() {
|
|
|
6858
6879
|
attrs: {
|
|
6859
6880
|
"src": './images/m-imgs/app-icons/ic_change_ho.png'
|
|
6860
6881
|
}
|
|
6861
|
-
})])] : _vm._e(), _c('
|
|
6862
|
-
directives: [{
|
|
6863
|
-
name: "show",
|
|
6864
|
-
rawName: "v-show",
|
|
6865
|
-
value: _vm.showViewer,
|
|
6866
|
-
expression: "showViewer"
|
|
6867
|
-
}]
|
|
6868
|
-
}, [_c('ShowViewer', {
|
|
6869
|
-
attrs: {
|
|
6870
|
-
"body-url": _vm.addType ? _vm.sealFileUrl : _vm.bodyFileUrl,
|
|
6871
|
-
"view-body-file-show": _vm.viewBodyFileShow,
|
|
6872
|
-
"type": 1,
|
|
6873
|
-
"orientation": _vm.orientation
|
|
6874
|
-
}
|
|
6875
|
-
})], 1), _c('span', {
|
|
6876
|
-
directives: [{
|
|
6877
|
-
name: "show",
|
|
6878
|
-
rawName: "v-show",
|
|
6879
|
-
value: !_vm.showViewer,
|
|
6880
|
-
expression: "!showViewer"
|
|
6881
|
-
}]
|
|
6882
|
-
}, [_vm.viewBodyFileShow === 'pdf' ? _c('iframe', {
|
|
6882
|
+
})])] : _vm._e(), _vm.viewBodyFileShow === 'pdf' ? _c('iframe', {
|
|
6883
6883
|
ref: "iframeBodyFile",
|
|
6884
6884
|
attrs: {
|
|
6885
6885
|
"id": "pdfHtml",
|
|
@@ -6898,7 +6898,7 @@ var render = function render() {
|
|
|
6898
6898
|
"scrolling": "yes",
|
|
6899
6899
|
"src": _vm.addType ? _vm.sealFileUrl : _vm.bodyFileUrl
|
|
6900
6900
|
}
|
|
6901
|
-
}) : _vm._e()]
|
|
6901
|
+
}) : _vm._e()], 2)])]), _vm.sign || _vm.seal ? _c('div', {
|
|
6902
6902
|
staticClass: "bottom-bar"
|
|
6903
6903
|
}, [_vm.sign && _vm.dVisiblesign ? _c('AddSign', {
|
|
6904
6904
|
on: {
|
|
@@ -7775,8 +7775,8 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
7775
7775
|
)
|
|
7776
7776
|
|
|
7777
7777
|
/* harmony default export */ var ListSeals = (ListSeals_component.exports);
|
|
7778
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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/PdfTools/src/showViewer.vue?vue&type=template&id=
|
|
7779
|
-
var
|
|
7778
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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/PdfTools/src/showViewer.vue?vue&type=template&id=fee38558&scoped=true
|
|
7779
|
+
var showViewervue_type_template_id_fee38558_scoped_true_render = function render() {
|
|
7780
7780
|
var _vm = this,
|
|
7781
7781
|
_c = _vm._self._c;
|
|
7782
7782
|
return _c('div', {
|
|
@@ -7789,7 +7789,60 @@ var showViewervue_type_template_id_42d635b4_scoped_true_render = function render
|
|
|
7789
7789
|
attrs: {
|
|
7790
7790
|
"id": "pdfDiv"
|
|
7791
7791
|
}
|
|
7792
|
-
}, [_vm.viewBodyFileShow
|
|
7792
|
+
}, [_vm.viewBodyFileShow === 'ofd' ? [_c('div', {
|
|
7793
|
+
staticStyle: {
|
|
7794
|
+
"width": "17px",
|
|
7795
|
+
"right": "3px",
|
|
7796
|
+
"padding": "8px",
|
|
7797
|
+
"top": "4px",
|
|
7798
|
+
"z-index": "1000"
|
|
7799
|
+
},
|
|
7800
|
+
style: {
|
|
7801
|
+
position: _vm.viewBodyFileShow === 'ofd' ? 'absolute' : 'fixed',
|
|
7802
|
+
top: _vm.viewBodyFileShow === 'ofd' ? '40px' : '100px'
|
|
7803
|
+
},
|
|
7804
|
+
attrs: {
|
|
7805
|
+
"id": "changeScreenH"
|
|
7806
|
+
},
|
|
7807
|
+
on: {
|
|
7808
|
+
"click": function click($event) {
|
|
7809
|
+
$event.stopPropagation();
|
|
7810
|
+
return _vm.changeScreenHo.apply(null, arguments);
|
|
7811
|
+
}
|
|
7812
|
+
}
|
|
7813
|
+
}, [_c('img', {
|
|
7814
|
+
staticStyle: {
|
|
7815
|
+
"width": "100%"
|
|
7816
|
+
},
|
|
7817
|
+
attrs: {
|
|
7818
|
+
"src": './images/m-imgs/app-icons/ic_change_ho.png'
|
|
7819
|
+
}
|
|
7820
|
+
})])] : _vm.orientation !== 'landscape' ? [_c('div', {
|
|
7821
|
+
staticStyle: {
|
|
7822
|
+
"width": "17px",
|
|
7823
|
+
"right": "3px",
|
|
7824
|
+
"padding": "8px",
|
|
7825
|
+
"top": "4px",
|
|
7826
|
+
"z-index": "1000",
|
|
7827
|
+
"position": "absolute"
|
|
7828
|
+
},
|
|
7829
|
+
attrs: {
|
|
7830
|
+
"id": "changeScreenH"
|
|
7831
|
+
},
|
|
7832
|
+
on: {
|
|
7833
|
+
"click": function click($event) {
|
|
7834
|
+
$event.stopPropagation();
|
|
7835
|
+
return _vm.changeScreenHo.apply(null, arguments);
|
|
7836
|
+
}
|
|
7837
|
+
}
|
|
7838
|
+
}, [_c('img', {
|
|
7839
|
+
staticStyle: {
|
|
7840
|
+
"width": "100%"
|
|
7841
|
+
},
|
|
7842
|
+
attrs: {
|
|
7843
|
+
"src": './images/m-imgs/app-icons/ic_change_ho.png'
|
|
7844
|
+
}
|
|
7845
|
+
})])] : _vm._e(), _vm.viewBodyFileShow !== 'ofd' ? _c('iframe', {
|
|
7793
7846
|
ref: "iframeBodyFile",
|
|
7794
7847
|
attrs: {
|
|
7795
7848
|
"id": "pdfHtml",
|
|
@@ -7822,9 +7875,9 @@ var showViewervue_type_template_id_42d635b4_scoped_true_render = function render
|
|
|
7822
7875
|
attrs: {
|
|
7823
7876
|
"name": "cross"
|
|
7824
7877
|
}
|
|
7825
|
-
}), _vm._v(" 关闭 ")], 1) : _vm._e()])])])]);
|
|
7878
|
+
}), _vm._v(" 关闭 ")], 1) : _vm._e()])], 2)])]);
|
|
7826
7879
|
};
|
|
7827
|
-
var
|
|
7880
|
+
var showViewervue_type_template_id_fee38558_scoped_true_staticRenderFns = [];
|
|
7828
7881
|
|
|
7829
7882
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=script&lang=js
|
|
7830
7883
|
/* harmony default export */ var showViewervue_type_script_lang_js = ({
|
|
@@ -7892,7 +7945,7 @@ var showViewervue_type_template_id_42d635b4_scoped_true_staticRenderFns = [];
|
|
|
7892
7945
|
if (toolDv) {
|
|
7893
7946
|
toolDv.style.top = '0';
|
|
7894
7947
|
toolDv.style.right = '0';
|
|
7895
|
-
toolDv.style.left = 'calc(100vw -
|
|
7948
|
+
toolDv.style.left = 'calc(100vw - 150px)';
|
|
7896
7949
|
toolDv.style.paddingLeft = '50px';
|
|
7897
7950
|
}
|
|
7898
7951
|
var pdfHtml = document.querySelector('#pdfHtml');
|
|
@@ -7945,9 +7998,9 @@ var showViewervue_type_template_id_42d635b4_scoped_true_staticRenderFns = [];
|
|
|
7945
7998
|
});
|
|
7946
7999
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=script&lang=js
|
|
7947
8000
|
/* harmony default export */ var src_showViewervue_type_script_lang_js = (showViewervue_type_script_lang_js);
|
|
7948
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=style&index=0&id=
|
|
7949
|
-
var
|
|
7950
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=style&index=0&id=
|
|
8001
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=style&index=0&id=fee38558&prod&scoped=true&lang=scss
|
|
8002
|
+
var showViewervue_type_style_index_0_id_fee38558_prod_scoped_true_lang_scss = __webpack_require__(5665);
|
|
8003
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=style&index=0&id=fee38558&prod&scoped=true&lang=scss
|
|
7951
8004
|
|
|
7952
8005
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue
|
|
7953
8006
|
|
|
@@ -7960,11 +8013,11 @@ var showViewervue_type_style_index_0_id_42d635b4_prod_scoped_true_lang_scss = __
|
|
|
7960
8013
|
|
|
7961
8014
|
var showViewer_component = (0,componentNormalizer/* default */.A)(
|
|
7962
8015
|
src_showViewervue_type_script_lang_js,
|
|
7963
|
-
|
|
7964
|
-
|
|
8016
|
+
showViewervue_type_template_id_fee38558_scoped_true_render,
|
|
8017
|
+
showViewervue_type_template_id_fee38558_scoped_true_staticRenderFns,
|
|
7965
8018
|
false,
|
|
7966
8019
|
null,
|
|
7967
|
-
"
|
|
8020
|
+
"fee38558",
|
|
7968
8021
|
null
|
|
7969
8022
|
|
|
7970
8023
|
)
|
|
@@ -8374,13 +8427,13 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
8374
8427
|
});
|
|
8375
8428
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=script&lang=js
|
|
8376
8429
|
/* harmony default export */ var PdfTools_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
|
8377
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=
|
|
8378
|
-
var
|
|
8379
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=
|
|
8430
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=5c630b6e&prod&scoped=true&lang=scss
|
|
8431
|
+
var srcvue_type_style_index_0_id_5c630b6e_prod_scoped_true_lang_scss = __webpack_require__(1671);
|
|
8432
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=5c630b6e&prod&scoped=true&lang=scss
|
|
8380
8433
|
|
|
8381
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-55.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-55.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-55.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-55.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=
|
|
8382
|
-
var
|
|
8383
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=
|
|
8434
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-55.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-55.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-55.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-55.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=5c630b6e&prod&lang=css
|
|
8435
|
+
var srcvue_type_style_index_1_id_5c630b6e_prod_lang_css = __webpack_require__(5680);
|
|
8436
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=5c630b6e&prod&lang=css
|
|
8384
8437
|
|
|
8385
8438
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue
|
|
8386
8439
|
|
|
@@ -8398,7 +8451,7 @@ var src_component = (0,componentNormalizer/* default */.A)(
|
|
|
8398
8451
|
staticRenderFns,
|
|
8399
8452
|
false,
|
|
8400
8453
|
null,
|
|
8401
|
-
"
|
|
8454
|
+
"5c630b6e",
|
|
8402
8455
|
null
|
|
8403
8456
|
|
|
8404
8457
|
)
|
|
@@ -8707,7 +8760,7 @@ src.install = function (Vue) {
|
|
|
8707
8760
|
|
|
8708
8761
|
/***/ }),
|
|
8709
8762
|
|
|
8710
|
-
/***/
|
|
8763
|
+
/***/ 6058:
|
|
8711
8764
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8712
8765
|
|
|
8713
8766
|
"use strict";
|
|
@@ -8727,7 +8780,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
8727
8780
|
WriteToReadIdea: function() { return /* binding */ Wflowform_WriteToReadIdea; }
|
|
8728
8781
|
});
|
|
8729
8782
|
|
|
8730
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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=
|
|
8783
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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=d820d2a0&scoped=true
|
|
8731
8784
|
var render = function render() {
|
|
8732
8785
|
var _vm = this,
|
|
8733
8786
|
_c = _vm._self._c;
|
|
@@ -8738,9 +8791,9 @@ var render = function render() {
|
|
|
8738
8791
|
}) : _vm._e(), _vm.attachModeType === 'default' ? _c('van-cell-group', {
|
|
8739
8792
|
staticClass: "van-attachment-field",
|
|
8740
8793
|
class: {
|
|
8741
|
-
'wflow-attach': _vm.
|
|
8794
|
+
'wflow-attach': _vm.localShowAttach || _vm.canUpload
|
|
8742
8795
|
}
|
|
8743
|
-
}, [
|
|
8796
|
+
}, [_c('van-cell', {
|
|
8744
8797
|
staticStyle: {
|
|
8745
8798
|
"height": "44px"
|
|
8746
8799
|
},
|
|
@@ -8750,21 +8803,20 @@ var render = function render() {
|
|
|
8750
8803
|
},
|
|
8751
8804
|
on: {
|
|
8752
8805
|
"click": function click($event) {
|
|
8753
|
-
_vm.
|
|
8806
|
+
_vm.localShowAttach = !_vm.localShowAttach;
|
|
8754
8807
|
}
|
|
8755
8808
|
}
|
|
8756
|
-
}, [
|
|
8757
|
-
class: _vm.showAttachments ? 'icon-play-up' : 'icon-play-down',
|
|
8758
|
-
attrs: {
|
|
8759
|
-
"name": "play"
|
|
8760
|
-
}
|
|
8761
|
-
})] : [_vm._v(_vm._s(_vm.$tx('ecmapp.common.nothing', '无')))]], 2) : _c('van-cell', {
|
|
8809
|
+
}, [_c('span', {
|
|
8762
8810
|
staticStyle: {
|
|
8763
|
-
"
|
|
8764
|
-
|
|
8765
|
-
|
|
8766
|
-
|
|
8767
|
-
|
|
8811
|
+
"display": "inline-flex",
|
|
8812
|
+
"align-items": "center",
|
|
8813
|
+
"gap": "8px"
|
|
8814
|
+
}
|
|
8815
|
+
}, [_vm.canUpload ? _c('span', {
|
|
8816
|
+
on: {
|
|
8817
|
+
"click": function click($event) {
|
|
8818
|
+
$event.stopPropagation();
|
|
8819
|
+
}
|
|
8768
8820
|
}
|
|
8769
8821
|
}, [_c('van-uploader', {
|
|
8770
8822
|
attrs: {
|
|
@@ -8784,7 +8836,7 @@ var render = function render() {
|
|
|
8784
8836
|
},
|
|
8785
8837
|
expression: "uploadAttach"
|
|
8786
8838
|
}
|
|
8787
|
-
}, [
|
|
8839
|
+
}, [_c('van-icon', {
|
|
8788
8840
|
staticStyle: {
|
|
8789
8841
|
"margin-top": "2px"
|
|
8790
8842
|
},
|
|
@@ -8792,12 +8844,17 @@ var render = function render() {
|
|
|
8792
8844
|
"name": "add-o",
|
|
8793
8845
|
"size": "20px"
|
|
8794
8846
|
}
|
|
8795
|
-
})
|
|
8847
|
+
})], 1)], 1) : _vm._e(), _vm.attachList.length > 0 ? _c('span', [_vm._v(" " + _vm._s(_vm.localShowAttach ? _vm.$tx('ecmapp.pageBtns.fold', '折叠') : _vm.$tx('ecmapp.pageBtns.open', '展开')) + " "), _c('van-icon', {
|
|
8848
|
+
class: _vm.localShowAttach ? 'icon-play-up' : 'icon-play-down',
|
|
8849
|
+
attrs: {
|
|
8850
|
+
"name": "play"
|
|
8851
|
+
}
|
|
8852
|
+
})], 1) : _vm._e(), _vm.attachList.length === 0 && !_vm.canUpload ? _c('span', [_vm._v(" " + _vm._s(_vm.$tx('ecmapp.common.nothing', '无')) + " ")]) : _vm._e()])])], 1) : _vm._e(), _vm.attachModeType === 'default' ? _c('van-cell-group', {
|
|
8796
8853
|
directives: [{
|
|
8797
8854
|
name: "show",
|
|
8798
8855
|
rawName: "v-show",
|
|
8799
|
-
value: _vm.
|
|
8800
|
-
expression: "
|
|
8856
|
+
value: _vm.localShowAttach || _vm.componentType === 'Wflow' && _vm.vo.status < 1,
|
|
8857
|
+
expression: "localShowAttach || (componentType === 'Wflow' && vo.status < 1)"
|
|
8801
8858
|
}],
|
|
8802
8859
|
staticClass: "wfattach-container"
|
|
8803
8860
|
}, [_vm._l(_vm.attachList, function (attach, index) {
|
|
@@ -8824,7 +8881,7 @@ var render = function render() {
|
|
|
8824
8881
|
domProps: {
|
|
8825
8882
|
"innerHTML": _vm._s(attach.fileSize)
|
|
8826
8883
|
}
|
|
8827
|
-
}), _vm.
|
|
8884
|
+
}), _vm.localShowMoreMenu && attach.id !== undefined ? [_c('van-icon', {
|
|
8828
8885
|
attrs: {
|
|
8829
8886
|
"name": "ellipsis"
|
|
8830
8887
|
},
|
|
@@ -8845,7 +8902,13 @@ var render = function render() {
|
|
|
8845
8902
|
return _vm.handleOpenEditor(attach);
|
|
8846
8903
|
}
|
|
8847
8904
|
}
|
|
8848
|
-
}) : _vm._e(), _vm.
|
|
8905
|
+
}) : _vm._e(), _vm.deletingAttachId === attach.id ? [_c('van-icon', {
|
|
8906
|
+
staticClass: "attach-deleting-icon",
|
|
8907
|
+
attrs: {
|
|
8908
|
+
"name": "replay",
|
|
8909
|
+
"color": "#ee0a24"
|
|
8910
|
+
}
|
|
8911
|
+
})] : _vm.canUpload && _vm.canDelete ? _c('van-icon', {
|
|
8849
8912
|
attrs: {
|
|
8850
8913
|
"color": "#ee0a24",
|
|
8851
8914
|
"name": "cross"
|
|
@@ -8857,9 +8920,6 @@ var render = function render() {
|
|
|
8857
8920
|
}
|
|
8858
8921
|
}
|
|
8859
8922
|
}) : _vm._e(), _vm.attachShowDownload && attach.id !== undefined ? _c('van-icon', {
|
|
8860
|
-
staticStyle: {
|
|
8861
|
-
"margin-left": "4px"
|
|
8862
|
-
},
|
|
8863
8923
|
attrs: {
|
|
8864
8924
|
"name": "down"
|
|
8865
8925
|
},
|
|
@@ -8939,7 +8999,13 @@ var render = function render() {
|
|
|
8939
8999
|
"top": "11px",
|
|
8940
9000
|
"padding": "0 5px"
|
|
8941
9001
|
}
|
|
8942
|
-
}, [_vm.
|
|
9002
|
+
}, [_vm.deletingAttachId === attach.id ? [_c('van-icon', {
|
|
9003
|
+
staticClass: "attach-deleting-icon",
|
|
9004
|
+
attrs: {
|
|
9005
|
+
"name": "replay",
|
|
9006
|
+
"color": "#ee0a24"
|
|
9007
|
+
}
|
|
9008
|
+
})] : _vm.canUpload && _vm.canDelete ? _c('van-icon', {
|
|
8943
9009
|
attrs: {
|
|
8944
9010
|
"name": "cross"
|
|
8945
9011
|
},
|
|
@@ -8959,7 +9025,7 @@ var render = function render() {
|
|
|
8959
9025
|
return _vm.handleUploadPreview(attach);
|
|
8960
9026
|
}
|
|
8961
9027
|
}
|
|
8962
|
-
})],
|
|
9028
|
+
})], 2)]), !attach.id && attach.file.progress > 0 ? _c('template', {
|
|
8963
9029
|
slot: "label"
|
|
8964
9030
|
}, [_c('div', {
|
|
8965
9031
|
staticClass: "upload-progress"
|
|
@@ -9155,7 +9221,12 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9155
9221
|
onZipAttachPreviewClick: {
|
|
9156
9222
|
type: Function,
|
|
9157
9223
|
default: null
|
|
9158
|
-
}
|
|
9224
|
+
},
|
|
9225
|
+
// 自定义压缩附件处理方式
|
|
9226
|
+
autoUpload: {
|
|
9227
|
+
type: Boolean,
|
|
9228
|
+
default: true
|
|
9229
|
+
} // 是否开启自动上传,属性值为true时选择文件后自动上传
|
|
9159
9230
|
},
|
|
9160
9231
|
data: function data() {
|
|
9161
9232
|
return {
|
|
@@ -9167,6 +9238,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9167
9238
|
renameAttach: {
|
|
9168
9239
|
rename: ''
|
|
9169
9240
|
},
|
|
9241
|
+
localShowAttach: this.showAttachments,
|
|
9242
|
+
localShowMoreMenu: this.showMoreMenu,
|
|
9243
|
+
deletingAttachId: null,
|
|
9170
9244
|
licExpiredAlert: null,
|
|
9171
9245
|
loginUser: this.$store.getters.loginUser,
|
|
9172
9246
|
topdfFile: '.doc,.docx,.xls,.xlsx,.ppt,.pptx,.txt',
|
|
@@ -9174,7 +9248,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9174
9248
|
imgFile: '.pdf,.pdfx,.jpg,.png,.jpeg,.gif,.bmp' //图片文件格式
|
|
9175
9249
|
};
|
|
9176
9250
|
},
|
|
9177
|
-
computed: _objectSpread({}, (0,vuex_esm/* mapGetters */.L8)(['loginUser'])),
|
|
9251
|
+
computed: _objectSpread({}, (0,vuex_esm/* mapGetters */.L8)(['loginUser', 'maxFileSize'])),
|
|
9178
9252
|
watch: {
|
|
9179
9253
|
attachments: {
|
|
9180
9254
|
handler: function handler(val) {
|
|
@@ -9222,6 +9296,12 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9222
9296
|
},
|
|
9223
9297
|
deep: true,
|
|
9224
9298
|
immediate: true
|
|
9299
|
+
},
|
|
9300
|
+
showAttachments: function showAttachments(val) {
|
|
9301
|
+
this.localShowAttach = val;
|
|
9302
|
+
},
|
|
9303
|
+
showMoreMenu: function showMoreMenu(val) {
|
|
9304
|
+
this.localShowMoreMenu = val;
|
|
9225
9305
|
}
|
|
9226
9306
|
},
|
|
9227
9307
|
created: function created() {
|
|
@@ -9235,7 +9315,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9235
9315
|
this.curTN.tnCanEdit = $scope.canEdit;
|
|
9236
9316
|
if (this.canEdit == null) this.canEdit = this.curTN.tnCanEdit;
|
|
9237
9317
|
this.canUpload = this.attachEdit !== null ? this.attachEdit.canUpload : this.canEdit === 1;
|
|
9238
|
-
} else if (this.
|
|
9318
|
+
} else if (this.curTN.tnCanEdit === 1 || this.attachsType === 'DONEXT') {
|
|
9239
9319
|
// 流程表单
|
|
9240
9320
|
this.canUpload = true;
|
|
9241
9321
|
}
|
|
@@ -9249,8 +9329,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9249
9329
|
setTimeout(function () {
|
|
9250
9330
|
_this3.setWfAttachUrl();
|
|
9251
9331
|
if (window.mappType !== 'ecinc') {
|
|
9252
|
-
_this3
|
|
9253
|
-
_this3.$forceUpdate();
|
|
9332
|
+
_this3.localShowMoreMenu = false;
|
|
9254
9333
|
}
|
|
9255
9334
|
}, 500);
|
|
9256
9335
|
|
|
@@ -9717,6 +9796,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9717
9796
|
deleteUrl = _this8.wfAttachUrl + '/delete';
|
|
9718
9797
|
if (_this.$vnode.context.wfInstance === undefined || _this.$vnode.context.wfInstance === null || _this.$vnode.context.wfInstance.id === undefined) deleteUrl = _this8.wfAttachUrl + '/deleteAttach'; // 非流程表单
|
|
9719
9798
|
|
|
9799
|
+
_this8.deletingAttachId = file.id;
|
|
9720
9800
|
_this8.$http({
|
|
9721
9801
|
method: 'DELETE',
|
|
9722
9802
|
contentType: 'application/x-www-form-urlencoded',
|
|
@@ -9740,8 +9820,10 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9740
9820
|
message: res.message
|
|
9741
9821
|
});
|
|
9742
9822
|
}
|
|
9823
|
+
}).finally(function () {
|
|
9824
|
+
_this8.deletingAttachId = null;
|
|
9743
9825
|
});
|
|
9744
|
-
case
|
|
9826
|
+
case 4:
|
|
9745
9827
|
case "end":
|
|
9746
9828
|
return _context2.stop();
|
|
9747
9829
|
}
|
|
@@ -9845,6 +9927,33 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9845
9927
|
return attach.fileType === _this9.attachsType;
|
|
9846
9928
|
});
|
|
9847
9929
|
this.$forceUpdate();
|
|
9930
|
+
|
|
9931
|
+
// 选择文件后自动展开附件列表
|
|
9932
|
+
this.localShowAttach = true;
|
|
9933
|
+
setTimeout(function () {
|
|
9934
|
+
// 自动上传
|
|
9935
|
+
if (_this9.autoUpload) {
|
|
9936
|
+
var scope = null;
|
|
9937
|
+
if (_this9.$vnode.context.wfInstance) {
|
|
9938
|
+
scope = _this9.$vnode.context;
|
|
9939
|
+
} else if (_this9.$vnode.context.$parent.moduleInfo) {
|
|
9940
|
+
scope = _this9.$vnode.context.$parent;
|
|
9941
|
+
scope.wfInstance = {
|
|
9942
|
+
module: scope.moduleCode,
|
|
9943
|
+
bodyDocId: ''
|
|
9944
|
+
};
|
|
9945
|
+
} else if (_this9.$vnode.context.$parent.$vnode.context.moduleInfo) {
|
|
9946
|
+
scope = _this9.$vnode.context.$parent.$vnode.context;
|
|
9947
|
+
scope.wfInstance = {
|
|
9948
|
+
module: scope.moduleCode,
|
|
9949
|
+
bodyDocId: ''
|
|
9950
|
+
};
|
|
9951
|
+
}
|
|
9952
|
+
if (scope) {
|
|
9953
|
+
_this9.uploadWflowAttach(scope);
|
|
9954
|
+
}
|
|
9955
|
+
}
|
|
9956
|
+
}, 100);
|
|
9848
9957
|
},
|
|
9849
9958
|
// 初始化文件头像
|
|
9850
9959
|
initPotourl: function initPotourl(attach) {
|
|
@@ -9884,11 +9993,27 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9884
9993
|
case 0:
|
|
9885
9994
|
_uploadAttachFile = function _uploadAttachFile3() {
|
|
9886
9995
|
_uploadAttachFile = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(attach, index) {
|
|
9887
|
-
var file, config, module, reqData, uploadRst;
|
|
9996
|
+
var file, maxFileSizeStr, message, config, module, reqData, uploadRst;
|
|
9888
9997
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
9889
9998
|
while (1) switch (_context4.prev = _context4.next) {
|
|
9890
9999
|
case 0:
|
|
9891
|
-
file = attach.file;
|
|
10000
|
+
file = attach.file; // maxFileSize 校验:超过单文件大小限制时拒绝上传
|
|
10001
|
+
if (!(_this.maxFileSize && _this.maxFileSize !== -1)) {
|
|
10002
|
+
_context4.next = 6;
|
|
10003
|
+
break;
|
|
10004
|
+
}
|
|
10005
|
+
if (!(file.file && file.file.size > _this.maxFileSize)) {
|
|
10006
|
+
_context4.next = 6;
|
|
10007
|
+
break;
|
|
10008
|
+
}
|
|
10009
|
+
maxFileSizeStr = (0,utils/* formatFileSize */.v7)(_this.maxFileSize);
|
|
10010
|
+
message = '上传单个文件大小不允许超过' + maxFileSizeStr;
|
|
10011
|
+
return _context4.abrupt("return", {
|
|
10012
|
+
code: 'failure',
|
|
10013
|
+
message: message,
|
|
10014
|
+
body: {}
|
|
10015
|
+
});
|
|
10016
|
+
case 6:
|
|
9892
10017
|
config = {
|
|
9893
10018
|
onUploadProgress: function onUploadProgress(progressEvent) {
|
|
9894
10019
|
var complete = progressEvent.loaded / progressEvent.total * 100 | 0;
|
|
@@ -9919,12 +10044,12 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9919
10044
|
// 代办佐证材料
|
|
9920
10045
|
reqData.uploadBy = attach.uploadBy;
|
|
9921
10046
|
}
|
|
9922
|
-
_context4.next =
|
|
10047
|
+
_context4.next = 14;
|
|
9923
10048
|
return _this.$wfEngine.upload(_this, _this.wfAttachUrl + '/upload', file.file, reqData, config);
|
|
9924
|
-
case
|
|
10049
|
+
case 14:
|
|
9925
10050
|
uploadRst = _context4.sent;
|
|
9926
10051
|
return _context4.abrupt("return", uploadRst);
|
|
9927
|
-
case
|
|
10052
|
+
case 16:
|
|
9928
10053
|
case "end":
|
|
9929
10054
|
return _context4.stop();
|
|
9930
10055
|
}
|
|
@@ -10130,7 +10255,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
10130
10255
|
if (!attachment.id) return;
|
|
10131
10256
|
var downloadUrl = '';
|
|
10132
10257
|
downloadUrl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=false&attachIds=' + attachment.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken();
|
|
10133
|
-
if (window.
|
|
10258
|
+
if (window.mappType === 'ecinc') {
|
|
10134
10259
|
window.$wv.downloadFile(downloadUrl, null, attachment.fileName, null);
|
|
10135
10260
|
} else {
|
|
10136
10261
|
this.$mappUtils.downLoadAndOpenFile(this, downloadUrl, attachment.fileName, attachment.fileSize);
|
|
@@ -10140,9 +10265,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
10140
10265
|
});
|
|
10141
10266
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
10142
10267
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
10143
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.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=
|
|
10144
|
-
var
|
|
10145
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
10268
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.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=d820d2a0&prod&scoped=true&lang=scss
|
|
10269
|
+
var Attachmentvue_type_style_index_0_id_d820d2a0_prod_scoped_true_lang_scss = __webpack_require__(7781);
|
|
10270
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=d820d2a0&prod&scoped=true&lang=scss
|
|
10146
10271
|
|
|
10147
10272
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
10148
10273
|
var componentNormalizer = __webpack_require__(1656);
|
|
@@ -10161,7 +10286,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
10161
10286
|
staticRenderFns,
|
|
10162
10287
|
false,
|
|
10163
10288
|
null,
|
|
10164
|
-
"
|
|
10289
|
+
"d820d2a0",
|
|
10165
10290
|
null
|
|
10166
10291
|
|
|
10167
10292
|
)
|
|
@@ -12585,8 +12710,8 @@ var SelectOuterDeputy_component = (0,componentNormalizer/* default */.A)(
|
|
|
12585
12710
|
)
|
|
12586
12711
|
|
|
12587
12712
|
/* harmony default export */ var SelectOuterDeputy = (SelectOuterDeputy_component.exports);
|
|
12588
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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/SubmitHandle.vue?vue&type=template&id=
|
|
12589
|
-
var
|
|
12713
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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/SubmitHandle.vue?vue&type=template&id=1336f0a5&scoped=true
|
|
12714
|
+
var SubmitHandlevue_type_template_id_1336f0a5_scoped_true_render = function render() {
|
|
12590
12715
|
var _vm = this,
|
|
12591
12716
|
_c = _vm._self._c;
|
|
12592
12717
|
return _vm.initiated ? _c('div', {
|
|
@@ -13339,7 +13464,7 @@ var SubmitHandlevue_type_template_id_0b80df4d_scoped_true_render = function rend
|
|
|
13339
13464
|
}
|
|
13340
13465
|
})], 1) : _vm._e()], 2) : _vm._e();
|
|
13341
13466
|
};
|
|
13342
|
-
var
|
|
13467
|
+
var SubmitHandlevue_type_template_id_1336f0a5_scoped_true_staticRenderFns = [];
|
|
13343
13468
|
|
|
13344
13469
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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/WfTaskNode.vue?vue&type=template&id=3c3aeb78&scoped=true
|
|
13345
13470
|
var WfTaskNodevue_type_template_id_3c3aeb78_scoped_true_render = function render() {
|
|
@@ -15078,8 +15203,8 @@ var moment = __webpack_require__(5093);
|
|
|
15078
15203
|
}
|
|
15079
15204
|
} else {
|
|
15080
15205
|
var wfusers = _this4.Cookies.get('route-wfuser-' + _this4.curTN.tnID + '-' + taskNode.id);
|
|
15206
|
+
var _selectedNodes = [];
|
|
15081
15207
|
if (wfusers !== undefined && wfusers !== null) {
|
|
15082
|
-
var _selectedNodes = [];
|
|
15083
15208
|
taskNode.users.forEach(function (user) {
|
|
15084
15209
|
if (wfusers.indexOf(user.id) !== -1) {
|
|
15085
15210
|
_selectedNodes.push(user);
|
|
@@ -15098,7 +15223,8 @@ var moment = __webpack_require__(5093);
|
|
|
15098
15223
|
showUsers: _showUsers2,
|
|
15099
15224
|
isLink: true
|
|
15100
15225
|
};
|
|
15101
|
-
}
|
|
15226
|
+
}
|
|
15227
|
+
if (_selectedNodes.length === 0 && taskNode.autoCheckedAll === '2' && taskNode.users.length > 0 && taskNode.users[0].personId) {
|
|
15102
15228
|
//自动选择第一个处理人
|
|
15103
15229
|
_this4.submitHandle.route[taskNode.name] = {
|
|
15104
15230
|
users: [taskNode.users[0]],
|
|
@@ -15641,9 +15767,9 @@ var moment = __webpack_require__(5093);
|
|
|
15641
15767
|
});
|
|
15642
15768
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=script&lang=js
|
|
15643
15769
|
/* harmony default export */ var src_SubmitHandlevue_type_script_lang_js = (SubmitHandlevue_type_script_lang_js);
|
|
15644
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=
|
|
15645
|
-
var
|
|
15646
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=
|
|
15770
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=1336f0a5&prod&scoped=true&lang=scss
|
|
15771
|
+
var SubmitHandlevue_type_style_index_0_id_1336f0a5_prod_scoped_true_lang_scss = __webpack_require__(616);
|
|
15772
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=1336f0a5&prod&scoped=true&lang=scss
|
|
15647
15773
|
|
|
15648
15774
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue
|
|
15649
15775
|
|
|
@@ -15656,11 +15782,11 @@ var SubmitHandlevue_type_style_index_0_id_0b80df4d_prod_scoped_true_lang_scss =
|
|
|
15656
15782
|
|
|
15657
15783
|
var SubmitHandle_component = (0,componentNormalizer/* default */.A)(
|
|
15658
15784
|
src_SubmitHandlevue_type_script_lang_js,
|
|
15659
|
-
|
|
15660
|
-
|
|
15785
|
+
SubmitHandlevue_type_template_id_1336f0a5_scoped_true_render,
|
|
15786
|
+
SubmitHandlevue_type_template_id_1336f0a5_scoped_true_staticRenderFns,
|
|
15661
15787
|
false,
|
|
15662
15788
|
null,
|
|
15663
|
-
"
|
|
15789
|
+
"1336f0a5",
|
|
15664
15790
|
null
|
|
15665
15791
|
|
|
15666
15792
|
)
|
|
@@ -18736,15 +18862,347 @@ module.exports = {
|
|
|
18736
18862
|
|
|
18737
18863
|
/***/ }),
|
|
18738
18864
|
|
|
18739
|
-
/***/
|
|
18865
|
+
/***/ 6322:
|
|
18740
18866
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
18741
18867
|
|
|
18742
18868
|
"use strict";
|
|
18869
|
+
// ESM COMPAT FLAG
|
|
18743
18870
|
__webpack_require__.r(__webpack_exports__);
|
|
18744
|
-
|
|
18745
|
-
|
|
18746
|
-
|
|
18747
|
-
|
|
18871
|
+
|
|
18872
|
+
// EXPORTS
|
|
18873
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
18874
|
+
"default": function() { return /* binding */ wfengine; }
|
|
18875
|
+
});
|
|
18876
|
+
|
|
18877
|
+
// EXTERNAL MODULE: ./node_modules/qs/lib/index.js
|
|
18878
|
+
var lib = __webpack_require__(5373);
|
|
18879
|
+
var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
|
18880
|
+
// EXTERNAL MODULE: ./node_modules/js-cookie/src/js.cookie.js
|
|
18881
|
+
var js_cookie = __webpack_require__(2215);
|
|
18882
|
+
var js_cookie_default = /*#__PURE__*/__webpack_require__.n(js_cookie);
|
|
18883
|
+
// EXTERNAL MODULE: ./node_modules/spark-md5/spark-md5.js
|
|
18884
|
+
var spark_md5 = __webpack_require__(5735);
|
|
18885
|
+
var spark_md5_default = /*#__PURE__*/__webpack_require__.n(spark_md5);
|
|
18886
|
+
;// CONCATENATED MODULE: ./packages/ecwflow/wfengine/chunkUpload.js
|
|
18887
|
+
/**
|
|
18888
|
+
* 分片上传核心模块
|
|
18889
|
+
* 封装大文件分片上传、断点续传全流程逻辑
|
|
18890
|
+
*/
|
|
18891
|
+
|
|
18892
|
+
|
|
18893
|
+
// ========== 配置 ==========
|
|
18894
|
+
var DEFAULT_CHUNK_SIZE = 5; // 默认分片大小(MB)
|
|
18895
|
+
var MAX_RETRY = 3; // 单分片最大重试次数
|
|
18896
|
+
var RETRY_DELAYS = [1000, 2000, 4000]; // 指数退避延迟(ms)
|
|
18897
|
+
var STORAGE_PREFIX = 'chunk_upload_'; // localStorage key 前缀
|
|
18898
|
+
|
|
18899
|
+
/**
|
|
18900
|
+
* 获取分片大小(字节)
|
|
18901
|
+
*/
|
|
18902
|
+
function getChunkSize() {
|
|
18903
|
+
return (window.chunkUploadSize || DEFAULT_CHUNK_SIZE) * 1024 * 1024;
|
|
18904
|
+
}
|
|
18905
|
+
|
|
18906
|
+
// ========== MD5 计算 ==========
|
|
18907
|
+
|
|
18908
|
+
/**
|
|
18909
|
+
* 使用 spark-md5 增量计算文件 MD5(避免大文件一次性读入内存)
|
|
18910
|
+
* @param {File} file 文件对象
|
|
18911
|
+
* @param {number} chunkSize 切片大小(字节)
|
|
18912
|
+
* @returns {Promise<string>} 文件 MD5 值(32位小写)
|
|
18913
|
+
*/
|
|
18914
|
+
function computeFileMD5(file, chunkSize) {
|
|
18915
|
+
return new Promise(function (resolve, reject) {
|
|
18916
|
+
var blobSlice = File.prototype.slice || File.prototype.mozSlice || File.prototype.webkitSlice;
|
|
18917
|
+
var chunks = Math.ceil(file.size / chunkSize);
|
|
18918
|
+
var currentChunk = 0;
|
|
18919
|
+
var spark = new (spark_md5_default()).ArrayBuffer();
|
|
18920
|
+
var reader = new FileReader();
|
|
18921
|
+
reader.onload = function (e) {
|
|
18922
|
+
spark.append(e.target.result);
|
|
18923
|
+
currentChunk++;
|
|
18924
|
+
if (currentChunk < chunks) {
|
|
18925
|
+
loadNext();
|
|
18926
|
+
} else {
|
|
18927
|
+
resolve(spark.end());
|
|
18928
|
+
}
|
|
18929
|
+
};
|
|
18930
|
+
reader.onerror = function () {
|
|
18931
|
+
reject(new Error('文件读取失败'));
|
|
18932
|
+
};
|
|
18933
|
+
function loadNext() {
|
|
18934
|
+
var start = currentChunk * chunkSize;
|
|
18935
|
+
var end = Math.min(start + chunkSize, file.size);
|
|
18936
|
+
var chunk = blobSlice.call(file, start, end);
|
|
18937
|
+
reader.readAsArrayBuffer(chunk);
|
|
18938
|
+
}
|
|
18939
|
+
loadNext();
|
|
18940
|
+
});
|
|
18941
|
+
}
|
|
18942
|
+
|
|
18943
|
+
// ========== localStorage 断点进度管理 ==========
|
|
18944
|
+
|
|
18945
|
+
/**
|
|
18946
|
+
* 保存上传进度
|
|
18947
|
+
*/
|
|
18948
|
+
function saveUploadProgress(fileMd5, data) {
|
|
18949
|
+
try {
|
|
18950
|
+
localStorage.setItem(STORAGE_PREFIX + fileMd5, JSON.stringify(data));
|
|
18951
|
+
} catch (e) {
|
|
18952
|
+
// localStorage 满或不可用,静默忽略
|
|
18953
|
+
}
|
|
18954
|
+
}
|
|
18955
|
+
|
|
18956
|
+
/**
|
|
18957
|
+
* 获取上传进度
|
|
18958
|
+
*/
|
|
18959
|
+
function getUploadProgress(fileMd5) {
|
|
18960
|
+
try {
|
|
18961
|
+
var raw = localStorage.getItem(STORAGE_PREFIX + fileMd5);
|
|
18962
|
+
return raw ? JSON.parse(raw) : null;
|
|
18963
|
+
} catch (e) {
|
|
18964
|
+
return null;
|
|
18965
|
+
}
|
|
18966
|
+
}
|
|
18967
|
+
|
|
18968
|
+
/**
|
|
18969
|
+
* 清除上传进度
|
|
18970
|
+
*/
|
|
18971
|
+
function clearUploadProgress(fileMd5) {
|
|
18972
|
+
try {
|
|
18973
|
+
localStorage.removeItem(STORAGE_PREFIX + fileMd5);
|
|
18974
|
+
} catch (e) {
|
|
18975
|
+
// 静默忽略
|
|
18976
|
+
}
|
|
18977
|
+
}
|
|
18978
|
+
|
|
18979
|
+
// ========== 后端接口调用 ==========
|
|
18980
|
+
|
|
18981
|
+
/**
|
|
18982
|
+
* 检查已上传分片
|
|
18983
|
+
* @param {Vue} $scope Vue 实例
|
|
18984
|
+
* @param {string} baseUrl 基础 URL(如 workflow/wfBusiAttach)
|
|
18985
|
+
* @param {string} fileMd5 文件 MD5
|
|
18986
|
+
* @param {number} totalChunks 总分片数
|
|
18987
|
+
* @returns {Promise<number[]>} 已上传分片索引列表
|
|
18988
|
+
*/
|
|
18989
|
+
function checkChunkStatus($scope, baseUrl, fileMd5, totalChunks) {
|
|
18990
|
+
var formData = new FormData();
|
|
18991
|
+
formData.append('fileMd5', fileMd5);
|
|
18992
|
+
formData.append('totalChunks', totalChunks);
|
|
18993
|
+
return $scope.$http({
|
|
18994
|
+
url: baseUrl + '/uploadChunkCheck',
|
|
18995
|
+
method: 'post',
|
|
18996
|
+
data: formData
|
|
18997
|
+
}).then(function (res) {
|
|
18998
|
+
if (res.code === 'success' && res.body) {
|
|
18999
|
+
return res.body.uploadedChunks || [];
|
|
19000
|
+
}
|
|
19001
|
+
return [];
|
|
19002
|
+
}).catch(function () {
|
|
19003
|
+
return [];
|
|
19004
|
+
});
|
|
19005
|
+
}
|
|
19006
|
+
|
|
19007
|
+
/**
|
|
19008
|
+
* 上传单个分片(含重试)
|
|
19009
|
+
* @param {Vue} $scope Vue 实例
|
|
19010
|
+
* @param {string} baseUrl 基础 URL
|
|
19011
|
+
* @param {File} file 完整文件对象
|
|
19012
|
+
* @param {number} chunkIndex 分片索引
|
|
19013
|
+
* @param {string} fileMd5 文件 MD5
|
|
19014
|
+
* @param {number} totalChunks 总分片数
|
|
19015
|
+
* @param {string} fileName 文件名
|
|
19016
|
+
* @param {number} fileSize 文件大小
|
|
19017
|
+
* @returns {Promise}
|
|
19018
|
+
*/
|
|
19019
|
+
function uploadSingleChunk($scope, baseUrl, file, chunkIndex, fileMd5, totalChunks, fileName, fileSize) {
|
|
19020
|
+
var chunkSize = getChunkSize();
|
|
19021
|
+
var start = chunkIndex * chunkSize;
|
|
19022
|
+
var end = Math.min(start + chunkSize, file.size);
|
|
19023
|
+
var chunk = file.slice(start, end);
|
|
19024
|
+
var formData = new FormData();
|
|
19025
|
+
formData.append('chunkFile', chunk, 'chunk_' + chunkIndex);
|
|
19026
|
+
formData.append('fileMd5', fileMd5);
|
|
19027
|
+
formData.append('chunkIndex', chunkIndex);
|
|
19028
|
+
formData.append('totalChunks', totalChunks);
|
|
19029
|
+
formData.append('fileName', fileName);
|
|
19030
|
+
formData.append('fileSize', fileSize);
|
|
19031
|
+
return doUploadWithRetry($scope, baseUrl + '/uploadChunk', formData, 0, chunkIndex);
|
|
19032
|
+
}
|
|
19033
|
+
|
|
19034
|
+
/**
|
|
19035
|
+
* 带重试的上传请求
|
|
19036
|
+
*/
|
|
19037
|
+
function doUploadWithRetry($scope, url, formData, retryCount, chunkIdx) {
|
|
19038
|
+
return $scope.$http({
|
|
19039
|
+
url: url,
|
|
19040
|
+
method: 'post',
|
|
19041
|
+
data: formData
|
|
19042
|
+
}).then(function (res) {
|
|
19043
|
+
if (res.code !== 'success') {
|
|
19044
|
+
console.error('[chunkUpload] chunk_' + chunkIdx + ' failed:', res.message);
|
|
19045
|
+
throw new Error(res.message || 'chunk upload failed');
|
|
19046
|
+
}
|
|
19047
|
+
console.log('[chunkUpload] chunk_' + chunkIdx + ' success');
|
|
19048
|
+
return res;
|
|
19049
|
+
}).catch(function (err) {
|
|
19050
|
+
if (retryCount < MAX_RETRY) {
|
|
19051
|
+
console.warn('[chunkUpload] chunk_' + chunkIdx + ' retry ' + (retryCount + 1) + ':', err.message || err);
|
|
19052
|
+
var delay = RETRY_DELAYS[retryCount] || RETRY_DELAYS[RETRY_DELAYS.length - 1];
|
|
19053
|
+
return new Promise(function (resolve) {
|
|
19054
|
+
setTimeout(resolve, delay);
|
|
19055
|
+
}).then(function () {
|
|
19056
|
+
return doUploadWithRetry($scope, url, formData, retryCount + 1, chunkIdx);
|
|
19057
|
+
});
|
|
19058
|
+
}
|
|
19059
|
+
throw err;
|
|
19060
|
+
});
|
|
19061
|
+
}
|
|
19062
|
+
|
|
19063
|
+
/**
|
|
19064
|
+
* 合并分片
|
|
19065
|
+
* @param {Vue} $scope Vue 实例
|
|
19066
|
+
* @param {string} baseUrl 基础 URL
|
|
19067
|
+
* @param {string} fileMd5 文件 MD5
|
|
19068
|
+
* @param {string} fileName 文件名
|
|
19069
|
+
* @param {number} fileSize 文件大小
|
|
19070
|
+
* @param {number} totalChunks 总分片数
|
|
19071
|
+
* @param {Object} reqData 业务参数(module, busiDataId 等)
|
|
19072
|
+
* @returns {Promise}
|
|
19073
|
+
*/
|
|
19074
|
+
function mergeChunks($scope, baseUrl, fileMd5, fileName, fileSize, totalChunks, reqData) {
|
|
19075
|
+
var formData = new FormData();
|
|
19076
|
+
formData.append('fileMd5', fileMd5);
|
|
19077
|
+
formData.append('fileName', fileName);
|
|
19078
|
+
formData.append('fileSize', fileSize);
|
|
19079
|
+
formData.append('totalChunks', totalChunks);
|
|
19080
|
+
if (reqData) {
|
|
19081
|
+
for (var key in reqData) {
|
|
19082
|
+
if (reqData.hasOwnProperty(key) && reqData[key] !== undefined && reqData[key] !== null) {
|
|
19083
|
+
formData.append(key, reqData[key]);
|
|
19084
|
+
}
|
|
19085
|
+
}
|
|
19086
|
+
}
|
|
19087
|
+
return $scope.$http({
|
|
19088
|
+
url: baseUrl + '/uploadChunkMerge',
|
|
19089
|
+
method: 'post',
|
|
19090
|
+
data: formData
|
|
19091
|
+
});
|
|
19092
|
+
}
|
|
19093
|
+
|
|
19094
|
+
// ========== 主编排函数 ==========
|
|
19095
|
+
|
|
19096
|
+
/**
|
|
19097
|
+
* 分片上传主流程
|
|
19098
|
+
* @param {Vue} $scope Vue 实例
|
|
19099
|
+
* @param {string} uploadUrl 上传 URL(如 workflow/wfBusiAttach/upload)
|
|
19100
|
+
* @param {File} file 文件对象
|
|
19101
|
+
* @param {Object} reqData 业务参数
|
|
19102
|
+
* @param {Object} config 配置(含 onUploadProgress 回调)
|
|
19103
|
+
* @returns {Promise} 合并后的响应,与原 upload 接口返回格式一致
|
|
19104
|
+
*/
|
|
19105
|
+
function chunkedUpload($scope, uploadUrl, file, reqData, config) {
|
|
19106
|
+
var chunkSize = getChunkSize();
|
|
19107
|
+
var totalChunks = Math.ceil(file.size / chunkSize);
|
|
19108
|
+
var fileName = file.name || 'unknown';
|
|
19109
|
+
var fileSize = file.size;
|
|
19110
|
+
|
|
19111
|
+
// 从 uploadUrl 中提取 baseUrl(去掉末尾的 /upload)
|
|
19112
|
+
var baseUrl = uploadUrl.replace(/\/upload\/?$/, '');
|
|
19113
|
+
var onProgress = config && config.onUploadProgress || null;
|
|
19114
|
+
return new Promise(function (resolve, reject) {
|
|
19115
|
+
// Step 1: 计算文件 MD5
|
|
19116
|
+
computeFileMD5(file, chunkSize).then(function (fileMd5) {
|
|
19117
|
+
// Step 2: 检查断点续传进度
|
|
19118
|
+
var savedProgress = getUploadProgress(fileMd5);
|
|
19119
|
+
var uploadedBytes = savedProgress ? savedProgress.uploadedBytes || 0 : 0;
|
|
19120
|
+
return checkChunkStatus($scope, baseUrl, fileMd5, totalChunks).then(function (uploadedChunks) {
|
|
19121
|
+
// Step 3: 逐片上传未完成的分片
|
|
19122
|
+
var completedChunks = uploadedChunks.length;
|
|
19123
|
+
var uploadedBytesFromServer = 0;
|
|
19124
|
+
for (var i = 0; i < uploadedChunks.length; i++) {
|
|
19125
|
+
var idx = uploadedChunks[i];
|
|
19126
|
+
var cStart = idx * chunkSize;
|
|
19127
|
+
var cEnd = Math.min(cStart + chunkSize, fileSize);
|
|
19128
|
+
uploadedBytesFromServer += cEnd - cStart;
|
|
19129
|
+
}
|
|
19130
|
+
uploadedBytes = uploadedBytesFromServer;
|
|
19131
|
+
|
|
19132
|
+
// 模拟初始进度回调
|
|
19133
|
+
if (onProgress) {
|
|
19134
|
+
onProgress({
|
|
19135
|
+
loaded: uploadedBytes,
|
|
19136
|
+
total: fileSize
|
|
19137
|
+
});
|
|
19138
|
+
}
|
|
19139
|
+
return uploadChunksSequentially($scope, baseUrl, file, fileMd5, totalChunks, uploadedChunks, fileName, fileSize, chunkSize, function (chunkBytes) {
|
|
19140
|
+
completedChunks++;
|
|
19141
|
+
uploadedBytes += chunkBytes;
|
|
19142
|
+
if (onProgress) {
|
|
19143
|
+
onProgress({
|
|
19144
|
+
loaded: uploadedBytes,
|
|
19145
|
+
total: fileSize
|
|
19146
|
+
});
|
|
19147
|
+
}
|
|
19148
|
+
// 保存进度到 localStorage
|
|
19149
|
+
saveUploadProgress(fileMd5, {
|
|
19150
|
+
completedChunks: completedChunks,
|
|
19151
|
+
uploadedBytes: uploadedBytes,
|
|
19152
|
+
totalChunks: totalChunks,
|
|
19153
|
+
fileName: fileName,
|
|
19154
|
+
fileSize: fileSize,
|
|
19155
|
+
timestamp: Date.now()
|
|
19156
|
+
});
|
|
19157
|
+
}).then(function () {
|
|
19158
|
+
// Step 4: 合并分片
|
|
19159
|
+
return mergeChunks($scope, baseUrl, fileMd5, fileName, fileSize, totalChunks, reqData);
|
|
19160
|
+
}).then(function (mergeResult) {
|
|
19161
|
+
// Step 5: 合并成功,清除进度记录
|
|
19162
|
+
clearUploadProgress(fileMd5);
|
|
19163
|
+
resolve(mergeResult);
|
|
19164
|
+
});
|
|
19165
|
+
});
|
|
19166
|
+
}).catch(function (err) {
|
|
19167
|
+
reject(err);
|
|
19168
|
+
});
|
|
19169
|
+
});
|
|
19170
|
+
}
|
|
19171
|
+
|
|
19172
|
+
/**
|
|
19173
|
+
* 逐片串行上传
|
|
19174
|
+
* 使用 Array.reduce 链式调用,reduce 回调参数 cIdx 天然为每次迭代创建独立闭包,
|
|
19175
|
+
* 避免 for + var 共享变量导致所有分片使用同一个 chunkIndex 的问题。
|
|
19176
|
+
*/
|
|
19177
|
+
function uploadChunksSequentially($scope, baseUrl, file, fileMd5, totalChunks, uploadedChunks, fileName, fileSize, chunkSize, onChunkDone) {
|
|
19178
|
+
var uploadedSet = {};
|
|
19179
|
+
for (var i = 0; i < uploadedChunks.length; i++) {
|
|
19180
|
+
uploadedSet[uploadedChunks[i]] = true;
|
|
19181
|
+
}
|
|
19182
|
+
|
|
19183
|
+
// 构建待上传分片索引数组
|
|
19184
|
+
var chunkIndices = [];
|
|
19185
|
+
for (var chunkIndex = 0; chunkIndex < totalChunks; chunkIndex++) {
|
|
19186
|
+
if (!uploadedSet[chunkIndex]) {
|
|
19187
|
+
chunkIndices.push(chunkIndex);
|
|
19188
|
+
}
|
|
19189
|
+
}
|
|
19190
|
+
|
|
19191
|
+
// reduce 的 cIdx 参数每次迭代都是独立的值,无闭包共享问题
|
|
19192
|
+
return chunkIndices.reduce(function (chain, cIdx) {
|
|
19193
|
+
return chain.then(function () {
|
|
19194
|
+
return uploadSingleChunk($scope, baseUrl, file, cIdx, fileMd5, totalChunks, fileName, fileSize).then(function () {
|
|
19195
|
+
var cStart = cIdx * chunkSize;
|
|
19196
|
+
var cEnd = Math.min(cStart + chunkSize, fileSize);
|
|
19197
|
+
var cBytes = cEnd - cStart;
|
|
19198
|
+
if (onChunkDone) {
|
|
19199
|
+
onChunkDone(cBytes);
|
|
19200
|
+
}
|
|
19201
|
+
});
|
|
19202
|
+
});
|
|
19203
|
+
}, Promise.resolve());
|
|
19204
|
+
}
|
|
19205
|
+
;// CONCATENATED MODULE: ./packages/ecwflow/wfengine/index.js
|
|
18748
19206
|
function _typeof(o) { "@babel/helpers - typeof"; return _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; }, _typeof(o); }
|
|
18749
19207
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
18750
19208
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -18759,6 +19217,7 @@ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(
|
|
|
18759
19217
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
18760
19218
|
|
|
18761
19219
|
|
|
19220
|
+
|
|
18762
19221
|
var install = function install(Vue) {
|
|
18763
19222
|
var WfEngine = new Vue({
|
|
18764
19223
|
methods: {
|
|
@@ -18976,7 +19435,7 @@ var install = function install(Vue) {
|
|
|
18976
19435
|
}
|
|
18977
19436
|
}
|
|
18978
19437
|
if ($scope.wfJsonData && $scope.wfJsonData.routes) {
|
|
18979
|
-
var rindex =
|
|
19438
|
+
var rindex = js_cookie_default().get('route-index-' + $scope.wfInstance.id);
|
|
18980
19439
|
if (rindex !== undefined && rindex !== null) {
|
|
18981
19440
|
rindex = parseInt(rindex);
|
|
18982
19441
|
if ($scope.wfJsonData.routes.length > rindex) $scope.submitHandle.route.index = rindex;
|
|
@@ -19424,7 +19883,7 @@ var install = function install(Vue) {
|
|
|
19424
19883
|
$scope.$http({
|
|
19425
19884
|
method: 'POST',
|
|
19426
19885
|
contentType: 'application/x-www-form-urlencoded',
|
|
19427
|
-
data:
|
|
19886
|
+
data: lib_default().stringify(saveData),
|
|
19428
19887
|
params: params,
|
|
19429
19888
|
url: wfEngineUrl
|
|
19430
19889
|
}).then(function (res) {
|
|
@@ -19470,7 +19929,7 @@ var install = function install(Vue) {
|
|
|
19470
19929
|
});
|
|
19471
19930
|
}
|
|
19472
19931
|
if ($scope.wfJsonData && $scope.wfJsonData.routes) {
|
|
19473
|
-
var rindex =
|
|
19932
|
+
var rindex = js_cookie_default().get('route-index-' + $scope.wfInstance.id);
|
|
19474
19933
|
if (rindex !== undefined && rindex !== null) {
|
|
19475
19934
|
rindex = parseInt(rindex);
|
|
19476
19935
|
if ($scope.wfJsonData.routes.length > rindex) $scope.submitHandle.route.index = rindex;
|
|
@@ -19545,7 +20004,7 @@ var install = function install(Vue) {
|
|
|
19545
20004
|
}
|
|
19546
20005
|
var submitHandle = JSON.parse(JSON.stringify($scope.submitHandle));
|
|
19547
20006
|
if (submitType.indexOf('Save') !== -1) {
|
|
19548
|
-
|
|
20007
|
+
js_cookie_default().set('route-index-' + $scope.wfInstance.id, submitHandle.route.index);
|
|
19549
20008
|
var route = $scope.wfJsonData == null || $scope.wfJsonData.routes == null || $scope.wfJsonData.routes.length === 0 ? {
|
|
19550
20009
|
taskNodes: []
|
|
19551
20010
|
} : $scope.wfJsonData.routes[submitHandle.route.index];
|
|
@@ -19556,14 +20015,14 @@ var install = function install(Vue) {
|
|
|
19556
20015
|
if (nextUsers !== '') nextUsers += ';';
|
|
19557
20016
|
nextUsers += user.id;
|
|
19558
20017
|
});
|
|
19559
|
-
|
|
20018
|
+
js_cookie_default().set('route-wfuser-' + $scope.curTN.tnID + '-' + wfNode.id, nextUsers);
|
|
19560
20019
|
}
|
|
19561
20020
|
});
|
|
19562
20021
|
delete submitHandle.submitRoute;
|
|
19563
20022
|
delete submitHandle.nextTNProp;
|
|
19564
20023
|
delete submitHandle.nextTNUser;
|
|
19565
20024
|
} else {
|
|
19566
|
-
|
|
20025
|
+
js_cookie_default().set('route-index-' + $scope.wfInstance.id, '', {
|
|
19567
20026
|
expires: 0
|
|
19568
20027
|
});
|
|
19569
20028
|
var selRoute = $scope.wfJsonData == null || $scope.wfJsonData.routes == null || $scope.wfJsonData.routes.length === 0 ? {
|
|
@@ -19606,7 +20065,7 @@ var install = function install(Vue) {
|
|
|
19606
20065
|
delete wfNode.users;
|
|
19607
20066
|
submitHandle.nextTNProp.push(wfNode);
|
|
19608
20067
|
submitHandle.nextTNUser.push(nextUsers);
|
|
19609
|
-
|
|
20068
|
+
js_cookie_default().set('route-wfuser-' + $scope.curTN.tnID + '-' + wfNode.id, '', {
|
|
19610
20069
|
expires: 0
|
|
19611
20070
|
});
|
|
19612
20071
|
}
|
|
@@ -19639,7 +20098,7 @@ var install = function install(Vue) {
|
|
|
19639
20098
|
headers: {
|
|
19640
20099
|
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
|
|
19641
20100
|
},
|
|
19642
|
-
data:
|
|
20101
|
+
data: lib_default().stringify(saveData),
|
|
19643
20102
|
url: (params.wfEngineUrl || $scope.wfEngineUrl || 'workflow/wfInstance') + '/saveWfInstance'
|
|
19644
20103
|
}).then(function (res) {
|
|
19645
20104
|
if (res.code === 'success') {
|
|
@@ -19912,7 +20371,7 @@ var install = function install(Vue) {
|
|
|
19912
20371
|
_this4.$http({
|
|
19913
20372
|
method: 'POST',
|
|
19914
20373
|
contentType: 'application/x-www-form-urlencoded',
|
|
19915
|
-
data:
|
|
20374
|
+
data: lib_default().stringify(saveData),
|
|
19916
20375
|
params: $scope.$vnode.context.wfParams,
|
|
19917
20376
|
url: 'workflow/wfInstance/getUdmNodeUsers'
|
|
19918
20377
|
}).then(function (res) {
|
|
@@ -19962,7 +20421,7 @@ var install = function install(Vue) {
|
|
|
19962
20421
|
headers: {
|
|
19963
20422
|
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
|
|
19964
20423
|
},
|
|
19965
|
-
data:
|
|
20424
|
+
data: lib_default().stringify({
|
|
19966
20425
|
wfInstance: JSON.stringify($scope.wfInstance),
|
|
19967
20426
|
nextTNUsers: JSON.stringify(nextTNUsers)
|
|
19968
20427
|
}),
|
|
@@ -20120,6 +20579,11 @@ var install = function install(Vue) {
|
|
|
20120
20579
|
}
|
|
20121
20580
|
},
|
|
20122
20581
|
upload: function upload($scope, uploadUrl, file, params, config) {
|
|
20582
|
+
// 分片上传分流判断:chunkFileSizeThreshold > 0 且文件大小超过阈值
|
|
20583
|
+
var chunkThreshold = window.chunkFileSizeThreshold;
|
|
20584
|
+
if (chunkThreshold > 0 && file && file.size > chunkThreshold * 1024 * 1024) {
|
|
20585
|
+
return chunkedUpload($scope, uploadUrl, file, params, config);
|
|
20586
|
+
}
|
|
20123
20587
|
var formData = new FormData();
|
|
20124
20588
|
if (params != null) {
|
|
20125
20589
|
for (var key in params) {
|
|
@@ -20218,7 +20682,7 @@ var install = function install(Vue) {
|
|
|
20218
20682
|
});
|
|
20219
20683
|
Vue.prototype.$wfEngine = WfEngine;
|
|
20220
20684
|
};
|
|
20221
|
-
/* harmony default export */
|
|
20685
|
+
/* harmony default export */ var wfengine = (install);
|
|
20222
20686
|
|
|
20223
20687
|
/***/ }),
|
|
20224
20688
|
|
|
@@ -20866,7 +21330,7 @@ if ($defineProperty) {
|
|
|
20866
21330
|
|
|
20867
21331
|
/***/ }),
|
|
20868
21332
|
|
|
20869
|
-
/***/
|
|
21333
|
+
/***/ 7872:
|
|
20870
21334
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
20871
21335
|
|
|
20872
21336
|
"use strict";
|
|
@@ -21334,7 +21798,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-3277b832] .popup-body{backgrou
|
|
|
21334
21798
|
|
|
21335
21799
|
/***/ }),
|
|
21336
21800
|
|
|
21337
|
-
/***/
|
|
21801
|
+
/***/ 4084:
|
|
21338
21802
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
21339
21803
|
|
|
21340
21804
|
"use strict";
|
|
@@ -21348,14 +21812,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21348
21812
|
|
|
21349
21813
|
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()));
|
|
21350
21814
|
// Module
|
|
21351
|
-
___CSS_LOADER_EXPORT___.push([module.id, "#bodyfilebox[data-v-
|
|
21815
|
+
___CSS_LOADER_EXPORT___.push([module.id, "#bodyfilebox[data-v-5c630b6e]{position:absolute;width:100%;overflow:hidden}#bodyfilebox[data-v-5c630b6e]:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;top:20;left:0;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5);z-index:1}#bodyfilebox .box[data-v-5c630b6e]{height:100%}#bodyfilebox .box .box-inner[data-v-5c630b6e]{position:relative;width:100%;height:100%}#bodyfilebox[data-v-5c630b6e] .van-cell__title{text-align:left}.busi-form-container #bodyfilebox[data-v-5c630b6e]{height:calc(100vh - 104px - var(--headerHeight))}.busi-form-nobtn-container #bodyfilebox[data-v-5c630b6e]{height:calc(100vh - 44px - var(--headerHeight))}.bottom-bar[data-v-5c630b6e]{position:absolute;bottom:20px;width:100%;text-align:center}.bottom-bar .btn-g[data-v-5c630b6e]:not(:first-child){margin-top:10px}.van-loading[data-v-5c630b6e]{height:inherit;padding:inherit}", ""]);
|
|
21352
21816
|
// Exports
|
|
21353
21817
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
21354
21818
|
|
|
21355
21819
|
|
|
21356
21820
|
/***/ }),
|
|
21357
21821
|
|
|
21358
|
-
/***/
|
|
21822
|
+
/***/ 5304:
|
|
21359
21823
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
21360
21824
|
|
|
21361
21825
|
"use strict";
|
|
@@ -21369,7 +21833,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21369
21833
|
|
|
21370
21834
|
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()));
|
|
21371
21835
|
// Module
|
|
21372
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".divPortraitContainer[data-v-
|
|
21836
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".divPortraitContainer[data-v-fee38558]{-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:bottom left;transform-origin:bottom left;position:absolute;top:-100vw;height:100vw;width:100vh}.divLandscapeContainer[data-v-fee38558]{-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-transform-origin:top left;transform-origin:top left;position:absolute;top:0;height:100vh;width:100vw}.view-container[data-v-fee38558]{position:fixed;top:0;width:100vw;height:100vh;background-color:#fff;z-index:9999}.tool-dv[data-v-fee38558]{position:absolute;bottom:calc(100vw - 38px);left:calc(100vh - 150px);width:150px;height:37px;background-color:#f1f1f1}.docDiv[data-v-fee38558],.iframe[data-v-fee38558]{height:100%;width:100%}.docDiv[data-v-fee38558]{position:relative;background-color:#fff}.buttomDiv[data-v-fee38558]{right:10px}.buttomDiv[data-v-fee38558],.buttomDivD[data-v-fee38558]{float:right;top:7px;z-index:111;position:absolute;font-size:12px;font-weight:600;width:45px;line-height:25px;text-align:center;border-radius:2px}.buttomDivD[data-v-fee38558]{right:60px}", ""]);
|
|
21373
21837
|
// Exports
|
|
21374
21838
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
21375
21839
|
|
|
@@ -21544,7 +22008,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-d6f101a0] .van-nav-bar__title{
|
|
|
21544
22008
|
|
|
21545
22009
|
/***/ }),
|
|
21546
22010
|
|
|
21547
|
-
/***/
|
|
22011
|
+
/***/ 7986:
|
|
21548
22012
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
21549
22013
|
|
|
21550
22014
|
"use strict";
|
|
@@ -21558,7 +22022,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21558
22022
|
|
|
21559
22023
|
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()));
|
|
21560
22024
|
// Module
|
|
21561
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-
|
|
22025
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-d820d2a0],.wfattach-container[data-v-d820d2a0] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-d820d2a0] .van-cell__title{width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-d820d2a0] .van-cell__value{width:45%;height:24px}.wfattach-container[data-v-d820d2a0] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-d820d2a0] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-d820d2a0] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wfattach-container[data-v-d820d2a0] .van-cell__value .attach-icon>span{white-space:nowrap;-ms-flex-negative:0;flex-shrink:0}.wfattach-container[data-v-d820d2a0] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:10px;font-size:16px;-ms-flex-negative:0;flex-shrink:0}.wfattach-container[data-v-d820d2a0]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-d820d2a0]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-d820d2a0]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-d820d2a0]: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-d820d2a0]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-d820d2a0]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-d820d2a0]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-d820d2a0]{position:relative}.van-attachment-field[data-v-d820d2a0]: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)}.attach-deleting-icon[data-v-d820d2a0]{display:inline-block;-webkit-animation:attach-spin-d820d2a0 .8s linear infinite;animation:attach-spin-d820d2a0 .8s linear infinite}@-webkit-keyframes attach-spin-d820d2a0{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes attach-spin-d820d2a0{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}", ""]);
|
|
21562
22026
|
// Exports
|
|
21563
22027
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
21564
22028
|
|
|
@@ -21691,7 +22155,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".submit-dialog-container[data-v-f9ec80
|
|
|
21691
22155
|
|
|
21692
22156
|
/***/ }),
|
|
21693
22157
|
|
|
21694
|
-
/***/
|
|
22158
|
+
/***/ 8271:
|
|
21695
22159
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
21696
22160
|
|
|
21697
22161
|
"use strict";
|
|
@@ -21710,7 +22174,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
|
|
|
21710
22174
|
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()));
|
|
21711
22175
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
21712
22176
|
// Module
|
|
21713
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-container .van-cell__value[data-v-
|
|
22177
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-container .van-cell__value[data-v-1336f0a5]{text-align:right}.submit-handle-container .idea-button-container .van-cell__value .van-button[data-v-1336f0a5]{margin-right:0;margin-left:5px}.submit-handle-container .curIdea-filed[data-v-1336f0a5] .van-cell__title,.submit-handle-container .curIdea-filed[data-v-1336f0a5]:after{display:none}.submit-handle-container .clearfix[data-v-1336f0a5]:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.submit-handle-container[data-v-1336f0a5] .van-radio-group .van-cell__title{font-weight:400!important}.submit-handle-container .van-wflow-operate-detail-cell[data-v-1336f0a5]:after{border-top-width:0}.submit-handle-container .van-wflow-operate-detail-cell-path[data-v-1336f0a5]:after{border-width:1px;-webkit-transform:scale(.5);transform:scale(.5)}.submit-handle-container[data-v-1336f0a5] .tnLimit-container .van-field{width:50px;display:inline-block;padding:0}.submit-handle-container[data-v-1336f0a5] .tnLimit-container .van-field .van-field__body input{text-align:center}.submit-handle-container[data-v-1336f0a5] .tnLimit-container .van-field__body:after{color:#323233;content:attr(value-suffix);word-break:keep-all}.submit-handle-container .delete-icon[data-v-1336f0a5]{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.submit-handle-container .delete-icon .van-icon[data-v-1336f0a5]{line-height:24px;margin-left:5px;font-size:16px}.selectBox_title[data-v-1336f0a5]{height:45px;line-height:45px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px}.selectBox_content[data-v-1336f0a5],.selectBox_title[data-v-1336f0a5]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 15px}.selectBox_content[data-v-1336f0a5]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap}.selectBox_content .selectBox_content_son[data-v-1336f0a5]{border:1px solid #f1f1f1}.selectBox_content .selectBox_content_son[data-v-1336f0a5],.selectBox_content .selectBox_content_son_change[data-v-1336f0a5]{padding:4px;background:#f8fafb;font-size:14px;margin-bottom:10px!important;text-align:center;height:22px;line-height:22px;width:calc(25% - 17.5px);margin-right:10px}.selectBox_content .selectBox_content_son_change[data-v-1336f0a5]{border:1px solid #3f88f1;background-image:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");background-repeat:no-repeat;background-size:15px 15px;background-position:100% 100%;color:#3f88f1}.selectBox_content_sonall[data-v-1336f0a5]{white-space:nowrap;overflow:hidden;overflow-x:scroll;-webkit-overflow-scrolling:touch}.selectBox_content_sonall[data-v-1336f0a5]:nth-child(4n){margin-right:0}.selectBox_content_sonall[data-v-1336f0a5]::-webkit-scrollbar{display:none}.viewAllComments[data-v-1336f0a5]{height:45px;line-height:45px;text-align:center;color:#b7b7b7;font-size:12px;background:#fff;display:block;width:100%}", ""]);
|
|
21714
22178
|
// Exports
|
|
21715
22179
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
21716
22180
|
|
|
@@ -47974,19 +48438,763 @@ module.exports = function getSideChannel() {
|
|
|
47974
48438
|
|
|
47975
48439
|
/***/ }),
|
|
47976
48440
|
|
|
47977
|
-
/***/
|
|
48441
|
+
/***/ 5735:
|
|
48442
|
+
/***/ (function(module) {
|
|
48443
|
+
|
|
48444
|
+
(function (factory) {
|
|
48445
|
+
if (true) {
|
|
48446
|
+
// Node/CommonJS
|
|
48447
|
+
module.exports = factory();
|
|
48448
|
+
} else { var glob; }
|
|
48449
|
+
}(function (undefined) {
|
|
48450
|
+
|
|
48451
|
+
'use strict';
|
|
48452
|
+
|
|
48453
|
+
/*
|
|
48454
|
+
* Fastest md5 implementation around (JKM md5).
|
|
48455
|
+
* Credits: Joseph Myers
|
|
48456
|
+
*
|
|
48457
|
+
* @see http://www.myersdaily.org/joseph/javascript/md5-text.html
|
|
48458
|
+
* @see http://jsperf.com/md5-shootout/7
|
|
48459
|
+
*/
|
|
48460
|
+
|
|
48461
|
+
/* this function is much faster,
|
|
48462
|
+
so if possible we use it. Some IEs
|
|
48463
|
+
are the only ones I know of that
|
|
48464
|
+
need the idiotic second function,
|
|
48465
|
+
generated by an if clause. */
|
|
48466
|
+
var add32 = function (a, b) {
|
|
48467
|
+
return (a + b) & 0xFFFFFFFF;
|
|
48468
|
+
},
|
|
48469
|
+
hex_chr = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'];
|
|
48470
|
+
|
|
48471
|
+
|
|
48472
|
+
function cmn(q, a, b, x, s, t) {
|
|
48473
|
+
a = add32(add32(a, q), add32(x, t));
|
|
48474
|
+
return add32((a << s) | (a >>> (32 - s)), b);
|
|
48475
|
+
}
|
|
48476
|
+
|
|
48477
|
+
function md5cycle(x, k) {
|
|
48478
|
+
var a = x[0],
|
|
48479
|
+
b = x[1],
|
|
48480
|
+
c = x[2],
|
|
48481
|
+
d = x[3];
|
|
48482
|
+
|
|
48483
|
+
a += (b & c | ~b & d) + k[0] - 680876936 | 0;
|
|
48484
|
+
a = (a << 7 | a >>> 25) + b | 0;
|
|
48485
|
+
d += (a & b | ~a & c) + k[1] - 389564586 | 0;
|
|
48486
|
+
d = (d << 12 | d >>> 20) + a | 0;
|
|
48487
|
+
c += (d & a | ~d & b) + k[2] + 606105819 | 0;
|
|
48488
|
+
c = (c << 17 | c >>> 15) + d | 0;
|
|
48489
|
+
b += (c & d | ~c & a) + k[3] - 1044525330 | 0;
|
|
48490
|
+
b = (b << 22 | b >>> 10) + c | 0;
|
|
48491
|
+
a += (b & c | ~b & d) + k[4] - 176418897 | 0;
|
|
48492
|
+
a = (a << 7 | a >>> 25) + b | 0;
|
|
48493
|
+
d += (a & b | ~a & c) + k[5] + 1200080426 | 0;
|
|
48494
|
+
d = (d << 12 | d >>> 20) + a | 0;
|
|
48495
|
+
c += (d & a | ~d & b) + k[6] - 1473231341 | 0;
|
|
48496
|
+
c = (c << 17 | c >>> 15) + d | 0;
|
|
48497
|
+
b += (c & d | ~c & a) + k[7] - 45705983 | 0;
|
|
48498
|
+
b = (b << 22 | b >>> 10) + c | 0;
|
|
48499
|
+
a += (b & c | ~b & d) + k[8] + 1770035416 | 0;
|
|
48500
|
+
a = (a << 7 | a >>> 25) + b | 0;
|
|
48501
|
+
d += (a & b | ~a & c) + k[9] - 1958414417 | 0;
|
|
48502
|
+
d = (d << 12 | d >>> 20) + a | 0;
|
|
48503
|
+
c += (d & a | ~d & b) + k[10] - 42063 | 0;
|
|
48504
|
+
c = (c << 17 | c >>> 15) + d | 0;
|
|
48505
|
+
b += (c & d | ~c & a) + k[11] - 1990404162 | 0;
|
|
48506
|
+
b = (b << 22 | b >>> 10) + c | 0;
|
|
48507
|
+
a += (b & c | ~b & d) + k[12] + 1804603682 | 0;
|
|
48508
|
+
a = (a << 7 | a >>> 25) + b | 0;
|
|
48509
|
+
d += (a & b | ~a & c) + k[13] - 40341101 | 0;
|
|
48510
|
+
d = (d << 12 | d >>> 20) + a | 0;
|
|
48511
|
+
c += (d & a | ~d & b) + k[14] - 1502002290 | 0;
|
|
48512
|
+
c = (c << 17 | c >>> 15) + d | 0;
|
|
48513
|
+
b += (c & d | ~c & a) + k[15] + 1236535329 | 0;
|
|
48514
|
+
b = (b << 22 | b >>> 10) + c | 0;
|
|
48515
|
+
|
|
48516
|
+
a += (b & d | c & ~d) + k[1] - 165796510 | 0;
|
|
48517
|
+
a = (a << 5 | a >>> 27) + b | 0;
|
|
48518
|
+
d += (a & c | b & ~c) + k[6] - 1069501632 | 0;
|
|
48519
|
+
d = (d << 9 | d >>> 23) + a | 0;
|
|
48520
|
+
c += (d & b | a & ~b) + k[11] + 643717713 | 0;
|
|
48521
|
+
c = (c << 14 | c >>> 18) + d | 0;
|
|
48522
|
+
b += (c & a | d & ~a) + k[0] - 373897302 | 0;
|
|
48523
|
+
b = (b << 20 | b >>> 12) + c | 0;
|
|
48524
|
+
a += (b & d | c & ~d) + k[5] - 701558691 | 0;
|
|
48525
|
+
a = (a << 5 | a >>> 27) + b | 0;
|
|
48526
|
+
d += (a & c | b & ~c) + k[10] + 38016083 | 0;
|
|
48527
|
+
d = (d << 9 | d >>> 23) + a | 0;
|
|
48528
|
+
c += (d & b | a & ~b) + k[15] - 660478335 | 0;
|
|
48529
|
+
c = (c << 14 | c >>> 18) + d | 0;
|
|
48530
|
+
b += (c & a | d & ~a) + k[4] - 405537848 | 0;
|
|
48531
|
+
b = (b << 20 | b >>> 12) + c | 0;
|
|
48532
|
+
a += (b & d | c & ~d) + k[9] + 568446438 | 0;
|
|
48533
|
+
a = (a << 5 | a >>> 27) + b | 0;
|
|
48534
|
+
d += (a & c | b & ~c) + k[14] - 1019803690 | 0;
|
|
48535
|
+
d = (d << 9 | d >>> 23) + a | 0;
|
|
48536
|
+
c += (d & b | a & ~b) + k[3] - 187363961 | 0;
|
|
48537
|
+
c = (c << 14 | c >>> 18) + d | 0;
|
|
48538
|
+
b += (c & a | d & ~a) + k[8] + 1163531501 | 0;
|
|
48539
|
+
b = (b << 20 | b >>> 12) + c | 0;
|
|
48540
|
+
a += (b & d | c & ~d) + k[13] - 1444681467 | 0;
|
|
48541
|
+
a = (a << 5 | a >>> 27) + b | 0;
|
|
48542
|
+
d += (a & c | b & ~c) + k[2] - 51403784 | 0;
|
|
48543
|
+
d = (d << 9 | d >>> 23) + a | 0;
|
|
48544
|
+
c += (d & b | a & ~b) + k[7] + 1735328473 | 0;
|
|
48545
|
+
c = (c << 14 | c >>> 18) + d | 0;
|
|
48546
|
+
b += (c & a | d & ~a) + k[12] - 1926607734 | 0;
|
|
48547
|
+
b = (b << 20 | b >>> 12) + c | 0;
|
|
48548
|
+
|
|
48549
|
+
a += (b ^ c ^ d) + k[5] - 378558 | 0;
|
|
48550
|
+
a = (a << 4 | a >>> 28) + b | 0;
|
|
48551
|
+
d += (a ^ b ^ c) + k[8] - 2022574463 | 0;
|
|
48552
|
+
d = (d << 11 | d >>> 21) + a | 0;
|
|
48553
|
+
c += (d ^ a ^ b) + k[11] + 1839030562 | 0;
|
|
48554
|
+
c = (c << 16 | c >>> 16) + d | 0;
|
|
48555
|
+
b += (c ^ d ^ a) + k[14] - 35309556 | 0;
|
|
48556
|
+
b = (b << 23 | b >>> 9) + c | 0;
|
|
48557
|
+
a += (b ^ c ^ d) + k[1] - 1530992060 | 0;
|
|
48558
|
+
a = (a << 4 | a >>> 28) + b | 0;
|
|
48559
|
+
d += (a ^ b ^ c) + k[4] + 1272893353 | 0;
|
|
48560
|
+
d = (d << 11 | d >>> 21) + a | 0;
|
|
48561
|
+
c += (d ^ a ^ b) + k[7] - 155497632 | 0;
|
|
48562
|
+
c = (c << 16 | c >>> 16) + d | 0;
|
|
48563
|
+
b += (c ^ d ^ a) + k[10] - 1094730640 | 0;
|
|
48564
|
+
b = (b << 23 | b >>> 9) + c | 0;
|
|
48565
|
+
a += (b ^ c ^ d) + k[13] + 681279174 | 0;
|
|
48566
|
+
a = (a << 4 | a >>> 28) + b | 0;
|
|
48567
|
+
d += (a ^ b ^ c) + k[0] - 358537222 | 0;
|
|
48568
|
+
d = (d << 11 | d >>> 21) + a | 0;
|
|
48569
|
+
c += (d ^ a ^ b) + k[3] - 722521979 | 0;
|
|
48570
|
+
c = (c << 16 | c >>> 16) + d | 0;
|
|
48571
|
+
b += (c ^ d ^ a) + k[6] + 76029189 | 0;
|
|
48572
|
+
b = (b << 23 | b >>> 9) + c | 0;
|
|
48573
|
+
a += (b ^ c ^ d) + k[9] - 640364487 | 0;
|
|
48574
|
+
a = (a << 4 | a >>> 28) + b | 0;
|
|
48575
|
+
d += (a ^ b ^ c) + k[12] - 421815835 | 0;
|
|
48576
|
+
d = (d << 11 | d >>> 21) + a | 0;
|
|
48577
|
+
c += (d ^ a ^ b) + k[15] + 530742520 | 0;
|
|
48578
|
+
c = (c << 16 | c >>> 16) + d | 0;
|
|
48579
|
+
b += (c ^ d ^ a) + k[2] - 995338651 | 0;
|
|
48580
|
+
b = (b << 23 | b >>> 9) + c | 0;
|
|
48581
|
+
|
|
48582
|
+
a += (c ^ (b | ~d)) + k[0] - 198630844 | 0;
|
|
48583
|
+
a = (a << 6 | a >>> 26) + b | 0;
|
|
48584
|
+
d += (b ^ (a | ~c)) + k[7] + 1126891415 | 0;
|
|
48585
|
+
d = (d << 10 | d >>> 22) + a | 0;
|
|
48586
|
+
c += (a ^ (d | ~b)) + k[14] - 1416354905 | 0;
|
|
48587
|
+
c = (c << 15 | c >>> 17) + d | 0;
|
|
48588
|
+
b += (d ^ (c | ~a)) + k[5] - 57434055 | 0;
|
|
48589
|
+
b = (b << 21 |b >>> 11) + c | 0;
|
|
48590
|
+
a += (c ^ (b | ~d)) + k[12] + 1700485571 | 0;
|
|
48591
|
+
a = (a << 6 | a >>> 26) + b | 0;
|
|
48592
|
+
d += (b ^ (a | ~c)) + k[3] - 1894986606 | 0;
|
|
48593
|
+
d = (d << 10 | d >>> 22) + a | 0;
|
|
48594
|
+
c += (a ^ (d | ~b)) + k[10] - 1051523 | 0;
|
|
48595
|
+
c = (c << 15 | c >>> 17) + d | 0;
|
|
48596
|
+
b += (d ^ (c | ~a)) + k[1] - 2054922799 | 0;
|
|
48597
|
+
b = (b << 21 |b >>> 11) + c | 0;
|
|
48598
|
+
a += (c ^ (b | ~d)) + k[8] + 1873313359 | 0;
|
|
48599
|
+
a = (a << 6 | a >>> 26) + b | 0;
|
|
48600
|
+
d += (b ^ (a | ~c)) + k[15] - 30611744 | 0;
|
|
48601
|
+
d = (d << 10 | d >>> 22) + a | 0;
|
|
48602
|
+
c += (a ^ (d | ~b)) + k[6] - 1560198380 | 0;
|
|
48603
|
+
c = (c << 15 | c >>> 17) + d | 0;
|
|
48604
|
+
b += (d ^ (c | ~a)) + k[13] + 1309151649 | 0;
|
|
48605
|
+
b = (b << 21 |b >>> 11) + c | 0;
|
|
48606
|
+
a += (c ^ (b | ~d)) + k[4] - 145523070 | 0;
|
|
48607
|
+
a = (a << 6 | a >>> 26) + b | 0;
|
|
48608
|
+
d += (b ^ (a | ~c)) + k[11] - 1120210379 | 0;
|
|
48609
|
+
d = (d << 10 | d >>> 22) + a | 0;
|
|
48610
|
+
c += (a ^ (d | ~b)) + k[2] + 718787259 | 0;
|
|
48611
|
+
c = (c << 15 | c >>> 17) + d | 0;
|
|
48612
|
+
b += (d ^ (c | ~a)) + k[9] - 343485551 | 0;
|
|
48613
|
+
b = (b << 21 | b >>> 11) + c | 0;
|
|
48614
|
+
|
|
48615
|
+
x[0] = a + x[0] | 0;
|
|
48616
|
+
x[1] = b + x[1] | 0;
|
|
48617
|
+
x[2] = c + x[2] | 0;
|
|
48618
|
+
x[3] = d + x[3] | 0;
|
|
48619
|
+
}
|
|
48620
|
+
|
|
48621
|
+
function md5blk(s) {
|
|
48622
|
+
var md5blks = [],
|
|
48623
|
+
i; /* Andy King said do it this way. */
|
|
48624
|
+
|
|
48625
|
+
for (i = 0; i < 64; i += 4) {
|
|
48626
|
+
md5blks[i >> 2] = s.charCodeAt(i) + (s.charCodeAt(i + 1) << 8) + (s.charCodeAt(i + 2) << 16) + (s.charCodeAt(i + 3) << 24);
|
|
48627
|
+
}
|
|
48628
|
+
return md5blks;
|
|
48629
|
+
}
|
|
48630
|
+
|
|
48631
|
+
function md5blk_array(a) {
|
|
48632
|
+
var md5blks = [],
|
|
48633
|
+
i; /* Andy King said do it this way. */
|
|
48634
|
+
|
|
48635
|
+
for (i = 0; i < 64; i += 4) {
|
|
48636
|
+
md5blks[i >> 2] = a[i] + (a[i + 1] << 8) + (a[i + 2] << 16) + (a[i + 3] << 24);
|
|
48637
|
+
}
|
|
48638
|
+
return md5blks;
|
|
48639
|
+
}
|
|
48640
|
+
|
|
48641
|
+
function md51(s) {
|
|
48642
|
+
var n = s.length,
|
|
48643
|
+
state = [1732584193, -271733879, -1732584194, 271733878],
|
|
48644
|
+
i,
|
|
48645
|
+
length,
|
|
48646
|
+
tail,
|
|
48647
|
+
tmp,
|
|
48648
|
+
lo,
|
|
48649
|
+
hi;
|
|
48650
|
+
|
|
48651
|
+
for (i = 64; i <= n; i += 64) {
|
|
48652
|
+
md5cycle(state, md5blk(s.substring(i - 64, i)));
|
|
48653
|
+
}
|
|
48654
|
+
s = s.substring(i - 64);
|
|
48655
|
+
length = s.length;
|
|
48656
|
+
tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
|
48657
|
+
for (i = 0; i < length; i += 1) {
|
|
48658
|
+
tail[i >> 2] |= s.charCodeAt(i) << ((i % 4) << 3);
|
|
48659
|
+
}
|
|
48660
|
+
tail[i >> 2] |= 0x80 << ((i % 4) << 3);
|
|
48661
|
+
if (i > 55) {
|
|
48662
|
+
md5cycle(state, tail);
|
|
48663
|
+
for (i = 0; i < 16; i += 1) {
|
|
48664
|
+
tail[i] = 0;
|
|
48665
|
+
}
|
|
48666
|
+
}
|
|
48667
|
+
|
|
48668
|
+
// Beware that the final length might not fit in 32 bits so we take care of that
|
|
48669
|
+
tmp = n * 8;
|
|
48670
|
+
tmp = tmp.toString(16).match(/(.*?)(.{0,8})$/);
|
|
48671
|
+
lo = parseInt(tmp[2], 16);
|
|
48672
|
+
hi = parseInt(tmp[1], 16) || 0;
|
|
48673
|
+
|
|
48674
|
+
tail[14] = lo;
|
|
48675
|
+
tail[15] = hi;
|
|
48676
|
+
|
|
48677
|
+
md5cycle(state, tail);
|
|
48678
|
+
return state;
|
|
48679
|
+
}
|
|
48680
|
+
|
|
48681
|
+
function md51_array(a) {
|
|
48682
|
+
var n = a.length,
|
|
48683
|
+
state = [1732584193, -271733879, -1732584194, 271733878],
|
|
48684
|
+
i,
|
|
48685
|
+
length,
|
|
48686
|
+
tail,
|
|
48687
|
+
tmp,
|
|
48688
|
+
lo,
|
|
48689
|
+
hi;
|
|
48690
|
+
|
|
48691
|
+
for (i = 64; i <= n; i += 64) {
|
|
48692
|
+
md5cycle(state, md5blk_array(a.subarray(i - 64, i)));
|
|
48693
|
+
}
|
|
48694
|
+
|
|
48695
|
+
// Not sure if it is a bug, however IE10 will always produce a sub array of length 1
|
|
48696
|
+
// containing the last element of the parent array if the sub array specified starts
|
|
48697
|
+
// beyond the length of the parent array - weird.
|
|
48698
|
+
// https://connect.microsoft.com/IE/feedback/details/771452/typed-array-subarray-issue
|
|
48699
|
+
a = (i - 64) < n ? a.subarray(i - 64) : new Uint8Array(0);
|
|
48700
|
+
|
|
48701
|
+
length = a.length;
|
|
48702
|
+
tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
|
48703
|
+
for (i = 0; i < length; i += 1) {
|
|
48704
|
+
tail[i >> 2] |= a[i] << ((i % 4) << 3);
|
|
48705
|
+
}
|
|
48706
|
+
|
|
48707
|
+
tail[i >> 2] |= 0x80 << ((i % 4) << 3);
|
|
48708
|
+
if (i > 55) {
|
|
48709
|
+
md5cycle(state, tail);
|
|
48710
|
+
for (i = 0; i < 16; i += 1) {
|
|
48711
|
+
tail[i] = 0;
|
|
48712
|
+
}
|
|
48713
|
+
}
|
|
48714
|
+
|
|
48715
|
+
// Beware that the final length might not fit in 32 bits so we take care of that
|
|
48716
|
+
tmp = n * 8;
|
|
48717
|
+
tmp = tmp.toString(16).match(/(.*?)(.{0,8})$/);
|
|
48718
|
+
lo = parseInt(tmp[2], 16);
|
|
48719
|
+
hi = parseInt(tmp[1], 16) || 0;
|
|
48720
|
+
|
|
48721
|
+
tail[14] = lo;
|
|
48722
|
+
tail[15] = hi;
|
|
48723
|
+
|
|
48724
|
+
md5cycle(state, tail);
|
|
48725
|
+
|
|
48726
|
+
return state;
|
|
48727
|
+
}
|
|
48728
|
+
|
|
48729
|
+
function rhex(n) {
|
|
48730
|
+
var s = '',
|
|
48731
|
+
j;
|
|
48732
|
+
for (j = 0; j < 4; j += 1) {
|
|
48733
|
+
s += hex_chr[(n >> (j * 8 + 4)) & 0x0F] + hex_chr[(n >> (j * 8)) & 0x0F];
|
|
48734
|
+
}
|
|
48735
|
+
return s;
|
|
48736
|
+
}
|
|
48737
|
+
|
|
48738
|
+
function hex(x) {
|
|
48739
|
+
var i;
|
|
48740
|
+
for (i = 0; i < x.length; i += 1) {
|
|
48741
|
+
x[i] = rhex(x[i]);
|
|
48742
|
+
}
|
|
48743
|
+
return x.join('');
|
|
48744
|
+
}
|
|
48745
|
+
|
|
48746
|
+
// In some cases the fast add32 function cannot be used..
|
|
48747
|
+
if (hex(md51('hello')) !== '5d41402abc4b2a76b9719d911017c592') {
|
|
48748
|
+
add32 = function (x, y) {
|
|
48749
|
+
var lsw = (x & 0xFFFF) + (y & 0xFFFF),
|
|
48750
|
+
msw = (x >> 16) + (y >> 16) + (lsw >> 16);
|
|
48751
|
+
return (msw << 16) | (lsw & 0xFFFF);
|
|
48752
|
+
};
|
|
48753
|
+
}
|
|
48754
|
+
|
|
48755
|
+
// ---------------------------------------------------
|
|
48756
|
+
|
|
48757
|
+
/**
|
|
48758
|
+
* ArrayBuffer slice polyfill.
|
|
48759
|
+
*
|
|
48760
|
+
* @see https://github.com/ttaubert/node-arraybuffer-slice
|
|
48761
|
+
*/
|
|
48762
|
+
|
|
48763
|
+
if (typeof ArrayBuffer !== 'undefined' && !ArrayBuffer.prototype.slice) {
|
|
48764
|
+
(function () {
|
|
48765
|
+
function clamp(val, length) {
|
|
48766
|
+
val = (val | 0) || 0;
|
|
48767
|
+
|
|
48768
|
+
if (val < 0) {
|
|
48769
|
+
return Math.max(val + length, 0);
|
|
48770
|
+
}
|
|
48771
|
+
|
|
48772
|
+
return Math.min(val, length);
|
|
48773
|
+
}
|
|
48774
|
+
|
|
48775
|
+
ArrayBuffer.prototype.slice = function (from, to) {
|
|
48776
|
+
var length = this.byteLength,
|
|
48777
|
+
begin = clamp(from, length),
|
|
48778
|
+
end = length,
|
|
48779
|
+
num,
|
|
48780
|
+
target,
|
|
48781
|
+
targetArray,
|
|
48782
|
+
sourceArray;
|
|
48783
|
+
|
|
48784
|
+
if (to !== undefined) {
|
|
48785
|
+
end = clamp(to, length);
|
|
48786
|
+
}
|
|
48787
|
+
|
|
48788
|
+
if (begin > end) {
|
|
48789
|
+
return new ArrayBuffer(0);
|
|
48790
|
+
}
|
|
48791
|
+
|
|
48792
|
+
num = end - begin;
|
|
48793
|
+
target = new ArrayBuffer(num);
|
|
48794
|
+
targetArray = new Uint8Array(target);
|
|
48795
|
+
|
|
48796
|
+
sourceArray = new Uint8Array(this, begin, num);
|
|
48797
|
+
targetArray.set(sourceArray);
|
|
48798
|
+
|
|
48799
|
+
return target;
|
|
48800
|
+
};
|
|
48801
|
+
})();
|
|
48802
|
+
}
|
|
48803
|
+
|
|
48804
|
+
// ---------------------------------------------------
|
|
48805
|
+
|
|
48806
|
+
/**
|
|
48807
|
+
* Helpers.
|
|
48808
|
+
*/
|
|
48809
|
+
|
|
48810
|
+
function toUtf8(str) {
|
|
48811
|
+
if (/[\u0080-\uFFFF]/.test(str)) {
|
|
48812
|
+
str = unescape(encodeURIComponent(str));
|
|
48813
|
+
}
|
|
48814
|
+
|
|
48815
|
+
return str;
|
|
48816
|
+
}
|
|
48817
|
+
|
|
48818
|
+
function utf8Str2ArrayBuffer(str, returnUInt8Array) {
|
|
48819
|
+
var length = str.length,
|
|
48820
|
+
buff = new ArrayBuffer(length),
|
|
48821
|
+
arr = new Uint8Array(buff),
|
|
48822
|
+
i;
|
|
48823
|
+
|
|
48824
|
+
for (i = 0; i < length; i += 1) {
|
|
48825
|
+
arr[i] = str.charCodeAt(i);
|
|
48826
|
+
}
|
|
48827
|
+
|
|
48828
|
+
return returnUInt8Array ? arr : buff;
|
|
48829
|
+
}
|
|
48830
|
+
|
|
48831
|
+
function arrayBuffer2Utf8Str(buff) {
|
|
48832
|
+
return String.fromCharCode.apply(null, new Uint8Array(buff));
|
|
48833
|
+
}
|
|
48834
|
+
|
|
48835
|
+
function concatenateArrayBuffers(first, second, returnUInt8Array) {
|
|
48836
|
+
var result = new Uint8Array(first.byteLength + second.byteLength);
|
|
48837
|
+
|
|
48838
|
+
result.set(new Uint8Array(first));
|
|
48839
|
+
result.set(new Uint8Array(second), first.byteLength);
|
|
48840
|
+
|
|
48841
|
+
return returnUInt8Array ? result : result.buffer;
|
|
48842
|
+
}
|
|
48843
|
+
|
|
48844
|
+
function hexToBinaryString(hex) {
|
|
48845
|
+
var bytes = [],
|
|
48846
|
+
length = hex.length,
|
|
48847
|
+
x;
|
|
48848
|
+
|
|
48849
|
+
for (x = 0; x < length - 1; x += 2) {
|
|
48850
|
+
bytes.push(parseInt(hex.substr(x, 2), 16));
|
|
48851
|
+
}
|
|
48852
|
+
|
|
48853
|
+
return String.fromCharCode.apply(String, bytes);
|
|
48854
|
+
}
|
|
48855
|
+
|
|
48856
|
+
// ---------------------------------------------------
|
|
48857
|
+
|
|
48858
|
+
/**
|
|
48859
|
+
* SparkMD5 OOP implementation.
|
|
48860
|
+
*
|
|
48861
|
+
* Use this class to perform an incremental md5, otherwise use the
|
|
48862
|
+
* static methods instead.
|
|
48863
|
+
*/
|
|
48864
|
+
|
|
48865
|
+
function SparkMD5() {
|
|
48866
|
+
// call reset to init the instance
|
|
48867
|
+
this.reset();
|
|
48868
|
+
}
|
|
48869
|
+
|
|
48870
|
+
/**
|
|
48871
|
+
* Appends a string.
|
|
48872
|
+
* A conversion will be applied if an utf8 string is detected.
|
|
48873
|
+
*
|
|
48874
|
+
* @param {String} str The string to be appended
|
|
48875
|
+
*
|
|
48876
|
+
* @return {SparkMD5} The instance itself
|
|
48877
|
+
*/
|
|
48878
|
+
SparkMD5.prototype.append = function (str) {
|
|
48879
|
+
// Converts the string to utf8 bytes if necessary
|
|
48880
|
+
// Then append as binary
|
|
48881
|
+
this.appendBinary(toUtf8(str));
|
|
48882
|
+
|
|
48883
|
+
return this;
|
|
48884
|
+
};
|
|
48885
|
+
|
|
48886
|
+
/**
|
|
48887
|
+
* Appends a binary string.
|
|
48888
|
+
*
|
|
48889
|
+
* @param {String} contents The binary string to be appended
|
|
48890
|
+
*
|
|
48891
|
+
* @return {SparkMD5} The instance itself
|
|
48892
|
+
*/
|
|
48893
|
+
SparkMD5.prototype.appendBinary = function (contents) {
|
|
48894
|
+
this._buff += contents;
|
|
48895
|
+
this._length += contents.length;
|
|
48896
|
+
|
|
48897
|
+
var length = this._buff.length,
|
|
48898
|
+
i;
|
|
48899
|
+
|
|
48900
|
+
for (i = 64; i <= length; i += 64) {
|
|
48901
|
+
md5cycle(this._hash, md5blk(this._buff.substring(i - 64, i)));
|
|
48902
|
+
}
|
|
48903
|
+
|
|
48904
|
+
this._buff = this._buff.substring(i - 64);
|
|
48905
|
+
|
|
48906
|
+
return this;
|
|
48907
|
+
};
|
|
48908
|
+
|
|
48909
|
+
/**
|
|
48910
|
+
* Finishes the incremental computation, reseting the internal state and
|
|
48911
|
+
* returning the result.
|
|
48912
|
+
*
|
|
48913
|
+
* @param {Boolean} raw True to get the raw string, false to get the hex string
|
|
48914
|
+
*
|
|
48915
|
+
* @return {String} The result
|
|
48916
|
+
*/
|
|
48917
|
+
SparkMD5.prototype.end = function (raw) {
|
|
48918
|
+
var buff = this._buff,
|
|
48919
|
+
length = buff.length,
|
|
48920
|
+
i,
|
|
48921
|
+
tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
48922
|
+
ret;
|
|
48923
|
+
|
|
48924
|
+
for (i = 0; i < length; i += 1) {
|
|
48925
|
+
tail[i >> 2] |= buff.charCodeAt(i) << ((i % 4) << 3);
|
|
48926
|
+
}
|
|
48927
|
+
|
|
48928
|
+
this._finish(tail, length);
|
|
48929
|
+
ret = hex(this._hash);
|
|
48930
|
+
|
|
48931
|
+
if (raw) {
|
|
48932
|
+
ret = hexToBinaryString(ret);
|
|
48933
|
+
}
|
|
48934
|
+
|
|
48935
|
+
this.reset();
|
|
48936
|
+
|
|
48937
|
+
return ret;
|
|
48938
|
+
};
|
|
48939
|
+
|
|
48940
|
+
/**
|
|
48941
|
+
* Resets the internal state of the computation.
|
|
48942
|
+
*
|
|
48943
|
+
* @return {SparkMD5} The instance itself
|
|
48944
|
+
*/
|
|
48945
|
+
SparkMD5.prototype.reset = function () {
|
|
48946
|
+
this._buff = '';
|
|
48947
|
+
this._length = 0;
|
|
48948
|
+
this._hash = [1732584193, -271733879, -1732584194, 271733878];
|
|
48949
|
+
|
|
48950
|
+
return this;
|
|
48951
|
+
};
|
|
48952
|
+
|
|
48953
|
+
/**
|
|
48954
|
+
* Gets the internal state of the computation.
|
|
48955
|
+
*
|
|
48956
|
+
* @return {Object} The state
|
|
48957
|
+
*/
|
|
48958
|
+
SparkMD5.prototype.getState = function () {
|
|
48959
|
+
return {
|
|
48960
|
+
buff: this._buff,
|
|
48961
|
+
length: this._length,
|
|
48962
|
+
hash: this._hash.slice()
|
|
48963
|
+
};
|
|
48964
|
+
};
|
|
48965
|
+
|
|
48966
|
+
/**
|
|
48967
|
+
* Gets the internal state of the computation.
|
|
48968
|
+
*
|
|
48969
|
+
* @param {Object} state The state
|
|
48970
|
+
*
|
|
48971
|
+
* @return {SparkMD5} The instance itself
|
|
48972
|
+
*/
|
|
48973
|
+
SparkMD5.prototype.setState = function (state) {
|
|
48974
|
+
this._buff = state.buff;
|
|
48975
|
+
this._length = state.length;
|
|
48976
|
+
this._hash = state.hash;
|
|
48977
|
+
|
|
48978
|
+
return this;
|
|
48979
|
+
};
|
|
48980
|
+
|
|
48981
|
+
/**
|
|
48982
|
+
* Releases memory used by the incremental buffer and other additional
|
|
48983
|
+
* resources. If you plan to use the instance again, use reset instead.
|
|
48984
|
+
*/
|
|
48985
|
+
SparkMD5.prototype.destroy = function () {
|
|
48986
|
+
delete this._hash;
|
|
48987
|
+
delete this._buff;
|
|
48988
|
+
delete this._length;
|
|
48989
|
+
};
|
|
48990
|
+
|
|
48991
|
+
/**
|
|
48992
|
+
* Finish the final calculation based on the tail.
|
|
48993
|
+
*
|
|
48994
|
+
* @param {Array} tail The tail (will be modified)
|
|
48995
|
+
* @param {Number} length The length of the remaining buffer
|
|
48996
|
+
*/
|
|
48997
|
+
SparkMD5.prototype._finish = function (tail, length) {
|
|
48998
|
+
var i = length,
|
|
48999
|
+
tmp,
|
|
49000
|
+
lo,
|
|
49001
|
+
hi;
|
|
49002
|
+
|
|
49003
|
+
tail[i >> 2] |= 0x80 << ((i % 4) << 3);
|
|
49004
|
+
if (i > 55) {
|
|
49005
|
+
md5cycle(this._hash, tail);
|
|
49006
|
+
for (i = 0; i < 16; i += 1) {
|
|
49007
|
+
tail[i] = 0;
|
|
49008
|
+
}
|
|
49009
|
+
}
|
|
49010
|
+
|
|
49011
|
+
// Do the final computation based on the tail and length
|
|
49012
|
+
// Beware that the final length may not fit in 32 bits so we take care of that
|
|
49013
|
+
tmp = this._length * 8;
|
|
49014
|
+
tmp = tmp.toString(16).match(/(.*?)(.{0,8})$/);
|
|
49015
|
+
lo = parseInt(tmp[2], 16);
|
|
49016
|
+
hi = parseInt(tmp[1], 16) || 0;
|
|
49017
|
+
|
|
49018
|
+
tail[14] = lo;
|
|
49019
|
+
tail[15] = hi;
|
|
49020
|
+
md5cycle(this._hash, tail);
|
|
49021
|
+
};
|
|
49022
|
+
|
|
49023
|
+
/**
|
|
49024
|
+
* Performs the md5 hash on a string.
|
|
49025
|
+
* A conversion will be applied if utf8 string is detected.
|
|
49026
|
+
*
|
|
49027
|
+
* @param {String} str The string
|
|
49028
|
+
* @param {Boolean} [raw] True to get the raw string, false to get the hex string
|
|
49029
|
+
*
|
|
49030
|
+
* @return {String} The result
|
|
49031
|
+
*/
|
|
49032
|
+
SparkMD5.hash = function (str, raw) {
|
|
49033
|
+
// Converts the string to utf8 bytes if necessary
|
|
49034
|
+
// Then compute it using the binary function
|
|
49035
|
+
return SparkMD5.hashBinary(toUtf8(str), raw);
|
|
49036
|
+
};
|
|
49037
|
+
|
|
49038
|
+
/**
|
|
49039
|
+
* Performs the md5 hash on a binary string.
|
|
49040
|
+
*
|
|
49041
|
+
* @param {String} content The binary string
|
|
49042
|
+
* @param {Boolean} [raw] True to get the raw string, false to get the hex string
|
|
49043
|
+
*
|
|
49044
|
+
* @return {String} The result
|
|
49045
|
+
*/
|
|
49046
|
+
SparkMD5.hashBinary = function (content, raw) {
|
|
49047
|
+
var hash = md51(content),
|
|
49048
|
+
ret = hex(hash);
|
|
49049
|
+
|
|
49050
|
+
return raw ? hexToBinaryString(ret) : ret;
|
|
49051
|
+
};
|
|
49052
|
+
|
|
49053
|
+
// ---------------------------------------------------
|
|
49054
|
+
|
|
49055
|
+
/**
|
|
49056
|
+
* SparkMD5 OOP implementation for array buffers.
|
|
49057
|
+
*
|
|
49058
|
+
* Use this class to perform an incremental md5 ONLY for array buffers.
|
|
49059
|
+
*/
|
|
49060
|
+
SparkMD5.ArrayBuffer = function () {
|
|
49061
|
+
// call reset to init the instance
|
|
49062
|
+
this.reset();
|
|
49063
|
+
};
|
|
49064
|
+
|
|
49065
|
+
/**
|
|
49066
|
+
* Appends an array buffer.
|
|
49067
|
+
*
|
|
49068
|
+
* @param {ArrayBuffer} arr The array to be appended
|
|
49069
|
+
*
|
|
49070
|
+
* @return {SparkMD5.ArrayBuffer} The instance itself
|
|
49071
|
+
*/
|
|
49072
|
+
SparkMD5.ArrayBuffer.prototype.append = function (arr) {
|
|
49073
|
+
var buff = concatenateArrayBuffers(this._buff.buffer, arr, true),
|
|
49074
|
+
length = buff.length,
|
|
49075
|
+
i;
|
|
49076
|
+
|
|
49077
|
+
this._length += arr.byteLength;
|
|
49078
|
+
|
|
49079
|
+
for (i = 64; i <= length; i += 64) {
|
|
49080
|
+
md5cycle(this._hash, md5blk_array(buff.subarray(i - 64, i)));
|
|
49081
|
+
}
|
|
49082
|
+
|
|
49083
|
+
this._buff = (i - 64) < length ? new Uint8Array(buff.buffer.slice(i - 64)) : new Uint8Array(0);
|
|
49084
|
+
|
|
49085
|
+
return this;
|
|
49086
|
+
};
|
|
49087
|
+
|
|
49088
|
+
/**
|
|
49089
|
+
* Finishes the incremental computation, reseting the internal state and
|
|
49090
|
+
* returning the result.
|
|
49091
|
+
*
|
|
49092
|
+
* @param {Boolean} raw True to get the raw string, false to get the hex string
|
|
49093
|
+
*
|
|
49094
|
+
* @return {String} The result
|
|
49095
|
+
*/
|
|
49096
|
+
SparkMD5.ArrayBuffer.prototype.end = function (raw) {
|
|
49097
|
+
var buff = this._buff,
|
|
49098
|
+
length = buff.length,
|
|
49099
|
+
tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
49100
|
+
i,
|
|
49101
|
+
ret;
|
|
49102
|
+
|
|
49103
|
+
for (i = 0; i < length; i += 1) {
|
|
49104
|
+
tail[i >> 2] |= buff[i] << ((i % 4) << 3);
|
|
49105
|
+
}
|
|
49106
|
+
|
|
49107
|
+
this._finish(tail, length);
|
|
49108
|
+
ret = hex(this._hash);
|
|
49109
|
+
|
|
49110
|
+
if (raw) {
|
|
49111
|
+
ret = hexToBinaryString(ret);
|
|
49112
|
+
}
|
|
49113
|
+
|
|
49114
|
+
this.reset();
|
|
49115
|
+
|
|
49116
|
+
return ret;
|
|
49117
|
+
};
|
|
49118
|
+
|
|
49119
|
+
/**
|
|
49120
|
+
* Resets the internal state of the computation.
|
|
49121
|
+
*
|
|
49122
|
+
* @return {SparkMD5.ArrayBuffer} The instance itself
|
|
49123
|
+
*/
|
|
49124
|
+
SparkMD5.ArrayBuffer.prototype.reset = function () {
|
|
49125
|
+
this._buff = new Uint8Array(0);
|
|
49126
|
+
this._length = 0;
|
|
49127
|
+
this._hash = [1732584193, -271733879, -1732584194, 271733878];
|
|
49128
|
+
|
|
49129
|
+
return this;
|
|
49130
|
+
};
|
|
49131
|
+
|
|
49132
|
+
/**
|
|
49133
|
+
* Gets the internal state of the computation.
|
|
49134
|
+
*
|
|
49135
|
+
* @return {Object} The state
|
|
49136
|
+
*/
|
|
49137
|
+
SparkMD5.ArrayBuffer.prototype.getState = function () {
|
|
49138
|
+
var state = SparkMD5.prototype.getState.call(this);
|
|
49139
|
+
|
|
49140
|
+
// Convert buffer to a string
|
|
49141
|
+
state.buff = arrayBuffer2Utf8Str(state.buff);
|
|
49142
|
+
|
|
49143
|
+
return state;
|
|
49144
|
+
};
|
|
49145
|
+
|
|
49146
|
+
/**
|
|
49147
|
+
* Gets the internal state of the computation.
|
|
49148
|
+
*
|
|
49149
|
+
* @param {Object} state The state
|
|
49150
|
+
*
|
|
49151
|
+
* @return {SparkMD5.ArrayBuffer} The instance itself
|
|
49152
|
+
*/
|
|
49153
|
+
SparkMD5.ArrayBuffer.prototype.setState = function (state) {
|
|
49154
|
+
// Convert string to buffer
|
|
49155
|
+
state.buff = utf8Str2ArrayBuffer(state.buff, true);
|
|
49156
|
+
|
|
49157
|
+
return SparkMD5.prototype.setState.call(this, state);
|
|
49158
|
+
};
|
|
49159
|
+
|
|
49160
|
+
SparkMD5.ArrayBuffer.prototype.destroy = SparkMD5.prototype.destroy;
|
|
49161
|
+
|
|
49162
|
+
SparkMD5.ArrayBuffer.prototype._finish = SparkMD5.prototype._finish;
|
|
49163
|
+
|
|
49164
|
+
/**
|
|
49165
|
+
* Performs the md5 hash on an array buffer.
|
|
49166
|
+
*
|
|
49167
|
+
* @param {ArrayBuffer} arr The array buffer
|
|
49168
|
+
* @param {Boolean} [raw] True to get the raw string, false to get the hex one
|
|
49169
|
+
*
|
|
49170
|
+
* @return {String} The result
|
|
49171
|
+
*/
|
|
49172
|
+
SparkMD5.ArrayBuffer.hash = function (arr, raw) {
|
|
49173
|
+
var hash = md51_array(new Uint8Array(arr)),
|
|
49174
|
+
ret = hex(hash);
|
|
49175
|
+
|
|
49176
|
+
return raw ? hexToBinaryString(ret) : ret;
|
|
49177
|
+
};
|
|
49178
|
+
|
|
49179
|
+
return SparkMD5;
|
|
49180
|
+
}));
|
|
49181
|
+
|
|
49182
|
+
|
|
49183
|
+
/***/ }),
|
|
49184
|
+
|
|
49185
|
+
/***/ 5680:
|
|
47978
49186
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
47979
49187
|
|
|
47980
49188
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
47981
49189
|
|
|
47982
49190
|
// load the styles
|
|
47983
|
-
var content = __webpack_require__(
|
|
49191
|
+
var content = __webpack_require__(7872);
|
|
47984
49192
|
if(content.__esModule) content = content.default;
|
|
47985
49193
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
47986
49194
|
if(content.locals) module.exports = content.locals;
|
|
47987
49195
|
// add the styles to the DOM
|
|
47988
49196
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
47989
|
-
var update = add("
|
|
49197
|
+
var update = add("e2a58988", content, true, {"sourceMap":false,"shadowMode":false});
|
|
47990
49198
|
|
|
47991
49199
|
/***/ }),
|
|
47992
49200
|
|
|
@@ -48326,35 +49534,35 @@ var update = add("135792a3", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
48326
49534
|
|
|
48327
49535
|
/***/ }),
|
|
48328
49536
|
|
|
48329
|
-
/***/
|
|
49537
|
+
/***/ 1671:
|
|
48330
49538
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
48331
49539
|
|
|
48332
49540
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
48333
49541
|
|
|
48334
49542
|
// load the styles
|
|
48335
|
-
var content = __webpack_require__(
|
|
49543
|
+
var content = __webpack_require__(4084);
|
|
48336
49544
|
if(content.__esModule) content = content.default;
|
|
48337
49545
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
48338
49546
|
if(content.locals) module.exports = content.locals;
|
|
48339
49547
|
// add the styles to the DOM
|
|
48340
49548
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
48341
|
-
var update = add("
|
|
49549
|
+
var update = add("e8ab6dca", content, true, {"sourceMap":false,"shadowMode":false});
|
|
48342
49550
|
|
|
48343
49551
|
/***/ }),
|
|
48344
49552
|
|
|
48345
|
-
/***/
|
|
49553
|
+
/***/ 5665:
|
|
48346
49554
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
48347
49555
|
|
|
48348
49556
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
48349
49557
|
|
|
48350
49558
|
// load the styles
|
|
48351
|
-
var content = __webpack_require__(
|
|
49559
|
+
var content = __webpack_require__(5304);
|
|
48352
49560
|
if(content.__esModule) content = content.default;
|
|
48353
49561
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
48354
49562
|
if(content.locals) module.exports = content.locals;
|
|
48355
49563
|
// add the styles to the DOM
|
|
48356
49564
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
48357
|
-
var update = add("
|
|
49565
|
+
var update = add("658ed39e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
48358
49566
|
|
|
48359
49567
|
/***/ }),
|
|
48360
49568
|
|
|
@@ -48486,19 +49694,19 @@ var update = add("ac1f4192", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
48486
49694
|
|
|
48487
49695
|
/***/ }),
|
|
48488
49696
|
|
|
48489
|
-
/***/
|
|
49697
|
+
/***/ 7781:
|
|
48490
49698
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
48491
49699
|
|
|
48492
49700
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
48493
49701
|
|
|
48494
49702
|
// load the styles
|
|
48495
|
-
var content = __webpack_require__(
|
|
49703
|
+
var content = __webpack_require__(7986);
|
|
48496
49704
|
if(content.__esModule) content = content.default;
|
|
48497
49705
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
48498
49706
|
if(content.locals) module.exports = content.locals;
|
|
48499
49707
|
// add the styles to the DOM
|
|
48500
49708
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
48501
|
-
var update = add("
|
|
49709
|
+
var update = add("44766374", content, true, {"sourceMap":false,"shadowMode":false});
|
|
48502
49710
|
|
|
48503
49711
|
/***/ }),
|
|
48504
49712
|
|
|
@@ -48598,19 +49806,19 @@ var update = add("698fdfbe", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
48598
49806
|
|
|
48599
49807
|
/***/ }),
|
|
48600
49808
|
|
|
48601
|
-
/***/
|
|
49809
|
+
/***/ 616:
|
|
48602
49810
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
48603
49811
|
|
|
48604
49812
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
48605
49813
|
|
|
48606
49814
|
// load the styles
|
|
48607
|
-
var content = __webpack_require__(
|
|
49815
|
+
var content = __webpack_require__(8271);
|
|
48608
49816
|
if(content.__esModule) content = content.default;
|
|
48609
49817
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
48610
49818
|
if(content.locals) module.exports = content.locals;
|
|
48611
49819
|
// add the styles to the DOM
|
|
48612
49820
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
48613
|
-
var update = add("
|
|
49821
|
+
var update = add("0cac19c8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
48614
49822
|
|
|
48615
49823
|
/***/ }),
|
|
48616
49824
|
|
|
@@ -54642,6 +55850,10 @@ service.interceptors.response.use(function (response) {
|
|
|
54642
55850
|
body: {}
|
|
54643
55851
|
};
|
|
54644
55852
|
} else if (errmsg.indexOf('timeout') !== -1) {
|
|
55853
|
+
// 后台标签页浏览器节流导致超时,静默拒绝避免切换回前台时弹出大量提示
|
|
55854
|
+
if (document.visibilityState === 'hidden') {
|
|
55855
|
+
return Promise.reject(errmsg);
|
|
55856
|
+
}
|
|
54645
55857
|
return {
|
|
54646
55858
|
code: 'failure',
|
|
54647
55859
|
message: '服务接口请求超时,请重试。',
|
|
@@ -70745,49 +71957,49 @@ var asyncComponents = [
|
|
|
70745
71957
|
['RichtextEditor', function () {
|
|
70746
71958
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 9604));
|
|
70747
71959
|
}], ['PdfTools', function () {
|
|
70748
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
71960
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 7726)).then(function (m) {
|
|
70749
71961
|
return m.PdfTools;
|
|
70750
71962
|
});
|
|
70751
71963
|
}], ['PdfViewer', function () {
|
|
70752
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
71964
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 7726)).then(function (m) {
|
|
70753
71965
|
return m.PdfViewer;
|
|
70754
71966
|
});
|
|
70755
71967
|
}],
|
|
70756
71968
|
// ========== ecmapp/Wflowform 工作流表单子组件 → chunk: m-wflow-form ==========
|
|
70757
71969
|
['Attachment', function () {
|
|
70758
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
71970
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 6058)).then(function (m) {
|
|
70759
71971
|
return m.Attachment;
|
|
70760
71972
|
});
|
|
70761
71973
|
}], ['BodyFile', function () {
|
|
70762
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
71974
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 6058)).then(function (m) {
|
|
70763
71975
|
return m.BodyFile;
|
|
70764
71976
|
});
|
|
70765
71977
|
}], ['HandleIdea', function () {
|
|
70766
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
71978
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 6058)).then(function (m) {
|
|
70767
71979
|
return m.HandleIdea;
|
|
70768
71980
|
});
|
|
70769
71981
|
}], ['SelectOuterDeputy', function () {
|
|
70770
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
71982
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 6058)).then(function (m) {
|
|
70771
71983
|
return m.SelectOuterDeputy;
|
|
70772
71984
|
});
|
|
70773
71985
|
}], ['SubmitHandle', function () {
|
|
70774
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
71986
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 6058)).then(function (m) {
|
|
70775
71987
|
return m.SubmitHandle;
|
|
70776
71988
|
});
|
|
70777
71989
|
}], ['SubmitDialog', function () {
|
|
70778
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
71990
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 6058)).then(function (m) {
|
|
70779
71991
|
return m.SubmitDialog;
|
|
70780
71992
|
});
|
|
70781
71993
|
}], ['ShortcutProcessing', function () {
|
|
70782
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
71994
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 6058)).then(function (m) {
|
|
70783
71995
|
return m.ShortcutProcessing;
|
|
70784
71996
|
});
|
|
70785
71997
|
}], ['WfNodelogList', function () {
|
|
70786
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
71998
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 6058)).then(function (m) {
|
|
70787
71999
|
return m.WfNodelogList;
|
|
70788
72000
|
});
|
|
70789
72001
|
}], ['WriteToReadIdea', function () {
|
|
70790
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
72002
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 6058)).then(function (m) {
|
|
70791
72003
|
return m.WriteToReadIdea;
|
|
70792
72004
|
});
|
|
70793
72005
|
}]];
|
|
@@ -70811,7 +72023,7 @@ var mappaio_install = function install(Vue) {
|
|
|
70811
72023
|
});
|
|
70812
72024
|
|
|
70813
72025
|
// 3. 异步加载工作流引擎插件(独立 chunk)
|
|
70814
|
-
Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
72026
|
+
Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 6322)).then(function (m) {
|
|
70815
72027
|
Vue.use(m.default || m);
|
|
70816
72028
|
});
|
|
70817
72029
|
};
|
|
@@ -70837,20 +72049,20 @@ var webSocket = websocket/* default */.A;
|
|
|
70837
72049
|
|
|
70838
72050
|
// ---------- 工作流相关 ----------
|
|
70839
72051
|
var WfengineModule = function WfengineModule() {
|
|
70840
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
72052
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 6322));
|
|
70841
72053
|
};
|
|
70842
72054
|
var WflowformModule = function WflowformModule() {
|
|
70843
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
72055
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 6058));
|
|
70844
72056
|
};
|
|
70845
72057
|
|
|
70846
72058
|
// ---------- 重型功能(PDF/富文本,仅特定页面使用) ----------
|
|
70847
72059
|
var PdfToolsModule = function PdfToolsModule() {
|
|
70848
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
72060
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 7726)).then(function (m) {
|
|
70849
72061
|
return m.PdfTools;
|
|
70850
72062
|
});
|
|
70851
72063
|
};
|
|
70852
72064
|
var PdfViewerModule = function PdfViewerModule() {
|
|
70853
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
72065
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 7726)).then(function (m) {
|
|
70854
72066
|
return m.PdfViewer;
|
|
70855
72067
|
});
|
|
70856
72068
|
};
|