cnhis-design-vue 3.3.3-release.12 → 3.3.3-release.13
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/button-print/index.d.ts +60 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +60 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +6 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +18 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +8 -0
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +18 -0
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +8 -0
- package/es/components/button-print/src/utils/print.d.ts +4 -2
- package/es/components/button-print/src/utils/print.js +165 -4
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/field-set/src/FieldColor.vue.d.ts +4 -4
- package/es/components/field-set/src/FieldFilter.vue.d.ts +4 -4
- package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
- package/es/components/field-set/src/components/table-row.vue.d.ts +4 -4
- package/es/components/field-set/src/types/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +2 -1
- package/es/components/iho-chat/index.d.ts +40 -49
- package/es/components/iho-chat/src/Index.vue.d.ts +40 -49
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +6 -2
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ImageLightbox.vue2.js +1 -1
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +29 -28
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +240 -93
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/Video.vue.d.ts +14 -24
- package/es/components/iho-chat/src/components/Video.vue2.js +35 -40
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +54 -10
- package/es/components/iho-chat/src/hooks/useVideo.js +422 -44
- package/es/components/iho-chat/src/utils/index.d.ts +1 -0
- package/es/components/iho-chat/src/utils/index.js +7 -1
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -0
- package/es/components/index.js +1 -0
- package/es/components/keyboard/index.d.ts +8 -0
- package/es/components/keyboard/src/Keyboard.vue.d.ts +8 -0
- package/es/components/keyboard/src/Keyboard.vue2.js +33 -9
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +3 -0
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +27 -7
- package/es/components/keyboard/src/types.d.ts +17 -0
- package/es/components/keyboard/src/types.js +1 -0
- package/es/components/scale-view/index.d.ts +13 -0
- package/es/components/scale-view/src/ScaleView.vue.d.ts +13 -0
- package/es/components/scale-view/src/hooks/scaleview-computed.js +2 -1
- package/es/components/scale-view/src/hooks/scaleview-props.d.ts +4 -0
- package/es/components/scale-view/src/hooks/scaleview-props.js +4 -0
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +32 -4
- package/es/components/table-filter/src/tool/baseOptions.js +8 -1
- package/es/components/vertify/index.d.ts +1 -0
- package/es/components/vertify/index.js +1 -0
- package/es/components/vertify/src/components/IdentityVerification.vue.d.ts +89 -0
- package/es/components/vertify/src/components/IdentityVerification.vue.js +6 -0
- package/es/components/vertify/src/components/IdentityVerification.vue2.js +256 -0
- package/es/components/vertify/src/utils/dialog.d.ts +7 -0
- package/es/components/vertify/src/utils/dialog.js +73 -0
- package/es/components/vertify/src/utils/index.d.ts +11 -0
- package/es/components/vertify/src/utils/index.js +24 -0
- package/es/components/vod-chunk-upload/index.d.ts +13 -0
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +19 -2
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +104 -75
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.d.ts +1 -0
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +20 -3
- package/es/components/vod-chunk-upload/src/hooks/upload-data.d.ts +4 -0
- package/es/components/vod-chunk-upload/src/hooks/upload-data.js +6 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +13 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +6 -1
- package/es/components/vod-chunk-upload/style/index.css +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/fabricjs/index.js +1 -1
- package/package.json +2 -2
@@ -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, NDivider } from 'naive-ui';
|
7
|
+
import { PrintOutline } 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,11 @@ 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
|
+
dom: null
|
78
|
+
};
|
64
79
|
try {
|
65
80
|
this.webview = _window.top ? (_a = _window.top.chrome) == null ? void 0 : _a.webview : (_b = _window.chrome) == null ? void 0 : _b.webview;
|
66
81
|
} catch (error) {
|
@@ -110,8 +125,32 @@ class Print {
|
|
110
125
|
console.log("\u89E3\u6790e.data\u5931\u8D25\uFF0C" + _e);
|
111
126
|
this._handleMonitorNotify("\u89E3\u6790e.data\u5931\u8D25\uFF0C" + e);
|
112
127
|
}
|
113
|
-
if (["print", "pdf", "resetprint"].includes(data == null ? void 0 : data.cmd)) {
|
114
|
-
|
128
|
+
if (["print", "pdf", "resetprint", "printback"].includes(data == null ? void 0 : data.cmd)) {
|
129
|
+
if ((data == null ? void 0 : data.cmd) === "printback") {
|
130
|
+
const {
|
131
|
+
ext = {}
|
132
|
+
} = (data == null ? void 0 : data.data) || {};
|
133
|
+
const curUidDom = this._notifyPrintQueueMap.data.get(ext == null ? void 0 : ext.uuid);
|
134
|
+
const curUidCallback = this._notifyPrintQueueMap.callback.get(ext == null ? void 0 : ext.uuid);
|
135
|
+
const currentV = (ext == null ? void 0 : ext.currentcount) || 0;
|
136
|
+
const totalV = (ext == null ? void 0 : ext.totalcount) || 0;
|
137
|
+
if (curUidDom) {
|
138
|
+
curUidDom.currentV = currentV;
|
139
|
+
curUidDom.totalV = totalV;
|
140
|
+
curUidDom.progressValue = totalV ? parseInt((100 * currentV / totalV).toString()) : 0;
|
141
|
+
this.renderQueueProgressNotifyContent();
|
142
|
+
if (curUidDom.progressValue >= 100) {
|
143
|
+
this._notifyPrintQueueMap.data.delete(ext == null ? void 0 : ext.uuid);
|
144
|
+
setTimeout(() => {
|
145
|
+
this.renderQueueProgressNotifyContent();
|
146
|
+
}, 800);
|
147
|
+
}
|
148
|
+
}
|
149
|
+
if (curUidCallback) {
|
150
|
+
curUidCallback((data == null ? void 0 : data.data) || {});
|
151
|
+
currentV >= totalV && this._notifyPrintQueueMap.callback.delete(ext == null ? void 0 : ext.uuid);
|
152
|
+
}
|
153
|
+
}
|
115
154
|
const handler = this.messageHandlerQueue.shift();
|
116
155
|
if (!handler)
|
117
156
|
return console.log("\u5F53\u524D\u56DE\u6267", e, "\u6CA1\u6709\u53EF\u7528\u7684handler");
|
@@ -190,6 +229,96 @@ class Print {
|
|
190
229
|
cb && cb(false);
|
191
230
|
}
|
192
231
|
}
|
232
|
+
renderQueueProgressNotifyContent() {
|
233
|
+
const clearNotifyDom = () => {
|
234
|
+
this._notifyPrintQueueMap.dom.destroy();
|
235
|
+
this._notifyPrintQueueMap.data.clear();
|
236
|
+
this._notifyPrintQueueMap.dom = null;
|
237
|
+
};
|
238
|
+
if (!this._notifyPrintQueueMap.dom) {
|
239
|
+
this._notifyPrintQueueMap.dom = notification.create({
|
240
|
+
title: "\u6253\u5370\u5217\u8868",
|
241
|
+
onClose: () => {
|
242
|
+
clearNotifyDom();
|
243
|
+
}
|
244
|
+
});
|
245
|
+
}
|
246
|
+
if (this._notifyPrintQueueMap.data.size > 0) {
|
247
|
+
const childrens = [];
|
248
|
+
const keys = Array.from(this._notifyPrintQueueMap.data.keys());
|
249
|
+
const lastKey = keys[keys.length - 1];
|
250
|
+
for (const [key, value] of this._notifyPrintQueueMap.data) {
|
251
|
+
const dom = h("div", {
|
252
|
+
style: {
|
253
|
+
boxSizing: "border-box",
|
254
|
+
marginBottom: lastKey === key ? 0 : "12px",
|
255
|
+
display: "flex",
|
256
|
+
flexDirection: "column"
|
257
|
+
}
|
258
|
+
}, [h("div", {
|
259
|
+
style: {
|
260
|
+
display: "flex",
|
261
|
+
alignItems: "center",
|
262
|
+
justifyContent: "between-space",
|
263
|
+
overflow: "hidden",
|
264
|
+
marginBottom: "4px"
|
265
|
+
}
|
266
|
+
}, [h(NIcon, {
|
267
|
+
size: 16,
|
268
|
+
component: PrintOutline,
|
269
|
+
style: {
|
270
|
+
marginRight: "4px"
|
271
|
+
}
|
272
|
+
}), h("span", {
|
273
|
+
style: {
|
274
|
+
flex: 1,
|
275
|
+
fontSize: "14px",
|
276
|
+
fontWeight: 700,
|
277
|
+
marginRight: "6px",
|
278
|
+
overflow: "hidden",
|
279
|
+
whiteSpace: "noWrap",
|
280
|
+
textOverflow: "ellipsis"
|
281
|
+
}
|
282
|
+
}, value.printname), h("span", {
|
283
|
+
style: {
|
284
|
+
fontSize: "12px",
|
285
|
+
color: "rgba(30, 30, 30, 0.60)"
|
286
|
+
}
|
287
|
+
}, `${value.progressValue}%`)]), h(NProgress, {
|
288
|
+
type: "line",
|
289
|
+
strokeWidth: 2,
|
290
|
+
percentage: value.progressValue,
|
291
|
+
showIndicator: false,
|
292
|
+
processing: true
|
293
|
+
}), h("div", {
|
294
|
+
style: {
|
295
|
+
marginTop: "6px",
|
296
|
+
display: "flex",
|
297
|
+
alignItems: "center",
|
298
|
+
fontSize: "12px",
|
299
|
+
color: "rgba(30, 30, 30, 0.60)"
|
300
|
+
}
|
301
|
+
}, [h("span", {}, "\u7B2C"), h("span", {
|
302
|
+
style: {
|
303
|
+
color: "#FF0000"
|
304
|
+
}
|
305
|
+
}, value.currentV), h("span", {}, "\u4EFD/\u5171"), h("span", {
|
306
|
+
style: {
|
307
|
+
color: "#FF0000"
|
308
|
+
}
|
309
|
+
}, value.totalV), h("span", {}, "\u4EFD")]), lastKey === key ? null : h(NDivider, {
|
310
|
+
style: {
|
311
|
+
marginTop: "12px",
|
312
|
+
marginBottom: 0
|
313
|
+
}
|
314
|
+
})]);
|
315
|
+
childrens.push(dom);
|
316
|
+
}
|
317
|
+
this._notifyPrintQueueMap.dom.content = () => childrens;
|
318
|
+
return;
|
319
|
+
}
|
320
|
+
clearNotifyDom();
|
321
|
+
}
|
193
322
|
async getPicAndUpload(obj) {
|
194
323
|
try {
|
195
324
|
const isObject = (o) => Object.prototype.toString.call(o) === "[object Object]";
|
@@ -558,6 +687,10 @@ class Print {
|
|
558
687
|
formatId,
|
559
688
|
number,
|
560
689
|
svrUpdateIp,
|
690
|
+
apptype,
|
691
|
+
printname,
|
692
|
+
uuid,
|
693
|
+
priority,
|
561
694
|
hideButtons,
|
562
695
|
params,
|
563
696
|
paramsArr,
|
@@ -575,6 +708,10 @@ class Print {
|
|
575
708
|
formatId,
|
576
709
|
number,
|
577
710
|
svrUpdateIp,
|
711
|
+
apptype,
|
712
|
+
printname,
|
713
|
+
uuid,
|
714
|
+
priority,
|
578
715
|
hideButtons,
|
579
716
|
params,
|
580
717
|
cmdid,
|
@@ -918,9 +1055,14 @@ class Print {
|
|
918
1055
|
nobillnode,
|
919
1056
|
copies,
|
920
1057
|
svrUpdateIp,
|
1058
|
+
apptype,
|
1059
|
+
uuid,
|
1060
|
+
printname,
|
1061
|
+
priority,
|
1062
|
+
isShowQueueProgressNotify = false,
|
921
1063
|
isDownloadFile = true,
|
922
1064
|
messageTimeout = 0
|
923
|
-
}, successCallbackFn, errorCallbackFn, cancelCallbackFn, mode = "printDirect") {
|
1065
|
+
}, successCallbackFn, errorCallbackFn, cancelCallbackFn, printQueueCallbackFn, mode = "printDirect") {
|
924
1066
|
const isObject = (o) => Object.prototype.toString.call(o) === "[object Object]";
|
925
1067
|
const iReportStatus = isIReport(originFormatId);
|
926
1068
|
const formatId = this.getIReportFormatId(iReportStatus, originFormatId);
|
@@ -986,6 +1128,19 @@ class Print {
|
|
986
1128
|
}];
|
987
1129
|
params = "";
|
988
1130
|
}
|
1131
|
+
if (uuid && printname) {
|
1132
|
+
if (isShowQueueProgressNotify) {
|
1133
|
+
this._notifyPrintQueueMap.data.set(uuid, {
|
1134
|
+
printname,
|
1135
|
+
uuid,
|
1136
|
+
currentV: 0,
|
1137
|
+
totalV: paramsArr.length,
|
1138
|
+
progressValue: 0
|
1139
|
+
});
|
1140
|
+
this.renderQueueProgressNotifyContent();
|
1141
|
+
}
|
1142
|
+
this._notifyPrintQueueMap.callback.set(uuid, printQueueCallbackFn);
|
1143
|
+
}
|
989
1144
|
const printdlgshowValue = printdlgshow != "0" ? printdlgshow : (formatItem == null ? void 0 : formatItem.showPrintDialog) ? "1" : "0";
|
990
1145
|
const result = await this._handleEventDirect({
|
991
1146
|
templateId,
|
@@ -1000,6 +1155,10 @@ class Print {
|
|
1000
1155
|
nobillnode,
|
1001
1156
|
copies,
|
1002
1157
|
svrUpdateIp,
|
1158
|
+
apptype,
|
1159
|
+
printname,
|
1160
|
+
priority,
|
1161
|
+
uuid,
|
1003
1162
|
messageTimeout
|
1004
1163
|
});
|
1005
1164
|
const handledResult = this._handleResult(result, errorCallbackFn, cancelCallbackFn);
|
@@ -1137,6 +1296,8 @@ class Print {
|
|
1137
1296
|
}
|
1138
1297
|
}, (err) => onReject(err), (err) => {
|
1139
1298
|
console.log(err);
|
1299
|
+
}, (result) => {
|
1300
|
+
console.log(result);
|
1140
1301
|
}, "downloadPDF");
|
1141
1302
|
}
|
1142
1303
|
async print({
|
@@ -539,12 +539,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
539
539
|
}>;
|
540
540
|
developMode: boolean;
|
541
541
|
draggable: boolean;
|
542
|
-
|
543
|
-
isFieldSet: boolean;
|
544
|
-
hideExpressionOption: AnyObject[];
|
542
|
+
isHighlightRow: boolean;
|
545
543
|
idx: number;
|
546
544
|
isHighlight: boolean;
|
547
|
-
|
545
|
+
isFieldSet: boolean;
|
546
|
+
fieldDescribeMode: "column" | "tooltip";
|
547
|
+
hideExpressionOption: AnyObject[];
|
548
548
|
}>;
|
549
549
|
EditDialog: import("vue").DefineComponent<{
|
550
550
|
visible: {
|
@@ -568,12 +568,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
568
568
|
}>;
|
569
569
|
developMode: boolean;
|
570
570
|
draggable: boolean;
|
571
|
-
|
572
|
-
isFieldSet: boolean;
|
573
|
-
hideExpressionOption: AnyObject[];
|
571
|
+
isHighlightRow: boolean;
|
574
572
|
idx: number;
|
575
573
|
isHighlight: boolean;
|
576
|
-
|
574
|
+
isFieldSet: boolean;
|
575
|
+
fieldDescribeMode: "column" | "tooltip";
|
576
|
+
hideExpressionOption: AnyObject[];
|
577
577
|
}>;
|
578
578
|
setStyle: typeof setStyle;
|
579
579
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "save" | "reset")[], "close" | "save" | "reset", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -759,12 +759,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
759
759
|
}>;
|
760
760
|
developMode: boolean;
|
761
761
|
draggable: boolean;
|
762
|
-
|
763
|
-
isFieldSet: boolean;
|
764
|
-
hideExpressionOption: AnyObject[];
|
762
|
+
isHighlightRow: boolean;
|
765
763
|
idx: number;
|
766
764
|
isHighlight: boolean;
|
767
|
-
|
765
|
+
isFieldSet: boolean;
|
766
|
+
fieldDescribeMode: "column" | "tooltip";
|
767
|
+
hideExpressionOption: AnyObject[];
|
768
768
|
}>;
|
769
769
|
isArray: {
|
770
770
|
(value?: any): value is any[];
|
@@ -904,9 +904,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
904
904
|
showSeq: boolean;
|
905
905
|
developMode: boolean;
|
906
906
|
footerFlag: boolean;
|
907
|
+
fieldDescribeMode: "column" | "tooltip";
|
907
908
|
customColumns: FieldSetColumnItem[];
|
908
909
|
showSortPriority: boolean;
|
909
910
|
showHeadFilter: boolean;
|
910
|
-
fieldDescribeMode: "column" | "tooltip";
|
911
911
|
}>;
|
912
912
|
export default _default;
|
@@ -384,11 +384,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
384
384
|
}>;
|
385
385
|
developMode: boolean;
|
386
386
|
draggable: boolean;
|
387
|
-
|
388
|
-
isFieldSet: boolean;
|
389
|
-
hideExpressionOption: AnyObject[];
|
387
|
+
isHighlightRow: boolean;
|
390
388
|
idx: number;
|
391
389
|
isHighlight: boolean;
|
392
|
-
|
390
|
+
isFieldSet: boolean;
|
391
|
+
fieldDescribeMode: "column" | "tooltip";
|
392
|
+
hideExpressionOption: AnyObject[];
|
393
393
|
}>;
|
394
394
|
export default _default;
|
@@ -18,7 +18,7 @@ export type FieldSetItem = Partial<{
|
|
18
18
|
hide: boolean;
|
19
19
|
[key: string]: any;
|
20
20
|
}>;
|
21
|
-
export type FieldSetColumnName = 'show' | 'editable' | 'required' | 'sort' | 'bold' | 'sortDirection' | 'sortPriority' | 'fixedWay' | 'alias' | 'columnWidth' | 'hideExpression' | 'isSearch' | 'isSum' | 'isAvg';
|
21
|
+
export type FieldSetColumnName = 'title' | 'show' | 'editable' | 'required' | 'sort' | 'bold' | 'sortDirection' | 'sortPriority' | 'fixedWay' | 'alias' | 'columnWidth' | 'hideExpression' | 'isSearch' | 'isSum' | 'isAvg';
|
22
22
|
export type FieldSetColumnItem = {
|
23
23
|
title: string;
|
24
24
|
type: 'text' | 'checkbox' | 'select' | 'input' | 'inputNumber' | 'color' | 'custom';
|
@@ -153,7 +153,8 @@ function createComponent(name, Wrapper, Item) {
|
|
153
153
|
return createVNode(NCheckbox, {
|
154
154
|
"checked": selectAllState.value,
|
155
155
|
"onUpdate:checked": ($event) => selectAllState.value = $event,
|
156
|
-
"indeterminate": indeterminate.value
|
156
|
+
"indeterminate": indeterminate.value,
|
157
|
+
"disabled": attrs.disabled
|
157
158
|
}, {
|
158
159
|
default: () => function() {
|
159
160
|
var _a, _b, _c;
|
@@ -3649,36 +3649,26 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
3649
3649
|
};
|
3650
3650
|
isForward: boolean;
|
3651
3651
|
};
|
3652
|
-
trtcProxy: import("vue").Ref<any>;
|
3653
3652
|
trtc: import("trtc-sdk-v5").default;
|
3654
3653
|
timing: import("vue").Ref<string>;
|
3655
3654
|
voiceClose: import("vue").Ref<boolean>;
|
3656
3655
|
isAudio: import("vue").ComputedRef<boolean>;
|
3657
3656
|
isCall: import("vue").ComputedRef<boolean>;
|
3658
3657
|
startTimer: () => void;
|
3659
|
-
resetTimer: () => void;
|
3660
3658
|
toggleAudio: () => Promise<void>;
|
3661
3659
|
messageTypeText: import("vue").ComputedRef<"语音" | "视频">;
|
3662
3660
|
time: {
|
3663
3661
|
timer: any;
|
3664
3662
|
seconds: number;
|
3665
3663
|
};
|
3666
|
-
installEventHandlers: (
|
3667
|
-
|
3668
|
-
|
3669
|
-
|
3670
|
-
|
3671
|
-
|
3672
|
-
|
3673
|
-
|
3674
|
-
handleError: import("../../shared/types").AnyFn;
|
3675
|
-
handleRemoteUserEnter: import("../../shared/types").AnyFn;
|
3676
|
-
handleRemoteAudioAvailable: import("../../shared/types").AnyFn;
|
3677
|
-
handleRemoteUserExit: import("../../shared/types").AnyFn;
|
3678
|
-
handleRemoteVideoAvailable: import("../../shared/types").AnyFn;
|
3679
|
-
}) => void;
|
3680
|
-
videoRef: import("vue").Ref<any>;
|
3681
|
-
selfVideoRef: import("vue").Ref<any>;
|
3664
|
+
installEventHandlers: (handlers: import("./src/hooks").VideoEventHandlers) => void;
|
3665
|
+
uninstallEventHandlers: (handlers: import("./src/hooks").VideoEventHandlers) => void;
|
3666
|
+
enterRoom: () => Promise<boolean>;
|
3667
|
+
exitRoom: () => Promise<void>;
|
3668
|
+
startLocalMedia: (selfVideoRef?: HTMLElement | undefined) => Promise<void>;
|
3669
|
+
MAIN_STREAM_TYPE: any;
|
3670
|
+
videoRef: import("vue").Ref<HTMLElement | undefined>;
|
3671
|
+
selfVideoRef: import("vue").Ref<HTMLElement | undefined>;
|
3682
3672
|
isConnect: import("vue").Ref<boolean>;
|
3683
3673
|
timeout: any;
|
3684
3674
|
info: import("vue").ComputedRef<{
|
@@ -3693,10 +3683,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
3693
3683
|
handleEnter: () => Promise<void>;
|
3694
3684
|
handleFinish: () => void;
|
3695
3685
|
handleExit: () => Promise<void>;
|
3696
|
-
handleRemoteVideoAvailable: (event:
|
3697
|
-
handleRemoteAudioAvailable: (event:
|
3698
|
-
handleRemoteUserEnter: () => void;
|
3699
|
-
handleRemoteUserExit: (event:
|
3686
|
+
handleRemoteVideoAvailable: (event: import("./src/hooks").TRTCEvent) => Promise<void>;
|
3687
|
+
handleRemoteAudioAvailable: (event: import("./src/hooks").TRTCEvent) => void;
|
3688
|
+
handleRemoteUserEnter: (event: import("./src/hooks").TRTCEvent) => void;
|
3689
|
+
handleRemoteUserExit: (event: import("./src/hooks").TRTCEvent) => void;
|
3700
3690
|
handleError: (error: any) => void;
|
3701
3691
|
NButton: any;
|
3702
3692
|
NAvatar: any;
|
@@ -3707,11 +3697,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
3707
3697
|
AV_STATUS: typeof import("./src/constants").AV_STATUS;
|
3708
3698
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
3709
3699
|
MultipleVideo: import("vue").DefineComponent<{}, {
|
3710
|
-
selfVideoRef: import("vue").Ref<
|
3711
|
-
remoteUsers: import("vue").Ref<{
|
3712
|
-
id: string;
|
3713
|
-
name: string;
|
3714
|
-
}[]>;
|
3700
|
+
selfVideoRef: import("vue").Ref<HTMLElement | undefined>;
|
3715
3701
|
state: {
|
3716
3702
|
orgId: string | number;
|
3717
3703
|
currentSessionItem: import("../../shared/types").AnyObject;
|
@@ -3769,33 +3755,35 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
3769
3755
|
content: import("../../shared/types").AnyObject;
|
3770
3756
|
receiver?: string | undefined;
|
3771
3757
|
}) => Promise<void>;
|
3772
|
-
trtc: import("trtc-sdk-v5").default;
|
3773
|
-
trtcProxy: import("vue").Ref<any>;
|
3774
3758
|
voiceClose: import("vue").Ref<boolean>;
|
3775
3759
|
isAudio: import("vue").ComputedRef<boolean>;
|
3776
3760
|
isCall: import("vue").ComputedRef<boolean>;
|
3777
3761
|
startTimer: () => void;
|
3778
|
-
resetTimer: () => void;
|
3779
3762
|
toggleAudio: () => Promise<void>;
|
3780
3763
|
messageTypeText: import("vue").ComputedRef<"语音" | "视频">;
|
3781
3764
|
timing: import("vue").Ref<string>;
|
3782
3765
|
toggleVideo: () => Promise<void>;
|
3783
3766
|
videocamClose: import("vue").Ref<boolean>;
|
3784
|
-
installEventHandlers: (
|
3785
|
-
|
3786
|
-
handleRemoteUserEnter: import("../../shared/types").AnyFn;
|
3787
|
-
handleRemoteAudioAvailable: import("../../shared/types").AnyFn;
|
3788
|
-
handleRemoteUserExit: import("../../shared/types").AnyFn;
|
3789
|
-
handleRemoteVideoAvailable: import("../../shared/types").AnyFn;
|
3790
|
-
}) => void;
|
3791
|
-
uninstallEventHandlers: ({ handleError, handleRemoteUserEnter, handleRemoteAudioAvailable, handleRemoteUserExit, handleRemoteVideoAvailable }: {
|
3792
|
-
handleError: import("../../shared/types").AnyFn;
|
3793
|
-
handleRemoteUserEnter: import("../../shared/types").AnyFn;
|
3794
|
-
handleRemoteAudioAvailable: import("../../shared/types").AnyFn;
|
3795
|
-
handleRemoteUserExit: import("../../shared/types").AnyFn;
|
3796
|
-
handleRemoteVideoAvailable: import("../../shared/types").AnyFn;
|
3797
|
-
}) => void;
|
3767
|
+
installEventHandlers: (handlers: import("./src/hooks").VideoEventHandlers) => void;
|
3768
|
+
uninstallEventHandlers: (handlers: import("./src/hooks").VideoEventHandlers) => void;
|
3798
3769
|
isConnect: import("vue").Ref<boolean>;
|
3770
|
+
remoteUsers: import("vue").Ref<{
|
3771
|
+
id: string;
|
3772
|
+
name: string;
|
3773
|
+
hasVideo?: boolean | undefined;
|
3774
|
+
hasAudio?: boolean | undefined;
|
3775
|
+
}[]>;
|
3776
|
+
enterRoom: () => Promise<boolean>;
|
3777
|
+
exitRoom: () => Promise<void>;
|
3778
|
+
startLocalMedia: (selfVideoRef?: HTMLElement | undefined) => Promise<void>;
|
3779
|
+
findUser: (userId: string) => import("./src/hooks").RemoteUser | undefined;
|
3780
|
+
addOrUpdateUser: (userId: string, updates: Partial<import("./src/hooks").RemoteUser>) => void;
|
3781
|
+
removeUser: (userId: string) => void;
|
3782
|
+
tryRenderRemoteVideo: (userId: string) => Promise<void>;
|
3783
|
+
stopRemoteVideo: (userId: string) => Promise<void>;
|
3784
|
+
setVideoRef: (userId: string, el: HTMLElement | null) => void;
|
3785
|
+
checkAndRenderAllVideos: () => void;
|
3786
|
+
MAIN_STREAM_TYPE: any;
|
3799
3787
|
wrapperRef: import("vue").Ref<HTMLElement | null>;
|
3800
3788
|
handleRef: import("vue").Ref<HTMLElement | null>;
|
3801
3789
|
isMaxSize: import("vue").Ref<boolean>;
|
@@ -3816,15 +3804,18 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
3816
3804
|
checkedIds: string[];
|
3817
3805
|
checkedOptions: import("../../shared/types").AnyObject[];
|
3818
3806
|
}) => void;
|
3807
|
+
sendInvitations: (userIds: string[]) => void;
|
3819
3808
|
handleCall: () => void;
|
3820
3809
|
handleEnter: () => Promise<void>;
|
3821
3810
|
handleExit: () => Promise<void>;
|
3822
|
-
handleRemoteVideoAvailable: (event:
|
3823
|
-
|
3824
|
-
|
3825
|
-
|
3826
|
-
|
3811
|
+
handleRemoteVideoAvailable: (event: import("./src/hooks").TRTCEvent) => Promise<void>;
|
3812
|
+
handleRemoteVideoUnavailable: (event: import("./src/hooks").TRTCEvent) => Promise<void>;
|
3813
|
+
handleRemoteAudioAvailable: (event: import("./src/hooks").TRTCEvent) => Promise<void>;
|
3814
|
+
handleRemoteUserEnter: (event: import("./src/hooks").TRTCEvent) => Promise<void>;
|
3815
|
+
getUserName: (userId: string) => Promise<string>;
|
3816
|
+
handleRemoteUserExit: (event: import("./src/hooks").TRTCEvent) => void;
|
3827
3817
|
handleError: (error: any) => void;
|
3818
|
+
periodicCheckInterval: null;
|
3828
3819
|
NButton: any;
|
3829
3820
|
NAvatar: any;
|
3830
3821
|
NIcon: any;
|