cnhis-design-vue 3.3.3-beta.56 → 3.3.3-beta.57

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 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
+ ```
@@ -20,10 +20,12 @@ export declare class Print {
20
20
  private _successCallbackFn;
21
21
  private _errorCallbackFn;
22
22
  private _cancelCallbackFn;
23
+ private _notifyPrintQueueMap;
23
24
  constructor();
24
25
  private readonly messageHandlerQueue;
25
26
  private messageHandler;
26
27
  private _initDomesticSystem;
28
+ private createQueueProgressNotifyCss;
27
29
  getPicAndUpload(obj: any): Promise<void>;
28
30
  private postMessage;
29
31
  messageCollect(id: string, data: AnyObject): Promise<unknown>;
@@ -55,7 +57,7 @@ export declare class Print {
55
57
  pageCount: any;
56
58
  formatId: string;
57
59
  };
58
- _handleEventDirect({ templateId, formatId, number, svrUpdateIp, apptype, uuid, hideButtons, params, paramsArr, cmdid, print, signature, copies, printdlgshow, nobillnode, btnprint, messageTimeout }: AnyObject): Promise<any>;
60
+ _handleEventDirect({ templateId, formatId, number, svrUpdateIp, apptype, printname, uuid, priority, hideButtons, params, paramsArr, cmdid, print, signature, copies, printdlgshow, nobillnode, btnprint, messageTimeout }: AnyObject): Promise<any>;
59
61
  _handleEventEditFormat({ templateId, formatId, number, params, token, messageTimeout }: AnyObject): Promise<any>;
60
62
  _queryProxyOrigin(): Promise<void>;
61
63
  _queryPrintFile(formatId: string, params?: string): Promise<any>;
@@ -68,7 +70,7 @@ export declare class Print {
68
70
  _base64ToBlob(fileBase64: string, fileType: string): Blob;
69
71
  preview({ iReportExecuteMode, hideButtons, templateId, number, formatId: originFormatId, formatItem, params, paramsArr, authorizationKey, signature, btnprint, messageTimeout }: AnyObject, successCallbackFn?: AnyFn, errorCallbackFn?: AnyFn): Promise<any>;
70
72
  printSync(data: AnyObject[], successCallbackFn: AnyFn, errorCallbackFn: AnyFn): Promise<void>;
71
- printDirect({ iReportExecuteMode, templateId, number, formatId: originFormatId, formatItem, params, paramsArr, authorizationKey, print, signature, printdlgshow, nobillnode, copies, svrUpdateIp, apptype, uuid, isDownloadFile, messageTimeout }: AnyObject, successCallbackFn: AnyFn, errorCallbackFn: AnyFn, cancelCallbackFn?: AnyFn, mode?: string): Promise<false | undefined>;
73
+ printDirect({ iReportExecuteMode, templateId, number, formatId: originFormatId, formatItem, params, paramsArr, authorizationKey, print, signature, printdlgshow, nobillnode, copies, svrUpdateIp, apptype, uuid, printname, priority, isShowQueueProgressNotify, isDownloadFile, messageTimeout }: AnyObject, successCallbackFn: AnyFn, errorCallbackFn: AnyFn, cancelCallbackFn?: AnyFn, printQueueCallbackFn?: AnyFn, mode?: string): Promise<false | undefined>;
72
74
  printToHiPrint({ templateId, formatId, params, authorizationKey }: any, successCallbackFn: AnyFn, errorCallbackFn: AnyFn, cancelCallbackFn?: AnyFn): Promise<any>;
73
75
  private _downloadPDF;
74
76
  /**
@@ -2,7 +2,9 @@ import axios from 'axios';
2
2
  import { cloneDeep, isArray } from 'lodash-es';
3
3
  import { IdentityVerificationDialog, PreviewDialog } from './dialog.js';
4
4
  import { isIReport, getFileUrl, useBrowserPrint } from './browserPrint.js';
5
- import { getCurrentInstance } from 'vue';
5
+ import { h, getCurrentInstance } from 'vue';
6
+ import { createDiscreteApi, NIcon, NProgress } from 'naive-ui';
7
+ import { ReloadOutline } from '@vicons/ionicons5';
6
8
  import { uuidGenerator } from '../../../../shared/utils/index.js';
7
9
  import { format } from 'date-fns';
8
10
  import { io } from 'socket.io-client';
@@ -30,6 +32,13 @@ const PREVIEWIREPOR = `${REMOTEPRINTORIGIN}/bi-api/reprot/print/open/client/prev
30
32
  const ERRORMSG = "\u83B7\u53D6\u6587\u4EF6\u5931\u8D25\uFF01";
