cnhis-design-vue 3.3.1-release.4 → 3.3.2-beta.1
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/README.md +87 -87
- package/es/components/audio-sdk/index.d.ts +57 -6
- package/es/components/audio-sdk/index.js +1 -0
- package/es/components/audio-sdk/src/Index.vue.d.ts +55 -6
- package/es/components/audio-sdk/src/Index.vue2.js +12 -4
- package/es/components/audio-sdk/src/audioSDK.d.ts +4 -4
- package/es/components/audio-sdk/src/audioSDK.js +23 -9
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +27 -3
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +27 -3
- package/es/components/audio-sdk/src/components/recording.vue2.js +14 -6
- package/es/components/audio-sdk/src/constants/index.d.ts +1 -0
- package/es/components/audio-sdk/src/constants/index.js +3 -0
- package/es/components/audio-sdk/src/utils/recorder/fft.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/recorder/fft.js +75 -0
- package/es/components/audio-sdk/src/utils/recorder/index.d.ts +3 -0
- package/es/components/audio-sdk/src/utils/recorder/index.js +12 -0
- package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/recorder/mp3-engine.js +12435 -0
- package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/recorder/mp3.js +343 -0
- package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/recorder/recorder.js +1324 -0
- package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/recorder/wave.js +258 -0
- package/es/components/audio-sdk/src/utils/recordingModal.js +13 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/callback/src/components/render/popupMaps.d.ts +17 -1
- package/es/components/card-render/index.d.ts +4 -4
- package/es/components/card-render/src/CardRender.vue.d.ts +4 -4
- package/es/components/card-render/src/components/index.d.ts +23 -23
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +12 -6
- package/es/components/field-editor/index.d.ts +4 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +4 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
- package/es/components/form-config/index.d.ts +80 -5
- package/es/components/form-config/src/FormConfig.vue.d.ts +80 -5
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +57 -4
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +16 -1
- package/es/components/form-config/src/constants/index.d.ts +2 -1
- package/es/components/form-config/src/constants/index.js +1 -0
- package/es/components/form-config/src/hooks/useConfigurationField.js +19 -1
- package/es/components/form-config/src/hooks/useLocale.d.ts +1 -0
- package/es/components/form-config/src/hooks/useLocale.js +1 -0
- package/es/components/form-config/src/types/index.d.ts +1 -0
- package/es/components/form-render/index.d.ts +4 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +4 -0
- package/es/components/form-render/src/FormRender.vue2.js +3 -2
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -0
- package/es/components/form-render/src/components/renderer/combination/combination.js +1 -1
- package/es/components/form-render/src/components/renderer/date.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/input.d.ts +16 -4
- package/es/components/form-render/src/components/renderer/input.js +39 -7
- package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +3 -0
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +9 -8
- package/es/components/form-render/src/components/renderer/text.js +1 -1
- package/es/components/form-render/src/components/renderer/textarea.d.ts +16 -1
- package/es/components/form-render/src/components/renderer/textarea.js +36 -8
- package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -0
- package/es/components/form-render/src/hooks/useComplexOptions.js +3 -2
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +2 -2
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +4 -3
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFormField.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFormField.js +5 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -0
- package/es/components/form-render/src/hooks/usePresetScope.js +1 -0
- package/es/components/form-render/src/types/fieldItem.d.ts +11 -0
- package/es/components/form-render/src/types/index.d.ts +2 -1
- package/es/components/form-render/src/utils/index.js +1 -0
- package/es/components/form-render/src/utils/schema.js +60 -15
- package/es/components/guide/src/renderer.d.ts +2 -2
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-table/index.d.ts +13 -1
- package/es/components/iho-table/src/IhoTable.vue.d.ts +13 -2
- package/es/components/iho-table/src/IhoTable.vue2.js +27 -20
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +6 -0
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +1 -2
- package/es/components/index.js +1 -3
- package/es/components/info-header/index.d.ts +13 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +13 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +5 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +4 -0
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/select-person/src/SelectPerson.vue2.js +21 -9
- package/es/components/shortcut-setter/index.d.ts +16 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +16 -1
- package/es/components/table-filter/src/components/render-widget/enums.d.ts +2 -0
- package/es/components/table-filter/src/components/render-widget/enums.js +2 -1
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +8 -0
- package/es/components/table-filter/src/components/render-widget/helpers/enums.d.ts +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/enums.js +2 -1
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +15 -13
- package/es/components/table-filter/src/tool/baseOptions.js +3 -0
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/table_style_2.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/CancelRadio/CancelRadio.d.ts +7 -0
- package/es/shared/components/CancelRadio/CancelRadio.js +6 -6
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/index.js +3 -2
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +76 -78
- package/es/components/ai-chat/index.d.ts +0 -680
- package/es/components/ai-chat/index.js +0 -10
- package/es/components/ai-chat/src/Index.vue.d.ts +0 -682
- package/es/components/ai-chat/src/Index.vue.js +0 -6
- package/es/components/ai-chat/src/Index.vue2.js +0 -175
- package/es/components/ai-chat/src/api/index.d.ts +0 -8
- package/es/components/ai-chat/src/api/index.js +0 -87
- package/es/components/ai-chat/src/components/ChatAudio.vue.d.ts +0 -38
- package/es/components/ai-chat/src/components/ChatAudio.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatAudio.vue2.js +0 -103
- package/es/components/ai-chat/src/components/ChatBI.vue.d.ts +0 -101
- package/es/components/ai-chat/src/components/ChatBI.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatBI.vue2.js +0 -73
- package/es/components/ai-chat/src/components/ChatCard.d.ts +0 -43
- package/es/components/ai-chat/src/components/ChatCard.js +0 -403
- package/es/components/ai-chat/src/components/ChatFooter.vue.d.ts +0 -203
- package/es/components/ai-chat/src/components/ChatFooter.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatFooter.vue2.js +0 -373
- package/es/components/ai-chat/src/components/ChatMain.d.ts +0 -2
- package/es/components/ai-chat/src/components/ChatMain.js +0 -350
- package/es/components/ai-chat/src/components/ChatMainDefault.d.ts +0 -2
- package/es/components/ai-chat/src/components/ChatMainDefault.js +0 -278
- package/es/components/ai-chat/src/components/ChatPatient.vue.d.ts +0 -59
- package/es/components/ai-chat/src/components/ChatPatient.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatPatient.vue2.js +0 -218
- package/es/components/ai-chat/src/components/ChatPrompt.vue.d.ts +0 -45
- package/es/components/ai-chat/src/components/ChatPrompt.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatPrompt.vue2.js +0 -143
- package/es/components/ai-chat/src/components/ChatRight.vue.d.ts +0 -57
- package/es/components/ai-chat/src/components/ChatRight.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatRight.vue2.js +0 -190
- package/es/components/ai-chat/src/components/card/JsonCard.d.ts +0 -25
- package/es/components/ai-chat/src/components/card/JsonCard.js +0 -574
- package/es/components/ai-chat/src/components/message-render/CardRender.d.ts +0 -16
- package/es/components/ai-chat/src/components/message-render/CardRender.js +0 -80
- package/es/components/ai-chat/src/components/message-render/FormRender.d.ts +0 -16
- package/es/components/ai-chat/src/components/message-render/FormRender.js +0 -173
- package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue.d.ts +0 -36
- package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue.js +0 -6
- package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue2.js +0 -96
- package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue.d.ts +0 -105
- package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue.js +0 -6
- package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue2.js +0 -260
- package/es/components/ai-chat/src/components/svgs/AddIcon.vue.js +0 -18
- package/es/components/ai-chat/src/components/svgs/AudioIcon.vue.js +0 -37
- package/es/components/ai-chat/src/components/svgs/KeyboardIcon.vue.js +0 -20
- package/es/components/ai-chat/src/components/svgs/MicroPhone.vue.js +0 -48
- package/es/components/ai-chat/src/hooks/index.d.ts +0 -2
- package/es/components/ai-chat/src/hooks/index.js +0 -2
- package/es/components/ai-chat/src/hooks/useChartAudioContext.d.ts +0 -18
- package/es/components/ai-chat/src/hooks/useChartAudioContext.js +0 -202
- package/es/components/ai-chat/src/hooks/useData.d.ts +0 -77
- package/es/components/ai-chat/src/hooks/useData.js +0 -289
- package/es/components/ai-chat/src/hooks/useFooterContext.d.ts +0 -38
- package/es/components/ai-chat/src/hooks/useFooterContext.js +0 -218
- package/es/components/ai-chat/src/hooks/useProgram.d.ts +0 -14
- package/es/components/ai-chat/src/hooks/useProgram.js +0 -306
- package/es/components/ai-chat/src/hooks/useSSE.d.ts +0 -9
- package/es/components/ai-chat/src/hooks/useSSE.js +0 -138
- package/es/components/ai-chat/src/hooks/useWebsocket.d.ts +0 -4
- package/es/components/ai-chat/src/hooks/useWebsocket.js +0 -66
- package/es/components/ai-chat/src/types/index.d.ts +0 -45
- package/es/components/ai-chat/src/types/index.js +0 -1
- package/es/components/ai-chat/src/utils/index.d.ts +0 -7
- package/es/components/ai-chat/src/utils/index.js +0 -41
- package/es/components/ai-chat/style/index.css +0 -1
- package/es/shared/assets/img/ai__avatar.png.js +0 -3
- package/es/shared/assets/img/file-emr.png.js +0 -3
- package/es/shared/assets/img/file.png.js +0 -3
- package/es/shared/assets/img/logo.png.js +0 -3
- package/es/shared/assets/img/use.png.js +0 -3
@@ -0,0 +1,258 @@
|
|
1
|
+
function useWave(Recorder) {
|
2
|
+
var FrequencyHistogramView = function(set) {
|
3
|
+
return new fn(set);
|
4
|
+
};
|
5
|
+
var ViewTxt = "FrequencyHistogramView";
|
6
|
+
var fn = function(set) {
|
7
|
+
var This = this;
|
8
|
+
var o = {
|
9
|
+
scale: 2,
|
10
|
+
fps: 20,
|
11
|
+
lineCount: 30,
|
12
|
+
widthRatio: 0.6,
|
13
|
+
spaceWidth: 0,
|
14
|
+
minHeight: 0,
|
15
|
+
position: -1,
|
16
|
+
mirrorEnable: false,
|
17
|
+
stripeEnable: true,
|
18
|
+
stripeHeight: 3,
|
19
|
+
stripeMargin: 6,
|
20
|
+
fallDuration: 1e3,
|
21
|
+
stripeFallDuration: 3500,
|
22
|
+
linear: [0, "rgba(0,187,17,1)", 0.5, "rgba(255,215,0,1)", 1, "rgba(255,102,0,1)"],
|
23
|
+
stripeLinear: null,
|
24
|
+
shadowBlur: 0,
|
25
|
+
shadowColor: "#bbb",
|
26
|
+
stripeShadowBlur: -1,
|
27
|
+
stripeShadowColor: "",
|
28
|
+
onDraw: function(frequencyData, sampleRate) {
|
29
|
+
}
|
30
|
+
};
|
31
|
+
for (var k in set) {
|
32
|
+
o[k] = set[k];
|
33
|
+
}
|
34
|
+
This.set = set = o;
|
35
|
+
var elem = set.elem;
|
36
|
+
if (elem) {
|
37
|
+
if (typeof elem == "string") {
|
38
|
+
elem = document.querySelector(elem);
|
39
|
+
} else if (elem.length) {
|
40
|
+
elem = elem[0];
|
41
|
+
}
|
42
|
+
}
|
43
|
+
if (elem) {
|
44
|
+
set.width = elem.offsetWidth;
|
45
|
+
set.height = elem.offsetHeight;
|
46
|
+
}
|
47
|
+
var scale = set.scale;
|
48
|
+
var width = set.width * scale;
|
49
|
+
var height = set.height * scale;
|
50
|
+
if (!width || !height) {
|
51
|
+
throw new Error(ViewTxt + "\u65E0\u5BBD\u9AD8");
|
52
|
+
}
|
53
|
+
var thisElem = This.elem = document.createElement("div");
|
54
|
+
var lowerCss = ["", "transform-origin:0 0;", "transform:scale(" + 1 / scale + ");"];
|
55
|
+
thisElem.innerHTML = '<div style="width:' + set.width + "px;height:" + set.height + 'px;overflow:hidden"><div style="width:' + width + "px;height:" + height + "px;" + lowerCss.join("-webkit-") + lowerCss.join("-ms-") + lowerCss.join("-moz-") + lowerCss.join("") + '"><canvas/></div></div>';
|
56
|
+
var canvas = This.canvas = thisElem.querySelector("canvas");
|
57
|
+
This.ctx = canvas.getContext("2d");
|
58
|
+
canvas.width = width;
|
59
|
+
canvas.height = height;
|
60
|
+
if (elem) {
|
61
|
+
elem.innerHTML = "";
|
62
|
+
elem.appendChild(thisElem);
|
63
|
+
}
|
64
|
+
if (!Recorder.LibFFT) {
|
65
|
+
throw new Error("\u9700\u8981lib.fft.js\u652F\u6301");
|
66
|
+
}
|
67
|
+
This.fft = Recorder.LibFFT(1024);
|
68
|
+
This.lastH = [];
|
69
|
+
This.stripesH = [];
|
70
|
+
};
|
71
|
+
fn.prototype = FrequencyHistogramView.prototype = {
|
72
|
+
genLinear: function(ctx, colors, from, to) {
|
73
|
+
var rtv = ctx.createLinearGradient(0, from, 0, to);
|
74
|
+
for (var i = 0; i < colors.length; ) {
|
75
|
+
rtv.addColorStop(colors[i++], colors[i++]);
|
76
|
+
}
|
77
|
+
return rtv;
|
78
|
+
},
|
79
|
+
input: function(pcmData, powerLevel, sampleRate) {
|
80
|
+
var This = this;
|
81
|
+
This.sampleRate = sampleRate;
|
82
|
+
This.pcmData = pcmData;
|
83
|
+
This.pcmPos = 0;
|
84
|
+
This.inputTime = Date.now();
|
85
|
+
This.schedule();
|
86
|
+
},
|
87
|
+
schedule: function() {
|
88
|
+
var This = this, set = This.set;
|
89
|
+
var interval = Math.floor(1e3 / set.fps);
|
90
|
+
if (!This.timer) {
|
91
|
+
This.timer = setInterval(function() {
|
92
|
+
This.schedule();
|
93
|
+
}, interval);
|
94
|
+
}
|
95
|
+
var now = Date.now();
|
96
|
+
var drawTime = This.drawTime || 0;
|
97
|
+
if (now - This.inputTime > set.stripeFallDuration * 1.3) {
|
98
|
+
clearInterval(This.timer);
|
99
|
+
This.timer = 0;
|
100
|
+
return;
|
101
|
+
}
|
102
|
+
if (now - drawTime < interval) {
|
103
|
+
return;
|
104
|
+
}
|
105
|
+
This.drawTime = now;
|
106
|
+
var bufferSize = This.fft.bufferSize;
|
107
|
+
var pcm = This.pcmData;
|
108
|
+
var pos = This.pcmPos;
|
109
|
+
var arr = new Int16Array(bufferSize);
|
110
|
+
for (var i = 0; i < bufferSize && pos < pcm.length; i++, pos++) {
|
111
|
+
arr[i] = pcm[pos];
|
112
|
+
}
|
113
|
+
This.pcmPos = pos;
|
114
|
+
var frequencyData = This.fft.transform(arr);
|
115
|
+
This.draw(frequencyData, This.sampleRate);
|
116
|
+
},
|
117
|
+
draw: function(frequencyData, sampleRate) {
|
118
|
+
var This = this, set = This.set;
|
119
|
+
var ctx = This.ctx;
|
120
|
+
var scale = set.scale;
|
121
|
+
var width = set.width * scale;
|
122
|
+
var height = set.height * scale;
|
123
|
+
var lineCount = set.lineCount;
|
124
|
+
var bufferSize = This.fft.bufferSize;
|
125
|
+
var position = set.position;
|
126
|
+
var posAbs = Math.abs(set.position);
|
127
|
+
var originY = position == 1 ? 0 : height;
|
128
|
+
var heightY = height;
|
129
|
+
if (posAbs < 1) {
|
130
|
+
heightY = heightY / 2;
|
131
|
+
originY = heightY;
|
132
|
+
heightY = Math.floor(heightY * (1 + posAbs));
|
133
|
+
originY = Math.floor(position > 0 ? originY * (1 - posAbs) : originY * (1 + posAbs));
|
134
|
+
}
|
135
|
+
var lastH = This.lastH;
|
136
|
+
var stripesH = This.stripesH;
|
137
|
+
var speed = Math.ceil(heightY / (set.fallDuration / (1e3 / set.fps)));
|
138
|
+
var stripeSpeed = Math.ceil(heightY / (set.stripeFallDuration / (1e3 / set.fps)));
|
139
|
+
var stripeMargin = set.stripeMargin * scale;
|
140
|
+
var Y0 = 1 << (Math.round(Math.log(bufferSize) / Math.log(2) + 3) << 1);
|
141
|
+
var logY0 = Math.log(Y0) / Math.log(10);
|
142
|
+
var dBmax = 20 * Math.log(32767) / Math.log(10);
|
143
|
+
var fftSize = bufferSize / 2;
|
144
|
+
var fftSize5k = Math.min(fftSize, Math.floor(fftSize * 5e3 / (sampleRate / 2)));
|
145
|
+
var fftSize5kIsAll = fftSize5k == fftSize;
|
146
|
+
var line80 = fftSize5kIsAll ? lineCount : Math.round(lineCount * 0.8);
|
147
|
+
var fftSizeStep1 = fftSize5k / line80;
|
148
|
+
var fftSizeStep2 = fftSize5kIsAll ? 0 : (fftSize - fftSize5k) / (lineCount - line80);
|
149
|
+
var fftIdx = 0;
|
150
|
+
for (var i = 0; i < lineCount; i++) {
|
151
|
+
var start = Math.ceil(fftIdx);
|
152
|
+
if (i < line80) {
|
153
|
+
fftIdx += fftSizeStep1;
|
154
|
+
} else {
|
155
|
+
fftIdx += fftSizeStep2;
|
156
|
+
}
|
157
|
+
var end = Math.min(Math.ceil(fftIdx), fftSize);
|
158
|
+
var maxAmp = 0;
|
159
|
+
for (var j = start; j < end; j++) {
|
160
|
+
maxAmp = Math.max(maxAmp, Math.abs(frequencyData[j]));
|
161
|
+
}
|
162
|
+
var dB = maxAmp > Y0 ? Math.floor((Math.log(maxAmp) / Math.log(10) - logY0) * 17) : 0;
|
163
|
+
var h = heightY * Math.min(dB / dBmax, 1);
|
164
|
+
lastH[i] = (lastH[i] || 0) - speed;
|
165
|
+
if (h < lastH[i]) {
|
166
|
+
h = lastH[i];
|
167
|
+
}
|
168
|
+
if (h < 0) {
|
169
|
+
h = 0;
|
170
|
+
}
|
171
|
+
lastH[i] = h;
|
172
|
+
var shi = stripesH[i] || 0;
|
173
|
+
if (h && h + stripeMargin > shi) {
|
174
|
+
stripesH[i] = h + stripeMargin;
|
175
|
+
} else {
|
176
|
+
var sh = shi - stripeSpeed;
|
177
|
+
if (sh < 0) {
|
178
|
+
sh = 0;
|
179
|
+
}
|
180
|
+
stripesH[i] = sh;
|
181
|
+
}
|
182
|
+
}
|
183
|
+
ctx.clearRect(0, 0, width, height);
|
184
|
+
var linear1 = This.genLinear(ctx, set.linear, originY, originY - heightY);
|
185
|
+
var stripeLinear1 = set.stripeLinear && This.genLinear(ctx, set.stripeLinear, originY, originY - heightY) || linear1;
|
186
|
+
var linear2 = This.genLinear(ctx, set.linear, originY, originY + heightY);
|
187
|
+
var stripeLinear2 = set.stripeLinear && This.genLinear(ctx, set.stripeLinear, originY, originY + heightY) || linear2;
|
188
|
+
ctx.shadowBlur = set.shadowBlur * scale;
|
189
|
+
ctx.shadowColor = set.shadowColor;
|
190
|
+
var mirrorEnable = set.mirrorEnable;
|
191
|
+
var mirrorCount = mirrorEnable ? lineCount * 2 - 1 : lineCount;
|
192
|
+
var widthRatio = set.widthRatio;
|
193
|
+
var spaceWidth = set.spaceWidth * scale;
|
194
|
+
if (spaceWidth != 0) {
|
195
|
+
widthRatio = (width - spaceWidth * (mirrorCount + 1)) / width;
|
196
|
+
}
|
197
|
+
var lineWidth = Math.max(1 * scale, Math.floor(width * widthRatio / mirrorCount));
|
198
|
+
var spaceFloat = (width - mirrorCount * lineWidth) / (mirrorCount + 1);
|
199
|
+
var minHeight = set.minHeight * scale;
|
200
|
+
var mirrorSubX = spaceFloat + lineWidth / 2;
|
201
|
+
var XFloat = mirrorEnable ? width / 2 - mirrorSubX : 0;
|
202
|
+
for (var i = 0, xFloat = XFloat, x, y, h; i < lineCount; i++) {
|
203
|
+
xFloat += spaceFloat;
|
204
|
+
x = Math.floor(xFloat);
|
205
|
+
h = Math.max(lastH[i], minHeight);
|
206
|
+
if (originY != 0) {
|
207
|
+
y = originY - h;
|
208
|
+
ctx.fillStyle = linear1;
|
209
|
+
ctx.fillRect(x, y, lineWidth, h);
|
210
|
+
}
|
211
|
+
if (originY != height) {
|
212
|
+
ctx.fillStyle = linear2;
|
213
|
+
ctx.fillRect(x, originY, lineWidth, h);
|
214
|
+
}
|
215
|
+
xFloat += lineWidth;
|
216
|
+
}
|
217
|
+
if (set.stripeEnable) {
|
218
|
+
var stripeShadowBlur = set.stripeShadowBlur;
|
219
|
+
ctx.shadowBlur = (stripeShadowBlur == -1 ? set.shadowBlur : stripeShadowBlur) * scale;
|
220
|
+
ctx.shadowColor = set.stripeShadowColor || set.shadowColor;
|
221
|
+
var stripeHeight = set.stripeHeight * scale;
|
222
|
+
for (var i = 0, xFloat = XFloat, x, y, h; i < lineCount; i++) {
|
223
|
+
xFloat += spaceFloat;
|
224
|
+
x = Math.floor(xFloat);
|
225
|
+
h = stripesH[i];
|
226
|
+
if (originY != 0) {
|
227
|
+
y = originY - h - stripeHeight;
|
228
|
+
if (y < 0) {
|
229
|
+
y = 0;
|
230
|
+
}
|
231
|
+
ctx.fillStyle = stripeLinear1;
|
232
|
+
ctx.fillRect(x, y, lineWidth, stripeHeight);
|
233
|
+
}
|
234
|
+
if (originY != height) {
|
235
|
+
y = originY + h;
|
236
|
+
if (y + stripeHeight > height) {
|
237
|
+
y = height - stripeHeight;
|
238
|
+
}
|
239
|
+
ctx.fillStyle = stripeLinear2;
|
240
|
+
ctx.fillRect(x, y, lineWidth, stripeHeight);
|
241
|
+
}
|
242
|
+
xFloat += lineWidth;
|
243
|
+
}
|
244
|
+
}
|
245
|
+
if (mirrorEnable) {
|
246
|
+
var srcW = Math.floor(width / 2);
|
247
|
+
ctx.save();
|
248
|
+
ctx.scale(-1, 1);
|
249
|
+
ctx.drawImage(This.canvas, Math.ceil(width / 2), 0, srcW, height, -srcW, 0, srcW, height);
|
250
|
+
ctx.restore();
|
251
|
+
}
|
252
|
+
set.onDraw(frequencyData, sampleRate);
|
253
|
+
}
|
254
|
+
};
|
255
|
+
Recorder[ViewTxt] = FrequencyHistogramView;
|
256
|
+
}
|
257
|
+
|
258
|
+
export { useWave };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ref, render, createVNode, withCtx, mergeProps, nextTick } from 'vue';
|
1
|
+
import { ref, watch, render, createVNode, withCtx, mergeProps, nextTick } from 'vue';
|
2
2
|
import { createProviderWrapper } from '../../../../shared/utils/index.js';
|
3
3
|
import RecordingModal$1 from '../components/recording-modal.vue.js';
|
4
4
|
|
@@ -20,10 +20,19 @@ class RecordingModal {
|
|
20
20
|
this.rendered = true;
|
21
21
|
const container = document.createElement("div");
|
22
22
|
const visible = ref(false);
|
23
|
+
const loading = ref(true);
|
23
24
|
const ProviderWrapper = createProviderWrapper(instance);
|
24
25
|
const that = this;
|
26
|
+
watch(() => props.wsConnected.value, (wsConnected) => {
|
27
|
+
if (wsConnected) {
|
28
|
+
loading.value = false;
|
29
|
+
}
|
30
|
+
}, {
|
31
|
+
immediate: true
|
32
|
+
});
|
25
33
|
function getBaseProps() {
|
26
34
|
return {
|
35
|
+
fromSdk: true,
|
27
36
|
to: container,
|
28
37
|
onClose,
|
29
38
|
onAfterLeave: onClose
|
@@ -32,7 +41,9 @@ class RecordingModal {
|
|
32
41
|
render(createVNode(ProviderWrapper, null, {
|
33
42
|
default: withCtx(() => createVNode(RecordingModal$1, mergeProps({
|
34
43
|
"show": visible.value,
|
35
|
-
"onUpdate:show": ($event) => visible.value = $event
|
44
|
+
"onUpdate:show": ($event) => visible.value = $event,
|
45
|
+
"loading": loading.value,
|
46
|
+
"onUpdate:loading": ($event) => loading.value = $event
|
36
47
|
}, getBaseProps(), {
|
37
48
|
"content": props.contentRef.value
|
38
49
|
}), null), instance)
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
declare module 'bpmn-js/lib/Viewer';
|
@@ -0,0 +1 @@
|
|
1
|
+
declare module 'bpmn-js/lib/features/modeling';
|
@@ -0,0 +1 @@
|
|
1
|
+
declare module 'diagram-js/lib/navigation/movecanvas';
|
@@ -207,6 +207,7 @@ export declare const CallbackMaps: Map<string, {
|
|
207
207
|
type: BooleanConstructor;
|
208
208
|
};
|
209
209
|
lazyRender: BooleanConstructor;
|
210
|
+
dialogFn: {};
|
210
211
|
}, {
|
211
212
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
212
213
|
fieldList: {
|
@@ -410,6 +411,7 @@ export declare const CallbackMaps: Map<string, {
|
|
410
411
|
type: BooleanConstructor;
|
411
412
|
};
|
412
413
|
lazyRender: BooleanConstructor;
|
414
|
+
dialogFn: {};
|
413
415
|
}>> & {
|
414
416
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
415
417
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -586,6 +588,7 @@ export declare const CallbackMaps: Map<string, {
|
|
586
588
|
feedbackType: "default" | "tooltip";
|
587
589
|
fixMemoLeak: boolean;
|
588
590
|
lazyRender: boolean;
|
591
|
+
dialogFn: import("../../../../../shared/types").AnyFn;
|
589
592
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
590
593
|
[key: symbol]: any;
|
591
594
|
[key: `x-${string}`]: any;
|
@@ -973,6 +976,7 @@ export declare const CallbackMaps: Map<string, {
|
|
973
976
|
type: BooleanConstructor;
|
974
977
|
};
|
975
978
|
lazyRender: BooleanConstructor;
|
979
|
+
dialogFn: {};
|
976
980
|
}>> & {
|
977
981
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
978
982
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -1050,6 +1054,9 @@ export declare const CallbackMaps: Map<string, {
|
|
1050
1054
|
type: BooleanConstructor;
|
1051
1055
|
default: boolean;
|
1052
1056
|
};
|
1057
|
+
nConfigProviderProps: {
|
1058
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject>;
|
1059
|
+
};
|
1053
1060
|
}, {
|
1054
1061
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1055
1062
|
tableConfig: {
|
@@ -1082,6 +1089,9 @@ export declare const CallbackMaps: Map<string, {
|
|
1082
1089
|
type: BooleanConstructor;
|
1083
1090
|
default: boolean;
|
1084
1091
|
};
|
1092
|
+
nConfigProviderProps: {
|
1093
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject>;
|
1094
|
+
};
|
1085
1095
|
}>> & {
|
1086
1096
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
1087
1097
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -4337,7 +4347,10 @@ export declare const CallbackMaps: Map<string, {
|
|
4337
4347
|
}>;
|
4338
4348
|
updateConfigRefDebounced: () => void;
|
4339
4349
|
updateConfigRef: () => void;
|
4340
|
-
|
4350
|
+
configBindProps: import("vue").ComputedRef<{
|
4351
|
+
namespace: string;
|
4352
|
+
themeOverrides: any;
|
4353
|
+
}>;
|
4341
4354
|
fieldListRef: import("vue").Ref<{
|
4342
4355
|
[x: string]: any;
|
4343
4356
|
property?: string | undefined;
|
@@ -7909,6 +7922,9 @@ export declare const CallbackMaps: Map<string, {
|
|
7909
7922
|
type: BooleanConstructor;
|
7910
7923
|
default: boolean;
|
7911
7924
|
};
|
7925
|
+
nConfigProviderProps: {
|
7926
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject>;
|
7927
|
+
};
|
7912
7928
|
}>> & {
|
7913
7929
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
7914
7930
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -29,15 +29,15 @@ declare const CardRender: SFCWithInstall<import("vue").DefineComponent<{
|
|
29
29
|
type: import("vue").PropType<Record<string, () => import("vue").VNodeChild>>;
|
30
30
|
};
|
31
31
|
}>> & {
|
32
|
-
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
33
32
|
"onModule-click"?: ((...args: any[]) => any) | undefined;
|
33
|
+
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
34
34
|
}>>;
|
35
35
|
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
36
|
-
emit: (event: "
|
36
|
+
emit: (event: "module-click" | "button-click", ...args: any[]) => void;
|
37
37
|
style: import("vue").ComputedRef<any>;
|
38
38
|
componentsFieldList: import("vue").ComputedRef<import("../../shared/types").AnyObject[]>;
|
39
39
|
getComponent: typeof import("./src/components").getComponent;
|
40
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
40
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("module-click" | "button-click")[], "module-click" | "button-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
41
41
|
config: {
|
42
42
|
type: import("vue").PropType<{
|
43
43
|
templateStyle?: import("vue").CSSProperties | undefined;
|
@@ -52,8 +52,8 @@ declare const CardRender: SFCWithInstall<import("vue").DefineComponent<{
|
|
52
52
|
type: import("vue").PropType<Record<string, () => import("vue").VNodeChild>>;
|
53
53
|
};
|
54
54
|
}>> & {
|
55
|
-
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
56
55
|
"onModule-click"?: ((...args: any[]) => any) | undefined;
|
56
|
+
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
57
57
|
}, {
|
58
58
|
data: import("../../shared/types").AnyObject;
|
59
59
|
}>>;
|
@@ -31,15 +31,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
31
31
|
type: PropType<Record<string, () => VNodeChild>>;
|
32
32
|
};
|
33
33
|
}>> & {
|
34
|
-
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
35
34
|
"onModule-click"?: ((...args: any[]) => any) | undefined;
|
35
|
+
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
36
36
|
}>>;
|
37
37
|
cssVars: import("vue").ComputedRef<AnyObject>;
|
38
|
-
emit: (event: "
|
38
|
+
emit: (event: "module-click" | "button-click", ...args: any[]) => void;
|
39
39
|
style: import("vue").ComputedRef<any>;
|
40
40
|
componentsFieldList: import("vue").ComputedRef<AnyObject[]>;
|
41
41
|
getComponent: typeof getComponent;
|
42
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
42
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("module-click" | "button-click")[], "module-click" | "button-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
43
43
|
config: {
|
44
44
|
type: PropType<{
|
45
45
|
templateStyle?: CSSProperties | undefined;
|
@@ -54,8 +54,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
54
54
|
type: PropType<Record<string, () => VNodeChild>>;
|
55
55
|
};
|
56
56
|
}>> & {
|
57
|
-
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
58
57
|
"onModule-click"?: ((...args: any[]) => any) | undefined;
|
58
|
+
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
59
59
|
}, {
|
60
60
|
data: AnyObject;
|
61
61
|
}>;
|
@@ -143,6 +143,29 @@ declare function getComponent(type: COMPONENT_TYPE): import("vue").DefineCompone
|
|
143
143
|
default: () => {};
|
144
144
|
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
145
145
|
};
|
146
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "button-click"[], "button-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
147
|
+
config: {
|
148
|
+
default: () => {};
|
149
|
+
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
150
|
+
};
|
151
|
+
data: {
|
152
|
+
default: () => {};
|
153
|
+
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
154
|
+
};
|
155
|
+
}>> & {
|
156
|
+
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
157
|
+
}, {
|
158
|
+
data: import("../../../../shared/types").AnyObject;
|
159
|
+
config: import("../../../../shared/types").AnyObject;
|
160
|
+
}> | import("vue").DefineComponent<{
|
161
|
+
config: {
|
162
|
+
default: () => {};
|
163
|
+
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
164
|
+
};
|
165
|
+
data: {
|
166
|
+
default: () => {};
|
167
|
+
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
168
|
+
};
|
146
169
|
}, {
|
147
170
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
148
171
|
config: {
|
@@ -468,29 +491,6 @@ declare function getComponent(type: COMPONENT_TYPE): import("vue").DefineCompone
|
|
468
491
|
default: () => {};
|
469
492
|
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
470
493
|
};
|
471
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "button-click"[], "button-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
472
|
-
config: {
|
473
|
-
default: () => {};
|
474
|
-
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
475
|
-
};
|
476
|
-
data: {
|
477
|
-
default: () => {};
|
478
|
-
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
479
|
-
};
|
480
|
-
}>> & {
|
481
|
-
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
482
|
-
}, {
|
483
|
-
data: import("../../../../shared/types").AnyObject;
|
484
|
-
config: import("../../../../shared/types").AnyObject;
|
485
|
-
}> | import("vue").DefineComponent<{
|
486
|
-
config: {
|
487
|
-
default: () => {};
|
488
|
-
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
489
|
-
};
|
490
|
-
data: {
|
491
|
-
default: () => {};
|
492
|
-
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
493
|
-
};
|
494
494
|
}, {
|
495
495
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
496
496
|
config: {
|
@@ -15,7 +15,10 @@ function useCumputedPoint(propItems) {
|
|
15
15
|
function computedYCell(type) {
|
16
16
|
let yScaleCell = 0;
|
17
17
|
const item = left.yScaleValue.find((v) => v.type === type);
|
18
|
-
const
|
18
|
+
const {
|
19
|
+
list = [],
|
20
|
+
sinkNumber = 0
|
21
|
+
} = item || {};
|
19
22
|
if (!list.length)
|
20
23
|
return {
|
21
24
|
yScaleCell,
|
@@ -24,7 +27,8 @@ function useCumputedPoint(propItems) {
|
|
24
27
|
yScaleCell = yCellHeight / ((list[1] - list[0]) / item.spaceGridNumber);
|
25
28
|
return {
|
26
29
|
yScaleCell,
|
27
|
-
list
|
30
|
+
list,
|
31
|
+
sinkNumber
|
28
32
|
};
|
29
33
|
}
|
30
34
|
function computedX(value, setAllCenter = false) {
|
@@ -44,11 +48,12 @@ function useCumputedPoint(propItems) {
|
|
44
48
|
function computedY(type, value) {
|
45
49
|
const {
|
46
50
|
yScaleCell,
|
47
|
-
list
|
51
|
+
list,
|
52
|
+
sinkNumber
|
48
53
|
} = computedYCell(type);
|
49
54
|
const yCellUnit = +value - Math.min(...list);
|
50
55
|
const newEndY = type === "pain" ? painOriginY.endY : vitalSignsOriginY.endY;
|
51
|
-
return newEndY - yScaleCell * yCellUnit;
|
56
|
+
return newEndY - (yScaleCell * yCellUnit - yCellHeight * sinkNumber);
|
52
57
|
}
|
53
58
|
function getXValue(pointX) {
|
54
59
|
const index = xScaleList.findIndex((v) => v.left + xCellWidth >= pointX);
|
@@ -63,11 +68,12 @@ function useCumputedPoint(propItems) {
|
|
63
68
|
function getYValue(type, pointY) {
|
64
69
|
const {
|
65
70
|
yScaleCell,
|
66
|
-
list
|
71
|
+
list,
|
72
|
+
sinkNumber
|
67
73
|
} = computedYCell(type);
|
68
74
|
const minVal = list.length ? Math.min(...list) : 0;
|
69
75
|
const newEndY = type === "pain" ? painOriginY.endY : vitalSignsOriginY.endY;
|
70
|
-
const y = (newEndY - pointY) / yScaleCell + minVal;
|
76
|
+
const y = (newEndY - pointY + yCellHeight * sinkNumber) / yScaleCell + minVal;
|
71
77
|
const decimal = type === "temperature" ? 10 : 1;
|
72
78
|
return getRoundNumber(y, decimal);
|
73
79
|
}
|
@@ -211,6 +211,7 @@ declare const FieldEditor: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
211
211
|
type: BooleanConstructor;
|
212
212
|
};
|
213
213
|
lazyRender: BooleanConstructor;
|
214
|
+
dialogFn: {};
|
214
215
|
}, {
|
215
216
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
216
217
|
fieldList: {
|
@@ -414,6 +415,7 @@ declare const FieldEditor: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
414
415
|
type: BooleanConstructor;
|
415
416
|
};
|
416
417
|
lazyRender: BooleanConstructor;
|
418
|
+
dialogFn: {};
|
417
419
|
}>> & {
|
418
420
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
419
421
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -590,6 +592,7 @@ declare const FieldEditor: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
590
592
|
feedbackType: "default" | "tooltip";
|
591
593
|
fixMemoLeak: boolean;
|
592
594
|
lazyRender: boolean;
|
595
|
+
dialogFn: import("../../shared/types").AnyFn;
|
593
596
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
594
597
|
[key: symbol]: any;
|
595
598
|
[key: `x-${string}`]: any;
|
@@ -977,6 +980,7 @@ declare const FieldEditor: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
977
980
|
type: BooleanConstructor;
|
978
981
|
};
|
979
982
|
lazyRender: BooleanConstructor;
|
983
|
+
dialogFn: {};
|
980
984
|
}>> & {
|
981
985
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
982
986
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -212,6 +212,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
212
212
|
type: BooleanConstructor;
|
213
213
|
};
|
214
214
|
lazyRender: BooleanConstructor;
|
215
|
+
dialogFn: {};
|
215
216
|
}, {
|
216
217
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
217
218
|
fieldList: {
|
@@ -415,6 +416,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
415
416
|
type: BooleanConstructor;
|
416
417
|
};
|
417
418
|
lazyRender: BooleanConstructor;
|
419
|
+
dialogFn: {};
|
418
420
|
}>> & {
|
419
421
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
420
422
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -591,6 +593,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
591
593
|
feedbackType: "default" | "tooltip";
|
592
594
|
fixMemoLeak: boolean;
|
593
595
|
lazyRender: boolean;
|
596
|
+
dialogFn: import("../../../shared/types").AnyFn;
|
594
597
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
595
598
|
[key: symbol]: any;
|
596
599
|
[key: `x-${string}`]: any;
|
@@ -978,6 +981,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
978
981
|
type: BooleanConstructor;
|
979
982
|
};
|
980
983
|
lazyRender: BooleanConstructor;
|
984
|
+
dialogFn: {};
|
981
985
|
}>> & {
|
982
986
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
983
987
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -534,9 +534,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
534
534
|
}>;
|
535
535
|
developMode: boolean;
|
536
536
|
draggable: boolean;
|
537
|
+
isHighlightRow: boolean;
|
537
538
|
idx: number;
|
538
539
|
isHighlight: boolean;
|
539
|
-
isHighlightRow: boolean;
|
540
540
|
isFieldSet: boolean;
|
541
541
|
fieldDescribeMode: "column" | "tooltip";
|
542
542
|
hideExpressionOption: AnyObject[];
|
@@ -563,9 +563,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
563
563
|
}>;
|
564
564
|
developMode: boolean;
|
565
565
|
draggable: boolean;
|
566
|
+
isHighlightRow: boolean;
|
566
567
|
idx: number;
|
567
568
|
isHighlight: boolean;
|
568
|
-
isHighlightRow: boolean;
|
569
569
|
isFieldSet: boolean;
|
570
570
|
fieldDescribeMode: "column" | "tooltip";
|
571
571
|
hideExpressionOption: AnyObject[];
|
@@ -722,9 +722,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
722
722
|
}>;
|
723
723
|
developMode: boolean;
|
724
724
|
draggable: boolean;
|
725
|
+
isHighlightRow: boolean;
|
725
726
|
idx: number;
|
726
727
|
isHighlight: boolean;
|
727
|
-
isHighlightRow: boolean;
|
728
728
|
isFieldSet: boolean;
|
729
729
|
fieldDescribeMode: "column" | "tooltip";
|
730
730
|
hideExpressionOption: AnyObject[];
|