cnhis-design-vue 3.1.52-beta.4 → 3.1.52-beta.6
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/callback/src/components/render/popupMaps.d.ts +1 -1
- package/es/components/classification/index.d.ts +40 -6
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +40 -6
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +40 -6
- package/es/components/classification/src/index.vue.d.ts +40 -6
- package/es/components/date-picker/index.d.ts +20 -3
- package/es/components/date-picker/src/DatePicker.vue.d.ts +20 -3
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/form-config/index.d.ts +2 -2
- package/es/components/form-config/src/FormConfig.vue.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +1 -1
- package/es/components/form-render/index.d.ts +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +2 -2
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/types/index.d.ts +2 -2
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +20 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +20 -3
- package/es/components/info-header/index.d.ts +2 -2
- package/es/components/info-header/src/InfoHeader.vue.d.ts +2 -2
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -1
- package/es/components/recommend-search/index.d.ts +1 -1
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
- package/es/components/select-person/src/SearchOrgAndStaff.vue2.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +1 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +40 -6
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +20 -3
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +20 -3
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +40 -6
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +40 -6
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +20 -3
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +20 -3
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +20 -3
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +20 -3
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +80 -12
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +80 -12
- package/es/components/time-picker/src/TimePicker.vue2.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/hooks/useDateTime.d.ts +7 -2
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.js +1 -1
- 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/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
|
@@ -73,6 +73,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
73
|
onConfirm: {
|
|
74
74
|
type: FunctionConstructor;
|
|
75
75
|
};
|
|
76
|
+
formattedValue: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
};
|
|
76
79
|
}, {
|
|
77
80
|
attrs: {
|
|
78
81
|
[x: string]: unknown;
|
|
@@ -84,9 +87,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
87
|
onConfirm: {
|
|
85
88
|
type: FunctionConstructor;
|
|
86
89
|
};
|
|
87
|
-
|
|
90
|
+
formattedValue: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
};
|
|
93
|
+
}>> & {
|
|
94
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
95
|
+
}>>;
|
|
96
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
88
97
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
89
98
|
panelInstRef: import("vue").Ref<null>;
|
|
99
|
+
placeholder: import("vue").Ref<any>;
|
|
100
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
90
101
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
91
102
|
formatRef: import("vue").ComputedRef<string>;
|
|
92
103
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -95,15 +106,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
106
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
96
107
|
onUpdateShow: (show: boolean) => void;
|
|
97
108
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
109
|
+
isOtherValue: (value?: string) => boolean;
|
|
98
110
|
NDatePicker: any;
|
|
99
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
111
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
100
112
|
updateUnchangedValue: {
|
|
101
113
|
type: BooleanConstructor;
|
|
102
114
|
};
|
|
103
115
|
onConfirm: {
|
|
104
116
|
type: FunctionConstructor;
|
|
105
117
|
};
|
|
106
|
-
|
|
118
|
+
formattedValue: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
};
|
|
121
|
+
}>> & {
|
|
122
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
123
|
+
}, {
|
|
107
124
|
updateUnchangedValue: boolean;
|
|
108
125
|
}>>;
|
|
109
126
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts
CHANGED
|
@@ -108,6 +108,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
108
108
|
onConfirm: {
|
|
109
109
|
type: FunctionConstructor;
|
|
110
110
|
};
|
|
111
|
+
formattedValue: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
};
|
|
111
114
|
}, {
|
|
112
115
|
attrs: {
|
|
113
116
|
[x: string]: unknown;
|
|
@@ -119,9 +122,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
119
122
|
onConfirm: {
|
|
120
123
|
type: FunctionConstructor;
|
|
121
124
|
};
|
|
122
|
-
|
|
125
|
+
formattedValue: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
};
|
|
128
|
+
}>> & {
|
|
129
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
130
|
+
}>>;
|
|
131
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
123
132
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
124
133
|
panelInstRef: import("vue").Ref<null>;
|
|
134
|
+
placeholder: import("vue").Ref<any>;
|
|
135
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
125
136
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
126
137
|
formatRef: import("vue").ComputedRef<string>;
|
|
127
138
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -130,15 +141,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
130
141
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
131
142
|
onUpdateShow: (show: boolean) => void;
|
|
132
143
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
144
|
+
isOtherValue: (value?: string) => boolean;
|
|
133
145
|
NDatePicker: any;
|
|
134
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
146
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
135
147
|
updateUnchangedValue: {
|
|
136
148
|
type: BooleanConstructor;
|
|
137
149
|
};
|
|
138
150
|
onConfirm: {
|
|
139
151
|
type: FunctionConstructor;
|
|
140
152
|
};
|
|
141
|
-
|
|
153
|
+
formattedValue: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
};
|
|
156
|
+
}>> & {
|
|
157
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
158
|
+
}, {
|
|
142
159
|
updateUnchangedValue: boolean;
|
|
143
160
|
}>>;
|
|
144
161
|
DateQuickBtn: import("vue").DefineComponent<{
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts
CHANGED
|
@@ -75,6 +75,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
75
|
onConfirm: {
|
|
76
76
|
type: FunctionConstructor;
|
|
77
77
|
};
|
|
78
|
+
formattedValue: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
};
|
|
78
81
|
}, {
|
|
79
82
|
attrs: {
|
|
80
83
|
[x: string]: unknown;
|
|
@@ -86,9 +89,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
86
89
|
onConfirm: {
|
|
87
90
|
type: FunctionConstructor;
|
|
88
91
|
};
|
|
89
|
-
|
|
92
|
+
formattedValue: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
};
|
|
95
|
+
}>> & {
|
|
96
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
97
|
+
}>>;
|
|
98
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
90
99
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
91
100
|
panelInstRef: import("vue").Ref<null>;
|
|
101
|
+
placeholder: import("vue").Ref<any>;
|
|
102
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
92
103
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
93
104
|
formatRef: import("vue").ComputedRef<string>;
|
|
94
105
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -97,15 +108,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
108
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
98
109
|
onUpdateShow: (show: boolean) => void;
|
|
99
110
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
111
|
+
isOtherValue: (value?: string) => boolean;
|
|
100
112
|
NDatePicker: any;
|
|
101
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
113
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
102
114
|
updateUnchangedValue: {
|
|
103
115
|
type: BooleanConstructor;
|
|
104
116
|
};
|
|
105
117
|
onConfirm: {
|
|
106
118
|
type: FunctionConstructor;
|
|
107
119
|
};
|
|
108
|
-
|
|
120
|
+
formattedValue: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
};
|
|
123
|
+
}>> & {
|
|
124
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
125
|
+
}, {
|
|
109
126
|
updateUnchangedValue: boolean;
|
|
110
127
|
}>>;
|
|
111
128
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -254,6 +254,9 @@ declare const DateInner: import("vue").DefineComponent<{
|
|
|
254
254
|
onConfirm: {
|
|
255
255
|
type: FunctionConstructor;
|
|
256
256
|
};
|
|
257
|
+
formattedValue: {
|
|
258
|
+
type: StringConstructor;
|
|
259
|
+
};
|
|
257
260
|
}, {
|
|
258
261
|
attrs: {
|
|
259
262
|
[x: string]: unknown;
|
|
@@ -265,9 +268,17 @@ declare const DateInner: import("vue").DefineComponent<{
|
|
|
265
268
|
onConfirm: {
|
|
266
269
|
type: FunctionConstructor;
|
|
267
270
|
};
|
|
268
|
-
|
|
271
|
+
formattedValue: {
|
|
272
|
+
type: StringConstructor;
|
|
273
|
+
};
|
|
274
|
+
}>> & {
|
|
275
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
276
|
+
}>>;
|
|
277
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
269
278
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
270
279
|
panelInstRef: import("vue").Ref<null>;
|
|
280
|
+
placeholder: import("vue").Ref<any>;
|
|
281
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
271
282
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
272
283
|
formatRef: import("vue").ComputedRef<string>;
|
|
273
284
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -276,15 +287,21 @@ declare const DateInner: import("vue").DefineComponent<{
|
|
|
276
287
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
277
288
|
onUpdateShow: (show: boolean) => void;
|
|
278
289
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
290
|
+
isOtherValue: (value?: string) => boolean;
|
|
279
291
|
NDatePicker: any;
|
|
280
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
292
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
281
293
|
updateUnchangedValue: {
|
|
282
294
|
type: BooleanConstructor;
|
|
283
295
|
};
|
|
284
296
|
onConfirm: {
|
|
285
297
|
type: FunctionConstructor;
|
|
286
298
|
};
|
|
287
|
-
|
|
299
|
+
formattedValue: {
|
|
300
|
+
type: StringConstructor;
|
|
301
|
+
};
|
|
302
|
+
}>> & {
|
|
303
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
304
|
+
}, {
|
|
288
305
|
updateUnchangedValue: boolean;
|
|
289
306
|
}>>;
|
|
290
307
|
DateQuickBtn: import("vue").DefineComponent<{
|
|
@@ -465,6 +482,9 @@ declare const DateOut: import("vue").DefineComponent<{
|
|
|
465
482
|
onConfirm: {
|
|
466
483
|
type: FunctionConstructor;
|
|
467
484
|
};
|
|
485
|
+
formattedValue: {
|
|
486
|
+
type: StringConstructor;
|
|
487
|
+
};
|
|
468
488
|
}, {
|
|
469
489
|
attrs: {
|
|
470
490
|
[x: string]: unknown;
|
|
@@ -476,9 +496,17 @@ declare const DateOut: import("vue").DefineComponent<{
|
|
|
476
496
|
onConfirm: {
|
|
477
497
|
type: FunctionConstructor;
|
|
478
498
|
};
|
|
479
|
-
|
|
499
|
+
formattedValue: {
|
|
500
|
+
type: StringConstructor;
|
|
501
|
+
};
|
|
502
|
+
}>> & {
|
|
503
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
504
|
+
}>>;
|
|
505
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
480
506
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
481
507
|
panelInstRef: import("vue").Ref<null>;
|
|
508
|
+
placeholder: import("vue").Ref<any>;
|
|
509
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
482
510
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
483
511
|
formatRef: import("vue").ComputedRef<string>;
|
|
484
512
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -487,15 +515,21 @@ declare const DateOut: import("vue").DefineComponent<{
|
|
|
487
515
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
488
516
|
onUpdateShow: (show: boolean) => void;
|
|
489
517
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
518
|
+
isOtherValue: (value?: string) => boolean;
|
|
490
519
|
NDatePicker: any;
|
|
491
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
520
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
492
521
|
updateUnchangedValue: {
|
|
493
522
|
type: BooleanConstructor;
|
|
494
523
|
};
|
|
495
524
|
onConfirm: {
|
|
496
525
|
type: FunctionConstructor;
|
|
497
526
|
};
|
|
498
|
-
|
|
527
|
+
formattedValue: {
|
|
528
|
+
type: StringConstructor;
|
|
529
|
+
};
|
|
530
|
+
}>> & {
|
|
531
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
532
|
+
}, {
|
|
499
533
|
updateUnchangedValue: boolean;
|
|
500
534
|
}>>;
|
|
501
535
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -638,6 +672,9 @@ declare const DateRangeInner: import("vue").DefineComponent<{
|
|
|
638
672
|
onConfirm: {
|
|
639
673
|
type: FunctionConstructor;
|
|
640
674
|
};
|
|
675
|
+
formattedValue: {
|
|
676
|
+
type: StringConstructor;
|
|
677
|
+
};
|
|
641
678
|
}, {
|
|
642
679
|
attrs: {
|
|
643
680
|
[x: string]: unknown;
|
|
@@ -649,9 +686,17 @@ declare const DateRangeInner: import("vue").DefineComponent<{
|
|
|
649
686
|
onConfirm: {
|
|
650
687
|
type: FunctionConstructor;
|
|
651
688
|
};
|
|
652
|
-
|
|
689
|
+
formattedValue: {
|
|
690
|
+
type: StringConstructor;
|
|
691
|
+
};
|
|
692
|
+
}>> & {
|
|
693
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
694
|
+
}>>;
|
|
695
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
653
696
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
654
697
|
panelInstRef: import("vue").Ref<null>;
|
|
698
|
+
placeholder: import("vue").Ref<any>;
|
|
699
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
655
700
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
656
701
|
formatRef: import("vue").ComputedRef<string>;
|
|
657
702
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -660,15 +705,21 @@ declare const DateRangeInner: import("vue").DefineComponent<{
|
|
|
660
705
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
661
706
|
onUpdateShow: (show: boolean) => void;
|
|
662
707
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
708
|
+
isOtherValue: (value?: string) => boolean;
|
|
663
709
|
NDatePicker: any;
|
|
664
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
710
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
665
711
|
updateUnchangedValue: {
|
|
666
712
|
type: BooleanConstructor;
|
|
667
713
|
};
|
|
668
714
|
onConfirm: {
|
|
669
715
|
type: FunctionConstructor;
|
|
670
716
|
};
|
|
671
|
-
|
|
717
|
+
formattedValue: {
|
|
718
|
+
type: StringConstructor;
|
|
719
|
+
};
|
|
720
|
+
}>> & {
|
|
721
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
722
|
+
}, {
|
|
672
723
|
updateUnchangedValue: boolean;
|
|
673
724
|
}>>;
|
|
674
725
|
DateQuickBtn: import("vue").DefineComponent<{
|
|
@@ -856,6 +907,9 @@ declare const DateRangeOut: import("vue").DefineComponent<{
|
|
|
856
907
|
onConfirm: {
|
|
857
908
|
type: FunctionConstructor;
|
|
858
909
|
};
|
|
910
|
+
formattedValue: {
|
|
911
|
+
type: StringConstructor;
|
|
912
|
+
};
|
|
859
913
|
}, {
|
|
860
914
|
attrs: {
|
|
861
915
|
[x: string]: unknown;
|
|
@@ -867,9 +921,17 @@ declare const DateRangeOut: import("vue").DefineComponent<{
|
|
|
867
921
|
onConfirm: {
|
|
868
922
|
type: FunctionConstructor;
|
|
869
923
|
};
|
|
870
|
-
|
|
924
|
+
formattedValue: {
|
|
925
|
+
type: StringConstructor;
|
|
926
|
+
};
|
|
927
|
+
}>> & {
|
|
928
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
929
|
+
}>>;
|
|
930
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
871
931
|
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
872
932
|
panelInstRef: import("vue").Ref<null>;
|
|
933
|
+
placeholder: import("vue").Ref<any>;
|
|
934
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
873
935
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
874
936
|
formatRef: import("vue").ComputedRef<string>;
|
|
875
937
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -878,15 +940,21 @@ declare const DateRangeOut: import("vue").DefineComponent<{
|
|
|
878
940
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
879
941
|
onUpdateShow: (show: boolean) => void;
|
|
880
942
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
943
|
+
isOtherValue: (value?: string) => boolean;
|
|
881
944
|
NDatePicker: any;
|
|
882
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
945
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
883
946
|
updateUnchangedValue: {
|
|
884
947
|
type: BooleanConstructor;
|
|
885
948
|
};
|
|
886
949
|
onConfirm: {
|
|
887
950
|
type: FunctionConstructor;
|
|
888
951
|
};
|
|
889
|
-
|
|
952
|
+
formattedValue: {
|
|
953
|
+
type: StringConstructor;
|
|
954
|
+
};
|
|
955
|
+
}>> & {
|
|
956
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
957
|
+
}, {
|
|
890
958
|
updateUnchangedValue: boolean;
|
|
891
959
|
}>>;
|
|
892
960
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -476,6 +476,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
476
476
|
onConfirm: {
|
|
477
477
|
type: FunctionConstructor;
|
|
478
478
|
};
|
|
479
|
+
formattedValue: {
|
|
480
|
+
type: StringConstructor;
|
|
481
|
+
};
|
|
479
482
|
}, {
|
|
480
483
|
attrs: {
|
|
481
484
|
[x: string]: unknown;
|
|
@@ -487,9 +490,17 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
487
490
|
onConfirm: {
|
|
488
491
|
type: FunctionConstructor;
|
|
489
492
|
};
|
|
490
|
-
|
|
493
|
+
formattedValue: {
|
|
494
|
+
type: StringConstructor;
|
|
495
|
+
};
|
|
496
|
+
}>> & {
|
|
497
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
498
|
+
}>>;
|
|
499
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
491
500
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
492
501
|
panelInstRef: import("vue").Ref<null>;
|
|
502
|
+
placeholder: import("vue").Ref<any>;
|
|
503
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
493
504
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
494
505
|
formatRef: import("vue").ComputedRef<string>;
|
|
495
506
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -498,15 +509,21 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
498
509
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
499
510
|
onUpdateShow: (show: boolean) => void;
|
|
500
511
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
512
|
+
isOtherValue: (value?: string) => boolean;
|
|
501
513
|
NDatePicker: any;
|
|
502
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
514
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
503
515
|
updateUnchangedValue: {
|
|
504
516
|
type: BooleanConstructor;
|
|
505
517
|
};
|
|
506
518
|
onConfirm: {
|
|
507
519
|
type: FunctionConstructor;
|
|
508
520
|
};
|
|
509
|
-
|
|
521
|
+
formattedValue: {
|
|
522
|
+
type: StringConstructor;
|
|
523
|
+
};
|
|
524
|
+
}>> & {
|
|
525
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
526
|
+
}, {
|
|
510
527
|
updateUnchangedValue: boolean;
|
|
511
528
|
}>>;
|
|
512
529
|
DateQuickBtn: import("vue").DefineComponent<{
|
|
@@ -701,6 +718,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
701
718
|
onConfirm: {
|
|
702
719
|
type: FunctionConstructor;
|
|
703
720
|
};
|
|
721
|
+
formattedValue: {
|
|
722
|
+
type: StringConstructor;
|
|
723
|
+
};
|
|
704
724
|
}, {
|
|
705
725
|
attrs: {
|
|
706
726
|
[x: string]: unknown;
|
|
@@ -712,9 +732,17 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
712
732
|
onConfirm: {
|
|
713
733
|
type: FunctionConstructor;
|
|
714
734
|
};
|
|
715
|
-
|
|
735
|
+
formattedValue: {
|
|
736
|
+
type: StringConstructor;
|
|
737
|
+
};
|
|
738
|
+
}>> & {
|
|
739
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
740
|
+
}>>;
|
|
741
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
716
742
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
717
743
|
panelInstRef: import("vue").Ref<null>;
|
|
744
|
+
placeholder: import("vue").Ref<any>;
|
|
745
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
718
746
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
719
747
|
formatRef: import("vue").ComputedRef<string>;
|
|
720
748
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -723,15 +751,21 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
723
751
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
724
752
|
onUpdateShow: (show: boolean) => void;
|
|
725
753
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
754
|
+
isOtherValue: (value?: string) => boolean;
|
|
726
755
|
NDatePicker: any;
|
|
727
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
756
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
728
757
|
updateUnchangedValue: {
|
|
729
758
|
type: BooleanConstructor;
|
|
730
759
|
};
|
|
731
760
|
onConfirm: {
|
|
732
761
|
type: FunctionConstructor;
|
|
733
762
|
};
|
|
734
|
-
|
|
763
|
+
formattedValue: {
|
|
764
|
+
type: StringConstructor;
|
|
765
|
+
};
|
|
766
|
+
}>> & {
|
|
767
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
768
|
+
}, {
|
|
735
769
|
updateUnchangedValue: boolean;
|
|
736
770
|
}>>;
|
|
737
771
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -888,6 +922,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
888
922
|
onConfirm: {
|
|
889
923
|
type: FunctionConstructor;
|
|
890
924
|
};
|
|
925
|
+
formattedValue: {
|
|
926
|
+
type: StringConstructor;
|
|
927
|
+
};
|
|
891
928
|
}, {
|
|
892
929
|
attrs: {
|
|
893
930
|
[x: string]: unknown;
|
|
@@ -899,9 +936,17 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
899
936
|
onConfirm: {
|
|
900
937
|
type: FunctionConstructor;
|
|
901
938
|
};
|
|
902
|
-
|
|
939
|
+
formattedValue: {
|
|
940
|
+
type: StringConstructor;
|
|
941
|
+
};
|
|
942
|
+
}>> & {
|
|
943
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
944
|
+
}>>;
|
|
945
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
903
946
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
904
947
|
panelInstRef: import("vue").Ref<null>;
|
|
948
|
+
placeholder: import("vue").Ref<any>;
|
|
949
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
905
950
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
906
951
|
formatRef: import("vue").ComputedRef<string>;
|
|
907
952
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -910,15 +955,21 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
910
955
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
911
956
|
onUpdateShow: (show: boolean) => void;
|
|
912
957
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
958
|
+
isOtherValue: (value?: string) => boolean;
|
|
913
959
|
NDatePicker: any;
|
|
914
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
960
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
915
961
|
updateUnchangedValue: {
|
|
916
962
|
type: BooleanConstructor;
|
|
917
963
|
};
|
|
918
964
|
onConfirm: {
|
|
919
965
|
type: FunctionConstructor;
|
|
920
966
|
};
|
|
921
|
-
|
|
967
|
+
formattedValue: {
|
|
968
|
+
type: StringConstructor;
|
|
969
|
+
};
|
|
970
|
+
}>> & {
|
|
971
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
972
|
+
}, {
|
|
922
973
|
updateUnchangedValue: boolean;
|
|
923
974
|
}>>;
|
|
924
975
|
DateQuickBtn: import("vue").DefineComponent<{
|
|
@@ -1120,6 +1171,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1120
1171
|
onConfirm: {
|
|
1121
1172
|
type: FunctionConstructor;
|
|
1122
1173
|
};
|
|
1174
|
+
formattedValue: {
|
|
1175
|
+
type: StringConstructor;
|
|
1176
|
+
};
|
|
1123
1177
|
}, {
|
|
1124
1178
|
attrs: {
|
|
1125
1179
|
[x: string]: unknown;
|
|
@@ -1131,9 +1185,17 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1131
1185
|
onConfirm: {
|
|
1132
1186
|
type: FunctionConstructor;
|
|
1133
1187
|
};
|
|
1134
|
-
|
|
1188
|
+
formattedValue: {
|
|
1189
|
+
type: StringConstructor;
|
|
1190
|
+
};
|
|
1191
|
+
}>> & {
|
|
1192
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1193
|
+
}>>;
|
|
1194
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
1135
1195
|
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
1136
1196
|
panelInstRef: import("vue").Ref<null>;
|
|
1197
|
+
placeholder: import("vue").Ref<any>;
|
|
1198
|
+
currentFormattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
1137
1199
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1138
1200
|
formatRef: import("vue").ComputedRef<string>;
|
|
1139
1201
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
@@ -1142,15 +1204,21 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1142
1204
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1143
1205
|
onUpdateShow: (show: boolean) => void;
|
|
1144
1206
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1207
|
+
isOtherValue: (value?: string) => boolean;
|
|
1145
1208
|
NDatePicker: any;
|
|
1146
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1209
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1147
1210
|
updateUnchangedValue: {
|
|
1148
1211
|
type: BooleanConstructor;
|
|
1149
1212
|
};
|
|
1150
1213
|
onConfirm: {
|
|
1151
1214
|
type: FunctionConstructor;
|
|
1152
1215
|
};
|
|
1153
|
-
|
|
1216
|
+
formattedValue: {
|
|
1217
|
+
type: StringConstructor;
|
|
1218
|
+
};
|
|
1219
|
+
}>> & {
|
|
1220
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1221
|
+
}, {
|
|
1154
1222
|
updateUnchangedValue: boolean;
|
|
1155
1223
|
}>>;
|
|
1156
1224
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as r,ref as
|
|
1
|
+
import{defineComponent as e,useAttrs as r,ref as t,computed as s,openBlock as o,createBlock as m,unref as i,mergeProps as a,createSlots as f,renderList as u,withCtx as l,renderSlot as n}from"vue";import{NTimePicker as p}from"naive-ui";import"../../../shared/utils/index.js";import"lodash-es";import{useDateTime as c}from"../../../shared/hooks/useDateTime.js";var d=e({__name:"TimePicker",setup(e,{expose:d}){const k=r(),h=t(null),$=s((()=>Reflect.get(k,"format")?k.format:"HH:mm:ss")),{focus:_,blur:v}=c(h,{formatRef:$,attrs:k});return d({$timePicker:h,focus:_,blur:v}),(e,r)=>(o(),m(i(p),a({ref_key:"timePickerRef",ref:h},e.$attrs),f({_:2},[u(e.$slots,((r,t)=>({name:t,fn:l((()=>[n(e.$slots,t)]))})))]),1040))}});export{d as default};
|
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
|
+
|