cnhis-design-vue 3.3.2-beta.17 → 3.3.2-beta.19

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.
Files changed (50) hide show
  1. package/README.md +87 -87
  2. package/es/components/audio-sdk/index.d.ts +172 -146
  3. package/es/components/audio-sdk/src/Index.vue.d.ts +173 -147
  4. package/es/components/audio-sdk/src/Index.vue2.js +131 -53
  5. package/es/components/audio-sdk/src/audioSDK.d.ts +29 -26
  6. package/es/components/audio-sdk/src/audioSDK.js +124 -42
  7. package/es/components/audio-sdk/src/components/readyCountdown.vue.d.ts +31 -0
  8. package/es/components/audio-sdk/src/components/readyCountdown.vue.js +6 -0
  9. package/es/components/audio-sdk/src/components/readyCountdown.vue2.js +46 -0
  10. package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +137 -10
  11. package/es/components/audio-sdk/src/components/recording.vue.d.ts +138 -11
  12. package/es/components/audio-sdk/src/components/recording.vue2.js +317 -74
  13. package/es/components/audio-sdk/src/hooks/useChartAudioContext.d.ts +24 -0
  14. package/es/components/audio-sdk/src/hooks/useChartAudioContext.js +176 -0
  15. package/es/components/audio-sdk/src/svgs/Close.vue.js +26 -0
  16. package/es/components/audio-sdk/src/svgs/Continue.vue.js +20 -0
  17. package/es/components/audio-sdk/src/svgs/Enlarge.vue.js +20 -0
  18. package/es/components/audio-sdk/src/svgs/Pause.vue.js +20 -0
  19. package/es/components/audio-sdk/src/svgs/WaveView.vue.js +20 -0
  20. package/es/components/audio-sdk/src/svgs/Zoom.vue.js +27 -0
  21. package/es/components/audio-sdk/src/types/index.d.ts +42 -0
  22. package/es/components/audio-sdk/src/types/index.js +10 -0
  23. package/es/components/audio-sdk/src/utils/recordingModal.d.ts +9 -3
  24. package/es/components/audio-sdk/src/utils/recordingModal.js +57 -32
  25. package/es/components/audio-sdk/style/index.css +1 -1
  26. package/es/components/button-print/index.d.ts +11 -4
  27. package/es/components/button-print/src/ButtonPrint.vue.d.ts +11 -4
  28. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -2
  29. package/es/components/button-print/src/components/IdentityVerification.vue2.js +6 -2
  30. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +7 -2
  31. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +12 -2
  32. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +4 -2
  33. package/es/components/button-print/src/components/Preview.vue.d.ts +5 -2
  34. package/es/components/button-print/src/components/Preview.vue2.js +6 -2
  35. package/es/components/button-print/src/utils/dialog.js +2 -2
  36. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  37. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +2 -1
  38. package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
  39. package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
  40. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  41. package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
  42. package/es/components/form-render/src/components/renderer/textarea.js +4 -3
  43. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  44. package/es/components/index.css +1 -1
  45. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  46. package/es/env.d.ts +25 -25
  47. package/es/shared/package.json.js +1 -1
  48. package/package.json +2 -2
  49. package/es/components/audio-sdk/src/components/recording-modal.vue.js +0 -6
  50. package/es/components/audio-sdk/src/components/recording-modal.vue2.js +0 -40