31
33
  const QUERYPRINTORIGIN = `${REMOTEPRINTORIGIN}/bi-api/reprot/print/open/client/getRemote`;
32
34
  const FILEURL = `${REMOTEPRINTORIGIN}/printService/file`;
35
+ const {
36
+ notification
37
+ } = createDiscreteApi(["notification"], {
38
+ notificationProviderProps: {
39
+ placement: "bottom-right"
40
+ }
41
+ });
33
42
  let printInstance = null;
34
43
  class Print {
35
44
  constructor() {
@@ -51,6 +60,7 @@ class Print {
51
60
  this._successCallbackFn = null;
52
61
  this._errorCallbackFn = null;
53
62
  this._cancelCallbackFn = null;
63
+ this._notifyPrintQueueMap = null;
54
64
  this.messageHandlerQueue = [];
55
65
  this.getIReportFormatId = (isIReport2, formatId) => {
56
66
  return isIReport2 ? formatId.split("_")[1] : formatId;
@@ -61,6 +71,10 @@ class Print {
61
71
  printInstance = this;
62
72
  const _window = window;
63
73
  this.CMonitor = _window.$CMonitor;
74
+ this._notifyPrintQueueMap = {
75
+ data: /* @__PURE__ */ new Map(),
76
+ callback: /* @__PURE__ */ new Map()
77
+ };
64
78
  try {
65
79
  this.webview = _window.top ? (_a = _window.top.chrome) == null ? void 0 : _a.webview : (_b = _window.chrome) == null ? void 0 : _b.webview;
66
80
  } catch (error) {
@@ -110,8 +124,63 @@ class Print {
110
124
  console.log("\u89E3\u6790e.data\u5931\u8D25\uFF0C" + _e);
111
125
  this._handleMonitorNotify("\u89E3\u6790e.data\u5931\u8D25\uFF0C" + e);
112
126
  }
113
- if (["print", "pdf", "resetprint"].includes(data == null ? void 0 : data.cmd)) {
114
- console.log("\u6253\u5370\u547D\u4EE4\u6267\u884C\u4E86", data);
127
+ if (["print", "pdf", "resetprint", "printback"].includes(data == null ? void 0 : data.cmd)) {
128
+ if ((data == null ? void 0 : data.cmd) === "printback") {
129
+ const {
130
+ ext = {}
131
+ } = (data == null ? void 0 : data.data) || {};
132
+ const curUidDom = this._notifyPrintQueueMap.data.get(ext == null ? void 0 : ext.uuid);
133
+ const curUidCallback = this._notifyPrintQueueMap.callback.get(ext == null ? void 0 : ext.uuid);
134
+ const currentV = (ext == null ? void 0 : ext.currentcount) || 0;
135
+ const totalV = (ext == null ? void 0 : ext.totalcount) || 0;
136
+ if (curUidDom) {
137
+ const value = totalV ? parseInt((100 * currentV / totalV).toString()) : 0;
138
+ curUidDom.content = () => h("div", {}, [h("div", {
139
+ style: {
140
+ display: "flex",
141
+ alignItems: "center",
142
+ fontSize: "12px",
143
+ marginBottom: "8px"
144
+ }
145
+ }, [h(NIcon, {
146
+ color: "#0e7a0d",
147
+ size: 12,
148
+ component: ReloadOutline,
149
+ style: {
150
+ animation: "rotateQueueProgressNotify 1s linear infinite",
151
+ willChange: "transform",
152
+ backfaceVisibility: "hidden"
153
+ }
154
+ }), h("span", {
155
+ style: {
156
+ color: "#0e7a0d",
157
+ marginLeft: "4px",
158
+ marginRight: "8px"
159
+ }
160
+ }, "\u6B63\u5728\u6253\u5370\u4E2D..."), h("span", {}, `${value}%`)]), h(NProgress, {
161
+ type: "line",
162
+ strokeWidth: 2,
163
+ percentage: value,
164
+ showIndicator: false,
165
+ processing: value < 100 ? true : false
166
+ }), h("div", {
167
+ style: {
168
+ marginTop: "6px",
169
+ fontSize: "12px"
170
+ }
171
+ }, `\u5DF2\u5B8C\u6210${currentV}\u6761\uFF0C\u5171${totalV}\u6761`)]);
172
+ if (value >= 100) {
173
+ this._notifyPrintQueueMap.data.delete(ext == null ? void 0 : ext.uuid);
174
+ setTimeout(() => {
175
+ curUidDom == null ? void 0 : curUidDom.destroy();
176
+ }, 800);
177
+ }
178
+ }
179
+ if (curUidCallback) {
180
+ curUidCallback((data == null ? void 0 : data.data) || {});
181
+ currentV >= totalV && this._notifyPrintQueueMap.callback.delete(ext == null ? void 0 : ext.uuid);
182
+ }
183
+ }
115
184
  const handler = this.messageHandlerQueue.shift();
116
185
  if (!handler)
117
186
  return console.log("\u5F53\u524D\u56DE\u6267", e, "\u6CA1\u6709\u53EF\u7528\u7684handler");
@@ -190,6 +259,24 @@ class Print {
190
259
  cb && cb(false);
191
260
  }
192
261
  }
262
+ createQueueProgressNotifyCss() {
263
+ const notifyStyleDom = document.getElementById("queueProgressNotifyCss");
264
+ if (notifyStyleDom)
265
+ return;
266
+ const style = document.createElement("style");
267
+ style.textContent = `
268
+ @keyframes rotateQueueProgressNotify {
269
+ from {
270
+ transform: rotate(0deg);
271
+ }
272
+ to {
273
+ transform: rotate(360deg);
274
+ }
275
+ }
276
+ `;
277
+ style.id = "queueProgressNotifyCss";
278
+ document.head.appendChild(style);
279
+ }
193
280
  async getPicAndUpload(obj) {
194
281
  try {
195
282
  const isObject = (o) => Object.prototype.toString.call(o) === "[object Object]";
@@ -559,7 +646,9 @@ class Print {
559
646
  number,
560
647
  svrUpdateIp,
561
648
  apptype,
649
+ printname,
562
650
  uuid,
651
+ priority,
563
652
  hideButtons,
564
653
  params,
565
654
  paramsArr,
@@ -578,7 +667,9 @@ class Print {
578
667
  number,
579
668
  svrUpdateIp,
580
669
  apptype,
670
+ printname,
581
671
  uuid,
672
+ priority,
582
673
  hideButtons,
583
674
  params,
584
675
  cmdid,
@@ -924,9 +1015,12 @@ class Print {
924
1015
  svrUpdateIp,
925
1016
  apptype,
926
1017
  uuid,
1018
+ printname,
1019
+ priority,
1020
+ isShowQueueProgressNotify = false,
927
1021
  isDownloadFile = true,
928
1022
  messageTimeout = 0
929
- }, successCallbackFn, errorCallbackFn, cancelCallbackFn, mode = "printDirect") {
1023
+ }, successCallbackFn, errorCallbackFn, cancelCallbackFn, printQueueCallbackFn, mode = "printDirect") {
930
1024
  const isObject = (o) => Object.prototype.toString.call(o) === "[object Object]";
931
1025
  const iReportStatus = isIReport(originFormatId);
932
1026
  const formatId = this.getIReportFormatId(iReportStatus, originFormatId);
@@ -992,6 +1086,53 @@ class Print {
992
1086
  }];
993
1087
  params = "";
994
1088
  }
1089
+ if (uuid && printname) {
1090
+ if (isShowQueueProgressNotify) {
1091
+ this.createQueueProgressNotifyCss();
1092
+ const notifyDom = notification.create({
1093
+ title: `${printname}`,
1094
+ content: () => h("div", {}, [h("div", {
1095
+ style: {
1096
+ display: "flex",
1097
+ alignItems: "center",
1098
+ fontSize: "12px",
1099
+ marginBottom: "8px"
1100
+ }
1101
+ }, [h(NIcon, {
1102
+ color: "#0e7a0d",
1103
+ size: 12,
1104
+ component: ReloadOutline,
1105
+ style: {
1106
+ animation: "rotateQueueProgressNotify 1s linear infinite",
1107
+ willChange: "transform",
1108
+ backfaceVisibility: "hidden"
1109
+ }
1110
+ }), h("span", {
1111
+ style: {
1112
+ color: "#0e7a0d",
1113
+ marginLeft: "4px",
1114
+ marginRight: "8px"
1115
+ }
1116
+ }, "\u6B63\u5728\u6253\u5370\u4E2D..."), h("span", {}, "0%")]), h(NProgress, {
1117
+ type: "line",
1118
+ strokeWidth: 2,
1119
+ percentage: 0,
1120
+ showIndicator: false,
1121
+ processing: true
1122
+ }), h("div", {
1123
+ style: {
1124
+ marginTop: "6px",
1125
+ fontSize: "12px"
1126
+ }
1127
+ }, `\u5DF2\u5B8C\u62100\u6761\uFF0C\u5171${paramsArr.length}\u6761`)]),
1128
+ onClose: () => {
1129
+ this._notifyPrintQueueMap.data.delete(uuid);
1130
+ }
1131
+ });
1132
+ this._notifyPrintQueueMap.data.set(uuid, notifyDom);
1133
+ }
1134
+ this._notifyPrintQueueMap.callback.set(uuid, printQueueCallbackFn);
1135
+ }
995
1136
  const printdlgshowValue = printdlgshow != "0" ? printdlgshow : (formatItem == null ? void 0 : formatItem.showPrintDialog) ? "1" : "0";
996
1137
  const result = await this._handleEventDirect({
997
1138
  templateId,
@@ -1007,6 +1148,8 @@ class Print {
1007
1148
  copies,
1008
1149
  svrUpdateIp,
1009
1150
  apptype,
1151
+ printname,
1152
+ priority,
1010
1153
  uuid,
1011
1154
  messageTimeout
1012
1155
  });
@@ -1145,6 +1288,8 @@ class Print {
1145
1288
  }
1146
1289
  }, (err) => onReject(err), (err) => {
1147
1290
  console.log(err);
1291
+ }, (result) => {
1292
+ console.log(result);
1148
1293
  }, "downloadPDF");
1149
1294
  }
1150
1295
  async print({
@@ -175,9 +175,6 @@ declare const _default: import("vue").DefineComponent<{
175
175
  modelValue: unknown[];
176
176
  componentData: Record<string, any>;
177
177
  } & {
178
- /**
179
- * 改变弹窗大小
180
- */
181
178
  itemKey?: string | Function | undefined;
182
179
  }>, {
183
180
  move: Function;
@@ -603,7 +603,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
603
603
  }, {
604
604
  default: withCtx(() => [!unref(isAudioOrVideoMessage)(item.content) ? (openBlock(), createElementBlock(Fragment, {
605
605
  key: 0
606
- }, [createCommentVNode(' <n-button\r\n quaternary\r\n size="tiny"\r\n @click="(event: MouseEvent) => handleSelectLabel(event, item.id)"\r\n >\r\n <template #icon>\r\n <n-icon size="17" :component="HappyOutline" />\r\n </template>\r\n </n-button> '), createVNode(unref(NButton), {
606
+ }, [createCommentVNode(' <n-button\n quaternary\n size="tiny"\n @click="(event: MouseEvent) => handleSelectLabel(event, item.id)"\n >\n <template #icon>\n <n-icon size="17" :component="HappyOutline" />\n </template>\n </n-button> '), createVNode(unref(NButton), {
607
607
  quaternary: "",
608
608
  size: "tiny",
609
609
  onClick: () => setReferenceMsg(item)
@@ -225,7 +225,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
225
225
  round: "",
226
226
  size: 100,
227
227
  onClickCapture: _cache[0] || (_cache[0] = ($event) => showLargeAvatar.value = true)
228
- }, null, 8, ["src"]), createCommentVNode(' <n-upload abstract accept="image/*" @change="onChange">\r\n <n-upload-trigger #="{ handleClick }" abstract>\r\n <n-button\r\n circle\r\n secondary\r\n class="edit-avatar"\r\n v-show="userDetail.id === state.userInfo.id"\r\n @click="handleClick"\r\n >\r\n <template #icon>\r\n <n-icon size="16" color="#666666" :component="Camera" />\r\n </template>\r\n </n-button>\r\n </n-upload-trigger>\r\n </n-upload> '), createElementVNode("div", _hoisted_4, [createElementVNode("h4", null, [createElementVNode("label", _hoisted_5, toDisplayString(userDetail.name), 1), withDirectives(createElementVNode("label", {
228
+ }, 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", {
229
229
  class: normalizeClass(["iho-chatRole", unref(isDoctorRole)(userDetail.roleInfo) ? "isDoctor" : ""])
230
230
  }, toDisplayString(unref(getRoleName)(userDetail.roleInfo)), 3), [[vShow, unref(getRoleName)(userDetail.roleInfo)]])]), createElementVNode("p", null, toDisplayString(userDetail.orgName), 1)]), createVNode(unref(NButton), {
231
231
  strong: "",
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
+
@@ -1,5 +1,5 @@
1
1
  var name = "@cnhis-design-vue/shared";
2
- var version = "3.3.3-beta.56";
2
+ var version = "3.3.3-beta.57";
3
3
  var main = "index.ts";
4
4
  var peerDependencies = {
5
5
  "naive-ui": "^2.30.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.3.3-beta.56",
3
+ "version": "3.3.3-beta.57",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -74,5 +74,5 @@
74
74
  "iOS 7",
75
75
  "last 3 iOS versions"
76
76
  ],
77
- "gitHead": "baeb1685eb4f0f551b51d1669b3c11b50862d8f6"
77
+ "gitHead": "b23d52297f4db2219ed53d4026f16ae90ca52799"
78
78
  }