ecinc-cloud-mappaio 9.7.34 → 9.7.36
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 +115 -52
- package/lib/ecmappaio.umd.js +115 -52
- package/lib/ecmappaio.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/ecmappaio.common.js
CHANGED
|
@@ -8756,7 +8756,7 @@ src.install = function (Vue) {
|
|
|
8756
8756
|
|
|
8757
8757
|
/***/ }),
|
|
8758
8758
|
|
|
8759
|
-
/***/
|
|
8759
|
+
/***/ 431:
|
|
8760
8760
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8761
8761
|
|
|
8762
8762
|
"use strict";
|
|
@@ -12715,8 +12715,8 @@ var SelectOuterDeputy_component = (0,componentNormalizer/* default */.A)(
|
|
|
12715
12715
|
)
|
|
12716
12716
|
|
|
12717
12717
|
/* harmony default export */ var SelectOuterDeputy = (SelectOuterDeputy_component.exports);
|
|
12718
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=template&id=
|
|
12719
|
-
var
|
|
12718
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=template&id=20bc806c&scoped=true
|
|
12719
|
+
var SubmitHandlevue_type_template_id_20bc806c_scoped_true_render = function render() {
|
|
12720
12720
|
var _vm = this,
|
|
12721
12721
|
_c = _vm._self._c;
|
|
12722
12722
|
return _vm.initiated ? _c('div', {
|
|
@@ -13501,7 +13501,7 @@ var SubmitHandlevue_type_template_id_44733f4f_scoped_true_render = function rend
|
|
|
13501
13501
|
}
|
|
13502
13502
|
})], 2) : _vm._e();
|
|
13503
13503
|
};
|
|
13504
|
-
var
|
|
13504
|
+
var SubmitHandlevue_type_template_id_20bc806c_scoped_true_staticRenderFns = [];
|
|
13505
13505
|
|
|
13506
13506
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/WfTaskNode.vue?vue&type=template&id=d1ae2f20&scoped=true
|
|
13507
13507
|
var WfTaskNodevue_type_template_id_d1ae2f20_scoped_true_render = function render() {
|
|
@@ -14830,8 +14830,8 @@ var WfTaskNode_component = (0,componentNormalizer/* default */.A)(
|
|
|
14830
14830
|
)
|
|
14831
14831
|
|
|
14832
14832
|
/* harmony default export */ var WfTaskNode = (WfTaskNode_component.exports);
|
|
14833
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/VoiceInputDialog.vue?vue&type=template&id=
|
|
14834
|
-
var
|
|
14833
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/VoiceInputDialog.vue?vue&type=template&id=5924c680&scoped=true
|
|
14834
|
+
var VoiceInputDialogvue_type_template_id_5924c680_scoped_true_render = function render() {
|
|
14835
14835
|
var _vm = this,
|
|
14836
14836
|
_c = _vm._self._c;
|
|
14837
14837
|
return _c('van-popup', {
|
|
@@ -14958,9 +14958,14 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_render = function
|
|
|
14958
14958
|
}
|
|
14959
14959
|
}, [_vm._v(_vm._s(_vm.$tx('ecmapp.wflowform.voiceFillOpinion', '填入意见')))])], 1)]);
|
|
14960
14960
|
};
|
|
14961
|
-
var
|
|
14961
|
+
var VoiceInputDialogvue_type_template_id_5924c680_scoped_true_staticRenderFns = [];
|
|
14962
14962
|
|
|
14963
14963
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/VoiceInputDialog.vue?vue&type=script&lang=js
|
|
14964
|
+
// 静音自动结束:频谱均值(0-255)超过阈值视为有人声;
|
|
14965
|
+
// 前导静音(全程未开口)与尾部静音(说完后沉默)分别计时,审批意见多为短句,尾部可更早收尾
|
|
14966
|
+
var VOICE_AVG_THRESHOLD = 10;
|
|
14967
|
+
var LEADING_SILENCE_MS = 10000;
|
|
14968
|
+
var TRAILING_SILENCE_MS = 5000;
|
|
14964
14969
|
/* harmony default export */ var VoiceInputDialogvue_type_script_lang_js = ({
|
|
14965
14970
|
name: 'VoiceInputDialog',
|
|
14966
14971
|
props: {
|
|
@@ -14988,6 +14993,12 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
14988
14993
|
stream: null,
|
|
14989
14994
|
// 麦克风音频流
|
|
14990
14995
|
audioChunks: [],
|
|
14996
|
+
lastVoiceAt: 0,
|
|
14997
|
+
// 最近一次检测到人声的时间戳,用于静音自动结束
|
|
14998
|
+
hasVoice: false,
|
|
14999
|
+
// 本次录音是否检测到过人声
|
|
15000
|
+
discardRecording: false,
|
|
15001
|
+
// 全程静音自动结束时丢弃录音,不上传识别
|
|
14991
15002
|
audioContext: null,
|
|
14992
15003
|
// 波形绘制音频上下文
|
|
14993
15004
|
analyser: null,
|
|
@@ -15008,6 +15019,8 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15008
15019
|
}
|
|
15009
15020
|
},
|
|
15010
15021
|
// window.voiceToWord为非空字符串且不为browser时,视为后端转写接口URL
|
|
15022
|
+
// 后端语音识别服务部署在eccloud-clientms,网关已将/voice/**路由过去,
|
|
15023
|
+
// 故该参数配置为'/voice/recognize/toText'(请求基地址由$http的baseURL统一拼接)
|
|
15011
15024
|
backendUrl: function backendUrl() {
|
|
15012
15025
|
var voiceToWord = window.voiceToWord;
|
|
15013
15026
|
return voiceToWord && typeof voiceToWord === 'string' && voiceToWord !== 'browser' ? voiceToWord : '';
|
|
@@ -15051,6 +15064,8 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15051
15064
|
this.finalText = '';
|
|
15052
15065
|
this.seconds = 0;
|
|
15053
15066
|
this.audioChunks = [];
|
|
15067
|
+
this.hasVoice = false;
|
|
15068
|
+
this.discardRecording = false;
|
|
15054
15069
|
},
|
|
15055
15070
|
// 打开弹窗即预请求麦克风权限,被拒绝时显示引导文案
|
|
15056
15071
|
preRequestPermission: function preRequestPermission() {
|
|
@@ -15087,12 +15102,23 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15087
15102
|
startRecord: function startRecord() {
|
|
15088
15103
|
this.resultText = '';
|
|
15089
15104
|
this.finalText = '';
|
|
15105
|
+
// 在用户点击手势上下文内创建AudioContext,规避移动端自动播放策略导致的suspended(波形无数据)
|
|
15106
|
+
this.prepareAudioContext();
|
|
15090
15107
|
if (this.backendUrl) {
|
|
15091
15108
|
this.startBackendRecord();
|
|
15092
15109
|
} else {
|
|
15093
15110
|
this.startBrowserRecognition();
|
|
15094
15111
|
}
|
|
15095
15112
|
},
|
|
15113
|
+
prepareAudioContext: function prepareAudioContext() {
|
|
15114
|
+
var AudioContextClass = window.AudioContext || window.webkitAudioContext;
|
|
15115
|
+
if (!AudioContextClass) return;
|
|
15116
|
+
if (this.audioContext && this.audioContext.state !== 'closed') return;
|
|
15117
|
+
this.audioContext = new AudioContextClass();
|
|
15118
|
+
if (this.audioContext.state === 'suspended') {
|
|
15119
|
+
this.audioContext.resume().catch(function () {});
|
|
15120
|
+
}
|
|
15121
|
+
},
|
|
15096
15122
|
stopRecord: function stopRecord() {
|
|
15097
15123
|
this.stopTimer();
|
|
15098
15124
|
if (this.recognition) {
|
|
@@ -15107,6 +15133,7 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15107
15133
|
this.seconds = 0;
|
|
15108
15134
|
this.timer = setInterval(function () {
|
|
15109
15135
|
_this2.seconds++;
|
|
15136
|
+
_this2.checkSilenceTimeout();
|
|
15110
15137
|
}, 1000);
|
|
15111
15138
|
},
|
|
15112
15139
|
stopTimer: function stopTimer() {
|
|
@@ -15115,6 +15142,18 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15115
15142
|
this.timer = null;
|
|
15116
15143
|
}
|
|
15117
15144
|
},
|
|
15145
|
+
// 连续静音超时自动结束录音;全程无人声则丢弃录音并提示,无analyser数据时降级为不启用
|
|
15146
|
+
checkSilenceTimeout: function checkSilenceTimeout() {
|
|
15147
|
+
if (this.status !== 'recording' || !this.analyser) return;
|
|
15148
|
+
var silenceLimit = this.hasVoice ? TRAILING_SILENCE_MS : LEADING_SILENCE_MS;
|
|
15149
|
+
if (Date.now() - this.lastVoiceAt < silenceLimit) return;
|
|
15150
|
+
if (!this.hasVoice) {
|
|
15151
|
+
this.discardRecording = true;
|
|
15152
|
+
this.status = 'error';
|
|
15153
|
+
this.errorText = this.$tx('ecmapp.wflowform.voiceNoSpeech', '未检测到语音,请重试。');
|
|
15154
|
+
}
|
|
15155
|
+
this.stopRecord();
|
|
15156
|
+
},
|
|
15118
15157
|
// 浏览器模式:Web Speech API直转文字,中间结果实时上屏
|
|
15119
15158
|
startBrowserRecognition: function startBrowserRecognition() {
|
|
15120
15159
|
var _this3 = this;
|
|
@@ -15204,15 +15243,25 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15204
15243
|
mediaRecorder.onstart = function () {
|
|
15205
15244
|
_this4.status = 'recording';
|
|
15206
15245
|
_this4.startTimer();
|
|
15207
|
-
|
|
15246
|
+
// canvas由v-show控制,需等DOM更新可见后再取尺寸绘制波形,否则画布为0×0
|
|
15247
|
+
_this4.$nextTick(function () {
|
|
15248
|
+
// 回调执行前录音可能已停止,避免创建无人清理的AudioContext
|
|
15249
|
+
if (_this4.status === 'recording') {
|
|
15250
|
+
_this4.startWaveform(stream);
|
|
15251
|
+
}
|
|
15252
|
+
});
|
|
15208
15253
|
};
|
|
15209
15254
|
mediaRecorder.onstop = function () {
|
|
15210
15255
|
_this4.stopTimer();
|
|
15211
15256
|
_this4.stopWaveform();
|
|
15212
15257
|
_this4.releaseStream();
|
|
15213
15258
|
_this4.mediaRecorder = null;
|
|
15214
|
-
|
|
15215
|
-
|
|
15259
|
+
if (_this4.discardRecording) {
|
|
15260
|
+
// 全程静音自动结束:丢弃录音,提示已在checkSilenceTimeout中给出
|
|
15261
|
+
_this4.discardRecording = false;
|
|
15262
|
+
_this4.audioChunks = [];
|
|
15263
|
+
} else if (_this4.visible && _this4.audioChunks.length > 0) {
|
|
15264
|
+
// 弹窗已关闭(取消录音)则不再上传
|
|
15216
15265
|
_this4.uploadVoice();
|
|
15217
15266
|
}
|
|
15218
15267
|
};
|
|
@@ -15281,21 +15330,25 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15281
15330
|
_this6.startWaveform(stream);
|
|
15282
15331
|
}).catch(function () {});
|
|
15283
15332
|
},
|
|
15284
|
-
// 用AnalyserNode
|
|
15333
|
+
// 用AnalyserNode实时绘制录音波形柱状图,复用startRecord手势内创建的AudioContext
|
|
15285
15334
|
startWaveform: function startWaveform(stream) {
|
|
15286
15335
|
var _this7 = this;
|
|
15287
|
-
var AudioContextClass = window.AudioContext || window.webkitAudioContext;
|
|
15288
15336
|
var canvas = this.$refs.waveCanvas;
|
|
15289
|
-
|
|
15290
|
-
|
|
15337
|
+
var audioContext = this.audioContext;
|
|
15338
|
+
if (!audioContext || audioContext.state === 'closed' || !canvas) return;
|
|
15339
|
+
if (audioContext.state === 'suspended') {
|
|
15340
|
+
audioContext.resume().catch(function () {});
|
|
15341
|
+
}
|
|
15291
15342
|
var analyser = audioContext.createAnalyser();
|
|
15292
15343
|
analyser.fftSize = 128;
|
|
15293
15344
|
audioContext.createMediaStreamSource(stream).connect(analyser);
|
|
15294
|
-
this.audioContext = audioContext;
|
|
15295
15345
|
this.analyser = analyser;
|
|
15346
|
+
this.lastVoiceAt = Date.now();
|
|
15347
|
+
this.hasVoice = false;
|
|
15296
15348
|
var dpr = window.devicePixelRatio || 1;
|
|
15297
|
-
|
|
15298
|
-
canvas.
|
|
15349
|
+
// canvas尚未完成布局时取不到尺寸,按样式表尺寸200×32兜底,避免0×0画布
|
|
15350
|
+
canvas.width = (canvas.clientWidth || 200) * dpr;
|
|
15351
|
+
canvas.height = (canvas.clientHeight || 32) * dpr;
|
|
15299
15352
|
var ctx = canvas.getContext('2d');
|
|
15300
15353
|
var dataArray = new Uint8Array(analyser.frequencyBinCount);
|
|
15301
15354
|
var barCount = 32;
|
|
@@ -15306,12 +15359,21 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15306
15359
|
if (!_this7.analyser) return;
|
|
15307
15360
|
_this7.waveRafId = requestAnimationFrame(draw);
|
|
15308
15361
|
_this7.analyser.getByteFrequencyData(dataArray);
|
|
15362
|
+
// 顺带做人声检测,供静音自动结束判定
|
|
15363
|
+
var sum = 0;
|
|
15364
|
+
for (var i = 0; i < dataArray.length; i++) {
|
|
15365
|
+
sum += dataArray[i];
|
|
15366
|
+
}
|
|
15367
|
+
if (sum / dataArray.length > VOICE_AVG_THRESHOLD) {
|
|
15368
|
+
_this7.lastVoiceAt = Date.now();
|
|
15369
|
+
_this7.hasVoice = true;
|
|
15370
|
+
}
|
|
15309
15371
|
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
|
15310
15372
|
ctx.fillStyle = '#1989fa';
|
|
15311
|
-
for (var
|
|
15312
|
-
var value = dataArray[Math.floor(
|
|
15373
|
+
for (var _i = 0; _i < barCount; _i++) {
|
|
15374
|
+
var value = dataArray[Math.floor(_i * dataArray.length / barCount)] / 255;
|
|
15313
15375
|
var barHeight = Math.max(2 * dpr, value * canvas.height);
|
|
15314
|
-
var x =
|
|
15376
|
+
var x = _i * (barWidth + gap);
|
|
15315
15377
|
ctx.fillRect(x, centerY - barHeight / 2, barWidth, barHeight);
|
|
15316
15378
|
}
|
|
15317
15379
|
};
|
|
@@ -15361,9 +15423,9 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15361
15423
|
});
|
|
15362
15424
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/VoiceInputDialog.vue?vue&type=script&lang=js
|
|
15363
15425
|
/* harmony default export */ var src_VoiceInputDialogvue_type_script_lang_js = (VoiceInputDialogvue_type_script_lang_js);
|
|
15364
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/VoiceInputDialog.vue?vue&type=style&index=0&id=
|
|
15365
|
-
var
|
|
15366
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/VoiceInputDialog.vue?vue&type=style&index=0&id=
|
|
15426
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/VoiceInputDialog.vue?vue&type=style&index=0&id=5924c680&prod&scoped=true&lang=scss
|
|
15427
|
+
var VoiceInputDialogvue_type_style_index_0_id_5924c680_prod_scoped_true_lang_scss = __webpack_require__(2883);
|
|
15428
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/VoiceInputDialog.vue?vue&type=style&index=0&id=5924c680&prod&scoped=true&lang=scss
|
|
15367
15429
|
|
|
15368
15430
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/VoiceInputDialog.vue
|
|
15369
15431
|
|
|
@@ -15376,11 +15438,11 @@ var VoiceInputDialogvue_type_style_index_0_id_28732777_prod_scoped_true_lang_scs
|
|
|
15376
15438
|
|
|
15377
15439
|
var VoiceInputDialog_component = (0,componentNormalizer/* default */.A)(
|
|
15378
15440
|
src_VoiceInputDialogvue_type_script_lang_js,
|
|
15379
|
-
|
|
15380
|
-
|
|
15441
|
+
VoiceInputDialogvue_type_template_id_5924c680_scoped_true_render,
|
|
15442
|
+
VoiceInputDialogvue_type_template_id_5924c680_scoped_true_staticRenderFns,
|
|
15381
15443
|
false,
|
|
15382
15444
|
null,
|
|
15383
|
-
"
|
|
15445
|
+
"5924c680",
|
|
15384
15446
|
null
|
|
15385
15447
|
|
|
15386
15448
|
)
|
|
@@ -15604,6 +15666,7 @@ var moment = __webpack_require__(5093);
|
|
|
15604
15666
|
},
|
|
15605
15667
|
methods: {
|
|
15606
15668
|
// 检测语音输入按钮可用性:未配置window.voiceToWord时需https/localhost安全上下文且浏览器支持Web Speech API,否则不显示按钮
|
|
15669
|
+
// 后端转写时window.voiceToWord配置为'/voice/recognize/toText',由网关路由到eccloud-clientms
|
|
15607
15670
|
initVoiceInputEnabled: function initVoiceInputEnabled() {
|
|
15608
15671
|
var voiceToWord = window.voiceToWord;
|
|
15609
15672
|
if (voiceToWord && typeof voiceToWord === 'string' && voiceToWord !== 'browser') {
|
|
@@ -16407,9 +16470,9 @@ var moment = __webpack_require__(5093);
|
|
|
16407
16470
|
});
|
|
16408
16471
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=script&lang=js
|
|
16409
16472
|
/* harmony default export */ var src_SubmitHandlevue_type_script_lang_js = (SubmitHandlevue_type_script_lang_js);
|
|
16410
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=
|
|
16411
|
-
var
|
|
16412
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=
|
|
16473
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=20bc806c&prod&scoped=true&lang=scss
|
|
16474
|
+
var SubmitHandlevue_type_style_index_0_id_20bc806c_prod_scoped_true_lang_scss = __webpack_require__(1300);
|
|
16475
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=20bc806c&prod&scoped=true&lang=scss
|
|
16413
16476
|
|
|
16414
16477
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue
|
|
16415
16478
|
|
|
@@ -16422,11 +16485,11 @@ var SubmitHandlevue_type_style_index_0_id_44733f4f_prod_scoped_true_lang_scss =
|
|
|
16422
16485
|
|
|
16423
16486
|
var SubmitHandle_component = (0,componentNormalizer/* default */.A)(
|
|
16424
16487
|
src_SubmitHandlevue_type_script_lang_js,
|
|
16425
|
-
|
|
16426
|
-
|
|
16488
|
+
SubmitHandlevue_type_template_id_20bc806c_scoped_true_render,
|
|
16489
|
+
SubmitHandlevue_type_template_id_20bc806c_scoped_true_staticRenderFns,
|
|
16427
16490
|
false,
|
|
16428
16491
|
null,
|
|
16429
|
-
"
|
|
16492
|
+
"20bc806c",
|
|
16430
16493
|
null
|
|
16431
16494
|
|
|
16432
16495
|
)
|
|
@@ -22866,7 +22929,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".submit-dialog-container[data-v-9c230b
|
|
|
22866
22929
|
|
|
22867
22930
|
/***/ }),
|
|
22868
22931
|
|
|
22869
|
-
/***/
|
|
22932
|
+
/***/ 106:
|
|
22870
22933
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
22871
22934
|
|
|
22872
22935
|
"use strict";
|
|
@@ -22885,14 +22948,14 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
|
|
|
22885
22948
|
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()));
|
|
22886
22949
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
22887
22950
|
// Module
|
|
22888
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-container .van-cell__value[data-v-
|
|
22951
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-container .van-cell__value[data-v-20bc806c]{text-align:right}.submit-handle-container .idea-button-container .van-cell__value .van-button[data-v-20bc806c]{margin-right:0;margin-left:5px}.submit-handle-container .curIdea-filed[data-v-20bc806c] .van-cell__title,.submit-handle-container .curIdea-filed[data-v-20bc806c]:after{display:none}.submit-handle-container .idea-input-wrap[data-v-20bc806c]{position:relative}.submit-handle-container .idea-input-wrap[data-v-20bc806c] .curIdea-filed textarea{padding-right:30px}.submit-handle-container .idea-input-wrap .voice-input-btn[data-v-20bc806c]{position:absolute;right:12px;bottom:8px;z-index:2;width:28px;height:28px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;background-color:#f2f3f5;color:#646566}.submit-handle-container .idea-input-wrap .voice-input-btn .voice-input-icon[data-v-20bc806c]{width:16px;height:16px}.submit-handle-container .idea-input-wrap .voice-input-btn[data-v-20bc806c]:active{background-color:#ebedf0;color:#1989fa}.submit-handle-container .clearfix[data-v-20bc806c]:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.submit-handle-container[data-v-20bc806c] .van-radio-group .van-cell__title{font-weight:400!important}.submit-handle-container .van-wflow-operate-detail-cell[data-v-20bc806c]:after{border-top-width:0}.submit-handle-container .van-wflow-operate-detail-cell-path[data-v-20bc806c]:after{border-width:1px;-webkit-transform:scale(.5);transform:scale(.5)}.submit-handle-container[data-v-20bc806c] .tnLimit-container .van-field{width:50px;display:inline-block;padding:0}.submit-handle-container[data-v-20bc806c] .tnLimit-container .van-field .van-field__body input{text-align:center}.submit-handle-container[data-v-20bc806c] .tnLimit-container .van-field__body:after{color:#323233;content:attr(value-suffix);word-break:keep-all}.submit-handle-container .delete-icon[data-v-20bc806c]{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.submit-handle-container .delete-icon .van-icon[data-v-20bc806c]{line-height:24px;margin-left:5px;font-size:16px}.selectBox_title[data-v-20bc806c]{height:45px;line-height:45px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px}.selectBox_content[data-v-20bc806c],.selectBox_title[data-v-20bc806c]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 15px}.selectBox_content[data-v-20bc806c]{-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-20bc806c]{border:1px solid #f1f1f1}.selectBox_content .selectBox_content_son[data-v-20bc806c],.selectBox_content .selectBox_content_son_change[data-v-20bc806c]{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-20bc806c]{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-20bc806c]{white-space:nowrap;overflow:hidden;overflow-x:scroll;-webkit-overflow-scrolling:touch}.selectBox_content_sonall[data-v-20bc806c]:nth-child(4n){margin-right:0}.selectBox_content_sonall[data-v-20bc806c]::-webkit-scrollbar{display:none}.viewAllComments[data-v-20bc806c]{height:45px;line-height:45px;text-align:center;color:#b7b7b7;font-size:12px;background:#fff;display:block;width:100%}", ""]);
|
|
22889
22952
|
// Exports
|
|
22890
22953
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
22891
22954
|
|
|
22892
22955
|
|
|
22893
22956
|
/***/ }),
|
|
22894
22957
|
|
|
22895
|
-
/***/
|
|
22958
|
+
/***/ 2053:
|
|
22896
22959
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
22897
22960
|
|
|
22898
22961
|
"use strict";
|
|
@@ -22906,7 +22969,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
22906
22969
|
|
|
22907
22970
|
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()));
|
|
22908
22971
|
// Module
|
|
22909
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".voice-input-popup[data-v-
|
|
22972
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".voice-input-popup[data-v-5924c680]{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.voice-input-popup .voice-popup-header[data-v-5924c680]{position:relative;height:48px;line-height:48px;text-align:center}.voice-input-popup .voice-popup-header .voice-popup-title[data-v-5924c680]{font-size:16px;font-weight:600;color:#323233}.voice-input-popup .voice-popup-header .voice-popup-close[data-v-5924c680]{position:absolute;right:16px;top:16px;font-size:16px;color:#c8c9cc}.voice-input-popup .voice-popup-body[data-v-5924c680]{padding:8px 16px 0;text-align:center}.voice-input-popup .voice-popup-body .voice-mic-btn[data-v-5924c680]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:64px;height:64px;border-radius:50%;background-color:#1989fa;color:#fff}.voice-input-popup .voice-popup-body .voice-mic-btn .voice-mic-icon[data-v-5924c680]{width:28px;height:28px}.voice-input-popup .voice-popup-body .voice-mic-btn.recording[data-v-5924c680]{background-color:#ee0a24;-webkit-animation:voice-breathe-5924c680 1.5s ease-out infinite;animation:voice-breathe-5924c680 1.5s ease-out infinite}.voice-input-popup .voice-popup-body .voice-mic-btn[data-v-5924c680] .van-loading{padding-top:0}.voice-input-popup .voice-popup-body .voice-status-text[data-v-5924c680]{margin-top:12px;font-size:13px;color:#646566}.voice-input-popup .voice-popup-body .voice-status-text.is-error[data-v-5924c680]{color:#ee0a24}.voice-input-popup .voice-popup-body .voice-wave-canvas[data-v-5924c680]{display:block;width:200px;height:32px;margin:8px auto 0}.voice-input-popup .voice-popup-body .voice-timer[data-v-5924c680]{margin-top:4px;font-size:13px;color:#969799}.voice-input-popup .voice-popup-body .voice-result-field[data-v-5924c680]{margin-top:12px;background-color:#f7f8fa;border-radius:8px}.voice-input-popup .voice-popup-footer[data-v-5924c680]{padding:12px 16px;text-align:right}.voice-input-popup .voice-popup-footer .van-button[data-v-5924c680]{margin-left:8px;min-width:80px}@-webkit-keyframes voice-breathe-5924c680{0%{-webkit-box-shadow:0 0 0 0 rgba(238,10,36,.5);box-shadow:0 0 0 0 rgba(238,10,36,.5)}to{-webkit-box-shadow:0 0 0 16px rgba(238,10,36,0);box-shadow:0 0 0 16px rgba(238,10,36,0)}}@keyframes voice-breathe-5924c680{0%{-webkit-box-shadow:0 0 0 0 rgba(238,10,36,.5);box-shadow:0 0 0 0 rgba(238,10,36,.5)}to{-webkit-box-shadow:0 0 0 16px rgba(238,10,36,0);box-shadow:0 0 0 16px rgba(238,10,36,0)}}", ""]);
|
|
22910
22973
|
// Exports
|
|
22911
22974
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
22912
22975
|
|
|
@@ -50538,35 +50601,35 @@ var update = add("780551c7", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
50538
50601
|
|
|
50539
50602
|
/***/ }),
|
|
50540
50603
|
|
|
50541
|
-
/***/
|
|
50604
|
+
/***/ 1300:
|
|
50542
50605
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
50543
50606
|
|
|
50544
50607
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
50545
50608
|
|
|
50546
50609
|
// load the styles
|
|
50547
|
-
var content = __webpack_require__(
|
|
50610
|
+
var content = __webpack_require__(106);
|
|
50548
50611
|
if(content.__esModule) content = content.default;
|
|
50549
50612
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
50550
50613
|
if(content.locals) module.exports = content.locals;
|
|
50551
50614
|
// add the styles to the DOM
|
|
50552
50615
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
50553
|
-
var update = add("
|
|
50616
|
+
var update = add("57dd6872", content, true, {"sourceMap":false,"shadowMode":false});
|
|
50554
50617
|
|
|
50555
50618
|
/***/ }),
|
|
50556
50619
|
|
|
50557
|
-
/***/
|
|
50620
|
+
/***/ 2883:
|
|
50558
50621
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
50559
50622
|
|
|
50560
50623
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
50561
50624
|
|
|
50562
50625
|
// load the styles
|
|
50563
|
-
var content = __webpack_require__(
|
|
50626
|
+
var content = __webpack_require__(2053);
|
|
50564
50627
|
if(content.__esModule) content = content.default;
|
|
50565
50628
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
50566
50629
|
if(content.locals) module.exports = content.locals;
|
|
50567
50630
|
// add the styles to the DOM
|
|
50568
50631
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
50569
|
-
var update = add("
|
|
50632
|
+
var update = add("470e1098", content, true, {"sourceMap":false,"shadowMode":false});
|
|
50570
50633
|
|
|
50571
50634
|
/***/ }),
|
|
50572
50635
|
|
|
@@ -72945,39 +73008,39 @@ var asyncComponents = [
|
|
|
72945
73008
|
}],
|
|
72946
73009
|
// ========== ecmapp/Wflowform 工作流表单子组件 → chunk: m-wflow-form ==========
|
|
72947
73010
|
['Attachment', function () {
|
|
72948
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73011
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 431)).then(function (m) {
|
|
72949
73012
|
return m.Attachment;
|
|
72950
73013
|
});
|
|
72951
73014
|
}], ['BodyFile', function () {
|
|
72952
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73015
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 431)).then(function (m) {
|
|
72953
73016
|
return m.BodyFile;
|
|
72954
73017
|
});
|
|
72955
73018
|
}], ['HandleIdea', function () {
|
|
72956
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73019
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 431)).then(function (m) {
|
|
72957
73020
|
return m.HandleIdea;
|
|
72958
73021
|
});
|
|
72959
73022
|
}], ['SelectOuterDeputy', function () {
|
|
72960
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73023
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 431)).then(function (m) {
|
|
72961
73024
|
return m.SelectOuterDeputy;
|
|
72962
73025
|
});
|
|
72963
73026
|
}], ['SubmitHandle', function () {
|
|
72964
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73027
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 431)).then(function (m) {
|
|
72965
73028
|
return m.SubmitHandle;
|
|
72966
73029
|
});
|
|
72967
73030
|
}], ['SubmitDialog', function () {
|
|
72968
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73031
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 431)).then(function (m) {
|
|
72969
73032
|
return m.SubmitDialog;
|
|
72970
73033
|
});
|
|
72971
73034
|
}], ['ShortcutProcessing', function () {
|
|
72972
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73035
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 431)).then(function (m) {
|
|
72973
73036
|
return m.ShortcutProcessing;
|
|
72974
73037
|
});
|
|
72975
73038
|
}], ['WfNodelogList', function () {
|
|
72976
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73039
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 431)).then(function (m) {
|
|
72977
73040
|
return m.WfNodelogList;
|
|
72978
73041
|
});
|
|
72979
73042
|
}], ['WriteToReadIdea', function () {
|
|
72980
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73043
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 431)).then(function (m) {
|
|
72981
73044
|
return m.WriteToReadIdea;
|
|
72982
73045
|
});
|
|
72983
73046
|
}]];
|
|
@@ -73030,7 +73093,7 @@ var WfengineModule = function WfengineModule() {
|
|
|
73030
73093
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 8838));
|
|
73031
73094
|
};
|
|
73032
73095
|
var WflowformModule = function WflowformModule() {
|
|
73033
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73096
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 431));
|
|
73034
73097
|
};
|
|
73035
73098
|
|
|
73036
73099
|
// ---------- 重型功能(PDF/富文本,仅特定页面使用) ----------
|