@@ -0,0 +1,20 @@
1
+ import { openBlock, createElementBlock, createStaticVNode } from 'vue';
2
+ import _export_sfc from '../../../../_virtual/_plugin-vue_export-helper.js';
3
+
4
+ const _sfc_main = {};
5
+ const _hoisted_1 = {
6
+ width: "26.4px",
7
+ height: "26.4px",
8
+ viewBox: "0 0 26.4 26.4",
9
+ version: "1.1",
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ "xmlns:xlink": "http://www.w3.org/1999/xlink"
12
+ };
13
+ const _hoisted_2 = /* @__PURE__ */ createStaticVNode('<g id="\u7535\u5B50\u75C5\u5386" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="\u753B\u677F" transform="translate(-768, -730)" fill="#000000"><g id="\u7F16\u7EC4-10" transform="translate(111, 186)"><g id="\u7F16\u7EC4-6\u5907\u4EFD-21" transform="translate(368, 532)"><g id="\u653E\u5927" transform="translate(289, 12)"><rect id="\u77E9\u5F62" fill-rule="nonzero" opacity="0" x="0" y="0" width="26.4" height="26.4"></rect><path d="M19.991132,14.5233918 L19.992132,18.092075 L16.9507105,15.1164739 L15.5658776,16.5316198 L18.573132,19.473075 L15.041132,19.4733918 L15.041132,21.4533918 L21.971132,21.4533918 L21.971132,14.5233918 L19.991132,14.5233918 Z M4.94435721,4.54007504 L4.94435721,11.470075 L6.92435721,11.470075 L6.92613196,7.90807504 L10.388525,11.3209329 L11.778228,9.91056926 L8.33813196,6.51907504 L11.8743572,6.52007504 L11.8743572,4.54007504 L4.94435721,4.54007504 Z" id="\u5F62\u72B6\u7ED3\u5408" fill-opacity="0.6"></path></g></g></g></g></g>', 1);
14
+ const _hoisted_3 = [_hoisted_2];
15
+ function _sfc_render(_ctx, _cache) {
16
+ return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3);
17
+ }
18
+ var EnlargeSvg = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "Enlarge.vue"]]);
19
+
20
+ export { EnlargeSvg as default };
@@ -0,0 +1,20 @@
1
+ import { openBlock, createElementBlock, createStaticVNode } from 'vue';
2
+ import _export_sfc from '../../../../_virtual/_plugin-vue_export-helper.js';
3
+
4
+ const _sfc_main = {};
5
+ const _hoisted_1 = {
6
+ width: "32px",
7
+ height: "32.3232323px",
8
+ viewBox: "0 0 32 32.3232323",
9
+ version: "1.1",
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ "xmlns:xlink": "http://www.w3.org/1999/xlink"
12
+ };
13
+ const _hoisted_2 = /* @__PURE__ */ createStaticVNode('<g id="\u7535\u5B50\u75C5\u5386" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="\u753B\u677F" transform="translate(-1061, -727)"><g id="\u7F16\u7EC4-10" transform="translate(111, 186)"><g id="\u7F16\u7EC4-7" transform="translate(767, 532)"><g id="\u6682\u505C\u5F55\u97F3" transform="translate(183, 9)"><ellipse id="\u692D\u5706\u5F62" fill-opacity="0.08" fill="#5F58E0" cx="16" cy="16.1616162" rx="16" ry="16.1616162"></ellipse><rect id="\u77E9\u5F62" fill="#464646" x="9.94285714" y="9.23520924" width="4.57142857" height="13.8528139" rx="0.916666667"></rect><rect id="\u77E9\u5F62\u5907\u4EFD-7" fill="#464646" x="17.4857143" y="9.23520924" width="4.57142857" height="13.8528139" rx="0.916666667"></rect></g></g></g></g></g>', 1);
14
+ const _hoisted_3 = [_hoisted_2];
15
+ function _sfc_render(_ctx, _cache) {
16
+ return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3);
17
+ }
18
+ var PauseSvg = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "Pause.vue"]]);
19
+
20
+ export { PauseSvg as default };
@@ -0,0 +1,20 @@
1
+ import { openBlock, createElementBlock, createStaticVNode } from 'vue';
2
+ import _export_sfc from '../../../../_virtual/_plugin-vue_export-helper.js';
3
+
4
+ const _sfc_main = {};
5
+ const _hoisted_1 = {
6
+ width: "32px",
7
+ height: "6.46464646px",
8
+ viewBox: "0 0 32 6.46464646",
9
+ version: "1.1",
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ "xmlns:xlink": "http://www.w3.org/1999/xlink"
12
+ };
13
+ const _hoisted_2 = /* @__PURE__ */ createStaticVNode('<g id="\u7535\u5B50\u75C5\u5386" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="\u753B\u677F" transform="translate(-895, -740)"><g id="\u7F16\u7EC4-10" transform="translate(111, 186)"><g id="\u7F16\u7EC4-7" transform="translate(767, 532)"><g id="\u7F16\u7EC4\u5907\u4EFD-6" transform="translate(17, 22)"><rect id="\u77E9\u5F62" fill="#2474FF" x="0" y="0" width="6.4" height="6.46464646" rx="3.2"></rect><rect id="\u77E9\u5F62\u5907\u4EFD" fill="#2474FF" x="12.8" y="0" width="6.4" height="6.46464646" rx="3.2"></rect><rect id="\u77E9\u5F62\u5907\u4EFD-2" fill="#5F58E0" x="25.6" y="0" width="6.4" height="6.46464646" rx="3.2"></rect></g></g></g></g></g>', 1);
14
+ const _hoisted_3 = [_hoisted_2];
15
+ function _sfc_render(_ctx, _cache) {
16
+ return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3);
17
+ }
18
+ var WaveView = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "WaveView.vue"]]);
19
+
20
+ export { WaveView as default };
@@ -0,0 +1,27 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
+ import _export_sfc from '../../../../_virtual/_plugin-vue_export-helper.js';
3
+
4
+ const _sfc_main = {};
5
+ const _hoisted_1 = {
6
+ t: "1709014288728",
7
+ class: "icon",
8
+ viewBox: "0 0 1024 1024",
9
+ version: "1.1",
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ "p-id": "33128",
12
+ id: "mx_n_1709014288728",
13
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
14
+ width: "32",
15
+ height: "32"
16
+ };
17
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode("path", {
18
+ d: "M928 0A96 96 0 0 1 1024 96v832a96 96 0 0 1-96 96h-832A96 96 0 0 1 0 928v-832A96 96 0 0 1 96 0h832z m0 64h-832a32 32 0 0 0-31.488 26.24L64 96v832a32 32 0 0 0 26.24 31.488L96 960h832a32 32 0 0 0 31.488-26.24L960 928v-832a32 32 0 0 0-26.24-31.488L928 64zM455.232 560a8 8 0 0 1 8.896 8.96l-23.488 189.056a7.936 7.936 0 0 1-13.504 4.736l-54.656-54.72-153.6 153.6a8 8 0 0 1-11.264 0l-45.184-44.992a8 8 0 0 1 0-11.328l153.6-153.6-54.656-54.72a7.936 7.936 0 0 1 4.672-13.44z m350.08-397.696a8 8 0 0 1 11.2 0l45.12 45.12a8 8 0 0 1 0 11.264l-153.472 153.536 54.656 54.72a7.936 7.936 0 0 1-4.672 13.44l-189.248 23.488a7.552 7.552 0 0 1-6.656-2.176 7.872 7.872 0 0 1-2.176-6.72l23.424-189.056a7.872 7.872 0 0 1 13.44-4.736l54.72 54.72z",
19
+ "p-id": "33129"
20
+ }, null, -1);
21
+ const _hoisted_3 = [_hoisted_2];
22
+ function _sfc_render(_ctx, _cache) {
23
+ return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3);
24
+ }
25
+ var ZoomSvg = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "Zoom.vue"]]);
26
+
27
+ export { ZoomSvg as default };
@@ -0,0 +1,42 @@
1
+ export declare namespace AudioTypes {
2
+ type MessageHandler = {
3
+ resolve: (value: SpeechResult) => void;
4
+ reject: (reason?: SpeechError) => void;
5
+ };
6
+ interface SpeechResult {
7
+ result: 'success';
8
+ data?: string;
9
+ timeout?: boolean;
10
+ }
11
+ interface SpeechError {
12
+ result: 'fail';
13
+ msg?: string;
14
+ wsTimeout?: boolean;
15
+ isUserNotAllow?: boolean;
16
+ }
17
+ enum ConnectionState {
18
+ DISCONNECTED = 0,
19
+ CONNECTING = 1,
20
+ CONNECTED = 2
21
+ }
22
+ type WaveViewOptions = {
23
+ waveSelector?: any;
24
+ waveProps?: any;
25
+ };
26
+ type AudioOptions = Partial<{
27
+ timed: number;
28
+ showModal: boolean;
29
+ instance: any;
30
+ token: string;
31
+ origin: string;
32
+ wsType: 'whole' | 'chunk';
33
+ type: 'http' | 'websocket';
34
+ wsOrigin: string;
35
+ wsSendInterval: number;
36
+ uploadOrigin: string;
37
+ recognizeOrigin: string;
38
+ allowPunctuationMark: boolean;
39
+ lastChunkTimeout: number;
40
+ wsTimeout: number;
41
+ }>;
42
+ }
@@ -0,0 +1,10 @@
1
+ var AudioTypes;
2
+ ((AudioTypes2) => {
3
+ ((ConnectionState2) => {
4
+ ConnectionState2[ConnectionState2["DISCONNECTED"] = 0] = "DISCONNECTED";
5
+ ConnectionState2[ConnectionState2["CONNECTING"] = 1] = "CONNECTING";
6
+ ConnectionState2[ConnectionState2["CONNECTED"] = 2] = "CONNECTED";
7
+ })(AudioTypes2.ConnectionState || (AudioTypes2.ConnectionState = {}));
8
+ })(AudioTypes || (AudioTypes = {}));
9
+
10
+ export { AudioTypes };
@@ -1,14 +1,20 @@
1
1
  import { ComponentInternalInstance } from 'vue';
