cnhis-design-vue 3.1.46-beta.0 → 3.1.46-beta.10
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/base-search/index.d.ts +17 -8
- package/es/components/base-search/src/index.vue.d.ts +17 -8
- package/es/components/base-search/src/index.vue2.js +1 -1
- package/es/components/base-search/style/index.css +1 -1
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/classification/index.d.ts +219 -18
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +219 -18
- 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 +219 -18
- package/es/components/classification/src/index.vue.d.ts +219 -18
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -0
- package/es/components/fabric-chart/src/utils/index.js +1 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +1 -1
- package/es/components/quick-search/index.d.ts +21 -7
- package/es/components/quick-search/src/index.vue.d.ts +21 -7
- package/es/components/quick-search/src/index.vue2.js +1 -1
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/table-export-field/index.d.ts +967 -0
- package/es/components/table-export-field/index.js +1 -0
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +192 -0
- package/es/components/table-export-field/src/components/ExportModal.vue.js +1 -0
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -0
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +687 -0
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.js +1 -0
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +1 -0
- package/es/components/table-export-field/src/constants/index.d.ts +3 -0
- package/es/components/table-export-field/src/constants/index.js +1 -0
- package/es/components/table-export-field/src/hooks/useAsyncData.d.ts +6 -0
- package/es/components/table-export-field/src/hooks/useAsyncData.js +1 -0
- package/es/components/table-export-field/src/index.vue.d.ts +968 -0
- package/es/components/table-export-field/src/index.vue.js +1 -0
- package/es/components/table-export-field/src/index.vue2.js +1 -0
- package/es/components/table-export-field/src/types/index.d.ts +6 -0
- package/es/components/table-export-field/src/types/index.js +1 -0
- package/es/components/table-export-field/style/index.css +1 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +219 -17
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +17 -1
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +19 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +178 -11
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +1 -5
- package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +217 -17
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +219 -17
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +231 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/{Date.vue.d.ts → DateOut.vue.d.ts} +21 -2
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +71 -0
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +117 -8
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +13 -9
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +8 -6
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +7 -6
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +19 -25
- package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +223 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +158 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +611 -36
- package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
- package/es/components/table-filter/src/components/render-widget/enums.d.ts +10 -3
- package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
- package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.d.ts +27 -0
- package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.js +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.d.ts +55 -0
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/enums.d.ts +56 -0
- package/es/components/table-filter/src/components/render-widget/helpers/enums.js +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +2 -6
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +1 -1
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.d.ts +4 -0
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.d.ts +4 -0
- package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +4 -3
- package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +639 -35
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/constants/index.d.ts +3 -1
- package/es/components/table-filter/src/constants/index.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +9 -4
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useAsyncData.d.ts +4 -0
- package/es/components/table-filter/src/hooks/useAsyncData.js +1 -0
- package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +3 -3
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/tool/baseOptions.d.ts +0 -8
- package/es/components/table-filter/src/tool/baseOptions.js +1 -1
- package/es/components/table-filter/src/tool/transformData.d.ts +0 -1
- package/es/components/table-filter/src/tool/transformData.js +1 -1
- package/es/components/table-filter/src/types/enums.d.ts +3 -0
- package/es/components/table-filter/src/types/enums.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +7 -0
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/fabricjs/index.js +1 -1
- package/package.json +2 -2
- package/es/components/table-filter/src/components/render-widget/basicData.d.ts +0 -4
- package/es/components/table-filter/src/components/render-widget/basicData.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +0 -1
- package/es/components/table-filter/src/tool/generateDefOptions.d.ts +0 -7
- package/es/components/table-filter/src/tool/generateDefOptions.js +0 -1
|
@@ -21,44 +21,277 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
21
21
|
value: {
|
|
22
22
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
23
23
|
};
|
|
24
|
+
componentCfg: {
|
|
25
|
+
type: ObjectConstructor;
|
|
26
|
+
};
|
|
24
27
|
}, {
|
|
28
|
+
$attrs: {
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
};
|
|
25
31
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
26
32
|
value: {
|
|
27
33
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
28
34
|
};
|
|
35
|
+
componentCfg: {
|
|
36
|
+
type: ObjectConstructor;
|
|
37
|
+
};
|
|
29
38
|
}>> & {
|
|
30
39
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
31
|
-
onChangeInitState?: ((...args: any[]) => any) | undefined;
|
|
32
40
|
}>>;
|
|
33
|
-
|
|
41
|
+
emit: (event: "update:value", ...args: any[]) => void;
|
|
42
|
+
valueCp: import("vue").ComputedRef<string | number | unknown[] | undefined>;
|
|
43
|
+
isMultiple: import("vue").ComputedRef<unknown>;
|
|
44
|
+
isShowWhole: import("vue").ComputedRef<any>;
|
|
45
|
+
optionList: import("vue").ComputedRef<any>;
|
|
46
|
+
handleUpdate: (val: any) => void;
|
|
47
|
+
NSelect: any;
|
|
48
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
value: {
|
|
50
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
51
|
+
};
|
|
52
|
+
componentCfg: {
|
|
53
|
+
type: ObjectConstructor;
|
|
54
|
+
};
|
|
55
|
+
}>> & {
|
|
56
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
57
|
+
}, {}>;
|
|
58
|
+
props: {
|
|
59
|
+
clearable: boolean;
|
|
60
|
+
filterable: boolean;
|
|
61
|
+
multiple: boolean;
|
|
62
|
+
maxTagCount: string;
|
|
63
|
+
type?: undefined;
|
|
64
|
+
valueFormat?: undefined;
|
|
65
|
+
};
|
|
66
|
+
eventsBySearch: {
|
|
67
|
+
name: string;
|
|
68
|
+
handler(e: KeyboardEvent, search: funcVoid, props: any): void;
|
|
69
|
+
}[];
|
|
70
|
+
handlerProps(props: any, { multiple, title }?: any): any;
|
|
71
|
+
setDefaultValue(defaultValue: any, defValueUnit: any, setting?: any): any;
|
|
72
|
+
style?: undefined;
|
|
73
|
+
} | {
|
|
74
|
+
component: import("vue").DefineComponent<{
|
|
75
|
+
value: {
|
|
76
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
77
|
+
};
|
|
78
|
+
componentCfg: {
|
|
79
|
+
type: ObjectConstructor;
|
|
80
|
+
};
|
|
81
|
+
}, {
|
|
82
|
+
message: import("naive-ui").MessageApi;
|
|
83
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
84
|
+
value: {
|
|
85
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
86
|
+
};
|
|
87
|
+
componentCfg: {
|
|
88
|
+
type: ObjectConstructor;
|
|
89
|
+
};
|
|
90
|
+
}>> & {
|
|
91
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
92
|
+
}>>;
|
|
93
|
+
getDynamicSelectData: (params: any, filterApiConfig: any) => Promise<any>;
|
|
34
94
|
$attrs: {
|
|
35
95
|
[x: string]: unknown;
|
|
36
96
|
};
|
|
37
|
-
emit: (event: "update:value"
|
|
38
|
-
selectOptions: import("vue").Ref<any[]>;
|
|
39
|
-
isRemote: import("vue").Ref<boolean>;
|
|
97
|
+
emit: (event: "update:value", ...args: any[]) => void;
|
|
40
98
|
isLoading: import("vue").Ref<boolean>;
|
|
41
99
|
filterApiConfig: import("../../../..").AnyObject;
|
|
42
|
-
|
|
43
|
-
|
|
100
|
+
searchFilterList: import("vue").Ref<import("../../../..").AnyObject[]>;
|
|
101
|
+
curPage: import("vue").Ref<number>;
|
|
102
|
+
fieldTitleList: import("vue").Ref<any>;
|
|
103
|
+
selectOptions: import("vue").Ref<any[]>;
|
|
104
|
+
baseOptionList: import("vue").Ref<any[]>;
|
|
105
|
+
keywordVal: import("vue").Ref<any>;
|
|
106
|
+
totalPage: import("vue").Ref<number>;
|
|
107
|
+
menuProps: {
|
|
108
|
+
class: string;
|
|
109
|
+
};
|
|
110
|
+
isMultiple: import("vue").ComputedRef<unknown>;
|
|
111
|
+
dynamicOptionInfos: import("vue").ComputedRef<any>;
|
|
112
|
+
isShowWhole: import("vue").ComputedRef<any>;
|
|
113
|
+
isLastPage: import("vue").ComputedRef<boolean>;
|
|
114
|
+
valueCp: import("vue").ComputedRef<string | number | any[] | null>;
|
|
115
|
+
isForbidRequest: import("vue").ComputedRef<boolean>;
|
|
116
|
+
setOptionActive: (selectIds: string[]) => void;
|
|
117
|
+
handleUpdateSelect: (value: string[] | null) => void;
|
|
118
|
+
handleUpdatePage: (page: number) => Promise<void>;
|
|
119
|
+
getOptionsData: (keyword: string, curPage: number) => Promise<void>;
|
|
120
|
+
isWhole: (value: string) => boolean;
|
|
44
121
|
_handleSearch: (query: string) => Promise<void>;
|
|
45
122
|
handleSearch: (query: string) => Promise<void>;
|
|
46
123
|
handleInitData: () => Promise<void>;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}>;
|
|
124
|
+
handleClear: () => Promise<void>;
|
|
125
|
+
handleUpdateShow: (show: boolean) => void;
|
|
50
126
|
renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
51
127
|
[key: string]: any;
|
|
52
128
|
}>;
|
|
53
|
-
init: () =>
|
|
129
|
+
init: () => void;
|
|
54
130
|
NSelect: any;
|
|
55
|
-
|
|
131
|
+
SelectDynamicOption: import("vue").DefineComponent<{
|
|
132
|
+
dynamicOptionInfo: {
|
|
133
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
134
|
+
default: () => {};
|
|
135
|
+
};
|
|
136
|
+
fieldTitleList: {
|
|
137
|
+
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
138
|
+
default: () => never[];
|
|
139
|
+
};
|
|
140
|
+
optionList: {
|
|
141
|
+
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
142
|
+
default: () => never[];
|
|
143
|
+
};
|
|
144
|
+
isMultiple: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
148
|
+
curPage: {
|
|
149
|
+
type: NumberConstructor;
|
|
150
|
+
default: number;
|
|
151
|
+
};
|
|
152
|
+
isLastPage: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
isShowWhole: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
160
|
+
}, {
|
|
161
|
+
selectMinWidth: number;
|
|
162
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
163
|
+
dynamicOptionInfo: {
|
|
164
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
165
|
+
default: () => {};
|
|
166
|
+
};
|
|
167
|
+
fieldTitleList: {
|
|
168
|
+
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
169
|
+
default: () => never[];
|
|
170
|
+
};
|
|
171
|
+
optionList: {
|
|
172
|
+
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
173
|
+
default: () => never[];
|
|
174
|
+
};
|
|
175
|
+
isMultiple: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
curPage: {
|
|
180
|
+
type: NumberConstructor;
|
|
181
|
+
default: number;
|
|
182
|
+
};
|
|
183
|
+
isLastPage: {
|
|
184
|
+
type: BooleanConstructor;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
187
|
+
isShowWhole: {
|
|
188
|
+
type: BooleanConstructor;
|
|
189
|
+
default: boolean;
|
|
190
|
+
};
|
|
191
|
+
}>> & {
|
|
192
|
+
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
193
|
+
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
194
|
+
}>>;
|
|
195
|
+
emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
|
|
196
|
+
dragEndWidth: import("vue").Ref<number>;
|
|
197
|
+
showKeys: import("vue").ComputedRef<any>;
|
|
198
|
+
titleList: import("vue").ComputedRef<string[]>;
|
|
199
|
+
handleSelect: (option: any) => void;
|
|
200
|
+
searchByPage: (onePage: number) => void;
|
|
201
|
+
changeWidth: ({ distance }: any) => void;
|
|
202
|
+
saveWidth: () => void;
|
|
203
|
+
NEmpty: any;
|
|
204
|
+
NButtonGroup: any;
|
|
205
|
+
NButton: any;
|
|
206
|
+
NIcon: any;
|
|
207
|
+
NPopover: any;
|
|
208
|
+
vFlexibleResize: {
|
|
209
|
+
mounted(el: any, { value }: any): void;
|
|
210
|
+
beforeUnmount(el: any): void;
|
|
211
|
+
};
|
|
212
|
+
WidgetValEnums: {
|
|
213
|
+
CUSTOM: string;
|
|
214
|
+
FIRST_VAL: string;
|
|
215
|
+
WHOLE: string;
|
|
216
|
+
NOW: string;
|
|
217
|
+
TODAY: string;
|
|
218
|
+
TODAY_START: string;
|
|
219
|
+
TODAY_END: string;
|
|
220
|
+
TOMORROW: string;
|
|
221
|
+
TOMORROW_START: string;
|
|
222
|
+
TOMORROW_END: string;
|
|
223
|
+
YESTERDAY: string;
|
|
224
|
+
YESTERDAY_START: string;
|
|
225
|
+
YESTERDAY_END: string;
|
|
226
|
+
THIS_WEEK: string;
|
|
227
|
+
WEEK_START: string;
|
|
228
|
+
WEEK_END: string;
|
|
229
|
+
NEXT_WEEK: string;
|
|
230
|
+
LAST_WEEK: string;
|
|
231
|
+
THIS_MONTH: string;
|
|
232
|
+
MONTH_START: string;
|
|
233
|
+
MONTH_END: string;
|
|
234
|
+
NEXT_MONTH: string;
|
|
235
|
+
LAST_MONTH: string;
|
|
236
|
+
THIS_QUARTER: string;
|
|
237
|
+
NEXT_QUARTER: string;
|
|
238
|
+
LAST_QUARTER: string;
|
|
239
|
+
THIS_YEAR: string;
|
|
240
|
+
NEXT_YEAR: string;
|
|
241
|
+
LAST_YEAR: string;
|
|
242
|
+
};
|
|
243
|
+
ArrowBack: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
244
|
+
ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
245
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
246
|
+
dynamicOptionInfo: {
|
|
247
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
248
|
+
default: () => {};
|
|
249
|
+
};
|
|
250
|
+
fieldTitleList: {
|
|
251
|
+
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
252
|
+
default: () => never[];
|
|
253
|
+
};
|
|
254
|
+
optionList: {
|
|
255
|
+
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
256
|
+
default: () => never[];
|
|
257
|
+
};
|
|
258
|
+
isMultiple: {
|
|
259
|
+
type: BooleanConstructor;
|
|
260
|
+
default: boolean;
|
|
261
|
+
};
|
|
262
|
+
curPage: {
|
|
263
|
+
type: NumberConstructor;
|
|
264
|
+
default: number;
|
|
265
|
+
};
|
|
266
|
+
isLastPage: {
|
|
267
|
+
type: BooleanConstructor;
|
|
268
|
+
default: boolean;
|
|
269
|
+
};
|
|
270
|
+
isShowWhole: {
|
|
271
|
+
type: BooleanConstructor;
|
|
272
|
+
default: boolean;
|
|
273
|
+
};
|
|
274
|
+
}>> & {
|
|
275
|
+
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
276
|
+
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
277
|
+
}, {
|
|
278
|
+
dynamicOptionInfo: import("../../../..").AnyObject;
|
|
279
|
+
fieldTitleList: import("../../../..").AnyObject[];
|
|
280
|
+
optionList: import("../../../..").AnyObject[];
|
|
281
|
+
isMultiple: boolean;
|
|
282
|
+
curPage: number;
|
|
283
|
+
isLastPage: boolean;
|
|
284
|
+
isShowWhole: boolean;
|
|
285
|
+
}>;
|
|
286
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
287
|
value: {
|
|
57
288
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
58
289
|
};
|
|
290
|
+
componentCfg: {
|
|
291
|
+
type: ObjectConstructor;
|
|
292
|
+
};
|
|
59
293
|
}>> & {
|
|
60
294
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
61
|
-
onChangeInitState?: ((...args: any[]) => any) | undefined;
|
|
62
295
|
}, {}>;
|
|
63
296
|
props: {
|
|
64
297
|
clearable: boolean;
|
|
@@ -73,10 +306,253 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
73
306
|
handler(e: KeyboardEvent, search: funcVoid, props: any): void;
|
|
74
307
|
}[];
|
|
75
308
|
handlerProps(props: any, data?: any): any;
|
|
309
|
+
setDefaultValue(defaultValue: any, defValueUnit: any, setting?: any): Promise<any>;
|
|
310
|
+
style?: undefined;
|
|
311
|
+
} | {
|
|
312
|
+
component: import("vue").DefineComponent<{
|
|
313
|
+
componentCfg: {
|
|
314
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
315
|
+
};
|
|
316
|
+
type: {
|
|
317
|
+
type: import("vue").PropType<"date" | "datetime">;
|
|
318
|
+
default: string;
|
|
319
|
+
};
|
|
320
|
+
clearable: {
|
|
321
|
+
type: BooleanConstructor;
|
|
322
|
+
default: boolean;
|
|
323
|
+
};
|
|
324
|
+
valueFormat: {
|
|
325
|
+
type: StringConstructor;
|
|
326
|
+
default: string;
|
|
327
|
+
};
|
|
328
|
+
placeholder: {
|
|
329
|
+
type: StringConstructor;
|
|
330
|
+
default: string;
|
|
331
|
+
};
|
|
332
|
+
value: {
|
|
333
|
+
type: StringConstructor;
|
|
334
|
+
default: string;
|
|
335
|
+
};
|
|
336
|
+
unit: {
|
|
337
|
+
type: StringConstructor;
|
|
338
|
+
default: string;
|
|
339
|
+
};
|
|
340
|
+
}, {
|
|
341
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
342
|
+
componentCfg: {
|
|
343
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
344
|
+
};
|
|
345
|
+
type: {
|
|
346
|
+
type: import("vue").PropType<"date" | "datetime">;
|
|
347
|
+
default: string;
|
|
348
|
+
};
|
|
349
|
+
clearable: {
|
|
350
|
+
type: BooleanConstructor;
|
|
351
|
+
default: boolean;
|
|
352
|
+
};
|
|
353
|
+
valueFormat: {
|
|
354
|
+
type: StringConstructor;
|
|
355
|
+
default: string;
|
|
356
|
+
};
|
|
357
|
+
placeholder: {
|
|
358
|
+
type: StringConstructor;
|
|
359
|
+
default: string;
|
|
360
|
+
};
|
|
361
|
+
value: {
|
|
362
|
+
type: StringConstructor;
|
|
363
|
+
default: string;
|
|
364
|
+
};
|
|
365
|
+
unit: {
|
|
366
|
+
type: StringConstructor;
|
|
367
|
+
default: string;
|
|
368
|
+
};
|
|
369
|
+
}>> & {
|
|
370
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
371
|
+
"onUpdate:unit"?: ((...args: any[]) => any) | undefined;
|
|
372
|
+
}>>;
|
|
373
|
+
emit: (event: "update:unit" | "update:value", ...args: any[]) => void;
|
|
374
|
+
valueCp: import("vue").Ref<any>;
|
|
375
|
+
isShowDateRange: import("vue").Ref<boolean>;
|
|
376
|
+
dateFormat: import("vue").ComputedRef<string>;
|
|
377
|
+
showTabStr: import("vue").ComputedRef<string>;
|
|
378
|
+
radioValue: import("vue").ComputedRef<string>;
|
|
379
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
380
|
+
onlyRadio: import("vue").ComputedRef<boolean>;
|
|
381
|
+
defaultTime: import("vue").ComputedRef<string>;
|
|
382
|
+
changeDateShowType: () => void;
|
|
383
|
+
handleClickQuickBtn: (result: string) => void;
|
|
384
|
+
changeRadioValue: (value: string) => void;
|
|
385
|
+
handleChange: (val: any) => void;
|
|
386
|
+
isDateDisabled: (ts: number) => boolean;
|
|
387
|
+
timeDisabled: (ts: number) => {
|
|
388
|
+
isHourDisabled(hour: number): boolean | undefined;
|
|
389
|
+
isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
|
|
390
|
+
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
|
|
391
|
+
};
|
|
392
|
+
init: () => void;
|
|
393
|
+
NButton: any;
|
|
394
|
+
CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
395
|
+
updateUnchangedValue: {
|
|
396
|
+
type: BooleanConstructor;
|
|
397
|
+
};
|
|
398
|
+
onConfirm: {
|
|
399
|
+
type: FunctionConstructor;
|
|
400
|
+
};
|
|
401
|
+
}, {
|
|
402
|
+
attrs: {
|
|
403
|
+
[x: string]: unknown;
|
|
404
|
+
};
|
|
405
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
406
|
+
updateUnchangedValue: {
|
|
407
|
+
type: BooleanConstructor;
|
|
408
|
+
};
|
|
409
|
+
onConfirm: {
|
|
410
|
+
type: FunctionConstructor;
|
|
411
|
+
};
|
|
412
|
+
}>> & {}>>;
|
|
413
|
+
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
414
|
+
panelInstRef: import("vue").Ref<null>;
|
|
415
|
+
isDateTime: import("vue").ComputedRef<boolean>;
|
|
416
|
+
formatRef: import("vue").ComputedRef<string>;
|
|
417
|
+
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
418
|
+
focus: () => any;
|
|
419
|
+
blur: () => any;
|
|
420
|
+
onUpdateShow: (show: boolean) => void;
|
|
421
|
+
onConfirm: (...args: any[]) => void;
|
|
422
|
+
NDatePicker: any;
|
|
423
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
424
|
+
updateUnchangedValue: {
|
|
425
|
+
type: BooleanConstructor;
|
|
426
|
+
};
|
|
427
|
+
onConfirm: {
|
|
428
|
+
type: FunctionConstructor;
|
|
429
|
+
};
|
|
430
|
+
}>>, {
|
|
431
|
+
updateUnchangedValue: boolean;
|
|
432
|
+
}>>;
|
|
433
|
+
DateQuickBtn: import("vue").DefineComponent<{
|
|
434
|
+
componentCfg: {
|
|
435
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
436
|
+
};
|
|
437
|
+
type: {
|
|
438
|
+
type: import("vue").PropType<"date" | "datetime">;
|
|
439
|
+
default: string;
|
|
440
|
+
};
|
|
441
|
+
dateFormat: {
|
|
442
|
+
type: StringConstructor;
|
|
443
|
+
default: string;
|
|
444
|
+
};
|
|
445
|
+
radioValue: {
|
|
446
|
+
type: StringConstructor;
|
|
447
|
+
default: string;
|
|
448
|
+
};
|
|
449
|
+
}, {
|
|
450
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
451
|
+
componentCfg: {
|
|
452
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
453
|
+
};
|
|
454
|
+
type: {
|
|
455
|
+
type: import("vue").PropType<"date" | "datetime">;
|
|
456
|
+
default: string;
|
|
457
|
+
};
|
|
458
|
+
dateFormat: {
|
|
459
|
+
type: StringConstructor;
|
|
460
|
+
default: string;
|
|
461
|
+
};
|
|
462
|
+
radioValue: {
|
|
463
|
+
type: StringConstructor;
|
|
464
|
+
default: string;
|
|
465
|
+
};
|
|
466
|
+
}>> & {
|
|
467
|
+
onClickQuickBtn?: ((...args: any[]) => any) | undefined;
|
|
468
|
+
onChangeRadioValue?: ((...args: any[]) => any) | undefined;
|
|
469
|
+
}>>;
|
|
470
|
+
emit: (event: "clickQuickBtn" | "changeRadioValue", ...args: any[]) => void;
|
|
471
|
+
dateList: import("vue").Ref<any[]>;
|
|
472
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
473
|
+
isRange: import("vue").ComputedRef<any>;
|
|
474
|
+
initData: () => void;
|
|
475
|
+
handleRadioClick: (value: string) => void;
|
|
476
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickQuickBtn" | "changeRadioValue")[], "clickQuickBtn" | "changeRadioValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
477
|
+
componentCfg: {
|
|
478
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
479
|
+
};
|
|
480
|
+
type: {
|
|
481
|
+
type: import("vue").PropType<"date" | "datetime">;
|
|
482
|
+
default: string;
|
|
483
|
+
};
|
|
484
|
+
dateFormat: {
|
|
485
|
+
type: StringConstructor;
|
|
486
|
+
default: string;
|
|
487
|
+
};
|
|
488
|
+
radioValue: {
|
|
489
|
+
type: StringConstructor;
|
|
490
|
+
default: string;
|
|
491
|
+
};
|
|
492
|
+
}>> & {
|
|
493
|
+
onClickQuickBtn?: ((...args: any[]) => any) | undefined;
|
|
494
|
+
onChangeRadioValue?: ((...args: any[]) => any) | undefined;
|
|
495
|
+
}, {
|
|
496
|
+
type: "date" | "datetime";
|
|
497
|
+
dateFormat: string;
|
|
498
|
+
radioValue: string;
|
|
499
|
+
}>;
|
|
500
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:unit" | "update:value")[], "update:unit" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
501
|
+
componentCfg: {
|
|
502
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
503
|
+
};
|
|
504
|
+
type: {
|
|
505
|
+
type: import("vue").PropType<"date" | "datetime">;
|
|
506
|
+
default: string;
|
|
507
|
+
};
|
|
508
|
+
clearable: {
|
|
509
|
+
type: BooleanConstructor;
|
|
510
|
+
default: boolean;
|
|
511
|
+
};
|
|
512
|
+
valueFormat: {
|
|
513
|
+
type: StringConstructor;
|
|
514
|
+
default: string;
|
|
515
|
+
};
|
|
516
|
+
placeholder: {
|
|
517
|
+
type: StringConstructor;
|
|
518
|
+
default: string;
|
|
519
|
+
};
|
|
520
|
+
value: {
|
|
521
|
+
type: StringConstructor;
|
|
522
|
+
default: string;
|
|
523
|
+
};
|
|
524
|
+
unit: {
|
|
525
|
+
type: StringConstructor;
|
|
526
|
+
default: string;
|
|
527
|
+
};
|
|
528
|
+
}>> & {
|
|
529
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
530
|
+
"onUpdate:unit"?: ((...args: any[]) => any) | undefined;
|
|
531
|
+
}, {
|
|
532
|
+
type: "date" | "datetime";
|
|
533
|
+
value: string;
|
|
534
|
+
placeholder: string;
|
|
535
|
+
unit: string;
|
|
536
|
+
clearable: boolean;
|
|
537
|
+
valueFormat: string;
|
|
538
|
+
}>;
|
|
539
|
+
props: {
|
|
540
|
+
type: string;
|
|
541
|
+
clearable: boolean;
|
|
542
|
+
valueFormat: string;
|
|
543
|
+
filterable?: undefined;
|
|
544
|
+
multiple?: undefined;
|
|
545
|
+
maxTagCount?: undefined;
|
|
546
|
+
};
|
|
547
|
+
handlerProps(props: any, data?: any): any;
|
|
76
548
|
setDefaultValue: (defaultValue: any) => any;
|
|
549
|
+
eventsBySearch?: undefined;
|
|
77
550
|
style?: undefined;
|
|
78
551
|
} | {
|
|
79
552
|
component: import("vue").DefineComponent<{
|
|
553
|
+
componentCfg: {
|
|
554
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
555
|
+
};
|
|
80
556
|
type: {
|
|
81
557
|
type: import("vue").PropType<"date" | "datetime">;
|
|
82
558
|
default: string;
|
|
@@ -99,6 +575,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
99
575
|
};
|
|
100
576
|
}, {
|
|
101
577
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
578
|
+
componentCfg: {
|
|
579
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
580
|
+
};
|
|
102
581
|
type: {
|
|
103
582
|
type: import("vue").PropType<"date" | "datetime">;
|
|
104
583
|
default: string;
|
|
@@ -124,8 +603,17 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
124
603
|
}>>;
|
|
125
604
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
126
605
|
valueCp: import("vue").Ref<any>;
|
|
606
|
+
rangeShortcuts: import("vue").Ref<any>;
|
|
127
607
|
dateFormat: import("vue").ComputedRef<string>;
|
|
608
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
128
609
|
handleChange: (val: any) => void;
|
|
610
|
+
isDateDisabled: (ts: number) => boolean;
|
|
611
|
+
timeDisabled: (ts: number) => {
|
|
612
|
+
isHourDisabled(hour: number): boolean | undefined;
|
|
613
|
+
isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
|
|
614
|
+
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
|
|
615
|
+
};
|
|
616
|
+
init: () => void;
|
|
129
617
|
CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
130
618
|
updateUnchangedValue: {
|
|
131
619
|
type: BooleanConstructor;
|
|
@@ -166,6 +654,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
166
654
|
updateUnchangedValue: boolean;
|
|
167
655
|
}>>;
|
|
168
656
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
657
|
+
componentCfg: {
|
|
658
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
659
|
+
};
|
|
169
660
|
type: {
|
|
170
661
|
type: import("vue").PropType<"date" | "datetime">;
|
|
171
662
|
default: string;
|
|
@@ -209,6 +700,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
209
700
|
style?: undefined;
|
|
210
701
|
} | {
|
|
211
702
|
component: import("vue").DefineComponent<{
|
|
703
|
+
componentCfg: {
|
|
704
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
705
|
+
};
|
|
212
706
|
type: {
|
|
213
707
|
type: import("vue").PropType<"date" | "datetime">;
|
|
214
708
|
default: string;
|
|
@@ -233,8 +727,15 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
233
727
|
type: StringConstructor;
|
|
234
728
|
default: string;
|
|
235
729
|
};
|
|
730
|
+
unit: {
|
|
731
|
+
type: StringConstructor;
|
|
732
|
+
default: string;
|
|
733
|
+
};
|
|
236
734
|
}, {
|
|
237
735
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
736
|
+
componentCfg: {
|
|
737
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
738
|
+
};
|
|
238
739
|
type: {
|
|
239
740
|
type: import("vue").PropType<"date" | "datetime">;
|
|
240
741
|
default: string;
|
|
@@ -259,22 +760,44 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
259
760
|
type: StringConstructor;
|
|
260
761
|
default: string;
|
|
261
762
|
};
|
|
763
|
+
unit: {
|
|
764
|
+
type: StringConstructor;
|
|
765
|
+
default: string;
|
|
766
|
+
};
|
|
262
767
|
}>> & {
|
|
263
768
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
769
|
+
"onUpdate:unit"?: ((...args: any[]) => any) | undefined;
|
|
264
770
|
}>>;
|
|
265
|
-
emit: (event: "update:value", ...args: any[]) => void;
|
|
266
|
-
dateList: import("vue").Ref<any[]>;
|
|
771
|
+
emit: (event: "update:unit" | "update:value", ...args: any[]) => void;
|
|
267
772
|
isShowDateRange: import("vue").Ref<boolean>;
|
|
268
|
-
radioValue: import("vue").Ref<string>;
|
|
269
773
|
startDate: import("vue").Ref<any>;
|
|
270
774
|
endDate: import("vue").Ref<any>;
|
|
775
|
+
radioValue: import("vue").ComputedRef<string>;
|
|
776
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
777
|
+
onlyRadio: import("vue").ComputedRef<boolean>;
|
|
778
|
+
isPastTime: import("vue").ComputedRef<boolean>;
|
|
779
|
+
isFutureTime: import("vue").ComputedRef<boolean>;
|
|
271
780
|
dateFormat: import("vue").ComputedRef<string>;
|
|
272
781
|
showTabStr: import("vue").ComputedRef<string>;
|
|
273
|
-
|
|
274
|
-
|
|
782
|
+
startDefault: import("vue").ComputedRef<string>;
|
|
783
|
+
endDefault: import("vue").ComputedRef<string>;
|
|
784
|
+
handleClickQuickBtn: (result: string) => void;
|
|
785
|
+
changeRadioValue: (value: string) => void;
|
|
786
|
+
changeDateShowType: () => void;
|
|
275
787
|
handleChange: (val: any, type: "end" | "start") => void;
|
|
276
788
|
isStartDateDisabled: (ts: number) => boolean;
|
|
789
|
+
timeStartDisabled: (ts: number) => {
|
|
790
|
+
isHourDisabled(hour: number): boolean | 0;
|
|
791
|
+
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
792
|
+
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
793
|
+
};
|
|
277
794
|
isEndDateDisabled: (ts: number) => boolean;
|
|
795
|
+
timeEndDisabled: (ts: number) => {
|
|
796
|
+
isHourDisabled(hour: number): boolean | 0;
|
|
797
|
+
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
798
|
+
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
799
|
+
};
|
|
800
|
+
init: () => void;
|
|
278
801
|
NButton: any;
|
|
279
802
|
CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
280
803
|
updateUnchangedValue: {
|
|
@@ -315,7 +838,77 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
315
838
|
}>>, {
|
|
316
839
|
updateUnchangedValue: boolean;
|
|
317
840
|
}>>;
|
|
318
|
-
|
|
841
|
+
DateQuickBtn: import("vue").DefineComponent<{
|
|
842
|
+
componentCfg: {
|
|
843
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
844
|
+
};
|
|
845
|
+
type: {
|
|
846
|
+
type: import("vue").PropType<"date" | "datetime">;
|
|
847
|
+
default: string;
|
|
848
|
+
};
|
|
849
|
+
dateFormat: {
|
|
850
|
+
type: StringConstructor;
|
|
851
|
+
default: string;
|
|
852
|
+
};
|
|
853
|
+
radioValue: {
|
|
854
|
+
type: StringConstructor;
|
|
855
|
+
default: string;
|
|
856
|
+
};
|
|
857
|
+
}, {
|
|
858
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
859
|
+
componentCfg: {
|
|
860
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
861
|
+
};
|
|
862
|
+
type: {
|
|
863
|
+
type: import("vue").PropType<"date" | "datetime">;
|
|
864
|
+
default: string;
|
|
865
|
+
};
|
|
866
|
+
dateFormat: {
|
|
867
|
+
type: StringConstructor;
|
|
868
|
+
default: string;
|
|
869
|
+
};
|
|
870
|
+
radioValue: {
|
|
871
|
+
type: StringConstructor;
|
|
872
|
+
default: string;
|
|
873
|
+
};
|
|
874
|
+
}>> & {
|
|
875
|
+
onClickQuickBtn?: ((...args: any[]) => any) | undefined;
|
|
876
|
+
onChangeRadioValue?: ((...args: any[]) => any) | undefined;
|
|
877
|
+
}>>;
|
|
878
|
+
emit: (event: "clickQuickBtn" | "changeRadioValue", ...args: any[]) => void;
|
|
879
|
+
dateList: import("vue").Ref<any[]>;
|
|
880
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
881
|
+
isRange: import("vue").ComputedRef<any>;
|
|
882
|
+
initData: () => void;
|
|
883
|
+
handleRadioClick: (value: string) => void;
|
|
884
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickQuickBtn" | "changeRadioValue")[], "clickQuickBtn" | "changeRadioValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
885
|
+
componentCfg: {
|
|
886
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
887
|
+
};
|
|
888
|
+
type: {
|
|
889
|
+
type: import("vue").PropType<"date" | "datetime">;
|
|
890
|
+
default: string;
|
|
891
|
+
};
|
|
892
|
+
dateFormat: {
|
|
893
|
+
type: StringConstructor;
|
|
894
|
+
default: string;
|
|
895
|
+
};
|
|
896
|
+
radioValue: {
|
|
897
|
+
type: StringConstructor;
|
|
898
|
+
default: string;
|
|
899
|
+
};
|
|
900
|
+
}>> & {
|
|
901
|
+
onClickQuickBtn?: ((...args: any[]) => any) | undefined;
|
|
902
|
+
onChangeRadioValue?: ((...args: any[]) => any) | undefined;
|
|
903
|
+
}, {
|
|
904
|
+
type: "date" | "datetime";
|
|
905
|
+
dateFormat: string;
|
|
906
|
+
radioValue: string;
|
|
907
|
+
}>;
|
|
908
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:unit" | "update:value")[], "update:unit" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
909
|
+
componentCfg: {
|
|
910
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
911
|
+
};
|
|
319
912
|
type: {
|
|
320
913
|
type: import("vue").PropType<"date" | "datetime">;
|
|
321
914
|
default: string;
|
|
@@ -340,11 +933,17 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
340
933
|
type: StringConstructor;
|
|
341
934
|
default: string;
|
|
342
935
|
};
|
|
936
|
+
unit: {
|
|
937
|
+
type: StringConstructor;
|
|
938
|
+
default: string;
|
|
939
|
+
};
|
|
343
940
|
}>> & {
|
|
344
941
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
942
|
+
"onUpdate:unit"?: ((...args: any[]) => any) | undefined;
|
|
345
943
|
}, {
|
|
346
944
|
type: "date" | "datetime";
|
|
347
945
|
value: string;
|
|
946
|
+
unit: string;
|
|
348
947
|
clearable: boolean;
|
|
349
948
|
startPlaceholder: string;
|
|
350
949
|
endPlaceholder: string;
|
|
@@ -419,14 +1018,17 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
419
1018
|
}>>;
|
|
420
1019
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
421
1020
|
valueCp: import("vue").Ref<any>;
|
|
1021
|
+
rangeShortcuts: import("vue").Ref<any>;
|
|
422
1022
|
dateFormat: import("vue").ComputedRef<string>;
|
|
423
|
-
|
|
424
|
-
今天: number[];
|
|
425
|
-
昨天: number[];
|
|
426
|
-
近一周: number[];
|
|
427
|
-
近一月: number[];
|
|
428
|
-
};
|
|
1023
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
429
1024
|
handleChange: (val: any) => void;
|
|
1025
|
+
isDateDisabled: (ts: number) => boolean;
|
|
1026
|
+
timeDisabled: (ts: number) => {
|
|
1027
|
+
isHourDisabled(hour: number): boolean | undefined;
|
|
1028
|
+
isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
|
|
1029
|
+
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
|
|
1030
|
+
};
|
|
1031
|
+
init: () => void;
|
|
430
1032
|
CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
431
1033
|
updateUnchangedValue: {
|
|
432
1034
|
type: BooleanConstructor;
|
|
@@ -496,10 +1098,10 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
496
1098
|
}, {
|
|
497
1099
|
type: "datetimerange" | "daterange";
|
|
498
1100
|
value: string;
|
|
1101
|
+
componentCfg: Record<string, any>;
|
|
499
1102
|
clearable: boolean;
|
|
500
1103
|
startPlaceholder: string;
|
|
501
1104
|
endPlaceholder: string;
|
|
502
|
-
componentCfg: Record<string, any>;
|
|
503
1105
|
}>;
|
|
504
1106
|
props: {
|
|
505
1107
|
type: string;
|
|
@@ -510,7 +1112,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
510
1112
|
maxTagCount?: undefined;
|
|
511
1113
|
};
|
|
512
1114
|
handlerProps(props: any, data?: any): any;
|
|
513
|
-
setDefaultValue(defaultValue: any, defValueUnit: any): any;
|
|
1115
|
+
setDefaultValue(defaultValue: any, defValueUnit: any, setting?: any): any;
|
|
514
1116
|
eventsBySearch?: undefined;
|
|
515
1117
|
style?: undefined;
|
|
516
1118
|
} | {
|
|
@@ -632,18 +1234,19 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
632
1234
|
} | {
|
|
633
1235
|
component: import("vue").DefineComponent<{
|
|
634
1236
|
componentCfg: {
|
|
635
|
-
type: import("vue").PropType<import("
|
|
1237
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
636
1238
|
};
|
|
637
1239
|
value: {
|
|
638
1240
|
type: StringConstructor;
|
|
639
1241
|
default: string;
|
|
640
1242
|
};
|
|
641
1243
|
}, {
|
|
642
|
-
|
|
1244
|
+
getDynamicLabelData: (params: any, filterApiConfig: any) => Promise<any>;
|
|
1245
|
+
message: import("naive-ui").MessageApi;
|
|
643
1246
|
baseActiveColor: string;
|
|
644
1247
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
645
1248
|
componentCfg: {
|
|
646
|
-
type: import("vue").PropType<import("
|
|
1249
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
647
1250
|
};
|
|
648
1251
|
value: {
|
|
649
1252
|
type: StringConstructor;
|
|
@@ -678,7 +1281,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
678
1281
|
};
|
|
679
1282
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
680
1283
|
componentCfg: {
|
|
681
|
-
type: import("vue").PropType<import("
|
|
1284
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
682
1285
|
};
|
|
683
1286
|
value: {
|
|
684
1287
|
type: StringConstructor;
|
|
@@ -704,20 +1307,21 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
704
1307
|
} | {
|
|
705
1308
|
component: import("vue").DefineComponent<{
|
|
706
1309
|
componentCfg: {
|
|
707
|
-
type: import("vue").PropType<import("
|
|
1310
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
708
1311
|
};
|
|
709
1312
|
value: {
|
|
710
1313
|
type: StringConstructor;
|
|
711
1314
|
default: string;
|
|
712
1315
|
};
|
|
713
1316
|
}, {
|
|
714
|
-
|
|
1317
|
+
getDynamicLabelData: (params: any, filterApiConfig: any) => Promise<any>;
|
|
715
1318
|
$attrs: {
|
|
716
1319
|
[x: string]: unknown;
|
|
717
1320
|
};
|
|
1321
|
+
message: import("naive-ui").MessageApi;
|
|
718
1322
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
719
1323
|
componentCfg: {
|
|
720
|
-
type: import("vue").PropType<import("
|
|
1324
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
721
1325
|
};
|
|
722
1326
|
value: {
|
|
723
1327
|
type: StringConstructor;
|
|
@@ -735,7 +1339,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
735
1339
|
NSelect: any;
|
|
736
1340
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
737
1341
|
componentCfg: {
|
|
738
|
-
type: import("vue").PropType<import("
|
|
1342
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
739
1343
|
};
|
|
740
1344
|
value: {
|
|
741
1345
|
type: StringConstructor;
|