cnhis-design-vue 3.1.54 → 3.1.55-beta.1
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/es/components/body-select/src/hooks/renderCanvas.js +1 -1
- package/es/components/body-select/src/index.vue2.js +1 -1
- package/es/components/button-print/index.d.ts +13 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +13 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +13 -6
- package/es/components/chat-sdk/index.d.ts +2 -0
- package/es/components/chat-sdk/index.js +1 -0
- package/es/components/chat-sdk/src/chatSDK.d.ts +24 -0
- package/es/components/chat-sdk/src/chatSDK.js +1 -0
- package/es/components/chat-sdk/src/components/recordingDialog.vue.d.ts +26 -0
- package/es/components/chat-sdk/src/components/recordingDialog.vue.js +1 -0
- package/es/components/chat-sdk/src/components/recordingDialog.vue2.js +1 -0
- package/es/components/chat-sdk/src/utils/recordingDialog.d.ts +8 -0
- package/es/components/chat-sdk/src/utils/recordingDialog.js +1 -0
- package/es/components/chat-sdk/style/index.css +1 -0
- package/es/components/classification/index.d.ts +486 -1
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +473 -1
- package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +473 -1
- package/es/components/classification/src/index.vue.d.ts +486 -1
- package/es/components/classification/src/index.vue2.js +1 -1
- package/es/components/classification/style/index.css +1 -1
- package/es/components/fabric-chart/index.d.ts +1 -0
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +1 -0
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
- package/es/components/fabric-chart/src/constants/index.d.ts +1 -0
- package/es/components/fabric-chart/src/constants/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +5 -0
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
- package/es/components/form-config/index.d.ts +78 -57
- package/es/components/form-config/src/FormConfig.vue.d.ts +78 -57
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +13 -6
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +31 -21
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +5 -5
- package/es/components/form-render/index.d.ts +13 -6
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +13 -6
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +13 -6
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/index.d.ts +20 -9
- package/es/components/form-render/src/hooks/index.js +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
- package/es/components/form-render/src/hooks/useFieldVisitor.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +14 -3
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +1 -0
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useOperationalForm.d.ts +3 -2
- package/es/components/form-render/src/hooks/useOperationalForm.js +1 -1
- package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +13 -4
- package/es/components/form-render/src/hooks/useWordbookSetting.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
- package/es/components/form-render/src/types/index.d.ts +10 -5
- package/es/components/form-render/src/utils/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/colorAndIconPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/colorAndIconPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/operationalFormPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +7 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/htmlRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +2 -0
- package/es/components/iho-table/src/utils/index.d.ts +1 -1
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +26 -12
- package/es/components/info-header/src/InfoHeader.vue.d.ts +26 -12
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +13 -6
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +13 -6
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +19 -11
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +19 -11
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +320 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +127 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +51 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +244 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/helpers/options.d.ts +14 -0
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +474 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +1 -0
- package/es/components/table-filter/src/constants/index.d.ts +1 -0
- package/es/components/table-filter/src/constants/index.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/business.d.ts +1 -0
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/index.js +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
paramCfg: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: null;
|
|
5
|
+
};
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
8
|
+
default: null;
|
|
9
|
+
};
|
|
10
|
+
modelValues: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => never[];
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
paramCfg: {
|
|
17
|
+
type: ObjectConstructor;
|
|
18
|
+
default: null;
|
|
19
|
+
};
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
22
|
+
default: null;
|
|
23
|
+
};
|
|
24
|
+
modelValues: {
|
|
25
|
+
type: ArrayConstructor;
|
|
26
|
+
default: () => never[];
|
|
27
|
+
};
|
|
28
|
+
}>> & {
|
|
29
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
"onUpdate:modelValues"?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
}>>;
|
|
32
|
+
emit: (event: "update:modelValue" | "update:modelValues", ...args: any[]) => void;
|
|
33
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
34
|
+
valuesCp: import("vue").WritableComputedRef<any>;
|
|
35
|
+
isSelectMode: import("vue").ComputedRef<boolean>;
|
|
36
|
+
isSelectMultiple: import("vue").ComputedRef<boolean>;
|
|
37
|
+
biType: import("vue").ComputedRef<any>;
|
|
38
|
+
Date: import("vue").DefineComponent<{
|
|
39
|
+
componentCfg: {
|
|
40
|
+
type: ObjectConstructor;
|
|
41
|
+
};
|
|
42
|
+
paramCfg: {
|
|
43
|
+
type: ObjectConstructor;
|
|
44
|
+
default: null;
|
|
45
|
+
};
|
|
46
|
+
modelValue: {
|
|
47
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
48
|
+
default: null;
|
|
49
|
+
};
|
|
50
|
+
}, {
|
|
51
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
componentCfg: {
|
|
53
|
+
type: ObjectConstructor;
|
|
54
|
+
};
|
|
55
|
+
paramCfg: {
|
|
56
|
+
type: ObjectConstructor;
|
|
57
|
+
default: null;
|
|
58
|
+
};
|
|
59
|
+
modelValue: {
|
|
60
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
61
|
+
default: null;
|
|
62
|
+
};
|
|
63
|
+
}>> & {
|
|
64
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
}>>;
|
|
66
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
67
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
68
|
+
dateType: any;
|
|
69
|
+
valueFormat: import("vue").ComputedRef<string>;
|
|
70
|
+
compType: import("vue").ComputedRef<any>;
|
|
71
|
+
CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
72
|
+
updateUnchangedValue: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
};
|
|
75
|
+
onConfirm: {
|
|
76
|
+
type: FunctionConstructor;
|
|
77
|
+
};
|
|
78
|
+
formattedValue: {
|
|
79
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
80
|
+
};
|
|
81
|
+
placeholder: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
};
|
|
84
|
+
allowedInvalidValue: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
};
|
|
87
|
+
}, {
|
|
88
|
+
attrs: {
|
|
89
|
+
[x: string]: unknown;
|
|
90
|
+
};
|
|
91
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
92
|
+
updateUnchangedValue: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
};
|
|
95
|
+
onConfirm: {
|
|
96
|
+
type: FunctionConstructor;
|
|
97
|
+
};
|
|
98
|
+
formattedValue: {
|
|
99
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
100
|
+
};
|
|
101
|
+
placeholder: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
};
|
|
104
|
+
allowedInvalidValue: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
};
|
|
107
|
+
}>> & {
|
|
108
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
109
|
+
}>>;
|
|
110
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
111
|
+
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
112
|
+
panelInstRef: import("vue").Ref<null>;
|
|
113
|
+
placeholderRef: import("vue").Ref<any>;
|
|
114
|
+
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
115
|
+
isDateTime: import("vue").ComputedRef<boolean>;
|
|
116
|
+
formatRef: import("vue").ComputedRef<string>;
|
|
117
|
+
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
118
|
+
focus: () => any;
|
|
119
|
+
blur: () => any;
|
|
120
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
121
|
+
onUpdateShow: (show: boolean) => void;
|
|
122
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
123
|
+
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
124
|
+
NDatePicker: any;
|
|
125
|
+
}, 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<{
|
|
126
|
+
updateUnchangedValue: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
};
|
|
129
|
+
onConfirm: {
|
|
130
|
+
type: FunctionConstructor;
|
|
131
|
+
};
|
|
132
|
+
formattedValue: {
|
|
133
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
134
|
+
};
|
|
135
|
+
placeholder: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
};
|
|
138
|
+
allowedInvalidValue: {
|
|
139
|
+
type: StringConstructor;
|
|
140
|
+
};
|
|
141
|
+
}>> & {
|
|
142
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
143
|
+
}, {
|
|
144
|
+
updateUnchangedValue: boolean;
|
|
145
|
+
}>>;
|
|
146
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
147
|
+
componentCfg: {
|
|
148
|
+
type: ObjectConstructor;
|
|
149
|
+
};
|
|
150
|
+
paramCfg: {
|
|
151
|
+
type: ObjectConstructor;
|
|
152
|
+
default: null;
|
|
153
|
+
};
|
|
154
|
+
modelValue: {
|
|
155
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
156
|
+
default: null;
|
|
157
|
+
};
|
|
158
|
+
}>> & {
|
|
159
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
160
|
+
}, {
|
|
161
|
+
modelValue: string | number | unknown[];
|
|
162
|
+
paramCfg: Record<string, any>;
|
|
163
|
+
}>;
|
|
164
|
+
InputFilter: import("vue").DefineComponent<{
|
|
165
|
+
paramCfg: {
|
|
166
|
+
type: ObjectConstructor;
|
|
167
|
+
default: null;
|
|
168
|
+
};
|
|
169
|
+
modelValue: {
|
|
170
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
171
|
+
default: null;
|
|
172
|
+
};
|
|
173
|
+
}, {
|
|
174
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
175
|
+
paramCfg: {
|
|
176
|
+
type: ObjectConstructor;
|
|
177
|
+
default: null;
|
|
178
|
+
};
|
|
179
|
+
modelValue: {
|
|
180
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
181
|
+
default: null;
|
|
182
|
+
};
|
|
183
|
+
}>> & {
|
|
184
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
185
|
+
}>>;
|
|
186
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
187
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
188
|
+
NInput: any;
|
|
189
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
190
|
+
paramCfg: {
|
|
191
|
+
type: ObjectConstructor;
|
|
192
|
+
default: null;
|
|
193
|
+
};
|
|
194
|
+
modelValue: {
|
|
195
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
196
|
+
default: null;
|
|
197
|
+
};
|
|
198
|
+
}>> & {
|
|
199
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
200
|
+
}, {
|
|
201
|
+
modelValue: string | number | unknown[];
|
|
202
|
+
paramCfg: Record<string, any>;
|
|
203
|
+
}>;
|
|
204
|
+
InputNumber: import("vue").DefineComponent<{
|
|
205
|
+
modelValue: {
|
|
206
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
207
|
+
default: null;
|
|
208
|
+
};
|
|
209
|
+
}, {
|
|
210
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
211
|
+
modelValue: {
|
|
212
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
213
|
+
default: null;
|
|
214
|
+
};
|
|
215
|
+
}>> & {
|
|
216
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
217
|
+
}>>;
|
|
218
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
219
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
220
|
+
NInputNumber: any;
|
|
221
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
222
|
+
modelValue: {
|
|
223
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
224
|
+
default: null;
|
|
225
|
+
};
|
|
226
|
+
}>> & {
|
|
227
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
228
|
+
}, {
|
|
229
|
+
modelValue: string | number | unknown[];
|
|
230
|
+
}>;
|
|
231
|
+
SelectFilter: import("vue").DefineComponent<{
|
|
232
|
+
paramCfg: {
|
|
233
|
+
type: ObjectConstructor;
|
|
234
|
+
default: null;
|
|
235
|
+
};
|
|
236
|
+
modelValue: {
|
|
237
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
238
|
+
default: null;
|
|
239
|
+
};
|
|
240
|
+
}, {
|
|
241
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
242
|
+
paramCfg: {
|
|
243
|
+
type: ObjectConstructor;
|
|
244
|
+
default: null;
|
|
245
|
+
};
|
|
246
|
+
modelValue: {
|
|
247
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
248
|
+
default: null;
|
|
249
|
+
};
|
|
250
|
+
}>> & {
|
|
251
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
252
|
+
}>>;
|
|
253
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
254
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
255
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
256
|
+
widgetOptions: import("vue").ComputedRef<any>;
|
|
257
|
+
NSelect: any;
|
|
258
|
+
WidgetOptionEnums: {
|
|
259
|
+
RADIO: string;
|
|
260
|
+
MULTIPLE: string;
|
|
261
|
+
ALL: string;
|
|
262
|
+
SELECT_TIME: string;
|
|
263
|
+
PAST_TIME: string;
|
|
264
|
+
FUTURE_TIME: string;
|
|
265
|
+
};
|
|
266
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
267
|
+
paramCfg: {
|
|
268
|
+
type: ObjectConstructor;
|
|
269
|
+
default: null;
|
|
270
|
+
};
|
|
271
|
+
modelValue: {
|
|
272
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
273
|
+
default: null;
|
|
274
|
+
};
|
|
275
|
+
}>> & {
|
|
276
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
277
|
+
}, {
|
|
278
|
+
modelValue: string | number | unknown[];
|
|
279
|
+
paramCfg: Record<string, any>;
|
|
280
|
+
}>;
|
|
281
|
+
WidgetTypeEnums: {
|
|
282
|
+
INPUT_NUMBER: string;
|
|
283
|
+
INPUT: string;
|
|
284
|
+
SELECT: string;
|
|
285
|
+
DATE: string;
|
|
286
|
+
DATE_OUT: string;
|
|
287
|
+
DATE_TIME: string;
|
|
288
|
+
DATETIME_OUT: string;
|
|
289
|
+
CHECKBOX_GROUP: string;
|
|
290
|
+
INPUTNUMBER_RANGE: string;
|
|
291
|
+
DATE_RANGE_OUT: string;
|
|
292
|
+
DATE_RANGE_INNER: string;
|
|
293
|
+
DATETIME_RANGE_OUT: string;
|
|
294
|
+
DATETIME_RANGE_INNER: string;
|
|
295
|
+
LABEL: string;
|
|
296
|
+
SELECTLABEL: string;
|
|
297
|
+
SELECTDYNAMIC: string;
|
|
298
|
+
};
|
|
299
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:modelValues")[], "update:modelValue" | "update:modelValues", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
300
|
+
paramCfg: {
|
|
301
|
+
type: ObjectConstructor;
|
|
302
|
+
default: null;
|
|
303
|
+
};
|
|
304
|
+
modelValue: {
|
|
305
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
306
|
+
default: null;
|
|
307
|
+
};
|
|
308
|
+
modelValues: {
|
|
309
|
+
type: ArrayConstructor;
|
|
310
|
+
default: () => never[];
|
|
311
|
+
};
|
|
312
|
+
}>> & {
|
|
313
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
314
|
+
"onUpdate:modelValues"?: ((...args: any[]) => any) | undefined;
|
|
315
|
+
}, {
|
|
316
|
+
modelValue: string | number | unknown[];
|
|
317
|
+
paramCfg: Record<string, any>;
|
|
318
|
+
modelValues: unknown[];
|
|
319
|
+
}>;
|
|
320
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./ValueCfg.vue2.js";import r from"../../../../../_virtual/_plugin-vue_export-helper.js";var u=r(e,[["__file","ValueCfg.vue"]]);export{u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,computed as a,openBlock as l,createElementBlock as u,createCommentVNode as m,unref as o,createBlock as r,isRef as p,Fragment as t,createVNode as n}from"vue";import{InputNumber as d,InputFilter as f,SelectFilter as g,Date as s}from"./components/index.js";import{WidgetOptionEnums as i,WidgetTypeEnums as V}from"../../types/enums.js";import{typeMappingOptions as v}from"./helpers/options.js";const C={class:"value-cfg_wrapper"};var y=e({__name:"ValueCfg",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null},modelValues:{type:Array,default:()=>[]}},emits:["update:modelValue","update:modelValues"],setup(e,{emit:y}){const U=e,c=a({set(e){y("update:modelValue",e)},get:()=>U.modelValue}),T=a({set(e){y("update:modelValues",e)},get:()=>U.modelValues}),k=a((()=>{var e,a;const l=null==(e=U.paramCfg)?void 0:e.optionInfo;return!!((null==l?void 0:l.manualMapping)&&(null==(a=l.list)?void 0:a.length)>0)})),I=a((()=>{var e;return(null==(e=U.paramCfg)?void 0:e.optionSetting)===i.MULTIPLE})),_=a((()=>{var e;const a=(null==(e=U.paramCfg)?void 0:e._rawData.type)||"";return v[a]}));return(a,i)=>(l(),u("div",C,[m(" 数字框 "),o(_)===o(V).INPUT_NUMBER?(l(),r(o(d),{key:0,paramCfg:e.paramCfg,modelValue:o(c),"onUpdate:modelValue":i[0]||(i[0]=e=>p(c)?c.value=e:null)},null,8,["paramCfg","modelValue"])):m("v-if",!0),m(" 文本框 "),o(_)!==o(V).INPUT||o(k)?m("v-if",!0):(l(),r(o(f),{key:1,paramCfg:e.paramCfg,modelValue:o(c),"onUpdate:modelValue":i[1]||(i[1]=e=>p(c)?c.value=e:null)},null,8,["paramCfg","modelValue"])),m(" 静态数据源下拉框 "),o(_)===o(V).INPUT&&o(k)?(l(),u(t,{key:2},[m(" 多选 "),o(I)?(l(),r(o(g),{key:0,paramCfg:e.paramCfg,modelValue:o(T),"onUpdate:modelValue":i[2]||(i[2]=e=>p(T)?T.value=e:null)},null,8,["paramCfg","modelValue"])):(l(),u(t,{key:1},[m(" 单选 "),n(o(g),{paramCfg:e.paramCfg,modelValue:o(c),"onUpdate:modelValue":i[3]||(i[3]=e=>p(c)?c.value=e:null)},null,8,["paramCfg","modelValue"])],2112))],64)):m("v-if",!0),m(" 日期框、日期时间框 "),o(_)===o(V).DATE||o(_)===o(V).DATE_TIME?(l(),r(o(s),{key:3,paramCfg:e.paramCfg,modelValue:o(c),"onUpdate:modelValue":i[4]||(i[4]=e=>p(c)?c.value=e:null)},null,8,["paramCfg","modelValue"])):m("v-if",!0)]))}});export{y as default};
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
componentCfg: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
};
|
|
5
|
+
paramCfg: {
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
default: null;
|
|
8
|
+
};
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
11
|
+
default: null;
|
|
12
|
+
};
|
|
13
|
+
}, {
|
|
14
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
componentCfg: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
};
|
|
18
|
+
paramCfg: {
|
|
19
|
+
type: ObjectConstructor;
|
|
20
|
+
default: null;
|
|
21
|
+
};
|
|
22
|
+
modelValue: {
|
|
23
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
24
|
+
default: null;
|
|
25
|
+
};
|
|
26
|
+
}>> & {
|
|
27
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
}>>;
|
|
29
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
30
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
31
|
+
dateType: any;
|
|
32
|
+
valueFormat: import("vue").ComputedRef<string>;
|
|
33
|
+
compType: import("vue").ComputedRef<any>;
|
|
34
|
+
CDatePicker: import("../../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
35
|
+
updateUnchangedValue: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
};
|
|
38
|
+
onConfirm: {
|
|
39
|
+
type: FunctionConstructor;
|
|
40
|
+
};
|
|
41
|
+
formattedValue: {
|
|
42
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
43
|
+
};
|
|
44
|
+
placeholder: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
};
|
|
47
|
+
allowedInvalidValue: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
};
|
|
50
|
+
}, {
|
|
51
|
+
attrs: {
|
|
52
|
+
[x: string]: unknown;
|
|
53
|
+
};
|
|
54
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
updateUnchangedValue: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
};
|
|
58
|
+
onConfirm: {
|
|
59
|
+
type: FunctionConstructor;
|
|
60
|
+
};
|
|
61
|
+
formattedValue: {
|
|
62
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
63
|
+
};
|
|
64
|
+
placeholder: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
};
|
|
67
|
+
allowedInvalidValue: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
};
|
|
70
|
+
}>> & {
|
|
71
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
}>>;
|
|
73
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
74
|
+
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
75
|
+
panelInstRef: import("vue").Ref<null>;
|
|
76
|
+
placeholderRef: import("vue").Ref<any>;
|
|
77
|
+
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
78
|
+
isDateTime: import("vue").ComputedRef<boolean>;
|
|
79
|
+
formatRef: import("vue").ComputedRef<string>;
|
|
80
|
+
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
81
|
+
focus: () => any;
|
|
82
|
+
blur: () => any;
|
|
83
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
84
|
+
onUpdateShow: (show: boolean) => void;
|
|
85
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
86
|
+
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
87
|
+
NDatePicker: any;
|
|
88
|
+
}, 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<{
|
|
89
|
+
updateUnchangedValue: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
};
|
|
92
|
+
onConfirm: {
|
|
93
|
+
type: FunctionConstructor;
|
|
94
|
+
};
|
|
95
|
+
formattedValue: {
|
|
96
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
97
|
+
};
|
|
98
|
+
placeholder: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
};
|
|
101
|
+
allowedInvalidValue: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
};
|
|
104
|
+
}>> & {
|
|
105
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
106
|
+
}, {
|
|
107
|
+
updateUnchangedValue: boolean;
|
|
108
|
+
}>>;
|
|
109
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
110
|
+
componentCfg: {
|
|
111
|
+
type: ObjectConstructor;
|
|
112
|
+
};
|
|
113
|
+
paramCfg: {
|
|
114
|
+
type: ObjectConstructor;
|
|
115
|
+
default: null;
|
|
116
|
+
};
|
|
117
|
+
modelValue: {
|
|
118
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
119
|
+
default: null;
|
|
120
|
+
};
|
|
121
|
+
}>> & {
|
|
122
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
123
|
+
}, {
|
|
124
|
+
modelValue: string | number | unknown[];
|
|
125
|
+
paramCfg: Record<string, any>;
|
|
126
|
+
}>;
|
|
127
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./Date.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","Date.vue"]]);export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,computed as t,openBlock as a,createBlock as l,unref as r,isRef as o}from"vue";import m from"../../../../../date-picker/index.js";import{WidgetTypeEnums as u}from"../../../types/enums.js";var p=e({__name:"Date",props:{componentCfg:{type:Object},paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null}},emits:["update:modelValue"],setup(e,{emit:p}){const d=e,s=t({set(e){p("update:modelValue",e)},get:()=>d.modelValue}),y=t((()=>f.value.toLowerCase()||u.DATE.toLowerCase())),n=t((()=>{let e="";switch(f.value){case u.DATE:e="yyyy-MM-dd";break;case u.DATE_TIME:e="yyyy-MM-dd HH:mm:ss"}return e})),f=t((()=>d.paramCfg._rawData.type));return(e,t)=>(a(),l(r(m),{class:"form-item",type:r(y),clearable:"",to:"body",valueFormat:r(n),"formatted-value":r(s),"onUpdate:formatted-value":t[0]||(t[0]=e=>o(s)?s.value=e:null)},null,8,["type","valueFormat","formatted-value"]))}});export{p as default};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
paramCfg: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: null;
|
|
5
|
+
};
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
8
|
+
default: null;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
paramCfg: {
|
|
13
|
+
type: ObjectConstructor;
|
|
14
|
+
default: null;
|
|
15
|
+
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
18
|
+
default: null;
|
|
19
|
+
};
|
|
20
|
+
}>> & {
|
|
21
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}>>;
|
|
23
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
24
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
25
|
+
NInput: any;
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
paramCfg: {
|
|
28
|
+
type: ObjectConstructor;
|
|
29
|
+
default: null;
|
|
30
|
+
};
|
|
31
|
+
modelValue: {
|
|
32
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
33
|
+
default: null;
|
|
34
|
+
};
|
|
35
|
+
}>> & {
|
|
36
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
modelValue: string | number | unknown[];
|
|
39
|
+
paramCfg: Record<string, any>;
|
|
40
|
+
}>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./InputFilter.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","InputFilter.vue"]]);export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,computed as l,openBlock as t,createBlock as a,unref as u,isRef as r}from"vue";import{NInput as m}from"naive-ui";var p=e({__name:"InputFilter",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null}},emits:["update:modelValue"],setup(e,{emit:p}){const n=e,o=l({set(e){p("update:modelValue",e)},get:()=>n.modelValue});return(e,l)=>(t(),a(u(m),{style:{width:"160px"},value:u(o),"onUpdate:value":l[0]||(l[0]=e=>r(o)?o.value=e:null),maxlength:"255",clearable:""},null,8,["value"]))}});export{p as default};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
4
|
+
default: null;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
10
|
+
default: null;
|
|
11
|
+
};
|
|
12
|
+
}>> & {
|
|
13
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}>>;
|
|
15
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
16
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
17
|
+
NInputNumber: any;
|
|
18
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
21
|
+
default: null;
|
|
22
|
+
};
|
|
23
|
+
}>> & {
|
|
24
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
modelValue: string | number | unknown[];
|
|
27
|
+
}>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./InputNumber.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var u=r(e,[["__file","InputNumber.vue"]]);export{u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,computed as l,openBlock as u,createBlock as a,unref as t,isRef as m}from"vue";import{NInputNumber as r}from"naive-ui";var o=e({__name:"InputNumber",props:{modelValue:{type:[String,Number,Array],default:null}},emits:["update:modelValue"],setup(e,{emit:o}){const d=e,p=l({set(e){o("update:modelValue",e)},get:()=>d.modelValue?Number(d.modelValue):d.modelValue});return(e,l)=>(u(),a(t(r),{class:"form-item",value:t(p),"onUpdate:value":l[0]||(l[0]=e=>m(p)?p.value=e:null)},null,8,["value"]))}});export{o as default};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
paramCfg: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: null;
|
|
5
|
+
};
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
8
|
+
default: null;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
paramCfg: {
|
|
13
|
+
type: ObjectConstructor;
|
|
14
|
+
default: null;
|
|
15
|
+
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
18
|
+
default: null;
|
|
19
|
+
};
|
|
20
|
+
}>> & {
|
|
21
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}>>;
|
|
23
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
24
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
25
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
26
|
+
widgetOptions: import("vue").ComputedRef<any>;
|
|
27
|
+
NSelect: any;
|
|
28
|
+
WidgetOptionEnums: {
|
|
29
|
+
RADIO: string;
|
|
30
|
+
MULTIPLE: string;
|
|
31
|
+
ALL: string;
|
|
32
|
+
SELECT_TIME: string;
|
|
33
|
+
PAST_TIME: string;
|
|
34
|
+
FUTURE_TIME: string;
|
|
35
|
+
};
|
|
36
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
paramCfg: {
|
|
38
|
+
type: ObjectConstructor;
|
|
39
|
+
default: null;
|
|
40
|
+
};
|
|
41
|
+
modelValue: {
|
|
42
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
43
|
+
default: null;
|
|
44
|
+
};
|
|
45
|
+
}>> & {
|
|
46
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
}, {
|
|
48
|
+
modelValue: string | number | unknown[];
|
|
49
|
+
paramCfg: Record<string, any>;
|
|
50
|
+
}>;
|
|
51
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./SelectFilter.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","SelectFilter.vue"]]);export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,computed as t,openBlock as l,createBlock as a,unref as u,isRef as o}from"vue";import{NSelect as p}from"naive-ui";import{WidgetOptionEnums as r}from"../../../types/enums.js";var m=e({__name:"SelectFilter",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null}},emits:["update:modelValue"],setup(e,{emit:m}){const n=e,i=t({set(e){m("update:modelValue",e)},get:()=>n.modelValue}),d=t((()=>{var e;return null==(e=n.paramCfg)?void 0:e.optionSetting})),s=t((()=>{var e;const t=null==(e=n.paramCfg)?void 0:e.mappingConfig;return t&&(null==t?void 0:t.mapping)?t.mapping:[]}));return(e,t)=>(l(),a(u(p),{style:{width:"200px"},class:"form-item",value:u(i),"onUpdate:value":t[0]||(t[0]=e=>o(i)?i.value=e:null),to:"body",filterable:"",options:u(s),multiple:u(d)===u(r).MULTIPLE,maxTagCount:1},null,8,["value","options","multiple"]))}});export{m as default};
|