2
- import { AnyObject } from '../../../../shared/types';
2
+ import { AnyObject, AnyFn } from '../../../../shared/types';
3
3
  export declare class RecordingModal {
4
4
  rendered: boolean;
5
5
  target: HTMLElement | null;
6
6
  modalType: string;
7
- show({ instance, modalType, onClose, props }: {
7
+ visible: import("vue").Ref<boolean>;
8
+ loading: import("vue").Ref<boolean>;
9
+ show({ instance, modalType, onClose, startWaveViewMethod, pause, resume, props }: {
8
10
  instance?: ComponentInternalInstance;
9
- onClose: () => void;
11
+ onClose: (obj?: AnyObject) => Promise<void>;
12
+ startWaveViewMethod: AnyFn;
13
+ pause: AnyFn;
14
+ resume: AnyFn;
10
15
  modalType?: string;
11
16
  props: AnyObject;
12
17
  }): void;
18
+ setLoading(): void;
13
19
  hide(): void;
14
20
  }
@@ -1,67 +1,92 @@
1
- import { ref, watch, render, createVNode, withCtx, mergeProps, nextTick } from 'vue';
1
+ import { ref, render, createVNode, nextTick } from 'vue';
2
2
  import { createProviderWrapper } from '../../../../shared/utils/index.js';
3
- import RecordingModal$1 from '../components/recording-modal.vue.js';
3
+ import CRecording from '../components/recording.vue.js';
4
+ import { NModal } from 'naive-ui';
4
5
 
5
6
  class RecordingModal {
6
7
  constructor() {
7
8
  this.rendered = false;
8
9
  this.target = null;
9
10
  this.modalType = "recording";
11
+ this.visible = ref(false);
12
+ this.loading = ref(false);
10
13
  }
11
14
  show({
12
15
  instance,
13
16
  modalType,
14
17
  onClose,
18
+ startWaveViewMethod,
19
+ pause,
20
+ resume,
15
21
  props
16
22
  }) {
17
23
  this.modalType = modalType || "recording";
18
- if (this.rendered)
19
- return;
20
- this.rendered = true;
21
24
  const container = document.createElement("div");
22
- const visible = ref(false);
23
- const loading = ref(true);
24
25
  const ProviderWrapper = createProviderWrapper(instance);
25
26
  const that = this;
26
- watch(() => props.wsConnected.value, (wsConnected) => {
27
- if (wsConnected) {
28
- loading.value = false;
27
+ this.loading.value = false;
28
+ this.visible.value = false;
29
+ const handleClose = async (obj = {}) => {
30
+ try {
31
+ this.loading.value = true;
32
+ await onClose(obj);
33
+ this.visible.value = false;
34
+ this.loading.value = false;
35
+ } catch (error) {
36
+ console.error(error);
37
+ this.loading.value = false;
29
38
  }
30
- }, {
31
- immediate: true
32
- });
33
- function getBaseProps() {
34
- return {
35
- fromSdk: true,
36
- to: container,
37
- onClose,
38
- onAfterLeave: onClose
39
- };
40
- }
39
+ };
41
40
  render(createVNode(ProviderWrapper, null, {
42
- default: withCtx(() => createVNode(RecordingModal$1, mergeProps({
43
- "show": visible.value,
44
- "onUpdate:show": ($event) => visible.value = $event,
45
- "loading": loading.value,
46
- "onUpdate:loading": ($event) => loading.value = $event
47
- }, getBaseProps(), {
48
- "content": props.contentRef.value
49
- }), null), instance)
41
+ default: () => [createVNode(NModal, {
42
+ "close-on-esc": false,
43
+ "mask-closable": false,
44
+ "show": this.visible.value,
45
+ "on-update:show": (val) => this.visible.value = val,
46
+ "class": "c-sdk-recording-modal"
47
+ }, {
48
+ default: () => createVNode(CRecording, {
49
+ "loading": this.loading.value,
50
+ "onUpdate:loading": ($event) => this.loading.value = $event,
51
+ "fromSdk": true,
52
+ "show": this.visible.value,
53
+ "content": props.contentRef.value,
54
+ "wsConnected": props.wsConnected.value,
55
+ "recorderStatus": props.recorderStatus.value,
56
+ "startWaveViewMethod": startWaveViewMethod,
57
+ "onClose": handleClose,
58
+ "onPause": pause,
59
+ "onResume": resume
60
+ }, null)
61
+ })]
50
62
  }), container);
51
63
  mount(container);
52
- nextTick(() => visible.value = true);
64
+ nextTick(() => this.visible.value = true);
53
65
  function mount(target) {
54
66
  document.body.appendChild(target);
55
67
  that.target = target;
56
68
  }
57
69
  }
70
+ setLoading() {
71
+ if (this.loading.value)
72
+ return;
73
+ this.loading.value = true;
74
+ }
58
75
  hide() {
59
76
  var _a;
60
77
  if (!((_a = this.target) == null ? void 0 : _a.parentElement))
61
78
  return;
79
+ this.loading.value = false;
80
+ this.visible.value = false;
62
81
  this.rendered = false;
63
- this.target.parentElement.removeChild(this.target);
64
- this.target = null;
82
+ nextTick(() => {
83
+ var _a2;
84
+ if (!this.target)
85
+ return;
86
+ render(null, this.target);
87
+ (_a2 = this.target.parentElement) == null ? void 0 : _a2.removeChild(this.target);
88
+ this.target = null;
89
+ });
65
90
  }
66
91
  }
67
92
 
@@ -1 +1 @@
1
- .c-recording-wrapper{align-items:center;background-color:#fff;border-radius:10px;display:flex;flex-flow:column nowrap;height:350px;justify-content:center;padding:20px;width:500px}@keyframes toScale{0%{transform:translateX(-50%) translateY(-50%) scale(1)}to{transform:translateX(-50%) translateY(-50%) scale(1.5)}}.c-recording-wrapper .content{-webkit-box-orient:vertical;-webkit-line-clamp:3;display:-webkit-box;font-size:18px;overflow:hidden;text-align:center}.c-recording-wrapper .icon-box{background-color:#5585f5;cursor:pointer;margin:30px auto;position:relative}.c-recording-wrapper .icon-box,.c-recording-wrapper .icon-box:before{align-items:center;border-radius:50%;display:flex;height:90px;justify-content:center;width:90px}.c-recording-wrapper .icon-box:before{animation:toScale 1s infinite;background-color:#5585f54d;content:"";left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%) scale(1);transform-origin:center center}.c-recording-wrapper .title{height:50px;width:100%}.c-recording-wrapper .title h5{font-size:15px}.c-recording-wrapper .btns{display:flex;margin-top:10px}.c-recording-wrapper .btns .n-button:first-child{margin-right:30px}.c-recording-sdk-wrapper{display:flex;flex-flow:column nowrap;height:100%;padding:20px;width:100%}.c-recording-sdk-wrapper .c-recording-wrapper{box-sizing:border-box;flex:1;width:100%}.c-recording-sdk-wrapper .n-scrollbar{flex:1}.c-recording-sdk-wrapper .n-scrollbar .n-form{text-align:left}
1
+ .c-recording-wrapper{align-items:center;background-color:#fff;border:2px solid #cbd4e4;border-radius:16px;box-sizing:border-box;display:flex;flex-flow:column nowrap;justify-content:center;width:330px}.c-recording-wrapper .n-spin-container,.c-recording-wrapper .n-spin-content{border-radius:16px;height:100%;width:100%}.c-recording-wrapper .n-spin-content{background-color:#fff}.c-recording-wrapper .c-recording-top-wrap{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:18px 24px 24px;width:100%}.c-recording-wrapper .c-recording-top-wrap .c-recording-header{width:100%}.c-recording-wrapper .c-recording-top-wrap .c-recording-header .n-space .n-icon{cursor:pointer}.c-recording-wrapper .c-recording-top-wrap .c-recording-container{align-items:center;display:flex;flex-direction:column;justify-content:space-between;width:100%}.c-recording-wrapper .c-recording-top-wrap .c-recording-container .c-recording-status-section{box-sizing:border-box;height:174px;padding:24px 0;width:100%}.c-recording-wrapper .c-recording-top-wrap .c-recording-container .c-recording-status-section>.n-space{height:100%;width:100%}.c-recording-wrapper .c-recording-top-wrap .c-recording-container .c-recording-status-section .c-recording-chart-box{height:54px;width:280px}.c-recording-wrapper .c-recording-top-wrap .c-recording-container .c-recording-ready{text-align:center;width:100%}.c-recording-wrapper .c-recording-top-wrap .c-recording-container .c-recording-ready .c-recording-countdown-box{background:rgba(255,0,0,.1);border-radius:50%;height:80px;margin:0 auto;position:relative;width:80px}.c-recording-wrapper .c-recording-top-wrap .c-recording-container .c-recording-ready .c-recording-countdown-box>span{bottom:0;color:red;font-size:52px;left:0;position:absolute;right:0;top:0}.c-recording-wrapper .c-recording-top-wrap .c-recording-container .c-recording-ready h4{color:#000;font-size:16px;margin:8px 0}.c-recording-wrapper .c-recording-top-wrap .c-recording-container .c-recording-ready .c-recording-ready-desc{color:#a5a5a5}.c-recording-wrapper .c-recording-top-wrap .c-recording-container .c-recording-btn-section .n-button{font-size:16px;height:48px;line-height:45;padding:0 44px}.c-recording-wrapper .c-recording-top-wrap .c-recording-container .c-recording-btn-section .n-button:not(:last-child){--n-border:2px solid #cbd4e4!important;color:#000}.c-recording-wrapper .c-recording-top-wrap .tip{color:rgba(0,0,0,.8);font-size:16px;margin:0}.c-recording-wrapper .c-recording-top-wrap h3{font-size:32px;margin:0}.c-recording-wrapper .c-recording-content-wrap{border-bottom-left-radius:16px;border-bottom-right-radius:16px;box-sizing:border-box;color:#000;mask-image:linear-gradient(180deg,transparent 0,#000 20%);max-height:150px;overflow-y:auto;padding:16px;position:relative;text-align:left;white-space:pre-wrap;width:100%}.c-recording-wrapper .c-recording-content-wrap::-webkit-scrollbar{background-color:transparent;height:10px;width:10px}.c-recording-wrapper .c-recording-content-wrap::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#b2b2b2;border:3px dashed transparent;border-radius:5px}.c-recording-wrapper .c-recording-content-wrap::-webkit-scrollbar-thumb:hover{background:#b2b2b2}.c-recording-wrapper .c-recording-content-wrap .content{line-height:20px;margin:0}.c-recording-wrapper .c-recording-small{align-items:center;box-sizing:border-box;color:rgba(0,0,0,.8);display:flex;flex-wrap:nowrap;font-size:16px;justify-content:space-between;padding:12px 14px 12px 16px;width:100%}.c-recording-wrapper .c-recording-small .c-recording-chart-box-small,.c-recording-wrapper .c-recording-small .c-recording-chart-box-small-wrap{box-sizing:border-box;height:30px;width:40px}.c-recording-wrapper .c-recording-small .n-icon{cursor:pointer;font-size:30px}.c-recording-wrapper .c-recording-small .tip-small{flex-shrink:0;width:64px}.c-recording-wrapper .c-recording-small .c-recording-wave-view-svg{cursor:default}.c-recording-wrapper .c-recording-small .split-line{border-left:1px solid #cbd4e4;display:inline-block;height:24px;width:1px}.c-recording-wrapper .c-recording-small .c-recording-zoom-svg{font-size:28px}.c-recording-wrapper.c-recording-wrapper-warning{border-color:red}.c-recording-wrapper.c-recording-wrapper-warning .n-spin-content{background-color:hsla(0,94%,75%,.1)}.c-recording-wrapper.c-recording-wrapper-warning .c-recording-top-wrap .tip{color:red}.c-recording-wrapper.c-recording-wrapper-warning .c-recording-content-wrap{border-color:red}.c-recording-wrapper.c-recording-wrapper-warning .c-recording-chart-box-wrap{opacity:0;position:absolute;visibility:hidden;z-index:9999}.c-recording-wrapper.c-recording-wrapper-warning .c-recording-small .tip-small{color:red}.c-recording-wrapper.c-recording-wrapper-warning .c-recording-small .c-recording-chart-box-small-wrap{padding:0 5px}.c-recording-wrapper.c-recording-wrapper-warning .c-recording-small .c-recording-chart-box-small{opacity:0;position:absolute;visibility:hidden;z-index:9999}.c-recording-wrapper.c-recording-wrapper-pause .c-recording-formatted-time{color:red}.c-recording-wrapper.c-recording-wrapper-pause .c-recording-chart-box-wrap{opacity:0;position:absolute;visibility:hidden;z-index:9999}.c-recording-wrapper.c-recording-wrapper-pause .c-recording-small .c-recording-chart-box-small-wrap{padding:0 5px}.c-recording-wrapper.c-recording-wrapper-pause .c-recording-small .c-recording-chart-box-small{opacity:0;position:absolute;visibility:hidden;z-index:9999}.c-recording-wrapper.c-recording-wrapper-disabled .c-recording-small .n-icon:not(.c-recording-zoom-svg){cursor:not-allowed}.c-recording-wrapper.c-recording-wrapper-show_content .c-recording-small,.c-recording-wrapper.c-recording-wrapper-show_content .c-recording-top-wrap{border-bottom:2px solid #cbd4e4}.c-recording-wrapper.c-recording-wrapper-show_content.c-recording-wrapper-warning .c-recording-small,.c-recording-wrapper.c-recording-wrapper-show_content.c-recording-wrapper-warning .c-recording-top-wrap{border-color:red}.c-recording-sdk-wrapper{display:flex;flex-flow:column nowrap}.c-recording-sdk-wrapper .n-scrollbar{flex:1}.c-recording-sdk-wrapper.c-recording-sdk-wrapper-iframe .c-recording-wrapper .c-recording-content-wrap{height:150px}.c-sdk-recording-modal{box-shadow:0 11px 20px 0 rgba(173,198,236,.2);padding:0}
@@ -339,6 +339,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
339
339
  shortcut: {};
340
340
  buttonProps: {};
341
341
  showMaxHeight: null;
342
+ initLoadPrintParams: boolean;
342
343
  };
343
344
  };
344
345
  svrUpdateIp: {
@@ -457,6 +458,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
457
458
  shortcut: {};
458
459
  buttonProps: {};
459
460
  showMaxHeight: null;
461
+ initLoadPrintParams: boolean;
460
462
  };
461
463
  };
462
464
  svrUpdateIp: {
@@ -592,7 +594,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
592
594
  formatId?: string | undefined;
593
595
  templateId?: string | undefined;
594
596
  };
595
- emit: (event: "close" | "success" | "update:modelValue", ...args: any[]) => void;
597
+ emit: (event: "close" | "success" | "update:modelValue" | "afterLeaveComponent", ...args: any[]) => void;
596
598
  editFormRef: import("vue").Ref<{
597
599
  submit: Function;
598
600
  } | null>;
@@ -611,6 +613,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
611
613
  restoreValidation: () => void;
612
614
  } | null>;
613
615
  handleClickClose: () => void;
616
+ handleAfterLeave: () => void;
614
617
  loading: import("vue").Ref<boolean>;
615
618
  submit: () => Promise<false | undefined>;
616
619
  handleClickSubmit: () => void;
@@ -702,7 +705,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
702
705
  required: true;
703
706
  };
