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.
Files changed (89) hide show
  1. package/README.md +87 -87
  2. package/es/components/button-print/index.d.ts +60 -0
  3. package/es/components/button-print/src/ButtonPrint.vue.d.ts +60 -0
  4. package/es/components/button-print/src/ButtonPrint.vue2.js +6 -0
  5. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +18 -0
  6. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +8 -0
  7. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +18 -0
  8. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +8 -0
  9. package/es/components/button-print/src/utils/print.d.ts +4 -2
  10. package/es/components/button-print/src/utils/print.js +165 -4
  11. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  12. package/es/components/field-set/src/FieldColor.vue.d.ts +4 -4
  13. package/es/components/field-set/src/FieldFilter.vue.d.ts +4 -4
  14. package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
  15. package/es/components/field-set/src/components/table-row.vue.d.ts +4 -4
  16. package/es/components/field-set/src/types/index.d.ts +1 -1
  17. package/es/components/form-render/src/components/renderer/radio_checkbox.js +2 -1
  18. package/es/components/iho-chat/index.d.ts +40 -49
  19. package/es/components/iho-chat/src/Index.vue.d.ts +40 -49
  20. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +6 -2
  21. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  22. package/es/components/iho-chat/src/components/ImageLightbox.vue2.js +1 -1
  23. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +29 -28
  24. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +240 -93
  25. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  26. package/es/components/iho-chat/src/components/Video.vue.d.ts +14 -24
  27. package/es/components/iho-chat/src/components/Video.vue2.js +35 -40
  28. package/es/components/iho-chat/src/hooks/useVideo.d.ts +54 -10
  29. package/es/components/iho-chat/src/hooks/useVideo.js +422 -44
  30. package/es/components/iho-chat/src/utils/index.d.ts +1 -0
  31. package/es/components/iho-chat/src/utils/index.js +7 -1
  32. package/es/components/iho-chat/style/index.css +1 -1
  33. package/es/components/index.css +1 -1
  34. package/es/components/index.d.ts +2 -0
  35. package/es/components/index.js +1 -0
  36. package/es/components/keyboard/index.d.ts +8 -0
  37. package/es/components/keyboard/src/Keyboard.vue.d.ts +8 -0
  38. package/es/components/keyboard/src/Keyboard.vue2.js +33 -9
  39. package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +3 -0
  40. package/es/components/keyboard/src/components/NumberPanel.vue2.js +27 -7
  41. package/es/components/keyboard/src/types.d.ts +17 -0
  42. package/es/components/keyboard/src/types.js +1 -0
  43. package/es/components/scale-view/index.d.ts +13 -0
  44. package/es/components/scale-view/src/ScaleView.vue.d.ts +13 -0
  45. package/es/components/scale-view/src/hooks/scaleview-computed.js +2 -1
  46. package/es/components/scale-view/src/hooks/scaleview-props.d.ts +4 -0
  47. package/es/components/scale-view/src/hooks/scaleview-props.js +4 -0
  48. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +32 -4
  49. package/es/components/table-filter/src/tool/baseOptions.js +8 -1
  50. package/es/components/vertify/index.d.ts +1 -0
  51. package/es/components/vertify/index.js +1 -0
  52. package/es/components/vertify/src/components/IdentityVerification.vue.d.ts +89 -0
  53. package/es/components/vertify/src/components/IdentityVerification.vue.js +6 -0
  54. package/es/components/vertify/src/components/IdentityVerification.vue2.js +256 -0
  55. package/es/components/vertify/src/utils/dialog.d.ts +7 -0
  56. package/es/components/vertify/src/utils/dialog.js +73 -0
  57. package/es/components/vertify/src/utils/index.d.ts +11 -0
  58. package/es/components/vertify/src/utils/index.js +24 -0
  59. package/es/components/vod-chunk-upload/index.d.ts +13 -0
  60. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +19 -2
  61. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +104 -75
  62. package/es/components/vod-chunk-upload/src/hooks/upload-computed.d.ts +1 -0
  63. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +20 -3
  64. package/es/components/vod-chunk-upload/src/hooks/upload-data.d.ts +4 -0
  65. package/es/components/vod-chunk-upload/src/hooks/upload-data.js +6 -2
  66. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +13 -0
  67. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +6 -1
  68. package/es/components/vod-chunk-upload/style/index.css +1 -1
  69. package/es/env.d.ts +25 -25
  70. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  71. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  72. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  73. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  74. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  75. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  76. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  77. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  78. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  79. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  80. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  81. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  82. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  83. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  84. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  85. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  86. package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
  87. package/es/shared/package.json.js +1 -1
  88. package/es/shared/utils/fabricjs/index.js +1 -1
  89. package/package.json +2 -2
