cnhis-design-vue 3.3.1-beta.56 → 3.3.1-beta.58
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/ai-chat/src/hooks/useChartAudioContext.js +0 -1
- package/es/components/audio-sdk/index.js +0 -1
- package/es/components/audio-sdk/src/Index.vue2.js +1 -1
- package/es/components/audio-sdk/src/audioSDK.d.ts +1 -0
- package/es/components/audio-sdk/src/audioSDK.js +2 -1
- package/es/components/audio-sdk/src/utils/recorder/index.d.ts +1 -0
- package/es/components/audio-sdk/src/utils/recorder/index.js +5 -4
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/index.js +0 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -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 +4 -2
- package/es/components/table-filter/src/tool/baseOptions.js +3 -0
- package/es/env.d.ts +25 -25
- package/es/shared/package.json.js +1 -1
- package/package.json +77 -77
package/README.md
CHANGED
@@ -1,87 +1,87 @@
|
|
1
|
-
# 安装
|
2
|
-
|
3
|
-
```shell
|
4
|
-
npm i cnhis-design-vue@[版本号]
|
5
|
-
# or
|
6
|
-
yarn add cnhis-design-vue@[版本号] #推荐
|
7
|
-
```
|
8
|
-
|
9
|
-
## 1.全局引入
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
// main.ts
|
13
|
-
import { createApp } from 'vue';
|
14
|
-
import App from './App.vue';
|
15
|
-
import 'cnhis-design-vue/es/packages/index.css';
|
16
|
-
import cui from 'cnhis-design-vue';
|
17
|
-
|
18
|
-
const app = createApp(App);
|
19
|
-
app.use(cui).mount('#app');
|
20
|
-
```
|
21
|
-
|
22
|
-
## 2. 按需引入
|
23
|
-
|
24
|
-
组件现在支持了自动按需引入, 但是样式文件需要额外的处理
|
25
|
-
|
26
|
-
### 2.1 样式处理方式1 (按需引入样式)
|
27
|
-
|
28
|
-
```shell
|
29
|
-
# 安装自动导入样式的插件
|
30
|
-
npm i -d vite-plugin-style-import
|
31
|
-
```
|
32
|
-
|
33
|
-
```typescript
|
34
|
-
// vite.config.ts
|
35
|
-
import { defineConfig } from 'vite';
|
36
|
-
import { createStyleImportPlugin } from 'vite-plugin-style-import';
|
37
|
-
|
38
|
-
export default defineConfig({
|
39
|
-
plugins: [
|
40
|
-
// ...otherPlugins
|
41
|
-
createStyleImportPlugin({
|
42
|
-
libs: [
|
43
|
-
{
|
44
|
-
libraryName: 'cnhis-design-vue',
|
45
|
-
esModule: true,
|
46
|
-
ensureStyleFile: true,
|
47
|
-
resolveStyle: name => {
|
48
|
-
return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
]
|
52
|
-
})
|
53
|
-
]
|
54
|
-
});
|
55
|
-
```
|
56
|
-
|
57
|
-
### 2.2 样式处理方式2 (全局引入样式)
|
58
|
-
|
59
|
-
```typescript
|
60
|
-
// main.ts
|
61
|
-
import 'cnhis-design-vue/es/components/index.css';
|
62
|
-
```
|
63
|
-
|
64
|
-
## 3.FAQ
|
65
|
-
|
66
|
-
### 3.1 项目打包后样式丢失
|
67
|
-
|
68
|
-
处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
|
69
|
-
|
70
|
-
```typescript
|
71
|
-
// vite.config.ts
|
72
|
-
import { defineConfig } from 'vite';
|
73
|
-
|
74
|
-
export default defineConfig({
|
75
|
-
build: {
|
76
|
-
rollupOptions: {
|
77
|
-
// ..otherOptions
|
78
|
-
output: {
|
79
|
-
dir: './dist',
|
80
|
-
manualChunks: {
|
81
|
-
'cnhis-vendor': ['cnhis-design-vue']
|
82
|
-
}
|
83
|
-
}
|
84
|
-
}
|
85
|
-
}
|
86
|
-
});
|
87
|
-
```
|
1
|
+
# 安装
|
2
|
+
|
3
|
+
```shell
|
4
|
+
npm i cnhis-design-vue@[版本号]
|
5
|
+
# or
|
6
|
+
yarn add cnhis-design-vue@[版本号] #推荐
|
7
|
+
```
|
8
|
+
|
9
|
+
## 1.全局引入
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
// main.ts
|
13
|
+
import { createApp } from 'vue';
|
14
|
+
import App from './App.vue';
|
15
|
+
import 'cnhis-design-vue/es/packages/index.css';
|
16
|
+
import cui from 'cnhis-design-vue';
|
17
|
+
|
18
|
+
const app = createApp(App);
|
19
|
+
app.use(cui).mount('#app');
|
20
|
+
```
|
21
|
+
|
22
|
+
## 2. 按需引入
|
23
|
+
|
24
|
+
组件现在支持了自动按需引入, 但是样式文件需要额外的处理
|
25
|
+
|
26
|
+
### 2.1 样式处理方式1 (按需引入样式)
|
27
|
+
|
28
|
+
```shell
|
29
|
+
# 安装自动导入样式的插件
|
30
|
+
npm i -d vite-plugin-style-import
|
31
|
+
```
|
32
|
+
|
33
|
+
```typescript
|
34
|
+
// vite.config.ts
|
35
|
+
import { defineConfig } from 'vite';
|
36
|
+
import { createStyleImportPlugin } from 'vite-plugin-style-import';
|
37
|
+
|
38
|
+
export default defineConfig({
|
39
|
+
plugins: [
|
40
|
+
// ...otherPlugins
|
41
|
+
createStyleImportPlugin({
|
42
|
+
libs: [
|
43
|
+
{
|
44
|
+
libraryName: 'cnhis-design-vue',
|
45
|
+
esModule: true,
|
46
|
+
ensureStyleFile: true,
|
47
|
+
resolveStyle: name => {
|
48
|
+
return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
]
|
52
|
+
})
|
53
|
+
]
|
54
|
+
});
|
55
|
+
```
|
56
|
+
|
57
|
+
### 2.2 样式处理方式2 (全局引入样式)
|
58
|
+
|
59
|
+
```typescript
|
60
|
+
// main.ts
|
61
|
+
import 'cnhis-design-vue/es/components/index.css';
|
62
|
+
```
|
63
|
+
|
64
|
+
## 3.FAQ
|
65
|
+
|
66
|
+
### 3.1 项目打包后样式丢失
|
67
|
+
|
68
|
+
处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
|
69
|
+
|
70
|
+
```typescript
|
71
|
+
// vite.config.ts
|
72
|
+
import { defineConfig } from 'vite';
|
73
|
+
|
74
|
+
export default defineConfig({
|
75
|
+
build: {
|
76
|
+
rollupOptions: {
|
77
|
+
// ..otherOptions
|
78
|
+
output: {
|
79
|
+
dir: './dist',
|
80
|
+
manualChunks: {
|
81
|
+
'cnhis-vendor': ['cnhis-design-vue']
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
});
|
87
|
+
```
|
@@ -4,7 +4,6 @@ import { useData } from './useData.js';
|
|
4
4
|
import { $message } from '../utils/index.js';
|
5
5
|
import '../../../audio-sdk/index.js';
|
6
6
|
import AudioSDK from '../../../audio-sdk/src/audioSDK.js';
|
7
|
-
import '../../../audio-sdk/src/utils/recorder/index.js';
|
8
7
|
import Recorder from '../../../audio-sdk/src/utils/recorder/recorder.js';
|
9
8
|
|
10
9
|
function useChartAudioContext(props, emit, options) {
|
@@ -2,7 +2,6 @@ import { COMPONENT_NAMESPACE } from '../../shared/global/variable.js';
|
|
2
2
|
import { safeComponentRegister } from '../../shared/utils/index.js';
|
3
3
|
import script from './src/Index.vue.js';
|
4
4
|
export { default as CAudioSDK } from './src/audioSDK.js';
|
5
|
-
import './src/utils/recorder/index.js';
|
6
5
|
export { default as CRecorder } from './src/utils/recorder/recorder.js';
|
7
6
|
|
8
7
|
const AudioSdk = script;
|
@@ -130,7 +130,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
130
130
|
onEnd,
|
131
131
|
onFail: _cache[1] || (_cache[1] = (error) => emit("fail", error)),
|
132
132
|
onSuccess
|
133
|
-
}), null, 16, ["loading"])) : createCommentVNode("v-if", true), createCommentVNode(' <c-form\
|
133
|
+
}), null, 16, ["loading"])) : createCommentVNode("v-if", true), createCommentVNode(' <c-form\n v-if="isForm"\n :configs="configsAndBasicData.configs"\n :data="jsonData"\n @close="onFormClose"\n @finish="onFinish"\n /> ')], 64)) : (openBlock(), createBlock(RecordingModal$1, {
|
134
134
|
key: 1,
|
135
135
|
content: unref(content)
|
136
136
|
}, null, 8, ["content"]))], 4);
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { uuidGenerator } from '../../../shared/utils/index.js';
|
2
2
|
import axios from 'axios';
|
3
3
|
import { isString, isObject } from 'lodash-es';
|
4
|
-
import './utils/recorder/index.js';
|
4
|
+
import { loadRecorderPlugins } from './utils/recorder/index.js';
|
5
5
|
import { ref } from 'vue';
|
6
6
|
import { $message } from './utils/index.js';
|
7
7
|
import { RecordingModal } from './utils/recordingModal.js';
|
@@ -22,6 +22,7 @@ const DEFAULT_OPTIONS = {
|
|
22
22
|
};
|
23
23
|
const _AudioSDK = class {
|
24
24
|
constructor() {
|
25
|
+
this.plugins = loadRecorderPlugins();
|
25
26
|
this.recorder = null;
|
26
27
|
this.webSocket = null;
|
27
28
|
this.messageQueue = [];
|
@@ -5,7 +5,8 @@ import { useWave } from './wave.js';
|
|
5
5
|
import Recorder from './recorder.js';
|
6
6
|
export { default } from './recorder.js';
|
7
7
|
|
8
|
-
|
9
|
-
useMP3Engine(Recorder);
|
10
|
-
|
11
|
-
|
8
|
+
function loadRecorderPlugins() {
|
9
|
+
return [useMP3(Recorder), useMP3Engine(Recorder), useFFT(Recorder), useWave(Recorder)];
|
10
|
+
}
|
11
|
+
|
12
|
+
export { loadRecorderPlugins };
|
@@ -170,7 +170,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
170
170
|
round: "",
|
171
171
|
size: 100,
|
172
172
|
onClickCapture: _cache[0] || (_cache[0] = ($event) => showLargeAvatar.value = true)
|
173
|
-
}, null, 8, ["src"]), createCommentVNode(' <n-upload abstract accept="image/*" @change="onChange">\
|
173
|
+
}, null, 8, ["src"]), createCommentVNode(' <n-upload abstract accept="image/*" @change="onChange">\n <n-upload-trigger #="{ handleClick }" abstract>\n <n-button\n circle\n secondary\n class="edit-avatar"\n v-show="userDetail.id === state.userInfo.id"\n @click="handleClick"\n >\n <template #icon>\n <n-icon size="16" color="#666666" :component="Camera" />\n </template>\n </n-button>\n </n-upload-trigger>\n </n-upload> '), createElementVNode("div", _hoisted_4, [createElementVNode("h4", null, [createElementVNode("label", _hoisted_5, toDisplayString(userDetail.name), 1), withDirectives(createElementVNode("label", {
|
174
174
|
class: normalizeClass(["iho-chatRole", unref(isDoctorRole)(userDetail.roleInfo) ? "isDoctor" : ""])
|
175
175
|
}, toDisplayString(unref(getRoleName)(userDetail.roleInfo)), 3), [[vShow, unref(getRoleName)(userDetail.roleInfo)]])]), createElementVNode("p", null, toDisplayString(userDetail.orgName), 1)]), createVNode(unref(NButton), {
|
176
176
|
strong: "",
|
package/es/components/index.js
CHANGED
@@ -105,7 +105,6 @@ export { useScrollLoading } from '../shared/hooks/useScrollLoading.js';
|
|
105
105
|
export { vFlexibleResize } from '../shared/directive/flexibleResize.js';
|
106
106
|
export { useGuide } from './guide/src/useGuide.js';
|
107
107
|
export { DragScroll, useDragScroll } from './drag-scroll/src/index.js';
|
108
|
-
import './audio-sdk/src/utils/recorder/index.js';
|
109
108
|
export { default as CRecorder } from './audio-sdk/src/utils/recorder/recorder.js';
|
110
109
|
export { useAnchor } from './form-render/src/hooks/useAnchor.js';
|
111
110
|
export { BusinessCollector, useBusinessBinding } from './form-render/src/hooks/useBusinessBinding.js';
|
@@ -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,
|
@@ -38,6 +38,7 @@ export declare const DateRangeInnerValEnums: {
|
|
38
38
|
LAST_YEAR: string;
|
39
39
|
NEXT_YEAR: string;
|
40
40
|
PAST_HALF_YEAR: string;
|
41
|
+
PAST_YEAR: string;
|
41
42
|
};
|
42
43
|
export declare const DateRangeOutDefEnums: {
|
43
44
|
TODAY: string;
|
@@ -58,5 +59,6 @@ export declare const DateRangeOutDefEnums: {
|
|
58
59
|
LAST_YEAR: string;
|
59
60
|
NEXT_YEAR: string;
|
60
61
|
PAST_HALF_YEAR: string;
|
62
|
+
PAST_YEAR: string;
|
61
63
|
CUSTOM: string;
|
62
64
|
};
|
@@ -37,7 +37,8 @@ const DateRangeInnerValEnums = {
|
|
37
37
|
THIS_YEAR: "THIS_YEAR",
|
38
38
|
LAST_YEAR: "LAST_YEAR",
|
39
39
|
NEXT_YEAR: "NEXT_YEAR",
|
40
|
-
PAST_HALF_YEAR: "PAST_HALF_YEAR"
|
40
|
+
PAST_HALF_YEAR: "PAST_HALF_YEAR",
|
41
|
+
PAST_YEAR: "PAST_YEAR"
|
41
42
|
};
|
42
43
|
const DateRangeOutDefEnums = {
|
43
44
|
CUSTOM: "CUSTOM",
|
@@ -175,6 +175,10 @@ const baseDateRangeInner = {
|
|
175
175
|
name: ((_ea = window.getLanguageByCode) == null ? void 0 : _ea.call(window, "10010.1.397")) || "\u8FD1\u534A\u5E74",
|
176
176
|
title: ((_fa = window.getLanguageByCode) == null ? void 0 : _fa.call(window, "10010.1.397")) || "\u8FD1\u534A\u5E74",
|
177
177
|
con: WidgetValEnums.PAST_HALF_YEAR
|
178
|
+
}, {
|
179
|
+
name: "\u8FD1\u4E00\u5E74",
|
180
|
+
title: "\u8FD1\u4E00\u5E74",
|
181
|
+
con: WidgetValEnums.PAST_YEAR
|
178
182
|
}],
|
179
183
|
[WidgetOptionEnums.PAST_TIME]: [{
|
180
184
|
name: ((_ga = window.getLanguageByCode) == null ? void 0 : _ga.call(window, "10010.1.134")) || "\u4ECA\u5929",
|
@@ -228,6 +232,10 @@ const baseDateRangeInner = {
|
|
228
232
|
name: ((_Ea = window.getLanguageByCode) == null ? void 0 : _Ea.call(window, "10010.1.397")) || "\u8FD1\u534A\u5E74",
|
229
233
|
title: ((_Fa = window.getLanguageByCode) == null ? void 0 : _Fa.call(window, "10010.1.397")) || "\u8FD1\u534A\u5E74",
|
230
234
|
con: WidgetValEnums.PAST_HALF_YEAR
|
235
|
+
}, {
|
236
|
+
name: "\u8FD1\u4E00\u5E74",
|
237
|
+
title: "\u8FD1\u4E00\u5E74",
|
238
|
+
con: WidgetValEnums.PAST_YEAR
|
231
239
|
}],
|
232
240
|
[WidgetOptionEnums.FUTURE_TIME]: [{
|
233
241
|
name: ((_Ga = window.getLanguageByCode) == null ? void 0 : _Ga.call(window, "10010.1.134")) || "\u4ECA\u5929",
|
@@ -52,7 +52,8 @@ const WidgetValEnums = {
|
|
52
52
|
YEAR_END: "THIS_YEAR_END",
|
53
53
|
NEXT_YEAR: "NEXT_YEAR",
|
54
54
|
LAST_YEAR: "LAST_YEAR",
|
55
|
-
PAST_HALF_YEAR: "PAST_HALF_YEAR"
|
55
|
+
PAST_HALF_YEAR: "PAST_HALF_YEAR",
|
56
|
+
PAST_YEAR: "PAST_YEAR"
|
56
57
|
};
|
57
58
|
|
58
59
|
export { WidgetDateOptionEnums, WidgetValEnums };
|
package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js
CHANGED
@@ -104,7 +104,8 @@ const dateRangeMapInner = /* @__PURE__ */ new Map([
|
|
104
104
|
[DateRangeInnerValEnums.THIS_YEAR, () => [moment().startOf("year"), moment().endOf("year")]],
|
105
105
|
[DateRangeInnerValEnums.NEXT_YEAR, () => [moment().add(1, "y").startOf("year"), moment().add(1, "y").endOf("year")]],
|
106
106
|
[DateRangeInnerValEnums.LAST_YEAR, () => [moment().subtract(1, "y").startOf("year"), moment().subtract(1, "y").endOf("year")]],
|
107
|
-
[DateRangeInnerValEnums.PAST_HALF_YEAR, () => [moment().subtract(6, "months").startOf("day"), moment().endOf("day")]]
|
107
|
+
[DateRangeInnerValEnums.PAST_HALF_YEAR, () => [moment().subtract(6, "months").startOf("day"), moment().endOf("day")]],
|
108
|
+
[DateRangeInnerValEnums.PAST_YEAR, () => [moment().subtract(12, "months").startOf("day"), moment().endOf("day")]]
|
108
109
|
]);
|
109
110
|
const formatDateRangeInfo = (key, format = "x", optionSetting = WidgetOptionEnums.ALL, isOrigin = false) => {
|
110
111
|
const isPastTime = optionSetting === WidgetOptionEnums.PAST_TIME;
|
@@ -128,7 +129,8 @@ const formatDateRangeInfo = (key, format = "x", optionSetting = WidgetOptionEnum
|
|
128
129
|
[DateRangeInnerValEnums.THIS_YEAR, () => [isFutureTime ? currentTime : moment().startOf("year"), isPastTime ? currentTime : moment().endOf("year")]],
|
129
130
|
[DateRangeInnerValEnums.NEXT_YEAR, () => [moment().add(1, "y").startOf("year"), moment().add(1, "y").endOf("year")]],
|
130
131
|
[DateRangeInnerValEnums.LAST_YEAR, () => [moment().subtract(1, "y").startOf("year"), moment().subtract(1, "y").endOf("year")]],
|
131
|
-
[DateRangeInnerValEnums.PAST_HALF_YEAR, () => [moment().subtract(6, "months").startOf("day"), isPastTime ? currentTime : moment().endOf("day")]]
|
132
|
+
[DateRangeInnerValEnums.PAST_HALF_YEAR, () => [moment().subtract(6, "months").startOf("day"), isPastTime ? currentTime : moment().endOf("day")]],
|
133
|
+
[DateRangeInnerValEnums.PAST_YEAR, () => [moment().subtract(12, "months").startOf("day"), isPastTime ? currentTime : moment().endOf("day")]]
|
132
134
|
]);
|
133
135
|
const fun = dateRangeMap.get(key);
|
134
136
|
if (fun) {
|
@@ -55,6 +55,9 @@ const widgetDateRangeOptions = [{
|
|
55
55
|
}, {
|
56
56
|
label: ((_r = window.getLanguageByCode) == null ? void 0 : _r.call(window, "10010.1.397")) || "\u8FD1\u534A\u5E74",
|
57
57
|
value: DateRangeOutDefEnums.PAST_HALF_YEAR
|
58
|
+
}, {
|
59
|
+
label: "\u8FD1\u4E00\u5E74",
|
60
|
+
value: DateRangeOutDefEnums.PAST_YEAR
|
58
61
|
}];
|
59
62
|
|
60
63
|
export { widgetDateRangeOptions };
|
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,77 +1,77 @@
|
|
1
|
-
{
|
2
|
-
"name": "cnhis-design-vue",
|
3
|
-
"version": "3.3.1-beta.
|
4
|
-
"license": "ISC",
|
5
|
-
"module": "./es/components/index.js",
|
6
|
-
"main": "./es/components/index.js",
|
7
|
-
"types": "./es/components/index.d.ts",
|
8
|
-
"sideEffects": [
|
9
|
-
"es/components/**/style/*",
|
10
|
-
"es/components/*(.css,.less)"
|
11
|
-
],
|
12
|
-
"files": [
|
13
|
-
"es",
|
14
|
-
"README.md"
|
15
|
-
],
|
16
|
-
"peerDependencies": {
|
17
|
-
"@fullcalendar/core": "^6.1.10",
|
18
|
-
"@fullcalendar/interaction": "^6.1.10",
|
19
|
-
"@fullcalendar/resource": "^6.1.10",
|
20
|
-
"@fullcalendar/resource-timegrid": "^6.1.10",
|
21
|
-
"@fullcalendar/scrollgrid": "^6.1.10",
|
22
|
-
"@fullcalendar/vue3": "^6.1.10",
|
23
|
-
"naive-ui": "^2.34.0",
|
24
|
-
"vue": "^3.2.0",
|
25
|
-
"vxe-table": "^4.2.5"
|
26
|
-
},
|
27
|
-
"dependencies": {
|
28
|
-
"@formily/core": "2.1.9",
|
29
|
-
"@formily/path": "2.1.9",
|
30
|
-
"@formily/reactive": "2.1.9",
|
31
|
-
"@formily/vue": "2.1.9",
|
32
|
-
"@microsoft/fetch-event-source": "^2.0.1",
|
33
|
-
"@vicons/ionicons5": "^0.12.0",
|
34
|
-
"@vueuse/core": "^8.6.0",
|
35
|
-
"@vueuse/shared": "^8.6.0",
|
36
|
-
"@wangeditor/editor": "^5.1.1",
|
37
|
-
"@wangeditor/editor-for-vue": "^5.1.11",
|
38
|
-
"axios": "^0.27.2",
|
39
|
-
"bpmn-js": "^9.2.2",
|
40
|
-
"bpmnlint-utils": "^1.0.2",
|
41
|
-
"date-fns": "^3.6.0",
|
42
|
-
"diagram-js": "^8.7.1",
|
43
|
-
"ids": "^1.0.0",
|
44
|
-
"inherits": "^2.0.4",
|
45
|
-
"lodash": "^4.17.21",
|
46
|
-
"lodash-es": "^4.17.21",
|
47
|
-
"lodash-unified": "^1.0.2",
|
48
|
-
"markdown-it": "^13.0.1",
|
49
|
-
"min-dash": "^3.8.1",
|
50
|
-
"min-dom": "^3.2.1",
|
51
|
-
"moment": "^2.29.1",
|
52
|
-
"naive-ui": "^2.34.0",
|
53
|
-
"socket.io-client": "^4.7.3",
|
54
|
-
"sockjs-client": "^1.6.1",
|
55
|
-
"sortablejs": "^1.15.0",
|
56
|
-
"spark-md5": "^3.0.2",
|
57
|
-
"stompjs": "^2.3.3",
|
58
|
-
"tiny-svg": "^2.2.4",
|
59
|
-
"trtc-sdk-v5": "^5.5.2",
|
60
|
-
"v-viewer": "^3.0.10",
|
61
|
-
"video.js": "^7.19.2",
|
62
|
-
"videojs-contrib-hls": "^5.15.0",
|
63
|
-
"viewerjs": "^1.10.5",
|
64
|
-
"vue": "^3.2.0",
|
65
|
-
"vue-simple-uploader": "^1.0.0-beta.5",
|
66
|
-
"xe-utils": "^3.5.4"
|
67
|
-
},
|
68
|
-
"browserslist": [
|
69
|
-
"defaults",
|
70
|
-
"not ie < 8",
|
71
|
-
"last 2 versions",
|
72
|
-
"> 1%",
|
73
|
-
"iOS 7",
|
74
|
-
"last 3 iOS versions"
|
75
|
-
],
|
76
|
-
"gitHead": "
|
77
|
-
}
|
1
|
+
{
|
2
|
+
"name": "cnhis-design-vue",
|
3
|
+
"version": "3.3.1-beta.58",
|
4
|
+
"license": "ISC",
|
5
|
+
"module": "./es/components/index.js",
|
6
|
+
"main": "./es/components/index.js",
|
7
|
+
"types": "./es/components/index.d.ts",
|
8
|
+
"sideEffects": [
|
9
|
+
"es/components/**/style/*",
|
10
|
+
"es/components/*(.css,.less)"
|
11
|
+
],
|
12
|
+
"files": [
|
13
|
+
"es",
|
14
|
+
"README.md"
|
15
|
+
],
|
16
|
+
"peerDependencies": {
|
17
|
+
"@fullcalendar/core": "^6.1.10",
|
18
|
+
"@fullcalendar/interaction": "^6.1.10",
|
19
|
+
"@fullcalendar/resource": "^6.1.10",
|
20
|
+
"@fullcalendar/resource-timegrid": "^6.1.10",
|
21
|
+
"@fullcalendar/scrollgrid": "^6.1.10",
|
22
|
+
"@fullcalendar/vue3": "^6.1.10",
|
23
|
+
"naive-ui": "^2.34.0",
|
24
|
+
"vue": "^3.2.0",
|
25
|
+
"vxe-table": "^4.2.5"
|
26
|
+
},
|
27
|
+
"dependencies": {
|
28
|
+
"@formily/core": "2.1.9",
|
29
|
+
"@formily/path": "2.1.9",
|
30
|
+
"@formily/reactive": "2.1.9",
|
31
|
+
"@formily/vue": "2.1.9",
|
32
|
+
"@microsoft/fetch-event-source": "^2.0.1",
|
33
|
+
"@vicons/ionicons5": "^0.12.0",
|
34
|
+
"@vueuse/core": "^8.6.0",
|
35
|
+
"@vueuse/shared": "^8.6.0",
|
36
|
+
"@wangeditor/editor": "^5.1.1",
|
37
|
+
"@wangeditor/editor-for-vue": "^5.1.11",
|
38
|
+
"axios": "^0.27.2",
|
39
|
+
"bpmn-js": "^9.2.2",
|
40
|
+
"bpmnlint-utils": "^1.0.2",
|
41
|
+
"date-fns": "^3.6.0",
|
42
|
+
"diagram-js": "^8.7.1",
|
43
|
+
"ids": "^1.0.0",
|
44
|
+
"inherits": "^2.0.4",
|
45
|
+
"lodash": "^4.17.21",
|
46
|
+
"lodash-es": "^4.17.21",
|
47
|
+
"lodash-unified": "^1.0.2",
|
48
|
+
"markdown-it": "^13.0.1",
|
49
|
+
"min-dash": "^3.8.1",
|
50
|
+
"min-dom": "^3.2.1",
|
51
|
+
"moment": "^2.29.1",
|
52
|
+
"naive-ui": "^2.34.0",
|
53
|
+
"socket.io-client": "^4.7.3",
|
54
|
+
"sockjs-client": "^1.6.1",
|
55
|
+
"sortablejs": "^1.15.0",
|
56
|
+
"spark-md5": "^3.0.2",
|
57
|
+
"stompjs": "^2.3.3",
|
58
|
+
"tiny-svg": "^2.2.4",
|
59
|
+
"trtc-sdk-v5": "^5.5.2",
|
60
|
+
"v-viewer": "^3.0.10",
|
61
|
+
"video.js": "^7.19.2",
|
62
|
+
"videojs-contrib-hls": "^5.15.0",
|
63
|
+
"viewerjs": "^1.10.5",
|
64
|
+
"vue": "^3.2.0",
|
65
|
+
"vue-simple-uploader": "^1.0.0-beta.5",
|
66
|
+
"xe-utils": "^3.5.4"
|
67
|
+
},
|
68
|
+
"browserslist": [
|
69
|
+
"defaults",
|
70
|
+
"not ie < 8",
|
71
|
+
"last 2 versions",
|
72
|
+
"> 1%",
|
73
|
+
"iOS 7",
|
74
|
+
"last 3 iOS versions"
|
75
|
+
],
|
76
|
+
"gitHead": "d68ac770487953c9f8b2d049c979b7efd97626c3"
|
77
|
+
}
|