704
707
  }>>, {}>;
705
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue")[], "close" | "success" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
708
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue" | "afterLeaveComponent")[], "close" | "success" | "update:modelValue" | "afterLeaveComponent", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
706
709
  verifyUser: {
707
710
  type: FunctionConstructor;
708
711
  required: false;
@@ -729,6 +732,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
729
732
  onSuccess?: ((...args: any[]) => any) | undefined;
730
733
  onClose?: ((...args: any[]) => any) | undefined;
731
734
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
735
+ onAfterLeaveComponent?: ((...args: any[]) => any) | undefined;
732
736
  }, {
733
737
  verifyUser: Function;
734
738
  identityVerificationTitle: string;
@@ -832,6 +836,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
832
836
  shortcut: {};
833
837
  buttonProps: {};
834
838
  showMaxHeight: null;
839
+ initLoadPrintParams: boolean;
835
840
  };
836
841
  };
837
842
  svrUpdateIp: {
@@ -1185,7 +1190,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1185
1190
  formatId?: string | undefined;
1186
1191
  templateId?: string | undefined;
1187
1192
  };
1188
- emit: (event: "close" | "success" | "update:modelValue", ...args: any[]) => void;
1193
+ emit: (event: "close" | "success" | "update:modelValue" | "afterLeaveComponent", ...args: any[]) => void;
1189
1194
  editFormRef: import("vue").Ref<{
1190
1195
  submit: Function;
1191
1196
  } | null>;