@@ -0,0 +1,256 @@
1
+ import { defineComponent, reactive, ref, watch, openBlock, createBlock, unref, normalizeStyle, withCtx, createElementVNode, createVNode, withKeys, createTextVNode, toRaw } from 'vue';
2
+ import axios from 'axios';
3
+ import { createDiscreteApi, NModal, NForm, NFormItem, NInput, NSpace, NButton } from 'naive-ui';
4
+
5
+ const _hoisted_1 = {
6
+ class: "content",
7
+ style: {
8
+ "margin-top": "20px"
9
+ }
10
+ };
11
+ var _sfc_main = /* @__PURE__ */ defineComponent({
12
+ __name: "IdentityVerification",
13
+ props: {
14
+ verifyUser: {
15
+ type: Function,
16
+ default: () => Promise.resolve()
17
+ },
18
+ identityVerificationTitle: {
19
+ default: function() {
20
+ var _a, _b, _c;
21
+ try {
22
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.669")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.669")) || "\u8DE8\u8D26\u53F7\u64CD\u4F5C";
23
+ } catch (e) {
24
+ return "\u8DE8\u8D26\u53F7\u64CD\u4F5C";
25
+ }
26
+ }()
27
+ },
28
+ token: {
29
+ default: ""
30
+ },
31
+ modelValue: {
32
+ type: Boolean
33
+ }
34
+ },
35
+ emits: ["update:modelValue", "success", "close", "afterLeaveComponent"],
36
+ setup(__props, {
37
+ emit
38
+ }) {
39
+ const props = __props;
40
+ const loginCheckUrl = "/user-center/user/manage/checkBusPasswordByAuthEmp";
41
+ const DEFAULT_FORM = {
42
+ account: "",
43
+ password: ""
44
+ };
45
+ const {
46
+ message
47
+ } = createDiscreteApi(["message"]);
48
+ let form = reactive({
49
+ ...DEFAULT_FORM
50
+ });
51
+ const rules = {
52
+ account: {
53
+ required: true,
54
+ message: function() {
55
+ var _a, _b, _c;
56
+ try {
57
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.668")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.668")) || "\u8BF7\u8F93\u5165\u5DE5\u53F7";
58
+ } catch (e) {
59
+ return "\u8BF7\u8F93\u5165\u5DE5\u53F7";
60
+ }
61
+ }()
62
+ },
63
+ password: {
64
+ required: true,
65
+ message: function() {
66
+ var _a, _b, _c;
67
+ try {
68
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.469")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.469")) || "\u8BF7\u8F93\u5165\u5BC6\u7801";
69
+ } catch (e) {
70
+ return "\u8BF7\u8F93\u5165\u5BC6\u7801";
71
+ }
72
+ }()
73
+ }
74
+ };
75
+ const style = {
76
+ width: "416px"
77
+ };
78
+ const formRef = ref(null);
79
+ const loading = ref(false);
80
+ const handleClickClose = () => {
81
+ emit("update:modelValue", false);
82
+ emit("close");
83
+ };
84
+ const handleAfterLeave = () => {
85
+ emit("afterLeaveComponent");
86
+ };
87
+ const submitLoginData = async () => {
88
+ try {
89
+ loading.value = true;
90
+ const {
91
+ data = {}
92
+ } = await axios({
93
+ method: "get",
94
+ url: loginCheckUrl,
95
+ headers: {
96
+ Authorization: "bearer " + props.token
97
+ },
98
+ params: {
99
+ empNo: form.account,
100
+ busPassword: form.password
101
+ }
102
+ }) || {};
103
+ if (!data.success) {
104
+ message.error((data == null ? void 0 : data.msg) || (data == null ? void 0 : data.message));
105
+ return false;
106
+ }
107
+ message.success((data == null ? void 0 : data.msg) || (data == null ? void 0 : data.message));
108
+ emit("success", {
109
+ empNo: toRaw(form.account),
110
+ busPassword: toRaw(form.password),
111
+ token: (data == null ? void 0 : data.data) || ""
112
+ });
113
+ } catch (error) {
114
+ message.error(error == null ? void 0 : error.message);
115
+ } finally {
116
+ loading.value = false;
117
+ }
118
+ };
119
+ const handleValidate = () => {
120
+ var _a;
121
+ (_a = formRef.value) == null ? void 0 : _a.validate((errors) => {
122
+ if (!errors) {
123
+ submitLoginData();
124
+ } else {
125
+ console.log(errors);
126
+ return false;
127
+ }
128
+ });
129
+ };
130
+ watch(() => props.modelValue, (val) => {
131
+ if (val)
132
+ return;
133
+ Object.assign(form, DEFAULT_FORM);
134
+ });
135
+ return (_ctx, _cache) => {
136
+ return openBlock(), createBlock(unref(NModal), {
137
+ class: "c-identity-verification-modal",
138
+ preset: "dialog",
139
+ title: __props.identityVerificationTitle,
140
+ show: __props.modelValue,
141
+ "close-on-esc": false,
142
+ "show-icon": false,
143
+ style: normalizeStyle({
144
+ width: style.width,
145
+ overflowY: "auto"
146
+ }),
147
+ onClose: handleClickClose,
148
+ onNegativeClick: handleClickClose,
149
+ onPositiveClick: handleValidate,
150
+ onAfterLeave: handleAfterLeave
151
+ }, {
152
+ default: withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(unref(NForm), {
153
+ ref_key: "formRef",
154
+ ref: formRef,
155
+ model: unref(form),
156
+ rules,
157
+ "label-placement": "left",
158
+ "label-width": "auto",
159
+ "require-mark-placement": "right-hanging"
160
+ }, {
161
+ default: withCtx(() => [createVNode(unref(NFormItem), {
162
+ label: function() {
163
+ var _a, _b, _c;
164
+ try {
165
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.121")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.121")) || "\u5DE5\u53F7";
166
+ } catch (e) {
167
+ return "\u5DE5\u53F7";
168
+ }
169
+ }(),
170
+ path: "account"
171
+ }, {
172
+ default: withCtx(() => [createVNode(unref(NInput), {
173
+ value: unref(form).account,
174
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => unref(form).account = $event),
175
+ placeholder: function() {
176
+ var _a, _b, _c;
177
+ try {
178
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.668")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.668")) || "\u8BF7\u8F93\u5165\u5DE5\u53F7";
179
+ } catch (e) {
180
+ return "\u8BF7\u8F93\u5165\u5DE5\u53F7";
181
+ }
182
+ }(),
183
+ onKeyup: withKeys(handleValidate, ["enter"])
184
+ }, null, 8, ["value", "onKeyup"])]),
185
+ _: 1
186
+ }), createVNode(unref(NFormItem), {
187
+ label: function() {
188
+ var _a, _b, _c;
189
+ try {
190
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.670")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.670")) || "\u4E1A\u52A1\u5BC6\u7801";
191
+ } catch (e) {
192
+ return "\u4E1A\u52A1\u5BC6\u7801";
193
+ }
194
+ }(),
195
+ path: "password"
196
+ }, {
197
+ default: withCtx(() => [createVNode(unref(NInput), {
198
+ type: "password",
199
+ "input-props": {
200
+ autocomplete: "on",
201
+ name: "password"
202
+ },
203
+ value: unref(form).password,
204
+ "onUpdate:value": _cache[1] || (_cache[1] = ($event) => unref(form).password = $event),
205
+ placeholder: function() {
206
+ var _a, _b, _c;
207
+ try {
208
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.469")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.469")) || "\u8BF7\u8F93\u5165\u5BC6\u7801";
209
+ } catch (e) {
210
+ return "\u8BF7\u8F93\u5165\u5BC6\u7801";
211
+ }
212
+ }(),
213
+ onKeyup: withKeys(handleValidate, ["enter"])
214
+ }, null, 8, ["value", "onKeyup"])]),
215
+ _: 1
216
+ })]),
217
+ _: 1
218
+ }, 8, ["model"]), createVNode(unref(NSpace), {
219
+ reverse: ""
220
+ }, {
221
+ default: withCtx(() => [createVNode(unref(NButton), {
222
+ loading: loading.value,
223
+ type: "info",
224
+ onClick: handleValidate
225
+ }, {
226
+ default: withCtx(() => [createTextVNode(function() {
227
+ var _a, _b, _c;
228
+ try {
229
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.671")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.671")) || "\u9A8C\u8BC1";
230
+ } catch (e) {
231
+ return "\u9A8C\u8BC1";
232
+ }
233
+ }())]),
234
+ _: 1
235
+ }, 8, ["loading"]), createVNode(unref(NButton), {
236
+ onClick: handleClickClose
237
+ }, {
238
+ default: withCtx(() => [createTextVNode(function() {
239
+ var _a, _b, _c;
240
+ try {
241
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.28")) || "\u53D6\u6D88";
242
+ } catch (e) {
243
+ return "\u53D6\u6D88";
244
+ }
245
+ }())]),
246
+ _: 1
247
+ })]),
248
+ _: 1
249
+ })])]),
250
+ _: 1
251
+ }, 8, ["title", "show", "style"]);
252
+ };
253
+ }
254
+ });
255
+
256
+ export { _sfc_main as default };
@@ -0,0 +1,7 @@
1
+ import { AnyObject } from '../../../../shared/types';
2
+ import { ComponentInternalInstance } from 'vue';
3
+ export declare class RoleDialog {
4
+ rendered: boolean;
5
+ static createMsg(message: string): string;
6
+ show(instance: ComponentInternalInstance, data: AnyObject): Promise<AnyObject>;
7
+ }
@@ -0,0 +1,73 @@
1
+ import { ref, render, createVNode, withCtx, nextTick } from 'vue';
2
+ import { createProviderWrapper } from '../../../../shared/utils/index.js';
3
+ import IdentityVerification from '../components/IdentityVerification.vue.js';
4
+
5
+ class RoleDialog {
6
+ constructor() {
7
+ this.rendered = false;
8
+ }
9
+ static createMsg(message) {
10
+ return `[RoleDialog] ${message}`;
11
+ }
12
+ show(instance, data) {
13
+ if (this.rendered)
14
+ return Promise.reject(RoleDialog.createMsg(function() {
15
+ var _a, _b, _c;
16
+ try {
17
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.491")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.491")) || "\u8BF7\u52FF\u91CD\u590D\u6253\u5F00\u5F39\u7A97";
18
+ } catch (e) {
19
+ return "\u8BF7\u52FF\u91CD\u590D\u6253\u5F00\u5F39\u7A97";
20
+ }
21
+ }()));
22
+ return new Promise((resolve, reject) => {
23
+ this.rendered = true;
24
+ const container = document.createElement("div");
25
+ const visible = ref(false);
26
+ const ProviderWrapper = createProviderWrapper(instance);
27
+ const {
28
+ title = "",
29
+ token = ""
30
+ } = data;
31
+ const that = this;
32
+ render(createVNode(ProviderWrapper, null, {
33
+ default: withCtx(() => createVNode(IdentityVerification, {
34
+ "to": container,
35
+ "modelValue": visible.value,
36
+ "onUpdate:modelValue": ($event) => visible.value = $event,
37
+ "identityVerificationTitle": title,
38
+ "token": token,
39
+ "onClose": onClose,
40
+ "onAfterLeaveComponent": () => unmount(container),
41
+ "onSuccess": onSuccess
42
+ }, null), instance)
43
+ }), container);
44
+ mount(container);
45
+ nextTick(() => visible.value = true);
46
+ function onClose() {
47
+ reject(RoleDialog.createMsg(function() {
48
+ var _a, _b, _c;
49
+ try {
50
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.492")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.492")) || "\u5F39\u7A97\u5173\u95ED";
51
+ } catch (e) {
52
+ return "\u5F39\u7A97\u5173\u95ED";
53
+ }
54
+ }()));
55
+ }
56
+ function onSuccess(result) {
57
+ resolve(result);
58
+ visible.value = false;
59
+ }
60
+ function mount(target) {
61
+ document.body.appendChild(target);
62
+ }
63
+ function unmount(target) {
64
+ if (!target.parentElement)
65
+ return;
66
+ that.rendered = false;
67
+ target.parentElement.removeChild(target);
68
+ }
69
+ });
70
+ }
71
+ }
72
+
73
+ export { RoleDialog };
@@ -0,0 +1,11 @@
1
+ import { AnyObject } from '../../../../shared/types';
2
+ declare class Vertify {
3
+ private static instance;
4
+ private dialog;
5
+ private instance;
6
+ constructor();
7
+ static getInstance(): Vertify;
8
+ show(data: AnyObject): Promise<AnyObject>;
9
+ }
10
+ export declare const vertify: Vertify;
11
+ export {};
@@ -0,0 +1,24 @@
1
+ import { getCurrentInstance } from 'vue';
2
+ import { RoleDialog } from './dialog.js';
3
+
4
+ class Vertify {
5
+ constructor() {
6
+ this.dialog = new RoleDialog();
7
+ this.instance = null;
8
+ this.instance = getCurrentInstance();
9
+ }
10
+ static getInstance() {
11
+ if (!Vertify.instance) {
12
+ Vertify.instance = new Vertify();
13
+ }
14
+ return Vertify.instance;
15
+ }
16
+ show(data) {
17
+ if (!this.instance)
18
+ this.instance = getCurrentInstance();
19
+ return this.dialog.show(this.instance, data);
20
+ }
21
+ }
22
+ const vertify = Vertify.getInstance();
23
+
24
+ export { vertify };
@@ -21,6 +21,10 @@ declare const VodChunkUpload: SFCWithInstall<import("vue").DefineComponent<{
21
21
  type: FunctionConstructor;
22
22
  default: () => Promise<{}>;
23
23
  };
