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.
- package/README.md +87 -87
- package/es/components/audio-sdk/index.d.ts +172 -146
- package/es/components/audio-sdk/src/Index.vue.d.ts +173 -147
- package/es/components/audio-sdk/src/Index.vue2.js +131 -53
- package/es/components/audio-sdk/src/audioSDK.d.ts +29 -26
- package/es/components/audio-sdk/src/audioSDK.js +124 -42
- package/es/components/audio-sdk/src/components/readyCountdown.vue.d.ts +31 -0
- package/es/components/audio-sdk/src/components/readyCountdown.vue.js +6 -0
- package/es/components/audio-sdk/src/components/readyCountdown.vue2.js +46 -0
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +137 -10
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +138 -11
- package/es/components/audio-sdk/src/components/recording.vue2.js +317 -74
- package/es/components/audio-sdk/src/hooks/useChartAudioContext.d.ts +24 -0
- package/es/components/audio-sdk/src/hooks/useChartAudioContext.js +176 -0
- package/es/components/audio-sdk/src/svgs/Close.vue.js +26 -0
- package/es/components/audio-sdk/src/svgs/Continue.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/Enlarge.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/Pause.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/WaveView.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/Zoom.vue.js +27 -0
- package/es/components/audio-sdk/src/types/index.d.ts +42 -0
- package/es/components/audio-sdk/src/types/index.js +10 -0
- package/es/components/audio-sdk/src/utils/recordingModal.d.ts +9 -3
- package/es/components/audio-sdk/src/utils/recordingModal.js +57 -32
- package/es/components/audio-sdk/style/index.css +1 -1
- package/es/components/button-print/index.d.ts +11 -4
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +11 -4
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -2
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +6 -2
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +7 -2
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +12 -2
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +4 -2
- package/es/components/button-print/src/components/Preview.vue.d.ts +5 -2
- package/es/components/button-print/src/components/Preview.vue2.js +6 -2
- package/es/components/button-print/src/utils/dialog.js +2 -2
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +2 -1
- 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-render/src/components/renderer/textarea.js +4 -3
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
- package/es/components/audio-sdk/src/components/recording-modal.vue.js +0 -6
- package/es/components/audio-sdk/src/components/recording-modal.vue2.js +0 -40
@@ -193,7 +193,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
193
193
|
}]),
|
194
194
|
ref_key: "scaleViewDom",
|
195
195
|
ref: scaleViewDom
|
196
|
-
}, [createCommentVNode(' <template v-if="state.spinning">\
|
196
|
+
}, [createCommentVNode(' <template v-if="state.spinning">\n <n-spin :show="state.spinning" description="\u52A0\u8F7D\u4E2D"></n-spin>\n </template> '), !state.spinning && !state.hasFrontAddress ? (openBlock(), createElementBlock(Fragment, {
|
197
197
|
key: 0
|
198
198
|
}, [unref(noDataState).noData ? (openBlock(), createBlock(NoData, {
|
199
199
|
key: 0,
|
package/es/env.d.ts
CHANGED
@@ -1,25 +1,25 @@
|
|
1
|
-
/// <reference types="vite/client" />
|
2
|
-
|
3
|
-
interface ImportMetaEnv {
|
4
|
-
readonly VITE_APP_TYPE: string;
|
5
|
-
// 更多环境变量...
|
6
|
-
}
|
7
|
-
|
8
|
-
interface ImportMeta {
|
9
|
-
readonly env: ImportMetaEnv;
|
10
|
-
}
|
11
|
-
|
12
|
-
declare module '*.vue' {
|
13
|
-
// @ts-ignore
|
14
|
-
import type { App, defineComponent } from 'vue';
|
15
|
-
// // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
16
|
-
// // const component: DefineComponent<{}, {}, any>
|
17
|
-
const component: ReturnType<typeof defineComponent> & {
|
18
|
-
install(app: App): void;
|
19
|
-
};
|
20
|
-
// @ts-ignore
|
21
|
-
export default component;
|
22
|
-
}
|
23
|
-
|
24
|
-
declare module '*.js';
|
25
|
-
|
1
|
+
/// <reference types="vite/client" />
|
2
|
+
|
3
|
+
interface ImportMetaEnv {
|
4
|
+
readonly VITE_APP_TYPE: string;
|
5
|
+
// 更多环境变量...
|
6
|
+
}
|
7
|
+
|
8
|
+
interface ImportMeta {
|
9
|
+
readonly env: ImportMetaEnv;
|
10
|
+
}
|
11
|
+
|
12
|
+
declare module '*.vue' {
|
13
|
+
// @ts-ignore
|
14
|
+
import type { App, defineComponent } from 'vue';
|
15
|
+
// // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
16
|
+
// // const component: DefineComponent<{}, {}, any>
|
17
|
+
const component: ReturnType<typeof defineComponent> & {
|
18
|
+
install(app: App): void;
|
19
|
+
};
|
20
|
+
// @ts-ignore
|
21
|
+
export default component;
|
22
|
+
}
|
23
|
+
|
24
|
+
declare module '*.js';
|
25
|
+
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "cnhis-design-vue",
|
3
|
-
"version": "3.3.2-beta.
|
3
|
+
"version": "3.3.2-beta.19",
|
4
4
|
"license": "ISC",
|
5
5
|
"module": "./es/components/index.js",
|
6
6
|
"main": "./es/components/index.js",
|
@@ -72,5 +72,5 @@
|
|
72
72
|
"iOS 7",
|
73
73
|
"last 3 iOS versions"
|
74
74
|
],
|
75
|
-
"gitHead": "
|
75
|
+
"gitHead": "becad0d727c3a59994fdcc8ce30e930b51f2a358"
|
76
76
|
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import _sfc_main from './recording-modal.vue2.js';
|
2
|
-
import _export_sfc from '../../../../_virtual/_plugin-vue_export-helper.js';
|
3
|
-
|
4
|
-
var RecordingModal$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "recording-modal.vue"]]);
|
5
|
-
|
6
|
-
export { RecordingModal$1 as default };
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, normalizeStyle, withCtx, createVNode, mergeProps } from 'vue';
|
2
|
-
import { NModal } from 'naive-ui';
|
3
|
-
import { useTheme } from '../../../../shared/hooks/useTheme.js';
|
4
|
-
import '@vueuse/core';
|
5
|
-
import 'date-fns';
|
6
|
-
import 'lodash-es';
|
7
|
-
import '@vue/shared';
|
8
|
-
import '../../../../shared/utils/index.js';
|
9
|
-
import '@vueuse/shared';
|
10
|
-
import '../../../../shared/hooks/selectHooks/useSearchContent.js';
|
11
|
-
import '@vicons/ionicons5';
|
12
|
-
import '../../../../shared/hooks/useScrollLoading.js';
|
13
|
-
import CRecording from './recording.vue.js';
|
14
|
-
|
15
|
-
var _sfc_main = /* @__PURE__ */ defineComponent({
|
16
|
-
__name: "recording-modal",
|
17
|
-
props: {
|
18
|
-
content: {
|
19
|
-
type: String,
|
20
|
-
default: ""
|
21
|
-
}
|
22
|
-
},
|
23
|
-
setup(__props) {
|
24
|
-
const cssVars = useTheme();
|
25
|
-
return (_ctx, _cache) => {
|
26
|
-
return openBlock(), createBlock(unref(NModal), {
|
27
|
-
style: normalizeStyle(unref(cssVars)),
|
28
|
-
"close-on-esc": false,
|
29
|
-
"mask-closable": false
|
30
|
-
}, {
|
31
|
-
default: withCtx(() => [createVNode(CRecording, mergeProps(_ctx.$attrs, {
|
32
|
-
content: __props.content
|
33
|
-
}), null, 16, ["content"])]),
|
34
|
-
_: 1
|
35
|
-
}, 8, ["style"]);
|
36
|
-
};
|
37
|
-
}
|
38
|
-
});
|
39
|
-
|
40
|
-
export { _sfc_main as default };
|