@@ -1204,6 +1209,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1204
1209
  restoreValidation: () => void;
1205
1210
  } | null>;
1206
1211
  handleClickClose: () => void;
1212
+ handleAfterLeave: () => void;
1207
1213
  loading: import("vue").Ref<boolean>;
1208
1214
  submit: () => Promise<false | undefined>;
1209
1215
  handleClickSubmit: () => void;
@@ -1295,7 +1301,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1295
1301
  required: true;
1296
1302
  };
1297
1303
  }>>, {}>;
1298
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue")[], "close" | "success" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1304
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue" | "afterLeaveComponent")[], "close" | "success" | "update:modelValue" | "afterLeaveComponent", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1299
1305
  verifyUser: {
1300
1306
  type: FunctionConstructor;
1301
1307
  required: false;
@@ -1322,6 +1328,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1322
1328
  onSuccess?: ((...args: any[]) => any) | undefined;
1323
1329
  onClose?: ((...args: any[]) => any) | undefined;
1324
1330
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1331
+ onAfterLeaveComponent?: ((...args: any[]) => any) | undefined;
1325
1332
  }, {
1326
1333
  verifyUser: Function;
1327
1334
  identityVerificationTitle: string;
@@ -345,6 +345,7 @@ declare const _default: import("vue").DefineComponent<{
345
345
  shortcut: {};
346
346
  buttonProps: {};
347
347
  showMaxHeight: null;
348
+ initLoadPrintParams: boolean;
348
349
  };
349
350
  };