24
+ chunkUploadApiConfig: {
25
+ type: ObjectConstructor;
26
+ default: () => {};
27
+ };
24
28
  }, {
25
29
  VodState: {
26
30
  videoVisible: boolean;
@@ -85,6 +89,10 @@ declare const VodChunkUpload: SFCWithInstall<import("vue").DefineComponent<{
85
89
  type: FunctionConstructor;
86
90
  default: () => Promise<{}>;
87
91
  };
92
+ chunkUploadApiConfig: {
93
+ type: ObjectConstructor;
94
+ default: () => {};
95
+ };
88
96
  }>> & {
89
97
  onVodFileList?: ((...args: any[]) => any) | undefined;
90
98
  }>>;
@@ -294,12 +302,17 @@ declare const VodChunkUpload: SFCWithInstall<import("vue").DefineComponent<{
294
302
  type: FunctionConstructor;
295
303
  default: () => Promise<{}>;
296
304
  };
305
+ chunkUploadApiConfig: {
306
+ type: ObjectConstructor;
307
+ default: () => {};
308
+ };
297
309
  }>> & {
298
310
  onVodFileList?: ((...args: any[]) => any) | undefined;
299
311
  }, {
300
312
  isDetail: boolean;
301
313
  isLock: boolean;
302
314
  getChunkUploadConfig: Function;
315
+ chunkUploadApiConfig: Record<string, any>;
303
316
  formData: Record<string, any>;
304
317
  limitNum: number;
305
318
  defFileList: string;
@@ -27,6 +27,10 @@ declare const _default: import("vue").DefineComponent<{
27
27
  type: StringConstructor;
28
28
  default: string;
29
29
  };
30
+ chunkUploadApiConfig: {
31
+ type: ObjectConstructor;
32
+ default: () => {};
33
+ };
30
34
  }, {
31
35
  UploadState: {
32
36
  spinning: boolean;
@@ -91,6 +95,10 @@ declare const _default: import("vue").DefineComponent<{
91
95
  type: StringConstructor;
92
96
  default: string;
93
97
  };
98
+ chunkUploadApiConfig: {
99
+ type: ObjectConstructor;
100
+ default: () => {};
101
+ };
94
102
  }>> & {
95
103
  onGetSumbitList?: ((...args: any[]) => any) | undefined;
96
104
  onCloseUpload?: ((...args: any[]) => any) | undefined;
@@ -98,6 +106,7 @@ declare const _default: import("vue").DefineComponent<{
98
106
  emit: (event: "getSumbitList" | "closeUpload", ...args: any[]) => void;
99
107
  message: import("naive-ui").MessageApi;
100
108
  initState: () => void;
109
+ isChunkNew: import("vue").ComputedRef<any>;
101
110
  uploadArguments: import("vue").ComputedRef<{
102
111
  type: any;
103
112
  channel: any;
@@ -115,10 +124,13 @@ declare const _default: import("vue").DefineComponent<{
115
124
  checkMaxLength: () => boolean;
116
125
  computeMD5: (file: any) => void;
117
126
  onFileAdded: (file: any) => void;
118
- verifyUpload: (fileName: any, fileHash: any, file: any) => Promise<unknown>;
127
+ checkFileMd5ExistOld: (obj: any, file: any) => Promise<any>;
128
+ verifyUpload: (fileName: any, fileHash: any, file: any) => Promise<any>;
119
129
  computeMD5Success: (md5: any, file: any) => Promise<void>;
120
130
  onFileProgress: () => void;
121
- mergeRequest: (data: any, file: any) => Promise<unknown>;
131
+ handleMergeFile: (data: any, file: any) => void;
132
+ partFileMergeOld: (obj: any) => Promise<any>;
133
+ mergeRequest: (data: any, file: any) => Promise<void>;
122
134
  onFileSuccess: (rootFile: any, file: any, response: any) => void;
123
135
  hanldeDraggerBtnClick: () => void;
124
136
  getUploadShowStatus: (file: any, key?: string) => any;
@@ -167,12 +179,17 @@ declare const _default: import("vue").DefineComponent<{
167
179
  type: StringConstructor;
168
180
  default: string;
169
181
  };
182
+ chunkUploadApiConfig: {
183
+ type: ObjectConstructor;
184
+ default: () => {};
185
+ };
170
186
  }>> & {
171
187
  onGetSumbitList?: ((...args: any[]) => any) | undefined;
172
188
  onCloseUpload?: ((...args: any[]) => any) | undefined;
173
189
  }, {
174
190
  defaultList: unknown[];
175
191
  getChunkUploadConfig: Function;
192
+ chunkUploadApiConfig: Record<string, any>;
176
193
  source: string;
177
194
  max_size: string | number;
178
195
  propsCategoryMap: string;