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.umd.js
CHANGED
|
@@ -8766,7 +8766,7 @@ src.install = function (Vue) {
|
|
|
8766
8766
|
|
|
8767
8767
|
/***/ }),
|
|
8768
8768
|
|
|
8769
|
-
/***/
|
|
8769
|
+
/***/ 3414:
|
|
8770
8770
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8771
8771
|
|
|
8772
8772
|
"use strict";
|
|
@@ -12725,8 +12725,8 @@ var SelectOuterDeputy_component = (0,componentNormalizer/* default */.A)(
|
|
|
12725
12725
|
)
|
|
12726
12726
|
|
|
12727
12727
|
/* harmony default export */ var SelectOuterDeputy = (SelectOuterDeputy_component.exports);
|
|
12728
|
-
;// 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=
|
|
12729
|
-
var
|
|
12728
|
+
;// 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=20bc806c&scoped=true
|
|
12729
|
+
var SubmitHandlevue_type_template_id_20bc806c_scoped_true_render = function render() {
|
|
12730
12730
|
var _vm = this,
|
|
12731
12731
|
_c = _vm._self._c;
|
|
12732
12732
|
return _vm.initiated ? _c('div', {
|
|
@@ -13511,7 +13511,7 @@ var SubmitHandlevue_type_template_id_44733f4f_scoped_true_render = function rend
|
|
|
13511
13511
|
}
|
|
13512
13512
|
})], 2) : _vm._e();
|
|
13513
13513
|
};
|
|
13514
|
-
var
|
|
13514
|
+
var SubmitHandlevue_type_template_id_20bc806c_scoped_true_staticRenderFns = [];
|
|
13515
13515
|
|
|
13516
13516
|
;// 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=d1ae2f20&scoped=true
|
|
13517
13517
|
var WfTaskNodevue_type_template_id_d1ae2f20_scoped_true_render = function render() {
|
|
@@ -14840,8 +14840,8 @@ var WfTaskNode_component = (0,componentNormalizer/* default */.A)(
|
|
|
14840
14840
|
)
|
|
14841
14841
|
|
|
14842
14842
|
/* harmony default export */ var WfTaskNode = (WfTaskNode_component.exports);
|
|
14843
|
-
;// 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/VoiceInputDialog.vue?vue&type=template&id=
|
|
14844
|
-
var
|
|
14843
|
+
;// 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/VoiceInputDialog.vue?vue&type=template&id=5924c680&scoped=true
|
|
14844
|
+
var VoiceInputDialogvue_type_template_id_5924c680_scoped_true_render = function render() {
|
|
14845
14845
|
var _vm = this,
|
|
14846
14846
|
_c = _vm._self._c;
|
|
14847
14847
|
return _c('van-popup', {
|
|
@@ -14968,9 +14968,14 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_render = function
|
|
|
14968
14968
|
}
|
|
14969
14969
|
}, [_vm._v(_vm._s(_vm.$tx('ecmapp.wflowform.voiceFillOpinion', '填入意见')))])], 1)]);
|
|
14970
14970
|
};
|
|
14971
|
-
var
|
|
14971
|
+
var VoiceInputDialogvue_type_template_id_5924c680_scoped_true_staticRenderFns = [];
|
|
14972
14972
|
|
|
14973
14973
|
;// 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/Wflowform/src/VoiceInputDialog.vue?vue&type=script&lang=js
|
|
14974
|
+
// 静音自动结束:频谱均值(0-255)超过阈值视为有人声;
|
|
14975
|
+
// 前导静音(全程未开口)与尾部静音(说完后沉默)分别计时,审批意见多为短句,尾部可更早收尾
|
|
14976
|
+
var VOICE_AVG_THRESHOLD = 10;
|
|
14977
|
+
var LEADING_SILENCE_MS = 10000;
|
|
14978
|
+
var TRAILING_SILENCE_MS = 5000;
|
|
14974
14979
|
/* harmony default export */ var VoiceInputDialogvue_type_script_lang_js = ({
|
|
14975
14980
|
name: 'VoiceInputDialog',
|
|
14976
14981
|
props: {
|
|
@@ -14998,6 +15003,12 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
14998
15003
|
stream: null,
|
|
14999
15004
|
// 麦克风音频流
|
|
15000
15005
|
audioChunks: [],
|
|
15006
|
+
lastVoiceAt: 0,
|
|
15007
|
+
// 最近一次检测到人声的时间戳,用于静音自动结束
|
|
15008
|
+
hasVoice: false,
|
|
15009
|
+
// 本次录音是否检测到过人声
|
|
15010
|
+
discardRecording: false,
|
|
15011
|
+
// 全程静音自动结束时丢弃录音,不上传识别
|
|
15001
15012
|
audioContext: null,
|
|
15002
15013
|
// 波形绘制音频上下文
|
|
15003
15014
|
analyser: null,
|
|
@@ -15018,6 +15029,8 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15018
15029
|
}
|
|
15019
15030
|
},
|
|
15020
15031
|
// window.voiceToWord为非空字符串且不为browser时,视为后端转写接口URL
|
|
15032
|
+
// 后端语音识别服务部署在eccloud-clientms,网关已将/voice/**路由过去,
|
|
15033
|
+
// 故该参数配置为'/voice/recognize/toText'(请求基地址由$http的baseURL统一拼接)
|
|
15021
15034
|
backendUrl: function backendUrl() {
|
|
15022
15035
|
var voiceToWord = window.voiceToWord;
|
|
15023
15036
|
return voiceToWord && typeof voiceToWord === 'string' && voiceToWord !== 'browser' ? voiceToWord : '';
|
|
@@ -15061,6 +15074,8 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15061
15074
|
this.finalText = '';
|
|
15062
15075
|
this.seconds = 0;
|
|
15063
15076
|
this.audioChunks = [];
|
|
15077
|
+
this.hasVoice = false;
|
|
15078
|
+
this.discardRecording = false;
|
|
15064
15079
|
},
|
|
15065
15080
|
// 打开弹窗即预请求麦克风权限,被拒绝时显示引导文案
|
|
15066
15081
|
preRequestPermission: function preRequestPermission() {
|
|
@@ -15097,12 +15112,23 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15097
15112
|
startRecord: function startRecord() {
|
|
15098
15113
|
this.resultText = '';
|
|
15099
15114
|
this.finalText = '';
|
|
15115
|
+
// 在用户点击手势上下文内创建AudioContext,规避移动端自动播放策略导致的suspended(波形无数据)
|
|
15116
|
+
this.prepareAudioContext();
|
|
15100
15117
|
if (this.backendUrl) {
|
|
15101
15118
|
this.startBackendRecord();
|
|
15102
15119
|
} else {
|
|
15103
15120
|
this.startBrowserRecognition();
|
|
15104
15121
|
}
|
|
15105
15122
|
},
|
|
15123
|
+
prepareAudioContext: function prepareAudioContext() {
|
|
15124
|
+
var AudioContextClass = window.AudioContext || window.webkitAudioContext;
|
|
15125
|
+
if (!AudioContextClass) return;
|
|
15126
|
+
if (this.audioContext && this.audioContext.state !== 'closed') return;
|
|
15127
|
+
this.audioContext = new AudioContextClass();
|
|
15128
|
+
if (this.audioContext.state === 'suspended') {
|
|
15129
|
+
this.audioContext.resume().catch(function () {});
|
|
15130
|
+
}
|
|
15131
|
+
},
|
|
15106
15132
|
stopRecord: function stopRecord() {
|
|
15107
15133
|
this.stopTimer();
|
|
15108
15134
|
if (this.recognition) {
|
|
@@ -15117,6 +15143,7 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15117
15143
|
this.seconds = 0;
|
|
15118
15144
|
this.timer = setInterval(function () {
|
|
15119
15145
|
_this2.seconds++;
|
|
15146
|
+
_this2.checkSilenceTimeout();
|
|
15120
15147
|
}, 1000);
|
|
15121
15148
|
},
|
|
15122
15149
|
stopTimer: function stopTimer() {
|
|
@@ -15125,6 +15152,18 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15125
15152
|
this.timer = null;
|
|
15126
15153
|
}
|
|
15127
15154
|
},
|
|
15155
|
+
// 连续静音超时自动结束录音;全程无人声则丢弃录音并提示,无analyser数据时降级为不启用
|
|
15156
|
+
checkSilenceTimeout: function checkSilenceTimeout() {
|
|
15157
|
+
if (this.status !== 'recording' || !this.analyser) return;
|
|
15158
|
+
var silenceLimit = this.hasVoice ? TRAILING_SILENCE_MS : LEADING_SILENCE_MS;
|
|
15159
|
+
if (Date.now() - this.lastVoiceAt < silenceLimit) return;
|
|
15160
|
+
if (!this.hasVoice) {
|
|
15161
|
+
this.discardRecording = true;
|
|
15162
|
+
this.status = 'error';
|
|
15163
|
+
this.errorText = this.$tx('ecmapp.wflowform.voiceNoSpeech', '未检测到语音,请重试。');
|
|
15164
|
+
}
|
|
15165
|
+
this.stopRecord();
|
|
15166
|
+
},
|
|
15128
15167
|
// 浏览器模式:Web Speech API直转文字,中间结果实时上屏
|
|
15129
15168
|
startBrowserRecognition: function startBrowserRecognition() {
|
|
15130
15169
|
var _this3 = this;
|
|
@@ -15214,15 +15253,25 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15214
15253
|
mediaRecorder.onstart = function () {
|
|
15215
15254
|
_this4.status = 'recording';
|
|
15216
15255
|
_this4.startTimer();
|
|
15217
|
-
|
|
15256
|
+
// canvas由v-show控制,需等DOM更新可见后再取尺寸绘制波形,否则画布为0×0
|
|
15257
|
+
_this4.$nextTick(function () {
|
|
15258
|
+
// 回调执行前录音可能已停止,避免创建无人清理的AudioContext
|
|
15259
|
+
if (_this4.status === 'recording') {
|
|
15260
|
+
_this4.startWaveform(stream);
|
|
15261
|
+
}
|
|
15262
|
+
});
|
|
15218
15263
|
};
|
|
15219
15264
|
mediaRecorder.onstop = function () {
|
|
15220
15265
|
_this4.stopTimer();
|
|
15221
15266
|
_this4.stopWaveform();
|
|
15222
15267
|
_this4.releaseStream();
|
|
15223
15268
|
_this4.mediaRecorder = null;
|
|
15224
|
-
|
|
15225
|
-
|
|
15269
|
+
if (_this4.discardRecording) {
|
|
15270
|
+
// 全程静音自动结束:丢弃录音,提示已在checkSilenceTimeout中给出
|
|
15271
|
+
_this4.discardRecording = false;
|
|
15272
|
+
_this4.audioChunks = [];
|
|
15273
|
+
} else if (_this4.visible && _this4.audioChunks.length > 0) {
|
|
15274
|
+
// 弹窗已关闭(取消录音)则不再上传
|
|
15226
15275
|
_this4.uploadVoice();
|
|
15227
15276
|
}
|
|
15228
15277
|
};
|
|
@@ -15291,21 +15340,25 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15291
15340
|
_this6.startWaveform(stream);
|
|
15292
15341
|
}).catch(function () {});
|
|
15293
15342
|
},
|
|
15294
|
-
// 用AnalyserNode
|
|
15343
|
+
// 用AnalyserNode实时绘制录音波形柱状图,复用startRecord手势内创建的AudioContext
|
|
15295
15344
|
startWaveform: function startWaveform(stream) {
|
|
15296
15345
|
var _this7 = this;
|
|
15297
|
-
var AudioContextClass = window.AudioContext || window.webkitAudioContext;
|
|
15298
15346
|
var canvas = this.$refs.waveCanvas;
|
|
15299
|
-
|
|
15300
|
-
|
|
15347
|
+
var audioContext = this.audioContext;
|
|
15348
|
+
if (!audioContext || audioContext.state === 'closed' || !canvas) return;
|
|
15349
|
+
if (audioContext.state === 'suspended') {
|
|
15350
|
+
audioContext.resume().catch(function () {});
|
|
15351
|
+
}
|
|
15301
15352
|
var analyser = audioContext.createAnalyser();
|
|
15302
15353
|
analyser.fftSize = 128;
|
|
15303
15354
|
audioContext.createMediaStreamSource(stream).connect(analyser);
|
|
15304
|
-
this.audioContext = audioContext;
|
|
15305
15355
|
this.analyser = analyser;
|
|
15356
|
+
this.lastVoiceAt = Date.now();
|
|
15357
|
+
this.hasVoice = false;
|
|
15306
15358
|
var dpr = window.devicePixelRatio || 1;
|
|
15307
|
-
|
|
15308
|
-
canvas.
|
|
15359
|
+
// canvas尚未完成布局时取不到尺寸,按样式表尺寸200×32兜底,避免0×0画布
|
|
15360
|
+
canvas.width = (canvas.clientWidth || 200) * dpr;
|
|
15361
|
+
canvas.height = (canvas.clientHeight || 32) * dpr;
|
|
15309
15362
|
var ctx = canvas.getContext('2d');
|
|
15310
15363
|
var dataArray = new Uint8Array(analyser.frequencyBinCount);
|
|
15311
15364
|
var barCount = 32;
|
|
@@ -15316,12 +15369,21 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15316
15369
|
if (!_this7.analyser) return;
|
|
15317
15370
|
_this7.waveRafId = requestAnimationFrame(draw);
|
|
15318
15371
|
_this7.analyser.getByteFrequencyData(dataArray);
|
|
15372
|
+
// 顺带做人声检测,供静音自动结束判定
|
|
15373
|
+
var sum = 0;
|
|
15374
|
+
for (var i = 0; i < dataArray.length; i++) {
|
|
15375
|
+
sum += dataArray[i];
|
|
15376
|
+
}
|
|
15377
|
+
if (sum / dataArray.length > VOICE_AVG_THRESHOLD) {
|
|
15378
|
+
_this7.lastVoiceAt = Date.now();
|
|
15379
|
+
_this7.hasVoice = true;
|
|
15380
|
+
}
|
|
15319
15381
|
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
|
15320
15382
|
ctx.fillStyle = '#1989fa';
|
|
15321
|
-
for (var
|
|
15322
|
-
var value = dataArray[Math.floor(
|
|
15383
|
+
for (var _i = 0; _i < barCount; _i++) {
|
|
15384
|
+
var value = dataArray[Math.floor(_i * dataArray.length / barCount)] / 255;
|
|
15323
15385
|
var barHeight = Math.max(2 * dpr, value * canvas.height);
|
|
15324
|
-
var x =
|
|
15386
|
+
var x = _i * (barWidth + gap);
|
|
15325
15387
|
ctx.fillRect(x, centerY - barHeight / 2, barWidth, barHeight);
|
|
15326
15388
|
}
|
|
15327
15389
|
};
|
|
@@ -15371,9 +15433,9 @@ var VoiceInputDialogvue_type_template_id_28732777_scoped_true_staticRenderFns =
|
|
|
15371
15433
|
});
|
|
15372
15434
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/VoiceInputDialog.vue?vue&type=script&lang=js
|
|
15373
15435
|
/* harmony default export */ var src_VoiceInputDialogvue_type_script_lang_js = (VoiceInputDialogvue_type_script_lang_js);
|
|
15374
|
-
// 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/VoiceInputDialog.vue?vue&type=style&index=0&id=
|
|
15375
|
-
var
|
|
15376
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/VoiceInputDialog.vue?vue&type=style&index=0&id=
|
|
15436
|
+
// 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/VoiceInputDialog.vue?vue&type=style&index=0&id=5924c680&prod&scoped=true&lang=scss
|
|
15437
|
+
var VoiceInputDialogvue_type_style_index_0_id_5924c680_prod_scoped_true_lang_scss = __webpack_require__(8532);
|
|
15438
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/VoiceInputDialog.vue?vue&type=style&index=0&id=5924c680&prod&scoped=true&lang=scss
|
|
15377
15439
|
|
|
15378
15440
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/VoiceInputDialog.vue
|
|
15379
15441
|
|
|
@@ -15386,11 +15448,11 @@ var VoiceInputDialogvue_type_style_index_0_id_28732777_prod_scoped_true_lang_scs
|
|
|
15386
15448
|
|
|
15387
15449
|
var VoiceInputDialog_component = (0,componentNormalizer/* default */.A)(
|
|
15388
15450
|
src_VoiceInputDialogvue_type_script_lang_js,
|
|
15389
|
-
|
|
15390
|
-
|
|
15451
|
+
VoiceInputDialogvue_type_template_id_5924c680_scoped_true_render,
|
|
15452
|
+
VoiceInputDialogvue_type_template_id_5924c680_scoped_true_staticRenderFns,
|
|
15391
15453
|
false,
|
|
15392
15454
|
null,
|
|
15393
|
-
"
|
|
15455
|
+
"5924c680",
|
|
15394
15456
|
null
|
|
15395
15457
|
|
|
15396
15458
|
)
|
|
@@ -15614,6 +15676,7 @@ var moment = __webpack_require__(5093);
|
|
|
15614
15676
|
},
|
|
15615
15677
|
methods: {
|
|
15616
15678
|
// 检测语音输入按钮可用性:未配置window.voiceToWord时需https/localhost安全上下文且浏览器支持Web Speech API,否则不显示按钮
|
|
15679
|
+
// 后端转写时window.voiceToWord配置为'/voice/recognize/toText',由网关路由到eccloud-clientms
|
|
15617
15680
|
initVoiceInputEnabled: function initVoiceInputEnabled() {
|
|
15618
15681
|
var voiceToWord = window.voiceToWord;
|
|
15619
15682
|
if (voiceToWord && typeof voiceToWord === 'string' && voiceToWord !== 'browser') {
|
|
@@ -16417,9 +16480,9 @@ var moment = __webpack_require__(5093);
|
|
|
16417
16480
|
});
|
|
16418
16481
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=script&lang=js
|
|
16419
16482
|
/* harmony default export */ var src_SubmitHandlevue_type_script_lang_js = (SubmitHandlevue_type_script_lang_js);
|
|
16420
|
-
// 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=
|
|
16421
|
-
var
|
|
16422
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=
|
|
16483
|
+
// 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=20bc806c&prod&scoped=true&lang=scss
|
|
16484
|
+
var SubmitHandlevue_type_style_index_0_id_20bc806c_prod_scoped_true_lang_scss = __webpack_require__(7815);
|
|
16485
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=20bc806c&prod&scoped=true&lang=scss
|
|
16423
16486
|
|
|
16424
16487
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue
|
|
16425
16488
|
|
|
@@ -16432,11 +16495,11 @@ var SubmitHandlevue_type_style_index_0_id_44733f4f_prod_scoped_true_lang_scss =
|
|
|
16432
16495
|
|
|
16433
16496
|
var SubmitHandle_component = (0,componentNormalizer/* default */.A)(
|
|
16434
16497
|
src_SubmitHandlevue_type_script_lang_js,
|
|
16435
|
-
|
|
16436
|
-
|
|
16498
|
+
SubmitHandlevue_type_template_id_20bc806c_scoped_true_render,
|
|
16499
|
+
SubmitHandlevue_type_template_id_20bc806c_scoped_true_staticRenderFns,
|
|
16437
16500
|
false,
|
|
16438
16501
|
null,
|
|
16439
|
-
"
|
|
16502
|
+
"20bc806c",
|
|
16440
16503
|
null
|
|
16441
16504
|
|
|
16442
16505
|
)
|
|
@@ -22876,7 +22939,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".submit-dialog-container[data-v-9c230b
|
|
|
22876
22939
|
|
|
22877
22940
|
/***/ }),
|
|
22878
22941
|
|
|
22879
|
-
/***/
|
|
22942
|
+
/***/ 4704:
|
|
22880
22943
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
22881
22944
|
|
|
22882
22945
|
"use strict";
|
|
@@ -22895,14 +22958,14 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
|
|
|
22895
22958
|
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()));
|
|
22896
22959
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
22897
22960
|
// Module
|
|
22898
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-container .van-cell__value[data-v-
|
|
22961
|
+
___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%}", ""]);
|
|
22899
22962
|
// Exports
|
|
22900
22963
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
22901
22964
|
|
|
22902
22965
|
|
|
22903
22966
|
/***/ }),
|
|
22904
22967
|
|
|
22905
|
-
/***/
|
|
22968
|
+
/***/ 1447:
|
|
22906
22969
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
22907
22970
|
|
|
22908
22971
|
"use strict";
|
|
@@ -22916,7 +22979,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
22916
22979
|
|
|
22917
22980
|
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()));
|
|
22918
22981
|
// Module
|
|
22919
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".voice-input-popup[data-v-
|
|
22982
|
+
___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)}}", ""]);
|
|
22920
22983
|
// Exports
|
|
22921
22984
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
22922
22985
|
|
|
@@ -50548,35 +50611,35 @@ var update = add("72ae29a9", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
50548
50611
|
|
|
50549
50612
|
/***/ }),
|
|
50550
50613
|
|
|
50551
|
-
/***/
|
|
50614
|
+
/***/ 7815:
|
|
50552
50615
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
50553
50616
|
|
|
50554
50617
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
50555
50618
|
|
|
50556
50619
|
// load the styles
|
|
50557
|
-
var content = __webpack_require__(
|
|
50620
|
+
var content = __webpack_require__(4704);
|
|
50558
50621
|
if(content.__esModule) content = content.default;
|
|
50559
50622
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
50560
50623
|
if(content.locals) module.exports = content.locals;
|
|
50561
50624
|
// add the styles to the DOM
|
|
50562
50625
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
50563
|
-
var update = add("
|
|
50626
|
+
var update = add("628bb8ae", content, true, {"sourceMap":false,"shadowMode":false});
|
|
50564
50627
|
|
|
50565
50628
|
/***/ }),
|
|
50566
50629
|
|
|
50567
|
-
/***/
|
|
50630
|
+
/***/ 8532:
|
|
50568
50631
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
50569
50632
|
|
|
50570
50633
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
50571
50634
|
|
|
50572
50635
|
// load the styles
|
|
50573
|
-
var content = __webpack_require__(
|
|
50636
|
+
var content = __webpack_require__(1447);
|
|
50574
50637
|
if(content.__esModule) content = content.default;
|
|
50575
50638
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
50576
50639
|
if(content.locals) module.exports = content.locals;
|
|
50577
50640
|
// add the styles to the DOM
|
|
50578
50641
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
50579
|
-
var update = add("
|
|
50642
|
+
var update = add("0cc4cd96", content, true, {"sourceMap":false,"shadowMode":false});
|
|
50580
50643
|
|
|
50581
50644
|
/***/ }),
|
|
50582
50645
|
|
|
@@ -72955,39 +73018,39 @@ var asyncComponents = [
|
|
|
72955
73018
|
}],
|
|
72956
73019
|
// ========== ecmapp/Wflowform 工作流表单子组件 → chunk: m-wflow-form ==========
|
|
72957
73020
|
['Attachment', function () {
|
|
72958
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73021
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 3414)).then(function (m) {
|
|
72959
73022
|
return m.Attachment;
|
|
72960
73023
|
});
|
|
72961
73024
|
}], ['BodyFile', function () {
|
|
72962
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73025
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 3414)).then(function (m) {
|
|
72963
73026
|
return m.BodyFile;
|
|
72964
73027
|
});
|
|
72965
73028
|
}], ['HandleIdea', function () {
|
|
72966
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73029
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 3414)).then(function (m) {
|
|
72967
73030
|
return m.HandleIdea;
|
|
72968
73031
|
});
|
|
72969
73032
|
}], ['SelectOuterDeputy', function () {
|
|
72970
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73033
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 3414)).then(function (m) {
|
|
72971
73034
|
return m.SelectOuterDeputy;
|
|
72972
73035
|
});
|
|
72973
73036
|
}], ['SubmitHandle', function () {
|
|
72974
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73037
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 3414)).then(function (m) {
|
|
72975
73038
|
return m.SubmitHandle;
|
|
72976
73039
|
});
|
|
72977
73040
|
}], ['SubmitDialog', function () {
|
|
72978
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73041
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 3414)).then(function (m) {
|
|
72979
73042
|
return m.SubmitDialog;
|
|
72980
73043
|
});
|
|
72981
73044
|
}], ['ShortcutProcessing', function () {
|
|
72982
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73045
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 3414)).then(function (m) {
|
|
72983
73046
|
return m.ShortcutProcessing;
|
|
72984
73047
|
});
|
|
72985
73048
|
}], ['WfNodelogList', function () {
|
|
72986
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73049
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 3414)).then(function (m) {
|
|
72987
73050
|
return m.WfNodelogList;
|
|
72988
73051
|
});
|
|
72989
73052
|
}], ['WriteToReadIdea', function () {
|
|
72990
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73053
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 3414)).then(function (m) {
|
|
72991
73054
|
return m.WriteToReadIdea;
|
|
72992
73055
|
});
|
|
72993
73056
|
}]];
|
|
@@ -73040,7 +73103,7 @@ var WfengineModule = function WfengineModule() {
|
|
|
73040
73103
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 6322));
|
|
73041
73104
|
};
|
|
73042
73105
|
var WflowformModule = function WflowformModule() {
|
|
73043
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
73106
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 3414));
|
|
73044
73107
|
};
|
|
73045
73108
|
|
|
73046
73109
|
// ---------- 重型功能(PDF/富文本,仅特定页面使用) ----------
|