cnhis-design-vue 3.1.41-beta.15 → 3.1.41-beta.16
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/field-set/index.d.ts +8 -0
- package/es/components/field-set/src/FieldSet.vue.d.ts +5 -0
- package/es/components/field-set/src/FieldSet.vue.js +1 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -1
- package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
- package/es/components/form-render/src/FormRender.vue.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +213 -121
- package/es/components/info-header/src/InfoDescription.vue.d.ts +265 -0
- package/es/components/info-header/src/InfoDescription.vue.js +1 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +217 -125
- package/es/components/info-header/src/InfoHeader.vue.js +1 -1
- package/es/components/scale-view/src/ScaleView.vue.js +1 -1
- package/es/env.d.ts +24 -24
- package/package.json +2 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/components/fabric-chart/src/utils/index.d.ts +0 -6823
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/tapable/index.d.ts +0 -139
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnyObject, Func } from '../../../../es/shared/types';
|
|
2
|
-
import {
|
|
2
|
+
import { PropType, VNode } from 'vue';
|
|
3
3
|
declare type PatientTag = Partial<{
|
|
4
4
|
type?: 'warning' | 'info';
|
|
5
5
|
content: string;
|
|
@@ -132,6 +132,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
132
132
|
"onUpdate:compact"?: ((...args: any[]) => any) | undefined;
|
|
133
133
|
}>>;
|
|
134
134
|
emit: (event: "openPatientInfo" | "fieldSet" | "update:compact", ...args: any[]) => void;
|
|
135
|
+
infoDescriptionRef: import("vue").Ref<{
|
|
136
|
+
updateColumn: Func;
|
|
137
|
+
} | undefined>;
|
|
138
|
+
updateColumn: () => any;
|
|
135
139
|
toggleCompact: () => Promise<void>;
|
|
136
140
|
openPatientInfo: () => void;
|
|
137
141
|
fieldSet: () => void;
|
|
@@ -156,136 +160,114 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
156
160
|
textColor?: string | undefined;
|
|
157
161
|
} | undefined;
|
|
158
162
|
}>[]>;
|
|
159
|
-
|
|
160
|
-
getEllipsisStyle: (index: number, { bold, contentStyle }?: AnyObject) => CSSProperties;
|
|
161
|
-
needHidden: (item: AnyObject) => boolean;
|
|
162
|
-
infoRef: import("vue").Ref<HTMLElement | undefined>;
|
|
163
|
-
columnNum: import("vue").Ref<number>;
|
|
164
|
-
maxColumnWidth: import("vue").Ref<number>;
|
|
165
|
-
descriptionWidthList: import("vue").Ref<{
|
|
166
|
-
toString: (radix?: number | undefined) => string;
|
|
167
|
-
toFixed: (fractionDigits?: number | undefined) => string;
|
|
168
|
-
toExponential: (fractionDigits?: number | undefined) => string;
|
|
169
|
-
toPrecision: (precision?: number | undefined) => string;
|
|
170
|
-
valueOf: () => number;
|
|
171
|
-
toLocaleString: {
|
|
172
|
-
(locales?: string | string[] | undefined, options?: Intl.NumberFormatOptions | undefined): string;
|
|
173
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions | undefined): string;
|
|
174
|
-
};
|
|
175
|
-
}[]>;
|
|
176
|
-
updateColumn: () => Promise<void>;
|
|
177
|
-
timer: any;
|
|
178
|
-
stopInterval: () => void;
|
|
179
|
-
startInterval: () => void;
|
|
180
|
-
NDescriptions: any;
|
|
181
|
-
NDescriptionsItem: import("vue").DefineComponent<{
|
|
182
|
-
readonly label: StringConstructor;
|
|
183
|
-
readonly span: {
|
|
184
|
-
readonly type: NumberConstructor;
|
|
185
|
-
readonly default: 1;
|
|
186
|
-
};
|
|
187
|
-
readonly labelStyle: PropType<string | CSSProperties>;
|
|
188
|
-
readonly contentStyle: PropType<string | CSSProperties>;
|
|
189
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
190
|
-
readonly label: StringConstructor;
|
|
191
|
-
readonly span: {
|
|
192
|
-
readonly type: NumberConstructor;
|
|
193
|
-
readonly default: 1;
|
|
194
|
-
};
|
|
195
|
-
readonly labelStyle: PropType<string | CSSProperties>;
|
|
196
|
-
readonly contentStyle: PropType<string | CSSProperties>;
|
|
197
|
-
}>>, {
|
|
198
|
-
readonly span: number;
|
|
199
|
-
}>;
|
|
200
|
-
NTag: any;
|
|
201
|
-
NScrollbar: any;
|
|
163
|
+
NEllipsis: any;
|
|
202
164
|
NImage: any;
|
|
203
165
|
NPopover: any;
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
type:
|
|
208
|
-
required:
|
|
209
|
-
|
|
210
|
-
rootSlots: {
|
|
211
|
-
type: PropType<Record<string, Func<any[], any>>>;
|
|
212
|
-
};
|
|
213
|
-
}, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
214
|
-
renderer: {
|
|
215
|
-
type: PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | Func<any[], any>>;
|
|
216
|
-
required: true;
|
|
166
|
+
NTag: any;
|
|
167
|
+
InfoDescription: import("vue").DefineComponent<{
|
|
168
|
+
compact: {
|
|
169
|
+
type: BooleanConstructor;
|
|
170
|
+
required: false;
|
|
171
|
+
default: boolean;
|
|
217
172
|
};
|
|
218
|
-
|
|
219
|
-
type:
|
|
173
|
+
infoList: {
|
|
174
|
+
type: ArrayConstructor;
|
|
175
|
+
required: false;
|
|
176
|
+
default: () => never[];
|
|
220
177
|
};
|
|
221
|
-
|
|
222
|
-
InfoEllipsis: import("vue").DefineComponent<{
|
|
223
|
-
content: {
|
|
178
|
+
labelField: {
|
|
224
179
|
type: StringConstructor;
|
|
180
|
+
required: false;
|
|
225
181
|
default: string;
|
|
226
182
|
};
|
|
227
|
-
|
|
228
|
-
type: StringConstructor;
|
|
229
|
-
};
|
|
230
|
-
contentStyle: {
|
|
231
|
-
type: PropType<CSSProperties>;
|
|
232
|
-
default: () => {};
|
|
233
|
-
};
|
|
234
|
-
}, {
|
|
235
|
-
NEllipsis: any;
|
|
236
|
-
NTooltip: any;
|
|
237
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
238
|
-
content: {
|
|
183
|
+
valueField: {
|
|
239
184
|
type: StringConstructor;
|
|
185
|
+
required: false;
|
|
240
186
|
default: string;
|
|
241
187
|
};
|
|
242
|
-
|
|
243
|
-
type: StringConstructor;
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
type: PropType<CSSProperties>;
|
|
247
|
-
default: () => {};
|
|
248
|
-
};
|
|
249
|
-
}>>, {
|
|
250
|
-
content: string;
|
|
251
|
-
contentStyle: CSSProperties;
|
|
252
|
-
}>;
|
|
253
|
-
HiddenContent: import("vue").DefineComponent<{
|
|
254
|
-
content: {
|
|
255
|
-
type: StringConstructor;
|
|
256
|
-
default: string;
|
|
188
|
+
minColumnWidth: {
|
|
189
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
190
|
+
required: false;
|
|
191
|
+
default: number;
|
|
257
192
|
};
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
193
|
+
rowHeight: {
|
|
194
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
195
|
+
required: false;
|
|
196
|
+
default: number;
|
|
261
197
|
};
|
|
262
|
-
|
|
263
|
-
type:
|
|
264
|
-
|
|
198
|
+
rootSlot: {
|
|
199
|
+
type: ObjectConstructor;
|
|
200
|
+
required: true;
|
|
265
201
|
};
|
|
266
202
|
}, {
|
|
267
|
-
props:
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
203
|
+
props: {
|
|
204
|
+
compact: boolean;
|
|
205
|
+
infoList: AnyObject[];
|
|
206
|
+
labelField: string;
|
|
207
|
+
valueField: string;
|
|
208
|
+
minColumnWidth: string | number;
|
|
209
|
+
rowHeight: string | number;
|
|
210
|
+
rootSlot: Record<string, Func<any[], any>>;
|
|
211
|
+
};
|
|
212
|
+
getDescriptionItemStyle: ({ bold, contentStyle }?: AnyObject) => import("vue").CSSProperties;
|
|
213
|
+
getEllipsisStyle: (index: number, { bold, contentStyle }?: AnyObject) => import("vue").CSSProperties;
|
|
214
|
+
needHidden: (item: AnyObject) => boolean;
|
|
215
|
+
columnNum: import("vue").Ref<number>;
|
|
216
|
+
infoRef: import("vue").Ref<HTMLElement | undefined>;
|
|
217
|
+
maxColumnWidth: import("vue").Ref<number>;
|
|
218
|
+
descriptionWidthList: import("vue").Ref<{
|
|
219
|
+
toString: (radix?: number | undefined) => string;
|
|
220
|
+
toFixed: (fractionDigits?: number | undefined) => string;
|
|
221
|
+
toExponential: (fractionDigits?: number | undefined) => string;
|
|
222
|
+
toPrecision: (precision?: number | undefined) => string;
|
|
223
|
+
valueOf: () => number;
|
|
224
|
+
toLocaleString: {
|
|
225
|
+
(locales?: string | string[] | undefined, options?: Intl.NumberFormatOptions | undefined): string;
|
|
226
|
+
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions | undefined): string;
|
|
271
227
|
};
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
228
|
+
}[]>;
|
|
229
|
+
updateColumn: () => Promise<void>;
|
|
230
|
+
timer: any;
|
|
231
|
+
stopInterval: () => void;
|
|
232
|
+
startInterval: () => void;
|
|
233
|
+
NDescriptions: any;
|
|
234
|
+
NDescriptionsItem: import("vue").DefineComponent<{
|
|
235
|
+
readonly label: StringConstructor;
|
|
236
|
+
readonly span: {
|
|
237
|
+
readonly type: NumberConstructor;
|
|
238
|
+
readonly default: 1;
|
|
275
239
|
};
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
240
|
+
readonly labelStyle: PropType<string | import("vue").CSSProperties>;
|
|
241
|
+
readonly contentStyle: PropType<string | import("vue").CSSProperties>;
|
|
242
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
243
|
+
readonly label: StringConstructor;
|
|
244
|
+
readonly span: {
|
|
245
|
+
readonly type: NumberConstructor;
|
|
246
|
+
readonly default: 1;
|
|
279
247
|
};
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
maxWidth: string;
|
|
285
|
-
width: string;
|
|
248
|
+
readonly labelStyle: PropType<string | import("vue").CSSProperties>;
|
|
249
|
+
readonly contentStyle: PropType<string | import("vue").CSSProperties>;
|
|
250
|
+
}>>, {
|
|
251
|
+
readonly span: number;
|
|
286
252
|
}>;
|
|
287
|
-
|
|
288
|
-
|
|
253
|
+
NScrollbar: any;
|
|
254
|
+
SlotRender: import("vue").DefineComponent<{
|
|
255
|
+
renderer: {
|
|
256
|
+
type: PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | Func<any[], any>>;
|
|
257
|
+
required: true;
|
|
258
|
+
};
|
|
259
|
+
rootSlots: {
|
|
260
|
+
type: PropType<Record<string, Func<any[], any>>>;
|
|
261
|
+
};
|
|
262
|
+
}, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
263
|
+
renderer: {
|
|
264
|
+
type: PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | Func<any[], any>>;
|
|
265
|
+
required: true;
|
|
266
|
+
};
|
|
267
|
+
rootSlots: {
|
|
268
|
+
type: PropType<Record<string, Func<any[], any>>>;
|
|
269
|
+
};
|
|
270
|
+
}>>, {}>;
|
|
289
271
|
InfoEllipsis: import("vue").DefineComponent<{
|
|
290
272
|
content: {
|
|
291
273
|
type: StringConstructor;
|
|
@@ -295,7 +277,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
295
277
|
type: StringConstructor;
|
|
296
278
|
};
|
|
297
279
|
contentStyle: {
|
|
298
|
-
type: PropType<CSSProperties>;
|
|
280
|
+
type: PropType<import("vue").CSSProperties>;
|
|
299
281
|
default: () => {};
|
|
300
282
|
};
|
|
301
283
|
}, {
|
|
@@ -310,29 +292,139 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
310
292
|
type: StringConstructor;
|
|
311
293
|
};
|
|
312
294
|
contentStyle: {
|
|
313
|
-
type: PropType<CSSProperties>;
|
|
295
|
+
type: PropType<import("vue").CSSProperties>;
|
|
296
|
+
default: () => {};
|
|
297
|
+
};
|
|
298
|
+
}>>, {
|
|
299
|
+
content: string;
|
|
300
|
+
contentStyle: import("vue").CSSProperties;
|
|
301
|
+
}>;
|
|
302
|
+
HiddenContent: import("vue").DefineComponent<{
|
|
303
|
+
content: {
|
|
304
|
+
type: StringConstructor;
|
|
305
|
+
default: string;
|
|
306
|
+
};
|
|
307
|
+
tip: StringConstructor;
|
|
308
|
+
width: {
|
|
309
|
+
type: NumberConstructor;
|
|
310
|
+
};
|
|
311
|
+
contentStyle: {
|
|
312
|
+
type: PropType<import("vue").CSSProperties>;
|
|
313
|
+
default: () => {};
|
|
314
|
+
};
|
|
315
|
+
}, {
|
|
316
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
317
|
+
content: {
|
|
318
|
+
type: StringConstructor;
|
|
319
|
+
default: string;
|
|
320
|
+
};
|
|
321
|
+
tip: StringConstructor;
|
|
322
|
+
width: {
|
|
323
|
+
type: NumberConstructor;
|
|
324
|
+
};
|
|
325
|
+
contentStyle: {
|
|
326
|
+
type: PropType<import("vue").CSSProperties>;
|
|
327
|
+
default: () => {};
|
|
328
|
+
};
|
|
329
|
+
}>> & {}>>;
|
|
330
|
+
hidden: import("vue").Ref<boolean>;
|
|
331
|
+
toggleHidden: () => void;
|
|
332
|
+
wrapperStyle: import("vue").ComputedRef<{
|
|
333
|
+
maxWidth: string;
|
|
334
|
+
width: string;
|
|
335
|
+
}>;
|
|
336
|
+
parsedContentStyle: import("vue").ComputedRef<{}>;
|
|
337
|
+
displayContent: import("vue").ComputedRef<string>;
|
|
338
|
+
InfoEllipsis: import("vue").DefineComponent<{
|
|
339
|
+
content: {
|
|
340
|
+
type: StringConstructor;
|
|
341
|
+
default: string;
|
|
342
|
+
};
|
|
343
|
+
tip: {
|
|
344
|
+
type: StringConstructor;
|
|
345
|
+
};
|
|
346
|
+
contentStyle: {
|
|
347
|
+
type: PropType<import("vue").CSSProperties>;
|
|
348
|
+
default: () => {};
|
|
349
|
+
};
|
|
350
|
+
}, {
|
|
351
|
+
NEllipsis: any;
|
|
352
|
+
NTooltip: any;
|
|
353
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
354
|
+
content: {
|
|
355
|
+
type: StringConstructor;
|
|
356
|
+
default: string;
|
|
357
|
+
};
|
|
358
|
+
tip: {
|
|
359
|
+
type: StringConstructor;
|
|
360
|
+
};
|
|
361
|
+
contentStyle: {
|
|
362
|
+
type: PropType<import("vue").CSSProperties>;
|
|
363
|
+
default: () => {};
|
|
364
|
+
};
|
|
365
|
+
}>>, {
|
|
366
|
+
content: string;
|
|
367
|
+
contentStyle: import("vue").CSSProperties;
|
|
368
|
+
}>;
|
|
369
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
370
|
+
content: {
|
|
371
|
+
type: StringConstructor;
|
|
372
|
+
default: string;
|
|
373
|
+
};
|
|
374
|
+
tip: StringConstructor;
|
|
375
|
+
width: {
|
|
376
|
+
type: NumberConstructor;
|
|
377
|
+
};
|
|
378
|
+
contentStyle: {
|
|
379
|
+
type: PropType<import("vue").CSSProperties>;
|
|
314
380
|
default: () => {};
|
|
315
381
|
};
|
|
316
382
|
}>>, {
|
|
317
383
|
content: string;
|
|
318
|
-
contentStyle: CSSProperties;
|
|
384
|
+
contentStyle: import("vue").CSSProperties;
|
|
319
385
|
}>;
|
|
320
386
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
321
|
-
|
|
387
|
+
compact: {
|
|
388
|
+
type: BooleanConstructor;
|
|
389
|
+
required: false;
|
|
390
|
+
default: boolean;
|
|
391
|
+
};
|
|
392
|
+
infoList: {
|
|
393
|
+
type: ArrayConstructor;
|
|
394
|
+
required: false;
|
|
395
|
+
default: () => never[];
|
|
396
|
+
};
|
|
397
|
+
labelField: {
|
|
398
|
+
type: StringConstructor;
|
|
399
|
+
required: false;
|
|
400
|
+
default: string;
|
|
401
|
+
};
|
|
402
|
+
valueField: {
|
|
322
403
|
type: StringConstructor;
|
|
404
|
+
required: false;
|
|
323
405
|
default: string;
|
|
324
406
|
};
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
407
|
+
minColumnWidth: {
|
|
408
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
409
|
+
required: false;
|
|
410
|
+
default: number;
|
|
328
411
|
};
|
|
329
|
-
|
|
330
|
-
type:
|
|
331
|
-
|
|
412
|
+
rowHeight: {
|
|
413
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
414
|
+
required: false;
|
|
415
|
+
default: number;
|
|
416
|
+
};
|
|
417
|
+
rootSlot: {
|
|
418
|
+
type: ObjectConstructor;
|
|
419
|
+
required: true;
|
|
332
420
|
};
|
|
333
421
|
}>>, {
|
|
334
|
-
|
|
335
|
-
|
|
422
|
+
compact: boolean;
|
|
423
|
+
infoList: unknown[];
|
|
424
|
+
labelField: string;
|
|
425
|
+
valueField: string;
|
|
426
|
+
minColumnWidth: string | number;
|
|
427
|
+
rowHeight: string | number;
|
|
336
428
|
}>;
|
|
337
429
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("openPatientInfo" | "fieldSet" | "update:compact")[], "openPatientInfo" | "fieldSet" | "update:compact", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
338
430
|
compact: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,
|
|
1
|
+
import{defineComponent as e,ref as t,computed as n,openBlock as a,createElementBlock as i,normalizeClass as o,createElementVNode as r,createCommentVNode as s,renderSlot as l,Fragment as f,createVNode as c,unref as d,withCtx as p,mergeProps as u,toDisplayString as v,renderList as g,createBlock as m,resolveDynamicComponent as h,createTextVNode as y,h as I,nextTick as _}from"vue";import{isString as b,isArray as k}from"lodash-es";import{NPopover as w,NImage as x,NTag as $,NEllipsis as S}from"naive-ui";import z from"./InfoDescription.vue.js";import H from"../../../_virtual/plugin-vue_export-helper.js";const P={class:"c-info-header__operation"},j={key:0,class:"c-info-header__divider"},C={class:"c-info-header__patient"},L={class:"c-info-header__patientHeader"},F={key:0,class:"c-info-header__patientHeader--name"},M={key:1,class:"c-info-header__patientHeader--sex"},q={key:2,class:"c-info-header__patientHeader--age"},A={class:"c-info-header__setting"},D=["onClick"];var N=H(e({__name:"InfoHeader",props:{compact:{type:Boolean,required:!0},separator:{type:String,default:":"},patientInfo:{type:Object,default:()=>({})},infoList:{type:Array,required:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},minColumnWidth:{type:[String,Number],default:180},rowHeight:{type:[String,Number],default:32},settingIcons:{type:Array,default:()=>["patientInfo","fieldSet","compact"]}},emits:["openPatientInfo","fieldSet","update:compact"],setup(e,{expose:H,emit:N}){const B=e,O=t();function R(){var e;return null==(e=O.value)?void 0:e.updateColumn()}const U={patientInfo:{event:function(){N("openPatientInfo")},render:()=>[I("i",{class:"iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaobianji"})]},fieldSet:{event:function(){N("fieldSet")},render:()=>[I("i",{class:"iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaoshezhi"})]},compact:{event:async function(){N("update:compact",!B.compact),await _(),await R()},render:()=>[I("i",{class:"iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia"})]}},W=n((()=>B.settingIcons.map((e=>(b(e)?U[e]:e)||{}))));function E({type:e="warning"}){return{color:{warning:"#fcc200",info:"rgba(45, 122, 255, 0.1)"}[e],textColor:{warning:"#fff",info:"#2563F4"}[e]}}const G=n((()=>B.patientInfo&&k(B.patientInfo.tagList)?B.patientInfo.tagList.filter((e=>e.render||b(e.content)&&e.content)):[]));return H({update:R}),(t,n)=>(a(),i("div",{class:o(["c-info-header",{"is-compact":e.compact}])},[r("section",P,[s(" 操作区插槽 "),l(t.$slots,"operation")]),t.$slots.operation?(a(),i("div",j)):s("v-if",!0),r("section",C,[s(" 患者信息区插槽 "),l(t.$slots,"patientModule"),s(" 头像区插槽 "),l(t.$slots,"avatarModule",{},(()=>[t.$slots.avatarModule?s("v-if",!0):(a(),i(f,{key:0},[s(" 头像插槽 "),l(t.$slots,"avatar",{},(()=>[c(d(w),null,{trigger:p((()=>[c(d(x),u({style:{"border-radius":"50%"},width:40,height:40,"preview-disabled":"",src:e.patientInfo.avatar},e.patientInfo.avatarProps),null,16,["src"])])),default:p((()=>[c(d(x),u({width:200,"preview-disabled":"",src:e.patientInfo.avatarPreview||e.patientInfo.avatar},e.patientInfo.avatarPreviewProps),null,16,["src"])])),_:1})])),r("section",null,[r("header",L,[e.patientInfo.name?(a(),i("div",F,v(e.patientInfo.name),1)):s("v-if",!0),e.patientInfo.sex?(a(),i("div",M,"/ "+v(e.patientInfo.sex),1)):s("v-if",!0),null!=e.patientInfo.age?(a(),i("div",q," / "+v(e.patientInfo.age)+v(e.patientInfo.ageUnit||"岁"),1)):s("v-if",!0),s(" tag区插槽 "),l(t.$slots,"tags",{tagList:d(G)},(()=>[(a(!0),i(f,null,g(e.patientInfo.tagList||[],(e=>(a(),m(d($),u({key:e.content,size:"medium",bordered:!1,color:E(e)},e),{default:p((()=>[e.render?(a(),m(h(e.render),{key:0})):(a(),m(d(S),{key:1,style:{"max-width":"96px"}},{default:p((()=>[y(v(e.content),1)])),_:2},1024))])),_:2},1040,["color"])))),128))]))]),s(" 头像信息区插槽 "),l(t.$slots,"avatarInfo")])],64))]))]),c(z,u({ref_key:"infoDescriptionRef",ref:O,"root-slot":t.$slots},t.$props),null,16,["root-slot"]),r("section",A,[s(" 设置区插槽 "),l(t.$slots,"setting"),t.$slots.setting?s("v-if",!0):(a(!0),i(f,{key:0},g(d(W),(e=>(a(),i("div",{key:e,class:"c-info-header__settingIcon",onClick:e.event},[(a(),m(h(e.render)))],8,D)))),128))])],2))}}),[["__file","InfoHeader.vue"]]);export{N as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,reactive as o,ref as a,watch as t,nextTick as i,openBlock as n,createElementBlock as s,normalizeClass as l,unref as r,createCommentVNode as u,Fragment as c,createBlock as m,mergeProps as v,createElementVNode as p,normalizeStyle as d,createVNode as f,withCtx as g,renderList as y,toDisplayString as k,createTextVNode as h,resolveDynamicComponent as C,h as w}from"vue";import b from"./hooks/use-noData.js";import{getScaleViewState as S}from"./hooks/scaleview-state.js";import E from"./hooks/scaleview-props.js";import{ScaleViewComputed as _}from"./hooks/scaleview-computed.js";import{ScaleViewInit as A}from"./hooks/scaleview-init.js";import{ScaleViewSubmit as j}from"./hooks/scaleview-submit.js";import{handleQueryParams as T,isCollection as D,isEvaluation as O}from"./utils/judge-types.js";import{useEvent as L}from"./hooks/use-event.js";import x from"./components/NoData.vue.js";import I from"../../../shared/components/SvgIcon/SvgIcon.vue.js";import P from"./components/EvaluateCountdown.vue.js";import N from"./components/EvaluatePage.vue.js";import q from"./components/AnswerParse.vue.js";import M from"./components/ScaleScore.js";import{useDialog as B,useMessage as R,NForm as V,NFormItem as F,NButton as K}from"naive-ui";import H from"../../../_virtual/plugin-vue_export-helper.js";const W=["innerHTML"],U={key:0,class:"required-text"},J={key:1,class:"evalute-label"},X=["onClick"],G={key:1,class:"footer"};var Q=H(e({__name:"ScaleView",props:E,emits:["onCloseSetting","submitNoRequest","onSubmit","startWriteScale"],setup(e,{expose:E,emit:H}){const Q=e,{ScaleViewState:$}=S(),z=o($),Y=B(),Z=R(),ee=a(null),oe=a(null),{noDataState:ae,setNoData:te,resetNodata:ie}=b(),ne=T(),{showEvatip:se,isFormBoldOpen:le,scaleStyle:re,handlePageClass:ue,isShowItem:ce,handleShowQuestionNumber:me,hasScore:ve,isPreviewScale:pe,showEvaluateEntry:de,showEvaluateCoundownPage:fe,showSaveBtn:ge,showEvaluateLabel:ye,showAnswerParse:ke,propsConfig:he,evaluatePageProps:Ce,evaluateCountdownProps:we,skipCover:be,scaleEdit:Se}=_(Q,z,{query:ne}),{initForm:Ee}=A(Q,z,H,{query:ne}),{submitMethod:_e}=j(Q,z,H,{query:ne}),{nextLogicEvent:Ae,handleDynamicDataRelation:je}=L(Q,z);(()=>{let{id:e}=ne;e&&(z.shareId=e)})();const Te=e=>{try{ie(),Ee(e)}catch(e){console.log(e,"--error"),z.spinning=!1,z.hasFrontAddress=!1,te(!0,null==e?void 0:e.resultMsg,null==e?void 0:e.result)}};t((()=>Q.ids),((e,o)=>{o?e.guage_id&&e.guage_id!=o.guage_id&&Te(e):e.guage_id&&Te(e)}),{immediate:!0}),t((()=>Q.guageData),(e=>{if(!e||!Object.keys(e||{}).length)return;z.form={},z.formArray=[];const o=JSON.parse(JSON.stringify(e));i((()=>{Ee(o)}))}),{immediate:!0});const De=e=>{z.showEvaluateSettingWrap=!1,z.showEvaluateCountdown=!!e,H("startWriteScale")},Oe=()=>{console.log("----closeEvaluateCountdown"),z.showEvaluateCountdown=!1,pe.value||(z.banSubmit=!0,_e(),Y.warning({title:"温馨提示",content:"测评时间到了,结束测评!",maskClosable:!1,positiveText:"确定",onPositiveClick:()=>{}}))},Le=e=>{Y.warning({title:"提示",content:()=>w("div",{class:"evatip-container"},[w("span","答案解析:"),w("p",e)]),class:"c-evatip-dialog-wrap",showIcon:!1,positiveText:"确定",negativeText:"关闭",maskClosable:!1,onPositiveClick(){},onNegativeClick(){}})},xe=(e,o,a)=>{console.log(e,"--val");let{choiceObj:t,isSetObj:i}=a||{};switch(o.type.includes("SELECT")||(z.form[o.val_key]=e),o.type){case"SELECT":case"EVALUATE_SELECT":let{value:a,list:n=[]}=e;z.form[o.val_key]=a,Ae(e,o,z.formArray),je(n,o,z.formArray);break;case"RADIO_BLOCK":case"CHECKBOX_BLOCK":i&&(z.choiceComObj[o.val_key]=t),Ae(e,o,z.formArray);break;case"EVALUATE_RADIO_BLOCK":case"EVALUATE_CHECKBOX_BLOCK":Ae(e,o,z.formArray);break;case"DATE":case"TIME":case"DATETIME":case"SEARCH_CASCADE":z.submitForm[o.val_key]=e}},Ie=(e,o)=>{console.log(o),z.form[o.val_key]=e},Pe=e=>{if(!e||!e.length)return{labelStr:"",labels:[]};const o=e||[],a=[],t=[];return o.forEach((e=>{t.push(e),a.push(e.labelName)})),z.labelSelectedList=o,{labelStr:a.join(","),labels:t}},Ne=()=>{var e;if(!z.formArray.find((e=>O(e.type))))return void qe("确认要提交吗?");let{evaluateResultSetting:o}=z.config;if(!o||!Object.keys(o).length&&!de.value||Se.value)return void qe("确认要结束测评吗?");if("formIframe"==Q.openType&&de.value)return void H("submitNoRequest");let a="确定要提前结束测评吗?";if(fe.value&&(null==(e=ee.value)?void 0:e.getCountdownObj)){const e=ee.value.getCountdownObj(),{setAnswered:o,totalLen:t}=e;o<t?a="存在未作答的题目,确定要提前结束测评吗?":!(null==z?void 0:z.showEvaluateCountdown)&&(a="确认要结束测评吗?")}qe(a)},qe=e=>{Y.warning({title:"温馨提示",content:()=>w("div",{style:{paddingLeft:"30px"}},e),positiveText:"确定",negativeText:"取消",maskClosable:!1,closable:!1,positiveButtonProps:{type:"primary"},onPositiveClick:()=>{Me()},onNegativeClick(){}})},Me=()=>{var e;null==(e=oe.value)||e.validate((e=>{var o;if(e){console.log(e);let a=(null==(o=e[0])?void 0:o[0])||{},t=a.field,i=a.message,n=z.formArray.find((e=>e.databaseTitle===t));return n&&(t=n.title),Z.error(t+i),!1}_e()}))},Be=()=>{H("onCloseSetting")};return E({getScaleData:()=>({...z}),onSubmit:Ne,cancel:Be}),(e,o)=>(n(),s("div",{class:l(["c-scale",{"c-scale-nobtn":r(ge)}])},[u(' <template v-if="state.spinning">\n <n-spin :show="state.spinning" description="加载中"></n-spin>\n </template> '),z.spinning||z.hasFrontAddress?u("v-if",!0):(n(),s(c,{key:0},[r(ae).noData?(n(),m(x,{key:0,noDataImg:r(ae).noDataImg,noDataTip:r(ae).noDataTip},null,8,["noDataImg","noDataTip"])):(n(),s(c,{key:1},[r(de)&&!r(be)?(n(),m(N,v({key:0},r(Ce),{onWriteGuage:De}),null,16)):(n(),s(c,{key:1},[r(fe)?(n(),m(P,v({key:0,ref_key:"countdownDom",ref:ee},r(we),{onCloseEvaluateCountdown:Oe}),null,16)):u("v-if",!0),p("div",{class:l(["scale-container",{"scale-container-nopadding":r(ue),"scale-container-hasfooter":r(ge)}]),style:d(r(re))},[r(ve)?(n(),m(r(M),{key:0,config:z.config,maxScore:z.maxScore},null,8,["config","maxScore"])):u("v-if",!0),f(r(V),{ref_key:"formRef",ref:oe,model:z.form,rules:z.rules,"require-mark-placement":"left",class:"main"},{default:g((()=>[(n(!0),s(c,null,y(z.formArray,((e,o)=>(n(),s(c,{key:(e.id||e.seq)+o},[r(ce)(e)?(n(),m(r(F),{key:0,path:e.val_key,"show-label":!r(D)(e.type),class:"c-scle-form-item"},{label:g((()=>[p("span",{class:l({"scale-label-required":r(le)(e)}),innerHTML:r(me)(e)},null,10,W),r(le)(e)?(n(),s("span",U,"(必填)")):u("v-if",!0),r(ye)(e)?(n(),s("span",J,k(r(ye)(e)),1)):u("v-if",!0),r(se)(e)?(n(),s("span",{key:2,class:"evalute-tip",onClick:o=>(async e=>{var o;if(z.evatipMap[e.id])return void Le(z.evatipMap[e.id]);let a="getSubjectAnswer";const t=(null==(o=Q.scaleApiConfig)?void 0:o[a])||null;if(!t||"function"!=typeof t)return void Z.error(`${a} Is not a function`);let i=await t(e.id);i&&(z.evatipMap[e.id]||(z.evatipMap[e.id]=i,Le(i)))})(e)},[f(r(I),{"icon-class":"a-xitongtubiaotishi"}),h(" 查看提示 ")],8,X)):u("v-if",!0)])),default:g((()=>[(n(),m(C(e.renderCom),v(r(he)(e,o),{key:(e.id||e.seq)+o,onScaleChange:xe,onOnChange:o=>((e,o)=>{z.form[o.val_key]=Pe(e)})(o,e),onVodFileList:Ie}),null,16,["onOnChange"])),r(ke)(e)?(n(),m(q,{key:0,item:e},null,8,["item"])):u("v-if",!0)])),_:2},1032,["path","show-label"])):u("v-if",!0)],64)))),128))])),_:1},8,["model","rules"])],6),r(ge)?(n(),s("div",G,[u(" 分享的链接 隐藏取消按钮 "),"guage"!==Q.sourceType?(n(),m(r(K),{key:0,onClick:Be},{default:g((()=>[h("取消")])),_:1})):u("v-if",!0),Q.isLock?u("v-if",!0):(n(),m(r(K),{key:1,onClick:Ne,disabled:z.banSubmit,type:"primary"},{default:g((()=>[h("保存")])),_:1},8,["disabled"]))])):u("v-if",!0)],64))],64))],64))],2))}}),[["__file","ScaleView.vue"]]);export{Q as default};
|
|
1
|
+
import{defineComponent as e,reactive as o,ref as a,watch as t,nextTick as i,openBlock as n,createElementBlock as s,normalizeClass as l,unref as r,createCommentVNode as u,Fragment as c,createBlock as m,mergeProps as v,createElementVNode as p,normalizeStyle as d,createVNode as f,withCtx as g,renderList as y,toDisplayString as k,createTextVNode as h,resolveDynamicComponent as C,h as w}from"vue";import b from"./hooks/use-noData.js";import{getScaleViewState as S}from"./hooks/scaleview-state.js";import E from"./hooks/scaleview-props.js";import{ScaleViewComputed as _}from"./hooks/scaleview-computed.js";import{ScaleViewInit as A}from"./hooks/scaleview-init.js";import{ScaleViewSubmit as j}from"./hooks/scaleview-submit.js";import{handleQueryParams as T,isCollection as D,isEvaluation as O}from"./utils/judge-types.js";import{useEvent as L}from"./hooks/use-event.js";import x from"./components/NoData.vue.js";import I from"../../../shared/components/SvgIcon/SvgIcon.vue.js";import P from"./components/EvaluateCountdown.vue.js";import N from"./components/EvaluatePage.vue.js";import q from"./components/AnswerParse.vue.js";import M from"./components/ScaleScore.js";import{useDialog as B,useMessage as R,NForm as V,NFormItem as F,NButton as K}from"naive-ui";import H from"../../../_virtual/plugin-vue_export-helper.js";const W=["innerHTML"],U={key:0,class:"required-text"},J={key:1,class:"evalute-label"},X=["onClick"],G={key:1,class:"footer"};var Q=H(e({__name:"ScaleView",props:E,emits:["onCloseSetting","submitNoRequest","onSubmit","startWriteScale"],setup(e,{expose:E,emit:H}){const Q=e,{ScaleViewState:$}=S(),z=o($),Y=B(),Z=R(),ee=a(null),oe=a(null),{noDataState:ae,setNoData:te,resetNodata:ie}=b(),ne=T(),{showEvatip:se,isFormBoldOpen:le,scaleStyle:re,handlePageClass:ue,isShowItem:ce,handleShowQuestionNumber:me,hasScore:ve,isPreviewScale:pe,showEvaluateEntry:de,showEvaluateCoundownPage:fe,showSaveBtn:ge,showEvaluateLabel:ye,showAnswerParse:ke,propsConfig:he,evaluatePageProps:Ce,evaluateCountdownProps:we,skipCover:be,scaleEdit:Se}=_(Q,z,{query:ne}),{initForm:Ee}=A(Q,z,H,{query:ne}),{submitMethod:_e}=j(Q,z,H,{query:ne}),{nextLogicEvent:Ae,handleDynamicDataRelation:je}=L(Q,z);(()=>{let{id:e}=ne;e&&(z.shareId=e)})();const Te=e=>{try{ie(),Ee(e)}catch(e){console.log(e,"--error"),z.spinning=!1,z.hasFrontAddress=!1,te(!0,null==e?void 0:e.resultMsg,null==e?void 0:e.result)}};t((()=>Q.ids),((e,o)=>{o?e.guage_id&&e.guage_id!=o.guage_id&&Te(e):e.guage_id&&Te(e)}),{immediate:!0}),t((()=>Q.guageData),(e=>{if(!e||!Object.keys(e||{}).length)return;z.form={},z.formArray=[];const o=JSON.parse(JSON.stringify(e));i((()=>{Ee(o)}))}),{immediate:!0});const De=e=>{z.showEvaluateSettingWrap=!1,z.showEvaluateCountdown=!!e,H("startWriteScale")},Oe=()=>{console.log("----closeEvaluateCountdown"),z.showEvaluateCountdown=!1,pe.value||(z.banSubmit=!0,_e(),Y.warning({title:"温馨提示",content:"测评时间到了,结束测评!",maskClosable:!1,positiveText:"确定",onPositiveClick:()=>{}}))},Le=e=>{Y.warning({title:"提示",content:()=>w("div",{class:"evatip-container"},[w("span","答案解析:"),w("p",e)]),class:"c-evatip-dialog-wrap",showIcon:!1,positiveText:"确定",negativeText:"关闭",maskClosable:!1,onPositiveClick(){},onNegativeClick(){}})},xe=(e,o,a)=>{console.log(e,"--val");let{choiceObj:t,isSetObj:i}=a||{};switch(o.type.includes("SELECT")||(z.form[o.val_key]=e),o.type){case"SELECT":case"EVALUATE_SELECT":let{value:a,list:n=[]}=e;z.form[o.val_key]=a,Ae(e,o,z.formArray),je(n,o,z.formArray);break;case"RADIO_BLOCK":case"CHECKBOX_BLOCK":i&&(z.choiceComObj[o.val_key]=t),Ae(e,o,z.formArray);break;case"EVALUATE_RADIO_BLOCK":case"EVALUATE_CHECKBOX_BLOCK":Ae(e,o,z.formArray);break;case"DATE":case"TIME":case"DATETIME":case"SEARCH_CASCADE":z.submitForm[o.val_key]=e}},Ie=(e,o)=>{console.log(o),z.form[o.val_key]=e},Pe=e=>{if(!e||!e.length)return{labelStr:"",labels:[]};const o=e||[],a=[],t=[];return o.forEach((e=>{t.push(e),a.push(e.labelName)})),z.labelSelectedList=o,{labelStr:a.join(","),labels:t}},Ne=()=>{var e;if(!z.formArray.find((e=>O(e.type))))return void qe("确认要提交吗?");let{evaluateResultSetting:o}=z.config;if(!o||!Object.keys(o).length&&!de.value||Se.value)return void qe("确认要结束测评吗?");if("formIframe"==Q.openType&&de.value)return void H("submitNoRequest");let a="确定要提前结束测评吗?";if(fe.value&&(null==(e=ee.value)?void 0:e.getCountdownObj)){const e=ee.value.getCountdownObj(),{setAnswered:o,totalLen:t}=e;o<t?a="存在未作答的题目,确定要提前结束测评吗?":!(null==z?void 0:z.showEvaluateCountdown)&&(a="确认要结束测评吗?")}qe(a)},qe=e=>{Y.warning({title:"温馨提示",content:()=>w("div",{style:{paddingLeft:"30px"}},e),positiveText:"确定",negativeText:"取消",maskClosable:!1,closable:!1,positiveButtonProps:{type:"primary"},onPositiveClick:()=>{Me()},onNegativeClick(){}})},Me=()=>{var e;null==(e=oe.value)||e.validate((e=>{var o;if(e){console.log(e);let a=(null==(o=e[0])?void 0:o[0])||{},t=a.field,i=a.message,n=z.formArray.find((e=>e.databaseTitle===t));return n&&(t=n.title),Z.error(t+i),!1}_e()}))},Be=()=>{H("onCloseSetting")};return E({getScaleData:()=>({...z}),onSubmit:Ne,cancel:Be}),(e,o)=>(n(),s("div",{class:l(["c-scale",{"c-scale-nobtn":r(ge)}])},[u(' <template v-if="state.spinning">\r\n <n-spin :show="state.spinning" description="加载中"></n-spin>\r\n </template> '),z.spinning||z.hasFrontAddress?u("v-if",!0):(n(),s(c,{key:0},[r(ae).noData?(n(),m(x,{key:0,noDataImg:r(ae).noDataImg,noDataTip:r(ae).noDataTip},null,8,["noDataImg","noDataTip"])):(n(),s(c,{key:1},[r(de)&&!r(be)?(n(),m(N,v({key:0},r(Ce),{onWriteGuage:De}),null,16)):(n(),s(c,{key:1},[r(fe)?(n(),m(P,v({key:0,ref_key:"countdownDom",ref:ee},r(we),{onCloseEvaluateCountdown:Oe}),null,16)):u("v-if",!0),p("div",{class:l(["scale-container",{"scale-container-nopadding":r(ue),"scale-container-hasfooter":r(ge)}]),style:d(r(re))},[r(ve)?(n(),m(r(M),{key:0,config:z.config,maxScore:z.maxScore},null,8,["config","maxScore"])):u("v-if",!0),f(r(V),{ref_key:"formRef",ref:oe,model:z.form,rules:z.rules,"require-mark-placement":"left",class:"main"},{default:g((()=>[(n(!0),s(c,null,y(z.formArray,((e,o)=>(n(),s(c,{key:(e.id||e.seq)+o},[r(ce)(e)?(n(),m(r(F),{key:0,path:e.val_key,"show-label":!r(D)(e.type),class:"c-scle-form-item"},{label:g((()=>[p("span",{class:l({"scale-label-required":r(le)(e)}),innerHTML:r(me)(e)},null,10,W),r(le)(e)?(n(),s("span",U,"(必填)")):u("v-if",!0),r(ye)(e)?(n(),s("span",J,k(r(ye)(e)),1)):u("v-if",!0),r(se)(e)?(n(),s("span",{key:2,class:"evalute-tip",onClick:o=>(async e=>{var o;if(z.evatipMap[e.id])return void Le(z.evatipMap[e.id]);let a="getSubjectAnswer";const t=(null==(o=Q.scaleApiConfig)?void 0:o[a])||null;if(!t||"function"!=typeof t)return void Z.error(`${a} Is not a function`);let i=await t(e.id);i&&(z.evatipMap[e.id]||(z.evatipMap[e.id]=i,Le(i)))})(e)},[f(r(I),{"icon-class":"a-xitongtubiaotishi"}),h(" 查看提示 ")],8,X)):u("v-if",!0)])),default:g((()=>[(n(),m(C(e.renderCom),v(r(he)(e,o),{key:(e.id||e.seq)+o,onScaleChange:xe,onOnChange:o=>((e,o)=>{z.form[o.val_key]=Pe(e)})(o,e),onVodFileList:Ie}),null,16,["onOnChange"])),r(ke)(e)?(n(),m(q,{key:0,item:e},null,8,["item"])):u("v-if",!0)])),_:2},1032,["path","show-label"])):u("v-if",!0)],64)))),128))])),_:1},8,["model","rules"])],6),r(ge)?(n(),s("div",G,[u(" 分享的链接 隐藏取消按钮 "),"guage"!==Q.sourceType?(n(),m(r(K),{key:0,onClick:Be},{default:g((()=>[h("取消")])),_:1})):u("v-if",!0),Q.isLock?u("v-if",!0):(n(),m(r(K),{key:1,onClick:Ne,disabled:z.banSubmit,type:"primary"},{default:g((()=>[h("保存")])),_:1},8,["disabled"]))])):u("v-if",!0)],64))],64))],64))],2))}}),[["__file","ScaleView.vue"]]);export{Q as default};
|
package/es/env.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
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';
|
|
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';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.1.41-beta.
|
|
3
|
+
"version": "3.1.41-beta.16",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"iOS 7",
|
|
62
62
|
"last 3 iOS versions"
|
|
63
63
|
],
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "e48435471b063c52c3b912037b49da0423514f9d"
|
|
65
65
|
}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module 'bpmn-js/lib/Viewer';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module 'bpmn-js/lib/features/modeling';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module 'diagram-js/lib/navigation/movecanvas';
|