350
351
  svrUpdateIp: {
@@ -463,6 +464,7 @@ declare const _default: import("vue").DefineComponent<{
463
464
  shortcut: {};
464
465
  buttonProps: {};
465
466
  showMaxHeight: null;
467
+ initLoadPrintParams: boolean;
466
468
  };
467
469
  };
468
470
  svrUpdateIp: {
@@ -598,7 +600,7 @@ declare const _default: import("vue").DefineComponent<{
598
600
  formatId?: string | undefined;
599
601
  templateId?: string | undefined;
600
602
  };
601
- emit: (event: "close" | "success" | "update:modelValue", ...args: any[]) => void;
603
+ emit: (event: "close" | "success" | "update:modelValue" | "afterLeaveComponent", ...args: any[]) => void;
602
604
  editFormRef: import("vue").Ref<{
603
605
  submit: Function;
604
606
  } | null>;
@@ -617,6 +619,7 @@ declare const _default: import("vue").DefineComponent<{
617
619
  restoreValidation: () => void;
618
620
  } | null>;
619
621
  handleClickClose: () => void;
622
+ handleAfterLeave: () => void;
620
623
  loading: import("vue").Ref<boolean>;
621
624
  submit: () => Promise<false | undefined>;
622
625
  handleClickSubmit: () => void;
@@ -708,7 +711,7 @@ declare const _default: import("vue").DefineComponent<{
708
711
  required: true;
709
712
  };
710
713
  }>>, {}>;
711
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue")[], "close" | "success" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
714
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue" | "afterLeaveComponent")[], "close" | "success" | "update:modelValue" | "afterLeaveComponent", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
712
715
  verifyUser: {
713
716
  type: FunctionConstructor;
714
717
  required: false;
@@ -735,6 +738,7 @@ declare const _default: import("vue").DefineComponent<{
735
738
  onSuccess?: ((...args: any[]) => any) | undefined;
736
739
  onClose?: ((...args: any[]) => any) | undefined;
737
740
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
741
+ onAfterLeaveComponent?: ((...args: any[]) => any) | undefined;
738
742
  }, {
739
743
  verifyUser: Function;
740
744
  identityVerificationTitle: string;
@@ -838,6 +842,7 @@ declare const _default: import("vue").DefineComponent<{
838
842
  shortcut: {};
839
843
  buttonProps: {};
840
844
  showMaxHeight: null;
845
+ initLoadPrintParams: boolean;
841
846
  };
842
847
  };
843
848
  svrUpdateIp: {
@@ -1191,7 +1196,7 @@ declare const _default: import("vue").DefineComponent<{
1191
1196
  formatId?: string | undefined;
1192
1197
  templateId?: string | undefined;
1193
1198
  };
1194
- emit: (event: "close" | "success" | "update:modelValue", ...args: any[]) => void;
1199
+ emit: (event: "close" | "success" | "update:modelValue" | "afterLeaveComponent", ...args: any[]) => void;
1195
1200
  editFormRef: import("vue").Ref<{
1196
1201
  submit: Function;
1197
1202
  } | null>;
@@ -1210,6 +1215,7 @@ declare const _default: import("vue").DefineComponent<{
1210
1215
  restoreValidation: () => void;
1211
1216
  } | null>;
1212
1217
  handleClickClose: () => void;
1218
+ handleAfterLeave: () => void;
1213
1219
  loading: import("vue").Ref<boolean>;
1214
1220
  submit: () => Promise<false | undefined>;
1215
1221
  handleClickSubmit: () => void;
@@ -1301,7 +1307,7 @@ declare const _default: import("vue").DefineComponent<{
1301
1307
  required: true;
1302
1308
  };
1303
1309
  }>>, {}>;
1304
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue")[], "close" | "success" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1310
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue" | "afterLeaveComponent")[], "close" | "success" | "update:modelValue" | "afterLeaveComponent", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1305
1311
  verifyUser: {
1306
1312
  type: FunctionConstructor;
1307
1313
  required: false;
@@ -1328,6 +1334,7 @@ declare const _default: import("vue").DefineComponent<{
1328
1334
  onSuccess?: ((...args: any[]) => any) | undefined;
1329
1335
  onClose?: ((...args: any[]) => any) | undefined;
1330
1336
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1337
+ onAfterLeaveComponent?: ((...args: any[]) => any) | undefined;
1331
1338
  }, {
1332
1339
  verifyUser: Function;
1333
1340
  identityVerificationTitle: string;
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<{
36
36
  formatId?: string | undefined;
37
37
  templateId?: string | undefined;
38
38
  };
39
- emit: (event: "close" | "success" | "update:modelValue", ...args: any[]) => void;
39
+ emit: (event: "close" | "success" | "update:modelValue" | "afterLeaveComponent", ...args: any[]) => void;
40
40
  editFormRef: import("vue").Ref<{
41
41
  submit: Function;
42
42
  } | null>;
@@ -55,6 +55,7 @@ declare const _default: import("vue").DefineComponent<{
55
55
  restoreValidation: () => void;
56
56
  } | null>;
57
57
  handleClickClose: () => void;
58
+ handleAfterLeave: () => void;
58
59
  loading: import("vue").Ref<boolean>;
59
60
  submit: () => Promise<false | undefined>;
60
61
  handleClickSubmit: () => void;
@@ -146,7 +147,7 @@ declare const _default: import("vue").DefineComponent<{
146
147
  required: true;
147
148
  };
148
149
  }>>, {}>;
149
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue")[], "close" | "success" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
150
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue" | "afterLeaveComponent")[], "close" | "success" | "update:modelValue" | "afterLeaveComponent", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
150
151
  verifyUser: {
151
152
  type: FunctionConstructor;
152
153
  required: false;
@@ -173,6 +174,7 @@ declare const _default: import("vue").DefineComponent<{
173
174
  onSuccess?: ((...args: any[]) => any) | undefined;
174
175
  onClose?: ((...args: any[]) => any) | undefined;
175
176
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
177
+ onAfterLeaveComponent?: ((...args: any[]) => any) | undefined;
176
178
  }, {
177
179
  verifyUser: Function;
178
180
  identityVerificationTitle: string;
@@ -28,7 +28,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
28
28
  formatId: null,
29
29
  templateId: null
30
30
  },
31
- emits: ["update:modelValue", "success", "close"],
31
+ emits: ["update:modelValue", "success", "close", "afterLeaveComponent"],
32
32
  setup(__props, {
33
33
  emit
34
34
  }) {
@@ -76,6 +76,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
76
76
  emit("update:modelValue", false);
77
77
  emit("close");
78
78
  };
79
+ const handleAfterLeave = () => {
80
+ emit("afterLeaveComponent");
81
+ };
79
82
  const loading = ref(false);
80
83
  const submit = async () => {
81
84
  var _a;
@@ -164,7 +167,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
164
167
  }() : "",
165
168
  onClose: handleClickClose,
166
169
  onNegativeClick: handleClickClose,
167
- onPositiveClick: submitEditFile
170
+ onPositiveClick: submitEditFile,
171
+ onAfterLeave: handleAfterLeave
168
172
  }, {
169
173
  default: withCtx(() => [createElementVNode("div", _hoisted_1, [showEditForm.value ? (openBlock(), createBlock(EditFormat, mergeProps({
170
174
  key: 0,
@@ -104,6 +104,7 @@ declare const _default: import("vue").DefineComponent<{
104
104
  shortcut: {};
105
105
  buttonProps: {};
106
106
  showMaxHeight: null;
107
+ initLoadPrintParams: boolean;
107
108
  };
108
109
  };
109
110
  svrUpdateIp: {
@@ -225,6 +226,7 @@ declare const _default: import("vue").DefineComponent<{
225
226
  shortcut: {};
226
227
  buttonProps: {};
227
228
  showMaxHeight: null;
229
+ initLoadPrintParams: boolean;
228
230
  };
229
231
  };
230
232
  svrUpdateIp: {
@@ -360,7 +362,7 @@ declare const _default: import("vue").DefineComponent<{
360
362
  formatId?: string | undefined;
361
363
  templateId?: string | undefined;
362
364
  };
363
- emit: (event: "close" | "success" | "update:modelValue", ...args: any[]) => void;
365
+ emit: (event: "close" | "success" | "update:modelValue" | "afterLeaveComponent", ...args: any[]) => void;
364
366
  editFormRef: import("vue").Ref<{
365
367
  submit: Function;
366
368
  } | null>;
@@ -379,6 +381,7 @@ declare const _default: import("vue").DefineComponent<{
379
381
  restoreValidation: () => void;
380
382
  } | null>;
381
383
  handleClickClose: () => void;
384
+ handleAfterLeave: () => void;
382
385
  loading: import("vue").Ref<boolean>;
383
386
  submit: () => Promise<false | undefined>;
384
387
  handleClickSubmit: () => void;
@@ -470,7 +473,7 @@ declare const _default: import("vue").DefineComponent<{
470
473
  required: true;
471
474
  };
472
475
  }>>, {}>;
473
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue")[], "close" | "success" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
476
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue" | "afterLeaveComponent")[], "close" | "success" | "update:modelValue" | "afterLeaveComponent", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
474
477
  verifyUser: {
475
478
  type: FunctionConstructor;
476
479
  required: false;
@@ -497,6 +500,7 @@ declare const _default: import("vue").DefineComponent<{
497
500
  onSuccess?: ((...args: any[]) => any) | undefined;
498
501
  onClose?: ((...args: any[]) => any) | undefined;
499
502
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
503
+ onAfterLeaveComponent?: ((...args: any[]) => any) | undefined;
500
504
  }, {
501
505
  verifyUser: Function;
502
506
  identityVerificationTitle: string;
@@ -603,6 +607,7 @@ declare const _default: import("vue").DefineComponent<{
603
607
  shortcut: {};
604
608
  buttonProps: {};
605
609
  showMaxHeight: null;
610
+ initLoadPrintParams: boolean;
606
611
  };
607
612
  };
608
613
  svrUpdateIp: {